@adyen/kyc-components 4.25.0-beta.0 → 4.25.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 (127) hide show
  1. package/dist/{AcceptTermsOfServiceWorkflow-DVUes-ba.js → AcceptTermsOfServiceWorkflow-By3zYCUj.js} +4 -4
  2. package/dist/{Accordion-Dgdxfe-d.js → Accordion-D_DOaWj2.js} +1 -1
  3. package/dist/{AccountSetupRejected-B19onnyG.js → AccountSetupRejected-BtcxtVKO.js} +2 -2
  4. package/dist/{AdaptiveWorkflow-q5TVr4ET.js → AdaptiveWorkflow-DrpRgnH4.js} +2 -2
  5. package/dist/{AdaptiveWorkflowComponent-CBxlKnJq.js → AdaptiveWorkflowComponent-BSA30A9-.js} +3 -3
  6. package/dist/{AddressFields-DR4xhVNv.js → AddressFields-CN4TQzn9.js} +5 -5
  7. package/dist/{Alert-Bv9M3wLb.js → Alert-BqbbDRYR.js} +3 -3
  8. package/dist/{Avatar-oTPu6Ejy.js → Avatar-k5lNd5KG.js} +1 -1
  9. package/dist/{BusinessFinancingDropin-B71xoa3g.js → BusinessFinancingDropin-CYeMgVkI.js} +16 -16
  10. package/dist/{BusinessFinancingPage-DlttycNJ.js → BusinessFinancingPage-wQ3Stqaq.js} +2 -2
  11. package/dist/{BusinessRegistrationNumberField-CpRV1Keg.js → BusinessRegistrationNumberField-Dz1uGvRQ.js} +3 -3
  12. package/dist/{BusinessRegistrationNumberFieldGroup-BBOUoIDC.js → BusinessRegistrationNumberFieldGroup-BFPrFa1_.js} +4 -4
  13. package/dist/{BusinessTypeSelectionPage-DiZhzyXz.js → BusinessTypeSelectionPage-DeWD37jR.js} +4 -4
  14. package/dist/{Button-DpPFIUJx.js → Button-BxdC8cVB.js} +1 -1
  15. package/dist/{ComponentGroup-BcVd3jTE.js → ComponentGroup-saOBzveb.js} +3 -3
  16. package/dist/{Confirm-D8WH4e1L.js → Confirm-DjFpxSzC.js} +2 -2
  17. package/dist/{ConstitutionalDocument-BBXjyAH3.js → ConstitutionalDocument-BHd6kfdt.js} +7 -7
  18. package/dist/{ContactDetails-e8rkZO7f.js → ContactDetails-_HCOKj3-.js} +5 -5
  19. package/dist/{ContextGuidance-DPPaigJE.js → ContextGuidance-v-d9RQuo.js} +1 -1
  20. package/dist/{CountryField-C7eHHmYk.js → CountryField-CMOB4yz4.js} +2 -2
  21. package/dist/{Currency-BEr0RDjy.js → Currency-3Z9i_AhY.js} +5 -5
  22. package/dist/{CustomerSupport-DVMEfZdZ.js → CustomerSupport-B0UJHtAq.js} +5 -5
  23. package/dist/{DataConflictsModal-BqfTUq4v.js → DataConflictsModal-8Nnj7_UD.js} +4 -4
  24. package/dist/{DebugModal-CGPSu2md.js → DebugModal-COMc67OA.js} +7 -7
  25. package/dist/{DecisionMakerDetails-mi5oGeCi.js → DecisionMakerDetails-GMvYZFTK.js} +8 -8
  26. package/dist/{DecisionMakerDetailsPage-BUvvs6i9.js → DecisionMakerDetailsPage-BZdFtyd5.js} +2 -2
  27. package/dist/{DecisionMakers-B2dpzHQ-.js → DecisionMakers-CcFvSGqi.js} +9 -9
  28. package/dist/{Dropzone-DAKOThpd.js → Dropzone-cewfCgXt.js} +4 -4
  29. package/dist/{EmbeddedStatus-CYd2p4sP.js → EmbeddedStatus-DVFyksA8.js} +3 -3
  30. package/dist/{EndStateLayout-BOdEeTDy.js → EndStateLayout-GHEYl82p.js} +2 -2
  31. package/dist/{EntityAssociation-ty8DqPkJ.js → EntityAssociation-BC75VCms.js} +5 -5
  32. package/dist/{ErrorPanel-D1ygAX21.js → ErrorPanel-PefRq1M4.js} +2 -2
  33. package/dist/{Field-CBvXkDKh.js → Field-Df7ajJE2.js} +1 -1
  34. package/dist/{GlobalEntryModal-DLC7METR.js → GlobalEntryModal-CypAt3X_.js} +20 -20
  35. package/dist/{GlobalEntryPage-C2vMcR6i.js → GlobalEntryPage-DZusuIqe.js} +4 -4
  36. package/dist/{Header-DVLlJ6we.js → Header-DvifUz7-.js} +1 -1
  37. package/dist/{Icon-4XR6gZzk.js → Icon-DFQgr7dy.js} +1 -1
  38. package/dist/{IdentityNumber-DhO403_T.js → IdentityNumber-Cz6-4YcM.js} +2 -2
  39. package/dist/{IdentityNumberFieldGroup-CqAj0moi.js → IdentityNumberFieldGroup-D2PV_4A5.js} +2 -2
  40. package/dist/{IdentityScreeningWorkflow-Dm2p1_2e.js → IdentityScreeningWorkflow-mbcaIctn.js} +9 -9
  41. package/dist/{IndividualDropin-CKnMrjDj.js → IndividualDropin-BFS4N7OF.js} +36 -35
  42. package/dist/{IndustryCodeFieldGroup-DEYxiu_j.js → IndustryCodeFieldGroup-DmOqxPIg.js} +3 -3
  43. package/dist/{Introduction-CTVUoae1.js → Introduction-Cz0LnMCN.js} +2 -2
  44. package/dist/{InvitedDecisionMakerComponent-XVUjKp4X.js → InvitedDecisionMakerComponent-llOIdClO.js} +6 -6
  45. package/dist/{JpAddressFields-DWDTt4lQ.js → JpAddressFields-CzGnXBMk.js} +3 -3
  46. package/dist/{LegalCompanyNameField-C3zITaw1.js → LegalCompanyNameField-CV2EgRCw.js} +1 -1
  47. package/dist/{LegalName-DsYl9ReT.js → LegalName-BYQ12uWc.js} +1 -1
  48. package/dist/{LegalRepresentativeDetailsPage-CYHPpiXJ.js → LegalRepresentativeDetailsPage-_u14iANL.js} +2 -2
  49. package/dist/{Link-CvYhseSD.js → Link-C3dYYTm_.js} +1 -1
  50. package/dist/{ListItem-CYTpdOMa.js → ListItem-CHGVbHhB.js} +2 -2
  51. package/dist/{MaskedInput-W1FzWAVl.js → MaskedInput-CkDwzLxe.js} +2 -2
  52. package/dist/{MaybeModal-DJ-s5rk2.js → MaybeModal-Dfm1rIUG.js} +2 -2
  53. package/dist/{Modal-DeXa4MBg.js → Modal-Dq44ZUNN.js} +1 -1
  54. package/dist/{Name-C1GAvkWn.js → Name-BfQr3et_.js} +1 -1
  55. package/dist/{NewSummary-C9CV9wJk.js → NewSummary-Bn1_xnRZ.js} +3 -3
  56. package/dist/{NodeRenderer-CnaWNStD.js → NodeRenderer-DHBYMc2e.js} +16 -16
  57. package/dist/{PatriotActDisclosure-CnVpPsAg.js → PatriotActDisclosure-BNAsJXEL.js} +6 -6
  58. package/dist/{PayoutDetailsDropin-BPms6ZOq.js → PayoutDetailsDropin-D8RUK-Ay.js} +23 -22
  59. package/dist/{PayoutDetailsPage-BTBHMzw7.js → PayoutDetailsPage-Dw9Z6keH.js} +3 -3
  60. package/dist/{Review-CGI0RQO6.js → Review-CzgmjDcZ.js} +3 -3
  61. package/dist/{RootBusinessDetailsPage-BswHBSIN.js → RootBusinessDetailsPage-BZzgcJDi.js} +2 -2
  62. package/dist/{RootBusinessLinesPage-BQxhfHmx.js → RootBusinessLinesPage-Bon-72KE.js} +15 -15
  63. package/dist/{RootIndividualDetailsPage-CFxtnnY4.js → RootIndividualDetailsPage-BDe7rnHs.js} +2 -2
  64. package/dist/{SignPCIComponent-B1kmyOe5.js → SignPCIComponent-LLZf2TeN.js} +5 -5
  65. package/dist/{SingpassSelection-GiZOYWUI.js → SingpassSelection-C_g9IkU2.js} +3 -3
  66. package/dist/{SoleProprietorshipPage-D84M0iEW.js → SoleProprietorshipPage-BIJoqI3I.js} +2 -2
  67. package/dist/{SourceOfFundsPage-B0SzrryD.js → SourceOfFundsPage-tIp7dhQc.js} +17 -17
  68. package/dist/{SourceOfFundsWorkflow-j-GhdsMt.js → SourceOfFundsWorkflow-C2h09Cpx.js} +4 -4
  69. package/dist/{StateField-BYoE_vV0.js → StateField-BiNI3dm9.js} +2 -2
  70. package/dist/{Step-BWQnXZ9F.js → Step-BXiyoYgM.js} +3 -3
  71. package/dist/{Summary-BxGf1dI5.js → Summary-DAL_HF4K.js} +4 -4
  72. package/dist/{Task-B5aOUY4b.js → Task-DdWTxPyj.js} +6 -6
  73. package/dist/{TaskGroup-DJXCb94w.js → TaskGroup-CwGCHRH5.js} +3 -3
  74. package/dist/{TaskListItem-0-jRJAy9.js → TaskListItem-ChlmCIfF.js} +7 -7
  75. package/dist/{TaskStepperContextProvider-DdcsqXT7.js → TaskStepperContextProvider-I7talGDO.js} +1 -1
  76. package/dist/{TaskVerificationStatus-DEXk_ndE.js → TaskVerificationStatus-Bd5Eftf2.js} +1 -1
  77. package/dist/{TaxInformationField-DUjQEF-s.js → TaxInformationField--Uhp0zLv.js} +3 -3
  78. package/dist/{TaxInformationFieldGroup-CrTl9kqF.js → TaxInformationFieldGroup-Dq0J9rBU.js} +4 -4
  79. package/dist/{TaxReportingDropin-DAdIs3_N.js → TaxReportingDropin-C9fGOzkW.js} +8 -8
  80. package/dist/{TaxReportingWorkflow-P9mRynVj.js → TaxReportingWorkflow-IBn7x7Xb.js} +4 -4
  81. package/dist/{TermsOfServiceManagement-BnyyCgPN.js → TermsOfServiceManagement-DT2dwCi_.js} +6 -6
  82. package/dist/{TileGroup-DKwpyGqw.js → TileGroup-BFcSgQ1l.js} +1 -1
  83. package/dist/{ToastContextProvider-D2doAiSZ.js → ToastContextProvider-BSQ1Upl_.js} +2 -2
  84. package/dist/{TrustDetailsPage-CfjP1Q7K.js → TrustDetailsPage-CoXbmmTn.js} +18 -18
  85. package/dist/{TrustMemberCompanyPage-taBHdjIB.js → TrustMemberCompanyPage-Dx-d3qCd.js} +2 -2
  86. package/dist/{TrustMemberIndividualPage-DdwlWwLJ.js → TrustMemberIndividualPage-D894Db-6.js} +2 -2
  87. package/dist/{TrustMemberRoleAndTypePage-DAeIxczv.js → TrustMemberRoleAndTypePage-BDqjSmrc.js} +10 -10
  88. package/dist/{TrustMembersOverview-Bb_rf907.js → TrustMembersOverview-DtWUGzgb.js} +7 -7
  89. package/dist/{UboTaskItem-RFRcZeJr.js → UboTaskItem-VUdGfBnx.js} +6 -6
  90. package/dist/{UnincorporatedPartnershipIndividualPage-lWGiysru.js → UnincorporatedPartnershipIndividualPage-VbufyyKR.js} +2 -2
  91. package/dist/{UnincorporatedPartnershipMemberCompanyPage-oo1cNUHe.js → UnincorporatedPartnershipMemberCompanyPage-CiQGKuDs.js} +2 -2
  92. package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-Cqus5hkL.js → UnincorporatedPartnershipMemberRoleAndTypePage-DZhy16m1.js} +5 -5
  93. package/dist/{UnincorporatedPartnershipMembersOverview-hzs-FlQ0.js → UnincorporatedPartnershipMembersOverview-Dm49I4-5.js} +5 -5
  94. package/dist/{VerificationErrorAlert-B-WILibe.js → VerificationErrorAlert-B6HmAZ0g.js} +1 -1
  95. package/dist/{Workflow-CymBPsE3.js → Workflow-fHd3L40U.js} +5 -5
  96. package/dist/adyen-business-financing.js +4 -4
  97. package/dist/adyen-individual-configuration.js +3 -3
  98. package/dist/adyen-individual-status.js +3 -3
  99. package/dist/adyen-invited-decision-maker.js +3 -3
  100. package/dist/adyen-onboarding.js +11 -11
  101. package/dist/adyen-terms-of-service-management.js +3 -3
  102. package/dist/adyen-terms-of-service-status.js +3 -3
  103. package/dist/adyen-transfer-instrument-configuration.js +3 -3
  104. package/dist/adyen-transfer-instrument-management.js +10 -10
  105. package/dist/adyen-verification-status.js +4 -4
  106. package/dist/{businessRegistrationNumberPatterns-Bd2bazr4.js → businessRegistrationNumberPatterns-pbrCVTTp.js} +1 -1
  107. package/dist/{constants-C7-xFqmm.js → constants-DAb_IqC6.js} +2 -2
  108. package/dist/{validate-D8sQbtil.js → documentUtils-CxjFpoJB.js} +9 -180
  109. package/dist/{dropinUtils-DaA6mmQp.js → dropinUtils-DFjjUh12.js} +5 -5
  110. package/dist/{error-CQMSa-H_.js → error-DrzrPjvf.js} +1 -1
  111. package/dist/{getDefaultRegistrationNumberType-BzOpwR5x.js → getDefaultRegistrationNumberType-BNO2BcfK.js} +3 -3
  112. package/dist/{mapLegalEntityToIndividualSchema-Cs24QJ_x.js → mapLegalEntityToIndividualSchema-Dq6pO0qh.js} +16 -12
  113. package/dist/{processValidationErrors-DsZ6_OXy.js → processValidationErrors-CFU1x_1n.js} +1 -1
  114. package/dist/{resolveEnvironment-g21Gu4Y_.js → resolveEnvironment-RJre7ht-.js} +11 -11
  115. package/dist/types/utils/api/documentUtils.d.ts +1 -0
  116. package/dist/{types-BA3bcGAv.js → types-D6p5FQF-.js} +1 -1
  117. package/dist/{useBusinessDetailsData-FHWhosZj.js → useBusinessDetailsData-BeKBwFXJ.js} +34 -34
  118. package/dist/{useDataset-BMitsLFp.js → useDataset-K19TDoyR.js} +1 -1
  119. package/dist/{useHideTaskStepper-Dk7ZQ3U8.js → useHideTaskStepper-C_w6iUY-.js} +1 -1
  120. package/dist/{useNavigate-BqrdWTzq.js → useNavigate-Dyy9vu2x.js} +32 -32
  121. package/dist/{utils-Dnwr-Kc0.js → utils-BLBh0VEd.js} +3 -3
  122. package/dist/{validate-C1ZPhUgV.js → validate-BBVJuFm5.js} +4 -4
  123. package/dist/validate-Bkpa-y5Q.js +180 -0
  124. package/dist/{validate-k6dACmjX.js → validate-Dmdw3pYn.js} +1 -1
  125. package/dist/{validateExtractionResult-D41PgEa-.js → validateExtractionResult-qkFkcrwl.js} +2 -2
  126. package/dist/{validationError-CLDQ0Qwt.js → validationError-DUn2rT0n.js} +1 -1
  127. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  try {
2
2
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
3
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "c5e98955-1bf2-4032-aa03-ebd853d96cde", e._sentryDebugIdIdentifier = "sentry-dbid-c5e98955-1bf2-4032-aa03-ebd853d96cde");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "fbf8ff8b-7ae8-489b-9b09-54c5c11010b5", e._sentryDebugIdIdentifier = "sentry-dbid-fbf8ff8b-7ae8-489b-9b09-54c5c11010b5");
4
4
  } catch (e) {}
5
5
  import { n as FeatureNames } from "./types-CZAHRt31.js";
6
6
  import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
@@ -26,37 +26,37 @@ var hasProgressedBeyondEntitySelection = (legalEntity) => {
26
26
  };
27
27
  //#endregion
28
28
  //#region src/router/routeConfig.ts
29
- var Introduction = lazy(async () => (await import("./Introduction-CTVUoae1.js")).Introduction);
30
- var Adaptive = lazy(async () => (await import("./AdaptiveWorkflow-q5TVr4ET.js")).AdaptiveWorkflow);
31
- var BusinessTypeSelectionPage = lazy(async () => (await import("./BusinessTypeSelectionPage-DiZhzyXz.js")).BusinessTypeSelectionPage);
32
- var GlobalEntryPage = lazy(async () => (await import("./GlobalEntryPage-C2vMcR6i.js")).GlobalEntryPage);
33
- var SingpassSelection = lazy(async () => (await import("./SingpassSelection-GiZOYWUI.js")).SingpassSelection);
34
- var AccountSetupRejected = lazy(async () => (await import("./AccountSetupRejected-B19onnyG.js")).AccountSetupRejected);
35
- var DecisionMakers = lazy(async () => (await import("./DecisionMakers-B2dpzHQ-.js")).DecisionMakers);
36
- var CustomerSupport = lazy(async () => (await import("./CustomerSupport-DVMEfZdZ.js")).CustomerSupport);
37
- var Review = lazy(async () => (await import("./Review-CGI0RQO6.js")).Review);
38
- var SignPCIComponent = lazy(async () => (await import("./SignPCIComponent-B1kmyOe5.js").then((n) => n.n)).SignPCIComponent);
39
- var AcceptTermsOfService = lazy(async () => (await import("./TermsOfServiceManagement-BnyyCgPN.js").then((n) => n.n)).TermsOfServiceManagement);
40
- var TaxReportingDropin = lazy(async () => (await import("./TaxReportingDropin-DAdIs3_N.js")).TaxReportingDropin);
41
- var PayoutDetailsPage = lazy(async () => (await import("./PayoutDetailsPage-BTBHMzw7.js")).PayoutDetailsPage);
42
- var RootBusinessDetailsPage = lazy(async () => (await import("./RootBusinessDetailsPage-BswHBSIN.js")).RootBusinessDetailsPage);
43
- var RootBusinessLinesPage = lazy(async () => (await import("./RootBusinessLinesPage-BQxhfHmx.js")).RootBusinessLinesPage);
44
- var SoleProprietorshipPage = lazy(async () => (await import("./SoleProprietorshipPage-D84M0iEW.js")).SoleProprietorshipPage);
45
- var TrustMemberCompanyPage = lazy(async () => (await import("./TrustMemberCompanyPage-taBHdjIB.js")).TrustMemberCompanyPage);
46
- var TrustMemberIndividualPage = lazy(async () => (await import("./TrustMemberIndividualPage-DdwlWwLJ.js")).TrustMemberIndividualPage);
47
- var TrustMemberRoleAndTypePage = lazy(async () => (await import("./TrustMemberRoleAndTypePage-DAeIxczv.js")).TrustMemberRoleAndTypePage);
48
- var TrustMembersOverview = lazy(async () => (await import("./TrustMembersOverview-Bb_rf907.js")).TrustMembersOverview);
49
- var UnincorporatedPartnershipMemberCompanyPage = lazy(async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-oo1cNUHe.js")).UnincorporatedPartnershipMemberCompanyPage);
50
- var UnincorporatedPartnershipIndividualPage = lazy(async () => (await import("./UnincorporatedPartnershipIndividualPage-lWGiysru.js")).UnincorporatedPartnershipIndividualPage);
51
- var UnincorporatedPartnershipMemberRoleAndTypePage = lazy(async () => (await import("./UnincorporatedPartnershipMemberRoleAndTypePage-Cqus5hkL.js")).UnincorporatedPartnershipMemberRoleAndTypePage);
52
- var UnincorporatedPartnershipMembersOverview = lazy(async () => (await import("./UnincorporatedPartnershipMembersOverview-hzs-FlQ0.js")).UnincorporatedPartnershipMembersOverview);
53
- var BusinessFinancingPage = lazy(async () => (await import("./BusinessFinancingPage-DlttycNJ.js")).BusinessFinancingPage);
54
- var TrustDetailsPage = lazy(async () => (await import("./TrustDetailsPage-CfjP1Q7K.js")).TrustDetailsPage);
55
- var SourceOfFundsPage = lazy(async () => (await import("./SourceOfFundsPage-B0SzrryD.js")).SourceOfFundsPage);
56
- var RootIndividualDetailsPage = lazy(async () => (await import("./RootIndividualDetailsPage-CFxtnnY4.js")).RootIndividualDetailsPage);
57
- var LegalRepresentativeDetailsPage = lazy(async () => (await import("./LegalRepresentativeDetailsPage-CYHPpiXJ.js")).LegalRepresentativeDetailsPage);
58
- var DecisionMakerDetailsPage = lazy(async () => (await import("./DecisionMakerDetailsPage-BUvvs6i9.js")).DecisionMakerDetailsPage);
59
- lazy(async () => (await import("./InvitedDecisionMakerComponent-XVUjKp4X.js").then((n) => n.n)).InvitedDecisionMakerComponent);
29
+ var Introduction = lazy(async () => (await import("./Introduction-Cz0LnMCN.js")).Introduction);
30
+ var Adaptive = lazy(async () => (await import("./AdaptiveWorkflow-DrpRgnH4.js")).AdaptiveWorkflow);
31
+ var BusinessTypeSelectionPage = lazy(async () => (await import("./BusinessTypeSelectionPage-DeWD37jR.js")).BusinessTypeSelectionPage);
32
+ var GlobalEntryPage = lazy(async () => (await import("./GlobalEntryPage-DZusuIqe.js")).GlobalEntryPage);
33
+ var SingpassSelection = lazy(async () => (await import("./SingpassSelection-C_g9IkU2.js")).SingpassSelection);
34
+ var AccountSetupRejected = lazy(async () => (await import("./AccountSetupRejected-BtcxtVKO.js")).AccountSetupRejected);
35
+ var DecisionMakers = lazy(async () => (await import("./DecisionMakers-CcFvSGqi.js")).DecisionMakers);
36
+ var CustomerSupport = lazy(async () => (await import("./CustomerSupport-B0UJHtAq.js")).CustomerSupport);
37
+ var Review = lazy(async () => (await import("./Review-CzgmjDcZ.js")).Review);
38
+ var SignPCIComponent = lazy(async () => (await import("./SignPCIComponent-LLZf2TeN.js").then((n) => n.n)).SignPCIComponent);
39
+ var AcceptTermsOfService = lazy(async () => (await import("./TermsOfServiceManagement-DT2dwCi_.js").then((n) => n.n)).TermsOfServiceManagement);
40
+ var TaxReportingDropin = lazy(async () => (await import("./TaxReportingDropin-C9fGOzkW.js")).TaxReportingDropin);
41
+ var PayoutDetailsPage = lazy(async () => (await import("./PayoutDetailsPage-Dw9Z6keH.js")).PayoutDetailsPage);
42
+ var RootBusinessDetailsPage = lazy(async () => (await import("./RootBusinessDetailsPage-BZzgcJDi.js")).RootBusinessDetailsPage);
43
+ var RootBusinessLinesPage = lazy(async () => (await import("./RootBusinessLinesPage-Bon-72KE.js")).RootBusinessLinesPage);
44
+ var SoleProprietorshipPage = lazy(async () => (await import("./SoleProprietorshipPage-BIJoqI3I.js")).SoleProprietorshipPage);
45
+ var TrustMemberCompanyPage = lazy(async () => (await import("./TrustMemberCompanyPage-Dx-d3qCd.js")).TrustMemberCompanyPage);
46
+ var TrustMemberIndividualPage = lazy(async () => (await import("./TrustMemberIndividualPage-D894Db-6.js")).TrustMemberIndividualPage);
47
+ var TrustMemberRoleAndTypePage = lazy(async () => (await import("./TrustMemberRoleAndTypePage-BDqjSmrc.js")).TrustMemberRoleAndTypePage);
48
+ var TrustMembersOverview = lazy(async () => (await import("./TrustMembersOverview-DtWUGzgb.js")).TrustMembersOverview);
49
+ var UnincorporatedPartnershipMemberCompanyPage = lazy(async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-CiQGKuDs.js")).UnincorporatedPartnershipMemberCompanyPage);
50
+ var UnincorporatedPartnershipIndividualPage = lazy(async () => (await import("./UnincorporatedPartnershipIndividualPage-VbufyyKR.js")).UnincorporatedPartnershipIndividualPage);
51
+ var UnincorporatedPartnershipMemberRoleAndTypePage = lazy(async () => (await import("./UnincorporatedPartnershipMemberRoleAndTypePage-DZhy16m1.js")).UnincorporatedPartnershipMemberRoleAndTypePage);
52
+ var UnincorporatedPartnershipMembersOverview = lazy(async () => (await import("./UnincorporatedPartnershipMembersOverview-Dm49I4-5.js")).UnincorporatedPartnershipMembersOverview);
53
+ var BusinessFinancingPage = lazy(async () => (await import("./BusinessFinancingPage-wQ3Stqaq.js")).BusinessFinancingPage);
54
+ var TrustDetailsPage = lazy(async () => (await import("./TrustDetailsPage-CoXbmmTn.js")).TrustDetailsPage);
55
+ var SourceOfFundsPage = lazy(async () => (await import("./SourceOfFundsPage-tIp7dhQc.js")).SourceOfFundsPage);
56
+ var RootIndividualDetailsPage = lazy(async () => (await import("./RootIndividualDetailsPage-BDe7rnHs.js")).RootIndividualDetailsPage);
57
+ var LegalRepresentativeDetailsPage = lazy(async () => (await import("./LegalRepresentativeDetailsPage-_u14iANL.js")).LegalRepresentativeDetailsPage);
58
+ var DecisionMakerDetailsPage = lazy(async () => (await import("./DecisionMakerDetailsPage-BZdFtyd5.js")).DecisionMakerDetailsPage);
59
+ lazy(async () => (await import("./InvitedDecisionMakerComponent-llOIdClO.js").then((n) => n.n)).InvitedDecisionMakerComponent);
60
60
  var ROUTE_CONFIG = {
61
61
  [TaskTypes.ADAPTIVE]: {
62
62
  path: "/adaptive",
@@ -5,13 +5,13 @@ try {
5
5
  import { r as useTranslation } from "./translation-DbATp_35.js";
6
6
  import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
7
7
  import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
8
- import { a as alphanumericInputs, c as nonInputs, i as alphaInputs, l as numericInputs, o as customInputs, s as makeMask, u as spacer } from "./MaskedInput-W1FzWAVl.js";
9
- import { n as businessRegistrationNumberMasks, t as businessRegistrationNumberPatterns } from "./businessRegistrationNumberPatterns-Bd2bazr4.js";
8
+ import { a as alphanumericInputs, c as nonInputs, i as alphaInputs, l as numericInputs, o as customInputs, s as makeMask, u as spacer } from "./MaskedInput-CkDwzLxe.js";
9
+ import { n as businessRegistrationNumberMasks, t as businessRegistrationNumberPatterns } from "./businessRegistrationNumberPatterns-pbrCVTTp.js";
10
10
  import { t as uppercase } from "./uppercase-DvjwUM0n.js";
11
11
  import { a as validateNotEmptyOnBlur, o as validatePatternOnBlur } from "./patternValidators-DsrZkuOO.js";
12
12
  import { n as mapSchemaFieldsToApiScriptLocalization, t as mapApiScriptLocalizationToSchemaFields } from "./mapScriptLocalization-BCfkZo1y.js";
13
13
  import { t as isEmpty } from "./isEmpty-Uewyl-r6.js";
14
- import { t as Field } from "./Field-CBvXkDKh.js";
14
+ import { t as Field } from "./Field-Df7ajJE2.js";
15
15
  import { t as RadioGroup } from "./RadioGroup-CY33MT83.js";
16
16
  import { useCallback, useEffect, useMemo } from "preact/hooks";
17
17
  import { jsx } from "preact/jsx-runtime";
@@ -1,6 +1,6 @@
1
1
  try {
2
2
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
3
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "aac4038d-edab-4963-863d-b1139ce0087a", e._sentryDebugIdIdentifier = "sentry-dbid-aac4038d-edab-4963-863d-b1139ce0087a");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "e4b7f316-4ac8-4c0b-9c70-447bfddebcd1", e._sentryDebugIdIdentifier = "sentry-dbid-e4b7f316-4ac8-4c0b-9c70-447bfddebcd1");
4
4
  } catch (e) {}
5
5
  import { r as useTranslation } from "./translation-DbATp_35.js";
6
6
  import { t as createLogger } from "./logger-Z8AeTE4x.js";
@@ -11,11 +11,11 @@ import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
11
11
  import { t as useAnalyticsContext } from "./useAnalyticsContext-gSnRnYgV.js";
12
12
  import { t as KEYBOARD_KEYS } from "./keys-Ce8YnRP2.js";
13
13
  import { n as validateJaKanaLegalCompanyName, t as validateJaHaniLegalCompanyName } from "./patternValidators-DsrZkuOO.js";
14
- import { n as CountryField } from "./CountryField-C7eHHmYk.js";
15
- import { a as defaultFieldMetadata, i as defaultFieldConfigV4, o as defaultFieldMetadataV4, r as defaultFieldConfig, s as getLegalCompanyNameGuidanceText, t as LEGAL_COMPANY_NAME_FIELD } from "./LegalCompanyNameField-C3zITaw1.js";
14
+ import { n as CountryField } from "./CountryField-CMOB4yz4.js";
15
+ import { a as defaultFieldMetadata, i as defaultFieldConfigV4, o as defaultFieldMetadataV4, r as defaultFieldConfig, s as getLegalCompanyNameGuidanceText, t as LEGAL_COMPANY_NAME_FIELD } from "./LegalCompanyNameField-CV2EgRCw.js";
16
16
  import { t as resolveFieldMetadata } from "./fieldConfigurations-CZCFghnK.js";
17
17
  import { t as convertFullToHalf } from "./formFieldsUtils-CnDkgahc.js";
18
- import { r as isJapanLocalizationEnabled } from "./TaxInformationField-DUjQEF-s.js";
18
+ import { r as isJapanLocalizationEnabled } from "./TaxInformationField--Uhp0zLv.js";
19
19
  import { t as toFullWidth } from "./toFullWidth-Dgy4X4i8.js";
20
20
  import { useEffect, useState } from "preact/hooks";
21
21
  import { jsx } from "preact/jsx-runtime";
@@ -0,0 +1,180 @@
1
+ try {
2
+ let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "bc0353b6-035b-4208-bce6-3055a6f3d099", e._sentryDebugIdIdentifier = "sentry-dbid-bc0353b6-035b-4208-bce6-3055a6f3d099");
4
+ } catch (e) {}
5
+ import { r as useTranslation } from "./translation-DbATp_35.js";
6
+ import { t as Icon } from "./Icon-DFQgr7dy.js";
7
+ import { t as Typography } from "./Typography-CAc_f5Iq.js";
8
+ import { t as Loader } from "./Loader-BVtlpTeo.js";
9
+ import { n as IconButton } from "./Button-BxdC8cVB.js";
10
+ import { t as useAnalyticsContext } from "./useAnalyticsContext-gSnRnYgV.js";
11
+ import { d as isNewlyUploadedFile } from "./documentUtils-CxjFpoJB.js";
12
+ import { useEffect } from "preact/hooks";
13
+ import cx from "classnames";
14
+ import { jsx, jsxs } from "preact/jsx-runtime";
15
+ //#region src/utils/bytesToSize.ts
16
+ function bytesToSize(bytes) {
17
+ const sizes = [
18
+ "Bytes",
19
+ "KB",
20
+ "MB",
21
+ "GB",
22
+ "TB"
23
+ ];
24
+ if (bytes === 0) return "n/a";
25
+ const i = parseInt(Math.floor(Math.log(bytes) / Math.log(1024)).toString());
26
+ if (i === 0) return `${bytes} ${sizes[i]}`;
27
+ return `${(bytes / 1024 ** i).toFixed()} ${sizes[i]}`;
28
+ }
29
+ var DropzoneFile_module_default = {
30
+ "dropzone-file": "_dropzone-file_1hbeu_1",
31
+ dropzoneFile: "_dropzone-file_1hbeu_1",
32
+ "dropzone-file-error": "_dropzone-file-error_1hbeu_13",
33
+ dropzoneFileError: "_dropzone-file-error_1hbeu_13",
34
+ "dropzone-file-icon": "_dropzone-file-icon_1hbeu_16",
35
+ dropzoneFileIcon: "_dropzone-file-icon_1hbeu_16",
36
+ "dropzone-file-labels": "_dropzone-file-labels_1hbeu_30",
37
+ dropzoneFileLabels: "_dropzone-file-labels_1hbeu_30",
38
+ "dropzone-file-name": "_dropzone-file-name_1hbeu_36",
39
+ dropzoneFileName: "_dropzone-file-name_1hbeu_36",
40
+ "dropzone-file-size": "_dropzone-file-size_1hbeu_43",
41
+ dropzoneFileSize: "_dropzone-file-size_1hbeu_43",
42
+ "dropzone-file-error-message": "_dropzone-file-error-message_1hbeu_47",
43
+ dropzoneFileErrorMessage: "_dropzone-file-error-message_1hbeu_47"
44
+ };
45
+ //#endregion
46
+ //#region src/components/ui/molecules/Dropzone/DropzoneFile.tsx
47
+ function DropzoneFile(props) {
48
+ const { file, errorMessage, onDelete, loading } = props;
49
+ const { t } = useTranslation("common");
50
+ const userEvents = useAnalyticsContext();
51
+ let documentIcon;
52
+ const formatSize = (bytes) => {
53
+ const sizes = [
54
+ "Bytes",
55
+ "KB",
56
+ "MB",
57
+ "GB",
58
+ "TB"
59
+ ];
60
+ if (!bytes || bytes === 0) return "n/a";
61
+ const i = parseInt(Math.floor(Math.log(bytes) / Math.log(1024)).toString());
62
+ if (i === 0) return `${bytes} ${sizes[i]}`;
63
+ return `${(bytes / 1024 ** i).toFixed(1)} ${sizes[i]}`;
64
+ };
65
+ switch (file.type?.split("/")[0]) {
66
+ case "image":
67
+ documentIcon = "image";
68
+ break;
69
+ default: documentIcon = "document";
70
+ }
71
+ useEffect(() => {
72
+ if (!errorMessage) return;
73
+ userEvents.addFieldEvent("Encountered error", {
74
+ actionType: "change",
75
+ field: "dropzone file",
76
+ returnType: "validation",
77
+ returnValue: errorMessage
78
+ });
79
+ }, [errorMessage, userEvents]);
80
+ return /* @__PURE__ */ jsxs("div", {
81
+ className: cx(DropzoneFile_module_default.dropzoneFile, { [DropzoneFile_module_default.dropzoneFileError]: errorMessage }),
82
+ children: [/* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsxs("div", {
83
+ className: DropzoneFile_module_default.dropzoneFileLabels,
84
+ children: [
85
+ errorMessage ? /* @__PURE__ */ jsx(Icon, {
86
+ testId: "document-invalid",
87
+ name: "warning",
88
+ className: DropzoneFile_module_default.dropzoneFileIcon
89
+ }) : /* @__PURE__ */ jsx(Icon, {
90
+ testId: "document-valid",
91
+ name: documentIcon,
92
+ className: DropzoneFile_module_default.dropzoneFileIcon
93
+ }),
94
+ /* @__PURE__ */ jsx(Typography, {
95
+ variant: "body-stronger",
96
+ className: DropzoneFile_module_default.dropzoneFileName,
97
+ children: file.name
98
+ }),
99
+ /* @__PURE__ */ jsx(Typography, {
100
+ className: DropzoneFile_module_default.dropzoneFileSize,
101
+ children: isNewlyUploadedFile(file) && formatSize(file.size)
102
+ })
103
+ ]
104
+ }), errorMessage && /* @__PURE__ */ jsx("div", {
105
+ className: DropzoneFile_module_default.dropzoneFileErrorMessage,
106
+ children: t(($) => $[errorMessage])
107
+ })] }), loading ? /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(Loader, { size: "medium" }) }) : errorMessage ? /* @__PURE__ */ jsx(IconButton, {
108
+ ariaLabel: t(($) => $["close"]),
109
+ icon: "cross",
110
+ variant: "tertiary",
111
+ onClick: onDelete
112
+ }) : /* @__PURE__ */ jsx(IconButton, {
113
+ ariaLabel: t(($) => $["deleteDocument"]),
114
+ icon: "bin",
115
+ variant: "tertiary",
116
+ onClick: onDelete
117
+ })]
118
+ });
119
+ }
120
+ //#endregion
121
+ //#region src/utils/hasDuplicates.ts
122
+ var hasDuplicates = (arr) => arr.some((item, currIndex) => arr.indexOf(item) !== currIndex);
123
+ //#endregion
124
+ //#region src/components/ui/molecules/Dropzone/validate.ts
125
+ var defaultFileValidationOptions = {
126
+ allowedFileTypes: [
127
+ "JPG",
128
+ "JPEG",
129
+ "PNG",
130
+ "PDF"
131
+ ],
132
+ maxNumberOfFiles: 1,
133
+ maxSize: 4194304,
134
+ isOptional: false
135
+ };
136
+ var filterOnlyNewlyUploadedFiles = (files) => files.filter(isNewlyUploadedFile);
137
+ var fileValidationRules = ({ allowedFileTypes, maxNumberOfFiles, maxSize, isOptional }) => [
138
+ {
139
+ validate: (files) => {
140
+ if (isOptional && (!files || files.length === 0)) return true;
141
+ return Boolean(files && files.length > 0);
142
+ },
143
+ errorMessage: "fieldIsRequired",
144
+ modes: ["blur", "input"]
145
+ },
146
+ {
147
+ validate: (files) => {
148
+ if (!files) return true;
149
+ return files.length <= maxNumberOfFiles;
150
+ },
151
+ errorMessage: "tooManyFiles",
152
+ modes: ["blur", "input"]
153
+ },
154
+ {
155
+ validate: (files) => {
156
+ if (!files) return true;
157
+ return !hasDuplicates(files.map((file) => file.name));
158
+ },
159
+ errorMessage: "duplicatedFiles",
160
+ modes: ["blur", "input"]
161
+ },
162
+ {
163
+ validate: (files) => {
164
+ if (!files) return true;
165
+ return filterOnlyNewlyUploadedFiles(files).every((file) => allowedFileTypes.some((filetype) => file.name.toLowerCase().endsWith(filetype.toLowerCase())));
166
+ },
167
+ errorMessage: "unsupportedFiletype",
168
+ modes: ["blur", "input"]
169
+ },
170
+ {
171
+ validate: (files) => {
172
+ if (!files) return true;
173
+ return filterOnlyNewlyUploadedFiles(files).every((file) => !file.size || file.size < maxSize);
174
+ },
175
+ errorMessage: "maximumFileSizeExceeded",
176
+ modes: ["blur", "input"]
177
+ }
178
+ ];
179
+ //#endregion
180
+ export { bytesToSize as i, fileValidationRules as n, DropzoneFile as r, defaultFileValidationOptions as t };
@@ -1,6 +1,6 @@
1
1
  try {
2
2
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
3
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "e084e83c-717b-4824-9a3e-0397123245c7", e._sentryDebugIdIdentifier = "sentry-dbid-e084e83c-717b-4824-9a3e-0397123245c7");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "6eb7172a-5729-4ba8-9338-488fe8f43853", e._sentryDebugIdIdentifier = "sentry-dbid-6eb7172a-5729-4ba8-9338-488fe8f43853");
4
4
  } catch (e) {}
5
5
  import { t as addressValidators } from "./validate-t6pT7AaZ.js";
6
6
  import { t as capitalize } from "./getProps-DVqK7eRw.js";
@@ -1,11 +1,11 @@
1
1
  try {
2
2
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
3
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "e075901b-cb90-4da2-bd60-889908851ab3", e._sentryDebugIdIdentifier = "sentry-dbid-e075901b-cb90-4da2-bd60-889908851ab3");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "810dfa8f-db43-409b-ad36-798245ef41d7", e._sentryDebugIdIdentifier = "sentry-dbid-810dfa8f-db43-409b-ad36-798245ef41d7");
4
4
  } catch (e) {}
5
5
  import { r as useTranslation } from "./translation-DbATp_35.js";
6
6
  import { t as createLogger } from "./logger-Z8AeTE4x.js";
7
7
  import { t as Typography } from "./Typography-CAc_f5Iq.js";
8
- import { n as IconButton, t as Button } from "./Button-DpPFIUJx.js";
8
+ import { n as IconButton, t as Button } from "./Button-BxdC8cVB.js";
9
9
  import { r as httpPost, s as useApiContext } from "./http-DsJtugN1.js";
10
10
  import { a as objectsDeepEqual, c as valuesOf, s as keysOf } from "./genUtils-nphCwt1A.js";
11
11
  import { t as localizeDateString } from "./localizeDateString-Dxlqr4rL.js";
@@ -2,7 +2,7 @@ try {
2
2
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
3
3
  n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "d9e0f9b7-28dd-440a-8093-aa0a3981149d", e._sentryDebugIdIdentifier = "sentry-dbid-d9e0f9b7-28dd-440a-8093-aa0a3981149d");
4
4
  } catch (e) {}
5
- import { i as getFieldNameFromPath } from "./ErrorPanel-D1ygAX21.js";
5
+ import { i as getFieldNameFromPath } from "./ErrorPanel-PefRq1M4.js";
6
6
  //#region src/utils/validationError.ts
7
7
  var API_VALIDATION_ERROR_CODE = "30_102";
8
8
  var ID_DOCUMENT_UPLOAD_ERROR_CODE = "30_105";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adyen/kyc-components",
3
- "version": "4.25.0-beta.0",
3
+ "version": "4.25.0-beta.1",
4
4
  "keywords": [
5
5
  "adyen",
6
6
  "adyen-for-platforms",