@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,975 +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] = "779b8f55-0b82-4ff0-b3f2-e6962d1c0ea5", e._sentryDebugIdIdentifier = "sentry-dbid-779b8f55-0b82-4ff0-b3f2-e6962d1c0ea5");
4
- } catch (e) {}
5
- import { n as addResourceBundles, r as useTranslation } from "./translation-BOm4lmPx.js";
6
- import { A as _rolldown_dynamic_import_helper_default, E as useAllowedCountries, j as useToggleContext, k as Header, pt as useAccountHolder, v as isPartOfUnincorporatedPartnership, x as Alert } from "./resolveEnvironment-BYEL10Nc.js";
7
- import { t as createLogger } from "./logger-Z8AeTE4x.js";
8
- import { t as Typography } from "./Typography-CAc_f5Iq.js";
9
- import { t as Button } from "./Button-DfRmINzF.js";
10
- import { t as LegalEntityTypes } from "./legal-entity-type-0MfCGzUf.js";
11
- import { t as getLegalEntityCountry } from "./getLegalEntityCountry-CNE5uei8.js";
12
- import { s as keysOf } from "./genUtils-Ce61IJs8.js";
13
- import { t as StackLayout } from "./StackLayout-IUdNMDgW.js";
14
- import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
15
- import { y as reverseMapping } from "./processCapabilities-DRD0Aq2i.js";
16
- import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
17
- import { f as hasSolePropInLegalEntity, s as getOwnEntityAssociations } from "./entityAssociationUtil-CLBR9osP.js";
18
- import { t as InputText } from "./InputText-CTpVF0Mu.js";
19
- import { _ as getPropsFromConfigurations, m as resolveFieldMetadata, t as createFormRules } from "./form-rules-zzbZ2bV6.js";
20
- import { t as ListItem } from "./ListItem-C35r8558.js";
21
- import { n as useAssociatedLegalEntity, t as getFormSlice } from "./getFormSlice-DzRO0UUx.js";
22
- import { t as Card } from "./Card-BCGLpdw7.js";
23
- import { r as useToastContext } from "./useId-oOIS1nsj.js";
24
- import { r as Field } from "./Select-ByVcS_J2.js";
25
- import { r as formatObject } from "./utils-DBIDcVUN.js";
26
- import { d as COUNTRIES_WITH_STATES_DATASET, m as useCreateLegalEntity, n as StateField, p as useUpdateLegalEntity, r as stateFieldMetadata, t as STATE_FIELD } from "./StateField-CsO_28Co.js";
27
- import { M as FormContextProvider, d as useFormContext, f as addValidityToForms, g as useMultiForm, k as createFormUtils, l as COUNTRY_FIELD, m as FormFlow, p as getRequiredForms, u as CountryField, y as useFormComposer } from "./RadioGroup-D8DRUJ2o.js";
28
- import { t as List } from "./List-ywoRPg-q.js";
29
- import { a as defaultFieldMetadata, i as defaultFieldConfigV4, o as defaultFieldMetadataV4, r as defaultFieldConfig, t as LEGAL_COMPANY_NAME_FIELD } from "./LegalCompanyNameField-D0jM5LDT.js";
30
- import { c as CountryOfGoverningLawField, i as isRegistrationExemptionAllowed, l as useLegalCompanyNameField, o as COUNTRY_OF_GOVERNING_LAW_POSSIBLE, s as COUNTRY_OF_GOVERNING_LAW_FIELD, t as CountryOfGoverningLawFieldValidation } from "./validate-CPTQceEQ.js";
31
- import { A as TAX_ID_REQUIRED_COUNTRIES_ORGANIZATION, B as taxInformationDefaultFieldConfig, C as COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER, D as COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_SOLE_PROPS, E as COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_COMPANIES, M as mapJapaneseLegalNamesToLocalization, N as mapLocalizationToJapaneseLegalNames, O as COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4, S as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, T as COUNTRIES_WITH_POSSIBLE_REGISTRATION_EXEMPTIONS_FOR_SOLE_PROPS, U as isJapanLocalizationEnabled, V as taxInformationDefaultFieldMetadata, b as COUNTRIES_THAT_DONT_REQUIRE_SOLE_PROP_REGISTRATION, c as TileGroup, j as isUsingCompanySearch, k as REGISTRATION_NUMBER_EXEMPTION_RULES, l as TAX_INFORMATION_FIELD, u as TaxInformationField, w as COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER_SOLE_PROPS, x as COUNTRIES_THAT_DO_NOT_USE_TAX_ID_FOR_SOLE_PROP, y as COUNTRIES_THAT_DONT_REQUIRE_COMPANY_REGISTRATION, z as getTaxInformationPlaceholderText } from "./bafinUtils-M2AASP_e.js";
32
- import { l as registrationNumberDefaultFieldConfig, u as registrationNumberDefaultFieldMetadata } from "./getDefaultRegistrationNumberType-CI1NVzJR.js";
33
- import { n as BusinessRegistrationNumberField, t as BUSINESS_REGISTRATION_NUMBER_FIELD } from "./BusinessRegistrationNumberField-qdC_srMn.js";
34
- import { r as SOLE_PROP_COUNTRIES, t as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./legalArrangementUtils-xvCxpgzJ.js";
35
- import { useCallback, useEffect, useMemo, useState } from "preact/compat";
36
- import { Fragment as Fragment$1, jsx, jsxs } from "preact/jsx-runtime";
37
- import { signal } from "@preact/signals";
38
- //#region src/components/GlobalEntry/globalEntryStore.ts
39
- var showGlobalEntryModal = signal(false);
40
- var EntitySetupField_module_default = {
41
- "entity-setup-option": "_entity-setup-option_1ykiv_1",
42
- entitySetupOption: "_entity-setup-option_1ykiv_1"
43
- };
44
- //#endregion
45
- //#region src/components/GlobalEntry/fields/EntitySetupField/EntitySetupField.tsx
46
- var ENTITY_SETUP_FIELD = ["entitySetup"];
47
- /**
48
- * Determines whether an organization exists at all, rather than what the legal entity is.
49
- * `partOfABusiness` does not imply an organization legal entity: an individual in an
50
- * Unincorporated Partnership or Trust picks it too.
51
- */
52
- var EntitySetupField = ({ data, valid, errors, handleChangeFor }) => {
53
- const { t: globalT } = useTranslation("globalEntry");
54
- const entitySetupOptions = [{
55
- value: "justMe",
56
- label: globalT(($) => $["itsJustMe"]),
57
- iconName: "user"
58
- }, {
59
- value: "partOfABusiness",
60
- label: globalT(($) => $["imPartOfABusinessOrOrganization"]),
61
- iconName: "company"
62
- }];
63
- return /* @__PURE__ */ jsx(Field, {
64
- el: "fieldset",
65
- name: "entitySetup",
66
- errorMessage: errors.entitySetup,
67
- isValid: valid?.entitySetup,
68
- label: globalT(($) => $["howIsYourBusinessSetup"]),
69
- children: () => /* @__PURE__ */ jsx(List, {
70
- dividers: false,
71
- padding: "large",
72
- children: entitySetupOptions.map((option) => /* @__PURE__ */ jsx("div", {
73
- className: EntitySetupField_module_default.entitySetupOption,
74
- children: /* @__PURE__ */ jsx(Card, {
75
- selected: data?.entitySetup === option.value,
76
- onClick: () => handleChangeFor("entitySetup")(option.value),
77
- children: /* @__PURE__ */ jsx(ListItem, {
78
- title: option.label,
79
- avatar: {
80
- iconName: option.iconName,
81
- circle: true
82
- }
83
- })
84
- })
85
- }, option.value))
86
- })
87
- });
88
- };
89
- //#endregion
90
- //#region src/components/GlobalEntry/forms/EntityInformation/EntityInformation.tsx
91
- var ENTITY_INFORMATION_FIELDS = [
92
- ...COUNTRY_FIELD,
93
- ...STATE_FIELD,
94
- ...ENTITY_SETUP_FIELD
95
- ];
96
- var EntityInformation = ({ id, country }) => {
97
- const { form } = useFormContext();
98
- const { t: commonT } = useTranslation("common");
99
- const { t: globalEntryT } = useTranslation("globalEntry");
100
- const allowedCountries = useAllowedCountries();
101
- const { data, errors, valid, requiredFields, optionalFields, trustedFields, fieldProblems, handleChange: handleChangeFor } = getFormSlice(form, "entityInformation");
102
- const formUtils = createFormUtils({
103
- requiredFields,
104
- optionalFields,
105
- trustedFields
106
- }, commonT);
107
- const showField = (fieldKeys) => fieldKeys.some((field) => formUtils.isRequiredField(field) || formUtils.isOptionalField(field));
108
- return /* @__PURE__ */ jsxs("form", {
109
- id,
110
- children: [
111
- /* @__PURE__ */ jsx(Header, {
112
- title: commonT(($) => $["tellUsAboutYourBusiness"]),
113
- description: globalEntryT(($) => $["toHelpYouGetSetUp"])
114
- }),
115
- /* @__PURE__ */ jsx(CountryField, {
116
- data: { country: data?.country },
117
- valid: { country: valid?.country },
118
- errors: { country: formUtils.getErrorMessage("country", errors, fieldProblems) },
119
- labels: { country: globalEntryT(($) => $["whereIsYourBusinessLocated"]) },
120
- readonly: false,
121
- allowedCountries,
122
- handleChangeFor
123
- }),
124
- showField(STATE_FIELD) && /* @__PURE__ */ jsx(StateField, {
125
- data: { stateOrProvince: data?.stateOrProvince },
126
- valid: { stateOrProvince: valid?.stateOrProvince },
127
- errors: { stateOrProvince: formUtils.getErrorMessage("stateOrProvince", errors, fieldProblems) },
128
- selectedCountry: country,
129
- readonly: false,
130
- handleChangeFor,
131
- labelOverride: commonT(($) => $["whereIsYourBusinessRegistered"])
132
- }),
133
- /* @__PURE__ */ jsx(EntitySetupField, {
134
- data: { entitySetup: data?.entitySetup },
135
- valid: { entitySetup: valid?.entitySetup },
136
- errors: { entitySetup: formUtils.getErrorMessage("entitySetup", errors, fieldProblems) },
137
- handleChangeFor
138
- })
139
- ]
140
- });
141
- };
142
- var PrimaryPartnerTypeField_module_default = {
143
- "primary-partner-type": "_primary-partner-type_1omkz_1",
144
- primaryPartnerType: "_primary-partner-type_1omkz_1"
145
- };
146
- //#endregion
147
- //#region src/components/GlobalEntry/fields/PrimaryPartnerTypeField/PrimaryPartnerTypeField.tsx
148
- var PRIMARY_PARTNER_TYPE_FIELD = ["primaryPartnerType"];
149
- var PrimaryPartnerTypeField = ({ data, valid, errors, handleChangeFor }) => {
150
- const { t: globalEntryT } = useTranslation("globalEntry");
151
- const partnerTypeOptions = [{
152
- value: "individual",
153
- label: globalEntryT(($) => $["anIndividual"]),
154
- iconName: "user"
155
- }, {
156
- value: "organization",
157
- label: globalEntryT(($) => $["aBusinessEntity"]),
158
- iconName: "company"
159
- }];
160
- return /* @__PURE__ */ jsx(Field, {
161
- el: "fieldset",
162
- name: "primaryPartnerType",
163
- errorMessage: errors.primaryPartnerType,
164
- isValid: valid?.primaryPartnerType,
165
- label: globalEntryT(($) => $["whatTypeOfEntityIsTheFirstPrimaryPartner"]),
166
- formatGuidance: globalEntryT(($) => $["wellStartByCollectingInformationAboutOnePartner"]),
167
- children: () => /* @__PURE__ */ jsx(List, {
168
- dividers: false,
169
- padding: "large",
170
- children: partnerTypeOptions.map((option) => /* @__PURE__ */ jsx("div", {
171
- className: PrimaryPartnerTypeField_module_default.primaryPartnerType,
172
- children: /* @__PURE__ */ jsx(Card, {
173
- selected: data?.primaryPartnerType === option.value,
174
- onClick: () => handleChangeFor("primaryPartnerType")(option.value),
175
- children: /* @__PURE__ */ jsx(ListItem, {
176
- title: option.label,
177
- avatar: {
178
- iconName: option.iconName,
179
- circle: true
180
- }
181
- })
182
- })
183
- }, option.value))
184
- })
185
- });
186
- };
187
- //#endregion
188
- //#region src/components/GlobalEntry/forms/PrimaryPartner/PrimaryPartner.tsx
189
- var PRIMARY_PARTNER_FIELDS = [...PRIMARY_PARTNER_TYPE_FIELD];
190
- var PrimaryPartner = ({ id }) => {
191
- const { form } = useFormContext();
192
- const { t: commonT } = useTranslation("common");
193
- const { t: globalEntryT } = useTranslation("globalEntry");
194
- const { data, errors, valid, requiredFields, optionalFields, trustedFields, fieldProblems, handleChange: handleChangeFor } = getFormSlice(form, "primaryPartner");
195
- const formUtils = createFormUtils({
196
- requiredFields,
197
- optionalFields,
198
- trustedFields
199
- }, commonT);
200
- return /* @__PURE__ */ jsxs("form", {
201
- id,
202
- children: [/* @__PURE__ */ jsx(Header, {
203
- title: commonT(($) => $["tellUsAboutYourBusiness"]),
204
- description: globalEntryT(($) => $["toHelpYouGetSetUp"])
205
- }), /* @__PURE__ */ jsx(PrimaryPartnerTypeField, {
206
- data: { primaryPartnerType: data?.primaryPartnerType },
207
- valid: { primaryPartnerType: valid?.primaryPartnerType },
208
- errors: { primaryPartnerType: formUtils.getErrorMessage("primaryPartnerType", errors, fieldProblems) },
209
- handleChangeFor
210
- })]
211
- });
212
- };
213
- //#endregion
214
- //#region src/components/GlobalEntry/fields/PaperworkQuestionnaire/PaperworkQuestionnaire.tsx
215
- var PAPERWORK_QUESTIONNAIRE_FIELD = ["filedPaperwork"];
216
- /**
217
- * The paperwork answer dictates whether the entity is:
218
- * A) a pure individual or a sole prop, or
219
- * B) a registered business or an unincorporated partnership.
220
- */
221
- function PaperworkQuestionnaire({ data, valid, handleChangeFor, errors, label }) {
222
- const { t } = useTranslation(["globalEntry", "common"]);
223
- return /* @__PURE__ */ jsx(Field, {
224
- el: "fieldset",
225
- name: "PaperworkQuestionnaire",
226
- label,
227
- isValid: valid.filedPaperwork,
228
- errorMessage: errors.filedPaperwork,
229
- children: () => /* @__PURE__ */ jsxs(StackLayout, { children: [/* @__PURE__ */ jsx(Button, {
230
- variant: "link",
231
- onClick: () => {},
232
- children: /* @__PURE__ */ jsx(Typography, { children: t(($) => $["whatDoesThisMean"], { ns: "common" }) })
233
- }), /* @__PURE__ */ jsx(TileGroup, {
234
- name: "filedPaperwork",
235
- selected: data.filedPaperwork ?? "",
236
- isHorizontal: true,
237
- onChange: (value) => handleChangeFor("filedPaperwork")(value),
238
- tiles: [{
239
- label: t(($) => $["yes"], { ns: "common" }),
240
- value: "yes"
241
- }, {
242
- label: t(($) => $["no"], { ns: "common" }),
243
- value: "no"
244
- }]
245
- })] })
246
- });
247
- }
248
- //#endregion
249
- //#region src/components/GlobalEntry/fields/UnincorporatedOrganizationTypeField/UnincorporatedOrganizationTypeField.tsx
250
- var UNINCORPORATED_ORGANIZATION_TYPE_FIELD = ["unincorporatedOrganizationType"];
251
- var UnincorporatedOrganizationTypeField = ({ data, valid, errors, handleChangeFor }) => {
252
- const { t } = useTranslation("globalEntry");
253
- const tiles = [{
254
- label: t(($) => $["unincorporatedPartnership"]),
255
- value: "unincorporatedPartnership",
256
- icon: "trust"
257
- }, {
258
- label: t(($) => $["unincorporatedAssociation"]),
259
- value: "unincorporatedAssociation",
260
- icon: "trust"
261
- }];
262
- return /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(Field, {
263
- el: "fieldset",
264
- name: "unincorporatedOrganizationType",
265
- label: t(($) => $["whichBestDescribesYourOrganization"]),
266
- errorMessage: errors.unincorporatedOrganizationType,
267
- isValid: valid?.unincorporatedOrganizationType,
268
- children: () => /* @__PURE__ */ jsxs(StackLayout, { children: [/* @__PURE__ */ jsx(Button, {
269
- variant: "link",
270
- onClick: () => {},
271
- children: /* @__PURE__ */ jsx(Typography, { children: t(($) => $["whatDoesThisMean"], { ns: "common" }) })
272
- }), /* @__PURE__ */ jsx(TileGroup, {
273
- name: "unincorporatedOrganizationType",
274
- selected: data?.unincorporatedOrganizationType ?? "",
275
- onChange: (value) => handleChangeFor("unincorporatedOrganizationType")(value),
276
- tiles,
277
- isHorizontal: true
278
- })] })
279
- }), data?.unincorporatedOrganizationType === "unincorporatedAssociation" && /* @__PURE__ */ jsx(Alert, {
280
- variant: "error",
281
- title: t(($) => $["unincorporatedAssociationsArentSupported"]),
282
- children: /* @__PURE__ */ jsx(Typography, {
283
- variant: "body",
284
- children: t(($) => $["contactYourPlatformsSupportForHelp"])
285
- })
286
- })] });
287
- };
288
- //#endregion
289
- //#region src/components/GlobalEntry/globalEntryKeyMapping.ts
290
- /**
291
- * Schema-keyed mapping, for reading a legal entity into the form schema.
292
- */
293
- var globalEntryKeyMappingForOrgs = {
294
- "entityInformation.country": "organization.registeredAddress.country",
295
- "entityInformation.stateOrProvince": "organization.registeredAddress.stateOrProvince",
296
- "registrationInformation.legalCompanyName": "organization.legalName",
297
- "registrationInformation.registrationNumber": "organization.registrationNumber",
298
- "registrationInformation.exemptedFromRegistrationNumber": "organization.registrationNumberAbsent",
299
- "registrationInformation.taxInformation": "organization.taxInformation",
300
- "registrationInformation.countryOfGoverningLaw": "organization.countryOfGoverningLaw"
301
- };
302
- var globalEntryKeyMappingForIndividuals = {
303
- "entityInformation.country": "individual.residentialAddress.country",
304
- "entityInformation.stateOrProvince": "individual.residentialAddress.stateOrProvince"
305
- };
306
- var globalEntryKeyMappingForSoleProps = {
307
- "entityInformation.country": "soleProprietorship.registeredAddress.country",
308
- "entityInformation.stateOrProvince": "soleProprietorship.registeredAddress.stateOrProvince",
309
- "registrationInformation.legalCompanyName": "soleProprietorship.name",
310
- "registrationInformation.registrationNumber": "soleProprietorship.registrationNumber",
311
- "registrationInformation.taxInformation": "soleProprietorship.taxInformation",
312
- "registrationInformation.exemptedFromTax": "soleProprietorship.taxAbsent",
313
- "registrationInformation.countryOfGoverningLaw": "soleProprietorship.countryOfGoverningLaw"
314
- };
315
- /** Api-keyed mapping, for building the legal entity request from the form schema */
316
- var globalEntryApiKeyMappingForOrgs = reverseMapping(globalEntryKeyMappingForOrgs);
317
- /** Api-keyed mapping, for building the sole proprietorship request from the form schema */
318
- var globalEntryApiKeyMappingForSoleProps = reverseMapping(globalEntryKeyMappingForSoleProps);
319
- /** Api-keyed mapping, for building the legal entity request from the form schema */
320
- var globalEntryApiKeyMappingForIndividuals = reverseMapping(globalEntryKeyMappingForIndividuals);
321
- //#endregion
322
- //#region src/components/GlobalEntry/utils.ts
323
- var getGlobalEntryCompanyType = (legalEntity, data) => {
324
- if (data.entityInformation.entitySetup === "partOfABusiness") {
325
- if (legalEntity?.organization?.type) return legalEntity?.organization?.type || void 0;
326
- }
327
- if (data.entityInformation.entitySetup === "justMe") {
328
- const hasSoleProprietorshipAssociation = legalEntity && hasSolePropInLegalEntity(legalEntity);
329
- return data.registrationInformation?.filedPaperwork === "yes" || hasSoleProprietorshipAssociation ? "soleProprietorship" : LegalEntityTypes.INDIVIDUAL;
330
- }
331
- };
332
- var determineEntitySetup = (legalEntity) => {
333
- if (isPartOfUnincorporatedPartnership(legalEntity) && legalEntity.type === "individual") return "partOfABusiness";
334
- if (legalEntity.type === "individual") return "justMe";
335
- return "partOfABusiness";
336
- };
337
- /**
338
- * @param legalEntity the root entity
339
- * @param associatedSoleProp the proprietorship associated to the root, when there is one. It holds
340
- * the registration details the root does not, so editing an existing proprietorship prefills.
341
- */
342
- var mapLegalEntityToGlobalEntrySchema = (legalEntity, associatedSoleProp) => {
343
- const soleProprietorship = associatedSoleProp?.soleProprietorship ?? (legalEntity.type === LegalEntityTypes.SOLE_PROPRIETORSHIP ? legalEntity.soleProprietorship : void 0);
344
- const isSoleProprietorship = !!soleProprietorship;
345
- const taxInformation = isSoleProprietorship ? soleProprietorship.taxInformation : legalEntity.organization?.taxInformation;
346
- const registrationNumber = isSoleProprietorship ? soleProprietorship.registrationNumber : legalEntity.organization?.registrationNumber;
347
- const currentCountryTaxInformation = taxInformation?.find((taxInformationItem) => taxInformationItem.country === getLegalEntityCountry(legalEntity));
348
- const isUen = currentCountryTaxInformation?.type === "UEN";
349
- return {
350
- entityInformation: {
351
- entitySetup: determineEntitySetup(legalEntity),
352
- country: getLegalEntityCountry(legalEntity)
353
- },
354
- registrationInformation: {
355
- ...mapLocalizationToJapaneseLegalNames(legalEntity.organization?.localization),
356
- filedPaperwork: taxInformation ? "yes" : isPartOfUnincorporatedPartnership(legalEntity) ? "no" : void 0,
357
- unincorporatedOrganizationType: isPartOfUnincorporatedPartnership(legalEntity) ? "unincorporatedPartnership" : void 0,
358
- legalCompanyName: isSoleProprietorship ? soleProprietorship.name : legalEntity.organization?.legalName,
359
- registrationNumber: isUen ? currentCountryTaxInformation?.number : registrationNumber,
360
- exemptedFromRegistrationNumber: isSoleProprietorship ? soleProprietorship.taxAbsent : legalEntity.organization?.registrationNumberAbsent,
361
- countryOfGoverningLaw: isSoleProprietorship ? soleProprietorship.countryOfGoverningLaw : legalEntity.organization?.countryOfGoverningLaw,
362
- taxInformation,
363
- isUen
364
- },
365
- primaryPartner: { primaryPartnerType: isPartOfUnincorporatedPartnership(legalEntity) ? legalEntity.type === "individual" ? "individual" : "organization" : void 0 }
366
- };
367
- };
368
- var isPaperworkQuestionAsked = (data) => {
369
- const { country, entitySetup } = data.entityInformation ?? {};
370
- if (!country) return false;
371
- if (entitySetup === "partOfABusiness") return ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES.includes(country);
372
- return entitySetup === "justMe" && SOLE_PROP_COUNTRIES.includes(country);
373
- };
374
- var getFiledPaperwork = (data) => {
375
- if (isPaperworkQuestionAsked(data)) return data.registrationInformation?.filedPaperwork ?? null;
376
- return data.entityInformation?.entitySetup === "partOfABusiness" ? "yes" : "no";
377
- };
378
- var isSoleProprietorship = (data) => data.entityInformation?.entitySetup === "justMe" && getFiledPaperwork(data) === "yes";
379
- var isUnincorporatedPartnership = (data) => data.entityInformation?.entitySetup === "partOfABusiness" && getFiledPaperwork(data) === "no" && data.registrationInformation?.unincorporatedOrganizationType === "unincorporatedPartnership";
380
- /**
381
- * If switching to a non-SoleProp or a non-UnincorporatedPartnership, the associations
382
- * should be dropped.
383
- */
384
- var shouldClearEntityAssociations = (data, legalEntity) => getOwnEntityAssociations(legalEntity).length > 0 && !isSoleProprietorship(data) && !isUnincorporatedPartnership(data);
385
- /**
386
- * `justMe` is always a natural person. Being part of a business only makes the entity an
387
- * `organization` when the primary partner is not an individual, because an individual partner in an
388
- * unincorporated partnership stays an individual legal entity.
389
- */
390
- var determineLegalEntityType = (data) => data.entityInformation?.entitySetup === "partOfABusiness" && data.primaryPartner?.primaryPartnerType !== "individual" ? LegalEntityTypes.ORGANIZATION : LegalEntityTypes.INDIVIDUAL;
391
- var determineEntityAssociations = (data, legalEntity, newSoleProp) => {
392
- /** Sole props are the only association we create and associate in Global Entry */
393
- if (newSoleProp) return [{
394
- type: LegalEntityTypes.SOLE_PROPRIETORSHIP,
395
- legalEntityId: newSoleProp.id
396
- }];
397
- return shouldClearEntityAssociations(data, legalEntity) ? [] : void 0;
398
- };
399
- var mapGlobalEntrySchemaToLegalEntity = (data, legalEntity, newSoleProp) => {
400
- const isOrg = determineLegalEntityType(data) === LegalEntityTypes.ORGANIZATION;
401
- const mapping = isOrg ? globalEntryApiKeyMappingForOrgs : globalEntryApiKeyMappingForIndividuals;
402
- const entityAssociations = determineEntityAssociations(data, legalEntity, newSoleProp);
403
- const entity = {
404
- ...formatObject(data, mapping),
405
- id: legalEntity.id,
406
- type: determineLegalEntityType(data),
407
- ...entityAssociations && { entityAssociations }
408
- };
409
- /** Only an organization holds these, the api has nowhere to put them on the other entity types */
410
- const localization = isOrg ? mapJapaneseLegalNamesToLocalization(data.registrationInformation ?? {}) : void 0;
411
- if (entity.organization && localization?.length) entity.organization.localization = localization;
412
- return entity;
413
- };
414
- var mapGlobalEntrySchemaToSoleProp = (data) => {
415
- const { soleProprietorship } = formatObject(data, globalEntryApiKeyMappingForSoleProps);
416
- return {
417
- type: LegalEntityTypes.SOLE_PROPRIETORSHIP,
418
- soleProprietorship: {
419
- ...soleProprietorship,
420
- /**
421
- * A proprietorship always has a governing law, but the field is only put to the user in the
422
- * countries that can differ from where they registered, so the rest fall back to that.
423
- */
424
- countryOfGoverningLaw: data.registrationInformation?.countryOfGoverningLaw ?? data.entityInformation?.country
425
- }
426
- };
427
- };
428
- /**
429
- * The account holder is derived from the form data, not sent to the API and is kept client-side.
430
- */
431
- var determineAccountHolder = (data) => {
432
- const entitySetup = data.entityInformation?.entitySetup;
433
- /** Derived, because the question is not put to the user in every country */
434
- const filedPaperwork = getFiledPaperwork(data);
435
- if (entitySetup === "justMe") return filedPaperwork === "yes" ? "mySoleProprietorName" : "myName";
436
- if (entitySetup === "partOfABusiness") {
437
- if (isUnincorporatedPartnership(data)) return "anUnincorporatedPartnership";
438
- if (filedPaperwork === "yes") return "theCompanyIWorkFor";
439
- }
440
- };
441
- var submitGlobalEntry = async ({ legalEntity, associatedSoleProp, data, updateLegalEntity, createLegalEntity }) => {
442
- let newSoleProp;
443
- if (isSoleProprietorship(data)) {
444
- const mappedSolePropData = mapGlobalEntrySchemaToSoleProp(data);
445
- if (associatedSoleProp?.id) {
446
- const { type: _type, ...soleProprietorshipDetails } = mappedSolePropData;
447
- await updateLegalEntity({
448
- ...soleProprietorshipDetails,
449
- id: associatedSoleProp.id
450
- });
451
- } else
452
- /**
453
- * Created first so the entity can be associated to it below, which keeps this to a single
454
- * write against the entity itself.
455
- */
456
- newSoleProp = await createLegalEntity(mappedSolePropData);
457
- }
458
- const { type: targetType, ...legalEntityData } = mapGlobalEntrySchemaToLegalEntity(data, legalEntity, newSoleProp ? newSoleProp : void 0);
459
- /**
460
- * LEM rejects a change of type in the same request as the data
461
- */
462
- if (targetType !== legalEntity.type) await updateLegalEntity({
463
- id: legalEntity.id,
464
- type: targetType
465
- });
466
- await updateLegalEntity(legalEntityData);
467
- return determineAccountHolder(data);
468
- };
469
- //#endregion
470
- //#region src/components/GlobalEntry/forms/RegistrationInformation/RegistrationInformation.tsx
471
- var REGISTRATION_INFORMATION_FIELDS = [
472
- ...PAPERWORK_QUESTIONNAIRE_FIELD,
473
- ...UNINCORPORATED_ORGANIZATION_TYPE_FIELD,
474
- ...LEGAL_COMPANY_NAME_FIELD,
475
- "jaHaniLegalCompanyName",
476
- "jaKanaLegalCompanyName",
477
- ...COUNTRY_OF_GOVERNING_LAW_FIELD,
478
- ...BUSINESS_REGISTRATION_NUMBER_FIELD,
479
- ...TAX_INFORMATION_FIELD
480
- ];
481
- var RegistrationInformation = ({ id, shouldValidate, legalEntity, country }) => {
482
- const { form } = useFormContext();
483
- const { t: commonT } = useTranslation("common");
484
- const { t: globalEntryT } = useTranslation("globalEntry");
485
- const { t: businessT } = useTranslation("business");
486
- const { defaultData } = form;
487
- const { data, errors, valid, requiredFields, optionalFields, trustedFields, fieldProblems, handleChange: handleChangeFor } = getFormSlice(form, "registrationInformation");
488
- const companyType = getGlobalEntryCompanyType(legalEntity, form.data);
489
- const registrationCompanyType = companyType === "individual" ? void 0 : companyType;
490
- const formUtils = createFormUtils({
491
- requiredFields,
492
- optionalFields,
493
- trustedFields
494
- }, commonT);
495
- const legalCompanyNameFields = useLegalCompanyNameField({
496
- data: data ?? {},
497
- valid: valid ?? {},
498
- errors: errors ?? {},
499
- fieldProblems: fieldProblems ?? {},
500
- country,
501
- formUtils,
502
- handleChange: handleChangeFor,
503
- t: businessT
504
- });
505
- const showField = (fieldKeys) => fieldKeys.some((field) => formUtils.isRequiredField(field) || formUtils.isOptionalField(field));
506
- return /* @__PURE__ */ jsxs("form", {
507
- id,
508
- children: [
509
- /* @__PURE__ */ jsx(Header, {
510
- title: commonT(($) => $["tellUsAboutYourBusiness"]),
511
- description: globalEntryT(($) => $["toHelpYouGetSetUp"])
512
- }),
513
- showField(PAPERWORK_QUESTIONNAIRE_FIELD) && /* @__PURE__ */ jsx(PaperworkQuestionnaire, {
514
- data: { filedPaperwork: data.filedPaperwork },
515
- valid: { filedPaperwork: valid.filedPaperwork },
516
- errors: { filedPaperwork: formUtils.getErrorMessage("filedPaperwork", errors, fieldProblems) },
517
- label: form.data.entityInformation.entitySetup === "partOfABusiness" ? globalEntryT(($) => $["hasPaperworkBeenFiled"]) : globalEntryT(($) => $["areYourBusinessActivitiesRegisteredWithAGovernmentAuthority"]),
518
- handleChangeFor
519
- }),
520
- showField(COUNTRY_OF_GOVERNING_LAW_FIELD) && /* @__PURE__ */ jsx(CountryOfGoverningLawField, {
521
- data: { countryOfGoverningLaw: data.countryOfGoverningLaw },
522
- valid: { countryOfGoverningLaw: valid.countryOfGoverningLaw },
523
- errors: { countryOfGoverningLaw: formUtils.getErrorMessage("countryOfGoverningLaw", errors, fieldProblems) },
524
- country,
525
- handleChangeFor
526
- }),
527
- showField(UNINCORPORATED_ORGANIZATION_TYPE_FIELD) && /* @__PURE__ */ jsx(UnincorporatedOrganizationTypeField, {
528
- data: { unincorporatedOrganizationType: data.unincorporatedOrganizationType },
529
- valid: { unincorporatedOrganizationType: valid.unincorporatedOrganizationType },
530
- errors: { unincorporatedOrganizationType: formUtils.getErrorMessage("unincorporatedOrganizationType", errors, fieldProblems) },
531
- handleChangeFor
532
- }),
533
- showField(LEGAL_COMPANY_NAME_FIELD) && legalCompanyNameFields.filter(Boolean).map((field) => /* @__PURE__ */ jsx(Field, {
534
- name: field?.name ?? "",
535
- label: field?.label,
536
- formatGuidance: field?.guidance,
537
- errorMessage: field?.errorMessage,
538
- isValid: Boolean(field?.isValid),
539
- children: (childProps) => /* @__PURE__ */ jsx(InputText, {
540
- ...childProps,
541
- "aria-required": true,
542
- "aria-invalid": !field?.isValid,
543
- name: field?.name,
544
- value: field?.value,
545
- readonly: field?.readonly,
546
- onInput: field ? field.onInput : () => {},
547
- transformInput: field?.transformInput,
548
- transformMode: field?.transformMode,
549
- onBlur: field?.onBlur,
550
- onKeyDown: field?.onKeyDown
551
- })
552
- }, field?.name)),
553
- showField(TAX_INFORMATION_FIELD) && /* @__PURE__ */ jsx(TaxInformationField, {
554
- data: {
555
- taxInformation: data.taxInformation,
556
- exemptedFromTax: data.exemptedFromTax,
557
- isUen: data.isUen
558
- },
559
- valid: {
560
- taxInformation: valid.taxInformation,
561
- exemptedFromTax: valid.exemptedFromTax,
562
- isUen: valid.isUen
563
- },
564
- errors: formUtils.getFieldErrors(errors, fieldProblems, TAX_INFORMATION_FIELD),
565
- placeholder: getTaxInformationPlaceholderText({
566
- country,
567
- companyType,
568
- taxIdNumberType: data?.taxInformation?.find((tax) => tax.country === country)?.type
569
- }),
570
- shouldValidate,
571
- readonly: formUtils.isReadOnly("taxInformation"),
572
- handleChangeFor,
573
- canExempt: showField(["exemptedFromTax"]),
574
- registrationNumber: data.registrationNumber,
575
- country,
576
- entityType: companyType,
577
- defaultData: defaultData?.registrationInformation.taxInformation
578
- }),
579
- showField(BUSINESS_REGISTRATION_NUMBER_FIELD) && /* @__PURE__ */ jsx(BusinessRegistrationNumberField, {
580
- data: {
581
- registrationNumber: data.registrationNumber,
582
- registrationNumberType: data.registrationNumberType,
583
- exemptedFromRegistrationNumber: data.exemptedFromRegistrationNumber
584
- },
585
- valid: {
586
- registrationNumber: valid.registrationNumber,
587
- registrationNumberType: valid.registrationNumberType,
588
- exemptedFromRegistrationNumber: valid.exemptedFromRegistrationNumber
589
- },
590
- errors: formUtils.getFieldErrors(errors, fieldProblems, BUSINESS_REGISTRATION_NUMBER_FIELD),
591
- shouldValidate,
592
- readonly: formUtils.isReadOnly("registrationNumber"),
593
- optional: formUtils.isOptionalField("registrationNumber"),
594
- handleChangeFor,
595
- country,
596
- state: form.data.entityInformation.stateOrProvince,
597
- canExempt: showField(["exemptedFromRegistrationNumber"]),
598
- companyType: registrationCompanyType
599
- })
600
- ]
601
- });
602
- };
603
- //#endregion
604
- //#region src/components/GlobalEntry/constants.ts
605
- var globalEntryForms = {
606
- entityInformation: {
607
- formId: "entityInformation",
608
- formName: "entityInformationFormName",
609
- fields: ENTITY_INFORMATION_FIELDS
610
- },
611
- registrationInformation: {
612
- formId: "registrationInformation",
613
- formName: "registrationInformationFormName",
614
- fields: REGISTRATION_INFORMATION_FIELDS
615
- },
616
- primaryPartner: {
617
- formId: "primaryPartner",
618
- formName: "primaryPartnerFormName",
619
- fields: PRIMARY_PARTNER_FIELDS
620
- }
621
- };
622
- //#endregion
623
- //#region src/components/GlobalEntry/rules.ts
624
- var globalEntryFieldRuleConfigurations = {
625
- entitySetup: { rule: "entitySetupRequired" },
626
- primaryPartnerType: { rule: "primaryPartnerTypeRequired" },
627
- country: { rule: "countryRequired" },
628
- stateOrProvince: { rule: "requireStateOrProvinceForCompanySearch" },
629
- countryOfGoverningLaw: { rule: "countryOfGoverningLawRequired" },
630
- filedPaperwork: { rule: "filedPaperworkRequired" },
631
- unincorporatedOrganizationType: { rule: "unincorporatedOrganizationTypeRequired" },
632
- legalCompanyName: { rule: "legalCompanyNameRequired" },
633
- jaHaniLegalCompanyName: { rule: "jaHaniLegalCompanyName" },
634
- jaKanaLegalCompanyName: { rule: "jaKanaLegalCompanyName" },
635
- registrationNumber: { rule: "countryRequiresRegistrationNumber" },
636
- registrationNumberType: { rule: "registrationNumberType" },
637
- exemptedFromRegistrationNumber: { rule: "companyRegistrationNumberExemptionAllowed" },
638
- taxInformation: { rule: "taxInformationRequired" },
639
- exemptedFromTax: { rule: "countryHasTaxExemptions" }
640
- };
641
- var globalEntryCustomRules = ({ accountHolder, data, isFeatureEnabled = () => false, country, taskType, rootLegalEntity }) => {
642
- const filedPaperwork = getFiledPaperwork(data);
643
- const hasFiledPaperwork = filedPaperwork === "yes";
644
- const hasAnsweredPaperworkQuestion = !!filedPaperwork;
645
- const isPartOfABusiness = data.entityInformation?.entitySetup === "partOfABusiness";
646
- const isSoleProp = isSoleProprietorship(data);
647
- const isExemptFromRegistrationNumber = Boolean(data.registrationInformation?.exemptedFromRegistrationNumber);
648
- const existingRegistrationNumber = rootLegalEntity?.type === "soleProprietorship" ? rootLegalEntity.soleProprietorship?.registrationNumber : rootLegalEntity?.organization?.registrationNumber;
649
- const isUnincorporatedOrganization = isPartOfABusiness && filedPaperwork === "no";
650
- return createFormRules({
651
- entitySetupRequired: () => "REQUIRED",
652
- countryRequired: () => "REQUIRED",
653
- requireStateOrProvinceForCompanySearch: () => {
654
- if (isUsingCompanySearch(country, taskType) && COUNTRIES_WITH_STATES_DATASET.includes(country)) return "REQUIRED";
655
- },
656
- countryOfGoverningLawRequired: () => {
657
- if (isFeatureEnabled("EnableCountryOfGoverningLawForUKCompanies") && COUNTRY_OF_GOVERNING_LAW_POSSIBLE.includes(country) && (isPartOfABusiness || isSoleProp) && hasAnsweredPaperworkQuestion) return "REQUIRED";
658
- },
659
- filedPaperworkRequired: () => isPaperworkQuestionAsked(data) ? "REQUIRED" : void 0,
660
- unincorporatedOrganizationTypeRequired: () => isUnincorporatedOrganization ? "REQUIRED" : void 0,
661
- legalCompanyNameRequired: () => hasFiledPaperwork ? "REQUIRED" : void 0,
662
- jaHaniLegalCompanyName: () => {
663
- if (hasFiledPaperwork && isJapanLocalizationEnabled(isFeatureEnabled, country)) return "REQUIRED";
664
- },
665
- jaKanaLegalCompanyName: () => {
666
- if (hasFiledPaperwork && isJapanLocalizationEnabled(isFeatureEnabled, country)) return "REQUIRED";
667
- },
668
- countryRequiresRegistrationNumber: () => {
669
- if (!hasFiledPaperwork) return;
670
- if (isSoleProp) {
671
- if (COUNTRIES_THAT_DONT_REQUIRE_SOLE_PROP_REGISTRATION.includes(country)) return;
672
- if (COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER_SOLE_PROPS.includes(country)) return "OPTIONAL";
673
- return isExemptFromRegistrationNumber ? "OPTIONAL" : "REQUIRED";
674
- }
675
- if (isPartOfABusiness) {
676
- if (COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER.includes(country)) return "OPTIONAL";
677
- if (country === CountryCodes.HongKong) {
678
- if (!existingRegistrationNumber) return;
679
- return isExemptFromRegistrationNumber ? "OPTIONAL" : "REQUIRED";
680
- }
681
- if (!COUNTRIES_THAT_DONT_REQUIRE_COMPANY_REGISTRATION.includes(country)) return isExemptFromRegistrationNumber ? void 0 : "REQUIRED";
682
- }
683
- },
684
- registrationNumberType: () => {
685
- if (!hasFiledPaperwork) return;
686
- if (isSoleProp) return COUNTRIES_THAT_DONT_REQUIRE_SOLE_PROP_REGISTRATION.includes(country) ? void 0 : "OPTIONAL";
687
- if (isPartOfABusiness) {
688
- if (COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER.includes(country)) return "OPTIONAL";
689
- if (COUNTRIES_THAT_DONT_REQUIRE_COMPANY_REGISTRATION.includes(country)) return;
690
- return "OPTIONAL";
691
- }
692
- },
693
- companyRegistrationNumberExemptionAllowed: () => {
694
- if (!hasFiledPaperwork) return;
695
- if (isSoleProp) {
696
- if (!COUNTRIES_WITH_POSSIBLE_REGISTRATION_EXEMPTIONS_FOR_SOLE_PROPS.includes(country)) return;
697
- return isExemptFromRegistrationNumber ? "REQUIRED" : "OPTIONAL";
698
- }
699
- if (isPartOfABusiness) {
700
- const companyType = getGlobalEntryCompanyType(rootLegalEntity, data);
701
- if (!isRegistrationExemptionAllowed(country)) return;
702
- const allowedTypes = REGISTRATION_NUMBER_EXEMPTION_RULES[country];
703
- if (allowedTypes.length > 0 && !allowedTypes.includes(companyType)) return;
704
- /**
705
- * Country-specific guard checks before applying the shared exemption rule result.
706
- *
707
- * - HK first enforces the legacy registration-number presence guard for existing entities.
708
- * - AU/NZ then enforce the absent-state V4 feature flag gate.
709
- */
710
- switch (country) {
711
- case CountryCodes.HongKong:
712
- if (!existingRegistrationNumber) return;
713
- return isExemptFromRegistrationNumber ? "REQUIRED" : "OPTIONAL";
714
- case CountryCodes.Australia:
715
- case CountryCodes.NewZealand:
716
- if (!isFeatureEnabled("EnableRegistrationAndTaxAbsentStatesV4")) return;
717
- return isExemptFromRegistrationNumber ? "REQUIRED" : "OPTIONAL";
718
- default: return isExemptFromRegistrationNumber ? "REQUIRED" : "OPTIONAL";
719
- }
720
- }
721
- },
722
- taxInformationRequired: () => {
723
- const requiredUnlessExempt = Boolean(data.registrationInformation?.exemptedFromTax) ? "OPTIONAL" : "REQUIRED";
724
- const usesTaxIdInsteadOfVat = COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT.includes(country);
725
- if (!hasFiledPaperwork) return;
726
- if (isPartOfABusiness) {
727
- if (rootLegalEntity?.type === "organization" && keysOf(rootLegalEntity.capabilities ?? {}).includes("issueBankAccount")) {
728
- if (TAX_ID_REQUIRED_COUNTRIES_ORGANIZATION.includes(country)) return requiredUnlessExempt;
729
- if (country === CountryCodes.Italy && data.registrationInformation?.registrationNumberType === "CCIAA") return requiredUnlessExempt;
730
- }
731
- if (usesTaxIdInsteadOfVat) return requiredUnlessExempt;
732
- }
733
- if (isSoleProp) {
734
- if (COUNTRIES_THAT_DO_NOT_USE_TAX_ID_FOR_SOLE_PROP.includes(country)) return;
735
- if (usesTaxIdInsteadOfVat) return requiredUnlessExempt;
736
- }
737
- },
738
- countryHasTaxExemptions: () => {
739
- if (!hasFiledPaperwork) return;
740
- const isExemptFromTax = Boolean(data.registrationInformation?.exemptedFromTax);
741
- if (isSoleProp) {
742
- if (!COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_SOLE_PROPS.includes(country)) return;
743
- return isExemptFromTax ? "REQUIRED" : "OPTIONAL";
744
- }
745
- if (isFeatureEnabled("EnableRegistrationAndTaxAbsentStatesV4") && COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4.includes(country) && accountHolder === "aTrust") return isExemptFromTax ? "REQUIRED" : "OPTIONAL";
746
- if (COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_COMPANIES.includes(country)) return isExemptFromTax ? "REQUIRED" : "OPTIONAL";
747
- },
748
- primaryPartnerTypeRequired: () => isUnincorporatedOrganization && data.registrationInformation.unincorporatedOrganizationType === "unincorporatedPartnership" ? "REQUIRED" : void 0
749
- });
750
- };
751
- //#endregion
752
- //#region src/components/GlobalEntry/validate.ts
753
- var globalEntryValidationRules = ({ data, legalEntity, isFeatureEnabled = () => false }) => {
754
- const country = data?.entityInformation?.country ?? getLegalEntityCountry(legalEntity);
755
- const countryOfGoverningLawValidators = CountryOfGoverningLawFieldValidation().countryOfGoverningLaw;
756
- const useStrictNameValidation = isFeatureEnabled("StrictNameAndAddressValidationV4");
757
- const legalCompanyNameValidators = resolveFieldMetadata(useStrictNameValidation ? defaultFieldConfigV4[country] : defaultFieldConfig[country], {}, useStrictNameValidation ? defaultFieldMetadataV4 : defaultFieldMetadata).validators;
758
- const stateValidators = stateFieldMetadata.validators;
759
- const taxIdNumberType = data?.registrationInformation?.taxInformation?.find((taxInformation) => taxInformation.country === country)?.type;
760
- const companyType = data ? getGlobalEntryCompanyType(legalEntity, data) : void 0;
761
- const taxInformationValidators = resolveFieldMetadata(taxInformationDefaultFieldConfig[country], {
762
- taxIdNumberType,
763
- companyType
764
- }, taxInformationDefaultFieldMetadata).validators;
765
- const registrationNumberValidators = resolveFieldMetadata(registrationNumberDefaultFieldConfig[country], {
766
- registrationNumberType: data?.registrationInformation?.registrationNumberType,
767
- state: data?.entityInformation?.stateOrProvince
768
- }, registrationNumberDefaultFieldMetadata).validators;
769
- return {
770
- entityInformation: { stateOrProvince: stateValidators },
771
- primaryPartner: { primaryPartnerType: {
772
- validate: (value) => !!value,
773
- modes: ["blur", "input"]
774
- } },
775
- registrationInformation: {
776
- countryOfGoverningLaw: countryOfGoverningLawValidators,
777
- legalCompanyName: legalCompanyNameValidators,
778
- registrationNumber: registrationNumberValidators,
779
- taxInformation: taxInformationValidators,
780
- unincorporatedOrganizationType: {
781
- validate: (value) => !!value && value !== "unincorporatedAssociation",
782
- modes: ["blur", "input"]
783
- }
784
- }
785
- };
786
- };
787
- //#endregion
788
- //#region src/components/GlobalEntry/tasks/GlobalEntry.tsx
789
- var GlobalEntry = ({ activeForm, legalEntity, shouldValidate, country }) => {
790
- switch (activeForm.formId) {
791
- case globalEntryForms.entityInformation.formId: return /* @__PURE__ */ jsx(EntityInformation, {
792
- id: activeForm.formId,
793
- country
794
- });
795
- case globalEntryForms.registrationInformation.formId: return /* @__PURE__ */ jsx(RegistrationInformation, {
796
- id: activeForm.formId,
797
- legalEntity,
798
- shouldValidate,
799
- country
800
- });
801
- case globalEntryForms.primaryPartner.formId: return /* @__PURE__ */ jsx(PrimaryPartner, { id: activeForm.formId });
802
- default: return null;
803
- }
804
- };
805
- //#endregion
806
- //#region src/components/GlobalEntry/tasks/GlobalEntryModal.tsx
807
- var GlobalEntryModal = ({ rootLegalEntity, onComplete }) => {
808
- const { i18n, t } = useTranslation(["common", "globalEntry"]);
809
- const { isFeatureEnabled } = useToggleContext();
810
- const logger = createLogger();
811
- const { showToast } = useToastContext();
812
- const { accountHolder } = useAccountHolder();
813
- const [derivedProps, setDerivedProps] = useState();
814
- addResourceBundles(i18n, [{
815
- ns: "globalEntry",
816
- importFn: (lang) => _rolldown_dynamic_import_helper_default(/* @__PURE__ */ Object.assign({
817
- "../language/bg-BG.json": () => import("./bg-BG-BPzEcioF.js"),
818
- "../language/cs-CZ.json": () => import("./cs-CZ-D4ml1o2f.js"),
819
- "../language/da-DK.json": () => import("./da-DK-BoINgPRU.js"),
820
- "../language/de-DE.json": () => import("./de-DE-By2U6vch.js"),
821
- "../language/el-GR.json": () => import("./el-GR-CdTXa4cP.js"),
822
- "../language/en-US.json": () => import("./en-US-BUmtG-Wj.js"),
823
- "../language/es-ES.json": () => import("./es-ES-DT39ZlR7.js"),
824
- "../language/es-LA.json": () => import("./es-LA-DQGPNeqX.js"),
825
- "../language/et-EE.json": () => import("./et-EE-S_MAXUF8.js"),
826
- "../language/fi-FI.json": () => import("./fi-FI-ThDP-8F8.js"),
827
- "../language/fr-FR.json": () => import("./fr-FR-D3maHIWS.js"),
828
- "../language/hr-HR.json": () => import("./hr-HR-BUI-Ac0o.js"),
829
- "../language/hu-HU.json": () => import("./hu-HU-BPjEsgnX.js"),
830
- "../language/it-IT.json": () => import("./it-IT-W1FjGb6L.js"),
831
- "../language/ja-JP.json": () => import("./ja-JP-avJECfKw.js"),
832
- "../language/lt-LT.json": () => import("./lt-LT-wP0YuKeO.js"),
833
- "../language/lv-LV.json": () => import("./lv-LV-DW_mgZjM.js"),
834
- "../language/nl-NL.json": () => import("./nl-NL-7kT4I7Tj.js"),
835
- "../language/no-NO.json": () => import("./no-NO-BoEKDB8U.js"),
836
- "../language/pl-PL.json": () => import("./pl-PL-B6DeEX-m.js"),
837
- "../language/pt-BR.json": () => import("./pt-BR-CsQI9W3I.js"),
838
- "../language/pt-PT.json": () => import("./pt-PT-i_EH0CM6.js"),
839
- "../language/ro-RO.json": () => import("./ro-RO-B7CJDsKz.js"),
840
- "../language/sk-SK.json": () => import("./sk-SK-NU95U8E2.js"),
841
- "../language/sl-SI.json": () => import("./sl-SI-B6Kv1DgA.js"),
842
- "../language/sv-SE.json": () => import("./sv-SE-DKTrk_eI.js")
843
- }), `../language/${lang}.json`, 3)
844
- }]);
845
- addResourceBundles(i18n, [{
846
- ns: "business",
847
- importFn: (lang) => _rolldown_dynamic_import_helper_default(/* @__PURE__ */ Object.assign({
848
- "../../Business/language/bg-BG.json": () => import("./bg-BG-DYkxVgeJ.js"),
849
- "../../Business/language/cs-CZ.json": () => import("./cs-CZ-lJQmuyHq.js"),
850
- "../../Business/language/da-DK.json": () => import("./da-DK-D53M_d04.js"),
851
- "../../Business/language/de-DE.json": () => import("./de-DE-qJPTCQlG.js"),
852
- "../../Business/language/el-GR.json": () => import("./el-GR-Bx996PXx.js"),
853
- "../../Business/language/en-US.json": () => import("./en-US-CJPD8qHc.js"),
854
- "../../Business/language/es-ES.json": () => import("./es-ES-U4-lDfZq.js"),
855
- "../../Business/language/es-LA.json": () => import("./es-LA-B5IRDCf_.js"),
856
- "../../Business/language/et-EE.json": () => import("./et-EE-4_ZUNt3W.js"),
857
- "../../Business/language/fi-FI.json": () => import("./fi-FI-D06EzKrW.js"),
858
- "../../Business/language/fr-FR.json": () => import("./fr-FR-Dl4NL-Nc.js"),
859
- "../../Business/language/hr-HR.json": () => import("./hr-HR-B11sggmG.js"),
860
- "../../Business/language/hu-HU.json": () => import("./hu-HU-Dp6xOBN_.js"),
861
- "../../Business/language/it-IT.json": () => import("./it-IT-BlaVymCj.js"),
862
- "../../Business/language/ja-JP.json": () => import("./ja-JP-h3E8hgLv.js"),
863
- "../../Business/language/lt-LT.json": () => import("./lt-LT-B18sQY9g.js"),
864
- "../../Business/language/lv-LV.json": () => import("./lv-LV-adiXoKhv.js"),
865
- "../../Business/language/nl-NL.json": () => import("./nl-NL-DOB0b0m4.js"),
866
- "../../Business/language/no-NO.json": () => import("./no-NO-BG1sYkpp.js"),
867
- "../../Business/language/pl-PL.json": () => import("./pl-PL-J9S3_lCf.js"),
868
- "../../Business/language/pt-BR.json": () => import("./pt-BR-BYbyk6xS.js"),
869
- "../../Business/language/pt-PT.json": () => import("./pt-PT-D8ldyR-j.js"),
870
- "../../Business/language/ro-RO.json": () => import("./ro-RO-CnMe6Mfw.js"),
871
- "../../Business/language/sk-SK.json": () => import("./sk-SK-Br1Y4_CN.js"),
872
- "../../Business/language/sl-SI.json": () => import("./sl-SI-DHPadSTy.js"),
873
- "../../Business/language/sv-SE.json": () => import("./sv-SE-BXrlr0X5.js")
874
- }), `../../Business/language/${lang}.json`, 5)
875
- }]);
876
- const handleClose = () => {
877
- showGlobalEntryModal.value = false;
878
- };
879
- const buildFieldValidations = useCallback((data) => globalEntryValidationRules({
880
- data,
881
- legalEntity: rootLegalEntity,
882
- isFeatureEnabled
883
- }), [isFeatureEnabled, rootLegalEntity]);
884
- /** Holds the registration details when the user already trades as a sole proprietor */
885
- const { data: associatedSoleProp } = useAssociatedLegalEntity(rootLegalEntity, LegalEntityTypes.SOLE_PROPRIETORSHIP);
886
- const multiForm = useMultiForm({
887
- defaultData: useMemo(() => mapLegalEntityToGlobalEntrySchema(rootLegalEntity, associatedSoleProp), [rootLegalEntity, associatedSoleProp]),
888
- requiredFields: derivedProps?.requiredFields,
889
- optionalFields: derivedProps?.optionalFields,
890
- allFields: derivedProps?.allFields,
891
- rules: buildFieldValidations
892
- });
893
- const { isValid: formValidity, data, triggerValidation } = multiForm;
894
- const country = data.entityInformation?.country ?? getLegalEntityCountry(rootLegalEntity);
895
- const rules = useMemo(() => globalEntryCustomRules({
896
- data,
897
- isFeatureEnabled,
898
- country,
899
- taskType: TaskTypes.GLOBAL_ENTRY,
900
- accountHolder,
901
- rootLegalEntity
902
- }), [
903
- accountHolder,
904
- isFeatureEnabled,
905
- country,
906
- data,
907
- rootLegalEntity
908
- ]);
909
- useEffect(() => {
910
- setDerivedProps(getPropsFromConfigurations({
911
- scenarioConfiguration: globalEntryFieldRuleConfigurations,
912
- forms: globalEntryForms,
913
- remediationActions: [],
914
- dataMissingErrors: [],
915
- fieldsWithExistingData: [],
916
- customRules: rules,
917
- legalEntityType: rootLegalEntity?.type
918
- }));
919
- }, [rootLegalEntity?.type, rules]);
920
- const forms = useMemo(() => {
921
- return addValidityToForms(getRequiredForms(globalEntryForms, derivedProps?.requiredFields, derivedProps?.optionalFields, true), formValidity, void 0);
922
- }, [derivedProps, formValidity]);
923
- const { mutateAsync: updateLegalEntity, isPending: isUpdatingLegalEntity } = useUpdateLegalEntity();
924
- const { mutateAsync: createLegalEntity, isPending: isCreatingLegalEntity } = useCreateLegalEntity();
925
- const isSubmitting = isUpdatingLegalEntity || isCreatingLegalEntity;
926
- const handleSubmit = async () => {
927
- try {
928
- const newAccountHolder = await submitGlobalEntry({
929
- legalEntity: rootLegalEntity,
930
- associatedSoleProp,
931
- data,
932
- updateLegalEntity,
933
- createLegalEntity
934
- });
935
- if (newAccountHolder) onComplete(newAccountHolder);
936
- showGlobalEntryModal.value = false;
937
- } catch (err) {
938
- logger.error(err);
939
- showToast({
940
- label: t(($) => $["failedToUpdateDetails"], { ns: "common" }),
941
- variant: "error"
942
- });
943
- }
944
- };
945
- const { activeForm, handleNextClick, handleBackClick, steps, gotoFormByFormId, gotoFormByFormIndex, shouldValidate } = useFormComposer({
946
- onSubmit: handleSubmit,
947
- forms,
948
- triggerValidation
949
- });
950
- return /* @__PURE__ */ jsx(FormContextProvider, {
951
- form: multiForm,
952
- children: /* @__PURE__ */ jsx(FormFlow, {
953
- asModal: true,
954
- activeForm,
955
- handleNextClick,
956
- handleBackClick,
957
- handleCancelClick: handleClose,
958
- forms,
959
- gotoFormByFormIndex,
960
- gotoFormByFormId,
961
- loadingStatus: isSubmitting ? "loading" : "success",
962
- currentStep: steps.current,
963
- totalSteps: steps.total,
964
- isGlobalEntry: true,
965
- children: /* @__PURE__ */ jsx(GlobalEntry, {
966
- activeForm,
967
- shouldValidate,
968
- legalEntity: rootLegalEntity,
969
- country
970
- })
971
- })
972
- });
973
- };
974
- //#endregion
975
- export { showGlobalEntryModal as n, GlobalEntryModal as t };