@justifi/webcomponents 4.9.0 → 4.10.0-rc.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-64dffab7.js → Business-79361c8a.js} +1 -0
- package/dist/cjs/Identity-b6364aee.js +27 -0
- package/dist/cjs/{SubAccount-f8144025.js → SubAccount-b3902202.js} +1 -1
- package/dist/cjs/additional-questions-details_5.cjs.entry.js +3 -3
- package/dist/cjs/business-additional-questions-schema-cbac27f2.js +26 -0
- package/dist/cjs/business-details-core.cjs.entry.js +2 -2
- package/dist/cjs/business-form-select-options-7ccd8dca.js +85 -0
- package/dist/cjs/business-form-types-3cdd5447.js +19 -0
- package/dist/cjs/form-control-datepart_3.cjs.entry.js +32 -46
- package/dist/cjs/form-control-monetary.cjs.entry.js +1 -1
- package/dist/cjs/{form-control-select_2.cjs.entry.js → form-control-number_3.cjs.entry.js} +44 -1
- package/dist/cjs/gross-payment-chart-core.cjs.entry.js +3 -3
- package/dist/cjs/{index-07ddbad2.js → index-69b9386b.js} +57 -0
- package/dist/cjs/justifi-additional-questions-form-step_5.cjs.entry.js +505 -0
- package/dist/cjs/{justifi-additional-questions_5.cjs.entry.js → justifi-additional-questions_4.cjs.entry.js} +12 -42
- package/dist/cjs/justifi-bank-account-form.cjs.entry.js +1 -1
- package/dist/cjs/justifi-billing-form_4.cjs.entry.js +5 -13
- package/dist/cjs/justifi-business-address-form-step.cjs.entry.js +35 -0
- package/dist/cjs/justifi-business-details.cjs.entry.js +3 -3
- package/dist/cjs/justifi-business-form-stepped.cjs.entry.js +36 -90
- package/dist/cjs/justifi-business-form.cjs.entry.js +16 -15
- package/dist/cjs/justifi-business-list.cjs.entry.js +3 -3
- package/dist/cjs/justifi-business-owners.cjs.entry.js +1 -1
- package/dist/cjs/justifi-card-form.cjs.entry.js +1 -1
- package/dist/cjs/justifi-checkout-core.cjs.entry.js +2 -2
- package/dist/cjs/justifi-checkout.cjs.entry.js +1 -1
- package/dist/cjs/justifi-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-gross-payment-chart.cjs.entry.js +2 -2
- package/dist/cjs/justifi-new-payment-method_3.cjs.entry.js +1 -1
- package/dist/cjs/justifi-owner-form.cjs.entry.js +160 -0
- package/dist/cjs/justifi-payment-balance-transactions.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-form.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payment-method-selector.cjs.entry.js +1 -1
- package/dist/cjs/justifi-payments-list.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payout-details.cjs.entry.js +2 -2
- package/dist/cjs/justifi-payouts-list.cjs.entry.js +2 -2
- package/dist/cjs/justifi-proceeds-list.cjs.entry.js +2 -2
- package/dist/cjs/justifi-refund-form.cjs.entry.js +1 -1
- package/dist/cjs/justifi-subaccount-details.cjs.entry.js +4 -4
- package/dist/cjs/justifi-subaccounts-list.cjs.entry.js +3 -3
- package/dist/cjs/justifi-table_2.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/payload-parsers-25ed3936.js +98 -0
- package/dist/cjs/payment-details-core.cjs.entry.js +3 -3
- package/dist/cjs/payments-list-core.cjs.entry.js +2 -2
- package/dist/cjs/payout-details-core.cjs.entry.js +3 -3
- package/dist/cjs/payouts-list-core.cjs.entry.js +2 -2
- package/dist/cjs/subaccount-account-details_4.cjs.entry.js +3 -3
- package/dist/cjs/subaccount-bank-details.cjs.entry.js +2 -2
- package/dist/cjs/subaccount-terms-details.cjs.entry.js +2 -2
- package/dist/cjs/{utils-5c3e442d.js → utils-23e70ef2.js} +1 -1
- package/dist/cjs/{utils-84208d99.js → utils-6f62f7a1.js} +18 -0
- package/dist/cjs/utils-df5167a8.js +13 -0
- package/dist/cjs/webcomponents.cjs.js +2 -2
- package/dist/collection/api/Identity.js +43 -0
- package/dist/collection/collection-manifest.json +15 -8
- package/dist/collection/components/billing-form/billing-form-schema.js +1 -1
- package/dist/collection/components/business-details/owner-details/owner-details.js +2 -2
- package/dist/collection/components/business-details/representative-details/representative-details.js +2 -2
- package/dist/collection/components/{business-form → business-forms/business-form}/additional-questions/additional-questions.js +1 -1
- package/dist/collection/components/business-forms/business-form/business-address/business-address-form.css +2536 -0
- package/dist/collection/components/{business-form → business-forms/business-form}/business-address/business-address-form.js +4 -4
- package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.css +2493 -0
- package/dist/collection/components/business-forms/business-form/business-core-info/business-core-info.js +77 -0
- package/dist/collection/components/{business-form → business-forms/business-form}/business-form.js +32 -24
- package/dist/collection/components/business-forms/business-form/business-owners/business-owners.css +7779 -0
- package/dist/collection/components/{business-form → business-forms/business-form}/business-owners/business-owners.js +2 -2
- package/dist/collection/components/business-forms/business-form/business-representative/business-representative.css +2493 -0
- package/dist/collection/components/{business-form → business-forms/business-form}/business-representative/business-representative.js +3 -3
- package/dist/collection/components/business-forms/business-form/legal-address-form/legal-address-form.css +2493 -0
- package/dist/collection/components/{business-form → business-forms/business-form}/legal-address-form/legal-address-form.js +1 -1
- package/dist/collection/components/business-forms/business-form-stepped/additional-questions/business-additional-questions-form-step.js +218 -0
- package/dist/collection/components/business-forms/business-form-stepped/additional-questions/test/business-additional-questions-form-step.spec.js +97 -0
- package/dist/collection/components/business-forms/business-form-stepped/business-address/business-address-form-step.js +97 -0
- package/dist/collection/components/business-forms/business-form-stepped/business-address/test/business-address-form-step.spec.js +97 -0
- package/dist/collection/components/business-forms/business-form-stepped/business-core-info/business-core-info-form-step.js +239 -0
- package/dist/collection/components/business-forms/business-form-stepped/business-core-info/test/business-core-info-form-step.spec.js +97 -0
- package/dist/collection/components/{business-form → business-forms/business-form-stepped}/business-form-stepped.css +105 -0
- package/dist/collection/components/business-forms/business-form-stepped/business-form-stepped.js +199 -0
- package/dist/collection/components/business-forms/business-form-stepped/business-owners/business-owners-form-step.js +284 -0
- package/dist/collection/components/business-forms/business-form-stepped/business-owners/test/business-owners-form-step.spec.js +97 -0
- package/dist/collection/components/business-forms/business-form-stepped/business-representative/business-representative-form-step.js +230 -0
- package/dist/collection/components/business-forms/business-form-stepped/business-representative/test/business-representative-form-step.spec.js +97 -0
- package/dist/collection/components/business-forms/business-form-stepped/legal-address-form/legal-address-form-step.js +232 -0
- package/dist/collection/components/business-forms/business-form-stepped/test/business-form-stepped.spec.js +61 -0
- package/dist/collection/components/business-forms/owner-form/owner-form.css +7779 -0
- package/dist/collection/components/business-forms/owner-form/owner-form.js +367 -0
- package/dist/collection/components/business-forms/schemas/business-additional-questions-schema.js +7 -0
- package/dist/collection/components/business-forms/schemas/business-address-schema.js +15 -0
- package/dist/collection/components/business-forms/schemas/business-core-info-schema.js +13 -0
- package/dist/collection/components/business-forms/schemas/business-form-schema.js +6 -0
- package/dist/collection/components/business-forms/schemas/business-identity-schema.js +35 -0
- package/dist/collection/components/business-forms/schemas/business-owners-schema.js +16 -0
- package/dist/collection/components/business-forms/utils/business-form-select-options.js +80 -0
- package/dist/collection/components/business-forms/utils/business-form-types.js +17 -0
- package/dist/collection/components/business-forms/utils/payload-parsers.js +37 -0
- package/dist/collection/components/form/utils.js +1 -0
- package/dist/collection/utils/utils.js +16 -0
- package/dist/docs.json +1690 -300
- package/dist/esm/{Business-9921d35f.js → Business-1df362e0.js} +1 -1
- package/dist/esm/Identity-774788c0.js +25 -0
- package/dist/esm/{SubAccount-76f6d565.js → SubAccount-f4ae9809.js} +1 -1
- package/dist/esm/additional-questions-details_5.entry.js +3 -3
- package/dist/esm/business-additional-questions-schema-2cb80f70.js +23 -0
- package/dist/esm/business-details-core.entry.js +2 -2
- package/dist/esm/business-form-select-options-6b9293fe.js +82 -0
- package/dist/esm/business-form-types-de9f38cd.js +19 -0
- package/dist/esm/form-control-datepart_3.entry.js +32 -46
- package/dist/esm/form-control-monetary.entry.js +1 -1
- package/dist/esm/{form-control-select_2.entry.js → form-control-number_3.entry.js} +44 -2
- package/dist/esm/gross-payment-chart-core.entry.js +3 -3
- package/dist/esm/{index-fb5ca346.js → index-df86d9a2.js} +57 -0
- package/dist/esm/justifi-additional-questions-form-step_5.entry.js +497 -0
- package/dist/esm/{justifi-additional-questions_5.entry.js → justifi-additional-questions_4.entry.js} +12 -41
- package/dist/esm/justifi-bank-account-form.entry.js +1 -1
- package/dist/esm/justifi-billing-form_4.entry.js +4 -12
- package/dist/esm/justifi-business-address-form-step.entry.js +31 -0
- package/dist/esm/justifi-business-details.entry.js +3 -3
- package/dist/esm/justifi-business-form-stepped.entry.js +36 -90
- package/dist/esm/justifi-business-form.entry.js +15 -14
- package/dist/esm/justifi-business-list.entry.js +3 -3
- package/dist/esm/justifi-business-owners.entry.js +1 -1
- package/dist/esm/justifi-card-form.entry.js +1 -1
- package/dist/esm/justifi-checkout-core.entry.js +2 -2
- package/dist/esm/justifi-checkout.entry.js +1 -1
- package/dist/esm/justifi-details.entry.js +2 -2
- package/dist/esm/justifi-gross-payment-chart.entry.js +2 -2
- package/dist/esm/justifi-new-payment-method_3.entry.js +1 -1
- package/dist/esm/justifi-owner-form.entry.js +156 -0
- package/dist/esm/justifi-payment-balance-transactions.entry.js +2 -2
- package/dist/esm/justifi-payment-details.entry.js +2 -2
- package/dist/esm/justifi-payment-form.entry.js +2 -2
- package/dist/esm/justifi-payment-method-selector.entry.js +1 -1
- package/dist/esm/justifi-payments-list.entry.js +2 -2
- package/dist/esm/justifi-payout-details.entry.js +2 -2
- package/dist/esm/justifi-payouts-list.entry.js +2 -2
- package/dist/esm/justifi-proceeds-list.entry.js +2 -2
- package/dist/esm/justifi-refund-form.entry.js +1 -1
- package/dist/esm/justifi-subaccount-details.entry.js +4 -4
- package/dist/esm/justifi-subaccounts-list.entry.js +3 -3
- package/dist/esm/justifi-table_2.entry.js +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/esm/payload-parsers-1dd7474f.js +90 -0
- package/dist/esm/payment-details-core.entry.js +3 -3
- package/dist/esm/payments-list-core.entry.js +2 -2
- package/dist/esm/payout-details-core.entry.js +3 -3
- package/dist/esm/payouts-list-core.entry.js +2 -2
- package/dist/esm/subaccount-account-details_4.entry.js +3 -3
- package/dist/esm/subaccount-bank-details.entry.js +2 -2
- package/dist/esm/subaccount-terms-details.entry.js +2 -2
- package/dist/esm/{utils-5193fcd7.js → utils-243abdb4.js} +17 -1
- package/dist/esm/utils-2828201a.js +10 -0
- package/dist/esm/{utils-a3e96d9f.js → utils-d01c5f3a.js} +1 -1
- package/dist/esm/webcomponents.js +3 -3
- package/dist/module/Business.js +1 -1
- package/dist/module/SubAccount.js +1 -1
- package/dist/module/billing-form.js +1 -1
- package/dist/module/business-additional-questions-form-step.js +120 -0
- package/dist/module/business-additional-questions-schema.js +10 -0
- package/dist/module/business-address-form.js +3 -3
- package/dist/module/business-address-schema.js +18 -0
- package/dist/module/business-core-info-form-step.js +141 -0
- package/dist/module/business-core-info-schema.js +16 -0
- package/dist/module/business-core-info.js +69 -0
- package/dist/module/business-form-select-options.js +82 -0
- package/dist/module/business-form-types.js +19 -0
- package/dist/module/business-identity-schema.js +38 -0
- package/dist/{webcomponents/p-3bae0ed3.entry.js → module/business-owners-form-step.js} +213 -1
- package/dist/module/business-representative-form-step.js +157 -0
- package/dist/module/business-representative.js +1 -1
- package/dist/module/checkout-core.js +1 -1
- package/dist/module/justifi-additional-questions-form-step.d.ts +11 -0
- package/dist/module/justifi-additional-questions-form-step.js +6 -0
- package/dist/module/justifi-business-address-form-step.d.ts +11 -0
- package/dist/module/justifi-business-address-form-step.js +75 -0
- package/dist/module/justifi-business-core-info-form-step.d.ts +11 -0
- package/dist/module/justifi-business-core-info-form-step.js +6 -0
- package/dist/module/justifi-business-core-info.d.ts +11 -0
- package/dist/module/justifi-business-core-info.js +6 -0
- package/dist/module/justifi-business-form-stepped.js +72 -113
- package/dist/module/justifi-business-form.js +19 -14
- package/dist/module/justifi-business-list.js +1 -1
- package/dist/module/justifi-business-owners-form-step.d.ts +11 -0
- package/dist/module/justifi-business-owners-form-step.js +6 -0
- package/dist/module/justifi-business-representative-form-step.d.ts +11 -0
- package/dist/module/justifi-business-representative-form-step.js +6 -0
- package/dist/module/justifi-legal-address-form-step.d.ts +11 -0
- package/dist/module/justifi-legal-address-form-step.js +6 -0
- package/dist/module/justifi-owner-form.d.ts +11 -0
- package/dist/module/justifi-owner-form.js +6 -0
- package/dist/module/justifi-payment-balance-transactions.js +1 -1
- package/dist/module/justifi-proceeds-list.js +1 -1
- package/dist/module/justifi-subaccount-details.js +1 -1
- package/dist/module/justifi-subaccounts-list.js +1 -1
- package/dist/module/legal-address-form-step.js +136 -0
- package/dist/module/owner-form.js +244 -0
- package/dist/module/payload-parsers.js +39 -0
- package/dist/module/payment-details-core2.js +1 -1
- package/dist/module/payment-method-form.js +2 -9
- package/dist/module/payments-list-core2.js +1 -1
- package/dist/module/payout-details-core2.js +1 -1
- package/dist/module/payouts-list-core2.js +1 -1
- package/dist/module/subaccount-merchant-details2.js +1 -1
- package/dist/module/utils2.js +17 -1
- package/dist/module/utils4.js +10 -0
- package/dist/types/api/Business.d.ts +1 -18
- package/dist/types/api/Identity.d.ts +60 -0
- package/dist/types/components/billing-form/billing-form-schema.d.ts +0 -1
- package/dist/types/components/business-details/owner-details/owner-details.d.ts +1 -1
- package/dist/types/components/business-details/representative-details/representative-details.d.ts +1 -1
- package/dist/types/components/{business-form → business-forms/business-form}/additional-questions/additional-questions.d.ts +1 -1
- package/dist/types/components/{business-form → business-forms/business-form}/business-address/business-address-form.d.ts +1 -1
- package/dist/types/components/{business-form/business-generic-info/business-generic-info.d.ts → business-forms/business-form/business-core-info/business-core-info.d.ts} +5 -5
- package/dist/types/components/{business-form → business-forms/business-form}/business-form.d.ts +5 -10
- package/dist/types/components/{business-form → business-forms/business-form}/business-owners/business-owners.d.ts +1 -1
- package/dist/types/components/{business-form → business-forms/business-form}/business-representative/business-representative.d.ts +1 -1
- package/dist/types/components/{business-form → business-forms/business-form}/legal-address-form/legal-address-form.d.ts +2 -2
- package/dist/types/components/business-forms/business-form-stepped/additional-questions/business-additional-questions-form-step.d.ts +30 -0
- package/dist/types/components/business-forms/business-form-stepped/business-address/business-address-form-step.d.ts +9 -0
- package/dist/types/components/business-forms/business-form-stepped/business-core-info/business-core-info-form-step.d.ts +36 -0
- package/dist/types/components/business-forms/business-form-stepped/business-form-stepped.d.ts +45 -0
- package/dist/types/components/business-forms/business-form-stepped/business-owners/business-owners-form-step.d.ts +36 -0
- package/dist/types/components/business-forms/business-form-stepped/business-representative/business-representative-form-step.d.ts +26 -0
- package/dist/types/components/business-forms/business-form-stepped/legal-address-form/legal-address-form-step.d.ts +31 -0
- package/dist/types/components/business-forms/owner-form/owner-form.d.ts +36 -0
- package/dist/types/components/business-forms/schemas/business-additional-questions-schema.d.ts +11 -0
- package/dist/types/components/{business-form/business-address/business-address-form-schema.d.ts → business-forms/schemas/business-address-schema.d.ts} +11 -8
- package/dist/types/components/business-forms/schemas/business-core-info-schema.d.ts +19 -0
- package/dist/types/components/{business-form → business-forms/schemas}/business-form-schema.d.ts +2 -26
- package/dist/types/components/business-forms/schemas/business-identity-schema.d.ts +59 -0
- package/dist/types/components/business-forms/schemas/business-owners-schema.d.ts +33 -0
- package/dist/types/components/business-forms/utils/business-form-select-options.d.ts +11 -0
- package/dist/types/components/business-forms/utils/business-form-types.d.ts +39 -0
- package/dist/types/components/business-forms/utils/payload-parsers.d.ts +4 -0
- package/dist/types/components/form/form.d.ts +1 -1
- package/dist/types/components/form/utils.d.ts +1 -0
- package/dist/types/components.d.ts +409 -59
- package/dist/types/utils/utils.d.ts +2 -0
- package/dist/webcomponents/p-0399f02b.entry.js +1 -0
- package/dist/webcomponents/{p-4edd9721.js → p-04a98c63.js} +1 -1
- package/dist/webcomponents/p-06888c2e.entry.js +1 -0
- package/dist/webcomponents/{p-adc96df1.entry.js → p-07b326d0.entry.js} +1 -1
- package/dist/webcomponents/p-0811bc77.entry.js +1 -0
- package/dist/webcomponents/p-17d72f4a.js +1 -0
- package/dist/webcomponents/{p-babd292f.entry.js → p-17f64853.entry.js} +1 -1
- package/dist/webcomponents/{p-97c42345.entry.js → p-1bfadb9f.entry.js} +1 -1
- package/dist/webcomponents/p-22085999.entry.js +1 -0
- package/dist/webcomponents/{p-531844f6.entry.js → p-252835df.entry.js} +1 -1
- package/dist/webcomponents/{p-34f9fe6b.js → p-28b38699.js} +1 -1
- package/dist/webcomponents/{p-baafa7f5.js → p-34352d04.js} +1 -1
- package/dist/webcomponents/{p-79f99d62.entry.js → p-374c44e6.entry.js} +1 -1
- package/dist/webcomponents/{p-1bac1674.entry.js → p-4697ccfa.entry.js} +1 -1
- package/dist/webcomponents/p-4781cd06.js +1 -0
- package/dist/webcomponents/{p-dc05b5c5.entry.js → p-4d50d08a.entry.js} +1 -1
- package/dist/webcomponents/p-4d806131.entry.js +1 -0
- package/dist/webcomponents/{p-09b94d22.entry.js → p-4df6174c.entry.js} +1 -1
- package/dist/webcomponents/p-4e0b3206.entry.js +1 -0
- package/dist/webcomponents/p-583dd5a2.entry.js +1 -0
- package/dist/webcomponents/{p-c032b216.entry.js → p-5be4e217.entry.js} +1 -1
- package/dist/webcomponents/{p-018b71f5.entry.js → p-5da4fbe7.entry.js} +1 -1
- package/dist/webcomponents/{p-796cf44f.entry.js → p-6103c20d.entry.js} +1 -1
- package/dist/webcomponents/{p-bb037696.js → p-65510838.js} +1 -1
- package/dist/webcomponents/p-688bb5da.js +2 -0
- package/dist/webcomponents/{p-92a55427.entry.js → p-6b51cf97.entry.js} +1 -1
- package/dist/webcomponents/{p-72d1ad98.entry.js → p-7654c70d.entry.js} +1 -1
- package/dist/webcomponents/{p-f64a85cf.entry.js → p-847441ce.entry.js} +1 -1
- package/dist/webcomponents/p-861ba3fc.entry.js +1 -0
- package/dist/webcomponents/p-9207ccb2.entry.js +1 -0
- package/dist/webcomponents/p-975ab96e.js +1 -0
- package/dist/webcomponents/p-9ce8d98c.entry.js +1 -0
- package/dist/webcomponents/p-9e4b81ad.entry.js +1 -0
- package/dist/webcomponents/p-a141c531.js +1 -0
- package/dist/webcomponents/{p-e536a4c1.entry.js → p-a2dbe90f.entry.js} +1 -1
- package/dist/webcomponents/{p-591e29bf.entry.js → p-a46174e0.entry.js} +1 -1
- package/dist/webcomponents/{p-c8d51336.entry.js → p-a98eea84.entry.js} +1 -1
- package/dist/webcomponents/{p-bb7f6095.entry.js → p-b1bc23af.entry.js} +1 -1
- package/dist/webcomponents/{p-ec358d69.entry.js → p-b27c9b0d.entry.js} +1 -1
- package/dist/webcomponents/{p-7cd06ada.entry.js → p-b68f1dd9.entry.js} +1 -1
- package/dist/webcomponents/p-b8f22856.js +1 -0
- package/dist/webcomponents/{p-1cbdca15.entry.js → p-c8d62072.entry.js} +1 -1
- package/dist/webcomponents/{p-c2c3d5d1.entry.js → p-da34bba7.entry.js} +1 -1
- package/dist/webcomponents/{p-3134ab82.entry.js → p-e3748ea4.entry.js} +1 -1
- package/dist/webcomponents/{p-99a8b7d0.entry.js → p-e924f2e1.entry.js} +1 -1
- package/dist/webcomponents/{p-9c310f5c.entry.js → p-ebf7c70f.entry.js} +1 -1
- package/dist/webcomponents/{p-41031759.entry.js → p-eef5ed19.entry.js} +1 -1
- package/dist/webcomponents/{p-8f895ec3.entry.js → p-efc7025c.entry.js} +1 -1
- package/dist/webcomponents/p-f3453ca2.js +1 -0
- package/dist/webcomponents/{p-f55ac955.entry.js → p-f3ca6fda.entry.js} +1 -1
- package/dist/webcomponents/{p-9a63eec9.entry.js → p-fb49ef28.entry.js} +1 -1
- package/dist/webcomponents/{p-9e3771b7.entry.js → p-fe2af0cf.entry.js} +1 -1
- package/dist/webcomponents/{p-41490d96.entry.js → p-fe8a94c1.entry.js} +1 -1
- package/dist/webcomponents/webcomponents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/BusinessFormEventTypes-62990815.js +0 -42
- package/dist/cjs/business-form-schema-37e5381d.js +0 -148
- package/dist/collection/components/business-form/BusinessFormEventTypes.js +0 -6
- package/dist/collection/components/business-form/business-address/business-address-form-schema.js +0 -13
- package/dist/collection/components/business-form/business-form-schema.js +0 -159
- package/dist/collection/components/business-form/business-form-stepped.js +0 -260
- package/dist/collection/components/business-form/business-generic-info/business-generic-info.js +0 -77
- package/dist/collection/components/business-form/business-representative/business-representative-schema.js +0 -1
- package/dist/collection/components/business-form/helpers.js +0 -23
- package/dist/collection/components/business-form/legal-address-form/legal-address-form-schema.js +0 -10
- package/dist/esm/BusinessFormEventTypes-182e20be.js +0 -39
- package/dist/esm/business-form-schema-f8f554d1.js +0 -144
- package/dist/module/BusinessFormEventTypes.js +0 -39
- package/dist/module/business-generic-info.js +0 -210
- package/dist/module/justifi-business-generic-info.d.ts +0 -11
- package/dist/module/justifi-business-generic-info.js +0 -6
- package/dist/types/components/business-form/BusinessFormEventTypes.d.ts +0 -5
- package/dist/types/components/business-form/business-form-stepped.d.ts +0 -48
- package/dist/types/components/business-form/business-representative/business-representative-schema.d.ts +0 -17
- package/dist/types/components/business-form/helpers.d.ts +0 -1
- package/dist/types/components/business-form/legal-address-form/legal-address-form-schema.d.ts +0 -17
- package/dist/webcomponents/p-1b04d091.entry.js +0 -1
- package/dist/webcomponents/p-44b88365.entry.js +0 -1
- package/dist/webcomponents/p-4ed3a9f5.entry.js +0 -1
- package/dist/webcomponents/p-51b0bf2a.entry.js +0 -1
- package/dist/webcomponents/p-5d5d7550.entry.js +0 -1
- package/dist/webcomponents/p-5ea274b8.js +0 -1
- package/dist/webcomponents/p-5f785ede.entry.js +0 -1
- package/dist/webcomponents/p-6d05174c.js +0 -2
- package/dist/webcomponents/p-a81229a5.entry.js +0 -1
- package/dist/webcomponents/p-b8a8b551.js +0 -1
- /package/dist/collection/components/{business-form → business-forms/business-form}/business-address/test/business-address.e2e.js +0 -0
- /package/dist/collection/components/{business-form → business-forms/business-form}/business-address/test/business-address.spec.js +0 -0
- /package/dist/collection/components/{business-form → business-forms/business-form}/business-form.css +0 -0
- /package/dist/collection/components/{business-form → business-forms/business-form}/test/business-form.spec.js +0 -0
- /package/dist/collection/components/{business-form/business-address/business-address-form.css → business-forms/business-form-stepped/business-address/business-address-form-step.css} +0 -0
- /package/dist/collection/components/{business-form/business-generic-info/business-generic-info.css → business-forms/business-form-stepped/business-core-info/business-core-info-form-step.css} +0 -0
- /package/dist/collection/components/{business-form/business-owners/business-owners.css → business-forms/business-form-stepped/business-owners/business-owners-form-step.css} +0 -0
- /package/dist/collection/components/{business-form/business-representative/business-representative.css → business-forms/business-form-stepped/business-representative/business-representative-form-step.css} +0 -0
- /package/dist/collection/components/{business-form/legal-address-form/legal-address-form.css → business-forms/business-form-stepped/legal-address-form/legal-address-form-step.css} +0 -0
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
2
|
+
import { BusinessFormClickEvent } from '../utils/business-form-types';
|
|
3
|
+
/**
|
|
4
|
+
* @exportedPart label: Label for inputs
|
|
5
|
+
* @exportedPart input: The input fields
|
|
6
|
+
* @exportedPart input-invalid: Invalid state for inputfs
|
|
7
|
+
*/
|
|
8
|
+
export declare class BusinessFormStepped {
|
|
9
|
+
authToken: string;
|
|
10
|
+
businessId: string;
|
|
11
|
+
testMode: boolean;
|
|
12
|
+
hideErrors?: boolean;
|
|
13
|
+
formLoading: boolean;
|
|
14
|
+
errorMessage: string;
|
|
15
|
+
currentStep: number;
|
|
16
|
+
totalSteps: number;
|
|
17
|
+
clickEvent: EventEmitter<BusinessFormClickEvent>;
|
|
18
|
+
get showErrors(): boolean;
|
|
19
|
+
get businessEndpoint(): string;
|
|
20
|
+
private coreInfoRef;
|
|
21
|
+
private legalAddressRef;
|
|
22
|
+
private additionalQuestionsRef;
|
|
23
|
+
private representativeRef;
|
|
24
|
+
private ownersRef;
|
|
25
|
+
private refs;
|
|
26
|
+
componentStepMapping: {
|
|
27
|
+
0: () => any;
|
|
28
|
+
1: () => any;
|
|
29
|
+
2: () => any;
|
|
30
|
+
3: () => any;
|
|
31
|
+
4: () => any;
|
|
32
|
+
};
|
|
33
|
+
componentWillLoad(): void;
|
|
34
|
+
handleFormLoading(e: CustomEvent): void;
|
|
35
|
+
handleServerErrors(e: CustomEvent): void;
|
|
36
|
+
showPreviousStepButton(): boolean;
|
|
37
|
+
showNextStepButton(): boolean;
|
|
38
|
+
incrementSteps: () => number;
|
|
39
|
+
decrementSteps: () => number;
|
|
40
|
+
previousStepButtonOnClick(): void;
|
|
41
|
+
nextStepButtonOnClick(e: any, clickEventName: any): void;
|
|
42
|
+
showSubmitButton(): boolean;
|
|
43
|
+
currentStepComponent(): any;
|
|
44
|
+
render(): any;
|
|
45
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { EventEmitter } from '../../../../stencil-public-runtime';
|
|
2
|
+
import { BusinessFormServerErrorEvent, BusinessFormSubmitEvent } from '../../utils/business-form-types';
|
|
3
|
+
import { Owner } from '../../../../api/Identity';
|
|
4
|
+
/**
|
|
5
|
+
* @exportedPart label: Label for inputs
|
|
6
|
+
* @exportedPart input: The input fields
|
|
7
|
+
* @exportedPart input-invalid: Invalid state for inputfs
|
|
8
|
+
*/
|
|
9
|
+
export declare class BusinessOwnersFormStep {
|
|
10
|
+
authToken: string;
|
|
11
|
+
businessId: string;
|
|
12
|
+
owners: Owner[];
|
|
13
|
+
newFormOpen: boolean;
|
|
14
|
+
refs: any[];
|
|
15
|
+
submitted: EventEmitter<BusinessFormSubmitEvent>;
|
|
16
|
+
formLoading: EventEmitter<boolean>;
|
|
17
|
+
serverError: EventEmitter<BusinessFormServerErrorEvent>;
|
|
18
|
+
private api;
|
|
19
|
+
get businessEndpoint(): string;
|
|
20
|
+
get showAddOwnerButton(): boolean;
|
|
21
|
+
private manageRefs;
|
|
22
|
+
private managePayload;
|
|
23
|
+
private matchRef;
|
|
24
|
+
private fetchData;
|
|
25
|
+
private sendData;
|
|
26
|
+
handleResponse(response: any, onSuccess: any): void;
|
|
27
|
+
validateAndSubmit({ onSuccess }: {
|
|
28
|
+
onSuccess: any;
|
|
29
|
+
}): Promise<void>;
|
|
30
|
+
componentWillLoad(): void;
|
|
31
|
+
private addOwnerForm;
|
|
32
|
+
private removeOwnerForm;
|
|
33
|
+
onOwnersUpdated(): void;
|
|
34
|
+
private handleOwnerSubmit;
|
|
35
|
+
render(): any;
|
|
36
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { EventEmitter } from '../../../../stencil-public-runtime';
|
|
2
|
+
import { FormController } from '../../../form/form';
|
|
3
|
+
import { BusinessFormServerErrorEvent, BusinessFormSubmitEvent } from '../../utils/business-form-types';
|
|
4
|
+
export declare class BusinessRepresentativeFormStep {
|
|
5
|
+
authToken: string;
|
|
6
|
+
businessId: string;
|
|
7
|
+
formController: FormController;
|
|
8
|
+
errors: any;
|
|
9
|
+
representative: any;
|
|
10
|
+
submitted: EventEmitter<BusinessFormSubmitEvent>;
|
|
11
|
+
formLoading: EventEmitter<boolean>;
|
|
12
|
+
serverError: EventEmitter<BusinessFormServerErrorEvent>;
|
|
13
|
+
private api;
|
|
14
|
+
get businessEndpoint(): string;
|
|
15
|
+
private fetchData;
|
|
16
|
+
private sendData;
|
|
17
|
+
handleResponse(response: any, onSuccess: any): void;
|
|
18
|
+
validateAndSubmit({ onSuccess }: {
|
|
19
|
+
onSuccess: any;
|
|
20
|
+
}): Promise<void>;
|
|
21
|
+
componentWillLoad(): void;
|
|
22
|
+
componentDidLoad(): void;
|
|
23
|
+
inputHandler: (name: string, value: string) => void;
|
|
24
|
+
onAddressFormUpdate: (values: any) => void;
|
|
25
|
+
render(): any;
|
|
26
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { EventEmitter } from '../../../../stencil-public-runtime';
|
|
2
|
+
import { FormController } from '../../../form/form';
|
|
3
|
+
import { IAddress } from '../../../../api/Business';
|
|
4
|
+
import { BusinessFormServerErrorEvent, BusinessFormSubmitEvent } from '../../utils/business-form-types';
|
|
5
|
+
/**
|
|
6
|
+
* @exportedPart label: Label for inputs
|
|
7
|
+
* @exportedPart input: The input fields
|
|
8
|
+
* @exportedPart input-invalid: Invalid state for inputfs
|
|
9
|
+
*/
|
|
10
|
+
export declare class LegalAddressFormStep {
|
|
11
|
+
authToken: string;
|
|
12
|
+
businessId: string;
|
|
13
|
+
formController: FormController;
|
|
14
|
+
errors: any;
|
|
15
|
+
legal_address: IAddress;
|
|
16
|
+
submitted: EventEmitter<BusinessFormSubmitEvent>;
|
|
17
|
+
formLoading: EventEmitter<boolean>;
|
|
18
|
+
serverError: EventEmitter<BusinessFormServerErrorEvent>;
|
|
19
|
+
private api;
|
|
20
|
+
get businessEndpoint(): string;
|
|
21
|
+
private fetchData;
|
|
22
|
+
private sendData;
|
|
23
|
+
handleResponse(response: any, onSuccess: any): void;
|
|
24
|
+
validateAndSubmit({ onSuccess }: {
|
|
25
|
+
onSuccess: any;
|
|
26
|
+
}): Promise<void>;
|
|
27
|
+
componentWillLoad(): void;
|
|
28
|
+
componentDidLoad(): void;
|
|
29
|
+
inputHandler: (name: string, value: string) => void;
|
|
30
|
+
render(): any;
|
|
31
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { EventEmitter } from '../../../stencil-public-runtime';
|
|
2
|
+
import { FormController } from '../../form/form';
|
|
3
|
+
import { Owner } from '../../../api/Identity';
|
|
4
|
+
import { OwnerFormSubmitEvent, OwnerFormServerErrorEvent } from '../utils/business-form-types';
|
|
5
|
+
export declare class BusinessOwnerForm {
|
|
6
|
+
authToken: string;
|
|
7
|
+
ownerId?: string;
|
|
8
|
+
businessId?: string;
|
|
9
|
+
removeOwner: (id: string) => void;
|
|
10
|
+
newFormOpen?: boolean;
|
|
11
|
+
ownersLength?: number;
|
|
12
|
+
isLoading: boolean;
|
|
13
|
+
formController: FormController;
|
|
14
|
+
errors: any;
|
|
15
|
+
owner: Owner;
|
|
16
|
+
submitted: EventEmitter<OwnerFormSubmitEvent>;
|
|
17
|
+
formLoading: EventEmitter<boolean>;
|
|
18
|
+
serverError: EventEmitter<OwnerFormServerErrorEvent>;
|
|
19
|
+
private api;
|
|
20
|
+
get identityEndpoint(): string;
|
|
21
|
+
get formTitle(): "Edit Business Owner" | "Add Business Owner";
|
|
22
|
+
get submitButtonText(): "Update" | "Add";
|
|
23
|
+
get showRemoveButton(): boolean;
|
|
24
|
+
loadingWatcher(): void;
|
|
25
|
+
private fetchData;
|
|
26
|
+
private sendData;
|
|
27
|
+
handleResponse(response: any): boolean;
|
|
28
|
+
componentWillLoad(): void;
|
|
29
|
+
componentDidLoad(): void;
|
|
30
|
+
inputHandler: (name: string, value: string) => void;
|
|
31
|
+
onAddressFormUpdate: (values: any) => void;
|
|
32
|
+
validate(): Promise<boolean>;
|
|
33
|
+
submit(): Promise<boolean>;
|
|
34
|
+
validateAndSubmit: (event: any) => void;
|
|
35
|
+
render(): any;
|
|
36
|
+
}
|
package/dist/types/components/business-forms/schemas/business-additional-questions-schema.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare const additionQuestionsSchema: import("yup").ObjectSchema<{
|
|
2
|
+
business_revenue: string;
|
|
3
|
+
business_payment_volume: string;
|
|
4
|
+
business_dispute_volume: string;
|
|
5
|
+
business_receivable_volume: string;
|
|
6
|
+
}, import("yup").AnyObject, {
|
|
7
|
+
business_revenue: undefined;
|
|
8
|
+
business_payment_volume: undefined;
|
|
9
|
+
business_dispute_volume: undefined;
|
|
10
|
+
business_receivable_volume: undefined;
|
|
11
|
+
}, "">;
|
|
@@ -1,23 +1,26 @@
|
|
|
1
|
-
export declare const
|
|
2
|
-
export interface BusinessAddressFormFields {
|
|
1
|
+
export declare const legalAddressSchema: import("yup").ObjectSchema<{
|
|
3
2
|
line1: string;
|
|
4
|
-
line2
|
|
3
|
+
line2: string;
|
|
5
4
|
city: string;
|
|
6
5
|
state: string;
|
|
7
6
|
postal_code: string;
|
|
8
7
|
country: string;
|
|
9
|
-
}
|
|
10
|
-
|
|
8
|
+
}, import("yup").AnyObject, {
|
|
9
|
+
line1: undefined;
|
|
10
|
+
line2: undefined;
|
|
11
|
+
city: undefined;
|
|
12
|
+
state: undefined;
|
|
13
|
+
postal_code: undefined;
|
|
14
|
+
country: undefined;
|
|
15
|
+
}, "">;
|
|
16
|
+
export declare const identityAddressSchema: import("yup").ObjectSchema<{
|
|
11
17
|
line1: string;
|
|
12
|
-
line2: string;
|
|
13
18
|
city: string;
|
|
14
19
|
state: string;
|
|
15
20
|
postal_code: string;
|
|
16
21
|
}, import("yup").AnyObject, {
|
|
17
22
|
line1: undefined;
|
|
18
|
-
line2: undefined;
|
|
19
23
|
city: undefined;
|
|
20
24
|
state: undefined;
|
|
21
25
|
postal_code: undefined;
|
|
22
26
|
}, "">;
|
|
23
|
-
export default BusinessAddressFormSchema;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const businessCoreInfoSchema: import("yup").ObjectSchema<{
|
|
2
|
+
legal_name: string;
|
|
3
|
+
website_url: string;
|
|
4
|
+
email: string;
|
|
5
|
+
phone: string;
|
|
6
|
+
doing_business_as: string;
|
|
7
|
+
business_type: string;
|
|
8
|
+
business_structure: string;
|
|
9
|
+
industry: string;
|
|
10
|
+
}, import("yup").AnyObject, {
|
|
11
|
+
legal_name: undefined;
|
|
12
|
+
website_url: undefined;
|
|
13
|
+
email: undefined;
|
|
14
|
+
phone: undefined;
|
|
15
|
+
doing_business_as: undefined;
|
|
16
|
+
business_type: undefined;
|
|
17
|
+
business_structure: undefined;
|
|
18
|
+
industry: undefined;
|
|
19
|
+
}, "">;
|
package/dist/types/components/{business-form → business-forms/schemas}/business-form-schema.d.ts
RENAMED
|
@@ -1,27 +1,4 @@
|
|
|
1
|
-
export declare const
|
|
2
|
-
type BusinessType = 'for_profit' | 'non_profit' | 'government_entity' | 'individual' | '';
|
|
3
|
-
type BusinessStructure = 'sole_proprietorship' | 'single_llc' | 'multi_llc' | 'private_partnership' | 'private_corporation' | 'unincorporated_association' | 'public_partnership' | 'public_corporation' | 'incorporated' | 'unincorporated' | 'government_unit' | 'government_instrumentality' | 'tax_exempt_government_instrumentality' | '';
|
|
4
|
-
export declare class Business {
|
|
5
|
-
legal_name: string;
|
|
6
|
-
website_url: string;
|
|
7
|
-
email: string;
|
|
8
|
-
phone: string;
|
|
9
|
-
doing_business_as: string;
|
|
10
|
-
business_type: string;
|
|
11
|
-
business_structure: string;
|
|
12
|
-
industry: string;
|
|
13
|
-
metadata: any;
|
|
14
|
-
constructor(data?: any);
|
|
15
|
-
}
|
|
16
|
-
export declare const BusinessTypeOptions: {
|
|
17
|
-
label: string;
|
|
18
|
-
value: BusinessType;
|
|
19
|
-
}[];
|
|
20
|
-
export declare const BusinessStructureOptions: {
|
|
21
|
-
label: string;
|
|
22
|
-
value: BusinessStructure;
|
|
23
|
-
}[];
|
|
24
|
-
declare const businessFormSchema: import("yup").ObjectSchema<{
|
|
1
|
+
export declare const businessFormSchema: import("yup").ObjectSchema<{
|
|
25
2
|
legal_address: {
|
|
26
3
|
city?: string;
|
|
27
4
|
state?: string;
|
|
@@ -37,13 +14,13 @@ declare const businessFormSchema: import("yup").ObjectSchema<{
|
|
|
37
14
|
business_receivable_volume?: string;
|
|
38
15
|
};
|
|
39
16
|
representative: {
|
|
40
|
-
name?: string;
|
|
41
17
|
address?: {
|
|
42
18
|
city?: string;
|
|
43
19
|
state?: string;
|
|
44
20
|
line1?: string;
|
|
45
21
|
postal_code?: string;
|
|
46
22
|
};
|
|
23
|
+
name?: string;
|
|
47
24
|
email?: string;
|
|
48
25
|
phone?: string;
|
|
49
26
|
dob_day?: string;
|
|
@@ -98,4 +75,3 @@ declare const businessFormSchema: import("yup").ObjectSchema<{
|
|
|
98
75
|
business_structure: undefined;
|
|
99
76
|
industry: undefined;
|
|
100
77
|
}, "">;
|
|
101
|
-
export default businessFormSchema;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
export declare const phoneRegex: RegExp;
|
|
2
|
+
export declare const representativeSchema: import("yup").ObjectSchema<{
|
|
3
|
+
name: string;
|
|
4
|
+
email: string;
|
|
5
|
+
phone: string;
|
|
6
|
+
dob_day: string;
|
|
7
|
+
dob_month: string;
|
|
8
|
+
dob_year: string;
|
|
9
|
+
identification_number: string;
|
|
10
|
+
address: {
|
|
11
|
+
city?: string;
|
|
12
|
+
state?: string;
|
|
13
|
+
line1?: string;
|
|
14
|
+
postal_code?: string;
|
|
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: {
|
|
40
|
+
city?: string;
|
|
41
|
+
state?: string;
|
|
42
|
+
line1?: string;
|
|
43
|
+
postal_code?: string;
|
|
44
|
+
};
|
|
45
|
+
}, import("yup").AnyObject, {
|
|
46
|
+
name: undefined;
|
|
47
|
+
email: undefined;
|
|
48
|
+
phone: undefined;
|
|
49
|
+
dob_day: undefined;
|
|
50
|
+
dob_month: undefined;
|
|
51
|
+
dob_year: undefined;
|
|
52
|
+
identification_number: undefined;
|
|
53
|
+
address: {
|
|
54
|
+
line1: undefined;
|
|
55
|
+
city: undefined;
|
|
56
|
+
state: undefined;
|
|
57
|
+
postal_code: undefined;
|
|
58
|
+
};
|
|
59
|
+
}, "">;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export declare const ownerSchema: import("yup").ObjectSchema<{
|
|
2
|
+
name: string;
|
|
3
|
+
title: string;
|
|
4
|
+
email: string;
|
|
5
|
+
phone: string;
|
|
6
|
+
dob_day: string;
|
|
7
|
+
dob_month: string;
|
|
8
|
+
dob_year: string;
|
|
9
|
+
identification_number: string;
|
|
10
|
+
is_owner: boolean;
|
|
11
|
+
address: {
|
|
12
|
+
city?: string;
|
|
13
|
+
state?: string;
|
|
14
|
+
line1?: string;
|
|
15
|
+
postal_code?: string;
|
|
16
|
+
};
|
|
17
|
+
}, import("yup").AnyObject, {
|
|
18
|
+
name: undefined;
|
|
19
|
+
title: undefined;
|
|
20
|
+
email: undefined;
|
|
21
|
+
phone: undefined;
|
|
22
|
+
dob_day: undefined;
|
|
23
|
+
dob_month: undefined;
|
|
24
|
+
dob_year: undefined;
|
|
25
|
+
identification_number: undefined;
|
|
26
|
+
is_owner: undefined;
|
|
27
|
+
address: {
|
|
28
|
+
line1: undefined;
|
|
29
|
+
city: undefined;
|
|
30
|
+
state: undefined;
|
|
31
|
+
postal_code: undefined;
|
|
32
|
+
};
|
|
33
|
+
}, "">;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
type BusinessType = 'for_profit' | 'non_profit' | 'government_entity' | 'individual' | '';
|
|
2
|
+
type BusinessStructure = 'sole_proprietorship' | 'single_llc' | 'multi_llc' | 'private_partnership' | 'private_corporation' | 'unincorporated_association' | 'public_partnership' | 'public_corporation' | 'incorporated' | 'unincorporated' | 'government_unit' | 'government_instrumentality' | 'tax_exempt_government_instrumentality' | '';
|
|
3
|
+
export declare const BusinessTypeOptions: {
|
|
4
|
+
label: string;
|
|
5
|
+
value: BusinessType;
|
|
6
|
+
}[];
|
|
7
|
+
export declare const BusinessStructureOptions: {
|
|
8
|
+
label: string;
|
|
9
|
+
value: BusinessStructure;
|
|
10
|
+
}[];
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export interface BusinessFormSubmitEvent {
|
|
2
|
+
data: any;
|
|
3
|
+
metadata?: BusinessFormEventMetaData;
|
|
4
|
+
}
|
|
5
|
+
export interface BusinessFormClickEvent {
|
|
6
|
+
data?: any;
|
|
7
|
+
name: BusinessFormClickActions;
|
|
8
|
+
}
|
|
9
|
+
export interface BusinessFormServerErrorEvent {
|
|
10
|
+
data?: any;
|
|
11
|
+
message: BusinessFormServerErrors;
|
|
12
|
+
}
|
|
13
|
+
interface BusinessFormEventMetaData {
|
|
14
|
+
completedStep?: BusinessFormStep;
|
|
15
|
+
}
|
|
16
|
+
type BusinessFormStep = 'coreInfo' | 'legalAddress' | 'additionalQuestions' | 'representative' | 'owners';
|
|
17
|
+
export declare enum BusinessFormServerErrors {
|
|
18
|
+
fetchData = "Error retrieving business data",
|
|
19
|
+
patchData = "Error updating business data"
|
|
20
|
+
}
|
|
21
|
+
export declare enum BusinessFormClickActions {
|
|
22
|
+
nextStep = "nextStep",
|
|
23
|
+
previousStep = "previousStep",
|
|
24
|
+
submit = "submit"
|
|
25
|
+
}
|
|
26
|
+
export interface OwnerFormSubmitEvent {
|
|
27
|
+
data: any;
|
|
28
|
+
metadata?: any;
|
|
29
|
+
}
|
|
30
|
+
export interface OwnerFormServerErrorEvent {
|
|
31
|
+
data?: any;
|
|
32
|
+
message: OwnerFormServerErrors;
|
|
33
|
+
}
|
|
34
|
+
export declare enum OwnerFormServerErrors {
|
|
35
|
+
fetchData = "Error retrieving owner data",
|
|
36
|
+
patchData = "Error updating owner data",
|
|
37
|
+
postData = "Error adding owner data"
|
|
38
|
+
}
|
|
39
|
+
export {};
|
|
@@ -13,7 +13,7 @@ export declare class FormController {
|
|
|
13
13
|
private processRegularError;
|
|
14
14
|
private setNestedError;
|
|
15
15
|
private setError;
|
|
16
|
-
|
|
16
|
+
validate(context?: any): Promise<boolean>;
|
|
17
17
|
validateAndSubmit(submitHandler: () => void, context?: any): Promise<void>;
|
|
18
18
|
setInitialValues(values: any): void;
|
|
19
19
|
setValues(values: any): void;
|