@adyen/kyc-components 3.94.0 → 3.94.2

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 (148) hide show
  1. package/dist/{AcceptTermsOfServiceComponent-UXDlHmf_.js → AcceptTermsOfServiceComponent-_OcgHcl9.js} +16 -16
  2. package/dist/{Accordion-DM9qeMoR.js → Accordion-L-PFPDP9.js} +1 -1
  3. package/dist/{AccountSetupRejected-DfmKQEp-.js → AccountSetupRejected-D8AFUByI.js} +3 -3
  4. package/dist/{ActionBar-DCKuV5BO.js → ActionBar-BfaULouQ.js} +1 -1
  5. package/dist/{Address-BEUcWe_H.js → Address-Bq8Iddwj.js} +10 -10
  6. package/dist/{Alert-D9HbhU88.js → Alert-CNd6ycaR.js} +3 -3
  7. package/dist/{Avatar-C_tjYaBz.js → Avatar-B9HJritf.js} +1 -1
  8. package/dist/{BusinessFinancingComponent-B5gLGmkK.js → BusinessFinancingComponent-D2aE3Mns.js} +5 -5
  9. package/dist/{BusinessFinancingDropin-BpZKzB71.js → BusinessFinancingDropin-4pZFIG7s.js} +28 -28
  10. package/dist/{BusinessFinancingPage-CKdy77OK.js → BusinessFinancingPage-B5WGj6uh.js} +4 -4
  11. package/dist/{BusinessTypeSelectionPage-ClkY9cbT.js → BusinessTypeSelectionPage-D-aVtncz.js} +9 -9
  12. package/dist/{Checkbox-BU4IYlt6.js → Checkbox-BIO_9cEB.js} +1 -1
  13. package/dist/{Confirm-BM1PTsnm.js → Confirm-DFiXu0ds.js} +3 -3
  14. package/dist/{ConstitutionalDocument-D9sPfw_B.js → ConstitutionalDocument-CcIokXH1.js} +18 -18
  15. package/dist/{ContactDetails-BRnbG7BX.js → ContactDetails-Cv7hq3cM.js} +8 -8
  16. package/dist/{ContextGuidance-CZGa7C-r.js → ContextGuidance-bwEv46B5.js} +2 -2
  17. package/dist/{CountryField-DShqP-Yi.js → CountryField-BTxty5-N.js} +5 -5
  18. package/dist/{CreateIndividualComponent-BZ6dd8Bd.js → CreateIndividualComponent-CwnK37G8.js} +5 -5
  19. package/dist/{CreateTransferInstrumentComponent-1pjVr_3y.js → CreateTransferInstrumentComponent-4R6uT0Kj.js} +4 -4
  20. package/dist/{Currency-CEtDxV-F.js → Currency-DUlyAUD_.js} +7 -7
  21. package/dist/{CustomerSupport-gmN79qSl.js → CustomerSupport-B3MmMjSo.js} +11 -11
  22. package/dist/{DebugModal-C3horl0P.js → DebugModal-8J-bFCOH.js} +8 -8
  23. package/dist/{DecisionMakerDetailsPage-CN1t2Ok6.js → DecisionMakerDetailsPage-CR9HG8PG.js} +7 -7
  24. package/dist/{DecisionMakers-83kflZpA.js → DecisionMakers-CkGYdATg.js} +22 -21
  25. package/dist/{Dropzone-DYIUInYF.js → Dropzone-DpnRUhfa.js} +4 -4
  26. package/dist/{EmbeddedStatus-BID4yaOx.js → EmbeddedStatus-BFPsiZWt.js} +3 -3
  27. package/dist/{EndStateLayout-Cqmi0QYW.js → EndStateLayout-Clz7QzRF.js} +1 -1
  28. package/dist/{EntityAssociation-jMAjopdW.js → EntityAssociation-CrGIaM4A.js} +6 -6
  29. package/dist/{EntityGuidanceStatus-ek-5IvZb.js → EntityGuidanceStatus-D_fk7N6f.js} +3 -3
  30. package/dist/{ErrorPanel-ByEaxCQu.js → ErrorPanel-DHW6PukY.js} +2 -2
  31. package/dist/{Field-Cp_UOAnA.js → Field-D7xDX5cp.js} +1 -1
  32. package/dist/{FormNavigation-CttAyMuX.js → FormNavigation-SubDiH2y.js} +3 -3
  33. package/dist/{FormWrapper-C8UDjnjQ.js → FormWrapper-DFzPCBbo.js} +9 -9
  34. package/dist/{Header-CIxJSQWR.js → Header-BI6y9D2c.js} +1 -1
  35. package/dist/Image-BquCL84L.js +27 -0
  36. package/dist/{Individual.rules-DEhHxeiv.js → Individual.rules-D212IUeD.js} +6 -6
  37. package/dist/{IndividualDropin-Dz2ooI0s.js → IndividualDropin-C2M-Z8k5.js} +53 -53
  38. package/dist/{InputDate-z9OpUslu.js → InputDate-CCdMEK75.js} +2 -2
  39. package/dist/{InputText-CBhD5jca.js → InputText-h5wzkP3A.js} +2 -2
  40. package/dist/{Introduction-Bm3kybSH.js → Introduction-GePezr9a.js} +4 -4
  41. package/dist/{JpAddress-owiNWOqn.js → JpAddress-Bv5yzGQi.js} +9 -9
  42. package/dist/{LandingLayout-BuBU3Pyb.js → LandingLayout-bICQiWdq.js} +1 -1
  43. package/dist/{LegalRepresentativeDetailsPage-vS7jAxuO.js → LegalRepresentativeDetailsPage-CEat5jp8.js} +4 -4
  44. package/dist/{Link-CIBefZJS.js → Link-BqcY7l2r.js} +1 -1
  45. package/dist/{ListItem-CnzgA-sH.js → ListItem-Df8bVw5e.js} +2 -2
  46. package/dist/{LoaderWrapper-CwhIpGKR.js → LoaderWrapper-B-VQP_64.js} +1 -1
  47. package/dist/{ManageIndividualComponent-CJEqOUgN.js → ManageIndividualComponent-dwt0Vbpz.js} +5 -5
  48. package/dist/{ManageTermsOfServiceComponent-BdiC5Nbd.js → ManageTermsOfServiceComponent-gs4SCV1y.js} +3 -3
  49. package/dist/{ManageTransferInstrumentComponent-CObC5Uof.js → ManageTransferInstrumentComponent-BdbfUuTs.js} +12 -12
  50. package/dist/{MaskedInput-BfI4FGAA.js → MaskedInput-Dw6DiP7U.js} +5 -5
  51. package/dist/{MaybeModal-DHcu32Dh.js → MaybeModal-CB0qEPJg.js} +3 -3
  52. package/dist/{Modal-BKWXTEoU.js → Modal-CugB_M4G.js} +1 -1
  53. package/dist/{Name-BCar2_dk.js → Name-CRycp0TD.js} +5 -5
  54. package/dist/{OnboardingDropinComponent-DstStqYS.js → OnboardingDropinComponent-x3jK3rPX.js} +44 -43
  55. package/dist/{PayoutDetailsDropin-DSdlqAe2.js → PayoutDetailsDropin-BKFSbkiy.js} +42 -41
  56. package/dist/{RadioGroup-COsozc9g.js → RadioGroup-BRR9Zkwm.js} +2 -2
  57. package/dist/{RadioGroupCard-xqC3IACY.js → RadioGroupCard-BOugxVT2.js} +2 -2
  58. package/dist/{Review-CZwc-DMp.js → Review-CI9DEArb.js} +7 -7
  59. package/dist/{RootBusinessDetailsPage-BsAtLAyF.js → RootBusinessDetailsPage-Bdhmlv10.js} +5 -5
  60. package/dist/{RootBusinessLinesPage-BRgtyHFs.js → RootBusinessLinesPage-DBwbhC-I.js} +24 -23
  61. package/dist/{RootIndividualDetailsPage-C3wTzTp1.js → RootIndividualDetailsPage-DgeGJUZs.js} +5 -5
  62. package/dist/{Select-DeTBytOH.js → Select-CSWiaeaD.js} +4 -4
  63. package/dist/{SignPCIComponent-CCGyrXvI.js → SignPCIComponent-BxQYTKBM.js} +11 -11
  64. package/dist/{SingpassSelection-BumqRwXI.js → SingpassSelection-DEtpzoZM.js} +6 -6
  65. package/dist/{SoleProprietorshipPage-zgU4q95D.js → SoleProprietorshipPage-D-cP-9mz.js} +4 -4
  66. package/dist/{SourceOfFundsPage-DkjYls-E.js → SourceOfFundsPage-BS_f8OpW.js} +32 -31
  67. package/dist/{StepProgressIndicator-D8PfKJKf.js → StepProgressIndicator-RlKc7VN6.js} +1 -1
  68. package/dist/{StoreProvider-CsZ-qrGt.js → StoreProvider-S9t1Y3h5.js} +12 -12
  69. package/dist/{Summary-DPm9r7Az.js → Summary-CumqLS14.js} +6 -6
  70. package/dist/{TaskVerificationStatus-DrOQToMh.js → TaskVerificationStatus-D0r0yrtS.js} +1 -1
  71. package/dist/{TaxInformationField-NI7Hbgov.js → TaxInformationField-CwC-hkwG.js} +21 -21
  72. package/dist/{TaxReportingDropin-BBUAxx92.js → TaxReportingDropin-DjvbswpW.js} +16 -16
  73. package/dist/{TextArea-CCjCNpAP.js → TextArea-CJHjD6pT.js} +2 -2
  74. package/dist/{TileGroup-BhKhvfLz.js → TileGroup-ShJtmdxC.js} +3 -3
  75. package/dist/{TrustDetailsPage-yOmFcEyO.js → TrustDetailsPage-Bf8acibt.js} +34 -34
  76. package/dist/{TrustMemberCompanyPage-DfXulzKv.js → TrustMemberCompanyPage-Druqqwwk.js} +5 -5
  77. package/dist/{TrustMemberIndividualPage-B8tb56n2.js → TrustMemberIndividualPage-DGEtkbvz.js} +4 -4
  78. package/dist/{TrustMemberRoleAndTypePage-WHu1tc4O.js → TrustMemberRoleAndTypePage-_1fP4epA.js} +22 -22
  79. package/dist/{TrustMembersOverview-BWbGUK3k.js → TrustMembersOverview-_dYRn-Zr.js} +12 -12
  80. package/dist/{UnincorporatedPartnershipIndividualPage-DD2dn41k.js → UnincorporatedPartnershipIndividualPage-BXsEBJAb.js} +4 -4
  81. package/dist/{UnincorporatedPartnershipMemberCompanyPage-DsUSSYnI.js → UnincorporatedPartnershipMemberCompanyPage-BzxUs-bO.js} +5 -5
  82. package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-Ctb0Lz_0.js → UnincorporatedPartnershipMemberRoleAndTypePage-HKsbKJOy.js} +11 -11
  83. package/dist/{UnincorporatedPartnershipMembersOverview-B_GJIeZC.js → UnincorporatedPartnershipMembersOverview-Ce2VueoY.js} +9 -9
  84. package/dist/{VerificationErrorAlert-CCiMqGl8.js → VerificationErrorAlert-eLdcig75.js} +4 -4
  85. package/dist/{ViewVerificationStatusComponent-CICJ6cy4.js → ViewVerificationStatusComponent-D2nDwup0.js} +4 -4
  86. package/dist/adyen-business-financing.js +5 -4
  87. package/dist/adyen-individual-configuration.js +5 -4
  88. package/dist/adyen-individual-status.js +5 -4
  89. package/dist/adyen-invited-decision-maker.js +87 -0
  90. package/dist/adyen-kyc-components.js +19 -19
  91. package/dist/adyen-onboarding.js +5 -4
  92. package/dist/adyen-terms-of-service-management.js +5 -4
  93. package/dist/adyen-terms-of-service-status.js +5 -4
  94. package/dist/adyen-transfer-instrument-configuration.js +5 -4
  95. package/dist/adyen-transfer-instrument-management.js +5 -4
  96. package/dist/adyen-verification-status.js +5 -4
  97. package/dist/{bafinUtils-Ch6rVpGi.js → bafinUtils-O3zzoY_t.js} +2 -2
  98. package/dist/{commonValidators-B8wfpMjX.js → commonValidators-DjmQlU1p.js} +1 -1
  99. package/dist/{dropinUtils-B4Vv7_zJ.js → dropinUtils-UPMq0Ltd.js} +4 -4
  100. package/dist/{fieldConfig-CMdKt41r.js → fieldConfig-Hu-mVROR.js} +6 -6
  101. package/dist/{formUtils-q44BTi2U.js → formUtils-B8ymgO1t.js} +3 -3
  102. package/dist/{getName-BxKx8lLd.js → getName-C7NgQlTG.js} +1 -1
  103. package/dist/{Image-T-D-HDf5.js → getProblemsForEntity-BA4WcJ62.js} +2 -17
  104. package/dist/{iframeWidget-iDH8bVr4.js → iframeWidget-BT1hze3O.js} +4 -4
  105. package/dist/{isEmpty-BNacTlfR.js → isEmpty-BO66pCCZ.js} +1 -1
  106. package/dist/{japanSupportUtils-C7aPdWXD.js → japanSupportUtils-C5CuNN3k.js} +1 -1
  107. package/dist/{localizeDateString-DuTq6aHe.js → localizeDateString-DgElYhrt.js} +1 -1
  108. package/dist/{mapExistingFile-CGg2sd-T.js → mapExistingFile-MbK-6-RK.js} +4 -4
  109. package/dist/{mapJpAddressSchemaToAddressLocalizations-BwHU4ZwL.js → mapJpAddressSchemaToAddressLocalizations-Gfl95wRA.js} +5 -5
  110. package/dist/{mapLegalEntityToIndividualSchema-DzCEngXr.js → mapLegalEntityToIndividualSchema-CsmR0M_e.js} +4 -4
  111. package/dist/{mapTransferInstrumentToPayoutAccount-DLHvwig1.js → mapTransferInstrumentToPayoutAccount-BzoRZqgj.js} +2 -2
  112. package/dist/{patternValidators-CZ5mQeGD.js → patternValidators-BAmLPEQ9.js} +1 -1
  113. package/dist/{process-field-configurations-BQY03q4v.js → process-field-configurations-Ck-9vLMi.js} +3 -3
  114. package/dist/resolveEnvironment-BS8Ep_cq.js +84 -0
  115. package/dist/{roleMetadata-BeJKyoeE.js → roleMetadata-Cp_fx0An.js} +2 -2
  116. package/dist/style.css +5 -5
  117. package/dist/styles-CLV89_hH.js +5 -5
  118. package/dist/types/components/EmbeddedDropins/InvitedDecisionMakerComponent/InvitedDecisionMakerComponent.d.ts +4 -0
  119. package/dist/types/embeds/invited-decision-maker/adyen-invited-decision-maker.d.ts +5 -0
  120. package/dist/types/embeds/invited-decision-maker/adyen-invited-decision-maker.types.d.ts +34 -0
  121. package/dist/{types-pKG9olDB.js → types-Jzaf73Zb.js} +1 -1
  122. package/dist/{types-BuMuCpsa.js → types-OcIQRzjv.js} +1 -1
  123. package/dist/{types-BY62XJTq.js → types-Z5dHe17C.js} +2 -2
  124. package/dist/{useAssociatedLegalEntity-V0OP9ejx.js → useAssociatedLegalEntity-Cwdze9IH.js} +1 -1
  125. package/dist/{useBusinessDetailsData-BsXXL7fg.js → useBusinessDetailsData-BnQQtBjj.js} +50 -50
  126. package/dist/{useCreateLegalEntity-otpCRCfZ.js → useCreateLegalEntity-BspdTSvG.js} +1 -1
  127. package/dist/{useDataset-CvATx7EN.js → useDataset-GNZopNa_.js} +2 -2
  128. package/dist/{useForm-9nSw9LZY.js → useForm-CrrBdkYX.js} +3 -3
  129. package/dist/{useFormContext-BnlNKQZ7.js → useFormContext-B8EfGEU6.js} +7 -7
  130. package/dist/{useGlobalData-Dy2O7YGk.js → useGlobalData-DwvnjVq4.js} +2 -2
  131. package/dist/{useMultiForm-CBefohos.js → useMultiForm-DiLK7zzV.js} +4 -4
  132. package/dist/{useOnboardingStatus-CJrlnkvv.js → useOnboardingStatus-CmwMxZNS.js} +1 -1
  133. package/dist/{useScenarios-CkgrmOF-.js → useScenarios-BZMGvP1Q.js} +2 -2
  134. package/dist/{useTermsOfServiceStatus-DFLF3xas.js → useTermsOfServiceStatus-COcwVefQ.js} +1 -1
  135. package/dist/{useToastContext-uSKjdph9.js → useToastContext-XqX9nPMU.js} +1 -1
  136. package/dist/{useUnincorporatedPartnershipMembers-BmLKVfkf.js → useUnincorporatedPartnershipMembers-DvEvFtB0.js} +4 -4
  137. package/dist/{useUpdateBusinessLines-BBNXF45E.js → useUpdateBusinessLines-CsGTTZmG.js} +4 -4
  138. package/dist/{useUpdateLegalEntity-DHxCVgNk.js → useUpdateLegalEntity-DQigrhJt.js} +2 -2
  139. package/dist/{utils-CLLUBF1a.js → utils-B9DMUz4X.js} +2 -2
  140. package/dist/{utils-5yZQq_bx.js → utils-Bm9UQ3J-.js} +6 -6
  141. package/dist/{utils-CIIs2bXi.js → utils-Bve1pZzF.js} +2 -2
  142. package/dist/{utils-ClKogQZa.js → utils-CJuEhTJl.js} +3 -3
  143. package/dist/{utils-CIHH_aYF.js → utils-DZYVicml.js} +1 -1
  144. package/dist/{validate-BntX2W3B.js → validate-CUkO0uMn.js} +1 -1
  145. package/dist/{validate-CLYo0JdH.js → validate-QTevEJlY.js} +3 -3
  146. package/dist/{validationError-DJ6zTIzv.js → validationError-BIOF84gr.js} +2 -2
  147. package/package.json +7 -3
  148. package/dist/resolveEnvironment-BEU3VKd8.js +0 -164
@@ -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] = "e9ee1034-4928-46e6-a91c-0afea6dd267a", e._sentryDebugIdIdentifier = "sentry-dbid-e9ee1034-4928-46e6-a91c-0afea6dd267a");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "ef61c66c-d712-4301-9dce-f623349c0ddf", e._sentryDebugIdIdentifier = "sentry-dbid-ef61c66c-d712-4301-9dce-f623349c0ddf");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { useQuery, useMutation } from "@tanstack/preact-query";
11
- import { b as useApiContext, k as httpGet, ap as isEmpty, u as useTranslation, J as useExperimentsContext, H as IconButton, j as httpPost } from "./StoreProvider-CsZ-qrGt.js";
11
+ import { b as useApiContext, k as httpGet, ap as isEmpty, u as useTranslation, J as useExperimentsContext, H as IconButton, j as httpPost } from "./StoreProvider-S9t1Y3h5.js";
12
12
  import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
13
13
  import { useRef, useMemo, useState, useEffect } from "preact/hooks";
14
- import { F as Field } from "./Field-Cp_UOAnA.js";
14
+ import { F as Field } from "./Field-D7xDX5cp.js";
15
15
  import { L as List } from "./List-BAzyC6sw.js";
16
- import { S as Select } from "./Select-DeTBytOH.js";
16
+ import { S as Select } from "./Select-CSWiaeaD.js";
17
17
  import { signal } from "@preact/signals";
18
18
  const fetchIndustryCodes = async (legalEntityId, baseUrl, businessLineTypes2, locale) => {
19
19
  const results = await Promise.all(
@@ -8,8 +8,8 @@
8
8
  }
9
9
  ;
10
10
  import { useQueryClient, useMutation } from "@tanstack/preact-query";
11
- import { a as useInvalidateRootLegalEntity } from "./useToastContext-uSKjdph9.js";
12
- import { b as useApiContext, j as httpPost } from "./StoreProvider-CsZ-qrGt.js";
11
+ import { a as useInvalidateRootLegalEntity } from "./useToastContext-XqX9nPMU.js";
12
+ import { b as useApiContext, j as httpPost } from "./StoreProvider-S9t1Y3h5.js";
13
13
  const updateLegalEntity = async (rootLegalEntityId, baseUrl, data) => {
14
14
  return httpPost(
15
15
  {
@@ -2,12 +2,12 @@
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] = "3fa7cda2-8905-4ba8-8fe2-aa8e4d05b85e", e._sentryDebugIdIdentifier = "sentry-dbid-3fa7cda2-8905-4ba8-8fe2-aa8e4d05b85e");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "446da043-55f6-43e8-b268-ddeb207ebff8", e._sentryDebugIdIdentifier = "sentry-dbid-446da043-55f6-43e8-b268-ddeb207ebff8");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
- import { ak as entriesOf } from "./StoreProvider-CsZ-qrGt.js";
10
+ import { ah as entriesOf } from "./StoreProvider-S9t1Y3h5.js";
11
11
  class ValidationResult {
12
12
  validationResults;
13
13
  constructor(results) {
@@ -2,16 +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] = "b6fe01f2-6524-49dd-97d8-e55c9227db98", e._sentryDebugIdIdentifier = "sentry-dbid-b6fe01f2-6524-49dd-97d8-e55c9227db98");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "1d795970-bb4d-43f9-9210-5d448901a6b8", e._sentryDebugIdIdentifier = "sentry-dbid-1d795970-bb4d-43f9-9210-5d448901a6b8");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
- import { C as CompanyTypesValues } from "./bafinUtils-Ch6rVpGi.js";
11
- import { g as getLegalEntityCountry, br as getCapabilities, t as LegalEntityTypes, v as hasOwnEntityAssociationOfType, a5 as CountryCodes } from "./StoreProvider-CsZ-qrGt.js";
12
- import { d as allowIndividualWithoutSoleProp } from "./OnboardingDropinComponent-DstStqYS.js";
13
- import { S as SOLE_PROP_COUNTRIES } from "./Individual.rules-DEhHxeiv.js";
14
- import { A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-pKG9olDB.js";
10
+ import { C as CompanyTypesValues } from "./bafinUtils-O3zzoY_t.js";
11
+ import { g as getLegalEntityCountry, br as getCapabilities, t as LegalEntityTypes, v as hasOwnEntityAssociationOfType, a5 as CountryCodes } from "./StoreProvider-S9t1Y3h5.js";
12
+ import { d as allowIndividualWithoutSoleProp } from "./OnboardingDropinComponent-x3jK3rPX.js";
13
+ import { S as SOLE_PROP_COUNTRIES } from "./Individual.rules-D212IUeD.js";
14
+ import { A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-Jzaf73Zb.js";
15
15
  const TRUST_COUNTRIES = [CountryCodes.Australia, CountryCodes.NewZealand];
16
16
  const BUSINESS_BANK_ACCOUNT_COUNTRIES = [
17
17
  CountryCodes.UnitedStates,
@@ -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] = "300db586-3fce-4617-88d5-f9d260b20fdf", e._sentryDebugIdIdentifier = "sentry-dbid-300db586-3fce-4617-88d5-f9d260b20fdf");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "9d86abe7-d57a-4190-bf9e-a057520313b4", e._sentryDebugIdIdentifier = "sentry-dbid-9d86abe7-d57a-4190-bf9e-a057520313b4");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { s as summaryItem } from "./summaryItem-CAQCQSkt.js";
11
- import { a5 as CountryCodes } from "./StoreProvider-CsZ-qrGt.js";
11
+ import { a5 as CountryCodes } from "./StoreProvider-S9t1Y3h5.js";
12
12
  const addressFields = [
13
13
  "address",
14
14
  "otherAddressInformation",
@@ -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] = "0d620a2d-c233-4950-814d-58825fd5c9d6", e._sentryDebugIdIdentifier = "sentry-dbid-0d620a2d-c233-4950-814d-58825fd5c9d6");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "e2145172-259f-44e6-8589-a9d66bc2373b", e._sentryDebugIdIdentifier = "sentry-dbid-e2145172-259f-44e6-8589-a9d66bc2373b");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx } from "preact/jsx-runtime";
11
- import { t as LegalEntityTypes, O as Typography } from "./StoreProvider-CsZ-qrGt.js";
11
+ import { t as LegalEntityTypes, O as Typography } from "./StoreProvider-S9t1Y3h5.js";
12
12
  import { C as Currencies } from "./currency-CrdnaaDu.js";
13
- import { l as localizeDateString } from "./localizeDateString-DuTq6aHe.js";
13
+ import { l as localizeDateString } from "./localizeDateString-DgElYhrt.js";
14
14
  const formatCurrency = (amount, currency, locale) => {
15
15
  const { format } = new Intl.NumberFormat(
16
16
  locale,
@@ -7,7 +7,7 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { a5 as CountryCodes } from "./StoreProvider-CsZ-qrGt.js";
10
+ import { a5 as CountryCodes } from "./StoreProvider-S9t1Y3h5.js";
11
11
  function getLocalizedIdDocumentTypeOptions(country) {
12
12
  switch (country) {
13
13
  case CountryCodes.Japan:
@@ -7,7 +7,7 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { aB as hasText } from "./StoreProvider-CsZ-qrGt.js";
10
+ import { aB as hasText } from "./StoreProvider-S9t1Y3h5.js";
11
11
  const validateLegalEntityIdentifier = (legalEntityIdentifier) => {
12
12
  if (!legalEntityIdentifier) {
13
13
  return true;
@@ -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] = "fe19937c-5d97-4d36-8a72-c9688355bb8c", e._sentryDebugIdIdentifier = "sentry-dbid-fe19937c-5d97-4d36-8a72-c9688355bb8c");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "90d5dc39-3334-4075-8a83-addc293baa91", e._sentryDebugIdIdentifier = "sentry-dbid-90d5dc39-3334-4075-8a83-addc293baa91");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import "@tanstack/preact-query";
11
- import { j as httpPost, al as httpDelete, k as httpGet, o as createLogger, bd as StateContext, u as useTranslation, C as useAnalyticsContext, G as Icon, O as Typography, L as Loader, H as IconButton } from "./StoreProvider-CsZ-qrGt.js";
12
- import { g as getLocalizedIdDocumentTypeOptions } from "./utils-CIHH_aYF.js";
11
+ import { j as httpPost, ai as httpDelete, k as httpGet, o as createLogger, bd as StateContext, u as useTranslation, C as useAnalyticsContext, G as Icon, O as Typography, L as Loader, H as IconButton } from "./StoreProvider-S9t1Y3h5.js";
12
+ import { g as getLocalizedIdDocumentTypeOptions } from "./utils-DZYVicml.js";
13
13
  import { jsx, jsxs } from "preact/jsx-runtime";
14
14
  import cx from "classnames";
15
15
  import { useEffect } from "preact/hooks";
@@ -2,12 +2,12 @@
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] = "22b0b87d-3297-47d3-b358-ee1189257a6a", e._sentryDebugIdIdentifier = "sentry-dbid-22b0b87d-3297-47d3-b358-ee1189257a6a");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "7ac45542-aa16-48ad-9294-33c1b08c4029", e._sentryDebugIdIdentifier = "sentry-dbid-7ac45542-aa16-48ad-9294-33c1b08c4029");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
- import { B as TaskTypes, a_ as remediationPayoutApiKeyMapping, a$ as remediationBusinessDetailsApiKeyMapping, b0 as remediationIndividualOnfidoApiKeyMapping } from "./StoreProvider-CsZ-qrGt.js";
10
+ import { B as TaskTypes, a_ as remediationPayoutApiKeyMapping, a$ as remediationBusinessDetailsApiKeyMapping, b0 as remediationIndividualOnfidoApiKeyMapping } from "./StoreProvider-S9t1Y3h5.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.94.0",
3
+ "version": "3.94.2",
4
4
  "keywords": [
5
5
  "adyen",
6
6
  "adyen-kyc",
@@ -63,6 +63,10 @@
63
63
  "./experimental/verification-status": {
64
64
  "types": "./dist/types/embeds/verification-status/adyen-verification-status.types.d.ts",
65
65
  "import": "./dist/adyen-verification-status.js"
66
+ },
67
+ "./internal/invited-decision-maker": {
68
+ "types": "./dist/types/embeds/invited-decision-maker/adyen-invited-decision-maker.types.d.ts",
69
+ "import": "./dist/adyen-invited-decision-maker.js"
66
70
  }
67
71
  },
68
72
  "types": "./dist/types/index.d.ts",
@@ -83,7 +87,8 @@
83
87
  "monogon": "^0.3.4",
84
88
  "named-slots": "^0.4.2",
85
89
  "onfido-sdk-ui": "14.55.0",
86
- "preact": "^10.28.3"
90
+ "preact": "^10.28.3",
91
+ "preact-custom-element": "^4.6.0"
87
92
  },
88
93
  "devDependencies": {
89
94
  "@adyen/bento-design-tokens": "^1.84.1",
@@ -139,7 +144,6 @@
139
144
  "openapi-typescript": "^7.10.1",
140
145
  "phone": "^3.1.70",
141
146
  "postcss": "^8.5.6",
142
- "preact-custom-element": "^4.6.0",
143
147
  "preact-iso": "2.11.1",
144
148
  "prettier": "^3.8.1",
145
149
  "react": "npm:@preact/compat@^18.3.1",
@@ -1,164 +0,0 @@
1
- ;
2
- {
3
- try {
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] = "fb1e997c-cd6d-446f-9702-a260cb1475aa", e._sentryDebugIdIdentifier = "sentry-dbid-fb1e997c-cd6d-446f-9702-a260cb1475aa");
6
- } catch (e) {
7
- }
8
- }
9
- ;
10
- import { h as h$1, hydrate, render, cloneElement, Fragment } from "preact";
11
- import { jsxs, jsx } from "preact/jsx-runtime";
12
- import { an as refreshSession, a0 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-CsZ-qrGt.js";
13
- import { useState, useEffect } from "preact/hooks";
14
- function i() {
15
- return i = Object.assign ? Object.assign.bind() : function(t) {
16
- for (var e = 1; e < arguments.length; e++) {
17
- var n = arguments[e];
18
- for (var o in n) Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
19
- }
20
- return t;
21
- }, i.apply(this, arguments);
22
- }
23
- function s(t, e) {
24
- if (null == t) return {};
25
- var n, o, r = {}, i2 = Object.keys(t);
26
- for (o = 0; o < i2.length; o++) e.indexOf(n = i2[o]) >= 0 || (r[n] = t[n]);
27
- return r;
28
- }
29
- var a = ["context", "children"], l = ["useFragment"];
30
- function c(t, e, n, o) {
31
- function r() {
32
- var e2, n2 = Reflect.construct(HTMLElement, [], r);
33
- return n2._vdomComponent = t, o && o.shadow ? (n2._root = n2.attachShadow({ mode: o.mode || "open", serializable: null != (e2 = o.serializable) && e2 }), o.adoptedStyleSheets && (n2._root.adoptedStyleSheets = o.adoptedStyleSheets)) : n2._root = n2, n2;
34
- }
35
- return (r.prototype = Object.create(HTMLElement.prototype)).constructor = r, r.prototype.connectedCallback = function() {
36
- d.call(this, o);
37
- }, r.prototype.attributeChangedCallback = h, r.prototype.disconnectedCallback = f, n = n || t.observedAttributes || Object.keys(t.propTypes || {}), r.observedAttributes = n, t.formAssociated && (r.formAssociated = true), n.forEach(function(t2) {
38
- Object.defineProperty(r.prototype, t2, { get: function() {
39
- return this._vdom ? this._vdom.props[t2] : this._props[t2];
40
- }, set: function(e2) {
41
- this._vdom ? this.attributeChangedCallback(t2, null, e2) : (this._props || (this._props = {}), this._props[t2] = e2);
42
- var n2 = typeof e2;
43
- null != e2 && "string" !== n2 && "boolean" !== n2 && "number" !== n2 || this.setAttribute(t2, e2);
44
- } });
45
- }), customElements.define(e || t.tagName || t.displayName || t.name, r), r;
46
- }
47
- function u(t) {
48
- this.getChildContext = function() {
49
- return t.context;
50
- };
51
- var e = t.children, n = s(t, a);
52
- return cloneElement(e, n);
53
- }
54
- function d(o) {
55
- var r = new CustomEvent("_preact", { detail: {}, bubbles: true, cancelable: true });
56
- this.dispatchEvent(r), this._vdom = h$1(u, i({}, this._props, { context: r.detail.context }), v(this, this._vdomComponent, o)), (this.hasAttribute("hydrate") ? hydrate : render)(this._vdom, this._root);
57
- }
58
- function p(t) {
59
- return t.replace(/-(\w)/g, function(t2, e) {
60
- return e ? e.toUpperCase() : "";
61
- });
62
- }
63
- function h(t, e, r) {
64
- if (this._vdom) {
65
- var i2 = {};
66
- i2[t] = r = null == r ? void 0 : r, i2[p(t)] = r, this._vdom = cloneElement(this._vdom, i2), render(this._vdom, this._root);
67
- }
68
- }
69
- function f() {
70
- render(this._vdom = null, this._root);
71
- }
72
- function m(e, n) {
73
- var o = this, a2 = e.useFragment, c2 = s(e, l);
74
- return h$1(a2 ? Fragment : "slot", i({}, c2, { ref: function(t) {
75
- t ? (o.ref = t, o._listener || (o._listener = function(t2) {
76
- t2.stopPropagation(), t2.detail.context = n;
77
- }, t.addEventListener("_preact", o._listener))) : o.ref.removeEventListener("_preact", o._listener);
78
- } }));
79
- }
80
- function v(e, n, o) {
81
- if (3 === e.nodeType) return e.data;
82
- if (1 !== e.nodeType) return null;
83
- var r = [], i2 = {}, s2 = 0, a2 = e.attributes, l2 = e.childNodes;
84
- for (s2 = a2.length; s2--; ) "slot" !== a2[s2].name && (i2[a2[s2].name] = a2[s2].value, i2[p(a2[s2].name)] = a2[s2].value);
85
- for (s2 = l2.length; s2--; ) {
86
- var c2 = v(l2[s2], null, o), u2 = l2[s2].slot;
87
- u2 ? i2[u2] = h$1(m, { name: u2 }, c2) : r[s2] = c2;
88
- }
89
- var d2 = !(!o || !o.shadow), h2 = n ? h$1(m, { useFragment: !d2 }, r) : r;
90
- return !d2 && n && (e.innerHTML = ""), h$1(n || e.nodeName.toLowerCase(), i2, h2);
91
- }
92
- const sheet = new CSSStyleSheet();
93
- const stylesheets = [sheet];
94
- {
95
- import("./styles-CLV89_hH.js").then(({ css }) => {
96
- sheet.replaceSync(css);
97
- }).catch((err) => console.error("Error loading styles", err));
98
- }
99
- const EmbedShell = ({
100
- children,
101
- rootLegalEntityId,
102
- settings,
103
- experiments,
104
- // HO-only
105
- refreshExperiments,
106
- // HO-only
107
- baseUrl,
108
- getSdkToken,
109
- componentName,
110
- locale
111
- }) => {
112
- const [isLoading, setIsLoading] = useState(true);
113
- const [hasError, setHasError] = useState(false);
114
- setSdkTokenHandler(getSdkToken);
115
- useEffect(() => {
116
- refreshSession().then((hasRefreshed) => {
117
- if (!hasRefreshed) {
118
- setHasError(true);
119
- }
120
- setIsLoading(false);
121
- });
122
- }, []);
123
- if (hasError) {
124
- return /* @__PURE__ */ jsxs("div", { children: [
125
- "Something went wrong, please",
126
- /* @__PURE__ */ jsx(Button, { onClick: () => location.reload(), children: "refresh the page." })
127
- ] });
128
- }
129
- if (isLoading) {
130
- return /* @__PURE__ */ jsx(Loader, {});
131
- }
132
- return /* @__PURE__ */ jsx(SettingsProvider, { settings, children: /* @__PURE__ */ jsx(QueryClientProvider, { children: /* @__PURE__ */ jsx(ApiProvider, { rootLegalEntityId, baseUrl, children: /* @__PURE__ */ jsx(
133
- ExperimentsContextProvider,
134
- {
135
- experiments,
136
- refreshExperiments,
137
- children: /* @__PURE__ */ jsxs(StoreProvider, { children: [
138
- /* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.94.0" }),
139
- /* @__PURE__ */ jsx(
140
- AnalyticsProvider,
141
- {
142
- componentName,
143
- rootLegalEntityId,
144
- children: /* @__PURE__ */ jsxs(I18nProvider, { locale, children: [
145
- /* @__PURE__ */ jsx(DebugListener, {}),
146
- /* @__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 }) }) }) })
147
- ] })
148
- }
149
- )
150
- ] })
151
- }
152
- ) }) }) });
153
- };
154
- const environmentMap = Object.freeze({
155
- live: "https://onboardingcomponents-live.adyen.com/",
156
- test: "https://test.adyen.com/"
157
- });
158
- const resolveEnvironment = (environment) => environmentMap[environment] ?? normalizeEnvironment(environment);
159
- export {
160
- EmbedShell as E,
161
- c,
162
- resolveEnvironment as r,
163
- stylesheets as s
164
- };