@adyen/kyc-components 3.60.8 → 3.60.9

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,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, C as template, D as insert, F as createRenderEffect, G as className, H as clearDelegatedEvents, J as delegateEvents, K as useContext, N as onCleanup, O as sortFns, Q as mutationSortFns, R as on, U as setAttribute, V as getSidedProp, W as use, X as createUniqueId, Y as batch, Z as getQueryStatusLabel, _ as getMutationStatusColor, $ as getQueryStatusColor, a0 as getQueryStatusColorByLabel, a1 as displayValue, a2 as For, a3 as convertRemToPixels, a4 as untrack, a5 as $TRACK, a6 as useTransition, a7 as spread, a8 as mergeProps, a9 as createRoot, aa as serialize, ab as Index, ac as updateNestedDataByPath, ad as addEventListener, ae as stringify, af as Match, ag as Switch, ah as deleteNestedDataByPath, ai as splitProps, aj as Dynamic, ak as createComputed } from "./index-B3OeqVym.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, C as template, D as insert, F as createRenderEffect, G as className, H as clearDelegatedEvents, J as delegateEvents, K as useContext, N as onCleanup, O as sortFns, Q as mutationSortFns, R as on, U as setAttribute, V as getSidedProp, W as use, X as createUniqueId, Y as batch, Z as getQueryStatusLabel, _ as getMutationStatusColor, $ as getQueryStatusColor, a0 as getQueryStatusColorByLabel, a1 as displayValue, a2 as For, a3 as convertRemToPixels, a4 as untrack, a5 as $TRACK, a6 as useTransition, a7 as spread, a8 as mergeProps, a9 as createRoot, aa as serialize, ab as Index, ac as updateNestedDataByPath, ad as addEventListener, ae as stringify, af as Match, ag as Switch, ah as deleteNestedDataByPath, ai as splitProps, aj as Dynamic, ak as createComputed } from "./index-BdQgR9qW.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 createLogger, n as Icon, o as SettingNames, E as ExperimentNames } from "./index-B3OeqVym.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 "./index-BdQgR9qW.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-4ca3dfxl.js"),
139
- json: () => import("./json-DzmtI3Mp.js"),
140
- yaml: () => import("./yaml-DwFNsUWx.js"),
141
- css: () => import("./css-td1IksfN.js")
138
+ plaintext: () => import("./plaintext-DBkC3q4M.js"),
139
+ json: () => import("./json-BfcMntF3.js"),
140
+ yaml: () => import("./yaml-D8epAzVP.js"),
141
+ css: () => import("./css-CQCYyAnN.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.60.8",
432
+ sdkVersion: "3.60.9",
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-DiAYK7Dr.js";
2
- import { p as getPreferredColorScheme, q as createMemo, r as createComponent } from "./index-B3OeqVym.js";
1
+ import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, D as Devtools, Q as QueryDevtoolsContext } from "./B4MFY5CR-DvuT5svs.js";
2
+ import { p as getPreferredColorScheme, q as createMemo, r as createComponent } from "./index-BdQgR9qW.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-DiAYK7Dr.js";
2
- import { p as getPreferredColorScheme, q as createMemo, r as createComponent } from "./index-B3OeqVym.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 "./B4MFY5CR-DvuT5svs.js";
2
+ import { p as getPreferredColorScheme, q as createMemo, r as createComponent } from "./index-BdQgR9qW.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-B3OeqVym.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 userEvents, S as StepProgressIndicator, B as Button } from "./index-BdQgR9qW.js";
4
4
  import { useMemo } from "preact/compat";
5
5
  var IntroductionScreens = ((IntroductionScreens2) => {
6
6
  IntroductionScreens2["PROLOGUE"] = "PROLOGUE";
@@ -1,4 +1,4 @@
1
- import { al } from "./index-B3OeqVym.js";
1
+ import { al } from "./index-BdQgR9qW.js";
2
2
  export {
3
3
  al as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { c as cssProps } from "./DebugModal-Cgx9tT9n.js";
1
+ import { c as cssProps } from "./DebugModal-DyDBH04I.js";
2
2
  const definitions = {
3
3
  any: { regex: /.*/g, css: cssProps.text },
4
4
  property: { regex: /(^|[\r\n])[^:]*:/g, css: cssProps.key },
@@ -35076,7 +35076,6 @@ function BusinessDetailsDropin({
35076
35076
  currentProblems == null ? void 0 : currentProblems.remediationActions,
35077
35077
  currentProblems == null ? void 0 : currentProblems.missingData,
35078
35078
  subjectEntity,
35079
- isExperimentEnabled,
35080
35079
  customRules,
35081
35080
  trustedFields
35082
35081
  ]
@@ -35149,6 +35148,8 @@ function BusinessDetailsDropin({
35149
35148
  isExperimentEnabled
35150
35149
  });
35151
35150
  }, [
35151
+ setAccountHolder,
35152
+ accountHolder,
35152
35153
  associatedLeTrackingParams,
35153
35154
  currentState.data,
35154
35155
  legalEntityResponse,
@@ -35157,7 +35158,6 @@ function BusinessDetailsDropin({
35157
35158
  nestedLegalEntityDetails,
35158
35159
  currentProblems,
35159
35160
  taskType,
35160
- accountHolder,
35161
35161
  forms,
35162
35162
  documentUtils,
35163
35163
  i18n,
@@ -35166,7 +35166,7 @@ function BusinessDetailsDropin({
35166
35166
  handleCreateLegalEntity,
35167
35167
  onExternalSubmit,
35168
35168
  isExperimentEnabled,
35169
- setAccountHolder
35169
+ userEvents
35170
35170
  ]);
35171
35171
  const {
35172
35172
  handleNextClick,
@@ -35246,7 +35246,8 @@ function BusinessDetailsDropin({
35246
35246
  verifyTin2,
35247
35247
  currentCountry,
35248
35248
  subjectEntity == null ? void 0 : subjectEntity.id,
35249
- subjectEntity == null ? void 0 : subjectEntity.type
35249
+ subjectEntity == null ? void 0 : subjectEntity.type,
35250
+ userEvents
35250
35251
  ]);
35251
35252
  const handleCompanySearch = useCallback(
35252
35253
  async (currentData) => {
@@ -35323,6 +35324,7 @@ function BusinessDetailsDropin({
35323
35324
  if (activeForm.formId === "companyStructure" && (searchResults == null ? void 0 : searchResults.length)) {
35324
35325
  setShowCompanyStructure(false);
35325
35326
  }
35327
+ return gotoFormByFormIndex(index);
35326
35328
  } else {
35327
35329
  if (verifiedBusiness) return gotoFormByFormIndex(index);
35328
35330
  if (activeForm.formId !== formWith2Views) return gotoFormByFormIndex(index);
@@ -52286,7 +52288,7 @@ const hasProgressedBeyondEntitySelection = (legalEntity) => {
52286
52288
  return hasOwnEntityAssocation || !!hasOrganizationType;
52287
52289
  };
52288
52290
  const Introduction = lazy$1(
52289
- async () => (await import("./Introduction-CE3a76j3.js")).Introduction
52291
+ async () => (await import("./Introduction-DSMyaNcT.js")).Introduction
52290
52292
  );
52291
52293
  const PAGES_WITH_POLLING = [TaskTypes.DECISION_MAKER_OVERVIEW, TaskTypes.TASKS_OVERVIEW];
52292
52294
  const logger$c = createLogger();
@@ -57299,7 +57301,7 @@ var TanstackQueryDevtools = (_k = class {
57299
57301
  if (__privateGet(this, _Component)) {
57300
57302
  Devtools = __privateGet(this, _Component);
57301
57303
  } else {
57302
- Devtools = lazy(() => import("./HO4MOOFI-JCLMNnM8.js"));
57304
+ Devtools = lazy(() => import("./HO4MOOFI-DU3o0aU0.js"));
57303
57305
  __privateSet(this, _Component, Devtools);
57304
57306
  }
57305
57307
  setupStyleSheet(__privateGet(this, _styleNonce), __privateGet(this, _shadowDOMTarget));
@@ -57421,7 +57423,7 @@ var TanstackQueryDevtoolsPanel = (_l = class {
57421
57423
  if (__privateGet(this, _Component2)) {
57422
57424
  Devtools = __privateGet(this, _Component2);
57423
57425
  } else {
57424
- Devtools = lazy(() => import("./HUY7CZI3-B8qeOQnE.js"));
57426
+ Devtools = lazy(() => import("./HUY7CZI3-W2Doip2x.js"));
57425
57427
  __privateSet(this, _Component2, Devtools);
57426
57428
  }
57427
57429
  setupStyleSheet(__privateGet(this, _styleNonce2), __privateGet(this, _shadowDOMTarget2));
@@ -57642,7 +57644,7 @@ const useAnalytics = ({
57642
57644
  componentName,
57643
57645
  onboardingVersion
57644
57646
  }) => {
57645
- const sdkVersion = "3.60.8";
57647
+ const sdkVersion = "3.60.9";
57646
57648
  const { isEmbeddedDropin, loadingContext: base } = useAuthContext();
57647
57649
  const rootLegalEntity = useGlobalStore((store) => store.rootLegalEntity);
57648
57650
  const countryCode = useGlobalStore((store) => store.rootLegalEntityCountry);
@@ -58133,7 +58135,7 @@ const ConfigurationApiProvider = ({
58133
58135
  [authContext, rootLegalEntityId]
58134
58136
  );
58135
58137
  return /* @__PURE__ */ jsxs(ConfigurationApiContext.Provider, { value: contextValue, children: [
58136
- /* @__PURE__ */ jsx$1("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.60.8" }),
58138
+ /* @__PURE__ */ jsx$1("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.60.9" }),
58137
58139
  children2
58138
58140
  ] });
58139
58141
  };
@@ -58578,7 +58580,7 @@ function StateProvider({
58578
58580
  );
58579
58581
  return /* @__PURE__ */ jsx$1(StateContext.Provider, { value: contextValue, children: children2 });
58580
58582
  }
58581
- const DebugModal = lazy$1(async () => (await import("./DebugModal-Cgx9tT9n.js").then((n) => n.D)).DebugModal);
58583
+ const DebugModal = lazy$1(async () => (await import("./DebugModal-DyDBH04I.js").then((n) => n.D)).DebugModal);
58582
58584
  const DebugListener = () => {
58583
58585
  const [debugUiOpen, setDebugUiOpen] = useState(false);
58584
58586
  const { isSettingEnabled } = useSettingsContext();
@@ -1,4 +1,4 @@
1
- import { c as cssProps } from "./DebugModal-Cgx9tT9n.js";
1
+ import { c as cssProps } from "./DebugModal-DyDBH04I.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-Cgx9tT9n.js";
1
+ import { c as cssProps } from "./DebugModal-DyDBH04I.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-Cgx9tT9n.js";
1
+ import { c as cssProps } from "./DebugModal-DyDBH04I.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.60.8",
3
+ "version": "3.60.9",
4
4
  "keywords": [
5
5
  "adyen",
6
6
  "adyen-kyc",