@adyen/kyc-components 4.0.0-compact.0 → 4.0.0

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 (1113) hide show
  1. package/README.md +30 -43
  2. package/dist/4-people-BzyXLUF9.js +24 -0
  3. package/dist/AD-BQAadLyG.js +23 -0
  4. package/dist/AT-BI8ju2NH.js +23 -0
  5. package/dist/AcceptTermsOfServiceComponent-CmHBNGjM.js +659 -0
  6. package/dist/Accordion-Cp_VkxR6.js +88 -0
  7. package/dist/AccountSetupRejected-CoxWTlar.js +26 -0
  8. package/dist/ActionBar-CxUKVmTE.js +31 -0
  9. package/dist/Address-Db6Q_KUo.js +1348 -0
  10. package/dist/Alert-DEiOX0nw.js +159 -0
  11. package/dist/Avatar-3K6S_tIS.js +60 -0
  12. package/dist/BE-nWHKW0xQ.js +23 -0
  13. package/dist/BG-DlvaKo4n.js +27 -0
  14. package/dist/BusinessDetailsMultiformDropin-CYoIN4Fa.js +4220 -0
  15. package/dist/BusinessFinancingComponent-DyvM-fsY.js +54 -0
  16. package/dist/BusinessFinancingDropin-BOvR4LwU.js +1853 -0
  17. package/dist/BusinessFinancingPage-8C0ztBfS.js +43 -0
  18. package/dist/BusinessTypeSelectionPage-DpZAsa8K.js +427 -0
  19. package/dist/CH-TX4BTE2y.js +23 -0
  20. package/dist/CY-D59Nypl7.js +23 -0
  21. package/dist/CZ-B6iI1GbE.js +33 -0
  22. package/dist/Card-CdpPhK9y.js +82 -0
  23. package/dist/ConstitutionalDocument-NLs6ka9K.js +143 -0
  24. package/dist/CountryField-9w8wRZMW.js +843 -0
  25. package/dist/CreateIndividualComponent-zGcoEyq0.js +71 -0
  26. package/dist/CreateTransferInstrumentComponent-Ct_v-IyH.js +63 -0
  27. package/dist/Currency-53s7DEeh.js +183 -0
  28. package/dist/CustomerSupport-BRcUQ4fR.js +153 -0
  29. package/dist/DE-CsuX_tSL.js +23 -0
  30. package/dist/DK-oQEFrF6o.js +33 -0
  31. package/dist/DebugModal-CokbXGK9.js +413 -0
  32. package/dist/DecisionMakerDetailsPage-B5cLY8iP.js +106 -0
  33. package/dist/DecisionMakers-BQ24LfqB.js +830 -0
  34. package/dist/DropinLayout-CBP_cHLC.js +17 -0
  35. package/dist/EE-3WZV5Ejt.js +23 -0
  36. package/dist/ES-NfxpqbC2.js +23 -0
  37. package/dist/EmbeddedStatus-DB9B_u3L.js +99 -0
  38. package/dist/EndStateLayout-BWC5aqVS.js +71 -0
  39. package/dist/EntityAssociation-gzYdcHoL.js +159 -0
  40. package/dist/EntityGuidanceStatus-BKeZKnbP.js +105 -0
  41. package/dist/FI-CHQIvHa-.js +23 -0
  42. package/dist/FR-MWZyWX3x.js +23 -0
  43. package/dist/FormFlow-Cf3Ff2qw.js +224 -0
  44. package/dist/FormNavigation-CjgZbv9G.js +144 -0
  45. package/dist/FormWrapper-dbBZegkX.js +135 -0
  46. package/dist/GG-CPoMVQPc.js +33 -0
  47. package/dist/GI-DxmBwVD_.js +41 -0
  48. package/dist/GR-Rk0pXlNw.js +23 -0
  49. package/dist/HR-WapHW2fw.js +23 -0
  50. package/dist/HU-DCOMuOhe.js +32 -0
  51. package/dist/IE-BkgtVgDi.js +23 -0
  52. package/dist/IM-Wr4iDT94.js +33 -0
  53. package/dist/IS-C-Cgc6zp.js +27 -0
  54. package/dist/IT-CXekiddL.js +23 -0
  55. package/dist/IndividualOnfido-Cc7dydKq.js +9594 -0
  56. package/dist/IndividualOnfidoDropin-BpU2cL4E.js +2497 -0
  57. package/dist/InputText-Dsw9kiwL.js +249 -0
  58. package/dist/Introduction-C8mTk4l_.js +300 -0
  59. package/dist/JE-B4gj54Hg.js +33 -0
  60. package/dist/JpAddress-R81eO-aY.js +280 -0
  61. package/dist/LI-L0ZAALRT.js +23 -0
  62. package/dist/LT-Ao2uagV9.js +23 -0
  63. package/dist/LU-B7LRUuc6.js +23 -0
  64. package/dist/LV-DZeGjA2G.js +23 -0
  65. package/dist/LegalRepresentativeDetailsPage-DIQX18v2.js +60 -0
  66. package/dist/ListItem-D3p6EgP_.js +69 -0
  67. package/dist/MC-EDVNGWhy.js +23 -0
  68. package/dist/MT-B9my7RlP.js +23 -0
  69. package/dist/ManageIndividualComponent-CmM-vP9E.js +46 -0
  70. package/dist/ManageTermsOfServiceComponent-C3hXZJx5.js +52 -0
  71. package/dist/ManageTransferInstrumentComponent-co6LYrVY.js +287 -0
  72. package/dist/MaybeModal-BVQOzETz.js +25 -0
  73. package/dist/Modal-CloeVnNp.js +149 -0
  74. package/dist/NL-VXAFOhV5.js +23 -0
  75. package/dist/NO-Cx1VSh2W.js +32 -0
  76. package/dist/OnboardingDropinComponent-CDAK4v1o.js +7908 -0
  77. package/dist/PL-BZW1hGvD.js +32 -0
  78. package/dist/PT-OpU4MU3L.js +23 -0
  79. package/dist/PayoutDetailsDropin-DCrlrNki.js +4841 -0
  80. package/dist/RO-Cz6Sh0ls.js +23 -0
  81. package/dist/Review-Dqn49vJM.js +83 -0
  82. package/dist/RootBusinessDetailsPage-DSEq3TIn.js +61 -0
  83. package/dist/RootBusinessLinesPage-CbPhOber.js +1118 -0
  84. package/dist/RootIndividualDetailsPage-Bp_7gSIB.js +71 -0
  85. package/dist/SE-B5K-FkQd.js +33 -0
  86. package/dist/SI-BOGTNLPa.js +23 -0
  87. package/dist/SK-BOVrp_Av.js +23 -0
  88. package/dist/SM-meowwILA.js +23 -0
  89. package/dist/SignPCIComponent-B6kYuqT_.js +304 -0
  90. package/dist/SingpassSelection-aDrNTYr3.js +130 -0
  91. package/dist/SoleProprietorshipPage-HnUsyjKp.js +60 -0
  92. package/dist/SourceOfFundsPage-BkMEIV_L.js +2383 -0
  93. package/dist/StepProgressIndicator-BgeMe93n.js +78 -0
  94. package/dist/StoreProvider-BFN15Go9.js +7674 -0
  95. package/dist/Summary-BkE_c8pU.js +204 -0
  96. package/dist/TaxReportingDropin-LG9zvOMN.js +502 -0
  97. package/dist/TrustDetailsPage-C8w8pEvB.js +2149 -0
  98. package/dist/TrustMemberCompanyPage-IDEwpLW3.js +73 -0
  99. package/dist/TrustMemberIndividualPage-rKB3iVFk.js +66 -0
  100. package/dist/TrustMemberRoleAndTypePage-CLtX8V0M.js +985 -0
  101. package/dist/TrustMembersOverview-Bs203hm0.js +438 -0
  102. package/dist/UnincorporatedPartnershipIndividualPage-CBTaUEld.js +65 -0
  103. package/dist/UnincorporatedPartnershipMemberCompanyPage-ZnLe9Uq3.js +76 -0
  104. package/dist/UnincorporatedPartnershipMemberRoleAndTypePage-BXImA2c_.js +281 -0
  105. package/dist/UnincorporatedPartnershipMembersOverview-c7k2JzcO.js +172 -0
  106. package/dist/VA-DXsYTCoh.js +23 -0
  107. package/dist/VerificationErrorAlert-uubpHQGE.js +79 -0
  108. package/dist/ViewVerificationStatusComponent-DO9L2hEO.js +180 -0
  109. package/dist/adyen-business-financing.js +5 -6
  110. package/dist/adyen-individual-configuration.js +7 -8
  111. package/dist/adyen-individual-status.js +7 -8
  112. package/dist/adyen-kyc-components.js +38 -33
  113. package/dist/adyen-onboarding.js +4 -5
  114. package/dist/adyen-terms-of-service-management.js +7 -8
  115. package/dist/adyen-terms-of-service-status.js +7 -8
  116. package/dist/adyen-transfer-instrument-configuration.js +7 -8
  117. package/dist/adyen-transfer-instrument-management.js +7 -8
  118. package/dist/adyen-verification-status.js +5 -6
  119. package/dist/arrow-right-KxA3SvQj.js +14 -0
  120. package/dist/bag-BPumznWh.js +14 -0
  121. package/dist/bank-D6FiNBhs.js +14 -0
  122. package/dist/bg-BG-B7Xs_t04.js +13 -0
  123. package/dist/bg-BG-BY3Wa361.js +54 -0
  124. package/dist/bg-BG-BvLl6gaB.js +13 -0
  125. package/dist/bg-BG-CepHap8j.js +68 -0
  126. package/dist/bg-BG-Coja327N.js +24 -0
  127. package/dist/bg-BG-D9J6LnkI.js +57 -0
  128. package/dist/bg-BG-DH45-0B-.js +29 -0
  129. package/dist/bg-BG-DRkMqyL8.js +13 -0
  130. package/dist/bg-BG-DcxZ1tmt.js +32 -0
  131. package/dist/bg-BG-Dp4LxSP7.js +37 -0
  132. package/dist/bg-BG-DpIAKQve.js +113 -0
  133. package/dist/bg-BG-er0t4jTs.js +27 -0
  134. package/dist/bg-BG-mLSjG76Q.js +13 -0
  135. package/dist/bg-BG-wVquMNtT.js +55 -0
  136. package/dist/bin-Bz6KOIeE.js +18 -0
  137. package/dist/capital-GVQ3svwN.js +17 -0
  138. package/dist/cash-stack-D9AoDDwt.js +22 -0
  139. package/dist/certificate-CdEWgHQf.js +17 -0
  140. package/dist/checkmark-Q7x6tGhy.js +14 -0
  141. package/dist/checkmark-circle-fill-CsvN5_PL.js +17 -0
  142. package/dist/checkmark-circle-x7dzbp3I.js +20 -0
  143. package/dist/checkmark-small-D35myntq.js +14 -0
  144. package/dist/chevron-down-C2iDorpW.js +14 -0
  145. package/dist/chevron-left-ztPO84q-.js +14 -0
  146. package/dist/chevron-right-C_JN0oDt.js +14 -0
  147. package/dist/chevron-up-CgG8n25g.js +14 -0
  148. package/dist/circle-Bt3Nlr3q.js +17 -0
  149. package/dist/circle-small-filled-YMzP6yQU.js +14 -0
  150. package/dist/clock-BZHremOA.js +20 -0
  151. package/dist/coins-fkAk6dCo.js +17 -0
  152. package/dist/contract-BTa4HltT.js +14 -0
  153. package/dist/cross-Cn09MtQ_.js +14 -0
  154. package/dist/cross-circle-fill-small-DCz52AuN.js +14 -0
  155. package/dist/cs-CZ--jOkoHVS.js +55 -0
  156. package/dist/cs-CZ-BDf9m4Rw.js +113 -0
  157. package/dist/cs-CZ-BEFeaKsV.js +54 -0
  158. package/dist/cs-CZ-BP7niQM9.js +68 -0
  159. package/dist/cs-CZ-BSWXexr4.js +13 -0
  160. package/dist/cs-CZ-BsV9NiQ2.js +13 -0
  161. package/dist/cs-CZ-CQNBae2b.js +27 -0
  162. package/dist/cs-CZ-CyLqoG1j.js +37 -0
  163. package/dist/cs-CZ-D4Hg-t16.js +32 -0
  164. package/dist/cs-CZ-DPVMeRye.js +29 -0
  165. package/dist/cs-CZ-DXtJsBPz.js +24 -0
  166. package/dist/cs-CZ-DY_pQqAT.js +57 -0
  167. package/dist/cs-CZ-DalFZigH.js +13 -0
  168. package/dist/cs-CZ-hT5w5It6.js +13 -0
  169. package/dist/da-DK-CI-vfqPo.js +113 -0
  170. package/dist/da-DK-D4Ojw97o.js +13 -0
  171. package/dist/da-DK-DCJhV2qS.js +32 -0
  172. package/dist/da-DK-DU4dCNEw.js +29 -0
  173. package/dist/da-DK-DWA8uOd8.js +24 -0
  174. package/dist/da-DK-DYpfNZdP.js +37 -0
  175. package/dist/da-DK-DZwlENGe.js +13 -0
  176. package/dist/da-DK-Dc0QYG8m.js +68 -0
  177. package/dist/da-DK-JHZnsI59.js +55 -0
  178. package/dist/da-DK-P3YSaBqs.js +13 -0
  179. package/dist/da-DK-R_y7YwqQ.js +13 -0
  180. package/dist/da-DK-gnPgzwrG.js +27 -0
  181. package/dist/da-DK-jK7c9UL0.js +57 -0
  182. package/dist/de-DE-BR6CLZw6.js +13 -0
  183. package/dist/de-DE-BXt1K0Tr.js +37 -0
  184. package/dist/de-DE-BcuLmcC8.js +13 -0
  185. package/dist/de-DE-D3lLuF8z.js +27 -0
  186. package/dist/de-DE-D50lGOJE.js +24 -0
  187. package/dist/de-DE-DXR3EpEc.js +13 -0
  188. package/dist/de-DE-DwOQKCuU.js +32 -0
  189. package/dist/de-DE-Dz2OsS1F.js +68 -0
  190. package/dist/de-DE-Dz2l6jRl.js +29 -0
  191. package/dist/de-DE-VGGEkxUT.js +55 -0
  192. package/dist/de-DE-nG2MBigU.js +113 -0
  193. package/dist/de-DE-opyC1JO-.js +13 -0
  194. package/dist/de-DE-wmerDL2e.js +57 -0
  195. package/dist/debouncedInputEvent-Dlbc7VjU.js +109 -0
  196. package/dist/debugStore-BvbyN1Oi.js +14 -0
  197. package/dist/document-1-C08ut-Dt.js +14 -0
  198. package/dist/document-person-vxlA6C5f.js +20 -0
  199. package/dist/documentUtils-CUgKVLK4.js +218 -0
  200. package/dist/download-Drhk9k1f.js +17 -0
  201. package/dist/dropinUtils-D2lBlNWp.js +202 -0
  202. package/dist/edit-1-CFoDTMvQ.js +14 -0
  203. package/dist/el-GR-B3FHqTOX.js +13 -0
  204. package/dist/el-GR-B5j7VZ3E.js +54 -0
  205. package/dist/el-GR-B90M6tcZ.js +37 -0
  206. package/dist/el-GR-BHG69mXl.js +68 -0
  207. package/dist/el-GR-BX-MyQZY.js +113 -0
  208. package/dist/el-GR-Btrk_npt.js +57 -0
  209. package/dist/el-GR-CKHMsdx2.js +24 -0
  210. package/dist/el-GR-CWd7XYDU.js +13 -0
  211. package/dist/el-GR-CofvCav-.js +13 -0
  212. package/dist/el-GR-DtFE64KX.js +13 -0
  213. package/dist/el-GR-Hk4NbZSY.js +32 -0
  214. package/dist/el-GR-MLFY-Gg7.js +29 -0
  215. package/dist/el-GR-XRux2Wpv.js +27 -0
  216. package/dist/el-GR-gkaKwnln.js +55 -0
  217. package/dist/en-US-B96dpVon.js +27 -0
  218. package/dist/en-US-BPI4FZwa.js +113 -0
  219. package/dist/en-US-BQZhzROc.js +32 -0
  220. package/dist/en-US-CozY33On.js +13 -0
  221. package/dist/en-US-CzEL6t1W.js +55 -0
  222. package/dist/en-US-D-B35AoN.js +68 -0
  223. package/dist/en-US-D2yrwtzT.js +24 -0
  224. package/dist/en-US-DYo4OF-P.js +29 -0
  225. package/dist/en-US-Dg505Oh3.js +37 -0
  226. package/dist/en-US-fyGPkcqX.js +13 -0
  227. package/dist/en-US-gsp7CD_E.js +57 -0
  228. package/dist/en-US-h0JneJJl.js +13 -0
  229. package/dist/es-ES-0ROz-BJh.js +29 -0
  230. package/dist/es-ES-BAg3NqQO.js +13 -0
  231. package/dist/es-ES-BI_jdT67.js +68 -0
  232. package/dist/es-ES-BOoPqnPI.js +32 -0
  233. package/dist/es-ES-BhINIOee.js +13 -0
  234. package/dist/es-ES-BhNhIf08.js +37 -0
  235. package/dist/es-ES-Bn9_0wK0.js +55 -0
  236. package/dist/es-ES-CEp-ttVJ.js +13 -0
  237. package/dist/es-ES-CXDJLKAI.js +27 -0
  238. package/dist/es-ES-DF_L5EDd.js +24 -0
  239. package/dist/es-ES-Q16q2JJ6.js +113 -0
  240. package/dist/es-ES-Qnc0Q6JH.js +57 -0
  241. package/dist/es-ES-yMXcOjDL.js +13 -0
  242. package/dist/et-EE--cL_YqWe.js +27 -0
  243. package/dist/et-EE-BMgFCxds.js +37 -0
  244. package/dist/et-EE-BYSnV6Iq.js +55 -0
  245. package/dist/et-EE-Be__VK7Y.js +32 -0
  246. package/dist/et-EE-Bk2IHQWP.js +13 -0
  247. package/dist/et-EE-BuBiNLCi.js +24 -0
  248. package/dist/et-EE-C8RrUpLm.js +13 -0
  249. package/dist/et-EE-C_PZO2aI.js +68 -0
  250. package/dist/et-EE-Ci8RU2wg.js +13 -0
  251. package/dist/et-EE-DUWZ2Vqm.js +54 -0
  252. package/dist/et-EE-DmShD6oS.js +113 -0
  253. package/dist/et-EE-TzXANcP2.js +57 -0
  254. package/dist/et-EE-esci5847.js +29 -0
  255. package/dist/et-EE-x29FUaYN.js +118 -0
  256. package/dist/external-link-DCMYUMfW.js +14 -0
  257. package/dist/fi-FI-B_P4BAda.js +113 -0
  258. package/dist/fi-FI-CDISJifz.js +13 -0
  259. package/dist/fi-FI-DH6jpo9K.js +24 -0
  260. package/dist/fi-FI-DjlB2a7k.js +13 -0
  261. package/dist/fi-FI-Dn2MC8uW.js +57 -0
  262. package/dist/fi-FI-MiyuQqH8.js +13 -0
  263. package/dist/fi-FI-PVFqd5Ra.js +55 -0
  264. package/dist/fi-FI-bZzNB1WB.js +32 -0
  265. package/dist/fi-FI-fArobrt5.js +27 -0
  266. package/dist/fi-FI-hwzizPnr.js +68 -0
  267. package/dist/fi-FI-xXrvDLFe.js +29 -0
  268. package/dist/fi-FI-xqnQ38yC.js +13 -0
  269. package/dist/fi-FI-ysUrBilO.js +37 -0
  270. package/dist/fieldConfigurations-C38LzPl3.js +1402 -0
  271. package/dist/fr-FR-BSvSKazD.js +37 -0
  272. package/dist/fr-FR-BSynpexF.js +13 -0
  273. package/dist/fr-FR-BWX14yb7.js +57 -0
  274. package/dist/fr-FR-BnblnBsx.js +24 -0
  275. package/dist/fr-FR-Bw9O-QAU.js +29 -0
  276. package/dist/fr-FR-CUdiBCVB.js +113 -0
  277. package/dist/fr-FR-CYZXbwc9.js +68 -0
  278. package/dist/fr-FR-CiwkAb3E.js +27 -0
  279. package/dist/fr-FR-DGMVrsJv.js +13 -0
  280. package/dist/fr-FR-Dx-CiPdB.js +13 -0
  281. package/dist/fr-FR-aJ3cg4x0.js +13 -0
  282. package/dist/fr-FR-cTKcuHqX.js +32 -0
  283. package/dist/fr-FR-mJK4hjwD.js +55 -0
  284. package/dist/getFieldsWithExistingData-B0l_1eCG.js +22 -0
  285. package/dist/getName-CIw0MR9e.js +48 -0
  286. package/dist/gift-CQ_DEma7.js +14 -0
  287. package/dist/graph-BJmqglH2.js +21 -0
  288. package/dist/graph-up-Bq6adtlX.js +20 -0
  289. package/dist/hasDataChanged-B-_hLK5I.js +19 -0
  290. package/dist/headquarter-DNYyuuFq.js +21 -0
  291. package/dist/hotel-BuNql78Z.js +22 -0
  292. package/dist/hr-HR-BHt_jklG.js +13 -0
  293. package/dist/hr-HR-BLpGb4f2.js +37 -0
  294. package/dist/hr-HR-CXpCIMhI.js +113 -0
  295. package/dist/hr-HR-CZLSQruE.js +57 -0
  296. package/dist/hr-HR-CnP5sqih.js +54 -0
  297. package/dist/hr-HR-ComCqan_.js +32 -0
  298. package/dist/hr-HR-D5V7g9H2.js +13 -0
  299. package/dist/hr-HR-D8_yhtIo.js +29 -0
  300. package/dist/hr-HR-De5kHU8U.js +24 -0
  301. package/dist/hr-HR-DtfHQVe0.js +27 -0
  302. package/dist/hr-HR-VivDwwdW.js +13 -0
  303. package/dist/hr-HR-bE6cvRCQ.js +68 -0
  304. package/dist/hr-HR-n7aMHIpM.js +13 -0
  305. package/dist/hr-HR-qmYyO-nT.js +55 -0
  306. package/dist/hu-HU-BTlpbCpc.js +54 -0
  307. package/dist/hu-HU-BcogZby3.js +24 -0
  308. package/dist/hu-HU-CS-7iNS4.js +55 -0
  309. package/dist/hu-HU-Ca9Hex26.js +37 -0
  310. package/dist/hu-HU-DDsdPI5V.js +13 -0
  311. package/dist/hu-HU-DG-NUDx4.js +68 -0
  312. package/dist/hu-HU-DUGz5q5D.js +32 -0
  313. package/dist/hu-HU-D_DvlCMw.js +13 -0
  314. package/dist/hu-HU-DqEBeq-w.js +113 -0
  315. package/dist/hu-HU-I4-KFzvz.js +27 -0
  316. package/dist/hu-HU-KliQetm5.js +29 -0
  317. package/dist/hu-HU-WEtpzb41.js +13 -0
  318. package/dist/hu-HU-hbVM6tMS.js +13 -0
  319. package/dist/hu-HU-kp8Go5hZ.js +57 -0
  320. package/dist/iframeWidget-yBLSAmf8.js +234 -0
  321. package/dist/image-BSihO8lR.js +17 -0
  322. package/dist/info-vHTZWoJ7.js +21 -0
  323. package/dist/it-IT-B0YGvVgW.js +57 -0
  324. package/dist/it-IT-BTWkWSJq.js +55 -0
  325. package/dist/it-IT-C2MZo4KT.js +13 -0
  326. package/dist/it-IT-C_651bEP.js +13 -0
  327. package/dist/it-IT-Ckv8Ce4e.js +24 -0
  328. package/dist/it-IT-DERflsUd.js +32 -0
  329. package/dist/it-IT-DIbH-udG.js +27 -0
  330. package/dist/it-IT-DLm11dH5.js +13 -0
  331. package/dist/it-IT-Erh1DIlj.js +68 -0
  332. package/dist/it-IT-MwpjRAG6.js +29 -0
  333. package/dist/it-IT-NCFAqV1F.js +113 -0
  334. package/dist/it-IT-Qfzc8jnW.js +37 -0
  335. package/dist/it-IT-yV7ewjWU.js +13 -0
  336. package/dist/ja-JP-2u5fqLWF.js +29 -0
  337. package/dist/ja-JP-Bktpl_2b.js +118 -0
  338. package/dist/ja-JP-BoxeBgOv.js +32 -0
  339. package/dist/ja-JP-CHQ64lw1.js +37 -0
  340. package/dist/ja-JP-CSz7fEkn.js +55 -0
  341. package/dist/ja-JP-CWe8f7m4.js +13 -0
  342. package/dist/ja-JP-C_-moDrA.js +113 -0
  343. package/dist/ja-JP-CbgaW99b.js +54 -0
  344. package/dist/ja-JP-Ctsk4z4q.js +151 -0
  345. package/dist/ja-JP-CvNJvxkQ.js +218 -0
  346. package/dist/ja-JP-Dz9IVH4p.js +57 -0
  347. package/dist/ja-JP-FWHXsXlW.js +24 -0
  348. package/dist/ja-JP-ThzG9vIo.js +68 -0
  349. package/dist/ja-JP-bz7ekGnF.js +27 -0
  350. package/dist/localizeDateString-C-G2nUor.js +27 -0
  351. package/dist/location-Q4oKvnkl.js +17 -0
  352. package/dist/lt-LT-0RKZeraM.js +37 -0
  353. package/dist/lt-LT-B6XmKUXx.js +55 -0
  354. package/dist/lt-LT-BEsBoIQ9.js +29 -0
  355. package/dist/lt-LT-BLsIcCtE.js +27 -0
  356. package/dist/lt-LT-CU5qHa7a.js +113 -0
  357. package/dist/lt-LT-CYiW52tl.js +13 -0
  358. package/dist/lt-LT-Cg9c0kae.js +13 -0
  359. package/dist/lt-LT-Ci357QYQ.js +13 -0
  360. package/dist/lt-LT-D5Rhxm1h.js +32 -0
  361. package/dist/lt-LT-DDdq07sX.js +24 -0
  362. package/dist/lt-LT-DTQGR9M0.js +54 -0
  363. package/dist/lt-LT-Nd1uRoIj.js +68 -0
  364. package/dist/lt-LT-W6fTjwB5.js +13 -0
  365. package/dist/lt-LT-l9rzkFg9.js +57 -0
  366. package/dist/lv-LV-BQ4F1GrV.js +54 -0
  367. package/dist/lv-LV-Bh-WQp0K.js +37 -0
  368. package/dist/lv-LV-C7hMdPcY.js +27 -0
  369. package/dist/lv-LV-CG1zToz7.js +32 -0
  370. package/dist/lv-LV-CgMxfFK8.js +13 -0
  371. package/dist/lv-LV-CkyuY2ji.js +24 -0
  372. package/dist/lv-LV-CpGkmcLz.js +113 -0
  373. package/dist/lv-LV-CxUmQHF9.js +13 -0
  374. package/dist/lv-LV-DKhV24CI.js +68 -0
  375. package/dist/lv-LV-DYbb5pkt.js +57 -0
  376. package/dist/lv-LV-DsSpy50n.js +55 -0
  377. package/dist/lv-LV-DsxFGThp.js +13 -0
  378. package/dist/lv-LV-Dxe-A5vo.js +13 -0
  379. package/dist/lv-LV-Veji7-on.js +29 -0
  380. package/dist/mail-BOdyoVqB.js +14 -0
  381. package/dist/mapAddressLocalizationToJpAddressSchema-vJWbpAyq.js +56 -0
  382. package/dist/mapExistingFile-BhW5UmN9.js +156 -0
  383. package/dist/mapFinancialReportsToFinancialInformation-Dl-cl9eQ.js +67 -0
  384. package/dist/mapJpAddressSchemaToAddressLocalizations-KFAvfuC1.js +63 -0
  385. package/dist/mapLegalEntityToIndividualOnfidoSchema-D51tRiYd.js +143 -0
  386. package/dist/mapTransferInstrumentToPayoutAccount-CU5wx0wJ.js +33 -0
  387. package/dist/minus-circle-filled-kC2IUvKz.js +17 -0
  388. package/dist/nl-NL-BMUYBqlF.js +57 -0
  389. package/dist/nl-NL-Bk-1-C0e.js +13 -0
  390. package/dist/nl-NL-BuW3jWdI.js +29 -0
  391. package/dist/nl-NL-Bx5p0nXL.js +24 -0
  392. package/dist/nl-NL-CMw-FwQV.js +13 -0
  393. package/dist/nl-NL-CTf7zH4M.js +55 -0
  394. package/dist/nl-NL-Cjlmc0Ii.js +32 -0
  395. package/dist/nl-NL-D7gBNWEY.js +37 -0
  396. package/dist/nl-NL-DKMs4pB2.js +13 -0
  397. package/dist/nl-NL-DMpB18Te.js +113 -0
  398. package/dist/nl-NL-JChnFdCY.js +13 -0
  399. package/dist/nl-NL-NlkjOSYi.js +27 -0
  400. package/dist/nl-NL-O9GCHMDA.js +68 -0
  401. package/dist/no-NO--OoWld_l.js +13 -0
  402. package/dist/no-NO-B-oUwe9q.js +13 -0
  403. package/dist/no-NO-Bs3-6MDM.js +24 -0
  404. package/dist/no-NO-C-gCYc9q.js +37 -0
  405. package/dist/no-NO-CA0EizAy.js +29 -0
  406. package/dist/no-NO-CA1aR6Wh.js +68 -0
  407. package/dist/no-NO-CY_XHrYd.js +32 -0
  408. package/dist/no-NO-Ca5qoVaU.js +113 -0
  409. package/dist/no-NO-Crlsj6HG.js +27 -0
  410. package/dist/no-NO-DKbWxgF-.js +57 -0
  411. package/dist/no-NO-DN9qf-_I.js +13 -0
  412. package/dist/no-NO-Dhj0Fh__.js +13 -0
  413. package/dist/no-NO-RfTK9KAV.js +55 -0
  414. package/dist/options-horizontal-CBmbNv7R.js +18 -0
  415. package/dist/partner-CPjsrePY.js +18 -0
  416. package/dist/pay-by-link-plane-BVZndh67.js +22 -0
  417. package/dist/payout-ChUEoLjt.js +20 -0
  418. package/dist/payout-verification-instant-5u-wvFKv.js +41 -0
  419. package/dist/payout-verification-manual-BH2mu0UW.js +90 -0
  420. package/dist/person-DGjUU4S4.js +17 -0
  421. package/dist/pl-PL-B0zGy_b4.js +57 -0
  422. package/dist/pl-PL-BKDK0_G8.js +68 -0
  423. package/dist/pl-PL-BSI0zHO1.js +113 -0
  424. package/dist/pl-PL-BzhEoDb5.js +24 -0
  425. package/dist/pl-PL-C_MvVzPy.js +32 -0
  426. package/dist/pl-PL-D7nhdbfR.js +29 -0
  427. package/dist/pl-PL-DGSYzOx6.js +13 -0
  428. package/dist/pl-PL-DYxD6VJ_.js +27 -0
  429. package/dist/pl-PL-DtJ3sgVO.js +13 -0
  430. package/dist/pl-PL-Duj3tncM.js +13 -0
  431. package/dist/pl-PL-Dy8qWH39.js +55 -0
  432. package/dist/pl-PL-LnVPufjb.js +37 -0
  433. package/dist/pl-PL-kGaeUP-w.js +54 -0
  434. package/dist/pl-PL-p8YxqOFg.js +13 -0
  435. package/dist/plus-CWXA5wdX.js +14 -0
  436. package/dist/plus-circle-filled-CbC0u2Y1.js +17 -0
  437. package/dist/process-field-configurations-DoOFQqtn.js +324 -0
  438. package/dist/pt-BR--kaJvtE6.js +57 -0
  439. package/dist/pt-BR-BbFJsIVX.js +55 -0
  440. package/dist/pt-BR-Be5ZycMV.js +13 -0
  441. package/dist/pt-BR-BfxgHKY4.js +27 -0
  442. package/dist/pt-BR-C0I_kTQ6.js +13 -0
  443. package/dist/pt-BR-CBAe0SnK.js +32 -0
  444. package/dist/pt-BR-Cj8MlQyq.js +113 -0
  445. package/dist/pt-BR-Cm4vZocb.js +13 -0
  446. package/dist/pt-BR-D1nTSLod.js +29 -0
  447. package/dist/pt-BR-DKrMpM6v.js +13 -0
  448. package/dist/pt-BR-DSENwwGu.js +24 -0
  449. package/dist/pt-BR-NtLaWlnZ.js +68 -0
  450. package/dist/pt-BR-nU_2Wbo5.js +54 -0
  451. package/dist/pt-BR-ur86nRrK.js +37 -0
  452. package/dist/pt-PT-B4F_5NWi.js +55 -0
  453. package/dist/pt-PT-B9L50746.js +29 -0
  454. package/dist/pt-PT-BJjCTMYf.js +13 -0
  455. package/dist/pt-PT-BJkVzfAJ.js +113 -0
  456. package/dist/pt-PT-BR-BI5Jn.js +13 -0
  457. package/dist/pt-PT-BZ5ZZm6G.js +57 -0
  458. package/dist/pt-PT-Bf4IV7wp.js +13 -0
  459. package/dist/pt-PT-Bh7v8xbp.js +13 -0
  460. package/dist/pt-PT-CIo3mlXL.js +24 -0
  461. package/dist/pt-PT-CVNEcs32.js +37 -0
  462. package/dist/pt-PT-DSxxVA0f.js +68 -0
  463. package/dist/pt-PT-Dm5DRDrd.js +32 -0
  464. package/dist/pt-PT-TKg5FLat.js +27 -0
  465. package/dist/recurring-CkL4cCM2.js +17 -0
  466. package/dist/reporting-DerosUNm.js +16 -0
  467. package/dist/resolveEnvironment-Dyejukh7.js +164 -0
  468. package/dist/revenue-accelerate-Dp4Ns_5c.js +17 -0
  469. package/dist/ro-RO-3rOfS17N.js +27 -0
  470. package/dist/ro-RO-4j2I7YM7.js +13 -0
  471. package/dist/ro-RO-5I4Q_FyK.js +13 -0
  472. package/dist/ro-RO-B5YT9vP-.js +32 -0
  473. package/dist/ro-RO-B8leE4ZJ.js +13 -0
  474. package/dist/ro-RO-Bybq8JFn.js +68 -0
  475. package/dist/ro-RO-C83h2zHZ.js +54 -0
  476. package/dist/ro-RO-CICjAFys.js +55 -0
  477. package/dist/ro-RO-CdSsgoUG.js +57 -0
  478. package/dist/ro-RO-DjGku_3y.js +13 -0
  479. package/dist/ro-RO-DvG65dTt.js +29 -0
  480. package/dist/ro-RO-ILTvlS9i.js +24 -0
  481. package/dist/ro-RO-RgC5M6CE.js +113 -0
  482. package/dist/ro-RO-i7lojG2G.js +37 -0
  483. package/dist/rules-DP604XPJ.js +314 -0
  484. package/dist/save-Fgy7EDid.js +14 -0
  485. package/dist/search-C4GZ-Rc1.js +17 -0
  486. package/dist/show-yPjPmEf8.js +17 -0
  487. package/dist/sk-SK-0BVxI7bf.js +113 -0
  488. package/dist/sk-SK-B5brxU1N.js +37 -0
  489. package/dist/sk-SK-BMJgOJoa.js +29 -0
  490. package/dist/sk-SK-BRd5TN22.js +55 -0
  491. package/dist/sk-SK-BVmoP_EU.js +13 -0
  492. package/dist/sk-SK-BWwRIx2d.js +13 -0
  493. package/dist/sk-SK-Bb18qPBw.js +13 -0
  494. package/dist/sk-SK-BiBWPJUf.js +57 -0
  495. package/dist/sk-SK-C5Qmv4E6.js +13 -0
  496. package/dist/sk-SK-C6rMIxpz.js +68 -0
  497. package/dist/sk-SK-CgLJIuJw.js +54 -0
  498. package/dist/sk-SK-CjrLvDMx.js +27 -0
  499. package/dist/sk-SK-Cv23cDQO.js +24 -0
  500. package/dist/sk-SK-S6iF1WDH.js +32 -0
  501. package/dist/sl-SI-6s8xycKg.js +13 -0
  502. package/dist/sl-SI-BMF8YtOm.js +29 -0
  503. package/dist/sl-SI-BZpXMHiG.js +13 -0
  504. package/dist/sl-SI-BxImW_RL.js +113 -0
  505. package/dist/sl-SI-C-C-KJCX.js +27 -0
  506. package/dist/sl-SI-CUCrzJQv.js +37 -0
  507. package/dist/sl-SI-CaJmYb6p.js +13 -0
  508. package/dist/sl-SI-D8dDckrW.js +55 -0
  509. package/dist/sl-SI-DEaeEVKB.js +24 -0
  510. package/dist/sl-SI-DqUEy_Cm.js +32 -0
  511. package/dist/sl-SI-DtdGMD6i.js +57 -0
  512. package/dist/sl-SI-ZxyvdgdS.js +13 -0
  513. package/dist/sl-SI-tPwbFvOI.js +68 -0
  514. package/dist/solution-payments-CNAat9h7.js +14 -0
  515. package/dist/store-IuAkDRAp.js +14 -0
  516. package/dist/style.css +2143 -1744
  517. package/dist/styles-CLV89_hH.js +2143 -1744
  518. package/dist/sv-SE-B1sbgsnh.js +13 -0
  519. package/dist/sv-SE-BHfydid5.js +27 -0
  520. package/dist/sv-SE-BUq1X9F0.js +113 -0
  521. package/dist/sv-SE-BYC_f8r7.js +29 -0
  522. package/dist/sv-SE-C6uPh9g5.js +37 -0
  523. package/dist/sv-SE-CCFIf86P.js +13 -0
  524. package/dist/sv-SE-CRBRuE8Z.js +32 -0
  525. package/dist/sv-SE-CXaMlJCI.js +24 -0
  526. package/dist/sv-SE-DGpvVvWj.js +55 -0
  527. package/dist/sv-SE-D_ZnGxiQ.js +13 -0
  528. package/dist/sv-SE-DsPdegWB.js +13 -0
  529. package/dist/sv-SE-K1QT1cOt.js +68 -0
  530. package/dist/sv-SE-kR514dO1.js +57 -0
  531. package/dist/terminal-1-_me9J9h0.js +18 -0
  532. package/dist/trackNavigation-db_h46BT.js +28 -0
  533. package/dist/types/api/address/useAddressCleanse.d.ts +6 -2
  534. package/dist/types/api/address/useRetrieveAddress.d.ts +3 -1
  535. package/dist/types/api/address/useRetrieveFromPostcodeJp.d.ts +18 -0
  536. package/dist/types/api/businessLines/businessLines.types.d.ts +16 -0
  537. package/dist/types/api/businessLines/useBusinessLines.d.ts +4 -2
  538. package/dist/types/api/businessLines/useCreateBusinessLine.d.ts +7 -0
  539. package/dist/types/api/businessLines/useDeleteBusinessLine.d.ts +5 -0
  540. package/dist/types/api/businessLines/useUpdateBusinessLines.d.ts +7 -0
  541. package/dist/types/api/businessLines/useUpdateSourceOfFunds.d.ts +1 -0
  542. package/dist/types/api/companySearch/useCompanySearch.d.ts +1 -0
  543. package/dist/types/api/configurations/useScenarios.d.ts +12 -12
  544. package/dist/types/api/documentValidation/useDocumentValidate.d.ts +15 -0
  545. package/dist/types/api/industryCodes/industryCodes.types.d.ts +2 -1
  546. package/dist/types/api/industryCodes/useIndustryCodes.d.ts +3 -3
  547. package/dist/types/api/legalEntity/useLegalEntity.d.ts +16 -16
  548. package/dist/types/api/pci/pci.types.d.ts +17 -0
  549. package/dist/types/api/pci/usePciQuestionnaire.d.ts +6 -0
  550. package/dist/types/api/pci/usePciQuestionnaireList.d.ts +12 -0
  551. package/dist/types/api/pci/usePciStatus.d.ts +6 -0
  552. package/dist/types/api/pci/usePciTemplate.d.ts +8 -0
  553. package/dist/types/api/queryKeys.d.ts +5 -4
  554. package/dist/types/components/BankAccount/fields/BankAccountFormat/types.d.ts +2 -1
  555. package/dist/types/components/BankAccount/fields/PreferredCurrency/PreferredCurrency.d.ts +10 -0
  556. package/dist/types/components/BankAccount/forms/BankDocument/BankDocumentClassification.d.ts +5 -0
  557. package/dist/types/components/BankAccount/forms/BankDocument/BankDocumentRequirementsModal.d.ts +6 -0
  558. package/dist/types/components/BankAccount/forms/BankDocument/types.d.ts +2 -2
  559. package/dist/types/components/BankAccount/forms/BankDocument/validate.d.ts +3 -0
  560. package/dist/types/components/BankAccount/forms/BankVerification/BankVerification.d.ts +1 -1
  561. package/dist/types/components/BankAccount/forms/BankVerification/types.d.ts +7 -0
  562. package/dist/types/components/BankAccount/forms/BankVerification/verification/overlay/BankVerificationOverlay.d.ts +3 -0
  563. package/dist/types/components/BankAccount/forms/PayoutAccount/payoutAccountFormat.d.ts +1 -1
  564. package/dist/types/components/BankAccount/forms/PayoutAccount/types.d.ts +2 -0
  565. package/dist/types/components/BankAccount/forms/PayoutCountryDetails/PayoutCountryDetails.d.ts +3 -0
  566. package/dist/types/components/BankAccount/forms/PayoutCountryDetails/PayoutRequirementsModal.d.ts +8 -0
  567. package/dist/types/components/BankAccount/forms/PayoutCountryDetails/types.d.ts +13 -0
  568. package/dist/types/components/BankAccount/forms/PayoutDetails/PayoutDetails.d.ts +6 -1
  569. package/dist/types/components/BankAccount/forms/PayoutDetails/types.d.ts +2 -0
  570. package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/PayoutVerificationMethod.d.ts +1 -2
  571. package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/payoutVerificationMethodMetadata.d.ts +5 -5
  572. package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/utils.d.ts +2 -0
  573. package/dist/types/components/BankAccount/mapping/mapPayoutAccountSchemaToApiBankAccount.d.ts +3 -2
  574. package/dist/types/components/BankAccount/mapping/mapPayoutDetailsToTransferInstrument.d.ts +2 -1
  575. package/dist/types/components/BankAccount/mapping/mapTransferInstrumentToPayoutAccount.d.ts +1 -1
  576. package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +1052 -642
  577. package/dist/types/components/BankAccount/pages/PayoutDetailsPage.d.ts +1 -1
  578. package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/PayoutDetailsDropin.d.ts +1 -0
  579. package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/payoutDetailsFormConfig.d.ts +1 -1
  580. package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/utils.d.ts +3 -3
  581. package/dist/types/components/BankAccount/utils/payoutAccountUtil.d.ts +5 -4
  582. package/dist/types/components/Business/forms/AdditionalInformation/types.d.ts +2 -1
  583. package/dist/types/components/Business/forms/BasicInformation/BasicInformationMultiform.d.ts +5 -3
  584. package/dist/types/components/Business/forms/RegistrationDocument/types.d.ts +3 -3
  585. package/dist/types/components/Business/forms/TaxDocument/types.d.ts +3 -3
  586. package/dist/types/components/Business/forms/rules.d.ts +3 -1
  587. package/dist/types/components/Business/pages/RootBusinessDetailsPage.d.ts +1 -1
  588. package/dist/types/components/Business/tasks/BusinessDetailsDropin/businessDetailsStore.d.ts +5 -4
  589. package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +9 -6
  590. package/dist/types/components/Business/tasks/BusinessDetailsDropin/utils.d.ts +3 -3
  591. package/dist/types/components/Business/tasks/BusinessDetailsMultiformDropin/BusinessDetailsMultiform.d.ts +2 -1
  592. package/dist/types/components/Business/tasks/BusinessDetailsMultiformDropin/utils.d.ts +0 -2
  593. package/dist/types/components/Business/utils/applyVerifiedBusinessData.d.ts +5 -0
  594. package/dist/types/components/Business/utils/companyTypeMetadata.d.ts +3 -3
  595. package/dist/types/components/Business/utils/requestingCapabilities.d.ts +3 -0
  596. package/dist/types/components/BusinessLines/constants.d.ts +23 -0
  597. package/dist/types/components/BusinessLines/fields/Carousel/Carousel.d.ts +30 -0
  598. package/dist/types/components/BusinessLines/fields/SalesChannels/SalesChannels.d.ts +2 -0
  599. package/dist/types/components/BusinessLines/fields/SalesChannels/types.d.ts +6 -0
  600. package/dist/types/components/BusinessLines/fields/WebDataField/WebDataField.d.ts +2 -0
  601. package/dist/types/components/BusinessLines/fields/WebDataField/types.d.ts +6 -0
  602. package/dist/types/components/BusinessLines/forms/IndustryCodesForm/IndustryCodesForm.d.ts +2 -0
  603. package/dist/types/components/BusinessLines/forms/IndustryCodesForm/types.d.ts +2 -0
  604. package/dist/types/components/BusinessLines/forms/SalesChannelsForm/SalesChannelsForm.d.ts +2 -0
  605. package/dist/types/components/BusinessLines/forms/SalesChannelsForm/types.d.ts +3 -0
  606. package/dist/types/components/BusinessLines/forms/rules.d.ts +5 -0
  607. package/dist/types/components/BusinessLines/tasks/BusinessLines/BusinessLineModal/BusinessLineModal.d.ts +6 -0
  608. package/dist/types/components/BusinessLines/tasks/BusinessLines/BusinessLines.d.ts +9 -0
  609. package/dist/types/components/BusinessLines/tasks/BusinessLines/BusinessLinesDropin.d.ts +2 -0
  610. package/dist/types/components/BusinessLines/tasks/BusinessLines/BusinessLinesStore.d.ts +3 -0
  611. package/dist/types/components/BusinessLines/tasks/BusinessLines/ExistingBusinessLines/ExistingBusinessLines.d.ts +8 -0
  612. package/dist/types/components/BusinessLines/tasks/types.d.ts +17 -0
  613. package/dist/types/components/BusinessLines/tasks/utils.d.ts +21 -0
  614. package/dist/types/components/BusinessLines/tasks/validate.d.ts +9 -0
  615. package/dist/types/components/Contract/hooks/useSalesChannels.d.ts +2 -0
  616. package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +1328 -758
  617. package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingBasicCompanyInformation.d.ts +0 -1
  618. package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingBusinessInformation.d.ts +0 -1
  619. package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingFinancialInformation.d.ts +0 -1
  620. package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingOwnershipStructure.d.ts +0 -1
  621. package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingRegisteredAddress.d.ts +0 -1
  622. package/dist/types/components/EFP/tasks/BusinessFinancingDropin/types.d.ts +7 -5
  623. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/SourceOfFundsType.d.ts +3 -0
  624. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/sofStore.d.ts +1 -1
  625. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/utils.d.ts +14 -13
  626. package/dist/types/components/EFP/tasks/TaxReportingDropin/taxClassificationStore.d.ts +1 -1
  627. package/dist/types/components/EFP/tasks/TaxReportingDropin/utils.d.ts +6 -6
  628. package/dist/types/components/EmbeddedDropins/BusinessFinancingComponent/BusinessFinancingComponent.d.ts +1 -1
  629. package/dist/types/components/EmbeddedDropins/BusinessFinancingComponent/utils.d.ts +3 -3
  630. package/dist/types/components/EmbeddedDropins/SignPCIComponent/SignPCIComponent.d.ts +3 -1
  631. package/dist/types/components/EmbeddedDropins/ViewVerificationStatus/content.d.ts +3 -3
  632. package/dist/types/components/Individual/fields/NameFields/NameFields.d.ts +3 -0
  633. package/dist/types/components/Individual/forms/Individual/IdVerification/idVerificationProviderId.d.ts +1 -1
  634. package/dist/types/components/Individual/forms/Individual/IdVerificationMethod/idVerificationMethodMetadata.d.ts +3 -3
  635. package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/AdditionalPersonalDetails.types.d.ts +2 -1
  636. package/dist/types/components/Individual/forms/IndividualOnfido/IdNowVerificationModal/isIdNowModalOpen.d.ts +3 -3
  637. package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.rules.d.ts +1 -1
  638. package/dist/types/components/Individual/forms/IndividualOnfido/UboQuestionnaire/UboQuestionnaire.types.d.ts +4 -1
  639. package/dist/types/components/Individual/forms/IndividualOnfido/UboQuestionnaire/UboQuestionnaireModalContent.d.ts +3 -1
  640. package/dist/types/components/Individual/helpers/shouldShowMotionCapture.d.ts +2 -2
  641. package/dist/types/components/Individual/pages/DecisionMakerDetailsPage.d.ts +2 -8
  642. package/dist/types/components/Individual/pages/RootIndividualDetailsPage.d.ts +2 -6
  643. package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/DecisionMakerDetails.d.ts +1 -1
  644. package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/DecisionMakerDetails.types.d.ts +2 -0
  645. package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/utils.d.ts +57 -0
  646. package/dist/types/components/Individual/tasks/DecisionMakers/RemediationAlerts/RemediationAlerts.d.ts +7 -0
  647. package/dist/types/components/Individual/tasks/DecisionMakers/RemediationAlerts/remediation.config.d.ts +19 -0
  648. package/dist/types/components/Individual/tasks/DecisionMakers/types.d.ts +0 -2
  649. package/dist/types/components/Individual/tasks/DecisionMakers/utils.d.ts +3 -0
  650. package/dist/types/components/Individual/tasks/IndividualOnfidoDropin/IndividualOnfidoStore.d.ts +1 -1
  651. package/dist/types/components/Shared/EntityAssociation/EntityAssociation.d.ts +1 -1
  652. package/dist/types/components/Shared/EntityAssociation/types.d.ts +2 -4
  653. package/dist/types/components/Shared/FormNavigation/FormNavigation.d.ts +1 -1
  654. package/dist/types/components/Shared/FormNavigation/types.d.ts +0 -2
  655. package/dist/types/components/Shared/FormWrapper/FormWrapper.d.ts +1 -3
  656. package/dist/types/components/Shared/Introduction/copy.d.ts +2 -2
  657. package/dist/types/components/Shared/Summary/Summary.d.ts +1 -1
  658. package/dist/types/components/Shared/Summary/types.d.ts +1 -2
  659. package/dist/types/components/Shared/TaskVerificationStatus/TaskVerificationStatus.d.ts +18 -0
  660. package/dist/types/components/Shared/devex/DebugListener/DebugFormData.d.ts +1 -0
  661. package/dist/types/components/Shared/devex/DebugListener/debugStore.d.ts +5 -0
  662. package/dist/types/components/Shared/fields/IdFieldTypeSelector/VatNumberTypeSelector.d.ts +1 -1
  663. package/dist/types/components/Shared/fields/IndustryCodeField/IndustryCodeField.d.ts +4 -0
  664. package/dist/types/components/Shared/fields/IndustryCodeField/fieldConfig.d.ts +3 -0
  665. package/dist/types/components/Shared/fields/IndustryCodeField/types.d.ts +22 -0
  666. package/dist/types/components/Shared/fields/IndustryCodeField/validate.d.ts +3 -0
  667. package/dist/types/components/Shared/fields/LocalizedLegalCompanyNameField/fieldConfig.d.ts +4 -4
  668. package/dist/types/components/Shared/forms/Address/localized/jp/JpAddress.d.ts +7 -0
  669. package/dist/types/components/Shared/forms/Address/localized/jp/ReadonlyTextField.d.ts +7 -0
  670. package/dist/types/components/Shared/forms/Address/localized/jp/jpAddressSchema.d.ts +5 -0
  671. package/dist/types/components/Shared/forms/Address/localized/jp/mapAddressLocalizationToJpAddressSchema.d.ts +3 -0
  672. package/dist/types/components/Shared/forms/Address/localized/jp/mapJpAddressSchemaToAddressLocalizations.d.ts +3 -0
  673. package/dist/types/components/Shared/forms/Address/localized/jp/mapJpAddressSummary.d.ts +4 -0
  674. package/dist/types/components/Shared/forms/Address/utils.d.ts +3 -2
  675. package/dist/types/components/Shared/forms/FinancialInformation/formatFinancialInformationSummary.d.ts +1 -2
  676. package/dist/types/components/Shared/forms/RegistrationAddress/RegistrationAddressMultiform.d.ts +3 -0
  677. package/dist/types/components/Shared/forms/RegistrationAddress/types.d.ts +3 -2
  678. package/dist/types/components/Shared/tasks/CustomerSupport/mapping/customerSupportKeyMapping.d.ts +4 -0
  679. package/dist/types/components/Shared/tasks/TaskList/TaskList.d.ts +3 -1
  680. package/dist/types/components/Shared/tasks/TaskList/TaskListItem.d.ts +1 -1
  681. package/dist/types/components/Shared/tasks/TaskList/types.d.ts +4 -12
  682. package/dist/types/components/Shared/tasks/TaskList/utils.d.ts +1 -1
  683. package/dist/types/components/SoleProprietorship/pages/SoleProprietorshipPage.d.ts +1 -2
  684. package/dist/types/components/Trust/forms/TrustRegistrationDetails/TrustRegistrationDetailsMultiform.d.ts +2 -0
  685. package/dist/types/components/Trust/hooks/useTrustMemberNavigation.hook.d.ts +1 -16
  686. package/dist/types/components/Trust/pages/TrustMemberCompanyPage.d.ts +1 -2
  687. package/dist/types/components/Trust/tasks/RoleAndTypeDropin/formatRoleAndEntityTypeSummary.d.ts +2 -2
  688. package/dist/types/components/Trust/tasks/TrustDropin/TrustMultiform.d.ts +21 -0
  689. package/dist/types/components/Trust/tasks/TrustDropin/TrustMultiformDropin.d.ts +2 -0
  690. package/dist/types/components/Trust/tasks/TrustDropin/validate.d.ts +5 -0
  691. package/dist/types/components/UnincorporatedPartnership/pages/UnincorporatedPartnershipMemberCompanyPage.d.ts +1 -2
  692. package/dist/types/components/ui/atoms/Header/Header.d.ts +12 -0
  693. package/dist/types/components/ui/atoms/ListItem/ListItem.d.ts +1 -2
  694. package/dist/types/components/ui/atoms/RadioCard/RadioCard.d.ts +1 -0
  695. package/dist/types/components/ui/atoms/RadioGroup/RadioGroup.d.ts +1 -1
  696. package/dist/types/components/ui/atoms/RadioGroupCard/RadioGroupCard.d.ts +4 -4
  697. package/dist/types/components/ui/atoms/RadioGroupCard/RadioGroupCard.types.d.ts +8 -9
  698. package/dist/types/components/ui/atoms/Status/Status.d.ts +9 -3
  699. package/dist/types/components/ui/atoms/Svg/svgs.d.ts +6 -0
  700. package/dist/types/components/ui/atoms/TileGroup/TileGroup.d.ts +3 -1
  701. package/dist/types/components/ui/atoms/Typography/Typography.types.d.ts +1 -1
  702. package/dist/types/components/ui/layout/StackLayout/StackLayout.d.ts +29 -7
  703. package/dist/types/components/ui/molecules/Card/Card.d.ts +1 -1
  704. package/dist/types/components/ui/molecules/Card/types.d.ts +1 -0
  705. package/dist/types/components/ui/molecules/DocumentGuidance/DocumentGuidance.types.d.ts +1 -2
  706. package/dist/types/components/ui/molecules/Dropzone/FilePicker.d.ts +2 -1
  707. package/dist/types/components/ui/molecules/Dropzone/types.d.ts +1 -0
  708. package/dist/types/components/ui/molecules/EmbeddedStatus/EmbeddedStatus.d.ts +2 -23
  709. package/dist/types/components/ui/molecules/EmbeddedStatus/statusToTag.d.ts +3 -3
  710. package/dist/types/components/ui/molecules/EmbeddedStatus/types.d.ts +23 -0
  711. package/dist/types/context/ExperimentContext/types.d.ts +24 -20
  712. package/dist/types/context/I18nProvider/I18nContext.d.ts +3 -0
  713. package/dist/types/context/SettingsContext/SettingsProvider.d.ts +1 -1
  714. package/dist/types/context/SettingsContext/types.d.ts +3 -0
  715. package/dist/types/context/StateContext/types.d.ts +2 -1
  716. package/dist/types/core/errorMapping.d.ts +4 -1
  717. package/dist/types/core/models/api/address.d.ts +5 -0
  718. package/dist/types/core/models/api/capability.d.ts +20 -0
  719. package/dist/types/core/models/api/legal-entity-association.d.ts +1 -1
  720. package/dist/types/core/models/api/source-of-funds.d.ts +5 -0
  721. package/dist/types/core/models/api/transfer-instrument.d.ts +2 -0
  722. package/dist/types/core/process-field-configurations.d.ts +4 -1
  723. package/dist/types/core/user-events.d.ts +22 -11
  724. package/dist/types/datasets/generators/getAccountFormatForCountry.d.ts +1 -0
  725. package/dist/types/embeds/individual-configuration/AdyenIndividual.d.ts +3 -3
  726. package/dist/types/embeds/individual-configuration/adyen-individual-configuration.types.d.ts +5 -5
  727. package/dist/types/embeds/individual-status/AdyenManageIndividual.d.ts +3 -3
  728. package/dist/types/embeds/individual-status/adyen-individual-status.types.d.ts +5 -5
  729. package/dist/types/embeds/terms-of-service-management/AdyenTermsOfService.d.ts +3 -3
  730. package/dist/types/embeds/terms-of-service-management/adyen-terms-of-service-management.types.d.ts +5 -5
  731. package/dist/types/embeds/terms-of-service-status/AdyenManageTermsOfService.d.ts +3 -3
  732. package/dist/types/embeds/terms-of-service-status/adyen-terms-of-service-status.types.d.ts +39 -0
  733. package/dist/types/embeds/transfer-instrument-configuration/AdyenTransferInstrument.d.ts +3 -3
  734. package/dist/types/embeds/transfer-instrument-configuration/adyen-transfer-instrument-configuration.types.d.ts +5 -5
  735. package/dist/types/embeds/transfer-instrument-management/AdyenManageTransferInstrument.d.ts +3 -3
  736. package/dist/types/embeds/transfer-instrument-management/adyen-transfer-instrument-management.types.d.ts +5 -5
  737. package/dist/types/hooks/singpass/useSingpassMyInfoLogin.d.ts +2 -6
  738. package/dist/types/hooks/useAnalytics/useAnalytics.d.ts +16 -0
  739. package/dist/types/hooks/useLegalCompanyNameField/useLegalCompanyNameField.d.ts +6 -8
  740. package/dist/types/hooks/useUboQuestionnaire.d.ts +25 -0
  741. package/dist/types/language/Language.d.ts +10 -0
  742. package/dist/types/language/types.d.ts +21 -7
  743. package/dist/types/language/utils.d.ts +2 -2
  744. package/dist/types/stores/globalStore/taskTypes.d.ts +1 -1
  745. package/dist/types/types/form-rules.d.ts +2 -0
  746. package/dist/types/utils/addLinkedFields.d.ts +26 -2
  747. package/dist/types/utils/analytics/convertToEmbeddedEvent.d.ts +9 -0
  748. package/dist/types/utils/analytics/debouncedInputEvent.d.ts +30 -0
  749. package/dist/types/utils/analytics/getAnalyticsAssociatedEntityDetails.d.ts +13 -0
  750. package/dist/types/utils/analytics/trackNavigation.d.ts +10 -0
  751. package/dist/types/utils/api/documentUtils.d.ts +1 -0
  752. package/dist/types/utils/entityStatusUtil.d.ts +1 -1
  753. package/dist/types/utils/filterProblemsByTaskForms.d.ts +12 -0
  754. package/dist/types/utils/getName.d.ts +1 -1
  755. package/dist/types/utils/getSSNType.d.ts +1 -0
  756. package/dist/types/utils/getTrustedFields.d.ts +9 -0
  757. package/dist/types/utils/textTransformation/toFullWidth.d.ts +6 -0
  758. package/dist/types/utils/translation.d.ts +3 -2
  759. package/dist/types/utils/validatorUtils.d.ts +1 -0
  760. package/dist/types-C972Lk6s.js +34 -0
  761. package/dist/types-CLz74bOT.js +88 -0
  762. package/dist/types-Ctv8hbzY.js +74 -0
  763. package/dist/types-f66rmUFy.js +164 -0
  764. package/dist/upload-BF65P4KM.js +17 -0
  765. package/dist/useAssociatedLegalEntity-DAB1oG6O.js +33 -0
  766. package/dist/useCreateLegalEntity-BK5YcHA-.js +31 -0
  767. package/dist/useDataset-BtfHQp4w.js +220 -0
  768. package/dist/useForm-wQyeWa1b.js +1623 -0
  769. package/dist/useGlobalData-B33uuhtd.js +68 -0
  770. package/dist/useMultiForm-rZmCYsI4.js +864 -0
  771. package/dist/useOnboardingStatus-BbIpiZR4.js +27 -0
  772. package/dist/useScenarios-DPOodENA.js +46 -0
  773. package/dist/useTermsOfServiceStatus-DKeMR4Xi.js +42 -0
  774. package/dist/useToastContext-BK9oGWtb.js +60 -0
  775. package/dist/useUnincorporatedPartnershipMembers-Cdts5Hbn.js +99 -0
  776. package/dist/useUpdateBusinessLines-CWYtpMwr.js +46 -0
  777. package/dist/useUpdateLegalEntity-oa8qEzc4.js +39 -0
  778. package/dist/utils-AP5TpAhf.js +774 -0
  779. package/dist/utils-COz1RbbA.js +237 -0
  780. package/dist/validate-BYwVLb-X.js +41 -0
  781. package/dist/validate-CBVdP51L.js +100 -0
  782. package/dist/validationError-CvZLhw5H.js +86 -0
  783. package/dist/warning-circle-fill-CEN1WL7A.js +17 -0
  784. package/dist/warning-diamond-filled-BfXMlVrG.js +17 -0
  785. package/dist/webinar-DqjqrNEv.js +22 -0
  786. package/package.json +82 -83
  787. package/dist/4-people-CCqdlDEw.js +0 -24
  788. package/dist/AD-CyP5INSp.js +0 -23
  789. package/dist/AT-DJLlevck.js +0 -23
  790. package/dist/AcceptTermsOfServiceComponent-BF24NWVw.js +0 -657
  791. package/dist/AccountSetupRejected-2t22lJUo.js +0 -26
  792. package/dist/Address-DSwfzWFu.js +0 -1076
  793. package/dist/Alert-C24s_Ygs.js +0 -231
  794. package/dist/Avatar-DQjt5Lk2.js +0 -60
  795. package/dist/BE-B-m_4F41.js +0 -23
  796. package/dist/BG-BVR5ytc-.js +0 -27
  797. package/dist/BusinessDetailsDropin-CRFPvWuD.js +0 -5088
  798. package/dist/BusinessFinancingComponent-y2_kC8bx.js +0 -45
  799. package/dist/BusinessFinancingDropin-C-xm14b8.js +0 -1811
  800. package/dist/BusinessFinancingPage-BOG7yrw6.js +0 -40
  801. package/dist/BusinessTypeSelectionPage-ujY2jj6B.js +0 -426
  802. package/dist/CH-CesIKOYy.js +0 -23
  803. package/dist/CY-BnJ7k_mN.js +0 -23
  804. package/dist/CZ-BiPeoA9G.js +0 -33
  805. package/dist/Card-BMuquALf.js +0 -145
  806. package/dist/Confirm-DwutojkY.js +0 -64
  807. package/dist/CountryField-D0YZrov9.js +0 -864
  808. package/dist/CreateIndividualComponent-VZWLAo0l.js +0 -72
  809. package/dist/CreateTransferInstrumentComponent-OtReN6Cy.js +0 -67
  810. package/dist/Currency-BECbMsi5.js +0 -238
  811. package/dist/CustomerSupport-B8zC_huY.js +0 -141
  812. package/dist/DE-DdcbG-CC.js +0 -23
  813. package/dist/DK-DA8qRrzq.js +0 -33
  814. package/dist/DebugModal-CshTHx0o.js +0 -328
  815. package/dist/DecisionMakerDetailsPage-BJUwR4R7.js +0 -100
  816. package/dist/DecisionMakers-BDNa3HcC.js +0 -591
  817. package/dist/Dropzone-D6dXhmL4.js +0 -218
  818. package/dist/EE-CaXoPgZz.js +0 -23
  819. package/dist/ES-Bt_oaIaf.js +0 -23
  820. package/dist/EmbeddedStatus-BHTZcjUN.js +0 -100
  821. package/dist/EndStateLayout-CyGtLyvf.js +0 -71
  822. package/dist/FI-C5V3lLuN.js +0 -23
  823. package/dist/FR-Bc1tLIC4.js +0 -23
  824. package/dist/FormFlow-CZ9f5X0C.js +0 -216
  825. package/dist/FormNavigation-ezxkIqdb.js +0 -162
  826. package/dist/GG-BGuqxplU.js +0 -33
  827. package/dist/GI-CROkpYrU.js +0 -41
  828. package/dist/GR-B9c2boG8.js +0 -23
  829. package/dist/HR-p4luVYpu.js +0 -23
  830. package/dist/HU-D8vJYkDH.js +0 -32
  831. package/dist/IE-Cli_j7Al.js +0 -23
  832. package/dist/IM-mpIyBn16.js +0 -33
  833. package/dist/IS-02zCAdvq.js +0 -27
  834. package/dist/IT-CzURFhrK.js +0 -23
  835. package/dist/IndividualOnfidoDropin-vuHu-O_C.js +0 -7874
  836. package/dist/InputDate-CHygOGiS.js +0 -43
  837. package/dist/InputGroup-WBfGDV5F.js +0 -32
  838. package/dist/InputText-BX5sG9WJ.js +0 -161
  839. package/dist/Introduction-BsKwELuc.js +0 -304
  840. package/dist/JE-MFwIYti7.js +0 -33
  841. package/dist/LI-DA06W10W.js +0 -23
  842. package/dist/LT-DuU6E2Ct.js +0 -23
  843. package/dist/LU-BQHhNpDy.js +0 -23
  844. package/dist/LV-DN7wckbP.js +0 -23
  845. package/dist/LegalRepresentativeDetailsPage-DtMHe1Nq.js +0 -61
  846. package/dist/Link-BFdxU8qh.js +0 -35
  847. package/dist/MC-DtSWC4jS.js +0 -23
  848. package/dist/MT-DeDMQ1f_.js +0 -23
  849. package/dist/ManageIndividualComponent-By_fCmN1.js +0 -47
  850. package/dist/ManageTermsOfServiceComponent-D7F44OPD.js +0 -47
  851. package/dist/ManageTransferInstrumentComponent-DywpP5PK.js +0 -294
  852. package/dist/MaskedInput-BZ7t98eu.js +0 -799
  853. package/dist/MaybeModal-CE9kYOrU.js +0 -25
  854. package/dist/Modal-nMRQDTF7.js +0 -136
  855. package/dist/NL-aVL0NAp-.js +0 -23
  856. package/dist/NO-D7EOiQA1.js +0 -32
  857. package/dist/OnboardingDropinComponent-B0GrJ_pR.js +0 -4301
  858. package/dist/PL-Bg7axKQA.js +0 -32
  859. package/dist/PT-hB1HnBM2.js +0 -23
  860. package/dist/PayoutDetailsDropin-BJIqXmPn.js +0 -3694
  861. package/dist/RO-BLlC4CKq.js +0 -23
  862. package/dist/RadioGroup-CYDXrtrO.js +0 -143
  863. package/dist/RegistrationAddress-qtMZa31b.js +0 -2334
  864. package/dist/Review-D7NEYFoT.js +0 -82
  865. package/dist/RootBusinessDetailsPage-rCbGLBEv.js +0 -1870
  866. package/dist/RootIndividualDetailsPage-B3TkB6Xj.js +0 -77
  867. package/dist/SE-q25Qt85B.js +0 -33
  868. package/dist/SI-BzA-ozn6.js +0 -23
  869. package/dist/SK-DOTdLJPw.js +0 -23
  870. package/dist/SM-B4BIgmhk.js +0 -23
  871. package/dist/SignPCIComponent-C0iYfSl6.js +0 -294
  872. package/dist/SingpassSelection-ClMlwfoj.js +0 -130
  873. package/dist/SoleProprietorshipPage-JKNrAy74.js +0 -50
  874. package/dist/SourceOfFundsPage-D-pN33-9.js +0 -3101
  875. package/dist/Spacer-BK3jDget.js +0 -18
  876. package/dist/StepProgressIndicator-BWCQmDeV.js +0 -78
  877. package/dist/StoreProvider-BlaJzXSZ.js +0 -7072
  878. package/dist/StructuredList-DaepaiVE.js +0 -38
  879. package/dist/TaskItemStatus-B38keERo.js +0 -125
  880. package/dist/TaskStatusIndicator-BIvTrQtf.js +0 -69
  881. package/dist/TaxInformationField-DS0m73if.js +0 -3062
  882. package/dist/TaxReportingDropin-CVbVkFhv.js +0 -499
  883. package/dist/TileGroup-CztY53P9.js +0 -174
  884. package/dist/TrustDetailsPage-C791Wu5u.js +0 -1205
  885. package/dist/TrustMemberCompanyPage-BOQ5D3y4.js +0 -60
  886. package/dist/TrustMemberIndividualPage-BPIXX2Mh.js +0 -66
  887. package/dist/UnincorporatedPartnershipIndividualPage-vzn0R02z.js +0 -66
  888. package/dist/UnincorporatedPartnershipMemberCompanyPage-C-kGU5Sh.js +0 -64
  889. package/dist/VA-bPXdCnwD.js +0 -23
  890. package/dist/ViewVerificationStatusComponent-BTW-Vw9I.js +0 -177
  891. package/dist/analytics-3-a-Od7Z.js +0 -61
  892. package/dist/arrow-right-D_mdkZmE.js +0 -14
  893. package/dist/bafinUtils-Bar3qiJA.js +0 -457
  894. package/dist/bag-DpxmyXfR.js +0 -14
  895. package/dist/bank-gyBvaSp4.js +0 -14
  896. package/dist/bin-Bgdj6KzC.js +0 -18
  897. package/dist/capital-CF9_Ev99.js +0 -17
  898. package/dist/cash-stack-Ds76Du8m.js +0 -22
  899. package/dist/certificate-D6xjhThs.js +0 -17
  900. package/dist/checkmark-circle-fill-BhvuqTl9.js +0 -17
  901. package/dist/checkmark-circle-nACBJ24q.js +0 -20
  902. package/dist/checkmark-small-63w5fAxg.js +0 -14
  903. package/dist/checkmark-tfEAu7lj.js +0 -14
  904. package/dist/chevron-down-CkQS-knD.js +0 -14
  905. package/dist/chevron-left-CBCMdMx6.js +0 -14
  906. package/dist/chevron-right-dIVWvPJu.js +0 -14
  907. package/dist/chevron-up-D93IGU9z.js +0 -14
  908. package/dist/circle-Dgfa7GUy.js +0 -17
  909. package/dist/coins-CFu331p2.js +0 -17
  910. package/dist/commonValidators-Bk0SSjsH.js +0 -24
  911. package/dist/contract-DI03_xrF.js +0 -14
  912. package/dist/cross-circle-fill-small-CHMDaA3q.js +0 -14
  913. package/dist/cross-o4n5KXxG.js +0 -14
  914. package/dist/currency-BGwQyxBo.js +0 -36
  915. package/dist/da-DK-B45X2VaJ.js +0 -35
  916. package/dist/da-DK-BJ7aTPir.js +0 -13
  917. package/dist/da-DK-BTpZzEgA.js +0 -15
  918. package/dist/da-DK-BoQic3Gy.js +0 -33
  919. package/dist/da-DK-CeNMXUfE.js +0 -23
  920. package/dist/da-DK-D0N1TVVU.js +0 -58
  921. package/dist/da-DK-D4H69PX3.js +0 -30
  922. package/dist/da-DK-DStNe471.js +0 -22
  923. package/dist/da-DK-q2b_1elr.js +0 -35
  924. package/dist/de-DE-C78RLE2G.js +0 -13
  925. package/dist/de-DE-CGoBPCPv.js +0 -22
  926. package/dist/de-DE-CWvgMDqU.js +0 -35
  927. package/dist/de-DE-D2ByeIZs.js +0 -35
  928. package/dist/de-DE-DjOUNvp6.js +0 -15
  929. package/dist/de-DE-Dtuu-nE7.js +0 -58
  930. package/dist/de-DE-Dwagawx1.js +0 -33
  931. package/dist/de-DE-JI-7mvxy.js +0 -23
  932. package/dist/de-DE-wp5-H-ov.js +0 -30
  933. package/dist/document-1-DsCi9vmX.js +0 -14
  934. package/dist/document-person-DBlLin9u.js +0 -20
  935. package/dist/download-B8_c4ARV.js +0 -17
  936. package/dist/dropinUtils-DHp5v5jB.js +0 -192
  937. package/dist/edit-1-D6f6zk9p.js +0 -14
  938. package/dist/en-US-546hB2Wn.js +0 -60
  939. package/dist/en-US-BQpgt41j.js +0 -37
  940. package/dist/en-US-BTYdAWXp.js +0 -15
  941. package/dist/en-US-BbAzROHT.js +0 -36
  942. package/dist/en-US-CAm3meB1.js +0 -30
  943. package/dist/en-US-CQ3angjM.js +0 -22
  944. package/dist/en-US-DHq7VYFs.js +0 -23
  945. package/dist/en-US-DIdQJky-.js +0 -35
  946. package/dist/es-ES-BsQpwaPN.js +0 -58
  947. package/dist/es-ES-Bsoco8Fj.js +0 -33
  948. package/dist/es-ES-BtUSEzkE.js +0 -13
  949. package/dist/es-ES-CKMfS8Yy.js +0 -22
  950. package/dist/es-ES-Cj7q7fWO.js +0 -15
  951. package/dist/es-ES-DKCCgVF8.js +0 -35
  952. package/dist/es-ES-DOVPTeyf.js +0 -23
  953. package/dist/es-ES-Ds3-DtqZ.js +0 -30
  954. package/dist/es-ES-WWftn3JX.js +0 -35
  955. package/dist/external-link-BjladU3E.js +0 -14
  956. package/dist/fi-FI-BJ9RzrL3.js +0 -58
  957. package/dist/fi-FI-BNcnKrJ9.js +0 -15
  958. package/dist/fi-FI-ClnsYt3L.js +0 -33
  959. package/dist/fi-FI-Cvar63RH.js +0 -13
  960. package/dist/fi-FI-D522KHGk.js +0 -23
  961. package/dist/fi-FI-D9E_KaJi.js +0 -35
  962. package/dist/fi-FI-DPNeTsJS.js +0 -30
  963. package/dist/fi-FI-Hhku9Lmc.js +0 -35
  964. package/dist/fi-FI-REYOX46I.js +0 -22
  965. package/dist/fieldConfigurations-B8bDFQ53.js +0 -458
  966. package/dist/form-rules-DhbF2mY4.js +0 -13
  967. package/dist/formatCurrency-CMOSdJMB.js +0 -29
  968. package/dist/fr-FR-B5543Fe-.js +0 -13
  969. package/dist/fr-FR-BYuKsZIb.js +0 -35
  970. package/dist/fr-FR-Bn3D6mmY.js +0 -15
  971. package/dist/fr-FR-CJI0bIig.js +0 -33
  972. package/dist/fr-FR-CNR5-s9g.js +0 -58
  973. package/dist/fr-FR-ChmNQciP.js +0 -30
  974. package/dist/fr-FR-Cv0k-3Xc.js +0 -35
  975. package/dist/fr-FR-D9qaP6nx.js +0 -22
  976. package/dist/fr-FR-DInQKkTd.js +0 -23
  977. package/dist/getName-DJlhsDj_.js +0 -41
  978. package/dist/gift-SdNY6AqI.js +0 -14
  979. package/dist/graph-DwYwlplw.js +0 -21
  980. package/dist/graph-up-DpbCSPbc.js +0 -20
  981. package/dist/hasDataChanged-BgvxL-Hx.js +0 -19
  982. package/dist/headquarter-C6AsewcP.js +0 -21
  983. package/dist/hotel-JX0bjsSA.js +0 -22
  984. package/dist/iframeWidget-Bftkd3v_.js +0 -234
  985. package/dist/image-eUqBiRX_.js +0 -17
  986. package/dist/info-Wao3PEQK.js +0 -21
  987. package/dist/isEmpty-CuQFhMf0.js +0 -23
  988. package/dist/it-IT-BV9K87FK.js +0 -58
  989. package/dist/it-IT-BeC2Y1F8.js +0 -33
  990. package/dist/it-IT-Biduphjt.js +0 -22
  991. package/dist/it-IT-C_fNHhjE.js +0 -35
  992. package/dist/it-IT-CjEYONJg.js +0 -23
  993. package/dist/it-IT-Dd6xGSe-.js +0 -13
  994. package/dist/it-IT-DvM-9LpM.js +0 -15
  995. package/dist/it-IT-Nl57jui-.js +0 -35
  996. package/dist/it-IT-eCrTB65E.js +0 -30
  997. package/dist/keys-BpNgnAsD.js +0 -23
  998. package/dist/localizeDateString-DHsivjy2.js +0 -27
  999. package/dist/location-YXhcBMDy.js +0 -17
  1000. package/dist/mail-Z_IE_hkw.js +0 -14
  1001. package/dist/mapExistingFile-DW5ktJzM.js +0 -231
  1002. package/dist/mapScriptLocalization-CI-Ydp2z.js +0 -72
  1003. package/dist/mapTransferInstrumentToPayoutAccount-CAoOlPMA.js +0 -30
  1004. package/dist/minus-circle-filled-BGKeHaxJ.js +0 -17
  1005. package/dist/nl-NL-BHkRnVrj.js +0 -35
  1006. package/dist/nl-NL-BHqiO21q.js +0 -15
  1007. package/dist/nl-NL-Cysslsh2.js +0 -33
  1008. package/dist/nl-NL-D2QKudfh.js +0 -30
  1009. package/dist/nl-NL-DLedC3mO.js +0 -35
  1010. package/dist/nl-NL-DVENFpd5.js +0 -13
  1011. package/dist/nl-NL-DywVQ9km.js +0 -58
  1012. package/dist/nl-NL-G1wVnmzT.js +0 -22
  1013. package/dist/nl-NL-Zcq0bXd-.js +0 -23
  1014. package/dist/no-NO-B8oxqfNI.js +0 -58
  1015. package/dist/no-NO-BTtAuqCb.js +0 -22
  1016. package/dist/no-NO-BxReX6oF.js +0 -23
  1017. package/dist/no-NO-CKT9kLAH.js +0 -15
  1018. package/dist/no-NO-C_snYWBc.js +0 -30
  1019. package/dist/no-NO-CpVal4cV.js +0 -35
  1020. package/dist/no-NO-Dn2UkdoI.js +0 -13
  1021. package/dist/no-NO-kaAdT9B8.js +0 -35
  1022. package/dist/no-NO-zSnPtrDi.js +0 -33
  1023. package/dist/options-horizontal-nJ9-ButA.js +0 -18
  1024. package/dist/partner-COG2_Erh.js +0 -21
  1025. package/dist/pay-by-link-plane-Pv7Babgn.js +0 -22
  1026. package/dist/payout-iEmHhgQ4.js +0 -20
  1027. package/dist/person-CdGfItMU.js +0 -17
  1028. package/dist/plus-CwLva7fq.js +0 -14
  1029. package/dist/plus-circle-filled-Cnf1oJTm.js +0 -17
  1030. package/dist/pt-PT-BkvMsoK4.js +0 -35
  1031. package/dist/pt-PT-BvK00TeI.js +0 -58
  1032. package/dist/pt-PT-C-hbNnsB.js +0 -30
  1033. package/dist/pt-PT-CjsyP_OK.js +0 -33
  1034. package/dist/pt-PT-D2elvnDU.js +0 -15
  1035. package/dist/pt-PT-Dk48OVtf.js +0 -22
  1036. package/dist/pt-PT-N0njcfLO.js +0 -23
  1037. package/dist/pt-PT-Xm-pm3mb.js +0 -35
  1038. package/dist/pt-PT-_o5xgnxS.js +0 -13
  1039. package/dist/reporting-DlRoibD7.js +0 -17
  1040. package/dist/resolveEnvironment-BGYn6Ls_.js +0 -84
  1041. package/dist/revenue-accelerate-rtXA-8EE.js +0 -17
  1042. package/dist/rules-DP3jxPzq.js +0 -311
  1043. package/dist/save-BofgDbDX.js +0 -14
  1044. package/dist/search-BjMkvQh0.js +0 -17
  1045. package/dist/show-uL6I-rMo.js +0 -17
  1046. package/dist/sl-SI-BB7iVcFI.js +0 -22
  1047. package/dist/sl-SI-BhVTSmhQ.js +0 -30
  1048. package/dist/sl-SI-Br0UEUPL.js +0 -33
  1049. package/dist/sl-SI-BylvpF-X.js +0 -15
  1050. package/dist/sl-SI-Cth2Qa5T.js +0 -35
  1051. package/dist/sl-SI-D_rqR0D7.js +0 -35
  1052. package/dist/sl-SI-MZoDApq9.js +0 -23
  1053. package/dist/sl-SI-NI2OJAvm.js +0 -58
  1054. package/dist/solution-payments-DTAuLSWF.js +0 -14
  1055. package/dist/store-CkhgQMl0.js +0 -14
  1056. package/dist/sv-SE-66rqYTxi.js +0 -30
  1057. package/dist/sv-SE-B3zoXMuH.js +0 -35
  1058. package/dist/sv-SE-BUfESAQK.js +0 -13
  1059. package/dist/sv-SE-BtXmvxx4.js +0 -33
  1060. package/dist/sv-SE-CAZpDX9G.js +0 -58
  1061. package/dist/sv-SE-DCFSf4Oj.js +0 -23
  1062. package/dist/sv-SE-DbI-1JqN.js +0 -22
  1063. package/dist/sv-SE-Dwz1yTrB.js +0 -15
  1064. package/dist/sv-SE-OPOHtqtP.js +0 -35
  1065. package/dist/terminal-1-ewywjFJI.js +0 -18
  1066. package/dist/toCapitalized-Bq7laD0b.js +0 -13
  1067. package/dist/translation-DJHWTow9.js +0 -472
  1068. package/dist/types/api/pciTemplate/pciTemplate.types.d.ts +0 -9
  1069. package/dist/types/api/pciTemplate/usePciQuestionnaire.d.ts +0 -6
  1070. package/dist/types/api/pciTemplate/usePciQuestionnaireList.d.ts +0 -12
  1071. package/dist/types/api/pciTemplate/usePciStatus.d.ts +0 -6
  1072. package/dist/types/api/pciTemplate/usePciTemplate.d.ts +0 -14
  1073. package/dist/types/components/BusinessLines/tasks/BusinessLinesDropin.d.ts +0 -5
  1074. package/dist/types/components/Contract/hooks/useSalesChannelsSettings.d.ts +0 -3
  1075. package/dist/types/components/Shared/tasks/TaskList/TaskItemStatus.d.ts +0 -2
  1076. package/dist/types/components/ui/atoms/FormHeader/FormHeader.d.ts +0 -8
  1077. package/dist/types/components/ui/atoms/Remove/Remove.d.ts +0 -2
  1078. package/dist/types/components/ui/atoms/Remove/Remove.types.d.ts +0 -9
  1079. package/dist/types/components/ui/atoms/Status/Status.types.d.ts +0 -8
  1080. package/dist/types/components/ui/atoms/TaskStatusIndicator/TaskStatusIndicator.d.ts +0 -11
  1081. package/dist/types/components/ui/molecules/Card/CardGroup.d.ts +0 -3
  1082. package/dist/types/core/analytics.d.ts +0 -31
  1083. package/dist/types/embeds/terms-of-service-status/adyen-manage-terms-of-service.types.d.ts +0 -39
  1084. package/dist/types/hooks/useAnalytics.d.ts +0 -22
  1085. package/dist/types/utils/bankVerification/animation.d.ts +0 -2
  1086. package/dist/types/utils/trackNavigation.d.ts +0 -10
  1087. package/dist/types-CAznNNSI.js +0 -160
  1088. package/dist/types-CP1NRoE8.js +0 -74
  1089. package/dist/types-K58FM7k4.js +0 -64
  1090. package/dist/upload-XDhHhAHV.js +0 -17
  1091. package/dist/useAssociatedLegalEntity-G30FPhOX.js +0 -33
  1092. package/dist/useDataset-BgvQQEKd.js +0 -120
  1093. package/dist/useForm-C1DW3mPC.js +0 -1694
  1094. package/dist/useFormContext-beqGS11A.js +0 -23
  1095. package/dist/useGlobalData-jb7ua9I6.js +0 -205
  1096. package/dist/useMultiForm-BucfLW49.js +0 -864
  1097. package/dist/useOnboardingStatus-CTgWLZxC.js +0 -27
  1098. package/dist/useScenarios-B7IWZ3xW.js +0 -46
  1099. package/dist/useTermsOfServiceStatus-B0dIrYTA.js +0 -42
  1100. package/dist/useToastContext-DGMeMy5R.js +0 -51
  1101. package/dist/useUnincorporatedPartnershipMembers-BCvmGMOX.js +0 -99
  1102. package/dist/utils-Bwnj33y_.js +0 -277
  1103. package/dist/utils-CXtNbmpA.js +0 -29
  1104. package/dist/utils-CgOzbb9O.js +0 -159
  1105. package/dist/validate-B5PwC1oL.js +0 -100
  1106. package/dist/validate-BRz0LPdo.js +0 -382
  1107. package/dist/validate-CvtamBXH.js +0 -605
  1108. package/dist/validationError-DOCbfk7K.js +0 -86
  1109. package/dist/warning-circle-fill-DADaWT65.js +0 -17
  1110. package/dist/warning-filled-BfAQN-BF.js +0 -14
  1111. package/dist/webinar-BJWDRK2H.js +0 -22
  1112. /package/dist/types/api/{pciTemplate → pci}/useSignPci.d.ts +0 -0
  1113. /package/dist/types/components/BusinessLines/tasks/{BusinessLinesGettingStarted → BusinessLines}/BusinessLinesGettingStarted.d.ts +0 -0
@@ -1,1811 +0,0 @@
1
- ;
2
- {
3
- try {
4
- let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "5a4593d9-7ee6-41c5-9767-897f6979c0ff", e._sentryDebugIdIdentifier = "sentry-dbid-5a4593d9-7ee6-41c5-9767-897f6979c0ff");
6
- } catch (e) {
7
- }
8
- }
9
- ;
10
- import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
11
- import { useRef, useEffect, useMemo, useState, useCallback } from "preact/hooks";
12
- import { R as RadioGroup, u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./RadioGroup-CYDXrtrO.js";
13
- import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-DGMeMy5R.js";
14
- import { aS as reverseMapping, aT as isEeaCountry, y as LegalEntityTypes, ay as cloneObject, b as useApiContext, j as useQuery, o as httpGet, u as useI18nContext, a as useTranslation, x as Typography, w as translateStringOrObject, U as useAnalyticsContext, m as useSettingsContext, L as Loader, B as Button } from "./StoreProvider-BlaJzXSZ.js";
15
- import { F as FormContextProvider, a as FormFlow } from "./FormFlow-CZ9f5X0C.js";
16
- import { I as InputText, S as SettingNames } from "./InputText-BX5sG9WJ.js";
17
- import { g as getAssociatedLeAnalyticsPayload } from "./analytics-3-a-Od7Z.js";
18
- import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-G30FPhOX.js";
19
- import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer, t as trackNavigation } from "./dropinUtils-DHp5v5jB.js";
20
- import { u as useMultiForm } from "./useMultiForm-BucfLW49.js";
21
- import { E as EndStateLayout } from "./EndStateLayout-CyGtLyvf.js";
22
- import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-DOCbfk7K.js";
23
- import { a as datasetUtilities } from "./useDataset-BgvQQEKd.js";
24
- import { l as localizeDateString } from "./localizeDateString-DHsivjy2.js";
25
- import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport, L as LegalFormField, I as InputNumber, C as Currency, b as CURRENCY_FIELD, c as InputCurrency } from "./Currency-BECbMsi5.js";
26
- import { f as formatObject } from "./utils-DNSfZiio.js";
27
- import { c as createFormUtils, g as getFieldProps, F as FormHeader, E as ErrorPanel } from "./CountryField-D0YZrov9.js";
28
- import { u as useFormContext } from "./useFormContext-beqGS11A.js";
29
- import { c as currencyByCountry } from "./types-K58FM7k4.js";
30
- import { F as Field, c as Select, C as Checkbox } from "./useForm-C1DW3mPC.js";
31
- import { L as Link } from "./Link-BFdxU8qh.js";
32
- import { I as InputDate } from "./InputDate-CHygOGiS.js";
33
- import { A as Address } from "./Address-DSwfzWFu.js";
34
- import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, a as getAddressSchemaLabelsByCountry } from "./utils-CgOzbb9O.js";
35
- import { b as businessFinancingMultiformRules } from "./validate-B5PwC1oL.js";
36
- const businessFinancingBaseMapping = {
37
- legalProceedingsDate: "organization.dateOfInitiationOfLegalProceeding",
38
- legalInformationInsolvency: "organization.statusOfLegalProceeding",
39
- legalEntityIdentifier: "organization.globalLegalEntityIdentifier",
40
- naceCode: "organization.economicSector",
41
- legalForm: "organization.legalForm",
42
- legalName: "organization.legalName",
43
- "registrationAddress.city": "organization.registeredAddress.city",
44
- "registrationAddress.country": "organization.registeredAddress.country",
45
- "registrationAddress.postalCode": "organization.registeredAddress.postalCode",
46
- "registrationAddress.stateOrProvince": "organization.registeredAddress.stateOrProvince",
47
- "registrationAddress.address": "organization.registeredAddress.street",
48
- "registrationAddress.otherAddressInformation": "organization.registeredAddress.street2"
49
- };
50
- const businessFinancingComponentsKeyMapping = {
51
- ...businessFinancingBaseMapping
52
- };
53
- const businessFinancingApiKeyMapping = {
54
- ...reverseMapping(businessFinancingBaseMapping)
55
- };
56
- const mapBusinessFinancingToLegalEntity = (data) => ({
57
- ...formatObject(
58
- data,
59
- businessFinancingApiKeyMapping
60
- )
61
- });
62
- const BusinessFinancingPages = {
63
- COMPANY_PAGE: "company",
64
- PARENT_COMPANY_PAGE: "parentCompany",
65
- ULTIMATE_PARENT_COMPANY_PAGE: "ultimateParentCompany"
66
- };
67
- const BusinessFinancingRadioIds = {
68
- YES: "Yes",
69
- NO: "No"
70
- };
71
- const businessFinancingRadioItems = [
72
- {
73
- id: BusinessFinancingRadioIds.YES,
74
- name: "yes"
75
- },
76
- {
77
- id: BusinessFinancingRadioIds.NO,
78
- name: "no"
79
- }
80
- ];
81
- const businessFinancingParentRadioItems = [
82
- {
83
- id: BusinessFinancingRadioIds.YES,
84
- name: "yes"
85
- },
86
- {
87
- id: BusinessFinancingRadioIds.NO,
88
- name: "noIdontKnow"
89
- }
90
- ];
91
- const companySchemaKeys = [
92
- "legalForm",
93
- "naceCode",
94
- "numberOfEmployees",
95
- "doesYourCompanyHaveLEI",
96
- "legalEntityIdentifier",
97
- "isCompanyOwnedByAnotherCompany",
98
- "isParentOwnedByAnotherCompany",
99
- "financialReportingDate",
100
- "currency",
101
- "netAssets",
102
- "annualTurnover",
103
- "legalInformationInsolvency",
104
- "legalProceedingsDate"
105
- ];
106
- const parentCompaniesSchemaKeys = [
107
- "legalName",
108
- "legalForm",
109
- "naceCode",
110
- "numberOfEmployees",
111
- "doesYourCompanyHaveLEI",
112
- "legalEntityIdentifier",
113
- "isThisAddressTheMainHeadquarters",
114
- "financialReportingDate",
115
- "currency",
116
- "netAssets",
117
- "annualTurnover",
118
- "legalInformationInsolvency",
119
- "legalProceedingsDate",
120
- "registrationAddress",
121
- "sameAddressAsRootEntity"
122
- ];
123
- const businessFinancingForms = {
124
- company: {
125
- formId: "company",
126
- formName: "yourBusinessInformation",
127
- fields: [...companySchemaKeys]
128
- },
129
- parentCompany: {
130
- formId: "parentCompany",
131
- formName: "parentCompanyInformation",
132
- fields: [...parentCompaniesSchemaKeys]
133
- },
134
- ultimateParentCompany: {
135
- formId: "ultimateParentCompany",
136
- formName: "ultimateParentCompanyInformation",
137
- fields: [...parentCompaniesSchemaKeys]
138
- }
139
- };
140
- const BusinessFinancingIndices = {
141
- COMPANY: "company",
142
- PARENT_COMPANY: "parentCompany",
143
- ULTIMATE_PARENT_COMPANY: "ultimateParentCompany"
144
- };
145
- const getLegalEntityId = (businessFinancingIndex, rootLegalEntity) => {
146
- if (!rootLegalEntity) return void 0;
147
- if (businessFinancingIndex === BusinessFinancingIndices.COMPANY) return rootLegalEntity.id;
148
- if (!rootLegalEntity?.entityAssociations) return void 0;
149
- const businessFinancingEntityType = "immediateParentCompany";
150
- const businessFinancingEntityAssociation = rootLegalEntity.entityAssociations?.find(
151
- (entity) => entity.type === businessFinancingEntityType
152
- );
153
- return businessFinancingEntityAssociation?.legalEntityId;
154
- };
155
- const USER_LOCALE = typeof navigator !== "undefined" ? navigator.language : "en-US";
156
- const entityHasParentCompany = (data) => data.company?.isCompanyOwnedByAnotherCompany && data.company?.isCompanyOwnedByAnotherCompany === "Yes";
157
- const entityHasUltimateParentCompany = (data) => data.company?.isParentOwnedByAnotherCompany && data.company?.isParentOwnedByAnotherCompany === "Yes";
158
- const financialReportsToString = (financialReports) => {
159
- return {
160
- ...financialReports,
161
- numberOfEmployees: financialReports.numberOfEmployees ? financialReports.numberOfEmployees.toString() : void 0,
162
- netAssets: financialReports.netAssets ? financialReports.netAssets.toString() : void 0,
163
- annualTurnover: financialReports.annualTurnover ? financialReports.annualTurnover.toString() : void 0,
164
- balanceSheetTotal: financialReports.balanceSheetTotal ? financialReports.balanceSheetTotal.toString() : void 0
165
- };
166
- };
167
- const prepareBusinessFinancingSubmitData = (businessFinancingIndex, data, rootLegalEntity) => {
168
- const businessFinancingData = data[businessFinancingIndex];
169
- if (!businessFinancingData) return null;
170
- if (businessFinancingIndex === BusinessFinancingIndices.PARENT_COMPANY && !entityHasParentCompany(data)) {
171
- return null;
172
- }
173
- if (businessFinancingIndex === BusinessFinancingIndices.ULTIMATE_PARENT_COMPANY && (!entityHasUltimateParentCompany(data) || !entityHasParentCompany(data))) {
174
- return null;
175
- }
176
- const businessFinancingDetails = mapBusinessFinancingToLegalEntity(businessFinancingData);
177
- if (!businessFinancingDetails.organization) return null;
178
- const businessFinancingCountry = businessFinancingDetails.organization.registeredAddress?.country || rootLegalEntity?.organization?.registeredAddress?.country;
179
- if (businessFinancingData.financialReportingDate && isEeaCountry(businessFinancingCountry)) {
180
- const finReports = {
181
- currency: businessFinancingData.currency,
182
- financialReportingDate: businessFinancingData.financialReportingDate,
183
- numberOfEmployees: businessFinancingData.numberOfEmployees ? Number(businessFinancingData.numberOfEmployees) : void 0,
184
- netAssets: businessFinancingData.netAssets ? Number(businessFinancingData.netAssets) : void 0,
185
- annualTurnover: businessFinancingData.annualTurnover ? Number(businessFinancingData.annualTurnover) : void 0
186
- };
187
- const businessFinancingFinancialReport = mapFinancialInformationToFinancialReport(finReports);
188
- businessFinancingDetails.organization.financialReports = [businessFinancingFinancialReport];
189
- }
190
- if (!isEeaCountry(businessFinancingCountry)) {
191
- businessFinancingDetails.organization.financialReports = void 0;
192
- }
193
- if (businessFinancingDetails.organization.statusOfLegalProceeding === "iDontKnow") {
194
- businessFinancingDetails.organization.statusOfLegalProceeding = "noLegalActionsTaken";
195
- }
196
- if (businessFinancingDetails.organization.statusOfLegalProceeding === "iDontKnow" || businessFinancingDetails.organization.statusOfLegalProceeding === "noLegalActionsTaken") {
197
- businessFinancingDetails.organization.dateOfInitiationOfLegalProceeding = "";
198
- }
199
- if (businessFinancingData.sameAddressAsRootEntity && rootLegalEntity?.organization?.registeredAddress) {
200
- businessFinancingDetails.organization.registeredAddress = {
201
- ...rootLegalEntity.organization.registeredAddress
202
- };
203
- }
204
- if (businessFinancingData.isThisAddressTheMainHeadquarters) {
205
- businessFinancingDetails.organization.principalPlaceOfBusiness = {
206
- ...businessFinancingDetails.organization.registeredAddress
207
- };
208
- }
209
- if (businessFinancingData.doesYourCompanyHaveLEI !== "Yes") {
210
- delete businessFinancingDetails.organization.globalLegalEntityIdentifier;
211
- }
212
- const businessFinancingLegalEntityId = getLegalEntityId(businessFinancingIndex, rootLegalEntity);
213
- if (businessFinancingLegalEntityId) {
214
- delete businessFinancingDetails.type;
215
- businessFinancingDetails.id = businessFinancingLegalEntityId;
216
- } else {
217
- delete businessFinancingDetails.id;
218
- businessFinancingDetails.type = LegalEntityTypes.ORGANIZATION;
219
- }
220
- return businessFinancingDetails;
221
- };
222
- const appendBusinessFinancingData = (legalOrganization, businessFinancingData) => {
223
- if (!legalOrganization || !businessFinancingData) return businessFinancingData;
224
- const clonedBusinessFinancingData = { ...businessFinancingData };
225
- let financialReportData = {};
226
- if (legalOrganization.financialReports) {
227
- const financialReportsArray = Array.isArray(legalOrganization.financialReports) ? legalOrganization.financialReports : [legalOrganization.financialReports];
228
- const financialInformationSchema = mapFinancialReportsToFinancialInformation(
229
- financialReportsArray,
230
- false
231
- );
232
- financialReportData = financialReportsToString(financialInformationSchema);
233
- if (financialReportData.numberOfEmployees) {
234
- financialReportData.numberOfEmployees = financialReportData.numberOfEmployees.toString();
235
- }
236
- }
237
- return {
238
- ...clonedBusinessFinancingData,
239
- ...financialReportData,
240
- numberOfEmployees: financialReportData.numberOfEmployees ? financialReportData.numberOfEmployees.toString() : void 0,
241
- doesYourCompanyHaveLEI: legalOrganization.globalLegalEntityIdentifier ? "Yes" : "No",
242
- isThisAddressTheMainHeadquarters: legalOrganization.principalPlaceOfBusiness ? "Yes" : clonedBusinessFinancingData.isThisAddressTheMainHeadquarters
243
- };
244
- };
245
- const handleBusinessFinancingFormSubmission = async (businessFinancingType, details, createFunction, updateFunction, entityId) => {
246
- if (!details) return;
247
- try {
248
- if (entityId) {
249
- return await updateFunction({ ...details, id: entityId });
250
- }
251
- return await createFunction(details);
252
- } catch (error) {
253
- const businessFinancingError = new Error(`Form submission failed for ${businessFinancingType}`);
254
- businessFinancingError.actualError = error;
255
- businessFinancingError.businessFinancingType = businessFinancingError;
256
- throw businessFinancingError;
257
- }
258
- };
259
- const getCompanySchemaKeys = (country, currentData, schemaKeys) => {
260
- const fieldsToRemove = [];
261
- if (!isEeaCountry(country)) {
262
- fieldsToRemove.push(
263
- "financialReportingDate",
264
- "netAssets",
265
- "annualTurnover",
266
- "currency",
267
- "numberOfEmployees"
268
- );
269
- }
270
- if (currentData.isCompanyOwnedByAnotherCompany !== "Yes") {
271
- fieldsToRemove.push("isParentOwnedByAnotherCompany");
272
- }
273
- if (currentData.doesYourCompanyHaveLEI !== "Yes") {
274
- fieldsToRemove.push("legalEntityIdentifier");
275
- }
276
- if (!currentData?.legalInformationInsolvency || ["noLegalActionsTaken", "iDontKnow"].includes(currentData?.legalInformationInsolvency)) {
277
- fieldsToRemove.push("legalProceedingsDate");
278
- }
279
- return schemaKeys.filter((field) => !fieldsToRemove.includes(field));
280
- };
281
- const getParentCompanySchemaKeys = (currentData, schemaKeys) => {
282
- const fieldsToRemove = [];
283
- const companyCountry = currentData?.registrationAddress?.country;
284
- if (!isEeaCountry(companyCountry)) {
285
- fieldsToRemove.push(
286
- "financialReportingDate",
287
- "netAssets",
288
- "annualTurnover",
289
- "currency",
290
- "numberOfEmployees"
291
- );
292
- }
293
- if (currentData?.sameAddressAsRootEntity) {
294
- fieldsToRemove.push("registrationAddress");
295
- }
296
- if (currentData.doesYourCompanyHaveLEI !== "Yes") {
297
- fieldsToRemove.push("legalEntityIdentifier");
298
- }
299
- if (!currentData?.legalInformationInsolvency || ["noLegalActionsTaken", "iDontKnow"].includes(currentData?.legalInformationInsolvency)) {
300
- fieldsToRemove.push("legalProceedingsDate");
301
- }
302
- return schemaKeys.filter((field) => !fieldsToRemove.includes(field));
303
- };
304
- const getBusinessFinancingRequiredFields = (country, data) => {
305
- let requiredFields = {
306
- company: companySchemaKeys
307
- };
308
- if (!data) {
309
- return requiredFields;
310
- }
311
- const { company, parentCompany = {}, ultimateParentCompany = {} } = data;
312
- if (company) {
313
- requiredFields.company = getCompanySchemaKeys(country, company, companySchemaKeys);
314
- }
315
- if (company?.isCompanyOwnedByAnotherCompany === "Yes") {
316
- const parentCompanyRequiredFields = getParentCompanySchemaKeys(
317
- parentCompany,
318
- parentCompaniesSchemaKeys
319
- );
320
- requiredFields = {
321
- ...requiredFields,
322
- parentCompany: parentCompanyRequiredFields
323
- };
324
- }
325
- if (company?.isParentOwnedByAnotherCompany === "Yes") {
326
- const ultimateParentCompanyRequiredFields = getParentCompanySchemaKeys(
327
- ultimateParentCompany,
328
- parentCompaniesSchemaKeys
329
- );
330
- requiredFields = {
331
- ...requiredFields,
332
- ultimateParentCompany: ultimateParentCompanyRequiredFields
333
- };
334
- }
335
- return requiredFields;
336
- };
337
- const getAddressCountryForParentCompany = (parentCompany, leAddress) => {
338
- return parentCompany?.sameAddressAsRootEntity && leAddress ? leAddress?.country : parentCompany?.registrationAddress?.country;
339
- };
340
- const customLabels = {
341
- company: {
342
- legalForm: "businessStructure",
343
- naceCode: "industryAndNaceCode",
344
- netAssets: "totalAssets",
345
- annualTurnover: "annualTurnover",
346
- legalInformationInsolvency: "legalProceedings",
347
- isCompanyOwnedByAnotherCompany: "hasParentCompany",
348
- isParentOwnedByAnotherCompany: "hasUltimateParentCompany",
349
- isThisAddressTheMainHeadquarters: "addressIsHeadquarters"
350
- },
351
- parentCompany: {
352
- legalForm: "businessStructure",
353
- naceCode: "industryAndNaceCode",
354
- netAssets: "totalAssets",
355
- annualTurnover: "annualTurnover",
356
- legalInformationInsolvency: "legalProceedings",
357
- isThisAddressTheMainHeadquarters: "addressIsHeadquarters"
358
- },
359
- ultimateParentCompany: {
360
- legalForm: "businessStructure",
361
- naceCode: "industryAndNaceCode",
362
- netAssets: "totalAssets",
363
- annualTurnover: "annualTurnover",
364
- legalInformationInsolvency: "legalProceedings",
365
- isThisAddressTheMainHeadquarters: "addressIsHeadquarters"
366
- }
367
- };
368
- const getTranslatedLegalInsolvency = (i18n, insolvencyData) => {
369
- if (!insolvencyData) return void 0;
370
- return insolvencyData === "noLegalActionsTaken" ? i18n.get("no") : i18n.get(insolvencyData);
371
- };
372
- const getValidUserLocale = (locale) => {
373
- try {
374
- new Intl.NumberFormat(locale);
375
- return locale;
376
- } catch (error) {
377
- console.warn(`Invalid locale '${locale}' provided. Falling back to 'en-US'.`, error);
378
- return "en-US";
379
- }
380
- };
381
- const getFormattedAmount = (value, currency) => {
382
- if (!value) return void 0;
383
- const userLocale = getValidUserLocale(USER_LOCALE);
384
- const formattedValue = Number(value).toLocaleString(userLocale);
385
- return `${currency} ${formattedValue}`;
386
- };
387
- const formatDataForSummary = (i18n, datasetUtils, data, rootLeAddress) => {
388
- const summaryData = cloneObject(data) || {};
389
- const { company, parentCompany, ultimateParentCompany } = summaryData;
390
- if (company) {
391
- company.legalForm = company.legalFormLabel;
392
- company.naceCode = company.naceCodeLabel;
393
- company.legalEntityIdentifier = company.legalEntityIdentifier ?? "None";
394
- company.legalInformationInsolvency = getTranslatedLegalInsolvency(
395
- i18n,
396
- company?.legalInformationInsolvency
397
- );
398
- company.annualTurnover = getFormattedAmount(company.annualTurnover, company.currency);
399
- company.netAssets = getFormattedAmount(company.netAssets, company.currency);
400
- const { legalProceedingsDate, financialReportingDate } = company;
401
- company.legalProceedingsDate = legalProceedingsDate ? localizeDateString(legalProceedingsDate, i18n.locale) : void 0;
402
- company.financialReportingDate = financialReportingDate ? localizeDateString(financialReportingDate, i18n.locale) : void 0;
403
- }
404
- if (parentCompany) {
405
- const {
406
- legalName,
407
- legalFormLabel,
408
- naceCodeLabel,
409
- country,
410
- legalEntityIdentifier,
411
- legalInformationInsolvency,
412
- annualTurnover,
413
- currency,
414
- netAssets,
415
- legalProceedingsDate,
416
- financialReportingDate,
417
- sameAddressAsRootEntity,
418
- registrationAddress
419
- } = parentCompany;
420
- if (legalName) {
421
- parentCompany.legalForm = legalFormLabel;
422
- parentCompany.naceCode = naceCodeLabel;
423
- parentCompany.country = country ? datasetUtils.getCountryName(country) : "";
424
- if (registrationAddress) {
425
- parentCompany.registrationAddress = {
426
- ...registrationAddress,
427
- country: datasetUtils.getCountryName(registrationAddress?.country)
428
- };
429
- }
430
- parentCompany.legalEntityIdentifier = legalEntityIdentifier ?? "None";
431
- parentCompany.legalInformationInsolvency = getTranslatedLegalInsolvency(
432
- i18n,
433
- legalInformationInsolvency
434
- );
435
- parentCompany.annualTurnover = getFormattedAmount(annualTurnover, currency);
436
- parentCompany.netAssets = getFormattedAmount(netAssets, currency);
437
- parentCompany.legalProceedingsDate = legalProceedingsDate ? localizeDateString(legalProceedingsDate, i18n.locale) : void 0;
438
- parentCompany.financialReportingDate = financialReportingDate ? localizeDateString(financialReportingDate, i18n.locale) : void 0;
439
- if (sameAddressAsRootEntity) {
440
- delete parentCompany.country;
441
- summaryData.parentCompany = {
442
- ...parentCompany,
443
- registrationAddress: {
444
- ...rootLeAddress,
445
- country: datasetUtils.getCountryName(rootLeAddress?.country)
446
- }
447
- };
448
- }
449
- }
450
- }
451
- if (ultimateParentCompany) {
452
- const {
453
- legalName,
454
- legalFormLabel,
455
- naceCodeLabel,
456
- country,
457
- legalEntityIdentifier,
458
- legalInformationInsolvency,
459
- annualTurnover,
460
- currency,
461
- netAssets,
462
- legalProceedingsDate,
463
- financialReportingDate,
464
- sameAddressAsRootEntity,
465
- registrationAddress
466
- } = ultimateParentCompany;
467
- if (legalName) {
468
- ultimateParentCompany.legalForm = legalFormLabel;
469
- ultimateParentCompany.naceCode = naceCodeLabel;
470
- ultimateParentCompany.country = country ? datasetUtils.getCountryName(country) : "";
471
- if (registrationAddress) {
472
- ultimateParentCompany.registrationAddress = {
473
- ...registrationAddress,
474
- country: datasetUtils.getCountryName(registrationAddress?.country)
475
- };
476
- }
477
- ultimateParentCompany.legalEntityIdentifier = legalEntityIdentifier ?? "None";
478
- ultimateParentCompany.legalInformationInsolvency = getTranslatedLegalInsolvency(
479
- i18n,
480
- legalInformationInsolvency
481
- );
482
- ultimateParentCompany.annualTurnover = getFormattedAmount(annualTurnover, currency);
483
- ultimateParentCompany.netAssets = getFormattedAmount(netAssets, currency);
484
- ultimateParentCompany.legalProceedingsDate = legalProceedingsDate ? localizeDateString(legalProceedingsDate, i18n.locale) : void 0;
485
- ultimateParentCompany.financialReportingDate = financialReportingDate ? localizeDateString(financialReportingDate, i18n.locale) : void 0;
486
- if (sameAddressAsRootEntity) {
487
- delete ultimateParentCompany.country;
488
- summaryData.ultimateParentCompany = {
489
- ...ultimateParentCompany,
490
- registrationAddress: {
491
- ...rootLeAddress,
492
- country: datasetUtils.getCountryName(rootLeAddress?.country)
493
- }
494
- };
495
- }
496
- }
497
- }
498
- return summaryData;
499
- };
500
- const mapLegalEntityToBusinessFinancing = (legalEntity) => formatObject(legalEntity, businessFinancingComponentsKeyMapping);
501
- const getNaceCodes = async (baseUrl) => {
502
- return httpGet({
503
- baseUrl,
504
- path: `datasets/naceCodes`
505
- });
506
- };
507
- const useNaceCodes = (options) => {
508
- const { baseUrl } = useApiContext();
509
- return useQuery({
510
- queryKey: ["naceCodes"],
511
- queryFn: () => getNaceCodes(baseUrl.value),
512
- ...options
513
- });
514
- };
515
- function NaceCodeField({
516
- name = "naceCode",
517
- data,
518
- valid,
519
- errorMessage,
520
- label,
521
- readonly,
522
- handleChangeFor,
523
- helperText
524
- }) {
525
- const { i18n } = useI18nContext();
526
- const { data: naceCodesData } = useNaceCodes();
527
- const handleChangeForRef = useRef(handleChangeFor);
528
- useEffect(() => {
529
- handleChangeForRef.current = handleChangeFor;
530
- }, [handleChangeFor]);
531
- const handleChangeForNaceCode = (e) => {
532
- const naceCodeEvent = {
533
- target: {
534
- name: "naceCode",
535
- value: e.target.value
536
- }
537
- };
538
- handleChangeFor("naceCode")(naceCodeEvent);
539
- };
540
- useEffect(() => {
541
- const selectedLabel = naceCodesData?.find((naceCode) => naceCode.id === data.naceCode)?.name;
542
- const naceCodeEvent = {
543
- target: {
544
- name: "naceCodeLabel",
545
- value: selectedLabel
546
- }
547
- };
548
- handleChangeForRef.current("naceCodeLabel")(naceCodeEvent);
549
- }, [data.naceCode, naceCodesData]);
550
- return /* @__PURE__ */ jsx(
551
- Field,
552
- {
553
- name,
554
- label: label || i18n.get("industryAndNaceCode"),
555
- errorMessage,
556
- isValid: valid.naceCode,
557
- helper: helperText?.naceCode,
558
- children: (childProps) => /* @__PURE__ */ jsx(
559
- Select,
560
- {
561
- ...childProps,
562
- name,
563
- placeholder: i18n.get("selectOne"),
564
- selected: data.naceCode,
565
- items: naceCodesData ?? [],
566
- readonly: readonly && !!data,
567
- onChange: handleChangeForNaceCode
568
- }
569
- )
570
- }
571
- );
572
- }
573
- const businessInformationFields = [
574
- "legalForm",
575
- "naceCode",
576
- "naceCodeLabel",
577
- "legalFormLabel",
578
- "doesYourCompanyHaveLEI",
579
- "legalEntityIdentifier"
580
- ];
581
- function BusinessFinancingBusinessInformation(props) {
582
- const {
583
- data,
584
- valid,
585
- errors,
586
- country,
587
- handleFieldChange,
588
- fieldValidationErrors,
589
- targetPage,
590
- sectionHeading,
591
- hideSectionHeading
592
- } = props;
593
- const { t } = useTranslation(["common", "efp"]);
594
- const formUtils = createFormUtils(props, t);
595
- if (!handleFieldChange) {
596
- return;
597
- }
598
- const isMainCompany = targetPage === BusinessFinancingPages.COMPANY_PAGE;
599
- return /* @__PURE__ */ jsxs(Fragment, { children: [
600
- !hideSectionHeading && /* @__PURE__ */ jsx(Typography, { el: "h3", variant: "title", children: sectionHeading ? translateStringOrObject(t, sectionHeading) : t(($) => $["yourBusinessInformation"]) }),
601
- /* @__PURE__ */ jsx(
602
- LegalFormField,
603
- {
604
- name: "legalForm",
605
- countryCode: country,
606
- data: {
607
- legalForm: data?.legalForm
608
- },
609
- valid: { legalForm: valid?.legalForm },
610
- errorMessage: formUtils.getErrorMessage("legalForm", errors, fieldValidationErrors),
611
- handleChangeFor: handleFieldChange,
612
- readonly: false,
613
- label: formUtils.getLabel("legalForm", "businessStructure")
614
- }
615
- ),
616
- /* @__PURE__ */ jsx(
617
- NaceCodeField,
618
- {
619
- name: "naceCode",
620
- data: { naceCode: data?.naceCode },
621
- valid: { naceCode: valid?.naceCode },
622
- errorMessage: formUtils.getErrorMessage("naceCode", errors, fieldValidationErrors),
623
- handleChangeFor: handleFieldChange,
624
- readonly: false,
625
- label: formUtils.getLabel("naceCode", "industryAndNaceCode")
626
- }
627
- ),
628
- /* @__PURE__ */ jsx(
629
- Field,
630
- {
631
- el: "fieldset",
632
- name: "doesYourCompanyHaveLEI",
633
- classNameModifiers: ["highExposureBusinessInformation"],
634
- label: t(($) => $[isMainCompany ? "doesYourCompanyHaveLEI" : "doesThisCompanyHaveLEI"]),
635
- helper: /* @__PURE__ */ jsxs(Typography, { el: "div", variant: "body", color: "secondary", children: [
636
- /* @__PURE__ */ jsx("span", { children: t(($) => $["anLEIIsAUniqueCode"], { ns: "efp" }) }),
637
- " ",
638
- /* @__PURE__ */ jsx(Link, { href: "https://search.gleif.org/#/search/", external: true, inline: true, children: t(($) => $["lookUpYourLEI"], { ns: "efp" }) })
639
- ] }),
640
- errorMessage: formUtils.getErrorMessage(
641
- "doesYourCompanyHaveLEI",
642
- errors,
643
- fieldValidationErrors
644
- ),
645
- children: (childProps) => /* @__PURE__ */ jsx(
646
- RadioGroup,
647
- {
648
- ...childProps,
649
- name: "doesYourCompanyHaveLEI",
650
- items: isMainCompany ? businessFinancingRadioItems : businessFinancingParentRadioItems,
651
- value: data?.doesYourCompanyHaveLEI,
652
- disabled: false,
653
- onChange: handleFieldChange("doesYourCompanyHaveLEI"),
654
- "aria-required": true,
655
- "aria-invalid": !valid?.doesYourCompanyHaveLEI
656
- }
657
- )
658
- }
659
- ),
660
- data?.doesYourCompanyHaveLEI === "Yes" && /* @__PURE__ */ jsx(
661
- Field,
662
- {
663
- name: "legalEntityIdentifier",
664
- label: formUtils.getLabel("legalEntityIdentifier", "legalEntityIdentifier"),
665
- errorMessage: formUtils.getErrorMessage(
666
- "legalEntityIdentifier",
667
- errors,
668
- fieldValidationErrors
669
- ),
670
- isValid: valid?.legalEntityIdentifier,
671
- helper: t(($) => $["enterNCharactersWithAMixForExample"], {
672
- numChars: 20,
673
- example: "529900T8BM49AURSDO55"
674
- }),
675
- children: (childProps) => /* @__PURE__ */ jsx(
676
- InputText,
677
- {
678
- ...childProps,
679
- name: "legalEntityIdentifier",
680
- value: data?.legalEntityIdentifier,
681
- readonly: false,
682
- onInput: handleFieldChange("legalEntityIdentifier", "input"),
683
- onBlur: handleFieldChange("legalEntityIdentifier", "blur"),
684
- "aria-required": true,
685
- "aria-invalid": !valid?.legalEntityIdentifier,
686
- isValid: valid?.legalEntityIdentifier
687
- }
688
- )
689
- }
690
- )
691
- ] });
692
- }
693
- const TODAY_DATE$1 = (/* @__PURE__ */ new Date()).toISOString().split("T")[0];
694
- const financialInformationFields = [
695
- "numberOfEmployees",
696
- "financialReportingDate",
697
- "legalEntityIdentifier",
698
- "currency",
699
- "netAssets",
700
- "annualTurnover"
701
- ];
702
- function BusinessFinancingFinancialInformation(props) {
703
- const { data, valid, errors, country, sectionHeading, handleFieldChange, fieldValidationErrors } = props;
704
- const { t, i18n: i18next } = useTranslation(["common", "efp"]);
705
- const formUtils = createFormUtils(props, t);
706
- const currenciesForCurrCountry = useMemo(() => currencyByCountry[country] ?? [], [country]);
707
- if (!handleFieldChange) {
708
- return;
709
- }
710
- const financialData = data;
711
- const financialErrors = errors;
712
- const isFinancialDataValid = valid;
713
- const [firstCurrency] = currenciesForCurrCountry;
714
- const defaultCurrency = firstCurrency ?? "EUR";
715
- if (currenciesForCurrCountry.length === 1 && data?.currency !== firstCurrency) {
716
- handleFieldChange("currency")(firstCurrency);
717
- }
718
- return /* @__PURE__ */ jsxs("section", { children: [
719
- /* @__PURE__ */ jsx(Typography, { el: "h3", variant: "title", children: sectionHeading ? translateStringOrObject(t, sectionHeading) : t(($) => $["businessFinancials"]) }),
720
- /* @__PURE__ */ jsx(
721
- Field,
722
- {
723
- name: "numberOfEmployees",
724
- label: formUtils.getLabel("numberOfEmployees", "numberOfEmployees"),
725
- helper: t(($) => $["theNumberOfIndividualsReceivingAWageOrSalary"], { ns: "efp" }),
726
- errorMessage: formUtils.getErrorMessage("numberOfEmployees", errors, fieldValidationErrors),
727
- isValid: valid?.numberOfEmployees,
728
- children: (childProps) => /* @__PURE__ */ jsx(
729
- InputNumber,
730
- {
731
- ...childProps,
732
- "aria-required": true,
733
- "aria-invalid": !valid?.numberOfEmployees,
734
- name: "numberOfEmployees",
735
- min: "0",
736
- step: "1",
737
- value: data?.numberOfEmployees,
738
- onInput: handleFieldChange("numberOfEmployees", "input"),
739
- onBlur: handleFieldChange("numberOfEmployees", "blur")
740
- }
741
- )
742
- }
743
- ),
744
- currenciesForCurrCountry?.length > 1 && /* @__PURE__ */ jsx(
745
- Currency,
746
- {
747
- country,
748
- data: formUtils.getFieldData(financialData, CURRENCY_FIELD),
749
- errors: formUtils.getFieldErrors(financialErrors, fieldValidationErrors, CURRENCY_FIELD),
750
- handleChangeFor: handleFieldChange,
751
- labels: { currency: t(($) => $["financialStatementReportingCurrency"]) },
752
- readonly: formUtils.isReadOnly("currency"),
753
- valid: formUtils.getFieldValid(isFinancialDataValid, CURRENCY_FIELD)
754
- }
755
- ),
756
- /* @__PURE__ */ jsxs("div", { className: "adyen-kyc-high-exposure-financials", children: [
757
- /* @__PURE__ */ jsx(
758
- Field,
759
- {
760
- name: "netAssets",
761
- label: formUtils.getLabel("netAssets", "balanceSheetTotal"),
762
- helper: t(($) => $["theSumOfTotalLiabilities"], { ns: "efp" }),
763
- errorMessage: formUtils.getErrorMessage("netAssets", errors, fieldValidationErrors),
764
- children: (childProps) => /* @__PURE__ */ jsx(
765
- InputCurrency,
766
- {
767
- ...childProps,
768
- locale: i18next.language,
769
- currency: data?.currency ?? defaultCurrency,
770
- amount: data?.netAssets ? Number(data?.netAssets) : void 0,
771
- onAmountChanged: handleFieldChange("netAssets")
772
- }
773
- )
774
- }
775
- ),
776
- /* @__PURE__ */ jsx(
777
- Field,
778
- {
779
- name: "annualTurnover",
780
- label: formUtils.getLabel("annualTurnover", "annualTurnover"),
781
- helper: t(($) => $["theAnnualSalesRevenue"], { ns: "efp" }),
782
- errorMessage: formUtils.getErrorMessage("annualTurnover", errors, fieldValidationErrors),
783
- children: (childProps) => /* @__PURE__ */ jsx(
784
- InputCurrency,
785
- {
786
- ...childProps,
787
- name: "annualTurnover",
788
- locale: i18next.language,
789
- currency: data?.currency ?? defaultCurrency,
790
- amount: data?.annualTurnover ? Number(data?.annualTurnover) : void 0,
791
- onAmountChanged: handleFieldChange("annualTurnover")
792
- }
793
- )
794
- }
795
- ),
796
- /* @__PURE__ */ jsx(
797
- Field,
798
- {
799
- name: "financialReportingDate",
800
- label: formUtils.getLabel("financialReportingDate", "statementReportingDate"),
801
- helper: t(($) => $["useTheMoreRecentOfTheReportingDates"], { ns: "efp" }),
802
- errorMessage: formUtils.getErrorMessage(
803
- "financialReportingDate",
804
- errors,
805
- fieldValidationErrors
806
- ),
807
- isValid: valid?.financialReportingDate,
808
- children: (childProps) => /* @__PURE__ */ jsx(
809
- InputDate,
810
- {
811
- ...childProps,
812
- name: "financialReportingDate",
813
- value: data?.financialReportingDate,
814
- onInput: handleFieldChange("financialReportingDate", "input"),
815
- onBlur: handleFieldChange("financialReportingDate", "blur"),
816
- "aria-required": true,
817
- "aria-invalid": !valid?.financialReportingDate,
818
- max: TODAY_DATE$1
819
- }
820
- )
821
- }
822
- )
823
- ] })
824
- ] });
825
- }
826
- const TODAY_DATE = (/* @__PURE__ */ new Date()).toISOString().split("T")[0];
827
- const legalInformationFields = [
828
- "legalInformationInsolvency",
829
- "legalProceedingsDate"
830
- ];
831
- function BusinessFinancingLegalInformation(props) {
832
- const { data, valid, errors, fieldValidationErrors, handleFieldChange, sectionHeading } = props;
833
- const { t } = useTranslation(["common", "efp"]);
834
- const formUtils = createFormUtils(props, t);
835
- if (!handleFieldChange) {
836
- return;
837
- }
838
- const legalInformationInsolvencyItems = [
839
- { id: "noLegalActionsTaken", name: t(($) => $["no"]) },
840
- {
841
- id: "underJudicialAdministration",
842
- name: t(($) => $["yesTheCompanyIsUnderJudicialAdministration"], { ns: "efp" })
843
- },
844
- {
845
- id: "bankruptcyInsolvency",
846
- name: t(($) => $["yesTheCompanyIsFilingForBankruptcy"], { ns: "efp" })
847
- },
848
- {
849
- id: "otherLegalMeasures",
850
- name: t(($) => $["yesTheCompanyIsFacingOtherLegalMeasures"], { ns: "efp" })
851
- },
852
- { id: "iDontKnow", name: t(($) => $["iDontKnow"]) }
853
- ];
854
- const showLegalProceedingsDateField = data?.legalInformationInsolvency && !["noLegalActionsTaken", "iDontKnow"].includes(data?.legalInformationInsolvency);
855
- return /* @__PURE__ */ jsxs(Fragment, { children: [
856
- /* @__PURE__ */ jsx(Typography, { el: "h3", variant: "title", children: sectionHeading ? translateStringOrObject(t, sectionHeading) : t(($) => $["legalInformation"]) }),
857
- /* @__PURE__ */ jsx(
858
- Field,
859
- {
860
- name: "legalInformationInsolvency",
861
- label: formUtils.getLabel("legalInformationInsolvency", "legalInformationInsolvency"),
862
- errorMessage: formUtils.getErrorMessage(
863
- "legalInformationInsolvency",
864
- errors,
865
- fieldValidationErrors
866
- ),
867
- isValid: valid?.legalInformationInsolvency,
868
- children: (childProps) => /* @__PURE__ */ jsx(
869
- Select,
870
- {
871
- ...childProps,
872
- onChange: handleFieldChange("legalInformationInsolvency", "blur"),
873
- name: "legalInformationInsolvency",
874
- placeholder: t(($) => $["selectOne"]),
875
- selected: data?.legalInformationInsolvency,
876
- items: legalInformationInsolvencyItems,
877
- "aria-required": true,
878
- "aria-invalid": !valid?.legalInformationInsolvency
879
- }
880
- )
881
- }
882
- ),
883
- showLegalProceedingsDateField && /* @__PURE__ */ jsx(
884
- Field,
885
- {
886
- name: "legalProceedingsDate",
887
- label: formUtils.getLabel("legalProceedingsDate", "legalProceedingsDate"),
888
- errorMessage: formUtils.getErrorMessage(
889
- "legalProceedingsDate",
890
- errors,
891
- fieldValidationErrors
892
- ),
893
- isValid: valid?.legalProceedingsDate,
894
- children: (childProps) => /* @__PURE__ */ jsx(
895
- InputDate,
896
- {
897
- ...childProps,
898
- name: "legalProceedingsDate",
899
- value: data.legalProceedingsDate,
900
- onInput: handleFieldChange("legalProceedingsDate", "input"),
901
- onBlur: handleFieldChange("legalProceedingsDate", "blur"),
902
- "aria-required": true,
903
- "aria-invalid": !valid?.legalProceedingsDate,
904
- max: TODAY_DATE
905
- }
906
- )
907
- }
908
- )
909
- ] });
910
- }
911
- const ownershipStructureFields = [
912
- "isCompanyOwnedByAnotherCompany",
913
- "isParentOwnedByAnotherCompany"
914
- ];
915
- function BusinessFinancingOwnershipStructure(props) {
916
- const { data, valid, errors = {}, legalEntity, fieldValidationErrors, handleFieldChange } = props;
917
- const { t } = useTranslation(["efp"]);
918
- const { t: commonT } = useTranslation("common");
919
- const formUtils = createFormUtils(props, commonT);
920
- if (!handleFieldChange) {
921
- return;
922
- }
923
- return /* @__PURE__ */ jsxs(Fragment, { children: [
924
- /* @__PURE__ */ jsx(Typography, { el: "h3", variant: "title", children: t(($) => $["ownershipStructure"]) }),
925
- /* @__PURE__ */ jsx(
926
- Field,
927
- {
928
- el: "fieldset",
929
- name: "isCompanyOwnedByAnotherCompany",
930
- classNameModifiers: ["highExposureBusinessInformation"],
931
- label: t(($) => $["isCompanyOwnedByAnotherCompany"], {
932
- company: legalEntity?.organization ? legalEntity.organization.legalName : ""
933
- }),
934
- errorMessage: formUtils.getErrorMessage(
935
- "isCompanyOwnedByAnotherCompany",
936
- errors,
937
- fieldValidationErrors
938
- ),
939
- helper: /* @__PURE__ */ jsx(Typography, { el: "div", variant: "body", color: "secondary", children: /* @__PURE__ */ jsx("span", { children: t(($) => $["thisMeansYouHaveAParentCompany"]) }) }),
940
- children: (childProps) => /* @__PURE__ */ jsx(
941
- RadioGroup,
942
- {
943
- ...childProps,
944
- name: "isCompanyOwnedByAnotherCompany",
945
- items: businessFinancingRadioItems,
946
- value: data?.isCompanyOwnedByAnotherCompany,
947
- disabled: false,
948
- onChange: handleFieldChange("isCompanyOwnedByAnotherCompany"),
949
- "aria-required": true,
950
- "aria-invalid": !valid?.isCompanyOwnedByAnotherCompany
951
- }
952
- )
953
- }
954
- ),
955
- data?.isCompanyOwnedByAnotherCompany === "Yes" && /* @__PURE__ */ jsx(
956
- Field,
957
- {
958
- el: "fieldset",
959
- name: "isParentOwnedByAnotherCompany",
960
- classNameModifiers: ["highExposureBusinessInformation"],
961
- label: formUtils.getLabel("isParentOwnedByAnotherCompany"),
962
- helper: /* @__PURE__ */ jsx(Typography, { el: "div", variant: "body", color: "secondary", children: /* @__PURE__ */ jsx("span", { children: t(($) => $["thisMeansYouHaveAnUltimateParentCompany"]) }) }),
963
- errorMessage: formUtils.getErrorMessage(
964
- "isParentOwnedByAnotherCompany",
965
- errors,
966
- fieldValidationErrors
967
- ),
968
- children: (childProps) => /* @__PURE__ */ jsx(
969
- RadioGroup,
970
- {
971
- ...childProps,
972
- name: "isParentOwnedByAnotherCompany",
973
- items: businessFinancingRadioItems,
974
- value: data.isParentOwnedByAnotherCompany,
975
- disabled: false,
976
- onChange: handleFieldChange("isParentOwnedByAnotherCompany"),
977
- "aria-required": true,
978
- "aria-invalid": !valid?.isParentOwnedByAnotherCompany
979
- }
980
- )
981
- }
982
- )
983
- ] });
984
- }
985
- function AdditionalFieldsForBusinessFinancingCompany(props) {
986
- const { t } = useTranslation(["common", "efp"]);
987
- const {
988
- form: { handleChangeFor, data, setValid }
989
- } = useFormContext();
990
- const { country, formVerificationErrors, legalEntity, fieldValidationErrors } = props;
991
- const formUtils = createFormUtils(props, t);
992
- const handleChange = (fieldName, mode) => handleChangeFor(fieldName, "company", mode);
993
- const ownershipStructureProps = getFieldProps(props, ownershipStructureFields);
994
- const businessInformationProps = getFieldProps(props, businessInformationFields);
995
- const financialInformationProps = getFieldProps(props, financialInformationFields);
996
- const legalInformationProps = getFieldProps(props, legalInformationFields);
997
- const currenciesForCurrCountry = currencyByCountry[country] ?? [];
998
- if (currenciesForCurrCountry?.length === 1) {
999
- setValid("currency", true, "company");
1000
- }
1001
- return /* @__PURE__ */ jsxs("form", { className: "adyen-kyc__high-exposure-company", children: [
1002
- /* @__PURE__ */ jsx(
1003
- FormHeader,
1004
- {
1005
- heading: t(($) => $["additionalInformationForBusinessFinancing"]),
1006
- description: t(($) => $["toProcessYourFundsWeNeedMoreInformation"], { ns: "efp" })
1007
- }
1008
- ),
1009
- /* @__PURE__ */ jsx(
1010
- ErrorPanel,
1011
- {
1012
- verificationErrors: formVerificationErrors,
1013
- validationErrors: fieldValidationErrors,
1014
- formUtils,
1015
- id: "ariaErrorField"
1016
- }
1017
- ),
1018
- /* @__PURE__ */ jsx(
1019
- BusinessFinancingBusinessInformation,
1020
- {
1021
- ...businessInformationProps,
1022
- handleFieldChange: handleChange,
1023
- country,
1024
- targetPage: BusinessFinancingPages.COMPANY_PAGE,
1025
- sectionHeading: "yourBusinessInformation",
1026
- data: formUtils.getFieldData(data?.company ?? {}, businessInformationFields)
1027
- }
1028
- ),
1029
- isEeaCountry(country) && /* @__PURE__ */ jsx(
1030
- BusinessFinancingFinancialInformation,
1031
- {
1032
- ...financialInformationProps,
1033
- handleFieldChange: handleChange,
1034
- country,
1035
- targetPage: BusinessFinancingPages.COMPANY_PAGE,
1036
- data: formUtils.getFieldData(data?.company ?? {}, financialInformationFields)
1037
- }
1038
- ),
1039
- /* @__PURE__ */ jsx(
1040
- BusinessFinancingLegalInformation,
1041
- {
1042
- ...legalInformationProps,
1043
- country,
1044
- handleFieldChange: handleChange,
1045
- targetPage: BusinessFinancingPages.COMPANY_PAGE,
1046
- sectionHeading: "legalInformation",
1047
- data: formUtils.getFieldData(data?.company ?? {}, legalInformationFields)
1048
- }
1049
- ),
1050
- /* @__PURE__ */ jsx(
1051
- BusinessFinancingOwnershipStructure,
1052
- {
1053
- ...ownershipStructureProps,
1054
- legalEntity,
1055
- handleFieldChange: handleChange,
1056
- data: formUtils.getFieldData(data?.company ?? {}, ownershipStructureFields)
1057
- }
1058
- )
1059
- ] });
1060
- }
1061
- const basicInformationFields = [
1062
- "legalName"
1063
- ];
1064
- function BusinessFinancingBasicCompanyInformation(props) {
1065
- const { data, valid, errors, fieldValidationErrors, handleFieldChange, sectionHeading } = props;
1066
- const { t } = useTranslation(["common", "efp"]);
1067
- const formUtils = createFormUtils(props, t);
1068
- if (!handleFieldChange) {
1069
- return;
1070
- }
1071
- return /* @__PURE__ */ jsxs(Fragment, { children: [
1072
- /* @__PURE__ */ jsx(Typography, { el: "h3", variant: "title", children: sectionHeading ? translateStringOrObject(t, sectionHeading) : t(($) => $["basicCompanyInformation"]) }),
1073
- /* @__PURE__ */ jsx(
1074
- Field,
1075
- {
1076
- name: "legalName",
1077
- label: formUtils.getLabel("legalName", "legalName"),
1078
- errorMessage: formUtils.getErrorMessage("legalName", errors, fieldValidationErrors),
1079
- isValid: valid?.legalName,
1080
- helper: t(($) => $["legalNameIsUsedToIdentifyABusinessWithTheGovernment"], { ns: "efp" }),
1081
- helperPosition: "below",
1082
- children: (childProps) => /* @__PURE__ */ jsx(
1083
- InputText,
1084
- {
1085
- ...childProps,
1086
- name: "legalName",
1087
- value: data?.legalName,
1088
- readonly: false,
1089
- onInput: handleFieldChange("legalName", "input"),
1090
- onBlur: handleFieldChange("legalName", "blur"),
1091
- "aria-required": true,
1092
- "aria-invalid": !valid?.legalName
1093
- }
1094
- )
1095
- }
1096
- )
1097
- ] });
1098
- }
1099
- const OPTIONAL_ADDRESS_FIELDS = ["otherAddressInformation"];
1100
- const registeredAddressFields = [
1101
- "isThisAddressTheMainHeadquarters",
1102
- "registrationAddress",
1103
- "sameAddressAsRootEntity"
1104
- ];
1105
- function BusinessFinancingRegisteredAddress(props) {
1106
- const {
1107
- data,
1108
- valid,
1109
- errors,
1110
- fieldValidationErrors,
1111
- shouldValidate,
1112
- defaultData,
1113
- handleFieldChange,
1114
- formId,
1115
- legalEntity,
1116
- sectionHeading
1117
- } = props;
1118
- const { t: efpT, i18n } = useTranslation(["efp"]);
1119
- const { t: commonT } = useTranslation("common");
1120
- const formUtils = createFormUtils(props, commonT);
1121
- const addressCountry = data?.registrationAddress?.country;
1122
- const datasetUtils = datasetUtilities(i18n.language);
1123
- const addressSchema = useMemo(() => {
1124
- return getAddressSchemaForCountry(addressCountry).filter((field) => {
1125
- if (addressCountry) {
1126
- return !COUNTRIES_WITH_STATES_DATASET.includes(addressCountry) ? field !== "stateOrProvince" : true;
1127
- }
1128
- return true;
1129
- });
1130
- }, [addressCountry]);
1131
- if (!handleFieldChange) {
1132
- return;
1133
- }
1134
- const handleRegistrationAddressChange = (state) => {
1135
- if (!state.data.country) {
1136
- state.data.country = addressCountry;
1137
- }
1138
- handleFieldChange("registrationAddress")(state.data);
1139
- };
1140
- return /* @__PURE__ */ jsxs(Fragment, { children: [
1141
- /* @__PURE__ */ jsx(Typography, { el: "h3", variant: "title", children: sectionHeading ? translateStringOrObject(commonT, sectionHeading) : commonT(($) => $["registeredAddress"]) }),
1142
- /* @__PURE__ */ jsx(
1143
- Field,
1144
- {
1145
- name: "sameAddressAsRootEntity",
1146
- errorMessage: errors?.sameAddressAsRootEntity?.errorMessage,
1147
- isValid: valid?.sameAddressAsRootEntity,
1148
- children: (childProps) => /* @__PURE__ */ jsx(
1149
- Checkbox,
1150
- {
1151
- ...childProps,
1152
- "aria-required": formUtils.isRequiredField("sameAddressAsRootEntity"),
1153
- "aria-invalid": !valid?.sameAddressAsRootEntity,
1154
- name: "sameAddressAsRootEntity",
1155
- label: efpT(($) => $["sameAddressAsRootEntity"], {
1156
- rootLegalEntityName: legalEntity?.organization?.legalName ?? ""
1157
- }),
1158
- checked: data?.sameAddressAsRootEntity ?? false,
1159
- onChange: handleFieldChange("sameAddressAsRootEntity")
1160
- }
1161
- )
1162
- }
1163
- ),
1164
- data?.sameAddressAsRootEntity && legalEntity?.organization?.registeredAddress ? /* @__PURE__ */ jsxs("div", { className: "adyen-kyc-high-exposure-structured-address", children: [
1165
- /* @__PURE__ */ jsx("div", { children: legalEntity.organization.registeredAddress.street }),
1166
- /* @__PURE__ */ jsx("div", { children: legalEntity.organization.registeredAddress.street2 }),
1167
- /* @__PURE__ */ jsxs("div", { children: [
1168
- legalEntity.organization.registeredAddress.city,
1169
- " ",
1170
- legalEntity.organization.registeredAddress.postalCode ? `, ${legalEntity.organization.registeredAddress.postalCode}` : ""
1171
- ] }),
1172
- /* @__PURE__ */ jsx("div", { children: legalEntity.organization.registeredAddress.stateOrProvince }),
1173
- /* @__PURE__ */ jsx("div", { children: legalEntity.organization.registeredAddress.country ? datasetUtils.getCountryName(legalEntity.organization.registeredAddress.country) : "" })
1174
- ] }) : /* @__PURE__ */ jsx(
1175
- Address,
1176
- {
1177
- id: formId,
1178
- addressType: "registrationAddress",
1179
- data: { ...defaultData?.registrationAddress, country: addressCountry },
1180
- labels: addressCountry ? getAddressSchemaLabelsByCountry(addressCountry) : void 0,
1181
- countryCode: addressCountry,
1182
- requiredFields: addressSchema,
1183
- optionalFields: OPTIONAL_ADDRESS_FIELDS,
1184
- onChange: handleRegistrationAddressChange,
1185
- shouldValidate
1186
- }
1187
- ),
1188
- /* @__PURE__ */ jsx(
1189
- Field,
1190
- {
1191
- el: "fieldset",
1192
- name: "isThisAddressTheMainHeadquarters",
1193
- classNameModifiers: ["highExposureBusinessInformation"],
1194
- label: efpT(($) => $["areTheMainHeadquartersAtThisAddress"]),
1195
- helper: efpT(($) => $["addressRegisteredWithGovernment"]),
1196
- errorMessage: formUtils.getErrorMessage(
1197
- "isThisAddressTheMainHeadquarters",
1198
- errors,
1199
- fieldValidationErrors
1200
- ),
1201
- children: (childProps) => /* @__PURE__ */ jsx(
1202
- RadioGroup,
1203
- {
1204
- ...childProps,
1205
- name: "isThisAddressTheMainHeadquarters",
1206
- items: businessFinancingRadioItems,
1207
- value: data?.isThisAddressTheMainHeadquarters,
1208
- disabled: false,
1209
- onChange: handleFieldChange("isThisAddressTheMainHeadquarters"),
1210
- "aria-required": true,
1211
- "aria-invalid": !valid?.isThisAddressTheMainHeadquarters
1212
- }
1213
- )
1214
- }
1215
- )
1216
- ] });
1217
- }
1218
- const parentCompanyFormId$1 = businessFinancingForms.parentCompany.formId;
1219
- function AdditionalFieldsForBusinessFinancingParentCompany(props) {
1220
- const { t } = useTranslation(["common", "efp"]);
1221
- const {
1222
- form: { handleChangeFor, data, setValid }
1223
- } = useFormContext();
1224
- const { country, formVerificationErrors, fieldValidationErrors, legalEntity } = props;
1225
- const formUtils = createFormUtils(props, t);
1226
- const handleChange = (fieldName, mode) => handleChangeFor(fieldName, "parentCompany", mode);
1227
- setValid("sameAddressAsRootEntity", true, "parentCompany");
1228
- const basicCompanyInformationProps = getFieldProps(props, basicInformationFields);
1229
- const registeredAddressProps = getFieldProps(props, registeredAddressFields);
1230
- const businessInformationProps = getFieldProps(props, businessInformationFields);
1231
- const financialInformationProps = getFieldProps(props, financialInformationFields);
1232
- const legalInformationProps = getFieldProps(props, legalInformationFields);
1233
- const addressCountry = getAddressCountryForParentCompany(
1234
- data?.parentCompany,
1235
- legalEntity?.organization?.registeredAddress
1236
- );
1237
- const currenciesForCurrCountry = currencyByCountry[addressCountry ?? country] ?? [];
1238
- if (currenciesForCurrCountry?.length === 1) {
1239
- setValid("currency", true, "parentCompany");
1240
- }
1241
- return /* @__PURE__ */ jsxs("form", { className: "adyen-kyc__high-exposure-parent-company", children: [
1242
- /* @__PURE__ */ jsx(Typography, { el: "h1", variant: "title-l", children: t(($) => $["parentCompanyInformation"]) }),
1243
- /* @__PURE__ */ jsx(Typography, { el: "p", variant: "body", children: t(($) => $["inThePreviousStepOwnedByAParentCompany"], { ns: "efp" }) }),
1244
- /* @__PURE__ */ jsx(
1245
- ErrorPanel,
1246
- {
1247
- verificationErrors: formVerificationErrors,
1248
- validationErrors: fieldValidationErrors,
1249
- formUtils,
1250
- id: "ariaErrorField"
1251
- }
1252
- ),
1253
- /* @__PURE__ */ jsx(
1254
- BusinessFinancingBasicCompanyInformation,
1255
- {
1256
- ...basicCompanyInformationProps,
1257
- sectionHeading: "parentCompanyInformation",
1258
- handleFieldChange: handleChange,
1259
- data: formUtils.getFieldData(data?.parentCompany ?? {}, basicInformationFields)
1260
- }
1261
- ),
1262
- /* @__PURE__ */ jsx(
1263
- BusinessFinancingRegisteredAddress,
1264
- {
1265
- ...registeredAddressProps,
1266
- formId: parentCompanyFormId$1,
1267
- sectionHeading: "parentCompanyAddress",
1268
- defaultData: data?.parentCompany,
1269
- legalEntity,
1270
- handleFieldChange: handleChange,
1271
- data: formUtils.getFieldData(data?.parentCompany ?? {}, registeredAddressFields)
1272
- }
1273
- ),
1274
- /* @__PURE__ */ jsx(
1275
- BusinessFinancingBusinessInformation,
1276
- {
1277
- ...businessInformationProps,
1278
- hideSectionHeading: true,
1279
- country: addressCountry ?? country,
1280
- targetPage: BusinessFinancingPages.PARENT_COMPANY_PAGE,
1281
- handleFieldChange: handleChange,
1282
- data: formUtils.getFieldData(data?.parentCompany ?? {}, businessInformationFields)
1283
- }
1284
- ),
1285
- isEeaCountry(addressCountry) && /* @__PURE__ */ jsx(
1286
- BusinessFinancingFinancialInformation,
1287
- {
1288
- ...financialInformationProps,
1289
- country: addressCountry ?? country,
1290
- targetPage: BusinessFinancingPages.PARENT_COMPANY_PAGE,
1291
- handleFieldChange: handleChange,
1292
- data: formUtils.getFieldData(data?.parentCompany ?? {}, financialInformationFields)
1293
- }
1294
- ),
1295
- /* @__PURE__ */ jsx(
1296
- BusinessFinancingLegalInformation,
1297
- {
1298
- ...legalInformationProps,
1299
- country: addressCountry ?? country,
1300
- targetPage: BusinessFinancingPages.PARENT_COMPANY_PAGE,
1301
- sectionHeading: "legalInformation",
1302
- handleFieldChange: handleChange,
1303
- data: formUtils.getFieldData(data?.parentCompany ?? {}, legalInformationFields)
1304
- }
1305
- )
1306
- ] });
1307
- }
1308
- const ultimateParentCompanyFormId$1 = businessFinancingForms.ultimateParentCompany.formId;
1309
- function AdditionalFieldsForBusinessFinancingUltimateParentCompany(props) {
1310
- const { formVerificationErrors, country, fieldValidationErrors, legalEntity } = props;
1311
- const { t } = useTranslation(["common", "efp"]);
1312
- const formUtils = createFormUtils(props, t);
1313
- const {
1314
- form: { handleChangeFor, data, setValid }
1315
- } = useFormContext();
1316
- const handleChange = (fieldName, mode) => handleChangeFor(fieldName, "ultimateParentCompany", mode);
1317
- setValid("sameAddressAsRootEntity", true, "ultimateParentCompany");
1318
- const basicCompanyInformationProps = getFieldProps(props, basicInformationFields);
1319
- const registeredAddressProps = getFieldProps(props, registeredAddressFields);
1320
- const businessInformationProps = getFieldProps(props, businessInformationFields);
1321
- const financialInformationProps = getFieldProps(props, financialInformationFields);
1322
- const legalInformationProps = getFieldProps(props, legalInformationFields);
1323
- const addressCountry = getAddressCountryForParentCompany(
1324
- data?.ultimateParentCompany,
1325
- legalEntity?.organization?.registeredAddress
1326
- );
1327
- const currenciesForCurrCountry = currencyByCountry[addressCountry ?? country] ?? [];
1328
- if (currenciesForCurrCountry?.length === 1) {
1329
- setValid("currency", true, "ultimateParentCompany");
1330
- }
1331
- return /* @__PURE__ */ jsxs("form", { className: "adyen-kyc__high-exposure-ultimate-parent-company", children: [
1332
- /* @__PURE__ */ jsx(Typography, { el: "h1", variant: "title-l", children: t(($) => $["ultimateParentCompanyInformation"]) }),
1333
- /* @__PURE__ */ jsx(Typography, { el: "p", variant: "body", children: t(($) => $["inThePreviousStepOwnedByAnUltimateParentCompany"], { ns: "efp" }) }),
1334
- /* @__PURE__ */ jsx(
1335
- ErrorPanel,
1336
- {
1337
- verificationErrors: formVerificationErrors,
1338
- validationErrors: fieldValidationErrors,
1339
- formUtils,
1340
- id: "ariaErrorField"
1341
- }
1342
- ),
1343
- /* @__PURE__ */ jsx(
1344
- BusinessFinancingBasicCompanyInformation,
1345
- {
1346
- ...basicCompanyInformationProps,
1347
- sectionHeading: "ultimateParentCompanyInformation",
1348
- handleFieldChange: handleChange,
1349
- data: formUtils.getFieldData(data?.ultimateParentCompany ?? {}, basicInformationFields)
1350
- }
1351
- ),
1352
- /* @__PURE__ */ jsx(
1353
- BusinessFinancingRegisteredAddress,
1354
- {
1355
- ...registeredAddressProps,
1356
- formId: ultimateParentCompanyFormId$1,
1357
- sectionHeading: "ultimateParentCompanyAddress",
1358
- defaultData: data?.ultimateParentCompany,
1359
- handleFieldChange: handleChange,
1360
- data: formUtils.getFieldData(data?.ultimateParentCompany ?? {}, registeredAddressFields),
1361
- legalEntity
1362
- }
1363
- ),
1364
- /* @__PURE__ */ jsx(
1365
- BusinessFinancingBusinessInformation,
1366
- {
1367
- ...businessInformationProps,
1368
- hideSectionHeading: true,
1369
- country: addressCountry ?? country,
1370
- targetPage: BusinessFinancingPages.ULTIMATE_PARENT_COMPANY_PAGE,
1371
- handleFieldChange: handleChange,
1372
- data: formUtils.getFieldData(data?.ultimateParentCompany ?? {}, businessInformationFields)
1373
- }
1374
- ),
1375
- isEeaCountry(addressCountry) && /* @__PURE__ */ jsx(
1376
- BusinessFinancingFinancialInformation,
1377
- {
1378
- ...financialInformationProps,
1379
- country: addressCountry ?? country,
1380
- targetPage: BusinessFinancingPages.ULTIMATE_PARENT_COMPANY_PAGE,
1381
- handleFieldChange: handleChange,
1382
- data: formUtils.getFieldData(
1383
- data?.ultimateParentCompany ?? {},
1384
- financialInformationFields
1385
- )
1386
- }
1387
- ),
1388
- /* @__PURE__ */ jsx(
1389
- BusinessFinancingLegalInformation,
1390
- {
1391
- ...legalInformationProps,
1392
- country: addressCountry ?? country,
1393
- sectionHeading: "legalInformation",
1394
- targetPage: BusinessFinancingPages.ULTIMATE_PARENT_COMPANY_PAGE,
1395
- handleFieldChange: handleChange,
1396
- data: formUtils.getFieldData(data?.ultimateParentCompany ?? {}, legalInformationFields)
1397
- }
1398
- )
1399
- ] });
1400
- }
1401
- const getOrgAnalyticsData = (prefix, details) => {
1402
- const org = details?.organization;
1403
- if (!org) return {};
1404
- return {
1405
- [`${prefix}--economicSector`]: org?.economicSector ?? "",
1406
- [`${prefix}--legalForm`]: org?.legalForm ?? "",
1407
- [`${prefix}--statusOfLegalProceeding`]: org?.statusOfLegalProceeding ?? ""
1408
- };
1409
- };
1410
- const businessFinancingFormsRequiredFields = {
1411
- company: businessFinancingForms.company.fields,
1412
- parentCompany: businessFinancingForms.parentCompany.fields,
1413
- ultimateParentCompany: businessFinancingForms.ultimateParentCompany.fields
1414
- };
1415
- const parentCompanyFormId = businessFinancingForms.parentCompany.formId;
1416
- const companyFormId = businessFinancingForms.company.formId;
1417
- const ultimateParentCompanyFormId = businessFinancingForms.ultimateParentCompany.formId;
1418
- function BusinessFinancingDropin(props) {
1419
- const {
1420
- country,
1421
- rootLegalEntity,
1422
- externalOnSubmit,
1423
- externalOnSubmitLabel,
1424
- isStandaloneComponent,
1425
- handleHomeClick
1426
- } = props;
1427
- const { i18n } = useI18nContext();
1428
- const userEvents = useAnalyticsContext();
1429
- const [defaultData, setDefaultData] = useState();
1430
- useRef(null);
1431
- const invalidateRootLegalEntity = useInvalidateRootLegalEntity();
1432
- const { mutateAsync: createLegalEntity } = useCreateLegalEntity();
1433
- const { mutateAsync: updateLegalEntity } = useUpdateLegalEntity();
1434
- const { data: immediateParentCompany, isLoading: immediateParentCompanyIsLoading } = useAssociatedLegalEntity(rootLegalEntity, "immediateParentCompany");
1435
- const { data: ultimateParentCompany, isLoading: ultimateParentCompanyIsLoading } = useAssociatedLegalEntity(rootLegalEntity, "ultimateParentCompany");
1436
- const derivedData = useMemo(() => {
1437
- if (immediateParentCompanyIsLoading || ultimateParentCompanyIsLoading) return void 0;
1438
- const dataFromResponse = {};
1439
- dataFromResponse.company = mapLegalEntityToBusinessFinancing(
1440
- rootLegalEntity
1441
- );
1442
- dataFromResponse.company = appendBusinessFinancingData(
1443
- rootLegalEntity.organization,
1444
- dataFromResponse.company
1445
- );
1446
- dataFromResponse.company.isCompanyOwnedByAnotherCompany = "No";
1447
- dataFromResponse.company.isParentOwnedByAnotherCompany = "No";
1448
- if (immediateParentCompany) {
1449
- dataFromResponse.parentCompany = mapLegalEntityToBusinessFinancing(
1450
- immediateParentCompany
1451
- );
1452
- dataFromResponse.parentCompany = appendBusinessFinancingData(
1453
- immediateParentCompany.organization,
1454
- dataFromResponse.parentCompany
1455
- );
1456
- dataFromResponse.company.isCompanyOwnedByAnotherCompany = "Yes";
1457
- }
1458
- if (ultimateParentCompany) {
1459
- dataFromResponse.ultimateParentCompany = mapLegalEntityToBusinessFinancing(
1460
- ultimateParentCompany
1461
- );
1462
- dataFromResponse.ultimateParentCompany = appendBusinessFinancingData(
1463
- ultimateParentCompany.organization,
1464
- dataFromResponse.ultimateParentCompany
1465
- );
1466
- dataFromResponse.company.isParentOwnedByAnotherCompany = "Yes";
1467
- }
1468
- return dataFromResponse;
1469
- }, [
1470
- immediateParentCompanyIsLoading,
1471
- ultimateParentCompanyIsLoading,
1472
- rootLegalEntity,
1473
- immediateParentCompany,
1474
- ultimateParentCompany
1475
- ]);
1476
- useEffect(() => {
1477
- userEvents.addTaskEvent("Landed on page", {
1478
- actionType: "start"
1479
- });
1480
- }, [userEvents]);
1481
- useEffect(() => {
1482
- if (derivedData) {
1483
- setDefaultData({ ...derivedData });
1484
- }
1485
- }, [derivedData]);
1486
- const datasetUtils = datasetUtilities(i18n.locale);
1487
- const [problems, setProblems] = useState();
1488
- const [loadingStatus, setLoadingStatus] = useState("success");
1489
- const [showEndState, setShowEndState] = useState(false);
1490
- const [businessFinancingRequiredForms, setBusinessFinancingRequiredForms] = useState(businessFinancingForms);
1491
- const { showToast } = useToastContext();
1492
- const { isSettingEnabled } = useSettingsContext();
1493
- const showBusinessFinancingFirst = isSettingEnabled(SettingNames.ShowBusinessFinancingFirst);
1494
- const onSubmit = async () => {
1495
- setLoadingStatus("loading");
1496
- if (!umfData) {
1497
- return;
1498
- }
1499
- const companyBusinessFinancingDetails = prepareBusinessFinancingSubmitData(
1500
- BusinessFinancingIndices.COMPANY,
1501
- umfData,
1502
- rootLegalEntity
1503
- );
1504
- const parentCompanyBusinessFinancingDetails = prepareBusinessFinancingSubmitData(
1505
- BusinessFinancingIndices.PARENT_COMPANY,
1506
- umfData,
1507
- rootLegalEntity
1508
- );
1509
- const ultimateParentCompanyBusinessFinancingDetails = prepareBusinessFinancingSubmitData(
1510
- BusinessFinancingIndices.ULTIMATE_PARENT_COMPANY,
1511
- umfData,
1512
- rootLegalEntity
1513
- );
1514
- if (!companyBusinessFinancingDetails || !rootLegalEntity) {
1515
- showToast({ label: i18n.get("missingCompanyDetails"), variant: "error" });
1516
- return;
1517
- }
1518
- let parentCompanyFailed = false;
1519
- let ultimateParentCompanyFailed = false;
1520
- try {
1521
- const promises = [];
1522
- if (parentCompanyBusinessFinancingDetails) {
1523
- const parentCompanyPromise = handleBusinessFinancingFormSubmission(
1524
- BusinessFinancingIndices.PARENT_COMPANY,
1525
- parentCompanyBusinessFinancingDetails,
1526
- createLegalEntity,
1527
- updateLegalEntity,
1528
- parentCompanyBusinessFinancingDetails?.id
1529
- );
1530
- promises.push(parentCompanyPromise);
1531
- }
1532
- if (ultimateParentCompanyBusinessFinancingDetails) {
1533
- const ultimateParentCompanyPromise = handleBusinessFinancingFormSubmission(
1534
- BusinessFinancingIndices.ULTIMATE_PARENT_COMPANY,
1535
- ultimateParentCompanyBusinessFinancingDetails,
1536
- createLegalEntity,
1537
- updateLegalEntity,
1538
- ultimateParentCompanyBusinessFinancingDetails?.id
1539
- );
1540
- promises.push(ultimateParentCompanyPromise);
1541
- }
1542
- const results = await Promise.allSettled(promises);
1543
- const previousEntityAssociations = rootLegalEntity.entityAssociations ? rootLegalEntity.entityAssociations.filter(
1544
- (entityAssociation) => entityAssociation.type !== "immediateParentCompany" && entityAssociation.type !== "ultimateParentCompany"
1545
- ) : [];
1546
- const businessFinancingEntityAssociations = [
1547
- ...previousEntityAssociations
1548
- ];
1549
- const entitiesToTrack = [BusinessFinancingIndices.COMPANY];
1550
- results.forEach((result, index) => {
1551
- const businessFinancingType = index === 0 ? BusinessFinancingIndices.PARENT_COMPANY : BusinessFinancingIndices.ULTIMATE_PARENT_COMPANY;
1552
- if (result.status === "fulfilled") {
1553
- const response = result.value;
1554
- if (businessFinancingType === BusinessFinancingIndices.PARENT_COMPANY) {
1555
- businessFinancingEntityAssociations.push({
1556
- type: "immediateParentCompany",
1557
- legalEntityId: response.id,
1558
- associatorId: companyBusinessFinancingDetails.id
1559
- });
1560
- entitiesToTrack.push(BusinessFinancingIndices.PARENT_COMPANY);
1561
- } else if (businessFinancingType === BusinessFinancingIndices.ULTIMATE_PARENT_COMPANY) {
1562
- businessFinancingEntityAssociations.push({
1563
- type: "ultimateParentCompany",
1564
- legalEntityId: response.id,
1565
- associatorId: companyBusinessFinancingDetails.id
1566
- });
1567
- entitiesToTrack.push(BusinessFinancingIndices.ULTIMATE_PARENT_COMPANY);
1568
- }
1569
- } else {
1570
- if (businessFinancingType === BusinessFinancingIndices.PARENT_COMPANY) {
1571
- parentCompanyFailed = true;
1572
- } else if (businessFinancingType === BusinessFinancingIndices.ULTIMATE_PARENT_COMPANY) {
1573
- ultimateParentCompanyFailed = true;
1574
- }
1575
- handleSubmissionError(result.reason, businessFinancingType);
1576
- }
1577
- });
1578
- if (!parentCompanyFailed && !ultimateParentCompanyFailed) {
1579
- companyBusinessFinancingDetails.entityAssociations = [
1580
- ...businessFinancingEntityAssociations
1581
- ];
1582
- const eventsAdditionalData = {
1583
- ...getOrgAnalyticsData("Business", companyBusinessFinancingDetails),
1584
- ...getOrgAnalyticsData("ParentCompany", parentCompanyBusinessFinancingDetails),
1585
- ...getOrgAnalyticsData(
1586
- "UltimateParentCompany",
1587
- ultimateParentCompanyBusinessFinancingDetails
1588
- )
1589
- };
1590
- try {
1591
- await handleBusinessFinancingFormSubmission(
1592
- BusinessFinancingIndices.COMPANY,
1593
- companyBusinessFinancingDetails,
1594
- createLegalEntity,
1595
- updateLegalEntity,
1596
- companyBusinessFinancingDetails?.id
1597
- );
1598
- userEvents.addTaskEvent("Success", {
1599
- actionType: "submit",
1600
- returnValue: entitiesToTrack,
1601
- additionalData: eventsAdditionalData
1602
- });
1603
- await invalidateRootLegalEntity();
1604
- if (showBusinessFinancingFirst || isStandaloneComponent) {
1605
- setShowEndState(true);
1606
- } else {
1607
- externalOnSubmit?.({ ...umfData });
1608
- }
1609
- } catch (e) {
1610
- showToast({ label: i18n.get("failedToUpdateDetails"), variant: "error" });
1611
- handleSubmissionError(e, BusinessFinancingIndices.COMPANY);
1612
- }
1613
- setProblems({});
1614
- }
1615
- } catch (e) {
1616
- if (!parentCompanyFailed && !ultimateParentCompanyFailed) {
1617
- handleSubmissionError(e, BusinessFinancingIndices.COMPANY);
1618
- }
1619
- showToast({ label: i18n.get("failedToUpdateDetails"), variant: "error" });
1620
- } finally {
1621
- setLoadingStatus("success");
1622
- }
1623
- };
1624
- const handleSubmissionError = (error, businessFinancingType) => {
1625
- if (isValidationError(error.actualError)) {
1626
- const validationErrors = processValidationErrors(
1627
- error.actualError,
1628
- void 0,
1629
- businessFinancingApiKeyMapping
1630
- );
1631
- setProblems((prevProblems) => ({
1632
- ...prevProblems,
1633
- validationErrors: {
1634
- ...prevProblems?.validationErrors,
1635
- [businessFinancingType]: validationErrors?.[businessFinancingType] ?? {}
1636
- }
1637
- }));
1638
- } else if (isMaintenanceModeError(error)) {
1639
- showToast({
1640
- label: i18n.get("maintenanceModeMessage"),
1641
- variant: "error",
1642
- duration: "indefinite"
1643
- });
1644
- } else {
1645
- showToast({ label: i18n.get("failedToUpdateDetails"), variant: "error" });
1646
- }
1647
- };
1648
- const associatedLeTrackingParams = getAssociatedLeAnalyticsPayload({
1649
- associatedLegalEntity: rootLegalEntity
1650
- });
1651
- const omittedSummaryKeys = [
1652
- "naceCodeLabel",
1653
- "legalFormLabel",
1654
- "currency",
1655
- "doesYourCompanyHaveLEI",
1656
- "sameAddressAsRootEntity"
1657
- ];
1658
- const [requiredFields, setRequiredFields] = useState(void 0);
1659
- const form = useMultiForm({
1660
- requiredFields,
1661
- defaultData: derivedData,
1662
- rules: businessFinancingMultiformRules
1663
- });
1664
- const { data: umfData = derivedData, isValid, errors, valid } = form;
1665
- useEffect(() => {
1666
- const showParentCompany = umfData?.company?.isCompanyOwnedByAnotherCompany === "Yes";
1667
- const showUltimateParentCompany = umfData?.company?.isParentOwnedByAnotherCompany === "Yes";
1668
- let updateForms = {
1669
- company: { ...businessFinancingForms.company }
1670
- };
1671
- if (showParentCompany) {
1672
- updateForms = { ...updateForms, parentCompany: businessFinancingForms.parentCompany };
1673
- }
1674
- if (showParentCompany && showUltimateParentCompany) {
1675
- updateForms = {
1676
- ...updateForms,
1677
- ultimateParentCompany: businessFinancingForms.ultimateParentCompany
1678
- };
1679
- }
1680
- setBusinessFinancingRequiredForms(updateForms);
1681
- }, [
1682
- umfData?.company?.isCompanyOwnedByAnotherCompany,
1683
- umfData?.company?.isParentOwnedByAnotherCompany
1684
- ]);
1685
- useEffect(() => {
1686
- const reqs = getBusinessFinancingRequiredFields(country, umfData);
1687
- setRequiredFields(reqs);
1688
- }, [umfData]);
1689
- const forms = useMemo(() => {
1690
- const requiredForms = getRequiredForms(
1691
- businessFinancingRequiredForms,
1692
- businessFinancingFormsRequiredFields,
1693
- {}
1694
- );
1695
- return addValidityToForms(requiredForms, isValid, problems);
1696
- }, [businessFinancingRequiredForms, isValid, businessFinancingFormsRequiredFields, problems]);
1697
- const {
1698
- handleNextClick,
1699
- handleBackClick,
1700
- activeForm,
1701
- gotoFormByFormIndex,
1702
- steps,
1703
- shouldValidate
1704
- } = useFormComposer({
1705
- problems,
1706
- navigationTrackingParams: associatedLeTrackingParams,
1707
- forms,
1708
- onSubmit
1709
- });
1710
- const handleTrackNavigation = useCallback(
1711
- (props2) => {
1712
- trackNavigation({
1713
- ...props2,
1714
- additionalTrackingParams: associatedLeTrackingParams
1715
- });
1716
- },
1717
- [associatedLeTrackingParams]
1718
- );
1719
- const homeClick = () => {
1720
- trackNavigation({
1721
- userEvents,
1722
- actionType: "save",
1723
- toForm: "home",
1724
- label: "home"
1725
- });
1726
- handleHomeClick?.();
1727
- };
1728
- const renderActiveForm = (selectedForm) => /* @__PURE__ */ jsxs("div", { className: "adyen-kyc-form-wrapper", children: [
1729
- selectedForm.formId === companyFormId && /* @__PURE__ */ jsx(
1730
- AdditionalFieldsForBusinessFinancingCompany,
1731
- {
1732
- data: defaultData?.company,
1733
- legalEntity: rootLegalEntity,
1734
- heading: i18n.get("additionalInformationForBusinessFinancing"),
1735
- id: companyFormId,
1736
- country,
1737
- shouldValidate,
1738
- fieldValidationErrors: problems?.validationErrors?.[selectedForm?.formId],
1739
- formVerificationErrors: problems?.verificationErrors?.[selectedForm?.formId],
1740
- errors: errors?.company,
1741
- valid: valid?.company
1742
- }
1743
- ),
1744
- selectedForm.formId === parentCompanyFormId && /* @__PURE__ */ jsx(
1745
- AdditionalFieldsForBusinessFinancingParentCompany,
1746
- {
1747
- data: defaultData?.parentCompany,
1748
- heading: i18n.get("parentCompanyInformation"),
1749
- id: companyFormId,
1750
- country,
1751
- shouldValidate,
1752
- errors: errors?.parentCompany,
1753
- legalEntity: rootLegalEntity
1754
- }
1755
- ),
1756
- selectedForm.formId === ultimateParentCompanyFormId && /* @__PURE__ */ jsx(
1757
- AdditionalFieldsForBusinessFinancingUltimateParentCompany,
1758
- {
1759
- data: defaultData?.ultimateParentCompany,
1760
- heading: i18n.get("ultimateParentCompanyInformation"),
1761
- id: companyFormId,
1762
- country,
1763
- shouldValidate,
1764
- errors: errors?.ultimateParentCompany,
1765
- legalEntity: rootLegalEntity
1766
- }
1767
- )
1768
- ] });
1769
- if (!defaultData?.company) {
1770
- return /* @__PURE__ */ jsx(Loader, {});
1771
- }
1772
- return showEndState ? /* @__PURE__ */ jsx(
1773
- EndStateLayout,
1774
- {
1775
- title: i18n.get("submissionReceived"),
1776
- description: i18n.get("yourLoanApplicationHasBeenReceived"),
1777
- action: externalOnSubmit && !showBusinessFinancingFirst ? /* @__PURE__ */ jsx(Button, { onClick: () => externalOnSubmit?.({ ...umfData }), children: externalOnSubmitLabel || i18n.get("finish") }) : void 0
1778
- }
1779
- ) : /* @__PURE__ */ jsx(FormContextProvider, { form, children: /* @__PURE__ */ jsx(
1780
- FormFlow,
1781
- {
1782
- summary: {
1783
- data: formatDataForSummary(
1784
- i18n,
1785
- datasetUtils,
1786
- umfData,
1787
- rootLegalEntity?.organization?.registeredAddress
1788
- ),
1789
- omitted: {
1790
- keys: omittedSummaryKeys
1791
- },
1792
- problems,
1793
- trackNavigation: handleTrackNavigation,
1794
- labels: customLabels
1795
- },
1796
- currentStep: steps.current,
1797
- disableNextButton: !activeForm.isValid,
1798
- forms,
1799
- gotoFormByFormIndex,
1800
- handleBackClick,
1801
- handleCancelClick: homeClick,
1802
- handleNextClick,
1803
- loadingStatus,
1804
- totalSteps: steps.total,
1805
- children: /* @__PURE__ */ jsx("div", { children: renderActiveForm(activeForm || businessFinancingForms.company) })
1806
- }
1807
- ) });
1808
- }
1809
- export {
1810
- BusinessFinancingDropin as B
1811
- };