@adyen/kyc-components 3.83.0-beta.2 → 3.83.0-beta.3
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-Bv73scoY.js → AcceptTermsOfServiceComponent-D8e1sDZT.js} +13 -13
- package/dist/{AccountSetupRejected-DYcH4jd1.js → AccountSetupRejected-D-KmHQzo.js} +4 -4
- package/dist/{Address-Rq4N9Y_5.js → Address-CzLEz7OJ.js} +7 -7
- package/dist/{Alert-B6QXq--e.js → Alert-BVGR7MHn.js} +1 -1
- package/dist/{Avatar-DcASzPRl.js → Avatar-5boVtx49.js} +1 -1
- package/dist/{BusinessDetailsDropin-6Tj8EyQN.js → BusinessDetailsDropin-PFz3s7n1.js} +31 -31
- package/dist/{BusinessFinancingComponent-CstsGccv.js → BusinessFinancingComponent-BmjAaTQ_.js} +4 -4
- package/dist/{BusinessFinancingDropin-BQhdxix1.js → BusinessFinancingDropin-DDcRIFam.js} +19 -19
- package/dist/{BusinessFinancingPage-G_B7rQlk.js → BusinessFinancingPage-xRoA3Meg.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-B5EMikez.js → BusinessTypeSelectionPage-p_s4qd7p.js} +6 -6
- package/dist/{Card-YSCtvErB.js → Card-C7Q3YRU0.js} +3 -3
- package/dist/{CountryField-wF2X7TfL.js → CountryField-DsNgjve_.js} +4 -4
- package/dist/{CreateIndividualComponent-DLKhj8PN.js → CreateIndividualComponent-CbB7YBHa.js} +5 -5
- package/dist/{CreateTransferInstrumentComponent-Da6_ttXh.js → CreateTransferInstrumentComponent-oVMAkdHF.js} +5 -5
- package/dist/{Currency-DDdZxh2F.js → Currency-Uyxgrwkd.js} +5 -5
- package/dist/{CustomerSupport-BDp8On0T.js → CustomerSupport-DXyyRzCO.js} +7 -7
- package/dist/{DebugModal-IZ6UVW3x.js → DebugModal-CZdd5yum.js} +6 -6
- package/dist/{DecisionMakerDetailsPage-j9e8aCgm.js → DecisionMakerDetailsPage-BHeP2p6V.js} +6 -6
- package/dist/{DecisionMakers-BGDTdu1I.js → DecisionMakers-Dk26nBGg.js} +17 -17
- package/dist/{Dropzone-BF2QTmI3.js → Dropzone-BOUeRyEd.js} +3 -3
- package/dist/{EmbeddedStatus-Czg52t3g.js → EmbeddedStatus-DgcVy93W.js} +2 -2
- package/dist/{EndStateLayout-C-7mj5h3.js → EndStateLayout-u-AxbKGP.js} +1 -1
- package/dist/{FormNavigation-C3h8b-0f.js → FormNavigation-BD6vRqzE.js} +2 -2
- package/dist/{IndividualOnfidoDropin-Bmr5ce3u.js → IndividualOnfidoDropin-B9aZXxls.js} +34 -34
- package/dist/{InputDate-tlEiNcBZ.js → InputDate-B6pvrg11.js} +1 -1
- package/dist/{InputText-BvhR4CE7.js → InputText-Colyh-Kh.js} +2 -2
- package/dist/{Introduction-Bt2VNYbY.js → Introduction-gJpd0kp2.js} +4 -4
- package/dist/{JpAddress-7hw656JV.js → JpAddress-CoZdQzgA.js} +7 -7
- package/dist/{LegalRepresentativeDetailsPage-DRhnE9jA.js → LegalRepresentativeDetailsPage-DbWTV4--.js} +4 -4
- package/dist/{Link-pX71TLFT.js → Link-B4XMR3Z3.js} +1 -1
- package/dist/{ManageIndividualComponent-BoaGWd94.js → ManageIndividualComponent-B7hoW40v.js} +5 -5
- package/dist/{ManageTermsOfServiceComponent-YIiw9kj6.js → ManageTermsOfServiceComponent-CoRVdlHV.js} +5 -5
- package/dist/{ManageTransferInstrumentComponent-DHi3iaKb.js → ManageTransferInstrumentComponent-6gs4mfhg.js} +11 -11
- package/dist/{MaskedInput-DjpO-hDn.js → MaskedInput-BmNxOxDh.js} +4 -4
- package/dist/{Modal-CVgEtl1o.js → Modal-C9YSZFg-.js} +1 -1
- package/dist/{OnboardingDropinComponent-D1m-WeL3.js → OnboardingDropinComponent-D2JTkNNh.js} +44 -44
- package/dist/{PayoutDetailsDropin-BN4Egs17.js → PayoutDetailsDropin-x8Muej_I.js} +22 -22
- package/dist/{RadioGroup-gvxdjF9x.js → RadioGroup-C2ra80YG.js} +5 -5
- package/dist/{RegistrationAddress-DDIUqGii.js → RegistrationAddress-BGrll6pG.js} +12 -12
- package/dist/{Review-BuTqzcPW.js → Review-BhQ-AH8L.js} +6 -6
- package/dist/{RootBusinessDetailsPage-kzh7e4dJ.js → RootBusinessDetailsPage-DqYFBQpo.js} +23 -23
- package/dist/{RootIndividualDetailsPage-8Adg7IiI.js → RootIndividualDetailsPage-Do_PT_sl.js} +4 -4
- package/dist/{SignPCIComponent-C4uGbS0m.js → SignPCIComponent-AcaoZxZ1.js} +8 -8
- package/dist/{SingpassSelection-LN5Zo5wj.js → SingpassSelection-6VykV028.js} +3 -3
- package/dist/{SoleProprietorshipPage-BRRDElW7.js → SoleProprietorshipPage-CIaQXc7m.js} +4 -4
- package/dist/{SourceOfFundsPage-CyN9clDd.js → SourceOfFundsPage-DnPc36e1.js} +25 -25
- package/dist/{StepProgressIndicator-BwdL2ph4.js → StepProgressIndicator-BH6aRbBV.js} +1 -1
- package/dist/{StoreProvider-BZ3VJBI9.js → StoreProvider-C-tQ-rUA.js} +4 -4
- package/dist/{TaskItemStatus-aHjLFeuV.js → TaskItemStatus-Dd6Ancsq.js} +2 -2
- package/dist/{TaskStatusIndicator-PUrns2Zm.js → TaskStatusIndicator-2paxCAz3.js} +1 -1
- package/dist/{TaxInformationField-C445Ic42.js → TaxInformationField-BZrxESkL.js} +21 -15
- package/dist/{TaxReportingDropin-B0Re89CF.js → TaxReportingDropin-WBtjoDpN.js} +15 -15
- package/dist/{TileGroup-CVce1-IU.js → TileGroup-CMptjQhE.js} +3 -3
- package/dist/{TrustDetailsPage-BEEXsmtj.js → TrustDetailsPage-DOsIHEaD.js} +21 -21
- package/dist/{TrustMemberCompanyPage-BsudUWhs.js → TrustMemberCompanyPage-BDJrieOc.js} +5 -5
- package/dist/{TrustMemberIndividualPage-LwGDVcmv.js → TrustMemberIndividualPage-B_9_Dyd8.js} +4 -4
- package/dist/{UnincorporatedPartnershipIndividualPage-i-_0aV_w.js → UnincorporatedPartnershipIndividualPage-CrWbe7nQ.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-CIRJtvxP.js → UnincorporatedPartnershipMemberCompanyPage-CXlxU6j2.js} +5 -5
- package/dist/{ViewVerificationStatusComponent-QjtvIEXI.js → ViewVerificationStatusComponent-LQaL-934.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-tvwCeUsl.js → analytics-BXYbKtDq.js} +1 -1
- package/dist/{bafinUtils-BaTYsA54.js → bafinUtils-BAGrFdfY.js} +5 -5
- package/dist/{fieldConfigurations-sEWracQd.js → fieldConfigurations--yr7Xy-K.js} +6 -6
- package/dist/{getName-DLZ8ABYZ.js → getName-D0WtDjDJ.js} +1 -1
- package/dist/{hasDataChanged-CHk45pIY.js → hasDataChanged-J_6w1bhM.js} +1 -1
- package/dist/{iframeWidget-DoptuU_-.js → iframeWidget-Dj9mKlbq.js} +3 -3
- package/dist/{isEmpty-4qXPXVEZ.js → isEmpty-BibPoa4k.js} +1 -1
- package/dist/{localizeDateString-B-2EJVYU.js → localizeDateString-BmDSv9jw.js} +1 -1
- package/dist/{mapExistingFile-CJ7ZrhQs.js → mapExistingFile-CqO3I9R1.js} +3 -3
- package/dist/{mapScriptLocalization-aGCNy7Rg.js → mapScriptLocalization-Bs4SSHdl.js} +3 -3
- package/dist/{mapTransferInstrumentToPayoutAccount-Dy4NYN8n.js → mapTransferInstrumentToPayoutAccount-CwhbCRG_.js} +1 -1
- package/dist/{resolveEnvironment-CrxjJzjz.js → resolveEnvironment-BNCyan-c.js} +3 -3
- package/dist/{rules-D8LwZV9X.js → rules-DYMXeXsn.js} +4 -4
- package/dist/{translation-CJJlQemu.js → translation-DVrJwQIP.js} +1 -1
- package/dist/{types-PMT5d134.js → types-0gvlZUyX.js} +1 -1
- package/dist/{types-BGiggHcv.js → types-DqyFBiPA.js} +1 -1
- package/dist/{useAssociatedLegalEntity-Dp5M3gBp.js → useAssociatedLegalEntity-Ca-nilTs.js} +1 -1
- package/dist/{useDataset-BNYXM26O.js → useDataset-BxIVweaP.js} +2 -2
- package/dist/{useForm-BP-5DnMv.js → useForm-C35E-c4c.js} +3 -3
- package/dist/{useGlobalData-CsnTp-i5.js → useGlobalData-4zloXt7p.js} +7 -7
- package/dist/{useOnboardingStatus-DFINyW_u.js → useOnboardingStatus-6ZctGwef.js} +1 -1
- package/dist/{useScenarios-Ca7OQMsd.js → useScenarios-BuJN2-SN.js} +1 -1
- package/dist/{useTermsOfServiceStatus-CvuxKIcX.js → useTermsOfServiceStatus-BSoCzQ66.js} +1 -1
- package/dist/{useToastContext-ewL7loAp.js → useToastContext-CbDzqtMB.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-BwcTO_HX.js → useUnincorporatedPartnershipMembers-CtPKPHnl.js} +4 -4
- package/dist/{utils-BVQp2kUo.js → utils-CjsUd6r9.js} +1 -1
- package/dist/{utils-C6O8RtFg.js → utils-DjfxEb2F.js} +1 -1
- package/dist/{utils-DDjbmeLq.js → utils-sXtY6Kzs.js} +6 -6
- package/dist/{validate-DT8DuIl2.js → validate-BSQrgK6A.js} +2 -2
- package/dist/{validate-WvXhJR-U.js → validate-Cq9bDLs2.js} +1 -1
- package/dist/{validate-BTXgRDAW.js → validate-Dwkuwczv.js} +6 -6
- package/dist/{validationError-BnT3tNgV.js → validationError-Bkr2r9n0.js} +1 -1
- package/package.json +1 -1
|
@@ -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-C-tQ-rUA.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-C-tQ-rUA.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-C-tQ-rUA.js";
|
|
11
|
+
import { i as isValueObscured } from "./MaskedInput-BmNxOxDh.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-CqO3I9R1.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-C-tQ-rUA.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-C-tQ-rUA.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-BuJN2-SN.js";
|
|
12
|
+
import { aa as CountryCodes, N as createLogger, a as useTranslation, V as Icon } from "./StoreProvider-C-tQ-rUA.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--yr7Xy-K.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-C-tQ-rUA.js";
|
|
11
|
+
import { u as useSetting } from "./bafinUtils-BAGrFdfY.js";
|
|
12
|
+
import { u as useCapabilities } from "./TaxInformationField-BZrxESkL.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-C-tQ-rUA.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] = "405e74c6-111a-454e-985a-32ecdc8549f2", e._sentryDebugIdIdentifier = "sentry-dbid-405e74c6-111a-454e-985a-32ecdc8549f2");
|
|
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-C-tQ-rUA.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.3" }),
|
|
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-C-tQ-rUA.js";
|
|
11
|
+
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET } from "./utils-DjfxEb2F.js";
|
|
12
|
+
import { c as createFormRules } from "./fieldConfigurations--yr7Xy-K.js";
|
|
13
|
+
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-CjsUd6r9.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-C-tQ-rUA.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);
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { aa as CountryCodes } from "./StoreProvider-
|
|
10
|
+
import { aa as CountryCodes } from "./StoreProvider-C-tQ-rUA.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-C-tQ-rUA.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-C-tQ-rUA.js";
|
|
14
|
+
import { M as Modal } from "./Modal-C9YSZFg-.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-C-tQ-rUA.js";
|
|
14
|
+
import { M as Modal, K as KEYBOARD_KEYS } from "./Modal-C9YSZFg-.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-BXYbKtDq.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-C-tQ-rUA.js";
|
|
13
|
+
import { M as MaybeModal, L as LoaderWrapper } from "./useForm-C35E-c4c.js";
|
|
14
|
+
import { a as ModalContent, c as ModalHeader, b as ModalFooter } from "./Modal-C9YSZFg-.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-BH6aRbBV.js";
|
|
17
|
+
import { t as trackNavigation, j as FormRouterContextProvider, f as summaryStep, S as Summary } from "./CountryField-DsNgjve_.js";
|
|
18
|
+
import { F as FormNavigation } from "./FormNavigation-BD6vRqzE.js";
|
|
19
|
+
import { a as debounce } from "./analytics-BXYbKtDq.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-C-tQ-rUA.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-C-tQ-rUA.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-C-tQ-rUA.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-C-tQ-rUA.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-C-tQ-rUA.js";
|
|
12
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-Ca-nilTs.js";
|
|
13
|
+
import { U as UnincorporatedPartnershipMemberTypes } from "./CountryField-DsNgjve_.js";
|
|
14
|
+
import { g as getLegalEntityNameBasedOnType } from "./getName-D0WtDjDJ.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--yr7Xy-K.js";
|
|
12
|
+
import { a as useTranslation, g as getLegalEntityCountry, bC as getCapabilities, y as LegalEntityTypes, G as hasOwnEntityAssociationOfType, aa as CountryCodes } from "./StoreProvider-C-tQ-rUA.js";
|
|
13
|
+
import { C as CompanyTypesValues } from "./bafinUtils-BAGrFdfY.js";
|
|
14
|
+
import { d as allowIndividualWithoutSoleProp } from "./OnboardingDropinComponent-D2JTkNNh.js";
|
|
15
|
+
import { S as SOLE_PROP_COUNTRIES } from "./rules-DYMXeXsn.js";
|
|
16
|
+
import { A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-DqyFBiPA.js";
|
|
17
17
|
const EntityTypeRadioGroupCard = ({
|
|
18
18
|
examples,
|
|
19
19
|
optionDescription,
|
|
@@ -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-C-tQ-rUA.js";
|
|
11
|
+
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-CjsUd6r9.js";
|
|
12
12
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
13
13
|
import cx from "classnames";
|
|
14
14
|
import { useEffect } from "preact/hooks";
|
|
@@ -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-C-tQ-rUA.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-C35E-c4c.js";
|
|
14
|
+
import { m as mergeFieldMetadataIntoProps, c as createFormUtils, F as FormHeader } from "./CountryField-DsNgjve_.js";
|
|
15
|
+
import { m as makeMask, a as nonInputs, n as numericInputs, s as spacer, M as MaskedInput, I as InputEmail } from "./MaskedInput-BmNxOxDh.js";
|
|
16
|
+
import { r as resolveFieldMetadata } from "./fieldConfigurations--yr7Xy-K.js";
|
|
17
|
+
import { u as useDataset, d as datasetIdentifier } from "./useDataset-BxIVweaP.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,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-C-tQ-rUA.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 = {
|