@adyen/kyc-components 3.65.4 → 3.65.5

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-BLyveOmE.js → AccountSetupRejected-B72M94Is.js} +1 -1
  2. package/dist/{CXEL7IU7-D82dF_9C.js → CXEL7IU7-BtQX4aZI.js} +2 -2
  3. package/dist/{CustomerSupport-BFTrAGgZ.js → CustomerSupport-BGQOr4Db.js} +1 -1
  4. package/dist/{DebugModal-Bes2RJC0.js → DebugModal-BfzvF9Kp.js} +7 -7
  5. package/dist/{DecisionMakers--Yp2W0Uy.js → DecisionMakers-CYdeSdkf.js} +1 -1
  6. package/dist/{HASRA6WW-DDR8IGl3.js → HASRA6WW-CFLZ1flZ.js} +1 -1
  7. package/dist/{I3HPI4QX-CtozGfvf.js → I3HPI4QX-D_KIe1Ju.js} +2 -2
  8. package/dist/{Introduction-6qYMckA8.js → Introduction-Rya0Sy7H.js} +1 -1
  9. package/dist/{Review-Dxl0fPyZ.js → Review-Dk6mZ16K.js} +1 -1
  10. package/dist/{SingpassSelection-BLWlHlFW.js → SingpassSelection-ib5_mHMn.js} +1 -1
  11. package/dist/{TaxReportingDropin-B9NbTNkH.js → TaxReportingDropin-CmSpuUCg.js} +1 -1
  12. package/dist/adyen-kyc-components.js +1 -1
  13. package/dist/adyenConfig.js +1 -1
  14. package/dist/{core-stY6NZuP.js → core-w9cPGxZk.js} +48 -30
  15. package/dist/{css-Du0PqsDj.js → css-BF6zK3tk.js} +1 -1
  16. package/dist/{json-RLB6f6xS.js → json-D-3xxWqv.js} +1 -1
  17. package/dist/{plaintext-szstCTD3.js → plaintext-BIYPTL53.js} +1 -1
  18. package/dist/types/components/Business/forms/BusinessDetails/forms.d.ts +1 -7
  19. package/dist/types/components/Shared/forms/FinancialInformation/FinancialInformation.d.ts +1 -0
  20. package/dist/types/components/Shared/forms/FinancialInformation/formatFinancialInformationSummary.d.ts +2 -1
  21. package/dist/{yaml-Czet-Fk_.js → yaml-Bq5YTp6u.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, A as AlertIcon, w as FormHeader, D as DropinLayout } from "./core-stY6NZuP.js";
11
+ import { u as useI18nContext, A as AlertIcon, w as FormHeader, D as DropinLayout } from "./core-w9cPGxZk.js";
12
12
  function AccountSetupRejected() {
13
13
  const { i18n } = useI18nContext();
14
14
  const content = /* @__PURE__ */ jsxs("div", { children: [
@@ -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-DDR8IGl3.js";
11
- import { as as getPreferredColorScheme, at as createMemo, au as createComponent } from "./core-stY6NZuP.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-CFLZ1flZ.js";
11
+ import { as as getPreferredColorScheme, at as createMemo, au as createComponent } from "./core-w9cPGxZk.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 { x as useLegalEntity, y as Loader, u as useI18nContext, n as useAnalyticsContext, G as useToastContext, $ as useConfigurationApi, J as useUpdateLegalEntity, H as useQueryClient, a0 as resolveFieldMetadata, a1 as contactDetailsValidationRules, a2 as defaultFieldMetadata, a3 as fieldConfig, a4 as getAsyncPhoneValidationRules, a5 as useMultiForm, w as FormHeader, a6 as ContactDetails, _ as ActionBar, g as createLogger } from "./core-stY6NZuP.js";
11
+ import { x as useLegalEntity, y as Loader, u as useI18nContext, n as useAnalyticsContext, G as useToastContext, $ as useConfigurationApi, J as useUpdateLegalEntity, H as useQueryClient, a0 as resolveFieldMetadata, a1 as contactDetailsValidationRules, a2 as defaultFieldMetadata, a3 as fieldConfig, a4 as getAsyncPhoneValidationRules, a5 as useMultiForm, w as FormHeader, a6 as ContactDetails, _ as ActionBar, g as createLogger } from "./core-w9cPGxZk.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] = "57e24feb-3281-41b5-94a2-f391b83bf577", e._sentryDebugIdIdentifier = "sentry-dbid-57e24feb-3281-41b5-94a2-f391b83bf577");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "e5510762-12df-4c51-8958-b1b8c0829bec", e._sentryDebugIdIdentifier = "sentry-dbid-e5510762-12df-4c51-8958-b1b8c0829bec");
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, E as ExperimentNames } from "./core-stY6NZuP.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, E as ExperimentNames } from "./core-w9cPGxZk.js";
13
13
  const tabs = "adyen-kyc-tabs";
14
14
  const styles$1 = {
15
15
  tabs
@@ -144,10 +144,10 @@ const transformModule = (highlights, codeNode, scope) => {
144
144
  };
145
145
  const supportedModules = ["plaintext", "json", "yaml", "css"];
146
146
  const moduleMap = {
147
- plaintext: () => import("./plaintext-szstCTD3.js"),
148
- json: () => import("./json-RLB6f6xS.js"),
149
- yaml: () => import("./yaml-Czet-Fk_.js"),
150
- css: () => import("./css-Du0PqsDj.js")
147
+ plaintext: () => import("./plaintext-BIYPTL53.js"),
148
+ json: () => import("./json-D-3xxWqv.js"),
149
+ yaml: () => import("./yaml-Bq5YTp6u.js"),
150
+ css: () => import("./css-BF6zK3tk.js")
151
151
  };
152
152
  const getModule = async (name) => {
153
153
  if (!supportedModules.includes(name)) {
@@ -438,7 +438,7 @@ const DebugModal = ({ onExit }) => {
438
438
  const [tab, setTab] = useState("metadata");
439
439
  const rootLegalEntity = useGlobalStore((store) => store.rootLegalEntity);
440
440
  const metadata = {
441
- sdkVersion: "3.65.4",
441
+ sdkVersion: "3.65.5",
442
442
  locale: i18n.locale,
443
443
  rootLegalEntityId: rootLegalEntity.id
444
444
  };
@@ -8,7 +8,7 @@
8
8
  }
9
9
  ;
10
10
  import { jsx, jsxs } from "preact/jsx-runtime";
11
- import { x as useLegalEntity, y as Loader, z as useGetTaskStatus, u as useI18nContext, n as useAnalyticsContext, G as useToastContext, H as useQueryClient, J as useUpdateLegalEntity, K as getOwnDecisionMakers, N as getAvailableDecisionMakerRoleTypes, O as useDataMissingRemediations, i as TaskTypes, P as getAllowedDecisionMakerRoles, D as DropinLayout, w as FormHeader, Q as EntityGuidanceStatus, U as iconStatus, V as ContextGuidance, W as DecisionMakerType, X as Alert, Y as CardGroup, Z as EntityAssociation, B as Button, _ as ActionBar } from "./core-stY6NZuP.js";
11
+ import { x as useLegalEntity, y as Loader, z as useGetTaskStatus, u as useI18nContext, n as useAnalyticsContext, G as useToastContext, H as useQueryClient, J as useUpdateLegalEntity, K as getOwnDecisionMakers, N as getAvailableDecisionMakerRoleTypes, O as useDataMissingRemediations, i as TaskTypes, P as getAllowedDecisionMakerRoles, D as DropinLayout, w as FormHeader, Q as EntityGuidanceStatus, U as iconStatus, V as ContextGuidance, W as DecisionMakerType, X as Alert, Y as CardGroup, Z as EntityAssociation, B as Button, _ as ActionBar } from "./core-w9cPGxZk.js";
12
12
  import { useState, useEffect } from "preact/hooks";
13
13
  const DecisionMakers = (props) => {
14
14
  const { data, isLoading } = useLegalEntity();
@@ -10,7 +10,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
10
10
  }
11
11
  }
12
12
  ;
13
- import { av as createContext, aw as createSignal, ax as onMount, ay as createEffect, at as createMemo, au as createComponent, az as Portal, aA as Show, aB as template, aC as insert, aD as createRenderEffect, aE as className, aF as clearDelegatedEvents, aG as delegateEvents, aH as useContext, aI as onCleanup, aJ as sortFns, aK as mutationSortFns, aL as on, aM as setAttribute, aN as getSidedProp, aO as use, aP as createUniqueId, aQ as batch, aR as getQueryStatusLabel, aS as getMutationStatusColor, aT as getQueryStatusColor, aU as getQueryStatusColorByLabel, aV as displayValue, aW as For, aX as convertRemToPixels, aY as untrack, aZ as $TRACK, a_ as useTransition, a$ as spread, b0 as mergeProps, b1 as createRoot, b2 as serialize, b3 as Index, b4 as updateNestedDataByPath, b5 as addEventListener, b6 as stringify, b7 as Match, b8 as Switch, b9 as deleteNestedDataByPath, ba as splitProps, bb as Dynamic, bc as createComputed } from "./core-stY6NZuP.js";
13
+ import { av as createContext, aw as createSignal, ax as onMount, ay as createEffect, at as createMemo, au as createComponent, az as Portal, aA as Show, aB as template, aC as insert, aD as createRenderEffect, aE as className, aF as clearDelegatedEvents, aG as delegateEvents, aH as useContext, aI as onCleanup, aJ as sortFns, aK as mutationSortFns, aL as on, aM as setAttribute, aN as getSidedProp, aO as use, aP as createUniqueId, aQ as batch, aR as getQueryStatusLabel, aS as getMutationStatusColor, aT as getQueryStatusColor, aU as getQueryStatusColorByLabel, aV as displayValue, aW as For, aX as convertRemToPixels, aY as untrack, aZ as $TRACK, a_ as useTransition, a$ as spread, b0 as mergeProps, b1 as createRoot, b2 as serialize, b3 as Index, b4 as updateNestedDataByPath, b5 as addEventListener, b6 as stringify, b7 as Match, b8 as Switch, b9 as deleteNestedDataByPath, ba as splitProps, bb as Dynamic, bc as createComputed } from "./core-w9cPGxZk.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-DDR8IGl3.js";
11
- import { as as getPreferredColorScheme, at as createMemo, au as createComponent } from "./core-stY6NZuP.js";
10
+ import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, D as Devtools, Q as QueryDevtoolsContext } from "./HASRA6WW-CFLZ1flZ.js";
11
+ import { as as getPreferredColorScheme, at as createMemo, au as createComponent } from "./core-w9cPGxZk.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-stY6NZuP.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-w9cPGxZk.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 { a7 as useApiContext, a8 as useMutation, a9 as httpPost, u as useI18nContext, G as useToastContext, aa as LoaderWrapper, w as FormHeader, ab as Checkbox, _ as ActionBar, D as DropinLayout } from "./core-stY6NZuP.js";
12
+ import { a7 as useApiContext, a8 as useMutation, a9 as httpPost, u as useI18nContext, G as useToastContext, aa as LoaderWrapper, w as FormHeader, ab as Checkbox, _ as ActionBar, D as DropinLayout } from "./core-w9cPGxZk.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, p as useForm, q as Typography, F as Field, R as RadioGroupCard, B as Button, r as Svg, L as LegalEntityType } from "./core-stY6NZuP.js";
12
+ import { u as useI18nContext, p as useForm, q as Typography, F as Field, R as RadioGroupCard, B as Button, r as Svg, L as LegalEntityType } from "./core-w9cPGxZk.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 { a7 as useApiContext, ac as useQuery, ad as httpGet, q as Typography, u as useI18nContext, ae as useFormContext, F as Field, af as RadioGroup, ag as getFormProps, h as Icon, ah as isEmpty, r as Svg, ai as sofStyles, B as Button, aj as Card, ak as StructuredList, al as IconButton, H as useQueryClient, n as useAnalyticsContext, x as useLegalEntity, J as useUpdateLegalEntity, a5 as useMultiForm, am as isEmpty$1, an as getRequiredForms, ao as addValidityToForms, g as createLogger, ap as useFormComposer, y as Loader, aq as FormContextProvider, ar as FormWrapper } from "./core-stY6NZuP.js";
11
+ import { a7 as useApiContext, ac as useQuery, ad as httpGet, q as Typography, u as useI18nContext, ae as useFormContext, F as Field, af as RadioGroup, ag as getFormProps, h as Icon, ah as isEmpty, r as Svg, ai as sofStyles, B as Button, aj as Card, ak as StructuredList, al as IconButton, H as useQueryClient, n as useAnalyticsContext, x as useLegalEntity, J as useUpdateLegalEntity, a5 as useMultiForm, am as isEmpty$1, an as getRequiredForms, ao as addValidityToForms, g as createLogger, ap as useFormComposer, y as Loader, aq as FormContextProvider, ar as FormWrapper } from "./core-w9cPGxZk.js";
12
12
  import { useState, useRef, useEffect, useMemo, useCallback } from "preact/hooks";
13
13
  import { signal } from "@preact/signals";
14
14
  import cx from "classnames";
@@ -7,7 +7,7 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { C as Core } from "./core-stY6NZuP.js";
10
+ import { C as Core } from "./core-w9cPGxZk.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-stY6NZuP.js";
10
+ import { C as Core } from "./core-w9cPGxZk.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] = "3bc197a7-b27b-4044-a0de-7d38bbf8a830", e._sentryDebugIdIdentifier = "sentry-dbid-3bc197a7-b27b-4044-a0de-7d38bbf8a830");
22
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "62549116-dfa7-49c0-8ee0-3acf6666ddc5", e._sentryDebugIdIdentifier = "sentry-dbid-62549116-dfa7-49c0-8ee0-3acf6666ddc5");
23
23
  } catch (e) {
24
24
  }
25
25
  }
@@ -18746,12 +18746,12 @@ function Currency({
18746
18746
  Select,
18747
18747
  {
18748
18748
  ...childProps,
18749
- onChange: handleChangeFor("currency", "input"),
18749
+ onChange: handleChangeFor("currency", "blur"),
18750
18750
  name: "currency",
18751
18751
  placeholder: i18n.get("currencyPlaceholder"),
18752
18752
  selected: data.currency,
18753
18753
  items: countryCurrenciesItems,
18754
- readonly: countryCurrenciesItems.length === 1 || readonly && !!data.currency
18754
+ readonly: readonly && !!data.currency
18755
18755
  }
18756
18756
  )
18757
18757
  }
@@ -18989,6 +18989,11 @@ const financialInfoValidationWithEmployeesRules = {
18989
18989
  }
18990
18990
  ]
18991
18991
  };
18992
+ const financialInformationFieldsForEu = [
18993
+ ...FINANCIAL_REPORTING_DATE_FIELD,
18994
+ ...CURRENCY_FIELD,
18995
+ "reportedValueOption"
18996
+ ];
18992
18997
  const financialInformationFields = [
18993
18998
  ...NUMBER_OF_EMPLOYEES_FIELD,
18994
18999
  ...FINANCIAL_REPORTING_DATE_FIELD,
@@ -19031,7 +19036,7 @@ function FinancialInformation(props) {
19031
19036
  const formUtils = createFormUtils(props, i18n);
19032
19037
  return /* @__PURE__ */ jsxs("div", { className: "adyen-kyc-company-financial-information", children: [
19033
19038
  /* @__PURE__ */ jsx$1(FormHeader, { heading }),
19034
- /* @__PURE__ */ jsx$1(
19039
+ country === CountryCodes.UnitedKingdom && /* @__PURE__ */ jsx$1(
19035
19040
  NumberOfEmployees,
19036
19041
  {
19037
19042
  data: formUtils.getFieldData(data, NUMBER_OF_EMPLOYEES_FIELD),
@@ -25864,6 +25869,9 @@ const getBasicInformationFields = (country) => {
25864
25869
  }
25865
25870
  return fields;
25866
25871
  };
25872
+ const getFinancialInformationFields = (country) => {
25873
+ return country === CountryCodes.UnitedKingdom ? financialInformationFields : financialInformationFieldsForEu;
25874
+ };
25867
25875
  const staticBusinessDetailsForms = {
25868
25876
  companyStructure: {
25869
25877
  formId: "companyStructure",
@@ -25893,13 +25901,6 @@ const staticBusinessDetailsForms = {
25893
25901
  formDescription: "weNeedAnOfficialDocument",
25894
25902
  fields: ["proofOfDirector"]
25895
25903
  },
25896
- companyFinancialInformation: {
25897
- formId: "companyFinancialInformation",
25898
- formName: "financialInformation",
25899
- formHeading: "companyFinancialInformationFormHeading",
25900
- formDescription: "companyFinancialInformationFormDescription",
25901
- fields: financialInformationFields
25902
- },
25903
25904
  companyConstitutionalDocument: {
25904
25905
  formId: "companyConstitutionalDocument",
25905
25906
  formName: "constitutionalDocument",
@@ -25928,7 +25929,13 @@ const getForms = (country) => ({
25928
25929
  companyRegistrationDocument: staticBusinessDetailsForms.companyRegistrationDocument,
25929
25930
  companyTaxDocument: staticBusinessDetailsForms.companyTaxDocument,
25930
25931
  companyProofOfDirectorDocument: staticBusinessDetailsForms.companyProofOfDirectorDocument,
25931
- companyFinancialInformation: staticBusinessDetailsForms.companyFinancialInformation,
25932
+ companyFinancialInformation: {
25933
+ formId: "companyFinancialInformation",
25934
+ formName: "financialInformation",
25935
+ formHeading: "companyFinancialInformationFormHeading",
25936
+ formDescription: "companyFinancialInformationFormDescription",
25937
+ fields: getFinancialInformationFields(country)
25938
+ },
25932
25939
  companyConstitutionalDocument: staticBusinessDetailsForms.companyConstitutionalDocument
25933
25940
  });
25934
25941
  const documentFormsIds = [
@@ -30226,7 +30233,12 @@ const UNRELATED_DATA_MISSING_ERROR_CODES = [
30226
30233
  "2_8189",
30227
30234
  "2_8190",
30228
30235
  "2_8191",
30229
- "2_8193"
30236
+ "2_8193",
30237
+ "2_8247",
30238
+ "2_8150",
30239
+ "2_8249",
30240
+ "2_8248",
30241
+ "2_8250"
30230
30242
  ];
30231
30243
  const UNRELATED_INVALID_INPUT_ERROR_CODES = ["1_14", "2_901", "2_902"];
30232
30244
  const getComponentMappingFromLEFieldPath = (context, entityType) => {
@@ -38345,13 +38357,15 @@ const formatAmountWithCurrency = (amount, currency) => {
38345
38357
  }
38346
38358
  return `${formattedAmount} ${currency}`;
38347
38359
  };
38348
- const formatFinancialInformationSummary = (data, i18n) => {
38360
+ const formatFinancialInformationSummary = (data, i18n, country) => {
38349
38361
  if (!data) return {};
38350
38362
  const summary2 = {
38351
- numberOfEmployees: `${data.numberOfEmployees}`,
38352
38363
  currency: data.currency,
38353
38364
  financialReportingDate: data.financialReportingDate
38354
38365
  };
38366
+ if (country === CountryCodes.UnitedKingdom) {
38367
+ summary2.numberOfEmployees = `${data.numberOfEmployees}`;
38368
+ }
38355
38369
  if (data.netAssets) {
38356
38370
  summary2.netAssets = summaryItem(
38357
38371
  "totalAssets",
@@ -38683,7 +38697,7 @@ const formatAdditionalInformation = (data, labels, country, companyType, i18n) =
38683
38697
  const formatDataForSummary$1 = (data, forms, labels, i18n, isExperimentEnabled) => {
38684
38698
  const datasetUtils = datasetUtilities(i18n.locale);
38685
38699
  return entriesOf(data).reduce((summaryData, [form]) => {
38686
- var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2, _i2, _j2, _k2;
38700
+ var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2, _i2, _j2, _k2, _l2;
38687
38701
  if (!form || !data[form]) return summaryData;
38688
38702
  const isCountryOfGoverningLawEnabled = isExperimentEnabled(
38689
38703
  "EnableCountryOfGoverningLawForUKCompanies"
@@ -38758,7 +38772,11 @@ const formatDataForSummary$1 = (data, forms, labels, i18n, isExperimentEnabled)
38758
38772
  case "companyFinancialInformation":
38759
38773
  return {
38760
38774
  ...summaryData,
38761
- [form]: formatFinancialInformationSummary(data[form], i18n)
38775
+ [form]: formatFinancialInformationSummary(
38776
+ data[form],
38777
+ i18n,
38778
+ (_l2 = data == null ? void 0 : data.basicInformation) == null ? void 0 : _l2.country
38779
+ )
38762
38780
  };
38763
38781
  default:
38764
38782
  return summaryData;
@@ -50703,26 +50721,26 @@ const hasProgressedBeyondEntitySelection = (legalEntity) => {
50703
50721
  return hasOwnEntityAssocation || !!hasOrganizationType;
50704
50722
  };
50705
50723
  const Introduction = lazy$1(
50706
- async () => (await import("./Introduction-6qYMckA8.js")).Introduction
50724
+ async () => (await import("./Introduction-Rya0Sy7H.js")).Introduction
50707
50725
  );
50708
50726
  const SingpassSelection = lazy$1(
50709
- async () => (await import("./SingpassSelection-BLWlHlFW.js")).SingpassSelection
50727
+ async () => (await import("./SingpassSelection-ib5_mHMn.js")).SingpassSelection
50710
50728
  );
50711
50729
  const AccountSetupRejected = lazy$1(
50712
- async () => (await import("./AccountSetupRejected-BLyveOmE.js")).AccountSetupRejected
50730
+ async () => (await import("./AccountSetupRejected-B72M94Is.js")).AccountSetupRejected
50713
50731
  );
50714
50732
  const DecisionMakers = lazy$1(
50715
- async () => (await import("./DecisionMakers--Yp2W0Uy.js")).DecisionMakers
50733
+ async () => (await import("./DecisionMakers-CYdeSdkf.js")).DecisionMakers
50716
50734
  );
50717
50735
  const CustomerSupport = lazy$1(
50718
- async () => (await import("./CustomerSupport-BFTrAGgZ.js")).CustomerSupport
50736
+ async () => (await import("./CustomerSupport-BGQOr4Db.js")).CustomerSupport
50719
50737
  );
50720
- const Review = lazy$1(async () => (await import("./Review-Dxl0fPyZ.js")).Review);
50738
+ const Review = lazy$1(async () => (await import("./Review-Dk6mZ16K.js")).Review);
50721
50739
  const SignPCIComponent$2 = lazy$1(
50722
50740
  async () => (await Promise.resolve().then(() => SignPCIComponent$1)).SignPCIComponent
50723
50741
  );
50724
50742
  const TaxReportingDropin = lazy$1(
50725
- async () => (await import("./TaxReportingDropin-B9NbTNkH.js")).TaxReportingDropin
50743
+ async () => (await import("./TaxReportingDropin-CmSpuUCg.js")).TaxReportingDropin
50726
50744
  );
50727
50745
  const PAGES_WITH_POLLING = [TaskTypes.DECISION_MAKER_OVERVIEW, TaskTypes.TASKS_OVERVIEW];
50728
50746
  const logger$6 = createLogger();
@@ -55145,7 +55163,7 @@ var TanstackQueryDevtools = (_l = class {
55145
55163
  if (__privateGet(this, _Component)) {
55146
55164
  Devtools = __privateGet(this, _Component);
55147
55165
  } else {
55148
- Devtools = lazy(() => import("./I3HPI4QX-CtozGfvf.js"));
55166
+ Devtools = lazy(() => import("./I3HPI4QX-D_KIe1Ju.js"));
55149
55167
  __privateSet(this, _Component, Devtools);
55150
55168
  }
55151
55169
  setupStyleSheet(__privateGet(this, _styleNonce), __privateGet(this, _shadowDOMTarget));
@@ -55267,7 +55285,7 @@ var TanstackQueryDevtoolsPanel = (_m = class {
55267
55285
  if (__privateGet(this, _Component2)) {
55268
55286
  Devtools = __privateGet(this, _Component2);
55269
55287
  } else {
55270
- Devtools = lazy(() => import("./CXEL7IU7-D82dF_9C.js"));
55288
+ Devtools = lazy(() => import("./CXEL7IU7-BtQX4aZI.js"));
55271
55289
  __privateSet(this, _Component2, Devtools);
55272
55290
  }
55273
55291
  setupStyleSheet(__privateGet(this, _styleNonce2), __privateGet(this, _shadowDOMTarget2));
@@ -55486,7 +55504,7 @@ const convertToEmbeddedEvent = (eventQueueItem, sessionData) => {
55486
55504
  };
55487
55505
  };
55488
55506
  const useAnalytics = ({ userEvents: userEvents2, sessionId, sessionData }) => {
55489
- const sdkVersion = "3.65.4";
55507
+ const sdkVersion = "3.65.5";
55490
55508
  const rootLegalEntity = useGlobalStore((store) => store.rootLegalEntity);
55491
55509
  const countryCode = useGlobalStore((store) => store.rootLegalEntityCountry);
55492
55510
  const capabilities = Object.keys(rootLegalEntity.capabilities ?? {});
@@ -55561,7 +55579,7 @@ const AnalyticsProvider = ({
55561
55579
  const { onboardingVersion } = useVersion();
55562
55580
  const userEvents2 = useMemo(() => createUserEvents(), []);
55563
55581
  const sessionData = {
55564
- sdkVersion: "3.65.4",
55582
+ sdkVersion: "3.65.5",
55565
55583
  componentName,
55566
55584
  userAgent: navigator.userAgent,
55567
55585
  legalEntityId,
@@ -55695,7 +55713,7 @@ const ConfigurationApiProvider = ({ children: children2 }) => {
55695
55713
  [baseUrl, rootLegalEntityId]
55696
55714
  );
55697
55715
  return /* @__PURE__ */ jsxs(ConfigurationApiContext.Provider, { value: contextValue, children: [
55698
- /* @__PURE__ */ jsx$1("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.65.4" }),
55716
+ /* @__PURE__ */ jsx$1("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.65.5" }),
55699
55717
  children2
55700
55718
  ] });
55701
55719
  };
@@ -56170,7 +56188,7 @@ function StateProvider({
56170
56188
  );
56171
56189
  return /* @__PURE__ */ jsx$1(StateContext.Provider, { value: contextValue, children: children2 });
56172
56190
  }
56173
- const DebugModal = lazy$1(async () => (await import("./DebugModal-Bes2RJC0.js").then((n) => n.D)).DebugModal);
56191
+ const DebugModal = lazy$1(async () => (await import("./DebugModal-BfzvF9Kp.js").then((n) => n.D)).DebugModal);
56174
56192
  const DebugListener = () => {
56175
56193
  const [debugUiOpen, setDebugUiOpen] = useState(false);
56176
56194
  const { isSettingEnabled } = useSettingsContext();
@@ -7,7 +7,7 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { c as cssProps } from "./DebugModal-Bes2RJC0.js";
10
+ import { c as cssProps } from "./DebugModal-BfzvF9Kp.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-Bes2RJC0.js";
10
+ import { c as cssProps } from "./DebugModal-BfzvF9Kp.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-Bes2RJC0.js";
10
+ import { c as cssProps } from "./DebugModal-BfzvF9Kp.js";
11
11
  const definitions = {
12
12
  any: { regex: /.*/g, css: cssProps.text }
13
13
  };
@@ -2,6 +2,7 @@ import type { CountryCode } from '../../../../core/models/country-code';
2
2
  import type { AdditionalInformationSchema } from '../AdditionalInformation/types';
3
3
  import type { BasicInformationSchema } from '../BasicInformation/types';
4
4
  export declare const FIELDS_NEEDED_FOR_COMPANY_SEARCH: Array<keyof BasicInformationSchema | keyof AdditionalInformationSchema>;
5
+ export declare const getFinancialInformationFields: (country: CountryCode) => (keyof import("../../../Shared/forms/FinancialInformation/types").FinancialInformationSchema)[];
5
6
  export declare const staticBusinessDetailsForms: {
6
7
  readonly companyStructure: {
7
8
  readonly formId: "companyStructure";
@@ -31,13 +32,6 @@ export declare const staticBusinessDetailsForms: {
31
32
  readonly formDescription: "weNeedAnOfficialDocument";
32
33
  readonly fields: readonly ["proofOfDirector"];
33
34
  };
34
- readonly companyFinancialInformation: {
35
- readonly formId: "companyFinancialInformation";
36
- readonly formName: "financialInformation";
37
- readonly formHeading: "companyFinancialInformationFormHeading";
38
- readonly formDescription: "companyFinancialInformationFormDescription";
39
- readonly fields: (keyof import("../../../Shared/forms/FinancialInformation/types").FinancialInformationSchema)[];
40
- };
41
35
  readonly companyConstitutionalDocument: {
42
36
  readonly formId: "companyConstitutionalDocument";
43
37
  readonly formName: "constitutionalDocument";
@@ -1,3 +1,4 @@
1
1
  import type { FinancialInformationProps, FinancialInformationSchema } from './types';
2
+ export declare const financialInformationFieldsForEu: Array<keyof FinancialInformationSchema>;
2
3
  export declare const financialInformationFields: Array<keyof FinancialInformationSchema>;
3
4
  export declare function FinancialInformation(props: FinancialInformationProps): import("preact/jsx-runtime").JSX.Element;
@@ -1,4 +1,5 @@
1
1
  import type { Language } from '../../../../language/Language';
2
+ import type { CountryCode } from '../../../../core/models/country-code';
2
3
  import type { SummaryOf } from '../../Summary/types';
3
4
  import type { FinancialInformationSchema } from './types';
4
- export declare const formatFinancialInformationSummary: (data: FinancialInformationSchema | undefined, i18n: Language) => SummaryOf<FinancialInformationSchema>;
5
+ export declare const formatFinancialInformationSummary: (data: FinancialInformationSchema | undefined, i18n: Language, country: CountryCode | undefined) => SummaryOf<FinancialInformationSchema>;
@@ -7,7 +7,7 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { c as cssProps } from "./DebugModal-Bes2RJC0.js";
10
+ import { c as cssProps } from "./DebugModal-BfzvF9Kp.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.65.4",
3
+ "version": "3.65.5",
4
4
  "keywords": [
5
5
  "adyen",
6
6
  "adyen-kyc",