@adyen/kyc-components 3.59.1 → 3.59.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/es/{B4MFY5CR-4xo2bL9K.js → B4MFY5CR-4teG_8tb.js} +1 -1
- package/dist/es/{DebugModal-Dpo829FN.js → DebugModal-B7Zi8ivP.js} +6 -6
- package/dist/es/{HO4MOOFI-NorpJQ5h.js → HO4MOOFI-DsO7X0jy.js} +2 -2
- package/dist/es/{HUY7CZI3-CpZOL1tI.js → HUY7CZI3-DsH_vK20.js} +2 -2
- package/dist/es/{Introduction-lcQ5boA6.js → Introduction-B32yp4ni.js} +1 -1
- package/dist/es/adyen-kyc-components.es.js +1 -1
- package/dist/es/{css-FVaIwHR6.js → css-ERYHcCvi.js} +1 -1
- package/dist/es/{index-CdIXYZP4.js → index-g7dIcP4G.js} +7 -7
- package/dist/es/{json-Cdhf4EOr.js → json-CYcEeT_7.js} +1 -1
- package/dist/es/{plaintext-B9OaT0lF.js → plaintext-DdmIpH1x.js} +1 -1
- package/dist/es/{yaml-CJ3rgVu9.js → yaml-CJTb2gfi.js} +1 -1
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/countryIdNumberTypes.d.ts +1 -1
- package/package.json +1 -1
|
@@ -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-g7dIcP4G.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-g7dIcP4G.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-DdmIpH1x.js"),
|
|
139
|
+
json: () => import("./json-CYcEeT_7.js"),
|
|
140
|
+
yaml: () => import("./yaml-CJTb2gfi.js"),
|
|
141
|
+
css: () => import("./css-ERYHcCvi.js")
|
|
142
142
|
};
|
|
143
143
|
const getModule = async (name) => {
|
|
144
144
|
if (!supportedModules.includes(name)) {
|
|
@@ -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.59.
|
|
432
|
+
sdkVersion: "3.59.2",
|
|
433
433
|
locale: i18n.locale,
|
|
434
434
|
rootLegalEntityId: rootLegalEntity.id
|
|
435
435
|
};
|
|
@@ -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-4teG_8tb.js";
|
|
2
|
+
import { w as getPreferredColorScheme, x as createMemo, y as createComponent } from "./index-g7dIcP4G.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-4teG_8tb.js";
|
|
2
|
+
import { w as getPreferredColorScheme, x as createMemo, y as createComponent } from "./index-g7dIcP4G.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-g7dIcP4G.js";
|
|
4
4
|
import { useMemo } from "preact/compat";
|
|
5
5
|
var IntroductionScreens = ((IntroductionScreens2) => {
|
|
6
6
|
IntroductionScreens2["PROLOGUE"] = "PROLOGUE";
|
|
@@ -19236,7 +19236,7 @@ const taxIdNumberOptions = {
|
|
|
19236
19236
|
],
|
|
19237
19237
|
[CountryCodes.Belgium]: [{ id: "BUSINESS_NUMMER", name: "businessNumber" }],
|
|
19238
19238
|
[CountryCodes.Brazil]: [{ id: "CNPJ", name: "CNPJ" }],
|
|
19239
|
-
[CountryCodes.Canada]: [{ id: "
|
|
19239
|
+
[CountryCodes.Canada]: [{ id: "BUSINESS_NUMBER", name: "businessNumber" }],
|
|
19240
19240
|
[CountryCodes.Germany]: [
|
|
19241
19241
|
{
|
|
19242
19242
|
id: "STEUERNUMMER",
|
|
@@ -51771,7 +51771,7 @@ const hasProgressedBeyondEntitySelection = (legalEntity) => {
|
|
|
51771
51771
|
return hasOwnEntityAssocation || !!hasOrganizationType;
|
|
51772
51772
|
};
|
|
51773
51773
|
const Introduction = lazy$1(
|
|
51774
|
-
async () => (await import("./Introduction-
|
|
51774
|
+
async () => (await import("./Introduction-B32yp4ni.js")).Introduction
|
|
51775
51775
|
);
|
|
51776
51776
|
const PAGES_WITH_POLLING = [TaskTypes.DECISION_MAKER_OVERVIEW, TaskTypes.TASKS_OVERVIEW];
|
|
51777
51777
|
const logger$c = createLogger("DropinComposer");
|
|
@@ -56765,7 +56765,7 @@ var TanstackQueryDevtools = (_k = class {
|
|
|
56765
56765
|
if (__privateGet(this, _Component)) {
|
|
56766
56766
|
Devtools = __privateGet(this, _Component);
|
|
56767
56767
|
} else {
|
|
56768
|
-
Devtools = lazy(() => import("./HO4MOOFI-
|
|
56768
|
+
Devtools = lazy(() => import("./HO4MOOFI-DsO7X0jy.js"));
|
|
56769
56769
|
__privateSet(this, _Component, Devtools);
|
|
56770
56770
|
}
|
|
56771
56771
|
setupStyleSheet(__privateGet(this, _styleNonce), __privateGet(this, _shadowDOMTarget));
|
|
@@ -56887,7 +56887,7 @@ var TanstackQueryDevtoolsPanel = (_l = class {
|
|
|
56887
56887
|
if (__privateGet(this, _Component2)) {
|
|
56888
56888
|
Devtools = __privateGet(this, _Component2);
|
|
56889
56889
|
} else {
|
|
56890
|
-
Devtools = lazy(() => import("./HUY7CZI3-
|
|
56890
|
+
Devtools = lazy(() => import("./HUY7CZI3-DsH_vK20.js"));
|
|
56891
56891
|
__privateSet(this, _Component2, Devtools);
|
|
56892
56892
|
}
|
|
56893
56893
|
setupStyleSheet(__privateGet(this, _styleNonce2), __privateGet(this, _shadowDOMTarget2));
|
|
@@ -57108,7 +57108,7 @@ const useAnalytics = ({
|
|
|
57108
57108
|
componentName,
|
|
57109
57109
|
onboardingVersion
|
|
57110
57110
|
}) => {
|
|
57111
|
-
const sdkVersion = "3.59.
|
|
57111
|
+
const sdkVersion = "3.59.2";
|
|
57112
57112
|
const { isEmbeddedDropin, loadingContext: base } = useAuthContext();
|
|
57113
57113
|
const rootLegalEntity = useGlobalStore((store) => store.rootLegalEntity);
|
|
57114
57114
|
const countryCode = useGlobalStore((store) => store.rootLegalEntityCountry);
|
|
@@ -57599,7 +57599,7 @@ const ConfigurationApiProvider = ({
|
|
|
57599
57599
|
[authContext, rootLegalEntityId]
|
|
57600
57600
|
);
|
|
57601
57601
|
return /* @__PURE__ */ jsxs(ConfigurationApiContext.Provider, { value: contextValue, children: [
|
|
57602
|
-
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.59.
|
|
57602
|
+
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.59.2" }),
|
|
57603
57603
|
children2
|
|
57604
57604
|
] });
|
|
57605
57605
|
};
|
|
@@ -58040,7 +58040,7 @@ function StateProvider({
|
|
|
58040
58040
|
);
|
|
58041
58041
|
return /* @__PURE__ */ jsx(StateContext.Provider, { value: contextValue, children: children2 });
|
|
58042
58042
|
}
|
|
58043
|
-
const DebugModal = lazy$1(async () => (await import("./DebugModal-
|
|
58043
|
+
const DebugModal = lazy$1(async () => (await import("./DebugModal-B7Zi8ivP.js").then((n) => n.D)).DebugModal);
|
|
58044
58044
|
const DebugListener = () => {
|
|
58045
58045
|
const [debugUiOpen, setDebugUiOpen] = useState(false);
|
|
58046
58046
|
const { isSettingEnabled } = useSettingsContext();
|
|
@@ -124,7 +124,7 @@ export declare const taxIdNumberOptions: {
|
|
|
124
124
|
readonly name: "CNPJ";
|
|
125
125
|
}];
|
|
126
126
|
readonly CA: readonly [{
|
|
127
|
-
readonly id: "
|
|
127
|
+
readonly id: "BUSINESS_NUMBER";
|
|
128
128
|
readonly name: "businessNumber";
|
|
129
129
|
}];
|
|
130
130
|
readonly DE: readonly [{
|