@adyen/kyc-components 3.91.0-beta.3 → 3.91.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AcceptTermsOfServiceComponent-D8e9lyYH.js → AcceptTermsOfServiceComponent-Bl8Skw0p.js} +12 -12
- package/dist/{Accordion-DCWZYK2u.js → Accordion-BxBwztLx.js} +1 -1
- package/dist/{AccountSetupRejected-Cddo5K2O.js → AccountSetupRejected-DWnI467S.js} +3 -3
- package/dist/{ActionBar-BeXX0mEH.js → ActionBar-BI8EL50o.js} +1 -1
- package/dist/{Address-60p2PM3m.js → Address-BUrDDnmR.js} +7 -7
- package/dist/{Alert-v8DQ5jms.js → Alert-B83aFhFn.js} +2 -2
- package/dist/{Avatar-uof74GrS.js → Avatar-CWGv3_UH.js} +1 -1
- package/dist/{BusinessFinancingComponent-DY3WL0wd.js → BusinessFinancingComponent-Dp9pkrSs.js} +4 -4
- package/dist/{BusinessFinancingDropin-CdCf_S-U.js → BusinessFinancingDropin-CxDQONVa.js} +21 -21
- package/dist/{BusinessFinancingPage-CShNpepE.js → BusinessFinancingPage-CK4iko3V.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-D1S1I42C.js → BusinessTypeSelectionPage-BbCt3hSM.js} +7 -7
- package/dist/{Card-Dr5XI4U-.js → Card-CQrP0PXC.js} +2 -2
- package/dist/{ConstitutionalDocument-Bc5BP_r7.js → ConstitutionalDocument-DM6M40MP.js} +2 -2
- package/dist/{CountryField-fKjZ6eNz.js → CountryField-CsKJAI53.js} +5 -5
- package/dist/{CreateIndividualComponent-H2spSjZ-.js → CreateIndividualComponent-B6ecxCd8.js} +4 -4
- package/dist/{CreateTransferInstrumentComponent-_7KZqlEm.js → CreateTransferInstrumentComponent-Chqddjgy.js} +4 -4
- package/dist/{Currency-CT3A-Mmh.js → Currency-CkQVLmOQ.js} +4 -4
- package/dist/{CustomerSupport-D3LW4N2D.js → CustomerSupport-BDynvVnl.js} +9 -9
- package/dist/{DebugModal-BhLHLE0h.js → DebugModal-DAu7rz8a.js} +7 -7
- package/dist/{DecisionMakerDetailsPage-DPBl_7lw.js → DecisionMakerDetailsPage-BBqNmh_M.js} +5 -5
- package/dist/{DecisionMakers-Cklfw3fV.js → DecisionMakers-Ddvw0N__.js} +19 -19
- package/dist/{EmbeddedStatus-8nXzhxZ-.js → EmbeddedStatus-BSK268B-.js} +2 -2
- package/dist/{EndStateLayout-kkBTb4dl.js → EndStateLayout-B8KmFejY.js} +1 -1
- package/dist/{EntityAssociation-CHkBMT2f.js → EntityAssociation-DBPiXzNF.js} +7 -7
- package/dist/{EntityGuidanceStatus-CqAq-K6i.js → EntityGuidanceStatus-QEzHcb28.js} +2 -2
- package/dist/{FormFlow-DbFT9hyz.js → FormFlow-BrgeP70A.js} +7 -7
- package/dist/{FormNavigation-BhiXiUNt.js → FormNavigation-DLJbUsy3.js} +2 -2
- package/dist/{FormWrapper-CQcLf6e4.js → FormWrapper-41qnDF4W.js} +9 -9
- package/dist/{IndividualOnfido-CFoYrGlk.js → IndividualOnfido-pGSPtITh.js} +13 -13
- package/dist/{IndividualOnfidoDropin-BX-WVBMP.js → IndividualOnfidoDropin-DZEn2Tf8.js} +26 -26
- package/dist/{InputText-BJmgiBaZ.js → InputText-DLAmX8CW.js} +2 -2
- package/dist/{Introduction-CogY4SRV.js → Introduction-DaRfsN8P.js} +3 -3
- package/dist/{JpAddress-SwR07uGB.js → JpAddress-BrtEV6zM.js} +8 -8
- package/dist/{LegalRepresentativeDetailsPage-u1Umrwfh.js → LegalRepresentativeDetailsPage-XcmRRT7P.js} +3 -3
- package/dist/{ListItem-DkpV9RmY.js → ListItem-DlRGqcSA.js} +2 -2
- package/dist/{ManageIndividualComponent-BFAx_t4E.js → ManageIndividualComponent-BpzsaZ1O.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-m317gIek.js → ManageTermsOfServiceComponent-D9i2HO5I.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-DOOtqOuO.js → ManageTransferInstrumentComponent-C6LYppym.js} +11 -11
- package/dist/{MaybeModal-8Mje-dwb.js → MaybeModal-DW5SxNsJ.js} +2 -2
- package/dist/{Modal-BSM4vT9v.js → Modal-B4wxf7HK.js} +1 -1
- package/dist/{OnboardingDropinComponent-bB8igIVw.js → OnboardingDropinComponent-Cx-c_p0i.js} +51 -51
- package/dist/{PayoutDetailsDropin-Ctlu7XAg.js → PayoutDetailsDropin-BKXxBApD.js} +26 -26
- package/dist/{Review-C_oxc5j3.js → Review-DSdM3vGX.js} +6 -6
- package/dist/{RootBusinessDetailsPage-DYv6SY_0.js → RootBusinessDetailsPage-CqpiMFn9.js} +4 -4
- package/dist/{RootBusinessLinesPage-DieftXXK.js → RootBusinessLinesPage-DUIp_zfH.js} +22 -22
- package/dist/{RootIndividualDetailsPage-DBvyLt6O.js → RootIndividualDetailsPage-BpTbnRMJ.js} +5 -5
- package/dist/{SignPCIComponent-Bjxxv0cD.js → SignPCIComponent-B-nJZ1cD.js} +9 -9
- package/dist/{SingpassSelection-C8Oedqrx.js → SingpassSelection-D7wRmaLb.js} +3 -3
- package/dist/{SoleProprietorshipPage-ZZ4_uIdw.js → SoleProprietorshipPage-DUVjo6fc.js} +3 -3
- package/dist/{SourceOfFundsPage-DOID3ZGV.js → SourceOfFundsPage-CFDBqD8v.js} +24 -24
- package/dist/{Spacer-C_wuUjGk.js → Spacer-w89ksCbG.js} +8 -8
- package/dist/{StepProgressIndicator-BgZlmzew.js → StepProgressIndicator-BvU4jA3I.js} +1 -1
- package/dist/{StoreProvider-1OKeIzng.js → StoreProvider-CyzNf7KK.js} +4 -4
- package/dist/{Summary-DuyrspJx.js → Summary-QyNHKBjO.js} +3 -3
- package/dist/{TaxReportingDropin-BrhgmIdI.js → TaxReportingDropin-Bn2xYbVw.js} +15 -15
- package/dist/{TrustDetailsPage-y7j1vZDd.js → TrustDetailsPage-D0sr6zMt.js} +26 -26
- package/dist/{TrustMemberCompanyPage-BlQQvyMZ.js → TrustMemberCompanyPage-4sIP-M16.js} +4 -4
- package/dist/{TrustMemberIndividualPage-D5pGqB2J.js → TrustMemberIndividualPage-CelIjIAw.js} +3 -3
- package/dist/{TrustMemberRoleAndTypePage-BWngfX_Y.js → TrustMemberRoleAndTypePage-C3CRy717.js} +13 -13
- package/dist/{TrustMembersOverview-Ch7USuB0.js → TrustMembersOverview-HrRgAsno.js} +11 -11
- package/dist/{UnincorporatedPartnershipIndividualPage-Bw9IF-r4.js → UnincorporatedPartnershipIndividualPage-Dre5_Nuk.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-nSTUtGc3.js → UnincorporatedPartnershipMemberCompanyPage-woQiy94h.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-BLQPjpiY.js → UnincorporatedPartnershipMemberRoleAndTypePage-DrirgJXY.js} +8 -8
- package/dist/{UnincorporatedPartnershipMembersOverview-4xBzuwuF.js → UnincorporatedPartnershipMembersOverview-BBiRqJkR.js} +8 -8
- package/dist/{VerificationErrorAlert-R9bMcd55.js → VerificationErrorAlert-B_ovSmUS.js} +3 -3
- package/dist/{ViewVerificationStatusComponent-C8iRGsjn.js → ViewVerificationStatusComponent-CDQk4Nxa.js} +3 -3
- package/dist/adyen-business-financing.js +2 -2
- package/dist/adyen-individual-configuration.js +2 -2
- package/dist/adyen-individual-status.js +2 -2
- package/dist/adyen-kyc-components.js +20 -20
- 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/{debouncedInputEvent-DYPebEvv.js → debouncedInputEvent-CFFx_oML.js} +1 -1
- package/dist/{documentUtils-BCFAvcv3.js → documentUtils-Be5wlCwo.js} +2 -2
- package/dist/{dropinUtils-B0EvVjy3.js → dropinUtils-DCWhMKpQ.js} +3 -3
- package/dist/{getFieldsWithExistingData-CWm4Gt2E.js → getFieldsWithExistingData-CfckMyJ1.js} +1 -1
- package/dist/{getName-gmt7CInl.js → getName-l7X1ZGKx.js} +1 -1
- package/dist/{hasDataChanged-Sl-YASLa.js → hasDataChanged-BXawTZla.js} +1 -1
- package/dist/{iframeWidget-GHecsQPy.js → iframeWidget-CbtmWmoO.js} +3 -3
- package/dist/{localizeDateString-DUyrvinp.js → localizeDateString-BX5t59Ip.js} +1 -1
- package/dist/{mapExistingFile-ByeXLGi-.js → mapExistingFile-Bd7nsoK8.js} +2 -2
- package/dist/{mapFinancialReportsToFinancialInformation-BCrld3UM.js → mapFinancialReportsToFinancialInformation-Bfvt2G87.js} +2 -2
- package/dist/{mapJpAddressSchemaToAddressLocalizations-CKfK00HJ.js → mapJpAddressSchemaToAddressLocalizations-CWY2lZGD.js} +2 -2
- package/dist/{mapLegalEntityToIndividualOnfidoSchema-C2-cQFYE.js → mapLegalEntityToIndividualOnfidoSchema-CQF6zsO7.js} +2 -2
- package/dist/{mapTransferInstrumentToPayoutAccount-BkA_hncA.js → mapTransferInstrumentToPayoutAccount-CacHlKHM.js} +1 -1
- package/dist/{process-field-configurations-CPNStelp.js → process-field-configurations-BZQqH4-M.js} +2 -2
- package/dist/{resolveEnvironment-CjD4GGfE.js → resolveEnvironment-C6JtHmZc.js} +3 -3
- package/dist/{rules-BLYJxwVa.js → rules-ClDW_ZSK.js} +4 -4
- package/dist/{types-BFgT3PZ8.js → types-DDnAZYTj.js} +1 -1
- package/dist/{types-Cw_98nXS.js → types-DE1uuPfP.js} +1 -1
- package/dist/{types-19iBAg7T.js → types-hGeLq0SR.js} +1 -1
- package/dist/{useAssociatedLegalEntity-DleehqQL.js → useAssociatedLegalEntity-D_Nk_obe.js} +1 -1
- package/dist/{useBusinessDetailsData--XO64UpB.js → useBusinessDetailsData-DG9EJBH_.js} +27 -27
- package/dist/{useCreateLegalEntity-Cu59fab9.js → useCreateLegalEntity-DT7ue23d.js} +1 -1
- package/dist/{useDataset-CvqVm3C5.js → useDataset-DCCxYOjr.js} +3 -3
- package/dist/{useForm-toxM6BuV.js → useForm-_Kjd_HFb.js} +4 -4
- package/dist/{useGlobalData-DkUVPkLY.js → useGlobalData-C7tjZfC0.js} +2 -2
- package/dist/{useMultiForm-CaNgYAN2.js → useMultiForm-DWozxGN4.js} +3 -3
- package/dist/{useOnboardingStatus-Bduco7xn.js → useOnboardingStatus-DBLS6PUq.js} +1 -1
- package/dist/{useScenarios-DaW_7ScU.js → useScenarios-DD06bWNN.js} +1 -1
- package/dist/{useTermsOfServiceStatus-zI28cNFX.js → useTermsOfServiceStatus-D2lYSqHn.js} +1 -1
- package/dist/{useToastContext-DCXz1jVQ.js → useToastContext-Cbw29cqc.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-DHDtTbV5.js → useUnincorporatedPartnershipMembers-Dbb2VjkF.js} +4 -4
- package/dist/{useUpdateBusinessLines-D1kvcpZV.js → useUpdateBusinessLines-8bDYsLav.js} +1 -1
- package/dist/{useUpdateLegalEntity-D3CHa9fC.js → useUpdateLegalEntity-Aubxhgvv.js} +2 -2
- package/dist/{utils-C3GxwDJj.js → utils-D1-D6fui.js} +5 -5
- package/dist/{utils-C-ZehZmz.js → utils-DenrGsUh.js} +3 -3
- package/dist/{validate-CGh1ZNG6.js → validate-BgMFLdKI.js} +1 -1
- package/dist/{validate-DnCvcnys.js → validate-BxVes1el.js} +1 -1
- package/dist/{validationError-18bG8mkR.js → validationError-DPP91cM3.js} +1 -1
- package/package.json +1 -1
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useRef } from "preact/hooks";
|
|
12
|
-
import { c, s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-
|
|
13
|
-
import { M as ManageTermsOfServiceComponent } from "./ManageTermsOfServiceComponent-
|
|
12
|
+
import { c, s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-C6JtHmZc.js";
|
|
13
|
+
import { M as ManageTermsOfServiceComponent } from "./ManageTermsOfServiceComponent-D9i2HO5I.js";
|
|
14
14
|
import { e as emitAdyenSdkEvent } from "./emitEvent-CzZf80Am.js";
|
|
15
15
|
const AdyenManageTermsOfService = ({
|
|
16
16
|
rootlegalentityid,
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useRef } from "preact/hooks";
|
|
12
|
-
import { c, s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-
|
|
13
|
-
import { C as CreateTransferInstrumentComponent } from "./CreateTransferInstrumentComponent-
|
|
12
|
+
import { c, s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-C6JtHmZc.js";
|
|
13
|
+
import { C as CreateTransferInstrumentComponent } from "./CreateTransferInstrumentComponent-Chqddjgy.js";
|
|
14
14
|
import { e as emitAdyenSdkEvent } from "./emitEvent-CzZf80Am.js";
|
|
15
15
|
const AdyenTransferInstrument = ({
|
|
16
16
|
rootlegalentityid,
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useRef } from "preact/hooks";
|
|
12
|
-
import { c, s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-
|
|
13
|
-
import { M as ManageTransferInstrumentComponent } from "./ManageTransferInstrumentComponent-
|
|
12
|
+
import { c, s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-C6JtHmZc.js";
|
|
13
|
+
import { M as ManageTransferInstrumentComponent } from "./ManageTransferInstrumentComponent-C6LYppym.js";
|
|
14
14
|
import { e as emitAdyenSdkEvent } from "./emitEvent-CzZf80Am.js";
|
|
15
15
|
const AdyenManageTransferInstruments = ({
|
|
16
16
|
rootlegalentityid,
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useRef } from "preact/hooks";
|
|
12
|
-
import { c, s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-
|
|
13
|
-
import { V as ViewVerificationStatusComponent } from "./ViewVerificationStatusComponent-
|
|
12
|
+
import { c, s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-C6JtHmZc.js";
|
|
13
|
+
import { V as ViewVerificationStatusComponent } from "./ViewVerificationStatusComponent-CDQk4Nxa.js";
|
|
14
14
|
import { e as emitAdyenSdkEvent } from "./emitEvent-CzZf80Am.js";
|
|
15
15
|
const AdyenVerificationStatus = ({
|
|
16
16
|
rootlegalentityid,
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { a3 as useAnalyticsContext } from "./StoreProvider-
|
|
12
|
+
import { a3 as useAnalyticsContext } from "./StoreProvider-CyzNf7KK.js";
|
|
13
13
|
import { useRef, useCallback } from "preact/hooks";
|
|
14
14
|
function Checkbox({
|
|
15
15
|
id,
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { k as httpPost, aN as httpDelete, m as httpGet, P as createLogger } from "./StoreProvider-
|
|
11
|
-
import { w as getLocalizedIdDocumentTypeOptions, A as isNewlyUploadedFile } from "./Spacer-
|
|
10
|
+
import { k as httpPost, aN as httpDelete, m as httpGet, P as createLogger } from "./StoreProvider-CyzNf7KK.js";
|
|
11
|
+
import { w as getLocalizedIdDocumentTypeOptions, A as isNewlyUploadedFile } from "./Spacer-w89ksCbG.js";
|
|
12
12
|
const createDocument = async (context, document, ownerId) => {
|
|
13
13
|
const { baseUrl, rootLegalEntityId } = context;
|
|
14
14
|
return httpPost(
|
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useState, useEffect, useMemo } from "preact/hooks";
|
|
11
|
-
import { a3 as useAnalyticsContext, P as createLogger } from "./StoreProvider-
|
|
12
|
-
import { s as summaryStep } from "./Summary-
|
|
11
|
+
import { a3 as useAnalyticsContext, P as createLogger } from "./StoreProvider-CyzNf7KK.js";
|
|
12
|
+
import { s as summaryStep } from "./Summary-QyNHKBjO.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 "./CountryField-
|
|
15
|
+
import { F as FormRouterContext } from "./CountryField-CsKJAI53.js";
|
|
16
16
|
import { f as formDebugInfo } from "./debugStore-BvbyN1Oi.js";
|
|
17
17
|
const getOpeningStep = (forms, remediationActions) => {
|
|
18
18
|
if (remediationActions && Object.keys(remediationActions).length > 0) {
|
package/dist/{getFieldsWithExistingData-CWm4Gt2E.js → getFieldsWithExistingData-CfckMyJ1.js}
RENAMED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { br as getNestedPropertyKeys } from "./StoreProvider-
|
|
10
|
+
import { br as getNestedPropertyKeys } from "./StoreProvider-CyzNf7KK.js";
|
|
11
11
|
const getFieldsWithExistingData = (legalEntity, keyMapping, documentMapping, knownProblematicFields = []) => {
|
|
12
12
|
const apiFieldsWithExistingData = getNestedPropertyKeys(legalEntity);
|
|
13
13
|
const nonDocumentFields = apiFieldsWithExistingData.map((field) => keyMapping[field]).filter(Boolean).filter((field) => !knownProblematicFields.includes(field));
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { r as LegalEntityTypes, ag as getOwnEntityAssociations } from "./StoreProvider-
|
|
10
|
+
import { r as LegalEntityTypes, ag as getOwnEntityAssociations } from "./StoreProvider-CyzNf7KK.js";
|
|
11
11
|
const getIndividualLegalEntityName = (legalEntityResponse) => {
|
|
12
12
|
if (!legalEntityResponse || !legalEntityResponse?.individual) return "";
|
|
13
13
|
return `${legalEntityResponse.individual?.name?.firstName ?? ""} ${legalEntityResponse.individual?.name?.lastName ?? ""}`;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { a1 as entriesOf, ak as objectsDeepEqual } from "./StoreProvider-
|
|
10
|
+
import { a1 as entriesOf, ak as objectsDeepEqual } from "./StoreProvider-CyzNf7KK.js";
|
|
11
11
|
const hasDataChanged = (initialData, currentData) => entriesOf(currentData ?? {}).some(([key, value]) => {
|
|
12
12
|
if (typeof value === "object") {
|
|
13
13
|
return !objectsDeepEqual(value, initialData?.[key]);
|
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { aB as cloneObject, P as createLogger, bs as isString, k as httpPost } from "./StoreProvider-
|
|
11
|
-
import { B as isValueObscured } from "./Spacer-
|
|
10
|
+
import { aB as cloneObject, P as createLogger, bs as isString, k as httpPost } from "./StoreProvider-CyzNf7KK.js";
|
|
11
|
+
import { B as isValueObscured } from "./Spacer-w89ksCbG.js";
|
|
12
12
|
import { g as getProp, d as deleteProp } from "./utils-DNSfZiio.js";
|
|
13
|
-
import { A as AdyenKycSdkError } from "./mapExistingFile-
|
|
13
|
+
import { A as AdyenKycSdkError } from "./mapExistingFile-Bd7nsoK8.js";
|
|
14
14
|
const omitObscuredFieldsIfUnchanged = (obscuredFields, dataSubmitted, savedData) => {
|
|
15
15
|
if (!dataSubmitted) {
|
|
16
16
|
return;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { P as createLogger } from "./StoreProvider-
|
|
10
|
+
import { P as createLogger } from "./StoreProvider-CyzNf7KK.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 { C as CountryCodes, P as createLogger } from "./StoreProvider-
|
|
11
|
+
import { u as useScenarios } from "./useScenarios-DD06bWNN.js";
|
|
12
|
+
import { C as CountryCodes, P as createLogger } from "./StoreProvider-CyzNf7KK.js";
|
|
13
13
|
import { signal } from "@preact/signals";
|
|
14
14
|
class AdyenKycSdkError extends Error {
|
|
15
15
|
sourceError;
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { i as isDateOlderThanAYear } from "./Address-
|
|
11
|
-
import { b6 as drop } from "./StoreProvider-
|
|
10
|
+
import { i as isDateOlderThanAYear } from "./Address-BUrDDnmR.js";
|
|
11
|
+
import { b6 as drop } from "./StoreProvider-CyzNf7KK.js";
|
|
12
12
|
const mapFinancialInformationToFinancialReport = ({
|
|
13
13
|
currency,
|
|
14
14
|
financialReportingDate,
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { s as summaryItem } from "./CountryField-
|
|
12
|
-
import { D as isEmpty } from "./IndividualOnfido-
|
|
11
|
+
import { s as summaryItem } from "./CountryField-CsKJAI53.js";
|
|
12
|
+
import { D as isEmpty } from "./IndividualOnfido-pGSPtITh.js";
|
|
13
13
|
import { m as mapSchemaFieldsToApiScriptLocalization } from "./mapAddressLocalizationToJpAddressSchema-vJWbpAyq.js";
|
|
14
14
|
const mapJpAddressSummary = (data, datasetUtils) => {
|
|
15
15
|
if (!data) return {};
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { signal } from "@preact/signals";
|
|
11
|
-
import { C as CountryCodes, a_ as reverseMapping, b4 as getNomineeFromAssociation, bt as individualOnfidoBaseMapping, an as DecisionMakerTypes } from "./StoreProvider-
|
|
11
|
+
import { C as CountryCodes, a_ as reverseMapping, b4 as getNomineeFromAssociation, bt as individualOnfidoBaseMapping, an as DecisionMakerTypes } from "./StoreProvider-CyzNf7KK.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
|
-
import { W as GuidanceQuestionValues } from "./IndividualOnfido-
|
|
14
|
+
import { W as GuidanceQuestionValues } from "./IndividualOnfido-pGSPtITh.js";
|
|
15
15
|
const individualFormDefaultData = signal(null);
|
|
16
16
|
const getOnfidoIdentityTypeToApiIdentityTypeMap = (data) => {
|
|
17
17
|
const { country } = data;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, j as useQuery, w as skipToken, m as httpGet, bu as crossBorderMapping, bv as payoutComponentKeyMapping } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, j as useQuery, w as skipToken, m as httpGet, bu as crossBorderMapping, bv as payoutComponentKeyMapping } from "./StoreProvider-CyzNf7KK.js";
|
|
11
11
|
import { m as mapWith } from "./utils-DNSfZiio.js";
|
|
12
12
|
const getTransferInstrument = async (legalEntityId, baseUrl, transferInstrumentId) => {
|
|
13
13
|
return httpGet({
|
package/dist/{process-field-configurations-CPNStelp.js → process-field-configurations-BZQqH4-M.js}
RENAMED
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { T as TrustedFieldsProviders } from "./Spacer-
|
|
10
|
+
import { T as TrustedFieldsProviders } from "./Spacer-w89ksCbG.js";
|
|
11
11
|
import { f as formDebugInfo } from "./debugStore-BvbyN1Oi.js";
|
|
12
|
-
import { P as createLogger, bp as businessDetailsApiKeyMapping, b3 as individualApiKeyMapping, aT as remediationHasFileUploadField, bq as dataMissingRemediationsToFieldsMap, aq as keysOf } from "./StoreProvider-
|
|
12
|
+
import { P as createLogger, bp as businessDetailsApiKeyMapping, b3 as individualApiKeyMapping, aT as remediationHasFileUploadField, bq as dataMissingRemediationsToFieldsMap, aq as keysOf } from "./StoreProvider-CyzNf7KK.js";
|
|
13
13
|
const linkedFieldsMap = {
|
|
14
14
|
"additionalInformation.vatNumber": [
|
|
15
15
|
"additionalInformation.exemptedFromVat",
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "9c32ab59-8398-42c1-ad31-1f6b07491dbe", e._sentryDebugIdIdentifier = "sentry-dbid-9c32ab59-8398-42c1-ad31-1f6b07491dbe");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { h as h$1, hydrate, render, cloneElement, Fragment } from "preact";
|
|
11
11
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { aX as refreshSession, B as Button, L as Loader, S as SettingsProvider, Q as QueryClientProvider, A as ApiProvider, E as ExperimentsContextProvider, d as StoreProvider, e as AnalyticsProvider, I as I18nProvider, D as DebugListener, T as ToastContextProvider, f as StateProvider, h as setSdkTokenHandler, n as normalizeEnvironment } from "./StoreProvider-
|
|
12
|
+
import { aX as refreshSession, B as Button, L as Loader, S as SettingsProvider, Q as QueryClientProvider, A as ApiProvider, E as ExperimentsContextProvider, d as StoreProvider, e as AnalyticsProvider, I as I18nProvider, D as DebugListener, T as ToastContextProvider, f as StateProvider, h as setSdkTokenHandler, n as normalizeEnvironment } from "./StoreProvider-CyzNf7KK.js";
|
|
13
13
|
import { useState, useEffect } from "preact/hooks";
|
|
14
14
|
function i() {
|
|
15
15
|
return i = Object.assign ? Object.assign.bind() : function(t) {
|
|
@@ -135,7 +135,7 @@ const EmbedShell = ({
|
|
|
135
135
|
experiments,
|
|
136
136
|
refreshExperiments,
|
|
137
137
|
children: /* @__PURE__ */ jsxs(StoreProvider, { children: [
|
|
138
|
-
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.91.0
|
|
138
|
+
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.91.0" }),
|
|
139
139
|
/* @__PURE__ */ jsx(
|
|
140
140
|
AnalyticsProvider,
|
|
141
141
|
{
|
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { C as CountryCodes, O as TaskTypes, at as allowedCountriesForNominee, an as DecisionMakerTypes, am as Scenarios } from "./StoreProvider-
|
|
11
|
-
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET } from "./Address-
|
|
12
|
-
import { x as createFormRules, w as getLocalizedIdDocumentTypeOptions } from "./Spacer-
|
|
13
|
-
import { i as isCompatibleJapanVersion } from "./IndividualOnfido-
|
|
10
|
+
import { C as CountryCodes, O as TaskTypes, at as allowedCountriesForNominee, an as DecisionMakerTypes, am as Scenarios } from "./StoreProvider-CyzNf7KK.js";
|
|
11
|
+
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET } from "./Address-BUrDDnmR.js";
|
|
12
|
+
import { x as createFormRules, w as getLocalizedIdDocumentTypeOptions } from "./Spacer-w89ksCbG.js";
|
|
13
|
+
import { i as isCompatibleJapanVersion } from "./IndividualOnfido-pGSPtITh.js";
|
|
14
14
|
const REQUIRED = "REQUIRED";
|
|
15
15
|
const OPTIONAL = "OPTIONAL";
|
|
16
16
|
const SOLE_PROP_COUNTRIES = [
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { r as LegalEntityTypes, C as CountryCodes } from "./StoreProvider-
|
|
10
|
+
import { r as LegalEntityTypes, C as CountryCodes } from "./StoreProvider-CyzNf7KK.js";
|
|
11
11
|
const trustMemberLegalEntityTypes = [
|
|
12
12
|
LegalEntityTypes.INDIVIDUAL,
|
|
13
13
|
LegalEntityTypes.ORGANIZATION
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useMemo } from "preact/hooks";
|
|
11
|
-
import { P as createLogger, c as useLegalEntity, w as skipToken } from "./StoreProvider-
|
|
11
|
+
import { P as createLogger, c as useLegalEntity, w as skipToken } from "./StoreProvider-CyzNf7KK.js";
|
|
12
12
|
const logger = createLogger();
|
|
13
13
|
function useAssociatedLegalEntity(parentLegalEntity, associationType) {
|
|
14
14
|
const matchingAssociation = useMemo(() => {
|
|
@@ -8,34 +8,34 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { u as useTranslation, B as Button, G as Typography, C as CountryCodes, O as TaskTypes, r as LegalEntityTypes, W as isEmpty, a1 as entriesOf, bC as businessDetailsComponentsKeyMapping, bD as solePropBusinessDetailsKeyMapping, ak as objectsDeepEqual, aq as keysOf, i as isUndefinedOrNull, bE as solePropBusinessDetailsApiKeyMapping, bp as businessDetailsApiKeyMapping, P as createLogger, b8 as filterOutUnwantedAssociationsIfRootLE, b6 as drop, ag as getOwnEntityAssociations, aV as doArraysMatch, b as useApiContext, a3 as useAnalyticsContext, a2 as useQueryClient, X as useExperimentsContext, $ as useVersionConfiguration, o as useSettingsContext, K as useAccountHolder, bF as solePropBusinessDetailsDocumentMapping, bG as businessDetailsDocumentMapping, j as useQuery, c as useLegalEntity, R as ROOT_LE } from "./StoreProvider-
|
|
11
|
+
import { u as useTranslation, B as Button, G as Typography, C as CountryCodes, O as TaskTypes, r as LegalEntityTypes, W as isEmpty, a1 as entriesOf, bC as businessDetailsComponentsKeyMapping, bD as solePropBusinessDetailsKeyMapping, ak as objectsDeepEqual, aq as keysOf, i as isUndefinedOrNull, bE as solePropBusinessDetailsApiKeyMapping, bp as businessDetailsApiKeyMapping, P as createLogger, b8 as filterOutUnwantedAssociationsIfRootLE, b6 as drop, ag as getOwnEntityAssociations, aV as doArraysMatch, b as useApiContext, a3 as useAnalyticsContext, a2 as useQueryClient, X as useExperimentsContext, $ as useVersionConfiguration, o as useSettingsContext, K as useAccountHolder, bF as solePropBusinessDetailsDocumentMapping, bG as businessDetailsDocumentMapping, j as useQuery, c as useLegalEntity, R as ROOT_LE } from "./StoreProvider-CyzNf7KK.js";
|
|
12
12
|
import { useState, useEffect, useMemo, useCallback } from "preact/hooks";
|
|
13
|
-
import { u as useCreateBusinessLine, a as useUpdateBusinessLine } from "./useUpdateBusinessLines-
|
|
14
|
-
import { F as FinancialInformation, A as AdditionalInformation, C as CompanyStructure, B as BusinessSelection, h as BasicInformation, i as getDefaultRegistrationNumberType, j as getDefaultVatNumberType, o as operationalAddressIsSameIds, k as FIELDS_NEEDED_FOR_COMPANY_SEARCH, v as verifiedBusiness, l as isVerifiedSingleCompanySearchResult, m as companyTypeMetadata, p as documentFormsIds, r as registrationNumberDefaultFieldMetadata, q as inferCompanyRegistrationNumberType, s as registrationNumberDefaultFieldConfig, t as stockTickerSymbolFieldMetadata, w as stockISINFieldMetadata, x as stockExchangeMICFieldMetadata, y as dateOfIncorporationFieldMetadata, z as industryCodeFieldMetadata, D as eInvoicingCodeFieldMetadata, G as vatAbsenceReasonMetadata, H as exemptFromRegistrationNumberDefaultFieldMetadata, I as doingBusinessAsFieldMetadata, J as doingBusinessAsAbsentFieldMetadata, K as defaultFieldMetadata, L as defaultFieldConfig, M as defaultFieldMetadata$1, N as defaultFieldConfig$1, P as defaultFieldMetadataV4, Q as defaultFieldMetadata$2, R as defaultFieldConfigV4, S as defaultFieldConfig$2, g as getForms, T as financialInfoValidationWithEmployeesRules, U as tinMatched, V as businessMismatchModalOpen, W as useCompanySearch, X as useVerifyTin, Y as handleCompanySelection, Z as applyVerifiedBusinessData, _ as useBusinessLines } from "./OnboardingDropinComponent-
|
|
15
|
-
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-
|
|
16
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
17
|
-
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-
|
|
18
|
-
import { a as useToastContext } from "./useToastContext-
|
|
19
|
-
import { _ as MemoizedDocumentUpload, C as CompanyTypesValues, m as COUNTRIES_USING_COMPANY_SEARCH, $ as isRegistrationNumberAbsentStateV4Scenario, D as isEmpty$1, a0 as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, r as requestingBanking, e as requestingIssuing, a as getCompanyRegistrationNumberOptions, t as taxInformationDefaultFieldMetadata, a1 as countryToTaxInfoTypeMap, f as taxInformationDefaultFieldConfig, a2 as rules } from "./IndividualOnfido-
|
|
20
|
-
import { c as composePerScenarioFormConfigurations, g as getPropsFromConfigurations } from "./process-field-configurations-
|
|
21
|
-
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
22
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
23
|
-
import { m as mapExistingFile, g as getPageName, u as useScenarioConfiguration } from "./mapExistingFile-
|
|
24
|
-
import { a as datasetUtilities, C as Confirm } from "./useDataset-
|
|
25
|
-
import { a as getDocument, e as getDocuments, c as createDocumentRequest, h as mergeProofOfOwnershipAttachments, b as getFileExtention, d as documentApiUtils } from "./documentUtils-
|
|
26
|
-
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-
|
|
27
|
-
import { u as useFormContext, i as isDateOlderThanAYear, o as mapAddressLabels, p as getKeyForField } from "./Address-
|
|
28
|
-
import { M as MemoizedConstitutionalDocument } from "./ConstitutionalDocument-
|
|
29
|
-
import { M as Modal, a as ModalContent } from "./Modal-
|
|
30
|
-
import { S as SettingNames } from "./InputText-
|
|
31
|
-
import { m as mapJpAddressSchemaToAddressLocalizations, a as mapJpAddressSummary } from "./mapJpAddressSchemaToAddressLocalizations-
|
|
32
|
-
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-
|
|
33
|
-
import { f as formatCurrency, A as ALLOWED_SOF_SERVICES } from "./utils-
|
|
34
|
-
import { s as summaryItem } from "./CountryField-
|
|
35
|
-
import { s as summaryStep } from "./Summary-
|
|
36
|
-
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-
|
|
37
|
-
import { r as resolveFieldMetadata } from "./Spacer-
|
|
38
|
-
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-
|
|
13
|
+
import { u as useCreateBusinessLine, a as useUpdateBusinessLine } from "./useUpdateBusinessLines-8bDYsLav.js";
|
|
14
|
+
import { F as FinancialInformation, A as AdditionalInformation, C as CompanyStructure, B as BusinessSelection, h as BasicInformation, i as getDefaultRegistrationNumberType, j as getDefaultVatNumberType, o as operationalAddressIsSameIds, k as FIELDS_NEEDED_FOR_COMPANY_SEARCH, v as verifiedBusiness, l as isVerifiedSingleCompanySearchResult, m as companyTypeMetadata, p as documentFormsIds, r as registrationNumberDefaultFieldMetadata, q as inferCompanyRegistrationNumberType, s as registrationNumberDefaultFieldConfig, t as stockTickerSymbolFieldMetadata, w as stockISINFieldMetadata, x as stockExchangeMICFieldMetadata, y as dateOfIncorporationFieldMetadata, z as industryCodeFieldMetadata, D as eInvoicingCodeFieldMetadata, G as vatAbsenceReasonMetadata, H as exemptFromRegistrationNumberDefaultFieldMetadata, I as doingBusinessAsFieldMetadata, J as doingBusinessAsAbsentFieldMetadata, K as defaultFieldMetadata, L as defaultFieldConfig, M as defaultFieldMetadata$1, N as defaultFieldConfig$1, P as defaultFieldMetadataV4, Q as defaultFieldMetadata$2, R as defaultFieldConfigV4, S as defaultFieldConfig$2, g as getForms, T as financialInfoValidationWithEmployeesRules, U as tinMatched, V as businessMismatchModalOpen, W as useCompanySearch, X as useVerifyTin, Y as handleCompanySelection, Z as applyVerifiedBusinessData, _ as useBusinessLines } from "./OnboardingDropinComponent-Cx-c_p0i.js";
|
|
15
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-DT7ue23d.js";
|
|
16
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-Aubxhgvv.js";
|
|
17
|
+
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-BrgeP70A.js";
|
|
18
|
+
import { a as useToastContext } from "./useToastContext-Cbw29cqc.js";
|
|
19
|
+
import { _ as MemoizedDocumentUpload, C as CompanyTypesValues, m as COUNTRIES_USING_COMPANY_SEARCH, $ as isRegistrationNumberAbsentStateV4Scenario, D as isEmpty$1, a0 as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, r as requestingBanking, e as requestingIssuing, a as getCompanyRegistrationNumberOptions, t as taxInformationDefaultFieldMetadata, a1 as countryToTaxInfoTypeMap, f as taxInformationDefaultFieldConfig, a2 as rules } from "./IndividualOnfido-pGSPtITh.js";
|
|
20
|
+
import { c as composePerScenarioFormConfigurations, g as getPropsFromConfigurations } from "./process-field-configurations-BZQqH4-M.js";
|
|
21
|
+
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-DCWhMKpQ.js";
|
|
22
|
+
import { u as useMultiForm } from "./useMultiForm-DWozxGN4.js";
|
|
23
|
+
import { m as mapExistingFile, g as getPageName, u as useScenarioConfiguration } from "./mapExistingFile-Bd7nsoK8.js";
|
|
24
|
+
import { a as datasetUtilities, C as Confirm } from "./useDataset-DCCxYOjr.js";
|
|
25
|
+
import { a as getDocument, e as getDocuments, c as createDocumentRequest, h as mergeProofOfOwnershipAttachments, b as getFileExtention, d as documentApiUtils } from "./documentUtils-Be5wlCwo.js";
|
|
26
|
+
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-CfckMyJ1.js";
|
|
27
|
+
import { u as useFormContext, i as isDateOlderThanAYear, o as mapAddressLabels, p as getKeyForField } from "./Address-BUrDDnmR.js";
|
|
28
|
+
import { M as MemoizedConstitutionalDocument } from "./ConstitutionalDocument-DM6M40MP.js";
|
|
29
|
+
import { M as Modal, a as ModalContent } from "./Modal-B4wxf7HK.js";
|
|
30
|
+
import { S as SettingNames } from "./InputText-DLAmX8CW.js";
|
|
31
|
+
import { m as mapJpAddressSchemaToAddressLocalizations, a as mapJpAddressSummary } from "./mapJpAddressSchemaToAddressLocalizations-CWY2lZGD.js";
|
|
32
|
+
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-D1-D6fui.js";
|
|
33
|
+
import { f as formatCurrency, A as ALLOWED_SOF_SERVICES } from "./utils-DenrGsUh.js";
|
|
34
|
+
import { s as summaryItem } from "./CountryField-CsKJAI53.js";
|
|
35
|
+
import { s as summaryStep } from "./Summary-QyNHKBjO.js";
|
|
36
|
+
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-DPP91cM3.js";
|
|
37
|
+
import { r as resolveFieldMetadata } from "./Spacer-w89ksCbG.js";
|
|
38
|
+
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-Bfvt2G87.js";
|
|
39
39
|
import { f as formatObject } from "./utils-DNSfZiio.js";
|
|
40
40
|
import { b as mapAddressLocalizationToJpAddressSchema, a as mapApiScriptLocalizationToSchemaFields, m as mapSchemaFieldsToApiScriptLocalization } from "./mapAddressLocalizationToJpAddressSchema-vJWbpAyq.js";
|
|
41
41
|
const stripWhitespace = (str) => str.replace(/\s/g, "");
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, a0 as useMutation, k as httpPost } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, a0 as useMutation, k as httpPost } from "./StoreProvider-CyzNf7KK.js";
|
|
11
11
|
const createLegalEntity = async (legalEntityId, baseUrl, data) => {
|
|
12
12
|
return httpPost(
|
|
13
13
|
{
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { b as useId } from "./useToastContext-
|
|
12
|
+
import { b as useId } from "./useToastContext-Cbw29cqc.js";
|
|
13
13
|
import { useState, useEffect } from "preact/hooks";
|
|
14
|
-
import { u as useTranslation, a3 as useAnalyticsContext, G as Typography, B as Button, P as createLogger, V as useI18nContext } from "./StoreProvider-
|
|
15
|
-
import { M as Modal } from "./Modal-
|
|
14
|
+
import { u as useTranslation, a3 as useAnalyticsContext, G as Typography, B as Button, P as createLogger, V as useI18nContext } from "./StoreProvider-CyzNf7KK.js";
|
|
15
|
+
import { M as Modal } from "./Modal-B4wxf7HK.js";
|
|
16
16
|
const structuredList = "adyen-kyc-structured-list";
|
|
17
17
|
const structuredListSectionField = "adyen-kyc-structured-list-section-field";
|
|
18
18
|
const structuredListSectionLabel = "adyen-kyc-structured-list-section-label";
|
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
12
|
import { useEffect, useState, useRef, useMemo, useCallback, useReducer } from "preact/hooks";
|
|
13
|
-
import { u as useTranslation, a3 as useAnalyticsContext, a4 as Icon, z as translateStringOrObject, L as Loader, a5 as noop, G as Typography, P as createLogger, W as isEmpty, a1 as entriesOf, aV as doArraysMatch } from "./StoreProvider-
|
|
14
|
-
import { b as useId } from "./useToastContext-
|
|
13
|
+
import { u as useTranslation, a3 as useAnalyticsContext, a4 as Icon, z as translateStringOrObject, L as Loader, a5 as noop, G as Typography, P as createLogger, W as isEmpty, a1 as entriesOf, aV as doArraysMatch } from "./StoreProvider-CyzNf7KK.js";
|
|
14
|
+
import { b as useId } from "./useToastContext-Cbw29cqc.js";
|
|
15
15
|
import { computed, signal, useSignal, useSignalEffect } from "@preact/signals";
|
|
16
|
-
import { K as KEYBOARD_KEYS } from "./Modal-
|
|
17
|
-
import { C as Checkbox, a as debouncedInputEvent } from "./debouncedInputEvent-
|
|
16
|
+
import { K as KEYBOARD_KEYS } from "./Modal-B4wxf7HK.js";
|
|
17
|
+
import { C as Checkbox, a as debouncedInputEvent } from "./debouncedInputEvent-CFFx_oML.js";
|
|
18
18
|
const ARIA_ERROR_SUFFIX = "-ariaError";
|
|
19
19
|
const MaybeFieldset = ({
|
|
20
20
|
children,
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useContext, useCallback, useMemo } from "preact/hooks";
|
|
11
|
-
import { d as debounce } from "./debouncedInputEvent-
|
|
12
|
-
import { az as StateContext } from "./StoreProvider-
|
|
11
|
+
import { d as debounce } from "./debouncedInputEvent-CFFx_oML.js";
|
|
12
|
+
import { az as StateContext } from "./StoreProvider-CyzNf7KK.js";
|
|
13
13
|
function useStateContext() {
|
|
14
14
|
const context = useContext(StateContext);
|
|
15
15
|
return context;
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useCallback, useMemo, useReducer, useEffect } from "preact/hooks";
|
|
11
|
-
import { ak as objectsDeepEqual, P as createLogger, W as isEmpty } from "./StoreProvider-
|
|
12
|
-
import { V as ValidationResult } from "./useForm-
|
|
13
|
-
import { e as isNotEmptyValidator } from "./CountryField-
|
|
11
|
+
import { ak as objectsDeepEqual, P as createLogger, W as isEmpty } from "./StoreProvider-CyzNf7KK.js";
|
|
12
|
+
import { V as ValidationResult } from "./useForm-_Kjd_HFb.js";
|
|
13
|
+
import { e as isNotEmptyValidator } from "./CountryField-CsKJAI53.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;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, j as useQuery, m as httpGet } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, j as useQuery, m as httpGet } from "./StoreProvider-CyzNf7KK.js";
|
|
11
11
|
const getOnboardingStatus = async (legalEntityId, baseUrl) => {
|
|
12
12
|
return httpGet({
|
|
13
13
|
baseUrl,
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, j as useQuery, a1 as entriesOf, w as skipToken, am as Scenarios, m as httpGet } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, j as useQuery, a1 as entriesOf, w as skipToken, am as Scenarios, m as httpGet } from "./StoreProvider-CyzNf7KK.js";
|
|
11
11
|
const getScenarios = async (legalEntityId, baseUrl, legalEntityType, countryCode) => {
|
|
12
12
|
const scenarioParams = new URLSearchParams({
|
|
13
13
|
...countryCode && { countryCode },
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, j as useQuery, m as httpGet } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, j as useQuery, m as httpGet } from "./StoreProvider-CyzNf7KK.js";
|
|
11
11
|
const getTermsOfServiceAcceptanceInfos = async (legalEntityId, baseUrl) => {
|
|
12
12
|
return httpGet({
|
|
13
13
|
baseUrl,
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { P as createLogger, a2 as useQueryClient, b as useApiContext, aW as ToastContext } from "./StoreProvider-
|
|
10
|
+
import { P as createLogger, a2 as useQueryClient, b as useApiContext, aW as ToastContext } from "./StoreProvider-CyzNf7KK.js";
|
|
11
11
|
import { useCallback, useState, useContext } from "preact/hooks";
|
|
12
12
|
const logger = createLogger();
|
|
13
13
|
const QUERIES_TO_INVALIDATE_WHEN_ROOT_LE_IS_INVALIDATED = [
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useMemo } from "preact/hooks";
|
|
11
|
-
import { r as LegalEntityTypes, ag as getOwnEntityAssociations, c as useLegalEntity, R as ROOT_LE } from "./StoreProvider-
|
|
12
|
-
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-
|
|
13
|
-
import { U as UnincorporatedPartnershipMemberTypes } from "./CountryField-
|
|
14
|
-
import { g as getLegalEntityNameBasedOnType } from "./getName-
|
|
11
|
+
import { r as LegalEntityTypes, ag as getOwnEntityAssociations, c as useLegalEntity, R as ROOT_LE } from "./StoreProvider-CyzNf7KK.js";
|
|
12
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-D_Nk_obe.js";
|
|
13
|
+
import { U as UnincorporatedPartnershipMemberTypes } from "./CountryField-CsKJAI53.js";
|
|
14
|
+
import { g as getLegalEntityNameBasedOnType } from "./getName-l7X1ZGKx.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)
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, a0 as useMutation, k as httpPost } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, a0 as useMutation, k as httpPost } from "./StoreProvider-CyzNf7KK.js";
|
|
11
11
|
const createBusinessLine = async (legalEntityId, baseUrl, data) => {
|
|
12
12
|
return httpPost(
|
|
13
13
|
{
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, a2 as useQueryClient, a0 as useMutation, k as httpPost } from "./StoreProvider-
|
|
11
|
-
import { c as useInvalidateRootLegalEntity } from "./useToastContext-
|
|
10
|
+
import { b as useApiContext, a2 as useQueryClient, a0 as useMutation, k as httpPost } from "./StoreProvider-CyzNf7KK.js";
|
|
11
|
+
import { c as useInvalidateRootLegalEntity } from "./useToastContext-Cbw29cqc.js";
|
|
12
12
|
const updateLegalEntity = async (rootLegalEntityId, baseUrl, data) => {
|
|
13
13
|
return httpPost(
|
|
14
14
|
{
|
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { C as CompanyTypesValues } from "./IndividualOnfido-
|
|
11
|
-
import { g as getLegalEntityCountry, bz as getCapabilities, r as LegalEntityTypes, H as hasOwnEntityAssociationOfType, C as CountryCodes } from "./StoreProvider-
|
|
12
|
-
import { d as allowIndividualWithoutSoleProp } from "./OnboardingDropinComponent-
|
|
13
|
-
import { S as SOLE_PROP_COUNTRIES } from "./rules-
|
|
14
|
-
import { A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-
|
|
10
|
+
import { C as CompanyTypesValues } from "./IndividualOnfido-pGSPtITh.js";
|
|
11
|
+
import { g as getLegalEntityCountry, bz as getCapabilities, r as LegalEntityTypes, H as hasOwnEntityAssociationOfType, C as CountryCodes } from "./StoreProvider-CyzNf7KK.js";
|
|
12
|
+
import { d as allowIndividualWithoutSoleProp } from "./OnboardingDropinComponent-Cx-c_p0i.js";
|
|
13
|
+
import { S as SOLE_PROP_COUNTRIES } from "./rules-ClDW_ZSK.js";
|
|
14
|
+
import { A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-hGeLq0SR.js";
|
|
15
15
|
const TRUST_COUNTRIES = [CountryCodes.Australia, CountryCodes.NewZealand];
|
|
16
16
|
const BUSINESS_BANK_ACCOUNT_COUNTRIES = [
|
|
17
17
|
CountryCodes.UnitedStates,
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { r as LegalEntityTypes, G as Typography } from "./StoreProvider-
|
|
12
|
-
import { C as Currencies } from "./types-
|
|
13
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
11
|
+
import { r as LegalEntityTypes, G as Typography } from "./StoreProvider-CyzNf7KK.js";
|
|
12
|
+
import { C as Currencies } from "./types-DDnAZYTj.js";
|
|
13
|
+
import { l as localizeDateString } from "./localizeDateString-BX5t59Ip.js";
|
|
14
14
|
const formatCurrency = (amount, currency, locale) => {
|
|
15
15
|
const { format } = new Intl.NumberFormat(
|
|
16
16
|
locale,
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useCallback } from "preact/hooks";
|
|
11
|
-
import { b as useApiContext, k as httpPost } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, k as httpPost } from "./StoreProvider-CyzNf7KK.js";
|
|
12
12
|
import { e as emailPattern } from "./basePatterns-BwdnMQxI.js";
|
|
13
13
|
const validatePhoneNumber = (baseUrl, data) => {
|
|
14
14
|
return httpPost(
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { O as TaskTypes, bm as remediationPayoutApiKeyMapping, bn as remediationBusinessDetailsApiKeyMapping, bo as remediationIndividualApiKeyMapping } from "./StoreProvider-
|
|
10
|
+
import { O as TaskTypes, bm as remediationPayoutApiKeyMapping, bn as remediationBusinessDetailsApiKeyMapping, bo as remediationIndividualApiKeyMapping } from "./StoreProvider-CyzNf7KK.js";
|
|
11
11
|
import { a as assignToProp } from "./utils-DNSfZiio.js";
|
|
12
12
|
const isMaintenanceModeError = (error) => error && typeof error === "object" && "messageCode" in error && error.messageCode === "maintenanceMode";
|
|
13
13
|
const overrideKeyMapping = {
|