@adyen/kyc-components 4.4.0 → 4.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AcceptTermsOfServiceComponent-CtSxtBKi.js → AcceptTermsOfServiceComponent-M5wKQMM9.js} +14 -14
- package/dist/{AccountSetupRejected-Izp48yEO.js → AccountSetupRejected-gSXgyRHC.js} +1 -1
- package/dist/{ActionBar-Ca6J5mWK.js → ActionBar-DvPG94y4.js} +1 -1
- package/dist/{Address-D_vmsuPk.js → Address-DGDNVhy1.js} +9 -9
- package/dist/{Avatar-CKx8J5lx.js → Avatar-BigWKog5.js} +1 -1
- package/dist/{BusinessFinancingComponent-DaxARiGM.js → BusinessFinancingComponent-BWaVse8L.js} +4 -4
- package/dist/{BusinessFinancingDropin-Dd2HLLMa.js → BusinessFinancingDropin-DeO1OC_2.js} +26 -26
- package/dist/{BusinessFinancingPage-BOejVYXh.js → BusinessFinancingPage-B1E2mHtR.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-CTDOUjiA.js → BusinessTypeSelectionPage-CwcXiX64.js} +8 -8
- package/dist/{Checkbox-RZJnbRBZ.js → Checkbox-BGioIlWP.js} +1 -1
- package/dist/{Confirm-DHTZz6n-.js → Confirm-B_yeyy2G.js} +2 -2
- package/dist/{ConstitutionalDocument-CG6z6hOH.js → ConstitutionalDocument-cTR7cF3e.js} +19 -21
- package/dist/{ContactDetails-X7roxa7M.js → ContactDetails-DIHRGpL2.js} +5 -5
- package/dist/{ContextGuidance-DeZxHGha.js → ContextGuidance-DzK933Jf.js} +1 -1
- package/dist/{CountryField-prWQNOFZ.js → CountryField-DH5c7yRd.js} +3 -3
- package/dist/{CreateIndividualComponent-Cr5P6AhY.js → CreateIndividualComponent-Do_BzmhS.js} +4 -4
- package/dist/{CreateTransferInstrumentComponent-BUzLyFsB.js → CreateTransferInstrumentComponent-ClKkXwg-.js} +3 -3
- package/dist/{Currency-BCTmbxvQ.js → Currency-DzdloR3D.js} +6 -6
- package/dist/{CustomerSupport-BUSF6AeJ.js → CustomerSupport-CXbWqBpH.js} +9 -9
- package/dist/{DebugModal-DnwBnRrX.js → DebugModal-BDd-rOjs.js} +6 -6
- package/dist/{DecisionMakerDetailsPage-l8dykx5K.js → DecisionMakerDetailsPage-BLGthoom.js} +6 -6
- package/dist/{DecisionMakers-DwsykbVA.js → DecisionMakers-bAbhYSQK.js} +18 -18
- package/dist/{Dropzone-BpVTBLdK.js → Dropzone-DefdneRg.js} +3 -3
- package/dist/{EmbeddedStatus-CiAT9LVT.js → EmbeddedStatus-BaImZWyI.js} +2 -2
- package/dist/{EndStateLayout-DmuB86Km.js → EndStateLayout-Bcg3GO0L.js} +1 -1
- package/dist/{EntityAssociation-B2agfeew.js → EntityAssociation-CXQ8UcQi.js} +4 -4
- package/dist/{EntityGuidanceStatus-ByQeAaJX.js → EntityGuidanceStatus-C9R8f3gY.js} +3 -3
- package/dist/{ErrorPanel-Dc-0FFlw.js → ErrorPanel-DntZ83N4.js} +1 -1
- package/dist/{Field-BCh4RjjH.js → Field-sERijyaB.js} +1 -1
- package/dist/{FormNavigation-Dw9vBfOE.js → FormNavigation-Cjqc_FGm.js} +2 -2
- package/dist/{FormWrapper-DBd93g5-.js → FormWrapper-ByTt7U-p.js} +8 -8
- package/dist/{Individual.rules-Df2tyewj.js → Individual.rules-Dx7fmYIX.js} +5 -5
- package/dist/{IndividualDropin-ffk4cENA.js → IndividualDropin-BSIMXOoA.js} +48 -48
- package/dist/{InputDate-lBYns5ES.js → InputDate-VRLQo2vr.js} +1 -1
- package/dist/{InputText-cE4sdkOF.js → InputText-IsuJakxp.js} +1 -1
- package/dist/{Introduction-BLHqyzh4.js → Introduction-Crc-uGNn.js} +3 -3
- package/dist/{JpAddress-DgMxCxUO.js → JpAddress-BhsE5-70.js} +8 -8
- package/dist/{LandingLayout-DO4D3GZF.js → LandingLayout-DIhoLf5-.js} +1 -1
- package/dist/{LegalCompanyNameField-C2V3zE5H.js → LegalCompanyNameField-DBgtlNvB.js} +5 -5
- package/dist/{LegalRepresentativeDetailsPage-C-fi8ExM.js → LegalRepresentativeDetailsPage-CJvYJVTR.js} +3 -3
- package/dist/{Link-C53bmm0L.js → Link-CutZXuAW.js} +1 -1
- package/dist/{ListItem-DPoOuxMs.js → ListItem-kIEjbF96.js} +2 -2
- package/dist/{LoaderWrapper-CyNmE5d5.js → LoaderWrapper-DnWAcw9_.js} +1 -1
- package/dist/{ManageIndividualComponent-D2TaeVp-.js → ManageIndividualComponent-u686cdwU.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-B06SqV2S.js → ManageTermsOfServiceComponent-CxRttOnj.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-CD5CeLd4.js → ManageTransferInstrumentComponent-CpIEvtLc.js} +9 -9
- package/dist/{MaskedInput-BiyWZvf9.js → MaskedInput-BUEEB8aQ.js} +4 -4
- package/dist/{MaybeModal-CQ9Nwb5m.js → MaybeModal-jnqzVbX8.js} +2 -2
- package/dist/{Modal-B2axEGgw.js → Modal-BlQW-Pnp.js} +1 -1
- package/dist/{Name-DF_giEzW.js → Name-ciKIWQj8.js} +4 -4
- package/dist/{OnboardingDropinComponent-JrMNoZpj.js → OnboardingDropinComponent-BqIBgp5b.js} +70 -70
- package/dist/{PayoutDetailsDropin-CiUSUC71.js → PayoutDetailsDropin-f0ZlyHGT.js} +36 -36
- package/dist/{PayoutDetailsPage-DqQzTo4c.js → PayoutDetailsPage-D9t61GjD.js} +4 -4
- package/dist/{RadioGroup-DoV1tEJl.js → RadioGroup-CBdmlK_n.js} +1 -1
- package/dist/{RadioGroupCard-9aQGW7JN.js → RadioGroupCard-BRQ1EVXw.js} +1 -1
- package/dist/{Review-ai4kHVX1.js → Review-Cn-ZJ9Vj.js} +5 -5
- package/dist/{RootBusinessDetailsPage-DSkrHvsT.js → RootBusinessDetailsPage-DNwYUJ5c.js} +4 -4
- package/dist/{RootBusinessLinesPage-A0Tr3mxD.js → RootBusinessLinesPage-DMmoPnNU.js} +22 -22
- package/dist/{RootIndividualDetailsPage-Bq6hAuWB.js → RootIndividualDetailsPage-A6rvBPnN.js} +4 -4
- package/dist/{Select-DpfHA9OG.js → Select-CigkG7z1.js} +3 -3
- package/dist/{SignPCIComponent-BQiuhLUm.js → SignPCIComponent-C3wzIWNZ.js} +10 -10
- package/dist/{SingpassSelection-DZllhRC7.js → SingpassSelection-BiqCayL6.js} +5 -5
- package/dist/{SoleProprietorshipPage-dW52UoqY.js → SoleProprietorshipPage-5uTMiGMd.js} +3 -3
- package/dist/{SourceOfFundsPage-CP1y52UZ.js → SourceOfFundsPage-DflcK_TN.js} +29 -29
- package/dist/{StepProgressIndicator-CbH70qse.js → StepProgressIndicator-DMsM1PBD.js} +1 -1
- package/dist/{StoreProvider-mHLtWums.js → StoreProvider-90tJMDIA.js} +4 -4
- package/dist/{Summary-D-nudpZf.js → Summary-C2xicjY6.js} +5 -5
- package/dist/{TaxInformationField-b3yhWTWD.js → TaxInformationField-ELa54UHU.js} +18 -18
- package/dist/{TaxReportingDropin-B-8GeWGr.js → TaxReportingDropin-BzUpntjR.js} +13 -13
- package/dist/{TextArea-C0PzOf5N.js → TextArea-_VwtN8gJ.js} +1 -1
- package/dist/{TileGroup-CKUlaXGR.js → TileGroup-Cf0fUfMl.js} +2 -2
- package/dist/{TrustDetailsPage-Czk6U1Tc.js → TrustDetailsPage-Ba9Ctrex.js} +31 -31
- package/dist/{TrustMemberCompanyPage-DXT3RepM.js → TrustMemberCompanyPage-DCPhxOT_.js} +4 -4
- package/dist/{TrustMemberIndividualPage-DWmPqSUW.js → TrustMemberIndividualPage-CSGuFLGh.js} +3 -3
- package/dist/{TrustMemberRoleAndTypePage-c23IPOaR.js → TrustMemberRoleAndTypePage-BESKHHqb.js} +20 -20
- package/dist/{TrustMembersOverview-BRNYhXYG.js → TrustMembersOverview-FHJy33pK.js} +9 -9
- package/dist/{UnincorporatedPartnershipIndividualPage-CZVQg1Lm.js → UnincorporatedPartnershipIndividualPage-7G9SyRJt.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-D3GMfr2u.js → UnincorporatedPartnershipMemberCompanyPage-BZsT_7Ks.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-Dwi-t1pR.js → UnincorporatedPartnershipMemberRoleAndTypePage-BFOWOy8M.js} +10 -10
- package/dist/{UnincorporatedPartnershipMembersOverview-D-hiEWen.js → UnincorporatedPartnershipMembersOverview-De5EzKGj.js} +6 -6
- package/dist/{VerificationErrorAlert-Bv13UiEj.js → VerificationErrorAlert-Cqqk04oQ.js} +2 -2
- package/dist/{ViewVerificationStatusComponent-8v5Nm_wk.js → ViewVerificationStatusComponent-CgxcfzzJ.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-pwkl8kSq.js → bafinUtils-CpK2RFaP.js} +1 -1
- package/dist/{commonValidators-Q1vH12Fp.js → commonValidators-CQIX4zEq.js} +1 -1
- package/dist/{dropinUtils-cvPDQGkm.js → dropinUtils-BYl0ORO0.js} +3 -3
- package/dist/{formUtils-Cu4r_cE7.js → formUtils-cMBGjUEy.js} +2 -2
- package/dist/{getName-D92TbZE4.js → getName-0KBBuJrE.js} +1 -1
- package/dist/{getProblemsForEntity-Cn6NNpx3.js → getProblemsForEntity-Budew_35.js} +1 -1
- package/dist/{iframeWidget-LYI4Hywy.js → iframeWidget-DAB0F82Y.js} +3 -3
- package/dist/{isEmpty-BtKNXm_E.js → isEmpty-CavqZ4VU.js} +1 -1
- package/dist/{japanSupportUtils-Cjg3HGeh.js → japanSupportUtils-BG9MOR9K.js} +1 -1
- package/dist/{localizeDateString-iKn35I7t.js → localizeDateString-5rPYunMl.js} +1 -1
- package/dist/{mapExistingFile-DAKnbl3q.js → mapExistingFile-y8FIeeWo.js} +3 -3
- package/dist/{mapJpAddressSchemaToAddressLocalizations-BwqkpwLG.js → mapJpAddressSchemaToAddressLocalizations-BhravdGp.js} +1 -1
- package/dist/{mapLegalEntityToIndividualSchema-DHNvFq3z.js → mapLegalEntityToIndividualSchema-B7PXXN-M.js} +3 -3
- package/dist/{mapTransferInstrumentToPayoutAccount-CFiPK7nF.js → mapTransferInstrumentToPayoutAccount-BRnKzgzI.js} +1 -1
- package/dist/{patternValidators-DHivz8FR.js → patternValidators-C7R6NOY2.js} +1 -1
- package/dist/{process-field-configurations-TVQJVhh6.js → process-field-configurations-DT9colXs.js} +1 -1
- package/dist/{resolveEnvironment-DRIoWKkq.js → resolveEnvironment-CUVfpXci.js} +3 -3
- package/dist/{roleMetadata-23PazJen.js → roleMetadata-Cf7yQ0Eb.js} +2 -2
- package/dist/{types-DW90uFG-.js → types-CnU6OnLa.js} +1 -1
- package/dist/{types-s-Q2XpkZ.js → types-DFB04wa9.js} +1 -1
- package/dist/{types-CCxHnxb7.js → types-LcEKIBj5.js} +1 -1
- package/dist/{unincorporated-partnership-DPbAzJDe.js → unincorporated-partnership-v25D7uUH.js} +1 -1
- package/dist/{useAssociatedLegalEntity-BEuHjBZz.js → useAssociatedLegalEntity-mXLSF82R.js} +1 -1
- package/dist/{useBusinessDetailsData-BO8XWfJZ.js → useBusinessDetailsData-Dom1Y7Vy.js} +49 -49
- package/dist/{useCreateLegalEntity-Bk8GSKP1.js → useCreateLegalEntity-ChDnpA8E.js} +1 -1
- package/dist/{useForm-vad8DlLx.js → useForm-C1BTbzKC.js} +2 -2
- package/dist/{useFormContext-B5QKkdAI.js → useFormContext-DaDX0v36.js} +6 -6
- package/dist/{useGlobalData-Btrs_29g.js → useGlobalData-Dl6ilhzb.js} +1 -1
- package/dist/{useMultiForm-cC2wlHNB.js → useMultiForm-CgT93jJU.js} +3 -3
- package/dist/{useOnboardingStatus-V-UqaVrD.js → useOnboardingStatus-C-orIrCV.js} +1 -1
- package/dist/{useScenarios-BbG9i_sD.js → useScenarios-C9aotOSS.js} +1 -1
- package/dist/{useTermsOfServiceStatus-QeWE09L-.js → useTermsOfServiceStatus-D4mitxel.js} +1 -1
- package/dist/{useToastContext-wDfBfnfF.js → useToastContext-w7U-RQ-A.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-qPE2KPx9.js → useUnincorporatedPartnershipMembers-DY1ZtaDP.js} +4 -4
- package/dist/{useUpdateBusinessLines-Dt0n6cQU.js → useUpdateBusinessLines-Bmc1JCfI.js} +3 -3
- package/dist/{useUpdateLegalEntity-DZgtsmFg.js → useUpdateLegalEntity-CtbaUm7M.js} +2 -2
- package/dist/{utils-CXINiC_b.js → utils-BO7N7IZ6.js} +1 -1
- package/dist/{utils-JAP5Kj4w.js → utils-C28xvPDf.js} +5 -5
- package/dist/{utils-t9bNKGqn.js → utils-CKpMEUXM.js} +1 -1
- package/dist/{utils-Cg8MDRUC.js → utils-CTX70Z6O.js} +1 -1
- package/dist/{utils-DvL1qQJh.js → utils-D2BnP1Bg.js} +2 -2
- package/dist/{validate-CkFqyHrv.js → validate-CQxvXYrk.js} +2 -2
- package/dist/{validate-DmrKFNZ-.js → validate-nSVxursn.js} +1 -1
- package/dist/{validationError-BZEfEJF0.js → validationError-Cgaz0uC7.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-90tJMDIA.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-90tJMDIA.js";
|
|
12
|
+
import { s as summaryStep } from "./Summary-C2xicjY6.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-DntZ83N4.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-CTX70Z6O.js";
|
|
11
|
+
import { ao as entriesOf } from "./StoreProvider-90tJMDIA.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-90tJMDIA.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-90tJMDIA.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-90tJMDIA.js";
|
|
11
|
+
import { i as isValueObscured } from "./MaskedInput-BUEEB8aQ.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-y8FIeeWo.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-90tJMDIA.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-90tJMDIA.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-90tJMDIA.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-C9aotOSS.js";
|
|
12
|
+
import { aa as CountryCodes, m as createLogger, u as useTranslation, B as Icon } from "./StoreProvider-90tJMDIA.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-v25D7uUH.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-CavqZ4VU.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-90tJMDIA.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-sERijyaB.js";
|
|
16
|
+
import { T as TileGroup } from "./TileGroup-Cf0fUfMl.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-90tJMDIA.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-90tJMDIA.js";
|
|
11
11
|
const validateNotEmptyOnBlur = {
|
|
12
12
|
modes: ["blur"],
|
|
13
13
|
validate: (val) => !isEmpty(val),
|
package/dist/{process-field-configurations-TVQJVhh6.js → process-field-configurations-DT9colXs.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-90tJMDIA.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] = "dd7647bf-7136-4d38-b17d-ffa78da46737", e._sentryDebugIdIdentifier = "sentry-dbid-dd7647bf-7136-4d38-b17d-ffa78da46737");
|
|
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-90tJMDIA.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.2" }),
|
|
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-90tJMDIA.js";
|
|
11
|
+
import { U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-v25D7uUH.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-90tJMDIA.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-90tJMDIA.js";
|
|
11
11
|
const trustMemberLegalEntityTypes = [
|
|
12
12
|
LegalEntityTypes.INDIVIDUAL,
|
|
13
13
|
LegalEntityTypes.ORGANIZATION
|
package/dist/{unincorporated-partnership-DPbAzJDe.js → unincorporated-partnership-v25D7uUH.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-90tJMDIA.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-90tJMDIA.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-Bmc1JCfI.js";
|
|
14
|
+
import { u as useScenarios } from "./useScenarios-C9aotOSS.js";
|
|
15
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-ChDnpA8E.js";
|
|
16
|
+
import { u as useToastContext, a as useInvalidateRootLegalEntity } from "./useToastContext-w7U-RQ-A.js";
|
|
17
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-CtbaUm7M.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-90tJMDIA.js";
|
|
19
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-DaDX0v36.js";
|
|
20
|
+
import { C as CompanyTypesValues } from "./bafinUtils-CpK2RFaP.js";
|
|
21
|
+
import { c as composePerScenarioFormConfigurations, g as getPropsFromConfigurations } from "./process-field-configurations-DT9colXs.js";
|
|
22
|
+
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-BYl0ORO0.js";
|
|
23
|
+
import { u as useMultiForm } from "./useMultiForm-CgT93jJU.js";
|
|
24
|
+
import { u as uppercase, m as mapExistingFile, g as getPageName, b as useScenarioConfiguration } from "./mapExistingFile-y8FIeeWo.js";
|
|
25
|
+
import { C as Confirm } from "./Confirm-B_yeyy2G.js";
|
|
26
|
+
import { a as getDocument, j as getDocuments, c as createDocumentRequest, k as mergeProofOfOwnershipAttachments, b as getFileExtention, d as documentApiUtils } from "./validate-CQxvXYrk.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-ELa54UHU.js";
|
|
28
|
+
import { u as usePageLandedEvent, s as summaryStep } from "./Summary-C2xicjY6.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-cTR7cF3e.js";
|
|
30
|
+
import { K as KEYBOARD_KEYS, M as Modal, a as ModalContent } from "./Modal-BlQW-Pnp.js";
|
|
31
|
+
import { t as toFullWidth, a as mapJpAddressSummary, m as mapJpAddressSchemaToAddressLocalizations } from "./mapJpAddressSchemaToAddressLocalizations-BhravdGp.js";
|
|
32
|
+
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, a as getAddressSchemaLabelsByCountry, m as mapAddressLabels, c as getKeyForField } from "./utils-BO7N7IZ6.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-D2BnP1Bg.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-DGDNVhy1.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-C28xvPDf.js";
|
|
39
|
+
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-Cgaz0uC7.js";
|
|
40
|
+
import { i as isEmpty$1 } from "./isEmpty-CavqZ4VU.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-DzdloR3D.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-DBgtlNvB.js";
|
|
45
|
+
import { j as useBusinessLines } from "./OnboardingDropinComponent-BqIBgp5b.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-BGioIlWP.js";
|
|
48
|
+
import { F as Field } from "./Field-sERijyaB.js";
|
|
49
|
+
import { E as ErrorPanel } from "./ErrorPanel-DntZ83N4.js";
|
|
50
|
+
import { I as InputDate, f as formatDateObj } from "./InputDate-VRLQo2vr.js";
|
|
51
|
+
import { a as validateNotEmptyOnBlur, v as validatePatternOnBlur, b as validateJaKanaLegalCompanyName, c as validateJaHaniLegalCompanyName } from "./patternValidators-C7R6NOY2.js";
|
|
52
|
+
import { M as MaskedInput, m as makeMask, d as alphanumericInputs, b as alphaInputs, n as numericInputs } from "./MaskedInput-BUEEB8aQ.js";
|
|
53
|
+
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-cMBGjUEy.js";
|
|
54
|
+
import { i as isJapanLocalizationEnabled } from "./japanSupportUtils-BG9MOR9K.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-CutZXuAW.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-IsuJakxp.js";
|
|
61
|
+
import { C as CountryField, a as COUNTRY_FIELD } from "./CountryField-DH5c7yRd.js";
|
|
62
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-DnWAcw9_.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-kIEjbF96.js";
|
|
65
|
+
import { T as TileGroup } from "./TileGroup-Cf0fUfMl.js";
|
|
66
|
+
import { R as RadioGroup } from "./RadioGroup-CBdmlK_n.js";
|
|
67
|
+
import { u as useGlobalDataSlice } from "./useGlobalData-Dl6ilhzb.js";
|
|
68
|
+
import { u as useForm } from "./useForm-C1BTbzKC.js";
|
|
69
|
+
import { c as currencyByCountry } from "./types-CnU6OnLa.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-BhsE5-70.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-90tJMDIA.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-90tJMDIA.js";
|
|
12
|
+
import { V as ValidationResult, o as omitKeys, a as addKeys } from "./utils-CTX70Z6O.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-90tJMDIA.js";
|
|
14
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-DnWAcw9_.js";
|
|
15
|
+
import { M as MaybeModal } from "./MaybeModal-jnqzVbX8.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-BYl0ORO0.js";
|
|
18
|
+
import { C as Confirm } from "./Confirm-B_yeyy2G.js";
|
|
19
|
+
import { S as Summary } from "./Summary-C2xicjY6.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-90tJMDIA.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-90tJMDIA.js";
|
|
12
|
+
import { V as ValidationResult } from "./utils-CTX70Z6O.js";
|
|
13
|
+
import { a as isNotEmptyValidator } from "./commonValidators-CQIX4zEq.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-90tJMDIA.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-90tJMDIA.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-90tJMDIA.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-90tJMDIA.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-90tJMDIA.js";
|
|
12
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-mXLSF82R.js";
|
|
13
|
+
import { U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-v25D7uUH.js";
|
|
14
|
+
import { g as getLegalEntityNameBasedOnType } from "./getName-0KBBuJrE.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-90tJMDIA.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-sERijyaB.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-CigkG7z1.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-w7U-RQ-A.js";
|
|
12
|
+
import { b as useApiContext, h as httpPost } from "./StoreProvider-90tJMDIA.js";
|
|
13
13
|
const updateLegalEntity = async (rootLegalEntityId, baseUrl, data) => {
|
|
14
14
|
return httpPost(
|
|
15
15
|
{
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { s as summaryItem } from "./summaryItem-CAQCQSkt.js";
|
|
11
|
-
import { aa as CountryCodes } from "./StoreProvider-
|
|
11
|
+
import { aa as CountryCodes } from "./StoreProvider-90tJMDIA.js";
|
|
12
12
|
const addressFields = [
|
|
13
13
|
"address",
|
|
14
14
|
"otherAddressInformation",
|