@adyen/kyc-components 4.23.0 → 4.24.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 (798) hide show
  1. package/dist/{4-people-Dxu4nHSX.js → 4-people-DKuivE0m.js} +2 -2
  2. package/dist/{AcceptTermsOfServiceWorkflow-CvKbU2WY.js → AcceptTermsOfServiceWorkflow-CyMefc3t.js} +4 -4
  3. package/dist/{Accordion-Sjyj7C_t.js → Accordion-Dgdxfe-d.js} +1 -1
  4. package/dist/{AccountSetupRejected-Cq_nlmLn.js → AccountSetupRejected-D63dyojj.js} +4 -3
  5. package/dist/AdaptiveWorkflow-DC4QviLh.js +33 -0
  6. package/dist/{AdaptiveWorkflowComponent-tM1hJ1zF.js → AdaptiveWorkflowComponent-CsNPizq0.js} +62 -61
  7. package/dist/{AddressFields-BsxEdBvQ.js → AddressFields-BeeqIqdc.js} +15 -11
  8. package/dist/Alert-Cc7p0N5h.js +172 -0
  9. package/dist/AnalyticsContext-CpimDlw4.js +21 -0
  10. package/dist/{Avatar-Zp1T9qAL.js → Avatar-oTPu6Ejy.js} +1 -1
  11. package/dist/{BusinessFinancingDropin-vugW4Vvi.js → BusinessFinancingDropin-DYJS13vd.js} +50 -37
  12. package/dist/{BusinessFinancingPage-0J_LImeN.js → BusinessFinancingPage-DbTrQ1kt.js} +34 -34
  13. package/dist/{BusinessRegistrationNumberField-qdC_srMn.js → BusinessRegistrationNumberField-DKka8aVU.js} +8 -6
  14. package/dist/{BusinessRegistrationNumberFieldGroup-BvC9n4ou.js → BusinessRegistrationNumberFieldGroup-Df6_sDA0.js} +8 -6
  15. package/dist/{BusinessTypeSelectionPage-WCEqP4G2.js → BusinessTypeSelectionPage-C0xUipfe.js} +20 -20
  16. package/dist/{Button-DfRmINzF.js → Button-DPJ1k02w.js} +30 -30
  17. package/dist/{Checkbox-B730k3Yy.js → Checkbox-qfdF12cF.js} +3 -51
  18. package/dist/{ComponentGroup-CsnkYMbT.js → ComponentGroup-Cw_2w0Rf.js} +4 -4
  19. package/dist/Confirm-DoN9R9Z3.js +77 -0
  20. package/dist/{ConstitutionalDocument-D92EPGmG.js → ConstitutionalDocument-Bbo7P_gi.js} +30 -25
  21. package/dist/{ContactDetails-DDSd6X0z.js → ContactDetails-CUjFd94x.js} +12 -7
  22. package/dist/{ContextGuidance-B2ew1lzC.js → ContextGuidance-BQPwRscq.js} +3 -3
  23. package/dist/{ContractViewer-JtnAXSDa.js → ContractViewer-CG9UNGz1.js} +65 -14
  24. package/dist/CountryField-DT6-Jr_b.js +38 -0
  25. package/dist/{Currency-BKTf95Wp.js → Currency-C-sSDMn7.js} +8 -7
  26. package/dist/{CustomerSupport-CCFayyJG.js → CustomerSupport-C2DrnwDs.js} +19 -18
  27. package/dist/{DataConflictsModal-D-fP_eNs.js → DataConflictsModal-CCaMgguu.js} +10 -9
  28. package/dist/{DebugModal-CG6CvUnj.js → DebugModal-CDfvQRk6.js} +18 -12
  29. package/dist/{DecisionMakerDetails-DWC1nORL.js → DecisionMakerDetails-Dhi6hsrv.js} +90 -86
  30. package/dist/{DecisionMakerDetailsPage-BVXA74FO.js → DecisionMakerDetailsPage-DLgKrPA3.js} +43 -44
  31. package/dist/{DecisionMakers-Cvm_i6Uf.js → DecisionMakers-B6Qd9fuT.js} +53 -48
  32. package/dist/{Dropzone-CNHxDEc3.js → Dropzone-BhMYy4nr.js} +8 -8
  33. package/dist/{EmbeddedStatus-tbJfdxm8.js → EmbeddedStatus-CYd2p4sP.js} +4 -4
  34. package/dist/{EndStateLayout-BK1Hh02g.js → EndStateLayout-zZPm8S5M.js} +3 -3
  35. package/dist/{EntityAssociation-i903L9Dh.js → EntityAssociation-C2_Xuvf5.js} +7 -7
  36. package/dist/{ErrorPanel-tnFOlOZU.js → ErrorPanel-D4JNFkvi.js} +6 -6
  37. package/dist/Field-DwDJQVSS.js +154 -0
  38. package/dist/FormFlow.module-DqMxjYHl.js +20 -0
  39. package/dist/{GlobalEntryModal-DQoIIvGS.js → GlobalEntryModal-iZSUeMQf.js} +444 -216
  40. package/dist/{GlobalEntryPage-DLRGPpAu.js → GlobalEntryPage-w4KJOeYb.js} +11 -11
  41. package/dist/Header-DVLlJ6we.js +93 -0
  42. package/dist/Icon-4XR6gZzk.js +175 -0
  43. package/dist/{IdentityNumber-B8MXzXsO.js → IdentityNumber-3V6ZqvHB.js} +10 -6
  44. package/dist/{IdentityNumberFieldGroup-D7xb2TY7.js → IdentityNumberFieldGroup-CAjlgTWn.js} +2 -2
  45. package/dist/{IdentityScreeningWorkflow-BdGXtdns.js → IdentityScreeningWorkflow-Bx89cmUF.js} +15 -15
  46. package/dist/{Image-D82terx4.js → Image-Bn_Yyuof.js} +1 -1
  47. package/dist/{IndividualDropin-C0vTSDYU.js → IndividualDropin-BgOmBeoT.js} +126 -89
  48. package/dist/{IndustryCodeFieldGroup-CGcE5yYR.js → IndustryCodeFieldGroup-BDtoeaUz.js} +7 -6
  49. package/dist/{InputDate-Ci60MBrH.js → InputDate-ANdv1rKt.js} +3 -3
  50. package/dist/{InputText-CTpVF0Mu.js → InputText-CFDEmEtp.js} +4 -39
  51. package/dist/{Introduction-Dx6DDaL7.js → Introduction-D8hMB7Wb.js} +16 -17
  52. package/dist/{InvitedDecisionMakerComponent-Ckd26d6Y.js → InvitedDecisionMakerComponent-DZZe5Ruk.js} +76 -76
  53. package/dist/{JpAddressFields-C9MbL5XV.js → JpAddressFields-BIh4120-.js} +11 -10
  54. package/dist/LandingLayout-BsIoIFzs.js +76 -0
  55. package/dist/{LegalCompanyNameField-D0jM5LDT.js → LegalCompanyNameField-Cosyjk52.js} +5 -5
  56. package/dist/{LegalName-TjhII9_p.js → LegalName-CtqIpsfy.js} +4 -4
  57. package/dist/LegalRepresentativeDetailsPage-Mpm8AjdQ.js +73 -0
  58. package/dist/{Link-c2jAgGgc.js → Link-CvYhseSD.js} +1 -1
  59. package/dist/{ListItem-C35r8558.js → ListItem-CYTpdOMa.js} +4 -27
  60. package/dist/{Loader-BEpMlKm2.js → Loader-BVtlpTeo.js} +1 -1
  61. package/dist/LoaderWrapper-Dc88hY-P.js +34 -0
  62. package/dist/MaybeModal-C4ySaA8A.js +24 -0
  63. package/dist/{Modal-BsivDPTd.js → Modal-CHES6970.js} +5 -25
  64. package/dist/{Name-DMf8Uyof.js → Name-CdCsijr5.js} +5 -5
  65. package/dist/{NewSummary-DxWLTnJy.js → NewSummary-D55f70wB.js} +7 -7
  66. package/dist/{AdaptiveWorkflow-CM7ZVGXv.js → NodeRenderer-smgxe7Ni.js} +20 -45
  67. package/dist/{PatriotActDisclosure-ChZ_ePr2.js → PatriotActDisclosure-DA6nqTmC.js} +13 -12
  68. package/dist/{PayoutDetailsDropin-BhtJSFAS.js → PayoutDetailsDropin-BH1Sj6GM.js} +89 -58
  69. package/dist/PayoutDetailsPage-B7mZmc51.js +69 -0
  70. package/dist/ProgressBar-DWFxLMUA.js +38 -0
  71. package/dist/RadioGroup-Bf3DlQnZ.js +47 -0
  72. package/dist/RadioWithLabel-DQIOEYpF.js +45 -0
  73. package/dist/{Review-DImhCvoG.js → Review-9sjGKoQu.js} +7 -7
  74. package/dist/RootBusinessDetailsPage-DRN6p6wB.js +67 -0
  75. package/dist/{RootBusinessLinesPage-C_p-CtCH.js → RootBusinessLinesPage-uxn9f5K8.js} +39 -30
  76. package/dist/RootIndividualDetailsPage-BDoKkhcN.js +82 -0
  77. package/dist/{Select-ByVcS_J2.js → Select-phAxjMBQ.js} +46 -357
  78. package/dist/{SignPCIComponent-CAwp2xCC.js → SignPCIComponent-BNlTxxJz.js} +51 -48
  79. package/dist/{SingpassSelection-Txx3gp_g.js → SingpassSelection-B6_DsZtn.js} +12 -13
  80. package/dist/SoleProprietorshipPage-Dx-pfSwo.js +69 -0
  81. package/dist/{SourceOfFundsPage-B22iW1ow.js → SourceOfFundsPage-ChO-R9o4.js} +95 -76
  82. package/dist/{SourceOfFundsWorkflow-BKHZbLR_.js → SourceOfFundsWorkflow-DuU_n82x.js} +4 -4
  83. package/dist/StateContext-B2_Pqd_y.js +9 -0
  84. package/dist/StateField-BpMwetvd.js +55 -0
  85. package/dist/{Step-BUMarnLL.js → Step-CctAUYbs.js} +6 -6
  86. package/dist/StructuredList-nPasiuLi.js +56 -0
  87. package/dist/Summary-DM31WxLr.js +235 -0
  88. package/dist/{Task-Bj_CjiHG.js → Task-C12uuPWD.js} +8 -8
  89. package/dist/{TaskGroup-BMXhoq1Y.js → TaskGroup-z3ONGLnB.js} +4 -4
  90. package/dist/{TaskListItem-BIKdDEzU.js → TaskListItem-Dx3hKOqG.js} +11 -11
  91. package/dist/{TaskStepperContextProvider-D0tKJplv.js → TaskStepperContextProvider-DdcsqXT7.js} +1 -1
  92. package/dist/{TaskVerificationStatus-DPA4ZEPa.js → TaskVerificationStatus-DEXk_ndE.js} +3 -3
  93. package/dist/TaxInformationField-Cc-NDAVo.js +242 -0
  94. package/dist/{TaxInformationFieldGroup-D_6IRGj9.js → TaxInformationFieldGroup-DI2LzuNr.js} +16 -13
  95. package/dist/{TaxReportingDropin-DA475crP.js → TaxReportingDropin-LNgisxBc.js} +23 -18
  96. package/dist/{TaxReportingWorkflow-kcto0Ysw.js → TaxReportingWorkflow-9_9ECX6A.js} +4 -4
  97. package/dist/{TermsOfServiceManagement-HDnaIeWZ.js → TermsOfServiceManagement-BGrBal0j.js} +59 -50
  98. package/dist/{TextArea-qbFhi8Az.js → TextArea-qGEo3PFG.js} +5 -5
  99. package/dist/TileGroup-D1-M64Ul.js +172 -0
  100. package/dist/ToastContext-B_wd2IY2.js +13 -0
  101. package/dist/ToastContextProvider-DjYKMflX.js +103 -0
  102. package/dist/{TrustDetailsPage-BqVS0xOU.js → TrustDetailsPage-cx6yEd6Q.js} +68 -51
  103. package/dist/TrustMemberCompanyPage-DZh9Wn9-.js +108 -0
  104. package/dist/TrustMemberIndividualPage--tTWII4G.js +108 -0
  105. package/dist/{TrustMemberRoleAndTypePage-GXWuitmt.js → TrustMemberRoleAndTypePage-DEzesajA.js} +51 -41
  106. package/dist/{TrustMembersOverview-BjJ5fPcC.js → TrustMembersOverview-BpJGWVT5.js} +23 -19
  107. package/dist/{UboTaskItem-Aq3iNKX0.js → UboTaskItem-DP5LOGom.js} +8 -8
  108. package/dist/UnincorporatedPartnershipIndividualPage-DelW_XAz.js +78 -0
  109. package/dist/{UnincorporatedPartnershipMemberCompanyPage-h3OTr_91.js → UnincorporatedPartnershipMemberCompanyPage-BdnBsGK9.js} +36 -37
  110. package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-CwemN4fL.js → UnincorporatedPartnershipMemberRoleAndTypePage-DpdTiLc-.js} +20 -18
  111. package/dist/{UnincorporatedPartnershipMembersOverview-CUczPfUl.js → UnincorporatedPartnershipMembersOverview-BBeans9j.js} +17 -15
  112. package/dist/{VerificationErrorAlert-BBfoLMwb.js → VerificationErrorAlert-CixajVtq.js} +4 -30
  113. package/dist/{Workflow-Do7P-qDn.js → Workflow-BJbKhY38.js} +8 -8
  114. package/dist/_rolldown_dynamic_import_helper-sGNwd-kR.js +14 -0
  115. package/dist/{accountHolderUtils-DMi_DHCU.js → accountHolderUtils-CAu4V0ed.js} +11 -12
  116. package/dist/adyen-business-financing.js +37 -36
  117. package/dist/adyen-individual-configuration.js +64 -64
  118. package/dist/adyen-individual-status.js +32 -31
  119. package/dist/adyen-invited-decision-maker.js +3 -3
  120. package/dist/adyen-onboarding.js +104 -96
  121. package/dist/adyen-terms-of-service-management.js +3 -3
  122. package/dist/adyen-terms-of-service-status.js +7 -6
  123. package/dist/adyen-transfer-instrument-configuration.js +61 -60
  124. package/dist/adyen-transfer-instrument-management.js +75 -69
  125. package/dist/adyen-verification-status.js +8 -6
  126. package/dist/{arrow-right-Bk-ewsex.js → arrow-right-D2hul7WG.js} +2 -2
  127. package/dist/bafinUtils-DDrD6bfK.js +96 -0
  128. package/dist/{bag-9BNq_QQO.js → bag-CRRS1aow.js} +2 -2
  129. package/dist/{bank-BRbxxVK5.js → bank-BoirCLLW.js} +2 -2
  130. package/dist/bg-BG-B0Ia8sQm.js +7 -0
  131. package/dist/bg-BG-B2xaZ3wB.js +7 -0
  132. package/dist/bg-BG-DAR7_x2a.js +7 -0
  133. package/dist/bg-BG-DqfAUTUt.js +7 -0
  134. package/dist/bg-BG-ivZjQNJZ.js +7 -0
  135. package/dist/{bin-DE1613_5.js → bin-BOmfqfrr.js} +2 -2
  136. package/dist/birthDateUtils-D6uk7zwm.js +84 -0
  137. package/dist/{businessRegistrationNumberPatterns-C_MSKHlF.js → businessRegistrationNumberPatterns-A08SLm03.js} +3 -2
  138. package/dist/{capital-aNk7ragc.js → capital-DTjbiurV.js} +2 -2
  139. package/dist/{cash-stack-DuKKc4Qj.js → cash-stack-7KpYpBek.js} +2 -2
  140. package/dist/{certificate-9gDKvXCm.js → certificate-BPuoJ6Ip.js} +2 -2
  141. package/dist/{checkmark-BuqDN4WO.js → checkmark-BiSLf8M1.js} +2 -2
  142. package/dist/{checkmark-circle-OqcwA6N6.js → checkmark-circle-Ams7bSve.js} +2 -2
  143. package/dist/{checkmark-circle-fill-BfcUovCf.js → checkmark-circle-fill-_p4ss4ac.js} +2 -2
  144. package/dist/{checkmark-small-CBORXg_J.js → checkmark-small-3bw4ftPV.js} +2 -2
  145. package/dist/{chevron-down-CjRta08O.js → chevron-down-GgZawvoy.js} +2 -2
  146. package/dist/{chevron-left-BEm04mIh.js → chevron-left-TeZTTvo5.js} +2 -2
  147. package/dist/{chevron-right-B2GkHG0J.js → chevron-right-Cg8XlTxx.js} +2 -2
  148. package/dist/{chevron-up-BKfe5Btb.js → chevron-up-COQUTli0.js} +2 -2
  149. package/dist/{circle-C-uuRI8F.js → circle-CypWzg83.js} +2 -2
  150. package/dist/{circle-small-filled-Bkh5_ZEu.js → circle-small-filled-DfdK2A35.js} +2 -2
  151. package/dist/{clock-BWfWiMxz.js → clock-DmfGJ2r9.js} +2 -2
  152. package/dist/{coins-Cw-jDTUz.js → coins-CBvbB8_X.js} +2 -2
  153. package/dist/{constants-BSBlqXY7.js → constants-C8yo0_RA.js} +7 -5
  154. package/dist/{contract-PFVBW8xa.js → contract-D1_RJ_xh.js} +2 -2
  155. package/dist/{countries-BE4iGVAo.js → countries-BGMTpyJv.js} +1 -1
  156. package/dist/{country-zZC2TAQB.js → country-BEZkohEO.js} +2 -2
  157. package/dist/{cross-B37j1-r4.js → cross-BORHADVQ.js} +2 -2
  158. package/dist/{cross-circle-fill-CcjwpLj2.js → cross-circle-fill-CUXdo1x-.js} +2 -2
  159. package/dist/{cross-circle-fill-small-CJ4fddNo.js → cross-circle-fill-small-DdoPZZeo.js} +2 -2
  160. package/dist/cs-CZ-BwO4yrI4.js +7 -0
  161. package/dist/cs-CZ-CHMQYoMF.js +7 -0
  162. package/dist/cs-CZ-DsKlW7_D.js +7 -0
  163. package/dist/cs-CZ-NVntX32n.js +7 -0
  164. package/dist/cs-CZ-ywYpJk1F.js +7 -0
  165. package/dist/da-DK-BvT8Ob4A.js +7 -0
  166. package/dist/da-DK-BzBfkSME.js +7 -0
  167. package/dist/da-DK-CE7jnGea.js +7 -0
  168. package/dist/da-DK-DH5YNYFM.js +7 -0
  169. package/dist/da-DK-LPtdP8h0.js +7 -0
  170. package/dist/datasetUtil-BdHPWsxZ.js +45 -0
  171. package/dist/de-DE-C9cUCFOi.js +7 -0
  172. package/dist/de-DE-Cn866nnd.js +7 -0
  173. package/dist/de-DE-DA4LpyZI.js +7 -0
  174. package/dist/de-DE-DKkoZQ0X.js +7 -0
  175. package/dist/de-DE-DY_EJohI.js +7 -0
  176. package/dist/de-DE-vdy64knk.js +7 -0
  177. package/dist/debouncedInputEvent-Fwwp_K_-.js +54 -0
  178. package/dist/debugStore-Dwn1FXrh.js +9 -0
  179. package/dist/decision-makers-group-iEF9oKPp.js +2673 -0
  180. package/dist/{decisionMakerRoles-APTR-Ah_.js → decisionMakerRoles-C6LMC4mh.js} +2 -2
  181. package/dist/{document-1-B3vw8uuK.js → document-1-qvV57JdS.js} +2 -2
  182. package/dist/{document-person-CERdIfH0.js → document-person-DiJ7M8-D.js} +2 -2
  183. package/dist/{download-CthdK4dV.js → download-Ca4w0Yfr.js} +2 -2
  184. package/dist/dropinUtils-DTBezwYT.js +491 -0
  185. package/dist/{edit-1-BW7NwWP7.js → edit-1-D8VhDchs.js} +2 -2
  186. package/dist/el-GR-ChapyKa7.js +7 -0
  187. package/dist/el-GR-Cvms0L4K.js +7 -0
  188. package/dist/el-GR-D9PjIB9j.js +7 -0
  189. package/dist/el-GR-Ov9hqMNe.js +7 -0
  190. package/dist/el-GR-aelq5Q0a.js +7 -0
  191. package/dist/el-GR-zFv0QxMR.js +7 -0
  192. package/dist/en-US-B7HQdrn_.js +7 -0
  193. package/dist/en-US-CI7y0UEH.js +7 -0
  194. package/dist/en-US-C_VjFvk_.js +7 -0
  195. package/dist/{en-US-BUmtG-Wj.js → en-US-Cz4JoU20.js} +16 -2
  196. package/dist/en-US-DPr5RN3e.js +7 -0
  197. package/dist/en-US-U0d3NI20.js +7 -0
  198. package/dist/en-US-tFsDZf7y.js +7 -0
  199. package/dist/{entityAssociationUtil-CLBR9osP.js → entityAssociationUtil-CY0grcyH.js} +7 -8
  200. package/dist/{error-CpJV-CLa.js → error-BvgoQFEI.js} +4 -4
  201. package/dist/es-ES-BQrdtEfn.js +7 -0
  202. package/dist/es-ES-BdByhG4y.js +7 -0
  203. package/dist/es-ES-BzlHKYJK.js +7 -0
  204. package/dist/es-ES-DCUvAmKI.js +7 -0
  205. package/dist/es-ES-DdrA8McY.js +7 -0
  206. package/dist/es-ES-DhkTbihW.js +7 -0
  207. package/dist/es-LA-3WgncmHx.js +7 -0
  208. package/dist/es-LA-BxtxM3Ty.js +7 -0
  209. package/dist/es-LA-ChRHGYJP.js +7 -0
  210. package/dist/es-LA-JRuDva0n.js +7 -0
  211. package/dist/es-LA-i7tKJmA8.js +7 -0
  212. package/dist/et-EE-BXY66vAz.js +7 -0
  213. package/dist/et-EE-D8TSvkoE.js +7 -0
  214. package/dist/et-EE-DOgb4q9o.js +7 -0
  215. package/dist/et-EE-HHgM0CfO.js +7 -0
  216. package/dist/et-EE-V-YOCgoh.js +7 -0
  217. package/dist/{external-link-CFgynH5A.js → external-link-Dy4le-8Q.js} +2 -2
  218. package/dist/fi-FI-B-eTv4bG.js +7 -0
  219. package/dist/fi-FI-CClpbvJJ.js +7 -0
  220. package/dist/fi-FI-CVBmM-U1.js +7 -0
  221. package/dist/fi-FI-DCYPQ6vS.js +7 -0
  222. package/dist/fi-FI-DCbhu29J.js +7 -0
  223. package/dist/fieldConfigurations-CZCFghnK.js +11 -0
  224. package/dist/form-rules-B0RwhsVw.js +284 -0
  225. package/dist/formFieldsUtils-CnDkgahc.js +7 -0
  226. package/dist/formUtils-BHgG8yQZ.js +52 -0
  227. package/dist/formUtils-DVDcdZsP.js +84 -0
  228. package/dist/{formatCurrency-Cq3WFpdZ.js → formatCurrency-BetgkQKi.js} +1 -1
  229. package/dist/{formatValidationError-BHvKLMYZ.js → formatValidationError-q_w9DTrl.js} +2 -2
  230. package/dist/fr-FR-B-jA_cbo.js +7 -0
  231. package/dist/fr-FR-BIyJL6Jj.js +7 -0
  232. package/dist/fr-FR-BzyefnBh.js +7 -0
  233. package/dist/fr-FR-C1xYwHeC.js +7 -0
  234. package/dist/fr-FR-D0hY9V44.js +7 -0
  235. package/dist/fr-FR-Doo1FVx-.js +7 -0
  236. package/dist/{genUtils-Ce61IJs8.js → genUtils-nphCwt1A.js} +1 -1
  237. package/dist/{getDefaultRegistrationNumberType-CI1NVzJR.js → getDefaultRegistrationNumberType-CIu4WMln.js} +189 -188
  238. package/dist/getFormSlice-C1ma6Xd4.js +21 -0
  239. package/dist/getLegalEntityCountry-BK-HHa65.js +15 -0
  240. package/dist/{getName-s7qmFean.js → getName-DgxRqagk.js} +5 -6
  241. package/dist/{getProblemsForEntity-Bh9nSdOW.js → getProblemsForEntity-BY_voJ99.js} +3 -3
  242. package/dist/{getTrustedDecisionMakers-DX3nImM5.js → getTrustedDecisionMakers-Ta-pURcL.js} +2 -2
  243. package/dist/getTrustedFields-BJ88GlM-.js +28 -0
  244. package/dist/{gift-0jLCte2h.js → gift-Bs_mAgul.js} +2 -2
  245. package/dist/globalStore-WASei98w.js +418 -0
  246. package/dist/{graph-DrxuzQF7.js → graph-Co0JhGiY.js} +2 -2
  247. package/dist/{graph-up-4qLbS2Ds.js → graph-up-DIvH9haf.js} +2 -2
  248. package/dist/{headquarter-3o2GHW5H.js → headquarter-BESfDGKh.js} +2 -2
  249. package/dist/{hotel-pZlrEAK8.js → hotel-Vne7G5M6.js} +2 -2
  250. package/dist/hr-HR-6Wj5Tf60.js +7 -0
  251. package/dist/hr-HR-B4FRVzrd.js +7 -0
  252. package/dist/hr-HR-B6z7-PYE.js +7 -0
  253. package/dist/hr-HR-BOYktLQ2.js +7 -0
  254. package/dist/hr-HR-Ct_41fWV.js +7 -0
  255. package/dist/hu-HU-B7ofWKn_.js +7 -0
  256. package/dist/hu-HU-Bwm4UqZz.js +7 -0
  257. package/dist/hu-HU-CO_7jvk9.js +7 -0
  258. package/dist/hu-HU-CgJ_F3l2.js +7 -0
  259. package/dist/hu-HU-DXK7B0r_.js +7 -0
  260. package/dist/{image-tfgNnE3G.js → image-BQM21XCk.js} +2 -2
  261. package/dist/{info-DJW5JooY.js → info-DExoPRH5.js} +2 -2
  262. package/dist/{info-filled-C5mP6T4Z.js → info-filled-11KMeUso.js} +2 -2
  263. package/dist/{useId-oOIS1nsj.js → invalidateRootLegalEntity-B97dCa-s.js} +3 -31
  264. package/dist/isEmpty-Uewyl-r6.js +14 -0
  265. package/dist/isEmptyEntity-3OHnhXqG.js +43 -0
  266. package/dist/it-IT-BFIW0DCO.js +7 -0
  267. package/dist/it-IT-CNr6PIu3.js +7 -0
  268. package/dist/it-IT-CQVFYSVx.js +7 -0
  269. package/dist/it-IT-DfGdOsTs.js +7 -0
  270. package/dist/it-IT-DgRuEpeD.js +7 -0
  271. package/dist/it-IT-tZ7dP-Ia.js +7 -0
  272. package/dist/ja-JP--tMJF7eu.js +7 -0
  273. package/dist/ja-JP-BjMyxZiN.js +7 -0
  274. package/dist/ja-JP-Ct54-uwM.js +7 -0
  275. package/dist/ja-JP-CtX9NZKD.js +7 -0
  276. package/dist/ja-JP-DAClbueM.js +7 -0
  277. package/dist/ja-JP-DOuEAOlh.js +7 -0
  278. package/dist/keys-Ce8YnRP2.js +20 -0
  279. package/dist/{legalArrangementUtils-xvCxpgzJ.js → legalArrangementUtils-C68JdH6I.js} +2 -1
  280. package/dist/listToRecord-DumSkYDz.js +10 -0
  281. package/dist/{location-Dk0rAiaT.js → location-zRH5zJ8c.js} +2 -2
  282. package/dist/lt-LT-BUuouq_-.js +7 -0
  283. package/dist/lt-LT-Cs3cvyKf.js +7 -0
  284. package/dist/lt-LT-DQp7UGdC.js +7 -0
  285. package/dist/lt-LT-DoYCfhZU.js +7 -0
  286. package/dist/lt-LT-DqtpAjOg.js +7 -0
  287. package/dist/lv-LV-BCXqSzkk.js +7 -0
  288. package/dist/lv-LV-BW0BscAd.js +7 -0
  289. package/dist/lv-LV-C3p57pZV.js +7 -0
  290. package/dist/lv-LV-ZmyUvPst.js +7 -0
  291. package/dist/lv-LV-cKvnQI3j.js +7 -0
  292. package/dist/{mail-DG7MBDNE.js → mail-i1-zg-cv.js} +2 -2
  293. package/dist/{mapAddressLocalizationToJpAddressSchema-TUaHGQh6.js → mapAddressLocalizationToJpAddressSchema-DpOIaxj6.js} +2 -2
  294. package/dist/{mapExistingFile-CwGW1ru4.js → mapExistingFile-2QXrkhqJ.js} +2 -2
  295. package/dist/{mapJpAddressSchemaToAddressLocalizations-CdP6PRAO.js → mapJpAddressSchemaToAddressLocalizations-D3VO2nhc.js} +4 -3
  296. package/dist/{mapLegalEntityToIndividualSchema-ByhXwZqs.js → mapLegalEntityToIndividualSchema-Crz7aXZB.js} +49 -12
  297. package/dist/mapScriptLocalization-BCfkZo1y.js +46 -0
  298. package/dist/{mapTransferInstrumentToPayoutAccount-6eLKhumO.js → mapTransferInstrumentToPayoutAccount-BrbrK2wk.js} +3 -3
  299. package/dist/{form-rules-zzbZ2bV6.js → maskHelpers-C0wnCoJl.js} +9 -379
  300. package/dist/{minus-circle-filled-DglqAgJW.js → minus-circle-filled-CxUdRO8J.js} +2 -2
  301. package/dist/nl-NL-B77Xr99l.js +7 -0
  302. package/dist/nl-NL-BUwMAW5C.js +7 -0
  303. package/dist/nl-NL-B_MaTF5h.js +7 -0
  304. package/dist/nl-NL-CePL3t7P.js +7 -0
  305. package/dist/nl-NL-DR5SCDAF.js +7 -0
  306. package/dist/nl-NL-DqGE4Nz5.js +7 -0
  307. package/dist/no-NO-BePxpMbr.js +7 -0
  308. package/dist/no-NO-DGCfRiU8.js +7 -0
  309. package/dist/no-NO-DdI2BI_e.js +7 -0
  310. package/dist/no-NO-P8SZ1t-h.js +7 -0
  311. package/dist/no-NO-oL1v_O9N.js +7 -0
  312. package/dist/{options-horizontal-CTUn7IEx.js → options-horizontal-D86T_xAF.js} +2 -2
  313. package/dist/{partner-1StoI4_W.js → partner-Dje0ykF6.js} +2 -2
  314. package/dist/patternValidators-DsrZkuOO.js +73 -0
  315. package/dist/{pay-by-link-plane-Sa_qkL8C.js → pay-by-link-plane-DAiddPu6.js} +2 -2
  316. package/dist/{payout-BAYSxSqU.js → payout-DKiGv3F9.js} +2 -2
  317. package/dist/{pdf-uNYg4Mqz.js → pdf-CC8vqpTo.js} +37 -32
  318. package/dist/{pdf.worker.min-gK7UJW5a.js → pdf.worker.min-CdKJICZZ.js} +733 -253
  319. package/dist/{person-Da15_s3G.js → person-DgALGIIz.js} +2 -2
  320. package/dist/pl-PL-6Q3Ue3F5.js +7 -0
  321. package/dist/pl-PL-B5PBixAB.js +7 -0
  322. package/dist/pl-PL-BCkw9R28.js +7 -0
  323. package/dist/pl-PL-BY6KUTBO.js +7 -0
  324. package/dist/pl-PL-D-s-JI6X.js +7 -0
  325. package/dist/{plus-BQccvKkd.js → plus-DlQKP2C9.js} +2 -2
  326. package/dist/{plus-circle-filled-CqC30FRL.js → plus-circle-filled-BntUOVIJ.js} +2 -2
  327. package/dist/{processCapabilities-DRD0Aq2i.js → processCapabilities-CWE5UFt8.js} +50 -54
  328. package/dist/{processValidationErrors-oxuCOsth.js → processValidationErrors-CjsNfiRK.js} +4 -4
  329. package/dist/pt-BR-B_XHiDCU.js +7 -0
  330. package/dist/pt-BR-BvNR77Ru.js +7 -0
  331. package/dist/pt-BR-CrLCMcSz2.js +7 -0
  332. package/dist/pt-BR-MrUfWW4a.js +7 -0
  333. package/dist/pt-BR-vwt2tE7H.js +7 -0
  334. package/dist/pt-PT-B17is9TY.js +7 -0
  335. package/dist/pt-PT-BZNPd_Tb.js +7 -0
  336. package/dist/pt-PT-DDYnXawl.js +7 -0
  337. package/dist/pt-PT-DhF8wwYH.js +7 -0
  338. package/dist/pt-PT-Du2K44jh.js +7 -0
  339. package/dist/pt-PT-qAzFgjvF.js +7 -0
  340. package/dist/{recurring-DSR1fNMh.js → recurring-DZgT_ekJ.js} +2 -2
  341. package/dist/resolveEnvironment-mrb68kgW.js +1000 -0
  342. package/dist/{revenue-accelerate-CPhAVpPK.js → revenue-accelerate-aMLYFVW6.js} +2 -2
  343. package/dist/ro-RO-B3Fcn95o.js +7 -0
  344. package/dist/ro-RO-BA5GhaCE.js +7 -0
  345. package/dist/ro-RO-BmHe4pZ-.js +7 -0
  346. package/dist/ro-RO-DChAv29z.js +7 -0
  347. package/dist/ro-RO-W1t7Mnbn.js +7 -0
  348. package/dist/roleMetadata-Dm1FVuPT.js +56 -0
  349. package/dist/{save-DQ-mJX8e.js → save-uDNye08N.js} +2 -2
  350. package/dist/{search-DWqWTW_K.js → search-0OS6oe8N.js} +2 -2
  351. package/dist/{show-BbhlD3IY.js → show-BWoS9-Y1.js} +2 -2
  352. package/dist/sk-SK-BeNF_m_j.js +7 -0
  353. package/dist/sk-SK-C9CiQLgt.js +7 -0
  354. package/dist/sk-SK-CISCMQ2G.js +7 -0
  355. package/dist/sk-SK-CcoUWnJ4.js +7 -0
  356. package/dist/sk-SK-D10Kpths.js +7 -0
  357. package/dist/sl-SI-Bxu4m_5e.js +7 -0
  358. package/dist/sl-SI-DCMml0lX.js +7 -0
  359. package/dist/sl-SI-DmYiMn91.js +7 -0
  360. package/dist/sl-SI-DxomO9JQ.js +7 -0
  361. package/dist/sl-SI-Qe4hzx5a.js +7 -0
  362. package/dist/{solution-payments-D4BORMsX.js → solution-payments-BMal7uJZ.js} +2 -2
  363. package/dist/{store-DWaq3ZiC.js → store-N7ZA4FKy.js} +2 -2
  364. package/dist/style.css +2341 -2252
  365. package/dist/styles-DYaAeu4q.js +2337 -2248
  366. package/dist/summaryItem-uDWmtYtt.js +16 -0
  367. package/dist/sv-SE-B-CXDaXM.js +7 -0
  368. package/dist/sv-SE-BzPNBHOj.js +7 -0
  369. package/dist/sv-SE-C9SgeFv6.js +7 -0
  370. package/dist/sv-SE-DESDUMyu.js +7 -0
  371. package/dist/sv-SE-Dq6oK7B5.js +7 -0
  372. package/dist/sv-SE-issaSBHd.js +7 -0
  373. package/dist/{terminal-1-crR-pS_R.js → terminal-1-0RlQpbUC.js} +2 -2
  374. package/dist/toFullWidth-Dgy4X4i8.js +52 -0
  375. package/dist/{translation-BOm4lmPx.js → translation-DbATp_35.js} +91 -64
  376. package/dist/trustUtil-5cyXiJnX.js +98 -0
  377. package/dist/types/adaptiveWorkflow/components/Fields/TaxInformation/TaxIdTypeSelectorField.d.ts +1 -2
  378. package/dist/types/adaptiveWorkflow/components/Fields/TaxInformation/TaxInformationFieldGroup.d.ts +1 -2
  379. package/dist/types/adaptiveWorkflow/utils/utils.d.ts +1 -1
  380. package/dist/types/api/configurations/useScenarios.d.ts +1 -1
  381. package/dist/types/api/createLegalEntity/useCreateLegalEntity.d.ts +12 -12
  382. package/dist/types/api/documentValidation/useDocumentValidate.d.ts +2 -2
  383. package/dist/types/api/documents/documents.types.d.ts +9 -0
  384. package/dist/types/api/documents/useCreateDocument.d.ts +10 -3
  385. package/dist/types/api/documents/useDeleteDocument.d.ts +1 -1
  386. package/dist/types/api/documents/useDocument.d.ts +1 -1
  387. package/dist/types/api/documents/useDocuments.d.ts +10 -2
  388. package/dist/types/api/documents/useUpdateDocument.d.ts +3 -3
  389. package/dist/types/api/invitedEntity/getInvitedEntityProblems.d.ts +1 -1
  390. package/dist/types/api/legalEntity/legalEntity.types.d.ts +32 -0
  391. package/dist/types/api/legalEntity/useLegalEntity.d.ts +92 -92
  392. package/dist/types/api/legalEntity/useUpdateLegalEntity.d.ts +14 -14
  393. package/dist/types/api/taskStatus/useTaskStatuses.d.ts +1 -1
  394. package/dist/types/api/transferInstruments/transferInstruments.types.d.ts +18 -0
  395. package/dist/types/api/transferInstruments/useCreateTransferInstrument.d.ts +2 -2
  396. package/dist/types/api/transferInstruments/useTransferInstrument.d.ts +1 -1
  397. package/dist/types/api/transferInstruments/useUpdateTransferInstrument.d.ts +2 -2
  398. package/dist/types/api/transferInstruments/useUpdateTrustedTransferInstrument.d.ts +1 -1
  399. package/dist/types/components/Apps/tasks/TaskList/TaskList.d.ts +1 -1
  400. package/dist/types/components/BankAccount/fields/BankAccountNumber/fieldConfig.d.ts +2 -0
  401. package/dist/types/components/BankAccount/forms/BankDocument/types.d.ts +1 -1
  402. package/dist/types/components/BankAccount/forms/PayoutAccount/types.d.ts +1 -1
  403. package/dist/types/components/BankAccount/forms/PayoutCountryDetails/types.d.ts +1 -1
  404. package/dist/types/components/BankAccount/forms/PayoutDetails/PayoutDetails.d.ts +1 -1
  405. package/dist/types/components/BankAccount/forms/PayoutDetails/types.d.ts +1 -1
  406. package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/AccountHolderDescriptionFragment.d.ts +1 -1
  407. package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/types.d.ts +1 -1
  408. package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/utils.d.ts +1 -1
  409. package/dist/types/components/BankAccount/mapping/mapPayoutAccountSchemaToApiBankAccount.d.ts +2 -2
  410. package/dist/types/components/BankAccount/mapping/mapPayoutDetailsToTransferInstrument.d.ts +3 -3
  411. package/dist/types/components/BankAccount/mapping/mapPayoutDocumentsToApiDocuments.d.ts +2 -2
  412. package/dist/types/components/BankAccount/mapping/mapTransferInstrumentToPayoutAccount.d.ts +1 -1
  413. package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +8 -4
  414. package/dist/types/components/BankAccount/tasks/PayoutAccount/PayoutAccountTaskListItem.d.ts +2 -2
  415. package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/utils.d.ts +1 -1
  416. package/dist/types/components/Business/hooks/useBusinessDetailsData.d.ts +1 -1
  417. package/dist/types/components/Business/hooks/useSubmitBusinessDetails.types.d.ts +1 -1
  418. package/dist/types/components/Business/mapping/businessDetails/businessDetailsKeyMappings.d.ts +4 -4
  419. package/dist/types/components/Business/mapping/businessDetails/mapBusinessDetailsSchemaToLegalEntity.d.ts +4 -4
  420. package/dist/types/components/Business/mapping/businessDetails/mapLegalEntityToBusinessDetailsSchema.d.ts +1 -1
  421. package/dist/types/components/Business/mapping/businessDetails/solePropBusinessDetailsKeyMappings.d.ts +4 -4
  422. package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +1 -1
  423. package/dist/types/components/Business/utils/buildRequiredForms.d.ts +1 -1
  424. package/dist/types/components/Business/utils/getAvailableCompanyStructures.d.ts +1 -2
  425. package/dist/types/components/Business/utils/utils.d.ts +2 -15
  426. package/dist/types/components/BusinessLines/tasks/types.d.ts +1 -1
  427. package/dist/types/components/Contract/tasks/PciDropin/types.d.ts +1 -1
  428. package/dist/types/components/Contract/tasks/ServiceAgreementDropin/types.d.ts +1 -1
  429. package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +33 -33
  430. package/dist/types/components/EFP/mapping/mapBusinessFinancingToLegalEntity.d.ts +2 -2
  431. package/dist/types/components/EFP/mapping/mapLegalEntityToBusinessFinancing.d.ts +2 -2
  432. package/dist/types/components/EFP/tasks/BusinessFinancingDropin/types.d.ts +3 -3
  433. package/dist/types/components/EFP/tasks/BusinessFinancingDropin/utils.d.ts +3 -4
  434. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/SourceOfFundsGettingStarted/SourceOfFundsGettingStarted.d.ts +2 -3
  435. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/SourceOfFundsUploader/SourceOfFundsUpload.d.ts +1 -1
  436. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/types.d.ts +1 -3
  437. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/utils.d.ts +13 -5
  438. package/dist/types/components/EFP/tasks/TaxReportingDropin/TaxReportingGettingStarted.d.ts +2 -2
  439. package/dist/types/components/EmbeddedDropins/CreateTransferInstrumentComponent/CreateTransferInstrumentComponent.d.ts +1 -1
  440. package/dist/types/components/EmbeddedDropins/ManageIndividualComponent/ManageIndividualComponent.d.ts +1 -1
  441. package/dist/types/components/EmbeddedDropins/ManageTransferInstrumentComponent/ManageTransferInstrumentComponent.d.ts +1 -1
  442. package/dist/types/components/EmbeddedDropins/ManageTransferInstrumentComponent/ManageTransferInstrumentOverview/ManageTransferInstrumentOverview.d.ts +1 -2
  443. package/dist/types/components/EmbeddedDropins/ManageTransferInstrumentComponent/ManageTransferInstrumentOverviewItem/ManageTransferInstrumentOverviewItem.d.ts +1 -2
  444. package/dist/types/components/EmbeddedDropins/ManageTransferInstrumentComponent/ManageTransferInstrumentOverviewItemModal/ManageTransferInstrumentOverviewItemModal.d.ts +1 -2
  445. package/dist/types/components/EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types.d.ts +1 -1
  446. package/dist/types/components/EmbeddedDropins/ViewVerificationStatus/ViewVerificationStatusComponent.d.ts +1 -1
  447. package/dist/types/components/GlobalEntry/companyTypeMetadata.d.ts +10 -0
  448. package/dist/types/components/GlobalEntry/forms/CompanyStructure/CompanyStructure.d.ts +3 -0
  449. package/dist/types/components/GlobalEntry/forms/CompanyStructure/types.d.ts +10 -0
  450. package/dist/types/components/GlobalEntry/forms/RegistrationInformation/RegistrationInformation.d.ts +1 -1
  451. package/dist/types/components/GlobalEntry/{globalEntryKeyMapping.d.ts → mapping/globalEntryKeyMapping.d.ts} +9 -9
  452. package/dist/types/components/GlobalEntry/mapping/mapGlobalEntrySchemaToLegalEntity.d.ts +6 -0
  453. package/dist/types/components/GlobalEntry/mapping/mapLegalEntityToGlobalEntrySchema.d.ts +9 -0
  454. package/dist/types/components/GlobalEntry/rules.d.ts +1 -0
  455. package/dist/types/components/GlobalEntry/tasks/GlobalEntry.d.ts +1 -1
  456. package/dist/types/components/GlobalEntry/tasks/GlobalEntryModal.d.ts +1 -1
  457. package/dist/types/components/GlobalEntry/tasks/types.d.ts +2 -0
  458. package/dist/types/components/GlobalEntry/utils/buildRequiredForms.d.ts +16 -0
  459. package/dist/types/components/GlobalEntry/utils/getAvailableCompanyStructures.d.ts +12 -0
  460. package/dist/types/components/GlobalEntry/utils/submitGlobalEntry.d.ts +20 -0
  461. package/dist/types/components/GlobalEntry/utils/utils.d.ts +18 -0
  462. package/dist/types/components/GlobalEntry/validate.d.ts +3 -1
  463. package/dist/types/components/Individual/forms/BasicDetails/BasicDetails.types.d.ts +3 -3
  464. package/dist/types/components/Individual/forms/IdDocumentUpload/types.d.ts +1 -1
  465. package/dist/types/components/Individual/forms/IdNowVerificationModal/isIdNowModalOpen.d.ts +8 -8
  466. package/dist/types/components/Individual/forms/Individual.types.d.ts +2 -3
  467. package/dist/types/components/Individual/helpers/bafinUtils.d.ts +3 -4
  468. package/dist/types/components/Individual/helpers/findRelevantTaxInformation.d.ts +28 -0
  469. package/dist/types/components/Individual/helpers/hasLiveSelfieError.d.ts +11 -0
  470. package/dist/types/components/Individual/helpers/isManualVerificationOrExistingDoc.d.ts +13 -0
  471. package/dist/types/components/Individual/mapping/individualKeyMappings.d.ts +4 -4
  472. package/dist/types/components/Individual/mapping/mapIndividualDocumentToApiDocument.d.ts +2 -2
  473. package/dist/types/components/Individual/mapping/mapIndividualSchemaToLegalEntity.d.ts +2 -2
  474. package/dist/types/components/Individual/mapping/mapLegalEntityToIndividualSchema.d.ts +1 -1
  475. package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/DecisionMakerDetails.types.d.ts +1 -1
  476. package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/utils.d.ts +34 -10
  477. package/dist/types/components/Individual/tasks/DecisionMakers/getTrustedDecisionMakers.d.ts +2 -3
  478. package/dist/types/components/Individual/tasks/DecisionMakers/hooks/useTaskStatusWithTimeout.d.ts +1 -0
  479. package/dist/types/components/Individual/tasks/DecisionMakers/types.d.ts +2 -3
  480. package/dist/types/components/Individual/tasks/DecisionMakers/utils.d.ts +1 -1
  481. package/dist/types/components/Shared/EntityAssociation/types.d.ts +2 -2
  482. package/dist/types/components/Shared/Introduction/Introduction.d.ts +1 -1
  483. package/dist/types/components/Shared/Introduction/IntroductionScreen.d.ts +1 -1
  484. package/dist/types/components/Shared/Introduction/constants.d.ts +1 -1
  485. package/dist/types/components/Shared/Introduction/copy.d.ts +1 -1
  486. package/dist/types/components/Shared/SingpassBanner/SingpassBanner.d.ts +1 -1
  487. package/dist/types/components/Shared/SingpassSelection/types.d.ts +1 -1
  488. package/dist/types/components/Shared/devex/DebugListener/debugInfo.d.ts +1 -2
  489. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/RegistrationNumberTypeSelector/getDefaultRegistrationNumberType.d.ts +1 -2
  490. package/dist/types/components/Shared/fields/TaxInformationField/TaxIdNumberTypeSelector/TaxIdNumberTypeSelector.d.ts +1 -2
  491. package/dist/types/components/Shared/fields/TaxInformationField/TaxIdNumberTypeSelector/findExistingTaxInformation.d.ts +10 -0
  492. package/dist/types/components/Shared/fields/TaxInformationField/fieldConfig.d.ts +3 -4
  493. package/dist/types/components/Shared/fields/TaxInformationField/taxIdNumberTypes.d.ts +107 -8
  494. package/dist/types/components/Shared/fields/TaxInformationField/types.d.ts +7 -6
  495. package/dist/types/components/Shared/fields/VatNumberField/VatNumberTypeSelector/VatNumberTypeSelector.d.ts +1 -2
  496. package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
  497. package/dist/types/components/Shared/forms/BusinessTypeSelection/types.d.ts +1 -1
  498. package/dist/types/components/Shared/forms/BusinessTypeSelection/useUpdateLegalEntityAndSelectAccountHolder.d.ts +1 -2
  499. package/dist/types/components/Shared/forms/BusinessTypeSelection/utils.d.ts +2 -4
  500. package/dist/types/components/Shared/forms/ConstitutionalDocument/types.d.ts +1 -1
  501. package/dist/types/components/Shared/forms/DocumentUpload/types.d.ts +1 -1
  502. package/dist/types/components/Shared/tasks/CustomerSupport/mapping/customerSupportKeyMapping.d.ts +2 -2
  503. package/dist/types/components/Trust/hooks/useExemptSettlor.d.ts +1 -1
  504. package/dist/types/components/Trust/hooks/useTrustMemberNavigation.hook.d.ts +1 -1
  505. package/dist/types/components/Trust/mapping/mapLegalEntityToTrust.d.ts +1 -1
  506. package/dist/types/components/Trust/mapping/mapTrustDocumentToApiDocument.d.ts +2 -2
  507. package/dist/types/components/Trust/mapping/mapTrustToLegalEntity.d.ts +2 -2
  508. package/dist/types/components/Trust/mapping/trustKeyMappings.d.ts +4 -4
  509. package/dist/types/components/Trust/mapping/trustMembers/getTrustMembers.d.ts +1 -1
  510. package/dist/types/components/Trust/mapping/trustMembers/mapEntityAssociationsToTrustMembers.d.ts +3 -4
  511. package/dist/types/components/Trust/mapping/trustMembers/mapRootLegalEntityToTrustMember.d.ts +1 -1
  512. package/dist/types/components/Trust/tasks/RoleAndTypeDropin/types.d.ts +1 -1
  513. package/dist/types/components/Trust/tasks/TrustDropin/types.d.ts +1 -1
  514. package/dist/types/components/Trust/tasks/TrustMembers/types.d.ts +3 -4
  515. package/dist/types/components/Trust/utils/addOrUpdateAssociatedTrustMember.d.ts +1 -1
  516. package/dist/types/components/Trust/utils/addOrUpdateUndefinedBeneficiary.d.ts +1 -1
  517. package/dist/types/components/Trust/utils/createExemptSettlor.d.ts +1 -1
  518. package/dist/types/components/Trust/utils/deleteAssociatedTrustMember.d.ts +1 -1
  519. package/dist/types/components/Trust/utils/deleteUndefinedBeneficiary.d.ts +1 -1
  520. package/dist/types/components/Trust/utils/trustUtil.d.ts +5 -6
  521. package/dist/types/components/Trust/utils/updateExemptSettlorName.d.ts +1 -1
  522. package/dist/types/components/UnincorporatedPartnership/hooks/useUnincorporatedPartnershipNavigation.d.ts +1 -2
  523. package/dist/types/components/UnincorporatedPartnership/mapping/mapLegalEntityToUnincorporatedPartnership.d.ts +1 -1
  524. package/dist/types/components/UnincorporatedPartnership/mapping/mapUnincorporatedPartnershipToLegalEntity.d.ts +2 -2
  525. package/dist/types/components/UnincorporatedPartnership/mapping/unincorporatedPartnershipKeyMappings.d.ts +3 -3
  526. package/dist/types/components/UnincorporatedPartnership/tasks/UnincorporatedPartnershipMembers/types.d.ts +1 -2
  527. package/dist/types/components/UnincorporatedPartnership/tasks/UnincorporatedPartnershipRoleAndType/types.d.ts +1 -2
  528. package/dist/types/components/UnincorporatedPartnership/utils/unincorporatedPartnershipMembers.d.ts +3 -4
  529. package/dist/types/components/ui/molecules/DocumentGuidance/DocumentGuidance.types.d.ts +1 -1
  530. package/dist/types/context/ToggleContext/types.d.ts +0 -4
  531. package/dist/types/core/errorMapping.d.ts +3 -4
  532. package/dist/types/core/models/api/accountIdentification.d.ts +5 -1
  533. package/dist/types/core/models/api/legal-entity-association.d.ts +0 -19
  534. package/dist/types/core/process-field-configurations.d.ts +4 -6
  535. package/dist/types/core/user-events.d.ts +2 -4
  536. package/dist/types/hooks/introduction/useCanSeeIntroduction.d.ts +1 -1
  537. package/dist/types/hooks/introduction/useIntroductionScreens.d.ts +1 -1
  538. package/dist/types/hooks/introduction/useShouldShowIntroduction.d.ts +1 -1
  539. package/dist/types/hooks/singpass/useSingpassMyInfoLogin.d.ts +1 -1
  540. package/dist/types/hooks/useAssociatedLegalEntity.d.ts +1 -2
  541. package/dist/types/hooks/useAssociatedLegalRepresentative.d.ts +1 -1
  542. package/dist/types/hooks/useBusinessSetup.d.ts +1 -1
  543. package/dist/types/hooks/useForm/types.d.ts +1 -2
  544. package/dist/types/hooks/useLegalEntityType.d.ts +1 -2
  545. package/dist/types/hooks/useScenarioConfiguration.d.ts +1 -1
  546. package/dist/types/router/DefaultRouteRedirect.d.ts +1 -1
  547. package/dist/types/router/OnboardingRouter.d.ts +1 -2
  548. package/dist/types/router/getDefaultTask.d.ts +1 -1
  549. package/dist/types/stores/globalStore/calculateTaskStatus.d.ts +3 -5
  550. package/dist/types/stores/globalStore/determineTaskIdentifiers.d.ts +3 -5
  551. package/dist/types/stores/globalStore/get-task-status.d.ts +4 -4
  552. package/dist/types/stores/globalStore/globalStore.d.ts +3 -5
  553. package/dist/types/stores/globalStore/isEmptyEntity.d.ts +1 -1
  554. package/dist/types/types/businessEntityType.d.ts +1 -2
  555. package/dist/types/types/errors/capability-problems.d.ts +5 -1
  556. package/dist/types/types/errors/entity-problems.d.ts +8 -5
  557. package/dist/types/types/form-rules.d.ts +1 -1
  558. package/dist/types/utils/accountHolderUtils.d.ts +1 -1
  559. package/dist/types/utils/addLinkedFields.d.ts +2 -2
  560. package/dist/types/utils/analytics/debouncedInputEvent.d.ts +4 -4
  561. package/dist/types/utils/analytics/getAnalyticsAssociatedEntityDetails.d.ts +2 -3
  562. package/dist/types/utils/analytics/getPrefilledDetails.d.ts +2 -2
  563. package/dist/types/utils/api/documentUtils.d.ts +21 -10
  564. package/dist/types/utils/api/getProblemsForEntity.d.ts +1 -1
  565. package/dist/types/utils/api/processCapabilities.d.ts +11 -4
  566. package/dist/types/utils/bankUtils.d.ts +5 -0
  567. package/dist/types/utils/birthDateUtils.d.ts +6 -1
  568. package/dist/types/utils/businessUtils.d.ts +21 -6
  569. package/dist/types/utils/customerSupportUtils.d.ts +2 -3
  570. package/dist/types/utils/decisionMakerRoles.d.ts +4 -5
  571. package/dist/types/utils/entityAssociationUtil.d.ts +21 -12
  572. package/dist/types/utils/entityStatusUtil.d.ts +1 -1
  573. package/dist/types/utils/getFieldsWithExistingData.d.ts +2 -2
  574. package/dist/types/utils/getLegalEntityCountry.d.ts +1 -1
  575. package/dist/types/utils/getName.d.ts +3 -3
  576. package/dist/types/utils/getTrustedFields.d.ts +4 -5
  577. package/dist/types/utils/mapping/documentGuidanceMap.d.ts +2 -2
  578. package/dist/types/utils/mapping/getPage.d.ts +3 -4
  579. package/dist/types/utils/mapping/mappingRecord.d.ts +1 -1
  580. package/dist/types/utils/roleMetadata.d.ts +1 -1
  581. package/dist/types/utils/unincorporatedParnershipUtils.d.ts +4 -4
  582. package/dist/{types-BeveNAZK.js → types-B9zXzag-.js} +4 -5
  583. package/dist/{types-wRlt8bxb.js → types-BA3bcGAv.js} +1 -1
  584. package/dist/types-CZAHRt31.js +147 -0
  585. package/dist/types-Cwq1JAWT.js +31 -0
  586. package/dist/{upload-D85xAAAm.js → upload-C5NC1E4N.js} +2 -2
  587. package/dist/uppercase-DvjwUM0n.js +7 -0
  588. package/dist/useAccountHolder-BpIX1iBG.js +102 -0
  589. package/dist/useAllowedCountries-qyvo-c6A.js +80 -0
  590. package/dist/useAnalyticsContext-gSnRnYgV.js +12 -0
  591. package/dist/{getFormSlice-DzRO0UUx.js → useAssociatedLegalEntity-BdcoiUby.js} +2 -19
  592. package/dist/{useBusinessDetailsData-Bja80UYy.js → useBusinessDetailsData-sWGe796Y.js} +170 -160
  593. package/dist/{useCanSeeIntroduction-BcfQC4IP.js → useCanSeeIntroduction-DQbanJNE.js} +13 -13
  594. package/dist/useCreateLegalEntity-CYZd_62a.js +24 -0
  595. package/dist/{useDataMissingRemediations-msU1AJvo.js → useDataMissingRemediations-ttUrk09_.js} +4 -4
  596. package/dist/useDataset-CdLBLq98.js +98 -0
  597. package/dist/useDeleteTransferInstrument-C10xzHiO.js +31 -0
  598. package/dist/{useForm-DbDFfb2S.js → useForm-CWrbJG44.js} +7 -5
  599. package/dist/{useHideTaskStepper-CbMcV9mk.js → useHideTaskStepper-Dk7ZQ3U8.js} +1 -1
  600. package/dist/useId-BkDhUta2.js +28 -0
  601. package/dist/useMultiForm-BxASst0O.js +790 -0
  602. package/dist/{useNavigate-CiKOI5QV.js → useNavigate-DkfNV3JZ.js} +33 -33
  603. package/dist/{useSalesChannels-BvGJ9PT6.js → useSalesChannels-B06_h460.js} +3 -3
  604. package/dist/{useScenarios-CGcmXgJv.js → useScenarios-BfYE0clW.js} +2 -2
  605. package/dist/useSettingsContext-9O3Aqpfq.js +12 -0
  606. package/dist/{useTaskLandedEvent-pmN03gtI.js → useTaskLandedEvent-DwZHcMEQ.js} +2 -2
  607. package/dist/useToastContext-B6Mqc2HY.js +12 -0
  608. package/dist/useToggleContext-B_YexrbT.js +21 -0
  609. package/dist/{useTrustMembers-f13Kf1Zk.js → useTrustMembers-DtOJPaaV.js} +13 -14
  610. package/dist/{useUnincorporatedPartnershipMembers-K5jkCKfJ.js → useUnincorporatedPartnershipMembers-CxDZCOte.js} +8 -9
  611. package/dist/useUpdateLegalEntity-B7LRg8m0.js +29 -0
  612. package/dist/{StateField-CsO_28Co.js → utils-BWumuCvl.js} +3 -89
  613. package/dist/{utils-BUOt0VrX.js → utils-CJcGZvj1.js} +13 -14
  614. package/dist/utils-CYUYe54m.js +24 -0
  615. package/dist/{bafinUtils-M2AASP_e.js → utils-Ck_mZapQ.js} +1534 -1742
  616. package/dist/utils-DdHbAadK.js +80 -0
  617. package/dist/{utils-2tir5QtF.js → utils-SKYT7xU4.js} +2 -2
  618. package/dist/{validate-BpZBKknS.js → validate-96E_RrNB.js} +3 -3
  619. package/dist/{validate-u6nDNwf1.js → validate-BCNnfwPW.js} +2 -2
  620. package/dist/{validate-YBDlgvjy.js → validate-D-l4YRka.js} +7 -6
  621. package/dist/{validate-CPTQceEQ.js → validate-DKwCZSlM.js} +64 -37
  622. package/dist/{validateExtractionResult-dH4TewHf.js → validateExtractionResult-D3d0xx90.js} +4 -4
  623. package/dist/{validationError-B-B3GC86.js → validationError-DV6t8Ubb.js} +2 -2
  624. package/dist/validationResult-bjYBDjbU.js +29 -0
  625. package/dist/validatorUtils-D2O6AAZn.js +106 -0
  626. package/dist/{warning-circle-fill-BDTmKU1s.js → warning-circle-fill-C2lMYPJW.js} +2 -2
  627. package/dist/{warning-diamond-filled-BjDL-xa8.js → warning-diamond-filled-CQ2DdW5g.js} +2 -2
  628. package/dist/{webinar-YMbPoCx3.js → webinar-BpZWqd-g.js} +2 -2
  629. package/package.json +26 -26
  630. package/dist/Icon-C3S5_kkS.js +0 -175
  631. package/dist/LegalRepresentativeDetailsPage-CvGtANu3.js +0 -74
  632. package/dist/PayoutDetailsPage-MW5Pygp2.js +0 -70
  633. package/dist/RadioGroup-D8DRUJ2o.js +0 -1806
  634. package/dist/RootBusinessDetailsPage-Cmh9Z_4g.js +0 -68
  635. package/dist/RootIndividualDetailsPage-04cJ6C15.js +0 -80
  636. package/dist/SoleProprietorshipPage-CWegllTo.js +0 -70
  637. package/dist/TrustMemberCompanyPage-DTe7xWpj.js +0 -109
  638. package/dist/TrustMemberIndividualPage-C1BDs9Rm.js +0 -110
  639. package/dist/UnincorporatedPartnershipIndividualPage-DdPh2_sa.js +0 -79
  640. package/dist/bg-BG-BtgA44Ui.js +0 -7
  641. package/dist/bg-BG-DX5QKxJz.js +0 -7
  642. package/dist/bg-BG-DYkxVgeJ.js +0 -7
  643. package/dist/bg-BG-K6LIkCdf.js +0 -7
  644. package/dist/bg-BG-uuNDTOoN.js +0 -7
  645. package/dist/cs-CZ-BJSrh3Vp.js +0 -7
  646. package/dist/cs-CZ-CMXGY6Ep.js +0 -7
  647. package/dist/cs-CZ-Ci8c58xJ.js +0 -7
  648. package/dist/cs-CZ-Cu1v5FA8.js +0 -7
  649. package/dist/cs-CZ-lJQmuyHq.js +0 -7
  650. package/dist/da-DK-B9O3xbY6.js +0 -7
  651. package/dist/da-DK-BNwXg4DX.js +0 -7
  652. package/dist/da-DK-C1kmOHvo.js +0 -7
  653. package/dist/da-DK-D53M_d04.js +0 -7
  654. package/dist/da-DK-DjAV5d9A.js +0 -7
  655. package/dist/de-DE-B3sSNcDv.js +0 -7
  656. package/dist/de-DE-C9N6F5oM.js +0 -7
  657. package/dist/de-DE-CjMOQMqQ.js +0 -7
  658. package/dist/de-DE-qJPTCQlG.js +0 -7
  659. package/dist/de-DE-qSBQE-6M.js +0 -7
  660. package/dist/de-DE-w4l6boYT.js +0 -7
  661. package/dist/decision-makers-group-DAoxQRJ3.js +0 -4169
  662. package/dist/el-GR-BLNCX9mm.js +0 -7
  663. package/dist/el-GR-Bx996PXx.js +0 -7
  664. package/dist/el-GR-CgoxpC-Q.js +0 -7
  665. package/dist/el-GR-DaAMIpOR.js +0 -7
  666. package/dist/el-GR-DqTetsjB.js +0 -7
  667. package/dist/el-GR-pGsVWsOm.js +0 -7
  668. package/dist/en-US-B82BbZaB.js +0 -7
  669. package/dist/en-US-C3i5Oge2.js +0 -7
  670. package/dist/en-US-C8karqc5.js +0 -7
  671. package/dist/en-US-CJPD8qHc.js +0 -7
  672. package/dist/en-US-D0fscfsz.js +0 -7
  673. package/dist/en-US-DapC--Cs.js +0 -7
  674. package/dist/es-ES-C14ZT-97.js +0 -7
  675. package/dist/es-ES-DeT4zIDW.js +0 -7
  676. package/dist/es-ES-DyB2KXfT.js +0 -7
  677. package/dist/es-ES-U4-lDfZq.js +0 -7
  678. package/dist/es-ES-tVQDUTJN.js +0 -7
  679. package/dist/es-ES-wvcyuTNN.js +0 -7
  680. package/dist/es-LA-B5IRDCf_.js +0 -7
  681. package/dist/es-LA-B_hzWiiE.js +0 -7
  682. package/dist/es-LA-CG_cu1hM.js +0 -7
  683. package/dist/es-LA-ChLRkx-r.js +0 -7
  684. package/dist/es-LA-mFT_9PL_.js +0 -7
  685. package/dist/et-EE-4_ZUNt3W.js +0 -7
  686. package/dist/et-EE-BCWBT8XN.js +0 -7
  687. package/dist/et-EE-BQEyJFZb.js +0 -7
  688. package/dist/et-EE-DSK7kb3n.js +0 -7
  689. package/dist/et-EE-DWVzz1wR.js +0 -7
  690. package/dist/fi-FI-B-7uBAf5.js +0 -7
  691. package/dist/fi-FI-BeJtSWIh.js +0 -7
  692. package/dist/fi-FI-Caa9ydMd.js +0 -7
  693. package/dist/fi-FI-D06EzKrW.js +0 -7
  694. package/dist/fi-FI-DgMsQBRO.js +0 -7
  695. package/dist/fr-FR-8a-RK9xd.js +0 -7
  696. package/dist/fr-FR-BCfqr4jm.js +0 -7
  697. package/dist/fr-FR-BTJoQq71.js +0 -7
  698. package/dist/fr-FR-CDv300-8.js +0 -7
  699. package/dist/fr-FR-D7DTFYe4.js +0 -7
  700. package/dist/fr-FR-Dl4NL-Nc.js +0 -7
  701. package/dist/getLegalEntityCountry-CNE5uei8.js +0 -17
  702. package/dist/hr-HR-B11sggmG.js +0 -7
  703. package/dist/hr-HR-BjxPRJ1o.js +0 -7
  704. package/dist/hr-HR-COdiWKoq.js +0 -7
  705. package/dist/hr-HR-CXH5M5JZ.js +0 -7
  706. package/dist/hr-HR-me1zsMas.js +0 -7
  707. package/dist/hu-HU-BNlsrO-l.js +0 -7
  708. package/dist/hu-HU-BQ5310Yi.js +0 -7
  709. package/dist/hu-HU-D1ZZwcl0.js +0 -7
  710. package/dist/hu-HU-DkSsL94T.js +0 -7
  711. package/dist/hu-HU-Dp6xOBN_.js +0 -7
  712. package/dist/it-IT-BORQC-7u.js +0 -7
  713. package/dist/it-IT-BlaVymCj.js +0 -7
  714. package/dist/it-IT-CawjvBDX.js +0 -7
  715. package/dist/it-IT-Cnk7j_gC.js +0 -7
  716. package/dist/it-IT-DIIRAF4_.js +0 -7
  717. package/dist/it-IT-x4LV31GV.js +0 -7
  718. package/dist/ja-JP-CyXnoIu3.js +0 -7
  719. package/dist/ja-JP-DBne3dbI.js +0 -7
  720. package/dist/ja-JP-DS8zN3mY.js +0 -7
  721. package/dist/ja-JP-Dpe9Odla.js +0 -7
  722. package/dist/ja-JP-DrHQO_Se.js +0 -7
  723. package/dist/ja-JP-h3E8hgLv.js +0 -7
  724. package/dist/legal-entity-type-0MfCGzUf.js +0 -13
  725. package/dist/lt-LT-8kOI6QVq.js +0 -7
  726. package/dist/lt-LT-B18sQY9g.js +0 -7
  727. package/dist/lt-LT-Byl8QeWO.js +0 -7
  728. package/dist/lt-LT-D3ZUJfjr.js +0 -7
  729. package/dist/lt-LT-Fc1lOUlz.js +0 -7
  730. package/dist/lv-LV-C70c94CI.js +0 -7
  731. package/dist/lv-LV-CXifQKfG.js +0 -7
  732. package/dist/lv-LV-DctYQmfH.js +0 -7
  733. package/dist/lv-LV-Mj_iV56f.js +0 -7
  734. package/dist/lv-LV-adiXoKhv.js +0 -7
  735. package/dist/nl-NL-BIpptPn4.js +0 -7
  736. package/dist/nl-NL-BWGCqpWp.js +0 -7
  737. package/dist/nl-NL-Bv8Zk-6e.js +0 -7
  738. package/dist/nl-NL-DOB0b0m4.js +0 -7
  739. package/dist/nl-NL-ehxkZFQd.js +0 -7
  740. package/dist/nl-NL-jt4eYGEY.js +0 -7
  741. package/dist/no-NO-BG1sYkpp.js +0 -7
  742. package/dist/no-NO-CeZQnyyD.js +0 -7
  743. package/dist/no-NO-Chwg5Roi.js +0 -7
  744. package/dist/no-NO-Dx_Z3uoZ.js +0 -7
  745. package/dist/no-NO-P5tRWhV9.js +0 -7
  746. package/dist/pl-PL-BsXtscoI.js +0 -7
  747. package/dist/pl-PL-CWFdZf24.js +0 -7
  748. package/dist/pl-PL-DSbuyzBx.js +0 -7
  749. package/dist/pl-PL-J9S3_lCf.js +0 -7
  750. package/dist/pl-PL-_KG-ZD1N.js +0 -7
  751. package/dist/pt-BR-B2q9Nl16.js +0 -7
  752. package/dist/pt-BR-BYbyk6xS.js +0 -7
  753. package/dist/pt-BR-Cph-P8oH.js +0 -7
  754. package/dist/pt-BR-D1yTuXWd2.js +0 -7
  755. package/dist/pt-BR-fKlNUybd.js +0 -7
  756. package/dist/pt-PT-C1gtp2_N.js +0 -7
  757. package/dist/pt-PT-CQQkh5PS.js +0 -7
  758. package/dist/pt-PT-D8ldyR-j.js +0 -7
  759. package/dist/pt-PT-DAvsI-Tr.js +0 -7
  760. package/dist/pt-PT-DhokEMPi.js +0 -7
  761. package/dist/pt-PT-IPhkbQvT.js +0 -7
  762. package/dist/resolveEnvironment-BYEL10Nc.js +0 -2524
  763. package/dist/ro-RO-C6xoaASq.js +0 -7
  764. package/dist/ro-RO-CP_IrOlX.js +0 -7
  765. package/dist/ro-RO-CQJk7Cpo.js +0 -7
  766. package/dist/ro-RO-CnMe6Mfw.js +0 -7
  767. package/dist/ro-RO-_BLhsnIB.js +0 -7
  768. package/dist/sk-SK-BOc9IqyW.js +0 -7
  769. package/dist/sk-SK-Bb1CdAzD.js +0 -7
  770. package/dist/sk-SK-Br1Y4_CN.js +0 -7
  771. package/dist/sk-SK-Bx2_85dW.js +0 -7
  772. package/dist/sk-SK-C889qQFo.js +0 -7
  773. package/dist/sl-SI-B-Xa0hlk.js +0 -7
  774. package/dist/sl-SI-BQc61Sz2.js +0 -7
  775. package/dist/sl-SI-DHPadSTy.js +0 -7
  776. package/dist/sl-SI-DO9c7geI.js +0 -7
  777. package/dist/sl-SI-bkhhInrg.js +0 -7
  778. package/dist/sv-SE-BXrlr0X5.js +0 -7
  779. package/dist/sv-SE-Dk81lopg.js +0 -7
  780. package/dist/sv-SE-DzsWB30f.js +0 -7
  781. package/dist/sv-SE-IBYnJfbW.js +0 -7
  782. package/dist/sv-SE-X89Q6ZAq.js +0 -7
  783. package/dist/sv-SE-l_UVgmVu.js +0 -7
  784. package/dist/types/components/GlobalEntry/utils.d.ts +0 -30
  785. package/dist/types/components/Shared/fields/TaxInformationField/TaxIdNumberTypeSelector/getDefaultTaxIdNumberType.d.ts +0 -30
  786. package/dist/types/components/Shared/fields/TaxInformationField/TaxIdNumberTypeSelector/inferTaxIdNumberType.d.ts +0 -13
  787. package/dist/types/core/models/api/attachment.d.ts +0 -7
  788. package/dist/types/core/models/api/document.d.ts +0 -25
  789. package/dist/types/core/models/api/entity-type.d.ts +0 -5
  790. package/dist/types/core/models/api/legal-arrangement.d.ts +0 -24
  791. package/dist/types/core/models/api/legal-entity-type.d.ts +0 -8
  792. package/dist/types/core/models/api/legal-entity.d.ts +0 -36
  793. package/dist/types/core/models/api/problem.d.ts +0 -12
  794. package/dist/types/core/models/api/remediating-action.d.ts +0 -5
  795. package/dist/types/core/models/api/transfer-instrument.d.ts +0 -33
  796. package/dist/types/core/models/api/trusted-fields-provider.d.ts +0 -5
  797. package/dist/types/core/models/api/verification-error.d.ts +0 -19
  798. package/dist/utils-DBIDcVUN.js +0 -214
@@ -0,0 +1,235 @@
1
+ try {
2
+ let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "a206efcd-5918-48d5-98f6-53f1757bacf4", e._sentryDebugIdIdentifier = "sentry-dbid-a206efcd-5918-48d5-98f6-53f1757bacf4");
4
+ } catch (e) {}
5
+ import { r as useTranslation } from "./translation-DbATp_35.js";
6
+ import { n as IconButton } from "./Button-DPJ1k02w.js";
7
+ import { y as isEmpty } from "./validatorUtils-D2O6AAZn.js";
8
+ import { t as Header } from "./Header-DVLlJ6we.js";
9
+ import { t as useAnalyticsContext } from "./useAnalyticsContext-gSnRnYgV.js";
10
+ import { t as Image } from "./Image-Bn_Yyuof.js";
11
+ import { t as List } from "./List-ywoRPg-q.js";
12
+ import { t as StructuredList } from "./StructuredList-nPasiuLi.js";
13
+ import { r as translateTranslatable } from "./utils-CYUYe54m.js";
14
+ import { t as ErrorPanel } from "./ErrorPanel-D4JNFkvi.js";
15
+ import { t as createFormUtils } from "./formUtils-DVDcdZsP.js";
16
+ import { t as getRoleName } from "./roleMetadata-Dm1FVuPT.js";
17
+ import { t as isSummaryItem } from "./summaryItem-uDWmtYtt.js";
18
+ import { lazy } from "preact/compat";
19
+ import { jsx, jsxs } from "preact/jsx-runtime";
20
+ //#region src/utils/analytics/trackNavigation.ts
21
+ var trackNavigation = ({ userEvents, actionType, toForm, label, returnValue, additionalTrackingParams }) => {
22
+ userEvents.addPageEvent("Clicked button", {
23
+ actionType,
24
+ toPage: toForm,
25
+ label,
26
+ returnValue,
27
+ ...additionalTrackingParams
28
+ });
29
+ };
30
+ var Summary_module_default = {
31
+ summary: "_summary_1op7a_1",
32
+ "summary-content": "_summary-content_1op7a_7",
33
+ summaryContent: "_summary-content_1op7a_7",
34
+ "summary-list": "_summary-list_1op7a_13",
35
+ summaryList: "_summary-list_1op7a_13",
36
+ "summary-list-header": "_summary-list-header_1op7a_27",
37
+ summaryListHeader: "_summary-list-header_1op7a_27",
38
+ "summary-list-header-title": "_summary-list-header-title_1op7a_32",
39
+ summaryListHeaderTitle: "_summary-list-header-title_1op7a_32",
40
+ "summary-list-item": "_summary-list-item_1op7a_41",
41
+ summaryListItem: "_summary-list-item_1op7a_41",
42
+ "summary-list-item-key": "_summary-list-item-key_1op7a_55",
43
+ summaryListItemKey: "_summary-list-item-key_1op7a_55",
44
+ "summary-list-item-value": "_summary-list-item-value_1op7a_67",
45
+ summaryListItemValue: "_summary-list-item-value_1op7a_67",
46
+ "summary-content-legal-caption": "_summary-content-legal-caption_1op7a_73",
47
+ summaryContentLegalCaption: "_summary-content-legal-caption_1op7a_73",
48
+ "summary-content-list": "_summary-content-list_1op7a_88",
49
+ summaryContentList: "_summary-content-list_1op7a_88",
50
+ "summary-content-logo": "_summary-content-logo_1op7a_92",
51
+ summaryContentLogo: "_summary-content-logo_1op7a_92"
52
+ };
53
+ //#endregion
54
+ //#region src/components/Shared/Summary/Summary.tsx
55
+ var onfidoLogo = lazy(() => import("./onfido-logo-CMRuSr8M.js"));
56
+ var summaryStep = {
57
+ formId: "summary",
58
+ formName: "summary"
59
+ };
60
+ /** @deprecated, use NewSummary */
61
+ function Summary({ data, forms, gotoForm, labels, problems, omitted = {}, showFormHeader = true, showSectionHeader = true, showLegalCaption = false, showTaxExemptedLegalCaption = false, useStructuredList = false }) {
62
+ const { t } = useTranslation("common");
63
+ const userEvents = useAnalyticsContext();
64
+ const editForm = (formId) => {
65
+ const formIndex = forms.findIndex((form) => form.formId === formId);
66
+ if (formIndex >= 0) gotoForm(formIndex);
67
+ };
68
+ const allValidationErrors = problems?.validationErrors && Object.values(problems.validationErrors)?.reduce((acc, validError) => ({
69
+ ...acc,
70
+ ...validError
71
+ }), {});
72
+ const allVerificationErrors = problems?.verificationErrors && Object.values(problems.verificationErrors)?.reduce((acc, verifError) => ({
73
+ ...acc,
74
+ ...verifError
75
+ }), {});
76
+ const formUtils = createFormUtils({ labels }, t);
77
+ const summarySectionHeader = (formName, formId) => /* @__PURE__ */ jsxs("header", {
78
+ className: Summary_module_default.summaryListHeader,
79
+ children: [/* @__PURE__ */ jsx("h2", {
80
+ className: Summary_module_default.summaryListHeaderTitle,
81
+ children: formName
82
+ }), !omitted.summaryEditButton?.includes(formId) && /* @__PURE__ */ jsx(IconButton, {
83
+ variant: "tertiary",
84
+ icon: "edit",
85
+ onClick: () => {
86
+ trackNavigation({
87
+ userEvents,
88
+ actionType: "edit",
89
+ toForm: formName,
90
+ label: "Pencil icon"
91
+ });
92
+ editForm(formId);
93
+ },
94
+ ariaLabel: t(($) => $["editForm"], { formName })
95
+ })]
96
+ });
97
+ const renderSummarySection = (fieldData, labelData = {}, formName, formId, useStructuredList) => {
98
+ const structuredListItems = Object.entries(fieldData).map(([key, value]) => {
99
+ return {
100
+ term: t(($) => $[labelData[key] || key]),
101
+ details: value
102
+ };
103
+ });
104
+ return !useStructuredList ? /* @__PURE__ */ jsxs(List, {
105
+ variant: "grouped-secondary",
106
+ children: [showSectionHeader && summarySectionHeader(formName, formId), /* @__PURE__ */ jsx("dl", {
107
+ className: Summary_module_default.summaryList,
108
+ children: Array.isArray(fieldData) ? fieldData.map((item) => renderBulletedListField(item)) : renderSummaryItems(fieldData, labelData)
109
+ })]
110
+ }) : /* @__PURE__ */ jsxs(List, {
111
+ variant: "grouped-secondary",
112
+ children: [showSectionHeader && summarySectionHeader(formName, formId), /* @__PURE__ */ jsx(StructuredList, { items: structuredListItems })]
113
+ });
114
+ };
115
+ const renderSummaryContent = (summaryData, useStructuredList) => {
116
+ const summaryList = [];
117
+ forms.forEach(({ formId, formName }) => {
118
+ const currentFormData = summaryData[formId];
119
+ if (!currentFormData || Object.values(currentFormData).every((value) => isEmpty(value)) || formId === summaryStep.formId || omitted.forms?.includes(formId)) return;
120
+ const summaryItems = currentFormData.hasInnerForms ? renderInnerForms(labels?.[formId], formId, currentFormData) : renderSummarySection(currentFormData, labels?.[formId], t(($) => $[typeof labels?.[formId] === "string" ? labels[formId] : formName]), formId, useStructuredList);
121
+ summaryList.push(summaryItems);
122
+ });
123
+ return summaryList;
124
+ };
125
+ const renderInnerForms = (labelData, parentFormId, innerForms = {}) => {
126
+ if (!innerForms) return [];
127
+ const dataList = [];
128
+ Object.entries(innerForms).forEach(([innerFormName, innerFormFieldData]) => {
129
+ const formName = t(($) => $[labelData?.[innerFormName] || innerFormName]);
130
+ if (typeof innerFormFieldData === "object" && innerFormFieldData !== null) {
131
+ if (Object.values(innerFormFieldData).every((value) => isEmpty(value))) return;
132
+ dataList.push(renderSummarySection(innerFormFieldData, labelData, formName, parentFormId));
133
+ }
134
+ });
135
+ return dataList;
136
+ };
137
+ /**
138
+ * Renders a single label-value pair as a field in the summary section.
139
+ *
140
+ * This helper function creates the markup for a single piece of data,
141
+ * displaying a label and its corresponding value using a definition list
142
+ * for semantic correctness (`<dt>` for label, `<dd>` for data).
143
+ *
144
+ * @param label The translated label to display for the field.
145
+ * @param value The value of the field, which can be a simple string or a JSX element for more complex rendering.
146
+ * @returns A JSX element representing the summary field.
147
+ */
148
+ const renderField = (label, value) => /* @__PURE__ */ jsxs("div", {
149
+ className: Summary_module_default.summaryListItem,
150
+ children: [/* @__PURE__ */ jsx("dt", {
151
+ className: Summary_module_default.summaryListItemKey,
152
+ children: label
153
+ }), /* @__PURE__ */ jsx("dd", {
154
+ className: Summary_module_default.summaryListItemValue,
155
+ children: value
156
+ })]
157
+ });
158
+ const renderBulletedListField = (item) => /* @__PURE__ */ jsx("ul", {
159
+ className: Summary_module_default.summaryContentList,
160
+ children: /* @__PURE__ */ jsx("li", { children: item })
161
+ });
162
+ /**
163
+ * Recursively renders the data fields for a summary section.
164
+ *
165
+ * This function iterates through the properties of the `formData` object.
166
+ * It handles different data types by:
167
+ * - Displaying simple string or number values with their corresponding labels.
168
+ * - Handling 'role' arrays specifically to show a comma-separated list of roles.
169
+ * - Recognizing and rendering `SummaryItem` objects with their custom labels and values.
170
+ * - Recursively calling itself for nested objects to render their properties.
171
+ *
172
+ * Fields listed in the `omitted.keys` prop are skipped.
173
+ *
174
+ * @param formData The data object for the current section, containing key-value pairs to be rendered.
175
+ * @param labelData A map of field keys to their corresponding translation keys for fetching display labels.
176
+ * @returns An array of JSX elements representing the rendered summary fields for the section.
177
+ */
178
+ const renderSummaryItems = (formData = {}, labelData = {}) => {
179
+ if (!formData) return [];
180
+ if (formData?.idVerificationMethod === "instantVerification") return [renderField(t(($) => $["verificationMethod"]), /* @__PURE__ */ jsx(Image, {
181
+ lazyLoadedImage: onfidoLogo,
182
+ className: Summary_module_default.summaryContentLogo,
183
+ alt: "onfido-logo"
184
+ }))];
185
+ const dataList = [];
186
+ Object.entries(formData).forEach(([field, fieldData]) => {
187
+ if (omitted.keys?.includes(field) || !fieldData) return;
188
+ const fieldName = t(($) => $[labelData[field] || field]);
189
+ if (field === "role" && Array.isArray(fieldData)) {
190
+ const label = fieldData.length > 1 ? t(($) => $["roles"]) : fieldName;
191
+ const roles = fieldData.map((role) => t(($) => $[getRoleName(role)])).join(", ");
192
+ dataList.push(renderField(label, roles));
193
+ } else if (isSummaryItem(fieldData)) {
194
+ const { summaryLabel, summaryValue, preTranslated } = fieldData;
195
+ if (preTranslated) dataList.push(renderField(summaryLabel, summaryValue));
196
+ else dataList.push(renderField(translateTranslatable(t, summaryLabel) ?? "", summaryValue));
197
+ } else if (typeof fieldData === "object") dataList.push(renderSummaryItems(fieldData, labelData));
198
+ else if (["string", "number"].includes(typeof fieldData)) dataList.push(renderField(fieldName, fieldData));
199
+ });
200
+ return dataList;
201
+ };
202
+ return /* @__PURE__ */ jsxs("div", {
203
+ role: "region",
204
+ className: Summary_module_default.summary,
205
+ children: [showFormHeader && /* @__PURE__ */ jsx(Header, {
206
+ title: t(($) => $["summary"]),
207
+ description: t(($) => $["summaryDescription"])
208
+ }), /* @__PURE__ */ jsxs("div", {
209
+ className: Summary_module_default.summaryContent,
210
+ children: [
211
+ /* @__PURE__ */ jsx(ErrorPanel, {
212
+ validationErrors: allValidationErrors,
213
+ verificationErrors: allVerificationErrors,
214
+ formUtils,
215
+ id: "ariaErrorField"
216
+ }),
217
+ renderSummaryContent(data, useStructuredList),
218
+ showLegalCaption && /* @__PURE__ */ jsx("div", {
219
+ className: Summary_module_default.summaryContentLegalCaption,
220
+ children: t(($) => $["summaryLegalCaption"])
221
+ }),
222
+ showTaxExemptedLegalCaption && /* @__PURE__ */ jsxs("div", {
223
+ className: Summary_module_default.summaryContentLegalCaption,
224
+ children: [/* @__PURE__ */ jsx("p", { children: t(($) => $["summaryTaxExemptionLegalCaptionTitle"]) }), /* @__PURE__ */ jsxs("ul", { children: [
225
+ /* @__PURE__ */ jsx("li", { children: t(($) => $["summaryTaxExemptionLegalCaption_1"]) }),
226
+ /* @__PURE__ */ jsx("li", { children: t(($) => $["summaryTaxExemptionLegalCaption_2"]) }),
227
+ /* @__PURE__ */ jsx("li", { children: t(($) => $["summaryTaxExemptionLegalCaption_3"]) })
228
+ ] })]
229
+ })
230
+ ]
231
+ })]
232
+ });
233
+ }
234
+ //#endregion
235
+ export { trackNavigation as i, summaryStep as n, Summary_module_default as r, Summary as t };
@@ -1,16 +1,16 @@
1
1
  try {
2
2
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
3
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "6f17a371-5048-45f1-86bd-5650b7ebfb51", e._sentryDebugIdIdentifier = "sentry-dbid-6f17a371-5048-45f1-86bd-5650b7ebfb51");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "191aa40e-16c7-4049-9cd2-c158b77ee454", e._sentryDebugIdIdentifier = "sentry-dbid-191aa40e-16c7-4049-9cd2-c158b77ee454");
4
4
  } catch (e) {}
5
- import { r as useTranslation } from "./translation-BOm4lmPx.js";
6
- import { t as Button } from "./Button-DfRmINzF.js";
5
+ import { r as useTranslation } from "./translation-DbATp_35.js";
6
+ import { t as Button } from "./Button-DPJ1k02w.js";
7
7
  import { i as TaskStatuses } from "./taskStatus-BtekPA8E.js";
8
- import { t as Modal } from "./Modal-BsivDPTd.js";
9
- import { t as TaskListItem } from "./TaskListItem-BIKdDEzU.js";
10
- import { h as FormFlow_module_default } from "./RadioGroup-D8DRUJ2o.js";
11
- import { n as useWorkflowContext, t as NodeRenderer } from "./AdaptiveWorkflow-CM7ZVGXv.js";
8
+ import { t as TaskListItem } from "./TaskListItem-Dx3hKOqG.js";
9
+ import { t as Modal } from "./Modal-CHES6970.js";
10
+ import { t as FormFlow_module_default } from "./FormFlow.module-DqMxjYHl.js";
11
+ import { n as useWorkflowContext, t as NodeRenderer } from "./NodeRenderer-smgxe7Ni.js";
12
12
  import { t as useTaskStepperContext } from "./useTaskStepperContext-DCNMsKUc.js";
13
- import { t as TaskStepperContextProvider } from "./TaskStepperContextProvider-D0tKJplv.js";
13
+ import { t as TaskStepperContextProvider } from "./TaskStepperContextProvider-DdcsqXT7.js";
14
14
  import { useCallback, useRef, useState } from "preact/hooks";
15
15
  import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
16
16
  import { useComputed } from "@preact/signals";
@@ -1,11 +1,11 @@
1
1
  try {
2
2
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
3
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "06988270-ded9-41a0-ab27-c4c858de18b7", e._sentryDebugIdIdentifier = "sentry-dbid-06988270-ded9-41a0-ab27-c4c858de18b7");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "a587d1f4-b38c-40fe-9379-5803172ee6f1", e._sentryDebugIdIdentifier = "sentry-dbid-a587d1f4-b38c-40fe-9379-5803172ee6f1");
4
4
  } catch (e) {}
5
- import { r as useTranslation } from "./translation-BOm4lmPx.js";
6
- import { k as Header } from "./resolveEnvironment-BYEL10Nc.js";
5
+ import { r as useTranslation } from "./translation-DbATp_35.js";
7
6
  import { t as StackLayout } from "./StackLayout-IUdNMDgW.js";
8
- import { t as NodeRenderer } from "./AdaptiveWorkflow-CM7ZVGXv.js";
7
+ import { t as Header } from "./Header-DVLlJ6we.js";
8
+ import { t as NodeRenderer } from "./NodeRenderer-smgxe7Ni.js";
9
9
  import { jsx, jsxs } from "preact/jsx-runtime";
10
10
  //#region src/adaptiveWorkflow/components/Layout/TaskGroup/contextMap.ts
11
11
  var contextMap = {
@@ -1,19 +1,19 @@
1
1
  try {
2
2
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
3
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "5643ce11-8060-4d84-9afc-d9befdd28a6a", e._sentryDebugIdIdentifier = "sentry-dbid-5643ce11-8060-4d84-9afc-d9befdd28a6a");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "017afade-e5c7-4dc5-bc06-9947cbc676a5", e._sentryDebugIdIdentifier = "sentry-dbid-017afade-e5c7-4dc5-bc06-9947cbc676a5");
4
4
  } catch (e) {}
5
- import { r as useTranslation } from "./translation-BOm4lmPx.js";
6
- import { x as Alert } from "./resolveEnvironment-BYEL10Nc.js";
7
- import { t as Icon } from "./Icon-C3S5_kkS.js";
8
- import { n as IconButton } from "./Button-DfRmINzF.js";
9
- import { t as TaskVerificationStatus } from "./TaskVerificationStatus-DPA4ZEPa.js";
5
+ import { r as useTranslation } from "./translation-DbATp_35.js";
6
+ import { t as Icon } from "./Icon-4XR6gZzk.js";
7
+ import { n as IconButton } from "./Button-DPJ1k02w.js";
8
+ import { t as TaskVerificationStatus } from "./TaskVerificationStatus-DEXk_ndE.js";
10
9
  import { i as TaskStatuses } from "./taskStatus-BtekPA8E.js";
11
- import { i as useAnalyticsContext } from "./Modal-BsivDPTd.js";
10
+ import { t as Alert } from "./Alert-Cc7p0N5h.js";
11
+ import { t as useAnalyticsContext } from "./useAnalyticsContext-gSnRnYgV.js";
12
12
  import { t as Card } from "./Card-BCGLpdw7.js";
13
- import { t as VerificationErrorAlert } from "./VerificationErrorAlert-BBfoLMwb.js";
14
- import { t as Avatar } from "./Avatar-Zp1T9qAL.js";
15
- import { p as LoaderWrapper } from "./Select-ByVcS_J2.js";
16
- import { s as Confirm } from "./utils-DBIDcVUN.js";
13
+ import { t as Avatar } from "./Avatar-oTPu6Ejy.js";
14
+ import { t as LoaderWrapper } from "./LoaderWrapper-Dc88hY-P.js";
15
+ import { t as VerificationErrorAlert } from "./VerificationErrorAlert-CixajVtq.js";
16
+ import { t as Confirm } from "./Confirm-DoN9R9Z3.js";
17
17
  import { useState } from "preact/hooks";
18
18
  import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
19
19
  //#region src/components/Apps/tasks/TaskList/TaskListItem/TaskListItem.tsx
@@ -1,6 +1,6 @@
1
1
  try {
2
2
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
3
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "3a4efd8a-85a7-40c9-a650-04d2b8c02e9a", e._sentryDebugIdIdentifier = "sentry-dbid-3a4efd8a-85a7-40c9-a650-04d2b8c02e9a");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "68f8836e-b107-48c5-9ef0-0a6372daced9", e._sentryDebugIdIdentifier = "sentry-dbid-68f8836e-b107-48c5-9ef0-0a6372daced9");
4
4
  } catch (e) {}
5
5
  import { n as TaskStepperContext, r as TaskStepperModel } from "./useTaskStepperContext-DCNMsKUc.js";
6
6
  import { jsx } from "preact/jsx-runtime";
@@ -1,9 +1,9 @@
1
1
  try {
2
2
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
3
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "a31113fc-2c82-4bf1-b3fc-349b52a96be7", e._sentryDebugIdIdentifier = "sentry-dbid-a31113fc-2c82-4bf1-b3fc-349b52a96be7");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "61f48ca1-bc81-4dbb-aaaf-8be6ae654ea1", e._sentryDebugIdIdentifier = "sentry-dbid-61f48ca1-bc81-4dbb-aaaf-8be6ae654ea1");
4
4
  } catch (e) {}
5
- import { r as useTranslation } from "./translation-BOm4lmPx.js";
6
- import { t as Icon } from "./Icon-C3S5_kkS.js";
5
+ import { r as useTranslation } from "./translation-DbATp_35.js";
6
+ import { t as Icon } from "./Icon-4XR6gZzk.js";
7
7
  import { i as TaskStatuses } from "./taskStatus-BtekPA8E.js";
8
8
  import cx from "classnames";
9
9
  import { jsx, jsxs } from "preact/jsx-runtime";
@@ -0,0 +1,242 @@
1
+ try {
2
+ let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "44c6be83-45bd-440e-9cab-7acfce4da0ac", e._sentryDebugIdIdentifier = "sentry-dbid-44c6be83-45bd-440e-9cab-7acfce4da0ac");
4
+ } catch (e) {}
5
+ import { r as useTranslation } from "./translation-DbATp_35.js";
6
+ import { t as useAccountHolder } from "./useAccountHolder-BpIX1iBG.js";
7
+ import { t as useToggleContext } from "./useToggleContext-B_YexrbT.js";
8
+ import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
9
+ import { r as translateTranslatable } from "./utils-CYUYe54m.js";
10
+ import { t as Field } from "./Field-DwDJQVSS.js";
11
+ import { D as getTaxIdNumberOptions, O as getTaxIdNumberSelectorOptions, a as exemptedFromTaxDefaultFieldConfig, c as taxInformationDefaultFieldConfig, i as findExistingTaxInformation, l as taxInformationDefaultFieldMetadata, n as upsertTaxInfoForCountry, o as exemptedFromTaxDefaultFieldMetadata, r as TaxIdNumberTypeSelector, t as removeTaxInfoForCountry, y as COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4 } from "./utils-Ck_mZapQ.js";
12
+ import { t as Checkbox } from "./Checkbox-qfdF12cF.js";
13
+ import { t as resolveFieldMetadata } from "./fieldConfigurations-CZCFghnK.js";
14
+ import { c as MaskedInput } from "./maskHelpers-C0wnCoJl.js";
15
+ import { useCallback, useEffect, useMemo, useRef } from "preact/hooks";
16
+ import { jsx, jsxs } from "preact/jsx-runtime";
17
+ //#region src/utils/japanSupportUtils.ts
18
+ var isJapanLocalizationEnabled = (isFeatureEnabled = () => false, country) => {
19
+ return country === CountryCodes.Japan && isFeatureEnabled("EnableJapanLocalization");
20
+ };
21
+ //#endregion
22
+ //#region src/components/Shared/fields/TaxInformationField/TaxInformationField.tsx
23
+ var TAX_INFORMATION_FIELD = [
24
+ "taxInformation",
25
+ "exemptedFromTax",
26
+ "isUen"
27
+ ];
28
+ /**
29
+ * Renders a dynamic form field for tax identification information, adapting its display
30
+ * and behavior based on country and company type. It supports various tax ID input
31
+ * scenarios, including two specialized handling for US Sole Proprietorships (where SSN option acts as exemption selection)
32
+ * and Singapore Companies (where registration number (UEN) can be used for tax ID).
33
+ */
34
+ function TaxInformationField({ data, valid, errors, placeholder, readonly, optional, shouldValidate, handleChangeFor, country, canExempt, registrationNumber, entityType, defaultData }) {
35
+ const { isFeatureEnabled } = useToggleContext();
36
+ const { t } = useTranslation("common");
37
+ const { accountHolder } = useAccountHolder();
38
+ const currentCountryTaxInformation = useMemo(() => data?.taxInformation?.find((taxInfo) => taxInfo.country === country) ?? (!data.exemptedFromTax ? defaultData?.find((taxInfo) => taxInfo.country === country) : void 0), [
39
+ data?.taxInformation,
40
+ data.exemptedFromTax,
41
+ defaultData,
42
+ country
43
+ ]);
44
+ const isUsSoleProp = country === "US" && entityType === "soleProprietorship";
45
+ const options = getTaxIdNumberOptions(country, entityType);
46
+ const showTaxIdExemptedOptions = canExempt && (options?.length ?? 0) > 1 || isUsSoleProp;
47
+ const canSaveAbsentState = isFeatureEnabled("EnableRegistrationAndTaxAbsentStatesV4") && COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4.includes(country) && accountHolder === "aTrust";
48
+ const { label: resolvedExemptionLabel } = resolveFieldMetadata(exemptedFromTaxDefaultFieldConfig[country], {}, exemptedFromTaxDefaultFieldMetadata);
49
+ const exemptedFromTaxLabel = t(($) => $[resolvedExemptionLabel ?? "iDontHaveATaxId"]);
50
+ const exemptionLabel = isUsSoleProp ? t(($) => $["socialSecurityNumber"]) : exemptedFromTaxLabel;
51
+ const selectorOptions = getTaxIdNumberSelectorOptions(country, entityType, showTaxIdExemptedOptions ? exemptionLabel : void 0);
52
+ const shouldRenderInput = isUsSoleProp ? currentCountryTaxInformation?.type === "EIN" : !data.isUen;
53
+ const taxIdNumberType = useMemo(() => {
54
+ if (data.exemptedFromTax) return "exempted";
55
+ if (currentCountryTaxInformation?.type) return currentCountryTaxInformation.type;
56
+ if (isUsSoleProp) return void 0;
57
+ return findExistingTaxInformation(data.taxInformation, country)?.type;
58
+ }, [
59
+ country,
60
+ currentCountryTaxInformation?.type,
61
+ data.exemptedFromTax,
62
+ data.taxInformation,
63
+ entityType,
64
+ isUsSoleProp
65
+ ]);
66
+ const shouldDisplayErrorOnSelector = selectorOptions.length > 1 && taxIdNumberType === void 0;
67
+ const selectorError = shouldDisplayErrorOnSelector ? errors.taxInformation : void 0;
68
+ const inputError = shouldDisplayErrorOnSelector ? void 0 : errors.taxInformation;
69
+ const { label, mask, guidanceText } = resolveFieldMetadata(taxInformationDefaultFieldConfig[country], {
70
+ taxIdNumberType: taxIdNumberType === "exempted" ? void 0 : taxIdNumberType,
71
+ companyType: entityType
72
+ }, taxInformationDefaultFieldMetadata);
73
+ const updateTaxInfo = useCallback((mode, newEntry) => {
74
+ const entry = canSaveAbsentState ? {
75
+ ...newEntry,
76
+ numberAbsent: newEntry.numberAbsent ?? false
77
+ } : newEntry;
78
+ handleChangeFor("taxInformation", mode)(upsertTaxInfoForCountry(data.taxInformation, country, entry));
79
+ }, [
80
+ canSaveAbsentState,
81
+ country,
82
+ data.taxInformation,
83
+ handleChangeFor
84
+ ]);
85
+ const updateTaxType = useCallback((type, mode) => {
86
+ updateTaxInfo(mode, {
87
+ country,
88
+ number: currentCountryTaxInformation?.number,
89
+ type
90
+ });
91
+ }, [
92
+ country,
93
+ currentCountryTaxInformation?.number,
94
+ updateTaxInfo
95
+ ]);
96
+ const resetToDefaultData = useCallback(() => {
97
+ if (defaultData !== void 0) handleChangeFor("taxInformation", "input")(defaultData);
98
+ }, [defaultData, handleChangeFor]);
99
+ const removeCountryTaxInfo = useCallback(() => {
100
+ handleChangeFor("taxInformation", "input")(removeTaxInfoForCountry(data.taxInformation, country));
101
+ }, [
102
+ country,
103
+ data.taxInformation,
104
+ handleChangeFor
105
+ ]);
106
+ const setUenAsTaxId = useCallback((uen) => {
107
+ updateTaxInfo("blur", {
108
+ country,
109
+ number: uen ?? "",
110
+ type: "UEN"
111
+ });
112
+ }, [country, updateTaxInfo]);
113
+ const addTaxAbsentStatus = useCallback((exempted) => {
114
+ handleChangeFor("taxInformation", "input")(upsertTaxInfoForCountry(data.taxInformation, country, {
115
+ country,
116
+ numberAbsent: exempted
117
+ }));
118
+ }, [
119
+ country,
120
+ data.taxInformation,
121
+ handleChangeFor
122
+ ]);
123
+ const handleTaxNumberChange = useCallback((e, mode) => {
124
+ const value = e ? typeof e === "string" ? e : e.currentTarget.value : void 0;
125
+ const resolvedType = currentCountryTaxInformation?.type ?? (taxIdNumberType !== "exempted" ? taxIdNumberType : void 0);
126
+ updateTaxInfo(mode, {
127
+ country,
128
+ number: value,
129
+ type: resolvedType
130
+ });
131
+ }, [
132
+ country,
133
+ currentCountryTaxInformation?.type,
134
+ taxIdNumberType,
135
+ updateTaxInfo
136
+ ]);
137
+ const handleTaxIdNumberTypeChange = useCallback((taxIdType) => {
138
+ if (!canExempt && taxIdType === "exempted") throw Error(`${country} does not allow tax exemptions`);
139
+ if (taxIdType === "exempted") {
140
+ handleChangeFor("exemptedFromTax")(true);
141
+ updateTaxType(void 0, "input");
142
+ return canSaveAbsentState ? addTaxAbsentStatus(true) : removeCountryTaxInfo();
143
+ }
144
+ handleChangeFor("exemptedFromTax")(false);
145
+ if (country === "SG") if (taxIdType === "UEN") {
146
+ handleChangeFor("isUen")(true);
147
+ setUenAsTaxId(registrationNumber);
148
+ } else {
149
+ handleChangeFor("isUen")(false);
150
+ removeCountryTaxInfo();
151
+ }
152
+ updateTaxType(taxIdType, "input");
153
+ }, [
154
+ addTaxAbsentStatus,
155
+ canExempt,
156
+ canSaveAbsentState,
157
+ country,
158
+ handleChangeFor,
159
+ updateTaxType,
160
+ registrationNumber,
161
+ removeCountryTaxInfo,
162
+ setUenAsTaxId
163
+ ]);
164
+ const handleExemptedFromTaxChange = useCallback((exempted) => {
165
+ handleChangeFor("exemptedFromTax")(exempted);
166
+ if (canSaveAbsentState) addTaxAbsentStatus(exempted);
167
+ else removeCountryTaxInfo();
168
+ }, [
169
+ addTaxAbsentStatus,
170
+ canSaveAbsentState,
171
+ handleChangeFor,
172
+ removeCountryTaxInfo
173
+ ]);
174
+ const prevCountryRef = useRef(country);
175
+ useEffect(() => {
176
+ if (!country || prevCountryRef.current === country) return;
177
+ prevCountryRef.current = country;
178
+ const hasSavedTaxId = defaultData?.find((taxId) => taxId.country === country);
179
+ if (currentCountryTaxInformation && !hasSavedTaxId) return;
180
+ if (entityType === "soleProprietorship") return;
181
+ resetToDefaultData();
182
+ }, [country]);
183
+ useEffect(() => {
184
+ if (country === "SG" && data.isUen && registrationNumber && registrationNumber !== currentCountryTaxInformation?.number) setUenAsTaxId(registrationNumber);
185
+ }, [
186
+ registrationNumber,
187
+ currentCountryTaxInformation?.number,
188
+ data.isUen,
189
+ country,
190
+ setUenAsTaxId
191
+ ]);
192
+ const isInitialized = useRef(false);
193
+ if (!isInitialized.current && country === "SG" && !defaultData?.find((taxInfo) => taxInfo.country === country)?.number) {
194
+ isInitialized.current = true;
195
+ handleChangeFor("isUen")(false);
196
+ }
197
+ return /* @__PURE__ */ jsxs("div", { children: [
198
+ /* @__PURE__ */ jsx(TaxIdNumberTypeSelector, {
199
+ country,
200
+ companyType: entityType,
201
+ setSelected: handleTaxIdNumberTypeChange,
202
+ selected: taxIdNumberType,
203
+ exemptedOptionLabel: showTaxIdExemptedOptions ? exemptionLabel : void 0,
204
+ isUsSoleProp,
205
+ errorMessage: selectorError
206
+ }),
207
+ shouldRenderInput && /* @__PURE__ */ jsx(MaskedInput, {
208
+ type: "text",
209
+ "aria-required": true,
210
+ "aria-invalid": !valid.taxInformation,
211
+ name: "taxInformation",
212
+ label: t(($) => $[label ?? "taxId"]),
213
+ formatGuidance: translateTranslatable(t, guidanceText),
214
+ value: currentCountryTaxInformation?.number ?? "",
215
+ errorMessage: inputError,
216
+ placeholder,
217
+ isValid: Boolean(valid.taxInformation) && !!currentCountryTaxInformation,
218
+ onInput: (e) => handleTaxNumberChange(e, "input"),
219
+ onBlur: (e) => handleTaxNumberChange(e, "blur"),
220
+ disabled: data.exemptedFromTax || data.isUen,
221
+ readonly,
222
+ optional,
223
+ shouldValidate,
224
+ ...mask
225
+ }),
226
+ canExempt && !showTaxIdExemptedOptions && /* @__PURE__ */ jsx(Field, {
227
+ name: "exemptedFromTax",
228
+ children: (childProps) => /* @__PURE__ */ jsx(Checkbox, {
229
+ ...childProps,
230
+ "aria-required": false,
231
+ "aria-invalid": false,
232
+ name: "exemptedFromTax",
233
+ label: exemptedFromTaxLabel,
234
+ value: "exemptedFromTax",
235
+ checked: Boolean(data.exemptedFromTax),
236
+ onChange: handleExemptedFromTaxChange
237
+ })
238
+ })
239
+ ] });
240
+ }
241
+ //#endregion
242
+ export { TaxInformationField as n, isJapanLocalizationEnabled as r, TAX_INFORMATION_FIELD as t };
@@ -1,14 +1,16 @@
1
1
  try {
2
2
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
3
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "69586f71-0c84-4a5a-9142-25db09fcb5a2", e._sentryDebugIdIdentifier = "sentry-dbid-69586f71-0c84-4a5a-9142-25db09fcb5a2");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "bb1209d1-1371-4990-93a9-f912a0ead610", e._sentryDebugIdIdentifier = "sentry-dbid-bb1209d1-1371-4990-93a9-f912a0ead610");
4
4
  } catch (e) {}
5
- import { r as useTranslation } from "./translation-BOm4lmPx.js";
6
- import { j as useToggleContext } from "./resolveEnvironment-BYEL10Nc.js";
7
- import { m as resolveFieldMetadata, u as MaskedInput } from "./form-rules-zzbZ2bV6.js";
8
- import { f as translateTranslatable, r as Field } from "./Select-ByVcS_J2.js";
9
- import { t as Checkbox } from "./Checkbox-B730k3Yy.js";
10
- import { B as taxInformationDefaultFieldConfig, O as COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4, V as taxInformationDefaultFieldMetadata, d as removeTaxInfoForCountry, f as upsertTaxInfoForCountry, h as getTaxIdNumberOptions, m as getDefaultTaxIdNumberType, p as TaxIdNumberTypeSelector } from "./bafinUtils-M2AASP_e.js";
11
- import { t as formatValidationError } from "./formatValidationError-BHvKLMYZ.js";
5
+ import { r as useTranslation } from "./translation-DbATp_35.js";
6
+ import { t as useToggleContext } from "./useToggleContext-B_YexrbT.js";
7
+ import { r as translateTranslatable } from "./utils-CYUYe54m.js";
8
+ import { t as Field } from "./Field-DwDJQVSS.js";
9
+ import { D as getTaxIdNumberOptions, c as taxInformationDefaultFieldConfig, i as findExistingTaxInformation, l as taxInformationDefaultFieldMetadata, n as upsertTaxInfoForCountry, r as TaxIdNumberTypeSelector, t as removeTaxInfoForCountry, y as COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4 } from "./utils-Ck_mZapQ.js";
10
+ import { t as Checkbox } from "./Checkbox-qfdF12cF.js";
11
+ import { t as resolveFieldMetadata } from "./fieldConfigurations-CZCFghnK.js";
12
+ import { c as MaskedInput } from "./maskHelpers-C0wnCoJl.js";
13
+ import { t as formatValidationError } from "./formatValidationError-q_w9DTrl.js";
12
14
  import { n as withForm } from "./formHook-Dgi2CgbT.js";
13
15
  import { useCallback, useEffect, useMemo, useRef } from "preact/hooks";
14
16
  import { jsx, jsxs } from "preact/jsx-runtime";
@@ -94,14 +96,13 @@ var TaxInformationFieldGroup = withForm({
94
96
  if (currentTaxInformation?.numberAbsent) return "exempted";
95
97
  if (currentTaxInformation?.type) return currentTaxInformation.type;
96
98
  if (isUsSoleProp) return void 0;
97
- return getDefaultTaxIdNumberType(taxInformations, country, entityType);
99
+ return findExistingTaxInformation(taxInformations, country)?.type;
98
100
  }, [
99
101
  currentTaxInformation?.type,
100
102
  currentTaxInformation?.numberAbsent,
101
103
  taxInformations,
102
104
  isUsSoleProp,
103
- country,
104
- entityType
105
+ country
105
106
  ]);
106
107
  const options = getTaxIdNumberOptions(country, entityType);
107
108
  const showTaxIdExemptedOptions = canExempt && (options?.length ?? 0) > 1 || isUsSoleProp;
@@ -198,10 +199,12 @@ var TaxInformationFieldGroup = withForm({
198
199
  updateTaxType
199
200
  ]);
200
201
  const handleTaxNumberChange = useCallback((e, mode) => {
202
+ const value = e ? typeof e === "string" ? e : e.currentTarget.value : void 0;
203
+ const resolvedType = currentTaxInformation?.type ?? (taxIdNumberType !== "exempted" ? taxIdNumberType : void 0);
201
204
  updateTaxInfo(mode, {
202
205
  country,
203
- number: e ? typeof e === "string" ? e : e.currentTarget.value : void 0,
204
- type: currentTaxInformation?.type ?? (taxIdNumberType !== "exempted" ? taxIdNumberType : void 0)
206
+ number: value,
207
+ type: resolvedType
205
208
  });
206
209
  }, [
207
210
  country,