@justifi/webcomponents 4.10.0 → 4.11.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/{Business-663db337.js → Business-7ae04d4f.js} +46 -1
- package/dist/cjs/business-additional-questions-schema-18a82d19.js +47 -0
- package/dist/cjs/business-details-core.cjs.entry.js +7 -2
- package/dist/cjs/{business-form-types-3cdd5447.js → business-form-types-29b2bad9.js} +7 -0
- package/dist/cjs/{form-control-datepart_3.cjs.entry.js → form-control-datepart_4.cjs.entry.js} +59 -12
- package/dist/cjs/{form-control-number_3.cjs.entry.js → form-control-select_2.cjs.entry.js} +3 -45
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +7 -1
- package/dist/cjs/justifi-additional-questions-form-step_5.cjs.entry.js +24 -20
- package/dist/cjs/justifi-additional-questions_4.cjs.entry.js +6 -8
- package/dist/cjs/justifi-billing-form_4.cjs.entry.js +1 -1
- package/dist/cjs/justifi-business-details.cjs.entry.js +21 -4
- package/dist/cjs/justifi-business-form.cjs.entry.js +60 -51
- package/dist/cjs/justifi-business-list.cjs.entry.js +1 -1
- package/dist/cjs/justifi-checkout.cjs.entry.js +1 -1
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +29 -5
- package/dist/cjs/justifi-owner-form.cjs.entry.js +20 -12
- package/dist/cjs/justifi-payment-details.cjs.entry.js +25 -4
- package/dist/cjs/justifi-payment-form.cjs.entry.js +16 -3
- package/dist/cjs/justifi-payment-provisioning.cjs.entry.js +16 -16
- package/dist/cjs/justifi-payments-list.cjs.entry.js +25 -5
- package/dist/cjs/justifi-payout-details.cjs.entry.js +27 -7
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +26 -6
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/payload-parsers-f437272e.js +132 -0
- package/dist/cjs/payment-details-core.cjs.entry.js +7 -1
- package/dist/cjs/payments-list-core.cjs.entry.js +8 -2
- package/dist/cjs/payout-details-core.cjs.entry.js +8 -3
- package/dist/cjs/payouts-list-core.cjs.entry.js +8 -2
- package/dist/cjs/{utils-df5167a8.js → utils-87435719.js} +7 -0
- package/dist/cjs/utils-f8079741.js +41 -0
- package/dist/cjs/webcomponents.cjs.js +1 -1
- package/dist/collection/api/Business.js +2 -1
- package/dist/collection/api/ComponentError.js +14 -0
- package/dist/collection/api/services/utils.js +11 -0
- package/dist/collection/api/shared.js +11 -1
- package/dist/collection/collection-manifest.json +1 -2
- package/dist/collection/components/business-details/additional-questions-details/test/additional-questions.spec.js +1 -1
- package/dist/collection/components/business-details/business-details-core.js +30 -2
- package/dist/collection/components/business-details/business-details.js +30 -0
- package/dist/collection/components/business-details/generic-info-details/test/generic-info-details.spec.js +1 -1
- package/dist/collection/components/business-details/get-business.js +15 -3
- package/dist/collection/components/business-details/legal-address-details/test/legal-address-details.spec.js +1 -1
- package/dist/collection/components/business-details/owner-details/test/owner-details.spec.js +1 -1
- package/dist/collection/components/business-details/representative-details/test/representative-details.spec.js +1 -1
- package/dist/collection/components/business-details/test/busines-details-core.spec.js +56 -16
- package/dist/collection/components/business-details/test/business-details.spec.js +20 -4
- package/dist/collection/components/business-details/test/get-business.spec.js +13 -6
- package/dist/collection/components/business-forms/business-form/business-form.js +79 -50
- package/dist/collection/components/business-forms/business-form/business-representative/business-representative.js +1 -4
- package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.js +4 -2
- package/dist/collection/components/business-forms/{business-form/business-address/business-address-form.js → owner-form/identity-address/identity-address-form.js} +13 -10
- package/dist/collection/components/business-forms/owner-form/identity-address/test/identity-address.e2e.js +9 -0
- package/dist/collection/components/business-forms/{business-form/business-address/test/business-address.spec.js → owner-form/identity-address/test/identity-address.spec.js} +21 -14
- package/dist/collection/components/business-forms/owner-form/owner-form.js +54 -8
- package/dist/collection/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.js +20 -2
- package/dist/collection/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.js +19 -1
- package/dist/collection/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.js +44 -4
- package/dist/collection/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.js +21 -6
- package/dist/collection/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.js +23 -4
- package/dist/collection/components/business-forms/payment-provisioning/payment-provisioning.js +32 -14
- package/dist/collection/components/business-forms/schemas/business-additional-questions-schema.js +15 -6
- package/dist/collection/components/business-forms/schemas/business-address-schema.js +47 -12
- package/dist/collection/components/business-forms/schemas/business-core-info-schema.js +24 -12
- package/dist/collection/components/business-forms/schemas/business-form-schema.js +4 -4
- package/dist/collection/components/business-forms/schemas/business-identity-schema.js +29 -34
- package/dist/collection/components/business-forms/utils/business-form-types.js +7 -0
- package/dist/collection/components/business-forms/utils/helpers.js +2 -0
- package/dist/collection/components/form/form-control-text.js +35 -1
- package/dist/collection/components/form/utils.js +6 -0
- package/dist/collection/components/gross-payment-chart/get-gross-payment-chart-data.js +17 -2
- package/dist/collection/components/gross-payment-chart/gross-payment-chart-core.js +30 -1
- package/dist/collection/components/gross-payment-chart/gross-payment-chart.js +35 -1
- package/dist/collection/components/gross-payment-chart/test/get-gross-payment-chart-data.spec.js +26 -8
- package/dist/collection/components/gross-payment-chart/test/gross-payment-chart-core.spec.js +51 -11
- package/dist/collection/components/gross-payment-chart/test/gross-payment-chart.spec.js +55 -3
- package/dist/collection/components/payment-details/get-payment-details.js +15 -3
- package/dist/collection/components/payment-details/payment-details-core.js +30 -1
- package/dist/collection/components/payment-details/payment-details.js +35 -1
- package/dist/collection/components/payment-details/test/get-payment-details.spec.js +11 -3
- package/dist/collection/components/payment-details/test/payment-details-core.spec.js +55 -12
- package/dist/collection/components/payment-details/test/payment-details.spec.js +69 -3
- package/dist/collection/components/payment-form/payment-form.js +54 -3
- package/dist/collection/components/payment-form/test/payment-form.spec.js +60 -1
- package/dist/collection/components/payments-list/get-payments.js +15 -4
- package/dist/collection/components/payments-list/payments-list-core.js +28 -2
- package/dist/collection/components/payments-list/payments-list.js +35 -1
- package/dist/collection/components/payments-list/test/get-payments.spec.js +11 -3
- package/dist/collection/components/payments-list/test/payments-list-core.spec.js +43 -28
- package/dist/collection/components/payments-list/test/payments-list.spec.js +31 -3
- package/dist/collection/components/payout-details/get-payout-details.js +17 -6
- package/dist/collection/components/payout-details/payout-details-core.js +31 -3
- package/dist/collection/components/payout-details/payout-details.js +35 -1
- package/dist/collection/components/payout-details/test/get-payout-details.spec.js +15 -5
- package/dist/collection/components/payout-details/test/payout-details-core.spec.js +54 -16
- package/dist/collection/components/payout-details/test/payout-details.spec.js +50 -1
- package/dist/collection/components/payouts-list/get-payouts.js +17 -5
- package/dist/collection/components/payouts-list/payouts-list-core.js +28 -2
- package/dist/collection/components/payouts-list/payouts-list.js +34 -1
- package/dist/collection/components/payouts-list/test/get-payouts.spec.js +11 -3
- package/dist/collection/components/payouts-list/test/payouts-list-core.spec.js +42 -29
- package/dist/collection/components/payouts-list/test/payouts-list.spec.js +33 -0
- package/dist/docs.json +753 -354
- package/dist/esm/{Business-6cc4e473.js → Business-91caaccb.js} +45 -2
- package/dist/esm/business-additional-questions-schema-b642a2b7.js +44 -0
- package/dist/esm/business-details-core.entry.js +8 -3
- package/dist/esm/{business-form-types-de9f38cd.js → business-form-types-0d76133c.js} +8 -1
- package/dist/esm/{form-control-datepart_3.entry.js → form-control-datepart_4.entry.js} +59 -13
- package/dist/esm/{form-control-number_3.entry.js → form-control-select_2.entry.js} +4 -45
- package/dist/esm/gross-payment-chart-core.entry.js +8 -2
- package/dist/esm/justifi-additional-questions-form-step_5.entry.js +22 -18
- package/dist/esm/justifi-additional-questions_4.entry.js +6 -8
- package/dist/esm/justifi-billing-form_4.entry.js +1 -1
- package/dist/esm/justifi-business-details.entry.js +22 -5
- package/dist/esm/justifi-business-form.entry.js +60 -51
- package/dist/esm/justifi-business-list.entry.js +1 -1
- package/dist/esm/justifi-checkout.entry.js +1 -1
- package/dist/esm/justifi-gross-payment-chart.entry.js +28 -4
- package/dist/esm/justifi-owner-form.entry.js +19 -11
- package/dist/esm/justifi-payment-details.entry.js +26 -5
- package/dist/esm/justifi-payment-form.entry.js +16 -3
- package/dist/esm/justifi-payment-provisioning.entry.js +16 -16
- package/dist/esm/justifi-payments-list.entry.js +26 -6
- package/dist/esm/justifi-payout-details.entry.js +28 -8
- package/dist/esm/justifi-payouts-list.entry.js +27 -7
- package/dist/esm/loader.js +1 -1
- package/dist/esm/payload-parsers-920f49dd.js +123 -0
- package/dist/esm/payment-details-core.entry.js +8 -2
- package/dist/esm/payments-list-core.entry.js +8 -2
- package/dist/esm/payout-details-core.entry.js +9 -4
- package/dist/esm/payouts-list-core.entry.js +8 -2
- package/dist/esm/utils-4609f32c.js +38 -0
- package/dist/esm/{utils-2828201a.js → utils-684d2e47.js} +7 -1
- package/dist/esm/webcomponents.js +1 -1
- package/dist/module/Business.js +45 -2
- package/dist/module/business-additional-questions-form-step.js +4 -2
- package/dist/module/business-additional-questions-schema.js +16 -7
- package/dist/module/business-address-schema.js +49 -14
- package/dist/module/business-core-info-form-step.js +3 -1
- package/dist/module/business-core-info-schema.js +24 -12
- package/dist/module/business-details-core2.js +8 -3
- package/dist/module/business-form-types.js +8 -1
- package/dist/module/business-identity-schema.js +30 -35
- package/dist/module/business-owners-form-step.js +12 -8
- package/dist/module/business-representative-form-step.js +9 -10
- package/dist/module/business-representative.js +4 -7
- package/dist/module/form-control-text2.js +5 -1
- package/dist/module/gross-payment-chart-core2.js +8 -2
- package/dist/module/helpers.js +4 -0
- package/dist/module/{business-address-form.js → identity-address-form.js} +17 -20
- package/dist/module/justifi-business-details.js +21 -4
- package/dist/module/justifi-business-form.js +65 -56
- package/dist/module/justifi-gross-payment-chart.js +28 -4
- package/dist/module/justifi-identity-address-form.d.ts +11 -0
- package/dist/module/justifi-identity-address-form.js +6 -0
- package/dist/module/justifi-payment-details.js +26 -5
- package/dist/module/justifi-payment-form.js +18 -4
- package/dist/module/justifi-payment-provisioning.js +24 -23
- package/dist/module/justifi-payments-list.js +26 -6
- package/dist/module/justifi-payout-details.js +28 -8
- package/dist/module/justifi-payouts-list.js +27 -7
- package/dist/module/legal-address-form-step.js +8 -11
- package/dist/module/legal-address-form.js +5 -9
- package/dist/module/owner-form.js +22 -12
- package/dist/module/payment-details-core2.js +8 -2
- package/dist/module/payment-method-form.js +1 -1
- package/dist/module/payments-list-core2.js +8 -2
- package/dist/module/payout-details-core2.js +9 -4
- package/dist/module/payouts-list-core2.js +8 -2
- package/dist/module/utils3.js +31 -1
- package/dist/module/utils4.js +7 -1
- package/dist/types/api/ComponentError.d.ts +18 -0
- package/dist/types/api/services/utils.d.ts +2 -0
- package/dist/types/api/shared.d.ts +9 -0
- package/dist/types/components/business-details/business-details-core.d.ts +3 -0
- package/dist/types/components/business-details/business-details.d.ts +3 -0
- package/dist/types/components/business-forms/business-form/business-form.d.ts +4 -2
- package/dist/types/components/business-forms/owner-form/identity-address/identity-address-form.d.ts +10 -0
- package/dist/types/components/business-forms/owner-form/owner-form.d.ts +5 -1
- package/dist/types/components/business-forms/payment-provisioning/additional-questions/business-additional-questions-form-step.d.ts +1 -0
- package/dist/types/components/business-forms/payment-provisioning/business-core-info/business-core-info-form-step.d.ts +1 -0
- package/dist/types/components/business-forms/payment-provisioning/business-owners/business-owners-form-step.d.ts +3 -1
- package/dist/types/components/business-forms/payment-provisioning/business-representative/business-representative-form-step.d.ts +1 -0
- package/dist/types/components/business-forms/payment-provisioning/legal-address-form/legal-address-form-step.d.ts +1 -0
- package/dist/types/components/business-forms/payment-provisioning/payment-provisioning.d.ts +3 -2
- package/dist/types/components/business-forms/schemas/business-additional-questions-schema.d.ts +1 -1
- package/dist/types/components/business-forms/schemas/business-address-schema.d.ts +1 -12
- package/dist/types/components/business-forms/schemas/business-core-info-schema.d.ts +1 -1
- package/dist/types/components/business-forms/schemas/business-form-schema.d.ts +7 -3
- package/dist/types/components/business-forms/schemas/business-identity-schema.d.ts +5 -31
- package/dist/types/components/business-forms/utils/business-form-types.d.ts +10 -0
- package/dist/types/components/business-forms/utils/helpers.d.ts +2 -0
- package/dist/types/components/form/form-control-text.d.ts +2 -0
- package/dist/types/components/form/utils.d.ts +1 -0
- package/dist/types/components/gross-payment-chart/get-gross-payment-chart-data.d.ts +5 -8
- package/dist/types/components/gross-payment-chart/gross-payment-chart-core.d.ts +3 -0
- package/dist/types/components/gross-payment-chart/gross-payment-chart.d.ts +4 -0
- package/dist/types/components/payment-details/payment-details-core.d.ts +3 -0
- package/dist/types/components/payment-details/payment-details.d.ts +4 -0
- package/dist/types/components/payment-form/payment-form.d.ts +4 -1
- package/dist/types/components/payments-list/payments-list-core.d.ts +2 -0
- package/dist/types/components/payments-list/payments-list.d.ts +4 -0
- package/dist/types/components/payout-details/payout-details-core.d.ts +3 -0
- package/dist/types/components/payout-details/payout-details.d.ts +4 -0
- package/dist/types/components/payouts-list/payouts-list-core.d.ts +2 -0
- package/dist/types/components/payouts-list/payouts-list.d.ts +4 -0
- package/dist/types/components.d.ts +217 -43
- package/dist/webcomponents/p-091f9732.entry.js +1 -0
- package/dist/webcomponents/p-0b76c770.entry.js +1 -0
- package/dist/webcomponents/p-0d81883d.entry.js +1 -0
- package/dist/webcomponents/{p-cb8f9cb8.entry.js → p-102b593a.entry.js} +1 -1
- package/dist/webcomponents/p-28cd23c8.entry.js +1 -0
- package/dist/webcomponents/p-2b8368d2.js +1 -0
- package/dist/webcomponents/p-436d27b9.entry.js +1 -0
- package/dist/webcomponents/p-448063ba.entry.js +1 -0
- package/dist/webcomponents/p-5341321d.entry.js +1 -0
- package/dist/webcomponents/p-5b262705.entry.js +1 -0
- package/dist/webcomponents/p-5e503d7d.entry.js +1 -0
- package/dist/webcomponents/p-6047b960.entry.js +1 -0
- package/dist/webcomponents/p-6f294d5d.js +1 -0
- package/dist/webcomponents/p-7294eb89.entry.js +1 -0
- package/dist/webcomponents/p-746bfba6.entry.js +1 -0
- package/dist/webcomponents/p-7c6a355f.entry.js +1 -0
- package/dist/webcomponents/p-935d6f55.js +1 -0
- package/dist/webcomponents/{p-e924f2e1.entry.js → p-959250e3.entry.js} +1 -1
- package/dist/webcomponents/{p-b37d6888.entry.js → p-a130a884.entry.js} +1 -1
- package/dist/webcomponents/p-ac670a3e.js +1 -0
- package/dist/webcomponents/p-ae21ed6f.entry.js +19 -0
- package/dist/webcomponents/p-c071d8c1.entry.js +1 -0
- package/dist/webcomponents/p-c340b60f.js +1 -0
- package/dist/webcomponents/p-d5aab6b5.entry.js +1 -0
- package/dist/webcomponents/p-d5c80489.entry.js +1 -0
- package/dist/webcomponents/p-d776fe10.entry.js +1 -0
- package/dist/webcomponents/p-d8679fad.entry.js +1 -0
- package/dist/webcomponents/p-e84b3616.entry.js +1 -0
- package/dist/webcomponents/p-ea2cca2a.js +1 -0
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/Identity-1c4528b8.js +0 -49
- package/dist/cjs/business-additional-questions-schema-cbac27f2.js +0 -26
- package/dist/cjs/justifi-business-address-form-step.cjs.entry.js +0 -35
- package/dist/cjs/payload-parsers-9e72e80f.js +0 -99
- package/dist/cjs/utils-f5d82f21.js +0 -10
- package/dist/collection/api/mockData/MockOnboardingData.js +0 -117
- package/dist/collection/api/mockData/MockPayments.js +0 -243
- package/dist/collection/api/mockData/MockSubAccount.js +0 -102
- package/dist/collection/api/mockData/mockGrossVolumeReport.js +0 -125
- package/dist/collection/components/business-forms/business-form/business-address/test/business-address.e2e.js +0 -9
- package/dist/collection/components/business-forms/payment-provisioning/business-address/business-address-form-step.css +0 -2536
- package/dist/collection/components/business-forms/payment-provisioning/business-address/business-address-form-step.js +0 -97
- package/dist/collection/components/business-forms/payment-provisioning/business-address/test/business-address-form-step.spec.js +0 -97
- package/dist/collection/components/business-forms/schemas/business-owners-schema.js +0 -16
- package/dist/collection/components/card-form/test/card-form.e2e.js +0 -13
- package/dist/esm/Identity-5f8f916f.js +0 -46
- package/dist/esm/business-additional-questions-schema-2cb80f70.js +0 -23
- package/dist/esm/justifi-business-address-form-step.entry.js +0 -31
- package/dist/esm/payload-parsers-caea809d.js +0 -91
- package/dist/esm/utils-546ca6aa.js +0 -8
- package/dist/module/Identity.js +0 -46
- package/dist/module/justifi-business-address-form-step.d.ts +0 -11
- package/dist/module/justifi-business-address-form-step.js +0 -75
- package/dist/module/justifi-business-address-form.d.ts +0 -11
- package/dist/module/justifi-business-address-form.js +0 -6
- package/dist/types/api/mockData/MockOnboardingData.d.ts +0 -8
- package/dist/types/api/mockData/MockPayments.d.ts +0 -3
- package/dist/types/api/mockData/MockSubAccount.d.ts +0 -3
- package/dist/types/components/business-forms/business-form/business-address/business-address-form.d.ts +0 -9
- package/dist/types/components/business-forms/payment-provisioning/business-address/business-address-form-step.d.ts +0 -9
- package/dist/types/components/business-forms/schemas/business-owners-schema.d.ts +0 -33
- package/dist/webcomponents/p-03b1d0d5.entry.js +0 -1
- package/dist/webcomponents/p-0e189d6a.entry.js +0 -1
- package/dist/webcomponents/p-16dcf053.entry.js +0 -1
- package/dist/webcomponents/p-17d72f4a.js +0 -1
- package/dist/webcomponents/p-38ba2848.entry.js +0 -1
- package/dist/webcomponents/p-41870765.entry.js +0 -1
- package/dist/webcomponents/p-461f42b8.entry.js +0 -1
- package/dist/webcomponents/p-48c2400e.js +0 -1
- package/dist/webcomponents/p-491ca87f.js +0 -1
- package/dist/webcomponents/p-5be4e217.entry.js +0 -1
- package/dist/webcomponents/p-60714f2a.entry.js +0 -1
- package/dist/webcomponents/p-65500b31.entry.js +0 -19
- package/dist/webcomponents/p-6ed680e9.js +0 -1
- package/dist/webcomponents/p-7ec301b5.entry.js +0 -1
- package/dist/webcomponents/p-9207ccb2.entry.js +0 -1
- package/dist/webcomponents/p-9e4b81ad.entry.js +0 -1
- package/dist/webcomponents/p-a141c531.js +0 -1
- package/dist/webcomponents/p-a2dbe90f.entry.js +0 -1
- package/dist/webcomponents/p-a68519e5.entry.js +0 -1
- package/dist/webcomponents/p-af8363a1.entry.js +0 -1
- package/dist/webcomponents/p-b1bc23af.entry.js +0 -1
- package/dist/webcomponents/p-b5a3bf86.entry.js +0 -1
- package/dist/webcomponents/p-b8f22856.js +0 -1
- package/dist/webcomponents/p-d0761829.entry.js +0 -1
- package/dist/webcomponents/p-dbe32e75.entry.js +0 -1
- package/dist/webcomponents/p-e0c1cba8.js +0 -1
- package/dist/webcomponents/p-eed5f4ad.entry.js +0 -1
- package/dist/webcomponents/p-fe8a94c1.entry.js +0 -1
- /package/dist/collection/components/business-forms/{business-form/business-address/business-address-form.css → owner-form/identity-address/identity-address-form.css} +0 -0
- /package/dist/types/{api → home/runner/work/web-component-library/web-component-library/packages/webcomponents/.stencil}/mockData/mockGrossVolumeReport.d.ts +0 -0
- /package/dist/types/home/runner/work/web-component-library/web-component-library/packages/webcomponents/.stencil/{config.d.ts → packages/webcomponents/config.d.ts} +0 -0
|
@@ -6,8 +6,9 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
8
|
import { IAdditionalQuestions, IAddress, IBusiness } from "./api/Business";
|
|
9
|
+
import { ComponentError } from "./api/ComponentError";
|
|
9
10
|
import { FormController } from "./components/form/form";
|
|
10
|
-
import { BusinessFormClickEvent, BusinessFormServerErrorEvent, BusinessFormSubmitEvent, OwnerFormServerErrorEvent, OwnerFormSubmitEvent } from "./components/business-forms/utils/business-form-types";
|
|
11
|
+
import { BusinessFormClickEvent, BusinessFormServerErrorEvent, BusinessFormSubmitEvent, OwnerFormClickEvent, OwnerFormServerErrorEvent, OwnerFormSubmitEvent } from "./components/business-forms/utils/business-form-types";
|
|
11
12
|
import { CreatePaymentMethodResponse } from "./components/payment-method-form/payment-method-responses";
|
|
12
13
|
import { BillingFormFields } from "./components/billing-form/billing-form-schema";
|
|
13
14
|
import { ValidationError } from "yup";
|
|
@@ -21,8 +22,9 @@ import { Identity } from "./api/Identity";
|
|
|
21
22
|
import { PaginationProps } from "./components/pagination-menu/pagination-menu";
|
|
22
23
|
import { IOnboardingData as IOnboardingData1, SubAccountIdentity } from "./components";
|
|
23
24
|
export { IAdditionalQuestions, IAddress, IBusiness } from "./api/Business";
|
|
25
|
+
export { ComponentError } from "./api/ComponentError";
|
|
24
26
|
export { FormController } from "./components/form/form";
|
|
25
|
-
export { BusinessFormClickEvent, BusinessFormServerErrorEvent, BusinessFormSubmitEvent, OwnerFormServerErrorEvent, OwnerFormSubmitEvent } from "./components/business-forms/utils/business-form-types";
|
|
27
|
+
export { BusinessFormClickEvent, BusinessFormServerErrorEvent, BusinessFormSubmitEvent, OwnerFormClickEvent, OwnerFormServerErrorEvent, OwnerFormSubmitEvent } from "./components/business-forms/utils/business-form-types";
|
|
26
28
|
export { CreatePaymentMethodResponse } from "./components/payment-method-form/payment-method-responses";
|
|
27
29
|
export { BillingFormFields } from "./components/billing-form/billing-form-schema";
|
|
28
30
|
export { ValidationError } from "yup";
|
|
@@ -96,7 +98,9 @@ export namespace Components {
|
|
|
96
98
|
"disabled": boolean;
|
|
97
99
|
"error": string;
|
|
98
100
|
"inputHandler": (name: string, value: string) => void;
|
|
101
|
+
"keyDownHandler"?: (event: any) => void;
|
|
99
102
|
"label": string;
|
|
103
|
+
"maxLength"?: number;
|
|
100
104
|
"name": any;
|
|
101
105
|
}
|
|
102
106
|
interface GenericInfoDetails {
|
|
@@ -119,6 +123,7 @@ export namespace Components {
|
|
|
119
123
|
* @exportedPart input-invalid: Invalid state for inputfs
|
|
120
124
|
*/
|
|
121
125
|
interface JustifiAdditionalQuestionsFormStep {
|
|
126
|
+
"allowOptionalFields"?: boolean;
|
|
122
127
|
"authToken": string;
|
|
123
128
|
"businessId": string;
|
|
124
129
|
"validateAndSubmit": ({ onSuccess }: { onSuccess: any; }) => Promise<void>;
|
|
@@ -171,16 +176,6 @@ export namespace Components {
|
|
|
171
176
|
*/
|
|
172
177
|
"validate": () => Promise<{ isValid: boolean; }>;
|
|
173
178
|
}
|
|
174
|
-
interface JustifiBusinessAddressForm {
|
|
175
|
-
"defaultValues": any;
|
|
176
|
-
"errors": any;
|
|
177
|
-
"handleFormUpdate": (values: any) => void;
|
|
178
|
-
}
|
|
179
|
-
interface JustifiBusinessAddressFormStep {
|
|
180
|
-
"defaultValues": any;
|
|
181
|
-
"errors": any;
|
|
182
|
-
"handleFormUpdate": (values: any) => void;
|
|
183
|
-
}
|
|
184
179
|
/**
|
|
185
180
|
* The difference between this component and business-core-info-details
|
|
186
181
|
* is that this component is meant to be a form and send data
|
|
@@ -201,6 +196,7 @@ export namespace Components {
|
|
|
201
196
|
* @exportedPart input-invalid: Invalid state for inputfs
|
|
202
197
|
*/
|
|
203
198
|
interface JustifiBusinessCoreInfoFormStep {
|
|
199
|
+
"allowOptionalFields"?: boolean;
|
|
204
200
|
"authToken": string;
|
|
205
201
|
"businessId": string;
|
|
206
202
|
"validateAndSubmit": ({ onSuccess }: { onSuccess: any; }) => Promise<void>;
|
|
@@ -272,6 +268,7 @@ export namespace Components {
|
|
|
272
268
|
* @exportedPart input-invalid: Invalid state for inputfs
|
|
273
269
|
*/
|
|
274
270
|
interface JustifiBusinessOwnersFormStep {
|
|
271
|
+
"allowOptionalFields"?: boolean;
|
|
275
272
|
"authToken": string;
|
|
276
273
|
"businessId": string;
|
|
277
274
|
"validateAndSubmit": ({ onSuccess }: { onSuccess: any; }) => Promise<void>;
|
|
@@ -280,6 +277,7 @@ export namespace Components {
|
|
|
280
277
|
"formController": FormController;
|
|
281
278
|
}
|
|
282
279
|
interface JustifiBusinessRepresentativeFormStep {
|
|
280
|
+
"allowOptionalFields"?: boolean;
|
|
283
281
|
"authToken": string;
|
|
284
282
|
"businessId": string;
|
|
285
283
|
"validateAndSubmit": ({ onSuccess }: { onSuccess: any; }) => Promise<void>;
|
|
@@ -334,6 +332,11 @@ export namespace Components {
|
|
|
334
332
|
"accountId": string;
|
|
335
333
|
"authToken": string;
|
|
336
334
|
}
|
|
335
|
+
interface JustifiIdentityAddressForm {
|
|
336
|
+
"defaultValues": any;
|
|
337
|
+
"errors": any;
|
|
338
|
+
"handleFormUpdate": (values: any) => void;
|
|
339
|
+
}
|
|
337
340
|
/**
|
|
338
341
|
* @exportedPart label: Label for inputs
|
|
339
342
|
* @exportedPart input: The input fields
|
|
@@ -348,6 +351,7 @@ export namespace Components {
|
|
|
348
351
|
* @exportedPart input-invalid: Invalid state for inputfs
|
|
349
352
|
*/
|
|
350
353
|
interface JustifiLegalAddressFormStep {
|
|
354
|
+
"allowOptionalFields"?: boolean;
|
|
351
355
|
"authToken": string;
|
|
352
356
|
"businessId": string;
|
|
353
357
|
"validateAndSubmit": ({ onSuccess }: { onSuccess: any; }) => Promise<void>;
|
|
@@ -361,6 +365,7 @@ export namespace Components {
|
|
|
361
365
|
"paymentMethodOption": PaymentMethodOption;
|
|
362
366
|
}
|
|
363
367
|
interface JustifiOwnerForm {
|
|
368
|
+
"allowOptionalFields"?: boolean;
|
|
364
369
|
"authToken": string;
|
|
365
370
|
"businessId"?: string;
|
|
366
371
|
"newFormOpen"?: boolean;
|
|
@@ -407,6 +412,7 @@ export namespace Components {
|
|
|
407
412
|
"bankAccount"?: boolean;
|
|
408
413
|
"card"?: boolean;
|
|
409
414
|
"clientId": string;
|
|
415
|
+
"disableSubmitButton": () => Promise<void>;
|
|
410
416
|
"email"?: string;
|
|
411
417
|
"enableSubmitButton": () => Promise<void>;
|
|
412
418
|
"fillBillingForm": (fields: BillingFormFields) => Promise<void>;
|
|
@@ -444,6 +450,7 @@ export namespace Components {
|
|
|
444
450
|
* @exportedPart input-invalid: Invalid state for inputfs
|
|
445
451
|
*/
|
|
446
452
|
interface JustifiPaymentProvisioning {
|
|
453
|
+
"allowOptionalFields"?: boolean;
|
|
447
454
|
"authToken": string;
|
|
448
455
|
"businessId": string;
|
|
449
456
|
"hideErrors"?: boolean;
|
|
@@ -638,6 +645,10 @@ export namespace Components {
|
|
|
638
645
|
"name": string;
|
|
639
646
|
}
|
|
640
647
|
}
|
|
648
|
+
export interface BusinessDetailsCoreCustomEvent<T> extends CustomEvent<T> {
|
|
649
|
+
detail: T;
|
|
650
|
+
target: HTMLBusinessDetailsCoreElement;
|
|
651
|
+
}
|
|
641
652
|
export interface FormControlDatepartCustomEvent<T> extends CustomEvent<T> {
|
|
642
653
|
detail: T;
|
|
643
654
|
target: HTMLFormControlDatepartElement;
|
|
@@ -662,6 +673,10 @@ export interface FormControlTextCustomEvent<T> extends CustomEvent<T> {
|
|
|
662
673
|
detail: T;
|
|
663
674
|
target: HTMLFormControlTextElement;
|
|
664
675
|
}
|
|
676
|
+
export interface GrossPaymentChartCoreCustomEvent<T> extends CustomEvent<T> {
|
|
677
|
+
detail: T;
|
|
678
|
+
target: HTMLGrossPaymentChartCoreElement;
|
|
679
|
+
}
|
|
665
680
|
export interface JustifiAdditionalQuestionsFormStepCustomEvent<T> extends CustomEvent<T> {
|
|
666
681
|
detail: T;
|
|
667
682
|
target: HTMLJustifiAdditionalQuestionsFormStepElement;
|
|
@@ -674,6 +689,10 @@ export interface JustifiBusinessCoreInfoFormStepCustomEvent<T> extends CustomEve
|
|
|
674
689
|
detail: T;
|
|
675
690
|
target: HTMLJustifiBusinessCoreInfoFormStepElement;
|
|
676
691
|
}
|
|
692
|
+
export interface JustifiBusinessDetailsCustomEvent<T> extends CustomEvent<T> {
|
|
693
|
+
detail: T;
|
|
694
|
+
target: HTMLJustifiBusinessDetailsElement;
|
|
695
|
+
}
|
|
677
696
|
export interface JustifiBusinessFormCustomEvent<T> extends CustomEvent<T> {
|
|
678
697
|
detail: T;
|
|
679
698
|
target: HTMLJustifiBusinessFormElement;
|
|
@@ -694,6 +713,10 @@ export interface JustifiCheckoutCoreCustomEvent<T> extends CustomEvent<T> {
|
|
|
694
713
|
detail: T;
|
|
695
714
|
target: HTMLJustifiCheckoutCoreElement;
|
|
696
715
|
}
|
|
716
|
+
export interface JustifiGrossPaymentChartCustomEvent<T> extends CustomEvent<T> {
|
|
717
|
+
detail: T;
|
|
718
|
+
target: HTMLJustifiGrossPaymentChartElement;
|
|
719
|
+
}
|
|
697
720
|
export interface JustifiLegalAddressFormStepCustomEvent<T> extends CustomEvent<T> {
|
|
698
721
|
detail: T;
|
|
699
722
|
target: HTMLJustifiLegalAddressFormStepElement;
|
|
@@ -706,6 +729,10 @@ export interface JustifiOwnerFormCustomEvent<T> extends CustomEvent<T> {
|
|
|
706
729
|
detail: T;
|
|
707
730
|
target: HTMLJustifiOwnerFormElement;
|
|
708
731
|
}
|
|
732
|
+
export interface JustifiPaymentDetailsCustomEvent<T> extends CustomEvent<T> {
|
|
733
|
+
detail: T;
|
|
734
|
+
target: HTMLJustifiPaymentDetailsElement;
|
|
735
|
+
}
|
|
709
736
|
export interface JustifiPaymentFormCustomEvent<T> extends CustomEvent<T> {
|
|
710
737
|
detail: T;
|
|
711
738
|
target: HTMLJustifiPaymentFormElement;
|
|
@@ -726,6 +753,18 @@ export interface JustifiPaymentProvisioningCustomEvent<T> extends CustomEvent<T>
|
|
|
726
753
|
detail: T;
|
|
727
754
|
target: HTMLJustifiPaymentProvisioningElement;
|
|
728
755
|
}
|
|
756
|
+
export interface JustifiPaymentsListCustomEvent<T> extends CustomEvent<T> {
|
|
757
|
+
detail: T;
|
|
758
|
+
target: HTMLJustifiPaymentsListElement;
|
|
759
|
+
}
|
|
760
|
+
export interface JustifiPayoutDetailsCustomEvent<T> extends CustomEvent<T> {
|
|
761
|
+
detail: T;
|
|
762
|
+
target: HTMLJustifiPayoutDetailsElement;
|
|
763
|
+
}
|
|
764
|
+
export interface JustifiPayoutsListCustomEvent<T> extends CustomEvent<T> {
|
|
765
|
+
detail: T;
|
|
766
|
+
target: HTMLJustifiPayoutsListElement;
|
|
767
|
+
}
|
|
729
768
|
export interface JustifiProceedsListCustomEvent<T> extends CustomEvent<T> {
|
|
730
769
|
detail: T;
|
|
731
770
|
target: HTMLJustifiProceedsListElement;
|
|
@@ -742,10 +781,18 @@ export interface JustifiSubaccountsListCustomEvent<T> extends CustomEvent<T> {
|
|
|
742
781
|
detail: T;
|
|
743
782
|
target: HTMLJustifiSubaccountsListElement;
|
|
744
783
|
}
|
|
784
|
+
export interface PaymentDetailsCoreCustomEvent<T> extends CustomEvent<T> {
|
|
785
|
+
detail: T;
|
|
786
|
+
target: HTMLPaymentDetailsCoreElement;
|
|
787
|
+
}
|
|
745
788
|
export interface PaymentsListCoreCustomEvent<T> extends CustomEvent<T> {
|
|
746
789
|
detail: T;
|
|
747
790
|
target: HTMLPaymentsListCoreElement;
|
|
748
791
|
}
|
|
792
|
+
export interface PayoutDetailsCoreCustomEvent<T> extends CustomEvent<T> {
|
|
793
|
+
detail: T;
|
|
794
|
+
target: HTMLPayoutDetailsCoreElement;
|
|
795
|
+
}
|
|
749
796
|
export interface PayoutsListCoreCustomEvent<T> extends CustomEvent<T> {
|
|
750
797
|
detail: T;
|
|
751
798
|
target: HTMLPayoutsListCoreElement;
|
|
@@ -772,7 +819,18 @@ declare global {
|
|
|
772
819
|
prototype: HTMLAdditionalQuestionsDetailsElement;
|
|
773
820
|
new (): HTMLAdditionalQuestionsDetailsElement;
|
|
774
821
|
};
|
|
822
|
+
interface HTMLBusinessDetailsCoreElementEventMap {
|
|
823
|
+
"error-event": ComponentError;
|
|
824
|
+
}
|
|
775
825
|
interface HTMLBusinessDetailsCoreElement extends Components.BusinessDetailsCore, HTMLStencilElement {
|
|
826
|
+
addEventListener<K extends keyof HTMLBusinessDetailsCoreElementEventMap>(type: K, listener: (this: HTMLBusinessDetailsCoreElement, ev: BusinessDetailsCoreCustomEvent<HTMLBusinessDetailsCoreElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
827
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
828
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
829
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
830
|
+
removeEventListener<K extends keyof HTMLBusinessDetailsCoreElementEventMap>(type: K, listener: (this: HTMLBusinessDetailsCoreElement, ev: BusinessDetailsCoreCustomEvent<HTMLBusinessDetailsCoreElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
831
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
832
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
833
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
776
834
|
}
|
|
777
835
|
var HTMLBusinessDetailsCoreElement: {
|
|
778
836
|
prototype: HTMLBusinessDetailsCoreElement;
|
|
@@ -892,7 +950,18 @@ declare global {
|
|
|
892
950
|
prototype: HTMLGenericInfoDetailsElement;
|
|
893
951
|
new (): HTMLGenericInfoDetailsElement;
|
|
894
952
|
};
|
|
953
|
+
interface HTMLGrossPaymentChartCoreElementEventMap {
|
|
954
|
+
"error-event": ComponentError;
|
|
955
|
+
}
|
|
895
956
|
interface HTMLGrossPaymentChartCoreElement extends Components.GrossPaymentChartCore, HTMLStencilElement {
|
|
957
|
+
addEventListener<K extends keyof HTMLGrossPaymentChartCoreElementEventMap>(type: K, listener: (this: HTMLGrossPaymentChartCoreElement, ev: GrossPaymentChartCoreCustomEvent<HTMLGrossPaymentChartCoreElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
958
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
959
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
960
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
961
|
+
removeEventListener<K extends keyof HTMLGrossPaymentChartCoreElementEventMap>(type: K, listener: (this: HTMLGrossPaymentChartCoreElement, ev: GrossPaymentChartCoreCustomEvent<HTMLGrossPaymentChartCoreElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
962
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
963
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
964
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
896
965
|
}
|
|
897
966
|
var HTMLGrossPaymentChartCoreElement: {
|
|
898
967
|
prototype: HTMLGrossPaymentChartCoreElement;
|
|
@@ -964,18 +1033,6 @@ declare global {
|
|
|
964
1033
|
prototype: HTMLJustifiBillingFormElement;
|
|
965
1034
|
new (): HTMLJustifiBillingFormElement;
|
|
966
1035
|
};
|
|
967
|
-
interface HTMLJustifiBusinessAddressFormElement extends Components.JustifiBusinessAddressForm, HTMLStencilElement {
|
|
968
|
-
}
|
|
969
|
-
var HTMLJustifiBusinessAddressFormElement: {
|
|
970
|
-
prototype: HTMLJustifiBusinessAddressFormElement;
|
|
971
|
-
new (): HTMLJustifiBusinessAddressFormElement;
|
|
972
|
-
};
|
|
973
|
-
interface HTMLJustifiBusinessAddressFormStepElement extends Components.JustifiBusinessAddressFormStep, HTMLStencilElement {
|
|
974
|
-
}
|
|
975
|
-
var HTMLJustifiBusinessAddressFormStepElement: {
|
|
976
|
-
prototype: HTMLJustifiBusinessAddressFormStepElement;
|
|
977
|
-
new (): HTMLJustifiBusinessAddressFormStepElement;
|
|
978
|
-
};
|
|
979
1036
|
/**
|
|
980
1037
|
* The difference between this component and business-core-info-details
|
|
981
1038
|
* is that this component is meant to be a form and send data
|
|
@@ -1017,6 +1074,9 @@ declare global {
|
|
|
1017
1074
|
prototype: HTMLJustifiBusinessCoreInfoFormStepElement;
|
|
1018
1075
|
new (): HTMLJustifiBusinessCoreInfoFormStepElement;
|
|
1019
1076
|
};
|
|
1077
|
+
interface HTMLJustifiBusinessDetailsElementEventMap {
|
|
1078
|
+
"error-event": ComponentError;
|
|
1079
|
+
}
|
|
1020
1080
|
/**
|
|
1021
1081
|
* @exportedPart detail-section
|
|
1022
1082
|
* @exportedPart detail-section-title
|
|
@@ -1025,14 +1085,23 @@ declare global {
|
|
|
1025
1085
|
* @exportedPart detail-empty-state
|
|
1026
1086
|
*/
|
|
1027
1087
|
interface HTMLJustifiBusinessDetailsElement extends Components.JustifiBusinessDetails, HTMLStencilElement {
|
|
1088
|
+
addEventListener<K extends keyof HTMLJustifiBusinessDetailsElementEventMap>(type: K, listener: (this: HTMLJustifiBusinessDetailsElement, ev: JustifiBusinessDetailsCustomEvent<HTMLJustifiBusinessDetailsElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1089
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1090
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1091
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1092
|
+
removeEventListener<K extends keyof HTMLJustifiBusinessDetailsElementEventMap>(type: K, listener: (this: HTMLJustifiBusinessDetailsElement, ev: JustifiBusinessDetailsCustomEvent<HTMLJustifiBusinessDetailsElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1093
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1094
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1095
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1028
1096
|
}
|
|
1029
1097
|
var HTMLJustifiBusinessDetailsElement: {
|
|
1030
1098
|
prototype: HTMLJustifiBusinessDetailsElement;
|
|
1031
1099
|
new (): HTMLJustifiBusinessDetailsElement;
|
|
1032
1100
|
};
|
|
1033
1101
|
interface HTMLJustifiBusinessFormElementEventMap {
|
|
1034
|
-
"clickEvent": BusinessFormClickEvent;
|
|
1035
1102
|
"submitted": BusinessFormSubmitEvent;
|
|
1103
|
+
"click-event": BusinessFormClickEvent;
|
|
1104
|
+
"clickEvent": BusinessFormClickEvent;
|
|
1036
1105
|
}
|
|
1037
1106
|
/**
|
|
1038
1107
|
* @exportedPart label: Label for inputs
|
|
@@ -1089,6 +1158,7 @@ declare global {
|
|
|
1089
1158
|
};
|
|
1090
1159
|
interface HTMLJustifiBusinessOwnersFormStepElementEventMap {
|
|
1091
1160
|
"submitted": BusinessFormSubmitEvent;
|
|
1161
|
+
"click-event": OwnerFormClickEvent;
|
|
1092
1162
|
"formLoading": boolean;
|
|
1093
1163
|
"serverError": BusinessFormServerErrorEvent;
|
|
1094
1164
|
}
|
|
@@ -1185,12 +1255,29 @@ declare global {
|
|
|
1185
1255
|
prototype: HTMLJustifiDetailsElement;
|
|
1186
1256
|
new (): HTMLJustifiDetailsElement;
|
|
1187
1257
|
};
|
|
1258
|
+
interface HTMLJustifiGrossPaymentChartElementEventMap {
|
|
1259
|
+
"error-event": ComponentError;
|
|
1260
|
+
}
|
|
1188
1261
|
interface HTMLJustifiGrossPaymentChartElement extends Components.JustifiGrossPaymentChart, HTMLStencilElement {
|
|
1262
|
+
addEventListener<K extends keyof HTMLJustifiGrossPaymentChartElementEventMap>(type: K, listener: (this: HTMLJustifiGrossPaymentChartElement, ev: JustifiGrossPaymentChartCustomEvent<HTMLJustifiGrossPaymentChartElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1263
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1264
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1265
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1266
|
+
removeEventListener<K extends keyof HTMLJustifiGrossPaymentChartElementEventMap>(type: K, listener: (this: HTMLJustifiGrossPaymentChartElement, ev: JustifiGrossPaymentChartCustomEvent<HTMLJustifiGrossPaymentChartElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1267
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1268
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1269
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1189
1270
|
}
|
|
1190
1271
|
var HTMLJustifiGrossPaymentChartElement: {
|
|
1191
1272
|
prototype: HTMLJustifiGrossPaymentChartElement;
|
|
1192
1273
|
new (): HTMLJustifiGrossPaymentChartElement;
|
|
1193
1274
|
};
|
|
1275
|
+
interface HTMLJustifiIdentityAddressFormElement extends Components.JustifiIdentityAddressForm, HTMLStencilElement {
|
|
1276
|
+
}
|
|
1277
|
+
var HTMLJustifiIdentityAddressFormElement: {
|
|
1278
|
+
prototype: HTMLJustifiIdentityAddressFormElement;
|
|
1279
|
+
new (): HTMLJustifiIdentityAddressFormElement;
|
|
1280
|
+
};
|
|
1194
1281
|
/**
|
|
1195
1282
|
* @exportedPart label: Label for inputs
|
|
1196
1283
|
* @exportedPart input: The input fields
|
|
@@ -1245,6 +1332,7 @@ declare global {
|
|
|
1245
1332
|
};
|
|
1246
1333
|
interface HTMLJustifiOwnerFormElementEventMap {
|
|
1247
1334
|
"submitted": OwnerFormSubmitEvent;
|
|
1335
|
+
"click-event": OwnerFormClickEvent;
|
|
1248
1336
|
"formLoading": boolean;
|
|
1249
1337
|
"serverError": OwnerFormServerErrorEvent;
|
|
1250
1338
|
}
|
|
@@ -1268,6 +1356,9 @@ declare global {
|
|
|
1268
1356
|
prototype: HTMLJustifiPaymentBalanceTransactionsElement;
|
|
1269
1357
|
new (): HTMLJustifiPaymentBalanceTransactionsElement;
|
|
1270
1358
|
};
|
|
1359
|
+
interface HTMLJustifiPaymentDetailsElementEventMap {
|
|
1360
|
+
"error-event": ComponentError;
|
|
1361
|
+
}
|
|
1271
1362
|
/**
|
|
1272
1363
|
* @exportedPart detail-loading-spinner
|
|
1273
1364
|
* @exportedPart detail-loading-state
|
|
@@ -1292,6 +1383,14 @@ declare global {
|
|
|
1292
1383
|
* @exportedPart detail-head-info-item-data
|
|
1293
1384
|
*/
|
|
1294
1385
|
interface HTMLJustifiPaymentDetailsElement extends Components.JustifiPaymentDetails, HTMLStencilElement {
|
|
1386
|
+
addEventListener<K extends keyof HTMLJustifiPaymentDetailsElementEventMap>(type: K, listener: (this: HTMLJustifiPaymentDetailsElement, ev: JustifiPaymentDetailsCustomEvent<HTMLJustifiPaymentDetailsElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1387
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1388
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1389
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1390
|
+
removeEventListener<K extends keyof HTMLJustifiPaymentDetailsElementEventMap>(type: K, listener: (this: HTMLJustifiPaymentDetailsElement, ev: JustifiPaymentDetailsCustomEvent<HTMLJustifiPaymentDetailsElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1391
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1392
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1393
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1295
1394
|
}
|
|
1296
1395
|
var HTMLJustifiPaymentDetailsElement: {
|
|
1297
1396
|
prototype: HTMLJustifiPaymentDetailsElement;
|
|
@@ -1299,6 +1398,7 @@ declare global {
|
|
|
1299
1398
|
};
|
|
1300
1399
|
interface HTMLJustifiPaymentFormElementEventMap {
|
|
1301
1400
|
"submitted": CreatePaymentMethodResponse;
|
|
1401
|
+
"error-event": ComponentError;
|
|
1302
1402
|
}
|
|
1303
1403
|
interface HTMLJustifiPaymentFormElement extends Components.JustifiPaymentForm, HTMLStencilElement {
|
|
1304
1404
|
addEventListener<K extends keyof HTMLJustifiPaymentFormElementEventMap>(type: K, listener: (this: HTMLJustifiPaymentFormElement, ev: JustifiPaymentFormCustomEvent<HTMLJustifiPaymentFormElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -1368,7 +1468,7 @@ declare global {
|
|
|
1368
1468
|
new (): HTMLJustifiPaymentMethodSelectorElement;
|
|
1369
1469
|
};
|
|
1370
1470
|
interface HTMLJustifiPaymentProvisioningElementEventMap {
|
|
1371
|
-
"
|
|
1471
|
+
"click-event": BusinessFormClickEvent;
|
|
1372
1472
|
}
|
|
1373
1473
|
/**
|
|
1374
1474
|
* @exportedPart label: Label for inputs
|
|
@@ -1389,6 +1489,9 @@ declare global {
|
|
|
1389
1489
|
prototype: HTMLJustifiPaymentProvisioningElement;
|
|
1390
1490
|
new (): HTMLJustifiPaymentProvisioningElement;
|
|
1391
1491
|
};
|
|
1492
|
+
interface HTMLJustifiPaymentsListElementEventMap {
|
|
1493
|
+
"error-event": ComponentError;
|
|
1494
|
+
}
|
|
1392
1495
|
/**
|
|
1393
1496
|
* @exportedPart table-head: Table head
|
|
1394
1497
|
* @exportedPart table-head-row: Head row
|
|
@@ -1409,17 +1512,39 @@ declare global {
|
|
|
1409
1512
|
* @exportedPart next-button-text: Text for Next button
|
|
1410
1513
|
*/
|
|
1411
1514
|
interface HTMLJustifiPaymentsListElement extends Components.JustifiPaymentsList, HTMLStencilElement {
|
|
1515
|
+
addEventListener<K extends keyof HTMLJustifiPaymentsListElementEventMap>(type: K, listener: (this: HTMLJustifiPaymentsListElement, ev: JustifiPaymentsListCustomEvent<HTMLJustifiPaymentsListElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1516
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1517
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1518
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1519
|
+
removeEventListener<K extends keyof HTMLJustifiPaymentsListElementEventMap>(type: K, listener: (this: HTMLJustifiPaymentsListElement, ev: JustifiPaymentsListCustomEvent<HTMLJustifiPaymentsListElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1520
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1521
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1522
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1412
1523
|
}
|
|
1413
1524
|
var HTMLJustifiPaymentsListElement: {
|
|
1414
1525
|
prototype: HTMLJustifiPaymentsListElement;
|
|
1415
1526
|
new (): HTMLJustifiPaymentsListElement;
|
|
1416
1527
|
};
|
|
1528
|
+
interface HTMLJustifiPayoutDetailsElementEventMap {
|
|
1529
|
+
"error-event": ComponentError;
|
|
1530
|
+
}
|
|
1417
1531
|
interface HTMLJustifiPayoutDetailsElement extends Components.JustifiPayoutDetails, HTMLStencilElement {
|
|
1532
|
+
addEventListener<K extends keyof HTMLJustifiPayoutDetailsElementEventMap>(type: K, listener: (this: HTMLJustifiPayoutDetailsElement, ev: JustifiPayoutDetailsCustomEvent<HTMLJustifiPayoutDetailsElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1533
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1534
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1535
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1536
|
+
removeEventListener<K extends keyof HTMLJustifiPayoutDetailsElementEventMap>(type: K, listener: (this: HTMLJustifiPayoutDetailsElement, ev: JustifiPayoutDetailsCustomEvent<HTMLJustifiPayoutDetailsElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1537
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1538
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1539
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1418
1540
|
}
|
|
1419
1541
|
var HTMLJustifiPayoutDetailsElement: {
|
|
1420
1542
|
prototype: HTMLJustifiPayoutDetailsElement;
|
|
1421
1543
|
new (): HTMLJustifiPayoutDetailsElement;
|
|
1422
1544
|
};
|
|
1545
|
+
interface HTMLJustifiPayoutsListElementEventMap {
|
|
1546
|
+
"error-event": ComponentError;
|
|
1547
|
+
}
|
|
1423
1548
|
/**
|
|
1424
1549
|
* @exportedPart table-head: Table head
|
|
1425
1550
|
* @exportedPart table-head-row: Head row
|
|
@@ -1440,6 +1565,14 @@ declare global {
|
|
|
1440
1565
|
* @exportedPart next-button-text: Text for Next button
|
|
1441
1566
|
*/
|
|
1442
1567
|
interface HTMLJustifiPayoutsListElement extends Components.JustifiPayoutsList, HTMLStencilElement {
|
|
1568
|
+
addEventListener<K extends keyof HTMLJustifiPayoutsListElementEventMap>(type: K, listener: (this: HTMLJustifiPayoutsListElement, ev: JustifiPayoutsListCustomEvent<HTMLJustifiPayoutsListElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1569
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1570
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1571
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1572
|
+
removeEventListener<K extends keyof HTMLJustifiPayoutsListElementEventMap>(type: K, listener: (this: HTMLJustifiPayoutsListElement, ev: JustifiPayoutsListCustomEvent<HTMLJustifiPayoutsListElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1573
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1574
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1575
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1443
1576
|
}
|
|
1444
1577
|
var HTMLJustifiPayoutsListElement: {
|
|
1445
1578
|
prototype: HTMLJustifiPayoutsListElement;
|
|
@@ -1562,7 +1695,18 @@ declare global {
|
|
|
1562
1695
|
prototype: HTMLPaginationMenuElement;
|
|
1563
1696
|
new (): HTMLPaginationMenuElement;
|
|
1564
1697
|
};
|
|
1698
|
+
interface HTMLPaymentDetailsCoreElementEventMap {
|
|
1699
|
+
"error-event": ComponentError;
|
|
1700
|
+
}
|
|
1565
1701
|
interface HTMLPaymentDetailsCoreElement extends Components.PaymentDetailsCore, HTMLStencilElement {
|
|
1702
|
+
addEventListener<K extends keyof HTMLPaymentDetailsCoreElementEventMap>(type: K, listener: (this: HTMLPaymentDetailsCoreElement, ev: PaymentDetailsCoreCustomEvent<HTMLPaymentDetailsCoreElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1703
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1704
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1705
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1706
|
+
removeEventListener<K extends keyof HTMLPaymentDetailsCoreElementEventMap>(type: K, listener: (this: HTMLPaymentDetailsCoreElement, ev: PaymentDetailsCoreCustomEvent<HTMLPaymentDetailsCoreElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1707
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1708
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1709
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1566
1710
|
}
|
|
1567
1711
|
var HTMLPaymentDetailsCoreElement: {
|
|
1568
1712
|
prototype: HTMLPaymentDetailsCoreElement;
|
|
@@ -1570,6 +1714,7 @@ declare global {
|
|
|
1570
1714
|
};
|
|
1571
1715
|
interface HTMLPaymentsListCoreElementEventMap {
|
|
1572
1716
|
"payment-row-clicked": Payment;
|
|
1717
|
+
"error-event": ComponentError;
|
|
1573
1718
|
}
|
|
1574
1719
|
interface HTMLPaymentsListCoreElement extends Components.PaymentsListCore, HTMLStencilElement {
|
|
1575
1720
|
addEventListener<K extends keyof HTMLPaymentsListCoreElementEventMap>(type: K, listener: (this: HTMLPaymentsListCoreElement, ev: PaymentsListCoreCustomEvent<HTMLPaymentsListCoreElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -1585,7 +1730,18 @@ declare global {
|
|
|
1585
1730
|
prototype: HTMLPaymentsListCoreElement;
|
|
1586
1731
|
new (): HTMLPaymentsListCoreElement;
|
|
1587
1732
|
};
|
|
1733
|
+
interface HTMLPayoutDetailsCoreElementEventMap {
|
|
1734
|
+
"error-event": ComponentError;
|
|
1735
|
+
}
|
|
1588
1736
|
interface HTMLPayoutDetailsCoreElement extends Components.PayoutDetailsCore, HTMLStencilElement {
|
|
1737
|
+
addEventListener<K extends keyof HTMLPayoutDetailsCoreElementEventMap>(type: K, listener: (this: HTMLPayoutDetailsCoreElement, ev: PayoutDetailsCoreCustomEvent<HTMLPayoutDetailsCoreElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1738
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1739
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1740
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1741
|
+
removeEventListener<K extends keyof HTMLPayoutDetailsCoreElementEventMap>(type: K, listener: (this: HTMLPayoutDetailsCoreElement, ev: PayoutDetailsCoreCustomEvent<HTMLPayoutDetailsCoreElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1742
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1743
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1744
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1589
1745
|
}
|
|
1590
1746
|
var HTMLPayoutDetailsCoreElement: {
|
|
1591
1747
|
prototype: HTMLPayoutDetailsCoreElement;
|
|
@@ -1593,6 +1749,7 @@ declare global {
|
|
|
1593
1749
|
};
|
|
1594
1750
|
interface HTMLPayoutsListCoreElementEventMap {
|
|
1595
1751
|
"payout-row-clicked": Payout;
|
|
1752
|
+
"error-event": ComponentError;
|
|
1596
1753
|
}
|
|
1597
1754
|
interface HTMLPayoutsListCoreElement extends Components.PayoutsListCore, HTMLStencilElement {
|
|
1598
1755
|
addEventListener<K extends keyof HTMLPayoutsListCoreElementEventMap>(type: K, listener: (this: HTMLPayoutsListCoreElement, ev: PayoutsListCoreCustomEvent<HTMLPayoutsListCoreElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -1706,8 +1863,6 @@ declare global {
|
|
|
1706
1863
|
"justifi-additional-questions-form-step": HTMLJustifiAdditionalQuestionsFormStepElement;
|
|
1707
1864
|
"justifi-bank-account-form": HTMLJustifiBankAccountFormElement;
|
|
1708
1865
|
"justifi-billing-form": HTMLJustifiBillingFormElement;
|
|
1709
|
-
"justifi-business-address-form": HTMLJustifiBusinessAddressFormElement;
|
|
1710
|
-
"justifi-business-address-form-step": HTMLJustifiBusinessAddressFormStepElement;
|
|
1711
1866
|
"justifi-business-core-info": HTMLJustifiBusinessCoreInfoElement;
|
|
1712
1867
|
"justifi-business-core-info-form-step": HTMLJustifiBusinessCoreInfoFormStepElement;
|
|
1713
1868
|
"justifi-business-details": HTMLJustifiBusinessDetailsElement;
|
|
@@ -1722,6 +1877,7 @@ declare global {
|
|
|
1722
1877
|
"justifi-checkout-core": HTMLJustifiCheckoutCoreElement;
|
|
1723
1878
|
"justifi-details": HTMLJustifiDetailsElement;
|
|
1724
1879
|
"justifi-gross-payment-chart": HTMLJustifiGrossPaymentChartElement;
|
|
1880
|
+
"justifi-identity-address-form": HTMLJustifiIdentityAddressFormElement;
|
|
1725
1881
|
"justifi-legal-address-form": HTMLJustifiLegalAddressFormElement;
|
|
1726
1882
|
"justifi-legal-address-form-step": HTMLJustifiLegalAddressFormStepElement;
|
|
1727
1883
|
"justifi-new-payment-method": HTMLJustifiNewPaymentMethodElement;
|
|
@@ -1773,6 +1929,7 @@ declare namespace LocalJSX {
|
|
|
1773
1929
|
}
|
|
1774
1930
|
interface BusinessDetailsCore {
|
|
1775
1931
|
"getBusiness"?: Function;
|
|
1932
|
+
"onError-event"?: (event: BusinessDetailsCoreCustomEvent<ComponentError>) => void;
|
|
1776
1933
|
}
|
|
1777
1934
|
interface FormControlDatepart {
|
|
1778
1935
|
"defaultValue"?: string;
|
|
@@ -1831,7 +1988,9 @@ declare namespace LocalJSX {
|
|
|
1831
1988
|
"disabled"?: boolean;
|
|
1832
1989
|
"error"?: string;
|
|
1833
1990
|
"inputHandler"?: (name: string, value: string) => void;
|
|
1991
|
+
"keyDownHandler"?: (event: any) => void;
|
|
1834
1992
|
"label"?: string;
|
|
1993
|
+
"maxLength"?: number;
|
|
1835
1994
|
"name"?: any;
|
|
1836
1995
|
"onFormControlBlur"?: (event: FormControlTextCustomEvent<any>) => void;
|
|
1837
1996
|
"onFormControlInput"?: (event: FormControlTextCustomEvent<any>) => void;
|
|
@@ -1841,6 +2000,7 @@ declare namespace LocalJSX {
|
|
|
1841
2000
|
}
|
|
1842
2001
|
interface GrossPaymentChartCore {
|
|
1843
2002
|
"getGrossPayment"?: Function;
|
|
2003
|
+
"onError-event"?: (event: GrossPaymentChartCoreCustomEvent<ComponentError>) => void;
|
|
1844
2004
|
}
|
|
1845
2005
|
/**
|
|
1846
2006
|
* @exportedPart label: Label for inputs
|
|
@@ -1856,6 +2016,7 @@ declare namespace LocalJSX {
|
|
|
1856
2016
|
* @exportedPart input-invalid: Invalid state for inputfs
|
|
1857
2017
|
*/
|
|
1858
2018
|
interface JustifiAdditionalQuestionsFormStep {
|
|
2019
|
+
"allowOptionalFields"?: boolean;
|
|
1859
2020
|
"authToken"?: string;
|
|
1860
2021
|
"businessId"?: string;
|
|
1861
2022
|
"onFormLoading"?: (event: JustifiAdditionalQuestionsFormStepCustomEvent<boolean>) => void;
|
|
@@ -1903,16 +2064,6 @@ declare namespace LocalJSX {
|
|
|
1903
2064
|
*/
|
|
1904
2065
|
"legend"?: string;
|
|
1905
2066
|
}
|
|
1906
|
-
interface JustifiBusinessAddressForm {
|
|
1907
|
-
"defaultValues"?: any;
|
|
1908
|
-
"errors"?: any;
|
|
1909
|
-
"handleFormUpdate"?: (values: any) => void;
|
|
1910
|
-
}
|
|
1911
|
-
interface JustifiBusinessAddressFormStep {
|
|
1912
|
-
"defaultValues"?: any;
|
|
1913
|
-
"errors"?: any;
|
|
1914
|
-
"handleFormUpdate"?: (values: any) => void;
|
|
1915
|
-
}
|
|
1916
2067
|
/**
|
|
1917
2068
|
* The difference between this component and business-core-info-details
|
|
1918
2069
|
* is that this component is meant to be a form and send data
|
|
@@ -1933,6 +2084,7 @@ declare namespace LocalJSX {
|
|
|
1933
2084
|
* @exportedPart input-invalid: Invalid state for inputfs
|
|
1934
2085
|
*/
|
|
1935
2086
|
interface JustifiBusinessCoreInfoFormStep {
|
|
2087
|
+
"allowOptionalFields"?: boolean;
|
|
1936
2088
|
"authToken"?: string;
|
|
1937
2089
|
"businessId"?: string;
|
|
1938
2090
|
"onFormLoading"?: (event: JustifiBusinessCoreInfoFormStepCustomEvent<boolean>) => void;
|
|
@@ -1949,6 +2101,7 @@ declare namespace LocalJSX {
|
|
|
1949
2101
|
interface JustifiBusinessDetails {
|
|
1950
2102
|
"authToken"?: string;
|
|
1951
2103
|
"businessId"?: string;
|
|
2104
|
+
"onError-event"?: (event: JustifiBusinessDetailsCustomEvent<ComponentError>) => void;
|
|
1952
2105
|
}
|
|
1953
2106
|
/**
|
|
1954
2107
|
* @exportedPart label: Label for inputs
|
|
@@ -1959,6 +2112,7 @@ declare namespace LocalJSX {
|
|
|
1959
2112
|
"authToken"?: string;
|
|
1960
2113
|
"businessId"?: string;
|
|
1961
2114
|
"hideErrors"?: boolean;
|
|
2115
|
+
"onClick-event"?: (event: JustifiBusinessFormCustomEvent<BusinessFormClickEvent>) => void;
|
|
1962
2116
|
"onClickEvent"?: (event: JustifiBusinessFormCustomEvent<BusinessFormClickEvent>) => void;
|
|
1963
2117
|
"onSubmitted"?: (event: JustifiBusinessFormCustomEvent<BusinessFormSubmitEvent>) => void;
|
|
1964
2118
|
}
|
|
@@ -2008,8 +2162,10 @@ declare namespace LocalJSX {
|
|
|
2008
2162
|
* @exportedPart input-invalid: Invalid state for inputfs
|
|
2009
2163
|
*/
|
|
2010
2164
|
interface JustifiBusinessOwnersFormStep {
|
|
2165
|
+
"allowOptionalFields"?: boolean;
|
|
2011
2166
|
"authToken"?: string;
|
|
2012
2167
|
"businessId"?: string;
|
|
2168
|
+
"onClick-event"?: (event: JustifiBusinessOwnersFormStepCustomEvent<OwnerFormClickEvent>) => void;
|
|
2013
2169
|
"onFormLoading"?: (event: JustifiBusinessOwnersFormStepCustomEvent<boolean>) => void;
|
|
2014
2170
|
"onServerError"?: (event: JustifiBusinessOwnersFormStepCustomEvent<BusinessFormServerErrorEvent>) => void;
|
|
2015
2171
|
"onSubmitted"?: (event: JustifiBusinessOwnersFormStepCustomEvent<BusinessFormSubmitEvent>) => void;
|
|
@@ -2018,6 +2174,7 @@ declare namespace LocalJSX {
|
|
|
2018
2174
|
"formController"?: FormController;
|
|
2019
2175
|
}
|
|
2020
2176
|
interface JustifiBusinessRepresentativeFormStep {
|
|
2177
|
+
"allowOptionalFields"?: boolean;
|
|
2021
2178
|
"authToken"?: string;
|
|
2022
2179
|
"businessId"?: string;
|
|
2023
2180
|
"onFormLoading"?: (event: JustifiBusinessRepresentativeFormStepCustomEvent<boolean>) => void;
|
|
@@ -2080,6 +2237,12 @@ declare namespace LocalJSX {
|
|
|
2080
2237
|
interface JustifiGrossPaymentChart {
|
|
2081
2238
|
"accountId"?: string;
|
|
2082
2239
|
"authToken"?: string;
|
|
2240
|
+
"onError-event"?: (event: JustifiGrossPaymentChartCustomEvent<ComponentError>) => void;
|
|
2241
|
+
}
|
|
2242
|
+
interface JustifiIdentityAddressForm {
|
|
2243
|
+
"defaultValues"?: any;
|
|
2244
|
+
"errors"?: any;
|
|
2245
|
+
"handleFormUpdate"?: (values: any) => void;
|
|
2083
2246
|
}
|
|
2084
2247
|
/**
|
|
2085
2248
|
* @exportedPart label: Label for inputs
|
|
@@ -2095,6 +2258,7 @@ declare namespace LocalJSX {
|
|
|
2095
2258
|
* @exportedPart input-invalid: Invalid state for inputfs
|
|
2096
2259
|
*/
|
|
2097
2260
|
interface JustifiLegalAddressFormStep {
|
|
2261
|
+
"allowOptionalFields"?: boolean;
|
|
2098
2262
|
"authToken"?: string;
|
|
2099
2263
|
"businessId"?: string;
|
|
2100
2264
|
"onFormLoading"?: (event: JustifiLegalAddressFormStepCustomEvent<boolean>) => void;
|
|
@@ -2110,9 +2274,11 @@ declare namespace LocalJSX {
|
|
|
2110
2274
|
"paymentMethodOption"?: PaymentMethodOption;
|
|
2111
2275
|
}
|
|
2112
2276
|
interface JustifiOwnerForm {
|
|
2277
|
+
"allowOptionalFields"?: boolean;
|
|
2113
2278
|
"authToken"?: string;
|
|
2114
2279
|
"businessId"?: string;
|
|
2115
2280
|
"newFormOpen"?: boolean;
|
|
2281
|
+
"onClick-event"?: (event: JustifiOwnerFormCustomEvent<OwnerFormClickEvent>) => void;
|
|
2116
2282
|
"onFormLoading"?: (event: JustifiOwnerFormCustomEvent<boolean>) => void;
|
|
2117
2283
|
"onServerError"?: (event: JustifiOwnerFormCustomEvent<OwnerFormServerErrorEvent>) => void;
|
|
2118
2284
|
"onSubmitted"?: (event: JustifiOwnerFormCustomEvent<OwnerFormSubmitEvent>) => void;
|
|
@@ -2150,6 +2316,7 @@ declare namespace LocalJSX {
|
|
|
2150
2316
|
*/
|
|
2151
2317
|
interface JustifiPaymentDetails {
|
|
2152
2318
|
"authToken"?: string;
|
|
2319
|
+
"onError-event"?: (event: JustifiPaymentDetailsCustomEvent<ComponentError>) => void;
|
|
2153
2320
|
"paymentId"?: string;
|
|
2154
2321
|
}
|
|
2155
2322
|
interface JustifiPaymentForm {
|
|
@@ -2158,6 +2325,7 @@ declare namespace LocalJSX {
|
|
|
2158
2325
|
"card"?: boolean;
|
|
2159
2326
|
"clientId"?: string;
|
|
2160
2327
|
"email"?: string;
|
|
2328
|
+
"onError-event"?: (event: JustifiPaymentFormCustomEvent<ComponentError>) => void;
|
|
2161
2329
|
"onSubmitted"?: (event: JustifiPaymentFormCustomEvent<CreatePaymentMethodResponse>) => void;
|
|
2162
2330
|
"submitButtonText"?: string;
|
|
2163
2331
|
}
|
|
@@ -2194,10 +2362,11 @@ declare namespace LocalJSX {
|
|
|
2194
2362
|
* @exportedPart input-invalid: Invalid state for inputfs
|
|
2195
2363
|
*/
|
|
2196
2364
|
interface JustifiPaymentProvisioning {
|
|
2365
|
+
"allowOptionalFields"?: boolean;
|
|
2197
2366
|
"authToken"?: string;
|
|
2198
2367
|
"businessId"?: string;
|
|
2199
2368
|
"hideErrors"?: boolean;
|
|
2200
|
-
"
|
|
2369
|
+
"onClick-event"?: (event: JustifiPaymentProvisioningCustomEvent<BusinessFormClickEvent>) => void;
|
|
2201
2370
|
"testMode"?: boolean;
|
|
2202
2371
|
}
|
|
2203
2372
|
/**
|
|
@@ -2222,9 +2391,11 @@ declare namespace LocalJSX {
|
|
|
2222
2391
|
interface JustifiPaymentsList {
|
|
2223
2392
|
"accountId"?: string;
|
|
2224
2393
|
"authToken"?: string;
|
|
2394
|
+
"onError-event"?: (event: JustifiPaymentsListCustomEvent<ComponentError>) => void;
|
|
2225
2395
|
}
|
|
2226
2396
|
interface JustifiPayoutDetails {
|
|
2227
2397
|
"authToken"?: string;
|
|
2398
|
+
"onError-event"?: (event: JustifiPayoutDetailsCustomEvent<ComponentError>) => void;
|
|
2228
2399
|
"payoutId"?: string;
|
|
2229
2400
|
}
|
|
2230
2401
|
/**
|
|
@@ -2249,6 +2420,7 @@ declare namespace LocalJSX {
|
|
|
2249
2420
|
interface JustifiPayoutsList {
|
|
2250
2421
|
"accountId"?: string;
|
|
2251
2422
|
"authToken"?: string;
|
|
2423
|
+
"onError-event"?: (event: JustifiPayoutsListCustomEvent<ComponentError>) => void;
|
|
2252
2424
|
}
|
|
2253
2425
|
/**
|
|
2254
2426
|
* @exportedPart table-head: Table head
|
|
@@ -2342,16 +2514,20 @@ declare namespace LocalJSX {
|
|
|
2342
2514
|
}
|
|
2343
2515
|
interface PaymentDetailsCore {
|
|
2344
2516
|
"getPaymentDetails"?: Function;
|
|
2517
|
+
"onError-event"?: (event: PaymentDetailsCoreCustomEvent<ComponentError>) => void;
|
|
2345
2518
|
}
|
|
2346
2519
|
interface PaymentsListCore {
|
|
2347
2520
|
"getPayments"?: Function;
|
|
2521
|
+
"onError-event"?: (event: PaymentsListCoreCustomEvent<ComponentError>) => void;
|
|
2348
2522
|
"onPayment-row-clicked"?: (event: PaymentsListCoreCustomEvent<Payment>) => void;
|
|
2349
2523
|
}
|
|
2350
2524
|
interface PayoutDetailsCore {
|
|
2351
2525
|
"getPayout"?: Function;
|
|
2526
|
+
"onError-event"?: (event: PayoutDetailsCoreCustomEvent<ComponentError>) => void;
|
|
2352
2527
|
}
|
|
2353
2528
|
interface PayoutsListCore {
|
|
2354
2529
|
"getPayouts"?: Function;
|
|
2530
|
+
"onError-event"?: (event: PayoutsListCoreCustomEvent<ComponentError>) => void;
|
|
2355
2531
|
"onPayout-row-clicked"?: (event: PayoutsListCoreCustomEvent<Payout>) => void;
|
|
2356
2532
|
}
|
|
2357
2533
|
/**
|
|
@@ -2413,8 +2589,6 @@ declare namespace LocalJSX {
|
|
|
2413
2589
|
"justifi-additional-questions-form-step": JustifiAdditionalQuestionsFormStep;
|
|
2414
2590
|
"justifi-bank-account-form": JustifiBankAccountForm;
|
|
2415
2591
|
"justifi-billing-form": JustifiBillingForm;
|
|
2416
|
-
"justifi-business-address-form": JustifiBusinessAddressForm;
|
|
2417
|
-
"justifi-business-address-form-step": JustifiBusinessAddressFormStep;
|
|
2418
2592
|
"justifi-business-core-info": JustifiBusinessCoreInfo;
|
|
2419
2593
|
"justifi-business-core-info-form-step": JustifiBusinessCoreInfoFormStep;
|
|
2420
2594
|
"justifi-business-details": JustifiBusinessDetails;
|
|
@@ -2429,6 +2603,7 @@ declare namespace LocalJSX {
|
|
|
2429
2603
|
"justifi-checkout-core": JustifiCheckoutCore;
|
|
2430
2604
|
"justifi-details": JustifiDetails;
|
|
2431
2605
|
"justifi-gross-payment-chart": JustifiGrossPaymentChart;
|
|
2606
|
+
"justifi-identity-address-form": JustifiIdentityAddressForm;
|
|
2432
2607
|
"justifi-legal-address-form": JustifiLegalAddressForm;
|
|
2433
2608
|
"justifi-legal-address-form-step": JustifiLegalAddressFormStep;
|
|
2434
2609
|
"justifi-new-payment-method": JustifiNewPaymentMethod;
|
|
@@ -2507,8 +2682,6 @@ declare module "@stencil/core" {
|
|
|
2507
2682
|
* @exportedPart input-invalid: Invalid state for inputs
|
|
2508
2683
|
*/
|
|
2509
2684
|
"justifi-billing-form": LocalJSX.JustifiBillingForm & JSXBase.HTMLAttributes<HTMLJustifiBillingFormElement>;
|
|
2510
|
-
"justifi-business-address-form": LocalJSX.JustifiBusinessAddressForm & JSXBase.HTMLAttributes<HTMLJustifiBusinessAddressFormElement>;
|
|
2511
|
-
"justifi-business-address-form-step": LocalJSX.JustifiBusinessAddressFormStep & JSXBase.HTMLAttributes<HTMLJustifiBusinessAddressFormStepElement>;
|
|
2512
2685
|
/**
|
|
2513
2686
|
* The difference between this component and business-core-info-details
|
|
2514
2687
|
* is that this component is meant to be a form and send data
|
|
@@ -2578,6 +2751,7 @@ declare module "@stencil/core" {
|
|
|
2578
2751
|
"justifi-checkout-core": LocalJSX.JustifiCheckoutCore & JSXBase.HTMLAttributes<HTMLJustifiCheckoutCoreElement>;
|
|
2579
2752
|
"justifi-details": LocalJSX.JustifiDetails & JSXBase.HTMLAttributes<HTMLJustifiDetailsElement>;
|
|
2580
2753
|
"justifi-gross-payment-chart": LocalJSX.JustifiGrossPaymentChart & JSXBase.HTMLAttributes<HTMLJustifiGrossPaymentChartElement>;
|
|
2754
|
+
"justifi-identity-address-form": LocalJSX.JustifiIdentityAddressForm & JSXBase.HTMLAttributes<HTMLJustifiIdentityAddressFormElement>;
|
|
2581
2755
|
/**
|
|
2582
2756
|
* @exportedPart label: Label for inputs
|
|
2583
2757
|
* @exportedPart input: The input fields
|