@adyen/kyc-components 3.61.2 → 3.61.3

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-BkseKQjn.js";
2
- import { p as getPreferredColorScheme, q as createMemo, r as createComponent } from "./core-DfdYpYKH.js";
1
+ import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, D as Devtools, Q as QueryDevtoolsContext } from "./WXAWMS3D-D2tl7FvI.js";
2
+ import { p as getPreferredColorScheme, q as createMemo, r as createComponent } from "./core-DXKGtvMY.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-DfdYpYKH.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-DXKGtvMY.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-CoBc20Io.js"),
139
- json: () => import("./json-DY0bAYj2.js"),
140
- yaml: () => import("./yaml-DLxKOxoT.js"),
141
- css: () => import("./css-Cg0430Ty.js")
138
+ plaintext: () => import("./plaintext-DXIvo2q0.js"),
139
+ json: () => import("./json-Zs_gNV8L.js"),
140
+ yaml: () => import("./yaml-D9YvkDTA.js"),
141
+ css: () => import("./css-CT4RTTOU.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.61.2",
432
+ sdkVersion: "3.61.3",
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-DfdYpYKH.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-DXKGtvMY.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-BkseKQjn.js";
2
- import { p as getPreferredColorScheme, q as createMemo, r as createComponent } from "./core-DfdYpYKH.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-D2tl7FvI.js";
2
+ import { p as getPreferredColorScheme, q as createMemo, r as createComponent } from "./core-DXKGtvMY.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-DfdYpYKH.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-DXKGtvMY.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-DfdYpYKH.js";
1
+ import { C as Core } from "./core-DXKGtvMY.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-DfdYpYKH.js";
1
+ import { C as Core } from "./core-DXKGtvMY.js";
2
2
  const environmentMap = Object.freeze({
3
3
  live: "https://live.adyen.com",
4
4
  test: "https://test.adyen.com"
@@ -35368,7 +35368,6 @@ function BusinessDetailsDropin({
35368
35368
  currentProblems == null ? void 0 : currentProblems.remediationActions,
35369
35369
  currentProblems == null ? void 0 : currentProblems.missingData,
35370
35370
  subjectEntity,
35371
- isExperimentEnabled,
35372
35371
  customRules,
35373
35372
  trustedFields
35374
35373
  ]
@@ -35442,6 +35441,8 @@ function BusinessDetailsDropin({
35442
35441
  userEvents: userEvents2
35443
35442
  });
35444
35443
  }, [
35444
+ setAccountHolder,
35445
+ accountHolder,
35445
35446
  associatedLeTrackingParams,
35446
35447
  currentState.data,
35447
35448
  legalEntityResponse,
@@ -35450,7 +35451,6 @@ function BusinessDetailsDropin({
35450
35451
  nestedLegalEntityDetails,
35451
35452
  currentProblems,
35452
35453
  taskType,
35453
- accountHolder,
35454
35454
  forms,
35455
35455
  documentUtils,
35456
35456
  i18n,
@@ -35459,7 +35459,7 @@ function BusinessDetailsDropin({
35459
35459
  handleCreateLegalEntity,
35460
35460
  onExternalSubmit,
35461
35461
  isExperimentEnabled,
35462
- setAccountHolder
35462
+ userEvents2
35463
35463
  ]);
35464
35464
  const {
35465
35465
  handleNextClick,
@@ -35539,7 +35539,8 @@ function BusinessDetailsDropin({
35539
35539
  verifyTin2,
35540
35540
  currentCountry,
35541
35541
  subjectEntity == null ? void 0 : subjectEntity.id,
35542
- subjectEntity == null ? void 0 : subjectEntity.type
35542
+ subjectEntity == null ? void 0 : subjectEntity.type,
35543
+ userEvents2
35543
35544
  ]);
35544
35545
  const handleCompanySearch = useCallback(
35545
35546
  async (currentData) => {
@@ -35616,6 +35617,7 @@ function BusinessDetailsDropin({
35616
35617
  if (activeForm.formId === "companyStructure" && (searchResults == null ? void 0 : searchResults.length)) {
35617
35618
  setShowCompanyStructure(false);
35618
35619
  }
35620
+ return gotoFormByFormIndex(index);
35619
35621
  } else {
35620
35622
  if (verifiedBusiness) return gotoFormByFormIndex(index);
35621
35623
  if (activeForm.formId !== formWith2Views) return gotoFormByFormIndex(index);
@@ -52827,7 +52829,7 @@ const hasProgressedBeyondEntitySelection = (legalEntity) => {
52827
52829
  return hasOwnEntityAssocation || !!hasOrganizationType;
52828
52830
  };
52829
52831
  const Introduction = lazy$1(
52830
- async () => (await import("./Introduction-CroEDoIx.js")).Introduction
52832
+ async () => (await import("./Introduction-BYkxpFLZ.js")).Introduction
52831
52833
  );
52832
52834
  const PAGES_WITH_POLLING = [TaskTypes.DECISION_MAKER_OVERVIEW, TaskTypes.TASKS_OVERVIEW];
52833
52835
  const logger$b = createLogger();
@@ -57721,7 +57723,7 @@ var TanstackQueryDevtools = (_k = class {
57721
57723
  if (__privateGet(this, _Component)) {
57722
57724
  Devtools = __privateGet(this, _Component);
57723
57725
  } else {
57724
- Devtools = lazy(() => import("./CPIOZS5X-sgzx-Xcg.js"));
57726
+ Devtools = lazy(() => import("./CPIOZS5X-cBVcxn3m.js"));
57725
57727
  __privateSet(this, _Component, Devtools);
57726
57728
  }
57727
57729
  setupStyleSheet(__privateGet(this, _styleNonce), __privateGet(this, _shadowDOMTarget));
@@ -57843,7 +57845,7 @@ var TanstackQueryDevtoolsPanel = (_l = class {
57843
57845
  if (__privateGet(this, _Component2)) {
57844
57846
  Devtools = __privateGet(this, _Component2);
57845
57847
  } else {
57846
- Devtools = lazy(() => import("./OKF6E45R-DG1PD4NH.js"));
57848
+ Devtools = lazy(() => import("./OKF6E45R-uSvZqNWv.js"));
57847
57849
  __privateSet(this, _Component2, Devtools);
57848
57850
  }
57849
57851
  setupStyleSheet(__privateGet(this, _styleNonce2), __privateGet(this, _shadowDOMTarget2));
@@ -58040,7 +58042,7 @@ const useAnalytics = ({
58040
58042
  componentName,
58041
58043
  onboardingVersion
58042
58044
  }) => {
58043
- const sdkVersion = "3.61.2";
58045
+ const sdkVersion = "3.61.3";
58044
58046
  const { isEmbeddedDropin, loadingContext: base } = useAuthContext();
58045
58047
  const rootLegalEntity = useGlobalStore((store) => store.rootLegalEntity);
58046
58048
  const countryCode = useGlobalStore((store) => store.rootLegalEntityCountry);
@@ -58536,7 +58538,7 @@ const ConfigurationApiProvider = ({ children: children2 }) => {
58536
58538
  [authContext, rootLegalEntityId]
58537
58539
  );
58538
58540
  return /* @__PURE__ */ jsxs(ConfigurationApiContext.Provider, { value: contextValue, children: [
58539
- /* @__PURE__ */ jsx$1("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.61.2" }),
58541
+ /* @__PURE__ */ jsx$1("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.61.3" }),
58540
58542
  children2
58541
58543
  ] });
58542
58544
  };
@@ -58996,7 +58998,7 @@ function StateProvider({
58996
58998
  );
58997
58999
  return /* @__PURE__ */ jsx$1(StateContext.Provider, { value: contextValue, children: children2 });
58998
59000
  }
58999
- const DebugModal = lazy$1(async () => (await import("./DebugModal-IWz7-Df_.js").then((n) => n.D)).DebugModal);
59001
+ const DebugModal = lazy$1(async () => (await import("./DebugModal-C4bdcbNH.js").then((n) => n.D)).DebugModal);
59000
59002
  const DebugListener = () => {
59001
59003
  const [debugUiOpen, setDebugUiOpen] = useState(false);
59002
59004
  const { isSettingEnabled } = useSettingsContext();
@@ -1,4 +1,4 @@
1
- import { c as cssProps } from "./DebugModal-IWz7-Df_.js";
1
+ import { c as cssProps } from "./DebugModal-C4bdcbNH.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-IWz7-Df_.js";
1
+ import { c as cssProps } from "./DebugModal-C4bdcbNH.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-IWz7-Df_.js";
1
+ import { c as cssProps } from "./DebugModal-C4bdcbNH.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-IWz7-Df_.js";
1
+ import { c as cssProps } from "./DebugModal-C4bdcbNH.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.61.2",
3
+ "version": "3.61.3",
4
4
  "keywords": [
5
5
  "adyen",
6
6
  "adyen-kyc",