@adyen/kyc-components 4.23.0 → 4.24.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1012) hide show
  1. package/dist/4-people-DKuivE0m.js +35 -0
  2. package/dist/AcceptTermsOfServiceWorkflow-C3JrMbt5.js +28 -0
  3. package/dist/Accordion-Dgdxfe-d.js +112 -0
  4. package/dist/AccountSetupRejected-D63dyojj.js +19 -0
  5. package/dist/AdaptiveWorkflow-XhWdnJv-.js +33 -0
  6. package/dist/AdaptiveWorkflowComponent-pMWy1Vig.js +166 -0
  7. package/dist/AddressFields-BC3QHs2u.js +468 -0
  8. package/dist/Alert-Cc7p0N5h.js +172 -0
  9. package/dist/AnalyticsContext-CpimDlw4.js +21 -0
  10. package/dist/Avatar-oTPu6Ejy.js +54 -0
  11. package/dist/BusinessFinancingDropin-CxHK6KY3.js +1870 -0
  12. package/dist/BusinessFinancingPage-teAAjQl8.js +89 -0
  13. package/dist/BusinessRegistrationNumberField-DKka8aVU.js +103 -0
  14. package/dist/BusinessRegistrationNumberFieldGroup-Df6_sDA0.js +173 -0
  15. package/dist/BusinessTypeSelectionPage-BETJH6LZ.js +457 -0
  16. package/dist/Button-DPJ1k02w.js +108 -0
  17. package/dist/Checkbox-qfdF12cF.js +60 -0
  18. package/dist/ComponentGroup-SozxzKWw.js +32 -0
  19. package/dist/Confirm-DoN9R9Z3.js +77 -0
  20. package/dist/ConstitutionalDocument-Bxsr1hQb.js +1229 -0
  21. package/dist/ContactDetails-CiWftLi4.js +516 -0
  22. package/dist/ContextGuidance-BQPwRscq.js +29 -0
  23. package/dist/ContractViewer-CG9UNGz1.js +1030 -0
  24. package/dist/CountryField-DT6-Jr_b.js +38 -0
  25. package/dist/Currency-oeXHRWzy.js +211 -0
  26. package/dist/CustomerSupport-D0bE0zga.js +141 -0
  27. package/dist/DataConflictsModal-CCaMgguu.js +238 -0
  28. package/dist/DebugModal-Cvp7_Z-i.js +456 -0
  29. package/dist/DecisionMakerDetails-Bbb_8up2.js +569 -0
  30. package/dist/DecisionMakerDetailsPage-BDTMzs1X.js +121 -0
  31. package/dist/DecisionMakers-maoFXpGe.js +594 -0
  32. package/dist/Dropzone-ttbRg2LI.js +250 -0
  33. package/dist/EmbeddedStatus-CYd2p4sP.js +129 -0
  34. package/dist/EndStateLayout-zZPm8S5M.js +83 -0
  35. package/dist/EntityAssociation-C2_Xuvf5.js +163 -0
  36. package/dist/ErrorPanel-D4JNFkvi.js +205 -0
  37. package/dist/Field-DwDJQVSS.js +154 -0
  38. package/dist/FormFlow.module-DqMxjYHl.js +20 -0
  39. package/dist/GlobalEntryModal-CLoPJXFE.js +1203 -0
  40. package/dist/GlobalEntryPage-DNPSSZ3M.js +78 -0
  41. package/dist/Header-DVLlJ6we.js +93 -0
  42. package/dist/Icon-4XR6gZzk.js +175 -0
  43. package/dist/IdentityNumber-3V6ZqvHB.js +540 -0
  44. package/dist/IdentityNumberFieldGroup-CAjlgTWn.js +57 -0
  45. package/dist/IdentityScreeningWorkflow-CBStT1hs.js +307 -0
  46. package/dist/Image-Bn_Yyuof.js +33 -0
  47. package/dist/IndividualDropin-0t7Oj71F.js +4175 -0
  48. package/dist/IndustryCodeFieldGroup-C3Zro2ds.js +189 -0
  49. package/dist/InputDate-Bq3Sb-ZW.js +211 -0
  50. package/dist/InputText-CFDEmEtp.js +119 -0
  51. package/dist/Introduction-z2SqIq1W.js +326 -0
  52. package/dist/InvitedDecisionMakerComponent-CZOVc-t9.js +481 -0
  53. package/dist/JpAddressFields-F1YCOcbO.js +288 -0
  54. package/dist/LandingLayout-BsIoIFzs.js +76 -0
  55. package/dist/LegalCompanyNameField-Cosyjk52.js +108 -0
  56. package/dist/LegalName-CtqIpsfy.js +33 -0
  57. package/dist/LegalRepresentativeDetailsPage-DwIARCpj.js +73 -0
  58. package/dist/Link-CvYhseSD.js +32 -0
  59. package/dist/ListItem-CYTpdOMa.js +70 -0
  60. package/dist/Loader-BVtlpTeo.js +92 -0
  61. package/dist/LoaderWrapper-Dc88hY-P.js +34 -0
  62. package/dist/MaybeModal-C4ySaA8A.js +24 -0
  63. package/dist/Modal-CHES6970.js +109 -0
  64. package/dist/Name-CdCsijr5.js +61 -0
  65. package/dist/NewSummary-D55f70wB.js +73 -0
  66. package/dist/NodeRenderer-B3G7pvjG.js +185 -0
  67. package/dist/PatriotActDisclosure-DqUZeLms.js +266 -0
  68. package/dist/PayoutDetailsDropin-LKMpfono.js +4104 -0
  69. package/dist/PayoutDetailsPage-KNHCeXgk.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-CS_-zAlg.js +99 -0
  74. package/dist/RootBusinessDetailsPage-1z2_FAb6.js +67 -0
  75. package/dist/RootBusinessLinesPage-BgbkJaW8.js +1464 -0
  76. package/dist/RootIndividualDetailsPage-DA4hh_gc.js +82 -0
  77. package/dist/Select-phAxjMBQ.js +782 -0
  78. package/dist/SignPCIComponent-tBnZMn1u.js +373 -0
  79. package/dist/SingpassSelection-B6_DsZtn.js +156 -0
  80. package/dist/SoleProprietorshipPage-2s1kA9ZV.js +69 -0
  81. package/dist/SourceOfFundsPage-CTjUdOWK.js +2800 -0
  82. package/dist/SourceOfFundsWorkflow-BZabOpi_.js +28 -0
  83. package/dist/StateContext-B2_Pqd_y.js +9 -0
  84. package/dist/StateField-BpMwetvd.js +55 -0
  85. package/dist/Step-C6XxGAda.js +191 -0
  86. package/dist/StructuredList-nPasiuLi.js +56 -0
  87. package/dist/Summary-DM31WxLr.js +235 -0
  88. package/dist/Task-DwGA1eXE.js +129 -0
  89. package/dist/TaskGroup-T594JSYM.js +46 -0
  90. package/dist/TaskListItem-Dx3hKOqG.js +123 -0
  91. package/dist/TaskStepperContextProvider-DdcsqXT7.js +26 -0
  92. package/dist/TaskVerificationStatus-DEXk_ndE.js +125 -0
  93. package/dist/TaxInformationField-CV7SpMH1.js +242 -0
  94. package/dist/TaxInformationFieldGroup-DI2LzuNr.js +290 -0
  95. package/dist/TaxReportingDropin-xYwJ-ju7.js +480 -0
  96. package/dist/TaxReportingWorkflow-BHyHgiI-.js +28 -0
  97. package/dist/TermsOfServiceManagement-CNQ4J5Gn.js +644 -0
  98. package/dist/TextArea-qGEo3PFG.js +81 -0
  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-Byj68n3F.js +1172 -0
  103. package/dist/TrustMemberCompanyPage-Bcz4Ql7s.js +108 -0
  104. package/dist/TrustMemberIndividualPage-D6CgWF88.js +108 -0
  105. package/dist/TrustMemberRoleAndTypePage-IUp5FVRW.js +937 -0
  106. package/dist/TrustMembersOverview-7EoKoSMg.js +453 -0
  107. package/dist/UboTaskItem-BmcGj5_U.js +115 -0
  108. package/dist/UnincorporatedPartnershipIndividualPage-BKpJDhhU.js +78 -0
  109. package/dist/UnincorporatedPartnershipMemberCompanyPage-D8VliL0i.js +78 -0
  110. package/dist/UnincorporatedPartnershipMemberRoleAndTypePage-D00bHhyf.js +256 -0
  111. package/dist/UnincorporatedPartnershipMembersOverview-Dw5IMSkd.js +160 -0
  112. package/dist/VerificationErrorAlert-CixajVtq.js +38 -0
  113. package/dist/Workflow-CWzMRGHX.js +228 -0
  114. package/dist/_rolldown_dynamic_import_helper-sGNwd-kR.js +14 -0
  115. package/dist/accountHolderUtils-CAu4V0ed.js +43 -0
  116. package/dist/adyen-business-financing.js +38 -37
  117. package/dist/adyen-individual-configuration.js +65 -65
  118. package/dist/adyen-individual-status.js +35 -34
  119. package/dist/adyen-invited-decision-maker.js +3 -3
  120. package/dist/adyen-onboarding.js +109 -101
  121. package/dist/adyen-terms-of-service-management.js +3 -3
  122. package/dist/adyen-terms-of-service-status.js +9 -8
  123. package/dist/adyen-transfer-instrument-configuration.js +62 -61
  124. package/dist/adyen-transfer-instrument-management.js +76 -70
  125. package/dist/adyen-verification-status.js +10 -8
  126. package/dist/arrow-right-D2hul7WG.js +20 -0
  127. package/dist/bafinUtils-DDrD6bfK.js +96 -0
  128. package/dist/bag-CRRS1aow.js +20 -0
  129. package/dist/bank-BoirCLLW.js +20 -0
  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-BOmfqfrr.js +30 -0
  136. package/dist/birthDateUtils-D6uk7zwm.js +84 -0
  137. package/dist/businessRegistrationNumberPatterns-A08SLm03.js +982 -0
  138. package/dist/capital-DTjbiurV.js +23 -0
  139. package/dist/cash-stack-7KpYpBek.js +33 -0
  140. package/dist/certificate-BPuoJ6Ip.js +23 -0
  141. package/dist/checkmark-BiSLf8M1.js +20 -0
  142. package/dist/checkmark-circle-Ams7bSve.js +28 -0
  143. package/dist/checkmark-circle-fill-_p4ss4ac.js +30 -0
  144. package/dist/checkmark-small-3bw4ftPV.js +20 -0
  145. package/dist/chevron-down-GgZawvoy.js +20 -0
  146. package/dist/chevron-left-TeZTTvo5.js +20 -0
  147. package/dist/chevron-right-Cg8XlTxx.js +20 -0
  148. package/dist/chevron-up-COQUTli0.js +20 -0
  149. package/dist/circle-CypWzg83.js +30 -0
  150. package/dist/circle-small-filled-DfdK2A35.js +20 -0
  151. package/dist/clock-DmfGJ2r9.js +28 -0
  152. package/dist/coins-CBvbB8_X.js +30 -0
  153. package/dist/constants-C8yo0_RA.js +233 -0
  154. package/dist/contract-D1_RJ_xh.js +20 -0
  155. package/dist/countries-BGMTpyJv.js +41 -0
  156. package/dist/country-BEZkohEO.js +25 -0
  157. package/dist/cross-BORHADVQ.js +20 -0
  158. package/dist/cross-circle-fill-CUXdo1x-.js +30 -0
  159. package/dist/cross-circle-fill-small-DdoPZZeo.js +20 -0
  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-C6LMC4mh.js +185 -0
  181. package/dist/document-1-qvV57JdS.js +20 -0
  182. package/dist/document-person-DiJ7M8-D.js +28 -0
  183. package/dist/download-Ca4w0Yfr.js +23 -0
  184. package/dist/dropinUtils-DTBezwYT.js +491 -0
  185. package/dist/edit-1-D8VhDchs.js +20 -0
  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-Cz4JoU20.js +41 -0
  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-CY0grcyH.js +58 -0
  200. package/dist/error-BvgoQFEI.js +36 -0
  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-Dy4le-8Q.js +20 -0
  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-BetgkQKi.js +23 -0
  229. package/dist/formatValidationError-q_w9DTrl.js +23 -0
  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-nphCwt1A.js +60 -0
  237. package/dist/getDefaultRegistrationNumberType-CIu4WMln.js +1056 -0
  238. package/dist/getFormSlice-C1ma6Xd4.js +21 -0
  239. package/dist/getLegalEntityCountry-BK-HHa65.js +15 -0
  240. package/dist/getName-DgxRqagk.js +34 -0
  241. package/dist/getProblemsForEntity-Bn6dXidE.js +16 -0
  242. package/dist/getTrustedDecisionMakers-Ta-pURcL.js +25 -0
  243. package/dist/getTrustedFields-BJ88GlM-.js +28 -0
  244. package/dist/gift-Bs_mAgul.js +20 -0
  245. package/dist/globalStore-WASei98w.js +418 -0
  246. package/dist/graph-Co0JhGiY.js +32 -0
  247. package/dist/graph-up-DIvH9haf.js +38 -0
  248. package/dist/headquarter-BESfDGKh.js +42 -0
  249. package/dist/hotel-Vne7G5M6.js +33 -0
  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/http-fdIO--pH.js +204 -0
  256. package/dist/hu-HU-B7ofWKn_.js +7 -0
  257. package/dist/hu-HU-Bwm4UqZz.js +7 -0
  258. package/dist/hu-HU-CO_7jvk9.js +7 -0
  259. package/dist/hu-HU-CgJ_F3l2.js +7 -0
  260. package/dist/hu-HU-DXK7B0r_.js +7 -0
  261. package/dist/image-BQM21XCk.js +23 -0
  262. package/dist/info-DExoPRH5.js +32 -0
  263. package/dist/info-filled-11KMeUso.js +32 -0
  264. package/dist/invalidateRootLegalEntity-BHaVREw-.js +45 -0
  265. package/dist/isEmpty-Uewyl-r6.js +14 -0
  266. package/dist/isEmptyEntity-3OHnhXqG.js +43 -0
  267. package/dist/it-IT-BFIW0DCO.js +7 -0
  268. package/dist/it-IT-CNr6PIu3.js +7 -0
  269. package/dist/it-IT-CQVFYSVx.js +7 -0
  270. package/dist/it-IT-DfGdOsTs.js +7 -0
  271. package/dist/it-IT-DgRuEpeD.js +7 -0
  272. package/dist/it-IT-tZ7dP-Ia.js +7 -0
  273. package/dist/ja-JP--tMJF7eu.js +7 -0
  274. package/dist/ja-JP-BjMyxZiN.js +7 -0
  275. package/dist/ja-JP-Ct54-uwM.js +7 -0
  276. package/dist/ja-JP-CtX9NZKD.js +7 -0
  277. package/dist/ja-JP-DAClbueM.js +7 -0
  278. package/dist/ja-JP-DOuEAOlh.js +7 -0
  279. package/dist/keys-Ce8YnRP2.js +20 -0
  280. package/dist/legalArrangementUtils-C68JdH6I.js +114 -0
  281. package/dist/listToRecord-DumSkYDz.js +10 -0
  282. package/dist/location-zRH5zJ8c.js +23 -0
  283. package/dist/lt-LT-BUuouq_-.js +7 -0
  284. package/dist/lt-LT-Cs3cvyKf.js +7 -0
  285. package/dist/lt-LT-DQp7UGdC.js +7 -0
  286. package/dist/lt-LT-DoYCfhZU.js +7 -0
  287. package/dist/lt-LT-DqtpAjOg.js +7 -0
  288. package/dist/lv-LV-BCXqSzkk.js +7 -0
  289. package/dist/lv-LV-BW0BscAd.js +7 -0
  290. package/dist/lv-LV-C3p57pZV.js +7 -0
  291. package/dist/lv-LV-ZmyUvPst.js +7 -0
  292. package/dist/lv-LV-cKvnQI3j.js +7 -0
  293. package/dist/mail-i1-zg-cv.js +20 -0
  294. package/dist/mapAddressLocalizationToJpAddressSchema-DpOIaxj6.js +26 -0
  295. package/dist/mapExistingFile-BkwRTTRm.js +55 -0
  296. package/dist/mapJpAddressSchemaToAddressLocalizations-D3VO2nhc.js +74 -0
  297. package/dist/mapLegalEntityToIndividualSchema-CBKR-InO.js +251 -0
  298. package/dist/mapScriptLocalization-BCfkZo1y.js +46 -0
  299. package/dist/mapTransferInstrumentToPayoutAccount-ROfaTly6.js +44 -0
  300. package/dist/maskHelpers-C0wnCoJl.js +719 -0
  301. package/dist/minus-circle-filled-CxUdRO8J.js +30 -0
  302. package/dist/nl-NL-B77Xr99l.js +7 -0
  303. package/dist/nl-NL-BUwMAW5C.js +7 -0
  304. package/dist/nl-NL-B_MaTF5h.js +7 -0
  305. package/dist/nl-NL-CePL3t7P.js +7 -0
  306. package/dist/nl-NL-DR5SCDAF.js +7 -0
  307. package/dist/nl-NL-DqGE4Nz5.js +7 -0
  308. package/dist/no-NO-BePxpMbr.js +7 -0
  309. package/dist/no-NO-DGCfRiU8.js +7 -0
  310. package/dist/no-NO-DdI2BI_e.js +7 -0
  311. package/dist/no-NO-P8SZ1t-h.js +7 -0
  312. package/dist/no-NO-oL1v_O9N.js +7 -0
  313. package/dist/options-horizontal-D86T_xAF.js +30 -0
  314. package/dist/partner-Dje0ykF6.js +30 -0
  315. package/dist/patternValidators-DsrZkuOO.js +73 -0
  316. package/dist/pay-by-link-plane-DAiddPu6.js +33 -0
  317. package/dist/payout-DKiGv3F9.js +38 -0
  318. package/dist/pdf-CC8vqpTo.js +22320 -0
  319. package/dist/pdf.worker.min-CdKJICZZ.js +75124 -0
  320. package/dist/person-DgALGIIz.js +23 -0
  321. package/dist/pl-PL-6Q3Ue3F5.js +7 -0
  322. package/dist/pl-PL-B5PBixAB.js +7 -0
  323. package/dist/pl-PL-BCkw9R28.js +7 -0
  324. package/dist/pl-PL-BY6KUTBO.js +7 -0
  325. package/dist/pl-PL-D-s-JI6X.js +7 -0
  326. package/dist/plus-DlQKP2C9.js +20 -0
  327. package/dist/plus-circle-filled-BntUOVIJ.js +30 -0
  328. package/dist/processCapabilities-CWE5UFt8.js +870 -0
  329. package/dist/processValidationErrors-CjsNfiRK.js +62 -0
  330. package/dist/pt-BR-B_XHiDCU.js +7 -0
  331. package/dist/pt-BR-BvNR77Ru.js +7 -0
  332. package/dist/pt-BR-CrLCMcSz2.js +7 -0
  333. package/dist/pt-BR-MrUfWW4a.js +7 -0
  334. package/dist/pt-BR-vwt2tE7H.js +7 -0
  335. package/dist/pt-PT-B17is9TY.js +7 -0
  336. package/dist/pt-PT-BZNPd_Tb.js +7 -0
  337. package/dist/pt-PT-DDYnXawl.js +7 -0
  338. package/dist/pt-PT-DhF8wwYH.js +7 -0
  339. package/dist/pt-PT-Du2K44jh.js +7 -0
  340. package/dist/pt-PT-qAzFgjvF.js +7 -0
  341. package/dist/recurring-DZgT_ekJ.js +23 -0
  342. package/dist/resolveEnvironment-B3aGkYuN.js +1000 -0
  343. package/dist/revenue-accelerate-aMLYFVW6.js +30 -0
  344. package/dist/ro-RO-B3Fcn95o.js +7 -0
  345. package/dist/ro-RO-BA5GhaCE.js +7 -0
  346. package/dist/ro-RO-BmHe4pZ-.js +7 -0
  347. package/dist/ro-RO-DChAv29z.js +7 -0
  348. package/dist/ro-RO-W1t7Mnbn.js +7 -0
  349. package/dist/roleMetadata-Dm1FVuPT.js +56 -0
  350. package/dist/save-uDNye08N.js +20 -0
  351. package/dist/search-0OS6oe8N.js +30 -0
  352. package/dist/show-BWoS9-Y1.js +23 -0
  353. package/dist/sk-SK-BeNF_m_j.js +7 -0
  354. package/dist/sk-SK-C9CiQLgt.js +7 -0
  355. package/dist/sk-SK-CISCMQ2G.js +7 -0
  356. package/dist/sk-SK-CcoUWnJ4.js +7 -0
  357. package/dist/sk-SK-D10Kpths.js +7 -0
  358. package/dist/sl-SI-Bxu4m_5e.js +7 -0
  359. package/dist/sl-SI-DCMml0lX.js +7 -0
  360. package/dist/sl-SI-DmYiMn91.js +7 -0
  361. package/dist/sl-SI-DxomO9JQ.js +7 -0
  362. package/dist/sl-SI-Qe4hzx5a.js +7 -0
  363. package/dist/solution-payments-BMal7uJZ.js +20 -0
  364. package/dist/store-N7ZA4FKy.js +20 -0
  365. package/dist/style.css +2341 -2252
  366. package/dist/styles-DYaAeu4q.js +2337 -2248
  367. package/dist/summaryItem-uDWmtYtt.js +16 -0
  368. package/dist/sv-SE-B-CXDaXM.js +7 -0
  369. package/dist/sv-SE-BzPNBHOj.js +7 -0
  370. package/dist/sv-SE-C9SgeFv6.js +7 -0
  371. package/dist/sv-SE-DESDUMyu.js +7 -0
  372. package/dist/sv-SE-Dq6oK7B5.js +7 -0
  373. package/dist/sv-SE-issaSBHd.js +7 -0
  374. package/dist/terminal-1-0RlQpbUC.js +30 -0
  375. package/dist/toFullWidth-Dgy4X4i8.js +52 -0
  376. package/dist/translation-DbATp_35.js +684 -0
  377. package/dist/trustUtil-5cyXiJnX.js +98 -0
  378. package/dist/types/adaptiveWorkflow/components/Fields/TaxInformation/TaxIdTypeSelectorField.d.ts +1 -2
  379. package/dist/types/adaptiveWorkflow/components/Fields/TaxInformation/TaxInformationFieldGroup.d.ts +1 -2
  380. package/dist/types/adaptiveWorkflow/utils/utils.d.ts +1 -1
  381. package/dist/types/api/configurations/useScenarios.d.ts +1 -1
  382. package/dist/types/api/createLegalEntity/useCreateLegalEntity.d.ts +12 -12
  383. package/dist/types/api/documentValidation/useDocumentValidate.d.ts +2 -2
  384. package/dist/types/api/documents/documents.types.d.ts +9 -0
  385. package/dist/types/api/documents/useCreateDocument.d.ts +10 -3
  386. package/dist/types/api/documents/useDeleteDocument.d.ts +1 -1
  387. package/dist/types/api/documents/useDocument.d.ts +1 -1
  388. package/dist/types/api/documents/useDocuments.d.ts +10 -2
  389. package/dist/types/api/documents/useUpdateDocument.d.ts +3 -3
  390. package/dist/types/api/invitedEntity/getInvitedEntityProblems.d.ts +1 -1
  391. package/dist/types/api/legalEntity/legalEntity.types.d.ts +32 -0
  392. package/dist/types/api/legalEntity/useLegalEntity.d.ts +92 -92
  393. package/dist/types/api/legalEntity/useUpdateLegalEntity.d.ts +14 -14
  394. package/dist/types/api/taskStatus/useTaskStatuses.d.ts +1 -1
  395. package/dist/types/api/transferInstruments/transferInstruments.types.d.ts +18 -0
  396. package/dist/types/api/transferInstruments/useCreateTransferInstrument.d.ts +2 -2
  397. package/dist/types/api/transferInstruments/useTransferInstrument.d.ts +1 -1
  398. package/dist/types/api/transferInstruments/useUpdateTransferInstrument.d.ts +2 -2
  399. package/dist/types/api/transferInstruments/useUpdateTrustedTransferInstrument.d.ts +1 -1
  400. package/dist/types/components/Apps/tasks/TaskList/TaskList.d.ts +1 -1
  401. package/dist/types/components/BankAccount/fields/BankAccountNumber/fieldConfig.d.ts +2 -0
  402. package/dist/types/components/BankAccount/forms/BankDocument/types.d.ts +1 -1
  403. package/dist/types/components/BankAccount/forms/PayoutAccount/types.d.ts +1 -1
  404. package/dist/types/components/BankAccount/forms/PayoutCountryDetails/types.d.ts +1 -1
  405. package/dist/types/components/BankAccount/forms/PayoutDetails/PayoutDetails.d.ts +1 -1
  406. package/dist/types/components/BankAccount/forms/PayoutDetails/types.d.ts +1 -1
  407. package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/AccountHolderDescriptionFragment.d.ts +1 -1
  408. package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/types.d.ts +1 -1
  409. package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/utils.d.ts +1 -1
  410. package/dist/types/components/BankAccount/mapping/mapPayoutAccountSchemaToApiBankAccount.d.ts +2 -2
  411. package/dist/types/components/BankAccount/mapping/mapPayoutDetailsToTransferInstrument.d.ts +3 -3
  412. package/dist/types/components/BankAccount/mapping/mapPayoutDocumentsToApiDocuments.d.ts +2 -2
  413. package/dist/types/components/BankAccount/mapping/mapTransferInstrumentToPayoutAccount.d.ts +1 -1
  414. package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +8 -4
  415. package/dist/types/components/BankAccount/tasks/PayoutAccount/PayoutAccountTaskListItem.d.ts +2 -2
  416. package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/utils.d.ts +1 -1
  417. package/dist/types/components/Business/hooks/useBusinessDetailsData.d.ts +1 -1
  418. package/dist/types/components/Business/hooks/useSubmitBusinessDetails.types.d.ts +1 -1
  419. package/dist/types/components/Business/mapping/businessDetails/businessDetailsKeyMappings.d.ts +4 -4
  420. package/dist/types/components/Business/mapping/businessDetails/mapBusinessDetailsSchemaToLegalEntity.d.ts +4 -4
  421. package/dist/types/components/Business/mapping/businessDetails/mapLegalEntityToBusinessDetailsSchema.d.ts +1 -1
  422. package/dist/types/components/Business/mapping/businessDetails/solePropBusinessDetailsKeyMappings.d.ts +4 -4
  423. package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +1 -1
  424. package/dist/types/components/Business/utils/buildRequiredForms.d.ts +1 -1
  425. package/dist/types/components/Business/utils/getAvailableCompanyStructures.d.ts +1 -2
  426. package/dist/types/components/Business/utils/utils.d.ts +2 -15
  427. package/dist/types/components/BusinessLines/tasks/types.d.ts +1 -1
  428. package/dist/types/components/Contract/tasks/PciDropin/types.d.ts +1 -1
  429. package/dist/types/components/Contract/tasks/ServiceAgreementDropin/types.d.ts +1 -1
  430. package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +33 -33
  431. package/dist/types/components/EFP/mapping/mapBusinessFinancingToLegalEntity.d.ts +2 -2
  432. package/dist/types/components/EFP/mapping/mapLegalEntityToBusinessFinancing.d.ts +2 -2
  433. package/dist/types/components/EFP/tasks/BusinessFinancingDropin/types.d.ts +3 -3
  434. package/dist/types/components/EFP/tasks/BusinessFinancingDropin/utils.d.ts +3 -4
  435. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/SourceOfFundsGettingStarted/SourceOfFundsGettingStarted.d.ts +2 -3
  436. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/SourceOfFundsUploader/SourceOfFundsUpload.d.ts +1 -1
  437. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/types.d.ts +1 -3
  438. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/utils.d.ts +13 -5
  439. package/dist/types/components/EFP/tasks/TaxReportingDropin/TaxReportingGettingStarted.d.ts +2 -2
  440. package/dist/types/components/EmbeddedDropins/CreateTransferInstrumentComponent/CreateTransferInstrumentComponent.d.ts +1 -1
  441. package/dist/types/components/EmbeddedDropins/ManageIndividualComponent/ManageIndividualComponent.d.ts +1 -1
  442. package/dist/types/components/EmbeddedDropins/ManageTransferInstrumentComponent/ManageTransferInstrumentComponent.d.ts +1 -1
  443. package/dist/types/components/EmbeddedDropins/ManageTransferInstrumentComponent/ManageTransferInstrumentOverview/ManageTransferInstrumentOverview.d.ts +1 -2
  444. package/dist/types/components/EmbeddedDropins/ManageTransferInstrumentComponent/ManageTransferInstrumentOverviewItem/ManageTransferInstrumentOverviewItem.d.ts +1 -2
  445. package/dist/types/components/EmbeddedDropins/ManageTransferInstrumentComponent/ManageTransferInstrumentOverviewItemModal/ManageTransferInstrumentOverviewItemModal.d.ts +1 -2
  446. package/dist/types/components/EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types.d.ts +1 -1
  447. package/dist/types/components/EmbeddedDropins/ViewVerificationStatus/ViewVerificationStatusComponent.d.ts +1 -1
  448. package/dist/types/components/GlobalEntry/companyTypeMetadata.d.ts +10 -0
  449. package/dist/types/components/GlobalEntry/forms/CompanyStructure/CompanyStructure.d.ts +3 -0
  450. package/dist/types/components/GlobalEntry/forms/CompanyStructure/types.d.ts +10 -0
  451. package/dist/types/components/GlobalEntry/forms/RegistrationInformation/RegistrationInformation.d.ts +1 -1
  452. package/dist/types/components/GlobalEntry/mapping/globalEntryKeyMapping.d.ts +15 -0
  453. package/dist/types/components/GlobalEntry/mapping/mapGlobalEntrySchemaToLegalEntity.d.ts +6 -0
  454. package/dist/types/components/GlobalEntry/mapping/mapLegalEntityToGlobalEntrySchema.d.ts +9 -0
  455. package/dist/types/components/GlobalEntry/rules.d.ts +1 -0
  456. package/dist/types/components/GlobalEntry/tasks/GlobalEntry.d.ts +1 -1
  457. package/dist/types/components/GlobalEntry/tasks/GlobalEntryModal.d.ts +1 -1
  458. package/dist/types/components/GlobalEntry/tasks/types.d.ts +2 -0
  459. package/dist/types/components/GlobalEntry/utils/buildRequiredForms.d.ts +16 -0
  460. package/dist/types/components/GlobalEntry/utils/getAvailableCompanyStructures.d.ts +12 -0
  461. package/dist/types/components/GlobalEntry/utils/submitGlobalEntry.d.ts +20 -0
  462. package/dist/types/components/GlobalEntry/utils/utils.d.ts +18 -0
  463. package/dist/types/components/GlobalEntry/validate.d.ts +3 -1
  464. package/dist/types/components/Individual/forms/BasicDetails/BasicDetails.types.d.ts +3 -3
  465. package/dist/types/components/Individual/forms/IdDocumentUpload/types.d.ts +1 -1
  466. package/dist/types/components/Individual/forms/IdNowVerificationModal/isIdNowModalOpen.d.ts +8 -8
  467. package/dist/types/components/Individual/forms/Individual.types.d.ts +2 -3
  468. package/dist/types/components/Individual/helpers/bafinUtils.d.ts +3 -4
  469. package/dist/types/components/Individual/helpers/findRelevantTaxInformation.d.ts +28 -0
  470. package/dist/types/components/Individual/helpers/hasLiveSelfieError.d.ts +11 -0
  471. package/dist/types/components/Individual/helpers/isManualVerificationOrExistingDoc.d.ts +13 -0
  472. package/dist/types/components/Individual/mapping/individualKeyMappings.d.ts +4 -4
  473. package/dist/types/components/Individual/mapping/mapIndividualDocumentToApiDocument.d.ts +2 -2
  474. package/dist/types/components/Individual/mapping/mapIndividualSchemaToLegalEntity.d.ts +2 -2
  475. package/dist/types/components/Individual/mapping/mapLegalEntityToIndividualSchema.d.ts +1 -1
  476. package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/DecisionMakerDetails.types.d.ts +1 -1
  477. package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/utils.d.ts +34 -10
  478. package/dist/types/components/Individual/tasks/DecisionMakers/getTrustedDecisionMakers.d.ts +2 -3
  479. package/dist/types/components/Individual/tasks/DecisionMakers/hooks/useTaskStatusWithTimeout.d.ts +1 -0
  480. package/dist/types/components/Individual/tasks/DecisionMakers/types.d.ts +2 -3
  481. package/dist/types/components/Individual/tasks/DecisionMakers/utils.d.ts +1 -1
  482. package/dist/types/components/Shared/EntityAssociation/types.d.ts +2 -2
  483. package/dist/types/components/Shared/Introduction/Introduction.d.ts +1 -1
  484. package/dist/types/components/Shared/Introduction/IntroductionScreen.d.ts +1 -1
  485. package/dist/types/components/Shared/Introduction/constants.d.ts +1 -1
  486. package/dist/types/components/Shared/Introduction/copy.d.ts +1 -1
  487. package/dist/types/components/Shared/SingpassBanner/SingpassBanner.d.ts +1 -1
  488. package/dist/types/components/Shared/SingpassSelection/types.d.ts +1 -1
  489. package/dist/types/components/Shared/devex/DebugListener/debugInfo.d.ts +1 -2
  490. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/RegistrationNumberTypeSelector/getDefaultRegistrationNumberType.d.ts +1 -2
  491. package/dist/types/components/Shared/fields/TaxInformationField/TaxIdNumberTypeSelector/TaxIdNumberTypeSelector.d.ts +1 -2
  492. package/dist/types/components/Shared/fields/TaxInformationField/TaxIdNumberTypeSelector/findExistingTaxInformation.d.ts +10 -0
  493. package/dist/types/components/Shared/fields/TaxInformationField/fieldConfig.d.ts +3 -4
  494. package/dist/types/components/Shared/fields/TaxInformationField/taxIdNumberTypes.d.ts +107 -8
  495. package/dist/types/components/Shared/fields/TaxInformationField/types.d.ts +7 -6
  496. package/dist/types/components/Shared/fields/VatNumberField/VatNumberTypeSelector/VatNumberTypeSelector.d.ts +1 -2
  497. package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
  498. package/dist/types/components/Shared/forms/BusinessTypeSelection/types.d.ts +1 -1
  499. package/dist/types/components/Shared/forms/BusinessTypeSelection/useUpdateLegalEntityAndSelectAccountHolder.d.ts +1 -2
  500. package/dist/types/components/Shared/forms/BusinessTypeSelection/utils.d.ts +2 -4
  501. package/dist/types/components/Shared/forms/ConstitutionalDocument/types.d.ts +1 -1
  502. package/dist/types/components/Shared/forms/DocumentUpload/types.d.ts +1 -1
  503. package/dist/types/components/Shared/tasks/CustomerSupport/mapping/customerSupportKeyMapping.d.ts +2 -2
  504. package/dist/types/components/Trust/hooks/useExemptSettlor.d.ts +1 -1
  505. package/dist/types/components/Trust/hooks/useTrustMemberNavigation.hook.d.ts +1 -1
  506. package/dist/types/components/Trust/mapping/mapLegalEntityToTrust.d.ts +1 -1
  507. package/dist/types/components/Trust/mapping/mapTrustDocumentToApiDocument.d.ts +2 -2
  508. package/dist/types/components/Trust/mapping/mapTrustToLegalEntity.d.ts +2 -2
  509. package/dist/types/components/Trust/mapping/trustKeyMappings.d.ts +4 -4
  510. package/dist/types/components/Trust/mapping/trustMembers/getTrustMembers.d.ts +1 -1
  511. package/dist/types/components/Trust/mapping/trustMembers/mapEntityAssociationsToTrustMembers.d.ts +3 -4
  512. package/dist/types/components/Trust/mapping/trustMembers/mapRootLegalEntityToTrustMember.d.ts +1 -1
  513. package/dist/types/components/Trust/tasks/RoleAndTypeDropin/types.d.ts +1 -1
  514. package/dist/types/components/Trust/tasks/TrustDropin/types.d.ts +1 -1
  515. package/dist/types/components/Trust/tasks/TrustMembers/types.d.ts +3 -4
  516. package/dist/types/components/Trust/utils/addOrUpdateAssociatedTrustMember.d.ts +1 -1
  517. package/dist/types/components/Trust/utils/addOrUpdateUndefinedBeneficiary.d.ts +1 -1
  518. package/dist/types/components/Trust/utils/createExemptSettlor.d.ts +1 -1
  519. package/dist/types/components/Trust/utils/deleteAssociatedTrustMember.d.ts +1 -1
  520. package/dist/types/components/Trust/utils/deleteUndefinedBeneficiary.d.ts +1 -1
  521. package/dist/types/components/Trust/utils/trustUtil.d.ts +5 -6
  522. package/dist/types/components/Trust/utils/updateExemptSettlorName.d.ts +1 -1
  523. package/dist/types/components/UnincorporatedPartnership/hooks/useUnincorporatedPartnershipNavigation.d.ts +1 -2
  524. package/dist/types/components/UnincorporatedPartnership/mapping/mapLegalEntityToUnincorporatedPartnership.d.ts +1 -1
  525. package/dist/types/components/UnincorporatedPartnership/mapping/mapUnincorporatedPartnershipToLegalEntity.d.ts +2 -2
  526. package/dist/types/components/UnincorporatedPartnership/mapping/unincorporatedPartnershipKeyMappings.d.ts +3 -3
  527. package/dist/types/components/UnincorporatedPartnership/tasks/UnincorporatedPartnershipMembers/types.d.ts +1 -2
  528. package/dist/types/components/UnincorporatedPartnership/tasks/UnincorporatedPartnershipRoleAndType/types.d.ts +1 -2
  529. package/dist/types/components/UnincorporatedPartnership/utils/unincorporatedPartnershipMembers.d.ts +3 -4
  530. package/dist/types/components/ui/molecules/DocumentGuidance/DocumentGuidance.types.d.ts +1 -1
  531. package/dist/types/context/ToggleContext/types.d.ts +0 -4
  532. package/dist/types/core/errorMapping.d.ts +3 -4
  533. package/dist/types/core/models/api/accountIdentification.d.ts +5 -1
  534. package/dist/types/core/models/api/legal-entity-association.d.ts +0 -19
  535. package/dist/types/core/process-field-configurations.d.ts +4 -6
  536. package/dist/types/core/user-events.d.ts +2 -4
  537. package/dist/types/hooks/introduction/useCanSeeIntroduction.d.ts +1 -1
  538. package/dist/types/hooks/introduction/useIntroductionScreens.d.ts +1 -1
  539. package/dist/types/hooks/introduction/useShouldShowIntroduction.d.ts +1 -1
  540. package/dist/types/hooks/singpass/useSingpassMyInfoLogin.d.ts +1 -1
  541. package/dist/types/hooks/useAssociatedLegalEntity.d.ts +1 -2
  542. package/dist/types/hooks/useAssociatedLegalRepresentative.d.ts +1 -1
  543. package/dist/types/hooks/useBusinessSetup.d.ts +1 -1
  544. package/dist/types/hooks/useForm/types.d.ts +1 -2
  545. package/dist/types/hooks/useLegalEntityType.d.ts +1 -2
  546. package/dist/types/hooks/useScenarioConfiguration.d.ts +1 -1
  547. package/dist/types/router/DefaultRouteRedirect.d.ts +1 -1
  548. package/dist/types/router/OnboardingRouter.d.ts +1 -2
  549. package/dist/types/router/getDefaultTask.d.ts +1 -1
  550. package/dist/types/stores/globalStore/calculateTaskStatus.d.ts +3 -5
  551. package/dist/types/stores/globalStore/determineTaskIdentifiers.d.ts +3 -5
  552. package/dist/types/stores/globalStore/get-task-status.d.ts +4 -4
  553. package/dist/types/stores/globalStore/globalStore.d.ts +3 -5
  554. package/dist/types/stores/globalStore/isEmptyEntity.d.ts +1 -1
  555. package/dist/types/types/businessEntityType.d.ts +1 -2
  556. package/dist/types/types/errors/capability-problems.d.ts +5 -1
  557. package/dist/types/types/errors/entity-problems.d.ts +8 -5
  558. package/dist/types/types/form-rules.d.ts +1 -1
  559. package/dist/types/utils/accountHolderUtils.d.ts +1 -1
  560. package/dist/types/utils/addLinkedFields.d.ts +2 -2
  561. package/dist/types/utils/analytics/debouncedInputEvent.d.ts +4 -4
  562. package/dist/types/utils/analytics/getAnalyticsAssociatedEntityDetails.d.ts +2 -3
  563. package/dist/types/utils/analytics/getPrefilledDetails.d.ts +2 -2
  564. package/dist/types/utils/api/documentUtils.d.ts +21 -10
  565. package/dist/types/utils/api/getProblemsForEntity.d.ts +1 -1
  566. package/dist/types/utils/api/processCapabilities.d.ts +11 -4
  567. package/dist/types/utils/bankUtils.d.ts +5 -0
  568. package/dist/types/utils/birthDateUtils.d.ts +6 -1
  569. package/dist/types/utils/businessUtils.d.ts +21 -6
  570. package/dist/types/utils/customerSupportUtils.d.ts +2 -3
  571. package/dist/types/utils/decisionMakerRoles.d.ts +4 -5
  572. package/dist/types/utils/entityAssociationUtil.d.ts +21 -12
  573. package/dist/types/utils/entityStatusUtil.d.ts +1 -1
  574. package/dist/types/utils/getFieldsWithExistingData.d.ts +2 -2
  575. package/dist/types/utils/getLegalEntityCountry.d.ts +1 -1
  576. package/dist/types/utils/getName.d.ts +3 -3
  577. package/dist/types/utils/getTrustedFields.d.ts +4 -5
  578. package/dist/types/utils/mapping/documentGuidanceMap.d.ts +2 -2
  579. package/dist/types/utils/mapping/getPage.d.ts +3 -4
  580. package/dist/types/utils/mapping/mappingRecord.d.ts +1 -1
  581. package/dist/types/utils/roleMetadata.d.ts +1 -1
  582. package/dist/types/utils/unincorporatedParnershipUtils.d.ts +4 -4
  583. package/dist/types-B9zXzag-.js +18 -0
  584. package/dist/types-BA3bcGAv.js +58 -0
  585. package/dist/types-CZAHRt31.js +147 -0
  586. package/dist/types-Cwq1JAWT.js +31 -0
  587. package/dist/upload-C5NC1E4N.js +23 -0
  588. package/dist/uppercase-DvjwUM0n.js +7 -0
  589. package/dist/useAccountHolder-DDto9d9n.js +102 -0
  590. package/dist/useAdaptiveWorkflow-DryNv0zI.js +28 -0
  591. package/dist/useAllowedCountries-C-nqVePW.js +80 -0
  592. package/dist/useAnalyticsContext-gSnRnYgV.js +12 -0
  593. package/dist/useAssociatedLegalEntity-DtZtKlls.js +35 -0
  594. package/dist/useBusinessDetailsData-DFU0dLxw.js +4732 -0
  595. package/dist/useBusinessLines-BZfFqvS_.js +27 -0
  596. package/dist/useCanSeeIntroduction-DQbanJNE.js +38 -0
  597. package/dist/useCreateLegalEntity-qP7MeAmi.js +24 -0
  598. package/dist/useDataMissingRemediations-ttUrk09_.js +39 -0
  599. package/dist/useDataset-CdLBLq98.js +98 -0
  600. package/dist/useDeleteTransferInstrument-Dtv14H9I.js +31 -0
  601. package/dist/useForm-CWrbJG44.js +504 -0
  602. package/dist/useHideTaskStepper-Dk7ZQ3U8.js +26 -0
  603. package/dist/useId-BkDhUta2.js +28 -0
  604. package/dist/useIndustryCodes-BMK6IMiW.js +32 -0
  605. package/dist/useLegalEntity-DHA8TJeV.js +48 -0
  606. package/dist/useMultiForm-BxASst0O.js +790 -0
  607. package/dist/useNavigate-CO1Mcekp.js +246 -0
  608. package/dist/useOnboardingStatus-Cz6-hSX4.js +23 -0
  609. package/dist/usePciQuestionnaireList-CWz7Ngs6.js +26 -0
  610. package/dist/useSalesChannels-bV9DgyLW.js +47 -0
  611. package/dist/useScenarios-Bn93htbx.js +55 -0
  612. package/dist/useSettingsContext-9O3Aqpfq.js +12 -0
  613. package/dist/useTaskLandedEvent-DwZHcMEQ.js +26 -0
  614. package/dist/useTaskStatus-DJxOWvuN.js +23 -0
  615. package/dist/useTermsOfServiceStatus-CyVxYqpg.js +39 -0
  616. package/dist/useToastContext-B6Mqc2HY.js +12 -0
  617. package/dist/useToggleContext-B_YexrbT.js +21 -0
  618. package/dist/useTrustMembers-DWo3WU8M.js +151 -0
  619. package/dist/useUnincorporatedPartnershipMembers-DwFPW09D.js +69 -0
  620. package/dist/useUpdateBusinessLines-JRPjqoe9.js +43 -0
  621. package/dist/useUpdateLegalEntity-CqmqXsbR.js +29 -0
  622. package/dist/utils-BWumuCvl.js +210 -0
  623. package/dist/utils-CJcGZvj1.js +178 -0
  624. package/dist/utils-CYUYe54m.js +24 -0
  625. package/dist/utils-Ck_mZapQ.js +1755 -0
  626. package/dist/utils-DdHbAadK.js +80 -0
  627. package/dist/utils-SKYT7xU4.js +52 -0
  628. package/dist/validate-BZ1-ZeKr.js +430 -0
  629. package/dist/validate-DTz70AWN.js +224 -0
  630. package/dist/validate-DUcT-JGF.js +178 -0
  631. package/dist/validate-Dr8UKZCX.js +126 -0
  632. package/dist/validateExtractionResult-CntKbt8c.js +343 -0
  633. package/dist/validationError-DV6t8Ubb.js +55 -0
  634. package/dist/validationResult-bjYBDjbU.js +29 -0
  635. package/dist/validatorUtils-D2O6AAZn.js +106 -0
  636. package/dist/warning-circle-fill-C2lMYPJW.js +30 -0
  637. package/dist/warning-diamond-filled-CQ2DdW5g.js +30 -0
  638. package/dist/webinar-BpZWqd-g.js +33 -0
  639. package/package.json +26 -26
  640. package/dist/4-people-Dxu4nHSX.js +0 -35
  641. package/dist/AcceptTermsOfServiceWorkflow-CvKbU2WY.js +0 -28
  642. package/dist/Accordion-Sjyj7C_t.js +0 -112
  643. package/dist/AccountSetupRejected-Cq_nlmLn.js +0 -18
  644. package/dist/AdaptiveWorkflow-CM7ZVGXv.js +0 -210
  645. package/dist/AdaptiveWorkflowComponent-tM1hJ1zF.js +0 -165
  646. package/dist/AddressFields-BsxEdBvQ.js +0 -464
  647. package/dist/Avatar-Zp1T9qAL.js +0 -54
  648. package/dist/BusinessFinancingDropin-vugW4Vvi.js +0 -1857
  649. package/dist/BusinessFinancingPage-0J_LImeN.js +0 -89
  650. package/dist/BusinessRegistrationNumberField-qdC_srMn.js +0 -101
  651. package/dist/BusinessRegistrationNumberFieldGroup-BvC9n4ou.js +0 -171
  652. package/dist/BusinessTypeSelectionPage-WCEqP4G2.js +0 -457
  653. package/dist/Button-DfRmINzF.js +0 -108
  654. package/dist/Checkbox-B730k3Yy.js +0 -108
  655. package/dist/ComponentGroup-CsnkYMbT.js +0 -32
  656. package/dist/ConstitutionalDocument-D92EPGmG.js +0 -1224
  657. package/dist/ContactDetails-DDSd6X0z.js +0 -511
  658. package/dist/ContextGuidance-B2ew1lzC.js +0 -29
  659. package/dist/ContractViewer-JtnAXSDa.js +0 -979
  660. package/dist/Currency-BKTf95Wp.js +0 -210
  661. package/dist/CustomerSupport-CCFayyJG.js +0 -140
  662. package/dist/DataConflictsModal-D-fP_eNs.js +0 -237
  663. package/dist/DebugModal-CG6CvUnj.js +0 -450
  664. package/dist/DecisionMakerDetails-DWC1nORL.js +0 -565
  665. package/dist/DecisionMakerDetailsPage-BVXA74FO.js +0 -122
  666. package/dist/DecisionMakers-Cvm_i6Uf.js +0 -589
  667. package/dist/Dropzone-CNHxDEc3.js +0 -250
  668. package/dist/EmbeddedStatus-tbJfdxm8.js +0 -129
  669. package/dist/EndStateLayout-BK1Hh02g.js +0 -83
  670. package/dist/EntityAssociation-i903L9Dh.js +0 -163
  671. package/dist/ErrorPanel-tnFOlOZU.js +0 -205
  672. package/dist/GlobalEntryModal-DQoIIvGS.js +0 -975
  673. package/dist/GlobalEntryPage-DLRGPpAu.js +0 -78
  674. package/dist/Icon-C3S5_kkS.js +0 -175
  675. package/dist/IdentityNumber-B8MXzXsO.js +0 -536
  676. package/dist/IdentityNumberFieldGroup-D7xb2TY7.js +0 -57
  677. package/dist/IdentityScreeningWorkflow-BdGXtdns.js +0 -307
  678. package/dist/Image-D82terx4.js +0 -33
  679. package/dist/IndividualDropin-C0vTSDYU.js +0 -4138
  680. package/dist/IndustryCodeFieldGroup-CGcE5yYR.js +0 -188
  681. package/dist/InputDate-Ci60MBrH.js +0 -211
  682. package/dist/InputText-CTpVF0Mu.js +0 -154
  683. package/dist/Introduction-Dx6DDaL7.js +0 -327
  684. package/dist/InvitedDecisionMakerComponent-Ckd26d6Y.js +0 -481
  685. package/dist/JpAddressFields-C9MbL5XV.js +0 -287
  686. package/dist/LegalCompanyNameField-D0jM5LDT.js +0 -108
  687. package/dist/LegalName-TjhII9_p.js +0 -33
  688. package/dist/LegalRepresentativeDetailsPage-CvGtANu3.js +0 -74
  689. package/dist/Link-c2jAgGgc.js +0 -32
  690. package/dist/ListItem-C35r8558.js +0 -93
  691. package/dist/Loader-BEpMlKm2.js +0 -92
  692. package/dist/Modal-BsivDPTd.js +0 -129
  693. package/dist/Name-DMf8Uyof.js +0 -61
  694. package/dist/NewSummary-DxWLTnJy.js +0 -73
  695. package/dist/PatriotActDisclosure-ChZ_ePr2.js +0 -265
  696. package/dist/PayoutDetailsDropin-BhtJSFAS.js +0 -4073
  697. package/dist/PayoutDetailsPage-MW5Pygp2.js +0 -70
  698. package/dist/RadioGroup-D8DRUJ2o.js +0 -1806
  699. package/dist/Review-DImhCvoG.js +0 -99
  700. package/dist/RootBusinessDetailsPage-Cmh9Z_4g.js +0 -68
  701. package/dist/RootBusinessLinesPage-C_p-CtCH.js +0 -1455
  702. package/dist/RootIndividualDetailsPage-04cJ6C15.js +0 -80
  703. package/dist/Select-ByVcS_J2.js +0 -1093
  704. package/dist/SignPCIComponent-CAwp2xCC.js +0 -370
  705. package/dist/SingpassSelection-Txx3gp_g.js +0 -157
  706. package/dist/SoleProprietorshipPage-CWegllTo.js +0 -70
  707. package/dist/SourceOfFundsPage-B22iW1ow.js +0 -2781
  708. package/dist/SourceOfFundsWorkflow-BKHZbLR_.js +0 -28
  709. package/dist/StateField-CsO_28Co.js +0 -296
  710. package/dist/Step-BUMarnLL.js +0 -191
  711. package/dist/Task-Bj_CjiHG.js +0 -129
  712. package/dist/TaskGroup-BMXhoq1Y.js +0 -46
  713. package/dist/TaskListItem-BIKdDEzU.js +0 -123
  714. package/dist/TaskStepperContextProvider-D0tKJplv.js +0 -26
  715. package/dist/TaskVerificationStatus-DPA4ZEPa.js +0 -125
  716. package/dist/TaxInformationFieldGroup-D_6IRGj9.js +0 -287
  717. package/dist/TaxReportingDropin-DA475crP.js +0 -475
  718. package/dist/TaxReportingWorkflow-kcto0Ysw.js +0 -28
  719. package/dist/TermsOfServiceManagement-HDnaIeWZ.js +0 -635
  720. package/dist/TextArea-qbFhi8Az.js +0 -81
  721. package/dist/TrustDetailsPage-BqVS0xOU.js +0 -1155
  722. package/dist/TrustMemberCompanyPage-DTe7xWpj.js +0 -109
  723. package/dist/TrustMemberIndividualPage-C1BDs9Rm.js +0 -110
  724. package/dist/TrustMemberRoleAndTypePage-GXWuitmt.js +0 -927
  725. package/dist/TrustMembersOverview-BjJ5fPcC.js +0 -449
  726. package/dist/UboTaskItem-Aq3iNKX0.js +0 -115
  727. package/dist/UnincorporatedPartnershipIndividualPage-DdPh2_sa.js +0 -79
  728. package/dist/UnincorporatedPartnershipMemberCompanyPage-h3OTr_91.js +0 -79
  729. package/dist/UnincorporatedPartnershipMemberRoleAndTypePage-CwemN4fL.js +0 -254
  730. package/dist/UnincorporatedPartnershipMembersOverview-CUczPfUl.js +0 -158
  731. package/dist/VerificationErrorAlert-BBfoLMwb.js +0 -64
  732. package/dist/Workflow-Do7P-qDn.js +0 -228
  733. package/dist/accountHolderUtils-DMi_DHCU.js +0 -44
  734. package/dist/arrow-right-Bk-ewsex.js +0 -20
  735. package/dist/bafinUtils-M2AASP_e.js +0 -1963
  736. package/dist/bag-9BNq_QQO.js +0 -20
  737. package/dist/bank-BRbxxVK5.js +0 -20
  738. package/dist/bg-BG-BtgA44Ui.js +0 -7
  739. package/dist/bg-BG-DX5QKxJz.js +0 -7
  740. package/dist/bg-BG-DYkxVgeJ.js +0 -7
  741. package/dist/bg-BG-K6LIkCdf.js +0 -7
  742. package/dist/bg-BG-uuNDTOoN.js +0 -7
  743. package/dist/bin-DE1613_5.js +0 -30
  744. package/dist/businessRegistrationNumberPatterns-C_MSKHlF.js +0 -981
  745. package/dist/capital-aNk7ragc.js +0 -23
  746. package/dist/cash-stack-DuKKc4Qj.js +0 -33
  747. package/dist/certificate-9gDKvXCm.js +0 -23
  748. package/dist/checkmark-BuqDN4WO.js +0 -20
  749. package/dist/checkmark-circle-OqcwA6N6.js +0 -28
  750. package/dist/checkmark-circle-fill-BfcUovCf.js +0 -30
  751. package/dist/checkmark-small-CBORXg_J.js +0 -20
  752. package/dist/chevron-down-CjRta08O.js +0 -20
  753. package/dist/chevron-left-BEm04mIh.js +0 -20
  754. package/dist/chevron-right-B2GkHG0J.js +0 -20
  755. package/dist/chevron-up-BKfe5Btb.js +0 -20
  756. package/dist/circle-C-uuRI8F.js +0 -30
  757. package/dist/circle-small-filled-Bkh5_ZEu.js +0 -20
  758. package/dist/clock-BWfWiMxz.js +0 -28
  759. package/dist/coins-Cw-jDTUz.js +0 -30
  760. package/dist/constants-BSBlqXY7.js +0 -231
  761. package/dist/contract-PFVBW8xa.js +0 -20
  762. package/dist/countries-BE4iGVAo.js +0 -41
  763. package/dist/country-zZC2TAQB.js +0 -25
  764. package/dist/cross-B37j1-r4.js +0 -20
  765. package/dist/cross-circle-fill-CcjwpLj2.js +0 -30
  766. package/dist/cross-circle-fill-small-CJ4fddNo.js +0 -20
  767. package/dist/cs-CZ-BJSrh3Vp.js +0 -7
  768. package/dist/cs-CZ-CMXGY6Ep.js +0 -7
  769. package/dist/cs-CZ-Ci8c58xJ.js +0 -7
  770. package/dist/cs-CZ-Cu1v5FA8.js +0 -7
  771. package/dist/cs-CZ-lJQmuyHq.js +0 -7
  772. package/dist/da-DK-B9O3xbY6.js +0 -7
  773. package/dist/da-DK-BNwXg4DX.js +0 -7
  774. package/dist/da-DK-C1kmOHvo.js +0 -7
  775. package/dist/da-DK-D53M_d04.js +0 -7
  776. package/dist/da-DK-DjAV5d9A.js +0 -7
  777. package/dist/de-DE-B3sSNcDv.js +0 -7
  778. package/dist/de-DE-C9N6F5oM.js +0 -7
  779. package/dist/de-DE-CjMOQMqQ.js +0 -7
  780. package/dist/de-DE-qJPTCQlG.js +0 -7
  781. package/dist/de-DE-qSBQE-6M.js +0 -7
  782. package/dist/de-DE-w4l6boYT.js +0 -7
  783. package/dist/decision-makers-group-DAoxQRJ3.js +0 -4169
  784. package/dist/decisionMakerRoles-APTR-Ah_.js +0 -185
  785. package/dist/document-1-B3vw8uuK.js +0 -20
  786. package/dist/document-person-CERdIfH0.js +0 -28
  787. package/dist/download-CthdK4dV.js +0 -23
  788. package/dist/edit-1-BW7NwWP7.js +0 -20
  789. package/dist/el-GR-BLNCX9mm.js +0 -7
  790. package/dist/el-GR-Bx996PXx.js +0 -7
  791. package/dist/el-GR-CgoxpC-Q.js +0 -7
  792. package/dist/el-GR-DaAMIpOR.js +0 -7
  793. package/dist/el-GR-DqTetsjB.js +0 -7
  794. package/dist/el-GR-pGsVWsOm.js +0 -7
  795. package/dist/en-US-B82BbZaB.js +0 -7
  796. package/dist/en-US-BUmtG-Wj.js +0 -27
  797. package/dist/en-US-C3i5Oge2.js +0 -7
  798. package/dist/en-US-C8karqc5.js +0 -7
  799. package/dist/en-US-CJPD8qHc.js +0 -7
  800. package/dist/en-US-D0fscfsz.js +0 -7
  801. package/dist/en-US-DapC--Cs.js +0 -7
  802. package/dist/entityAssociationUtil-CLBR9osP.js +0 -59
  803. package/dist/error-CpJV-CLa.js +0 -36
  804. package/dist/es-ES-C14ZT-97.js +0 -7
  805. package/dist/es-ES-DeT4zIDW.js +0 -7
  806. package/dist/es-ES-DyB2KXfT.js +0 -7
  807. package/dist/es-ES-U4-lDfZq.js +0 -7
  808. package/dist/es-ES-tVQDUTJN.js +0 -7
  809. package/dist/es-ES-wvcyuTNN.js +0 -7
  810. package/dist/es-LA-B5IRDCf_.js +0 -7
  811. package/dist/es-LA-B_hzWiiE.js +0 -7
  812. package/dist/es-LA-CG_cu1hM.js +0 -7
  813. package/dist/es-LA-ChLRkx-r.js +0 -7
  814. package/dist/es-LA-mFT_9PL_.js +0 -7
  815. package/dist/et-EE-4_ZUNt3W.js +0 -7
  816. package/dist/et-EE-BCWBT8XN.js +0 -7
  817. package/dist/et-EE-BQEyJFZb.js +0 -7
  818. package/dist/et-EE-DSK7kb3n.js +0 -7
  819. package/dist/et-EE-DWVzz1wR.js +0 -7
  820. package/dist/external-link-CFgynH5A.js +0 -20
  821. package/dist/fi-FI-B-7uBAf5.js +0 -7
  822. package/dist/fi-FI-BeJtSWIh.js +0 -7
  823. package/dist/fi-FI-Caa9ydMd.js +0 -7
  824. package/dist/fi-FI-D06EzKrW.js +0 -7
  825. package/dist/fi-FI-DgMsQBRO.js +0 -7
  826. package/dist/form-rules-zzbZ2bV6.js +0 -1089
  827. package/dist/formatCurrency-Cq3WFpdZ.js +0 -23
  828. package/dist/formatValidationError-BHvKLMYZ.js +0 -23
  829. package/dist/fr-FR-8a-RK9xd.js +0 -7
  830. package/dist/fr-FR-BCfqr4jm.js +0 -7
  831. package/dist/fr-FR-BTJoQq71.js +0 -7
  832. package/dist/fr-FR-CDv300-8.js +0 -7
  833. package/dist/fr-FR-D7DTFYe4.js +0 -7
  834. package/dist/fr-FR-Dl4NL-Nc.js +0 -7
  835. package/dist/genUtils-Ce61IJs8.js +0 -60
  836. package/dist/getDefaultRegistrationNumberType-CI1NVzJR.js +0 -1055
  837. package/dist/getFormSlice-DzRO0UUx.js +0 -52
  838. package/dist/getLegalEntityCountry-CNE5uei8.js +0 -17
  839. package/dist/getName-s7qmFean.js +0 -35
  840. package/dist/getProblemsForEntity-Bh9nSdOW.js +0 -16
  841. package/dist/getTrustedDecisionMakers-DX3nImM5.js +0 -25
  842. package/dist/gift-0jLCte2h.js +0 -20
  843. package/dist/graph-DrxuzQF7.js +0 -32
  844. package/dist/graph-up-4qLbS2Ds.js +0 -38
  845. package/dist/headquarter-3o2GHW5H.js +0 -42
  846. package/dist/hotel-pZlrEAK8.js +0 -33
  847. package/dist/hr-HR-B11sggmG.js +0 -7
  848. package/dist/hr-HR-BjxPRJ1o.js +0 -7
  849. package/dist/hr-HR-COdiWKoq.js +0 -7
  850. package/dist/hr-HR-CXH5M5JZ.js +0 -7
  851. package/dist/hr-HR-me1zsMas.js +0 -7
  852. package/dist/http-DsJtugN1.js +0 -204
  853. package/dist/hu-HU-BNlsrO-l.js +0 -7
  854. package/dist/hu-HU-BQ5310Yi.js +0 -7
  855. package/dist/hu-HU-D1ZZwcl0.js +0 -7
  856. package/dist/hu-HU-DkSsL94T.js +0 -7
  857. package/dist/hu-HU-Dp6xOBN_.js +0 -7
  858. package/dist/image-tfgNnE3G.js +0 -23
  859. package/dist/info-DJW5JooY.js +0 -32
  860. package/dist/info-filled-C5mP6T4Z.js +0 -32
  861. package/dist/it-IT-BORQC-7u.js +0 -7
  862. package/dist/it-IT-BlaVymCj.js +0 -7
  863. package/dist/it-IT-CawjvBDX.js +0 -7
  864. package/dist/it-IT-Cnk7j_gC.js +0 -7
  865. package/dist/it-IT-DIIRAF4_.js +0 -7
  866. package/dist/it-IT-x4LV31GV.js +0 -7
  867. package/dist/ja-JP-CyXnoIu3.js +0 -7
  868. package/dist/ja-JP-DBne3dbI.js +0 -7
  869. package/dist/ja-JP-DS8zN3mY.js +0 -7
  870. package/dist/ja-JP-Dpe9Odla.js +0 -7
  871. package/dist/ja-JP-DrHQO_Se.js +0 -7
  872. package/dist/ja-JP-h3E8hgLv.js +0 -7
  873. package/dist/legal-entity-type-0MfCGzUf.js +0 -13
  874. package/dist/legalArrangementUtils-xvCxpgzJ.js +0 -113
  875. package/dist/location-Dk0rAiaT.js +0 -23
  876. package/dist/lt-LT-8kOI6QVq.js +0 -7
  877. package/dist/lt-LT-B18sQY9g.js +0 -7
  878. package/dist/lt-LT-Byl8QeWO.js +0 -7
  879. package/dist/lt-LT-D3ZUJfjr.js +0 -7
  880. package/dist/lt-LT-Fc1lOUlz.js +0 -7
  881. package/dist/lv-LV-C70c94CI.js +0 -7
  882. package/dist/lv-LV-CXifQKfG.js +0 -7
  883. package/dist/lv-LV-DctYQmfH.js +0 -7
  884. package/dist/lv-LV-Mj_iV56f.js +0 -7
  885. package/dist/lv-LV-adiXoKhv.js +0 -7
  886. package/dist/mail-DG7MBDNE.js +0 -20
  887. package/dist/mapAddressLocalizationToJpAddressSchema-TUaHGQh6.js +0 -26
  888. package/dist/mapExistingFile-CwGW1ru4.js +0 -55
  889. package/dist/mapJpAddressSchemaToAddressLocalizations-CdP6PRAO.js +0 -73
  890. package/dist/mapLegalEntityToIndividualSchema-ByhXwZqs.js +0 -214
  891. package/dist/mapTransferInstrumentToPayoutAccount-6eLKhumO.js +0 -44
  892. package/dist/minus-circle-filled-DglqAgJW.js +0 -30
  893. package/dist/nl-NL-BIpptPn4.js +0 -7
  894. package/dist/nl-NL-BWGCqpWp.js +0 -7
  895. package/dist/nl-NL-Bv8Zk-6e.js +0 -7
  896. package/dist/nl-NL-DOB0b0m4.js +0 -7
  897. package/dist/nl-NL-ehxkZFQd.js +0 -7
  898. package/dist/nl-NL-jt4eYGEY.js +0 -7
  899. package/dist/no-NO-BG1sYkpp.js +0 -7
  900. package/dist/no-NO-CeZQnyyD.js +0 -7
  901. package/dist/no-NO-Chwg5Roi.js +0 -7
  902. package/dist/no-NO-Dx_Z3uoZ.js +0 -7
  903. package/dist/no-NO-P5tRWhV9.js +0 -7
  904. package/dist/options-horizontal-CTUn7IEx.js +0 -30
  905. package/dist/partner-1StoI4_W.js +0 -30
  906. package/dist/pay-by-link-plane-Sa_qkL8C.js +0 -33
  907. package/dist/payout-BAYSxSqU.js +0 -38
  908. package/dist/pdf-uNYg4Mqz.js +0 -22315
  909. package/dist/pdf.worker.min-gK7UJW5a.js +0 -74644
  910. package/dist/person-Da15_s3G.js +0 -23
  911. package/dist/pl-PL-BsXtscoI.js +0 -7
  912. package/dist/pl-PL-CWFdZf24.js +0 -7
  913. package/dist/pl-PL-DSbuyzBx.js +0 -7
  914. package/dist/pl-PL-J9S3_lCf.js +0 -7
  915. package/dist/pl-PL-_KG-ZD1N.js +0 -7
  916. package/dist/plus-BQccvKkd.js +0 -20
  917. package/dist/plus-circle-filled-CqC30FRL.js +0 -30
  918. package/dist/processCapabilities-DRD0Aq2i.js +0 -874
  919. package/dist/processValidationErrors-oxuCOsth.js +0 -62
  920. package/dist/pt-BR-B2q9Nl16.js +0 -7
  921. package/dist/pt-BR-BYbyk6xS.js +0 -7
  922. package/dist/pt-BR-Cph-P8oH.js +0 -7
  923. package/dist/pt-BR-D1yTuXWd2.js +0 -7
  924. package/dist/pt-BR-fKlNUybd.js +0 -7
  925. package/dist/pt-PT-C1gtp2_N.js +0 -7
  926. package/dist/pt-PT-CQQkh5PS.js +0 -7
  927. package/dist/pt-PT-D8ldyR-j.js +0 -7
  928. package/dist/pt-PT-DAvsI-Tr.js +0 -7
  929. package/dist/pt-PT-DhokEMPi.js +0 -7
  930. package/dist/pt-PT-IPhkbQvT.js +0 -7
  931. package/dist/recurring-DSR1fNMh.js +0 -23
  932. package/dist/resolveEnvironment-BYEL10Nc.js +0 -2524
  933. package/dist/revenue-accelerate-CPhAVpPK.js +0 -30
  934. package/dist/ro-RO-C6xoaASq.js +0 -7
  935. package/dist/ro-RO-CP_IrOlX.js +0 -7
  936. package/dist/ro-RO-CQJk7Cpo.js +0 -7
  937. package/dist/ro-RO-CnMe6Mfw.js +0 -7
  938. package/dist/ro-RO-_BLhsnIB.js +0 -7
  939. package/dist/save-DQ-mJX8e.js +0 -20
  940. package/dist/search-DWqWTW_K.js +0 -30
  941. package/dist/show-BbhlD3IY.js +0 -23
  942. package/dist/sk-SK-BOc9IqyW.js +0 -7
  943. package/dist/sk-SK-Bb1CdAzD.js +0 -7
  944. package/dist/sk-SK-Br1Y4_CN.js +0 -7
  945. package/dist/sk-SK-Bx2_85dW.js +0 -7
  946. package/dist/sk-SK-C889qQFo.js +0 -7
  947. package/dist/sl-SI-B-Xa0hlk.js +0 -7
  948. package/dist/sl-SI-BQc61Sz2.js +0 -7
  949. package/dist/sl-SI-DHPadSTy.js +0 -7
  950. package/dist/sl-SI-DO9c7geI.js +0 -7
  951. package/dist/sl-SI-bkhhInrg.js +0 -7
  952. package/dist/solution-payments-D4BORMsX.js +0 -20
  953. package/dist/store-DWaq3ZiC.js +0 -20
  954. package/dist/sv-SE-BXrlr0X5.js +0 -7
  955. package/dist/sv-SE-Dk81lopg.js +0 -7
  956. package/dist/sv-SE-DzsWB30f.js +0 -7
  957. package/dist/sv-SE-IBYnJfbW.js +0 -7
  958. package/dist/sv-SE-X89Q6ZAq.js +0 -7
  959. package/dist/sv-SE-l_UVgmVu.js +0 -7
  960. package/dist/terminal-1-crR-pS_R.js +0 -30
  961. package/dist/translation-BOm4lmPx.js +0 -657
  962. package/dist/types/components/GlobalEntry/globalEntryKeyMapping.d.ts +0 -15
  963. package/dist/types/components/GlobalEntry/utils.d.ts +0 -30
  964. package/dist/types/components/Shared/fields/TaxInformationField/TaxIdNumberTypeSelector/getDefaultTaxIdNumberType.d.ts +0 -30
  965. package/dist/types/components/Shared/fields/TaxInformationField/TaxIdNumberTypeSelector/inferTaxIdNumberType.d.ts +0 -13
  966. package/dist/types/core/models/api/attachment.d.ts +0 -7
  967. package/dist/types/core/models/api/document.d.ts +0 -25
  968. package/dist/types/core/models/api/entity-type.d.ts +0 -5
  969. package/dist/types/core/models/api/legal-arrangement.d.ts +0 -24
  970. package/dist/types/core/models/api/legal-entity-type.d.ts +0 -8
  971. package/dist/types/core/models/api/legal-entity.d.ts +0 -36
  972. package/dist/types/core/models/api/problem.d.ts +0 -12
  973. package/dist/types/core/models/api/remediating-action.d.ts +0 -5
  974. package/dist/types/core/models/api/transfer-instrument.d.ts +0 -33
  975. package/dist/types/core/models/api/trusted-fields-provider.d.ts +0 -5
  976. package/dist/types/core/models/api/verification-error.d.ts +0 -19
  977. package/dist/types-BeveNAZK.js +0 -19
  978. package/dist/types-wRlt8bxb.js +0 -58
  979. package/dist/upload-D85xAAAm.js +0 -23
  980. package/dist/useAdaptiveWorkflow-DsQESk9f.js +0 -28
  981. package/dist/useBusinessDetailsData-Bja80UYy.js +0 -4722
  982. package/dist/useBusinessLines-BhSN6qCH.js +0 -27
  983. package/dist/useCanSeeIntroduction-BcfQC4IP.js +0 -38
  984. package/dist/useDataMissingRemediations-msU1AJvo.js +0 -39
  985. package/dist/useForm-DbDFfb2S.js +0 -502
  986. package/dist/useHideTaskStepper-CbMcV9mk.js +0 -26
  987. package/dist/useId-oOIS1nsj.js +0 -73
  988. package/dist/useIndustryCodes-uAj90IyS.js +0 -32
  989. package/dist/useLegalEntity-QQXN6YOm.js +0 -48
  990. package/dist/useNavigate-CiKOI5QV.js +0 -246
  991. package/dist/useOnboardingStatus-CsGUjkm-.js +0 -23
  992. package/dist/usePciQuestionnaireList-CFNJD8pS.js +0 -26
  993. package/dist/useSalesChannels-BvGJ9PT6.js +0 -47
  994. package/dist/useScenarios-CGcmXgJv.js +0 -55
  995. package/dist/useTaskLandedEvent-pmN03gtI.js +0 -26
  996. package/dist/useTaskStatus-CgrhdaE_.js +0 -23
  997. package/dist/useTermsOfServiceStatus-DbJDklA2.js +0 -39
  998. package/dist/useTrustMembers-f13Kf1Zk.js +0 -152
  999. package/dist/useUnincorporatedPartnershipMembers-K5jkCKfJ.js +0 -70
  1000. package/dist/useUpdateBusinessLines-DCKYTzxd.js +0 -43
  1001. package/dist/utils-2tir5QtF.js +0 -52
  1002. package/dist/utils-BUOt0VrX.js +0 -179
  1003. package/dist/utils-DBIDcVUN.js +0 -214
  1004. package/dist/validate-BpZBKknS.js +0 -224
  1005. package/dist/validate-CPTQceEQ.js +0 -151
  1006. package/dist/validate-YBDlgvjy.js +0 -429
  1007. package/dist/validate-u6nDNwf1.js +0 -126
  1008. package/dist/validateExtractionResult-dH4TewHf.js +0 -343
  1009. package/dist/validationError-B-B3GC86.js +0 -55
  1010. package/dist/warning-circle-fill-BDTmKU1s.js +0 -30
  1011. package/dist/warning-diamond-filled-BjDL-xa8.js +0 -30
  1012. package/dist/webinar-YMbPoCx3.js +0 -33
@@ -1,1963 +0,0 @@
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] = "b5bc06e6-54db-427d-8467-ab4d24c1c45d", e._sentryDebugIdIdentifier = "sentry-dbid-b5bc06e6-54db-427d-8467-ab4d24c1c45d");
4
- } catch (e) {}
5
- import { r as useTranslation } from "./translation-BOm4lmPx.js";
6
- import { j as useToggleContext, pt as useAccountHolder } from "./resolveEnvironment-BYEL10Nc.js";
7
- import { t as Icon } from "./Icon-C3S5_kkS.js";
8
- import { t as Typography } from "./Typography-CAc_f5Iq.js";
9
- import { t as LegalEntityTypes } from "./legal-entity-type-0MfCGzUf.js";
10
- import { i as noop, s as keysOf } from "./genUtils-Ce61IJs8.js";
11
- import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
12
- import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
13
- import { t as DecisionMakerTypes } from "./decision-maker-type-NR4GFAeT.js";
14
- import { t as Scenarios } from "./get-scenarios-Bb-paHmJ.js";
15
- import { i as useAnalyticsContext, r as KEYBOARD_KEYS } from "./Modal-BsivDPTd.js";
16
- import { c as numericInputs, i as alphanumericInputs, l as spacer, m as resolveFieldMetadata, n as uppercase, o as makeMask, r as alphaInputs, s as nonInputs, u as MaskedInput } from "./form-rules-zzbZ2bV6.js";
17
- import { t as useId } from "./useId-oOIS1nsj.js";
18
- import { f as translateTranslatable, r as Field } from "./Select-ByVcS_J2.js";
19
- import { c as validatePatternOnBlur, s as validateNotEmptyOnBlur, t as RadioGroup } from "./RadioGroup-D8DRUJ2o.js";
20
- import { t as Checkbox } from "./Checkbox-B730k3Yy.js";
21
- import { n as businessRegistrationNumberMasks, t as businessRegistrationNumberPatterns } from "./businessRegistrationNumberPatterns-C_MSKHlF.js";
22
- import { useCallback, useEffect, useMemo, useRef } from "preact/hooks";
23
- import cx from "classnames";
24
- import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
25
- import { computed, signal } from "@preact/signals";
26
- //#region src/utils/japanSupportUtils.ts
27
- var isJapanLocalizationEnabled = (isFeatureEnabled = () => false, country) => {
28
- return country === CountryCodes.Japan && isFeatureEnabled("EnableJapanLocalization");
29
- };
30
- //#endregion
31
- //#region src/utils/textTransformation/toFullWidth.ts
32
- var applyDelta = (delta) => (char) => String.fromCharCode(char.charCodeAt(0) + delta);
33
- /**
34
- * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/normalize#nfkc
35
- */
36
- var standardNormalization = (input) => input.normalize("NFKC");
37
- /**
38
- * The order here does matter, since the characters matched by each converter may overlap.
39
- */
40
- var converters = [
41
- {
42
- name: "latin",
43
- match: /[!-~]/g,
44
- convert: applyDelta(65248)
45
- },
46
- {
47
- name: "hangul1",
48
- match: /[ᄀ-ᄒ]/g,
49
- convert: standardNormalization
50
- },
51
- {
52
- name: "hangul2",
53
- match: /[ᅡ-ᅵ]/g,
54
- convert: standardNormalization
55
- },
56
- {
57
- name: "katakana",
58
- match: /[\uff60-\uff9f]+/g,
59
- convert: standardNormalization
60
- },
61
- {
62
- name: "extras",
63
- match: /[¢£¬¯¦¥₩\u0020|←↑→↓■°]/g,
64
- convert: (char) => {
65
- return "¢£¬ ̄¦¥₩ |←↑→↓■○"["¢£¬¯¦¥₩ |←↑→↓■°".indexOf(char)];
66
- }
67
- }
68
- ];
69
- /**
70
- * Replaces half-width characters with full-width characters.
71
- * Includes Latin characters, Katakana, Hangul and various symbols.
72
- */
73
- var toFullWidth = (value) => {
74
- let input = value;
75
- for (const { match, convert } of converters) input = input.replaceAll(match, convert);
76
- return input;
77
- };
78
- //#endregion
79
- //#region src/components/Shared/fields/TaxInformationField/fieldConfig.ts
80
- var taxInformationDefaultFieldMetadata = { label: "taxId" };
81
- var exemptedFromTaxDefaultFieldMetadata = { label: "iDontHaveATaxId" };
82
- /**
83
- * Mapping function to parse TaxInformation schemas to validate the string for TaxInformation.number
84
- *
85
- * @param validators - String validators for the TaxInformation.number
86
- * @param country - Country in the fieldConfig
87
- */
88
- var mapValidators = (validators, country) => {
89
- return validators.map((validator) => ({
90
- ...validator,
91
- validate: (taxInformation) => {
92
- const taxInfo = taxInformation?.find((taxId) => country === taxId.country);
93
- if (taxInfo?.numberAbsent) return true;
94
- return taxInfo?.number ? validator.validate(taxInfo.number) : false;
95
- }
96
- }));
97
- };
98
- var taxInformationDefaultFieldConfig = {
99
- [CountryCodes.Australia]: {
100
- label: "australianBusinessNumberAbn",
101
- validators: mapValidators([validatePatternOnBlur(/^\d{11}$/)], CountryCodes.Australia),
102
- mask: { mask: makeMask(...numericInputs(2), spacer, ...numericInputs(3), spacer, ...numericInputs(3), spacer, ...numericInputs(3)) },
103
- guidanceText: {
104
- key: "enterNDigitsForExample",
105
- values: {
106
- numDigits: "11",
107
- example: "51 824 753 556"
108
- }
109
- }
110
- },
111
- [CountryCodes.Austria]: {
112
- label: "taxInformationNumber__AT",
113
- validators: mapValidators([validatePatternOnBlur(/^(?=(?:[^0-9]*\d){9}[^0-9]*$)[\d\-/]+$/)], CountryCodes.Austria),
114
- mask: { mask: makeMask(...numericInputs(2), {
115
- type: "input",
116
- allow: /[-/]/,
117
- optional: true
118
- }, ...numericInputs(3), {
119
- type: "input",
120
- allow: /[-/]/,
121
- optional: true
122
- }, ...numericInputs(4)) },
123
- guidanceText: {
124
- key: "enterNDigitsForExample",
125
- values: {
126
- numDigits: "9",
127
- example: "931736581"
128
- }
129
- }
130
- },
131
- [CountryCodes.Belgium]: ({ taxIdNumberType }) => {
132
- switch (taxIdNumberType) {
133
- case "NUMERO_NATIONAL": return {
134
- label: "taxInformationNumber__BE_Individual",
135
- validators: mapValidators([validatePatternOnBlur(/^\d{11}$/)], CountryCodes.Belgium),
136
- mask: { mask: makeMask(...numericInputs(11)) },
137
- guidanceText: {
138
- key: "validationPleaseEnterAValidIdNumberWithExample",
139
- values: {
140
- example: "99999999999",
141
- idType: "Numeró National"
142
- }
143
- }
144
- };
145
- default: return {
146
- label: "taxInformationNumber__BE",
147
- validators: mapValidators([validatePatternOnBlur(/^\d{10}$/)], CountryCodes.Belgium),
148
- mask: { mask: makeMask(...numericInputs(10)) },
149
- guidanceText: {
150
- key: "validationPleaseEnterAValidIdNumberWithExample",
151
- values: {
152
- example: "0123321123",
153
- idType: "Business nummer"
154
- }
155
- }
156
- };
157
- }
158
- },
159
- [CountryCodes.Canada]: {
160
- label: "businessNumber",
161
- validators: mapValidators([validatePatternOnBlur(/^\d{9}$/)], CountryCodes.Canada),
162
- mask: { mask: makeMask(...numericInputs(9)) },
163
- guidanceText: {
164
- key: "enterNDigitsForExample",
165
- values: {
166
- numDigits: "9",
167
- example: "123456789"
168
- }
169
- }
170
- },
171
- [CountryCodes.Croatia]: {
172
- label: "taxInformationNumber__HR",
173
- validators: mapValidators([validatePatternOnBlur(/^\d{11}$/)], CountryCodes.Croatia),
174
- mask: { mask: makeMask(...numericInputs(11)) },
175
- guidanceText: {
176
- key: "validationPleaseEnterAValidIdNumberWithExample",
177
- values: {
178
- example: "94577403194",
179
- idType: "OIB"
180
- }
181
- }
182
- },
183
- [CountryCodes.Cyprus]: {
184
- label: "taxInformationNumber__CY",
185
- validators: mapValidators([validatePatternOnBlur(/^\d{8,9}[A-Z]$/)], CountryCodes.Cyprus),
186
- mask: {
187
- mask: makeMask(...numericInputs(8), ...numericInputs(1, true), ...alphaInputs(1)),
188
- transformOnType: uppercase
189
- },
190
- guidanceText: {
191
- key: "validationPleaseEnterAValidIdNumberWithExample",
192
- values: {
193
- example: "00123123T",
194
- idType: "TIC"
195
- }
196
- }
197
- },
198
- [CountryCodes.Estonia]: {
199
- label: "taxInformationNumber__ET_Individual",
200
- validators: mapValidators([validatePatternOnBlur(/^\d{11}$/)], CountryCodes.Estonia),
201
- mask: { mask: makeMask(...numericInputs(11)) },
202
- guidanceText: {
203
- key: "validationPleaseEnterAValidIdNumberWithExample",
204
- values: {
205
- example: "32708101201",
206
- idType: "Isikukood"
207
- }
208
- }
209
- },
210
- [CountryCodes.Finland]: {
211
- label: "taxInformationNumber__FI",
212
- validators: mapValidators([validatePatternOnBlur(/^\d{6}[+\-A]\d{3}[0-9A-Y]$/)], CountryCodes.Finland),
213
- mask: {
214
- mask: makeMask(...numericInputs(6), {
215
- type: "input",
216
- allow: /[+\-A]/
217
- }, ...numericInputs(3), {
218
- type: "input",
219
- allow: /[0-9A-Y]/
220
- }),
221
- transformOnType: uppercase
222
- },
223
- guidanceText: {
224
- key: "validationPleaseEnterAValidIdNumberWithExample",
225
- values: {
226
- example: "131052-308T",
227
- idType: "Henkilötunnus"
228
- }
229
- }
230
- },
231
- [CountryCodes.France]: {
232
- label: "taxInformationNumber__FR",
233
- validators: mapValidators([validatePatternOnBlur(/^\s*(\d\s*){13}$/)], CountryCodes.France),
234
- mask: { mask: makeMask(...numericInputs(2), spacer, ...numericInputs(2), spacer, ...numericInputs(3), spacer, ...numericInputs(3), spacer, ...numericInputs(3)) },
235
- guidanceText: {
236
- key: "validationPleaseEnterAValidIdNumberWithExample",
237
- values: {
238
- example: "30 23 217 600 053",
239
- idType: "Numéro SPI"
240
- }
241
- }
242
- },
243
- [CountryCodes.Germany]: ({ taxIdNumberType }) => {
244
- switch (taxIdNumberType) {
245
- case "IDNR": return {
246
- label: "taxInformationNumber__DE_Individual",
247
- validators: mapValidators([validatePatternOnBlur(/^\d{11}$/)], CountryCodes.Germany),
248
- mask: { mask: makeMask(...numericInputs(11)) },
249
- guidanceText: {
250
- key: "validationPleaseEnterAValidIdNumberWithExample",
251
- values: {
252
- example: "26954371827",
253
- idType: "IdNr"
254
- }
255
- }
256
- };
257
- default: return {
258
- label: "taxInformationNumber__DE",
259
- validators: mapValidators([validatePatternOnBlur(/^\d{10}$|^\d{11}$|^\d{13}$/)], CountryCodes.Germany),
260
- mask: { mask: makeMask(...numericInputs(10), ...numericInputs(3, true)) },
261
- guidanceText: {
262
- key: "validationPleaseEnterAValidIdNumberWithExample",
263
- values: {
264
- example: "14310260208",
265
- idType: "Steuernummer"
266
- }
267
- }
268
- };
269
- }
270
- },
271
- [CountryCodes.Gibraltar]: {
272
- label: "taxpayerReferenceNumber",
273
- validators: mapValidators([validatePatternOnBlur(/^\d{1,7}$/)], CountryCodes.Gibraltar),
274
- mask: { mask: makeMask(...numericInputs(1), ...numericInputs(6, true)) },
275
- guidanceText: {
276
- key: "enterAMaximumOfNDigitsForExample",
277
- values: {
278
- maxDigits: "7",
279
- example: "123456"
280
- }
281
- }
282
- },
283
- [CountryCodes.Greece]: {
284
- label: "taxInformationNumber__GR",
285
- validators: mapValidators([validatePatternOnBlur(/^\d{9}$/)], CountryCodes.Greece),
286
- mask: { mask: makeMask(...numericInputs(9)) },
287
- guidanceText: {
288
- key: "validationPleaseEnterAValidIdNumberWithExample",
289
- values: {
290
- example: "244709851",
291
- idType: "AFM"
292
- }
293
- }
294
- },
295
- [CountryCodes.Guernsey]: ({ taxIdNumberType }) => {
296
- switch (taxIdNumberType) {
297
- case "TIN_GG": return {
298
- label: "nationalInsuranceNumber",
299
- validators: mapValidators([validatePatternOnBlur(/^GY\d{6}[A-D]$/)], CountryCodes.Guernsey),
300
- mask: {
301
- mask: makeMask(...nonInputs("GY", { includeInValue: true }), spacer, ...numericInputs(2), spacer, ...numericInputs(2), spacer, ...numericInputs(2), spacer, {
302
- type: "input",
303
- allow: /[A-D]/
304
- }),
305
- transformOnType: uppercase
306
- },
307
- guidanceText: {
308
- key: "enterTheRemainingNCharactersForExample",
309
- values: {
310
- numChars: "7",
311
- example: "GY 12 34 56 A"
312
- }
313
- }
314
- };
315
- default: return {
316
- label: "taxInformationNumber",
317
- mask: businessRegistrationNumberMasks[CountryCodes.Guernsey].default,
318
- validators: mapValidators([validatePatternOnBlur(businessRegistrationNumberPatterns[CountryCodes.Guernsey].default)], CountryCodes.Guernsey),
319
- guidanceText: {
320
- key: "enterAMaximumOfNDigitsForExample",
321
- values: {
322
- maxDigits: "9",
323
- example: "123456"
324
- }
325
- }
326
- };
327
- }
328
- },
329
- [CountryCodes.HongKong]: {
330
- label: "taxInformationNumber__HK",
331
- validators: mapValidators([validatePatternOnBlur(/^\d{8}$/)], CountryCodes.HongKong),
332
- mask: { mask: makeMask(...numericInputs(8)) },
333
- guidanceText: {
334
- key: "enterNDigitsForExample",
335
- values: {
336
- numDigits: "8",
337
- example: "70569713"
338
- }
339
- }
340
- },
341
- [CountryCodes.Ireland]: ({ taxIdNumberType }) => {
342
- switch (taxIdNumberType) {
343
- case "PERSONAL_PUBLIC_SERVICE_NUMBER": return {
344
- label: "taxInformationNumber__IE_Individual",
345
- validators: mapValidators([validatePatternOnBlur(/^\d{7}[A-Z]$|^\d{7}[A-Z]{2}$/)], CountryCodes.Ireland),
346
- mask: {
347
- mask: makeMask(...numericInputs(7), ...alphaInputs(1), ...alphaInputs(1, true)),
348
- transformOnType: uppercase
349
- },
350
- guidanceText: {
351
- key: "validationPleaseEnterAValidIdNumberWithExample",
352
- values: {
353
- example: "1234567T",
354
- idType: "Personal Public Service Number"
355
- }
356
- }
357
- };
358
- default: return {
359
- label: "trnNumber",
360
- validators: mapValidators([validatePatternOnBlur(/^\d{7}[A-Z]$|^\d{7}[A-Z]{2}$/)], CountryCodes.Ireland),
361
- mask: {
362
- mask: makeMask(...numericInputs(7), ...alphaInputs(1), ...alphaInputs(1, true)),
363
- transformOnType: uppercase
364
- },
365
- guidanceText: {
366
- key: "enterXDigitsThenXToYLettersForExample",
367
- values: {
368
- numDigits: "7",
369
- minLetters: "1",
370
- maxLetters: "2",
371
- example: "1497955KA"
372
- }
373
- }
374
- };
375
- }
376
- },
377
- [CountryCodes.Italy]: {
378
- label: "codiceFiscale",
379
- mask: { mask: makeMask(...numericInputs(11)) },
380
- validators: mapValidators([validatePatternOnBlur(/^\d{11}$/)], CountryCodes.Italy),
381
- guidanceText: {
382
- key: "enterNDigitsForExample",
383
- values: {
384
- numDigits: "11",
385
- example: "12345678901"
386
- }
387
- }
388
- },
389
- [CountryCodes.IsleOfMan]: {
390
- label: "taxReferenceNumber",
391
- validators: mapValidators([validatePatternOnBlur(/^[HCX]\d{8}$/)], CountryCodes.IsleOfMan),
392
- mask: {
393
- mask: makeMask({
394
- type: "input",
395
- allow: /[HCX]/
396
- }, ...numericInputs(6), ...nonInputs(" - "), ...numericInputs(2)),
397
- transformOnType: uppercase
398
- },
399
- guidanceText: {
400
- key: "enterNCharactersForExample",
401
- values: {
402
- numChars: "9",
403
- example: "C155673-79"
404
- }
405
- }
406
- },
407
- [CountryCodes.Jersey]: ({ taxIdNumberType, companyType }) => {
408
- switch (taxIdNumberType) {
409
- case "SSN": return {
410
- label: "socialSecurityNumber",
411
- validators: mapValidators([validatePatternOnBlur(/^[A-Z]{2}\d{6}[A-Z]$/)], CountryCodes.Jersey),
412
- mask: {
413
- mask: makeMask(...alphaInputs(2), ...numericInputs(6), ...alphaInputs(1)),
414
- transformOnType: uppercase
415
- },
416
- guidanceText: {
417
- key: "enterNCharactersForExample",
418
- values: {
419
- numChars: "9",
420
- example: "JY000000A"
421
- }
422
- }
423
- };
424
- default: switch (companyType) {
425
- case "soleProprietorship": return {
426
- label: "taxIdentificationNumber",
427
- validators: mapValidators([validatePatternOnBlur(/^\d{10}$/)], CountryCodes.Jersey),
428
- mask: { mask: makeMask(...numericInputs(3), ...nonInputs(" - "), ...numericInputs(3), ...nonInputs(" - "), ...numericInputs(4)) },
429
- guidanceText: {
430
- key: "enterNDigitsForExample",
431
- values: {
432
- numDigits: "10",
433
- example: "100-100-1000"
434
- }
435
- }
436
- };
437
- default: return {
438
- label: "taxIdentificationNumber",
439
- validators: mapValidators([validatePatternOnBlur(/^[A-Z]{2}\d{5}$/)], CountryCodes.Jersey),
440
- mask: {
441
- mask: makeMask(...alphaInputs(2), ...numericInputs(5)),
442
- transformOnType: uppercase
443
- },
444
- guidanceText: {
445
- key: "enterNCharactersForExample",
446
- values: {
447
- numChars: "7",
448
- example: "CC17261"
449
- }
450
- }
451
- };
452
- }
453
- }
454
- },
455
- [CountryCodes.Latvia]: {
456
- label: "taxInformationNumber__LV",
457
- validators: mapValidators([validatePatternOnBlur(/^\d{11}$/)], CountryCodes.Latvia),
458
- mask: { mask: makeMask(...numericInputs(11)) },
459
- guidanceText: {
460
- key: "validationPleaseEnterAValidIdNumberWithExample",
461
- values: {
462
- example: "32532963606",
463
- idType: "Personas kods"
464
- }
465
- }
466
- },
467
- [CountryCodes.Lithuania]: {
468
- label: "taxInformationNumber__LT",
469
- validators: mapValidators([validatePatternOnBlur(/^\d{11}$/)], CountryCodes.Lithuania),
470
- mask: { mask: makeMask(...numericInputs(11)) },
471
- guidanceText: {
472
- key: "validationPleaseEnterAValidIdNumberWithExample",
473
- values: {
474
- example: "33309240064",
475
- idType: "Asmens kodas"
476
- }
477
- }
478
- },
479
- [CountryCodes.Luxembourg]: ({ companyType }) => {
480
- switch (companyType) {
481
- case LegalEntityTypes.INDIVIDUAL: return {
482
- label: "taxInformationNumber__LU_Individual",
483
- validators: mapValidators([validatePatternOnBlur(/^\d{13}$/)], CountryCodes.Luxembourg),
484
- mask: { mask: makeMask(...numericInputs(13)) },
485
- guidanceText: {
486
- key: "enterNCharactersForExample",
487
- values: {
488
- numChars: "13",
489
- example: "1893120105732"
490
- }
491
- }
492
- };
493
- default: return {
494
- label: "taxInformationNumber__LU_Org",
495
- validators: mapValidators([validatePatternOnBlur(/^\d{11}$/)], CountryCodes.Luxembourg),
496
- mask: { mask: makeMask(...numericInputs(11)) },
497
- guidanceText: {
498
- key: "enterNCharactersForExample",
499
- values: {
500
- numChars: "11",
501
- example: "19991201001"
502
- }
503
- }
504
- };
505
- }
506
- },
507
- [CountryCodes.Malta]: ({ taxIdNumberType }) => {
508
- switch (taxIdNumberType) {
509
- case "IDENTITY_CARD_NUMBER": return {
510
- label: "taxInformationNumber__MT_Individual",
511
- validators: mapValidators([validatePatternOnBlur(/^\d{7}[A-Z]$|^\d{9}$/)], CountryCodes.Malta),
512
- mask: {
513
- mask: makeMask(...numericInputs(7), ...alphanumericInputs(2)),
514
- transformOnType: uppercase
515
- },
516
- guidanceText: {
517
- key: "validationPleaseEnterAValidIdNumberWithExample",
518
- values: {
519
- example: "1234567A",
520
- idType: "Identity card number or unique taxpayer reference number (Maltese nationals)"
521
- }
522
- }
523
- };
524
- case "NRU": return {
525
- label: "taxInformationNumber__MT_NRU_Individual",
526
- validators: mapValidators([validatePatternOnBlur(/^\d{9}$/)], CountryCodes.Malta),
527
- mask: { mask: makeMask(...numericInputs(9)) },
528
- guidanceText: {
529
- key: "validationPleaseEnterAValidIdNumberWithExample",
530
- values: {
531
- example: "999999999",
532
- idType: "NRU (Non-Maltese nationals)"
533
- }
534
- }
535
- };
536
- default: return {
537
- label: "taxInformationNumber__MT_Org",
538
- validators: mapValidators([validatePatternOnBlur(/^\d{9}$/)], CountryCodes.Malta),
539
- mask: { mask: makeMask(...numericInputs(9)) },
540
- guidanceText: {
541
- key: "validationPleaseEnterAValidIdNumberWithExample",
542
- values: {
543
- example: "123456789",
544
- idType: "Income Tax Registration Number"
545
- }
546
- }
547
- };
548
- }
549
- },
550
- [CountryCodes.Mexico]: {
551
- label: "taxInformationNumber__MX",
552
- validators: mapValidators([validatePatternOnBlur(/^[a-zA-Z]{3}\d{6}[A-Za-z0-9]{3}$/)], CountryCodes.Mexico),
553
- mask: { mask: makeMask(...alphaInputs(3), ...numericInputs(6), ...alphanumericInputs(3)) },
554
- guidanceText: {
555
- key: "enterNDigitsForExample",
556
- values: {
557
- numDigits: "12",
558
- example: "LFM200817DGA, MEL9507278ZA"
559
- }
560
- }
561
- },
562
- [CountryCodes.Netherlands]: ({ companyType }) => {
563
- switch (companyType) {
564
- case LegalEntityTypes.INDIVIDUAL: return {
565
- label: "bsnNumber",
566
- validators: mapValidators([validatePatternOnBlur(/^\d{9}$/)], CountryCodes.Netherlands),
567
- mask: { mask: makeMask(...numericInputs(9)) },
568
- guidanceText: {
569
- key: "validationPleaseEnterAValidIdNumberWithExample",
570
- values: {
571
- example: "999999999",
572
- idType: "BSN"
573
- }
574
- }
575
- };
576
- default: return {
577
- label: "rsinNumber",
578
- validators: mapValidators([validatePatternOnBlur(/^\d{9}$/)], CountryCodes.Netherlands),
579
- mask: { mask: makeMask(...numericInputs(9)) },
580
- guidanceText: {
581
- key: "validationPleaseEnterAValidIdNumberWithExample",
582
- values: {
583
- example: "811786523",
584
- idType: "RSIN"
585
- }
586
- }
587
- };
588
- }
589
- },
590
- [CountryCodes.NewZealand]: {
591
- label: "irdNumber",
592
- validators: mapValidators([validatePatternOnBlur(/^\d{8,9}$/)], CountryCodes.NewZealand),
593
- mask: { mask: makeMask(...numericInputs(8), ...numericInputs(1, true)) },
594
- guidanceText: {
595
- key: "enterXToYDigitsForExample",
596
- values: {
597
- minDigits: "8",
598
- maxDigits: "9",
599
- example: "12345678"
600
- }
601
- }
602
- },
603
- [CountryCodes.Portugal]: {
604
- label: "taxInformationNumber__PT",
605
- validators: mapValidators([validatePatternOnBlur(/^\d{9}$/)], CountryCodes.Portugal),
606
- mask: { mask: makeMask(...numericInputs(9)) },
607
- guidanceText: {
608
- key: "validationPleaseEnterAValidIdNumberWithExample",
609
- values: {
610
- example: "299999998",
611
- idType: "Numéro ID Civil"
612
- }
613
- }
614
- },
615
- [CountryCodes.PuertoRico]: {
616
- label: "taxInformationNumber__US",
617
- validators: mapValidators([validatePatternOnBlur(/^\d{9}$/)], CountryCodes.PuertoRico),
618
- mask: { mask: makeMask(...numericInputs(2), ...nonInputs(" - "), ...numericInputs(7)) },
619
- guidanceText: {
620
- key: "validationPleaseEnterAValidEINWithFormat",
621
- values: {
622
- format: "XX-XXXXXXX",
623
- example: "98-7654321"
624
- }
625
- }
626
- },
627
- [CountryCodes.Singapore]: {
628
- label: "gst",
629
- validators: mapValidators([validatePatternOnBlur(/^[A-Z0-9]{9,10}$/)], CountryCodes.Singapore),
630
- mask: {
631
- mask: makeMask(...alphanumericInputs(2), ...nonInputs(" - "), ...alphanumericInputs(7), ...nonInputs(" - "), ...alphanumericInputs(1)),
632
- transformOnType: uppercase
633
- },
634
- guidanceText: {
635
- key: "enterNCharactersForExample",
636
- values: {
637
- numChars: "10",
638
- example: "M212345678"
639
- }
640
- }
641
- },
642
- [CountryCodes.Slovakia]: ({ companyType }) => {
643
- switch (companyType) {
644
- case LegalEntityTypes.INDIVIDUAL: return {
645
- label: "taxInformationNumber__SK_Individual",
646
- validators: mapValidators([validatePatternOnBlur(/^\d{9}$|^\d{10}$|^\d{11}$|^\d{6}\/\d{3}$|^\d{6}\/\d{4}$/)], CountryCodes.Slovakia),
647
- mask: { mask: makeMask(...numericInputs(6), {
648
- type: "input",
649
- allow: /\//,
650
- optional: true
651
- }, ...numericInputs(4), ...numericInputs(1, true)) },
652
- guidanceText: {
653
- key: "validationPleaseEnterAValidIdNumberWithExample",
654
- values: {
655
- example: "7711167420",
656
- idType: "Rodne Cislo"
657
- }
658
- }
659
- };
660
- default: return {
661
- label: "taxInformationNumber__SK_Org",
662
- validators: mapValidators([validatePatternOnBlur(/^\d{10}$/)], CountryCodes.Slovakia),
663
- mask: { mask: makeMask(...numericInputs(10)) },
664
- guidanceText: {
665
- key: "validationPleaseEnterAValidIdNumberWithExample",
666
- values: {
667
- example: "2020123456",
668
- idType: "Daňové identifikačné číslo (DIČ)"
669
- }
670
- }
671
- };
672
- }
673
- },
674
- [CountryCodes.Slovenia]: ({ companyType }) => {
675
- switch (companyType) {
676
- case LegalEntityTypes.INDIVIDUAL: return {
677
- label: "taxInformationNumber__SI_Individual",
678
- validators: mapValidators([validatePatternOnBlur(/^\d{8}$/)], CountryCodes.Slovenia),
679
- mask: { mask: makeMask(...numericInputs(8)) },
680
- guidanceText: {
681
- key: "validationPleaseEnterAValidIdNumberWithExample",
682
- values: {
683
- example: "15012557",
684
- idType: "SI tax number"
685
- }
686
- }
687
- };
688
- default: return {
689
- label: "taxInformationNumber__SI_Org",
690
- validators: mapValidators([validatePatternOnBlur(/^\d{8}$/)], CountryCodes.Slovenia),
691
- mask: { mask: makeMask(...numericInputs(8)) },
692
- guidanceText: {
693
- key: "validationPleaseEnterAValidIdNumberWithExample",
694
- values: {
695
- example: "12345678",
696
- idType: "Davčna številka"
697
- }
698
- }
699
- };
700
- }
701
- },
702
- [CountryCodes.UnitedKingdom]: ({ taxIdNumberType, companyType }) => {
703
- switch (companyType) {
704
- case LegalEntityTypes.INDIVIDUAL: switch (taxIdNumberType) {
705
- case "NINO": return {
706
- label: "nationalInsuranceNumber",
707
- validators: mapValidators([validatePatternOnBlur(/^[A-Z]{2}\d{6}[A-D]$/)], CountryCodes.UnitedKingdom),
708
- guidanceText: {
709
- key: "validationPleaseEnterAValidIdNumberWithExample",
710
- values: {
711
- example: "AA123456C",
712
- idType: "NINO"
713
- }
714
- }
715
- };
716
- default: return {
717
- label: "utr",
718
- validators: mapValidators([validatePatternOnBlur(/^\d{10}$/)], CountryCodes.UnitedKingdom),
719
- mask: { mask: makeMask(...numericInputs(10)) },
720
- guidanceText: {
721
- key: "validationPleaseEnterAValidIdNumberWithExample",
722
- values: {
723
- example: "7172510005",
724
- idType: "UTR"
725
- }
726
- }
727
- };
728
- }
729
- default: return {
730
- label: "utr",
731
- validators: mapValidators([validatePatternOnBlur(/^\d{10}$/)], CountryCodes.UnitedKingdom),
732
- mask: { mask: makeMask(...numericInputs(10)) },
733
- guidanceText: {
734
- key: "validationPleaseEnterAValidIdNumberWithExample",
735
- values: {
736
- example: "7172510005",
737
- idType: "UTR"
738
- }
739
- }
740
- };
741
- }
742
- },
743
- [CountryCodes.UnitedStates]: {
744
- label: "taxInformationNumber__US",
745
- validators: mapValidators([validateNotEmptyOnBlur, validatePatternOnBlur(/^\d{9}$/)], CountryCodes.UnitedStates),
746
- mask: { mask: makeMask(...numericInputs(2), ...nonInputs(" - "), ...numericInputs(7)) },
747
- guidanceText: {
748
- key: "validationPleaseEnterAValidEINWithFormat",
749
- values: {
750
- format: "XX-XXXXXXX",
751
- example: "98-7654321"
752
- }
753
- }
754
- },
755
- /**
756
- * NOT YET SUPPORTED
757
- * These are brought over from the old pattern files. We have no idea if they are accurate or not.
758
- * See https://en.wikipedia.org/wiki/VAT_identification_number
759
- */
760
- [CountryCodes.India]: { validators: mapValidators([validatePatternOnBlur(/^[A-Z0-9]{15}$/)], CountryCodes.India) },
761
- [CountryCodes.Japan]: {
762
- label: "taxInformationNumber__JP",
763
- validators: mapValidators([validatePatternOnBlur(/^\d{13}$/)], CountryCodes.Japan),
764
- guidanceText: {
765
- key: "enterNDigitsForExample",
766
- values: {
767
- numDigits: "13",
768
- example: "2169151989941"
769
- }
770
- }
771
- },
772
- [CountryCodes.Philippines]: { validators: mapValidators([validatePatternOnBlur(/^\d{12}$/)], CountryCodes.Philippines) }
773
- };
774
- var exemptedFromTaxDefaultFieldConfig = { [CountryCodes.Australia]: { label: "thisBusinessIsntRequiredToHaveAnABN" } };
775
- var getTaxInformationPlaceholderText = ({ country, companyType, taxIdNumberType }) => {
776
- switch (country) {
777
- case CountryCodes.Austria: return "931736581";
778
- case CountryCodes.Belgium: switch (companyType) {
779
- case LegalEntityTypes.INDIVIDUAL: return "99999999999";
780
- default: return "0123321123";
781
- }
782
- case CountryCodes.Croatia: return "94577403194";
783
- case CountryCodes.Cyprus: return "00123123T";
784
- case CountryCodes.Estonia: return "32708101201";
785
- case CountryCodes.Ethiopia: return "32708101201";
786
- case CountryCodes.Finland: return "131052-308T";
787
- case CountryCodes.France: return "30 23 217 600 053";
788
- case CountryCodes.Germany: switch (companyType) {
789
- case LegalEntityTypes.INDIVIDUAL: return "26954371827";
790
- default: return "14310260208";
791
- }
792
- case CountryCodes.Gibraltar: return "123456";
793
- case CountryCodes.Greece: return "244709851";
794
- case CountryCodes.Ireland: switch (companyType) {
795
- case LegalEntityTypes.INDIVIDUAL: return "1234567T";
796
- default: return "1497955KA";
797
- }
798
- case CountryCodes.Italy: return "12345678901";
799
- case CountryCodes.IsleOfMan: return "C155673-79";
800
- case CountryCodes.Latvia: return "32532963606";
801
- case CountryCodes.Lithuania: return "33309240064";
802
- case CountryCodes.Luxembourg: switch (companyType) {
803
- case LegalEntityTypes.INDIVIDUAL: return "1893120105732";
804
- default: return "19991201001";
805
- }
806
- case CountryCodes.Malta: switch (companyType) {
807
- case LegalEntityTypes.INDIVIDUAL: switch (taxIdNumberType) {
808
- case "NRU": return "999999999";
809
- default: return "1234567A";
810
- }
811
- default: return "999999999";
812
- }
813
- case CountryCodes.Mexico: return "ABC123456AB9";
814
- case CountryCodes.Netherlands: switch (companyType) {
815
- case LegalEntityTypes.INDIVIDUAL: return "999999999";
816
- default: return "811786523";
817
- }
818
- case CountryCodes.Portugal: return "299999998";
819
- case CountryCodes.Slovakia: switch (companyType) {
820
- case LegalEntityTypes.INDIVIDUAL: return "7711167420";
821
- default: return "2020123456";
822
- }
823
- case CountryCodes.Slovenia: switch (companyType) {
824
- case LegalEntityTypes.INDIVIDUAL: return "15012557";
825
- default: return "12345678";
826
- }
827
- case CountryCodes.UnitedKingdom: return "7172510005";
828
- case CountryCodes.Spain: return "99999999L";
829
- case CountryCodes.PuertoRico:
830
- case CountryCodes.UnitedStates: return "11-0000000";
831
- }
832
- };
833
- //#endregion
834
- //#region src/utils/mapScriptLocalization.ts
835
- /**
836
- * Takes a {@link ScriptLocalization} and converts it into a schema with matching field names.
837
- *
838
- * E.g.
839
- * ```ts
840
- * const scriptLocalization = {
841
- * script: 'ja-Kana',
842
- * fields: {
843
- * firstName: 'アレキサンダー',
844
- * lastName: 'パトリック',
845
- * },
846
- * } as const;
847
- *
848
- * const schema = mapApiScriptLocalizationToSchemaFields(scriptLocalization);
849
- * console.log(schema);
850
- * // {
851
- * // jaKanaFirstName: 'アレキサンダー',
852
- * // jaKanaLastName: 'パトリック'
853
- * // }
854
- * ```
855
- *
856
- */
857
- function mapApiScriptLocalizationToSchemaFields(localization) {
858
- const schema = {};
859
- const scriptNameInSchema = localization.script.replace("-", "");
860
- for (const [field, value] of Object.entries(localization.fields)) schema[scriptNameInSchema + field[0].toUpperCase() + field.slice(1)] = value;
861
- return schema;
862
- }
863
- /**
864
- * Given a schema and a script, takes the fields prefixed with that script and produces a {@link ScriptLocalization}.
865
- *
866
- * E.g.
867
- * ```ts
868
- * const schema = {
869
- * firstName: 'Alex',
870
- * lastName: 'Tompkins',
871
- * jaKanaFirstName: 'アレキサンダー',
872
- * jaKanaLastName: 'パトリック',
873
- * jaHaniFirstName: 'pretend this is hiragana',
874
- * jaHaniLastName: 'this too',
875
- * };
876
- *
877
- * const localization = mapSchemaFieldsToApiScriptLocalization(schema, 'jaKana');
878
- * console.log(localization);
879
- * // {
880
- * // script: 'ja-Kana',
881
- * // fields: { firstName: 'アレキサンダー', lastName: 'パトリック' },
882
- * // };
883
- * ```
884
- */
885
- function mapSchemaFieldsToApiScriptLocalization(data, script) {
886
- const fields = {};
887
- for (const [schemaField, value] of Object.entries(data)) if (schemaField.startsWith(script)) {
888
- let fieldName = schemaField.replace(script, "");
889
- fieldName = fieldName[0].toLowerCase() + fieldName.slice(1);
890
- fields[fieldName] = value;
891
- }
892
- return {
893
- script: `${script.slice(0, 2)}-${script.slice(2)}`,
894
- fields
895
- };
896
- }
897
- //#endregion
898
- //#region src/utils/isEmpty.ts
899
- var isEmpty = (obj, ignoreEmptyProperties = true) => {
900
- if (obj === null || obj === void 0) return true;
901
- if (Array.isArray(obj)) return obj.length === 0;
902
- if (typeof obj !== "object") return false;
903
- return keysOf(obj).every((key) => !Object.hasOwn(obj, key) || ignoreEmptyProperties && isEmpty(obj[key], true));
904
- };
905
- //#endregion
906
- //#region src/utils/businessUtils.ts
907
- /**
908
- * @description Countries in this list use the provider-backed company search flow.
909
- * For these countries, business details can be prefilled from provider results,
910
- * and search/verification may require tax identifiers (for example TIN or VAT)
911
- * in addition to company name/registration details.
912
- *
913
- * If a country is in this list, it means it will attempt to make an api call for company search.
914
- * If the api doesnt have a provider for that country, it will return no results like below
915
- * ```
916
- * {
917
- * "results": [],
918
- * "provider": "NO_PROVIDER"
919
- * }
920
- * ```
921
- */
922
- var COUNTRIES_USING_COMPANY_SEARCH = [
923
- CountryCodes.UnitedStates,
924
- CountryCodes.UnitedKingdom,
925
- CountryCodes.Germany,
926
- CountryCodes.France
927
- ];
928
- /**
929
- * Source of truth for registration-number exemption eligibility in Business Details.
930
- *
931
- * This map defines which organization entity types can use
932
- * `exemptedFromRegistrationNumber`, grouped by country. All exemption checks should
933
- * be derived from this structure to keep behavior consistent across form rules.
934
- *
935
- * Interpretation:
936
- * - Non-empty array: exemption is allowed only for the listed entity types.
937
- * - Empty array: exemption is allowed for that country without entity-type restrictions.
938
- *
939
- */
940
- var REGISTRATION_NUMBER_EXEMPTION_RULES = {
941
- [CountryCodes.Australia]: ["governmentalOrganization", "partnershipIncorporated"],
942
- [CountryCodes.Denmark]: ["nonProfit"],
943
- [CountryCodes.Germany]: ["governmentalOrganization", "nonProfit"],
944
- [CountryCodes.HongKong]: [],
945
- [CountryCodes.NewZealand]: []
946
- };
947
- var COUNTRIES_THAT_DONT_REQUIRE_COMPANY_REGISTRATION = [
948
- CountryCodes.HongKong,
949
- CountryCodes.Mexico,
950
- CountryCodes.PuertoRico,
951
- CountryCodes.UnitedStates
952
- ];
953
- var COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER = [CountryCodes.Canada, CountryCodes.UnitedStates];
954
- /**
955
- * Also used to determine what documenttype needs to be used
956
- * when uploading tax document in mapping.ts
957
- * */
958
- var COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT = [
959
- CountryCodes.Australia,
960
- CountryCodes.Canada,
961
- CountryCodes.Gibraltar,
962
- CountryCodes.HongKong,
963
- CountryCodes.NewZealand,
964
- CountryCodes.PuertoRico,
965
- CountryCodes.Singapore,
966
- CountryCodes.UnitedStates,
967
- CountryCodes.Guernsey,
968
- CountryCodes.Jersey,
969
- CountryCodes.IsleOfMan,
970
- CountryCodes.Mexico,
971
- CountryCodes.Brazil,
972
- CountryCodes.Japan
973
- ];
974
- var COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_COMPANIES = [];
975
- var COUNTRIES_REQUIRING_FINANCIAL_INFORMATION = [
976
- CountryCodes.Austria,
977
- CountryCodes.Belgium,
978
- CountryCodes.Croatia,
979
- CountryCodes.Cyprus,
980
- CountryCodes.Estonia,
981
- CountryCodes.Finland,
982
- CountryCodes.France,
983
- CountryCodes.Germany,
984
- CountryCodes.Greece,
985
- CountryCodes.Ireland,
986
- CountryCodes.Italy,
987
- CountryCodes.Latvia,
988
- CountryCodes.Lithuania,
989
- CountryCodes.Luxembourg,
990
- CountryCodes.Malta,
991
- CountryCodes.Netherlands,
992
- CountryCodes.Portugal,
993
- CountryCodes.Slovakia,
994
- CountryCodes.Slovenia,
995
- CountryCodes.Spain,
996
- CountryCodes.UnitedKingdom
997
- ];
998
- var COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4 = [CountryCodes.Australia];
999
- var TAX_ID_REQUIRED_COUNTRIES_ORGANIZATION = [
1000
- CountryCodes.Austria,
1001
- CountryCodes.Belgium,
1002
- CountryCodes.Croatia,
1003
- CountryCodes.Cyprus,
1004
- CountryCodes.Germany,
1005
- CountryCodes.Greece,
1006
- CountryCodes.Ireland,
1007
- CountryCodes.Luxembourg,
1008
- CountryCodes.Malta,
1009
- CountryCodes.Netherlands,
1010
- CountryCodes.Slovakia,
1011
- CountryCodes.Slovenia
1012
- ];
1013
- /**
1014
- * Sole proprietorship specific rules
1015
- */
1016
- var COUNTRIES_THAT_DONT_REQUIRE_SOLE_PROP_REGISTRATION = [
1017
- CountryCodes.Australia,
1018
- CountryCodes.Gibraltar,
1019
- CountryCodes.Guernsey,
1020
- CountryCodes.HongKong,
1021
- CountryCodes.Ireland,
1022
- CountryCodes.IsleOfMan,
1023
- CountryCodes.Jersey,
1024
- CountryCodes.Malta,
1025
- CountryCodes.PuertoRico,
1026
- CountryCodes.Spain,
1027
- CountryCodes.UnitedKingdom,
1028
- CountryCodes.UnitedStates
1029
- ];
1030
- var COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_SOLE_PROPS = [
1031
- CountryCodes.Canada,
1032
- CountryCodes.PuertoRico,
1033
- CountryCodes.UnitedStates
1034
- ];
1035
- var COUNTRIES_WITH_POSSIBLE_REGISTRATION_EXEMPTIONS_FOR_SOLE_PROPS = [
1036
- CountryCodes.Austria,
1037
- CountryCodes.Canada,
1038
- CountryCodes.Finland,
1039
- CountryCodes.Germany,
1040
- CountryCodes.Lithuania,
1041
- CountryCodes.Luxembourg,
1042
- CountryCodes.NewZealand,
1043
- CountryCodes.Poland,
1044
- CountryCodes.Sweden,
1045
- CountryCodes.Switzerland
1046
- ];
1047
- var COUNTRIES_THAT_DO_NOT_USE_TAX_ID_FOR_SOLE_PROP = [CountryCodes.Singapore];
1048
- var COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER_SOLE_PROPS = [CountryCodes.Germany];
1049
- var isUsingCompanySearch = (country, taskType) => {
1050
- if (taskType !== TaskTypes.BUSINESS_DETAILS) return false;
1051
- return COUNTRIES_USING_COMPANY_SEARCH.includes(country);
1052
- };
1053
- /**
1054
- * A Japanese business has a kanji legal name and a katakana reading of it, neither of which can be
1055
- * derived from the roman one, so they travel beside it as script localizations.
1056
- *
1057
- * @param data the form section holding the localized name fields, whatever the task calls it
1058
- * @returns the localizations that were filled in, so an empty array when neither was asked for
1059
- */
1060
- var mapJapaneseLegalNamesToLocalization = (data) => [mapSchemaFieldsToApiScriptLocalization(data, "jaHani"), mapSchemaFieldsToApiScriptLocalization(data, "jaKana")].filter(({ fields }) => !isEmpty(fields)).map(({ script, fields }) => ({
1061
- script,
1062
- fields: { legalName: fields.legalCompanyName }
1063
- }));
1064
- /**
1065
- * Reads the kanji and katakana legal names back out of the script localizations, so they can
1066
- * prefill the fields they came from.
1067
- *
1068
- * @param localization the organization's script localizations, when it has any
1069
- */
1070
- var mapLocalizationToJapaneseLegalNames = (localization) => (localization ?? []).reduce((schemaFields, { script, fields }) => ({
1071
- ...schemaFields,
1072
- ...mapApiScriptLocalizationToSchemaFields({
1073
- script,
1074
- fields: { legalCompanyName: fields?.legalName }
1075
- })
1076
- }), {});
1077
- //#endregion
1078
- //#region src/components/Shared/fields/TaxInformationField/taxIdNumberTypes.ts
1079
- var restrictedEntityTypes = [
1080
- "soleProprietorship",
1081
- LegalEntityTypes.TRUST,
1082
- LegalEntityTypes.INDIVIDUAL
1083
- ];
1084
- var isRestrictedEntityType = (entityType) => Boolean(entityType && restrictedEntityTypes.includes(entityType));
1085
- var isApplicableOnlyForSingleRestrictedType = (option) => {
1086
- if (!option.applicableOnlyFor || option.applicableOnlyFor.length !== 1) return false;
1087
- return restrictedEntityTypes.includes(option.applicableOnlyFor[0]);
1088
- };
1089
- var taxIdNumberOptions = {
1090
- [CountryCodes.Australia]: [{
1091
- id: "ABN",
1092
- name: "australianBusinessNumberAbn"
1093
- }],
1094
- [CountryCodes.Austria]: [{
1095
- id: "STEUERNUMMER",
1096
- name: "taxInformationNumber__AT"
1097
- }],
1098
- [CountryCodes.Belgium]: [{
1099
- id: "BUSINESS_NUMMER",
1100
- name: "businessNumber",
1101
- applicableOnlyFor: [
1102
- "soleProprietorship",
1103
- "privateCompany",
1104
- "governmentalOrganization",
1105
- "associationIncorporated",
1106
- "partnershipIncorporated",
1107
- "nonProfit",
1108
- "unincorporatedPartnership",
1109
- "unlistedPublicCompany"
1110
- ]
1111
- }, {
1112
- id: "NUMERO_NATIONAL",
1113
- name: "taxInformationNumber__BE_Individual",
1114
- applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
1115
- }],
1116
- [CountryCodes.Brazil]: [{
1117
- id: "CNPJ",
1118
- name: "CNPJ"
1119
- }],
1120
- [CountryCodes.Canada]: [{
1121
- id: "BUSINESS_NUMBER",
1122
- name: "businessNumber"
1123
- }],
1124
- [CountryCodes.Croatia]: [{
1125
- id: "OIB",
1126
- name: "taxInformationNumber__HR"
1127
- }],
1128
- [CountryCodes.Cyprus]: [{
1129
- id: "TIC",
1130
- name: "taxInformationNumber__CY"
1131
- }],
1132
- [CountryCodes.Estonia]: [{
1133
- id: "ISIKUKOOD",
1134
- name: "taxInformationNumber__ET_Individual",
1135
- applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
1136
- }, {
1137
- id: "registrikood",
1138
- name: "registrikood",
1139
- applicableOnlyFor: ["privateCompany"]
1140
- }],
1141
- [CountryCodes.Finland]: [{
1142
- id: "HENKILOTUNNUS",
1143
- name: "taxInformationNumber__FI",
1144
- applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
1145
- }, {
1146
- id: "YTUNNUS",
1147
- name: "YTunnus",
1148
- applicableOnlyFor: ["privateCompany"]
1149
- }],
1150
- [CountryCodes.France]: [{
1151
- id: "SIRET",
1152
- name: "siret",
1153
- applicableOnlyFor: ["privateCompany"]
1154
- }],
1155
- [CountryCodes.Germany]: [{
1156
- id: "STEUERNUMMER",
1157
- name: "taxInformationNumber__DE",
1158
- applicableOnlyFor: [
1159
- "soleProprietorship",
1160
- "privateCompany",
1161
- "governmentalOrganization",
1162
- "associationIncorporated",
1163
- "partnershipIncorporated",
1164
- "nonProfit",
1165
- "unincorporatedPartnership",
1166
- "unlistedPublicCompany"
1167
- ]
1168
- }, {
1169
- id: "IDNR",
1170
- name: "taxInformationNumber__DE_Individual",
1171
- applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
1172
- }],
1173
- [CountryCodes.Gibraltar]: [{
1174
- id: "GI_TAXPAYER_REFERENCE_NUMBER",
1175
- name: "taxpayerReferenceNumber"
1176
- }],
1177
- [CountryCodes.Greece]: [{
1178
- id: "AFM",
1179
- name: "taxInformationNumber__GR"
1180
- }],
1181
- [CountryCodes.Guernsey]: [{
1182
- id: "GG_REGISTRATION_NUMBER",
1183
- name: "taxInformationNumber"
1184
- }, {
1185
- id: "TIN_GG",
1186
- name: "nationalInsuranceNumber",
1187
- applicableOnlyFor: ["soleProprietorship"]
1188
- }],
1189
- [CountryCodes.HongKong]: [{
1190
- id: "BRN",
1191
- name: "taxInformationNumber__HK"
1192
- }],
1193
- [CountryCodes.Ireland]: [{
1194
- id: "TRN",
1195
- name: "trnNumber",
1196
- applicableOnlyFor: ["privateCompany", "unincorporatedPartnership"]
1197
- }, {
1198
- id: "PERSONAL_PUBLIC_SERVICE_NUMBER",
1199
- name: "taxInformationNumber__IE_Individual",
1200
- applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
1201
- }],
1202
- [CountryCodes.IsleOfMan]: [{
1203
- id: "IM_TAX_REFERENCE_NUMBER",
1204
- name: "taxReferenceNumber"
1205
- }],
1206
- [CountryCodes.Italy]: [{
1207
- id: "CODICE_FISCALE",
1208
- name: "taxInformationNumber__IT"
1209
- }],
1210
- [CountryCodes.Japan]: [{
1211
- id: "CORPORATE_NUMBER",
1212
- name: "taxInformationNumber"
1213
- }],
1214
- [CountryCodes.Jersey]: [{
1215
- id: "TIN_JE",
1216
- name: "taxIdentificationNumber"
1217
- }, {
1218
- id: "SSN",
1219
- name: "socialSecurityNumber",
1220
- applicableOnlyFor: ["soleProprietorship"]
1221
- }],
1222
- [CountryCodes.Latvia]: [{
1223
- id: "PERSONAS_KODS",
1224
- name: "taxInformationNumber__LV",
1225
- applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
1226
- }, {
1227
- id: "REGISTRACIJAS_NUMURS",
1228
- name: "lvRegistrationNumber",
1229
- applicableOnlyFor: ["privateCompany"]
1230
- }],
1231
- [CountryCodes.Lithuania]: [{
1232
- id: "ASMENS_KODAS",
1233
- name: "taxInformationNumber__LT"
1234
- }],
1235
- [CountryCodes.Luxembourg]: [{
1236
- id: "NATIONAL_IDENTIFICATION_NUMBER",
1237
- name: "taxInformationNumber__LU_Individual",
1238
- applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
1239
- }, {
1240
- id: "NATIONAL_IDENTIFICATION_NUMBER",
1241
- name: "taxInformationNumber__LU_Org",
1242
- applicableOnlyFor: ["privateCompany"]
1243
- }],
1244
- [CountryCodes.Malta]: [
1245
- {
1246
- id: "NRU",
1247
- name: "taxInformationNumber__MT_NRU_Individual",
1248
- applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
1249
- },
1250
- {
1251
- id: "IDENTITY_CARD_NUMBER",
1252
- name: "taxInformationNumber__MT_Individual",
1253
- applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
1254
- },
1255
- {
1256
- id: "INCOME_TAX_REGISTRATION_NUMBER",
1257
- name: "taxInformationNumber__MT_Org",
1258
- applicableOnlyFor: ["privateCompany"]
1259
- }
1260
- ],
1261
- [CountryCodes.Mexico]: [{
1262
- id: "RFC",
1263
- name: "taxInformationNumber__MX",
1264
- applicableOnlyFor: [
1265
- "privateCompany",
1266
- "governmentalOrganization",
1267
- "associationIncorporated",
1268
- "partnershipIncorporated",
1269
- "nonProfit",
1270
- "unincorporatedPartnership",
1271
- "unlistedPublicCompany"
1272
- ]
1273
- }],
1274
- [CountryCodes.Netherlands]: [{
1275
- id: "RSIN",
1276
- name: "rsinNumber",
1277
- applicableOnlyFor: [
1278
- "privateCompany",
1279
- "governmentalOrganization",
1280
- "associationIncorporated",
1281
- "partnershipIncorporated",
1282
- "nonProfit",
1283
- "unincorporatedPartnership",
1284
- "unlistedPublicCompany"
1285
- ]
1286
- }, {
1287
- id: "BSN",
1288
- name: "bsnNumber",
1289
- applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
1290
- }],
1291
- [CountryCodes.NewZealand]: [{
1292
- id: "IRD",
1293
- name: "irdNumber"
1294
- }],
1295
- [CountryCodes.Portugal]: [{
1296
- id: "NUMERO_ID_CIVIL",
1297
- name: "taxInformationNumber__PT",
1298
- applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
1299
- }, {
1300
- id: "NIPC",
1301
- name: "NIPC",
1302
- applicableOnlyFor: ["privateCompany"]
1303
- }],
1304
- [CountryCodes.PuertoRico]: [{
1305
- id: "EIN",
1306
- name: "ein"
1307
- }],
1308
- [CountryCodes.Singapore]: [{
1309
- id: "GST",
1310
- name: "gst"
1311
- }, {
1312
- id: "UEN",
1313
- name: "uen"
1314
- }],
1315
- [CountryCodes.Slovakia]: [{
1316
- id: "RODNE_CISLO",
1317
- name: "taxInformationNumber__SK_Individual",
1318
- applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
1319
- }, {
1320
- id: "NATIONAL_IDENTIFICATION_NUMBER",
1321
- name: "taxInformationNumber__SK_Org",
1322
- applicableOnlyFor: ["privateCompany"]
1323
- }],
1324
- [CountryCodes.Slovenia]: [{
1325
- id: "SI_TAX_NUMBER",
1326
- name: "taxInformationNumber__SI_Individual",
1327
- applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
1328
- }, {
1329
- id: "NATIONAL_IDENTIFICATION_NUMBER",
1330
- name: "taxInformationNumber__SI_Org",
1331
- applicableOnlyFor: ["privateCompany"]
1332
- }],
1333
- [CountryCodes.Spain]: [
1334
- {
1335
- id: "dni",
1336
- name: "dni",
1337
- applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
1338
- },
1339
- {
1340
- id: "nie",
1341
- name: "nie",
1342
- applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
1343
- },
1344
- {
1345
- id: "NIF",
1346
- name: "NIF",
1347
- applicableOnlyFor: ["privateCompany"]
1348
- }
1349
- ],
1350
- [CountryCodes.UnitedKingdom]: [{
1351
- id: "UTR",
1352
- name: "utr"
1353
- }, {
1354
- id: "NINO",
1355
- name: "nationalInsuranceNumber",
1356
- applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
1357
- }],
1358
- [CountryCodes.UnitedStates]: [{
1359
- id: "EIN",
1360
- name: "ein"
1361
- }]
1362
- };
1363
- var getTaxIdNumberOptions = (country, companyType) => {
1364
- const optionsForCountry = taxIdNumberOptions[country];
1365
- if (!optionsForCountry) return optionsForCountry;
1366
- if (isRestrictedEntityType(companyType)) return optionsForCountry.filter((option) => option.applicableOnlyFor?.includes(companyType) ?? true);
1367
- return optionsForCountry.filter((option) => !isApplicableOnlyForSingleRestrictedType(option));
1368
- };
1369
- var getTaxIdNumberSelectorOptions = (country, companyType, exemptedOptionLabel) => {
1370
- const availableOptions = getTaxIdNumberOptions(country, companyType) ?? [];
1371
- if (availableOptions.length === 0 || !exemptedOptionLabel) return availableOptions;
1372
- return [...availableOptions, {
1373
- id: "exempted",
1374
- name: exemptedOptionLabel
1375
- }];
1376
- };
1377
- function getValidCompanyTypesForTaxIdNumberType(country, taxIdNumberType) {
1378
- if (!taxIdNumberType) return void 0;
1379
- const taxIdOption = taxIdNumberOptions[country]?.find((option) => option.id === taxIdNumberType);
1380
- if (!taxIdOption?.applicableOnlyFor) return void 0;
1381
- const validCompanyTypes = taxIdOption.applicableOnlyFor.filter((type) => type !== LegalEntityTypes.INDIVIDUAL && type !== LegalEntityTypes.TRUST && type !== LegalEntityTypes.UNINCORPORATED_PARTNERSHIP);
1382
- return validCompanyTypes.length > 0 ? validCompanyTypes : void 0;
1383
- }
1384
- //#endregion
1385
- //#region src/components/Shared/fields/TaxInformationField/TaxIdNumberTypeSelector/inferTaxIdNumberType.ts
1386
- /**
1387
- * For existing data, we need to infer the tax ID number type from the existing data.
1388
- * Otherwise, the incorrect mask will be applied.
1389
- * We don't store this choice in the API.
1390
- * @param taxInformation the existing tax information
1391
- * @param country the country of the LE
1392
- * @param companyType the company type, e.g. `nonProfit`
1393
- */
1394
- var inferTaxIdNumberType = (taxInformation, country, companyType) => {
1395
- if (!taxInformation) return void 0;
1396
- const optionsForCountry = getTaxIdNumberOptions(country, companyType);
1397
- const metadataFn = taxInformationDefaultFieldConfig[country];
1398
- if (!optionsForCountry || !metadataFn) return void 0;
1399
- if (optionsForCountry.length === 1) return optionsForCountry[0].id;
1400
- const allMetaData = optionsForCountry.reduce((acc, option) => {
1401
- const meta = typeof metadataFn === "function" ? metadataFn({
1402
- taxIdNumberType: option.id,
1403
- companyType
1404
- }) : metadataFn;
1405
- if (meta.label && !acc[meta.label]) acc[meta.label] = meta;
1406
- return acc;
1407
- }, {});
1408
- for (const option of optionsForCountry) {
1409
- const fieldMetadata = allMetaData[option.name];
1410
- if (!fieldMetadata?.validators) continue;
1411
- if ((Array.isArray(fieldMetadata.validators) ? fieldMetadata.validators : [fieldMetadata.validators]).every((validator) => validator.validate(taxInformation))) return option.id;
1412
- }
1413
- };
1414
- //#endregion
1415
- //#region src/components/Shared/fields/TaxInformationField/TaxIdNumberTypeSelector/getDefaultTaxIdNumberType.ts
1416
- /**
1417
- * Finds tax information for a specific country from an array of tax information objects.
1418
- *
1419
- * @param taxInformation - Array of tax information objects to search through
1420
- * @param country - Country code to find tax information for
1421
- * @returns The first matching tax information object or undefined if none found
1422
- */
1423
- function findExistingTaxInformation(taxInformation, country) {
1424
- return taxInformation?.find((taxId) => taxId.country === country);
1425
- }
1426
- /**
1427
- * Determines the default tax ID number type based on existing information and entity type.
1428
- * This function follows a priority order:
1429
- * 1. Use the type from existing tax information if available
1430
- * 2. If there's a tax number but no type, infer the type from the number
1431
- * 3. Otherwise, use the first available tax ID option for the country and entity type
1432
- *
1433
- * @param taxInformation - Array of tax information objects
1434
- * @param country - Country code to determine the tax ID type for
1435
- * @param entityType - Type of entity (company type or individual)
1436
- * @returns The determined tax ID number type or undefined if none can be determined
1437
- */
1438
- function getDefaultTaxIdNumberType(taxInformation, country, entityType) {
1439
- const existingTaxInformation = findExistingTaxInformation(taxInformation, country);
1440
- return existingTaxInformation?.type ?? (existingTaxInformation?.number ? inferTaxIdNumberType(taxInformation, country, entityType) : getTaxIdNumberOptions(country, entityType)?.[0]?.id);
1441
- }
1442
- //#endregion
1443
- //#region src/components/Shared/fields/TaxInformationField/TaxIdNumberTypeSelector/TaxIdNumberTypeSelector.tsx
1444
- function TaxIdNumberTypeSelector({ country, companyType, selected, setSelected, exemptedOptionLabel, isUsSoleProp, errorMessage }) {
1445
- const { t } = useTranslation("common");
1446
- const handleSelect = useCallback((selectedStr) => {
1447
- const newSelected = selectedStr;
1448
- if (newSelected === "exempted") {
1449
- if (exemptedOptionLabel) setSelected(newSelected);
1450
- return;
1451
- }
1452
- setSelected(newSelected);
1453
- }, [exemptedOptionLabel, setSelected]);
1454
- const options = useMemo(() => getTaxIdNumberSelectorOptions(country, companyType, exemptedOptionLabel), [
1455
- country,
1456
- companyType,
1457
- exemptedOptionLabel
1458
- ]);
1459
- useEffect(() => {
1460
- if (!isUsSoleProp && !selected && options.length > 0) handleSelect(options[0].id);
1461
- }, [
1462
- options,
1463
- selected,
1464
- handleSelect,
1465
- isUsSoleProp
1466
- ]);
1467
- if (options.length <= 1) return null;
1468
- return /* @__PURE__ */ jsx(Field, {
1469
- el: "fieldset",
1470
- name: "taxIdNumberType",
1471
- label: t(($) => $["whichTaxpayerIdentificationNumberDoYouUse"]),
1472
- errorMessage,
1473
- children: (childProps) => /* @__PURE__ */ jsx(RadioGroup, {
1474
- ...childProps,
1475
- name: "taxIdNumberType",
1476
- items: options,
1477
- value: selected,
1478
- onChange: handleSelect
1479
- })
1480
- });
1481
- }
1482
- //#endregion
1483
- //#region src/components/Shared/fields/TaxInformationField/utils.ts
1484
- /**
1485
- * Immutably upserts a TaxInformation entry for a given country within the tax information array.
1486
- * - If the array doesn't exist, creates a new one with the entry.
1487
- * - If the country already has an entry, replaces it in-place.
1488
- * - If the country has no entry yet, appends the new entry.
1489
- */
1490
- function upsertTaxInfoForCountry(taxInformation, country, newEntry) {
1491
- if (!taxInformation) return [newEntry];
1492
- return (taxInformation.some((t) => t.country === country) ? taxInformation : [...taxInformation, newEntry]).map((t) => t.country === country ? newEntry : t);
1493
- }
1494
- /**
1495
- * Removes all TaxInformation entries for the given country from the array.
1496
- */
1497
- function removeTaxInfoForCountry(taxInformation, country) {
1498
- return taxInformation?.filter((t) => t.country !== country);
1499
- }
1500
- //#endregion
1501
- //#region src/components/Shared/fields/TaxInformationField/TaxInformationField.tsx
1502
- var TAX_INFORMATION_FIELD = [
1503
- "taxInformation",
1504
- "exemptedFromTax",
1505
- "isUen"
1506
- ];
1507
- /**
1508
- * Renders a dynamic form field for tax identification information, adapting its display
1509
- * and behavior based on country and company type. It supports various tax ID input
1510
- * scenarios, including two specialized handling for US Sole Proprietorships (where SSN option acts as exemption selection)
1511
- * and Singapore Companies (where registration number (UEN) can be used for tax ID).
1512
- */
1513
- function TaxInformationField({ data, valid, errors, placeholder, readonly, optional, shouldValidate, handleChangeFor, country, canExempt, registrationNumber, entityType, defaultData }) {
1514
- const { isFeatureEnabled } = useToggleContext();
1515
- const { t } = useTranslation("common");
1516
- const { accountHolder } = useAccountHolder();
1517
- const currentCountryTaxInformation = useMemo(() => data?.taxInformation?.find((taxInfo) => taxInfo.country === country) ?? (!data.exemptedFromTax ? defaultData?.find((taxInfo) => taxInfo.country === country) : void 0), [
1518
- data?.taxInformation,
1519
- data.exemptedFromTax,
1520
- defaultData,
1521
- country
1522
- ]);
1523
- const isUsSoleProp = country === "US" && entityType === "soleProprietorship";
1524
- const options = getTaxIdNumberOptions(country, entityType);
1525
- const showTaxIdExemptedOptions = canExempt && (options?.length ?? 0) > 1 || isUsSoleProp;
1526
- const canSaveAbsentState = isFeatureEnabled("EnableRegistrationAndTaxAbsentStatesV4") && COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4.includes(country) && accountHolder === "aTrust";
1527
- const { label: resolvedExemptionLabel } = resolveFieldMetadata(exemptedFromTaxDefaultFieldConfig[country], {}, exemptedFromTaxDefaultFieldMetadata);
1528
- const exemptedFromTaxLabel = t(($) => $[resolvedExemptionLabel ?? "iDontHaveATaxId"]);
1529
- const exemptionLabel = isUsSoleProp ? t(($) => $["socialSecurityNumber"]) : exemptedFromTaxLabel;
1530
- const selectorOptions = getTaxIdNumberSelectorOptions(country, entityType, showTaxIdExemptedOptions ? exemptionLabel : void 0);
1531
- const shouldRenderInput = isUsSoleProp ? currentCountryTaxInformation?.type === "EIN" : !data.isUen;
1532
- const taxIdNumberType = useMemo(() => {
1533
- if (data.exemptedFromTax) return "exempted";
1534
- if (currentCountryTaxInformation?.type) return currentCountryTaxInformation.type;
1535
- if (isUsSoleProp) return void 0;
1536
- return getDefaultTaxIdNumberType(data.taxInformation, country, entityType);
1537
- }, [
1538
- country,
1539
- currentCountryTaxInformation?.type,
1540
- data.exemptedFromTax,
1541
- data.taxInformation,
1542
- entityType,
1543
- isUsSoleProp
1544
- ]);
1545
- const shouldDisplayErrorOnSelector = selectorOptions.length > 1 && taxIdNumberType === void 0;
1546
- const selectorError = shouldDisplayErrorOnSelector ? errors.taxInformation : void 0;
1547
- const inputError = shouldDisplayErrorOnSelector ? void 0 : errors.taxInformation;
1548
- const { label, mask, guidanceText } = resolveFieldMetadata(taxInformationDefaultFieldConfig[country], {
1549
- taxIdNumberType: taxIdNumberType === "exempted" ? void 0 : taxIdNumberType,
1550
- companyType: entityType
1551
- }, taxInformationDefaultFieldMetadata);
1552
- const updateTaxInfo = useCallback((mode, newEntry) => {
1553
- const entry = canSaveAbsentState ? {
1554
- ...newEntry,
1555
- numberAbsent: newEntry.numberAbsent ?? false
1556
- } : newEntry;
1557
- handleChangeFor("taxInformation", mode)(upsertTaxInfoForCountry(data.taxInformation, country, entry));
1558
- }, [
1559
- canSaveAbsentState,
1560
- country,
1561
- data.taxInformation,
1562
- handleChangeFor
1563
- ]);
1564
- const updateTaxType = useCallback((type, mode) => {
1565
- updateTaxInfo(mode, {
1566
- country,
1567
- number: currentCountryTaxInformation?.number,
1568
- type
1569
- });
1570
- }, [
1571
- country,
1572
- currentCountryTaxInformation?.number,
1573
- updateTaxInfo
1574
- ]);
1575
- const resetToDefaultData = useCallback(() => {
1576
- if (defaultData !== void 0) handleChangeFor("taxInformation", "input")(defaultData);
1577
- }, [defaultData, handleChangeFor]);
1578
- const removeCountryTaxInfo = useCallback(() => {
1579
- handleChangeFor("taxInformation", "input")(removeTaxInfoForCountry(data.taxInformation, country));
1580
- }, [
1581
- country,
1582
- data.taxInformation,
1583
- handleChangeFor
1584
- ]);
1585
- const setUenAsTaxId = useCallback((uen) => {
1586
- updateTaxInfo("blur", {
1587
- country,
1588
- number: uen ?? "",
1589
- type: "UEN"
1590
- });
1591
- }, [country, updateTaxInfo]);
1592
- const addTaxAbsentStatus = useCallback((exempted) => {
1593
- handleChangeFor("taxInformation", "input")(upsertTaxInfoForCountry(data.taxInformation, country, {
1594
- country,
1595
- numberAbsent: exempted
1596
- }));
1597
- }, [
1598
- country,
1599
- data.taxInformation,
1600
- handleChangeFor
1601
- ]);
1602
- const handleTaxNumberChange = useCallback((e, mode) => {
1603
- updateTaxInfo(mode, {
1604
- country,
1605
- number: e ? typeof e === "string" ? e : e.currentTarget.value : void 0,
1606
- type: currentCountryTaxInformation?.type ?? (taxIdNumberType !== "exempted" ? taxIdNumberType : void 0)
1607
- });
1608
- }, [
1609
- country,
1610
- currentCountryTaxInformation?.type,
1611
- taxIdNumberType,
1612
- updateTaxInfo
1613
- ]);
1614
- const handleTaxIdNumberTypeChange = useCallback((taxIdType) => {
1615
- if (!canExempt && taxIdType === "exempted") throw Error(`${country} does not allow tax exemptions`);
1616
- if (taxIdType === "exempted") {
1617
- handleChangeFor("exemptedFromTax")(true);
1618
- updateTaxType(void 0, "input");
1619
- return canSaveAbsentState ? addTaxAbsentStatus(true) : removeCountryTaxInfo();
1620
- }
1621
- handleChangeFor("exemptedFromTax")(false);
1622
- if (country === "SG") if (taxIdType === "UEN") {
1623
- handleChangeFor("isUen")(true);
1624
- setUenAsTaxId(registrationNumber);
1625
- } else {
1626
- handleChangeFor("isUen")(false);
1627
- removeCountryTaxInfo();
1628
- }
1629
- updateTaxType(taxIdType, "input");
1630
- }, [
1631
- addTaxAbsentStatus,
1632
- canExempt,
1633
- canSaveAbsentState,
1634
- country,
1635
- handleChangeFor,
1636
- updateTaxType,
1637
- registrationNumber,
1638
- removeCountryTaxInfo,
1639
- setUenAsTaxId
1640
- ]);
1641
- const handleExemptedFromTaxChange = useCallback((exempted) => {
1642
- handleChangeFor("exemptedFromTax")(exempted);
1643
- if (canSaveAbsentState) addTaxAbsentStatus(exempted);
1644
- else removeCountryTaxInfo();
1645
- }, [
1646
- addTaxAbsentStatus,
1647
- canSaveAbsentState,
1648
- handleChangeFor,
1649
- removeCountryTaxInfo
1650
- ]);
1651
- const prevCountryRef = useRef(country);
1652
- useEffect(() => {
1653
- if (!country || prevCountryRef.current === country) return;
1654
- prevCountryRef.current = country;
1655
- const hasSavedTaxId = defaultData?.find((taxId) => taxId.country === country);
1656
- if (currentCountryTaxInformation && !hasSavedTaxId) return;
1657
- if (entityType === "soleProprietorship") return;
1658
- resetToDefaultData();
1659
- }, [country]);
1660
- useEffect(() => {
1661
- if (country === "SG" && data.isUen && registrationNumber && registrationNumber !== currentCountryTaxInformation?.number) setUenAsTaxId(registrationNumber);
1662
- }, [
1663
- registrationNumber,
1664
- currentCountryTaxInformation?.number,
1665
- data.isUen,
1666
- country,
1667
- setUenAsTaxId
1668
- ]);
1669
- const isInitialized = useRef(false);
1670
- if (!isInitialized.current && country === "SG" && !defaultData?.find((taxInfo) => taxInfo.country === country)?.number) {
1671
- isInitialized.current = true;
1672
- handleChangeFor("isUen")(false);
1673
- }
1674
- return /* @__PURE__ */ jsxs("div", { children: [
1675
- /* @__PURE__ */ jsx(TaxIdNumberTypeSelector, {
1676
- country,
1677
- companyType: entityType,
1678
- setSelected: handleTaxIdNumberTypeChange,
1679
- selected: taxIdNumberType,
1680
- exemptedOptionLabel: showTaxIdExemptedOptions ? exemptionLabel : void 0,
1681
- isUsSoleProp,
1682
- errorMessage: selectorError
1683
- }),
1684
- shouldRenderInput && /* @__PURE__ */ jsx(MaskedInput, {
1685
- type: "text",
1686
- "aria-required": true,
1687
- "aria-invalid": !valid.taxInformation,
1688
- name: "taxInformation",
1689
- label: t(($) => $[label ?? "taxId"]),
1690
- formatGuidance: translateTranslatable(t, guidanceText),
1691
- value: currentCountryTaxInformation?.number ?? "",
1692
- errorMessage: inputError,
1693
- placeholder,
1694
- isValid: Boolean(valid.taxInformation) && !!currentCountryTaxInformation,
1695
- onInput: (e) => handleTaxNumberChange(e, "input"),
1696
- onBlur: (e) => handleTaxNumberChange(e, "blur"),
1697
- disabled: data.exemptedFromTax || data.isUen,
1698
- readonly,
1699
- optional,
1700
- shouldValidate,
1701
- ...mask
1702
- }),
1703
- canExempt && !showTaxIdExemptedOptions && /* @__PURE__ */ jsx(Field, {
1704
- name: "exemptedFromTax",
1705
- children: (childProps) => /* @__PURE__ */ jsx(Checkbox, {
1706
- ...childProps,
1707
- "aria-required": false,
1708
- "aria-invalid": false,
1709
- name: "exemptedFromTax",
1710
- label: exemptedFromTaxLabel,
1711
- value: "exemptedFromTax",
1712
- checked: Boolean(data.exemptedFromTax),
1713
- onChange: handleExemptedFromTaxChange
1714
- })
1715
- })
1716
- ] });
1717
- }
1718
- var Tile_module_default = {
1719
- "tile-container": "_tile-container_685mc_1",
1720
- tileContainer: "_tile-container_685mc_1",
1721
- tile: "_tile_685mc_1",
1722
- "tile-icon": "_tile-icon_685mc_18",
1723
- tileIcon: "_tile-icon_685mc_18",
1724
- "tile-title": "_tile-title_685mc_35",
1725
- tileTitle: "_tile-title_685mc_35",
1726
- "tile-checkbox": "_tile-checkbox_685mc_49",
1727
- tileCheckbox: "_tile-checkbox_685mc_49",
1728
- "tile-container-horizontal": "_tile-container-horizontal_685mc_89",
1729
- tileContainerHorizontal: "_tile-container-horizontal_685mc_89",
1730
- "tile-label": "_tile-label_685mc_100",
1731
- tileLabel: "_tile-label_685mc_100"
1732
- };
1733
- //#endregion
1734
- //#region src/components/ui/atoms/Tile/Tile.tsx
1735
- function Tile({ checked, disabled, icon, id, inputType = "checkbox", isHorizontal, label, name, className, onChange, subTitle, value }) {
1736
- const inputNode = useRef(null);
1737
- const uniqId = useId("tile");
1738
- const idUse = id ?? uniqId;
1739
- const handleChange = (e) => {
1740
- if (disabled) return;
1741
- onChange?.(e.currentTarget.checked);
1742
- inputNode.current?.focus();
1743
- };
1744
- const handleClick = (e) => {
1745
- if (disabled || inputType === "radio") return;
1746
- if (checked) {
1747
- e.preventDefault();
1748
- onChange?.(false);
1749
- inputNode.current?.focus();
1750
- }
1751
- };
1752
- const handleOnKeyDown = (e) => {
1753
- if (e.key === KEYBOARD_KEYS.enter || e.key === KEYBOARD_KEYS.space) {
1754
- e.preventDefault();
1755
- if (disabled) return;
1756
- if (inputType === "radio" && !checked) {
1757
- onChange?.(true);
1758
- inputNode.current?.focus();
1759
- } else if (inputType === "checkbox") {
1760
- onChange?.(!checked);
1761
- inputNode.current?.focus();
1762
- }
1763
- }
1764
- };
1765
- return /* @__PURE__ */ jsxs("div", {
1766
- className: cx(Tile_module_default.tileContainer, className, { [Tile_module_default.tileContainerHorizontal]: isHorizontal }),
1767
- children: [/* @__PURE__ */ jsx("input", {
1768
- ref: inputNode,
1769
- className: Tile_module_default.tileCheckbox,
1770
- disabled,
1771
- checked: !!checked,
1772
- value,
1773
- id: idUse,
1774
- name,
1775
- type: inputType,
1776
- onKeyDown: handleOnKeyDown,
1777
- onChange: handleChange,
1778
- onClick: handleClick,
1779
- "aria-disabled": disabled,
1780
- tabIndex: disabled ? -1 : 0
1781
- }), /* @__PURE__ */ jsxs("label", {
1782
- htmlFor: idUse,
1783
- className: Tile_module_default.tile,
1784
- children: [icon && /* @__PURE__ */ jsx("div", {
1785
- className: Tile_module_default.tileIcon,
1786
- children: /* @__PURE__ */ jsx(Icon, {
1787
- name: icon,
1788
- testId: icon
1789
- })
1790
- }), /* @__PURE__ */ jsxs("div", {
1791
- className: Tile_module_default.tileLabel,
1792
- children: [/* @__PURE__ */ jsx(Typography, {
1793
- el: "h4",
1794
- variant: "body-strongest",
1795
- className: Tile_module_default.tileTitle,
1796
- children: label
1797
- }), subTitle && /* @__PURE__ */ jsx(Typography, {
1798
- el: "p",
1799
- variant: "body",
1800
- children: subTitle
1801
- })]
1802
- })]
1803
- })]
1804
- });
1805
- }
1806
- var TileGroup_module_default = {
1807
- "tile-group": "_tile-group_6rtof_1",
1808
- tileGroup: "_tile-group_6rtof_1",
1809
- "tile-container": "_tile-container_6rtof_8",
1810
- tileContainer: "_tile-container_6rtof_8",
1811
- "tile-group-error": "_tile-group-error_6rtof_14",
1812
- tileGroupError: "_tile-group-error_6rtof_14",
1813
- "tile-group-error-icon": "_tile-group-error-icon_6rtof_27",
1814
- tileGroupErrorIcon: "_tile-group-error-icon_6rtof_27",
1815
- "tile-group-horizontal": "_tile-group-horizontal_6rtof_32",
1816
- tileGroupHorizontal: "_tile-group-horizontal_6rtof_32"
1817
- };
1818
- //#endregion
1819
- //#region src/components/ui/atoms/TileGroup/TileGroup.tsx
1820
- function TileGroup({ tiles, selected, allowMultiple = false, isHorizontal, name: nameProp, maxSelected = Infinity, errorMessage, onChange = noop, enableTracking = false, trackingFieldName }) {
1821
- const uniqName = useId("tile");
1822
- const name = nameProp ?? uniqName;
1823
- const finalName = allowMultiple ? `${name}[]` : name;
1824
- const inputType = allowMultiple ? "checkbox" : "radio";
1825
- const userEvents = useAnalyticsContext();
1826
- return /* @__PURE__ */ jsxs(Fragment, { children: [!!errorMessage?.message && /* @__PURE__ */ jsxs("div", {
1827
- "aria-live": "polite",
1828
- className: TileGroup_module_default.tileGroupError,
1829
- children: [/* @__PURE__ */ jsx("span", {
1830
- className: TileGroup_module_default.tileGroupErrorIcon,
1831
- children: /* @__PURE__ */ jsx(Icon, { name: "field-error" })
1832
- }), errorMessage.message]
1833
- }), /* @__PURE__ */ jsx("div", {
1834
- className: cx(TileGroup_module_default.tileGroup, { [TileGroup_module_default.tileGroupHorizontal]: isHorizontal }),
1835
- children: tiles.map((tile) => {
1836
- const { value, id, icon, subTitle, label, disabled } = tile;
1837
- const handleChange = (checked) => {
1838
- const newSelected = updateSelectedChoices(tile, checked, selected, allowMultiple);
1839
- if (enableTracking) userEvents.addFieldEvent("Interacted with form field", {
1840
- actionType: "input",
1841
- field: trackingFieldName ?? name,
1842
- returnValue: typeof newSelected === "string" ? newSelected : void 0
1843
- });
1844
- onChange(newSelected);
1845
- };
1846
- return /* @__PURE__ */ jsx(Tile, {
1847
- name: finalName,
1848
- className: TileGroup_module_default.tileContainer,
1849
- inputType,
1850
- isHorizontal,
1851
- checked: choiceIsSelected(tile, selected, allowMultiple),
1852
- label,
1853
- id,
1854
- subTitle,
1855
- icon,
1856
- disabled: !disabled && allowMultiple && selected.length >= maxSelected ? !choiceIsSelected(tile, selected, allowMultiple) : disabled,
1857
- value,
1858
- onChange: handleChange
1859
- }, id);
1860
- })
1861
- })] });
1862
- }
1863
- function choiceIsSelected({ value }, selected, allowMultiple) {
1864
- if (!allowMultiple) return value === selected;
1865
- return selected.includes(value);
1866
- }
1867
- function updateSelectedChoices({ value }, checked, selected, allowMultiple) {
1868
- if (!allowMultiple) return checked ? value : "";
1869
- if (Array.isArray(selected)) {
1870
- if (checked) return allowMultiple ? [...selected, value] : [value];
1871
- return selected.filter((selectedChoice) => selectedChoice !== value);
1872
- }
1873
- return [];
1874
- }
1875
- //#endregion
1876
- //#region src/components/Individual/forms/IdNowVerificationModal/isIdNowModalOpen.ts
1877
- var showIdNowModal = signal(false);
1878
- var idNowModalChildEntityId = signal();
1879
- var idNowPostSubmit = signal(false);
1880
- var shouldShowIdNowModal = computed(() => {
1881
- const idNowModalChildEntityIdValue = !!idNowModalChildEntityId.value;
1882
- return showIdNowModal.value && idNowModalChildEntityIdValue;
1883
- });
1884
- //#endregion
1885
- //#region src/components/Individual/helpers/bafinUtils.ts
1886
- /**
1887
- * Checks whether the legal entity has both required data points for IDnow verification:
1888
- * birth city (placeOfBirth) and nationality.
1889
- */
1890
- var hasRequiredDataForIdNow = (legalEntity) => Boolean(legalEntity.individual?.birthData?.placeOfBirth && legalEntity.individual?.nationality);
1891
- /**
1892
- * For an IDnow-qualified BAFIN signatory, returns an object describing which of the required
1893
- * data points (placeOfBirth, nationality) are still missing, or `{ missingSelfie: true }` when
1894
- * both are present but the selfie verification is still needed, or `null` when no action is needed.
1895
- *
1896
- * Returns `null` when any of the following conditions are true:
1897
- * - The entity is not a signatory, or the L_BAFIN scenario is not active
1898
- * - The `2_215` (live-selfie) remediation code is absent from problems
1899
- */
1900
- var getIdNowMissingDataPoints = (problems, legalEntity, scenarios, roles) => {
1901
- if (!roles.includes(DecisionMakerTypes.SIGNATORY) || !scenarios?.includes(Scenarios.L_BAFIN)) return null;
1902
- if (!problems) return null;
1903
- if (!problems.missingData?.some((item) => item.remediatingActions?.some((action) => action.code === "2_215"))) return null;
1904
- const missingPlaceOfBirth = !legalEntity.individual?.birthData?.placeOfBirth;
1905
- const missingNationality = !legalEntity.individual?.nationality;
1906
- if (!missingPlaceOfBirth && !missingNationality) return { missingSelfie: true };
1907
- return {
1908
- missingPlaceOfBirth,
1909
- missingNationality
1910
- };
1911
- };
1912
- /**
1913
- * For the BAFIN signatory flow, certain ID verification errors and remediation actions are not applicable.
1914
- * This utility function takes a problems object and returns a new, deeply cloned object with all
1915
- * ID verification-related issues removed.
1916
- *
1917
- * Specifically, it removes:
1918
- * - 'missingData' entries related to ID document upload ('1_301').
1919
- * - The '1_301' remediation action from `remediationActions`.
1920
- * - The entire `idVerificationMethod` object from `verificationErrors`.
1921
- * - Any nested sub-errors with code '1_301' from `basicDetails` and `additionalPersonalDetails`.
1922
- *
1923
- * @param problems - The original entity problems object.
1924
- * @returns A new `EntityProblems` object with BAFIN-specific modifications.
1925
- */
1926
- var removeIdVerificationProblemsForBafinSignatory = (problems, decisionMakerLe) => {
1927
- const newProblems = structuredClone(problems);
1928
- if (newProblems.missingData?.some((item) => item.remediatingActions?.some((action) => action.code === "1_301" || action.code === "2_215"))) {
1929
- if (hasRequiredDataForIdNow(decisionMakerLe)) setTimeout(() => {
1930
- idNowModalChildEntityId.value = decisionMakerLe;
1931
- showIdNowModal.value = true;
1932
- }, 100);
1933
- }
1934
- if (Array.isArray(newProblems.missingData)) newProblems.missingData = newProblems.missingData.filter((item) => !item.remediatingActions?.some((action) => action.code === "1_301" || action.code === "2_215"));
1935
- if (newProblems.remediationActions?.["1_301"]) delete newProblems.remediationActions["1_301"];
1936
- if (newProblems.remediationActions?.["2_215"]) delete newProblems.remediationActions["2_215"];
1937
- if (newProblems.verificationErrors?.idVerificationMethod) delete newProblems.verificationErrors.idVerificationMethod;
1938
- ["basicDetails", "additionalPersonalDetails"].forEach((formName) => {
1939
- const subErrors = newProblems.verificationErrors?.[formName]?.["1_30"]?.["1_3000"];
1940
- if (newProblems.verificationErrors?.[formName]?.["1_30"] && Array.isArray(subErrors)) newProblems.verificationErrors[formName]["1_30"]["1_3000"] = subErrors.filter((error) => error.code !== "1_301");
1941
- });
1942
- return newProblems;
1943
- };
1944
- /**
1945
- * Type guard to check if the data object is a LegalEntityAssociation.
1946
- */
1947
- var isLegalEntityAssociation = (data) => "legalEntityId" in data;
1948
- /**
1949
- * Checks if the current context matches the specific flow for a BAFIN signatory.
1950
- * This is true when the task is for a decision maker, their role is 'signatory',
1951
- * and the BAFIN scenario is active.
1952
- *
1953
- * @param params - The parameters for the check.
1954
- * @returns `true` if the conditions for the BAFIN signatory flow are met.
1955
- */
1956
- var isBafinSignatoryFlow = ({ taskType, data, scenarios }) => {
1957
- if (!data || !scenarios) return false;
1958
- const isSignatory = isLegalEntityAssociation(data) ? data.type === DecisionMakerTypes.SIGNATORY : data.basicDetails?.role?.includes(DecisionMakerTypes.SIGNATORY);
1959
- if (taskType === TaskTypes.DECISION_MAKER && isSignatory) return scenarios.includes(Scenarios.L_BAFIN);
1960
- return false;
1961
- };
1962
- //#endregion
1963
- export { TAX_ID_REQUIRED_COUNTRIES_ORGANIZATION as A, taxInformationDefaultFieldConfig as B, COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER as C, COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_SOLE_PROPS as D, COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_COMPANIES as E, mapApiScriptLocalizationToSchemaFields as F, toFullWidth as H, mapSchemaFieldsToApiScriptLocalization as I, exemptedFromTaxDefaultFieldConfig as L, mapJapaneseLegalNamesToLocalization as M, mapLocalizationToJapaneseLegalNames as N, COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4 as O, isEmpty as P, exemptedFromTaxDefaultFieldMetadata as R, COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT as S, COUNTRIES_WITH_POSSIBLE_REGISTRATION_EXEMPTIONS_FOR_SOLE_PROPS as T, isJapanLocalizationEnabled as U, taxInformationDefaultFieldMetadata as V, taxIdNumberOptions as _, idNowPostSubmit as a, COUNTRIES_THAT_DONT_REQUIRE_SOLE_PROP_REGISTRATION as b, TileGroup as c, removeTaxInfoForCountry as d, upsertTaxInfoForCountry as f, getValidCompanyTypesForTaxIdNumberType as g, getTaxIdNumberOptions as h, idNowModalChildEntityId as i, isUsingCompanySearch as j, REGISTRATION_NUMBER_EXEMPTION_RULES as k, TAX_INFORMATION_FIELD as l, getDefaultTaxIdNumberType as m, isBafinSignatoryFlow as n, shouldShowIdNowModal as o, TaxIdNumberTypeSelector as p, removeIdVerificationProblemsForBafinSignatory as r, showIdNowModal as s, getIdNowMissingDataPoints as t, TaxInformationField as u, COUNTRIES_REQUIRING_FINANCIAL_INFORMATION as v, COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER_SOLE_PROPS as w, COUNTRIES_THAT_DO_NOT_USE_TAX_ID_FOR_SOLE_PROP as x, COUNTRIES_THAT_DONT_REQUIRE_COMPANY_REGISTRATION as y, getTaxInformationPlaceholderText as z };