@adyen/kyc-components 3.76.0-beta.1 → 4.0.0-beta.1

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 (99) hide show
  1. package/dist/{AcceptTermsOfServiceComponent-BOQpgDuh.js → AcceptTermsOfServiceComponent-BQ4Yct7L.js} +6 -6
  2. package/dist/{AccountSetupRejected-CLD5yPUd.js → AccountSetupRejected-UVhxMcAe.js} +2 -2
  3. package/dist/{Avatar-ByXDvRnN.js → Avatar-NEiNEcRx.js} +1 -1
  4. package/dist/{BusinessDetailsDropin-CC8AQSzz.js → BusinessDetailsDropin-l0xfPekL.js} +18 -47
  5. package/dist/{BusinessFinancingComponent-DaTK2ha9.js → BusinessFinancingComponent-Bs-poF2d.js} +2 -2
  6. package/dist/{BusinessFinancingDropin-Cxo-nBOC.js → BusinessFinancingDropin-DoRzdS4n.js} +10 -20
  7. package/dist/{BusinessFinancingPage-CBxphlTv.js → BusinessFinancingPage-DSlmJmOK.js} +2 -2
  8. package/dist/{BusinessTypeSelectionPage-BTtEGnSf.js → BusinessTypeSelectionPage-Bmi_8K2g.js} +4 -4
  9. package/dist/{ContractViewer-Df9tNJPa.js → ContractViewer-R4-gfVmp.js} +1 -1
  10. package/dist/{CreateIndividualComponent-CB4EKaBU.js → CreateIndividualComponent-D3aXuYRk.js} +3 -3
  11. package/dist/{CreateTransferInstrumentComponent-DzLl5c2J.js → CreateTransferInstrumentComponent-C-ncZ-A8.js} +2 -2
  12. package/dist/{CustomerSupport-WjBJL8ee.js → CustomerSupport-CMFRgQNa.js} +5 -5
  13. package/dist/{DebugModal-DTjZh61l.js → DebugModal-BEmhG3UP.js} +8 -8
  14. package/dist/{DecisionMakerDetailsPage-CGHxqfLV.js → DecisionMakerDetailsPage-DI2Ubmef.js} +3 -3
  15. package/dist/{DecisionMakers-Cq1ugA0Q.js → DecisionMakers-BKhtcs_K.js} +4 -4
  16. package/dist/{EmbeddedStatus-U4HvtsbX.js → EmbeddedStatus-BsZsXbKc.js} +2 -2
  17. package/dist/{FormEndState-DXjakR3n.js → FormEndState-C3HCmXcw.js} +1 -1
  18. package/dist/{FormFlow-DQdofZrs.js → FormFlow-Bt-mu4Wm.js} +2 -2
  19. package/dist/{IndividualOnfidoDropin-Ces-NVRq.js → IndividualOnfidoDropin-DGMCOm9M.js} +12 -80
  20. package/dist/{Introduction-CoAMVQ3N.js → Introduction-DJ6qIUPC.js} +3 -3
  21. package/dist/{LegalRepresentativeDetailsPage-DR4k-6tr.js → LegalRepresentativeDetailsPage-CyHwQR_W.js} +3 -3
  22. package/dist/{ManageIndividualComponent-DCy_23X2.js → ManageIndividualComponent-BIMCvcr2.js} +3 -3
  23. package/dist/{ManagePCIComponent-mIpoEgqY.js → ManagePCIComponent-Blj60xLa.js} +3 -3
  24. package/dist/{ManageTermsOfServiceComponent-BhbLMdNx.js → ManageTermsOfServiceComponent-CsM23jq3.js} +3 -3
  25. package/dist/{ManageTransferInstrumentComponent-BPiWJOhY.js → ManageTransferInstrumentComponent-Vut9_bRn.js} +3 -3
  26. package/dist/{OnboardingDropinComponent-BVaYr5u1.js → OnboardingDropinComponent-BW6er2HU.js} +44 -45
  27. package/dist/{ProviderButton-BhJVIjNR.js → ProviderButton-DAsW5EVa.js} +2 -2
  28. package/dist/{Review-C5hzFoFb.js → Review-DWDbL9-9.js} +3 -3
  29. package/dist/{RootBusinessDetailsPage-msInyOAG.js → RootBusinessDetailsPage-BTYIldSf.js} +2 -2
  30. package/dist/{RootIndividualDetailsPage-DkzqPD70.js → RootIndividualDetailsPage-DCxJ3ycQ.js} +3 -3
  31. package/dist/{SignPCIComponent-DGUa4ESJ.js → SignPCIComponent-kHaxhkWa.js} +5 -5
  32. package/dist/{SingpassSelection-ChJWE7tg.js → SingpassSelection-Dmlbiq4Z.js} +2 -2
  33. package/dist/{SoleProprietorshipPage-Bkz3cuhd.js → SoleProprietorshipPage-Bdhs90-q.js} +2 -2
  34. package/dist/{SourceOfFunds.module-D9RYIoX3.js → SourceOfFunds.module-xwHIboir.js} +1 -1
  35. package/dist/{SourceOfFundsPage-gHK01p0a.js → SourceOfFundsPage-Bj22DAFv.js} +9 -14
  36. package/dist/{StoreProvider-BPX6_P1w.js → StoreProvider-BmzY19Td.js} +423 -367
  37. package/dist/{TaskItemStatus-Cja3jHef.js → TaskItemStatus-CB6FEOnk.js} +2 -2
  38. package/dist/{TaxReportingDropin-EGclbYvF.js → TaxReportingDropin-jofokkei.js} +7 -7
  39. package/dist/{TileGroup-D2oyZXRy.js → TileGroup-i5Jc08ns.js} +2 -2
  40. package/dist/{TrustDetailsPage-BjZh9pfZ.js → TrustDetailsPage-B6HmvYUf.js} +9 -9
  41. package/dist/{TrustMemberCompanyPage-YzgDh_y0.js → TrustMemberCompanyPage-D3VJOq6a.js} +3 -3
  42. package/dist/{TrustMemberIndividualPage-B08_52rA.js → TrustMemberIndividualPage-1aeOYsnG.js} +3 -3
  43. package/dist/{UnincorporatedPartnershipIndividualPage-DECzh_NU.js → UnincorporatedPartnershipIndividualPage-Bt7e6ncF.js} +3 -3
  44. package/dist/{UnincorporatedPartnershipMemberCompanyPage-CY5rfvMd.js → UnincorporatedPartnershipMemberCompanyPage-Ck5C_SEU.js} +2 -2
  45. package/dist/{VerificationErrorAlert-BMxnbhxL.js → VerificationErrorAlert-DhtKOmjt.js} +1 -1
  46. package/dist/{ViewVerificationStatusComponent-MQ3YZjpk.js → ViewVerificationStatusComponent-DtKLcCGI.js} +2 -2
  47. package/dist/adyen-business-financing.js +2 -2
  48. package/dist/adyen-individual.js +2 -2
  49. package/dist/adyen-kyc-components.js +14 -14
  50. package/dist/adyen-manage-individual.js +2 -2
  51. package/dist/adyen-manage-pci.js +2 -2
  52. package/dist/adyen-manage-terms-of-service.js +2 -2
  53. package/dist/adyen-manage-transfer-instruments.js +2 -2
  54. package/dist/adyen-onboarding.js +2 -2
  55. package/dist/adyen-sign-pci.js +2 -2
  56. package/dist/adyen-terms-of-service.js +2 -2
  57. package/dist/adyen-transfer-instrument.js +2 -2
  58. package/dist/adyen-verification-status.js +2 -2
  59. package/dist/{css-CCYsn1Bx.js → css-CQUoQdd2.js} +1 -1
  60. package/dist/{getFieldsWithExistingData-Df64vw7x.js → getFieldsWithExistingData-BW8_TEQl.js} +2 -2
  61. package/dist/{hasDataChanged-sUtN0Sjv.js → hasDataChanged-Mu0HyZ3E.js} +1 -1
  62. package/dist/{json-BYBI9iH_.js → json-DWikzB4g.js} +1 -1
  63. package/dist/{localizeDateString-CNlJ2Twp.js → localizeDateString-QtCjf8Fg.js} +1 -1
  64. package/dist/{mapFinancialReportsToFinancialInformation-ByUX4IZt.js → mapFinancialReportsToFinancialInformation-C-2jp0wg.js} +2 -2
  65. package/dist/{plaintext-BuWLFFGU.js → plaintext-B39yQnOr.js} +1 -1
  66. package/dist/{resolveEnvironment-CeEOE-Ml.js → resolveEnvironment-Dx0BPNMa.js} +3 -3
  67. package/dist/{rules-BOvgh8q2.js → rules-CUANHpja.js} +2 -2
  68. package/dist/style.css +0 -19
  69. package/dist/styles-CLV89_hH.js +0 -19
  70. package/dist/types/api/transferInstruments/useHandleBankVerificationError.d.ts +3 -3
  71. package/dist/types/components/EFP/fields/LegalFormField/LegalFormField.d.ts +1 -1
  72. package/dist/types/components/EFP/fields/NaceCodeField/NaceCodeField.d.ts +1 -1
  73. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/utils.d.ts +0 -1
  74. package/dist/types/components/Individual/fields/IdentityNumber/IdentityNumber.d.ts +0 -1
  75. package/dist/types/components/Individual/fields/NameFields/NameFields.d.ts +2 -1
  76. package/dist/types/components/Individual/mapping/individualOnfidoKeyMappings.d.ts +1 -0
  77. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/fieldConfig.d.ts +5 -3
  78. package/dist/types/components/Shared/fields/CountryField/CountryField.d.ts +1 -1
  79. package/dist/types/components/Shared/fields/CountryOfGoverningLawField/CountryOfGoverningLawField.d.ts +1 -1
  80. package/dist/types/components/Shared/fields/StateField/StateField.d.ts +1 -1
  81. package/dist/types/components/Shared/forms/Address/AddressField.d.ts +1 -1
  82. package/dist/types/components/Shared/forms/Address/SearchAddress.d.ts +2 -2
  83. package/dist/types/components/Shared/forms/Address/types.d.ts +0 -1
  84. package/dist/types/components/ui/atoms/Checkbox/Checkbox.d.ts +1 -2
  85. package/dist/types/components/ui/atoms/Field/Field.d.ts +1 -1
  86. package/dist/types/components/ui/atoms/Field/Field.types.d.ts +2 -0
  87. package/dist/types/components/ui/molecules/MaskedInput/MaskedInput.d.ts +1 -5
  88. package/dist/types/context/StateContext/types.d.ts +0 -1
  89. package/dist/types/hooks/useForm/types.d.ts +1 -2
  90. package/dist/types/utils/api/processCapabilitites.d.ts +2 -1
  91. package/dist/{useMultiForm-CZt22ApL.js → useMultiForm-Bwx2nVhh.js} +2 -2
  92. package/dist/{useOnboardingStatus-DUpCpEX5.js → useOnboardingStatus-Cwba-HzS.js} +1 -1
  93. package/dist/{useSalesChannelsSettings-7_LCHKOD.js → useSalesChannelsSettings-BLzegVJh.js} +1 -1
  94. package/dist/{useTermsOfServiceStatus-XQrO9fJx.js → useTermsOfServiceStatus-C-i9mF4m.js} +1 -1
  95. package/dist/{useUpdateLegalEntity-n02Bk4nJ.js → useUpdateLegalEntity-xQlAqIqy.js} +2 -2
  96. package/dist/{utils-0EQ0eKAn.js → utils-DXv7uAh6.js} +4 -4
  97. package/dist/{validate-DVNNANhX.js → validate-BN5p-GhK.js} +2 -2
  98. package/dist/{yaml-Ca7Tl3w_.js → yaml-jFdy-qnY.js} +1 -1
  99. package/package.json +1 -1
@@ -2,26 +2,26 @@
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] = "d9db70f9-740d-41fb-8c02-f8536e699835", e._sentryDebugIdIdentifier = "sentry-dbid-d9db70f9-740d-41fb-8c02-f8536e699835");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "e2cdc12a-d741-4f4f-a432-dd45c7e5c993", e._sentryDebugIdIdentifier = "sentry-dbid-e2cdc12a-d741-4f4f-a432-dd45c7e5c993");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
11
- import { p as useApiContext, q as useQuery, r as httpGet, be as useInvalidateRootLegalEntity, bf as useMutation, bh as httpPost, bR as formatObject, y as LegalEntityType, C as Typography, er as Currencies, b as useI18nContext, az as Field, es as InputGroup, bJ as Select, bp as InputText, bV as InputDate, aD as TextArea, aV as RadioGroup, aF as CountryField, b2 as Modal, B as Alert, Z as Button, b8 as Confirm, ap as isEmpty, au as useForm, et as useGlobalDataSlice, ax as ErrorPanel, ay as createFormUtils, L as Loader, a3 as Icon, bL as getFormProps, a0 as Card, b5 as StructuredList, _ as IconButton, bM as isEmpty$1, bl as Svg, a5 as useToastContext, X as createLogger, eu as Dropzone, cu as createDocumentRequest, bm as useQueryClient, a as useLegalEntity, R as ROOT_LE, e7 as useStateContext, $ as useAnalyticsContext, ev as useLegalEntities, cG as getPropsFromConfigurations, bN as getRequiredForms, bO as addValidityToForms, bP as useFormComposer, cy as documentApiUtils, ed as FormWrapper, ab as useCapabilityProblems, bi as getProblemsForEntity, U as EntityType, g as getLegalEntityCountry } from "./StoreProvider-BPX6_P1w.js";
11
+ import { p as useApiContext, q as useQuery, r as httpGet, be as useInvalidateRootLegalEntity, bf as useMutation, bh as httpPost, bS as formatObject, y as LegalEntityType, C as Typography, ew as Currencies, b as useI18nContext, az as Field, ex as InputGroup, bK as Select, bq as InputText, bW as InputDate, aD as TextArea, aV as RadioGroup, aF as CountryField, b2 as Modal, B as Alert, Z as Button, b8 as Confirm, ap as isEmpty, au as useForm, ey as useGlobalDataSlice, ax as ErrorPanel, ay as createFormUtils, L as Loader, a3 as Icon, bM as getFormProps, a0 as Card, b5 as StructuredList, _ as IconButton, bN as isEmpty$1, bm as Svg, a5 as useToastContext, X as createLogger, ez as Dropzone, cv as createDocumentRequest, bn as useQueryClient, a as useLegalEntity, R as ROOT_LE, ec as useStateContext, $ as useAnalyticsContext, eA as useLegalEntities, cH as getPropsFromConfigurations, bO as getRequiredForms, bP as addValidityToForms, bQ as useFormComposer, cz as documentApiUtils, ei as FormWrapper, ab as useCapabilityProblems, bi as getProblemsForEntity, U as EntityType, g as getLegalEntityCountry } from "./StoreProvider-BmzY19Td.js";
12
12
  import { useState, useMemo, useEffect, useCallback, useRef } from "preact/hooks";
13
- import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-n02Bk4nJ.js";
14
- import { h as hasDataChanged } from "./hasDataChanged-sUtN0Sjv.js";
13
+ import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-xQlAqIqy.js";
14
+ import { h as hasDataChanged } from "./hasDataChanged-Mu0HyZ3E.js";
15
15
  import { signal } from "@preact/signals";
16
- import { s as styles, T as TaskStatusIndicator } from "./SourceOfFunds.module-D9RYIoX3.js";
16
+ import { s as styles, T as TaskStatusIndicator } from "./SourceOfFunds.module-xwHIboir.js";
17
17
  import { a as formatAmountWithCurrency } from "./formatCurrency-CMOSdJMB.js";
18
- import { l as localizeDateString } from "./localizeDateString-CNlJ2Twp.js";
18
+ import { l as localizeDateString } from "./localizeDateString-QtCjf8Fg.js";
19
19
  import { t as toCapitalized } from "./toCapitalized-Bq7laD0b.js";
20
- import { A as Avatar } from "./Avatar-ByXDvRnN.js";
20
+ import { A as Avatar } from "./Avatar-NEiNEcRx.js";
21
21
  import isURL from "validator/es/lib/isURL.js";
22
22
  import { v as validateDateNotInTheFuture } from "./validate-CuwYJGc9.js";
23
- import { T as TileGroup } from "./TileGroup-D2oyZXRy.js";
24
- import { n as normalizedTaskStatusStore } from "./OnboardingDropinComponent-BVaYr5u1.js";
23
+ import { T as TileGroup } from "./TileGroup-i5Jc08ns.js";
24
+ import { n as normalizedTaskStatusStore } from "./OnboardingDropinComponent-BW6er2HU.js";
25
25
  const getBusinessLines = async (legalEntityId, baseUrl) => {
26
26
  return httpGet({
27
27
  baseUrl,
@@ -786,11 +786,6 @@ const getSofCardDetails = (i18n, sourceOfFunds) => {
786
786
  };
787
787
  const ALLOWED_SOF_SERVICES = ["issuing", "banking"];
788
788
  const SOF_INVALID_INPUT_ERROR_CODES = ["1_93", "1_94"];
789
- const SOF_INVALID_INPUT_SUBERROR_CODES = ["1_9009", "1_9010", "1_9011", "1_9012"];
790
- [
791
- ...SOF_INVALID_INPUT_ERROR_CODES,
792
- ...SOF_INVALID_INPUT_SUBERROR_CODES
793
- ];
794
789
  const getRelevantErrors = (problems, targetCodes) => {
795
790
  if (!problems) return false;
796
791
  return problems.flatMap(