@adyen/kyc-components 3.82.3 → 3.82.4

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 (107) hide show
  1. package/dist/{AcceptTermsOfServiceComponent-DBiIy4Kp.js → AcceptTermsOfServiceComponent-B0LAGtDq.js} +14 -14
  2. package/dist/{AccountSetupRejected-D27RKt9K.js → AccountSetupRejected-CurNLH-v.js} +4 -4
  3. package/dist/{Address-ByYSgoVJ.js → Address-oDZ5-kVD.js} +7 -7
  4. package/dist/{Alert-TryjgqmO.js → Alert-AWnMm5Qo.js} +1 -1
  5. package/dist/{Avatar-CKP57y-Q.js → Avatar-wrF1Izkx.js} +1 -1
  6. package/dist/{BusinessDetailsDropin-CNFVVwGJ.js → BusinessDetailsDropin-Drh1G_6Q.js} +33 -33
  7. package/dist/{BusinessFinancingComponent-DCD8DE-r.js → BusinessFinancingComponent-CZtNEH3K.js} +4 -4
  8. package/dist/{BusinessFinancingDropin-Dhc_JYVL.js → BusinessFinancingDropin-GV6w6AgB.js} +22 -22
  9. package/dist/{BusinessFinancingPage-Cj5fDj-T.js → BusinessFinancingPage-C7rhZmKl.js} +3 -3
  10. package/dist/{BusinessTypeSelectionPage-BhA3bBL3.js → BusinessTypeSelectionPage-B1vlCySX.js} +6 -6
  11. package/dist/{Card-BG1vjevh.js → Card-ZI22wx30.js} +3 -3
  12. package/dist/{Confirm-CDy3GQty.js → Confirm-DLEy74vX.js} +2 -2
  13. package/dist/{CountryField-XyMQgLEa.js → CountryField-BtmygQ5F.js} +4 -4
  14. package/dist/{CreateIndividualComponent-Wn27xAGP.js → CreateIndividualComponent-BZDYDRaW.js} +5 -5
  15. package/dist/{CreateTransferInstrumentComponent-B91wUVZO.js → CreateTransferInstrumentComponent-DeWo8LLw.js} +5 -5
  16. package/dist/{Currency-C9f9JFqI.js → Currency-V8qhGlJA.js} +5 -5
  17. package/dist/{CustomerSupport-BkZrAQI8.js → CustomerSupport-Bohv7yaf.js} +8 -8
  18. package/dist/{DebugModal-C-Kde1W7.js → DebugModal-D9WkxmuY.js} +6 -6
  19. package/dist/{DecisionMakerDetailsPage-DGCjjcXo.js → DecisionMakerDetailsPage-BkzDUEwj.js} +6 -6
  20. package/dist/{DecisionMakers-BnVBSP2h.js → DecisionMakers-DYxSFqAq.js} +17 -17
  21. package/dist/{Dropzone-DhG3qmwK.js → Dropzone-BkUF-oFS.js} +3 -3
  22. package/dist/{EmbeddedStatus-CR9dSA8Q.js → EmbeddedStatus-CAmOHMoS.js} +2 -2
  23. package/dist/{EndStateLayout-CND9jpze.js → EndStateLayout-ABJPhYF6.js} +1 -1
  24. package/dist/{FormFlow-CEWANC6O.js → FormFlow-DFNg3M6X.js} +6 -6
  25. package/dist/{FormNavigation-BPlMuV0j.js → FormNavigation-ZmI-v8GQ.js} +1 -1
  26. package/dist/{IndividualOnfidoDropin-B0Ofb9y0.js → IndividualOnfidoDropin-C61uX7fm.js} +38 -38
  27. package/dist/{InputDate-_HFaTMsL.js → InputDate-CYUx4Zkt.js} +1 -1
  28. package/dist/{InputText-BXjA-CEb.js → InputText-e-ajCLLu.js} +2 -2
  29. package/dist/{Introduction-r3a_Q_wG.js → Introduction-CZM6U4Gx.js} +4 -4
  30. package/dist/{LegalRepresentativeDetailsPage-DzPDCpVt.js → LegalRepresentativeDetailsPage-D3pSRXoF.js} +4 -4
  31. package/dist/{Link-D_9J4IJA.js → Link-C_wFbiOI.js} +1 -1
  32. package/dist/{ManageIndividualComponent-Dlx3--0h.js → ManageIndividualComponent-BisCK7lb.js} +5 -5
  33. package/dist/{ManageTermsOfServiceComponent-BCDYAf1s.js → ManageTermsOfServiceComponent-eYUT0657.js} +5 -5
  34. package/dist/{ManageTransferInstrumentComponent-Cohe-fiW.js → ManageTransferInstrumentComponent-DTGR_Ety.js} +12 -12
  35. package/dist/{MaskedInput-Nyf8vcDx.js → MaskedInput-CyPisB5z.js} +3 -3
  36. package/dist/{MaybeModal-CposTKIL.js → MaybeModal-yYXxfhbc.js} +2 -2
  37. package/dist/{Modal-BUqWVdHG.js → Modal-Bf1V6EkA.js} +1 -1
  38. package/dist/{OnboardingDropinComponent-BQMB-M3f.js → OnboardingDropinComponent-aBc7y5Gd.js} +42 -42
  39. package/dist/{PayoutDetailsDropin-DzkFGL_4.js → PayoutDetailsDropin-DfPO4ir4.js} +25 -25
  40. package/dist/{RadioGroup-BDZqV-Mr.js → RadioGroup-DZQ35vF-.js} +4 -4
  41. package/dist/{RegistrationAddress-B7q1pOsn.js → RegistrationAddress-21WOqDl0.js} +17 -14
  42. package/dist/{Review-DoC_0S-s.js → Review-DUjMYBJY.js} +6 -6
  43. package/dist/{RootBusinessDetailsPage-Bbr2WffY.js → RootBusinessDetailsPage-CdZlfbra.js} +27 -27
  44. package/dist/{RootIndividualDetailsPage-DiKCTWp6.js → RootIndividualDetailsPage-Bx8wV2kS.js} +4 -4
  45. package/dist/{SignPCIComponent-BrwKPa1E.js → SignPCIComponent-CLgQxSmO.js} +9 -9
  46. package/dist/{SingpassSelection-DF8-ifNE.js → SingpassSelection-D2QWs7rY.js} +3 -3
  47. package/dist/{SoleProprietorshipPage-crVbQlEJ.js → SoleProprietorshipPage-DKdu2uLt.js} +4 -4
  48. package/dist/{SourceOfFundsPage-_on4Vmam.js → SourceOfFundsPage-DDSZQxyu.js} +26 -26
  49. package/dist/{StepProgressIndicator-hlEMGZu8.js → StepProgressIndicator-eDHas4te.js} +1 -1
  50. package/dist/{StoreProvider-CiZ-dp-b.js → StoreProvider-DQMRmYOl.js} +4 -4
  51. package/dist/{TaskItemStatus-BQVo7foa.js → TaskItemStatus-4tOJmrwx.js} +1 -1
  52. package/dist/{TaskStatusIndicator-q1aiZloQ.js → TaskStatusIndicator-D0lp53BE.js} +1 -1
  53. package/dist/{TaxInformationField-B8mQXSpZ.js → TaxInformationField-mNjgDHUQ.js} +12 -12
  54. package/dist/{TaxReportingDropin-CRHhjxw-.js → TaxReportingDropin-Jjdf2U4d.js} +17 -17
  55. package/dist/{TileGroup-ClHre2Us.js → TileGroup-Dr0Ztb6l.js} +2 -2
  56. package/dist/{TrustDetailsPage-CGFw51Cl.js → TrustDetailsPage-CfeS3YnI.js} +22 -22
  57. package/dist/{TrustMemberCompanyPage-CgpUmMoS.js → TrustMemberCompanyPage-BwZVdFQP.js} +5 -5
  58. package/dist/{TrustMemberIndividualPage-3wYiHTR1.js → TrustMemberIndividualPage-Bwm-Zfk_.js} +4 -4
  59. package/dist/{UnincorporatedPartnershipIndividualPage-BVz1iaWD.js → UnincorporatedPartnershipIndividualPage-C4FQagSK.js} +4 -4
  60. package/dist/{UnincorporatedPartnershipMemberCompanyPage-CEcZtCEv.js → UnincorporatedPartnershipMemberCompanyPage--7uUmqDX.js} +5 -5
  61. package/dist/{ViewVerificationStatusComponent-4CnmMR2o.js → ViewVerificationStatusComponent-BC8L1fLe.js} +3 -3
  62. package/dist/adyen-business-financing.js +2 -2
  63. package/dist/adyen-individual.js +2 -2
  64. package/dist/adyen-kyc-components.js +21 -21
  65. package/dist/adyen-manage-individual.js +2 -2
  66. package/dist/adyen-manage-terms-of-service.js +2 -2
  67. package/dist/adyen-manage-transfer-instruments.js +2 -2
  68. package/dist/adyen-onboarding.js +2 -2
  69. package/dist/adyen-terms-of-service.js +2 -2
  70. package/dist/adyen-transfer-instrument.js +2 -2
  71. package/dist/adyen-verification-status.js +2 -2
  72. package/dist/{analytics-VGKSXUs3.js → analytics-BwPShVR4.js} +1 -1
  73. package/dist/{bafinUtils-rVLqT7tm.js → bafinUtils-DI8t60Xa.js} +5 -5
  74. package/dist/{commonValidators-DYVRk_o-.js → commonValidators-DSBtv03W.js} +1 -1
  75. package/dist/{dropinUtils-CAMPNh0H.js → dropinUtils-QEvP5L8R.js} +2 -2
  76. package/dist/{fieldConfigurations-D1NqrGgr.js → fieldConfigurations-DNP02RYf.js} +6 -6
  77. package/dist/{getName-CLl4DLz5.js → getName-BitxRg1w.js} +1 -1
  78. package/dist/{hasDataChanged-l0jAbTM1.js → hasDataChanged-BmLHi4lM.js} +1 -1
  79. package/dist/{iframeWidget-CNxl2fM8.js → iframeWidget-BHGQardl.js} +3 -3
  80. package/dist/{isEmpty-B2Jgc-Ae.js → isEmpty-BMsRVCTi.js} +1 -1
  81. package/dist/{localizeDateString-D52U55KH.js → localizeDateString-BwEkYpGJ.js} +1 -1
  82. package/dist/{mapExistingFile-d1IBaXjL.js → mapExistingFile-CFvy5DK8.js} +3 -3
  83. package/dist/{mapScriptLocalization-CogsH2uy.js → mapScriptLocalization-T0xnlXRX.js} +3 -3
  84. package/dist/{mapTransferInstrumentToPayoutAccount-MzAJdTLN.js → mapTransferInstrumentToPayoutAccount-l93zQdq6.js} +1 -1
  85. package/dist/{resolveEnvironment-3SDOk4j8.js → resolveEnvironment-ByxJ4f8A.js} +3 -3
  86. package/dist/{rules-mx2LkA3c.js → rules-lhkQyQGe.js} +3 -3
  87. package/dist/{translation-DlBV-aLd.js → translation-DdbbjfTb.js} +1 -1
  88. package/dist/{types-BgtfChBm.js → types-DTkNMQWv.js} +1 -1
  89. package/dist/{types-BvfH1Hq9.js → types-KZKAJLT6.js} +1 -1
  90. package/dist/{useAssociatedLegalEntity-CdDDTgFh.js → useAssociatedLegalEntity-By5fzMwK.js} +1 -1
  91. package/dist/{useDataset-gWnPim6D.js → useDataset-BdkrGwQp.js} +1 -1
  92. package/dist/{useForm-B9xiR6rk.js → useForm-DwU-1DTE.js} +2 -2
  93. package/dist/{useGlobalData-wXN1Shit.js → useGlobalData-BuEVbUs9.js} +9 -9
  94. package/dist/{useMultiForm-CApCTqZE.js → useMultiForm-CvuouyKe.js} +3 -3
  95. package/dist/{useOnboardingStatus-NmD-_0MX.js → useOnboardingStatus-DsOL99Eg.js} +1 -1
  96. package/dist/{useScenarios-DzBi2C-3.js → useScenarios-DcrrR_9f.js} +1 -1
  97. package/dist/{useTermsOfServiceStatus-CcV1l3Cn.js → useTermsOfServiceStatus-D9Iltz3D.js} +1 -1
  98. package/dist/{useToastContext-B2dmvtea.js → useToastContext-e7bV_DzX.js} +1 -1
  99. package/dist/{useUnincorporatedPartnershipMembers-DErNsU0p.js → useUnincorporatedPartnershipMembers-DQaj67LQ.js} +4 -4
  100. package/dist/{utils-CE3nKLt4.js → utils-CgAn2DIh.js} +1 -1
  101. package/dist/{utils-co6TAFWB.js → utils-DLjZkOsT.js} +6 -6
  102. package/dist/{utils-Du8tQ9jO.js → utils-DhxqzVe0.js} +1 -1
  103. package/dist/{validate-D-lb4Q7H.js → validate-CRXPXh39.js} +6 -6
  104. package/dist/{validate-CF1WjpO2.js → validate-DLXH480R.js} +28 -12
  105. package/dist/{validate-BiC_TxbN.js → validate-DcpKoqWC.js} +1 -1
  106. package/dist/{validationError-BB54fFFA.js → validationError-Dme_dgMj.js} +1 -1
  107. package/package.json +1 -1
@@ -8,7 +8,7 @@
8
8
  }
9
9
  ;
10
10
  import { useRef, useCallback } from "preact/hooks";
11
- import { bp as userEvents } from "./StoreProvider-CiZ-dp-b.js";
11
+ import { bp as userEvents } from "./StoreProvider-DQMRmYOl.js";
12
12
  const debounce = (func, wait) => {
13
13
  let timerId;
14
14
  let shouldInvoke;
@@ -8,12 +8,12 @@
8
8
  }
9
9
  ;
10
10
  import { useReducer, useMemo, useContext } from "preact/hooks";
11
- import { b as useApiContext, j as useQuery, k as httpPost, X as useExperimentsContext, g as getLegalEntityCountry, a8 as CountryCodes, z as isPartOfTrustFromLegalEntity, y as LegalEntityTypes, C as hasSolePropInLegalEntity, ah as individualComponentsKeyMapping, ai as businessDetailsComponentsKeyMapping, aj as SettingsContext, a as useTranslation, x as Typography, ak as DecisionMakerTypes, M as TaskTypes, al as Scenarios } from "./StoreProvider-CiZ-dp-b.js";
12
- import { e as TrustedFieldsProviders } from "./fieldConfigurations-D1NqrGgr.js";
11
+ import { b as useApiContext, j as useQuery, k as httpPost, X as useExperimentsContext, g as getLegalEntityCountry, a8 as CountryCodes, z as isPartOfTrustFromLegalEntity, y as LegalEntityTypes, C as hasSolePropInLegalEntity, ah as individualComponentsKeyMapping, ai as businessDetailsComponentsKeyMapping, aj as SettingsContext, a as useTranslation, x as Typography, ak as DecisionMakerTypes, M as TaskTypes, al as Scenarios } from "./StoreProvider-DQMRmYOl.js";
12
+ import { e as TrustedFieldsProviders } from "./fieldConfigurations-DNP02RYf.js";
13
13
  import { jsxs, jsx } from "preact/jsx-runtime";
14
- import { F as Field, S as SelectListItem } from "./useForm-B9xiR6rk.js";
15
- import { I as InputText } from "./InputText-BXjA-CEb.js";
16
- import { c as createFormUtils, r as roleMetadata } from "./CountryField-XyMQgLEa.js";
14
+ import { F as Field, S as SelectListItem } from "./useForm-DwU-1DTE.js";
15
+ import { I as InputText } from "./InputText-e-ajCLLu.js";
16
+ import { c as createFormUtils, r as roleMetadata } from "./CountryField-BtmygQ5F.js";
17
17
  import cx from "classnames";
18
18
  import { signal, computed } from "@preact/signals";
19
19
  async function convertToSingpassLinkResponse(openIdInitiateResponse) {
@@ -7,7 +7,7 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { a9 as isEmpty } from "./StoreProvider-CiZ-dp-b.js";
10
+ import { a9 as isEmpty } from "./StoreProvider-DQMRmYOl.js";
11
11
  const isTruthyValidator = {
12
12
  validate: (value) => !!value,
13
13
  modes: ["blur"],
@@ -8,8 +8,8 @@
8
8
  }
9
9
  ;
10
10
  import { useState, useEffect, useMemo } from "preact/hooks";
11
- import { U as useAnalyticsContext, N as createLogger } from "./StoreProvider-CiZ-dp-b.js";
12
- import { d as summaryStep, h as FormRouterContext } from "./CountryField-XyMQgLEa.js";
11
+ import { U as useAnalyticsContext, N as createLogger } from "./StoreProvider-DQMRmYOl.js";
12
+ import { d as summaryStep, h as FormRouterContext } from "./CountryField-BtmygQ5F.js";
13
13
  import { jsx } from "preact/jsx-runtime";
14
14
  const trackNavigation = ({
15
15
  userEvents,
@@ -7,17 +7,17 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { c as useLegalEntity, R as ROOT_LE, X as useExperimentsContext, am as getCapabilityProblems, g as getLegalEntityCountry, N as createLogger, b as useApiContext, an as hasText, ao as isValidMinLength, ap as matchesRegex, a9 as isEmpty, aq as NO_ALPHABET_REGEX, ar as EMOJI_REGEX, as as hasRepeatedCharacters, at as isInvalidName, au as OTHER_ENTITIES_VALID_CHAR_REGEX, av as LATIN_SPACE_MARK_PUNCTUATION_REGEX, aw as standardKatakanaValidator, ax as standardKanjiValidator, U as useAnalyticsContext, a as useTranslation, L as Loader } from "./StoreProvider-CiZ-dp-b.js";
10
+ import { c as useLegalEntity, R as ROOT_LE, X as useExperimentsContext, am as getCapabilityProblems, g as getLegalEntityCountry, N as createLogger, b as useApiContext, an as hasText, ao as isValidMinLength, ap as matchesRegex, a9 as isEmpty, aq as NO_ALPHABET_REGEX, ar as EMOJI_REGEX, as as hasRepeatedCharacters, at as isInvalidName, au as OTHER_ENTITIES_VALID_CHAR_REGEX, av as LATIN_SPACE_MARK_PUNCTUATION_REGEX, aw as standardKatakanaValidator, ax as standardKanjiValidator, U as useAnalyticsContext, a as useTranslation, L as Loader } from "./StoreProvider-DQMRmYOl.js";
11
11
  import { useContext, useMemo, useRef, useState, useEffect } from "preact/hooks";
12
12
  import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
13
13
  import { createContext } from "preact";
14
- import { a as Alert } from "./Alert-TryjgqmO.js";
14
+ import { a as Alert } from "./Alert-AWnMm5Qo.js";
15
15
  import cx from "classnames";
16
- import { d as debouncedInputEvent } from "./analytics-VGKSXUs3.js";
17
- import { c as convertFullToHalf } from "./InputText-BXjA-CEb.js";
16
+ import { d as debouncedInputEvent } from "./analytics-BwPShVR4.js";
17
+ import { c as convertFullToHalf } from "./InputText-e-ajCLLu.js";
18
18
  import { Suspense } from "preact/compat";
19
- import { b as useId } from "./useForm-B9xiR6rk.js";
20
- import { R as Radio } from "./CountryField-XyMQgLEa.js";
19
+ import { b as useId } from "./useForm-DwU-1DTE.js";
20
+ import { R as Radio } from "./CountryField-BtmygQ5F.js";
21
21
  const useCapabilityProblems = () => {
22
22
  const { data: rootLegalEntity } = useLegalEntity(ROOT_LE);
23
23
  const { isExperimentEnabled } = useExperimentsContext();
@@ -7,7 +7,7 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { y as LegalEntityTypes, a6 as getOwnEntityAssociations } from "./StoreProvider-CiZ-dp-b.js";
10
+ import { y as LegalEntityTypes, a6 as getOwnEntityAssociations } from "./StoreProvider-DQMRmYOl.js";
11
11
  const getIndividualLegalEntityName = (legalEntityResponse) => {
12
12
  if (!legalEntityResponse || !legalEntityResponse?.individual) return "";
13
13
  return `${legalEntityResponse.individual?.name?.firstName ?? ""} ${legalEntityResponse.individual?.name?.lastName ?? ""}`;
@@ -7,7 +7,7 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { az as entriesOf, af as objectsDeepEqual } from "./StoreProvider-CiZ-dp-b.js";
10
+ import { az as entriesOf, af as objectsDeepEqual } from "./StoreProvider-DQMRmYOl.js";
11
11
  const hasDataChanged = (initialData, currentData) => entriesOf(currentData ?? {}).some(([key, value]) => {
12
12
  if (typeof value === "object") {
13
13
  return !objectsDeepEqual(value, initialData?.[key]);
@@ -7,10 +7,10 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { ay as cloneObject, N as createLogger, by as isString, k as httpPost } from "./StoreProvider-CiZ-dp-b.js";
11
- import { i as isValueObscured } from "./MaskedInput-Nyf8vcDx.js";
10
+ import { ay as cloneObject, N as createLogger, by as isString, k as httpPost } from "./StoreProvider-DQMRmYOl.js";
11
+ import { i as isValueObscured } from "./MaskedInput-CyPisB5z.js";
12
12
  import { g as getProp, d as deleteProp } from "./utils-DNSfZiio.js";
13
- import { A as AdyenKycSdkError } from "./mapExistingFile-d1IBaXjL.js";
13
+ import { A as AdyenKycSdkError } from "./mapExistingFile-CFvy5DK8.js";
14
14
  const omitObscuredFieldsIfUnchanged = (obscuredFields, dataSubmitted, savedData) => {
15
15
  if (!dataSubmitted) {
16
16
  return;
@@ -7,7 +7,7 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { aD as keysOf } from "./StoreProvider-CiZ-dp-b.js";
10
+ import { aD as keysOf } from "./StoreProvider-DQMRmYOl.js";
11
11
  const isEmpty = (obj, ignoreEmptyProperties = true) => {
12
12
  if (obj === null || obj === void 0) return true;
13
13
  if (Array.isArray(obj)) return obj.length === 0;
@@ -7,7 +7,7 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { N as createLogger } from "./StoreProvider-CiZ-dp-b.js";
10
+ import { N as createLogger } from "./StoreProvider-DQMRmYOl.js";
11
11
  const localizeDateString = (dateString, locale, options) => {
12
12
  const logger = createLogger();
13
13
  const formatOptions = {
@@ -8,13 +8,13 @@
8
8
  }
9
9
  ;
10
10
  import { useEffect, useState, useMemo } from "preact/hooks";
11
- import { u as useScenarios } from "./useScenarios-DzBi2C-3.js";
12
- import { a8 as CountryCodes, N as createLogger, a as useTranslation, V as Icon } from "./StoreProvider-CiZ-dp-b.js";
11
+ import { u as useScenarios } from "./useScenarios-DcrrR_9f.js";
12
+ import { a8 as CountryCodes, N as createLogger, a as useTranslation, V as Icon } from "./StoreProvider-DQMRmYOl.js";
13
13
  import { signal } from "@preact/signals";
14
14
  import { jsx, jsxs } from "preact/jsx-runtime";
15
15
  import cx from "classnames";
16
16
  import { lazy } from "preact/compat";
17
- import { I as Image } from "./fieldConfigurations-D1NqrGgr.js";
17
+ import { I as Image } from "./fieldConfigurations-DNP02RYf.js";
18
18
  class AdyenKycSdkError extends Error {
19
19
  sourceError;
20
20
  constructor(message, sourceError) {
@@ -7,9 +7,9 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { b as useApiContext, j as useQuery, o as httpGet, X as useExperimentsContext, a8 as CountryCodes } from "./StoreProvider-CiZ-dp-b.js";
11
- import { u as useSetting } from "./bafinUtils-rVLqT7tm.js";
12
- import { u as useCapabilities } from "./TaxInformationField-B8mQXSpZ.js";
10
+ import { b as useApiContext, j as useQuery, o as httpGet, X as useExperimentsContext, a8 as CountryCodes } from "./StoreProvider-DQMRmYOl.js";
11
+ import { u as useSetting } from "./bafinUtils-DI8t60Xa.js";
12
+ import { u as useCapabilities } from "./TaxInformationField-mNjgDHUQ.js";
13
13
  const getSupportedCountries = async (legalEntityId, baseUrl) => {
14
14
  return httpGet({
15
15
  baseUrl,
@@ -7,7 +7,7 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { b as useApiContext, j as useQuery, q as skipToken, o as httpGet, bz as payoutComponentKeyMapping } from "./StoreProvider-CiZ-dp-b.js";
10
+ import { b as useApiContext, j as useQuery, q as skipToken, o as httpGet, bz as payoutComponentKeyMapping } from "./StoreProvider-DQMRmYOl.js";
11
11
  import { m as mapWith } from "./utils-DNSfZiio.js";
12
12
  const getTransferInstrument = async (legalEntityId, baseUrl, transferInstrumentId) => {
13
13
  return httpGet({
@@ -2,13 +2,13 @@
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] = "b7899803-971b-46ca-adb4-2e43a792a5c0", e._sentryDebugIdIdentifier = "sentry-dbid-b7899803-971b-46ca-adb4-2e43a792a5c0");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "2a799158-d034-419f-9494-65016f2a6cba", e._sentryDebugIdIdentifier = "sentry-dbid-2a799158-d034-419f-9494-65016f2a6cba");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsxs, jsx } from "preact/jsx-runtime";
11
- import { aP as refreshSession, B as Button, L as Loader, S as SettingsProvider, Q as QueryClientProvider, A as ApiProvider, E as ExperimentsContextProvider, d as StoreProvider, e as AnalyticsProvider, I as I18nProvider, D as DebugListener, T as ToastContextProvider, f as StateProvider, h as setSdkTokenHandler, n as normalizeEnvironment } from "./StoreProvider-CiZ-dp-b.js";
11
+ import { aP as refreshSession, B as Button, L as Loader, S as SettingsProvider, Q as QueryClientProvider, A as ApiProvider, E as ExperimentsContextProvider, d as StoreProvider, e as AnalyticsProvider, I as I18nProvider, D as DebugListener, T as ToastContextProvider, f as StateProvider, h as setSdkTokenHandler, n as normalizeEnvironment } from "./StoreProvider-DQMRmYOl.js";
12
12
  import { useState, useEffect } from "preact/hooks";
13
13
  const sheet = new CSSStyleSheet();
14
14
  const stylesheets = [sheet];
@@ -56,7 +56,7 @@ const EmbedShell = ({
56
56
  experiments,
57
57
  refreshExperiments,
58
58
  children: /* @__PURE__ */ jsxs(StoreProvider, { children: [
59
- /* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.82.3" }),
59
+ /* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.82.4" }),
60
60
  /* @__PURE__ */ jsx(
61
61
  AnalyticsProvider,
62
62
  {
@@ -7,10 +7,10 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { a8 as CountryCodes, b9 as allowedCountriesForNominee, ak as DecisionMakerTypes, M as TaskTypes, al as Scenarios } from "./StoreProvider-CiZ-dp-b.js";
11
- import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET } from "./utils-Du8tQ9jO.js";
10
+ import { a8 as CountryCodes, b9 as allowedCountriesForNominee, ak as DecisionMakerTypes, M as TaskTypes, al as Scenarios } from "./StoreProvider-DQMRmYOl.js";
11
+ import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET } from "./utils-DhxqzVe0.js";
12
12
  import { c as createFormRules } from "./form-rules-DhbF2mY4.js";
13
- import { g as getLocalizedIdDocumentTypeOptions } from "./utils-CE3nKLt4.js";
13
+ import { g as getLocalizedIdDocumentTypeOptions } from "./utils-CgAn2DIh.js";
14
14
  const REQUIRED = "REQUIRED";
15
15
  const OPTIONAL = "OPTIONAL";
16
16
  const SOLE_PROP_COUNTRIES = [
@@ -8,7 +8,7 @@
8
8
  }
9
9
  ;
10
10
  import { createElement, isValidElement, cloneElement, Children, Fragment, useContext } from "preact/compat";
11
- import { aI as warnOnce, aJ as getI18n, aK as getDefaults, aL as isString, aM as warn, aN as isObject, aO as I18nContext } from "./StoreProvider-CiZ-dp-b.js";
11
+ import { aI as warnOnce, aJ as getI18n, aK as getDefaults, aL as isString, aM as warn, aN as isObject, aO as I18nContext } from "./StoreProvider-DQMRmYOl.js";
12
12
  const __variableDynamicImportRuntimeHelper = (glob$1, path$13, segs) => {
13
13
  const v = glob$1[path$13];
14
14
  if (v) return typeof v === "function" ? v() : Promise.resolve(v);
@@ -7,7 +7,7 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { a8 as CountryCodes } from "./StoreProvider-CiZ-dp-b.js";
10
+ import { a8 as CountryCodes } from "./StoreProvider-DQMRmYOl.js";
11
11
  const ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES = [
12
12
  CountryCodes.Australia,
13
13
  CountryCodes.Belgium,
@@ -7,7 +7,7 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { a8 as CountryCodes } from "./StoreProvider-CiZ-dp-b.js";
10
+ import { a8 as CountryCodes } from "./StoreProvider-DQMRmYOl.js";
11
11
  import { C as Currencies } from "./currency-BGwQyxBo.js";
12
12
  const currencyByCountry = {
13
13
  [CountryCodes.Australia]: [Currencies.AUD],
@@ -8,7 +8,7 @@
8
8
  }
9
9
  ;
10
10
  import { useMemo } from "preact/hooks";
11
- import { N as createLogger, c as useLegalEntity, q as skipToken } from "./StoreProvider-CiZ-dp-b.js";
11
+ import { N as createLogger, c as useLegalEntity, q as skipToken } from "./StoreProvider-DQMRmYOl.js";
12
12
  const logger = createLogger();
13
13
  function useAssociatedLegalEntity(parentLegalEntity, associationType) {
14
14
  const matchingAssociation = useMemo(() => {
@@ -8,7 +8,7 @@
8
8
  }
9
9
  ;
10
10
  import { useState, useEffect } from "preact/hooks";
11
- import { N as createLogger, u as useI18nContext } from "./StoreProvider-CiZ-dp-b.js";
11
+ import { N as createLogger, u as useI18nContext } from "./StoreProvider-DQMRmYOl.js";
12
12
  const normalizedDatasets = {};
13
13
  const datasets = {};
14
14
  const createDatasetKey = (identifier, locale) => `${identifier}_${locale}`.toLowerCase();
@@ -10,10 +10,10 @@
10
10
  import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
11
11
  import cx from "classnames";
12
12
  import { useState, useEffect, useRef, useMemo, useCallback, useReducer } from "preact/hooks";
13
- import { U as useAnalyticsContext, a as useTranslation, V as Icon, w as translateStringOrObject, L as Loader, W as noop, x as Typography, N as createLogger, a9 as isEmpty, az as entriesOf, aG as doArraysMatch } from "./StoreProvider-CiZ-dp-b.js";
13
+ import { U as useAnalyticsContext, a as useTranslation, V as Icon, w as translateStringOrObject, L as Loader, W as noop, x as Typography, N as createLogger, a9 as isEmpty, az as entriesOf, aG as doArraysMatch } from "./StoreProvider-DQMRmYOl.js";
14
14
  import { computed, signal, useSignal, useSignalEffect } from "@preact/signals";
15
15
  import { K as KEYBOARD_KEYS } from "./keys-BpNgnAsD.js";
16
- import { d as debouncedInputEvent } from "./analytics-VGKSXUs3.js";
16
+ import { d as debouncedInputEvent } from "./analytics-BwPShVR4.js";
17
17
  function Checkbox({
18
18
  id,
19
19
  name,
@@ -9,16 +9,16 @@
9
9
  ;
10
10
  import { jsxs, jsx } from "preact/jsx-runtime";
11
11
  import { useContext, useState, useCallback, useMemo } from "preact/hooks";
12
- import { bw as StateContext, a as useTranslation, U as useAnalyticsContext, X as useExperimentsContext, B as Button } from "./StoreProvider-CiZ-dp-b.js";
13
- import { L as LoaderWrapper } from "./useForm-B9xiR6rk.js";
14
- import { M as MaybeModal } from "./MaybeModal-CposTKIL.js";
15
- import { a as ModalContent, c as ModalHeader, b as ModalFooter } from "./Modal-BUqWVdHG.js";
12
+ import { bw as StateContext, a as useTranslation, U as useAnalyticsContext, X as useExperimentsContext, B as Button } from "./StoreProvider-DQMRmYOl.js";
13
+ import { L as LoaderWrapper } from "./useForm-DwU-1DTE.js";
14
+ import { M as MaybeModal } from "./MaybeModal-yYXxfhbc.js";
15
+ import { a as ModalContent, c as ModalHeader, b as ModalFooter } from "./Modal-Bf1V6EkA.js";
16
16
  import { S as Spacer } from "./Spacer-BK3jDget.js";
17
- import { S as StepProgressIndicator } from "./StepProgressIndicator-hlEMGZu8.js";
18
- import { t as trackNavigation, F as FormRouterContextProvider } from "./dropinUtils-CAMPNh0H.js";
19
- import { F as FormNavigation } from "./FormNavigation-BPlMuV0j.js";
20
- import { d as summaryStep, S as Summary } from "./CountryField-XyMQgLEa.js";
21
- import { a as debounce } from "./analytics-VGKSXUs3.js";
17
+ import { S as StepProgressIndicator } from "./StepProgressIndicator-eDHas4te.js";
18
+ import { t as trackNavigation, F as FormRouterContextProvider } from "./dropinUtils-QEvP5L8R.js";
19
+ import { F as FormNavigation } from "./FormNavigation-ZmI-v8GQ.js";
20
+ import { d as summaryStep, S as Summary } from "./CountryField-BtmygQ5F.js";
21
+ import { a as debounce } from "./analytics-BwPShVR4.js";
22
22
  function useStateContext() {
23
23
  const context = useContext(StateContext);
24
24
  if (process.env.NODE_ENV === "development" && !context) {
@@ -8,9 +8,9 @@
8
8
  }
9
9
  ;
10
10
  import { useCallback, useMemo, useReducer, useEffect } from "preact/hooks";
11
- import { af as objectsDeepEqual, N as createLogger, a9 as isEmpty } from "./StoreProvider-CiZ-dp-b.js";
12
- import { V as ValidationResult } from "./useForm-B9xiR6rk.js";
13
- import { a as isNotEmptyValidator } from "./commonValidators-DYVRk_o-.js";
11
+ import { af as objectsDeepEqual, N as createLogger, a9 as isEmpty } from "./StoreProvider-DQMRmYOl.js";
12
+ import { V as ValidationResult } from "./useForm-DwU-1DTE.js";
13
+ import { a as isNotEmptyValidator } from "./commonValidators-DSBtv03W.js";
14
14
  const omitKeys = (obj, omit) => Object.keys(obj).filter((k) => !omit.includes(k)).reduce((a, c) => {
15
15
  a[c] = obj[c];
16
16
  return a;
@@ -7,7 +7,7 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { b as useApiContext, j as useQuery, o as httpGet } from "./StoreProvider-CiZ-dp-b.js";
10
+ import { b as useApiContext, j as useQuery, o as httpGet } from "./StoreProvider-DQMRmYOl.js";
11
11
  const getOnboardingStatus = async (legalEntityId, baseUrl) => {
12
12
  return httpGet({
13
13
  baseUrl,
@@ -7,7 +7,7 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { b as useApiContext, j as useQuery, az as entriesOf, q as skipToken, al as Scenarios, o as httpGet } from "./StoreProvider-CiZ-dp-b.js";
10
+ import { b as useApiContext, j as useQuery, az as entriesOf, q as skipToken, al as Scenarios, o as httpGet } from "./StoreProvider-DQMRmYOl.js";
11
11
  const getScenarios = async (legalEntityId, baseUrl, legalEntityType, countryCode) => {
12
12
  const scenarioParams = new URLSearchParams({
13
13
  ...countryCode && { countryCode },
@@ -7,7 +7,7 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { b as useApiContext, j as useQuery, o as httpGet } from "./StoreProvider-CiZ-dp-b.js";
10
+ import { b as useApiContext, j as useQuery, o as httpGet } from "./StoreProvider-DQMRmYOl.js";
11
11
  const getTermsOfServiceAcceptanceInfos = async (legalEntityId, baseUrl) => {
12
12
  return httpGet({
13
13
  baseUrl,
@@ -7,7 +7,7 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { N as createLogger, aC as useQueryClient, b as useApiContext, aH as ToastContext } from "./StoreProvider-CiZ-dp-b.js";
10
+ import { N as createLogger, aC as useQueryClient, b as useApiContext, aH as ToastContext } from "./StoreProvider-DQMRmYOl.js";
11
11
  import { useCallback, useContext } from "preact/hooks";
12
12
  const logger = createLogger();
13
13
  const QUERIES_TO_INVALIDATE_WHEN_ROOT_LE_IS_INVALIDATED = [
@@ -8,10 +8,10 @@
8
8
  }
9
9
  ;
10
10
  import { useMemo } from "preact/hooks";
11
- import { y as LegalEntityTypes, a6 as getOwnEntityAssociations, c as useLegalEntity, R as ROOT_LE } from "./StoreProvider-CiZ-dp-b.js";
12
- import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-CdDDTgFh.js";
13
- import { U as UnincorporatedPartnershipMemberTypes } from "./CountryField-XyMQgLEa.js";
14
- import { g as getLegalEntityNameBasedOnType } from "./getName-CLl4DLz5.js";
11
+ import { y as LegalEntityTypes, a6 as getOwnEntityAssociations, c as useLegalEntity, R as ROOT_LE } from "./StoreProvider-DQMRmYOl.js";
12
+ import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-By5fzMwK.js";
13
+ import { U as UnincorporatedPartnershipMemberTypes } from "./CountryField-BtmygQ5F.js";
14
+ import { g as getLegalEntityNameBasedOnType } from "./getName-BitxRg1w.js";
15
15
  const getMemberOwnerId = (memberId, entityAssociations) => entityAssociations.find((association) => association.associatorId === memberId)?.legalEntityId;
16
16
  const convertEntityAssociationIntoUnincorporatedPartnershipMember = (association) => {
17
17
  if (association.entityType === LegalEntityTypes.INDIVIDUAL || association.entityType === LegalEntityTypes.ORGANIZATION)
@@ -7,7 +7,7 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { a8 as CountryCodes } from "./StoreProvider-CiZ-dp-b.js";
10
+ import { a8 as CountryCodes } from "./StoreProvider-DQMRmYOl.js";
11
11
  function getLocalizedIdDocumentTypeOptions(country) {
12
12
  switch (country) {
13
13
  case CountryCodes.Japan:
@@ -8,12 +8,12 @@
8
8
  }
9
9
  ;
10
10
  import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
11
- import { R as RadioGroupCard } from "./fieldConfigurations-D1NqrGgr.js";
12
- import { a as useTranslation, g as getLegalEntityCountry, bC as getCapabilities, y as LegalEntityTypes, G as hasOwnEntityAssociationOfType, a8 as CountryCodes } from "./StoreProvider-CiZ-dp-b.js";
13
- import { C as CompanyTypesValues } from "./bafinUtils-rVLqT7tm.js";
14
- import { d as allowIndividualWithoutSoleProp } from "./OnboardingDropinComponent-BQMB-M3f.js";
15
- import { S as SOLE_PROP_COUNTRIES } from "./rules-mx2LkA3c.js";
16
- import { A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-BgtfChBm.js";
11
+ import { R as RadioGroupCard } from "./fieldConfigurations-DNP02RYf.js";
12
+ import { a as useTranslation, g as getLegalEntityCountry, bC as getCapabilities, y as LegalEntityTypes, G as hasOwnEntityAssociationOfType, a8 as CountryCodes } from "./StoreProvider-DQMRmYOl.js";
13
+ import { C as CompanyTypesValues } from "./bafinUtils-DI8t60Xa.js";
14
+ import { d as allowIndividualWithoutSoleProp } from "./OnboardingDropinComponent-aBc7y5Gd.js";
15
+ import { S as SOLE_PROP_COUNTRIES } from "./rules-lhkQyQGe.js";
16
+ import { A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-DTkNMQWv.js";
17
17
  const EntityTypeRadioGroupCard = ({
18
18
  examples,
19
19
  optionDescription,
@@ -7,7 +7,7 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { a8 as CountryCodes } from "./StoreProvider-CiZ-dp-b.js";
10
+ import { a8 as CountryCodes } from "./StoreProvider-DQMRmYOl.js";
11
11
  const addressFields = [
12
12
  "address",
13
13
  "otherAddressInformation",
@@ -8,13 +8,13 @@
8
8
  }
9
9
  ;
10
10
  import { useCallback, useState, useMemo, useEffect } from "preact/hooks";
11
- import { b as useApiContext, k as httpPost, a8 as CountryCodes, a9 as isEmpty, N as createLogger, a as useTranslation, az as entriesOf } from "./StoreProvider-CiZ-dp-b.js";
11
+ import { b as useApiContext, k as httpPost, a8 as CountryCodes, a9 as isEmpty, N as createLogger, a as useTranslation, az as entriesOf } from "./StoreProvider-DQMRmYOl.js";
12
12
  import { jsx, jsxs } from "preact/jsx-runtime";
13
- import { F as Field, c as Select } from "./useForm-B9xiR6rk.js";
14
- import { m as mergeFieldMetadataIntoProps, c as createFormUtils, F as FormHeader } from "./CountryField-XyMQgLEa.js";
15
- import { m as makeMask, a as nonInputs, n as numericInputs, s as spacer, M as MaskedInput, I as InputEmail } from "./MaskedInput-Nyf8vcDx.js";
16
- import { r as resolveFieldMetadata } from "./fieldConfigurations-D1NqrGgr.js";
17
- import { u as useDataset, d as datasetIdentifier } from "./useDataset-gWnPim6D.js";
13
+ import { F as Field, c as Select } from "./useForm-DwU-1DTE.js";
14
+ import { m as mergeFieldMetadataIntoProps, c as createFormUtils, F as FormHeader } from "./CountryField-BtmygQ5F.js";
15
+ import { m as makeMask, a as nonInputs, n as numericInputs, s as spacer, M as MaskedInput, I as InputEmail } from "./MaskedInput-CyPisB5z.js";
16
+ import { r as resolveFieldMetadata } from "./fieldConfigurations-DNP02RYf.js";
17
+ import { u as useDataset, d as datasetIdentifier } from "./useDataset-BdkrGwQp.js";
18
18
  import { I as InputGroup } from "./InputGroup-WBfGDV5F.js";
19
19
  import { e as emailPattern } from "./basePatterns-BwdnMQxI.js";
20
20
  const validatePhoneNumber = (baseUrl, data) => {
@@ -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] = "3e807c18-d9fe-4afd-bc14-aab576e2afd9", e._sentryDebugIdIdentifier = "sentry-dbid-3e807c18-d9fe-4afd-bc14-aab576e2afd9");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "33cf395d-5033-48e8-b325-b0d6cd56f6cc", e._sentryDebugIdIdentifier = "sentry-dbid-33cf395d-5033-48e8-b325-b0d6cd56f6cc");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
- import { e as TrustedFieldsProviders } from "./fieldConfigurations-D1NqrGgr.js";
11
- import { N as createLogger, bu as businessDetailsApiKeyMapping, a$ as individualApiKeyMapping, aE as remediationHasFileUploadField, bv as dataMissingRemediationsToFieldsMap, aD as keysOf, k as httpPost, aB as httpDelete, o as httpGet, bw as StateContext, a as useTranslation, U as useAnalyticsContext, V as Icon, x as Typography, P as IconButton } from "./StoreProvider-CiZ-dp-b.js";
12
- import { g as getLocalizedIdDocumentTypeOptions } from "./utils-CE3nKLt4.js";
10
+ import { e as TrustedFieldsProviders } from "./fieldConfigurations-DNP02RYf.js";
11
+ import { N as createLogger, bu as businessDetailsApiKeyMapping, a$ as individualApiKeyMapping, aE as remediationHasFileUploadField, bv as dataMissingRemediationsToFieldsMap, aD as keysOf, k as httpPost, aB as httpDelete, o as httpGet, bw as StateContext, a as useTranslation, U as useAnalyticsContext, V as Icon, x as Typography, P as IconButton } from "./StoreProvider-DQMRmYOl.js";
12
+ import { g as getLocalizedIdDocumentTypeOptions } from "./utils-CgAn2DIh.js";
13
13
  import { jsx, jsxs } from "preact/jsx-runtime";
14
14
  import cx from "classnames";
15
15
  import { useEffect } from "preact/hooks";
@@ -30,6 +30,7 @@ function calculateLinkedRequiredFields({
30
30
  const tldsField = makeTLDSFieldName(formId, field);
31
31
  const isRootField = Boolean(linkedFieldsMap[tldsField]);
32
32
  if (isRootField) {
33
+ const linkedFields = linkedFieldsMap[tldsField];
33
34
  const fieldSettings = scenarioConfiguration?.[field];
34
35
  const isFieldRequiredBySettings = fieldSettings && isFieldRequired(fieldSettings, customRules);
35
36
  const isFieldPopulated = formFieldsWithExistingData?.includes(field);
@@ -38,8 +39,13 @@ function calculateLinkedRequiredFields({
38
39
  field,
39
40
  dataMissingErrors
40
41
  );
41
- const isRootFieldRequired = isFieldRequiredBySettings || isFieldPopulated || isFieldNeededToRemediateDataMissingError;
42
- if (!isRootFieldRequired) {
42
+ const areLinkedFieldsPopulated2 = linkedFields?.some((linkedField) => {
43
+ const linkedFieldKey = linkedField.split(".")[1];
44
+ const isLinkedFieldPopulated = formFieldsWithExistingData?.includes(linkedFieldKey);
45
+ return isLinkedFieldPopulated;
46
+ });
47
+ const isRootFieldRequired2 = isFieldRequiredBySettings || isFieldPopulated || isFieldNeededToRemediateDataMissingError || areLinkedFieldsPopulated2;
48
+ if (!isRootFieldRequired2) {
43
49
  return {
44
50
  isRequiredFromLinkedField: false,
45
51
  isOptionalFromLinkedField: false
@@ -63,12 +69,22 @@ function calculateLinkedRequiredFields({
63
69
  isRequiredFromLinkedField: false,
64
70
  isOptionalFromLinkedField: false
65
71
  };
66
- const linkedFieldKey = rootLinkedField.split(".")[1];
67
- const linkedFieldSettings = scenarioConfiguration?.[linkedFieldKey];
68
- const isLinkedFieldRequired = linkedFieldSettings && isFieldRequired(linkedFieldSettings, customRules);
69
- const isLinkedFieldPopulated = formFieldsWithExistingData?.includes(linkedFieldKey);
70
- const isLinkedFieldRequiredToRemediateDataMissingError = isFieldRequiredToRemediateDataMissingError(formId, linkedFieldKey, dataMissingErrors);
71
- const isRootLinkedFieldRequired = isLinkedFieldRequired || isLinkedFieldPopulated || isLinkedFieldRequiredToRemediateDataMissingError;
72
+ const rootFieldKey = rootLinkedField.split(".")[1];
73
+ const rootFieldSettings = scenarioConfiguration?.[rootFieldKey];
74
+ const isRootFieldRequired = rootFieldSettings && isFieldRequired(rootFieldSettings, customRules);
75
+ const isRootFieldPopulated = formFieldsWithExistingData?.includes(rootFieldKey);
76
+ const areLinkedFieldsPopulated = linkedFieldsMap[rootLinkedField]?.some(
77
+ (linkedField) => {
78
+ const fieldKey = linkedField.split(".")[1];
79
+ return formFieldsWithExistingData?.includes(fieldKey);
80
+ }
81
+ );
82
+ const isRootFieldRequiredToRemediateDataMissingError = isFieldRequiredToRemediateDataMissingError(
83
+ formId,
84
+ rootFieldKey,
85
+ dataMissingErrors
86
+ );
87
+ const isRootLinkedFieldRequired = isRootFieldRequired || isRootFieldPopulated || areLinkedFieldsPopulated || isRootFieldRequiredToRemediateDataMissingError;
72
88
  if (!isRootLinkedFieldRequired) {
73
89
  return {
74
90
  isRequiredFromLinkedField: false,
@@ -7,7 +7,7 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { an as hasText } from "./StoreProvider-CiZ-dp-b.js";
10
+ import { an as hasText } from "./StoreProvider-DQMRmYOl.js";
11
11
  const validateLegalEntityIdentifier = (legalEntityIdentifier) => {
12
12
  if (!legalEntityIdentifier) {
13
13
  return true;
@@ -7,7 +7,7 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { M as TaskTypes, bq as remediationPayoutApiKeyMapping, br as remediationBusinessDetailsApiKeyMapping, bs as remediationIndividualApiKeyMapping } from "./StoreProvider-CiZ-dp-b.js";
10
+ import { M as TaskTypes, bq as remediationPayoutApiKeyMapping, br as remediationBusinessDetailsApiKeyMapping, bs as remediationIndividualApiKeyMapping } from "./StoreProvider-DQMRmYOl.js";
11
11
  import { a as assignToProp } from "./utils-DNSfZiio.js";
12
12
  const isMaintenanceModeError = (error) => error && typeof error === "object" && "messageCode" in error && error.messageCode === "maintenanceMode";
13
13
  const overrideKeyMapping = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adyen/kyc-components",
3
- "version": "3.82.3",
3
+ "version": "3.82.4",
4
4
  "keywords": [
5
5
  "adyen",
6
6
  "adyen-kyc",