@adyen/kyc-components 4.6.0-beta.1 → 4.6.0-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AcceptTermsOfServiceComponent-Bd0fuzJX.js → AcceptTermsOfServiceComponent-DMmAfAUS.js} +14 -14
- package/dist/{AccountSetupRejected-t4tPei0K.js → AccountSetupRejected-JJOnt7FF.js} +1 -1
- package/dist/{ActionBar-Ruw6z6LR.js → ActionBar-CtGPR--b.js} +1 -1
- package/dist/{Address-D0JjbOT4.js → Address-DNL2tiBR.js} +9 -9
- package/dist/{Avatar-Dp70m25u.js → Avatar--xsB_6Z2.js} +1 -1
- package/dist/{BusinessFinancingComponent-DAj2gvCq.js → BusinessFinancingComponent-B_vTZnhk.js} +4 -4
- package/dist/{BusinessFinancingDropin-RImpwNje.js → BusinessFinancingDropin-C9VaUN5P.js} +27 -27
- package/dist/{BusinessFinancingPage-B3XW6vMz.js → BusinessFinancingPage-DPgfid6x.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-D_yQV_GP.js → BusinessTypeSelectionPage-Dndm97LQ.js} +8 -8
- package/dist/{Checkbox-DQGjbUsQ.js → Checkbox-Zsp5mpd1.js} +1 -1
- package/dist/{Confirm-roUo52pe.js → Confirm-BzXzQhO2.js} +2 -2
- package/dist/{ConstitutionalDocument-BW87TDZl.js → ConstitutionalDocument-DOA2PBeK.js} +17 -17
- package/dist/{ContactDetails-CGss-4M6.js → ContactDetails-Q-bKwhea.js} +5 -5
- package/dist/{ContextGuidance-8vbKs48u.js → ContextGuidance-DvNFwtQm.js} +1 -1
- package/dist/{CountryField-Cxih2YUu.js → CountryField-Cvtj6RC8.js} +3 -3
- package/dist/{CreateIndividualComponent-k3J84uhw.js → CreateIndividualComponent-flfjUs1m.js} +4 -4
- package/dist/{CreateTransferInstrumentComponent-bam-U6uj.js → CreateTransferInstrumentComponent-C_-6XnBy.js} +3 -3
- package/dist/{Currency-DhqTdIeI.js → Currency-CwxrSW7P.js} +6 -6
- package/dist/{CustomerSupport-CdhIJFEE.js → CustomerSupport-caqC8DDe.js} +9 -9
- package/dist/{DebugModal-yfBBhyjs.js → DebugModal-bNvYqaNk.js} +6 -6
- package/dist/{DecisionMakerDetails-D0-COO1N.js → DecisionMakerDetails-qYoDcOok.js} +8 -8
- package/dist/{DecisionMakerDetailsPage-C-LGLbrJ.js → DecisionMakerDetailsPage-euIc5vIq.js} +6 -6
- package/dist/{DecisionMakers-Bx51Ewcv.js → DecisionMakers-BJJQ8Uqh.js} +17 -17
- package/dist/{Dropzone-Dy3XmCix.js → Dropzone-YW-zkKxh.js} +3 -3
- package/dist/{EmbeddedStatus-PFK1NCkS.js → EmbeddedStatus-CHZHZH5K.js} +2 -2
- package/dist/{EndStateLayout-5kx0pljK.js → EndStateLayout-C_8qht0P.js} +1 -1
- package/dist/{EntityAssociation-BVxUknEP.js → EntityAssociation-CvbQ1Lwa.js} +4 -4
- package/dist/{EntityGuidanceStatus-CbP4RqW4.js → EntityGuidanceStatus-CJjIEIO4.js} +3 -3
- package/dist/{ErrorPanel-Cn8gzNGG.js → ErrorPanel-Ogp9RiKT.js} +1 -1
- package/dist/{Field-BDI27kIy.js → Field-CAHkeG-9.js} +1 -1
- package/dist/{FormNavigation-D90R1OgK.js → FormNavigation-q8OJBOys.js} +2 -2
- package/dist/{Individual.rules-BrdY-Rew.js → Individual.rules-DVzICDhM.js} +5 -5
- package/dist/{IndividualDropin-D5FrKUb-.js → IndividualDropin-DFNPUrxR.js} +49 -49
- package/dist/{InputDate-nNag-jcu.js → InputDate-DPsk8Msa.js} +1 -1
- package/dist/{InputText-DFjKyN6O.js → InputText-Dd2Zt3Uf.js} +1 -1
- package/dist/{Introduction-DhEG_Jvt.js → Introduction-DvgrKGA9.js} +3 -3
- package/dist/{InvitedDecisionMakerComponent-DT_SCB2u.js → InvitedDecisionMakerComponent-vnx03_j4.js} +9 -9
- package/dist/{JpAddress-DcJCN9dG.js → JpAddress-WQespJeR.js} +8 -8
- package/dist/{LandingLayout-CC_FGMAs.js → LandingLayout-IzYxPD3r.js} +1 -1
- package/dist/{LegalCompanyNameField-CgTgIMv8.js → LegalCompanyNameField--T5DYvSX.js} +5 -5
- package/dist/{LegalRepresentativeDetailsPage-D4d4eelX.js → LegalRepresentativeDetailsPage-DhZYnxDG.js} +3 -3
- package/dist/{Link-C30mEtLP.js → Link-BmQg3bH7.js} +1 -1
- package/dist/{ListItem-BQLamvB-.js → ListItem-eSgEdDJ_.js} +2 -2
- package/dist/{LoaderWrapper-CgNgcjW-.js → LoaderWrapper-2rAn7vfp.js} +1 -1
- package/dist/{ManageIndividualComponent-DKVcaPI6.js → ManageIndividualComponent-CuxXcNON.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-T_K9BahM.js → ManageTermsOfServiceComponent-B8XrnQ8i.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-Ch79d8JP.js → ManageTransferInstrumentComponent-6bv-Pf_B.js} +9 -9
- package/dist/{MaskedInput-B9djDROe.js → MaskedInput-DHP3xJ7Q.js} +4 -4
- package/dist/{MaybeModal-BYsvKCcc.js → MaybeModal-CKEPBj6Y.js} +2 -2
- package/dist/{Modal-727fSuFr.js → Modal-BSNSyg2O.js} +1 -1
- package/dist/{Name-BN-K6-N2.js → Name-ijgSqpiq.js} +4 -4
- package/dist/{NewSummary-DTuLIMtG.js → NewSummary-CT_-5XNs.js} +1 -1
- package/dist/{OnboardingDropinComponent-CaRk-dgZ.js → OnboardingDropinComponent-CIu0ZQxF.js} +76 -76
- package/dist/{PayoutDetailsDropin-CaJE5U6g.js → PayoutDetailsDropin-CKnaw-pV.js} +32 -32
- package/dist/{PayoutDetailsPage-B0i-iUKS.js → PayoutDetailsPage-COH9jBrt.js} +4 -4
- package/dist/{RadioGroup-DQa-nkgM.js → RadioGroup-DjP9-PJx.js} +1 -1
- package/dist/{Review-CgkKBldb.js → Review-5PPypYAk.js} +5 -5
- package/dist/{RootBusinessDetailsPage-Bh3M9G8g.js → RootBusinessDetailsPage-D7_nJZXo.js} +4 -4
- package/dist/{RootBusinessLinesPage-C4wzI8-k.js → RootBusinessLinesPage-BQe-iw1C.js} +24 -24
- package/dist/{RootIndividualDetailsPage-GBrzZTH2.js → RootIndividualDetailsPage-BmVe4FKX.js} +5 -5
- package/dist/{Select-Bt5Y91sI.js → Select-Cdl9XXxR.js} +3 -3
- package/dist/{SignPCIComponent-BxzfAQvx.js → SignPCIComponent-BdX2lQiO.js} +10 -10
- package/dist/{SingpassSelection-hjBRnBDR.js → SingpassSelection-DyOQVEom.js} +4 -4
- package/dist/{SoleProprietorshipPage-B6HqJtcC.js → SoleProprietorshipPage-DStAoO_V.js} +3 -3
- package/dist/{SourceOfFundsPage-D6V3pwXP.js → SourceOfFundsPage-CLeC1Wx4.js} +31 -31
- package/dist/{StepProgressIndicator-DhfpqmVy.js → StepProgressIndicator-CsrUaXPL.js} +1 -1
- package/dist/{StoreProvider-CGAl-5Sk.js → StoreProvider-tu5zP5Mr.js} +4 -4
- package/dist/{Summary-DKmu4xU7.js → Summary-BpLChJys.js} +5 -5
- package/dist/{TaxInformationField-wLMc_uT-.js → TaxInformationField-L8T8CiGM.js} +19 -19
- package/dist/{TaxReportingDropin-DsPw-MUV.js → TaxReportingDropin-D6hbjVVK.js} +13 -13
- package/dist/{TextArea-BGhv4y1a.js → TextArea-o_fInXo1.js} +1 -1
- package/dist/{TileGroup-D3HIe8QQ.js → TileGroup-BoA59KpA.js} +2 -2
- package/dist/{TrustDetailsPage-CWKPHxTe.js → TrustDetailsPage-Dk6JICLn.js} +30 -30
- package/dist/{TrustMemberCompanyPage-C89-gUpd.js → TrustMemberCompanyPage-Dvhbrag2.js} +4 -4
- package/dist/{TrustMemberIndividualPage-Cz-Z8U7w.js → TrustMemberIndividualPage-sKAIzuZI.js} +3 -3
- package/dist/{TrustMemberRoleAndTypePage-BxzEkGzE.js → TrustMemberRoleAndTypePage-CAFFrNpH.js} +20 -20
- package/dist/{TrustMembersOverview-BtycEgbW.js → TrustMembersOverview-D-2lrVPC.js} +9 -9
- package/dist/{UnincorporatedPartnershipIndividualPage-CSQjYe4p.js → UnincorporatedPartnershipIndividualPage-CTNS2quy.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-ZAQkvjQr.js → UnincorporatedPartnershipMemberCompanyPage-fpInViTa.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-B9bvg2ra.js → UnincorporatedPartnershipMemberRoleAndTypePage-hdNstBFH.js} +10 -10
- package/dist/{UnincorporatedPartnershipMembersOverview-DYDDYisa.js → UnincorporatedPartnershipMembersOverview-rYI2qUh8.js} +6 -6
- package/dist/{VerificationErrorAlert-Sf7ovPdg.js → VerificationErrorAlert-Di3bEEiX.js} +2 -2
- package/dist/{ViewVerificationStatusComponent-D6qJacuF.js → ViewVerificationStatusComponent-BH6JSNFb.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-4YaweTCy.js → bafinUtils-CVXxpL8U.js} +1 -1
- package/dist/{commonValidators-nusLcRK6.js → commonValidators-B1UeGPjR.js} +1 -1
- package/dist/{dropinUtils-DoPR1iTm.js → dropinUtils-BSxCDq6G.js} +3 -3
- package/dist/{formUtils-zdJ_jyqE.js → formUtils-zTMeoj2n.js} +2 -2
- package/dist/{getName-Ca2cTXzw.js → getName-CDVYSCnR.js} +1 -1
- package/dist/{getProblemsForEntity-CNltAsMa.js → getProblemsForEntity-D-YjPgmy.js} +1 -1
- package/dist/{getTrustedFields-rU6j1TOQ.js → getTrustedFields-Bi9zRkay.js} +1 -1
- package/dist/{isEmpty-BN2tOceJ.js → isEmpty-B9euE0VX.js} +1 -1
- package/dist/{japanSupportUtils-B76IOTvL.js → japanSupportUtils-aHkWNYRa.js} +1 -1
- package/dist/{localizeDateString-9ciBezNu.js → localizeDateString-Cnh8C13b.js} +1 -1
- package/dist/{mapExistingFile-BS79kq3W.js → mapExistingFile-sR8KMX31.js} +2 -2
- package/dist/{mapJpAddressSchemaToAddressLocalizations--7Bt3usJ.js → mapJpAddressSchemaToAddressLocalizations-D_hWebX_.js} +1 -1
- package/dist/{mapLegalEntityToIndividualSchema-BxOmNDle.js → mapLegalEntityToIndividualSchema-yzclNgBs.js} +3 -3
- package/dist/{mapTransferInstrumentToPayoutAccount-ONPBT9KF.js → mapTransferInstrumentToPayoutAccount-Ci0SL4SX.js} +1 -1
- package/dist/{omitObscuredFieldsIfUnchanged-DhUQJrjg.js → omitObscuredFieldsIfUnchanged-pB-wC9QM.js} +2 -2
- package/dist/{patternValidators-Cem-Icxv.js → patternValidators-DYMusQGu.js} +1 -1
- package/dist/{process-field-configurations-BWC3i2at.js → process-field-configurations-Bvg8JPNo.js} +1 -1
- package/dist/{resolveEnvironment-BLaPb5Nd.js → resolveEnvironment-C2wHfrej.js} +3 -3
- package/dist/{roleMetadata-RivmWKE-.js → roleMetadata-0kwyQV6J.js} +2 -2
- package/dist/{types-i_4sFTBn.js → types-BB0ebx3i.js} +1 -1
- package/dist/{types-BLjngIPE.js → types-CJMfHoBs.js} +1 -1
- package/dist/{types-DmjPF4Sw.js → types-CvUr6D4Q.js} +1 -1
- package/dist/{unincorporated-partnership-R_fKlee-.js → unincorporated-partnership-BPlWUABS.js} +1 -1
- package/dist/{useAssociatedLegalEntity-sPi1NDib.js → useAssociatedLegalEntity-DV_2dCW6.js} +1 -1
- package/dist/{useBusinessDetailsData-Bqk04i4C.js → useBusinessDetailsData-BfbltTqe.js} +52 -50
- package/dist/{useCreateLegalEntity-Bsp9NV_x.js → useCreateLegalEntity-DVCN5A9B.js} +1 -1
- package/dist/{useForm-OoKBR6oR.js → useForm-B1ePDv8A.js} +2 -2
- package/dist/{useFormContext-DSPJpGk8.js → useFormContext-BUxYXXAF.js} +6 -6
- package/dist/{useGlobalData-Crfi88kZ.js → useGlobalData-DzQELcTB.js} +8 -8
- package/dist/{useMultiForm-CvhpFewv.js → useMultiForm-DMsRh7Yv.js} +3 -3
- package/dist/{useOnboardingStatus-CAHU1D0X.js → useOnboardingStatus-D8eGPaH0.js} +1 -1
- package/dist/{useScenarios-DBv_dA-7.js → useScenarios-DEqWYKpO.js} +1 -1
- package/dist/{useTermsOfServiceStatus-ZQHlgGZB.js → useTermsOfServiceStatus-Bo6_Hpg_.js} +1 -1
- package/dist/{useToastContext-fRmLeQb3.js → useToastContext-D_Ve9qAS.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-DiyYkTfs.js → useUnincorporatedPartnershipMembers-DFO7ss6G.js} +4 -4
- package/dist/{useUpdateBusinessLines-R_TsTeL9.js → useUpdateBusinessLines-DoMqUrgz.js} +3 -3
- package/dist/{useUpdateLegalEntity-B08ICvGj.js → useUpdateLegalEntity-C2MuEoHd.js} +2 -2
- package/dist/{utils-CPMlF6U8.js → utils-BL4_8KvK.js} +1 -1
- package/dist/{utils-3lClW_1M.js → utils-CHgwZEHm.js} +1 -1
- package/dist/{utils-B0FPRdWI.js → utils-CKTB3hl_.js} +1 -1
- package/dist/{utils-BRoXRTJU.js → utils-DX4Z0cra.js} +5 -5
- package/dist/{utils-Bjuz29z7.js → utils-dzl8UxSI.js} +2 -2
- package/dist/{validate-Bkn-4Xav.js → validate-NBq9tVBn.js} +1 -1
- package/dist/{validate-DXgI7aOv.js → validate-QVLpmAon.js} +2 -2
- package/dist/{validationError-1Dg0ubhb.js → validationError-pGzt-JuW.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-C2wHfrej.js";
|
|
14
|
+
import { V as ViewVerificationStatusComponent } from "./ViewVerificationStatusComponent-BH6JSNFb.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-tu5zP5Mr.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-tu5zP5Mr.js";
|
|
12
|
+
import { s as summaryStep } from "./Summary-BpLChJys.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-Ogp9RiKT.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-BL4_8KvK.js";
|
|
11
|
+
import { ao as entriesOf } from "./StoreProvider-tu5zP5Mr.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-tu5zP5Mr.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-tu5zP5Mr.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-tu5zP5Mr.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-tu5zP5Mr.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-tu5zP5Mr.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-tu5zP5Mr.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-DEqWYKpO.js";
|
|
12
|
+
import { a9 as CountryCodes, ae as createLogger } from "./StoreProvider-tu5zP5Mr.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-B9euE0VX.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-tu5zP5Mr.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-CAHkeG-9.js";
|
|
16
|
+
import { T as TileGroup } from "./TileGroup-BoA59KpA.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-tu5zP5Mr.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-DhUQJrjg.js → omitObscuredFieldsIfUnchanged-pB-wC9QM.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-tu5zP5Mr.js";
|
|
11
|
+
import { i as isValueObscured } from "./MaskedInput-DHP3xJ7Q.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-tu5zP5Mr.js";
|
|
11
11
|
const validateNotEmptyOnBlur = {
|
|
12
12
|
modes: ["blur"],
|
|
13
13
|
validate: (val) => !isEmpty(val),
|
package/dist/{process-field-configurations-BWC3i2at.js → process-field-configurations-Bvg8JPNo.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-tu5zP5Mr.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] = "d57c643e-d2b4-4207-9860-1a07e87f6e95", e._sentryDebugIdIdentifier = "sentry-dbid-d57c643e-d2b4-4207-9860-1a07e87f6e95");
|
|
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-tu5zP5Mr.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.0-beta.
|
|
54
|
+
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "4.6.0-beta.3" }),
|
|
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-tu5zP5Mr.js";
|
|
11
|
+
import { U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-BPlWUABS.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-tu5zP5Mr.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-tu5zP5Mr.js";
|
|
11
11
|
const trustMemberLegalEntityTypes = [
|
|
12
12
|
LegalEntityTypes.INDIVIDUAL,
|
|
13
13
|
LegalEntityTypes.ORGANIZATION
|
package/dist/{unincorporated-partnership-R_fKlee-.js → unincorporated-partnership-BPlWUABS.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-tu5zP5Mr.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-tu5zP5Mr.js";
|
|
13
13
|
const logger = createLogger();
|
|
14
14
|
function useAssociatedLegalEntity(parentLegalEntity, associationType) {
|
|
15
15
|
const matchingAssociation = useMemo(() => {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "95957168-b6e8-4925-a30c-f48238468cce", e._sentryDebugIdIdentifier = "sentry-dbid-95957168-b6e8-4925-a30c-f48238468cce");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -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-DoMqUrgz.js";
|
|
14
|
+
import { u as useScenarios } from "./useScenarios-DEqWYKpO.js";
|
|
15
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-DVCN5A9B.js";
|
|
16
|
+
import { u as useToastContext, a as useInvalidateRootLegalEntity } from "./useToastContext-D_Ve9qAS.js";
|
|
17
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-C2MuEoHd.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-tu5zP5Mr.js";
|
|
19
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-BUxYXXAF.js";
|
|
20
|
+
import { C as CompanyTypesValues } from "./bafinUtils-CVXxpL8U.js";
|
|
21
|
+
import { c as composePerScenarioFormConfigurations, g as getPropsFromConfigurations } from "./process-field-configurations-Bvg8JPNo.js";
|
|
22
|
+
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-BSxCDq6G.js";
|
|
23
|
+
import { u as useMultiForm } from "./useMultiForm-DMsRh7Yv.js";
|
|
24
|
+
import { u as uppercase, m as mapExistingFile, g as getPageName, b as useScenarioConfiguration } from "./mapExistingFile-sR8KMX31.js";
|
|
25
|
+
import { C as Confirm } from "./Confirm-BzXzQhO2.js";
|
|
26
|
+
import { E as ErrorPanel } from "./ErrorPanel-Ogp9RiKT.js";
|
|
27
|
+
import { N as NewSummary } from "./NewSummary-CT_-5XNs.js";
|
|
28
|
+
import { u as usePageLandedEvent, s as summaryStep, a as summaryStyles } from "./Summary-BpLChJys.js";
|
|
29
|
+
import { a as getDocument, j as getDocuments, c as createDocumentRequest, k as mergeProofOfOwnershipAttachments, b as getFileExtention, d as documentApiUtils } from "./validate-QVLpmAon.js";
|
|
30
|
+
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-zTMeoj2n.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-L8T8CiGM.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-DOA2PBeK.js";
|
|
33
|
+
import { K as KEYBOARD_KEYS, M as Modal, a as ModalContent } from "./Modal-BSNSyg2O.js";
|
|
34
|
+
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, a as getAddressSchemaLabelsByCountry, f as mapAddressLabelsNewSummary, c as getKeyForField } from "./utils-CKTB3hl_.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-dzl8UxSI.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-DNL2tiBR.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-DX4Z0cra.js";
|
|
40
|
+
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-pGzt-JuW.js";
|
|
41
|
+
import { t as toFullWidth, m as mapJpAddressSchemaToAddressLocalizations } from "./mapJpAddressSchemaToAddressLocalizations-D_hWebX_.js";
|
|
42
|
+
import { i as isEmpty$1 } from "./isEmpty-B9euE0VX.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-CwxrSW7P.js";
|
|
46
|
+
import { L as LandingLayout } from "./LandingLayout-IzYxPD3r.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--T5DYvSX.js";
|
|
48
|
+
import { h as useBusinessLines } from "./OnboardingDropinComponent-CIu0ZQxF.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-Zsp5mpd1.js";
|
|
51
|
+
import { F as Field } from "./Field-CAHkeG-9.js";
|
|
52
|
+
import { I as InputDate, f as formatDateObj } from "./InputDate-DPsk8Msa.js";
|
|
53
|
+
import { a as validateNotEmptyOnBlur, v as validatePatternOnBlur, b as validateJaKanaLegalCompanyName, c as validateJaHaniLegalCompanyName } from "./patternValidators-DYMusQGu.js";
|
|
54
|
+
import { M as MaskedInput, m as makeMask, d as alphanumericInputs, b as alphaInputs, n as numericInputs } from "./MaskedInput-DHP3xJ7Q.js";
|
|
55
|
+
import { i as isJapanLocalizationEnabled } from "./japanSupportUtils-aHkWNYRa.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-BmQg3bH7.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-Dd2Zt3Uf.js";
|
|
62
|
+
import { C as CountryField, a as COUNTRY_FIELD } from "./CountryField-Cvtj6RC8.js";
|
|
63
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-2rAn7vfp.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-eSgEdDJ_.js";
|
|
66
|
+
import { T as TileGroup } from "./TileGroup-BoA59KpA.js";
|
|
67
|
+
import { c as currencyByCountry } from "./types-BB0ebx3i.js";
|
|
68
|
+
import { R as RadioGroup } from "./RadioGroup-DjP9-PJx.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-WQespJeR.js")).JpAddress
|
|
410
410
|
);
|
|
411
411
|
const ADDITIONAL_INFORMATION_FORM_ID = "additionalInformation";
|
|
412
412
|
const ADDITIONAL_INFORMATION_FIELDS = [
|
|
@@ -1878,9 +1878,11 @@ function BusinessInformation({ fetching, selectedBusiness }) {
|
|
|
1878
1878
|
case "address":
|
|
1879
1879
|
if (value) acc[2].details = value;
|
|
1880
1880
|
break;
|
|
1881
|
+
// Only one of these should ever come back at a time
|
|
1881
1882
|
case "registeredAddress":
|
|
1882
|
-
|
|
1883
|
-
|
|
1883
|
+
case "principalPlaceOfBusinessAddress":
|
|
1884
|
+
if (value && typeof value !== "string" && "fullAddress" in value)
|
|
1885
|
+
acc[2].details = value.fullAddress;
|
|
1884
1886
|
break;
|
|
1885
1887
|
}
|
|
1886
1888
|
return acc;
|
|
@@ -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-tu5zP5Mr.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-tu5zP5Mr.js";
|
|
12
|
+
import { V as ValidationResult, o as omitKeys, a as addKeys } from "./utils-BL4_8KvK.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-tu5zP5Mr.js";
|
|
14
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-2rAn7vfp.js";
|
|
15
|
+
import { M as MaybeModal } from "./MaybeModal-CKEPBj6Y.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-BSxCDq6G.js";
|
|
18
|
+
import { C as Confirm } from "./Confirm-BzXzQhO2.js";
|
|
19
|
+
import { S as Summary } from "./Summary-BpLChJys.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-tu5zP5Mr.js";
|
|
13
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-2rAn7vfp.js";
|
|
14
|
+
import { M as MaybeModal } from "./MaybeModal-CKEPBj6Y.js";
|
|
15
|
+
import { a as ModalContent, b as ModalHeader, c as ModalFooter } from "./Modal-BSNSyg2O.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-CsrUaXPL.js";
|
|
18
|
+
import { F as FormRouterContextProvider } from "./dropinUtils-BSxCDq6G.js";
|
|
19
|
+
import { F as FormNavigation } from "./FormNavigation-q8OJBOys.js";
|
|
20
|
+
import { s as summaryStep, S as Summary } from "./Summary-BpLChJys.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-tu5zP5Mr.js";
|
|
12
|
+
import { V as ValidationResult } from "./utils-BL4_8KvK.js";
|
|
13
|
+
import { a as isNotEmptyValidator } from "./commonValidators-B1UeGPjR.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-tu5zP5Mr.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-tu5zP5Mr.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-tu5zP5Mr.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-tu5zP5Mr.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-tu5zP5Mr.js";
|
|
12
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-DV_2dCW6.js";
|
|
13
|
+
import { U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-BPlWUABS.js";
|
|
14
|
+
import { g as getLegalEntityNameBasedOnType } from "./getName-CDVYSCnR.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)
|