@adyen/kyc-components 3.91.0-beta.0 → 3.91.0-beta.1
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-Dn0l4-44.js → AcceptTermsOfServiceComponent-BqgxtHQD.js} +12 -12
- package/dist/{Accordion-BIfsF-ii.js → Accordion-Ccu2EOrJ.js} +1 -1
- package/dist/{AccountSetupRejected-BZEuVm0z.js → AccountSetupRejected-CunzuVa2.js} +3 -3
- package/dist/{ActionBar-Cd_dURV3.js → ActionBar-BfpPNfn1.js} +1 -1
- package/dist/{Address-L2yF0rj3.js → Address-DBo5GTx5.js} +7 -7
- package/dist/{Alert-XDWse9R9.js → Alert-CtbGSnVL.js} +2 -2
- package/dist/{Avatar-DtK8HezD.js → Avatar-DskenPVk.js} +1 -1
- package/dist/{BusinessFinancingComponent-BHHVQgPT.js → BusinessFinancingComponent-C_FQacQD.js} +4 -4
- package/dist/{BusinessFinancingDropin-BKLFxDRz.js → BusinessFinancingDropin-BWV0Q_eh.js} +21 -21
- package/dist/{BusinessFinancingPage-CyxKBf4A.js → BusinessFinancingPage-DiSo3l97.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-B2_jh2gd.js → BusinessTypeSelectionPage-C_uCojrQ.js} +7 -7
- package/dist/{Card-bVEv3jgS.js → Card-D_tzuWpd.js} +2 -2
- package/dist/{ConstitutionalDocument-BIP14sQW.js → ConstitutionalDocument-CdSmbzo8.js} +2 -2
- package/dist/{CountryField-NrSdQlWq.js → CountryField-DV_JQmBc.js} +5 -5
- package/dist/{CreateIndividualComponent-Brs4zv6O.js → CreateIndividualComponent-BxxaQeQ4.js} +4 -4
- package/dist/{CreateTransferInstrumentComponent-9A-WpDeB.js → CreateTransferInstrumentComponent-DbKyjgOE.js} +4 -4
- package/dist/{Currency-DWHl-Udz.js → Currency-Lm1q2RbL.js} +4 -4
- package/dist/{CustomerSupport-9t9iQcAa.js → CustomerSupport-CkX0WmdR.js} +9 -9
- package/dist/{DebugModal-C8twwNLd.js → DebugModal-bFs5P9Wu.js} +7 -7
- package/dist/{DecisionMakerDetailsPage-BOcY8gtD.js → DecisionMakerDetailsPage-DEiyDEx4.js} +5 -5
- package/dist/{DecisionMakers-DDhlHa6w.js → DecisionMakers-BGepwuGi.js} +19 -19
- package/dist/{EmbeddedStatus-CnokSZuD.js → EmbeddedStatus-R6WewXz7.js} +2 -2
- package/dist/{EndStateLayout-n2vQmPyo.js → EndStateLayout-BxaUjdC7.js} +1 -1
- package/dist/{EntityAssociation-BLIsqEDN.js → EntityAssociation-CXZMLXXm.js} +7 -7
- package/dist/{EntityGuidanceStatus-CP3ZQkcf.js → EntityGuidanceStatus-SfLoTG3h.js} +2 -2
- package/dist/{FormFlow-CKr0sy8L.js → FormFlow-BqRwIQMj.js} +7 -7
- package/dist/{FormNavigation-YVewktyA.js → FormNavigation-gOgm8gW8.js} +2 -2
- package/dist/{FormWrapper-D_vUS9Z7.js → FormWrapper-BAbYQyA2.js} +9 -9
- package/dist/{IndividualOnfido-BYT0nG-5.js → IndividualOnfido-BCv_4ys0.js} +13 -13
- package/dist/{IndividualOnfidoDropin-vZZxkmpv.js → IndividualOnfidoDropin-CnAZASbS.js} +26 -26
- package/dist/{InputText-CQ6woYx3.js → InputText-BcwZEK38.js} +2 -2
- package/dist/{Introduction-Dnxk9iKa.js → Introduction-CsnJoS7B.js} +3 -3
- package/dist/{JpAddress-D8-PoYQj.js → JpAddress-Cj332E3L.js} +8 -8
- package/dist/{LegalRepresentativeDetailsPage-C71oi0I7.js → LegalRepresentativeDetailsPage-BtLVVuvN.js} +3 -3
- package/dist/{ListItem-CEjkofDu.js → ListItem-B859wXWX.js} +2 -2
- package/dist/{ManageIndividualComponent-CS4ck6BQ.js → ManageIndividualComponent-XoH_AG0q.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-D-4xj7a2.js → ManageTermsOfServiceComponent-XVDuzSns.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-CXLwFDUB.js → ManageTransferInstrumentComponent-qMY2iHpk.js} +11 -11
- package/dist/{MaybeModal-D_76Tc3g.js → MaybeModal-D5sIR69L.js} +2 -2
- package/dist/{Modal-2wdHXVI8.js → Modal-C2lu6JPV.js} +1 -1
- package/dist/{OnboardingDropinComponent-BrHvygYb.js → OnboardingDropinComponent-CGRMDHo5.js} +51 -51
- package/dist/{PayoutDetailsDropin-COkMHdGI.js → PayoutDetailsDropin-7pG6yHXw.js} +26 -26
- package/dist/{Review-ruIkpP8F.js → Review-B2_-QQqo.js} +6 -6
- package/dist/{RootBusinessDetailsPage-BZNx8ZjT.js → RootBusinessDetailsPage-DLmcz09e.js} +4 -4
- package/dist/{RootBusinessLinesPage-9LFMQ5z_.js → RootBusinessLinesPage-BU5QS-iD.js} +22 -22
- package/dist/{RootIndividualDetailsPage-F2fdzLat.js → RootIndividualDetailsPage-B1301ezk.js} +5 -5
- package/dist/{SignPCIComponent-C81oIZNp.js → SignPCIComponent-SCCYlJfk.js} +9 -9
- package/dist/{SingpassSelection-CbvT4d8u.js → SingpassSelection-CmlylKba.js} +3 -3
- package/dist/{SoleProprietorshipPage-BFo0fBlE.js → SoleProprietorshipPage-C2otkatv.js} +3 -3
- package/dist/{SourceOfFundsPage-rmtNMeq-.js → SourceOfFundsPage-BNulViKI.js} +24 -24
- package/dist/{Spacer-DTg9NYBB.js → Spacer-CfR6K7hD.js} +8 -8
- package/dist/{StepProgressIndicator-BiUf_xud.js → StepProgressIndicator-CsSGtSmS.js} +1 -1
- package/dist/{StoreProvider-Dgl7dBXc.js → StoreProvider-B3keNsSi.js} +4 -4
- package/dist/{Summary-BZn7Ovck.js → Summary-BHOvRwpe.js} +3 -3
- package/dist/{TaxReportingDropin-BP-Q9qFd.js → TaxReportingDropin-DWD2J89b.js} +15 -15
- package/dist/{TrustDetailsPage-O_efBZlx.js → TrustDetailsPage-2oCaG1S9.js} +26 -26
- package/dist/{TrustMemberCompanyPage-DRaHLSon.js → TrustMemberCompanyPage-CxhE6WsS.js} +4 -4
- package/dist/{TrustMemberIndividualPage-XLYywUIX.js → TrustMemberIndividualPage-Cx8yqEcX.js} +3 -3
- package/dist/{TrustMemberRoleAndTypePage-3faXzV9b.js → TrustMemberRoleAndTypePage-DGZNSCzY.js} +13 -13
- package/dist/{TrustMembersOverview-D17It654.js → TrustMembersOverview-DyXvGH21.js} +11 -11
- package/dist/{UnincorporatedPartnershipIndividualPage-Clw37nBi.js → UnincorporatedPartnershipIndividualPage-Dg2zEMn_.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-DOSVuI_I.js → UnincorporatedPartnershipMemberCompanyPage-DwKSqjo4.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-DD3a0EJd.js → UnincorporatedPartnershipMemberRoleAndTypePage-DR05HoL9.js} +8 -8
- package/dist/{UnincorporatedPartnershipMembersOverview-eGY35uW7.js → UnincorporatedPartnershipMembersOverview-Btel53R9.js} +8 -8
- package/dist/{VerificationErrorAlert-I_JbBy66.js → VerificationErrorAlert-DP22qTaH.js} +3 -3
- package/dist/{ViewVerificationStatusComponent-m00jaa9V.js → ViewVerificationStatusComponent-B9_aqawX.js} +3 -3
- package/dist/adyen-business-financing.js +2 -2
- 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/{debouncedInputEvent-iHbpO4uP.js → debouncedInputEvent-DYc31mka.js} +1 -1
- package/dist/{documentUtils-COMXmiC3.js → documentUtils-BxYXAGT9.js} +2 -2
- package/dist/{dropinUtils-B7gkHPu_.js → dropinUtils-BTbAk8iU.js} +3 -3
- package/dist/{getFieldsWithExistingData-P-c5HSuj.js → getFieldsWithExistingData-1frjrTjs.js} +1 -1
- package/dist/{getName-D3Us2eqy.js → getName-DoKphN6F.js} +1 -1
- package/dist/{hasDataChanged-CBuNlTKT.js → hasDataChanged-DivQINnu.js} +1 -1
- package/dist/{iframeWidget-B7r65gwx.js → iframeWidget-D3t3RJzS.js} +3 -3
- package/dist/{localizeDateString-DZXUiuq2.js → localizeDateString-CPJjzvbI.js} +1 -1
- package/dist/{mapExistingFile-CUIQysrG.js → mapExistingFile-BGCH36VJ.js} +2 -2
- package/dist/{mapFinancialReportsToFinancialInformation-DXAUhNyT.js → mapFinancialReportsToFinancialInformation-CgUSHWzu.js} +2 -2
- package/dist/{mapJpAddressSchemaToAddressLocalizations-DtYS0iKj.js → mapJpAddressSchemaToAddressLocalizations-riw5d8pL.js} +2 -2
- package/dist/{mapLegalEntityToIndividualOnfidoSchema-p2nWbhjp.js → mapLegalEntityToIndividualOnfidoSchema-BxKSs28A.js} +2 -2
- package/dist/{mapTransferInstrumentToPayoutAccount-ByLURF9P.js → mapTransferInstrumentToPayoutAccount-Bp11nnZ9.js} +1 -1
- package/dist/{process-field-configurations-DLkHkwPX.js → process-field-configurations-ChfeLWst.js} +2 -2
- package/dist/{resolveEnvironment-Biy1a0GA.js → resolveEnvironment-CuxUpGRu.js} +3 -3
- package/dist/{rules-nAvWiQ6E.js → rules-BBUN-4MX.js} +4 -4
- package/dist/style.css +1638 -1924
- package/dist/styles-CLV89_hH.js +1638 -1924
- package/dist/{types-BmzCK_Dn.js → types-CYv5TdQQ.js} +1 -1
- package/dist/{types-DHdElqj8.js → types-Cw17x8Np.js} +1 -1
- package/dist/{types-cn3-oi7O.js → types-DqhBmUbr.js} +1 -1
- package/dist/{useAssociatedLegalEntity-BrPscgVv.js → useAssociatedLegalEntity-CYH9V5Xq.js} +1 -1
- package/dist/{useBusinessDetailsData-BVa9Mtjs.js → useBusinessDetailsData-BPWFHB1A.js} +27 -27
- package/dist/{useCreateLegalEntity-CNzYBgj0.js → useCreateLegalEntity-DY2E2O4V.js} +1 -1
- package/dist/{useDataset-DerSszvK.js → useDataset-fUlE2LBo.js} +3 -3
- package/dist/{useForm-BmCWMPbB.js → useForm-avk4-ipZ.js} +4 -4
- package/dist/{useGlobalData-iJosWOhn.js → useGlobalData-ClT_9fgk.js} +2 -2
- package/dist/{useMultiForm-qb1Om5Av.js → useMultiForm-B3JfnFqn.js} +3 -3
- package/dist/{useOnboardingStatus-oxdDvVQm.js → useOnboardingStatus-DW6EXOS3.js} +1 -1
- package/dist/{useScenarios-D7H_IhJd.js → useScenarios-Vi2mqFPn.js} +1 -1
- package/dist/{useTermsOfServiceStatus-DVhtmxNr.js → useTermsOfServiceStatus-DF_pW2Za.js} +1 -1
- package/dist/{useToastContext-CutFPaxB.js → useToastContext-DY1glqsq.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-Ca8kuLpf.js → useUnincorporatedPartnershipMembers-BSWpW2o-.js} +4 -4
- package/dist/{useUpdateBusinessLines-CxcIFedN.js → useUpdateBusinessLines-CiHBfcm0.js} +1 -1
- package/dist/{useUpdateLegalEntity-ByoUAlrC.js → useUpdateLegalEntity-DqI5qzr_.js} +2 -2
- package/dist/{utils-Gn2bm9fz.js → utils-3JAomVsc.js} +3 -3
- package/dist/{utils-Dq1W5jgi.js → utils-CsXS79KC.js} +5 -5
- package/dist/{validate-DWXDyeBc.js → validate-C9LKRAnf.js} +1 -1
- package/dist/{validate-BYqQ_kJW.js → validate-CZEy944q.js} +1 -1
- package/dist/{validationError-CgErIRFL.js → validationError-DWp3o9Jd.js} +1 -1
- package/package.json +1 -1
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { r as LegalEntityTypes, C as CountryCodes } from "./StoreProvider-
|
|
10
|
+
import { r as LegalEntityTypes, C as CountryCodes } from "./StoreProvider-B3keNsSi.js";
|
|
11
11
|
const trustMemberLegalEntityTypes = [
|
|
12
12
|
LegalEntityTypes.INDIVIDUAL,
|
|
13
13
|
LegalEntityTypes.ORGANIZATION
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useMemo } from "preact/hooks";
|
|
11
|
-
import { P as createLogger, c as useLegalEntity, w as skipToken } from "./StoreProvider-
|
|
11
|
+
import { P as createLogger, c as useLegalEntity, w as skipToken } from "./StoreProvider-B3keNsSi.js";
|
|
12
12
|
const logger = createLogger();
|
|
13
13
|
function useAssociatedLegalEntity(parentLegalEntity, associationType) {
|
|
14
14
|
const matchingAssociation = useMemo(() => {
|
|
@@ -8,34 +8,34 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { u as useTranslation, B as Button, G as Typography, C as CountryCodes, O as TaskTypes, r as LegalEntityTypes, W as isEmpty, a1 as entriesOf, bC as businessDetailsComponentsKeyMapping, bD as solePropBusinessDetailsKeyMapping, ak as objectsDeepEqual, aq as keysOf, i as isUndefinedOrNull, bE as solePropBusinessDetailsApiKeyMapping, bp as businessDetailsApiKeyMapping, P as createLogger, b8 as filterOutUnwantedAssociationsIfRootLE, b6 as drop, ag as getOwnEntityAssociations, aV as doArraysMatch, b as useApiContext, a3 as useAnalyticsContext, a2 as useQueryClient, X as useExperimentsContext, $ as useVersionConfiguration, o as useSettingsContext, K as useAccountHolder, bF as solePropBusinessDetailsDocumentMapping, bG as businessDetailsDocumentMapping, j as useQuery, c as useLegalEntity, R as ROOT_LE } from "./StoreProvider-
|
|
11
|
+
import { u as useTranslation, B as Button, G as Typography, C as CountryCodes, O as TaskTypes, r as LegalEntityTypes, W as isEmpty, a1 as entriesOf, bC as businessDetailsComponentsKeyMapping, bD as solePropBusinessDetailsKeyMapping, ak as objectsDeepEqual, aq as keysOf, i as isUndefinedOrNull, bE as solePropBusinessDetailsApiKeyMapping, bp as businessDetailsApiKeyMapping, P as createLogger, b8 as filterOutUnwantedAssociationsIfRootLE, b6 as drop, ag as getOwnEntityAssociations, aV as doArraysMatch, b as useApiContext, a3 as useAnalyticsContext, a2 as useQueryClient, X as useExperimentsContext, $ as useVersionConfiguration, o as useSettingsContext, K as useAccountHolder, bF as solePropBusinessDetailsDocumentMapping, bG as businessDetailsDocumentMapping, j as useQuery, c as useLegalEntity, R as ROOT_LE } from "./StoreProvider-B3keNsSi.js";
|
|
12
12
|
import { useState, useEffect, useMemo, useCallback } from "preact/hooks";
|
|
13
|
-
import { u as useCreateBusinessLine, a as useUpdateBusinessLine } from "./useUpdateBusinessLines-
|
|
14
|
-
import { F as FinancialInformation, A as AdditionalInformation, C as CompanyStructure, B as BusinessSelection, h as BasicInformation, i as getDefaultRegistrationNumberType, j as getDefaultVatNumberType, o as operationalAddressIsSameIds, k as FIELDS_NEEDED_FOR_COMPANY_SEARCH, v as verifiedBusiness, l as isVerifiedSingleCompanySearchResult, m as companyTypeMetadata, p as documentFormsIds, r as registrationNumberDefaultFieldMetadata, q as inferCompanyRegistrationNumberType, s as registrationNumberDefaultFieldConfig, t as stockTickerSymbolFieldMetadata, w as stockISINFieldMetadata, x as stockExchangeMICFieldMetadata, y as dateOfIncorporationFieldMetadata, z as industryCodeFieldMetadata, D as eInvoicingCodeFieldMetadata, G as vatAbsenceReasonMetadata, H as exemptFromRegistrationNumberDefaultFieldMetadata, I as doingBusinessAsFieldMetadata, J as doingBusinessAsAbsentFieldMetadata, K as defaultFieldMetadata, L as defaultFieldConfig, M as defaultFieldMetadata$1, N as defaultFieldConfig$1, P as defaultFieldMetadataV4, Q as defaultFieldMetadata$2, R as defaultFieldConfigV4, S as defaultFieldConfig$2, g as getForms, T as financialInfoValidationWithEmployeesRules, U as tinMatched, V as businessMismatchModalOpen, W as useCompanySearch, X as useVerifyTin, Y as handleCompanySelection, Z as applyVerifiedBusinessData, _ as useBusinessLines } from "./OnboardingDropinComponent-
|
|
15
|
-
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-
|
|
16
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
17
|
-
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-
|
|
18
|
-
import { a as useToastContext } from "./useToastContext-
|
|
19
|
-
import { _ as MemoizedDocumentUpload, C as CompanyTypesValues, m as COUNTRIES_USING_COMPANY_SEARCH, $ as isRegistrationNumberAbsentStateV4Scenario, D as isEmpty$1, a0 as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, r as requestingBanking, e as requestingIssuing, a as getCompanyRegistrationNumberOptions, t as taxInformationDefaultFieldMetadata, a1 as countryToTaxInfoTypeMap, f as taxInformationDefaultFieldConfig, a2 as rules } from "./IndividualOnfido-
|
|
20
|
-
import { c as composePerScenarioFormConfigurations, g as getPropsFromConfigurations } from "./process-field-configurations-
|
|
21
|
-
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
22
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
23
|
-
import { m as mapExistingFile, g as getPageName, u as useScenarioConfiguration } from "./mapExistingFile-
|
|
24
|
-
import { a as datasetUtilities, C as Confirm } from "./useDataset-
|
|
25
|
-
import { a as getDocument, e as getDocuments, c as createDocumentRequest, h as mergeProofOfOwnershipAttachments, b as getFileExtention, d as documentApiUtils } from "./documentUtils-
|
|
26
|
-
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-
|
|
27
|
-
import { u as useFormContext, i as isDateOlderThanAYear, o as mapAddressLabels, p as getKeyForField } from "./Address-
|
|
28
|
-
import { M as MemoizedConstitutionalDocument } from "./ConstitutionalDocument-
|
|
29
|
-
import { M as Modal, a as ModalContent } from "./Modal-
|
|
30
|
-
import { S as SettingNames } from "./InputText-
|
|
31
|
-
import { m as mapJpAddressSchemaToAddressLocalizations, a as mapJpAddressSummary } from "./mapJpAddressSchemaToAddressLocalizations-
|
|
32
|
-
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-
|
|
33
|
-
import { f as formatCurrency, A as ALLOWED_SOF_SERVICES } from "./utils-
|
|
34
|
-
import { s as summaryItem } from "./CountryField-
|
|
35
|
-
import { s as summaryStep } from "./Summary-
|
|
36
|
-
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-
|
|
37
|
-
import { r as resolveFieldMetadata } from "./Spacer-
|
|
38
|
-
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-
|
|
13
|
+
import { u as useCreateBusinessLine, a as useUpdateBusinessLine } from "./useUpdateBusinessLines-CiHBfcm0.js";
|
|
14
|
+
import { F as FinancialInformation, A as AdditionalInformation, C as CompanyStructure, B as BusinessSelection, h as BasicInformation, i as getDefaultRegistrationNumberType, j as getDefaultVatNumberType, o as operationalAddressIsSameIds, k as FIELDS_NEEDED_FOR_COMPANY_SEARCH, v as verifiedBusiness, l as isVerifiedSingleCompanySearchResult, m as companyTypeMetadata, p as documentFormsIds, r as registrationNumberDefaultFieldMetadata, q as inferCompanyRegistrationNumberType, s as registrationNumberDefaultFieldConfig, t as stockTickerSymbolFieldMetadata, w as stockISINFieldMetadata, x as stockExchangeMICFieldMetadata, y as dateOfIncorporationFieldMetadata, z as industryCodeFieldMetadata, D as eInvoicingCodeFieldMetadata, G as vatAbsenceReasonMetadata, H as exemptFromRegistrationNumberDefaultFieldMetadata, I as doingBusinessAsFieldMetadata, J as doingBusinessAsAbsentFieldMetadata, K as defaultFieldMetadata, L as defaultFieldConfig, M as defaultFieldMetadata$1, N as defaultFieldConfig$1, P as defaultFieldMetadataV4, Q as defaultFieldMetadata$2, R as defaultFieldConfigV4, S as defaultFieldConfig$2, g as getForms, T as financialInfoValidationWithEmployeesRules, U as tinMatched, V as businessMismatchModalOpen, W as useCompanySearch, X as useVerifyTin, Y as handleCompanySelection, Z as applyVerifiedBusinessData, _ as useBusinessLines } from "./OnboardingDropinComponent-CGRMDHo5.js";
|
|
15
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-DY2E2O4V.js";
|
|
16
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-DqI5qzr_.js";
|
|
17
|
+
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-BqRwIQMj.js";
|
|
18
|
+
import { a as useToastContext } from "./useToastContext-DY1glqsq.js";
|
|
19
|
+
import { _ as MemoizedDocumentUpload, C as CompanyTypesValues, m as COUNTRIES_USING_COMPANY_SEARCH, $ as isRegistrationNumberAbsentStateV4Scenario, D as isEmpty$1, a0 as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, r as requestingBanking, e as requestingIssuing, a as getCompanyRegistrationNumberOptions, t as taxInformationDefaultFieldMetadata, a1 as countryToTaxInfoTypeMap, f as taxInformationDefaultFieldConfig, a2 as rules } from "./IndividualOnfido-BCv_4ys0.js";
|
|
20
|
+
import { c as composePerScenarioFormConfigurations, g as getPropsFromConfigurations } from "./process-field-configurations-ChfeLWst.js";
|
|
21
|
+
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-BTbAk8iU.js";
|
|
22
|
+
import { u as useMultiForm } from "./useMultiForm-B3JfnFqn.js";
|
|
23
|
+
import { m as mapExistingFile, g as getPageName, u as useScenarioConfiguration } from "./mapExistingFile-BGCH36VJ.js";
|
|
24
|
+
import { a as datasetUtilities, C as Confirm } from "./useDataset-fUlE2LBo.js";
|
|
25
|
+
import { a as getDocument, e as getDocuments, c as createDocumentRequest, h as mergeProofOfOwnershipAttachments, b as getFileExtention, d as documentApiUtils } from "./documentUtils-BxYXAGT9.js";
|
|
26
|
+
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-1frjrTjs.js";
|
|
27
|
+
import { u as useFormContext, i as isDateOlderThanAYear, o as mapAddressLabels, p as getKeyForField } from "./Address-DBo5GTx5.js";
|
|
28
|
+
import { M as MemoizedConstitutionalDocument } from "./ConstitutionalDocument-CdSmbzo8.js";
|
|
29
|
+
import { M as Modal, a as ModalContent } from "./Modal-C2lu6JPV.js";
|
|
30
|
+
import { S as SettingNames } from "./InputText-BcwZEK38.js";
|
|
31
|
+
import { m as mapJpAddressSchemaToAddressLocalizations, a as mapJpAddressSummary } from "./mapJpAddressSchemaToAddressLocalizations-riw5d8pL.js";
|
|
32
|
+
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-CsXS79KC.js";
|
|
33
|
+
import { f as formatCurrency, A as ALLOWED_SOF_SERVICES } from "./utils-3JAomVsc.js";
|
|
34
|
+
import { s as summaryItem } from "./CountryField-DV_JQmBc.js";
|
|
35
|
+
import { s as summaryStep } from "./Summary-BHOvRwpe.js";
|
|
36
|
+
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-DWp3o9Jd.js";
|
|
37
|
+
import { r as resolveFieldMetadata } from "./Spacer-CfR6K7hD.js";
|
|
38
|
+
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-CgUSHWzu.js";
|
|
39
39
|
import { f as formatObject } from "./utils-DNSfZiio.js";
|
|
40
40
|
import { b as mapAddressLocalizationToJpAddressSchema, a as mapApiScriptLocalizationToSchemaFields, m as mapSchemaFieldsToApiScriptLocalization } from "./mapAddressLocalizationToJpAddressSchema-vJWbpAyq.js";
|
|
41
41
|
const stripWhitespace = (str) => str.replace(/\s/g, "");
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, a0 as useMutation, k as httpPost } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, a0 as useMutation, k as httpPost } from "./StoreProvider-B3keNsSi.js";
|
|
11
11
|
const createLegalEntity = async (legalEntityId, baseUrl, data) => {
|
|
12
12
|
return httpPost(
|
|
13
13
|
{
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { b as useId } from "./useToastContext-
|
|
12
|
+
import { b as useId } from "./useToastContext-DY1glqsq.js";
|
|
13
13
|
import { useState, useEffect } from "preact/hooks";
|
|
14
|
-
import { u as useTranslation, a3 as useAnalyticsContext, G as Typography, B as Button, P as createLogger, V as useI18nContext } from "./StoreProvider-
|
|
15
|
-
import { M as Modal } from "./Modal-
|
|
14
|
+
import { u as useTranslation, a3 as useAnalyticsContext, G as Typography, B as Button, P as createLogger, V as useI18nContext } from "./StoreProvider-B3keNsSi.js";
|
|
15
|
+
import { M as Modal } from "./Modal-C2lu6JPV.js";
|
|
16
16
|
const structuredList = "adyen-kyc-structured-list";
|
|
17
17
|
const structuredListSectionField = "adyen-kyc-structured-list-section-field";
|
|
18
18
|
const structuredListSectionLabel = "adyen-kyc-structured-list-section-label";
|
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
12
|
import { useEffect, useState, useRef, useMemo, useCallback, useReducer } from "preact/hooks";
|
|
13
|
-
import { u as useTranslation, a3 as useAnalyticsContext, a4 as Icon, z as translateStringOrObject, L as Loader, a5 as noop, G as Typography, P as createLogger, W as isEmpty, a1 as entriesOf, aV as doArraysMatch } from "./StoreProvider-
|
|
14
|
-
import { b as useId } from "./useToastContext-
|
|
13
|
+
import { u as useTranslation, a3 as useAnalyticsContext, a4 as Icon, z as translateStringOrObject, L as Loader, a5 as noop, G as Typography, P as createLogger, W as isEmpty, a1 as entriesOf, aV as doArraysMatch } from "./StoreProvider-B3keNsSi.js";
|
|
14
|
+
import { b as useId } from "./useToastContext-DY1glqsq.js";
|
|
15
15
|
import { computed, signal, useSignal, useSignalEffect } from "@preact/signals";
|
|
16
|
-
import { K as KEYBOARD_KEYS } from "./Modal-
|
|
17
|
-
import { C as Checkbox, a as debouncedInputEvent } from "./debouncedInputEvent-
|
|
16
|
+
import { K as KEYBOARD_KEYS } from "./Modal-C2lu6JPV.js";
|
|
17
|
+
import { C as Checkbox, a as debouncedInputEvent } from "./debouncedInputEvent-DYc31mka.js";
|
|
18
18
|
const ARIA_ERROR_SUFFIX = "-ariaError";
|
|
19
19
|
const MaybeFieldset = ({
|
|
20
20
|
children,
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useContext, useCallback, useMemo } from "preact/hooks";
|
|
11
|
-
import { d as debounce } from "./debouncedInputEvent-
|
|
12
|
-
import { az as StateContext } from "./StoreProvider-
|
|
11
|
+
import { d as debounce } from "./debouncedInputEvent-DYc31mka.js";
|
|
12
|
+
import { az as StateContext } from "./StoreProvider-B3keNsSi.js";
|
|
13
13
|
function useStateContext() {
|
|
14
14
|
const context = useContext(StateContext);
|
|
15
15
|
return context;
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useCallback, useMemo, useReducer, useEffect } from "preact/hooks";
|
|
11
|
-
import { ak as objectsDeepEqual, P as createLogger, W as isEmpty } from "./StoreProvider-
|
|
12
|
-
import { V as ValidationResult } from "./useForm-
|
|
13
|
-
import { e as isNotEmptyValidator } from "./CountryField-
|
|
11
|
+
import { ak as objectsDeepEqual, P as createLogger, W as isEmpty } from "./StoreProvider-B3keNsSi.js";
|
|
12
|
+
import { V as ValidationResult } from "./useForm-avk4-ipZ.js";
|
|
13
|
+
import { e as isNotEmptyValidator } from "./CountryField-DV_JQmBc.js";
|
|
14
14
|
const omitKeys = (obj, omit) => Object.keys(obj).filter((k) => !omit.includes(k)).reduce((a, c) => {
|
|
15
15
|
a[c] = obj[c];
|
|
16
16
|
return a;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, j as useQuery, m as httpGet } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, j as useQuery, m as httpGet } from "./StoreProvider-B3keNsSi.js";
|
|
11
11
|
const getOnboardingStatus = async (legalEntityId, baseUrl) => {
|
|
12
12
|
return httpGet({
|
|
13
13
|
baseUrl,
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, j as useQuery, a1 as entriesOf, w as skipToken, am as Scenarios, m as httpGet } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, j as useQuery, a1 as entriesOf, w as skipToken, am as Scenarios, m as httpGet } from "./StoreProvider-B3keNsSi.js";
|
|
11
11
|
const getScenarios = async (legalEntityId, baseUrl, legalEntityType, countryCode) => {
|
|
12
12
|
const scenarioParams = new URLSearchParams({
|
|
13
13
|
...countryCode && { countryCode },
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, j as useQuery, m as httpGet } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, j as useQuery, m as httpGet } from "./StoreProvider-B3keNsSi.js";
|
|
11
11
|
const getTermsOfServiceAcceptanceInfos = async (legalEntityId, baseUrl) => {
|
|
12
12
|
return httpGet({
|
|
13
13
|
baseUrl,
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { P as createLogger, a2 as useQueryClient, b as useApiContext, aW as ToastContext } from "./StoreProvider-
|
|
10
|
+
import { P as createLogger, a2 as useQueryClient, b as useApiContext, aW as ToastContext } from "./StoreProvider-B3keNsSi.js";
|
|
11
11
|
import { useCallback, useState, useContext } from "preact/hooks";
|
|
12
12
|
const logger = createLogger();
|
|
13
13
|
const QUERIES_TO_INVALIDATE_WHEN_ROOT_LE_IS_INVALIDATED = [
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useMemo } from "preact/hooks";
|
|
11
|
-
import { r as LegalEntityTypes, ag as getOwnEntityAssociations, c as useLegalEntity, R as ROOT_LE } from "./StoreProvider-
|
|
12
|
-
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-
|
|
13
|
-
import { U as UnincorporatedPartnershipMemberTypes } from "./CountryField-
|
|
14
|
-
import { g as getLegalEntityNameBasedOnType } from "./getName-
|
|
11
|
+
import { r as LegalEntityTypes, ag as getOwnEntityAssociations, c as useLegalEntity, R as ROOT_LE } from "./StoreProvider-B3keNsSi.js";
|
|
12
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-CYH9V5Xq.js";
|
|
13
|
+
import { U as UnincorporatedPartnershipMemberTypes } from "./CountryField-DV_JQmBc.js";
|
|
14
|
+
import { g as getLegalEntityNameBasedOnType } from "./getName-DoKphN6F.js";
|
|
15
15
|
const getMemberOwnerId = (memberId, entityAssociations) => entityAssociations.find((association) => association.associatorId === memberId)?.legalEntityId;
|
|
16
16
|
const convertEntityAssociationIntoUnincorporatedPartnershipMember = (association) => {
|
|
17
17
|
if (association.entityType === LegalEntityTypes.INDIVIDUAL || association.entityType === LegalEntityTypes.ORGANIZATION)
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, a0 as useMutation, k as httpPost } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, a0 as useMutation, k as httpPost } from "./StoreProvider-B3keNsSi.js";
|
|
11
11
|
const createBusinessLine = async (legalEntityId, baseUrl, data) => {
|
|
12
12
|
return httpPost(
|
|
13
13
|
{
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, a2 as useQueryClient, a0 as useMutation, k as httpPost } from "./StoreProvider-
|
|
11
|
-
import { c as useInvalidateRootLegalEntity } from "./useToastContext-
|
|
10
|
+
import { b as useApiContext, a2 as useQueryClient, a0 as useMutation, k as httpPost } from "./StoreProvider-B3keNsSi.js";
|
|
11
|
+
import { c as useInvalidateRootLegalEntity } from "./useToastContext-DY1glqsq.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-B3keNsSi.js";
|
|
12
|
+
import { C as Currencies } from "./types-Cw17x8Np.js";
|
|
13
|
+
import { l as localizeDateString } from "./localizeDateString-CPJjzvbI.js";
|
|
14
14
|
const formatCurrency = (amount, currency, locale) => {
|
|
15
15
|
const { format } = new Intl.NumberFormat(
|
|
16
16
|
locale,
|
|
@@ -7,11 +7,11 @@
|
|
|
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-BCv_4ys0.js";
|
|
11
|
+
import { g as getLegalEntityCountry, bz as getCapabilities, r as LegalEntityTypes, H as hasOwnEntityAssociationOfType, C as CountryCodes } from "./StoreProvider-B3keNsSi.js";
|
|
12
|
+
import { d as allowIndividualWithoutSoleProp } from "./OnboardingDropinComponent-CGRMDHo5.js";
|
|
13
|
+
import { S as SOLE_PROP_COUNTRIES } from "./rules-BBUN-4MX.js";
|
|
14
|
+
import { A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-DqhBmUbr.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-B3keNsSi.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-B3keNsSi.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 = {
|