@adyen/kyc-components 3.89.1 → 3.90.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/{AcceptTermsOfServiceComponent-De5XWtcz.js → AcceptTermsOfServiceComponent-jlzA4hRO.js} +42 -60
- package/dist/{Accordion-CW9GGywE.js → Accordion-48qDUfrn.js} +1 -1
- package/dist/{AccountSetupRejected-_IN29uU8.js → AccountSetupRejected-eL8cEb4U.js} +3 -3
- package/dist/{ActionBar-CkNDXAZ3.js → ActionBar-BO6XSNuM.js} +1 -1
- package/dist/{Address-CIRweyT6.js → Address-BCTZUD2J.js} +25 -56
- package/dist/{Alert-Dr-PTLt5.js → Alert-DlSROjS7.js} +6 -6
- package/dist/{Avatar-DttOKUv4.js → Avatar-1DJaB2Fj.js} +1 -1
- package/dist/{BusinessDetailsMultiformDropin-ByrdkEK1.js → BusinessDetailsDropin-lXErWzqC.js} +1268 -3090
- package/dist/{BusinessFinancingComponent-D5Edu6Jp.js → BusinessFinancingComponent-C6wgWrZx.js} +6 -5
- package/dist/{BusinessFinancingDropin-D2J61fEL.js → BusinessFinancingDropin-Doz0wI42.js} +23 -33
- package/dist/{BusinessFinancingPage-C06ar5yw.js → BusinessFinancingPage-CWkMdnqc.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-CP0UXFG_.js → BusinessTypeSelectionPage-DFJqkG5_.js} +8 -9
- package/dist/{Card-thNJfUJi.js → Card-I1r9oUx8.js} +2 -2
- package/dist/{ConstitutionalDocument-Dzckgb-_.js → ConstitutionalDocument-DdFjrLEq.js} +3 -3
- package/dist/{CountryField-CJeBvrKJ.js → CountryField-BO-n2nAh.js} +6 -6
- package/dist/{CreateIndividualComponent-BDAKxFP2.js → CreateIndividualComponent-D14kgQET.js} +5 -5
- package/dist/{CreateTransferInstrumentComponent-vfia76fK.js → CreateTransferInstrumentComponent-DOM7CWHW.js} +4 -4
- package/dist/{Currency-CJF_TGyQ.js → Currency-U_NBiYL_.js} +7 -7
- package/dist/{CustomerSupport-C_fh3_q2.js → CustomerSupport-gUFWyk3X.js} +10 -10
- package/dist/{DebugModal-8s0KmcYQ.js → DebugModal-B-9dnXq3.js} +9 -9
- package/dist/{DecisionMakerDetailsPage-BcaNuUzU.js → DecisionMakerDetailsPage-Y59IaBti.js} +6 -6
- package/dist/{DecisionMakers-BShMorMY.js → DecisionMakers-CXX7UaII.js} +20 -20
- package/dist/{EmbeddedStatus-Bsq1fp5z.js → EmbeddedStatus-DY5iLZFD.js} +2 -2
- package/dist/{EndStateLayout-BzHmhWSo.js → EndStateLayout-CwW4wDY8.js} +1 -1
- package/dist/{EntityAssociation-CzUai3Yh.js → EntityAssociation-CYAh0KGI.js} +8 -8
- package/dist/{EntityGuidanceStatus-B6luxhbo.js → EntityGuidanceStatus-Dkb_9kLQ.js} +2 -2
- package/dist/FormFlow-Dgc0gB-O.js +186 -0
- package/dist/{FormNavigation-trlYkLTT.js → FormNavigation-BE3rLf_S.js} +3 -3
- package/dist/{FormWrapper-CmShqeDn.js → FormWrapper-B7su5eh3.js} +10 -10
- package/dist/{IndividualOnfido-BziAZ51z.js → IndividualOnfido-DH3VYYau.js} +71 -74
- package/dist/{IndividualOnfidoDropin-DQpZ6OI1.js → IndividualOnfidoDropin-SiWSMsi9.js} +30 -33
- package/dist/{InputText-DmMvZip7.js → InputText-DR70nC51.js} +6 -6
- package/dist/{Introduction-Wu-LBXX2.js → Introduction-C2X6DyHw.js} +4 -4
- package/dist/{JpAddress-Bl9Ppmv5.js → JpAddress-CvQyBExq.js} +8 -8
- package/dist/{LegalRepresentativeDetailsPage-Cxy69AD6.js → LegalRepresentativeDetailsPage-Wf7cQkQn.js} +4 -4
- package/dist/{ListItem-DvTbHRWc.js → ListItem-BBHNYCCw.js} +2 -2
- package/dist/{ManageIndividualComponent-DIf-I6d0.js → ManageIndividualComponent-DPh2Jp_T.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-BK3ywG-g.js → ManageTermsOfServiceComponent-4-iML1dO.js} +4 -4
- package/dist/{ManageTransferInstrumentComponent-DHfft4DJ.js → ManageTransferInstrumentComponent-D8MMBSWg.js} +12 -12
- package/dist/{MaybeModal-Bw31z92e.js → MaybeModal-Us27ek4u.js} +15 -4
- package/dist/{Modal-B-CzUny3.js → Modal-W8cfdxrr.js} +4 -4
- package/dist/{OnboardingDropinComponent-Dc5Z3bna.js → OnboardingDropinComponent-HHq3dL3N.js} +1406 -1731
- package/dist/{PayoutDetailsDropin-DrESJrLF.js → PayoutDetailsDropin-M9FYw20B.js} +62 -42
- package/dist/ProgressBar-B7gTQncy.js +47 -0
- package/dist/{Review-CN0zdu0c.js → Review-CUNKnKSZ.js} +7 -7
- package/dist/{RootBusinessDetailsPage-DsCMT0gE.js → RootBusinessDetailsPage-DC0qALED.js} +7 -22
- package/dist/{RootBusinessLinesPage-D0djzhVg.js → RootBusinessLinesPage-B8gUQ93t.js} +146 -41
- package/dist/{RootIndividualDetailsPage-C49Q1XPl.js → RootIndividualDetailsPage-ULrh2_YN.js} +6 -6
- package/dist/{SignPCIComponent-Dm45H-8u.js → SignPCIComponent-MnotetIL.js} +10 -10
- package/dist/{SingpassSelection-DR7s4WiD.js → SingpassSelection-BWdMU1Lv.js} +4 -4
- package/dist/{SoleProprietorshipPage-C2_d7XKS.js → SoleProprietorshipPage-C9mxOyGm.js} +5 -19
- package/dist/{SourceOfFundsPage-SHeYHpGr.js → SourceOfFundsPage-bptpOZNp.js} +25 -25
- package/dist/{fieldConfigurations-Kb-fhpg7.js → Spacer-D-c-0ch_.js} +34 -24
- package/dist/{StepProgressIndicator-yqQhirdb.js → StepProgressIndicator--8FNnauI.js} +1 -1
- package/dist/{StoreProvider-BHckWEYg.js → StoreProvider-D_0Pta7w.js} +130 -98
- package/dist/{Summary-Df0SenAt.js → Summary-D741mrWG.js} +4 -4
- package/dist/{TaxReportingDropin-CKin6_Er.js → TaxReportingDropin-D2gjRJag.js} +16 -16
- package/dist/{TrustDetailsPage-C699_2RX.js → TrustDetailsPage-Dj64OqRJ.js} +27 -27
- package/dist/{TrustMemberCompanyPage-Bgh-8J6_.js → TrustMemberCompanyPage-DlnCvpf5.js} +6 -22
- package/dist/{TrustMemberIndividualPage-2gZsrdqt.js → TrustMemberIndividualPage-D8LSPYGf.js} +4 -4
- package/dist/{TrustMemberRoleAndTypePage-BB41jjVq.js → TrustMemberRoleAndTypePage-CN7oQduU.js} +15 -15
- package/dist/{TrustMembersOverview-DkpHLa-c.js → TrustMembersOverview-C2VH8NIl.js} +12 -12
- package/dist/{UnincorporatedPartnershipIndividualPage-uZBKkJwX.js → UnincorporatedPartnershipIndividualPage-fN2QrGh4.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-CVa6qF3n.js → UnincorporatedPartnershipMemberCompanyPage-BUEeNfv-.js} +6 -22
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-Ctl2MPKX.js → UnincorporatedPartnershipMemberRoleAndTypePage-DeUAOKnx.js} +9 -9
- package/dist/{UnincorporatedPartnershipMembersOverview-DZPLX8gp.js → UnincorporatedPartnershipMembersOverview-EeE4JNAc.js} +9 -9
- package/dist/{VerificationErrorAlert-BVoljWxM.js → VerificationErrorAlert-COgw5uh1.js} +4 -4
- package/dist/{ViewVerificationStatusComponent-B_gl5t76.js → ViewVerificationStatusComponent-CaPz-G-G.js} +4 -4
- package/dist/adyen-business-financing.js +8 -4
- package/dist/adyen-individual-configuration.js +2 -2
- package/dist/adyen-individual-status.js +2 -2
- package/dist/adyen-kyc-components.js +20 -20
- package/dist/adyen-onboarding.js +2 -2
- package/dist/adyen-terms-of-service-management.js +2 -2
- package/dist/adyen-terms-of-service-status.js +2 -2
- package/dist/adyen-transfer-instrument-configuration.js +2 -2
- package/dist/adyen-transfer-instrument-management.js +2 -2
- package/dist/adyen-verification-status.js +2 -2
- package/dist/cross-circle-fill-maan7Z5S.js +17 -0
- package/dist/{debouncedInputEvent-C-zXYOuE.js → debouncedInputEvent-ZbuNEN6W.js} +2 -2
- package/dist/{documentUtils-l4Di7U18.js → documentUtils-XUGK4RIp.js} +3 -3
- package/dist/{dropinUtils-Cm6ETaTL.js → dropinUtils-Dggo6PZA.js} +4 -4
- package/dist/en-US-AgtwE4Fl.js +63 -0
- package/dist/{getFieldsWithExistingData-BdYN38hE.js → getFieldsWithExistingData-KwCfBJn2.js} +1 -1
- package/dist/{getName-BUZJBcAE.js → getName-B1UTZRuu.js} +2 -9
- package/dist/{hasDataChanged-D9Qx_JCQ.js → hasDataChanged-CSn4V18R.js} +2 -2
- package/dist/{iframeWidget-CemJJ3EA.js → iframeWidget-BDp1ajgy.js} +4 -4
- package/dist/info-filled-SQotHmT9.js +17 -0
- package/dist/{localizeDateString-DyXarzIl.js → localizeDateString-CZrFwyd0.js} +1 -1
- package/dist/{mapExistingFile-COnTFqXJ.js → mapExistingFile-D5fqNt1l.js} +2 -2
- package/dist/{mapFinancialReportsToFinancialInformation-BK4mXy3k.js → mapFinancialReportsToFinancialInformation-eCMwJnwj.js} +3 -3
- package/dist/{mapJpAddressSchemaToAddressLocalizations-BulGG0pe.js → mapJpAddressSchemaToAddressLocalizations-i8O5_wuI.js} +3 -3
- package/dist/{mapLegalEntityToIndividualOnfidoSchema-BMDtouhh.js → mapLegalEntityToIndividualOnfidoSchema-Cyg_384J.js} +3 -3
- package/dist/{mapTransferInstrumentToPayoutAccount-MpVqVhGS.js → mapTransferInstrumentToPayoutAccount-BOYDxAUf.js} +1 -1
- package/dist/{process-field-configurations-kh7VAcBh.js → process-field-configurations-ClLFHxX6.js} +3 -3
- package/dist/{resolveEnvironment-D-9wHJs2.js → resolveEnvironment-D8CEfrp4.js} +3 -3
- package/dist/{rules-DFisB-1M.js → rules-Cr3Ka8oq.js} +5 -5
- package/dist/style.css +268 -233
- package/dist/styles-CLV89_hH.js +268 -233
- package/dist/types/api/companySelection/useCompanySelection.d.ts +2 -18
- package/dist/types/components/Business/forms/AdditionalInformation/AdditionalInformation.d.ts +8 -2
- package/dist/types/components/Business/forms/BasicInformation/BasicInformation.d.ts +1 -3
- package/dist/types/components/Business/forms/BasicInformation/types.d.ts +5 -18
- package/dist/types/components/Business/forms/BusinessDetails/types.d.ts +0 -21
- package/dist/types/components/Business/forms/BusinessSelection/BusinessSelection.d.ts +13 -2
- package/dist/types/components/Business/forms/BusinessSelection/types.d.ts +0 -11
- package/dist/types/components/Business/forms/CompanyStructure/CompanyStructure.d.ts +3 -2
- package/dist/types/components/Business/forms/CompanyStructure/types.d.ts +0 -6
- package/dist/types/components/Business/mapping/businessDetails/mapLegalEntityToBusinessDetailsSchema.d.ts +1 -2
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/BusinessDetailsDropin.d.ts +3 -3
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +7 -4
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/utils.d.ts +23 -2
- package/dist/types/components/BusinessLines/forms/SctaForm/SctaInfoModal.d.ts +3 -0
- package/dist/types/components/Contract/tasks/ServiceAgreementDropin/ServiceAgreementDropin.d.ts +1 -1
- package/dist/types/components/Contract/tasks/ServiceAgreementDropin/types.d.ts +2 -2
- package/dist/types/components/Shared/FormFlow/FormFlow.d.ts +1 -1
- package/dist/types/components/Shared/FormFlow/FormFlow.types.d.ts +0 -2
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/components/ui/atoms/Link/Link.types.d.ts +1 -1
- package/dist/types/components/ui/atoms/Loader/Loader.d.ts +1 -5
- package/dist/types/components/ui/atoms/Modal/MaybeModal.d.ts +1 -1
- package/dist/types/components/ui/atoms/Svg/svgs.d.ts +4 -0
- package/dist/types/context/ExperimentContext/types.d.ts +6 -5
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/{types-DJeg3Tz6.js → types-CR2U3VAD.js} +1 -1
- package/dist/{types-1iAHHNsZ.js → types-DjTezJBU.js} +1 -1
- package/dist/{types-CHr4VLHl.js → types-Dk94b8kx.js} +7 -6
- package/dist/{types-BDHLVBb5.js → types-Gm2SleFm.js} +1 -1
- package/dist/{useAssociatedLegalEntity-qIkD-MFM.js → useAssociatedLegalEntity-Pgb7_79V.js} +1 -1
- package/dist/{useCreateLegalEntity-CDFKMwwk.js → useCreateLegalEntity-Ba2rxRgb.js} +2 -2
- package/dist/{useDataset-D1AsbWmY.js → useDataset-RNFlX1-i.js} +4 -4
- package/dist/{useForm-DzONzNQu.js → useForm-C261ZUdn.js} +10 -9
- package/dist/{useGlobalData-B5sNYBl5.js → useGlobalData-COSDbjgb.js} +5 -5
- package/dist/{useMultiForm-Dd80_VRc.js → useMultiForm--zHGgbxw.js} +3 -3
- package/dist/{useOnboardingStatus-YrIRg4io.js → useOnboardingStatus-DytPj9Ai.js} +1 -1
- package/dist/{useScenarios-BkCy7ImD.js → useScenarios-eYrKID9N.js} +2 -2
- package/dist/{useTermsOfServiceStatus-D2rhp6YQ.js → useTermsOfServiceStatus-BYJqq3Oi.js} +1 -1
- package/dist/{useToastContext-5JlKjAbN.js → useToastContext-CqIJgGTa.js} +2 -2
- package/dist/{useUnincorporatedPartnershipMembers-Dwj2XshB.js → useUnincorporatedPartnershipMembers-HC3erocB.js} +4 -4
- package/dist/{useUpdateBusinessLines-DzLgvolo.js → useUpdateBusinessLines-Dq3B1Jvy.js} +2 -2
- package/dist/{useUpdateLegalEntity-BzuSuul0.js → useUpdateLegalEntity-BPQX_o3v.js} +3 -3
- package/dist/{utils-DjzolTRQ.js → utils-B_eQ3Eny.js} +3 -3
- package/dist/{utils-Da-KDnEH.js → utils-BbmGXGUy.js} +6 -6
- package/dist/{validate-D7GAD2-j.js → validate-ArlZWHo0.js} +1 -1
- package/dist/{validate-B48OR9iz.js → validate-B_v0PjtX.js} +1 -1
- package/dist/{validationError-DzkunflV.js → validationError-BQZWqXfp.js} +1 -1
- package/package.json +2 -2
- package/dist/FormFlow-CEyVMiHY.js +0 -224
- package/dist/en-US-CBsokt1L.js +0 -42
- package/dist/types/components/Business/forms/AdditionalInformation/AdditionalInformationMultiform.d.ts +0 -9
- package/dist/types/components/Business/forms/BasicInformation/BasicInformationMultiform.d.ts +0 -11
- package/dist/types/components/Business/forms/BusinessDetails/BusinessDetails.d.ts +0 -3
- package/dist/types/components/Business/forms/BusinessSelection/BusinessSelectionMultiform.d.ts +0 -14
- package/dist/types/components/Business/forms/CompanyStructure/CompanyStructureMultiform.d.ts +0 -4
- package/dist/types/components/Business/tasks/BusinessDetailsMultiformDropin/BusinessDetailsMultiformDropin.d.ts +0 -5
- package/dist/types/components/Business/tasks/BusinessDetailsMultiformDropin/types.d.ts +0 -2
- package/dist/types/components/Business/tasks/BusinessDetailsMultiformDropin/utils.d.ts +0 -23
- /package/dist/types/components/Business/{tasks/BusinessDetailsMultiformDropin → forms/BusinessDetails}/BusinessDetailsMultiform.d.ts +0 -0
- /package/dist/types/components/Business/tasks/{BusinessDetailsMultiformDropin → BusinessDetailsDropin}/validate.d.ts +0 -0
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "c9cf651e-dbd9-4712-a3db-8ad38af92c4a", e._sentryDebugIdIdentifier = "sentry-dbid-c9cf651e-dbd9-4712-a3db-8ad38af92c4a");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext,
|
|
10
|
+
import { b as useApiContext, $ as useMutation, k as httpPost } from "./StoreProvider-D_0Pta7w.js";
|
|
11
11
|
const createBusinessLine = async (legalEntityId, baseUrl, data) => {
|
|
12
12
|
return httpPost(
|
|
13
13
|
{
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "383c2ba3-307b-4830-9536-184be16869f5", e._sentryDebugIdIdentifier = "sentry-dbid-383c2ba3-307b-4830-9536-184be16869f5");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext,
|
|
11
|
-
import { c as useInvalidateRootLegalEntity } from "./useToastContext-
|
|
10
|
+
import { b as useApiContext, a1 as useQueryClient, $ as useMutation, k as httpPost } from "./StoreProvider-D_0Pta7w.js";
|
|
11
|
+
import { c as useInvalidateRootLegalEntity } from "./useToastContext-CqIJgGTa.js";
|
|
12
12
|
const updateLegalEntity = async (rootLegalEntityId, baseUrl, data) => {
|
|
13
13
|
return httpPost(
|
|
14
14
|
{
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { r as LegalEntityTypes, G as Typography } from "./StoreProvider-
|
|
12
|
-
import { C as Currencies } from "./types-
|
|
13
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
11
|
+
import { r as LegalEntityTypes, G as Typography } from "./StoreProvider-D_0Pta7w.js";
|
|
12
|
+
import { C as Currencies } from "./types-DjTezJBU.js";
|
|
13
|
+
import { l as localizeDateString } from "./localizeDateString-CZrFwyd0.js";
|
|
14
14
|
const formatCurrency = (amount, currency, locale) => {
|
|
15
15
|
const { format } = new Intl.NumberFormat(
|
|
16
16
|
locale,
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "497934ef-9eb9-43fb-9bad-b74c0ebfc40e", e._sentryDebugIdIdentifier = "sentry-dbid-497934ef-9eb9-43fb-9bad-b74c0ebfc40e");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { C as CompanyTypesValues } from "./IndividualOnfido-
|
|
11
|
-
import { g as getLegalEntityCountry, bz as getCapabilities, r as LegalEntityTypes, H as hasOwnEntityAssociationOfType, C as CountryCodes } from "./StoreProvider-
|
|
12
|
-
import { d as allowIndividualWithoutSoleProp } from "./OnboardingDropinComponent-
|
|
13
|
-
import { S as SOLE_PROP_COUNTRIES } from "./rules-
|
|
14
|
-
import { A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-
|
|
10
|
+
import { C as CompanyTypesValues } from "./IndividualOnfido-DH3VYYau.js";
|
|
11
|
+
import { g as getLegalEntityCountry, bz as getCapabilities, r as LegalEntityTypes, H as hasOwnEntityAssociationOfType, C as CountryCodes } from "./StoreProvider-D_0Pta7w.js";
|
|
12
|
+
import { d as allowIndividualWithoutSoleProp } from "./OnboardingDropinComponent-HHq3dL3N.js";
|
|
13
|
+
import { S as SOLE_PROP_COUNTRIES } from "./rules-Cr3Ka8oq.js";
|
|
14
|
+
import { A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-Gm2SleFm.js";
|
|
15
15
|
const TRUST_COUNTRIES = [CountryCodes.Australia, CountryCodes.NewZealand];
|
|
16
16
|
const BUSINESS_BANK_ACCOUNT_COUNTRIES = [
|
|
17
17
|
CountryCodes.UnitedStates,
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useCallback } from "preact/hooks";
|
|
11
|
-
import { b as useApiContext, k as httpPost } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, k as httpPost } from "./StoreProvider-D_0Pta7w.js";
|
|
12
12
|
import { e as emailPattern } from "./basePatterns-BwdnMQxI.js";
|
|
13
13
|
const validatePhoneNumber = (baseUrl, data) => {
|
|
14
14
|
return httpPost(
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { O as TaskTypes, bm as remediationPayoutApiKeyMapping, bn as remediationBusinessDetailsApiKeyMapping, bo as remediationIndividualApiKeyMapping } from "./StoreProvider-
|
|
10
|
+
import { O as TaskTypes, bm as remediationPayoutApiKeyMapping, bn as remediationBusinessDetailsApiKeyMapping, bo as remediationIndividualApiKeyMapping } from "./StoreProvider-D_0Pta7w.js";
|
|
11
11
|
import { a as assignToProp } from "./utils-DNSfZiio.js";
|
|
12
12
|
const isMaintenanceModeError = (error) => error && typeof error === "object" && "messageCode" in error && error.messageCode === "maintenanceMode";
|
|
13
13
|
const overrideKeyMapping = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adyen/kyc-components",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.90.0",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"adyen",
|
|
6
6
|
"adyen-kyc",
|
|
@@ -99,7 +99,6 @@
|
|
|
99
99
|
"@storybook/addon-docs": "10.1.10",
|
|
100
100
|
"@storybook/addon-vitest": "10.1.10",
|
|
101
101
|
"@storybook/cli": "10.1.10",
|
|
102
|
-
"@storybook/preact": "10.1.10",
|
|
103
102
|
"@storybook/preact-vite": "10.1.10",
|
|
104
103
|
"@tanstack/eslint-plugin-query": "^5.62.1",
|
|
105
104
|
"@tanstack/react-query": "^5.90.10",
|
|
@@ -150,6 +149,7 @@
|
|
|
150
149
|
"ruins": "^0.2.3",
|
|
151
150
|
"sass": "^1.92.1",
|
|
152
151
|
"storybook": "10.1.10",
|
|
152
|
+
"storybook-addon-tag-badges": "3.0.4",
|
|
153
153
|
"stylelint": "^16.25.0",
|
|
154
154
|
"stylelint-config-recommended-scss": "^14.1.0",
|
|
155
155
|
"stylelint-config-sass-guidelines": "^12.1.0",
|
|
@@ -1,224 +0,0 @@
|
|
|
1
|
-
;
|
|
2
|
-
{
|
|
3
|
-
try {
|
|
4
|
-
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "e6c9302d-c7c3-49db-abbb-9ede87b4b9ee", e._sentryDebugIdIdentifier = "sentry-dbid-e6c9302d-c7c3-49db-abbb-9ede87b4b9ee");
|
|
6
|
-
} catch (e) {
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
;
|
|
10
|
-
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
|
-
import { useMemo, useRef, useState } from "preact/hooks";
|
|
12
|
-
import { F as FormContext } from "./Address-CIRweyT6.js";
|
|
13
|
-
import cx from "classnames";
|
|
14
|
-
import { a0 as useAnalyticsContext, u as useTranslation, B as Button, X as IconButton } from "./StoreProvider-BHckWEYg.js";
|
|
15
|
-
import { L as LoaderWrapper } from "./useForm-DzONzNQu.js";
|
|
16
|
-
import { M as MaybeModal } from "./MaybeModal-Bw31z92e.js";
|
|
17
|
-
import { F as FormRouterContextProvider } from "./dropinUtils-Cm6ETaTL.js";
|
|
18
|
-
import { C as Confirm } from "./useDataset-D1AsbWmY.js";
|
|
19
|
-
import { S as Summary } from "./Summary-Df0SenAt.js";
|
|
20
|
-
function FormContextProvider({
|
|
21
|
-
children,
|
|
22
|
-
form
|
|
23
|
-
}) {
|
|
24
|
-
const contextValue = useMemo(
|
|
25
|
-
() => ({
|
|
26
|
-
form
|
|
27
|
-
}),
|
|
28
|
-
[form]
|
|
29
|
-
);
|
|
30
|
-
return /* @__PURE__ */ jsx(FormContext.Provider, { value: contextValue, children });
|
|
31
|
-
}
|
|
32
|
-
const progressBar = "adyen-kyc-progress-bar";
|
|
33
|
-
const progressBarRounded = "adyen-kyc-progress-bar-rounded";
|
|
34
|
-
const progressBarIndicator = "adyen-kyc-progress-bar-indicator";
|
|
35
|
-
const styles$1 = {
|
|
36
|
-
progressBar,
|
|
37
|
-
progressBarRounded,
|
|
38
|
-
progressBarIndicator
|
|
39
|
-
};
|
|
40
|
-
const ProgressBar = ({ progress, ariaLabel, rounded = false }) => {
|
|
41
|
-
const clamp = (value) => {
|
|
42
|
-
return Math.min(Math.max(value, 0), 100);
|
|
43
|
-
};
|
|
44
|
-
const clampedProgress = clamp(progress);
|
|
45
|
-
const cssWidth = `${clampedProgress}%`;
|
|
46
|
-
const className = cx(styles$1.progressBar, {
|
|
47
|
-
[styles$1.progressBarRounded]: rounded
|
|
48
|
-
});
|
|
49
|
-
return /* @__PURE__ */ jsx(
|
|
50
|
-
"div",
|
|
51
|
-
{
|
|
52
|
-
className,
|
|
53
|
-
role: "progressbar",
|
|
54
|
-
"aria-label": ariaLabel,
|
|
55
|
-
"aria-valuenow": clampedProgress,
|
|
56
|
-
"aria-valuemin": 0,
|
|
57
|
-
"aria-valuemax": 100,
|
|
58
|
-
children: /* @__PURE__ */ jsxs("div", { className: styles$1.progressBarIndicator, style: { width: cssWidth }, children: [
|
|
59
|
-
progress,
|
|
60
|
-
"%"
|
|
61
|
-
] })
|
|
62
|
-
}
|
|
63
|
-
);
|
|
64
|
-
};
|
|
65
|
-
const formFlow = "adyen-kyc-form-flow";
|
|
66
|
-
const formFlowContent = "adyen-kyc-form-flow-content";
|
|
67
|
-
const formFlowFooter = "adyen-kyc-form-flow-footer";
|
|
68
|
-
const formFlowFooterBorder = "adyen-kyc-form-flow-footer-border";
|
|
69
|
-
const formFlowActions = "adyen-kyc-form-flow-actions";
|
|
70
|
-
const formFlowActionGroup = "adyen-kyc-form-flow-action-group";
|
|
71
|
-
const styles = {
|
|
72
|
-
formFlow,
|
|
73
|
-
formFlowContent,
|
|
74
|
-
formFlowFooter,
|
|
75
|
-
formFlowFooterBorder,
|
|
76
|
-
formFlowActions,
|
|
77
|
-
formFlowActionGroup
|
|
78
|
-
};
|
|
79
|
-
const FormFlow = ({
|
|
80
|
-
asModal = false,
|
|
81
|
-
children,
|
|
82
|
-
currentStep = 0,
|
|
83
|
-
disableBackButton,
|
|
84
|
-
disableNextButton,
|
|
85
|
-
disableSaveButton,
|
|
86
|
-
forms,
|
|
87
|
-
gotoFormByFormIndex,
|
|
88
|
-
handleBackClick,
|
|
89
|
-
handleCancelClick,
|
|
90
|
-
handleNextClick,
|
|
91
|
-
handleSaveClick,
|
|
92
|
-
loadingStatus,
|
|
93
|
-
summary,
|
|
94
|
-
totalSteps = 1
|
|
95
|
-
}) => {
|
|
96
|
-
const contentRef = useRef(null);
|
|
97
|
-
const userEvents = useAnalyticsContext();
|
|
98
|
-
const { t } = useTranslation("common");
|
|
99
|
-
const [isConfirmPresented, setIsConfirmPresented] = useState(false);
|
|
100
|
-
const [isSaving, setIsSaving] = useState(false);
|
|
101
|
-
const [isSubmitting, setIsSubmitting] = useState(false);
|
|
102
|
-
const isLoading = loadingStatus === "loading";
|
|
103
|
-
const isActionDisabled = isSaving || isSubmitting || isConfirmPresented || isLoading;
|
|
104
|
-
const isSaveButtonVisible = handleSaveClick !== void 0;
|
|
105
|
-
const isFirstStep = currentStep === 0;
|
|
106
|
-
const isLastStep = currentStep === totalSteps - 1;
|
|
107
|
-
const isSingleStepForm = isFirstStep && isLastStep;
|
|
108
|
-
const hasProblems = summary?.problems?.verificationErrors !== void 0;
|
|
109
|
-
const progress = Math.floor(currentStep / (totalSteps - 1) * 100);
|
|
110
|
-
const scrollToTop = () => {
|
|
111
|
-
if (contentRef.current) {
|
|
112
|
-
contentRef.current.scroll({
|
|
113
|
-
top: 0,
|
|
114
|
-
behavior: "smooth"
|
|
115
|
-
});
|
|
116
|
-
}
|
|
117
|
-
};
|
|
118
|
-
const handleSubmit = () => {
|
|
119
|
-
setIsSubmitting(true);
|
|
120
|
-
Promise.resolve(handleNextClick()).then(() => {
|
|
121
|
-
setIsSubmitting(false);
|
|
122
|
-
scrollToTop();
|
|
123
|
-
});
|
|
124
|
-
};
|
|
125
|
-
const handleSave = () => {
|
|
126
|
-
setIsSaving(true);
|
|
127
|
-
Promise.resolve(handleSaveClick?.()).then(() => {
|
|
128
|
-
setIsSaving(false);
|
|
129
|
-
});
|
|
130
|
-
};
|
|
131
|
-
const handleNext = () => {
|
|
132
|
-
scrollToTop();
|
|
133
|
-
handleNextClick();
|
|
134
|
-
};
|
|
135
|
-
const handleBack = () => {
|
|
136
|
-
scrollToTop();
|
|
137
|
-
handleBackClick?.();
|
|
138
|
-
};
|
|
139
|
-
const handleDismiss = () => {
|
|
140
|
-
setIsConfirmPresented(true);
|
|
141
|
-
};
|
|
142
|
-
const handleCancelDismiss = () => {
|
|
143
|
-
userEvents.addPageEvent("Closed modal", {
|
|
144
|
-
actionType: "close",
|
|
145
|
-
label: "cancel"
|
|
146
|
-
});
|
|
147
|
-
setIsConfirmPresented(false);
|
|
148
|
-
};
|
|
149
|
-
const handleConfirmDismiss = () => {
|
|
150
|
-
userEvents.addPageEvent("Clicked button", {
|
|
151
|
-
actionType: "navigate",
|
|
152
|
-
label: "leave"
|
|
153
|
-
});
|
|
154
|
-
setIsConfirmPresented(false);
|
|
155
|
-
handleCancelClick?.();
|
|
156
|
-
};
|
|
157
|
-
const handleSkip = () => {
|
|
158
|
-
userEvents.addPageEvent("Clicked button", {
|
|
159
|
-
actionType: "skip",
|
|
160
|
-
label: "skip"
|
|
161
|
-
});
|
|
162
|
-
gotoFormByFormIndex(currentStep + 1);
|
|
163
|
-
};
|
|
164
|
-
const footerClassName = cx(styles.formFlowFooter, {
|
|
165
|
-
[styles.formFlowFooterBorder]: isSingleStepForm
|
|
166
|
-
});
|
|
167
|
-
return /* @__PURE__ */ jsxs(MaybeModal, { inline: !asModal, onClose: handleDismiss, size: "large", children: [
|
|
168
|
-
/* @__PURE__ */ jsxs("div", { ref: contentRef, className: styles.formFlow, children: [
|
|
169
|
-
/* @__PURE__ */ jsx("div", { className: styles.formFlowContent, children: /* @__PURE__ */ jsx(LoaderWrapper, { status: loadingStatus, formOpacityWhenLoading: 0, loaderSize: "large", children: /* @__PURE__ */ jsx(FormRouterContextProvider, { forms, setFormIndex: gotoFormByFormIndex, children: isLastStep && summary !== void 0 ? /* @__PURE__ */ jsx(Summary, { ...summary, forms, gotoForm: gotoFormByFormIndex }) : children }) }) }),
|
|
170
|
-
/* @__PURE__ */ jsxs("div", { className: footerClassName, children: [
|
|
171
|
-
!isSingleStepForm && /* @__PURE__ */ jsx(ProgressBar, { ariaLabel: t(($) => $["progress"]), progress }),
|
|
172
|
-
/* @__PURE__ */ jsxs("div", { className: styles.formFlowActions, children: [
|
|
173
|
-
isFirstStep || handleBackClick === void 0 ? /* @__PURE__ */ jsx(
|
|
174
|
-
Button,
|
|
175
|
-
{
|
|
176
|
-
disabled: isActionDisabled || disableBackButton,
|
|
177
|
-
onClick: handleDismiss,
|
|
178
|
-
variant: "secondary",
|
|
179
|
-
children: t(($) => $["cancel"])
|
|
180
|
-
}
|
|
181
|
-
) : /* @__PURE__ */ jsx(
|
|
182
|
-
Button,
|
|
183
|
-
{
|
|
184
|
-
disabled: isActionDisabled || disableBackButton,
|
|
185
|
-
icon: "chevron-left",
|
|
186
|
-
onClick: handleBack,
|
|
187
|
-
variant: "secondary",
|
|
188
|
-
children: t(($) => $["back"])
|
|
189
|
-
}
|
|
190
|
-
),
|
|
191
|
-
isLastStep ? /* @__PURE__ */ jsx(Button, { onClick: handleSubmit, loading: isSubmitting, children: t(($) => $["submit"]) }) : /* @__PURE__ */ jsxs("div", { className: styles.formFlowActionGroup, children: [
|
|
192
|
-
isSaveButtonVisible && /* @__PURE__ */ jsx(
|
|
193
|
-
IconButton,
|
|
194
|
-
{
|
|
195
|
-
ariaLabel: t(($) => $["finishLater"]),
|
|
196
|
-
disabled: isActionDisabled || disableSaveButton,
|
|
197
|
-
loading: isSaving,
|
|
198
|
-
icon: "save",
|
|
199
|
-
onClick: handleSave,
|
|
200
|
-
variant: "secondary"
|
|
201
|
-
}
|
|
202
|
-
),
|
|
203
|
-
hasProblems && /* @__PURE__ */ jsx(Button, { onClick: handleSkip, disabled: isActionDisabled, variant: "secondary", children: t(($) => $["skip"]) }),
|
|
204
|
-
/* @__PURE__ */ jsx(Button, { onClick: handleNext, disabled: isActionDisabled || disableNextButton, children: t(($) => $["continue"]) })
|
|
205
|
-
] })
|
|
206
|
-
] })
|
|
207
|
-
] })
|
|
208
|
-
] }),
|
|
209
|
-
isConfirmPresented && /* @__PURE__ */ jsx(
|
|
210
|
-
Confirm,
|
|
211
|
-
{
|
|
212
|
-
confirmText: t(($) => $["leave"]),
|
|
213
|
-
description: t(($) => $["unsavedChangesDescription"]),
|
|
214
|
-
onCancel: handleCancelDismiss,
|
|
215
|
-
onConfirm: handleConfirmDismiss,
|
|
216
|
-
title: t(($) => $["unsavedChanges"])
|
|
217
|
-
}
|
|
218
|
-
)
|
|
219
|
-
] });
|
|
220
|
-
};
|
|
221
|
-
export {
|
|
222
|
-
FormContextProvider as F,
|
|
223
|
-
FormFlow as a
|
|
224
|
-
};
|
package/dist/en-US-CBsokt1L.js
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
;
|
|
2
|
-
{
|
|
3
|
-
try {
|
|
4
|
-
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "cdbe5aaa-a502-4a65-82c6-fd45c8482df2", e._sentryDebugIdIdentifier = "sentry-dbid-cdbe5aaa-a502-4a65-82c6-fd45c8482df2");
|
|
6
|
-
} catch (e) {
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
;
|
|
10
|
-
const enUS = {
|
|
11
|
-
businessLine: "Business line",
|
|
12
|
-
businessLineDeleteFailure: "Unable to delete business line",
|
|
13
|
-
businessLineDeleteSuccess: "Business line deleted",
|
|
14
|
-
businessLines: "Business lines",
|
|
15
|
-
businessLinesCreationFailure: "Unable to create %{failuresLength} business line(s)",
|
|
16
|
-
businessLinesCreationSuccess: "Business lines created",
|
|
17
|
-
businessLinesGettingStarted: "To set up your payment processing and comply with global financial regulations, we need information about your lines of business, including the industries you operate in and your sales channels.",
|
|
18
|
-
businessLineUpdateFailure: "Unable to update business line",
|
|
19
|
-
businessLineUpdateSuccess: "Business line updated",
|
|
20
|
-
deleteThisBusinessLine: "Delete this business line?",
|
|
21
|
-
eCommerce: "Online payments",
|
|
22
|
-
eCommerceSalesChannelDescription: "Accept payments on your website and in-app.",
|
|
23
|
-
ecomMoto: "Online phone or mail orders",
|
|
24
|
-
ecomMotoSalesChannelDescription: "Accept card-not-present payments online in the web-interface.",
|
|
25
|
-
iDontHaveACommercialDisclosureWebpage: "I don't have a Commercial Disclosure webpage",
|
|
26
|
-
industry: "Industry",
|
|
27
|
-
industryCodeAcquiringGuidance: "This is used to classify the type of products and services that your business is accepting payments for. Choose the closest match to the best of your knowledge.",
|
|
28
|
-
industryCodes: "Industry codes",
|
|
29
|
-
industryCodesFormHeading: "What industries will your business accept payments in?",
|
|
30
|
-
payByLink: "Pay by link",
|
|
31
|
-
payByLinkSalesChannelDescription: "Create virtual and physical cards to grow your business and customer loyalty.",
|
|
32
|
-
paymentProcessingDetails: "Payment processing details",
|
|
33
|
-
pos: "In-person payments",
|
|
34
|
-
posMoto: "In-person phone or mail orders",
|
|
35
|
-
posMotoSalesChannelDescription: "Accept card-not-present payments from a point-of-sale terminal",
|
|
36
|
-
posSalesChannelDescription: "Accept payments with terminals and devices.",
|
|
37
|
-
salesChannelsGuidance: "Choose all methods your business will accept payments within your selected industry.",
|
|
38
|
-
salesChannelsHeading: "How will your business sell its products or services to customers?"
|
|
39
|
-
};
|
|
40
|
-
export {
|
|
41
|
-
enUS as default
|
|
42
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import './AdditionalInformation.scss';
|
|
2
|
-
import { type CompanyTypesValue } from '../../../../core/models/api/company-types-value';
|
|
3
|
-
import type { BusinessDetailsSchema } from '../BusinessDetails/types';
|
|
4
|
-
import type { BaseMultiformProps } from '../forms.types';
|
|
5
|
-
interface AdditionalInformationMultiformProps extends BaseMultiformProps<BusinessDetailsSchema> {
|
|
6
|
-
companyType: CompanyTypesValue | 'trust' | undefined;
|
|
7
|
-
}
|
|
8
|
-
export declare function AdditionalInformationMultiform({ id, country, companyType, shouldValidate, validationErrors, verificationErrors, }: AdditionalInformationMultiformProps): import("preact/jsx-runtime").JSX.Element;
|
|
9
|
-
export {};
|
package/dist/types/components/Business/forms/BasicInformation/BasicInformationMultiform.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { CompanyTypesValue } from '../../../../core/models/api/company-types-value';
|
|
2
|
-
import type { BusinessDetailsSchema } from '../BusinessDetails/types';
|
|
3
|
-
import type { BaseMultiformProps } from '../forms.types';
|
|
4
|
-
import type { BasicInformationSchema } from './types';
|
|
5
|
-
export interface BasicInformationMultiformProps extends BaseMultiformProps<BusinessDetailsSchema> {
|
|
6
|
-
disableCountry: boolean;
|
|
7
|
-
isTopLevelEntity: boolean;
|
|
8
|
-
companyType: CompanyTypesValue | 'trust' | undefined;
|
|
9
|
-
}
|
|
10
|
-
export declare const BASIC_INFORMATION_FIELDS: Array<keyof BasicInformationSchema>;
|
|
11
|
-
export declare function BasicInformationMultiform({ id, country, shouldValidate, validationErrors, verificationErrors, isTopLevelEntity, disableCountry, companyType, }: BasicInformationMultiformProps): import("preact/jsx-runtime").JSX.Element;
|
package/dist/types/components/Business/forms/BusinessSelection/BusinessSelectionMultiform.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import './BusinessSelection.scss';
|
|
2
|
-
import type { Dispatch, StateUpdater } from 'preact/hooks';
|
|
3
|
-
import type { LoadingStatus } from '../../../ui/atoms/LoaderWrapper/constants';
|
|
4
|
-
import type { BusinessDetailsSchema } from '../BusinessDetails/types';
|
|
5
|
-
import type { BaseMultiformProps } from '../forms.types';
|
|
6
|
-
import type { BusinessSelectionSchema } from './types';
|
|
7
|
-
interface BusinessSelectionMultiformProps extends BaseMultiformProps<BusinessDetailsSchema> {
|
|
8
|
-
handleNextClick: () => void;
|
|
9
|
-
handleBackClick: (() => void) | undefined;
|
|
10
|
-
setLoadingStatus: Dispatch<StateUpdater<LoadingStatus>>;
|
|
11
|
-
}
|
|
12
|
-
export declare const BUSINESS_SELECTION_FIELDS: Array<keyof BusinessSelectionSchema>;
|
|
13
|
-
export declare function BusinessSelectionMultiform({ country, validationErrors, verificationErrors, handleNextClick, handleBackClick, setLoadingStatus, }: BusinessSelectionMultiformProps): import("preact/jsx-runtime").JSX.Element;
|
|
14
|
-
export {};
|
package/dist/types/components/Business/forms/CompanyStructure/CompanyStructureMultiform.d.ts
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import './CompanyStructure.scss';
|
|
2
|
-
import type { BusinessDetailsSchema } from '../BusinessDetails/types';
|
|
3
|
-
import type { BaseMultiformProps } from '../forms.types';
|
|
4
|
-
export declare function CompanyStructureMultiform({ id, country, validationErrors, verificationErrors, }: BaseMultiformProps<BusinessDetailsSchema>): import("preact/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { BusinessDetailsDropinProps } from '../BusinessDetailsDropin/types';
|
|
2
|
-
export declare function BusinessDetailsMultiformDropin({ taskType, country: propCountry, problems: propProblems, legalEntityResponse, associatedLegalArrangement, // initially undefined when creating entity
|
|
3
|
-
nestedLegalEntity, // initially undefined when creating entity
|
|
4
|
-
nestedLegalEntityDetails, // has entity roles for association logic
|
|
5
|
-
onSubmit: onExternalSubmit, handleHomeClick, asModal, }: BusinessDetailsDropinProps): import("preact/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import type { BusinessDetailsSchema } from '../../forms/BusinessDetails/types';
|
|
2
|
-
export type BusinessDetailsDocumentFields = Pick<BusinessDetailsSchema, 'companyRegistrationDocument' | 'companyTaxDocument' | 'companyProofOfDirectorDocument' | 'companyProofOfSignatoryDocument' | 'companyProofOfOwnershipDocument' | 'companyConstitutionalDocument'>;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import type { BooleanSettingName } from '../../../../context/SettingsContext/types';
|
|
2
|
-
import type { ExistingLegalEntity } from '../../../../core/models/api/legal-entity';
|
|
3
|
-
import type { AccountHolderOption } from '../../../../types/accountHolder';
|
|
4
|
-
import type { EntityProblems } from '../../../../types/errors/entity-problems';
|
|
5
|
-
import type { FormList } from '../../../../types/form';
|
|
6
|
-
interface BuildRequiredFormsProps {
|
|
7
|
-
config: {
|
|
8
|
-
forms: FormList;
|
|
9
|
-
requiredFields: Record<string, string[]> | undefined;
|
|
10
|
-
optionalFields: Record<string, string[]> | undefined;
|
|
11
|
-
isValid: Record<string, boolean>;
|
|
12
|
-
problems: EntityProblems;
|
|
13
|
-
accountHolder: AccountHolderOption | undefined;
|
|
14
|
-
legalEntityResponse: ExistingLegalEntity;
|
|
15
|
-
isSettingEnabled: (settingName: BooleanSettingName) => boolean;
|
|
16
|
-
};
|
|
17
|
-
options?: {
|
|
18
|
-
hasNoSearchResults?: boolean;
|
|
19
|
-
skipSummary?: boolean;
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
export declare function buildRequiredForms({ config: { forms, requiredFields, optionalFields, isValid, problems, isSettingEnabled, accountHolder, legalEntityResponse, }, options, }: BuildRequiredFormsProps): import("../../../../types/form").FormModelWithValidity[];
|
|
23
|
-
export {};
|
|
File without changes
|
|
File without changes
|