@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
@@ -0,0 +1,1229 @@
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] = "580fc178-c1e2-4aa8-969f-4173c84f0375", e._sentryDebugIdIdentifier = "sentry-dbid-580fc178-c1e2-4aa8-969f-4173c84f0375");
4
+ } catch (e) {}
5
+ import { r as useTranslation } from "./translation-DbATp_35.js";
6
+ import { t as Typography } from "./Typography-CAc_f5Iq.js";
7
+ import { t as Loader } from "./Loader-BVtlpTeo.js";
8
+ import { a as objectsDeepEqual } from "./genUtils-nphCwt1A.js";
9
+ import { t as useToggleContext } from "./useToggleContext-B_YexrbT.js";
10
+ import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
11
+ import { n as datasetUtilities } from "./datasetUtil-BdHPWsxZ.js";
12
+ import { a as prefixCountryNameWithThe } from "./country-BEZkohEO.js";
13
+ import { r as translateTranslatable } from "./utils-CYUYe54m.js";
14
+ import { t as Field } from "./Field-DwDJQVSS.js";
15
+ import { n as useDebouncedCallback } from "./debouncedInputEvent-Fwwp_K_-.js";
16
+ import { t as Checkbox } from "./Checkbox-qfdF12cF.js";
17
+ import { l as addressFields } from "./utils-BWumuCvl.js";
18
+ import { a as validateNotEmptyOnBlur, o as validatePatternOnBlur } from "./patternValidators-DsrZkuOO.js";
19
+ import { t as InputText } from "./InputText-CFDEmEtp.js";
20
+ import { t as resolveFieldMetadata } from "./fieldConfigurations-CZCFghnK.js";
21
+ import { r as isJapanLocalizationEnabled } from "./TaxInformationField-CV7SpMH1.js";
22
+ import { a as nonInputs, c as MaskedInput, i as makeMask, n as alphanumericInputs, o as numericInputs, s as spacer, t as alphaInputs } from "./maskHelpers-C0wnCoJl.js";
23
+ import { t as uppercase } from "./uppercase-DvjwUM0n.js";
24
+ import { t as RadioGroup } from "./RadioGroup-Bf3DlQnZ.js";
25
+ import { a as getPrefixedAddressFieldNames, i as getNestedTrustedFields, n as ALL_ADDRESS_FIELDS, o as nestAddressSchema, t as AddressFields } from "./AddressFields-BC3QHs2u.js";
26
+ import { n as MemoizedDocumentUpload } from "./PatriotActDisclosure-DqUZeLms.js";
27
+ import { a as useAddressCleanse, i as formatAddressForCleanse, n as formatDateObj, t as InputDate } from "./InputDate-Bq3Sb-ZW.js";
28
+ import { i as getPrefixedFieldProps } from "./getProps-DVqK7eRw.js";
29
+ import { t as formatValidationError } from "./formatValidationError-q_w9DTrl.js";
30
+ import { Suspense, lazy, memo } from "preact/compat";
31
+ import { useCallback as useCallback$1, useEffect as useEffect$1, useMemo as useMemo$1, useState as useState$1 } from "preact/hooks";
32
+ import { Fragment as Fragment$1, jsx, jsxs } from "preact/jsx-runtime";
33
+ //#region src/components/Shared/fields/DateOfIncorporationField/fieldConfig.ts
34
+ var validateDateOfIncorporation = (dateOfIncorporation) => {
35
+ if (!dateOfIncorporation) return false;
36
+ const date = new Date(dateOfIncorporation);
37
+ return date < /* @__PURE__ */ new Date() && date > new Date(1900, 0, 1);
38
+ };
39
+ var dateOfIncorporationFieldMetadata = {
40
+ label: "dateOfIncorporation",
41
+ validators: [validateNotEmptyOnBlur, {
42
+ modes: ["blur"],
43
+ validate: validateDateOfIncorporation,
44
+ errorMessage: "invalidDateOfIncorporation"
45
+ }]
46
+ };
47
+ var dateOfIncorporationFieldConfig = {
48
+ HK: {
49
+ ...dateOfIncorporationFieldMetadata,
50
+ label: "dateOfFormation"
51
+ },
52
+ SG: {
53
+ ...dateOfIncorporationFieldMetadata,
54
+ label: "dateOfFormation"
55
+ }
56
+ };
57
+ //#endregion
58
+ //#region src/components/Shared/fields/DateOfIncorporationField/DateOfIncorporationField.tsx
59
+ var DATE_OF_INCORPORATION_FIELD = ["dateOfIncorporation"];
60
+ function DateOfIncorporationField({ data, valid, errors, placeholder, readonly, handleChangeFor, country }) {
61
+ const { t } = useTranslation("common");
62
+ const fieldMetaData = resolveFieldMetadata(dateOfIncorporationFieldConfig[country], {}, dateOfIncorporationFieldMetadata);
63
+ const placeholderValue = placeholder ?? t(($) => $["datePlaceholder"]);
64
+ return /* @__PURE__ */ jsx(Field, {
65
+ name: "dateOfIncorporation",
66
+ label: t(($) => $[fieldMetaData.label ?? "dateOfIncorporation"]),
67
+ errorMessage: errors.dateOfIncorporation,
68
+ isValid: valid.dateOfIncorporation,
69
+ children: (childProps) => /* @__PURE__ */ jsx(InputDate, {
70
+ ...childProps,
71
+ "aria-required": true,
72
+ "aria-invalid": !valid.dateOfIncorporation,
73
+ name: "dateOfIncorporation",
74
+ value: data.dateOfIncorporation,
75
+ placeholder: placeholderValue,
76
+ readonly,
77
+ onInput: handleChangeFor("dateOfIncorporation", "input"),
78
+ onBlur: handleChangeFor("dateOfIncorporation", "blur"),
79
+ max: formatDateObj(/* @__PURE__ */ new Date()),
80
+ min: formatDateObj(new Date(1900, 0, 1))
81
+ })
82
+ });
83
+ }
84
+ //#endregion
85
+ //#region src/components/Shared/fields/DBANameField/DBANameField.tsx
86
+ var DBA_NAME_FIELD = ["hasDoingBusinessAs", "doingBusinessAs"];
87
+ function DBANameField({ data, valid, errors, readonly, handleChangeFor }) {
88
+ const { t } = useTranslation("common");
89
+ const hasDoingBusinessAsValue = useMemo$1(() => {
90
+ if (typeof data.hasDoingBusinessAs !== "boolean") return void 0;
91
+ return data.hasDoingBusinessAs ? "yes" : "no";
92
+ }, [data.hasDoingBusinessAs]);
93
+ const handleHasDoingBusinessAsChange = (val) => {
94
+ handleChangeFor("hasDoingBusinessAs")(val === "yes" ? true : false);
95
+ };
96
+ return /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(Field, {
97
+ el: "fieldset",
98
+ name: "hasDoingBusinessAsName",
99
+ label: t(($) => $["hasDba"]),
100
+ helper: t(($) => $["hasDba__helperText"]),
101
+ isValid: valid.hasDoingBusinessAs,
102
+ errorMessage: errors.hasDoingBusinessAs,
103
+ children: (childProps) => /* @__PURE__ */ jsx(RadioGroup, {
104
+ ...childProps,
105
+ name: "hasDoingBusinessAs",
106
+ items: [{
107
+ id: "yes",
108
+ name: "yes"
109
+ }, {
110
+ id: "no",
111
+ name: "no"
112
+ }],
113
+ value: hasDoingBusinessAsValue,
114
+ onChange: handleHasDoingBusinessAsChange,
115
+ horizontal: true
116
+ })
117
+ }), data.hasDoingBusinessAs && /* @__PURE__ */ jsx(Field, {
118
+ name: "doingBusinessAs",
119
+ label: t(($) => $["doingBusinessAs"]),
120
+ errorMessage: errors.doingBusinessAs,
121
+ isValid: valid.doingBusinessAs,
122
+ children: (childProps) => /* @__PURE__ */ jsx(InputText, {
123
+ ...childProps,
124
+ "aria-required": true,
125
+ "aria-invalid": !valid.doingBusinessAs,
126
+ name: "doingBusinessAs",
127
+ value: data.doingBusinessAs,
128
+ readonly,
129
+ onInput: handleChangeFor("doingBusinessAs", "input"),
130
+ onBlur: handleChangeFor("doingBusinessAs", "blur")
131
+ })
132
+ })] });
133
+ }
134
+ //#endregion
135
+ //#region src/components/Shared/fields/DBANameField/fieldConfig.ts
136
+ var doingBusinessAsAbsentFieldMetadata = { validators: [validateNotEmptyOnBlur] };
137
+ var doingBusinessAsFieldMetadata = { validators: [validateNotEmptyOnBlur] };
138
+ //#endregion
139
+ //#region src/utils/useDebouncedState.ts
140
+ /**
141
+ * Like {@link useState}, but waits for the given amount of time before applying *only* the most recent update.
142
+ *
143
+ * @param wait the time to wait, in milliseconds
144
+ * @param initialState (optional) the default value
145
+ */
146
+ function useDebouncedState(wait, initialState) {
147
+ const [state, _setState] = useState$1(initialState);
148
+ return [state, useDebouncedCallback(_setState, wait)];
149
+ }
150
+ var RegistrationAndOperationalAddressFields_module_default = {
151
+ "section-heading": "_section-heading_nb4mz_1",
152
+ sectionHeading: "_section-heading_nb4mz_1"
153
+ };
154
+ //#endregion
155
+ //#region src/components/Shared/fields/RegistrationAndOperationalAddressFields/RegistrationAndOperationalAddressFields.tsx
156
+ var LazyJpAddressFields = lazy(async () => (await import("./JpAddressFields-F1YCOcbO.js")).JpAddressFields);
157
+ var REGISTRATION_AND_OPERATIONAL_ADDRESS_FIELDS = [
158
+ "operationalAddressIsSame",
159
+ ...getPrefixedAddressFieldNames("registrationAddress"),
160
+ ...getPrefixedAddressFieldNames("operationalAddress")
161
+ ];
162
+ function RegistrationAndOperationalAddressFields({ country, readOnlyAddressFields, entityType, data, valid, errors, requiredFields, optionalFields, trustedFields, fieldValidationErrors, handleChangeFor, formUtils }) {
163
+ const { t, i18n } = useTranslation("common");
164
+ const { isFeatureEnabled } = useToggleContext();
165
+ const showJapanLocalization = isJapanLocalizationEnabled(isFeatureEnabled, country);
166
+ const showField = (fieldKeys) => fieldKeys.some((field) => formUtils.isRequiredField(field) || formUtils.isOptionalField(field));
167
+ useEffect$1(() => {
168
+ if (data?.registrationAddressCountry !== country) handleChangeFor("registrationAddressCountry")(country);
169
+ if (data?.operationalAddressCountry !== country) handleChangeFor("operationalAddressCountry")(country);
170
+ }, [
171
+ data?.registrationAddressCountry,
172
+ data?.operationalAddressCountry,
173
+ country,
174
+ handleChangeFor
175
+ ]);
176
+ const handleOperationalAddressIsSameChange = useCallback$1((isChecked) => {
177
+ handleChangeFor("operationalAddressIsSame")(isChecked);
178
+ }, [handleChangeFor]);
179
+ const handleResidentialAddressIndicatorChange = useCallback$1((isChecked) => handleChangeFor("residentialAddressIndicator")(isChecked), [handleChangeFor]);
180
+ if (data?.operationalAddressIsSame === null) handleOperationalAddressIsSameChange(true);
181
+ const [addressToCheck, setAddressToCheck] = useDebouncedState(500);
182
+ const { data: cleansedRegistrationAddress } = useAddressCleanse({
183
+ text: addressToCheck,
184
+ country
185
+ }, { enabled: Boolean(addressToCheck) });
186
+ const mustProvideOperationalAddress = cleansedRegistrationAddress?.poBox ?? false;
187
+ const currentRegistrationAddress = nestAddressSchema("registrationAddress", data);
188
+ useEffect$1(() => setAddressToCheck(formatAddressForCleanse(currentRegistrationAddress)), [currentRegistrationAddress, setAddressToCheck]);
189
+ useEffect$1(() => {
190
+ if (mustProvideOperationalAddress && data?.operationalAddressIsSame) handleOperationalAddressIsSameChange(false);
191
+ }, [
192
+ handleOperationalAddressIsSameChange,
193
+ mustProvideOperationalAddress,
194
+ data?.operationalAddressIsSame
195
+ ]);
196
+ const datasetUtils = datasetUtilities(i18n.language);
197
+ const registrationAddressDescription = useMemo$1(() => {
198
+ const translationKey = prefixCountryNameWithThe(country) ? "theOfficialAddressInTheCountry" : "theOfficialAddressInCountry";
199
+ return t(($) => $[translationKey], {
200
+ entityType,
201
+ country: datasetUtils.getCountryName(country)
202
+ });
203
+ }, [
204
+ entityType,
205
+ country,
206
+ datasetUtils,
207
+ t
208
+ ]);
209
+ const formProps = {
210
+ data,
211
+ valid,
212
+ errors,
213
+ requiredFields,
214
+ optionalFields,
215
+ fieldValidationErrors,
216
+ handleFieldChange: handleChangeFor
217
+ };
218
+ const buildJpProps = (prefix) => getPrefixedFieldProps(formProps, prefix, ALL_ADDRESS_FIELDS);
219
+ const buildProps = (prefix) => getPrefixedFieldProps(formProps, prefix, addressFields);
220
+ const addressFieldProps = showJapanLocalization ? {
221
+ showJapanLocalization: true,
222
+ registrationAddress: buildJpProps("registrationAddress"),
223
+ operationalAddress: buildJpProps("operationalAddress")
224
+ } : {
225
+ showJapanLocalization: false,
226
+ registrationAddress: buildProps("registrationAddress"),
227
+ operationalAddress: buildProps("operationalAddress")
228
+ };
229
+ return /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsxs("section", { children: [
230
+ /* @__PURE__ */ jsxs("div", {
231
+ className: RegistrationAndOperationalAddressFields_module_default.sectionHeading,
232
+ children: [/* @__PURE__ */ jsx(Typography, {
233
+ el: "h3",
234
+ variant: "title",
235
+ children: t(($) => $["registeredBusinessAddress"])
236
+ }), /* @__PURE__ */ jsx(Typography, {
237
+ el: "p",
238
+ variant: "body",
239
+ children: registrationAddressDescription
240
+ })]
241
+ }),
242
+ addressFieldProps.showJapanLocalization ? /* @__PURE__ */ jsx(Suspense, {
243
+ fallback: /* @__PURE__ */ jsx(Loader, {}),
244
+ children: /* @__PURE__ */ jsx(LazyJpAddressFields, {
245
+ ...addressFieldProps.registrationAddress,
246
+ addressType: "registrationAddress"
247
+ })
248
+ }) : /* @__PURE__ */ jsx(AddressFields, {
249
+ ...addressFieldProps.registrationAddress,
250
+ addressType: "registrationAddress",
251
+ readOnlyFields: readOnlyAddressFields,
252
+ trustedFields: getNestedTrustedFields("registrationAddress", trustedFields),
253
+ hideCountry: true
254
+ }),
255
+ showField(["residentialAddressIndicator"]) && /* @__PURE__ */ jsx(Field, {
256
+ el: "fieldset",
257
+ name: "residentialAddressIndicator",
258
+ errorMessage: formatValidationError(errors?.residentialAddressIndicator?.errorMessage, t),
259
+ isValid: valid?.residentialAddressIndicator,
260
+ children: (childProps) => /* @__PURE__ */ jsx(Checkbox, {
261
+ ...childProps,
262
+ name: "residentialAddressIndicator",
263
+ label: t(($) => $["thisIsAPersonalAddress"]),
264
+ helper: t(($) => $["businessAddressesCanShowOwnReceipts"]),
265
+ checked: !!data?.residentialAddressIndicator,
266
+ onChange: handleResidentialAddressIndicatorChange
267
+ })
268
+ })
269
+ ] }), /* @__PURE__ */ jsxs("section", { children: [
270
+ /* @__PURE__ */ jsxs("div", {
271
+ className: RegistrationAndOperationalAddressFields_module_default.sectionHeading,
272
+ children: [/* @__PURE__ */ jsx(Typography, {
273
+ el: "h3",
274
+ variant: "title",
275
+ children: t(($) => $["principalPlaceOfBusiness"])
276
+ }), /* @__PURE__ */ jsx(Typography, {
277
+ el: "p",
278
+ variant: "body",
279
+ children: t(($) => $["thePhysicalLocationWhereThisOrganization"])
280
+ })]
281
+ }),
282
+ !mustProvideOperationalAddress && /* @__PURE__ */ jsx(Field, {
283
+ el: "fieldset",
284
+ name: "operationalAddressIsSame",
285
+ errorMessage: formatValidationError(errors?.operationalAddressIsSame?.errorMessage, t),
286
+ isValid: valid?.operationalAddressIsSame,
287
+ children: (childProps) => /* @__PURE__ */ jsx(Checkbox, {
288
+ ...childProps,
289
+ "aria-required": formUtils.isRequiredField("operationalAddressIsSame"),
290
+ "aria-invalid": !valid?.operationalAddressIsSame,
291
+ name: "operationalAddressIsSame",
292
+ label: t(($) => $["sameAsRegisteredAddress"]),
293
+ checked: !!data?.operationalAddressIsSame,
294
+ onChange: handleOperationalAddressIsSameChange
295
+ })
296
+ }),
297
+ !data?.operationalAddressIsSame && (addressFieldProps.showJapanLocalization ? /* @__PURE__ */ jsx(Suspense, {
298
+ fallback: /* @__PURE__ */ jsx(Loader, {}),
299
+ children: /* @__PURE__ */ jsx(LazyJpAddressFields, {
300
+ ...addressFieldProps.operationalAddress,
301
+ addressType: "operationalAddress"
302
+ })
303
+ }) : /* @__PURE__ */ jsx(AddressFields, {
304
+ ...addressFieldProps.operationalAddress,
305
+ addressType: "operationalAddress",
306
+ trustedFields: getNestedTrustedFields("operationalAddress", trustedFields),
307
+ hideCountry: true
308
+ }))
309
+ ] })] });
310
+ }
311
+ //#endregion
312
+ //#region src/components/Shared/fields/VatNumberField/fieldConfig.ts
313
+ var vatAbsenceReasonMetadata = { validators: [validateNotEmptyOnBlur] };
314
+ var defaultFieldMetadata = { label: "vatNumber" };
315
+ var defaultFieldConfig = {
316
+ [CountryCodes.Austria]: {
317
+ label: "UST-ID",
318
+ validators: validatePatternOnBlur(/^ATU\d{8}$/),
319
+ mask: { mask: makeMask(...nonInputs("ATU", { includeInValue: true }), spacer, ...numericInputs(8)) },
320
+ guidanceText: {
321
+ key: "enterTheRemainingNDigitsForExample",
322
+ values: {
323
+ numDigits: "8",
324
+ example: "ATU51507409"
325
+ }
326
+ }
327
+ },
328
+ [CountryCodes.Belgium]: {
329
+ label: "euVatNumber",
330
+ validators: validatePatternOnBlur(/^BE[10]\d{9}$/),
331
+ mask: { mask: makeMask(...nonInputs("BE", { includeInValue: true }), spacer, ...numericInputs(10)) },
332
+ guidanceText: {
333
+ key: "enterTheRemainingNDigitsForExample",
334
+ values: {
335
+ numDigits: "10",
336
+ example: "BE1234567890"
337
+ }
338
+ }
339
+ },
340
+ [CountryCodes.Bulgaria]: {
341
+ label: "identifikacionenNomerDDS",
342
+ validators: validatePatternOnBlur(/^BG\d{9,10}$/),
343
+ mask: { mask: makeMask(...nonInputs("BG", { includeInValue: true }), spacer, ...numericInputs(9), ...numericInputs(1, true)) },
344
+ guidanceText: {
345
+ key: "enterTheRemainingXToYDigitsForExample",
346
+ values: {
347
+ minDigits: "9",
348
+ maxDigits: "10",
349
+ example: "BG1234567890"
350
+ }
351
+ }
352
+ },
353
+ [CountryCodes.Croatia]: {
354
+ label: "PDVIdBrojOIB",
355
+ validators: validatePatternOnBlur(/^HR\d{11}$/),
356
+ mask: { mask: makeMask(...nonInputs("HR", { includeInValue: true }), spacer, ...numericInputs(11)) },
357
+ guidanceText: {
358
+ key: "enterTheRemainingNDigitsForExample",
359
+ values: {
360
+ numDigits: "11",
361
+ example: "HR94577403194"
362
+ }
363
+ }
364
+ },
365
+ [CountryCodes.Cyprus]: {
366
+ label: "arithmosEngraphes",
367
+ validators: validatePatternOnBlur(/^CY[A-Z0-9]{9}$/),
368
+ mask: {
369
+ mask: makeMask(...nonInputs("CY", { includeInValue: true }), spacer, ...alphanumericInputs(9)),
370
+ transformOnType: uppercase
371
+ },
372
+ guidanceText: {
373
+ key: "enterTheRemainingNCharactersForExample",
374
+ values: {
375
+ numChars: "9",
376
+ example: "CY12345678X"
377
+ }
378
+ }
379
+ },
380
+ [CountryCodes.CzechRepublic]: {
381
+ label: "DIC",
382
+ validators: validatePatternOnBlur(/^CZ\d{8,10}$/),
383
+ mask: { mask: makeMask(...nonInputs("CZ", { includeInValue: true }), spacer, ...numericInputs(8), ...numericInputs(2, true)) },
384
+ guidanceText: {
385
+ key: "enterTheRemainingXToYDigitsForExample",
386
+ values: {
387
+ minDigits: "8",
388
+ maxDigits: "10",
389
+ example: "CZ00177041"
390
+ }
391
+ }
392
+ },
393
+ [CountryCodes.Denmark]: ({ vatNumberType }) => {
394
+ switch (vatNumberType) {
395
+ case "stamregister": return {
396
+ label: "stamregister",
397
+ validators: validatePatternOnBlur(/^SE\d{8}$/),
398
+ mask: { mask: makeMask(...nonInputs("SE", { includeInValue: true }), spacer, ...numericInputs(8)) },
399
+ guidanceText: {
400
+ key: "enterTheRemainingNDigitsForExample",
401
+ values: {
402
+ numDigits: "8",
403
+ example: "SE12345678"
404
+ }
405
+ }
406
+ };
407
+ default: return {
408
+ label: "momsregistreringsnummerCVR",
409
+ validators: validatePatternOnBlur(/^DK\d{8}$/),
410
+ mask: { mask: makeMask(...nonInputs("DK", { includeInValue: true }), spacer, ...numericInputs(8)) },
411
+ guidanceText: {
412
+ key: "enterTheRemainingNDigitsForExample",
413
+ values: {
414
+ numDigits: "8",
415
+ example: "DK12345678"
416
+ }
417
+ }
418
+ };
419
+ }
420
+ },
421
+ [CountryCodes.Estonia]: {
422
+ label: "kaibemaksukohustuslaseNumber",
423
+ validators: validatePatternOnBlur(/^EE\d{9}$/),
424
+ mask: { mask: makeMask(...nonInputs("EE", { includeInValue: true }), spacer, ...numericInputs(9)) },
425
+ guidanceText: {
426
+ key: "enterTheRemainingNDigitsForExample",
427
+ values: {
428
+ numDigits: "9",
429
+ example: "EE100254507"
430
+ }
431
+ }
432
+ },
433
+ [CountryCodes.Finland]: {
434
+ label: "arvonlisaveronumeroMervardesskattenummer",
435
+ validators: validatePatternOnBlur(/^FI\d{8}$/),
436
+ mask: { mask: makeMask(...nonInputs("FI", { includeInValue: true }), spacer, ...numericInputs(8)) },
437
+ guidanceText: {
438
+ key: "enterTheRemainingNDigitsForExample",
439
+ values: {
440
+ numDigits: "9",
441
+ example: "FI12345678"
442
+ }
443
+ }
444
+ },
445
+ [CountryCodes.France]: ({ vatNumberType }) => {
446
+ const sharedMetadata = {
447
+ validators: validatePatternOnBlur(/^FR\d{11}$/),
448
+ mask: { mask: makeMask(...nonInputs("FR", { includeInValue: true }), spacer, ...numericInputs(11)) }
449
+ };
450
+ switch (vatNumberType) {
451
+ case "NumeroDeTVA": return {
452
+ ...sharedMetadata,
453
+ label: "NumeroDeTVA",
454
+ guidanceText: {
455
+ key: "enterTheRemainingNDigitsForExample",
456
+ values: {
457
+ numDigits: "11",
458
+ example: "FR12999999999"
459
+ }
460
+ }
461
+ };
462
+ default: return {
463
+ ...sharedMetadata,
464
+ label: "numeroDIdentificationALATaxe",
465
+ guidanceText: {
466
+ key: "enterTheRemainingNDigitsForExample",
467
+ values: {
468
+ numDigits: "11",
469
+ example: "FR12345678901"
470
+ }
471
+ }
472
+ };
473
+ }
474
+ },
475
+ [CountryCodes.Germany]: {
476
+ label: "USt-IdNr",
477
+ validators: validatePatternOnBlur(/^DE\d{9}$/),
478
+ mask: { mask: makeMask(...nonInputs("DE", { includeInValue: true }), spacer, ...numericInputs(9)) },
479
+ guidanceText: {
480
+ key: "enterTheRemainingNDigitsForExample",
481
+ values: {
482
+ numDigits: "9",
483
+ example: "DE115235681"
484
+ }
485
+ }
486
+ },
487
+ [CountryCodes.Greece]: {
488
+ label: "grTaxId",
489
+ validators: validatePatternOnBlur(/^EL\d{9}$/),
490
+ mask: { mask: makeMask(...nonInputs("EL", { includeInValue: true }), spacer, ...numericInputs(9)) },
491
+ guidanceText: {
492
+ key: "enterTheRemainingNDigitsForExample",
493
+ values: {
494
+ numDigits: "9",
495
+ example: "EL123456789"
496
+ }
497
+ }
498
+ },
499
+ [CountryCodes.Hungary]: {
500
+ label: "huTaxId",
501
+ validators: validatePatternOnBlur(/^HU\d{8}$/),
502
+ mask: { mask: makeMask(...nonInputs("HU", { includeInValue: true }), spacer, ...numericInputs(8)) },
503
+ guidanceText: {
504
+ key: "enterTheRemainingNDigitsForExample",
505
+ values: {
506
+ numDigits: "8",
507
+ example: "HU12345678"
508
+ }
509
+ }
510
+ },
511
+ [CountryCodes.Ireland]: {
512
+ label: "vatNumber",
513
+ validators: validatePatternOnBlur(/^IE[A-Z0-9]{8,9}$/),
514
+ mask: {
515
+ mask: makeMask(...nonInputs("IE", { includeInValue: true }), spacer, ...alphanumericInputs(8), ...alphanumericInputs(1, true)),
516
+ transformOnType: uppercase
517
+ },
518
+ guidanceText: {
519
+ key: "enterTheRemainingXToYCharactersForExample",
520
+ values: {
521
+ minChars: "8",
522
+ maxChars: "9",
523
+ example: "IE999999XX"
524
+ }
525
+ }
526
+ },
527
+ [CountryCodes.Italy]: {
528
+ label: "vatNumber",
529
+ validators: validatePatternOnBlur(/^IT\d{11}$/),
530
+ mask: { mask: makeMask(...nonInputs("IT", { includeInValue: true }), spacer, ...numericInputs(11)) },
531
+ guidanceText: {
532
+ key: "enterTheRemainingNDigitsForExample",
533
+ values: {
534
+ numDigits: "11",
535
+ example: "IT47040001100"
536
+ }
537
+ }
538
+ },
539
+ [CountryCodes.Latvia]: {
540
+ label: "lvTaxId",
541
+ validators: validatePatternOnBlur(/^LV\d{11}$/),
542
+ mask: { mask: makeMask(...nonInputs("LV", { includeInValue: true }), spacer, ...numericInputs(11)) },
543
+ guidanceText: {
544
+ key: "enterTheRemainingNDigitsForExample",
545
+ values: {
546
+ numDigits: "11",
547
+ example: "LV43603021620"
548
+ }
549
+ }
550
+ },
551
+ [CountryCodes.Liechtenstein]: {
552
+ label: "vatRegistrationNumber",
553
+ validators: validatePatternOnBlur(/^[0-9]{1,6}$/),
554
+ mask: { mask: makeMask(...numericInputs(1), ...numericInputs(5, true)) },
555
+ guidanceText: {
556
+ key: "enterAMaximumOfNDigitsForExample",
557
+ values: {
558
+ maxDigits: "6",
559
+ example: "123456"
560
+ }
561
+ }
562
+ },
563
+ [CountryCodes.Lithuania]: {
564
+ label: "PVMmoketojoKodas",
565
+ validators: validatePatternOnBlur(/^LT\d{9,12}$/),
566
+ mask: { mask: makeMask(...nonInputs("LT", { includeInValue: true }), spacer, ...numericInputs(9), ...numericInputs(3, true)) },
567
+ guidanceText: {
568
+ key: "enterTheRemainingXToYDigitsForExample",
569
+ values: {
570
+ minDigits: "9",
571
+ maxDigits: "12",
572
+ example: "LT664517219"
573
+ }
574
+ }
575
+ },
576
+ [CountryCodes.Luxembourg]: {
577
+ label: "numeroDIdentificationALATaxe",
578
+ validators: validatePatternOnBlur(/^LU\d{8}$/),
579
+ mask: { mask: makeMask(...nonInputs("LU", { includeInValue: true }), spacer, ...numericInputs(8)) },
580
+ guidanceText: {
581
+ key: "enterTheRemainingNDigitsForExample",
582
+ values: {
583
+ numDigits: "8",
584
+ example: "LU18928066"
585
+ }
586
+ }
587
+ },
588
+ [CountryCodes.Malaysia]: {
589
+ label: "SST",
590
+ validators: validatePatternOnBlur(/^([A-Z]\d{2}[-]\d{4}[-]\d{8}|\d{12})$/),
591
+ guidanceText: {
592
+ key: "enterXOrYCharactersForExample",
593
+ values: {
594
+ xChars: "12",
595
+ yChars: "14",
596
+ example: "123456789012, D11-1808-20032117"
597
+ }
598
+ }
599
+ },
600
+ [CountryCodes.Malta]: {
601
+ label: "vatNumber",
602
+ validators: validatePatternOnBlur(/^MT\d{8}$/),
603
+ mask: { mask: makeMask(...nonInputs("MT", { includeInValue: true }), spacer, ...numericInputs(8)) },
604
+ guidanceText: {
605
+ key: "enterTheRemainingNDigitsForExample",
606
+ values: {
607
+ numDigits: "8",
608
+ example: "MT12345678"
609
+ }
610
+ }
611
+ },
612
+ [CountryCodes.Monaco]: {
613
+ label: "numeroDIdentificationALATaxe",
614
+ validators: validatePatternOnBlur(/^FR[0-9]{11}$/),
615
+ mask: { mask: makeMask(...nonInputs("FR", { includeInValue: true }), spacer, ...numericInputs(11)) },
616
+ guidanceText: {
617
+ key: "enterTheRemainingNDigitsForExample",
618
+ values: {
619
+ numDigits: "11",
620
+ example: "FR12345678999"
621
+ }
622
+ }
623
+ },
624
+ [CountryCodes.Netherlands]: {
625
+ label: "btwNummer",
626
+ validators: validatePatternOnBlur(/^NL\d{9}B\d{2}$/),
627
+ mask: {
628
+ mask: makeMask(...nonInputs("NL", { includeInValue: true }), spacer, ...numericInputs(9), spacer, ...nonInputs("B", { includeInValue: true }), spacer, ...numericInputs(2)),
629
+ transformOnType: uppercase
630
+ },
631
+ guidanceText: {
632
+ key: "enterTheRemainingNCharactersForExample",
633
+ values: {
634
+ numChars: "12",
635
+ example: "NL123456789B01"
636
+ }
637
+ }
638
+ },
639
+ [CountryCodes.Norway]: {
640
+ label: "mvanummer",
641
+ validators: validatePatternOnBlur(/^\d{9}MVA$/),
642
+ mask: { mask: makeMask(...numericInputs(9), ...nonInputs("MVA", {
643
+ includeInValue: true,
644
+ displayEagerly: true
645
+ })) },
646
+ guidanceText: {
647
+ key: "enterNDigitsForExample",
648
+ values: {
649
+ numDigits: "9",
650
+ example: "123456789MVA"
651
+ }
652
+ }
653
+ },
654
+ [CountryCodes.Poland]: {
655
+ label: "NIP",
656
+ validators: validatePatternOnBlur(/^PL\d{10}$/),
657
+ mask: { mask: makeMask(...nonInputs("PL", { includeInValue: true }), spacer, ...numericInputs(10)) },
658
+ guidanceText: {
659
+ key: "enterTheRemainingNDigitsForExample",
660
+ values: {
661
+ numDigits: "10",
662
+ example: "PL1234567890"
663
+ }
664
+ }
665
+ },
666
+ [CountryCodes.Portugal]: {
667
+ label: "numerodeIVA",
668
+ validators: validatePatternOnBlur(/^PT\d{9}$/),
669
+ mask: { mask: makeMask(...nonInputs("PT", { includeInValue: true }), spacer, ...numericInputs(9)) },
670
+ guidanceText: {
671
+ key: "enterTheRemainingNDigitsForExample",
672
+ values: {
673
+ numDigits: "9",
674
+ example: "PT123456789"
675
+ }
676
+ }
677
+ },
678
+ [CountryCodes.Romania]: {
679
+ label: "codulDeIdentificareFiscala",
680
+ validators: validatePatternOnBlur(/^RO\d{2,12}$/),
681
+ mask: { mask: makeMask(...nonInputs("RO", { includeInValue: true }), spacer, ...numericInputs(2), ...numericInputs(8, true)) },
682
+ guidanceText: {
683
+ key: "enterTheRemainingXToYDigitsForExample",
684
+ values: {
685
+ minDigits: "2",
686
+ maxDigits: "10",
687
+ example: "RO12345678"
688
+ }
689
+ }
690
+ },
691
+ [CountryCodes.Slovakia]: {
692
+ label: "skTaxId",
693
+ validators: validatePatternOnBlur(/^SK\d{10}$/),
694
+ mask: { mask: makeMask(...nonInputs("SK", { includeInValue: true }), spacer, ...numericInputs(10)) },
695
+ guidanceText: {
696
+ key: "enterTheRemainingNDigitsForExample",
697
+ values: {
698
+ numDigits: "10",
699
+ example: "SK1234567890"
700
+ }
701
+ }
702
+ },
703
+ [CountryCodes.Slovenia]: {
704
+ label: "siTaxId",
705
+ validators: validatePatternOnBlur(/^SI\d{8}$/),
706
+ mask: { mask: makeMask(...nonInputs("SI", { includeInValue: true }), spacer, ...numericInputs(8)) },
707
+ guidanceText: {
708
+ key: "enterTheRemainingNDigitsForExample",
709
+ values: {
710
+ numDigits: "8",
711
+ example: "SI12345678"
712
+ }
713
+ }
714
+ },
715
+ [CountryCodes.Spain]: {
716
+ label: "NIFdeIVA",
717
+ validators: validatePatternOnBlur(/^ES[A-Z0-9]\d{7}[A-Z0-9]$/),
718
+ mask: {
719
+ mask: makeMask(...nonInputs("ES", { includeInValue: true }), spacer, ...alphanumericInputs(9)),
720
+ transformOnType: uppercase
721
+ },
722
+ guidanceText: {
723
+ key: "enterTheRemainingNCharactersForExample",
724
+ values: {
725
+ numChars: "9",
726
+ example: "ES12345678X"
727
+ }
728
+ }
729
+ },
730
+ [CountryCodes.Sweden]: {
731
+ label: "vatNummerMomsregistreringsnummerOrMomsnummer",
732
+ validators: validatePatternOnBlur(/^SE\d{12}$/),
733
+ mask: { mask: makeMask(...nonInputs("SE", { includeInValue: true }), spacer, ...numericInputs(12)) },
734
+ guidanceText: {
735
+ key: "enterTheRemainingNDigitsForExample",
736
+ values: {
737
+ numDigits: "12",
738
+ example: "SE123456789001"
739
+ }
740
+ }
741
+ },
742
+ [CountryCodes.Switzerland]: {
743
+ label: "Mehrwertsteuernummer",
744
+ validators: validatePatternOnBlur(/^CHE\d{9}(TVA|MWST|IVA)$/),
745
+ mask: {
746
+ mask: makeMask(...nonInputs("CHE", { includeInValue: true }), ...nonInputs(" - "), ...numericInputs(3), ...nonInputs(" . "), ...numericInputs(3), ...nonInputs(" . "), ...numericInputs(3), spacer, ...alphaInputs(3), ...alphaInputs(1, true)),
747
+ transformOnType: uppercase
748
+ },
749
+ guidanceText: {
750
+ key: "enterTheRemainingNDigitsThenXToYLettersForExample",
751
+ values: {
752
+ numDigits: "9",
753
+ minLetters: "3",
754
+ maxLetters: "4",
755
+ example: "CHE-123.456.789 TVA"
756
+ }
757
+ }
758
+ },
759
+ [CountryCodes.UnitedArabEmirates]: {
760
+ label: "vatRegistrationNumber",
761
+ validators: validateNotEmptyOnBlur
762
+ },
763
+ [CountryCodes.UnitedKingdom]: {
764
+ label: "vatRegistrationNumber",
765
+ validators: validatePatternOnBlur(/^GB\d{9,12}$/),
766
+ mask: { mask: makeMask(...nonInputs("GB", { includeInValue: true }), spacer, ...numericInputs(9), ...numericInputs(3, true)) },
767
+ guidanceText: {
768
+ key: "enterTheRemainingXToYDigitsForExample",
769
+ values: {
770
+ minDigits: "9",
771
+ maxDigits: "12",
772
+ example: "GB1234567890"
773
+ }
774
+ }
775
+ },
776
+ /**
777
+ * NOT YET SUPPORTED
778
+ * These are brought over from the old pattern files. We have no idea if they are accurate or not.
779
+ * See https://en.wikipedia.org/wiki/VAT_identification_number
780
+ */
781
+ [CountryCodes.Albania]: { validators: validatePatternOnBlur(/^[JKLM][A-Z0-9]{8}[A-Z]$/) },
782
+ [CountryCodes.Belarus]: { validators: validatePatternOnBlur(/^\d{9}$/) },
783
+ [CountryCodes.RussianFederation]: { validators: validatePatternOnBlur(/^(\d{10}|\d{12})$/) },
784
+ [CountryCodes.SanMarino]: { validators: validatePatternOnBlur(/^\d{5}$/) },
785
+ [CountryCodes.Serbia]: { validators: validatePatternOnBlur(/^\d{9}$/) },
786
+ [CountryCodes.Turkey]: { validators: validatePatternOnBlur(/^\d{10}$/) },
787
+ [CountryCodes.Ukraine]: { validators: validatePatternOnBlur(/^\d{12}$/) },
788
+ [CountryCodes.Argentina]: { validators: validatePatternOnBlur(/^\d{11}$/) },
789
+ [CountryCodes.Chile]: { validators: validatePatternOnBlur(/^\d{9}$/) },
790
+ [CountryCodes.Colombia]: { validators: validatePatternOnBlur(/^\d{10}$/) },
791
+ [CountryCodes.CostaRica]: { validators: validatePatternOnBlur(/^\d{9,12}$/) },
792
+ [CountryCodes.Ecuador]: { validators: validatePatternOnBlur(/^\d{13}$/) },
793
+ [CountryCodes.Guatemala]: { validators: validatePatternOnBlur(/^\d{8}$/) },
794
+ [CountryCodes.Peru]: { validators: validatePatternOnBlur(/^\d{11}$/) },
795
+ [CountryCodes.Venezuela]: { validators: validatePatternOnBlur(/^[JGVE]-\d{8}-?\d$/) }
796
+ };
797
+ //#endregion
798
+ //#region src/components/Shared/fields/VatNumberField/vatNumberTypes.ts
799
+ var vatNumberOptions = {
800
+ [CountryCodes.Austria]: [{
801
+ id: "UST-ID",
802
+ name: "UST-ID"
803
+ }],
804
+ [CountryCodes.Belgium]: [{
805
+ id: "euVatNumber",
806
+ name: "euVatNumber"
807
+ }],
808
+ [CountryCodes.Bulgaria]: [{
809
+ id: "identifikacionenNomerDDS",
810
+ name: "identifikacionenNomerDDS"
811
+ }],
812
+ [CountryCodes.Croatia]: [{
813
+ id: "PDVIdBrojOIB",
814
+ name: "PDVIdBrojOIB"
815
+ }],
816
+ [CountryCodes.Cyprus]: [{
817
+ id: "arithmosEngraphes",
818
+ name: "arithmosEngraphes"
819
+ }],
820
+ [CountryCodes.CzechRepublic]: [{
821
+ id: "DIC",
822
+ name: "DIC"
823
+ }],
824
+ [CountryCodes.Denmark]: [{
825
+ id: "momsregistreringsnummerCVR",
826
+ name: "momsregistreringsnummerCVR"
827
+ }, {
828
+ id: "stamregister",
829
+ name: "stamregister"
830
+ }],
831
+ [CountryCodes.Estonia]: [{
832
+ id: "kaibemaksukohustuslaseNumber",
833
+ name: "kaibemaksukohustuslaseNumber"
834
+ }],
835
+ [CountryCodes.Finland]: [{
836
+ id: "arvonlisaveronumeroMervardesskattenummer",
837
+ name: "arvonlisaveronumeroMervardesskattenummer"
838
+ }],
839
+ [CountryCodes.France]: [{
840
+ id: "numeroDIdentificationALATaxe",
841
+ name: "numeroDIdentificationALATaxe"
842
+ }, {
843
+ id: "NumeroDeTVA",
844
+ name: "NumeroDeTVA"
845
+ }],
846
+ [CountryCodes.Germany]: [{
847
+ id: "USt-IdNr",
848
+ name: "USt-IdNr"
849
+ }],
850
+ [CountryCodes.Greece]: [{
851
+ id: "grTaxId",
852
+ name: "grTaxId"
853
+ }],
854
+ [CountryCodes.Hungary]: [{
855
+ id: "huTaxId",
856
+ name: "huTaxId"
857
+ }],
858
+ [CountryCodes.Ireland]: [{
859
+ id: "vatNumber",
860
+ name: "vatNumber"
861
+ }],
862
+ [CountryCodes.Italy]: [{
863
+ id: "partitaIVA",
864
+ name: "partitaIVA"
865
+ }],
866
+ [CountryCodes.Latvia]: [{
867
+ id: "lvTaxId",
868
+ name: "lvTaxId"
869
+ }],
870
+ [CountryCodes.Liechtenstein]: [{
871
+ id: "vatRegistrationNumber",
872
+ name: "vatRegistrationNumber"
873
+ }],
874
+ [CountryCodes.Lithuania]: [{
875
+ id: "PVMmoketojoKodas",
876
+ name: "PVMmoketojoKodas"
877
+ }],
878
+ [CountryCodes.Luxembourg]: [{
879
+ id: "numeroDIdentificationALATaxe",
880
+ name: "numeroDIdentificationALATaxe"
881
+ }],
882
+ [CountryCodes.Malaysia]: [{
883
+ id: "SST",
884
+ name: "SST"
885
+ }],
886
+ [CountryCodes.Malta]: [{
887
+ id: "vatNumber",
888
+ name: "vatNumber"
889
+ }],
890
+ [CountryCodes.Monaco]: [{
891
+ id: "numeroDIdentificationALATaxe",
892
+ name: "numeroDIdentificationALATaxe"
893
+ }],
894
+ [CountryCodes.Netherlands]: [{
895
+ id: "btwNummer",
896
+ name: "btwNummer"
897
+ }],
898
+ [CountryCodes.Norway]: [{
899
+ id: "mvanummer",
900
+ name: "mvanummer"
901
+ }],
902
+ [CountryCodes.Poland]: [{
903
+ id: "NIP",
904
+ name: "NIP"
905
+ }],
906
+ [CountryCodes.Portugal]: [{
907
+ id: "numerodeIVA",
908
+ name: "numerodeIVA"
909
+ }],
910
+ [CountryCodes.Romania]: [{
911
+ id: "codulDeIdentificareFiscala",
912
+ name: "codulDeIdentificareFiscala"
913
+ }],
914
+ [CountryCodes.Slovakia]: [{
915
+ id: "skTaxId",
916
+ name: "skTaxId"
917
+ }],
918
+ [CountryCodes.Slovenia]: [{
919
+ id: "siTaxId",
920
+ name: "siTaxId"
921
+ }],
922
+ [CountryCodes.Spain]: [{
923
+ id: "NIFdeIVA",
924
+ name: "NIFdeIVA"
925
+ }],
926
+ [CountryCodes.Sweden]: [{
927
+ id: "vatNummerMomsregistreringsnummerOrMomsnummer",
928
+ name: "vatNummerMomsregistreringsnummerOrMomsnummer"
929
+ }],
930
+ [CountryCodes.Switzerland]: [{
931
+ id: "Mehrwertsteuernummer",
932
+ name: "Mehrwertsteuernummer"
933
+ }],
934
+ [CountryCodes.UnitedArabEmirates]: [{
935
+ id: "vatRegistrationNumber",
936
+ name: "vatRegistrationNumber"
937
+ }],
938
+ [CountryCodes.UnitedKingdom]: [{
939
+ id: "vatRegistrationNumber",
940
+ name: "vatRegistrationNumber"
941
+ }]
942
+ };
943
+ var getVatNumberOptions = (country, companyType) => {
944
+ const optionsForCountry = vatNumberOptions[country];
945
+ if (!companyType || !optionsForCountry) return optionsForCountry;
946
+ return optionsForCountry.filter((option) => option.applicableOnlyFor?.includes(companyType) ?? true);
947
+ };
948
+ //#endregion
949
+ //#region src/components/Shared/fields/VatNumberField/VatNumberTypeSelector/inferVatNumberType.ts
950
+ var inferVatNumberType = (vatNumber, country) => {
951
+ const optionsForCountry = vatNumberOptions[country];
952
+ const metadataFn = defaultFieldConfig[country];
953
+ if (!optionsForCountry || !metadataFn) return void 0;
954
+ for (const option of optionsForCountry) {
955
+ const fieldMetadata = typeof metadataFn === "function" ? metadataFn({ vatNumberType: option.id }) : metadataFn;
956
+ if (!fieldMetadata.validators) continue;
957
+ if ((Array.isArray(fieldMetadata.validators) ? fieldMetadata.validators : [fieldMetadata.validators]).every((validator) => validator.validate(vatNumber))) return option.id;
958
+ }
959
+ };
960
+ //#endregion
961
+ //#region src/components/Shared/fields/VatNumberField/VatNumberTypeSelector/getDefaultVatNumberType.ts
962
+ /**
963
+ * Determines the default VAT number type based on exisiting information and country.
964
+ * This function follows a priority order:
965
+ * 1. Infer the type from the number if possible
966
+ * 2. Otherwise, use the first available VAT number type for the country
967
+ *
968
+ * @param vatNumber - VAT number value
969
+ * @param country - Country code to determine the VAT number type
970
+ * @returns The determined VAT number type or undefined if none can be determined
971
+ */
972
+ function getDefaultVatNumberType(vatNumber, country) {
973
+ return vatNumber ? inferVatNumberType(vatNumber, country) : vatNumberOptions[country]?.[0]?.id;
974
+ }
975
+ //#endregion
976
+ //#region src/components/Shared/fields/VatNumberField/VatNumberTypeSelector/VatNumberTypeSelector.tsx
977
+ function VatNumberTypeSelector({ country, companyType, selected, setSelected, exemptedOptionLabel }) {
978
+ const { t } = useTranslation("common");
979
+ const handleSelect = useCallback$1((selectedStr) => {
980
+ const newSelected = selectedStr;
981
+ if (newSelected === "exempted") {
982
+ if (exemptedOptionLabel) setSelected(newSelected, true);
983
+ return;
984
+ }
985
+ setSelected(newSelected, false);
986
+ }, [exemptedOptionLabel, setSelected]);
987
+ const options = useMemo$1(() => {
988
+ const availableOptions = getVatNumberOptions(country, companyType) ?? [];
989
+ if (availableOptions.length === 0 || !exemptedOptionLabel) return availableOptions;
990
+ return [...availableOptions, {
991
+ id: "exempted",
992
+ name: exemptedOptionLabel
993
+ }];
994
+ }, [
995
+ country,
996
+ companyType,
997
+ exemptedOptionLabel
998
+ ]);
999
+ useEffect$1(() => {
1000
+ if (!selected && options.length > 0) handleSelect(options[0].id);
1001
+ }, [
1002
+ options,
1003
+ selected,
1004
+ handleSelect
1005
+ ]);
1006
+ if (options.length <= 1) return null;
1007
+ return /* @__PURE__ */ jsx(Field, {
1008
+ el: "fieldset",
1009
+ name: "vatNumberType",
1010
+ label: t(($) => $["whichTypeOfTaxIdNumberDoYouHave"]),
1011
+ children: (childProps) => /* @__PURE__ */ jsx(RadioGroup, {
1012
+ ...childProps,
1013
+ name: "vatNumberType",
1014
+ items: options,
1015
+ value: selected,
1016
+ onChange: handleSelect
1017
+ })
1018
+ });
1019
+ }
1020
+ //#endregion
1021
+ //#region src/components/Shared/fields/VatNumberField/VatNumberField.tsx
1022
+ var VAT_NUMBER_FIELD = [
1023
+ "vatNumber",
1024
+ "vatNumberType",
1025
+ "exemptedFromVat",
1026
+ "vatAbsenceReason"
1027
+ ];
1028
+ function VatNumberField({ data, valid, errors, labels, mask, readonly, optional, shouldValidate, handleChangeFor, canExempt, country }) {
1029
+ const { t } = useTranslation("common");
1030
+ const { isFeatureEnabled } = useToggleContext();
1031
+ const options = vatNumberOptions[country];
1032
+ const defaultType = getDefaultVatNumberType(data.vatNumber, country);
1033
+ const vatAbsenceReasons = isFeatureEnabled("ShowExtraTaxExemptionReasons") ? [
1034
+ "belowTaxThreshold",
1035
+ "industryExemption",
1036
+ "countryWithoutVatOrGstSystem"
1037
+ ] : ["belowTaxThreshold", "industryExemption"];
1038
+ const showVatExemptedOptions = canExempt && options?.length > 1;
1039
+ const vatNumberType = data.exemptedFromVat ? "exempted" : data.vatNumberType ? data.vatNumberType : defaultType;
1040
+ const fieldMetadata = resolveFieldMetadata(defaultFieldConfig[country], { vatNumberType: vatNumberType === "exempted" ? void 0 : vatNumberType }, defaultFieldMetadata);
1041
+ const handleVatNumberChange = (e, mode) => {
1042
+ const value = typeof e === "string" ? e : e.currentTarget.value;
1043
+ handleChangeFor("vatNumber", mode)(value);
1044
+ handleChangeFor("vatNumberType")(vatNumberType);
1045
+ };
1046
+ const handleVatNumberTypeChange = (vatType, exemptValue) => {
1047
+ if (vatType === "exempted") {
1048
+ if (!canExempt) throw Error(`${country} does not allow VAT exemptions`);
1049
+ handleChangeFor("vatNumber")(null);
1050
+ handleChangeFor("vatNumberType")(void 0);
1051
+ handleChangeFor("exemptedFromVat")(exemptValue);
1052
+ return;
1053
+ }
1054
+ if (canExempt) handleChangeFor("exemptedFromVat")(exemptValue);
1055
+ handleChangeFor("vatNumberType")(vatType);
1056
+ };
1057
+ if (vatNumberType && vatNumberType !== "exempted") {
1058
+ if (!options?.find((option) => option.id === vatNumberType)) handleChangeFor("vatNumberType")(defaultType);
1059
+ }
1060
+ if (data.exemptedFromVat === false && data.vatAbsenceReason) handleChangeFor("vatAbsenceReason")(null);
1061
+ return /* @__PURE__ */ jsxs("div", { children: [
1062
+ /* @__PURE__ */ jsx(VatNumberTypeSelector, {
1063
+ country,
1064
+ setSelected: handleVatNumberTypeChange,
1065
+ selected: vatNumberType,
1066
+ exemptedOptionLabel: showVatExemptedOptions ? labels.exemptedFromVat : void 0
1067
+ }),
1068
+ /* @__PURE__ */ jsx(MaskedInput, {
1069
+ type: "text",
1070
+ "aria-required": true,
1071
+ "aria-invalid": !valid.vatNumber,
1072
+ name: "vatNumber",
1073
+ value: data?.vatNumber ?? "",
1074
+ label: labels.vatNumber ?? "",
1075
+ formatGuidance: translateTranslatable(t, fieldMetadata.guidanceText),
1076
+ errorMessage: errors.vatNumber,
1077
+ isValid: Boolean(valid.vatNumber),
1078
+ onInput: (e) => handleVatNumberChange(e, "input"),
1079
+ onBlur: (e) => handleVatNumberChange(e, "blur"),
1080
+ disabled: data.exemptedFromVat,
1081
+ readonly,
1082
+ optional,
1083
+ shouldValidate,
1084
+ ...mask
1085
+ }),
1086
+ canExempt && !showVatExemptedOptions && /* @__PURE__ */ jsx(Field, {
1087
+ name: "exemptedFromVat",
1088
+ children: (childProps) => /* @__PURE__ */ jsx(Checkbox, {
1089
+ ...childProps,
1090
+ "aria-required": false,
1091
+ "aria-invalid": false,
1092
+ name: "exemptedFromVat",
1093
+ label: labels?.exemptedFromVat,
1094
+ value: "exemptedFromVat",
1095
+ checked: Boolean(data.exemptedFromVat),
1096
+ onChange: (e) => handleVatNumberTypeChange("exempted", e)
1097
+ })
1098
+ }),
1099
+ data.exemptedFromVat && /* @__PURE__ */ jsx(Field, {
1100
+ el: "fieldset",
1101
+ name: "vatAbsenceReason",
1102
+ label: labels?.vatAbsenceReason,
1103
+ errorMessage: errors.vatAbsenceReason,
1104
+ isValid: valid.vatAbsenceReason,
1105
+ children: (childProps) => /* @__PURE__ */ jsx(RadioGroup, {
1106
+ ...childProps,
1107
+ name: "vatAbsenceReason",
1108
+ onChange: handleChangeFor("vatAbsenceReason"),
1109
+ value: data.vatAbsenceReason,
1110
+ items: vatAbsenceReasons.map((reason) => ({
1111
+ id: reason,
1112
+ name: reason
1113
+ }))
1114
+ })
1115
+ })
1116
+ ] });
1117
+ }
1118
+ //#endregion
1119
+ //#region src/components/Shared/forms/ConstitutionalDocument/types.ts
1120
+ var ConstitutionalDocumentTypes = {
1121
+ BUSINESS_NAME_FILING: "doingBusinessAsNameFiling",
1122
+ TAX_FILING: "taxFiling",
1123
+ EMPLOYER_IDENTIFICATION_NUMBER_VERIFICATION_LETTER: "einVerificationLetter",
1124
+ BUSINESS_REGISTRATION_DOCUMENT: "businessRegistrationDocument",
1125
+ TRUST_DEED: "trustDeed",
1126
+ TRUST_INSTRUMENT: "trustInstrument",
1127
+ PARTNERSHIP_AGREEMENT: "partnershipAgreement",
1128
+ MEETING_MINUTES: "meetingMinutes"
1129
+ };
1130
+ //#endregion
1131
+ //#region src/components/Shared/forms/ConstitutionalDocument/ConstitutionalDocument.tsx
1132
+ var getConstitutionDocumentTypeOptionsMapping = (legalEntityType, country) => {
1133
+ switch (legalEntityType) {
1134
+ case "soleProprietorship": switch (country) {
1135
+ case "FR": return [
1136
+ {
1137
+ id: ConstitutionalDocumentTypes.BUSINESS_NAME_FILING,
1138
+ name: "doingBusinessAsNameFiling__FR"
1139
+ },
1140
+ {
1141
+ id: ConstitutionalDocumentTypes.TAX_FILING,
1142
+ name: "taxFiling"
1143
+ },
1144
+ {
1145
+ id: ConstitutionalDocumentTypes.BUSINESS_REGISTRATION_DOCUMENT,
1146
+ name: "businessRegistrationDocument__FR"
1147
+ }
1148
+ ];
1149
+ case "US": return [
1150
+ {
1151
+ id: ConstitutionalDocumentTypes.BUSINESS_NAME_FILING,
1152
+ name: "doingBusinessAsNameFiling__US"
1153
+ },
1154
+ {
1155
+ id: ConstitutionalDocumentTypes.TAX_FILING,
1156
+ name: "taxFiling__US"
1157
+ },
1158
+ {
1159
+ id: ConstitutionalDocumentTypes.EMPLOYER_IDENTIFICATION_NUMBER_VERIFICATION_LETTER,
1160
+ name: "einVerificationLetter"
1161
+ }
1162
+ ];
1163
+ default: return [{
1164
+ id: ConstitutionalDocumentTypes.BUSINESS_NAME_FILING,
1165
+ name: "doingBusinessAsNameFiling"
1166
+ }, {
1167
+ id: ConstitutionalDocumentTypes.TAX_FILING,
1168
+ name: "taxFiling"
1169
+ }];
1170
+ }
1171
+ case "unincorporatedPartnership": return [{
1172
+ id: ConstitutionalDocumentTypes.PARTNERSHIP_AGREEMENT,
1173
+ name: "partnershipAgreement"
1174
+ }, {
1175
+ id: ConstitutionalDocumentTypes.MEETING_MINUTES,
1176
+ name: "meetingMinutes"
1177
+ }];
1178
+ default: return [{
1179
+ id: ConstitutionalDocumentTypes.TRUST_DEED,
1180
+ name: "trustDeed"
1181
+ }, {
1182
+ id: ConstitutionalDocumentTypes.TRUST_INSTRUMENT,
1183
+ name: "trustInstrument"
1184
+ }];
1185
+ }
1186
+ };
1187
+ function getLegalEntityTypeBasedConstitutionalDocumentHeaderDescriptionTranslationkey(legalEntityType) {
1188
+ switch (legalEntityType) {
1189
+ case "soleProprietorship": return "constitutionalDocumentSoleProprietorshipHeaderDescription";
1190
+ case "trust": return "constitutionalDocumentTrustHeaderDescription";
1191
+ case "unincorporatedPartnership": return "constitutionalDocumentUnincorporatedPartnershipDescription";
1192
+ default: return "constitutionalDocumentHeaderDescription";
1193
+ }
1194
+ }
1195
+ var unincorporatedPartnershipRequirementsVariants = [
1196
+ "Name",
1197
+ "Details",
1198
+ "UpToDate"
1199
+ ];
1200
+ function ConstitutionalDocumentUpload({ id, legalEntityType, ...props }) {
1201
+ const { t } = useTranslation(["common"]);
1202
+ const isUnincorporatedPartnership = legalEntityType === "unincorporatedPartnership";
1203
+ const constitutionalDocumentRequirements = getConstitutionDocumentTypeOptionsMapping(legalEntityType, props.country);
1204
+ const guidanceContent = /* @__PURE__ */ jsxs("div", {
1205
+ className: "adyen-kyc-upload-field__guidance u-margin-bottom-24",
1206
+ children: [
1207
+ /* @__PURE__ */ jsx("strong", { children: t(($) => $["uploadOneOfTheseDocuments"]) }),
1208
+ /* @__PURE__ */ jsx("ul", { children: constitutionalDocumentRequirements?.map(({ name }, i) => /* @__PURE__ */ jsx("li", { children: t(($) => $[name]) }, i)) }),
1209
+ isUnincorporatedPartnership && /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("strong", { children: t(($) => $["documentRequirements"]) }), /* @__PURE__ */ jsx("ul", { children: unincorporatedPartnershipRequirementsVariants.map((item, i) => /* @__PURE__ */ jsx("li", { children: t(($) => $[`documentRequirementsUnincorporatedPartnership${item}`], { ns: "common" }) }, i)) })] }),
1210
+ props.country !== "US" && !isUnincorporatedPartnership && /* @__PURE__ */ jsx("div", {
1211
+ className: "u-margin-y-16",
1212
+ children: /* @__PURE__ */ jsxs("span", { children: [t(($) => $["infoInUploadedDocumentIsTrue"]), " "] })
1213
+ })
1214
+ ]
1215
+ });
1216
+ return /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(MemoizedDocumentUpload, {
1217
+ ...props,
1218
+ documentType: "constitutionalDocument",
1219
+ documentField: "constitutionalDocument",
1220
+ heading: t(($) => $["constitutionalDocumentHeader"]),
1221
+ description: t(($) => $[getLegalEntityTypeBasedConstitutionalDocumentHeaderDescriptionTranslationkey(legalEntityType)], { ns: "common" }),
1222
+ guidanceContent,
1223
+ id,
1224
+ hidePageCount: true
1225
+ }) });
1226
+ }
1227
+ var MemoizedConstitutionalDocument = memo(ConstitutionalDocumentUpload, (prevProps, nextProps) => objectsDeepEqual(prevProps.requiredFields, nextProps.requiredFields) && objectsDeepEqual(prevProps.data, nextProps.data) && objectsDeepEqual(prevProps.formVerificationErrors, nextProps.formVerificationErrors) && objectsDeepEqual(prevProps.fieldValidationErrors, nextProps.fieldValidationErrors) && prevProps.shouldValidate === nextProps.shouldValidate);
1228
+ //#endregion
1229
+ export { dateOfIncorporationFieldMetadata as _, defaultFieldConfig as a, REGISTRATION_AND_OPERATIONAL_ADDRESS_FIELDS as c, doingBusinessAsFieldMetadata as d, DBANameField as f, dateOfIncorporationFieldConfig as g, DateOfIncorporationField as h, getDefaultVatNumberType as i, RegistrationAndOperationalAddressFields as l, DATE_OF_INCORPORATION_FIELD as m, VAT_NUMBER_FIELD as n, defaultFieldMetadata as o, DBA_NAME_FIELD as p, VatNumberField as r, vatAbsenceReasonMetadata as s, MemoizedConstitutionalDocument as t, doingBusinessAsAbsentFieldMetadata as u };