@adyen/kyc-components 3.59.2 → 3.60.1
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/es/{B4MFY5CR-4teG_8tb.js → B4MFY5CR-DPrejs6Z.js} +1 -1
- package/dist/es/{DebugModal-B7Zi8ivP.js → DebugModal-BaRS3wa1.js} +8 -8
- package/dist/es/{HO4MOOFI-DsO7X0jy.js → HO4MOOFI-DdIqwBfg.js} +2 -2
- package/dist/es/{HUY7CZI3-DsH_vK20.js → HUY7CZI3-DgkgxO5E.js} +2 -2
- package/dist/es/{Introduction-B32yp4ni.js → Introduction-CjJADfTi.js} +1 -1
- package/dist/es/adyen-kyc-components.es.js +1 -1
- package/dist/es/{css-ERYHcCvi.js → css-Cc3v-cq5.js} +1 -1
- package/dist/es/{index-g7dIcP4G.js → index-C-LIa1u3.js} +23045 -22681
- package/dist/es/{json-CYcEeT_7.js → json-sZSg9ISC.js} +1 -1
- package/dist/es/{plaintext-DdmIpH1x.js → plaintext-e77G1tnL.js} +1 -1
- package/dist/es/{yaml-CJTb2gfi.js → yaml-B8sDVhM2.js} +1 -1
- package/dist/style.css +309 -262
- package/dist/types/api/checkAsAService/useCheckAsAService.d.ts +16 -0
- package/dist/types/api/taskStatus/useTaskStatus.d.ts +6 -0
- package/dist/types/components/EFP/tasks/HighExposureDropin/utils.d.ts +0 -1
- package/dist/types/components/Shared/EntityGuidanceStatus/types.d.ts +2 -1
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/components/Shared/tasks/TaskList/utils.d.ts +2 -0
- package/dist/types/components/UnincorporatedPartnership/UnincorporatedPartnershipMembers/UnincorporatedPartnershipMembersOverview.d.ts +13 -0
- package/dist/types/components/UnincorporatedPartnership/UnincorporatedPartnershipMembers/types.d.ts +24 -0
- package/dist/types/components/UnincorporatedPartnership/utils/unincorporatedPartnershipMembers.d.ts +9 -0
- package/dist/types/components/ui/atoms/Modal/MaybeModal.d.ts +2 -2
- package/dist/types/components/ui/atoms/Modal/Modal.d.ts +6 -11
- package/dist/types/components/ui/atoms/Modal/Modal.types.d.ts +10 -0
- package/dist/types/components/ui/molecules/Confirm/Confirm.d.ts +3 -13
- package/dist/types/components/ui/molecules/Confirm/Confirm.types.d.ts +9 -0
- package/dist/types/core/context/ExperimentContext/types.d.ts +2 -1
- package/dist/types/core/models/api/check-as-a-service.d.ts +29 -0
- package/dist/types/core/models/api/legal-entity-association.d.ts +2 -1
- package/dist/types/core/models/api/unincorporated-partnership.d.ts +6 -0
- package/dist/types/stores/globalStore/get-task-status.d.ts +0 -1
- package/dist/types/stores/globalStore/taskStatus.d.ts +11 -0
- package/dist/types/utils/entityStatusUtil.d.ts +2 -1
- package/dist/types/utils/logger.d.ts +1 -2
- package/dist/types/utils/roleMetadata.d.ts +2 -1
- package/package.json +3 -3
- package/dist/types/components/EFP/hooks/useSourceOfFundsTaskStatus.d.ts +0 -7
- package/dist/types/core/context/ExpiryContext/ExpiryModal.d.ts +0 -6
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
2
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
3
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4
|
-
import { z as createContext, A as createSignal, C as onMount, D as createEffect, x as createMemo, y as createComponent, P as Portal, F as Show, G as template, H as insert, J as createRenderEffect, K as className, N as clearDelegatedEvents, O as delegateEvents, Q as useContext, R as onCleanup, U as sortFns, V as mutationSortFns, W as on, X as setAttribute, Y as getSidedProp, Z as use, _ as createUniqueId, $ as batch, a0 as getQueryStatusLabel, a1 as getMutationStatusColor, a2 as getQueryStatusColor, a3 as getQueryStatusColorByLabel, a4 as displayValue, a5 as For, a6 as convertRemToPixels, a7 as untrack, a8 as $TRACK, a9 as useTransition, aa as spread, ab as mergeProps, ac as createRoot, ad as serialize, ae as Index, af as updateNestedDataByPath, ag as addEventListener, ah as stringify, ai as Match, aj as Switch, ak as deleteNestedDataByPath, al as splitProps, am as Dynamic, an as createComputed } from "./index-
|
|
4
|
+
import { z as createContext, A as createSignal, C as onMount, D as createEffect, x as createMemo, y as createComponent, P as Portal, F as Show, G as template, H as insert, J as createRenderEffect, K as className, N as clearDelegatedEvents, O as delegateEvents, Q as useContext, R as onCleanup, U as sortFns, V as mutationSortFns, W as on, X as setAttribute, Y as getSidedProp, Z as use, _ as createUniqueId, $ as batch, a0 as getQueryStatusLabel, a1 as getMutationStatusColor, a2 as getQueryStatusColor, a3 as getQueryStatusColorByLabel, a4 as displayValue, a5 as For, a6 as convertRemToPixels, a7 as untrack, a8 as $TRACK, a9 as useTransition, aa as spread, ab as mergeProps, ac as createRoot, ad as serialize, ae as Index, af as updateNestedDataByPath, ag as addEventListener, ah as stringify, ai as Match, aj as Switch, ak as deleteNestedDataByPath, al as splitProps, am as Dynamic, an as createComputed } from "./index-C-LIa1u3.js";
|
|
5
5
|
var isNonNullable = (i2) => i2 != null;
|
|
6
6
|
var filterNonNullable = (arr) => arr.filter(isNonNullable);
|
|
7
7
|
function chain(callbacks) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
2
2
|
import { useMemo, useState } from "preact/hooks";
|
|
3
|
-
import { B as Button, d as Tag, e as entriesOf, I as InputText, b as useI18nContext, s as splitTaskIdentifier, f as TaskItemStatus, h as useExperimentsContext, i as useSettingsContext, j as useGlobalStore, l as listToRecord, v as valuesOf, k as useTaskStatuses, M as Modal, m as ModalHeader, n as ModalContent, o as ModalFooter, p as createLogger, q as Icon, r as SettingNames, E as ExperimentNames } from "./index-
|
|
3
|
+
import { B as Button, d as Tag, e as entriesOf, I as InputText, b as useI18nContext, s as splitTaskIdentifier, f as TaskItemStatus, h as useExperimentsContext, i as useSettingsContext, j as useGlobalStore, l as listToRecord, v as valuesOf, k as useTaskStatuses, M as Modal, m as ModalHeader, n as ModalContent, o as ModalFooter, p as createLogger, q as Icon, r as SettingNames, E as ExperimentNames } from "./index-C-LIa1u3.js";
|
|
4
4
|
const tabs = "adyen-kyc-tabs";
|
|
5
5
|
const styles$1 = {
|
|
6
6
|
tabs
|
|
@@ -135,10 +135,10 @@ const transformModule = (highlights, codeNode, scope) => {
|
|
|
135
135
|
};
|
|
136
136
|
const supportedModules = ["plaintext", "json", "yaml", "css"];
|
|
137
137
|
const moduleMap = {
|
|
138
|
-
plaintext: () => import("./plaintext-
|
|
139
|
-
json: () => import("./json-
|
|
140
|
-
yaml: () => import("./yaml-
|
|
141
|
-
css: () => import("./css-
|
|
138
|
+
plaintext: () => import("./plaintext-e77G1tnL.js"),
|
|
139
|
+
json: () => import("./json-sZSg9ISC.js"),
|
|
140
|
+
yaml: () => import("./yaml-B8sDVhM2.js"),
|
|
141
|
+
css: () => import("./css-Cc3v-cq5.js")
|
|
142
142
|
};
|
|
143
143
|
const getModule = async (name) => {
|
|
144
144
|
if (!supportedModules.includes(name)) {
|
|
@@ -420,7 +420,7 @@ const ExplainDetails = ({ status }) => {
|
|
|
420
420
|
}
|
|
421
421
|
}
|
|
422
422
|
};
|
|
423
|
-
const logger = createLogger(
|
|
423
|
+
const logger = createLogger();
|
|
424
424
|
const DebugModal = ({ onExit }) => {
|
|
425
425
|
const { isExperimentEnabled } = useExperimentsContext();
|
|
426
426
|
const { getSetting } = useSettingsContext();
|
|
@@ -429,7 +429,7 @@ const DebugModal = ({ onExit }) => {
|
|
|
429
429
|
const [tab, setTab] = useState("metadata");
|
|
430
430
|
const rootLegalEntity = useGlobalStore((store) => store.rootLegalEntity);
|
|
431
431
|
const metadata = {
|
|
432
|
-
sdkVersion: "3.
|
|
432
|
+
sdkVersion: "3.60.1",
|
|
433
433
|
locale: i18n.locale,
|
|
434
434
|
rootLegalEntityId: rootLegalEntity.id
|
|
435
435
|
};
|
|
@@ -454,7 +454,7 @@ const DebugModal = ({ onExit }) => {
|
|
|
454
454
|
setDebugInfoCopied(false);
|
|
455
455
|
}, 5e3);
|
|
456
456
|
};
|
|
457
|
-
return /* @__PURE__ */ jsxs(Modal, { size: "fullscreen", onClose: onExit, children: [
|
|
457
|
+
return /* @__PURE__ */ jsxs(Modal, { size: "fullscreen", onClose: onExit, ariaLabel: "Debug", children: [
|
|
458
458
|
/* @__PURE__ */ jsx(ModalHeader, { children: /* @__PURE__ */ jsxs("div", { className: "adyen-kyc-debug-modal__header", children: [
|
|
459
459
|
/* @__PURE__ */ jsx("h1", { children: "Debug" }),
|
|
460
460
|
" ",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, D as Devtools, Q as QueryDevtoolsContext } from "./B4MFY5CR-
|
|
2
|
-
import { w as getPreferredColorScheme, x as createMemo, y as createComponent } from "./index-
|
|
1
|
+
import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, D as Devtools, Q as QueryDevtoolsContext } from "./B4MFY5CR-DPrejs6Z.js";
|
|
2
|
+
import { w as getPreferredColorScheme, x as createMemo, y as createComponent } from "./index-C-LIa1u3.js";
|
|
3
3
|
var DevtoolsComponent = (props) => {
|
|
4
4
|
const [localStore, setLocalStore] = createLocalStorage({
|
|
5
5
|
prefix: "TanstackQueryDevtools"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, b as ParentPanel, C as ContentView, Q as QueryDevtoolsContext } from "./B4MFY5CR-
|
|
2
|
-
import { w as getPreferredColorScheme, x as createMemo, y as createComponent } from "./index-
|
|
1
|
+
import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, b as ParentPanel, C as ContentView, Q as QueryDevtoolsContext } from "./B4MFY5CR-DPrejs6Z.js";
|
|
2
|
+
import { w as getPreferredColorScheme, x as createMemo, y as createComponent } from "./index-C-LIa1u3.js";
|
|
3
3
|
var DevtoolsPanelComponent = (props) => {
|
|
4
4
|
const [localStore, setLocalStore] = createLocalStorage({
|
|
5
5
|
prefix: "TanstackQueryDevtools"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
2
2
|
import { useMemo as useMemo$1, useState, useEffect } from "preact/hooks";
|
|
3
|
-
import { T as TaskTypes, L as LegalEntityType, u as useCanSeeIntroduction, a as useLegalEntityType, t as toCapitalized, g as getTranslationKeysByPrefix, b as useI18nContext, c as userEvents, S as StepProgressIndicator, B as Button } from "./index-
|
|
3
|
+
import { T as TaskTypes, L as LegalEntityType, u as useCanSeeIntroduction, a as useLegalEntityType, t as toCapitalized, g as getTranslationKeysByPrefix, b as useI18nContext, c as userEvents, S as StepProgressIndicator, B as Button } from "./index-C-LIa1u3.js";
|
|
4
4
|
import { useMemo } from "preact/compat";
|
|
5
5
|
var IntroductionScreens = ((IntroductionScreens2) => {
|
|
6
6
|
IntroductionScreens2["PROLOGUE"] = "PROLOGUE";
|