@adyen/kyc-components 3.90.2 → 3.90.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AcceptTermsOfServiceComponent-BRDCvIzn.js → AcceptTermsOfServiceComponent-D87Fwd2f.js} +12 -12
- package/dist/{Accordion-DgySJGHZ.js → Accordion-BlQDgq9k.js} +1 -1
- package/dist/{AccountSetupRejected-BO1-TNW5.js → AccountSetupRejected-DukZkSO2.js} +3 -3
- package/dist/{ActionBar-BC2y5nTw.js → ActionBar-BmF9QFwD.js} +1 -1
- package/dist/{Address-BPnBjFEl.js → Address-DbMsGXmd.js} +7 -7
- package/dist/{Alert-en_LjFuh.js → Alert-8DgB9Po_.js} +2 -2
- package/dist/{Avatar-DoksuvD1.js → Avatar-BRe0h5-c.js} +1 -1
- package/dist/{BusinessDetailsDropin-O5qkIiQz.js → BusinessDetailsDropin-BuzPnl1j.js} +66 -41
- package/dist/{BusinessFinancingComponent-D6YSg4-6.js → BusinessFinancingComponent-DhPUn1b6.js} +4 -4
- package/dist/{BusinessFinancingDropin-BndXzeB3.js → BusinessFinancingDropin-OGBTrvRE.js} +21 -21
- package/dist/{BusinessFinancingPage-Cq4ucLJU.js → BusinessFinancingPage-CWLCAwdc.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-DnlUiT4r.js → BusinessTypeSelectionPage-BqFdubjG.js} +7 -7
- package/dist/{Card-CLabf63j.js → Card-Cg_gK9VR.js} +2 -2
- package/dist/{ConstitutionalDocument-CosVm_qv.js → ConstitutionalDocument-CeRqguDT.js} +2 -2
- package/dist/{CountryField-BjnAAbBe.js → CountryField-DwQBatok.js} +5 -5
- package/dist/{CreateIndividualComponent-Diatv4oJ.js → CreateIndividualComponent-BI0EaF5n.js} +4 -4
- package/dist/{CreateTransferInstrumentComponent-DjWnlvkE.js → CreateTransferInstrumentComponent-Dv0Eg2S_.js} +4 -4
- package/dist/{Currency-D3ElLnkS.js → Currency-Coe3QMbX.js} +4 -4
- package/dist/{CustomerSupport-CxlQhJ2U.js → CustomerSupport-DgzuQZiK.js} +9 -9
- package/dist/{DebugModal-7uGAe8Jl.js → DebugModal-DsqZUbWg.js} +7 -7
- package/dist/{DecisionMakerDetailsPage-Bk-AwB9i.js → DecisionMakerDetailsPage-D8TgmTBL.js} +5 -5
- package/dist/{DecisionMakers-D0-L_qXz.js → DecisionMakers-CGqCnH4Z.js} +19 -19
- package/dist/{EmbeddedStatus-DPKHd7Fv.js → EmbeddedStatus-92LgcEzI.js} +2 -2
- package/dist/{EndStateLayout-CG0_BT-U.js → EndStateLayout-D0to_JhP.js} +1 -1
- package/dist/{EntityAssociation-B9L11tYV.js → EntityAssociation-CHe9memX.js} +7 -7
- package/dist/{EntityGuidanceStatus-Bh2CQ06L.js → EntityGuidanceStatus-DknfogFW.js} +2 -2
- package/dist/{FormFlow-CrLp30sd.js → FormFlow-LSmyX7Hx.js} +7 -7
- package/dist/{FormNavigation-zCXsmyKt.js → FormNavigation-CqfOhkuK.js} +2 -2
- package/dist/{FormWrapper-CEi4E2ad.js → FormWrapper-DjmK6JTP.js} +9 -9
- package/dist/{IndividualOnfido-DtdkIpGU.js → IndividualOnfido-wkc1IOjL.js} +22 -16
- package/dist/{IndividualOnfidoDropin-AEAjIJb3.js → IndividualOnfidoDropin-BWwS8BW-.js} +33 -29
- package/dist/{InputText-DA7iQTzB.js → InputText-CnhTDLn9.js} +2 -2
- package/dist/{Introduction-DZqwhdSR.js → Introduction-ButyMTuN.js} +3 -3
- package/dist/{JpAddress-Do3Z8j2i.js → JpAddress-BRrbCC65.js} +7 -7
- package/dist/{LegalRepresentativeDetailsPage-B10Xuo2t.js → LegalRepresentativeDetailsPage-DkSwkgLZ.js} +3 -3
- package/dist/{ListItem-B0JwXrgM.js → ListItem-BZNzvNV9.js} +2 -2
- package/dist/{ManageIndividualComponent-D3oeRWbJ.js → ManageIndividualComponent-C8gbdwHY.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-BV6gM6iF.js → ManageTermsOfServiceComponent-CXFVMwlI.js} +4 -4
- package/dist/{ManageTransferInstrumentComponent--iqQ2fnQ.js → ManageTransferInstrumentComponent-BZJSGNF-.js} +11 -11
- package/dist/{MaybeModal-BIVzIfaN.js → MaybeModal-CaM5KrtN.js} +2 -2
- package/dist/{Modal-ahLC-iIq.js → Modal-Cp3v04bI.js} +1 -1
- package/dist/{OnboardingDropinComponent-DOeXNOhc.js → OnboardingDropinComponent-BBx0mAip.js} +51 -51
- package/dist/{PayoutDetailsDropin-DsORebKm.js → PayoutDetailsDropin-Ctf6ofH4.js} +26 -26
- package/dist/{Review-DzsqbXII.js → Review-aiVhflJA.js} +6 -6
- package/dist/{RootBusinessDetailsPage-xQWlJXtm.js → RootBusinessDetailsPage-tSYoYQpN.js} +4 -4
- package/dist/{RootBusinessLinesPage-BFpSfBV1.js → RootBusinessLinesPage-DQJi7udh.js} +22 -22
- package/dist/{RootIndividualDetailsPage-BMINFE5Q.js → RootIndividualDetailsPage-CjnLMWcW.js} +5 -5
- package/dist/{SignPCIComponent-DYvxjp5L.js → SignPCIComponent-DWJVpEyn.js} +9 -9
- package/dist/{SingpassSelection-KO5wPj_K.js → SingpassSelection-DxouOwBE.js} +3 -3
- package/dist/{SoleProprietorshipPage-C0rrVn7z.js → SoleProprietorshipPage-D-ITUkB0.js} +3 -3
- package/dist/{SourceOfFundsPage-B5-wlPpl.js → SourceOfFundsPage-D6loRwDi.js} +24 -24
- package/dist/{Spacer-Ch-0l8D-.js → Spacer-B59jyGSP.js} +8 -8
- package/dist/{StepProgressIndicator-BoX3RnZU.js → StepProgressIndicator-DZQZ2mIK.js} +1 -1
- package/dist/{StoreProvider-CI36KtEJ.js → StoreProvider-C1Dsf-BK.js} +4 -4
- package/dist/{Summary-BEsXV_pZ.js → Summary-Cg8ylB81.js} +3 -3
- package/dist/{TaxReportingDropin-DgGeTRwA.js → TaxReportingDropin-C5anBKOG.js} +15 -15
- package/dist/{TrustDetailsPage-BpAZnxfl.js → TrustDetailsPage-MtUEFasa.js} +26 -26
- package/dist/{TrustMemberCompanyPage-D_kvCPC1.js → TrustMemberCompanyPage-Cl9-fyhr.js} +4 -4
- package/dist/{TrustMemberIndividualPage-D1YvkZy9.js → TrustMemberIndividualPage-DopNwPMM.js} +3 -3
- package/dist/{TrustMemberRoleAndTypePage-jZgnVSum.js → TrustMemberRoleAndTypePage-d04EES1-.js} +13 -13
- package/dist/{TrustMembersOverview-CjRt2Fh7.js → TrustMembersOverview-BknCvO9l.js} +11 -11
- package/dist/{UnincorporatedPartnershipIndividualPage-BbQHUCcB.js → UnincorporatedPartnershipIndividualPage-4rclPxko.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-BpwGlX28.js → UnincorporatedPartnershipMemberCompanyPage-iSgKt6pj.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-DtmrXHK3.js → UnincorporatedPartnershipMemberRoleAndTypePage-BvNHAU_2.js} +8 -8
- package/dist/{UnincorporatedPartnershipMembersOverview-D_iaH1UU.js → UnincorporatedPartnershipMembersOverview-CxUQZ-Df.js} +8 -8
- package/dist/{VerificationErrorAlert-B5qMemGE.js → VerificationErrorAlert-sXEIyVb_.js} +3 -3
- package/dist/{ViewVerificationStatusComponent-PzJ16g_N.js → ViewVerificationStatusComponent-Cwqe_JI8.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-djJun_EE.js → debouncedInputEvent-m_KweSUi.js} +1 -1
- package/dist/{documentUtils-CGvnVtmC.js → documentUtils-Bq4Fcc1a.js} +58 -7
- package/dist/{dropinUtils-QyD_Awxv.js → dropinUtils-D18lPyMd.js} +3 -3
- package/dist/{getFieldsWithExistingData-DDAOO3v3.js → getFieldsWithExistingData-CapkzyUd.js} +1 -1
- package/dist/{getName-D-8pt9JC.js → getName-nDhiFv_d.js} +1 -1
- package/dist/{hasDataChanged-BuXRlPli.js → hasDataChanged-C0QfFyi1.js} +1 -1
- package/dist/{iframeWidget-Cum-fVPX.js → iframeWidget-BCjAg6Te.js} +3 -3
- package/dist/{localizeDateString-BmC7pUDO.js → localizeDateString-z7rZoHCC.js} +1 -1
- package/dist/{mapExistingFile-CgstRs83.js → mapExistingFile-DelM9H33.js} +2 -2
- package/dist/{mapFinancialReportsToFinancialInformation-Cq2RWP3q.js → mapFinancialReportsToFinancialInformation-DnMxxQ3r.js} +2 -2
- package/dist/{mapJpAddressSchemaToAddressLocalizations-BXb9w8Ji.js → mapJpAddressSchemaToAddressLocalizations-CEsSDC2k.js} +2 -2
- package/dist/{mapLegalEntityToIndividualOnfidoSchema-t7eCaIZy.js → mapLegalEntityToIndividualOnfidoSchema-auEiNgnL.js} +2 -2
- package/dist/{mapTransferInstrumentToPayoutAccount-C3RQNfKN.js → mapTransferInstrumentToPayoutAccount-kIGvDg1E.js} +1 -1
- package/dist/{process-field-configurations-RsOjqGgr.js → process-field-configurations-uok9IFxE.js} +2 -2
- package/dist/{resolveEnvironment-Cm7ZMg8e.js → resolveEnvironment-DkZRgyhm.js} +3 -3
- package/dist/{rules-DNLl28n7.js → rules-C6TpNEnm.js} +4 -4
- package/dist/types/utils/api/documentUtils.d.ts +6 -0
- package/dist/{types-CuUpLShI.js → types-CFuzQz8C.js} +1 -1
- package/dist/{types-Cls8Ws4X.js → types-D7B6pUZ4.js} +1 -1
- package/dist/{types-BjulUQZs.js → types-JTwLUY63.js} +1 -1
- package/dist/{useAssociatedLegalEntity-C0fauMUw.js → useAssociatedLegalEntity-XQUeQ705.js} +1 -1
- package/dist/{useCreateLegalEntity-duHIB7zw.js → useCreateLegalEntity-Cap8fK-F.js} +1 -1
- package/dist/{useDataset-BUt1-zBQ.js → useDataset-CVXbYF2B.js} +3 -3
- package/dist/{useForm-CxUeSVAa.js → useForm-CV5yIbAW.js} +4 -4
- package/dist/{useGlobalData-lCbx7YAq.js → useGlobalData-a_K7Lhat.js} +2 -2
- package/dist/{useMultiForm-Dg7W-Bbk.js → useMultiForm-Cl7j2UJo.js} +3 -3
- package/dist/{useOnboardingStatus-BZHodnkY.js → useOnboardingStatus-p1DAB7gR.js} +1 -1
- package/dist/{useScenarios-Czw7RUBe.js → useScenarios-C9cgFIwR.js} +1 -1
- package/dist/{useTermsOfServiceStatus-D2XZXVTR.js → useTermsOfServiceStatus-DvK04EPa.js} +1 -1
- package/dist/{useToastContext-dTryNVgP.js → useToastContext-D_FkzBo_.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-Dwyohm2U.js → useUnincorporatedPartnershipMembers-CmOklDzw.js} +4 -4
- package/dist/{useUpdateBusinessLines-mzkw8oIH.js → useUpdateBusinessLines-2i9G3ESb.js} +1 -1
- package/dist/{useUpdateLegalEntity-BEkfsrTr.js → useUpdateLegalEntity-5jT0WLYb.js} +2 -2
- package/dist/{utils-D8GWOzfm.js → utils-OJ5FYKVc.js} +5 -5
- package/dist/{utils-BBehVjLE.js → utils-XqO17YWC.js} +3 -3
- package/dist/{validate-t_OcU_1l.js → validate-B8kfNxjg.js} +1 -1
- package/dist/{validate-DG9_xxX7.js → validate-g9wpUSZu.js} +1 -1
- package/dist/{validationError-B4HrkugZ.js → validationError-CY4oyE6_.js} +1 -1
- package/package.json +1 -1
package/dist/{TrustMemberIndividualPage-D1YvkZy9.js → TrustMemberIndividualPage-DopNwPMM.js}
RENAMED
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as useLegalEntity, w as skipToken, X as useExperimentsContext, u as useTranslation, a as addResourceBundles, L as Loader, g as getLegalEntityCountry, ak as isOnfidoAutofillFlowEnabled, a4 as noop, O as TaskTypes, M as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { c as useLegalEntity, w as skipToken, X as useExperimentsContext, u as useTranslation, a as addResourceBundles, L as Loader, g as getLegalEntityCountry, ak as isOnfidoAutofillFlowEnabled, a4 as noop, O as TaskTypes, M as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-C1Dsf-BK.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { i as useCapabilityProblems, j as getProblemsForEntity } from "./Spacer-
|
|
13
|
-
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-
|
|
12
|
+
import { i as useCapabilityProblems, j as getProblemsForEntity } from "./Spacer-B59jyGSP.js";
|
|
13
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-BWwS8BW-.js";
|
|
14
14
|
function TrustMemberIndividualPage({
|
|
15
15
|
memberId,
|
|
16
16
|
trustId,
|
package/dist/{TrustMemberRoleAndTypePage-jZgnVSum.js → TrustMemberRoleAndTypePage-d04EES1-.js}
RENAMED
|
@@ -7,22 +7,22 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { r as LegalEntityTypes, ag as TrustMemberTypes, W as isEmpty, u as useTranslation, X as useExperimentsContext, c as useLegalEntity, w as skipToken, af as getOwnEntityAssociations, C as CountryCodes, P as createLogger, a as addResourceBundles, L as Loader, g as getLegalEntityCountry, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { r as LegalEntityTypes, ag as TrustMemberTypes, W as isEmpty, u as useTranslation, X as useExperimentsContext, c as useLegalEntity, w as skipToken, af as getOwnEntityAssociations, C as CountryCodes, P as createLogger, a as addResourceBundles, L as Loader, g as getLegalEntityCountry, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-C1Dsf-BK.js";
|
|
11
11
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
12
|
-
import { Q as defaultFieldMetadata, S as defaultFieldConfig, ad as isNewEntity, ae as LegalCompanyNameField, af as LEGAL_COMPANY_NAME_FIELD, ac as useTrustMembers } from "./OnboardingDropinComponent-
|
|
12
|
+
import { Q as defaultFieldMetadata, S as defaultFieldConfig, ad as isNewEntity, ae as LegalCompanyNameField, af as LEGAL_COMPANY_NAME_FIELD, ac as useTrustMembers } from "./OnboardingDropinComponent-BBx0mAip.js";
|
|
13
13
|
import { useEffect, useState } from "preact/hooks";
|
|
14
|
-
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-
|
|
15
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
16
|
-
import { a as useToastContext } from "./useToastContext-
|
|
17
|
-
import { A as ActionBar } from "./ActionBar-
|
|
14
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-Cap8fK-F.js";
|
|
15
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-5jT0WLYb.js";
|
|
16
|
+
import { a as useToastContext } from "./useToastContext-D_FkzBo_.js";
|
|
17
|
+
import { A as ActionBar } from "./ActionBar-BmF9QFwD.js";
|
|
18
18
|
import { D as DropinLayout } from "./DropinLayout-CBP_cHLC.js";
|
|
19
|
-
import { F as FormNavigation } from "./FormNavigation-
|
|
20
|
-
import { s as summaryStep, S as Summary } from "./Summary-
|
|
21
|
-
import { u as useForm, F as Field } from "./useForm-
|
|
22
|
-
import { m as mergeFieldMetadataIntoProps, d as getFieldProps, H as Header, E as ErrorPanel, c as createFormUtils, C as CountryField, b as COUNTRY_FIELD, s as summaryItem, f as getRoleName } from "./CountryField-
|
|
23
|
-
import { a3 as MultiSelectList, a4 as makeSelectItemForRole, a5 as Name, a6 as nameFields } from "./IndividualOnfido-
|
|
24
|
-
import { r as resolveFieldMetadata, R as RadioGroupCard, t as TextArea } from "./Spacer-
|
|
25
|
-
import { t as trustMemberLegalEntityTypes, i as isOrganizationAndSettlor, s as settlorExemptionReasonWithNoneOfTheAbove, c as couldBeExemptSettlor, a as isExemptSettlor } from "./types-
|
|
19
|
+
import { F as FormNavigation } from "./FormNavigation-CqfOhkuK.js";
|
|
20
|
+
import { s as summaryStep, S as Summary } from "./Summary-Cg8ylB81.js";
|
|
21
|
+
import { u as useForm, F as Field } from "./useForm-CV5yIbAW.js";
|
|
22
|
+
import { m as mergeFieldMetadataIntoProps, d as getFieldProps, H as Header, E as ErrorPanel, c as createFormUtils, C as CountryField, b as COUNTRY_FIELD, s as summaryItem, f as getRoleName } from "./CountryField-DwQBatok.js";
|
|
23
|
+
import { a3 as MultiSelectList, a4 as makeSelectItemForRole, a5 as Name, a6 as nameFields } from "./IndividualOnfido-wkc1IOjL.js";
|
|
24
|
+
import { r as resolveFieldMetadata, R as RadioGroupCard, t as TextArea } from "./Spacer-B59jyGSP.js";
|
|
25
|
+
import { t as trustMemberLegalEntityTypes, i as isOrganizationAndSettlor, s as settlorExemptionReasonWithNoneOfTheAbove, c as couldBeExemptSettlor, a as isExemptSettlor } from "./types-D7B6pUZ4.js";
|
|
26
26
|
const convertExistingSettlorExemptionReasons = (existingReasons) => {
|
|
27
27
|
if (!existingReasons || !existingReasons.length) return ["noneOfTheAbove"];
|
|
28
28
|
return existingReasons;
|
|
@@ -7,19 +7,19 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { af as getOwnEntityAssociations, u as useTranslation, B as Button, r as LegalEntityTypes, X as useExperimentsContext, ag as TrustMemberTypes, U as TaskStatuses, c as useLegalEntity, R as ROOT_LE, a as addResourceBundles, L as Loader, a7 as useGetTaskStatus, bH as DEFAULT_TRUST_MEMBER_REQUIREMENTS, O as TaskTypes, C as CountryCodes, an as Trans, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { af as getOwnEntityAssociations, u as useTranslation, B as Button, r as LegalEntityTypes, X as useExperimentsContext, ag as TrustMemberTypes, U as TaskStatuses, c as useLegalEntity, R as ROOT_LE, a as addResourceBundles, L as Loader, a7 as useGetTaskStatus, bH as DEFAULT_TRUST_MEMBER_REQUIREMENTS, O as TaskTypes, C as CountryCodes, an as Trans, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-C1Dsf-BK.js";
|
|
11
11
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
12
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
13
|
-
import { H as Header, S as StackLayout } from "./CountryField-
|
|
14
|
-
import { a as useToastContext } from "./useToastContext-
|
|
15
|
-
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-
|
|
16
|
-
import { ac as useTrustMembers } from "./OnboardingDropinComponent-
|
|
17
|
-
import { C as ContextGuidance } from "./Spacer-
|
|
18
|
-
import { A as ActionBar } from "./ActionBar-
|
|
12
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-5jT0WLYb.js";
|
|
13
|
+
import { H as Header, S as StackLayout } from "./CountryField-DwQBatok.js";
|
|
14
|
+
import { a as useToastContext } from "./useToastContext-D_FkzBo_.js";
|
|
15
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-XQUeQ705.js";
|
|
16
|
+
import { ac as useTrustMembers } from "./OnboardingDropinComponent-BBx0mAip.js";
|
|
17
|
+
import { C as ContextGuidance } from "./Spacer-B59jyGSP.js";
|
|
18
|
+
import { A as ActionBar } from "./ActionBar-BmF9QFwD.js";
|
|
19
19
|
import { D as DropinLayout } from "./DropinLayout-CBP_cHLC.js";
|
|
20
|
-
import { E as EntityGuidanceStatus, i as iconStatus } from "./EntityGuidanceStatus-
|
|
21
|
-
import { a as Alert } from "./Alert-
|
|
22
|
-
import { E as EntityAssociation } from "./EntityAssociation-
|
|
20
|
+
import { E as EntityGuidanceStatus, i as iconStatus } from "./EntityGuidanceStatus-DknfogFW.js";
|
|
21
|
+
import { a as Alert } from "./Alert-8DgB9Po_.js";
|
|
22
|
+
import { E as EntityAssociation } from "./EntityAssociation-CHe9memX.js";
|
|
23
23
|
const deleteAssociatedTrustMember = async ({
|
|
24
24
|
associatedTrustMember,
|
|
25
25
|
trust,
|
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as useLegalEntity, w as skipToken, X as useExperimentsContext, u as useTranslation, a as addResourceBundles, L as Loader, g as getLegalEntityCountry, ak as isOnfidoAutofillFlowEnabled, a4 as noop, O as TaskTypes, M as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { c as useLegalEntity, w as skipToken, X as useExperimentsContext, u as useTranslation, a as addResourceBundles, L as Loader, g as getLegalEntityCountry, ak as isOnfidoAutofillFlowEnabled, a4 as noop, O as TaskTypes, M as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-C1Dsf-BK.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { i as useCapabilityProblems, j as getProblemsForEntity } from "./Spacer-
|
|
13
|
-
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-
|
|
12
|
+
import { i as useCapabilityProblems, j as getProblemsForEntity } from "./Spacer-B59jyGSP.js";
|
|
13
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-BWwS8BW-.js";
|
|
14
14
|
function UnincorporatedPartnershipIndividualPage({
|
|
15
15
|
memberId,
|
|
16
16
|
partnershipId,
|
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { u as useTranslation, c as useLegalEntity, R as ROOT_LE, w as skipToken, a as addResourceBundles, L as Loader, g as getLegalEntityCountry, O as TaskTypes, M as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { u as useTranslation, c as useLegalEntity, R as ROOT_LE, w as skipToken, a as addResourceBundles, L as Loader, g as getLegalEntityCountry, O as TaskTypes, M as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-C1Dsf-BK.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { u as useUnincorporatedPartnershipMembers } from "./useUnincorporatedPartnershipMembers-
|
|
13
|
-
import { i as useCapabilityProblems, j as getProblemsForEntity } from "./Spacer-
|
|
14
|
-
import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-
|
|
12
|
+
import { u as useUnincorporatedPartnershipMembers } from "./useUnincorporatedPartnershipMembers-CmOklDzw.js";
|
|
13
|
+
import { i as useCapabilityProblems, j as getProblemsForEntity } from "./Spacer-B59jyGSP.js";
|
|
14
|
+
import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-BuzPnl1j.js";
|
|
15
15
|
function UnincorporatedPartnershipMemberCompanyPage({
|
|
16
16
|
partnershipId,
|
|
17
17
|
partnershipMemberCompanyId,
|
|
@@ -7,16 +7,16 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { V as useI18nContext, W as isEmpty, u as useTranslation, B as Button, r as LegalEntityTypes, c as useLegalEntity, w as skipToken, a as addResourceBundles, L as Loader, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { V as useI18nContext, W as isEmpty, u as useTranslation, B as Button, r as LegalEntityTypes, c as useLegalEntity, w as skipToken, a as addResourceBundles, L as Loader, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-C1Dsf-BK.js";
|
|
11
11
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
12
|
-
import { u as useUnincorporatedPartnershipMembers } from "./useUnincorporatedPartnershipMembers-
|
|
12
|
+
import { u as useUnincorporatedPartnershipMembers } from "./useUnincorporatedPartnershipMembers-CmOklDzw.js";
|
|
13
13
|
import { useState } from "preact/hooks";
|
|
14
|
-
import { F as Field, u as useForm } from "./useForm-
|
|
15
|
-
import { U as UnincorporatedPartnershipMemberTypes, H as Header, c as createFormUtils } from "./CountryField-
|
|
16
|
-
import { R as RadioGroupCard } from "./Spacer-
|
|
17
|
-
import { F as FormNavigation } from "./FormNavigation-
|
|
18
|
-
import { t as trustMemberLegalEntityTypes } from "./types-
|
|
19
|
-
import { R as RadioGroup } from "./Address-
|
|
14
|
+
import { F as Field, u as useForm } from "./useForm-CV5yIbAW.js";
|
|
15
|
+
import { U as UnincorporatedPartnershipMemberTypes, H as Header, c as createFormUtils } from "./CountryField-DwQBatok.js";
|
|
16
|
+
import { R as RadioGroupCard } from "./Spacer-B59jyGSP.js";
|
|
17
|
+
import { F as FormNavigation } from "./FormNavigation-CqfOhkuK.js";
|
|
18
|
+
import { t as trustMemberLegalEntityTypes } from "./types-D7B6pUZ4.js";
|
|
19
|
+
import { R as RadioGroup } from "./Address-DbMsGXmd.js";
|
|
20
20
|
const adyenKycRoleAndTypeContainer = "adyen-kyc-adyen-kyc-role-and-type-container";
|
|
21
21
|
const adyenKycRoleAndTypeActionBar = "adyen-kyc-adyen-kyc-role-and-type-action-bar";
|
|
22
22
|
const inlineRadioGroup = "adyen-kyc-inline-radio-group";
|
|
@@ -7,17 +7,17 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { u as useTranslation, c as useLegalEntity, R as ROOT_LE, r as LegalEntityTypes, a8 as useGlobalStore, a as addResourceBundles, a7 as useGetTaskStatus, L as Loader, O as TaskTypes, B as Button, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { u as useTranslation, c as useLegalEntity, R as ROOT_LE, r as LegalEntityTypes, a8 as useGlobalStore, a as addResourceBundles, a7 as useGetTaskStatus, L as Loader, O as TaskTypes, B as Button, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-C1Dsf-BK.js";
|
|
11
11
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
12
12
|
import { useEffect } from "preact/hooks";
|
|
13
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
14
|
-
import { H as Header, S as StackLayout } from "./CountryField-
|
|
15
|
-
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-
|
|
16
|
-
import { u as useUnincorporatedPartnershipMembers, d as deleteUnincorporatedPartnershipMember } from "./useUnincorporatedPartnershipMembers-
|
|
17
|
-
import { a as Alert } from "./Alert-
|
|
18
|
-
import { A as ActionBar } from "./ActionBar-
|
|
13
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-5jT0WLYb.js";
|
|
14
|
+
import { H as Header, S as StackLayout } from "./CountryField-DwQBatok.js";
|
|
15
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-XQUeQ705.js";
|
|
16
|
+
import { u as useUnincorporatedPartnershipMembers, d as deleteUnincorporatedPartnershipMember } from "./useUnincorporatedPartnershipMembers-CmOklDzw.js";
|
|
17
|
+
import { a as Alert } from "./Alert-8DgB9Po_.js";
|
|
18
|
+
import { A as ActionBar } from "./ActionBar-BmF9QFwD.js";
|
|
19
19
|
import { D as DropinLayout } from "./DropinLayout-CBP_cHLC.js";
|
|
20
|
-
import { E as EntityAssociation } from "./EntityAssociation-
|
|
20
|
+
import { E as EntityAssociation } from "./EntityAssociation-CHe9memX.js";
|
|
21
21
|
const alertHeader = "adyen-kyc-alert-header";
|
|
22
22
|
const styles = {
|
|
23
23
|
alertHeader
|
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, $ as useMutation, aN as httpDelete, u as useTranslation } from "./StoreProvider-
|
|
11
|
-
import { c as useInvalidateRootLegalEntity } from "./useToastContext-
|
|
10
|
+
import { b as useApiContext, $ as useMutation, aN as httpDelete, u as useTranslation } from "./StoreProvider-C1Dsf-BK.js";
|
|
11
|
+
import { c as useInvalidateRootLegalEntity } from "./useToastContext-D_FkzBo_.js";
|
|
12
12
|
import { jsx } from "preact/jsx-runtime";
|
|
13
|
-
import { a as Alert } from "./Alert-
|
|
13
|
+
import { a as Alert } from "./Alert-8DgB9Po_.js";
|
|
14
14
|
const deleteTransferInstrument = async (legalEntityId, baseUrl, transferInstrumentId) => {
|
|
15
15
|
return httpDelete({
|
|
16
16
|
baseUrl,
|
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, $ as useMutation, k as httpPost, P as createLogger, u as useTranslation, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper, L as Loader, B as Button } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, $ as useMutation, k as httpPost, P as createLogger, u as useTranslation, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper, L as Loader, B as Button } from "./StoreProvider-C1Dsf-BK.js";
|
|
11
11
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
12
12
|
import { useState, useMemo, useCallback, useEffect } from "preact/hooks";
|
|
13
|
-
import { u as useOnboardingStatus } from "./useOnboardingStatus-
|
|
13
|
+
import { u as useOnboardingStatus } from "./useOnboardingStatus-p1DAB7gR.js";
|
|
14
14
|
import { O as OnboardingStatuses } from "./view-verification-status-VFcBydkR.js";
|
|
15
|
-
import { a as Alert } from "./Alert-
|
|
15
|
+
import { a as Alert } from "./Alert-8DgB9Po_.js";
|
|
16
16
|
const generateOnboardingLink = async (legalEntityId, baseUrl, data) => {
|
|
17
17
|
return httpPost(
|
|
18
18
|
{
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useRef } from "preact/hooks";
|
|
12
|
-
import { c, s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-
|
|
13
|
-
import { B as BusinessFinancingComponent } from "./BusinessFinancingComponent-
|
|
12
|
+
import { c, s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-DkZRgyhm.js";
|
|
13
|
+
import { B as BusinessFinancingComponent } from "./BusinessFinancingComponent-DhPUn1b6.js";
|
|
14
14
|
import { e as emitAdyenSdkEvent } from "./emitEvent-CzZf80Am.js";
|
|
15
15
|
const AdyenBusinessFinancing = ({
|
|
16
16
|
rootlegalentityid,
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useRef } from "preact/hooks";
|
|
12
|
-
import { c, s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-
|
|
13
|
-
import { C as CreateIndividualComponent } from "./CreateIndividualComponent-
|
|
12
|
+
import { c, s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-DkZRgyhm.js";
|
|
13
|
+
import { C as CreateIndividualComponent } from "./CreateIndividualComponent-BI0EaF5n.js";
|
|
14
14
|
import { e as emitAdyenSdkEvent } from "./emitEvent-CzZf80Am.js";
|
|
15
15
|
const AdyenIndividual = ({
|
|
16
16
|
rootlegalentityid,
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useRef } from "preact/hooks";
|
|
12
|
-
import { c, s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-
|
|
13
|
-
import { M as ManageIndividualComponent } from "./ManageIndividualComponent-
|
|
12
|
+
import { c, s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-DkZRgyhm.js";
|
|
13
|
+
import { M as ManageIndividualComponent } from "./ManageIndividualComponent-C8gbdwHY.js";
|
|
14
14
|
import { e as emitAdyenSdkEvent } from "./emitEvent-CzZf80Am.js";
|
|
15
15
|
const AdyenManageIndividual = ({
|
|
16
16
|
rootlegalentityid,
|
|
@@ -2,35 +2,35 @@
|
|
|
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] = "048fdd01-2ba0-410d-8e8b-5ead3bd2b154", e._sentryDebugIdIdentifier = "sentry-dbid-048fdd01-2ba0-410d-8e8b-5ead3bd2b154");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { u as useTranslation, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper, b as useApiContext, l as listify, i as isUndefinedOrNull, c as useLegalEntity, R as ROOT_LE, L as Loader, g as getLegalEntityCountry, S as SettingsProvider, Q as QueryClientProvider, A as ApiProvider, E as ExperimentsContextProvider, d as StoreProvider, e as AnalyticsProvider, I as I18nProvider, D as DebugListener, T as ToastContextProvider, f as StateProvider, n as normalizeEnvironment, F as FALLBACK_LOCALE, s as setSdkToken, h as setSdkTokenHandler } from "./StoreProvider-
|
|
11
|
-
import { AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-
|
|
12
|
-
import { B as BusinessFinancingComponent } from "./BusinessFinancingComponent-
|
|
13
|
-
import { C as CreateIndividualComponent } from "./CreateIndividualComponent-
|
|
14
|
-
import { C as CreateTransferInstrumentComponent } from "./CreateTransferInstrumentComponent-
|
|
15
|
-
import { M as ManageIndividualComponent } from "./ManageIndividualComponent-
|
|
10
|
+
import { u as useTranslation, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper, b as useApiContext, l as listify, i as isUndefinedOrNull, c as useLegalEntity, R as ROOT_LE, L as Loader, g as getLegalEntityCountry, S as SettingsProvider, Q as QueryClientProvider, A as ApiProvider, E as ExperimentsContextProvider, d as StoreProvider, e as AnalyticsProvider, I as I18nProvider, D as DebugListener, T as ToastContextProvider, f as StateProvider, n as normalizeEnvironment, F as FALLBACK_LOCALE, s as setSdkToken, h as setSdkTokenHandler } from "./StoreProvider-C1Dsf-BK.js";
|
|
11
|
+
import { AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-D87Fwd2f.js";
|
|
12
|
+
import { B as BusinessFinancingComponent } from "./BusinessFinancingComponent-DhPUn1b6.js";
|
|
13
|
+
import { C as CreateIndividualComponent } from "./CreateIndividualComponent-BI0EaF5n.js";
|
|
14
|
+
import { C as CreateTransferInstrumentComponent } from "./CreateTransferInstrumentComponent-Dv0Eg2S_.js";
|
|
15
|
+
import { M as ManageIndividualComponent } from "./ManageIndividualComponent-C8gbdwHY.js";
|
|
16
16
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
17
|
-
import { u as useSalesChannels, a as usePciStatus, O as OnboardingDropinComponent } from "./OnboardingDropinComponent-
|
|
18
|
-
import { E as EmbeddedStatus } from "./EmbeddedStatus-
|
|
19
|
-
import { M as ManageTermsOfServiceComponent } from "./ManageTermsOfServiceComponent-
|
|
20
|
-
import { M as ManageTransferInstrumentComponent } from "./ManageTransferInstrumentComponent
|
|
21
|
-
import { SignPCIComponent } from "./SignPCIComponent-
|
|
22
|
-
import { V as ViewVerificationStatusComponent } from "./ViewVerificationStatusComponent-
|
|
23
|
-
import { H as Header } from "./CountryField-
|
|
24
|
-
import { u as useAllowedCountries } from "./IndividualOnfido-
|
|
25
|
-
import { u as useDataset, d as datasetIdentifier } from "./useDataset-
|
|
26
|
-
import { A as AlertIcon } from "./Alert-
|
|
17
|
+
import { u as useSalesChannels, a as usePciStatus, O as OnboardingDropinComponent } from "./OnboardingDropinComponent-BBx0mAip.js";
|
|
18
|
+
import { E as EmbeddedStatus } from "./EmbeddedStatus-92LgcEzI.js";
|
|
19
|
+
import { M as ManageTermsOfServiceComponent } from "./ManageTermsOfServiceComponent-CXFVMwlI.js";
|
|
20
|
+
import { M as ManageTransferInstrumentComponent } from "./ManageTransferInstrumentComponent-BZJSGNF-.js";
|
|
21
|
+
import { SignPCIComponent } from "./SignPCIComponent-DWJVpEyn.js";
|
|
22
|
+
import { V as ViewVerificationStatusComponent } from "./ViewVerificationStatusComponent-Cwqe_JI8.js";
|
|
23
|
+
import { H as Header } from "./CountryField-DwQBatok.js";
|
|
24
|
+
import { u as useAllowedCountries } from "./IndividualOnfido-wkc1IOjL.js";
|
|
25
|
+
import { u as useDataset, d as datasetIdentifier } from "./useDataset-CVXbYF2B.js";
|
|
26
|
+
import { A as AlertIcon } from "./Alert-8DgB9Po_.js";
|
|
27
27
|
import { D as DropinLayout } from "./DropinLayout-CBP_cHLC.js";
|
|
28
28
|
import { render } from "preact";
|
|
29
|
-
import { u as uuidv4 } from "./useToastContext-
|
|
29
|
+
import { u as uuidv4 } from "./useToastContext-D_FkzBo_.js";
|
|
30
30
|
function ManagePCIComponent({ legalEntityId, onClick }) {
|
|
31
31
|
const { i18n, t } = useTranslation(["common", "contract"]);
|
|
32
32
|
addResourceBundles(i18n, [
|
|
33
|
-
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-4gJjMBoz.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-CxB0DJQ6.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-DqkN5oIu.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-COuUdtao.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-CjhbnLfE.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-
|
|
33
|
+
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-4gJjMBoz.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-CxB0DJQ6.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-DqkN5oIu.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-COuUdtao.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-CjhbnLfE.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-C1Dsf-BK.js").then((n) => n.bN), "../../../language/locales/es-ES.json": () => import("./es-ES-DNGEW6V_.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-Be9wlXLD.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-CoI_94Fv.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-Br7OeDIe.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-iodfRS4f.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-CEb_Wl4I.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-BAvsF2TB.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-US4BD67C.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-os-nxAb0.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-9NRF8DKM.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-BwKrj-29.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-B6OPS2CA.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-B0BQdtqx.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-BKQRvAfq.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-D2Xe-OdG.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-WGnCVll9.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-Cq_DSPZu.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-C3gfuen3.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-zTiw1bUU.js") }), `../../../language/locales/${lang}.json`, 6) },
|
|
34
34
|
{ ns: "contract", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../Contract/language/bg-BG.json": () => import("./bg-BG-Dp4LxSP7.js"), "../../Contract/language/cs-CZ.json": () => import("./cs-CZ-CyLqoG1j.js"), "../../Contract/language/da-DK.json": () => import("./da-DK-DYpfNZdP.js"), "../../Contract/language/de-DE.json": () => import("./de-DE-BXt1K0Tr.js"), "../../Contract/language/el-GR.json": () => import("./el-GR-B90M6tcZ.js"), "../../Contract/language/en-US.json": () => import("./en-US-Dg505Oh3.js"), "../../Contract/language/es-ES.json": () => import("./es-ES-BhNhIf08.js"), "../../Contract/language/et-EE.json": () => import("./et-EE-BMgFCxds.js"), "../../Contract/language/fi-FI.json": () => import("./fi-FI-ysUrBilO.js"), "../../Contract/language/fr-FR.json": () => import("./fr-FR-BSvSKazD.js"), "../../Contract/language/hr-HR.json": () => import("./hr-HR-BLpGb4f2.js"), "../../Contract/language/hu-HU.json": () => import("./hu-HU-Ca9Hex26.js"), "../../Contract/language/it-IT.json": () => import("./it-IT-Qfzc8jnW.js"), "../../Contract/language/ja-JP.json": () => import("./ja-JP-CHQ64lw1.js"), "../../Contract/language/lt-LT.json": () => import("./lt-LT-0RKZeraM.js"), "../../Contract/language/lv-LV.json": () => import("./lv-LV-Bh-WQp0K.js"), "../../Contract/language/nl-NL.json": () => import("./nl-NL-D7gBNWEY.js"), "../../Contract/language/no-NO.json": () => import("./no-NO-C-gCYc9q.js"), "../../Contract/language/pl-PL.json": () => import("./pl-PL-LnVPufjb.js"), "../../Contract/language/pt-BR.json": () => import("./pt-BR-ur86nRrK.js"), "../../Contract/language/pt-PT.json": () => import("./pt-PT-CVNEcs32.js"), "../../Contract/language/ro-RO.json": () => import("./ro-RO-i7lojG2G.js"), "../../Contract/language/sk-SK.json": () => import("./sk-SK-B5brxU1N.js"), "../../Contract/language/sl-SI.json": () => import("./sl-SI-CUCrzJQv.js"), "../../Contract/language/sv-SE.json": () => import("./sv-SE-C6uPh9g5.js") }), `../../Contract/language/${lang}.json`, 5) }
|
|
35
35
|
]);
|
|
36
36
|
const additionalSalesChannels = useSalesChannels();
|
|
@@ -384,7 +384,7 @@ class UIElement extends BaseElement {
|
|
|
384
384
|
experiments: this.props.experiments,
|
|
385
385
|
refreshExperiments: this.props.refreshExperiments,
|
|
386
386
|
children: /* @__PURE__ */ jsxs(StoreProvider, { children: [
|
|
387
|
-
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.90.
|
|
387
|
+
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.90.3" }),
|
|
388
388
|
/* @__PURE__ */ jsx(
|
|
389
389
|
AnalyticsProvider,
|
|
390
390
|
{
|
package/dist/adyen-onboarding.js
CHANGED
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { c, s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-
|
|
12
|
-
import { O as OnboardingDropinComponent } from "./OnboardingDropinComponent-
|
|
11
|
+
import { c, s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-DkZRgyhm.js";
|
|
12
|
+
import { O as OnboardingDropinComponent } from "./OnboardingDropinComponent-BBx0mAip.js";
|
|
13
13
|
const AdyenOnboarding = ({
|
|
14
14
|
rootlegalentityid,
|
|
15
15
|
fetchToken,
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useRef } from "preact/hooks";
|
|
12
|
-
import { c, s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-
|
|
13
|
-
import { AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-
|
|
12
|
+
import { c, s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-DkZRgyhm.js";
|
|
13
|
+
import { AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-D87Fwd2f.js";
|
|
14
14
|
import { e as emitAdyenSdkEvent } from "./emitEvent-CzZf80Am.js";
|
|
15
15
|
const AdyenTermsOfService = ({
|
|
16
16
|
rootlegalentityid,
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useRef } from "preact/hooks";
|
|
12
|
-
import { c, s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-
|
|
13
|
-
import { M as ManageTermsOfServiceComponent } from "./ManageTermsOfServiceComponent-
|
|
12
|
+
import { c, s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-DkZRgyhm.js";
|
|
13
|
+
import { M as ManageTermsOfServiceComponent } from "./ManageTermsOfServiceComponent-CXFVMwlI.js";
|
|
14
14
|
import { e as emitAdyenSdkEvent } from "./emitEvent-CzZf80Am.js";
|
|
15
15
|
const AdyenManageTermsOfService = ({
|
|
16
16
|
rootlegalentityid,
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useRef } from "preact/hooks";
|
|
12
|
-
import { c, s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-
|
|
13
|
-
import { C as CreateTransferInstrumentComponent } from "./CreateTransferInstrumentComponent-
|
|
12
|
+
import { c, s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-DkZRgyhm.js";
|
|
13
|
+
import { C as CreateTransferInstrumentComponent } from "./CreateTransferInstrumentComponent-Dv0Eg2S_.js";
|
|
14
14
|
import { e as emitAdyenSdkEvent } from "./emitEvent-CzZf80Am.js";
|
|
15
15
|
const AdyenTransferInstrument = ({
|
|
16
16
|
rootlegalentityid,
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useRef } from "preact/hooks";
|
|
12
|
-
import { c, s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-
|
|
13
|
-
import { M as ManageTransferInstrumentComponent } from "./ManageTransferInstrumentComponent
|
|
12
|
+
import { c, s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-DkZRgyhm.js";
|
|
13
|
+
import { M as ManageTransferInstrumentComponent } from "./ManageTransferInstrumentComponent-BZJSGNF-.js";
|
|
14
14
|
import { e as emitAdyenSdkEvent } from "./emitEvent-CzZf80Am.js";
|
|
15
15
|
const AdyenManageTransferInstruments = ({
|
|
16
16
|
rootlegalentityid,
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useRef } from "preact/hooks";
|
|
12
|
-
import { c, s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-
|
|
13
|
-
import { V as ViewVerificationStatusComponent } from "./ViewVerificationStatusComponent-
|
|
12
|
+
import { c, s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-DkZRgyhm.js";
|
|
13
|
+
import { V as ViewVerificationStatusComponent } from "./ViewVerificationStatusComponent-Cwqe_JI8.js";
|
|
14
14
|
import { e as emitAdyenSdkEvent } from "./emitEvent-CzZf80Am.js";
|
|
15
15
|
const AdyenVerificationStatus = ({
|
|
16
16
|
rootlegalentityid,
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { a2 as useAnalyticsContext } from "./StoreProvider-
|
|
12
|
+
import { a2 as useAnalyticsContext } from "./StoreProvider-C1Dsf-BK.js";
|
|
13
13
|
import { useRef, useCallback } from "preact/hooks";
|
|
14
14
|
function Checkbox({
|
|
15
15
|
id,
|
|
@@ -2,13 +2,13 @@
|
|
|
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] = "69d2fc2d-f3a2-447d-9d20-244be71a9f6d", e._sentryDebugIdIdentifier = "sentry-dbid-69d2fc2d-f3a2-447d-9d20-244be71a9f6d");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { k as httpPost, aN as httpDelete, m as httpGet, P as createLogger } from "./StoreProvider-
|
|
11
|
-
import { w as getLocalizedIdDocumentTypeOptions, A as isNewlyUploadedFile } from "./Spacer-
|
|
10
|
+
import { k as httpPost, aN as httpDelete, m as httpGet, P as createLogger } from "./StoreProvider-C1Dsf-BK.js";
|
|
11
|
+
import { w as getLocalizedIdDocumentTypeOptions, A as isNewlyUploadedFile } from "./Spacer-B59jyGSP.js";
|
|
12
12
|
const createDocument = async (context, document, ownerId) => {
|
|
13
13
|
const { baseUrl, rootLegalEntityId } = context;
|
|
14
14
|
return httpPost(
|
|
@@ -95,17 +95,48 @@ const fetchDocument = async (documentDetail) => {
|
|
|
95
95
|
const deleteDocument = async (documentId) => deleteDocumentService(documentId);
|
|
96
96
|
const uploadDocuments = async (documents, entityId) => {
|
|
97
97
|
const uploadPromises = [];
|
|
98
|
+
const existingProofOfOwnershipAttachments = [];
|
|
98
99
|
documents.forEach((document) => {
|
|
99
100
|
const existingDocument = getDocument(entityId, document.type);
|
|
100
|
-
if (
|
|
101
|
-
|
|
101
|
+
if (document.type === "proofOfOwnership" && document.attachments) {
|
|
102
|
+
const existingAttachments = document.attachments.filter((att) => !att.content);
|
|
103
|
+
const newAttachments = document.attachments.filter((att) => att.content);
|
|
104
|
+
document.attachments = newAttachments;
|
|
105
|
+
existingProofOfOwnershipAttachments.push(...existingAttachments);
|
|
106
|
+
}
|
|
107
|
+
if (hasDocumentChanged(document, entityId) || document.type === "proofOfOwnership" && document.attachments?.length) {
|
|
108
|
+
if (existingDocument && document.type !== "proofOfOwnership") {
|
|
102
109
|
uploadPromises.push(updateDocumentService(document, existingDocument.id, entityId));
|
|
110
|
+
} else {
|
|
111
|
+
uploadPromises.push(createDocumentService(document, entityId));
|
|
103
112
|
}
|
|
104
|
-
} else {
|
|
105
|
-
uploadPromises.push(createDocumentService(document, entityId));
|
|
106
113
|
}
|
|
107
114
|
});
|
|
108
115
|
const uploadedDocuments = await Promise.all(uploadPromises);
|
|
116
|
+
if (existingProofOfOwnershipAttachments.length > 0) {
|
|
117
|
+
const proofOfOwnershipDoc = uploadedDocuments.find((doc) => doc.type === "proofOfOwnership");
|
|
118
|
+
if (proofOfOwnershipDoc) {
|
|
119
|
+
proofOfOwnershipDoc.attachments = [
|
|
120
|
+
...existingProofOfOwnershipAttachments,
|
|
121
|
+
...proofOfOwnershipDoc.attachments ?? []
|
|
122
|
+
];
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
const uploadedProofOfOwnershipDocuments = uploadedDocuments.filter(
|
|
126
|
+
(doc) => doc.type === "proofOfOwnership"
|
|
127
|
+
);
|
|
128
|
+
if (uploadedProofOfOwnershipDocuments.length > 0) {
|
|
129
|
+
documentStore[entityId] = documentStore[entityId].filter(
|
|
130
|
+
(doc) => doc.type !== "proofOfOwnership"
|
|
131
|
+
);
|
|
132
|
+
const proofOfOwnershipWithModificationDate = uploadedProofOfOwnershipDocuments.map(
|
|
133
|
+
(doc) => ({
|
|
134
|
+
...doc,
|
|
135
|
+
modificationDate: (/* @__PURE__ */ new Date()).toISOString()
|
|
136
|
+
})
|
|
137
|
+
);
|
|
138
|
+
documentStore[entityId].push(...proofOfOwnershipWithModificationDate);
|
|
139
|
+
}
|
|
109
140
|
updateEntityDocuments(uploadedDocuments, entityId);
|
|
110
141
|
return documentStore[entityId];
|
|
111
142
|
};
|
|
@@ -133,6 +164,14 @@ const getDocument = (entityId, documentType) => {
|
|
|
133
164
|
}
|
|
134
165
|
return documentStore[entityId]?.find((document) => document.type === documentType);
|
|
135
166
|
};
|
|
167
|
+
const getDocuments = (entityId, documentType) => {
|
|
168
|
+
if (!entityId) {
|
|
169
|
+
return [];
|
|
170
|
+
}
|
|
171
|
+
return documentStore[entityId]?.filter(
|
|
172
|
+
(document) => document.type === documentType
|
|
173
|
+
) ?? [];
|
|
174
|
+
};
|
|
136
175
|
const getIdDocument = (entityId) => documentStore[entityId]?.find((document) => idTypes.includes(document.type));
|
|
137
176
|
const createDocumentRequest = async ({
|
|
138
177
|
entityId,
|
|
@@ -207,12 +246,24 @@ const mergeAttachments = (existing, incoming) => {
|
|
|
207
246
|
);
|
|
208
247
|
return [...filteredExisting, ...incoming];
|
|
209
248
|
};
|
|
249
|
+
const mergeProofOfOwnershipAttachments = (existing, incoming) => {
|
|
250
|
+
if (!existing?.length) return incoming;
|
|
251
|
+
if (!incoming?.length) return existing;
|
|
252
|
+
const incomingFileNames = incoming.map((attachment) => attachment.pageName);
|
|
253
|
+
const filteredExisting = existing.filter(
|
|
254
|
+
(attachment) => !incomingFileNames.includes(attachment.pageName)
|
|
255
|
+
);
|
|
256
|
+
const result = [...incoming, ...filteredExisting].slice(0, 2);
|
|
257
|
+
return result;
|
|
258
|
+
};
|
|
210
259
|
export {
|
|
211
260
|
getDocument as a,
|
|
212
261
|
getFileExtention as b,
|
|
213
262
|
createDocumentRequest as c,
|
|
214
263
|
documentApiUtils as d,
|
|
264
|
+
getDocuments as e,
|
|
215
265
|
fileToBase64 as f,
|
|
216
266
|
getIdDocument as g,
|
|
267
|
+
mergeProofOfOwnershipAttachments as h,
|
|
217
268
|
mergeAttachments as m
|
|
218
269
|
};
|
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useState, useEffect, useMemo } from "preact/hooks";
|
|
11
|
-
import { a2 as useAnalyticsContext, P as createLogger } from "./StoreProvider-
|
|
12
|
-
import { s as summaryStep } from "./Summary-
|
|
11
|
+
import { a2 as useAnalyticsContext, P as createLogger } from "./StoreProvider-C1Dsf-BK.js";
|
|
12
|
+
import { s as summaryStep } from "./Summary-Cg8ylB81.js";
|
|
13
13
|
import { t as trackNavigation } from "./trackNavigation-db_h46BT.js";
|
|
14
14
|
import { jsx } from "preact/jsx-runtime";
|
|
15
|
-
import { F as FormRouterContext } from "./CountryField-
|
|
15
|
+
import { F as FormRouterContext } from "./CountryField-DwQBatok.js";
|
|
16
16
|
import { f as formDebugInfo } from "./debugStore-BvbyN1Oi.js";
|
|
17
17
|
const getOpeningStep = (forms, remediationActions) => {
|
|
18
18
|
if (remediationActions && Object.keys(remediationActions).length > 0) {
|
package/dist/{getFieldsWithExistingData-DDAOO3v3.js → getFieldsWithExistingData-CapkzyUd.js}
RENAMED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { br as getNestedPropertyKeys } from "./StoreProvider-
|
|
10
|
+
import { br as getNestedPropertyKeys } from "./StoreProvider-C1Dsf-BK.js";
|
|
11
11
|
const getFieldsWithExistingData = (legalEntity, keyMapping, documentMapping, knownProblematicFields = []) => {
|
|
12
12
|
const apiFieldsWithExistingData = getNestedPropertyKeys(legalEntity);
|
|
13
13
|
const nonDocumentFields = apiFieldsWithExistingData.map((field) => keyMapping[field]).filter(Boolean).filter((field) => !knownProblematicFields.includes(field));
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { r as LegalEntityTypes, af as getOwnEntityAssociations } from "./StoreProvider-
|
|
10
|
+
import { r as LegalEntityTypes, af as getOwnEntityAssociations } from "./StoreProvider-C1Dsf-BK.js";
|
|
11
11
|
const getIndividualLegalEntityName = (legalEntityResponse) => {
|
|
12
12
|
if (!legalEntityResponse || !legalEntityResponse?.individual) return "";
|
|
13
13
|
return `${legalEntityResponse.individual?.name?.firstName ?? ""} ${legalEntityResponse.individual?.name?.lastName ?? ""}`;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { a0 as entriesOf, aj as objectsDeepEqual } from "./StoreProvider-
|
|
10
|
+
import { a0 as entriesOf, aj as objectsDeepEqual } from "./StoreProvider-C1Dsf-BK.js";
|
|
11
11
|
const hasDataChanged = (initialData, currentData) => entriesOf(currentData ?? {}).some(([key, value]) => {
|
|
12
12
|
if (typeof value === "object") {
|
|
13
13
|
return !objectsDeepEqual(value, initialData?.[key]);
|
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { aB as cloneObject, P as createLogger, bs as isString, k as httpPost } from "./StoreProvider-
|
|
11
|
-
import { B as isValueObscured } from "./Spacer-
|
|
10
|
+
import { aB as cloneObject, P as createLogger, bs as isString, k as httpPost } from "./StoreProvider-C1Dsf-BK.js";
|
|
11
|
+
import { B as isValueObscured } from "./Spacer-B59jyGSP.js";
|
|
12
12
|
import { g as getProp, d as deleteProp } from "./utils-DNSfZiio.js";
|
|
13
|
-
import { A as AdyenKycSdkError } from "./mapExistingFile-
|
|
13
|
+
import { A as AdyenKycSdkError } from "./mapExistingFile-DelM9H33.js";
|
|
14
14
|
const omitObscuredFieldsIfUnchanged = (obscuredFields, dataSubmitted, savedData) => {
|
|
15
15
|
if (!dataSubmitted) {
|
|
16
16
|
return;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { P as createLogger } from "./StoreProvider-
|
|
10
|
+
import { P as createLogger } from "./StoreProvider-C1Dsf-BK.js";
|
|
11
11
|
const localizeDateString = (dateString, locale, options) => {
|
|
12
12
|
const logger = createLogger();
|
|
13
13
|
const formatOptions = {
|