@justifi/webcomponents 4.19.3-rc-2 → 4.20.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-adc90fc6.js → Analytics-03981aad.js} +4 -3
- package/dist/cjs/{Api-3bc6e43f.js → Api-b98b256f.js} +3 -3
- package/dist/cjs/{Business-aacbe893.js → Business-aa799fec.js} +104 -9
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +1 -1
- package/dist/cjs/{business-additional-questions-schema-cf545610.js → business-additional-questions-schema-26b0eecb.js} +1 -1
- package/dist/cjs/business-details-core.cjs.entry.js +1 -1
- package/dist/cjs/{business-form-options-582467fe.js → business-form-options-5db0bd5e.js} +2 -2
- package/dist/cjs/{payload-parsers-1cbc3b57.js → business-identity-schema-503ecb77.js} +1 -47
- package/dist/cjs/{business.service-090a21e1.js → business.service-031c0084.js} +7 -6
- package/dist/cjs/check-pkg-version-89d6d146.js +24 -0
- package/dist/cjs/config-05767cba.js +15 -0
- package/dist/cjs/custom-popper.cjs.entry.js +1894 -0
- package/dist/cjs/form-alert_5.cjs.entry.js +2 -2
- package/dist/cjs/form-control-checkbox_9.cjs.entry.js +26 -26
- package/dist/cjs/form-control-date_3.cjs.entry.js +4 -4
- package/dist/cjs/form-control-error-text_4.cjs.entry.js +9 -9
- package/dist/cjs/{get-payout-csv-238e839a.js → get-payout-csv-3a3260ec.js} +5 -4
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +1 -1
- package/dist/cjs/justifi-additional-questions-form-step_10.cjs.entry.js +15 -14
- package/dist/cjs/justifi-bank-account-form.cjs.entry.js +6 -5
- package/dist/cjs/justifi-billing-form_2.cjs.entry.js +4 -4
- package/dist/cjs/justifi-business-details.cjs.entry.js +8 -5
- package/dist/cjs/justifi-business-form.cjs.entry.js +17 -14
- package/dist/cjs/justifi-card-form.cjs.entry.js +6 -5
- package/dist/cjs/justifi-checkout-core.cjs.entry.js +5 -5
- package/dist/cjs/justifi-checkout.cjs.entry.js +10 -7
- package/dist/cjs/justifi-details.cjs.entry.js +1 -1
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +7 -4
- package/dist/cjs/justifi-new-payment-method_4.cjs.entry.js +10 -12
- package/dist/cjs/justifi-owner-form_3.cjs.entry.js +12 -11
- package/dist/cjs/justifi-payment-details.cjs.entry.js +7 -4
- package/dist/cjs/justifi-payment-form.cjs.entry.js +11 -8
- package/dist/cjs/justifi-payment-method-form.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-provisioning-core.cjs.entry.js +1 -1
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +9 -6
- package/dist/cjs/justifi-payments-list.cjs.entry.js +7 -4
- package/dist/cjs/justifi-payout-details.cjs.entry.js +7 -4
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +7 -4
- package/dist/cjs/justifi-refund-form.cjs.entry.js +5 -4
- package/dist/cjs/justifi-season-interruption-insurance-core.cjs.entry.js +2 -2
- package/dist/cjs/justifi-season-interruption-insurance.cjs.entry.js +9 -6
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{package-22d30c5d.js → package-7fdd14b9.js} +4 -2
- package/dist/cjs/payment-details-core.cjs.entry.js +2 -2
- package/dist/cjs/{payment.service-c92635c8.js → payment.service-4b1c0a20.js} +4 -3
- package/dist/cjs/payments-list-core.cjs.entry.js +18 -13
- package/dist/cjs/payments-list-filters_2.cjs.entry.js +17266 -0
- package/dist/cjs/payout-details-core.cjs.entry.js +3 -3
- package/dist/cjs/payouts-list-core.cjs.entry.js +4 -4
- package/dist/cjs/{schema-validations-2733de42.js → schema-validations-0a7e46a3.js} +1 -1
- package/dist/cjs/styled-host-9e0b67b3.js +14 -0
- package/dist/cjs/{utils-89d86e29.js → utils-af1b60a9.js} +0 -16
- package/dist/cjs/utils-f8a6962c.js +25 -0
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/api/Api.js +3 -3
- package/dist/collection/api/Business.js +66 -7
- package/dist/collection/api/Identity.js +39 -3
- package/dist/collection/api/services/analytics.service.js +2 -1
- package/dist/collection/api/services/business.service.js +6 -5
- package/dist/collection/api/services/checkout.service.js +3 -2
- package/dist/collection/api/services/insurance.service.js +3 -2
- package/dist/collection/api/services/payment.service.js +3 -2
- package/dist/collection/api/services/payout.service.js +4 -3
- package/dist/collection/api/services/provision.service.js +2 -1
- package/dist/collection/api/services/reports.service.js +2 -1
- package/dist/collection/collection-manifest.json +4 -1
- package/dist/collection/components/bank-account-form/bank-account-form.js +4 -3
- package/dist/collection/components/business-details/business-details.js +2 -0
- package/dist/collection/components/business-forms/business-form/business-form.js +7 -5
- package/dist/collection/components/business-forms/owner-form/owner-form-core.js +4 -5
- package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.js +3 -3
- package/dist/collection/components/business-forms/payment-provisioning/bank-account/business-bank-account-form-step.js +4 -3
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.js +3 -5
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step-core.js +3 -3
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.js +3 -4
- package/dist/collection/components/business-forms/payment-provisioning/document-uploads/business-document-upload-form-step.js +4 -3
- package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.js +3 -4
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +3 -1
- package/dist/collection/components/business-forms/payment-provisioning/terms-and-conditions/business-terms-conditions-form-step.js +4 -3
- package/dist/collection/components/business-forms/utils/business-form-options.js +1 -1
- package/dist/collection/components/card-form/card-form.js +4 -3
- package/dist/collection/components/checkout/checkout-core.js +4 -4
- package/dist/collection/components/checkout/checkout.js +4 -2
- package/dist/collection/components/checkout/new-payment-method.js +4 -6
- package/dist/collection/components/checkout/payment-method-options.js +4 -3
- package/dist/collection/components/checkout/saved-payment-method.js +4 -3
- package/dist/collection/components/checkout/sezzle-payment-method.js +4 -3
- package/dist/collection/components/form/form-control-date.js +26 -28
- package/dist/collection/components/form/form-control-select.js +45 -45
- package/dist/collection/components/form/form-control-text.js +34 -34
- package/dist/collection/components/gross-payment-chart/gross-payment-chart.js +2 -0
- package/dist/collection/components/insurance/season-interruption/season-interruption-insurance.js +3 -1
- package/dist/collection/components/payment-details/payment-details.js +2 -0
- package/dist/collection/components/payment-form/payment-form.js +6 -3
- package/dist/collection/components/payments-list/payments-list-core.js +14 -9
- package/dist/collection/components/payments-list/payments-list-filters.js +84 -0
- package/dist/collection/components/payments-list/payments-list.js +2 -0
- package/dist/collection/components/payout-details/payout-details-core.js +1 -1
- package/dist/collection/components/payout-details/payout-details.js +2 -0
- package/dist/collection/components/payouts-list/payouts-list-core.js +2 -2
- package/dist/collection/components/payouts-list/payouts-list.js +2 -0
- package/dist/collection/components/refund-form/refund-form.js +3 -2
- package/dist/collection/ui-components/custom-popper/custom-popper.js +239 -0
- package/dist/collection/ui-components/filters/table-filters-menu.js +89 -0
- package/dist/collection/ui-components/filters/utils.js +20 -0
- package/dist/collection/utils/check-pkg-version.js +19 -0
- package/dist/config.js +11 -0
- package/dist/docs.json +531 -27
- package/dist/{webcomponents/p-15eafa87.js → esm/Analytics-3103f8e9.js} +4 -3
- package/dist/esm/{Api-b09a2f6a.js → Api-c8abc2e0.js} +3 -3
- package/dist/esm/{Business-e218b4f4.js → Business-b73d5055.js} +104 -9
- package/dist/esm/additional-questions-details_5.entry.js +1 -1
- package/dist/esm/{business-additional-questions-schema-956e3caf.js → business-additional-questions-schema-a5583cf8.js} +1 -1
- package/dist/esm/business-details-core.entry.js +1 -1
- package/dist/esm/{business-form-options-7a9a74fc.js → business-form-options-d790973e.js} +2 -2
- package/dist/esm/{payload-parsers-acb719d1.js → business-identity-schema-9e3269fb.js} +2 -44
- package/dist/esm/{business.service-37d0cc72.js → business.service-1f589b6e.js} +7 -6
- package/dist/esm/check-pkg-version-44e6ad15.js +22 -0
- package/dist/esm/config-27764a9d.js +13 -0
- package/dist/esm/custom-popper.entry.js +1890 -0
- package/dist/esm/form-alert_5.entry.js +2 -2
- package/dist/esm/form-control-checkbox_9.entry.js +21 -21
- package/dist/esm/form-control-date_3.entry.js +4 -4
- package/dist/esm/form-control-error-text_4.entry.js +9 -9
- package/dist/esm/{get-payout-csv-a702a0d9.js → get-payout-csv-93427146.js} +5 -4
- package/dist/esm/gross-payment-chart-core.entry.js +1 -1
- package/dist/esm/justifi-additional-questions-form-step_10.entry.js +15 -14
- package/dist/esm/justifi-bank-account-form.entry.js +6 -5
- package/dist/esm/justifi-billing-form_2.entry.js +4 -4
- package/dist/esm/justifi-business-details.entry.js +8 -5
- package/dist/esm/justifi-business-form.entry.js +16 -13
- package/dist/esm/justifi-card-form.entry.js +6 -5
- package/dist/esm/justifi-checkout-core.entry.js +5 -5
- package/dist/esm/justifi-checkout.entry.js +10 -7
- package/dist/esm/justifi-details.entry.js +1 -1
- package/dist/esm/justifi-gross-payment-chart.entry.js +7 -4
- package/dist/esm/justifi-new-payment-method_4.entry.js +10 -12
- package/dist/esm/justifi-owner-form_3.entry.js +11 -10
- package/dist/esm/justifi-payment-details.entry.js +7 -4
- package/dist/esm/justifi-payment-form.entry.js +11 -8
- package/dist/esm/justifi-payment-method-form.entry.js +2 -2
- package/dist/esm/justifi-payment-provisioning-core.entry.js +1 -1
- package/dist/esm/justifi-payment-provisioning.entry.js +9 -6
- package/dist/esm/justifi-payments-list.entry.js +7 -4
- package/dist/esm/justifi-payout-details.entry.js +7 -4
- package/dist/esm/justifi-payouts-list.entry.js +7 -4
- package/dist/esm/justifi-refund-form.entry.js +5 -4
- package/dist/esm/justifi-season-interruption-insurance-core.entry.js +2 -2
- package/dist/esm/justifi-season-interruption-insurance.entry.js +9 -6
- package/dist/esm/loader.js +1 -1
- package/dist/{webcomponents/p-2e8f4937.js → esm/package-0e3cc41e.js} +4 -2
- package/dist/esm/payment-details-core.entry.js +2 -2
- package/dist/esm/{payment.service-9359fe15.js → payment.service-02c596b9.js} +4 -3
- package/dist/esm/payments-list-core.entry.js +16 -11
- package/dist/esm/payments-list-filters_2.entry.js +17261 -0
- package/dist/esm/payout-details-core.entry.js +3 -3
- package/dist/esm/payouts-list-core.entry.js +4 -4
- package/dist/esm/{schema-validations-a83ff220.js → schema-validations-e725d701.js} +2 -2
- package/dist/esm/styled-host-3171ae1f.js +12 -0
- package/dist/esm/utils-3a4d8f3a.js +22 -0
- package/dist/{webcomponents/p-83125497.js → esm/utils-e66d8bca.js} +1 -16
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Analytics.js +2 -1
- package/dist/module/Api.js +3 -3
- package/dist/module/Business.js +104 -9
- package/dist/module/business-additional-questions-form-step-core.js +3 -3
- package/dist/module/business-bank-account-form-step.js +4 -3
- package/dist/module/business-core-info-form-step-core.js +3 -5
- package/dist/module/business-document-upload-form-step.js +4 -3
- package/dist/module/business-document-upload-input-group.js +1 -1
- package/dist/module/business-documents-on-file.js +1 -1
- package/dist/module/business-form-options.js +1 -1
- package/dist/module/business-owners-form-step-core.js +3 -3
- package/dist/module/business-representative-form-step-core.js +3 -4
- package/dist/module/business-terms-conditions-form-step.js +4 -3
- package/dist/module/business.service.js +6 -5
- package/dist/module/check-pkg-version.js +22 -0
- package/dist/module/checkout-core.js +3 -3
- package/dist/module/config.js +13 -0
- package/dist/module/custom-popper.d.ts +11 -0
- package/dist/module/custom-popper.js +6 -0
- package/dist/module/custom-popper2.js +1912 -0
- package/dist/module/form-control-date2.js +7 -7
- package/dist/module/form-control-select2.js +9 -9
- package/dist/module/form-control-text2.js +7 -7
- package/dist/module/get-payout-csv.js +4 -3
- package/dist/module/justifi-bank-account-form.js +3 -2
- package/dist/module/justifi-business-details.js +2 -0
- package/dist/module/justifi-business-form.js +7 -5
- package/dist/module/justifi-card-form.js +3 -2
- package/dist/module/justifi-checkout.js +7 -4
- package/dist/module/justifi-gross-payment-chart.js +4 -1
- package/dist/module/justifi-payment-details.js +2 -0
- package/dist/module/justifi-payment-form.js +6 -3
- package/dist/module/justifi-payment-provisioning.js +5 -2
- package/dist/module/justifi-payments-list.js +42 -10
- package/dist/module/justifi-payout-details.js +2 -0
- package/dist/module/justifi-payouts-list.js +2 -0
- package/dist/module/justifi-refund-form.js +3 -2
- package/dist/module/justifi-season-interruption-insurance.js +6 -3
- package/dist/module/legal-address-form-step-core.js +3 -4
- package/dist/module/new-payment-method.js +3 -5
- package/dist/module/owner-form-core2.js +4 -5
- package/dist/module/package.js +4 -2
- package/dist/module/payment-details-core2.js +1 -1
- package/dist/module/payment-method-options.js +3 -2
- package/dist/module/payment.service.js +3 -2
- package/dist/module/payments-list-core2.js +52 -18
- package/dist/module/payments-list-filters.d.ts +11 -0
- package/dist/module/payments-list-filters.js +6 -0
- package/dist/module/payments-list-filters2.js +17294 -0
- package/dist/module/payout-details-core2.js +2 -2
- package/dist/module/payouts-list-core2.js +3 -3
- package/dist/module/saved-payment-method.js +4 -3
- package/dist/module/sezzle-payment-method.js +3 -2
- package/dist/module/styled-host.js +1 -1
- package/dist/module/table-filters-menu.d.ts +11 -0
- package/dist/module/table-filters-menu.js +6 -0
- package/dist/module/table-filters-menu2.js +80 -0
- package/dist/module/utils2.js +1 -16
- package/dist/types/api/Business.d.ts +87 -1
- package/dist/types/api/Identity.d.ts +45 -1
- package/dist/types/api/Payment.d.ts +8 -0
- package/dist/types/components/business-forms/owner-form/owner-form-core.d.ts +44 -1
- package/dist/types/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step-core.d.ts +11 -1
- package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step-core.d.ts +11 -1
- package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step-core.d.ts +24 -1
- package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step-core.d.ts +11 -1
- package/dist/types/components/checkout/new-payment-method.d.ts +0 -1
- package/dist/types/components/form/form-control-date.d.ts +4 -4
- package/dist/types/components/form/form-control-select.d.ts +6 -6
- package/dist/types/components/form/form-control-text.d.ts +4 -4
- package/dist/types/components/payments-list/payments-list-core.d.ts +6 -5
- package/dist/types/components/payments-list/payments-list-filters.d.ts +13 -0
- package/dist/types/components.d.ts +89 -10
- package/dist/types/home/runner/work/web-component-library/web-component-library/packages/webcomponents/.stencil/packages/webcomponents/config.d.ts +11 -0
- package/dist/types/ui-components/custom-popper/custom-popper.d.ts +21 -0
- package/dist/types/ui-components/filters/table-filters-menu.d.ts +11 -0
- package/dist/types/ui-components/filters/utils.d.ts +2 -0
- package/dist/types/utils/check-pkg-version.d.ts +1 -0
- package/dist/webcomponents/index.esm.js +0 -1
- package/dist/webcomponents/p-056e75be.entry.js +1 -0
- package/dist/webcomponents/p-05718341.entry.js +1 -0
- package/dist/webcomponents/p-08b0fb31.js +1 -41
- package/dist/webcomponents/p-0de026dd.entry.js +1 -0
- package/dist/webcomponents/p-0e84986e.entry.js +10 -0
- package/dist/webcomponents/p-0f7b9555.entry.js +1 -0
- package/dist/webcomponents/p-14c91ffd.js +1 -20
- package/dist/webcomponents/p-1612894d.js +1 -0
- package/dist/webcomponents/p-1815a43b.js +1 -0
- package/dist/webcomponents/p-1ad5995e.js +1 -3599
- package/dist/webcomponents/p-1eee25f3.entry.js +19 -0
- package/dist/webcomponents/p-1ff8810b.js +1 -29
- package/dist/webcomponents/p-20dafb46.entry.js +1 -0
- package/dist/webcomponents/p-2338affa.js +1 -213
- package/dist/webcomponents/p-277aee05.js +1 -0
- package/dist/webcomponents/p-2b6c9c4f.js +1 -7
- package/dist/webcomponents/p-2c51d29f.js +1 -0
- package/dist/webcomponents/p-2eab3c90.js +1 -3052
- package/dist/webcomponents/p-3a1f19f3.entry.js +1 -0
- package/dist/webcomponents/p-3c7fac29.entry.js +1 -0
- package/dist/webcomponents/p-401d6607.js +1 -0
- package/dist/webcomponents/p-428e9b64.entry.js +1 -0
- package/dist/webcomponents/p-430f81c6.entry.js +1 -0
- package/dist/webcomponents/p-437f9114.js +1 -0
- package/dist/webcomponents/p-44055818.js +1 -0
- package/dist/webcomponents/p-4628cc9b.entry.js +1 -0
- package/dist/webcomponents/p-4cc9df76.entry.js +1 -0
- package/dist/webcomponents/p-5022f21c.js +1 -0
- package/dist/webcomponents/p-525db3e8.js +1 -22
- package/dist/webcomponents/p-55182a59.js +1 -0
- package/dist/webcomponents/p-5540a47c.entry.js +1 -0
- package/dist/webcomponents/p-56f6ce4c.js +1 -10
- package/dist/webcomponents/p-570a0f02.entry.js +1 -0
- package/dist/webcomponents/p-5968ff8a.js +1 -178
- package/dist/webcomponents/p-59cf5391.entry.js +1 -0
- package/dist/webcomponents/p-5a62fca2.js +1 -0
- package/dist/webcomponents/p-5e2c9ec8.js +1 -0
- package/dist/webcomponents/p-5e7c60d8.js +1 -0
- package/dist/webcomponents/p-6078a370.js +1 -244
- package/dist/webcomponents/p-6ac806ff.entry.js +1 -0
- package/dist/webcomponents/p-7bdffc78.entry.js +1 -0
- package/dist/webcomponents/p-7d3be485.js +1 -0
- package/dist/webcomponents/p-7d85af5c.js +1 -16
- package/dist/webcomponents/p-7ddfce86.entry.js +1 -0
- package/dist/webcomponents/p-7fe67d7f.entry.js +1 -0
- package/dist/webcomponents/p-7ff329b1.js +1 -0
- package/dist/webcomponents/p-804c0f1f.entry.js +1 -0
- package/dist/webcomponents/p-8115b2f4.js +1 -28
- package/dist/webcomponents/p-8281f09a.js +1 -0
- package/dist/webcomponents/p-8921a478.entry.js +1 -0
- package/dist/webcomponents/p-8a7112a0.entry.js +1 -0
- package/dist/webcomponents/p-8c83b73e.entry.js +1 -0
- package/dist/webcomponents/p-8d03a7bd.entry.js +1 -0
- package/dist/webcomponents/p-8df7bde8.js +1 -27
- package/dist/webcomponents/p-938bf2b4.entry.js +1 -0
- package/dist/webcomponents/p-9b154d98.entry.js +1 -0
- package/dist/webcomponents/p-9c9c7dac.js +1 -24
- package/dist/webcomponents/p-ad47f37c.entry.js +1 -0
- package/dist/webcomponents/p-aedb421f.entry.js +1 -0
- package/dist/webcomponents/p-b14da2fd.entry.js +1 -0
- package/dist/webcomponents/p-bbed6107.entry.js +1 -0
- package/dist/webcomponents/p-bdc91c61.entry.js +1 -0
- package/dist/webcomponents/p-c64ce69d.entry.js +1 -0
- package/dist/webcomponents/p-d76002d5.entry.js +1 -0
- package/dist/webcomponents/p-d8355f91.entry.js +1 -0
- package/dist/webcomponents/p-d89bad72.js +1 -39
- package/dist/webcomponents/p-da1d174d.entry.js +1 -0
- package/dist/webcomponents/p-dbc1d7b3.entry.js +1 -0
- package/dist/webcomponents/p-dce846bf.js +1 -27
- package/dist/webcomponents/p-df21aaad.js +1 -120
- package/dist/webcomponents/p-e1255160.js +1 -3
- package/dist/webcomponents/p-e2c88817.entry.js +1 -0
- package/dist/webcomponents/p-e31f0f3e.entry.js +1 -0
- package/dist/webcomponents/p-e333620e.js +1 -34
- package/dist/webcomponents/p-e3f4a2a6.js +1 -0
- package/dist/webcomponents/p-e3fab0e2.js +1 -43
- package/dist/webcomponents/p-eea79a55.entry.js +1 -0
- package/dist/webcomponents/p-f0866375.entry.js +1 -0
- package/dist/webcomponents/p-f6a2dc78.entry.js +1 -0
- package/dist/webcomponents/p-fad19d75.js +2 -1638
- package/dist/webcomponents/webcomponents.css +4 -362
- package/dist/webcomponents/webcomponents.esm.js +1 -20
- package/package.json +4 -2
- package/dist/cjs/styled-host-cc053016.js +0 -14
- package/dist/collection/components/business-forms/utils/payload-parsers.js +0 -41
- package/dist/esm/Analytics-a8eb7344.js +0 -77
- package/dist/esm/package-ccb774a9.js +0 -79
- package/dist/esm/styled-host-ab9da520.js +0 -12
- package/dist/esm/utils-3c1dd2fa.js +0 -4027
- package/dist/module/payload-parsers.js +0 -43
- package/dist/types/components/business-forms/utils/payload-parsers.d.ts +0 -4
- package/dist/webcomponents/p-01a404ca.entry.js +0 -44
- package/dist/webcomponents/p-03d35880.entry.js +0 -130
- package/dist/webcomponents/p-06ff0429.entry.js +0 -65
- package/dist/webcomponents/p-0e1bc91e.js +0 -28
- package/dist/webcomponents/p-10875f3d.entry.js +0 -97
- package/dist/webcomponents/p-157acba8.entry.js +0 -98
- package/dist/webcomponents/p-18fa0479.entry.js +0 -131
- package/dist/webcomponents/p-1a5120f4.entry.js +0 -145
- package/dist/webcomponents/p-24dc023a.entry.js +0 -791
- package/dist/webcomponents/p-25d8cd65.entry.js +0 -102
- package/dist/webcomponents/p-27d87fe2.entry.js +0 -133
- package/dist/webcomponents/p-29c0b182.js +0 -114
- package/dist/webcomponents/p-3395e896.entry.js +0 -74
- package/dist/webcomponents/p-3fd13ca3.js +0 -52
- package/dist/webcomponents/p-47d79529.js +0 -18
- package/dist/webcomponents/p-53ecc8b9.entry.js +0 -261
- package/dist/webcomponents/p-5482d030.entry.js +0 -21
- package/dist/webcomponents/p-576826b1.entry.js +0 -43
- package/dist/webcomponents/p-5f835b89.entry.js +0 -606
- package/dist/webcomponents/p-6124b1b3.entry.js +0 -80
- package/dist/webcomponents/p-70a2aa74.entry.js +0 -76
- package/dist/webcomponents/p-7582b554.entry.js +0 -18
- package/dist/webcomponents/p-75fd6367.entry.js +0 -149
- package/dist/webcomponents/p-79646550.entry.js +0 -61
- package/dist/webcomponents/p-800d31fe.entry.js +0 -162
- package/dist/webcomponents/p-85fc69e5.js +0 -90
- package/dist/webcomponents/p-89887332.js +0 -301
- package/dist/webcomponents/p-8eb774df.entry.js +0 -54
- package/dist/webcomponents/p-9e17630d.entry.js +0 -1684
- package/dist/webcomponents/p-9f94bbb6.entry.js +0 -118
- package/dist/webcomponents/p-a4e8573e.entry.js +0 -94
- package/dist/webcomponents/p-a5a225d9.entry.js +0 -125
- package/dist/webcomponents/p-a5fb51dc.entry.js +0 -131
- package/dist/webcomponents/p-ab4816e1.entry.js +0 -117
- package/dist/webcomponents/p-ac086069.entry.js +0 -58
- package/dist/webcomponents/p-af244664.js +0 -126
- package/dist/webcomponents/p-b4b8b531.js +0 -44
- package/dist/webcomponents/p-b82c146f.entry.js +0 -111
- package/dist/webcomponents/p-ba4bae6f.js +0 -12
- package/dist/webcomponents/p-ba5fae28.js +0 -90
- package/dist/webcomponents/p-bd66f9d2.entry.js +0 -101
- package/dist/webcomponents/p-cc39384f.entry.js +0 -99
- package/dist/webcomponents/p-d17aee2b.entry.js +0 -26
- package/dist/webcomponents/p-dad3e069.entry.js +0 -298
- package/dist/webcomponents/p-e1e7525b.entry.js +0 -73
- package/dist/webcomponents/p-e356f280.entry.js +0 -29
- package/dist/webcomponents/p-e9a5cb95.entry.js +0 -94
- package/dist/webcomponents/p-ec854a3e.entry.js +0 -11053
- package/dist/webcomponents/p-edc37d1f.entry.js +0 -75
- package/dist/webcomponents/p-f02b75dc.entry.js +0 -96
- package/dist/{globals.d.ts → types/global.d.ts} +1 -1
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-fb499e95.js');
|
|
6
|
-
const businessFormOptions = require('./business-form-options-
|
|
6
|
+
const businessFormOptions = require('./business-form-options-5db0bd5e.js');
|
|
7
7
|
const formInputMasks = require('./form-input-masks-0879c139.js');
|
|
8
|
-
const Business = require('./Business-
|
|
8
|
+
const Business = require('./Business-aa799fec.js');
|
|
9
9
|
const helpers = require('./helpers-602962eb.js');
|
|
10
10
|
const stateOptions = require('./state-options-4fbcb48a.js');
|
|
11
11
|
const utils = require('./utils-ddacfc44.js');
|
|
@@ -3,17 +3,17 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-fb499e95.js');
|
|
6
|
-
const businessAdditionalQuestionsSchema = require('./business-additional-questions-schema-
|
|
6
|
+
const businessAdditionalQuestionsSchema = require('./business-additional-questions-schema-26b0eecb.js');
|
|
7
7
|
const index_esm = require('./index.esm-52757963.js');
|
|
8
|
-
const Business = require('./Business-
|
|
8
|
+
const Business = require('./Business-aa799fec.js');
|
|
9
9
|
const formInputMasks = require('./form-input-masks-0879c139.js');
|
|
10
|
-
const businessFormOptions = require('./business-form-options-
|
|
11
|
-
const
|
|
12
|
-
const
|
|
13
|
-
const utils$1 = require('./utils-
|
|
14
|
-
const schemaValidations = require('./schema-validations-2733de42.js');
|
|
10
|
+
const businessFormOptions = require('./business-form-options-5db0bd5e.js');
|
|
11
|
+
const utils = require('./utils-ddacfc44.js');
|
|
12
|
+
const schemaValidations = require('./schema-validations-0a7e46a3.js');
|
|
13
|
+
const utils$1 = require('./utils-af1b60a9.js');
|
|
15
14
|
const businessFormTypes = require('./business-form-types-6e1fcda3.js');
|
|
16
15
|
const button = require('./button-3f400a66.js');
|
|
16
|
+
const businessIdentitySchema = require('./business-identity-schema-503ecb77.js');
|
|
17
17
|
const stateOptions = require('./state-options-4fbcb48a.js');
|
|
18
18
|
require('./helpers-602962eb.js');
|
|
19
19
|
|
|
@@ -114,8 +114,8 @@ const AdditionalQuestionsFormStepCore = class {
|
|
|
114
114
|
}
|
|
115
115
|
;
|
|
116
116
|
get patchPayload() {
|
|
117
|
-
let formValues = this.formController.values.getValue();
|
|
118
|
-
return
|
|
117
|
+
let formValues = new Business.AdditionalQuestions(this.formController.values.getValue()).payload;
|
|
118
|
+
return { additional_questions: formValues };
|
|
119
119
|
}
|
|
120
120
|
componentWillLoad() {
|
|
121
121
|
this.getBusiness && this.getData();
|
|
@@ -129,7 +129,7 @@ const AdditionalQuestionsFormStepCore = class {
|
|
|
129
129
|
render() {
|
|
130
130
|
var _a, _b, _c, _d, _e, _f, _g;
|
|
131
131
|
const additionalQuestionsDefaultValue = this.formController.getInitialValues();
|
|
132
|
-
return (index.h("form", { key: '
|
|
132
|
+
return (index.h("form", { key: '275b193388d360ab6dacfb70ea9e06d68d68cbf8' }, index.h("fieldset", { key: '740ce0b08ad00efa1345f69cf977e64283307533' }, index.h("legend", { key: '7f531cdf699ad93234bbdd5d9336ee782e770597' }, "Additional Questions"), index.h("hr", { key: 'cb81b0b4dc9e6a52ff9bf70571a200fee50e8146' }), index.h("div", { key: '9100fdb4857a5a9a2b42f0188cfac075974afbeb', class: 'row gy-3' }, index.h("div", { key: 'ee0885251b8e49cb33359a42897097552e9d0ff9', class: 'col-12 col-md-6' }, index.h("form-control-monetary", { key: '555b00e0b6728dca26a42813991f35dec41e2577', name: 'business_revenue', label: 'What is the business\u2019 estimated annual revenue from its primary business activities?', inputHandler: this.inputHandler, errorText: (_a = this.errors) === null || _a === void 0 ? void 0 : _a.business_revenue, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_revenue, maskOptions: formInputMasks.CURRENCY_MASK.WHOLE })), index.h("div", { key: '689ecc46bffe9cfe7190428e191802332485f139', class: 'col-12 col-md-6' }, index.h("form-control-monetary", { key: '19a4269b31af12f9e07655c9dc0d9db1de46caa2', name: 'business_payment_volume', label: "What is the business' annual credit card & ACH volume anticipated to process?", inputHandler: this.inputHandler, errorText: (_b = this.errors) === null || _b === void 0 ? void 0 : _b.business_payment_volume, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_payment_volume, maskOptions: formInputMasks.CURRENCY_MASK.WHOLE })), index.h("div", { key: 'f6eebbdd589cf4eb506d3d94502a027e639889d9', class: 'col-12' }, index.h("form-control-select", { key: '112bb7ee88335d9b8e8f9300ff190f164b750b39', name: 'business_when_service_received', label: 'On average, how long after paying will your customers typically receive their goods or services?', inputHandler: this.inputHandler, errorText: (_c = this.errors) === null || _c === void 0 ? void 0 : _c.business_when_service_received, options: businessFormOptions.businessServiceReceivedOptions, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_when_service_received })), index.h("div", { key: '49864b5aeca86d221cc12690e2f9976fe9ee86ef', class: 'col-12' }, index.h("form-control-select", { key: 'a07159d8e7e49b9b1df5bcf2dcede994d0059595', name: 'business_recurring_payments', label: 'Does your business offer recurring payments?', inputHandler: this.inputHandler, errorText: (_d = this.errors) === null || _d === void 0 ? void 0 : _d.business_recurring_payments, options: businessFormOptions.recurringPaymentsOptions, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_recurring_payments })), index.h("div", { key: '3a03321d7dd9202c290443d756105bb2565a3e55', class: 'col-12' }, index.h("form-control-text", { key: '319a5fcb7ac6e975c41cfd5b19d5de0e98504f5d', name: 'business_recurring_payments_percentage', label: 'What percent of revenue is generated from each recurring payment type offered?', inputHandler: this.inputHandler, errorText: (_e = this.errors) === null || _e === void 0 ? void 0 : _e.business_recurring_payments_percentage, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_recurring_payments_percentage })), index.h("div", { key: 'e108f26d04e7f9510f89ab09daab53e86f5c30e1', class: 'col-12' }, index.h("form-control-select", { key: '45fb9296592415ddb947b55e3c7c73d198b96fac', name: 'business_seasonal', label: 'Is this business seasonal?', inputHandler: this.inputHandler, errorText: (_f = this.errors) === null || _f === void 0 ? void 0 : _f.business_seasonal, options: businessFormOptions.seasonalBusinessOptions, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_seasonal })), index.h("div", { key: '0b40ac8429c07279acb3d360124853a608a01664', class: 'col-12' }, index.h("form-control-text", { key: '880e00acdfa51f95b643f1ecc8d6fccba1167e6c', name: 'business_other_payment_details', label: 'Is there anything else you would like us to know about how your customers pay the business?', inputHandler: this.inputHandler, errorText: (_g = this.errors) === null || _g === void 0 ? void 0 : _g.business_other_payment_details, defaultValue: additionalQuestionsDefaultValue === null || additionalQuestionsDefaultValue === void 0 ? void 0 : additionalQuestionsDefaultValue.business_other_payment_details }))))));
|
|
133
133
|
}
|
|
134
134
|
};
|
|
135
135
|
|
|
@@ -195,8 +195,8 @@ const BusinessCoreInfoFormStepCore = class {
|
|
|
195
195
|
}
|
|
196
196
|
;
|
|
197
197
|
get patchPayload() {
|
|
198
|
-
let formValues =
|
|
199
|
-
return
|
|
198
|
+
let formValues = new Business.CoreBusinessInfo(this.formController.values.getValue()).payload;
|
|
199
|
+
return formValues;
|
|
200
200
|
}
|
|
201
201
|
componentWillLoad() {
|
|
202
202
|
this.getBusiness && this.getData();
|
|
@@ -209,7 +209,7 @@ const BusinessCoreInfoFormStepCore = class {
|
|
|
209
209
|
}
|
|
210
210
|
render() {
|
|
211
211
|
const coreInfoDefaultValue = this.formController.getInitialValues();
|
|
212
|
-
return (index.h("form", { key: '
|
|
212
|
+
return (index.h("form", { key: 'ab0ae9821e19c2a2d1e87ce16b23cfe56bafb31b' }, index.h("fieldset", { key: 'eec949b50436218cee02c6410c34959a6b10ebf8' }, index.h("legend", { key: '34b37dddcb967275ddd3d561dd2931b74103c0ce' }, "General Info"), index.h("hr", { key: 'af37f3171790265c3b7d22d2328c31842c5a12ea' }), index.h("div", { key: 'ba4780eec04a8b34f644895913e99ea49c587f81', class: 'row gy-3' }, index.h("div", { key: '8109ee7485afc5a5ee3e38c947ef9387cab5daa4', class: 'col-12' }, index.h("form-control-text", { key: '885bc9f67fc4738cb5abc6165bf1f6f5b3382a90', name: 'legal_name', label: 'Legal Name', defaultValue: coreInfoDefaultValue.legal_name, errorText: this.errors.legal_name, inputHandler: this.inputHandler })), index.h("div", { key: '453b4e25b812015a50f72e76159111818d0065f5', class: 'col-12' }, index.h("form-control-text", { key: 'a63ec6c1e936ab1104b92e6fdd5f6a350559009c', name: 'doing_business_as', label: 'Doing Business As (DBA)', defaultValue: coreInfoDefaultValue.doing_business_as, errorText: this.errors.doing_business_as, inputHandler: this.inputHandler })), index.h("div", { key: '8a39b25c7d9c414569e22e73a98d7b136b0623dd', class: 'col-12 col-md-8' }, index.h("form-control-select", { key: '41d6d3a45431953746e86a5aea6ebb0a39674009', name: 'classification', label: 'Business Classification', options: businessFormOptions.businessClassificationOptions, defaultValue: coreInfoDefaultValue.classification, errorText: this.errors.classification, inputHandler: this.inputHandler })), index.h("div", { key: 'd98e5f2ee6e7d3ddc23ba5501db4f698cc88ba40', class: 'col-12 col-md-4' }, index.h("form-control-date", { key: '4ea36622261e3a649b934700ee676c062789c519', name: 'date_of_incorporation', label: 'Date of Incorporation', defaultValue: coreInfoDefaultValue.date_of_incorporation, errorText: this.errors.date_of_incorporation, inputHandler: this.inputHandler })), index.h("div", { key: '8617887e16cbc3a40b0c1ab56597d7098c7ac62f', class: 'col-12 col-md-6' }, index.h("form-control-text", { key: '9357ddb686194100fe705111bbc965c2956dddb4', name: 'industry', label: 'Industry', defaultValue: coreInfoDefaultValue.industry, errorText: this.errors.industry, inputHandler: this.inputHandler })), index.h("div", { key: '968b0f492f354279736b531295a1e4813a5de0b0', class: 'col-12 col-md-6' }, index.h("form-control-text", { key: 'd082445d9f876794e525839fb35457f114e89dac', name: 'tax_id', label: 'Tax ID (EIN or SSN)', defaultValue: coreInfoDefaultValue.tax_id, errorText: this.errors.tax_id, inputHandler: this.inputHandler, keyDownHandler: utils.numberOnlyHandler, maxLength: 9 })), index.h("div", { key: 'a0e041bb3fa323e378d2b9730dd9055c9ecf1dfc', class: 'col-12' }, index.h("form-control-text", { key: '4994efe8c6cb5faf84accd0f2965b508d084144e', name: 'website_url', label: 'Website URL', defaultValue: coreInfoDefaultValue.website_url, errorText: this.errors.website_url, inputHandler: this.inputHandler })), index.h("div", { key: '0f7f1548e704095aaef9d4fccd7c81284ff7bbed', class: 'col-12 col-md-6' }, index.h("form-control-text", { key: 'e1cffd24b03e5e3655649b68900c74fcc89513c5', name: 'email', label: 'Email Address', defaultValue: coreInfoDefaultValue.email, errorText: this.errors.email, inputHandler: this.inputHandler })), index.h("div", { key: '1732635477c58d1f57aa5b8dc0c560ae0c215501', class: 'col-12 col-md-6' }, index.h("form-control-number-masked", { key: '04979d08463efc69557b782fda772702935349a7', name: 'phone', label: 'Phone Number', defaultValue: coreInfoDefaultValue.phone, errorText: this.errors.phone, inputHandler: this.inputHandler, mask: formInputMasks.PHONE_MASKS.US }))))));
|
|
213
213
|
}
|
|
214
214
|
};
|
|
215
215
|
|
|
@@ -281,7 +281,7 @@ const BusinessDocumentUploadInputGroup = class {
|
|
|
281
281
|
}
|
|
282
282
|
getInputGroup() {
|
|
283
283
|
let volume = parseInt(this.paymentVolume);
|
|
284
|
-
if (utils.isInRange(volume, 250000, 999999)) {
|
|
284
|
+
if (utils$1.isInRange(volume, 250000, 999999)) {
|
|
285
285
|
this.inputConfigs.unshift(inputConfigurations.bankStatements);
|
|
286
286
|
}
|
|
287
287
|
else if (volume >= 1000000) {
|
|
@@ -309,7 +309,7 @@ const BusinessDocumentsOnFile = class {
|
|
|
309
309
|
}
|
|
310
310
|
return (index.h("div", null, index.h("div", { class: 'card' }, index.h("div", { class: 'card-body' }, index.h("h5", { class: 'card-title' }, "Documents Already on File"), index.h("div", { class: 'table-responsive' }, index.h("table", { class: 'table table-sm table-borderless' }, index.h("thead", { part: "table-head" }, index.h("tr", { part: 'table-head-row' }, index.h("th", { style: { width: '25%' }, part: "table-head-cell", scope: 'col' }, "File Name"), index.h("th", { style: { width: '25%' }, part: "table-head-cell", scope: 'col' }, "File Type"), index.h("th", { style: { width: '25%' }, part: "table-head-cell", scope: 'col' }, "Document Type"), index.h("th", { style: { width: '25%' }, part: "table-head-cell", scope: 'col' }, "Date Uploaded"))), index.h("tbody", { part: 'table-body' }, this.documents.sort((a, b) => a.document_type.localeCompare(b.document_type))
|
|
311
311
|
.map((document, index$1) => {
|
|
312
|
-
return (index.h("tr", { class: index$1 === 0 ? 'border-bottom border-top' : 'border-bottom' }, index.h("td", { part: "table-cell" }, document.file_name), index.h("td", { part: "table-cell" }, document.file_type), index.h("td", { part: "table-cell" }, utils.snakeCaseToHumanReadable(document.document_type)), index.h("td", { part: "table-cell" }, `${utils.formatDate(document.created_at)} - ${utils.formatTimeSeconds(document.created_at)}`)));
|
|
312
|
+
return (index.h("tr", { class: index$1 === 0 ? 'border-bottom border-top' : 'border-bottom' }, index.h("td", { part: "table-cell" }, document.file_name), index.h("td", { part: "table-cell" }, document.file_type), index.h("td", { part: "table-cell" }, utils$1.snakeCaseToHumanReadable(document.document_type)), index.h("td", { part: "table-cell" }, `${utils$1.formatDate(document.created_at)} - ${utils$1.formatTimeSeconds(document.created_at)}`)));
|
|
313
313
|
})))))), index.h("hr", null)));
|
|
314
314
|
}
|
|
315
315
|
};
|
|
@@ -355,7 +355,7 @@ const BusinessOwnersFormStepCore = class {
|
|
|
355
355
|
let submittedData;
|
|
356
356
|
this.formLoading.emit(true);
|
|
357
357
|
this.patchBusiness({
|
|
358
|
-
payload:
|
|
358
|
+
payload: { owners: this.ownersPayload },
|
|
359
359
|
onSuccess: (response) => {
|
|
360
360
|
submittedData = response;
|
|
361
361
|
onSuccess();
|
|
@@ -429,9 +429,9 @@ const BusinessOwnersFormStepCore = class {
|
|
|
429
429
|
this.ownersPayload = updatedOwners;
|
|
430
430
|
}
|
|
431
431
|
render() {
|
|
432
|
-
return (index.h("div", { key: '
|
|
432
|
+
return (index.h("div", { key: 'f2358952d2d28841fb8e6bc66e9846eb2cdcc97e' }, index.h("legend", { key: 'ab3f7e6758cc50760681a9fdd07f8e137da65980' }, "Owners"), index.h("hr", { key: '57828746f9991da89e77a1f96b51f6df2d33d666' }), index.h("div", { key: '4f7f58bf1b5d40079228eef118946e17b407db63', class: 'row gy-3' }, this.ownersPayload.map((owner) => {
|
|
433
433
|
return (index.h("justifi-owner-form", { key: owner.id, authToken: this.authToken, businessId: this.businessId, ownerId: owner.id, removeOwner: this.removeOwnerForm, newFormOpen: this.newFormOpen, ownersLength: this.ownersPayload.length, allowOptionalFields: this.allowOptionalFields, ref: (ref) => this.matchRef(ref, owner.id) }));
|
|
434
|
-
})), index.h("div", { key: '
|
|
434
|
+
})), index.h("div", { key: '88dad43cc24d7c1e1220acb6b7791c2172074d61', class: 'd-flex justify-content-start' }, index.h("div", { key: '9359481d78e5c3ba9599d2fce5837c5fdfe1d6f0', class: 'gap-2' }, index.h(button.Button, { key: '04ee1c49c34567b079432df8fb2b1b298fb7d7a3', variant: 'primary', onClick: () => this.addOwnerForm(true), hidden: !this.showAddOwnerButton }, "Add Owner")))));
|
|
435
435
|
}
|
|
436
436
|
static get watchers() { return {
|
|
437
437
|
"ownersPayload": ["ownersWatcher"]
|
|
@@ -495,12 +495,12 @@ const BusinessRepresentativeFormStepCore = class {
|
|
|
495
495
|
this.formController.validateAndSubmit(() => this.sendData(onSuccess));
|
|
496
496
|
}
|
|
497
497
|
get patchPayload() {
|
|
498
|
-
let formValues =
|
|
499
|
-
return
|
|
498
|
+
let formValues = new Business.Representative(this.formController.values.getValue()).payload;
|
|
499
|
+
return { representative: formValues };
|
|
500
500
|
}
|
|
501
501
|
componentWillLoad() {
|
|
502
502
|
this.getBusiness && this.getData();
|
|
503
|
-
this.formController = new index_esm.FormController(
|
|
503
|
+
this.formController = new index_esm.FormController(businessIdentitySchema.identitySchema('representative', this.allowOptionalFields));
|
|
504
504
|
}
|
|
505
505
|
componentDidLoad() {
|
|
506
506
|
this.formController.errors.subscribe(errors => {
|
|
@@ -508,7 +508,7 @@ const BusinessRepresentativeFormStepCore = class {
|
|
|
508
508
|
});
|
|
509
509
|
}
|
|
510
510
|
render() {
|
|
511
|
-
return (index.h("justifi-business-representative-form-inputs", { key: '
|
|
511
|
+
return (index.h("justifi-business-representative-form-inputs", { key: '855736c2c1565b0b9e2cf57131a72298ccc889d5', representativeDefaultValue: this.formController.getInitialValues(), errors: this.errors, formController: this.formController }));
|
|
512
512
|
}
|
|
513
513
|
};
|
|
514
514
|
|
|
@@ -586,12 +586,12 @@ const LegalAddressFormStepCore = class {
|
|
|
586
586
|
}
|
|
587
587
|
;
|
|
588
588
|
get patchPayload() {
|
|
589
|
-
let formValues =
|
|
590
|
-
return
|
|
589
|
+
let formValues = new Business.Address(this.formController.values.getValue()).payload;
|
|
590
|
+
return { legal_address: formValues };
|
|
591
591
|
}
|
|
592
592
|
componentWillLoad() {
|
|
593
593
|
this.getBusiness && this.getData();
|
|
594
|
-
this.formController = new index_esm.FormController(
|
|
594
|
+
this.formController = new index_esm.FormController(businessIdentitySchema.addressSchema(this.allowOptionalFields));
|
|
595
595
|
}
|
|
596
596
|
componentDidLoad() {
|
|
597
597
|
this.formController.errors.subscribe(errors => {
|
|
@@ -601,7 +601,7 @@ const LegalAddressFormStepCore = class {
|
|
|
601
601
|
render() {
|
|
602
602
|
var _a, _b, _c, _d, _e, _f;
|
|
603
603
|
const legalAddressDefaultValue = this.formController.getInitialValues();
|
|
604
|
-
return (index.h("form", { key: '
|
|
604
|
+
return (index.h("form", { key: '5a95fe5a130deded7e160e6fe4ba1d09e6a6aabc' }, index.h("fieldset", { key: '2011fac5c860b7beee5eaac28e697b284067f2e6' }, index.h("legend", { key: 'dbe411d80d10a71bc63f18fcdb58a40b124e8eaf' }, "Business Legal Address"), index.h("hr", { key: '4a91dd5e67e5770778d2dd59716e1e532d644ee9' }), index.h("div", { key: 'cd53516a98498ab82ab347a1f7c836be262b9fdb', class: 'row gy-3' }, index.h("div", { key: '14cd5fee5661681ccff95eabf8cd6f2d4cff2296', class: 'col-12' }, index.h("form-control-text", { key: 'e4b0a5e30fc1a35e5127a76710211874fb68898b', name: 'line1', label: 'Legal Address', inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.line1, errorText: (_a = this.errors) === null || _a === void 0 ? void 0 : _a.line1 })), index.h("div", { key: '2c35da509732e73e2abb4365d6d9e2056d7ce771', class: 'col-12' }, index.h("form-control-text", { key: 'c8ae2a5c75d0fe8c5ddd46d9150590b8a4f99a5e', name: 'line2', label: 'Address Line 2', inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.line2, errorText: (_b = this.errors) === null || _b === void 0 ? void 0 : _b.line2 })), index.h("div", { key: '07649ebd5a848eee63398965c30e8e30fcc88354', class: 'col-12' }, index.h("form-control-text", { key: 'cb25047c3458124f7d837b7948e807214f1a0a0a', name: 'city', label: 'City', inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.city, errorText: (_c = this.errors) === null || _c === void 0 ? void 0 : _c.city })), index.h("div", { key: 'ce3ddc5f3639503dbc02668aea7139ffff376545', class: 'col-12' }, index.h("form-control-select", { key: '00d18b4af1f415828b40404888a6c69d0611d0cc', name: 'state', label: 'State', options: stateOptions.StateOptions, inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.state, errorText: (_d = this.errors) === null || _d === void 0 ? void 0 : _d.state })), index.h("div", { key: '1988bd739af107d9595f6fed897f257da13ac997', class: 'col-12' }, index.h("form-control-text", { key: '55144c39845d4cc36704170b73458f761f311d00', name: 'postal_code', label: 'Postal Code', inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.postal_code, errorText: (_e = this.errors) === null || _e === void 0 ? void 0 : _e.postal_code, maxLength: 5, keyDownHandler: utils.numberOnlyHandler })), index.h("div", { key: 'cccba799a75280693f461f390121b13006877f35', class: 'col-12' }, index.h("form-control-select", { key: 'e49b21a781280fb2e9cc9f6b88ddcc6d7408c5f8', name: 'country', label: 'Country', options: [{ label: 'United States', value: 'USA' }], inputHandler: this.inputHandler, defaultValue: legalAddressDefaultValue === null || legalAddressDefaultValue === void 0 ? void 0 : legalAddressDefaultValue.country, errorText: (_f = this.errors) === null || _f === void 0 ? void 0 : _f.country,
|
|
605
605
|
// just for now so we skip handling country specificities
|
|
606
606
|
disabled: true }))))));
|
|
607
607
|
}
|
|
@@ -18,12 +18,12 @@ const DateInput = class {
|
|
|
18
18
|
this.inputHandler(name, target.value);
|
|
19
19
|
this.formControlInput.emit({ name, value: target.value });
|
|
20
20
|
};
|
|
21
|
-
this.label = undefined;
|
|
22
21
|
this.name = undefined;
|
|
22
|
+
this.label = undefined;
|
|
23
|
+
this.inputHandler = undefined;
|
|
24
|
+
this.defaultValue = undefined;
|
|
23
25
|
this.helpText = undefined;
|
|
24
26
|
this.errorText = undefined;
|
|
25
|
-
this.defaultValue = undefined;
|
|
26
|
-
this.inputHandler = undefined;
|
|
27
27
|
this.disabled = undefined;
|
|
28
28
|
}
|
|
29
29
|
handleDefaultValueChange(newValue) {
|
|
@@ -36,7 +36,7 @@ const DateInput = class {
|
|
|
36
36
|
this.dateInput.value = value;
|
|
37
37
|
}
|
|
38
38
|
render() {
|
|
39
|
-
return (index.h(index.Host, { key: '
|
|
39
|
+
return (index.h(index.Host, { key: 'dfbfc1ea5d7139a1c1d30c7bd84b33a9c22604cf', exportparts: "label,input,input-invalid" }, index.h("label", { key: '99a01781ecd1421fa439ad08f77d3f750a55eaee', part: "label", class: "form-label", htmlFor: this.name }, this.label), index.h("input", { key: 'd8db68d8a62e0f982c3aa7d4bd3a5cf7c2681db3', type: "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 }), index.h("form-control-help-text", { key: '1ee2ccdc1e409c5427e39efe2929b830960edce9', helpText: this.helpText, name: this.name }), index.h("form-control-error-text", { key: '1db50cca364b4d059dac37243cf83bb4b11459cd', errorText: this.errorText, name: this.name })));
|
|
40
40
|
}
|
|
41
41
|
static get watchers() { return {
|
|
42
42
|
"defaultValue": ["handleDefaultValueChange"]
|
|
@@ -46,13 +46,13 @@ const SelectInput = class {
|
|
|
46
46
|
this.updateInput = (newValue) => {
|
|
47
47
|
this.selectElement.value = newValue;
|
|
48
48
|
};
|
|
49
|
-
this.label = undefined;
|
|
50
49
|
this.name = undefined;
|
|
50
|
+
this.label = undefined;
|
|
51
|
+
this.options = undefined;
|
|
52
|
+
this.inputHandler = undefined;
|
|
53
|
+
this.defaultValue = undefined;
|
|
51
54
|
this.helpText = undefined;
|
|
52
55
|
this.errorText = undefined;
|
|
53
|
-
this.defaultValue = undefined;
|
|
54
|
-
this.inputHandler = undefined;
|
|
55
|
-
this.options = undefined;
|
|
56
56
|
this.disabled = undefined;
|
|
57
57
|
}
|
|
58
58
|
handleDefaultValueChange(newValue) {
|
|
@@ -63,7 +63,7 @@ const SelectInput = class {
|
|
|
63
63
|
}
|
|
64
64
|
render() {
|
|
65
65
|
var _a;
|
|
66
|
-
return (index.h(index.Host, { key: '
|
|
66
|
+
return (index.h(index.Host, { key: 'e62a08c8ba656cc7e82c0f8f7facccc086fbafe7', exportparts: "label,input,input-invalid" }, index.h("div", { key: 'f9a4c428311f32f2585ca9259ba31909187b809d', class: "form-group d-flex flex-column" }, index.h("label", { key: '006a3bd7ae2874bf3fa24e2c053808e51b652d9a', part: "label", class: "form-label", htmlFor: this.name }, this.label), index.h("select", { key: 'f0ac14e8b74c939b4928b9ce800118f660c90613', ref: el => (this.selectElement = el), id: this.name, name: this.name, onBlur: this.formControlBlur.emit, onInput: this.handleFormControlInput, part: `input ${this.errorText ? 'input-invalid' : ''}`, class: this.errorText ? 'form-select is-invalid' : 'form-select', disabled: this.disabled }, (_a = this.options) === null || _a === void 0 ? void 0 : _a.map(option => (index.h("option", { value: option.value }, option.label)))), index.h("form-control-help-text", { key: '3a60ff2a2af7668013baf2767d97095379b2d37e', helpText: this.helpText, name: this.name }), index.h("form-control-error-text", { key: '8c4049d16408f305b8bf1e8a49c91db56991a840', errorText: this.errorText, name: this.name }))));
|
|
67
67
|
}
|
|
68
68
|
static get watchers() { return {
|
|
69
69
|
"defaultValue": ["handleDefaultValueChange"]
|
|
@@ -87,13 +87,13 @@ const TextInput = class {
|
|
|
87
87
|
inputElement.value = newValue || '';
|
|
88
88
|
}
|
|
89
89
|
};
|
|
90
|
-
this.label = undefined;
|
|
91
90
|
this.name = undefined;
|
|
91
|
+
this.label = undefined;
|
|
92
|
+
this.inputHandler = undefined;
|
|
93
|
+
this.defaultValue = undefined;
|
|
92
94
|
this.helpText = undefined;
|
|
93
95
|
this.errorText = undefined;
|
|
94
|
-
this.defaultValue = undefined;
|
|
95
96
|
this.maxLength = undefined;
|
|
96
|
-
this.inputHandler = undefined;
|
|
97
97
|
this.keyDownHandler = undefined;
|
|
98
98
|
this.disabled = undefined;
|
|
99
99
|
}
|
|
@@ -104,7 +104,7 @@ const TextInput = class {
|
|
|
104
104
|
this.updateInput(this.defaultValue);
|
|
105
105
|
}
|
|
106
106
|
render() {
|
|
107
|
-
return (index.h(index.Host, { key: '
|
|
107
|
+
return (index.h(index.Host, { key: 'fddfb4134747c8d8caf6594f5450e57fa4c2dc3e', exportparts: "label,input,input-invalid" }, index.h("div", { key: 'bbd0174fb56d911992907e0a2c453b9d1412b636', class: "form-group d-flex flex-column" }, index.h("label", { key: 'f5d9d3d6c4694d08d86963df37adbd1b334593b3', part: "label", class: "form-label", htmlFor: this.name }, this.label), index.h("input", { key: 'ae49e4c86782fd0901c1a0e8530981cf1b0b7c65', id: this.name, name: this.name, onBlur: this.formControlBlur.emit, onInput: this.handleFormControlInput, onKeyDown: this.keyDownHandler, onPaste: this.keyDownHandler, maxLength: this.maxLength, part: `input ${this.errorText ? 'input-invalid ' : ''}${this.disabled ? ' input-disabled' : ''}`, class: this.errorText ? 'form-control is-invalid' : 'form-control', type: "text", disabled: this.disabled }), index.h("form-control-help-text", { key: '1e1bbc8d39e5caeca559515f72eb17ca9b3ab0b1', helpText: this.helpText, name: this.name }), index.h("form-control-error-text", { key: '44c121cb0eb69840440e696e784c7a73689a42f2', errorText: this.errorText, name: this.name }))));
|
|
108
108
|
}
|
|
109
109
|
get el() { return index.getElement(this); }
|
|
110
110
|
static get watchers() { return {
|
|
@@ -1,25 +1,26 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const Api = require('./Api-
|
|
3
|
+
const Api = require('./Api-b98b256f.js');
|
|
4
4
|
require('./Pagination-0da8f095.js');
|
|
5
5
|
require('./Payment-1a8a8ca6.js');
|
|
6
6
|
require('./Payout-a2dd7b01.js');
|
|
7
|
+
const config = require('./config-05767cba.js');
|
|
7
8
|
const ComponentError = require('./ComponentError-233ac749.js');
|
|
8
9
|
const utils = require('./utils-7a478c37.js');
|
|
9
10
|
|
|
10
11
|
class PayoutService {
|
|
11
12
|
async fetchPayouts(accountId, authToken, params) {
|
|
12
|
-
const api = Api.Api({ authToken, apiOrigin:
|
|
13
|
+
const api = Api.Api({ authToken, apiOrigin: config.config.proxyApiOrigin });
|
|
13
14
|
const endpoint = `account/${accountId}/payouts`;
|
|
14
15
|
return api.get(endpoint, params);
|
|
15
16
|
}
|
|
16
17
|
async fetchPayout(payoutId, authToken) {
|
|
17
|
-
const api = Api.Api({ authToken, apiOrigin:
|
|
18
|
+
const api = Api.Api({ authToken, apiOrigin: config.config.proxyApiOrigin });
|
|
18
19
|
const endpoint = `payouts/${payoutId}`;
|
|
19
20
|
return api.get(endpoint);
|
|
20
21
|
}
|
|
21
22
|
async fetchCSV(payoutId, authToken) {
|
|
22
|
-
const api = Api.Api({ authToken, apiOrigin:
|
|
23
|
+
const api = Api.Api({ authToken, apiOrigin: config.config.proxyApiOrigin });
|
|
23
24
|
const endpoint = `reports/payouts/${payoutId}`;
|
|
24
25
|
return api.get(endpoint);
|
|
25
26
|
}
|
|
@@ -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-af1b60a9.js');
|
|
7
7
|
const utils$1 = require('./utils-c1d2e426.js');
|
|
8
8
|
|
|
9
9
|
/*!
|
|
@@ -5,17 +5,18 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
const index = require('./index-fb499e95.js');
|
|
6
6
|
const ComponentError = require('./ComponentError-233ac749.js');
|
|
7
7
|
const paymentProvisioningActions = require('./payment-provisioning-actions-06466dda.js');
|
|
8
|
-
const business_service = require('./business.service-
|
|
8
|
+
const business_service = require('./business.service-031c0084.js');
|
|
9
9
|
const index_esm = require('./index.esm-52757963.js');
|
|
10
10
|
const businessFormTypes = require('./business-form-types-6e1fcda3.js');
|
|
11
|
-
const schemaValidations = require('./schema-validations-
|
|
12
|
-
const businessFormOptions = require('./business-form-options-
|
|
13
|
-
const Api = require('./Api-
|
|
11
|
+
const schemaValidations = require('./schema-validations-0a7e46a3.js');
|
|
12
|
+
const businessFormOptions = require('./business-form-options-5db0bd5e.js');
|
|
13
|
+
const Api = require('./Api-b98b256f.js');
|
|
14
14
|
require('./Pagination-0da8f095.js');
|
|
15
15
|
require('./Payment-1a8a8ca6.js');
|
|
16
16
|
require('./Payout-a2dd7b01.js');
|
|
17
|
+
const config = require('./config-05767cba.js');
|
|
17
18
|
const utils = require('./utils-ddacfc44.js');
|
|
18
|
-
const Business = require('./Business-
|
|
19
|
+
const Business = require('./Business-aa799fec.js');
|
|
19
20
|
const skeleton = require('./skeleton-748c5dde.js');
|
|
20
21
|
const button = require('./button-3f400a66.js');
|
|
21
22
|
require('./utils-7a478c37.js');
|
|
@@ -147,7 +148,7 @@ const BusinessBankAccountFormStep = class {
|
|
|
147
148
|
try {
|
|
148
149
|
const formValues = this.formController.values.getValue();
|
|
149
150
|
const payload = Object.assign(Object.assign({}, formValues), { business_id: this.businessId });
|
|
150
|
-
const response = await this.api.post(this.bankAccountEndpoint,
|
|
151
|
+
const response = await this.api.post(this.bankAccountEndpoint, payload);
|
|
151
152
|
this.handleResponse(response, onSuccess);
|
|
152
153
|
}
|
|
153
154
|
catch (error) {
|
|
@@ -203,7 +204,7 @@ const BusinessBankAccountFormStep = class {
|
|
|
203
204
|
;
|
|
204
205
|
componentWillLoad() {
|
|
205
206
|
this.formController = new index_esm.FormController(businessBankAccountSchema(this.allowOptionalFields));
|
|
206
|
-
this.api = Api.Api({ authToken: this.authToken, apiOrigin:
|
|
207
|
+
this.api = Api.Api({ authToken: this.authToken, apiOrigin: config.config.proxyApiOrigin });
|
|
207
208
|
if (this.businessId && this.authToken) {
|
|
208
209
|
this.fetchData();
|
|
209
210
|
}
|
|
@@ -216,7 +217,7 @@ const BusinessBankAccountFormStep = class {
|
|
|
216
217
|
}
|
|
217
218
|
render() {
|
|
218
219
|
const bankAccountDefaultValue = this.formController.getInitialValues();
|
|
219
|
-
return (index.h("form", { key: '
|
|
220
|
+
return (index.h("form", { key: 'c2bdcd5ab6301d1a39e4d774df101281c41e2002' }, index.h("fieldset", { key: '7f6b607be5b7bc5fcd0dc1687adaa1ad00d7d2e9' }, index.h("legend", { key: '91b68746c65bb68f4fbd2eef151258e6915f8e35' }, "Bank Account Info"), index.h("hr", { key: '5eceedbf59faef10757c9e2b04d4dc4cd6b88a9b' }), index.h("div", { key: 'd3185db7fceb9851ccb44c1c89f8cbe5a37c24e0', class: "row gy-3" }, index.h("div", { key: '625caf0e9b93c244d94c69174ffff57126d39fa1', class: "col-12" }, index.h("form-control-text", { key: 'ddf3206b09047dfea56df850babe6c8f92ed33ee', 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: 'd7d498353eec8e1947ce748aa35cbee63e793817', class: "col-12" }, index.h("form-control-text", { key: 'a80050dcd088db0209c2e5da65b310d7fc7877f5', name: "nickname", label: "Nickname", defaultValue: bankAccountDefaultValue.nickname, errorText: this.errors.nickname, inputHandler: this.inputHandler, disabled: this.formDisabled })), index.h("div", { key: 'ea5578470e0e4d0fd5b973807475a02c7764c9c8', class: "col-12" }, index.h("form-control-text", { key: 'dd8c77b43ddfca61cfd5ed39ce6e142654f18d9f', 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: 'cb3256226c5fdfa5ff2a02c456a6c384e06d16a6', class: "col-12" }, index.h("form-control-select", { key: 'a865f48350a0ae6b6a2a540dc2d54de72a8af074', 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: 'aa9062a25dade06db1f175d4233f2e5bb4e7ecd7', class: "col-12" }, index.h("form-control-text", { key: '1a87920e4df50178625446c770e4182d918664c7', 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 })), index.h("div", { key: 'c72858a29aa1289b367c0eb89d6cc0eded23346d', class: "col-12" }, index.h("form-control-text", { key: 'b7fb93bcf16c01689245d5aca11142b013fe6adc', 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 }))))));
|
|
220
221
|
}
|
|
221
222
|
};
|
|
222
223
|
|
|
@@ -334,7 +335,7 @@ const BusinessDocumentFormStep = class {
|
|
|
334
335
|
this.formLoading.emit(true);
|
|
335
336
|
const payload = docData.record_data;
|
|
336
337
|
try {
|
|
337
|
-
const response = await this.api.post(this.documentEndpoint,
|
|
338
|
+
const response = await this.api.post(this.documentEndpoint, payload);
|
|
338
339
|
return this.handleDocRecordResponse(docData, response);
|
|
339
340
|
}
|
|
340
341
|
catch (error) {
|
|
@@ -433,7 +434,7 @@ const BusinessDocumentFormStep = class {
|
|
|
433
434
|
return 'entities/document';
|
|
434
435
|
}
|
|
435
436
|
componentWillLoad() {
|
|
436
|
-
this.api = Api.Api({ authToken: this.authToken, apiOrigin:
|
|
437
|
+
this.api = Api.Api({ authToken: this.authToken, apiOrigin: config.config.proxyApiOrigin });
|
|
437
438
|
if (this.businessId && this.authToken) {
|
|
438
439
|
this.fetchData();
|
|
439
440
|
}
|
|
@@ -466,7 +467,7 @@ const BusinessDocumentFormStep = class {
|
|
|
466
467
|
return (index.h("justifi-business-document-upload-input-group", { paymentVolume: this.paymentVolume, inputHandler: this.inputHandler, storeFiles: this.storeFiles, errors: this.errors }));
|
|
467
468
|
}
|
|
468
469
|
render() {
|
|
469
|
-
return (index.h("form", { key: '
|
|
470
|
+
return (index.h("form", { key: '38bb9070ca04f773ec092ebb14ce8ad20f33d8cf' }, index.h("fieldset", { key: '9c736d11200bb9c5a37c1319f3bfb349b7a5e93f' }, index.h("legend", { key: '92ed2fb864e85e38532af364518c25ef4bd275a5' }, "Document Uploads"), index.h("p", { key: 'f5803df74a5d0bc4e544c6cc968333f2a3f77385' }, "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: '0c696d1bdb614bdacb3cbadeee66c95149efda68' }), this.documentsOnFile, index.h("div", { key: '7919205dfda677526d810a9fa1507ed8a55eafb8', class: "d-flex flex-column" }, this.formInputs))));
|
|
470
471
|
}
|
|
471
472
|
};
|
|
472
473
|
|
|
@@ -607,7 +608,7 @@ const BusinessTermsConditionsFormStep = class {
|
|
|
607
608
|
this.sendData = async (onSuccess) => {
|
|
608
609
|
this.formLoading.emit(true);
|
|
609
610
|
try {
|
|
610
|
-
const payload =
|
|
611
|
+
const payload = this.termsPayload;
|
|
611
612
|
const response = await this.api.post(this.termsConditionsEndpoint, payload);
|
|
612
613
|
this.handleResponse(response, onSuccess);
|
|
613
614
|
}
|
|
@@ -650,7 +651,7 @@ const BusinessTermsConditionsFormStep = class {
|
|
|
650
651
|
};
|
|
651
652
|
}
|
|
652
653
|
async componentWillLoad() {
|
|
653
|
-
this.api = Api.Api({ authToken: this.authToken, apiOrigin:
|
|
654
|
+
this.api = Api.Api({ authToken: this.authToken, apiOrigin: config.config.proxyApiOrigin });
|
|
654
655
|
this.formController = new index_esm.FormController(businessTermsConditionsSchema(this.allowOptionalFields));
|
|
655
656
|
if (this.businessId && this.authToken) {
|
|
656
657
|
this.fetchData();
|
|
@@ -686,7 +687,7 @@ const BusinessTermsConditionsFormStep = class {
|
|
|
686
687
|
});
|
|
687
688
|
}
|
|
688
689
|
render() {
|
|
689
|
-
return (index.h("form", { key: '
|
|
690
|
+
return (index.h("form", { key: 'a292e2b1b69d152009000d9e7009e5ab07698bc8' }, index.h("fieldset", { key: '30843e9ed0029f64abcf076512af82974dd99598' }, index.h("legend", { key: '6453679a074056668bdd93cb91d2d725b73fb0da' }, "Terms and Conditions"), index.h("hr", { key: '6a44c1128e3dceb770b16533aa61fb5e81f5dda2' }), index.h("justifi-business-terms-conditions-text", { key: '714c9f81c1d1f91712a276259acf4eb6734b40d4' }), index.h("br", { key: '5e955908e53af5ade77fca9f2a47e8a9d10e7ad8' }), index.h("div", { key: '7c6ca9d2634c7cc6988292ffedf86b64c3865557', class: "row-gy-3" }, index.h("div", { key: 'e8f01c4bdcc07e0063e3b8f5f1acbabc9b3310f7', class: "col-12" }, index.h("form-control-checkbox", { key: 'e09eeb02dc30a9461e958bf43685d2c58f4a608f', name: "accepted", label: "I agree to the terms and conditions", inputHandler: this.inputHandler, errorText: this.errors.accepted, disabled: this.acceptedTermsBefore, helpText: this.formHelperText }))))));
|
|
690
691
|
}
|
|
691
692
|
};
|
|
692
693
|
|
|
@@ -3,9 +3,10 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-fb499e95.js');
|
|
6
|
-
const
|
|
7
|
-
require('./
|
|
8
|
-
require('./
|
|
6
|
+
const config = require('./config-05767cba.js');
|
|
7
|
+
const Analytics = require('./Analytics-03981aad.js');
|
|
8
|
+
require('./package-7fdd14b9.js');
|
|
9
|
+
require('./Api-b98b256f.js');
|
|
9
10
|
|
|
10
11
|
const BankAccountForm = class {
|
|
11
12
|
constructor(hostRef) {
|
|
@@ -15,7 +16,7 @@ const BankAccountForm = class {
|
|
|
15
16
|
this.bankAccountFormTokenized = index.createEvent(this, "bankAccountFormTokenize", 7);
|
|
16
17
|
this.bankAccountFormValidated = index.createEvent(this, "bankAccountFormValidate", 7);
|
|
17
18
|
this.validationMode = undefined;
|
|
18
|
-
this.iframeOrigin =
|
|
19
|
+
this.iframeOrigin = config.config.iframeOrigin;
|
|
19
20
|
this.internalStyleOverrides = undefined;
|
|
20
21
|
}
|
|
21
22
|
readyHandler(event) {
|
|
@@ -67,7 +68,7 @@ const BankAccountForm = class {
|
|
|
67
68
|
return this.childRef.resize();
|
|
68
69
|
}
|
|
69
70
|
render() {
|
|
70
|
-
return (index.h("justifi-payment-method-form", { key: '
|
|
71
|
+
return (index.h("justifi-payment-method-form", { key: 'e2fa64d199a6c550329c9797a6951335e7c12bc6', ref: el => {
|
|
71
72
|
if (el) {
|
|
72
73
|
this.childRef = el;
|
|
73
74
|
}
|
|
@@ -4,12 +4,12 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-fb499e95.js');
|
|
6
6
|
const index_esm = require('./index.esm-52757963.js');
|
|
7
|
-
const schemaValidations = require('./schema-validations-
|
|
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-
|
|
11
|
-
require('./business-form-options-
|
|
12
|
-
require('./Business-
|
|
10
|
+
const styledHost = require('./styled-host-9e0b67b3.js');
|
|
11
|
+
require('./business-form-options-5db0bd5e.js');
|
|
12
|
+
require('./Business-aa799fec.js');
|
|
13
13
|
require('./helpers-602962eb.js');
|
|
14
14
|
|
|
15
15
|
const BillingFormSchema = index_esm.create$3({
|
|
@@ -4,15 +4,17 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-fb499e95.js');
|
|
6
6
|
const utils$1 = require('./utils-c1d2e426.js');
|
|
7
|
-
const business_service = require('./business.service-
|
|
8
|
-
const Business = require('./Business-
|
|
7
|
+
const business_service = require('./business.service-031c0084.js');
|
|
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
|
-
require('./
|
|
11
|
+
const Analytics = require('./Analytics-03981aad.js');
|
|
12
|
+
const checkPkgVersion = require('./check-pkg-version-89d6d146.js');
|
|
13
|
+
require('./config-05767cba.js');
|
|
14
|
+
require('./Api-b98b256f.js');
|
|
13
15
|
require('./helpers-602962eb.js');
|
|
14
16
|
require('./state-options-4fbcb48a.js');
|
|
15
|
-
require('./package-
|
|
17
|
+
require('./package-7fdd14b9.js');
|
|
16
18
|
|
|
17
19
|
const makeGetBusiness = ({ id, authToken, service }) => async ({ onSuccess, onError }) => {
|
|
18
20
|
var _a;
|
|
@@ -51,6 +53,7 @@ const BusinessDetails = class {
|
|
|
51
53
|
this.getBusiness = undefined;
|
|
52
54
|
}
|
|
53
55
|
componentWillLoad() {
|
|
56
|
+
checkPkgVersion.checkPkgVersion();
|
|
54
57
|
this.analytics = new Analytics.JustifiAnalytics(this);
|
|
55
58
|
this.initializeGetBusiness();
|
|
56
59
|
}
|