@adyen/kyc-components 4.6.0-beta.0 → 4.6.0-beta.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-DTURkN9O.js → AcceptTermsOfServiceComponent-Bd0fuzJX.js} +14 -14
- package/dist/{AccountSetupRejected-D7yqqcm_.js → AccountSetupRejected-t4tPei0K.js} +1 -1
- package/dist/{ActionBar-CdFYb-7S.js → ActionBar-Ruw6z6LR.js} +1 -1
- package/dist/{Address-BkeFTMl-.js → Address-D0JjbOT4.js} +9 -9
- package/dist/{Avatar-BpQFX0rJ.js → Avatar-Dp70m25u.js} +1 -1
- package/dist/{BusinessFinancingComponent-CshEgNjO.js → BusinessFinancingComponent-DAj2gvCq.js} +4 -4
- package/dist/{BusinessFinancingDropin-B2kKDCNB.js → BusinessFinancingDropin-RImpwNje.js} +27 -27
- package/dist/{BusinessFinancingPage-96zTF7BJ.js → BusinessFinancingPage-B3XW6vMz.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-BVucjw8H.js → BusinessTypeSelectionPage-D_yQV_GP.js} +8 -8
- package/dist/{Checkbox-Dwf4zXgj.js → Checkbox-DQGjbUsQ.js} +1 -1
- package/dist/{Confirm-DOjzHnlC.js → Confirm-roUo52pe.js} +2 -2
- package/dist/{ConstitutionalDocument-C4HWFtJ-.js → ConstitutionalDocument-BW87TDZl.js} +17 -17
- package/dist/{ContactDetails-ByrH32Jo.js → ContactDetails-CGss-4M6.js} +5 -5
- package/dist/{ContextGuidance-BUczCMV3.js → ContextGuidance-8vbKs48u.js} +1 -1
- package/dist/{CountryField-C9nbUmpe.js → CountryField-Cxih2YUu.js} +3 -3
- package/dist/{CreateIndividualComponent-AOb8RP8N.js → CreateIndividualComponent-k3J84uhw.js} +4 -4
- package/dist/{CreateTransferInstrumentComponent-BBytn3E3.js → CreateTransferInstrumentComponent-bam-U6uj.js} +3 -3
- package/dist/{Currency-B1ApVUnP.js → Currency-DhqTdIeI.js} +6 -6
- package/dist/{CustomerSupport-DDtZA5jI.js → CustomerSupport-CdhIJFEE.js} +9 -9
- package/dist/{DebugModal-wXFq4cg1.js → DebugModal-yfBBhyjs.js} +6 -6
- package/dist/{DecisionMakerDetails-Up9HU_qy.js → DecisionMakerDetails-D0-COO1N.js} +8 -8
- package/dist/{DecisionMakerDetailsPage-OeI7y1aX.js → DecisionMakerDetailsPage-C-LGLbrJ.js} +6 -6
- package/dist/{DecisionMakers-5bUJ4S4V.js → DecisionMakers-Bx51Ewcv.js} +17 -17
- package/dist/{Dropzone-Bf8v-4iJ.js → Dropzone-Dy3XmCix.js} +3 -3
- package/dist/{EmbeddedStatus-DQmqyOzv.js → EmbeddedStatus-PFK1NCkS.js} +2 -2
- package/dist/{EndStateLayout-DZgYKmw6.js → EndStateLayout-5kx0pljK.js} +1 -1
- package/dist/{EntityAssociation-Dc8O6xJv.js → EntityAssociation-BVxUknEP.js} +4 -4
- package/dist/{EntityGuidanceStatus-DhCqUWGF.js → EntityGuidanceStatus-CbP4RqW4.js} +3 -3
- package/dist/{ErrorPanel-4HIDH4sr.js → ErrorPanel-Cn8gzNGG.js} +1 -1
- package/dist/{Field-CWq5XOh3.js → Field-BDI27kIy.js} +1 -1
- package/dist/{FormNavigation-CDlQZRNb.js → FormNavigation-D90R1OgK.js} +2 -2
- package/dist/{Individual.rules-BhSXCdTl.js → Individual.rules-BrdY-Rew.js} +5 -5
- package/dist/{IndividualDropin-DS8kUrXB.js → IndividualDropin-D5FrKUb-.js} +49 -49
- package/dist/{InputDate-C2NEOpK4.js → InputDate-nNag-jcu.js} +1 -1
- package/dist/{InputText-20pWI3ja.js → InputText-DFjKyN6O.js} +1 -1
- package/dist/{Introduction-D6x5z2oe.js → Introduction-DhEG_Jvt.js} +3 -3
- package/dist/{InvitedDecisionMakerComponent-Bg-DMehe.js → InvitedDecisionMakerComponent-DT_SCB2u.js} +9 -9
- package/dist/{JpAddress-CX4IfNRB.js → JpAddress-DcJCN9dG.js} +8 -8
- package/dist/{LandingLayout-y-X0NrR1.js → LandingLayout-CC_FGMAs.js} +1 -1
- package/dist/{LegalCompanyNameField-lEerISaT.js → LegalCompanyNameField-CgTgIMv8.js} +5 -5
- package/dist/{LegalRepresentativeDetailsPage-C6dOsu1g.js → LegalRepresentativeDetailsPage-D4d4eelX.js} +3 -3
- package/dist/{Link-DeFoaStC.js → Link-C30mEtLP.js} +1 -1
- package/dist/{ListItem-BFxtRiVb.js → ListItem-BQLamvB-.js} +2 -2
- package/dist/{LoaderWrapper-Bh1b67kY.js → LoaderWrapper-CgNgcjW-.js} +1 -1
- package/dist/{ManageIndividualComponent-DHYNg_KN.js → ManageIndividualComponent-DKVcaPI6.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-BNzELB7A.js → ManageTermsOfServiceComponent-T_K9BahM.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-9r84TFsu.js → ManageTransferInstrumentComponent-Ch79d8JP.js} +9 -9
- package/dist/{MaskedInput-DPSvsK95.js → MaskedInput-B9djDROe.js} +4 -4
- package/dist/{MaybeModal-BbrppFfg.js → MaybeModal-BYsvKCcc.js} +2 -2
- package/dist/{Modal-CAVcW_pH.js → Modal-727fSuFr.js} +1 -1
- package/dist/{Name-eQhc9Vta.js → Name-BN-K6-N2.js} +4 -4
- package/dist/{NewSummary-B_xfd8vG.js → NewSummary-DTuLIMtG.js} +1 -1
- package/dist/{OnboardingDropinComponent-BRZuLCE8.js → OnboardingDropinComponent-CaRk-dgZ.js} +74 -74
- package/dist/{PayoutDetailsDropin-B6ZMIVid.js → PayoutDetailsDropin-CaJE5U6g.js} +32 -32
- package/dist/{PayoutDetailsPage-BSzf6sev.js → PayoutDetailsPage-B0i-iUKS.js} +4 -4
- package/dist/{RadioGroup-BZ-EfNXM.js → RadioGroup-DQa-nkgM.js} +1 -1
- package/dist/{Review-BVeMAC7t.js → Review-CgkKBldb.js} +5 -5
- package/dist/{RootBusinessDetailsPage-OlgTozou.js → RootBusinessDetailsPage-Bh3M9G8g.js} +4 -4
- package/dist/{RootBusinessLinesPage-CUwKkzZU.js → RootBusinessLinesPage-C4wzI8-k.js} +24 -24
- package/dist/{RootIndividualDetailsPage-CqP8gdvk.js → RootIndividualDetailsPage-GBrzZTH2.js} +5 -5
- package/dist/{Select-DSLn5CCG.js → Select-Bt5Y91sI.js} +3 -3
- package/dist/{SignPCIComponent-CT6GL442.js → SignPCIComponent-BxzfAQvx.js} +10 -10
- package/dist/{SingpassSelection-BORgM-de.js → SingpassSelection-hjBRnBDR.js} +4 -4
- package/dist/{SoleProprietorshipPage-BylQa2F1.js → SoleProprietorshipPage-B6HqJtcC.js} +3 -3
- package/dist/{SourceOfFundsPage-Br-FaeUd.js → SourceOfFundsPage-D6V3pwXP.js} +31 -31
- package/dist/{StepProgressIndicator-ZZsrHrtb.js → StepProgressIndicator-DhfpqmVy.js} +1 -1
- package/dist/{StoreProvider-lJLpl6iE.js → StoreProvider-CGAl-5Sk.js} +4 -4
- package/dist/{Summary-DdFh8LL0.js → Summary-DKmu4xU7.js} +5 -5
- package/dist/{TaxInformationField-5nazrzc4.js → TaxInformationField-wLMc_uT-.js} +19 -19
- package/dist/{TaxReportingDropin-DAeAPOI5.js → TaxReportingDropin-DsPw-MUV.js} +13 -13
- package/dist/{TextArea-D0eJRv8v.js → TextArea-BGhv4y1a.js} +1 -1
- package/dist/{TileGroup-C8YY0Xwv.js → TileGroup-D3HIe8QQ.js} +2 -2
- package/dist/{TrustDetailsPage-BHo4SFbD.js → TrustDetailsPage-CWKPHxTe.js} +30 -30
- package/dist/{TrustMemberCompanyPage-CZMF952c.js → TrustMemberCompanyPage-C89-gUpd.js} +4 -4
- package/dist/{TrustMemberIndividualPage-RSIXbPaf.js → TrustMemberIndividualPage-Cz-Z8U7w.js} +3 -3
- package/dist/{TrustMemberRoleAndTypePage-BehlWyo7.js → TrustMemberRoleAndTypePage-BxzEkGzE.js} +20 -20
- package/dist/{TrustMembersOverview-KI0J7peC.js → TrustMembersOverview-BtycEgbW.js} +9 -9
- package/dist/{UnincorporatedPartnershipIndividualPage-CNf-sPP4.js → UnincorporatedPartnershipIndividualPage-CSQjYe4p.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-OyKeY30-.js → UnincorporatedPartnershipMemberCompanyPage-ZAQkvjQr.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-Bt21JX-F.js → UnincorporatedPartnershipMemberRoleAndTypePage-B9bvg2ra.js} +10 -10
- package/dist/{UnincorporatedPartnershipMembersOverview-DdTGn8QH.js → UnincorporatedPartnershipMembersOverview-DYDDYisa.js} +6 -6
- package/dist/{VerificationErrorAlert-ChGZqC_p.js → VerificationErrorAlert-Sf7ovPdg.js} +2 -2
- package/dist/{ViewVerificationStatusComponent-9RUetbsi.js → ViewVerificationStatusComponent-D6qJacuF.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-m56sOqio.js → bafinUtils-4YaweTCy.js} +1 -1
- package/dist/{commonValidators-cEWuPs2I.js → commonValidators-nusLcRK6.js} +1 -1
- package/dist/{dropinUtils-B-qE8vvG.js → dropinUtils-DoPR1iTm.js} +3 -3
- package/dist/{formUtils-DjInEErz.js → formUtils-zdJ_jyqE.js} +2 -2
- package/dist/{getName-CzAV6RHp.js → getName-Ca2cTXzw.js} +1 -1
- package/dist/{getProblemsForEntity-CVzYoCCC.js → getProblemsForEntity-CNltAsMa.js} +1 -1
- package/dist/{getTrustedFields-BeaCYGD7.js → getTrustedFields-rU6j1TOQ.js} +1 -1
- package/dist/{isEmpty-CRqBruDc.js → isEmpty-BN2tOceJ.js} +1 -1
- package/dist/{japanSupportUtils-BK4rTASp.js → japanSupportUtils-B76IOTvL.js} +1 -1
- package/dist/{localizeDateString-BSZiJcEb.js → localizeDateString-9ciBezNu.js} +1 -1
- package/dist/{mapExistingFile-BcvOzQNH.js → mapExistingFile-BS79kq3W.js} +2 -2
- package/dist/{mapJpAddressSchemaToAddressLocalizations-BgHjkrJG.js → mapJpAddressSchemaToAddressLocalizations--7Bt3usJ.js} +1 -1
- package/dist/{mapLegalEntityToIndividualSchema-_HlywUjg.js → mapLegalEntityToIndividualSchema-BxOmNDle.js} +3 -3
- package/dist/{mapTransferInstrumentToPayoutAccount-69DkBhXm.js → mapTransferInstrumentToPayoutAccount-ONPBT9KF.js} +1 -1
- package/dist/{omitObscuredFieldsIfUnchanged-tsdNkCyN.js → omitObscuredFieldsIfUnchanged-DhUQJrjg.js} +2 -2
- package/dist/{patternValidators-DuOaKe_S.js → patternValidators-Cem-Icxv.js} +1 -1
- package/dist/{process-field-configurations-DcWH0t4d.js → process-field-configurations-BWC3i2at.js} +1 -1
- package/dist/{resolveEnvironment-Bs-ygpN1.js → resolveEnvironment-BLaPb5Nd.js} +3 -3
- package/dist/{roleMetadata-B-2OBUCV.js → roleMetadata-RivmWKE-.js} +2 -2
- package/dist/{types-QKgg5_IB.js → types-BLjngIPE.js} +1 -1
- package/dist/{types-C4u-zy-W.js → types-DmjPF4Sw.js} +1 -1
- package/dist/{types-Cop44iUw.js → types-i_4sFTBn.js} +1 -1
- package/dist/{unincorporated-partnership-DCtqSVs0.js → unincorporated-partnership-R_fKlee-.js} +1 -1
- package/dist/{useAssociatedLegalEntity-COa3bZhe.js → useAssociatedLegalEntity-sPi1NDib.js} +1 -1
- package/dist/{useBusinessDetailsData-DslnLoRz.js → useBusinessDetailsData-Bqk04i4C.js} +47 -47
- package/dist/{useCreateLegalEntity-CO7qV3Sc.js → useCreateLegalEntity-Bsp9NV_x.js} +1 -1
- package/dist/{useForm-F0hPmSqd.js → useForm-OoKBR6oR.js} +2 -2
- package/dist/{useFormContext-EeYo1zte.js → useFormContext-DSPJpGk8.js} +6 -6
- package/dist/{useGlobalData-DKxTj6bo.js → useGlobalData-Crfi88kZ.js} +8 -8
- package/dist/{useMultiForm-CR9pqYjq.js → useMultiForm-CvhpFewv.js} +3 -3
- package/dist/{useOnboardingStatus-D2I19RDh.js → useOnboardingStatus-CAHU1D0X.js} +1 -1
- package/dist/{useScenarios-BvV1t76w.js → useScenarios-DBv_dA-7.js} +1 -1
- package/dist/{useTermsOfServiceStatus-C0uqYCFG.js → useTermsOfServiceStatus-ZQHlgGZB.js} +1 -1
- package/dist/{useToastContext-Dl59lP3Q.js → useToastContext-fRmLeQb3.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-BRQxcrvc.js → useUnincorporatedPartnershipMembers-DiyYkTfs.js} +4 -4
- package/dist/{useUpdateBusinessLines-FG7FE2l9.js → useUpdateBusinessLines-R_TsTeL9.js} +3 -3
- package/dist/{useUpdateLegalEntity-Dr3e1mG2.js → useUpdateLegalEntity-B08ICvGj.js} +2 -2
- package/dist/{utils-2-VlpJvY.js → utils-3lClW_1M.js} +1 -1
- package/dist/{utils-CWrDCmo5.js → utils-B0FPRdWI.js} +1 -1
- package/dist/{utils-Bmx7w6cI.js → utils-BRoXRTJU.js} +5 -5
- package/dist/{utils-CCjjhUUz.js → utils-Bjuz29z7.js} +2 -2
- package/dist/{utils-DCXRR-sY.js → utils-CPMlF6U8.js} +1 -1
- package/dist/{validate-B--uGfCw.js → validate-Bkn-4Xav.js} +1 -1
- package/dist/{validate-DdW_lr56.js → validate-DXgI7aOv.js} +2 -2
- package/dist/{validationError-DmyvOY60.js → validationError-1Dg0ubhb.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-BLaPb5Nd.js";
|
|
14
|
+
import { V as ViewVerificationStatusComponent } from "./ViewVerificationStatusComponent-D6qJacuF.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-CGAl-5Sk.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-CGAl-5Sk.js";
|
|
12
|
+
import { s as summaryStep } from "./Summary-DKmu4xU7.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-Cn8gzNGG.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-CPMlF6U8.js";
|
|
11
|
+
import { ao as entriesOf } from "./StoreProvider-CGAl-5Sk.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-CGAl-5Sk.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-CGAl-5Sk.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-CGAl-5Sk.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-CGAl-5Sk.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-CGAl-5Sk.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-CGAl-5Sk.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-DBv_dA-7.js";
|
|
12
|
+
import { a9 as CountryCodes, ae as createLogger } from "./StoreProvider-CGAl-5Sk.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-BN2tOceJ.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-CGAl-5Sk.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-BDI27kIy.js";
|
|
16
|
+
import { T as TileGroup } from "./TileGroup-D3HIe8QQ.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-CGAl-5Sk.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-tsdNkCyN.js → omitObscuredFieldsIfUnchanged-DhUQJrjg.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-CGAl-5Sk.js";
|
|
11
|
+
import { i as isValueObscured } from "./MaskedInput-B9djDROe.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-CGAl-5Sk.js";
|
|
11
11
|
const validateNotEmptyOnBlur = {
|
|
12
12
|
modes: ["blur"],
|
|
13
13
|
validate: (val) => !isEmpty(val),
|
package/dist/{process-field-configurations-DcWH0t4d.js → process-field-configurations-BWC3i2at.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-CGAl-5Sk.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] = "c6148c36-a942-423d-b7b0-2cfa92d192f1", e._sentryDebugIdIdentifier = "sentry-dbid-c6148c36-a942-423d-b7b0-2cfa92d192f1");
|
|
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-CGAl-5Sk.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.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-CGAl-5Sk.js";
|
|
11
|
+
import { U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-R_fKlee-.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 { L as LegalEntityTypes, a9 as CountryCodes } from "./StoreProvider-
|
|
10
|
+
import { L as LegalEntityTypes, a9 as CountryCodes } from "./StoreProvider-CGAl-5Sk.js";
|
|
11
11
|
const trustMemberLegalEntityTypes = [
|
|
12
12
|
LegalEntityTypes.INDIVIDUAL,
|
|
13
13
|
LegalEntityTypes.ORGANIZATION
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { a9 as CountryCodes } from "./StoreProvider-
|
|
10
|
+
import { a9 as CountryCodes } from "./StoreProvider-CGAl-5Sk.js";
|
|
11
11
|
import { C as Currencies } from "./currency-CrdnaaDu.js";
|
|
12
12
|
const currencyByCountry = {
|
|
13
13
|
[CountryCodes.Australia]: [Currencies.AUD],
|
package/dist/{unincorporated-partnership-DCtqSVs0.js → unincorporated-partnership-R_fKlee-.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-CGAl-5Sk.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-CGAl-5Sk.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-R_TsTeL9.js";
|
|
14
|
+
import { u as useScenarios } from "./useScenarios-DBv_dA-7.js";
|
|
15
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-Bsp9NV_x.js";
|
|
16
|
+
import { u as useToastContext, a as useInvalidateRootLegalEntity } from "./useToastContext-fRmLeQb3.js";
|
|
17
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-B08ICvGj.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-CGAl-5Sk.js";
|
|
19
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-DSPJpGk8.js";
|
|
20
|
+
import { C as CompanyTypesValues } from "./bafinUtils-4YaweTCy.js";
|
|
21
|
+
import { c as composePerScenarioFormConfigurations, g as getPropsFromConfigurations } from "./process-field-configurations-BWC3i2at.js";
|
|
22
|
+
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-DoPR1iTm.js";
|
|
23
|
+
import { u as useMultiForm } from "./useMultiForm-CvhpFewv.js";
|
|
24
|
+
import { u as uppercase, m as mapExistingFile, g as getPageName, b as useScenarioConfiguration } from "./mapExistingFile-BS79kq3W.js";
|
|
25
|
+
import { C as Confirm } from "./Confirm-roUo52pe.js";
|
|
26
|
+
import { E as ErrorPanel } from "./ErrorPanel-Cn8gzNGG.js";
|
|
27
|
+
import { N as NewSummary } from "./NewSummary-DTuLIMtG.js";
|
|
28
|
+
import { u as usePageLandedEvent, s as summaryStep, a as summaryStyles } from "./Summary-DKmu4xU7.js";
|
|
29
|
+
import { a as getDocument, j as getDocuments, c as createDocumentRequest, k as mergeProofOfOwnershipAttachments, b as getFileExtention, d as documentApiUtils } from "./validate-DXgI7aOv.js";
|
|
30
|
+
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-zdJ_jyqE.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-wLMc_uT-.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-BW87TDZl.js";
|
|
33
|
+
import { K as KEYBOARD_KEYS, M as Modal, a as ModalContent } from "./Modal-727fSuFr.js";
|
|
34
|
+
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, a as getAddressSchemaLabelsByCountry, f as mapAddressLabelsNewSummary, c as getKeyForField } from "./utils-B0FPRdWI.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-Bjuz29z7.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-D0JjbOT4.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-BRoXRTJU.js";
|
|
40
|
+
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-1Dg0ubhb.js";
|
|
41
|
+
import { t as toFullWidth, m as mapJpAddressSchemaToAddressLocalizations } from "./mapJpAddressSchemaToAddressLocalizations--7Bt3usJ.js";
|
|
42
|
+
import { i as isEmpty$1 } from "./isEmpty-BN2tOceJ.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-DhqTdIeI.js";
|
|
46
|
+
import { L as LandingLayout } from "./LandingLayout-CC_FGMAs.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-CgTgIMv8.js";
|
|
48
|
+
import { h as useBusinessLines } from "./OnboardingDropinComponent-CaRk-dgZ.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-DQGjbUsQ.js";
|
|
51
|
+
import { F as Field } from "./Field-BDI27kIy.js";
|
|
52
|
+
import { I as InputDate, f as formatDateObj } from "./InputDate-nNag-jcu.js";
|
|
53
|
+
import { a as validateNotEmptyOnBlur, v as validatePatternOnBlur, b as validateJaKanaLegalCompanyName, c as validateJaHaniLegalCompanyName } from "./patternValidators-Cem-Icxv.js";
|
|
54
|
+
import { M as MaskedInput, m as makeMask, d as alphanumericInputs, b as alphaInputs, n as numericInputs } from "./MaskedInput-B9djDROe.js";
|
|
55
|
+
import { i as isJapanLocalizationEnabled } from "./japanSupportUtils-B76IOTvL.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-C30mEtLP.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-DFjKyN6O.js";
|
|
62
|
+
import { C as CountryField, a as COUNTRY_FIELD } from "./CountryField-Cxih2YUu.js";
|
|
63
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-CgNgcjW-.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-BQLamvB-.js";
|
|
66
|
+
import { T as TileGroup } from "./TileGroup-D3HIe8QQ.js";
|
|
67
|
+
import { c as currencyByCountry } from "./types-i_4sFTBn.js";
|
|
68
|
+
import { R as RadioGroup } from "./RadioGroup-DQa-nkgM.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-DcJCN9dG.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-CGAl-5Sk.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-CGAl-5Sk.js";
|
|
12
|
+
import { V as ValidationResult, o as omitKeys, a as addKeys } from "./utils-CPMlF6U8.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-CGAl-5Sk.js";
|
|
14
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-CgNgcjW-.js";
|
|
15
|
+
import { M as MaybeModal } from "./MaybeModal-BYsvKCcc.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-DoPR1iTm.js";
|
|
18
|
+
import { C as Confirm } from "./Confirm-roUo52pe.js";
|
|
19
|
+
import { S as Summary } from "./Summary-DKmu4xU7.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-CGAl-5Sk.js";
|
|
13
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-CgNgcjW-.js";
|
|
14
|
+
import { M as MaybeModal } from "./MaybeModal-BYsvKCcc.js";
|
|
15
|
+
import { a as ModalContent, b as ModalHeader, c as ModalFooter } from "./Modal-727fSuFr.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-DhfpqmVy.js";
|
|
18
|
+
import { F as FormRouterContextProvider } from "./dropinUtils-DoPR1iTm.js";
|
|
19
|
+
import { F as FormNavigation } from "./FormNavigation-D90R1OgK.js";
|
|
20
|
+
import { s as summaryStep, S as Summary } from "./Summary-DKmu4xU7.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-CGAl-5Sk.js";
|
|
12
|
+
import { V as ValidationResult } from "./utils-CPMlF6U8.js";
|
|
13
|
+
import { a as isNotEmptyValidator } from "./commonValidators-nusLcRK6.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-CGAl-5Sk.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-CGAl-5Sk.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-CGAl-5Sk.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-CGAl-5Sk.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-CGAl-5Sk.js";
|
|
12
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-sPi1NDib.js";
|
|
13
|
+
import { U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-R_fKlee-.js";
|
|
14
|
+
import { g as getLegalEntityNameBasedOnType } from "./getName-Ca2cTXzw.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-CGAl-5Sk.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-BDI27kIy.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-Bt5Y91sI.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-fRmLeQb3.js";
|
|
12
|
+
import { b as useApiContext, j as httpPost } from "./StoreProvider-CGAl-5Sk.js";
|
|
13
13
|
const updateLegalEntity = async (rootLegalEntityId, baseUrl, data) => {
|
|
14
14
|
return httpPost(
|
|
15
15
|
{
|