@adyen/kyc-components 4.11.0-beta.2 → 4.11.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{DebugModal-BrUK4cr9.js → DebugModal-DwC3T1o6.js} +2 -2
- package/dist/{DecisionMakerDetailsPage-DXuJcTyO.js → DecisionMakerDetailsPage-BOEhrBWw.js} +1 -1
- package/dist/{IndividualDropin-DUfwpdll.js → IndividualDropin-CU29RCnr.js} +27 -66
- package/dist/{InvitedDecisionMakerComponent-BFgluS7c.js → InvitedDecisionMakerComponent-BkGuebzp.js} +33 -2
- package/dist/{LegalRepresentativeDetailsPage-BjncPgdi.js → LegalRepresentativeDetailsPage-CgV7z0HM.js} +1 -1
- package/dist/{PayoutDetailsPage-4WmxFHgC.js → PayoutDetailsPage-BdLzLw6w.js} +1 -1
- package/dist/{RootIndividualDetailsPage-DVQKcU9G.js → RootIndividualDetailsPage-Q37qhmMG.js} +1 -1
- package/dist/{TrustMemberIndividualPage-PcAl7l9i.js → TrustMemberIndividualPage-CNKz26VG.js} +1 -1
- package/dist/{UnincorporatedPartnershipIndividualPage-Cb9OZzFX.js → UnincorporatedPartnershipIndividualPage-BzCGKu-C.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-c7izj-tX.js → resolveEnvironment-CnZSOslm.js} +5 -5
- package/dist/types/components/Individual/tasks/DecisionMakers/hooks/useTrackSubmitStatus.d.ts +2 -0
- package/dist/types/utils/useModalAction.d.ts +1 -0
- package/dist/{useNavigate-CUr_spw_.js → useNavigate-D8Pko1Es.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] = "5ca11f93-eed7-4968-920f-8d959fee37b3", e._sentryDebugIdIdentifier = "sentry-dbid-5ca11f93-eed7-4968-920f-8d959fee37b3");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { a as Icon, o as createLogger, r as useTranslation } from "./translation-prlgF4Yn.js";
|
|
6
6
|
import { t as Button } from "./Button-BzRYS0KT.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.11.0-beta.
|
|
352
|
+
sdkVersion: "4.11.0-beta.3",
|
|
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-AZHgY8qT.js";
|
|
17
17
|
import { t as useScenarios } from "./useScenarios-RhvLlxe7.js";
|
|
18
|
-
import { t as IndividualDropin } from "./IndividualDropin-
|
|
18
|
+
import { t as IndividualDropin } from "./IndividualDropin-CU29RCnr.js";
|
|
19
19
|
import { t as getTrustedDecisionMakers } from "./getTrustedDecisionMakers-DXR7mrNp.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] = "5113ae00-6dcd-4ad2-8d2b-8a6c2f4d1837", e._sentryDebugIdIdentifier = "sentry-dbid-5113ae00-6dcd-4ad2-8d2b-8a6c2f4d1837");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { i as Typography, o as createLogger, r as useTranslation, t as Trans } from "./translation-prlgF4Yn.js";
|
|
6
6
|
import { n as IconButton, r as Loader, t as Button } from "./Button-BzRYS0KT.js";
|
|
@@ -1077,6 +1077,19 @@ var areArraysDifferent = (a = [], b = []) => {
|
|
|
1077
1077
|
return sortedA.some((item, index) => item !== sortedB[index]);
|
|
1078
1078
|
};
|
|
1079
1079
|
//#endregion
|
|
1080
|
+
//#region src/utils/useModalAction.ts
|
|
1081
|
+
var useModalAction = () => {
|
|
1082
|
+
const userEvents = useAnalyticsContext();
|
|
1083
|
+
return useCallback$1((label, actionType, setModalState, callback) => {
|
|
1084
|
+
userEvents.addPageEvent(actionType === "open" ? "Opened modal" : actionType === "close" ? "Closed modal" : "Clicked button", {
|
|
1085
|
+
actionType,
|
|
1086
|
+
label
|
|
1087
|
+
});
|
|
1088
|
+
setModalState(actionType === "open");
|
|
1089
|
+
callback?.();
|
|
1090
|
+
}, [userEvents]);
|
|
1091
|
+
};
|
|
1092
|
+
//#endregion
|
|
1080
1093
|
//#region src/components/Individual/helpers/roleUtils.ts
|
|
1081
1094
|
var calculateRoles = (data) => {
|
|
1082
1095
|
return [
|
|
@@ -3364,25 +3377,13 @@ var SignatoryQuestionnaireModalContent = () => {
|
|
|
3364
3377
|
//#region src/components/Individual/forms/SignatoryQuestionnaire/SignatoryQuestionnaire.tsx
|
|
3365
3378
|
function SignatoryQuestionnaire(props) {
|
|
3366
3379
|
const { t } = useTranslation(["common", "individual"]);
|
|
3367
|
-
const
|
|
3380
|
+
const handleModalAction = useModalAction();
|
|
3368
3381
|
const [isModalOpen, setIsModalOpen] = useState$1(false);
|
|
3369
3382
|
const { data, errors, formVerificationErrors, heading, fieldValidationErrors, handleFieldChange } = props;
|
|
3370
3383
|
const formUtils = createFormUtils(props, t);
|
|
3371
3384
|
if (!handleFieldChange) return;
|
|
3372
|
-
const openModal = () =>
|
|
3373
|
-
|
|
3374
|
-
actionType: "open",
|
|
3375
|
-
label: "isSignatoryModal"
|
|
3376
|
-
});
|
|
3377
|
-
setIsModalOpen(true);
|
|
3378
|
-
};
|
|
3379
|
-
const closeModal = () => {
|
|
3380
|
-
userEvents.addPageEvent("Closed modal", {
|
|
3381
|
-
actionType: "close",
|
|
3382
|
-
label: "isSignatoryModal"
|
|
3383
|
-
});
|
|
3384
|
-
setIsModalOpen(false);
|
|
3385
|
-
};
|
|
3385
|
+
const openModal = () => handleModalAction("isSignatoryModal", "open", setIsModalOpen);
|
|
3386
|
+
const closeModal = () => handleModalAction("isSignatoryModal", "close", setIsModalOpen);
|
|
3386
3387
|
const errorMessage = formUtils.getErrorMessage("isSignatory", errors, fieldValidationErrors);
|
|
3387
3388
|
return /* @__PURE__ */ jsxs("form", {
|
|
3388
3389
|
"aria-describedby": "ariaErrorField",
|
|
@@ -3672,23 +3673,15 @@ var uboQuestionnaireFields = [
|
|
|
3672
3673
|
function UboQuestionnaire(props) {
|
|
3673
3674
|
const { t } = useTranslation(["common"]);
|
|
3674
3675
|
const { t: individualT } = useTranslation(["individual"]);
|
|
3675
|
-
const
|
|
3676
|
+
const handleModalAction = useModalAction();
|
|
3676
3677
|
const { data, description, errors, formVerificationErrors, heading, fieldValidationErrors, handleFieldChange, country } = props;
|
|
3677
3678
|
const formUtils = createFormUtils(props, t);
|
|
3678
3679
|
const [activeModal, setActiveModal] = useState$1(null);
|
|
3679
3680
|
const openModal = (modalType) => () => {
|
|
3680
|
-
|
|
3681
|
-
actionType: "open",
|
|
3682
|
-
label: `${modalType}Modal`
|
|
3683
|
-
});
|
|
3684
|
-
setActiveModal(modalType);
|
|
3681
|
+
handleModalAction(`${modalType}Modal`, "open", (isOpen) => setActiveModal(isOpen ? modalType : null));
|
|
3685
3682
|
};
|
|
3686
3683
|
const closeModal = () => {
|
|
3687
|
-
if (activeModal)
|
|
3688
|
-
actionType: "close",
|
|
3689
|
-
label: `${activeModal}Modal`
|
|
3690
|
-
});
|
|
3691
|
-
setActiveModal(null);
|
|
3684
|
+
if (activeModal) handleModalAction(`${activeModal}Modal`, "close", () => setActiveModal(null));
|
|
3692
3685
|
};
|
|
3693
3686
|
const { registerGuidanceQuestion } = useGuidanceQuestionnaire({
|
|
3694
3687
|
data,
|
|
@@ -3806,7 +3799,6 @@ var LIVE_SELFIE_ERROR_CODE = "2_8210";
|
|
|
3806
3799
|
function Individual(props) {
|
|
3807
3800
|
const { t: commonT } = useTranslation("common");
|
|
3808
3801
|
const { t: individualT } = useTranslation("individual");
|
|
3809
|
-
const userEvents = useAnalyticsContext();
|
|
3810
3802
|
const { form: { errors, valid, fieldProblems: fieldValidationErrors, handleChangeFor, setFormData } } = useFormContext();
|
|
3811
3803
|
const { goToFormByFormId } = useFormRouterContext();
|
|
3812
3804
|
const [isDecisionMakerNotRequiredModalOpen, setIsDecisionMakerNotRequiredModalOpen] = useState$1(false);
|
|
@@ -3820,17 +3812,13 @@ function Individual(props) {
|
|
|
3820
3812
|
const proofOfNationalIdFormProps = getFormProps(props, proofOfNationalIdFormID);
|
|
3821
3813
|
const proofOfRelationshipFormProps = getFormProps(props, proofOfRelationshipFormID);
|
|
3822
3814
|
const countryOfResidence = data?.additionalPersonalDetails?.country ?? defaultCountry;
|
|
3815
|
+
const handleModalAction = useModalAction();
|
|
3823
3816
|
const handleNextForPersonNotRequired = () => {
|
|
3824
3817
|
if (!data?.signatoryQuestionnaire && !data?.uboQuestionnaire) return;
|
|
3825
3818
|
const { signatoryQuestionnaire, uboQuestionnaire } = data;
|
|
3826
3819
|
const isDirectorApplicable = uboQuestionnaireFormProps?.requiredFields?.includes("isDirector");
|
|
3827
|
-
if (signatoryQuestionnaire && uboQuestionnaire && signatoryQuestionnaire?.isSignatory === GuidanceQuestionValues.NO && uboQuestionnaire?.isOwner === GuidanceQuestionValues.NO && uboQuestionnaire?.isControllingPerson === GuidanceQuestionValues.NO && (!isDirectorApplicable || uboQuestionnaire?.isDirector === GuidanceQuestionValues.NO))
|
|
3828
|
-
|
|
3829
|
-
actionType: "open",
|
|
3830
|
-
label: "personalInfoNotNeeded"
|
|
3831
|
-
});
|
|
3832
|
-
setIsDecisionMakerNotRequiredModalOpen(true);
|
|
3833
|
-
} else onNext?.();
|
|
3820
|
+
if (signatoryQuestionnaire && uboQuestionnaire && signatoryQuestionnaire?.isSignatory === GuidanceQuestionValues.NO && uboQuestionnaire?.isOwner === GuidanceQuestionValues.NO && uboQuestionnaire?.isControllingPerson === GuidanceQuestionValues.NO && (!isDirectorApplicable || uboQuestionnaire?.isDirector === GuidanceQuestionValues.NO)) handleModalAction("personalInfoNotNeeded", "open", setIsDecisionMakerNotRequiredModalOpen);
|
|
3821
|
+
else onNext?.();
|
|
3834
3822
|
};
|
|
3835
3823
|
const { firstName, lastName } = data?.basicDetails ?? {};
|
|
3836
3824
|
const enteredFullName = useMemo$1(() => {
|
|
@@ -3867,37 +3855,10 @@ function Individual(props) {
|
|
|
3867
3855
|
setNextHandler,
|
|
3868
3856
|
data
|
|
3869
3857
|
]);
|
|
3870
|
-
const handleCloseModalAndGoBack = () =>
|
|
3871
|
-
|
|
3872
|
-
|
|
3873
|
-
|
|
3874
|
-
});
|
|
3875
|
-
setIsDecisionMakerNotRequiredModalOpen(false);
|
|
3876
|
-
handleHomeClick?.();
|
|
3877
|
-
};
|
|
3878
|
-
const handleCloseModalAndChangeAnswers = () => {
|
|
3879
|
-
userEvents.addPageEvent("Clicked button", {
|
|
3880
|
-
actionType: "cancel",
|
|
3881
|
-
label: `personalInfoNotNeeded`
|
|
3882
|
-
});
|
|
3883
|
-
setIsDecisionMakerNotRequiredModalOpen(false);
|
|
3884
|
-
};
|
|
3885
|
-
const handleCloseModalAndGoToOverview = () => {
|
|
3886
|
-
userEvents.addPageEvent("Closed modal", {
|
|
3887
|
-
actionType: "close",
|
|
3888
|
-
label: "thisPersonAlreadyExists"
|
|
3889
|
-
});
|
|
3890
|
-
setIsDuplicateNameModalOpen(false);
|
|
3891
|
-
handleHomeClick?.();
|
|
3892
|
-
};
|
|
3893
|
-
const handleCloseModalAndContinue = () => {
|
|
3894
|
-
userEvents.addPageEvent("Clicked button", {
|
|
3895
|
-
actionType: "cancel",
|
|
3896
|
-
label: `thisPersonAlreadyExists`
|
|
3897
|
-
});
|
|
3898
|
-
setIsDuplicateNameModalOpen(false);
|
|
3899
|
-
onNext?.();
|
|
3900
|
-
};
|
|
3858
|
+
const handleCloseModalAndGoBack = useCallback$1(() => handleModalAction("personalInfoNotNeeded", "close", setIsDecisionMakerNotRequiredModalOpen, handleHomeClick), [handleModalAction, handleHomeClick]);
|
|
3859
|
+
const handleCloseModalAndChangeAnswers = useCallback$1(() => handleModalAction("personalInfoNotNeeded", "cancel", setIsDecisionMakerNotRequiredModalOpen), [handleModalAction]);
|
|
3860
|
+
const handleCloseModalAndGoToOverview = useCallback$1(() => handleModalAction("thisPersonAlreadyExists", "close", setIsDuplicateNameModalOpen, handleHomeClick), [handleModalAction, handleHomeClick]);
|
|
3861
|
+
const handleCloseModalAndContinue = useCallback$1(() => handleModalAction("thisPersonAlreadyExists", "cancel", setIsDuplicateNameModalOpen, onNext), [handleModalAction, onNext]);
|
|
3901
3862
|
const handleContinueToAdditionalDetails = () => {
|
|
3902
3863
|
goToFormByFormId(additionalPersonalDetailsFormID);
|
|
3903
3864
|
};
|
package/dist/{InvitedDecisionMakerComponent-BFgluS7c.js → InvitedDecisionMakerComponent-BkGuebzp.js}
RENAMED
|
@@ -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] = "168a0f16-1dc9-425b-aa01-c1d65c2b9d04", e._sentryDebugIdIdentifier = "sentry-dbid-168a0f16-1dc9-425b-aa01-c1d65c2b9d04");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { c as __exportAll, i as Typography, n as addResourceBundles, r as useTranslation } from "./translation-prlgF4Yn.js";
|
|
6
6
|
import { r as Loader, t as Button } from "./Button-BzRYS0KT.js";
|
|
@@ -13,9 +13,10 @@ import { t as StackLayout } from "./StackLayout-D0Kqs-Ti.js";
|
|
|
13
13
|
import { t as TaskVerificationStatus } from "./TaskVerificationStatus-Dyvkk7U1.js";
|
|
14
14
|
import { i as TaskStatuses, n as TASK_STATUS_POLLING_INTERVAL_MS } from "./taskStatus-CvMqhrOK.js";
|
|
15
15
|
import { t as TaskTypes } from "./taskTypes-DWaxzvnQ.js";
|
|
16
|
+
import { t as useAnalyticsContext } from "./useAnalyticsContext-D6DJZmqu.js";
|
|
16
17
|
import { t as Image } from "./Image-Br4Dbqbg.js";
|
|
17
18
|
import { t as getIndividualLegalEntityName } from "./getName-ODLD6UPV.js";
|
|
18
|
-
import { t as IndividualDropin } from "./IndividualDropin-
|
|
19
|
+
import { t as IndividualDropin } from "./IndividualDropin-CU29RCnr.js";
|
|
19
20
|
import { t as List } from "./List-DLrcpMVd.js";
|
|
20
21
|
import { t as LandingLayout } from "./LandingLayout-CKVrtOQ_.js";
|
|
21
22
|
import { t as useTaskStatus } from "./useTaskStatus-BOkQTeZs.js";
|
|
@@ -94,6 +95,13 @@ var decisionMakerGroup$1 = lazy(() => import("./decision-makers-group-CkP3dlRO.j
|
|
|
94
95
|
var InvitedDecisionMakerGettingStarted = ({ addDecisionMakerOnClick }) => {
|
|
95
96
|
const { t } = useTranslation("individual");
|
|
96
97
|
const { t: commonT } = useTranslation("common");
|
|
98
|
+
const userEvents = useAnalyticsContext();
|
|
99
|
+
useEffect$1(() => {
|
|
100
|
+
userEvents.addPageEvent("Landed on page", {
|
|
101
|
+
actionType: "navigate",
|
|
102
|
+
label: "invitedDecisionMakerGettingStarted"
|
|
103
|
+
});
|
|
104
|
+
}, [userEvents]);
|
|
97
105
|
return /* @__PURE__ */ jsx("div", {
|
|
98
106
|
className: InvitedDecisionMaker_module_default.invitedDecisionMakersContainer,
|
|
99
107
|
children: /* @__PURE__ */ jsx(LandingLayout, {
|
|
@@ -152,12 +160,35 @@ var useTaskStatusWithTimeout = (taskType, timeoutMs = 16e3) => {
|
|
|
152
160
|
};
|
|
153
161
|
};
|
|
154
162
|
//#endregion
|
|
163
|
+
//#region src/components/Individual/tasks/DecisionMakers/hooks/useTrackSubmitStatus.ts
|
|
164
|
+
var statusToLabelMap = {
|
|
165
|
+
[TaskStatuses.PROCESSING]: "invitedDecisionMakerSubmitProcessing",
|
|
166
|
+
[TaskStatuses.FINISHED]: "invitedDecisionMakerSubmitSuccess",
|
|
167
|
+
[TaskStatuses.ERROR]: "invitedDecisionMakerSubmitError",
|
|
168
|
+
[TaskStatuses.DETAILS_REQUIRED]: "invitedDecisionMakerSubmitDetailsRequired"
|
|
169
|
+
};
|
|
170
|
+
var useTrackSubmitStatus = (isLoading, submitStatus) => {
|
|
171
|
+
const userEvents = useAnalyticsContext();
|
|
172
|
+
useEffect$1(() => {
|
|
173
|
+
const label = isLoading ? "invitedDecisionMakerSubmitProcessing" : submitStatus ? statusToLabelMap[submitStatus] : void 0;
|
|
174
|
+
if (label) userEvents.addPageEvent("Landed on page", {
|
|
175
|
+
actionType: "navigate",
|
|
176
|
+
label
|
|
177
|
+
});
|
|
178
|
+
}, [
|
|
179
|
+
isLoading,
|
|
180
|
+
submitStatus,
|
|
181
|
+
userEvents
|
|
182
|
+
]);
|
|
183
|
+
};
|
|
184
|
+
//#endregion
|
|
155
185
|
//#region src/components/Individual/tasks/DecisionMakers/InvitedDecisionMaker/InvitedDecisionMakerSubmitSuccess/InvitedDecisionMakerSubmitSuccess.tsx
|
|
156
186
|
var decisionMakerGroup = lazy(() => import("./decision-makers-group-CkP3dlRO.js"));
|
|
157
187
|
var InvitedDecisionMakerSubmitSuccess = ({ decisionMaker, handleEdit = noop, isInvitedEntity }) => {
|
|
158
188
|
const { t } = useTranslation("individual");
|
|
159
189
|
const [showDecisionMakerModal, setShowDecisionMakerModal] = useState$1(false);
|
|
160
190
|
const { submitStatus, decisionMakerStatus, isLoading, isErrorOrDetailsRequired } = useTaskStatusWithTimeout("INVITED_INDIVIDUAL");
|
|
191
|
+
useTrackSubmitStatus(isLoading, submitStatus);
|
|
161
192
|
const landingLayoutProps = useMemo$1(() => getLandingLayoutProps(submitStatus, isErrorOrDetailsRequired, t), [
|
|
162
193
|
submitStatus,
|
|
163
194
|
isErrorOrDetailsRequired,
|
|
@@ -11,7 +11,7 @@ import { t as _rolldown_dynamic_import_helper_default } from "./_rolldown_dynami
|
|
|
11
11
|
import { C as EntityTypes } from "./processCapabilities-CDSEJpB8.js";
|
|
12
12
|
import { t as TaskTypes } from "./taskTypes-DWaxzvnQ.js";
|
|
13
13
|
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-3AC8yPPw.js";
|
|
14
|
-
import { t as IndividualDropin } from "./IndividualDropin-
|
|
14
|
+
import { t as IndividualDropin } from "./IndividualDropin-CU29RCnr.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-13ebemMv.js"
|
|
|
8
8
|
import { t as _rolldown_dynamic_import_helper_default } from "./_rolldown_dynamic_import_helper-CCXvMgfE.js";
|
|
9
9
|
import { C as EntityTypes } from "./processCapabilities-CDSEJpB8.js";
|
|
10
10
|
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-3AC8yPPw.js";
|
|
11
|
-
import { t as useNavigate } from "./useNavigate-
|
|
11
|
+
import { t as useNavigate } from "./useNavigate-D8Pko1Es.js";
|
|
12
12
|
import { t as PayoutDetailsDropinMultiForm } from "./PayoutDetailsDropinMultiForm-CMZVWNNY.js";
|
|
13
13
|
import { jsx } from "preact/jsx-runtime";
|
|
14
14
|
import { useParams } from "wouter-preact";
|
package/dist/{RootIndividualDetailsPage-DVQKcU9G.js → RootIndividualDetailsPage-Q37qhmMG.js}
RENAMED
|
@@ -15,7 +15,7 @@ import { o as isPartOfTrustFromLegalEntity } from "./trustUtil-CVipffas.js";
|
|
|
15
15
|
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-3AC8yPPw.js";
|
|
16
16
|
import { t as filterProblemsByTaskForms } from "./filterProblemsByTaskForms-DGjmBtpp.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-CU29RCnr.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-PcAl7l9i.js → TrustMemberIndividualPage-CNKz26VG.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-CDSEJpB8.js";
|
|
12
12
|
import { t as TaskTypes } from "./taskTypes-DWaxzvnQ.js";
|
|
13
13
|
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-3AC8yPPw.js";
|
|
14
|
-
import { t as IndividualDropin } from "./IndividualDropin-
|
|
14
|
+
import { t as IndividualDropin } from "./IndividualDropin-CU29RCnr.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-CDSEJpB8.js";
|
|
12
12
|
import { t as TaskTypes } from "./taskTypes-DWaxzvnQ.js";
|
|
13
13
|
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-3AC8yPPw.js";
|
|
14
|
-
import { t as IndividualDropin } from "./IndividualDropin-
|
|
14
|
+
import { t as IndividualDropin } from "./IndividualDropin-CU29RCnr.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] = "cabecea2-879d-4058-93c1-b04a7689233d", e._sentryDebugIdIdentifier = "sentry-dbid-cabecea2-879d-4058-93c1-b04a7689233d");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { n as addResourceBundles, r as useTranslation } from "./translation-prlgF4Yn.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-CnZSOslm.js";
|
|
7
7
|
import { r as Loader } from "./Button-BzRYS0KT.js";
|
|
8
8
|
import { r as useLegalEntity } from "./useLegalEntity-13ebemMv.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] = "0e96b397-ca72-469e-9247-e8d98623ce7d", e._sentryDebugIdIdentifier = "sentry-dbid-0e96b397-ca72-469e-9247-e8d98623ce7d");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { n as addResourceBundles, r as useTranslation } from "./translation-prlgF4Yn.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-CnZSOslm.js";
|
|
7
7
|
import { r as Loader } from "./Button-BzRYS0KT.js";
|
|
8
8
|
import { r as useLegalEntity } from "./useLegalEntity-13ebemMv.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-CDSEJpB8.js";
|
|
12
12
|
import { t as TaskTypes } from "./taskTypes-DWaxzvnQ.js";
|
|
13
13
|
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-3AC8yPPw.js";
|
|
14
|
-
import { t as IndividualDropin } from "./IndividualDropin-
|
|
14
|
+
import { t as IndividualDropin } from "./IndividualDropin-CU29RCnr.js";
|
|
15
15
|
import { t as emitAdyenSdkEvent } from "./emitEvent-DYC1em5m.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] = "ab678c84-1fed-4592-a973-d0196678874c", e._sentryDebugIdIdentifier = "sentry-dbid-ab678c84-1fed-4592-a973-d0196678874c");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { n as addResourceBundles, r as useTranslation } from "./translation-prlgF4Yn.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-CnZSOslm.js";
|
|
7
7
|
import { s as useApiContext } from "./http-Be_3lReE.js";
|
|
8
8
|
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-13ebemMv.js";
|
|
9
9
|
import { t as _rolldown_dynamic_import_helper_default } from "./_rolldown_dynamic_import_helper-CCXvMgfE.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] = "61b97791-bbcf-405f-86ee-17eabb41635d", e._sentryDebugIdIdentifier = "sentry-dbid-61b97791-bbcf-405f-86ee-17eabb41635d");
|
|
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-CnZSOslm.js";
|
|
6
|
+
import { t as InvitedDecisionMakerComponent } from "./InvitedDecisionMakerComponent-BkGuebzp.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] = "c022dab7-373a-495a-8e21-e8a097783bc8", e._sentryDebugIdIdentifier = "sentry-dbid-c022dab7-373a-495a-8e21-e8a097783bc8");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { a as Icon, i as Typography, n as addResourceBundles, o as createLogger, r as useTranslation } from "./translation-prlgF4Yn.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-CnZSOslm.js";
|
|
7
7
|
import { n as IconButton, r as Loader, t as Button } from "./Button-BzRYS0KT.js";
|
|
8
8
|
import { n as httpGet, r as httpPost, s as useApiContext } from "./http-Be_3lReE.js";
|
|
9
9
|
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-13ebemMv.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-AZHgY8qT.js";
|
|
56
56
|
import { t as useTrustMembers } from "./useTrustMembers-SErvsuYk.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-D8Pko1Es.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";
|
|
@@ -1777,24 +1777,24 @@ var Review = lazy(async () => (await import("./Review-BNPsjNzt.js")).Review);
|
|
|
1777
1777
|
var SignPCIComponent = lazy(async () => (await import("./SignPCIComponent-_YXhGwdp.js").then((n) => n.n)).SignPCIComponent);
|
|
1778
1778
|
var AcceptTermsOfService = lazy(async () => (await import("./AcceptTermsOfServiceComponent-DlYUfwQW.js").then((n) => n.n)).AcceptTermsOfServiceComponent);
|
|
1779
1779
|
var TaxReportingDropin = lazy(async () => (await import("./TaxReportingDropin-DQMZ3hkG.js").then((n) => n.n)).TaxReportingDropin);
|
|
1780
|
-
var PayoutDetailsPage = lazy(async () => (await import("./PayoutDetailsPage-
|
|
1780
|
+
var PayoutDetailsPage = lazy(async () => (await import("./PayoutDetailsPage-BdLzLw6w.js")).PayoutDetailsPage);
|
|
1781
1781
|
var RootBusinessDetailsPage = lazy(async () => (await import("./RootBusinessDetailsPage-D_esFfyx.js")).RootBusinessDetailsPage);
|
|
1782
1782
|
var RootBusinessLinesPage = lazy(async () => (await import("./RootBusinessLinesPage-Cr_ZVZX9.js")).RootBusinessLinesPage);
|
|
1783
1783
|
var SoleProprietorshipPage = lazy(async () => (await import("./SoleProprietorshipPage-DdTUstWy.js")).SoleProprietorshipPage);
|
|
1784
1784
|
var TrustMemberCompanyPage = lazy(async () => (await import("./TrustMemberCompanyPage-AehOGXBW.js")).TrustMemberCompanyPage);
|
|
1785
|
-
var TrustMemberIndividualPage = lazy(async () => (await import("./TrustMemberIndividualPage-
|
|
1785
|
+
var TrustMemberIndividualPage = lazy(async () => (await import("./TrustMemberIndividualPage-CNKz26VG.js")).TrustMemberIndividualPage);
|
|
1786
1786
|
var TrustMemberRoleAndTypePage = lazy(async () => (await import("./TrustMemberRoleAndTypePage-CDQ_h9oo.js")).TrustMemberRoleAndTypePage);
|
|
1787
1787
|
var TrustMembersOverview = lazy(async () => (await import("./TrustMembersOverview-CR70KcrN.js")).TrustMembersOverview);
|
|
1788
1788
|
var UnincorporatedPartnershipMemberCompanyPage = lazy(async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-B1aXINOK.js")).UnincorporatedPartnershipMemberCompanyPage);
|
|
1789
|
-
var UnincorporatedPartnershipIndividualPage = lazy(async () => (await import("./UnincorporatedPartnershipIndividualPage-
|
|
1789
|
+
var UnincorporatedPartnershipIndividualPage = lazy(async () => (await import("./UnincorporatedPartnershipIndividualPage-BzCGKu-C.js")).UnincorporatedPartnershipIndividualPage);
|
|
1790
1790
|
var UnincorporatedPartnershipMemberRoleAndTypePage = lazy(async () => (await import("./UnincorporatedPartnershipMemberRoleAndTypePage-B--8lFCG.js")).UnincorporatedPartnershipMemberRoleAndTypePage);
|
|
1791
1791
|
var UnincorporatedPartnershipMembersOverview = lazy(async () => (await import("./UnincorporatedPartnershipMembersOverview-DwHEziJ_.js")).UnincorporatedPartnershipMembersOverview);
|
|
1792
1792
|
var BusinessFinancingPage = lazy(async () => (await import("./BusinessFinancingPage-CUQbafQQ.js")).BusinessFinancingPage);
|
|
1793
1793
|
var TrustDetailsPage = lazy(async () => (await import("./TrustDetailsPage-CoqJLM9Z.js")).TrustDetailsPage);
|
|
1794
1794
|
var SourceOfFundsPage = lazy(async () => (await import("./SourceOfFundsPage-gO8sy65P.js")).SourceOfFundsPage);
|
|
1795
|
-
var RootIndividualDetailsPage = lazy(async () => (await import("./RootIndividualDetailsPage-
|
|
1796
|
-
var LegalRepresentativeDetailsPage = lazy(async () => (await import("./LegalRepresentativeDetailsPage-
|
|
1797
|
-
var DecisionMakerDetailsPage = lazy(async () => (await import("./DecisionMakerDetailsPage-
|
|
1795
|
+
var RootIndividualDetailsPage = lazy(async () => (await import("./RootIndividualDetailsPage-Q37qhmMG.js")).RootIndividualDetailsPage);
|
|
1796
|
+
var LegalRepresentativeDetailsPage = lazy(async () => (await import("./LegalRepresentativeDetailsPage-CgV7z0HM.js")).LegalRepresentativeDetailsPage);
|
|
1797
|
+
var DecisionMakerDetailsPage = lazy(async () => (await import("./DecisionMakerDetailsPage-BOEhrBWw.js")).DecisionMakerDetailsPage);
|
|
1798
1798
|
function isIn(values, x) {
|
|
1799
1799
|
return values.includes(x);
|
|
1800
1800
|
}
|
|
@@ -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] = "d4c08306-7834-42f4-bdd0-a782405cd93b", e._sentryDebugIdIdentifier = "sentry-dbid-d4c08306-7834-42f4-bdd0-a782405cd93b");
|
|
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-CnZSOslm.js";
|
|
6
6
|
import { t as emitAdyenSdkEvent } from "./emitEvent-DYC1em5m.js";
|
|
7
7
|
import { t as AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-DlYUfwQW.js";
|
|
8
8
|
import register from "preact-custom-element";
|
|
@@ -3,7 +3,7 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "c5e6eafd-24ea-413a-842a-0deed5b14b28", e._sentryDebugIdIdentifier = "sentry-dbid-c5e6eafd-24ea-413a-842a-0deed5b14b28");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { n as addResourceBundles, r as useTranslation } from "./translation-prlgF4Yn.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-CnZSOslm.js";
|
|
7
7
|
import { s as useApiContext } from "./http-Be_3lReE.js";
|
|
8
8
|
import { t as _rolldown_dynamic_import_helper_default } from "./_rolldown_dynamic_import_helper-CCXvMgfE.js";
|
|
9
9
|
import { n as useTermsOfServiceAcceptanceInfos, t as useTermsOfServiceStatus } from "./useTermsOfServiceStatus-BuExtoZt.js";
|
|
@@ -3,7 +3,7 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "9300e8d8-f87f-4d34-b11e-f92b0ef56436", e._sentryDebugIdIdentifier = "sentry-dbid-9300e8d8-f87f-4d34-b11e-f92b0ef56436");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { n as addResourceBundles, r as useTranslation } from "./translation-prlgF4Yn.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-CnZSOslm.js";
|
|
7
7
|
import { r as Loader } from "./Button-BzRYS0KT.js";
|
|
8
8
|
import { r as useLegalEntity } from "./useLegalEntity-13ebemMv.js";
|
|
9
9
|
import { t as _rolldown_dynamic_import_helper_default } from "./_rolldown_dynamic_import_helper-CCXvMgfE.js";
|
|
@@ -3,7 +3,7 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "7d18d54e-6243-4fad-9caa-ce9cb6d28e49", e._sentryDebugIdIdentifier = "sentry-dbid-7d18d54e-6243-4fad-9caa-ce9cb6d28e49");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { i as Typography, n as addResourceBundles, o as createLogger, r as useTranslation } from "./translation-prlgF4Yn.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-CnZSOslm.js";
|
|
7
7
|
import { r as Loader, t as Button } from "./Button-BzRYS0KT.js";
|
|
8
8
|
import { n as httpGet, s as useApiContext } from "./http-Be_3lReE.js";
|
|
9
9
|
import { c as entriesOf, n as cloneObject } from "./AnalyticsContext-C0HNdPss.js";
|
|
@@ -3,7 +3,7 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "50a49ba7-e0aa-428f-8027-35abd1da6332", e._sentryDebugIdIdentifier = "sentry-dbid-50a49ba7-e0aa-428f-8027-35abd1da6332");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { n as addResourceBundles, o as createLogger, r as useTranslation } from "./translation-prlgF4Yn.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-CnZSOslm.js";
|
|
7
7
|
import { r as Loader, t as Button } from "./Button-BzRYS0KT.js";
|
|
8
8
|
import { r as httpPost, s as useApiContext } from "./http-Be_3lReE.js";
|
|
9
9
|
import { t as _rolldown_dynamic_import_helper_default } from "./_rolldown_dynamic_import_helper-CCXvMgfE.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] = "c97ca09f-c07b-496f-a49d-43864ec9e16f", e._sentryDebugIdIdentifier = "sentry-dbid-c97ca09f-c07b-496f-a49d-43864ec9e16f");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { n as addResourceBundles, o as createLogger, r as useTranslation, s as initReactI18next } from "./translation-prlgF4Yn.js";
|
|
6
6
|
import { r as Loader, t as Button } from "./Button-BzRYS0KT.js";
|
|
@@ -301,7 +301,7 @@ var getAnalyticsAssociatedEntityDetails = (rootLegalEntity, accountHolderType) =
|
|
|
301
301
|
//#endregion
|
|
302
302
|
//#region src/hooks/useAnalytics/useAnalytics.ts
|
|
303
303
|
var useAnalytics = ({ userEvents, sessionId, sessionData }) => {
|
|
304
|
-
const sdkVersion = "4.11.0-beta.
|
|
304
|
+
const sdkVersion = "4.11.0-beta.3";
|
|
305
305
|
const { data: rootLegalEntity } = useLegalEntity(ROOT_LE);
|
|
306
306
|
const { mutateAsync } = usePushAnalyticEvent(sessionId ?? "");
|
|
307
307
|
const { accountHolder } = useAccountHolder();
|
|
@@ -396,7 +396,7 @@ var AnalyticsProvider = ({ componentName, children, rootLegalEntityId, locale })
|
|
|
396
396
|
const capabilities = rootLegalEntity?.capabilities && Object.keys(rootLegalEntity.capabilities);
|
|
397
397
|
const shouldTrackPrefilledDetails = capabilities?.includes("receivePayments") && onboardingVersion && onboardingVersion > 1;
|
|
398
398
|
const sessionData = {
|
|
399
|
-
sdkVersion: "4.11.0-beta.
|
|
399
|
+
sdkVersion: "4.11.0-beta.3",
|
|
400
400
|
componentName,
|
|
401
401
|
userAgent: navigator.userAgent,
|
|
402
402
|
legalEntityId: rootLegalEntityId,
|
|
@@ -851,7 +851,7 @@ var AllowedCountryGate = ({ children }) => {
|
|
|
851
851
|
};
|
|
852
852
|
//#endregion
|
|
853
853
|
//#region src/components/Shared/devex/DebugListener/DebugListener.tsx
|
|
854
|
-
var DebugModal = lazy(async () => (await import("./DebugModal-
|
|
854
|
+
var DebugModal = lazy(async () => (await import("./DebugModal-DwC3T1o6.js")).DebugModal);
|
|
855
855
|
/**
|
|
856
856
|
* Adds a listener on the page to open the debug modal when the
|
|
857
857
|
* debug modal key combination is pressed to open it
|
|
@@ -949,7 +949,7 @@ var EmbedShell = ({ children, rootLegalEntityId, settings, features, refreshExpe
|
|
|
949
949
|
children: /* @__PURE__ */ jsxs(StoreProvider, { children: [/* @__PURE__ */ jsx("span", {
|
|
950
950
|
id: "sdk-version",
|
|
951
951
|
hidden: true,
|
|
952
|
-
children: "4.11.0-beta.
|
|
952
|
+
children: "4.11.0-beta.3"
|
|
953
953
|
}), /* @__PURE__ */ jsx(AnalyticsProvider, {
|
|
954
954
|
componentName,
|
|
955
955
|
locale,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useModalAction: () => (label: string, actionType: "open" | "close" | "cancel", setModalState: (isOpen: boolean) => void, callback?: () => void) => void;
|
|
@@ -36,25 +36,25 @@ var Review = lazy(async () => (await import("./Review-BNPsjNzt.js")).Review);
|
|
|
36
36
|
var SignPCIComponent = lazy(async () => (await import("./SignPCIComponent-_YXhGwdp.js").then((n) => n.n)).SignPCIComponent);
|
|
37
37
|
var AcceptTermsOfService = lazy(async () => (await import("./AcceptTermsOfServiceComponent-DlYUfwQW.js").then((n) => n.n)).AcceptTermsOfServiceComponent);
|
|
38
38
|
var TaxReportingDropin = lazy(async () => (await import("./TaxReportingDropin-DQMZ3hkG.js").then((n) => n.n)).TaxReportingDropin);
|
|
39
|
-
var PayoutDetailsPage = lazy(async () => (await import("./PayoutDetailsPage-
|
|
39
|
+
var PayoutDetailsPage = lazy(async () => (await import("./PayoutDetailsPage-BdLzLw6w.js")).PayoutDetailsPage);
|
|
40
40
|
var RootBusinessDetailsPage = lazy(async () => (await import("./RootBusinessDetailsPage-D_esFfyx.js")).RootBusinessDetailsPage);
|
|
41
41
|
var RootBusinessLinesPage = lazy(async () => (await import("./RootBusinessLinesPage-Cr_ZVZX9.js")).RootBusinessLinesPage);
|
|
42
42
|
var SoleProprietorshipPage = lazy(async () => (await import("./SoleProprietorshipPage-DdTUstWy.js")).SoleProprietorshipPage);
|
|
43
43
|
var TrustMemberCompanyPage = lazy(async () => (await import("./TrustMemberCompanyPage-AehOGXBW.js")).TrustMemberCompanyPage);
|
|
44
|
-
var TrustMemberIndividualPage = lazy(async () => (await import("./TrustMemberIndividualPage-
|
|
44
|
+
var TrustMemberIndividualPage = lazy(async () => (await import("./TrustMemberIndividualPage-CNKz26VG.js")).TrustMemberIndividualPage);
|
|
45
45
|
var TrustMemberRoleAndTypePage = lazy(async () => (await import("./TrustMemberRoleAndTypePage-CDQ_h9oo.js")).TrustMemberRoleAndTypePage);
|
|
46
46
|
var TrustMembersOverview = lazy(async () => (await import("./TrustMembersOverview-CR70KcrN.js")).TrustMembersOverview);
|
|
47
47
|
var UnincorporatedPartnershipMemberCompanyPage = lazy(async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-B1aXINOK.js")).UnincorporatedPartnershipMemberCompanyPage);
|
|
48
|
-
var UnincorporatedPartnershipIndividualPage = lazy(async () => (await import("./UnincorporatedPartnershipIndividualPage-
|
|
48
|
+
var UnincorporatedPartnershipIndividualPage = lazy(async () => (await import("./UnincorporatedPartnershipIndividualPage-BzCGKu-C.js")).UnincorporatedPartnershipIndividualPage);
|
|
49
49
|
var UnincorporatedPartnershipMemberRoleAndTypePage = lazy(async () => (await import("./UnincorporatedPartnershipMemberRoleAndTypePage-B--8lFCG.js")).UnincorporatedPartnershipMemberRoleAndTypePage);
|
|
50
50
|
var UnincorporatedPartnershipMembersOverview = lazy(async () => (await import("./UnincorporatedPartnershipMembersOverview-DwHEziJ_.js")).UnincorporatedPartnershipMembersOverview);
|
|
51
51
|
var BusinessFinancingPage = lazy(async () => (await import("./BusinessFinancingPage-CUQbafQQ.js")).BusinessFinancingPage);
|
|
52
52
|
var TrustDetailsPage = lazy(async () => (await import("./TrustDetailsPage-CoqJLM9Z.js")).TrustDetailsPage);
|
|
53
53
|
var SourceOfFundsPage = lazy(async () => (await import("./SourceOfFundsPage-gO8sy65P.js")).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-Q37qhmMG.js")).RootIndividualDetailsPage);
|
|
55
|
+
var LegalRepresentativeDetailsPage = lazy(async () => (await import("./LegalRepresentativeDetailsPage-CgV7z0HM.js")).LegalRepresentativeDetailsPage);
|
|
56
|
+
var DecisionMakerDetailsPage = lazy(async () => (await import("./DecisionMakerDetailsPage-BOEhrBWw.js")).DecisionMakerDetailsPage);
|
|
57
|
+
lazy(async () => (await import("./InvitedDecisionMakerComponent-BkGuebzp.js").then((n) => n.n)).InvitedDecisionMakerComponent);
|
|
58
58
|
var ROUTE_CONFIG = {
|
|
59
59
|
[TaskTypes.ADAPTIVE]: {
|
|
60
60
|
path: "/adaptive",
|