@adyen/kyc-components 3.83.3 → 3.84.3

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 (669) hide show
  1. package/dist/{AcceptTermsOfServiceComponent-C3hVh9N7.js → AcceptTermsOfServiceComponent-CBGVGhCW.js} +21 -20
  2. package/dist/{AccountSetupRejected-CeyJLT4E.js → AccountSetupRejected-iWgw_f_y.js} +6 -6
  3. package/dist/{Address-BGfOIouJ.js → Address-t4VOfLT-.js} +8 -8
  4. package/dist/{Alert-DHQk23dC.js → Alert-BeizfGIR.js} +2 -2
  5. package/dist/{Avatar-CS2stI4H.js → Avatar-DuU-qQK8.js} +2 -2
  6. package/dist/{BusinessDetailsDropin-mNjPvsY9.js → BusinessDetailsDropin-DvcYg_X0.js} +301 -158
  7. package/dist/BusinessFinancingComponent-CtKIHS5N.js +54 -0
  8. package/dist/{BusinessFinancingDropin-8rVi3mz3.js → BusinessFinancingDropin-lPPamXGa.js} +113 -96
  9. package/dist/BusinessFinancingPage-Di-Nv2Ml.js +46 -0
  10. package/dist/{BusinessTypeSelectionPage-CJ-o8Yqg.js → BusinessTypeSelectionPage-BXdmcFx7.js} +12 -12
  11. package/dist/{Card-Cl8VBX_1.js → Card-B1eYN1iZ.js} +6 -4
  12. package/dist/{CountryField-BiXkT-tj.js → CountryField-DePvueIq.js} +268 -74
  13. package/dist/CreateIndividualComponent-BF8U9HmX.js +71 -0
  14. package/dist/CreateTransferInstrumentComponent-Rd6n91ch.js +66 -0
  15. package/dist/{Currency-Dou9MT1v.js → Currency-CCNB-Owq.js} +6 -6
  16. package/dist/{CustomerSupport-CcHrpuRI.js → CustomerSupport-dzWyAxLD.js} +10 -10
  17. package/dist/{DebugModal-CTrUKrb2.js → DebugModal-Db4z3HFJ.js} +7 -7
  18. package/dist/{DecisionMakerDetailsPage-DY0LPeya.js → DecisionMakerDetailsPage-CQ5uaVPM.js} +16 -10
  19. package/dist/DecisionMakers-BjZNaC3U.js +797 -0
  20. package/dist/{Dropzone-CTi4TC83.js → Dropzone-DS3DzY-A.js} +4 -4
  21. package/dist/{EmbeddedStatus-BY8fNfqA.js → EmbeddedStatus-COuKpXSJ.js} +15 -16
  22. package/dist/{EndStateLayout-CtTL_7_4.js → EndStateLayout-DHbUjBQL.js} +2 -2
  23. package/dist/{FormNavigation-DJBG1CCX.js → FormNavigation-C8985odz.js} +3 -3
  24. package/dist/{IndividualOnfidoDropin-Cd2P_puU.js → IndividualOnfidoDropin-BnPU46GN.js} +225 -393
  25. package/dist/{InputDate-BLfb-amv.js → InputDate-BqYvvnqX.js} +2 -2
  26. package/dist/{InputText-sJlljYSI.js → InputText-rkMNHFYM.js} +4 -7
  27. package/dist/{Introduction-C7BYI3V1.js → Introduction-BsZibeHx.js} +4 -5
  28. package/dist/{JpAddress-D0MtPVgI.js → JpAddress-7_Wvn6w-.js} +27 -10
  29. package/dist/{LegalRepresentativeDetailsPage-B70wj66T.js → LegalRepresentativeDetailsPage-BLoNELP2.js} +5 -6
  30. package/dist/ManageIndividualComponent-DuMx-hok.js +46 -0
  31. package/dist/ManageTermsOfServiceComponent-BPJJxecg.js +58 -0
  32. package/dist/{ManageTransferInstrumentComponent-Dvh31wEf.js → ManageTransferInstrumentComponent-D13HhKpC.js} +17 -17
  33. package/dist/{MaskedInput-GOLjL1Ek.js → MaskedInput-DK17jkn8.js} +6 -6
  34. package/dist/{Modal-BTqOwYJg.js → Modal-CeWqn3jD.js} +2 -2
  35. package/dist/{OnboardingDropinComponent-DCqansoJ.js → OnboardingDropinComponent-BlMzaK2Z.js} +745 -444
  36. package/dist/{PayoutDetailsDropin-C9nLO9zs.js → PayoutDetailsDropin-CxXIfBo2.js} +36 -39
  37. package/dist/{RadioGroup-wSE3YT0H.js → RadioGroup-CDIi5JOR.js} +7 -10
  38. package/dist/{RegistrationAddress-Ck3nfynp.js → RegistrationAddress-coO57t4c.js} +16 -22
  39. package/dist/{Review-uYeavIQG.js → Review-BFb6Ykw1.js} +8 -8
  40. package/dist/{RootBusinessDetailsPage-fg7aqice.js → RootBusinessDetailsPage-BsbiSuH4.js} +143 -81
  41. package/dist/{RootIndividualDetailsPage-BLZ2WFRD.js → RootIndividualDetailsPage-BEe-U1FO.js} +5 -6
  42. package/dist/{SignPCIComponent-BbIzBRVs.js → SignPCIComponent-D5KQ4t2I.js} +10 -11
  43. package/dist/{SingpassSelection-Dq5HgINi.js → SingpassSelection-wIFBjJkx.js} +10 -10
  44. package/dist/SoleProprietorshipPage-BKxqOwer.js +49 -0
  45. package/dist/{SourceOfFundsPage-ByR78Odk.js → SourceOfFundsPage-B0js4JTw.js} +30 -57
  46. package/dist/{StepProgressIndicator-DMgLRY9r.js → StepProgressIndicator-axxG6zQK.js} +2 -2
  47. package/dist/{StoreProvider-DwPgB8ia.js → StoreProvider-BulXd4Hf.js} +659 -199
  48. package/dist/{TaskItemStatus-CVCNELof.js → TaskItemStatus-DykYxx-L.js} +3 -14
  49. package/dist/{TaxInformationField-B2hH-21-.js → TaxInformationField-vBwS4Gdq.js} +20 -19
  50. package/dist/{TaxReportingDropin-BetxF-rL.js → TaxReportingDropin-T-05itkR.js} +60 -56
  51. package/dist/{TileGroup-L2c_L0vO.js → TileGroup-CWIb67Fa.js} +4 -4
  52. package/dist/{TrustDetailsPage-Dw45u8py.js → TrustDetailsPage-XpVwVUFb.js} +51 -44
  53. package/dist/TrustMemberCompanyPage-CPZ8ZzqF.js +60 -0
  54. package/dist/TrustMemberIndividualPage-um9OLnSy.js +66 -0
  55. package/dist/{UnincorporatedPartnershipIndividualPage-Bwfoygy7.js → UnincorporatedPartnershipIndividualPage-CvQOUpDy.js} +5 -6
  56. package/dist/{UnincorporatedPartnershipMemberCompanyPage-gvm4YkhM.js → UnincorporatedPartnershipMemberCompanyPage-BPEUAWOw.js} +6 -7
  57. package/dist/{ViewVerificationStatusComponent-9ufxQVRy.js → ViewVerificationStatusComponent-aOEFCjUd.js} +19 -13
  58. package/dist/adyen-business-financing.js +4 -5
  59. package/dist/adyen-individual-configuration.js +4 -5
  60. package/dist/adyen-individual-status.js +4 -5
  61. package/dist/adyen-kyc-components.js +39 -29
  62. package/dist/adyen-onboarding.js +4 -5
  63. package/dist/adyen-terms-of-service-management.js +4 -5
  64. package/dist/adyen-terms-of-service-status.js +4 -5
  65. package/dist/adyen-transfer-instrument-configuration.js +4 -5
  66. package/dist/adyen-transfer-instrument-management.js +4 -5
  67. package/dist/adyen-verification-status.js +4 -5
  68. package/dist/{analytics-DAPJVGPZ.js → analytics-_iYLDAnN.js} +2 -2
  69. package/dist/{bafinUtils-BXU3g8Pd.js → bafinUtils-DOsm2O1i.js} +7 -49
  70. package/dist/{bg-BG-B0-ZcjR0.js → bg-BG-B37z4fjM.js} +7 -4
  71. package/dist/bg-BG-B8A8D_hg.js +47 -0
  72. package/dist/bg-BG-BvLl6gaB.js +13 -0
  73. package/dist/bg-BG-CC5Y7izP.js +13 -0
  74. package/dist/bg-BG-CepHap8j.js +68 -0
  75. package/dist/bg-BG-Coja327N.js +24 -0
  76. package/dist/{bg-BG-GVhnrvRn.js → bg-BG-Cs_1PU3v.js} +5 -1
  77. package/dist/bg-BG-D5C7Gq2o.js +35 -0
  78. package/dist/bg-BG-DPkib_ah.js +13 -0
  79. package/dist/bg-BG-DcxZ1tmt.js +32 -0
  80. package/dist/{bg-BG-Bot37sd7.js → bg-BG-Dp4LxSP7.js} +2 -1
  81. package/dist/bg-BG-er0t4jTs.js +27 -0
  82. package/dist/{bg-BG-fgdGvtqa.js → bg-BG-z3gZQvGq.js} +6 -1
  83. package/dist/{cs-CZ-Dk1ePReM.js → cs-CZ-2D8o2KB0.js} +7 -4
  84. package/dist/cs-CZ-B0dmNTJm.js +13 -0
  85. package/dist/{cs-CZ-CVpbQMSY.js → cs-CZ-B2WAqmaW.js} +9 -1
  86. package/dist/cs-CZ-B7A0WNBx.js +47 -0
  87. package/dist/cs-CZ-BP7niQM9.js +68 -0
  88. package/dist/{cs-CZ-DwiXbzIv.js → cs-CZ-C5lyVYlZ.js} +6 -1
  89. package/dist/cs-CZ-C9FuJCsg.js +35 -0
  90. package/dist/cs-CZ-CQNBae2b.js +27 -0
  91. package/dist/{cs-CZ-BEynVkgn.js → cs-CZ-CyLqoG1j.js} +2 -1
  92. package/dist/cs-CZ-D4Hg-t16.js +32 -0
  93. package/dist/cs-CZ-DXtJsBPz.js +24 -0
  94. package/dist/cs-CZ-E0sZTsrs.js +13 -0
  95. package/dist/cs-CZ-hT5w5It6.js +13 -0
  96. package/dist/da-DK-9M2wm0kt.js +47 -0
  97. package/dist/da-DK-BeSNTO9k.js +35 -0
  98. package/dist/{da-DK-Y6PJ69rt.js → da-DK-CYl2jko-.js} +6 -1
  99. package/dist/{da-DK-DStNe471.js → da-DK-CplImqOX.js} +7 -4
  100. package/dist/{da-DK-DLcvdXDS.js → da-DK-D-eeokQn.js} +9 -1
  101. package/dist/da-DK-DCJhV2qS.js +32 -0
  102. package/dist/da-DK-DWA8uOd8.js +24 -0
  103. package/dist/{da-DK-DmL_Ja3L.js → da-DK-DYpfNZdP.js} +2 -1
  104. package/dist/da-DK-DZwlENGe.js +13 -0
  105. package/dist/da-DK-Dc0QYG8m.js +68 -0
  106. package/dist/da-DK-HNKnBXb5.js +13 -0
  107. package/dist/da-DK-gnPgzwrG.js +27 -0
  108. package/dist/da-DK-quX5LuPc.js +13 -0
  109. package/dist/de-DE-1wVDROIy.js +13 -0
  110. package/dist/de-DE-B2QaSUv3.js +13 -0
  111. package/dist/{de-DE-BahIk-1-.js → de-DE-BXt1K0Tr.js} +2 -1
  112. package/dist/de-DE-CLuLBUrb.js +47 -0
  113. package/dist/de-DE-D3lLuF8z.js +27 -0
  114. package/dist/de-DE-D50lGOJE.js +24 -0
  115. package/dist/{de-DE-CGoBPCPv.js → de-DE-DNOzlYEY.js} +7 -4
  116. package/dist/de-DE-DXR3EpEc.js +13 -0
  117. package/dist/{de-DE-CKZrABo7.js → de-DE-Dcs3W1fT.js} +9 -1
  118. package/dist/{de-DE-xdQMmrrt.js → de-DE-DlUEkik0.js} +6 -1
  119. package/dist/de-DE-Dp-2BAWQ.js +35 -0
  120. package/dist/de-DE-DwOQKCuU.js +32 -0
  121. package/dist/de-DE-Dz2OsS1F.js +68 -0
  122. package/dist/el-GR-5WvkRyW5.js +35 -0
  123. package/dist/{el-GR-TZUpX1j3.js → el-GR-B90M6tcZ.js} +2 -1
  124. package/dist/el-GR-BHG69mXl.js +68 -0
  125. package/dist/el-GR-BKT02owO.js +13 -0
  126. package/dist/el-GR-BN7mIwED.js +47 -0
  127. package/dist/el-GR-C2BsVqjY.js +13 -0
  128. package/dist/el-GR-CKHMsdx2.js +24 -0
  129. package/dist/{el-GR-B69zcWyB.js → el-GR-DAFcmbwE.js} +7 -4
  130. package/dist/{el-GR-C_y2406P.js → el-GR-DBum-QDu.js} +9 -1
  131. package/dist/{el-GR-DR_5DKI1.js → el-GR-DZ8GheJK.js} +6 -1
  132. package/dist/el-GR-DtFE64KX.js +13 -0
  133. package/dist/el-GR-Hk4NbZSY.js +32 -0
  134. package/dist/el-GR-XRux2Wpv.js +27 -0
  135. package/dist/en-US-B96dpVon.js +27 -0
  136. package/dist/en-US-BEgdeTV4.js +13 -0
  137. package/dist/en-US-BQZhzROc.js +32 -0
  138. package/dist/en-US-BWtUZoXL.js +47 -0
  139. package/dist/{en-US-DI1dH0ZB.js → en-US-CEc3gxgl.js} +4 -1
  140. package/dist/{en-US-DIdQJky-.js → en-US-CzEL6t1W.js} +24 -4
  141. package/dist/en-US-D-B35AoN.js +68 -0
  142. package/dist/en-US-D2yrwtzT.js +24 -0
  143. package/dist/{en-US-nL0-_PSp.js → en-US-DdeSoN_2.js} +2 -1
  144. package/dist/{en-US-BbAzROHT.js → en-US-Dg505Oh3.js} +2 -1
  145. package/dist/{en-US-BQpgt41j.js → en-US-xHi63gSK.js} +6 -1
  146. package/dist/es-ES-BI_jdT67.js +68 -0
  147. package/dist/es-ES-BOoPqnPI.js +32 -0
  148. package/dist/{es-ES-CKMfS8Yy.js → es-ES-BPI-KmDv.js} +7 -4
  149. package/dist/{es-ES-BPDeEYGv.js → es-ES-BhNhIf08.js} +2 -1
  150. package/dist/{es-ES-DdT2wJTP.js → es-ES-C7XjLOHi.js} +9 -1
  151. package/dist/es-ES-C9oDOVSQ.js +35 -0
  152. package/dist/es-ES-CXDJLKAI.js +27 -0
  153. package/dist/{es-ES-keMO-LlU.js → es-ES-D0c0MoqK.js} +6 -1
  154. package/dist/es-ES-DCkqCwAK.js +13 -0
  155. package/dist/es-ES-DF_L5EDd.js +24 -0
  156. package/dist/es-ES-Dc4Z3rGg.js +13 -0
  157. package/dist/es-ES-i_Fk7A9r.js +47 -0
  158. package/dist/es-ES-yMXcOjDL.js +13 -0
  159. package/dist/et-EE--cL_YqWe.js +27 -0
  160. package/dist/et-EE-B1KmQWmI.js +35 -0
  161. package/dist/{et-EE-DftDBzjA.js → et-EE-BMgFCxds.js} +2 -1
  162. package/dist/{et-EE-Y890kc89.js → et-EE-BUG05EDz.js} +9 -1
  163. package/dist/et-EE-Be__VK7Y.js +32 -0
  164. package/dist/et-EE-BuBiNLCi.js +24 -0
  165. package/dist/{et-EE-CLuAFAri.js → et-EE-C4Fwyr7-.js} +6 -1
  166. package/dist/et-EE-C8RrUpLm.js +13 -0
  167. package/dist/{et-EE-Dw-aPF7J.js → et-EE-CMXpGRz8.js} +7 -4
  168. package/dist/et-EE-C_PZO2aI.js +68 -0
  169. package/dist/et-EE-DKJ8Kn8O.js +47 -0
  170. package/dist/et-EE-DbRebqzm.js +13 -0
  171. package/dist/et-EE-sGRn_-QJ.js +13 -0
  172. package/dist/fi-FI-BQxUuIP0.js +13 -0
  173. package/dist/fi-FI-BXJbm9sZ.js +13 -0
  174. package/dist/{fi-FI-REYOX46I.js → fi-FI-C5SwgUIc.js} +7 -4
  175. package/dist/{fi-FI-DKxJM0k6.js → fi-FI-CEzjKgiz.js} +9 -1
  176. package/dist/fi-FI-CF4-CyIe.js +47 -0
  177. package/dist/fi-FI-DH6jpo9K.js +24 -0
  178. package/dist/fi-FI-DV1etLPT.js +35 -0
  179. package/dist/{fi-FI-CBHr-_To.js → fi-FI-bRXb-Q_i.js} +6 -1
  180. package/dist/fi-FI-bZzNB1WB.js +32 -0
  181. package/dist/fi-FI-fArobrt5.js +27 -0
  182. package/dist/fi-FI-hwzizPnr.js +68 -0
  183. package/dist/fi-FI-xqnQ38yC.js +13 -0
  184. package/dist/{fi-FI-LpkpSl5X.js → fi-FI-ysUrBilO.js} +2 -1
  185. package/dist/{fieldConfigurations-CouXUtn_.js → fieldConfigurations-BBmPG-CS.js} +19 -22
  186. package/dist/{hr-HR-CNzbyo9r.js → form-rules-DhbF2mY4.js} +3 -5
  187. package/dist/{fr-FR-CuSchzjE.js → fr-FR-BSvSKazD.js} +2 -1
  188. package/dist/fr-FR-BSynpexF.js +13 -0
  189. package/dist/fr-FR-BnblnBsx.js +24 -0
  190. package/dist/fr-FR-C4LPqbx5.js +47 -0
  191. package/dist/{fr-FR-D9qaP6nx.js → fr-FR-CAqqgh3X.js} +7 -4
  192. package/dist/fr-FR-CYZXbwc9.js +68 -0
  193. package/dist/fr-FR-CiwkAb3E.js +27 -0
  194. package/dist/{fr-FR-BxO1IR9C.js → fr-FR-DNJiLv9b.js} +9 -1
  195. package/dist/fr-FR-DZICoAHV.js +35 -0
  196. package/dist/fr-FR-DvgcaqM8.js +13 -0
  197. package/dist/{fr-FR-B3qQW3oG.js → fr-FR-JLPKgufm.js} +6 -1
  198. package/dist/fr-FR-cTKcuHqX.js +32 -0
  199. package/dist/fr-FR-t2k348rx.js +13 -0
  200. package/dist/{getName-C5JdRmWF.js → getName-N_Hu5gE7.js} +2 -2
  201. package/dist/{hasDataChanged-DEVHUnoc.js → hasDataChanged-C32ujCoA.js} +2 -2
  202. package/dist/{hr-HR-DST-QbRI.js → hr-HR-BLpGb4f2.js} +2 -1
  203. package/dist/hr-HR-BiZNiGG9.js +13 -0
  204. package/dist/hr-HR-ComCqan_.js +32 -0
  205. package/dist/{hr-HR-DMV2OsPs.js → hr-HR-D26Gz-HL.js} +6 -1
  206. package/dist/hr-HR-D5V7g9H2.js +13 -0
  207. package/dist/hr-HR-D9bzCN_d.js +35 -0
  208. package/dist/hr-HR-De5kHU8U.js +24 -0
  209. package/dist/hr-HR-Dlw8mrQW.js +13 -0
  210. package/dist/hr-HR-DtfHQVe0.js +27 -0
  211. package/dist/hr-HR-TslbqIeE.js +47 -0
  212. package/dist/{hr-HR-DghVS0jH.js → hr-HR-WMnlxMEY.js} +9 -1
  213. package/dist/hr-HR-bE6cvRCQ.js +68 -0
  214. package/dist/{hr-HR-CbxEvbrE.js → hr-HR-oTvJUvqr.js} +7 -4
  215. package/dist/hu-HU-6VmfqBr5.js +13 -0
  216. package/dist/{hu-HU-CJh8OY-w.js → hu-HU-B2nrl0pw.js} +9 -1
  217. package/dist/{hu-HU-CPWGnq22.js → hu-HU-BZCFneWx.js} +6 -1
  218. package/dist/hu-HU-BcogZby3.js +24 -0
  219. package/dist/hu-HU-C5p7RWWD.js +35 -0
  220. package/dist/{hu-HU-BgHugMwG.js → hu-HU-Ca9Hex26.js} +2 -1
  221. package/dist/hu-HU-CgBQ5Skc.js +47 -0
  222. package/dist/{hu-HU-D0C6UfXB.js → hu-HU-DA-bZKop.js} +7 -4
  223. package/dist/hu-HU-DG-NUDx4.js +68 -0
  224. package/dist/hu-HU-DLynQejq.js +13 -0
  225. package/dist/hu-HU-DUGz5q5D.js +32 -0
  226. package/dist/hu-HU-I4-KFzvz.js +27 -0
  227. package/dist/hu-HU-hbVM6tMS.js +13 -0
  228. package/dist/{iframeWidget-d6juHEyB.js → iframeWidget-iA0G4IZI.js} +4 -4
  229. package/dist/{isEmpty-BG-uhS0n.js → isEmpty-CD8E4UFi.js} +2 -2
  230. package/dist/{it-IT-vJt2CGXz.js → it-IT-BRmX2jEi.js} +9 -1
  231. package/dist/it-IT-BXsakLEg.js +47 -0
  232. package/dist/it-IT-BgdxIaNM.js +13 -0
  233. package/dist/it-IT-C_651bEP.js +13 -0
  234. package/dist/it-IT-Ckv8Ce4e.js +24 -0
  235. package/dist/{it-IT-Biduphjt.js → it-IT-CpKAGuyU.js} +7 -4
  236. package/dist/it-IT-DERflsUd.js +32 -0
  237. package/dist/it-IT-DIbH-udG.js +27 -0
  238. package/dist/it-IT-Erh1DIlj.js +68 -0
  239. package/dist/it-IT-PJbf57vA.js +13 -0
  240. package/dist/{it-IT-p_DER3dq.js → it-IT-Qfzc8jnW.js} +2 -1
  241. package/dist/{it-IT-CRmaykgQ.js → it-IT-mScKLwBR.js} +6 -1
  242. package/dist/it-IT-mYyg3XGz.js +35 -0
  243. package/dist/{ja-JP-DT0qGp0i.js → ja-JP-7DhgV_0J.js} +5 -1
  244. package/dist/ja-JP-B--vgrAi.js +47 -0
  245. package/dist/ja-JP-BBzuYv6e.js +13 -0
  246. package/dist/ja-JP-BSYrPZsE.js +35 -0
  247. package/dist/ja-JP-BoxeBgOv.js +32 -0
  248. package/dist/{ja-JP-B2txEVPx.js → ja-JP-C4569I8p.js} +7 -4
  249. package/dist/{ja-JP-C870wgmw.js → ja-JP-CHQ64lw1.js} +2 -1
  250. package/dist/{ja-JP-a6UbRzaS.js → ja-JP-CvNJvxkQ.js} +22 -3
  251. package/dist/{ja-JP-DCOsVkrk.js → ja-JP-DyELKS9Q.js} +6 -1
  252. package/dist/ja-JP-FWHXsXlW.js +24 -0
  253. package/dist/ja-JP-ThzG9vIo.js +68 -0
  254. package/dist/ja-JP-bz7ekGnF.js +27 -0
  255. package/dist/{ja-JP-Cm2wakN6.js → ja-JP-gRRH8Eph.js} +21 -13
  256. package/dist/jpAddressSchema-ULGNNt5U.js +27 -0
  257. package/dist/{localizeDateString-2YGGL44u.js → localizeDateString-DHsCnGIt.js} +1 -1
  258. package/dist/{lt-LT-Dxde15Cc.js → lt-LT-0RKZeraM.js} +2 -1
  259. package/dist/lt-LT-57A37eCA.js +13 -0
  260. package/dist/{lt-LT-CrCYV_jv.js → lt-LT-BJQDUanx.js} +9 -1
  261. package/dist/lt-LT-BLsIcCtE.js +27 -0
  262. package/dist/{lt-LT-0CK0Iin7.js → lt-LT-CLPQVRpJ.js} +6 -1
  263. package/dist/lt-LT-C_sT0Isz.js +13 -0
  264. package/dist/lt-LT-Ci357QYQ.js +13 -0
  265. package/dist/lt-LT-D5Rhxm1h.js +32 -0
  266. package/dist/lt-LT-DDdq07sX.js +24 -0
  267. package/dist/{lt-LT-C_YMgjp9.js → lt-LT-DfJ0ojxY.js} +7 -4
  268. package/dist/lt-LT-Nd1uRoIj.js +68 -0
  269. package/dist/lt-LT-UnMr3oB3.js +47 -0
  270. package/dist/lt-LT-i-T_HQ42.js +35 -0
  271. package/dist/lv-LV-7VOOOEZ-.js +13 -0
  272. package/dist/{lv-LV-DDvnyHlO.js → lv-LV-Bh-WQp0K.js} +2 -1
  273. package/dist/lv-LV-BtX12dHJ.js +35 -0
  274. package/dist/lv-LV-C54zKY0H.js +47 -0
  275. package/dist/lv-LV-C7hMdPcY.js +27 -0
  276. package/dist/lv-LV-CG1zToz7.js +32 -0
  277. package/dist/lv-LV-CkyuY2ji.js +24 -0
  278. package/dist/{lv-LV-CSxppAD_.js → lv-LV-Cu-MJMVO.js} +6 -1
  279. package/dist/lv-LV-Cwzt1ESp.js +13 -0
  280. package/dist/lv-LV-DKhV24CI.js +68 -0
  281. package/dist/lv-LV-Dxe-A5vo.js +13 -0
  282. package/dist/{lv-LV-B3sT3_cw.js → lv-LV-d0ldbfMh.js} +7 -4
  283. package/dist/{lv-LV-CaFrxG3S.js → lv-LV-h3nTokkM.js} +9 -1
  284. package/dist/mapAddressLocalizationToJpAddressSchema-vJWbpAyq.js +56 -0
  285. package/dist/{mapExistingFile-IowNtBa2.js → mapExistingFile-CZ8JIq0y.js} +4 -4
  286. package/dist/mapJpAddressSchemaToAddressLocalizations-CYDc6_WR.js +100 -0
  287. package/dist/mapLegalEntityToIndividualOnfidoSchema-DpDvE22C.js +203 -0
  288. package/dist/{mapTransferInstrumentToPayoutAccount-DtC0bw_-.js → mapTransferInstrumentToPayoutAccount-B_Z8lux3.js} +2 -2
  289. package/dist/nl-NL-A444CaCG.js +47 -0
  290. package/dist/nl-NL-Bx5p0nXL.js +24 -0
  291. package/dist/nl-NL-Cjlmc0Ii.js +32 -0
  292. package/dist/nl-NL-D0wVWeHf.js +13 -0
  293. package/dist/{nl-NL-Uf_myU_8.js → nl-NL-D7gBNWEY.js} +2 -1
  294. package/dist/{nl-NL-G1wVnmzT.js → nl-NL-DdVmtkAu.js} +7 -4
  295. package/dist/nl-NL-DiH4q7K-.js +13 -0
  296. package/dist/nl-NL-JChnFdCY.js +13 -0
  297. package/dist/nl-NL-NlkjOSYi.js +27 -0
  298. package/dist/nl-NL-O9GCHMDA.js +68 -0
  299. package/dist/nl-NL-PUQGh3Rp.js +35 -0
  300. package/dist/{nl-NL-BQJjhn7U.js → nl-NL-YzDSCWLL.js} +9 -1
  301. package/dist/{nl-NL-RfK34nkp.js → nl-NL-pVdpCCOx.js} +6 -1
  302. package/dist/no-NO--OoWld_l.js +13 -0
  303. package/dist/no-NO-BeVzpadb.js +13 -0
  304. package/dist/{no-NO-CSia2Bd5.js → no-NO-Big2B13b.js} +9 -1
  305. package/dist/no-NO-Bs3-6MDM.js +24 -0
  306. package/dist/{no-NO-DZ1y_9mq.js → no-NO-C-gCYc9q.js} +2 -1
  307. package/dist/{no-NO-BTtAuqCb.js → no-NO-C0WUoV9N.js} +7 -4
  308. package/dist/no-NO-CA1aR6Wh.js +68 -0
  309. package/dist/{no-NO-BWzGost-.js → no-NO-CRULNwNn.js} +6 -1
  310. package/dist/no-NO-CY_XHrYd.js +32 -0
  311. package/dist/no-NO-Crlsj6HG.js +27 -0
  312. package/dist/no-NO-D57T2p2M.js +47 -0
  313. package/dist/no-NO-JHMzV-ae.js +13 -0
  314. package/dist/no-NO-kPnbGnBM.js +35 -0
  315. package/dist/pl-PL-0BphD78z.js +13 -0
  316. package/dist/pl-PL-B3RxZ32y.js +47 -0
  317. package/dist/pl-PL-BKDK0_G8.js +68 -0
  318. package/dist/{pl-PL--qPaNyJD.js → pl-PL-Byfw9EGz.js} +7 -4
  319. package/dist/pl-PL-BzhEoDb5.js +24 -0
  320. package/dist/pl-PL-C-MmQaeR.js +35 -0
  321. package/dist/{pl-PL-6WyUmy0K.js → pl-PL-CL483jMb.js} +9 -1
  322. package/dist/pl-PL-C_MvVzPy.js +32 -0
  323. package/dist/{pl-PL-DFrOIiCG.js → pl-PL-CxCiWdAF.js} +6 -1
  324. package/dist/pl-PL-DYxD6VJ_.js +27 -0
  325. package/dist/pl-PL-De41L6O6.js +13 -0
  326. package/dist/pl-PL-DtJ3sgVO.js +13 -0
  327. package/dist/{pl-PL-B1tVRX3A.js → pl-PL-LnVPufjb.js} +2 -1
  328. package/dist/pt-BR-BfxgHKY4.js +27 -0
  329. package/dist/pt-BR-BvAy7bfZ.js +13 -0
  330. package/dist/pt-BR-C0I_kTQ6.js +13 -0
  331. package/dist/pt-BR-CBAe0SnK.js +32 -0
  332. package/dist/pt-BR-CjfX1fDM.js +47 -0
  333. package/dist/pt-BR-D7RCymsU.js +13 -0
  334. package/dist/pt-BR-DJOzf0y2.js +53 -0
  335. package/dist/pt-BR-DSENwwGu.js +24 -0
  336. package/dist/{pt-BR-Cmr5LoAm.js → pt-BR-DUUAs_Pm.js} +7 -4
  337. package/dist/pt-BR-Dw0UZ-Od.js +35 -0
  338. package/dist/pt-BR-NtLaWlnZ.js +68 -0
  339. package/dist/{pt-BR-CxjlToN4.js → pt-BR-apPtB2cK.js} +6 -1
  340. package/dist/{pt-BR-BD3-Ecm8.js → pt-BR-ur86nRrK.js} +2 -1
  341. package/dist/{pt-PT-CWYxqUbN.js → pt-PT-B3qoJ3Fr.js} +9 -1
  342. package/dist/pt-PT-BH1abg6H.js +13 -0
  343. package/dist/{pt-PT-Dk48OVtf.js → pt-PT-BVZxK7ae.js} +7 -4
  344. package/dist/pt-PT-Bf4IV7wp.js +13 -0
  345. package/dist/pt-PT-CIo3mlXL.js +24 -0
  346. package/dist/{pt-PT-DpBfkgVw.js → pt-PT-CVNEcs32.js} +2 -1
  347. package/dist/pt-PT-CgXkfMUc.js +13 -0
  348. package/dist/{pt-PT-CU13UUwT.js → pt-PT-Coa6J7SM.js} +6 -1
  349. package/dist/pt-PT-D79GMAC5.js +47 -0
  350. package/dist/pt-PT-DSxxVA0f.js +68 -0
  351. package/dist/pt-PT-DfVjLaAU.js +35 -0
  352. package/dist/pt-PT-Dm5DRDrd.js +32 -0
  353. package/dist/pt-PT-TKg5FLat.js +27 -0
  354. package/dist/resolveEnvironment-HVVOrOBr.js +164 -0
  355. package/dist/ro-RO-1W3Bw0U7.js +13 -0
  356. package/dist/ro-RO-3rOfS17N.js +27 -0
  357. package/dist/ro-RO-4j2I7YM7.js +13 -0
  358. package/dist/ro-RO-B5YT9vP-.js +32 -0
  359. package/dist/{ro-RO-B2u2q1Ez.js → ro-RO-BTqq5BPM.js} +6 -1
  360. package/dist/ro-RO-Bybq8JFn.js +68 -0
  361. package/dist/{ro-RO-BLuOjrS0.js → ro-RO-Ck3Azc56.js} +7 -4
  362. package/dist/{ro-RO-BWQeseQ_.js → ro-RO-Ct_BJvsc.js} +9 -1
  363. package/dist/ro-RO-Dj-2um-k.js +47 -0
  364. package/dist/ro-RO-ECJHARCT.js +35 -0
  365. package/dist/ro-RO-ILTvlS9i.js +24 -0
  366. package/dist/{ro-RO-BF1Q86nQ.js → ro-RO-i7lojG2G.js} +2 -1
  367. package/dist/ro-RO-raS4E2ww.js +13 -0
  368. package/dist/{rules-BIhDWVgR.js → rules-CpkxtBrw.js} +5 -5
  369. package/dist/{sk-SK-Rd06VJ5k.js → sk-SK-B5brxU1N.js} +2 -1
  370. package/dist/sk-SK-BTujkOgF.js +13 -0
  371. package/dist/sk-SK-C5Qmv4E6.js +13 -0
  372. package/dist/sk-SK-C6rMIxpz.js +68 -0
  373. package/dist/sk-SK-CjrLvDMx.js +27 -0
  374. package/dist/sk-SK-Cv23cDQO.js +24 -0
  375. package/dist/sk-SK-Es-5xiuY.js +13 -0
  376. package/dist/{sk-SK-DnNuh37c.js → sk-SK-FGK1FMMO.js} +9 -1
  377. package/dist/sk-SK-JN-Ll7bm.js +47 -0
  378. package/dist/sk-SK-S6iF1WDH.js +32 -0
  379. package/dist/{sk-SK-C1Ky2nl_.js → sk-SK-jxAlqkeI.js} +7 -4
  380. package/dist/sk-SK-rSmwmSCa.js +35 -0
  381. package/dist/{sk-SK-BWA3fAcI.js → sk-SK-welR06By.js} +6 -1
  382. package/dist/{sl-SI-B7zbwoZn.js → sl-SI-B9N6vA08.js} +6 -1
  383. package/dist/sl-SI-BT9PpQII.js +13 -0
  384. package/dist/sl-SI-BZpXMHiG.js +13 -0
  385. package/dist/sl-SI-C-C-KJCX.js +27 -0
  386. package/dist/{sl-SI-BuIFB5zU.js → sl-SI-CUCrzJQv.js} +2 -1
  387. package/dist/sl-SI-CedEO3kf.js +35 -0
  388. package/dist/{sl-SI-BB7iVcFI.js → sl-SI-CjvFCQ3H.js} +7 -4
  389. package/dist/sl-SI-Cq4LxAvb.js +13 -0
  390. package/dist/{sl-SI-D212isFw.js → sl-SI-Cz28AFTz.js} +9 -1
  391. package/dist/sl-SI-DEaeEVKB.js +24 -0
  392. package/dist/sl-SI-DqUEy_Cm.js +32 -0
  393. package/dist/sl-SI-nUZNETVU.js +47 -0
  394. package/dist/sl-SI-tPwbFvOI.js +68 -0
  395. package/dist/style.css +359 -293
  396. package/dist/styles-CLV89_hH.js +359 -293
  397. package/dist/sv-SE-8dFj9z4D.js +47 -0
  398. package/dist/sv-SE-BHfydid5.js +27 -0
  399. package/dist/sv-SE-BYUoi-08.js +35 -0
  400. package/dist/{sv-SE-BwJgkIDf.js → sv-SE-C6uPh9g5.js} +2 -1
  401. package/dist/sv-SE-CRBRuE8Z.js +32 -0
  402. package/dist/{sv-SE-DbI-1JqN.js → sv-SE-CSjJPRt1.js} +7 -4
  403. package/dist/sv-SE-CXaMlJCI.js +24 -0
  404. package/dist/sv-SE-Csib2Zj_.js +13 -0
  405. package/dist/{sv-SE-Hi07uLM9.js → sv-SE-D6al0j6W.js} +6 -1
  406. package/dist/{sv-SE-Ca1bxZf3.js → sv-SE-DLl7OGxl.js} +9 -1
  407. package/dist/sv-SE-DsPdegWB.js +13 -0
  408. package/dist/sv-SE-EbNvb_L7.js +13 -0
  409. package/dist/sv-SE-K1QT1cOt.js +68 -0
  410. package/dist/types/api/businessLines/businessLines.types.d.ts +10 -0
  411. package/dist/types/api/businessLines/useBusinessLines.d.ts +4 -2
  412. package/dist/types/api/businessLines/useCreateBusinessLine.d.ts +7 -0
  413. package/dist/types/api/companySearch/useCompanySearch.d.ts +1 -0
  414. package/dist/types/api/configurations/useScenarios.d.ts +12 -12
  415. package/dist/types/api/legalEntity/useLegalEntity.d.ts +16 -16
  416. package/dist/types/components/BankAccount/forms/PayoutAccount/payoutAccountFormat.d.ts +1 -1
  417. package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/payoutVerificationMethodMetadata.d.ts +4 -4
  418. package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +51 -51
  419. package/dist/types/components/BankAccount/pages/PayoutDetailsPage.d.ts +1 -1
  420. package/dist/types/components/Business/tasks/BusinessDetailsDropin/businessDetailsStore.d.ts +5 -4
  421. package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +2 -2
  422. package/dist/types/components/Business/tasks/BusinessDetailsDropin/utils.d.ts +3 -3
  423. package/dist/types/components/Business/tasks/BusinessDetailsMultiformDropin/utils.d.ts +0 -2
  424. package/dist/types/components/Business/utils/companyTypeMetadata.d.ts +3 -3
  425. package/dist/types/components/BusinessLines/fields/WebDataField/types.d.ts +2 -4
  426. package/dist/types/components/BusinessLines/tasks/BusinessLines/ExistingBusinessLines/BusinessLineModal.d.ts +5 -0
  427. package/dist/types/components/BusinessLines/tasks/BusinessLines/ExistingBusinessLines/ExistingBusinessLines.d.ts +8 -0
  428. package/dist/types/components/BusinessLines/tasks/utils.d.ts +13 -4
  429. package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +151 -151
  430. package/dist/types/components/EFP/tasks/BusinessFinancingDropin/types.d.ts +7 -5
  431. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/sofStore.d.ts +1 -1
  432. package/dist/types/components/EFP/tasks/TaxReportingDropin/taxClassificationStore.d.ts +1 -1
  433. package/dist/types/components/EFP/tasks/TaxReportingDropin/utils.d.ts +6 -6
  434. package/dist/types/components/EmbeddedDropins/BusinessFinancingComponent/BusinessFinancingComponent.d.ts +1 -1
  435. package/dist/types/components/EmbeddedDropins/BusinessFinancingComponent/utils.d.ts +3 -3
  436. package/dist/types/components/EmbeddedDropins/ViewVerificationStatus/content.d.ts +3 -3
  437. package/dist/types/components/Individual/forms/Individual/IdVerification/idVerificationProviderId.d.ts +1 -1
  438. package/dist/types/components/Individual/forms/Individual/IdVerificationMethod/idVerificationMethodMetadata.d.ts +3 -3
  439. package/dist/types/components/Individual/forms/IndividualOnfido/IdNowVerificationModal/isIdNowModalOpen.d.ts +3 -3
  440. package/dist/types/components/Individual/forms/IndividualOnfido/UboQuestionnaire/UboQuestionnaire.types.d.ts +4 -1
  441. package/dist/types/components/Individual/forms/IndividualOnfido/UboQuestionnaire/UboQuestionnaireModalContent.d.ts +3 -1
  442. package/dist/types/components/Individual/helpers/shouldShowMotionCapture.d.ts +2 -2
  443. package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/DecisionMakerDetails.d.ts +1 -1
  444. package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/DecisionMakerDetails.types.d.ts +2 -0
  445. package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/utils.d.ts +56 -0
  446. package/dist/types/components/Individual/tasks/DecisionMakers/RemediationAlerts/RemediationAlerts.d.ts +7 -0
  447. package/dist/types/components/Individual/tasks/DecisionMakers/RemediationAlerts/remediation.config.d.ts +19 -0
  448. package/dist/types/components/Individual/tasks/IndividualOnfidoDropin/IndividualOnfidoStore.d.ts +1 -1
  449. package/dist/types/components/Shared/EntityAssociation/EntityAssociation.d.ts +1 -1
  450. package/dist/types/components/Shared/EntityAssociation/types.d.ts +2 -4
  451. package/dist/types/components/Shared/fields/LocalizedLegalCompanyNameField/fieldConfig.d.ts +4 -4
  452. package/dist/types/components/Shared/forms/Address/localized/jp/JpAddress.d.ts +1 -1
  453. package/dist/types/components/Shared/forms/Address/localized/jp/mapAddressLocalizationToJpAddressSchema.d.ts +3 -0
  454. package/dist/types/components/Shared/forms/Address/localized/jp/mapJpAddressSchemaToAddressLocalizations.d.ts +3 -0
  455. package/dist/types/components/Shared/forms/Address/localized/jp/mapJpAddressSummary.d.ts +4 -0
  456. package/dist/types/components/Shared/forms/Address/utils.d.ts +3 -2
  457. package/dist/types/components/Shared/forms/FinancialInformation/formatFinancialInformationSummary.d.ts +1 -2
  458. package/dist/types/components/Shared/forms/RegistrationAddress/types.d.ts +3 -2
  459. package/dist/types/components/Shared/tasks/TaskList/TaskList.d.ts +3 -1
  460. package/dist/types/components/Shared/tasks/TaskList/TaskListItem.d.ts +1 -1
  461. package/dist/types/components/Shared/tasks/TaskList/types.d.ts +1 -4
  462. package/dist/types/components/Shared/tasks/TaskList/utils.d.ts +1 -1
  463. package/dist/types/components/Trust/tasks/RoleAndTypeDropin/formatRoleAndEntityTypeSummary.d.ts +2 -2
  464. package/dist/types/components/ui/atoms/Header/Header.d.ts +12 -0
  465. package/dist/types/components/ui/atoms/RadioGroupCard/RadioGroupCard.d.ts +3 -4
  466. package/dist/types/components/ui/atoms/RadioGroupCard/RadioGroupCard.types.d.ts +8 -9
  467. package/dist/types/components/ui/layout/StackLayout/StackLayout.d.ts +29 -7
  468. package/dist/types/components/ui/molecules/Card/Card.d.ts +1 -1
  469. package/dist/types/components/ui/molecules/Card/types.d.ts +1 -0
  470. package/dist/types/components/ui/molecules/EmbeddedStatus/EmbeddedStatus.d.ts +2 -23
  471. package/dist/types/components/ui/molecules/EmbeddedStatus/statusToTag.d.ts +3 -3
  472. package/dist/types/components/ui/molecules/EmbeddedStatus/types.d.ts +23 -0
  473. package/dist/types/context/ExperimentContext/types.d.ts +0 -4
  474. package/dist/types/context/I18nProvider/I18nContext.d.ts +3 -0
  475. package/dist/types/context/SettingsContext/types.d.ts +2 -2
  476. package/dist/types/core/models/api/legal-entity-association.d.ts +1 -1
  477. package/dist/types/core/models/api/source-of-funds.d.ts +5 -0
  478. package/dist/types/hooks/useLegalCompanyNameField/useLegalCompanyNameField.d.ts +6 -8
  479. package/dist/types/hooks/useUboQuestionnaire.d.ts +25 -0
  480. package/dist/types/language/Language.d.ts +10 -0
  481. package/dist/types/language/types.d.ts +15 -1
  482. package/dist/types/utils/entityStatusUtil.d.ts +1 -1
  483. package/dist/types/utils/getSSNType.d.ts +1 -0
  484. package/dist/types/utils/textTransformation/toFullWidth.d.ts +6 -0
  485. package/dist/types/utils/translation.d.ts +1 -0
  486. package/dist/{types-CAznNNSI.js → types-Cnytncbd.js} +1 -5
  487. package/dist/{types-DATo4gPc.js → types-DREIZpxT.js} +2 -2
  488. package/dist/{types-7oacjAfc.js → types-YZCbv6wT.js} +2 -2
  489. package/dist/{useAssociatedLegalEntity-C5XzLwm6.js → useAssociatedLegalEntity-CtPwbvkG.js} +1 -1
  490. package/dist/{useDataset-B6FKCmU2.js → useDataset-BhtLJw8i.js} +3 -3
  491. package/dist/{useForm-TOSljeW-.js → useForm-CkDciBI3.js} +4 -4
  492. package/dist/{useGlobalData-sHcA849M.js → useGlobalData-BUgIp9O-.js} +8 -11
  493. package/dist/{useOnboardingStatus-D1s1dB2k.js → useOnboardingStatus-C617NeV-.js} +1 -1
  494. package/dist/{useScenarios-yNSBgN3c.js → useScenarios-pcYq7HkO.js} +2 -2
  495. package/dist/{useTermsOfServiceStatus-Bv3bR8mM.js → useTermsOfServiceStatus-DAhlGfSf.js} +1 -1
  496. package/dist/{useToastContext-Cfcp4loq.js → useToastContext-SPgtDHvP.js} +2 -5
  497. package/dist/{useUnincorporatedPartnershipMembers-BNNKhIVK.js → useUnincorporatedPartnershipMembers-AfBFy7Yl.js} +5 -5
  498. package/dist/{utils-Bv3wJ_bS.js → utils-C6VZF1lW.js} +10 -10
  499. package/dist/{utils-BH-sDfZk.js → utils-CfNHCh35.js} +16 -10
  500. package/dist/{utils-B0A1M8Ct.js → utils-DKPIAe71.js} +2 -2
  501. package/dist/{validate-C1N5NQIr.js → validate-0hhEAEOS.js} +8 -8
  502. package/dist/{validate-D3dgN5zd.js → validate-nQU_m5nS.js} +2 -2
  503. package/dist/{validate-B15f0Zu8.js → validate-zp9cKIZQ.js} +3 -6
  504. package/dist/{validationError-BHbVbi9T.js → validationError-C4LAQpBz.js} +2 -2
  505. package/package.json +69 -69
  506. package/dist/BusinessFinancingComponent-UBvmxB5u.js +0 -45
  507. package/dist/BusinessFinancingPage-3-Lx_c_S.js +0 -40
  508. package/dist/CreateIndividualComponent-BK8ySYfg.js +0 -72
  509. package/dist/CreateTransferInstrumentComponent-Cl1M2Bnh.js +0 -67
  510. package/dist/DecisionMakers-aTDiZZJK.js +0 -593
  511. package/dist/Link-vZp7tgW8.js +0 -35
  512. package/dist/ManageIndividualComponent-5C7FQlLt.js +0 -47
  513. package/dist/ManageTermsOfServiceComponent-CvO8-gkU.js +0 -47
  514. package/dist/SoleProprietorshipPage-CBzk6v1a.js +0 -50
  515. package/dist/TaskStatusIndicator-Bgcj5g7L.js +0 -69
  516. package/dist/TrustMemberCompanyPage-C-bMG5UI.js +0 -60
  517. package/dist/TrustMemberIndividualPage-Da2kKJCc.js +0 -66
  518. package/dist/bg-BG-9uVrFuHv.js +0 -23
  519. package/dist/bg-BG-Cp58y2fj.js +0 -13
  520. package/dist/bg-BG-Cr0ewJCW.js +0 -13
  521. package/dist/bg-BG-D5192UVe.js +0 -35
  522. package/dist/bg-BG-ZJvmfx01.js +0 -13
  523. package/dist/bg-BG-hFblesn-.js +0 -15
  524. package/dist/cs-CZ-7xfNBIeH.js +0 -13
  525. package/dist/cs-CZ-B8IPRc47.js +0 -15
  526. package/dist/cs-CZ-DMwpeH56.js +0 -13
  527. package/dist/cs-CZ-DOqH0WeT.js +0 -35
  528. package/dist/cs-CZ-De4wbl1W.js +0 -13
  529. package/dist/cs-CZ-Wzc382q6.js +0 -23
  530. package/dist/da-DK-B45X2VaJ.js +0 -35
  531. package/dist/da-DK-BK6TE3SH.js +0 -13
  532. package/dist/da-DK-BTpZzEgA.js +0 -15
  533. package/dist/da-DK-CeNMXUfE.js +0 -23
  534. package/dist/da-DK-DC8dAHWf.js +0 -13
  535. package/dist/da-DK-R0sNbjuQ.js +0 -13
  536. package/dist/de-DE-CWvgMDqU.js +0 -35
  537. package/dist/de-DE-CY7fT1B5.js +0 -13
  538. package/dist/de-DE-D9r_yUSr.js +0 -13
  539. package/dist/de-DE-DjOUNvp6.js +0 -15
  540. package/dist/de-DE-JI-7mvxy.js +0 -23
  541. package/dist/de-DE-ZQioXTGO.js +0 -13
  542. package/dist/el-GR-B06F8VNw.js +0 -13
  543. package/dist/el-GR-C3rkK_oc.js +0 -35
  544. package/dist/el-GR-C7ThPKtr.js +0 -13
  545. package/dist/el-GR-Cu9HwD-f.js +0 -15
  546. package/dist/el-GR-DfNOPkLq.js +0 -23
  547. package/dist/el-GR-kj1-bNjH.js +0 -13
  548. package/dist/en-US-BTYdAWXp.js +0 -15
  549. package/dist/en-US-BaWkkHh3.js +0 -13
  550. package/dist/en-US-DHq7VYFs.js +0 -23
  551. package/dist/es-ES-Cj7q7fWO.js +0 -15
  552. package/dist/es-ES-D6Uauj9W.js +0 -13
  553. package/dist/es-ES-DKCCgVF8.js +0 -35
  554. package/dist/es-ES-DOVPTeyf.js +0 -23
  555. package/dist/es-ES-Dm8otLm9.js +0 -13
  556. package/dist/es-ES-XCII5d8J.js +0 -13
  557. package/dist/et-EE-BJIsPOnh.js +0 -23
  558. package/dist/et-EE-Bc6ioJRG.js +0 -35
  559. package/dist/et-EE-DHwaH1by.js +0 -13
  560. package/dist/et-EE-DNcqO4R9.js +0 -13
  561. package/dist/et-EE-Dor3enPS.js +0 -15
  562. package/dist/et-EE-XPQ-Sf9x.js +0 -13
  563. package/dist/fi-FI-67pS4_t6.js +0 -13
  564. package/dist/fi-FI-BNcnKrJ9.js +0 -15
  565. package/dist/fi-FI-CLg2__EV.js +0 -13
  566. package/dist/fi-FI-D522KHGk.js +0 -23
  567. package/dist/fi-FI-DTgF3AuK.js +0 -13
  568. package/dist/fi-FI-Hhku9Lmc.js +0 -35
  569. package/dist/fr-FR-BYuKsZIb.js +0 -35
  570. package/dist/fr-FR-BZbWBKOT.js +0 -13
  571. package/dist/fr-FR-Bn3D6mmY.js +0 -15
  572. package/dist/fr-FR-CsogZlc6.js +0 -13
  573. package/dist/fr-FR-D7U2da1i.js +0 -13
  574. package/dist/fr-FR-DInQKkTd.js +0 -23
  575. package/dist/hr-HR-B3boX_dq.js +0 -13
  576. package/dist/hr-HR-BVzZeaDc.js +0 -13
  577. package/dist/hr-HR-CJ5rmUrZ.js +0 -13
  578. package/dist/hr-HR-CPO5Yw2B.js +0 -35
  579. package/dist/hr-HR-DzS44Gpv.js +0 -23
  580. package/dist/hu-HU-BJpO-WrQ.js +0 -13
  581. package/dist/hu-HU-BSOiZA7a.js +0 -15
  582. package/dist/hu-HU-CX5vJbE8.js +0 -13
  583. package/dist/hu-HU-CYfNXKwk.js +0 -13
  584. package/dist/hu-HU-mo_0ULJG.js +0 -35
  585. package/dist/hu-HU-xCvNM5TU.js +0 -23
  586. package/dist/it-IT-5QHf-hkt.js +0 -13
  587. package/dist/it-IT-Cepap1v0.js +0 -13
  588. package/dist/it-IT-CjEYONJg.js +0 -23
  589. package/dist/it-IT-Dn9AGEIq.js +0 -13
  590. package/dist/it-IT-DvM-9LpM.js +0 -15
  591. package/dist/it-IT-Nl57jui-.js +0 -35
  592. package/dist/ja-JP-Ajo-tIow.js +0 -23
  593. package/dist/ja-JP-D3oQAH7z.js +0 -35
  594. package/dist/ja-JP-DRJ0RpUn.js +0 -13
  595. package/dist/ja-JP-GXkLvnQ4.js +0 -15
  596. package/dist/lt-LT-3rmXgF6K.js +0 -13
  597. package/dist/lt-LT-B6CJ4ULI.js +0 -23
  598. package/dist/lt-LT-CVasDmF3.js +0 -35
  599. package/dist/lt-LT-DNjXmQPv.js +0 -15
  600. package/dist/lt-LT-Dsy0UVdI.js +0 -13
  601. package/dist/lt-LT-lJLUJnzd.js +0 -13
  602. package/dist/lv-LV-BiilWzcg.js +0 -13
  603. package/dist/lv-LV-CBex8RS9.js +0 -13
  604. package/dist/lv-LV-ChOoZuhc.js +0 -15
  605. package/dist/lv-LV-DPZgF65i.js +0 -13
  606. package/dist/lv-LV-DTtuyfHS.js +0 -23
  607. package/dist/lv-LV-Sbsv8-nD.js +0 -35
  608. package/dist/mapScriptLocalization-BNv4ewMQ.js +0 -72
  609. package/dist/nl-NL-BHkRnVrj.js +0 -35
  610. package/dist/nl-NL-BHqiO21q.js +0 -15
  611. package/dist/nl-NL-BIcLB7e6.js +0 -13
  612. package/dist/nl-NL-CU6c8oyY.js +0 -13
  613. package/dist/nl-NL-DKYvsnqM.js +0 -13
  614. package/dist/nl-NL-Zcq0bXd-.js +0 -23
  615. package/dist/no-NO-BWpBc9_J.js +0 -13
  616. package/dist/no-NO-Bj0_2wjm.js +0 -13
  617. package/dist/no-NO-BxReX6oF.js +0 -23
  618. package/dist/no-NO-CKT9kLAH.js +0 -15
  619. package/dist/no-NO-YuIAbtuI.js +0 -13
  620. package/dist/no-NO-kaAdT9B8.js +0 -35
  621. package/dist/pl-PL-B87v7Wzw.js +0 -13
  622. package/dist/pl-PL-B8pWxq6T.js +0 -13
  623. package/dist/pl-PL-B9eq4QTe.js +0 -13
  624. package/dist/pl-PL-D6heiKsH.js +0 -15
  625. package/dist/pl-PL-DD8JN4Qf.js +0 -35
  626. package/dist/pl-PL-T6uD5--R.js +0 -23
  627. package/dist/pt-BR-BljlblJ5.js +0 -23
  628. package/dist/pt-BR-CI2ZzGeN.js +0 -15
  629. package/dist/pt-BR-CrKxuloz.js +0 -13
  630. package/dist/pt-BR-DMCle1o_.js +0 -30
  631. package/dist/pt-BR-DeDXIlM_.js +0 -35
  632. package/dist/pt-BR-DtLKiYpp.js +0 -60
  633. package/dist/pt-PT-BNJcehJa.js +0 -13
  634. package/dist/pt-PT-Cu735tNP.js +0 -13
  635. package/dist/pt-PT-D2elvnDU.js +0 -15
  636. package/dist/pt-PT-Gsd7I9Ff.js +0 -13
  637. package/dist/pt-PT-N0njcfLO.js +0 -23
  638. package/dist/pt-PT-Xm-pm3mb.js +0 -35
  639. package/dist/resolveEnvironment-C48a6PCP.js +0 -84
  640. package/dist/ro-RO-B4ASHhK6.js +0 -13
  641. package/dist/ro-RO-B75duQ_N.js +0 -13
  642. package/dist/ro-RO-C3m6aJVP.js +0 -35
  643. package/dist/ro-RO-DL9V1CMj.js +0 -15
  644. package/dist/ro-RO-DkHxxgVT.js +0 -13
  645. package/dist/ro-RO-Ic1SzBgx.js +0 -23
  646. package/dist/sk-SK-BSioQTMW.js +0 -15
  647. package/dist/sk-SK-BVc-vNQm.js +0 -35
  648. package/dist/sk-SK-CiD0FeLN.js +0 -23
  649. package/dist/sk-SK-Cv76Qa3V.js +0 -13
  650. package/dist/sk-SK-DUZblaeq.js +0 -13
  651. package/dist/sk-SK-DibZzOqt.js +0 -13
  652. package/dist/sl-SI-BylvpF-X.js +0 -15
  653. package/dist/sl-SI-CyNtynTN.js +0 -13
  654. package/dist/sl-SI-D9rl7bIN.js +0 -13
  655. package/dist/sl-SI-D_rqR0D7.js +0 -35
  656. package/dist/sl-SI-MZoDApq9.js +0 -23
  657. package/dist/sl-SI-vyebIKls.js +0 -13
  658. package/dist/sv-SE-1eeTTIj7.js +0 -13
  659. package/dist/sv-SE-B3zoXMuH.js +0 -35
  660. package/dist/sv-SE-BcTCn-cn.js +0 -13
  661. package/dist/sv-SE-DCFSf4Oj.js +0 -23
  662. package/dist/sv-SE-Dwz1yTrB.js +0 -15
  663. package/dist/sv-SE-Ez33Bdgp.js +0 -13
  664. package/dist/translation-Bswps3l6.js +0 -472
  665. package/dist/types/components/BusinessLines/forms/rules.d.ts +0 -5
  666. package/dist/types/components/ui/atoms/FormHeader/FormHeader.d.ts +0 -8
  667. package/dist/types/components/ui/atoms/Remove/Remove.d.ts +0 -2
  668. package/dist/types/components/ui/atoms/Remove/Remove.types.d.ts +0 -9
  669. package/dist/types/components/ui/molecules/Card/CardGroup.d.ts +0 -3
@@ -0,0 +1,797 @@
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] = "5db6dbc9-a206-46c3-abe7-bc336893e9b0", e._sentryDebugIdIdentifier = "sentry-dbid-5db6dbc9-a206-46c3-abe7-bc336893e9b0");
6
+ } catch (e) {
7
+ }
8
+ }
9
+ ;
10
+ import { a$ as drop, aI as cloneObject, u as useTranslation, c as useLegalEntity, B as Button, L as Loader, x as Typography, P as useAnalyticsContext, R as ROOT_LE, a as addResourceBundles, $ as useGetTaskStatus, X as useExperimentsContext, J as EntityTypes, K as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING, aQ as getOwnDecisionMakers, b6 as getAvailableDecisionMakerRoleTypes, M as TaskTypes, O as TaskStatuses, b0 as getAllowedDecisionMakerRoles, af as Trans, ap as DecisionMakerTypes, _ as __variableDynamicImportRuntimeHelper, y as LegalEntityTypes } from "./StoreProvider-BulXd4Hf.js";
11
+ import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
12
+ import { useState, useMemo, useEffect } from "preact/hooks";
13
+ import { u as useScenarios } from "./useScenarios-pcYq7HkO.js";
14
+ import { d as useUpdateLegalEntity } from "./RadioGroup-CDIi5JOR.js";
15
+ import { S as StackLayout, f as getRoleName, L as List, H as Header } from "./CountryField-DePvueIq.js";
16
+ import { L as ListItem, e as useDataMissingRemediations, D as DropinLayout, E as EntityGuidanceStatus, i as iconStatus, f as EntityAssociation } from "./OnboardingDropinComponent-BlMzaK2Z.js";
17
+ import { M as Modal } from "./Modal-CeWqn3jD.js";
18
+ import { u as useToastContext } from "./useToastContext-SPgtDHvP.js";
19
+ import { a as Alert } from "./Alert-BeizfGIR.js";
20
+ import { I as Image, b as useCapabilityProblems, C as ContextGuidance } from "./fieldConfigurations-BBmPG-CS.js";
21
+ import { A as ActionBar } from "./FormNavigation-C8985odz.js";
22
+ import { T as TaskItemStatus } from "./TaskItemStatus-DykYxx-L.js";
23
+ import { i as isEmpty } from "./isEmpty-CD8E4UFi.js";
24
+ import { a as datasetUtilities, S as StructuredList, C as Confirm } from "./useDataset-BhtLJw8i.js";
25
+ import { D as DetailViewLayout } from "./DetailViewLayout-Z9cuUp4X.js";
26
+ import { G as GuidanceQuestionValues, m as mapLegalEntityToIndividualOnfidoSchema } from "./mapLegalEntityToIndividualOnfidoSchema-DpDvE22C.js";
27
+ import { m as mapAddressLabels } from "./utils-CfNHCh35.js";
28
+ import { l as localizeDateString } from "./localizeDateString-DHsCnGIt.js";
29
+ import { lazy } from "preact/compat";
30
+ import { L as LandingLayout } from "./bafinUtils-DOsm2O1i.js";
31
+ const isManualVerificationOrExistingDoc = (idVerificationMethod) => idVerificationMethod === "manualVerification" || idVerificationMethod === "existingDocument";
32
+ const formatFileSummaryData = (data, locale) => {
33
+ const { idVerificationMethod, proofOfNationalId, proofOfResidency, proofOfRelationship } = data;
34
+ const proofOfNationalIdFile = proofOfNationalId?.proofOfNationalId?.[0];
35
+ const proofOfResidencyFile = proofOfResidency?.proofOfResidency?.[0];
36
+ const proofOfRelationshipFile = proofOfRelationship?.proofOfRelationship?.[0];
37
+ const idDocument = {
38
+ idDocumentType: idVerificationMethod?.idDocument?.idDocumentType,
39
+ uploadedDate: idVerificationMethod?.idDocument?.modificationDate ? localizeDateString(idVerificationMethod?.idDocument?.modificationDate ?? "", locale) : void 0
40
+ };
41
+ return {
42
+ // Format the ID document if it exists.
43
+ ...idDocument?.idDocumentType && {
44
+ idDocument
45
+ },
46
+ // Include proof of national ID file name if it exists.
47
+ ...proofOfNationalIdFile && {
48
+ proofOfNationalId: {
49
+ fileName: proofOfNationalIdFile.name
50
+ }
51
+ },
52
+ // Include proof of residency file name if it exists.
53
+ ...proofOfResidencyFile && {
54
+ proofOfResidency: {
55
+ fileName: proofOfResidencyFile.name
56
+ }
57
+ },
58
+ // Include proof of relationship file name if it exists.
59
+ ...proofOfRelationshipFile && {
60
+ proofOfRelationship: {
61
+ fileName: proofOfRelationshipFile.name
62
+ }
63
+ }
64
+ };
65
+ };
66
+ const formatDataForSummary = (dataToFormat, locale, commonT) => {
67
+ if (!dataToFormat) return {};
68
+ const datasetUtils = datasetUtilities(locale);
69
+ let formattedSummaryData = cloneObject(dataToFormat);
70
+ if (formattedSummaryData?.basicDetails?.phoneNumber) {
71
+ formattedSummaryData.basicDetails.phoneNumber = formattedSummaryData.basicDetails.phoneNumber.number;
72
+ }
73
+ if (formattedSummaryData.additionalPersonalDetails?.country) {
74
+ formattedSummaryData.additionalPersonalDetails.country = datasetUtils.getCountryName(
75
+ formattedSummaryData.additionalPersonalDetails.country
76
+ );
77
+ }
78
+ if (formattedSummaryData.additionalPersonalDetails?.nationality) {
79
+ formattedSummaryData.additionalPersonalDetails.nationality = datasetUtils.getCountryName(
80
+ formattedSummaryData.additionalPersonalDetails.nationality
81
+ );
82
+ }
83
+ if (formattedSummaryData.additionalPersonalDetails) {
84
+ formattedSummaryData.address = mapAddressLabels(
85
+ formattedSummaryData.additionalPersonalDetails,
86
+ datasetUtils
87
+ );
88
+ }
89
+ if (formattedSummaryData.basicDetails?.accountHolder) {
90
+ formattedSummaryData.basicDetails.accountHolder = commonT(
91
+ ($) => $[formattedSummaryData.basicDetails.accountHolder]
92
+ );
93
+ }
94
+ if (formattedSummaryData.additionalPersonalDetails?.birthDate) {
95
+ formattedSummaryData.additionalPersonalDetails.birthDate = localizeDateString(
96
+ formattedSummaryData.additionalPersonalDetails.birthDate,
97
+ locale
98
+ );
99
+ }
100
+ if (isManualVerificationOrExistingDoc(
101
+ formattedSummaryData.idVerificationMethod?.idVerificationMethod
102
+ ) || formattedSummaryData.proofOfResidency) {
103
+ const fileSummaryData = formatFileSummaryData(dataToFormat, locale);
104
+ formattedSummaryData = { ...formattedSummaryData, ...fileSummaryData };
105
+ formattedSummaryData.manualIdUpload = { ...formattedSummaryData.idDocument };
106
+ formattedSummaryData.idVerificationMethod.idDocument = { ...formattedSummaryData.idDocument };
107
+ }
108
+ if (formattedSummaryData.additionalPersonalDetails?.taxInformation) {
109
+ const taxInformation = formattedSummaryData.additionalPersonalDetails.taxInformation.find(
110
+ (taxId) => taxId.country === dataToFormat.additionalPersonalDetails?.nationality
111
+ );
112
+ if (taxInformation) {
113
+ delete formattedSummaryData.additionalPersonalDetails.taxInformation;
114
+ formattedSummaryData.additionalPersonalDetails[taxInformation.type] = taxInformation.number;
115
+ }
116
+ }
117
+ if (formattedSummaryData?.signatoryQuestionnaire) {
118
+ formattedSummaryData.signatoryQuestionnaire = dataToFormat?.signatoryQuestionnaire?.isSignatory === GuidanceQuestionValues.YES ? [commonT(($) => $["signatorySummaryLabel"])] : [];
119
+ }
120
+ if (formattedSummaryData?.uboQuestionnaire) {
121
+ const roleFieldToLabelMap = {
122
+ isOwner: "ownerSummaryLabel",
123
+ isControllingPerson: "controllingPersonSummaryLabel",
124
+ isDirector: "directorSummaryLabel"
125
+ };
126
+ formattedSummaryData.uboQuestionnaire = Object.keys(roleFieldToLabelMap).flatMap(
127
+ (field) => dataToFormat?.uboQuestionnaire?.[field] === GuidanceQuestionValues.YES ? [commonT(($) => $[roleFieldToLabelMap[field]])] : []
128
+ );
129
+ }
130
+ return formattedSummaryData;
131
+ };
132
+ const getOmittedKeysForSummary = (data, taskType) => [
133
+ // Omit 'role' if the task is for a decision maker.
134
+ ...["role"],
135
+ // Omit 'idNumber' if the user is exempt from providing it.
136
+ ...data?.additionalPersonalDetails?.idNumberExempt ? ["idNumber"] : [],
137
+ // Omit 'idVerificationMethod' if manual verification was used.
138
+ ...isManualVerificationOrExistingDoc(data?.idVerificationMethod?.idVerificationMethod) ? ["idVerificationMethod"] : [],
139
+ "address",
140
+ "manualIdUpload"
141
+ ];
142
+ const getSummaryData = (data, locale, commonT, taskType) => {
143
+ const summaryData = formatDataForSummary(data, locale, commonT);
144
+ const omittedKeys = getOmittedKeysForSummary(data)?.filter(Boolean);
145
+ return {
146
+ ...drop(...omittedKeys).from(summaryData),
147
+ basicDetails: drop("firstName", "lastName", "role", "nomineeShareholder").from(
148
+ summaryData.basicDetails
149
+ ),
150
+ additionalPersonalDetails: drop("idNumberExempt").from(summaryData.additionalPersonalDetails),
151
+ idDocument: summaryData.idVerificationMethod?.idDocument
152
+ };
153
+ };
154
+ const getStructuredListItems = (data, commonT) => {
155
+ if (typeof data !== "object" || data === null || Array.isArray(data)) {
156
+ return [];
157
+ }
158
+ const filteredEntries = Object.entries(data).filter(([, itemValue]) => {
159
+ if (itemValue === null || itemValue === void 0 || itemValue === "") {
160
+ return false;
161
+ }
162
+ return !(Array.isArray(itemValue) && itemValue.length === 0);
163
+ });
164
+ if (filteredEntries.length === 0) {
165
+ return [];
166
+ }
167
+ return filteredEntries.map(([itemKey, itemValue]) => ({
168
+ term: commonT(($) => $[itemKey]),
169
+ details: Array.isArray(itemValue) ? itemValue.join(", ") : commonT(($) => $[itemValue]) || String(itemValue),
170
+ type: Array.isArray(itemValue) ? "list" : "text"
171
+ }));
172
+ };
173
+ const DecisionMakerDetails = ({
174
+ decisionMaker,
175
+ parentLegalEntity,
176
+ handleClose,
177
+ handleDelete,
178
+ handleEdit
179
+ }) => {
180
+ const { t: commonT, i18n } = useTranslation("common");
181
+ const { t: individualT } = useTranslation("individual");
182
+ const [confirmOpen, setConfirmOpen] = useState(false);
183
+ const { data: legalEntity, isLoading: isLegalEntityLoading } = useLegalEntity(
184
+ decisionMaker.reference
185
+ );
186
+ const formattedSummary = useMemo(() => {
187
+ if (legalEntity) {
188
+ const individualOnfidoSchema = mapLegalEntityToIndividualOnfidoSchema(
189
+ legalEntity,
190
+ false,
191
+ true,
192
+ parentLegalEntity
193
+ );
194
+ return getSummaryData(
195
+ individualOnfidoSchema,
196
+ i18n.language,
197
+ commonT
198
+ );
199
+ }
200
+ }, [legalEntity, parentLegalEntity, i18n, commonT]);
201
+ const actions = /* @__PURE__ */ jsxs(Fragment, { children: [
202
+ /* @__PURE__ */ jsx(Button, { onClick: handleEdit, variant: "primary", fullWidth: true, children: commonT(($) => $["editDetails"]) }),
203
+ /* @__PURE__ */ jsx(Button, { onClick: () => setConfirmOpen(true), variant: "secondary", fullWidth: true, children: commonT(($) => $["delete"]) })
204
+ ] });
205
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
206
+ /* @__PURE__ */ jsx(Modal, { onClose: handleClose, ariaLabel: commonT(($) => $["individualDetails"]), inset: true, children: /* @__PURE__ */ jsx(DetailViewLayout, { title: commonT(($) => $["individualDetails"]), actions, children: isLegalEntityLoading || !legalEntity ? /* @__PURE__ */ jsx(Loader, {}) : /* @__PURE__ */ jsxs(StackLayout, { gap: "medium", children: [
207
+ /* @__PURE__ */ jsx(
208
+ ListItem,
209
+ {
210
+ accessory: /* @__PURE__ */ jsx(TaskItemStatus, { status: decisionMaker.status }),
211
+ avatar: { iconName: "user", circle: true },
212
+ title: decisionMaker.name,
213
+ description: decisionMaker.types.map((type) => commonT(($) => $[getRoleName(type)])).filter(Boolean).join(",")
214
+ }
215
+ ),
216
+ formattedSummary && Object.entries(formattedSummary).map(([key, value]) => {
217
+ const items = getStructuredListItems(value, commonT);
218
+ if (items.length === 0) {
219
+ return null;
220
+ }
221
+ return /* @__PURE__ */ jsxs(List, { variant: "grouped-secondary", children: [
222
+ /* @__PURE__ */ jsx(Typography, { variant: "title", children: individualT(($) => $[key]) }),
223
+ /* @__PURE__ */ jsx(StructuredList, { items })
224
+ ] }, key);
225
+ }).filter(Boolean)
226
+ ] }) }) }),
227
+ confirmOpen && /* @__PURE__ */ jsx(
228
+ Confirm,
229
+ {
230
+ title: commonT(($) => $["deleteItem"], { item: decisionMaker.name }),
231
+ description: commonT(($) => $["thisActionIsPermanent"]),
232
+ onConfirm: handleDelete,
233
+ confirmText: commonT(($) => $["delete"]),
234
+ onCancel: () => setConfirmOpen(false),
235
+ critical: true
236
+ }
237
+ )
238
+ ] });
239
+ };
240
+ const decisionMakersGettingStarted = "adyen-kyc-decision-makers-getting-started";
241
+ const styles = {
242
+ decisionMakersGettingStarted
243
+ };
244
+ const DecisionMakersModalContent = () => {
245
+ const { t } = useTranslation("individual");
246
+ return /* @__PURE__ */ jsxs("div", { className: styles.decisionMakersGettingStartedModal, children: [
247
+ /* @__PURE__ */ jsx(Typography, { variant: "title-l", el: "h3", className: "adyen-kyc-u-margin-bottom-40", children: t(($) => $["moreAboutOwnersAndDecisionMakers"]) }),
248
+ /* @__PURE__ */ jsx(Typography, { variant: "body-strongest", el: "h4", className: "adyen-kyc-u-margin-bottom-12", children: t(($) => $["ownersAndDecisionMakersDescriptionQ1"]) }),
249
+ /* @__PURE__ */ jsx(Typography, { el: "p", className: "adyen-kyc-u-margin-bottom-32", children: t(($) => $["ownersAndDecisionMakersDescriptionA1"]) }),
250
+ /* @__PURE__ */ jsx(
251
+ Alert,
252
+ {
253
+ title: t(($) => $["ownersDescriptionAlertTitle"]),
254
+ icon: false,
255
+ className: "adyen-kyc-u-margin-bottom-32",
256
+ children: t(($) => $["ownersAndDecisionMakersDescriptionAlertContent"])
257
+ }
258
+ ),
259
+ /* @__PURE__ */ jsx(Typography, { variant: "body-strongest", el: "h4", className: "adyen-kyc-u-margin-bottom-12", children: t(($) => $["ownersAndDecisionMakersDescriptionQ2"]) }),
260
+ /* @__PURE__ */ jsx(Typography, { el: "p", children: t(($) => $["ownersAndDecisionMakersDescriptionA2P1"]) }),
261
+ /* @__PURE__ */ jsx(Typography, { el: "p", className: "adyen-kyc-u-margin-bottom-32", children: t(($) => $["ownersAndDecisionMakersDescriptionA2P2"]) }),
262
+ /* @__PURE__ */ jsx(
263
+ Alert,
264
+ {
265
+ title: t(($) => $["ownersDescriptionAlertTitle"]),
266
+ icon: false,
267
+ className: "adyen-kyc-u-margin-bottom-32",
268
+ children: t(($) => $["ownersDescriptionAlertContent"])
269
+ }
270
+ ),
271
+ /* @__PURE__ */ jsx(Typography, { variant: "body-strongest", el: "h4", className: "adyen-kyc-u-margin-bottom-12", children: t(($) => $["ownersAndDecisionMakersDescriptionQ3"]) }),
272
+ /* @__PURE__ */ jsx(Typography, { el: "p", className: "adyen-kyc-u-margin-bottom-32", children: t(($) => $["ownersAndDecisionMakersDescriptionA3"]) }),
273
+ /* @__PURE__ */ jsx(Typography, { variant: "body-strongest", el: "h4", className: "adyen-kyc-u-margin-bottom-12", children: t(($) => $["ownersAndDecisionMakersDescriptionQ4"]) }),
274
+ /* @__PURE__ */ jsx(Typography, { el: "p", className: "adyen-kyc-u-margin-bottom-32", children: t(($) => $["ownersAndDecisionMakersDescriptionA4"]) })
275
+ ] });
276
+ };
277
+ const decisionMakerGroup = lazy(() => import("./decision-makers-group-CgddXgrx.js"));
278
+ const DecisionMakersGettingStarted = ({
279
+ addDecisionMakerOnClick,
280
+ handleCancelClick
281
+ }) => {
282
+ const { t: commonT } = useTranslation("common");
283
+ const { t: individualT } = useTranslation("individual");
284
+ const userEvents = useAnalyticsContext();
285
+ const [isModalOpen, setIsModalOpen] = useState(false);
286
+ const openModal = () => {
287
+ userEvents.addPageEvent("Opened modal", {
288
+ actionType: "open",
289
+ label: "decisionMakersGettingStartedModal"
290
+ });
291
+ setIsModalOpen(true);
292
+ };
293
+ const closeModal = () => {
294
+ userEvents.addPageEvent("Closed modal", {
295
+ actionType: "close",
296
+ label: "decisionMakersGettingStartedModal"
297
+ });
298
+ setIsModalOpen(false);
299
+ };
300
+ return /* @__PURE__ */ jsxs("div", { className: styles.decisionMakersGettingStarted, children: [
301
+ /* @__PURE__ */ jsx(
302
+ LandingLayout,
303
+ {
304
+ media: /* @__PURE__ */ jsx(Image, { lazyLoadedImage: decisionMakerGroup }),
305
+ title: individualT(($) => $["ownersAndDecisionMakers"]),
306
+ description: individualT(($) => $["ownersAndDecisionMakersDescription"]),
307
+ helpAction: /* @__PURE__ */ jsx(Button, { variant: "link", onClick: openModal, fullWidth: true, children: commonT(($) => $["learnMore"]) }),
308
+ actions: /* @__PURE__ */ jsxs(Fragment, { children: [
309
+ /* @__PURE__ */ jsx(
310
+ Button,
311
+ {
312
+ fullWidth: true,
313
+ testId: "decision-makers-getting-started-primary-button",
314
+ onClick: addDecisionMakerOnClick,
315
+ children: commonT(($) => $["gettingStarted"])
316
+ }
317
+ ),
318
+ handleCancelClick && /* @__PURE__ */ jsx(
319
+ Button,
320
+ {
321
+ variant: "tertiary",
322
+ fullWidth: true,
323
+ testId: "decision-makers-getting-started-cancel-button",
324
+ onClick: handleCancelClick,
325
+ children: commonT(($) => $["finishLater"])
326
+ }
327
+ )
328
+ ] })
329
+ }
330
+ ),
331
+ isModalOpen && /* @__PURE__ */ jsx(
332
+ Modal,
333
+ {
334
+ onClose: closeModal,
335
+ ariaLabel: individualT(($) => $["moreAboutOwnersAndDecisionMakers"]),
336
+ inset: true,
337
+ children: /* @__PURE__ */ jsx(DecisionMakersModalContent, {})
338
+ }
339
+ )
340
+ ] });
341
+ };
342
+ const signatoryMissingAlert = {
343
+ type: "single",
344
+ code: "2_124",
345
+ titleKey: "authorizedSignatoryMissing",
346
+ descriptionKey: "addAtLeastOneAuthorizedSignatory",
347
+ actionKey: "addAuthorizedSignatory"
348
+ };
349
+ const beneficialOwnersMissingAlert = {
350
+ type: "grouped",
351
+ codes: ["2_123", "2_151", "2_185"],
352
+ titleKey: "beneficialOwnersMissing",
353
+ actionKey: "addBeneficialOwner",
354
+ detailKeys: {
355
+ "2_123": "addAllBeneficialOwners",
356
+ "2_151": "addAtLeastOneBeneficialOwnerControllingPerson",
357
+ "2_185": "addAtLeastOneDirector"
358
+ }
359
+ };
360
+ const decisionMakerRemediationAlerts = [
361
+ signatoryMissingAlert,
362
+ beneficialOwnersMissingAlert
363
+ ];
364
+ const RemediationAlertItem = ({ config, activeCodes, onAction }) => {
365
+ const { t } = useTranslation("individual");
366
+ const isVisible = useMemo(() => {
367
+ if (config.type === "single") {
368
+ return activeCodes.includes(config.code);
369
+ }
370
+ return config.codes.some((code) => activeCodes.includes(code));
371
+ }, [activeCodes, config]);
372
+ const activeGroupedDetails = useMemo(() => {
373
+ if (config.type !== "grouped") {
374
+ return [];
375
+ }
376
+ return config.codes.filter((code) => activeCodes.includes(code)).map((code) => config.detailKeys[code]);
377
+ }, [activeCodes, config]);
378
+ if (!isVisible) {
379
+ return null;
380
+ }
381
+ return /* @__PURE__ */ jsxs(
382
+ Alert,
383
+ {
384
+ className: "adyen-kyc-decision-makers__warning",
385
+ title: t(($) => $[config.titleKey]),
386
+ variant: "warning",
387
+ children: [
388
+ config.type === "single" && /* @__PURE__ */ jsx("p", { children: t(($) => $[config.descriptionKey]) }),
389
+ config.type === "grouped" && (activeGroupedDetails.length > 1 ? /* @__PURE__ */ jsx("ul", { children: activeGroupedDetails.map((key) => /* @__PURE__ */ jsx("li", { children: t(($) => $[key]) }, key)) }) : /* @__PURE__ */ jsx("p", { children: t(($) => $[activeGroupedDetails[0]]) })),
390
+ /* @__PURE__ */ jsx(Button, { variant: "link", onClick: onAction, children: t(($) => $[config.actionKey]) })
391
+ ]
392
+ }
393
+ );
394
+ };
395
+ const RemediationAlerts = ({ activeCodes, onAction }) => /* @__PURE__ */ jsx(Fragment, { children: decisionMakerRemediationAlerts.map((config) => /* @__PURE__ */ jsx(
396
+ RemediationAlertItem,
397
+ {
398
+ config,
399
+ activeCodes,
400
+ onAction
401
+ },
402
+ config.type === "single" ? config.code : config.titleKey
403
+ )) });
404
+ const DecisionMakers = (props) => {
405
+ const { data, isLoading } = useLegalEntity(ROOT_LE);
406
+ const { i18n } = useTranslation();
407
+ addResourceBundles(i18n, i18n.language, [
408
+ { ns: "individual", importFn: () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../language/bg-BG.json": () => import("./bg-BG-DPkib_ah.js"), "../../language/cs-CZ.json": () => import("./cs-CZ-B0dmNTJm.js"), "../../language/da-DK.json": () => import("./da-DK-quX5LuPc.js"), "../../language/de-DE.json": () => import("./de-DE-B2QaSUv3.js"), "../../language/el-GR.json": () => import("./el-GR-C2BsVqjY.js"), "../../language/en-US.json": () => import("./en-US-BEgdeTV4.js"), "../../language/es-ES.json": () => import("./es-ES-DCkqCwAK.js"), "../../language/et-EE.json": () => import("./et-EE-DbRebqzm.js"), "../../language/fi-FI.json": () => import("./fi-FI-BXJbm9sZ.js"), "../../language/fr-FR.json": () => import("./fr-FR-t2k348rx.js"), "../../language/hr-HR.json": () => import("./hr-HR-Dlw8mrQW.js"), "../../language/hu-HU.json": () => import("./hu-HU-DLynQejq.js"), "../../language/it-IT.json": () => import("./it-IT-PJbf57vA.js"), "../../language/ja-JP.json": () => import("./ja-JP-7DhgV_0J.js"), "../../language/lt-LT.json": () => import("./lt-LT-C_sT0Isz.js"), "../../language/lv-LV.json": () => import("./lv-LV-Cwzt1ESp.js"), "../../language/nl-NL.json": () => import("./nl-NL-D0wVWeHf.js"), "../../language/no-NO.json": () => import("./no-NO-JHMzV-ae.js"), "../../language/pl-PL.json": () => import("./pl-PL-De41L6O6.js"), "../../language/pt-BR.json": () => import("./pt-BR-D7RCymsU.js"), "../../language/pt-PT.json": () => import("./pt-PT-CgXkfMUc.js"), "../../language/ro-RO.json": () => import("./ro-RO-1W3Bw0U7.js"), "../../language/sk-SK.json": () => import("./sk-SK-BTujkOgF.js"), "../../language/sl-SI.json": () => import("./sl-SI-Cq4LxAvb.js"), "../../language/sv-SE.json": () => import("./sv-SE-Csib2Zj_.js") }), `../../language/${i18n.language}.json`, 4) }
409
+ ]);
410
+ if (isLoading || !data) {
411
+ return /* @__PURE__ */ jsx(Loader, {});
412
+ }
413
+ return /* @__PURE__ */ jsx(DecisionMakersInner, { ...props, legalEntity: data });
414
+ };
415
+ const DecisionMakersInner = ({
416
+ legalEntity,
417
+ onNavigateToIndividual,
418
+ navigateBackToTaskList,
419
+ trustedEntityAssociations
420
+ }) => {
421
+ const getTaskStatus = useGetTaskStatus();
422
+ const { t: commonT } = useTranslation("common");
423
+ const { t: individualT } = useTranslation("individual");
424
+ const userEvents = useAnalyticsContext();
425
+ const { isExperimentEnabled } = useExperimentsContext();
426
+ const { showToast } = useToastContext();
427
+ const isRevampedDecisionMakersTaskPageEnabled = isExperimentEnabled(
428
+ "EnableRevampedDecisionMakersTaskPage"
429
+ );
430
+ const [showDecisionMakerModal, setShowDecisionMakerModal] = useState(false);
431
+ const [selectedDecisionMaker, setSelectedDecisionMaker] = useState();
432
+ const [isModalOpen, setIsModalOpen] = useState(false);
433
+ const openModal = () => {
434
+ userEvents.addPageEvent("Opened modal", {
435
+ actionType: "open",
436
+ label: "decisionMakersDescriptionModal"
437
+ });
438
+ setIsModalOpen(true);
439
+ };
440
+ const closeModal = () => {
441
+ userEvents.addPageEvent("Closed modal", {
442
+ actionType: "close",
443
+ label: "decisionMakersDescriptionModal"
444
+ });
445
+ setIsModalOpen(false);
446
+ };
447
+ const openDecisionMakerModal = (decisionMaker) => {
448
+ userEvents.addPageEvent("Opened modal", {
449
+ actionType: "open",
450
+ label: "viewDecisionMakerModal"
451
+ });
452
+ setShowDecisionMakerModal(true);
453
+ setSelectedDecisionMaker(decisionMaker);
454
+ };
455
+ const closeDecisionMakerModal = () => {
456
+ userEvents.addPageEvent("Closed modal", {
457
+ actionType: "close",
458
+ label: "viewDecisionMakerModal"
459
+ });
460
+ setShowDecisionMakerModal(false);
461
+ setSelectedDecisionMaker(null);
462
+ };
463
+ const capabilityProblems = useCapabilityProblems();
464
+ const decisionMakerRemediationCodes = useMemo(() => {
465
+ const missingData = capabilityProblems?.[EntityTypes.LEGAL_ENTITY]?.[legalEntity.id]?.missingData ?? [];
466
+ const remediationCodes = missingData.flatMap((error) => {
467
+ const remediation = DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING[error.code];
468
+ return remediation ? [remediation] : [];
469
+ });
470
+ return [...new Set(remediationCodes)];
471
+ }, [capabilityProblems, legalEntity.id]);
472
+ const updateLegalEntity = useUpdateLegalEntity();
473
+ const decisionMakers = getOwnDecisionMakers(legalEntity);
474
+ const registeredCountry = legalEntity.organization.registeredAddress.country;
475
+ const { data: scenarios } = useScenarios(registeredCountry, LegalEntityTypes.INDIVIDUAL);
476
+ const availableDecisionMakers = getAvailableDecisionMakerRoleTypes(registeredCountry, scenarios);
477
+ const translationKeys = {
478
+ home: "saveAndGoToOverview"
479
+ };
480
+ const { remediationMessages } = useDataMissingRemediations({
481
+ legalEntityId: legalEntity.id,
482
+ problems: capabilityProblems ?? {}
483
+ });
484
+ const mappedDecisionMakers = decisionMakers?.reduce(
485
+ (mappedDecisionMakers2, decisionMaker) => {
486
+ if (!decisionMaker.legalEntityId) return {};
487
+ const mappedDecisionMaker = mappedDecisionMakers2[decisionMaker.legalEntityId];
488
+ const decisionMakerType = decisionMaker.type;
489
+ mappedDecisionMakers2[decisionMaker.legalEntityId] = {
490
+ reference: decisionMaker.legalEntityId,
491
+ types: mappedDecisionMaker ? [...mappedDecisionMaker.types, decisionMakerType] : [decisionMakerType],
492
+ status: getTaskStatus(TaskTypes.DECISION_MAKER, decisionMaker.legalEntityId),
493
+ name: decisionMaker.name ?? "",
494
+ legalEntityType: decisionMaker.entityType,
495
+ problems: capabilityProblems?.LegalEntity?.[decisionMaker.legalEntityId]
496
+ };
497
+ return mappedDecisionMakers2;
498
+ },
499
+ {}
500
+ );
501
+ const uniqueDecisionMakers = mappedDecisionMakers ? Object.values(mappedDecisionMakers) : [];
502
+ const BENEFICIAL_OWNER_ROLES = [
503
+ DecisionMakerTypes.OWNER,
504
+ DecisionMakerTypes.CONTROLLING_PERSON,
505
+ DecisionMakerTypes.DIRECTOR
506
+ ];
507
+ const decisionMakerStatusLabelMap = {
508
+ [TaskStatuses.ERROR]: commonT(($) => $["actionNeeded"]),
509
+ [TaskStatuses.PROCESSING]: commonT(($) => $["inReview"]),
510
+ [TaskStatuses.FINISHED]: commonT(($) => $["verified"])
511
+ };
512
+ const { actionNeededDecisionMakers, completeDecisionMakers } = uniqueDecisionMakers.reduce(
513
+ (acc, dm) => {
514
+ if (dm.status === TaskStatuses.ERROR || dm.status === TaskStatuses.DETAILS_REQUIRED) {
515
+ acc.actionNeededDecisionMakers.push(dm);
516
+ } else if (dm.status === TaskStatuses.FINISHED || dm.status === TaskStatuses.PROCESSING) {
517
+ acc.completeDecisionMakers.push(dm);
518
+ }
519
+ return acc;
520
+ },
521
+ {
522
+ actionNeededDecisionMakers: [],
523
+ completeDecisionMakers: []
524
+ }
525
+ );
526
+ const getOverallStatus = () => {
527
+ if (!isEmpty(capabilityProblems) || actionNeededDecisionMakers.length > 0) {
528
+ return TaskStatuses.ERROR;
529
+ }
530
+ if (completeDecisionMakers.some((dm) => dm.status === TaskStatuses.PROCESSING)) {
531
+ return TaskStatuses.PROCESSING;
532
+ }
533
+ return TaskStatuses.FINISHED;
534
+ };
535
+ const decisionMakersTaskStatus = getOverallStatus();
536
+ const showWarning = Boolean(remediationMessages.DECISION_MAKER && uniqueDecisionMakers.length);
537
+ useEffect(() => {
538
+ userEvents.addTaskEvent("Landed on page", {
539
+ actionType: "start"
540
+ });
541
+ }, [userEvents]);
542
+ useEffect(() => {
543
+ if (showWarning) {
544
+ userEvents.addTaskEvent("Encountered error", {
545
+ task: TaskTypes.DECISION_MAKER_OVERVIEW,
546
+ actionType: "alert",
547
+ returnValue: "missingDecisionMaker"
548
+ });
549
+ }
550
+ }, [remediationMessages.DECISION_MAKER, showWarning, userEvents]);
551
+ const uniqueDecisionMakersPerType = (roleType) => uniqueDecisionMakers.filter(({ types }) => types.includes(roleType)).length;
552
+ const allowedDecisionMakerTypes = getAllowedDecisionMakerRoles(
553
+ legalEntity,
554
+ TaskTypes.DECISION_MAKER,
555
+ scenarios
556
+ );
557
+ const haveMaxDecisionMakers = allowedDecisionMakerTypes.length === 0;
558
+ const getDecisionMakerTrackingParams = (decisionMaker) => ({
559
+ task: TaskTypes.DECISION_MAKER_OVERVIEW,
560
+ associatedLegalEntityId: decisionMaker.reference,
561
+ associatedLegalEntityType: decisionMaker.legalEntityType,
562
+ roles: decisionMaker.types
563
+ });
564
+ const addDecisionMakerOnClick = () => {
565
+ onNavigateToIndividual();
566
+ };
567
+ const editDecisionMaker = (decisionMaker) => {
568
+ onNavigateToIndividual(decisionMaker.reference);
569
+ userEvents.addTaskEvent("Clicked button", {
570
+ ...getDecisionMakerTrackingParams(decisionMaker),
571
+ actionType: "edit"
572
+ });
573
+ };
574
+ const deleteDecisionMaker = async (decisionMaker) => {
575
+ try {
576
+ const updatedEntityAssociations = {
577
+ entityAssociations: (legalEntity.entityAssociations ?? []).filter(
578
+ (entityAssociation) => entityAssociation.legalEntityId !== decisionMaker.reference
579
+ )
580
+ };
581
+ await updateLegalEntity.mutateAsync({ ...updatedEntityAssociations, id: legalEntity.id });
582
+ const remainingDecisionMakers = decisionMakers.filter(
583
+ (curr) => curr.legalEntityId !== decisionMaker.reference
584
+ );
585
+ userEvents.addTaskEvent("Clicked button", {
586
+ ...getDecisionMakerTrackingParams(decisionMaker),
587
+ actionType: "remove",
588
+ remainingDecisionMakers
589
+ });
590
+ showToast({
591
+ variant: "success",
592
+ label: individualT(($) => $["successFullyRemovedDecisionMaker"])
593
+ });
594
+ } catch {
595
+ showToast({ variant: "error", label: individualT(($) => $["failedToRemoveDecisionMaker"]) });
596
+ }
597
+ };
598
+ const renderDecisionMakerItem = (decisionMaker) => {
599
+ const isSignatory = decisionMaker.types.includes(DecisionMakerTypes.SIGNATORY);
600
+ const isBeneficialOwner = decisionMaker.types.some(
601
+ (type) => BENEFICIAL_OWNER_ROLES.includes(type)
602
+ );
603
+ const description = [
604
+ isSignatory && commonT(($) => $.signatory),
605
+ isBeneficialOwner && commonT(($) => $.beneficialOwner)
606
+ ].filter(Boolean).join(", ");
607
+ return /* @__PURE__ */ jsx(
608
+ ListItem,
609
+ {
610
+ accessory: /* @__PURE__ */ jsx(
611
+ TaskItemStatus,
612
+ {
613
+ status: decisionMaker.status,
614
+ statusLabel: decisionMakerStatusLabelMap[decisionMaker.status]
615
+ }
616
+ ),
617
+ avatar: { iconName: "user", circle: true },
618
+ title: decisionMaker.name,
619
+ action: { onClick: () => openDecisionMakerModal(decisionMaker) },
620
+ description
621
+ },
622
+ decisionMaker.reference
623
+ );
624
+ };
625
+ if (isRevampedDecisionMakersTaskPageEnabled && uniqueDecisionMakers.length === 0) {
626
+ return /* @__PURE__ */ jsx(
627
+ DecisionMakersGettingStarted,
628
+ {
629
+ handleCancelClick: () => navigateBackToTaskList(),
630
+ addDecisionMakerOnClick
631
+ }
632
+ );
633
+ }
634
+ return /* @__PURE__ */ jsx(
635
+ DropinLayout,
636
+ {
637
+ content: /* @__PURE__ */ jsxs("div", { className: "adyen-kyc-decision-makers adyen-kyc-u-width-full", children: [
638
+ isRevampedDecisionMakersTaskPageEnabled ? /* @__PURE__ */ jsxs(Fragment, { children: [
639
+ /* @__PURE__ */ jsxs(StackLayout, { gap: "medium", children: [
640
+ /* @__PURE__ */ jsx(
641
+ Header,
642
+ {
643
+ title: individualT(($) => $["ownersAndDecisionMakers"]),
644
+ description: individualT(($) => $["ownersAndDecisionMakersDescription"]),
645
+ status: decisionMakersTaskStatus,
646
+ align: "center",
647
+ children: /* @__PURE__ */ jsx(Button, { slot: "actions", variant: "link", onClick: openModal, children: commonT(($) => $["learnMore"]) })
648
+ }
649
+ ),
650
+ showWarning && /* @__PURE__ */ jsx(
651
+ RemediationAlerts,
652
+ {
653
+ activeCodes: decisionMakerRemediationCodes,
654
+ onAction: addDecisionMakerOnClick
655
+ }
656
+ )
657
+ ] }),
658
+ /* @__PURE__ */ jsxs(StackLayout, { gap: "large", children: [
659
+ actionNeededDecisionMakers.length > 0 && /* @__PURE__ */ jsx(
660
+ List,
661
+ {
662
+ variant: "grouped-primary",
663
+ padding: "small",
664
+ header: commonT(($) => $["actionNeeded"]),
665
+ dividers: false,
666
+ children: actionNeededDecisionMakers.map(renderDecisionMakerItem)
667
+ }
668
+ ),
669
+ completeDecisionMakers.length > 0 && /* @__PURE__ */ jsx(
670
+ List,
671
+ {
672
+ variant: "grouped-primary",
673
+ padding: "small",
674
+ header: commonT(($) => $["complete"]),
675
+ dividers: false,
676
+ children: completeDecisionMakers.map(renderDecisionMakerItem)
677
+ }
678
+ )
679
+ ] })
680
+ ] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
681
+ /* @__PURE__ */ jsx(
682
+ Header,
683
+ {
684
+ title: commonT(($) => $["decisionMaker"]),
685
+ description: individualT(($) => $["decisionMakerDescription"])
686
+ }
687
+ ),
688
+ /* @__PURE__ */ jsx("div", { className: "adyen-kyc-decision-makers__container", children: availableDecisionMakers.map(({ roleType, min }) => /* @__PURE__ */ jsx(
689
+ EntityGuidanceStatus,
690
+ {
691
+ country: registeredCountry,
692
+ currentTask: TaskTypes.DECISION_MAKER_OVERVIEW,
693
+ entityLabel: roleType,
694
+ status: iconStatus(uniqueDecisionMakersPerType(roleType), min)
695
+ },
696
+ roleType
697
+ )) }),
698
+ /* @__PURE__ */ jsx(
699
+ ContextGuidance,
700
+ {
701
+ title: individualT(($) => $["whatIsTheDifferenceBetweenTheseRoles"]),
702
+ content: /* @__PURE__ */ jsx("ul", { className: "adyen-kyc-guidance-list", children: availableDecisionMakers.map(({ roleType }) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
703
+ Trans,
704
+ {
705
+ t: individualT,
706
+ i18nKey: ($) => $[`${roleType === DecisionMakerTypes.CONTROLLING_PERSON ? "controllingPerson" : roleType === DecisionMakerTypes.OWNER ? "owner" : roleType}GuideDescription`]
707
+ }
708
+ ) }, roleType)) }),
709
+ titleId: "whatIsTheDifferenceBetweenTheseRoles",
710
+ contentId: "differenceBetweenAnOwnerControllingPersonAndSignatory"
711
+ }
712
+ ),
713
+ showWarning && /* @__PURE__ */ jsx(
714
+ Alert,
715
+ {
716
+ className: "adyen-kyc-decision-makers__warning",
717
+ title: remediationMessages.DECISION_MAKER,
718
+ variant: "warning"
719
+ }
720
+ ),
721
+ /* @__PURE__ */ jsx(StackLayout, { children: uniqueDecisionMakers.map((decisionMaker) => /* @__PURE__ */ jsx(
722
+ EntityAssociation,
723
+ {
724
+ types: decisionMaker.types,
725
+ name: decisionMaker.name,
726
+ status: decisionMaker.status,
727
+ onNavigateToEntity: () => editDecisionMaker(decisionMaker),
728
+ problems: decisionMaker?.problems,
729
+ deleteEntity: () => {
730
+ deleteDecisionMaker(decisionMaker);
731
+ },
732
+ isDeleteDisabled: (trustedEntityAssociations ?? []).some(
733
+ (ea) => ea.reference === decisionMaker.reference
734
+ )
735
+ },
736
+ decisionMaker.reference
737
+ )) })
738
+ ] }),
739
+ showDecisionMakerModal && selectedDecisionMaker && /* @__PURE__ */ jsx(
740
+ DecisionMakerDetails,
741
+ {
742
+ handleClose: closeDecisionMakerModal,
743
+ handleDelete: () => deleteDecisionMaker(selectedDecisionMaker),
744
+ handleEdit: () => editDecisionMaker(selectedDecisionMaker),
745
+ decisionMaker: selectedDecisionMaker,
746
+ parentLegalEntity: legalEntity
747
+ }
748
+ ),
749
+ /* @__PURE__ */ jsx("div", { className: "adyen-kyc-decision-makers__actions", children: isRevampedDecisionMakersTaskPageEnabled ? /* @__PURE__ */ jsx(List, { variant: "grouped-primary", padding: "small", dividers: false, children: /* @__PURE__ */ jsx(
750
+ ListItem,
751
+ {
752
+ avatar: { iconName: "plus", circle: true },
753
+ title: commonT(($) => $["addNew"]),
754
+ action: { onClick: addDecisionMakerOnClick }
755
+ }
756
+ ) }) : /* @__PURE__ */ jsx(
757
+ Button,
758
+ {
759
+ variant: "secondary",
760
+ icon: "plus",
761
+ onClick: addDecisionMakerOnClick,
762
+ disabled: haveMaxDecisionMakers,
763
+ fullWidth: true,
764
+ children: individualT(($) => $["addDecisionMaker"])
765
+ }
766
+ ) }),
767
+ /* @__PURE__ */ jsx(
768
+ ActionBar,
769
+ {
770
+ onHome: () => {
771
+ userEvents.addTaskEvent("Clicked button", {
772
+ task: TaskTypes.DECISION_MAKER_OVERVIEW,
773
+ actionType: "back",
774
+ label: translationKeys.home,
775
+ noOfDecisionMakers: decisionMakers.length
776
+ });
777
+ navigateBackToTaskList();
778
+ },
779
+ homeButtonLabel: commonT(($) => $[translationKeys.home])
780
+ }
781
+ ),
782
+ isModalOpen && /* @__PURE__ */ jsx(
783
+ Modal,
784
+ {
785
+ onClose: closeModal,
786
+ ariaLabel: individualT(($) => $["moreAboutOwnersAndDecisionMakers"]),
787
+ inset: true,
788
+ children: /* @__PURE__ */ jsx(DecisionMakersModalContent, {})
789
+ }
790
+ )
791
+ ] })
792
+ }
793
+ );
794
+ };
795
+ export {
796
+ DecisionMakers
797
+ };