@adyen/kyc-components 3.92.1 → 3.93.0-beta.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 (411) hide show
  1. package/dist/{AcceptTermsOfServiceComponent-Cc5TwxYd.js → AcceptTermsOfServiceComponent-B4fXz2Mj.js} +17 -16
  2. package/dist/{Accordion-CAqKHAj9.js → Accordion-B9ASz7oD.js} +2 -2
  3. package/dist/{AccountSetupRejected-C9FCwunF.js → AccountSetupRejected-BsYzF0XW.js} +3 -3
  4. package/dist/{ActionBar-C1rqfjkV.js → ActionBar-Gbat0LF-.js} +1 -1
  5. package/dist/{Address-C8Kqz-2b.js → Address-Bu9zOvAM.js} +15 -15
  6. package/dist/{Alert-E_a_csSs.js → Alert-0L9Okc_j.js} +3 -3
  7. package/dist/{Avatar-wQ0mYsYL.js → Avatar-C2jFofpv.js} +2 -2
  8. package/dist/{BusinessFinancingComponent-ReMZLbjX.js → BusinessFinancingComponent-C12Xnx_y.js} +5 -5
  9. package/dist/{BusinessFinancingDropin-DtSERjsb.js → BusinessFinancingDropin-BYwivstT.js} +29 -28
  10. package/dist/{BusinessFinancingPage-DqSCsrPJ.js → BusinessFinancingPage-CUeLDq8J.js} +4 -4
  11. package/dist/{BusinessTypeSelectionPage-zzDSHomI.js → BusinessTypeSelectionPage-BQ1yBBhx.js} +9 -9
  12. package/dist/Card-OQuFzmxm.js +90 -0
  13. package/dist/{Checkbox-Bp4HrJKI.js → Checkbox-DBN0bHrR.js} +2 -2
  14. package/dist/{Confirm-Ba5lqFqd.js → Confirm-DvCDgyAD.js} +3 -3
  15. package/dist/{ConstitutionalDocument-DD5CB7gM.js → ConstitutionalDocument-BXepv2HE.js} +18 -18
  16. package/dist/{validate-CIuB6JUT.js → ContactDetails-D84L456z.js} +21 -20
  17. package/dist/{ContextGuidance-aACh9e6u.js → ContextGuidance-CyvagjSm.js} +3 -3
  18. package/dist/{CountryField-B0daMnwW.js → CountryField-DelOJ_90.js} +4 -4
  19. package/dist/{CreateIndividualComponent-pLTW4M3J.js → CreateIndividualComponent-B56tad3f.js} +6 -12
  20. package/dist/{CreateTransferInstrumentComponent-DlSD28ga.js → CreateTransferInstrumentComponent-DAIYbzea.js} +4 -4
  21. package/dist/{Currency-DXgu9MoR.js → Currency-DARtu8dS.js} +11 -8
  22. package/dist/{CustomerSupport-eNBxns8l.js → CustomerSupport-HpsRjJyl.js} +12 -11
  23. package/dist/{DebugModal-jvulkSEe.js → DebugModal-DEYa0E-D.js} +12 -10
  24. package/dist/{DecisionMakerDetailsPage-IV32QvAq.js → DecisionMakerDetailsPage-CmvZWgoB.js} +12 -18
  25. package/dist/{DecisionMakers-CNxYaQOO.js → DecisionMakers-eOsvlawr.js} +21 -22
  26. package/dist/{Dropzone-CJTj99Jm.js → Dropzone-BgrGUcIm.js} +16 -10
  27. package/dist/{EmbeddedStatus-BytQYrC_.js → EmbeddedStatus-CGIXkUXu.js} +3 -3
  28. package/dist/{EndStateLayout-DlvjAj-7.js → EndStateLayout-DhaJTPGG.js} +2 -2
  29. package/dist/EntityAssociation-oAuDZDjG.js +166 -0
  30. package/dist/{EntityGuidanceStatus-D9aXAd7N.js → EntityGuidanceStatus-BfJcqJTt.js} +3 -3
  31. package/dist/{ErrorPanel-DNtK56tD.js → ErrorPanel-CQ5mK5uz.js} +3 -3
  32. package/dist/{Field-BEoeMy3u.js → Field-QQ5BBCkn.js} +2 -3
  33. package/dist/{FormNavigation-Ci1LhKvo.js → FormNavigation-Cl5fnGKp.js} +3 -3
  34. package/dist/{FormWrapper-BCkcULLO.js → FormWrapper-BXCADDZ_.js} +9 -9
  35. package/dist/{Header-87H731cQ.js → Header-DVxe8YCk.js} +2 -2
  36. package/dist/{Image-Dv-RB-a6.js → Image-D2r8auP6.js} +4 -9
  37. package/dist/{rules-CovTg5rc.js → Individual.rules-nvOffGHU.js} +165 -117
  38. package/dist/{IndividualOnfidoDropin-HK_0jjJH.js → IndividualDropin-Ou29J7Dx.js} +1188 -3959
  39. package/dist/{InputDate-BcSMepXz.js → InputDate-DplEveci.js} +1 -1
  40. package/dist/{InputText-D0zIJLdp.js → InputText-V4X24bPM.js} +2 -2
  41. package/dist/{Introduction-D_Zv9G9d.js → Introduction-kVYYqDhe.js} +4 -4
  42. package/dist/{JpAddress-C0Q47X_G.js → JpAddress-BKT0w3jl.js} +11 -10
  43. package/dist/{LandingLayout-oK1JT5Lv.js → LandingLayout-DZt1EtCP.js} +2 -2
  44. package/dist/{LegalRepresentativeDetailsPage-BrBQg06_.js → LegalRepresentativeDetailsPage-BuOPrCAO.js} +6 -11
  45. package/dist/{Link-BTTClZw-.js → Link-s00fWIPD.js} +2 -2
  46. package/dist/{ListItem-BJYQ6BfN.js → ListItem-BOjfMtNh.js} +3 -3
  47. package/dist/{LoaderWrapper-Dl2oV2v2.js → LoaderWrapper-lbUTZxip.js} +1 -1
  48. package/dist/ManageIndividualComponent-C80dv903.js +46 -0
  49. package/dist/{ManageTermsOfServiceComponent-Qpzy5iZg.js → ManageTermsOfServiceComponent-8sW0ubtp.js} +4 -4
  50. package/dist/{ManageTransferInstrumentComponent-CvTD7JqX.js → ManageTransferInstrumentComponent-Djr3hDnm.js} +15 -14
  51. package/dist/{MaskedInput-Bet0abik.js → MaskedInput-Dtui0pFL.js} +17 -9
  52. package/dist/{MaybeModal-Bk3WmK24.js → MaybeModal-DAmEe4LX.js} +2 -2
  53. package/dist/{Modal-1Hv5tfNy.js → Modal-DjqZRXyy.js} +5 -5
  54. package/dist/{makeSelectItemForRole-B1DAxBZ_.js → Name-2lTBQb7g.js} +5 -57
  55. package/dist/{OnboardingDropinComponent-tQW1hXKP.js → OnboardingDropinComponent-Druuv3sE.js} +156 -125
  56. package/dist/{PayoutDetailsDropin-BEoP-NR0.js → PayoutDetailsDropin-B7LtRa1B.js} +91 -87
  57. package/dist/{RadioGroup-Bg_8BEDn.js → RadioGroup-DUYNpTgM.js} +7 -5
  58. package/dist/{RadioGroupCard-NRR-OqqG.js → RadioGroupCard-pMlnbEEB.js} +5 -3
  59. package/dist/{Review-DbX6GFkR.js → Review-_FUu7r2a.js} +8 -7
  60. package/dist/{RootBusinessDetailsPage-BWewaAOg.js → RootBusinessDetailsPage-yrq_AuhE.js} +9 -8
  61. package/dist/{RootBusinessLinesPage-CJ9jECx0.js → RootBusinessLinesPage-Cl18f4sM.js} +82 -55
  62. package/dist/{RootIndividualDetailsPage-CvQ2742R.js → RootIndividualDetailsPage-DCBlFXBW.js} +8 -18
  63. package/dist/{Select-DglmHz2C.js → Select-mBoYJnAZ.js} +16 -8
  64. package/dist/{SignPCIComponent-C6vCs_hW.js → SignPCIComponent-Kf3AvaVB.js} +13 -12
  65. package/dist/{SingpassSelection-Dv7obY3Y.js → SingpassSelection-CfWMbH3h.js} +6 -6
  66. package/dist/{SoleProprietorshipPage-BBaiVx9A.js → SoleProprietorshipPage-5Zy5JrB-.js} +5 -4
  67. package/dist/{SourceOfFundsPage-y4UhFduk.js → SourceOfFundsPage-CzUTeF1S.js} +195 -431
  68. package/dist/{StepProgressIndicator-zp8q1OzD.js → StepProgressIndicator-BE9LWSk0.js} +2 -2
  69. package/dist/{StoreProvider-BY1HQxMn.js → StoreProvider-D5FOVv9p.js} +170 -3243
  70. package/dist/{Summary-Dt4LcwGJ.js → Summary-v4P9Y5kQ.js} +6 -6
  71. package/dist/{TaskVerificationStatus-D7Yyt06M.js → TaskVerificationStatus-5hk86s25.js} +2 -2
  72. package/dist/{TaxInformationField-jCqBsFve.js → TaxInformationField-AcI4laLZ.js} +1469 -1475
  73. package/dist/{TaxReportingDropin-PYjxhlen.js → TaxReportingDropin-ZzpWS0S-.js} +35 -37
  74. package/dist/{TextArea-DaEM1LmR.js → TextArea-DeNjm7Gm.js} +2 -2
  75. package/dist/{TileGroup-B9NP0xL_.js → TileGroup-CZWfBoyM.js} +4 -4
  76. package/dist/{TrustDetailsPage-CcSVv1MP.js → TrustDetailsPage--gTP7acy.js} +41 -35
  77. package/dist/{TrustMemberCompanyPage-f7sbolBK.js → TrustMemberCompanyPage-Bmqb5sgh.js} +6 -5
  78. package/dist/{TrustMemberIndividualPage-BlkZ5WtP.js → TrustMemberIndividualPage-BJ7a5vEO.js} +6 -11
  79. package/dist/{TrustMemberRoleAndTypePage-DCsR7Tdy.js → TrustMemberRoleAndTypePage-eGQ7qNwo.js} +78 -22
  80. package/dist/{TrustMembersOverview-BhDqS5F-.js → TrustMembersOverview-C9VGJyIN.js} +12 -12
  81. package/dist/{UnincorporatedPartnershipIndividualPage-BbprnGI_.js → UnincorporatedPartnershipIndividualPage-DY8NWGLK.js} +6 -11
  82. package/dist/{UnincorporatedPartnershipMemberCompanyPage-BxpxNdg6.js → UnincorporatedPartnershipMemberCompanyPage-CxGb07CR.js} +6 -5
  83. package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-3xUvx9l-.js → UnincorporatedPartnershipMemberRoleAndTypePage-CP88Xvoy.js} +12 -11
  84. package/dist/{UnincorporatedPartnershipMembersOverview-BpZbRr_e.js → UnincorporatedPartnershipMembersOverview-CtJIWCek.js} +9 -9
  85. package/dist/{VerificationErrorAlert-7DNyS4C_.js → VerificationErrorAlert-DAmWLDTw.js} +5 -4
  86. package/dist/{ViewVerificationStatusComponent-urVZF63U.js → ViewVerificationStatusComponent-BKvZhB3Q.js} +5 -4
  87. package/dist/adyen-business-financing.js +6 -3
  88. package/dist/adyen-individual-configuration.js +6 -3
  89. package/dist/adyen-individual-status.js +2 -2
  90. package/dist/adyen-kyc-components.js +19 -19
  91. package/dist/adyen-onboarding.js +6 -3
  92. package/dist/adyen-terms-of-service-management.js +6 -3
  93. package/dist/adyen-terms-of-service-status.js +2 -2
  94. package/dist/adyen-transfer-instrument-configuration.js +6 -3
  95. package/dist/adyen-transfer-instrument-management.js +2 -2
  96. package/dist/adyen-verification-status.js +6 -3
  97. package/dist/{bafinUtils-BROXAx5r.js → bafinUtils-D-iUsb1z.js} +19 -69
  98. package/dist/{bg-BG-DVjwfSz4.js → bg-BG-BMe54km9.js} +2 -2
  99. package/dist/{commonValidators-B7eyF3yt.js → commonValidators-CalwJK5h.js} +2 -2
  100. package/dist/{cs-CZ-CLY9qYTs.js → cs-CZ-BwiHrdav.js} +2 -2
  101. package/dist/{da-DK-uHPPFvD-.js → da-DK-D3nwkjjZ.js} +2 -2
  102. package/dist/{de-DE-SMf6w4NJ.js → de-DE-ZU2Hsp38.js} +2 -2
  103. package/dist/{dropinUtils-DqJ1Ds6F.js → dropinUtils-D59ldyqp.js} +4 -4
  104. package/dist/{el-GR-wv99Y9Yf.js → el-GR-DbOICeSZ.js} +2 -2
  105. package/dist/{es-ES-BqpvBqmR.js → es-ES-diRragkx.js} +2 -2
  106. package/dist/{et-EE-CAuCY0qn.js → et-EE--PzlaQkR.js} +2 -2
  107. package/dist/{fi-FI-DPegZzTc.js → fi-FI-D0_0MXLR.js} +2 -2
  108. package/dist/{fieldConfig-DVdDkF4v.js → fieldConfig-1wEVw6MW.js} +6 -6
  109. package/dist/{formUtils-6n_sAj9f.js → formUtils-BUyxO4Zy.js} +3 -3
  110. package/dist/{fr-FR-BPGwsLDa.js → fr-FR-CbjzHhqH.js} +2 -2
  111. package/dist/{getName-2kWqXhZa.js → getName-BCGuaRKD.js} +2 -2
  112. package/dist/{hr-HR-DdqNL1pQ.js → hr-HR-CDuWrX1x.js} +2 -2
  113. package/dist/{hu-HU-C1LJENXO.js → hu-HU-CXB62KSV.js} +2 -2
  114. package/dist/{iframeWidget-BHiCu3PY.js → iframeWidget-CxqD-Z9-.js} +4 -4
  115. package/dist/{isEmpty-COLZr49P.js → isEmpty-BCB0E6W3.js} +2 -2
  116. package/dist/{it-IT-B1eJg9RL.js → it-IT-BbW5PMj0.js} +2 -2
  117. package/dist/ja-JP-D8-geaup.js +13 -0
  118. package/dist/{japanSupportUtils-DHTmTrsj.js → japanSupportUtils-CNwDfN86.js} +3 -3
  119. package/dist/{localizeDateString-tOyK52gO.js → localizeDateString-DnJ6n3p4.js} +2 -2
  120. package/dist/{lt-LT-BmRnIfWs.js → lt-LT-BCusE8Fe.js} +2 -2
  121. package/dist/{lv-LV-CX9j9Dtv.js → lv-LV-D_D39wup.js} +2 -2
  122. package/dist/{mapExistingFile-Bz4_d6_m.js → mapExistingFile-DF8ylI3D.js} +4 -4
  123. package/dist/{mapJpAddressSchemaToAddressLocalizations-COA1bDNt.js → mapJpAddressSchemaToAddressLocalizations-Y24lCOu6.js} +38 -38
  124. package/dist/{mapLegalEntityToIndividualOnfidoSchema-CdLLvb8F.js → mapLegalEntityToIndividualSchema-BfluetfB.js} +4 -4
  125. package/dist/{mapTransferInstrumentToPayoutAccount-CPpBX8oM.js → mapTransferInstrumentToPayoutAccount-DGEME7Zv.js} +3 -2
  126. package/dist/{nl-NL-cVVIDG7s.js → nl-NL-Z2ifhzHq.js} +2 -2
  127. package/dist/{no-NO-C_tmZ39d.js → no-NO-D09wFbmU.js} +2 -2
  128. package/dist/{patternValidators-DSKvrLlO.js → patternValidators-DbUGFIUU.js} +2 -2
  129. package/dist/{pl-PL-DFZFSKZX.js → pl-PL-uU0uFIWi.js} +2 -2
  130. package/dist/{process-field-configurations-2fq1Bq8j.js → process-field-configurations-DGERpLQI.js} +4 -4
  131. package/dist/{pt-BR-CMiGlY3k.js → pt-BR-DzLl_fGR.js} +2 -2
  132. package/dist/{pt-PT-DmdQxN_1.js → pt-PT-Czix42gf.js} +2 -2
  133. package/dist/{resolveEnvironment-DPBuIa7_.js → resolveEnvironment-S2KpSjit.js} +3 -3
  134. package/dist/{ro-RO-B0slmyWK.js → ro-RO-BmHGZmbO.js} +2 -2
  135. package/dist/{roleMetadata-steXST1L.js → roleMetadata-CKgUDBXU.js} +2 -2
  136. package/dist/{sk-SK-BptPuon4.js → sk-SK-hx3DmG_3.js} +2 -2
  137. package/dist/{sl-SI-C3nGkfNb.js → sl-SI-D06jZL__.js} +2 -2
  138. package/dist/style.css +272 -295
  139. package/dist/styles-CLV89_hH.js +272 -295
  140. package/dist/{sv-SE-CXn28ybc.js → sv-SE-eJgjc6iG.js} +2 -2
  141. package/dist/types/api/address/useAddressCleanse.d.ts +1 -1
  142. package/dist/types/api/address/useRetrieveAddress.d.ts +1 -1
  143. package/dist/types/api/address/useRetrieveFromPostcodeJp.d.ts +1 -1
  144. package/dist/types/api/address/useSearchAddress.d.ts +1 -2
  145. package/dist/types/api/businessLines/useBusinessLines.d.ts +2 -2
  146. package/dist/types/api/businessLines/useCreateBusinessLine.d.ts +1 -1
  147. package/dist/types/api/businessLines/useDeleteBusinessLine.d.ts +1 -1
  148. package/dist/types/api/businessLines/useUpdateBusinessLines.d.ts +1 -1
  149. package/dist/types/api/businessLines/useUpdateSourceOfFunds.d.ts +1 -1
  150. package/dist/types/api/check/useCheck.d.ts +1 -2
  151. package/dist/types/api/companyDataSet/useClearCompanyData.d.ts +1 -1
  152. package/dist/types/api/companySearch/useCompanySearch.d.ts +1 -2
  153. package/dist/types/api/companySelection/useCompanySelection.d.ts +1 -1
  154. package/dist/types/api/configurations/useScenarios.d.ts +2 -160
  155. package/dist/types/api/configurations/useSupportedCountries.d.ts +1 -1
  156. package/dist/types/api/configurations/useTaskTypes.d.ts +1 -1
  157. package/dist/types/api/configurations/useVersionConfiguration.d.ts +1 -1
  158. package/dist/types/api/createLegalEntity/useCreateLegalEntity.d.ts +1 -1
  159. package/dist/types/api/datasets/useLegalForms.d.ts +1 -1
  160. package/dist/types/api/datasets/useNaceCodes.d.ts +1 -1
  161. package/dist/types/api/datasets/useSourceOfFundsTypes.d.ts +1 -1
  162. package/dist/types/api/documentValidation/useDocumentValidate.d.ts +1 -3
  163. package/dist/types/api/documents/useCreateDocument.d.ts +1 -1
  164. package/dist/types/api/documents/useDeleteDocument.d.ts +1 -1
  165. package/dist/types/api/documents/useDocument.d.ts +1 -1
  166. package/dist/types/api/documents/useDocuments.d.ts +1 -1
  167. package/dist/types/api/documents/useUpdateDocument.d.ts +1 -1
  168. package/dist/types/api/entityVerifications/useVerifyIdNumber.d.ts +1 -1
  169. package/dist/types/api/idNowProvider/useIdNowProvider.d.ts +3 -4
  170. package/dist/types/api/idVerificationProviders/idVerificationStartCheck.d.ts +1 -1
  171. package/dist/types/api/idVerificationProviders/useExtractDocumentInformation.d.ts +1 -1
  172. package/dist/types/api/idVerificationProviders/useIdVerificationToken.d.ts +2 -2
  173. package/dist/types/api/industryCodes/useIndustryCodes.d.ts +1 -2
  174. package/dist/types/api/legalEntity/useConfirmReview.d.ts +1 -1
  175. package/dist/types/api/legalEntity/useLegalEntity.d.ts +8 -389
  176. package/dist/types/api/legalEntity/useUpdateLegalEntity.d.ts +1 -1
  177. package/dist/types/api/onboardingStatus/useGenerateOnboardingLink.d.ts +1 -1
  178. package/dist/types/api/onboardingStatus/useOnboardingStatus.d.ts +1 -1
  179. package/dist/types/api/openId/useOpenIdAuthorizationLink.d.ts +1 -2
  180. package/dist/types/api/pci/usePciQuestionnaireList.d.ts +1 -1
  181. package/dist/types/api/pci/usePciStatus.d.ts +1 -1
  182. package/dist/types/api/pci/usePciTemplate.d.ts +1 -1
  183. package/dist/types/api/pci/useSignPci.d.ts +1 -1
  184. package/dist/types/api/providersConfiguration/useProviderStatus.d.ts +1 -1
  185. package/dist/types/api/queryKeys.d.ts +1 -1
  186. package/dist/types/api/taskStatus/useTaskStatus.d.ts +1 -1
  187. package/dist/types/api/taxClassification/useTaxClassification.d.ts +1 -1
  188. package/dist/types/api/termsOfService/useAcceptTermsOfService.d.ts +1 -2
  189. package/dist/types/api/termsOfService/useAcceptedTermsOfService.d.ts +1 -7
  190. package/dist/types/api/termsOfService/useTermsOfService.d.ts +1 -1
  191. package/dist/types/api/termsOfService/useTermsOfServiceAcceptanceInfos.d.ts +1 -1
  192. package/dist/types/api/termsOfService/useTermsOfServiceStatus.d.ts +1 -1
  193. package/dist/types/api/tinVerification/useVerifyTin.d.ts +1 -1
  194. package/dist/types/api/transferInstruments/useBankVerificationProviders.d.ts +1 -1
  195. package/dist/types/api/transferInstruments/useCreateTrustedTransferInstrument.d.ts +1 -1
  196. package/dist/types/api/transferInstruments/useDeleteTransferInstrument.d.ts +1 -1
  197. package/dist/types/api/transferInstruments/useHandleBankVerificationError.d.ts +1 -1
  198. package/dist/types/api/transferInstruments/useTransferInstrument.d.ts +2 -2
  199. package/dist/types/api/transferInstruments/useTransferInstruments.d.ts +1 -1
  200. package/dist/types/api/transferInstruments/useUpdateTransferInstrument.d.ts +1 -1
  201. package/dist/types/api/transferInstruments/useUpdateTrustedTransferInstrument.d.ts +1 -1
  202. package/dist/types/api/types.d.ts +1 -1
  203. package/dist/types/api/uiAnalytics/useAnalyticsSession.d.ts +1 -1
  204. package/dist/types/api/uiAnalytics/usePushAnalyticEvent.d.ts +1 -1
  205. package/dist/types/api/validation/useValidateAccountIdentification.d.ts +1 -2
  206. package/dist/types/api/validation/useValidatePhoneNumber.d.ts +1 -1
  207. package/dist/types/components/BankAccount/forms/BankDocument/BankDocumentClassification.d.ts +1 -2
  208. package/dist/types/components/Business/forms/AdditionalInformation/AdditionalInformation.d.ts +0 -2
  209. package/dist/types/components/Business/forms/BusinessDetails/forms.d.ts +2 -1
  210. package/dist/types/components/Business/forms/BusinessSelection/BusinessInformationCard/BusinessInformationCard.d.ts +1 -1
  211. package/dist/types/components/Business/forms/rules.d.ts +3 -3
  212. package/dist/types/components/Business/mapping/businessDetails/mapBusinessDetailsSchemaToLegalEntity.d.ts +2 -1
  213. package/dist/types/components/Business/mapping/businessDetails/mapLegalEntityToBusinessDetailsSchema.d.ts +8 -1
  214. package/dist/types/components/Business/tasks/BusinessDetailsDropin/utils.d.ts +0 -1
  215. package/dist/types/components/Business/utils/companyUtil.d.ts +0 -9
  216. package/dist/types/components/BusinessLines/constants.d.ts +2 -0
  217. package/dist/types/components/BusinessLines/tasks/BusinessLines/BusinessLineModal/BusinessLineModal.d.ts +2 -1
  218. package/dist/types/components/BusinessLines/tasks/utils.d.ts +4 -2
  219. package/dist/types/components/BusinessLines/tasks/validate.d.ts +0 -2
  220. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/types.d.ts +20 -21
  221. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/utils.d.ts +5 -2
  222. package/dist/types/components/EmbeddedDropins/CreateIndividualComponent/CreateIndividualComponent.d.ts +2 -2
  223. package/dist/types/components/Individual/fields/DriversLicense/DriversLicense.types.d.ts +1 -1
  224. package/dist/types/components/Individual/fields/IdentityNumber/fieldConfig.d.ts +4 -3
  225. package/dist/types/components/Individual/forms/AdditionalPersonalDetails/AdditionalPersonalDetails.types.d.ts +29 -0
  226. package/dist/types/components/Individual/forms/{IndividualOnfido/AdditionalPersonalDetails → AdditionalPersonalDetails}/Identity/Identity.types.d.ts +3 -3
  227. package/dist/types/components/Individual/forms/{IndividualOnfido/AdditionalPersonalDetails → AdditionalPersonalDetails}/Identity/TypeOfIdentity/index.d.ts +2 -2
  228. package/dist/types/components/Individual/forms/AdditionalPersonalDetails/Identity/validate.d.ts +4 -0
  229. package/dist/types/components/Individual/forms/{IndividualOnfido/AdditionalPersonalDetails → AdditionalPersonalDetails}/validate.d.ts +8 -8
  230. package/dist/types/components/Individual/forms/BasicDetails/BasicDetails.types.d.ts +22 -0
  231. package/dist/types/components/Individual/forms/BasicDetails/validate.d.ts +9 -0
  232. package/dist/types/components/Individual/forms/{IndividualOnfido/DataConflictsModal → DataConflictsModal}/ConflictRow.d.ts +1 -1
  233. package/dist/types/components/Individual/forms/{IndividualOnfido/DataConflictsModal → DataConflictsModal}/DataConflictsModal.d.ts +1 -1
  234. package/dist/types/components/Individual/forms/{Individual/IdDocumentUpload → IdDocumentUpload}/types.d.ts +5 -15
  235. package/dist/types/components/Individual/forms/{Individual/IdDocumentUpload → IdDocumentUpload}/utils.d.ts +1 -1
  236. package/dist/types/components/Individual/forms/IdNowVerificationModal/isIdNowModalOpen.d.ts +18 -0
  237. package/dist/types/components/Individual/forms/{IndividualOnfido/IdVerificationMethod → IdVerificationMethod}/IdVerificationMethod.types.d.ts +3 -3
  238. package/dist/types/components/Individual/forms/{IndividualOnfido/IdVerificationMethod → IdVerificationMethod}/OnfidoVerificationModal/OnfidoVerificationModal.d.ts +1 -1
  239. package/dist/types/components/Individual/forms/{IndividualOnfido/IdVerificationMethod → IdVerificationMethod}/UploadedDocument/UploadedDocument.d.ts +1 -1
  240. package/dist/types/components/Individual/forms/{IndividualOnfido/IdVerificationMethod → IdVerificationMethod}/individualOnfidoConflictsSchema.d.ts +5 -5
  241. package/dist/types/components/Individual/forms/IdVerificationMethod/mapExtractionResultToSchema.d.ts +4 -0
  242. package/dist/types/components/Individual/forms/{IndividualOnfido/IdVerificationMethod → IdVerificationMethod}/validateExtractionResult.d.ts +3 -3
  243. package/dist/types/components/Individual/forms/{IndividualOnfido/IndividualOnfido.d.ts → Individual.d.ts} +6 -2
  244. package/dist/types/components/Individual/forms/{IndividualOnfido/IndividualOnfido.rules.d.ts → Individual.rules.d.ts} +5 -6
  245. package/dist/types/components/Individual/forms/{IndividualOnfido/IndividualOnfido.types.d.ts → Individual.types.d.ts} +15 -15
  246. package/dist/types/components/Individual/forms/{Individual/ProofOfRelationship → ProofOfRelationship}/types.d.ts +1 -1
  247. package/dist/types/components/Individual/forms/{Individual/ProofOfResidency → ProofOfResidency}/types.d.ts +1 -1
  248. package/dist/types/components/Individual/forms/{IndividualOnfido/SignatoryQuestionnaire → SignatoryQuestionnaire}/SignatoryQuestionnaire.types.d.ts +1 -1
  249. package/dist/types/components/Individual/forms/{IndividualOnfido/UboQuestionnaire → UboQuestionnaire}/UboQuestionnaire.types.d.ts +2 -2
  250. package/dist/types/components/Individual/forms/{IndividualOnfido/UboQuestionnaire → UboQuestionnaire}/UboQuestionnaireModalContent.d.ts +1 -1
  251. package/dist/types/components/Individual/helpers/bafinUtils.d.ts +3 -2
  252. package/dist/types/components/Individual/helpers/mandateIdVerificationForMotionCapture.d.ts +2 -3
  253. package/dist/types/components/Individual/helpers/roleUtils.d.ts +1 -1
  254. package/dist/types/components/Individual/mapping/adjustOnfidoIdentificationData.d.ts +1 -1
  255. package/dist/types/components/Individual/mapping/getOnfidoIdentityTypeToApiIdentityTypeMap.d.ts +1 -1
  256. package/dist/types/components/Individual/mapping/individualKeyMappings.d.ts +6 -12
  257. package/dist/types/components/Individual/mapping/mapApiDocumentToIndividualDocuments.d.ts +2 -2
  258. package/dist/types/components/Individual/mapping/mapIndividualDocumentToApiDocument.d.ts +2 -3
  259. package/dist/types/components/Individual/mapping/{mapIndividualOnfidoSchemaToLegalEntity.d.ts → mapIndividualSchemaToLegalEntity.d.ts} +1 -1
  260. package/dist/types/components/Individual/mapping/{mapLegalEntityToIndividualOnfidoSchema.d.ts → mapLegalEntityToIndividualSchema.d.ts} +1 -1
  261. package/dist/types/components/Individual/pages/DecisionMakerDetailsPage.d.ts +3 -4
  262. package/dist/types/components/Individual/pages/LegalRepresentativeDetailsPage.d.ts +2 -2
  263. package/dist/types/components/Individual/pages/RootIndividualDetailsPage.d.ts +2 -2
  264. package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/utils.d.ts +1 -13
  265. package/dist/types/components/Individual/tasks/DecisionMakers/RemediationAlerts/remediation.config.d.ts +0 -2
  266. package/dist/types/components/Individual/tasks/DecisionMakers/types.d.ts +8 -0
  267. package/dist/types/components/Individual/tasks/IndividualDropin/IndividualDropin.d.ts +2 -2
  268. package/dist/types/components/Individual/tasks/IndividualDropin/individualFormConfig.d.ts +3 -3
  269. package/dist/types/components/{Individual → Shared}/fields/LocalizedNameFields/types.d.ts +2 -2
  270. package/dist/types/components/Shared/fields/LocalizedNameFields/validate.d.ts +4 -0
  271. package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
  272. package/dist/types/components/Shared/tasks/TaskList/utils.d.ts +0 -2
  273. package/dist/types/components/Trust/pages/TrustMemberIndividualPage.d.ts +2 -2
  274. package/dist/types/components/Trust/tasks/TrustDropin/TrustMultiform.d.ts +2 -1
  275. package/dist/types/components/UnincorporatedPartnership/pages/UnincorporatedPartnershipIndividualPage.d.ts +2 -2
  276. package/dist/types/components/ui/atoms/Card/Card.d.ts +19 -0
  277. package/dist/types/context/ExperimentContext/types.d.ts +0 -36
  278. package/dist/types/context/QueryContext/QueryClient.d.ts +1 -1
  279. package/dist/types/context/StateContext/types.d.ts +2 -3
  280. package/dist/types/core/models/api/instant-id-verification.d.ts +1 -1
  281. package/dist/types/core/models/api/legal-entity-association.d.ts +1 -1
  282. package/dist/types/core/user-events.d.ts +3 -2
  283. package/dist/types/embeds/baseEmbedProps.d.ts +0 -21
  284. package/dist/types/embeds/business-financing/adyen-business-financing.d.ts +2 -1
  285. package/dist/types/embeds/individual-configuration/adyen-individual-configuration.d.ts +5 -1
  286. package/dist/types/embeds/individual-configuration/adyen-individual-configuration.types.d.ts +2 -2
  287. package/dist/types/embeds/onboarding/adyen-onboarding.d.ts +2 -1
  288. package/dist/types/embeds/terms-of-service-management/adyen-terms-of-service-management.d.ts +5 -1
  289. package/dist/types/embeds/transfer-instrument-configuration/adyen-transfer-instrument-configuration.d.ts +2 -1
  290. package/dist/types/embeds/verification-status/adyen-verification-status.d.ts +2 -1
  291. package/dist/types/hooks/useAssociatedLegalEntity.d.ts +1 -1
  292. package/dist/types/hooks/useUboQuestionnaire.d.ts +2 -2
  293. package/dist/types/stores/formState.d.ts +1 -1
  294. package/dist/types/utils/addLinkedFields.d.ts +0 -2
  295. package/dist/types/utils/api/processCapabilitites.d.ts +2 -3
  296. package/dist/types/utils/birthDateUtils.d.ts +0 -17
  297. package/dist/types/utils/entityAssociationUtil.d.ts +3 -4
  298. package/dist/types/utils/entityStatusUtil.d.ts +1 -1
  299. package/dist/types/utils/getFieldsWithExistingData.d.ts +2 -3
  300. package/dist/types/utils/logger.d.ts +0 -1
  301. package/dist/types/utils/performance.d.ts +64 -0
  302. package/dist/types/utils/verification/helpers/verifyIdNumber.d.ts +3 -2
  303. package/dist/{types-2lh4v1NS.js → types-CUp2kEQJ.js} +1 -1
  304. package/dist/{types-Dk94b8kx.js → types-DY4_Oje-.js} +1 -37
  305. package/dist/{types-MoVpdFbr.js → types-DgF4O5ru.js} +2 -2
  306. package/dist/{types-CGYmPCYj.js → types-vqz1MZ1F.js} +2 -2
  307. package/dist/{useAssociatedLegalEntity-BufOLUsc.js → useAssociatedLegalEntity-C8wrPYHO.js} +3 -2
  308. package/dist/{useBusinessDetailsData-D4EbMk7x.js → useBusinessDetailsData-nW3yfjoJ.js} +253 -183
  309. package/dist/{useCreateLegalEntity-CmZ_Xs5Y.js → useCreateLegalEntity-DEc1Kwc9.js} +3 -2
  310. package/dist/{useDataset-BRi4mlWJ.js → useDataset-CLceNuVk.js} +2 -2
  311. package/dist/{useForm-DpYu-ydO.js → useForm-C6Y--Xun.js} +3 -3
  312. package/dist/{useFormContext-03qTwgil.js → useFormContext-7UjLuyeC.js} +7 -7
  313. package/dist/{useGlobalData-Dk70ESMH.js → useGlobalData-DS2ZGdGI.js} +2 -2
  314. package/dist/{useMultiForm-BNwZbeFz.js → useMultiForm-B3D5YMQv.js} +5 -5
  315. package/dist/{useOnboardingStatus-D6f5Kt_w.js → useOnboardingStatus-pO-8haat.js} +3 -2
  316. package/dist/{useScenarios-BQO76Qbs.js → useScenarios-BeYCbuMy.js} +5 -3
  317. package/dist/{useTermsOfServiceStatus-pQ-OjZcj.js → useTermsOfServiceStatus-a9HTnF2t.js} +3 -2
  318. package/dist/{useToastContext-BG3cHfke.js → useToastContext-CY5gBg6O.js} +3 -2
  319. package/dist/{useUnincorporatedPartnershipMembers-DumGMdhZ.js → useUnincorporatedPartnershipMembers-BFoyyohQ.js} +4 -4
  320. package/dist/{useUpdateBusinessLines-BWk0eCVS.js → useUpdateBusinessLines-Ca6VPudz.js} +20 -17
  321. package/dist/{useUpdateLegalEntity-DJomQK33.js → useUpdateLegalEntity-CV9zKmhh.js} +4 -3
  322. package/dist/{utils-DkGVdk7W.js → utils-9A5Vx0Md.js} +25 -21
  323. package/dist/{utils-B5nzpIMU.js → utils-DJ11eWHJ.js} +6 -6
  324. package/dist/{utils-Cm0vPCdA.js → utils-DW7BsBmK.js} +1 -1
  325. package/dist/{utils-DtmnCXcG.js → utils-DkD_AO7r.js} +2 -2
  326. package/dist/{utils-CANy0Arr.js → utils-kwRyi0uY.js} +2 -2
  327. package/dist/{validate-DUJOPfMa.js → validate-BjjltZlf.js} +2 -2
  328. package/dist/{validate-D5t_i90f.js → validate-CDvp3PSV.js} +4 -3
  329. package/dist/{validationError-BkGOdtDT.js → validationError-BSalUIny.js} +3 -3
  330. package/package.json +56 -49
  331. package/dist/Card-BSfGetza.js +0 -82
  332. package/dist/EntityAssociation-Bl1NeRHI.js +0 -159
  333. package/dist/ManageIndividualComponent-C7zwlJuO.js +0 -46
  334. package/dist/hasDataChanged-DzGl3k7N.js +0 -19
  335. package/dist/id-verification-instant-Byt4Oul6.js +0 -58
  336. package/dist/id-verification-manual-CvcTkOSY.js +0 -55
  337. package/dist/ja-JP-PnqAHl14.js +0 -13
  338. package/dist/types/components/Business/tasks/BusinessDetailsDropin/mandatoryFields.d.ts +0 -3
  339. package/dist/types/components/Individual/fields/DecisionMakerRole/DecisionMakerRole.d.ts +0 -3
  340. package/dist/types/components/Individual/fields/DecisionMakerRole/NomineeDecisionMakerRole.d.ts +0 -10
  341. package/dist/types/components/Individual/fields/DecisionMakerRole/types.d.ts +0 -23
  342. package/dist/types/components/Individual/fields/NameFields/validate.d.ts +0 -4
  343. package/dist/types/components/Individual/forms/Individual/IdDocumentUpload/IdDocumentAlreadyUpload.d.ts +0 -2
  344. package/dist/types/components/Individual/forms/Individual/IdDocumentUpload/IdDocumentInstantVerification.d.ts +0 -3
  345. package/dist/types/components/Individual/forms/Individual/IdDocumentUpload/IdDocumentUpload.d.ts +0 -3
  346. package/dist/types/components/Individual/forms/Individual/IdVerificationMethod/IdVerificationMethod.d.ts +0 -3
  347. package/dist/types/components/Individual/forms/Individual/IdVerificationMethod/idVerificationMethodMetadata.d.ts +0 -15
  348. package/dist/types/components/Individual/forms/Individual/IdVerificationMethod/types.d.ts +0 -14
  349. package/dist/types/components/Individual/forms/Individual/Individual.d.ts +0 -47
  350. package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/Identity.d.ts +0 -2
  351. package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/IdentityAu/IdentityAu.d.ts +0 -2
  352. package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/IdentityAu/validate.d.ts +0 -3
  353. package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/IdentityHK/IdentityHK.d.ts +0 -2
  354. package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/IdentityHK/validate.d.ts +0 -3
  355. package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/IdentityNZ/IdentityNZ.d.ts +0 -2
  356. package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/IdentityNZ/validate.d.ts +0 -3
  357. package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/TypeOfIdentity/index.d.ts +0 -11
  358. package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/identityUS/IdentityUS.d.ts +0 -4
  359. package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/types.d.ts +0 -14
  360. package/dist/types/components/Individual/forms/Individual/PersonalDetails/PersonalDetails.d.ts +0 -3
  361. package/dist/types/components/Individual/forms/Individual/PersonalDetails/types.d.ts +0 -41
  362. package/dist/types/components/Individual/forms/Individual/PersonalDetails/validate.d.ts +0 -21
  363. package/dist/types/components/Individual/forms/Individual/form-ids.d.ts +0 -2
  364. package/dist/types/components/Individual/forms/Individual/rules.d.ts +0 -40
  365. package/dist/types/components/Individual/forms/Individual/types.d.ts +0 -50
  366. package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/AdditionalPersonalDetails.types.d.ts +0 -29
  367. package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/Identity/validate.d.ts +0 -4
  368. package/dist/types/components/Individual/forms/IndividualOnfido/BasicDetails/BasicDetails.types.d.ts +0 -22
  369. package/dist/types/components/Individual/forms/IndividualOnfido/BasicDetails/validate.d.ts +0 -6
  370. package/dist/types/components/Individual/forms/IndividualOnfido/IdNowVerificationModal/isIdNowModalOpen.d.ts +0 -17
  371. package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/mapExtractionResultToSchema.d.ts +0 -4
  372. package/dist/types/components/Individual/helpers/isOnfidoAutofillFlowEnabled.d.ts +0 -4
  373. package/dist/types/components/Individual/mapping/adjustIdentificationData.d.ts +0 -3
  374. package/dist/types/components/Individual/mapping/getIdentityTypeToApiIdentityTypeMap.d.ts +0 -3
  375. package/dist/types/components/Individual/mapping/individualOnfidoKeyMappings.d.ts +0 -8
  376. package/dist/types/components/Individual/mapping/mapIndividualToLegalEntity.d.ts +0 -3
  377. package/dist/types/components/Individual/mapping/mapLegalEntityToIndividual.d.ts +0 -3
  378. package/dist/types/components/Individual/tasks/IndividualOnfidoDropin/IndividualOnfidoDropin.d.ts +0 -2
  379. package/dist/types/components/Individual/tasks/IndividualOnfidoDropin/individualOnfidoFormConfig.d.ts +0 -4
  380. package/dist/types/components/ui/molecules/Card/Card.d.ts +0 -3
  381. package/dist/types/components/ui/molecules/Card/types.d.ts +0 -26
  382. package/dist/types/embeds/EmbedBaseElement.d.ts +0 -41
  383. package/dist/types/embeds/EmbedCore.d.ts +0 -22
  384. package/dist/types/embeds/business-financing/AdyenBusinessFinancing.d.ts +0 -14
  385. package/dist/types/embeds/individual-configuration/AdyenIndividual.d.ts +0 -12
  386. package/dist/types/embeds/individual-status/AdyenManageIndividual.d.ts +0 -12
  387. package/dist/types/embeds/onboarding/AdyenOnboarding.d.ts +0 -12
  388. package/dist/types/embeds/terms-of-service-management/AdyenTermsOfService.d.ts +0 -12
  389. package/dist/types/embeds/terms-of-service-status/AdyenManageTermsOfService.d.ts +0 -12
  390. package/dist/types/embeds/transfer-instrument-configuration/AdyenTransferInstrument.d.ts +0 -16
  391. package/dist/types/embeds/transfer-instrument-management/AdyenManageTransferInstrument.d.ts +0 -14
  392. package/dist/types/embeds/verification-status/AdyenVerificationStatus.d.ts +0 -20
  393. /package/dist/types/components/Individual/forms/{IndividualOnfido/AdditionalPersonalDetails → AdditionalPersonalDetails}/AdditionalPersonalDetails.d.ts +0 -0
  394. /package/dist/types/components/Individual/forms/{IndividualOnfido/AdditionalPersonalDetails → AdditionalPersonalDetails}/Identity/Identity.d.ts +0 -0
  395. /package/dist/types/components/Individual/forms/{IndividualOnfido/BasicDetails → BasicDetails}/BasicDetails.d.ts +0 -0
  396. /package/dist/types/components/Individual/forms/{IndividualOnfido/GuidanceQuestion → GuidanceQuestion}/GuidanceQuestion.d.ts +0 -0
  397. /package/dist/types/components/Individual/forms/{Individual/IdDocumentUpload → IdDocumentUpload}/IdDocumentManualUpload.d.ts +0 -0
  398. /package/dist/types/components/Individual/forms/{IndividualOnfido/IdNowVerificationModal → IdNowVerificationModal}/IdNowVerificationModal.d.ts +0 -0
  399. /package/dist/types/components/Individual/forms/{Individual/IdVerification → IdVerification}/IdVerification.d.ts +0 -0
  400. /package/dist/types/components/Individual/forms/{Individual/IdVerification → IdVerification}/idVerificationProviderId.d.ts +0 -0
  401. /package/dist/types/components/Individual/forms/{Individual/IdVerification → IdVerification}/types.d.ts +0 -0
  402. /package/dist/types/components/Individual/forms/{IndividualOnfido/IdVerificationMethod → IdVerificationMethod}/IdVerificationMethod.d.ts +0 -0
  403. /package/dist/types/components/Individual/forms/{IndividualOnfido/ManualIdUpload → ManualIdUpload}/ManualIdUpload.d.ts +0 -0
  404. /package/dist/types/components/Individual/forms/{Individual/ProofOfRelationship → ProofOfRelationship}/index.d.ts +0 -0
  405. /package/dist/types/components/Individual/forms/{Individual/ProofOfResidency → ProofOfResidency}/ProofOfResidency.d.ts +0 -0
  406. /package/dist/types/components/Individual/forms/{IndividualOnfido/SignatoryQuestionnaire → SignatoryQuestionnaire}/SignatoryQuestionnaire.d.ts +0 -0
  407. /package/dist/types/components/Individual/forms/{IndividualOnfido/SignatoryQuestionnaire → SignatoryQuestionnaire}/SignatoryQuestionnaireModalContent.d.ts +0 -0
  408. /package/dist/types/components/Individual/forms/{IndividualOnfido/UboQuestionnaire → UboQuestionnaire}/UboQuestionnaire.d.ts +0 -0
  409. /package/dist/types/components/Individual/forms/{IndividualOnfido/form-ids.d.ts → form-ids.d.ts} +0 -0
  410. /package/dist/types/components/Individual/tasks/{IndividualOnfidoDropin/IndividualOnfidoStore.d.ts → IndividualDropin/IndividualStore.d.ts} +0 -0
  411. /package/dist/types/components/{Individual → Shared}/fields/LocalizedNameFields/LocalizedNameFields.d.ts +0 -0
@@ -9,7 +9,7 @@
9
9
  ;
10
10
  import { jsx } from "preact/jsx-runtime";
11
11
  import { useMemo } from "preact/hooks";
12
- import { a as InputBase } from "./InputText-D0zIJLdp.js";
12
+ import { a as InputBase } from "./InputText-V4X24bPM.js";
13
13
  const checkDateInputSupport = () => {
14
14
  const input = document.createElement("input");
15
15
  input.setAttribute("type", "date");
@@ -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] = "b11ac153-81d9-4747-b37d-d426dbca828e", e._sentryDebugIdIdentifier = "sentry-dbid-b11ac153-81d9-4747-b37d-d426dbca828e");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "7dfaa094-9a83-4d0b-a280-0ce9f116c9a7", e._sentryDebugIdIdentifier = "sentry-dbid-7dfaa094-9a83-4d0b-a280-0ce9f116c9a7");
6
6
  } catch (e) {
7
7
  }
8
8
  }
@@ -11,7 +11,7 @@ import { jsx } from "preact/jsx-runtime";
11
11
  import { forwardRef } from "preact/compat";
12
12
  import { useRef, useState, useCallback, useLayoutEffect } from "preact/hooks";
13
13
  import cx from "classnames";
14
- import { V as useAnalyticsContext } from "./StoreProvider-BY1HQxMn.js";
14
+ import { P as useAnalyticsContext } from "./StoreProvider-D5FOVv9p.js";
15
15
  import { d as debouncedInputEvent } from "./debouncedInputEvent-Cv2S512Y.js";
16
16
  const InputBase = forwardRef((props, ref) => {
17
17
  const userEvents = useAnalyticsContext();
@@ -2,17 +2,17 @@
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] = "6ec49348-af38-46d1-8388-867d3e81103e", e._sentryDebugIdIdentifier = "sentry-dbid-6ec49348-af38-46d1-8388-867d3e81103e");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "c0db0022-d18a-4b3f-b519-4c0e3f616e5e", e._sentryDebugIdIdentifier = "sentry-dbid-c0db0022-d18a-4b3f-b519-4c0e3f616e5e");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
- import { U as TaskTypes, r as LegalEntityTypes, u as useTranslation, c as useLegalEntity, R as ROOT_LE, a as addResourceBundles, L as Loader, V as useAnalyticsContext, B as Button, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-BY1HQxMn.js";
10
+ import { O as TaskTypes, q as LegalEntityTypes, u as useTranslation, c as useLegalEntity, R as ROOT_LE, a as addResourceBundles, L as Loader, P as useAnalyticsContext, B as Button, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-D5FOVv9p.js";
11
11
  import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
12
12
  import { useState, useEffect } from "preact/hooks";
13
- import { S as StepProgressIndicator } from "./StepProgressIndicator-zp8q1OzD.js";
13
+ import { S as StepProgressIndicator } from "./StepProgressIndicator-BE9LWSk0.js";
14
14
  import { useMemo } from "preact/compat";
15
- import { b as useCanSeeIntroduction, c as useLegalEntityType } from "./OnboardingDropinComponent-tQW1hXKP.js";
15
+ import { b as useCanSeeIntroduction, c as useLegalEntityType } from "./OnboardingDropinComponent-Druuv3sE.js";
16
16
  const IntroductionScreens = {
17
17
  PROLOGUE: "PROLOGUE",
18
18
  INDIVIDUAL: TaskTypes.INDIVIDUAL,
@@ -2,26 +2,27 @@
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] = "5fa5caa7-10f6-4ec1-8841-ab558cd3695a", e._sentryDebugIdIdentifier = "sentry-dbid-5fa5caa7-10f6-4ec1-8841-ab558cd3695a");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "42c914f2-b3a9-48e5-979f-87dbd9147963", e._sentryDebugIdIdentifier = "sentry-dbid-42c914f2-b3a9-48e5-979f-87dbd9147963");
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 { b as useApiContext, j as useQuery, m as httpGet, Y as noop, u as useTranslation, aj as useI18nContext, Z as useExperimentsContext, V as useAnalyticsContext, H as createLogger, C as CountryCodes, G as Typography } from "./StoreProvider-BY1HQxMn.js";
13
- import { F as Field } from "./Field-BEoeMy3u.js";
12
+ import { useQuery } from "@tanstack/preact-query";
13
+ import { b as useApiContext, k as httpGet, ab as noop, u as useTranslation, ag as useI18nContext, W as useExperimentsContext, P as useAnalyticsContext, C as CountryCodes, x as Typography, z as createLogger } from "./StoreProvider-D5FOVv9p.js";
14
+ import { F as Field } from "./Field-QQ5BBCkn.js";
14
15
  import { L as List } from "./List-BAzyC6sw.js";
15
16
  import { S as Spacer } from "./Spacer-BK3jDget.js";
16
- import { u as useForm } from "./useForm-DpYu-ydO.js";
17
+ import { u as useForm } from "./useForm-C6Y--Xun.js";
17
18
  import { S as StackLayout } from "./unincorporated-partnership-MeN1dp53.js";
18
- import { I as InputText } from "./InputText-D0zIJLdp.js";
19
- import { M as MaskedInput, m as makeMask, n as numericInputs, a as nonInputs } from "./MaskedInput-Bet0abik.js";
19
+ import { I as InputText } from "./InputText-V4X24bPM.js";
20
+ import { M as MaskedInput, m as makeMask, n as numericInputs, a as nonInputs } from "./MaskedInput-Dtui0pFL.js";
20
21
  import { J as JP_ADDRESS_REQUIRED_FIELDS } from "./jpAddressSchema-De6ix57p.js";
21
- import { e as addressValidationRulesV4, h as addressValidationRules } from "./Address-C8Kqz-2b.js";
22
+ import { d as addressValidationRulesV4, e as addressValidationRules } from "./Address-Bu9zOvAM.js";
22
23
  import { u as useDebouncedCallback } from "./debouncedInputEvent-Cv2S512Y.js";
23
- import { c as convertFullToHalf } from "./TextArea-DaEM1LmR.js";
24
- import { t as toFullWidth } from "./mapJpAddressSchemaToAddressLocalizations-COA1bDNt.js";
24
+ import { c as convertFullToHalf } from "./TextArea-DeNjm7Gm.js";
25
+ import { t as toFullWidth } from "./mapJpAddressSchemaToAddressLocalizations-Y24lCOu6.js";
25
26
  const retrieveFromPostcodeJp = async (legalEntityId, baseUrl, postalCode) => httpGet({
26
27
  baseUrl,
27
28
  path: `legalEntities/${legalEntityId}/addresses/jp/${postalCode}`
@@ -186,7 +187,7 @@ const JpAddress = ({
186
187
  InputText,
187
188
  {
188
189
  ...childProps,
189
- value: formData.otherAddressInformationFullWidth ?? "",
190
+ value: formData.otherAddressInformationFullWidth ?? toFullWidth(formData.otherAddressInformation ?? ""),
190
191
  onInput: (e) => {
191
192
  handleChangeFor("otherAddressInformationFullWidth", "input")(e);
192
193
  handleChangeFor(
@@ -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] = "fb03dfee-7005-49a3-9739-aca38e5a9367", e._sentryDebugIdIdentifier = "sentry-dbid-fb03dfee-7005-49a3-9739-aca38e5a9367");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "73c1291e-fd32-4c0e-b19c-cd890164aa6a", e._sentryDebugIdIdentifier = "sentry-dbid-73c1291e-fd32-4c0e-b19c-cd890164aa6a");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsxs, jsx } from "preact/jsx-runtime";
11
- import { G as Typography } from "./StoreProvider-BY1HQxMn.js";
11
+ import { x as Typography } from "./StoreProvider-D5FOVv9p.js";
12
12
  import { S as StackLayout } from "./unincorporated-partnership-MeN1dp53.js";
13
13
  const landingLayoutImage = "adyen-kyc-landing-layout-image";
14
14
  const landingLayoutActions = "adyen-kyc-landing-layout-actions";
@@ -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] = "2168c21c-63fd-4ad2-8be6-32fb1e65e2f7", e._sentryDebugIdIdentifier = "sentry-dbid-2168c21c-63fd-4ad2-8be6-32fb1e65e2f7");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "5d2eb649-dd57-4dac-85cf-910ea7072421", e._sentryDebugIdIdentifier = "sentry-dbid-5d2eb649-dd57-4dac-85cf-910ea7072421");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
- import { c as useLegalEntity, w as skipToken, R as ROOT_LE, Z as useExperimentsContext, u as useTranslation, a as addResourceBundles, L as Loader, g as getLegalEntityCountry, O as EntityTypes, ae as isOnfidoAutofillFlowEnabled, Y as noop, U as TaskTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-BY1HQxMn.js";
10
+ import { c as useLegalEntity, R as ROOT_LE, u as useTranslation, a as addResourceBundles, L as Loader, g as getLegalEntityCountry, M as EntityTypes, ab as noop, O as TaskTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-D5FOVv9p.js";
11
11
  import { jsx } from "preact/jsx-runtime";
12
- import { u as useCapabilityProblems, g as getProblemsForEntity } from "./Image-Dv-RB-a6.js";
13
- import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-HK_0jjJH.js";
12
+ import { skipToken } from "@tanstack/preact-query";
13
+ import { u as useCapabilityProblems, g as getProblemsForEntity } from "./Image-D2r8auP6.js";
14
+ import { I as IndividualOnfidoDropin } from "./IndividualDropin-Ou29J7Dx.js";
14
15
  function LegalRepresentativeDetailsPage({
15
16
  legalRepresentativeId,
16
17
  asModal = false,
@@ -24,7 +25,6 @@ function LegalRepresentativeDetailsPage({
24
25
  const { data: legalRepresentativeLe } = useLegalEntity(legalRepresentativeId ?? skipToken);
25
26
  const { data: rootLe } = useLegalEntity(ROOT_LE);
26
27
  const capabilityProblems = useCapabilityProblems();
27
- const { isExperimentEnabled } = useExperimentsContext();
28
28
  const { i18n } = useTranslation();
29
29
  addResourceBundles(i18n, [
30
30
  { ns: "individual", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../language/bg-BG.json": () => import("./bg-BG-wMYXZGDQ.js"), "../language/cs-CZ.json": () => import("./cs-CZ-bkbdzIkF.js"), "../language/da-DK.json": () => import("./da-DK-DvZ431fC.js"), "../language/de-DE.json": () => import("./de-DE-0uSzhWg5.js"), "../language/el-GR.json": () => import("./el-GR-CWWBcvDM.js"), "../language/en-US.json": () => import("./en-US-fyGPkcqX.js"), "../language/es-ES.json": () => import("./es-ES-B7dt4cn7.js"), "../language/et-EE.json": () => import("./et-EE-D_3GB-yT.js"), "../language/fi-FI.json": () => import("./fi-FI-REMsyTSr.js"), "../language/fr-FR.json": () => import("./fr-FR-CvHWmim-.js"), "../language/hr-HR.json": () => import("./hr-HR-LO3oO8yb.js"), "../language/hu-HU.json": () => import("./hu-HU-DEKBPTur.js"), "../language/it-IT.json": () => import("./it-IT-BeX7-OcD.js"), "../language/ja-JP.json": () => import("./ja-JP-D1vtig2x.js"), "../language/lt-LT.json": () => import("./lt-LT-3niAR3rI.js"), "../language/lv-LV.json": () => import("./lv-LV-K-KFPny2.js"), "../language/nl-NL.json": () => import("./nl-NL-CM5U8ODq.js"), "../language/no-NO.json": () => import("./no-NO-BQL_M1pn.js"), "../language/pl-PL.json": () => import("./pl-PL-DC_lIAnp.js"), "../language/pt-BR.json": () => import("./pt-BR-AZ3roErF.js"), "../language/pt-PT.json": () => import("./pt-PT-DVKtHjIY.js"), "../language/ro-RO.json": () => import("./ro-RO-CHcD-PGb.js"), "../language/sk-SK.json": () => import("./sk-SK-s9Xm01UD.js"), "../language/sl-SI.json": () => import("./sl-SI-C0wSbuau.js"), "../language/sv-SE.json": () => import("./sv-SE-DtKjf4Go.js") }), `../language/${lang}.json`, 3) }
@@ -34,11 +34,6 @@ function LegalRepresentativeDetailsPage({
34
34
  }
35
35
  const country = getLegalEntityCountry(legalRepresentativeLe ?? rootLe);
36
36
  const problems = capabilityProblems ? getProblemsForEntity(capabilityProblems, EntityTypes.LEGAL_ENTITY, rootLe.id) : void 0;
37
- const isOnfidoAutofillFlow = isOnfidoAutofillFlowEnabled(
38
- country,
39
- TaskTypes.LEGAL_REPRESENTATIVE_DETAILS,
40
- isExperimentEnabled
41
- );
42
37
  const props = {
43
38
  taskType: TaskTypes.LEGAL_REPRESENTATIVE_DETAILS,
44
39
  taskName: "legalRepresentativeDetails",
@@ -53,7 +48,7 @@ function LegalRepresentativeDetailsPage({
53
48
  handleCloseClick,
54
49
  handleHomeClick
55
50
  };
56
- return isOnfidoAutofillFlow ? /* @__PURE__ */ jsx(IndividualOnfidoDropin, { ...props }) : /* @__PURE__ */ jsx(IndividualDropin, { ...props });
51
+ return /* @__PURE__ */ jsx(IndividualOnfidoDropin, { ...props });
57
52
  }
58
53
  export {
59
54
  LegalRepresentativeDetailsPage
@@ -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] = "50572fab-644f-4f69-9239-db9d9415dbb3", e._sentryDebugIdIdentifier = "sentry-dbid-50572fab-644f-4f69-9239-db9d9415dbb3");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "082652ad-e8b1-4e6d-a4c1-926badba34a6", e._sentryDebugIdIdentifier = "sentry-dbid-082652ad-e8b1-4e6d-a4c1-926badba34a6");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsxs, jsx } from "preact/jsx-runtime";
11
11
  import cx from "classnames";
12
- import { W as Icon } from "./StoreProvider-BY1HQxMn.js";
12
+ import { U as Icon } from "./StoreProvider-D5FOVv9p.js";
13
13
  const link = "adyen-kyc-link";
14
14
  const linkDefault = "adyen-kyc-link-default";
15
15
  const linkInline = "adyen-kyc-link-inline";
@@ -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] = "c93887fe-b744-4425-9beb-065dd9183a73", e._sentryDebugIdIdentifier = "sentry-dbid-c93887fe-b744-4425-9beb-065dd9183a73");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "1f9c2ac5-49d8-4b43-bd62-35d50dfcecff", e._sentryDebugIdIdentifier = "sentry-dbid-1f9c2ac5-49d8-4b43-bd62-35d50dfcecff");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
11
11
  import cx from "classnames";
12
- import { A as Avatar } from "./Avatar-wQ0mYsYL.js";
13
- import { W as Icon } from "./StoreProvider-BY1HQxMn.js";
12
+ import { A as Avatar } from "./Avatar-C2jFofpv.js";
13
+ import { U as Icon } from "./StoreProvider-D5FOVv9p.js";
14
14
  const listItem = "adyen-kyc-list-item";
15
15
  const listItemInteractive = "adyen-kyc-list-item-interactive";
16
16
  const listItemText = "adyen-kyc-list-item-text";
@@ -9,7 +9,7 @@
9
9
  ;
10
10
  import { jsxs, jsx } from "preact/jsx-runtime";
11
11
  import cx from "classnames";
12
- import { L as Loader } from "./StoreProvider-BY1HQxMn.js";
12
+ import { L as Loader } from "./StoreProvider-D5FOVv9p.js";
13
13
  const loaderWrapperLoader = "adyen-kyc-loader-wrapper-loader";
14
14
  const loaderWrapperLoaderActive = "adyen-kyc-loader-wrapper-loader-active";
15
15
  const styles = {
@@ -0,0 +1,46 @@
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] = "76f26744-ec51-4add-8d55-e4b3065de335", e._sentryDebugIdIdentifier = "sentry-dbid-76f26744-ec51-4add-8d55-e4b3065de335");
6
+ } catch (e) {
7
+ }
8
+ }
9
+ ;
10
+ import { u as useTranslation, b as useApiContext, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper, c as useLegalEntity, R as ROOT_LE } from "./StoreProvider-D5FOVv9p.js";
11
+ import { jsx } from "preact/jsx-runtime";
12
+ import { u as useOnboardingStatus } from "./useOnboardingStatus-pO-8haat.js";
13
+ import { O as OnboardingStatuses } from "./view-verification-status-VFcBydkR.js";
14
+ import { E as EmbeddedStatus } from "./EmbeddedStatus-CGIXkUXu.js";
15
+ function ManageIndividualComponent({
16
+ legalEntityId,
17
+ onClick
18
+ }) {
19
+ const { i18n } = useTranslation();
20
+ const { rootLegalEntityId: currentLegalEntityId } = useApiContext();
21
+ currentLegalEntityId.value = legalEntityId;
22
+ addResourceBundles(i18n, [
23
+ { ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-BMe54km9.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-BwiHrdav.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-D3nwkjjZ.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-ZU2Hsp38.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-DbOICeSZ.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-D5FOVv9p.js").then((n) => n.bD), "../../../language/locales/es-ES.json": () => import("./es-ES-diRragkx.js"), "../../../language/locales/et-EE.json": () => import("./et-EE--PzlaQkR.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-D0_0MXLR.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-CbjzHhqH.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-CDuWrX1x.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-CXB62KSV.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-BbW5PMj0.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-D8-geaup.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-BCusE8Fe.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-D_D39wup.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-Z2ifhzHq.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-D09wFbmU.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-uU0uFIWi.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-DzLl_fGR.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-Czix42gf.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-BmHGZmbO.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-hx3DmG_3.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-D06jZL__.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-eJgjc6iG.js") }), `../../../language/locales/${lang}.json`, 6) }
24
+ ]);
25
+ const { data: legalEntityData } = useLegalEntity(ROOT_LE);
26
+ const { isPending, data: onboardingStatusData } = useOnboardingStatus({
27
+ refetchInterval: (res) => res.state.data?.status === OnboardingStatuses.AWAITING_DATA ? 3e3 : false
28
+ });
29
+ const name = legalEntityData?.individual?.name;
30
+ const fullName = name ? `${name.firstName} ${name.lastName}` : "";
31
+ const subtitle = legalEntityData?.individual?.email ?? "";
32
+ const status = onboardingStatusData?.status;
33
+ return /* @__PURE__ */ jsx(
34
+ EmbeddedStatus,
35
+ {
36
+ onClick,
37
+ title: fullName,
38
+ subtitle,
39
+ status,
40
+ loading: isPending
41
+ }
42
+ );
43
+ }
44
+ export {
45
+ ManageIndividualComponent as M
46
+ };
@@ -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] = "008e547a-10b8-496c-a236-17b3ed00e325", e._sentryDebugIdIdentifier = "sentry-dbid-008e547a-10b8-496c-a236-17b3ed00e325");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "8ed96b86-e49e-4e92-a7f4-45aaeaaed85f", e._sentryDebugIdIdentifier = "sentry-dbid-8ed96b86-e49e-4e92-a7f4-45aaeaaed85f");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
- import { b as useApiContext, u as useTranslation, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-BY1HQxMn.js";
10
+ import { b as useApiContext, u as useTranslation, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-D5FOVv9p.js";
11
11
  import { jsx } from "preact/jsx-runtime";
12
- import { a as useTermsOfServiceAcceptanceInfos, u as useTermsOfServiceStatus } from "./useTermsOfServiceStatus-pQ-OjZcj.js";
13
- import { E as EmbeddedStatus } from "./EmbeddedStatus-BytQYrC_.js";
12
+ import { a as useTermsOfServiceAcceptanceInfos, u as useTermsOfServiceStatus } from "./useTermsOfServiceStatus-a9HTnF2t.js";
13
+ import { E as EmbeddedStatus } from "./EmbeddedStatus-CGIXkUXu.js";
14
14
  function ManageTermsOfServiceComponent({
15
15
  legalEntityId,
16
16
  onClick
@@ -2,28 +2,29 @@
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] = "af72e9c7-3f8f-4db9-a4e2-31f1a5c063e2", e._sentryDebugIdIdentifier = "sentry-dbid-af72e9c7-3f8f-4db9-a4e2-31f1a5c063e2");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "7a640ea2-0202-420c-9f63-2b804a140d71", e._sentryDebugIdIdentifier = "sentry-dbid-7a640ea2-0202-420c-9f63-2b804a140d71");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
- import { b as useApiContext, j as useQuery, m as httpGet, aj as useI18nContext, u as useTranslation, ai as getCapabilityProblems, B as Button, L as Loader, ak as cloneObject, al as entriesOf, J as TaskStatuses, H as createLogger, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper, G as Typography } from "./StoreProvider-BY1HQxMn.js";
10
+ import { b as useApiContext, k as httpGet, ag as useI18nContext, u as useTranslation, af as getCapabilityProblems, B as Button, L as Loader, ah as cloneObject, ai as entriesOf, G as TaskStatuses, z as createLogger, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper, x as Typography } from "./StoreProvider-D5FOVv9p.js";
11
11
  import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
12
- import { V as VerificationErrorAlert, u as useDeleteTransferInstrument } from "./VerificationErrorAlert-7DNyS4C_.js";
13
- import { u as useToastContext } from "./useToastContext-BG3cHfke.js";
14
- import { u as useDataset } from "./useDataset-BRi4mlWJ.js";
15
- import { a as Alert } from "./Alert-E_a_csSs.js";
16
- import { s as statusToTag, E as EmbeddedStatus } from "./EmbeddedStatus-BytQYrC_.js";
12
+ import { V as VerificationErrorAlert, u as useDeleteTransferInstrument } from "./VerificationErrorAlert-DAmWLDTw.js";
13
+ import { useQuery } from "@tanstack/preact-query";
14
+ import { u as useToastContext } from "./useToastContext-CY5gBg6O.js";
15
+ import { u as useDataset } from "./useDataset-CLceNuVk.js";
16
+ import { a as Alert } from "./Alert-0L9Okc_j.js";
17
+ import { s as statusToTag, E as EmbeddedStatus } from "./EmbeddedStatus-CGIXkUXu.js";
17
18
  import { a as datasetUtilities, d as datasetIdentifier } from "./datasetUtil-BHQp0-xL.js";
18
19
  import { useState } from "preact/hooks";
19
- import { m as mapTransferInstrumentToPayoutAccount, u as useTransferInstrument } from "./mapTransferInstrumentToPayoutAccount-CPpBX8oM.js";
20
- import { M as Modal } from "./Modal-1Hv5tfNy.js";
20
+ import { m as mapTransferInstrumentToPayoutAccount, u as useTransferInstrument } from "./mapTransferInstrumentToPayoutAccount-DGEME7Zv.js";
21
+ import { C as Card } from "./Card-OQuFzmxm.js";
22
+ import { M as Modal } from "./Modal-DjqZRXyy.js";
21
23
  import { S as StructuredList } from "./StructuredList-9dnJRdx_.js";
22
24
  import { T as Tag } from "./Tag-DdkVScyr.js";
23
25
  import { D as DetailViewLayout } from "./DetailViewLayout-Z9cuUp4X.js";
24
- import { C as Card } from "./Card-BSfGetza.js";
25
- import { C as Confirm } from "./Confirm-Ba5lqFqd.js";
26
- import { c as currencyByCountry } from "./types-CGYmPCYj.js";
26
+ import { C as Confirm } from "./Confirm-DvCDgyAD.js";
27
+ import { c as currencyByCountry } from "./types-vqz1MZ1F.js";
27
28
  const getTransferInstruments = async (legalEntityId, baseUrl) => {
28
29
  return httpGet({
29
30
  baseUrl,
@@ -117,7 +118,7 @@ function ManageTransferInstrumentOverviewItemModal({
117
118
  return /* @__PURE__ */ jsxs(Fragment, { children: [
118
119
  /* @__PURE__ */ jsx(Modal, { onClose, ariaLabel: i18n.get("bankAccount"), inset: true, children: !transferInstrument ? /* @__PURE__ */ jsx(Loader, {}) : /* @__PURE__ */ jsxs(DetailViewLayout, { title: i18n.get("bankAccount"), actions, compact: true, children: [
119
120
  !!problems.BankAccount?.[transferInstrument.id]?.verificationErrors && /* @__PURE__ */ jsx(VerificationErrorAlert, { problems: problems.BankAccount?.[transferInstrument.id], children: /* @__PURE__ */ jsx(Button, { variant: "link", onClick: () => onEdit(transferInstrument.id), children: i18n.get("editDetails") }) }),
120
- getStructuredLists().map((listItems) => /* @__PURE__ */ jsx(Card, { background: "secondary", children: /* @__PURE__ */ jsx(StructuredList, { items: listItems }) }, listItems))
121
+ getStructuredLists().map((listItems) => /* @__PURE__ */ jsx(Card, { variant: "secondary", children: /* @__PURE__ */ jsx(StructuredList, { items: listItems }) }, listItems))
121
122
  ] }) }),
122
123
  confirmOpen && /* @__PURE__ */ jsx(
123
124
  Confirm,
@@ -233,7 +234,7 @@ function ManageTransferInstrumentComponent({
233
234
  const { showToast } = useToastContext();
234
235
  const { mutateAsync: deleteTransferInstrument } = useDeleteTransferInstrument();
235
236
  addResourceBundles(i18next, [
236
- { ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-DVjwfSz4.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-CLY9qYTs.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-uHPPFvD-.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-SMf6w4NJ.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-wv99Y9Yf.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-BY1HQxMn.js").then((n) => n.bN), "../../../language/locales/es-ES.json": () => import("./es-ES-BqpvBqmR.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-CAuCY0qn.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-DPegZzTc.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-BPGwsLDa.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-DdqNL1pQ.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-C1LJENXO.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-B1eJg9RL.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-PnqAHl14.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-BmRnIfWs.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-CX9j9Dtv.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-cVVIDG7s.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-C_tmZ39d.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-DFZFSKZX.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-CMiGlY3k.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-DmdQxN_1.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-B0slmyWK.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-BptPuon4.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-C3nGkfNb.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-CXn28ybc.js") }), `../../../language/locales/${lang}.json`, 6) },
237
+ { ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-BMe54km9.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-BwiHrdav.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-D3nwkjjZ.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-ZU2Hsp38.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-DbOICeSZ.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-D5FOVv9p.js").then((n) => n.bD), "../../../language/locales/es-ES.json": () => import("./es-ES-diRragkx.js"), "../../../language/locales/et-EE.json": () => import("./et-EE--PzlaQkR.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-D0_0MXLR.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-CbjzHhqH.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-CDuWrX1x.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-CXB62KSV.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-BbW5PMj0.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-D8-geaup.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-BCusE8Fe.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-D_D39wup.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-Z2ifhzHq.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-D09wFbmU.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-uU0uFIWi.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-DzLl_fGR.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-Czix42gf.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-BmHGZmbO.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-hx3DmG_3.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-D06jZL__.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-eJgjc6iG.js") }), `../../../language/locales/${lang}.json`, 6) },
237
238
  { ns: "ui", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../ui/language/bg-BG.json": () => import("./bg-BG-CCwKQVVV.js"), "../../ui/language/cs-CZ.json": () => import("./cs-CZ-CVvNUABW.js"), "../../ui/language/da-DK.json": () => import("./da-DK-CoTdzXlA.js"), "../../ui/language/de-DE.json": () => import("./de-DE-z0cPgxGN.js"), "../../ui/language/el-GR.json": () => import("./el-GR-B9TRk3Pi.js"), "../../ui/language/en-US.json": () => import("./en-US-CjjPhkB5.js"), "../../ui/language/es-ES.json": () => import("./es-ES-DUn82eVS.js"), "../../ui/language/et-EE.json": () => import("./et-EE-CUXar-DY.js"), "../../ui/language/fi-FI.json": () => import("./fi-FI-C3TTCFBv.js"), "../../ui/language/fr-FR.json": () => import("./fr-FR-BbKadiaZ.js"), "../../ui/language/hr-HR.json": () => import("./hr-HR-D2LmWe5I.js"), "../../ui/language/hu-HU.json": () => import("./hu-HU-CFuBc8VP.js"), "../../ui/language/it-IT.json": () => import("./it-IT-CGhQqmiU.js"), "../../ui/language/ja-JP.json": () => import("./ja-JP-CvREJ56h.js"), "../../ui/language/lt-LT.json": () => import("./lt-LT-CZwu5zZ0.js"), "../../ui/language/lv-LV.json": () => import("./lv-LV-DVFCj1OR.js"), "../../ui/language/nl-NL.json": () => import("./nl-NL-OHlJx2bn.js"), "../../ui/language/no-NO.json": () => import("./no-NO-DEYydng4.js"), "../../ui/language/pl-PL.json": () => import("./pl-PL-DMbe5XnW.js"), "../../ui/language/pt-BR.json": () => import("./pt-BR-DWAziFjb.js"), "../../ui/language/pt-PT.json": () => import("./pt-PT-LP8g5mC9.js"), "../../ui/language/ro-RO.json": () => import("./ro-RO-BQSoJrlf.js"), "../../ui/language/sk-SK.json": () => import("./sk-SK-CwieqNyR.js"), "../../ui/language/sl-SI.json": () => import("./sl-SI-C5vfq7vv.js"), "../../ui/language/sv-SE.json": () => import("./sv-SE-BrO9NKWs.js") }), `../../ui/language/${lang}.json`, 5) },
238
239
  { ns: "banking", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../BankAccount/language/bg-BG.json": () => import("./bg-BG-DyX-yYYI.js"), "../../BankAccount/language/cs-CZ.json": () => import("./cs-CZ-BD5bYeuJ.js"), "../../BankAccount/language/da-DK.json": () => import("./da-DK-h8DYQ_Iq.js"), "../../BankAccount/language/de-DE.json": () => import("./de-DE-LQE_LFFL.js"), "../../BankAccount/language/el-GR.json": () => import("./el-GR-DGbzdIL0.js"), "../../BankAccount/language/en-US.json": () => import("./en-US-h0JneJJl.js"), "../../BankAccount/language/es-ES.json": () => import("./es-ES-DdGmXdxO.js"), "../../BankAccount/language/et-EE.json": () => import("./et-EE-D5SNtVsM.js"), "../../BankAccount/language/fi-FI.json": () => import("./fi-FI-CIYa9SyS.js"), "../../BankAccount/language/fr-FR.json": () => import("./fr-FR-l5z31r7i.js"), "../../BankAccount/language/hr-HR.json": () => import("./hr-HR-BtowKWUi.js"), "../../BankAccount/language/hu-HU.json": () => import("./hu-HU-MHIPehPS.js"), "../../BankAccount/language/it-IT.json": () => import("./it-IT-BAvmkEF8.js"), "../../BankAccount/language/ja-JP.json": () => import("./ja-JP-C6Go-kaC.js"), "../../BankAccount/language/lt-LT.json": () => import("./lt-LT-DDs3ngzd.js"), "../../BankAccount/language/lv-LV.json": () => import("./lv-LV-CmB2-IO5.js"), "../../BankAccount/language/nl-NL.json": () => import("./nl-NL-DV4NqPVW.js"), "../../BankAccount/language/no-NO.json": () => import("./no-NO-B9618F4_.js"), "../../BankAccount/language/pl-PL.json": () => import("./pl-PL-DqzUSnFK.js"), "../../BankAccount/language/pt-BR.json": () => import("./pt-BR-zuqB_CBf.js"), "../../BankAccount/language/pt-PT.json": () => import("./pt-PT-CFY1O_K0.js"), "../../BankAccount/language/ro-RO.json": () => import("./ro-RO-7CJ4F5iB.js"), "../../BankAccount/language/sk-SK.json": () => import("./sk-SK-DubwJifw.js"), "../../BankAccount/language/sl-SI.json": () => import("./sl-SI-59OQIZ3f.js"), "../../BankAccount/language/sv-SE.json": () => import("./sv-SE-CQWBP7n1.js") }), `../../BankAccount/language/${lang}.json`, 5) }
239
240
  ]);
@@ -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] = "cdd73033-b459-4f44-b16a-804a9b608463", e._sentryDebugIdIdentifier = "sentry-dbid-cdd73033-b459-4f44-b16a-804a9b608463");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "504cfe43-8e32-43eb-9502-b11ddebe8919", e._sentryDebugIdIdentifier = "sentry-dbid-504cfe43-8e32-43eb-9502-b11ddebe8919");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
- import { ak as cloneObject, as as isEmpty, u as useTranslation, W as Icon } from "./StoreProvider-BY1HQxMn.js";
10
+ import { ah as cloneObject, an as isEmpty, u as useTranslation, U as Icon } from "./StoreProvider-D5FOVv9p.js";
11
11
  import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
12
12
  import { useState, useCallback, useLayoutEffect, useRef, useEffect, useMemo } from "preact/hooks";
13
- import { F as Field } from "./Field-BEoeMy3u.js";
14
- import { K as KEYBOARD_KEYS } from "./Modal-1Hv5tfNy.js";
13
+ import { F as Field } from "./Field-QQ5BBCkn.js";
14
+ import { K as KEYBOARD_KEYS } from "./Modal-DjqZRXyy.js";
15
15
  import { forwardRef } from "preact/compat";
16
- import { u as useForwardedRef, a as InputBase, I as InputText } from "./InputText-D0zIJLdp.js";
16
+ import { u as useForwardedRef, a as InputBase, I as InputText } from "./InputText-V4X24bPM.js";
17
17
  const makeArrayOfRepeatedObjects = (length, obj) => {
18
18
  const array = [];
19
19
  for (let i = 0; i < length; i += 1) {
@@ -760,9 +760,13 @@ const MaskedInput = ({
760
760
  type,
761
761
  showingMismatch,
762
762
  onInput: handleInput,
763
- onBlur: (event) => handleBlur(event, fieldOnBlur),
763
+ onBlur: (event) => {
764
+ handleBlur(event, fieldOnBlur);
765
+ },
764
766
  onPaste: handlePaste,
765
- onFocus: (event) => handleFocus(event, fieldOnFocus),
767
+ onFocus: (event) => {
768
+ handleFocus(event, fieldOnFocus);
769
+ },
766
770
  onKeyDown: handleKeyDown
767
771
  }
768
772
  )
@@ -782,9 +786,13 @@ const MaskedInput = ({
782
786
  type,
783
787
  showingMismatch,
784
788
  onInput: handleInput,
785
- onBlur: (event) => handleBlur(event),
789
+ onBlur: (event) => {
790
+ handleBlur(event);
791
+ },
786
792
  onPaste: handlePaste,
787
- onFocus: (event) => handleFocus(event),
793
+ onFocus: (event) => {
794
+ handleFocus(event);
795
+ },
788
796
  onKeyDown: handleKeyDown
789
797
  }
790
798
  );
@@ -8,8 +8,8 @@
8
8
  }
9
9
  ;
10
10
  import { jsx, Fragment } from "preact/jsx-runtime";
11
- import { T as ToastContextProvider } from "./StoreProvider-BY1HQxMn.js";
12
- import { M as Modal } from "./Modal-1Hv5tfNy.js";
11
+ import { T as ToastContextProvider } from "./StoreProvider-D5FOVv9p.js";
12
+ import { M as Modal } from "./Modal-DjqZRXyy.js";
13
13
  const MaybeModal = ({
14
14
  ariaLabel,
15
15
  children,
@@ -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] = "72496b2b-db09-42a1-847c-6b53daf944ce", e._sentryDebugIdIdentifier = "sentry-dbid-72496b2b-db09-42a1-847c-6b53daf944ce");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "6b593e38-98c1-4447-b210-36be3b0fae4a", e._sentryDebugIdIdentifier = "sentry-dbid-6b593e38-98c1-4447-b210-36be3b0fae4a");
6
6
  } catch (e) {
7
7
  }
8
8
  }
@@ -10,7 +10,7 @@
10
10
  import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
11
11
  import cx from "classnames";
12
12
  import { useRef, useLayoutEffect } from "preact/hooks";
13
- import { X as IconButton } from "./StoreProvider-BY1HQxMn.js";
13
+ import { V as IconButton } from "./StoreProvider-D5FOVv9p.js";
14
14
  const KEYBOARD_KEYS = {
15
15
  arrowDown: "ArrowDown",
16
16
  arrowUp: "ArrowUp",
@@ -76,7 +76,7 @@ const Modal = ({
76
76
  onClose?.();
77
77
  };
78
78
  try {
79
- document.addEventListener("keydown", handleKeydown);
79
+ dialogElement.addEventListener("keydown", handleKeydown);
80
80
  dialogElement.addEventListener("cancel", handleCancel);
81
81
  dialogElement.showModal();
82
82
  } catch {
@@ -89,7 +89,7 @@ const Modal = ({
89
89
  dialogElement.blur();
90
90
  return () => {
91
91
  dialogElement.removeEventListener("cancel", handleCancel);
92
- document.removeEventListener("keydown", handleKeydown);
92
+ dialogElement.removeEventListener("keydown", handleKeydown);
93
93
  dialogElement.close();
94
94
  };
95
95
  }, []);
@@ -105,7 +105,7 @@ const Modal = ({
105
105
  };
106
106
  const rootClassname = cx(styles.modal, transitionStyle[transition], sizeStyle[size]);
107
107
  const bodyClassname = cx(styles.modalBody, {
108
- [styles.modalInset]: inset === true,
108
+ [styles.modalInset]: inset,
109
109
  [styles.modalBodyHeight]: size !== "small"
110
110
  });
111
111
  return /* @__PURE__ */ jsxs(Fragment, { children: [
@@ -2,20 +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] = "71f80cc8-06d4-4ed3-8939-eae67eb6b5a1", e._sentryDebugIdIdentifier = "sentry-dbid-71f80cc8-06d4-4ed3-8939-eae67eb6b5a1");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "158dd71a-5011-4179-99db-b082e6bc4233", e._sentryDebugIdIdentifier = "sentry-dbid-158dd71a-5011-4179-99db-b082e6bc4233");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsxs, jsx } from "preact/jsx-runtime";
11
- import { F as Field } from "./Field-BEoeMy3u.js";
12
- import { I as InputText } from "./InputText-D0zIJLdp.js";
13
- import { c as createFormUtils } from "./formUtils-6n_sAj9f.js";
14
- import { u as useTranslation } from "./StoreProvider-BY1HQxMn.js";
15
- import cx from "classnames";
16
- import { h as handleKeys } from "./bafinUtils-BROXAx5r.js";
17
- import { a as SelectListItem } from "./Select-DglmHz2C.js";
18
- import { r as roleMetadata } from "./roleMetadata-steXST1L.js";
11
+ import { F as Field } from "./Field-QQ5BBCkn.js";
12
+ import { I as InputText } from "./InputText-V4X24bPM.js";
13
+ import { c as createFormUtils } from "./formUtils-BUyxO4Zy.js";
14
+ import { u as useTranslation } from "./StoreProvider-D5FOVv9p.js";
19
15
  const nameFields = ["firstName", "lastName"];
20
16
  function Name(props) {
21
17
  const { data, handleFieldChange, errors, valid, fieldValidationErrors } = props;
@@ -79,55 +75,7 @@ function Name(props) {
79
75
  )
80
76
  ] });
81
77
  }
82
- const MultiSelectList = ({
83
- options,
84
- selected,
85
- onSelect,
86
- mapToSelectItem
87
- }) => /* @__PURE__ */ jsx("ul", { className: "adyen-kyc-multi-select-list", children: options.map((option) => {
88
- const item = mapToSelectItem(option);
89
- const isSelected = selected.includes(option);
90
- const handleSelect = () => {
91
- const newSelection = isSelected ? selected.filter((selectedOption) => selectedOption !== option) : [...selected, option];
92
- onSelect(newSelection);
93
- };
94
- return /* @__PURE__ */ jsx(
95
- SelectListItem,
96
- {
97
- id: item.id,
98
- item,
99
- selected: isSelected,
100
- onKeyDown: handleKeys(["Enter", " "], handleSelect),
101
- onSelect: handleSelect,
102
- isMulti: true,
103
- className: cx([
104
- "adyen-kyc-multi-select-list-item",
105
- {
106
- "adyen-kyc-multi-select-list-item--with-description": !!item.description
107
- }
108
- ])
109
- },
110
- item.id
111
- );
112
- }) });
113
- const makeSelectItemForRole = (role, t) => {
114
- const metadata = roleMetadata[role];
115
- if (!metadata)
116
- throw Error(
117
- `Cannot make select item for role "${role}"; no metadata found. Valid roles include: ${Object.keys(
118
- roleMetadata
119
- ).join("\n")}`
120
- );
121
- const { name, description } = metadata;
122
- return {
123
- id: role,
124
- name: t(($) => $[name]),
125
- description: description ? t(($) => $[description]) : void 0
126
- };
127
- };
128
78
  export {
129
- MultiSelectList as M,
130
79
  Name as N,
131
- makeSelectItemForRole as m,
132
80
  nameFields as n
133
81
  };