@adyen/kyc-components 3.57.3 → 3.57.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/es/{B4MFY5CR-CpPUcDJz.js → B4MFY5CR-CbC6_vzo.js} +1 -1
- package/dist/es/{HO4MOOFI-C-4iCZGg.js → HO4MOOFI-D-8lYv3J.js} +2 -2
- package/dist/es/{HUY7CZI3-CxRL5Nlo.js → HUY7CZI3-BHvO38iu.js} +2 -2
- package/dist/es/{Introduction-0R7_nNDp.js → Introduction-DY17LuU0.js} +1 -1
- package/dist/es/adyen-kyc-components.es.js +1 -1
- package/dist/es/{css-BwOI_cdD.js → css-DXUnKbNf.js} +1 -1
- package/dist/es/{index-DsPF64fx.js → index-B_zVzlXg.js} +11 -16
- package/dist/es/{json-Co9P8_KG.js → json-CsAYyJjw.js} +1 -1
- package/dist/es/{plaintext-CFLJvf3K.js → plaintext-gh8m94sP.js} +1 -1
- package/dist/es/{yaml-D4Ivucgl.js → yaml-BkCDteM7.js} +1 -1
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/countryIdNumberTypes.d.ts +1 -2
- 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 { h as createContext, i as createSignal, o as onMount, j as createEffect, e as createMemo, f as createComponent, P as Portal, k as Show, l as template, m as insert, n as createRenderEffect, p as className, q as clearDelegatedEvents, r as delegateEvents, s as useContext, v as onCleanup, w as sortFns, x as mutationSortFns, y as on, z as setAttribute, A as getSidedProp, C as use, D as createUniqueId, E as batch, F as getQueryStatusLabel, G as getMutationStatusColor, H as getQueryStatusColor, I as getQueryStatusColorByLabel, J as displayValue, K as For, M as convertRemToPixels, N as untrack, $ as $TRACK, O as useTransition, Q as spread, R as mergeProps, U as createRoot, V as serialize, W as Index, X as updateNestedDataByPath, Y as addEventListener, Z as stringify, _ as Match, a0 as Switch, a1 as deleteNestedDataByPath, a2 as splitProps, a3 as Dynamic, a4 as createComputed } from "./index-
|
|
4
|
+
import { h as createContext, i as createSignal, o as onMount, j as createEffect, e as createMemo, f as createComponent, P as Portal, k as Show, l as template, m as insert, n as createRenderEffect, p as className, q as clearDelegatedEvents, r as delegateEvents, s as useContext, v as onCleanup, w as sortFns, x as mutationSortFns, y as on, z as setAttribute, A as getSidedProp, C as use, D as createUniqueId, E as batch, F as getQueryStatusLabel, G as getMutationStatusColor, H as getQueryStatusColor, I as getQueryStatusColorByLabel, J as displayValue, K as For, M as convertRemToPixels, N as untrack, $ as $TRACK, O as useTransition, Q as spread, R as mergeProps, U as createRoot, V as serialize, W as Index, X as updateNestedDataByPath, Y as addEventListener, Z as stringify, _ as Match, a0 as Switch, a1 as deleteNestedDataByPath, a2 as splitProps, a3 as Dynamic, a4 as createComputed } from "./index-B_zVzlXg.js";
|
|
5
5
|
var isNonNullable = (i2) => i2 != null;
|
|
6
6
|
var filterNonNullable = (arr) => arr.filter(isNonNullable);
|
|
7
7
|
function chain(callbacks) {
|
|
@@ -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 { d as getPreferredColorScheme, e as createMemo, f 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-CbC6_vzo.js";
|
|
2
|
+
import { d as getPreferredColorScheme, e as createMemo, f as createComponent } from "./index-B_zVzlXg.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 { d as getPreferredColorScheme, e as createMemo, f 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-CbC6_vzo.js";
|
|
2
|
+
import { d as getPreferredColorScheme, e as createMemo, f as createComponent } from "./index-B_zVzlXg.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-B_zVzlXg.js";
|
|
4
4
|
import { useMemo } from "preact/compat";
|
|
5
5
|
var IntroductionScreens = ((IntroductionScreens2) => {
|
|
6
6
|
IntroductionScreens2["PROLOGUE"] = "PROLOGUE";
|
|
@@ -18998,12 +18998,7 @@ const taxIdNumberOptions = {
|
|
|
18998
18998
|
[CountryCodes.Australia]: [
|
|
18999
18999
|
{
|
|
19000
19000
|
id: "ABN",
|
|
19001
|
-
name: "australianBusinessNumberAbn"
|
|
19002
|
-
applicableOnlyFor: [
|
|
19003
|
-
CompanyTypesValue.UNINCORPORATED_PARTNERSHIP,
|
|
19004
|
-
CompanyTypesValue.SOLE_PROPRIETORSHIP,
|
|
19005
|
-
LegalEntityType.TRUST
|
|
19006
|
-
]
|
|
19001
|
+
name: "australianBusinessNumberAbn"
|
|
19007
19002
|
}
|
|
19008
19003
|
],
|
|
19009
19004
|
[CountryCodes.Belgium]: [{ id: "BUSINESS_NUMMER", name: "businessNumber" }],
|
|
@@ -51199,7 +51194,7 @@ const hasProgressedBeyondEntitySelection = (legalEntity) => {
|
|
|
51199
51194
|
return hasOwnEntityAssocation || !!hasOrganizationType;
|
|
51200
51195
|
};
|
|
51201
51196
|
const Introduction = lazy$1(
|
|
51202
|
-
async () => (await import("./Introduction-
|
|
51197
|
+
async () => (await import("./Introduction-DY17LuU0.js")).Introduction
|
|
51203
51198
|
);
|
|
51204
51199
|
const PAGES_WITH_POLLING = [TaskTypes.DECISION_MAKER_OVERVIEW, TaskTypes.TASKS_OVERVIEW];
|
|
51205
51200
|
const logger$d = createLogger("DropinComposer");
|
|
@@ -56196,7 +56191,7 @@ var TanstackQueryDevtools = (_k = class {
|
|
|
56196
56191
|
if (__privateGet(this, _Component)) {
|
|
56197
56192
|
Devtools = __privateGet(this, _Component);
|
|
56198
56193
|
} else {
|
|
56199
|
-
Devtools = lazy(() => import("./HO4MOOFI-
|
|
56194
|
+
Devtools = lazy(() => import("./HO4MOOFI-D-8lYv3J.js"));
|
|
56200
56195
|
__privateSet(this, _Component, Devtools);
|
|
56201
56196
|
}
|
|
56202
56197
|
setupStyleSheet(__privateGet(this, _styleNonce), __privateGet(this, _shadowDOMTarget));
|
|
@@ -56318,7 +56313,7 @@ var TanstackQueryDevtoolsPanel = (_l = class {
|
|
|
56318
56313
|
if (__privateGet(this, _Component2)) {
|
|
56319
56314
|
Devtools = __privateGet(this, _Component2);
|
|
56320
56315
|
} else {
|
|
56321
|
-
Devtools = lazy(() => import("./HUY7CZI3-
|
|
56316
|
+
Devtools = lazy(() => import("./HUY7CZI3-BHvO38iu.js"));
|
|
56322
56317
|
__privateSet(this, _Component2, Devtools);
|
|
56323
56318
|
}
|
|
56324
56319
|
setupStyleSheet(__privateGet(this, _styleNonce2), __privateGet(this, _shadowDOMTarget2));
|
|
@@ -56539,7 +56534,7 @@ const useAnalytics = ({
|
|
|
56539
56534
|
componentName,
|
|
56540
56535
|
onboardingVersion
|
|
56541
56536
|
}) => {
|
|
56542
|
-
const sdkVersion = "3.57.
|
|
56537
|
+
const sdkVersion = "3.57.4";
|
|
56543
56538
|
const { isEmbeddedDropin, loadingContext: base } = useAuthContext();
|
|
56544
56539
|
const rootLegalEntity = useGlobalStore((store) => store.rootLegalEntity);
|
|
56545
56540
|
const countryCode = useGlobalStore((store) => store.rootLegalEntityCountry);
|
|
@@ -57030,7 +57025,7 @@ const ConfigurationApiProvider = ({
|
|
|
57030
57025
|
[authContext, rootLegalEntityId]
|
|
57031
57026
|
);
|
|
57032
57027
|
return /* @__PURE__ */ jsxs(ConfigurationApiContext.Provider, { value: contextValue, children: [
|
|
57033
|
-
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.57.
|
|
57028
|
+
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.57.4" }),
|
|
57034
57029
|
children2
|
|
57035
57030
|
] });
|
|
57036
57031
|
};
|
|
@@ -57605,10 +57600,10 @@ const transformModule = (highlights, codeNode, scope) => {
|
|
|
57605
57600
|
};
|
|
57606
57601
|
const supportedModules = ["plaintext", "json", "yaml", "css"];
|
|
57607
57602
|
const moduleMap = {
|
|
57608
|
-
plaintext: () => import("./plaintext-
|
|
57609
|
-
json: () => import("./json-
|
|
57610
|
-
yaml: () => import("./yaml-
|
|
57611
|
-
css: () => import("./css-
|
|
57603
|
+
plaintext: () => import("./plaintext-gh8m94sP.js"),
|
|
57604
|
+
json: () => import("./json-CsAYyJjw.js"),
|
|
57605
|
+
yaml: () => import("./yaml-BkCDteM7.js"),
|
|
57606
|
+
css: () => import("./css-DXUnKbNf.js")
|
|
57612
57607
|
};
|
|
57613
57608
|
const getModule = async (name) => {
|
|
57614
57609
|
if (!supportedModules.includes(name)) {
|
|
@@ -57899,7 +57894,7 @@ const DebugModal = ({ onExit }) => {
|
|
|
57899
57894
|
const [tab, setTab] = useState("metadata");
|
|
57900
57895
|
const rootLegalEntity = useGlobalStore((store) => store.rootLegalEntity);
|
|
57901
57896
|
const metadata = {
|
|
57902
|
-
sdkVersion: "3.57.
|
|
57897
|
+
sdkVersion: "3.57.4",
|
|
57903
57898
|
locale: i18n.locale,
|
|
57904
57899
|
rootLegalEntityId: rootLegalEntity.id
|
|
57905
57900
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CompanyTypesValue } from '#core/models/api/company-types-value';
|
|
2
|
-
import { LegalEntityType } from '#core/models/api/legal-entity-type';
|
|
2
|
+
import type { LegalEntityType } from '#core/models/api/legal-entity-type';
|
|
3
3
|
import type { CountryCode } from '#core/models/country-code';
|
|
4
4
|
import type { TranslationKey } from '#language/types';
|
|
5
5
|
export interface CompanyRegistrationNumberOption {
|
|
@@ -107,7 +107,6 @@ export declare const taxIdNumberOptions: {
|
|
|
107
107
|
readonly AU: readonly [{
|
|
108
108
|
readonly id: "ABN";
|
|
109
109
|
readonly name: "australianBusinessNumberAbn";
|
|
110
|
-
readonly applicableOnlyFor: readonly [CompanyTypesValue.UNINCORPORATED_PARTNERSHIP, CompanyTypesValue.SOLE_PROPRIETORSHIP, LegalEntityType.TRUST];
|
|
111
110
|
}];
|
|
112
111
|
readonly BE: readonly [{
|
|
113
112
|
readonly id: "BUSINESS_NUMMER";
|