@adyen/kyc-components 3.82.0-beta.1 → 3.82.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-Do0w4uTc.js → AcceptTermsOfServiceComponent-C3yRLumN.js} +14 -14
- package/dist/{AccountSetupRejected-C7bZBsjo.js → AccountSetupRejected-C9_iMOBl.js} +4 -4
- package/dist/{Address-CX1FM8LF.js → Address-ysG9f0Uu.js} +7 -7
- package/dist/{Alert-DCYc9VpX.js → Alert-B1lzQY12.js} +1 -1
- package/dist/{Avatar-BaxjEBNy.js → Avatar-DM-fkaYa.js} +1 -1
- package/dist/{BusinessDetailsDropin-yG7M7i9-.js → BusinessDetailsDropin-D5d1SNjD.js} +33 -33
- package/dist/{BusinessFinancingComponent-CZZcn51m.js → BusinessFinancingComponent-B0polrPy.js} +4 -4
- package/dist/{BusinessFinancingDropin-EfA32nOP.js → BusinessFinancingDropin-BGGarWem.js} +22 -22
- package/dist/{BusinessFinancingPage-Bb1dPIJF.js → BusinessFinancingPage-BetFc_7v.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-CjEomufR.js → BusinessTypeSelectionPage-Bj0yWUVq.js} +6 -6
- package/dist/{Card-DsB6bxW-.js → Card-DSMAwffx.js} +3 -3
- package/dist/{Confirm-X9nR52Md.js → Confirm-0YL4osCA.js} +2 -2
- package/dist/{CountryField-DxBBjy81.js → CountryField-WxFXwPs4.js} +4 -4
- package/dist/{CreateIndividualComponent-Dyn173AJ.js → CreateIndividualComponent-TIaVKbOC.js} +5 -5
- package/dist/{CreateTransferInstrumentComponent-BT78AU6Z.js → CreateTransferInstrumentComponent-BnPAq-yv.js} +5 -5
- package/dist/{Currency-wsIZH1_j.js → Currency-Ds_a8CCd.js} +5 -5
- package/dist/{CustomerSupport-B7VbKM8X.js → CustomerSupport-qDVdkBKm.js} +8 -8
- package/dist/{DebugModal-CZwhc_eY.js → DebugModal-CDdpa71W.js} +6 -6
- package/dist/{DecisionMakerDetailsPage-Y7E2RfUW.js → DecisionMakerDetailsPage-Dtg5K2WO.js} +6 -6
- package/dist/{DecisionMakers-DNepilyq.js → DecisionMakers-Ib95iw7Q.js} +17 -17
- package/dist/{Dropzone-nt4AXJ-H.js → Dropzone-DfNEAtUH.js} +3 -3
- package/dist/{EmbeddedStatus-D0gkDJMZ.js → EmbeddedStatus-DQRl8yD4.js} +2 -2
- package/dist/{EndStateLayout-C2whNAgv.js → EndStateLayout-D5En3kQc.js} +1 -1
- package/dist/{FormFlow-CRhuooj2.js → FormFlow-BDQPifwl.js} +6 -6
- package/dist/{FormNavigation-BdFqTFAy.js → FormNavigation-CFn0ei_X.js} +1 -1
- package/dist/{IndividualOnfidoDropin-BWM9aKLs.js → IndividualOnfidoDropin-47JRhwaW.js} +38 -38
- package/dist/{InputDate-DydMc18N.js → InputDate-BySP0-t1.js} +1 -1
- package/dist/{InputText-BCNFl9Ni.js → InputText-3-O0-n_9.js} +2 -2
- package/dist/{Introduction-1ZBVqCrd.js → Introduction-Ch2rwlJb.js} +4 -4
- package/dist/{LegalRepresentativeDetailsPage-B2yyvDKF.js → LegalRepresentativeDetailsPage-eLpqCWOP.js} +4 -4
- package/dist/{Link-BGc9wGrL.js → Link-vc9K37Kl.js} +1 -1
- package/dist/{ManageIndividualComponent-CFvL5A-c.js → ManageIndividualComponent-C9ltSbcq.js} +5 -5
- package/dist/{ManageTermsOfServiceComponent-DTrzRxr1.js → ManageTermsOfServiceComponent-aRnfztzi.js} +5 -5
- package/dist/{ManageTransferInstrumentComponent-B2cBS1y1.js → ManageTransferInstrumentComponent-58UX0Cbl.js} +12 -12
- package/dist/{MaskedInput-DOTRZoSO.js → MaskedInput-Qm8c9y74.js} +3 -3
- package/dist/{MaybeModal-SjCkh5yq.js → MaybeModal-BWiEjybE.js} +2 -2
- package/dist/{Modal-t5jbmZJu.js → Modal-g8bvykqd.js} +1 -1
- package/dist/{OnboardingDropinComponent-DegbZ_o6.js → OnboardingDropinComponent-CR06usbc.js} +42 -42
- package/dist/{PayoutDetailsDropin-58zkMbID.js → PayoutDetailsDropin-DAnqO6iH.js} +25 -25
- package/dist/{RadioGroup-Dkwl1v8z.js → RadioGroup-CUIvLdaZ.js} +4 -4
- package/dist/{RegistrationAddress-DOqLUQEe.js → RegistrationAddress-CwJIVHdK.js} +12 -12
- package/dist/{Review-8WTYj81b.js → Review-CSUU9QbK.js} +6 -6
- package/dist/{RootBusinessDetailsPage-FDWyaMpG.js → RootBusinessDetailsPage-DVb4OI9j.js} +27 -27
- package/dist/{RootIndividualDetailsPage-SFgbb5Bk.js → RootIndividualDetailsPage-BxCD6w1o.js} +4 -4
- package/dist/{SignPCIComponent-bl7LzPjE.js → SignPCIComponent-Ck_GRyGz.js} +9 -9
- package/dist/{SingpassSelection-DukeaL-T.js → SingpassSelection-DqWI5TmK.js} +3 -3
- package/dist/{SoleProprietorshipPage-C-XJc7Iq.js → SoleProprietorshipPage-COnXtPXT.js} +4 -4
- package/dist/{SourceOfFundsPage-D-xLHf2C.js → SourceOfFundsPage-W1MrK36S.js} +26 -26
- package/dist/{StepProgressIndicator-DHei86A6.js → StepProgressIndicator-BGZAAFy8.js} +1 -1
- package/dist/{StoreProvider-B6-mwoeD.js → StoreProvider-CgV8wQ9w.js} +4 -4
- package/dist/{TaskItemStatus-BxzVEGbJ.js → TaskItemStatus-nJWn4WoW.js} +1 -1
- package/dist/{TaskStatusIndicator-Dfp2GcbN.js → TaskStatusIndicator-DHHoZWPy.js} +1 -1
- package/dist/{TaxInformationField-r8gB7YBi.js → TaxInformationField-COoRE_jM.js} +12 -12
- package/dist/{TaxReportingDropin-5Lp9F8Ab.js → TaxReportingDropin-CB24aTcw.js} +17 -17
- package/dist/{TileGroup-jIldfSJ7.js → TileGroup-qwGOc27a.js} +2 -2
- package/dist/{TrustDetailsPage-CjCSvds-.js → TrustDetailsPage-COoAGN6z.js} +22 -22
- package/dist/{TrustMemberCompanyPage-Z6YT-R_a.js → TrustMemberCompanyPage-CC2S0rDO.js} +5 -5
- package/dist/{TrustMemberIndividualPage-qDN9m9Dv.js → TrustMemberIndividualPage-osaf6tGX.js} +4 -4
- package/dist/{UnincorporatedPartnershipIndividualPage-iRZOCq2z.js → UnincorporatedPartnershipIndividualPage-D0-9jZCT.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-9FlDLivA.js → UnincorporatedPartnershipMemberCompanyPage-DUhnWK_-.js} +5 -5
- package/dist/{ViewVerificationStatusComponent-7D-3OVVA.js → ViewVerificationStatusComponent-CdONqy2n.js} +3 -3
- package/dist/adyen-business-financing.js +2 -2
- package/dist/adyen-individual.js +2 -2
- package/dist/adyen-kyc-components.js +21 -21
- package/dist/adyen-manage-individual.js +2 -2
- package/dist/adyen-manage-terms-of-service.js +2 -2
- package/dist/adyen-manage-transfer-instruments.js +2 -2
- package/dist/adyen-onboarding.js +2 -2
- package/dist/adyen-terms-of-service.js +2 -2
- package/dist/adyen-transfer-instrument.js +2 -2
- package/dist/adyen-verification-status.js +2 -2
- package/dist/{analytics-CYiivYhI.js → analytics-hmMnbz0P.js} +1 -1
- package/dist/{bafinUtils-DSQnsLeT.js → bafinUtils-y6mSKEf5.js} +5 -5
- package/dist/{commonValidators-CwkyFFVz.js → commonValidators-Dm-0sW3o.js} +1 -1
- package/dist/{dropinUtils-CkJv8r-0.js → dropinUtils-CZxq6hrg.js} +2 -2
- package/dist/{fieldConfigurations-CzZ2B1fa.js → fieldConfigurations-BQHQxqm2.js} +6 -6
- package/dist/{getName-BkvLQ7My.js → getName-Dx6-W0G-.js} +1 -1
- package/dist/{hasDataChanged-B7dryhBQ.js → hasDataChanged-BAP0DgMv.js} +1 -1
- package/dist/{iframeWidget-BfmN5KKM.js → iframeWidget-IJAjx4Ds.js} +3 -3
- package/dist/{isEmpty-CJ2g18ZH.js → isEmpty-caP-ML9a.js} +1 -1
- package/dist/{localizeDateString-C4IzMd3y.js → localizeDateString-Ik3d70hz.js} +1 -1
- package/dist/{mapExistingFile-D8NcT-or.js → mapExistingFile-B9JGUws9.js} +3 -3
- package/dist/{mapScriptLocalization-DBcq31SQ.js → mapScriptLocalization-DRiKh34Q.js} +3 -3
- package/dist/{mapTransferInstrumentToPayoutAccount-CijqOJMZ.js → mapTransferInstrumentToPayoutAccount-BhVq_8Nc.js} +1 -1
- package/dist/{resolveEnvironment-94mV6qts.js → resolveEnvironment-Bj8QEsTZ.js} +3 -3
- package/dist/{rules-D9wLpDnS.js → rules-Cq-V9ekY.js} +3 -3
- package/dist/{translation-BxcrjuWb.js → translation-BEICd4Lt.js} +1 -1
- package/dist/{types-DAyrP-xk.js → types-YB_RkbF2.js} +1 -1
- package/dist/{types-Da02-5C7.js → types-uCv9Erz_.js} +1 -1
- package/dist/{useAssociatedLegalEntity-Bw8j7jsT.js → useAssociatedLegalEntity-6ePKn92X.js} +1 -1
- package/dist/{useDataset-BLJa9WLi.js → useDataset-BoLNwxBb.js} +1 -1
- package/dist/{useForm-CiqZ15MF.js → useForm-CQ1rW1C8.js} +2 -2
- package/dist/{useGlobalData-DRn0XQ0c.js → useGlobalData-Cla23z9Z.js} +9 -9
- package/dist/{useMultiForm-B2RH71uE.js → useMultiForm-BOpjB1IL.js} +3 -3
- package/dist/{useOnboardingStatus-D1idaeSA.js → useOnboardingStatus-BsGl6ARq.js} +1 -1
- package/dist/{useScenarios-MJLlpy2B.js → useScenarios-C-sele_3.js} +1 -1
- package/dist/{useTermsOfServiceStatus-YnguYeSj.js → useTermsOfServiceStatus-Qz-Qx_FV.js} +1 -1
- package/dist/{useToastContext-BBdhLX_K.js → useToastContext-Cyd2sf78.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-TCYzsxr-.js → useUnincorporatedPartnershipMembers-CGYg_lAO.js} +4 -4
- package/dist/{utils-CMkU9dq6.js → utils-D2OHa0ZV.js} +6 -6
- package/dist/{utils-Bw6dVL0x.js → utils-D_27dTWh.js} +1 -1
- package/dist/{utils-Drt88lUg.js → utils-Dx-L2JNN.js} +1 -1
- package/dist/{validate-BacCnDiH.js → validate-8V55d9Bn.js} +6 -6
- package/dist/{validate-BlPEAs8d.js → validate-B_dvz3Gv.js} +1 -1
- package/dist/{validate-DQ_IsigQ.js → validate-Bo4GvVxC.js} +3 -3
- package/dist/{validationError-eJqGwKE_.js → validationError-BgyG5agZ.js} +1 -1
- package/package.json +1 -1
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useRef, useCallback } from "preact/hooks";
|
|
11
|
-
import { bp as userEvents } from "./StoreProvider-
|
|
11
|
+
import { bp as userEvents } from "./StoreProvider-CgV8wQ9w.js";
|
|
12
12
|
const debounce = (func, wait) => {
|
|
13
13
|
let timerId;
|
|
14
14
|
let shouldInvoke;
|
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useReducer, useMemo, useContext } from "preact/hooks";
|
|
11
|
-
import { b as useApiContext, j as useQuery, k as httpPost, X as useExperimentsContext, g as getLegalEntityCountry, a8 as CountryCodes, z as isPartOfTrustFromLegalEntity, y as LegalEntityTypes, C as hasSolePropInLegalEntity, ah as individualComponentsKeyMapping, ai as businessDetailsComponentsKeyMapping, aj as SettingsContext, a as useTranslation, x as Typography, ak as DecisionMakerTypes, M as TaskTypes, al as Scenarios } from "./StoreProvider-
|
|
12
|
-
import { e as TrustedFieldsProviders } from "./fieldConfigurations-
|
|
11
|
+
import { b as useApiContext, j as useQuery, k as httpPost, X as useExperimentsContext, g as getLegalEntityCountry, a8 as CountryCodes, z as isPartOfTrustFromLegalEntity, y as LegalEntityTypes, C as hasSolePropInLegalEntity, ah as individualComponentsKeyMapping, ai as businessDetailsComponentsKeyMapping, aj as SettingsContext, a as useTranslation, x as Typography, ak as DecisionMakerTypes, M as TaskTypes, al as Scenarios } from "./StoreProvider-CgV8wQ9w.js";
|
|
12
|
+
import { e as TrustedFieldsProviders } from "./fieldConfigurations-BQHQxqm2.js";
|
|
13
13
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
14
|
-
import { F as Field, S as SelectListItem } from "./useForm-
|
|
15
|
-
import { I as InputText } from "./InputText-
|
|
16
|
-
import { c as createFormUtils, r as roleMetadata } from "./CountryField-
|
|
14
|
+
import { F as Field, S as SelectListItem } from "./useForm-CQ1rW1C8.js";
|
|
15
|
+
import { I as InputText } from "./InputText-3-O0-n_9.js";
|
|
16
|
+
import { c as createFormUtils, r as roleMetadata } from "./CountryField-WxFXwPs4.js";
|
|
17
17
|
import cx from "classnames";
|
|
18
18
|
import { signal, computed } from "@preact/signals";
|
|
19
19
|
async function convertToSingpassLinkResponse(openIdInitiateResponse) {
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useState, useEffect, useMemo } from "preact/hooks";
|
|
11
|
-
import { U as useAnalyticsContext, N as createLogger } from "./StoreProvider-
|
|
12
|
-
import { d as summaryStep, h as FormRouterContext } from "./CountryField-
|
|
11
|
+
import { U as useAnalyticsContext, N as createLogger } from "./StoreProvider-CgV8wQ9w.js";
|
|
12
|
+
import { d as summaryStep, h as FormRouterContext } from "./CountryField-WxFXwPs4.js";
|
|
13
13
|
import { jsx } from "preact/jsx-runtime";
|
|
14
14
|
const trackNavigation = ({
|
|
15
15
|
userEvents,
|
|
@@ -7,17 +7,17 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as useLegalEntity, R as ROOT_LE, X as useExperimentsContext, am as getCapabilityProblems, g as getLegalEntityCountry, N as createLogger, b as useApiContext, an as hasText, ao as isValidMinLength, ap as matchesRegex, a9 as isEmpty, aq as NO_ALPHABET_REGEX, ar as EMOJI_REGEX, as as hasRepeatedCharacters, at as isInvalidName, au as OTHER_ENTITIES_VALID_CHAR_REGEX, av as LATIN_SPACE_MARK_PUNCTUATION_REGEX, aw as standardKatakanaValidator, ax as standardKanjiValidator, U as useAnalyticsContext, a as useTranslation, L as Loader } from "./StoreProvider-
|
|
10
|
+
import { c as useLegalEntity, R as ROOT_LE, X as useExperimentsContext, am as getCapabilityProblems, g as getLegalEntityCountry, N as createLogger, b as useApiContext, an as hasText, ao as isValidMinLength, ap as matchesRegex, a9 as isEmpty, aq as NO_ALPHABET_REGEX, ar as EMOJI_REGEX, as as hasRepeatedCharacters, at as isInvalidName, au as OTHER_ENTITIES_VALID_CHAR_REGEX, av as LATIN_SPACE_MARK_PUNCTUATION_REGEX, aw as standardKatakanaValidator, ax as standardKanjiValidator, U as useAnalyticsContext, a as useTranslation, L as Loader } from "./StoreProvider-CgV8wQ9w.js";
|
|
11
11
|
import { useContext, useMemo, useRef, useState, useEffect } from "preact/hooks";
|
|
12
12
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
13
13
|
import { createContext } from "preact";
|
|
14
|
-
import { a as Alert } from "./Alert-
|
|
14
|
+
import { a as Alert } from "./Alert-B1lzQY12.js";
|
|
15
15
|
import cx from "classnames";
|
|
16
|
-
import { d as debouncedInputEvent } from "./analytics-
|
|
17
|
-
import { c as convertFullToHalf } from "./InputText-
|
|
16
|
+
import { d as debouncedInputEvent } from "./analytics-hmMnbz0P.js";
|
|
17
|
+
import { c as convertFullToHalf } from "./InputText-3-O0-n_9.js";
|
|
18
18
|
import { Suspense } from "preact/compat";
|
|
19
|
-
import { b as useId } from "./useForm-
|
|
20
|
-
import { R as Radio } from "./CountryField-
|
|
19
|
+
import { b as useId } from "./useForm-CQ1rW1C8.js";
|
|
20
|
+
import { R as Radio } from "./CountryField-WxFXwPs4.js";
|
|
21
21
|
const useCapabilityProblems = () => {
|
|
22
22
|
const { data: rootLegalEntity } = useLegalEntity(ROOT_LE);
|
|
23
23
|
const { isExperimentEnabled } = useExperimentsContext();
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { y as LegalEntityTypes, a6 as getOwnEntityAssociations } from "./StoreProvider-
|
|
10
|
+
import { y as LegalEntityTypes, a6 as getOwnEntityAssociations } from "./StoreProvider-CgV8wQ9w.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 { az as entriesOf, af as objectsDeepEqual } from "./StoreProvider-
|
|
10
|
+
import { az as entriesOf, af as objectsDeepEqual } from "./StoreProvider-CgV8wQ9w.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 { ay as cloneObject, N as createLogger, by as isString, k as httpPost } from "./StoreProvider-
|
|
11
|
-
import { i as isValueObscured } from "./MaskedInput-
|
|
10
|
+
import { ay as cloneObject, N as createLogger, by as isString, k as httpPost } from "./StoreProvider-CgV8wQ9w.js";
|
|
11
|
+
import { i as isValueObscured } from "./MaskedInput-Qm8c9y74.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-B9JGUws9.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 { aD as keysOf } from "./StoreProvider-
|
|
10
|
+
import { aD as keysOf } from "./StoreProvider-CgV8wQ9w.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 { N as createLogger } from "./StoreProvider-
|
|
10
|
+
import { N as createLogger } from "./StoreProvider-CgV8wQ9w.js";
|
|
11
11
|
const localizeDateString = (dateString, locale, options) => {
|
|
12
12
|
const logger = createLogger();
|
|
13
13
|
const formatOptions = {
|
|
@@ -8,13 +8,13 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useEffect, useState, useMemo } from "preact/hooks";
|
|
11
|
-
import { u as useScenarios } from "./useScenarios-
|
|
12
|
-
import { a8 as CountryCodes, N as createLogger, a as useTranslation, V as Icon } from "./StoreProvider-
|
|
11
|
+
import { u as useScenarios } from "./useScenarios-C-sele_3.js";
|
|
12
|
+
import { a8 as CountryCodes, N as createLogger, a as useTranslation, V as Icon } from "./StoreProvider-CgV8wQ9w.js";
|
|
13
13
|
import { signal } from "@preact/signals";
|
|
14
14
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
15
15
|
import cx from "classnames";
|
|
16
16
|
import { lazy } from "preact/compat";
|
|
17
|
-
import { I as Image } from "./fieldConfigurations-
|
|
17
|
+
import { I as Image } from "./fieldConfigurations-BQHQxqm2.js";
|
|
18
18
|
class AdyenKycSdkError extends Error {
|
|
19
19
|
sourceError;
|
|
20
20
|
constructor(message, sourceError) {
|
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, j as useQuery, o as httpGet, X as useExperimentsContext, a8 as CountryCodes } from "./StoreProvider-
|
|
11
|
-
import { u as useSetting } from "./bafinUtils-
|
|
12
|
-
import { u as useCapabilities } from "./TaxInformationField-
|
|
10
|
+
import { b as useApiContext, j as useQuery, o as httpGet, X as useExperimentsContext, a8 as CountryCodes } from "./StoreProvider-CgV8wQ9w.js";
|
|
11
|
+
import { u as useSetting } from "./bafinUtils-y6mSKEf5.js";
|
|
12
|
+
import { u as useCapabilities } from "./TaxInformationField-COoRE_jM.js";
|
|
13
13
|
const getSupportedCountries = async (legalEntityId, baseUrl) => {
|
|
14
14
|
return httpGet({
|
|
15
15
|
baseUrl,
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, j as useQuery, q as skipToken, o as httpGet, bz as payoutComponentKeyMapping } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, j as useQuery, q as skipToken, o as httpGet, bz as payoutComponentKeyMapping } from "./StoreProvider-CgV8wQ9w.js";
|
|
11
11
|
import { m as mapWith } from "./utils-DNSfZiio.js";
|
|
12
12
|
const getTransferInstrument = async (legalEntityId, baseUrl, transferInstrumentId) => {
|
|
13
13
|
return httpGet({
|
|
@@ -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] = "e172bbdb-b6c2-410f-8907-fcdf4610f14c", e._sentryDebugIdIdentifier = "sentry-dbid-e172bbdb-b6c2-410f-8907-fcdf4610f14c");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { aP 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-
|
|
11
|
+
import { aP 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-CgV8wQ9w.js";
|
|
12
12
|
import { useState, useEffect } from "preact/hooks";
|
|
13
13
|
const sheet = new CSSStyleSheet();
|
|
14
14
|
const stylesheets = [sheet];
|
|
@@ -56,7 +56,7 @@ const EmbedShell = ({
|
|
|
56
56
|
experiments,
|
|
57
57
|
refreshExperiments,
|
|
58
58
|
children: /* @__PURE__ */ jsxs(StoreProvider, { children: [
|
|
59
|
-
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.82.0
|
|
59
|
+
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.82.0" }),
|
|
60
60
|
/* @__PURE__ */ jsx(
|
|
61
61
|
AnalyticsProvider,
|
|
62
62
|
{
|
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { a8 as CountryCodes, b9 as allowedCountriesForNominee, ak as DecisionMakerTypes, M as TaskTypes, al as Scenarios } from "./StoreProvider-
|
|
11
|
-
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET } from "./utils-
|
|
10
|
+
import { a8 as CountryCodes, b9 as allowedCountriesForNominee, ak as DecisionMakerTypes, M as TaskTypes, al as Scenarios } from "./StoreProvider-CgV8wQ9w.js";
|
|
11
|
+
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET } from "./utils-Dx-L2JNN.js";
|
|
12
12
|
import { c as createFormRules } from "./form-rules-DhbF2mY4.js";
|
|
13
|
-
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-
|
|
13
|
+
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-D_27dTWh.js";
|
|
14
14
|
const REQUIRED = "REQUIRED";
|
|
15
15
|
const OPTIONAL = "OPTIONAL";
|
|
16
16
|
const SOLE_PROP_COUNTRIES = [
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { createElement, isValidElement, cloneElement, Children, Fragment, useContext } from "preact/compat";
|
|
11
|
-
import { aI as warnOnce, aJ as getI18n, aK as getDefaults, aL as isString, aM as warn, aN as isObject, aO as I18nContext } from "./StoreProvider-
|
|
11
|
+
import { aI as warnOnce, aJ as getI18n, aK as getDefaults, aL as isString, aM as warn, aN as isObject, aO as I18nContext } from "./StoreProvider-CgV8wQ9w.js";
|
|
12
12
|
const __variableDynamicImportRuntimeHelper = (glob$1, path$13, segs) => {
|
|
13
13
|
const v = glob$1[path$13];
|
|
14
14
|
if (v) return typeof v === "function" ? v() : Promise.resolve(v);
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { a8 as CountryCodes } from "./StoreProvider-
|
|
10
|
+
import { a8 as CountryCodes } from "./StoreProvider-CgV8wQ9w.js";
|
|
11
11
|
import { C as Currencies } from "./currency-BGwQyxBo.js";
|
|
12
12
|
const currencyByCountry = {
|
|
13
13
|
[CountryCodes.Australia]: [Currencies.AUD],
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useMemo } from "preact/hooks";
|
|
11
|
-
import { N as createLogger, c as useLegalEntity, q as skipToken } from "./StoreProvider-
|
|
11
|
+
import { N as createLogger, c as useLegalEntity, q as skipToken } from "./StoreProvider-CgV8wQ9w.js";
|
|
12
12
|
const logger = createLogger();
|
|
13
13
|
function useAssociatedLegalEntity(parentLegalEntity, associationType) {
|
|
14
14
|
const matchingAssociation = useMemo(() => {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useState, useEffect } from "preact/hooks";
|
|
11
|
-
import { N as createLogger, u as useI18nContext } from "./StoreProvider-
|
|
11
|
+
import { N as createLogger, u as useI18nContext } from "./StoreProvider-CgV8wQ9w.js";
|
|
12
12
|
const normalizedDatasets = {};
|
|
13
13
|
const datasets = {};
|
|
14
14
|
const createDatasetKey = (identifier, locale) => `${identifier}_${locale}`.toLowerCase();
|
|
@@ -10,10 +10,10 @@
|
|
|
10
10
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
12
|
import { useState, useEffect, useRef, useMemo, useCallback, useReducer } from "preact/hooks";
|
|
13
|
-
import { U as useAnalyticsContext, a as useTranslation, V as Icon, w as translateStringOrObject, L as Loader, W as noop, x as Typography, N as createLogger, a9 as isEmpty, az as entriesOf, aG as doArraysMatch } from "./StoreProvider-
|
|
13
|
+
import { U as useAnalyticsContext, a as useTranslation, V as Icon, w as translateStringOrObject, L as Loader, W as noop, x as Typography, N as createLogger, a9 as isEmpty, az as entriesOf, aG as doArraysMatch } from "./StoreProvider-CgV8wQ9w.js";
|
|
14
14
|
import { computed, signal, useSignal, useSignalEffect } from "@preact/signals";
|
|
15
15
|
import { K as KEYBOARD_KEYS } from "./keys-BpNgnAsD.js";
|
|
16
|
-
import { d as debouncedInputEvent } from "./analytics-
|
|
16
|
+
import { d as debouncedInputEvent } from "./analytics-hmMnbz0P.js";
|
|
17
17
|
function Checkbox({
|
|
18
18
|
id,
|
|
19
19
|
name,
|
|
@@ -9,16 +9,16 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useContext, useState, useCallback, useMemo } from "preact/hooks";
|
|
12
|
-
import { bw as StateContext, a as useTranslation, U as useAnalyticsContext, X as useExperimentsContext, B as Button } from "./StoreProvider-
|
|
13
|
-
import { L as LoaderWrapper } from "./useForm-
|
|
14
|
-
import { M as MaybeModal } from "./MaybeModal-
|
|
15
|
-
import { a as ModalContent, c as ModalHeader, b as ModalFooter } from "./Modal-
|
|
12
|
+
import { bw as StateContext, a as useTranslation, U as useAnalyticsContext, X as useExperimentsContext, B as Button } from "./StoreProvider-CgV8wQ9w.js";
|
|
13
|
+
import { L as LoaderWrapper } from "./useForm-CQ1rW1C8.js";
|
|
14
|
+
import { M as MaybeModal } from "./MaybeModal-BWiEjybE.js";
|
|
15
|
+
import { a as ModalContent, c as ModalHeader, b as ModalFooter } from "./Modal-g8bvykqd.js";
|
|
16
16
|
import { S as Spacer } from "./Spacer-BK3jDget.js";
|
|
17
|
-
import { S as StepProgressIndicator } from "./StepProgressIndicator-
|
|
18
|
-
import { t as trackNavigation, F as FormRouterContextProvider } from "./dropinUtils-
|
|
19
|
-
import { F as FormNavigation } from "./FormNavigation-
|
|
20
|
-
import { d as summaryStep, S as Summary } from "./CountryField-
|
|
21
|
-
import { a as debounce } from "./analytics-
|
|
17
|
+
import { S as StepProgressIndicator } from "./StepProgressIndicator-BGZAAFy8.js";
|
|
18
|
+
import { t as trackNavigation, F as FormRouterContextProvider } from "./dropinUtils-CZxq6hrg.js";
|
|
19
|
+
import { F as FormNavigation } from "./FormNavigation-CFn0ei_X.js";
|
|
20
|
+
import { d as summaryStep, S as Summary } from "./CountryField-WxFXwPs4.js";
|
|
21
|
+
import { a as debounce } from "./analytics-hmMnbz0P.js";
|
|
22
22
|
function useStateContext() {
|
|
23
23
|
const context = useContext(StateContext);
|
|
24
24
|
if (process.env.NODE_ENV === "development" && !context) {
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useCallback, useMemo, useReducer, useEffect } from "preact/hooks";
|
|
11
|
-
import { af as objectsDeepEqual, N as createLogger, a9 as isEmpty } from "./StoreProvider-
|
|
12
|
-
import { V as ValidationResult } from "./useForm-
|
|
13
|
-
import { a as isNotEmptyValidator } from "./commonValidators-
|
|
11
|
+
import { af as objectsDeepEqual, N as createLogger, a9 as isEmpty } from "./StoreProvider-CgV8wQ9w.js";
|
|
12
|
+
import { V as ValidationResult } from "./useForm-CQ1rW1C8.js";
|
|
13
|
+
import { a as isNotEmptyValidator } from "./commonValidators-Dm-0sW3o.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, o as httpGet } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, j as useQuery, o as httpGet } from "./StoreProvider-CgV8wQ9w.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, az as entriesOf, q as skipToken, al as Scenarios, o as httpGet } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, j as useQuery, az as entriesOf, q as skipToken, al as Scenarios, o as httpGet } from "./StoreProvider-CgV8wQ9w.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, o as httpGet } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, j as useQuery, o as httpGet } from "./StoreProvider-CgV8wQ9w.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 { N as createLogger, aC as useQueryClient, b as useApiContext, aH as ToastContext } from "./StoreProvider-
|
|
10
|
+
import { N as createLogger, aC as useQueryClient, b as useApiContext, aH as ToastContext } from "./StoreProvider-CgV8wQ9w.js";
|
|
11
11
|
import { useCallback, 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 { y as LegalEntityTypes, a6 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 { y as LegalEntityTypes, a6 as getOwnEntityAssociations, c as useLegalEntity, R as ROOT_LE } from "./StoreProvider-CgV8wQ9w.js";
|
|
12
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-6ePKn92X.js";
|
|
13
|
+
import { U as UnincorporatedPartnershipMemberTypes } from "./CountryField-WxFXwPs4.js";
|
|
14
|
+
import { g as getLegalEntityNameBasedOnType } from "./getName-Dx6-W0G-.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 { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { R as RadioGroupCard } from "./fieldConfigurations-
|
|
12
|
-
import { a as useTranslation, g as getLegalEntityCountry, bC as getCapabilities, y as LegalEntityTypes, G as hasOwnEntityAssociationOfType, a8 as CountryCodes } from "./StoreProvider-
|
|
13
|
-
import { C as CompanyTypesValues } from "./bafinUtils-
|
|
14
|
-
import { d as allowIndividualWithoutSoleProp } from "./OnboardingDropinComponent-
|
|
15
|
-
import { S as SOLE_PROP_COUNTRIES } from "./rules-
|
|
16
|
-
import { A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-
|
|
11
|
+
import { R as RadioGroupCard } from "./fieldConfigurations-BQHQxqm2.js";
|
|
12
|
+
import { a as useTranslation, g as getLegalEntityCountry, bC as getCapabilities, y as LegalEntityTypes, G as hasOwnEntityAssociationOfType, a8 as CountryCodes } from "./StoreProvider-CgV8wQ9w.js";
|
|
13
|
+
import { C as CompanyTypesValues } from "./bafinUtils-y6mSKEf5.js";
|
|
14
|
+
import { d as allowIndividualWithoutSoleProp } from "./OnboardingDropinComponent-CR06usbc.js";
|
|
15
|
+
import { S as SOLE_PROP_COUNTRIES } from "./rules-Cq-V9ekY.js";
|
|
16
|
+
import { A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-uCv9Erz_.js";
|
|
17
17
|
const EntityTypeRadioGroupCard = ({
|
|
18
18
|
examples,
|
|
19
19
|
optionDescription,
|
|
@@ -8,13 +8,13 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useCallback, useState, useMemo, useEffect } from "preact/hooks";
|
|
11
|
-
import { b as useApiContext, k as httpPost, a8 as CountryCodes, a9 as isEmpty, N as createLogger, a as useTranslation, az as entriesOf } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, k as httpPost, a8 as CountryCodes, a9 as isEmpty, N as createLogger, a as useTranslation, az as entriesOf } from "./StoreProvider-CgV8wQ9w.js";
|
|
12
12
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
13
|
-
import { F as Field, c as Select } from "./useForm-
|
|
14
|
-
import { m as mergeFieldMetadataIntoProps, c as createFormUtils, F as FormHeader } from "./CountryField-
|
|
15
|
-
import { m as makeMask, a as nonInputs, n as numericInputs, s as spacer, M as MaskedInput, I as InputEmail } from "./MaskedInput-
|
|
16
|
-
import { r as resolveFieldMetadata } from "./fieldConfigurations-
|
|
17
|
-
import { u as useDataset, d as datasetIdentifier } from "./useDataset-
|
|
13
|
+
import { F as Field, c as Select } from "./useForm-CQ1rW1C8.js";
|
|
14
|
+
import { m as mergeFieldMetadataIntoProps, c as createFormUtils, F as FormHeader } from "./CountryField-WxFXwPs4.js";
|
|
15
|
+
import { m as makeMask, a as nonInputs, n as numericInputs, s as spacer, M as MaskedInput, I as InputEmail } from "./MaskedInput-Qm8c9y74.js";
|
|
16
|
+
import { r as resolveFieldMetadata } from "./fieldConfigurations-BQHQxqm2.js";
|
|
17
|
+
import { u as useDataset, d as datasetIdentifier } from "./useDataset-BoLNwxBb.js";
|
|
18
18
|
import { I as InputGroup } from "./InputGroup-WBfGDV5F.js";
|
|
19
19
|
import { e as emailPattern } from "./basePatterns-BwdnMQxI.js";
|
|
20
20
|
const validatePhoneNumber = (baseUrl, data) => {
|
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { e as TrustedFieldsProviders } from "./fieldConfigurations-
|
|
11
|
-
import { N as createLogger, bu as businessDetailsApiKeyMapping, a$ as individualApiKeyMapping, aE as remediationHasFileUploadField, bv as dataMissingRemediationsToFieldsMap, aD as keysOf, k as httpPost, aB as httpDelete, o as httpGet, bw as StateContext, a as useTranslation, U as useAnalyticsContext, V as Icon, x as Typography, P as IconButton } from "./StoreProvider-
|
|
12
|
-
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-
|
|
10
|
+
import { e as TrustedFieldsProviders } from "./fieldConfigurations-BQHQxqm2.js";
|
|
11
|
+
import { N as createLogger, bu as businessDetailsApiKeyMapping, a$ as individualApiKeyMapping, aE as remediationHasFileUploadField, bv as dataMissingRemediationsToFieldsMap, aD as keysOf, k as httpPost, aB as httpDelete, o as httpGet, bw as StateContext, a as useTranslation, U as useAnalyticsContext, V as Icon, x as Typography, P as IconButton } from "./StoreProvider-CgV8wQ9w.js";
|
|
12
|
+
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-D_27dTWh.js";
|
|
13
13
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
14
14
|
import cx from "classnames";
|
|
15
15
|
import { useEffect } from "preact/hooks";
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { M as TaskTypes, bq as remediationPayoutApiKeyMapping, br as remediationBusinessDetailsApiKeyMapping, bs as remediationIndividualApiKeyMapping } from "./StoreProvider-
|
|
10
|
+
import { M as TaskTypes, bq as remediationPayoutApiKeyMapping, br as remediationBusinessDetailsApiKeyMapping, bs as remediationIndividualApiKeyMapping } from "./StoreProvider-CgV8wQ9w.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 = {
|