@adyen/kyc-components 3.94.0-beta.0 → 3.94.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AcceptTermsOfServiceComponent-BNEMFBq0.js → AcceptTermsOfServiceComponent-UXDlHmf_.js} +15 -15
- package/dist/{Accordion-Cax_J3Gf.js → Accordion-DM9qeMoR.js} +1 -1
- package/dist/{AccountSetupRejected-Dw1JmaLa.js → AccountSetupRejected-DfmKQEp-.js} +3 -3
- package/dist/{ActionBar-DIloxhqg.js → ActionBar-DCKuV5BO.js} +1 -1
- package/dist/{Address-Dts3DYj0.js → Address-BEUcWe_H.js} +9 -9
- package/dist/{Alert-DC8mEKEP.js → Alert-D9HbhU88.js} +2 -2
- package/dist/{Avatar-Bbe-eBCS.js → Avatar-C_tjYaBz.js} +1 -1
- package/dist/{BusinessFinancingComponent-BiSUGgX3.js → BusinessFinancingComponent-B5gLGmkK.js} +4 -4
- package/dist/{BusinessFinancingDropin-BmkqIua-.js → BusinessFinancingDropin-BpZKzB71.js} +27 -27
- package/dist/{BusinessFinancingPage-DwBfN6qr.js → BusinessFinancingPage-CKdy77OK.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-1Buco8zw.js → BusinessTypeSelectionPage-ClkY9cbT.js} +8 -8
- package/dist/{Checkbox-CE_M5n7n.js → Checkbox-BU4IYlt6.js} +1 -1
- package/dist/{Confirm-4erRYnyk.js → Confirm-BM1PTsnm.js} +2 -2
- package/dist/{ConstitutionalDocument-BHFNYRzM.js → ConstitutionalDocument-D9sPfw_B.js} +17 -17
- package/dist/{ContactDetails-np9EyPXf.js → ContactDetails-BRnbG7BX.js} +7 -7
- package/dist/{ContextGuidance-BHoxIzER.js → ContextGuidance-CZGa7C-r.js} +2 -2
- package/dist/{CountryField-BZaRhZqo.js → CountryField-DShqP-Yi.js} +4 -4
- package/dist/{CreateIndividualComponent-BVrZI8vP.js → CreateIndividualComponent-BZ6dd8Bd.js} +4 -4
- package/dist/{CreateTransferInstrumentComponent-Dv1-pVcx.js → CreateTransferInstrumentComponent-1pjVr_3y.js} +3 -3
- package/dist/{Currency-BS3HwMyK.js → Currency-CEtDxV-F.js} +6 -6
- package/dist/{CustomerSupport-m1MtY5to.js → CustomerSupport-gmN79qSl.js} +10 -10
- package/dist/{DebugModal-1U6Vcfva.js → DebugModal-C3horl0P.js} +8 -8
- package/dist/{DecisionMakerDetailsPage-90FD9zit.js → DecisionMakerDetailsPage-CN1t2Ok6.js} +6 -6
- package/dist/{DecisionMakers-BSRsaNHN.js → DecisionMakers-83kflZpA.js} +20 -20
- package/dist/{Dropzone-Dst8zrJ5.js → Dropzone-DYIUInYF.js} +3 -3
- package/dist/{EmbeddedStatus-Bait23vL.js → EmbeddedStatus-BID4yaOx.js} +2 -2
- package/dist/{EndStateLayout-v1G8vJNv.js → EndStateLayout-Cqmi0QYW.js} +1 -1
- package/dist/{EntityAssociation-D-Hu6nbx.js → EntityAssociation-jMAjopdW.js} +5 -5
- package/dist/{EntityGuidanceStatus-Cgf5U69e.js → EntityGuidanceStatus-ek-5IvZb.js} +2 -2
- package/dist/{ErrorPanel-CBcipAyR.js → ErrorPanel-ByEaxCQu.js} +2 -2
- package/dist/{Field-BVJQCZ4k.js → Field-Cp_UOAnA.js} +1 -1
- package/dist/{FormNavigation-V321wMS9.js → FormNavigation-CttAyMuX.js} +2 -2
- package/dist/{FormWrapper-DikNrlhx.js → FormWrapper-C8UDjnjQ.js} +8 -8
- package/dist/{Header-DGLSSdVe.js → Header-CIxJSQWR.js} +1 -1
- package/dist/{Image-PEzI5V8F.js → Image-T-D-HDf5.js} +1 -1
- package/dist/{Individual.rules-Dtutjobs.js → Individual.rules-DEhHxeiv.js} +5 -5
- package/dist/{IndividualDropin-Bj-hf2Kf.js → IndividualDropin-Dz2ooI0s.js} +52 -52
- package/dist/{InputDate-BXwWXVWw.js → InputDate-z9OpUslu.js} +1 -1
- package/dist/{InputText-HZSqDIB8.js → InputText-CBhD5jca.js} +1 -1
- package/dist/{Introduction-BQlQc5c7.js → Introduction-Bm3kybSH.js} +3 -3
- package/dist/{JpAddress-BaQUlDsw.js → JpAddress-owiNWOqn.js} +8 -8
- package/dist/{LandingLayout-DbwioiQp.js → LandingLayout-BuBU3Pyb.js} +1 -1
- package/dist/{LegalRepresentativeDetailsPage-BlwoKFAG.js → LegalRepresentativeDetailsPage-vS7jAxuO.js} +3 -3
- package/dist/{Link-DrAsV5CE.js → Link-CIBefZJS.js} +1 -1
- package/dist/{ListItem-C5mM57vH.js → ListItem-CnzgA-sH.js} +2 -2
- package/dist/{LoaderWrapper-EJyrMlRe.js → LoaderWrapper-CwhIpGKR.js} +1 -1
- package/dist/{ManageIndividualComponent-BEW6MiAh.js → ManageIndividualComponent-CJEqOUgN.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-cxkbu9GB.js → ManageTermsOfServiceComponent-BdiC5Nbd.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-vQaHwwGe.js → ManageTransferInstrumentComponent-CObC5Uof.js} +11 -11
- package/dist/{MaskedInput-DETPfraM.js → MaskedInput-BfI4FGAA.js} +4 -4
- package/dist/{MaybeModal-CkPgfjYm.js → MaybeModal-DHcu32Dh.js} +2 -2
- package/dist/{Modal-DFeQpiAs.js → Modal-BKWXTEoU.js} +1 -1
- package/dist/{Name-CprkUDfC.js → Name-BCar2_dk.js} +4 -4
- package/dist/{OnboardingDropinComponent-DSAf1tUs.js → OnboardingDropinComponent-DstStqYS.js} +51 -44
- package/dist/{PayoutDetailsDropin-BfGD6ufv.js → PayoutDetailsDropin-DSdlqAe2.js} +40 -40
- package/dist/{RadioGroup-B5XmO71J.js → RadioGroup-COsozc9g.js} +1 -1
- package/dist/{RadioGroupCard-BX-iOHES.js → RadioGroupCard-xqC3IACY.js} +1 -1
- package/dist/{Review-DUQ7OE7u.js → Review-CZwc-DMp.js} +6 -6
- package/dist/{RootBusinessDetailsPage-D1nyQdET.js → RootBusinessDetailsPage-BsAtLAyF.js} +4 -4
- package/dist/{RootBusinessLinesPage-DNXNQgRM.js → RootBusinessLinesPage-BRgtyHFs.js} +22 -22
- package/dist/{RootIndividualDetailsPage-ry80z-pK.js → RootIndividualDetailsPage-C3wTzTp1.js} +4 -4
- package/dist/{Select-SROdnYi2.js → Select-DeTBytOH.js} +3 -3
- package/dist/{SignPCIComponent-B4OXK4xP.js → SignPCIComponent-CCGyrXvI.js} +10 -10
- package/dist/{SingpassSelection-IIjUQ41x.js → SingpassSelection-BumqRwXI.js} +5 -5
- package/dist/{SoleProprietorshipPage-ClFH2EBV.js → SoleProprietorshipPage-zgU4q95D.js} +3 -3
- package/dist/{SourceOfFundsPage-mjYtq4eU.js → SourceOfFundsPage-DkjYls-E.js} +30 -30
- package/dist/{StepProgressIndicator-B8qcehGD.js → StepProgressIndicator-D8PfKJKf.js} +1 -1
- package/dist/{StoreProvider-pL-BkCK-.js → StoreProvider-CsZ-qrGt.js} +7 -7
- package/dist/{Summary-f-39M2QO.js → Summary-DPm9r7Az.js} +5 -5
- package/dist/{TaskVerificationStatus-dbOSdzvA.js → TaskVerificationStatus-DrOQToMh.js} +1 -1
- package/dist/{TaxInformationField-D-XvuOUS.js → TaxInformationField-NI7Hbgov.js} +20 -20
- package/dist/{TaxReportingDropin-BsH0kVTP.js → TaxReportingDropin-BBUAxx92.js} +15 -15
- package/dist/{TextArea-nHJNn1c6.js → TextArea-CCjCNpAP.js} +1 -1
- package/dist/{TileGroup-CxNF4bco.js → TileGroup-BhKhvfLz.js} +2 -2
- package/dist/{TrustDetailsPage-D1DwEhXk.js → TrustDetailsPage-yOmFcEyO.js} +33 -33
- package/dist/{TrustMemberCompanyPage-7lDkP6RS.js → TrustMemberCompanyPage-DfXulzKv.js} +4 -4
- package/dist/{TrustMemberIndividualPage-D7x6Ohbq.js → TrustMemberIndividualPage-B8tb56n2.js} +3 -3
- package/dist/{TrustMemberRoleAndTypePage-DedLQEbR.js → TrustMemberRoleAndTypePage-WHu1tc4O.js} +21 -21
- package/dist/{TrustMembersOverview-Biu1qx3Y.js → TrustMembersOverview-BWbGUK3k.js} +11 -11
- package/dist/{UnincorporatedPartnershipIndividualPage-BWpULV18.js → UnincorporatedPartnershipIndividualPage-DD2dn41k.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-B5OhlwZs.js → UnincorporatedPartnershipMemberCompanyPage-DsUSSYnI.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-Dtaas7EX.js → UnincorporatedPartnershipMemberRoleAndTypePage-Ctb0Lz_0.js} +10 -10
- package/dist/{UnincorporatedPartnershipMembersOverview-CGwyHjL5.js → UnincorporatedPartnershipMembersOverview-B_GJIeZC.js} +8 -8
- package/dist/{VerificationErrorAlert-Cj3Ov9Wd.js → VerificationErrorAlert-CCiMqGl8.js} +3 -3
- package/dist/{ViewVerificationStatusComponent-YZLiwfQ8.js → ViewVerificationStatusComponent-CICJ6cy4.js} +3 -3
- package/dist/adyen-business-financing.js +2 -2
- package/dist/adyen-individual-configuration.js +2 -2
- package/dist/adyen-individual-status.js +2 -2
- package/dist/adyen-kyc-components.js +19 -19
- 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-DWHHDetG.js → bafinUtils-Ch6rVpGi.js} +1 -1
- package/dist/{commonValidators-BiXk5bnP.js → commonValidators-B8wfpMjX.js} +1 -1
- package/dist/{dropinUtils-p0poGh9q.js → dropinUtils-B4Vv7_zJ.js} +3 -3
- package/dist/{fieldConfig-CIVK5vEg.js → fieldConfig-CMdKt41r.js} +5 -5
- package/dist/{formUtils-BMDzfKoI.js → formUtils-q44BTi2U.js} +2 -2
- package/dist/{getName-B-5z5pPo.js → getName-BxKx8lLd.js} +1 -1
- package/dist/{iframeWidget-DMwszdzn.js → iframeWidget-iDH8bVr4.js} +3 -3
- package/dist/{isEmpty-CEp5kEn8.js → isEmpty-BNacTlfR.js} +1 -1
- package/dist/{japanSupportUtils-CXvOWpfs.js → japanSupportUtils-C7aPdWXD.js} +1 -1
- package/dist/{localizeDateString-D1Rxv146.js → localizeDateString-DuTq6aHe.js} +1 -1
- package/dist/{mapExistingFile-DhXLjrL3.js → mapExistingFile-CGg2sd-T.js} +3 -3
- package/dist/{mapJpAddressSchemaToAddressLocalizations-Gtft-aMS.js → mapJpAddressSchemaToAddressLocalizations-BwHU4ZwL.js} +4 -4
- package/dist/{mapLegalEntityToIndividualSchema-C4em1xNr.js → mapLegalEntityToIndividualSchema-DzCEngXr.js} +3 -3
- package/dist/{mapTransferInstrumentToPayoutAccount-B93xxL8-.js → mapTransferInstrumentToPayoutAccount-DLHvwig1.js} +1 -1
- package/dist/{patternValidators-BZ5HZjL4.js → patternValidators-CZ5mQeGD.js} +1 -1
- package/dist/{process-field-configurations-DyGLcuVp.js → process-field-configurations-BQY03q4v.js} +2 -2
- package/dist/{resolveEnvironment-kTY1wF0t.js → resolveEnvironment-BEU3VKd8.js} +3 -3
- package/dist/{roleMetadata-CqOzDtbc.js → roleMetadata-BeJKyoeE.js} +1 -1
- package/dist/style.css +3 -0
- package/dist/styles-CLV89_hH.js +3 -0
- package/dist/types/stores/globalStore/taskStatus.d.ts +3 -3
- package/dist/{types-hKa8V4m6.js → types-BY62XJTq.js} +1 -1
- package/dist/{types-Cly9MlRV.js → types-BuMuCpsa.js} +1 -1
- package/dist/{types-D0oAURZj.js → types-pKG9olDB.js} +1 -1
- package/dist/{useAssociatedLegalEntity-BdcJAGui.js → useAssociatedLegalEntity-V0OP9ejx.js} +1 -1
- package/dist/{useBusinessDetailsData-BkPfxf01.js → useBusinessDetailsData-BsXXL7fg.js} +49 -49
- package/dist/{useCreateLegalEntity-BMxctrrP.js → useCreateLegalEntity-otpCRCfZ.js} +1 -1
- package/dist/{useDataset-BKPlak8s.js → useDataset-CvATx7EN.js} +1 -1
- package/dist/{useForm-DhtZQUrq.js → useForm-9nSw9LZY.js} +2 -2
- package/dist/{useFormContext-DWDQbfuT.js → useFormContext-BnlNKQZ7.js} +6 -6
- package/dist/{useGlobalData-DN7ETXLF.js → useGlobalData-Dy2O7YGk.js} +1 -1
- package/dist/{useMultiForm-BQe3juXK.js → useMultiForm-CBefohos.js} +3 -3
- package/dist/{useOnboardingStatus-FRsxI_Yy.js → useOnboardingStatus-CJrlnkvv.js} +1 -1
- package/dist/{useScenarios-B6bjpKeS.js → useScenarios-CkgrmOF-.js} +1 -1
- package/dist/{useTermsOfServiceStatus-Bf59UHb2.js → useTermsOfServiceStatus-DFLF3xas.js} +1 -1
- package/dist/{useToastContext-CoRh-Ds6.js → useToastContext-uSKjdph9.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-DI9dqVl3.js → useUnincorporatedPartnershipMembers-BmLKVfkf.js} +3 -3
- package/dist/{useUpdateBusinessLines-CK3dNSC2.js → useUpdateBusinessLines-BBNXF45E.js} +3 -3
- package/dist/{useUpdateLegalEntity-Ci2JFHtw.js → useUpdateLegalEntity-DHxCVgNk.js} +2 -2
- package/dist/{utils-vxERe8Wa.js → utils-5yZQq_bx.js} +5 -5
- package/dist/{utils-OW2KMtsK.js → utils-CIHH_aYF.js} +1 -1
- package/dist/{utils-CsGVlrNp.js → utils-CIIs2bXi.js} +1 -1
- package/dist/{utils-pbBGc1Wn.js → utils-CLLUBF1a.js} +1 -1
- package/dist/{utils-CqmVP7f-.js → utils-ClKogQZa.js} +2 -2
- package/dist/{validate-7vn7mbf5.js → validate-BntX2W3B.js} +1 -1
- package/dist/{validate-DEZwHywd.js → validate-CLYo0JdH.js} +2 -2
- package/dist/{validationError-C4wv4P-j.js → validationError-DJ6zTIzv.js} +1 -1
- package/package.json +1 -1
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { F as Field } from "./Field-
|
|
12
|
-
import { K as KEYBOARD_KEYS } from "./Modal-
|
|
13
|
-
import { I as InputText } from "./InputText-
|
|
14
|
-
import { a5 as CountryCodes } from "./StoreProvider-
|
|
15
|
-
import { d as validateLegalCompanyName, a as validateNotEmptyOnBlur, e as validateLatinSpaceMarkPunctuationOnlyOnBlur } from "./patternValidators-
|
|
11
|
+
import { F as Field } from "./Field-Cp_UOAnA.js";
|
|
12
|
+
import { K as KEYBOARD_KEYS } from "./Modal-BKWXTEoU.js";
|
|
13
|
+
import { I as InputText } from "./InputText-CBhD5jca.js";
|
|
14
|
+
import { a5 as CountryCodes } from "./StoreProvider-CsZ-qrGt.js";
|
|
15
|
+
import { d as validateLegalCompanyName, a as validateNotEmptyOnBlur, e as validateLatinSpaceMarkPunctuationOnlyOnBlur } from "./patternValidators-CZ5mQeGD.js";
|
|
16
16
|
const LEGAL_COMPANY_NAME_FIELD = [
|
|
17
17
|
"legalCompanyName"
|
|
18
18
|
];
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { g as getDataByFields } from "./utils-
|
|
11
|
-
import { a7 as translateStringOrObject, ak as entriesOf } from "./StoreProvider-
|
|
10
|
+
import { g as getDataByFields } from "./utils-CLLUBF1a.js";
|
|
11
|
+
import { a7 as translateStringOrObject, ak as entriesOf } from "./StoreProvider-CsZ-qrGt.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 { t as LegalEntityTypes, a8 as getOwnEntityAssociations } from "./StoreProvider-
|
|
10
|
+
import { t as LegalEntityTypes, a8 as getOwnEntityAssociations } from "./StoreProvider-CsZ-qrGt.js";
|
|
11
11
|
const getIndividualLegalEntityName = (legalEntityResponse) => {
|
|
12
12
|
if (!legalEntityResponse || !legalEntityResponse?.individual) return "";
|
|
13
13
|
return `${legalEntityResponse.individual?.name?.firstName ?? ""} ${legalEntityResponse.individual?.name?.lastName ?? ""}`;
|
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { aj as cloneObject, o as createLogger, bf as isString, j as httpPost } from "./StoreProvider-
|
|
11
|
-
import { i as isValueObscured } from "./MaskedInput-
|
|
10
|
+
import { aj as cloneObject, o as createLogger, bf as isString, j as httpPost } from "./StoreProvider-CsZ-qrGt.js";
|
|
11
|
+
import { i as isValueObscured } from "./MaskedInput-BfI4FGAA.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-CGg2sd-T.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 { aI as keysOf } from "./StoreProvider-
|
|
10
|
+
import { aI as keysOf } from "./StoreProvider-CsZ-qrGt.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 { a5 as CountryCodes } from "./StoreProvider-
|
|
10
|
+
import { a5 as CountryCodes } from "./StoreProvider-CsZ-qrGt.js";
|
|
11
11
|
const MINIMUM_SUPPORTED_VERSION_FOR_JAPAN = 3;
|
|
12
12
|
const isCompatibleJapanVersion = (country, version) => {
|
|
13
13
|
return country === CountryCodes.Japan && typeof version === "number" && version >= MINIMUM_SUPPORTED_VERSION_FOR_JAPAN;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { o as createLogger } from "./StoreProvider-
|
|
10
|
+
import { o as createLogger } from "./StoreProvider-CsZ-qrGt.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 { a5 as CountryCodes, o as createLogger, u as useTranslation, G as Icon } from "./StoreProvider-
|
|
11
|
+
import { u as useScenarios } from "./useScenarios-CkgrmOF-.js";
|
|
12
|
+
import { a5 as CountryCodes, o as createLogger, u as useTranslation, G as Icon } from "./StoreProvider-CsZ-qrGt.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 "./Image-
|
|
17
|
+
import { I as Image } from "./Image-T-D-HDf5.js";
|
|
18
18
|
class AdyenKycSdkError extends Error {
|
|
19
19
|
sourceError;
|
|
20
20
|
constructor(message, sourceError) {
|
|
@@ -10,10 +10,10 @@
|
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { s as summaryItem } from "./summaryItem-CAQCQSkt.js";
|
|
12
12
|
import { useQuery } from "@tanstack/preact-query";
|
|
13
|
-
import { b as useApiContext, k as httpGet, a5 as CountryCodes } from "./StoreProvider-
|
|
14
|
-
import { u as useSetting } from "./bafinUtils-
|
|
15
|
-
import { u as useCapabilities } from "./TaxInformationField-
|
|
16
|
-
import { i as isEmpty } from "./isEmpty-
|
|
13
|
+
import { b as useApiContext, k as httpGet, a5 as CountryCodes } from "./StoreProvider-CsZ-qrGt.js";
|
|
14
|
+
import { u as useSetting } from "./bafinUtils-Ch6rVpGi.js";
|
|
15
|
+
import { u as useCapabilities } from "./TaxInformationField-NI7Hbgov.js";
|
|
16
|
+
import { i as isEmpty } from "./isEmpty-BNacTlfR.js";
|
|
17
17
|
import { m as mapSchemaFieldsToApiScriptLocalization } from "./mapAddressLocalizationToJpAddressSchema-vJWbpAyq.js";
|
|
18
18
|
const mapJpAddressSummary = (data, datasetUtils) => {
|
|
19
19
|
if (!data) return {};
|
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { signal } from "@preact/signals";
|
|
11
|
-
import { ai as useI18nContext, C as useAnalyticsContext, O as Typography, a0 as Button, a5 as CountryCodes, ar as reverseMapping, bb as getNomineeFromAssociation, bc as individualOnfidoBaseMapping, af as DecisionMakerTypes } from "./StoreProvider-
|
|
11
|
+
import { ai as useI18nContext, C as useAnalyticsContext, O as Typography, a0 as Button, a5 as CountryCodes, ar as reverseMapping, bb as getNomineeFromAssociation, bc as individualOnfidoBaseMapping, af as DecisionMakerTypes } from "./StoreProvider-CsZ-qrGt.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-Cp_UOAnA.js";
|
|
16
|
+
import { T as TileGroup } from "./TileGroup-BhKhvfLz.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, k as httpGet, bj as crossBorderMapping, bk as payoutComponentKeyMapping } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, k as httpGet, bj as crossBorderMapping, bk as payoutComponentKeyMapping } from "./StoreProvider-CsZ-qrGt.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 { aB as hasText, ap as isEmpty, at as matchesRegex, au as NO_ALPHABET_REGEX, av as EMOJI_REGEX, aw as hasRepeatedCharacters, b4 as isValidMinLength, ax as isInvalidName, bm as OTHER_ENTITIES_VALID_CHAR_REGEX, bn as LATIN_SPACE_MARK_PUNCTUATION_REGEX, aC as standardKatakanaValidator, aD as standardKanjiValidator } from "./StoreProvider-
|
|
10
|
+
import { aB as hasText, ap as isEmpty, at as matchesRegex, au as NO_ALPHABET_REGEX, av as EMOJI_REGEX, aw as hasRepeatedCharacters, b4 as isValidMinLength, ax as isInvalidName, bm as OTHER_ENTITIES_VALID_CHAR_REGEX, bn as LATIN_SPACE_MARK_PUNCTUATION_REGEX, aC as standardKatakanaValidator, aD as standardKanjiValidator } from "./StoreProvider-CsZ-qrGt.js";
|
|
11
11
|
const validateNotEmptyOnBlur = {
|
|
12
12
|
modes: ["blur"],
|
|
13
13
|
validate: (val) => !isEmpty(val),
|
package/dist/{process-field-configurations-DyGLcuVp.js → process-field-configurations-BQY03q4v.js}
RENAMED
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { T as TrustedFieldsProviders } from "./Image-
|
|
10
|
+
import { T as TrustedFieldsProviders } from "./Image-T-D-HDf5.js";
|
|
11
11
|
import { f as formDebugInfo } from "./debugStore-BvbyN1Oi.js";
|
|
12
|
-
import { o as createLogger, b8 as businessDetailsApiKeyMapping, aL as individualOnfidoApiKeyMapping, b9 as remediationHasFileUploadField, ba as dataMissingRemediationsToFieldsMap, aI as keysOf } from "./StoreProvider-
|
|
12
|
+
import { o as createLogger, b8 as businessDetailsApiKeyMapping, aL as individualOnfidoApiKeyMapping, b9 as remediationHasFileUploadField, ba as dataMissingRemediationsToFieldsMap, aI as keysOf } from "./StoreProvider-CsZ-qrGt.js";
|
|
13
13
|
const linkedFieldsMap = {
|
|
14
14
|
"additionalInformation.vatNumber": [
|
|
15
15
|
"additionalInformation.exemptedFromVat",
|
|
@@ -2,14 +2,14 @@
|
|
|
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] = "fb1e997c-cd6d-446f-9702-a260cb1475aa", e._sentryDebugIdIdentifier = "sentry-dbid-fb1e997c-cd6d-446f-9702-a260cb1475aa");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { h as h$1, hydrate, render, cloneElement, Fragment } from "preact";
|
|
11
11
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { an as refreshSession, a0 as Button, L as Loader, S as SettingsProvider, Q as QueryClientProvider, A as ApiProvider, E as ExperimentsContextProvider, d as StoreProvider, e as AnalyticsProvider, I as I18nProvider, D as DebugListener, T as ToastContextProvider, f as StateProvider, h as setSdkTokenHandler, n as normalizeEnvironment } from "./StoreProvider-
|
|
12
|
+
import { an as refreshSession, a0 as Button, L as Loader, S as SettingsProvider, Q as QueryClientProvider, A as ApiProvider, E as ExperimentsContextProvider, d as StoreProvider, e as AnalyticsProvider, I as I18nProvider, D as DebugListener, T as ToastContextProvider, f as StateProvider, h as setSdkTokenHandler, n as normalizeEnvironment } from "./StoreProvider-CsZ-qrGt.js";
|
|
13
13
|
import { useState, useEffect } from "preact/hooks";
|
|
14
14
|
function i() {
|
|
15
15
|
return i = Object.assign ? Object.assign.bind() : function(t) {
|
|
@@ -135,7 +135,7 @@ const EmbedShell = ({
|
|
|
135
135
|
experiments,
|
|
136
136
|
refreshExperiments,
|
|
137
137
|
children: /* @__PURE__ */ jsxs(StoreProvider, { children: [
|
|
138
|
-
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.94.0
|
|
138
|
+
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.94.0" }),
|
|
139
139
|
/* @__PURE__ */ jsx(
|
|
140
140
|
AnalyticsProvider,
|
|
141
141
|
{
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { bo as TrustMemberGuidanceLabels, a9 as TrustMemberTypes, af as DecisionMakerTypes } from "./StoreProvider-
|
|
10
|
+
import { bo as TrustMemberGuidanceLabels, a9 as TrustMemberTypes, af as DecisionMakerTypes } from "./StoreProvider-CsZ-qrGt.js";
|
|
11
11
|
import { U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-MeN1dp53.js";
|
|
12
12
|
const roleMetadata = {
|
|
13
13
|
[DecisionMakerTypes.CONTROLLING_PERSON]: {
|
package/dist/style.css
CHANGED
|
@@ -4738,6 +4738,9 @@ input.adyen-kyc-radio-group-card__radio--floating {
|
|
|
4738
4738
|
height: 32px;
|
|
4739
4739
|
padding: var(--adyen-internal-spacer-000, 0px) var(--adyen-internal-spacer-040, 8px);
|
|
4740
4740
|
}
|
|
4741
|
+
.adyen-task-item__warning-message {
|
|
4742
|
+
margin-top: var(--adyen-internal-spacer-050, 10px);
|
|
4743
|
+
}
|
|
4741
4744
|
|
|
4742
4745
|
.adyen-kyc-task-status-details-required,
|
|
4743
4746
|
.adyen-kyc-task-status-sign,
|
package/dist/styles-CLV89_hH.js
CHANGED
|
@@ -4747,6 +4747,9 @@ input.adyen-kyc-radio-group-card__radio--floating {
|
|
|
4747
4747
|
height: 32px;
|
|
4748
4748
|
padding: var(--adyen-internal-spacer-000, 0px) var(--adyen-internal-spacer-040, 8px);
|
|
4749
4749
|
}
|
|
4750
|
+
.adyen-task-item__warning-message {
|
|
4751
|
+
margin-top: var(--adyen-internal-spacer-050, 10px);
|
|
4752
|
+
}
|
|
4750
4753
|
|
|
4751
4754
|
.adyen-kyc-task-status-details-required,
|
|
4752
4755
|
.adyen-kyc-task-status-sign,
|
|
@@ -12,9 +12,9 @@ export declare const TaskStatuses: {
|
|
|
12
12
|
readonly DETAILS_REQUIRED: 3;
|
|
13
13
|
readonly SIGN: 4;
|
|
14
14
|
readonly DOWNLOAD: 5;
|
|
15
|
-
readonly
|
|
16
|
-
readonly
|
|
17
|
-
readonly
|
|
15
|
+
readonly SUBMIT: 6;
|
|
16
|
+
readonly ERROR: 7;
|
|
17
|
+
readonly SIGNED: 8;
|
|
18
18
|
readonly REMOVING: 9;
|
|
19
19
|
readonly UNKNOWN: 10;
|
|
20
20
|
};
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { a5 as CountryCodes } from "./StoreProvider-
|
|
10
|
+
import { a5 as CountryCodes } from "./StoreProvider-CsZ-qrGt.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 { t as LegalEntityTypes, a5 as CountryCodes } from "./StoreProvider-
|
|
10
|
+
import { t as LegalEntityTypes, a5 as CountryCodes } from "./StoreProvider-CsZ-qrGt.js";
|
|
11
11
|
const trustMemberLegalEntityTypes = [
|
|
12
12
|
LegalEntityTypes.INDIVIDUAL,
|
|
13
13
|
LegalEntityTypes.ORGANIZATION
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { skipToken } from "@tanstack/preact-query";
|
|
11
11
|
import { useMemo } from "preact/hooks";
|
|
12
|
-
import { o as createLogger, c as useLegalEntity } from "./StoreProvider-
|
|
12
|
+
import { o as createLogger, c as useLegalEntity } from "./StoreProvider-CsZ-qrGt.js";
|
|
13
13
|
const logger = createLogger();
|
|
14
14
|
function useAssociatedLegalEntity(parentLegalEntity, associationType) {
|
|
15
15
|
const matchingAssociation = useMemo(() => {
|
|
@@ -10,66 +10,66 @@
|
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useMutation, useQuery, skipToken, useQueryClient } from "@tanstack/preact-query";
|
|
12
12
|
import { useEffect, useCallback, useState, useMemo } 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 useTranslation, ai as useI18nContext, ap as isEmpty, i as isUndefinedOrNull, a5 as CountryCodes, bu as isISIN, a0 as Button, J as useExperimentsContext, c as useLegalEntity, R as ROOT_LE, aE as useVersionConfiguration, O as Typography, L as Loader, m as useSettingsContext, b as useApiContext, j as httpPost, ak as entriesOf, C as useAnalyticsContext, o as createLogger, x as useAccountHolder, B as TaskTypes, t as LegalEntityTypes, bv as businessDetailsComponentsKeyMapping, bw as solePropBusinessDetailsKeyMapping, ac as objectsDeepEqual, aI as keysOf, bx as solePropBusinessDetailsApiKeyMapping, b8 as businessDetailsApiKeyMapping, aO as filterOutUnwantedAssociationsIfRootLE, aM as drop, a8 as getOwnEntityAssociations, aT as doArraysMatch, by as solePropBusinessDetailsDocumentMapping, bz as businessDetailsDocumentMapping } from "./StoreProvider-
|
|
15
|
-
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-
|
|
16
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
17
|
-
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-
|
|
18
|
-
import { u as useToastContext } from "./useToastContext-
|
|
19
|
-
import { C as CompanyTypesValues } from "./bafinUtils-
|
|
20
|
-
import { c as composePerScenarioFormConfigurations, g as getPropsFromConfigurations } from "./process-field-configurations-
|
|
21
|
-
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
22
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
23
|
-
import { u as uppercase, m as mapExistingFile, g as getPageName, b as useScenarioConfiguration } from "./mapExistingFile-
|
|
24
|
-
import { C as Confirm } from "./Confirm-
|
|
25
|
-
import { a as getDocument, j as getDocuments, c as createDocumentRequest, k as mergeProofOfOwnershipAttachments, b as getFileExtention, d as documentApiUtils } from "./validate-
|
|
26
|
-
import { c as TAX_INFORMATION_FIELD, r as requestingBanking, d as requestingIssuing, t as taxInformationDefaultFieldMetadata, a as taxInformationDefaultFieldConfig, T as TaxInformationField, C as COUNTRY_OF_GOVERNING_LAW_POSSIBLE, S as StateCodesUS, e as isUsingCompanySearch, M as MemoizedDocumentUpload, f as isRegistrationNumberAbsentStateV4Scenario, h as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, j as getCompanyRegistrationNumberOptions, k as countryToTaxInfoTypeMap, l as rules, g as getFieldsWithExistingData } from "./TaxInformationField-
|
|
27
|
-
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$1, a as defaultFieldConfig$1, b as registrationNumberDefaultFieldMetadata, c as registrationNumberDefaultFieldConfig, e as doingBusinessAsFieldMetadata, f as doingBusinessAsAbsentFieldMetadata, g as DBANameField, h as BusinessRegistrationNumberField, i as VatNumberField, M as MemoizedConstitutionalDocument, j as getDefaultRegistrationNumberType, k as getDefaultVatNumberType, l as inferCompanyRegistrationNumberType, m as exemptFromRegistrationNumberDefaultFieldMetadata } from "./ConstitutionalDocument-
|
|
28
|
-
import { K as KEYBOARD_KEYS, M as Modal, a as ModalContent } from "./Modal-
|
|
29
|
-
import { S as SettingNames } from "./TaskVerificationStatus-
|
|
30
|
-
import { t as toFullWidth, u as useAllowedCountries, m as mapJpAddressSchemaToAddressLocalizations, a as mapJpAddressSummary } from "./mapJpAddressSchemaToAddressLocalizations-
|
|
31
|
-
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, a as getAddressSchemaLabelsByCountry, m as mapAddressLabels, c as getKeyForField } from "./utils-
|
|
32
|
-
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-
|
|
33
|
-
import { f as formatCurrency, A as ALLOWED_SOF_SERVICES } from "./utils-
|
|
34
|
-
import { b as useAddressCleanse, f as formatAddressForCleanse, m as mapAddressData, A as Address, g as getNestedTrustedFields, S as STATE_FIELD, c as StateField, i as isDateOlderThanAYear } from "./Address-
|
|
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-BBNXF45E.js";
|
|
14
|
+
import { u as useTranslation, ai as useI18nContext, ap as isEmpty, i as isUndefinedOrNull, a5 as CountryCodes, bu as isISIN, a0 as Button, J as useExperimentsContext, c as useLegalEntity, R as ROOT_LE, aE as useVersionConfiguration, O as Typography, L as Loader, m as useSettingsContext, b as useApiContext, j as httpPost, ak as entriesOf, C as useAnalyticsContext, o as createLogger, x as useAccountHolder, B as TaskTypes, t as LegalEntityTypes, bv as businessDetailsComponentsKeyMapping, bw as solePropBusinessDetailsKeyMapping, ac as objectsDeepEqual, aI as keysOf, bx as solePropBusinessDetailsApiKeyMapping, b8 as businessDetailsApiKeyMapping, aO as filterOutUnwantedAssociationsIfRootLE, aM as drop, a8 as getOwnEntityAssociations, aT as doArraysMatch, by as solePropBusinessDetailsDocumentMapping, bz as businessDetailsDocumentMapping } from "./StoreProvider-CsZ-qrGt.js";
|
|
15
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-otpCRCfZ.js";
|
|
16
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-DHxCVgNk.js";
|
|
17
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-BnlNKQZ7.js";
|
|
18
|
+
import { u as useToastContext } from "./useToastContext-uSKjdph9.js";
|
|
19
|
+
import { C as CompanyTypesValues } from "./bafinUtils-Ch6rVpGi.js";
|
|
20
|
+
import { c as composePerScenarioFormConfigurations, g as getPropsFromConfigurations } from "./process-field-configurations-BQY03q4v.js";
|
|
21
|
+
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-B4Vv7_zJ.js";
|
|
22
|
+
import { u as useMultiForm } from "./useMultiForm-CBefohos.js";
|
|
23
|
+
import { u as uppercase, m as mapExistingFile, g as getPageName, b as useScenarioConfiguration } from "./mapExistingFile-CGg2sd-T.js";
|
|
24
|
+
import { C as Confirm } from "./Confirm-BM1PTsnm.js";
|
|
25
|
+
import { a as getDocument, j as getDocuments, c as createDocumentRequest, k as mergeProofOfOwnershipAttachments, b as getFileExtention, d as documentApiUtils } from "./validate-CLYo0JdH.js";
|
|
26
|
+
import { c as TAX_INFORMATION_FIELD, r as requestingBanking, d as requestingIssuing, t as taxInformationDefaultFieldMetadata, a as taxInformationDefaultFieldConfig, T as TaxInformationField, C as COUNTRY_OF_GOVERNING_LAW_POSSIBLE, S as StateCodesUS, e as isUsingCompanySearch, M as MemoizedDocumentUpload, f as isRegistrationNumberAbsentStateV4Scenario, h as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, j as getCompanyRegistrationNumberOptions, k as countryToTaxInfoTypeMap, l as rules, g as getFieldsWithExistingData } from "./TaxInformationField-NI7Hbgov.js";
|
|
27
|
+
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$1, a as defaultFieldConfig$1, b as registrationNumberDefaultFieldMetadata, c as registrationNumberDefaultFieldConfig, e as doingBusinessAsFieldMetadata, f as doingBusinessAsAbsentFieldMetadata, g as DBANameField, h as BusinessRegistrationNumberField, i as VatNumberField, M as MemoizedConstitutionalDocument, j as getDefaultRegistrationNumberType, k as getDefaultVatNumberType, l as inferCompanyRegistrationNumberType, m as exemptFromRegistrationNumberDefaultFieldMetadata } from "./ConstitutionalDocument-D9sPfw_B.js";
|
|
28
|
+
import { K as KEYBOARD_KEYS, M as Modal, a as ModalContent } from "./Modal-BKWXTEoU.js";
|
|
29
|
+
import { S as SettingNames } from "./TaskVerificationStatus-DrOQToMh.js";
|
|
30
|
+
import { t as toFullWidth, u as useAllowedCountries, m as mapJpAddressSchemaToAddressLocalizations, a as mapJpAddressSummary } from "./mapJpAddressSchemaToAddressLocalizations-BwHU4ZwL.js";
|
|
31
|
+
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, a as getAddressSchemaLabelsByCountry, m as mapAddressLabels, c as getKeyForField } from "./utils-CIIs2bXi.js";
|
|
32
|
+
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-5yZQq_bx.js";
|
|
33
|
+
import { f as formatCurrency, A as ALLOWED_SOF_SERVICES } from "./utils-ClKogQZa.js";
|
|
34
|
+
import { b as useAddressCleanse, f as formatAddressForCleanse, m as mapAddressData, A as Address, g as getNestedTrustedFields, S as STATE_FIELD, c as StateField, i as isDateOlderThanAYear } from "./Address-BEUcWe_H.js";
|
|
35
35
|
import { s as summaryItem } from "./summaryItem-CAQCQSkt.js";
|
|
36
|
-
import { s as summaryStep } from "./Summary-
|
|
37
|
-
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-
|
|
36
|
+
import { s as summaryStep } from "./Summary-DPm9r7Az.js";
|
|
37
|
+
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-DJ6zTIzv.js";
|
|
38
38
|
import { a as datasetUtilities } from "./datasetUtil-BHQp0-xL.js";
|
|
39
39
|
import { r as resolveFieldMetadata } from "./fieldConfigurations-BUT9DTUH.js";
|
|
40
|
-
import { I as InputNumber, c as InputCurrency, b as CURRENCY_FIELD, C as Currency, L as LegalFormField, m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./Currency-
|
|
41
|
-
import { i as isEmpty$1 } from "./isEmpty-
|
|
40
|
+
import { I as InputNumber, c as InputCurrency, b as CURRENCY_FIELD, C as Currency, L as LegalFormField, m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./Currency-CEtDxV-F.js";
|
|
41
|
+
import { i as isEmpty$1 } from "./isEmpty-BNacTlfR.js";
|
|
42
42
|
import { f as formatObject } from "./utils-DNSfZiio.js";
|
|
43
43
|
import { b as mapAddressLocalizationToJpAddressSchema, a as mapApiScriptLocalizationToSchemaFields, m as mapSchemaFieldsToApiScriptLocalization } from "./mapAddressLocalizationToJpAddressSchema-vJWbpAyq.js";
|
|
44
|
-
import { L as LEGAL_COMPANY_NAME_FIELD, d as defaultFieldMetadataV4, a as defaultFieldMetadata$2, b as defaultFieldConfigV4, c as defaultFieldConfig$2 } from "./fieldConfig-
|
|
45
|
-
import { i as useBusinessLines } from "./OnboardingDropinComponent-
|
|
46
|
-
import { F as Field } from "./Field-
|
|
47
|
-
import { H as Header } from "./Header-
|
|
48
|
-
import { R as RadioGroup } from "./RadioGroup-
|
|
49
|
-
import { u as useGlobalDataSlice } from "./useGlobalData-
|
|
50
|
-
import { u as useForm } from "./useForm-
|
|
51
|
-
import { c as createFormUtils, m as mergeFieldMetadataIntoProps } from "./formUtils-
|
|
52
|
-
import { c as currencyByCountry } from "./types-
|
|
53
|
-
import { I as InputDate, f as formatDateObj } from "./InputDate-
|
|
44
|
+
import { L as LEGAL_COMPANY_NAME_FIELD, d as defaultFieldMetadataV4, a as defaultFieldMetadata$2, b as defaultFieldConfigV4, c as defaultFieldConfig$2 } from "./fieldConfig-CMdKt41r.js";
|
|
45
|
+
import { i as useBusinessLines } from "./OnboardingDropinComponent-DstStqYS.js";
|
|
46
|
+
import { F as Field } from "./Field-Cp_UOAnA.js";
|
|
47
|
+
import { H as Header } from "./Header-CIxJSQWR.js";
|
|
48
|
+
import { R as RadioGroup } from "./RadioGroup-COsozc9g.js";
|
|
49
|
+
import { u as useGlobalDataSlice } from "./useGlobalData-Dy2O7YGk.js";
|
|
50
|
+
import { u as useForm } from "./useForm-9nSw9LZY.js";
|
|
51
|
+
import { c as createFormUtils, m as mergeFieldMetadataIntoProps } from "./formUtils-q44BTi2U.js";
|
|
52
|
+
import { c as currencyByCountry } from "./types-BY62XJTq.js";
|
|
53
|
+
import { I as InputDate, f as formatDateObj } from "./InputDate-z9OpUslu.js";
|
|
54
54
|
import { Suspense, lazy } from "preact/compat";
|
|
55
|
-
import { C as Checkbox } from "./Checkbox-
|
|
56
|
-
import { E as ErrorPanel } from "./ErrorPanel-
|
|
57
|
-
import { a as validateNotEmptyOnBlur, v as validatePatternOnBlur, b as validateJaKanaLegalCompanyName, c as validateJaHaniLegalCompanyName } from "./patternValidators-
|
|
58
|
-
import { M as MaskedInput, m as makeMask, d as alphanumericInputs, b as alphaInputs, n as numericInputs } from "./MaskedInput-
|
|
59
|
-
import { i as isCompatibleJapanVersion } from "./japanSupportUtils-
|
|
55
|
+
import { C as Checkbox } from "./Checkbox-BU4IYlt6.js";
|
|
56
|
+
import { E as ErrorPanel } from "./ErrorPanel-ByEaxCQu.js";
|
|
57
|
+
import { a as validateNotEmptyOnBlur, v as validatePatternOnBlur, b as validateJaKanaLegalCompanyName, c as validateJaHaniLegalCompanyName } from "./patternValidators-CZ5mQeGD.js";
|
|
58
|
+
import { M as MaskedInput, m as makeMask, d as alphanumericInputs, b as alphaInputs, n as numericInputs } from "./MaskedInput-BfI4FGAA.js";
|
|
59
|
+
import { i as isCompatibleJapanVersion } from "./japanSupportUtils-C7aPdWXD.js";
|
|
60
60
|
import { u as useDebouncedCallback } from "./debouncedInputEvent-Cv2S512Y.js";
|
|
61
61
|
import { signal } from "@preact/signals";
|
|
62
62
|
import cx from "classnames";
|
|
63
|
-
import { L as Link } from "./Link-
|
|
63
|
+
import { L as Link } from "./Link-CIBefZJS.js";
|
|
64
64
|
import { S as StructuredList } from "./StructuredList-9dnJRdx_.js";
|
|
65
|
-
import { I as InputText } from "./InputText-
|
|
66
|
-
import { C as CountryField, a as COUNTRY_FIELD } from "./CountryField-
|
|
67
|
-
import { L as LoaderWrapper } from "./LoaderWrapper-
|
|
65
|
+
import { I as InputText } from "./InputText-CBhD5jca.js";
|
|
66
|
+
import { C as CountryField, a as COUNTRY_FIELD } from "./CountryField-DShqP-Yi.js";
|
|
67
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-CwhIpGKR.js";
|
|
68
68
|
import { S as StackLayout } from "./unincorporated-partnership-MeN1dp53.js";
|
|
69
69
|
import { C as Card } from "./Card-OQuFzmxm.js";
|
|
70
|
-
import { L as ListItem } from "./ListItem-
|
|
71
|
-
import { a as Alert } from "./Alert-
|
|
72
|
-
import { T as TileGroup } from "./TileGroup-
|
|
70
|
+
import { L as ListItem } from "./ListItem-CnzgA-sH.js";
|
|
71
|
+
import { a as Alert } from "./Alert-D9HbhU88.js";
|
|
72
|
+
import { T as TileGroup } from "./TileGroup-BhKhvfLz.js";
|
|
73
73
|
const FINANCIAL_REPORTING_DATE_FIELD = [
|
|
74
74
|
"financialReportingDate"
|
|
75
75
|
];
|
|
@@ -781,7 +781,7 @@ function VerifiedBusinessCard({
|
|
|
781
781
|
] });
|
|
782
782
|
}
|
|
783
783
|
const LazyJpAddress = lazy(
|
|
784
|
-
async () => (await import("./JpAddress-
|
|
784
|
+
async () => (await import("./JpAddress-owiNWOqn.js")).JpAddress
|
|
785
785
|
);
|
|
786
786
|
const ADDITIONAL_INFORMATION_FORM_ID = "additionalInformation";
|
|
787
787
|
const ADDITIONAL_INFORMATION_FIELDS = [
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useMutation } from "@tanstack/preact-query";
|
|
11
|
-
import { b as useApiContext, j as httpPost } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, j as httpPost } from "./StoreProvider-CsZ-qrGt.js";
|
|
12
12
|
const createLegalEntity = async (legalEntityId, baseUrl, data) => {
|
|
13
13
|
return httpPost(
|
|
14
14
|
{
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useState, useEffect } from "preact/hooks";
|
|
11
|
-
import { o as createLogger, ai as useI18nContext } from "./StoreProvider-
|
|
11
|
+
import { o as createLogger, ai as useI18nContext } from "./StoreProvider-CsZ-qrGt.js";
|
|
12
12
|
import { a as datasetUtilities, d as datasetIdentifier } from "./datasetUtil-BHQp0-xL.js";
|
|
13
13
|
const logger$1 = createLogger();
|
|
14
14
|
const countriesImports = /* @__PURE__ */ Object.assign({ "../countries/de-DE.json": () => import("./de-DE-B3nctkG8.js"), "../countries/el-GR.json": () => import("./el-GR-CdgLZhuO.js"), "../countries/en-US.json": () => import("./en-US-DSoLr6rp.js"), "../countries/es-ES.json": () => import("./es-ES-BRfK6tX7.js"), "../countries/fr-FR.json": () => import("./fr-FR-Dk6Lw2On.js"), "../countries/it-IT.json": () => import("./it-IT-D7G4BaP7.js"), "../countries/ja-JP.json": () => import("./ja-JP-DTW_hY1L.js"), "../countries/nl-NL.json": () => import("./nl-NL-CFzm75Jw.js"), "../countries/pt-PT.json": () => import("./pt-PT-DpDxAynk.js"), "../countries/sv-SE.json": () => import("./sv-SE-rckxD-43.js") });
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useState, useCallback, useMemo, useReducer, useEffect } from "preact/hooks";
|
|
11
|
-
import { o as createLogger, ap as isEmpty, aT as doArraysMatch } from "./StoreProvider-
|
|
12
|
-
import { V as ValidationResult, o as omitKeys, a as addKeys } from "./utils-
|
|
11
|
+
import { o as createLogger, ap as isEmpty, aT as doArraysMatch } from "./StoreProvider-CsZ-qrGt.js";
|
|
12
|
+
import { V as ValidationResult, o as omitKeys, a as addKeys } from "./utils-CLLUBF1a.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 { C as useAnalyticsContext, u as useTranslation, a0 as Button } from "./StoreProvider-
|
|
14
|
-
import { L as LoaderWrapper } from "./LoaderWrapper-
|
|
15
|
-
import { M as MaybeModal } from "./MaybeModal-
|
|
13
|
+
import { C as useAnalyticsContext, u as useTranslation, a0 as Button } from "./StoreProvider-CsZ-qrGt.js";
|
|
14
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-CwhIpGKR.js";
|
|
15
|
+
import { M as MaybeModal } from "./MaybeModal-DHcu32Dh.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-B4Vv7_zJ.js";
|
|
18
|
+
import { C as Confirm } from "./Confirm-BM1PTsnm.js";
|
|
19
|
+
import { S as Summary } from "./Summary-DPm9r7Az.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 { bd as StateContext } from "./StoreProvider-
|
|
12
|
+
import { bd as StateContext } from "./StoreProvider-CsZ-qrGt.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 { ac as objectsDeepEqual, o as createLogger, ap as isEmpty } from "./StoreProvider-
|
|
12
|
-
import { V as ValidationResult } from "./utils-
|
|
13
|
-
import { a as isNotEmptyValidator } from "./commonValidators-
|
|
11
|
+
import { ac as objectsDeepEqual, o as createLogger, ap as isEmpty } from "./StoreProvider-CsZ-qrGt.js";
|
|
12
|
+
import { V as ValidationResult } from "./utils-CLLUBF1a.js";
|
|
13
|
+
import { a as isNotEmptyValidator } from "./commonValidators-B8wfpMjX.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, k as httpGet } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, k as httpGet } from "./StoreProvider-CsZ-qrGt.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, ak as entriesOf, ag as Scenarios, k as httpGet } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, ak as entriesOf, ag as Scenarios, k as httpGet } from "./StoreProvider-CsZ-qrGt.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, k as httpGet } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, k as httpGet } from "./StoreProvider-CsZ-qrGt.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 { o as createLogger, b as useApiContext, am as ToastContext } from "./StoreProvider-
|
|
12
|
+
import { o as createLogger, b as useApiContext, am as ToastContext } from "./StoreProvider-CsZ-qrGt.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 { t as LegalEntityTypes, a8 as getOwnEntityAssociations, c as useLegalEntity, R as ROOT_LE } from "./StoreProvider-
|
|
12
|
-
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-
|
|
11
|
+
import { t as LegalEntityTypes, a8 as getOwnEntityAssociations, c as useLegalEntity, R as ROOT_LE } from "./StoreProvider-CsZ-qrGt.js";
|
|
12
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-V0OP9ejx.js";
|
|
13
13
|
import { U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-MeN1dp53.js";
|
|
14
|
-
import { g as getLegalEntityNameBasedOnType } from "./getName-
|
|
14
|
+
import { g as getLegalEntityNameBasedOnType } from "./getName-BxKx8lLd.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, k as httpGet, ap as isEmpty, u as useTranslation, J as useExperimentsContext, H as IconButton, j as httpPost } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, k as httpGet, ap as isEmpty, u as useTranslation, J as useExperimentsContext, H as IconButton, j as httpPost } from "./StoreProvider-CsZ-qrGt.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-Cp_UOAnA.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-DeTBytOH.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, j as httpPost } from "./StoreProvider-
|
|
11
|
+
import { a as useInvalidateRootLegalEntity } from "./useToastContext-uSKjdph9.js";
|
|
12
|
+
import { b as useApiContext, j as httpPost } from "./StoreProvider-CsZ-qrGt.js";
|
|
13
13
|
const updateLegalEntity = async (rootLegalEntityId, baseUrl, data) => {
|
|
14
14
|
return httpPost(
|
|
15
15
|
{
|