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

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-BW0brynM.js} +36 -32
  2. package/dist/{Accordion-DM9qeMoR.js → Accordion-BM8hZAXY.js} +2 -2
  3. package/dist/{AccountSetupRejected-DfmKQEp-.js → AccountSetupRejected-BodluXLt.js} +4 -4
  4. package/dist/{ActionBar-DCKuV5BO.js → ActionBar-UJRkmh5s.js} +2 -2
  5. package/dist/{Address-BEUcWe_H.js → Address-DI_WQl-j.js} +10 -12
  6. package/dist/{Alert-D9HbhU88.js → Alert-BZOtTqxJ.js} +3 -3
  7. package/dist/{Avatar-C_tjYaBz.js → Avatar-BkSExeAD.js} +2 -2
  8. package/dist/{BusinessFinancingComponent-B5gLGmkK.js → BusinessFinancingComponent-XUA40MWu.js} +7 -7
  9. package/dist/{BusinessFinancingDropin-BpZKzB71.js → BusinessFinancingDropin-BmdwxjTl.js} +689 -307
  10. package/dist/{BusinessFinancingPage-CKdy77OK.js → BusinessFinancingPage-4HciuNgT.js} +5 -5
  11. package/dist/{BusinessTypeSelectionPage-ClkY9cbT.js → BusinessTypeSelectionPage-D6N0Ru4g.js} +9 -9
  12. package/dist/{Checkbox-BU4IYlt6.js → Checkbox-HJ5QMOjP.js} +2 -2
  13. package/dist/{Confirm-BM1PTsnm.js → Confirm-BtVNOsTV.js} +3 -3
  14. package/dist/{ConstitutionalDocument-D9sPfw_B.js → ConstitutionalDocument-Dhw6t4Ni.js} +37 -30
  15. package/dist/{ContactDetails-BRnbG7BX.js → ContactDetails-CbxMguHb.js} +8 -8
  16. package/dist/{ContextGuidance-CZGa7C-r.js → ContextGuidance-vOFdWDn9.js} +3 -3
  17. package/dist/{ContractViewer-Byp71k2e.js → ContractViewer-DcQHIGMU.js} +2 -2
  18. package/dist/{CountryField-DShqP-Yi.js → CountryField-C7bj3yyn.js} +6 -6
  19. package/dist/{CreateIndividualComponent-BZ6dd8Bd.js → CreateIndividualComponent-D686ciaV.js} +7 -7
  20. package/dist/{CreateTransferInstrumentComponent-1pjVr_3y.js → CreateTransferInstrumentComponent-C7B7UCpu.js} +5 -5
  21. package/dist/{Currency-CEtDxV-F.js → Currency-hS0YWWxq.js} +7 -11
  22. package/dist/{CustomerSupport-gmN79qSl.js → CustomerSupport-8s-w8iKy.js} +11 -11
  23. package/dist/{DebugModal-C3horl0P.js → DebugModal-BwrOlWvA.js} +9 -9
  24. package/dist/{DecisionMakerDetailsPage-CN1t2Ok6.js → DecisionMakerDetailsPage-BKYVxewR.js} +14 -10
  25. package/dist/{DecisionMakers-83kflZpA.js → DecisionMakers-Om-7b55R.js} +36 -26
  26. package/dist/{Dropzone-DYIUInYF.js → Dropzone-Dayv7PAA.js} +4 -4
  27. package/dist/{EmbeddedStatus-BID4yaOx.js → EmbeddedStatus-uhtoE0i5.js} +3 -3
  28. package/dist/{EndStateLayout-Cqmi0QYW.js → EndStateLayout-Bircmn4k.js} +2 -2
  29. package/dist/{EntityAssociation-jMAjopdW.js → EntityAssociation-CpwvMeU9.js} +35 -23
  30. package/dist/{EntityGuidanceStatus-ek-5IvZb.js → EntityGuidanceStatus-BGP7anTO.js} +3 -3
  31. package/dist/{ErrorPanel-ByEaxCQu.js → ErrorPanel-CTnweIrR.js} +3 -3
  32. package/dist/{Field-Cp_UOAnA.js → Field-B5icSx65.js} +2 -2
  33. package/dist/{FormNavigation-CttAyMuX.js → FormNavigation-CwNfQJDE.js} +3 -3
  34. package/dist/{FormWrapper-C8UDjnjQ.js → FormWrapper-B1OeeS_n.js} +9 -9
  35. package/dist/{Header-CIxJSQWR.js → Header-Dsxscc11.js} +2 -2
  36. package/dist/{Image-T-D-HDf5.js → Image-DSSLH2Gg.js} +2 -2
  37. package/dist/{Individual.rules-DEhHxeiv.js → Individual.rules-SVdbtMZX.js} +29 -14
  38. package/dist/{IndividualDropin-Dz2ooI0s.js → IndividualDropin-Cc4CEZFn.js} +71 -63
  39. package/dist/{InputDate-z9OpUslu.js → InputDate-BbhqEb0A.js} +2 -2
  40. package/dist/{InputText-CBhD5jca.js → InputText-DsyMVWuS.js} +2 -2
  41. package/dist/{Introduction-Bm3kybSH.js → Introduction-0o7soNWJ.js} +4 -4
  42. package/dist/{JpAddress-owiNWOqn.js → JpAddress-DR9efscK.js} +18 -13
  43. package/dist/{LandingLayout-BuBU3Pyb.js → LandingLayout-BmfO073v.js} +2 -2
  44. package/dist/{fieldConfig-CMdKt41r.js → LegalCompanyNameField-DUA1xhu7.js} +71 -67
  45. package/dist/{LegalRepresentativeDetailsPage-vS7jAxuO.js → LegalRepresentativeDetailsPage-Dd7C7gUQ.js} +5 -5
  46. package/dist/{Link-CIBefZJS.js → Link-5z1nhcfe.js} +2 -2
  47. package/dist/{ListItem-CnzgA-sH.js → ListItem-BFs1CkoM.js} +3 -3
  48. package/dist/{LoaderWrapper-CwhIpGKR.js → LoaderWrapper-D7zyni9T.js} +1 -1
  49. package/dist/ManageIndividualComponent-DwWloLdY.js +46 -0
  50. package/dist/{ManageTermsOfServiceComponent-BdiC5Nbd.js → ManageTermsOfServiceComponent-DyyWEEWM.js} +5 -5
  51. package/dist/{ManageTransferInstrumentComponent-CObC5Uof.js → ManageTransferInstrumentComponent-DT93KOu6.js} +15 -14
  52. package/dist/{MaskedInput-BfI4FGAA.js → MaskedInput-Ble-w1-c.js} +5 -5
  53. package/dist/{MaybeModal-DHcu32Dh.js → MaybeModal-D7DmwNpk.js} +3 -3
  54. package/dist/{Modal-BKWXTEoU.js → Modal-VzVyfuvm.js} +2 -2
  55. package/dist/{Name-BCar2_dk.js → Name-D_X4kyiG.js} +5 -5
  56. package/dist/{OnboardingDropinComponent-DstStqYS.js → OnboardingDropinComponent-DYT6l2t6.js} +850 -520
  57. package/dist/{PayoutDetailsDropin-DSdlqAe2.js → PayoutDetailsDropin-De5xS7km.js} +130 -77
  58. package/dist/{RadioGroup-COsozc9g.js → RadioGroup-CpnraQPG.js} +2 -2
  59. package/dist/{RadioGroupCard-xqC3IACY.js → RadioGroupCard-BDvxdl0T.js} +2 -2
  60. package/dist/{Review-CZwc-DMp.js → Review-BrP7xRy2.js} +7 -7
  61. package/dist/RootBusinessDetailsPage-C4io3SHK.js +50 -0
  62. package/dist/{RootBusinessLinesPage-BRgtyHFs.js → RootBusinessLinesPage-CknZuu0f.js} +27 -24
  63. package/dist/{RootIndividualDetailsPage-C3wTzTp1.js → RootIndividualDetailsPage-D2InAZ2K.js} +7 -6
  64. package/dist/{Select-DeTBytOH.js → Select-B3w5VkGQ.js} +4 -4
  65. package/dist/{SignPCIComponent-CCGyrXvI.js → SignPCIComponent-B8U7Hilk.js} +14 -14
  66. package/dist/{SingpassSelection-BumqRwXI.js → SingpassSelection-BdRZAxtT.js} +6 -6
  67. package/dist/SoleProprietorshipPage-C64fSOwN.js +50 -0
  68. package/dist/{SourceOfFundsPage-DkjYls-E.js → SourceOfFundsPage-C855dB1F.js} +33 -32
  69. package/dist/{StepProgressIndicator-D8PfKJKf.js → StepProgressIndicator-B06vG0EZ.js} +2 -2
  70. package/dist/{StoreProvider-CsZ-qrGt.js → StoreProvider-C-jMv9L5.js} +157 -132
  71. package/dist/{StructuredList-9dnJRdx_.js → StructuredList-BNLhk_zV.js} +1 -1
  72. package/dist/{Summary-DPm9r7Az.js → Summary-HNxR09dk.js} +19 -8
  73. package/dist/{TaskVerificationStatus-DrOQToMh.js → TaskVerificationStatus-BvU5X9F0.js} +2 -2
  74. package/dist/{TaxInformationField-NI7Hbgov.js → TaxInformationField-ghLphbCF.js} +438 -81
  75. package/dist/{TaxReportingDropin-BBUAxx92.js → TaxReportingDropin-8PKUrVeE.js} +18 -18
  76. package/dist/{TextArea-CCjCNpAP.js → TextArea-XzZ59IRn.js} +2 -2
  77. package/dist/{TileGroup-BhKhvfLz.js → TileGroup-BsvBLQp4.js} +3 -3
  78. package/dist/{TrustDetailsPage-yOmFcEyO.js → TrustDetailsPage-BZamlxY7.js} +44 -38
  79. package/dist/TrustMemberCompanyPage-DHdEuAQJ.js +68 -0
  80. package/dist/{TrustMemberIndividualPage-B8tb56n2.js → TrustMemberIndividualPage-BLjorgiQ.js} +11 -8
  81. package/dist/{TrustMemberRoleAndTypePage-WHu1tc4O.js → TrustMemberRoleAndTypePage-O-JmFZ6x.js} +43 -38
  82. package/dist/{TrustMembersOverview-BWbGUK3k.js → TrustMembersOverview-CJEjx7vn.js} +13 -13
  83. package/dist/{UnincorporatedPartnershipIndividualPage-DD2dn41k.js → UnincorporatedPartnershipIndividualPage-CLm7rltZ.js} +10 -7
  84. package/dist/{UnincorporatedPartnershipMemberCompanyPage-DsUSSYnI.js → UnincorporatedPartnershipMemberCompanyPage-DstG5mil.js} +10 -7
  85. package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-Ctb0Lz_0.js → UnincorporatedPartnershipMemberRoleAndTypePage-CcboW2-W.js} +15 -12
  86. package/dist/{UnincorporatedPartnershipMembersOverview-B_GJIeZC.js → UnincorporatedPartnershipMembersOverview-C8d8pfxJ.js} +9 -9
  87. package/dist/{VerificationErrorAlert-CCiMqGl8.js → VerificationErrorAlert-CAncqFAs.js} +4 -24
  88. package/dist/{ViewVerificationStatusComponent-CICJ6cy4.js → ViewVerificationStatusComponent-BwndGcdj.js} +4 -4
  89. package/dist/accountHolderUtils-B437qMYm.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-DFWYU0eC.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-DnSqf1bK.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-CVk-9IZr.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-KRYFb23Q.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-c86ZSHdY.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-COB6S0Zd.js} +4 -4
  147. package/dist/{isEmpty-BNacTlfR.js → isEmpty-DG6Y1P62.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-Dl5g_UWE.js} +2 -2
  159. package/dist/{jpAddressSchema-De6ix57p.js → jpAddressSchema-DEOyz9Yo.js} +2 -4
  160. package/dist/{localizeDateString-DuTq6aHe.js → localizeDateString-CW0xkVFv.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-BRTT2WyL.js} +5 -6
  168. package/dist/{mapJpAddressSchemaToAddressLocalizations-BwHU4ZwL.js → mapJpAddressSchemaToAddressLocalizations-CwG96wSK.js} +5 -5
  169. package/dist/{mapLegalEntityToIndividualSchema-DzCEngXr.js → mapLegalEntityToIndividualSchema-Cu08lm2S.js} +4 -4
  170. package/dist/{mapTransferInstrumentToPayoutAccount-DLHvwig1.js → mapTransferInstrumentToPayoutAccount-BVOwByXx.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-DAtPy1-5.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-2ry-JbdI.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-CWyr9MeQ.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-D9T__4VE.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 +145 -153
  200. package/dist/styles-CLV89_hH.js +145 -153
  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-BY62XJTq.js → types-BstoJPXR.js} +2 -2
  284. package/dist/{types-B7eWQV7z.js → types-C8yt1YG2.js} +19 -2
  285. package/dist/{types-pKG9olDB.js → types-DHdmZe3R.js} +2 -2
  286. package/dist/{types-BuMuCpsa.js → types-FtiqI-S9.js} +2 -2
  287. package/dist/{useAssociatedLegalEntity-V0OP9ejx.js → useAssociatedLegalEntity-BVu7zj1c.js} +2 -2
  288. package/dist/{useBusinessDetailsData-BsXXL7fg.js → useBusinessDetailsData-B9I865mu.js} +713 -718
  289. package/dist/useBusinessLines-Coc7iGhS.js +29 -0
  290. package/dist/useCanSeeIntroduction-DG9Yn42f.js +48 -0
  291. package/dist/{useCreateLegalEntity-otpCRCfZ.js → useCreateLegalEntity-D1LQY6P5.js} +2 -2
  292. package/dist/useDataMissingRemediations-CDMb2Iu7.js +41 -0
  293. package/dist/{useDataset-CvATx7EN.js → useDataset-BiERW7fi.js} +5 -3
  294. package/dist/useDeleteTransferInstrument-YSr-Fo6s.js +32 -0
  295. package/dist/{useForm-9nSw9LZY.js → useForm-ZeyqDFOi.js} +27 -27
  296. package/dist/{useFormContext-BnlNKQZ7.js → useFormContext-CcAa10tn.js} +7 -7
  297. package/dist/{useGlobalData-Dy2O7YGk.js → useGlobalData-MctSxOcn.js} +2 -2
  298. package/dist/{useMultiForm-CBefohos.js → useMultiForm-BhV8RCm4.js} +45 -36
  299. package/dist/useNavigate-CyixZ7Bd.js +265 -0
  300. package/dist/{useOnboardingStatus-CJrlnkvv.js → useOnboardingStatus-YzbGKkC5.js} +1 -1
  301. package/dist/usePciQuestionnaireList-CLwiJDxW.js +29 -0
  302. package/dist/useSalesChannels-C3oiiB07.js +65 -0
  303. package/dist/{useScenarios-CkgrmOF-.js → useScenarios-CGNlbMLu.js} +2 -2
  304. package/dist/useSetting-BF2CM06n.js +19 -0
  305. package/dist/useTaskStatus-DgRzelGp.js +51 -0
  306. package/dist/{useTermsOfServiceStatus-DFLF3xas.js → useTermsOfServiceStatus-IjRaxZu3.js} +1 -1
  307. package/dist/{useToastContext-uSKjdph9.js → useToastContext-C0ytklOM.js} +2 -2
  308. package/dist/useTrustMembers-MZLGyg68.js +163 -0
  309. package/dist/{useUnincorporatedPartnershipMembers-BmLKVfkf.js → useUnincorporatedPartnershipMembers-CtzCBX3o.js} +4 -4
  310. package/dist/{useUpdateBusinessLines-BBNXF45E.js → useUpdateBusinessLines-Do9Ap-zs.js} +4 -4
  311. package/dist/{useUpdateLegalEntity-DHxCVgNk.js → useUpdateLegalEntity-CrL2KyrF.js} +3 -3
  312. package/dist/{utils-5yZQq_bx.js → utils-Bbxtjil1.js} +6 -6
  313. package/dist/{utils-CIHH_aYF.js → utils-BtRcjM8l.js} +2 -2
  314. package/dist/{utils-ClKogQZa.js → utils-C8SToqFp.js} +3 -3
  315. package/dist/{utils-CLLUBF1a.js → utils-D6lKjllx.js} +2 -2
  316. package/dist/{utils-CIIs2bXi.js → utils-DDh9Wc69.js} +3 -2
  317. package/dist/{validate-CLYo0JdH.js → validate-B7VfZzB0.js} +3 -3
  318. package/dist/{validate-BntX2W3B.js → validate-CXFzJNVc.js} +10 -2
  319. package/dist/{validationError-DJ6zTIzv.js → validationError-Bhb_p0Dm.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
@@ -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] = "e9ee1034-4928-46e6-a91c-0afea6dd267a", e._sentryDebugIdIdentifier = "sentry-dbid-e9ee1034-4928-46e6-a91c-0afea6dd267a");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "7811eefb-d76e-4e2f-8e76-f47f318e6cbc", e._sentryDebugIdIdentifier = "sentry-dbid-7811eefb-d76e-4e2f-8e76-f47f318e6cbc");
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, ap as isEmpty, u as useTranslation, J as useExperimentsContext, H as IconButton, j as httpPost } from "./StoreProvider-CsZ-qrGt.js";
11
+ import { b as useApiContext, k as httpGet, ai as isEmpty, u as useTranslation, v as useExperimentsContext, t as IconButton, $ as httpPost } from "./StoreProvider-C-jMv9L5.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-Cp_UOAnA.js";
14
+ import { F as Field } from "./Field-B5icSx65.js";
15
15
  import { L as List } from "./List-BAzyC6sw.js";
16
- import { S as Select } from "./Select-DeTBytOH.js";
16
+ import { S as Select } from "./Select-B3w5VkGQ.js";
17
17
  import { signal } from "@preact/signals";
18
18
  const fetchIndustryCodes = async (legalEntityId, baseUrl, businessLineTypes2, locale) => {
19
19
  const results = await Promise.all(
@@ -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] = "6c0105de-47a6-4a34-aac2-fe964c678a7a", e._sentryDebugIdIdentifier = "sentry-dbid-6c0105de-47a6-4a34-aac2-fe964c678a7a");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "070b513e-e932-4eae-9148-c773d9c3d1a0", e._sentryDebugIdIdentifier = "sentry-dbid-070b513e-e932-4eae-9148-c773d9c3d1a0");
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-uSKjdph9.js";
12
- import { b as useApiContext, j as httpPost } from "./StoreProvider-CsZ-qrGt.js";
11
+ import { a as useInvalidateRootLegalEntity } from "./useToastContext-C0ytklOM.js";
12
+ import { b as useApiContext, $ as httpPost } from "./StoreProvider-C-jMv9L5.js";
13
13
  const updateLegalEntity = async (rootLegalEntityId, baseUrl, data) => {
14
14
  return httpPost(
15
15
  {
@@ -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] = "b6fe01f2-6524-49dd-97d8-e55c9227db98", e._sentryDebugIdIdentifier = "sentry-dbid-b6fe01f2-6524-49dd-97d8-e55c9227db98");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "18228549-9e35-424a-98a1-258e79b8791b", e._sentryDebugIdIdentifier = "sentry-dbid-18228549-9e35-424a-98a1-258e79b8791b");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
- import { C as CompanyTypesValues } from "./bafinUtils-Ch6rVpGi.js";
11
- import { g as getLegalEntityCountry, br as getCapabilities, t as LegalEntityTypes, v as hasOwnEntityAssociationOfType, a5 as CountryCodes } from "./StoreProvider-CsZ-qrGt.js";
12
- import { d as allowIndividualWithoutSoleProp } from "./OnboardingDropinComponent-DstStqYS.js";
13
- import { S as SOLE_PROP_COUNTRIES } from "./Individual.rules-DEhHxeiv.js";
14
- import { A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-pKG9olDB.js";
10
+ import { C as CompanyTypesValues } from "./company-types-value-D_mKv5PT.js";
11
+ import { g as getLegalEntityCountry, br as getCapabilities, o as LegalEntityTypes, aQ as hasOwnEntityAssociationOfType, a0 as CountryCodes } from "./StoreProvider-C-jMv9L5.js";
12
+ import { a as allowIndividualWithoutSoleProp } from "./accountHolderUtils-B437qMYm.js";
13
+ import { S as SOLE_PROP_COUNTRIES } from "./Individual.rules-SVdbtMZX.js";
14
+ import { A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-DHdmZe3R.js";
15
15
  const TRUST_COUNTRIES = [CountryCodes.Australia, CountryCodes.NewZealand];
16
16
  const BUSINESS_BANK_ACCOUNT_COUNTRIES = [
17
17
  CountryCodes.UnitedStates,
@@ -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] = "daf015e4-7d85-4ef3-88a0-148c5f3eae95", e._sentryDebugIdIdentifier = "sentry-dbid-daf015e4-7d85-4ef3-88a0-148c5f3eae95");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "351f8d52-1e83-4668-89ca-2c70ccae4b9c", e._sentryDebugIdIdentifier = "sentry-dbid-351f8d52-1e83-4668-89ca-2c70ccae4b9c");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
- import { a5 as CountryCodes } from "./StoreProvider-CsZ-qrGt.js";
10
+ import { a0 as CountryCodes } from "./StoreProvider-C-jMv9L5.js";
11
11
  function getLocalizedIdDocumentTypeOptions(country) {
12
12
  switch (country) {
13
13
  case CountryCodes.Japan:
@@ -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] = "0d620a2d-c233-4950-814d-58825fd5c9d6", e._sentryDebugIdIdentifier = "sentry-dbid-0d620a2d-c233-4950-814d-58825fd5c9d6");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "58cf6e39-1c45-4f9e-b40f-c78f6a9f8c8c", e._sentryDebugIdIdentifier = "sentry-dbid-58cf6e39-1c45-4f9e-b40f-c78f6a9f8c8c");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx } from "preact/jsx-runtime";
11
- import { t as LegalEntityTypes, O as Typography } from "./StoreProvider-CsZ-qrGt.js";
11
+ import { o as LegalEntityTypes, z as Typography } from "./StoreProvider-C-jMv9L5.js";
12
12
  import { C as Currencies } from "./currency-CrdnaaDu.js";
13
- import { l as localizeDateString } from "./localizeDateString-DuTq6aHe.js";
13
+ import { l as localizeDateString } from "./localizeDateString-CW0xkVFv.js";
14
14
  const formatCurrency = (amount, currency, locale) => {
15
15
  const { format } = new Intl.NumberFormat(
16
16
  locale,
@@ -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] = "3fa7cda2-8905-4ba8-8fe2-aa8e4d05b85e", e._sentryDebugIdIdentifier = "sentry-dbid-3fa7cda2-8905-4ba8-8fe2-aa8e4d05b85e");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "b6413f1b-841f-48d3-905b-63c5be884b3e", e._sentryDebugIdIdentifier = "sentry-dbid-b6413f1b-841f-48d3-905b-63c5be884b3e");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
- import { ak as entriesOf } from "./StoreProvider-CsZ-qrGt.js";
10
+ import { ad as entriesOf } from "./StoreProvider-C-jMv9L5.js";
11
11
  class ValidationResult {
12
12
  validationResults;
13
13
  constructor(results) {
@@ -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] = "300db586-3fce-4617-88d5-f9d260b20fdf", e._sentryDebugIdIdentifier = "sentry-dbid-300db586-3fce-4617-88d5-f9d260b20fdf");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "bec62b62-7229-4407-a25e-38debf3d07f1", e._sentryDebugIdIdentifier = "sentry-dbid-bec62b62-7229-4407-a25e-38debf3d07f1");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { s as summaryItem } from "./summaryItem-CAQCQSkt.js";
11
- import { a5 as CountryCodes } from "./StoreProvider-CsZ-qrGt.js";
11
+ import { a0 as CountryCodes } from "./StoreProvider-C-jMv9L5.js";
12
12
  const addressFields = [
13
13
  "address",
14
14
  "otherAddressInformation",
@@ -65,6 +65,7 @@ const ADDRESS_SCHEMAS = {
65
65
  STATE
66
66
  ],
67
67
  [CountryCodes.UnitedArabEmirates]: [COUNTRY, ADDRESS, OTHER_ADDRESS_INFORMATION, CITY],
68
+ [CountryCodes.Japan]: [COUNTRY, OTHER_ADDRESS_INFORMATION, POSTAL_CODE, CITY, STATE],
68
69
  default: [COUNTRY, ADDRESS, OTHER_ADDRESS_INFORMATION, POSTAL_CODE, CITY, STATE]
69
70
  };
70
71
  const CONDENSED_ADDRESS_FIELDS = {
@@ -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] = "fe19937c-5d97-4d36-8a72-c9688355bb8c", e._sentryDebugIdIdentifier = "sentry-dbid-fe19937c-5d97-4d36-8a72-c9688355bb8c");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "02dd5459-8dc1-4c6b-a642-a362572052c0", e._sentryDebugIdIdentifier = "sentry-dbid-02dd5459-8dc1-4c6b-a642-a362572052c0");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import "@tanstack/preact-query";
11
- import { j as httpPost, al as httpDelete, k as httpGet, o as createLogger, bd as StateContext, u as useTranslation, C as useAnalyticsContext, G as Icon, O as Typography, L as Loader, H as IconButton } from "./StoreProvider-CsZ-qrGt.js";
12
- import { g as getLocalizedIdDocumentTypeOptions } from "./utils-CIHH_aYF.js";
11
+ import { $ as httpPost, ae as httpDelete, k as httpGet, a3 as createLogger, b9 as StateContext, u as useTranslation, p as useAnalyticsContext, r as Icon, z as Typography, L as Loader, t as IconButton } from "./StoreProvider-C-jMv9L5.js";
12
+ import { g as getLocalizedIdDocumentTypeOptions } from "./utils-BtRcjM8l.js";
13
13
  import { jsx, jsxs } from "preact/jsx-runtime";
14
14
  import cx from "classnames";
15
15
  import { useEffect } from "preact/hooks";
@@ -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] = "5e229f70-a255-4935-ab28-56010d3655ce", e._sentryDebugIdIdentifier = "sentry-dbid-5e229f70-a255-4935-ab28-56010d3655ce");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "4ea29964-505e-4385-9972-acbf1f4cb001", e._sentryDebugIdIdentifier = "sentry-dbid-4ea29964-505e-4385-9972-acbf1f4cb001");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
- import { aB as hasText } from "./StoreProvider-CsZ-qrGt.js";
10
+ import { au as hasText } from "./StoreProvider-C-jMv9L5.js";
11
11
  const validateLegalEntityIdentifier = (legalEntityIdentifier) => {
12
12
  if (!legalEntityIdentifier) {
13
13
  return true;
@@ -89,8 +89,16 @@ const businessFinancingParentCompanyDetailsValidations = {
89
89
  errorMessage: "fieldIsRequired"
90
90
  }
91
91
  };
92
+ const businessFinancingSoleProprietorValidations = {
93
+ legalProceedingsDate: {
94
+ modes: ["blur"],
95
+ validate: (value) => validateDateNotInTheFuture(value),
96
+ errorMessage: "dateCannotBeInTheFuture"
97
+ }
98
+ };
92
99
  const businessFinancingMultiformRules = {
93
100
  company: businessFinancingCompanyDetailsValidations,
101
+ soleProprietor: businessFinancingSoleProprietorValidations,
94
102
  parentCompany: businessFinancingParentCompanyDetailsValidations,
95
103
  ultimateParentCompany: businessFinancingParentCompanyDetailsValidations
96
104
  };
@@ -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] = "22b0b87d-3297-47d3-b358-ee1189257a6a", e._sentryDebugIdIdentifier = "sentry-dbid-22b0b87d-3297-47d3-b358-ee1189257a6a");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "a1380457-ff6b-4d81-80f5-ba21fcd7fc60", e._sentryDebugIdIdentifier = "sentry-dbid-a1380457-ff6b-4d81-80f5-ba21fcd7fc60");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
- import { B as TaskTypes, a_ as remediationPayoutApiKeyMapping, a$ as remediationBusinessDetailsApiKeyMapping, b0 as remediationIndividualOnfidoApiKeyMapping } from "./StoreProvider-CsZ-qrGt.js";
10
+ import { j as TaskTypes, aW as remediationPayoutApiKeyMapping, aX as remediationBusinessDetailsApiKeyMapping, aY as remediationIndividualOnfidoApiKeyMapping } from "./StoreProvider-C-jMv9L5.js";
11
11
  import { a as assignToProp } from "./utils-DNSfZiio.js";
12
12
  const isMaintenanceModeError = (error) => error && typeof error === "object" && "messageCode" in error && error.messageCode === "maintenanceMode";
13
13
  const overrideKeyMapping = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adyen/kyc-components",
3
- "version": "3.94.0",
3
+ "version": "3.95.0-beta.1",
4
4
  "keywords": [
5
5
  "adyen",
6
6
  "adyen-kyc",
@@ -83,7 +83,8 @@
83
83
  "monogon": "^0.3.4",
84
84
  "named-slots": "^0.4.2",
85
85
  "onfido-sdk-ui": "14.55.0",
86
- "preact": "^10.28.3"
86
+ "preact": "^10.28.3",
87
+ "wouter-preact": "^3.9.0"
87
88
  },
88
89
  "devDependencies": {
89
90
  "@adyen/bento-design-tokens": "^1.84.1",
@@ -1,46 +0,0 @@
1
- ;
2
- {
3
- try {
4
- let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "886eab8f-6ced-46fa-99b8-a04c27dc4957", e._sentryDebugIdIdentifier = "sentry-dbid-886eab8f-6ced-46fa-99b8-a04c27dc4957");
6
- } catch (e) {
7
- }
8
- }
9
- ;
10
- import { u as useTranslation, b as useApiContext, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper, c as useLegalEntity, R as ROOT_LE } from "./StoreProvider-CsZ-qrGt.js";
11
- import { jsx } from "preact/jsx-runtime";
12
- import { u as useOnboardingStatus } from "./useOnboardingStatus-CJrlnkvv.js";
13
- import { O as OnboardingStatuses } from "./view-verification-status-VFcBydkR.js";
14
- import { E as EmbeddedStatus } from "./EmbeddedStatus-BID4yaOx.js";
15
- function ManageIndividualComponent({
16
- legalEntityId,
17
- onClick
18
- }) {
19
- const { i18n } = useTranslation();
20
- const { rootLegalEntityId: currentLegalEntityId } = useApiContext();
21
- currentLegalEntityId.value = legalEntityId;
22
- addResourceBundles(i18n, [
23
- { ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-C1maG7_G.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-Dq3xx45p.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-CoqZjIMT.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-CLMlbqGz.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-BEOd56RY.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-CsZ-qrGt.js").then((n) => n.bG), "../../../language/locales/es-ES.json": () => import("./es-ES-BnPWZP0s.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-rYc8-Bm2.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-CYEjY7DQ.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-CsJuDM2B.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-DMSNClBZ.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-DQlYtR9y.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-C9cOsMxY.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-NuKpFRZl.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-DPU2ZqVt.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-BD8xCiCe.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-CBnYVFv_.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-C690hkyd.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-BDclj9dt.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-B4wCnZ06.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-C6teRGuD.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-PA9lKU0J.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-DmqCF6I9.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-DnT4vnh4.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-DopUU1N2.js") }), `../../../language/locales/${lang}.json`, 6) }
24
- ]);
25
- const { data: legalEntityData } = useLegalEntity(ROOT_LE);
26
- const { isPending, data: onboardingStatusData } = useOnboardingStatus({
27
- refetchInterval: (res) => res.state.data?.status === OnboardingStatuses.AWAITING_DATA ? 3e3 : false
28
- });
29
- const name = legalEntityData?.individual?.name;
30
- const fullName = name ? `${name.firstName} ${name.lastName}` : "";
31
- const subtitle = legalEntityData?.individual?.email ?? "";
32
- const status = onboardingStatusData?.status;
33
- return /* @__PURE__ */ jsx(
34
- EmbeddedStatus,
35
- {
36
- onClick,
37
- title: fullName,
38
- subtitle,
39
- status,
40
- loading: isPending
41
- }
42
- );
43
- }
44
- export {
45
- ManageIndividualComponent as M
46
- };
@@ -1,50 +0,0 @@
1
- ;
2
- {
3
- try {
4
- let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "4885c45b-4dd9-409a-94a1-18d29e0e2d6b", e._sentryDebugIdIdentifier = "sentry-dbid-4885c45b-4dd9-409a-94a1-18d29e0e2d6b");
6
- } catch (e) {
7
- }
8
- }
9
- ;
10
- import { u as useTranslation, a as addResourceBundles, L as Loader, y as EntityTypes, g as getLegalEntityCountry, B as TaskTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-CsZ-qrGt.js";
11
- import { jsx } from "preact/jsx-runtime";
12
- import { u as useCapabilityProblems, g as getProblemsForEntity } from "./Image-T-D-HDf5.js";
13
- import { h as filterProblemsByTaskForms } from "./OnboardingDropinComponent-DstStqYS.js";
14
- import { u as useBusinessDetailsData, g as getForms, B as BusinessDetailsDropin } from "./useBusinessDetailsData-BsXXL7fg.js";
15
- const RootBusinessDetailsPage = ({
16
- onSubmit,
17
- handleHomeClick
18
- }) => {
19
- const { i18n } = useTranslation();
20
- const capabilityProblems = useCapabilityProblems();
21
- const taskType = TaskTypes.BUSINESS_DETAILS;
22
- const { data, isLoading } = useBusinessDetailsData(taskType);
23
- addResourceBundles(i18n, [
24
- { ns: "business", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../language/bg-BG.json": () => import("./bg-BG-D4k_k98M.js"), "../language/cs-CZ.json": () => import("./cs-CZ-nIWwyOHK.js"), "../language/da-DK.json": () => import("./da-DK-CrtuBoDC.js"), "../language/de-DE.json": () => import("./de-DE-mH3MobT9.js"), "../language/el-GR.json": () => import("./el-GR-Ckn_3h1a.js"), "../language/en-US.json": () => import("./en-US-d4WBvUW7.js"), "../language/es-ES.json": () => import("./es-ES-CnyVffM-.js"), "../language/et-EE.json": () => import("./et-EE-RzdBGxDM.js"), "../language/fi-FI.json": () => import("./fi-FI-kXC-0USa.js"), "../language/fr-FR.json": () => import("./fr-FR-6YOKsDLQ.js"), "../language/hr-HR.json": () => import("./hr-HR-fyublN95.js"), "../language/hu-HU.json": () => import("./hu-HU-CpJDiSu2.js"), "../language/it-IT.json": () => import("./it-IT-DyCHFg-b.js"), "../language/ja-JP.json": () => import("./ja-JP-4Q9zp35q.js"), "../language/lt-LT.json": () => import("./lt-LT-CKE7_7_A.js"), "../language/lv-LV.json": () => import("./lv-LV-D4Ik0yoE.js"), "../language/nl-NL.json": () => import("./nl-NL-DkbhmJAw.js"), "../language/no-NO.json": () => import("./no-NO-Df5qUoTc.js"), "../language/pl-PL.json": () => import("./pl-PL-ggZjqXWE.js"), "../language/pt-BR.json": () => import("./pt-BR-BOOm5lRR.js"), "../language/pt-PT.json": () => import("./pt-PT-BDfNlThr.js"), "../language/ro-RO.json": () => import("./ro-RO-BRngQXgs.js"), "../language/sk-SK.json": () => import("./sk-SK-y9eb7N6i.js"), "../language/sl-SI.json": () => import("./sl-SI-CGvCdquD.js"), "../language/sv-SE.json": () => import("./sv-SE-BP2Oun8l.js") }), `../language/${lang}.json`, 3) }
25
- ]);
26
- if (isLoading) {
27
- return /* @__PURE__ */ jsx(Loader, {});
28
- }
29
- const { rootLe, efpBusinessLines, documents } = data;
30
- const entityProblems = capabilityProblems ? getProblemsForEntity(capabilityProblems, EntityTypes.LEGAL_ENTITY, rootLe.id) : void 0;
31
- const country = getLegalEntityCountry(rootLe);
32
- const initialForms = Object.keys(getForms(country, taskType));
33
- const problemsByTask = filterProblemsByTaskForms(entityProblems, initialForms);
34
- return /* @__PURE__ */ jsx(
35
- BusinessDetailsDropin,
36
- {
37
- taskType,
38
- legalEntityResponse: rootLe,
39
- efpBusinessLines,
40
- documents,
41
- problems: problemsByTask,
42
- country,
43
- onSubmit,
44
- handleHomeClick
45
- }
46
- );
47
- };
48
- export {
49
- RootBusinessDetailsPage
50
- };
@@ -1,50 +0,0 @@
1
- ;
2
- {
3
- try {
4
- let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "bf1fd947-110d-4c39-9614-443381bb4e18", e._sentryDebugIdIdentifier = "sentry-dbid-bf1fd947-110d-4c39-9614-443381bb4e18");
6
- } catch (e) {
7
- }
8
- }
9
- ;
10
- import { u as useTranslation, c as useLegalEntity, a as addResourceBundles, L as Loader, g as getLegalEntityCountry, B as TaskTypes, y as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-CsZ-qrGt.js";
11
- import { jsx } from "preact/jsx-runtime";
12
- import { skipToken } from "@tanstack/preact-query";
13
- import { u as useCapabilityProblems, g as getProblemsForEntity } from "./Image-T-D-HDf5.js";
14
- import { u as useBusinessDetailsData, B as BusinessDetailsDropin } from "./useBusinessDetailsData-BsXXL7fg.js";
15
- function SoleProprietorshipPage({
16
- solePropId,
17
- onSubmit,
18
- handleHomeClick
19
- }) {
20
- const { i18n } = useTranslation();
21
- const { data: solePropLe } = useLegalEntity(solePropId ?? skipToken);
22
- const capabilityProblems = useCapabilityProblems();
23
- const { data, isLoading } = useBusinessDetailsData(TaskTypes.TRUST_MEMBER_COMPANY, solePropLe);
24
- addResourceBundles(i18n, [
25
- { ns: "business", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../Business/language/bg-BG.json": () => import("./bg-BG-D4k_k98M.js"), "../../Business/language/cs-CZ.json": () => import("./cs-CZ-nIWwyOHK.js"), "../../Business/language/da-DK.json": () => import("./da-DK-CrtuBoDC.js"), "../../Business/language/de-DE.json": () => import("./de-DE-mH3MobT9.js"), "../../Business/language/el-GR.json": () => import("./el-GR-Ckn_3h1a.js"), "../../Business/language/en-US.json": () => import("./en-US-d4WBvUW7.js"), "../../Business/language/es-ES.json": () => import("./es-ES-CnyVffM-.js"), "../../Business/language/et-EE.json": () => import("./et-EE-RzdBGxDM.js"), "../../Business/language/fi-FI.json": () => import("./fi-FI-kXC-0USa.js"), "../../Business/language/fr-FR.json": () => import("./fr-FR-6YOKsDLQ.js"), "../../Business/language/hr-HR.json": () => import("./hr-HR-fyublN95.js"), "../../Business/language/hu-HU.json": () => import("./hu-HU-CpJDiSu2.js"), "../../Business/language/it-IT.json": () => import("./it-IT-DyCHFg-b.js"), "../../Business/language/ja-JP.json": () => import("./ja-JP-4Q9zp35q.js"), "../../Business/language/lt-LT.json": () => import("./lt-LT-CKE7_7_A.js"), "../../Business/language/lv-LV.json": () => import("./lv-LV-D4Ik0yoE.js"), "../../Business/language/nl-NL.json": () => import("./nl-NL-DkbhmJAw.js"), "../../Business/language/no-NO.json": () => import("./no-NO-Df5qUoTc.js"), "../../Business/language/pl-PL.json": () => import("./pl-PL-ggZjqXWE.js"), "../../Business/language/pt-BR.json": () => import("./pt-BR-BOOm5lRR.js"), "../../Business/language/pt-PT.json": () => import("./pt-PT-BDfNlThr.js"), "../../Business/language/ro-RO.json": () => import("./ro-RO-BRngQXgs.js"), "../../Business/language/sk-SK.json": () => import("./sk-SK-y9eb7N6i.js"), "../../Business/language/sl-SI.json": () => import("./sl-SI-CGvCdquD.js"), "../../Business/language/sv-SE.json": () => import("./sv-SE-BP2Oun8l.js") }), `../../Business/language/${lang}.json`, 5) }
26
- ]);
27
- if (isLoading || solePropId && !solePropLe) {
28
- return /* @__PURE__ */ jsx(Loader, {});
29
- }
30
- const { rootLe, efpBusinessLines, documents } = data;
31
- const problems = capabilityProblems && solePropId ? getProblemsForEntity(capabilityProblems, EntityTypes.LEGAL_ENTITY, solePropId) : void 0;
32
- const country = getLegalEntityCountry(solePropLe ?? rootLe);
33
- return /* @__PURE__ */ jsx(
34
- BusinessDetailsDropin,
35
- {
36
- taskType: TaskTypes.SOLE_PROPRIETOR_COMPANY,
37
- legalEntityResponse: rootLe,
38
- efpBusinessLines,
39
- documents,
40
- associatedLegalArrangement: solePropLe,
41
- problems: problems ?? {},
42
- country,
43
- onSubmit,
44
- handleHomeClick
45
- }
46
- );
47
- }
48
- export {
49
- SoleProprietorshipPage
50
- };
@@ -1,65 +0,0 @@
1
- ;
2
- {
3
- try {
4
- let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "0e653a44-dd10-43cd-ad13-7abcefbb6dae", e._sentryDebugIdIdentifier = "sentry-dbid-0e653a44-dd10-43cd-ad13-7abcefbb6dae");
6
- } catch (e) {
7
- }
8
- }
9
- ;
10
- import { u as useTranslation, c as useLegalEntity, a as addResourceBundles, L as Loader, g as getLegalEntityCountry, B as TaskTypes, y as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-CsZ-qrGt.js";
11
- import { jsx } from "preact/jsx-runtime";
12
- import { skipToken } from "@tanstack/preact-query";
13
- import { k as useTrustMembers } from "./OnboardingDropinComponent-DstStqYS.js";
14
- import { u as useCapabilityProblems, g as getProblemsForEntity } from "./Image-T-D-HDf5.js";
15
- import { u as useBusinessDetailsData, B as BusinessDetailsDropin } from "./useBusinessDetailsData-BsXXL7fg.js";
16
- function TrustMemberCompanyPage({
17
- trustId,
18
- trustMemberCompanyId,
19
- newMember,
20
- onSubmit,
21
- handleHomeClick
22
- }) {
23
- const { i18n } = useTranslation();
24
- const { data: trustLe } = useLegalEntity(trustId);
25
- const { data: trustMemberCompanyLe } = useLegalEntity(trustMemberCompanyId ?? skipToken);
26
- const trustMembers = useTrustMembers();
27
- const capabilityProblems = useCapabilityProblems();
28
- const { data, isLoading } = useBusinessDetailsData(
29
- TaskTypes.TRUST_MEMBER_COMPANY,
30
- trustLe,
31
- trustMemberCompanyLe
32
- );
33
- addResourceBundles(i18n, [
34
- { ns: "business", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../Business/language/bg-BG.json": () => import("./bg-BG-D4k_k98M.js"), "../../Business/language/cs-CZ.json": () => import("./cs-CZ-nIWwyOHK.js"), "../../Business/language/da-DK.json": () => import("./da-DK-CrtuBoDC.js"), "../../Business/language/de-DE.json": () => import("./de-DE-mH3MobT9.js"), "../../Business/language/el-GR.json": () => import("./el-GR-Ckn_3h1a.js"), "../../Business/language/en-US.json": () => import("./en-US-d4WBvUW7.js"), "../../Business/language/es-ES.json": () => import("./es-ES-CnyVffM-.js"), "../../Business/language/et-EE.json": () => import("./et-EE-RzdBGxDM.js"), "../../Business/language/fi-FI.json": () => import("./fi-FI-kXC-0USa.js"), "../../Business/language/fr-FR.json": () => import("./fr-FR-6YOKsDLQ.js"), "../../Business/language/hr-HR.json": () => import("./hr-HR-fyublN95.js"), "../../Business/language/hu-HU.json": () => import("./hu-HU-CpJDiSu2.js"), "../../Business/language/it-IT.json": () => import("./it-IT-DyCHFg-b.js"), "../../Business/language/ja-JP.json": () => import("./ja-JP-4Q9zp35q.js"), "../../Business/language/lt-LT.json": () => import("./lt-LT-CKE7_7_A.js"), "../../Business/language/lv-LV.json": () => import("./lv-LV-D4Ik0yoE.js"), "../../Business/language/nl-NL.json": () => import("./nl-NL-DkbhmJAw.js"), "../../Business/language/no-NO.json": () => import("./no-NO-Df5qUoTc.js"), "../../Business/language/pl-PL.json": () => import("./pl-PL-ggZjqXWE.js"), "../../Business/language/pt-BR.json": () => import("./pt-BR-BOOm5lRR.js"), "../../Business/language/pt-PT.json": () => import("./pt-PT-BDfNlThr.js"), "../../Business/language/ro-RO.json": () => import("./ro-RO-BRngQXgs.js"), "../../Business/language/sk-SK.json": () => import("./sk-SK-y9eb7N6i.js"), "../../Business/language/sl-SI.json": () => import("./sl-SI-CGvCdquD.js"), "../../Business/language/sv-SE.json": () => import("./sv-SE-BP2Oun8l.js") }), `../../Business/language/${lang}.json`, 5) },
35
- { ns: "trust", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../language/bg-BG.json": () => import("./bg-BG-CepHap8j.js"), "../language/cs-CZ.json": () => import("./cs-CZ-BP7niQM9.js"), "../language/da-DK.json": () => import("./da-DK-Dc0QYG8m.js"), "../language/de-DE.json": () => import("./de-DE-Dz2OsS1F.js"), "../language/el-GR.json": () => import("./el-GR-BHG69mXl.js"), "../language/en-US.json": () => import("./en-US-D-B35AoN.js"), "../language/es-ES.json": () => import("./es-ES-BI_jdT67.js"), "../language/et-EE.json": () => import("./et-EE-C_PZO2aI.js"), "../language/fi-FI.json": () => import("./fi-FI-hwzizPnr.js"), "../language/fr-FR.json": () => import("./fr-FR-CYZXbwc9.js"), "../language/hr-HR.json": () => import("./hr-HR-bE6cvRCQ.js"), "../language/hu-HU.json": () => import("./hu-HU-DG-NUDx4.js"), "../language/it-IT.json": () => import("./it-IT-Erh1DIlj.js"), "../language/ja-JP.json": () => import("./ja-JP-CWJzqrtj.js"), "../language/lt-LT.json": () => import("./lt-LT-Nd1uRoIj.js"), "../language/lv-LV.json": () => import("./lv-LV-DKhV24CI.js"), "../language/nl-NL.json": () => import("./nl-NL-O9GCHMDA.js"), "../language/no-NO.json": () => import("./no-NO-CA1aR6Wh.js"), "../language/pl-PL.json": () => import("./pl-PL-BKDK0_G8.js"), "../language/pt-BR.json": () => import("./pt-BR-NtLaWlnZ.js"), "../language/pt-PT.json": () => import("./pt-PT-DSxxVA0f.js"), "../language/ro-RO.json": () => import("./ro-RO-Bybq8JFn.js"), "../language/sk-SK.json": () => import("./sk-SK-C6rMIxpz.js"), "../language/sl-SI.json": () => import("./sl-SI-tPwbFvOI.js"), "../language/sv-SE.json": () => import("./sv-SE-K1QT1cOt.js") }), `../language/${lang}.json`, 3) }
36
- ]);
37
- if (isLoading || !trustLe || trustMemberCompanyId && !trustMemberCompanyLe) {
38
- return /* @__PURE__ */ jsx(Loader, {});
39
- }
40
- const { rootLe, efpBusinessLines, documents } = data;
41
- const problems = capabilityProblems && trustMemberCompanyId ? getProblemsForEntity(capabilityProblems, EntityTypes.LEGAL_ENTITY, trustMemberCompanyId) : void 0;
42
- const country = getLegalEntityCountry(trustMemberCompanyLe ?? trustLe);
43
- const trustMember = newMember ?? trustMembers.find(
44
- (tm) => tm.trustMemberType !== "undefinedBeneficiary" && tm.legalEntityId === trustMemberCompanyId
45
- );
46
- return /* @__PURE__ */ jsx(
47
- BusinessDetailsDropin,
48
- {
49
- taskType: TaskTypes.TRUST_MEMBER_COMPANY,
50
- legalEntityResponse: rootLe,
51
- efpBusinessLines,
52
- documents,
53
- associatedLegalArrangement: trustLe,
54
- nestedLegalEntity: trustMemberCompanyLe,
55
- nestedLegalEntityDetails: trustMember,
56
- problems,
57
- country,
58
- onSubmit,
59
- handleHomeClick
60
- }
61
- );
62
- }
63
- export {
64
- TrustMemberCompanyPage
65
- };