@adyen/kyc-components 3.58.0 → 3.58.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/es/{B4MFY5CR-_iq130op.js → B4MFY5CR-CBLtiOPl.js} +1 -1
- package/dist/es/{GB-DPKSYgj8.js → GB-C-08Lbur.js} +2 -2
- package/dist/es/{HO4MOOFI-BrouQDMu.js → HO4MOOFI-CeXIExuC.js} +2 -2
- package/dist/es/{HUY7CZI3-07pJt4CB.js → HUY7CZI3-luXydDA7.js} +2 -2
- package/dist/es/{Introduction-hqVjJq2m.js → Introduction-BVIDiOeK.js} +1 -1
- package/dist/es/adyen-kyc-components.es.js +1 -1
- package/dist/es/{css-C92d5WcD.js → css-BUQ-lDKy.js} +1 -1
- package/dist/es/{index-DgiewAdj.js → index-Bx0rbc0C.js} +20 -16
- package/dist/es/{json-DYilx73m.js → json-DpHF7B2M.js} +1 -1
- package/dist/es/{plaintext-TI6YMNqC.js → plaintext-DgDFLkbp.js} +1 -1
- package/dist/es/{yaml-D4moATPr.js → yaml-B66s-9sv.js} +1 -1
- package/dist/types/core/context/ExperimentContext/types.d.ts +2 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
2
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
3
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4
|
-
import { h as createContext, i as createSignal, o as onMount, j as createEffect, e as createMemo, f as createComponent, P as Portal, k as Show, l as template, m as insert, n as createRenderEffect, p as className, q as clearDelegatedEvents, r as delegateEvents, s as useContext, v as onCleanup, w as sortFns, x as mutationSortFns, y as on, z as setAttribute, A as getSidedProp, C as use, D as createUniqueId, E as batch, F as getQueryStatusLabel, G as getMutationStatusColor, H as getQueryStatusColor, I as getQueryStatusColorByLabel, J as displayValue, K as For, M as convertRemToPixels, N as untrack, $ as $TRACK, O as useTransition, Q as spread, R as mergeProps, U as createRoot, V as serialize, W as Index, X as updateNestedDataByPath, Y as addEventListener, Z as stringify, _ as Match, a0 as Switch, a1 as deleteNestedDataByPath, a2 as splitProps, a3 as Dynamic, a4 as createComputed } from "./index-
|
|
4
|
+
import { h as createContext, i as createSignal, o as onMount, j as createEffect, e as createMemo, f as createComponent, P as Portal, k as Show, l as template, m as insert, n as createRenderEffect, p as className, q as clearDelegatedEvents, r as delegateEvents, s as useContext, v as onCleanup, w as sortFns, x as mutationSortFns, y as on, z as setAttribute, A as getSidedProp, C as use, D as createUniqueId, E as batch, F as getQueryStatusLabel, G as getMutationStatusColor, H as getQueryStatusColor, I as getQueryStatusColorByLabel, J as displayValue, K as For, M as convertRemToPixels, N as untrack, $ as $TRACK, O as useTransition, Q as spread, R as mergeProps, U as createRoot, V as serialize, W as Index, X as updateNestedDataByPath, Y as addEventListener, Z as stringify, _ as Match, a0 as Switch, a1 as deleteNestedDataByPath, a2 as splitProps, a3 as Dynamic, a4 as createComputed } from "./index-Bx0rbc0C.js";
|
|
5
5
|
var isNonNullable = (i2) => i2 != null;
|
|
6
6
|
var filterNonNullable = (arr) => arr.filter(isNonNullable);
|
|
7
7
|
function chain(callbacks) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const GB = {
|
|
2
2
|
iban: {
|
|
3
|
-
bankStatementRequirement: "
|
|
3
|
+
bankStatementRequirement: "OPTIONAL",
|
|
4
4
|
defaultCurrency: "GBP",
|
|
5
5
|
fields: [
|
|
6
6
|
"accountHolder",
|
|
@@ -9,7 +9,7 @@ const GB = {
|
|
|
9
9
|
]
|
|
10
10
|
},
|
|
11
11
|
local: {
|
|
12
|
-
bankStatementRequirement: "
|
|
12
|
+
bankStatementRequirement: "OPTIONAL",
|
|
13
13
|
defaultCurrency: "GBP",
|
|
14
14
|
fields: [
|
|
15
15
|
"accountHolder",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, D as Devtools, Q as QueryDevtoolsContext } from "./B4MFY5CR-
|
|
2
|
-
import { d as getPreferredColorScheme, e as createMemo, f as createComponent } from "./index-
|
|
1
|
+
import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, D as Devtools, Q as QueryDevtoolsContext } from "./B4MFY5CR-CBLtiOPl.js";
|
|
2
|
+
import { d as getPreferredColorScheme, e as createMemo, f as createComponent } from "./index-Bx0rbc0C.js";
|
|
3
3
|
var DevtoolsComponent = (props) => {
|
|
4
4
|
const [localStore, setLocalStore] = createLocalStorage({
|
|
5
5
|
prefix: "TanstackQueryDevtools"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, b as ParentPanel, C as ContentView, Q as QueryDevtoolsContext } from "./B4MFY5CR-
|
|
2
|
-
import { d as getPreferredColorScheme, e as createMemo, f as createComponent } from "./index-
|
|
1
|
+
import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, b as ParentPanel, C as ContentView, Q as QueryDevtoolsContext } from "./B4MFY5CR-CBLtiOPl.js";
|
|
2
|
+
import { d as getPreferredColorScheme, e as createMemo, f as createComponent } from "./index-Bx0rbc0C.js";
|
|
3
3
|
var DevtoolsPanelComponent = (props) => {
|
|
4
4
|
const [localStore, setLocalStore] = createLocalStorage({
|
|
5
5
|
prefix: "TanstackQueryDevtools"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
2
2
|
import { useMemo as useMemo$1, useState, useEffect } from "preact/hooks";
|
|
3
|
-
import { T as TaskTypes, L as LegalEntityType, u as useCanSeeIntroduction, a as useLegalEntityType, t as toCapitalized, g as getTranslationKeysByPrefix, b as useI18nContext, c as userEvents, S as StepProgressIndicator, B as Button } from "./index-
|
|
3
|
+
import { T as TaskTypes, L as LegalEntityType, u as useCanSeeIntroduction, a as useLegalEntityType, t as toCapitalized, g as getTranslationKeysByPrefix, b as useI18nContext, c as userEvents, S as StepProgressIndicator, B as Button } from "./index-Bx0rbc0C.js";
|
|
4
4
|
import { useMemo } from "preact/compat";
|
|
5
5
|
var IntroductionScreens = ((IntroductionScreens2) => {
|
|
6
6
|
IntroductionScreens2["PROLOGUE"] = "PROLOGUE";
|
|
@@ -15662,6 +15662,7 @@ var ExperimentNames = /* @__PURE__ */ ((ExperimentNames2) => {
|
|
|
15662
15662
|
ExperimentNames2["EnableLimitCountryBusinessAccountCustomers"] = "EnableLimitCountryBusinessAccountCustomers";
|
|
15663
15663
|
ExperimentNames2["EnableTrustMemberCompanyUsingBusinessDetails"] = "EnableTrustMemberCompanyUsingBusinessDetails";
|
|
15664
15664
|
ExperimentNames2["EnableUnincorporatedPartnershipInHO"] = "EnableUnincorporatedPartnershipInHO";
|
|
15665
|
+
ExperimentNames2["UseOnboardingComponentsForSingpass"] = "UseOnboardingComponentsForSingpass";
|
|
15665
15666
|
return ExperimentNames2;
|
|
15666
15667
|
})(ExperimentNames || {});
|
|
15667
15668
|
function useDataset(datasetIdentifier2, skip) {
|
|
@@ -30081,7 +30082,7 @@ const isFieldRequiredToRemediateDataMissingError = (formId, field, dataMissingEr
|
|
|
30081
30082
|
const getFormTrustedFields = (formId, trustedFields) => trustedFields.filter((field) => field.split(".")[0] === formId).map(
|
|
30082
30083
|
(field) => field.split(".").filter((item) => formId !== item).join(".")
|
|
30083
30084
|
);
|
|
30084
|
-
const accountFormatsImports = /* @__PURE__ */ Object.assign({ "../accountFormats/AD.json": () => import("./AD-B8la90mU.js"), "../accountFormats/AE.json": () => import("./AE-BaD_btyR.js"), "../accountFormats/AI.json": () => import("./AI-BvbXzeVp.js"), "../accountFormats/AL.json": () => import("./AL-BV0suxs8.js"), "../accountFormats/AR.json": () => import("./AR-BjwNhJi4.js"), "../accountFormats/AS.json": () => import("./AS-b2LOiN_L.js"), "../accountFormats/AT.json": () => import("./AT-ChAueItZ.js"), "../accountFormats/AU.json": () => import("./AU-BfsVqWIa.js"), "../accountFormats/AX.json": () => import("./AX-DgY1NPXi.js"), "../accountFormats/AZ.json": () => import("./AZ-PlJd5xUD.js"), "../accountFormats/BA.json": () => import("./BA-RVXGSsTh.js"), "../accountFormats/BE.json": () => import("./BE-DgF86Obs.js"), "../accountFormats/BG.json": () => import("./BG-CUYwxfNU.js"), "../accountFormats/BH.json": () => import("./BH-Cb-NxfRa.js"), "../accountFormats/BM.json": () => import("./BM-DfZLBtJr.js"), "../accountFormats/BR.json": () => import("./BR-js5lw9Vn.js"), "../accountFormats/BS.json": () => import("./BS-aWgV4tvQ.js"), "../accountFormats/BV.json": () => import("./BV-DHIKIcMO.js"), "../accountFormats/BY.json": () => import("./BY-DQCvfpRE.js"), "../accountFormats/CA.json": () => import("./CA-DVVlROqa.js"), "../accountFormats/CH.json": () => import("./CH-BSmAWcbJ.js"), "../accountFormats/CN.json": () => import("./CN-B4qDSNch.js"), "../accountFormats/CR.json": () => import("./CR-BI2Juhsy.js"), "../accountFormats/CY.json": () => import("./CY-CMmzu9sN.js"), "../accountFormats/CZ.json": () => import("./CZ-De9Ui9QL.js"), "../accountFormats/DE.json": () => import("./DE-c6E06rIp.js"), "../accountFormats/DK.json": () => import("./DK-CbIMFu97.js"), "../accountFormats/DO.json": () => import("./DO-LB5F9Y9u.js"), "../accountFormats/EC.json": () => import("./EC-BX7MlytC.js"), "../accountFormats/EE.json": () => import("./EE-C9-R4z4s.js"), "../accountFormats/ES.json": () => import("./ES-CdfKA6n-.js"), "../accountFormats/FI.json": () => import("./FI-DoyhYhbB.js"), "../accountFormats/FJ.json": () => import("./FJ-CAyH1zwT.js"), "../accountFormats/FO.json": () => import("./FO-B_ii3piz.js"), "../accountFormats/FR.json": () => import("./FR-C3MHoMXQ.js"), "../accountFormats/GB.json": () => import("./GB-
|
|
30085
|
+
const accountFormatsImports = /* @__PURE__ */ Object.assign({ "../accountFormats/AD.json": () => import("./AD-B8la90mU.js"), "../accountFormats/AE.json": () => import("./AE-BaD_btyR.js"), "../accountFormats/AI.json": () => import("./AI-BvbXzeVp.js"), "../accountFormats/AL.json": () => import("./AL-BV0suxs8.js"), "../accountFormats/AR.json": () => import("./AR-BjwNhJi4.js"), "../accountFormats/AS.json": () => import("./AS-b2LOiN_L.js"), "../accountFormats/AT.json": () => import("./AT-ChAueItZ.js"), "../accountFormats/AU.json": () => import("./AU-BfsVqWIa.js"), "../accountFormats/AX.json": () => import("./AX-DgY1NPXi.js"), "../accountFormats/AZ.json": () => import("./AZ-PlJd5xUD.js"), "../accountFormats/BA.json": () => import("./BA-RVXGSsTh.js"), "../accountFormats/BE.json": () => import("./BE-DgF86Obs.js"), "../accountFormats/BG.json": () => import("./BG-CUYwxfNU.js"), "../accountFormats/BH.json": () => import("./BH-Cb-NxfRa.js"), "../accountFormats/BM.json": () => import("./BM-DfZLBtJr.js"), "../accountFormats/BR.json": () => import("./BR-js5lw9Vn.js"), "../accountFormats/BS.json": () => import("./BS-aWgV4tvQ.js"), "../accountFormats/BV.json": () => import("./BV-DHIKIcMO.js"), "../accountFormats/BY.json": () => import("./BY-DQCvfpRE.js"), "../accountFormats/CA.json": () => import("./CA-DVVlROqa.js"), "../accountFormats/CH.json": () => import("./CH-BSmAWcbJ.js"), "../accountFormats/CN.json": () => import("./CN-B4qDSNch.js"), "../accountFormats/CR.json": () => import("./CR-BI2Juhsy.js"), "../accountFormats/CY.json": () => import("./CY-CMmzu9sN.js"), "../accountFormats/CZ.json": () => import("./CZ-De9Ui9QL.js"), "../accountFormats/DE.json": () => import("./DE-c6E06rIp.js"), "../accountFormats/DK.json": () => import("./DK-CbIMFu97.js"), "../accountFormats/DO.json": () => import("./DO-LB5F9Y9u.js"), "../accountFormats/EC.json": () => import("./EC-BX7MlytC.js"), "../accountFormats/EE.json": () => import("./EE-C9-R4z4s.js"), "../accountFormats/ES.json": () => import("./ES-CdfKA6n-.js"), "../accountFormats/FI.json": () => import("./FI-DoyhYhbB.js"), "../accountFormats/FJ.json": () => import("./FJ-CAyH1zwT.js"), "../accountFormats/FO.json": () => import("./FO-B_ii3piz.js"), "../accountFormats/FR.json": () => import("./FR-C3MHoMXQ.js"), "../accountFormats/GB.json": () => import("./GB-C-08Lbur.js"), "../accountFormats/GE.json": () => import("./GE-yAJlDXga.js"), "../accountFormats/GF.json": () => import("./GF-Ch9W5h7n.js"), "../accountFormats/GG.json": () => import("./GG-kfQfLmGQ.js"), "../accountFormats/GI.json": () => import("./GI-u3Qd8IRv.js"), "../accountFormats/GL.json": () => import("./GL-CaAiYt4Q.js"), "../accountFormats/GP.json": () => import("./GP-BKc_Fefw.js"), "../accountFormats/GR.json": () => import("./GR-CO4zeYne.js"), "../accountFormats/GT.json": () => import("./GT-DsGwLDAm.js"), "../accountFormats/GU.json": () => import("./GU-CDQPDhbE.js"), "../accountFormats/HK.json": () => import("./HK-P-WQ9-Jm.js"), "../accountFormats/HR.json": () => import("./HR-B80JF-i0.js"), "../accountFormats/HU.json": () => import("./HU-U0dREOiF.js"), "../accountFormats/ID.json": () => import("./ID-CBRnmPmb.js"), "../accountFormats/IE.json": () => import("./IE-94zbCYFW.js"), "../accountFormats/IL.json": () => import("./IL-DHmrr0uU.js"), "../accountFormats/IM.json": () => import("./IM-BGYGQBsA.js"), "../accountFormats/IN.json": () => import("./IN-dQMPoyGZ.js"), "../accountFormats/IS.json": () => import("./IS-B9Jp6kJK.js"), "../accountFormats/IT.json": () => import("./IT-ClJmZfJT.js"), "../accountFormats/JE.json": () => import("./JE-CSahleNy.js"), "../accountFormats/JM.json": () => import("./JM-BP_sA1N9.js"), "../accountFormats/JO.json": () => import("./JO-DzCvdMSp.js"), "../accountFormats/JP.json": () => import("./JP-CAHsVs_d.js"), "../accountFormats/KR.json": () => import("./KR-Bb9nEO2z.js"), "../accountFormats/KW.json": () => import("./KW-DG3zZUEn.js"), "../accountFormats/KY.json": () => import("./KY-DJSCprii.js"), "../accountFormats/KZ.json": () => import("./KZ--81R_rNk.js"), "../accountFormats/LB.json": () => import("./LB-dGo365ft.js"), "../accountFormats/LI.json": () => import("./LI-CGiLoUvl.js"), "../accountFormats/LT.json": () => import("./LT-Damtpcp1.js"), "../accountFormats/LU.json": () => import("./LU-CtxK3B7O.js"), "../accountFormats/LV.json": () => import("./LV-CwemLpLi.js"), "../accountFormats/MC.json": () => import("./MC-v-3O-cuB.js"), "../accountFormats/MD.json": () => import("./MD-DXiaJAcA.js"), "../accountFormats/ME.json": () => import("./ME-jTUzvmC7.js"), "../accountFormats/MK.json": () => import("./MK-DdhCUcfJ.js"), "../accountFormats/MP.json": () => import("./MP-DC7eOP-o.js"), "../accountFormats/MQ.json": () => import("./MQ-ob_gCLgi.js"), "../accountFormats/MR.json": () => import("./MR-Cv3IV3U6.js"), "../accountFormats/MT.json": () => import("./MT-C1urIMLJ.js"), "../accountFormats/MU.json": () => import("./MU-VYmSHSjV.js"), "../accountFormats/MX.json": () => import("./MX-B_5MR9OJ.js"), "../accountFormats/MY.json": () => import("./MY-B0YxDfy7.js"), "../accountFormats/NC.json": () => import("./NC-DN9L3Psb.js"), "../accountFormats/NL.json": () => import("./NL-CeO9ZDQf.js"), "../accountFormats/NO.json": () => import("./NO-BftQ-bdp.js"), "../accountFormats/NZ.json": () => import("./NZ-B1TJ3lhl.js"), "../accountFormats/PE.json": () => import("./PE-D7w7W3oC.js"), "../accountFormats/PF.json": () => import("./PF-DXnvJk-P.js"), "../accountFormats/PH.json": () => import("./PH-BzrZFkvl.js"), "../accountFormats/PK.json": () => import("./PK-CIZIPXcZ.js"), "../accountFormats/PL.json": () => import("./PL-Dpg_Q5oq.js"), "../accountFormats/PM.json": () => import("./PM-BNuJ0RJR.js"), "../accountFormats/PR.json": () => import("./PR-BKydTGfd.js"), "../accountFormats/PS.json": () => import("./PS-Dia72XNE.js"), "../accountFormats/PT.json": () => import("./PT-CDOKqaK4.js"), "../accountFormats/QA.json": () => import("./QA-ea7HLn0S.js"), "../accountFormats/RE.json": () => import("./RE-BmR357uc.js"), "../accountFormats/RO.json": () => import("./RO-CoIkg4RK.js"), "../accountFormats/RS.json": () => import("./RS-BthEs_Yk.js"), "../accountFormats/RU.json": () => import("./RU-DBY6AtOl.js"), "../accountFormats/SA.json": () => import("./SA-BvAGlU7X.js"), "../accountFormats/SE.json": () => import("./SE-CDWkonH9.js"), "../accountFormats/SG.json": () => import("./SG-Dm-Qlf91.js"), "../accountFormats/SI.json": () => import("./SI-BKfKvWvS.js"), "../accountFormats/SJ.json": () => import("./SJ-DMgCeKLZ.js"), "../accountFormats/SK.json": () => import("./SK-C-lbB09F.js"), "../accountFormats/SM.json": () => import("./SM-BCics-_w.js"), "../accountFormats/TF.json": () => import("./TF-BvhCZ4AL.js"), "../accountFormats/TH.json": () => import("./TH-rwO4c1gN.js"), "../accountFormats/TL.json": () => import("./TL-2d7V4Vlw.js"), "../accountFormats/TN.json": () => import("./TN-CAW6JCJh.js"), "../accountFormats/TR.json": () => import("./TR-B4CWdSXF.js"), "../accountFormats/TT.json": () => import("./TT-qiuQaowk.js"), "../accountFormats/TW.json": () => import("./TW-D-j2J3-l.js"), "../accountFormats/UA.json": () => import("./UA-BiCAHjGN.js"), "../accountFormats/US.json": () => import("./US-DKJe5zED.js"), "../accountFormats/UY.json": () => import("./UY-L9ABids9.js"), "../accountFormats/VA.json": () => import("./VA-KL2WG84Y.js"), "../accountFormats/VG.json": () => import("./VG-Cr2f4ME1.js"), "../accountFormats/VI.json": () => import("./VI-C_Xi1qBv.js"), "../accountFormats/VN.json": () => import("./VN-CdZUgD5Q.js"), "../accountFormats/WF.json": () => import("./WF-DGrFcASM.js"), "../accountFormats/YT.json": () => import("./YT-jIR_ADZB.js"), "../accountFormats/ZA.json": () => import("./ZA-D_rAIiSN.js") });
|
|
30085
30086
|
const getAccountFormatsForCountry = async (country) => {
|
|
30086
30087
|
const importForCountry = accountFormatsImports[`../accountFormats/${country}.json`];
|
|
30087
30088
|
if (!importForCountry) {
|
|
@@ -40765,9 +40766,11 @@ const useSingpassMyInfoLogin = ({
|
|
|
40765
40766
|
singpassReducer,
|
|
40766
40767
|
defaultSingpassState
|
|
40767
40768
|
);
|
|
40769
|
+
const { isEmbeddedDropin } = useAuthContext();
|
|
40768
40770
|
const { isExperimentEnabled } = useExperimentsContext();
|
|
40769
|
-
const isSingpassForCompaniesEnabled = isExperimentEnabled("ShowSingPassButtonForCompanies");
|
|
40770
|
-
const isSingpassForIndividualsEnabled = isExperimentEnabled("ShowSingPassButtonForIndividuals");
|
|
40771
|
+
const isSingpassForCompaniesEnabled = isExperimentEnabled("ShowSingPassButtonForCompanies") && !isEmbeddedDropin;
|
|
40772
|
+
const isSingpassForIndividualsEnabled = isExperimentEnabled("ShowSingPassButtonForIndividuals") && !isEmbeddedDropin;
|
|
40773
|
+
const isSingpassEnabledForOC = isExperimentEnabled("UseOnboardingComponentsForSingpass") && isEmbeddedDropin;
|
|
40771
40774
|
const enableBusinessDetailsFlow = isExperimentEnabled("EnableNewBusinessDetailsFlow");
|
|
40772
40775
|
const apiMapping = getApiMapping(enableBusinessDetailsFlow, legalEntity);
|
|
40773
40776
|
const legalEntityTrustedFields = legalEntity == null ? void 0 : legalEntity.trustedFields;
|
|
@@ -40778,18 +40781,19 @@ const useSingpassMyInfoLogin = ({
|
|
|
40778
40781
|
if (getLegalEntityCountry(legalEntity) !== CountryCodes.Singapore) {
|
|
40779
40782
|
return false;
|
|
40780
40783
|
}
|
|
40781
|
-
if (!isSingpassForCompaniesEnabled && !isSingpassForIndividualsEnabled
|
|
40784
|
+
if (!isSingpassForCompaniesEnabled && !isSingpassForIndividualsEnabled && !isSingpassEnabledForOC)
|
|
40785
|
+
return false;
|
|
40782
40786
|
const isSingpassEnabled = Boolean(handleOpenSingpassAuthorizationLink);
|
|
40783
40787
|
if (!isSingpassEnabled) return false;
|
|
40784
40788
|
if (accountHolder) {
|
|
40785
|
-
return accountHolder === "theCompanyIWorkFor" && isSingpassForCompaniesEnabled || accountHolder === "myName" && isSingpassForIndividualsEnabled;
|
|
40789
|
+
return accountHolder === "theCompanyIWorkFor" && (isSingpassForCompaniesEnabled || isSingpassEnabledForOC) || accountHolder === "myName" && (isSingpassForIndividualsEnabled || isSingpassEnabledForOC);
|
|
40786
40790
|
}
|
|
40787
40791
|
const legalEntityType = legalEntity.type;
|
|
40788
40792
|
const isPartOfTrust = isPartOfTrustFromLegalEntity(legalEntity);
|
|
40789
40793
|
const isVanillaOrganization = legalEntityType === LegalEntityType.ORGANIZATION && !isPartOfTrust;
|
|
40790
40794
|
const hasSoleProprietor = hasSolePropInLegalEntity(legalEntity);
|
|
40791
40795
|
const isVanillaIndividual = legalEntityType === LegalEntityType.INDIVIDUAL && !hasSoleProprietor;
|
|
40792
|
-
return isVanillaOrganization && isSingpassForCompaniesEnabled || isVanillaIndividual && isSingpassForIndividualsEnabled;
|
|
40796
|
+
return isVanillaOrganization && (isSingpassForCompaniesEnabled || isSingpassEnabledForOC) || isVanillaIndividual && (isSingpassForIndividualsEnabled || isSingpassEnabledForOC);
|
|
40793
40797
|
}, [legalEntity, accountHolder, handleOpenSingpassAuthorizationLink]);
|
|
40794
40798
|
const singpassTrustedFields = useMemo(() => {
|
|
40795
40799
|
var _a2;
|
|
@@ -51455,7 +51459,7 @@ const hasProgressedBeyondEntitySelection = (legalEntity) => {
|
|
|
51455
51459
|
return hasOwnEntityAssocation || !!hasOrganizationType;
|
|
51456
51460
|
};
|
|
51457
51461
|
const Introduction = lazy$1(
|
|
51458
|
-
async () => (await import("./Introduction-
|
|
51462
|
+
async () => (await import("./Introduction-BVIDiOeK.js")).Introduction
|
|
51459
51463
|
);
|
|
51460
51464
|
const PAGES_WITH_POLLING = [TaskTypes.DECISION_MAKER_OVERVIEW, TaskTypes.TASKS_OVERVIEW];
|
|
51461
51465
|
const logger$d = createLogger("DropinComposer");
|
|
@@ -56449,7 +56453,7 @@ var TanstackQueryDevtools = (_k = class {
|
|
|
56449
56453
|
if (__privateGet(this, _Component)) {
|
|
56450
56454
|
Devtools = __privateGet(this, _Component);
|
|
56451
56455
|
} else {
|
|
56452
|
-
Devtools = lazy(() => import("./HO4MOOFI-
|
|
56456
|
+
Devtools = lazy(() => import("./HO4MOOFI-CeXIExuC.js"));
|
|
56453
56457
|
__privateSet(this, _Component, Devtools);
|
|
56454
56458
|
}
|
|
56455
56459
|
setupStyleSheet(__privateGet(this, _styleNonce), __privateGet(this, _shadowDOMTarget));
|
|
@@ -56571,7 +56575,7 @@ var TanstackQueryDevtoolsPanel = (_l = class {
|
|
|
56571
56575
|
if (__privateGet(this, _Component2)) {
|
|
56572
56576
|
Devtools = __privateGet(this, _Component2);
|
|
56573
56577
|
} else {
|
|
56574
|
-
Devtools = lazy(() => import("./HUY7CZI3-
|
|
56578
|
+
Devtools = lazy(() => import("./HUY7CZI3-luXydDA7.js"));
|
|
56575
56579
|
__privateSet(this, _Component2, Devtools);
|
|
56576
56580
|
}
|
|
56577
56581
|
setupStyleSheet(__privateGet(this, _styleNonce2), __privateGet(this, _shadowDOMTarget2));
|
|
@@ -56792,7 +56796,7 @@ const useAnalytics = ({
|
|
|
56792
56796
|
componentName,
|
|
56793
56797
|
onboardingVersion
|
|
56794
56798
|
}) => {
|
|
56795
|
-
const sdkVersion = "3.58.
|
|
56799
|
+
const sdkVersion = "3.58.2";
|
|
56796
56800
|
const { isEmbeddedDropin, loadingContext: base } = useAuthContext();
|
|
56797
56801
|
const rootLegalEntity = useGlobalStore((store) => store.rootLegalEntity);
|
|
56798
56802
|
const countryCode = useGlobalStore((store) => store.rootLegalEntityCountry);
|
|
@@ -57283,7 +57287,7 @@ const ConfigurationApiProvider = ({
|
|
|
57283
57287
|
[authContext, rootLegalEntityId]
|
|
57284
57288
|
);
|
|
57285
57289
|
return /* @__PURE__ */ jsxs(ConfigurationApiContext.Provider, { value: contextValue, children: [
|
|
57286
|
-
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.58.
|
|
57290
|
+
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.58.2" }),
|
|
57287
57291
|
children2
|
|
57288
57292
|
] });
|
|
57289
57293
|
};
|
|
@@ -57858,10 +57862,10 @@ const transformModule = (highlights, codeNode, scope) => {
|
|
|
57858
57862
|
};
|
|
57859
57863
|
const supportedModules = ["plaintext", "json", "yaml", "css"];
|
|
57860
57864
|
const moduleMap = {
|
|
57861
|
-
plaintext: () => import("./plaintext-
|
|
57862
|
-
json: () => import("./json-
|
|
57863
|
-
yaml: () => import("./yaml-
|
|
57864
|
-
css: () => import("./css-
|
|
57865
|
+
plaintext: () => import("./plaintext-DgDFLkbp.js"),
|
|
57866
|
+
json: () => import("./json-DpHF7B2M.js"),
|
|
57867
|
+
yaml: () => import("./yaml-B66s-9sv.js"),
|
|
57868
|
+
css: () => import("./css-BUQ-lDKy.js")
|
|
57865
57869
|
};
|
|
57866
57870
|
const getModule = async (name) => {
|
|
57867
57871
|
if (!supportedModules.includes(name)) {
|
|
@@ -58152,7 +58156,7 @@ const DebugModal = ({ onExit }) => {
|
|
|
58152
58156
|
const [tab, setTab] = useState("metadata");
|
|
58153
58157
|
const rootLegalEntity = useGlobalStore((store) => store.rootLegalEntity);
|
|
58154
58158
|
const metadata = {
|
|
58155
|
-
sdkVersion: "3.58.
|
|
58159
|
+
sdkVersion: "3.58.2",
|
|
58156
58160
|
locale: i18n.locale,
|
|
58157
58161
|
rootLegalEntityId: rootLegalEntity.id
|
|
58158
58162
|
};
|
|
@@ -36,7 +36,8 @@ export declare enum ExperimentNames {
|
|
|
36
36
|
EnableSolePropUsingBusinessDetails = "EnableSolePropUsingBusinessDetails",
|
|
37
37
|
EnableLimitCountryBusinessAccountCustomers = "EnableLimitCountryBusinessAccountCustomers",
|
|
38
38
|
EnableTrustMemberCompanyUsingBusinessDetails = "EnableTrustMemberCompanyUsingBusinessDetails",
|
|
39
|
-
EnableUnincorporatedPartnershipInHO = "EnableUnincorporatedPartnershipInHO"
|
|
39
|
+
EnableUnincorporatedPartnershipInHO = "EnableUnincorporatedPartnershipInHO",
|
|
40
|
+
UseOnboardingComponentsForSingpass = "UseOnboardingComponentsForSingpass"
|
|
40
41
|
}
|
|
41
42
|
export type ExperimentName = `${ExperimentNames}`;
|
|
42
43
|
export type Experiments = {
|