@adyen/kyc-components 3.81.0-beta.4 → 3.81.0-beta.6
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-aQcg1tq3.js → AcceptTermsOfServiceComponent-TLpFCTa-.js} +5 -5
- package/dist/{AccountSetupRejected-kz5NC22n.js → AccountSetupRejected-RmlaR74O.js} +2 -2
- package/dist/{Avatar-CoTOHJwb.js → Avatar-VJ5kzlyX.js} +1 -1
- package/dist/{BusinessDetailsDropin-B-wQeBGi.js → BusinessDetailsDropin-Dnze2MWp.js} +7 -7
- package/dist/{BusinessFinancingComponent-DE4YthcJ.js → BusinessFinancingComponent-BWGtnZ2l.js} +3 -3
- package/dist/{BusinessFinancingDropin-D_LThoGS.js → BusinessFinancingDropin-DqqJh7oI.js} +9 -9
- package/dist/{BusinessFinancingPage-DPM8zMly.js → BusinessFinancingPage-00BXk692.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-CYm_WsH_.js → BusinessTypeSelectionPage-0gAiU8-k.js} +4 -4
- package/dist/{CreateIndividualComponent-CyPD165W.js → CreateIndividualComponent-JqyPXwi_.js} +3 -3
- package/dist/{CreateTransferInstrumentComponent-BafjhZa9.js → CreateTransferInstrumentComponent-D7dPoBCI.js} +2 -2
- package/dist/{CustomerSupport-DIDqWNFX.js → CustomerSupport-CF1sYaZe.js} +5 -5
- package/dist/{DebugModal-UpQVHT_q.js → DebugModal-BfzyAxTL.js} +4 -4
- package/dist/{DecisionMakerDetailsPage-DiTxMRO1.js → DecisionMakerDetailsPage-DQzvrvjd.js} +17 -4
- package/dist/{DecisionMakers-Ud-BGGKi.js → DecisionMakers-CeBpj8p9.js} +10 -15
- package/dist/{EmbeddedStatus-CHIsnanR.js → EmbeddedStatus-Da-R7LDJ.js} +3 -3
- package/dist/{EndStateLayout-Bamkt5E1.js → EndStateLayout-B89OYlLx.js} +1 -1
- package/dist/{FormFlow-DtrlYKNe.js → FormFlow-BQK-SrGL.js} +2 -2
- package/dist/{IndividualOnfidoDropin-Bl4C7i8c.js → IndividualOnfidoDropin-C1xH6itq.js} +66 -33
- package/dist/{Introduction-BM2tvYp6.js → Introduction-CDB0G3bY.js} +3 -3
- package/dist/{LegalRepresentativeDetailsPage-Ca8gWx8l.js → LegalRepresentativeDetailsPage-BzKsuqNS.js} +3 -3
- package/dist/{ManageIndividualComponent-BjpOoOjM.js → ManageIndividualComponent-BpE7jV1g.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-DHiYfOP_.js → ManageTermsOfServiceComponent-D2KTbyRY.js} +4 -4
- package/dist/{ManageTransferInstrumentComponent-XvUQZO39.js → ManageTransferInstrumentComponent-D-CFPJJW.js} +4 -4
- package/dist/{OnboardingDropinComponent-CZ6XyzO0.js → OnboardingDropinComponent-USEEyykb.js} +50 -77
- package/dist/{Review-C8Q-e2V9.js → Review-C7kbmI2-.js} +3 -3
- package/dist/{RootBusinessDetailsPage-DJh-Wy3Q.js → RootBusinessDetailsPage-Oh-X5OJ6.js} +7 -7
- package/dist/{RootIndividualDetailsPage-5TMDWEGP.js → RootIndividualDetailsPage-DF6aSCDc.js} +3 -3
- package/dist/{SignPCIComponent-Y9CAJCeq.js → SignPCIComponent-3Ab8dWV4.js} +4 -4
- package/dist/{SingpassSelection-DW83QSoq.js → SingpassSelection-Bfra20iP.js} +18 -10
- package/dist/{SoleProprietorshipPage-_4zvEipu.js → SoleProprietorshipPage-Czj2qS1n.js} +3 -3
- package/dist/{SourceOfFundsPage-fbIPy_3F.js → SourceOfFundsPage-DsakBcHW.js} +14 -19
- package/dist/{StoreProvider-x6yKbQFq.js → StoreProvider-phu7r9_0.js} +448 -490
- package/dist/{TaskItemStatus-DZrstr0V.js → TaskItemStatus-CYI7n3qN.js} +2 -2
- package/dist/{TaskStatusIndicator-DuYR1LdO.js → TaskStatusIndicator-DSICKMZ9.js} +3 -3
- package/dist/{TaxReportingDropin-Cv2VQY06.js → TaxReportingDropin-tYdGTVCv.js} +11 -16
- package/dist/{TileGroup-DxfGzeKN.js → TileGroup-CmLJ5fv6.js} +2 -2
- package/dist/{TrustDetailsPage-Cn3V324U.js → TrustDetailsPage-DJ7sLu2B.js} +5 -5
- package/dist/{TrustMemberCompanyPage-DPT4oAoM.js → TrustMemberCompanyPage-DBmq70wc.js} +4 -4
- package/dist/{TrustMemberIndividualPage-BRUijH_I.js → TrustMemberIndividualPage-QCSz7dt3.js} +3 -3
- package/dist/{UnincorporatedPartnershipIndividualPage-DuuEUcOp.js → UnincorporatedPartnershipIndividualPage-Ctks0l_r.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-BaRjiIq8.js → UnincorporatedPartnershipMemberCompanyPage-DP_iAiCM.js} +3 -3
- package/dist/{VerificationErrorAlert-KB0B2Z-w.js → VerificationErrorAlert-CnWfh-Mq.js} +2 -2
- package/dist/{ViewVerificationStatusComponent-DAzhj8cn.js → ViewVerificationStatusComponent-XmGpFS4Q.js} +3 -3
- package/dist/adyen-business-financing.js +2 -2
- package/dist/adyen-individual.js +2 -2
- package/dist/adyen-kyc-components.js +14 -14
- package/dist/adyen-manage-individual.js +2 -2
- package/dist/adyen-manage-terms-of-service.js +2 -2
- package/dist/adyen-manage-transfer-instruments.js +2 -2
- package/dist/adyen-onboarding.js +2 -2
- package/dist/adyen-terms-of-service.js +2 -2
- package/dist/adyen-transfer-instrument.js +2 -2
- package/dist/adyen-verification-status.js +2 -2
- package/dist/{isIdNowModalOpen-DRTL61eQ.js → bafinUtils-C_5C_Fk9.js} +51 -4
- package/dist/{digital-wallet-with-local-currencies-POeLD54e.js → digital-wallet-D_IpxnkN.js} +3 -3
- package/dist/en-US-TrwIHFh-.js +31 -0
- package/dist/{getFieldsWithExistingData-IBtwmkzo.js → getFieldsWithExistingData-Br7bX6SQ.js} +2 -2
- package/dist/{hasDataChanged-jfUaeqmj.js → hasDataChanged-CzXG96AD.js} +2 -2
- package/dist/{localizeDateString-WPsz6b9a.js → localizeDateString-Jy9XkTyZ.js} +1 -1
- package/dist/{mapFinancialReportsToFinancialInformation-Dws6jTwF.js → mapFinancialReportsToFinancialInformation-BDTfiDYF.js} +2 -2
- package/dist/{resolveEnvironment-DzMwcE0P.js → resolveEnvironment-BbdiVBJB.js} +3 -3
- package/dist/{rules-Bs0GE4lO.js → rules-Cqfw8M_0.js} +2 -2
- package/dist/types/api/configurations/useScenarios.d.ts +2 -1
- package/dist/types/api/idNowProvider/idNowProvider.types.d.ts +1 -1
- package/dist/types/components/Individual/forms/Individual/IdVerificationMethod/idVerificationMethodMetadata.d.ts +3 -3
- package/dist/types/components/Individual/forms/IndividualOnfido/IdNowVerificationModal/isIdNowModalOpen.d.ts +1 -0
- package/dist/types/components/Individual/helpers/bafinUtils.d.ts +35 -0
- package/dist/types/components/Shared/SingpassBanner/ProviderButton/ProviderButton.d.ts +7 -0
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/components/ui/atoms/Button/Button.types.d.ts +1 -2
- package/dist/types/components/ui/atoms/Image/Image.d.ts +18 -0
- package/dist/types/components/ui/atoms/Remove/Remove.d.ts +1 -1
- package/dist/types/components/ui/atoms/Svg/svgs.d.ts +0 -64
- package/dist/types/components/ui/atoms/TaskStatusIndicator/TaskStatusIndicator.d.ts +1 -2
- package/dist/types/components/ui/molecules/DocumentGuidance/DocumentGuidance.types.d.ts +2 -3
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/{useMultiForm-Dd8QMW1a.js → useMultiForm-D12QQ8Fr.js} +2 -2
- package/dist/{useOnboardingStatus-CnkkqgHk.js → useOnboardingStatus-C77iTj4t.js} +1 -1
- package/dist/{useTermsOfServiceStatus-Bo2R7-be.js → useTermsOfServiceStatus-ClHR-D8J.js} +1 -1
- package/dist/{useUpdateLegalEntity-H61VFP32.js → useUpdateLegalEntity-J-L5lHm7.js} +2 -2
- package/dist/{utils-C2CTmvLO.js → utils-7HIGSast.js} +4 -4
- package/dist/{validate-BmPFBT-A.js → validate-B_03afGP.js} +2 -2
- package/dist/{validate-Cg3P0WRF.js → validate-Cyc-okDY.js} +2 -2
- package/package.json +1 -1
- package/dist/adyen-a-filled-czhSM_bc.js +0 -14
- package/dist/arrow-left-Dtc2gya1.js +0 -14
- package/dist/document-plus-NwgAdjyB.js +0 -17
- package/dist/hide-CigAXbWC.js +0 -18
- package/dist/idea-DwJIwJHR.js +0 -18
- package/dist/instant-verification-method-BGfknV9x.js +0 -28
- package/dist/plus-small-Dj1WRyFM.js +0 -14
- package/dist/types/components/ui/atoms/ProviderButton/ProviderButton.d.ts +0 -3
- package/dist/types/components/ui/atoms/ProviderButton/ProviderButton.types.d.ts +0 -5
package/dist/{OnboardingDropinComponent-CZ6XyzO0.js → OnboardingDropinComponent-USEEyykb.js}
RENAMED
|
@@ -2,24 +2,24 @@
|
|
|
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] = "bbf326c1-e75e-4a70-8fd8-e431cb509021", e._sentryDebugIdIdentifier = "sentry-dbid-bbf326c1-e75e-4a70-8fd8-e431cb509021");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { a as useApiContext, r as useQuery, t as httpPost, v as useSettingsContext, w as SettingNames, x as httpGet, y as useLocalStorage, z as getLegalRepresentative, d as useLegalEntity, B as skipToken, C as doesLegalEntityRequiresLegalRepresentative, c as useTranslation, G as Button, H as Svg, J as Skeleton, K as Alert, M as translateStringOrObject, N as Typography, O as LegalEntityTypes, P as isPartOfTrustFromLegalEntity, U as hasSolePropInLegalEntity, V as hasOwnEntityAssociationOfType, W as isEmptyEntity, X as useAccountHolder, Y as CompanyTypesValues, Z as EntityTypes, _ as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING, $ as TaskTypes, a0 as createLogger, a1 as TaskStatuses, a2 as IconButton, a3 as useAnalyticsContext, a4 as Card, a5 as handleKeys, a6 as LoaderWrapper, a7 as Icon, a8 as noop, a9 as useToastContext, aa as useExperimentsContext, ab as isInstantVerifiedAccount, ac as getObscuredAccountNumber, ad as useGetTaskStatus, ae as CardGroup, R as ROOT_LE, af as useCapabilityProblems, L as Loader, ag as useGlobalStore, ah as useSetting, ai as isPartOfUnincorporatedPartnership, aj as getOwnSignatories, ak as getOwnDecisionMakersLegalEntityIds, al as getOwnSolePropProblems, am as getOwnTrustProblems, an as getOwnUnincorporatedPartnershipProblems, ao as
|
|
11
|
+
import { a as useApiContext, r as useQuery, t as httpPost, v as useSettingsContext, w as SettingNames, x as httpGet, y as useLocalStorage, z as getLegalRepresentative, d as useLegalEntity, B as skipToken, C as doesLegalEntityRequiresLegalRepresentative, c as useTranslation, G as Button, H as Svg, J as Skeleton, K as Alert, M as translateStringOrObject, N as Typography, O as LegalEntityTypes, P as isPartOfTrustFromLegalEntity, U as hasSolePropInLegalEntity, V as hasOwnEntityAssociationOfType, W as isEmptyEntity, X as useAccountHolder, Y as CompanyTypesValues, Z as EntityTypes, _ as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING, $ as TaskTypes, a0 as createLogger, a1 as TaskStatuses, a2 as IconButton, a3 as useAnalyticsContext, a4 as Card, a5 as handleKeys, a6 as LoaderWrapper, a7 as Icon, a8 as noop, a9 as useToastContext, aa as useExperimentsContext, ab as isInstantVerifiedAccount, ac as getObscuredAccountNumber, ad as useGetTaskStatus, ae as CardGroup, R as ROOT_LE, af as useCapabilityProblems, L as Loader, ag as useGlobalStore, ah as useSetting, ai as isPartOfUnincorporatedPartnership, aj as getOwnSignatories, ak as getOwnDecisionMakersLegalEntityIds, al as getOwnSolePropProblems, am as getOwnTrustProblems, an as getOwnUnincorporatedPartnershipProblems, ao as Image, ap as getOwnEntityAssociations, aq as TrustMemberTypes, ar as getLegalEntityNameBasedOnType, as as useAssociatedLegalEntity, u as useI18nContext, at as CountryCodes, au as isEmpty, av as mergeFieldMetadataIntoProps, aw as resolveFieldMetadata, ax as defaultFieldMetadata, ay as defaultFieldConfig, az as useForm, aA as getFieldProps, aB as nameFields, F as FormHeader, aC as ErrorPanel, aD as createFormUtils, aE as Field, aF as MultiSelectList, aG as makeSelectItemForRole, aH as RadioGroupCard, aI as TextArea, aJ as Name, aK as CountryField, aL as COUNTRY_FIELD, aM as LegalCompanyNameField, aN as LEGAL_COMPANY_NAME_FIELD, aO as summaryItem, aP as getRoleName, aQ as summaryStep, aR as FormNavigation, aS as Summary, aT as ActionBar, g as getLegalEntityCountry, aU as UnincorporatedPartnershipMemberTypes, aV as getDecisionMakerDescriptionMap, aW as TRUST_DEFAULT_DESCRIPTIONS_MAP, aX as getRoleTagVariant, aY as Trans, aZ as DEFAULT_TRUST_MEMBER_REQUIREMENTS, a_ as ContextGuidance, a$ as RadioGroup, b0 as useUnincorporatedPartnershipMembers, b1 as deleteUnincorporatedPartnershipMember, b2 as hasAllCapabilitiesResolved, b3 as hasRejectedCapabilities, b4 as objectsDeepEqual, b5 as TrustedFieldsProviders } from "./StoreProvider-phu7r9_0.js";
|
|
12
12
|
import { lazy, Suspense } from "preact/compat";
|
|
13
13
|
import { useMemo, useCallback, useEffect, useState, useRef } from "preact/hooks";
|
|
14
|
-
import { L as LandingLayout, u as useSingpassMyInfoLogin, s as showIdNowModal } from "./
|
|
14
|
+
import { L as LandingLayout, u as useSingpassMyInfoLogin, i as isBafinSignatoryFlow, s as showIdNowModal } from "./bafinUtils-C_5C_Fk9.js";
|
|
15
15
|
import cx from "classnames";
|
|
16
|
-
import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-
|
|
16
|
+
import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-ClHR-D8J.js";
|
|
17
17
|
import { signal } from "@preact/signals";
|
|
18
18
|
import { d as downloadFile } from "./file-CiG1D0zy.js";
|
|
19
|
-
import { V as VerificationErrorAlert, u as useDeleteTransferInstrument } from "./VerificationErrorAlert-
|
|
20
|
-
import { A as Avatar } from "./Avatar-
|
|
21
|
-
import { T as TaskItemStatus } from "./TaskItemStatus-
|
|
22
|
-
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
19
|
+
import { V as VerificationErrorAlert, u as useDeleteTransferInstrument } from "./VerificationErrorAlert-CnWfh-Mq.js";
|
|
20
|
+
import { A as Avatar } from "./Avatar-VJ5kzlyX.js";
|
|
21
|
+
import { T as TaskItemStatus } from "./TaskItemStatus-CYI7n3qN.js";
|
|
22
|
+
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-J-L5lHm7.js";
|
|
23
23
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
24
24
|
const getPciStatus = async (legalEntityId, baseUrl, data) => {
|
|
25
25
|
return httpPost(
|
|
@@ -113,49 +113,21 @@ const styles$5 = {
|
|
|
113
113
|
providerButton,
|
|
114
114
|
providerButtonDisplayName
|
|
115
115
|
};
|
|
116
|
-
const ProviderButton = ({
|
|
117
|
-
|
|
118
|
-
disabled = false,
|
|
119
|
-
fullWidth,
|
|
120
|
-
loading = false,
|
|
121
|
-
onClick,
|
|
122
|
-
testId
|
|
123
|
-
}) => {
|
|
124
|
-
const isSingpass = provider.includes("singpassMyInfo");
|
|
125
|
-
const buttonVariant = isSingpass ? "secondary" : "primary";
|
|
126
|
-
const { t } = useTranslation();
|
|
127
|
-
const buttonProps = {
|
|
128
|
-
disabled,
|
|
129
|
-
fullWidth,
|
|
130
|
-
loading,
|
|
131
|
-
onClick,
|
|
132
|
-
testId
|
|
133
|
-
};
|
|
116
|
+
const ProviderButton = ({ provider, onClick }) => {
|
|
117
|
+
const { t } = useTranslation("ui");
|
|
134
118
|
const providerLogo = {
|
|
135
|
-
tink: "tink-logo",
|
|
136
|
-
yapily: "yapily-logo",
|
|
137
|
-
plaid: "plaid-logo",
|
|
138
|
-
onfido: "onfido-logo",
|
|
139
119
|
singpassMyInfo: "singpass-logo",
|
|
140
120
|
singpassMyInfoBusiness: "singpass-logo"
|
|
141
121
|
};
|
|
142
122
|
const providerDisplayName = {
|
|
143
|
-
tink: "Tink",
|
|
144
|
-
yapily: "Yapily",
|
|
145
|
-
plaid: "Plaid",
|
|
146
|
-
onfido: "Onfido",
|
|
147
123
|
singpassMyInfo: "Singpass",
|
|
148
124
|
singpassMyInfoBusiness: "Singpass"
|
|
149
125
|
};
|
|
150
126
|
const buttonLabel = {
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
plaid: t(($) => $["addAccountWith"]),
|
|
154
|
-
onfido: t(($) => $["addDetailsWith"]),
|
|
155
|
-
singpassMyInfo: t(($) => $["retrieveMyinfoWith"]),
|
|
156
|
-
singpassMyInfoBusiness: t(($) => $["retrieveMyinfoBusinessWith"])
|
|
127
|
+
singpassMyInfo: t(($) => $["retrieveMyinfo"]),
|
|
128
|
+
singpassMyInfoBusiness: t(($) => $["retrieveMyinfoBusiness"])
|
|
157
129
|
};
|
|
158
|
-
return /* @__PURE__ */ jsx(Button, {
|
|
130
|
+
return /* @__PURE__ */ jsx(Button, { onClick, fullWidth: true, variant: "secondary", children: /* @__PURE__ */ jsxs("div", { className: styles$5.providerButton, children: [
|
|
159
131
|
buttonLabel[provider],
|
|
160
132
|
/* @__PURE__ */ jsx("span", { className: styles$5.providerButtonDisplayName, children: providerDisplayName[provider] }),
|
|
161
133
|
/* @__PURE__ */ jsx(Svg, { name: providerLogo[provider], type: "image" })
|
|
@@ -230,7 +202,7 @@ const SingpassBanner = ({
|
|
|
230
202
|
onClose: onAlertClose,
|
|
231
203
|
children: /* @__PURE__ */ jsxs(Typography, { variant: "body", children: [
|
|
232
204
|
t(($) => $["tryAgainOrContinueEnteringTheDetailsYourself"]),
|
|
233
|
-
providerName && /* @__PURE__ */ jsx(ProviderButton, { provider: providerName, onClick
|
|
205
|
+
providerName && /* @__PURE__ */ jsx(ProviderButton, { provider: providerName, onClick })
|
|
234
206
|
] })
|
|
235
207
|
}
|
|
236
208
|
);
|
|
@@ -244,7 +216,7 @@ const SingpassBanner = ({
|
|
|
244
216
|
title: t(($) => $["getSetUpInstantly"]),
|
|
245
217
|
children: [
|
|
246
218
|
subtitleTranslationKey && /* @__PURE__ */ jsx("div", { className: cx("adyen-task-list-singpass-banner__subtitle"), children: t(($) => $[subtitleTranslationKey]) }),
|
|
247
|
-
providerName && /* @__PURE__ */ jsx(ProviderButton, { provider: providerName, onClick
|
|
219
|
+
providerName && /* @__PURE__ */ jsx(ProviderButton, { provider: providerName, onClick })
|
|
248
220
|
]
|
|
249
221
|
}
|
|
250
222
|
);
|
|
@@ -472,10 +444,9 @@ const Remove = ({
|
|
|
472
444
|
onRemove,
|
|
473
445
|
onRemoveStatusChange,
|
|
474
446
|
isRemoveDisabled = false,
|
|
475
|
-
handleIsRemoveDisabled
|
|
476
|
-
label
|
|
447
|
+
handleIsRemoveDisabled
|
|
477
448
|
}) => {
|
|
478
|
-
const { t } = useTranslation();
|
|
449
|
+
const { t } = useTranslation("ui");
|
|
479
450
|
const [undoTimer, setUndoTimer] = useState(5);
|
|
480
451
|
const [isRemoving, setIsRemoving] = useState(false);
|
|
481
452
|
useEffect(() => {
|
|
@@ -516,7 +487,7 @@ const Remove = ({
|
|
|
516
487
|
return isRemoving ? /* @__PURE__ */ jsx(Button, { variant: "tertiary", onClick: onClickHandler, children: t(($) => $["undoWithTimer"], { secondsLeft: undoTimer }) }) : /* @__PURE__ */ jsx(
|
|
517
488
|
IconButton,
|
|
518
489
|
{
|
|
519
|
-
ariaLabel:
|
|
490
|
+
ariaLabel: t(($) => $["remove"]),
|
|
520
491
|
icon: "bin",
|
|
521
492
|
variant: "tertiary",
|
|
522
493
|
onClick: onClickHandler,
|
|
@@ -1101,10 +1072,11 @@ function TaskListInner({
|
|
|
1101
1072
|
] });
|
|
1102
1073
|
}
|
|
1103
1074
|
const isNewEntity = Symbol("isNewEntity");
|
|
1104
|
-
const businessLines = "adyen-kyc-business-lines";
|
|
1075
|
+
const businessLines$1 = "adyen-kyc-business-lines";
|
|
1105
1076
|
const styles$4 = {
|
|
1106
|
-
businessLines
|
|
1077
|
+
businessLines: businessLines$1
|
|
1107
1078
|
};
|
|
1079
|
+
const businessLines = lazy(() => import("./business-lines-DboUCbXw.js"));
|
|
1108
1080
|
const BusinessLinesGettingStarted = ({
|
|
1109
1081
|
handleGettingStartedClick,
|
|
1110
1082
|
handleCancelClick
|
|
@@ -1115,7 +1087,7 @@ const BusinessLinesGettingStarted = ({
|
|
|
1115
1087
|
{
|
|
1116
1088
|
title: t(($) => $["businessLines"]),
|
|
1117
1089
|
description: t(($) => $["businessLinesGettingStarted"]),
|
|
1118
|
-
media: /* @__PURE__ */ jsx(
|
|
1090
|
+
media: /* @__PURE__ */ jsx(Image, { lazyLoadedImage: businessLines }),
|
|
1119
1091
|
actions: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
1120
1092
|
/* @__PURE__ */ jsx(Button, { fullWidth: true, onClick: handleGettingStartedClick, children: t(($) => $["gettingStarted"], { ns: "common" }) }),
|
|
1121
1093
|
/* @__PURE__ */ jsx(Button, { variant: "tertiary", fullWidth: true, onClick: handleCancelClick, children: t(($) => $["finishLater"], { ns: "common" }) })
|
|
@@ -3490,71 +3462,71 @@ const hasProgressedBeyondEntitySelection = (legalEntity) => {
|
|
|
3490
3462
|
return hasOwnEntityAssocation || !!hasOrganizationType;
|
|
3491
3463
|
};
|
|
3492
3464
|
const Introduction = lazy(
|
|
3493
|
-
async () => (await import("./Introduction-
|
|
3465
|
+
async () => (await import("./Introduction-CDB0G3bY.js")).Introduction
|
|
3494
3466
|
);
|
|
3495
3467
|
const BusinessTypeSelectionPage = lazy(
|
|
3496
|
-
async () => (await import("./BusinessTypeSelectionPage-
|
|
3468
|
+
async () => (await import("./BusinessTypeSelectionPage-0gAiU8-k.js")).BusinessTypeSelectionPage
|
|
3497
3469
|
);
|
|
3498
3470
|
const SingpassSelection = lazy(
|
|
3499
|
-
async () => (await import("./SingpassSelection-
|
|
3471
|
+
async () => (await import("./SingpassSelection-Bfra20iP.js")).SingpassSelection
|
|
3500
3472
|
);
|
|
3501
3473
|
const AccountSetupRejected = lazy(
|
|
3502
|
-
async () => (await import("./AccountSetupRejected-
|
|
3474
|
+
async () => (await import("./AccountSetupRejected-RmlaR74O.js")).AccountSetupRejected
|
|
3503
3475
|
);
|
|
3504
3476
|
const DecisionMakers = lazy(
|
|
3505
|
-
async () => (await import("./DecisionMakers-
|
|
3477
|
+
async () => (await import("./DecisionMakers-CeBpj8p9.js")).DecisionMakers
|
|
3506
3478
|
);
|
|
3507
3479
|
const CustomerSupport = lazy(
|
|
3508
|
-
async () => (await import("./CustomerSupport-
|
|
3480
|
+
async () => (await import("./CustomerSupport-CF1sYaZe.js")).CustomerSupport
|
|
3509
3481
|
);
|
|
3510
|
-
const Review = lazy(async () => (await import("./Review-
|
|
3482
|
+
const Review = lazy(async () => (await import("./Review-C7kbmI2-.js")).Review);
|
|
3511
3483
|
const SignPCIComponent = lazy(
|
|
3512
|
-
async () => (await import("./SignPCIComponent-
|
|
3484
|
+
async () => (await import("./SignPCIComponent-3Ab8dWV4.js")).SignPCIComponent
|
|
3513
3485
|
);
|
|
3514
3486
|
const AcceptTermsOfService = lazy(
|
|
3515
|
-
async () => (await import("./AcceptTermsOfServiceComponent-
|
|
3487
|
+
async () => (await import("./AcceptTermsOfServiceComponent-TLpFCTa-.js")).AcceptTermsOfServiceComponent
|
|
3516
3488
|
);
|
|
3517
3489
|
const TaxReportingDropin = lazy(
|
|
3518
|
-
async () => (await import("./TaxReportingDropin-
|
|
3490
|
+
async () => (await import("./TaxReportingDropin-tYdGTVCv.js")).TaxReportingDropin
|
|
3519
3491
|
);
|
|
3520
3492
|
const PayoutDetailsPage = lazy(
|
|
3521
|
-
async () => (await import("./StoreProvider-
|
|
3493
|
+
async () => (await import("./StoreProvider-phu7r9_0.js").then((n) => n.fG)).PayoutDetailsPage
|
|
3522
3494
|
);
|
|
3523
3495
|
const RootBusinessDetailsPage = lazy(
|
|
3524
|
-
async () => (await import("./RootBusinessDetailsPage-
|
|
3496
|
+
async () => (await import("./RootBusinessDetailsPage-Oh-X5OJ6.js")).RootBusinessDetailsPage
|
|
3525
3497
|
);
|
|
3526
3498
|
const SoleProprietorshipPage = lazy(
|
|
3527
|
-
async () => (await import("./SoleProprietorshipPage-
|
|
3499
|
+
async () => (await import("./SoleProprietorshipPage-Czj2qS1n.js")).SoleProprietorshipPage
|
|
3528
3500
|
);
|
|
3529
3501
|
const TrustMemberCompanyPage = lazy(
|
|
3530
|
-
async () => (await import("./TrustMemberCompanyPage-
|
|
3502
|
+
async () => (await import("./TrustMemberCompanyPage-DBmq70wc.js")).TrustMemberCompanyPage
|
|
3531
3503
|
);
|
|
3532
3504
|
const UnincorporatedPartnershipMemberCompanyPage = lazy(
|
|
3533
|
-
async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-
|
|
3505
|
+
async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-DP_iAiCM.js")).UnincorporatedPartnershipMemberCompanyPage
|
|
3534
3506
|
);
|
|
3535
3507
|
const BusinessFinancingPage = lazy(
|
|
3536
|
-
async () => (await import("./BusinessFinancingPage-
|
|
3508
|
+
async () => (await import("./BusinessFinancingPage-00BXk692.js")).BusinessFinancingPage
|
|
3537
3509
|
);
|
|
3538
3510
|
const TrustDetailsPage = lazy(
|
|
3539
|
-
async () => (await import("./TrustDetailsPage-
|
|
3511
|
+
async () => (await import("./TrustDetailsPage-DJ7sLu2B.js")).TrustDetailsPage
|
|
3540
3512
|
);
|
|
3541
3513
|
const SourceOfFundsPage = lazy(
|
|
3542
|
-
async () => (await import("./SourceOfFundsPage-
|
|
3514
|
+
async () => (await import("./SourceOfFundsPage-DsakBcHW.js")).SourceOfFundsPage
|
|
3543
3515
|
);
|
|
3544
3516
|
const RootIndividualDetailsPage = lazy(
|
|
3545
|
-
async () => (await import("./RootIndividualDetailsPage-
|
|
3517
|
+
async () => (await import("./RootIndividualDetailsPage-DF6aSCDc.js")).RootIndividualDetailsPage
|
|
3546
3518
|
);
|
|
3547
3519
|
const LegalRepresentativeDetailsPage = lazy(
|
|
3548
|
-
async () => (await import("./LegalRepresentativeDetailsPage-
|
|
3520
|
+
async () => (await import("./LegalRepresentativeDetailsPage-BzKsuqNS.js")).LegalRepresentativeDetailsPage
|
|
3549
3521
|
);
|
|
3550
3522
|
const TrustMemberIndividualPage = lazy(
|
|
3551
|
-
async () => (await import("./TrustMemberIndividualPage-
|
|
3523
|
+
async () => (await import("./TrustMemberIndividualPage-QCSz7dt3.js")).TrustMemberIndividualPage
|
|
3552
3524
|
);
|
|
3553
3525
|
const UnincorporatedPartnershipIndividualPage = lazy(
|
|
3554
|
-
async () => (await import("./UnincorporatedPartnershipIndividualPage-
|
|
3526
|
+
async () => (await import("./UnincorporatedPartnershipIndividualPage-Ctks0l_r.js")).UnincorporatedPartnershipIndividualPage
|
|
3555
3527
|
);
|
|
3556
3528
|
const DecisionMakerDetailsPage = lazy(
|
|
3557
|
-
async () => (await import("./DecisionMakerDetailsPage-
|
|
3529
|
+
async () => (await import("./DecisionMakerDetailsPage-DQzvrvjd.js")).DecisionMakerDetailsPage
|
|
3558
3530
|
);
|
|
3559
3531
|
function isIn(values, x) {
|
|
3560
3532
|
return values.includes(x);
|
|
@@ -3870,12 +3842,13 @@ function DropinComposer({
|
|
|
3870
3842
|
onSubmit: async (data, scenario) => {
|
|
3871
3843
|
onSubmit?.(data);
|
|
3872
3844
|
await refetchLegalEntity();
|
|
3873
|
-
if (
|
|
3874
|
-
|
|
3845
|
+
if (isBafinSignatoryFlow({
|
|
3846
|
+
taskType: TaskTypes.DECISION_MAKER,
|
|
3875
3847
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
3876
3848
|
// @ts-ignore basicDetails will be there when it's IndividualOnfidoSchema
|
|
3877
|
-
data
|
|
3878
|
-
|
|
3849
|
+
data,
|
|
3850
|
+
scenarios: scenario
|
|
3851
|
+
})) {
|
|
3879
3852
|
showIdNowModal.value = true;
|
|
3880
3853
|
} else {
|
|
3881
3854
|
navigateBack();
|
|
@@ -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] = "1a72d592-d254-4f4e-b632-3929a54a8831", e._sentryDebugIdIdentifier = "sentry-dbid-1a72d592-d254-4f4e-b632-3929a54a8831");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useState } from "preact/hooks";
|
|
12
|
-
import { a as useApiContext,
|
|
13
|
-
import { D as DropinLayout } from "./OnboardingDropinComponent-
|
|
12
|
+
import { a as useApiContext, bo as useMutation, t as httpPost, c as useTranslation, a9 as useToastContext, a6 as LoaderWrapper, F as FormHeader, bu as Checkbox, aT as ActionBar } from "./StoreProvider-phu7r9_0.js";
|
|
13
|
+
import { D as DropinLayout } from "./OnboardingDropinComponent-USEEyykb.js";
|
|
14
14
|
const confirmReview = async (legalEntityId, baseUrl) => {
|
|
15
15
|
return httpPost({
|
|
16
16
|
baseUrl,
|
|
@@ -2,19 +2,19 @@
|
|
|
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] = "306fa160-e38c-4ded-bb93-819bb8b5f61a", e._sentryDebugIdIdentifier = "sentry-dbid-306fa160-e38c-4ded-bb93-819bb8b5f61a");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { c as useTranslation,
|
|
12
|
-
import { P as ProofOfOwnershipDocument, a as ProofOfSignatoryDocument, b as ProofOfDirectorDocument, R as RegistrationDocument, T as TaxDocument, m as mapApiDocumentToBusinessDetailsDocuments, c as mapLegalEntityToBusinessDetailsSchema, f as formatDataForSummary, s as submit, d as businessDetailsFieldsPerScenario, B as BusinessDetailsDropin } from "./BusinessDetailsDropin-
|
|
11
|
+
import { c as useTranslation, bM as useFormContext, aa as useExperimentsContext, dW as verifiedBusiness, bN as getAddressSchemaForCountry, bO as COUNTRIES_WITH_STATES_DATASET, dX as useDebouncedState, dY as useAddressCleanse, dZ as formatAddressForCleanse, d_ as mapAddressData, d$ as operationalAddressIsSameIds, av as mergeFieldMetadataIntoProps, e0 as legalFormFieldMetadata, e1 as stockTickerSymbolFieldMetadata, e2 as stockISINFieldMetadata, e3 as stockExchangeMICFieldMetadata, e4 as dateOfIncorporationFieldMetadata, e5 as eInvoicingCodeFieldMetadata, e6 as vatAbsenceReasonMetadata, aw as resolveFieldMetadata, e7 as defaultFieldMetadata, e8 as defaultFieldConfig, cd as taxInformationDefaultFieldMetadata, ce as taxInformationDefaultFieldConfig, e9 as registrationNumberDefaultFieldMetadata, ea as registrationNumberDefaultFieldConfig, eb as doingBusinessAsFieldMetadata, ec as doingBusinessAsAbsentFieldMetadata, aD as createFormUtils, bd as datasetUtilities, F as FormHeader, aC as ErrorPanel, N as Typography, ed as VerifiedBusinessCard, ee as LEGAL_FORM_FIELDS, bE as LegalFormField, ef as DBA_NAME_FIELD, eg as DBANameField, eh as BUSINESS_REGISTRATION_NUMBER_FIELD, ei as BusinessRegistrationNumberField, ej as TAX_INFORMATION_FIELD, da as TaxInformationField, ek as VAT_NUMBER_FIELD, el as VatNumberField, em as EInvoicingCodeField, en as EINVOICING_CODE_FIELD, eo as DATE_OF_INCORPORATION_FIELD, ep as DateOfIncorporationField, eq as STOCK_EXCHANGE_MIC_FIELD, er as StockExchangeMICField, es as STOCK_ISIN_FIELD, et as StockISINField, eu as STOCK_TICKER_SYMBOL_FIELD, ev as StockTickerSymbolField, bP as Address, ew as getNestedTrustedFields, bQ as getAddressSchemaLabelsByCountry, ex as ADDITIONAL_INFORMATION_FORM_ID, aE as Field, bu as Checkbox, Y as CompanyTypesValues, v as useSettingsContext, b as useAllowedCountries, w as SettingNames, ey as localizedLegalCompanyNameFieldConfig, ez as defaultFieldMetadata$1, eA as defaultFieldConfig$1, eB as defaultFieldMetadataV4, ax as defaultFieldMetadata$2, eC as defaultFieldConfigV4, ay as defaultFieldConfig$2, eD as useLegalCompanyNameField, aK as CountryField, aL as COUNTRY_FIELD, eE as COUNTRY_OF_GOVERNING_LAW_FIELD, eF as CountryOfGoverningLawField, bG as InputText, eG as STATE_FIELD, eH as StateField, bF as Link, aN as LEGAL_COMPANY_NAME_FIELD, X as useAccountHolder, eI as isBankAccountRequestedForOrganization, eJ as companyTypeOptions, eK as useCompanyTypeExamples, dT as EntityTypeRadioGroupCard, eL as companyTypeMetadata, u as useI18nContext, $ as TaskTypes, eM as FinancialInformation, eN as MemoizedConstitutionalDocument, O as LegalEntityTypes, dz as MemoizedDocumentUpload, eO as BusinessSelectionMultiform, eP as COUNTRIES_USING_COMPANY_SEARCH, aQ as summaryStep, bT as addValidityToForms, eQ as exemptFromRegistrationNumberDefaultFieldMetadata, eR as CountryOfGoverningLawFieldValidation, eS as CountryFieldValidation, a as useApiContext, a3 as useAnalyticsContext, a9 as useToastContext, bq as useQueryClient, eT as getForms, cs as documentApiUtils, cG as composePerScenarioFormConfigurations, cA as useScenarioConfiguration, eU as financialInfoValidationWithEmployeesRules, eV as CompanyStructureValidation, eW as tinMatched, eX as rules, cB as getPropsFromConfigurations, bR as getAssociatedLeAnalyticsPayload, bV as trackNavigation, bU as useFormComposer, eY as useCompanySearch, eZ as useVerifyTin, e_ as businessMismatchModalOpen, bh as Confirm, e$ as businessDetailsDocumentMapping, f0 as businessDetailsApiKeyMapping, d as useLegalEntity, R as ROOT_LE, af as useCapabilityProblems, L as Loader, P as isPartOfTrustFromLegalEntity, b6 as getProblemsForEntity, Z as EntityTypes, g as getLegalEntityCountry } from "./StoreProvider-phu7r9_0.js";
|
|
12
|
+
import { P as ProofOfOwnershipDocument, a as ProofOfSignatoryDocument, b as ProofOfDirectorDocument, R as RegistrationDocument, T as TaxDocument, m as mapApiDocumentToBusinessDetailsDocuments, c as mapLegalEntityToBusinessDetailsSchema, f as formatDataForSummary, s as submit, d as businessDetailsFieldsPerScenario, B as BusinessDetailsDropin } from "./BusinessDetailsDropin-Dnze2MWp.js";
|
|
13
13
|
import { useEffect, useMemo, useCallback, useState } from "preact/hooks";
|
|
14
|
-
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
15
|
-
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-
|
|
16
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
17
|
-
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-
|
|
14
|
+
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-J-L5lHm7.js";
|
|
15
|
+
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-BQK-SrGL.js";
|
|
16
|
+
import { u as useMultiForm } from "./useMultiForm-D12QQ8Fr.js";
|
|
17
|
+
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-Br7bX6SQ.js";
|
|
18
18
|
function AdditionalInformationMultiform({
|
|
19
19
|
id,
|
|
20
20
|
country,
|
package/dist/{RootIndividualDetailsPage-5TMDWEGP.js → RootIndividualDetailsPage-DF6aSCDc.js}
RENAMED
|
@@ -2,14 +2,14 @@
|
|
|
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] = "f52b118f-8a48-4d29-ac13-7bcc21a47086", e._sentryDebugIdIdentifier = "sentry-dbid-f52b118f-8a48-4d29-ac13-7bcc21a47086");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { d as useLegalEntity, R as ROOT_LE, af as useCapabilityProblems, aa as useExperimentsContext, X as useAccountHolder, L as Loader, g as getLegalEntityCountry, P as isPartOfTrustFromLegalEntity,
|
|
12
|
-
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-
|
|
11
|
+
import { d as useLegalEntity, R as ROOT_LE, af as useCapabilityProblems, aa as useExperimentsContext, X as useAccountHolder, L as Loader, g as getLegalEntityCountry, P as isPartOfTrustFromLegalEntity, b6 as getProblemsForEntity, Z as EntityTypes, b7 as isOnfidoAutofillFlowEnabled, a8 as noop, $ as TaskTypes } from "./StoreProvider-phu7r9_0.js";
|
|
12
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-C1xH6itq.js";
|
|
13
13
|
function RootIndividualDetailsPage({
|
|
14
14
|
asModal = false,
|
|
15
15
|
hideSidebar = false,
|
|
@@ -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] = "41ef1c83-f516-4d9d-a6b7-c187d71eaffc", e._sentryDebugIdIdentifier = "sentry-dbid-41ef1c83-f516-4d9d-a6b7-c187d71eaffc");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a as useApiContext, r as useQuery, t as httpPost,
|
|
12
|
-
import { u as useSalesChannelsSettings, a as usePciStatus } from "./OnboardingDropinComponent-
|
|
13
|
-
import { E as EndStateLayout } from "./EndStateLayout-
|
|
11
|
+
import { a as useApiContext, r as useQuery, t as httpPost, bn as useInvalidateRootLegalEntity, bo as useMutation, au as isEmpty, c as useTranslation, a3 as useAnalyticsContext, a9 as useToastContext, az as useForm, bA as getOwnDecisionMakers, O as LegalEntityTypes, $ as TaskTypes, G as Button, bv as MaybeModal, a4 as Card, aE as Field, bt as Select, bu as Checkbox, u as useI18nContext, d as useLegalEntity, R as ROOT_LE, L as Loader } from "./StoreProvider-phu7r9_0.js";
|
|
12
|
+
import { u as useSalesChannelsSettings, a as usePciStatus } from "./OnboardingDropinComponent-USEEyykb.js";
|
|
13
|
+
import { E as EndStateLayout } from "./EndStateLayout-B89OYlLx.js";
|
|
14
14
|
import { useState, useCallback, useEffect } from "preact/hooks";
|
|
15
15
|
import { D as DetailViewLayout } from "./DetailViewLayout-Z9cuUp4X.js";
|
|
16
16
|
import { C as ContractViewer } from "./ContractViewer-B2LwC3wV.js";
|
|
@@ -2,16 +2,26 @@
|
|
|
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] = "7fd1b084-f948-4d4e-82f2-92d29befd39e", e._sentryDebugIdIdentifier = "sentry-dbid-7fd1b084-f948-4d4e-82f2-92d29befd39e");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
|
+
import { lazy } from "preact/compat";
|
|
11
12
|
import { useState } from "preact/hooks";
|
|
12
|
-
import { c as useTranslation,
|
|
13
|
+
import { c as useTranslation, az as useForm, N as Typography, aE as Field, aH as RadioGroupCard, G as Button, ao as Image, O as LegalEntityTypes } from "./StoreProvider-phu7r9_0.js";
|
|
13
14
|
const setupAccountMethods = ["singpass", "manual"];
|
|
14
15
|
const setupAccountMethodFields = ["setupAccountMethod"];
|
|
16
|
+
const singpassLogo = lazy(
|
|
17
|
+
() => import("./singpass-logo-BkMSwiGY.js")
|
|
18
|
+
);
|
|
19
|
+
const instantVerificationImage = lazy(
|
|
20
|
+
() => import("./singpass-verification-instant-hY4eGFwl.js")
|
|
21
|
+
);
|
|
22
|
+
const manualVerificationImage = lazy(
|
|
23
|
+
() => import("./singpass-verification-manual-DwhRpy5Q.js")
|
|
24
|
+
);
|
|
15
25
|
const getSingpassSelectionDisabled = (legalEntityType) => {
|
|
16
26
|
switch (legalEntityType) {
|
|
17
27
|
case LegalEntityTypes.INDIVIDUAL:
|
|
@@ -38,16 +48,15 @@ const getSetupAccountMethodMetadata = (legalEntityType) => {
|
|
|
38
48
|
name: translationSingpassNameKey,
|
|
39
49
|
description: translationSingpassDescriptionKey,
|
|
40
50
|
icon: /* @__PURE__ */ jsx(
|
|
41
|
-
|
|
51
|
+
Image,
|
|
42
52
|
{
|
|
43
|
-
|
|
44
|
-
name: "singpass-verification-instant",
|
|
53
|
+
lazyLoadedImage: instantVerificationImage,
|
|
45
54
|
className: "adyen-kyc-setup-singpass-container"
|
|
46
55
|
}
|
|
47
56
|
),
|
|
48
57
|
provider: {
|
|
49
58
|
name: "singpass",
|
|
50
|
-
icon: /* @__PURE__ */ jsx(
|
|
59
|
+
icon: /* @__PURE__ */ jsx(Image, { lazyLoadedImage: singpassLogo, className: "adyen-kyc-singpass-logo-container" })
|
|
51
60
|
},
|
|
52
61
|
isOptionDisabled: isSingpassSelectionDisabled
|
|
53
62
|
},
|
|
@@ -55,11 +64,10 @@ const getSetupAccountMethodMetadata = (legalEntityType) => {
|
|
|
55
64
|
name: "enterTheDetailsYourself",
|
|
56
65
|
description: "youAlsoHaveToUploadSomeSupportingDocuments",
|
|
57
66
|
icon: /* @__PURE__ */ jsx(
|
|
58
|
-
|
|
67
|
+
Image,
|
|
59
68
|
{
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
className: "adyen-kyc-setup-manual-container"
|
|
69
|
+
lazyLoadedImage: manualVerificationImage,
|
|
70
|
+
className: "adyen-kyc-singpass-logo-container"
|
|
63
71
|
}
|
|
64
72
|
)
|
|
65
73
|
}
|
|
@@ -2,14 +2,14 @@
|
|
|
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] = "baf482cb-663b-4d23-90e3-560a66df5a6b", e._sentryDebugIdIdentifier = "sentry-dbid-baf482cb-663b-4d23-90e3-560a66df5a6b");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { d as useLegalEntity, R as ROOT_LE, B as skipToken, af as useCapabilityProblems, L as Loader,
|
|
12
|
-
import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-
|
|
11
|
+
import { d as useLegalEntity, R as ROOT_LE, B as skipToken, af as useCapabilityProblems, L as Loader, b6 as getProblemsForEntity, g as getLegalEntityCountry, $ as TaskTypes, Z as EntityTypes } from "./StoreProvider-phu7r9_0.js";
|
|
12
|
+
import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-Dnze2MWp.js";
|
|
13
13
|
function SoleProprietorshipPage({
|
|
14
14
|
solePropId,
|
|
15
15
|
isTargetLegalEntityType = false,
|
|
@@ -2,26 +2,27 @@
|
|
|
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] = "be777885-8654-4b6a-bfe7-c858d5d419aa", e._sentryDebugIdIdentifier = "sentry-dbid-be777885-8654-4b6a-bfe7-c858d5d419aa");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { a as useApiContext, r as useQuery, x as httpGet,
|
|
11
|
+
import { a as useApiContext, r as useQuery, x as httpGet, bn as useInvalidateRootLegalEntity, bo as useMutation, t as httpPost, bC as formatObject, O as LegalEntityTypes, N as Typography, fB as Currencies, u as useI18nContext, aE as Field, fC as InputGroup, bt as Select, bG as InputText, bL as InputDate, aI as TextArea, a$ as RadioGroup, aK as CountryField, bf as Modal, K as Alert, G as Button, bh as Confirm, au as isEmpty, c as useTranslation, az as useForm, fD as useGlobalDataSlice, aC as ErrorPanel, aD as createFormUtils, L as Loader, a7 as Icon, dt as getFormProps, a4 as Card, bg as StructuredList, a2 as IconButton, cp as isEmpty$1, ao as Image, a9 as useToastContext, a0 as createLogger, fE as Dropzone, cn as createDocumentRequest, bq as useQueryClient, d as useLegalEntity, R as ROOT_LE, fi as useStateContext, a3 as useAnalyticsContext, fF as useLegalEntities, cB as getPropsFromConfigurations, bS as getRequiredForms, bT as addValidityToForms, bU as useFormComposer, cs as documentApiUtils, fn as FormWrapper, af as useCapabilityProblems, b6 as getProblemsForEntity, Z as EntityTypes, g as getLegalEntityCountry } from "./StoreProvider-phu7r9_0.js";
|
|
12
12
|
import { useState, useMemo, useEffect, useCallback, useRef } from "preact/hooks";
|
|
13
|
-
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
14
|
-
import { h as hasDataChanged } from "./hasDataChanged-
|
|
13
|
+
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-J-L5lHm7.js";
|
|
14
|
+
import { h as hasDataChanged } from "./hasDataChanged-CzXG96AD.js";
|
|
15
15
|
import { signal } from "@preact/signals";
|
|
16
16
|
import { a as formatAmountWithCurrency } from "./formatCurrency-CMOSdJMB.js";
|
|
17
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
17
|
+
import { l as localizeDateString } from "./localizeDateString-Jy9XkTyZ.js";
|
|
18
18
|
import { t as toCapitalized } from "./toCapitalized-Bq7laD0b.js";
|
|
19
|
-
import { A as Avatar } from "./Avatar-
|
|
20
|
-
import { v as validateDateNotInTheFuture } from "./validate-
|
|
21
|
-
import { T as TileGroup } from "./TileGroup-
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
19
|
+
import { A as Avatar } from "./Avatar-VJ5kzlyX.js";
|
|
20
|
+
import { v as validateDateNotInTheFuture } from "./validate-Cyc-okDY.js";
|
|
21
|
+
import { T as TileGroup } from "./TileGroup-CmLJ5fv6.js";
|
|
22
|
+
import { lazy } from "preact/compat";
|
|
23
|
+
import { T as TaskStatusIndicator } from "./TaskStatusIndicator-DSICKMZ9.js";
|
|
24
|
+
import { L as LandingLayout } from "./bafinUtils-C_5C_Fk9.js";
|
|
25
|
+
import { n as normalizedTaskStatusStore } from "./OnboardingDropinComponent-USEEyykb.js";
|
|
25
26
|
const getBusinessLines = async (legalEntityId, baseUrl) => {
|
|
26
27
|
return httpGet({
|
|
27
28
|
baseUrl,
|
|
@@ -2319,6 +2320,7 @@ function SourceOfFundsGettingStartedCard(props) {
|
|
|
2319
2320
|
id
|
|
2320
2321
|
);
|
|
2321
2322
|
}
|
|
2323
|
+
const digitalWallet = lazy(() => import("./digital-wallet-D_IpxnkN.js"));
|
|
2322
2324
|
const SourceOfFundsGettingStarted = ({
|
|
2323
2325
|
handleGettingStartedClick,
|
|
2324
2326
|
handleCancelClick,
|
|
@@ -2412,14 +2414,7 @@ const SourceOfFundsGettingStarted = ({
|
|
|
2412
2414
|
!hasSourceOfFunds && /* @__PURE__ */ jsx(
|
|
2413
2415
|
LandingLayout,
|
|
2414
2416
|
{
|
|
2415
|
-
media: /* @__PURE__ */ jsx(
|
|
2416
|
-
Svg,
|
|
2417
|
-
{
|
|
2418
|
-
type: "image",
|
|
2419
|
-
testId: "source-of-funds-getting-started-icon",
|
|
2420
|
-
name: "source-of-funds"
|
|
2421
|
-
}
|
|
2422
|
-
),
|
|
2417
|
+
media: /* @__PURE__ */ jsx(Image, { lazyLoadedImage: digitalWallet }),
|
|
2423
2418
|
title: i18n.get("fundingSourcesForFinancialProducts"),
|
|
2424
2419
|
description: i18n.get("inTheNextStepWellCollectInformation"),
|
|
2425
2420
|
actions: /* @__PURE__ */ jsxs(Fragment, { children: [
|