@adyen/kyc-components 3.71.3 → 3.72.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-Dsv4mY-k.js → AcceptTermsOfServiceComponent-BXDA_SaK.js} +2 -2
- package/dist/{AccountSetupRejected-Cz2iWdPE.js → AccountSetupRejected-ELw6o-mS.js} +3 -3
- package/dist/{BusinessDetailsDropin-CxJ7Ga0q.js → BusinessDetailsDropin-ALQJRaC8.js} +195 -98
- package/dist/BusinessFinancingPage-CTHGhG1F.js +35 -0
- package/dist/{BusinessTypeSelection-wbCak0Us.js → BusinessTypeSelectionPage-B-Morr7F.js} +46 -40
- package/dist/{CXEL7IU7-B9HOZi-H.js → CXEL7IU7-CIkFjqDz.js} +3 -3
- package/dist/{CreateIndividualComponent-C3uFsTUT.js → CreateIndividualComponent-kC_-8B9Z.js} +264 -372
- package/dist/{CustomerSupport-BuxhbwRm.js → CustomerSupport-CTnzSMwV.js} +3 -3
- package/dist/{DebugModal-B_DAGmya.js → DebugModal-JUXjgitf.js} +10 -10
- package/dist/DecisionMakerDetailsPage-7LeXlce7.js +80 -0
- package/dist/{DecisionMakers-L6oYW0-J.js → DecisionMakers-DKu6CgUP.js} +5 -5
- package/dist/{EmbedShell-DpZpuM-4.js → EmbedShell-B0Txa1L9.js} +3 -3
- package/dist/{EventEmitter-DTdpTyY7.js → EventEmitter-BkZLzmwO.js} +977 -1226
- package/dist/{HASRA6WW-CBmvzSwj.js → HASRA6WW-D3YBssmd.js} +2 -2
- package/dist/{I3HPI4QX-9ko0FQd6.js → I3HPI4QX-DT_Z6W94.js} +3 -3
- package/dist/{Introduction-C16zT64A.js → Introduction-JFLyt1K7.js} +14 -6
- package/dist/LegalRepresentativeDetailsPage-6wTBkjz4.js +55 -0
- package/dist/PayoutDetailsPage-QJJ4Hlcz.js +57 -0
- package/dist/{Review-BbsJ9Iv_.js → Review-BhYHgcaK.js} +3 -3
- package/dist/RootBusinessDetailsPage-DDGv2aIT.js +43 -0
- package/dist/RootIndividualDetailsPage-CnfQEzH9.js +71 -0
- package/dist/{SingpassSelection-Biuh42TV.js → SingpassSelection-2a2H54a-.js} +2 -2
- package/dist/SoleProprietorshipPage-C1HJsoiB.js +45 -0
- package/dist/{SourceOfFunds.module-CwVf62zO.js → SourceOfFunds.module-CJU7G25h.js} +2 -2
- package/dist/{SourceOfFundsDropin-Bz8cTP4R.js → SourceOfFundsPage-wKa6_R00.js} +38 -20
- package/dist/{TaskItemStatus-DzTphBn7.js → TaskItemStatus-C4UEhNGv.js} +2 -2
- package/dist/{TaxReportingDropin-xDar-7mC.js → TaxReportingDropin-CIOcO4aW.js} +5 -5
- package/dist/{TrustOuter-2GEllVo3.js → TrustDetailsPage-CQFhJpjq.js} +17 -29
- package/dist/TrustMemberCompanyPage-LXlFOFQY.js +55 -0
- package/dist/TrustMemberIndividualPage-LN6bDQy-.js +60 -0
- package/dist/UnincorporatedPartnershipIndividualPage-C7VTwaZ8.js +60 -0
- package/dist/UnincorporatedPartnershipMemberCompanyPage-W4Cirr03.js +58 -0
- package/dist/adyen-kyc-components.js +1 -1
- package/dist/adyenConfig.js +2 -2
- package/dist/{bg-BG-CzEF3tzV.js → bg-BG-CZRQZyXO.js} +12 -5
- package/dist/{core-BsRrVyKB.js → core-COLKpX6z.js} +681 -559
- package/dist/{cs-CZ-TMjslGp_.js → cs-CZ-BbUFgifZ.js} +12 -5
- package/dist/{css-CypmaTn8.js → css-gOuz99Uy.js} +2 -2
- package/dist/{da-DK-DWzvDWZJ.js → da-DK-CP71BFS7.js} +12 -5
- package/dist/{de-DE-BtIL-7gp.js → de-DE-DY56JGZt.js} +12 -5
- package/dist/{el-GR-DHSSlqbw.js → el-GR-CnENEp5c.js} +12 -5
- package/dist/{es-ES-OwkE9-Cu.js → es-ES-dV62vQcV.js} +28 -21
- package/dist/{et-EE-DvixWnLd.js → et-EE-BBgAN3Wc.js} +12 -5
- package/dist/{fi-FI-DZiXWe_g.js → fi-FI-DVmGWIxn.js} +12 -5
- package/dist/{fr-FR-BBwiWhiT.js → fr-FR-VwG8Rg7R.js} +12 -5
- package/dist/{hr-HR-DJYofWKU.js → hr-HR-Bs_lxjxQ.js} +12 -5
- package/dist/{hu-HU-k9c6wZld.js → hu-HU-8dVSiOZM.js} +12 -5
- package/dist/individual.js +4 -4
- package/dist/{it-IT-oOwbWW3K.js → it-IT-DvwWMDl1.js} +12 -5
- package/dist/{ja-JP-CT3g8Hhn.js → ja-JP-BB6zzyEg.js} +12 -5
- package/dist/{json-DDReVYSW.js → json-BWWdJ4V4.js} +2 -2
- package/dist/{lt-LT-CVHIsEF8.js → lt-LT-BQtNojlb.js} +12 -5
- package/dist/{lv-LV-BFx0cvZ2.js → lv-LV-BpEw5uN5.js} +12 -5
- package/dist/{nl-NL-rmSZu4Rf.js → nl-NL-vBEBXTP-.js} +12 -5
- package/dist/{no-NO-BOnQvimN.js → no-NO-BFhTqUoD.js} +12 -5
- package/dist/{pl-PL-5j22An4E.js → pl-PL-dsGZvzVf.js} +12 -5
- package/dist/{plaintext-Cjcgjaqv.js → plaintext-BeHX0z7t.js} +2 -2
- package/dist/{pt-PT-DP8U1qyu.js → pt-PT-BB38pZbh.js} +12 -5
- package/dist/{ro-RO-BTdtoC6P.js → ro-RO-BgxNxoxJ.js} +12 -5
- package/dist/{sk-SK-DYTx4mOB.js → sk-SK-rtDeCztl.js} +12 -5
- package/dist/{sl-SI-D8CiUN69.js → sl-SI-qoGCwUdU.js} +12 -5
- package/dist/style.css +175 -223
- package/dist/styles-CLV89_hH.js +175 -223
- package/dist/{sv-SE-Daslxeqr.js → sv-SE-f1T7PBSW.js} +12 -5
- package/dist/terms-of-service.js +4 -4
- package/dist/types/api/transferInstruments/useTransferInstrument.d.ts +2 -1
- package/dist/types/components/BankAccount/forms/BankDocument/types.d.ts +2 -0
- package/dist/types/components/BankAccount/forms/PayoutDetails/types.d.ts +2 -5
- package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/types.d.ts +1 -11
- package/dist/types/components/BankAccount/pages/PayoutDetailsPage.d.ts +14 -0
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/PayoutDetailsDropin.d.ts +1 -1
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/payoutDetailsFormConfig.d.ts +12 -1
- package/dist/types/components/Business/forms/BusinessDetails/forms.d.ts +14 -0
- package/dist/types/components/Business/forms/BusinessDetails/types.d.ts +1 -0
- package/dist/types/components/Business/forms/ProofOfOwnershipDocument/ProofOfOwnershipDocument.d.ts +2 -0
- package/dist/types/components/Business/forms/ProofOfOwnershipDocument/types.d.ts +8 -0
- package/dist/types/components/Business/forms/rules.d.ts +0 -1
- package/dist/types/components/Business/mapping/businessDetails/businessDetailsKeyMappings.d.ts +1 -1
- package/dist/types/components/Business/mapping/businessDetails/solePropBusinessDetailsKeyMappings.d.ts +1 -1
- package/dist/types/components/Business/pages/RootBusinessDetailsPage.d.ts +8 -0
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +1 -3
- package/dist/types/components/EFP/pages/BusinessFinancingPage.d.ts +7 -0
- package/dist/types/components/EFP/pages/SourceOfFundsPage.d.ts +7 -0
- package/dist/types/components/EmbeddedDropins/OnboardingDropinComponent/DropinComposer/DropinComposer.d.ts +1 -1
- package/dist/types/components/Individual/forms/Individual/IdDocumentUpload/types.d.ts +1 -0
- package/dist/types/components/Individual/forms/Individual/IdVerificationMethod/IdVerificationMethod.d.ts +0 -1
- package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/IdVerificationMethod.types.d.ts +0 -2
- package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.types.d.ts +2 -1
- package/dist/types/components/Individual/pages/DecisionMakerDetailsPage.d.ts +20 -0
- package/dist/types/components/Individual/pages/LegalRepresentativeDetailsPage.d.ts +12 -0
- package/dist/types/components/Individual/pages/RootIndividualDetailsPage.d.ts +16 -0
- package/dist/types/components/Individual/tasks/DecisionMakers/types.d.ts +0 -2
- package/dist/types/components/Shared/Introduction/Introduction.d.ts +4 -2
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/components/Shared/forms/BusinessTypeSelection/BusinessTypeSelection.d.ts +1 -1
- package/dist/types/components/Shared/forms/BusinessTypeSelection/types.d.ts +3 -5
- package/dist/types/components/Shared/forms/DocumentUpload/DocumentUpload.d.ts +1 -1
- package/dist/types/components/Shared/forms/DocumentUpload/types.d.ts +5 -0
- package/dist/types/components/Shared/pages/BusinessTypeSelectionPage.d.ts +2 -0
- package/dist/types/components/Shared/tasks/TaskList/TaskList.d.ts +7 -1
- package/dist/types/components/Shared/tasks/TaskList/types.d.ts +0 -6
- package/dist/types/components/Shared/tasks/TaskList/utils.d.ts +1 -0
- package/dist/types/components/SoleProprietorship/pages/SoleProprietorshipPage.d.ts +8 -0
- package/dist/types/components/Trust/pages/TrustDetailsPage.d.ts +10 -0
- package/dist/types/components/Trust/pages/TrustMemberCompanyPage.d.ts +11 -0
- package/dist/types/components/Trust/pages/TrustMemberIndividualPage.d.ts +16 -0
- package/dist/types/components/Trust/pages/TrustMemberRoleAndTypePage.d.ts +9 -0
- package/dist/types/components/Trust/tasks/TrustMembers/TrustMembersOverview.d.ts +4 -7
- package/dist/types/components/UnincorporatedPartnership/hooks/useUnincorporatedPartnershipNavigation.d.ts +0 -2
- package/dist/types/components/UnincorporatedPartnership/pages/UnincorporatedPartnershipIndividualPage.d.ts +16 -0
- package/dist/types/components/UnincorporatedPartnership/pages/UnincorporatedPartnershipMemberCompanyPage.d.ts +11 -0
- package/dist/types/components/UnincorporatedPartnership/pages/UnincorporatedPartnershipMemberRoleAndTypePage.d.ts +8 -0
- package/dist/types/components/UnincorporatedPartnership/tasks/UnincorporatedPartnershipMembers/UnincorporatedPartnershipMembersOverview.d.ts +1 -5
- package/dist/types/components/UnincorporatedPartnership/tasks/UnincorporatedPartnershipRoleAndType/UnincorporatedPartnershipRoleAndType.d.ts +1 -1
- package/dist/types/components/ui/molecules/Dropzone/types.d.ts +1 -0
- package/dist/types/context/ExperimentContext/types.d.ts +6 -6
- package/dist/types/core/models/api/document.d.ts +1 -1
- package/dist/types/hooks/useDataConflicts.d.ts +7 -5
- package/dist/types/stores/globalStore/taskTypes.d.ts +0 -1
- package/dist/types/utils/country.d.ts +3 -2
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/types/utils/getDisplayErrorMessage.d.ts +3 -0
- package/dist/{utils-Du6OO4ZK.js → utils-D_u0pRoA.js} +1 -1
- package/dist/{utils-Fkk087z-.js → utils-TiL-AC3M.js} +4 -4
- package/dist/{yaml-GnQQmt7i.js → yaml-DaYGsXjE.js} +2 -2
- package/package.json +1 -1
- package/dist/types/components/BankAccount/forms/PayoutDetails/utils.d.ts +0 -2
- package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/PreferInstantVerificationMethod/PreferInstantVerificationMethod.d.ts +0 -22
- package/dist/types/components/Individual/forms/Individual/IndividualOuter.d.ts +0 -26
- package/dist/types/components/Trust/tasks/TrustDropin/TrustOuter.d.ts +0 -10
- package/dist/types/components/ui/atoms/List/List.d.ts +0 -9
|
@@ -2,15 +2,15 @@
|
|
|
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] = "64d0e817-0dbf-42aa-9cf9-65cd5d61359e", e._sentryDebugIdIdentifier = "sentry-dbid-64d0e817-0dbf-42aa-9cf9-65cd5d61359e");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
|
-
import { a2 as useLegalEntity,
|
|
11
|
+
import { a2 as useLegalEntity, ao as ROOT_LE, a0 as Loader, u as useI18nContext, a as useAnalyticsContext, W as useToastContext, a7 as useQueryClient, aZ as resolveFieldMetadata, ci as defaultFieldMetadata, cj as fieldConfig, cv as getAsyncPhoneValidationRules, b2 as FormHeader, d3 as ContactDetails, bd as ActionBar, au as createLogger } from "./EventEmitter-BkZLzmwO.js";
|
|
12
12
|
import { useCallback, useMemo, useEffect } from "preact/hooks";
|
|
13
|
-
import { a as useUpdateLegalEntity,
|
|
13
|
+
import { a as useUpdateLegalEntity, I as contactDetailsValidationRules, J as useValidatePhoneNumberImperatively, K as useMultiForm } from "./CreateIndividualComponent-kC_-8B9Z.js";
|
|
14
14
|
const mapCustomerSupportSchemaToCustomerSupportType = (customerSupport) => {
|
|
15
15
|
var _a, _b, _c;
|
|
16
16
|
return {
|
|
@@ -2,16 +2,16 @@
|
|
|
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] = "8e0b6105-9ccd-403a-ae12-a2e95f8061e8", e._sentryDebugIdIdentifier = "sentry-dbid-8e0b6105-9ccd-403a-ae12-a2e95f8061e8");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo, useState } from "preact/hooks";
|
|
12
|
-
import { B as Button, e as entriesOf, I as InputText, u as useI18nContext,
|
|
12
|
+
import { B as Button, e as entriesOf, I as InputText, u as useI18nContext, dn as splitTaskIdentifier, b as useExperimentsContext, Y as useSettingsContext, aO as useSignalValue, aP as useGlobalStore, dp as valuesOf, ak as Modal, au as createLogger, a1 as Icon, Z as SettingNames } from "./EventEmitter-BkZLzmwO.js";
|
|
13
13
|
import { l as listToRecord } from "./listToRecord-CO3M1Q74.js";
|
|
14
|
-
import { T as Tag, a as TaskItemStatus } from "./TaskItemStatus-
|
|
14
|
+
import { T as Tag, a as TaskItemStatus } from "./TaskItemStatus-C4UEhNGv.js";
|
|
15
15
|
var ExperimentNames = /* @__PURE__ */ ((ExperimentNames2) => {
|
|
16
16
|
ExperimentNames2["AllowMoreRolesForMainRootTrustee"] = "AllowMoreRolesForMainRootTrustee";
|
|
17
17
|
ExperimentNames2["ShowUnsupportedEntityType"] = "ShowUnsupportedEntityType";
|
|
@@ -22,7 +22,6 @@ var ExperimentNames = /* @__PURE__ */ ((ExperimentNames2) => {
|
|
|
22
22
|
ExperimentNames2["HidePciTask"] = "HidePciTask";
|
|
23
23
|
ExperimentNames2["EnableAgeVerification"] = "EnableAgeVerification";
|
|
24
24
|
ExperimentNames2["EnableNationalitySGHK"] = "EnableNationalitySGHK";
|
|
25
|
-
ExperimentNames2["EnablePreferInstantVerificationFlow"] = "EnablePreferInstantVerificationFlow";
|
|
26
25
|
ExperimentNames2["EnableFinancialInformationComponentV4"] = "EnableFinancialInformationComponentV4";
|
|
27
26
|
ExperimentNames2["StrictNameAndAddressValidationV4"] = "StrictNameAndAddressValidationV4";
|
|
28
27
|
ExperimentNames2["EnableDoingBusinessAsNameV4"] = "EnableDoingBusinessAsNameV4";
|
|
@@ -40,8 +39,9 @@ var ExperimentNames = /* @__PURE__ */ ((ExperimentNames2) => {
|
|
|
40
39
|
ExperimentNames2["EnableTaxIdRequiredForBusinessAccountsScenarios"] = "EnableTaxIdRequiredForBusinessAccountsScenarios";
|
|
41
40
|
ExperimentNames2["EnableJaJPLocale"] = "EnableJaJPLocale";
|
|
42
41
|
ExperimentNames2["EnableGuidedDecisionMakersFlow"] = "EnableGuidedDecisionMakersFlow";
|
|
42
|
+
ExperimentNames2["EnableBusinessDetailsTaskStatusService"] = "EnableBusinessDetailsTaskStatusService";
|
|
43
43
|
ExperimentNames2["UseTaskStatusApiForPayout"] = "UseTaskStatusApiForPayout";
|
|
44
|
-
ExperimentNames2["
|
|
44
|
+
ExperimentNames2["BankVerificationFlowOptimization_CAASIntegration"] = "BankVerificationFlowOptimization_CAASIntegration";
|
|
45
45
|
return ExperimentNames2;
|
|
46
46
|
})(ExperimentNames || {});
|
|
47
47
|
const tabs = "adyen-kyc-tabs";
|
|
@@ -178,10 +178,10 @@ const transformModule = (highlights, codeNode, scope) => {
|
|
|
178
178
|
};
|
|
179
179
|
const supportedModules = ["plaintext", "json", "yaml", "css"];
|
|
180
180
|
const moduleMap = {
|
|
181
|
-
plaintext: () => import("./plaintext-
|
|
182
|
-
json: () => import("./json-
|
|
183
|
-
yaml: () => import("./yaml-
|
|
184
|
-
css: () => import("./css-
|
|
181
|
+
plaintext: () => import("./plaintext-BeHX0z7t.js"),
|
|
182
|
+
json: () => import("./json-BWWdJ4V4.js"),
|
|
183
|
+
yaml: () => import("./yaml-DaYGsXjE.js"),
|
|
184
|
+
css: () => import("./css-gOuz99Uy.js")
|
|
185
185
|
};
|
|
186
186
|
const getModule = async (name) => {
|
|
187
187
|
if (!supportedModules.includes(name)) {
|
|
@@ -472,7 +472,7 @@ const DebugModal = ({ onExit }) => {
|
|
|
472
472
|
const [tab, setTab] = useState("metadata");
|
|
473
473
|
const rootLegalEntity = useSignalValue(useGlobalStore().rootLegalEntity);
|
|
474
474
|
const metadata = {
|
|
475
|
-
sdkVersion: "3.
|
|
475
|
+
sdkVersion: "3.72.1",
|
|
476
476
|
locale: i18n.locale,
|
|
477
477
|
rootLegalEntityId: rootLegalEntity.id
|
|
478
478
|
};
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
;
|
|
2
|
+
{
|
|
3
|
+
try {
|
|
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] = "ac1107bb-ec7a-4db1-9f5e-0b64fa6a6b37", e._sentryDebugIdIdentifier = "sentry-dbid-ac1107bb-ec7a-4db1-9f5e-0b64fa6a6b37");
|
|
6
|
+
} catch (e) {
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
;
|
|
10
|
+
import { jsx } from "preact/jsx-runtime";
|
|
11
|
+
import { a2 as useLegalEntity, a6 as skipToken, b as useExperimentsContext, a0 as Loader, a3 as getLegalEntityCountry, aG as EntityType, ah as TaskTypes, aJ as noop } from "./EventEmitter-BkZLzmwO.js";
|
|
12
|
+
import { G as useCapabilityProblems, N as getProblemsForEntity, Q as isOnfidoAutofillFlowEnabled, R as IndividualOnfidoDropin, U as IndividualDropin } from "./CreateIndividualComponent-kC_-8B9Z.js";
|
|
13
|
+
function DecisionMakerDetailsPage({
|
|
14
|
+
decisionMakerId,
|
|
15
|
+
parentCompanyId,
|
|
16
|
+
taskType = TaskTypes.DECISION_MAKER,
|
|
17
|
+
asModal,
|
|
18
|
+
hideSidebar,
|
|
19
|
+
isTargetLegalEntityType,
|
|
20
|
+
onSubmit,
|
|
21
|
+
trustedFields,
|
|
22
|
+
trustedFieldsProvider,
|
|
23
|
+
trustedRoles,
|
|
24
|
+
handleBackClick,
|
|
25
|
+
handleCloseClick,
|
|
26
|
+
handleHomeClick = noop
|
|
27
|
+
}) {
|
|
28
|
+
const { data: decisionMakerLe } = useLegalEntity(decisionMakerId ?? skipToken);
|
|
29
|
+
const { data: parentCompanyLe } = useLegalEntity(parentCompanyId ?? skipToken);
|
|
30
|
+
const capabilityProblems = useCapabilityProblems();
|
|
31
|
+
const { isExperimentEnabled } = useExperimentsContext();
|
|
32
|
+
if (!parentCompanyLe || decisionMakerId && !decisionMakerLe) {
|
|
33
|
+
return /* @__PURE__ */ jsx(Loader, {});
|
|
34
|
+
}
|
|
35
|
+
const country = getLegalEntityCountry(decisionMakerLe ?? parentCompanyLe);
|
|
36
|
+
const problems = capabilityProblems && decisionMakerId ? getProblemsForEntity(capabilityProblems, EntityType.LEGAL_ENTITY, decisionMakerId) : void 0;
|
|
37
|
+
const isOnfidoAutofillFlow = isOnfidoAutofillFlowEnabled(
|
|
38
|
+
country,
|
|
39
|
+
TaskTypes.DECISION_MAKER,
|
|
40
|
+
isExperimentEnabled
|
|
41
|
+
);
|
|
42
|
+
const props = {
|
|
43
|
+
taskType,
|
|
44
|
+
taskName: TASK_NAMES[taskType],
|
|
45
|
+
legalEntityResponse: decisionMakerLe,
|
|
46
|
+
parentLegalEntity: parentCompanyLe,
|
|
47
|
+
problems,
|
|
48
|
+
country,
|
|
49
|
+
asModal,
|
|
50
|
+
hideSidebar,
|
|
51
|
+
isTargetLegalEntityType,
|
|
52
|
+
onSubmit,
|
|
53
|
+
trustedFieldsProvider,
|
|
54
|
+
trustedRoles,
|
|
55
|
+
handleBackClick,
|
|
56
|
+
handleCloseClick,
|
|
57
|
+
handleHomeClick
|
|
58
|
+
};
|
|
59
|
+
return isOnfidoAutofillFlow ? /* @__PURE__ */ jsx(
|
|
60
|
+
IndividualOnfidoDropin,
|
|
61
|
+
{
|
|
62
|
+
...props,
|
|
63
|
+
trustedFields
|
|
64
|
+
}
|
|
65
|
+
) : /* @__PURE__ */ jsx(
|
|
66
|
+
IndividualDropin,
|
|
67
|
+
{
|
|
68
|
+
...props,
|
|
69
|
+
trustedFields
|
|
70
|
+
}
|
|
71
|
+
);
|
|
72
|
+
}
|
|
73
|
+
const TASK_NAMES = {
|
|
74
|
+
[TaskTypes.DECISION_MAKER]: "decisionMakerDetails",
|
|
75
|
+
[TaskTypes.TRUST_MEMBER_COMPANY_OWNER]: "companyOwnerDetails",
|
|
76
|
+
[TaskTypes.UNINCORPORATED_PARTNERSHIP_MEMBER_COMPANY_OWNER]: "companyOwnerDetails"
|
|
77
|
+
};
|
|
78
|
+
export {
|
|
79
|
+
DecisionMakerDetailsPage
|
|
80
|
+
};
|
|
@@ -2,16 +2,16 @@
|
|
|
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] = "6c0e6c70-fbef-467b-ab76-9980fd603ff1", e._sentryDebugIdIdentifier = "sentry-dbid-6c0e6c70-fbef-467b-ab76-9980fd603ff1");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useState, useEffect } from "preact/hooks";
|
|
12
|
-
import { a2 as useLegalEntity,
|
|
13
|
-
import { a as useUpdateLegalEntity } from "./CreateIndividualComponent-
|
|
14
|
-
import { b as useDataMissingRemediations, D as DropinLayout, E as EntityGuidanceStatus, i as iconStatus, c as EntityAssociation } from "./core-
|
|
12
|
+
import { a2 as useLegalEntity, ao as ROOT_LE, a0 as Loader, aL as useGetTaskStatus, u as useI18nContext, a as useAnalyticsContext, W as useToastContext, bp as getOwnDecisionMakers, cL as getAvailableDecisionMakerRoleTypes, ah as TaskTypes, cA as getAllowedDecisionMakerRoles, b2 as FormHeader, bj as ContextGuidance, co as DecisionMakerType, aq as Alert, aM as CardGroup, B as Button, bd as ActionBar } from "./EventEmitter-BkZLzmwO.js";
|
|
13
|
+
import { G as useCapabilityProblems, a as useUpdateLegalEntity } from "./CreateIndividualComponent-kC_-8B9Z.js";
|
|
14
|
+
import { b as useDataMissingRemediations, D as DropinLayout, E as EntityGuidanceStatus, i as iconStatus, c as EntityAssociation } from "./core-COLKpX6z.js";
|
|
15
15
|
const DecisionMakers = (props) => {
|
|
16
16
|
const { data, isLoading } = useLegalEntity(ROOT_LE);
|
|
17
17
|
if (isLoading || !data) {
|
|
@@ -21,7 +21,6 @@ const DecisionMakers = (props) => {
|
|
|
21
21
|
};
|
|
22
22
|
const DecisionMakersInner = ({
|
|
23
23
|
legalEntity,
|
|
24
|
-
capabilityProblems,
|
|
25
24
|
onNavigateToIndividual,
|
|
26
25
|
navigateBackToTaskList,
|
|
27
26
|
trustedEntityAssociations
|
|
@@ -31,6 +30,7 @@ const DecisionMakersInner = ({
|
|
|
31
30
|
const userEvents = useAnalyticsContext();
|
|
32
31
|
const { showToast } = useToastContext();
|
|
33
32
|
const [isRemoveDisabled, setIsRemoveDisabled] = useState(false);
|
|
33
|
+
const capabilityProblems = useCapabilityProblems() ?? {};
|
|
34
34
|
const updateLegalEntity = useUpdateLegalEntity();
|
|
35
35
|
const decisionMakers = getOwnDecisionMakers(legalEntity);
|
|
36
36
|
const registeredCountry = legalEntity.organization.registeredAddress.country;
|
|
@@ -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] = "10bfb752-6d6b-4271-85db-72dd4abd2b45", e._sentryDebugIdIdentifier = "sentry-dbid-10bfb752-6d6b-4271-85db-72dd4abd2b45");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import {
|
|
11
|
+
import { dl as refreshSession, B as Button, a0 as Loader, bx as SettingsProvider, by as ExperimentsContextProvider, bz as ApiProvider, bA as QueryClientProvider, bB as StoreProvider, bC as AnalyticsProvider, bD as I18nProvider, bw as EventEmitter, bE as DebugListener, bF as ToastContextProvider, bG as StateProvider, bH as ReactQueryDevtools2, bK as setSdkTokenHandler } from "./EventEmitter-BkZLzmwO.js";
|
|
12
12
|
import { useState, useEffect } from "preact/hooks";
|
|
13
13
|
function injectCss(shadowRoot) {
|
|
14
14
|
{
|
|
@@ -57,7 +57,7 @@ const EmbedShell = ({
|
|
|
57
57
|
}
|
|
58
58
|
return /* @__PURE__ */ jsx(SettingsProvider, { settings, children: /* @__PURE__ */ jsx(ExperimentsContextProvider, { experiments, refreshExperiments, children: /* @__PURE__ */ jsx(ApiProvider, { rootLegalEntityId: legalEntityId, baseUrl, children: /* @__PURE__ */ jsx(QueryClientProvider, { children: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
59
59
|
/* @__PURE__ */ jsxs(StoreProvider, { children: [
|
|
60
|
-
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.
|
|
60
|
+
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.72.1" }),
|
|
61
61
|
/* @__PURE__ */ jsx(
|
|
62
62
|
AnalyticsProvider,
|
|
63
63
|
{
|