@adyen/kyc-components 3.62.1 → 3.62.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.
@@ -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 "./WXAWMS3D-CKkDzBK4.js";
2
- import { p as getPreferredColorScheme, q as createMemo, r as createComponent } from "./core-CGoSPr9N.js";
1
+ import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, D as Devtools, Q as QueryDevtoolsContext } from "./WXAWMS3D-DTEOTGeX.js";
2
+ import { p as getPreferredColorScheme, q as createMemo, r as createComponent } from "./core-BbQ-Zedp.js";
3
3
  var DevtoolsComponent = (props) => {
4
4
  const [localStore, setLocalStore] = createLocalStorage({
5
5
  prefix: "TanstackQueryDevtools"
@@ -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 createLogger, n as Icon, o as SettingNames, E as ExperimentNames } from "./core-CGoSPr9N.js";
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 createLogger, n as Icon, o as SettingNames, E as ExperimentNames } from "./core-BbQ-Zedp.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-IwCZX_U2.js"),
139
- json: () => import("./json-BrjkCUSC.js"),
140
- yaml: () => import("./yaml-DGd-xcKY.js"),
141
- css: () => import("./css-BXooEX7C.js")
138
+ plaintext: () => import("./plaintext-BZ9J1lt3.js"),
139
+ json: () => import("./json-C9QgkffC.js"),
140
+ yaml: () => import("./yaml-CEWWgd4c.js"),
141
+ css: () => import("./css-qwmove9N.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.62.1",
432
+ sdkVersion: "3.62.2",
433
433
  locale: i18n.locale,
434
434
  rootLegalEntityId: rootLegalEntity.id
435
435
  };
@@ -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 useAnalyticsContext, S as StepProgressIndicator, B as Button } from "./core-CGoSPr9N.js";
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 useAnalyticsContext, S as StepProgressIndicator, B as Button } from "./core-BbQ-Zedp.js";
4
4
  import { useMemo } from "preact/compat";
5
5
  var IntroductionScreens = ((IntroductionScreens2) => {
6
6
  IntroductionScreens2["PROLOGUE"] = "PROLOGUE";
@@ -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 "./WXAWMS3D-CKkDzBK4.js";
2
- import { p as getPreferredColorScheme, q as createMemo, r as createComponent } from "./core-CGoSPr9N.js";
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 "./WXAWMS3D-DTEOTGeX.js";
2
+ import { p as getPreferredColorScheme, q as createMemo, r as createComponent } from "./core-BbQ-Zedp.js";
3
3
  var DevtoolsPanelComponent = (props) => {
4
4
  const [localStore, setLocalStore] = createLocalStorage({
5
5
  prefix: "TanstackQueryDevtools"
@@ -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 { w as createContext, x as createSignal, y as onMount, z as createEffect, q as createMemo, r as createComponent, P as Portal, A as Show, D as template, F as insert, G as createRenderEffect, H as className, J as clearDelegatedEvents, K as delegateEvents, N as useContext, O as onCleanup, Q as sortFns, R as mutationSortFns, U as on, V as setAttribute, W as getSidedProp, X as use, Y as createUniqueId, Z as batch, _ as getQueryStatusLabel, $ as getMutationStatusColor, a0 as getQueryStatusColor, a1 as getQueryStatusColorByLabel, a2 as displayValue, a3 as For, a4 as convertRemToPixels, a5 as untrack, a6 as $TRACK, a7 as useTransition, a8 as spread, a9 as mergeProps, aa as createRoot, ab as serialize, ac as Index, ad as updateNestedDataByPath, ae as addEventListener, af as stringify, ag as Match, ah as Switch, ai as deleteNestedDataByPath, aj as splitProps, ak as Dynamic, al as createComputed } from "./core-CGoSPr9N.js";
4
+ import { w as createContext, x as createSignal, y as onMount, z as createEffect, q as createMemo, r as createComponent, P as Portal, A as Show, D as template, F as insert, G as createRenderEffect, H as className, J as clearDelegatedEvents, K as delegateEvents, N as useContext, O as onCleanup, Q as sortFns, R as mutationSortFns, U as on, V as setAttribute, W as getSidedProp, X as use, Y as createUniqueId, Z as batch, _ as getQueryStatusLabel, $ as getMutationStatusColor, a0 as getQueryStatusColor, a1 as getQueryStatusColorByLabel, a2 as displayValue, a3 as For, a4 as convertRemToPixels, a5 as untrack, a6 as $TRACK, a7 as useTransition, a8 as spread, a9 as mergeProps, aa as createRoot, ab as serialize, ac as Index, ad as updateNestedDataByPath, ae as addEventListener, af as stringify, ag as Match, ah as Switch, ai as deleteNestedDataByPath, aj as splitProps, ak as Dynamic, al as createComputed } from "./core-BbQ-Zedp.js";
5
5
  var isNonNullable = (i2) => i2 != null;
6
6
  var filterNonNullable = (arr) => arr.filter(isNonNullable);
7
7
  function chain(callbacks) {
@@ -1,4 +1,4 @@
1
- import { C as Core } from "./core-CGoSPr9N.js";
1
+ import { C as Core } from "./core-BbQ-Zedp.js";
2
2
  if (CSS.supports("container", "foo / inline-size") === false) {
3
3
  import("container-query-polyfill");
4
4
  }
@@ -1,4 +1,4 @@
1
- import { C as Core } from "./core-CGoSPr9N.js";
1
+ import { C as Core } from "./core-BbQ-Zedp.js";
2
2
  const environmentMap = Object.freeze({
3
3
  live: "https://live.adyen.com",
4
4
  test: "https://test.adyen.com"
@@ -44484,7 +44484,7 @@ function TaskList({
44484
44484
  const handleOnNavigateToSourceOfFunds = () => onNavigateToTask(TaskTypes.SOURCE_OF_FUNDS);
44485
44485
  const handleOnNavigateToBusinessFinancing = () => onNavigateToTask(TaskTypes.BUSINESS_FINANCING);
44486
44486
  const handleOnNavigateToTaxReporting = () => onNavigateToTask(TaskTypes.TAX_REPORTING);
44487
- const hasFinancingTasks = tasks.includes(TaskTypes.TAX_REPORTING) || tasks.includes(TaskTypes.SOURCE_OF_FUNDS);
44487
+ const hasFinancingTasks = tasks.includes(TaskTypes.BUSINESS_FINANCING) || tasks.includes(TaskTypes.SOURCE_OF_FUNDS);
44488
44488
  const companyTaskDescriptionKey = isReview ? "businessAccountDetailsDescriptionReview" : "businessAccountDetailsDescription";
44489
44489
  const payoutTaskDescriptionKey = isReview ? "payoutAccountsDescriptionReview" : "payoutAccountsDescription";
44490
44490
  const onEditBusinessSetupClick = () => {
@@ -52909,7 +52909,7 @@ const hasProgressedBeyondEntitySelection = (legalEntity) => {
52909
52909
  return hasOwnEntityAssocation || !!hasOrganizationType;
52910
52910
  };
52911
52911
  const Introduction = lazy$1(
52912
- async () => (await import("./Introduction-Dq5o9PHJ.js")).Introduction
52912
+ async () => (await import("./Introduction-14hHt-zW.js")).Introduction
52913
52913
  );
52914
52914
  const PAGES_WITH_POLLING = [TaskTypes.DECISION_MAKER_OVERVIEW, TaskTypes.TASKS_OVERVIEW];
52915
52915
  const logger$8 = createLogger();
@@ -57630,7 +57630,7 @@ var TanstackQueryDevtools = (_k = class {
57630
57630
  if (__privateGet(this, _Component)) {
57631
57631
  Devtools = __privateGet(this, _Component);
57632
57632
  } else {
57633
- Devtools = lazy(() => import("./CPIOZS5X-D4aG7Wlk.js"));
57633
+ Devtools = lazy(() => import("./CPIOZS5X-BihE2aSQ.js"));
57634
57634
  __privateSet(this, _Component, Devtools);
57635
57635
  }
57636
57636
  setupStyleSheet(__privateGet(this, _styleNonce), __privateGet(this, _shadowDOMTarget));
@@ -57752,7 +57752,7 @@ var TanstackQueryDevtoolsPanel = (_l = class {
57752
57752
  if (__privateGet(this, _Component2)) {
57753
57753
  Devtools = __privateGet(this, _Component2);
57754
57754
  } else {
57755
- Devtools = lazy(() => import("./OKF6E45R-B9F4XGpa.js"));
57755
+ Devtools = lazy(() => import("./OKF6E45R-6LoEVerS.js"));
57756
57756
  __privateSet(this, _Component2, Devtools);
57757
57757
  }
57758
57758
  setupStyleSheet(__privateGet(this, _styleNonce2), __privateGet(this, _shadowDOMTarget2));
@@ -57971,7 +57971,7 @@ const convertToEmbeddedEvent = (eventQueueItem, sessionData) => {
57971
57971
  };
57972
57972
  };
57973
57973
  const useAnalytics = ({ userEvents: userEvents2, sessionId, sessionData }) => {
57974
- const sdkVersion = "3.62.1";
57974
+ const sdkVersion = "3.62.2";
57975
57975
  const rootLegalEntity = useGlobalStore((store) => store.rootLegalEntity);
57976
57976
  const countryCode = useGlobalStore((store) => store.rootLegalEntityCountry);
57977
57977
  const capabilities = Object.keys(rootLegalEntity.capabilities ?? {});
@@ -58045,7 +58045,7 @@ const AnalyticsProvider = ({
58045
58045
  const { onboardingVersion } = useVersion();
58046
58046
  const userEvents2 = useMemo(() => createUserEvents(), []);
58047
58047
  const sessionData = {
58048
- sdkVersion: "3.62.1",
58048
+ sdkVersion: "3.62.2",
58049
58049
  componentName,
58050
58050
  userAgent: navigator.userAgent,
58051
58051
  legalEntityId,
@@ -58230,7 +58230,7 @@ const ConfigurationApiProvider = ({ children: children2 }) => {
58230
58230
  [baseUrl, rootLegalEntityId]
58231
58231
  );
58232
58232
  return /* @__PURE__ */ jsxs(ConfigurationApiContext.Provider, { value: contextValue, children: [
58233
- /* @__PURE__ */ jsx$1("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.62.1" }),
58233
+ /* @__PURE__ */ jsx$1("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.62.2" }),
58234
58234
  children2
58235
58235
  ] });
58236
58236
  };
@@ -58705,7 +58705,7 @@ function StateProvider({
58705
58705
  );
58706
58706
  return /* @__PURE__ */ jsx$1(StateContext.Provider, { value: contextValue, children: children2 });
58707
58707
  }
58708
- const DebugModal = lazy$1(async () => (await import("./DebugModal-B-HJDkDf.js").then((n) => n.D)).DebugModal);
58708
+ const DebugModal = lazy$1(async () => (await import("./DebugModal-Dtiaep1j.js").then((n) => n.D)).DebugModal);
58709
58709
  const DebugListener = () => {
58710
58710
  const [debugUiOpen, setDebugUiOpen] = useState(false);
58711
58711
  const { isSettingEnabled } = useSettingsContext();
@@ -1,4 +1,4 @@
1
- import { c as cssProps } from "./DebugModal-B-HJDkDf.js";
1
+ import { c as cssProps } from "./DebugModal-Dtiaep1j.js";
2
2
  const definitions = {
3
3
  any: { regex: /.*/g, css: cssProps.text },
4
4
  property: { regex: /(^|[\r\n])[^:]*:/g, css: cssProps.key },
@@ -1,4 +1,4 @@
1
- import { c as cssProps } from "./DebugModal-B-HJDkDf.js";
1
+ import { c as cssProps } from "./DebugModal-Dtiaep1j.js";
2
2
  const definitions = {
3
3
  any: { regex: /.*/g, css: cssProps.text },
4
4
  number: { regex: /-?\d+(\.\d+)?([eE][+-]?\d+)?/g, css: cssProps.number },
@@ -1,4 +1,4 @@
1
- import { c as cssProps } from "./DebugModal-B-HJDkDf.js";
1
+ import { c as cssProps } from "./DebugModal-Dtiaep1j.js";
2
2
  const definitions = {
3
3
  any: { regex: /.*/g, css: cssProps.text }
4
4
  };
@@ -1,4 +1,4 @@
1
- import { c as cssProps } from "./DebugModal-B-HJDkDf.js";
1
+ import { c as cssProps } from "./DebugModal-Dtiaep1j.js";
2
2
  const definitions = {
3
3
  any: { regex: /.*/g, css: cssProps.text },
4
4
  boolean: { regex: /^(\s*)([\w-]+)(:)\s*(.*)$/g, css: cssProps.boolean },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adyen/kyc-components",
3
- "version": "3.62.1",
3
+ "version": "3.62.2",
4
4
  "keywords": [
5
5
  "adyen",
6
6
  "adyen-kyc",