@adyen/kyc-components 3.94.0 → 3.95.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (375) hide show
  1. package/dist/{AcceptTermsOfServiceComponent-UXDlHmf_.js → AcceptTermsOfServiceComponent-DQBTbYHm.js} +36 -32
  2. package/dist/{Accordion-DM9qeMoR.js → Accordion-CyFxp5eR.js} +2 -2
  3. package/dist/{AccountSetupRejected-DfmKQEp-.js → AccountSetupRejected-BgPC6a82.js} +4 -4
  4. package/dist/{ActionBar-DCKuV5BO.js → ActionBar-DuqmbwPb.js} +2 -2
  5. package/dist/{Address-BEUcWe_H.js → Address-uWZO7A9W.js} +10 -12
  6. package/dist/{Alert-D9HbhU88.js → Alert-BpQzk7oa.js} +3 -3
  7. package/dist/{Avatar-C_tjYaBz.js → Avatar-cL2Btfr9.js} +2 -2
  8. package/dist/{BusinessFinancingComponent-B5gLGmkK.js → BusinessFinancingComponent-DQnluWsY.js} +7 -7
  9. package/dist/{BusinessFinancingDropin-BpZKzB71.js → BusinessFinancingDropin-TTX58HNJ.js} +689 -307
  10. package/dist/{BusinessFinancingPage-CKdy77OK.js → BusinessFinancingPage-CARcv8Qh.js} +5 -5
  11. package/dist/{BusinessTypeSelectionPage-ClkY9cbT.js → BusinessTypeSelectionPage-BamCO_8X.js} +9 -9
  12. package/dist/{Checkbox-BU4IYlt6.js → Checkbox-4TE31vJm.js} +2 -2
  13. package/dist/{Confirm-BM1PTsnm.js → Confirm-BCbTBwh3.js} +3 -3
  14. package/dist/{ConstitutionalDocument-D9sPfw_B.js → ConstitutionalDocument-DAXsUY5o.js} +37 -30
  15. package/dist/{ContactDetails-BRnbG7BX.js → ContactDetails-DF1ERAlH.js} +8 -8
  16. package/dist/{ContextGuidance-CZGa7C-r.js → ContextGuidance-c2saCqxR.js} +3 -3
  17. package/dist/{ContractViewer-Byp71k2e.js → ContractViewer-DcQHIGMU.js} +2 -2
  18. package/dist/{CountryField-DShqP-Yi.js → CountryField-0SyPMIyv.js} +6 -6
  19. package/dist/{CreateIndividualComponent-BZ6dd8Bd.js → CreateIndividualComponent-BEG5bcc8.js} +7 -7
  20. package/dist/{CreateTransferInstrumentComponent-1pjVr_3y.js → CreateTransferInstrumentComponent-UEBRtXZu.js} +5 -5
  21. package/dist/{Currency-CEtDxV-F.js → Currency-CYaHlY2Z.js} +7 -11
  22. package/dist/{CustomerSupport-gmN79qSl.js → CustomerSupport-CZAM9Fzm.js} +11 -11
  23. package/dist/{DebugModal-C3horl0P.js → DebugModal-Dpm0S2dA.js} +9 -9
  24. package/dist/{DecisionMakerDetailsPage-CN1t2Ok6.js → DecisionMakerDetailsPage-CgEYI6wt.js} +14 -10
  25. package/dist/{DecisionMakers-83kflZpA.js → DecisionMakers-Dj2lHuCW.js} +36 -26
  26. package/dist/{Dropzone-DYIUInYF.js → Dropzone-D-KrwtNK.js} +4 -4
  27. package/dist/{EmbeddedStatus-BID4yaOx.js → EmbeddedStatus-Bz7OcIMW.js} +3 -3
  28. package/dist/{EndStateLayout-Cqmi0QYW.js → EndStateLayout-DnGdtXOr.js} +2 -2
  29. package/dist/{EntityAssociation-jMAjopdW.js → EntityAssociation-ysCVZKn5.js} +35 -23
  30. package/dist/{EntityGuidanceStatus-ek-5IvZb.js → EntityGuidanceStatus-BHI0RfAS.js} +3 -3
  31. package/dist/{ErrorPanel-ByEaxCQu.js → ErrorPanel-CAHQTbMv.js} +3 -3
  32. package/dist/{Field-Cp_UOAnA.js → Field-CApB-T06.js} +2 -2
  33. package/dist/{FormNavigation-CttAyMuX.js → FormNavigation-DSCpClML.js} +3 -3
  34. package/dist/{FormWrapper-C8UDjnjQ.js → FormWrapper-CVN-7oA1.js} +9 -9
  35. package/dist/{Header-CIxJSQWR.js → Header-DCVQMDDt.js} +2 -2
  36. package/dist/{Image-T-D-HDf5.js → Image-CJu0BRVo.js} +2 -2
  37. package/dist/{Individual.rules-DEhHxeiv.js → Individual.rules-NaoLBYL8.js} +29 -14
  38. package/dist/{IndividualDropin-Dz2ooI0s.js → IndividualDropin-CfUopCha.js} +71 -63
  39. package/dist/{InputDate-z9OpUslu.js → InputDate-CiL0lNHS.js} +2 -2
  40. package/dist/{InputText-CBhD5jca.js → InputText-BV_-tgjA.js} +2 -2
  41. package/dist/{Introduction-Bm3kybSH.js → Introduction-D1Ki78MP.js} +4 -4
  42. package/dist/{JpAddress-owiNWOqn.js → JpAddress-UoTJ6rCV.js} +18 -13
  43. package/dist/{LandingLayout-BuBU3Pyb.js → LandingLayout-Cn77l9Co.js} +2 -2
  44. package/dist/{fieldConfig-CMdKt41r.js → LegalCompanyNameField-iFBtpehs.js} +71 -67
  45. package/dist/{LegalRepresentativeDetailsPage-vS7jAxuO.js → LegalRepresentativeDetailsPage-B0UoHJQJ.js} +5 -5
  46. package/dist/{Link-CIBefZJS.js → Link-BJyutNM5.js} +2 -2
  47. package/dist/{ListItem-CnzgA-sH.js → ListItem-Bgm6YMzN.js} +3 -3
  48. package/dist/{LoaderWrapper-CwhIpGKR.js → LoaderWrapper-C4vG5XIf.js} +1 -1
  49. package/dist/ManageIndividualComponent-D9R1S14p.js +46 -0
  50. package/dist/{ManageTermsOfServiceComponent-BdiC5Nbd.js → ManageTermsOfServiceComponent-CwmatDwh.js} +5 -5
  51. package/dist/{ManageTransferInstrumentComponent-CObC5Uof.js → ManageTransferInstrumentComponent-2b76XSTc.js} +15 -14
  52. package/dist/{MaskedInput-BfI4FGAA.js → MaskedInput-BbFU7XNV.js} +5 -5
  53. package/dist/{MaybeModal-DHcu32Dh.js → MaybeModal-BpIcw6KQ.js} +3 -3
  54. package/dist/{Modal-BKWXTEoU.js → Modal-CJUtsR2N.js} +2 -2
  55. package/dist/{Name-BCar2_dk.js → Name-DTE823OG.js} +5 -5
  56. package/dist/{OnboardingDropinComponent-DstStqYS.js → OnboardingDropinComponent-BX4esftr.js} +850 -520
  57. package/dist/{PayoutDetailsDropin-DSdlqAe2.js → PayoutDetailsDropin-Cqeomvbg.js} +130 -77
  58. package/dist/{RadioGroup-COsozc9g.js → RadioGroup-DzUpgP12.js} +2 -2
  59. package/dist/{RadioGroupCard-xqC3IACY.js → RadioGroupCard-g4OS0871.js} +2 -2
  60. package/dist/{Review-CZwc-DMp.js → Review-Cj1WCiGQ.js} +7 -7
  61. package/dist/RootBusinessDetailsPage-9NXM1XdC.js +50 -0
  62. package/dist/{RootBusinessLinesPage-BRgtyHFs.js → RootBusinessLinesPage-YxGXibwW.js} +27 -24
  63. package/dist/{RootIndividualDetailsPage-C3wTzTp1.js → RootIndividualDetailsPage-DX1rjTXN.js} +7 -6
  64. package/dist/{Select-DeTBytOH.js → Select-C_6mHv91.js} +4 -4
  65. package/dist/{SignPCIComponent-CCGyrXvI.js → SignPCIComponent-OxWCtP3x.js} +14 -14
  66. package/dist/{SingpassSelection-BumqRwXI.js → SingpassSelection-DE4uUTZo.js} +6 -6
  67. package/dist/SoleProprietorshipPage-BzpFPKOl.js +50 -0
  68. package/dist/{SourceOfFundsPage-DkjYls-E.js → SourceOfFundsPage-CESAo3kl.js} +33 -32
  69. package/dist/{StepProgressIndicator-D8PfKJKf.js → StepProgressIndicator-a3q7kzzC.js} +2 -2
  70. package/dist/{StoreProvider-CsZ-qrGt.js → StoreProvider-BL3nK1iO.js} +157 -132
  71. package/dist/{StructuredList-9dnJRdx_.js → StructuredList-BNLhk_zV.js} +1 -1
  72. package/dist/{Summary-DPm9r7Az.js → Summary-8HdspbcQ.js} +19 -8
  73. package/dist/{TaskVerificationStatus-DrOQToMh.js → TaskVerificationStatus-ycoS73dK.js} +2 -2
  74. package/dist/{TaxInformationField-NI7Hbgov.js → TaxInformationField-BfDJhJG4.js} +438 -81
  75. package/dist/{TaxReportingDropin-BBUAxx92.js → TaxReportingDropin-xYD4YqWR.js} +18 -18
  76. package/dist/{TextArea-CCjCNpAP.js → TextArea-CWY-x138.js} +2 -2
  77. package/dist/{TileGroup-BhKhvfLz.js → TileGroup-DmZTiaip.js} +3 -3
  78. package/dist/{TrustDetailsPage-yOmFcEyO.js → TrustDetailsPage-JQ-U6HZk.js} +44 -38
  79. package/dist/TrustMemberCompanyPage-WwsnSV7c.js +68 -0
  80. package/dist/{TrustMemberIndividualPage-B8tb56n2.js → TrustMemberIndividualPage-27y1WJMM.js} +11 -8
  81. package/dist/{TrustMemberRoleAndTypePage-WHu1tc4O.js → TrustMemberRoleAndTypePage-DHCLuLa-.js} +43 -38
  82. package/dist/{TrustMembersOverview-BWbGUK3k.js → TrustMembersOverview-CqdtBx67.js} +13 -13
  83. package/dist/{UnincorporatedPartnershipIndividualPage-DD2dn41k.js → UnincorporatedPartnershipIndividualPage-xOJ-Kusf.js} +10 -7
  84. package/dist/{UnincorporatedPartnershipMemberCompanyPage-DsUSSYnI.js → UnincorporatedPartnershipMemberCompanyPage-CBw2IY6X.js} +10 -7
  85. package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-Ctb0Lz_0.js → UnincorporatedPartnershipMemberRoleAndTypePage-B4fDDHnW.js} +15 -12
  86. package/dist/{UnincorporatedPartnershipMembersOverview-B_GJIeZC.js → UnincorporatedPartnershipMembersOverview-BrBvKluu.js} +9 -9
  87. package/dist/{VerificationErrorAlert-CCiMqGl8.js → VerificationErrorAlert-DXaYFyA9.js} +4 -24
  88. package/dist/{ViewVerificationStatusComponent-CICJ6cy4.js → ViewVerificationStatusComponent-YY4hrQ8I.js} +4 -4
  89. package/dist/accountHolderUtils-DP6cbO7y.js +66 -0
  90. package/dist/adyen-business-financing.js +3 -3
  91. package/dist/adyen-individual-configuration.js +3 -3
  92. package/dist/adyen-individual-status.js +3 -3
  93. package/dist/adyen-kyc-components.js +20 -19
  94. package/dist/adyen-onboarding.js +3 -3
  95. package/dist/adyen-terms-of-service-management.js +3 -3
  96. package/dist/adyen-terms-of-service-status.js +3 -3
  97. package/dist/adyen-transfer-instrument-configuration.js +3 -3
  98. package/dist/adyen-transfer-instrument-management.js +3 -3
  99. package/dist/adyen-verification-status.js +3 -3
  100. package/dist/{bafinUtils-Ch6rVpGi.js → bafinUtils-BCq4-e97.js} +3 -22
  101. package/dist/bg-BG-CFuVZnaC.js +13 -0
  102. package/dist/{bg-BG-CepHap8j.js → bg-BG-DMNRRZZE.js} +8 -1
  103. package/dist/bg-BG-Dp1J1L2X.js +13 -0
  104. package/dist/{commonValidators-B8wfpMjX.js → commonValidators-BXRpCFOY.js} +2 -2
  105. package/dist/company-types-value-D_mKv5PT.js +23 -0
  106. package/dist/cs-CZ-Bd9Zz7z4.js +13 -0
  107. package/dist/cs-CZ-CYsR__kj.js +13 -0
  108. package/dist/{cs-CZ-BP7niQM9.js → cs-CZ-DXSMRqPu.js} +8 -1
  109. package/dist/da-DK-B3Pg-MWO.js +13 -0
  110. package/dist/{da-DK-Dc0QYG8m.js → da-DK-Cd5IQPv3.js} +8 -1
  111. package/dist/da-DK-DmFDgnbC.js +13 -0
  112. package/dist/{de-DE-Dz2OsS1F.js → de-DE-C9NH2zMh.js} +8 -1
  113. package/dist/de-DE-DRuKxSOy.js +13 -0
  114. package/dist/de-DE-S6qDey1L.js +13 -0
  115. package/dist/{dropinUtils-B4Vv7_zJ.js → dropinUtils-DGUJjA6y.js} +4 -4
  116. package/dist/el-GR-Cezskrdn.js +13 -0
  117. package/dist/{el-GR-BHG69mXl.js → el-GR-DTHQslLc.js} +8 -1
  118. package/dist/el-GR-DoS_Va-n.js +13 -0
  119. package/dist/{en-US-CzEL6t1W.js → en-US-D1sB335h.js} +9 -3
  120. package/dist/en-US-DLY20x1O.js +13 -0
  121. package/dist/{en-US-D-B35AoN.js → en-US-DYP6rAvA.js} +8 -1
  122. package/dist/{en-US-fyGPkcqX.js → en-US-cVpRgdC8.js} +2 -2
  123. package/dist/es-ES-BYl5-PFR.js +13 -0
  124. package/dist/{es-ES-BI_jdT67.js → es-ES-DK-7qtDf.js} +8 -1
  125. package/dist/es-ES-DzB4V6UZ.js +13 -0
  126. package/dist/et-EE-4fHYOoff.js +13 -0
  127. package/dist/et-EE-BkHzGD3D.js +13 -0
  128. package/dist/{et-EE-C_PZO2aI.js → et-EE-DNC4hcxm.js} +8 -1
  129. package/dist/{fi-FI-hwzizPnr.js → fi-FI-BJLU1JHw.js} +8 -1
  130. package/dist/fi-FI-Cxkp0GQA.js +13 -0
  131. package/dist/fi-FI-DFxljML-.js +13 -0
  132. package/dist/filterProblemsByTaskForms-Cz7iQtms.js +30 -0
  133. package/dist/{formUtils-q44BTi2U.js → formUtils-CJQolfmf.js} +3 -22
  134. package/dist/{fr-FR-CYZXbwc9.js → fr-FR-B2je0smB.js} +8 -1
  135. package/dist/fr-FR-DPehHVb6.js +13 -0
  136. package/dist/fr-FR-DsEmssxk.js +13 -0
  137. package/dist/{getName-BxKx8lLd.js → getName-C1AIqAns.js} +2 -2
  138. package/dist/{getProps-CLJfvUMb.js → getProps-O8Fpl_k_.js} +2 -6
  139. package/dist/getTrustedFields-C5-mXl-l.js +64 -0
  140. package/dist/hr-HR-Bjx-KdVs.js +13 -0
  141. package/dist/{hr-HR-bE6cvRCQ.js → hr-HR-C0NLgF1r.js} +8 -1
  142. package/dist/hr-HR-DU4nvY6g.js +13 -0
  143. package/dist/hu-HU-B-lUkFnQ.js +13 -0
  144. package/dist/hu-HU-D6frnZmR.js +13 -0
  145. package/dist/{hu-HU-DG-NUDx4.js → hu-HU-DU-5ujQK.js} +8 -1
  146. package/dist/{iframeWidget-iDH8bVr4.js → iframeWidget-DRjCrrYZ.js} +4 -4
  147. package/dist/{isEmpty-BNacTlfR.js → isEmpty-C7bLX-qG.js} +2 -2
  148. package/dist/isNewEntity-7Vw_eQBr.js +13 -0
  149. package/dist/it-IT-DOBp2-MP.js +13 -0
  150. package/dist/{it-IT-Erh1DIlj.js → it-IT-Dhwa9Ecj.js} +8 -1
  151. package/dist/it-IT-VFXgXyRA.js +13 -0
  152. package/dist/{ja-JP-DfE1PYyN.js → ja-JP-B3wVYIJU.js} +2 -2
  153. package/dist/ja-JP-B_Q8X66O.js +13 -0
  154. package/dist/{ja-JP-CWJzqrtj.js → ja-JP-Bc4U0S8-.js} +8 -1
  155. package/dist/{ja-JP-4Q9zp35q.js → ja-JP-Bv3ru9Xq.js} +14 -7
  156. package/dist/{ja-JP-CSz7fEkn.js → ja-JP-CceCDXLB.js} +2 -2
  157. package/dist/{ja-JP-DBoYLzeA.js → ja-JP-DSvZhFNY.js} +4 -4
  158. package/dist/{japanSupportUtils-C7aPdWXD.js → japanSupportUtils-BucfNSWB.js} +2 -2
  159. package/dist/{jpAddressSchema-De6ix57p.js → jpAddressSchema-DEOyz9Yo.js} +2 -4
  160. package/dist/{localizeDateString-DuTq6aHe.js → localizeDateString-n8b2kwyK.js} +2 -2
  161. package/dist/{lt-LT-Nd1uRoIj.js → lt-LT-C8n1GZoU.js} +8 -1
  162. package/dist/lt-LT-CE-GdWrg.js +13 -0
  163. package/dist/lt-LT-WRulV980.js +13 -0
  164. package/dist/{lv-LV-DKhV24CI.js → lv-LV-BZN4-Xat.js} +8 -1
  165. package/dist/lv-LV-C9Dhkruv.js +13 -0
  166. package/dist/lv-LV-dv7fqeBS.js +13 -0
  167. package/dist/{mapExistingFile-CGg2sd-T.js → mapExistingFile-DtG8dtIh.js} +5 -6
  168. package/dist/{mapJpAddressSchemaToAddressLocalizations-BwHU4ZwL.js → mapJpAddressSchemaToAddressLocalizations-CpVZUxo1.js} +5 -5
  169. package/dist/{mapLegalEntityToIndividualSchema-DzCEngXr.js → mapLegalEntityToIndividualSchema-1aYgn5km.js} +4 -4
  170. package/dist/{mapTransferInstrumentToPayoutAccount-DLHvwig1.js → mapTransferInstrumentToPayoutAccount-BDQGKfhP.js} +2 -2
  171. package/dist/{nl-NL-O9GCHMDA.js → nl-NL-B0fvINJj.js} +8 -1
  172. package/dist/nl-NL-BwIRHJgf.js +13 -0
  173. package/dist/nl-NL-SjOGmGk5.js +13 -0
  174. package/dist/no-NO-BAWVf0GX.js +13 -0
  175. package/dist/{no-NO-CA1aR6Wh.js → no-NO-Jw7Gae-a.js} +8 -1
  176. package/dist/no-NO-u56mEoG3.js +13 -0
  177. package/dist/{patternValidators-CZ5mQeGD.js → patternValidators-DcjAPGFV.js} +5 -5
  178. package/dist/{pl-PL-BKDK0_G8.js → pl-PL-Bmaq3IC3.js} +8 -1
  179. package/dist/pl-PL-DEMxxz7h.js +13 -0
  180. package/dist/pl-PL-zqT41Yjw.js +13 -0
  181. package/dist/{process-field-configurations-BQY03q4v.js → process-field-configurations-CQoldE8s.js} +3 -3
  182. package/dist/{pt-BR-NtLaWlnZ.js → pt-BR-BaTE6BB_.js} +8 -1
  183. package/dist/pt-BR-BfDe_8iW.js +13 -0
  184. package/dist/pt-BR-fMKntiMG.js +13 -0
  185. package/dist/{pt-PT-C6teRGuD.js → pt-PT-C6pZR9Bc.js} +2 -2
  186. package/dist/pt-PT-F1qPZJ2c.js +13 -0
  187. package/dist/{pt-PT-DSxxVA0f.js → pt-PT-c0ap84_F.js} +8 -1
  188. package/dist/{resolveEnvironment-BEU3VKd8.js → resolveEnvironment-D-07Kfa-.js} +3 -3
  189. package/dist/ro-RO-0vx6ZLWV.js +13 -0
  190. package/dist/ro-RO-B5BQrf6C.js +13 -0
  191. package/dist/{ro-RO-Bybq8JFn.js → ro-RO-BPOHV6Wp.js} +8 -1
  192. package/dist/{roleMetadata-BeJKyoeE.js → roleMetadata-DsoqlMAY.js} +2 -2
  193. package/dist/{sk-SK-C6rMIxpz.js → sk-SK-3_SoEn6P.js} +8 -1
  194. package/dist/sk-SK-Bz4T7upD.js +13 -0
  195. package/dist/sk-SK-DuLm2CVx.js +13 -0
  196. package/dist/sl-SI--RTGDByj.js +13 -0
  197. package/dist/sl-SI-BAIm-qBe.js +13 -0
  198. package/dist/{sl-SI-tPwbFvOI.js → sl-SI-DbfswGh0.js} +8 -1
  199. package/dist/style.css +140 -148
  200. package/dist/styles-CLV89_hH.js +140 -148
  201. package/dist/sv-SE-BZNey_8S.js +13 -0
  202. package/dist/{sv-SE-K1QT1cOt.js → sv-SE-D_Efxy3s.js} +8 -1
  203. package/dist/sv-SE-Dryy3JLw.js +13 -0
  204. package/dist/types/components/BankAccount/forms/PayoutDetails/rules.d.ts +1 -1
  205. package/dist/types/components/BankAccount/pages/PayoutDetailsPage.d.ts +3 -3
  206. package/dist/types/components/Business/forms/BusinessDetails/forms.d.ts +10 -10
  207. package/dist/types/components/Business/forms/BusinessDetails/types.d.ts +1 -1
  208. package/dist/types/components/Business/forms/BusinessSelection/BusinessInformationCard/BusinessInformationCard.d.ts +3 -3
  209. package/dist/types/components/{Shared → Business}/forms/FinancialInformation/formatFinancialInformationSummary.d.ts +1 -1
  210. package/dist/types/components/{Shared → Business}/forms/FinancialInformation/mapping/mapFinancialInformationToFinancialReport.d.ts +1 -1
  211. package/dist/types/components/{Shared → Business}/forms/FinancialInformation/mapping/mapFinancialReportsToFinancialInformation.d.ts +1 -1
  212. package/dist/types/components/Business/forms/rules.d.ts +6 -6
  213. package/dist/types/components/Business/pages/RootBusinessDetailsPage.d.ts +1 -2
  214. package/dist/types/components/Business/utils/companyUtil.d.ts +0 -1
  215. package/dist/types/components/BusinessLines/pages/RootBusinessLinesPage.d.ts +1 -2
  216. package/dist/types/components/Contract/tasks/ServiceAgreementDropin/types.d.ts +1 -1
  217. package/dist/types/components/EFP/fields/LegalFormField/LegalFormField.d.ts +1 -1
  218. package/dist/types/components/EFP/fields/NaceCodeField/NaceCodeField.d.ts +1 -1
  219. package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +5283 -53
  220. package/dist/types/components/EFP/mapping/mapBusinessFinancingToLegalEntity.d.ts +3 -2
  221. package/dist/types/components/EFP/mapping/mapLegalEntityToBusinessFinancing.d.ts +1 -1
  222. package/dist/types/components/EFP/pages/BusinessFinancingPage.d.ts +1 -2
  223. package/dist/types/components/EFP/pages/SourceOfFundsPage.d.ts +1 -2
  224. package/dist/types/components/EFP/tasks/BusinessFinancingDropin/AdditionalFieldsForBusinessFinancingSoleProprietor.d.ts +2 -0
  225. package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingSoleProprietorPersonalInformation.d.ts +4 -0
  226. package/dist/types/components/EFP/tasks/BusinessFinancingDropin/types.d.ts +28 -0
  227. package/dist/types/components/EFP/tasks/BusinessFinancingDropin/utils.d.ts +14 -3
  228. package/dist/types/components/EFP/tasks/BusinessFinancingDropin/validate.d.ts +10 -1
  229. package/dist/types/components/EmbeddedDropins/BusinessFinancingComponent/utils.d.ts +1 -0
  230. package/dist/types/components/EmbeddedDropins/OnboardingDropinComponent/DropinComposer/DropinComposer.d.ts +1 -1
  231. package/dist/types/components/EmbeddedDropins/OnboardingDropinComponent/DropinComposer/RouterDropinComposer.d.ts +4 -0
  232. package/dist/types/components/Individual/forms/IdVerificationMethod/IdVerificationMethod.types.d.ts +2 -1
  233. package/dist/types/components/Individual/forms/Individual.rules.d.ts +2 -2
  234. package/dist/types/components/Individual/pages/DecisionMakerDetailsPage.d.ts +3 -3
  235. package/dist/types/components/Shared/EntityAssociation/EntityAssociation.d.ts +0 -1
  236. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/fieldConfig.d.ts +10 -0
  237. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/types.d.ts +2 -1
  238. package/dist/types/components/Shared/fields/CountryField/types.d.ts +2 -1
  239. package/dist/types/components/Shared/fields/CountryOfGoverningLawField/CountryOfGoverningLawField.d.ts +1 -1
  240. package/dist/types/components/Shared/fields/CountryOfGoverningLawField/types.d.ts +1 -1
  241. package/dist/types/components/Shared/fields/Currency/Currency.d.ts +1 -1
  242. package/dist/types/components/Shared/fields/Currency/types.d.ts +1 -1
  243. package/dist/types/components/Shared/fields/DBANameField/DBANameField.d.ts +1 -1
  244. package/dist/types/components/Shared/fields/DBANameField/types.d.ts +1 -1
  245. package/dist/types/components/Shared/fields/IdFieldTypeSelector/countryIdNumberTypes.d.ts +78 -0
  246. package/dist/types/components/Shared/fields/LegalCompanyNameField/fieldConfig.d.ts +12 -6
  247. package/dist/types/components/Shared/fields/LegalCompanyNameField/types.d.ts +3 -1
  248. package/dist/types/components/Shared/fields/NumberOfEmployees/NumberOfEmployees.d.ts +1 -1
  249. package/dist/types/components/Shared/fields/NumberOfEmployees/types.d.ts +1 -1
  250. package/dist/types/components/Shared/forms/Address/Address.d.ts +1 -1
  251. package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
  252. package/dist/types/components/Trust/forms/Trust/rules.d.ts +2 -2
  253. package/dist/types/components/Trust/hooks/useTrustMemberNavigation.hook.d.ts +1 -1
  254. package/dist/types/components/Trust/pages/TrustDetailsPage.d.ts +1 -2
  255. package/dist/types/components/Trust/pages/TrustMemberCompanyPage.d.ts +3 -3
  256. package/dist/types/components/Trust/pages/TrustMemberIndividualPage.d.ts +3 -3
  257. package/dist/types/components/Trust/pages/TrustMemberRoleAndTypePage.d.ts +2 -2
  258. package/dist/types/components/Trust/tasks/TrustMembers/TrustMembersOverview.d.ts +1 -2
  259. package/dist/types/components/UnincorporatedPartnership/hooks/useUnincorporatedPartnershipNavigation.d.ts +1 -1
  260. package/dist/types/components/UnincorporatedPartnership/pages/UnincorporatedPartnershipIndividualPage.d.ts +3 -3
  261. package/dist/types/components/UnincorporatedPartnership/pages/UnincorporatedPartnershipMemberCompanyPage.d.ts +3 -3
  262. package/dist/types/components/UnincorporatedPartnership/pages/UnincorporatedPartnershipMemberRoleAndTypePage.d.ts +1 -1
  263. package/dist/types/components/ui/atoms/Loader/Loader.d.ts +11 -1
  264. package/dist/types/context/ExperimentContext/types.d.ts +17 -0
  265. package/dist/types/core/models/api/individual.d.ts +3 -0
  266. package/dist/types/core/models/api/legal-arrangement.d.ts +3 -0
  267. package/dist/types/hooks/useForm/types.d.ts +0 -4
  268. package/dist/types/hooks/useLegalCompanyNameField/useLegalCompanyNameField.d.ts +4 -2
  269. package/dist/types/hooks/usePageLandedEvent.d.ts +7 -0
  270. package/dist/types/router/DefaultRouteRedirect.d.ts +8 -0
  271. package/dist/types/router/MemoryRouterContext.d.ts +9 -0
  272. package/dist/types/router/OnboardingRouter.d.ts +39 -0
  273. package/dist/types/router/SuspenseRoute.d.ts +7 -0
  274. package/dist/types/router/getDefaultTask.d.ts +16 -0
  275. package/dist/types/router/routeConfig.d.ts +68 -0
  276. package/dist/types/router/useCurrentTask.d.ts +5 -0
  277. package/dist/types/router/useNavigate.d.ts +7 -0
  278. package/dist/types/utils/entityStatusUtil.d.ts +1 -1
  279. package/dist/types/utils/fieldConfigurations.d.ts +0 -1
  280. package/dist/types/utils/formUtils.d.ts +0 -3
  281. package/dist/types/utils/regex/patternValidators.d.ts +1 -1
  282. package/dist/types/utils/validatorUtils.d.ts +1 -1
  283. package/dist/{types-B7eWQV7z.js → types-C8yt1YG2.js} +19 -2
  284. package/dist/{types-BY62XJTq.js → types-DRTd35hZ.js} +2 -2
  285. package/dist/{types-pKG9olDB.js → types-DujGXeMG.js} +2 -2
  286. package/dist/{types-BuMuCpsa.js → types-XpRg7EOC.js} +2 -2
  287. package/dist/{useAssociatedLegalEntity-V0OP9ejx.js → useAssociatedLegalEntity-DlZrp3qi.js} +2 -2
  288. package/dist/{useBusinessDetailsData-BsXXL7fg.js → useBusinessDetailsData-gZ8moheH.js} +713 -718
  289. package/dist/useBusinessLines-BD1Yg8Ja.js +29 -0
  290. package/dist/useCanSeeIntroduction-BHQYUN_d.js +48 -0
  291. package/dist/{useCreateLegalEntity-otpCRCfZ.js → useCreateLegalEntity-DjRvxwI5.js} +2 -2
  292. package/dist/useDataMissingRemediations-KgLqbiZx.js +41 -0
  293. package/dist/{useDataset-CvATx7EN.js → useDataset-Bafefouf.js} +5 -3
  294. package/dist/useDeleteTransferInstrument-Cf8rmBGA.js +32 -0
  295. package/dist/{useForm-9nSw9LZY.js → useForm-Bh638xmS.js} +27 -27
  296. package/dist/{useFormContext-BnlNKQZ7.js → useFormContext-BilJQsMw.js} +7 -7
  297. package/dist/{useGlobalData-Dy2O7YGk.js → useGlobalData-DkE5IpZB.js} +2 -2
  298. package/dist/{useMultiForm-CBefohos.js → useMultiForm-djEDTyaG.js} +45 -36
  299. package/dist/useNavigate-DE0sTmpX.js +265 -0
  300. package/dist/{useOnboardingStatus-CJrlnkvv.js → useOnboardingStatus-DhK2qF95.js} +1 -1
  301. package/dist/usePciQuestionnaireList-DsgAv5Ql.js +29 -0
  302. package/dist/useSalesChannels-DUTiDcGq.js +65 -0
  303. package/dist/{useScenarios-CkgrmOF-.js → useScenarios-BxbmDi2R.js} +2 -2
  304. package/dist/useSetting-DwC0bC4k.js +19 -0
  305. package/dist/useTaskStatus-Cps0L-Yp.js +51 -0
  306. package/dist/{useTermsOfServiceStatus-DFLF3xas.js → useTermsOfServiceStatus-COugffxI.js} +1 -1
  307. package/dist/{useToastContext-uSKjdph9.js → useToastContext-DBDF60Ps.js} +2 -2
  308. package/dist/useTrustMembers-ymPJMufc.js +163 -0
  309. package/dist/{useUnincorporatedPartnershipMembers-BmLKVfkf.js → useUnincorporatedPartnershipMembers-ZlPU6E-_.js} +4 -4
  310. package/dist/{useUpdateBusinessLines-BBNXF45E.js → useUpdateBusinessLines-DfjB9Ur6.js} +4 -4
  311. package/dist/{useUpdateLegalEntity-DHxCVgNk.js → useUpdateLegalEntity-C8rOYkS1.js} +3 -3
  312. package/dist/{utils-CLLUBF1a.js → utils-B8oIRKRm.js} +2 -2
  313. package/dist/{utils-ClKogQZa.js → utils-D1RKmLBo.js} +3 -3
  314. package/dist/{utils-5yZQq_bx.js → utils-DIBG3Hc5.js} +6 -6
  315. package/dist/{utils-CIHH_aYF.js → utils-Dd2ry06C.js} +2 -2
  316. package/dist/{utils-CIIs2bXi.js → utils-_6SITBJE.js} +3 -2
  317. package/dist/{validate-BntX2W3B.js → validate-B6hMWJ8a.js} +10 -2
  318. package/dist/{validate-CLYo0JdH.js → validate-jqVPVUI3.js} +3 -3
  319. package/dist/{validationError-DJ6zTIzv.js → validationError-CsCEpxs1.js} +2 -2
  320. package/package.json +3 -2
  321. package/dist/ManageIndividualComponent-CJEqOUgN.js +0 -46
  322. package/dist/RootBusinessDetailsPage-BsAtLAyF.js +0 -50
  323. package/dist/SoleProprietorshipPage-zgU4q95D.js +0 -50
  324. package/dist/TrustMemberCompanyPage-DfXulzKv.js +0 -65
  325. package/dist/bg-BG-C1maG7_G.js +0 -13
  326. package/dist/bg-BG-D4k_k98M.js +0 -118
  327. package/dist/cs-CZ-Dq3xx45p.js +0 -13
  328. package/dist/cs-CZ-nIWwyOHK.js +0 -118
  329. package/dist/da-DK-CoqZjIMT.js +0 -13
  330. package/dist/da-DK-CrtuBoDC.js +0 -118
  331. package/dist/de-DE-CLMlbqGz.js +0 -13
  332. package/dist/de-DE-mH3MobT9.js +0 -13
  333. package/dist/el-GR-BEOd56RY.js +0 -13
  334. package/dist/el-GR-Ckn_3h1a.js +0 -118
  335. package/dist/en-US-d4WBvUW7.js +0 -118
  336. package/dist/es-ES-BnPWZP0s.js +0 -13
  337. package/dist/es-ES-CnyVffM-.js +0 -118
  338. package/dist/et-EE-RzdBGxDM.js +0 -118
  339. package/dist/et-EE-rYc8-Bm2.js +0 -13
  340. package/dist/fi-FI-CYEjY7DQ.js +0 -13
  341. package/dist/fi-FI-kXC-0USa.js +0 -118
  342. package/dist/fr-FR-6YOKsDLQ.js +0 -13
  343. package/dist/fr-FR-CsJuDM2B.js +0 -13
  344. package/dist/hr-HR-DMSNClBZ.js +0 -13
  345. package/dist/hr-HR-fyublN95.js +0 -118
  346. package/dist/hu-HU-CpJDiSu2.js +0 -118
  347. package/dist/hu-HU-DQlYtR9y.js +0 -13
  348. package/dist/it-IT-C9cOsMxY.js +0 -13
  349. package/dist/it-IT-DyCHFg-b.js +0 -118
  350. package/dist/ja-JP-NuKpFRZl.js +0 -13
  351. package/dist/lt-LT-CKE7_7_A.js +0 -118
  352. package/dist/lt-LT-DPU2ZqVt.js +0 -13
  353. package/dist/lv-LV-BD8xCiCe.js +0 -13
  354. package/dist/lv-LV-D4Ik0yoE.js +0 -118
  355. package/dist/nl-NL-CBnYVFv_.js +0 -13
  356. package/dist/nl-NL-DkbhmJAw.js +0 -118
  357. package/dist/no-NO-C690hkyd.js +0 -13
  358. package/dist/no-NO-Df5qUoTc.js +0 -118
  359. package/dist/pl-PL-BDclj9dt.js +0 -13
  360. package/dist/pl-PL-ggZjqXWE.js +0 -118
  361. package/dist/pt-BR-B4wCnZ06.js +0 -13
  362. package/dist/pt-BR-BOOm5lRR.js +0 -118
  363. package/dist/pt-PT-BDfNlThr.js +0 -118
  364. package/dist/ro-RO-BRngQXgs.js +0 -118
  365. package/dist/ro-RO-PA9lKU0J.js +0 -13
  366. package/dist/sk-SK-DmqCF6I9.js +0 -13
  367. package/dist/sk-SK-y9eb7N6i.js +0 -118
  368. package/dist/sl-SI-CGvCdquD.js +0 -118
  369. package/dist/sl-SI-DnT4vnh4.js +0 -13
  370. package/dist/sv-SE-BP2Oun8l.js +0 -118
  371. package/dist/sv-SE-DopUU1N2.js +0 -13
  372. /package/dist/types/components/{Shared → Business}/forms/FinancialInformation/FinancialInformation.d.ts +0 -0
  373. /package/dist/types/components/{Shared → Business}/forms/FinancialInformation/ReportedValue.d.ts +0 -0
  374. /package/dist/types/components/{Shared → Business}/forms/FinancialInformation/types.d.ts +0 -0
  375. /package/dist/types/components/{Shared → Business}/forms/FinancialInformation/validate.d.ts +0 -0
@@ -0,0 +1,29 @@
1
+ ;
2
+ {
3
+ try {
4
+ let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "33f84cbd-b6a3-4488-a88d-0ffbd4b96b25", e._sentryDebugIdIdentifier = "sentry-dbid-33f84cbd-b6a3-4488-a88d-0ffbd4b96b25");
6
+ } catch (e) {
7
+ }
8
+ }
9
+ ;
10
+ import { useQuery } from "@tanstack/preact-query";
11
+ import { b as useApiContext, k as httpGet } from "./StoreProvider-BL3nK1iO.js";
12
+ const getBusinessLines = async (legalEntityId, baseUrl) => {
13
+ return httpGet({
14
+ baseUrl,
15
+ path: `legalEntities/${legalEntityId}/businessLines`
16
+ });
17
+ };
18
+ const useBusinessLines = (businessLineType, options) => {
19
+ const { rootLegalEntityId, baseUrl } = useApiContext();
20
+ return useQuery({
21
+ queryKey: ["businessLines"],
22
+ queryFn: () => getBusinessLines(rootLegalEntityId.value, baseUrl.value),
23
+ select: (businessLines) => businessLines.filter((businessLine) => businessLineType.includes(businessLine.service)),
24
+ ...options
25
+ });
26
+ };
27
+ export {
28
+ useBusinessLines as u
29
+ };
@@ -0,0 +1,48 @@
1
+ ;
2
+ {
3
+ try {
4
+ let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "9efd2a32-1acf-4a48-83d3-a8f528f2976a", e._sentryDebugIdIdentifier = "sentry-dbid-9efd2a32-1acf-4a48-83d3-a8f528f2976a");
6
+ } catch (e) {
7
+ }
8
+ }
9
+ ;
10
+ import { S as SettingNames } from "./TaskVerificationStatus-ycoS73dK.js";
11
+ import { J as isPartOfTrustFromLegalEntity, M as hasSolePropInLegalEntity, o as LegalEntityTypes, B as useSettingsContext } from "./StoreProvider-BL3nK1iO.js";
12
+ const useLegalEntityType = ({
13
+ legalEntity
14
+ }) => {
15
+ const isTrust = isPartOfTrustFromLegalEntity(legalEntity);
16
+ const isSoleProprietor = hasSolePropInLegalEntity(legalEntity);
17
+ const hasLegalAssociation = isTrust || isSoleProprietor;
18
+ switch (legalEntity.type) {
19
+ case LegalEntityTypes.INDIVIDUAL:
20
+ case LegalEntityTypes.ORGANIZATION:
21
+ if (!hasLegalAssociation) return legalEntity.type;
22
+ if (isSoleProprietor) return LegalEntityTypes.SOLE_PROPRIETORSHIP;
23
+ if (isTrust) return LegalEntityTypes.TRUST;
24
+ break;
25
+ default:
26
+ return void 0;
27
+ }
28
+ };
29
+ const useCanSeeIntroduction = ({ legalEntity }) => {
30
+ const legalEntityType = useLegalEntityType({ legalEntity });
31
+ const { isSettingEnabled } = useSettingsContext();
32
+ switch (legalEntityType) {
33
+ case LegalEntityTypes.INDIVIDUAL:
34
+ return !isSettingEnabled(SettingNames.HideOnboardingIntroductionIndividual);
35
+ case LegalEntityTypes.ORGANIZATION:
36
+ return !isSettingEnabled(SettingNames.HideOnboardingIntroductionOrganization);
37
+ case LegalEntityTypes.SOLE_PROPRIETORSHIP:
38
+ return !isSettingEnabled(SettingNames.HideOnboardingIntroductionSoleProprietor);
39
+ case LegalEntityTypes.TRUST:
40
+ return !isSettingEnabled(SettingNames.HideOnboardingIntroductionTrust);
41
+ default:
42
+ return false;
43
+ }
44
+ };
45
+ export {
46
+ useLegalEntityType as a,
47
+ useCanSeeIntroduction as u
48
+ };
@@ -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] = "9763d7b8-13a2-4761-89ae-768cb0c67a37", e._sentryDebugIdIdentifier = "sentry-dbid-9763d7b8-13a2-4761-89ae-768cb0c67a37");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "351bfd04-5d35-442a-8100-0ed62549a951", e._sentryDebugIdIdentifier = "sentry-dbid-351bfd04-5d35-442a-8100-0ed62549a951");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { useMutation } from "@tanstack/preact-query";
11
- import { b as useApiContext, j as httpPost } from "./StoreProvider-CsZ-qrGt.js";
11
+ import { b as useApiContext, $ as httpPost } from "./StoreProvider-BL3nK1iO.js";
12
12
  const createLegalEntity = async (legalEntityId, baseUrl, data) => {
13
13
  return httpPost(
14
14
  {
@@ -0,0 +1,41 @@
1
+ ;
2
+ {
3
+ try {
4
+ let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "35dfc19f-6447-40f2-ab0d-b97a8a4d8412", e._sentryDebugIdIdentifier = "sentry-dbid-35dfc19f-6447-40f2-ab0d-b97a8a4d8412");
6
+ } catch (e) {
7
+ }
8
+ }
9
+ ;
10
+ import { useMemo } from "preact/hooks";
11
+ import { u as useTranslation, a8 as EntityTypes, bm as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING, j as TaskTypes } from "./StoreProvider-BL3nK1iO.js";
12
+ function useDataMissingRemediations({
13
+ legalEntityId,
14
+ problems
15
+ }) {
16
+ const { t } = useTranslation("common");
17
+ const decisionMakersRemediationMessage = useMemo(() => {
18
+ const remediationCodes = problems[EntityTypes.LEGAL_ENTITY]?.[legalEntityId]?.missingData?.reduce((remediations, error) => {
19
+ const remediation = DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING[error.code];
20
+ return remediation ? [...remediations, remediation] : remediations;
21
+ }, []);
22
+ const uniqueRemediations = [...new Set(remediationCodes)];
23
+ switch (uniqueRemediations?.length) {
24
+ case void 0:
25
+ case 0:
26
+ return void 0;
27
+ case 1:
28
+ return uniqueRemediations[0] ? t(($) => $[`remediationMessage_${uniqueRemediations[0]}`]) : t(($) => $["missingMultipleDecisionMakers"]);
29
+ default:
30
+ return t(($) => $["missingMultipleDecisionMakers"]);
31
+ }
32
+ }, [problems, t, legalEntityId]);
33
+ return {
34
+ remediationMessages: {
35
+ [TaskTypes.DECISION_MAKER]: decisionMakersRemediationMessage
36
+ }
37
+ };
38
+ }
39
+ export {
40
+ useDataMissingRemediations as u
41
+ };
@@ -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] = "7dd58a9b-4219-475f-8a94-dbd401926076", e._sentryDebugIdIdentifier = "sentry-dbid-7dd58a9b-4219-475f-8a94-dbd401926076");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "3931726d-dbe0-4cdf-b697-367870ce0617", e._sentryDebugIdIdentifier = "sentry-dbid-3931726d-dbe0-4cdf-b697-367870ce0617");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { useState, useEffect } from "preact/hooks";
11
- import { o as createLogger, ai as useI18nContext } from "./StoreProvider-CsZ-qrGt.js";
11
+ import { a3 as createLogger, ab as useI18nContext } from "./StoreProvider-BL3nK1iO.js";
12
12
  import { a as datasetUtilities, d as datasetIdentifier } from "./datasetUtil-BHQp0-xL.js";
13
13
  const logger$1 = createLogger();
14
14
  const countriesImports = /* @__PURE__ */ Object.assign({ "../countries/de-DE.json": () => import("./de-DE-B3nctkG8.js"), "../countries/el-GR.json": () => import("./el-GR-CdgLZhuO.js"), "../countries/en-US.json": () => import("./en-US-DSoLr6rp.js"), "../countries/es-ES.json": () => import("./es-ES-BRfK6tX7.js"), "../countries/fr-FR.json": () => import("./fr-FR-Dk6Lw2On.js"), "../countries/it-IT.json": () => import("./it-IT-D7G4BaP7.js"), "../countries/ja-JP.json": () => import("./ja-JP-DTW_hY1L.js"), "../countries/nl-NL.json": () => import("./nl-NL-CFzm75Jw.js"), "../countries/pt-PT.json": () => import("./pt-PT-DpDxAynk.js"), "../countries/sv-SE.json": () => import("./sv-SE-rckxD-43.js") });
@@ -65,7 +65,9 @@ function useDataset(datasetIdentifier2, skip) {
65
65
  setDataset(result);
66
66
  }).catch(() => {
67
67
  setDataset([]);
68
- }).finally(() => setLoaded(true));
68
+ }).finally(() => {
69
+ setLoaded(true);
70
+ });
69
71
  }, [datasetIdentifier2, i18n.locale, skip]);
70
72
  return { dataset, loaded };
71
73
  }
@@ -0,0 +1,32 @@
1
+ ;
2
+ {
3
+ try {
4
+ let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "1206f235-ab7f-46e9-ab0a-12ec9617dff4", e._sentryDebugIdIdentifier = "sentry-dbid-1206f235-ab7f-46e9-ab0a-12ec9617dff4");
6
+ } catch (e) {
7
+ }
8
+ }
9
+ ;
10
+ import { useMutation } from "@tanstack/preact-query";
11
+ import { a as useInvalidateRootLegalEntity } from "./useToastContext-DBDF60Ps.js";
12
+ import { b as useApiContext, ae as httpDelete } from "./StoreProvider-BL3nK1iO.js";
13
+ const deleteTransferInstrument = async (legalEntityId, baseUrl, transferInstrumentId) => {
14
+ return httpDelete({
15
+ baseUrl,
16
+ path: `legalEntities/${legalEntityId}/transferInstruments/${transferInstrumentId}`
17
+ });
18
+ };
19
+ const useDeleteTransferInstrument = (options) => {
20
+ const { rootLegalEntityId, baseUrl } = useApiContext();
21
+ const invalidateRootLegalEntity = useInvalidateRootLegalEntity();
22
+ return useMutation({
23
+ mutationFn: (transferInstrumentId) => deleteTransferInstrument(rootLegalEntityId.value, baseUrl.value, transferInstrumentId),
24
+ onSuccess: async () => {
25
+ await invalidateRootLegalEntity();
26
+ },
27
+ ...options
28
+ });
29
+ };
30
+ export {
31
+ useDeleteTransferInstrument as u
32
+ };
@@ -2,24 +2,23 @@
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] = "8f9fbaf0-f560-454f-bd52-dfcfa52e31c1", e._sentryDebugIdIdentifier = "sentry-dbid-8f9fbaf0-f560-454f-bd52-dfcfa52e31c1");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "fb1850a5-fbc0-4dd5-87fd-6cce00e492ff", e._sentryDebugIdIdentifier = "sentry-dbid-fb1850a5-fbc0-4dd5-87fd-6cce00e492ff");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { useState, useCallback, useMemo, useReducer, useEffect } from "preact/hooks";
11
- import { o as createLogger, ap as isEmpty, aT as doArraysMatch } from "./StoreProvider-CsZ-qrGt.js";
12
- import { V as ValidationResult, o as omitKeys, a as addKeys } from "./utils-CLLUBF1a.js";
11
+ import { a3 as createLogger, ai as isEmpty, aO as doArraysMatch } from "./StoreProvider-BL3nK1iO.js";
12
+ import { V as ValidationResult, o as omitKeys, a as addKeys } from "./utils-B8oIRKRm.js";
13
13
  const logger = createLogger();
14
14
  const useAsyncValidator = (asyncRules) => {
15
15
  const [asyncValidationResults, setAsyncValidationResults] = useState({});
16
- const clearAsyncValidationResults = useCallback(
17
- (field) => setAsyncValidationResults((existingResults) => ({
16
+ const clearAsyncValidationResults = useCallback((field) => {
17
+ setAsyncValidationResults((existingResults) => ({
18
18
  ...existingResults,
19
19
  [field]: void 0
20
- })),
21
- []
22
- );
20
+ }));
21
+ }, []);
23
22
  const triggerAsyncValidation = useCallback(
24
23
  (field, formState, mode) => {
25
24
  const rule = asyncRules?.[field];
@@ -477,30 +476,30 @@ function useForm({
477
476
  },
478
477
  [state.data]
479
478
  );
480
- const setErrors = useCallback(
481
- (key, value) => dispatch({ type: "setErrors", key, value }),
482
- []
483
- );
484
- const setValid = useCallback(
485
- (key, value) => dispatch({ type: "setValid", key, value }),
486
- []
487
- );
488
- const setData = useCallback(
489
- (key, value) => dispatch({ type: "setData", key, value }),
490
- []
491
- );
479
+ const setErrors = useCallback((key, value) => {
480
+ dispatch({ type: "setErrors", key, value });
481
+ }, []);
482
+ const setValid = useCallback((key, value) => {
483
+ dispatch({ type: "setValid", key, value });
484
+ }, []);
485
+ const setData = useCallback((key, value) => {
486
+ dispatch({ type: "setData", key, value });
487
+ }, []);
492
488
  const setSchema = useCallback(
493
- (newSchema) => dispatch({ type: "setSchema", schema: newSchema, defaultData }),
489
+ (newSchema) => {
490
+ dispatch({ type: "setSchema", schema: newSchema, defaultData });
491
+ },
494
492
  [defaultData]
495
493
  );
496
494
  const setFieldProblems = useCallback(
497
- (newFieldProblems) => dispatch({ type: "setFieldProblems", fieldProblems: newFieldProblems }),
498
- []
499
- );
500
- const mergeForm = useCallback(
501
- (formValue) => dispatch({ type: "mergeForm", formValue }),
495
+ (newFieldProblems) => {
496
+ dispatch({ type: "setFieldProblems", fieldProblems: newFieldProblems });
497
+ },
502
498
  []
503
499
  );
500
+ const mergeForm = useCallback((formValue) => {
501
+ dispatch({ type: "mergeForm", formValue });
502
+ }, []);
504
503
  const handleChangeFor = useCallback(
505
504
  (key, mode = "blur") => (e) => {
506
505
  const value = getTargetValue(key, e);
@@ -527,7 +526,8 @@ function useForm({
527
526
  const resetToDefaultData = useCallback(() => {
528
527
  getSchema.forEach((field) => {
529
528
  if (!defaultData || typeof defaultData[field] !== "undefined") {
530
- return handleChangeFor(field)(defaultData?.[field]);
529
+ handleChangeFor(field)(defaultData?.[field]);
530
+ return;
531
531
  }
532
532
  setValid(field, false);
533
533
  setErrors(field, null);
@@ -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] = "c148bde6-e84c-4520-81f2-0940ef11c0a1", e._sentryDebugIdIdentifier = "sentry-dbid-c148bde6-e84c-4520-81f2-0940ef11c0a1");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "3341b8d1-4d28-431c-9eac-5825bc720f38", e._sentryDebugIdIdentifier = "sentry-dbid-3341b8d1-4d28-431c-9eac-5825bc720f38");
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 { C as useAnalyticsContext, u as useTranslation, a0 as Button } from "./StoreProvider-CsZ-qrGt.js";
14
- import { L as LoaderWrapper } from "./LoaderWrapper-CwhIpGKR.js";
15
- import { M as MaybeModal } from "./MaybeModal-DHcu32Dh.js";
13
+ import { p as useAnalyticsContext, u as useTranslation, V as Button } from "./StoreProvider-BL3nK1iO.js";
14
+ import { L as LoaderWrapper } from "./LoaderWrapper-C4vG5XIf.js";
15
+ import { M as MaybeModal } from "./MaybeModal-BpIcw6KQ.js";
16
16
  import { P as ProgressBar } from "./ProgressBar-B7gTQncy.js";
17
- import { F as FormRouterContextProvider } from "./dropinUtils-B4Vv7_zJ.js";
18
- import { C as Confirm } from "./Confirm-BM1PTsnm.js";
19
- import { S as Summary } from "./Summary-DPm9r7Az.js";
17
+ import { F as FormRouterContextProvider } from "./dropinUtils-DGUJjA6y.js";
18
+ import { C as Confirm } from "./Confirm-BCbTBwh3.js";
19
+ import { S as Summary } from "./Summary-8HdspbcQ.js";
20
20
  import { createContext } from "preact";
21
21
  const FormContext = createContext(null);
22
22
  function FormContextProvider({
@@ -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] = "47e4c96b-7196-434b-8ceb-bb0fbfd66491", e._sentryDebugIdIdentifier = "sentry-dbid-47e4c96b-7196-434b-8ceb-bb0fbfd66491");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "c41f552e-6deb-4a27-af90-970322f78706", e._sentryDebugIdIdentifier = "sentry-dbid-c41f552e-6deb-4a27-af90-970322f78706");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { useContext, useCallback, useMemo } from "preact/hooks";
11
11
  import { a as debounce } from "./debouncedInputEvent-Cv2S512Y.js";
12
- import { bd as StateContext } from "./StoreProvider-CsZ-qrGt.js";
12
+ import { b9 as StateContext } from "./StoreProvider-BL3nK1iO.js";
13
13
  function useStateContext() {
14
14
  const context = useContext(StateContext);
15
15
  return context;
@@ -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] = "6e3e26e0-64d9-40f7-88a4-c8919b06f028", e._sentryDebugIdIdentifier = "sentry-dbid-6e3e26e0-64d9-40f7-88a4-c8919b06f028");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "1dd2bee1-29d6-4d23-be11-c06d59d12c1d", e._sentryDebugIdIdentifier = "sentry-dbid-1dd2bee1-29d6-4d23-be11-c06d59d12c1d");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { useCallback, useMemo, useReducer, useEffect } from "preact/hooks";
11
- import { ac as objectsDeepEqual, o as createLogger, ap as isEmpty } from "./StoreProvider-CsZ-qrGt.js";
12
- import { V as ValidationResult } from "./utils-CLLUBF1a.js";
13
- import { a as isNotEmptyValidator } from "./commonValidators-B8wfpMjX.js";
11
+ import { a6 as objectsDeepEqual, a3 as createLogger, ai as isEmpty } from "./StoreProvider-BL3nK1iO.js";
12
+ import { V as ValidationResult } from "./utils-B8oIRKRm.js";
13
+ import { a as isNotEmptyValidator } from "./commonValidators-BXRpCFOY.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;
@@ -43,7 +43,7 @@ const processField = ({
43
43
  const formattedValue = formatterFn && typeof formatterFn === "function" ? formatterFn(value, fieldContext) : value;
44
44
  const fieldHasDefaultValue = !!defaultData?.[key];
45
45
  const fieldHasChanged = defaultData?.[key] !== value;
46
- const idObscuredField = fieldContext.state?.obscuredFields?.includes(key);
46
+ const idObscuredField = fieldContext.state.obscuredFields?.includes(key);
47
47
  const shouldValidateField = idObscuredField ? fieldHasChanged : fieldHasChanged || fieldHasDefaultValue;
48
48
  const validationResult = shouldValidateField ? staticValidate({ key, value: formattedValue, mode, formName }, data, fieldContext) : new ValidationResult([
49
49
  {
@@ -342,9 +342,9 @@ function reducer({
342
342
  (field) => !innerFormFields.includes(field)
343
343
  ),
344
344
  ...clonedState.optionalFields[formName].filter(
345
- (field) => !optionalFields?.[formName]?.includes(field)
345
+ (field) => !optionalFields?.[formName].includes(field)
346
346
  )
347
- ] : clonedState.requiredFields?.[formName]?.filter(
347
+ ] : clonedState.requiredFields?.[formName].filter(
348
348
  (field) => !innerFormFields.includes(field)
349
349
  );
350
350
  const newFields = optionalFields?.[formName].length ? [
@@ -451,26 +451,26 @@ function reducer({
451
451
  formatters: formatters?.[formName],
452
452
  fieldContext: {
453
453
  state: {
454
- data: clonedState?.data?.[formName],
454
+ data: clonedState.data?.[formName],
455
455
  obscuredFields: obscuredFields?.[formName],
456
456
  optionalFields: optionalFields?.[formName],
457
457
  trustedFields: trustedFields?.[formName],
458
- errors: clonedState.errors?.[formName],
459
- valid: clonedState.valid?.[formName],
460
- fieldProblems: clonedState.fieldProblems?.[formName],
461
- asyncErrors: updatedAsyncErrors?.[formName]
458
+ errors: clonedState.errors[formName],
459
+ valid: clonedState.valid[formName],
460
+ fieldProblems: clonedState.fieldProblems[formName],
461
+ asyncErrors: updatedAsyncErrors[formName]
462
462
  }
463
463
  },
464
464
  staticValidate
465
465
  });
466
- const oldValue = clonedState?.data?.[formName];
466
+ const oldValue = clonedState.data?.[formName];
467
467
  const clearFieldProblems = oldValue?.[key] !== formattedValue;
468
468
  const result = {
469
469
  ...clonedState,
470
470
  data: {
471
471
  ...clonedState.data,
472
472
  [formName]: {
473
- ...clonedState?.data?.[formName],
473
+ ...clonedState.data?.[formName],
474
474
  [key]: formattedValue
475
475
  }
476
476
  },
@@ -478,7 +478,7 @@ function reducer({
478
478
  errors: {
479
479
  ...clonedState.errors,
480
480
  [formName]: {
481
- ...clonedState?.errors?.[formName],
481
+ ...clonedState.errors[formName],
482
482
  [key]: validation.getError() ?? null
483
483
  }
484
484
  },
@@ -492,8 +492,8 @@ function reducer({
492
492
  fieldProblems: {
493
493
  ...clonedState.fieldProblems,
494
494
  [formName]: {
495
- ...clonedState?.fieldProblems?.[formName],
496
- ...!clearFieldProblems && clonedState.fieldProblems?.[formName]?.[key] ? { [key]: true } : {}
495
+ ...clonedState.fieldProblems[formName],
496
+ ...!clearFieldProblems && clonedState.fieldProblems[formName][key] ? { [key]: true } : {}
497
497
  }
498
498
  }
499
499
  };
@@ -516,18 +516,18 @@ function reducer({
516
516
  value: formData2?.[field] ?? null,
517
517
  formName,
518
518
  defaultData: defaultData?.[formName],
519
- data: clonedState?.data,
519
+ data: clonedState.data,
520
520
  formatters: formatters?.[formName],
521
521
  fieldContext: {
522
522
  state: {
523
- data: clonedState?.data?.[formName],
523
+ data: clonedState.data?.[formName],
524
524
  obscuredFields: obscuredFields?.[formName],
525
525
  optionalFields: optionalFields?.[formName],
526
526
  trustedFields: trustedFields?.[formName],
527
- errors: clonedState.errors?.[formName],
528
- valid: clonedState.valid?.[formName],
529
- fieldProblems: clonedState.fieldProblems?.[formName],
530
- asyncErrors: clonedState.asyncErrors?.[formName]
527
+ errors: clonedState.errors[formName],
528
+ valid: clonedState.valid[formName],
529
+ fieldProblems: clonedState.fieldProblems[formName],
530
+ asyncErrors: clonedState.asyncErrors[formName]
531
531
  }
532
532
  },
533
533
  staticValidate
@@ -547,7 +547,7 @@ function reducer({
547
547
  },
548
548
  valid: {
549
549
  ...acc.valid,
550
- [field]: (validation.isValid && (fieldAsyncValidationResult?.isValid ?? true) && !clonedState.fieldProblems?.[formName]?.[field]) ?? false
550
+ [field]: validation.isValid && (fieldAsyncValidationResult?.isValid ?? true) && !clonedState.fieldProblems[formName][field]
551
551
  },
552
552
  fieldProblems: {
553
553
  ...acc.fieldProblems,
@@ -591,14 +591,14 @@ const useMultiFormAsyncValidator = (asyncRules) => {
591
591
  const triggerAsyncValidation = useCallback(
592
592
  async (field, formName, data) => {
593
593
  if (!asyncRules) return new ValidationResult([validResult]);
594
- const rule = typeof asyncRules === "function" ? asyncRules?.(data)?.[formName]?.[field] : asyncRules?.[formName]?.[field];
594
+ const rule = typeof asyncRules === "function" ? asyncRules(data)[formName]?.[field] : asyncRules[formName][field];
595
595
  const value = data?.[formName]?.[field];
596
596
  if (!rule || !value) return new ValidationResult([validResult]);
597
597
  const isValid = await rule.asyncValidate(value).catch(logger.error);
598
598
  if (isValid === false) {
599
599
  return new ValidationResult([
600
600
  {
601
- isValid: isValid ?? true,
601
+ isValid,
602
602
  errorMessage: typeof rule.errorMessage === "function" ? rule.errorMessage(value) : rule.errorMessage,
603
603
  hasError: !isValid
604
604
  }
@@ -621,7 +621,7 @@ const useMultiFormAsyncValidator = (asyncRules) => {
621
621
  [fieldName]: asyncValidationResult
622
622
  };
623
623
  }, Promise.resolve({}));
624
- const isValid = Object.values(asyncValidationResults ?? {}).every(
624
+ const isValid = Object.values(asyncValidationResults).every(
625
625
  (validationResult) => validationResult.isValid
626
626
  );
627
627
  return {
@@ -654,7 +654,7 @@ const useMultiFormStaticValidator = (rules) => {
654
654
  const isFieldOptional = !!context?.state.optionalFields?.includes(key);
655
655
  const isFieldObscured = !!context?.state.obscuredFields?.includes(key);
656
656
  if (!isFieldOptional) {
657
- fieldRules?.unshift(isNotEmptyValidator);
657
+ fieldRules.unshift(isNotEmptyValidator);
658
658
  }
659
659
  const validationRulesResult = fieldRules.map((rule) => {
660
660
  const shouldValidate = rule.modes.includes(mode) && !isFieldObscured;
@@ -745,7 +745,7 @@ function useMultiForm({
745
745
  const optionalsFormFields = state.optionalFields?.[form] ?? [];
746
746
  const requiredFormFields = state.requiredFields?.[form] ?? [];
747
747
  const formFields = [...optionalsFormFields, ...requiredFormFields];
748
- const formValidity = state.valid?.[formName] ?? {};
748
+ const formValidity = state.valid[formName] ?? {};
749
749
  return {
750
750
  ...acc,
751
751
  [formName]: Object.entries(formValidity)?.every(
@@ -765,19 +765,27 @@ function useMultiForm({
765
765
  [state.data]
766
766
  );
767
767
  const setErrors = useCallback(
768
- (key, value, formName) => dispatch({ type: "setErrors", key, value, formName }),
768
+ (key, value, formName) => {
769
+ dispatch({ type: "setErrors", key, value, formName });
770
+ },
769
771
  []
770
772
  );
771
773
  const setValid = useCallback(
772
- (key, value, formName) => dispatch({ type: "setValid", key, value, formName }),
774
+ (key, value, formName) => {
775
+ dispatch({ type: "setValid", key, value, formName });
776
+ },
773
777
  []
774
778
  );
775
779
  const setData = useCallback(
776
- (key, value, formName) => dispatch({ type: "setData", key, value, formName }),
780
+ (key, value, formName) => {
781
+ dispatch({ type: "setData", key, value, formName });
782
+ },
777
783
  []
778
784
  );
779
785
  const setFormData = useCallback(
780
- (formName, formData) => dispatch({ type: "setFormData", formName, formData }),
786
+ (formName, formData) => {
787
+ dispatch({ type: "setFormData", formName, formData });
788
+ },
781
789
  []
782
790
  );
783
791
  const handleChangeFor = useCallback(
@@ -795,7 +803,7 @@ function useMultiForm({
795
803
  );
796
804
  const triggerValidation = useCallback(
797
805
  async (formName, selectedSchema) => {
798
- const asyncValidationResults = await triggerAsyncFormValidation?.(
806
+ const asyncValidationResults = await triggerAsyncFormValidation(
799
807
  formName,
800
808
  state,
801
809
  selectedSchema
@@ -817,7 +825,8 @@ function useMultiForm({
817
825
  const formData = defaultData?.[form];
818
826
  getSchema[form].forEach((field) => {
819
827
  if (!formData || typeof formData[field] !== "undefined") {
820
- return handleChangeFor(field, form)(formData);
828
+ handleChangeFor(field, form)(formData);
829
+ return;
821
830
  }
822
831
  setValid(field, false, form);
823
832
  setErrors(field, null, form);
@@ -826,7 +835,7 @@ function useMultiForm({
826
835
  });
827
836
  }, [defaultData, getSchema, handleChangeFor, setData, setErrors, setValid]);
828
837
  useEffect(() => {
829
- const requiredFields2 = getRequiredFields(state?.data);
838
+ const requiredFields2 = getRequiredFields(state.data);
830
839
  if (!requiredFields2) {
831
840
  return;
832
841
  }