@adyen/kyc-components 3.86.0 → 3.86.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AcceptTermsOfServiceComponent-CfKATf4g.js → AcceptTermsOfServiceComponent-BVY0Kf_o.js} +14 -14
- package/dist/{Accordion-Dnp7WhUx.js → Accordion-91BcWEBL.js} +1 -1
- package/dist/{AccountSetupRejected-BSJJfRWV.js → AccountSetupRejected-8vWKVkOp.js} +4 -4
- package/dist/{Address-Bl_bd5Lp.js → Address-B9YzVGZT.js} +7 -7
- package/dist/{Alert-B9R4X_XM.js → Alert-DEGXvrrH.js} +2 -2
- package/dist/{Avatar-DZ9JX3Cp.js → Avatar-BJjsWUzm.js} +1 -1
- package/dist/{BusinessDetailsMultiformDropin-BjGT2ZQS.js → BusinessDetailsMultiformDropin-Cy9HaWpT.js} +29 -29
- package/dist/{BusinessFinancingComponent-C9ugIBel.js → BusinessFinancingComponent-CpIKV1a9.js} +4 -4
- package/dist/{BusinessFinancingDropin-DGpBmbBn.js → BusinessFinancingDropin-Cfi6rfMX.js} +19 -19
- package/dist/{BusinessFinancingPage-zaSDXCpl.js → BusinessFinancingPage-Dn9ttCeq.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-BCe-2fB6.js → BusinessTypeSelectionPage-CzTjZljE.js} +8 -8
- package/dist/{Card-TkGAmjC5.js → Card-CamgqGQg.js} +2 -2
- package/dist/{ConstitutionalDocument-CalFzHjn.js → ConstitutionalDocument-SgL4VE7N.js} +2 -2
- package/dist/{CountryField-mxgVAmFp.js → CountryField-7T0ok8-F.js} +4 -4
- package/dist/{CreateIndividualComponent-DS6uGwYF.js → CreateIndividualComponent-CCxjyFxM.js} +5 -5
- package/dist/{CreateTransferInstrumentComponent-CQ00ZVZa.js → CreateTransferInstrumentComponent-BdEFl1e2.js} +4 -4
- package/dist/{Currency-DSYdE9Qs.js → Currency-CgELDOGM.js} +4 -4
- package/dist/{CustomerSupport-DRLtpWUp.js → CustomerSupport-CcrFuQuU.js} +9 -9
- package/dist/{DebugModal-BI1D0dD9.js → DebugModal-CeTdbcLa.js} +8 -8
- package/dist/{DecisionMakerDetailsPage-D3CS4w0h.js → DecisionMakerDetailsPage-Bveh2HS8.js} +6 -6
- package/dist/{DecisionMakers-q__qndMm.js → DecisionMakers-DK-p6QZ4.js} +17 -17
- package/dist/{EmbeddedStatus-5OzDMQUR.js → EmbeddedStatus-BJFEiPCo.js} +2 -2
- package/dist/{EndStateLayout-BmWri3S5.js → EndStateLayout-oq3hessP.js} +1 -1
- package/dist/{FormFlow-8pfRbKmA.js → FormFlow-YM36lwbi.js} +7 -7
- package/dist/{FormNavigation-C2KywHXa.js → FormNavigation-Dxip95_p.js} +3 -3
- package/dist/{FormWrapper-CZhSGUa3.js → FormWrapper-DDF6oVbX.js} +9 -9
- package/dist/{IndividualOnfido-n3WaW67J.js → IndividualOnfido-Fk4358yi.js} +27 -20
- package/dist/{IndividualOnfidoDropin-DZrlWtK6.js → IndividualOnfidoDropin-Dcxbxqyv.js} +24 -24
- package/dist/{InputText-BIySwrmu.js → InputText-Df4gAUZh.js} +2 -2
- package/dist/{Introduction-Bt9gH0G5.js → Introduction-DfYpYbcJ.js} +3 -3
- package/dist/{JpAddress-bHP50zUD.js → JpAddress-SoI-kPtx.js} +7 -7
- package/dist/{LegalRepresentativeDetailsPage-D4aN-DTv.js → LegalRepresentativeDetailsPage-LIOyJg4c.js} +4 -4
- package/dist/{ListItem-CILPfTHI.js → ListItem-rPU0f2Fm.js} +2 -2
- package/dist/{ManageIndividualComponent-CbiGSFJ_.js → ManageIndividualComponent-RQAI7rXm.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-rvk5MSmL.js → ManageTermsOfServiceComponent-D_G-SXyT.js} +4 -4
- package/dist/{ManageTransferInstrumentComponent-D2GUV6zp.js → ManageTransferInstrumentComponent-BBcRCuJy.js} +11 -11
- package/dist/{MaybeModal-CZ-qmMqV.js → MaybeModal--CLRWD1s.js} +2 -2
- package/dist/{Modal-GSjDUwX-.js → Modal-iDUygbmj.js} +1 -1
- package/dist/{OnboardingDropinComponent-BGpgGBrU.js → OnboardingDropinComponent-D099ni7y.js} +49 -49
- package/dist/{PayoutDetailsDropin-kdkNvTHM.js → PayoutDetailsDropin-B32FgDVa.js} +23 -23
- package/dist/{Review-CN-S9UCT.js → Review-BieiU6Bj.js} +7 -7
- package/dist/{RootBusinessDetailsPage-CyQjjBhL.js → RootBusinessDetailsPage-CzCOVWUz.js} +4 -4
- package/dist/{RootBusinessLinesPage-BhiDzu7x.js → RootBusinessLinesPage-DCyO70k-.js} +19 -19
- package/dist/{RootIndividualDetailsPage-BsagBZYZ.js → RootIndividualDetailsPage-Cd5GMovg.js} +6 -6
- package/dist/{SignPCIComponent-o50WXRbZ.js → SignPCIComponent-BWX16DU2.js} +9 -9
- package/dist/{SingpassSelection-L1vBg267.js → SingpassSelection-FHw-MK6p.js} +3 -3
- package/dist/{SoleProprietorshipPage-Cz21B5bv.js → SoleProprietorshipPage-6vR7-HxX.js} +3 -3
- package/dist/{SourceOfFundsPage-OPzX7pfM.js → SourceOfFundsPage-yYUX_mB1.js} +23 -23
- package/dist/{StepProgressIndicator-C26xG3ak.js → StepProgressIndicator-BKjO-p7q.js} +1 -1
- package/dist/{StoreProvider-Cvqvt7fn.js → StoreProvider-D5ulo2rw.js} +4 -4
- package/dist/{TaskItemStatus-BAtPrryh.js → TaskItemStatus-Nan4oFfZ.js} +2 -2
- package/dist/{TaxReportingDropin-9nQHRCS4.js → TaxReportingDropin-C7tBz_HD.js} +14 -14
- package/dist/{TrustDetailsPage-Bx_Pm5Sl.js → TrustDetailsPage-C8can-Xq.js} +22 -22
- package/dist/{TrustMemberCompanyPage-BoxMy_a_.js → TrustMemberCompanyPage-qET9I3kG.js} +4 -4
- package/dist/{TrustMemberIndividualPage-D6n7VhnN.js → TrustMemberIndividualPage-DjX90Xw0.js} +4 -4
- package/dist/{UnincorporatedPartnershipIndividualPage-ZQG0A9HG.js → UnincorporatedPartnershipIndividualPage-DCooy6p5.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-D9n1kJdM.js → UnincorporatedPartnershipMemberCompanyPage-D6PZ7scU.js} +4 -4
- package/dist/{VerificationErrorAlert-D18WmRyf.js → VerificationErrorAlert-CF1LmYbX.js} +3 -3
- package/dist/{ViewVerificationStatusComponent-Fc0L-JN4.js → ViewVerificationStatusComponent-BlsnI0_q.js} +3 -3
- package/dist/adyen-business-financing.js +2 -2
- package/dist/adyen-individual-configuration.js +2 -2
- package/dist/adyen-individual-status.js +2 -2
- package/dist/adyen-kyc-components.js +20 -20
- package/dist/adyen-onboarding.js +2 -2
- package/dist/adyen-terms-of-service-management.js +2 -2
- package/dist/adyen-terms-of-service-status.js +2 -2
- package/dist/adyen-transfer-instrument-configuration.js +2 -2
- package/dist/adyen-transfer-instrument-management.js +2 -2
- package/dist/adyen-verification-status.js +2 -2
- package/dist/{debouncedInputEvent-BDf19z5H.js → debouncedInputEvent-CyPh7Jut.js} +1 -1
- package/dist/{documentUtils-DahfSV2D.js → documentUtils-BVfwPbes.js} +2 -2
- package/dist/{dropinUtils-DFscjCzE.js → dropinUtils-BtlFEX2l.js} +3 -3
- package/dist/en-US-fyGPkcqX.js +13 -0
- package/dist/{fieldConfigurations-BCj1wotL.js → fieldConfigurations-3fpT3_M4.js} +7 -7
- package/dist/{getFieldsWithExistingData-C_5HXg3J.js → getFieldsWithExistingData-cmIvyqeB.js} +1 -1
- package/dist/{getName-B1o2b2LX.js → getName-kAK38EDQ.js} +1 -1
- package/dist/{hasDataChanged-Bn31Z0Rf.js → hasDataChanged-CKu1mtd4.js} +1 -1
- package/dist/{iframeWidget-DtoLjCYK.js → iframeWidget-DE7E0d84.js} +3 -3
- package/dist/{localizeDateString-4aQPK6sB.js → localizeDateString-DZGFmzCU.js} +1 -1
- package/dist/{mapExistingFile-lDnF81cv.js → mapExistingFile-DWZK4Cx3.js} +2 -2
- package/dist/{mapFinancialReportsToFinancialInformation-5skum6Qk.js → mapFinancialReportsToFinancialInformation-CNBtzgSm.js} +2 -2
- package/dist/{mapJpAddressSchemaToAddressLocalizations-iYMAONXA.js → mapJpAddressSchemaToAddressLocalizations-maXV4w9Y.js} +2 -2
- package/dist/{mapLegalEntityToIndividualOnfidoSchema-CZ8Op1Il.js → mapLegalEntityToIndividualOnfidoSchema-DgEr82YO.js} +2 -2
- package/dist/{mapTransferInstrumentToPayoutAccount-l-kGyc4S.js → mapTransferInstrumentToPayoutAccount-BLGiIN3F.js} +1 -1
- package/dist/{process-field-configurations-Dt6THVwE.js → process-field-configurations-DTbjZ2Ba.js} +2 -2
- package/dist/{resolveEnvironment-9sxvxhUS.js → resolveEnvironment-_F64mdFt.js} +3 -3
- package/dist/{rules-BjmEJdfD.js → rules-B5Wj5fOs.js} +3 -3
- package/dist/{trackNavigation-DYYVv6_y.js → trackNavigation-BqVwjsnq.js} +3 -3
- package/dist/{types-Db4qB5S5.js → types-BotCiAsS.js} +1 -1
- package/dist/{types-BQTi6XU4.js → types-HUapLQPm.js} +1 -1
- package/dist/{useAssociatedLegalEntity-D9WaVhuE.js → useAssociatedLegalEntity-Bq4xqtW3.js} +1 -1
- package/dist/{useDataset-CKGFlO8U.js → useDataset-CEyDAv2X.js} +2 -2
- package/dist/{useMultiForm-DfGnG4oT.js → useMultiForm-BPP4MrG7.js} +3 -3
- package/dist/{useOnboardingStatus-CIPOAtmO.js → useOnboardingStatus-CpHkIc0T.js} +1 -1
- package/dist/{useScenarios-CpiyRA2D.js → useScenarios-g0Sa8erQ.js} +1 -1
- package/dist/{useTermsOfServiceStatus-DYF8KAVC.js → useTermsOfServiceStatus-OYOtgP5P.js} +1 -1
- package/dist/{useToastContext-lvmkWAhW.js → useToastContext-B8TQfggU.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-BVLE8Ovp.js → useUnincorporatedPartnershipMembers-DzH5PVVq.js} +5 -5
- package/dist/{utils-CgVxixWT.js → utils-BsqxcaEZ.js} +5 -5
- package/dist/{validate-g4LgLk_u.js → validate-C5qQw3nm.js} +1 -1
- package/dist/{validate-DusGGHsF.js → validate-IIxt8CTj.js} +1 -1
- package/dist/{validationError-C0UYDiYL.js → validationError-xPD_qng0.js} +1 -1
- package/package.json +1 -1
- package/dist/en-US-CTZwL084.js +0 -13
|
@@ -8,16 +8,16 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
|
-
import { c as useLegalEntity, R as ROOT_LE, L as Loader, M as EntityTypes, u as useTranslation, a1 as useAnalyticsContext, a3 as useQueryClient, P as createLogger } from "./StoreProvider-
|
|
11
|
+
import { c as useLegalEntity, R as ROOT_LE, L as Loader, M as EntityTypes, u as useTranslation, a1 as useAnalyticsContext, a3 as useQueryClient, P as createLogger } from "./StoreProvider-D5ulo2rw.js";
|
|
12
12
|
import { useCallback, useMemo, useEffect } from "preact/hooks";
|
|
13
|
-
import { k as useUpdateLegalEntity } from "./Address-
|
|
14
|
-
import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-
|
|
15
|
-
import { H as Header, E as ErrorPanel, c as createFormUtils } from "./CountryField-
|
|
16
|
-
import { u as useToastContext } from "./useToastContext-
|
|
17
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
18
|
-
import { i as useCapabilityProblems, k as getProblemsForEntity, r as resolveFieldMetadata } from "./fieldConfigurations-
|
|
19
|
-
import { A as ActionBar } from "./FormNavigation-
|
|
20
|
-
import { E as defaultFieldMetadata, F as fieldConfig, I as getAsyncPhoneValidationRules, a0 as ContactDetails } from "./IndividualOnfido-
|
|
13
|
+
import { k as useUpdateLegalEntity } from "./Address-B9YzVGZT.js";
|
|
14
|
+
import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-IIxt8CTj.js";
|
|
15
|
+
import { H as Header, E as ErrorPanel, c as createFormUtils } from "./CountryField-7T0ok8-F.js";
|
|
16
|
+
import { u as useToastContext } from "./useToastContext-B8TQfggU.js";
|
|
17
|
+
import { u as useMultiForm } from "./useMultiForm-BPP4MrG7.js";
|
|
18
|
+
import { i as useCapabilityProblems, k as getProblemsForEntity, r as resolveFieldMetadata } from "./fieldConfigurations-3fpT3_M4.js";
|
|
19
|
+
import { A as ActionBar } from "./FormNavigation-Dxip95_p.js";
|
|
20
|
+
import { E as defaultFieldMetadata, F as fieldConfig, I as getAsyncPhoneValidationRules, a0 as ContactDetails } from "./IndividualOnfido-Fk4358yi.js";
|
|
21
21
|
const mapCustomerSupportSchemaToCustomerSupportType = (customerSupport) => {
|
|
22
22
|
return {
|
|
23
23
|
email: customerSupport?.customerSupport?.email || "",
|
|
@@ -2,23 +2,23 @@
|
|
|
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] = "27cc9f3c-6e86-4b96-ac7d-ddfa10f10cce", e._sentryDebugIdIdentifier = "sentry-dbid-27cc9f3c-6e86-4b96-ac7d-ddfa10f10cce");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo, useState } from "preact/hooks";
|
|
12
|
-
import { B as Button, a0 as entriesOf, u as useTranslation, bz as splitTaskIdentifier, $ as useExperimentsContext, m as useSettingsContext, W as useI18nContext, a9 as useGlobalStore, aC as listToRecord, bA as valuesOf, P as createLogger, a4 as Icon } from "./StoreProvider-
|
|
13
|
-
import { M as Modal } from "./Modal-
|
|
12
|
+
import { B as Button, a0 as entriesOf, u as useTranslation, bz as splitTaskIdentifier, $ as useExperimentsContext, m as useSettingsContext, W as useI18nContext, a9 as useGlobalStore, aC as listToRecord, bA as valuesOf, P as createLogger, a4 as Icon } from "./StoreProvider-D5ulo2rw.js";
|
|
13
|
+
import { M as Modal } from "./Modal-iDUygbmj.js";
|
|
14
14
|
import { E as ExperimentNames } from "./types-DQVZ5BSQ.js";
|
|
15
|
-
import { I as InputText, S as SettingNames } from "./InputText-
|
|
15
|
+
import { I as InputText, S as SettingNames } from "./InputText-Df4gAUZh.js";
|
|
16
16
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
17
|
-
import { A as Accordion } from "./Accordion-
|
|
18
|
-
import { C as Checkbox } from "./debouncedInputEvent-
|
|
17
|
+
import { A as Accordion } from "./Accordion-91BcWEBL.js";
|
|
18
|
+
import { C as Checkbox } from "./debouncedInputEvent-CyPh7Jut.js";
|
|
19
19
|
import { f as formDebugInfo } from "./debugStore-BvbyN1Oi.js";
|
|
20
20
|
import MonogonCode from "monogon/preact";
|
|
21
|
-
import { T as TaskItemStatus } from "./TaskItemStatus-
|
|
21
|
+
import { T as TaskItemStatus } from "./TaskItemStatus-Nan4oFfZ.js";
|
|
22
22
|
const tabs = "adyen-kyc-tabs";
|
|
23
23
|
const styles$3 = {
|
|
24
24
|
tabs
|
|
@@ -327,7 +327,7 @@ const DebugModal = ({ onExit }) => {
|
|
|
327
327
|
const rootLegalEntity = useGlobalStore().rootLegalEntity.value;
|
|
328
328
|
const formDebugAvailable = Object.keys(formDebugInfo.value).length > 0;
|
|
329
329
|
const metadata = {
|
|
330
|
-
sdkVersion: "3.86.
|
|
330
|
+
sdkVersion: "3.86.2",
|
|
331
331
|
locale: i18n.locale,
|
|
332
332
|
rootLegalEntityId: rootLegalEntity.id
|
|
333
333
|
};
|
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as useLegalEntity, r as skipToken, $ as useExperimentsContext, g as getLegalEntityCountry, u as useTranslation, a as addResourceBundles, L as Loader, ap as isOnfidoAutofillFlowEnabled, a5 as noop, O as TaskTypes, M as EntityTypes, z as LegalEntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { c as useLegalEntity, r as skipToken, $ as useExperimentsContext, g as getLegalEntityCountry, u as useTranslation, a as addResourceBundles, L as Loader, ap as isOnfidoAutofillFlowEnabled, a5 as noop, O as TaskTypes, M as EntityTypes, z as LegalEntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-D5ulo2rw.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { u as useScenarios } from "./useScenarios-
|
|
13
|
-
import { i as useCapabilityProblems, k as getProblemsForEntity } from "./fieldConfigurations-
|
|
14
|
-
import { y as isBafinSignatoryFlow, aa as removeIdVerificationProblemsForBafinSignatory } from "./IndividualOnfido-
|
|
15
|
-
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-
|
|
12
|
+
import { u as useScenarios } from "./useScenarios-g0Sa8erQ.js";
|
|
13
|
+
import { i as useCapabilityProblems, k as getProblemsForEntity } from "./fieldConfigurations-3fpT3_M4.js";
|
|
14
|
+
import { y as isBafinSignatoryFlow, aa as removeIdVerificationProblemsForBafinSignatory } from "./IndividualOnfido-Fk4358yi.js";
|
|
15
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-Dcxbxqyv.js";
|
|
16
16
|
function DecisionMakerDetailsPage({
|
|
17
17
|
decisionMakerId,
|
|
18
18
|
parentCompanyId,
|
|
@@ -38,7 +38,7 @@ function DecisionMakerDetailsPage({
|
|
|
38
38
|
);
|
|
39
39
|
const { i18n } = useTranslation();
|
|
40
40
|
addResourceBundles(i18n, i18n.language, [
|
|
41
|
-
{ ns: "individual", importFn: () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../language/bg-BG.json": () => import("./bg-BG-a6CQ0hKw.js"), "../language/cs-CZ.json": () => import("./cs-CZ-BAr1-JAS.js"), "../language/da-DK.json": () => import("./da-DK-DoHb4ssx.js"), "../language/de-DE.json": () => import("./de-DE-R6YgDOo5.js"), "../language/el-GR.json": () => import("./el-GR-DgaUGjyJ.js"), "../language/en-US.json": () => import("./en-US-
|
|
41
|
+
{ ns: "individual", importFn: () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../language/bg-BG.json": () => import("./bg-BG-a6CQ0hKw.js"), "../language/cs-CZ.json": () => import("./cs-CZ-BAr1-JAS.js"), "../language/da-DK.json": () => import("./da-DK-DoHb4ssx.js"), "../language/de-DE.json": () => import("./de-DE-R6YgDOo5.js"), "../language/el-GR.json": () => import("./el-GR-DgaUGjyJ.js"), "../language/en-US.json": () => import("./en-US-fyGPkcqX.js"), "../language/es-ES.json": () => import("./es-ES-dMSfTLXF.js"), "../language/et-EE.json": () => import("./et-EE-l977xCZ_.js"), "../language/fi-FI.json": () => import("./fi-FI-0ScajGUB.js"), "../language/fr-FR.json": () => import("./fr-FR-CqCcxkgA.js"), "../language/hr-HR.json": () => import("./hr-HR-CoCrArfg.js"), "../language/hu-HU.json": () => import("./hu-HU-BrxUJuJh.js"), "../language/it-IT.json": () => import("./it-IT-CNS4NmYX.js"), "../language/ja-JP.json": () => import("./ja-JP-BxEWI56P.js"), "../language/lt-LT.json": () => import("./lt-LT-D1viSP-v.js"), "../language/lv-LV.json": () => import("./lv-LV-AkiOewnL.js"), "../language/nl-NL.json": () => import("./nl-NL-VneIcgWO.js"), "../language/no-NO.json": () => import("./no-NO-Dqp598Ox.js"), "../language/pl-PL.json": () => import("./pl-PL-Zdh_Xu43.js"), "../language/pt-BR.json": () => import("./pt-BR-DqLaaG4L.js"), "../language/pt-PT.json": () => import("./pt-PT-uiREjC_e.js"), "../language/ro-RO.json": () => import("./ro-RO-C835aMET.js"), "../language/sk-SK.json": () => import("./sk-SK-D6KtBU3q.js"), "../language/sl-SI.json": () => import("./sl-SI-wYYQibM-.js"), "../language/sv-SE.json": () => import("./sv-SE-uisfAT9L.js") }), `../language/${i18n.language}.json`, 3) }
|
|
42
42
|
]);
|
|
43
43
|
if (!parentCompanyLe || decisionMakerId && !decisionMakerLe) {
|
|
44
44
|
return /* @__PURE__ */ jsx(Loader, {});
|
|
@@ -7,25 +7,25 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { at as DecisionMakerTypes, b9 as drop, aG as cloneObject, u as useTranslation, c as useLegalEntity, B as Button, L as Loader, y as Typography, a1 as useAnalyticsContext, R as ROOT_LE, a as addResourceBundles, a8 as useGetTaskStatus, $ as useExperimentsContext, M as EntityTypes, N as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING, b2 as getOwnDecisionMakers, ax as getAvailableDecisionMakerRoleTypes, O as TaskTypes, U as TaskStatuses, ba as getAllowedDecisionMakerRoles, ak as Trans, _ as __variableDynamicImportRuntimeHelper, z as LegalEntityTypes } from "./StoreProvider-
|
|
10
|
+
import { at as DecisionMakerTypes, b9 as drop, aG as cloneObject, u as useTranslation, c as useLegalEntity, B as Button, L as Loader, y as Typography, a1 as useAnalyticsContext, R as ROOT_LE, a as addResourceBundles, a8 as useGetTaskStatus, $ as useExperimentsContext, M as EntityTypes, N as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING, b2 as getOwnDecisionMakers, ax as getAvailableDecisionMakerRoleTypes, O as TaskTypes, U as TaskStatuses, ba as getAllowedDecisionMakerRoles, ak as Trans, _ as __variableDynamicImportRuntimeHelper, z as LegalEntityTypes } from "./StoreProvider-D5ulo2rw.js";
|
|
11
11
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
12
12
|
import { useState, useMemo, useEffect } from "preact/hooks";
|
|
13
|
-
import { u as useScenarios } from "./useScenarios-
|
|
14
|
-
import { t as mapAddressLabels, k as useUpdateLegalEntity } from "./Address-
|
|
15
|
-
import { S as StackLayout, L as List, H as Header } from "./CountryField-
|
|
16
|
-
import { L as ListItem } from "./ListItem-
|
|
17
|
-
import { M as Modal } from "./Modal-
|
|
18
|
-
import { u as useToastContext } from "./useToastContext-
|
|
19
|
-
import { e as useDataMissingRemediations, D as DropinLayout, f as EntityGuidanceStatus, i as iconStatus, g as EntityAssociation } from "./OnboardingDropinComponent-
|
|
20
|
-
import { a as Alert } from "./Alert-
|
|
21
|
-
import { I as Image, i as useCapabilityProblems, C as ContextGuidance } from "./fieldConfigurations-
|
|
22
|
-
import { A as ActionBar } from "./FormNavigation-
|
|
23
|
-
import { T as TaskItemStatus } from "./TaskItemStatus-
|
|
24
|
-
import { a as datasetUtilities, S as StructuredList, C as Confirm } from "./useDataset-
|
|
13
|
+
import { u as useScenarios } from "./useScenarios-g0Sa8erQ.js";
|
|
14
|
+
import { t as mapAddressLabels, k as useUpdateLegalEntity } from "./Address-B9YzVGZT.js";
|
|
15
|
+
import { S as StackLayout, L as List, H as Header } from "./CountryField-7T0ok8-F.js";
|
|
16
|
+
import { L as ListItem } from "./ListItem-rPU0f2Fm.js";
|
|
17
|
+
import { M as Modal } from "./Modal-iDUygbmj.js";
|
|
18
|
+
import { u as useToastContext } from "./useToastContext-B8TQfggU.js";
|
|
19
|
+
import { e as useDataMissingRemediations, D as DropinLayout, f as EntityGuidanceStatus, i as iconStatus, g as EntityAssociation } from "./OnboardingDropinComponent-D099ni7y.js";
|
|
20
|
+
import { a as Alert } from "./Alert-DEGXvrrH.js";
|
|
21
|
+
import { I as Image, i as useCapabilityProblems, C as ContextGuidance } from "./fieldConfigurations-3fpT3_M4.js";
|
|
22
|
+
import { A as ActionBar } from "./FormNavigation-Dxip95_p.js";
|
|
23
|
+
import { T as TaskItemStatus } from "./TaskItemStatus-Nan4oFfZ.js";
|
|
24
|
+
import { a as datasetUtilities, S as StructuredList, C as Confirm } from "./useDataset-CEyDAv2X.js";
|
|
25
25
|
import { D as DetailViewLayout } from "./DetailViewLayout-Z9cuUp4X.js";
|
|
26
|
-
import { m as mapLegalEntityToIndividualOnfidoSchema } from "./mapLegalEntityToIndividualOnfidoSchema-
|
|
27
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
28
|
-
import { _ as GuidanceQuestionValues, R as LandingLayout } from "./IndividualOnfido-
|
|
26
|
+
import { m as mapLegalEntityToIndividualOnfidoSchema } from "./mapLegalEntityToIndividualOnfidoSchema-DgEr82YO.js";
|
|
27
|
+
import { l as localizeDateString } from "./localizeDateString-DZGFmzCU.js";
|
|
28
|
+
import { _ as GuidanceQuestionValues, R as LandingLayout } from "./IndividualOnfido-Fk4358yi.js";
|
|
29
29
|
import { lazy } from "preact/compat";
|
|
30
30
|
const BENEFICIAL_OWNER_ROLES = [
|
|
31
31
|
DecisionMakerTypes.OWNER,
|
|
@@ -414,7 +414,7 @@ const DecisionMakers = (props) => {
|
|
|
414
414
|
const { data, isLoading } = useLegalEntity(ROOT_LE);
|
|
415
415
|
const { i18n } = useTranslation();
|
|
416
416
|
addResourceBundles(i18n, i18n.language, [
|
|
417
|
-
{ ns: "individual", importFn: () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../language/bg-BG.json": () => import("./bg-BG-a6CQ0hKw.js"), "../../language/cs-CZ.json": () => import("./cs-CZ-BAr1-JAS.js"), "../../language/da-DK.json": () => import("./da-DK-DoHb4ssx.js"), "../../language/de-DE.json": () => import("./de-DE-R6YgDOo5.js"), "../../language/el-GR.json": () => import("./el-GR-DgaUGjyJ.js"), "../../language/en-US.json": () => import("./en-US-
|
|
417
|
+
{ ns: "individual", importFn: () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../language/bg-BG.json": () => import("./bg-BG-a6CQ0hKw.js"), "../../language/cs-CZ.json": () => import("./cs-CZ-BAr1-JAS.js"), "../../language/da-DK.json": () => import("./da-DK-DoHb4ssx.js"), "../../language/de-DE.json": () => import("./de-DE-R6YgDOo5.js"), "../../language/el-GR.json": () => import("./el-GR-DgaUGjyJ.js"), "../../language/en-US.json": () => import("./en-US-fyGPkcqX.js"), "../../language/es-ES.json": () => import("./es-ES-dMSfTLXF.js"), "../../language/et-EE.json": () => import("./et-EE-l977xCZ_.js"), "../../language/fi-FI.json": () => import("./fi-FI-0ScajGUB.js"), "../../language/fr-FR.json": () => import("./fr-FR-CqCcxkgA.js"), "../../language/hr-HR.json": () => import("./hr-HR-CoCrArfg.js"), "../../language/hu-HU.json": () => import("./hu-HU-BrxUJuJh.js"), "../../language/it-IT.json": () => import("./it-IT-CNS4NmYX.js"), "../../language/ja-JP.json": () => import("./ja-JP-BxEWI56P.js"), "../../language/lt-LT.json": () => import("./lt-LT-D1viSP-v.js"), "../../language/lv-LV.json": () => import("./lv-LV-AkiOewnL.js"), "../../language/nl-NL.json": () => import("./nl-NL-VneIcgWO.js"), "../../language/no-NO.json": () => import("./no-NO-Dqp598Ox.js"), "../../language/pl-PL.json": () => import("./pl-PL-Zdh_Xu43.js"), "../../language/pt-BR.json": () => import("./pt-BR-DqLaaG4L.js"), "../../language/pt-PT.json": () => import("./pt-PT-uiREjC_e.js"), "../../language/ro-RO.json": () => import("./ro-RO-C835aMET.js"), "../../language/sk-SK.json": () => import("./sk-SK-D6KtBU3q.js"), "../../language/sl-SI.json": () => import("./sl-SI-wYYQibM-.js"), "../../language/sv-SE.json": () => import("./sv-SE-uisfAT9L.js") }), `../../language/${i18n.language}.json`, 4) }
|
|
418
418
|
]);
|
|
419
419
|
if (isLoading || !data) {
|
|
420
420
|
return /* @__PURE__ */ jsx(Loader, {});
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { A as Avatar } from "./Avatar-
|
|
13
|
-
import { U as TaskStatuses, u as useTranslation, w as Skeleton, y as Typography } from "./StoreProvider-
|
|
12
|
+
import { A as Avatar } from "./Avatar-BJjsWUzm.js";
|
|
13
|
+
import { U as TaskStatuses, u as useTranslation, w as Skeleton, y as Typography } from "./StoreProvider-D5ulo2rw.js";
|
|
14
14
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
15
15
|
import { O as OnboardingStatuses } from "./view-verification-status-VFcBydkR.js";
|
|
16
16
|
const embeddedStatus = "adyen-kyc-embedded-status";
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
12
|
import { isValidElement, cloneElement } from "preact";
|
|
13
|
-
import { B as Button, L as Loader, a4 as Icon } from "./StoreProvider-
|
|
13
|
+
import { B as Button, L as Loader, a4 as Icon } from "./StoreProvider-D5ulo2rw.js";
|
|
14
14
|
const endStateLayout = "adyen-kyc-end-state-layout";
|
|
15
15
|
const endStateLayoutHeader = "adyen-kyc-end-state-layout-header";
|
|
16
16
|
const endStateLayoutIcon = "adyen-kyc-end-state-layout-icon";
|
|
@@ -9,14 +9,14 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo, useRef, useState } from "preact/hooks";
|
|
12
|
-
import { F as FormContext } from "./Address-
|
|
12
|
+
import { F as FormContext } from "./Address-B9YzVGZT.js";
|
|
13
13
|
import cx from "classnames";
|
|
14
|
-
import { a1 as useAnalyticsContext, u as useTranslation, B as Button, Y as IconButton } from "./StoreProvider-
|
|
15
|
-
import { L as LoaderWrapper } from "./trackNavigation-
|
|
16
|
-
import { M as MaybeModal } from "./MaybeModal
|
|
17
|
-
import { F as FormRouterContextProvider } from "./dropinUtils-
|
|
18
|
-
import { C as Confirm } from "./useDataset-
|
|
19
|
-
import { h as Summary } from "./CountryField-
|
|
14
|
+
import { a1 as useAnalyticsContext, u as useTranslation, B as Button, Y as IconButton } from "./StoreProvider-D5ulo2rw.js";
|
|
15
|
+
import { L as LoaderWrapper } from "./trackNavigation-BqVwjsnq.js";
|
|
16
|
+
import { M as MaybeModal } from "./MaybeModal--CLRWD1s.js";
|
|
17
|
+
import { F as FormRouterContextProvider } from "./dropinUtils-BtlFEX2l.js";
|
|
18
|
+
import { C as Confirm } from "./useDataset-CEyDAv2X.js";
|
|
19
|
+
import { h as Summary } from "./CountryField-7T0ok8-F.js";
|
|
20
20
|
function FormContextProvider({
|
|
21
21
|
children,
|
|
22
22
|
form
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { B as Button, u as useTranslation, a4 as Icon, a1 as useAnalyticsContext, y as Typography } from "./StoreProvider-
|
|
11
|
+
import { B as Button, u as useTranslation, a4 as Icon, a1 as useAnalyticsContext, y as Typography } from "./StoreProvider-D5ulo2rw.js";
|
|
12
12
|
import cx from "classnames";
|
|
13
|
-
import { t as trackNavigation } from "./trackNavigation-
|
|
14
|
-
import { K as KEYBOARD_KEYS } from "./Modal-
|
|
13
|
+
import { t as trackNavigation } from "./trackNavigation-BqVwjsnq.js";
|
|
14
|
+
import { K as KEYBOARD_KEYS } from "./Modal-iDUygbmj.js";
|
|
15
15
|
const ActionBar = ({
|
|
16
16
|
onNext,
|
|
17
17
|
onBack,
|
|
@@ -9,15 +9,15 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useState } from "preact/hooks";
|
|
12
|
-
import { u as useTranslation, a1 as useAnalyticsContext, $ as useExperimentsContext, B as Button } from "./StoreProvider-
|
|
13
|
-
import { L as LoaderWrapper } from "./trackNavigation-
|
|
14
|
-
import { M as MaybeModal } from "./MaybeModal
|
|
15
|
-
import { a as ModalContent, c as ModalHeader, b as ModalFooter } from "./Modal-
|
|
16
|
-
import { S as Spacer } from "./getName-
|
|
17
|
-
import { S as StepProgressIndicator } from "./StepProgressIndicator-
|
|
18
|
-
import { F as FormRouterContextProvider } from "./dropinUtils-
|
|
19
|
-
import { F as FormNavigation } from "./FormNavigation-
|
|
20
|
-
import { f as summaryStep, h as Summary } from "./CountryField-
|
|
12
|
+
import { u as useTranslation, a1 as useAnalyticsContext, $ as useExperimentsContext, B as Button } from "./StoreProvider-D5ulo2rw.js";
|
|
13
|
+
import { L as LoaderWrapper } from "./trackNavigation-BqVwjsnq.js";
|
|
14
|
+
import { M as MaybeModal } from "./MaybeModal--CLRWD1s.js";
|
|
15
|
+
import { a as ModalContent, c as ModalHeader, b as ModalFooter } from "./Modal-iDUygbmj.js";
|
|
16
|
+
import { S as Spacer } from "./getName-kAK38EDQ.js";
|
|
17
|
+
import { S as StepProgressIndicator } from "./StepProgressIndicator-BKjO-p7q.js";
|
|
18
|
+
import { F as FormRouterContextProvider } from "./dropinUtils-BtlFEX2l.js";
|
|
19
|
+
import { F as FormNavigation } from "./FormNavigation-Dxip95_p.js";
|
|
20
|
+
import { f as summaryStep, h as Summary } from "./CountryField-7T0ok8-F.js";
|
|
21
21
|
const FormWrapper = ({
|
|
22
22
|
asModal = false,
|
|
23
23
|
summary,
|
|
@@ -2,29 +2,29 @@
|
|
|
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] = "c2ba5105-a8ff-4711-80b7-c59ae312124e", e._sentryDebugIdIdentifier = "sentry-dbid-c2ba5105-a8ff-4711-80b7-c59ae312124e");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useReducer, useMemo, useRef, useState, useEffect, useContext, useCallback } from "preact/hooks";
|
|
11
|
-
import { b as useApiContext, j as useQuery, k as httpPost, g as getLegalEntityCountry, V as CountryCodes, C as isPartOfTrustFromLegalEntity, z as LegalEntityTypes, G as hasSolePropInLegalEntity, aq as individualComponentsKeyMapping, ar as businessDetailsComponentsKeyMapping, X as isEmpty$1, u as useTranslation, a1 as useAnalyticsContext, B as Button, y as Typography, a4 as Icon, ao as objectsDeepEqual, c as useLegalEntity, R as ROOT_LE, as as Scenarios, at as DecisionMakerTypes, O as TaskTypes, ak as Trans, P as createLogger, W as useI18nContext, o as httpGet, au as SettingsContext, $ as useExperimentsContext, av as keysOf, K as useAccountHolder, a0 as entriesOf, m as useSettingsContext, aw as getLegalRepresentativeWarningMessage, a5 as noop, ax as getAvailableDecisionMakerRoleTypes, ay as allowedCountriesForNominee, az as isLowRiskCountry, L as Loader, aA as getAgeRangeForLegalRepresentative, aB as isLegalRepresentativeNeeded, a2 as useMutation, aC as listToRecord, aD as pick, Y as IconButton, x as translateStringOrObject } from "./StoreProvider-
|
|
12
|
-
import { j as TrustedFieldsProviders, m as makeMask, c as nonInputs, n as numericInputs, s as spacer, d as alphaInputs, l as customInputs, b as alphanumericInputs, v as validatePatternOnBlur, u as uppercase, o as defaultFileValidationOptions, p as fileValidationRules, S as StateContextSetter, D as DropzoneFile, q as bytesToSize, t as DocumentGuidance, T as TextArea, w as getLocalizedIdDocumentTypeOptions, R as RadioGroupCard, C as ContextGuidance, I as Image, a as validateNotEmptyOnBlur, x as createFormRules, M as MaskedInput, r as resolveFieldMetadata, y as InputEmail } from "./fieldConfigurations-
|
|
11
|
+
import { b as useApiContext, j as useQuery, k as httpPost, g as getLegalEntityCountry, V as CountryCodes, C as isPartOfTrustFromLegalEntity, z as LegalEntityTypes, G as hasSolePropInLegalEntity, aq as individualComponentsKeyMapping, ar as businessDetailsComponentsKeyMapping, X as isEmpty$1, u as useTranslation, a1 as useAnalyticsContext, B as Button, y as Typography, a4 as Icon, ao as objectsDeepEqual, c as useLegalEntity, R as ROOT_LE, as as Scenarios, at as DecisionMakerTypes, O as TaskTypes, ak as Trans, P as createLogger, W as useI18nContext, o as httpGet, au as SettingsContext, $ as useExperimentsContext, av as keysOf, K as useAccountHolder, a0 as entriesOf, m as useSettingsContext, aw as getLegalRepresentativeWarningMessage, a5 as noop, ax as getAvailableDecisionMakerRoleTypes, ay as allowedCountriesForNominee, az as isLowRiskCountry, L as Loader, aA as getAgeRangeForLegalRepresentative, aB as isLegalRepresentativeNeeded, a2 as useMutation, aC as listToRecord, aD as pick, Y as IconButton, x as translateStringOrObject } from "./StoreProvider-D5ulo2rw.js";
|
|
12
|
+
import { j as TrustedFieldsProviders, m as makeMask, c as nonInputs, n as numericInputs, s as spacer, d as alphaInputs, l as customInputs, b as alphanumericInputs, v as validatePatternOnBlur, u as uppercase, o as defaultFileValidationOptions, p as fileValidationRules, S as StateContextSetter, D as DropzoneFile, q as bytesToSize, t as DocumentGuidance, T as TextArea, w as getLocalizedIdDocumentTypeOptions, R as RadioGroupCard, C as ContextGuidance, I as Image, a as validateNotEmptyOnBlur, x as createFormRules, M as MaskedInput, r as resolveFieldMetadata, y as InputEmail } from "./fieldConfigurations-3fpT3_M4.js";
|
|
13
13
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
14
|
-
import { l as useProviderStatus, R as RadioGroup, n as isDateOlderThanAYear, C as COUNTRIES_WITH_STATES_DATASET, I as InputDate, f as formatDateObj, i as useFormContext, p as addressFields, A as Address, g as getAddressSchemaForCountry, e as getAddressSchemaLabelsByCountry, q as RadioWithLabel } from "./Address-
|
|
15
|
-
import { c as createFormUtils, H as Header, E as ErrorPanel, a as Link, m as mergeFieldMetadataIntoProps, r as roleMetadata, d as getFieldProps, j as isTruthyValidator, C as CountryField, g as getFormProps, S as StackLayout, u as useFormRouterContext } from "./CountryField-
|
|
14
|
+
import { l as useProviderStatus, R as RadioGroup, n as isDateOlderThanAYear, C as COUNTRIES_WITH_STATES_DATASET, I as InputDate, f as formatDateObj, i as useFormContext, p as addressFields, A as Address, g as getAddressSchemaForCountry, e as getAddressSchemaLabelsByCountry, q as RadioWithLabel } from "./Address-B9YzVGZT.js";
|
|
15
|
+
import { c as createFormUtils, H as Header, E as ErrorPanel, a as Link, m as mergeFieldMetadataIntoProps, r as roleMetadata, d as getFieldProps, j as isTruthyValidator, C as CountryField, g as getFormProps, S as StackLayout, u as useFormRouterContext } from "./CountryField-7T0ok8-F.js";
|
|
16
16
|
import { memo, lazy, forwardRef, Suspense } from "preact/compat";
|
|
17
|
-
import { a as useForm, F as Field, S as Select, L as LoaderWrapper, b as SelectListItem, c as useId } from "./trackNavigation-
|
|
18
|
-
import { I as InputText, S as SettingNames } from "./InputText-
|
|
19
|
-
import { a as Alert } from "./Alert-
|
|
17
|
+
import { a as useForm, F as Field, S as Select, L as LoaderWrapper, b as SelectListItem, c as useId } from "./trackNavigation-BqVwjsnq.js";
|
|
18
|
+
import { I as InputText, S as SettingNames } from "./InputText-Df4gAUZh.js";
|
|
19
|
+
import { a as Alert } from "./Alert-DEGXvrrH.js";
|
|
20
20
|
import { signal, computed } from "@preact/signals";
|
|
21
|
-
import { u as useDataset, d as datasetIdentifier, C as Confirm, a as datasetUtilities } from "./useDataset-
|
|
21
|
+
import { u as useDataset, d as datasetIdentifier, C as Confirm, a as datasetUtilities } from "./useDataset-CEyDAv2X.js";
|
|
22
22
|
import cx from "classnames";
|
|
23
|
-
import { K as KEYBOARD_KEYS, M as Modal } from "./Modal-
|
|
24
|
-
import { C as Checkbox } from "./debouncedInputEvent-
|
|
23
|
+
import { K as KEYBOARD_KEYS, M as Modal } from "./Modal-iDUygbmj.js";
|
|
24
|
+
import { C as Checkbox } from "./debouncedInputEvent-CyPh7Jut.js";
|
|
25
25
|
import { Onfido } from "onfido-sdk-ui";
|
|
26
|
-
import { S as Spacer } from "./getName-
|
|
27
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
26
|
+
import { S as Spacer } from "./getName-kAK38EDQ.js";
|
|
27
|
+
import { l as localizeDateString } from "./localizeDateString-DZGFmzCU.js";
|
|
28
28
|
async function convertToSingpassLinkResponse(openIdInitiateResponse) {
|
|
29
29
|
const response = await Promise.resolve(openIdInitiateResponse);
|
|
30
30
|
const item = { authUrl: response.authUrl, success: true };
|
|
@@ -7620,7 +7620,7 @@ const additionalIdentityInfoFields = [
|
|
|
7620
7620
|
"expiryDate"
|
|
7621
7621
|
];
|
|
7622
7622
|
const LazyJpAddress = lazy(
|
|
7623
|
-
async () => (await import("./JpAddress-
|
|
7623
|
+
async () => (await import("./JpAddress-SoI-kPtx.js")).JpAddress
|
|
7624
7624
|
);
|
|
7625
7625
|
const additionalPersonalDetailsFields = [
|
|
7626
7626
|
"birthDate",
|
|
@@ -8729,7 +8729,9 @@ function IdVerificationMethod(props) {
|
|
|
8729
8729
|
};
|
|
8730
8730
|
if (hasLiveSelfieErrorCode && data.idVerificationMethod?.idVerificationMethod === "existingDocument") {
|
|
8731
8731
|
setStatus("ready");
|
|
8732
|
-
|
|
8732
|
+
if (hasExistingDocument) {
|
|
8733
|
+
handleFieldChange("idDocument")(void 0);
|
|
8734
|
+
}
|
|
8733
8735
|
}
|
|
8734
8736
|
const handleCancelDeleteDocument = () => {
|
|
8735
8737
|
setStatus("ready");
|
|
@@ -9290,6 +9292,9 @@ function IndividualOnfido(props) {
|
|
|
9290
9292
|
const { isExperimentEnabled } = useExperimentsContext();
|
|
9291
9293
|
const isGuidedDecisionMakersFlowEnabled = isExperimentEnabled("EnableGuidedDecisionMakersFlow") || isExperimentEnabled("DecisionMakersFlowOptimization_GuidedDecisionMakersFlow");
|
|
9292
9294
|
const isGuidedDecisionMakersFlowDisabled = isExperimentEnabled("DisableGuidedDecisionMakersFlow");
|
|
9295
|
+
const isRevampedDecisionMakersTaskPageEnabled = isExperimentEnabled(
|
|
9296
|
+
"EnableRevampedDecisionMakersTaskPage"
|
|
9297
|
+
);
|
|
9293
9298
|
const [isDecisionMakerNotRequiredModalOpen, setIsDecisionMakerNotRequiredModalOpen] = useState(false);
|
|
9294
9299
|
const [isDuplicateNameModalOpen, setIsDuplicateNameModalOpen] = useState(false);
|
|
9295
9300
|
const {
|
|
@@ -9335,7 +9340,7 @@ function IndividualOnfido(props) {
|
|
|
9335
9340
|
const { firstName, lastName } = data?.basicDetails ?? {};
|
|
9336
9341
|
const enteredFullName = useMemo(() => {
|
|
9337
9342
|
if (firstName && lastName) {
|
|
9338
|
-
return `${firstName} ${lastName}
|
|
9343
|
+
return `${firstName} ${lastName}`;
|
|
9339
9344
|
}
|
|
9340
9345
|
return null;
|
|
9341
9346
|
}, [firstName, lastName]);
|
|
@@ -9346,16 +9351,16 @@ function IndividualOnfido(props) {
|
|
|
9346
9351
|
);
|
|
9347
9352
|
}, [parentLegalEntity]);
|
|
9348
9353
|
const handleBasicDetailsNext = useCallback(() => {
|
|
9349
|
-
if (enteredFullName === null) {
|
|
9354
|
+
if (enteredFullName === null || !isRevampedDecisionMakersTaskPageEnabled) {
|
|
9350
9355
|
onNext?.();
|
|
9351
9356
|
return;
|
|
9352
9357
|
}
|
|
9353
|
-
if (existingNames.has(enteredFullName)) {
|
|
9358
|
+
if (existingNames.has(enteredFullName.toLowerCase())) {
|
|
9354
9359
|
setIsDuplicateNameModalOpen(true);
|
|
9355
9360
|
} else {
|
|
9356
9361
|
onNext?.();
|
|
9357
9362
|
}
|
|
9358
|
-
}, [enteredFullName, existingNames, onNext]);
|
|
9363
|
+
}, [enteredFullName, existingNames, onNext, isRevampedDecisionMakersTaskPageEnabled]);
|
|
9359
9364
|
useEffect(() => {
|
|
9360
9365
|
if (propActiveForm.formId === uboQuestionnaireFormID) {
|
|
9361
9366
|
setNextHandler?.(() => handleNextForPersonNotRequired);
|
|
@@ -9590,7 +9595,9 @@ function IndividualOnfido(props) {
|
|
|
9590
9595
|
Confirm,
|
|
9591
9596
|
{
|
|
9592
9597
|
title: individualT(($) => $["thisPersonAlreadyExists"]),
|
|
9593
|
-
description: individualT(($) => $["doYouWantToUpdateTheirExistingDetails"]
|
|
9598
|
+
description: individualT(($) => $["doYouWantToUpdateTheirExistingDetails"], {
|
|
9599
|
+
name: enteredFullName ?? ""
|
|
9600
|
+
}),
|
|
9594
9601
|
onConfirm: handleCloseModalAndGoToOverview,
|
|
9595
9602
|
confirmText: individualT(($) => $["updateExistingDetails"]),
|
|
9596
9603
|
onCancel: handleCloseModalAndContinue,
|
|
@@ -9,35 +9,35 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo, useState, useEffect, useCallback, useRef } from "preact/hooks";
|
|
12
|
-
import { u as useScenarios } from "./useScenarios-
|
|
13
|
-
import { l as useProviderStatus, r as addressValidators, s as addressFormatters, j as useCreateLegalEntity, k as useUpdateLegalEntity, t as mapAddressLabels } from "./Address-
|
|
14
|
-
import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-
|
|
15
|
-
import { b as useApiContext, a2 as useMutation, k as httpPost, aJ as matchesRegex, aV as trimValWithOneSpace, aK as NO_ALPHABET_REGEX, aL as EMOJI_REGEX, aM as hasRepeatedCharacters, aN as isInvalidName, aW as INDIVIDUAL_VALID_CHAR_REGEX, aT as getFormattingRegEx, aU as SPECIAL_CHARS, aQ as standardKatakanaValidator, aR as standardKanjiValidator, V as CountryCodes, X as isEmpty, O as TaskTypes, z as LegalEntityTypes, b5 as getAgeToday, b6 as euCountries, b7 as individualApiKeyMapping, aq as individualComponentsKeyMapping, b3 as reverseMapping, b8 as getNomineeFromAssociation, b9 as drop, P as createLogger, K as useAccountHolder, W as useI18nContext, a1 as useAnalyticsContext, $ as useExperimentsContext, m as useSettingsContext, g as getLegalEntityCountry, ba as getAllowedDecisionMakerRoles, bb as filterOutUnwantedAssociationsIfRootLE, aG as cloneObject, bc as individualDocumentMapping, bd as individualObscuredFields, ag as getOwnEntityAssociations, be as hasNomineesChanged, bf as attachNomineeToRole, a_ as doArraysMatch, j as useQuery, r as skipToken, o as httpGet, u as useTranslation, a3 as useQueryClient, B as Button, L as Loader, bg as individualOnfidoApiKeyMapping, as as Scenarios, at as DecisionMakerTypes, bh as individualOnfidoDocumentMapping, bi as individualOnfidoObscuredFields } from "./StoreProvider-
|
|
16
|
-
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-
|
|
17
|
-
import { u as useToastContext } from "./useToastContext-
|
|
18
|
-
import { g as getPropsFromConfigurations, c as composePerScenarioFormConfigurations } from "./process-field-configurations-
|
|
19
|
-
import { A as getSSNType, B as defaultFieldMetadata, D as defaultFieldConfig, E as defaultFieldMetadata$1, F as fieldConfig, t as taxInformationDefaultFieldMetadata, h as taxInformationDefaultFieldConfig, G as isEmpty$1, x as useSingpassMyInfoLogin, H as getAsyncIdNumberValidationRule, I as getAsyncPhoneValidationRules, J as setHasMotionCaptureScenario, K as showIndividualMotionCapture, p as individualForms, L as Individual, O as individualDocumentForms, P as idVerificationProviderId, Q as idNowModalChildEntityId, R as LandingLayout, z as showIdNowModal, U as check4DigitSsnFailed, V as individualOnfidoRules, o as individualOnfidoForms, W as isNextStepDisabled, X as shouldShowIdNowModal, Y as IndividualOnfido, Z as JP_ADDRESS_REQUIRED_FIELDS, _ as GuidanceQuestionValues, $ as DECISION_MAKER_TYPES_WITH_JOBTITLE$1 } from "./IndividualOnfido-
|
|
20
|
-
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
21
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
22
|
-
import { m as mapExistingFile, g as getPageName, a as getPage, u as useScenarioConfiguration } from "./mapExistingFile-
|
|
23
|
-
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-
|
|
24
|
-
import { g as getIdDocument, a as getDocument, c as createDocumentRequest, d as documentApiUtils, m as mergeAttachments, b as getFileExtention } from "./documentUtils-
|
|
25
|
-
import { a as datasetUtilities, C as Confirm } from "./useDataset-
|
|
26
|
-
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-
|
|
27
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
28
|
-
import { o as omitObscuredFieldsIfUnchanged, I as IFrameWidget } from "./iframeWidget-
|
|
29
|
-
import { r as resolveFieldMetadata, w as getLocalizedIdDocumentTypeOptions, I as Image } from "./fieldConfigurations-
|
|
30
|
-
import { r as rules, D as DECISION_MAKER_TYPES_WITH_JOBTITLE } from "./rules-
|
|
12
|
+
import { u as useScenarios } from "./useScenarios-g0Sa8erQ.js";
|
|
13
|
+
import { l as useProviderStatus, r as addressValidators, s as addressFormatters, j as useCreateLegalEntity, k as useUpdateLegalEntity, t as mapAddressLabels } from "./Address-B9YzVGZT.js";
|
|
14
|
+
import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-IIxt8CTj.js";
|
|
15
|
+
import { b as useApiContext, a2 as useMutation, k as httpPost, aJ as matchesRegex, aV as trimValWithOneSpace, aK as NO_ALPHABET_REGEX, aL as EMOJI_REGEX, aM as hasRepeatedCharacters, aN as isInvalidName, aW as INDIVIDUAL_VALID_CHAR_REGEX, aT as getFormattingRegEx, aU as SPECIAL_CHARS, aQ as standardKatakanaValidator, aR as standardKanjiValidator, V as CountryCodes, X as isEmpty, O as TaskTypes, z as LegalEntityTypes, b5 as getAgeToday, b6 as euCountries, b7 as individualApiKeyMapping, aq as individualComponentsKeyMapping, b3 as reverseMapping, b8 as getNomineeFromAssociation, b9 as drop, P as createLogger, K as useAccountHolder, W as useI18nContext, a1 as useAnalyticsContext, $ as useExperimentsContext, m as useSettingsContext, g as getLegalEntityCountry, ba as getAllowedDecisionMakerRoles, bb as filterOutUnwantedAssociationsIfRootLE, aG as cloneObject, bc as individualDocumentMapping, bd as individualObscuredFields, ag as getOwnEntityAssociations, be as hasNomineesChanged, bf as attachNomineeToRole, a_ as doArraysMatch, j as useQuery, r as skipToken, o as httpGet, u as useTranslation, a3 as useQueryClient, B as Button, L as Loader, bg as individualOnfidoApiKeyMapping, as as Scenarios, at as DecisionMakerTypes, bh as individualOnfidoDocumentMapping, bi as individualOnfidoObscuredFields } from "./StoreProvider-D5ulo2rw.js";
|
|
16
|
+
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-YM36lwbi.js";
|
|
17
|
+
import { u as useToastContext } from "./useToastContext-B8TQfggU.js";
|
|
18
|
+
import { g as getPropsFromConfigurations, c as composePerScenarioFormConfigurations } from "./process-field-configurations-DTbjZ2Ba.js";
|
|
19
|
+
import { A as getSSNType, B as defaultFieldMetadata, D as defaultFieldConfig, E as defaultFieldMetadata$1, F as fieldConfig, t as taxInformationDefaultFieldMetadata, h as taxInformationDefaultFieldConfig, G as isEmpty$1, x as useSingpassMyInfoLogin, H as getAsyncIdNumberValidationRule, I as getAsyncPhoneValidationRules, J as setHasMotionCaptureScenario, K as showIndividualMotionCapture, p as individualForms, L as Individual, O as individualDocumentForms, P as idVerificationProviderId, Q as idNowModalChildEntityId, R as LandingLayout, z as showIdNowModal, U as check4DigitSsnFailed, V as individualOnfidoRules, o as individualOnfidoForms, W as isNextStepDisabled, X as shouldShowIdNowModal, Y as IndividualOnfido, Z as JP_ADDRESS_REQUIRED_FIELDS, _ as GuidanceQuestionValues, $ as DECISION_MAKER_TYPES_WITH_JOBTITLE$1 } from "./IndividualOnfido-Fk4358yi.js";
|
|
20
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-BtlFEX2l.js";
|
|
21
|
+
import { u as useMultiForm } from "./useMultiForm-BPP4MrG7.js";
|
|
22
|
+
import { m as mapExistingFile, g as getPageName, a as getPage, u as useScenarioConfiguration } from "./mapExistingFile-DWZK4Cx3.js";
|
|
23
|
+
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-xPD_qng0.js";
|
|
24
|
+
import { g as getIdDocument, a as getDocument, c as createDocumentRequest, d as documentApiUtils, m as mergeAttachments, b as getFileExtention } from "./documentUtils-BVfwPbes.js";
|
|
25
|
+
import { a as datasetUtilities, C as Confirm } from "./useDataset-CEyDAv2X.js";
|
|
26
|
+
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-cmIvyqeB.js";
|
|
27
|
+
import { l as localizeDateString } from "./localizeDateString-DZGFmzCU.js";
|
|
28
|
+
import { o as omitObscuredFieldsIfUnchanged, I as IFrameWidget } from "./iframeWidget-DE7E0d84.js";
|
|
29
|
+
import { r as resolveFieldMetadata, w as getLocalizedIdDocumentTypeOptions, I as Image } from "./fieldConfigurations-3fpT3_M4.js";
|
|
30
|
+
import { r as rules, D as DECISION_MAKER_TYPES_WITH_JOBTITLE } from "./rules-B5Wj5fOs.js";
|
|
31
31
|
import { f as formatObject } from "./utils-DNSfZiio.js";
|
|
32
32
|
import { m as mapSchemaFieldsToApiScriptLocalization, a as mapApiScriptLocalizationToSchemaFields } from "./mapAddressLocalizationToJpAddressSchema-vJWbpAyq.js";
|
|
33
33
|
import { computed } from "@preact/signals";
|
|
34
34
|
import { Show } from "@preact/signals/utils";
|
|
35
|
-
import { m as mapJpAddressSchemaToAddressLocalizations, a as mapJpAddressSummary } from "./mapJpAddressSchemaToAddressLocalizations-
|
|
35
|
+
import { m as mapJpAddressSchemaToAddressLocalizations, a as mapJpAddressSummary } from "./mapJpAddressSchemaToAddressLocalizations-maXV4w9Y.js";
|
|
36
36
|
import { lazy } from "preact/compat";
|
|
37
|
-
import { M as Modal } from "./Modal-
|
|
38
|
-
import { a as Alert } from "./Alert-
|
|
39
|
-
import { a as getIndividualLegalEntityName } from "./getName-
|
|
40
|
-
import { g as getOnfidoIdentityTypeToApiIdentityTypeMap, m as mapLegalEntityToIndividualOnfidoSchema } from "./mapLegalEntityToIndividualOnfidoSchema-
|
|
37
|
+
import { M as Modal } from "./Modal-iDUygbmj.js";
|
|
38
|
+
import { a as Alert } from "./Alert-DEGXvrrH.js";
|
|
39
|
+
import { a as getIndividualLegalEntityName } from "./getName-kAK38EDQ.js";
|
|
40
|
+
import { g as getOnfidoIdentityTypeToApiIdentityTypeMap, m as mapLegalEntityToIndividualOnfidoSchema } from "./mapLegalEntityToIndividualOnfidoSchema-DgEr82YO.js";
|
|
41
41
|
const verifyIdNumber = async (legalEntityId, baseUrl, data) => {
|
|
42
42
|
return await httpPost(
|
|
43
43
|
{
|
|
@@ -11,8 +11,8 @@ import { jsx } from "preact/jsx-runtime";
|
|
|
11
11
|
import { forwardRef } from "preact/compat";
|
|
12
12
|
import { useRef, useState, useCallback, useLayoutEffect } from "preact/hooks";
|
|
13
13
|
import cx from "classnames";
|
|
14
|
-
import { a1 as useAnalyticsContext } from "./StoreProvider-
|
|
15
|
-
import { a as debouncedInputEvent } from "./debouncedInputEvent-
|
|
14
|
+
import { a1 as useAnalyticsContext } from "./StoreProvider-D5ulo2rw.js";
|
|
15
|
+
import { a as debouncedInputEvent } from "./debouncedInputEvent-CyPh7Jut.js";
|
|
16
16
|
const SettingNames = {
|
|
17
17
|
AcceptedCountries: "acceptedCountries",
|
|
18
18
|
AllowBankAccountFormatSelection: "allowBankAccountFormatSelection",
|
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { O as TaskTypes, z as LegalEntityTypes, u as useTranslation, c as useLegalEntity, R as ROOT_LE, a as addResourceBundles, L as Loader, a1 as useAnalyticsContext, B as Button, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { O as TaskTypes, z as LegalEntityTypes, u as useTranslation, c as useLegalEntity, R as ROOT_LE, a as addResourceBundles, L as Loader, a1 as useAnalyticsContext, B as Button, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-D5ulo2rw.js";
|
|
11
11
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
12
12
|
import { useMemo as useMemo$1, useState, useEffect } from "preact/hooks";
|
|
13
|
-
import { S as StepProgressIndicator } from "./StepProgressIndicator-
|
|
13
|
+
import { S as StepProgressIndicator } from "./StepProgressIndicator-BKjO-p7q.js";
|
|
14
14
|
import { useMemo } from "preact/compat";
|
|
15
|
-
import { b as useCanSeeIntroduction, c as useLegalEntityType } from "./OnboardingDropinComponent-
|
|
15
|
+
import { b as useCanSeeIntroduction, c as useLegalEntityType } from "./OnboardingDropinComponent-D099ni7y.js";
|
|
16
16
|
const IntroductionScreens = {
|
|
17
17
|
PROLOGUE: "PROLOGUE",
|
|
18
18
|
INDIVIDUAL: TaskTypes.INDIVIDUAL,
|
|
@@ -9,13 +9,13 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useState, useEffect } from "preact/hooks";
|
|
12
|
-
import { b as useApiContext, j as useQuery, o as httpGet, a5 as noop, u as useTranslation, W as useI18nContext, $ as useExperimentsContext, a1 as useAnalyticsContext, P as createLogger, V as CountryCodes, y as Typography } from "./StoreProvider-
|
|
13
|
-
import { F as Field, a as useForm } from "./trackNavigation-
|
|
14
|
-
import { I as InputText } from "./InputText-
|
|
15
|
-
import { M as MaskedInput, m as makeMask, n as numericInputs, c as nonInputs, s as spacer } from "./fieldConfigurations-
|
|
16
|
-
import { Z as JP_ADDRESS_REQUIRED_FIELDS } from "./IndividualOnfido-
|
|
17
|
-
import { w as addressValidationRulesV4, x as addressValidationRules } from "./Address-
|
|
18
|
-
import { u as useDebouncedCallback } from "./debouncedInputEvent-
|
|
12
|
+
import { b as useApiContext, j as useQuery, o as httpGet, a5 as noop, u as useTranslation, W as useI18nContext, $ as useExperimentsContext, a1 as useAnalyticsContext, P as createLogger, V as CountryCodes, y as Typography } from "./StoreProvider-D5ulo2rw.js";
|
|
13
|
+
import { F as Field, a as useForm } from "./trackNavigation-BqVwjsnq.js";
|
|
14
|
+
import { I as InputText } from "./InputText-Df4gAUZh.js";
|
|
15
|
+
import { M as MaskedInput, m as makeMask, n as numericInputs, c as nonInputs, s as spacer } from "./fieldConfigurations-3fpT3_M4.js";
|
|
16
|
+
import { Z as JP_ADDRESS_REQUIRED_FIELDS } from "./IndividualOnfido-Fk4358yi.js";
|
|
17
|
+
import { w as addressValidationRulesV4, x as addressValidationRules } from "./Address-B9YzVGZT.js";
|
|
18
|
+
import { u as useDebouncedCallback } from "./debouncedInputEvent-CyPh7Jut.js";
|
|
19
19
|
const retrieveFromPostcodeJp = async (legalEntityId, baseUrl, postalCode) => httpGet({
|
|
20
20
|
baseUrl,
|
|
21
21
|
path: `legalEntities/${legalEntityId}/addresses/jp/${postalCode}`
|
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as useLegalEntity, r as skipToken, R as ROOT_LE, $ as useExperimentsContext, u as useTranslation, a as addResourceBundles, L as Loader, g as getLegalEntityCountry, M as EntityTypes, ap as isOnfidoAutofillFlowEnabled, a5 as noop, O as TaskTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { c as useLegalEntity, r as skipToken, R as ROOT_LE, $ as useExperimentsContext, u as useTranslation, a as addResourceBundles, L as Loader, g as getLegalEntityCountry, M as EntityTypes, ap as isOnfidoAutofillFlowEnabled, a5 as noop, O as TaskTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-D5ulo2rw.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { i as useCapabilityProblems, k as getProblemsForEntity } from "./fieldConfigurations-
|
|
13
|
-
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-
|
|
12
|
+
import { i as useCapabilityProblems, k as getProblemsForEntity } from "./fieldConfigurations-3fpT3_M4.js";
|
|
13
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-Dcxbxqyv.js";
|
|
14
14
|
function LegalRepresentativeDetailsPage({
|
|
15
15
|
legalRepresentativeId,
|
|
16
16
|
asModal = false,
|
|
@@ -27,7 +27,7 @@ function LegalRepresentativeDetailsPage({
|
|
|
27
27
|
const { isExperimentEnabled } = useExperimentsContext();
|
|
28
28
|
const { i18n } = useTranslation();
|
|
29
29
|
addResourceBundles(i18n, i18n.language, [
|
|
30
|
-
{ ns: "individual", importFn: () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../language/bg-BG.json": () => import("./bg-BG-a6CQ0hKw.js"), "../language/cs-CZ.json": () => import("./cs-CZ-BAr1-JAS.js"), "../language/da-DK.json": () => import("./da-DK-DoHb4ssx.js"), "../language/de-DE.json": () => import("./de-DE-R6YgDOo5.js"), "../language/el-GR.json": () => import("./el-GR-DgaUGjyJ.js"), "../language/en-US.json": () => import("./en-US-
|
|
30
|
+
{ ns: "individual", importFn: () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../language/bg-BG.json": () => import("./bg-BG-a6CQ0hKw.js"), "../language/cs-CZ.json": () => import("./cs-CZ-BAr1-JAS.js"), "../language/da-DK.json": () => import("./da-DK-DoHb4ssx.js"), "../language/de-DE.json": () => import("./de-DE-R6YgDOo5.js"), "../language/el-GR.json": () => import("./el-GR-DgaUGjyJ.js"), "../language/en-US.json": () => import("./en-US-fyGPkcqX.js"), "../language/es-ES.json": () => import("./es-ES-dMSfTLXF.js"), "../language/et-EE.json": () => import("./et-EE-l977xCZ_.js"), "../language/fi-FI.json": () => import("./fi-FI-0ScajGUB.js"), "../language/fr-FR.json": () => import("./fr-FR-CqCcxkgA.js"), "../language/hr-HR.json": () => import("./hr-HR-CoCrArfg.js"), "../language/hu-HU.json": () => import("./hu-HU-BrxUJuJh.js"), "../language/it-IT.json": () => import("./it-IT-CNS4NmYX.js"), "../language/ja-JP.json": () => import("./ja-JP-BxEWI56P.js"), "../language/lt-LT.json": () => import("./lt-LT-D1viSP-v.js"), "../language/lv-LV.json": () => import("./lv-LV-AkiOewnL.js"), "../language/nl-NL.json": () => import("./nl-NL-VneIcgWO.js"), "../language/no-NO.json": () => import("./no-NO-Dqp598Ox.js"), "../language/pl-PL.json": () => import("./pl-PL-Zdh_Xu43.js"), "../language/pt-BR.json": () => import("./pt-BR-DqLaaG4L.js"), "../language/pt-PT.json": () => import("./pt-PT-uiREjC_e.js"), "../language/ro-RO.json": () => import("./ro-RO-C835aMET.js"), "../language/sk-SK.json": () => import("./sk-SK-D6KtBU3q.js"), "../language/sl-SI.json": () => import("./sl-SI-wYYQibM-.js"), "../language/sv-SE.json": () => import("./sv-SE-uisfAT9L.js") }), `../language/${i18n.language}.json`, 3) }
|
|
31
31
|
]);
|
|
32
32
|
if (!rootLe || legalRepresentativeId && !legalRepresentativeLe) {
|
|
33
33
|
return /* @__PURE__ */ jsx(Loader, {});
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { A as Avatar } from "./Avatar-
|
|
13
|
-
import { a4 as Icon } from "./StoreProvider-
|
|
12
|
+
import { A as Avatar } from "./Avatar-BJjsWUzm.js";
|
|
13
|
+
import { a4 as Icon } from "./StoreProvider-D5ulo2rw.js";
|
|
14
14
|
const listItem = "adyen-kyc-list-item";
|
|
15
15
|
const listItemInteractive = "adyen-kyc-list-item-interactive";
|
|
16
16
|
const listItemText = "adyen-kyc-list-item-text";
|
package/dist/{ManageIndividualComponent-CbiGSFJ_.js → ManageIndividualComponent-RQAI7rXm.js}
RENAMED
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { u as useTranslation, b as useApiContext, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper, c as useLegalEntity, R as ROOT_LE } from "./StoreProvider-
|
|
10
|
+
import { u as useTranslation, b as useApiContext, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper, c as useLegalEntity, R as ROOT_LE } from "./StoreProvider-D5ulo2rw.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { u as useOnboardingStatus } from "./useOnboardingStatus-
|
|
12
|
+
import { u as useOnboardingStatus } from "./useOnboardingStatus-CpHkIc0T.js";
|
|
13
13
|
import { O as OnboardingStatuses } from "./view-verification-status-VFcBydkR.js";
|
|
14
|
-
import { E as EmbeddedStatus } from "./EmbeddedStatus-
|
|
14
|
+
import { E as EmbeddedStatus } from "./EmbeddedStatus-BJFEiPCo.js";
|
|
15
15
|
function ManageIndividualComponent({
|
|
16
16
|
legalEntityId,
|
|
17
17
|
onClick
|
|
@@ -20,7 +20,7 @@ function ManageIndividualComponent({
|
|
|
20
20
|
const { rootLegalEntityId: currentLegalEntityId } = useApiContext();
|
|
21
21
|
currentLegalEntityId.value = legalEntityId;
|
|
22
22
|
addResourceBundles(i18n, i18n.language, [
|
|
23
|
-
{ ns: "common", importFn: () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-BJo9yIYj.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-LGBI1w0Z.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-914Viqia.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-BXKZNAA1.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-BnMw4HQ7.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-
|
|
23
|
+
{ ns: "common", importFn: () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-BJo9yIYj.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-LGBI1w0Z.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-914Viqia.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-BXKZNAA1.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-BnMw4HQ7.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-D5ulo2rw.js").then((n) => n.bL), "../../../language/locales/es-ES.json": () => import("./es-ES-BWAlCq7R.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-D9SV0taO.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-C7GrKbXx.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-o45TzYMp.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-YG9hvMMj.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-DIurnBC3.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-Cztl5jRY.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-DXkV1ta4.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-BJTBEa5D.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-GI-ZDM0K.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-B6B4Z_tr.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-Dn1LUbDp.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-C1cP4Qpn.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-DkzLiK7Y.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-CoTUf3zo.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-_HSYnLLu.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-K03EHmJF.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-gM40Ay3W.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-Bnhsdw8c.js") }), `../../../language/locales/${i18n.language}.json`, 6) }
|
|
24
24
|
]);
|
|
25
25
|
const { data: legalEntityData } = useLegalEntity(ROOT_LE);
|
|
26
26
|
const { isPending, data: onboardingStatusData } = useOnboardingStatus({
|