@adyen/kyc-components 3.60.5 → 3.60.7

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.
Files changed (24) hide show
  1. package/dist/es/{B4MFY5CR-BHfuOSG3.js → B4MFY5CR-BHnRatG5.js} +1 -1
  2. package/dist/es/{DebugModal-BcwISHBl.js → DebugModal-DfzSMFw6.js} +18 -21
  3. package/dist/es/{HO4MOOFI-CjAgC0rN.js → HO4MOOFI-Dy_AeoHo.js} +2 -2
  4. package/dist/es/{HUY7CZI3-DGozbLOt.js → HUY7CZI3-BQQRBWnq.js} +2 -2
  5. package/dist/es/{Introduction-CVYz25cA.js → Introduction-DrKpaADN.js} +1 -1
  6. package/dist/es/adyen-kyc-components.es.js +2 -2
  7. package/dist/es/{css-CxNyKbwZ.js → css-DFn7MtsT.js} +1 -1
  8. package/dist/es/{index-Bq4NwEsx.js → index-BXvH3LBB.js} +647 -479
  9. package/dist/es/{json-C3rFBXxX.js → json-DwvmCuYm.js} +1 -1
  10. package/dist/es/{plaintext-BRIbJL0q.js → plaintext-BolrXcJP.js} +1 -1
  11. package/dist/es/{yaml-bAat-HE7.js → yaml-CTEvq48i.js} +1 -1
  12. package/dist/style.css +47 -45
  13. package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/IdVerificationMethod.types.d.ts +2 -1
  14. package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.d.ts +16 -0
  15. package/dist/types/components/Individual/mapping/IndividualToLegalEntity.mapper.d.ts +4 -0
  16. package/dist/types/core/models/api/get-scenarios.d.ts +1 -1
  17. package/dist/types/utils/entityAssociationUtil.d.ts +2 -1
  18. package/dist/types/utils/getFieldsWithExistingData.d.ts +1 -2
  19. package/dist/types/utils/mapping/componentApiMapping.d.ts +2 -0
  20. package/dist/types/utils/mapping/mapping.d.ts +3 -0
  21. package/package.json +1 -1
  22. package/dist/types/components/Business/forms/BusinessMismatchModal/BusinessMismatchModal.d.ts +0 -6
  23. package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/ConfirmManualFlowModal/ConfirmManualFlowModal.d.ts +0 -5
  24. package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/DeleteDocumentModal/DeleteDocumentModal.d.ts +0 -5
@@ -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 { z as createContext, A as createSignal, C as onMount, D as createEffect, x as createMemo, y as createComponent, P as Portal, F as Show, G as template, H as insert, J as createRenderEffect, K as className, N as clearDelegatedEvents, O as delegateEvents, Q as useContext, R as onCleanup, U as sortFns, V as mutationSortFns, W as on, X as setAttribute, Y as getSidedProp, Z as use, _ as createUniqueId, $ as batch, a0 as getQueryStatusLabel, a1 as getMutationStatusColor, a2 as getQueryStatusColor, a3 as getQueryStatusColorByLabel, a4 as displayValue, a5 as For, a6 as convertRemToPixels, a7 as untrack, a8 as $TRACK, a9 as useTransition, aa as spread, ab as mergeProps, ac as createRoot, ad as serialize, ae as Index, af as updateNestedDataByPath, ag as addEventListener, ah as stringify, ai as Match, aj as Switch, ak as deleteNestedDataByPath, al as splitProps, am as Dynamic, an as createComputed } from "./index-Bq4NwEsx.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-BXvH3LBB.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 ModalHeader, n as ModalContent, o as ModalFooter, p as createLogger, q as Icon, r as SettingNames, E as ExperimentNames } from "./index-Bq4NwEsx.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-BXvH3LBB.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-BRIbJL0q.js"),
139
- json: () => import("./json-C3rFBXxX.js"),
140
- yaml: () => import("./yaml-bAat-HE7.js"),
141
- css: () => import("./css-CxNyKbwZ.js")
138
+ plaintext: () => import("./plaintext-BolrXcJP.js"),
139
+ json: () => import("./json-DwvmCuYm.js"),
140
+ yaml: () => import("./yaml-CTEvq48i.js"),
141
+ css: () => import("./css-DFn7MtsT.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.5",
432
+ sdkVersion: "3.60.7",
433
433
  locale: i18n.locale,
434
434
  rootLegalEntityId: rootLegalEntity.id
435
435
  };
@@ -454,8 +454,8 @@ const DebugModal = ({ onExit }) => {
454
454
  setDebugInfoCopied(false);
455
455
  }, 5e3);
456
456
  };
457
- return /* @__PURE__ */ jsxs(Modal, { size: "fullscreen", onClose: onExit, ariaLabel: "Debug", children: [
458
- /* @__PURE__ */ jsx(ModalHeader, { children: /* @__PURE__ */ jsxs("div", { className: "adyen-kyc-debug-modal__header", children: [
457
+ return /* @__PURE__ */ jsx(Modal, { size: "fullscreen", onClose: onExit, ariaLabel: "Debug", children: /* @__PURE__ */ jsxs("div", { className: "adyen-kyc-debug-modal", children: [
458
+ /* @__PURE__ */ jsxs("div", { className: "adyen-kyc-debug-modal__header", children: [
459
459
  /* @__PURE__ */ jsx("h1", { children: "Debug" }),
460
460
  " ",
461
461
  /* @__PURE__ */ jsx(
@@ -483,17 +483,14 @@ const DebugModal = ({ onExit }) => {
483
483
  ]
484
484
  }
485
485
  )
486
- ] }) }),
487
- /* @__PURE__ */ jsx(ModalContent, { children: /* @__PURE__ */ jsxs(Fragment, { children: [
488
- /* @__PURE__ */ jsxs("div", { className: "adyen-kyc-debug-modal__content", children: [
489
- tab === "metadata" ? /* @__PURE__ */ jsx(DebugMetadata, { metadata }) : void 0,
490
- tab === "taskStatuses" ? /* @__PURE__ */ jsx(DebugTaskStatuses, { taskStatuses }) : void 0,
491
- tab === "experimentsSettings" ? /* @__PURE__ */ jsx(DebugExperimentsAndSettings, { experiments, settings }) : void 0,
492
- tab === "legalEntityData" ? /* @__PURE__ */ jsx(DebugLegalEntityData, { legalEntityData }) : void 0
493
- ] }),
494
- " "
495
- ] }) }),
496
- /* @__PURE__ */ jsx(ModalFooter, { children: /* @__PURE__ */ jsx("div", { className: "adyen-kyc-debug-modal__footer", children: /* @__PURE__ */ jsxs("div", { children: [
486
+ ] }),
487
+ /* @__PURE__ */ jsxs("div", { className: "adyen-kyc-debug-modal__content", children: [
488
+ tab === "metadata" ? /* @__PURE__ */ jsx(DebugMetadata, { metadata }) : void 0,
489
+ tab === "taskStatuses" ? /* @__PURE__ */ jsx(DebugTaskStatuses, { taskStatuses }) : void 0,
490
+ tab === "experimentsSettings" ? /* @__PURE__ */ jsx(DebugExperimentsAndSettings, { experiments, settings }) : void 0,
491
+ tab === "legalEntityData" ? /* @__PURE__ */ jsx(DebugLegalEntityData, { legalEntityData }) : void 0
492
+ ] }),
493
+ /* @__PURE__ */ jsx("div", { className: "adyen-kyc-debug-modal__footer", children: /* @__PURE__ */ jsxs("div", { children: [
497
494
  /* @__PURE__ */ jsx(
498
495
  Button,
499
496
  {
@@ -510,8 +507,8 @@ const DebugModal = ({ onExit }) => {
510
507
  /* @__PURE__ */ jsx(Icon, { name: "check" }),
511
508
  " Copied!"
512
509
  ] }) : void 0
513
- ] }) }) })
514
- ] });
510
+ ] }) })
511
+ ] }) });
515
512
  };
516
513
  const DebugModal$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
517
514
  __proto__: null,
@@ -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-BHfuOSG3.js";
2
- import { w as getPreferredColorScheme, x as createMemo, y as createComponent } from "./index-Bq4NwEsx.js";
1
+ import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, D as Devtools, Q as QueryDevtoolsContext } from "./B4MFY5CR-BHnRatG5.js";
2
+ import { p as getPreferredColorScheme, q as createMemo, r as createComponent } from "./index-BXvH3LBB.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-BHfuOSG3.js";
2
- import { w as getPreferredColorScheme, x as createMemo, y as createComponent } from "./index-Bq4NwEsx.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-BHnRatG5.js";
2
+ import { p as getPreferredColorScheme, q as createMemo, r as createComponent } from "./index-BXvH3LBB.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-Bq4NwEsx.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-BXvH3LBB.js";
4
4
  import { useMemo } from "preact/compat";
5
5
  var IntroductionScreens = ((IntroductionScreens2) => {
6
6
  IntroductionScreens2["PROLOGUE"] = "PROLOGUE";
@@ -1,4 +1,4 @@
1
- import { ao } from "./index-Bq4NwEsx.js";
1
+ import { al } from "./index-BXvH3LBB.js";
2
2
  export {
3
- ao as default
3
+ al as default
4
4
  };
@@ -1,4 +1,4 @@
1
- import { c as cssProps } from "./DebugModal-BcwISHBl.js";
1
+ import { c as cssProps } from "./DebugModal-DfzSMFw6.js";
2
2
  const definitions = {
3
3
  any: { regex: /.*/g, css: cssProps.text },
4
4
  property: { regex: /(^|[\r\n])[^:]*:/g, css: cssProps.key },