@adyen/kyc-components 4.0.0-compact.4 → 4.0.0-compact.8

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 (762) hide show
  1. package/dist/{4-people-BzyXLUF9.js → 4-people-BtDi7O9A.js} +2 -2
  2. package/dist/{AcceptTermsOfServiceComponent-BpEgUWXz.js → AcceptTermsOfServiceComponent-kRAMcIqz.js} +37 -29
  3. package/dist/{Accordion-C7tT1-lq.js → Accordion-s3uIJ_O9.js} +2 -2
  4. package/dist/{AccountSetupRejected-Bx9bf2P2.js → AccountSetupRejected-WvT8wynP.js} +4 -4
  5. package/dist/{ActionBar-BYag3Mhx.js → ActionBar-BOto3kIR.js} +2 -2
  6. package/dist/{Address-BG5_sFfZ.js → Address-DfQEZqfV.js} +83 -288
  7. package/dist/{Alert-CjdHpM1t.js → Alert-_9nVl6uE.js} +3 -3
  8. package/dist/{Avatar-BbYg2DuO.js → Avatar-B1FMn4jz.js} +2 -2
  9. package/dist/{BusinessFinancingComponent-C6IiU1SV.js → BusinessFinancingComponent-DgeP0WtS.js} +7 -7
  10. package/dist/{BusinessFinancingDropin-BGSfIRyw.js → BusinessFinancingDropin-BpaTs3Tb.js} +691 -300
  11. package/dist/{BusinessFinancingPage-B6B4tyGt.js → BusinessFinancingPage-qodSYGAB.js} +5 -5
  12. package/dist/{BusinessTypeSelectionPage-0jkL0xW-.js → BusinessTypeSelectionPage-CsvC5c2P.js} +59 -39
  13. package/dist/Card-OQuFzmxm.js +90 -0
  14. package/dist/{debouncedInputEvent-BdLyqQK5.js → Checkbox-CQQWg0dg.js} +3 -38
  15. package/dist/Confirm-DqMkw97y.js +64 -0
  16. package/dist/ConstitutionalDocument-B1vSvDTu.js +2361 -0
  17. package/dist/ContactDetails-171etkPM.js +396 -0
  18. package/dist/ContextGuidance-PEl3_E1Y.js +34 -0
  19. package/dist/{ContractViewer-Byp71k2e.js → ContractViewer-DcQHIGMU.js} +2 -2
  20. package/dist/CountryField-61GLcHq3.js +66 -0
  21. package/dist/CreateIndividualComponent-U4BUiWzp.js +65 -0
  22. package/dist/{CreateTransferInstrumentComponent-BNvXg6_9.js → CreateTransferInstrumentComponent-CHPjKshD.js} +6 -13
  23. package/dist/{Currency-DpseKPZa.js → Currency-8vOxnPYI.js} +68 -13
  24. package/dist/{CustomerSupport-BzpGH7XC.js → CustomerSupport-DcnFyc9J.js} +13 -10
  25. package/dist/{DebugModal-DyH69DXv.js → DebugModal-yKPZa0En.js} +12 -9
  26. package/dist/{DecisionMakerDetailsPage-BiCWUl-E.js → DecisionMakerDetailsPage-bIZxlptv.js} +19 -21
  27. package/dist/{DecisionMakers-WTQe_49J.js → DecisionMakers-rudvJ8LE.js} +41 -25
  28. package/dist/Dropzone-Brt8j_On.js +224 -0
  29. package/dist/{EmbeddedStatus-CcwyilpG.js → EmbeddedStatus-C6KmRWYa.js} +3 -3
  30. package/dist/{EndStateLayout-DUFAp0sp.js → EndStateLayout-CNBH6HSv.js} +2 -2
  31. package/dist/EntityAssociation-CvfmwTx0.js +178 -0
  32. package/dist/{EntityGuidanceStatus-Bpa8WnR_.js → EntityGuidanceStatus-DfqozWFu.js} +4 -3
  33. package/dist/ErrorPanel-8g7vzs2J.js +194 -0
  34. package/dist/Field-GFhXhBL7.js +141 -0
  35. package/dist/{FormNavigation-BP2ZV8AF.js → FormNavigation-CuO_QOlJ.js} +3 -3
  36. package/dist/{FormWrapper-D2abCVld.js → FormWrapper-MyJZP-4s.js} +10 -10
  37. package/dist/Header-B9Tv_mvA.js +83 -0
  38. package/dist/Image-8l9eOMtL.js +27 -0
  39. package/dist/Individual.rules-NmFmV4le.js +383 -0
  40. package/dist/IndividualDropin-D_UTW3Pt.js +5168 -0
  41. package/dist/InputDate-D741B4uo.js +43 -0
  42. package/dist/InputGroup-WBfGDV5F.js +32 -0
  43. package/dist/InputText-BstgOD1h.js +134 -0
  44. package/dist/{Introduction-Ee8931m9.js → Introduction-586MDoqe.js} +4 -4
  45. package/dist/{JpAddress-Br78ZY9o.js → JpAddress-D5DwOic-.js} +62 -28
  46. package/dist/LandingLayout-DfrTphbg.js +60 -0
  47. package/dist/LegalCompanyNameField-Z2dNj0Qq.js +138 -0
  48. package/dist/{LegalRepresentativeDetailsPage-kZbXv8m2.js → LegalRepresentativeDetailsPage-Dkufg--B.js} +7 -12
  49. package/dist/Link-hYPpX6dq.js +35 -0
  50. package/dist/List-BAzyC6sw.js +83 -0
  51. package/dist/{ListItem-DKLPtRMQ.js → ListItem-DCNK7Kw1.js} +3 -3
  52. package/dist/LoaderWrapper-Brwtj1ws.js +42 -0
  53. package/dist/{ManageIndividualComponent-CrAC6lmI.js → ManageIndividualComponent-HmFUwG8J.js} +5 -5
  54. package/dist/{ManageTermsOfServiceComponent-D188174Y.js → ManageTermsOfServiceComponent-CEXRN-aQ.js} +5 -5
  55. package/dist/{ManageTransferInstrumentComponent-DDIhJrq3.js → ManageTransferInstrumentComponent-BZMoocXD.js} +20 -15
  56. package/dist/{Spacer-BT5nYRXK.js → MaskedInput-D1fbApUW.js} +29 -635
  57. package/dist/{MaybeModal-QG3JQV0A.js → MaybeModal-D1Kv1uXL.js} +3 -3
  58. package/dist/{Modal-B8fxl0iP.js → Modal-BRPW5V15.js} +5 -5
  59. package/dist/Name-DNcNeuyc.js +81 -0
  60. package/dist/OnboardingDropinComponent-Jp7jobVe.js +2672 -0
  61. package/dist/{PayoutDetailsDropin-D_ee4PgW.js → PayoutDetailsDropin-CQ8jWnhg.js} +257 -161
  62. package/dist/Radio-BMtxBpnn.js +39 -0
  63. package/dist/RadioGroup-BLGCNZj6.js +100 -0
  64. package/dist/RadioGroupCard-Dp6kxT2Z.js +152 -0
  65. package/dist/{Review-BDXmgIlE.js → Review-DsexJYqW.js} +8 -7
  66. package/dist/RootBusinessDetailsPage-W6I6u26i.js +50 -0
  67. package/dist/{RootBusinessLinesPage-CbaRG8zg.js → RootBusinessLinesPage-BfW_VGr0.js} +166 -82
  68. package/dist/{RootIndividualDetailsPage-D4hpO1W0.js → RootIndividualDetailsPage-CU0ERRgH.js} +10 -19
  69. package/dist/{useForm-BsQfbbso.js → Select-_jyQwO_g.js} +22 -779
  70. package/dist/{SignPCIComponent-4qzKpijW.js → SignPCIComponent-DqNgUb0y.js} +16 -13
  71. package/dist/{SingpassSelection-BB6R98e_.js → SingpassSelection-CInOhNfV.js} +9 -7
  72. package/dist/{SoleProprietorshipPage-Z5lqmwWa.js → SoleProprietorshipPage-Bgg5nHmh.js} +6 -5
  73. package/dist/{SourceOfFundsPage-BA638WTW.js → SourceOfFundsPage-DWz_BoML.js} +200 -421
  74. package/dist/Spacer-BK3jDget.js +18 -0
  75. package/dist/{StepProgressIndicator-Bs1V38Kt.js → StepProgressIndicator-DsULqiFr.js} +2 -2
  76. package/dist/StoreProvider-DwuHWsNs.js +4793 -0
  77. package/dist/StructuredList-CVMZBzwq.js +61 -0
  78. package/dist/{Summary-BOSxxPjv.js → Summary-BtqxXkko.js} +22 -6
  79. package/dist/{InputText-qTMbrUXW.js → TaskVerificationStatus-DQVG3_xF.js} +3 -123
  80. package/dist/TaxInformationField-QyHTiEoc.js +3741 -0
  81. package/dist/{TaxReportingDropin-CQzNhf9Q.js → TaxReportingDropin-Cs21XUR6.js} +38 -37
  82. package/dist/TextArea-DFDjCEZ2.js +103 -0
  83. package/dist/TileGroup-6wc032O1.js +203 -0
  84. package/dist/{TrustDetailsPage-BLNK52Za.js → TrustDetailsPage-BpITz9Vt.js} +59 -37
  85. package/dist/TrustMemberCompanyPage-Web2yU9Z.js +68 -0
  86. package/dist/{TrustMemberIndividualPage-q2iayL78.js → TrustMemberIndividualPage-tBGM6dM8.js} +13 -15
  87. package/dist/{TrustMemberRoleAndTypePage-C1WVoqKI.js → TrustMemberRoleAndTypePage-CJEVcHdE.js} +136 -35
  88. package/dist/{TrustMembersOverview-5UGm_iG9.js → TrustMembersOverview-DefELe9P.js} +14 -13
  89. package/dist/{UnincorporatedPartnershipIndividualPage-CyqUGlhC.js → UnincorporatedPartnershipIndividualPage-BXQiQmMN.js} +12 -14
  90. package/dist/{UnincorporatedPartnershipMemberCompanyPage-D_J_JQ00.js → UnincorporatedPartnershipMemberCompanyPage-DhzsjYbl.js} +11 -7
  91. package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-C98KZ4pT.js → UnincorporatedPartnershipMemberRoleAndTypePage-OdKCGjaA.js} +28 -17
  92. package/dist/{UnincorporatedPartnershipMembersOverview-C5jfbcPJ.js → UnincorporatedPartnershipMembersOverview-DSeUBGiY.js} +10 -9
  93. package/dist/{VerificationErrorAlert-BJ9X1Bkv.js → VerificationErrorAlert-I8hQrG1X.js} +4 -23
  94. package/dist/{ViewVerificationStatusComponent-KnTqf4d6.js → ViewVerificationStatusComponent-CneXbSXW.js} +5 -4
  95. package/dist/accountHolderUtils-CPiTlzkl.js +66 -0
  96. package/dist/adyen-business-financing.js +8 -4
  97. package/dist/adyen-individual-configuration.js +8 -4
  98. package/dist/adyen-individual-status.js +5 -4
  99. package/dist/adyen-invited-decision-maker.js +87 -0
  100. package/dist/adyen-kyc-components.js +22 -20
  101. package/dist/adyen-onboarding.js +8 -4
  102. package/dist/adyen-terms-of-service-management.js +8 -4
  103. package/dist/adyen-terms-of-service-status.js +5 -4
  104. package/dist/adyen-transfer-instrument-configuration.js +8 -4
  105. package/dist/adyen-transfer-instrument-management.js +5 -4
  106. package/dist/adyen-verification-status.js +8 -4
  107. package/dist/{arrow-right-KxA3SvQj.js → arrow-right-BoqwUH_d.js} +2 -2
  108. package/dist/bafinUtils-u4rPfeF0.js +80 -0
  109. package/dist/{bag-BPumznWh.js → bag-BXVWLrwo.js} +2 -2
  110. package/dist/{bank-D6FiNBhs.js → bank-1GvaHPAZ.js} +2 -2
  111. package/dist/{bin-Bz6KOIeE.js → bin-Ba-3ll8T.js} +2 -2
  112. package/dist/{business-lines-DboUCbXw.js → business-lines-BAqTbnBw.js} +2 -2
  113. package/dist/{capital-GVQ3svwN.js → capital-9TKHySO7.js} +2 -2
  114. package/dist/{cash-stack-D9AoDDwt.js → cash-stack-DwYu4xNy.js} +2 -2
  115. package/dist/{certificate-CdEWgHQf.js → certificate-N2YFedpI.js} +2 -2
  116. package/dist/{checkmark-Q7x6tGhy.js → checkmark-D9dGhGpG.js} +2 -2
  117. package/dist/{checkmark-circle-x7dzbp3I.js → checkmark-circle-CFWClLQ6.js} +2 -2
  118. package/dist/{checkmark-circle-fill-CsvN5_PL.js → checkmark-circle-fill-DEB-tuGl.js} +2 -2
  119. package/dist/{checkmark-small-D35myntq.js → checkmark-small-D3VNx2lo.js} +2 -2
  120. package/dist/{chevron-down-C2iDorpW.js → chevron-down-C7SUSYfl.js} +2 -2
  121. package/dist/{chevron-left-ztPO84q-.js → chevron-left-BXmd-S46.js} +2 -2
  122. package/dist/{chevron-right-C_JN0oDt.js → chevron-right-jE6RwM2B.js} +2 -2
  123. package/dist/{chevron-up-CgG8n25g.js → chevron-up-BdfNcqzq.js} +2 -2
  124. package/dist/{circle-Bt3Nlr3q.js → circle-BJPTMCWB.js} +2 -2
  125. package/dist/{circle-small-filled-YMzP6yQU.js → circle-small-filled-BuO8Vg8j.js} +2 -2
  126. package/dist/{clock-BZHremOA.js → clock-DAzaBRWk.js} +2 -2
  127. package/dist/{coins-fkAk6dCo.js → coins-DYdzG5e_.js} +2 -2
  128. package/dist/commonValidators-BWyE1hKM.js +24 -0
  129. package/dist/company-types-value-D_mKv5PT.js +23 -0
  130. package/dist/{contract-BTa4HltT.js → contract-BfJb1t6M.js} +2 -2
  131. package/dist/{cross-Cn09MtQ_.js → cross-CDS_eot4.js} +2 -2
  132. package/dist/{cross-circle-fill-maan7Z5S.js → cross-circle-fill-C-EJ57Yn.js} +2 -2
  133. package/dist/{cross-circle-fill-small-DCz52AuN.js → cross-circle-fill-small-DkPjsuBH.js} +2 -2
  134. package/dist/currency-CrdnaaDu.js +35 -0
  135. package/dist/da-DK-B3Pg-MWO.js +13 -0
  136. package/dist/{da-DK-Dc0QYG8m.js → da-DK-Cd5IQPv3.js} +8 -1
  137. package/dist/{da-DK-CoTdzXlA.js → da-DK-DQ4ZYSea.js} +2 -2
  138. package/dist/da-DK-DzcTI92X.js +13 -0
  139. package/dist/datasetUtil-BHQp0-xL.js +58 -0
  140. package/dist/{de-DE-Dz2OsS1F.js → de-DE-C9NH2zMh.js} +8 -1
  141. package/dist/{de-DE-z0cPgxGN.js → de-DE-CkbOZ6S_.js} +2 -2
  142. package/dist/de-DE-S6qDey1L.js +13 -0
  143. package/dist/de-DE-dPfrbCii.js +13 -0
  144. package/dist/debouncedInputEvent-Cv2S512Y.js +46 -0
  145. package/dist/{decision-makers-group-CgddXgrx.js → decision-makers-group-DrvpnEqj.js} +2 -2
  146. package/dist/{digital-wallet-D_IpxnkN.js → digital-wallet-Bx5YM1LY.js} +2 -2
  147. package/dist/{document-1-C08ut-Dt.js → document-1-qlSTF558.js} +2 -2
  148. package/dist/{document-blurred-2Zpodj3_.js → document-blurred-BiWap0xs.js} +2 -2
  149. package/dist/{document-cut-off-ClS7RiOp.js → document-cut-off-aQezqOif.js} +2 -2
  150. package/dist/{document-expired-CjksBq-N.js → document-expired-BhBXaWWQ.js} +2 -2
  151. package/dist/{document-front-DiAairT3.js → document-front-DYuhZGeQ.js} +2 -2
  152. package/dist/{document-person-vxlA6C5f.js → document-person-CDbnTOdV.js} +2 -2
  153. package/dist/{download-Drhk9k1f.js → download-BZQB1WkZ.js} +2 -2
  154. package/dist/{dropinUtils-BYk71qFP.js → dropinUtils-NHYW3kj5.js} +4 -4
  155. package/dist/{edit-1-CFoDTMvQ.js → edit-1-DAqtnOIx.js} +2 -2
  156. package/dist/{en-US-BzrLvydZ.js → en-US-CjjPhkB5.js} +2 -2
  157. package/dist/{en-US-CzEL6t1W.js → en-US-D1sB335h.js} +9 -3
  158. package/dist/en-US-DLY20x1O.js +13 -0
  159. package/dist/{en-US-D-B35AoN.js → en-US-DYP6rAvA.js} +8 -1
  160. package/dist/{en-US-fyGPkcqX.js → en-US-cVpRgdC8.js} +2 -2
  161. package/dist/es-ES--IvNed_Q.js +13 -0
  162. package/dist/{es-ES-DUn82eVS.js → es-ES-BAolMrZ0.js} +2 -2
  163. package/dist/es-ES-BYl5-PFR.js +13 -0
  164. package/dist/{es-ES-BI_jdT67.js → es-ES-DK-7qtDf.js} +8 -1
  165. package/dist/{external-link-DCMYUMfW.js → external-link-Cg6pJaSJ.js} +2 -2
  166. package/dist/{fi-FI-hwzizPnr.js → fi-FI-BJLU1JHw.js} +8 -1
  167. package/dist/fi-FI-BUixKfXH.js +13 -0
  168. package/dist/{fi-FI-C3TTCFBv.js → fi-FI-D8WrLxxq.js} +2 -2
  169. package/dist/fi-FI-DFxljML-.js +13 -0
  170. package/dist/fieldConfigurations-BUT9DTUH.js +21 -0
  171. package/dist/filterProblemsByTaskForms-Cz7iQtms.js +30 -0
  172. package/dist/form-rules-DhbF2mY4.js +13 -0
  173. package/dist/formUtils-Dg7QeiCj.js +107 -0
  174. package/dist/{fr-FR-CYZXbwc9.js → fr-FR-B2je0smB.js} +8 -1
  175. package/dist/fr-FR-BM-qNLci.js +13 -0
  176. package/dist/{fr-FR-BbKadiaZ.js → fr-FR-Beljeilc.js} +2 -2
  177. package/dist/fr-FR-DPehHVb6.js +13 -0
  178. package/dist/{funds-in-D8bj0aoE.js → funds-in-CInoUdmG.js} +2 -2
  179. package/dist/{getName-9MyzlDpt.js → getName-DAC824XH.js} +2 -2
  180. package/dist/getProblemsForEntity-Cx2uHyD0.js +24 -0
  181. package/dist/getProps-Cc3J2-z9.js +148 -0
  182. package/dist/getTrustedFields-C5-mXl-l.js +64 -0
  183. package/dist/{gift-CQ_DEma7.js → gift-omNInZeB.js} +2 -2
  184. package/dist/{graph-BJmqglH2.js → graph-DunG_uu1.js} +2 -2
  185. package/dist/{graph-up-Bq6adtlX.js → graph-up-BZze4i6m.js} +2 -2
  186. package/dist/{headquarter-DNYyuuFq.js → headquarter-BhpSibFO.js} +2 -2
  187. package/dist/{hotel-BuNql78Z.js → hotel-Cp7VgGCJ.js} +2 -2
  188. package/dist/{house-B6sNRj-B.js → house-BhyBQdR3.js} +2 -2
  189. package/dist/{id-blurred-9dzBOWCE.js → id-blurred-B5lHEP8M.js} +2 -2
  190. package/dist/{id-cut-off-CohJCI2h.js → id-cut-off-Ba1FRzKO.js} +2 -2
  191. package/dist/{id-front-CSZfvdRg.js → id-front-CpNWN6nG.js} +2 -2
  192. package/dist/{id-glare-Q2JWo5ts.js → id-glare-DgCQON8k.js} +2 -2
  193. package/dist/{iframeWidget-OATZoluK.js → iframeWidget-DbWZPZHG.js} +4 -4
  194. package/dist/{image-BSihO8lR.js → image-CmB0ioUM.js} +2 -2
  195. package/dist/{info-vHTZWoJ7.js → info-Bb_-xIEK.js} +2 -2
  196. package/dist/{info-filled-SQotHmT9.js → info-filled-CK8LB339.js} +2 -2
  197. package/dist/{instant-verification-Dvvkyfmp.js → instant-verification-UrnuHTYn.js} +2 -2
  198. package/dist/isEmpty-CzqpRnGb.js +23 -0
  199. package/dist/isNewEntity-7Vw_eQBr.js +13 -0
  200. package/dist/{it-IT-CGhQqmiU.js → it-IT-5a7NHVFo.js} +2 -2
  201. package/dist/it-IT-D63gRTDc.js +13 -0
  202. package/dist/it-IT-DOBp2-MP.js +13 -0
  203. package/dist/{it-IT-Erh1DIlj.js → it-IT-Dhwa9Ecj.js} +8 -1
  204. package/dist/{ja-JP-D1vtig2x.js → ja-JP-B3wVYIJU.js} +38 -38
  205. package/dist/{ja-JP-ThzG9vIo.js → ja-JP-Bc4U0S8-.js} +9 -2
  206. package/dist/{ja-JP-DGNXrNMK.js → ja-JP-Bv3ru9Xq.js} +21 -14
  207. package/dist/{ja-JP-CSz7fEkn.js → ja-JP-CceCDXLB.js} +2 -2
  208. package/dist/ja-JP-DL0IjTzn.js +13 -0
  209. package/dist/{ja-JP-CvREJ56h.js → ja-JP-DSvZhFNY.js} +5 -5
  210. package/dist/{ja-JP-C6Go-kaC.js → ja-JP-g6VOUGXZ.js} +4 -4
  211. package/dist/japanSupportUtils-Bn6j_2Iu.js +16 -0
  212. package/dist/jpAddressSchema-DEOyz9Yo.js +26 -0
  213. package/dist/{localizeDateString-CtnAUzr_.js → localizeDateString-rX5kfMAS.js} +2 -2
  214. package/dist/{location-Q4oKvnkl.js → location-itJfxrDQ.js} +2 -2
  215. package/dist/{mail-BOdyoVqB.js → mail-VHTlAusn.js} +2 -2
  216. package/dist/{manual-verification-BvZWqA00.js → manual-verification-BO8zgAYT.js} +2 -2
  217. package/dist/{mapExistingFile-Iep6Rez8.js → mapExistingFile-euVcQ8wC.js} +81 -7
  218. package/dist/mapJpAddressSchemaToAddressLocalizations-A0yOTAyr.js +162 -0
  219. package/dist/{mapLegalEntityToIndividualOnfidoSchema-BGAZ4tOn.js → mapLegalEntityToIndividualSchema-BeggFrAo.js} +63 -3
  220. package/dist/{mapTransferInstrumentToPayoutAccount-C6ha6E0S.js → mapTransferInstrumentToPayoutAccount-DZ5tvBdP.js} +3 -2
  221. package/dist/{minus-circle-filled-kC2IUvKz.js → minus-circle-filled-ZhtJ0GD3.js} +2 -2
  222. package/dist/{nl-NL-O9GCHMDA.js → nl-NL-B0fvINJj.js} +8 -1
  223. package/dist/{nl-NL-OHlJx2bn.js → nl-NL-CmURERx_.js} +2 -2
  224. package/dist/nl-NL-KQ6bciOb.js +13 -0
  225. package/dist/nl-NL-SjOGmGk5.js +13 -0
  226. package/dist/no-NO-BAWVf0GX.js +13 -0
  227. package/dist/no-NO-Ds3VioxT.js +13 -0
  228. package/dist/{no-NO-CA1aR6Wh.js → no-NO-Jw7Gae-a.js} +8 -1
  229. package/dist/{no-NO-DEYydng4.js → no-NO-qyqWODMp.js} +2 -2
  230. package/dist/{onfido-logo-BWSv__sQ.js → onfido-logo-BSkKPH10.js} +2 -2
  231. package/dist/{options-horizontal-CBmbNv7R.js → options-horizontal-GuXvLvV3.js} +2 -2
  232. package/dist/{partner-CPjsrePY.js → partner-QD27Vy4w.js} +2 -2
  233. package/dist/{passport-blurred-B4UDQfmc.js → passport-blurred-CVG493IJ.js} +2 -2
  234. package/dist/{passport-cut-off-C0N2mgLk.js → passport-cut-off-COzA_TmB.js} +2 -2
  235. package/dist/{passport-front-BwA7wR91.js → passport-front-WJleLixT.js} +2 -2
  236. package/dist/{passport-front-green-BL4HmtsB.js → passport-front-green-CZVkCa1n.js} +2 -2
  237. package/dist/{passport-glare-Mg2ixsYA.js → passport-glare-BP5WnJZj.js} +2 -2
  238. package/dist/patternValidators-EfBVKdNn.js +83 -0
  239. package/dist/{pay-by-link-plane-BVZndh67.js → pay-by-link-plane-BpY8Q6-B.js} +2 -2
  240. package/dist/{payout-ChUEoLjt.js → payout-DtB68BcZ.js} +2 -2
  241. package/dist/{payout-verification-instant-5u-wvFKv.js → payout-verification-instant-BzpfOQLD.js} +2 -2
  242. package/dist/{payout-verification-manual-BH2mu0UW.js → payout-verification-manual-gNEoeZkV.js} +2 -2
  243. package/dist/{person-DGjUU4S4.js → person-IVZG3t3_.js} +2 -2
  244. package/dist/{plaid-logo-CtActXTN.js → plaid-logo-FsZ7kfL-.js} +2 -2
  245. package/dist/{plus-CWXA5wdX.js → plus-DiALAL8-.js} +2 -2
  246. package/dist/{plus-circle-filled-CbC0u2Y1.js → plus-circle-filled-BzHtTqEN.js} +2 -2
  247. package/dist/{process-field-configurations-BBc1EBeB.js → process-field-configurations-CAtKO6CG.js} +4 -4
  248. package/dist/{pt-BR-NtLaWlnZ.js → pt-BR-BaTE6BB_.js} +8 -1
  249. package/dist/pt-BR-BfDe_8iW.js +13 -0
  250. package/dist/{pt-BR-DWAziFjb.js → pt-BR-BxoOF8jB.js} +2 -2
  251. package/dist/pt-BR-Ct4s4jXV.js +13 -0
  252. package/dist/{recurring-CkL4cCM2.js → recurring-DKNs9K3x.js} +2 -2
  253. package/dist/{reporting-DerosUNm.js → reporting-D5ABpLO_.js} +2 -2
  254. package/dist/resolveEnvironment-D3grZ1cC.js +84 -0
  255. package/dist/{revenue-accelerate-Dp4Ns_5c.js → revenue-accelerate-D7Sp0V4a.js} +2 -2
  256. package/dist/{review-CxIN9azU.js → review-D4TUjcWF.js} +2 -2
  257. package/dist/roleMetadata-CkOicLV_.js +66 -0
  258. package/dist/{save-Fgy7EDid.js → save-BfqO2JBI.js} +2 -2
  259. package/dist/{search-C4GZ-Rc1.js → search-Cmzbf5zI.js} +2 -2
  260. package/dist/{show-yPjPmEf8.js → show-IdbU1C6P.js} +2 -2
  261. package/dist/{singpass-logo-BkMSwiGY.js → singpass-logo-wY4xsmTX.js} +2 -2
  262. package/dist/{singpass-verification-instant-hY4eGFwl.js → singpass-verification-instant-JCqTr7Mv.js} +2 -2
  263. package/dist/{singpass-verification-manual-DwhRpy5Q.js → singpass-verification-manual-DQ7XW6R3.js} +2 -2
  264. package/dist/sl-SI-BAIm-qBe.js +13 -0
  265. package/dist/{sl-SI-C5vfq7vv.js → sl-SI-DTvJT7fC.js} +2 -2
  266. package/dist/{sl-SI-tPwbFvOI.js → sl-SI-DbfswGh0.js} +8 -1
  267. package/dist/sl-SI-hxwQIw_i.js +13 -0
  268. package/dist/{solution-payments-CNAat9h7.js → solution-payments-DpyE_sdS.js} +2 -2
  269. package/dist/{store-IuAkDRAp.js → store-Btc4GcmU.js} +2 -2
  270. package/dist/style.css +1364 -1368
  271. package/dist/styles-CLV89_hH.js +1364 -1368
  272. package/dist/summaryItem-CAQCQSkt.js +18 -0
  273. package/dist/sv-SE-0PQ-U1u6.js +13 -0
  274. package/dist/sv-SE-BZNey_8S.js +13 -0
  275. package/dist/{sv-SE-K1QT1cOt.js → sv-SE-D_Efxy3s.js} +8 -1
  276. package/dist/{sv-SE-BrO9NKWs.js → sv-SE-N-Hqwcjq.js} +2 -2
  277. package/dist/{tax-reporting-graph-DjzwRgE6.js → tax-reporting-graph-hgoilCHZ.js} +2 -2
  278. package/dist/{terminal-1-_me9J9h0.js → terminal-1-D1pwXCoi.js} +2 -2
  279. package/dist/{tink-logo-BcIv93ND.js → tink-logo-DDyjz5eJ.js} +2 -2
  280. package/dist/types/api/address/useAddressCleanse.d.ts +1 -1
  281. package/dist/types/api/address/useRetrieveAddress.d.ts +1 -1
  282. package/dist/types/api/address/useRetrieveFromPostcodeJp.d.ts +1 -1
  283. package/dist/types/api/address/useSearchAddress.d.ts +1 -2
  284. package/dist/types/api/businessLines/useBusinessLines.d.ts +3 -3
  285. package/dist/types/api/businessLines/useCreateBusinessLine.d.ts +2 -2
  286. package/dist/types/api/businessLines/useDeleteBusinessLine.d.ts +2 -2
  287. package/dist/types/api/businessLines/useUpdateBusinessLines.d.ts +2 -2
  288. package/dist/types/api/businessLines/useUpdateSourceOfFunds.d.ts +2 -2
  289. package/dist/types/api/check/useCheck.d.ts +1 -2
  290. package/dist/types/api/companyDataSet/useClearCompanyData.d.ts +2 -2
  291. package/dist/types/api/companySearch/useCompanySearch.d.ts +1 -2
  292. package/dist/types/api/companySelection/useCompanySelection.d.ts +1 -1
  293. package/dist/types/api/configurations/useScenarios.d.ts +3 -161
  294. package/dist/types/api/configurations/useSupportedCountries.d.ts +1 -1
  295. package/dist/types/api/configurations/useTaskTypes.d.ts +1 -1
  296. package/dist/types/api/configurations/useVersionConfiguration.d.ts +1 -1
  297. package/dist/types/api/createLegalEntity/useCreateLegalEntity.d.ts +2 -2
  298. package/dist/types/api/datasets/useLegalForms.d.ts +1 -1
  299. package/dist/types/api/datasets/useNaceCodes.d.ts +1 -1
  300. package/dist/types/api/datasets/useSourceOfFundsTypes.d.ts +1 -1
  301. package/dist/types/api/documentValidation/useDocumentValidate.d.ts +2 -4
  302. package/dist/types/api/documents/useCreateDocument.d.ts +2 -2
  303. package/dist/types/api/documents/useDeleteDocument.d.ts +2 -2
  304. package/dist/types/api/documents/useDocument.d.ts +2 -2
  305. package/dist/types/api/documents/useDocuments.d.ts +1 -1
  306. package/dist/types/api/documents/useUpdateDocument.d.ts +2 -2
  307. package/dist/types/api/entityVerifications/useVerifyIdNumber.d.ts +2 -2
  308. package/dist/types/api/idNowProvider/useIdNowProvider.d.ts +3 -4
  309. package/dist/types/api/idVerificationProviders/idVerificationStartCheck.d.ts +2 -2
  310. package/dist/types/api/idVerificationProviders/useExtractDocumentInformation.d.ts +2 -2
  311. package/dist/types/api/idVerificationProviders/useIdVerificationToken.d.ts +3 -3
  312. package/dist/types/api/industryCodes/useIndustryCodes.d.ts +1 -2
  313. package/dist/types/api/legalEntity/useConfirmReview.d.ts +2 -2
  314. package/dist/types/api/legalEntity/useLegalEntity.d.ts +8 -389
  315. package/dist/types/api/legalEntity/useUpdateLegalEntity.d.ts +2 -2
  316. package/dist/types/api/onboardingStatus/useGenerateOnboardingLink.d.ts +2 -2
  317. package/dist/types/api/onboardingStatus/useOnboardingStatus.d.ts +1 -1
  318. package/dist/types/api/openId/useOpenIdAuthorizationLink.d.ts +1 -2
  319. package/dist/types/api/pci/usePciQuestionnaireList.d.ts +1 -1
  320. package/dist/types/api/pci/usePciStatus.d.ts +1 -1
  321. package/dist/types/api/pci/usePciTemplate.d.ts +1 -1
  322. package/dist/types/api/pci/useSignPci.d.ts +2 -3
  323. package/dist/types/api/providersConfiguration/useProviderStatus.d.ts +1 -1
  324. package/dist/types/api/queryKeys.d.ts +1 -1
  325. package/dist/types/api/taskStatus/useTaskStatus.d.ts +2 -2
  326. package/dist/types/api/taxClassification/useTaxClassification.d.ts +1 -1
  327. package/dist/types/api/termsOfService/useAcceptTermsOfService.d.ts +2 -3
  328. package/dist/types/api/termsOfService/useAcceptedTermsOfService.d.ts +1 -7
  329. package/dist/types/api/termsOfService/useTermsOfService.d.ts +1 -1
  330. package/dist/types/api/termsOfService/useTermsOfServiceAcceptanceInfos.d.ts +1 -1
  331. package/dist/types/api/termsOfService/useTermsOfServiceStatus.d.ts +1 -1
  332. package/dist/types/api/tinVerification/useVerifyTin.d.ts +1 -1
  333. package/dist/types/api/transferInstruments/useBankVerificationProviders.d.ts +1 -1
  334. package/dist/types/api/transferInstruments/useCreateTrustedTransferInstrument.d.ts +1 -1
  335. package/dist/types/api/transferInstruments/useDeleteTransferInstrument.d.ts +1 -1
  336. package/dist/types/api/transferInstruments/useHandleBankVerificationError.d.ts +1 -1
  337. package/dist/types/api/transferInstruments/useTransferInstrument.d.ts +2 -2
  338. package/dist/types/api/transferInstruments/useTransferInstruments.d.ts +1 -1
  339. package/dist/types/api/transferInstruments/useUpdateTransferInstrument.d.ts +1 -1
  340. package/dist/types/api/transferInstruments/useUpdateTrustedTransferInstrument.d.ts +1 -1
  341. package/dist/types/api/types.d.ts +3 -2
  342. package/dist/types/api/uiAnalytics/useAnalyticsSession.d.ts +2 -2
  343. package/dist/types/api/uiAnalytics/usePushAnalyticEvent.d.ts +2 -2
  344. package/dist/types/api/validation/useValidateAccountIdentification.d.ts +2 -3
  345. package/dist/types/api/validation/useValidatePhoneNumber.d.ts +1 -1
  346. package/dist/types/components/{Shared → Apps}/tasks/TaskList/utils.d.ts +1 -5
  347. package/dist/types/components/BankAccount/forms/BankDocument/BankDocumentClassification.d.ts +1 -2
  348. package/dist/types/components/BankAccount/forms/BankDocument/types.d.ts +0 -1
  349. package/dist/types/components/BankAccount/forms/BankVerification/types.d.ts +1 -0
  350. package/dist/types/components/BankAccount/forms/BankVerification/verification/overlay/BankVerificationOverlay.d.ts +1 -1
  351. package/dist/types/components/BankAccount/forms/PayoutDetails/rules.d.ts +1 -1
  352. package/dist/types/components/BankAccount/forms/PayoutDetails/types.d.ts +0 -1
  353. package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +439 -439
  354. package/dist/types/components/BankAccount/pages/PayoutDetailsPage.d.ts +3 -3
  355. package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/PayoutDetailsDropin.d.ts +1 -1
  356. package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/utils.d.ts +1 -1
  357. package/dist/types/components/BankAccount/utils/payoutAccountUtil.d.ts +1 -1
  358. package/dist/types/components/Business/forms/AdditionalInformation/AdditionalInformation.d.ts +0 -2
  359. package/dist/types/components/Business/forms/AdditionalInformation/utils.d.ts +0 -3
  360. package/dist/types/components/Business/forms/BusinessDetails/form-ids.d.ts +2 -0
  361. package/dist/types/components/Business/forms/BusinessDetails/forms.d.ts +12 -11
  362. package/dist/types/components/Business/forms/BusinessDetails/types.d.ts +2 -1
  363. package/dist/types/components/Business/forms/BusinessSelection/BusinessInformationCard/BusinessInformationCard.d.ts +4 -4
  364. package/dist/types/components/Business/forms/CompanyStructure/CompanyStructure.d.ts +0 -1
  365. package/dist/types/components/{Shared → Business}/forms/FinancialInformation/formatFinancialInformationSummary.d.ts +1 -1
  366. package/dist/types/components/{Shared → Business}/forms/FinancialInformation/mapping/mapFinancialInformationToFinancialReport.d.ts +1 -1
  367. package/dist/types/components/{Shared → Business}/forms/FinancialInformation/mapping/mapFinancialReportsToFinancialInformation.d.ts +1 -1
  368. package/dist/types/components/Business/forms/rules.d.ts +11 -11
  369. package/dist/types/components/Business/mapping/businessDetails/businessBankAccountTaxIdUtils.d.ts +7 -0
  370. package/dist/types/components/Business/mapping/businessDetails/mapBusinessDetailsSchemaToLegalEntity.d.ts +4 -2
  371. package/dist/types/components/Business/mapping/businessDetails/mapLegalEntityToBusinessDetailsSchema.d.ts +8 -1
  372. package/dist/types/components/Business/pages/RootBusinessDetailsPage.d.ts +1 -2
  373. package/dist/types/components/Business/tasks/BusinessDetailsDropin/businessDetailsStore.d.ts +0 -2
  374. package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +4 -2
  375. package/dist/types/components/Business/tasks/BusinessDetailsDropin/utils.d.ts +3 -4
  376. package/dist/types/components/Business/utils/companyUtil.d.ts +0 -10
  377. package/dist/types/components/BusinessLines/constants.d.ts +2 -0
  378. package/dist/types/components/BusinessLines/fields/SctaField/types.d.ts +1 -1
  379. package/dist/types/components/BusinessLines/fields/WebDataField/types.d.ts +1 -1
  380. package/dist/types/components/BusinessLines/pages/RootBusinessLinesPage.d.ts +1 -2
  381. package/dist/types/components/BusinessLines/tasks/BusinessLines/BusinessLineModal/BusinessLineModal.d.ts +2 -1
  382. package/dist/types/components/BusinessLines/tasks/BusinessLines/BusinessLinesDropin.d.ts +1 -1
  383. package/dist/types/components/BusinessLines/tasks/types.d.ts +2 -0
  384. package/dist/types/components/BusinessLines/tasks/utils.d.ts +8 -4
  385. package/dist/types/components/BusinessLines/tasks/validate.d.ts +0 -2
  386. package/dist/types/components/Contract/tasks/ServiceAgreementDropin/types.d.ts +1 -1
  387. package/dist/types/components/EFP/fields/LegalFormField/LegalFormField.d.ts +1 -1
  388. package/dist/types/components/EFP/fields/NaceCodeField/NaceCodeField.d.ts +1 -1
  389. package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +5771 -541
  390. package/dist/types/components/EFP/mapping/mapBusinessFinancingToLegalEntity.d.ts +3 -2
  391. package/dist/types/components/EFP/mapping/mapLegalEntityToBusinessFinancing.d.ts +1 -1
  392. package/dist/types/components/EFP/pages/BusinessFinancingPage.d.ts +1 -2
  393. package/dist/types/components/EFP/pages/SourceOfFundsPage.d.ts +1 -2
  394. package/dist/types/components/EFP/tasks/BusinessFinancingDropin/AdditionalFieldsForBusinessFinancingSoleProprietor.d.ts +2 -0
  395. package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingSoleProprietorPersonalInformation.d.ts +4 -0
  396. package/dist/types/components/EFP/tasks/BusinessFinancingDropin/types.d.ts +28 -0
  397. package/dist/types/components/EFP/tasks/BusinessFinancingDropin/utils.d.ts +14 -3
  398. package/dist/types/components/EFP/tasks/BusinessFinancingDropin/validate.d.ts +10 -1
  399. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/types.d.ts +20 -21
  400. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/utils.d.ts +6 -4
  401. package/dist/types/components/EFP/tasks/TaxReportingDropin/utils.d.ts +1 -2
  402. package/dist/types/components/EmbeddedDropins/BusinessFinancingComponent/utils.d.ts +2 -1
  403. package/dist/types/components/EmbeddedDropins/CreateIndividualComponent/CreateIndividualComponent.d.ts +2 -2
  404. package/dist/types/components/EmbeddedDropins/InvitedDecisionMakerComponent/InvitedDecisionMakerComponent.d.ts +4 -0
  405. package/dist/types/components/EmbeddedDropins/OnboardingDropinComponent/DropinComposer/DropinComposer.d.ts +1 -1
  406. package/dist/types/components/EmbeddedDropins/OnboardingDropinComponent/DropinComposer/RouterDropinComposer.d.ts +4 -0
  407. package/dist/types/components/Individual/fields/DriversLicense/DriversLicense.types.d.ts +1 -1
  408. package/dist/types/components/Individual/fields/IdentityNumber/fieldConfig.d.ts +4 -3
  409. package/dist/types/components/Individual/forms/AdditionalPersonalDetails/AdditionalPersonalDetails.types.d.ts +29 -0
  410. package/dist/types/components/Individual/forms/{IndividualOnfido/AdditionalPersonalDetails → AdditionalPersonalDetails}/Identity/Identity.types.d.ts +3 -3
  411. package/dist/types/components/Individual/forms/{IndividualOnfido/AdditionalPersonalDetails → AdditionalPersonalDetails}/Identity/TypeOfIdentity/index.d.ts +2 -2
  412. package/dist/types/components/Individual/forms/AdditionalPersonalDetails/Identity/validate.d.ts +4 -0
  413. package/dist/types/components/Individual/forms/{IndividualOnfido/AdditionalPersonalDetails → AdditionalPersonalDetails}/validate.d.ts +8 -8
  414. package/dist/types/components/Individual/forms/BasicDetails/BasicDetails.types.d.ts +22 -0
  415. package/dist/types/components/Individual/forms/BasicDetails/validate.d.ts +8 -0
  416. package/dist/types/components/Individual/forms/{IndividualOnfido/DataConflictsModal → DataConflictsModal}/ConflictRow.d.ts +1 -1
  417. package/dist/types/components/Individual/forms/{IndividualOnfido/DataConflictsModal → DataConflictsModal}/DataConflictsModal.d.ts +1 -1
  418. package/dist/types/components/Individual/forms/{Individual/IdDocumentUpload → IdDocumentUpload}/types.d.ts +5 -15
  419. package/dist/types/components/Individual/forms/{Individual/IdDocumentUpload → IdDocumentUpload}/utils.d.ts +1 -1
  420. package/dist/types/components/Individual/forms/IdNowVerificationModal/isIdNowModalOpen.d.ts +18 -0
  421. package/dist/types/components/Individual/forms/{IndividualOnfido/IdVerificationMethod → IdVerificationMethod}/IdVerificationMethod.types.d.ts +5 -4
  422. package/dist/types/components/Individual/forms/{IndividualOnfido/IdVerificationMethod → IdVerificationMethod}/OnfidoVerificationModal/OnfidoVerificationModal.d.ts +1 -1
  423. package/dist/types/components/Individual/forms/{IndividualOnfido/IdVerificationMethod → IdVerificationMethod}/UploadedDocument/UploadedDocument.d.ts +1 -1
  424. package/dist/types/components/Individual/forms/{IndividualOnfido/IdVerificationMethod → IdVerificationMethod}/individualOnfidoConflictsSchema.d.ts +5 -5
  425. package/dist/types/components/Individual/forms/IdVerificationMethod/mapExtractionResultToSchema.d.ts +4 -0
  426. package/dist/types/components/Individual/forms/{IndividualOnfido/IdVerificationMethod → IdVerificationMethod}/validateExtractionResult.d.ts +3 -3
  427. package/dist/types/components/Individual/forms/{IndividualOnfido/IndividualOnfido.d.ts → Individual.d.ts} +6 -2
  428. package/dist/types/components/Individual/forms/{IndividualOnfido/IndividualOnfido.rules.d.ts → Individual.rules.d.ts} +8 -9
  429. package/dist/types/components/Individual/forms/{IndividualOnfido/IndividualOnfido.types.d.ts → Individual.types.d.ts} +16 -15
  430. package/dist/types/components/Individual/forms/{Individual/ProofOfRelationship → ProofOfRelationship}/types.d.ts +1 -1
  431. package/dist/types/components/Individual/forms/{Individual/ProofOfResidency → ProofOfResidency}/types.d.ts +1 -1
  432. package/dist/types/components/Individual/forms/{IndividualOnfido/SignatoryQuestionnaire → SignatoryQuestionnaire}/SignatoryQuestionnaire.types.d.ts +1 -1
  433. package/dist/types/components/Individual/forms/{IndividualOnfido/UboQuestionnaire → UboQuestionnaire}/UboQuestionnaire.types.d.ts +2 -2
  434. package/dist/types/components/Individual/forms/{IndividualOnfido/UboQuestionnaire → UboQuestionnaire}/UboQuestionnaireModalContent.d.ts +1 -1
  435. package/dist/types/components/Individual/forms/form-ids.d.ts +2 -0
  436. package/dist/types/components/Individual/helpers/bafinUtils.d.ts +3 -2
  437. package/dist/types/components/Individual/helpers/mandateIdVerificationForMotionCapture.d.ts +2 -3
  438. package/dist/types/components/Individual/helpers/roleUtils.d.ts +1 -1
  439. package/dist/types/components/Individual/mapping/adjustOnfidoIdentificationData.d.ts +1 -1
  440. package/dist/types/components/Individual/mapping/getOnfidoIdentityTypeToApiIdentityTypeMap.d.ts +1 -1
  441. package/dist/types/components/Individual/mapping/individualKeyMappings.d.ts +6 -12
  442. package/dist/types/components/Individual/mapping/mapApiDocumentToIndividualDocuments.d.ts +2 -2
  443. package/dist/types/components/Individual/mapping/mapIndividualDocumentToApiDocument.d.ts +2 -3
  444. package/dist/types/components/Individual/mapping/{mapIndividualOnfidoSchemaToLegalEntity.d.ts → mapIndividualSchemaToLegalEntity.d.ts} +1 -1
  445. package/dist/types/components/Individual/mapping/{mapLegalEntityToIndividualOnfidoSchema.d.ts → mapLegalEntityToIndividualSchema.d.ts} +1 -1
  446. package/dist/types/components/Individual/pages/DecisionMakerDetailsPage.d.ts +6 -7
  447. package/dist/types/components/Individual/pages/LegalRepresentativeDetailsPage.d.ts +2 -2
  448. package/dist/types/components/Individual/pages/RootIndividualDetailsPage.d.ts +2 -2
  449. package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/utils.d.ts +2 -14
  450. package/dist/types/components/Individual/tasks/DecisionMakers/RemediationAlerts/remediation.config.d.ts +0 -2
  451. package/dist/types/components/Individual/tasks/DecisionMakers/types.d.ts +8 -0
  452. package/dist/types/components/Individual/tasks/DecisionMakers/utils.d.ts +1 -1
  453. package/dist/types/components/Individual/tasks/IndividualDropin/IndividualDropin.d.ts +2 -2
  454. package/dist/types/components/Individual/tasks/IndividualDropin/individualFormConfig.d.ts +3 -3
  455. package/dist/types/components/Shared/EntityAssociation/EntityAssociation.d.ts +0 -1
  456. package/dist/types/components/Shared/Introduction/copy.d.ts +1 -1
  457. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/BusinessRegistrationNumberField.d.ts +1 -1
  458. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/fieldConfig.d.ts +10 -0
  459. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/types.d.ts +2 -1
  460. package/dist/types/components/Shared/fields/CountryField/types.d.ts +2 -1
  461. package/dist/types/components/Shared/fields/CountryOfGoverningLawField/CountryOfGoverningLawField.d.ts +1 -1
  462. package/dist/types/components/Shared/fields/CountryOfGoverningLawField/types.d.ts +1 -1
  463. package/dist/types/components/Shared/fields/Currency/Currency.d.ts +1 -1
  464. package/dist/types/components/Shared/fields/Currency/types.d.ts +1 -1
  465. package/dist/types/components/Shared/fields/DBANameField/DBANameField.d.ts +1 -1
  466. package/dist/types/components/Shared/fields/DBANameField/types.d.ts +1 -1
  467. package/dist/types/components/Shared/fields/DateOfIncorporationField/DateOfIncorporationField.d.ts +1 -1
  468. package/dist/types/components/Shared/fields/DateOfIncorporationField/types.d.ts +3 -1
  469. package/dist/types/components/Shared/fields/EInvoicingCodeField/EInvoicingCodeField.d.ts +1 -1
  470. package/dist/types/components/Shared/fields/EInvoicingCodeField/types.d.ts +1 -1
  471. package/dist/types/components/Shared/fields/IdFieldTypeSelector/countryIdNumberTypes.d.ts +119 -1
  472. package/dist/types/components/Shared/fields/IndustryCodeField/IndustryCodeField.d.ts +1 -1
  473. package/dist/types/components/Shared/fields/IndustryCodeField/types.d.ts +1 -1
  474. package/dist/types/components/Shared/fields/LegalCompanyNameField/fieldConfig.d.ts +12 -6
  475. package/dist/types/components/Shared/fields/LegalCompanyNameField/types.d.ts +3 -1
  476. package/dist/types/components/{Individual → Shared}/fields/LocalizedNameFields/types.d.ts +2 -2
  477. package/dist/types/components/Shared/fields/LocalizedNameFields/validate.d.ts +5 -0
  478. package/dist/types/components/Shared/fields/NumberOfEmployees/NumberOfEmployees.d.ts +1 -1
  479. package/dist/types/components/Shared/fields/NumberOfEmployees/types.d.ts +1 -1
  480. package/dist/types/components/Shared/fields/PhoneField/PhoneField.d.ts +1 -1
  481. package/dist/types/components/Shared/fields/PhoneField/fieldConfig.d.ts +5 -0
  482. package/dist/types/components/Shared/fields/PhoneField/types.d.ts +2 -1
  483. package/dist/types/components/Shared/fields/StateField/StateField.d.ts +1 -1
  484. package/dist/types/components/Shared/fields/StateField/fieldConfig.d.ts +8 -0
  485. package/dist/types/components/Shared/fields/StateField/types.d.ts +1 -1
  486. package/dist/types/components/Shared/fields/StockExchangeMICField/StockExchangeMICField.d.ts +1 -1
  487. package/dist/types/components/Shared/fields/StockExchangeMICField/types.d.ts +1 -1
  488. package/dist/types/components/Shared/fields/StockISINField/StockISINField.d.ts +1 -1
  489. package/dist/types/components/Shared/fields/StockISINField/types.d.ts +1 -1
  490. package/dist/types/components/Shared/fields/StockTickerSymbol/StockTickerSymbolField.d.ts +1 -1
  491. package/dist/types/components/Shared/fields/StockTickerSymbol/types.d.ts +1 -1
  492. package/dist/types/components/Shared/fields/TaxInformationField/TaxInformationField.d.ts +1 -1
  493. package/dist/types/components/Shared/fields/TaxInformationField/fieldConfig.d.ts +6 -0
  494. package/dist/types/components/Shared/fields/TaxInformationField/types.d.ts +2 -1
  495. package/dist/types/components/Shared/fields/VatNumberField/VatNumberField.d.ts +1 -1
  496. package/dist/types/components/Shared/fields/VatNumberField/types.d.ts +1 -1
  497. package/dist/types/components/Shared/forms/Address/Address.d.ts +1 -1
  498. package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
  499. package/dist/types/components/Shared/forms/BusinessTypeSelection/utils.d.ts +1 -1
  500. package/dist/types/components/Trust/forms/Trust/rules.d.ts +2 -2
  501. package/dist/types/components/Trust/hooks/useTrustMemberNavigation.hook.d.ts +1 -1
  502. package/dist/types/components/Trust/pages/TrustDetailsPage.d.ts +1 -2
  503. package/dist/types/components/Trust/pages/TrustMemberCompanyPage.d.ts +3 -3
  504. package/dist/types/components/Trust/pages/TrustMemberIndividualPage.d.ts +5 -5
  505. package/dist/types/components/Trust/pages/TrustMemberRoleAndTypePage.d.ts +2 -2
  506. package/dist/types/components/Trust/tasks/RoleAndTypeDropin/formatRoleAndEntityTypeSummary.d.ts +1 -1
  507. package/dist/types/components/Trust/tasks/TrustDropin/TrustMultiform.d.ts +2 -1
  508. package/dist/types/components/Trust/tasks/TrustMembers/TrustMembersOverview.d.ts +1 -2
  509. package/dist/types/components/UnincorporatedPartnership/hooks/useUnincorporatedPartnershipNavigation.d.ts +1 -1
  510. package/dist/types/components/UnincorporatedPartnership/pages/UnincorporatedPartnershipIndividualPage.d.ts +5 -5
  511. package/dist/types/components/UnincorporatedPartnership/pages/UnincorporatedPartnershipMemberCompanyPage.d.ts +3 -3
  512. package/dist/types/components/UnincorporatedPartnership/pages/UnincorporatedPartnershipMemberRoleAndTypePage.d.ts +1 -1
  513. package/dist/types/components/ui/atoms/Card/Card.d.ts +19 -0
  514. package/dist/types/components/ui/atoms/Loader/Loader.d.ts +11 -1
  515. package/dist/types/components/ui/atoms/MultiSelectList/MultiSelectList.d.ts +0 -1
  516. package/dist/types/components/ui/atoms/Svg/Svg.d.ts +0 -1
  517. package/dist/types/components/ui/molecules/EmbeddedStatus/statusToTag.d.ts +1 -1
  518. package/dist/types/components/ui/molecules/ErrorPanel/ErrorPanel.d.ts +0 -1
  519. package/dist/types/context/ExperimentContext/types.d.ts +19 -42
  520. package/dist/types/context/QueryContext/QueryClient.d.ts +1 -1
  521. package/dist/types/context/StateContext/types.d.ts +2 -3
  522. package/dist/types/core/models/api/individual.d.ts +3 -0
  523. package/dist/types/core/models/api/instant-id-verification.d.ts +1 -1
  524. package/dist/types/core/models/api/legal-arrangement.d.ts +3 -0
  525. package/dist/types/core/models/api/legal-entity-association.d.ts +1 -1
  526. package/dist/types/core/process-field-configurations.d.ts +0 -5
  527. package/dist/types/core/services/types.d.ts +1 -1
  528. package/dist/types/core/user-events.d.ts +4 -2
  529. package/dist/types/embeds/baseEmbedProps.d.ts +0 -21
  530. package/dist/types/embeds/business-financing/adyen-business-financing.d.ts +2 -1
  531. package/dist/types/embeds/business-financing/adyen-business-financing.types.d.ts +5 -0
  532. package/dist/types/embeds/individual-configuration/adyen-individual-configuration.d.ts +5 -1
  533. package/dist/types/embeds/individual-configuration/adyen-individual-configuration.types.d.ts +7 -2
  534. package/dist/types/embeds/individual-status/adyen-individual-status.types.d.ts +5 -0
  535. package/dist/types/embeds/invited-decision-maker/adyen-invited-decision-maker.d.ts +5 -0
  536. package/dist/types/embeds/invited-decision-maker/adyen-invited-decision-maker.types.d.ts +39 -0
  537. package/dist/types/embeds/onboarding/adyen-onboarding.d.ts +2 -1
  538. package/dist/types/embeds/onboarding/adyen-onboarding.types.d.ts +5 -0
  539. package/dist/types/embeds/terms-of-service-management/adyen-terms-of-service-management.d.ts +5 -1
  540. package/dist/types/embeds/terms-of-service-management/adyen-terms-of-service-management.types.d.ts +5 -0
  541. package/dist/types/embeds/terms-of-service-status/adyen-terms-of-service-status.types.d.ts +5 -0
  542. package/dist/types/embeds/transfer-instrument-configuration/adyen-transfer-instrument-configuration.d.ts +2 -1
  543. package/dist/types/embeds/transfer-instrument-configuration/adyen-transfer-instrument-configuration.types.d.ts +5 -0
  544. package/dist/types/embeds/transfer-instrument-management/adyen-transfer-instrument-management.types.d.ts +5 -0
  545. package/dist/types/embeds/verification-status/adyen-verification-status.d.ts +2 -1
  546. package/dist/types/embeds/verification-status/adyen-verification-status.types.d.ts +5 -0
  547. package/dist/types/hooks/useAssociatedLegalEntity.d.ts +1 -1
  548. package/dist/types/hooks/useForm/types.d.ts +0 -8
  549. package/dist/types/hooks/useLegalCompanyNameField/useLegalCompanyNameField.d.ts +4 -2
  550. package/dist/types/hooks/usePageLandedEvent.d.ts +7 -0
  551. package/dist/types/hooks/useUboQuestionnaire.d.ts +2 -2
  552. package/dist/types/language/types.d.ts +7 -2
  553. package/dist/types/language/utils.d.ts +1 -2
  554. package/dist/types/router/DefaultRouteRedirect.d.ts +8 -0
  555. package/dist/types/router/MemoryRouterContext.d.ts +9 -0
  556. package/dist/types/router/OnboardingRouter.d.ts +39 -0
  557. package/dist/types/router/SuspenseRoute.d.ts +7 -0
  558. package/dist/types/router/getDefaultTask.d.ts +16 -0
  559. package/dist/types/router/routeConfig.d.ts +68 -0
  560. package/dist/types/router/useCurrentTask.d.ts +5 -0
  561. package/dist/types/router/useNavigate.d.ts +7 -0
  562. package/dist/types/stores/formState.d.ts +1 -1
  563. package/dist/types/stores/globalStore/taskStatus.d.ts +5 -3
  564. package/dist/types/types/assert.d.ts +1 -0
  565. package/dist/types/types/form-rules.d.ts +0 -1
  566. package/dist/types/utils/addLinkedFields.d.ts +0 -2
  567. package/dist/types/utils/analytics/debouncedInputEvent.d.ts +1 -0
  568. package/dist/types/utils/analytics/getPrefilledDetails.d.ts +28 -0
  569. package/dist/types/utils/api/processCapabilitites.d.ts +14 -2
  570. package/dist/types/utils/birthDateUtils.d.ts +0 -17
  571. package/dist/types/utils/entityAssociationUtil.d.ts +3 -4
  572. package/dist/types/utils/entityStatusUtil.d.ts +1 -1
  573. package/dist/types/utils/fieldConfigurations.d.ts +0 -2
  574. package/dist/types/utils/formUtils.d.ts +1 -6
  575. package/dist/types/utils/getDisplayErrorMessage.d.ts +1 -2
  576. package/dist/types/utils/getFieldsWithExistingData.d.ts +2 -3
  577. package/dist/types/utils/getName.d.ts +1 -1
  578. package/dist/types/utils/japanSupportUtils.d.ts +2 -1
  579. package/dist/types/utils/logger.d.ts +0 -1
  580. package/dist/types/utils/makeSelectItemForRole.d.ts +1 -1
  581. package/dist/types/utils/performance.d.ts +64 -0
  582. package/dist/types/utils/regex/patternValidators.d.ts +1 -1
  583. package/dist/types/utils/translation.d.ts +3 -2
  584. package/dist/types/utils/validatorUtils.d.ts +2 -1
  585. package/dist/types/utils/verification/helpers/verifyIdNumber.d.ts +3 -2
  586. package/dist/{types-Dk94b8kx.js → types-B7GElie6.js} +21 -44
  587. package/dist/{types-fRMvVcuU.js → types-BveVR11j.js} +2 -2
  588. package/dist/{types-DtV30rT3.js → types-COOK2jmb.js} +3 -26
  589. package/dist/{types-Q8QbiVOz.js → types-DlIEfVQ_.js} +2 -2
  590. package/dist/unincorporated-partnership-MeN1dp53.js +97 -0
  591. package/dist/{upload-BF65P4KM.js → upload-BmUXjsaU.js} +2 -2
  592. package/dist/{us-check-CYY6Crhr.js → us-check-C1rTBsCY.js} +2 -2
  593. package/dist/{us-check-account-number-C7KE5YzX.js → us-check-account-number-9lI1dXNC.js} +2 -2
  594. package/dist/{us-check-routing-number-DUbhsYAR.js → us-check-routing-number-s_KaAGSM.js} +2 -2
  595. package/dist/{useAssociatedLegalEntity-CtNg5gYS.js → useAssociatedLegalEntity-BMeOu2ox.js} +3 -2
  596. package/dist/useBusinessDetailsData-CAiFFs88.js +5197 -0
  597. package/dist/useBusinessLines-DG-LapFA.js +29 -0
  598. package/dist/useCanSeeIntroduction-DJUYy5a5.js +48 -0
  599. package/dist/{useCreateLegalEntity-DIzVLIrw.js → useCreateLegalEntity-BzRbiLpn.js} +3 -2
  600. package/dist/useDataMissingRemediations-x7yza9Ka.js +41 -0
  601. package/dist/useDataset-CDtTEXqi.js +76 -0
  602. package/dist/useDeleteTransferInstrument-S3FmBm7Z.js +32 -0
  603. package/dist/useForm-De1DLL-w.js +582 -0
  604. package/dist/{FormFlow-DX2A0gcf.js → useFormContext-BPBBPKhK.js} +26 -31
  605. package/dist/{useGlobalData-CO2a2RhB.js → useGlobalData-DemxVumJ.js} +3 -3
  606. package/dist/useId-BZ0PA7jP.js +24 -0
  607. package/dist/{useMultiForm-BkNgL1zi.js → useMultiForm-Cs0-iUXR.js} +46 -37
  608. package/dist/useNavigate-DdA-YVRy.js +265 -0
  609. package/dist/{useOnboardingStatus-BB5IzxTg.js → useOnboardingStatus-DeOWI7wU.js} +3 -2
  610. package/dist/usePciQuestionnaireList-rxdFFrP5.js +29 -0
  611. package/dist/useSalesChannels-CI133F-6.js +65 -0
  612. package/dist/{useScenarios-yIXrDacU.js → useScenarios-BE647UZ3.js} +7 -5
  613. package/dist/useSetting-BkKRHr6e.js +19 -0
  614. package/dist/useTaskStatus-DdTyBvAb.js +51 -0
  615. package/dist/{useTermsOfServiceStatus-BRdLkis6.js → useTermsOfServiceStatus-uSdmiCT3.js} +3 -2
  616. package/dist/{useToastContext-BQYYaLd-.js → useToastContext-B1vl-x5N.js} +6 -17
  617. package/dist/useTrustMembers-BOp5wFXa.js +163 -0
  618. package/dist/{useUnincorporatedPartnershipMembers-fl3LbBcx.js → useUnincorporatedPartnershipMembers-D7WsY1Dm.js} +5 -5
  619. package/dist/useUpdateBusinessLines-CdYUvjtv.js +339 -0
  620. package/dist/{useUpdateLegalEntity-CIZP-vhE.js → useUpdateLegalEntity-3og4ank0.js} +4 -3
  621. package/dist/utils-CHdXRuoO.js +159 -0
  622. package/dist/utils-CK72-tJC.js +29 -0
  623. package/dist/{utils-_N6wjH1k.js → utils-CXUBcmhg.js} +6 -6
  624. package/dist/utils-CYscdqdR.js +58 -0
  625. package/dist/{utils-BtBmicYe.js → utils-Ds83U_vM.js} +26 -22
  626. package/dist/{documentUtils-CmY7W1gB.js → validate-CoZiS4Ny.js} +171 -6
  627. package/dist/{validate-yIqc2enK.js → validate-TM7n49em.js} +10 -2
  628. package/dist/{validationError-BcmQ2z0b.js → validationError-DozI7J9X.js} +3 -3
  629. package/dist/{warning-circle-fill-CEN1WL7A.js → warning-circle-fill-DBvt921B.js} +2 -2
  630. package/dist/{warning-diamond-filled-BfXMlVrG.js → warning-diamond-filled-Lb2od2ry.js} +2 -2
  631. package/dist/{webinar-DqjqrNEv.js → webinar-m9nuFZBt.js} +2 -2
  632. package/dist/{yapily-logo-CZ4ywjwA.js → yapily-logo-BduxhNRA.js} +2 -2
  633. package/package.json +88 -56
  634. package/dist/Card-BHab7Kyt.js +0 -82
  635. package/dist/ConstitutionalDocument--Z--xpF7.js +0 -143
  636. package/dist/CountryField-BIYJvEAW.js +0 -843
  637. package/dist/CreateIndividualComponent-3t1p_6gB.js +0 -71
  638. package/dist/EntityAssociation-0B8bfpR4.js +0 -159
  639. package/dist/IndividualOnfido-BxhmIQwc.js +0 -9662
  640. package/dist/IndividualOnfidoDropin-Cy08-w8F.js +0 -2575
  641. package/dist/OnboardingDropinComponent-Cu2pv74K.js +0 -7623
  642. package/dist/RootBusinessDetailsPage-ChobUam3.js +0 -49
  643. package/dist/StoreProvider-DTMSAVgy.js +0 -7707
  644. package/dist/TrustMemberCompanyPage-DwVARA6c.js +0 -64
  645. package/dist/da-DK-CrtuBoDC.js +0 -118
  646. package/dist/da-DK-uHPPFvD-.js +0 -13
  647. package/dist/de-DE-SMf6w4NJ.js +0 -13
  648. package/dist/de-DE-mH3MobT9.js +0 -13
  649. package/dist/en-US-d4WBvUW7.js +0 -118
  650. package/dist/es-ES-BqpvBqmR.js +0 -13
  651. package/dist/es-ES-CnyVffM-.js +0 -118
  652. package/dist/fi-FI-DPegZzTc.js +0 -13
  653. package/dist/fi-FI-kXC-0USa.js +0 -118
  654. package/dist/fr-FR-6YOKsDLQ.js +0 -13
  655. package/dist/fr-FR-BPGwsLDa.js +0 -13
  656. package/dist/getFieldsWithExistingData-D6K7_vTh.js +0 -22
  657. package/dist/hasDataChanged-6p9Ib-IH.js +0 -19
  658. package/dist/id-verification-instant-BUVBO4R3.js +0 -58
  659. package/dist/id-verification-manual-B3YZALYU.js +0 -55
  660. package/dist/it-IT-B1eJg9RL.js +0 -13
  661. package/dist/it-IT-DyCHFg-b.js +0 -118
  662. package/dist/ja-JP-PnqAHl14.js +0 -13
  663. package/dist/mapFinancialReportsToFinancialInformation-CeqxQKYv.js +0 -67
  664. package/dist/mapJpAddressSchemaToAddressLocalizations-C22nFO39.js +0 -63
  665. package/dist/nl-NL-DkbhmJAw.js +0 -118
  666. package/dist/nl-NL-cVVIDG7s.js +0 -13
  667. package/dist/no-NO-C_tmZ39d.js +0 -13
  668. package/dist/no-NO-Df5qUoTc.js +0 -118
  669. package/dist/pt-BR-BOOm5lRR.js +0 -118
  670. package/dist/pt-BR-CMiGlY3k.js +0 -13
  671. package/dist/resolveEnvironment-DV8jSeQ4.js +0 -164
  672. package/dist/rules-Cu3mKCzh.js +0 -317
  673. package/dist/sl-SI-C3nGkfNb.js +0 -13
  674. package/dist/sl-SI-CGvCdquD.js +0 -118
  675. package/dist/sv-SE-BP2Oun8l.js +0 -118
  676. package/dist/sv-SE-CXn28ybc.js +0 -13
  677. package/dist/types/components/Business/tasks/BusinessDetailsDropin/mandatoryFields.d.ts +0 -3
  678. package/dist/types/components/Individual/fields/DecisionMakerRole/DecisionMakerRole.d.ts +0 -3
  679. package/dist/types/components/Individual/fields/DecisionMakerRole/NomineeDecisionMakerRole.d.ts +0 -10
  680. package/dist/types/components/Individual/fields/DecisionMakerRole/types.d.ts +0 -23
  681. package/dist/types/components/Individual/fields/NameFields/validate.d.ts +0 -4
  682. package/dist/types/components/Individual/forms/Individual/IdDocumentUpload/IdDocumentAlreadyUpload.d.ts +0 -2
  683. package/dist/types/components/Individual/forms/Individual/IdDocumentUpload/IdDocumentInstantVerification.d.ts +0 -3
  684. package/dist/types/components/Individual/forms/Individual/IdDocumentUpload/IdDocumentUpload.d.ts +0 -3
  685. package/dist/types/components/Individual/forms/Individual/IdVerificationMethod/IdVerificationMethod.d.ts +0 -3
  686. package/dist/types/components/Individual/forms/Individual/IdVerificationMethod/idVerificationMethodMetadata.d.ts +0 -15
  687. package/dist/types/components/Individual/forms/Individual/IdVerificationMethod/types.d.ts +0 -14
  688. package/dist/types/components/Individual/forms/Individual/Individual.d.ts +0 -9
  689. package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/Identity.d.ts +0 -2
  690. package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/IdentityAu/IdentityAu.d.ts +0 -2
  691. package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/IdentityAu/validate.d.ts +0 -3
  692. package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/IdentityHK/IdentityHK.d.ts +0 -2
  693. package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/IdentityHK/validate.d.ts +0 -3
  694. package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/IdentityNZ/IdentityNZ.d.ts +0 -2
  695. package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/IdentityNZ/validate.d.ts +0 -3
  696. package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/TypeOfIdentity/index.d.ts +0 -11
  697. package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/identityUS/IdentityUS.d.ts +0 -4
  698. package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/types.d.ts +0 -14
  699. package/dist/types/components/Individual/forms/Individual/PersonalDetails/PersonalDetails.d.ts +0 -3
  700. package/dist/types/components/Individual/forms/Individual/PersonalDetails/types.d.ts +0 -41
  701. package/dist/types/components/Individual/forms/Individual/PersonalDetails/validate.d.ts +0 -21
  702. package/dist/types/components/Individual/forms/Individual/rules.d.ts +0 -40
  703. package/dist/types/components/Individual/forms/Individual/types.d.ts +0 -51
  704. package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/AdditionalPersonalDetails.types.d.ts +0 -29
  705. package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/Identity/validate.d.ts +0 -4
  706. package/dist/types/components/Individual/forms/IndividualOnfido/BasicDetails/BasicDetails.types.d.ts +0 -22
  707. package/dist/types/components/Individual/forms/IndividualOnfido/BasicDetails/validate.d.ts +0 -6
  708. package/dist/types/components/Individual/forms/IndividualOnfido/IdNowVerificationModal/isIdNowModalOpen.d.ts +0 -17
  709. package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/mapExtractionResultToSchema.d.ts +0 -4
  710. package/dist/types/components/Individual/helpers/isOnfidoAutofillFlowEnabled.d.ts +0 -4
  711. package/dist/types/components/Individual/mapping/adjustIdentificationData.d.ts +0 -3
  712. package/dist/types/components/Individual/mapping/getIdentityTypeToApiIdentityTypeMap.d.ts +0 -3
  713. package/dist/types/components/Individual/mapping/individualOnfidoKeyMappings.d.ts +0 -8
  714. package/dist/types/components/Individual/mapping/mapIndividualToLegalEntity.d.ts +0 -3
  715. package/dist/types/components/Individual/mapping/mapLegalEntityToIndividual.d.ts +0 -3
  716. package/dist/types/components/Individual/tasks/IndividualOnfidoDropin/IndividualOnfidoDropin.d.ts +0 -2
  717. package/dist/types/components/Individual/tasks/IndividualOnfidoDropin/individualOnfidoFormConfig.d.ts +0 -4
  718. package/dist/types/components/Shared/forms/BusinessTypeSelection/EntityTypeRadioGroupCard.d.ts +0 -11
  719. package/dist/types/components/ui/molecules/Card/Card.d.ts +0 -3
  720. package/dist/types/components/ui/molecules/Card/types.d.ts +0 -26
  721. package/dist/types/embeds/EmbedBaseElement.d.ts +0 -41
  722. package/dist/types/embeds/EmbedCore.d.ts +0 -22
  723. package/dist/types/embeds/business-financing/AdyenBusinessFinancing.d.ts +0 -14
  724. package/dist/types/embeds/individual-configuration/AdyenIndividual.d.ts +0 -12
  725. package/dist/types/embeds/individual-status/AdyenManageIndividual.d.ts +0 -12
  726. package/dist/types/embeds/onboarding/AdyenOnboarding.d.ts +0 -12
  727. package/dist/types/embeds/terms-of-service-management/AdyenTermsOfService.d.ts +0 -12
  728. package/dist/types/embeds/terms-of-service-status/AdyenManageTermsOfService.d.ts +0 -12
  729. package/dist/types/embeds/transfer-instrument-configuration/AdyenTransferInstrument.d.ts +0 -16
  730. package/dist/types/embeds/transfer-instrument-management/AdyenManageTransferInstrument.d.ts +0 -14
  731. package/dist/types/embeds/verification-status/AdyenVerificationStatus.d.ts +0 -20
  732. package/dist/useBusinessDetailsData-kMDQy2r1.js +0 -2441
  733. package/dist/useDataset-D1R4kueP.js +0 -220
  734. package/dist/useUpdateBusinessLines-DWsML109.js +0 -46
  735. package/dist/validate-C4R1LPcu.js +0 -41
  736. /package/dist/types/components/{Shared → Apps}/tasks/TaskList/PayoutAccountTaskListItem.d.ts +0 -0
  737. /package/dist/types/components/{Shared → Apps}/tasks/TaskList/TaskList.d.ts +0 -0
  738. /package/dist/types/components/{Shared → Apps}/tasks/TaskList/TaskListGroup.d.ts +0 -0
  739. /package/dist/types/components/{Shared → Apps}/tasks/TaskList/TaskListItem.d.ts +0 -0
  740. /package/dist/types/components/{Shared → Apps}/tasks/TaskList/types.d.ts +0 -0
  741. /package/dist/types/components/{Shared → Business}/forms/FinancialInformation/FinancialInformation.d.ts +0 -0
  742. /package/dist/types/components/{Shared → Business}/forms/FinancialInformation/ReportedValue.d.ts +0 -0
  743. /package/dist/types/components/{Shared → Business}/forms/FinancialInformation/types.d.ts +0 -0
  744. /package/dist/types/components/{Shared → Business}/forms/FinancialInformation/validate.d.ts +0 -0
  745. /package/dist/types/components/Individual/forms/{IndividualOnfido/AdditionalPersonalDetails → AdditionalPersonalDetails}/AdditionalPersonalDetails.d.ts +0 -0
  746. /package/dist/types/components/Individual/forms/{IndividualOnfido/AdditionalPersonalDetails → AdditionalPersonalDetails}/Identity/Identity.d.ts +0 -0
  747. /package/dist/types/components/Individual/forms/{IndividualOnfido/BasicDetails → BasicDetails}/BasicDetails.d.ts +0 -0
  748. /package/dist/types/components/Individual/forms/{IndividualOnfido/GuidanceQuestion → GuidanceQuestion}/GuidanceQuestion.d.ts +0 -0
  749. /package/dist/types/components/Individual/forms/{Individual/IdDocumentUpload → IdDocumentUpload}/IdDocumentManualUpload.d.ts +0 -0
  750. /package/dist/types/components/Individual/forms/{IndividualOnfido/IdNowVerificationModal → IdNowVerificationModal}/IdNowVerificationModal.d.ts +0 -0
  751. /package/dist/types/components/Individual/forms/{Individual/IdVerification → IdVerification}/IdVerification.d.ts +0 -0
  752. /package/dist/types/components/Individual/forms/{Individual/IdVerification → IdVerification}/idVerificationProviderId.d.ts +0 -0
  753. /package/dist/types/components/Individual/forms/{Individual/IdVerification → IdVerification}/types.d.ts +0 -0
  754. /package/dist/types/components/Individual/forms/{IndividualOnfido/IdVerificationMethod → IdVerificationMethod}/IdVerificationMethod.d.ts +0 -0
  755. /package/dist/types/components/Individual/forms/{IndividualOnfido/ManualIdUpload → ManualIdUpload}/ManualIdUpload.d.ts +0 -0
  756. /package/dist/types/components/Individual/forms/{Individual/ProofOfRelationship → ProofOfRelationship}/index.d.ts +0 -0
  757. /package/dist/types/components/Individual/forms/{Individual/ProofOfResidency → ProofOfResidency}/ProofOfResidency.d.ts +0 -0
  758. /package/dist/types/components/Individual/forms/{IndividualOnfido/SignatoryQuestionnaire → SignatoryQuestionnaire}/SignatoryQuestionnaire.d.ts +0 -0
  759. /package/dist/types/components/Individual/forms/{IndividualOnfido/SignatoryQuestionnaire → SignatoryQuestionnaire}/SignatoryQuestionnaireModalContent.d.ts +0 -0
  760. /package/dist/types/components/Individual/forms/{IndividualOnfido/UboQuestionnaire → UboQuestionnaire}/UboQuestionnaire.d.ts +0 -0
  761. /package/dist/types/components/Individual/tasks/{IndividualOnfidoDropin/IndividualOnfidoStore.d.ts → IndividualDropin/IndividualStore.d.ts} +0 -0
  762. /package/dist/types/components/{Individual → Shared}/fields/LocalizedNameFields/LocalizedNameFields.d.ts +0 -0
@@ -2,40 +2,53 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "29f8585a-501d-4ffd-90b3-d7e852c8c58f", e._sentryDebugIdIdentifier = "sentry-dbid-29f8585a-501d-4ffd-90b3-d7e852c8c58f");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "cd1ddbca-725b-4a9b-8c6a-fdf2a75eab46", e._sentryDebugIdIdentifier = "sentry-dbid-cd1ddbca-725b-4a9b-8c6a-fdf2a75eab46");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
- import { b as useApiContext, a0 as useMutation, k as httpPost, j as useQuery, m as httpGet, u as useTranslation, G as Typography, B as Button, V as useI18nContext, W as isEmpty, L as Loader, a4 as Icon, Y as IconButton, P as createLogger, a2 as useQueryClient, c as useLegalEntity, R as ROOT_LE, a3 as useAnalyticsContext, bM as useLegalEntities, a as addResourceBundles, M as EntityTypes, g as getLegalEntityCountry, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-DTMSAVgy.js";
10
+ import { b as useApiContext, $ as httpPost, k as httpGet, u as useTranslation, z as Typography, V as Button, aa as useI18nContext, L as Loader, r as Icon, t as IconButton, H as TASK_STATUS_POLLING_INTERVAL_MS, a3 as createLogger, c as useLegalEntity, R as ROOT_LE, p as useAnalyticsContext, bE as useLegalEntities, a as addResourceBundles, a8 as EntityTypes, g as getLegalEntityCountry, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-DwuHWsNs.js";
11
11
  import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
12
- import { t as TextArea, I as Image, i as useCapabilityProblems, j as getProblemsForEntity } from "./Spacer-BT5nYRXK.js";
13
- import { useState, useMemo, useEffect, useCallback, useRef } from "preact/hooks";
14
- import { n as normalizedTaskStatusStore, _ as useBusinessLines } from "./OnboardingDropinComponent-Cu2pv74K.js";
15
- import { c as useInvalidateRootLegalEntity, a as useToastContext } from "./useToastContext-BQYYaLd-.js";
16
- import { u as useCreateLegalEntity } from "./useCreateLegalEntity-DIzVLIrw.js";
17
- import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-CIZP-vhE.js";
18
- import { h as hasDataChanged } from "./hasDataChanged-6p9Ib-IH.js";
19
- import { u as useGlobalDataSlice, c as useStateContext } from "./useGlobalData-CO2a2RhB.js";
20
- import { g as getPropsFromConfigurations } from "./process-field-configurations-BBc1EBeB.js";
21
- import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-BYk71qFP.js";
22
- import { F as FormWrapper } from "./FormWrapper-D2abCVld.js";
23
- import { c as createDocumentRequest, d as documentApiUtils } from "./documentUtils-CmY7W1gB.js";
12
+ import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-Cx2uHyD0.js";
13
+ import { useState, useMemo, useCallback, useEffect } from "preact/hooks";
14
+ import { u as useBusinessLines } from "./useBusinessLines-DG-LapFA.js";
15
+ import { useMutation, useQuery, useQueryClient } from "@tanstack/preact-query";
16
+ import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-B1vl-x5N.js";
17
+ import { u as useCreateLegalEntity } from "./useCreateLegalEntity-BzRbiLpn.js";
18
+ import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-3og4ank0.js";
19
+ import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-BPBBPKhK.js";
20
+ import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-NHYW3kj5.js";
21
+ import { u as useMultiForm } from "./useMultiForm-Cs0-iUXR.js";
22
+ import { c as createDocumentRequest, d as documentApiUtils } from "./validate-CoZiS4Ny.js";
24
23
  import { f as formatObject } from "./utils-DNSfZiio.js";
25
24
  import { signal } from "@preact/signals";
26
- import { C as CountryField, E as ErrorPanel, c as createFormUtils, g as getFormProps, H as Header } from "./CountryField-BIYJvEAW.js";
27
- import { F as Field, S as Select, u as useForm } from "./useForm-BsQfbbso.js";
28
- import { I as InputDate, R as RadioGroup } from "./Address-BG5_sFfZ.js";
29
- import { ab as InputGroup, a5 as TileGroup, D as isEmpty$1, N as LandingLayout, ac as Dropzone } from "./IndividualOnfido-BxhmIQwc.js";
30
- import { I as InputText } from "./InputText-qTMbrUXW.js";
31
- import { a as allowedCurrencies, T as TODAY_DATE, S as SOF_CHARACTERS_LIMIT, b as formatDateForInput, g as getInputErrors, c as formatAmountWithCurrency, d as getAdditionalDataSchemaKeys, s as sofCategoryItemMapper, e as getPageHeadings, h as getServiceTranslationSelectTitle, i as sourceOfFundsForms, j as getSofCardDetails, k as getGettingStartedCardDetails, l as getServiceTranslation, p as parseSOFDocumentDescription, m as getRelevantErrors, n as getUniqueRemediationActions, o as SOF_INVALID_INPUT_ERROR_CODES, q as getServiceTranslationKey, r as getDocumentLists, t as getDocumentRequirements, M as MISSING_DATA_SOF_UPLOAD_CODE, u as parseOriginatorDetails, v as getSourceOfFundsRequiredForms, w as sourceOfFundsRequiredFields, x as getSourceOfFundsPayload, y as parseSofOriginatorPayload, A as ALLOWED_SOF_SERVICES } from "./utils-BtBmicYe.js";
32
- import { A as Avatar } from "./Avatar-BbYg2DuO.js";
33
- import { a as Alert } from "./Alert-CjdHpM1t.js";
34
- import { M as Modal } from "./Modal-B8fxl0iP.js";
35
- import { C as Confirm, S as StructuredList } from "./useDataset-D1R4kueP.js";
36
- import { v as validateDateNotInTheFuture } from "./validate-yIqc2enK.js";
25
+ import { E as ErrorPanel } from "./ErrorPanel-8g7vzs2J.js";
26
+ import { c as createFormUtils } from "./formUtils-Dg7QeiCj.js";
27
+ import { F as Field } from "./Field-GFhXhBL7.js";
28
+ import { S as Select } from "./Select-_jyQwO_g.js";
29
+ import { T as TextArea } from "./TextArea-DFDjCEZ2.js";
30
+ import { I as InputDate } from "./InputDate-D741B4uo.js";
31
+ import { I as InputGroup } from "./InputGroup-WBfGDV5F.js";
32
+ import { I as InputText } from "./InputText-BstgOD1h.js";
33
+ import { a as allowedCurrencies, T as TODAY_DATE, S as SOF_CHARACTERS_LIMIT, b as formatDateForInput, g as getInputErrors, c as formatAmountWithCurrency, s as sofCategoryItemMapper, d as getPageHeadings, e as getServiceTranslationSelectTitle, h as getSofCardDetails, i as getGettingStartedCardDetails, j as getAdditionalDataSchemaKeys, k as getServiceTranslation, p as parseSOFDocumentDescription, l as getRelevantErrors, m as getUniqueRemediationActions, n as SOF_INVALID_INPUT_ERROR_CODES, o as getServiceTranslationKey, q as getDocumentRequirements, r as getDocumentLists, t as getSourceOfFundsRequiredFields, M as MISSING_DATA_SOF_UPLOAD_CODE, u as parseOriginatorDetails, v as getSourceOfFundsRequiredForms, w as getSourceOfFundsPayload, A as ALLOWED_SOF_SERVICES, x as parseSofOriginatorPayload } from "./utils-Ds83U_vM.js";
34
+ import { R as RadioGroup } from "./RadioGroup-BLGCNZj6.js";
35
+ import { C as CountryField } from "./CountryField-61GLcHq3.js";
36
+ import { A as Avatar } from "./Avatar-B1FMn4jz.js";
37
+ import { a as Alert } from "./Alert-_9nVl6uE.js";
38
+ import { M as Modal } from "./Modal-BRPW5V15.js";
39
+ import { C as Confirm } from "./Confirm-DqMkw97y.js";
40
+ import { T as TileGroup } from "./TileGroup-6wc032O1.js";
37
41
  import { lazy } from "preact/compat";
38
- import { C as Card } from "./Card-BHab7Kyt.js";
42
+ import { u as useTaskStatus } from "./useTaskStatus-DdTyBvAb.js";
43
+ import { H as Header } from "./Header-B9Tv_mvA.js";
44
+ import { I as Image } from "./Image-8l9eOMtL.js";
45
+ import { L as LandingLayout } from "./LandingLayout-DfrTphbg.js";
46
+ import { S as StackLayout } from "./unincorporated-partnership-MeN1dp53.js";
47
+ import { i as isEmpty } from "./isEmpty-CzqpRnGb.js";
48
+ import { C as Card } from "./Card-OQuFzmxm.js";
49
+ import { S as StructuredList } from "./StructuredList-CVMZBzwq.js";
50
+ import { D as Dropzone } from "./Dropzone-Brt8j_On.js";
51
+ import { v as validateDateNotInTheFuture } from "./validate-TM7n49em.js";
39
52
  const updateSourceOfFunds = async (businessLineId, legalEntityId, baseUrl, data) => {
40
53
  return httpPost(
41
54
  {
@@ -107,7 +120,6 @@ const sourceOfFundsGettingStarted = "adyen-kyc-source-of-funds-getting-started";
107
120
  const sourceOfFundsGettingStartedError = "adyen-kyc-source-of-funds-getting-started-error";
108
121
  const sourceOfFundsGettingStartedErrorActions = "adyen-kyc-source-of-funds-getting-started-error-actions";
109
122
  const sourceOfFundsGettingStartedCards = "adyen-kyc-source-of-funds-getting-started-cards";
110
- const sourceOfFundsGettingStartedCardsCard = "adyen-kyc-source-of-funds-getting-started-cards-card";
111
123
  const sourceOfFundsGettingStartedCardsCardHeader = "adyen-kyc-source-of-funds-getting-started-cards-card-header";
112
124
  const sourceOfFundsGettingStartedCardsCardBody = "adyen-kyc-source-of-funds-getting-started-cards-card-body";
113
125
  const sourceOfFundsGettingStartedActions = "adyen-kyc-source-of-funds-getting-started-actions";
@@ -133,7 +145,6 @@ const styles = {
133
145
  sourceOfFundsGettingStartedError,
134
146
  sourceOfFundsGettingStartedErrorActions,
135
147
  sourceOfFundsGettingStartedCards,
136
- sourceOfFundsGettingStartedCardsCard,
137
148
  sourceOfFundsGettingStartedCardsCardHeader,
138
149
  sourceOfFundsGettingStartedCardsCardBody,
139
150
  sourceOfFundsGettingStartedActions,
@@ -595,7 +606,6 @@ function AdditionalDataForDonation(props) {
595
606
  ] });
596
607
  }
597
608
  function AdditionalDataForGambling(props) {
598
- const { t: sofT } = useTranslation("sof");
599
609
  const { t: commonT } = useTranslation("common");
600
610
  const [focusedInput, setFocusedInput] = useState();
601
611
  const { formUtils, data, errors, valid, fieldProblems, handleChangeFor, handleAmountChange } = props;
@@ -603,10 +613,6 @@ function AdditionalDataForGambling(props) {
603
613
  setFocusedInput(void 0);
604
614
  handleAmountChange("amount");
605
615
  };
606
- const handleWebsiteBlur = () => {
607
- setFocusedInput(void 0);
608
- handleChangeFor("website", "blur");
609
- };
610
616
  return /* @__PURE__ */ jsxs(Fragment, { children: [
611
617
  /* @__PURE__ */ jsx(
612
618
  Field,
@@ -682,10 +688,8 @@ function AdditionalDataForGambling(props) {
682
688
  Field,
683
689
  {
684
690
  name: "website",
685
- label: formUtils.getLabel("website", "sourceOfWinnings"),
691
+ label: formUtils.getLabel("website", "gamblingEstablishmentWebsite"),
686
692
  errorMessage: formUtils.getErrorMessage("website", errors, fieldProblems),
687
- helper: sofT(($) => $["nameOfCasinoLottery"]),
688
- helperPosition: "below",
689
693
  children: (childProps) => /* @__PURE__ */ jsx(
690
694
  InputGroup,
691
695
  {
@@ -702,7 +706,7 @@ function AdditionalDataForGambling(props) {
702
706
  value: data.website,
703
707
  readonly: formUtils.isReadOnly("website"),
704
708
  onInput: handleChangeFor("website", "input"),
705
- onBlur: handleWebsiteBlur,
709
+ onBlur: handleChangeFor("website", "blur"),
706
710
  "aria-required": true,
707
711
  "aria-invalid": !valid.website,
708
712
  isValid: valid.website,
@@ -1140,282 +1144,54 @@ function AdditionalDataForThirdParty(props) {
1140
1144
  )
1141
1145
  ] });
1142
1146
  }
1143
- function canParseUrl(url) {
1144
- if (URL.canParse) {
1145
- return URL.canParse(url);
1146
- }
1147
- try {
1148
- new URL(url);
1149
- return true;
1150
- } catch {
1151
- return false;
1152
- }
1153
- }
1154
- const sourceOfFundsTypeValidations = {
1155
- type: {
1156
- modes: ["blur"],
1157
- validate: (type) => !isEmpty(type),
1158
- errorMessage: "fieldIsRequired"
1159
- }
1160
- };
1161
- const sourceOfFundsAdditionalDataValidations = {
1162
- description: {
1163
- modes: ["blur"],
1164
- validate: (description) => !isEmpty(description),
1165
- errorMessage: "fieldIsRequired"
1166
- },
1167
- website: [
1168
- {
1169
- modes: ["blur"],
1170
- validate: (website) => !isEmpty(website),
1171
- errorMessage: "fieldIsRequired"
1172
- },
1173
- {
1174
- modes: ["blur"],
1175
- validate: (website) => website ? canParseUrl(
1176
- website?.startsWith("http:") || website?.startsWith("https:") ? website : `https://${website}`
1177
- ) : false,
1178
- errorMessage: "validationPleaseEnterAValidUrl"
1179
- }
1180
- ],
1181
- amount: [
1182
- {
1183
- modes: ["blur"],
1184
- validate: (amount) => !isEmpty(amount?.currency),
1185
- errorMessage: "currencyIsRequired"
1186
- },
1187
- {
1188
- modes: ["blur"],
1189
- validate: (amount) => !isEmpty(amount?.value),
1190
- errorMessage: "amountIsRequired"
1191
- },
1192
- {
1193
- modes: ["blur"],
1194
- validate: (amount) => !Number.isNaN(Number(amount?.value)),
1195
- errorMessage: "pleaseEnterAValidAmount"
1196
- }
1197
- ],
1198
- dateOfSourceEvent: [
1199
- {
1200
- modes: ["blur"],
1201
- validate: (dateOfSourceEvent) => !isEmpty(dateOfSourceEvent),
1202
- errorMessage: "fieldIsRequired"
1203
- },
1204
- {
1205
- modes: ["blur"],
1206
- validate: (dateOfSourceEvent) => validateDateNotInTheFuture(dateOfSourceEvent),
1207
- errorMessage: "dateCannotBeInTheFuture"
1208
- }
1209
- ],
1210
- cryptocurrencyExchange: {
1211
- modes: ["blur"],
1212
- validate: (cryptocurrencyExchange) => !isEmpty(cryptocurrencyExchange),
1213
- errorMessage: "fieldIsRequired"
1214
- },
1215
- legalName: {
1216
- modes: ["blur"],
1217
- validate: (legalName) => !isEmpty(legalName),
1218
- errorMessage: "fieldIsRequired"
1219
- },
1220
- firstName: {
1221
- modes: ["blur"],
1222
- validate: (firstName) => !isEmpty(firstName),
1223
- errorMessage: "fieldIsRequired"
1224
- },
1225
- lastName: {
1226
- modes: ["blur"],
1227
- validate: (lastName) => !isEmpty(lastName),
1228
- errorMessage: "fieldIsRequired"
1229
- },
1230
- originatorType: {
1231
- modes: ["blur"],
1232
- validate: (originatorType) => !isEmpty(originatorType),
1233
- errorMessage: "fieldIsRequired"
1234
- },
1235
- relationship: {
1236
- modes: ["blur"],
1237
- validate: (relationship) => !isEmpty(relationship),
1238
- errorMessage: "fieldIsRequired"
1239
- },
1240
- country: {
1241
- modes: ["blur"],
1242
- validate: (country) => !isEmpty(country),
1243
- errorMessage: "fieldIsRequired"
1244
- },
1245
- dateOfFundsReceived: [
1246
- {
1247
- modes: ["blur"],
1248
- validate: (dateOfFundsReceived) => !isEmpty(dateOfFundsReceived),
1249
- errorMessage: "fieldIsRequired"
1250
- },
1251
- {
1252
- modes: ["blur"],
1253
- validate: (dateOfFundsReceived) => validateDateNotInTheFuture(dateOfFundsReceived),
1254
- errorMessage: "dateCannotBeInTheFuture"
1255
- }
1256
- ],
1257
- financiers: {
1258
- modes: ["blur"],
1259
- validate: (financiers) => !isEmpty(financiers),
1260
- errorMessage: "fieldIsRequired"
1261
- },
1262
- purpose: {
1263
- modes: ["blur"],
1264
- validate: (purpose) => !isEmpty(purpose),
1265
- errorMessage: "fieldIsRequired"
1266
- }
1267
- };
1268
1147
  function SourceOfFundsAdditionalData(props) {
1269
1148
  const { t } = useTranslation("common");
1149
+ const { form } = useFormContext();
1270
1150
  const {
1271
- data: defaultData,
1272
- validators,
1273
- formVerificationErrors,
1274
- fieldValidationErrors,
1275
- shouldValidate,
1276
- sourceOfFundsType
1277
- } = props;
1278
- const getFormSchema = useMemo(
1279
- () => getAdditionalDataSchemaKeys(sourceOfFundsType, defaultData?.originatorType),
1280
- [sourceOfFundsType, defaultData?.originatorType]
1151
+ handleChangeFor: multiFormHandleChangeFor,
1152
+ data: { additionalData: data, sourceOfFundsType },
1153
+ errors: { additionalData: errors },
1154
+ valid: { additionalData: valid },
1155
+ fieldProblems: { additionalData: fieldProblems }
1156
+ } = form;
1157
+ const handleChangeFor = useMemo(
1158
+ () => (key, mode) => multiFormHandleChangeFor(key, "additionalData", mode),
1159
+ [multiFormHandleChangeFor]
1281
1160
  );
1282
- const [schema, setSchema] = useState(getFormSchema);
1283
- const {
1284
- handleChangeFor,
1285
- data: formData,
1286
- schema: formSchema,
1287
- valid: formValid,
1288
- errors: formErrors,
1289
- fieldProblems: formFieldProblems
1290
- } = useForm({
1291
- ...props,
1292
- schema,
1293
- defaultData,
1294
- rules: validators || sourceOfFundsAdditionalDataValidations,
1295
- fieldProblems: fieldValidationErrors,
1296
- shouldValidate
1297
- });
1298
- useEffect(() => {
1299
- setSchema(getAdditionalDataSchemaKeys(sourceOfFundsType, formData?.originatorType));
1300
- }, [formData.originatorType]);
1301
1161
  const handleAmountChange = (key) => (e) => {
1302
- const isCurrencyKey = key === "currency";
1303
- const amountValue = {
1304
- currency: isCurrencyKey ? e.target.value : formData.amount?.currency,
1305
- value: isCurrencyKey ? formData.amount?.value : e.target.value
1306
- };
1307
- const fieldEvent = {
1308
- target: {
1309
- name: "amount",
1310
- value: amountValue
1311
- }
1162
+ const rawValue = e.target.value;
1163
+ const updatedAmount = {
1164
+ ...data?.amount,
1165
+ ...key === "currency" ? { currency: rawValue } : { value: rawValue === "" ? void 0 : Number(rawValue) }
1312
1166
  };
1313
- handleChangeFor("amount")(fieldEvent);
1167
+ handleChangeFor("amount")({ target: { name: "amount", value: updatedAmount } });
1314
1168
  };
1315
1169
  const formUtils = createFormUtils(props, t);
1316
- const { updateStateSlice } = useGlobalDataSlice("additionalData");
1317
- useEffect(() => {
1318
- updateStateSlice({
1319
- data: formData,
1320
- valid: formValid,
1321
- errors: formErrors,
1322
- fieldProblems: formFieldProblems,
1323
- schema: formSchema
1324
- });
1325
- }, [formData, formValid, formErrors, formSchema, formFieldProblems]);
1170
+ const additionalDataProps = {
1171
+ formUtils,
1172
+ handleChangeFor,
1173
+ data,
1174
+ errors,
1175
+ valid,
1176
+ fieldProblems,
1177
+ handleAmountChange
1178
+ };
1326
1179
  const renderSubForms = () => {
1327
- switch (sourceOfFundsType) {
1180
+ switch (sourceOfFundsType?.type) {
1328
1181
  case "gamblingWinnings":
1329
- return /* @__PURE__ */ jsx(
1330
- AdditionalDataForGambling,
1331
- {
1332
- formUtils,
1333
- handleChangeFor,
1334
- data: formData,
1335
- errors: formErrors,
1336
- valid: formValid,
1337
- fieldProblems: formFieldProblems,
1338
- handleAmountChange
1339
- }
1340
- );
1182
+ return /* @__PURE__ */ jsx(AdditionalDataForGambling, { ...additionalDataProps });
1341
1183
  case "cryptocurrencyIncome":
1342
- return /* @__PURE__ */ jsx(
1343
- AdditionalDataForCryptocurrency,
1344
- {
1345
- formUtils,
1346
- handleChangeFor,
1347
- data: formData,
1348
- errors: formErrors,
1349
- valid: formValid,
1350
- fieldProblems: formFieldProblems,
1351
- handleAmountChange
1352
- }
1353
- );
1184
+ return /* @__PURE__ */ jsx(AdditionalDataForCryptocurrency, { ...additionalDataProps });
1354
1185
  case "business":
1355
- return /* @__PURE__ */ jsx(
1356
- AdditionalDataForBusiness,
1357
- {
1358
- formUtils,
1359
- handleChangeFor,
1360
- data: formData,
1361
- errors: formErrors,
1362
- valid: formValid,
1363
- fieldProblems: formFieldProblems,
1364
- handleAmountChange
1365
- }
1366
- );
1186
+ return /* @__PURE__ */ jsx(AdditionalDataForBusiness, { ...additionalDataProps });
1367
1187
  case "assetSale":
1368
- return /* @__PURE__ */ jsx(
1369
- AdditionalDataForAssetSale,
1370
- {
1371
- formUtils,
1372
- handleChangeFor,
1373
- data: formData,
1374
- errors: formErrors,
1375
- valid: formValid,
1376
- fieldProblems: formFieldProblems,
1377
- handleAmountChange
1378
- }
1379
- );
1188
+ return /* @__PURE__ */ jsx(AdditionalDataForAssetSale, { ...additionalDataProps });
1380
1189
  case "thirdPartyFunding":
1381
- return /* @__PURE__ */ jsx(
1382
- AdditionalDataForThirdParty,
1383
- {
1384
- formUtils,
1385
- handleChangeFor,
1386
- data: formData,
1387
- errors: formErrors,
1388
- valid: formValid,
1389
- fieldProblems: formFieldProblems,
1390
- handleAmountChange
1391
- }
1392
- );
1190
+ return /* @__PURE__ */ jsx(AdditionalDataForThirdParty, { ...additionalDataProps });
1393
1191
  case "inheritance":
1394
- return /* @__PURE__ */ jsx(
1395
- AdditionalDataForInheritance,
1396
- {
1397
- formUtils,
1398
- handleChangeFor,
1399
- data: formData,
1400
- errors: formErrors,
1401
- valid: formValid,
1402
- fieldProblems: formFieldProblems,
1403
- handleAmountChange
1404
- }
1405
- );
1192
+ return /* @__PURE__ */ jsx(AdditionalDataForInheritance, { ...additionalDataProps });
1406
1193
  case "donations":
1407
- return /* @__PURE__ */ jsx(
1408
- AdditionalDataForDonation,
1409
- {
1410
- formUtils,
1411
- handleChangeFor,
1412
- data: formData,
1413
- errors: formErrors,
1414
- valid: formValid,
1415
- fieldProblems: formFieldProblems,
1416
- handleAmountChange
1417
- }
1418
- );
1194
+ return /* @__PURE__ */ jsx(AdditionalDataForDonation, { ...additionalDataProps });
1419
1195
  default:
1420
1196
  return null;
1421
1197
  }
@@ -1424,7 +1200,7 @@ function SourceOfFundsAdditionalData(props) {
1424
1200
  /* @__PURE__ */ jsx(
1425
1201
  ErrorPanel,
1426
1202
  {
1427
- verificationErrors: formVerificationErrors,
1203
+ verificationErrors: props?.formVerificationErrors,
1428
1204
  validationErrors: props?.fieldValidationErrors,
1429
1205
  formUtils,
1430
1206
  id: "ariaErrorField"
@@ -1433,43 +1209,19 @@ function SourceOfFundsAdditionalData(props) {
1433
1209
  renderSubForms()
1434
1210
  ] });
1435
1211
  }
1436
- const sourceOfFundsTypeFields = ["type"];
1437
1212
  function SourceOfFundsType(props) {
1438
1213
  const { t } = useTranslation(["common", "sof"]);
1439
1214
  const { i18n } = useI18nContext();
1440
1215
  const {
1441
- data: sourceOfFundsTypeDefaultData,
1442
- validators,
1443
- fieldValidationErrors,
1444
- shouldValidate,
1445
- categories
1446
- } = props;
1447
- const {
1448
- handleChangeFor,
1449
1216
  data: formData,
1450
- schema: formSchema,
1451
- valid: formValid,
1217
+ categories,
1452
1218
  errors: formErrors,
1453
- fieldProblems: formFieldProblems
1454
- } = useForm({
1455
- ...props,
1456
- schema: sourceOfFundsTypeFields,
1457
- defaultData: sourceOfFundsTypeDefaultData,
1458
- rules: validators || sourceOfFundsTypeValidations,
1459
- fieldProblems: fieldValidationErrors,
1460
- shouldValidate
1461
- });
1219
+ fieldValidationErrors: formFieldProblems
1220
+ } = props;
1221
+ const { form } = useFormContext();
1222
+ const { handleChangeFor } = form;
1223
+ const handleFieldChange = (fieldName, mode) => handleChangeFor(fieldName, "sourceOfFundsType", mode);
1462
1224
  const formUtils = createFormUtils(props, t);
1463
- const { updateStateSlice } = useGlobalDataSlice("sourceOfFundsType");
1464
- useEffect(() => {
1465
- updateStateSlice({
1466
- data: formData,
1467
- valid: formValid,
1468
- errors: formErrors,
1469
- fieldProblems: formFieldProblems,
1470
- schema: formSchema
1471
- });
1472
- }, [formData, formValid, formErrors, formSchema, formFieldProblems]);
1473
1225
  const categoryItems = [
1474
1226
  {
1475
1227
  value: "adyen",
@@ -1490,7 +1242,7 @@ function SourceOfFundsType(props) {
1490
1242
  tiles: categoryItems,
1491
1243
  errorMessage: typeof errorMessage !== "boolean" ? i18n.get(errorMessage) : errorMessage,
1492
1244
  selected: formData?.type ? formData.type : [],
1493
- onChange: handleChangeFor("type", "input")
1245
+ onChange: handleFieldChange("type", "input")
1494
1246
  }
1495
1247
  ) });
1496
1248
  }
@@ -1534,9 +1286,10 @@ function getIconById(id) {
1534
1286
  }
1535
1287
  function SourceOfFunds(props) {
1536
1288
  const { activeForm, activeBusinessLine, sourceOfFundsType } = props;
1289
+ const { form } = useFormContext();
1290
+ const { data: formData, errors, valid, fieldProblems: fieldValidationErrors } = form;
1537
1291
  const { data: sourceOfFundsTypesData, isLoading } = useSourceOfFundsTypes();
1538
1292
  const { t: sofT } = useTranslation("sof");
1539
- const formWrapperClasses = (formId) => activeForm?.formId !== formId ? "adyen-kyc-form-wrapper adyen-kyc-form-wrapper--hidden" : "adyen-kyc-form-wrapper";
1540
1293
  const pageHeadings = useMemo(
1541
1294
  () => getPageHeadings(sourceOfFundsType ?? "adyen"),
1542
1295
  [sourceOfFundsType]
@@ -1567,34 +1320,32 @@ function SourceOfFunds(props) {
1567
1320
  ]
1568
1321
  }
1569
1322
  ),
1570
- activeForm?.formId === "sourceOfFundsType" && /* @__PURE__ */ jsx("div", { className: formWrapperClasses("sourceOfFundsType"), children: /* @__PURE__ */ jsx(
1323
+ activeForm?.formId === "sourceOfFundsType" && /* @__PURE__ */ jsx(
1571
1324
  SourceOfFundsType,
1572
1325
  {
1573
1326
  categories: sourceOfFundsTypesData,
1574
- ...getFormProps(props, sourceOfFundsForms.sourceOfFundsType.formId)
1327
+ data: formData?.sourceOfFundsType,
1328
+ errors: errors?.sourceOfFundsType,
1329
+ valid: valid?.sourceOfFundsType,
1330
+ fieldValidationErrors: fieldValidationErrors?.sourceOfFundsType
1575
1331
  }
1576
- ) }),
1577
- activeForm?.formId === "additionalData" && /* @__PURE__ */ jsx("div", { className: formWrapperClasses("additionalData"), children: /* @__PURE__ */ jsx(
1332
+ ),
1333
+ activeForm?.formId === "additionalData" && /* @__PURE__ */ jsx(
1578
1334
  SourceOfFundsAdditionalData,
1579
1335
  {
1580
- ...getFormProps(props, sourceOfFundsForms.additionalData.formId),
1581
- sourceOfFundsType
1336
+ fieldValidationErrors: fieldValidationErrors?.additionalData
1582
1337
  }
1583
- ) }),
1584
- activeForm?.formId === "companySourceOfFunds" && /* @__PURE__ */ jsx("div", { className: formWrapperClasses("companySourceOfFunds"), children: /* @__PURE__ */ jsx("div", { children: sofT(($) => $["uploadADocument"]) }) })
1338
+ ),
1339
+ activeForm?.formId === "companySourceOfFunds" && /* @__PURE__ */ jsx("div", { children: sofT(($) => $["uploadADocument"]) })
1585
1340
  ] });
1586
1341
  }
1587
1342
  function SourceOfFundsGettingStartedCard(props) {
1588
1343
  const { id, title, onClick, isEdit, meta } = props;
1589
1344
  const { t: commonT } = useTranslation("common");
1590
- return /* @__PURE__ */ jsx(
1591
- Card,
1592
- {
1593
- className: styles.sourceOfFundsGettingStartedCardsCard,
1594
- headerClassName: styles.sourceOfFundsGettingStartedCardsCardHeader,
1595
- bodyClassName: styles.sourceOfFundsGettingStartedCardsCardBody,
1596
- title,
1597
- headerButton: isEdit ? /* @__PURE__ */ jsx(IconButton, { ariaLabel: "edit", icon: "edit", onClick, variant: "tertiary" }) : /* @__PURE__ */ jsx(
1345
+ return /* @__PURE__ */ jsxs(Card, { variant: "secondary", children: [
1346
+ /* @__PURE__ */ jsxs("div", { className: styles.sourceOfFundsGettingStartedCardsCardHeader, children: [
1347
+ /* @__PURE__ */ jsx(Typography, { el: "h3", variant: "title", children: title }),
1348
+ isEdit ? /* @__PURE__ */ jsx(IconButton, { ariaLabel: "edit", icon: "edit", onClick, variant: "tertiary" }) : /* @__PURE__ */ jsx(
1598
1349
  Button,
1599
1350
  {
1600
1351
  variant: "primary",
@@ -1602,19 +1353,18 @@ function SourceOfFundsGettingStartedCard(props) {
1602
1353
  onClick,
1603
1354
  children: commonT(($) => $["start"])
1604
1355
  }
1605
- ),
1606
- children: isEdit && meta?.length && /* @__PURE__ */ jsx(
1607
- StructuredList,
1608
- {
1609
- className: styles.sourceOfFundsGettingStartedCardsCardDescription,
1610
- items: meta
1611
- }
1612
1356
  )
1613
- },
1614
- id
1615
- );
1357
+ ] }),
1358
+ isEdit && meta?.length && /* @__PURE__ */ jsx("div", { className: styles.sourceOfFundsGettingStartedCardsCardBody, children: /* @__PURE__ */ jsx(
1359
+ StructuredList,
1360
+ {
1361
+ className: styles.sourceOfFundsGettingStartedCardsCardDescription,
1362
+ items: meta
1363
+ }
1364
+ ) })
1365
+ ] }, id);
1616
1366
  }
1617
- const digitalWallet = lazy(() => import("./digital-wallet-D_IpxnkN.js"));
1367
+ const digitalWallet = lazy(() => import("./digital-wallet-Bx5YM1LY.js"));
1618
1368
  const SourceOfFundsGettingStarted = ({
1619
1369
  handleGettingStartedClick,
1620
1370
  handleCancelClick,
@@ -1629,8 +1379,11 @@ const SourceOfFundsGettingStarted = ({
1629
1379
  const { t: commonT } = useTranslation("common");
1630
1380
  const { i18n } = useI18nContext();
1631
1381
  const hasSourceOfFunds = businessLines?.some(
1632
- (businessLine) => !isEmpty$1(businessLine.sourceOfFunds)
1382
+ (businessLine) => !isEmpty(businessLine.sourceOfFunds)
1633
1383
  );
1384
+ const { data: normalizedTasks } = useTaskStatus({
1385
+ refetchInterval: TASK_STATUS_POLLING_INTERVAL_MS
1386
+ });
1634
1387
  const sofDocuments = useMemo(
1635
1388
  () => legalEntity?.documentDetails?.filter((doc) => doc.type === "proofOfFundingOrWealthSource") ?? [],
1636
1389
  [legalEntity]
@@ -1742,7 +1495,7 @@ const SourceOfFundsGettingStarted = ({
1742
1495
  {
1743
1496
  title: sofT(($) => $["fundingSourcesForFinancialProducts"]),
1744
1497
  description: sofT(($) => $["addAllSourcesOfFundsBeingUsed"]),
1745
- status: normalizedTaskStatusStore?.value?.SOURCE_OF_FUNDS?.status,
1498
+ status: normalizedTasks?.SOURCE_OF_FUNDS?.status,
1746
1499
  align: "center"
1747
1500
  }
1748
1501
  ),
@@ -1772,7 +1525,7 @@ const SourceOfFundsGettingStarted = ({
1772
1525
  `error-${index}`
1773
1526
  );
1774
1527
  }),
1775
- /* @__PURE__ */ jsx("div", { className: styles.sourceOfFundsGettingStartedCards, children: mapBusinessLines(businessLines) }),
1528
+ /* @__PURE__ */ jsx("div", { className: styles.sourceOfFundsGettingStartedCards, children: /* @__PURE__ */ jsx(StackLayout, { children: mapBusinessLines(businessLines) }) }),
1776
1529
  handleCancelClick && /* @__PURE__ */ jsx(
1777
1530
  Button,
1778
1531
  {
@@ -2058,6 +1811,44 @@ const SourceOfFundsUpload = ({
2058
1811
  )
2059
1812
  ] });
2060
1813
  };
1814
+ function canParseUrl(url) {
1815
+ if (URL.canParse) {
1816
+ return URL.canParse(url);
1817
+ }
1818
+ try {
1819
+ new URL(url);
1820
+ return true;
1821
+ } catch {
1822
+ return false;
1823
+ }
1824
+ }
1825
+ const sourceOfFundsTypeValidations = {};
1826
+ const HAS_PROTOCOL_REGEX = /^https?:\/\//i;
1827
+ const sourceOfFundsAdditionalDataValidations = {
1828
+ website: {
1829
+ modes: ["blur"],
1830
+ validate: (val) => !!val && canParseUrl(val),
1831
+ errorMessage: (val) => {
1832
+ if (val && !HAS_PROTOCOL_REGEX.test(val)) return "validationUrlMustStartWithHttpOrHttps";
1833
+ return "validationPleaseEnterAValidUrl";
1834
+ }
1835
+ },
1836
+ amount: {
1837
+ modes: ["blur"],
1838
+ validate: (amount) => amount?.value != null && !Number.isNaN(Number(amount.value)),
1839
+ errorMessage: "pleaseEnterAValidAmount"
1840
+ },
1841
+ dateOfSourceEvent: {
1842
+ modes: ["blur"],
1843
+ validate: (dateOfSourceEvent) => validateDateNotInTheFuture(dateOfSourceEvent),
1844
+ errorMessage: "dateCannotBeInTheFuture"
1845
+ },
1846
+ dateOfFundsReceived: {
1847
+ modes: ["blur"],
1848
+ validate: (dateOfFundsReceived) => validateDateNotInTheFuture(dateOfFundsReceived),
1849
+ errorMessage: "dateCannotBeInTheFuture"
1850
+ }
1851
+ };
2061
1852
  const logger = createLogger();
2062
1853
  function SourceOfFundsDropin({
2063
1854
  country,
@@ -2067,16 +1858,14 @@ function SourceOfFundsDropin({
2067
1858
  const { data: legalEntity, isLoading: isLoadingRootLegalEntity } = useLegalEntity(ROOT_LE);
2068
1859
  const [loadingStatus, setLoadingStatus] = useState("success");
2069
1860
  const [activeBusinessLine, setActiveBusinessLine] = useState();
2070
- const [activeSourceOfFund, setActiveSourceOfFund] = useState({});
1861
+ const [activeSourceOfFund, setActiveSourceOfFund] = useState({
1862
+ sourceOfFundsType: {},
1863
+ additionalData: {}
1864
+ });
2071
1865
  const [allBusinessLines, setAllBusinessLines] = useState([]);
2072
1866
  const [gettingStarted, setGettingStarted] = useState(true);
2073
1867
  const [showUploadPage, setShowUploadPage] = useState(false);
2074
1868
  const [loading, setLoading] = useState(false);
2075
- const formRef = useRef(null);
2076
- const {
2077
- state: { currentState }
2078
- } = useStateContext();
2079
- const formValidity = currentState.validityByForm;
2080
1869
  const { baseUrl, rootLegalEntityId } = useApiContext();
2081
1870
  const { t: sofT } = useTranslation("sof");
2082
1871
  const userEvents = useAnalyticsContext();
@@ -2085,6 +1874,21 @@ function SourceOfFundsDropin({
2085
1874
  const { mutateAsync: createLegalEntity } = useCreateLegalEntity();
2086
1875
  const { mutateAsync: updateLegalEntity } = useUpdateLegalEntity();
2087
1876
  const { mutateAsync: updateSoFMutation } = useUpdateSourceOfFunds();
1877
+ const form = useMultiForm({
1878
+ requiredFields: getSourceOfFundsRequiredFields,
1879
+ rules: {
1880
+ sourceOfFundsType: sourceOfFundsTypeValidations,
1881
+ additionalData: sourceOfFundsAdditionalDataValidations
1882
+ },
1883
+ defaultData: activeSourceOfFund
1884
+ });
1885
+ const {
1886
+ data = activeSourceOfFund,
1887
+ setFormData,
1888
+ requiredFields,
1889
+ isValid,
1890
+ triggerValidation
1891
+ } = form;
2088
1892
  const isSoFDocumentMissing = useMemo(
2089
1893
  () => legalEntity?.problems?.some(
2090
1894
  (problem) => problem?.verificationErrors?.some(
@@ -2142,8 +1946,15 @@ function SourceOfFundsDropin({
2142
1946
  );
2143
1947
  if (firstBusinessLine) {
2144
1948
  setActiveBusinessLine(firstBusinessLine);
2145
- setActiveSourceOfFund(sourceOfFundsMap[0]);
1949
+ const mappedSof = sourceOfFundsMap[0];
1950
+ setActiveSourceOfFund(mappedSof);
2146
1951
  setAllBusinessLines(normalizedBusinessLines);
1952
+ if (mappedSof?.sourceOfFundsType) {
1953
+ setFormData("sourceOfFundsType", mappedSof.sourceOfFundsType);
1954
+ }
1955
+ if (mappedSof?.additionalData) {
1956
+ setFormData("additionalData", mappedSof.additionalData);
1957
+ }
2147
1958
  }
2148
1959
  }
2149
1960
  } catch (error) {
@@ -2159,37 +1970,19 @@ function SourceOfFundsDropin({
2159
1970
  actionType: "start"
2160
1971
  });
2161
1972
  }, [userEvents]);
2162
- const canSubmitForm = useMemo(
2163
- () => activeSourceOfFund ? !isEmpty(currentState.data?.sourceOfFundsType?.type) && hasDataChanged(activeSourceOfFund, currentState.data) : false,
2164
- [activeSourceOfFund, currentState.data]
2165
- );
2166
- const derivedProps = useMemo(
2167
- () => getPropsFromConfigurations({
2168
- scenarioConfiguration: {},
2169
- forms: sourceOfFundsForms,
2170
- remediationActions: problems?.remediationActions ? Object.values(problems?.remediationActions) : [],
2171
- dataMissingErrors: problems?.missingData ?? [],
2172
- // TODO fix this to take existing fields into account
2173
- // getFieldsWithExistingData(legalEntityResponse, sourceOfFundsApiKeyMapping),
2174
- fieldsWithExistingData: [],
2175
- customRules: {},
2176
- legalEntityType: legalEntity?.type
2177
- }),
2178
- [problems?.remediationActions, problems?.missingData, legalEntity]
2179
- );
2180
1973
  const sourceOfFundsRequiredForms = useMemo(
2181
- () => getSourceOfFundsRequiredForms(currentState?.data?.sourceOfFundsType),
2182
- [currentState?.data?.sourceOfFundsType]
1974
+ () => getSourceOfFundsRequiredForms(data?.sourceOfFundsType),
1975
+ [data?.sourceOfFundsType]
2183
1976
  );
2184
1977
  const forms = useMemo(() => {
2185
1978
  const requiredForms = getRequiredForms(
2186
1979
  sourceOfFundsRequiredForms,
2187
- sourceOfFundsRequiredFields,
1980
+ requiredFields,
2188
1981
  void 0,
2189
1982
  true
2190
1983
  );
2191
- return addValidityToForms(requiredForms, formValidity, problems);
2192
- }, [derivedProps, formValidity, problems]);
1984
+ return addValidityToForms(requiredForms, isValid, problems);
1985
+ }, [sourceOfFundsRequiredForms, requiredFields, isValid, problems]);
2193
1986
  const createOrUpdateOriginator = async (additionalData, prevAdditionalData) => {
2194
1987
  let originatorLegalEntityId;
2195
1988
  const sofOriginator = parseSofOriginatorPayload(additionalData);
@@ -2219,7 +2012,7 @@ function SourceOfFundsDropin({
2219
2012
  return originatorLegalEntityId;
2220
2013
  };
2221
2014
  const handleSubmit = useCallback(async () => {
2222
- const sofData = { ...currentState?.data };
2015
+ const sofData = { ...data };
2223
2016
  const sofType = sofData?.sourceOfFundsType?.type;
2224
2017
  if (!sofType || !activeBusinessLine?.id) {
2225
2018
  return;
@@ -2256,7 +2049,7 @@ function SourceOfFundsDropin({
2256
2049
  });
2257
2050
  setGettingStarted(true);
2258
2051
  setShowUploadPage(false);
2259
- setActiveSourceOfFund({});
2052
+ setActiveSourceOfFund({ sourceOfFundsType: {}, additionalData: {} });
2260
2053
  gotoFormByFormIndex(0);
2261
2054
  setSofErrorMessage("");
2262
2055
  showToast({ label: sofT(($) => $["successAddedFundingSources"]), variant: "success" });
@@ -2266,7 +2059,7 @@ function SourceOfFundsDropin({
2266
2059
  logger.log("Error updating source of funds", e);
2267
2060
  }
2268
2061
  setLoadingStatus("success");
2269
- }, [currentState?.data, activeSourceOfFund, handleHomeClick]);
2062
+ }, [data, activeSourceOfFund, handleHomeClick]);
2270
2063
  const handleGettingStarted = useCallback(() => {
2271
2064
  setGettingStarted(!gettingStarted);
2272
2065
  }, [gettingStarted]);
@@ -2275,18 +2068,11 @@ function SourceOfFundsDropin({
2275
2068
  setActiveSourceOfFund(SoF);
2276
2069
  setGettingStarted(false);
2277
2070
  };
2278
- const {
2279
- handleNextClick,
2280
- handleBackClick,
2281
- activeForm,
2282
- shouldValidate,
2283
- setShouldValidate,
2284
- gotoFormByFormIndex,
2285
- steps
2286
- } = useFormComposer({
2071
+ const { handleNextClick, activeForm, gotoFormByFormIndex, steps, handleBackClick } = useFormComposer({
2287
2072
  problems,
2288
2073
  forms,
2289
- onSubmit: handleSubmit
2074
+ onSubmit: handleSubmit,
2075
+ triggerValidation
2290
2076
  });
2291
2077
  const documentUtils = documentApiUtils({
2292
2078
  baseUrl: baseUrl.value,
@@ -2322,38 +2108,31 @@ function SourceOfFundsDropin({
2322
2108
  handleNavigateToSummary
2323
2109
  }
2324
2110
  ),
2325
- !gettingStarted && !showUploadPage && /* @__PURE__ */ jsx(
2326
- FormWrapper,
2111
+ !gettingStarted && !showUploadPage && /* @__PURE__ */ jsx(FormContextProvider, { form, children: /* @__PURE__ */ jsx(
2112
+ FormFlow,
2327
2113
  {
2328
- taskName: "sourceOfFunds",
2329
- gotoFormByFormIndex,
2330
- hideSidebar: true,
2331
- loadingStatus,
2332
2114
  forms,
2115
+ disableNextButton: !activeForm.isValid,
2333
2116
  activeForm,
2334
- validateForm: () => setShouldValidate(true),
2335
- onSubmit: handleSubmit,
2336
- problems,
2337
- canSubmit: canSubmitForm,
2338
- handleNextClick,
2339
- showBackButton: true,
2117
+ gotoFormByFormIndex,
2340
2118
  handleBackClick: steps.current === 0 ? handleGettingStarted : handleBackClick,
2341
- handleHomeClick,
2342
- steps,
2119
+ handleCancelClick: handleHomeClick,
2120
+ handleNextClick,
2121
+ loadingStatus,
2122
+ currentStep: steps.current,
2123
+ totalSteps: steps.total,
2343
2124
  children: /* @__PURE__ */ jsx(
2344
2125
  SourceOfFunds,
2345
2126
  {
2346
2127
  country,
2347
2128
  activeForm,
2348
- shouldValidate,
2349
2129
  activeBusinessLine,
2350
- sourceOfFundsType: currentState?.data?.sourceOfFundsType?.type,
2351
- ref: formRef,
2130
+ sourceOfFundsType: data?.sourceOfFundsType?.type,
2352
2131
  data: activeSourceOfFund
2353
2132
  }
2354
2133
  )
2355
2134
  }
2356
- )
2135
+ ) })
2357
2136
  ] }) });
2358
2137
  }
2359
2138
  const SourceOfFundsPage = ({ onSubmit, handleHomeClick }) => {