@adyen/kyc-components 3.76.0-beta.1 → 4.0.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-BOQpgDuh.js → AcceptTermsOfServiceComponent-BQ4Yct7L.js} +6 -6
- package/dist/{AccountSetupRejected-CLD5yPUd.js → AccountSetupRejected-UVhxMcAe.js} +2 -2
- package/dist/{Avatar-ByXDvRnN.js → Avatar-NEiNEcRx.js} +1 -1
- package/dist/{BusinessDetailsDropin-CC8AQSzz.js → BusinessDetailsDropin-l0xfPekL.js} +18 -47
- package/dist/{BusinessFinancingComponent-DaTK2ha9.js → BusinessFinancingComponent-Bs-poF2d.js} +2 -2
- package/dist/{BusinessFinancingDropin-Cxo-nBOC.js → BusinessFinancingDropin-DoRzdS4n.js} +10 -20
- package/dist/{BusinessFinancingPage-CBxphlTv.js → BusinessFinancingPage-DSlmJmOK.js} +2 -2
- package/dist/{BusinessTypeSelectionPage-BTtEGnSf.js → BusinessTypeSelectionPage-Bmi_8K2g.js} +4 -4
- package/dist/{ContractViewer-Df9tNJPa.js → ContractViewer-R4-gfVmp.js} +1 -1
- package/dist/{CreateIndividualComponent-CB4EKaBU.js → CreateIndividualComponent-D3aXuYRk.js} +3 -3
- package/dist/{CreateTransferInstrumentComponent-DzLl5c2J.js → CreateTransferInstrumentComponent-C-ncZ-A8.js} +2 -2
- package/dist/{CustomerSupport-WjBJL8ee.js → CustomerSupport-CMFRgQNa.js} +5 -5
- package/dist/{DebugModal-DTjZh61l.js → DebugModal-BEmhG3UP.js} +8 -8
- package/dist/{DecisionMakerDetailsPage-CGHxqfLV.js → DecisionMakerDetailsPage-DI2Ubmef.js} +3 -3
- package/dist/{DecisionMakers-Cq1ugA0Q.js → DecisionMakers-BKhtcs_K.js} +4 -4
- package/dist/{EmbeddedStatus-U4HvtsbX.js → EmbeddedStatus-BsZsXbKc.js} +2 -2
- package/dist/{FormEndState-DXjakR3n.js → FormEndState-C3HCmXcw.js} +1 -1
- package/dist/{FormFlow-DQdofZrs.js → FormFlow-Bt-mu4Wm.js} +2 -2
- package/dist/{IndividualOnfidoDropin-Ces-NVRq.js → IndividualOnfidoDropin-DGMCOm9M.js} +12 -80
- package/dist/{Introduction-CoAMVQ3N.js → Introduction-DJ6qIUPC.js} +3 -3
- package/dist/{LegalRepresentativeDetailsPage-DR4k-6tr.js → LegalRepresentativeDetailsPage-CyHwQR_W.js} +3 -3
- package/dist/{ManageIndividualComponent-DCy_23X2.js → ManageIndividualComponent-BIMCvcr2.js} +3 -3
- package/dist/{ManagePCIComponent-mIpoEgqY.js → ManagePCIComponent-Blj60xLa.js} +3 -3
- package/dist/{ManageTermsOfServiceComponent-BhbLMdNx.js → ManageTermsOfServiceComponent-CsM23jq3.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-BPiWJOhY.js → ManageTransferInstrumentComponent-Vut9_bRn.js} +3 -3
- package/dist/{OnboardingDropinComponent-BVaYr5u1.js → OnboardingDropinComponent-BW6er2HU.js} +44 -45
- package/dist/{ProviderButton-BhJVIjNR.js → ProviderButton-DAsW5EVa.js} +2 -2
- package/dist/{Review-C5hzFoFb.js → Review-DWDbL9-9.js} +3 -3
- package/dist/{RootBusinessDetailsPage-msInyOAG.js → RootBusinessDetailsPage-BTYIldSf.js} +2 -2
- package/dist/{RootIndividualDetailsPage-DkzqPD70.js → RootIndividualDetailsPage-DCxJ3ycQ.js} +3 -3
- package/dist/{SignPCIComponent-DGUa4ESJ.js → SignPCIComponent-kHaxhkWa.js} +5 -5
- package/dist/{SingpassSelection-ChJWE7tg.js → SingpassSelection-Dmlbiq4Z.js} +2 -2
- package/dist/{SoleProprietorshipPage-Bkz3cuhd.js → SoleProprietorshipPage-Bdhs90-q.js} +2 -2
- package/dist/{SourceOfFunds.module-D9RYIoX3.js → SourceOfFunds.module-xwHIboir.js} +1 -1
- package/dist/{SourceOfFundsPage-gHK01p0a.js → SourceOfFundsPage-Bj22DAFv.js} +9 -14
- package/dist/{StoreProvider-BPX6_P1w.js → StoreProvider-BmzY19Td.js} +423 -367
- package/dist/{TaskItemStatus-Cja3jHef.js → TaskItemStatus-CB6FEOnk.js} +2 -2
- package/dist/{TaxReportingDropin-EGclbYvF.js → TaxReportingDropin-jofokkei.js} +7 -7
- package/dist/{TileGroup-D2oyZXRy.js → TileGroup-i5Jc08ns.js} +2 -2
- package/dist/{TrustDetailsPage-BjZh9pfZ.js → TrustDetailsPage-B6HmvYUf.js} +9 -9
- package/dist/{TrustMemberCompanyPage-YzgDh_y0.js → TrustMemberCompanyPage-D3VJOq6a.js} +3 -3
- package/dist/{TrustMemberIndividualPage-B08_52rA.js → TrustMemberIndividualPage-1aeOYsnG.js} +3 -3
- package/dist/{UnincorporatedPartnershipIndividualPage-DECzh_NU.js → UnincorporatedPartnershipIndividualPage-Bt7e6ncF.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-CY5rfvMd.js → UnincorporatedPartnershipMemberCompanyPage-Ck5C_SEU.js} +2 -2
- package/dist/{VerificationErrorAlert-BMxnbhxL.js → VerificationErrorAlert-DhtKOmjt.js} +1 -1
- package/dist/{ViewVerificationStatusComponent-MQ3YZjpk.js → ViewVerificationStatusComponent-DtKLcCGI.js} +2 -2
- package/dist/adyen-business-financing.js +2 -2
- package/dist/adyen-individual.js +2 -2
- package/dist/adyen-kyc-components.js +14 -14
- package/dist/adyen-manage-individual.js +2 -2
- package/dist/adyen-manage-pci.js +2 -2
- package/dist/adyen-manage-terms-of-service.js +2 -2
- package/dist/adyen-manage-transfer-instruments.js +2 -2
- package/dist/adyen-onboarding.js +2 -2
- package/dist/adyen-sign-pci.js +2 -2
- package/dist/adyen-terms-of-service.js +2 -2
- package/dist/adyen-transfer-instrument.js +2 -2
- package/dist/adyen-verification-status.js +2 -2
- package/dist/{css-CCYsn1Bx.js → css-CQUoQdd2.js} +1 -1
- package/dist/{getFieldsWithExistingData-Df64vw7x.js → getFieldsWithExistingData-BW8_TEQl.js} +2 -2
- package/dist/{hasDataChanged-sUtN0Sjv.js → hasDataChanged-Mu0HyZ3E.js} +1 -1
- package/dist/{json-BYBI9iH_.js → json-DWikzB4g.js} +1 -1
- package/dist/{localizeDateString-CNlJ2Twp.js → localizeDateString-QtCjf8Fg.js} +1 -1
- package/dist/{mapFinancialReportsToFinancialInformation-ByUX4IZt.js → mapFinancialReportsToFinancialInformation-C-2jp0wg.js} +2 -2
- package/dist/{plaintext-BuWLFFGU.js → plaintext-B39yQnOr.js} +1 -1
- package/dist/{resolveEnvironment-CeEOE-Ml.js → resolveEnvironment-Dx0BPNMa.js} +3 -3
- package/dist/{rules-BOvgh8q2.js → rules-CUANHpja.js} +2 -2
- package/dist/style.css +0 -19
- package/dist/styles-CLV89_hH.js +0 -19
- package/dist/types/api/transferInstruments/useHandleBankVerificationError.d.ts +3 -3
- package/dist/types/components/EFP/fields/LegalFormField/LegalFormField.d.ts +1 -1
- package/dist/types/components/EFP/fields/NaceCodeField/NaceCodeField.d.ts +1 -1
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/utils.d.ts +0 -1
- package/dist/types/components/Individual/fields/IdentityNumber/IdentityNumber.d.ts +0 -1
- package/dist/types/components/Individual/fields/NameFields/NameFields.d.ts +2 -1
- package/dist/types/components/Individual/mapping/individualOnfidoKeyMappings.d.ts +1 -0
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/fieldConfig.d.ts +5 -3
- package/dist/types/components/Shared/fields/CountryField/CountryField.d.ts +1 -1
- package/dist/types/components/Shared/fields/CountryOfGoverningLawField/CountryOfGoverningLawField.d.ts +1 -1
- package/dist/types/components/Shared/fields/StateField/StateField.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/AddressField.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/SearchAddress.d.ts +2 -2
- package/dist/types/components/Shared/forms/Address/types.d.ts +0 -1
- package/dist/types/components/ui/atoms/Checkbox/Checkbox.d.ts +1 -2
- package/dist/types/components/ui/atoms/Field/Field.d.ts +1 -1
- package/dist/types/components/ui/atoms/Field/Field.types.d.ts +2 -0
- package/dist/types/components/ui/molecules/MaskedInput/MaskedInput.d.ts +1 -5
- package/dist/types/context/StateContext/types.d.ts +0 -1
- package/dist/types/hooks/useForm/types.d.ts +1 -2
- package/dist/types/utils/api/processCapabilitites.d.ts +2 -1
- package/dist/{useMultiForm-CZt22ApL.js → useMultiForm-Bwx2nVhh.js} +2 -2
- package/dist/{useOnboardingStatus-DUpCpEX5.js → useOnboardingStatus-Cwba-HzS.js} +1 -1
- package/dist/{useSalesChannelsSettings-7_LCHKOD.js → useSalesChannelsSettings-BLzegVJh.js} +1 -1
- package/dist/{useTermsOfServiceStatus-XQrO9fJx.js → useTermsOfServiceStatus-C-i9mF4m.js} +1 -1
- package/dist/{useUpdateLegalEntity-n02Bk4nJ.js → useUpdateLegalEntity-xQlAqIqy.js} +2 -2
- package/dist/{utils-0EQ0eKAn.js → utils-DXv7uAh6.js} +4 -4
- package/dist/{validate-DVNNANhX.js → validate-BN5p-GhK.js} +2 -2
- package/dist/{yaml-Ca7Tl3w_.js → yaml-jFdy-qnY.js} +1 -1
- package/package.json +1 -1
|
@@ -2,26 +2,26 @@
|
|
|
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] = "e2cdc12a-d741-4f4f-a432-dd45c7e5c993", e._sentryDebugIdIdentifier = "sentry-dbid-e2cdc12a-d741-4f4f-a432-dd45c7e5c993");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { p as useApiContext, q as useQuery, r as httpGet, be as useInvalidateRootLegalEntity, bf as useMutation, bh as httpPost,
|
|
11
|
+
import { p as useApiContext, q as useQuery, r as httpGet, be as useInvalidateRootLegalEntity, bf as useMutation, bh as httpPost, bS as formatObject, y as LegalEntityType, C as Typography, ew as Currencies, b as useI18nContext, az as Field, ex as InputGroup, bK as Select, bq as InputText, bW as InputDate, aD as TextArea, aV as RadioGroup, aF as CountryField, b2 as Modal, B as Alert, Z as Button, b8 as Confirm, ap as isEmpty, au as useForm, ey as useGlobalDataSlice, ax as ErrorPanel, ay as createFormUtils, L as Loader, a3 as Icon, bM as getFormProps, a0 as Card, b5 as StructuredList, _ as IconButton, bN as isEmpty$1, bm as Svg, a5 as useToastContext, X as createLogger, ez as Dropzone, cv as createDocumentRequest, bn as useQueryClient, a as useLegalEntity, R as ROOT_LE, ec as useStateContext, $ as useAnalyticsContext, eA as useLegalEntities, cH as getPropsFromConfigurations, bO as getRequiredForms, bP as addValidityToForms, bQ as useFormComposer, cz as documentApiUtils, ei as FormWrapper, ab as useCapabilityProblems, bi as getProblemsForEntity, U as EntityType, g as getLegalEntityCountry } from "./StoreProvider-BmzY19Td.js";
|
|
12
12
|
import { useState, useMemo, useEffect, useCallback, useRef } from "preact/hooks";
|
|
13
|
-
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
14
|
-
import { h as hasDataChanged } from "./hasDataChanged-
|
|
13
|
+
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-xQlAqIqy.js";
|
|
14
|
+
import { h as hasDataChanged } from "./hasDataChanged-Mu0HyZ3E.js";
|
|
15
15
|
import { signal } from "@preact/signals";
|
|
16
|
-
import { s as styles, T as TaskStatusIndicator } from "./SourceOfFunds.module-
|
|
16
|
+
import { s as styles, T as TaskStatusIndicator } from "./SourceOfFunds.module-xwHIboir.js";
|
|
17
17
|
import { a as formatAmountWithCurrency } from "./formatCurrency-CMOSdJMB.js";
|
|
18
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
18
|
+
import { l as localizeDateString } from "./localizeDateString-QtCjf8Fg.js";
|
|
19
19
|
import { t as toCapitalized } from "./toCapitalized-Bq7laD0b.js";
|
|
20
|
-
import { A as Avatar } from "./Avatar-
|
|
20
|
+
import { A as Avatar } from "./Avatar-NEiNEcRx.js";
|
|
21
21
|
import isURL from "validator/es/lib/isURL.js";
|
|
22
22
|
import { v as validateDateNotInTheFuture } from "./validate-CuwYJGc9.js";
|
|
23
|
-
import { T as TileGroup } from "./TileGroup-
|
|
24
|
-
import { n as normalizedTaskStatusStore } from "./OnboardingDropinComponent-
|
|
23
|
+
import { T as TileGroup } from "./TileGroup-i5Jc08ns.js";
|
|
24
|
+
import { n as normalizedTaskStatusStore } from "./OnboardingDropinComponent-BW6er2HU.js";
|
|
25
25
|
const getBusinessLines = async (legalEntityId, baseUrl) => {
|
|
26
26
|
return httpGet({
|
|
27
27
|
baseUrl,
|
|
@@ -786,11 +786,6 @@ const getSofCardDetails = (i18n, sourceOfFunds) => {
|
|
|
786
786
|
};
|
|
787
787
|
const ALLOWED_SOF_SERVICES = ["issuing", "banking"];
|
|
788
788
|
const SOF_INVALID_INPUT_ERROR_CODES = ["1_93", "1_94"];
|
|
789
|
-
const SOF_INVALID_INPUT_SUBERROR_CODES = ["1_9009", "1_9010", "1_9011", "1_9012"];
|
|
790
|
-
[
|
|
791
|
-
...SOF_INVALID_INPUT_ERROR_CODES,
|
|
792
|
-
...SOF_INVALID_INPUT_SUBERROR_CODES
|
|
793
|
-
];
|
|
794
789
|
const getRelevantErrors = (problems, targetCodes) => {
|
|
795
790
|
if (!problems) return false;
|
|
796
791
|
return problems.flatMap(
|