@adyen/kyc-components 4.4.0-beta.1 → 4.4.0
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-Ch1PLZkE.js → AcceptTermsOfServiceComponent-CtSxtBKi.js} +14 -14
- package/dist/{AccountSetupRejected-BPEtnc7j.js → AccountSetupRejected-Izp48yEO.js} +1 -1
- package/dist/{ActionBar-NV7R7PEb.js → ActionBar-Ca6J5mWK.js} +1 -1
- package/dist/{Address-xF2Li1Za.js → Address-D_vmsuPk.js} +9 -9
- package/dist/{Avatar-Cw6tLao7.js → Avatar-CKx8J5lx.js} +1 -1
- package/dist/{BusinessFinancingComponent-uqUPy4UH.js → BusinessFinancingComponent-DaxARiGM.js} +4 -4
- package/dist/{BusinessFinancingDropin-DK-KXg_B.js → BusinessFinancingDropin-Dd2HLLMa.js} +26 -26
- package/dist/{BusinessFinancingPage-BoUZ_jM1.js → BusinessFinancingPage-BOejVYXh.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-BnJ8ucnl.js → BusinessTypeSelectionPage-CTDOUjiA.js} +8 -8
- package/dist/{Checkbox-BU__y4sz.js → Checkbox-RZJnbRBZ.js} +1 -1
- package/dist/{Confirm-BX6xGJJV.js → Confirm-DHTZz6n-.js} +2 -2
- package/dist/{ConstitutionalDocument-DV11W4Uc.js → ConstitutionalDocument-CG6z6hOH.js} +17 -17
- package/dist/{ContactDetails-0AACDs1M.js → ContactDetails-X7roxa7M.js} +5 -5
- package/dist/{ContextGuidance-B17pNn6u.js → ContextGuidance-DeZxHGha.js} +1 -1
- package/dist/{CountryField-Dp6hXPqK.js → CountryField-prWQNOFZ.js} +3 -3
- package/dist/{CreateIndividualComponent-pfPheGx6.js → CreateIndividualComponent-Cr5P6AhY.js} +4 -4
- package/dist/{CreateTransferInstrumentComponent-BP1o-KXu.js → CreateTransferInstrumentComponent-BUzLyFsB.js} +3 -3
- package/dist/{Currency-DKKQ4vvp.js → Currency-BCTmbxvQ.js} +6 -6
- package/dist/{CustomerSupport-97KAFvBP.js → CustomerSupport-BUSF6AeJ.js} +9 -9
- package/dist/{DebugModal-BTeaM1f-.js → DebugModal-DnwBnRrX.js} +6 -6
- package/dist/{DecisionMakerDetailsPage-D092fGbY.js → DecisionMakerDetailsPage-l8dykx5K.js} +6 -6
- package/dist/{DecisionMakers-BHZW4NNI.js → DecisionMakers-DwsykbVA.js} +18 -18
- package/dist/{Dropzone-CLoB_3-q.js → Dropzone-BpVTBLdK.js} +3 -3
- package/dist/{EmbeddedStatus-T1Tsk3PK.js → EmbeddedStatus-CiAT9LVT.js} +2 -2
- package/dist/{EndStateLayout-y2JP5asU.js → EndStateLayout-DmuB86Km.js} +1 -1
- package/dist/{EntityAssociation-D1BM5Je8.js → EntityAssociation-B2agfeew.js} +4 -4
- package/dist/{EntityGuidanceStatus-CwKr9buW.js → EntityGuidanceStatus-ByQeAaJX.js} +3 -3
- package/dist/{ErrorPanel-DDVrYUpJ.js → ErrorPanel-Dc-0FFlw.js} +1 -1
- package/dist/{Field-B9sKUtUg.js → Field-BCh4RjjH.js} +1 -1
- package/dist/{FormNavigation-CdcEMHw0.js → FormNavigation-Dw9vBfOE.js} +2 -2
- package/dist/{FormWrapper-BoU8DR0W.js → FormWrapper-DBd93g5-.js} +8 -8
- package/dist/{Individual.rules-BD1j4LiM.js → Individual.rules-Df2tyewj.js} +5 -5
- package/dist/{IndividualDropin-uiNPeLuT.js → IndividualDropin-ffk4cENA.js} +48 -48
- package/dist/{InputDate-BaGnhAVf.js → InputDate-lBYns5ES.js} +1 -1
- package/dist/{InputText-D0_rMV9x.js → InputText-cE4sdkOF.js} +1 -1
- package/dist/{Introduction-BNfrUGef.js → Introduction-BLHqyzh4.js} +3 -3
- package/dist/{JpAddress-CzQ4H7tm.js → JpAddress-DgMxCxUO.js} +8 -8
- package/dist/{LandingLayout-B9DjLl1D.js → LandingLayout-DO4D3GZF.js} +1 -1
- package/dist/{LegalCompanyNameField-DoTX5byz.js → LegalCompanyNameField-C2V3zE5H.js} +5 -5
- package/dist/{LegalRepresentativeDetailsPage-SEccCLtW.js → LegalRepresentativeDetailsPage-C-fi8ExM.js} +3 -3
- package/dist/{Link-BieB0t1Y.js → Link-C53bmm0L.js} +1 -1
- package/dist/{ListItem-Cw-AYeFH.js → ListItem-DPoOuxMs.js} +2 -2
- package/dist/{LoaderWrapper-B73HgNuK.js → LoaderWrapper-CyNmE5d5.js} +1 -1
- package/dist/{ManageIndividualComponent-D7VJUR-y.js → ManageIndividualComponent-D2TaeVp-.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-Dxs0RCkC.js → ManageTermsOfServiceComponent-B06SqV2S.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-fZbHylGm.js → ManageTransferInstrumentComponent-CD5CeLd4.js} +9 -9
- package/dist/{MaskedInput-B5-H7MTF.js → MaskedInput-BiyWZvf9.js} +4 -4
- package/dist/{MaybeModal-DyP6D8Mm.js → MaybeModal-CQ9Nwb5m.js} +2 -2
- package/dist/{Modal-l3FZFwDQ.js → Modal-B2axEGgw.js} +1 -1
- package/dist/{Name-Cy0qTOPR.js → Name-DF_giEzW.js} +4 -4
- package/dist/{OnboardingDropinComponent-Cd1FysjN.js → OnboardingDropinComponent-JrMNoZpj.js} +70 -70
- package/dist/{PayoutDetailsDropin-BLHDVWJP.js → PayoutDetailsDropin-CiUSUC71.js} +36 -36
- package/dist/{PayoutDetailsPage-BgOgeJt8.js → PayoutDetailsPage-DqQzTo4c.js} +4 -4
- package/dist/{RadioGroup-DxGcH0In.js → RadioGroup-DoV1tEJl.js} +1 -1
- package/dist/{RadioGroupCard-Cr8u_mxa.js → RadioGroupCard-9aQGW7JN.js} +1 -1
- package/dist/{Review-BBKyp3B8.js → Review-ai4kHVX1.js} +5 -5
- package/dist/{RootBusinessDetailsPage-Dto2CETH.js → RootBusinessDetailsPage-DSkrHvsT.js} +4 -4
- package/dist/{RootBusinessLinesPage-X9UmCsne.js → RootBusinessLinesPage-A0Tr3mxD.js} +22 -22
- package/dist/{RootIndividualDetailsPage-_j_pbdea.js → RootIndividualDetailsPage-Bq6hAuWB.js} +4 -4
- package/dist/{Select-BJOovb_D.js → Select-DpfHA9OG.js} +3 -3
- package/dist/{SignPCIComponent-CKNCBHDi.js → SignPCIComponent-BQiuhLUm.js} +10 -10
- package/dist/{SingpassSelection-CSnMQdA2.js → SingpassSelection-DZllhRC7.js} +5 -5
- package/dist/{SoleProprietorshipPage-CUAnaNlw.js → SoleProprietorshipPage-dW52UoqY.js} +3 -3
- package/dist/{SourceOfFundsPage-DkjK2ZLc.js → SourceOfFundsPage-CP1y52UZ.js} +29 -29
- package/dist/{StepProgressIndicator-B-fjkG3s.js → StepProgressIndicator-CbH70qse.js} +1 -1
- package/dist/{StoreProvider-x59VMyW0.js → StoreProvider-mHLtWums.js} +4 -4
- package/dist/{Summary-kDA3sqBe.js → Summary-D-nudpZf.js} +5 -5
- package/dist/{TaxInformationField-C9Jy5cRJ.js → TaxInformationField-b3yhWTWD.js} +18 -18
- package/dist/{TaxReportingDropin-CMKrs9_R.js → TaxReportingDropin-B-8GeWGr.js} +13 -13
- package/dist/{TextArea-BXoK80OY.js → TextArea-C0PzOf5N.js} +1 -1
- package/dist/{TileGroup-CD6DoIe_.js → TileGroup-CKUlaXGR.js} +2 -2
- package/dist/{TrustDetailsPage-9vV1HSJ0.js → TrustDetailsPage-Czk6U1Tc.js} +31 -31
- package/dist/{TrustMemberCompanyPage-BW01AXIR.js → TrustMemberCompanyPage-DXT3RepM.js} +4 -4
- package/dist/{TrustMemberIndividualPage-BRhv0I6R.js → TrustMemberIndividualPage-DWmPqSUW.js} +3 -3
- package/dist/{TrustMemberRoleAndTypePage-CbpEp-Eb.js → TrustMemberRoleAndTypePage-c23IPOaR.js} +20 -20
- package/dist/{TrustMembersOverview-DvCI2Rgo.js → TrustMembersOverview-BRNYhXYG.js} +9 -9
- package/dist/{UnincorporatedPartnershipIndividualPage-CfYzgKds.js → UnincorporatedPartnershipIndividualPage-CZVQg1Lm.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-rEc73wFm.js → UnincorporatedPartnershipMemberCompanyPage-D3GMfr2u.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-CDAcpK4G.js → UnincorporatedPartnershipMemberRoleAndTypePage-Dwi-t1pR.js} +10 -10
- package/dist/{UnincorporatedPartnershipMembersOverview-CibvMdLp.js → UnincorporatedPartnershipMembersOverview-D-hiEWen.js} +6 -6
- package/dist/{VerificationErrorAlert-D3AX98bd.js → VerificationErrorAlert-Bv13UiEj.js} +2 -2
- package/dist/{ViewVerificationStatusComponent-B9vYeYZb.js → ViewVerificationStatusComponent-8v5Nm_wk.js} +2 -2
- 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-invited-decision-maker.js +6 -6
- package/dist/adyen-kyc-components.js +15 -15
- 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/{bafinUtils-DSDSKhKB.js → bafinUtils-pwkl8kSq.js} +1 -1
- package/dist/{commonValidators-B6d9s0-o.js → commonValidators-Q1vH12Fp.js} +1 -1
- package/dist/{dropinUtils-DQpXPqk2.js → dropinUtils-cvPDQGkm.js} +3 -3
- package/dist/{formUtils-A6oBRG3L.js → formUtils-Cu4r_cE7.js} +2 -2
- package/dist/{getName-lGICWUPQ.js → getName-D92TbZE4.js} +1 -1
- package/dist/{getProblemsForEntity-D3HpaFZB.js → getProblemsForEntity-Cn6NNpx3.js} +1 -1
- package/dist/{iframeWidget-Huaxn_9e.js → iframeWidget-LYI4Hywy.js} +3 -3
- package/dist/{isEmpty-C2vBRvpQ.js → isEmpty-BtKNXm_E.js} +1 -1
- package/dist/{japanSupportUtils-r2_qbuUh.js → japanSupportUtils-Cjg3HGeh.js} +1 -1
- package/dist/{localizeDateString-Cn4lULAz.js → localizeDateString-iKn35I7t.js} +1 -1
- package/dist/{mapExistingFile-CDtoMMNP.js → mapExistingFile-DAKnbl3q.js} +3 -3
- package/dist/{mapJpAddressSchemaToAddressLocalizations-BX_XB7Pv.js → mapJpAddressSchemaToAddressLocalizations-BwqkpwLG.js} +1 -1
- package/dist/{mapLegalEntityToIndividualSchema-BTjkDub5.js → mapLegalEntityToIndividualSchema-DHNvFq3z.js} +3 -3
- package/dist/{mapTransferInstrumentToPayoutAccount-SwgAUEzy.js → mapTransferInstrumentToPayoutAccount-CFiPK7nF.js} +1 -1
- package/dist/{patternValidators-BmE8PX2j.js → patternValidators-DHivz8FR.js} +1 -1
- package/dist/{process-field-configurations-BpvA07uV.js → process-field-configurations-TVQJVhh6.js} +1 -1
- package/dist/{resolveEnvironment-CB0aXyOq.js → resolveEnvironment-DRIoWKkq.js} +3 -3
- package/dist/{roleMetadata-CUwpxg9p.js → roleMetadata-23PazJen.js} +2 -2
- package/dist/{types-DS88e__Q.js → types-CCxHnxb7.js} +1 -1
- package/dist/{types-Clxic6DP.js → types-DW90uFG-.js} +1 -1
- package/dist/{types-Bo20WZNc.js → types-s-Q2XpkZ.js} +1 -1
- package/dist/{unincorporated-partnership-CJz9rbE4.js → unincorporated-partnership-DPbAzJDe.js} +1 -1
- package/dist/{useAssociatedLegalEntity-oPI1RCY_.js → useAssociatedLegalEntity-BEuHjBZz.js} +1 -1
- package/dist/{useBusinessDetailsData-vd45u1iE.js → useBusinessDetailsData-BO8XWfJZ.js} +47 -47
- package/dist/{useCreateLegalEntity-BhYUiCc8.js → useCreateLegalEntity-Bk8GSKP1.js} +1 -1
- package/dist/{useForm-D1_yiIHz.js → useForm-vad8DlLx.js} +2 -2
- package/dist/{useFormContext-DnlTEqkz.js → useFormContext-B5QKkdAI.js} +6 -6
- package/dist/{useGlobalData-9bYrNWxF.js → useGlobalData-Btrs_29g.js} +1 -1
- package/dist/{useMultiForm-DiDABOlp.js → useMultiForm-cC2wlHNB.js} +3 -3
- package/dist/{useOnboardingStatus-B2cPO1my.js → useOnboardingStatus-V-UqaVrD.js} +1 -1
- package/dist/{useScenarios-XKveo5Md.js → useScenarios-BbG9i_sD.js} +1 -1
- package/dist/{useTermsOfServiceStatus-Lg95JuP4.js → useTermsOfServiceStatus-QeWE09L-.js} +1 -1
- package/dist/{useToastContext-CisUtg-6.js → useToastContext-wDfBfnfF.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-CIhC8Vm8.js → useUnincorporatedPartnershipMembers-qPE2KPx9.js} +4 -4
- package/dist/{useUpdateBusinessLines-CKRikPUG.js → useUpdateBusinessLines-Dt0n6cQU.js} +3 -3
- package/dist/{useUpdateLegalEntity-DOKoyNaq.js → useUpdateLegalEntity-DZgtsmFg.js} +2 -2
- package/dist/{utils-C3PfmXJ-.js → utils-CXINiC_b.js} +1 -1
- package/dist/{utils-C0h9qEco.js → utils-Cg8MDRUC.js} +1 -1
- package/dist/{utils-9BXmcrcz.js → utils-DvL1qQJh.js} +2 -2
- package/dist/{utils-CrLnWtri.js → utils-JAP5Kj4w.js} +5 -5
- package/dist/{utils-B9F675JL.js → utils-t9bNKGqn.js} +1 -1
- package/dist/{validate-rilJfP0Q.js → validate-CkFqyHrv.js} +2 -2
- package/dist/{validate-BX1lu4X-.js → validate-DmrKFNZ-.js} +1 -1
- package/dist/{validationError-Ba78AmbC.js → validationError-BZEfEJF0.js} +1 -1
- package/package.json +1 -1
|
@@ -10,16 +10,16 @@
|
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useQueryClient } from "@tanstack/preact-query";
|
|
12
12
|
import { useCallback, useMemo, useEffect } from "preact/hooks";
|
|
13
|
-
import { R as useLegalEntity, U as ROOT_LE, V as Loader, w as EntityTypes, u as useTranslation, z as useAnalyticsContext, aB as Header, m as createLogger } from "./StoreProvider-
|
|
14
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
15
|
-
import { c as contactDetailsValidationRules, f as fieldConfig, u as useValidatePhoneNumberImperatively, g as getAsyncPhoneValidationRules, C as ContactDetails, d as defaultFieldMetadata } from "./ContactDetails-
|
|
16
|
-
import { u as useToastContext } from "./useToastContext-
|
|
17
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
18
|
-
import { E as ErrorPanel } from "./ErrorPanel-
|
|
19
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-
|
|
13
|
+
import { R as useLegalEntity, U as ROOT_LE, V as Loader, w as EntityTypes, u as useTranslation, z as useAnalyticsContext, aB as Header, m as createLogger } from "./StoreProvider-mHLtWums.js";
|
|
14
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-DZgtsmFg.js";
|
|
15
|
+
import { c as contactDetailsValidationRules, f as fieldConfig, u as useValidatePhoneNumberImperatively, g as getAsyncPhoneValidationRules, C as ContactDetails, d as defaultFieldMetadata } from "./ContactDetails-X7roxa7M.js";
|
|
16
|
+
import { u as useToastContext } from "./useToastContext-wDfBfnfF.js";
|
|
17
|
+
import { u as useMultiForm } from "./useMultiForm-cC2wlHNB.js";
|
|
18
|
+
import { E as ErrorPanel } from "./ErrorPanel-Dc-0FFlw.js";
|
|
19
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-Cn6NNpx3.js";
|
|
20
20
|
import { r as resolveFieldMetadata } from "./fieldConfigurations-BUT9DTUH.js";
|
|
21
|
-
import { c as createFormUtils } from "./formUtils-
|
|
22
|
-
import { A as ActionBar } from "./ActionBar-
|
|
21
|
+
import { c as createFormUtils } from "./formUtils-Cu4r_cE7.js";
|
|
22
|
+
import { A as ActionBar } from "./ActionBar-Ca6J5mWK.js";
|
|
23
23
|
const mapCustomerSupportSchemaToCustomerSupportType = (customerSupport) => {
|
|
24
24
|
return {
|
|
25
25
|
email: customerSupport?.customerSupport?.email || "",
|
|
@@ -2,20 +2,20 @@
|
|
|
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] = "f8a9d5ba-c5ca-4ce5-8e5f-17811a45d234", e._sentryDebugIdIdentifier = "sentry-dbid-f8a9d5ba-c5ca-4ce5-8e5f-17811a45d234");
|
|
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 { W as Button, ao as entriesOf, bA as Accordion, u as useTranslation, bB as splitTaskIdentifier, H as TaskVerificationStatus, J as useExperimentsContext, k as useSettingsContext, X as useGlobalStore, aT as listToRecord, aR as valuesOf, B as Icon, m as createLogger } from "./StoreProvider-
|
|
13
|
-
import { M as Modal } from "./Modal-
|
|
12
|
+
import { W as Button, ao as entriesOf, bA as Accordion, u as useTranslation, bB as splitTaskIdentifier, H as TaskVerificationStatus, J as useExperimentsContext, k as useSettingsContext, X as useGlobalStore, aT as listToRecord, aR as valuesOf, B as Icon, m as createLogger } from "./StoreProvider-mHLtWums.js";
|
|
13
|
+
import { M as Modal } from "./Modal-B2axEGgw.js";
|
|
14
14
|
import { E as ExperimentNames } from "./types-DP1DvIeR.js";
|
|
15
15
|
import { S as SettingNames } from "./types-CQ2p58-6.js";
|
|
16
|
-
import { I as InputText } from "./InputText-
|
|
16
|
+
import { I as InputText } from "./InputText-cE4sdkOF.js";
|
|
17
17
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
18
|
-
import { C as Checkbox } from "./Checkbox-
|
|
18
|
+
import { C as Checkbox } from "./Checkbox-RZJnbRBZ.js";
|
|
19
19
|
import { f as formDebugInfo } from "./debugStore-BvbyN1Oi.js";
|
|
20
20
|
import MonogonCode from "monogon/preact";
|
|
21
21
|
const tabs = "adyen-kyc-tabs";
|
|
@@ -328,7 +328,7 @@ const DebugModal = ({ onExit }) => {
|
|
|
328
328
|
const rootLegalEntity = useGlobalStore().rootLegalEntity.value;
|
|
329
329
|
const formDebugAvailable = Object.keys(formDebugInfo.value).length > 0;
|
|
330
330
|
const metadata = {
|
|
331
|
-
sdkVersion: "4.4.0
|
|
331
|
+
sdkVersion: "4.4.0",
|
|
332
332
|
locale: i18n.language,
|
|
333
333
|
rootLegalEntityId: rootLegalEntity.id
|
|
334
334
|
};
|
|
@@ -7,15 +7,15 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { R as useLegalEntity, J as useExperimentsContext, a9 as getLegalEntityCountry, u as useTranslation, a as addResourceBundles, V as Loader, ai as noop, y as TaskTypes, w as EntityTypes, L as LegalEntityTypes, _ as __variableDynamicImportRuntimeHelper, bo as individualBaseMapping } from "./StoreProvider-
|
|
10
|
+
import { R as useLegalEntity, J as useExperimentsContext, a9 as getLegalEntityCountry, u as useTranslation, a as addResourceBundles, V as Loader, ai as noop, y as TaskTypes, w as EntityTypes, L as LegalEntityTypes, _ as __variableDynamicImportRuntimeHelper, bo as individualBaseMapping } from "./StoreProvider-mHLtWums.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
12
|
import { skipToken } from "@tanstack/preact-query";
|
|
13
13
|
import { useParams } from "wouter-preact";
|
|
14
|
-
import { u as useScenarios } from "./useScenarios-
|
|
15
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-
|
|
16
|
-
import { n as getTrustedFieldsProvider, o as getTrustedFields, g as getTrustedEntityAssociations } from "./OnboardingDropinComponent-
|
|
17
|
-
import { i as isBafinSignatoryFlow, r as removeIdVerificationProblemsForBafinSignatory } from "./bafinUtils-
|
|
18
|
-
import { I as IndividualDropin } from "./IndividualDropin-
|
|
14
|
+
import { u as useScenarios } from "./useScenarios-BbG9i_sD.js";
|
|
15
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-Cn6NNpx3.js";
|
|
16
|
+
import { n as getTrustedFieldsProvider, o as getTrustedFields, g as getTrustedEntityAssociations } from "./OnboardingDropinComponent-JrMNoZpj.js";
|
|
17
|
+
import { i as isBafinSignatoryFlow, r as removeIdVerificationProblemsForBafinSignatory } from "./bafinUtils-pwkl8kSq.js";
|
|
18
|
+
import { I as IndividualDropin } from "./IndividualDropin-ffk4cENA.js";
|
|
19
19
|
function DecisionMakerDetailsPage({
|
|
20
20
|
decisionMakerId: decisionMakerIdProp,
|
|
21
21
|
parentCompanyId: parentCompanyIdProp,
|
|
@@ -7,30 +7,30 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { as as DecisionMakerTypes, aX as drop, an as cloneObject, am as datasetUtilities, u as useTranslation, R as useLegalEntity, W as Button, V as Loader, P as StackLayout, H as TaskVerificationStatus, O as Typography, G as Alert, z as useAnalyticsContext, U as ROOT_LE, a as addResourceBundles, N as useGetTaskStatus, J as useExperimentsContext, w as EntityTypes, x as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING, ay as getOwnDecisionMakers, bs as getAvailableDecisionMakerRoleTypes, y as TaskTypes, aY as getAllowedDecisionMakerRoles, bE as DropinLayout, aB as Header, aQ as Trans, o as TaskStatuses, _ as __variableDynamicImportRuntimeHelper, L as LegalEntityTypes } from "./StoreProvider-
|
|
10
|
+
import { as as DecisionMakerTypes, aX as drop, an as cloneObject, am as datasetUtilities, u as useTranslation, R as useLegalEntity, W as Button, V as Loader, P as StackLayout, H as TaskVerificationStatus, O as Typography, G as Alert, z as useAnalyticsContext, U as ROOT_LE, a as addResourceBundles, N as useGetTaskStatus, J as useExperimentsContext, w as EntityTypes, x as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING, ay as getOwnDecisionMakers, bs as getAvailableDecisionMakerRoleTypes, y as TaskTypes, aY as getAllowedDecisionMakerRoles, bE as DropinLayout, aB as Header, aQ as Trans, o as TaskStatuses, _ as __variableDynamicImportRuntimeHelper, L as LegalEntityTypes } from "./StoreProvider-mHLtWums.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 { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
13
|
+
import { u as useScenarios } from "./useScenarios-BbG9i_sD.js";
|
|
14
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-DZgtsmFg.js";
|
|
15
15
|
import { L as List } from "./List-BAzyC6sw.js";
|
|
16
|
-
import { L as ListItem } from "./ListItem-
|
|
17
|
-
import { M as Modal } from "./Modal-
|
|
18
|
-
import { u as useToastContext } from "./useToastContext-
|
|
19
|
-
import { g as getTrustedEntityAssociations, e as useDataMissingRemediations } from "./OnboardingDropinComponent-
|
|
20
|
-
import { C as ContextGuidance } from "./ContextGuidance-
|
|
21
|
-
import { A as ActionBar } from "./ActionBar-
|
|
22
|
-
import { E as EntityAssociation } from "./EntityAssociation-
|
|
23
|
-
import { E as EntityGuidanceStatus, i as iconStatus } from "./EntityGuidanceStatus-
|
|
24
|
-
import { G as GuidanceQuestionValues, m as mapLegalEntityToIndividualSchema, i as individualFormDefaultData } from "./mapLegalEntityToIndividualSchema-
|
|
25
|
-
import { u as useCapabilityProblems } from "./getProblemsForEntity-
|
|
16
|
+
import { L as ListItem } from "./ListItem-DPoOuxMs.js";
|
|
17
|
+
import { M as Modal } from "./Modal-B2axEGgw.js";
|
|
18
|
+
import { u as useToastContext } from "./useToastContext-wDfBfnfF.js";
|
|
19
|
+
import { g as getTrustedEntityAssociations, e as useDataMissingRemediations } from "./OnboardingDropinComponent-JrMNoZpj.js";
|
|
20
|
+
import { C as ContextGuidance } from "./ContextGuidance-DeZxHGha.js";
|
|
21
|
+
import { A as ActionBar } from "./ActionBar-Ca6J5mWK.js";
|
|
22
|
+
import { E as EntityAssociation } from "./EntityAssociation-B2agfeew.js";
|
|
23
|
+
import { E as EntityGuidanceStatus, i as iconStatus } from "./EntityGuidanceStatus-ByQeAaJX.js";
|
|
24
|
+
import { G as GuidanceQuestionValues, m as mapLegalEntityToIndividualSchema, i as individualFormDefaultData } from "./mapLegalEntityToIndividualSchema-DHNvFq3z.js";
|
|
25
|
+
import { u as useCapabilityProblems } from "./getProblemsForEntity-Cn6NNpx3.js";
|
|
26
26
|
import { S as StructuredList } from "./StructuredList-CNha20ka.js";
|
|
27
27
|
import { D as DetailViewLayout } from "./DetailViewLayout-Z9cuUp4X.js";
|
|
28
|
-
import { C as Confirm } from "./Confirm-
|
|
29
|
-
import { m as mapAddressLabels } from "./utils-
|
|
30
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
28
|
+
import { C as Confirm } from "./Confirm-DHTZz6n-.js";
|
|
29
|
+
import { m as mapAddressLabels } from "./utils-CXINiC_b.js";
|
|
30
|
+
import { l as localizeDateString } from "./localizeDateString-iKn35I7t.js";
|
|
31
31
|
import { lazy } from "preact/compat";
|
|
32
|
-
import { I as Image } from "./unincorporated-partnership-
|
|
33
|
-
import { L as LandingLayout } from "./LandingLayout-
|
|
32
|
+
import { I as Image } from "./unincorporated-partnership-DPbAzJDe.js";
|
|
33
|
+
import { L as LandingLayout } from "./LandingLayout-DO4D3GZF.js";
|
|
34
34
|
const BENEFICIAL_OWNER_ROLES = [
|
|
35
35
|
DecisionMakerTypes.OWNER,
|
|
36
36
|
DecisionMakerTypes.CONTROLLING_PERSON,
|
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { f as defaultFileValidationOptions, h as fileValidationRules, S as StateContextSetter, D as DropzoneFile, e as bytesToSize } from "./validate-
|
|
11
|
+
import { f as defaultFileValidationOptions, h as fileValidationRules, S as StateContextSetter, D as DropzoneFile, e as bytesToSize } from "./validate-CkFqyHrv.js";
|
|
12
12
|
import cx from "classnames";
|
|
13
13
|
import { useRef, useState, useMemo, useEffect } from "preact/hooks";
|
|
14
|
-
import { u as useTranslation, z as useAnalyticsContext, W as Button, O as Typography, B as Icon } from "./StoreProvider-
|
|
15
|
-
import { u as useForm } from "./useForm-
|
|
14
|
+
import { u as useTranslation, z as useAnalyticsContext, W as Button, O as Typography, B as Icon } from "./StoreProvider-mHLtWums.js";
|
|
15
|
+
import { u as useForm } from "./useForm-vad8DlLx.js";
|
|
16
16
|
function Dropzone(props) {
|
|
17
17
|
const {
|
|
18
18
|
name,
|
|
@@ -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 { o as TaskStatuses, u as useTranslation, ab as Skeleton, O as Typography } from "./StoreProvider-
|
|
12
|
+
import { A as Avatar } from "./Avatar-CKx8J5lx.js";
|
|
13
|
+
import { o as TaskStatuses, u as useTranslation, ab as Skeleton, O as Typography } from "./StoreProvider-mHLtWums.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 { W as Button, V as Loader, B as Icon } from "./StoreProvider-
|
|
13
|
+
import { W as Button, V as Loader, B as Icon } from "./StoreProvider-mHLtWums.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,12 +9,12 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useRef, useCallback, useEffect, useState } from "preact/hooks";
|
|
12
|
-
import { W as Button, u as useTranslation, H as TaskVerificationStatus, C as IconButton, o as TaskStatuses } from "./StoreProvider-
|
|
12
|
+
import { W as Button, u as useTranslation, H as TaskVerificationStatus, C as IconButton, o as TaskStatuses } from "./StoreProvider-mHLtWums.js";
|
|
13
13
|
import { C as Card } from "./Card-OQuFzmxm.js";
|
|
14
14
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
15
|
-
import { V as VerificationErrorAlert } from "./VerificationErrorAlert-
|
|
16
|
-
import { C as Confirm } from "./Confirm-
|
|
17
|
-
import { g as getRoleName, a as getRoleTagVariant } from "./roleMetadata-
|
|
15
|
+
import { V as VerificationErrorAlert } from "./VerificationErrorAlert-Bv13UiEj.js";
|
|
16
|
+
import { C as Confirm } from "./Confirm-DHTZz6n-.js";
|
|
17
|
+
import { g as getRoleName, a as getRoleTagVariant } from "./roleMetadata-23PazJen.js";
|
|
18
18
|
function useClickAwayListener(ref, onClickAway) {
|
|
19
19
|
const handleClickAway = useCallback(
|
|
20
20
|
(event) => {
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
12
|
-
import { bF as getDecisionMakerDescriptionMap, y as TaskTypes, bG as TRUST_DEFAULT_DESCRIPTIONS_MAP, B as Icon, u as useTranslation, aQ as Trans } from "./StoreProvider-
|
|
13
|
-
import { U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-
|
|
14
|
-
import { g as getRoleName, a as getRoleTagVariant } from "./roleMetadata-
|
|
12
|
+
import { bF as getDecisionMakerDescriptionMap, y as TaskTypes, bG as TRUST_DEFAULT_DESCRIPTIONS_MAP, B as Icon, u as useTranslation, aQ as Trans } from "./StoreProvider-mHLtWums.js";
|
|
13
|
+
import { U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-DPbAzJDe.js";
|
|
14
|
+
import { g as getRoleName, a as getRoleTagVariant } from "./roleMetadata-23PazJen.js";
|
|
15
15
|
const UNINCORPORATED_PARTNERSHIP__DEFAULT_DESCRIPTIONS_MAP = {
|
|
16
16
|
[UnincorporatedPartnershipMemberTypes.SECONDARY_PARTNER]: "provideAtLeastOneSecondaryPartner",
|
|
17
17
|
[UnincorporatedPartnershipMemberTypes.OWNER]: "provideAllOwners",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useContext, useCallback } from "preact/hooks";
|
|
12
|
-
import { W as Button, u as useTranslation, G as Alert, b9 as remediationHasFileUploadField, aS as keysOf } from "./StoreProvider-
|
|
12
|
+
import { W as Button, u as useTranslation, G as Alert, b9 as remediationHasFileUploadField, aS as keysOf } from "./StoreProvider-mHLtWums.js";
|
|
13
13
|
import { createContext } from "preact";
|
|
14
14
|
const errorPanel = "adyen-kyc-error-panel";
|
|
15
15
|
const styles = {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
12
|
import { useEffect } from "preact/hooks";
|
|
13
|
-
import { u as useTranslation, z as useAnalyticsContext, B as Icon, ac as translateTranslatable } from "./StoreProvider-
|
|
13
|
+
import { u as useTranslation, z as useAnalyticsContext, B as Icon, ac as translateTranslatable } from "./StoreProvider-mHLtWums.js";
|
|
14
14
|
import { a as useId } from "./useId-BZ0PA7jP.js";
|
|
15
15
|
const ARIA_ERROR_SUFFIX = "-ariaError";
|
|
16
16
|
const MaybeFieldset = ({
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { u as useTranslation, B as Icon, z as useAnalyticsContext, O as Typography } from "./StoreProvider-
|
|
12
|
+
import { u as useTranslation, B as Icon, z as useAnalyticsContext, O as Typography } from "./StoreProvider-mHLtWums.js";
|
|
13
13
|
import { t as trackNavigation } from "./trackNavigation-db_h46BT.js";
|
|
14
|
-
import { K as KEYBOARD_KEYS } from "./Modal-
|
|
14
|
+
import { K as KEYBOARD_KEYS } from "./Modal-B2axEGgw.js";
|
|
15
15
|
const FormNavigationItem = ({
|
|
16
16
|
form,
|
|
17
17
|
isActive,
|
|
@@ -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, z as useAnalyticsContext, J as useExperimentsContext, W as Button } from "./StoreProvider-
|
|
13
|
-
import { L as LoaderWrapper } from "./LoaderWrapper-
|
|
14
|
-
import { M as MaybeModal } from "./MaybeModal-
|
|
15
|
-
import { a as ModalContent, b as ModalHeader, c as ModalFooter } from "./Modal-
|
|
12
|
+
import { u as useTranslation, z as useAnalyticsContext, J as useExperimentsContext, W as Button } from "./StoreProvider-mHLtWums.js";
|
|
13
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-CyNmE5d5.js";
|
|
14
|
+
import { M as MaybeModal } from "./MaybeModal-CQ9Nwb5m.js";
|
|
15
|
+
import { a as ModalContent, b as ModalHeader, c as ModalFooter } from "./Modal-B2axEGgw.js";
|
|
16
16
|
import { S as Spacer } from "./Spacer-BK3jDget.js";
|
|
17
|
-
import { S as StepProgressIndicator } from "./StepProgressIndicator-
|
|
18
|
-
import { F as FormRouterContextProvider } from "./dropinUtils-
|
|
19
|
-
import { F as FormNavigation } from "./FormNavigation-
|
|
20
|
-
import { s as summaryStep, S as Summary } from "./Summary-
|
|
17
|
+
import { S as StepProgressIndicator } from "./StepProgressIndicator-CbH70qse.js";
|
|
18
|
+
import { F as FormRouterContextProvider } from "./dropinUtils-cvPDQGkm.js";
|
|
19
|
+
import { F as FormNavigation } from "./FormNavigation-Dw9vBfOE.js";
|
|
20
|
+
import { s as summaryStep, S as Summary } from "./Summary-D-nudpZf.js";
|
|
21
21
|
const FormWrapper = ({
|
|
22
22
|
asModal = false,
|
|
23
23
|
summary,
|
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { aa as CountryCodes, as as DecisionMakerTypes, y as TaskTypes, a9 as getLegalEntityCountry, bs as getAvailableDecisionMakerRoleTypes, at as Scenarios, bt as allowedCountriesForNominee, bu as isLowRiskCountry } from "./StoreProvider-
|
|
11
|
-
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET } from "./utils-
|
|
10
|
+
import { aa as CountryCodes, as as DecisionMakerTypes, y as TaskTypes, a9 as getLegalEntityCountry, bs as getAvailableDecisionMakerRoleTypes, at as Scenarios, bt as allowedCountriesForNominee, bu as isLowRiskCountry } from "./StoreProvider-mHLtWums.js";
|
|
11
|
+
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET } from "./utils-CXINiC_b.js";
|
|
12
12
|
import { c as createFormRules } from "./form-rules-DhbF2mY4.js";
|
|
13
|
-
import { i as isJapanLocalizationEnabled } from "./japanSupportUtils-
|
|
14
|
-
import { i as isBafinSignatoryFlow } from "./bafinUtils-
|
|
15
|
-
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-
|
|
13
|
+
import { i as isJapanLocalizationEnabled } from "./japanSupportUtils-Cjg3HGeh.js";
|
|
14
|
+
import { i as isBafinSignatoryFlow } from "./bafinUtils-pwkl8kSq.js";
|
|
15
|
+
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-t9bNKGqn.js";
|
|
16
16
|
const REQUIRED = "REQUIRED";
|
|
17
17
|
const OPTIONAL = "OPTIONAL";
|
|
18
18
|
const ID_NUMBER_EXEMPT_COUNTRIES = [
|
|
@@ -11,61 +11,61 @@ import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
|
11
11
|
import { Show } from "@preact/signals/utils";
|
|
12
12
|
import { useMutation, useQuery, skipToken, useQueryClient } from "@tanstack/preact-query";
|
|
13
13
|
import { useState, useRef, useCallback, useEffect, useMemo } from "preact/hooks";
|
|
14
|
-
import { u as useScenarios } from "./useScenarios-
|
|
15
|
-
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-
|
|
16
|
-
import { b as useApiContext, h as httpPost, aa as CountryCodes, aC as matchesRegex, aD as NO_ALPHABET_REGEX, aE as EMOJI_REGEX, aF as hasRepeatedCharacters, aG as isInvalidName, aH as INDIVIDUAL_VALID_CHAR_REGEX, ax as isEmpty, y as TaskTypes, L as LegalEntityTypes, aI as getAgeToday, aJ as euCountries, aK as hasText, aL as standardKatakanaValidator, aM as standardKanjiValidator, j as httpGet, u as useTranslation, W as Button, G as Alert, V as Loader, as as DecisionMakerTypes, at as Scenarios, O as Typography, ac as translateTranslatable, ap as useDataset, aq as datasetIdentifier, aN as useAllowedCountries, k as useSettingsContext, J as useExperimentsContext, aB as Header, aO as getAgeRangeForLegalRepresentative, aP as isLegalRepresentativeNeeded, aQ as Trans, aR as valuesOf, aS as keysOf, ah as objectsDeepEqual, aT as listToRecord, aU as pick, m as createLogger, C as IconButton, z as useAnalyticsContext, am as datasetUtilities, aV as useCapabilities, aW as individualApiKeyMapping, aX as drop, v as useAccountHolder, a9 as getLegalEntityCountry, aY as getAllowedDecisionMakerRoles, aZ as filterOutUnwantedAssociationsIfRootLE, an as cloneObject, a_ as individualDocumentMapping, a$ as individualObscuredFields, ad as getOwnEntityAssociations, b0 as hasNomineesChanged, b1 as attachNomineeToRole, b2 as doArraysMatch } from "./StoreProvider-
|
|
17
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
18
|
-
import { a as addressValidators, A as Address, u as useProviderStatus } from "./Address-
|
|
19
|
-
import { c as contactDetailsValidationRules, a as contactDetailFields, C as ContactDetails, u as useValidatePhoneNumberImperatively, g as getAsyncPhoneValidationRules } from "./ContactDetails-
|
|
20
|
-
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-
|
|
21
|
-
import { u as useToastContext } from "./useToastContext-
|
|
22
|
-
import { g as getPropsFromConfigurations, c as composePerScenarioFormConfigurations } from "./process-field-configurations-
|
|
23
|
-
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
24
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
25
|
-
import { u as uppercase, D as DocumentGuidance, m as mapExistingFile, g as getPageName, a as getPage, b as useScenarioConfiguration } from "./mapExistingFile-
|
|
14
|
+
import { u as useScenarios } from "./useScenarios-BbG9i_sD.js";
|
|
15
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-Bk8GSKP1.js";
|
|
16
|
+
import { b as useApiContext, h as httpPost, aa as CountryCodes, aC as matchesRegex, aD as NO_ALPHABET_REGEX, aE as EMOJI_REGEX, aF as hasRepeatedCharacters, aG as isInvalidName, aH as INDIVIDUAL_VALID_CHAR_REGEX, ax as isEmpty, y as TaskTypes, L as LegalEntityTypes, aI as getAgeToday, aJ as euCountries, aK as hasText, aL as standardKatakanaValidator, aM as standardKanjiValidator, j as httpGet, u as useTranslation, W as Button, G as Alert, V as Loader, as as DecisionMakerTypes, at as Scenarios, O as Typography, ac as translateTranslatable, ap as useDataset, aq as datasetIdentifier, aN as useAllowedCountries, k as useSettingsContext, J as useExperimentsContext, aB as Header, aO as getAgeRangeForLegalRepresentative, aP as isLegalRepresentativeNeeded, aQ as Trans, aR as valuesOf, aS as keysOf, ah as objectsDeepEqual, aT as listToRecord, aU as pick, m as createLogger, C as IconButton, z as useAnalyticsContext, am as datasetUtilities, aV as useCapabilities, aW as individualApiKeyMapping, aX as drop, v as useAccountHolder, a9 as getLegalEntityCountry, aY as getAllowedDecisionMakerRoles, aZ as filterOutUnwantedAssociationsIfRootLE, an as cloneObject, a_ as individualDocumentMapping, a$ as individualObscuredFields, ad as getOwnEntityAssociations, b0 as hasNomineesChanged, b1 as attachNomineeToRole, b2 as doArraysMatch } from "./StoreProvider-mHLtWums.js";
|
|
17
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-DZgtsmFg.js";
|
|
18
|
+
import { a as addressValidators, A as Address, u as useProviderStatus } from "./Address-D_vmsuPk.js";
|
|
19
|
+
import { c as contactDetailsValidationRules, a as contactDetailFields, C as ContactDetails, u as useValidatePhoneNumberImperatively, g as getAsyncPhoneValidationRules } from "./ContactDetails-X7roxa7M.js";
|
|
20
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-B5QKkdAI.js";
|
|
21
|
+
import { u as useToastContext } from "./useToastContext-wDfBfnfF.js";
|
|
22
|
+
import { g as getPropsFromConfigurations, c as composePerScenarioFormConfigurations } from "./process-field-configurations-TVQJVhh6.js";
|
|
23
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-cvPDQGkm.js";
|
|
24
|
+
import { u as useMultiForm } from "./useMultiForm-cC2wlHNB.js";
|
|
25
|
+
import { u as uppercase, D as DocumentGuidance, m as mapExistingFile, g as getPageName, a as getPage, b as useScenarioConfiguration } from "./mapExistingFile-DAKnbl3q.js";
|
|
26
26
|
import { J as JP_ADDRESS_REQUIRED_FIELDS } from "./jpAddressSchema-DEOyz9Yo.js";
|
|
27
|
-
import { t as toFullWidth, m as mapJpAddressSchemaToAddressLocalizations, a as mapJpAddressSummary } from "./mapJpAddressSchemaToAddressLocalizations-
|
|
28
|
-
import { b as addressFields, a as getAddressSchemaLabelsByCountry, C as COUNTRIES_WITH_STATES_DATASET, m as mapAddressLabels } from "./utils-
|
|
29
|
-
import { G as GuidanceQuestionValues, a as GuidanceQuestion, g as getOnfidoIdentityTypeToApiIdentityTypeMap, i as individualFormDefaultData, m as mapLegalEntityToIndividualSchema } from "./mapLegalEntityToIndividualSchema-
|
|
30
|
-
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-
|
|
31
|
-
import { g as getIdDocument, a as getDocument, c as createDocumentRequest, d as documentApiUtils, m as mergeAttachments, b as getFileExtention } from "./validate-
|
|
32
|
-
import { t as taxInformationDefaultFieldMetadata, a as taxInformationDefaultFieldConfig, i as individualIdNumberOptions, b as additionallIdNumberOptions, T as TaxInformationField, M as MemoizedDocumentUpload, c as taxIdNumberOptions, g as getFieldsWithExistingData } from "./TaxInformationField-
|
|
33
|
-
import { i as isJapanLocalizationEnabled } from "./japanSupportUtils-
|
|
34
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
35
|
-
import { I as IFrameWidget, o as omitObscuredFieldsIfUnchanged } from "./iframeWidget-
|
|
36
|
-
import { m as makeMask, n as numericInputs, a as nonInputs, b as alphaInputs, c as customInputs, s as spacer, d as alphanumericInputs, M as MaskedInput } from "./MaskedInput-
|
|
37
|
-
import { v as validatePatternOnBlur } from "./patternValidators-
|
|
27
|
+
import { t as toFullWidth, m as mapJpAddressSchemaToAddressLocalizations, a as mapJpAddressSummary } from "./mapJpAddressSchemaToAddressLocalizations-BwqkpwLG.js";
|
|
28
|
+
import { b as addressFields, a as getAddressSchemaLabelsByCountry, C as COUNTRIES_WITH_STATES_DATASET, m as mapAddressLabels } from "./utils-CXINiC_b.js";
|
|
29
|
+
import { G as GuidanceQuestionValues, a as GuidanceQuestion, g as getOnfidoIdentityTypeToApiIdentityTypeMap, i as individualFormDefaultData, m as mapLegalEntityToIndividualSchema } from "./mapLegalEntityToIndividualSchema-DHNvFq3z.js";
|
|
30
|
+
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-BZEfEJF0.js";
|
|
31
|
+
import { g as getIdDocument, a as getDocument, c as createDocumentRequest, d as documentApiUtils, m as mergeAttachments, b as getFileExtention } from "./validate-CkFqyHrv.js";
|
|
32
|
+
import { t as taxInformationDefaultFieldMetadata, a as taxInformationDefaultFieldConfig, i as individualIdNumberOptions, b as additionallIdNumberOptions, T as TaxInformationField, M as MemoizedDocumentUpload, c as taxIdNumberOptions, g as getFieldsWithExistingData } from "./TaxInformationField-b3yhWTWD.js";
|
|
33
|
+
import { i as isJapanLocalizationEnabled } from "./japanSupportUtils-Cjg3HGeh.js";
|
|
34
|
+
import { l as localizeDateString } from "./localizeDateString-iKn35I7t.js";
|
|
35
|
+
import { I as IFrameWidget, o as omitObscuredFieldsIfUnchanged } from "./iframeWidget-LYI4Hywy.js";
|
|
36
|
+
import { m as makeMask, n as numericInputs, a as nonInputs, b as alphaInputs, c as customInputs, s as spacer, d as alphanumericInputs, M as MaskedInput } from "./MaskedInput-BiyWZvf9.js";
|
|
37
|
+
import { v as validatePatternOnBlur } from "./patternValidators-DHivz8FR.js";
|
|
38
38
|
import { r as resolveFieldMetadata } from "./fieldConfigurations-BUT9DTUH.js";
|
|
39
|
-
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-
|
|
39
|
+
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-t9bNKGqn.js";
|
|
40
40
|
import { lazy, Suspense, memo } from "preact/compat";
|
|
41
|
-
import { I as Image } from "./unincorporated-partnership-
|
|
42
|
-
import { M as Modal } from "./Modal-
|
|
43
|
-
import { L as LandingLayout } from "./LandingLayout-
|
|
44
|
-
import { C as Confirm } from "./Confirm-
|
|
45
|
-
import { a as getIndividualLegalEntityName } from "./getName-
|
|
46
|
-
import { b as idNowModalChildEntityId, a as idNowPostSubmit, s as showIdNowModal, c as shouldShowIdNowModal } from "./bafinUtils-
|
|
41
|
+
import { I as Image } from "./unincorporated-partnership-DPbAzJDe.js";
|
|
42
|
+
import { M as Modal } from "./Modal-B2axEGgw.js";
|
|
43
|
+
import { L as LandingLayout } from "./LandingLayout-DO4D3GZF.js";
|
|
44
|
+
import { C as Confirm } from "./Confirm-DHTZz6n-.js";
|
|
45
|
+
import { a as getIndividualLegalEntityName } from "./getName-D92TbZE4.js";
|
|
46
|
+
import { b as idNowModalChildEntityId, a as idNowPostSubmit, s as showIdNowModal, c as shouldShowIdNowModal } from "./bafinUtils-pwkl8kSq.js";
|
|
47
47
|
import { signal } from "@preact/signals";
|
|
48
|
-
import { E as ErrorPanel, u as useFormRouterContext } from "./ErrorPanel-
|
|
48
|
+
import { E as ErrorPanel, u as useFormRouterContext } from "./ErrorPanel-Dc-0FFlw.js";
|
|
49
49
|
import { g as getFieldProps, a as getFormProps } from "./getProps-Cc3J2-z9.js";
|
|
50
|
-
import { F as Field } from "./Field-
|
|
51
|
-
import { L as Link } from "./Link-
|
|
50
|
+
import { F as Field } from "./Field-BCh4RjjH.js";
|
|
51
|
+
import { L as Link } from "./Link-C53bmm0L.js";
|
|
52
52
|
import { S as SettingNames } from "./types-CQ2p58-6.js";
|
|
53
|
-
import { I as InputDate, f as formatDateObj } from "./InputDate-
|
|
54
|
-
import { I as InputText } from "./InputText-
|
|
55
|
-
import { C as CountryField } from "./CountryField-
|
|
56
|
-
import { R as RadioGroup, a as RadioWithLabel } from "./RadioGroup-
|
|
57
|
-
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-
|
|
58
|
-
import { C as Checkbox } from "./Checkbox-
|
|
59
|
-
import { S as Select } from "./Select-
|
|
60
|
-
import { C as ContextGuidance } from "./ContextGuidance-
|
|
61
|
-
import { C as COUNTRIES_WHICH_USE_MULTIPLE_IDENTITY_TYPES, i as individualRules, D as DECISION_MAKER_TYPES_WITH_JOBTITLE } from "./Individual.rules-
|
|
62
|
-
import { i as isTruthyValidator } from "./commonValidators-
|
|
53
|
+
import { I as InputDate, f as formatDateObj } from "./InputDate-lBYns5ES.js";
|
|
54
|
+
import { I as InputText } from "./InputText-cE4sdkOF.js";
|
|
55
|
+
import { C as CountryField } from "./CountryField-prWQNOFZ.js";
|
|
56
|
+
import { R as RadioGroup, a as RadioWithLabel } from "./RadioGroup-DoV1tEJl.js";
|
|
57
|
+
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-Cu4r_cE7.js";
|
|
58
|
+
import { C as Checkbox } from "./Checkbox-RZJnbRBZ.js";
|
|
59
|
+
import { S as Select } from "./Select-DpfHA9OG.js";
|
|
60
|
+
import { C as ContextGuidance } from "./ContextGuidance-DeZxHGha.js";
|
|
61
|
+
import { C as COUNTRIES_WHICH_USE_MULTIPLE_IDENTITY_TYPES, i as individualRules, D as DECISION_MAKER_TYPES_WITH_JOBTITLE } from "./Individual.rules-Df2tyewj.js";
|
|
62
|
+
import { i as isTruthyValidator } from "./commonValidators-Q1vH12Fp.js";
|
|
63
63
|
import { T as TrustedFieldsProviders } from "./trusted-fields-provider-BgfIoSNJ.js";
|
|
64
|
-
import { n as nameFields, N as Name } from "./Name-
|
|
65
|
-
import { D as Dropzone } from "./Dropzone-
|
|
66
|
-
import { i as isEmpty$1 } from "./isEmpty-
|
|
64
|
+
import { n as nameFields, N as Name } from "./Name-DF_giEzW.js";
|
|
65
|
+
import { D as Dropzone } from "./Dropzone-BpVTBLdK.js";
|
|
66
|
+
import { i as isEmpty$1 } from "./isEmpty-BtKNXm_E.js";
|
|
67
67
|
import { Onfido } from "onfido-sdk-ui";
|
|
68
|
-
import { L as LoaderWrapper } from "./LoaderWrapper-
|
|
68
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-CyNmE5d5.js";
|
|
69
69
|
import { S as Spacer } from "./Spacer-BK3jDget.js";
|
|
70
70
|
import { f as formatObject } from "./utils-DNSfZiio.js";
|
|
71
71
|
import { m as mapSchemaFieldsToApiScriptLocalization } from "./mapAddressLocalizationToJpAddressSchema-vJWbpAyq.js";
|
|
@@ -1693,7 +1693,7 @@ const additionalIdentityInfoFields = [
|
|
|
1693
1693
|
"expiryDate"
|
|
1694
1694
|
];
|
|
1695
1695
|
const LazyJpAddress = lazy(
|
|
1696
|
-
async () => (await import("./JpAddress-
|
|
1696
|
+
async () => (await import("./JpAddress-DgMxCxUO.js")).JpAddress
|
|
1697
1697
|
);
|
|
1698
1698
|
const additionalPersonalDetailsFields = [
|
|
1699
1699
|
"birthDate",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo } from "preact/hooks";
|
|
12
|
-
import { a as InputBase } from "./InputText-
|
|
12
|
+
import { a as InputBase } from "./InputText-cE4sdkOF.js";
|
|
13
13
|
const checkDateInputSupport = () => {
|
|
14
14
|
const input = document.createElement("input");
|
|
15
15
|
input.setAttribute("type", "date");
|
|
@@ -11,7 +11,7 @@ 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 { z as useAnalyticsContext } from "./StoreProvider-
|
|
14
|
+
import { z as useAnalyticsContext } from "./StoreProvider-mHLtWums.js";
|
|
15
15
|
import { d as debouncedInputEvent } from "./debouncedInputEvent-Cv2S512Y.js";
|
|
16
16
|
const InputBase = forwardRef((props, ref) => {
|
|
17
17
|
const userEvents = useAnalyticsContext();
|
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { y as TaskTypes, L as LegalEntityTypes, u as useTranslation, R as useLegalEntity, U as ROOT_LE, a as addResourceBundles, V as Loader, z as useAnalyticsContext, W as Button, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { y as TaskTypes, L as LegalEntityTypes, u as useTranslation, R as useLegalEntity, U as ROOT_LE, a as addResourceBundles, V as Loader, z as useAnalyticsContext, W as Button, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-mHLtWums.js";
|
|
11
11
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
12
12
|
import { useState, useEffect } from "preact/hooks";
|
|
13
|
-
import { S as StepProgressIndicator } from "./StepProgressIndicator-
|
|
13
|
+
import { S as StepProgressIndicator } from "./StepProgressIndicator-CbH70qse.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-JrMNoZpj.js";
|
|
16
16
|
const IntroductionScreens = {
|
|
17
17
|
PROLOGUE: "PROLOGUE",
|
|
18
18
|
INDIVIDUAL: TaskTypes.INDIVIDUAL,
|
|
@@ -10,18 +10,18 @@
|
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useState, useEffect } from "preact/hooks";
|
|
12
12
|
import { useQuery } from "@tanstack/preact-query";
|
|
13
|
-
import { b as useApiContext, j as httpGet, ai as noop, u as useTranslation, J as useExperimentsContext, z as useAnalyticsContext, aa as CountryCodes, O as Typography, P as StackLayout, m as createLogger } from "./StoreProvider-
|
|
14
|
-
import { F as Field } from "./Field-
|
|
13
|
+
import { b as useApiContext, j as httpGet, ai as noop, u as useTranslation, J as useExperimentsContext, z as useAnalyticsContext, aa as CountryCodes, O as Typography, P as StackLayout, m as createLogger } from "./StoreProvider-mHLtWums.js";
|
|
14
|
+
import { F as Field } from "./Field-BCh4RjjH.js";
|
|
15
15
|
import { L as List } from "./List-BAzyC6sw.js";
|
|
16
16
|
import { S as Spacer } from "./Spacer-BK3jDget.js";
|
|
17
|
-
import { u as useForm } from "./useForm-
|
|
18
|
-
import { I as InputText } from "./InputText-
|
|
19
|
-
import { M as MaskedInput, m as makeMask, n as numericInputs, a as nonInputs } from "./MaskedInput-
|
|
17
|
+
import { u as useForm } from "./useForm-vad8DlLx.js";
|
|
18
|
+
import { I as InputText } from "./InputText-cE4sdkOF.js";
|
|
19
|
+
import { M as MaskedInput, m as makeMask, n as numericInputs, a as nonInputs } from "./MaskedInput-BiyWZvf9.js";
|
|
20
20
|
import { J as JP_ADDRESS_REQUIRED_FIELDS } from "./jpAddressSchema-DEOyz9Yo.js";
|
|
21
|
-
import { h as addressValidationRulesV4, j as addressValidationRules } from "./Address-
|
|
21
|
+
import { h as addressValidationRulesV4, j as addressValidationRules } from "./Address-D_vmsuPk.js";
|
|
22
22
|
import { u as useDebouncedCallback } from "./debouncedInputEvent-Cv2S512Y.js";
|
|
23
|
-
import { c as convertFullToHalf } from "./TextArea-
|
|
24
|
-
import { t as toFullWidth } from "./mapJpAddressSchemaToAddressLocalizations-
|
|
23
|
+
import { c as convertFullToHalf } from "./TextArea-C0PzOf5N.js";
|
|
24
|
+
import { t as toFullWidth } from "./mapJpAddressSchemaToAddressLocalizations-BwqkpwLG.js";
|
|
25
25
|
const retrieveFromPostcodeJp = async (legalEntityId, baseUrl, postalCode) => httpGet({
|
|
26
26
|
baseUrl,
|
|
27
27
|
path: `legalEntities/${legalEntityId}/addresses/jp/${postalCode}`
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { P as StackLayout, O as Typography } from "./StoreProvider-
|
|
11
|
+
import { P as StackLayout, O as Typography } from "./StoreProvider-mHLtWums.js";
|
|
12
12
|
const landingLayoutImage = "adyen-kyc-landing-layout-image";
|
|
13
13
|
const landingLayoutActions = "adyen-kyc-landing-layout-actions";
|
|
14
14
|
const landingLayoutErrors = "adyen-kyc-landing-layout-errors";
|
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { aa as CountryCodes } from "./StoreProvider-
|
|
11
|
-
import { d as validateLegalCompanyName, a as validateNotEmptyOnBlur, e as validateLatinSpaceMarkPunctuationNumbersOnlyOnBlur } from "./patternValidators-
|
|
10
|
+
import { aa as CountryCodes } from "./StoreProvider-mHLtWums.js";
|
|
11
|
+
import { d as validateLegalCompanyName, a as validateNotEmptyOnBlur, e as validateLatinSpaceMarkPunctuationNumbersOnlyOnBlur } from "./patternValidators-DHivz8FR.js";
|
|
12
12
|
import { jsx } from "preact/jsx-runtime";
|
|
13
|
-
import { F as Field } from "./Field-
|
|
14
|
-
import { K as KEYBOARD_KEYS } from "./Modal-
|
|
15
|
-
import { I as InputText } from "./InputText-
|
|
13
|
+
import { F as Field } from "./Field-BCh4RjjH.js";
|
|
14
|
+
import { K as KEYBOARD_KEYS } from "./Modal-B2axEGgw.js";
|
|
15
|
+
import { I as InputText } from "./InputText-cE4sdkOF.js";
|
|
16
16
|
const defaultFieldMetadata = {
|
|
17
17
|
label: "legalCompanyName",
|
|
18
18
|
validators: validateNotEmptyOnBlur
|
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { R as useLegalEntity, U as ROOT_LE, u as useTranslation, a as addResourceBundles, V as Loader, a9 as getLegalEntityCountry, w as EntityTypes, ai as noop, y as TaskTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { R as useLegalEntity, U as ROOT_LE, u as useTranslation, a as addResourceBundles, V as Loader, a9 as getLegalEntityCountry, w as EntityTypes, ai as noop, y as TaskTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-mHLtWums.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
12
|
import { skipToken } from "@tanstack/preact-query";
|
|
13
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-
|
|
14
|
-
import { I as IndividualDropin } from "./IndividualDropin-
|
|
13
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-Cn6NNpx3.js";
|
|
14
|
+
import { I as IndividualDropin } from "./IndividualDropin-ffk4cENA.js";
|
|
15
15
|
function LegalRepresentativeDetailsPage({
|
|
16
16
|
legalRepresentativeId,
|
|
17
17
|
asModal = false,
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { B as Icon } from "./StoreProvider-
|
|
12
|
+
import { B as Icon } from "./StoreProvider-mHLtWums.js";
|
|
13
13
|
const link = "adyen-kyc-link";
|
|
14
14
|
const linkDefault = "adyen-kyc-link-default";
|
|
15
15
|
const linkInline = "adyen-kyc-link-inline";
|
|
@@ -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 { B as Icon } from "./StoreProvider-
|
|
12
|
+
import { A as Avatar } from "./Avatar-CKx8J5lx.js";
|
|
13
|
+
import { B as Icon } from "./StoreProvider-mHLtWums.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";
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { V as Loader } from "./StoreProvider-
|
|
12
|
+
import { V as Loader } from "./StoreProvider-mHLtWums.js";
|
|
13
13
|
const loaderWrapperLoader = "adyen-kyc-loader-wrapper-loader";
|
|
14
14
|
const loaderWrapperLoaderActive = "adyen-kyc-loader-wrapper-loader-active";
|
|
15
15
|
const styles = {
|