@adyen/kyc-components 3.83.0-beta.1 → 3.83.0-beta.2
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-NHSglI90.js → AcceptTermsOfServiceComponent-Bv73scoY.js} +13 -13
- package/dist/{AccountSetupRejected-C2y4f0Sg.js → AccountSetupRejected-DYcH4jd1.js} +4 -4
- package/dist/{Address-D-QcGGMN.js → Address-Rq4N9Y_5.js} +7 -7
- package/dist/{Alert-BD8qAZI-.js → Alert-B6QXq--e.js} +1 -1
- package/dist/{Avatar-DXBMw7vm.js → Avatar-DcASzPRl.js} +1 -1
- package/dist/{BusinessDetailsDropin-CMNEi8Gm.js → BusinessDetailsDropin-6Tj8EyQN.js} +31 -31
- package/dist/{BusinessFinancingComponent-DrpO3e1A.js → BusinessFinancingComponent-CstsGccv.js} +4 -4
- package/dist/{BusinessFinancingDropin-DJEbkV3Y.js → BusinessFinancingDropin-BQhdxix1.js} +19 -19
- package/dist/{BusinessFinancingPage-DLaDY-Uq.js → BusinessFinancingPage-G_B7rQlk.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-BJRaS9H-.js → BusinessTypeSelectionPage-B5EMikez.js} +6 -6
- package/dist/{Card-_bmZon7L.js → Card-YSCtvErB.js} +3 -3
- package/dist/{CountryField-DmonPNZO.js → CountryField-wF2X7TfL.js} +4 -4
- package/dist/{CreateIndividualComponent-CkILJgyL.js → CreateIndividualComponent-DLKhj8PN.js} +5 -5
- package/dist/{CreateTransferInstrumentComponent-BGxE_vox.js → CreateTransferInstrumentComponent-Da6_ttXh.js} +5 -5
- package/dist/{Currency-CUMN4L9k.js → Currency-DDdZxh2F.js} +5 -5
- package/dist/{CustomerSupport-8qlFaVO7.js → CustomerSupport-BDp8On0T.js} +7 -7
- package/dist/{DebugModal-CL85c29Q.js → DebugModal-IZ6UVW3x.js} +6 -6
- package/dist/{DecisionMakerDetailsPage-DZ5Pbrzj.js → DecisionMakerDetailsPage-j9e8aCgm.js} +6 -6
- package/dist/{DecisionMakers-DWCpFTN7.js → DecisionMakers-BGDTdu1I.js} +17 -17
- package/dist/{Dropzone-k9eDYHuF.js → Dropzone-BF2QTmI3.js} +3 -3
- package/dist/{EmbeddedStatus-BNXpefxA.js → EmbeddedStatus-Czg52t3g.js} +2 -2
- package/dist/{EndStateLayout-BlsSOBxC.js → EndStateLayout-C-7mj5h3.js} +1 -1
- package/dist/{FormNavigation-D16yPYMA.js → FormNavigation-C3h8b-0f.js} +2 -2
- package/dist/{IndividualOnfidoDropin-tvhgtvR0.js → IndividualOnfidoDropin-Bmr5ce3u.js} +34 -34
- package/dist/{InputDate-HDR-8eik.js → InputDate-tlEiNcBZ.js} +1 -1
- package/dist/{InputText-BTZqEFXC.js → InputText-BvhR4CE7.js} +2 -2
- package/dist/{Introduction-DbaCcjK_.js → Introduction-Bt2VNYbY.js} +4 -4
- package/dist/{JpAddress-pYOlEoQK.js → JpAddress-7hw656JV.js} +7 -7
- package/dist/{LegalRepresentativeDetailsPage-CkkKt-ll.js → LegalRepresentativeDetailsPage-DRhnE9jA.js} +4 -4
- package/dist/{Link-BWLLieC3.js → Link-pX71TLFT.js} +1 -1
- package/dist/{ManageIndividualComponent-Dyk5ZSKg.js → ManageIndividualComponent-BoaGWd94.js} +5 -5
- package/dist/{ManageTermsOfServiceComponent-DM9Yzm7u.js → ManageTermsOfServiceComponent-YIiw9kj6.js} +5 -5
- package/dist/{ManageTransferInstrumentComponent-DBiqjngo.js → ManageTransferInstrumentComponent-DHi3iaKb.js} +11 -11
- package/dist/{MaskedInput-C2sGVNTU.js → MaskedInput-DjpO-hDn.js} +4 -4
- package/dist/{Modal-H8_qswJ2.js → Modal-CVgEtl1o.js} +1 -1
- package/dist/{OnboardingDropinComponent-D75mR9jY.js → OnboardingDropinComponent-D1m-WeL3.js} +44 -44
- package/dist/{PayoutDetailsDropin-BzLfejlV.js → PayoutDetailsDropin-BN4Egs17.js} +22 -22
- package/dist/{RadioGroup-SVBoyYP7.js → RadioGroup-gvxdjF9x.js} +5 -5
- package/dist/{RegistrationAddress-Dqki72Mo.js → RegistrationAddress-DDIUqGii.js} +18 -15
- package/dist/{Review-1D_qSngM.js → Review-BuTqzcPW.js} +6 -6
- package/dist/{RootBusinessDetailsPage-B8369q32.js → RootBusinessDetailsPage-kzh7e4dJ.js} +23 -23
- package/dist/{RootIndividualDetailsPage-Bewn8GQP.js → RootIndividualDetailsPage-8Adg7IiI.js} +4 -4
- package/dist/{SignPCIComponent-C9ygv8Jd.js → SignPCIComponent-C4uGbS0m.js} +8 -8
- package/dist/{SingpassSelection-zsrgw2oe.js → SingpassSelection-LN5Zo5wj.js} +3 -3
- package/dist/{SoleProprietorshipPage-BUmA3QNQ.js → SoleProprietorshipPage-BRRDElW7.js} +4 -4
- package/dist/{SourceOfFundsPage-CG73cow1.js → SourceOfFundsPage-CyN9clDd.js} +25 -25
- package/dist/{StepProgressIndicator-BOEYpiZ7.js → StepProgressIndicator-BwdL2ph4.js} +1 -1
- package/dist/{StoreProvider-CNMP4kya.js → StoreProvider-BZ3VJBI9.js} +4 -4
- package/dist/{TaskItemStatus-lQ4IUmeY.js → TaskItemStatus-aHjLFeuV.js} +2 -2
- package/dist/{TaskStatusIndicator-BNoNWn6r.js → TaskStatusIndicator-PUrns2Zm.js} +1 -1
- package/dist/{TaxInformationField-Csv7bCj4.js → TaxInformationField-C445Ic42.js} +13 -13
- package/dist/{TaxReportingDropin-DUvbuDld.js → TaxReportingDropin-B0Re89CF.js} +15 -15
- package/dist/{TileGroup-CBSEwsMg.js → TileGroup-CVce1-IU.js} +3 -3
- package/dist/{TrustDetailsPage-DUuUVeHB.js → TrustDetailsPage-BEEXsmtj.js} +21 -21
- package/dist/{TrustMemberCompanyPage-CgHu9uJ9.js → TrustMemberCompanyPage-BsudUWhs.js} +5 -5
- package/dist/{TrustMemberIndividualPage-BPJbI1Gt.js → TrustMemberIndividualPage-LwGDVcmv.js} +4 -4
- package/dist/{UnincorporatedPartnershipIndividualPage-D6Zp5sHi.js → UnincorporatedPartnershipIndividualPage-i-_0aV_w.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-Jod2M1or.js → UnincorporatedPartnershipMemberCompanyPage-CIRJtvxP.js} +5 -5
- package/dist/{ViewVerificationStatusComponent-X0l1VTM0.js → ViewVerificationStatusComponent-QjtvIEXI.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 +21 -21
- 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/{analytics-CcmolsZA.js → analytics-tvwCeUsl.js} +1 -1
- package/dist/{bafinUtils-CyvgRhtA.js → bafinUtils-BaTYsA54.js} +5 -5
- package/dist/{fieldConfigurations-CK0kTwGU.js → fieldConfigurations-sEWracQd.js} +6 -6
- package/dist/{getName-CMUzNpXD.js → getName-DLZ8ABYZ.js} +1 -1
- package/dist/{hasDataChanged-DN4e6NN0.js → hasDataChanged-CHk45pIY.js} +1 -1
- package/dist/{iframeWidget-jYLUGD3M.js → iframeWidget-DoptuU_-.js} +3 -3
- package/dist/{isEmpty-Bv1xn0XA.js → isEmpty-4qXPXVEZ.js} +1 -1
- package/dist/{localizeDateString-BEbj5CtO.js → localizeDateString-B-2EJVYU.js} +1 -1
- package/dist/{mapExistingFile-BNuvPfmk.js → mapExistingFile-CJ7ZrhQs.js} +3 -3
- package/dist/{mapScriptLocalization-DtYo3czn.js → mapScriptLocalization-aGCNy7Rg.js} +3 -3
- package/dist/{mapTransferInstrumentToPayoutAccount-Co_VW3I8.js → mapTransferInstrumentToPayoutAccount-Dy4NYN8n.js} +1 -1
- package/dist/{resolveEnvironment-Bm4od8iL.js → resolveEnvironment-CrxjJzjz.js} +3 -3
- package/dist/{rules-VZTgm5y9.js → rules-D8LwZV9X.js} +4 -4
- package/dist/{translation-Boe9ioNX.js → translation-CJJlQemu.js} +1 -1
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/VatNumberTypeSelector.d.ts +1 -1
- package/dist/{types-Cn9_cQiq.js → types-BGiggHcv.js} +1 -1
- package/dist/{types-BCbokuML.js → types-PMT5d134.js} +1 -1
- package/dist/{useAssociatedLegalEntity-DrKgw2CD.js → useAssociatedLegalEntity-Dp5M3gBp.js} +1 -1
- package/dist/{useDataset-BJVe8FYU.js → useDataset-BNYXM26O.js} +2 -2
- package/dist/{useForm-cpULl6pL.js → useForm-BP-5DnMv.js} +3 -3
- package/dist/{useGlobalData-bQ5tC2yb.js → useGlobalData-CsnTp-i5.js} +7 -7
- package/dist/{useOnboardingStatus-D1R-UcyH.js → useOnboardingStatus-DFINyW_u.js} +1 -1
- package/dist/{useScenarios-BpHowAEi.js → useScenarios-Ca7OQMsd.js} +1 -1
- package/dist/{useTermsOfServiceStatus-zVjqiHoR.js → useTermsOfServiceStatus-CvuxKIcX.js} +1 -1
- package/dist/{useToastContext-BuIpjA3T.js → useToastContext-ewL7loAp.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-CAGmGGUK.js → useUnincorporatedPartnershipMembers-BwcTO_HX.js} +4 -4
- package/dist/{utils-cx6c9qQc.js → utils-BVQp2kUo.js} +1 -1
- package/dist/{utils-CER3OjRI.js → utils-C6O8RtFg.js} +1 -1
- package/dist/{utils-CrSLtCeh.js → utils-DDjbmeLq.js} +6 -6
- package/dist/{validate-CbeJl-mK.js → validate-BTXgRDAW.js} +6 -6
- package/dist/{validate-DJE9EBSQ.js → validate-DT8DuIl2.js} +2 -2
- package/dist/{validate-BFBXnzpr.js → validate-WvXhJR-U.js} +1 -1
- package/dist/{validationError-BnPz-BCm.js → validationError-BnT3tNgV.js} +1 -1
- package/package.json +1 -1
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useReducer, useMemo, useContext } from "preact/hooks";
|
|
11
|
-
import { b as useApiContext, j as useQuery, k as httpPost, X as useExperimentsContext, g as getLegalEntityCountry, aa as CountryCodes, z as isPartOfTrustFromLegalEntity, y as LegalEntityTypes, C as hasSolePropInLegalEntity, ai as individualComponentsKeyMapping, aj as businessDetailsComponentsKeyMapping, ak as SettingsContext, a as useTranslation, x as Typography, al as DecisionMakerTypes, M as TaskTypes, am as Scenarios } from "./StoreProvider-
|
|
12
|
-
import { h as TrustedFieldsProviders } from "./fieldConfigurations-
|
|
11
|
+
import { b as useApiContext, j as useQuery, k as httpPost, X as useExperimentsContext, g as getLegalEntityCountry, aa as CountryCodes, z as isPartOfTrustFromLegalEntity, y as LegalEntityTypes, C as hasSolePropInLegalEntity, ai as individualComponentsKeyMapping, aj as businessDetailsComponentsKeyMapping, ak as SettingsContext, a as useTranslation, x as Typography, al as DecisionMakerTypes, M as TaskTypes, am as Scenarios } from "./StoreProvider-BZ3VJBI9.js";
|
|
12
|
+
import { h as TrustedFieldsProviders } from "./fieldConfigurations-sEWracQd.js";
|
|
13
13
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
14
|
-
import { F as Field, b as SelectListItem } from "./useForm-
|
|
15
|
-
import { I as InputText } from "./InputText-
|
|
16
|
-
import { c as createFormUtils, r as roleMetadata } from "./CountryField-
|
|
14
|
+
import { F as Field, b as SelectListItem } from "./useForm-BP-5DnMv.js";
|
|
15
|
+
import { I as InputText } from "./InputText-BvhR4CE7.js";
|
|
16
|
+
import { c as createFormUtils, r as roleMetadata } from "./CountryField-wF2X7TfL.js";
|
|
17
17
|
import cx from "classnames";
|
|
18
18
|
import { signal, computed } from "@preact/signals";
|
|
19
19
|
async function convertToSingpassLinkResponse(openIdInitiateResponse) {
|
|
@@ -7,17 +7,17 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as useLegalEntity, R as ROOT_LE, X as useExperimentsContext, an as getCapabilityProblems, g as getLegalEntityCountry, N as createLogger, ao as businessDetailsApiKeyMapping, ap as individualApiKeyMapping, aq as remediationHasFileUploadField, ar as dataMissingRemediationsToFieldsMap, as as keysOf, b as useApiContext, at as hasText, au as isValidMinLength, av as matchesRegex, a7 as isEmpty, aw as NO_ALPHABET_REGEX, ax as EMOJI_REGEX, ay as hasRepeatedCharacters, az as isInvalidName, aA as OTHER_ENTITIES_VALID_CHAR_REGEX, aB as LATIN_SPACE_MARK_PUNCTUATION_REGEX, aC as standardKatakanaValidator, aD as standardKanjiValidator, U as useAnalyticsContext, a as useTranslation, L as Loader } from "./StoreProvider-
|
|
10
|
+
import { c as useLegalEntity, R as ROOT_LE, X as useExperimentsContext, an as getCapabilityProblems, g as getLegalEntityCountry, N as createLogger, ao as businessDetailsApiKeyMapping, ap as individualApiKeyMapping, aq as remediationHasFileUploadField, ar as dataMissingRemediationsToFieldsMap, as as keysOf, b as useApiContext, at as hasText, au as isValidMinLength, av as matchesRegex, a7 as isEmpty, aw as NO_ALPHABET_REGEX, ax as EMOJI_REGEX, ay as hasRepeatedCharacters, az as isInvalidName, aA as OTHER_ENTITIES_VALID_CHAR_REGEX, aB as LATIN_SPACE_MARK_PUNCTUATION_REGEX, aC as standardKatakanaValidator, aD as standardKanjiValidator, U as useAnalyticsContext, a as useTranslation, L as Loader } from "./StoreProvider-BZ3VJBI9.js";
|
|
11
11
|
import { useContext, useMemo, useRef, useState, useEffect } from "preact/hooks";
|
|
12
12
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
13
13
|
import { createContext } from "preact";
|
|
14
|
-
import { a as Alert } from "./Alert-
|
|
14
|
+
import { a as Alert } from "./Alert-B6QXq--e.js";
|
|
15
15
|
import cx from "classnames";
|
|
16
|
-
import { d as debouncedInputEvent } from "./analytics-
|
|
17
|
-
import { c as convertFullToHalf } from "./InputText-
|
|
16
|
+
import { d as debouncedInputEvent } from "./analytics-tvwCeUsl.js";
|
|
17
|
+
import { c as convertFullToHalf } from "./InputText-BvhR4CE7.js";
|
|
18
18
|
import { Suspense } from "preact/compat";
|
|
19
|
-
import { c as useId } from "./useForm-
|
|
20
|
-
import { R as Radio } from "./CountryField-
|
|
19
|
+
import { c as useId } from "./useForm-BP-5DnMv.js";
|
|
20
|
+
import { R as Radio } from "./CountryField-wF2X7TfL.js";
|
|
21
21
|
const useCapabilityProblems = () => {
|
|
22
22
|
const { data: rootLegalEntity } = useLegalEntity(ROOT_LE);
|
|
23
23
|
const { isExperimentEnabled } = useExperimentsContext();
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { y as LegalEntityTypes, a8 as getOwnEntityAssociations } from "./StoreProvider-
|
|
10
|
+
import { y as LegalEntityTypes, a8 as getOwnEntityAssociations } from "./StoreProvider-BZ3VJBI9.js";
|
|
11
11
|
const getIndividualLegalEntityName = (legalEntityResponse) => {
|
|
12
12
|
if (!legalEntityResponse || !legalEntityResponse?.individual) return "";
|
|
13
13
|
return `${legalEntityResponse.individual?.name?.firstName ?? ""} ${legalEntityResponse.individual?.name?.lastName ?? ""}`;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { a6 as entriesOf, ag as objectsDeepEqual } from "./StoreProvider-
|
|
10
|
+
import { a6 as entriesOf, ag as objectsDeepEqual } from "./StoreProvider-BZ3VJBI9.js";
|
|
11
11
|
const hasDataChanged = (initialData, currentData) => entriesOf(currentData ?? {}).some(([key, value]) => {
|
|
12
12
|
if (typeof value === "object") {
|
|
13
13
|
return !objectsDeepEqual(value, initialData?.[key]);
|
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { aE as cloneObject, N as createLogger, by as isString, k as httpPost } from "./StoreProvider-
|
|
11
|
-
import { i as isValueObscured } from "./MaskedInput-
|
|
10
|
+
import { aE as cloneObject, N as createLogger, by as isString, k as httpPost } from "./StoreProvider-BZ3VJBI9.js";
|
|
11
|
+
import { i as isValueObscured } from "./MaskedInput-DjpO-hDn.js";
|
|
12
12
|
import { g as getProp, d as deleteProp } from "./utils-DNSfZiio.js";
|
|
13
|
-
import { A as AdyenKycSdkError } from "./mapExistingFile-
|
|
13
|
+
import { A as AdyenKycSdkError } from "./mapExistingFile-CJ7ZrhQs.js";
|
|
14
14
|
const omitObscuredFieldsIfUnchanged = (obscuredFields, dataSubmitted, savedData) => {
|
|
15
15
|
if (!dataSubmitted) {
|
|
16
16
|
return;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { as as keysOf } from "./StoreProvider-
|
|
10
|
+
import { as as keysOf } from "./StoreProvider-BZ3VJBI9.js";
|
|
11
11
|
const isEmpty = (obj, ignoreEmptyProperties = true) => {
|
|
12
12
|
if (obj === null || obj === void 0) return true;
|
|
13
13
|
if (Array.isArray(obj)) return obj.length === 0;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { N as createLogger } from "./StoreProvider-
|
|
10
|
+
import { N as createLogger } from "./StoreProvider-BZ3VJBI9.js";
|
|
11
11
|
const localizeDateString = (dateString, locale, options) => {
|
|
12
12
|
const logger = createLogger();
|
|
13
13
|
const formatOptions = {
|
|
@@ -8,13 +8,13 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useEffect, useState, useMemo } from "preact/hooks";
|
|
11
|
-
import { u as useScenarios } from "./useScenarios-
|
|
12
|
-
import { aa as CountryCodes, N as createLogger, a as useTranslation, V as Icon } from "./StoreProvider-
|
|
11
|
+
import { u as useScenarios } from "./useScenarios-Ca7OQMsd.js";
|
|
12
|
+
import { aa as CountryCodes, N as createLogger, a as useTranslation, V as Icon } from "./StoreProvider-BZ3VJBI9.js";
|
|
13
13
|
import { signal } from "@preact/signals";
|
|
14
14
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
15
15
|
import cx from "classnames";
|
|
16
16
|
import { lazy } from "preact/compat";
|
|
17
|
-
import { I as Image } from "./fieldConfigurations-
|
|
17
|
+
import { I as Image } from "./fieldConfigurations-sEWracQd.js";
|
|
18
18
|
class AdyenKycSdkError extends Error {
|
|
19
19
|
sourceError;
|
|
20
20
|
constructor(message, sourceError) {
|
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, j as useQuery, o as httpGet, X as useExperimentsContext, aa as CountryCodes } from "./StoreProvider-
|
|
11
|
-
import { u as useSetting } from "./bafinUtils-
|
|
12
|
-
import { u as useCapabilities } from "./TaxInformationField-
|
|
10
|
+
import { b as useApiContext, j as useQuery, o as httpGet, X as useExperimentsContext, aa as CountryCodes } from "./StoreProvider-BZ3VJBI9.js";
|
|
11
|
+
import { u as useSetting } from "./bafinUtils-BaTYsA54.js";
|
|
12
|
+
import { u as useCapabilities } from "./TaxInformationField-C445Ic42.js";
|
|
13
13
|
const getSupportedCountries = async (legalEntityId, baseUrl) => {
|
|
14
14
|
return httpGet({
|
|
15
15
|
baseUrl,
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, j as useQuery, q as skipToken, o as httpGet, bz as payoutComponentKeyMapping } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, j as useQuery, q as skipToken, o as httpGet, bz as payoutComponentKeyMapping } from "./StoreProvider-BZ3VJBI9.js";
|
|
11
11
|
import { m as mapWith } from "./utils-DNSfZiio.js";
|
|
12
12
|
const getTransferInstrument = async (legalEntityId, baseUrl, transferInstrumentId) => {
|
|
13
13
|
return httpGet({
|
|
@@ -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] = "a83a49aa-ecb1-448e-982c-bf939f6e3e37", e._sentryDebugIdIdentifier = "sentry-dbid-a83a49aa-ecb1-448e-982c-bf939f6e3e37");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { aS as refreshSession, B as Button, L as Loader, S as SettingsProvider, Q as QueryClientProvider, A as ApiProvider, E as ExperimentsContextProvider, d as StoreProvider, e as AnalyticsProvider, I as I18nProvider, D as DebugListener, T as ToastContextProvider, f as StateProvider, h as setSdkTokenHandler, n as normalizeEnvironment } from "./StoreProvider-
|
|
11
|
+
import { aS as refreshSession, B as Button, L as Loader, S as SettingsProvider, Q as QueryClientProvider, A as ApiProvider, E as ExperimentsContextProvider, d as StoreProvider, e as AnalyticsProvider, I as I18nProvider, D as DebugListener, T as ToastContextProvider, f as StateProvider, h as setSdkTokenHandler, n as normalizeEnvironment } from "./StoreProvider-BZ3VJBI9.js";
|
|
12
12
|
import { useState, useEffect } from "preact/hooks";
|
|
13
13
|
const sheet = new CSSStyleSheet();
|
|
14
14
|
const stylesheets = [sheet];
|
|
@@ -56,7 +56,7 @@ const EmbedShell = ({
|
|
|
56
56
|
experiments,
|
|
57
57
|
refreshExperiments,
|
|
58
58
|
children: /* @__PURE__ */ jsxs(StoreProvider, { children: [
|
|
59
|
-
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.83.0-beta.
|
|
59
|
+
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.83.0-beta.2" }),
|
|
60
60
|
/* @__PURE__ */ jsx(
|
|
61
61
|
AnalyticsProvider,
|
|
62
62
|
{
|
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { aa as CountryCodes, bb as allowedCountriesForNominee, al as DecisionMakerTypes, M as TaskTypes, am as Scenarios } from "./StoreProvider-
|
|
11
|
-
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET } from "./utils-
|
|
12
|
-
import { c as createFormRules } from "./fieldConfigurations-
|
|
13
|
-
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-
|
|
10
|
+
import { aa as CountryCodes, bb as allowedCountriesForNominee, al as DecisionMakerTypes, M as TaskTypes, am as Scenarios } from "./StoreProvider-BZ3VJBI9.js";
|
|
11
|
+
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET } from "./utils-C6O8RtFg.js";
|
|
12
|
+
import { c as createFormRules } from "./fieldConfigurations-sEWracQd.js";
|
|
13
|
+
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-BVQp2kUo.js";
|
|
14
14
|
const REQUIRED = "REQUIRED";
|
|
15
15
|
const OPTIONAL = "OPTIONAL";
|
|
16
16
|
const SOLE_PROP_COUNTRIES = [
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { createElement, isValidElement, cloneElement, Children, Fragment, useContext } from "preact/compat";
|
|
11
|
-
import { aL as warnOnce, aM as getI18n, aN as getDefaults, aO as isString, aP as warn, aQ as isObject, aR as I18nContext } from "./StoreProvider-
|
|
11
|
+
import { aL as warnOnce, aM as getI18n, aN as getDefaults, aO as isString, aP as warn, aQ as isObject, aR as I18nContext } from "./StoreProvider-BZ3VJBI9.js";
|
|
12
12
|
const __variableDynamicImportRuntimeHelper = (glob$1, path$13, segs) => {
|
|
13
13
|
const v = glob$1[path$13];
|
|
14
14
|
if (v) return typeof v === "function" ? v() : Promise.resolve(v);
|
|
@@ -11,7 +11,7 @@ interface PropsWithNoExemption {
|
|
|
11
11
|
interface PropsWithVatNumberExemption {
|
|
12
12
|
exemptedOption: TranslationKey;
|
|
13
13
|
selected: VatNumberType | 'exempted' | undefined;
|
|
14
|
-
setSelected: (type: VatNumberType | 'exempted') => void;
|
|
14
|
+
setSelected: (type: VatNumberType | 'exempted', exemptValue: boolean) => void;
|
|
15
15
|
}
|
|
16
16
|
type VatNumberTypeSelectorProps = {
|
|
17
17
|
country: CountryCode;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { aa as CountryCodes } from "./StoreProvider-
|
|
10
|
+
import { aa as CountryCodes } from "./StoreProvider-BZ3VJBI9.js";
|
|
11
11
|
import { C as Currencies } from "./currency-BGwQyxBo.js";
|
|
12
12
|
const currencyByCountry = {
|
|
13
13
|
[CountryCodes.Australia]: [Currencies.AUD],
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useMemo } from "preact/hooks";
|
|
11
|
-
import { N as createLogger, c as useLegalEntity, q as skipToken } from "./StoreProvider-
|
|
11
|
+
import { N as createLogger, c as useLegalEntity, q as skipToken } from "./StoreProvider-BZ3VJBI9.js";
|
|
12
12
|
const logger = createLogger();
|
|
13
13
|
function useAssociatedLegalEntity(parentLegalEntity, associationType) {
|
|
14
14
|
const matchingAssociation = useMemo(() => {
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
12
|
import { useState, useEffect } from "preact/hooks";
|
|
13
|
-
import { a as useTranslation, U as useAnalyticsContext, x as Typography, B as Button, N as createLogger, u as useI18nContext } from "./StoreProvider-
|
|
14
|
-
import { M as Modal } from "./Modal-
|
|
13
|
+
import { a as useTranslation, U as useAnalyticsContext, x as Typography, B as Button, N as createLogger, u as useI18nContext } from "./StoreProvider-BZ3VJBI9.js";
|
|
14
|
+
import { M as Modal } from "./Modal-CVgEtl1o.js";
|
|
15
15
|
const structuredList = "adyen-kyc-structured-list";
|
|
16
16
|
const structuredListSectionField = "adyen-kyc-structured-list-section-field";
|
|
17
17
|
const structuredListSectionLabel = "adyen-kyc-structured-list-section-label";
|
|
@@ -10,10 +10,10 @@
|
|
|
10
10
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
12
|
import { useState, useEffect, useRef, useMemo, useCallback, useReducer } from "preact/hooks";
|
|
13
|
-
import { U as useAnalyticsContext, a as useTranslation, V as Icon, w as translateStringOrObject, L as Loader, T as ToastContextProvider, W as noop, x as Typography, N as createLogger, a7 as isEmpty, a6 as entriesOf, aJ as doArraysMatch } from "./StoreProvider-
|
|
14
|
-
import { M as Modal, K as KEYBOARD_KEYS } from "./Modal-
|
|
13
|
+
import { U as useAnalyticsContext, a as useTranslation, V as Icon, w as translateStringOrObject, L as Loader, T as ToastContextProvider, W as noop, x as Typography, N as createLogger, a7 as isEmpty, a6 as entriesOf, aJ as doArraysMatch } from "./StoreProvider-BZ3VJBI9.js";
|
|
14
|
+
import { M as Modal, K as KEYBOARD_KEYS } from "./Modal-CVgEtl1o.js";
|
|
15
15
|
import { computed, signal, useSignal, useSignalEffect } from "@preact/signals";
|
|
16
|
-
import { d as debouncedInputEvent } from "./analytics-
|
|
16
|
+
import { d as debouncedInputEvent } from "./analytics-tvwCeUsl.js";
|
|
17
17
|
function Checkbox({
|
|
18
18
|
id,
|
|
19
19
|
name,
|
|
@@ -9,14 +9,14 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useContext, useState, useCallback, useMemo } from "preact/hooks";
|
|
12
|
-
import { bw as StateContext, a as useTranslation, U as useAnalyticsContext, X as useExperimentsContext, B as Button } from "./StoreProvider-
|
|
13
|
-
import { M as MaybeModal, L as LoaderWrapper } from "./useForm-
|
|
14
|
-
import { a as ModalContent, c as ModalHeader, b as ModalFooter } from "./Modal-
|
|
12
|
+
import { bw as StateContext, a as useTranslation, U as useAnalyticsContext, X as useExperimentsContext, B as Button } from "./StoreProvider-BZ3VJBI9.js";
|
|
13
|
+
import { M as MaybeModal, L as LoaderWrapper } from "./useForm-BP-5DnMv.js";
|
|
14
|
+
import { a as ModalContent, c as ModalHeader, b as ModalFooter } from "./Modal-CVgEtl1o.js";
|
|
15
15
|
import { S as Spacer } from "./Spacer-BK3jDget.js";
|
|
16
|
-
import { S as StepProgressIndicator } from "./StepProgressIndicator-
|
|
17
|
-
import { t as trackNavigation, j as FormRouterContextProvider, f as summaryStep, S as Summary } from "./CountryField-
|
|
18
|
-
import { F as FormNavigation } from "./FormNavigation-
|
|
19
|
-
import { a as debounce } from "./analytics-
|
|
16
|
+
import { S as StepProgressIndicator } from "./StepProgressIndicator-BwdL2ph4.js";
|
|
17
|
+
import { t as trackNavigation, j as FormRouterContextProvider, f as summaryStep, S as Summary } from "./CountryField-wF2X7TfL.js";
|
|
18
|
+
import { F as FormNavigation } from "./FormNavigation-C3h8b-0f.js";
|
|
19
|
+
import { a as debounce } from "./analytics-tvwCeUsl.js";
|
|
20
20
|
function useStateContext() {
|
|
21
21
|
const context = useContext(StateContext);
|
|
22
22
|
if (process.env.NODE_ENV === "development" && !context) {
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, j as useQuery, o as httpGet } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, j as useQuery, o as httpGet } from "./StoreProvider-BZ3VJBI9.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, a6 as entriesOf, q as skipToken, am as Scenarios, o as httpGet } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, j as useQuery, a6 as entriesOf, q as skipToken, am as Scenarios, o as httpGet } from "./StoreProvider-BZ3VJBI9.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, o as httpGet } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, j as useQuery, o as httpGet } from "./StoreProvider-BZ3VJBI9.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 { N as createLogger, aH as useQueryClient, b as useApiContext, aK as ToastContext } from "./StoreProvider-
|
|
10
|
+
import { N as createLogger, aH as useQueryClient, b as useApiContext, aK as ToastContext } from "./StoreProvider-BZ3VJBI9.js";
|
|
11
11
|
import { useCallback, 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 { y as LegalEntityTypes, a8 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 { y as LegalEntityTypes, a8 as getOwnEntityAssociations, c as useLegalEntity, R as ROOT_LE } from "./StoreProvider-BZ3VJBI9.js";
|
|
12
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-Dp5M3gBp.js";
|
|
13
|
+
import { U as UnincorporatedPartnershipMemberTypes } from "./CountryField-wF2X7TfL.js";
|
|
14
|
+
import { g as getLegalEntityNameBasedOnType } from "./getName-DLZ8ABYZ.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)
|
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { R as RadioGroupCard } from "./fieldConfigurations-
|
|
12
|
-
import { a as useTranslation, g as getLegalEntityCountry, bC as getCapabilities, y as LegalEntityTypes, G as hasOwnEntityAssociationOfType, aa as CountryCodes } from "./StoreProvider-
|
|
13
|
-
import { C as CompanyTypesValues } from "./bafinUtils-
|
|
14
|
-
import { d as allowIndividualWithoutSoleProp } from "./OnboardingDropinComponent-
|
|
15
|
-
import { S as SOLE_PROP_COUNTRIES } from "./rules-
|
|
16
|
-
import { A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-
|
|
11
|
+
import { R as RadioGroupCard } from "./fieldConfigurations-sEWracQd.js";
|
|
12
|
+
import { a as useTranslation, g as getLegalEntityCountry, bC as getCapabilities, y as LegalEntityTypes, G as hasOwnEntityAssociationOfType, aa as CountryCodes } from "./StoreProvider-BZ3VJBI9.js";
|
|
13
|
+
import { C as CompanyTypesValues } from "./bafinUtils-BaTYsA54.js";
|
|
14
|
+
import { d as allowIndividualWithoutSoleProp } from "./OnboardingDropinComponent-D1m-WeL3.js";
|
|
15
|
+
import { S as SOLE_PROP_COUNTRIES } from "./rules-D8LwZV9X.js";
|
|
16
|
+
import { A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-BGiggHcv.js";
|
|
17
17
|
const EntityTypeRadioGroupCard = ({
|
|
18
18
|
examples,
|
|
19
19
|
optionDescription,
|
|
@@ -8,13 +8,13 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useCallback, useState, useMemo, useEffect } from "preact/hooks";
|
|
11
|
-
import { b as useApiContext, k as httpPost, aa as CountryCodes, a7 as isEmpty, N as createLogger, a as useTranslation, a6 as entriesOf } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, k as httpPost, aa as CountryCodes, a7 as isEmpty, N as createLogger, a as useTranslation, a6 as entriesOf } from "./StoreProvider-BZ3VJBI9.js";
|
|
12
12
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
13
|
-
import { F as Field, S as Select } from "./useForm-
|
|
14
|
-
import { m as mergeFieldMetadataIntoProps, c as createFormUtils, F as FormHeader } from "./CountryField-
|
|
15
|
-
import { m as makeMask, a as nonInputs, n as numericInputs, s as spacer, M as MaskedInput, I as InputEmail } from "./MaskedInput-
|
|
16
|
-
import { r as resolveFieldMetadata } from "./fieldConfigurations-
|
|
17
|
-
import { u as useDataset, d as datasetIdentifier } from "./useDataset-
|
|
13
|
+
import { F as Field, S as Select } from "./useForm-BP-5DnMv.js";
|
|
14
|
+
import { m as mergeFieldMetadataIntoProps, c as createFormUtils, F as FormHeader } from "./CountryField-wF2X7TfL.js";
|
|
15
|
+
import { m as makeMask, a as nonInputs, n as numericInputs, s as spacer, M as MaskedInput, I as InputEmail } from "./MaskedInput-DjpO-hDn.js";
|
|
16
|
+
import { r as resolveFieldMetadata } from "./fieldConfigurations-sEWracQd.js";
|
|
17
|
+
import { u as useDataset, d as datasetIdentifier } from "./useDataset-BNYXM26O.js";
|
|
18
18
|
import { I as InputGroup } from "./InputGroup-WBfGDV5F.js";
|
|
19
19
|
import { e as emailPattern } from "./basePatterns-BwdnMQxI.js";
|
|
20
20
|
const validatePhoneNumber = (baseUrl, data) => {
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { k as httpPost, aG as httpDelete, o as httpGet, N as createLogger, bw as StateContext, a as useTranslation, U as useAnalyticsContext, V as Icon, x as Typography, P as IconButton } from "./StoreProvider-
|
|
11
|
-
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-
|
|
10
|
+
import { k as httpPost, aG as httpDelete, o as httpGet, N as createLogger, bw as StateContext, a as useTranslation, U as useAnalyticsContext, V as Icon, x as Typography, P as IconButton } from "./StoreProvider-BZ3VJBI9.js";
|
|
11
|
+
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-BVQp2kUo.js";
|
|
12
12
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
13
13
|
import cx from "classnames";
|
|
14
14
|
import { useEffect } from "preact/hooks";
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { M as TaskTypes, bs as remediationPayoutApiKeyMapping, bt as remediationBusinessDetailsApiKeyMapping, bu as remediationIndividualApiKeyMapping } from "./StoreProvider-
|
|
10
|
+
import { M as TaskTypes, bs as remediationPayoutApiKeyMapping, bt as remediationBusinessDetailsApiKeyMapping, bu as remediationIndividualApiKeyMapping } from "./StoreProvider-BZ3VJBI9.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 = {
|