@adyen/kyc-components 4.6.0-beta.3 → 4.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AcceptTermsOfServiceComponent-DMmAfAUS.js → AcceptTermsOfServiceComponent-B3l9btP-.js} +14 -14
- package/dist/{AccountSetupRejected-JJOnt7FF.js → AccountSetupRejected-DbdJB-OJ.js} +1 -1
- package/dist/{ActionBar-CtGPR--b.js → ActionBar-BUo_zptQ.js} +1 -1
- package/dist/{Address-DNL2tiBR.js → Address-B1q0i8VT.js} +9 -9
- package/dist/{Avatar--xsB_6Z2.js → Avatar-V--81dug.js} +1 -1
- package/dist/{BusinessFinancingComponent-B_vTZnhk.js → BusinessFinancingComponent-yACwTlmi.js} +4 -4
- package/dist/{BusinessFinancingDropin-C9VaUN5P.js → BusinessFinancingDropin-DwMpqWbh.js} +27 -27
- package/dist/{BusinessFinancingPage-DPgfid6x.js → BusinessFinancingPage-Bgh0dGq3.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-Dndm97LQ.js → BusinessTypeSelectionPage-RRp8YkIk.js} +8 -8
- package/dist/{Checkbox-Zsp5mpd1.js → Checkbox-CBsyuXip.js} +1 -1
- package/dist/{Confirm-BzXzQhO2.js → Confirm-BLjnKmbU.js} +2 -2
- package/dist/{ConstitutionalDocument-DOA2PBeK.js → ConstitutionalDocument-aYMC7Qld.js} +17 -17
- package/dist/{ContactDetails-Q-bKwhea.js → ContactDetails-BBTAGuyq.js} +5 -5
- package/dist/{ContextGuidance-DvNFwtQm.js → ContextGuidance-BJIBM5W-.js} +1 -1
- package/dist/{CountryField-Cvtj6RC8.js → CountryField-o99j4P7E.js} +3 -3
- package/dist/{CreateIndividualComponent-flfjUs1m.js → CreateIndividualComponent-CmhrM9Gy.js} +4 -4
- package/dist/{CreateTransferInstrumentComponent-C_-6XnBy.js → CreateTransferInstrumentComponent-CHaq9Cug.js} +3 -3
- package/dist/{Currency-CwxrSW7P.js → Currency-hrruvtK7.js} +6 -6
- package/dist/{CustomerSupport-caqC8DDe.js → CustomerSupport-D9V9znlz.js} +9 -9
- package/dist/{DebugModal-bNvYqaNk.js → DebugModal-C3ODQ7HG.js} +6 -6
- package/dist/{DecisionMakerDetails-qYoDcOok.js → DecisionMakerDetails-BUm0ukYp.js} +8 -8
- package/dist/{DecisionMakerDetailsPage-euIc5vIq.js → DecisionMakerDetailsPage-DiYr15fi.js} +6 -6
- package/dist/{DecisionMakers-BJJQ8Uqh.js → DecisionMakers-BCk4n5BI.js} +17 -17
- package/dist/{Dropzone-YW-zkKxh.js → Dropzone-Dled5Xv_.js} +3 -3
- package/dist/{EmbeddedStatus-CHZHZH5K.js → EmbeddedStatus-a9eBGaNp.js} +2 -2
- package/dist/{EndStateLayout-C_8qht0P.js → EndStateLayout-Doxwm8Bv.js} +1 -1
- package/dist/{EntityAssociation-CvbQ1Lwa.js → EntityAssociation-BdpQ9IKO.js} +4 -4
- package/dist/{EntityGuidanceStatus-CJjIEIO4.js → EntityGuidanceStatus-CqfeJN28.js} +3 -3
- package/dist/{ErrorPanel-Ogp9RiKT.js → ErrorPanel-B_t2Mr0a.js} +1 -1
- package/dist/{Field-CAHkeG-9.js → Field-DhGlekN4.js} +1 -1
- package/dist/{FormNavigation-q8OJBOys.js → FormNavigation-zwvQFKf1.js} +2 -2
- package/dist/{Individual.rules-DVzICDhM.js → Individual.rules-DnqpK01d.js} +5 -5
- package/dist/{IndividualDropin-DFNPUrxR.js → IndividualDropin-CaQg4nGw.js} +49 -49
- package/dist/{InputDate-DPsk8Msa.js → InputDate-MfbWpC8K.js} +1 -1
- package/dist/{InputText-Dd2Zt3Uf.js → InputText-BsC-S1uD.js} +1 -1
- package/dist/{Introduction-DvgrKGA9.js → Introduction-XVVXz1r8.js} +3 -3
- package/dist/{InvitedDecisionMakerComponent-vnx03_j4.js → InvitedDecisionMakerComponent-CHrA8mQR.js} +9 -9
- package/dist/{JpAddress-WQespJeR.js → JpAddress-BDGwDEOX.js} +8 -8
- package/dist/{LandingLayout-IzYxPD3r.js → LandingLayout-DJR_oP_0.js} +1 -1
- package/dist/{LegalCompanyNameField--T5DYvSX.js → LegalCompanyNameField-CzsW7440.js} +5 -5
- package/dist/{LegalRepresentativeDetailsPage-DhZYnxDG.js → LegalRepresentativeDetailsPage-umA-1VaQ.js} +3 -3
- package/dist/{Link-BmQg3bH7.js → Link-CuEU7lsc.js} +1 -1
- package/dist/{ListItem-eSgEdDJ_.js → ListItem-De_7UUwH.js} +2 -2
- package/dist/{LoaderWrapper-2rAn7vfp.js → LoaderWrapper-BUn-b8AB.js} +1 -1
- package/dist/{ManageIndividualComponent-CuxXcNON.js → ManageIndividualComponent-BK6fjFPh.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-B8XrnQ8i.js → ManageTermsOfServiceComponent-ChalvP2J.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-6bv-Pf_B.js → ManageTransferInstrumentComponent-C4oiwftt.js} +9 -9
- package/dist/{MaskedInput-DHP3xJ7Q.js → MaskedInput-BWp2Akul.js} +4 -4
- package/dist/{MaybeModal-CKEPBj6Y.js → MaybeModal-C7EW70Xg.js} +2 -2
- package/dist/{Modal-BSNSyg2O.js → Modal-D_LDmrcf.js} +1 -1
- package/dist/{Name-ijgSqpiq.js → Name-D8B6J9x4.js} +4 -4
- package/dist/{NewSummary-CT_-5XNs.js → NewSummary-BjYCAFDe.js} +1 -1
- package/dist/{OnboardingDropinComponent-CIu0ZQxF.js → OnboardingDropinComponent-CFcJQhCb.js} +72 -72
- package/dist/{PayoutDetailsDropin-CKnaw-pV.js → PayoutDetailsDropin-Beeag1MS.js} +32 -32
- package/dist/{PayoutDetailsPage-COH9jBrt.js → PayoutDetailsPage-Q6XPaC0y.js} +4 -4
- package/dist/{RadioGroup-DjP9-PJx.js → RadioGroup-DvrpVP2i.js} +1 -1
- package/dist/{Review-5PPypYAk.js → Review-D8hiQo3n.js} +5 -5
- package/dist/{RootBusinessDetailsPage-D7_nJZXo.js → RootBusinessDetailsPage-OjbFMdJ2.js} +4 -4
- package/dist/{RootBusinessLinesPage-BQe-iw1C.js → RootBusinessLinesPage-CIECoCW3.js} +24 -24
- package/dist/{RootIndividualDetailsPage-BmVe4FKX.js → RootIndividualDetailsPage-kvCZ8gLE.js} +5 -5
- package/dist/{Select-Cdl9XXxR.js → Select-t-h8dau1.js} +3 -3
- package/dist/{SignPCIComponent-BdX2lQiO.js → SignPCIComponent-BTd1hGFj.js} +10 -10
- package/dist/{SingpassSelection-DyOQVEom.js → SingpassSelection-BUVrRdZ4.js} +4 -4
- package/dist/{SoleProprietorshipPage-DStAoO_V.js → SoleProprietorshipPage-BoUgRvvr.js} +3 -3
- package/dist/{SourceOfFundsPage-CLeC1Wx4.js → SourceOfFundsPage-DNth1tGN.js} +31 -31
- package/dist/{StepProgressIndicator-CsrUaXPL.js → StepProgressIndicator-CHQ02q0R.js} +1 -1
- package/dist/{StoreProvider-tu5zP5Mr.js → StoreProvider-Do1odp3Z.js} +4 -4
- package/dist/{Summary-BpLChJys.js → Summary-s4DquGfj.js} +5 -5
- package/dist/{TaxInformationField-L8T8CiGM.js → TaxInformationField-DS9fsrYp.js} +19 -19
- package/dist/{TaxReportingDropin-D6hbjVVK.js → TaxReportingDropin-CsCwca9A.js} +13 -13
- package/dist/{TextArea-o_fInXo1.js → TextArea-DI9q4r1R.js} +1 -1
- package/dist/{TileGroup-BoA59KpA.js → TileGroup-CAyozQI4.js} +2 -2
- package/dist/{TrustDetailsPage-Dk6JICLn.js → TrustDetailsPage-Dp7MPmlU.js} +30 -30
- package/dist/{TrustMemberCompanyPage-Dvhbrag2.js → TrustMemberCompanyPage-D-6ls2Oq.js} +4 -4
- package/dist/{TrustMemberIndividualPage-sKAIzuZI.js → TrustMemberIndividualPage-MrBsjChK.js} +3 -3
- package/dist/{TrustMemberRoleAndTypePage-CAFFrNpH.js → TrustMemberRoleAndTypePage-D901ZC2E.js} +20 -20
- package/dist/{TrustMembersOverview-D-2lrVPC.js → TrustMembersOverview-D-39F-pm.js} +9 -9
- package/dist/{UnincorporatedPartnershipIndividualPage-CTNS2quy.js → UnincorporatedPartnershipIndividualPage-CYyfQrYN.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-fpInViTa.js → UnincorporatedPartnershipMemberCompanyPage-DO5iP4Dt.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-hdNstBFH.js → UnincorporatedPartnershipMemberRoleAndTypePage-CBQerXfu.js} +10 -10
- package/dist/{UnincorporatedPartnershipMembersOverview-rYI2qUh8.js → UnincorporatedPartnershipMembersOverview-e_5NAEac.js} +6 -6
- package/dist/{VerificationErrorAlert-Di3bEEiX.js → VerificationErrorAlert-Bnnuucqh.js} +2 -2
- package/dist/{ViewVerificationStatusComponent-BH6JSNFb.js → ViewVerificationStatusComponent-CVVTKfrQ.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 +2 -2
- 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-CVXxpL8U.js → bafinUtils-DNleI80l.js} +1 -1
- package/dist/{commonValidators-B1UeGPjR.js → commonValidators-B93jw3zT.js} +1 -1
- package/dist/{dropinUtils-BSxCDq6G.js → dropinUtils-iBTioaF7.js} +3 -3
- package/dist/{formUtils-zTMeoj2n.js → formUtils-lkF9e5IB.js} +2 -2
- package/dist/{getName-CDVYSCnR.js → getName-f5vInm5O.js} +1 -1
- package/dist/{getProblemsForEntity-D-YjPgmy.js → getProblemsForEntity-D8b_EJeC.js} +1 -1
- package/dist/{getTrustedFields-Bi9zRkay.js → getTrustedFields-D2WVcNYC.js} +1 -1
- package/dist/{isEmpty-B9euE0VX.js → isEmpty-u6uLWpz1.js} +1 -1
- package/dist/{japanSupportUtils-aHkWNYRa.js → japanSupportUtils-By6GI65W.js} +1 -1
- package/dist/{localizeDateString-Cnh8C13b.js → localizeDateString-CYVOqiuH.js} +1 -1
- package/dist/{mapExistingFile-sR8KMX31.js → mapExistingFile-9oZpCz9G.js} +2 -2
- package/dist/{mapJpAddressSchemaToAddressLocalizations-D_hWebX_.js → mapJpAddressSchemaToAddressLocalizations-DhgNqKwy.js} +1 -1
- package/dist/{mapLegalEntityToIndividualSchema-yzclNgBs.js → mapLegalEntityToIndividualSchema-BY73qAGj.js} +3 -3
- package/dist/{mapTransferInstrumentToPayoutAccount-Ci0SL4SX.js → mapTransferInstrumentToPayoutAccount-BYhssQ5b.js} +1 -1
- package/dist/{omitObscuredFieldsIfUnchanged-pB-wC9QM.js → omitObscuredFieldsIfUnchanged-BukQYYUl.js} +2 -2
- package/dist/{patternValidators-DYMusQGu.js → patternValidators-BAI5QGjT.js} +1 -1
- package/dist/{process-field-configurations-Bvg8JPNo.js → process-field-configurations-BsVn1sDe.js} +1 -1
- package/dist/{resolveEnvironment-C2wHfrej.js → resolveEnvironment-qgplleRV.js} +3 -3
- package/dist/{roleMetadata-0kwyQV6J.js → roleMetadata-BqDkoUz9.js} +2 -2
- package/dist/{types-BB0ebx3i.js → types-CfnPVq7b.js} +1 -1
- package/dist/{types-CJMfHoBs.js → types-DKR2ZuTD.js} +1 -1
- package/dist/{types-CvUr6D4Q.js → types-tdqAwKL7.js} +1 -1
- package/dist/{unincorporated-partnership-BPlWUABS.js → unincorporated-partnership-DiT1SZMx.js} +1 -1
- package/dist/{useAssociatedLegalEntity-DV_2dCW6.js → useAssociatedLegalEntity-Bwe18_3D.js} +1 -1
- package/dist/{useBusinessDetailsData-BfbltTqe.js → useBusinessDetailsData-S4H6u7aV.js} +47 -47
- package/dist/{useCreateLegalEntity-DVCN5A9B.js → useCreateLegalEntity-DugB4CeD.js} +1 -1
- package/dist/{useForm-B1ePDv8A.js → useForm-Chyn6I7t.js} +2 -2
- package/dist/{useFormContext-BUxYXXAF.js → useFormContext-D0VUus9N.js} +6 -6
- package/dist/{useGlobalData-DzQELcTB.js → useGlobalData-BOpkYARg.js} +8 -8
- package/dist/{useMultiForm-DMsRh7Yv.js → useMultiForm-AyBSOBoC.js} +3 -3
- package/dist/{useOnboardingStatus-D8eGPaH0.js → useOnboardingStatus-DHIZ68CF.js} +1 -1
- package/dist/{useScenarios-DEqWYKpO.js → useScenarios-C--d6gPw.js} +1 -1
- package/dist/{useTermsOfServiceStatus-Bo6_Hpg_.js → useTermsOfServiceStatus-OVxuF0N1.js} +1 -1
- package/dist/{useToastContext-D_Ve9qAS.js → useToastContext-DHFV4LJC.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-DFO7ss6G.js → useUnincorporatedPartnershipMembers-B9S2O4tQ.js} +4 -4
- package/dist/{useUpdateBusinessLines-DoMqUrgz.js → useUpdateBusinessLines-D-2SFDbh.js} +3 -3
- package/dist/{useUpdateLegalEntity-C2MuEoHd.js → useUpdateLegalEntity-CFRYUBdP.js} +2 -2
- package/dist/{utils-DX4Z0cra.js → utils-BlKniCje.js} +5 -5
- package/dist/{utils-dzl8UxSI.js → utils-CG9hxJ09.js} +2 -2
- package/dist/{utils-CKTB3hl_.js → utils-CmyEO2z6.js} +1 -1
- package/dist/{utils-CHgwZEHm.js → utils-DzZSy2n_.js} +1 -1
- package/dist/{utils-BL4_8KvK.js → utils-HEJUczlg.js} +1 -1
- package/dist/{validate-QVLpmAon.js → validate-DKsP8XGZ.js} +2 -2
- package/dist/{validate-NBq9tVBn.js → validate-DkaJWAVo.js} +1 -1
- package/dist/{validationError-pGzt-JuW.js → validationError-yKQW3P6f.js} +1 -1
- package/package.json +1 -1
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useRef } from "preact/hooks";
|
|
12
12
|
import register from "preact-custom-element";
|
|
13
|
-
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-
|
|
14
|
-
import { V as ViewVerificationStatusComponent } from "./ViewVerificationStatusComponent-
|
|
13
|
+
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-qgplleRV.js";
|
|
14
|
+
import { V as ViewVerificationStatusComponent } from "./ViewVerificationStatusComponent-CVVTKfrQ.js";
|
|
15
15
|
import { e as emitAdyenSdkEvent } from "./emitEvent-CzZf80Am.js";
|
|
16
16
|
const AdyenVerificationStatus = ({
|
|
17
17
|
rootlegalentityid,
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { as as DecisionMakerTypes, w as TaskTypes, at as Scenarios } from "./StoreProvider-
|
|
10
|
+
import { as as DecisionMakerTypes, w as TaskTypes, at as Scenarios } from "./StoreProvider-Do1odp3Z.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, useRef, useCallback, useMemo } from "preact/hooks";
|
|
11
|
-
import { ae as createLogger, x as useAnalyticsContext } from "./StoreProvider-
|
|
12
|
-
import { s as summaryStep } from "./Summary-
|
|
11
|
+
import { ae as createLogger, x as useAnalyticsContext } from "./StoreProvider-Do1odp3Z.js";
|
|
12
|
+
import { s as summaryStep } from "./Summary-s4DquGfj.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-B_t2Mr0a.js";
|
|
16
16
|
import { f as formDebugInfo } from "./debugStore-BvbyN1Oi.js";
|
|
17
17
|
const logger$1 = createLogger();
|
|
18
18
|
const getOpeningStep = (forms, remediationActions) => {
|
|
@@ -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-HEJUczlg.js";
|
|
11
|
+
import { ao as entriesOf } from "./StoreProvider-Do1odp3Z.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 { ac as getOwnEntityAssociations, L as LegalEntityTypes } from "./StoreProvider-
|
|
10
|
+
import { ac as getOwnEntityAssociations, L as LegalEntityTypes } from "./StoreProvider-Do1odp3Z.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 { P as useLegalEntity, R as ROOT_LE, ak as getCapabilityProblems, a8 as getLegalEntityCountry } from "./StoreProvider-
|
|
11
|
+
import { P as useLegalEntity, R as ROOT_LE, ak as getCapabilityProblems, a8 as getLegalEntityCountry } from "./StoreProvider-Do1odp3Z.js";
|
|
12
12
|
const useCapabilityProblems = () => {
|
|
13
13
|
const { data: rootLegalEntity } = useLegalEntity(ROOT_LE);
|
|
14
14
|
const problems = useMemo(
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useQuery } from "@tanstack/preact-query";
|
|
11
|
-
import { ae as createLogger, y as TaskStatuses, b as useApiContext, k as httpGet } from "./StoreProvider-
|
|
11
|
+
import { ae as createLogger, y as TaskStatuses, b as useApiContext, k as httpGet } from "./StoreProvider-Do1odp3Z.js";
|
|
12
12
|
const logger = createLogger();
|
|
13
13
|
const normalizeTaskStatuses = (taskStatuses) => {
|
|
14
14
|
return taskStatuses?.statuses?.reduce((acc, currentTask) => {
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { aS as keysOf } from "./StoreProvider-
|
|
10
|
+
import { aS as keysOf } from "./StoreProvider-Do1odp3Z.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 { a9 as CountryCodes } from "./StoreProvider-
|
|
10
|
+
import { a9 as CountryCodes } from "./StoreProvider-Do1odp3Z.js";
|
|
11
11
|
const isJapanLocalizationEnabled = (isFeatureEnabled = () => false, country) => {
|
|
12
12
|
return country === CountryCodes.Japan && isFeatureEnabled("EnableJapanLocalization");
|
|
13
13
|
};
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { ae as createLogger } from "./StoreProvider-
|
|
10
|
+
import { ae as createLogger } from "./StoreProvider-Do1odp3Z.js";
|
|
11
11
|
const localizeDateString = (dateString, locale, options) => {
|
|
12
12
|
const logger = createLogger();
|
|
13
13
|
const formatOptions = {
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useEffect, useState, useMemo } from "preact/hooks";
|
|
11
|
-
import { u as useScenarios } from "./useScenarios-
|
|
12
|
-
import { a9 as CountryCodes, ae as createLogger } from "./StoreProvider-
|
|
11
|
+
import { u as useScenarios } from "./useScenarios-C--d6gPw.js";
|
|
12
|
+
import { a9 as CountryCodes, ae as createLogger } from "./StoreProvider-Do1odp3Z.js";
|
|
13
13
|
import { signal } from "@preact/signals";
|
|
14
14
|
class AdyenKycSdkError extends Error {
|
|
15
15
|
sourceError;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { i as isEmpty } from "./isEmpty-
|
|
10
|
+
import { i as isEmpty } from "./isEmpty-u6uLWpz1.js";
|
|
11
11
|
import { m as mapSchemaFieldsToApiScriptLocalization } from "./mapAddressLocalizationToJpAddressSchema-vJWbpAyq.js";
|
|
12
12
|
const applyDelta = (delta) => (char) => String.fromCharCode(char.charCodeAt(0) + delta);
|
|
13
13
|
const standardNormalization = (input) => input.normalize("NFKC");
|
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { signal } from "@preact/signals";
|
|
11
|
-
import { u as useTranslation, x as useAnalyticsContext, N as Typography, V as Button, a9 as CountryCodes, az as reverseMapping, bm as getNomineeFromAssociation, bn as individualBaseMapping, as as DecisionMakerTypes } from "./StoreProvider-
|
|
11
|
+
import { u as useTranslation, x as useAnalyticsContext, N as Typography, V as Button, a9 as CountryCodes, az as reverseMapping, bm as getNomineeFromAssociation, bn as individualBaseMapping, as as DecisionMakerTypes } from "./StoreProvider-Do1odp3Z.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-DhGlekN4.js";
|
|
16
|
+
import { T as TileGroup } from "./TileGroup-CAyozQI4.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, bt as crossBorderMapping, bu as payoutComponentKeyMapping } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, k as httpGet, bt as crossBorderMapping, bu as payoutComponentKeyMapping } from "./StoreProvider-Do1odp3Z.js";
|
|
12
12
|
import { m as mapWith } from "./utils-DNSfZiio.js";
|
|
13
13
|
const getTransferInstrument = async (legalEntityId, baseUrl, transferInstrumentId) => {
|
|
14
14
|
return httpGet({
|
package/dist/{omitObscuredFieldsIfUnchanged-pB-wC9QM.js → omitObscuredFieldsIfUnchanged-BukQYYUl.js}
RENAMED
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { an as cloneObject } from "./StoreProvider-
|
|
11
|
-
import { i as isValueObscured } from "./MaskedInput-
|
|
10
|
+
import { an as cloneObject } from "./StoreProvider-Do1odp3Z.js";
|
|
11
|
+
import { i as isValueObscured } from "./MaskedInput-BWp2Akul.js";
|
|
12
12
|
import { g as getProp, d as deleteProp } from "./utils-DNSfZiio.js";
|
|
13
13
|
const omitObscuredFieldsIfUnchanged = (obscuredFields, dataSubmitted, savedData) => {
|
|
14
14
|
if (!dataSubmitted) {
|
|
@@ -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, bf as isValidMinLength, aG as isInvalidName, bv as OTHER_ENTITIES_VALID_CHAR_REGEX, bw 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, bf as isValidMinLength, aG as isInvalidName, bv as OTHER_ENTITIES_VALID_CHAR_REGEX, bw as LATIN_SPACE_MARK_PUNCTUATION_NUMBERS_REGEX, aL as standardKatakanaValidator, aM as standardKanjiValidator } from "./StoreProvider-Do1odp3Z.js";
|
|
11
11
|
const validateNotEmptyOnBlur = {
|
|
12
12
|
modes: ["blur"],
|
|
13
13
|
validate: (val) => !isEmpty(val),
|
package/dist/{process-field-configurations-Bvg8JPNo.js → process-field-configurations-BsVn1sDe.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 { ae as createLogger, bk as businessDetailsApiKeyMapping, aW as individualApiKeyMapping, b8 as remediationHasFileUploadField, bl as dataMissingRemediationsToFieldsMap, aS as keysOf } from "./StoreProvider-
|
|
12
|
+
import { ae as createLogger, bk as businessDetailsApiKeyMapping, aW as individualApiKeyMapping, b8 as remediationHasFileUploadField, bl as dataMissingRemediationsToFieldsMap, aS as keysOf } from "./StoreProvider-Do1odp3Z.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] = "41326d33-e299-4861-9679-6391bf3512cc", e._sentryDebugIdIdentifier = "sentry-dbid-41326d33-e299-4861-9679-6391bf3512cc");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { av as refreshSession, V as Button, U as Loader, S as SettingsProvider, Q as QueryClientProvider, A as ApiProvider, T as ToggleContextProvider, c as StoreProvider, d as AnalyticsProvider, I as I18nProvider, e as AllowedCountryGate, D as DebugListener, f as ToastContextProvider, g as StateProvider, h as setSdkTokenHandler, n as normalizeEnvironment } from "./StoreProvider-
|
|
11
|
+
import { av as refreshSession, V as Button, U as Loader, S as SettingsProvider, Q as QueryClientProvider, A as ApiProvider, T as ToggleContextProvider, c as StoreProvider, d as AnalyticsProvider, I as I18nProvider, e as AllowedCountryGate, D as DebugListener, f as ToastContextProvider, g as StateProvider, h as setSdkTokenHandler, n as normalizeEnvironment } from "./StoreProvider-Do1odp3Z.js";
|
|
12
12
|
import { useState, useEffect } from "preact/hooks";
|
|
13
13
|
const sheet = new CSSStyleSheet();
|
|
14
14
|
const stylesheets = [sheet];
|
|
@@ -51,7 +51,7 @@ const EmbedShell = ({
|
|
|
51
51
|
return /* @__PURE__ */ jsx(Loader, {});
|
|
52
52
|
}
|
|
53
53
|
return /* @__PURE__ */ jsx(SettingsProvider, { settings, children: /* @__PURE__ */ jsx(QueryClientProvider, { children: /* @__PURE__ */ jsx(ApiProvider, { rootLegalEntityId, baseUrl, children: /* @__PURE__ */ jsx(ToggleContextProvider, { features, refreshExperiments, children: /* @__PURE__ */ jsxs(StoreProvider, { children: [
|
|
54
|
-
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "4.6.
|
|
54
|
+
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "4.6.1" }),
|
|
55
55
|
/* @__PURE__ */ jsx(
|
|
56
56
|
AnalyticsProvider,
|
|
57
57
|
{
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { bx as TrustMemberGuidanceLabels, ad as TrustMemberTypes, as as DecisionMakerTypes } from "./StoreProvider-
|
|
11
|
-
import { U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-
|
|
10
|
+
import { bx as TrustMemberGuidanceLabels, ad as TrustMemberTypes, as as DecisionMakerTypes } from "./StoreProvider-Do1odp3Z.js";
|
|
11
|
+
import { U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-DiT1SZMx.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 { a9 as CountryCodes } from "./StoreProvider-
|
|
10
|
+
import { a9 as CountryCodes } from "./StoreProvider-Do1odp3Z.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, a9 as CountryCodes } from "./StoreProvider-
|
|
10
|
+
import { L as LegalEntityTypes, a9 as CountryCodes } from "./StoreProvider-Do1odp3Z.js";
|
|
11
11
|
const trustMemberLegalEntityTypes = [
|
|
12
12
|
LegalEntityTypes.INDIVIDUAL,
|
|
13
13
|
LegalEntityTypes.ORGANIZATION
|
package/dist/{unincorporated-partnership-BPlWUABS.js → unincorporated-partnership-DiT1SZMx.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 { U as Loader } from "./StoreProvider-
|
|
12
|
+
import { U as Loader } from "./StoreProvider-Do1odp3Z.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 { ae as createLogger, P as useLegalEntity } from "./StoreProvider-
|
|
12
|
+
import { ae as createLogger, P as useLegalEntity } from "./StoreProvider-Do1odp3Z.js";
|
|
13
13
|
const logger = createLogger();
|
|
14
14
|
function useAssociatedLegalEntity(parentLegalEntity, associationType) {
|
|
15
15
|
const matchingAssociation = useMemo(() => {
|
|
@@ -10,62 +10,62 @@
|
|
|
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, bF as isISIN, V as Button, H as useToggleContext, P as useLegalEntity, R as ROOT_LE, am as datasetUtilities, aB as Header, N as Typography, U as Loader, a9 as CountryCodes, m as useSettingsContext, aN as useAllowedCountries, b as useApiContext, j as httpPost, O as StackLayout, C as Alert, ao as entriesOf, x as useAnalyticsContext, ae as createLogger, t as useAccountHolder, w as TaskTypes, L as LegalEntityTypes, ax as isEmpty, i as isUndefinedOrNull, bG as businessDetailsComponentsKeyMapping, bH as solePropBusinessDetailsKeyMapping, ah as objectsDeepEqual, aS as keysOf, bI as solePropBusinessDetailsApiKeyMapping, bk as businessDetailsApiKeyMapping, at as Scenarios, aZ as filterOutUnwantedAssociationsIfRootLE, aX as drop, ac as getOwnEntityAssociations, b2 as doArraysMatch, bJ as solePropBusinessDetailsDocumentMapping, bK 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 { E as ErrorPanel } from "./ErrorPanel-
|
|
27
|
-
import { N as NewSummary } from "./NewSummary-
|
|
28
|
-
import { u as usePageLandedEvent, s as summaryStep, a as summaryStyles } from "./Summary-
|
|
29
|
-
import { a as getDocument, j as getDocuments, c as createDocumentRequest, k as mergeProofOfOwnershipAttachments, b as getFileExtention, d as documentApiUtils } from "./validate-
|
|
30
|
-
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-
|
|
31
|
-
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, e as getTaxInformationPlaceholderText, S as StateCodesUS, i as isUsingCompanySearch, M as MemoizedDocumentUpload, f as countryToTaxInfoTypeMap, h as isRegistrationNumberAbsentStateV4Scenario, j as getTaxIdNumberOptions, k as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, l as rules, g as getFieldsWithExistingData } from "./TaxInformationField-
|
|
32
|
-
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 getCompanyRegistrationNumberOptions, p as exemptFromRegistrationNumberDefaultFieldMetadata } from "./ConstitutionalDocument-
|
|
33
|
-
import { K as KEYBOARD_KEYS, M as Modal, a as ModalContent } from "./Modal-
|
|
34
|
-
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, a as getAddressSchemaLabelsByCountry, f as mapAddressLabelsNewSummary, 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-D-2SFDbh.js";
|
|
14
|
+
import { u as useScenarios } from "./useScenarios-C--d6gPw.js";
|
|
15
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-DugB4CeD.js";
|
|
16
|
+
import { u as useToastContext, a as useInvalidateRootLegalEntity } from "./useToastContext-DHFV4LJC.js";
|
|
17
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-CFRYUBdP.js";
|
|
18
|
+
import { u as useTranslation, bF as isISIN, V as Button, H as useToggleContext, P as useLegalEntity, R as ROOT_LE, am as datasetUtilities, aB as Header, N as Typography, U as Loader, a9 as CountryCodes, m as useSettingsContext, aN as useAllowedCountries, b as useApiContext, j as httpPost, O as StackLayout, C as Alert, ao as entriesOf, x as useAnalyticsContext, ae as createLogger, t as useAccountHolder, w as TaskTypes, L as LegalEntityTypes, ax as isEmpty, i as isUndefinedOrNull, bG as businessDetailsComponentsKeyMapping, bH as solePropBusinessDetailsKeyMapping, ah as objectsDeepEqual, aS as keysOf, bI as solePropBusinessDetailsApiKeyMapping, bk as businessDetailsApiKeyMapping, at as Scenarios, aZ as filterOutUnwantedAssociationsIfRootLE, aX as drop, ac as getOwnEntityAssociations, b2 as doArraysMatch, bJ as solePropBusinessDetailsDocumentMapping, bK as businessDetailsDocumentMapping } from "./StoreProvider-Do1odp3Z.js";
|
|
19
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-D0VUus9N.js";
|
|
20
|
+
import { C as CompanyTypesValues } from "./bafinUtils-DNleI80l.js";
|
|
21
|
+
import { c as composePerScenarioFormConfigurations, g as getPropsFromConfigurations } from "./process-field-configurations-BsVn1sDe.js";
|
|
22
|
+
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-iBTioaF7.js";
|
|
23
|
+
import { u as useMultiForm } from "./useMultiForm-AyBSOBoC.js";
|
|
24
|
+
import { u as uppercase, m as mapExistingFile, g as getPageName, b as useScenarioConfiguration } from "./mapExistingFile-9oZpCz9G.js";
|
|
25
|
+
import { C as Confirm } from "./Confirm-BLjnKmbU.js";
|
|
26
|
+
import { E as ErrorPanel } from "./ErrorPanel-B_t2Mr0a.js";
|
|
27
|
+
import { N as NewSummary } from "./NewSummary-BjYCAFDe.js";
|
|
28
|
+
import { u as usePageLandedEvent, s as summaryStep, a as summaryStyles } from "./Summary-s4DquGfj.js";
|
|
29
|
+
import { a as getDocument, j as getDocuments, c as createDocumentRequest, k as mergeProofOfOwnershipAttachments, b as getFileExtention, d as documentApiUtils } from "./validate-DKsP8XGZ.js";
|
|
30
|
+
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-lkF9e5IB.js";
|
|
31
|
+
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, e as getTaxInformationPlaceholderText, S as StateCodesUS, i as isUsingCompanySearch, M as MemoizedDocumentUpload, f as countryToTaxInfoTypeMap, h as isRegistrationNumberAbsentStateV4Scenario, j as getTaxIdNumberOptions, k as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, l as rules, g as getFieldsWithExistingData } from "./TaxInformationField-DS9fsrYp.js";
|
|
32
|
+
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 getCompanyRegistrationNumberOptions, p as exemptFromRegistrationNumberDefaultFieldMetadata } from "./ConstitutionalDocument-aYMC7Qld.js";
|
|
33
|
+
import { K as KEYBOARD_KEYS, M as Modal, a as ModalContent } from "./Modal-D_LDmrcf.js";
|
|
34
|
+
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, a as getAddressSchemaLabelsByCountry, f as mapAddressLabelsNewSummary, c as getKeyForField } from "./utils-CmyEO2z6.js";
|
|
35
35
|
import { r as resolveFieldMetadata } from "./fieldConfigurations-BUT9DTUH.js";
|
|
36
|
-
import { f as formatCurrency, A as ALLOWED_SOF_SERVICES } from "./utils-
|
|
37
|
-
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-
|
|
36
|
+
import { f as formatCurrency, A as ALLOWED_SOF_SERVICES } from "./utils-CG9hxJ09.js";
|
|
37
|
+
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-B1q0i8VT.js";
|
|
38
38
|
import { S as SettingNames } from "./types-Dv0COrvY.js";
|
|
39
|
-
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-
|
|
40
|
-
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-
|
|
41
|
-
import { t as toFullWidth, m as mapJpAddressSchemaToAddressLocalizations } from "./mapJpAddressSchemaToAddressLocalizations-
|
|
42
|
-
import { i as isEmpty$1 } from "./isEmpty-
|
|
39
|
+
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-BlKniCje.js";
|
|
40
|
+
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-yKQW3P6f.js";
|
|
41
|
+
import { t as toFullWidth, m as mapJpAddressSchemaToAddressLocalizations } from "./mapJpAddressSchemaToAddressLocalizations-DhgNqKwy.js";
|
|
42
|
+
import { i as isEmpty$1 } from "./isEmpty-u6uLWpz1.js";
|
|
43
43
|
import { f as formatObject } from "./utils-DNSfZiio.js";
|
|
44
44
|
import { b as mapAddressLocalizationToJpAddressSchema, a as mapApiScriptLocalizationToSchemaFields, m as mapSchemaFieldsToApiScriptLocalization } from "./mapAddressLocalizationToJpAddressSchema-vJWbpAyq.js";
|
|
45
|
-
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-
|
|
46
|
-
import { L as LandingLayout } from "./LandingLayout-
|
|
47
|
-
import { g as getLegalCompanyNameGuidanceText, L as LEGAL_COMPANY_NAME_FIELD, d as defaultFieldMetadataV4, a as defaultFieldMetadata$2, b as defaultFieldConfigV4, c as defaultFieldConfig$2 } from "./LegalCompanyNameField
|
|
48
|
-
import { h as useBusinessLines } from "./OnboardingDropinComponent-
|
|
45
|
+
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-hrruvtK7.js";
|
|
46
|
+
import { L as LandingLayout } from "./LandingLayout-DJR_oP_0.js";
|
|
47
|
+
import { g as getLegalCompanyNameGuidanceText, L as LEGAL_COMPANY_NAME_FIELD, d as defaultFieldMetadataV4, a as defaultFieldMetadata$2, b as defaultFieldConfigV4, c as defaultFieldConfig$2 } from "./LegalCompanyNameField-CzsW7440.js";
|
|
48
|
+
import { h as useBusinessLines } from "./OnboardingDropinComponent-CFcJQhCb.js";
|
|
49
49
|
import { Suspense, lazy } from "preact/compat";
|
|
50
|
-
import { C as Checkbox } from "./Checkbox-
|
|
51
|
-
import { F as Field } from "./Field-
|
|
52
|
-
import { I as InputDate, f as formatDateObj } from "./InputDate-
|
|
53
|
-
import { a as validateNotEmptyOnBlur, v as validatePatternOnBlur, b as validateJaKanaLegalCompanyName, c as validateJaHaniLegalCompanyName } from "./patternValidators-
|
|
54
|
-
import { M as MaskedInput, m as makeMask, d as alphanumericInputs, b as alphaInputs, n as numericInputs } from "./MaskedInput-
|
|
55
|
-
import { i as isJapanLocalizationEnabled } from "./japanSupportUtils-
|
|
50
|
+
import { C as Checkbox } from "./Checkbox-CBsyuXip.js";
|
|
51
|
+
import { F as Field } from "./Field-DhGlekN4.js";
|
|
52
|
+
import { I as InputDate, f as formatDateObj } from "./InputDate-MfbWpC8K.js";
|
|
53
|
+
import { a as validateNotEmptyOnBlur, v as validatePatternOnBlur, b as validateJaKanaLegalCompanyName, c as validateJaHaniLegalCompanyName } from "./patternValidators-BAI5QGjT.js";
|
|
54
|
+
import { M as MaskedInput, m as makeMask, d as alphanumericInputs, b as alphaInputs, n as numericInputs } from "./MaskedInput-BWp2Akul.js";
|
|
55
|
+
import { i as isJapanLocalizationEnabled } from "./japanSupportUtils-By6GI65W.js";
|
|
56
56
|
import { u as useDebouncedCallback } from "./debouncedInputEvent-Cv2S512Y.js";
|
|
57
57
|
import { signal } from "@preact/signals";
|
|
58
58
|
import cx from "classnames";
|
|
59
|
-
import { L as Link } from "./Link-
|
|
59
|
+
import { L as Link } from "./Link-CuEU7lsc.js";
|
|
60
60
|
import { S as StructuredList } from "./StructuredList-CNha20ka.js";
|
|
61
|
-
import { I as InputText } from "./InputText-
|
|
62
|
-
import { C as CountryField, a as COUNTRY_FIELD } from "./CountryField-
|
|
63
|
-
import { L as LoaderWrapper } from "./LoaderWrapper-
|
|
61
|
+
import { I as InputText } from "./InputText-BsC-S1uD.js";
|
|
62
|
+
import { C as CountryField, a as COUNTRY_FIELD } from "./CountryField-o99j4P7E.js";
|
|
63
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-BUn-b8AB.js";
|
|
64
64
|
import { C as Card } from "./Card-OQuFzmxm.js";
|
|
65
|
-
import { L as ListItem } from "./ListItem-
|
|
66
|
-
import { T as TileGroup } from "./TileGroup-
|
|
67
|
-
import { c as currencyByCountry } from "./types-
|
|
68
|
-
import { R as RadioGroup } from "./RadioGroup-
|
|
65
|
+
import { L as ListItem } from "./ListItem-De_7UUwH.js";
|
|
66
|
+
import { T as TileGroup } from "./TileGroup-CAyozQI4.js";
|
|
67
|
+
import { c as currencyByCountry } from "./types-CfnPVq7b.js";
|
|
68
|
+
import { R as RadioGroup } from "./RadioGroup-DvrpVP2i.js";
|
|
69
69
|
const DATE_OF_INCORPORATION_FIELD = [
|
|
70
70
|
"dateOfIncorporation"
|
|
71
71
|
];
|
|
@@ -406,7 +406,7 @@ function VerifiedBusinessCard({
|
|
|
406
406
|
] });
|
|
407
407
|
}
|
|
408
408
|
const LazyJpAddress = lazy(
|
|
409
|
-
async () => (await import("./JpAddress-
|
|
409
|
+
async () => (await import("./JpAddress-BDGwDEOX.js")).JpAddress
|
|
410
410
|
);
|
|
411
411
|
const ADDITIONAL_INFORMATION_FORM_ID = "additionalInformation";
|
|
412
412
|
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-Do1odp3Z.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 { ae 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 { ae as createLogger, ax as isEmpty, b2 as doArraysMatch } from "./StoreProvider-Do1odp3Z.js";
|
|
12
|
+
import { V as ValidationResult, o as omitKeys, a as addKeys } from "./utils-HEJUczlg.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 { x as useAnalyticsContext, u as useTranslation, V as Button } from "./StoreProvider-
|
|
14
|
-
import { L as LoaderWrapper } from "./LoaderWrapper-
|
|
15
|
-
import { M as MaybeModal } from "./MaybeModal-
|
|
13
|
+
import { x as useAnalyticsContext, u as useTranslation, V as Button } from "./StoreProvider-Do1odp3Z.js";
|
|
14
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-BUn-b8AB.js";
|
|
15
|
+
import { M as MaybeModal } from "./MaybeModal-C7EW70Xg.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-iBTioaF7.js";
|
|
18
|
+
import { C as Confirm } from "./Confirm-BLjnKmbU.js";
|
|
19
|
+
import { S as Summary } from "./Summary-s4DquGfj.js";
|
|
20
20
|
import { createContext } from "preact";
|
|
21
21
|
const FormContext = createContext(null);
|
|
22
22
|
function FormContextProvider({
|
|
@@ -9,15 +9,15 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useContext, useState, useCallback, useMemo } from "preact/hooks";
|
|
12
|
-
import { bo as StateContext, u as useTranslation, x as useAnalyticsContext, H as useToggleContext, V as Button } from "./StoreProvider-
|
|
13
|
-
import { L as LoaderWrapper } from "./LoaderWrapper-
|
|
14
|
-
import { M as MaybeModal } from "./MaybeModal-
|
|
15
|
-
import { a as ModalContent, b as ModalHeader, c as ModalFooter } from "./Modal-
|
|
12
|
+
import { bo as StateContext, u as useTranslation, x as useAnalyticsContext, H as useToggleContext, V as Button } from "./StoreProvider-Do1odp3Z.js";
|
|
13
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-BUn-b8AB.js";
|
|
14
|
+
import { M as MaybeModal } from "./MaybeModal-C7EW70Xg.js";
|
|
15
|
+
import { a as ModalContent, b as ModalHeader, c as ModalFooter } from "./Modal-D_LDmrcf.js";
|
|
16
16
|
import { S as Spacer } from "./Spacer-BK3jDget.js";
|
|
17
|
-
import { S as StepProgressIndicator } from "./StepProgressIndicator-
|
|
18
|
-
import { F as FormRouterContextProvider } from "./dropinUtils-
|
|
19
|
-
import { F as FormNavigation } from "./FormNavigation-
|
|
20
|
-
import { s as summaryStep, S as Summary } from "./Summary-
|
|
17
|
+
import { S as StepProgressIndicator } from "./StepProgressIndicator-CHQ02q0R.js";
|
|
18
|
+
import { F as FormRouterContextProvider } from "./dropinUtils-iBTioaF7.js";
|
|
19
|
+
import { F as FormNavigation } from "./FormNavigation-zwvQFKf1.js";
|
|
20
|
+
import { s as summaryStep, S as Summary } from "./Summary-s4DquGfj.js";
|
|
21
21
|
import { a as debounce } from "./debouncedInputEvent-Cv2S512Y.js";
|
|
22
22
|
function useStateContext() {
|
|
23
23
|
const context = useContext(StateContext);
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useCallback, useMemo, useReducer, useEffect } from "preact/hooks";
|
|
11
|
-
import { ah as objectsDeepEqual, ae 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, ae as createLogger, ax as isEmpty } from "./StoreProvider-Do1odp3Z.js";
|
|
12
|
+
import { V as ValidationResult } from "./utils-HEJUczlg.js";
|
|
13
|
+
import { a as isNotEmptyValidator } from "./commonValidators-B93jw3zT.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-Do1odp3Z.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, k as httpGet } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, ao as entriesOf, at as Scenarios, k as httpGet } from "./StoreProvider-Do1odp3Z.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-Do1odp3Z.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 { ae as createLogger, b as useApiContext, au as ToastContext } from "./StoreProvider-
|
|
12
|
+
import { ae as createLogger, b as useApiContext, au as ToastContext } from "./StoreProvider-Do1odp3Z.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, ac as getOwnEntityAssociations, P as useLegalEntity, R 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, ac as getOwnEntityAssociations, P as useLegalEntity, R as ROOT_LE } from "./StoreProvider-Do1odp3Z.js";
|
|
12
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-Bwe18_3D.js";
|
|
13
|
+
import { U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-DiT1SZMx.js";
|
|
14
|
+
import { g as getLegalEntityNameBasedOnType } from "./getName-f5vInm5O.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, ax as isEmpty, u as useTranslation, H as useToggleContext, B as IconButton, j as httpPost } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, k as httpGet, ax as isEmpty, u as useTranslation, H as useToggleContext, B as IconButton, j as httpPost } from "./StoreProvider-Do1odp3Z.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-DhGlekN4.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-t-h8dau1.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-DHFV4LJC.js";
|
|
12
|
+
import { b as useApiContext, j as httpPost } from "./StoreProvider-Do1odp3Z.js";
|
|
13
13
|
const updateLegalEntity = async (rootLegalEntityId, baseUrl, data) => {
|
|
14
14
|
return httpPost(
|
|
15
15
|
{
|