@adyen/kyc-components 4.4.0-beta.1 → 4.4.1
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-Bl1LwgDS.js} +14 -14
- package/dist/{AccountSetupRejected-BPEtnc7j.js → AccountSetupRejected-vPCnaWwb.js} +1 -1
- package/dist/{ActionBar-NV7R7PEb.js → ActionBar-CmKflAap.js} +1 -1
- package/dist/{Address-xF2Li1Za.js → Address-B2Ce4Di_.js} +9 -9
- package/dist/{Avatar-Cw6tLao7.js → Avatar-C9nv-6c-.js} +1 -1
- package/dist/{BusinessFinancingComponent-uqUPy4UH.js → BusinessFinancingComponent-BIe4b_PU.js} +4 -4
- package/dist/{BusinessFinancingDropin-DK-KXg_B.js → BusinessFinancingDropin-C4pCGsLc.js} +26 -26
- package/dist/{BusinessFinancingPage-BoUZ_jM1.js → BusinessFinancingPage-BktVxu1R.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-BnJ8ucnl.js → BusinessTypeSelectionPage-Ds0ZBrm4.js} +8 -8
- package/dist/{Checkbox-BU__y4sz.js → Checkbox-DKLas909.js} +1 -1
- package/dist/{Confirm-BX6xGJJV.js → Confirm-BtKpS_Su.js} +2 -2
- package/dist/{ConstitutionalDocument-DV11W4Uc.js → ConstitutionalDocument-Cd5em_aQ.js} +17 -17
- package/dist/{ContactDetails-0AACDs1M.js → ContactDetails-Sd8KsA2V.js} +5 -5
- package/dist/{ContextGuidance-B17pNn6u.js → ContextGuidance-qV9z-4df.js} +1 -1
- package/dist/{CountryField-Dp6hXPqK.js → CountryField-DOF4SekD.js} +3 -3
- package/dist/{CreateIndividualComponent-pfPheGx6.js → CreateIndividualComponent-81aRSgiZ.js} +4 -4
- package/dist/{CreateTransferInstrumentComponent-BP1o-KXu.js → CreateTransferInstrumentComponent-ZsZNPuyJ.js} +3 -3
- package/dist/{Currency-DKKQ4vvp.js → Currency-Cj6YKv5r.js} +6 -6
- package/dist/{CustomerSupport-97KAFvBP.js → CustomerSupport-DCO0Pbb8.js} +9 -9
- package/dist/{DebugModal-BTeaM1f-.js → DebugModal-B9zrfSu5.js} +6 -6
- package/dist/{DecisionMakerDetailsPage-D092fGbY.js → DecisionMakerDetailsPage-CPB2zidn.js} +6 -6
- package/dist/{DecisionMakers-BHZW4NNI.js → DecisionMakers-mrFSIvIM.js} +18 -18
- package/dist/{Dropzone-CLoB_3-q.js → Dropzone-CBPMlstg.js} +3 -3
- package/dist/{EmbeddedStatus-T1Tsk3PK.js → EmbeddedStatus-CYIyKmlG.js} +2 -2
- package/dist/{EndStateLayout-y2JP5asU.js → EndStateLayout-ByYy8V2P.js} +1 -1
- package/dist/{EntityAssociation-D1BM5Je8.js → EntityAssociation-K-jjCOGT.js} +4 -4
- package/dist/{EntityGuidanceStatus-CwKr9buW.js → EntityGuidanceStatus-GaYXpHXr.js} +3 -3
- package/dist/{ErrorPanel-DDVrYUpJ.js → ErrorPanel-Dyn3lGkc.js} +1 -1
- package/dist/{Field-B9sKUtUg.js → Field-DhEMQ19K.js} +1 -1
- package/dist/{FormNavigation-CdcEMHw0.js → FormNavigation-CKhhXUBk.js} +2 -2
- package/dist/{FormWrapper-BoU8DR0W.js → FormWrapper-Du6lqE7g.js} +8 -8
- package/dist/{Individual.rules-BD1j4LiM.js → Individual.rules-BBxVtNhu.js} +5 -5
- package/dist/{IndividualDropin-uiNPeLuT.js → IndividualDropin-DanfVG9v.js} +48 -48
- package/dist/{InputDate-BaGnhAVf.js → InputDate-CBV8pgtD.js} +1 -1
- package/dist/{InputText-D0_rMV9x.js → InputText-C6ZQ-hNy.js} +1 -1
- package/dist/{Introduction-BNfrUGef.js → Introduction-BKc-NjQw.js} +3 -3
- package/dist/{JpAddress-CzQ4H7tm.js → JpAddress-BB9LN-8Q.js} +8 -8
- package/dist/{LandingLayout-B9DjLl1D.js → LandingLayout-DKoIVzl9.js} +1 -1
- package/dist/{LegalCompanyNameField-DoTX5byz.js → LegalCompanyNameField-B4zAvQR1.js} +5 -5
- package/dist/{LegalRepresentativeDetailsPage-SEccCLtW.js → LegalRepresentativeDetailsPage-B9SFa3jL.js} +3 -3
- package/dist/{Link-BieB0t1Y.js → Link-B2yGtZDE.js} +1 -1
- package/dist/{ListItem-Cw-AYeFH.js → ListItem-Dhqhy01R.js} +2 -2
- package/dist/{LoaderWrapper-B73HgNuK.js → LoaderWrapper-CMmocBvF.js} +1 -1
- package/dist/{ManageIndividualComponent-D7VJUR-y.js → ManageIndividualComponent-C0rnIl3D.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-Dxs0RCkC.js → ManageTermsOfServiceComponent-BXdeBtdc.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-fZbHylGm.js → ManageTransferInstrumentComponent-DUw-zWYd.js} +9 -9
- package/dist/{MaskedInput-B5-H7MTF.js → MaskedInput-84013BtF.js} +4 -4
- package/dist/{MaybeModal-DyP6D8Mm.js → MaybeModal-B3bzXe2d.js} +2 -2
- package/dist/{Modal-l3FZFwDQ.js → Modal-CqgVbCkp.js} +1 -1
- package/dist/{Name-Cy0qTOPR.js → Name-BZGqCl21.js} +4 -4
- package/dist/{OnboardingDropinComponent-Cd1FysjN.js → OnboardingDropinComponent-DZmgsC-y.js} +70 -70
- package/dist/{PayoutDetailsDropin-BLHDVWJP.js → PayoutDetailsDropin-XbW-J3Is.js} +36 -36
- package/dist/{PayoutDetailsPage-BgOgeJt8.js → PayoutDetailsPage-BuOL1hNz.js} +4 -4
- package/dist/{RadioGroup-DxGcH0In.js → RadioGroup-Dv77MxKh.js} +1 -1
- package/dist/{RadioGroupCard-Cr8u_mxa.js → RadioGroupCard-BLcz-Pwr.js} +1 -1
- package/dist/{Review-BBKyp3B8.js → Review-C25xpvls.js} +5 -5
- package/dist/{RootBusinessDetailsPage-Dto2CETH.js → RootBusinessDetailsPage-B1sWmRI0.js} +4 -4
- package/dist/{RootBusinessLinesPage-X9UmCsne.js → RootBusinessLinesPage-DBXqjxer.js} +22 -22
- package/dist/{RootIndividualDetailsPage-_j_pbdea.js → RootIndividualDetailsPage-BBELvyVu.js} +4 -4
- package/dist/{Select-BJOovb_D.js → Select-BXKtUkAf.js} +3 -3
- package/dist/{SignPCIComponent-CKNCBHDi.js → SignPCIComponent-DzbJgLYx.js} +10 -10
- package/dist/{SingpassSelection-CSnMQdA2.js → SingpassSelection-BZ_pf37b.js} +5 -5
- package/dist/{SoleProprietorshipPage-CUAnaNlw.js → SoleProprietorshipPage-BOaR_ZZ9.js} +3 -3
- package/dist/{SourceOfFundsPage-DkjK2ZLc.js → SourceOfFundsPage-BJPeRXEv.js} +29 -29
- package/dist/{StepProgressIndicator-B-fjkG3s.js → StepProgressIndicator-D079-QZi.js} +1 -1
- package/dist/{StoreProvider-x59VMyW0.js → StoreProvider-Bd8v9ymn.js} +4 -4
- package/dist/{Summary-kDA3sqBe.js → Summary-BVTN9m4J.js} +5 -5
- package/dist/{TaxInformationField-C9Jy5cRJ.js → TaxInformationField-FqmKNe1f.js} +18 -18
- package/dist/{TaxReportingDropin-CMKrs9_R.js → TaxReportingDropin-BJZhFZNY.js} +13 -13
- package/dist/{TextArea-BXoK80OY.js → TextArea-CijCoq-Y.js} +1 -1
- package/dist/{TileGroup-CD6DoIe_.js → TileGroup-CJ8S8Tvw.js} +2 -2
- package/dist/{TrustDetailsPage-9vV1HSJ0.js → TrustDetailsPage-4BtAP45U.js} +31 -31
- package/dist/{TrustMemberCompanyPage-BW01AXIR.js → TrustMemberCompanyPage-BWWleoXo.js} +4 -4
- package/dist/{TrustMemberIndividualPage-BRhv0I6R.js → TrustMemberIndividualPage-DKdSC4pj.js} +3 -3
- package/dist/{TrustMemberRoleAndTypePage-CbpEp-Eb.js → TrustMemberRoleAndTypePage-DcJU-Rgv.js} +20 -20
- package/dist/{TrustMembersOverview-DvCI2Rgo.js → TrustMembersOverview-BpLWTf93.js} +9 -9
- package/dist/{UnincorporatedPartnershipIndividualPage-CfYzgKds.js → UnincorporatedPartnershipIndividualPage-DW0242pX.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-rEc73wFm.js → UnincorporatedPartnershipMemberCompanyPage-C2M7U64N.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-CDAcpK4G.js → UnincorporatedPartnershipMemberRoleAndTypePage-Dn1u4sIQ.js} +10 -10
- package/dist/{UnincorporatedPartnershipMembersOverview-CibvMdLp.js → UnincorporatedPartnershipMembersOverview-0F0keHpP.js} +6 -6
- package/dist/{VerificationErrorAlert-D3AX98bd.js → VerificationErrorAlert-FDKoXtjj.js} +2 -2
- package/dist/{ViewVerificationStatusComponent-B9vYeYZb.js → ViewVerificationStatusComponent-1271jgnS.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-Bbu_uDNY.js} +1 -1
- package/dist/{commonValidators-B6d9s0-o.js → commonValidators-Bzh6HljH.js} +1 -1
- package/dist/{dropinUtils-DQpXPqk2.js → dropinUtils-W92bBPsr.js} +3 -3
- package/dist/{formUtils-A6oBRG3L.js → formUtils-BjHuso5S.js} +2 -2
- package/dist/{getName-lGICWUPQ.js → getName-BL5TV1CY.js} +1 -1
- package/dist/{getProblemsForEntity-D3HpaFZB.js → getProblemsForEntity-CRllBdyg.js} +1 -1
- package/dist/{iframeWidget-Huaxn_9e.js → iframeWidget-krcJrioH.js} +3 -3
- package/dist/{isEmpty-C2vBRvpQ.js → isEmpty-DK9awCnt.js} +1 -1
- package/dist/{japanSupportUtils-r2_qbuUh.js → japanSupportUtils-CQfmJLNY.js} +1 -1
- package/dist/{localizeDateString-Cn4lULAz.js → localizeDateString-DWN00kQs.js} +1 -1
- package/dist/{mapExistingFile-CDtoMMNP.js → mapExistingFile-BVZYgI0I.js} +3 -3
- package/dist/{mapJpAddressSchemaToAddressLocalizations-BX_XB7Pv.js → mapJpAddressSchemaToAddressLocalizations-M9JDtoZu.js} +1 -1
- package/dist/{mapLegalEntityToIndividualSchema-BTjkDub5.js → mapLegalEntityToIndividualSchema-vDezQ_7r.js} +3 -3
- package/dist/{mapTransferInstrumentToPayoutAccount-SwgAUEzy.js → mapTransferInstrumentToPayoutAccount-Dqbk-Puh.js} +1 -1
- package/dist/{patternValidators-BmE8PX2j.js → patternValidators-7Z6iDnS9.js} +1 -1
- package/dist/{process-field-configurations-BpvA07uV.js → process-field-configurations-pnB2vQcT.js} +1 -1
- package/dist/{resolveEnvironment-CB0aXyOq.js → resolveEnvironment-BdwWTKt-.js} +3 -3
- package/dist/{roleMetadata-CUwpxg9p.js → roleMetadata-Zzr0nNzK.js} +2 -2
- package/dist/{types-Clxic6DP.js → types-B9EOUKVu.js} +1 -1
- package/dist/{types-DS88e__Q.js → types-BgzibKda.js} +1 -1
- package/dist/{types-Bo20WZNc.js → types-Dtarzusy.js} +1 -1
- package/dist/{unincorporated-partnership-CJz9rbE4.js → unincorporated-partnership-Dqnnu9xK.js} +1 -1
- package/dist/{useAssociatedLegalEntity-oPI1RCY_.js → useAssociatedLegalEntity-C4AIT84p.js} +1 -1
- package/dist/{useBusinessDetailsData-vd45u1iE.js → useBusinessDetailsData-CKe9mCKo.js} +49 -49
- package/dist/{useCreateLegalEntity-BhYUiCc8.js → useCreateLegalEntity-B16sUD09.js} +1 -1
- package/dist/{useForm-D1_yiIHz.js → useForm-tzX14noT.js} +2 -2
- package/dist/{useFormContext-DnlTEqkz.js → useFormContext-C8U6tZ6w.js} +6 -6
- package/dist/{useGlobalData-9bYrNWxF.js → useGlobalData-DqYpj2Z7.js} +1 -1
- package/dist/{useMultiForm-DiDABOlp.js → useMultiForm-Dv6aeBzd.js} +3 -3
- package/dist/{useOnboardingStatus-B2cPO1my.js → useOnboardingStatus-D2IJejYc.js} +1 -1
- package/dist/{useScenarios-XKveo5Md.js → useScenarios-kkxotRrd.js} +1 -1
- package/dist/{useTermsOfServiceStatus-Lg95JuP4.js → useTermsOfServiceStatus-CehmZhbl.js} +1 -1
- package/dist/{useToastContext-CisUtg-6.js → useToastContext-B6bVTtlk.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-CIhC8Vm8.js → useUnincorporatedPartnershipMembers-CFNOVri5.js} +4 -4
- package/dist/{useUpdateBusinessLines-CKRikPUG.js → useUpdateBusinessLines-Slv02Dto.js} +3 -3
- package/dist/{useUpdateLegalEntity-DOKoyNaq.js → useUpdateLegalEntity-Bx5p8oMR.js} +2 -2
- package/dist/{utils-C0h9qEco.js → utils-CWnE_Cxa.js} +1 -1
- package/dist/{utils-CrLnWtri.js → utils-DFPTtgzx.js} +5 -5
- package/dist/{utils-B9F675JL.js → utils-Dc2gNGsw.js} +1 -1
- package/dist/{utils-C3PfmXJ-.js → utils-DmlO6ZEu.js} +1 -1
- package/dist/{utils-9BXmcrcz.js → utils-SCRgU7La.js} +2 -2
- package/dist/{validate-BX1lu4X-.js → validate-CZQaWwSn.js} +1 -1
- package/dist/{validate-rilJfP0Q.js → validate-Dc9plnDh.js} +2 -2
- package/dist/{validationError-Ba78AmbC.js → validationError-BQGuWR5B.js} +1 -1
- package/package.json +1 -1
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { as as DecisionMakerTypes, y as TaskTypes, at as Scenarios } from "./StoreProvider-
|
|
10
|
+
import { as as DecisionMakerTypes, y as TaskTypes, at as Scenarios } from "./StoreProvider-Bd8v9ymn.js";
|
|
11
11
|
import { signal, computed } from "@preact/signals";
|
|
12
12
|
const CompanyTypesValues = {
|
|
13
13
|
PRIVATE_COMPANY: "privateCompany",
|
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useState, useEffect, useMemo } from "preact/hooks";
|
|
11
|
-
import { z as useAnalyticsContext, m as createLogger } from "./StoreProvider-
|
|
12
|
-
import { s as summaryStep } from "./Summary-
|
|
11
|
+
import { z as useAnalyticsContext, m as createLogger } from "./StoreProvider-Bd8v9ymn.js";
|
|
12
|
+
import { s as summaryStep } from "./Summary-BVTN9m4J.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 "./ErrorPanel-
|
|
15
|
+
import { F as FormRouterContext } from "./ErrorPanel-Dyn3lGkc.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) {
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { g as getDataByFields } from "./utils-
|
|
11
|
-
import { ao as entriesOf } from "./StoreProvider-
|
|
10
|
+
import { g as getDataByFields } from "./utils-CWnE_Cxa.js";
|
|
11
|
+
import { ao as entriesOf } from "./StoreProvider-Bd8v9ymn.js";
|
|
12
12
|
const createFormUtils = (props, t) => ({
|
|
13
13
|
getLabel: (field, fallbackLabelKey) => {
|
|
14
14
|
let translationKey = props.labels?.[field] ?? fallbackLabelKey ?? field;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { L as LegalEntityTypes, ad as getOwnEntityAssociations } from "./StoreProvider-
|
|
10
|
+
import { L as LegalEntityTypes, ad as getOwnEntityAssociations } from "./StoreProvider-Bd8v9ymn.js";
|
|
11
11
|
const getIndividualLegalEntityName = (legalEntityResponse) => {
|
|
12
12
|
if (!legalEntityResponse || !legalEntityResponse?.individual) return "";
|
|
13
13
|
return `${legalEntityResponse.individual?.name?.firstName ?? ""} ${legalEntityResponse.individual?.name?.lastName ?? ""}`;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useMemo } from "preact/hooks";
|
|
11
|
-
import { R as useLegalEntity, U as ROOT_LE, ak as getCapabilityProblems, a9 as getLegalEntityCountry } from "./StoreProvider-
|
|
11
|
+
import { R as useLegalEntity, U as ROOT_LE, ak as getCapabilityProblems, a9 as getLegalEntityCountry } from "./StoreProvider-Bd8v9ymn.js";
|
|
12
12
|
const useCapabilityProblems = () => {
|
|
13
13
|
const { data: rootLegalEntity } = useLegalEntity(ROOT_LE);
|
|
14
14
|
const problems = useMemo(
|
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { an as cloneObject, m as createLogger, br as isString, h as httpPost } from "./StoreProvider-
|
|
11
|
-
import { i as isValueObscured } from "./MaskedInput-
|
|
10
|
+
import { an as cloneObject, m as createLogger, br as isString, h as httpPost } from "./StoreProvider-Bd8v9ymn.js";
|
|
11
|
+
import { i as isValueObscured } from "./MaskedInput-84013BtF.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-BVZYgI0I.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 { aS as keysOf } from "./StoreProvider-
|
|
10
|
+
import { aS as keysOf } from "./StoreProvider-Bd8v9ymn.js";
|
|
11
11
|
const isEmpty = (obj, ignoreEmptyProperties = true) => {
|
|
12
12
|
if (obj === null || obj === void 0) return true;
|
|
13
13
|
if (Array.isArray(obj)) return obj.length === 0;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { aa as CountryCodes } from "./StoreProvider-
|
|
10
|
+
import { aa as CountryCodes } from "./StoreProvider-Bd8v9ymn.js";
|
|
11
11
|
const isJapanLocalizationEnabled = (isExperimentEnabled = () => false, country) => {
|
|
12
12
|
return country === CountryCodes.Japan && isExperimentEnabled("EnableJapanLocalization");
|
|
13
13
|
};
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { m as createLogger } from "./StoreProvider-
|
|
10
|
+
import { m as createLogger } from "./StoreProvider-Bd8v9ymn.js";
|
|
11
11
|
const localizeDateString = (dateString, locale, options) => {
|
|
12
12
|
const logger = createLogger();
|
|
13
13
|
const formatOptions = {
|
|
@@ -8,13 +8,13 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useEffect, useState, useMemo } from "preact/hooks";
|
|
11
|
-
import { u as useScenarios } from "./useScenarios-
|
|
12
|
-
import { aa as CountryCodes, m as createLogger, u as useTranslation, B as Icon } from "./StoreProvider-
|
|
11
|
+
import { u as useScenarios } from "./useScenarios-kkxotRrd.js";
|
|
12
|
+
import { aa as CountryCodes, m as createLogger, u as useTranslation, B as Icon } from "./StoreProvider-Bd8v9ymn.js";
|
|
13
13
|
import { signal } from "@preact/signals";
|
|
14
14
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
15
15
|
import cx from "classnames";
|
|
16
16
|
import { lazy } from "preact/compat";
|
|
17
|
-
import { I as Image } from "./unincorporated-partnership-
|
|
17
|
+
import { I as Image } from "./unincorporated-partnership-Dqnnu9xK.js";
|
|
18
18
|
class AdyenKycSdkError extends Error {
|
|
19
19
|
sourceError;
|
|
20
20
|
constructor(message, sourceError) {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { s as summaryItem } from "./summaryItem-CAQCQSkt.js";
|
|
12
|
-
import { i as isEmpty } from "./isEmpty-
|
|
12
|
+
import { i as isEmpty } from "./isEmpty-DK9awCnt.js";
|
|
13
13
|
import { m as mapSchemaFieldsToApiScriptLocalization } from "./mapAddressLocalizationToJpAddressSchema-vJWbpAyq.js";
|
|
14
14
|
const mapJpAddressSummary = (data, datasetUtils) => {
|
|
15
15
|
if (!data) return {};
|
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { signal } from "@preact/signals";
|
|
11
|
-
import { u as useTranslation, z as useAnalyticsContext, O as Typography, W as Button, aa as CountryCodes, az as reverseMapping, bn as getNomineeFromAssociation, bo as individualBaseMapping, as as DecisionMakerTypes } from "./StoreProvider-
|
|
11
|
+
import { u as useTranslation, z as useAnalyticsContext, O as Typography, W as Button, aa as CountryCodes, az as reverseMapping, bn as getNomineeFromAssociation, bo as individualBaseMapping, as as DecisionMakerTypes } from "./StoreProvider-Bd8v9ymn.js";
|
|
12
12
|
import { a as mapApiScriptLocalizationToSchemaFields, b as mapAddressLocalizationToJpAddressSchema } from "./mapAddressLocalizationToJpAddressSchema-vJWbpAyq.js";
|
|
13
13
|
import { f as formatObject } from "./utils-DNSfZiio.js";
|
|
14
14
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
15
|
-
import { F as Field } from "./Field-
|
|
16
|
-
import { T as TileGroup } from "./TileGroup-
|
|
15
|
+
import { F as Field } from "./Field-DhEMQ19K.js";
|
|
16
|
+
import { T as TileGroup } from "./TileGroup-CJ8S8Tvw.js";
|
|
17
17
|
const individualFormDefaultData = signal(null);
|
|
18
18
|
const guidanceQuestion = "adyen-kyc-guidance-question";
|
|
19
19
|
const options = "adyen-kyc-options";
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useQuery, skipToken } from "@tanstack/preact-query";
|
|
11
|
-
import { b as useApiContext, j as httpGet, bv as crossBorderMapping, bw as payoutComponentKeyMapping } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, j as httpGet, bv as crossBorderMapping, bw as payoutComponentKeyMapping } from "./StoreProvider-Bd8v9ymn.js";
|
|
12
12
|
import { m as mapWith } from "./utils-DNSfZiio.js";
|
|
13
13
|
const getTransferInstrument = async (legalEntityId, baseUrl, transferInstrumentId) => {
|
|
14
14
|
return httpGet({
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { aK as hasText, ax as isEmpty, aC as matchesRegex, aD as NO_ALPHABET_REGEX, aE as EMOJI_REGEX, aF as hasRepeatedCharacters, bg as isValidMinLength, aG as isInvalidName, bx as OTHER_ENTITIES_VALID_CHAR_REGEX, by as LATIN_SPACE_MARK_PUNCTUATION_NUMBERS_REGEX, aL as standardKatakanaValidator, aM as standardKanjiValidator } from "./StoreProvider-
|
|
10
|
+
import { aK as hasText, ax as isEmpty, aC as matchesRegex, aD as NO_ALPHABET_REGEX, aE as EMOJI_REGEX, aF as hasRepeatedCharacters, bg as isValidMinLength, aG as isInvalidName, bx as OTHER_ENTITIES_VALID_CHAR_REGEX, by as LATIN_SPACE_MARK_PUNCTUATION_NUMBERS_REGEX, aL as standardKatakanaValidator, aM as standardKanjiValidator } from "./StoreProvider-Bd8v9ymn.js";
|
|
11
11
|
const validateNotEmptyOnBlur = {
|
|
12
12
|
modes: ["blur"],
|
|
13
13
|
validate: (val) => !isEmpty(val),
|
package/dist/{process-field-configurations-BpvA07uV.js → process-field-configurations-pnB2vQcT.js}
RENAMED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { T as TrustedFieldsProviders } from "./trusted-fields-provider-BgfIoSNJ.js";
|
|
11
11
|
import { f as formDebugInfo } from "./debugStore-BvbyN1Oi.js";
|
|
12
|
-
import { m as createLogger, bl as businessDetailsApiKeyMapping, aW as individualApiKeyMapping, b9 as remediationHasFileUploadField, bm as dataMissingRemediationsToFieldsMap, aS as keysOf } from "./StoreProvider-
|
|
12
|
+
import { m as createLogger, bl as businessDetailsApiKeyMapping, aW as individualApiKeyMapping, b9 as remediationHasFileUploadField, bm as dataMissingRemediationsToFieldsMap, aS as keysOf } from "./StoreProvider-Bd8v9ymn.js";
|
|
13
13
|
const linkedFieldsMap = {
|
|
14
14
|
"additionalInformation.vatNumber": [
|
|
15
15
|
"additionalInformation.exemptedFromVat",
|
|
@@ -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] = "b1c37422-ae68-48d0-9332-a7b7354ee443", e._sentryDebugIdIdentifier = "sentry-dbid-b1c37422-ae68-48d0-9332-a7b7354ee443");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { av as refreshSession, W as Button, V as Loader, S as SettingsProvider, Q as QueryClientProvider, A as ApiProvider, E as ExperimentsContextProvider, c as StoreProvider, d as AnalyticsProvider, I as I18nProvider, e as AllowedCountryGate, D as DebugListener, T as ToastContextProvider, f as StateProvider, g as setSdkTokenHandler, n as normalizeEnvironment } from "./StoreProvider-
|
|
11
|
+
import { av as refreshSession, W as Button, V as Loader, S as SettingsProvider, Q as QueryClientProvider, A as ApiProvider, E as ExperimentsContextProvider, c as StoreProvider, d as AnalyticsProvider, I as I18nProvider, e as AllowedCountryGate, D as DebugListener, T as ToastContextProvider, f as StateProvider, g as setSdkTokenHandler, n as normalizeEnvironment } from "./StoreProvider-Bd8v9ymn.js";
|
|
12
12
|
import { useState, useEffect } from "preact/hooks";
|
|
13
13
|
const sheet = new CSSStyleSheet();
|
|
14
14
|
const stylesheets = [sheet];
|
|
@@ -56,7 +56,7 @@ const EmbedShell = ({
|
|
|
56
56
|
experiments,
|
|
57
57
|
refreshExperiments,
|
|
58
58
|
children: /* @__PURE__ */ jsxs(StoreProvider, { children: [
|
|
59
|
-
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "4.4.
|
|
59
|
+
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "4.4.1" }),
|
|
60
60
|
/* @__PURE__ */ jsx(
|
|
61
61
|
AnalyticsProvider,
|
|
62
62
|
{
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { bz as TrustMemberGuidanceLabels, ae as TrustMemberTypes, as as DecisionMakerTypes } from "./StoreProvider-
|
|
11
|
-
import { U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-
|
|
10
|
+
import { bz as TrustMemberGuidanceLabels, ae as TrustMemberTypes, as as DecisionMakerTypes } from "./StoreProvider-Bd8v9ymn.js";
|
|
11
|
+
import { U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-Dqnnu9xK.js";
|
|
12
12
|
const roleMetadata = {
|
|
13
13
|
[DecisionMakerTypes.CONTROLLING_PERSON]: {
|
|
14
14
|
name: "controllingPerson",
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { aa as CountryCodes } from "./StoreProvider-
|
|
10
|
+
import { aa as CountryCodes } from "./StoreProvider-Bd8v9ymn.js";
|
|
11
11
|
import { C as Currencies } from "./currency-CrdnaaDu.js";
|
|
12
12
|
const currencyByCountry = {
|
|
13
13
|
[CountryCodes.Australia]: [Currencies.AUD],
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { L as LegalEntityTypes, aa as CountryCodes } from "./StoreProvider-
|
|
10
|
+
import { L as LegalEntityTypes, aa as CountryCodes } from "./StoreProvider-Bd8v9ymn.js";
|
|
11
11
|
const trustMemberLegalEntityTypes = [
|
|
12
12
|
LegalEntityTypes.INDIVIDUAL,
|
|
13
13
|
LegalEntityTypes.ORGANIZATION
|
package/dist/{unincorporated-partnership-CJz9rbE4.js → unincorporated-partnership-Dqnnu9xK.js}
RENAMED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { Suspense } from "preact/compat";
|
|
12
|
-
import { V as Loader } from "./StoreProvider-
|
|
12
|
+
import { V as Loader } from "./StoreProvider-Bd8v9ymn.js";
|
|
13
13
|
const Image = ({
|
|
14
14
|
lazyLoadedImage,
|
|
15
15
|
className
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { skipToken } from "@tanstack/preact-query";
|
|
11
11
|
import { useMemo } from "preact/hooks";
|
|
12
|
-
import { m as createLogger, R as useLegalEntity } from "./StoreProvider-
|
|
12
|
+
import { m as createLogger, R as useLegalEntity } from "./StoreProvider-Bd8v9ymn.js";
|
|
13
13
|
const logger = createLogger();
|
|
14
14
|
function useAssociatedLegalEntity(parentLegalEntity, associationType) {
|
|
15
15
|
const matchingAssociation = useMemo(() => {
|
|
@@ -2,7 +2,7 @@
|
|
|
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] = "3d5edd28-ea1d-4336-9fc4-108b7e56e4f8", e._sentryDebugIdIdentifier = "sentry-dbid-3d5edd28-ea1d-4336-9fc4-108b7e56e4f8");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -10,63 +10,63 @@
|
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useMutation, useQuery, skipToken, useQueryClient } from "@tanstack/preact-query";
|
|
12
12
|
import { useState, useMemo, useEffect, useRef, useCallback } from "preact/hooks";
|
|
13
|
-
import { D as Divider, I as INDUSTRY_CODE_FIELD, i as industryCodeFieldMetadata, u as useIndustryCodes, a as IndustryCodeField, b as useCreateBusinessLine, c as useUpdateBusinessLine } from "./useUpdateBusinessLines-
|
|
14
|
-
import { u as useScenarios } from "./useScenarios-
|
|
15
|
-
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-
|
|
16
|
-
import { u as useToastContext, a as useInvalidateRootLegalEntity } from "./useToastContext-
|
|
17
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
18
|
-
import { u as useTranslation, bH as isISIN, W as Button, J as useExperimentsContext, R as useLegalEntity, U as ROOT_LE, am as datasetUtilities, aB as Header, O as Typography, V as Loader, aa as CountryCodes, k as useSettingsContext, aN as useAllowedCountries, b as useApiContext, h as httpPost, P as StackLayout, G as Alert, ao as entriesOf, z as useAnalyticsContext, m as createLogger, v as useAccountHolder, ax as isEmpty, i as isUndefinedOrNull, y as TaskTypes, L as LegalEntityTypes, bI as businessDetailsComponentsKeyMapping, bJ as solePropBusinessDetailsKeyMapping, ah as objectsDeepEqual, aS as keysOf, bK as solePropBusinessDetailsApiKeyMapping, bl as businessDetailsApiKeyMapping, at as Scenarios, aZ as filterOutUnwantedAssociationsIfRootLE, aX as drop, ad as getOwnEntityAssociations, b2 as doArraysMatch, bL as solePropBusinessDetailsDocumentMapping, bM as businessDetailsDocumentMapping } from "./StoreProvider-
|
|
19
|
-
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-
|
|
20
|
-
import { C as CompanyTypesValues } from "./bafinUtils-
|
|
21
|
-
import { c as composePerScenarioFormConfigurations, g as getPropsFromConfigurations } from "./process-field-configurations-
|
|
22
|
-
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
23
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
24
|
-
import { u as uppercase, m as mapExistingFile, g as getPageName, b as useScenarioConfiguration } from "./mapExistingFile-
|
|
25
|
-
import { C as Confirm } from "./Confirm-
|
|
26
|
-
import { a as getDocument, j as getDocuments, c as createDocumentRequest, k as mergeProofOfOwnershipAttachments, b as getFileExtention, d as documentApiUtils } from "./validate-
|
|
27
|
-
import { d as TAX_INFORMATION_FIELD, r as requestingBanking, e as requestingIssuing, t as taxInformationDefaultFieldMetadata, a as taxInformationDefaultFieldConfig, T as TaxInformationField, C as COUNTRY_OF_GOVERNING_LAW_POSSIBLE, f as getTaxInformationPlaceholderText, S as StateCodesUS, h as isUsingCompanySearch, M as MemoizedDocumentUpload, j as getCompanyRegistrationNumberOptions, k as countryToTaxInfoTypeMap, l as isRegistrationNumberAbsentStateV4Scenario, m as getTaxIdNumberOptions, n as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, o as rules, g as getFieldsWithExistingData } from "./TaxInformationField-
|
|
28
|
-
import { u as usePageLandedEvent, s as summaryStep } from "./Summary-
|
|
29
|
-
import { D as DBA_NAME_FIELD, B as BUSINESS_REGISTRATION_NUMBER_FIELD, V as VAT_NUMBER_FIELD, r as registrationAddressFields, o as operationalAddressIsSameIds, v as vatAbsenceReasonMetadata, d as defaultFieldMetadata, a as defaultFieldConfig, b as registrationNumberDefaultFieldMetadata, c as registrationNumberDefaultFieldConfig, e as doingBusinessAsFieldMetadata, f as doingBusinessAsAbsentFieldMetadata, g as DBANameField, h as BusinessRegistrationNumberField, i as getRegistrationNumberHelperText, j as VatNumberField, M as MemoizedConstitutionalDocument, k as getDefaultRegistrationNumberType, l as getDefaultVatNumberType, m as inferCompanyRegistrationNumberType, n as exemptFromRegistrationNumberDefaultFieldMetadata } from "./ConstitutionalDocument-
|
|
30
|
-
import { K as KEYBOARD_KEYS, M as Modal, a as ModalContent } from "./Modal-
|
|
31
|
-
import { t as toFullWidth, a as mapJpAddressSummary, m as mapJpAddressSchemaToAddressLocalizations } from "./mapJpAddressSchemaToAddressLocalizations-
|
|
32
|
-
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, a as getAddressSchemaLabelsByCountry, m as mapAddressLabels, c as getKeyForField } from "./utils-
|
|
13
|
+
import { D as Divider, I as INDUSTRY_CODE_FIELD, i as industryCodeFieldMetadata, u as useIndustryCodes, a as IndustryCodeField, b as useCreateBusinessLine, c as useUpdateBusinessLine } from "./useUpdateBusinessLines-Slv02Dto.js";
|
|
14
|
+
import { u as useScenarios } from "./useScenarios-kkxotRrd.js";
|
|
15
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-B16sUD09.js";
|
|
16
|
+
import { u as useToastContext, a as useInvalidateRootLegalEntity } from "./useToastContext-B6bVTtlk.js";
|
|
17
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-Bx5p8oMR.js";
|
|
18
|
+
import { u as useTranslation, bH as isISIN, W as Button, J as useExperimentsContext, R as useLegalEntity, U as ROOT_LE, am as datasetUtilities, aB as Header, O as Typography, V as Loader, aa as CountryCodes, k as useSettingsContext, aN as useAllowedCountries, b as useApiContext, h as httpPost, P as StackLayout, G as Alert, ao as entriesOf, z as useAnalyticsContext, m as createLogger, v as useAccountHolder, ax as isEmpty, i as isUndefinedOrNull, y as TaskTypes, L as LegalEntityTypes, bI as businessDetailsComponentsKeyMapping, bJ as solePropBusinessDetailsKeyMapping, ah as objectsDeepEqual, aS as keysOf, bK as solePropBusinessDetailsApiKeyMapping, bl as businessDetailsApiKeyMapping, at as Scenarios, aZ as filterOutUnwantedAssociationsIfRootLE, aX as drop, ad as getOwnEntityAssociations, b2 as doArraysMatch, bL as solePropBusinessDetailsDocumentMapping, bM as businessDetailsDocumentMapping } from "./StoreProvider-Bd8v9ymn.js";
|
|
19
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-C8U6tZ6w.js";
|
|
20
|
+
import { C as CompanyTypesValues } from "./bafinUtils-Bbu_uDNY.js";
|
|
21
|
+
import { c as composePerScenarioFormConfigurations, g as getPropsFromConfigurations } from "./process-field-configurations-pnB2vQcT.js";
|
|
22
|
+
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-W92bBPsr.js";
|
|
23
|
+
import { u as useMultiForm } from "./useMultiForm-Dv6aeBzd.js";
|
|
24
|
+
import { u as uppercase, m as mapExistingFile, g as getPageName, b as useScenarioConfiguration } from "./mapExistingFile-BVZYgI0I.js";
|
|
25
|
+
import { C as Confirm } from "./Confirm-BtKpS_Su.js";
|
|
26
|
+
import { a as getDocument, j as getDocuments, c as createDocumentRequest, k as mergeProofOfOwnershipAttachments, b as getFileExtention, d as documentApiUtils } from "./validate-Dc9plnDh.js";
|
|
27
|
+
import { d as TAX_INFORMATION_FIELD, r as requestingBanking, e as requestingIssuing, t as taxInformationDefaultFieldMetadata, a as taxInformationDefaultFieldConfig, T as TaxInformationField, C as COUNTRY_OF_GOVERNING_LAW_POSSIBLE, f as getTaxInformationPlaceholderText, S as StateCodesUS, h as isUsingCompanySearch, M as MemoizedDocumentUpload, j as getCompanyRegistrationNumberOptions, k as countryToTaxInfoTypeMap, l as isRegistrationNumberAbsentStateV4Scenario, m as getTaxIdNumberOptions, n as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, o as rules, g as getFieldsWithExistingData } from "./TaxInformationField-FqmKNe1f.js";
|
|
28
|
+
import { u as usePageLandedEvent, s as summaryStep } from "./Summary-BVTN9m4J.js";
|
|
29
|
+
import { D as DBA_NAME_FIELD, B as BUSINESS_REGISTRATION_NUMBER_FIELD, V as VAT_NUMBER_FIELD, r as registrationAddressFields, o as operationalAddressIsSameIds, v as vatAbsenceReasonMetadata, d as defaultFieldMetadata, a as defaultFieldConfig, b as registrationNumberDefaultFieldMetadata, c as registrationNumberDefaultFieldConfig, e as doingBusinessAsFieldMetadata, f as doingBusinessAsAbsentFieldMetadata, g as DBANameField, h as BusinessRegistrationNumberField, i as getRegistrationNumberHelperText, j as VatNumberField, M as MemoizedConstitutionalDocument, k as getDefaultRegistrationNumberType, l as getDefaultVatNumberType, m as inferCompanyRegistrationNumberType, n as exemptFromRegistrationNumberDefaultFieldMetadata } from "./ConstitutionalDocument-Cd5em_aQ.js";
|
|
30
|
+
import { K as KEYBOARD_KEYS, M as Modal, a as ModalContent } from "./Modal-CqgVbCkp.js";
|
|
31
|
+
import { t as toFullWidth, a as mapJpAddressSummary, m as mapJpAddressSchemaToAddressLocalizations } from "./mapJpAddressSchemaToAddressLocalizations-M9JDtoZu.js";
|
|
32
|
+
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, a as getAddressSchemaLabelsByCountry, m as mapAddressLabels, c as getKeyForField } from "./utils-DmlO6ZEu.js";
|
|
33
33
|
import { r as resolveFieldMetadata } from "./fieldConfigurations-BUT9DTUH.js";
|
|
34
34
|
import { s as summaryItem } from "./summaryItem-CAQCQSkt.js";
|
|
35
|
-
import { f as formatCurrency, A as ALLOWED_SOF_SERVICES } from "./utils-
|
|
36
|
-
import { b as useAddressCleanse, f as formatAddressForCleanse, m as mapAddressData, A as Address, g as getNestedTrustedFields, S as STATE_FIELD, d as defaultFieldMetadata$1, c as defaultFieldConfig$1, e as StateField, i as isDateOlderThanAYear } from "./Address-
|
|
35
|
+
import { f as formatCurrency, A as ALLOWED_SOF_SERVICES } from "./utils-SCRgU7La.js";
|
|
36
|
+
import { b as useAddressCleanse, f as formatAddressForCleanse, m as mapAddressData, A as Address, g as getNestedTrustedFields, S as STATE_FIELD, d as defaultFieldMetadata$1, c as defaultFieldConfig$1, e as StateField, i as isDateOlderThanAYear } from "./Address-B2Ce4Di_.js";
|
|
37
37
|
import { S as SettingNames } from "./types-CQ2p58-6.js";
|
|
38
|
-
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-
|
|
39
|
-
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-
|
|
40
|
-
import { i as isEmpty$1 } from "./isEmpty-
|
|
38
|
+
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-DFPTtgzx.js";
|
|
39
|
+
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-BQGuWR5B.js";
|
|
40
|
+
import { i as isEmpty$1 } from "./isEmpty-DK9awCnt.js";
|
|
41
41
|
import { f as formatObject } from "./utils-DNSfZiio.js";
|
|
42
42
|
import { b as mapAddressLocalizationToJpAddressSchema, a as mapApiScriptLocalizationToSchemaFields, m as mapSchemaFieldsToApiScriptLocalization } from "./mapAddressLocalizationToJpAddressSchema-vJWbpAyq.js";
|
|
43
|
-
import { L as LegalFormField, I as InputNumber, c as InputCurrency, b as CURRENCY_FIELD, C as Currency, m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./Currency-
|
|
44
|
-
import { g as getLegalCompanyNameHelperText, L as LEGAL_COMPANY_NAME_FIELD, d as defaultFieldMetadataV4, a as defaultFieldMetadata$2, b as defaultFieldConfigV4, c as defaultFieldConfig$2 } from "./LegalCompanyNameField-
|
|
45
|
-
import { j as useBusinessLines } from "./OnboardingDropinComponent-
|
|
43
|
+
import { L as LegalFormField, I as InputNumber, c as InputCurrency, b as CURRENCY_FIELD, C as Currency, m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./Currency-Cj6YKv5r.js";
|
|
44
|
+
import { g as getLegalCompanyNameHelperText, L as LEGAL_COMPANY_NAME_FIELD, d as defaultFieldMetadataV4, a as defaultFieldMetadata$2, b as defaultFieldConfigV4, c as defaultFieldConfig$2 } from "./LegalCompanyNameField-B4zAvQR1.js";
|
|
45
|
+
import { j as useBusinessLines } from "./OnboardingDropinComponent-DZmgsC-y.js";
|
|
46
46
|
import { Suspense, lazy } from "preact/compat";
|
|
47
|
-
import { C as Checkbox } from "./Checkbox-
|
|
48
|
-
import { F as Field } from "./Field-
|
|
49
|
-
import { E as ErrorPanel } from "./ErrorPanel-
|
|
50
|
-
import { I as InputDate, f as formatDateObj } from "./InputDate-
|
|
51
|
-
import { a as validateNotEmptyOnBlur, v as validatePatternOnBlur, b as validateJaKanaLegalCompanyName, c as validateJaHaniLegalCompanyName } from "./patternValidators-
|
|
52
|
-
import { M as MaskedInput, m as makeMask, d as alphanumericInputs, b as alphaInputs, n as numericInputs } from "./MaskedInput-
|
|
53
|
-
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-
|
|
54
|
-
import { i as isJapanLocalizationEnabled } from "./japanSupportUtils-
|
|
47
|
+
import { C as Checkbox } from "./Checkbox-DKLas909.js";
|
|
48
|
+
import { F as Field } from "./Field-DhEMQ19K.js";
|
|
49
|
+
import { E as ErrorPanel } from "./ErrorPanel-Dyn3lGkc.js";
|
|
50
|
+
import { I as InputDate, f as formatDateObj } from "./InputDate-CBV8pgtD.js";
|
|
51
|
+
import { a as validateNotEmptyOnBlur, v as validatePatternOnBlur, b as validateJaKanaLegalCompanyName, c as validateJaHaniLegalCompanyName } from "./patternValidators-7Z6iDnS9.js";
|
|
52
|
+
import { M as MaskedInput, m as makeMask, d as alphanumericInputs, b as alphaInputs, n as numericInputs } from "./MaskedInput-84013BtF.js";
|
|
53
|
+
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-BjHuso5S.js";
|
|
54
|
+
import { i as isJapanLocalizationEnabled } from "./japanSupportUtils-CQfmJLNY.js";
|
|
55
55
|
import { u as useDebouncedCallback } from "./debouncedInputEvent-Cv2S512Y.js";
|
|
56
56
|
import { signal } from "@preact/signals";
|
|
57
57
|
import cx from "classnames";
|
|
58
|
-
import { L as Link } from "./Link-
|
|
58
|
+
import { L as Link } from "./Link-B2yGtZDE.js";
|
|
59
59
|
import { S as StructuredList } from "./StructuredList-CNha20ka.js";
|
|
60
|
-
import { I as InputText } from "./InputText-
|
|
61
|
-
import { C as CountryField, a as COUNTRY_FIELD } from "./CountryField-
|
|
62
|
-
import { L as LoaderWrapper } from "./LoaderWrapper-
|
|
60
|
+
import { I as InputText } from "./InputText-C6ZQ-hNy.js";
|
|
61
|
+
import { C as CountryField, a as COUNTRY_FIELD } from "./CountryField-DOF4SekD.js";
|
|
62
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-CMmocBvF.js";
|
|
63
63
|
import { C as Card } from "./Card-OQuFzmxm.js";
|
|
64
|
-
import { L as ListItem } from "./ListItem-
|
|
65
|
-
import { T as TileGroup } from "./TileGroup-
|
|
66
|
-
import { R as RadioGroup } from "./RadioGroup-
|
|
67
|
-
import { u as useGlobalDataSlice } from "./useGlobalData-
|
|
68
|
-
import { u as useForm } from "./useForm-
|
|
69
|
-
import { c as currencyByCountry } from "./types-
|
|
64
|
+
import { L as ListItem } from "./ListItem-Dhqhy01R.js";
|
|
65
|
+
import { T as TileGroup } from "./TileGroup-CJ8S8Tvw.js";
|
|
66
|
+
import { R as RadioGroup } from "./RadioGroup-Dv77MxKh.js";
|
|
67
|
+
import { u as useGlobalDataSlice } from "./useGlobalData-DqYpj2Z7.js";
|
|
68
|
+
import { u as useForm } from "./useForm-tzX14noT.js";
|
|
69
|
+
import { c as currencyByCountry } from "./types-B9EOUKVu.js";
|
|
70
70
|
const DATE_OF_INCORPORATION_FIELD = [
|
|
71
71
|
"dateOfIncorporation"
|
|
72
72
|
];
|
|
@@ -407,7 +407,7 @@ function VerifiedBusinessCard({
|
|
|
407
407
|
] });
|
|
408
408
|
}
|
|
409
409
|
const LazyJpAddress = lazy(
|
|
410
|
-
async () => (await import("./JpAddress-
|
|
410
|
+
async () => (await import("./JpAddress-BB9LN-8Q.js")).JpAddress
|
|
411
411
|
);
|
|
412
412
|
const ADDITIONAL_INFORMATION_FORM_ID = "additionalInformation";
|
|
413
413
|
const ADDITIONAL_INFORMATION_FIELDS = [
|
|
@@ -3332,7 +3332,7 @@ function BusinessDetailsMultiform({
|
|
|
3332
3332
|
requiredFields: form.requiredFields?.companyTaxDocument,
|
|
3333
3333
|
optionalFields: form.optionalFields?.companyTaxDocument,
|
|
3334
3334
|
trustedFields: form.trustedFields?.companyTaxDocument,
|
|
3335
|
-
handleFieldChange: () => handleChange("companyTaxDocument",
|
|
3335
|
+
handleFieldChange: (fieldName) => handleChange("companyTaxDocument", fieldName)
|
|
3336
3336
|
}
|
|
3337
3337
|
) : /* @__PURE__ */ jsx(VatDocument, { children: /* @__PURE__ */ jsx(
|
|
3338
3338
|
MemoizedDocumentUpload,
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useMutation } from "@tanstack/preact-query";
|
|
11
|
-
import { b as useApiContext, h as httpPost } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, h as httpPost } from "./StoreProvider-Bd8v9ymn.js";
|
|
12
12
|
const createLegalEntity = async (legalEntityId, baseUrl, data) => {
|
|
13
13
|
return httpPost(
|
|
14
14
|
{
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useState, useCallback, useMemo, useReducer, useEffect } from "preact/hooks";
|
|
11
|
-
import { m as createLogger, ax as isEmpty, b2 as doArraysMatch } from "./StoreProvider-
|
|
12
|
-
import { V as ValidationResult, o as omitKeys, a as addKeys } from "./utils-
|
|
11
|
+
import { m as createLogger, ax as isEmpty, b2 as doArraysMatch } from "./StoreProvider-Bd8v9ymn.js";
|
|
12
|
+
import { V as ValidationResult, o as omitKeys, a as addKeys } from "./utils-CWnE_Cxa.js";
|
|
13
13
|
const logger = createLogger();
|
|
14
14
|
const useAsyncValidator = (asyncRules) => {
|
|
15
15
|
const [asyncValidationResults, setAsyncValidationResults] = useState({});
|
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo, useRef, useState, useContext } from "preact/hooks";
|
|
12
12
|
import cx from "classnames";
|
|
13
|
-
import { z as useAnalyticsContext, u as useTranslation, W as Button } from "./StoreProvider-
|
|
14
|
-
import { L as LoaderWrapper } from "./LoaderWrapper-
|
|
15
|
-
import { M as MaybeModal } from "./MaybeModal-
|
|
13
|
+
import { z as useAnalyticsContext, u as useTranslation, W as Button } from "./StoreProvider-Bd8v9ymn.js";
|
|
14
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-CMmocBvF.js";
|
|
15
|
+
import { M as MaybeModal } from "./MaybeModal-B3bzXe2d.js";
|
|
16
16
|
import { P as ProgressBar } from "./ProgressBar-B7gTQncy.js";
|
|
17
|
-
import { F as FormRouterContextProvider } from "./dropinUtils-
|
|
18
|
-
import { C as Confirm } from "./Confirm-
|
|
19
|
-
import { S as Summary } from "./Summary-
|
|
17
|
+
import { F as FormRouterContextProvider } from "./dropinUtils-W92bBPsr.js";
|
|
18
|
+
import { C as Confirm } from "./Confirm-BtKpS_Su.js";
|
|
19
|
+
import { S as Summary } from "./Summary-BVTN9m4J.js";
|
|
20
20
|
import { createContext } from "preact";
|
|
21
21
|
const FormContext = createContext(null);
|
|
22
22
|
function FormContextProvider({
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { useContext, useCallback, useMemo } from "preact/hooks";
|
|
11
11
|
import { a as debounce } from "./debouncedInputEvent-Cv2S512Y.js";
|
|
12
|
-
import { bp as StateContext } from "./StoreProvider-
|
|
12
|
+
import { bp as StateContext } from "./StoreProvider-Bd8v9ymn.js";
|
|
13
13
|
function useStateContext() {
|
|
14
14
|
const context = useContext(StateContext);
|
|
15
15
|
return context;
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useCallback, useMemo, useReducer, useEffect } from "preact/hooks";
|
|
11
|
-
import { ah as objectsDeepEqual, m as createLogger, ax as isEmpty } from "./StoreProvider-
|
|
12
|
-
import { V as ValidationResult } from "./utils-
|
|
13
|
-
import { a as isNotEmptyValidator } from "./commonValidators-
|
|
11
|
+
import { ah as objectsDeepEqual, m as createLogger, ax as isEmpty } from "./StoreProvider-Bd8v9ymn.js";
|
|
12
|
+
import { V as ValidationResult } from "./utils-CWnE_Cxa.js";
|
|
13
|
+
import { a as isNotEmptyValidator } from "./commonValidators-Bzh6HljH.js";
|
|
14
14
|
const omitKeys = (obj, omit) => Object.keys(obj).filter((k) => !omit.includes(k)).reduce((a, c) => {
|
|
15
15
|
a[c] = obj[c];
|
|
16
16
|
return a;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useQuery } from "@tanstack/preact-query";
|
|
11
|
-
import { b as useApiContext, j as httpGet } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, j as httpGet } from "./StoreProvider-Bd8v9ymn.js";
|
|
12
12
|
const getOnboardingStatus = async (legalEntityId, baseUrl) => {
|
|
13
13
|
return httpGet({
|
|
14
14
|
baseUrl,
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useQuery, skipToken } from "@tanstack/preact-query";
|
|
11
|
-
import { b as useApiContext, ao as entriesOf, at as Scenarios, j as httpGet } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, ao as entriesOf, at as Scenarios, j as httpGet } from "./StoreProvider-Bd8v9ymn.js";
|
|
12
12
|
const getScenarios = async (legalEntityId, baseUrl, legalEntityType, countryCode) => {
|
|
13
13
|
const scenarioParams = new URLSearchParams({
|
|
14
14
|
countryCode,
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useQuery } from "@tanstack/preact-query";
|
|
11
|
-
import { b as useApiContext, j as httpGet } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, j as httpGet } from "./StoreProvider-Bd8v9ymn.js";
|
|
12
12
|
const getTermsOfServiceAcceptanceInfos = async (legalEntityId, baseUrl) => {
|
|
13
13
|
return httpGet({
|
|
14
14
|
baseUrl,
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { useQueryClient } from "@tanstack/preact-query";
|
|
11
11
|
import { useCallback, useContext } from "preact/hooks";
|
|
12
|
-
import { m as createLogger, b as useApiContext, au as ToastContext } from "./StoreProvider-
|
|
12
|
+
import { m as createLogger, b as useApiContext, au as ToastContext } from "./StoreProvider-Bd8v9ymn.js";
|
|
13
13
|
const logger = createLogger();
|
|
14
14
|
const QUERIES_TO_INVALIDATE_WHEN_ROOT_LE_IS_INVALIDATED = [
|
|
15
15
|
"businessLines",
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useMemo } from "preact/hooks";
|
|
11
|
-
import { L as LegalEntityTypes, ad as getOwnEntityAssociations, R as useLegalEntity, U as ROOT_LE } from "./StoreProvider-
|
|
12
|
-
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-
|
|
13
|
-
import { U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-
|
|
14
|
-
import { g as getLegalEntityNameBasedOnType } from "./getName-
|
|
11
|
+
import { L as LegalEntityTypes, ad as getOwnEntityAssociations, R as useLegalEntity, U as ROOT_LE } from "./StoreProvider-Bd8v9ymn.js";
|
|
12
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-C4AIT84p.js";
|
|
13
|
+
import { U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-Dqnnu9xK.js";
|
|
14
|
+
import { g as getLegalEntityNameBasedOnType } from "./getName-BL5TV1CY.js";
|
|
15
15
|
const getMemberOwnerId = (memberId, entityAssociations) => entityAssociations.find((association) => association.associatorId === memberId)?.legalEntityId;
|
|
16
16
|
const convertEntityAssociationIntoUnincorporatedPartnershipMember = (association) => {
|
|
17
17
|
if (association.entityType === LegalEntityTypes.INDIVIDUAL || association.entityType === LegalEntityTypes.ORGANIZATION)
|
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useQuery, useMutation } from "@tanstack/preact-query";
|
|
11
|
-
import { b as useApiContext, j as httpGet, ax as isEmpty, u as useTranslation, J as useExperimentsContext, C as IconButton, h as httpPost } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, j as httpGet, ax as isEmpty, u as useTranslation, J as useExperimentsContext, C as IconButton, h as httpPost } from "./StoreProvider-Bd8v9ymn.js";
|
|
12
12
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
13
13
|
import { useRef, useMemo, useState, useEffect } from "preact/hooks";
|
|
14
|
-
import { F as Field } from "./Field-
|
|
14
|
+
import { F as Field } from "./Field-DhEMQ19K.js";
|
|
15
15
|
import { L as List } from "./List-BAzyC6sw.js";
|
|
16
|
-
import { S as Select } from "./Select-
|
|
16
|
+
import { S as Select } from "./Select-BXKtUkAf.js";
|
|
17
17
|
import { signal } from "@preact/signals";
|
|
18
18
|
const fetchIndustryCodes = async (legalEntityId, baseUrl, businessLineTypes2, locale) => {
|
|
19
19
|
const results = await Promise.all(
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useQueryClient, useMutation } from "@tanstack/preact-query";
|
|
11
|
-
import { a as useInvalidateRootLegalEntity } from "./useToastContext-
|
|
12
|
-
import { b as useApiContext, h as httpPost } from "./StoreProvider-
|
|
11
|
+
import { a as useInvalidateRootLegalEntity } from "./useToastContext-B6bVTtlk.js";
|
|
12
|
+
import { b as useApiContext, h as httpPost } from "./StoreProvider-Bd8v9ymn.js";
|
|
13
13
|
const updateLegalEntity = async (rootLegalEntityId, baseUrl, data) => {
|
|
14
14
|
return httpPost(
|
|
15
15
|
{
|