@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
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
1
2
|
import { Business } from '../../api/Business';
|
|
3
|
+
import { ComponentError } from '../../api/ComponentError';
|
|
2
4
|
declare enum RENDER_STATES {
|
|
3
5
|
LOADING = "loading",
|
|
4
6
|
READY = "ready",
|
|
@@ -9,6 +11,7 @@ export declare class BusinessDetailsCore {
|
|
|
9
11
|
business: Business;
|
|
10
12
|
renderState: RENDER_STATES;
|
|
11
13
|
errorMessage: string;
|
|
14
|
+
errorEvent: EventEmitter<ComponentError>;
|
|
12
15
|
componentWillLoad(): Promise<void>;
|
|
13
16
|
fetchData(): void;
|
|
14
17
|
render(): any;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import { ComponentError } from '../../api/ComponentError';
|
|
1
3
|
/**
|
|
2
4
|
*
|
|
3
5
|
* @exportedPart detail-section
|
|
@@ -11,6 +13,7 @@ export declare class BusinessDetails {
|
|
|
11
13
|
authToken: string;
|
|
12
14
|
errorMessage: string;
|
|
13
15
|
getBusiness: Function;
|
|
16
|
+
errorEvent: EventEmitter<ComponentError>;
|
|
14
17
|
componentWillLoad(): void;
|
|
15
18
|
private initializeGetBusiness;
|
|
16
19
|
render(): any;
|
|
@@ -11,17 +11,19 @@ export declare class BusinessForm {
|
|
|
11
11
|
hideErrors?: boolean;
|
|
12
12
|
isLoading: boolean;
|
|
13
13
|
errorMessage: BusinessFormServerErrors;
|
|
14
|
-
clickEvent: EventEmitter<BusinessFormClickEvent>;
|
|
15
14
|
submitted: EventEmitter<BusinessFormSubmitEvent>;
|
|
15
|
+
clickEventNew: EventEmitter<BusinessFormClickEvent>;
|
|
16
|
+
clickEventOld: EventEmitter<BusinessFormClickEvent>;
|
|
17
|
+
fireClickEvents(event: BusinessFormClickEvent): void;
|
|
16
18
|
get disabledState(): boolean;
|
|
17
19
|
get showErrors(): boolean;
|
|
18
20
|
get businessEndpoint(): string;
|
|
19
21
|
private formController;
|
|
20
22
|
private api;
|
|
21
|
-
constructor();
|
|
22
23
|
componentWillLoad(): void;
|
|
23
24
|
private sendData;
|
|
24
25
|
private fetchData;
|
|
25
26
|
private validateAndSubmit;
|
|
27
|
+
handleReponse(response: any): void;
|
|
26
28
|
render(): any;
|
|
27
29
|
}
|
package/dist/types/components/business-forms/owner-form/identity-address/identity-address-form.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IAddress } from '../../../../api/Business';
|
|
2
|
+
export declare class IdentityAddressForm {
|
|
3
|
+
handleFormUpdate: (values: any) => void;
|
|
4
|
+
errors: any;
|
|
5
|
+
defaultValues: any;
|
|
6
|
+
address: IAddress;
|
|
7
|
+
handleAddressChange(newValues: any): void;
|
|
8
|
+
inputHandler: (name: string, value: string) => void;
|
|
9
|
+
render(): any;
|
|
10
|
+
}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
2
2
|
import { FormController } from '../../form/form';
|
|
3
3
|
import { Owner } from '../../../api/Identity';
|
|
4
|
-
import { OwnerFormSubmitEvent, OwnerFormServerErrorEvent } from '../utils/business-form-types';
|
|
4
|
+
import { OwnerFormSubmitEvent, OwnerFormServerErrorEvent, OwnerFormClickEvent } from '../utils/business-form-types';
|
|
5
5
|
export declare class BusinessOwnerForm {
|
|
6
6
|
authToken: string;
|
|
7
7
|
ownerId?: string;
|
|
8
8
|
businessId?: string;
|
|
9
|
+
allowOptionalFields?: boolean;
|
|
9
10
|
removeOwner: (id: string) => void;
|
|
10
11
|
newFormOpen?: boolean;
|
|
11
12
|
ownersLength?: number;
|
|
@@ -14,6 +15,7 @@ export declare class BusinessOwnerForm {
|
|
|
14
15
|
errors: any;
|
|
15
16
|
owner: Owner;
|
|
16
17
|
submitted: EventEmitter<OwnerFormSubmitEvent>;
|
|
18
|
+
clickEvent: EventEmitter<OwnerFormClickEvent>;
|
|
17
19
|
formLoading: EventEmitter<boolean>;
|
|
18
20
|
serverError: EventEmitter<OwnerFormServerErrorEvent>;
|
|
19
21
|
private api;
|
|
@@ -29,6 +31,8 @@ export declare class BusinessOwnerForm {
|
|
|
29
31
|
componentDidLoad(): void;
|
|
30
32
|
inputHandler: (name: string, value: string) => void;
|
|
31
33
|
onAddressFormUpdate: (values: any) => void;
|
|
34
|
+
handleAddOwner: () => void;
|
|
35
|
+
handleRemoveOwner: () => void;
|
|
32
36
|
validate(): Promise<boolean>;
|
|
33
37
|
submit(): Promise<boolean>;
|
|
34
38
|
validateAndSubmit: (event: any) => void;
|
|
@@ -10,6 +10,7 @@ import { BusinessFormServerErrorEvent, BusinessFormSubmitEvent } from '../../uti
|
|
|
10
10
|
export declare class AdditionalQuestionsFormStep {
|
|
11
11
|
authToken: string;
|
|
12
12
|
businessId: string;
|
|
13
|
+
allowOptionalFields?: boolean;
|
|
13
14
|
formController: FormController;
|
|
14
15
|
errors: any;
|
|
15
16
|
additional_questions: IAdditionalQuestions;
|
|
@@ -15,6 +15,7 @@ import { BusinessFormServerErrorEvent, BusinessFormSubmitEvent } from '../../uti
|
|
|
15
15
|
export declare class BusinessCoreInfoFormStep {
|
|
16
16
|
authToken: string;
|
|
17
17
|
businessId: string;
|
|
18
|
+
allowOptionalFields?: boolean;
|
|
18
19
|
formController: FormController;
|
|
19
20
|
errors: any;
|
|
20
21
|
coreInfo: ICoreBusinessInfo;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EventEmitter } from '../../../../stencil-public-runtime';
|
|
2
|
-
import { BusinessFormServerErrorEvent, BusinessFormSubmitEvent } from '../../utils/business-form-types';
|
|
3
2
|
import { Owner } from '../../../../api/Identity';
|
|
3
|
+
import { BusinessFormServerErrorEvent, BusinessFormSubmitEvent, OwnerFormClickEvent } from '../../utils/business-form-types';
|
|
4
4
|
/**
|
|
5
5
|
* @exportedPart label: Label for inputs
|
|
6
6
|
* @exportedPart input: The input fields
|
|
@@ -9,10 +9,12 @@ import { Owner } from '../../../../api/Identity';
|
|
|
9
9
|
export declare class BusinessOwnersFormStep {
|
|
10
10
|
authToken: string;
|
|
11
11
|
businessId: string;
|
|
12
|
+
allowOptionalFields?: boolean;
|
|
12
13
|
owners: Owner[];
|
|
13
14
|
newFormOpen: boolean;
|
|
14
15
|
refs: any[];
|
|
15
16
|
submitted: EventEmitter<BusinessFormSubmitEvent>;
|
|
17
|
+
clickEvent: EventEmitter<OwnerFormClickEvent>;
|
|
16
18
|
formLoading: EventEmitter<boolean>;
|
|
17
19
|
serverError: EventEmitter<BusinessFormServerErrorEvent>;
|
|
18
20
|
private api;
|
|
@@ -5,6 +5,7 @@ import { Representative } from '../../../../api/Identity';
|
|
|
5
5
|
export declare class BusinessRepresentativeFormStep {
|
|
6
6
|
authToken: string;
|
|
7
7
|
businessId: string;
|
|
8
|
+
allowOptionalFields?: boolean;
|
|
8
9
|
formController: FormController;
|
|
9
10
|
errors: any;
|
|
10
11
|
representative: Representative;
|
|
@@ -10,6 +10,7 @@ import { BusinessFormServerErrorEvent, BusinessFormSubmitEvent } from '../../uti
|
|
|
10
10
|
export declare class LegalAddressFormStep {
|
|
11
11
|
authToken: string;
|
|
12
12
|
businessId: string;
|
|
13
|
+
allowOptionalFields?: boolean;
|
|
13
14
|
formController: FormController;
|
|
14
15
|
errors: any;
|
|
15
16
|
legal_address: IAddress;
|
|
@@ -10,6 +10,7 @@ export declare class PaymentProvisioning {
|
|
|
10
10
|
businessId: string;
|
|
11
11
|
testMode: boolean;
|
|
12
12
|
hideErrors?: boolean;
|
|
13
|
+
allowOptionalFields?: boolean;
|
|
13
14
|
formLoading: boolean;
|
|
14
15
|
errorMessage: string;
|
|
15
16
|
currentStep: number;
|
|
@@ -31,8 +32,8 @@ export declare class PaymentProvisioning {
|
|
|
31
32
|
4: () => any;
|
|
32
33
|
};
|
|
33
34
|
componentWillLoad(): void;
|
|
34
|
-
handleFormLoading(e: CustomEvent)
|
|
35
|
-
handleServerErrors(e: CustomEvent)
|
|
35
|
+
handleFormLoading: (e: CustomEvent) => void;
|
|
36
|
+
handleServerErrors: (e: CustomEvent) => void;
|
|
36
37
|
showPreviousStepButton(): boolean;
|
|
37
38
|
showNextStepButton(): boolean;
|
|
38
39
|
incrementSteps: () => number;
|
package/dist/types/components/business-forms/schemas/business-additional-questions-schema.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const additionalQuestionsSchema: (allowOptionalFields?: boolean) => import("yup").ObjectSchema<{
|
|
2
2
|
business_revenue: string;
|
|
3
3
|
business_payment_volume: string;
|
|
4
4
|
business_dispute_volume: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const addressSchema: (allowOptionalFields?: boolean) => import("yup").ObjectSchema<{
|
|
2
2
|
line1: string;
|
|
3
3
|
line2: string;
|
|
4
4
|
city: string;
|
|
@@ -13,14 +13,3 @@ export declare const legalAddressSchema: import("yup").ObjectSchema<{
|
|
|
13
13
|
postal_code: undefined;
|
|
14
14
|
country: undefined;
|
|
15
15
|
}, "">;
|
|
16
|
-
export declare const identityAddressSchema: import("yup").ObjectSchema<{
|
|
17
|
-
line1: string;
|
|
18
|
-
city: string;
|
|
19
|
-
state: string;
|
|
20
|
-
postal_code: string;
|
|
21
|
-
}, import("yup").AnyObject, {
|
|
22
|
-
line1: undefined;
|
|
23
|
-
city: undefined;
|
|
24
|
-
state: undefined;
|
|
25
|
-
postal_code: undefined;
|
|
26
|
-
}, "">;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export declare const businessFormSchema: import("yup").ObjectSchema<{
|
|
2
2
|
legal_address: {
|
|
3
|
-
city?: string;
|
|
4
|
-
state?: string;
|
|
5
3
|
line1?: string;
|
|
6
4
|
line2?: string;
|
|
5
|
+
city?: string;
|
|
6
|
+
state?: string;
|
|
7
7
|
postal_code?: string;
|
|
8
8
|
country?: string;
|
|
9
9
|
};
|
|
@@ -15,10 +15,12 @@ export declare const businessFormSchema: import("yup").ObjectSchema<{
|
|
|
15
15
|
};
|
|
16
16
|
representative: {
|
|
17
17
|
address?: {
|
|
18
|
+
line1?: string;
|
|
19
|
+
line2?: string;
|
|
18
20
|
city?: string;
|
|
19
21
|
state?: string;
|
|
20
|
-
line1?: string;
|
|
21
22
|
postal_code?: string;
|
|
23
|
+
country?: string;
|
|
22
24
|
};
|
|
23
25
|
name?: string;
|
|
24
26
|
email?: string;
|
|
@@ -61,9 +63,11 @@ export declare const businessFormSchema: import("yup").ObjectSchema<{
|
|
|
61
63
|
identification_number: undefined;
|
|
62
64
|
address: {
|
|
63
65
|
line1: undefined;
|
|
66
|
+
line2: undefined;
|
|
64
67
|
city: undefined;
|
|
65
68
|
state: undefined;
|
|
66
69
|
postal_code: undefined;
|
|
70
|
+
country: undefined;
|
|
67
71
|
};
|
|
68
72
|
};
|
|
69
73
|
legal_name: undefined;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
export declare const
|
|
2
|
-
export declare const representativeSchema: import("yup").ObjectSchema<{
|
|
1
|
+
export declare const identitySchema: (title: string, allowOptionalFields?: boolean) => import("yup").ObjectSchema<{
|
|
3
2
|
name: string;
|
|
4
3
|
email: string;
|
|
5
4
|
phone: string;
|
|
@@ -8,39 +7,12 @@ export declare const representativeSchema: import("yup").ObjectSchema<{
|
|
|
8
7
|
dob_year: string;
|
|
9
8
|
identification_number: string;
|
|
10
9
|
address: {
|
|
11
|
-
city?: string;
|
|
12
|
-
state?: string;
|
|
13
10
|
line1?: string;
|
|
14
|
-
|
|
15
|
-
};
|
|
16
|
-
}, import("yup").AnyObject, {
|
|
17
|
-
name: undefined;
|
|
18
|
-
email: undefined;
|
|
19
|
-
phone: undefined;
|
|
20
|
-
dob_day: undefined;
|
|
21
|
-
dob_month: undefined;
|
|
22
|
-
dob_year: undefined;
|
|
23
|
-
identification_number: undefined;
|
|
24
|
-
address: {
|
|
25
|
-
line1: undefined;
|
|
26
|
-
city: undefined;
|
|
27
|
-
state: undefined;
|
|
28
|
-
postal_code: undefined;
|
|
29
|
-
};
|
|
30
|
-
}, "">;
|
|
31
|
-
export declare const ownerSchema: import("yup").ObjectSchema<{
|
|
32
|
-
name: string;
|
|
33
|
-
email: string;
|
|
34
|
-
phone: string;
|
|
35
|
-
dob_day: string;
|
|
36
|
-
dob_month: string;
|
|
37
|
-
dob_year: string;
|
|
38
|
-
identification_number: string;
|
|
39
|
-
address: {
|
|
11
|
+
line2?: string;
|
|
40
12
|
city?: string;
|
|
41
13
|
state?: string;
|
|
42
|
-
line1?: string;
|
|
43
14
|
postal_code?: string;
|
|
15
|
+
country?: string;
|
|
44
16
|
};
|
|
45
17
|
}, import("yup").AnyObject, {
|
|
46
18
|
name: undefined;
|
|
@@ -52,8 +24,10 @@ export declare const ownerSchema: import("yup").ObjectSchema<{
|
|
|
52
24
|
identification_number: undefined;
|
|
53
25
|
address: {
|
|
54
26
|
line1: undefined;
|
|
27
|
+
line2: undefined;
|
|
55
28
|
city: undefined;
|
|
56
29
|
state: undefined;
|
|
57
30
|
postal_code: undefined;
|
|
31
|
+
country: undefined;
|
|
58
32
|
};
|
|
59
33
|
}, "">;
|
|
@@ -27,6 +27,10 @@ export interface OwnerFormSubmitEvent {
|
|
|
27
27
|
data: any;
|
|
28
28
|
metadata?: any;
|
|
29
29
|
}
|
|
30
|
+
export interface OwnerFormClickEvent {
|
|
31
|
+
data?: any;
|
|
32
|
+
name: OwnerFormClickActions;
|
|
33
|
+
}
|
|
30
34
|
export interface OwnerFormServerErrorEvent {
|
|
31
35
|
data?: any;
|
|
32
36
|
message: OwnerFormServerErrors;
|
|
@@ -36,4 +40,10 @@ export declare enum OwnerFormServerErrors {
|
|
|
36
40
|
patchData = "Error updating owner data",
|
|
37
41
|
postData = "Error adding owner data"
|
|
38
42
|
}
|
|
43
|
+
export declare enum OwnerFormClickActions {
|
|
44
|
+
removeOwner = "removeOwner",
|
|
45
|
+
addOwner = "addOwner",
|
|
46
|
+
addOwnerForm = "addOwnerForm",
|
|
47
|
+
updateOwner = "updateOwner"
|
|
48
|
+
}
|
|
39
49
|
export {};
|
|
@@ -1,11 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
export declare const makeGetGrossPaymentChartData: ({ id, authToken, service }: MakeGetGrossPaymentChartDataProps) => ({ onSuccess, onError }: {
|
|
1
|
+
export declare const makeGetGrossPaymentChartData: ({ id, authToken, service }: {
|
|
2
|
+
id: any;
|
|
3
|
+
authToken: any;
|
|
4
|
+
service: any;
|
|
5
|
+
}) => ({ onSuccess, onError }: {
|
|
8
6
|
onSuccess: any;
|
|
9
7
|
onError: any;
|
|
10
8
|
}) => Promise<void>;
|
|
11
|
-
export {};
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
1
2
|
import { Chart } from 'chart.js';
|
|
2
3
|
import { GrossVolumeReport } from '../../api/GrossVolume';
|
|
4
|
+
import { ComponentError } from '../../api/ComponentError';
|
|
3
5
|
export declare class GrossPaymentChartCore {
|
|
4
6
|
chart: Chart;
|
|
5
7
|
chartRef: HTMLCanvasElement;
|
|
@@ -7,6 +9,7 @@ export declare class GrossPaymentChartCore {
|
|
|
7
9
|
grossVolumeReport: GrossVolumeReport;
|
|
8
10
|
loading: boolean;
|
|
9
11
|
errorMessage: string;
|
|
12
|
+
errorEvent: EventEmitter<ComponentError>;
|
|
10
13
|
componentDidLoad(): void;
|
|
11
14
|
propChanged(): void;
|
|
12
15
|
grossVolumeReportChanged(grossVolumeReport: GrossVolumeReport): void;
|
|
@@ -1,10 +1,14 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import { ComponentError } from '../../api/ComponentError';
|
|
1
3
|
export declare class GrossPaymentChart {
|
|
2
4
|
accountId: string;
|
|
3
5
|
authToken: string;
|
|
4
6
|
getGrossPayment: Function;
|
|
5
7
|
errorMessage: string;
|
|
8
|
+
errorEvent: EventEmitter<ComponentError>;
|
|
6
9
|
componentWillLoad(): void;
|
|
7
10
|
propChanged(): void;
|
|
8
11
|
private initializeGetGrossPayment;
|
|
12
|
+
handleErrorEvent: (event: CustomEvent<ComponentError>) => void;
|
|
9
13
|
render(): any;
|
|
10
14
|
}
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
1
2
|
import { Payment } from '../../api';
|
|
3
|
+
import { ComponentError } from '../../api/ComponentError';
|
|
2
4
|
export declare class PaymentDetailsCore {
|
|
3
5
|
getPaymentDetails: Function;
|
|
4
6
|
payment: Payment;
|
|
5
7
|
loading: boolean;
|
|
6
8
|
errorMessage: string;
|
|
9
|
+
errorEvent: EventEmitter<ComponentError>;
|
|
7
10
|
componentWillLoad(): void;
|
|
8
11
|
updateOnPropChange(): void;
|
|
9
12
|
fetchData(): void;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
1
2
|
import { PaymentService } from '../../api/services/payment.service';
|
|
3
|
+
import { ComponentError } from '../../api/ComponentError';
|
|
2
4
|
/**
|
|
3
5
|
* @exportedPart detail-loading-spinner
|
|
4
6
|
* @exportedPart detail-loading-state
|
|
@@ -27,9 +29,11 @@ export declare class PaymentDetails {
|
|
|
27
29
|
authToken: string;
|
|
28
30
|
getPaymentDetails: Function;
|
|
29
31
|
errorMessage: string;
|
|
32
|
+
errorEvent: EventEmitter<ComponentError>;
|
|
30
33
|
componentWillLoad(): void;
|
|
31
34
|
propChanged(): void;
|
|
32
35
|
private initializeGetPaymentDetails;
|
|
33
36
|
paymentService: PaymentService;
|
|
37
|
+
handleErrorEvent: (event: any) => void;
|
|
34
38
|
render(): any;
|
|
35
39
|
}
|
|
@@ -2,6 +2,7 @@ import { EventEmitter } from '../../stencil-public-runtime';
|
|
|
2
2
|
import { PaymentMethodTypes } from '../../api';
|
|
3
3
|
import { BillingFormFields } from '../billing-form/billing-form-schema';
|
|
4
4
|
import { CreatePaymentMethodResponse } from '../payment-method-form/payment-method-responses';
|
|
5
|
+
import { ComponentError } from '../../api/ComponentError';
|
|
5
6
|
export declare class PaymentForm {
|
|
6
7
|
bankAccount?: boolean;
|
|
7
8
|
card?: boolean;
|
|
@@ -9,15 +10,17 @@ export declare class PaymentForm {
|
|
|
9
10
|
clientId: string;
|
|
10
11
|
accountId?: string;
|
|
11
12
|
submitButtonText?: string;
|
|
12
|
-
submitted: EventEmitter<CreatePaymentMethodResponse>;
|
|
13
13
|
submitButtonEnabled: boolean;
|
|
14
14
|
isLoading: boolean;
|
|
15
15
|
selectedPaymentMethodType: PaymentMethodTypes;
|
|
16
|
+
submitted: EventEmitter<CreatePaymentMethodResponse>;
|
|
17
|
+
errorEvent: EventEmitter<ComponentError>;
|
|
16
18
|
private paymentMethodFormRef?;
|
|
17
19
|
private billingFormRef?;
|
|
18
20
|
connectedCallback(): void;
|
|
19
21
|
fillBillingForm(fields: BillingFormFields): Promise<void>;
|
|
20
22
|
enableSubmitButton(): Promise<void>;
|
|
23
|
+
disableSubmitButton(): Promise<void>;
|
|
21
24
|
paymentMethodSelectedHandler(event: CustomEvent): void;
|
|
22
25
|
submit(event: any): Promise<void>;
|
|
23
26
|
render(): any;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
2
|
import { PagingInfo, Payment } from '../../api';
|
|
3
|
+
import { ComponentError } from '../../api/ComponentError';
|
|
3
4
|
export declare class PaymentsListCore {
|
|
4
5
|
getPayments: Function;
|
|
5
6
|
payments: Payment[];
|
|
@@ -8,6 +9,7 @@ export declare class PaymentsListCore {
|
|
|
8
9
|
paging: PagingInfo;
|
|
9
10
|
params: any;
|
|
10
11
|
rowClicked: EventEmitter<Payment>;
|
|
12
|
+
errorEvent: EventEmitter<ComponentError>;
|
|
11
13
|
componentWillLoad(): void;
|
|
12
14
|
updateOnPropChange(): void;
|
|
13
15
|
handleClickPrevious: (beforeCursor: string) => void;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import { ComponentError } from '../../api/ComponentError';
|
|
1
3
|
/**
|
|
2
4
|
* @exportedPart table-head: Table head
|
|
3
5
|
* @exportedPart table-head-row: Head row
|
|
@@ -22,8 +24,10 @@ export declare class PaymentsList {
|
|
|
22
24
|
authToken: string;
|
|
23
25
|
getPayments: Function;
|
|
24
26
|
errorMessage: string;
|
|
27
|
+
errorEvent: EventEmitter<ComponentError>;
|
|
25
28
|
componentWillLoad(): void;
|
|
26
29
|
propChanged(): void;
|
|
27
30
|
private initializeGetPayments;
|
|
31
|
+
handleErrorEvent: (event: any) => void;
|
|
28
32
|
render(): any;
|
|
29
33
|
}
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
1
2
|
import { Payout } from '../../api';
|
|
3
|
+
import { ComponentError } from '../../api/ComponentError';
|
|
2
4
|
export declare class PayoutDetailsCore {
|
|
3
5
|
getPayout: Function;
|
|
4
6
|
payout: Payout;
|
|
5
7
|
loading: boolean;
|
|
6
8
|
errorMessage: string;
|
|
9
|
+
errorEvent: EventEmitter<ComponentError>;
|
|
7
10
|
componentWillLoad(): void;
|
|
8
11
|
getPayoutWatcher(): void;
|
|
9
12
|
fetchData(): void;
|
|
@@ -1,10 +1,14 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import { ComponentError } from '../../api/ComponentError';
|
|
1
3
|
export declare class PayoutDetails {
|
|
2
4
|
payoutId: string;
|
|
3
5
|
authToken: string;
|
|
4
6
|
getPayout: Function;
|
|
5
7
|
errorMessage: string;
|
|
8
|
+
errorEvent: EventEmitter<ComponentError>;
|
|
6
9
|
componentWillLoad(): void;
|
|
7
10
|
propChanged(): void;
|
|
8
11
|
initializeGetPayout(): void;
|
|
12
|
+
handleErrorEvent: (event: CustomEvent<ComponentError>) => void;
|
|
9
13
|
render(): any;
|
|
10
14
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
2
|
import { PagingInfo, Payout, PayoutStatuses } from '../../api';
|
|
3
|
+
import { ComponentError } from '../../api/ComponentError';
|
|
3
4
|
export declare class PayoutsListCore {
|
|
4
5
|
getPayouts: Function;
|
|
5
6
|
payouts: Payout[];
|
|
@@ -8,6 +9,7 @@ export declare class PayoutsListCore {
|
|
|
8
9
|
paging: PagingInfo;
|
|
9
10
|
params: any;
|
|
10
11
|
rowClicked: EventEmitter<Payout>;
|
|
12
|
+
errorEvent: EventEmitter<ComponentError>;
|
|
11
13
|
componentWillLoad(): void;
|
|
12
14
|
updateOnPropChange(): void;
|
|
13
15
|
mapStatusToBadge: (status: PayoutStatuses) => string;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import { EventEmitter } from '../../stencil-public-runtime';
|
|
2
|
+
import { ComponentError } from '../../api/ComponentError';
|
|
1
3
|
/**
|
|
2
4
|
* @exportedPart table-head: Table head
|
|
3
5
|
* @exportedPart table-head-row: Head row
|
|
@@ -22,8 +24,10 @@ export declare class PayoutsList {
|
|
|
22
24
|
authToken: string;
|
|
23
25
|
getPayouts: Function;
|
|
24
26
|
errorMessage: string;
|
|
27
|
+
errorEvent: EventEmitter<ComponentError>;
|
|
25
28
|
componentWillLoad(): void;
|
|
26
29
|
propChanged(): void;
|
|
27
30
|
private initializeGetPayouts;
|
|
31
|
+
handleOnError: (event: any) => void;
|
|
28
32
|
render(): any;
|
|
29
33
|
}
|