@adyen/kyc-components 3.67.2 → 3.67.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.
Files changed (22) hide show
  1. package/dist/{AccountSetupRejected-B9suPrnb.js → AccountSetupRejected-ChiJY18-.js} +1 -1
  2. package/dist/{BusinessTypeSelection-CmgDrnn_.js → BusinessTypeSelection-D7ZvvIMS.js} +1 -1
  3. package/dist/{CXEL7IU7-Bl38-ki-.js → CXEL7IU7-Bk2n0dNy.js} +2 -2
  4. package/dist/{CustomerSupport-BErKvR_1.js → CustomerSupport-CJNWyhvH.js} +1 -1
  5. package/dist/{DebugModal-DnMcr979.js → DebugModal-Bv0myReE.js} +7 -7
  6. package/dist/{DecisionMakers-BYdR4dJE.js → DecisionMakers-ChL8AjTJ.js} +1 -1
  7. package/dist/{HASRA6WW-D6q3dmDB.js → HASRA6WW-1uv7rGnF.js} +1 -1
  8. package/dist/{I3HPI4QX-CHpmX5kE.js → I3HPI4QX-Cu2MHefw.js} +2 -2
  9. package/dist/{Introduction-C9e9nPsU.js → Introduction-S84AjEkr.js} +1 -1
  10. package/dist/{Review-DCfr7FXV.js → Review-B416UIqb.js} +1 -1
  11. package/dist/{SingpassSelection-D-eeDYTK.js → SingpassSelection-CGe7MVVA.js} +1 -1
  12. package/dist/{TaxReportingDropin-CstiU-PL.js → TaxReportingDropin-CUnugFcz.js} +1 -1
  13. package/dist/adyen-kyc-components.js +1 -1
  14. package/dist/adyenConfig.js +1 -1
  15. package/dist/{core-BWGTBj-n.js → core-B_WrZP-J.js} +30 -28
  16. package/dist/{css-A-fQe3zo.js → css-BdtMD5A5.js} +1 -1
  17. package/dist/{json-D5BHs1fv.js → json-DbFHJS1e.js} +1 -1
  18. package/dist/{plaintext-C745dc26.js → plaintext-DuNA8yq2.js} +1 -1
  19. package/dist/types/components/Business/tasks/BusinessDetailsDropin/BusinessDetailsDropin.d.ts +1 -1
  20. package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +4 -4
  21. package/dist/{yaml-DgFkwyjb.js → yaml-CZT9wc9a.js} +1 -1
  22. package/package.json +1 -1
@@ -8,7 +8,7 @@
8
8
  }
9
9
  ;
10
10
  import { jsxs, jsx } from "preact/jsx-runtime";
11
- import { u as useI18nContext, V as AlertIcon, W as FormHeader, X as DropinLayout } from "./core-BWGTBj-n.js";
11
+ import { u as useI18nContext, V as AlertIcon, W as FormHeader, X as DropinLayout } from "./core-B_WrZP-J.js";
12
12
  function AccountSetupRejected() {
13
13
  const { i18n } = useI18nContext();
14
14
  const content = /* @__PURE__ */ jsxs("div", { children: [
@@ -9,7 +9,7 @@
9
9
  ;
10
10
  import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
11
11
  import { useState, useEffect } from "preact/hooks";
12
- import { p as useLegalEntity, q as Loader, u as useI18nContext, n as useAnalyticsContext, r as useToastContext, b as useExperimentsContext, w as useSelectionOptions, x as getCapabilities, y as getLegalEntityCountry, z as getBusinessType, A as getDefaultLegalArrangementOrSuborganizationType, L as LegalEntityType, D as useForm, E as legalArrangementMetadata, F as getTargetLegalEntityType, G as LoaderWrapper, H as Typography, J as Field, K as EntityTypeRadioGroupCard, R as RadioGroupCard, B as Button, N as Spacer, h as Icon, O as businessTypeIcons, P as hasSolePropInLegalEntity, Q as determineOrganizationTypeToUpdate } from "./core-BWGTBj-n.js";
12
+ import { p as useLegalEntity, q as Loader, u as useI18nContext, n as useAnalyticsContext, r as useToastContext, b as useExperimentsContext, w as useSelectionOptions, x as getCapabilities, y as getLegalEntityCountry, z as getBusinessType, A as getDefaultLegalArrangementOrSuborganizationType, L as LegalEntityType, D as useForm, E as legalArrangementMetadata, F as getTargetLegalEntityType, G as LoaderWrapper, H as Typography, J as Field, K as EntityTypeRadioGroupCard, R as RadioGroupCard, B as Button, N as Spacer, h as Icon, O as businessTypeIcons, P as hasSolePropInLegalEntity, Q as determineOrganizationTypeToUpdate } from "./core-B_WrZP-J.js";
13
13
  const businessTypeExamples = /* @__PURE__ */ Object.assign({ "../localized/legalEntityTypeExamples/AT.json": () => import("./AT-EpV7jN58.js"), "../localized/legalEntityTypeExamples/AU.json": () => import("./AU-pBsEvEUy.js"), "../localized/legalEntityTypeExamples/BE.json": () => import("./BE-CU5o9cmc.js"), "../localized/legalEntityTypeExamples/BR.json": () => import("./BR-ORoHRwTk.js"), "../localized/legalEntityTypeExamples/CA.json": () => import("./CA-VXNq-m6m.js"), "../localized/legalEntityTypeExamples/CH.json": () => import("./CH-B_-afpD_.js"), "../localized/legalEntityTypeExamples/CZ.json": () => import("./CZ-CTw_bQIu.js"), "../localized/legalEntityTypeExamples/DE.json": () => import("./DE-D_jIDxOH.js"), "../localized/legalEntityTypeExamples/DK.json": () => import("./DK-dBzrfgpQ.js"), "../localized/legalEntityTypeExamples/ES.json": () => import("./ES-DYbZmFcJ.js"), "../localized/legalEntityTypeExamples/FI.json": () => import("./FI-C9nRvop7.js"), "../localized/legalEntityTypeExamples/FR.json": () => import("./FR-BycGQO4W.js"), "../localized/legalEntityTypeExamples/GB.json": () => import("./GB-DFyzo5sN.js"), "../localized/legalEntityTypeExamples/HK.json": () => import("./HK-WqZ5UBEF.js"), "../localized/legalEntityTypeExamples/HR.json": () => import("./HR-CRa19tH1.js"), "../localized/legalEntityTypeExamples/HU.json": () => import("./HU-D5NCweWf.js"), "../localized/legalEntityTypeExamples/IE.json": () => import("./IE-rhATS57q.js"), "../localized/legalEntityTypeExamples/IT.json": () => import("./IT-wD7dHdYD.js"), "../localized/legalEntityTypeExamples/LT.json": () => import("./LT-0F72uCyI.js"), "../localized/legalEntityTypeExamples/NL.json": () => import("./NL-q2U2l276.js"), "../localized/legalEntityTypeExamples/NO.json": () => import("./NO-CX12Zsf_.js"), "../localized/legalEntityTypeExamples/PL.json": () => import("./PL-CwCXF3Yu.js"), "../localized/legalEntityTypeExamples/PT.json": () => import("./PT-Dei5v1nD.js"), "../localized/legalEntityTypeExamples/RO.json": () => import("./RO-Dxk08mOu.js"), "../localized/legalEntityTypeExamples/SE.json": () => import("./SE-AP3gLiyy.js"), "../localized/legalEntityTypeExamples/SG.json": () => import("./SG-DMcOb17i.js"), "../localized/legalEntityTypeExamples/SI.json": () => import("./SI-BXe-yndm.js"), "../localized/legalEntityTypeExamples/SK.json": () => import("./SK-DwdgoGnD.js"), "../localized/legalEntityTypeExamples/US.json": () => import("./US-DHxLSqeC.js") });
14
14
  const getBusinessTypeExamplesForCountry = async (country) => {
15
15
  const importForCountry = businessTypeExamples[`../localized/legalEntityTypeExamples/${country}.json`];
@@ -7,8 +7,8 @@
7
7
  }
8
8
  }
9
9
  ;
10
- 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-D6q3dmDB.js";
11
- import { aF as getPreferredColorScheme, aG as createMemo, aH as createComponent } from "./core-BWGTBj-n.js";
10
+ 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-1uv7rGnF.js";
11
+ import { aF as getPreferredColorScheme, aG as createMemo, aH as createComponent } from "./core-B_WrZP-J.js";
12
12
  var DevtoolsPanelComponent = (props) => {
13
13
  const [localStore, setLocalStore] = createLocalStorage({
14
14
  prefix: "TanstackQueryDevtools"
@@ -8,7 +8,7 @@
8
8
  }
9
9
  ;
10
10
  import { jsx, jsxs } from "preact/jsx-runtime";
11
- import { p as useLegalEntity, q as Loader, u as useI18nContext, n as useAnalyticsContext, r as useToastContext, aa as useConfigurationApi, Z as useUpdateLegalEntity, ab as useQueryClient, ac as resolveFieldMetadata, ad as contactDetailsValidationRules, ae as defaultFieldMetadata, af as fieldConfig, ag as getAsyncPhoneValidationRules, ah as useMultiForm, W as FormHeader, ai as ContactDetails, a9 as ActionBar, g as createLogger } from "./core-BWGTBj-n.js";
11
+ import { p as useLegalEntity, q as Loader, u as useI18nContext, n as useAnalyticsContext, r as useToastContext, aa as useConfigurationApi, Z as useUpdateLegalEntity, ab as useQueryClient, ac as resolveFieldMetadata, ad as contactDetailsValidationRules, ae as defaultFieldMetadata, af as fieldConfig, ag as getAsyncPhoneValidationRules, ah as useMultiForm, W as FormHeader, ai as ContactDetails, a9 as ActionBar, g as createLogger } from "./core-B_WrZP-J.js";
12
12
  import { useCallback, useMemo, useEffect } from "preact/hooks";
13
13
  const mapCustomerSupportSchemaToCustomerSupportType = (customerSupport) => {
14
14
  var _a, _b, _c;
@@ -2,14 +2,14 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "04252bd5-cbf4-4fc9-9839-a73ed27a7bd3", e._sentryDebugIdIdentifier = "sentry-dbid-04252bd5-cbf4-4fc9-9839-a73ed27a7bd3");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "cdc9ef73-b35e-43d1-8348-de631d307f4a", e._sentryDebugIdIdentifier = "sentry-dbid-cdc9ef73-b35e-43d1-8348-de631d307f4a");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
11
11
  import { useMemo, useState } from "preact/hooks";
12
- import { B as Button, T as Tag, e as entriesOf, I as InputText, u as useI18nContext, s as splitTaskIdentifier, a as TaskItemStatus, b as useExperimentsContext, c as useSettingsContext, d as useGlobalStore, l as listToRecord, v as valuesOf, f as useTaskStatuses, M as Modal, g as createLogger, h as Icon, S as SettingNames } from "./core-BWGTBj-n.js";
12
+ import { B as Button, T as Tag, e as entriesOf, I as InputText, u as useI18nContext, s as splitTaskIdentifier, a as TaskItemStatus, b as useExperimentsContext, c as useSettingsContext, d as useGlobalStore, l as listToRecord, v as valuesOf, f as useTaskStatuses, M as Modal, g as createLogger, h as Icon, S as SettingNames } from "./core-B_WrZP-J.js";
13
13
  var ExperimentNames = /* @__PURE__ */ ((ExperimentNames2) => {
14
14
  ExperimentNames2["AllowMoreRolesForMainRootTrustee"] = "AllowMoreRolesForMainRootTrustee";
15
15
  ExperimentNames2["ShowUnsupportedEntityType"] = "ShowUnsupportedEntityType";
@@ -176,10 +176,10 @@ const transformModule = (highlights, codeNode, scope) => {
176
176
  };
177
177
  const supportedModules = ["plaintext", "json", "yaml", "css"];
178
178
  const moduleMap = {
179
- plaintext: () => import("./plaintext-C745dc26.js"),
180
- json: () => import("./json-D5BHs1fv.js"),
181
- yaml: () => import("./yaml-DgFkwyjb.js"),
182
- css: () => import("./css-A-fQe3zo.js")
179
+ plaintext: () => import("./plaintext-DuNA8yq2.js"),
180
+ json: () => import("./json-DbFHJS1e.js"),
181
+ yaml: () => import("./yaml-CZT9wc9a.js"),
182
+ css: () => import("./css-BdtMD5A5.js")
183
183
  };
184
184
  const getModule = async (name) => {
185
185
  if (!supportedModules.includes(name)) {
@@ -470,7 +470,7 @@ const DebugModal = ({ onExit }) => {
470
470
  const [tab, setTab] = useState("metadata");
471
471
  const rootLegalEntity = useGlobalStore((store) => store.rootLegalEntity);
472
472
  const metadata = {
473
- sdkVersion: "3.67.2",
473
+ sdkVersion: "3.67.3",
474
474
  locale: i18n.locale,
475
475
  rootLegalEntityId: rootLegalEntity.id
476
476
  };
@@ -9,7 +9,7 @@
9
9
  ;
10
10
  import { jsx, jsxs } from "preact/jsx-runtime";
11
11
  import { useState, useEffect } from "preact/hooks";
12
- import { p as useLegalEntity, q as Loader, Y as useGetTaskStatus, u as useI18nContext, n as useAnalyticsContext, r as useToastContext, Z as useUpdateLegalEntity, _ as getOwnDecisionMakers, $ as getAvailableDecisionMakerRoleTypes, a0 as useDataMissingRemediations, i as TaskTypes, a1 as getAllowedDecisionMakerRoles, X as DropinLayout, W as FormHeader, a2 as EntityGuidanceStatus, a3 as iconStatus, a4 as ContextGuidance, a5 as DecisionMakerType, a6 as Alert, a7 as CardGroup, a8 as EntityAssociation, B as Button, a9 as ActionBar } from "./core-BWGTBj-n.js";
12
+ import { p as useLegalEntity, q as Loader, Y as useGetTaskStatus, u as useI18nContext, n as useAnalyticsContext, r as useToastContext, Z as useUpdateLegalEntity, _ as getOwnDecisionMakers, $ as getAvailableDecisionMakerRoleTypes, a0 as useDataMissingRemediations, i as TaskTypes, a1 as getAllowedDecisionMakerRoles, X as DropinLayout, W as FormHeader, a2 as EntityGuidanceStatus, a3 as iconStatus, a4 as ContextGuidance, a5 as DecisionMakerType, a6 as Alert, a7 as CardGroup, a8 as EntityAssociation, B as Button, a9 as ActionBar } from "./core-B_WrZP-J.js";
13
13
  const DecisionMakers = (props) => {
14
14
  const { data, isLoading } = useLegalEntity();
15
15
  if (isLoading || !data) {
@@ -10,7 +10,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
10
10
  }
11
11
  }
12
12
  ;
13
- import { aI as createContext, aJ as createSignal, aK as onMount, aL as createEffect, aG as createMemo, aH as createComponent, aM as Portal, aN as Show, aO as template, aP as insert, aQ as createRenderEffect, aR as className, aS as clearDelegatedEvents, aT as delegateEvents, aU as useContext, aV as onCleanup, aW as sortFns, aX as mutationSortFns, aY as on, aZ as setAttribute, a_ as getSidedProp, a$ as use, b0 as createUniqueId, b1 as batch, b2 as getQueryStatusLabel, b3 as getMutationStatusColor, b4 as getQueryStatusColor, b5 as getQueryStatusColorByLabel, b6 as displayValue, b7 as For, b8 as convertRemToPixels, b9 as untrack, ba as $TRACK, bb as useTransition, bc as spread, bd as mergeProps, be as createRoot, bf as serialize, bg as Index, bh as updateNestedDataByPath, bi as addEventListener, bj as stringify, bk as Match, bl as Switch, bm as deleteNestedDataByPath, bn as splitProps, bo as Dynamic, bp as createComputed } from "./core-BWGTBj-n.js";
13
+ import { aI as createContext, aJ as createSignal, aK as onMount, aL as createEffect, aG as createMemo, aH as createComponent, aM as Portal, aN as Show, aO as template, aP as insert, aQ as createRenderEffect, aR as className, aS as clearDelegatedEvents, aT as delegateEvents, aU as useContext, aV as onCleanup, aW as sortFns, aX as mutationSortFns, aY as on, aZ as setAttribute, a_ as getSidedProp, a$ as use, b0 as createUniqueId, b1 as batch, b2 as getQueryStatusLabel, b3 as getMutationStatusColor, b4 as getQueryStatusColor, b5 as getQueryStatusColorByLabel, b6 as displayValue, b7 as For, b8 as convertRemToPixels, b9 as untrack, ba as $TRACK, bb as useTransition, bc as spread, bd as mergeProps, be as createRoot, bf as serialize, bg as Index, bh as updateNestedDataByPath, bi as addEventListener, bj as stringify, bk as Match, bl as Switch, bm as deleteNestedDataByPath, bn as splitProps, bo as Dynamic, bp as createComputed } from "./core-B_WrZP-J.js";
14
14
  var isNonNullable = (i2) => i2 != null;
15
15
  var filterNonNullable = (arr) => arr.filter(isNonNullable);
16
16
  function chain(callbacks) {
@@ -7,8 +7,8 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, D as Devtools, Q as QueryDevtoolsContext } from "./HASRA6WW-D6q3dmDB.js";
11
- import { aF as getPreferredColorScheme, aG as createMemo, aH as createComponent } from "./core-BWGTBj-n.js";
10
+ import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, D as Devtools, Q as QueryDevtoolsContext } from "./HASRA6WW-1uv7rGnF.js";
11
+ import { aF as getPreferredColorScheme, aG as createMemo, aH as createComponent } from "./core-B_WrZP-J.js";
12
12
  var DevtoolsComponent = (props) => {
13
13
  const [localStore, setLocalStore] = createLocalStorage({
14
14
  prefix: "TanstackQueryDevtools"
@@ -9,7 +9,7 @@
9
9
  ;
10
10
  import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
11
11
  import { useMemo as useMemo$1, useState, useEffect } from "preact/hooks";
12
- import { i as TaskTypes, L as LegalEntityType, j as useCanSeeIntroduction, k as useLegalEntityType, t as toCapitalized, m as getTranslationKeysByPrefix, u as useI18nContext, n as useAnalyticsContext, o as StepProgressIndicator, B as Button } from "./core-BWGTBj-n.js";
12
+ import { i as TaskTypes, L as LegalEntityType, j as useCanSeeIntroduction, k as useLegalEntityType, t as toCapitalized, m as getTranslationKeysByPrefix, u as useI18nContext, n as useAnalyticsContext, o as StepProgressIndicator, B as Button } from "./core-B_WrZP-J.js";
13
13
  import { useMemo } from "preact/compat";
14
14
  var IntroductionScreens = ((IntroductionScreens2) => {
15
15
  IntroductionScreens2["PROLOGUE"] = "PROLOGUE";
@@ -9,7 +9,7 @@
9
9
  ;
10
10
  import { jsx, jsxs } from "preact/jsx-runtime";
11
11
  import { useState } from "preact/hooks";
12
- import { aj as useApiContext, ak as useMutation, al as httpPost, u as useI18nContext, r as useToastContext, G as LoaderWrapper, W as FormHeader, am as Checkbox, a9 as ActionBar, X as DropinLayout } from "./core-BWGTBj-n.js";
12
+ import { aj as useApiContext, ak as useMutation, al as httpPost, u as useI18nContext, r as useToastContext, G as LoaderWrapper, W as FormHeader, am as Checkbox, a9 as ActionBar, X as DropinLayout } from "./core-B_WrZP-J.js";
13
13
  const confirmReview = async (legalEntityId, url) => {
14
14
  return httpPost({
15
15
  loadingContext: url,
@@ -9,7 +9,7 @@
9
9
  ;
10
10
  import { jsx, jsxs } from "preact/jsx-runtime";
11
11
  import { useState } from "preact/hooks";
12
- import { u as useI18nContext, D as useForm, H as Typography, J as Field, R as RadioGroupCard, B as Button, U as Svg, L as LegalEntityType } from "./core-BWGTBj-n.js";
12
+ import { u as useI18nContext, D as useForm, H as Typography, J as Field, R as RadioGroupCard, B as Button, U as Svg, L as LegalEntityType } from "./core-B_WrZP-J.js";
13
13
  const setupAccountMethods = ["singpass", "manual"];
14
14
  const setupAccountMethodFields = ["setupAccountMethod"];
15
15
  const getSingpassSelectionDisabled = (legalEntityType) => {
@@ -8,7 +8,7 @@
8
8
  }
9
9
  ;
10
10
  import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
11
- import { aj as useApiContext, an as useQuery, ao as httpGet, H as Typography, u as useI18nContext, ap as useFormContext, a6 as Alert, J as Field, aq as RadioGroup, ar as getFormProps, h as Icon, as as isEmpty, U as Svg, at as sofStyles, B as Button, au as TaskStatusIndicator, av as normalizedTaskStatusStore, aw as Card, ax as StructuredList, ay as IconButton, az as isEmpty$1, ab as useQueryClient, n as useAnalyticsContext, p as useLegalEntity, Z as useUpdateLegalEntity, ah as useMultiForm, aA as getRequiredForms, aB as addValidityToForms, aC as useFormComposer, g as createLogger, q as Loader, aD as FormContextProvider, aE as FormWrapper } from "./core-BWGTBj-n.js";
11
+ import { aj as useApiContext, an as useQuery, ao as httpGet, H as Typography, u as useI18nContext, ap as useFormContext, a6 as Alert, J as Field, aq as RadioGroup, ar as getFormProps, h as Icon, as as isEmpty, U as Svg, at as sofStyles, B as Button, au as TaskStatusIndicator, av as normalizedTaskStatusStore, aw as Card, ax as StructuredList, ay as IconButton, az as isEmpty$1, ab as useQueryClient, n as useAnalyticsContext, p as useLegalEntity, Z as useUpdateLegalEntity, ah as useMultiForm, aA as getRequiredForms, aB as addValidityToForms, aC as useFormComposer, g as createLogger, q as Loader, aD as FormContextProvider, aE as FormWrapper } from "./core-B_WrZP-J.js";
12
12
  import { useState, useRef, useEffect, useMemo, useCallback } from "preact/hooks";
13
13
  import { signal } from "@preact/signals";
14
14
  const getTaxClassification = async (legalEntityId, url) => {
@@ -7,7 +7,7 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { C as Core } from "./core-BWGTBj-n.js";
10
+ import { C as Core } from "./core-B_WrZP-J.js";
11
11
  if (CSS.supports("container", "foo / inline-size") === false) {
12
12
  import("container-query-polyfill");
13
13
  }
@@ -7,7 +7,7 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { C as Core } from "./core-BWGTBj-n.js";
10
+ import { C as Core } from "./core-B_WrZP-J.js";
11
11
  const environmentMap = Object.freeze({
12
12
  live: "https://live.adyen.com",
13
13
  test: "https://test.adyen.com"
@@ -19,7 +19,7 @@ var _focused, _cleanup, _setup, _a, _online, _cleanup2, _setup2, _b, _gcTimeout,
19
19
  {
20
20
  try {
21
21
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
22
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "471651a9-40d5-40f8-9b20-0fc72ce3b124", e._sentryDebugIdIdentifier = "sentry-dbid-471651a9-40d5-40f8-9b20-0fc72ce3b124");
22
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "b45bdf55-8382-45e0-8ebe-0ea1d957a0a2", e._sentryDebugIdIdentifier = "sentry-dbid-b45bdf55-8382-45e0-8ebe-0ea1d957a0a2");
23
23
  } catch (e) {
24
24
  }
25
25
  }
@@ -38642,10 +38642,10 @@ async function submit({
38642
38642
  if (taskType === TaskTypes.TRUST_MEMBER_COMPANY && !(nestedLegalEntity == null ? void 0 : nestedLegalEntity.id) || taskType === TaskTypes.UNINCORPORATED_PARTNERSHIP_MEMBER_COMPANY && !(nestedLegalEntity == null ? void 0 : nestedLegalEntity.id) || taskType === TaskTypes.SOLE_PROPRIETOR_COMPANY && !(associatedLegalArrangement == null ? void 0 : associatedLegalArrangement.id)) {
38643
38643
  return await createLegalEntity2(legalEntity);
38644
38644
  } else {
38645
- return handleUpdateLegalEntity({
38646
- ...drop("type").from(legalEntity),
38647
- id: (entityToUpdate == null ? void 0 : entityToUpdate.id) ?? legalEntityResponse.id
38648
- });
38645
+ return handleUpdateLegalEntity(
38646
+ drop("type").from(legalEntity),
38647
+ (entityToUpdate == null ? void 0 : entityToUpdate.id) ?? legalEntityResponse.id
38648
+ );
38649
38649
  }
38650
38650
  };
38651
38651
  const associateLegalEntityWithParent = async ({
@@ -38668,10 +38668,7 @@ async function submit({
38668
38668
  ...existingEntityAssociations.filter((ea) => ea.legalEntityId !== legalEntity.id) || []
38669
38669
  ]
38670
38670
  };
38671
- await handleUpdateLegalEntity({
38672
- ...updatedAssociations,
38673
- id: associatedLegalArrangement2.id
38674
- });
38671
+ await handleUpdateLegalEntity(updatedAssociations, associatedLegalArrangement2.id);
38675
38672
  }
38676
38673
  return;
38677
38674
  } else {
@@ -38683,7 +38680,7 @@ async function submit({
38683
38680
  }
38684
38681
  ]
38685
38682
  };
38686
- await handleUpdateLegalEntity({ ...updatedAssociations, id: legalEntityResponse.id });
38683
+ await handleUpdateLegalEntity(updatedAssociations, legalEntityResponse.id);
38687
38684
  }
38688
38685
  };
38689
38686
  const savedLegalEntityData = legalEntityResponse ? mapLegalEntityToBusinessDetailsSchema(legalEntityResponse) : null;
@@ -38785,7 +38782,8 @@ function BusinessDetailsDropin({
38785
38782
  taskType,
38786
38783
  onChange,
38787
38784
  onSubmit: onExternalSubmit,
38788
- handleHomeClick
38785
+ handleHomeClick,
38786
+ handleUpdateLegalEntity
38789
38787
  }) {
38790
38788
  var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2, _i2, _j2;
38791
38789
  const formRef = useRef(null);
@@ -38994,7 +38992,6 @@ function BusinessDetailsDropin({
38994
38992
  [initialData, currentState.data]
38995
38993
  );
38996
38994
  const { mutateAsync: createLegalEntity2 } = useCreateLegalEntity();
38997
- const { mutateAsync: updateLegalEntity2 } = useUpdateLegalEntity();
38998
38995
  const submitTask = useCallback(() => {
38999
38996
  setAccountHolder(accountHolder);
39000
38997
  return submit({
@@ -39013,7 +39010,7 @@ function BusinessDetailsDropin({
39013
39010
  showToast,
39014
39011
  setLoadingStatus,
39015
39012
  setProblems: setCurrentProblems,
39016
- handleUpdateLegalEntity: updateLegalEntity2,
39013
+ handleUpdateLegalEntity,
39017
39014
  createLegalEntity: createLegalEntity2,
39018
39015
  onExternalSubmit,
39019
39016
  isExperimentEnabled,
@@ -39034,7 +39031,7 @@ function BusinessDetailsDropin({
39034
39031
  documentUtils,
39035
39032
  i18n,
39036
39033
  showToast,
39037
- updateLegalEntity2,
39034
+ handleUpdateLegalEntity,
39038
39035
  createLegalEntity2,
39039
39036
  onExternalSubmit,
39040
39037
  isExperimentEnabled,
@@ -50550,24 +50547,24 @@ const hasProgressedBeyondEntitySelection = (legalEntity) => {
50550
50547
  return hasOwnEntityAssocation || !!hasOrganizationType;
50551
50548
  };
50552
50549
  const Introduction = lazy$1(
50553
- async () => (await import("./Introduction-C9e9nPsU.js")).Introduction
50550
+ async () => (await import("./Introduction-S84AjEkr.js")).Introduction
50554
50551
  );
50555
50552
  const BusinessTypeSelection = lazy$1(
50556
- async () => (await import("./BusinessTypeSelection-CmgDrnn_.js")).BusinessTypeSelection
50553
+ async () => (await import("./BusinessTypeSelection-D7ZvvIMS.js")).BusinessTypeSelection
50557
50554
  );
50558
50555
  const SingpassSelection = lazy$1(
50559
- async () => (await import("./SingpassSelection-D-eeDYTK.js")).SingpassSelection
50556
+ async () => (await import("./SingpassSelection-CGe7MVVA.js")).SingpassSelection
50560
50557
  );
50561
50558
  const AccountSetupRejected = lazy$1(
50562
- async () => (await import("./AccountSetupRejected-B9suPrnb.js")).AccountSetupRejected
50559
+ async () => (await import("./AccountSetupRejected-ChiJY18-.js")).AccountSetupRejected
50563
50560
  );
50564
50561
  const DecisionMakers = lazy$1(
50565
- async () => (await import("./DecisionMakers-BYdR4dJE.js")).DecisionMakers
50562
+ async () => (await import("./DecisionMakers-ChL8AjTJ.js")).DecisionMakers
50566
50563
  );
50567
50564
  const CustomerSupport = lazy$1(
50568
- async () => (await import("./CustomerSupport-BErKvR_1.js")).CustomerSupport
50565
+ async () => (await import("./CustomerSupport-CJNWyhvH.js")).CustomerSupport
50569
50566
  );
50570
- const Review = lazy$1(async () => (await import("./Review-DCfr7FXV.js")).Review);
50567
+ const Review = lazy$1(async () => (await import("./Review-B416UIqb.js")).Review);
50571
50568
  const SignPCIComponent$2 = lazy$1(
50572
50569
  async () => (await Promise.resolve().then(() => SignPCIComponent$1)).SignPCIComponent
50573
50570
  );
@@ -50575,7 +50572,7 @@ const AcceptTermsOfService = lazy$1(
50575
50572
  async () => (await Promise.resolve().then(() => AcceptTermsOfServiceComponent$1)).AcceptTermsOfServiceComponent
50576
50573
  );
50577
50574
  const TaxReportingDropin = lazy$1(
50578
- async () => (await import("./TaxReportingDropin-CstiU-PL.js")).TaxReportingDropin
50575
+ async () => (await import("./TaxReportingDropin-CUnugFcz.js")).TaxReportingDropin
50579
50576
  );
50580
50577
  const PAGES_WITH_POLLING = [TaskTypes.DECISION_MAKER_OVERVIEW, TaskTypes.TASKS_OVERVIEW];
50581
50578
  const logger$3 = createLogger();
@@ -50969,6 +50966,7 @@ function DropinComposer({
50969
50966
  setTargetLegalEntityType(void 0);
50970
50967
  },
50971
50968
  handleHomeClick: () => navigateTo(TaskTypes.TASKS_OVERVIEW),
50969
+ handleUpdateLegalEntity: args.handleUpdateLegalEntity,
50972
50970
  isTargetLegalEntityType: targetLegalEntityType === LegalEntityType.INDIVIDUAL,
50973
50971
  trustedFields: singpassTrustedFields,
50974
50972
  trustedFieldsProvider: isEligibleForSingpass ? TrustedFieldsProvider.SINGPASS : void 0
@@ -50997,6 +50995,7 @@ function DropinComposer({
50997
50995
  onChange: handleOnChange,
50998
50996
  onSubmit: handleOnSubmit,
50999
50997
  handleHomeClick: navigateBack,
50998
+ handleUpdateLegalEntity: args.handleUpdateLegalEntity,
51000
50999
  trustedFields: singpassTrustedFields,
51001
51000
  trustedFieldsProvider: isEligibleForSingpass ? TrustedFieldsProvider.SINGPASS : void 0,
51002
51001
  trustedRoles: ((_c2 = trustedEntityAssociations.find((ea) => ea.reference === (currentDecisionMaker == null ? void 0 : currentDecisionMaker.id))) == null ? void 0 : _c2.types) || []
@@ -51089,6 +51088,7 @@ function DropinComposer({
51089
51088
  setTargetLegalEntityType(void 0);
51090
51089
  },
51091
51090
  handleHomeClick: navigateBack,
51091
+ handleUpdateLegalEntity: args.handleUpdateLegalEntity,
51092
51092
  isTargetLegalEntityType: targetLegalEntityType === LegalEntityType.ORGANIZATION
51093
51093
  }
51094
51094
  );
@@ -51129,6 +51129,7 @@ function DropinComposer({
51129
51129
  onChange: handleOnChange,
51130
51130
  onSubmit: (data) => handleOnSubmit(data, 2),
51131
51131
  handleHomeClick: navigateBack,
51132
+ handleUpdateLegalEntity: args.handleUpdateLegalEntity,
51132
51133
  isTargetLegalEntityType: targetLegalEntityType === LegalEntityType.ORGANIZATION
51133
51134
  }
51134
51135
  );
@@ -51272,6 +51273,7 @@ function DropinComposer({
51272
51273
  onChange: handleOnChange,
51273
51274
  onSubmit: (data) => handleOnSubmit(data, 1),
51274
51275
  handleHomeClick: navigateBack,
51276
+ handleUpdateLegalEntity: args.handleUpdateLegalEntity,
51275
51277
  isTargetLegalEntityType: targetLegalEntityType === LegalEntityType.ORGANIZATION
51276
51278
  }
51277
51279
  );
@@ -54708,7 +54710,7 @@ var TanstackQueryDevtools = (_l = class {
54708
54710
  if (__privateGet(this, _Component)) {
54709
54711
  Devtools = __privateGet(this, _Component);
54710
54712
  } else {
54711
- Devtools = lazy(() => import("./I3HPI4QX-CHpmX5kE.js"));
54713
+ Devtools = lazy(() => import("./I3HPI4QX-Cu2MHefw.js"));
54712
54714
  __privateSet(this, _Component, Devtools);
54713
54715
  }
54714
54716
  setupStyleSheet(__privateGet(this, _styleNonce), __privateGet(this, _shadowDOMTarget));
@@ -54830,7 +54832,7 @@ var TanstackQueryDevtoolsPanel = (_m = class {
54830
54832
  if (__privateGet(this, _Component2)) {
54831
54833
  Devtools = __privateGet(this, _Component2);
54832
54834
  } else {
54833
- Devtools = lazy(() => import("./CXEL7IU7-Bl38-ki-.js"));
54835
+ Devtools = lazy(() => import("./CXEL7IU7-Bk2n0dNy.js"));
54834
54836
  __privateSet(this, _Component2, Devtools);
54835
54837
  }
54836
54838
  setupStyleSheet(__privateGet(this, _styleNonce2), __privateGet(this, _shadowDOMTarget2));
@@ -55049,7 +55051,7 @@ const convertToEmbeddedEvent = (eventQueueItem, sessionData) => {
55049
55051
  };
55050
55052
  };
55051
55053
  const useAnalytics = ({ userEvents: userEvents2, sessionId, sessionData }) => {
55052
- const sdkVersion = "3.67.2";
55054
+ const sdkVersion = "3.67.3";
55053
55055
  const rootLegalEntity = useGlobalStore((store) => store.rootLegalEntity);
55054
55056
  const countryCode = useGlobalStore((store) => store.rootLegalEntityCountry);
55055
55057
  const capabilities = Object.keys(rootLegalEntity.capabilities ?? {});
@@ -55124,7 +55126,7 @@ const AnalyticsProvider = ({
55124
55126
  const { onboardingVersion } = useVersion();
55125
55127
  const userEvents2 = useMemo(() => createUserEvents(), []);
55126
55128
  const sessionData = {
55127
- sdkVersion: "3.67.2",
55129
+ sdkVersion: "3.67.3",
55128
55130
  componentName,
55129
55131
  userAgent: navigator.userAgent,
55130
55132
  legalEntityId,
@@ -55213,7 +55215,7 @@ const ConfigurationApiProvider = ({ children: children2 }) => {
55213
55215
  [baseUrl, rootLegalEntityId]
55214
55216
  );
55215
55217
  return /* @__PURE__ */ jsxs(ConfigurationApiContext.Provider, { value: contextValue, children: [
55216
- /* @__PURE__ */ jsx$1("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.67.2" }),
55218
+ /* @__PURE__ */ jsx$1("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.67.3" }),
55217
55219
  children2
55218
55220
  ] });
55219
55221
  };
@@ -55693,7 +55695,7 @@ function StateProvider({
55693
55695
  );
55694
55696
  return /* @__PURE__ */ jsx$1(StateContext.Provider, { value: contextValue, children: children2 });
55695
55697
  }
55696
- const DebugModal = lazy$1(async () => (await import("./DebugModal-DnMcr979.js").then((n) => n.D)).DebugModal);
55698
+ const DebugModal = lazy$1(async () => (await import("./DebugModal-Bv0myReE.js").then((n) => n.D)).DebugModal);
55697
55699
  const DebugListener = () => {
55698
55700
  const [debugUiOpen, setDebugUiOpen] = useState(false);
55699
55701
  const { isSettingEnabled } = useSettingsContext();
@@ -7,7 +7,7 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { c as cssProps } from "./DebugModal-DnMcr979.js";
10
+ import { c as cssProps } from "./DebugModal-Bv0myReE.js";
11
11
  const definitions = {
12
12
  any: { regex: /.*/g, css: cssProps.text },
13
13
  property: { regex: /(^|[\r\n])[^:]*:/g, css: cssProps.key },
@@ -7,7 +7,7 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { c as cssProps } from "./DebugModal-DnMcr979.js";
10
+ import { c as cssProps } from "./DebugModal-Bv0myReE.js";
11
11
  const definitions = {
12
12
  any: { regex: /.*/g, css: cssProps.text },
13
13
  number: { regex: /-?\d+(\.\d+)?([eE][+-]?\d+)?/g, css: cssProps.number },
@@ -7,7 +7,7 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { c as cssProps } from "./DebugModal-DnMcr979.js";
10
+ import { c as cssProps } from "./DebugModal-Bv0myReE.js";
11
11
  const definitions = {
12
12
  any: { regex: /.*/g, css: cssProps.text }
13
13
  };
@@ -2,4 +2,4 @@ import { type BusinessDetailsDropinProps } from './types';
2
2
  export declare function BusinessDetailsDropin({ country, problems, legalEntityResponse, associatedLegalArrangement, // initially undefined when creating entity
3
3
  nestedLegalEntity, // initially undefined when creating entity
4
4
  nestedLegalEntityDetails, // has entity roles for association logic
5
- capabilities, taskName, hideSidebar, taskType, onChange, onSubmit: onExternalSubmit, handleHomeClick, }: BusinessDetailsDropinProps): import("preact/jsx-runtime").JSX.Element;
5
+ capabilities, taskName, hideSidebar, taskType, onChange, onSubmit: onExternalSubmit, handleHomeClick, handleUpdateLegalEntity, }: BusinessDetailsDropinProps): import("preact/jsx-runtime").JSX.Element;
@@ -1,6 +1,5 @@
1
1
  import type { Dispatch, StateUpdater } from 'preact/hooks';
2
2
  import type { CreateLegalEntity } from '../../../../api/createLegalEntity/useCreateLegalEntity';
3
- import type { UpdateLegalEntity } from '../../../../api/legalEntity/useUpdateLegalEntity';
4
3
  import type { LoadingStatus } from '../../../ui/atoms/LoaderWrapper/constants';
5
4
  import type { ExperimentName } from '../../../../context/ExperimentContext/types';
6
5
  import type { ExistingLegalEntity } from '../../../../core/models/api/legal-entity';
@@ -12,12 +11,13 @@ import type { Language } from '../../../../language/Language';
12
11
  import type { ToastOptions } from '../../../ui/molecules/Toast/Toast.types';
13
12
  import type { TaskTypes } from '../../../../stores/globalStore/taskTypes';
14
13
  import type { DocumentApiUtils } from '../../../../utils/api/documentUtils';
15
- import type { DropinProps } from '../../../EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types';
14
+ import type { DropinAPIHandlers, DropinProps } from '../../../EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types';
16
15
  import type { TrustMember } from '../../../Trust/tasks/TrustMembers/types';
17
16
  import type { UnincorporatedPartnershipMember } from '../../../UnincorporatedPartnership/tasks/UnincorporatedPartnershipMembers/types';
18
17
  import type { BusinessDetailsProps, BusinessDetailsSchema } from '../../forms/BusinessDetails/types';
18
+ type BusinessDetailsDropinApihandler = Required<Pick<DropinAPIHandlers, 'handleUpdateLegalEntity'>>;
19
19
  type BusinessDetailsDropin = Omit<BusinessDetailsProps, 'isTopLevelEntity' | 'handleNextClick' | 'showCompanyStructure' | 'showBusinessSelection' | 'searching' | 'fetching' | 'verifying' | 'resettingTrustedData' | 'searchResults' | 'invalidTin' | 'resetTinVerification' | 'verifiedBusiness' | 'fetchBusinessData' | 'proceedToManualDataEntry' | 'setShowBusinessSelection' | 'setShowCompanyStructure'>;
20
- export interface BusinessDetailsDropinProps extends Omit<BusinessDetailsDropin, 'verifyTin'>, DropinProps {
20
+ export interface BusinessDetailsDropinProps extends Omit<BusinessDetailsDropin, 'verifyTin'>, BusinessDetailsDropinApihandler, DropinProps {
21
21
  legalEntityResponse: ExistingLegalEntity;
22
22
  associatedLegalArrangement?: ExistingLegalEntity;
23
23
  nestedLegalEntity?: ExistingLegalEntity;
@@ -48,7 +48,7 @@ export interface SubmitProps {
48
48
  showToast: (options: ToastOptions) => void;
49
49
  setLoadingStatus: Dispatch<StateUpdater<LoadingStatus>>;
50
50
  setProblems: Dispatch<StateUpdater<EntityProblems | undefined>>;
51
- handleUpdateLegalEntity: UpdateLegalEntity;
51
+ handleUpdateLegalEntity: Required<DropinAPIHandlers>['handleUpdateLegalEntity'];
52
52
  createLegalEntity: CreateLegalEntity;
53
53
  onExternalSubmit: ((data: BusinessDetailsSchema) => void) | undefined;
54
54
  isExperimentEnabled: (key: ExperimentName) => boolean;
@@ -7,7 +7,7 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { c as cssProps } from "./DebugModal-DnMcr979.js";
10
+ import { c as cssProps } from "./DebugModal-Bv0myReE.js";
11
11
  const definitions = {
12
12
  any: { regex: /.*/g, css: cssProps.text },
13
13
  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.67.2",
3
+ "version": "3.67.3",
4
4
  "keywords": [
5
5
  "adyen",
6
6
  "adyen-kyc",