@adyen/kyc-components 4.6.0-beta.0 → 4.6.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AcceptTermsOfServiceComponent-DTURkN9O.js → AcceptTermsOfServiceComponent-CtaBBrk0.js} +14 -14
- package/dist/{AccountSetupRejected-D7yqqcm_.js → AccountSetupRejected-D8gaufMw.js} +1 -1
- package/dist/{ActionBar-CdFYb-7S.js → ActionBar-DGwdrrB_.js} +1 -1
- package/dist/{Address-BkeFTMl-.js → Address-cz2S86zI.js} +9 -9
- package/dist/{Avatar-BpQFX0rJ.js → Avatar-7kgh6CHI.js} +1 -1
- package/dist/{BusinessFinancingComponent-CshEgNjO.js → BusinessFinancingComponent-eBKy6xU8.js} +4 -4
- package/dist/{BusinessFinancingDropin-B2kKDCNB.js → BusinessFinancingDropin-ChEgF-ZA.js} +27 -27
- package/dist/{BusinessFinancingPage-96zTF7BJ.js → BusinessFinancingPage-xCNhha70.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-BVucjw8H.js → BusinessTypeSelectionPage-BNek-KxD.js} +8 -8
- package/dist/{Checkbox-Dwf4zXgj.js → Checkbox-DGkb11a4.js} +1 -1
- package/dist/{Confirm-DOjzHnlC.js → Confirm-Cx_YRCkh.js} +2 -2
- package/dist/{ConstitutionalDocument-C4HWFtJ-.js → ConstitutionalDocument-E0asVAUM.js} +17 -17
- package/dist/{ContactDetails-ByrH32Jo.js → ContactDetails-CfBKZKqs.js} +5 -5
- package/dist/{ContextGuidance-BUczCMV3.js → ContextGuidance-rEAZ5ICB.js} +1 -1
- package/dist/{CountryField-C9nbUmpe.js → CountryField-RU-_jjMw.js} +3 -3
- package/dist/{CreateIndividualComponent-AOb8RP8N.js → CreateIndividualComponent-Ce9ekGPJ.js} +4 -4
- package/dist/{CreateTransferInstrumentComponent-BBytn3E3.js → CreateTransferInstrumentComponent-DpTM7rui.js} +3 -3
- package/dist/{Currency-B1ApVUnP.js → Currency-CqFX7y22.js} +6 -6
- package/dist/{CustomerSupport-DDtZA5jI.js → CustomerSupport-z0-Zf4BA.js} +9 -9
- package/dist/{DebugModal-wXFq4cg1.js → DebugModal-BFke28dv.js} +6 -6
- package/dist/{DecisionMakerDetails-Up9HU_qy.js → DecisionMakerDetails-ug3kwUws.js} +8 -8
- package/dist/{DecisionMakerDetailsPage-OeI7y1aX.js → DecisionMakerDetailsPage-B593DUf-.js} +6 -6
- package/dist/{DecisionMakers-5bUJ4S4V.js → DecisionMakers-C8x2P7_6.js} +17 -17
- package/dist/{Dropzone-Bf8v-4iJ.js → Dropzone-XOUgBdVH.js} +3 -3
- package/dist/{EmbeddedStatus-DQmqyOzv.js → EmbeddedStatus-Cyv2LQoP.js} +2 -2
- package/dist/{EndStateLayout-DZgYKmw6.js → EndStateLayout-D3ONBI6e.js} +1 -1
- package/dist/{EntityAssociation-Dc8O6xJv.js → EntityAssociation-BXqi-QjN.js} +4 -4
- package/dist/{EntityGuidanceStatus-DhCqUWGF.js → EntityGuidanceStatus-Be0segm2.js} +3 -3
- package/dist/{ErrorPanel-4HIDH4sr.js → ErrorPanel-DdzwoQdQ.js} +1 -1
- package/dist/{Field-CWq5XOh3.js → Field-Bi72wg1x.js} +1 -1
- package/dist/{FormNavigation-CDlQZRNb.js → FormNavigation-HHYU6Bvh.js} +2 -2
- package/dist/{Individual.rules-BhSXCdTl.js → Individual.rules-DBs037_d.js} +5 -5
- package/dist/{IndividualDropin-DS8kUrXB.js → IndividualDropin-DTdlzDN5.js} +49 -49
- package/dist/{InputDate-C2NEOpK4.js → InputDate-C-lV3lVz.js} +1 -1
- package/dist/{InputText-20pWI3ja.js → InputText-DgCXg3ha.js} +1 -1
- package/dist/{Introduction-D6x5z2oe.js → Introduction-BQKPOybv.js} +3 -3
- package/dist/{InvitedDecisionMakerComponent-Bg-DMehe.js → InvitedDecisionMakerComponent-Czf-jAbN.js} +9 -9
- package/dist/{JpAddress-CX4IfNRB.js → JpAddress-CG276GiF.js} +8 -8
- package/dist/{LandingLayout-y-X0NrR1.js → LandingLayout-Bm6-wuBa.js} +1 -1
- package/dist/{LegalCompanyNameField-lEerISaT.js → LegalCompanyNameField-CMLXmTUL.js} +5 -5
- package/dist/{LegalRepresentativeDetailsPage-C6dOsu1g.js → LegalRepresentativeDetailsPage-DtWNFd4J.js} +3 -3
- package/dist/{Link-DeFoaStC.js → Link-h7lXdwOH.js} +1 -1
- package/dist/{ListItem-BFxtRiVb.js → ListItem-DtZwuSE-.js} +2 -2
- package/dist/{LoaderWrapper-Bh1b67kY.js → LoaderWrapper-FFDM3y51.js} +1 -1
- package/dist/{ManageIndividualComponent-DHYNg_KN.js → ManageIndividualComponent-DO6HJ0WQ.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-BNzELB7A.js → ManageTermsOfServiceComponent-BnGKiN9o.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-9r84TFsu.js → ManageTransferInstrumentComponent-k_s_jnoi.js} +9 -9
- package/dist/{MaskedInput-DPSvsK95.js → MaskedInput-BmBY-bPZ.js} +4 -4
- package/dist/{MaybeModal-BbrppFfg.js → MaybeModal-DgWQKG6c.js} +2 -2
- package/dist/{Modal-CAVcW_pH.js → Modal-D9wE21RN.js} +1 -1
- package/dist/{Name-eQhc9Vta.js → Name-DpY9iCJz.js} +4 -4
- package/dist/{NewSummary-B_xfd8vG.js → NewSummary-BDTj70zj.js} +1 -1
- package/dist/{OnboardingDropinComponent-BRZuLCE8.js → OnboardingDropinComponent-BWl5iBJ9.js} +77 -77
- package/dist/{PayoutDetailsDropin-B6ZMIVid.js → PayoutDetailsDropin-CadGkyUR.js} +32 -32
- package/dist/{PayoutDetailsPage-BSzf6sev.js → PayoutDetailsPage-Di4jFPah.js} +4 -4
- package/dist/{RadioGroup-BZ-EfNXM.js → RadioGroup-LizCjPx9.js} +1 -1
- package/dist/{Review-BVeMAC7t.js → Review-BKfblhJh.js} +5 -5
- package/dist/{RootBusinessDetailsPage-OlgTozou.js → RootBusinessDetailsPage-CHwstEWH.js} +4 -4
- package/dist/{RootBusinessLinesPage-CUwKkzZU.js → RootBusinessLinesPage-CBvkeTZs.js} +24 -24
- package/dist/{RootIndividualDetailsPage-CqP8gdvk.js → RootIndividualDetailsPage-CDsWcFTr.js} +5 -5
- package/dist/{Select-DSLn5CCG.js → Select-B5Auppvc.js} +3 -3
- package/dist/{SignPCIComponent-CT6GL442.js → SignPCIComponent-4Mav0jvb.js} +10 -10
- package/dist/{SingpassSelection-BORgM-de.js → SingpassSelection-DzP1oyLx.js} +4 -4
- package/dist/{SoleProprietorshipPage-BylQa2F1.js → SoleProprietorshipPage-pWLW1UCN.js} +3 -3
- package/dist/{SourceOfFundsPage-Br-FaeUd.js → SourceOfFundsPage-CAEMC790.js} +31 -31
- package/dist/{StepProgressIndicator-ZZsrHrtb.js → StepProgressIndicator-qtFaxrOK.js} +1 -1
- package/dist/{StoreProvider-lJLpl6iE.js → StoreProvider-Bw2i3Zhn.js} +4 -4
- package/dist/{Summary-DdFh8LL0.js → Summary-hiWXpdNQ.js} +5 -5
- package/dist/{TaxInformationField-5nazrzc4.js → TaxInformationField-Dko14OFs.js} +19 -19
- package/dist/{TaxReportingDropin-DAeAPOI5.js → TaxReportingDropin-CdAtICCF.js} +13 -13
- package/dist/{TextArea-D0eJRv8v.js → TextArea-Cc3HLIWM.js} +1 -1
- package/dist/{TileGroup-C8YY0Xwv.js → TileGroup-YBMTWHr5.js} +2 -2
- package/dist/{TrustDetailsPage-BHo4SFbD.js → TrustDetailsPage-DjVeq2Yq.js} +30 -30
- package/dist/{TrustMemberCompanyPage-CZMF952c.js → TrustMemberCompanyPage-Be1_uZ0w.js} +4 -4
- package/dist/{TrustMemberIndividualPage-RSIXbPaf.js → TrustMemberIndividualPage-D4G8GSLz.js} +3 -3
- package/dist/{TrustMemberRoleAndTypePage-BehlWyo7.js → TrustMemberRoleAndTypePage-_SxW1Zx5.js} +20 -20
- package/dist/{TrustMembersOverview-KI0J7peC.js → TrustMembersOverview-60rk8ytK.js} +9 -9
- package/dist/{UnincorporatedPartnershipIndividualPage-CNf-sPP4.js → UnincorporatedPartnershipIndividualPage-DjHV99_1.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-OyKeY30-.js → UnincorporatedPartnershipMemberCompanyPage-CXwtHYR4.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-Bt21JX-F.js → UnincorporatedPartnershipMemberRoleAndTypePage-LHck8IgQ.js} +10 -10
- package/dist/{UnincorporatedPartnershipMembersOverview-DdTGn8QH.js → UnincorporatedPartnershipMembersOverview-IXdRZf9v.js} +6 -6
- package/dist/{VerificationErrorAlert-ChGZqC_p.js → VerificationErrorAlert-NjuNP9Bk.js} +2 -2
- package/dist/{ViewVerificationStatusComponent-9RUetbsi.js → ViewVerificationStatusComponent-D50G-bDH.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-CtHHMCvt.js} +1 -1
- package/dist/{commonValidators-cEWuPs2I.js → commonValidators-BC02Gy6-.js} +1 -1
- package/dist/{dropinUtils-B-qE8vvG.js → dropinUtils-BkHKfXSh.js} +3 -3
- package/dist/{formUtils-DjInEErz.js → formUtils-DaBxRmKB.js} +2 -2
- package/dist/{getName-CzAV6RHp.js → getName-BocXk_Oo.js} +1 -1
- package/dist/{getProblemsForEntity-CVzYoCCC.js → getProblemsForEntity-BnZ-IbHH.js} +1 -1
- package/dist/{getTrustedFields-BeaCYGD7.js → getTrustedFields-DuoR7QX8.js} +1 -1
- package/dist/{isEmpty-CRqBruDc.js → isEmpty-Cp5JF-o7.js} +1 -1
- package/dist/{japanSupportUtils-BK4rTASp.js → japanSupportUtils-DORPmRyw.js} +1 -1
- package/dist/{localizeDateString-BSZiJcEb.js → localizeDateString-f31Noa4H.js} +1 -1
- package/dist/{mapExistingFile-BcvOzQNH.js → mapExistingFile-CsbIL-h4.js} +2 -2
- package/dist/{mapJpAddressSchemaToAddressLocalizations-BgHjkrJG.js → mapJpAddressSchemaToAddressLocalizations-Ch6-Q6xp.js} +1 -1
- package/dist/{mapLegalEntityToIndividualSchema-_HlywUjg.js → mapLegalEntityToIndividualSchema-CTANa3o4.js} +3 -3
- package/dist/{mapTransferInstrumentToPayoutAccount-69DkBhXm.js → mapTransferInstrumentToPayoutAccount-D8l4Eyna.js} +1 -1
- package/dist/{omitObscuredFieldsIfUnchanged-tsdNkCyN.js → omitObscuredFieldsIfUnchanged-BUuyTKM2.js} +2 -2
- package/dist/{patternValidators-DuOaKe_S.js → patternValidators-Cvx-61hr.js} +1 -1
- package/dist/{process-field-configurations-DcWH0t4d.js → process-field-configurations-BwTWueja.js} +1 -1
- package/dist/{resolveEnvironment-Bs-ygpN1.js → resolveEnvironment-BWG-oWgD.js} +3 -3
- package/dist/{roleMetadata-B-2OBUCV.js → roleMetadata-DTC8MduW.js} +2 -2
- package/dist/{types-QKgg5_IB.js → types-Bg2W03gs.js} +1 -1
- package/dist/{types-C4u-zy-W.js → types-CUVhkrQ_.js} +1 -1
- package/dist/{types-Cop44iUw.js → types-stYElXGv.js} +1 -1
- package/dist/{unincorporated-partnership-DCtqSVs0.js → unincorporated-partnership-DkoZf2HM.js} +1 -1
- package/dist/{useAssociatedLegalEntity-COa3bZhe.js → useAssociatedLegalEntity-DDI1dqf1.js} +1 -1
- package/dist/{useBusinessDetailsData-DslnLoRz.js → useBusinessDetailsData-BhFSxwA5.js} +47 -47
- package/dist/{useCreateLegalEntity-CO7qV3Sc.js → useCreateLegalEntity-CihFeIVA.js} +1 -1
- package/dist/{useForm-F0hPmSqd.js → useForm-CMya0m-t.js} +2 -2
- package/dist/{useFormContext-EeYo1zte.js → useFormContext-CkOlWAMg.js} +6 -6
- package/dist/{useGlobalData-DKxTj6bo.js → useGlobalData-D3w4cYoQ.js} +8 -8
- package/dist/{useMultiForm-CR9pqYjq.js → useMultiForm-Ra57v4W1.js} +3 -3
- package/dist/{useOnboardingStatus-D2I19RDh.js → useOnboardingStatus-8oINpU5O.js} +1 -1
- package/dist/{useScenarios-BvV1t76w.js → useScenarios-CjVrM6HE.js} +1 -1
- package/dist/{useTermsOfServiceStatus-C0uqYCFG.js → useTermsOfServiceStatus-C95z-l29.js} +1 -1
- package/dist/{useToastContext-Dl59lP3Q.js → useToastContext-C7Fhdf1k.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-BRQxcrvc.js → useUnincorporatedPartnershipMembers-B4HIb6By.js} +4 -4
- package/dist/{useUpdateBusinessLines-FG7FE2l9.js → useUpdateBusinessLines-BVFPn5Jw.js} +3 -3
- package/dist/{useUpdateLegalEntity-Dr3e1mG2.js → useUpdateLegalEntity-ClNcbl_C.js} +2 -2
- package/dist/{utils-CCjjhUUz.js → utils-BSs_8dJO.js} +2 -2
- package/dist/{utils-2-VlpJvY.js → utils-CURcw-Ft.js} +1 -1
- package/dist/{utils-Bmx7w6cI.js → utils-CmY_OddU.js} +5 -5
- package/dist/{utils-CWrDCmo5.js → utils-DfLgN8WS.js} +1 -1
- package/dist/{utils-DCXRR-sY.js → utils-o3cSxX45.js} +1 -1
- package/dist/{validate-B--uGfCw.js → validate-Bbt21cCv.js} +1 -1
- package/dist/{validate-DdW_lr56.js → validate-Bj4BLKtR.js} +2 -2
- package/dist/{validationError-DmyvOY60.js → validationError-CMwGAQFZ.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-BWG-oWgD.js";
|
|
14
|
+
import { V as ViewVerificationStatusComponent } from "./ViewVerificationStatusComponent-D50G-bDH.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-Bw2i3Zhn.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-Bw2i3Zhn.js";
|
|
12
|
+
import { s as summaryStep } from "./Summary-hiWXpdNQ.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-DdzwoQdQ.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-o3cSxX45.js";
|
|
11
|
+
import { ao as entriesOf } from "./StoreProvider-Bw2i3Zhn.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-Bw2i3Zhn.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-Bw2i3Zhn.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-Bw2i3Zhn.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-Bw2i3Zhn.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-Bw2i3Zhn.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-Bw2i3Zhn.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-CjVrM6HE.js";
|
|
12
|
+
import { a9 as CountryCodes, ae as createLogger } from "./StoreProvider-Bw2i3Zhn.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-Cp5JF-o7.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-Bw2i3Zhn.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-Bi72wg1x.js";
|
|
16
|
+
import { T as TileGroup } from "./TileGroup-YBMTWHr5.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-Bw2i3Zhn.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-BUuyTKM2.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-Bw2i3Zhn.js";
|
|
11
|
+
import { i as isValueObscured } from "./MaskedInput-BmBY-bPZ.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-Bw2i3Zhn.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-BwTWueja.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-Bw2i3Zhn.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] = "eaf32ba4-4002-4a74-9817-e65e357032fc", e._sentryDebugIdIdentifier = "sentry-dbid-eaf32ba4-4002-4a74-9817-e65e357032fc");
|
|
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-Bw2i3Zhn.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.2" }),
|
|
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-Bw2i3Zhn.js";
|
|
11
|
+
import { U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-DkoZf2HM.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-Bw2i3Zhn.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-Bw2i3Zhn.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-DkoZf2HM.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-Bw2i3Zhn.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-Bw2i3Zhn.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-BVFPn5Jw.js";
|
|
14
|
+
import { u as useScenarios } from "./useScenarios-CjVrM6HE.js";
|
|
15
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-CihFeIVA.js";
|
|
16
|
+
import { u as useToastContext, a as useInvalidateRootLegalEntity } from "./useToastContext-C7Fhdf1k.js";
|
|
17
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-ClNcbl_C.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-Bw2i3Zhn.js";
|
|
19
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-CkOlWAMg.js";
|
|
20
|
+
import { C as CompanyTypesValues } from "./bafinUtils-CtHHMCvt.js";
|
|
21
|
+
import { c as composePerScenarioFormConfigurations, g as getPropsFromConfigurations } from "./process-field-configurations-BwTWueja.js";
|
|
22
|
+
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-BkHKfXSh.js";
|
|
23
|
+
import { u as useMultiForm } from "./useMultiForm-Ra57v4W1.js";
|
|
24
|
+
import { u as uppercase, m as mapExistingFile, g as getPageName, b as useScenarioConfiguration } from "./mapExistingFile-CsbIL-h4.js";
|
|
25
|
+
import { C as Confirm } from "./Confirm-Cx_YRCkh.js";
|
|
26
|
+
import { E as ErrorPanel } from "./ErrorPanel-DdzwoQdQ.js";
|
|
27
|
+
import { N as NewSummary } from "./NewSummary-BDTj70zj.js";
|
|
28
|
+
import { u as usePageLandedEvent, s as summaryStep, a as summaryStyles } from "./Summary-hiWXpdNQ.js";
|
|
29
|
+
import { a as getDocument, j as getDocuments, c as createDocumentRequest, k as mergeProofOfOwnershipAttachments, b as getFileExtention, d as documentApiUtils } from "./validate-Bj4BLKtR.js";
|
|
30
|
+
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-DaBxRmKB.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-Dko14OFs.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-E0asVAUM.js";
|
|
33
|
+
import { K as KEYBOARD_KEYS, M as Modal, a as ModalContent } from "./Modal-D9wE21RN.js";
|
|
34
|
+
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, a as getAddressSchemaLabelsByCountry, f as mapAddressLabelsNewSummary, c as getKeyForField } from "./utils-DfLgN8WS.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-BSs_8dJO.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-cz2S86zI.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-CmY_OddU.js";
|
|
40
|
+
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-CMwGAQFZ.js";
|
|
41
|
+
import { t as toFullWidth, m as mapJpAddressSchemaToAddressLocalizations } from "./mapJpAddressSchemaToAddressLocalizations-Ch6-Q6xp.js";
|
|
42
|
+
import { i as isEmpty$1 } from "./isEmpty-Cp5JF-o7.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-CqFX7y22.js";
|
|
46
|
+
import { L as LandingLayout } from "./LandingLayout-Bm6-wuBa.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-CMLXmTUL.js";
|
|
48
|
+
import { h as useBusinessLines } from "./OnboardingDropinComponent-BWl5iBJ9.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-DGkb11a4.js";
|
|
51
|
+
import { F as Field } from "./Field-Bi72wg1x.js";
|
|
52
|
+
import { I as InputDate, f as formatDateObj } from "./InputDate-C-lV3lVz.js";
|
|
53
|
+
import { a as validateNotEmptyOnBlur, v as validatePatternOnBlur, b as validateJaKanaLegalCompanyName, c as validateJaHaniLegalCompanyName } from "./patternValidators-Cvx-61hr.js";
|
|
54
|
+
import { M as MaskedInput, m as makeMask, d as alphanumericInputs, b as alphaInputs, n as numericInputs } from "./MaskedInput-BmBY-bPZ.js";
|
|
55
|
+
import { i as isJapanLocalizationEnabled } from "./japanSupportUtils-DORPmRyw.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-h7lXdwOH.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-DgCXg3ha.js";
|
|
62
|
+
import { C as CountryField, a as COUNTRY_FIELD } from "./CountryField-RU-_jjMw.js";
|
|
63
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-FFDM3y51.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-DtZwuSE-.js";
|
|
66
|
+
import { T as TileGroup } from "./TileGroup-YBMTWHr5.js";
|
|
67
|
+
import { c as currencyByCountry } from "./types-stYElXGv.js";
|
|
68
|
+
import { R as RadioGroup } from "./RadioGroup-LizCjPx9.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-CG276GiF.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-Bw2i3Zhn.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-Bw2i3Zhn.js";
|
|
12
|
+
import { V as ValidationResult, o as omitKeys, a as addKeys } from "./utils-o3cSxX45.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-Bw2i3Zhn.js";
|
|
14
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-FFDM3y51.js";
|
|
15
|
+
import { M as MaybeModal } from "./MaybeModal-DgWQKG6c.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-BkHKfXSh.js";
|
|
18
|
+
import { C as Confirm } from "./Confirm-Cx_YRCkh.js";
|
|
19
|
+
import { S as Summary } from "./Summary-hiWXpdNQ.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-Bw2i3Zhn.js";
|
|
13
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-FFDM3y51.js";
|
|
14
|
+
import { M as MaybeModal } from "./MaybeModal-DgWQKG6c.js";
|
|
15
|
+
import { a as ModalContent, b as ModalHeader, c as ModalFooter } from "./Modal-D9wE21RN.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-qtFaxrOK.js";
|
|
18
|
+
import { F as FormRouterContextProvider } from "./dropinUtils-BkHKfXSh.js";
|
|
19
|
+
import { F as FormNavigation } from "./FormNavigation-HHYU6Bvh.js";
|
|
20
|
+
import { s as summaryStep, S as Summary } from "./Summary-hiWXpdNQ.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-Bw2i3Zhn.js";
|
|
12
|
+
import { V as ValidationResult } from "./utils-o3cSxX45.js";
|
|
13
|
+
import { a as isNotEmptyValidator } from "./commonValidators-BC02Gy6-.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-Bw2i3Zhn.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-Bw2i3Zhn.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-Bw2i3Zhn.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-Bw2i3Zhn.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-Bw2i3Zhn.js";
|
|
12
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-DDI1dqf1.js";
|
|
13
|
+
import { U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-DkoZf2HM.js";
|
|
14
|
+
import { g as getLegalEntityNameBasedOnType } from "./getName-BocXk_Oo.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-Bw2i3Zhn.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-Bi72wg1x.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-B5Auppvc.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-C7Fhdf1k.js";
|
|
12
|
+
import { b as useApiContext, j as httpPost } from "./StoreProvider-Bw2i3Zhn.js";
|
|
13
13
|
const updateLegalEntity = async (rootLegalEntityId, baseUrl, data) => {
|
|
14
14
|
return httpPost(
|
|
15
15
|
{
|