@adyen/kyc-components 4.13.0-beta.4 → 4.13.0-beta.5
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/{DebugModal-B2Ju7JTl.js → DebugModal-Ch9kv4ct.js} +2 -2
- package/dist/{DecisionMakerDetailsPage-CAq5na-Z.js → DecisionMakerDetailsPage-Cs3u-lSX.js} +1 -1
- package/dist/{IndividualDropin-BdBMJkx4.js → IndividualDropin-B_zrYjEk.js} +19 -11
- package/dist/{InvitedDecisionMakerComponent-C1gqGJsQ.js → InvitedDecisionMakerComponent-Bgk8Zwz2.js} +1 -1
- package/dist/{LegalRepresentativeDetailsPage-3kuEatCa.js → LegalRepresentativeDetailsPage-BG4hmk6W.js} +1 -1
- package/dist/{PayoutDetailsPage-Bmgebi3K.js → PayoutDetailsPage-OmPUEUus.js} +1 -1
- package/dist/{RootIndividualDetailsPage-Bl622oSy.js → RootIndividualDetailsPage-DMBaBPnM.js} +1 -1
- package/dist/{TrustMemberIndividualPage-B5hPWglh.js → TrustMemberIndividualPage-CfjzTBeq.js} +1 -1
- package/dist/{UnincorporatedPartnershipIndividualPage-Bfxq3XJj.js → UnincorporatedPartnershipIndividualPage-BSdaNrYj.js} +1 -1
- package/dist/adyen-business-financing.js +1 -1
- package/dist/adyen-individual-configuration.js +2 -2
- package/dist/adyen-individual-status.js +1 -1
- package/dist/adyen-invited-decision-maker.js +2 -2
- package/dist/adyen-onboarding.js +8 -8
- package/dist/adyen-terms-of-service-management.js +1 -1
- package/dist/adyen-terms-of-service-status.js +1 -1
- package/dist/adyen-transfer-instrument-configuration.js +1 -1
- package/dist/adyen-transfer-instrument-management.js +1 -1
- package/dist/adyen-verification-status.js +1 -1
- package/dist/{resolveEnvironment-BbdLeYP1.js → resolveEnvironment-BdN6H_Jf.js} +5 -5
- package/dist/types/components/Individual/forms/IdVerificationMethod/IdVerificationMethod.types.d.ts +1 -0
- package/dist/types/components/Individual/helpers/shouldShowMotionCapture.d.ts +2 -1
- package/dist/{useNavigate-OMOxhDbP.js → useNavigate-BPyk1Kmt.js} +7 -7
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "ff2a095f-c8bd-46be-8a58-13dac7e31022", e._sentryDebugIdIdentifier = "sentry-dbid-ff2a095f-c8bd-46be-8a58-13dac7e31022");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { a as Icon, o as createLogger, r as useTranslation } from "./translation-BHUZ_WP7.js";
|
|
6
6
|
import { t as Button } from "./Button-BxfzWsRl.js";
|
|
@@ -349,7 +349,7 @@ var DebugModal = ({ onExit }) => {
|
|
|
349
349
|
const rootLegalEntity = useGlobalStore().rootLegalEntity.value;
|
|
350
350
|
const formDebugAvailable = Object.keys(formDebugInfo.value).length > 0;
|
|
351
351
|
const metadata = {
|
|
352
|
-
sdkVersion: "4.13.0-beta.
|
|
352
|
+
sdkVersion: "4.13.0-beta.5",
|
|
353
353
|
locale: i18n.language,
|
|
354
354
|
rootLegalEntityId: rootLegalEntity.id
|
|
355
355
|
};
|
|
@@ -15,7 +15,7 @@ import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProb
|
|
|
15
15
|
import { n as getTrustedFields, r as getTrustedFieldsProvider } from "./getTrustedFields-BF_CmfLe.js";
|
|
16
16
|
import { n as isBafinSignatoryFlow, r as removeIdVerificationProblemsForBafinSignatory } from "./bafinUtils-DJ5gJYKz.js";
|
|
17
17
|
import { t as useScenarios } from "./useScenarios-D2TFpeEU.js";
|
|
18
|
-
import { t as IndividualDropin } from "./IndividualDropin-
|
|
18
|
+
import { t as IndividualDropin } from "./IndividualDropin-B_zrYjEk.js";
|
|
19
19
|
import { t as getTrustedDecisionMakers } from "./getTrustedDecisionMakers-D2yayvPr.js";
|
|
20
20
|
import { jsx } from "preact/jsx-runtime";
|
|
21
21
|
import { skipToken } from "@tanstack/preact-query";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "7d075b33-2f7d-46c8-9962-fdd606fae16a", e._sentryDebugIdIdentifier = "sentry-dbid-7d075b33-2f7d-46c8-9962-fdd606fae16a");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { i as Typography, o as createLogger, r as useTranslation, t as Trans } from "./translation-BHUZ_WP7.js";
|
|
6
6
|
import { n as IconButton, r as Loader, t as Button } from "./Button-BxfzWsRl.js";
|
|
@@ -1121,7 +1121,8 @@ var setHasMotionCaptureScenario = (scenarios) => {
|
|
|
1121
1121
|
hasMotionCaptureScenario.value = scenarios?.some((scenario) => scenario === Scenarios.L_MOTION || scenario === Scenarios.L1_ID);
|
|
1122
1122
|
};
|
|
1123
1123
|
var allowedRolesForMotionCapture = [DecisionMakerTypes.SIGNATORY];
|
|
1124
|
-
var shouldShowMotionCapture = ({ capabilities, userRoles, taskType, hasMotionScenario, isInvitedEntity = false }) => {
|
|
1124
|
+
var shouldShowMotionCapture = ({ capabilities, userRoles, taskType, hasMotionScenario, hasLiveSelfieError, isInvitedEntity = false }) => {
|
|
1125
|
+
if (hasLiveSelfieError) return true;
|
|
1125
1126
|
if (isInvitedEntity) return shouldShowMotionCaptureForInvitedEntity({
|
|
1126
1127
|
capabilities,
|
|
1127
1128
|
userRoles
|
|
@@ -2693,7 +2694,7 @@ var logger$2 = createLogger();
|
|
|
2693
2694
|
var passportFrontGreenImage = lazy(() => import("./passport-front-green-BB3zGc3y.js"));
|
|
2694
2695
|
var idVerificationMethodFields = ["idVerificationMethod", "idDocument"];
|
|
2695
2696
|
function IdVerificationMethod(props) {
|
|
2696
|
-
const { legalEntityId, taskType, handlers, formVerificationErrors, fieldValidationErrors, hasLiveSelfieErrorCode } = props;
|
|
2697
|
+
const { legalEntityId, taskType, handlers, formVerificationErrors, fieldValidationErrors, hasLiveSelfieErrorCode, isInvitedEntity } = props;
|
|
2697
2698
|
const { t: individualT, i18n } = useTranslation("individual");
|
|
2698
2699
|
const { t: commonT } = useTranslation("common");
|
|
2699
2700
|
const userEvents = useAnalyticsContext();
|
|
@@ -2860,8 +2861,8 @@ function IdVerificationMethod(props) {
|
|
|
2860
2861
|
handleFieldChange("idDocument")(void 0);
|
|
2861
2862
|
}
|
|
2862
2863
|
};
|
|
2863
|
-
if (hasLiveSelfieErrorCode && data.idVerificationMethod?.idVerificationMethod !== "instantVerification" && valid.idVerificationMethod?.idVerificationMethod) setValid("idVerificationMethod", false, "idVerificationMethod");
|
|
2864
|
-
const doesUserHaveExistingDocument = hasLiveSelfieErrorCode && data.idVerificationMethod?.idVerificationMethod !== "instantVerification" ? false : hasExistingDocument;
|
|
2864
|
+
if (hasLiveSelfieErrorCode && (data.idVerificationMethod?.idVerificationMethod !== "instantVerification" || !data.idVerificationMethod?.idDocument?.instantIdVerificationData) && valid.idVerificationMethod?.idVerificationMethod) setValid("idVerificationMethod", false, "idVerificationMethod");
|
|
2865
|
+
const doesUserHaveExistingDocument = hasLiveSelfieErrorCode && (data.idVerificationMethod?.idVerificationMethod !== "instantVerification" || !data.idVerificationMethod?.idDocument?.instantIdVerificationData) ? false : hasExistingDocument;
|
|
2865
2866
|
const handleCancelDeleteDocument = () => {
|
|
2866
2867
|
setStatus("ready");
|
|
2867
2868
|
userEvents.addPageEvent("Clicked button", {
|
|
@@ -2886,7 +2887,8 @@ function IdVerificationMethod(props) {
|
|
|
2886
2887
|
};
|
|
2887
2888
|
const modalProvidedData = resolvedData || comparableExistingData;
|
|
2888
2889
|
const formUtils = createFormUtils(props, commonT);
|
|
2889
|
-
const
|
|
2890
|
+
const showInviteOption = isFeatureEnabled("EnableVerifyByInvite") && isDecisionMakerTask(taskType) && !isInvitedEntity;
|
|
2891
|
+
const verifyIdentityDescription = showInviteOption ? individualT(($) => $["weNeedToVerifyTheDecisionMakersIdentity"]) : showIndividualMotionCapture?.value ? individualT(($) => $["toHelpProtectAgainstFraudAndKeepOurServices"]) : /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
2890
2892
|
commonT(($) => $["takeOrUploadAPhoto"]),
|
|
2891
2893
|
" ",
|
|
2892
2894
|
/* @__PURE__ */ jsx(Link, {
|
|
@@ -2929,7 +2931,7 @@ function IdVerificationMethod(props) {
|
|
|
2929
2931
|
fullWidth: true,
|
|
2930
2932
|
children: commonT(($) => $["addDetailsManually"])
|
|
2931
2933
|
}),
|
|
2932
|
-
|
|
2934
|
+
showInviteOption && /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("span", {
|
|
2933
2935
|
className: IdVerificationMethod_module_default.orSeparator,
|
|
2934
2936
|
children: individualT(($) => $["or"])
|
|
2935
2937
|
}), /* @__PURE__ */ jsx(Button, {
|
|
@@ -3745,7 +3747,7 @@ var manualIdUploadFormID = individualForms.manualIdUpload.formId;
|
|
|
3745
3747
|
var proofOfResidencyFormID = individualForms.proofOfResidency.formId;
|
|
3746
3748
|
var proofOfNationalIdFormID = individualForms.proofOfNationalId.formId;
|
|
3747
3749
|
var proofOfRelationshipFormID = individualForms.proofOfRelationship.formId;
|
|
3748
|
-
var LIVE_SELFIE_ERROR_CODE = "2_8210";
|
|
3750
|
+
var LIVE_SELFIE_ERROR_CODE$1 = "2_8210";
|
|
3749
3751
|
function Individual(props) {
|
|
3750
3752
|
const { t: commonT } = useTranslation("common");
|
|
3751
3753
|
const { t: individualT } = useTranslation("individual");
|
|
@@ -3837,12 +3839,14 @@ function Individual(props) {
|
|
|
3837
3839
|
data?.basicDetails?.role,
|
|
3838
3840
|
setFormData
|
|
3839
3841
|
]);
|
|
3842
|
+
const hasLiveSelfieErrorCode = problems?.missingData?.some((problem) => problem.code === LIVE_SELFIE_ERROR_CODE$1 && problem.type === "dataMissing");
|
|
3840
3843
|
const hasMotionCaptureScenarioValue = hasMotionCaptureScenario?.value;
|
|
3841
3844
|
useEffect$1(() => {
|
|
3842
3845
|
setShowIndividualMotionCapture(shouldShowMotionCapture({
|
|
3843
3846
|
capabilities: isInvitedEntity ? invitedEntityDetails?.rootCapabilities : capabilities,
|
|
3844
3847
|
userRoles: data?.basicDetails?.role,
|
|
3845
3848
|
taskType,
|
|
3849
|
+
hasLiveSelfieError: hasLiveSelfieErrorCode,
|
|
3846
3850
|
hasMotionScenario: data?.basicDetails?.role?.includes(DecisionMakerTypes.SIGNATORY) && scenarios?.includes(Scenarios.L_BAFIN) ? false : hasMotionCaptureScenarioValue,
|
|
3847
3851
|
isInvitedEntity
|
|
3848
3852
|
}));
|
|
@@ -3852,12 +3856,12 @@ function Individual(props) {
|
|
|
3852
3856
|
taskType,
|
|
3853
3857
|
capabilities,
|
|
3854
3858
|
hasMotionCaptureScenarioValue,
|
|
3859
|
+
hasLiveSelfieErrorCode,
|
|
3855
3860
|
isInvitedEntity,
|
|
3856
3861
|
invitedEntityDetails?.rootCapabilities
|
|
3857
3862
|
]);
|
|
3858
3863
|
const fullName = `${data?.basicDetails?.firstName} ${data?.basicDetails?.lastName}`;
|
|
3859
3864
|
const handleFieldChange = (formName) => (fieldName, mode) => handleChangeFor(fieldName, formName, mode);
|
|
3860
|
-
const hasLiveSelfieErrorCode = problems?.missingData?.some((problem) => problem.code === LIVE_SELFIE_ERROR_CODE && problem.type === "dataMissing");
|
|
3861
3865
|
const renderActiveForm = (activeForm) => {
|
|
3862
3866
|
switch (activeForm.formId) {
|
|
3863
3867
|
case signatoryQuestionnaireFormID: return /* @__PURE__ */ jsx(SignatoryQuestionnaire, {
|
|
@@ -3905,7 +3909,8 @@ function Individual(props) {
|
|
|
3905
3909
|
},
|
|
3906
3910
|
formVerificationErrors: problems?.verificationErrors?.idVerificationMethod,
|
|
3907
3911
|
fieldValidationErrors: problems?.validationErrors?.idVerificationMethod,
|
|
3908
|
-
hasLiveSelfieErrorCode
|
|
3912
|
+
hasLiveSelfieErrorCode,
|
|
3913
|
+
isInvitedEntity
|
|
3909
3914
|
});
|
|
3910
3915
|
case inviteDetailsFormID: return /* @__PURE__ */ jsx(InviteDetails, {
|
|
3911
3916
|
country: countryOfResidence,
|
|
@@ -4285,6 +4290,7 @@ var individualFieldsPerScenario = {
|
|
|
4285
4290
|
};
|
|
4286
4291
|
//#endregion
|
|
4287
4292
|
//#region src/components/Individual/tasks/IndividualDropin/IndividualDropin.tsx
|
|
4293
|
+
var LIVE_SELFIE_ERROR_CODE = "2_8210";
|
|
4288
4294
|
var parseIndividualScenarios = (scenarios) => composePerScenarioFormConfigurations(scenarios, individualFieldsPerScenario);
|
|
4289
4295
|
var parseConfiguration = ({ scenarios }) => parseIndividualScenarios(scenarios);
|
|
4290
4296
|
var logger = createLogger();
|
|
@@ -4449,6 +4455,7 @@ additionalPersonalDetails: check4DigitSsnFailed(problems?.verificationErrors?.ad
|
|
|
4449
4455
|
taskType,
|
|
4450
4456
|
problems
|
|
4451
4457
|
]);
|
|
4458
|
+
const hasLiveSelfieErrorCode = problems?.missingData?.some((problem) => problem.code === LIVE_SELFIE_ERROR_CODE && problem.type === "dataMissing");
|
|
4452
4459
|
useEffect$1(() => {
|
|
4453
4460
|
const derivedProps = getPropsFromConfigurations({
|
|
4454
4461
|
scenarioConfiguration: fieldConfigurations,
|
|
@@ -4485,7 +4492,7 @@ additionalPersonalDetails: check4DigitSsnFailed(problems?.verificationErrors?.ad
|
|
|
4485
4492
|
if (derivedProps.optionalFields?.basicDetails) derivedProps.optionalFields.basicDetails = filterFields(derivedProps.optionalFields.basicDetails);
|
|
4486
4493
|
}
|
|
4487
4494
|
}
|
|
4488
|
-
const updatedDerivedProps = mandateIdVerificationForMotionCapture(showIndividualMotionCapture?.value, derivedProps);
|
|
4495
|
+
const updatedDerivedProps = mandateIdVerificationForMotionCapture(hasLiveSelfieErrorCode || showIndividualMotionCapture?.value, derivedProps);
|
|
4489
4496
|
if (updatedDerivedProps) setDerivedProps(updatedDerivedProps);
|
|
4490
4497
|
}, [
|
|
4491
4498
|
fieldConfigurations,
|
|
@@ -4493,6 +4500,7 @@ additionalPersonalDetails: check4DigitSsnFailed(problems?.verificationErrors?.ad
|
|
|
4493
4500
|
fieldsFromCustomRules,
|
|
4494
4501
|
problems?.remediationActions,
|
|
4495
4502
|
problems?.missingData,
|
|
4503
|
+
hasLiveSelfieErrorCode,
|
|
4496
4504
|
isInvitedEntity,
|
|
4497
4505
|
dataFromResponse?.basicDetails
|
|
4498
4506
|
]);
|
package/dist/{InvitedDecisionMakerComponent-C1gqGJsQ.js → InvitedDecisionMakerComponent-Bgk8Zwz2.js}
RENAMED
|
@@ -16,7 +16,7 @@ import { t as TaskTypes } from "./taskTypes-CDFRB7A4.js";
|
|
|
16
16
|
import { t as useAnalyticsContext } from "./useAnalyticsContext-pNSIB8AZ.js";
|
|
17
17
|
import { t as Image } from "./Image-BBLBIviv.js";
|
|
18
18
|
import { t as getIndividualLegalEntityName } from "./getName-BtgdCWSR.js";
|
|
19
|
-
import { t as IndividualDropin } from "./IndividualDropin-
|
|
19
|
+
import { t as IndividualDropin } from "./IndividualDropin-B_zrYjEk.js";
|
|
20
20
|
import { t as List } from "./List-DLrcpMVd.js";
|
|
21
21
|
import { t as LandingLayout } from "./LandingLayout-BK3kV0FL.js";
|
|
22
22
|
import { t as useTaskStatus } from "./useTaskStatus-DPyTD_Ko.js";
|
|
@@ -11,7 +11,7 @@ import { t as _rolldown_dynamic_import_helper_default } from "./_rolldown_dynami
|
|
|
11
11
|
import { C as EntityTypes } from "./processCapabilities-C3-DrzSD.js";
|
|
12
12
|
import { t as TaskTypes } from "./taskTypes-CDFRB7A4.js";
|
|
13
13
|
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-B9GOFyRX.js";
|
|
14
|
-
import { t as IndividualDropin } from "./IndividualDropin-
|
|
14
|
+
import { t as IndividualDropin } from "./IndividualDropin-B_zrYjEk.js";
|
|
15
15
|
import { jsx } from "preact/jsx-runtime";
|
|
16
16
|
import { skipToken } from "@tanstack/preact-query";
|
|
17
17
|
//#region src/components/Individual/pages/LegalRepresentativeDetailsPage.tsx
|
|
@@ -8,7 +8,7 @@ import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-k2lxoMzW.js"
|
|
|
8
8
|
import { t as _rolldown_dynamic_import_helper_default } from "./_rolldown_dynamic_import_helper-C4ugHLZT.js";
|
|
9
9
|
import { C as EntityTypes } from "./processCapabilities-C3-DrzSD.js";
|
|
10
10
|
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-B9GOFyRX.js";
|
|
11
|
-
import { t as useNavigate } from "./useNavigate-
|
|
11
|
+
import { t as useNavigate } from "./useNavigate-BPyk1Kmt.js";
|
|
12
12
|
import { t as PayoutDetailsDropinMultiForm } from "./PayoutDetailsDropinMultiForm-CFXh9XH3.js";
|
|
13
13
|
import { jsx } from "preact/jsx-runtime";
|
|
14
14
|
import { useParams } from "wouter-preact";
|
package/dist/{RootIndividualDetailsPage-Bl622oSy.js → RootIndividualDetailsPage-DMBaBPnM.js}
RENAMED
|
@@ -15,7 +15,7 @@ import { o as isPartOfTrustFromLegalEntity } from "./trustUtil-BBkbuta4.js";
|
|
|
15
15
|
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-B9GOFyRX.js";
|
|
16
16
|
import { t as filterProblemsByTaskForms } from "./filterProblemsByTaskForms-DwS9T-_E.js";
|
|
17
17
|
import { n as getTrustedFields, r as getTrustedFieldsProvider } from "./getTrustedFields-BF_CmfLe.js";
|
|
18
|
-
import { n as individualForms, t as IndividualDropin } from "./IndividualDropin-
|
|
18
|
+
import { n as individualForms, t as IndividualDropin } from "./IndividualDropin-B_zrYjEk.js";
|
|
19
19
|
import { jsx } from "preact/jsx-runtime";
|
|
20
20
|
//#region src/components/Individual/pages/RootIndividualDetailsPage.tsx
|
|
21
21
|
function RootIndividualDetailsPage({ asModal = false, hideSidebar = false, isTargetLegalEntityType = false, onSubmit, handleBackClick, handleCloseClick, handleHomeClick = noop }) {
|
package/dist/{TrustMemberIndividualPage-B5hPWglh.js → TrustMemberIndividualPage-CfjzTBeq.js}
RENAMED
|
@@ -11,7 +11,7 @@ import { t as _rolldown_dynamic_import_helper_default } from "./_rolldown_dynami
|
|
|
11
11
|
import { C as EntityTypes } from "./processCapabilities-C3-DrzSD.js";
|
|
12
12
|
import { t as TaskTypes } from "./taskTypes-CDFRB7A4.js";
|
|
13
13
|
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-B9GOFyRX.js";
|
|
14
|
-
import { t as IndividualDropin } from "./IndividualDropin-
|
|
14
|
+
import { t as IndividualDropin } from "./IndividualDropin-B_zrYjEk.js";
|
|
15
15
|
import { jsx } from "preact/jsx-runtime";
|
|
16
16
|
import { skipToken } from "@tanstack/preact-query";
|
|
17
17
|
import { useParams } from "wouter-preact";
|
|
@@ -11,7 +11,7 @@ import { t as _rolldown_dynamic_import_helper_default } from "./_rolldown_dynami
|
|
|
11
11
|
import { C as EntityTypes } from "./processCapabilities-C3-DrzSD.js";
|
|
12
12
|
import { t as TaskTypes } from "./taskTypes-CDFRB7A4.js";
|
|
13
13
|
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-B9GOFyRX.js";
|
|
14
|
-
import { t as IndividualDropin } from "./IndividualDropin-
|
|
14
|
+
import { t as IndividualDropin } from "./IndividualDropin-B_zrYjEk.js";
|
|
15
15
|
import { jsx } from "preact/jsx-runtime";
|
|
16
16
|
import { skipToken } from "@tanstack/preact-query";
|
|
17
17
|
import { useParams } from "wouter-preact";
|
|
@@ -3,7 +3,7 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "49feeb75-cc51-4dd5-9379-4aec1de23eac", e._sentryDebugIdIdentifier = "sentry-dbid-49feeb75-cc51-4dd5-9379-4aec1de23eac");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { n as addResourceBundles, r as useTranslation } from "./translation-BHUZ_WP7.js";
|
|
6
|
-
import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-
|
|
6
|
+
import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-BdN6H_Jf.js";
|
|
7
7
|
import { r as Loader } from "./Button-BxfzWsRl.js";
|
|
8
8
|
import { r as useLegalEntity } from "./useLegalEntity-k2lxoMzW.js";
|
|
9
9
|
import { t as getLegalEntityCountry } from "./getLegalEntityCountry-C6bSV6sB.js";
|
|
@@ -3,7 +3,7 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "35c42e9a-98d8-405a-9f6d-af389d2955da", e._sentryDebugIdIdentifier = "sentry-dbid-35c42e9a-98d8-405a-9f6d-af389d2955da");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { n as addResourceBundles, r as useTranslation } from "./translation-BHUZ_WP7.js";
|
|
6
|
-
import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-
|
|
6
|
+
import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-BdN6H_Jf.js";
|
|
7
7
|
import { r as Loader } from "./Button-BxfzWsRl.js";
|
|
8
8
|
import { r as useLegalEntity } from "./useLegalEntity-k2lxoMzW.js";
|
|
9
9
|
import { t as getLegalEntityCountry } from "./getLegalEntityCountry-C6bSV6sB.js";
|
|
@@ -11,7 +11,7 @@ import { t as _rolldown_dynamic_import_helper_default } from "./_rolldown_dynami
|
|
|
11
11
|
import { C as EntityTypes } from "./processCapabilities-C3-DrzSD.js";
|
|
12
12
|
import { t as TaskTypes } from "./taskTypes-CDFRB7A4.js";
|
|
13
13
|
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-B9GOFyRX.js";
|
|
14
|
-
import { t as IndividualDropin } from "./IndividualDropin-
|
|
14
|
+
import { t as IndividualDropin } from "./IndividualDropin-B_zrYjEk.js";
|
|
15
15
|
import { t as emitAdyenSdkEvent } from "./emitEvent-B8K0cb1F.js";
|
|
16
16
|
import register from "preact-custom-element";
|
|
17
17
|
import { useRef } from "preact/hooks";
|
|
@@ -3,7 +3,7 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "c54439ab-699d-426d-ae0e-6ec9d005de71", e._sentryDebugIdIdentifier = "sentry-dbid-c54439ab-699d-426d-ae0e-6ec9d005de71");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { n as addResourceBundles, r as useTranslation } from "./translation-BHUZ_WP7.js";
|
|
6
|
-
import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-
|
|
6
|
+
import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-BdN6H_Jf.js";
|
|
7
7
|
import { s as useApiContext } from "./http-D5tz1jGD.js";
|
|
8
8
|
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-k2lxoMzW.js";
|
|
9
9
|
import { t as _rolldown_dynamic_import_helper_default } from "./_rolldown_dynamic_import_helper-C4ugHLZT.js";
|
|
@@ -2,8 +2,8 @@ try {
|
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "c00fcf27-21d6-4d5e-bd83-0f3a75896e2a", e._sentryDebugIdIdentifier = "sentry-dbid-c00fcf27-21d6-4d5e-bd83-0f3a75896e2a");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-
|
|
6
|
-
import { t as InvitedDecisionMakerComponent } from "./InvitedDecisionMakerComponent-
|
|
5
|
+
import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-BdN6H_Jf.js";
|
|
6
|
+
import { t as InvitedDecisionMakerComponent } from "./InvitedDecisionMakerComponent-Bgk8Zwz2.js";
|
|
7
7
|
import register from "preact-custom-element";
|
|
8
8
|
import { jsx } from "preact/jsx-runtime";
|
|
9
9
|
//#region src/embeds/invited-decision-maker/adyen-invited-decision-maker.tsx
|
package/dist/adyen-onboarding.js
CHANGED
|
@@ -3,7 +3,7 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "ee8f2334-00e3-42ba-8ca3-148cb0996ad1", e._sentryDebugIdIdentifier = "sentry-dbid-ee8f2334-00e3-42ba-8ca3-148cb0996ad1");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { a as Icon, i as Typography, n as addResourceBundles, o as createLogger, r as useTranslation } from "./translation-BHUZ_WP7.js";
|
|
6
|
-
import { i as stylesheets, n as EmbedShell, r as useToggles, t as resolveEnvironment } from "./resolveEnvironment-
|
|
6
|
+
import { i as stylesheets, n as EmbedShell, r as useToggles, t as resolveEnvironment } from "./resolveEnvironment-BdN6H_Jf.js";
|
|
7
7
|
import { n as IconButton, r as Loader, t as Button } from "./Button-BxfzWsRl.js";
|
|
8
8
|
import { n as httpGet, r as httpPost, s as useApiContext } from "./http-D5tz1jGD.js";
|
|
9
9
|
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-k2lxoMzW.js";
|
|
@@ -55,7 +55,7 @@ import { t as isNewEntity } from "./isNewEntity-BCb_oxKh.js";
|
|
|
55
55
|
import { a as idNowPostSubmit, n as isBafinSignatoryFlow, s as showIdNowModal } from "./bafinUtils-DJ5gJYKz.js";
|
|
56
56
|
import { t as useTrustMembers } from "./useTrustMembers-DYKQfH8R.js";
|
|
57
57
|
import { t as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-CtwHVLzp.js";
|
|
58
|
-
import { A as UnincorporatedPartnershipMembersOverview$1, C as TrustMemberCompanyPage$1, D as UnincorporatedPartnershipIndividualPage$1, E as TrustMembersOverview$1, M as getDefaultTask$1, O as UnincorporatedPartnershipMemberCompanyPage$1, S as TrustDetailsPage$1, T as TrustMemberRoleAndTypePage$1, _ as SignPCIComponent$1, a as BusinessTypeSelectionPage$1, b as SourceOfFundsPage$1, c as DecisionMakers$1, d as PayoutDetailsPage$1, f as ROUTE_PATHS, g as RootIndividualDetailsPage$1, h as RootBusinessLinesPage$1, i as BusinessFinancingPage$1, j as detectBasePath, k as UnincorporatedPartnershipMemberRoleAndTypePage$1, l as Introduction$1, m as RootBusinessDetailsPage$1, n as AcceptTermsOfService$1, o as CustomerSupport$1, p as Review$1, r as AccountSetupRejected$1, s as DecisionMakerDetailsPage$1, t as useNavigate, u as LegalRepresentativeDetailsPage$1, v as SingpassSelection$1, w as TrustMemberIndividualPage$1, x as TaxReportingDropin$1, y as SoleProprietorshipPage$1 } from "./useNavigate-
|
|
58
|
+
import { A as UnincorporatedPartnershipMembersOverview$1, C as TrustMemberCompanyPage$1, D as UnincorporatedPartnershipIndividualPage$1, E as TrustMembersOverview$1, M as getDefaultTask$1, O as UnincorporatedPartnershipMemberCompanyPage$1, S as TrustDetailsPage$1, T as TrustMemberRoleAndTypePage$1, _ as SignPCIComponent$1, a as BusinessTypeSelectionPage$1, b as SourceOfFundsPage$1, c as DecisionMakers$1, d as PayoutDetailsPage$1, f as ROUTE_PATHS, g as RootIndividualDetailsPage$1, h as RootBusinessLinesPage$1, i as BusinessFinancingPage$1, j as detectBasePath, k as UnincorporatedPartnershipMemberRoleAndTypePage$1, l as Introduction$1, m as RootBusinessDetailsPage$1, n as AcceptTermsOfService$1, o as CustomerSupport$1, p as Review$1, r as AccountSetupRejected$1, s as DecisionMakerDetailsPage$1, t as useNavigate, u as LegalRepresentativeDetailsPage$1, v as SingpassSelection$1, w as TrustMemberIndividualPage$1, x as TaxReportingDropin$1, y as SoleProprietorshipPage$1 } from "./useNavigate-BPyk1Kmt.js";
|
|
59
59
|
import register from "preact-custom-element";
|
|
60
60
|
import { Suspense, lazy } from "preact/compat";
|
|
61
61
|
import { useCallback as useCallback$1, useContext as useContext$1, useEffect as useEffect$1, useMemo as useMemo$1, useReducer, useRef as useRef$1, useState as useState$1 } from "preact/hooks";
|
|
@@ -1763,24 +1763,24 @@ var Review = lazy(async () => (await import("./Review-GGx4T5lx.js")).Review);
|
|
|
1763
1763
|
var SignPCIComponent = lazy(async () => (await import("./SignPCIComponent-CPjxKwUt.js").then((n) => n.n)).SignPCIComponent);
|
|
1764
1764
|
var AcceptTermsOfService = lazy(async () => (await import("./AcceptTermsOfServiceComponent-Bdb6OG0V.js").then((n) => n.n)).AcceptTermsOfServiceComponent);
|
|
1765
1765
|
var TaxReportingDropin = lazy(async () => (await import("./TaxReportingDropin-Xjf5BXjR.js").then((n) => n.n)).TaxReportingDropin);
|
|
1766
|
-
var PayoutDetailsPage = lazy(async () => (await import("./PayoutDetailsPage-
|
|
1766
|
+
var PayoutDetailsPage = lazy(async () => (await import("./PayoutDetailsPage-OmPUEUus.js")).PayoutDetailsPage);
|
|
1767
1767
|
var RootBusinessDetailsPage = lazy(async () => (await import("./RootBusinessDetailsPage-wB4sdeGV.js")).RootBusinessDetailsPage);
|
|
1768
1768
|
var RootBusinessLinesPage = lazy(async () => (await import("./RootBusinessLinesPage-B-zkaI6w.js")).RootBusinessLinesPage);
|
|
1769
1769
|
var SoleProprietorshipPage = lazy(async () => (await import("./SoleProprietorshipPage-C_cNHIqc.js")).SoleProprietorshipPage);
|
|
1770
1770
|
var TrustMemberCompanyPage = lazy(async () => (await import("./TrustMemberCompanyPage-DlMQRx0x.js")).TrustMemberCompanyPage);
|
|
1771
|
-
var TrustMemberIndividualPage = lazy(async () => (await import("./TrustMemberIndividualPage-
|
|
1771
|
+
var TrustMemberIndividualPage = lazy(async () => (await import("./TrustMemberIndividualPage-CfjzTBeq.js")).TrustMemberIndividualPage);
|
|
1772
1772
|
var TrustMemberRoleAndTypePage = lazy(async () => (await import("./TrustMemberRoleAndTypePage-LlBgvSwW.js")).TrustMemberRoleAndTypePage);
|
|
1773
1773
|
var TrustMembersOverview = lazy(async () => (await import("./TrustMembersOverview-BGzdiibd.js")).TrustMembersOverview);
|
|
1774
1774
|
var UnincorporatedPartnershipMemberCompanyPage = lazy(async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-UiOIbfiu.js")).UnincorporatedPartnershipMemberCompanyPage);
|
|
1775
|
-
var UnincorporatedPartnershipIndividualPage = lazy(async () => (await import("./UnincorporatedPartnershipIndividualPage-
|
|
1775
|
+
var UnincorporatedPartnershipIndividualPage = lazy(async () => (await import("./UnincorporatedPartnershipIndividualPage-BSdaNrYj.js")).UnincorporatedPartnershipIndividualPage);
|
|
1776
1776
|
var UnincorporatedPartnershipMemberRoleAndTypePage = lazy(async () => (await import("./UnincorporatedPartnershipMemberRoleAndTypePage-BbQB-s2g.js")).UnincorporatedPartnershipMemberRoleAndTypePage);
|
|
1777
1777
|
var UnincorporatedPartnershipMembersOverview = lazy(async () => (await import("./UnincorporatedPartnershipMembersOverview-B-djUG0K.js")).UnincorporatedPartnershipMembersOverview);
|
|
1778
1778
|
var BusinessFinancingPage = lazy(async () => (await import("./BusinessFinancingPage-DlDZmgJ8.js")).BusinessFinancingPage);
|
|
1779
1779
|
var TrustDetailsPage = lazy(async () => (await import("./TrustDetailsPage-DDxllsNB.js")).TrustDetailsPage);
|
|
1780
1780
|
var SourceOfFundsPage = lazy(async () => (await import("./SourceOfFundsPage-_sMwhidd.js").then((n) => n.n)).SourceOfFundsPage);
|
|
1781
|
-
var RootIndividualDetailsPage = lazy(async () => (await import("./RootIndividualDetailsPage-
|
|
1782
|
-
var LegalRepresentativeDetailsPage = lazy(async () => (await import("./LegalRepresentativeDetailsPage-
|
|
1783
|
-
var DecisionMakerDetailsPage = lazy(async () => (await import("./DecisionMakerDetailsPage-
|
|
1781
|
+
var RootIndividualDetailsPage = lazy(async () => (await import("./RootIndividualDetailsPage-DMBaBPnM.js")).RootIndividualDetailsPage);
|
|
1782
|
+
var LegalRepresentativeDetailsPage = lazy(async () => (await import("./LegalRepresentativeDetailsPage-BG4hmk6W.js")).LegalRepresentativeDetailsPage);
|
|
1783
|
+
var DecisionMakerDetailsPage = lazy(async () => (await import("./DecisionMakerDetailsPage-Cs3u-lSX.js")).DecisionMakerDetailsPage);
|
|
1784
1784
|
function isIn(values, x) {
|
|
1785
1785
|
return values.includes(x);
|
|
1786
1786
|
}
|
|
@@ -2,7 +2,7 @@ try {
|
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "29ba5771-76f7-4d6a-a86b-5c7cebed1d6a", e._sentryDebugIdIdentifier = "sentry-dbid-29ba5771-76f7-4d6a-a86b-5c7cebed1d6a");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-
|
|
5
|
+
import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-BdN6H_Jf.js";
|
|
6
6
|
import { t as emitAdyenSdkEvent } from "./emitEvent-B8K0cb1F.js";
|
|
7
7
|
import { t as AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-Bdb6OG0V.js";
|
|
8
8
|
import register from "preact-custom-element";
|
|
@@ -3,7 +3,7 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "9eb9b18f-08a7-43b9-90a8-5baa086132c9", e._sentryDebugIdIdentifier = "sentry-dbid-9eb9b18f-08a7-43b9-90a8-5baa086132c9");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { n as addResourceBundles, r as useTranslation } from "./translation-BHUZ_WP7.js";
|
|
6
|
-
import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-
|
|
6
|
+
import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-BdN6H_Jf.js";
|
|
7
7
|
import { s as useApiContext } from "./http-D5tz1jGD.js";
|
|
8
8
|
import { t as _rolldown_dynamic_import_helper_default } from "./_rolldown_dynamic_import_helper-C4ugHLZT.js";
|
|
9
9
|
import { n as useTermsOfServiceAcceptanceInfos, t as useTermsOfServiceStatus } from "./useTermsOfServiceStatus-C04Xyc0M.js";
|
|
@@ -3,7 +3,7 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "e16c0bff-4908-4f1d-951a-033197a39131", e._sentryDebugIdIdentifier = "sentry-dbid-e16c0bff-4908-4f1d-951a-033197a39131");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { n as addResourceBundles, r as useTranslation } from "./translation-BHUZ_WP7.js";
|
|
6
|
-
import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-
|
|
6
|
+
import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-BdN6H_Jf.js";
|
|
7
7
|
import { r as Loader } from "./Button-BxfzWsRl.js";
|
|
8
8
|
import { r as useLegalEntity } from "./useLegalEntity-k2lxoMzW.js";
|
|
9
9
|
import { t as _rolldown_dynamic_import_helper_default } from "./_rolldown_dynamic_import_helper-C4ugHLZT.js";
|
|
@@ -3,7 +3,7 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "b7647edc-1ae0-4963-b80e-0df77a8f362c", e._sentryDebugIdIdentifier = "sentry-dbid-b7647edc-1ae0-4963-b80e-0df77a8f362c");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { i as Typography, n as addResourceBundles, o as createLogger, r as useTranslation } from "./translation-BHUZ_WP7.js";
|
|
6
|
-
import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-
|
|
6
|
+
import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-BdN6H_Jf.js";
|
|
7
7
|
import { r as Loader, t as Button } from "./Button-BxfzWsRl.js";
|
|
8
8
|
import { n as httpGet, s as useApiContext } from "./http-D5tz1jGD.js";
|
|
9
9
|
import { c as entriesOf, n as cloneObject } from "./AnalyticsContext-CbM5V7Nw.js";
|
|
@@ -3,7 +3,7 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "ef0d7d7c-e62d-4ac2-a35d-d158376c8ca1", e._sentryDebugIdIdentifier = "sentry-dbid-ef0d7d7c-e62d-4ac2-a35d-d158376c8ca1");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { n as addResourceBundles, o as createLogger, r as useTranslation } from "./translation-BHUZ_WP7.js";
|
|
6
|
-
import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-
|
|
6
|
+
import { i as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-BdN6H_Jf.js";
|
|
7
7
|
import { r as Loader, t as Button } from "./Button-BxfzWsRl.js";
|
|
8
8
|
import { r as httpPost, s as useApiContext } from "./http-D5tz1jGD.js";
|
|
9
9
|
import { t as _rolldown_dynamic_import_helper_default } from "./_rolldown_dynamic_import_helper-C4ugHLZT.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "2e922533-3637-486f-8b78-fc966ee440fa", e._sentryDebugIdIdentifier = "sentry-dbid-2e922533-3637-486f-8b78-fc966ee440fa");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { n as addResourceBundles, o as createLogger, r as useTranslation, s as initReactI18next } from "./translation-BHUZ_WP7.js";
|
|
6
6
|
import { r as Loader, t as Button } from "./Button-BxfzWsRl.js";
|
|
@@ -302,7 +302,7 @@ var getAnalyticsAssociatedEntityDetails = (rootLegalEntity, accountHolderType) =
|
|
|
302
302
|
//#endregion
|
|
303
303
|
//#region src/hooks/useAnalytics/useAnalytics.ts
|
|
304
304
|
var useAnalytics = ({ userEvents, sessionId, sessionData }) => {
|
|
305
|
-
const sdkVersion = "4.13.0-beta.
|
|
305
|
+
const sdkVersion = "4.13.0-beta.5";
|
|
306
306
|
const { data: rootLegalEntity } = useLegalEntity(ROOT_LE);
|
|
307
307
|
const { mutateAsync } = usePushAnalyticEvent(sessionId ?? "");
|
|
308
308
|
const { accountHolder } = useAccountHolder();
|
|
@@ -397,7 +397,7 @@ var AnalyticsProvider = ({ componentName, children, rootLegalEntityId, locale })
|
|
|
397
397
|
const capabilities = rootLegalEntity?.capabilities && Object.keys(rootLegalEntity.capabilities);
|
|
398
398
|
const shouldTrackPrefilledDetails = capabilities?.includes("receivePayments") && onboardingVersion && onboardingVersion > 1;
|
|
399
399
|
const sessionData = {
|
|
400
|
-
sdkVersion: "4.13.0-beta.
|
|
400
|
+
sdkVersion: "4.13.0-beta.5",
|
|
401
401
|
componentName,
|
|
402
402
|
userAgent: navigator.userAgent,
|
|
403
403
|
legalEntityId: rootLegalEntityId,
|
|
@@ -853,7 +853,7 @@ var AllowedCountryGate = ({ children }) => {
|
|
|
853
853
|
};
|
|
854
854
|
//#endregion
|
|
855
855
|
//#region src/components/Shared/devex/DebugListener/DebugListener.tsx
|
|
856
|
-
var DebugModal = lazy(async () => (await import("./DebugModal-
|
|
856
|
+
var DebugModal = lazy(async () => (await import("./DebugModal-Ch9kv4ct.js")).DebugModal);
|
|
857
857
|
/**
|
|
858
858
|
* Adds a listener on the page to open the debug modal when the
|
|
859
859
|
* debug modal key combination is pressed to open it
|
|
@@ -951,7 +951,7 @@ var EmbedShell = ({ children, rootLegalEntityId, settings, features, refreshExpe
|
|
|
951
951
|
children: /* @__PURE__ */ jsxs(StoreProvider, { children: [/* @__PURE__ */ jsx("span", {
|
|
952
952
|
id: "sdk-version",
|
|
953
953
|
hidden: true,
|
|
954
|
-
children: "4.13.0-beta.
|
|
954
|
+
children: "4.13.0-beta.5"
|
|
955
955
|
}), /* @__PURE__ */ jsx(AnalyticsProvider, {
|
|
956
956
|
componentName,
|
|
957
957
|
locale,
|
package/dist/types/components/Individual/forms/IdVerificationMethod/IdVerificationMethod.types.d.ts
CHANGED
|
@@ -18,4 +18,5 @@ export interface IdVerificationMethodProps {
|
|
|
18
18
|
formVerificationErrors: BaseInnerFormProps<IdVerificationMethodSchema>['formVerificationErrors'];
|
|
19
19
|
fieldValidationErrors: BaseInnerFormProps<IdVerificationMethodSchema>['fieldValidationErrors'];
|
|
20
20
|
hasLiveSelfieErrorCode?: boolean;
|
|
21
|
+
isInvitedEntity?: boolean;
|
|
21
22
|
}
|
|
@@ -6,11 +6,12 @@ export declare const showIndividualMotionCapture: import("@preact/signals").Sign
|
|
|
6
6
|
export declare const setShowIndividualMotionCapture: (showMotionCapture?: boolean) => void;
|
|
7
7
|
export declare const hasMotionCaptureScenario: import("@preact/signals").Signal<boolean | undefined>;
|
|
8
8
|
export declare const setHasMotionCaptureScenario: (scenarios?: Scenario[]) => void;
|
|
9
|
-
export declare const shouldShowMotionCapture: ({ capabilities, userRoles, taskType, hasMotionScenario, isInvitedEntity, }: {
|
|
9
|
+
export declare const shouldShowMotionCapture: ({ capabilities, userRoles, taskType, hasMotionScenario, hasLiveSelfieError, isInvitedEntity, }: {
|
|
10
10
|
capabilities?: Partial<Record<CapabilityName, Capability>>;
|
|
11
11
|
userRoles?: DecisionMakerType[];
|
|
12
12
|
taskType?: TaskType;
|
|
13
13
|
hasMotionScenario?: boolean;
|
|
14
|
+
hasLiveSelfieError?: boolean;
|
|
14
15
|
isInvitedEntity?: boolean;
|
|
15
16
|
}) => boolean | undefined;
|
|
16
17
|
export declare const shouldShowMotionCaptureForInvitedEntity: ({ capabilities, userRoles, }: {
|
|
@@ -36,25 +36,25 @@ var Review = lazy(async () => (await import("./Review-GGx4T5lx.js")).Review);
|
|
|
36
36
|
var SignPCIComponent = lazy(async () => (await import("./SignPCIComponent-CPjxKwUt.js").then((n) => n.n)).SignPCIComponent);
|
|
37
37
|
var AcceptTermsOfService = lazy(async () => (await import("./AcceptTermsOfServiceComponent-Bdb6OG0V.js").then((n) => n.n)).AcceptTermsOfServiceComponent);
|
|
38
38
|
var TaxReportingDropin = lazy(async () => (await import("./TaxReportingDropin-Xjf5BXjR.js").then((n) => n.n)).TaxReportingDropin);
|
|
39
|
-
var PayoutDetailsPage = lazy(async () => (await import("./PayoutDetailsPage-
|
|
39
|
+
var PayoutDetailsPage = lazy(async () => (await import("./PayoutDetailsPage-OmPUEUus.js")).PayoutDetailsPage);
|
|
40
40
|
var RootBusinessDetailsPage = lazy(async () => (await import("./RootBusinessDetailsPage-wB4sdeGV.js")).RootBusinessDetailsPage);
|
|
41
41
|
var RootBusinessLinesPage = lazy(async () => (await import("./RootBusinessLinesPage-B-zkaI6w.js")).RootBusinessLinesPage);
|
|
42
42
|
var SoleProprietorshipPage = lazy(async () => (await import("./SoleProprietorshipPage-C_cNHIqc.js")).SoleProprietorshipPage);
|
|
43
43
|
var TrustMemberCompanyPage = lazy(async () => (await import("./TrustMemberCompanyPage-DlMQRx0x.js")).TrustMemberCompanyPage);
|
|
44
|
-
var TrustMemberIndividualPage = lazy(async () => (await import("./TrustMemberIndividualPage-
|
|
44
|
+
var TrustMemberIndividualPage = lazy(async () => (await import("./TrustMemberIndividualPage-CfjzTBeq.js")).TrustMemberIndividualPage);
|
|
45
45
|
var TrustMemberRoleAndTypePage = lazy(async () => (await import("./TrustMemberRoleAndTypePage-LlBgvSwW.js")).TrustMemberRoleAndTypePage);
|
|
46
46
|
var TrustMembersOverview = lazy(async () => (await import("./TrustMembersOverview-BGzdiibd.js")).TrustMembersOverview);
|
|
47
47
|
var UnincorporatedPartnershipMemberCompanyPage = lazy(async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-UiOIbfiu.js")).UnincorporatedPartnershipMemberCompanyPage);
|
|
48
|
-
var UnincorporatedPartnershipIndividualPage = lazy(async () => (await import("./UnincorporatedPartnershipIndividualPage-
|
|
48
|
+
var UnincorporatedPartnershipIndividualPage = lazy(async () => (await import("./UnincorporatedPartnershipIndividualPage-BSdaNrYj.js")).UnincorporatedPartnershipIndividualPage);
|
|
49
49
|
var UnincorporatedPartnershipMemberRoleAndTypePage = lazy(async () => (await import("./UnincorporatedPartnershipMemberRoleAndTypePage-BbQB-s2g.js")).UnincorporatedPartnershipMemberRoleAndTypePage);
|
|
50
50
|
var UnincorporatedPartnershipMembersOverview = lazy(async () => (await import("./UnincorporatedPartnershipMembersOverview-B-djUG0K.js")).UnincorporatedPartnershipMembersOverview);
|
|
51
51
|
var BusinessFinancingPage = lazy(async () => (await import("./BusinessFinancingPage-DlDZmgJ8.js")).BusinessFinancingPage);
|
|
52
52
|
var TrustDetailsPage = lazy(async () => (await import("./TrustDetailsPage-DDxllsNB.js")).TrustDetailsPage);
|
|
53
53
|
var SourceOfFundsPage = lazy(async () => (await import("./SourceOfFundsPage-_sMwhidd.js").then((n) => n.n)).SourceOfFundsPage);
|
|
54
|
-
var RootIndividualDetailsPage = lazy(async () => (await import("./RootIndividualDetailsPage-
|
|
55
|
-
var LegalRepresentativeDetailsPage = lazy(async () => (await import("./LegalRepresentativeDetailsPage-
|
|
56
|
-
var DecisionMakerDetailsPage = lazy(async () => (await import("./DecisionMakerDetailsPage-
|
|
57
|
-
lazy(async () => (await import("./InvitedDecisionMakerComponent-
|
|
54
|
+
var RootIndividualDetailsPage = lazy(async () => (await import("./RootIndividualDetailsPage-DMBaBPnM.js")).RootIndividualDetailsPage);
|
|
55
|
+
var LegalRepresentativeDetailsPage = lazy(async () => (await import("./LegalRepresentativeDetailsPage-BG4hmk6W.js")).LegalRepresentativeDetailsPage);
|
|
56
|
+
var DecisionMakerDetailsPage = lazy(async () => (await import("./DecisionMakerDetailsPage-Cs3u-lSX.js")).DecisionMakerDetailsPage);
|
|
57
|
+
lazy(async () => (await import("./InvitedDecisionMakerComponent-Bgk8Zwz2.js").then((n) => n.n)).InvitedDecisionMakerComponent);
|
|
58
58
|
var ROUTE_CONFIG = {
|
|
59
59
|
[TaskTypes.ADAPTIVE]: {
|
|
60
60
|
path: "/adaptive",
|