@adyen/kyc-components 3.68.0 → 3.68.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AcceptTermsOfServiceComponent-yutCVhdr.js → AcceptTermsOfServiceComponent-SQljDrXa.js} +8 -22
- package/dist/{AccountSetupRejected-Bp9MbaZF.js → AccountSetupRejected-ycQ81Di0.js} +3 -3
- package/dist/{BusinessTypeSelection-Bda3HjOy.js → BusinessTypeSelection-DvvmJzYv.js} +4 -4
- package/dist/{CXEL7IU7-DIlmKme0.js → CXEL7IU7-CGVwBOx0.js} +3 -3
- package/dist/{CreateIndividualComponent-wIMjaodd.js → CreateIndividualComponent-rathlqPP.js} +13 -12
- package/dist/{CustomerSupport-BBpiWDZu.js → CustomerSupport-D_JLR2FT.js} +3 -3
- package/dist/{DebugModal-Chl6VeCw.js → DebugModal-P05awsgJ.js} +8 -8
- package/dist/{DecisionMakers-91Uxeb4Z.js → DecisionMakers-DUC8rE56.js} +4 -4
- package/dist/{EmbedShell-BgnrqkKO.js → EmbedShell-H979Qm-6.js} +3 -3
- package/dist/{EventEmitter-MB52FRnR.js → EventEmitter-5jszKCaJ.js} +418 -359
- package/dist/{HASRA6WW-CYutWFzS.js → HASRA6WW-BPCY6elk.js} +2 -2
- package/dist/{I3HPI4QX-h-J4eisw.js → I3HPI4QX-06D9Iepl.js} +3 -3
- package/dist/{Introduction-Cn5uh084.js → Introduction-BghsurRU.js} +3 -3
- package/dist/{Review-BITkfvbx.js → Review-Dd7WI3Yz.js} +4 -3
- package/dist/{SingpassSelection-BPrfSrSw.js → SingpassSelection-DByRqKls.js} +2 -2
- package/dist/{TaxReportingDropin-DZLUs3Hb.js → TaxReportingDropin-BADfykll.js} +7 -12
- package/dist/adyen-kyc-components.js +1 -1
- package/dist/adyenConfig.js +1 -1
- package/dist/{core-DnQST_lN.js → core-C0rY8vL6.js} +81 -110
- package/dist/{css-ChtZI8YA.js → css-DLNP39b3.js} +1 -1
- package/dist/individual.js +2 -2
- package/dist/{json-CY-QM445.js → json-CrltTDwR.js} +1 -1
- package/dist/{listToRecord-CogvyLiD.js → listToRecord-3sI8p0aA.js} +2 -2
- package/dist/{plaintext-BzvCXlZZ.js → plaintext-BOAoTqQE.js} +1 -1
- package/dist/terms-of-service.js +2 -2
- package/dist/types/api/address/useAddressCleanse.d.ts +1 -0
- package/dist/types/api/address/useRetrieveAddress.d.ts +5 -0
- package/dist/types/api/address/useSearchAddress.d.ts +1 -0
- package/dist/types/api/businessLines/useBusinessLines.d.ts +1 -0
- package/dist/types/api/check/useCheck.d.ts +2 -0
- package/dist/types/api/configurations/useScenarios.d.ts +7 -6
- package/dist/types/api/configurations/useSupportedCountries.d.ts +1 -0
- package/dist/types/api/configurations/useTaskTypes.d.ts +1 -0
- package/dist/types/api/configurations/useVersionConfiguration.d.ts +2 -4
- package/dist/types/api/datasets/useLegalForms.d.ts +1 -0
- package/dist/types/api/datasets/useNaceCodes.d.ts +1 -0
- package/dist/types/api/datasets/useSourceOfFundsTypes.d.ts +1 -0
- package/dist/types/api/documents/{useGetDocument.d.ts → useDocument.d.ts} +6 -1
- package/dist/types/api/invalidateRootLegalEntity.d.ts +6 -0
- package/dist/types/api/legalEntity/useLegalEntity.d.ts +5 -0
- package/dist/types/api/onboardingStatus/useOnboardingStatus.d.ts +1 -0
- package/dist/types/api/openId/useOpenIdAuthorizationLink.d.ts +1 -0
- package/dist/types/api/pciTemplate/usePciQuestionnaireList.d.ts +1 -0
- package/dist/types/api/pciTemplate/usePciStatus.d.ts +1 -0
- package/dist/types/api/pciTemplate/usePciTemplate.d.ts +1 -0
- package/dist/types/api/providersConfiguration/useProviderStatus.d.ts +1 -0
- package/dist/types/api/queryKeys.d.ts +38 -0
- package/dist/types/api/taskStatus/useTaskStatus.d.ts +1 -0
- package/dist/types/api/taxClassification/useTaxClassification.d.ts +1 -0
- package/dist/types/api/termsOfService/useAcceptedTermsOfService.d.ts +9 -0
- package/dist/types/api/termsOfService/useTermsOfService.d.ts +1 -0
- package/dist/types/api/termsOfService/useTermsOfServiceAcceptanceInfos.d.ts +1 -0
- package/dist/types/api/termsOfService/useTermsOfServiceStatus.d.ts +1 -0
- package/dist/types/api/transferInstruments/{useGetBankVerificationProviders.d.ts → useBankVerificationProviders.d.ts} +5 -1
- package/dist/types/api/transferInstruments/{useGetTransferInstrument.d.ts → useTransferInstrument.d.ts} +6 -1
- package/dist/types/api/transferInstruments/{useGetTransferInstruments.d.ts → useTransferInstruments.d.ts} +2 -1
- package/dist/types/api/uiAnalytics/useAnalyticsSession.d.ts +5 -0
- package/dist/types/api/validation/useValidatePhoneNumber.d.ts +1 -0
- package/dist/types/components/BankAccount/forms/BankVerification/types.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/PayoutDetails/types.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/PreferInstantVerificationMethod/PreferInstantVerificationMethod.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/types.d.ts +1 -1
- package/dist/types/components/EmbeddedDropins/ManageTransferInstrumentComponent/ManageTransferInstrumentOverview/ManageTransferInstrumentOverview.d.ts +1 -1
- package/dist/types/components/EmbeddedDropins/ManageTransferInstrumentComponent/ManageTransferInstrumentOverviewItem/ManageTransferInstrumentOverviewItem.d.ts +1 -1
- package/dist/types/components/EmbeddedDropins/ManageTransferInstrumentComponent/ManageTransferInstrumentOverviewItemModal/ManageTransferInstrumentOverviewItemModal.d.ts +1 -1
- package/dist/types/components/EmbeddedDropins/SignPCIComponent/SignPCIComponent.d.ts +1 -2
- package/dist/types/components/ui/atoms/Checkbox/Checkbox.d.ts +5 -1
- package/dist/types/components/ui/atoms/Radio/Radio.d.ts +3 -1
- package/dist/types/components/ui/atoms/SelectListItem/SelectListItem.d.ts +1 -1
- package/dist/types/components/ui/atoms/SelectListItem/SelectListItem.types.d.ts +1 -0
- package/dist/types/hooks/useScenarioConfiguration.d.ts +1 -1
- package/dist/{yaml-CFgf8XoZ.js → yaml-Cc82rT2c.js} +1 -1
- package/package.json +4 -4
|
@@ -5,12 +5,12 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
5
5
|
{
|
|
6
6
|
try {
|
|
7
7
|
let e2 = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n2 = new e2.Error().stack;
|
|
8
|
-
n2 && (e2._sentryDebugIds = e2._sentryDebugIds || {}, e2._sentryDebugIds[n2] = "
|
|
8
|
+
n2 && (e2._sentryDebugIds = e2._sentryDebugIds || {}, e2._sentryDebugIds[n2] = "cdd4524f-f211-40c2-836e-2776f66237bf", e2._sentryDebugIdIdentifier = "sentry-dbid-cdd4524f-f211-40c2-836e-2776f66237bf");
|
|
9
9
|
} catch (e2) {
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
12
|
;
|
|
13
|
-
import {
|
|
13
|
+
import { e4 as createContext, e5 as createSignal, e6 as onMount, e7 as createEffect, e2 as createMemo, e3 as createComponent, e8 as Portal, e9 as Show, ea as template, eb as insert, ec as createRenderEffect, ed as className, ee as clearDelegatedEvents, ef as delegateEvents, eg as useContext, eh as onCleanup, ei as sortFns, ej as mutationSortFns, ek as on, el as setAttribute, em as getSidedProp, en as use, eo as createUniqueId, ep as batch, eq as getQueryStatusLabel, er as getMutationStatusColor, es as getQueryStatusColor, et as getQueryStatusColorByLabel, eu as displayValue, ev as For, ew as convertRemToPixels, ex as untrack, ey as $TRACK, ez as useTransition, eA as spread, eB as mergeProps, eC as createRoot, eD as serialize, eE as Index, eF as updateNestedDataByPath, eG as addEventListener, eH as stringify, eI as Match, eJ as Switch, eK as deleteNestedDataByPath, eL as splitProps, eM as Dynamic, eN as createComputed } from "./EventEmitter-5jszKCaJ.js";
|
|
14
14
|
var isNonNullable = (i2) => i2 != null;
|
|
15
15
|
var filterNonNullable = (arr) => arr.filter(isNonNullable);
|
|
16
16
|
function chain(callbacks) {
|
|
@@ -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] = "41f15a06-c330-4e7c-acef-e4a104bf6da8", e._sentryDebugIdIdentifier = "sentry-dbid-41f15a06-c330-4e7c-acef-e4a104bf6da8");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, D as Devtools, Q as QueryDevtoolsContext } from "./HASRA6WW-
|
|
11
|
-
import {
|
|
10
|
+
import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, D as Devtools, Q as QueryDevtoolsContext } from "./HASRA6WW-BPCY6elk.js";
|
|
11
|
+
import { e1 as getPreferredColorScheme, e2 as createMemo, e3 as createComponent } from "./EventEmitter-5jszKCaJ.js";
|
|
12
12
|
var DevtoolsComponent = (props) => {
|
|
13
13
|
const [localStore, setLocalStore] = createLocalStorage({
|
|
14
14
|
prefix: "TanstackQueryDevtools"
|
|
@@ -2,16 +2,16 @@
|
|
|
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] = "58171b69-8a29-49b0-9bee-b438d97f7c77", e._sentryDebugIdIdentifier = "sentry-dbid-58171b69-8a29-49b0-9bee-b438d97f7c77");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo as useMemo$1, useState, useEffect } from "preact/hooks";
|
|
12
|
-
import { T as TaskTypes, J as LegalEntityType,
|
|
12
|
+
import { T as TaskTypes, J as LegalEntityType, d_ as getTranslationKeysByPrefix, i as useI18nContext, j as useAnalyticsContext, dE as StepProgressIndicator, G as Button } from "./EventEmitter-5jszKCaJ.js";
|
|
13
13
|
import { useMemo } from "preact/compat";
|
|
14
|
-
import { u as useCanSeeIntroduction, a as useLegalEntityType, t as toCapitalized } from "./core-
|
|
14
|
+
import { u as useCanSeeIntroduction, a as useLegalEntityType, t as toCapitalized } from "./core-C0rY8vL6.js";
|
|
15
15
|
var IntroductionScreens = ((IntroductionScreens2) => {
|
|
16
16
|
IntroductionScreens2["PROLOGUE"] = "PROLOGUE";
|
|
17
17
|
IntroductionScreens2[IntroductionScreens2["INDIVIDUAL"] = TaskTypes.INDIVIDUAL] = "INDIVIDUAL";
|
|
@@ -2,15 +2,15 @@
|
|
|
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] = "a5e79961-4fa3-4d66-8c2a-06fd88a3de45", e._sentryDebugIdIdentifier = "sentry-dbid-a5e79961-4fa3-4d66-8c2a-06fd88a3de45");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useState } from "preact/hooks";
|
|
12
|
-
import { a as useApiContext,
|
|
13
|
-
import { D as DropinLayout } from "./core-
|
|
12
|
+
import { a as useApiContext, e as useMutation, h as httpPost, i as useI18nContext, l as useToastContext, L as LoaderWrapper, bY as FormHeader, d1 as Checkbox, cH as ActionBar } from "./EventEmitter-5jszKCaJ.js";
|
|
13
|
+
import { D as DropinLayout } from "./core-C0rY8vL6.js";
|
|
14
14
|
const confirmReview = async (legalEntityId, url) => {
|
|
15
15
|
return httpPost({
|
|
16
16
|
loadingContext: url,
|
|
@@ -45,6 +45,7 @@ function Review({ handleHomeClick }) {
|
|
|
45
45
|
/* @__PURE__ */ jsx(
|
|
46
46
|
Checkbox,
|
|
47
47
|
{
|
|
48
|
+
id: "review-checkbox",
|
|
48
49
|
checked: hasConfirmed,
|
|
49
50
|
onChange: setHasConfirmed,
|
|
50
51
|
label: i18n.get("byClickingSubmitReview"),
|
|
@@ -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] = "732fe901-904e-4111-80a7-0d6cdd2c83e6", e._sentryDebugIdIdentifier = "sentry-dbid-732fe901-904e-4111-80a7-0d6cdd2c83e6");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useState } from "preact/hooks";
|
|
12
|
-
import { i as useI18nContext,
|
|
12
|
+
import { i as useI18nContext, bj as useForm, E as Typography, b9 as Field, cz as RadioGroupCard, G as Button, bx as Svg, J as LegalEntityType } from "./EventEmitter-5jszKCaJ.js";
|
|
13
13
|
const setupAccountMethods = ["singpass", "manual"];
|
|
14
14
|
const setupAccountMethodFields = ["setupAccountMethod"];
|
|
15
15
|
const getSingpassSelectionDisabled = (legalEntityType) => {
|
|
@@ -2,17 +2,17 @@
|
|
|
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] = "448d2f38-58ec-4c2b-b53f-358ff15dea9e", e._sentryDebugIdIdentifier = "sentry-dbid-448d2f38-58ec-4c2b-b53f-358ff15dea9e");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { a as useApiContext, b as useQuery, e as httpGet, E as Typography, i as useI18nContext, bN as useFormContext, U as Alert, b8 as Field, ba as RadioGroup, av as getFormProps, Q as Icon, aL as isEmpty, bw as Svg, G as Button, V as Card, W as StructuredList, Y as IconButton, H as isEmpty$1, f as useQueryClient, j as useAnalyticsContext, u as useLegalEntity, c as createLogger, K as Loader } from "./EventEmitter-MB52FRnR.js";
|
|
12
11
|
import { useState, useRef, useEffect, useMemo, useCallback } from "preact/hooks";
|
|
13
|
-
import {
|
|
12
|
+
import { a as useApiContext, b as useQuery, d as httpGet, E as Typography, i as useI18nContext, bO as useFormContext, V as Alert, b9 as Field, bb as RadioGroup, aw as getFormProps, Q as Icon, aM as isEmpty, bx as Svg, G as Button, W as Card, X as StructuredList, Z as IconButton, H as isEmpty$1, R as useInvalidateRootLegalEntity, j as useAnalyticsContext, u as useLegalEntity, c as createLogger, K as Loader } from "./EventEmitter-5jszKCaJ.js";
|
|
13
|
+
import { B as useUpdateLegalEntity, O as useMultiForm, h as getRequiredForms, i as addValidityToForms, j as useFormComposer, U as FormContextProvider, F as FormWrapper } from "./CreateIndividualComponent-rathlqPP.js";
|
|
14
14
|
import { signal } from "@preact/signals";
|
|
15
|
-
import { s as sofStyles, T as TaskStatusIndicator, n as normalizedTaskStatusStore } from "./core-
|
|
15
|
+
import { s as sofStyles, T as TaskStatusIndicator, n as normalizedTaskStatusStore } from "./core-C0rY8vL6.js";
|
|
16
16
|
const getTaxClassification = async (legalEntityId, url) => {
|
|
17
17
|
return httpGet({
|
|
18
18
|
loadingContext: url,
|
|
@@ -28,7 +28,7 @@ const getTaxClassification = async (legalEntityId, url) => {
|
|
|
28
28
|
const useTaxClassification = (options) => {
|
|
29
29
|
const { legalEntityId, baseUrl } = useApiContext();
|
|
30
30
|
return useQuery({
|
|
31
|
-
queryKey: ["taxClassification"
|
|
31
|
+
queryKey: ["taxClassification"],
|
|
32
32
|
queryFn: () => getTaxClassification(legalEntityId.value, baseUrl.value),
|
|
33
33
|
...options
|
|
34
34
|
});
|
|
@@ -360,7 +360,7 @@ function TaxReportingDropin({ problems, handleHomeClick }) {
|
|
|
360
360
|
const [loadingStatus, setLoadingStatus] = useState("success");
|
|
361
361
|
const [formVisible, setFormVisible] = useState(false);
|
|
362
362
|
useRef(null);
|
|
363
|
-
const
|
|
363
|
+
const invalidateRootLegalEntity = useInvalidateRootLegalEntity();
|
|
364
364
|
const { i18n } = useI18nContext();
|
|
365
365
|
const { data: taxRecommendationData, isLoading: isLoadingTaxRecommendationData } = useTaxClassification();
|
|
366
366
|
const userEvents = useAnalyticsContext();
|
|
@@ -452,12 +452,7 @@ function TaxReportingDropin({ problems, handleHomeClick }) {
|
|
|
452
452
|
};
|
|
453
453
|
try {
|
|
454
454
|
await updateLegalEntityMutation(legalEntityPayload);
|
|
455
|
-
await
|
|
456
|
-
queryKey: ["taxClassification"]
|
|
457
|
-
});
|
|
458
|
-
await queryClient.invalidateQueries({
|
|
459
|
-
queryKey: ["taskStatus"]
|
|
460
|
-
});
|
|
455
|
+
await invalidateRootLegalEntity();
|
|
461
456
|
handleHomeClick == null ? void 0 : handleHomeClick();
|
|
462
457
|
setFormVisible(false);
|
|
463
458
|
gotoFormByFormIndex(0);
|
package/dist/adyenConfig.js
CHANGED