@adyen/kyc-components 3.82.2 → 3.82.4
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-SUI-Gay3.js → AcceptTermsOfServiceComponent-B0LAGtDq.js} +14 -14
- package/dist/{AccountSetupRejected-CWKZ1tTW.js → AccountSetupRejected-CurNLH-v.js} +4 -4
- package/dist/{Address-wVmHTSPw.js → Address-oDZ5-kVD.js} +7 -7
- package/dist/{Alert-DLxh7-8w.js → Alert-AWnMm5Qo.js} +1 -1
- package/dist/{Avatar-C5JTIpwu.js → Avatar-wrF1Izkx.js} +1 -1
- package/dist/{BusinessDetailsDropin-Cr2U6fR3.js → BusinessDetailsDropin-Drh1G_6Q.js} +33 -33
- package/dist/{BusinessFinancingComponent-YOFOlp_h.js → BusinessFinancingComponent-CZtNEH3K.js} +4 -4
- package/dist/{BusinessFinancingDropin-DQZiR-IB.js → BusinessFinancingDropin-GV6w6AgB.js} +22 -22
- package/dist/{BusinessFinancingPage-LT_Py0hN.js → BusinessFinancingPage-C7rhZmKl.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-k2Q7W0Mn.js → BusinessTypeSelectionPage-B1vlCySX.js} +6 -6
- package/dist/{Card-Tr1fI5am.js → Card-ZI22wx30.js} +3 -3
- package/dist/{Confirm-JoQJOE3O.js → Confirm-DLEy74vX.js} +2 -2
- package/dist/{CountryField-iSMu28Mk.js → CountryField-BtmygQ5F.js} +4 -4
- package/dist/{CreateIndividualComponent-ClNn2xJg.js → CreateIndividualComponent-BZDYDRaW.js} +5 -5
- package/dist/{CreateTransferInstrumentComponent-yzsw5TTg.js → CreateTransferInstrumentComponent-DeWo8LLw.js} +5 -5
- package/dist/{Currency-Go1bmfbD.js → Currency-V8qhGlJA.js} +5 -5
- package/dist/{CustomerSupport-C4tsbfth.js → CustomerSupport-Bohv7yaf.js} +8 -8
- package/dist/{DebugModal-B-o2DxSe.js → DebugModal-D9WkxmuY.js} +6 -6
- package/dist/{DecisionMakerDetailsPage-BrXGA3kf.js → DecisionMakerDetailsPage-BkzDUEwj.js} +6 -6
- package/dist/{DecisionMakers-aR8bSImU.js → DecisionMakers-DYxSFqAq.js} +17 -17
- package/dist/{Dropzone-DB9V0sM_.js → Dropzone-BkUF-oFS.js} +3 -3
- package/dist/{EmbeddedStatus-L5Ejg05e.js → EmbeddedStatus-CAmOHMoS.js} +2 -2
- package/dist/{EndStateLayout-BHcSEGUy.js → EndStateLayout-ABJPhYF6.js} +1 -1
- package/dist/{FormFlow-DbvyREd3.js → FormFlow-DFNg3M6X.js} +6 -6
- package/dist/{FormNavigation-CEVhOVCM.js → FormNavigation-ZmI-v8GQ.js} +1 -1
- package/dist/{IndividualOnfidoDropin-CsmtZoD6.js → IndividualOnfidoDropin-C61uX7fm.js} +38 -38
- package/dist/{InputDate-DL2uWfA_.js → InputDate-CYUx4Zkt.js} +1 -1
- package/dist/{InputText-DZhDhSHU.js → InputText-e-ajCLLu.js} +2 -2
- package/dist/{Introduction-BnDuQe0P.js → Introduction-CZM6U4Gx.js} +4 -4
- package/dist/{LegalRepresentativeDetailsPage-CFCa0Psw.js → LegalRepresentativeDetailsPage-D3pSRXoF.js} +4 -4
- package/dist/{Link-H_NUrrQh.js → Link-C_wFbiOI.js} +1 -1
- package/dist/{ManageIndividualComponent-CMH6zq4t.js → ManageIndividualComponent-BisCK7lb.js} +5 -5
- package/dist/{ManageTermsOfServiceComponent-CqpVk2Xs.js → ManageTermsOfServiceComponent-eYUT0657.js} +5 -5
- package/dist/{ManageTransferInstrumentComponent-BYLeYGAe.js → ManageTransferInstrumentComponent-DTGR_Ety.js} +12 -12
- package/dist/{MaskedInput-d6ynk2DD.js → MaskedInput-CyPisB5z.js} +3 -3
- package/dist/{MaybeModal-D66squvj.js → MaybeModal-yYXxfhbc.js} +2 -2
- package/dist/{Modal-Cd7U20yD.js → Modal-Bf1V6EkA.js} +1 -1
- package/dist/{OnboardingDropinComponent-BLs1ytyI.js → OnboardingDropinComponent-aBc7y5Gd.js} +42 -42
- package/dist/{PayoutDetailsDropin-WtZW5UuV.js → PayoutDetailsDropin-DfPO4ir4.js} +25 -25
- package/dist/{RadioGroup-CSiEda6F.js → RadioGroup-DZQ35vF-.js} +4 -4
- package/dist/{RegistrationAddress-R2IiB9Ve.js → RegistrationAddress-21WOqDl0.js} +17 -14
- package/dist/{Review-4BwgO2_f.js → Review-DUjMYBJY.js} +6 -6
- package/dist/{RootBusinessDetailsPage-CtJ-K76Z.js → RootBusinessDetailsPage-CdZlfbra.js} +27 -27
- package/dist/{RootIndividualDetailsPage-B4uGKMez.js → RootIndividualDetailsPage-Bx8wV2kS.js} +4 -4
- package/dist/{SignPCIComponent-DNyKu7Nm.js → SignPCIComponent-CLgQxSmO.js} +9 -9
- package/dist/{SingpassSelection-Df94BbH_.js → SingpassSelection-D2QWs7rY.js} +3 -3
- package/dist/{SoleProprietorshipPage-BWyEYtMH.js → SoleProprietorshipPage-DKdu2uLt.js} +4 -4
- package/dist/{SourceOfFundsPage-Dh023bHi.js → SourceOfFundsPage-DDSZQxyu.js} +26 -26
- package/dist/{StepProgressIndicator-BucOrwKd.js → StepProgressIndicator-eDHas4te.js} +1 -1
- package/dist/{StoreProvider-wlEnMP3i.js → StoreProvider-DQMRmYOl.js} +4 -4
- package/dist/{TaskItemStatus-C-Njc7DC.js → TaskItemStatus-4tOJmrwx.js} +1 -1
- package/dist/{TaskStatusIndicator-Dv0Mc-Km.js → TaskStatusIndicator-D0lp53BE.js} +1 -1
- package/dist/{TaxInformationField-tKF_0haj.js → TaxInformationField-mNjgDHUQ.js} +12 -12
- package/dist/{TaxReportingDropin-Csu-pEqc.js → TaxReportingDropin-Jjdf2U4d.js} +17 -17
- package/dist/{TileGroup-DEC83DCn.js → TileGroup-Dr0Ztb6l.js} +2 -2
- package/dist/{TrustDetailsPage-CUAO8IO4.js → TrustDetailsPage-CfeS3YnI.js} +22 -22
- package/dist/{TrustMemberCompanyPage-fmSEycW1.js → TrustMemberCompanyPage-BwZVdFQP.js} +5 -5
- package/dist/{TrustMemberIndividualPage-ClhOZ8a1.js → TrustMemberIndividualPage-Bwm-Zfk_.js} +4 -4
- package/dist/{UnincorporatedPartnershipIndividualPage-CJ0y-apw.js → UnincorporatedPartnershipIndividualPage-C4FQagSK.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-CZQp6aIG.js → UnincorporatedPartnershipMemberCompanyPage--7uUmqDX.js} +5 -5
- package/dist/{ViewVerificationStatusComponent-DuUKHS2R.js → ViewVerificationStatusComponent-BC8L1fLe.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-CORlrLRf.js → analytics-BwPShVR4.js} +1 -1
- package/dist/{bafinUtils-DLTAySgX.js → bafinUtils-DI8t60Xa.js} +5 -5
- package/dist/{commonValidators-QR43B0Ha.js → commonValidators-DSBtv03W.js} +1 -1
- package/dist/{dropinUtils-DEsrhYpI.js → dropinUtils-QEvP5L8R.js} +2 -2
- package/dist/{fieldConfigurations-D_iawESq.js → fieldConfigurations-DNP02RYf.js} +6 -6
- package/dist/{getName-C4Pxr0ab.js → getName-BitxRg1w.js} +1 -1
- package/dist/{hasDataChanged-ByQSHK_m.js → hasDataChanged-BmLHi4lM.js} +1 -1
- package/dist/{iframeWidget-D9C_KIwR.js → iframeWidget-BHGQardl.js} +3 -3
- package/dist/{isEmpty-BQJyCmjV.js → isEmpty-BMsRVCTi.js} +1 -1
- package/dist/{localizeDateString-C5K0krdw.js → localizeDateString-BwEkYpGJ.js} +1 -1
- package/dist/{mapExistingFile-CjQICfcM.js → mapExistingFile-CFvy5DK8.js} +3 -3
- package/dist/{mapScriptLocalization-B4D7OxNz.js → mapScriptLocalization-T0xnlXRX.js} +3 -3
- package/dist/{mapTransferInstrumentToPayoutAccount-CpeE4kbr.js → mapTransferInstrumentToPayoutAccount-l93zQdq6.js} +1 -1
- package/dist/{resolveEnvironment-CXDbuHvq.js → resolveEnvironment-ByxJ4f8A.js} +3 -3
- package/dist/{rules-DENS4Q9p.js → rules-lhkQyQGe.js} +3 -3
- package/dist/{translation-DD0CkeYX.js → translation-DdbbjfTb.js} +1 -1
- package/dist/types/core/process-field-configurations.d.ts +4 -1
- package/dist/types/utils/addLinkedFields.d.ts +26 -2
- package/dist/{types-DC2RJOQB.js → types-DTkNMQWv.js} +1 -1
- package/dist/{types-BdLjSZ_L.js → types-KZKAJLT6.js} +1 -1
- package/dist/{useAssociatedLegalEntity-CsKbF3Mo.js → useAssociatedLegalEntity-By5fzMwK.js} +1 -1
- package/dist/{useDataset-KpIFgCMq.js → useDataset-BdkrGwQp.js} +1 -1
- package/dist/{useForm-lGwsWpQe.js → useForm-DwU-1DTE.js} +2 -2
- package/dist/{useGlobalData-BtKU3xhR.js → useGlobalData-BuEVbUs9.js} +9 -9
- package/dist/{useMultiForm-BzBD0i-f.js → useMultiForm-CvuouyKe.js} +3 -3
- package/dist/{useOnboardingStatus-Dney9Bak.js → useOnboardingStatus-DsOL99Eg.js} +1 -1
- package/dist/{useScenarios-Dei_gPcX.js → useScenarios-DcrrR_9f.js} +1 -1
- package/dist/{useTermsOfServiceStatus-B_EAC_gv.js → useTermsOfServiceStatus-D9Iltz3D.js} +1 -1
- package/dist/{useToastContext-Di9myP0k.js → useToastContext-e7bV_DzX.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-D-oaBt_8.js → useUnincorporatedPartnershipMembers-DQaj67LQ.js} +4 -4
- package/dist/{utils-YVMM6naZ.js → utils-CgAn2DIh.js} +1 -1
- package/dist/{utils-BACR-Sq5.js → utils-DLjZkOsT.js} +6 -6
- package/dist/{utils-7zBGFwP6.js → utils-DhxqzVe0.js} +1 -1
- package/dist/{validate-C_m3dM1T.js → validate-CRXPXh39.js} +6 -6
- package/dist/{validate-Bbd71WPE.js → validate-DLXH480R.js} +83 -18
- package/dist/{validate-Da9A3vs4.js → validate-DcpKoqWC.js} +1 -1
- package/dist/{validationError-DE82pJmH.js → validationError-Dme_dgMj.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-DQMRmYOl.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-DQMRmYOl.js";
|
|
12
|
+
import { e as TrustedFieldsProviders } from "./fieldConfigurations-DNP02RYf.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-DwU-1DTE.js";
|
|
15
|
+
import { I as InputText } from "./InputText-e-ajCLLu.js";
|
|
16
|
+
import { c as createFormUtils, r as roleMetadata } from "./CountryField-BtmygQ5F.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-DQMRmYOl.js";
|
|
12
|
+
import { d as summaryStep, h as FormRouterContext } from "./CountryField-BtmygQ5F.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-DQMRmYOl.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-AWnMm5Qo.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-BwPShVR4.js";
|
|
17
|
+
import { c as convertFullToHalf } from "./InputText-e-ajCLLu.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-DwU-1DTE.js";
|
|
20
|
+
import { R as Radio } from "./CountryField-BtmygQ5F.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-DQMRmYOl.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-DQMRmYOl.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-DQMRmYOl.js";
|
|
11
|
+
import { i as isValueObscured } from "./MaskedInput-CyPisB5z.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-CFvy5DK8.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-DQMRmYOl.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-DQMRmYOl.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-DcrrR_9f.js";
|
|
12
|
+
import { a8 as CountryCodes, N as createLogger, a as useTranslation, V as Icon } from "./StoreProvider-DQMRmYOl.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-DNP02RYf.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-DQMRmYOl.js";
|
|
11
|
+
import { u as useSetting } from "./bafinUtils-DI8t60Xa.js";
|
|
12
|
+
import { u as useCapabilities } from "./TaxInformationField-mNjgDHUQ.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-DQMRmYOl.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] = "2a799158-d034-419f-9494-65016f2a6cba", e._sentryDebugIdIdentifier = "sentry-dbid-2a799158-d034-419f-9494-65016f2a6cba");
|
|
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-DQMRmYOl.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.
|
|
59
|
+
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.82.4" }),
|
|
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-DQMRmYOl.js";
|
|
11
|
+
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET } from "./utils-DhxqzVe0.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-CgAn2DIh.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-DQMRmYOl.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);
|
|
@@ -6,11 +6,13 @@ import type { LegalEntityType } from './models/api/legal-entity-type';
|
|
|
6
6
|
import type { VerificationError } from './models/api/verification-error';
|
|
7
7
|
import type { Remediation } from '../types/errors/remediation';
|
|
8
8
|
import type { FormList } from '../types/form';
|
|
9
|
-
import type { FormConfiguration, FormConfigurationWithoutRules, PerScenarioFormConfiguration } from '../types/form-configuration';
|
|
9
|
+
import type { FieldSettings, FormConfiguration, FormConfigurationWithoutRules, PerScenarioFormConfiguration } from '../types/form-configuration';
|
|
10
10
|
import type { FormRules } from '../types/form-rules';
|
|
11
11
|
import type { AnyTLDSFieldName } from '../utils/getFieldsWithExistingData';
|
|
12
12
|
export declare const composePerScenarioFormConfigurations: <TLDS extends TopLevelDataSchema>(scenarios: Scenario[] | undefined, configurations: PerScenarioFormConfiguration<TLDS, string>) => FormConfiguration<TLDS, string>;
|
|
13
13
|
export declare const augmentWithCountryConfigs: <OuterFormSchema extends TopLevelDataSchema>(countrySpecificConfig: FormConfigurationWithoutRules<OuterFormSchema> | undefined, baseFormConfig: FormConfiguration<OuterFormSchema, string>) => FormConfiguration<OuterFormSchema, string>;
|
|
14
|
+
export declare const isFieldRequired: (fieldSettings: FieldSettings<string>, customRules: FormRules<string>) => boolean;
|
|
15
|
+
export declare const isFieldOptional: (fieldSettings: FieldSettings<string>, customRules: FormRules<string>) => boolean;
|
|
14
16
|
export type PropsFromConfiguration<OuterFormSchema> = Required<Pick<BaseOuterFormProps<OuterFormSchema>, 'allFields' | 'requiredFields' | 'optionalFields' | 'obscuredFields' | 'trustedFields'>>;
|
|
15
17
|
/**
|
|
16
18
|
* function: getPropsFromScenarios
|
|
@@ -65,3 +67,4 @@ customRules, legalEntityType, legalEntityTrustedFields, remediationFieldAsOption
|
|
|
65
67
|
remediationFieldAsOptional?: boolean;
|
|
66
68
|
}): PropsFromConfiguration<OuterFormSchema> | undefined;
|
|
67
69
|
export declare const makeTLDSFieldName: (formId: string, fieldName: string) => AnyTLDSFieldName;
|
|
70
|
+
export declare const isFieldRequiredToRemediateDataMissingError: (formId: string, field: string, dataMissingErrors: VerificationError[]) => boolean;
|
|
@@ -1,8 +1,32 @@
|
|
|
1
1
|
import type { TopLevelDataSchema } from '../context/StateContext/types';
|
|
2
|
+
import type { VerificationError } from '../core/models/api/verification-error';
|
|
3
|
+
import type { FormConfiguration } from '../types/form-configuration';
|
|
2
4
|
import type { FormRules } from '../types/form-rules';
|
|
3
5
|
import type { AnyTLDSFieldName } from './getFieldsWithExistingData';
|
|
4
|
-
export declare const linkedFieldsMap: Partial<Record<AnyTLDSFieldName, AnyTLDSFieldName>>;
|
|
5
|
-
|
|
6
|
+
export declare const linkedFieldsMap: Partial<Record<AnyTLDSFieldName, AnyTLDSFieldName[]>>;
|
|
7
|
+
interface CalculateLinkedRequiredFieldsOptions<OuterFormSchema extends TopLevelDataSchema> {
|
|
8
|
+
field: Extract<keyof OuterFormSchema[keyof OuterFormSchema], string>;
|
|
9
|
+
formId: Extract<keyof OuterFormSchema, string>;
|
|
10
|
+
customRules: FormRules<string>;
|
|
11
|
+
scenarioConfiguration: FormConfiguration<OuterFormSchema, string>;
|
|
12
|
+
dataMissingErrors: VerificationError[];
|
|
13
|
+
formFieldsWithExistingData: string[];
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* This function is used to process fields linked to other fields that have custom rules that can return either REQUIRED or OPTIONAL
|
|
17
|
+
* depending on the value of their links. An example of this is the Vat number, this will be REQUIRED when exemption is false but OPTIONAL when exemption is true.
|
|
18
|
+
* This needs to be done due to functions like isFieldRequiredToRemediateDataMissingError, which do not take into account the custom rules and instead mark
|
|
19
|
+
* these fields as required regardless of the rule.
|
|
20
|
+
*
|
|
21
|
+
* @param field - Field being processed
|
|
22
|
+
* @param formId - Form this field is associated to
|
|
23
|
+
* @param customRules - The rules associated to the form flow
|
|
24
|
+
* @param scenarioConfiguration - The static configuration returned from the scenario, i.e. L1, L, etc
|
|
25
|
+
* @param dataMissingErrors - Missing data problems on the LE response
|
|
26
|
+
* @param formFieldsWithExistingData - The current fields that have existing data within the LE response
|
|
27
|
+
*/
|
|
28
|
+
export declare function calculateLinkedRequiredFields<OuterFormSchema extends TopLevelDataSchema>({ field, formId, customRules, scenarioConfiguration, dataMissingErrors, formFieldsWithExistingData, }: CalculateLinkedRequiredFieldsOptions<OuterFormSchema>): {
|
|
6
29
|
isRequiredFromLinkedField: boolean;
|
|
7
30
|
isOptionalFromLinkedField: boolean;
|
|
8
31
|
};
|
|
32
|
+
export {};
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { a8 as CountryCodes } from "./StoreProvider-
|
|
10
|
+
import { a8 as CountryCodes } from "./StoreProvider-DQMRmYOl.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-DQMRmYOl.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-DQMRmYOl.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-DQMRmYOl.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-BwPShVR4.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-DQMRmYOl.js";
|
|
13
|
+
import { L as LoaderWrapper } from "./useForm-DwU-1DTE.js";
|
|
14
|
+
import { M as MaybeModal } from "./MaybeModal-yYXxfhbc.js";
|
|
15
|
+
import { a as ModalContent, c as ModalHeader, b as ModalFooter } from "./Modal-Bf1V6EkA.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-eDHas4te.js";
|
|
18
|
+
import { t as trackNavigation, F as FormRouterContextProvider } from "./dropinUtils-QEvP5L8R.js";
|
|
19
|
+
import { F as FormNavigation } from "./FormNavigation-ZmI-v8GQ.js";
|
|
20
|
+
import { d as summaryStep, S as Summary } from "./CountryField-BtmygQ5F.js";
|
|
21
|
+
import { a as debounce } from "./analytics-BwPShVR4.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-DQMRmYOl.js";
|
|
12
|
+
import { V as ValidationResult } from "./useForm-DwU-1DTE.js";
|
|
13
|
+
import { a as isNotEmptyValidator } from "./commonValidators-DSBtv03W.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-DQMRmYOl.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-DQMRmYOl.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-DQMRmYOl.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-DQMRmYOl.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-DQMRmYOl.js";
|
|
12
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-By5fzMwK.js";
|
|
13
|
+
import { U as UnincorporatedPartnershipMemberTypes } from "./CountryField-BtmygQ5F.js";
|
|
14
|
+
import { g as getLegalEntityNameBasedOnType } from "./getName-BitxRg1w.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-DNP02RYf.js";
|
|
12
|
+
import { a as useTranslation, g as getLegalEntityCountry, bC as getCapabilities, y as LegalEntityTypes, G as hasOwnEntityAssociationOfType, a8 as CountryCodes } from "./StoreProvider-DQMRmYOl.js";
|
|
13
|
+
import { C as CompanyTypesValues } from "./bafinUtils-DI8t60Xa.js";
|
|
14
|
+
import { d as allowIndividualWithoutSoleProp } from "./OnboardingDropinComponent-aBc7y5Gd.js";
|
|
15
|
+
import { S as SOLE_PROP_COUNTRIES } from "./rules-lhkQyQGe.js";
|
|
16
|
+
import { A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-DTkNMQWv.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-DQMRmYOl.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-DwU-1DTE.js";
|
|
14
|
+
import { m as mergeFieldMetadataIntoProps, c as createFormUtils, F as FormHeader } from "./CountryField-BtmygQ5F.js";
|
|
15
|
+
import { m as makeMask, a as nonInputs, n as numericInputs, s as spacer, M as MaskedInput, I as InputEmail } from "./MaskedInput-CyPisB5z.js";
|
|
16
|
+
import { r as resolveFieldMetadata } from "./fieldConfigurations-DNP02RYf.js";
|
|
17
|
+
import { u as useDataset, d as datasetIdentifier } from "./useDataset-BdkrGwQp.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) => {
|