@adyen/kyc-components 3.64.1 → 3.64.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
1
  import { jsxs, jsx } from "preact/jsx-runtime";
2
- import { b as useI18nContext, A as AlertIcon, h as FormHeader, D as DropinLayout } from "./core-DMef9uHG.js";
2
+ import { b as useI18nContext, A as AlertIcon, h as FormHeader, D as DropinLayout } from "./core-D1ST0YXq.js";
3
3
  function AccountSetupRejected() {
4
4
  const { i18n } = useI18nContext();
5
5
  const content = /* @__PURE__ */ jsxs("div", { children: [
@@ -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 "./HASRA6WW-BBh_ldjJ.js";
2
- import { ac as getPreferredColorScheme, ad as createMemo, ae as createComponent } from "./core-DMef9uHG.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 "./HASRA6WW-uIqpDh_x.js";
2
+ import { ac as getPreferredColorScheme, ad as createMemo, ae as createComponent } from "./core-D1ST0YXq.js";
3
3
  var DevtoolsPanelComponent = (props) => {
4
4
  const [localStore, setLocalStore] = createLocalStorage({
5
5
  prefix: "TanstackQueryDevtools"
@@ -1,5 +1,5 @@
1
1
  import { jsxs, jsx } from "preact/jsx-runtime";
2
- import { b as useI18nContext, c as useAnalyticsContext, l as useToastContext, H as useConfigurationApi, i as useLegalEntity, n as useUpdateLegalEntity, m as useQueryClient, I as resolveFieldMetadata, J as contactDetailsValidationRules, K as defaultFieldMetadata, M as fieldConfig, N as getAsyncPhoneValidationRules, O as useMultiForm, h as FormHeader, P as ContactDetails, G as ActionBar, Q as createLogger } from "./core-DMef9uHG.js";
2
+ import { b as useI18nContext, c as useAnalyticsContext, l as useToastContext, H as useConfigurationApi, i as useLegalEntity, n as useUpdateLegalEntity, m as useQueryClient, I as resolveFieldMetadata, J as contactDetailsValidationRules, K as defaultFieldMetadata, M as fieldConfig, N as getAsyncPhoneValidationRules, O as useMultiForm, h as FormHeader, P as ContactDetails, G as ActionBar, Q as createLogger } from "./core-D1ST0YXq.js";
3
3
  import { useCallback, useMemo, useEffect } from "preact/hooks";
4
4
  const mapCustomerSupportSchemaToCustomerSupportType = (customerSupport) => {
5
5
  var _a, _b, _c;
@@ -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, Z as Tag, _ as entriesOf, $ as InputText, b as useI18nContext, a0 as splitTaskIdentifier, a1 as TaskItemStatus, a2 as useExperimentsContext, a3 as useSettingsContext, a4 as useGlobalStore, a5 as listToRecord, a6 as valuesOf, a7 as useTaskStatuses, a8 as Modal, Q as createLogger, a9 as Icon, aa as SettingNames, ab as ExperimentNames } from "./core-DMef9uHG.js";
3
+ import { B as Button, Z as Tag, _ as entriesOf, $ as InputText, b as useI18nContext, a0 as splitTaskIdentifier, a1 as TaskItemStatus, a2 as useExperimentsContext, a3 as useSettingsContext, a4 as useGlobalStore, a5 as listToRecord, a6 as valuesOf, a7 as useTaskStatuses, a8 as Modal, Q as createLogger, a9 as Icon, aa as SettingNames, ab as ExperimentNames } from "./core-D1ST0YXq.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-Bn-4mEeM.js"),
139
- json: () => import("./json-C8Ve6tYd.js"),
140
- yaml: () => import("./yaml-B0cSIA3u.js"),
141
- css: () => import("./css-BuS1n-Pw.js")
138
+ plaintext: () => import("./plaintext-ChBAkx3j.js"),
139
+ json: () => import("./json-CUMjm87e.js"),
140
+ yaml: () => import("./yaml-bHM-4VPj.js"),
141
+ css: () => import("./css-RcGyay7n.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.64.1",
432
+ sdkVersion: "3.64.2",
433
433
  locale: i18n.locale,
434
434
  rootLegalEntityId: rootLegalEntity.id
435
435
  };
@@ -1,5 +1,5 @@
1
1
  import { jsx, jsxs } from "preact/jsx-runtime";
2
- import { i as useLegalEntity, j as Loader, k as useGetTaskStatus, b as useI18nContext, c as useAnalyticsContext, l as useToastContext, m as useQueryClient, n as useUpdateLegalEntity, o as getOwnDecisionMakers, p as getAvailableDecisionMakerRoleTypes, q as useDataMissingRemediations, T as TaskTypes, r as getAllowedDecisionMakerRoles, D as DropinLayout, h as FormHeader, E as EntityGuidanceStatus, s as iconStatus, v as ContextGuidance, w as DecisionMakerType, x as Alert, y as CardGroup, z as EntityAssociation, B as Button, G as ActionBar } from "./core-DMef9uHG.js";
2
+ import { i as useLegalEntity, j as Loader, k as useGetTaskStatus, b as useI18nContext, c as useAnalyticsContext, l as useToastContext, m as useQueryClient, n as useUpdateLegalEntity, o as getOwnDecisionMakers, p as getAvailableDecisionMakerRoleTypes, q as useDataMissingRemediations, T as TaskTypes, r as getAllowedDecisionMakerRoles, D as DropinLayout, h as FormHeader, E as EntityGuidanceStatus, s as iconStatus, v as ContextGuidance, w as DecisionMakerType, x as Alert, y as CardGroup, z as EntityAssociation, B as Button, G as ActionBar } from "./core-D1ST0YXq.js";
3
3
  import { useState, useEffect } from "preact/hooks";
4
4
  const DecisionMakers = (props) => {
5
5
  const { data, isLoading } = useLegalEntity();
@@ -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 { af as createContext, ag as createSignal, ah as onMount, ai as createEffect, ad as createMemo, ae as createComponent, aj as Portal, ak as Show, al as template, am as insert, an as createRenderEffect, ao as className, ap as clearDelegatedEvents, aq as delegateEvents, ar as useContext, as as onCleanup, at as sortFns, au as mutationSortFns, av as on, aw as setAttribute, ax as getSidedProp, ay as use, az as createUniqueId, aA as batch, aB as getQueryStatusLabel, aC as getMutationStatusColor, aD as getQueryStatusColor, aE as getQueryStatusColorByLabel, aF as displayValue, aG as For, aH as convertRemToPixels, aI as untrack, aJ as $TRACK, aK as useTransition, aL as spread, aM as mergeProps, aN as createRoot, aO as serialize, aP as Index, aQ as updateNestedDataByPath, aR as addEventListener, aS as stringify, aT as Match, aU as Switch, aV as deleteNestedDataByPath, aW as splitProps, aX as Dynamic, aY as createComputed } from "./core-DMef9uHG.js";
4
+ import { af as createContext, ag as createSignal, ah as onMount, ai as createEffect, ad as createMemo, ae as createComponent, aj as Portal, ak as Show, al as template, am as insert, an as createRenderEffect, ao as className, ap as clearDelegatedEvents, aq as delegateEvents, ar as useContext, as as onCleanup, at as sortFns, au as mutationSortFns, av as on, aw as setAttribute, ax as getSidedProp, ay as use, az as createUniqueId, aA as batch, aB as getQueryStatusLabel, aC as getMutationStatusColor, aD as getQueryStatusColor, aE as getQueryStatusColorByLabel, aF as displayValue, aG as For, aH as convertRemToPixels, aI as untrack, aJ as $TRACK, aK as useTransition, aL as spread, aM as mergeProps, aN as createRoot, aO as serialize, aP as Index, aQ as updateNestedDataByPath, aR as addEventListener, aS as stringify, aT as Match, aU as Switch, aV as deleteNestedDataByPath, aW as splitProps, aX as Dynamic, aY as createComputed } from "./core-D1ST0YXq.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 "./HASRA6WW-BBh_ldjJ.js";
2
- import { ac as getPreferredColorScheme, ad as createMemo, ae as createComponent } from "./core-DMef9uHG.js";
1
+ import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, D as Devtools, Q as QueryDevtoolsContext } from "./HASRA6WW-uIqpDh_x.js";
2
+ import { ac as getPreferredColorScheme, ad as createMemo, ae as createComponent } from "./core-D1ST0YXq.js";
3
3
  var DevtoolsComponent = (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 useAnalyticsContext, S as StepProgressIndicator, B as Button } from "./core-DMef9uHG.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-D1ST0YXq.js";
4
4
  import { useMemo } from "preact/compat";
5
5
  var IntroductionScreens = ((IntroductionScreens2) => {
6
6
  IntroductionScreens2["PROLOGUE"] = "PROLOGUE";
@@ -1,6 +1,6 @@
1
1
  import { jsx, jsxs } from "preact/jsx-runtime";
2
2
  import { useState } from "preact/hooks";
3
- import { U as useApiContext, V as useMutation, W as httpPost, b as useI18nContext, l as useToastContext, X as LoaderWrapper, h as FormHeader, Y as Checkbox, G as ActionBar, D as DropinLayout } from "./core-DMef9uHG.js";
3
+ import { U as useApiContext, V as useMutation, W as httpPost, b as useI18nContext, l as useToastContext, X as LoaderWrapper, h as FormHeader, Y as Checkbox, G as ActionBar, D as DropinLayout } from "./core-D1ST0YXq.js";
4
4
  const confirmReview = async (legalEntityId, url) => {
5
5
  return httpPost({
6
6
  loadingContext: url,
@@ -1,6 +1,6 @@
1
1
  import { jsx, jsxs } from "preact/jsx-runtime";
2
2
  import { useState } from "preact/hooks";
3
- import { b as useI18nContext, d as useForm, e as Typography, F as Field, R as RadioGroupCard, B as Button, f as Svg, L as LegalEntityType } from "./core-DMef9uHG.js";
3
+ import { b as useI18nContext, d as useForm, e as Typography, F as Field, R as RadioGroupCard, B as Button, f as Svg, L as LegalEntityType } from "./core-D1ST0YXq.js";
4
4
  const setupAccountMethods = ["singpass", "manual"];
5
5
  const setupAccountMethodFields = ["setupAccountMethod"];
6
6
  const getSingpassSelectionDisabled = (legalEntityType) => {
@@ -1,4 +1,4 @@
1
- import { C as Core } from "./core-DMef9uHG.js";
1
+ import { C as Core } from "./core-D1ST0YXq.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-DMef9uHG.js";
1
+ import { C as Core } from "./core-D1ST0YXq.js";
2
2
  const environmentMap = Object.freeze({
3
3
  live: "https://live.adyen.com",
4
4
  test: "https://test.adyen.com"
@@ -31466,6 +31466,7 @@ const KNOWN_BROKEN_PRIMARY_SOURCE_CONNECTIONS = [
31466
31466
  ];
31467
31467
  const KNOWN_DISALLOWED_INDEX_DATASET_STATES = [
31468
31468
  StateCodesUS.California,
31469
+ StateCodesUS.Florida,
31469
31470
  StateCodesUS.Texas
31470
31471
  ];
31471
31472
  const logger$q = createLogger();
@@ -50737,21 +50738,21 @@ const hasProgressedBeyondEntitySelection = (legalEntity) => {
50737
50738
  return hasOwnEntityAssocation || !!hasOrganizationType;
50738
50739
  };
50739
50740
  const Introduction = lazy$1(
50740
- async () => (await import("./Introduction-Dh3oNC_b.js")).Introduction
50741
+ async () => (await import("./Introduction-B98IPVhJ.js")).Introduction
50741
50742
  );
50742
50743
  const SingpassSelection = lazy$1(
50743
- async () => (await import("./SingpassSelection-BUEOfpN3.js")).SingpassSelection
50744
+ async () => (await import("./SingpassSelection-DalSNWx_.js")).SingpassSelection
50744
50745
  );
50745
50746
  const AccountSetupRejected = lazy$1(
50746
- async () => (await import("./AccountSetupRejected-DE4V7-3v.js")).AccountSetupRejected
50747
+ async () => (await import("./AccountSetupRejected-D9DeO3DR.js")).AccountSetupRejected
50747
50748
  );
50748
50749
  const DecisionMakers = lazy$1(
50749
- async () => (await import("./DecisionMakers-DMRBLJ03.js")).DecisionMakers
50750
+ async () => (await import("./DecisionMakers-BSOnMmgu.js")).DecisionMakers
50750
50751
  );
50751
50752
  const CustomerSupport = lazy$1(
50752
- async () => (await import("./CustomerSupport-BRVILv21.js")).CustomerSupport
50753
+ async () => (await import("./CustomerSupport-l-4HQiDZ.js")).CustomerSupport
50753
50754
  );
50754
- const Review = lazy$1(async () => (await import("./Review-TmWR8Zbc.js")).Review);
50755
+ const Review = lazy$1(async () => (await import("./Review-D6LyQ_Su.js")).Review);
50755
50756
  const SignPCIComponent$2 = lazy$1(
50756
50757
  async () => (await Promise.resolve().then(() => SignPCIComponent$1)).SignPCIComponent
50757
50758
  );
@@ -55421,7 +55422,7 @@ var TanstackQueryDevtools = (_k = class {
55421
55422
  if (__privateGet(this, _Component)) {
55422
55423
  Devtools = __privateGet(this, _Component);
55423
55424
  } else {
55424
- Devtools = lazy(() => import("./I3HPI4QX-DgZhje7B.js"));
55425
+ Devtools = lazy(() => import("./I3HPI4QX-DrmLtY8r.js"));
55425
55426
  __privateSet(this, _Component, Devtools);
55426
55427
  }
55427
55428
  setupStyleSheet(__privateGet(this, _styleNonce), __privateGet(this, _shadowDOMTarget));
@@ -55543,7 +55544,7 @@ var TanstackQueryDevtoolsPanel = (_l = class {
55543
55544
  if (__privateGet(this, _Component2)) {
55544
55545
  Devtools = __privateGet(this, _Component2);
55545
55546
  } else {
55546
- Devtools = lazy(() => import("./CXEL7IU7-DcK7-pPj.js"));
55547
+ Devtools = lazy(() => import("./CXEL7IU7-BebgvCQD.js"));
55547
55548
  __privateSet(this, _Component2, Devtools);
55548
55549
  }
55549
55550
  setupStyleSheet(__privateGet(this, _styleNonce2), __privateGet(this, _shadowDOMTarget2));
@@ -55762,7 +55763,7 @@ const convertToEmbeddedEvent = (eventQueueItem, sessionData) => {
55762
55763
  };
55763
55764
  };
55764
55765
  const useAnalytics = ({ userEvents: userEvents2, sessionId, sessionData }) => {
55765
- const sdkVersion = "3.64.1";
55766
+ const sdkVersion = "3.64.2";
55766
55767
  const rootLegalEntity = useGlobalStore((store) => store.rootLegalEntity);
55767
55768
  const countryCode = useGlobalStore((store) => store.rootLegalEntityCountry);
55768
55769
  const capabilities = Object.keys(rootLegalEntity.capabilities ?? {});
@@ -55836,7 +55837,7 @@ const AnalyticsProvider = ({
55836
55837
  const { onboardingVersion } = useVersion();
55837
55838
  const userEvents2 = useMemo(() => createUserEvents(), []);
55838
55839
  const sessionData = {
55839
- sdkVersion: "3.64.1",
55840
+ sdkVersion: "3.64.2",
55840
55841
  componentName,
55841
55842
  userAgent: navigator.userAgent,
55842
55843
  legalEntityId,
@@ -55970,7 +55971,7 @@ const ConfigurationApiProvider = ({ children: children2 }) => {
55970
55971
  [baseUrl, rootLegalEntityId]
55971
55972
  );
55972
55973
  return /* @__PURE__ */ jsxs(ConfigurationApiContext.Provider, { value: contextValue, children: [
55973
- /* @__PURE__ */ jsx$1("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.64.1" }),
55974
+ /* @__PURE__ */ jsx$1("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.64.2" }),
55974
55975
  children2
55975
55976
  ] });
55976
55977
  };
@@ -56445,7 +56446,7 @@ function StateProvider({
56445
56446
  );
56446
56447
  return /* @__PURE__ */ jsx$1(StateContext.Provider, { value: contextValue, children: children2 });
56447
56448
  }
56448
- const DebugModal = lazy$1(async () => (await import("./DebugModal-BJk5v_Fq.js").then((n) => n.D)).DebugModal);
56449
+ const DebugModal = lazy$1(async () => (await import("./DebugModal-CoNLvbML.js").then((n) => n.D)).DebugModal);
56449
56450
  const DebugListener = () => {
56450
56451
  const [debugUiOpen, setDebugUiOpen] = useState(false);
56451
56452
  const { isSettingEnabled } = useSettingsContext();
@@ -1,4 +1,4 @@
1
- import { c as cssProps } from "./DebugModal-BJk5v_Fq.js";
1
+ import { c as cssProps } from "./DebugModal-CoNLvbML.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-BJk5v_Fq.js";
1
+ import { c as cssProps } from "./DebugModal-CoNLvbML.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-BJk5v_Fq.js";
1
+ import { c as cssProps } from "./DebugModal-CoNLvbML.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-BJk5v_Fq.js";
1
+ import { c as cssProps } from "./DebugModal-CoNLvbML.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.64.1",
3
+ "version": "3.64.2",
4
4
  "keywords": [
5
5
  "adyen",
6
6
  "adyen-kyc",