@adyen/kyc-components 3.70.0-beta.0 → 3.70.0

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 (132) hide show
  1. package/dist/{AU-DBnla6IS.js → AU-CaovX9P8.js} +4 -5
  2. package/dist/{AcceptTermsOfServiceComponent-DGnbaEif.js → AcceptTermsOfServiceComponent-D-HcDOBq.js} +200 -13
  3. package/dist/{AccountSetupRejected-BUjkuj8y.js → AccountSetupRejected-voqgiesN.js} +3 -3
  4. package/dist/{BE-By7sRfJq.js → BE-H45zzgu4.js} +3 -2
  5. package/dist/{BR-CG-ZSQQz.js → BR-Dmkd5VjU.js} +5 -5
  6. package/dist/BusinessDetailsDropin-CnGwMWvN.js +2406 -0
  7. package/dist/{BusinessTypeSelection-DqYdtKWT.js → BusinessTypeSelection-DQr-2_Iq.js} +31 -30
  8. package/dist/{CH-DNjTl_X_.js → CH-DVyjmrDH.js} +4 -2
  9. package/dist/{CXEL7IU7-D4uuriQj.js → CXEL7IU7-Do0b5BzU.js} +3 -3
  10. package/dist/{CZ-DDucwl8A.js → CZ-1E7Zx2il.js} +3 -4
  11. package/dist/CreateIndividualComponent-BuBNDvhx.js +7204 -0
  12. package/dist/{CustomerSupport-Dt_GbO2W.js → CustomerSupport-BJrkWmYp.js} +4 -4
  13. package/dist/{DE-LKZHA8bh.js → DE-D7HKgI77.js} +6 -5
  14. package/dist/{DK-moHaAY_C.js → DK-x6M9-ek-.js} +2 -4
  15. package/dist/{DebugModal-DqSAxc2y.js → DebugModal-DdFbk-rz.js} +11 -10
  16. package/dist/{DecisionMakers-DCP-NbPE.js → DecisionMakers-DghodKJR.js} +5 -5
  17. package/dist/{ES-BOW3pjTD.js → ES-CeohntGo.js} +6 -7
  18. package/dist/{EmbedShell-D1F1J3bv.js → EmbedShell-BaZnwexg.js} +5 -6
  19. package/dist/{EventEmitter-B5nDiK-t.js → EventEmitter-Cfyz1mmg.js} +2742 -3396
  20. package/dist/{FI-gB1Mh_9c.js → FI-BOex4MFx.js} +3 -5
  21. package/dist/{FR-iSfxCiGj.js → FR-CAxkckai.js} +4 -4
  22. package/dist/{GB-UYrtNfT0.js → GB-DUnW-a4M.js} +2 -4
  23. package/dist/{HASRA6WW-yCLwR-7b.js → HASRA6WW-CLlxPThM.js} +2 -2
  24. package/dist/{HK-BsLgqwJt.js → HK-eKVHN8Vg.js} +4 -4
  25. package/dist/{HR-BOrmO4s8.js → HR-BHhcnUGU.js} +3 -3
  26. package/dist/{HU-DSPD5z5O.js → HU-hfSSMbei.js} +1 -4
  27. package/dist/{I3HPI4QX-DmhzJNXt.js → I3HPI4QX-BW3ApIxs.js} +3 -3
  28. package/dist/{IE-BNxtcUkX.js → IE-BN3Eiv5M.js} +2 -2
  29. package/dist/{IT-CjMPVtH8.js → IT-CBt6Os6J.js} +4 -7
  30. package/dist/{Introduction-Dhm3WEef.js → Introduction-C8dJNT23.js} +5 -3
  31. package/dist/{LT-CUUN_JaO.js → LT-Dkevn83h.js} +2 -4
  32. package/dist/{NL-C3ArXgfX.js → NL-zm__7LWV.js} +3 -3
  33. package/dist/{NO-yBcMewGZ.js → NO-BAcMdKUJ.js} +5 -4
  34. package/dist/NZ-DDRknBQk.js +20 -0
  35. package/dist/{PL-DGMOmdSy.js → PL-D6_6gquq.js} +6 -5
  36. package/dist/{PT-D3NkDIsX.js → PT-C2dln191.js} +3 -3
  37. package/dist/{RO-Bo0cNUJf.js → RO-C_utD--1.js} +2 -4
  38. package/dist/{Review-B5Drv-UX.js → Review-DbvMjmRe.js} +3 -3
  39. package/dist/{SE-W4QBeQtP.js → SE-BqGOP1F1.js} +2 -4
  40. package/dist/{SI-DoClLcmM.js → SI-DBADzvYO.js} +3 -6
  41. package/dist/{SK-DmiByqvu.js → SK-DamCBYsZ.js} +2 -4
  42. package/dist/{SingpassSelection-Djfz5Puu.js → SingpassSelection-CJRAISeY.js} +2 -2
  43. package/dist/SourceOfFunds.module-BhujhW0d.js +132 -0
  44. package/dist/SourceOfFundsDropin-NxYXl3NE.js +3041 -0
  45. package/dist/{listToRecord-BwWy8lby.js → TaskItemStatus-ChW10MdE.js} +3 -11
  46. package/dist/{TaxReportingDropin-CpStwino.js → TaxReportingDropin-_MxQClQd.js} +27 -45
  47. package/dist/TrustDropin-BcxdDqKa.js +706 -0
  48. package/dist/adyen-kyc-components.js +1 -1
  49. package/dist/adyenConfig.js +3 -3
  50. package/dist/core-BwyfkHN1.js +8426 -0
  51. package/dist/{css-CWOdPM3V.js → css-CcrdHRiR.js} +2 -2
  52. package/dist/en-US-QbdqemZi.js +202 -0
  53. package/dist/formatCurrency-CMOSdJMB.js +29 -0
  54. package/dist/individual.js +8 -6
  55. package/dist/ja-JP-DU7yCJYq.js +202 -0
  56. package/dist/{json-B7P51psT.js → json-jBhgszKy.js} +2 -2
  57. package/dist/listToRecord-CO3M1Q74.js +19 -0
  58. package/dist/{plaintext-C3KsPoAZ.js → plaintext-RpKLxlRt.js} +2 -2
  59. package/dist/style.css +1019 -945
  60. package/dist/styles-CLV89_hH.js +1014 -940
  61. package/dist/terms-of-service.js +8 -6
  62. package/dist/toCapitalized-Bq7laD0b.js +13 -0
  63. package/dist/types/api/configurations/useVersionConfiguration.d.ts +0 -5
  64. package/dist/types/api/legalEntity/useLegalEntity.d.ts +9 -3
  65. package/dist/types/api/queryKeys.d.ts +3 -1
  66. package/dist/types/api/uiAnalytics/useAnalyticsSession.d.ts +5 -4
  67. package/dist/types/components/BankAccount/forms/PayoutAccount/payoutAccountFormat.d.ts +2 -0
  68. package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +1 -1
  69. package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/PayoutDetailsDropin.d.ts +1 -1
  70. package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +2 -0
  71. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/types.d.ts +2 -0
  72. package/dist/types/components/EFP/tasks/TaxReportingDropin/types.d.ts +1 -0
  73. package/dist/types/components/EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types.d.ts +0 -3
  74. package/dist/types/components/Individual/forms/Individual/IdVerification/idVerificationProviderId.d.ts +1 -0
  75. package/dist/types/components/Individual/forms/Individual/IndividualOuter.d.ts +26 -0
  76. package/dist/types/components/Individual/forms/Individual/types.d.ts +3 -2
  77. package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/IdVerificationMethod.d.ts +1 -1
  78. package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/IdVerificationMethod.types.d.ts +3 -0
  79. package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.types.d.ts +4 -2
  80. package/dist/types/components/Individual/helpers/isOnfidoAutofillFlowEnabled.d.ts +4 -0
  81. package/dist/types/components/Individual/helpers/shouldShowMotionCapture.d.ts +2 -3
  82. package/dist/types/components/Individual/tasks/IndividualDropin/IndividualDropin.d.ts +1 -1
  83. package/dist/types/components/Individual/tasks/IndividualOnfidoDropin/IndividualOnfidoDropin.d.ts +1 -1
  84. package/dist/types/components/Shared/AllowedCountryGate/AllowedCountryGate.d.ts +7 -0
  85. package/dist/types/components/Shared/FormFlow/FormFlow.d.ts +3 -0
  86. package/dist/types/components/Shared/FormFlow/FormFlow.types.d.ts +23 -0
  87. package/dist/types/components/Shared/FormNavigation/FormNavigation.d.ts +1 -0
  88. package/dist/types/components/Shared/FormNavigation/FormNavigationItem.d.ts +1 -0
  89. package/dist/types/components/Shared/FormWrapper/FormWrapper.d.ts +1 -0
  90. package/dist/types/components/Shared/fields/IdFieldTypeSelector/countryIdNumberTypes.d.ts +2 -2
  91. package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
  92. package/dist/types/components/Trust/forms/Trust/types.d.ts +1 -0
  93. package/dist/types/components/Trust/forms/TrustRegistrationDetails/types.d.ts +4 -9
  94. package/dist/types/components/Trust/hooks/useTrustMemberNavigation.hook.d.ts +1 -1
  95. package/dist/types/components/Trust/utils/trustUtil.d.ts +2 -2
  96. package/dist/types/components/index.d.ts +1 -2
  97. package/dist/types/components/ui/atoms/ProgressBar/ProgressBar.d.ts +3 -0
  98. package/dist/types/components/ui/atoms/ProgressBar/ProgressBar.types.d.ts +5 -0
  99. package/dist/types/components/ui/atoms/StepProgressIndicator/StepProgressIndicator.d.ts +1 -0
  100. package/dist/types/core/EmbedShell/EmbedShell.d.ts +2 -3
  101. package/dist/types/core/UIElement/UIElement.d.ts +1 -2
  102. package/dist/types/core/analytics.d.ts +1 -1
  103. package/dist/types/core/models/api/instant-id-verification.d.ts +1 -1
  104. package/dist/types/core/models/api/trust.d.ts +2 -2
  105. package/dist/types/core/models/errors/entity-problems.d.ts +5 -3
  106. package/dist/types/embeds/utils.d.ts +2 -2
  107. package/dist/types/hooks/useAccountHolder.d.ts +1 -1
  108. package/dist/types/hooks/useForm/types.d.ts +0 -1
  109. package/dist/types/hooks/useTrustMembers.d.ts +2 -0
  110. package/dist/types/hooks/useUnincorporatedPartnershipMembers.d.ts +2 -0
  111. package/dist/types/stores/globalStore/determineTaskIdentifiers.d.ts +1 -1
  112. package/dist/types/stores/globalStore/globalStore.d.ts +18 -40
  113. package/dist/types/utils/api/getProblemsForEntity.d.ts +5 -0
  114. package/dist/types/utils/api/processValidationErrors.d.ts +2 -5
  115. package/dist/types/utils/api/useCapabilities.d.ts +2 -0
  116. package/dist/types/utils/entityAssociationUtil.d.ts +2 -1
  117. package/dist/types/utils/entityStatusUtil.d.ts +1 -1
  118. package/dist/types/utils/getLegalEntityCountry.d.ts +2 -2
  119. package/dist/types/utils/signals/useSignalValue.d.ts +40 -0
  120. package/dist/utils-BI1ZfPqr.js +228 -0
  121. package/dist/{utils-Do7EwrWz.js → utils-C6fwKsVX.js} +7 -4
  122. package/dist/{yaml-Cv3Lis4l.js → yaml-BtUk5udq.js} +2 -2
  123. package/package.json +2 -4
  124. package/dist/CreateIndividualComponent-DArsdfFf.js +0 -3697
  125. package/dist/core-BY7J00UO.js +0 -18119
  126. package/dist/types/components/Individual/forms/Individual/IndividualExperimentWrapper.d.ts +0 -3
  127. package/dist/types/components/Individual/tasks/IndividualDropin/mandatoryFields.d.ts +0 -5
  128. package/dist/types/components/Individual/tasks/IndividualOnfidoDropin/mandatoryFields.d.ts +0 -5
  129. package/dist/types/context/CoreContext/CoreContext.d.ts +0 -17
  130. package/dist/types/context/CoreContext/CoreProvider.d.ts +0 -7
  131. package/dist/types/context/CoreContext/useCoreContext.d.ts +0 -2
  132. package/dist/types/core/models/api/trust-types-value.d.ts +0 -21
@@ -2,15 +2,15 @@
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] = "a889409b-d67c-44eb-af3e-3ba3d5099205", e._sentryDebugIdIdentifier = "sentry-dbid-a889409b-d67c-44eb-af3e-3ba3d5099205");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "26ffa140-da1d-49a8-a3c3-813079730e36", e._sentryDebugIdIdentifier = "sentry-dbid-26ffa140-da1d-49a8-a3c3-813079730e36");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx, jsxs } from "preact/jsx-runtime";
11
- import { u as useLegalEntity, K as Loader, i as useI18nContext, j as useAnalyticsContext, l as useToastContext, f as useQueryClient, aS as resolveFieldMetadata, dS as defaultFieldMetadata, dT as fieldConfig, cp as getAsyncPhoneValidationRules, bZ as FormHeader, ca as ContactDetails, cI as ActionBar, c as createLogger } from "./EventEmitter-B5nDiK-t.js";
11
+ import { N as useLegalEntity, Q as Loader, W as ROOT_LE, e as useI18nContext, f as useAnalyticsContext, t as useToastContext, d as useQueryClient, ay as resolveFieldMetadata, ci as defaultFieldMetadata, cj as fieldConfig, cv as getAsyncPhoneValidationRules, aE as FormHeader, d3 as ContactDetails, aT as ActionBar, a3 as createLogger } from "./EventEmitter-Cfyz1mmg.js";
12
12
  import { useCallback, useMemo, useEffect } from "preact/hooks";
13
- import { B as useUpdateLegalEntity, H as contactDetailsValidationRules, L as useValidatePhoneNumberImperatively, N as useMultiForm } from "./CreateIndividualComponent-DArsdfFf.js";
13
+ import { z as useUpdateLegalEntity, H as contactDetailsValidationRules, I as useValidatePhoneNumberImperatively, J as useMultiForm } from "./CreateIndividualComponent-BuBNDvhx.js";
14
14
  const mapCustomerSupportSchemaToCustomerSupportType = (customerSupport) => {
15
15
  var _a, _b, _c;
16
16
  return {
@@ -23,7 +23,7 @@ const mapCustomerSupportSchemaToCustomerSupportType = (customerSupport) => {
23
23
  };
24
24
  const logger = createLogger();
25
25
  const CustomerSupport = (props) => {
26
- const { data, isLoading } = useLegalEntity();
26
+ const { data, isLoading } = useLegalEntity(ROOT_LE);
27
27
  if (isLoading || !data) {
28
28
  return /* @__PURE__ */ jsx(Loader, { size: "large" });
29
29
  }
@@ -2,7 +2,7 @@
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] = "d2f81514-bb35-49e9-aa41-fc0a5f793e70", e._sentryDebugIdIdentifier = "sentry-dbid-d2f81514-bb35-49e9-aa41-fc0a5f793e70");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "a50116e6-229b-4efd-98af-d003725b1f48", e._sentryDebugIdIdentifier = "sentry-dbid-a50116e6-229b-4efd-98af-d003725b1f48");
6
6
  } catch (e) {
7
7
  }
8
8
  }
@@ -14,12 +14,13 @@ const DE = {
14
14
  "wirtschaftlicher Verein"
15
15
  ],
16
16
  partnershipIncorporated: [
17
- "Partnerschaftsgesellschaft (PartG)",
18
- "GmbH & Co. KG"
17
+ "GmbH & Co. KG",
18
+ "Kommanditgesellschaft auf Aktien (KGaA)",
19
+ "Kommanditgesellschaft (KG)",
20
+ "Offene Handelsgesellschaft (OHG)"
19
21
  ],
20
22
  partnershipUnincorporated: [
21
- "GmbH & Co. OHG",
22
- "offene Handelsgesellschaft (OHG)",
23
+ "Partnerschaftsgesellschaft (PartG)",
23
24
  "Gesellschaft des bürgerlichen Rechts (GbR)"
24
25
  ]
25
26
  };
@@ -2,7 +2,7 @@
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] = "e3a043f8-cd1e-48c1-9833-edcb6f792acf", e._sentryDebugIdIdentifier = "sentry-dbid-e3a043f8-cd1e-48c1-9833-edcb6f792acf");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "ab0c9d8c-7bf1-4a4f-b0aa-511c7e176170", e._sentryDebugIdIdentifier = "sentry-dbid-ab0c9d8c-7bf1-4a4f-b0aa-511c7e176170");
6
6
  } catch (e) {
7
7
  }
8
8
  }
@@ -15,9 +15,7 @@ const DK = {
15
15
  ],
16
16
  partnershipIncorporated: [
17
17
  "partnerselskab (P/S)",
18
- "kommanditselskab (K/S)"
19
- ],
20
- partnershipUnincorporated: [
18
+ "kommanditselskab (K/S)",
21
19
  "interessentskab (I/S)"
22
20
  ]
23
21
  };
@@ -2,15 +2,16 @@
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] = "56f5176b-9299-4095-875b-36ef7432b219", e._sentryDebugIdIdentifier = "sentry-dbid-56f5176b-9299-4095-875b-36ef7432b219");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "e54ec36a-3804-424c-809b-d4ef1e2acff9", e._sentryDebugIdIdentifier = "sentry-dbid-e54ec36a-3804-424c-809b-d4ef1e2acff9");
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 { G as Button, $ as entriesOf, bd as InputText, i as useI18nContext, e2 as splitTaskIdentifier, n as useExperimentsContext, o as useSettingsContext, cv as useGlobalStore, e3 as valuesOf, e4 as useTaskStatuses, M as Modal, c as createLogger, Q as Icon, S as SettingNames } from "./EventEmitter-B5nDiK-t.js";
13
- import { T as Tag, a as TaskItemStatus, l as listToRecord } from "./listToRecord-BwWy8lby.js";
12
+ import { B as Button, a2 as entriesOf, be as InputText, e as useI18nContext, dn as splitTaskIdentifier, g as useExperimentsContext, v as useSettingsContext, an as useSignalValue, ao as useGlobalStore, dp as valuesOf, I as Modal, a3 as createLogger, V as Icon, E as SettingNames } from "./EventEmitter-Cfyz1mmg.js";
13
+ import { l as listToRecord } from "./listToRecord-CO3M1Q74.js";
14
+ import { T as Tag, a as TaskItemStatus } from "./TaskItemStatus-ChW10MdE.js";
14
15
  var ExperimentNames = /* @__PURE__ */ ((ExperimentNames2) => {
15
16
  ExperimentNames2["AllowMoreRolesForMainRootTrustee"] = "AllowMoreRolesForMainRootTrustee";
16
17
  ExperimentNames2["ShowUnsupportedEntityType"] = "ShowUnsupportedEntityType";
@@ -176,10 +177,10 @@ const transformModule = (highlights, codeNode, scope) => {
176
177
  };
177
178
  const supportedModules = ["plaintext", "json", "yaml", "css"];
178
179
  const moduleMap = {
179
- plaintext: () => import("./plaintext-C3KsPoAZ.js"),
180
- json: () => import("./json-B7P51psT.js"),
181
- yaml: () => import("./yaml-Cv3Lis4l.js"),
182
- css: () => import("./css-CWOdPM3V.js")
180
+ plaintext: () => import("./plaintext-RpKLxlRt.js"),
181
+ json: () => import("./json-jBhgszKy.js"),
182
+ yaml: () => import("./yaml-BtUk5udq.js"),
183
+ css: () => import("./css-CcrdHRiR.js")
183
184
  };
184
185
  const getModule = async (name) => {
185
186
  if (!supportedModules.includes(name)) {
@@ -468,15 +469,15 @@ const DebugModal = ({ onExit }) => {
468
469
  const [debugInfoCopied, setDebugInfoCopied] = useState(false);
469
470
  const { i18n } = useI18nContext();
470
471
  const [tab, setTab] = useState("metadata");
471
- const rootLegalEntity = useGlobalStore((store) => store.rootLegalEntity);
472
+ const rootLegalEntity = useSignalValue(useGlobalStore().rootLegalEntity);
472
473
  const metadata = {
473
- sdkVersion: "3.70.0-beta.0",
474
+ sdkVersion: "3.70.0",
474
475
  locale: i18n.locale,
475
476
  rootLegalEntityId: rootLegalEntity.id
476
477
  };
477
478
  const experiments = listToRecord(valuesOf(ExperimentNames), isExperimentEnabled);
478
479
  const settings = listToRecord(valuesOf(SettingNames), getSetting);
479
- const taskStatuses = useTaskStatuses();
480
+ const taskStatuses = useSignalValue(useGlobalStore().taskStatuses);
480
481
  const legalEntityData = {
481
482
  rootLegalEntity,
482
483
  rootLegalEntityType: rootLegalEntity.type
@@ -2,18 +2,18 @@
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] = "33063de5-cc8f-403d-99d8-24a503b8e604", e._sentryDebugIdIdentifier = "sentry-dbid-33063de5-cc8f-403d-99d8-24a503b8e604");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "79d39f39-2dc3-4b00-96ba-e653b4383adc", e._sentryDebugIdIdentifier = "sentry-dbid-79d39f39-2dc3-4b00-96ba-e653b4383adc");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx, jsxs } from "preact/jsx-runtime";
11
11
  import { useState, useEffect } from "preact/hooks";
12
- import { u as useLegalEntity, K as Loader, ai as useGetTaskStatus, i as useI18nContext, j as useAnalyticsContext, l as useToastContext, d5 as getOwnDecisionMakers, bI as getAvailableDecisionMakerRoleTypes, T as TaskTypes, cr as getAllowedDecisionMakerRoles, bZ as FormHeader, c5 as ContextGuidance, bH as DecisionMakerType, V as Alert, af as CardGroup, G as Button, cI as ActionBar } from "./EventEmitter-B5nDiK-t.js";
13
- import { B as useUpdateLegalEntity } from "./CreateIndividualComponent-DArsdfFf.js";
14
- import { h as useDataMissingRemediations, D as DropinLayout, E as EntityGuidanceStatus, i as iconStatus, j as EntityAssociation } from "./core-BY7J00UO.js";
12
+ import { N as useLegalEntity, Q as Loader, W as ROOT_LE, ap as useGetTaskStatus, e as useI18nContext, f as useAnalyticsContext, t as useToastContext, b6 as getOwnDecisionMakers, cL as getAvailableDecisionMakerRoleTypes, T as TaskTypes, cB as getAllowedDecisionMakerRoles, aE as FormHeader, aZ as ContextGuidance, co as DecisionMakerType, Z as Alert, al as CardGroup, B as Button, aT as ActionBar } from "./EventEmitter-Cfyz1mmg.js";
13
+ import { z as useUpdateLegalEntity } from "./CreateIndividualComponent-BuBNDvhx.js";
14
+ import { b as useDataMissingRemediations, D as DropinLayout, E as EntityGuidanceStatus, i as iconStatus, c as EntityAssociation } from "./core-BwyfkHN1.js";
15
15
  const DecisionMakers = (props) => {
16
- const { data, isLoading } = useLegalEntity();
16
+ const { data, isLoading } = useLegalEntity(ROOT_LE);
17
17
  if (isLoading || !data) {
18
18
  return /* @__PURE__ */ jsx(Loader, {});
19
19
  }
@@ -2,7 +2,7 @@
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] = "c930601c-60fd-43fc-bb37-bdedb6bb22c8", e._sentryDebugIdIdentifier = "sentry-dbid-c930601c-60fd-43fc-bb37-bdedb6bb22c8");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "3bcf5383-e175-499d-a10f-113033d45f73", e._sentryDebugIdIdentifier = "sentry-dbid-3bcf5383-e175-499d-a10f-113033d45f73");
6
6
  } catch (e) {
7
7
  }
8
8
  }
@@ -12,14 +12,13 @@ const ES = {
12
12
  "asociación"
13
13
  ],
14
14
  partnershipIncorporated: [
15
- "sociedad civil",
16
- "sociedad limitada laboral (SLL)",
17
- "unión temporal de empresas (UTE)"
15
+ "Sociedad en Comandita por Acciones (SCA)",
16
+ "Sociedad Comanditaria Simple (SCS)",
17
+ "Sociedad Colectiva (SC)"
18
18
  ],
19
19
  partnershipUnincorporated: [
20
- "comunidad de bienes",
21
- "herencia yacente",
22
- "comunidad de propietarios en régimen de propiedad horizontal"
20
+ "Sociedad Civil",
21
+ "Comunidad de bienes"
23
22
  ]
24
23
  };
25
24
  export {
@@ -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] = "63ff3849-79a2-481f-8695-f41f8858765c", e._sentryDebugIdIdentifier = "sentry-dbid-63ff3849-79a2-481f-8695-f41f8858765c");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "65ac7161-f84b-4435-9cef-c4ee6153282b", e._sentryDebugIdIdentifier = "sentry-dbid-65ac7161-f84b-4435-9cef-c4ee6153282b");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
11
- import { d$ as refreshSession, G as Button, K as Loader, db as SettingsProvider, dc as ExperimentsContextProvider, dd as ApiProvider, de as QueryClientProvider, df as StoreProvider, dg as AnalyticsProvider, dh as CoreProvider, di as I18nProvider, da as EventEmitter, dj as DebugListener, dk as ToastContextProvider, dl as StateProvider, dm as ReactQueryDevtools2, dq as setSdkTokenHandler } from "./EventEmitter-B5nDiK-t.js";
11
+ import { dl as refreshSession, B as Button, Q as Loader, by as SettingsProvider, bz as ExperimentsContextProvider, bA as ApiProvider, bB as QueryClientProvider, bC as StoreProvider, bD as AnalyticsProvider, bE as I18nProvider, bx as EventEmitter, bF as DebugListener, bG as ToastContextProvider, bH as StateProvider, bI as ReactQueryDevtools2, bL as setSdkTokenHandler } from "./EventEmitter-Cfyz1mmg.js";
12
12
  import { useState, useEffect } from "preact/hooks";
13
13
  function injectCss(shadowRoot) {
14
14
  {
@@ -32,7 +32,6 @@ const EmbedShell = ({
32
32
  baseUrl,
33
33
  getSdkToken,
34
34
  componentName,
35
- contextCountry,
36
35
  locale
37
36
  }) => {
38
37
  const eventEmitter = new EventEmitter();
@@ -58,16 +57,16 @@ const EmbedShell = ({
58
57
  }
59
58
  return /* @__PURE__ */ jsx(SettingsProvider, { settings, children: /* @__PURE__ */ jsx(ExperimentsContextProvider, { experiments, refreshExperiments, children: /* @__PURE__ */ jsx(ApiProvider, { rootLegalEntityId: legalEntityId, baseUrl, children: /* @__PURE__ */ jsx(QueryClientProvider, { children: /* @__PURE__ */ jsxs(Fragment, { children: [
60
59
  /* @__PURE__ */ jsxs(StoreProvider, { children: [
61
- /* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.70.0-beta.0" }),
60
+ /* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.70.0" }),
62
61
  /* @__PURE__ */ jsx(
63
62
  AnalyticsProvider,
64
63
  {
65
64
  componentName,
66
65
  legalEntityId,
67
- children: /* @__PURE__ */ jsx(CoreProvider, { contextCountry, children: /* @__PURE__ */ jsxs(I18nProvider, { locale, eventEmitter, children: [
66
+ children: /* @__PURE__ */ jsxs(I18nProvider, { locale, eventEmitter, children: [
68
67
  /* @__PURE__ */ jsx(DebugListener, {}),
69
68
  /* @__PURE__ */ jsx("div", { className: "adyen-kyc-ui-element-container-wrapper", children: /* @__PURE__ */ jsx("div", { className: "adyen-kyc-ui-element-container", children: /* @__PURE__ */ jsx(ToastContextProvider, { children: /* @__PURE__ */ jsx(StateProvider, { children }) }) }) })
70
- ] }) })
69
+ ] })
71
70
  }
72
71
  )
73
72
  ] }),