@adyen/kyc-components 4.0.0-compact.7 → 4.0.0-compact.9

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 (483) hide show
  1. package/README.md +31 -43
  2. package/dist/{AcceptTermsOfServiceComponent-BFqDontt.js → AcceptTermsOfServiceComponent-Y5aYfW8R.js} +31 -26
  3. package/dist/{AccountSetupRejected-f8rcBzZj.js → AccountSetupRejected-BBPH8zsy.js} +2 -5
  4. package/dist/{ActionBar-CijauUSe.js → ActionBar-CFMobUf9.js} +2 -2
  5. package/dist/{Address-Bj7zJ6yZ.js → Address-DaePmCRZ.js} +22 -25
  6. package/dist/{Avatar-DWU7t_0U.js → Avatar-CbD3nP3P.js} +2 -2
  7. package/dist/{BusinessFinancingComponent-_DvatBRp.js → BusinessFinancingComponent-BfmzIskz.js} +7 -7
  8. package/dist/{BusinessFinancingDropin-BuATaIOz.js → BusinessFinancingDropin-CLD8LAhP.js} +199 -160
  9. package/dist/BusinessFinancingPage-Bg-wKhhY.js +43 -0
  10. package/dist/{BusinessTypeSelectionPage-gsT7g7u8.js → BusinessTypeSelectionPage-D3EIjy_H.js} +11 -17
  11. package/dist/{Checkbox-5Sc5pzsh.js → Checkbox-DmYVTVOD.js} +2 -2
  12. package/dist/{Confirm-C0J_JwMM.js → Confirm-NubmSSR7.js} +3 -3
  13. package/dist/{ConstitutionalDocument-Bw5T0g5Q.js → ConstitutionalDocument-Djj_JCy4.js} +43 -30
  14. package/dist/{ContactDetails-CXTim9KR.js → ContactDetails-tNdzS3d4.js} +13 -10
  15. package/dist/{ContextGuidance-074d6FWy.js → ContextGuidance-Dp2PWG5c.js} +2 -3
  16. package/dist/{CountryField-DxZlK1rV.js → CountryField-C7SjQFv_.js} +4 -6
  17. package/dist/{CreateIndividualComponent-BppUrKMC.js → CreateIndividualComponent-DwOiAUaA.js} +8 -8
  18. package/dist/{CreateTransferInstrumentComponent-Cl2NOJb6.js → CreateTransferInstrumentComponent-D29rvuqv.js} +6 -6
  19. package/dist/{Currency-CIgj9KwH.js → Currency-B4udmJgX.js} +12 -18
  20. package/dist/{CustomerSupport-UenL9SqQ.js → CustomerSupport-CU3xoowB.js} +10 -11
  21. package/dist/{DebugModal-KXKodU9u.js → DebugModal-C7WSGJRZ.js} +10 -11
  22. package/dist/{DecisionMakerDetailsPage-Xwe1qYtH.js → DecisionMakerDetailsPage-C-mB9v5X.js} +10 -10
  23. package/dist/{DecisionMakers-CJDodZSl.js → DecisionMakers-AhL30Hnp.js} +114 -55
  24. package/dist/{Dropzone-kpihpy7N.js → Dropzone-B9NMiWRF.js} +4 -4
  25. package/dist/{EmbeddedStatus-BJjPDUeS.js → EmbeddedStatus-DkQk7orK.js} +3 -3
  26. package/dist/{EndStateLayout-Cx1NUGVq.js → EndStateLayout-DVisdSEd.js} +2 -2
  27. package/dist/{EntityAssociation-BtQeHZOq.js → EntityAssociation-BSnS5dP_.js} +5 -6
  28. package/dist/{EntityGuidanceStatus-DyMVy3R4.js → EntityGuidanceStatus-C2eFgLqN.js} +4 -4
  29. package/dist/{ErrorPanel-CAALFKmE.js → ErrorPanel-D4kO8XQ8.js} +11 -13
  30. package/dist/{Field-Bs7wGDqk.js → Field-CPoHG0G-.js} +3 -3
  31. package/dist/{FormNavigation-BtSvWPRY.js → FormNavigation-yD8USwyG.js} +3 -3
  32. package/dist/{Individual.rules-CP2tzjmO.js → Individual.rules-0EggSgTn.js} +16 -9
  33. package/dist/{IndividualDropin-xfXkDkrM.js → IndividualDropin-Eo9sxeBW.js} +692 -267
  34. package/dist/{InputDate-CLxqciJA.js → InputDate-BVYQZZuX.js} +2 -2
  35. package/dist/{InputText-BdCbTzL9.js → InputText-C55stM8O.js} +2 -2
  36. package/dist/{Introduction-BRWdnVv5.js → Introduction-CZ_-eIBj.js} +4 -4
  37. package/dist/{JpAddress-BSEenMj0.js → JpAddress-B3HjxunW.js} +12 -14
  38. package/dist/{LandingLayout-kl7TkBGx.js → LandingLayout-C_SbjQZA.js} +2 -3
  39. package/dist/{LegalCompanyNameField-DzAxAnD9.js → LegalCompanyNameField-DBiJbXem.js} +6 -6
  40. package/dist/{LegalRepresentativeDetailsPage--yY_D66i.js → LegalRepresentativeDetailsPage-DFKA0RAe.js} +6 -6
  41. package/dist/{Link-CXYU8cLY.js → Link-ru5UMRxt.js} +2 -2
  42. package/dist/{ListItem-HD5_HiQ2.js → ListItem-C6ALEoR-.js} +3 -3
  43. package/dist/{LoaderWrapper-C2PvjjQc.js → LoaderWrapper-BL7Hc_DC.js} +2 -2
  44. package/dist/{ManageIndividualComponent-BGaAbJjj.js → ManageIndividualComponent-CkybWipX.js} +5 -5
  45. package/dist/{ManageTermsOfServiceComponent-DFjaajE4.js → ManageTermsOfServiceComponent-Cgjagedl.js} +6 -6
  46. package/dist/{ManageTransferInstrumentComponent-Dndkwh_d.js → ManageTransferInstrumentComponent-DOpxzIzn.js} +16 -18
  47. package/dist/{MaskedInput-BSW18fxr.js → MaskedInput-1f16YE1z.js} +5 -5
  48. package/dist/{MaybeModal-xIjl3I31.js → MaybeModal-7NGTfxO6.js} +3 -3
  49. package/dist/{Modal-CZ-HuGUO.js → Modal-BMdWqd0Y.js} +15 -25
  50. package/dist/{Name-D6EhveoK.js → Name-BQWEKtu9.js} +5 -5
  51. package/dist/NewSummary-D-9PYaY6.js +60 -0
  52. package/dist/{OnboardingDropinComponent-CHtcVTHh.js → OnboardingDropinComponent-CxUcB7IU.js} +813 -121
  53. package/dist/{PayoutDetailsDropin-C2pNMAZS.js → PayoutDetailsDropin-DWqomQHU.js} +81 -190
  54. package/dist/PayoutDetailsPage-NIBSRWDA.js +55 -0
  55. package/dist/{RadioGroup-CxcIXYzs.js → RadioGroup-BuAX_NLA.js} +2 -2
  56. package/dist/{RadioGroupCard-Y214QWmQ.js → RadioGroupCard-Cbd_S6Fi.js} +2 -2
  57. package/dist/{Review-B2NCN4h_.js → Review-BjdQyMeU.js} +6 -8
  58. package/dist/{RootBusinessDetailsPage-hr5fLCIH.js → RootBusinessDetailsPage-CE9KIQRB.js} +6 -6
  59. package/dist/{RootBusinessLinesPage-DSna9haW.js → RootBusinessLinesPage-DYZETgKB.js} +129 -139
  60. package/dist/{RootIndividualDetailsPage-BItguz9n.js → RootIndividualDetailsPage-DCEHjEbR.js} +9 -10
  61. package/dist/{Select-DaCJsYNl.js → Select-seF9rM5K.js} +4 -4
  62. package/dist/{SignPCIComponent-C2YjBxQM.js → SignPCIComponent-CkaBa8MB.js} +18 -17
  63. package/dist/{SingpassSelection-B3ozCH9I.js → SingpassSelection-FctS_Rd2.js} +6 -6
  64. package/dist/{SoleProprietorshipPage-DIzzhgjr.js → SoleProprietorshipPage-BolUC48_.js} +5 -5
  65. package/dist/{SourceOfFundsPage-C3kXyE7G.js → SourceOfFundsPage-qPaoxTgM.js} +272 -103
  66. package/dist/{StepProgressIndicator-BSGlNU3K.js → StepProgressIndicator-DQIv4e4a.js} +2 -2
  67. package/dist/{StoreProvider-99-ewU62.js → StoreProvider-CBB99upB.js} +1032 -292
  68. package/dist/{StructuredList-CVMZBzwq.js → StructuredList-EKVbq_i3.js} +1 -1
  69. package/dist/{Summary-D0GcSMNn.js → Summary-C5uRwUKn.js} +28 -24
  70. package/dist/{TaxInformationField-BxQvx1zK.js → TaxInformationField-B7AVdVgf.js} +614 -634
  71. package/dist/{TaxReportingDropin-BqvAQH2c.js → TaxReportingDropin-C2dEK3ij.js} +15 -17
  72. package/dist/{TextArea-BjsWgkR-.js → TextArea-BbRKVKmP.js} +2 -2
  73. package/dist/{TileGroup-C-5-VREz.js → TileGroup-oKbh_YGv.js} +3 -3
  74. package/dist/{TrustDetailsPage-YROGiuFJ.js → TrustDetailsPage-BbQB4A5-.js} +129 -120
  75. package/dist/{TrustMemberCompanyPage-Z2EuqPEI.js → TrustMemberCompanyPage-CbRLAXBG.js} +7 -7
  76. package/dist/TrustMemberIndividualPage-BFRSkSas.js +64 -0
  77. package/dist/{TrustMemberRoleAndTypePage-BEOtdItr.js → TrustMemberRoleAndTypePage-pS7j8_f6.js} +35 -44
  78. package/dist/{TrustMembersOverview-GybHMIEU.js → TrustMembersOverview-aEVgO4Gr.js} +17 -21
  79. package/dist/{UnincorporatedPartnershipIndividualPage-BCYxSTlv.js → UnincorporatedPartnershipIndividualPage-DO7AXsP5.js} +6 -6
  80. package/dist/{UnincorporatedPartnershipMemberCompanyPage-Buez4OHl.js → UnincorporatedPartnershipMemberCompanyPage-qvOu17yc.js} +6 -6
  81. package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-Cfpe0BuU.js → UnincorporatedPartnershipMemberRoleAndTypePage-reBMcz-Y.js} +15 -16
  82. package/dist/{UnincorporatedPartnershipMembersOverview-B3Vi088r.js → UnincorporatedPartnershipMembersOverview-B5YCchZY.js} +8 -12
  83. package/dist/{VerificationErrorAlert-C6_ewC7c.js → VerificationErrorAlert-BcntIwEo.js} +23 -4
  84. package/dist/{ViewVerificationStatusComponent-DpA4jlct.js → ViewVerificationStatusComponent-CrQahS3p.js} +3 -4
  85. package/dist/adyen-business-financing.js +3 -3
  86. package/dist/adyen-individual-configuration.js +3 -3
  87. package/dist/adyen-individual-status.js +3 -3
  88. package/dist/adyen-invited-decision-maker.js +87 -17
  89. package/dist/adyen-kyc-components.js +18 -47
  90. package/dist/adyen-onboarding.js +3 -3
  91. package/dist/adyen-terms-of-service-management.js +3 -3
  92. package/dist/adyen-terms-of-service-status.js +3 -3
  93. package/dist/adyen-transfer-instrument-configuration.js +3 -3
  94. package/dist/adyen-transfer-instrument-management.js +3 -3
  95. package/dist/adyen-verification-status.js +3 -3
  96. package/dist/{bafinUtils-CIGv_BK8.js → bafinUtils-B1LygAFl.js} +14 -2
  97. package/dist/{commonValidators-DTt6he7v.js → commonValidators-CInBRB1V.js} +2 -2
  98. package/dist/{da-DK-JHZnsI59.js → da-DK-BfsYpvel.js} +18 -3
  99. package/dist/{da-DK-CGWvmdkq.js → da-DK-CLdNh9JT.js} +1 -2
  100. package/dist/{da-DK-gnPgzwrG.js → da-DK-CM1onr3w.js} +3 -1
  101. package/dist/{da-DK-Cd5IQPv3.js → da-DK-CMVthpSr.js} +2 -2
  102. package/dist/da-DK-Cv6XUSoW.js +13 -0
  103. package/dist/da-DK-D9FgPh5e.js +13 -0
  104. package/dist/{da-DK-h8DYQ_Iq.js → da-DK-mUuPR2YO.js} +2 -2
  105. package/dist/{de-DE-C9NH2zMh.js → de-DE-B5TOuf7l.js} +2 -2
  106. package/dist/{de-DE-DHDJhahG.js → de-DE-BT5g7ZXC.js} +1 -2
  107. package/dist/de-DE-BplDsJEb.js +13 -0
  108. package/dist/{de-DE-D3lLuF8z.js → de-DE-CA4mYLwp.js} +3 -1
  109. package/dist/{de-DE-VGGEkxUT.js → de-DE-CEsDXBn-.js} +18 -3
  110. package/dist/de-DE-Cg_RNIr-.js +13 -0
  111. package/dist/{de-DE-LQE_LFFL.js → de-DE-CwT6O212.js} +2 -2
  112. package/dist/{dropinUtils--st1YpV6.js → dropinUtils-D44Paj5u.js} +30 -16
  113. package/dist/{en-US-h0JneJJl.js → en-US--1W760fR.js} +2 -2
  114. package/dist/{en-US-CjjPhkB5.js → en-US-B-qSAb-7.js} +2 -1
  115. package/dist/en-US-B6tiYqel.js +13 -0
  116. package/dist/en-US-CfazE4ht.js +13 -0
  117. package/dist/{en-US-DoiQhi0j.js → en-US-CgakND3H.js} +1 -2
  118. package/dist/{en-US-D1sB335h.js → en-US-DIlZD5Wh.js} +16 -1
  119. package/dist/{en-US-DYP6rAvA.js → en-US-G607HIyo.js} +2 -2
  120. package/dist/{en-US-B96dpVon.js → en-US-fDACdKtT.js} +3 -1
  121. package/dist/{en-US.instructions-Ddr7AO05.js → en-US.instructions-CfIM2SRF.js} +1 -2
  122. package/dist/{es-ES-CxnsKEh4.js → es-ES-4FS7NoE7.js} +1 -2
  123. package/dist/{es-ES-CXDJLKAI.js → es-ES-BBcx4tvi.js} +3 -1
  124. package/dist/{es-ES-Bn9_0wK0.js → es-ES-BWFP5itn.js} +18 -3
  125. package/dist/es-ES-BZiC4JWr.js +13 -0
  126. package/dist/{es-ES-DdGmXdxO.js → es-ES-Bh8k9Zx8.js} +2 -2
  127. package/dist/es-ES-DRsix_Xn.js +13 -0
  128. package/dist/{es-ES-DK-7qtDf.js → es-ES-Wcpc6fm1.js} +2 -2
  129. package/dist/{fi-FI-fArobrt5.js → fi-FI-BKu826v5.js} +3 -1
  130. package/dist/fi-FI-BftTiz0c.js +13 -0
  131. package/dist/fi-FI-CEH4BfU3.js +13 -0
  132. package/dist/{fi-FI-PVFqd5Ra.js → fi-FI-DenK0WPz.js} +18 -3
  133. package/dist/{fi-FI-CIYa9SyS.js → fi-FI-DhUeTfn1.js} +2 -2
  134. package/dist/{fi-FI-57-xkioo.js → fi-FI-XpnJRPgt.js} +1 -2
  135. package/dist/{formUtils-C_sWWLS3.js → formUtils-BEcbGHkz.js} +3 -18
  136. package/dist/{fr-FR-mJK4hjwD.js → fr-FR-BmTswZU5.js} +18 -3
  137. package/dist/fr-FR-C6jxjXAI.js +13 -0
  138. package/dist/{fr-FR-CiwkAb3E.js → fr-FR-C7iSS-OS.js} +3 -1
  139. package/dist/{fr-FR-l5z31r7i.js → fr-FR-CocDMzBc.js} +2 -2
  140. package/dist/{fr-FR-B2je0smB.js → fr-FR-DodNoPid.js} +2 -2
  141. package/dist/fr-FR-NxOktkWc.js +13 -0
  142. package/dist/{fr-FR-BxiX8Zfi.js → fr-FR-TqAhPvzz.js} +1 -2
  143. package/dist/{getName-CnZDw7kV.js → getName-CdgtxRvu.js} +2 -2
  144. package/dist/{getProblemsForEntity-D8qEVVOM.js → getProblemsForEntity-DFP6N3co.js} +2 -2
  145. package/dist/{iframeWidget-DqeucjDU.js → iframeWidget-B0fieiAe.js} +4 -4
  146. package/dist/{isEmpty-CUuXL9Na.js → isEmpty-3U9fSQsY.js} +2 -2
  147. package/dist/{it-IT-BAvmkEF8.js → it-IT-B4bk2Xev.js} +2 -2
  148. package/dist/{it-IT-DIbH-udG.js → it-IT-CUrn0j1I.js} +3 -1
  149. package/dist/it-IT-CXlaZNIj.js +13 -0
  150. package/dist/{it-IT-Dhwa9Ecj.js → it-IT-CZ4aDoVQ.js} +2 -2
  151. package/dist/{it-IT-masgjk9F.js → it-IT-D-jYXj6V.js} +1 -2
  152. package/dist/{it-IT-BTWkWSJq.js → it-IT-DJe5OflH.js} +18 -3
  153. package/dist/it-IT-OppZz3gW.js +13 -0
  154. package/dist/{ja-JP-vv3-YsHU.js → ja-JP-8yMqZqF2.js} +1 -2
  155. package/dist/ja-JP-A6ArIIZ8.js +13 -0
  156. package/dist/{ja-JP-Bc4U0S8-.js → ja-JP-BpeNsNhn.js} +3 -3
  157. package/dist/{ja-JP-bz7ekGnF.js → ja-JP-CbP1sVFP.js} +4 -2
  158. package/dist/ja-JP-CethQRoG.js +13 -0
  159. package/dist/{ja-JP-g6VOUGXZ.js → ja-JP-DK55NCZY.js} +1 -2
  160. package/dist/{ja-JP-CceCDXLB.js → ja-JP-GGV_-V6p.js} +18 -3
  161. package/dist/{ja-JP-Bv3ru9Xq.js → ja-JP-GX3l4yqn.js} +17 -17
  162. package/dist/{japanSupportUtils-CGWcXGP2.js → japanSupportUtils-CaeglTl1.js} +2 -2
  163. package/dist/{localizeDateString-D6tFShQu.js → localizeDateString-D2nDwdFu.js} +2 -2
  164. package/dist/{mapExistingFile-BM9f5AeG.js → mapExistingFile-BigOdLU3.js} +4 -4
  165. package/dist/mapJpAddressSchemaToAddressLocalizations-DUoJIoRm.js +54 -0
  166. package/dist/{mapLegalEntityToIndividualSchema-DVKTWyvx.js → mapLegalEntityToIndividualSchema-UVUkctdQ.js} +43 -45
  167. package/dist/{mapTransferInstrumentToPayoutAccount--gtugk3J.js → mapTransferInstrumentToPayoutAccount-qpUP3sTf.js} +2 -2
  168. package/dist/{nl-NL-CTf7zH4M.js → nl-NL-4Mv4rnYy.js} +18 -3
  169. package/dist/{nl-NL-B0fvINJj.js → nl-NL-B2Uku0lw.js} +2 -2
  170. package/dist/nl-NL-BwWFlBOs.js +13 -0
  171. package/dist/nl-NL-CYFznuWn.js +13 -0
  172. package/dist/{nl-NL-DV4NqPVW.js → nl-NL-J7XpCpQm.js} +2 -2
  173. package/dist/{nl-NL-D1b5RUJ0.js → nl-NL-Jhr-ICkK.js} +1 -2
  174. package/dist/{nl-NL-NlkjOSYi.js → nl-NL-Lo8OF_nj.js} +3 -1
  175. package/dist/{no-NO-Crlsj6HG.js → no-NO-6chPsZZE.js} +3 -1
  176. package/dist/{no-NO-Dkh4SWbB.js → no-NO-BH6DId3q.js} +1 -2
  177. package/dist/no-NO-BsEie1We.js +13 -0
  178. package/dist/{no-NO-RfTK9KAV.js → no-NO-ByCZ3mhz.js} +18 -3
  179. package/dist/{no-NO-B9618F4_.js → no-NO-CtDyNTm6.js} +2 -2
  180. package/dist/{no-NO-Jw7Gae-a.js → no-NO-DjOcJWnC.js} +2 -2
  181. package/dist/no-NO-JWsSd7iY.js +13 -0
  182. package/dist/{patternValidators-vYKnE5-t.js → patternValidators-BkY5yvNa.js} +2 -2
  183. package/dist/{process-field-configurations-Dl2Isz78.js → process-field-configurations-BnIbMyYt.js} +5 -5
  184. package/dist/{pt-BR-BRdIEO2O.js → pt-BR-4Iozxvfr.js} +1 -2
  185. package/dist/pt-BR-BJOww8U1.js +13 -0
  186. package/dist/{pt-BR-BaTE6BB_.js → pt-BR-BKdT0Bpl.js} +2 -2
  187. package/dist/pt-BR-C-YbDjn-.js +13 -0
  188. package/dist/{pt-BR-zuqB_CBf.js → pt-BR-D4BTdo_w.js} +2 -2
  189. package/dist/{pt-BR-BfxgHKY4.js → pt-BR-DRBFUW-X.js} +3 -1
  190. package/dist/{pt-BR-BbFJsIVX.js → pt-BR-DRz5cG4o.js} +18 -3
  191. package/dist/{resolveEnvironment-B_JokQ0n.js → resolveEnvironment-C5RkjL5E.js} +5 -5
  192. package/dist/{roleMetadata-eM6T7GeQ.js → roleMetadata-C8VLzyMj.js} +3 -3
  193. package/dist/sl-SI-BfO3xEJx.js +13 -0
  194. package/dist/sl-SI-CJH14wbj.js +13 -0
  195. package/dist/{sl-SI-59OQIZ3f.js → sl-SI-C_4ajjU4.js} +2 -2
  196. package/dist/{sl-SI-D8dDckrW.js → sl-SI-DKSu25rO.js} +18 -3
  197. package/dist/{sl-SI-C-C-KJCX.js → sl-SI-UFngWs5n.js} +3 -1
  198. package/dist/{sl-SI-CvUzNn9Z.js → sl-SI-Y9h1ht45.js} +1 -2
  199. package/dist/style.css +1868 -1836
  200. package/dist/styles-CLV89_hH.js +1868 -1836
  201. package/dist/{sv-SE-D_Efxy3s.js → sv-SE-Blw4s8bC.js} +2 -2
  202. package/dist/sv-SE-CMLKzwtj.js +13 -0
  203. package/dist/{sv-SE-DGpvVvWj.js → sv-SE-Co7Nkd06.js} +18 -3
  204. package/dist/{sv-SE-BHfydid5.js → sv-SE-Cr0s35EH.js} +3 -1
  205. package/dist/{sv-SE-BsLkPEzn.js → sv-SE-DFSm22oQ.js} +1 -2
  206. package/dist/{sv-SE-CQWBP7n1.js → sv-SE-DKnUr7xo.js} +2 -2
  207. package/dist/sv-SE-ZsucW_Uj.js +13 -0
  208. package/dist/{isNewEntity-7Vw_eQBr.js → trusted-fields-provider-BgfIoSNJ.js} +6 -3
  209. package/dist/types/api/companyDataSet/companyDataset.types.d.ts +5 -0
  210. package/dist/types/api/companyDataSet/handleCompanyDataset.d.ts +6 -3
  211. package/dist/types/api/companySearch/companySearch.types.d.ts +8 -0
  212. package/dist/types/api/companySearch/useCompanySearch.d.ts +9 -3
  213. package/dist/types/api/companySelection/companySelection.types.d.ts +3 -3
  214. package/dist/types/api/companySelection/useCompanySelection.d.ts +1 -1
  215. package/dist/types/api/documentValidation/useDocumentValidate.d.ts +1 -0
  216. package/dist/types/api/invitations/invitations.types.d.ts +14 -0
  217. package/dist/types/api/invitations/useCreateInvitation.d.ts +14 -0
  218. package/dist/types/api/invitations/useInvitationStatuses.d.ts +8 -0
  219. package/dist/types/api/invitedEntity/useInvitedEntityAssociationData.d.ts +9 -0
  220. package/dist/types/api/legalEntity/useUpdateLegalEntity.d.ts +4 -4
  221. package/dist/types/api/queryKeys.d.ts +4 -1
  222. package/dist/types/api/toggles/useToggles.d.ts +9 -0
  223. package/dist/types/components/Apps/tasks/TaskList/types.d.ts +2 -2
  224. package/dist/types/components/BankAccount/fields/BankAccountNumber/BankAccountNumber.d.ts +1 -1
  225. package/dist/types/components/BankAccount/fields/BankCode/BankCode.d.ts +1 -1
  226. package/dist/types/components/BankAccount/fields/BranchCode/BranchCode.d.ts +1 -1
  227. package/dist/types/components/BankAccount/fields/Iban/Iban.d.ts +1 -1
  228. package/dist/types/components/BankAccount/forms/PayoutDetails/rules.d.ts +1 -1
  229. package/dist/types/components/BankAccount/forms/PayoutDetails/types.d.ts +2 -0
  230. package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +2 -2
  231. package/dist/types/components/BankAccount/pages/PayoutDetailsPage.d.ts +0 -1
  232. package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/utils.d.ts +1 -1
  233. package/dist/types/components/Business/forms/AdditionalInformation/VerifiedBusinessCard/VerifiedBusinessCard.d.ts +2 -2
  234. package/dist/types/components/Business/forms/AdditionalInformation/utils.d.ts +2 -2
  235. package/dist/types/components/Business/forms/BusinessDetails/forms.d.ts +2 -2
  236. package/dist/types/components/Business/forms/BusinessSelection/BusinessInformationCard/BusinessInformationCard.d.ts +7 -7
  237. package/dist/types/components/Business/forms/FinancialInformation/FinancialInformation.d.ts +1 -1
  238. package/dist/types/components/Business/forms/FinancialInformation/mapping/mapFinancialInformationToFinancialReport.d.ts +1 -1
  239. package/dist/types/components/Business/forms/FinancialInformation/types.d.ts +7 -17
  240. package/dist/types/components/Business/forms/rules.d.ts +10 -8
  241. package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +14 -1
  242. package/dist/types/components/Business/tasks/BusinessDetailsDropin/utils.d.ts +1 -6
  243. package/dist/types/components/Business/tasks/BusinessDetailsDropin/validate.d.ts +2 -1
  244. package/dist/types/components/Business/utils/applyVerifiedBusinessData.d.ts +1 -1
  245. package/dist/types/components/Business/utils/companyUtil.d.ts +1 -1
  246. package/dist/types/components/Business/utils/formatDataForSummary.d.ts +6 -0
  247. package/dist/types/components/Business/utils/submit.d.ts +2 -0
  248. package/dist/types/components/Business/utils/useCompanySearchExperiments.d.ts +5 -0
  249. package/dist/types/components/BusinessLines/fields/SctaField/types.d.ts +1 -1
  250. package/dist/types/components/BusinessLines/forms/SalesChannelsForm/types.d.ts +1 -1
  251. package/dist/types/components/BusinessLines/tasks/utils.d.ts +4 -4
  252. package/dist/types/components/Contract/tasks/PciDropin/PciDropin.d.ts +1 -1
  253. package/dist/types/components/EFP/fields/NaceCodeField/types.d.ts +1 -1
  254. package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +2783 -2783
  255. package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingFinancialInformation.d.ts +1 -1
  256. package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingSummary.d.ts +14 -0
  257. package/dist/types/components/EFP/tasks/BusinessFinancingDropin/types.d.ts +5 -7
  258. package/dist/types/components/EFP/tasks/BusinessFinancingDropin/utils.d.ts +8 -9
  259. package/dist/types/components/EFP/tasks/BusinessFinancingDropin/validate.d.ts +1 -1
  260. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/types.d.ts +11 -0
  261. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/utils.d.ts +15 -0
  262. package/dist/types/components/EmbeddedDropins/BusinessFinancingComponent/utils.d.ts +1 -2
  263. package/dist/types/components/EmbeddedDropins/CreateIndividualComponent/CreateIndividualComponent.d.ts +2 -2
  264. package/dist/types/components/Individual/fields/DriversLicense/DriversLicense.d.ts +1 -1
  265. package/dist/types/components/Individual/fields/DriversLicense/DriversLicense.types.d.ts +1 -0
  266. package/dist/types/components/Individual/fields/IdentityNumber/IdentityNumber.d.ts +1 -1
  267. package/dist/types/components/Individual/forms/AdditionalPersonalDetails/AdditionalPersonalDetails.types.d.ts +2 -2
  268. package/dist/types/components/Individual/forms/AdditionalPersonalDetails/validate.d.ts +5 -4
  269. package/dist/types/components/Individual/forms/DataConflictsModal/ConflictRow.d.ts +2 -2
  270. package/dist/types/components/Individual/forms/DataConflictsModal/DataConflictsModal.d.ts +6 -6
  271. package/dist/types/components/Individual/forms/IdDocumentUpload/types.d.ts +2 -2
  272. package/dist/types/components/Individual/forms/IdVerificationMethod/{individualOnfidoConflictsSchema.d.ts → individualConflictsSchema.d.ts} +12 -12
  273. package/dist/types/components/Individual/forms/IdVerificationMethod/mapExtractionResultToSchema.d.ts +2 -2
  274. package/dist/types/components/Individual/forms/IdVerificationMethod/validateExtractionResult.d.ts +2 -2
  275. package/dist/types/components/Individual/forms/Individual.d.ts +12 -7
  276. package/dist/types/components/Individual/forms/Individual.rules.d.ts +6 -5
  277. package/dist/types/components/Individual/forms/Individual.types.d.ts +15 -5
  278. package/dist/types/components/Individual/forms/InviteDetails/InviteDetails.d.ts +4 -0
  279. package/dist/types/components/Individual/forms/InviteDetails/InviteDetails.types.d.ts +13 -0
  280. package/dist/types/components/Individual/forms/InviteDetails/validate.d.ts +3 -0
  281. package/dist/types/components/Individual/forms/form-ids.d.ts +2 -2
  282. package/dist/types/components/Individual/helpers/bafinUtils.d.ts +2 -2
  283. package/dist/types/components/Individual/helpers/mandateIdVerificationForMotionCapture.d.ts +2 -2
  284. package/dist/types/components/Individual/helpers/roleUtils.d.ts +2 -2
  285. package/dist/types/components/Individual/mapping/individualKeyMappings.d.ts +6 -6
  286. package/dist/types/components/Individual/mapping/mapApiDocumentToIndividualDocuments.d.ts +2 -2
  287. package/dist/types/components/Individual/mapping/mapIndividualDocumentToApiDocument.d.ts +2 -2
  288. package/dist/types/components/Individual/mapping/mapIndividualSchemaToLegalEntity.d.ts +2 -2
  289. package/dist/types/components/Individual/mapping/mapLegalEntityToIndividualSchema.d.ts +2 -2
  290. package/dist/types/components/Individual/pages/DecisionMakerDetailsPage.d.ts +2 -2
  291. package/dist/types/components/Individual/pages/LegalRepresentativeDetailsPage.d.ts +2 -2
  292. package/dist/types/components/Individual/pages/RootIndividualDetailsPage.d.ts +2 -2
  293. package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/utils.d.ts +3 -3
  294. package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerListItem/DecisionMakerListItem.d.ts +8 -0
  295. package/dist/types/components/Individual/tasks/DecisionMakers/InvitedDecisionMaker/InvitedDecisionMakerGettingStarted/InvitedDecisionMakerGettingStarted.d.ts +4 -0
  296. package/dist/types/components/Individual/tasks/DecisionMakers/InvitedDecisionMaker/InvitedDecisionMakerSubmitSuccess/InvitedDecisionMakerSubmitSuccess.d.ts +1 -0
  297. package/dist/types/components/Individual/tasks/IndividualDropin/IndividualDropin.d.ts +2 -2
  298. package/dist/types/components/Individual/tasks/IndividualDropin/individualFormConfig.d.ts +3 -3
  299. package/dist/types/components/Shared/FormFlow/FormFlow.d.ts +1 -1
  300. package/dist/types/components/Shared/FormFlow/FormFlow.types.d.ts +2 -0
  301. package/dist/types/components/Shared/FormNavigation/types.d.ts +2 -2
  302. package/dist/types/components/Shared/FormWrapper/FormWrapper.d.ts +2 -2
  303. package/dist/types/components/Shared/NewSummary/NewSummary.d.ts +14 -0
  304. package/dist/types/components/Shared/Summary/Summary.d.ts +1 -0
  305. package/dist/types/components/Shared/TaskVerificationStatus/TaskVerificationStatus.d.ts +1 -1
  306. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/BusinessRegistrationNumberField.d.ts +1 -1
  307. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/fieldConfig.d.ts +0 -2
  308. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/types.d.ts +3 -1
  309. package/dist/types/components/Shared/fields/Currency/fieldConfig.d.ts +3 -0
  310. package/dist/types/components/Shared/fields/Currency/types.d.ts +1 -1
  311. package/dist/types/components/Shared/fields/EInvoicingCodeField/EInvoicingCodeField.d.ts +1 -1
  312. package/dist/types/components/Shared/fields/EInvoicingCodeField/types.d.ts +1 -1
  313. package/dist/types/components/Shared/fields/FinancialReportingDate/fieldConfig.d.ts +3 -0
  314. package/dist/types/components/Shared/fields/IdFieldTypeSelector/CompanyRegistrationNumberTypeSelector.d.ts +2 -2
  315. package/dist/types/components/Shared/fields/IdFieldTypeSelector/VatNumberTypeSelector.d.ts +2 -2
  316. package/dist/types/components/Shared/fields/IdFieldTypeSelector/countryIdNumberTypes.d.ts +5 -244
  317. package/dist/types/components/Shared/fields/IndustryCodeField/types.d.ts +1 -1
  318. package/dist/types/components/Shared/fields/LocalizedLegalCompanyNameField/fieldConfig.d.ts +4 -4
  319. package/dist/types/components/Shared/fields/NumberOfEmployees/fieldConfig.d.ts +3 -0
  320. package/dist/types/components/Shared/fields/PhoneField/PhoneField.d.ts +1 -1
  321. package/dist/types/components/Shared/fields/PhoneField/types.d.ts +2 -0
  322. package/dist/types/components/Shared/fields/ReportedValueOptionField/ReportedValueOptionField.d.ts +3 -0
  323. package/dist/types/components/Shared/fields/ReportedValueOptionField/fieldConfig.d.ts +5 -0
  324. package/dist/types/components/Shared/fields/ReportedValueOptionField/types.d.ts +10 -0
  325. package/dist/types/components/Shared/fields/StockExchangeMICField/StockExchangeMICField.d.ts +1 -1
  326. package/dist/types/components/Shared/fields/StockExchangeMICField/types.d.ts +1 -1
  327. package/dist/types/components/Shared/fields/StockISINField/StockISINField.d.ts +1 -1
  328. package/dist/types/components/Shared/fields/StockISINField/types.d.ts +1 -1
  329. package/dist/types/components/Shared/fields/StockTickerSymbol/StockTickerSymbolField.d.ts +1 -1
  330. package/dist/types/components/Shared/fields/StockTickerSymbol/types.d.ts +1 -1
  331. package/dist/types/components/Shared/fields/TaxInformationField/TaxIdNumberTypeSelector/TaxIdNumberTypeSelector.d.ts +17 -0
  332. package/dist/types/components/Shared/fields/{IdFieldTypeSelector → TaxInformationField/TaxIdNumberTypeSelector}/getDefaultTaxIdNumberType.d.ts +5 -5
  333. package/dist/types/components/Shared/fields/{IdFieldTypeSelector → TaxInformationField/TaxIdNumberTypeSelector}/inferTaxIdNumberType.d.ts +5 -5
  334. package/dist/types/components/Shared/fields/TaxInformationField/TaxInformationField.d.ts +1 -1
  335. package/dist/types/components/Shared/fields/TaxInformationField/fieldConfig.d.ts +2 -3
  336. package/dist/types/components/Shared/fields/TaxInformationField/taxIdNumberTypes.d.ts +232 -0
  337. package/dist/types/components/Shared/fields/TaxInformationField/types.d.ts +9 -1
  338. package/dist/types/components/Shared/fields/TaxInformationField/utils.d.ts +13 -0
  339. package/dist/types/components/Shared/fields/VatNumberField/VatNumberField.d.ts +1 -1
  340. package/dist/types/components/Shared/fields/VatNumberField/types.d.ts +1 -1
  341. package/dist/types/components/Shared/forms/Address/localized/jp/mapJpAddressSummary.d.ts +5 -0
  342. package/dist/types/components/Shared/forms/Address/types.d.ts +5 -5
  343. package/dist/types/components/Shared/forms/Address/utils.d.ts +6 -1
  344. package/dist/types/components/Shared/forms/Address/validate.d.ts +4 -4
  345. package/dist/types/components/Shared/forms/BusinessTypeSelection/types.d.ts +6 -6
  346. package/dist/types/components/Shared/forms/DocumentUpload/types.d.ts +2 -2
  347. package/dist/types/components/Shared/forms/RegistrationAddress/types.d.ts +2 -2
  348. package/dist/types/components/Trust/forms/Trust/rules.d.ts +5 -4
  349. package/dist/types/components/Trust/pages/TrustMemberIndividualPage.d.ts +2 -2
  350. package/dist/types/components/Trust/tasks/TrustDropin/TrustMultiformDropin.d.ts +1 -1
  351. package/dist/types/components/Trust/utils/trustMemberGuidance.d.ts +2 -2
  352. package/dist/types/components/UnincorporatedPartnership/pages/UnincorporatedPartnershipIndividualPage.d.ts +2 -2
  353. package/dist/types/components/UnincorporatedPartnership/tasks/UnincorporatedPartnershipMembers/types.d.ts +2 -2
  354. package/dist/types/components/ui/atoms/Icon/Icon.d.ts +1 -1
  355. package/dist/types/components/ui/atoms/RadioGroup/RadioGroup.d.ts +2 -2
  356. package/dist/types/components/ui/atoms/Select/Select.d.ts +1 -1
  357. package/dist/types/components/ui/atoms/Svg/Svg.d.ts +1 -4
  358. package/dist/types/components/ui/atoms/Svg/svgs.d.ts +0 -4
  359. package/dist/types/components/ui/molecules/Dropzone/FilePicker.d.ts +2 -2
  360. package/dist/types/components/ui/molecules/Dropzone/types.d.ts +2 -2
  361. package/dist/types/context/ExperimentContext/ExperimentsContextProvider.d.ts +1 -1
  362. package/dist/types/context/ExperimentContext/types.d.ts +9 -7
  363. package/dist/types/context/FormRouterContext/FormRouterContext.d.ts +4 -0
  364. package/dist/types/context/FormRouterContext/useFormRouterContext.d.ts +3 -0
  365. package/dist/types/context/StateContext/types.d.ts +2 -2
  366. package/dist/types/core/models/api/financialReport.d.ts +7 -1
  367. package/dist/types/core/models/api/legal-entity.d.ts +1 -6
  368. package/dist/types/core/models/api/organization.d.ts +1 -1
  369. package/dist/types/core/user-events.d.ts +1 -1
  370. package/dist/types/embeds/business-financing/adyen-business-financing.types.d.ts +5 -0
  371. package/dist/types/embeds/individual-configuration/adyen-individual-configuration.types.d.ts +7 -2
  372. package/dist/types/embeds/individual-status/adyen-individual-status.types.d.ts +5 -0
  373. package/dist/types/embeds/invited-decision-maker/adyen-invited-decision-maker.types.d.ts +5 -0
  374. package/dist/types/embeds/onboarding/adyen-onboarding.types.d.ts +5 -0
  375. package/dist/types/embeds/terms-of-service-management/adyen-terms-of-service-management.types.d.ts +5 -0
  376. package/dist/types/embeds/terms-of-service-status/adyen-terms-of-service-status.types.d.ts +5 -0
  377. package/dist/types/embeds/transfer-instrument-configuration/adyen-transfer-instrument-configuration.types.d.ts +5 -0
  378. package/dist/types/embeds/transfer-instrument-management/adyen-transfer-instrument-management.types.d.ts +5 -0
  379. package/dist/types/embeds/verification-status/adyen-verification-status.types.d.ts +5 -0
  380. package/dist/types/hooks/useForm/types.d.ts +3 -6
  381. package/dist/types/hooks/useUboQuestionnaire.d.ts +1 -1
  382. package/dist/types/language/types.d.ts +3 -15
  383. package/dist/types/language/utils.d.ts +6 -5
  384. package/dist/types/stores/formState.d.ts +2 -2
  385. package/dist/types/stores/globalStore/get-task-status.d.ts +6 -0
  386. package/dist/types/types/errors/error-message.d.ts +2 -2
  387. package/dist/types/types/errors/remediation.d.ts +2 -2
  388. package/dist/types/types/form-configuration.d.ts +2 -2
  389. package/dist/types/types/form.d.ts +2 -2
  390. package/dist/types/utils/decisionMaker.d.ts +2 -2
  391. package/dist/types/utils/entityStatusUtil.d.ts +1 -1
  392. package/dist/types/utils/fieldConfigurations.d.ts +6 -6
  393. package/dist/types/utils/formUtils.d.ts +5 -6
  394. package/dist/types/utils/getDisplayErrorMessage.d.ts +2 -2
  395. package/dist/types/utils/getFieldsWithExistingData.d.ts +2 -2
  396. package/dist/types/utils/not.d.ts +12 -0
  397. package/dist/types/utils/roleMetadata.d.ts +4 -4
  398. package/dist/types/utils/textTransformation/toFullWidth.d.ts +2 -3
  399. package/dist/types/utils/validatorUtils.d.ts +1 -0
  400. package/dist/types-CQ2p58-6.js +36 -0
  401. package/dist/{types-C8io4KaH.js → types-CcxS0801.js} +2 -2
  402. package/dist/{types-DwXc_yI8.js → types-DcouFF7I.js} +2 -2
  403. package/dist/{types-B7GElie6.js → types-_ugkpUNx.js} +11 -9
  404. package/dist/{types-BQL9Lsg4.js → types-vXKpLHZM.js} +2 -2
  405. package/dist/{Image-CAucF9wz.js → unincorporated-partnership-QawJyhxx.js} +8 -7
  406. package/dist/{useAssociatedLegalEntity-ETDoz1H2.js → useAssociatedLegalEntity-DXp9udzH.js} +2 -2
  407. package/dist/{useBusinessDetailsData-FrL0b9Ni.js → useBusinessDetailsData-CgfVRRNG.js} +1090 -917
  408. package/dist/{useCreateLegalEntity-DrcLoNYT.js → useCreateLegalEntity-C5daQcez.js} +2 -2
  409. package/dist/{useForm-DqUW2TbW.js → useForm-BQDytQRR.js} +3 -3
  410. package/dist/{useFormContext-CkuaJPUI.js → useFormContext-CX6rQNws.js} +9 -8
  411. package/dist/{FormWrapper-B3N3YosC.js → useGlobalData-xVRfhIqc.js} +66 -11
  412. package/dist/{useMultiForm-Dm2IEMH9.js → useMultiForm-DRZSxmEa.js} +12 -6
  413. package/dist/{useOnboardingStatus-H7Xqe2GC.js → useOnboardingStatus-C6X8CPF2.js} +2 -2
  414. package/dist/{useScenarios-CibP5LVa.js → useScenarios-C5uruC52.js} +2 -2
  415. package/dist/{useTermsOfServiceStatus-Dg_nBQgt.js → useTermsOfServiceStatus-CABu0vXO.js} +2 -2
  416. package/dist/{useToastContext-D643iewp.js → useToastContext-C2BAjZxO.js} +2 -2
  417. package/dist/{useUnincorporatedPartnershipMembers-BM9dNg4i.js → useUnincorporatedPartnershipMembers-Duhfzca2.js} +5 -5
  418. package/dist/{useUpdateBusinessLines-BuW6Vnof.js → useUpdateBusinessLines-CFgADcSW.js} +5 -5
  419. package/dist/{useUpdateLegalEntity-tRw1V_Mt.js → useUpdateLegalEntity-vK1vTzAB.js} +3 -3
  420. package/dist/{utils-D9h2Aq2w.js → utils-Bh3VtXaW.js} +55 -22
  421. package/dist/{utils-BnolcW6V.js → utils-Bo1WrnnM.js} +6 -6
  422. package/dist/{utils-BasWTkqk.js → utils-BvFIL5qs.js} +22 -2
  423. package/dist/{utils-b_KUV0wb.js → utils-HUgTKRia.js} +2 -2
  424. package/dist/{utils-PkTZS9uf.js → utils-nUjUW0ze.js} +2 -2
  425. package/dist/{validate-K0fmvoFj.js → validate-CDGLD3wC.js} +24 -12
  426. package/dist/{validate-CtxacqMv.js → validate-DDCTmBf4.js} +5 -5
  427. package/dist/{validationError-DdlWONz2.js → validationError-DmAD3_AN.js} +3 -3
  428. package/package.json +35 -53
  429. package/dist/Accordion-B2vSnESS.js +0 -88
  430. package/dist/Alert-CFmX9yNV.js +0 -169
  431. package/dist/BusinessFinancingPage-Bpu78Ynn.js +0 -43
  432. package/dist/DropinLayout-CBP_cHLC.js +0 -17
  433. package/dist/Header-vslG1ugE.js +0 -83
  434. package/dist/TaskVerificationStatus-DZIw2ztV.js +0 -129
  435. package/dist/TrustMemberIndividualPage-DmNp3D89.js +0 -64
  436. package/dist/accountHolderUtils-Btu9mMnM.js +0 -66
  437. package/dist/company-types-value-D_mKv5PT.js +0 -23
  438. package/dist/da-DK-DvZ431fC.js +0 -13
  439. package/dist/da-DK-DzcTI92X.js +0 -13
  440. package/dist/datasetUtil-BHQp0-xL.js +0 -58
  441. package/dist/de-DE-0uSzhWg5.js +0 -13
  442. package/dist/de-DE-dPfrbCii.js +0 -13
  443. package/dist/en-US-CozY33On.js +0 -13
  444. package/dist/en-US-cVpRgdC8.js +0 -13
  445. package/dist/es-ES--IvNed_Q.js +0 -13
  446. package/dist/es-ES-B7dt4cn7.js +0 -13
  447. package/dist/fi-FI-BUixKfXH.js +0 -13
  448. package/dist/fi-FI-REMsyTSr.js +0 -13
  449. package/dist/filterProblemsByTaskForms-Cz7iQtms.js +0 -30
  450. package/dist/fr-FR-BM-qNLci.js +0 -13
  451. package/dist/fr-FR-CvHWmim-.js +0 -13
  452. package/dist/getTrustedFields-C5-mXl-l.js +0 -64
  453. package/dist/it-IT-BeX7-OcD.js +0 -13
  454. package/dist/it-IT-D63gRTDc.js +0 -13
  455. package/dist/ja-JP-B3wVYIJU.js +0 -151
  456. package/dist/ja-JP-DL0IjTzn.js +0 -13
  457. package/dist/mapJpAddressSchemaToAddressLocalizations-Cu4hdrYE.js +0 -162
  458. package/dist/nl-NL-CM5U8ODq.js +0 -13
  459. package/dist/nl-NL-KQ6bciOb.js +0 -13
  460. package/dist/no-NO-BQL_M1pn.js +0 -13
  461. package/dist/no-NO-Ds3VioxT.js +0 -13
  462. package/dist/pt-BR-AZ3roErF.js +0 -13
  463. package/dist/pt-BR-Ct4s4jXV.js +0 -13
  464. package/dist/sl-SI-C0wSbuau.js +0 -13
  465. package/dist/sl-SI-hxwQIw_i.js +0 -13
  466. package/dist/sv-SE-0PQ-U1u6.js +0 -13
  467. package/dist/sv-SE-DtKjf4Go.js +0 -13
  468. package/dist/types/components/Business/forms/FinancialInformation/formatFinancialInformationSummary.d.ts +0 -4
  469. package/dist/types/components/Shared/fields/IdFieldTypeSelector/TaxIdNumberTypeSelector.d.ts +0 -23
  470. package/dist/unincorporated-partnership-MeN1dp53.js +0 -97
  471. package/dist/useBusinessLines-C5NQ5pE8.js +0 -29
  472. package/dist/useCanSeeIntroduction-BdZJ7k-_.js +0 -48
  473. package/dist/useDataMissingRemediations-Zgtpw7uZ.js +0 -41
  474. package/dist/useDataset-Cap5ZjTr.js +0 -76
  475. package/dist/useDeleteTransferInstrument-B2wRj-qL.js +0 -32
  476. package/dist/useGlobalData-5Z6W3or1.js +0 -68
  477. package/dist/useNavigate-CI0N-POy.js +0 -265
  478. package/dist/usePciQuestionnaireList-BF7TPjbQ.js +0 -29
  479. package/dist/useSalesChannels-DYGRfKeh.js +0 -65
  480. package/dist/useSetting-CbBaitp6.js +0 -19
  481. package/dist/useTaskStatus-1OZ2clnm.js +0 -51
  482. package/dist/useTrustMembers-BTCDIu6B.js +0 -163
  483. /package/dist/types/components/{Business/forms/FinancialInformation → Shared/fields/ReportedValueOptionField}/ReportedValue.d.ts +0 -0
@@ -2,13 +2,13 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "e3d978b4-6981-47a0-9599-4fe8731c99c2", e._sentryDebugIdIdentifier = "sentry-dbid-e3d978b4-6981-47a0-9599-4fe8731c99c2");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "14c6c3c5-0c1e-4363-9e33-b1f0061b0f72", e._sentryDebugIdIdentifier = "sentry-dbid-14c6c3c5-0c1e-4363-9e33-b1f0061b0f72");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { useMutation } from "@tanstack/preact-query";
11
- import { b as useApiContext, $ as httpPost } from "./StoreProvider-99-ewU62.js";
11
+ import { b as useApiContext, h as httpPost } from "./StoreProvider-CBB99upB.js";
12
12
  const createLegalEntity = async (legalEntityId, baseUrl, data) => {
13
13
  return httpPost(
14
14
  {
@@ -2,14 +2,14 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "34a02427-5cdc-466b-a673-b1f12dc9538d", e._sentryDebugIdIdentifier = "sentry-dbid-34a02427-5cdc-466b-a673-b1f12dc9538d");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "c1498ce3-2175-4bad-9ff6-aea1cfab578d", e._sentryDebugIdIdentifier = "sentry-dbid-c1498ce3-2175-4bad-9ff6-aea1cfab578d");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { useState, useCallback, useMemo, useReducer, useEffect } from "preact/hooks";
11
- import { a3 as createLogger, ai as isEmpty, aO as doArraysMatch } from "./StoreProvider-99-ewU62.js";
12
- import { V as ValidationResult, o as omitKeys, a as addKeys } from "./utils-PkTZS9uf.js";
11
+ import { m as createLogger, ax as isEmpty, b2 as doArraysMatch } from "./StoreProvider-CBB99upB.js";
12
+ import { V as ValidationResult, o as omitKeys, a as addKeys } from "./utils-nUjUW0ze.js";
13
13
  const logger = createLogger();
14
14
  const useAsyncValidator = (asyncRules) => {
15
15
  const [asyncValidationResults, setAsyncValidationResults] = useState({});
@@ -2,7 +2,7 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "ba3cce14-a9e8-406e-be18-0e0c90d855a5", e._sentryDebugIdIdentifier = "sentry-dbid-ba3cce14-a9e8-406e-be18-0e0c90d855a5");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "8b1b752a-12c0-4345-9fff-f44cb1a28f1d", e._sentryDebugIdIdentifier = "sentry-dbid-8b1b752a-12c0-4345-9fff-f44cb1a28f1d");
6
6
  } catch (e) {
7
7
  }
8
8
  }
@@ -10,13 +10,13 @@
10
10
  import { jsx, jsxs } from "preact/jsx-runtime";
11
11
  import { useMemo, useRef, useState, useContext } from "preact/hooks";
12
12
  import cx from "classnames";
13
- import { p as useAnalyticsContext, u as useTranslation, V as Button } from "./StoreProvider-99-ewU62.js";
14
- import { L as LoaderWrapper } from "./LoaderWrapper-C2PvjjQc.js";
15
- import { M as MaybeModal } from "./MaybeModal-xIjl3I31.js";
13
+ import { z as useAnalyticsContext, u as useTranslation, W as Button } from "./StoreProvider-CBB99upB.js";
14
+ import { L as LoaderWrapper } from "./LoaderWrapper-BL7Hc_DC.js";
15
+ import { M as MaybeModal } from "./MaybeModal-7NGTfxO6.js";
16
16
  import { P as ProgressBar } from "./ProgressBar-B7gTQncy.js";
17
- import { F as FormRouterContextProvider } from "./dropinUtils--st1YpV6.js";
18
- import { C as Confirm } from "./Confirm-C0J_JwMM.js";
19
- import { S as Summary } from "./Summary-D0GcSMNn.js";
17
+ import { F as FormRouterContextProvider } from "./dropinUtils-D44Paj5u.js";
18
+ import { C as Confirm } from "./Confirm-NubmSSR7.js";
19
+ import { S as Summary } from "./Summary-C5uRwUKn.js";
20
20
  import { createContext } from "preact";
21
21
  const FormContext = createContext(null);
22
22
  function FormContextProvider({
@@ -61,6 +61,7 @@ const FormFlow = ({
61
61
  handleNextClick,
62
62
  loadingStatus,
63
63
  summary,
64
+ summaryComponent,
64
65
  totalSteps = 1
65
66
  }) => {
66
67
  const contentRef = useRef(null);
@@ -139,7 +140,7 @@ const FormFlow = ({
139
140
  "data-form-valid": activeForm.isValid,
140
141
  "data-testid": "form-flow",
141
142
  children: [
142
- /* @__PURE__ */ jsx("div", { className: styles.formFlowContent, children: /* @__PURE__ */ jsx(LoaderWrapper, { status: loadingStatus, formOpacityWhenLoading: 0, loaderSize: "large", children: /* @__PURE__ */ jsx(FormRouterContextProvider, { forms, setFormIndex: gotoFormByFormIndex, children: isLastStep && summary !== void 0 ? /* @__PURE__ */ jsx(Summary, { ...summary, forms, gotoForm: gotoFormByFormIndex }) : children }) }) }),
143
+ /* @__PURE__ */ jsx("div", { className: styles.formFlowContent, children: /* @__PURE__ */ jsx(LoaderWrapper, { status: loadingStatus, formOpacityWhenLoading: 0, loaderSize: "large", children: /* @__PURE__ */ jsx(FormRouterContextProvider, { forms, setFormIndex: gotoFormByFormIndex, children: isLastStep ? summaryComponent ? summaryComponent : summary !== void 0 ? /* @__PURE__ */ jsx(Summary, { ...summary, forms, gotoForm: gotoFormByFormIndex }) : children : children }) }) }),
143
144
  /* @__PURE__ */ jsxs("div", { className: footerClassName, children: [
144
145
  !isSingleStepForm && /* @__PURE__ */ jsx(ProgressBar, { ariaLabel: t(($) => $["progress"]), progress }),
145
146
  /* @__PURE__ */ jsxs("div", { className: styles.formFlowActions, children: [
@@ -2,22 +2,27 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "0cad1b10-45bc-4fdf-a325-b6a23db0a892", e._sentryDebugIdIdentifier = "sentry-dbid-0cad1b10-45bc-4fdf-a325-b6a23db0a892");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "6a791afe-5d09-418b-bdfe-43c66f84740b", e._sentryDebugIdIdentifier = "sentry-dbid-6a791afe-5d09-418b-bdfe-43c66f84740b");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsxs, jsx } from "preact/jsx-runtime";
11
- import { useState } from "preact/hooks";
12
- import { u as useTranslation, p as useAnalyticsContext, v as useExperimentsContext, V as Button } from "./StoreProvider-99-ewU62.js";
13
- import { L as LoaderWrapper } from "./LoaderWrapper-C2PvjjQc.js";
14
- import { M as MaybeModal } from "./MaybeModal-xIjl3I31.js";
15
- import { a as ModalContent, b as ModalHeader, c as ModalFooter } from "./Modal-CZ-HuGUO.js";
11
+ import { useContext, useState, useCallback, useMemo } from "preact/hooks";
12
+ import { bp as StateContext, u as useTranslation, z as useAnalyticsContext, J as useExperimentsContext, W as Button } from "./StoreProvider-CBB99upB.js";
13
+ import { L as LoaderWrapper } from "./LoaderWrapper-BL7Hc_DC.js";
14
+ import { M as MaybeModal } from "./MaybeModal-7NGTfxO6.js";
15
+ import { a as ModalContent, b as ModalHeader, c as ModalFooter } from "./Modal-BMdWqd0Y.js";
16
16
  import { S as Spacer } from "./Spacer-BK3jDget.js";
17
- import { S as StepProgressIndicator } from "./StepProgressIndicator-BSGlNU3K.js";
18
- import { F as FormRouterContextProvider } from "./dropinUtils--st1YpV6.js";
19
- import { F as FormNavigation } from "./FormNavigation-BtSvWPRY.js";
20
- import { s as summaryStep, S as Summary } from "./Summary-D0GcSMNn.js";
17
+ import { S as StepProgressIndicator } from "./StepProgressIndicator-DQIv4e4a.js";
18
+ import { F as FormRouterContextProvider } from "./dropinUtils-D44Paj5u.js";
19
+ import { F as FormNavigation } from "./FormNavigation-yD8USwyG.js";
20
+ import { s as summaryStep, S as Summary } from "./Summary-C5uRwUKn.js";
21
+ import { a as debounce } from "./debouncedInputEvent-Cv2S512Y.js";
22
+ function useStateContext() {
23
+ const context = useContext(StateContext);
24
+ return context;
25
+ }
21
26
  const FormWrapper = ({
22
27
  asModal = false,
23
28
  summary,
@@ -130,6 +135,56 @@ const FormWrapper = ({
130
135
  ] })
131
136
  ] });
132
137
  };
138
+ const ON_CHANGE_DEBOUNCE_DURATION = 200;
139
+ function useGlobalData() {
140
+ const { getData } = useStateContext();
141
+ return getData();
142
+ }
143
+ function useGlobalDataSlice(sliceId) {
144
+ const { dispatch, getData } = useStateContext();
145
+ const sliceData = getData()[sliceId];
146
+ const updateState = useCallback(
147
+ (updatedSlice) => dispatch({
148
+ type: "addToState",
149
+ value: {
150
+ ...updatedSlice,
151
+ dataStoreId: sliceId
152
+ }
153
+ // TODO merge SFValue and StateSlice types
154
+ }),
155
+ [sliceId]
156
+ );
157
+ const clearState = useCallback(
158
+ () => dispatch({
159
+ type: "removeFromState",
160
+ value: { dataStoreId: sliceId }
161
+ }),
162
+ [sliceId]
163
+ );
164
+ const updateStateSlice = useMemo(
165
+ // can this debounce be useDebounce?
166
+ () => debounce(updateState, ON_CHANGE_DEBOUNCE_DURATION),
167
+ [updateState]
168
+ );
169
+ const clearStateSlice = useMemo(
170
+ () => debounce(clearState, ON_CHANGE_DEBOUNCE_DURATION),
171
+ [clearState]
172
+ );
173
+ return { sliceData, updateStateSlice, clearStateSlice };
174
+ }
175
+ function useResetGlobalData() {
176
+ const { dispatch } = useStateContext();
177
+ return useCallback(
178
+ () => dispatch({
179
+ type: "resetState"
180
+ }),
181
+ [dispatch]
182
+ );
183
+ }
133
184
  export {
134
- FormWrapper as F
185
+ FormWrapper as F,
186
+ useGlobalData as a,
187
+ useResetGlobalData as b,
188
+ useStateContext as c,
189
+ useGlobalDataSlice as u
135
190
  };
@@ -2,15 +2,15 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "428c7f33-2b0e-4e4a-837b-ad57deb42c60", e._sentryDebugIdIdentifier = "sentry-dbid-428c7f33-2b0e-4e4a-837b-ad57deb42c60");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "0fd000eb-e6bb-4a72-8ce4-ead018e718e5", e._sentryDebugIdIdentifier = "sentry-dbid-0fd000eb-e6bb-4a72-8ce4-ead018e718e5");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { useCallback, useMemo, useReducer, useEffect } from "preact/hooks";
11
- import { a6 as objectsDeepEqual, a3 as createLogger, ai as isEmpty } from "./StoreProvider-99-ewU62.js";
12
- import { V as ValidationResult } from "./utils-PkTZS9uf.js";
13
- import { a as isNotEmptyValidator } from "./commonValidators-DTt6he7v.js";
11
+ import { ah as objectsDeepEqual, m as createLogger, ax as isEmpty } from "./StoreProvider-CBB99upB.js";
12
+ import { V as ValidationResult } from "./utils-nUjUW0ze.js";
13
+ import { a as isNotEmptyValidator } from "./commonValidators-CInBRB1V.js";
14
14
  const omitKeys = (obj, omit) => Object.keys(obj).filter((k) => !omit.includes(k)).reduce((a, c) => {
15
15
  a[c] = obj[c];
16
16
  return a;
@@ -493,7 +493,7 @@ function reducer({
493
493
  ...clonedState.fieldProblems,
494
494
  [formName]: {
495
495
  ...clonedState.fieldProblems[formName],
496
- ...!clearFieldProblems && clonedState.fieldProblems[formName][key] ? { [key]: true } : {}
496
+ ...!clearFieldProblems && clonedState.fieldProblems?.[formName]?.[key] ? { [key]: true } : {}
497
497
  }
498
498
  }
499
499
  };
@@ -609,7 +609,13 @@ const useMultiFormAsyncValidator = (asyncRules) => {
609
609
  [asyncRules]
610
610
  );
611
611
  const triggerAsyncFormValidation = async (formName, state, selectedSchema) => {
612
- const asyncValidationResults = await (selectedSchema ?? state.requiredFields?.[formName])?.reduce(async (accPromise, fieldName) => {
612
+ const fields = selectedSchema ?? state.requiredFields?.[formName];
613
+ if (!fields?.length) {
614
+ return {
615
+ isValid: true
616
+ };
617
+ }
618
+ const asyncValidationResults = await fields.reduce(async (accPromise, fieldName) => {
613
619
  const acc = await accPromise;
614
620
  const asyncValidationResult = await triggerAsyncValidation(
615
621
  fieldName,
@@ -2,13 +2,13 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "27d58a31-f165-4a63-9cb8-875273b8148b", e._sentryDebugIdIdentifier = "sentry-dbid-27d58a31-f165-4a63-9cb8-875273b8148b");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "5d597b78-ad8e-41be-a353-fc8198640b8d", e._sentryDebugIdIdentifier = "sentry-dbid-5d597b78-ad8e-41be-a353-fc8198640b8d");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { useQuery } from "@tanstack/preact-query";
11
- import { b as useApiContext, k as httpGet } from "./StoreProvider-99-ewU62.js";
11
+ import { b as useApiContext, j as httpGet } from "./StoreProvider-CBB99upB.js";
12
12
  const getOnboardingStatus = async (legalEntityId, baseUrl) => {
13
13
  return httpGet({
14
14
  baseUrl,
@@ -2,13 +2,13 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "98cce846-ee05-4227-aa77-af23baa8df9a", e._sentryDebugIdIdentifier = "sentry-dbid-98cce846-ee05-4227-aa77-af23baa8df9a");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "3919968b-ecf5-4d06-a500-9734e3d5a01d", e._sentryDebugIdIdentifier = "sentry-dbid-3919968b-ecf5-4d06-a500-9734e3d5a01d");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { useQuery, skipToken } from "@tanstack/preact-query";
11
- import { b as useApiContext, ac as entriesOf, ay as Scenarios, k as httpGet } from "./StoreProvider-99-ewU62.js";
11
+ import { b as useApiContext, ao as entriesOf, at as Scenarios, j as httpGet } from "./StoreProvider-CBB99upB.js";
12
12
  const getScenarios = async (legalEntityId, baseUrl, legalEntityType, countryCode) => {
13
13
  const scenarioParams = new URLSearchParams({
14
14
  countryCode,
@@ -2,13 +2,13 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "298db054-2f4b-43b7-80e0-248ea04d2cfb", e._sentryDebugIdIdentifier = "sentry-dbid-298db054-2f4b-43b7-80e0-248ea04d2cfb");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "6f928316-a5f5-4b46-9bae-ce385b4214c1", e._sentryDebugIdIdentifier = "sentry-dbid-6f928316-a5f5-4b46-9bae-ce385b4214c1");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { useQuery } from "@tanstack/preact-query";
11
- import { b as useApiContext, k as httpGet } from "./StoreProvider-99-ewU62.js";
11
+ import { b as useApiContext, j as httpGet } from "./StoreProvider-CBB99upB.js";
12
12
  const getTermsOfServiceAcceptanceInfos = async (legalEntityId, baseUrl) => {
13
13
  return httpGet({
14
14
  baseUrl,
@@ -2,14 +2,14 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "93315c4a-4b17-4721-917a-030c8d038173", e._sentryDebugIdIdentifier = "sentry-dbid-93315c4a-4b17-4721-917a-030c8d038173");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "7840a7b7-cb17-443f-9133-84ca83771322", e._sentryDebugIdIdentifier = "sentry-dbid-7840a7b7-cb17-443f-9133-84ca83771322");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { useQueryClient } from "@tanstack/preact-query";
11
11
  import { useCallback, useContext } from "preact/hooks";
12
- import { a3 as createLogger, b as useApiContext, af as ToastContext } from "./StoreProvider-99-ewU62.js";
12
+ import { m as createLogger, b as useApiContext, au as ToastContext } from "./StoreProvider-CBB99upB.js";
13
13
  const logger = createLogger();
14
14
  const QUERIES_TO_INVALIDATE_WHEN_ROOT_LE_IS_INVALIDATED = [
15
15
  "businessLines",
@@ -2,16 +2,16 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "9aff9633-cf8a-4bf0-9330-d4fdaaedcecb", e._sentryDebugIdIdentifier = "sentry-dbid-9aff9633-cf8a-4bf0-9330-d4fdaaedcecb");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "63c77430-3450-4a87-9415-e5a0db7dc3c6", e._sentryDebugIdIdentifier = "sentry-dbid-63c77430-3450-4a87-9415-e5a0db7dc3c6");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { useMemo } from "preact/hooks";
11
- import { o as LegalEntityTypes, ae as getOwnEntityAssociations, c as useLegalEntity, R as ROOT_LE } from "./StoreProvider-99-ewU62.js";
12
- import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-ETDoz1H2.js";
13
- import { U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-MeN1dp53.js";
14
- import { g as getLegalEntityNameBasedOnType } from "./getName-CnZDw7kV.js";
11
+ import { L as LegalEntityTypes, ad as getOwnEntityAssociations, R as useLegalEntity, U as ROOT_LE } from "./StoreProvider-CBB99upB.js";
12
+ import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-DXp9udzH.js";
13
+ import { U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-QawJyhxx.js";
14
+ import { g as getLegalEntityNameBasedOnType } from "./getName-CdgtxRvu.js";
15
15
  const getMemberOwnerId = (memberId, entityAssociations) => entityAssociations.find((association) => association.associatorId === memberId)?.legalEntityId;
16
16
  const convertEntityAssociationIntoUnincorporatedPartnershipMember = (association) => {
17
17
  if (association.entityType === LegalEntityTypes.INDIVIDUAL || association.entityType === LegalEntityTypes.ORGANIZATION)
@@ -2,18 +2,18 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "823b5d34-a39a-495f-a737-f4a6e6b3794e", e._sentryDebugIdIdentifier = "sentry-dbid-823b5d34-a39a-495f-a737-f4a6e6b3794e");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "f1ee92ca-33d0-43bb-8230-d41bce1bd74c", e._sentryDebugIdIdentifier = "sentry-dbid-f1ee92ca-33d0-43bb-8230-d41bce1bd74c");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { useQuery, useMutation } from "@tanstack/preact-query";
11
- import { b as useApiContext, k as httpGet, ai as isEmpty, u as useTranslation, v as useExperimentsContext, t as IconButton, $ as httpPost } from "./StoreProvider-99-ewU62.js";
11
+ import { b as useApiContext, j as httpGet, ax as isEmpty, u as useTranslation, J as useExperimentsContext, C as IconButton, h as httpPost } from "./StoreProvider-CBB99upB.js";
12
12
  import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
13
13
  import { useRef, useMemo, useState, useEffect } from "preact/hooks";
14
- import { F as Field } from "./Field-Bs7wGDqk.js";
14
+ import { F as Field } from "./Field-CPoHG0G-.js";
15
15
  import { L as List } from "./List-BAzyC6sw.js";
16
- import { S as Select } from "./Select-DaCJsYNl.js";
16
+ import { S as Select } from "./Select-seF9rM5K.js";
17
17
  import { signal } from "@preact/signals";
18
18
  const fetchIndustryCodes = async (legalEntityId, baseUrl, businessLineTypes2, locale) => {
19
19
  const results = await Promise.all(
@@ -188,7 +188,7 @@ function IndustryCodeField({
188
188
  label: labels?.industryCodes || t(($) => $["industry"]),
189
189
  errorMessage: errors.industryCodes,
190
190
  isValid: valid.industryCodes,
191
- formatGuidance: guidanceText.industryCodes,
191
+ formatGuidance: guidanceText,
192
192
  showErrorIcon: false,
193
193
  children: (childProps) => /* @__PURE__ */ jsx(Wrapper, { single: singleIndustryCode, children: /* @__PURE__ */ jsx(
194
194
  "div",
@@ -2,14 +2,14 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "762a78bb-4916-4a5c-905d-643ca4cd5034", e._sentryDebugIdIdentifier = "sentry-dbid-762a78bb-4916-4a5c-905d-643ca4cd5034");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "bf4bae1f-7660-4dde-87d7-a59be5eaf593", e._sentryDebugIdIdentifier = "sentry-dbid-bf4bae1f-7660-4dde-87d7-a59be5eaf593");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { useQueryClient, useMutation } from "@tanstack/preact-query";
11
- import { a as useInvalidateRootLegalEntity } from "./useToastContext-D643iewp.js";
12
- import { b as useApiContext, $ as httpPost } from "./StoreProvider-99-ewU62.js";
11
+ import { a as useInvalidateRootLegalEntity } from "./useToastContext-C2BAjZxO.js";
12
+ import { b as useApiContext, h as httpPost } from "./StoreProvider-CBB99upB.js";
13
13
  const updateLegalEntity = async (rootLegalEntityId, baseUrl, data) => {
14
14
  return httpPost(
15
15
  {
@@ -2,15 +2,15 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "dab3984a-e937-4ddd-97ec-284884977fc2", e._sentryDebugIdIdentifier = "sentry-dbid-dab3984a-e937-4ddd-97ec-284884977fc2");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "5de17434-79a9-4235-9cb2-c5c93672795c", e._sentryDebugIdIdentifier = "sentry-dbid-5de17434-79a9-4235-9cb2-c5c93672795c");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx } from "preact/jsx-runtime";
11
- import { o as LegalEntityTypes, z as Typography } from "./StoreProvider-99-ewU62.js";
11
+ import { L as LegalEntityTypes, O as Typography } from "./StoreProvider-CBB99upB.js";
12
12
  import { C as Currencies } from "./currency-CrdnaaDu.js";
13
- import { l as localizeDateString } from "./localizeDateString-D6tFShQu.js";
13
+ import { l as localizeDateString } from "./localizeDateString-D2nDwdFu.js";
14
14
  const formatCurrency = (amount, currency, locale) => {
15
15
  const { format } = new Intl.NumberFormat(
16
16
  locale,
@@ -60,26 +60,12 @@ const getAdditionalDataSchemaKeys = (sourceOfFundsType, originatorType) => {
60
60
  return ["amount", "description"];
61
61
  case "donations":
62
62
  return getSchemaForOriginator(
63
- [
64
- "dateOfFundsReceived",
65
- "purpose",
66
- "relationship",
67
- "originatorLegalEntityId",
68
- "country",
69
- "originatorType"
70
- ],
63
+ ["dateOfFundsReceived", "purpose", "relationship", "country", "originatorType"],
71
64
  originatorType
72
65
  );
73
66
  case "inheritance":
74
67
  return getSchemaForOriginator(
75
- [
76
- "dateOfFundsReceived",
77
- "amount",
78
- "relationship",
79
- "originatorLegalEntityId",
80
- "country",
81
- "originatorType"
82
- ],
68
+ ["dateOfFundsReceived", "amount", "relationship", "country", "originatorType"],
83
69
  originatorType
84
70
  );
85
71
  case "thirdPartyFunding":
@@ -713,6 +699,41 @@ const getSofCardDetails = (t, sourceOfFunds) => {
713
699
  return "";
714
700
  };
715
701
  const ALLOWED_SOF_SERVICES = ["issuing", "banking"];
702
+ const getApplicableBusinessLines = (businessLines) => {
703
+ return businessLines.filter((bl) => ALLOWED_SOF_SERVICES.includes(bl.service));
704
+ };
705
+ const areSourceOfFundsEqual = (sof1, sof2) => {
706
+ const type1 = sof1.sourceOfFundsType?.type;
707
+ const type2 = sof2.sourceOfFundsType?.type;
708
+ if (type1 !== type2) {
709
+ return false;
710
+ }
711
+ if (type1 === "donations" || type1 === "inheritance") {
712
+ const ad12 = sof1.additionalData || {};
713
+ const ad22 = sof2.additionalData || {};
714
+ if (ad12.originatorType !== ad22.originatorType) {
715
+ return false;
716
+ }
717
+ if (ad12.originatorType === "individual") {
718
+ return ad12.firstName === ad22.firstName && ad12.lastName === ad22.lastName && ad12.country === ad22.country && ad12.relationship === ad22.relationship && ad12.purpose === ad22.purpose && ad12.dateOfFundsReceived === ad22.dateOfFundsReceived;
719
+ } else if (ad12.originatorType === "organization") {
720
+ return ad12.legalName === ad22.legalName && ad12.country === ad22.country && ad12.relationship === ad22.relationship && ad12.purpose === ad22.purpose && ad12.dateOfFundsReceived === ad22.dateOfFundsReceived;
721
+ }
722
+ return false;
723
+ }
724
+ const ad1 = sof1.additionalData || {};
725
+ const ad2 = sof2.additionalData || {};
726
+ const keys1 = Object.keys(ad1);
727
+ const keys2 = Object.keys(ad2);
728
+ if (keys1.length !== keys2.length) {
729
+ return false;
730
+ }
731
+ return keys1.every((key) => {
732
+ const val1 = ad1[key];
733
+ const val2 = ad2[key];
734
+ return JSON.stringify(val1) === JSON.stringify(val2);
735
+ });
736
+ };
716
737
  const SOF_INVALID_INPUT_ERROR_CODES = ["1_93", "1_94"];
717
738
  const getRelevantErrors = (problems, targetCodes) => {
718
739
  if (!problems) return false;
@@ -746,8 +767,18 @@ const sofCategoryItemMapper = {
746
767
  assetSale: "propertySale",
747
768
  donations: "giftOrDonation"
748
769
  };
770
+ const getAdditionalDataForOriginator = (additionalData, sourceAdditionalData, useSameAs) => {
771
+ if (useSameAs) {
772
+ return {
773
+ ...additionalData,
774
+ originatorLegalEntityId: sourceAdditionalData?.originatorLegalEntityId
775
+ };
776
+ }
777
+ return additionalData;
778
+ };
749
779
  export {
750
780
  ALLOWED_SOF_SERVICES as A,
781
+ parseSofOriginatorPayload as B,
751
782
  MISSING_DATA_SOF_UPLOAD_CODE as M,
752
783
  SOF_CHARACTERS_LIMIT as S,
753
784
  TODAY_DATE as T,
@@ -772,7 +803,9 @@ export {
772
803
  sofCategoryItemMapper as s,
773
804
  getSourceOfFundsRequiredFields as t,
774
805
  parseOriginatorDetails as u,
775
- getSourceOfFundsRequiredForms as v,
776
- getSourceOfFundsPayload as w,
777
- parseSofOriginatorPayload as x
806
+ getApplicableBusinessLines as v,
807
+ areSourceOfFundsEqual as w,
808
+ getSourceOfFundsRequiredForms as x,
809
+ getSourceOfFundsPayload as y,
810
+ getAdditionalDataForOriginator as z
778
811
  };
@@ -2,16 +2,16 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "57e9a1b4-63f6-49b4-9e69-7e056bf005c3", e._sentryDebugIdIdentifier = "sentry-dbid-57e9a1b4-63f6-49b4-9e69-7e056bf005c3");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "58f6c154-14f3-43a9-9850-4f04c10d6c64", e._sentryDebugIdIdentifier = "sentry-dbid-58f6c154-14f3-43a9-9850-4f04c10d6c64");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
- import { C as CompanyTypesValues } from "./company-types-value-D_mKv5PT.js";
11
- import { g as getLegalEntityCountry, bq as getCapabilities, o as LegalEntityTypes, aQ as hasOwnEntityAssociationOfType, a0 as CountryCodes } from "./StoreProvider-99-ewU62.js";
12
- import { a as allowIndividualWithoutSoleProp } from "./accountHolderUtils-Btu9mMnM.js";
13
- import { S as SOLE_PROP_COUNTRIES } from "./Individual.rules-CP2tzjmO.js";
14
- import { A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-BQL9Lsg4.js";
10
+ import { C as CompanyTypesValues } from "./bafinUtils-B1LygAFl.js";
11
+ import { a9 as getLegalEntityCountry, bC as getCapabilities, L as LegalEntityTypes, r as hasOwnEntityAssociationOfType, aa as CountryCodes } from "./StoreProvider-CBB99upB.js";
12
+ import { d as allowIndividualWithoutSoleProp } from "./OnboardingDropinComponent-CxUcB7IU.js";
13
+ import { S as SOLE_PROP_COUNTRIES } from "./Individual.rules-0EggSgTn.js";
14
+ import { A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-vXKpLHZM.js";
15
15
  const TRUST_COUNTRIES = [CountryCodes.Australia, CountryCodes.NewZealand];
16
16
  const BUSINESS_BANK_ACCOUNT_COUNTRIES = [
17
17
  CountryCodes.UnitedStates,
@@ -2,13 +2,13 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "088d419d-82e4-493b-9ae4-d7517bd9325d", e._sentryDebugIdIdentifier = "sentry-dbid-088d419d-82e4-493b-9ae4-d7517bd9325d");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "db4af29a-ff72-4c12-a272-4e6b4ec16128", e._sentryDebugIdIdentifier = "sentry-dbid-db4af29a-ff72-4c12-a272-4e6b4ec16128");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { s as summaryItem } from "./summaryItem-CAQCQSkt.js";
11
- import { a0 as CountryCodes } from "./StoreProvider-99-ewU62.js";
11
+ import { aa as CountryCodes } from "./StoreProvider-CBB99upB.js";
12
12
  const addressFields = [
13
13
  "address",
14
14
  "otherAddressInformation",
@@ -147,6 +147,25 @@ const mapAddressLabels = (data, datasetUtils) => {
147
147
  }
148
148
  return data;
149
149
  };
150
+ const mapAddressLabelsNewSummary = (data, datasetUtils) => {
151
+ if (!data?.country) return {};
152
+ const addressSchema = getAddressSchemaForCountry(data.country);
153
+ const mappedSummary = {};
154
+ for (const field of addressSchema) {
155
+ const labelKey = getKeyForField(field, data.country);
156
+ const value = data?.[field];
157
+ if (field === "country") {
158
+ mappedSummary[labelKey] = datasetUtils.getCountryName(value) ?? value;
159
+ continue;
160
+ }
161
+ if (field === "stateOrProvince") {
162
+ mappedSummary[labelKey] = datasetUtils.getStateName(value, data.country) ?? value;
163
+ continue;
164
+ }
165
+ mappedSummary[labelKey] = value;
166
+ }
167
+ return mappedSummary;
168
+ };
150
169
  export {
151
170
  COUNTRIES_WITH_STATES_DATASET as C,
152
171
  getAddressSchemaLabelsByCountry as a,
@@ -154,6 +173,7 @@ export {
154
173
  getKeyForField as c,
155
174
  COUNTRIES_WITH_HOUSE_NUMBER_FIRST as d,
156
175
  CONDENSED_ADDRESS_FIELDS as e,
176
+ mapAddressLabelsNewSummary as f,
157
177
  getAddressSchemaForCountry as g,
158
178
  mapAddressLabels as m
159
179
  };
@@ -2,12 +2,12 @@
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] = "e170ec71-123e-4591-89aa-a36042578f7c", e._sentryDebugIdIdentifier = "sentry-dbid-e170ec71-123e-4591-89aa-a36042578f7c");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "8dee3b5e-6951-4ce8-9320-64375e3c751a", e._sentryDebugIdIdentifier = "sentry-dbid-8dee3b5e-6951-4ce8-9320-64375e3c751a");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
- import { a0 as CountryCodes } from "./StoreProvider-99-ewU62.js";
10
+ import { aa as CountryCodes } from "./StoreProvider-CBB99upB.js";
11
11
  function getLocalizedIdDocumentTypeOptions(country) {
12
12
  switch (country) {
13
13
  case CountryCodes.Japan:
@@ -2,12 +2,12 @@
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] = "a5ebc6b5-0fca-4126-9327-4c8ad8ea6c8b", e._sentryDebugIdIdentifier = "sentry-dbid-a5ebc6b5-0fca-4126-9327-4c8ad8ea6c8b");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "bb605b84-b3ff-4ae9-8f5d-7c167f3ff720", e._sentryDebugIdIdentifier = "sentry-dbid-bb605b84-b3ff-4ae9-8f5d-7c167f3ff720");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
- import { ac as entriesOf } from "./StoreProvider-99-ewU62.js";
10
+ import { ao as entriesOf } from "./StoreProvider-CBB99upB.js";
11
11
  class ValidationResult {
12
12
  validationResults;
13
13
  constructor(results) {