@adyen/kyc-components 4.8.0 → 4.9.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1188) hide show
  1. package/dist/4-people-CmxKfDnH.js +35 -0
  2. package/dist/AcceptTermsOfServiceComponent-BaAQHutH.js +6 -0
  3. package/dist/AcceptTermsOfServiceComponent-U1D1xOlX.js +651 -0
  4. package/dist/Accordion-Btxq6sGi.js +111 -0
  5. package/dist/AccountSetupRejected-CFihsePp.js +20 -0
  6. package/dist/ActionBar-Doac020y.js +33 -0
  7. package/dist/Address-BBhttZH7.js +595 -0
  8. package/dist/Alert-C6gL3JIt.js +170 -0
  9. package/dist/Avatar-CKmUpMXT.js +54 -0
  10. package/dist/BusinessFinancingDropin-BeItAS4H.js +1796 -0
  11. package/dist/BusinessFinancingPage-Cn59r_4N.js +87 -0
  12. package/dist/BusinessTypeSelectionPage-CAIsndUZ.js +439 -0
  13. package/dist/Button-oj6H8OrC.js +189 -0
  14. package/dist/Confirm-B6TWSuab.js +76 -0
  15. package/dist/ConstitutionalDocument-CWiiY8-Q.js +2282 -0
  16. package/dist/ContactDetails-DgusRek8.js +292 -0
  17. package/dist/ContextGuidance-DdoORtLt.js +29 -0
  18. package/dist/CountryField-Dh4DfjBf.js +38 -0
  19. package/dist/Currency-V5HFH6ne.js +191 -0
  20. package/dist/CustomerSupport-CFu3E5Df.js +127 -0
  21. package/dist/DE-B5hlvfaz.js +20 -0
  22. package/dist/DE-BB3kLAb1.js +24 -0
  23. package/dist/DebugModal-CX6EZih-.js +451 -0
  24. package/dist/DecisionMakerDetails-CxhW2BO7.js +474 -0
  25. package/dist/DecisionMakerDetailsPage-FRHO8yDE.js +105 -0
  26. package/dist/DecisionMakers-CX8SYldy.js +671 -0
  27. package/dist/Dropzone-Fj83VtiJ.js +221 -0
  28. package/dist/EmbeddedStatus-C0cKHgzR.js +128 -0
  29. package/dist/EndStateLayout-ChS-vdMt.js +84 -0
  30. package/dist/EntityAssociation-DjHI99AZ.js +163 -0
  31. package/dist/EntityGuidanceStatus-F9oxfzj4.js +89 -0
  32. package/dist/ErrorPanel-B536hgSc.js +186 -0
  33. package/dist/Field-pcJkjIG_.js +155 -0
  34. package/dist/FormNavigation-ikhirSjM.js +116 -0
  35. package/dist/Header-CPmJyuoP.js +93 -0
  36. package/dist/Image-BEzOZ1tt.js +33 -0
  37. package/dist/Individual.rules-DvMQmx90.js +295 -0
  38. package/dist/IndividualDropin-5d4DRAnF.js +4961 -0
  39. package/dist/Introduction-CDJnwem7.js +271 -0
  40. package/dist/InvitedDecisionMakerComponent-BtVRLh-U.js +6 -0
  41. package/dist/InvitedDecisionMakerComponent-qaPrycQU.js +353 -0
  42. package/dist/JpAddress-IVAbHKw_.js +320 -0
  43. package/dist/LandingLayout-z8j2xiqg.js +76 -0
  44. package/dist/LegalCompanyNameField-CW82YkTh.js +108 -0
  45. package/dist/LegalRepresentativeDetailsPage-BMV6rNj3.js +73 -0
  46. package/dist/Link-6M1PZnz2.js +32 -0
  47. package/dist/ListItem-BWH4IPrj.js +70 -0
  48. package/dist/LoaderWrapper-Dq8TNJCi.js +34 -0
  49. package/dist/MaskedInput-BFPSwRto.js +714 -0
  50. package/dist/MaybeModal-CeTBIah3.js +24 -0
  51. package/dist/Modal-CioQJ7Q7.js +129 -0
  52. package/dist/Name-G92OEGxs.js +61 -0
  53. package/dist/NewSummary-C-LKBMpr.js +64 -0
  54. package/dist/PayoutDetailsDropin-2P2XBBby.js +3887 -0
  55. package/dist/PayoutDetailsPage-gCCaSV6C.js +857 -0
  56. package/dist/RadioGroup-7g7Xv9rl.js +84 -0
  57. package/dist/Review-CVbMIJPV.js +89 -0
  58. package/dist/RootBusinessDetailsPage--UFI2dVP.js +69 -0
  59. package/dist/RootBusinessLinesPage-BfwOCZsD.js +1451 -0
  60. package/dist/RootIndividualDetailsPage-CANgtG6U.js +81 -0
  61. package/dist/Select-CcSRI-H0.js +775 -0
  62. package/dist/SignPCIComponent-C_p15Efe.js +6 -0
  63. package/dist/SignPCIComponent-Wk_NI3r3.js +367 -0
  64. package/dist/SingpassSelection-CB1J2MS6.js +159 -0
  65. package/dist/SoleProprietorshipPage-BviKY2iD.js +69 -0
  66. package/dist/SourceOfFundsPage-Cdco3_9D.js +1987 -0
  67. package/dist/Spacer-CvT0ELty.js +11 -0
  68. package/dist/StepProgressIndicator-DWJ9eS5a.js +80 -0
  69. package/dist/Summary-B5IkOGJV.js +226 -0
  70. package/dist/TaskVerificationStatus-kCWYhocq.js +118 -0
  71. package/dist/TaxInformationField-D4iJyoVE.js +2857 -0
  72. package/dist/TaxReportingDropin-BOBRj6is.js +480 -0
  73. package/dist/TextArea-CRLeP4x6.js +80 -0
  74. package/dist/TileGroup-D0YbtzZ0.js +169 -0
  75. package/dist/ToastContextProvider-C-7n4Tu6.js +103 -0
  76. package/dist/TrustDetailsPage-DrZ9HGKl.js +1685 -0
  77. package/dist/TrustMemberCompanyPage-D9hFEEZm.js +107 -0
  78. package/dist/TrustMemberIndividualPage-B3sb9HRd.js +107 -0
  79. package/dist/TrustMemberRoleAndTypePage-wrnuKHRd.js +943 -0
  80. package/dist/TrustMembersOverview-DexR4fmv.js +350 -0
  81. package/dist/UnincorporatedPartnershipIndividualPage-DylG-9F5.js +78 -0
  82. package/dist/UnincorporatedPartnershipMemberCompanyPage-DPOYWdzd.js +78 -0
  83. package/dist/UnincorporatedPartnershipMemberRoleAndTypePage-j1MG7dgo.js +276 -0
  84. package/dist/UnincorporatedPartnershipMembersOverview-yi5iVO-v.js +156 -0
  85. package/dist/VerificationErrorAlert-DR3lTJhB.js +38 -0
  86. package/dist/adyen-business-financing.js +84 -84
  87. package/dist/adyen-individual-configuration.js +86 -86
  88. package/dist/adyen-individual-status.js +35 -35
  89. package/dist/adyen-invited-decision-maker.js +3 -3
  90. package/dist/adyen-onboarding.js +111 -111
  91. package/dist/adyen-terms-of-service-management.js +4 -4
  92. package/dist/adyen-terms-of-service-status.js +57 -57
  93. package/dist/adyen-transfer-instrument-configuration.js +83 -83
  94. package/dist/adyen-transfer-instrument-management.js +94 -94
  95. package/dist/adyen-verification-status.js +34 -34
  96. package/dist/arrow-right-CBQUuXWn.js +20 -0
  97. package/dist/bag-B73BWByo.js +20 -0
  98. package/dist/bank-BfKT2Hlo.js +20 -0
  99. package/dist/bg-BG-B3fdlAsP.js +7 -0
  100. package/dist/bg-BG-BUBUyZgz.js +60 -0
  101. package/dist/bg-BG-COHRuTI-.js +7 -0
  102. package/dist/bg-BG-CodTfJR6.js +7 -0
  103. package/dist/bin-CR2JtyeA.js +30 -0
  104. package/dist/capital-C0dL_JnU.js +23 -0
  105. package/dist/cash-stack-qIbSKCET.js +33 -0
  106. package/dist/certificate-Cv-GCGT_.js +23 -0
  107. package/dist/checkmark-B5bpiMC3.js +20 -0
  108. package/dist/checkmark-circle-fill-BEzw_Ad8.js +30 -0
  109. package/dist/checkmark-circle-lv03ep4H.js +28 -0
  110. package/dist/checkmark-small-3mQnvwQ8.js +20 -0
  111. package/dist/chevron-down-dEHOUt1A.js +20 -0
  112. package/dist/chevron-left-DPUZ5uGm.js +20 -0
  113. package/dist/chevron-right-Bul4T3tl.js +20 -0
  114. package/dist/chevron-up-DMqLHgxc.js +20 -0
  115. package/dist/circle-BrnvXI-e.js +30 -0
  116. package/dist/circle-small-filled-ni7ir6ux.js +20 -0
  117. package/dist/clock-CGVkf1Ve.js +28 -0
  118. package/dist/coins-CZegEaHP.js +30 -0
  119. package/dist/contract-BKSU2cwd.js +20 -0
  120. package/dist/cross-Du29KQ50.js +20 -0
  121. package/dist/cross-circle-fill-DKtory30.js +30 -0
  122. package/dist/cross-circle-fill-small-CbhK-gt9.js +20 -0
  123. package/dist/cs-CZ-BFJyFYpX.js +60 -0
  124. package/dist/cs-CZ-BLE9aLKg.js +7 -0
  125. package/dist/cs-CZ-BfrGDPxg.js +7 -0
  126. package/dist/cs-CZ-CmcYZLZp.js +7 -0
  127. package/dist/da-DK-BNvIcL59.js +60 -0
  128. package/dist/da-DK-BhPEeSfb.js +7 -0
  129. package/dist/da-DK-C_oe1bpM.js +7 -0
  130. package/dist/da-DK-DtAW2xZE.js +7 -0
  131. package/dist/de-DE-B8Eby_UK.js +60 -0
  132. package/dist/de-DE-CMc1Fpfl.js +7 -0
  133. package/dist/de-DE-DXNTaizu.js +7 -0
  134. package/dist/de-DE-JbgxmFfV.js +7 -0
  135. package/dist/document-1-aQlMSWwx.js +20 -0
  136. package/dist/document-person-CjV96CE2.js +28 -0
  137. package/dist/download-Byq3TeQ7.js +23 -0
  138. package/dist/dropinUtils-IdasFZCU.js +275 -0
  139. package/dist/edit-1-B3TJrgU8.js +20 -0
  140. package/dist/el-GR-Bv2QgmVV.js +7 -0
  141. package/dist/el-GR-DYmDnzZe.js +60 -0
  142. package/dist/el-GR-DzVIM3MW.js +7 -0
  143. package/dist/el-GR-qH2iIn7-.js +7 -0
  144. package/dist/en-US-cJAmQhFR.js +10 -0
  145. package/dist/es-ES-DLBRDQJZ.js +60 -0
  146. package/dist/es-ES-DMjKXw-3.js +7 -0
  147. package/dist/es-ES-DtlXpZ_5.js +7 -0
  148. package/dist/es-ES-yxJhxnWV.js +7 -0
  149. package/dist/et-EE-BwKPcihb.js +7 -0
  150. package/dist/et-EE-C3h50xW-.js +7 -0
  151. package/dist/et-EE-C_Z4PWda.js +60 -0
  152. package/dist/et-EE-PTcJ2hRW.js +7 -0
  153. package/dist/external-link-DYtCXxMx.js +20 -0
  154. package/dist/fi-FI-BbwbWwYb.js +7 -0
  155. package/dist/fi-FI-C1Ns3CEo.js +7 -0
  156. package/dist/fi-FI-azwPyx-k.js +60 -0
  157. package/dist/fi-FI-wGXRm-tZ.js +7 -0
  158. package/dist/fr-FR-CzdHSH04.js +60 -0
  159. package/dist/fr-FR-DgPRYmmJ.js +7 -0
  160. package/dist/fr-FR-YG31LnB2.js +7 -0
  161. package/dist/fr-FR-mFwC-nNY.js +7 -0
  162. package/dist/getProblemsForEntity-a39L2dH8.js +16 -0
  163. package/dist/gift-30hYMA9-.js +20 -0
  164. package/dist/globalStore-BjMds47R.js +418 -0
  165. package/dist/graph-CzlxS7Vy.js +32 -0
  166. package/dist/graph-up-CE291Upm.js +38 -0
  167. package/dist/graphical-laptop-DX_EZlVD.js +706 -0
  168. package/dist/headquarter-i418irxh.js +42 -0
  169. package/dist/hotel-a4lSlfvp.js +33 -0
  170. package/dist/hr-HR-BAeB6ZDz.js +7 -0
  171. package/dist/hr-HR-BQfjrcPC.js +7 -0
  172. package/dist/hr-HR-Bgny6YH0.js +7 -0
  173. package/dist/hr-HR-C7Hp8OgD.js +60 -0
  174. package/dist/http-msAasD57.js +148 -0
  175. package/dist/hu-HU-B34uBEZ9.js +60 -0
  176. package/dist/hu-HU-Bb1gk4Jr.js +7 -0
  177. package/dist/hu-HU-Bpaw2qU0.js +7 -0
  178. package/dist/hu-HU-DfYPelYo.js +7 -0
  179. package/dist/image-DobgR711.js +23 -0
  180. package/dist/info-DEkQ-8WE.js +32 -0
  181. package/dist/info-filled-C68IJNrw.js +32 -0
  182. package/dist/invalidateRootLegalEntity-B4bAFkQS.js +45 -0
  183. package/dist/it-IT-BCqVu72_.js +60 -0
  184. package/dist/it-IT-CmoZrxWa.js +7 -0
  185. package/dist/it-IT-DX5qNq8o.js +7 -0
  186. package/dist/it-IT-cnETv3Cg.js +7 -0
  187. package/dist/ja-JP-C7_6K98B.js +60 -0
  188. package/dist/ja-JP-CyP1sKap.js +7 -0
  189. package/dist/ja-JP-D0gz56Ni.js +7 -0
  190. package/dist/ja-JP-DeQYHyel.js +7 -0
  191. package/dist/localizeDateString-1A3eC6hp.js +35 -0
  192. package/dist/location-CGZGwAk9.js +23 -0
  193. package/dist/lt-LT-Bbh9MWxc.js +7 -0
  194. package/dist/lt-LT-BhzsTniu.js +60 -0
  195. package/dist/lt-LT-D0_qhzNo.js +7 -0
  196. package/dist/lt-LT-DJkDO0Uf.js +7 -0
  197. package/dist/lv-LV-B6yxwa6Z.js +60 -0
  198. package/dist/lv-LV-BdQdKiBb.js +7 -0
  199. package/dist/lv-LV-Bfkan_1O.js +7 -0
  200. package/dist/lv-LV-C8fqHR2g.js +7 -0
  201. package/dist/mail-DoEbKDBx.js +20 -0
  202. package/dist/mapExistingFile-Djcwti5D.js +138 -0
  203. package/dist/mapJpAddressSchemaToAddressLocalizations-C-Kwjo9Q.js +61 -0
  204. package/dist/mapLegalEntityToIndividualSchema-BG1tpKz9.js +206 -0
  205. package/dist/mapTransferInstrumentToPayoutAccount-BQebHQfz.js +44 -0
  206. package/dist/minus-circle-filled-BnkSMCtd.js +30 -0
  207. package/dist/nl-NL-4iZ44kzK.js +60 -0
  208. package/dist/nl-NL-CQ4ZHb3p.js +7 -0
  209. package/dist/nl-NL-CQSu4iNn.js +7 -0
  210. package/dist/nl-NL-DXnNGqSV.js +7 -0
  211. package/dist/no-NO-B1v42GMO2.js +7 -0
  212. package/dist/no-NO-BSJ1rjY4.js +60 -0
  213. package/dist/no-NO-C0DXekH-.js +7 -0
  214. package/dist/no-NO-D_KcEh_g.js +7 -0
  215. package/dist/omitObscuredFieldsIfUnchanged-Cx1OCZuB.js +20 -0
  216. package/dist/options-horizontal-D-HDgCXI.js +30 -0
  217. package/dist/partner-d2hFoENh.js +30 -0
  218. package/dist/pay-by-link-plane-CPfnEsJ1.js +33 -0
  219. package/dist/payout-BLb3D4s1.js +38 -0
  220. package/dist/person-oQB0xWxS.js +23 -0
  221. package/dist/phonePrefixes-DcdX_CFz.js +252 -0
  222. package/dist/pl-PL-10KUcobm.js +7 -0
  223. package/dist/pl-PL-BHjlKdWC.js +60 -0
  224. package/dist/pl-PL-C0t949uz.js +7 -0
  225. package/dist/pl-PL-C5u2-nG22.js +7 -0
  226. package/dist/plus-circle-filled-DjQkTAs3.js +30 -0
  227. package/dist/plus-ohr5jEJX.js +20 -0
  228. package/dist/process-field-configurations-C7MuEj5q.js +279 -0
  229. package/dist/processCapabilities-DlZY9-Jc.js +869 -0
  230. package/dist/pt-BR-9jLurhS32.js +7 -0
  231. package/dist/pt-BR-BMIZHo3V.js +60 -0
  232. package/dist/pt-BR-DWKF33yP.js +7 -0
  233. package/dist/pt-BR-DcbjZDZp.js +7 -0
  234. package/dist/pt-PT-B6DsKlac2.js +7 -0
  235. package/dist/pt-PT-BRU9TQPI.js +7 -0
  236. package/dist/pt-PT-CjIFIi4R.js +7 -0
  237. package/dist/pt-PT-s_KcBKav.js +60 -0
  238. package/dist/recurring-DmyMJdwC.js +23 -0
  239. package/dist/resolveEnvironment-zY9lPkwJ.js +1176 -0
  240. package/dist/revenue-accelerate-BN3AdS3k.js +30 -0
  241. package/dist/ro-RO-9TjoIVJf2.js +7 -0
  242. package/dist/ro-RO-B8XucTSz.js +7 -0
  243. package/dist/ro-RO-DQFRJwp8.js +7 -0
  244. package/dist/ro-RO-DsFmqo3p.js +60 -0
  245. package/dist/save-CsdmY84G.js +20 -0
  246. package/dist/search-BXGLED99.js +30 -0
  247. package/dist/show-nnMbIf7M.js +23 -0
  248. package/dist/singpass-logo-C6TfxlXU.js +33 -0
  249. package/dist/singpass-logo-small-BcAlrN2f.js +22 -0
  250. package/dist/sk-SK-BfoXFhAL.js +7 -0
  251. package/dist/sk-SK-BspZv60l.js +60 -0
  252. package/dist/sk-SK-D5_Q4Djr2.js +7 -0
  253. package/dist/sk-SK-DncQ0dRM.js +7 -0
  254. package/dist/sl-SI-Ce45OvpM.js +7 -0
  255. package/dist/sl-SI-CuNIMCGx2.js +7 -0
  256. package/dist/sl-SI-CyIN1sc5.js +7 -0
  257. package/dist/sl-SI-D26FDPwq.js +60 -0
  258. package/dist/solution-payments-C_H8klpJ.js +20 -0
  259. package/dist/store-D8kYfDDN.js +20 -0
  260. package/dist/style.css +247 -352
  261. package/dist/styles-BKzp-1_V.js +5883 -0
  262. package/dist/sv-SE-C11kwGTV2.js +7 -0
  263. package/dist/sv-SE-CAQm2GVJ.js +7 -0
  264. package/dist/sv-SE-JKGeqd9J.js +60 -0
  265. package/dist/sv-SE-Xh17T6yC.js +7 -0
  266. package/dist/terminal-1-B3NwyGSs.js +30 -0
  267. package/dist/translation-BFxyJ1c5.js +854 -0
  268. package/dist/types/api/companyDataSet/companyDataset.types.d.ts +3 -16
  269. package/dist/types/api/companyDataSet/handleCompanyDataset.d.ts +3 -6
  270. package/dist/types/api/companySearch/companySearch.types.d.ts +4 -20
  271. package/dist/types/api/companySearch/useCompanySearch.d.ts +58 -61
  272. package/dist/types/api/companySelection/companySelection.types.d.ts +3 -3
  273. package/dist/types/api/invitations/invitations.types.d.ts +4 -3
  274. package/dist/types/api/pci/pci.types.d.ts +4 -3
  275. package/dist/types/api/pci/useSignPci.d.ts +2 -1
  276. package/dist/types/api/termsOfService/termsOfService.types.d.ts +3 -2
  277. package/dist/types/api/termsOfService/useTermsOfService.d.ts +2 -1
  278. package/dist/types/api/termsOfService/useTermsOfServiceAcceptanceInfos.d.ts +2 -1
  279. package/dist/types/api/termsOfService/useTermsOfServiceStatus.d.ts +2 -1
  280. package/dist/types/api/tinVerification/useVerifyTin.d.ts +6 -6
  281. package/dist/types/components/Business/forms/AdditionalInformation/VerifiedBusinessCard/VerifiedBusinessCard.d.ts +2 -2
  282. package/dist/types/components/Business/forms/AdditionalInformation/utils.d.ts +2 -2
  283. package/dist/types/components/Business/forms/BusinessDetails/forms.d.ts +2 -1
  284. package/dist/types/components/Business/forms/BusinessSelection/BusinessInformationCard/BusinessInformationCard.d.ts +5 -5
  285. package/dist/types/components/Business/forms/rules.d.ts +1 -0
  286. package/dist/types/components/Business/mapping/businessDetails/mapLegalEntityToBusinessDetailsSchema.d.ts +3 -1
  287. package/dist/types/components/Business/utils/applyVerifiedBusinessData.d.ts +1 -1
  288. package/dist/types/components/Business/utils/usePrefetchCompanySearch.d.ts +9 -0
  289. package/dist/types/components/Individual/forms/IdDocumentUpload/IdDocumentManualUpload.d.ts +0 -1
  290. package/dist/types/components/Shared/SingpassSelection/SingpassSelection.d.ts +0 -1
  291. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/BusinessRegistrationNumberField.d.ts +1 -1
  292. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/RegistrationNumberTypeSelector/CompanyRegistrationNumberTypeSelector.d.ts +2 -1
  293. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/RegistrationNumberTypeSelector/getDefaultRegistrationNumberType.d.ts +1 -1
  294. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/RegistrationNumberTypeSelector/inferCompanyRegistrationNumberType.d.ts +1 -1
  295. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/fieldConfig.d.ts +0 -1
  296. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/registrationNumberTypes.d.ts +15 -3
  297. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/types.d.ts +1 -0
  298. package/dist/types/components/Shared/fields/TaxInformationField/TaxIdNumberTypeSelector/TaxIdNumberTypeSelector.d.ts +2 -1
  299. package/dist/types/components/Shared/fields/TaxInformationField/TaxIdNumberTypeSelector/getDefaultTaxIdNumberType.d.ts +1 -1
  300. package/dist/types/components/Shared/fields/TaxInformationField/TaxIdNumberTypeSelector/inferTaxIdNumberType.d.ts +1 -1
  301. package/dist/types/components/Shared/fields/TaxInformationField/TaxInformationField.d.ts +1 -1
  302. package/dist/types/components/Shared/fields/TaxInformationField/taxIdNumberTypes.d.ts +3 -2
  303. package/dist/types/components/Shared/fields/TaxInformationField/types.d.ts +1 -0
  304. package/dist/types/components/Shared/forms/Address/types.d.ts +2 -2
  305. package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
  306. package/dist/types/components/Shared/forms/CompanyNameAndCountry/types.d.ts +0 -8
  307. package/dist/types/components/ui/atoms/Accordion/Accordion.d.ts +2 -1
  308. package/dist/types/components/ui/atoms/Card/Card.d.ts +2 -2
  309. package/dist/types/components/ui/atoms/Field/Field.d.ts +1 -4
  310. package/dist/types/components/ui/atoms/Header/Header.d.ts +3 -3
  311. package/dist/types/components/ui/atoms/List/List.d.ts +3 -3
  312. package/dist/types/components/ui/atoms/ListItem/ListItem.d.ts +3 -3
  313. package/dist/types/components/ui/atoms/LoaderWrapper/LoaderWrapper.d.ts +2 -1
  314. package/dist/types/components/ui/atoms/MultiSelectList/MultiSelectList.d.ts +2 -1
  315. package/dist/types/components/ui/atoms/ProgressBar/ProgressBar.d.ts +5 -1
  316. package/dist/types/components/ui/atoms/Status/Status.d.ts +2 -2
  317. package/dist/types/context/I18nProvider/I18nContext.d.ts +2 -1
  318. package/dist/types/context/ToggleContext/types.d.ts +4 -4
  319. package/dist/types/utils/analytics/trackNavigation.d.ts +2 -1
  320. package/dist/types/utils/entityStatusUtil.d.ts +1 -1
  321. package/dist/types/utils/perCountry.d.ts +0 -3
  322. package/dist/types-8S6KTD2W.js +68 -0
  323. package/dist/types-qnPNJzLh.js +58 -0
  324. package/dist/upload-5PvAU00H.js +23 -0
  325. package/dist/useAccountHolder-CnO_E-AQ.js +102 -0
  326. package/dist/useAllowedCountries-F0wCZ8Fv.js +74 -0
  327. package/dist/useAssociatedLegalEntity-b2rR6eT1.js +35 -0
  328. package/dist/useBusinessDetailsData-DcI9hO0m.js +4365 -0
  329. package/dist/useBusinessLines-RQQdWQf5.js +27 -0
  330. package/dist/useCapabilities-BhSlO8Qy.js +12 -0
  331. package/dist/useCreateLegalEntity-DizCrhrt.js +24 -0
  332. package/dist/useDataMissingRemediations-CARoFWDr.js +39 -0
  333. package/dist/useDataset-ZHrWhmsh.js +96 -0
  334. package/dist/useDeleteTransferInstrument-Cbdy-qgj.js +31 -0
  335. package/dist/useForm-pUkvCLc9.js +502 -0
  336. package/dist/useFormContext-Cx9-3iXR.js +178 -0
  337. package/dist/useGlobalData-DD00rA9R.js +164 -0
  338. package/dist/useLegalEntity-Dv5dgbCO.js +48 -0
  339. package/dist/useMultiForm-B3e1ImN3.js +754 -0
  340. package/dist/useNavigate-CeOK4FRT.js +268 -0
  341. package/dist/useOnboardingStatus-ByU7lXjv.js +23 -0
  342. package/dist/usePciQuestionnaireList-CF58LcYV.js +26 -0
  343. package/dist/useSalesChannels--nshXveh.js +47 -0
  344. package/dist/useScenarios-gjy5hxIo.js +55 -0
  345. package/dist/useTaskStatus-CHWVSBuo.js +51 -0
  346. package/dist/useTermsOfServiceStatus-C6UX8Rtp.js +39 -0
  347. package/dist/useTrustMembers-Bhi2t_pX.js +152 -0
  348. package/dist/useUnincorporatedPartnershipMembers-IvAeX76z.js +70 -0
  349. package/dist/useUpdateBusinessLines-CLiF20xN.js +296 -0
  350. package/dist/useUpdateLegalEntity-Dcvfr-yZ.js +29 -0
  351. package/dist/utils-B807QaDx.js +88 -0
  352. package/dist/utils-BptSfkns.js +188 -0
  353. package/dist/utils-DRjqyP-s.js +805 -0
  354. package/dist/validate-AqTlBSU4.js +387 -0
  355. package/dist/validate-BRATlfVl.js +411 -0
  356. package/dist/validationError-BzQCrJPn.js +68 -0
  357. package/dist/warning-circle-fill-8KMHOOon.js +30 -0
  358. package/dist/warning-diamond-filled-CKvlLEGk.js +30 -0
  359. package/dist/webinar-D2TO4Mw_.js +33 -0
  360. package/package.json +28 -33
  361. package/dist/4-people-7MltvEnk.js +0 -35
  362. package/dist/AcceptTermsOfServiceComponent-BKgdZKrj.js +0 -651
  363. package/dist/AcceptTermsOfServiceComponent-CUIdPIg8.js +0 -6
  364. package/dist/Accordion-Dmrb3-v6.js +0 -111
  365. package/dist/AccountSetupRejected-DkwJLZ-8.js +0 -20
  366. package/dist/ActionBar-ITEbcxgG.js +0 -33
  367. package/dist/Address-CnQ22ndb.js +0 -595
  368. package/dist/Alert-BER6uCP8.js +0 -170
  369. package/dist/Avatar-DElKUUVp.js +0 -54
  370. package/dist/BusinessFinancingDropin-B8ZJDKWU.js +0 -1796
  371. package/dist/BusinessFinancingPage-B2EuTX1b.js +0 -87
  372. package/dist/BusinessTypeSelectionPage-CChAObkr.js +0 -439
  373. package/dist/Button-DvWt5T9O.js +0 -189
  374. package/dist/Confirm-BmiOH3Vr.js +0 -76
  375. package/dist/ConstitutionalDocument-rRO4Qdx2.js +0 -2228
  376. package/dist/ContactDetails-tVqSDGqY.js +0 -292
  377. package/dist/ContextGuidance-DKKgj5gN.js +0 -29
  378. package/dist/CountryField-s5-jZTU9.js +0 -38
  379. package/dist/Currency-gYKD3DSx.js +0 -191
  380. package/dist/CustomerSupport-kwwKDe5a.js +0 -127
  381. package/dist/DE-BOCSw-Jn.js +0 -23
  382. package/dist/DE-hCefE4qL.js +0 -20
  383. package/dist/DebugModal-COszvbWk.js +0 -451
  384. package/dist/DecisionMakerDetails-DA9upL0W.js +0 -471
  385. package/dist/DecisionMakerDetailsPage-B7iGmS0R.js +0 -105
  386. package/dist/DecisionMakers-BZRkBx5n.js +0 -670
  387. package/dist/Dropzone-By_YOrv2.js +0 -221
  388. package/dist/EmbeddedStatus-DeSYswbC.js +0 -128
  389. package/dist/EndStateLayout-CR8wHeA1.js +0 -84
  390. package/dist/EntityAssociation-CKOd_SVw.js +0 -163
  391. package/dist/EntityGuidanceStatus-C_rpRyk4.js +0 -89
  392. package/dist/ErrorPanel-4juOd8Z2.js +0 -186
  393. package/dist/Field-C2ZpB0wo.js +0 -155
  394. package/dist/FormNavigation-IqQmylMk.js +0 -116
  395. package/dist/Header-BNb1zwkF.js +0 -93
  396. package/dist/Image-BTVEK7B2.js +0 -33
  397. package/dist/Individual.rules-B3pCow6J.js +0 -295
  398. package/dist/IndividualDropin-bFgrHziM.js +0 -4946
  399. package/dist/Introduction-BRwmMwP8.js +0 -271
  400. package/dist/InvitedDecisionMakerComponent-DD1vVyTG.js +0 -6
  401. package/dist/InvitedDecisionMakerComponent-g4s20v7g.js +0 -353
  402. package/dist/JpAddress-DcrYSdH2.js +0 -319
  403. package/dist/LandingLayout-BQZNXhZ_.js +0 -76
  404. package/dist/LegalCompanyNameField-D91em8Tk.js +0 -108
  405. package/dist/LegalRepresentativeDetailsPage-BeNRjz37.js +0 -73
  406. package/dist/Link-DKiaZfxB.js +0 -32
  407. package/dist/ListItem-zVPVQbER.js +0 -70
  408. package/dist/LoaderWrapper-DWKykOjd.js +0 -34
  409. package/dist/MaskedInput-zFUBaX87.js +0 -714
  410. package/dist/MaybeModal-Dsgozf1o.js +0 -24
  411. package/dist/Modal-UfgpuJZi.js +0 -129
  412. package/dist/Name-DC5eBwEU.js +0 -61
  413. package/dist/NewSummary-DVIIH1Ml.js +0 -64
  414. package/dist/PayoutDetailsDropin-DAUlhP1c.js +0 -3909
  415. package/dist/PayoutDetailsPage-mJE3Hgy9.js +0 -857
  416. package/dist/Radio-D6uF9-cu.js +0 -21
  417. package/dist/RadioGroup-Bi9v9dZu.js +0 -71
  418. package/dist/Review-C-B_R1FH.js +0 -89
  419. package/dist/RootBusinessDetailsPage-9ccBcunp.js +0 -67
  420. package/dist/RootBusinessLinesPage-LQptA58p.js +0 -1451
  421. package/dist/RootIndividualDetailsPage-DlzHpNEn.js +0 -81
  422. package/dist/Select-DDSua27l.js +0 -775
  423. package/dist/SignPCIComponent-DGWjjIO0.js +0 -367
  424. package/dist/SignPCIComponent-DvZAN38F.js +0 -6
  425. package/dist/SingpassSelection-PepG3R0o.js +0 -244
  426. package/dist/SoleProprietorshipPage-DnThw6us.js +0 -69
  427. package/dist/SourceOfFundsPage-CuIBGc8z.js +0 -1987
  428. package/dist/Spacer-_Y17BH-4.js +0 -11
  429. package/dist/StepProgressIndicator-CzDT61ie.js +0 -80
  430. package/dist/Summary-B8AA9_C_.js +0 -226
  431. package/dist/TaskVerificationStatus-UnhKHQYu.js +0 -118
  432. package/dist/TaxInformationField-zwmzV8Ov.js +0 -2830
  433. package/dist/TaxReportingDropin-BZ67pubt.js +0 -480
  434. package/dist/TextArea-CyATBUKN.js +0 -80
  435. package/dist/TileGroup-tVHAZBni.js +0 -169
  436. package/dist/ToastContextProvider-BWJct14f.js +0 -103
  437. package/dist/TrustDetailsPage-DLIvcoSr.js +0 -1685
  438. package/dist/TrustMemberCompanyPage-Q0FDNUXO.js +0 -107
  439. package/dist/TrustMemberIndividualPage-C4FZ57EQ.js +0 -107
  440. package/dist/TrustMemberRoleAndTypePage-s8ZOlbBU.js +0 -943
  441. package/dist/TrustMembersOverview-CZ-i1Yoq.js +0 -350
  442. package/dist/UnincorporatedPartnershipIndividualPage-DElj-rnx.js +0 -78
  443. package/dist/UnincorporatedPartnershipMemberCompanyPage-B2iYbHPm.js +0 -78
  444. package/dist/UnincorporatedPartnershipMemberRoleAndTypePage-BgNE2bk7.js +0 -276
  445. package/dist/UnincorporatedPartnershipMembersOverview-BwCLw7rz.js +0 -156
  446. package/dist/VerificationErrorAlert-C_9CLF8G.js +0 -38
  447. package/dist/arrow-right-BzximXQd.js +0 -20
  448. package/dist/bag-CV-7aEOY.js +0 -20
  449. package/dist/bank-B3QWGDvh.js +0 -20
  450. package/dist/bg-BG-B59ND_11.js +0 -59
  451. package/dist/bg-BG-DeVGTTeO.js +0 -7
  452. package/dist/bg-BG-sDNpvadv.js +0 -7
  453. package/dist/bg-BG-xv1T8Cru.js +0 -7
  454. package/dist/bin-Nm57SUCy.js +0 -30
  455. package/dist/capital-BIrjrei_.js +0 -23
  456. package/dist/cash-stack-q8jqAQnj.js +0 -33
  457. package/dist/certificate-BA32wlVD.js +0 -23
  458. package/dist/checkmark-Sx0Eq9g1.js +0 -20
  459. package/dist/checkmark-circle-D25SXuEg.js +0 -28
  460. package/dist/checkmark-circle-fill-DWyHVNKM.js +0 -30
  461. package/dist/checkmark-small-BYKwXmot.js +0 -20
  462. package/dist/chevron-down-BY9NvSX2.js +0 -20
  463. package/dist/chevron-left-1TeIr8LI.js +0 -20
  464. package/dist/chevron-right-D3ORtAcK.js +0 -20
  465. package/dist/chevron-up-DSUlaHcZ.js +0 -20
  466. package/dist/circle-BLLy-RH7.js +0 -30
  467. package/dist/circle-small-filled-C_6B84Iy.js +0 -20
  468. package/dist/clock-lHMbm7lZ.js +0 -28
  469. package/dist/coins-DM30OZR2.js +0 -30
  470. package/dist/contract-CHdRrIxe.js +0 -20
  471. package/dist/cross-circle-fill-CmXERg4H.js +0 -30
  472. package/dist/cross-circle-fill-small-CMz7hV-a.js +0 -20
  473. package/dist/cross-eL7Kqv7I.js +0 -20
  474. package/dist/cs-CZ-BkegBLH0.js +0 -7
  475. package/dist/cs-CZ-DNo3i13i.js +0 -59
  476. package/dist/cs-CZ-DoyjAWTB.js +0 -7
  477. package/dist/cs-CZ-DzvqR4Si.js +0 -7
  478. package/dist/da-DK-BpC27U0O.js +0 -7
  479. package/dist/da-DK-C-6cZEqg.js +0 -59
  480. package/dist/da-DK-CLzpAJZX.js +0 -7
  481. package/dist/da-DK-d-G4WSG9.js +0 -7
  482. package/dist/de-DE-4UdLDq_d.js +0 -59
  483. package/dist/de-DE-BX0mu_5B.js +0 -7
  484. package/dist/de-DE-jwrvfE6B.js +0 -7
  485. package/dist/de-DE-zVrwBFVP.js +0 -7
  486. package/dist/document-1-CAkgmlsx.js +0 -20
  487. package/dist/document-person-BMqoEMgx.js +0 -28
  488. package/dist/download-CUCb0PT7.js +0 -23
  489. package/dist/dropinUtils-FIEFyS0F.js +0 -275
  490. package/dist/edit-1-DqX_7cbs.js +0 -20
  491. package/dist/el-GR-B08o_Wr7.js +0 -59
  492. package/dist/el-GR-BV0tj_MA.js +0 -7
  493. package/dist/el-GR-C5lpMpmF.js +0 -7
  494. package/dist/el-GR-CDp-bn0j.js +0 -7
  495. package/dist/en-US-D8jS6G6S.js +0 -10
  496. package/dist/es-ES-B9kTevXB.js +0 -59
  497. package/dist/es-ES-BJfw2diu.js +0 -7
  498. package/dist/es-ES-B_kBpFxZ.js +0 -7
  499. package/dist/es-ES-CHyhM1uh.js +0 -7
  500. package/dist/et-EE-BcWPn7Cl.js +0 -7
  501. package/dist/et-EE-BnDOa_4e.js +0 -7
  502. package/dist/et-EE-GTXnG-3j.js +0 -59
  503. package/dist/et-EE-SeklRCmh.js +0 -7
  504. package/dist/external-link-V6JPH8K0.js +0 -20
  505. package/dist/fi-FI-80q1y1Bb.js +0 -59
  506. package/dist/fi-FI-BcXm_vtP.js +0 -7
  507. package/dist/fi-FI-Dz25oorf.js +0 -7
  508. package/dist/fi-FI-n4x7ZOmh.js +0 -7
  509. package/dist/fr-FR-ANv8VCCV.js +0 -7
  510. package/dist/fr-FR-CDTGvZzl.js +0 -7
  511. package/dist/fr-FR-D2Ep3xgM.js +0 -59
  512. package/dist/fr-FR-bqkpOtF1.js +0 -7
  513. package/dist/getProblemsForEntity-Df8xJUr2.js +0 -16
  514. package/dist/gift-C3MzdRIj.js +0 -20
  515. package/dist/globalStore-BsvLFLDr.js +0 -418
  516. package/dist/graph-BJ7yemhR.js +0 -32
  517. package/dist/graph-up-CWzty_jt.js +0 -38
  518. package/dist/headquarter-COstZFO7.js +0 -42
  519. package/dist/hotel-C1vO2ZiV.js +0 -33
  520. package/dist/hr-HR-C4Bv0YpX.js +0 -59
  521. package/dist/hr-HR-CBySzkSl.js +0 -7
  522. package/dist/hr-HR-CLRdCbY_.js +0 -7
  523. package/dist/hr-HR-CjbJFQJu.js +0 -7
  524. package/dist/http-btI4x32X.js +0 -148
  525. package/dist/hu-HU-3a4f6Po4.js +0 -59
  526. package/dist/hu-HU-Bg2UoMm1.js +0 -7
  527. package/dist/hu-HU-CsOzXRwg.js +0 -7
  528. package/dist/hu-HU-DHZf-Z1b.js +0 -7
  529. package/dist/image-Ctf24Eqr.js +0 -23
  530. package/dist/info-CKFBABlx.js +0 -32
  531. package/dist/info-filled-BtKXWmDk.js +0 -32
  532. package/dist/invalidateRootLegalEntity-BbVdQNIY.js +0 -45
  533. package/dist/it-IT-4udyC9ua.js +0 -7
  534. package/dist/it-IT-C2wbwYWQ.js +0 -59
  535. package/dist/it-IT-D8RXfncB.js +0 -7
  536. package/dist/it-IT-DpTVTcDk.js +0 -7
  537. package/dist/ja-JP-DRYUrb3a.js +0 -7
  538. package/dist/ja-JP-DbHm_J96.js +0 -7
  539. package/dist/ja-JP-DxUBevNe.js +0 -59
  540. package/dist/ja-JP-WirIWnQi.js +0 -7
  541. package/dist/localizeDateString-AhjDnkHD.js +0 -35
  542. package/dist/location-CpaR6p3k.js +0 -23
  543. package/dist/lt-LT-4dQRWgMS.js +0 -7
  544. package/dist/lt-LT-BE20J_Fa.js +0 -59
  545. package/dist/lt-LT-RYz2_iMh.js +0 -7
  546. package/dist/lt-LT-lr-xOt-0.js +0 -7
  547. package/dist/lv-LV-7toRaVhs.js +0 -7
  548. package/dist/lv-LV-BXLZTnKa.js +0 -59
  549. package/dist/lv-LV-DykVV_JJ.js +0 -7
  550. package/dist/lv-LV-qidnvuKE.js +0 -7
  551. package/dist/mail-uoxYIc94.js +0 -20
  552. package/dist/mapExistingFile-DdeA1Ya3.js +0 -138
  553. package/dist/mapJpAddressSchemaToAddressLocalizations-DiB3xFfa.js +0 -61
  554. package/dist/mapLegalEntityToIndividualSchema-CK2d-XB-.js +0 -206
  555. package/dist/mapTransferInstrumentToPayoutAccount-5vTCCl4n.js +0 -44
  556. package/dist/minus-circle-filled-B_E6PncD.js +0 -30
  557. package/dist/nl-NL-BsMqXzW2.js +0 -7
  558. package/dist/nl-NL-BxRQSueu.js +0 -7
  559. package/dist/nl-NL-Ch1_Ho4H2.js +0 -7
  560. package/dist/nl-NL-DZOwYmdT.js +0 -59
  561. package/dist/no-NO-Bj-bFlwW.js +0 -59
  562. package/dist/no-NO-CMSuTQFP.js +0 -7
  563. package/dist/no-NO-CpQs6Kuj.js +0 -7
  564. package/dist/no-NO-CzUEYJ6T2.js +0 -7
  565. package/dist/omitObscuredFieldsIfUnchanged-B7VNFVgY.js +0 -20
  566. package/dist/options-horizontal-CDJtmlVY.js +0 -30
  567. package/dist/partner-gFUctV1k.js +0 -30
  568. package/dist/pay-by-link-plane-q4Bh-mWo.js +0 -33
  569. package/dist/payout-CpwcL7W1.js +0 -38
  570. package/dist/person-B3rmhreD.js +0 -23
  571. package/dist/phonePrefixes-j_kb1wJm.js +0 -252
  572. package/dist/pl-PL-BvYP_Mjz2.js +0 -7
  573. package/dist/pl-PL-CKZbiqpL.js +0 -7
  574. package/dist/pl-PL-D6XdYdXs.js +0 -7
  575. package/dist/pl-PL-v95qJZ7W.js +0 -59
  576. package/dist/plus-D1pu1FCh.js +0 -20
  577. package/dist/plus-circle-filled-BAKemMoO.js +0 -30
  578. package/dist/process-field-configurations-44gfzIGi.js +0 -279
  579. package/dist/processCapabilitites-BHzfFtSM.js +0 -869
  580. package/dist/pt-BR-B7FJvvCY2.js +0 -7
  581. package/dist/pt-BR-Dk284q8W.js +0 -7
  582. package/dist/pt-BR-DyYEeGVr.js +0 -7
  583. package/dist/pt-BR-w4XP2Zc2.js +0 -59
  584. package/dist/pt-PT-B0PlOQYf2.js +0 -7
  585. package/dist/pt-PT-DYQXla7J.js +0 -7
  586. package/dist/pt-PT-DYXnzP0x.js +0 -59
  587. package/dist/pt-PT-DfOrysaZ.js +0 -7
  588. package/dist/recurring-BqOZk0GH.js +0 -23
  589. package/dist/resolveEnvironment-BYa8h9R6.js +0 -1176
  590. package/dist/revenue-accelerate-CSszZfVF.js +0 -30
  591. package/dist/ro-RO-BXjIQG3P.js +0 -7
  592. package/dist/ro-RO-BZMTQGJJ2.js +0 -7
  593. package/dist/ro-RO-DUiDGCZU.js +0 -59
  594. package/dist/ro-RO-Dy9karNI.js +0 -7
  595. package/dist/save-BwoYyyYQ.js +0 -20
  596. package/dist/search-lRnoylK2.js +0 -30
  597. package/dist/show-Dpmp87ye.js +0 -23
  598. package/dist/singpass-logo--50WxD_p.js +0 -22
  599. package/dist/singpass-verification-instant-BHID0qRO.js +0 -175
  600. package/dist/singpass-verification-manual-DpefFA6C.js +0 -141
  601. package/dist/sk-SK-BPDMxREF2.js +0 -7
  602. package/dist/sk-SK-CJW-1wtq.js +0 -7
  603. package/dist/sk-SK-D2f2S35P.js +0 -7
  604. package/dist/sk-SK-DESgizdP.js +0 -59
  605. package/dist/sl-SI-BHztDEDm.js +0 -59
  606. package/dist/sl-SI-D8NMKaco.js +0 -7
  607. package/dist/sl-SI-DHQWrn6C2.js +0 -7
  608. package/dist/sl-SI-DHxcpzya.js +0 -7
  609. package/dist/solution-payments-DfH5DH9o.js +0 -20
  610. package/dist/store-mAgJeN44.js +0 -20
  611. package/dist/styles-9jxW7TiP.js +0 -5988
  612. package/dist/sv-SE-B_VHF1Ec.js +0 -7
  613. package/dist/sv-SE-Bre2IWV2.js +0 -7
  614. package/dist/sv-SE-DZq6vMfw2.js +0 -7
  615. package/dist/sv-SE-znK8JjXi.js +0 -59
  616. package/dist/terminal-1-BlqlENmQ.js +0 -30
  617. package/dist/translation-G4HP2nQW.js +0 -854
  618. package/dist/types/api/companyDataSet/constants.d.ts +0 -4
  619. package/dist/types/components/Business/utils/useCompanySearchFeature.d.ts +0 -5
  620. package/dist/types/components/ui/atoms/ProgressBar/ProgressBar.types.d.ts +0 -5
  621. package/dist/types/components/ui/atoms/RadioCard/RadioCard.d.ts +0 -4
  622. package/dist/types/components/ui/atoms/RadioGroupCard/RadioGroupCard.d.ts +0 -24
  623. package/dist/types/components/ui/atoms/RadioGroupCard/RadioGroupCard.types.d.ts +0 -31
  624. package/dist/types-BqFOt7-l.js +0 -58
  625. package/dist/types-CXceqQIv.js +0 -68
  626. package/dist/upload-CIujAxWY.js +0 -23
  627. package/dist/useAccountHolder-LttF1BJG.js +0 -102
  628. package/dist/useAllowedCountries-B2tXNxdL.js +0 -74
  629. package/dist/useAssociatedLegalEntity-Dav_4ehd.js +0 -35
  630. package/dist/useBusinessDetailsData-DmromzC6.js +0 -4395
  631. package/dist/useBusinessLines-DGr43nU6.js +0 -27
  632. package/dist/useCapabilities-C3Re0QHQ.js +0 -12
  633. package/dist/useCreateLegalEntity-u6NuumMd.js +0 -24
  634. package/dist/useDataMissingRemediations-Cv_4vV2R.js +0 -39
  635. package/dist/useDataset-DA7SoxiX.js +0 -96
  636. package/dist/useDeleteTransferInstrument-Me9ITlCM.js +0 -31
  637. package/dist/useForm-CTiDrzeg.js +0 -502
  638. package/dist/useFormContext-6LTkbLR1.js +0 -178
  639. package/dist/useGlobalData-KEb46I95.js +0 -164
  640. package/dist/useLegalEntity-Cj6C6bAI.js +0 -48
  641. package/dist/useMultiForm-CiK9l6YR.js +0 -754
  642. package/dist/useNavigate-B4pHnNyj.js +0 -268
  643. package/dist/useOnboardingStatus-BuYODvAM.js +0 -23
  644. package/dist/usePciQuestionnaireList-Bx5N4Ucf.js +0 -26
  645. package/dist/useSalesChannels-BV-gSBhb.js +0 -47
  646. package/dist/useScenarios-DVTHREqP.js +0 -55
  647. package/dist/useTaskStatus-BjqC1s3K.js +0 -51
  648. package/dist/useTermsOfServiceStatus-BLMY5p8c.js +0 -39
  649. package/dist/useTrustMembers-DbO0tmcu.js +0 -152
  650. package/dist/useUnincorporatedPartnershipMembers-Dzj3BDFI.js +0 -70
  651. package/dist/useUpdateBusinessLines-BfYwukg9.js +0 -296
  652. package/dist/useUpdateLegalEntity-oigX0fKz.js +0 -29
  653. package/dist/utils-BAuFBG3J.js +0 -88
  654. package/dist/utils-BU2d-Zzu.js +0 -805
  655. package/dist/utils-DXTGGW-J.js +0 -188
  656. package/dist/validate-9_4V5MhN.js +0 -387
  657. package/dist/validate-C1II14sz.js +0 -411
  658. package/dist/validationError-DhMlWpYp.js +0 -68
  659. package/dist/warning-circle-fill-B8syKAww.js +0 -30
  660. package/dist/warning-diamond-filled-D81TURTB.js +0 -30
  661. package/dist/webinar-CA8zN8_B.js +0 -33
  662. /package/dist/{AD-D_B1KZm9.js → AD-DB5nr9tP.js} +0 -0
  663. /package/dist/{AE-iKPgRx_9.js → AE-CJ7TIjDy.js} +0 -0
  664. /package/dist/{AI-CYjWGBKT.js → AI-BQpw7rma.js} +0 -0
  665. /package/dist/{AL-D62C5Lpk.js → AL-PjHuPrbQ.js} +0 -0
  666. /package/dist/{AR-BOgSvtgP.js → AR-CU2ICtA_.js} +0 -0
  667. /package/dist/{AS-Cg8Vujpc.js → AS-DfgHV8yp.js} +0 -0
  668. /package/dist/{AT-DMpxSE4g.js → AT-4efjzVQd.js} +0 -0
  669. /package/dist/{AT-CCRMRifN.js → AT-B4JuH6F8.js} +0 -0
  670. /package/dist/{AT-D3H5WGY3.js → AT-CE6zBm8a.js} +0 -0
  671. /package/dist/{AT-Doe66WxQ.js → AT-D1WwSgVU.js} +0 -0
  672. /package/dist/{AU-CiWB9qh-.js → AU-BGwU-xk-.js} +0 -0
  673. /package/dist/{AU-BcSu8pI2.js → AU-C2TwlbjI.js} +0 -0
  674. /package/dist/{AU-B77DgHQb.js → AU-CVPrMt74.js} +0 -0
  675. /package/dist/{AU-DAfj7Z58.js → AU-DOeJssMp.js} +0 -0
  676. /package/dist/{AX-CG8iviap.js → AX-DVfSmWhN.js} +0 -0
  677. /package/dist/{AZ-DIB7CvVN.js → AZ-DIcvAsVy.js} +0 -0
  678. /package/dist/{BA-C4vH4-x6.js → BA-DFu8JCnF.js} +0 -0
  679. /package/dist/{BE-Sbwjfh5h.js → BE-B3tlw4UG.js} +0 -0
  680. /package/dist/{BE-DJM3cj-R.js → BE-ByqDiJVH.js} +0 -0
  681. /package/dist/{BE-Dtk1wvHk.js → BE-Dlk7sUG1.js} +0 -0
  682. /package/dist/{BE-BvtnaSSH.js → BE-pkvQ7-pO.js} +0 -0
  683. /package/dist/{BG-DvFE-fU3.js → BG-zaw09oBT.js} +0 -0
  684. /package/dist/{BH-Bm_tXC8b.js → BH-ByuC-_Cy.js} +0 -0
  685. /package/dist/{BM-BPYI-Bk0.js → BM-FrOgBeTW.js} +0 -0
  686. /package/dist/{BR-CRGYlRY-.js → BR-BEePczcO.js} +0 -0
  687. /package/dist/{BR-CwJ6YXMX.js → BR-C5-D6J2w.js} +0 -0
  688. /package/dist/{BR-DjC4dRH8.js → BR-Ct9nSoqL.js} +0 -0
  689. /package/dist/{BR-DdZm-FhP.js → BR-Dj4uKD4L.js} +0 -0
  690. /package/dist/{BS-DEbfM7Fg.js → BS-BLCF5IzE.js} +0 -0
  691. /package/dist/{BV-LqWIWEV5.js → BV-Ball_EvD.js} +0 -0
  692. /package/dist/{BY-Dw4W1isS.js → BY-CYE3ET2j.js} +0 -0
  693. /package/dist/{CA-Cwit937J.js → CA-CFR8sryt.js} +0 -0
  694. /package/dist/{CA-D0ezsmfN.js → CA-CPN5GIEi.js} +0 -0
  695. /package/dist/{CA-CQtjbUjU.js → CA-CtmGXKXQ.js} +0 -0
  696. /package/dist/{CA-PLMbc5uq.js → CA-DjE9yebq.js} +0 -0
  697. /package/dist/{CH-Baaufs8O.js → CH-B5P_iJIO.js} +0 -0
  698. /package/dist/{CH-D9S1IpBs.js → CH-CYY8z2Ac.js} +0 -0
  699. /package/dist/{CH-DnoWGcl9.js → CH-DXcxyFgB.js} +0 -0
  700. /package/dist/{CH-DPLfVgsE.js → CH-HLgQqF6w.js} +0 -0
  701. /package/dist/{CN-Bx6shvCX.js → CN-CP7sf7YS.js} +0 -0
  702. /package/dist/{CR-CgM7Uut3.js → CR-QbBCoLqW.js} +0 -0
  703. /package/dist/{CY-CxBi1s-O.js → CY-C80hVF0V.js} +0 -0
  704. /package/dist/{CZ-DS5YfhO9.js → CZ-B4eytKxE.js} +0 -0
  705. /package/dist/{CZ-CbWqKLbR.js → CZ-BGE7k-cb.js} +0 -0
  706. /package/dist/{CZ-B3oiWDug.js → CZ-Dja4qwcT.js} +0 -0
  707. /package/dist/{CZ-B8nb2PxI.js → CZ-YWMbXtXr.js} +0 -0
  708. /package/dist/{ContractViewer-zPVipxCC.js → ContractViewer-Bm8_7yzG.js} +0 -0
  709. /package/dist/{DE-SZPlEjww.js → DE-DMd-G1qV.js} +0 -0
  710. /package/dist/{DE-NkKgh0-y.js → DE-w2hYM5oM.js} +0 -0
  711. /package/dist/{DK-CB_26cPx.js → DK-BCGM05gZ.js} +0 -0
  712. /package/dist/{DK-CO2QUqp2.js → DK-DSnMDq6I.js} +0 -0
  713. /package/dist/{DK-CikJtsBF.js → DK-Ljpod950.js} +0 -0
  714. /package/dist/{DK-DAYxZyrn.js → DK-eIIuE_Ae.js} +0 -0
  715. /package/dist/{DO-DWjKCR-x.js → DO-DtMkGZOf.js} +0 -0
  716. /package/dist/{DetailViewLayout-Cz3FVZ5a.js → DetailViewLayout-Dd5YzmcW.js} +0 -0
  717. /package/dist/{Divider-CrK4vlsJ.js → Divider-DMwncntz.js} +0 -0
  718. /package/dist/{EC-CCGvbVWA.js → EC-BXvXPzDj.js} +0 -0
  719. /package/dist/{EE-DebeWn2E.js → EE-CVByoRMi.js} +0 -0
  720. /package/dist/{ES-DXLZWZXA.js → ES-CUnZIEd0.js} +0 -0
  721. /package/dist/{ES-m71Tl7fE.js → ES-DeyB_elh.js} +0 -0
  722. /package/dist/{ES-D2CBh7YF.js → ES-Y_7i9YXf.js} +0 -0
  723. /package/dist/{ES-Bf5fpQJJ.js → ES-iJqNvrUi.js} +0 -0
  724. /package/dist/{FI-L14G4S91.js → FI-BWqqCJsb.js} +0 -0
  725. /package/dist/{FI-_CR_F2Ml.js → FI-CYEGXSok.js} +0 -0
  726. /package/dist/{FI-Clx-zbKe.js → FI-E_ZyfJ7t.js} +0 -0
  727. /package/dist/{FI-Cbz5-l9v.js → FI-MY2FM2Ba.js} +0 -0
  728. /package/dist/{FJ-BKLmDeVh.js → FJ-dwvq-g41.js} +0 -0
  729. /package/dist/{FO-D7VnFgWu.js → FO-CWQ0W1H6.js} +0 -0
  730. /package/dist/{FR-wqLTqKJj.js → FR-D-sCwq5T.js} +0 -0
  731. /package/dist/{FR-D2lGCnJC.js → FR-DjzV5rWM.js} +0 -0
  732. /package/dist/{FR-DwVflgGw.js → FR-O_hbmwJW.js} +0 -0
  733. /package/dist/{FR-D2zQy3jq.js → FR-uHAf38N_.js} +0 -0
  734. /package/dist/{GB-CIqAOZg5.js → GB-B_yGxbz9.js} +0 -0
  735. /package/dist/{GB-CVb-Rw8a.js → GB-BogW6TU0.js} +0 -0
  736. /package/dist/{GB-DD4csU-b.js → GB-D9JlI1Pd.js} +0 -0
  737. /package/dist/{GB-BX3mPDDS.js → GB-nAqfhFIu.js} +0 -0
  738. /package/dist/{GE-D02s-9eo.js → GE-DI1v7mo0.js} +0 -0
  739. /package/dist/{GF-BcHxbxvv.js → GF-B610wYeJ.js} +0 -0
  740. /package/dist/{GG-C3cx2hzZ.js → GG-CilWz47C.js} +0 -0
  741. /package/dist/{GI-D_DZhrwe.js → GI-DFtvvGTY.js} +0 -0
  742. /package/dist/{GL-BUOXwUJ0.js → GL-D36pp53C.js} +0 -0
  743. /package/dist/{GP-CmZCjGab.js → GP-yyCziKB4.js} +0 -0
  744. /package/dist/{GR-BxjWJl4T.js → GR-BxzVHYz8.js} +0 -0
  745. /package/dist/{GT-C_l7WI2f.js → GT-QLXEWmtP.js} +0 -0
  746. /package/dist/{GU-7zSp4NP8.js → GU-jrvpoyb9.js} +0 -0
  747. /package/dist/{HK-dz43_PmR.js → HK-7piAoW_I.js} +0 -0
  748. /package/dist/{HK-DXmjOLnc.js → HK-Bds0tONE.js} +0 -0
  749. /package/dist/{HK-Dc3v2ZB0.js → HK-_r_OF-9C.js} +0 -0
  750. /package/dist/{HK-D5lgUGIW.js → HK-sOnb583U.js} +0 -0
  751. /package/dist/{HR-D3ZZV7I7.js → HR-BCfmzAgq.js} +0 -0
  752. /package/dist/{HR-BvWaw8qz.js → HR-BDdXb-_o.js} +0 -0
  753. /package/dist/{HR-SfBt4kaq.js → HR-BK-Ftu3Y.js} +0 -0
  754. /package/dist/{HR-ChipU8Kr.js → HR-CSBA8yzB.js} +0 -0
  755. /package/dist/{HU-CzI3Elvd.js → HU-CXMDpfpO.js} +0 -0
  756. /package/dist/{HU-9NTdjUUV.js → HU-CzYTCtjV.js} +0 -0
  757. /package/dist/{HU-1UX4rgmz.js → HU-DNz6LyOy.js} +0 -0
  758. /package/dist/{HU-wpmPNNka.js → HU-LjAmjKXg.js} +0 -0
  759. /package/dist/{ID-O2T9tbLO.js → ID-Dl7g2Ppa.js} +0 -0
  760. /package/dist/{IE-OqeqXlhV.js → IE-BLIooyFf.js} +0 -0
  761. /package/dist/{IE-Cw9l0506.js → IE-CmK-C0yz.js} +0 -0
  762. /package/dist/{IE-CRaBXxhc.js → IE-CzscvH5E.js} +0 -0
  763. /package/dist/{IE-DWpH_5Cq.js → IE-DQX622ez.js} +0 -0
  764. /package/dist/{IL-1hVGBOhQ.js → IL-Cfpmk1v7.js} +0 -0
  765. /package/dist/{IM-B1t_Q0mE.js → IM-C2sXmVTc.js} +0 -0
  766. /package/dist/{IN-BAGr7C88.js → IN-DilwgNAy.js} +0 -0
  767. /package/dist/{IS-C97KS-Cn.js → IS-CFtJpGcN.js} +0 -0
  768. /package/dist/{IT-b5Hsdl6Z.js → IT-BlfPdNZf.js} +0 -0
  769. /package/dist/{IT-GLNikVmY.js → IT-DKj3BSzv.js} +0 -0
  770. /package/dist/{IT-Bqf_SGsX.js → IT-ZNOnAgQx.js} +0 -0
  771. /package/dist/{IT-PBgScy3E.js → IT-fTjXyL20.js} +0 -0
  772. /package/dist/{InputGroup-2FJnD0LO.js → InputGroup-CVYzCygf.js} +0 -0
  773. /package/dist/{JE-D9zaTrAY.js → JE-X57q_Fdk.js} +0 -0
  774. /package/dist/{JM-6zLyaeVi.js → JM-Bx2hppi2.js} +0 -0
  775. /package/dist/{JO-BdNdFHnL.js → JO-DhBlXP2F.js} +0 -0
  776. /package/dist/{JP-znYbtZMc.js → JP-UnxSZuO9.js} +0 -0
  777. /package/dist/{KR-xcUi-9h2.js → KR-D3U_AtZT.js} +0 -0
  778. /package/dist/{KW-3DCYRJ53.js → KW-m7bxO2Xa.js} +0 -0
  779. /package/dist/{KY-CCApxZ6r.js → KY-CpUXfGcI.js} +0 -0
  780. /package/dist/{KZ-Cqr8yPqY.js → KZ-C8RUkmV6.js} +0 -0
  781. /package/dist/{LB-R74h2pUy.js → LB-BRrDvnrf.js} +0 -0
  782. /package/dist/{LI-D9H9hvDG.js → LI-BN5PGW_H.js} +0 -0
  783. /package/dist/{LT-COGUxKB6.js → LT-BD32wyXh.js} +0 -0
  784. /package/dist/{LT-DkKeNYqC.js → LT-Cm6wbvw_.js} +0 -0
  785. /package/dist/{LT-CDQI5_NM.js → LT-CmyEYM7z.js} +0 -0
  786. /package/dist/{LT-Dq5I_vLb.js → LT-CnQZpkC8.js} +0 -0
  787. /package/dist/{LU-B7-x8Llo.js → LU-Bi4L1b9z.js} +0 -0
  788. /package/dist/{LV-DAzwuNGM.js → LV-ukOdBuwo.js} +0 -0
  789. /package/dist/{MC-DYg2Ld6N.js → MC-EQ1jmHjl.js} +0 -0
  790. /package/dist/{MD-BSGq8uEc.js → MD-DxAeNcG8.js} +0 -0
  791. /package/dist/{ME-CMYolexb.js → ME-CvndvtiG.js} +0 -0
  792. /package/dist/{MK-KXTP17uw.js → MK-sohc7De9.js} +0 -0
  793. /package/dist/{MP-CJH5I9LN.js → MP-CCltX7ag.js} +0 -0
  794. /package/dist/{MQ-B-Nxd16T.js → MQ-DonPA9tN.js} +0 -0
  795. /package/dist/{MR-9gjgEzl5.js → MR-Bh6ZCghL.js} +0 -0
  796. /package/dist/{MT-DCvbkYrX.js → MT-LIvGhW6j.js} +0 -0
  797. /package/dist/{MU-CVDBPgAP.js → MU-kys50fwN.js} +0 -0
  798. /package/dist/{MX-B8dPVdJo.js → MX-UvvHVHCC.js} +0 -0
  799. /package/dist/{MY-DcfNGXIG.js → MY-B6EJ4miK.js} +0 -0
  800. /package/dist/{NC-DQQUjrGe.js → NC-D78ykfoF.js} +0 -0
  801. /package/dist/{NL-Bu5_sjR1.js → NL-B4viFWts.js} +0 -0
  802. /package/dist/{NL-McMEOXeg.js → NL-B5Jdha1b.js} +0 -0
  803. /package/dist/{NL-DQR9Rrua.js → NL-C1hyj3uD.js} +0 -0
  804. /package/dist/{NL-CMB4A6y3.js → NL-Cq2QKj_R.js} +0 -0
  805. /package/dist/{NO-Pppylsvl.js → NO-Cx28Ws5i.js} +0 -0
  806. /package/dist/{NO-CKPHTYW8.js → NO-DWhh9Air.js} +0 -0
  807. /package/dist/{NO-C1lR0Cpn.js → NO-H-zekTG-.js} +0 -0
  808. /package/dist/{NO-DAvhrELf.js → NO-Pyh5_V7y.js} +0 -0
  809. /package/dist/{NZ-BLYvv2PK.js → NZ-3UV4o2z9.js} +0 -0
  810. /package/dist/{NZ-BuvPkC2r.js → NZ-7A0F7nHF.js} +0 -0
  811. /package/dist/{PE-J7zWKbQ3.js → PE-DHm86V9n.js} +0 -0
  812. /package/dist/{PF-CQvMXWIc.js → PF-CPMgKxu3.js} +0 -0
  813. /package/dist/{PH-CsAkleLZ.js → PH-B_NakBgs.js} +0 -0
  814. /package/dist/{PK-pnVCB70L.js → PK-CcdXkTsY.js} +0 -0
  815. /package/dist/{PL-D6iB2qQS.js → PL-B-r78jqe.js} +0 -0
  816. /package/dist/{PL-BIkD7ly2.js → PL-BXdTON9P.js} +0 -0
  817. /package/dist/{PL-DdsUKlRx.js → PL-D9Kpjom5.js} +0 -0
  818. /package/dist/{PL-Cfpb3P4Y.js → PL-DqbLsWwr.js} +0 -0
  819. /package/dist/{PM-DXhRSYlY.js → PM-C-GliGAO.js} +0 -0
  820. /package/dist/{PR-BJTR9010.js → PR-JCXbpE0b.js} +0 -0
  821. /package/dist/{PS-Bb7ensjm.js → PS-D62VdZaN.js} +0 -0
  822. /package/dist/{PT-iBbOYasm.js → PT-CTHCZX6D.js} +0 -0
  823. /package/dist/{PT-D_mzbSbR.js → PT-D9big47n.js} +0 -0
  824. /package/dist/{PT-Bqv36Ez0.js → PT-DD2rFBMf.js} +0 -0
  825. /package/dist/{PT-DMau-7AE.js → PT-JGHvjgoQ.js} +0 -0
  826. /package/dist/{QA-Cya8smAe.js → QA-CeWT26tF.js} +0 -0
  827. /package/dist/{RE-DV-Olrl9.js → RE-DSGfn_pm.js} +0 -0
  828. /package/dist/{RO-D29rc5pZ.js → RO-2Z925JkN.js} +0 -0
  829. /package/dist/{RO-7ngAIZ4E.js → RO-BX6cRBo0.js} +0 -0
  830. /package/dist/{RO-JvqtRH2p.js → RO-ClR_J1im.js} +0 -0
  831. /package/dist/{RO-Nqdvv0rk.js → RO-iqYS6MK1.js} +0 -0
  832. /package/dist/{RS-Bdspw_Te.js → RS-B2iIit5I.js} +0 -0
  833. /package/dist/{RU-2VREcND8.js → RU-dSs63sUC.js} +0 -0
  834. /package/dist/{SA-ONrtr4dq.js → SA-D2c21Lvo.js} +0 -0
  835. /package/dist/{SE-Bp9QG9OZ.js → SE-B9Ci8NDi.js} +0 -0
  836. /package/dist/{SE-CjCMy1R-.js → SE-KYCakrsZ.js} +0 -0
  837. /package/dist/{SE-CfwjGhj2.js → SE-P9xbQO4o.js} +0 -0
  838. /package/dist/{SE-CspSL4-O.js → SE-gc_M1IUS.js} +0 -0
  839. /package/dist/{SG-BSxtCx98.js → SG-3-TYykP-.js} +0 -0
  840. /package/dist/{SG-W9jzYBBR.js → SG-BdyiGgTo.js} +0 -0
  841. /package/dist/{SG-Cte5jgnm.js → SG-BgkMHf8k.js} +0 -0
  842. /package/dist/{SG-Bx4a8mSG.js → SG-DqvdUiWw.js} +0 -0
  843. /package/dist/{SI-ClAvsgGs.js → SI-B6tdfn5Z.js} +0 -0
  844. /package/dist/{SI-DuER-ftQ.js → SI-BLo3mGXB.js} +0 -0
  845. /package/dist/{SI-D_WmP1xi.js → SI-CZicy3TO.js} +0 -0
  846. /package/dist/{SI-CjPVM480.js → SI-HuUerVbj.js} +0 -0
  847. /package/dist/{SJ-DRle19p-.js → SJ-yb3-jDZT.js} +0 -0
  848. /package/dist/{SK-KhQnqXtK.js → SK-CWOi0nV4.js} +0 -0
  849. /package/dist/{SK-BXY1VMKv.js → SK-Cde9pJdY.js} +0 -0
  850. /package/dist/{SK-CFssz9bO.js → SK-D8pAx-Kv.js} +0 -0
  851. /package/dist/{SK-CP4lBBly.js → SK-MOEK5YmF.js} +0 -0
  852. /package/dist/{SM-v_4Yc2mM.js → SM-BBKV-_UA.js} +0 -0
  853. /package/dist/{TF-BhrG4wMf.js → TF-B0dgTCfm.js} +0 -0
  854. /package/dist/{TH-Dnjjl0vl.js → TH-CmVSlUuX.js} +0 -0
  855. /package/dist/{TL-DV3_HDbD.js → TL-nRB_lM2i.js} +0 -0
  856. /package/dist/{TN-CvaVweYw.js → TN-CGwMdeBx.js} +0 -0
  857. /package/dist/{TR-BAvGXlpl.js → TR-B-J7KAnx.js} +0 -0
  858. /package/dist/{TT-DRIx1q2s.js → TT-Cd6NBPP1.js} +0 -0
  859. /package/dist/{TW-DRf29Guu.js → TW-BQVlyIhq.js} +0 -0
  860. /package/dist/{Tag-BUoDHC4C.js → Tag-BhU73i1R.js} +0 -0
  861. /package/dist/{UA-Ba88l6Xd.js → UA-BAfANYki.js} +0 -0
  862. /package/dist/{US-QONZX-gV.js → US-CpwACQXZ.js} +0 -0
  863. /package/dist/{US-Df5L2r8F.js → US-CqkPo4au.js} +0 -0
  864. /package/dist/{US-m2RymYgz.js → US-DqDIO6Fs.js} +0 -0
  865. /package/dist/{US-CKehaXnS.js → US-DqKhjxWO.js} +0 -0
  866. /package/dist/{UY-C7OqeI1W.js → UY-CqTNFGkq.js} +0 -0
  867. /package/dist/{VA-kEhphxOY.js → VA-BOTo9AUe.js} +0 -0
  868. /package/dist/{VG-9RtXQCNA.js → VG-DGXnBmqr.js} +0 -0
  869. /package/dist/{VI-Dtn9fHsy.js → VI-D8j8IzJs.js} +0 -0
  870. /package/dist/{VN-CQ52lXXR.js → VN-wC6sHs21.js} +0 -0
  871. /package/dist/{WF-D5AVATSv.js → WF-Cv-zZiEX.js} +0 -0
  872. /package/dist/{YT-B9qrlCqK.js → YT-BJrZCXu7.js} +0 -0
  873. /package/dist/{ZA-CZ_c0XHc.js → ZA-BU2vcyD6.js} +0 -0
  874. /package/dist/{bg-BG-DqWeAqky.js → bg-BG-B4UENfME.js} +0 -0
  875. /package/dist/{bg-BG-Ckeu3dBt.js → bg-BG-BTLje0t8.js} +0 -0
  876. /package/dist/{bg-BG-DnMyf-n3.js → bg-BG-BTOD22Qv.js} +0 -0
  877. /package/dist/{bg-BG-ymvx5WWi.js → bg-BG-Bayyn2Vj.js} +0 -0
  878. /package/dist/{bg-BG-C0wzRs18.js → bg-BG-BlOJQ7iZ.js} +0 -0
  879. /package/dist/{bg-BG-CN_UREwh.js → bg-BG-BrldKcYl.js} +0 -0
  880. /package/dist/{bg-BG-D2t5UzpH.js → bg-BG-CMHh_f-9.js} +0 -0
  881. /package/dist/{bg-BG-B67nlf6n.js → bg-BG-DaiKPUAP.js} +0 -0
  882. /package/dist/{bg-BG-BxkwIoTQ.js → bg-BG-Doq5SqNZ.js} +0 -0
  883. /package/dist/{bg-BG-DQPBlfB6.js → bg-BG-DxgO5P4C.js} +0 -0
  884. /package/dist/{business-lines-BYTyy_mD.js → business-lines-D2Cf_2Uz.js} +0 -0
  885. /package/dist/{cs-CZ-BJQndp5g.js → cs-CZ-BKxJwZfp.js} +0 -0
  886. /package/dist/{cs-CZ-CgD-Dni9.js → cs-CZ-BewEGSI7.js} +0 -0
  887. /package/dist/{cs-CZ-DerpXyW7.js → cs-CZ-CKjEL0Uh.js} +0 -0
  888. /package/dist/{cs-CZ-Cf3RE2Kz.js → cs-CZ-CNCOzk0z.js} +0 -0
  889. /package/dist/{cs-CZ-EALbGC0P.js → cs-CZ-ClrALb5y.js} +0 -0
  890. /package/dist/{cs-CZ-y--aL5tG.js → cs-CZ-CtEcakjz.js} +0 -0
  891. /package/dist/{cs-CZ-D0tlzysb.js → cs-CZ-CyvOwxhe.js} +0 -0
  892. /package/dist/{cs-CZ-BSCmFoe-.js → cs-CZ-DEgPgybF.js} +0 -0
  893. /package/dist/{cs-CZ-nVt_3Wsc.js → cs-CZ-Dit1sTZS.js} +0 -0
  894. /package/dist/{cs-CZ-B0PS89aw.js → cs-CZ-DlGWvcHs.js} +0 -0
  895. /package/dist/{currency-DNgyvN7z.js → currency-CfIDpZh9.js} +0 -0
  896. /package/dist/{da-DK-DSrFDOG3.js → da-DK-1WDwSuvK.js} +0 -0
  897. /package/dist/{da-DK-DcplyxCd.js → da-DK-B4yaF8i0.js} +0 -0
  898. /package/dist/{da-DK-Cu2Bi6Q7.js → da-DK-CSuIOYvv.js} +0 -0
  899. /package/dist/{da-DK-DbpZoBrp.js → da-DK-CUdNKP_y.js} +0 -0
  900. /package/dist/{da-DK-gVDOt4Mx.js → da-DK-C_3U-U_o.js} +0 -0
  901. /package/dist/{da-DK-Bdp8gkhn.js → da-DK-CfGOWrfh.js} +0 -0
  902. /package/dist/{da-DK-B_qoG-tX.js → da-DK-Cn-jl2Cb.js} +0 -0
  903. /package/dist/{da-DK-niSqcowC.js → da-DK-Cp1cdZTG.js} +0 -0
  904. /package/dist/{da-DK-DgFOdais.js → da-DK-Dq9DBbxy.js} +0 -0
  905. /package/dist/{da-DK-DFjTxgfg.js → da-DK-FIY6i3zy.js} +0 -0
  906. /package/dist/{de-DE-CJAVduiD.js → de-DE-8TTs3M7a.js} +0 -0
  907. /package/dist/{de-DE-CSfZ-fLe.js → de-DE-BgtEAyle.js} +0 -0
  908. /package/dist/{de-DE-BVoU3x7q.js → de-DE-BijX4bA6.js} +0 -0
  909. /package/dist/{de-DE-CPjVxwLK.js → de-DE-BnAkTJpS.js} +0 -0
  910. /package/dist/{de-DE-Ccbobm6F.js → de-DE-Cb9uR42z.js} +0 -0
  911. /package/dist/{de-DE-DLpDehXu.js → de-DE-Cfa03DOz.js} +0 -0
  912. /package/dist/{de-DE-KXIXcUTs.js → de-DE-DIAsDD5Z.js} +0 -0
  913. /package/dist/{de-DE-BsZOOvbi.js → de-DE-DLQs11Hz.js} +0 -0
  914. /package/dist/{de-DE-DXLRcNXw.js → de-DE-KstYakJ3.js} +0 -0
  915. /package/dist/{de-DE-Qs8eQGQS.js → de-DE-UxQXcw2Z.js} +0 -0
  916. /package/dist/{de-DE-Bsrf1Qk-.js → de-DE-ZWLyKP5G.js} +0 -0
  917. /package/dist/{decision-makers-group-Cof9scJd.js → decision-makers-group-BLkUEz0w.js} +0 -0
  918. /package/dist/{digital-wallet-BXDAhThn.js → digital-wallet-CI3K9Uw0.js} +0 -0
  919. /package/dist/{document-blurred-LCBsN2NC.js → document-blurred-B-Wt2Pm6.js} +0 -0
  920. /package/dist/{document-cut-off-wsPtcq1x.js → document-cut-off-B6ZR7USy.js} +0 -0
  921. /package/dist/{document-expired-CvTJKcZr.js → document-expired-hBQfwBk_.js} +0 -0
  922. /package/dist/{document-front-BHCo0w58.js → document-front-C-0BBlnD.js} +0 -0
  923. /package/dist/{el-GR-C7o9YGzw.js → el-GR-B45eXweN.js} +0 -0
  924. /package/dist/{el-GR-D9AagIjI.js → el-GR-BIJ5syl-.js} +0 -0
  925. /package/dist/{el-GR-DvgAQImQ.js → el-GR-BaFJE4xB.js} +0 -0
  926. /package/dist/{el-GR-BUGibSyd.js → el-GR-DKvfOcBT.js} +0 -0
  927. /package/dist/{el-GR-DZuLkaBp.js → el-GR-DOSF9KOE.js} +0 -0
  928. /package/dist/{el-GR-Doj3UHZu.js → el-GR-DSmTVw3A.js} +0 -0
  929. /package/dist/{el-GR-CN3HrU9J.js → el-GR-DhmD_M7I.js} +0 -0
  930. /package/dist/{el-GR-CNDZGVN3.js → el-GR-JdIfiWWD.js} +0 -0
  931. /package/dist/{el-GR-C-HtCTGV.js → el-GR-SFcfMp0Q.js} +0 -0
  932. /package/dist/{el-GR-B1VnihMi.js → el-GR-WE5RvoaZ.js} +0 -0
  933. /package/dist/{el-GR-DRbd6eXu.js → el-GR-no-mXzHz.js} +0 -0
  934. /package/dist/{emitEvent-B8K0cb1F.js → emitEvent-Cdd95HOT.js} +0 -0
  935. /package/dist/{en-US-IxvcS3bq.js → en-US-5p2iDJhN.js} +0 -0
  936. /package/dist/{en-US-CwN7_Z6A.js → en-US-B8NkYtpw.js} +0 -0
  937. /package/dist/{en-US-Rnj0uOlI.js → en-US-BT_egPzn.js} +0 -0
  938. /package/dist/{en-US-DH-5G1L0.js → en-US-BeS_zqnX.js} +0 -0
  939. /package/dist/{en-US-BgLFeko-.js → en-US-CJI3UFnZ.js} +0 -0
  940. /package/dist/{en-US-D6psKu6Y.js → en-US-Cq8S64a_.js} +0 -0
  941. /package/dist/{en-US-Cwp_kAIu.js → en-US-Cv8_OsAw.js} +0 -0
  942. /package/dist/{en-US-3j1Js4vT.js → en-US-Cya3hns9.js} +0 -0
  943. /package/dist/{en-US-Bg9gdBEC.js → en-US-DBiYkRmE.js} +0 -0
  944. /package/dist/{en-US-B3MAOxZH.js → en-US-DNp65pGY.js} +0 -0
  945. /package/dist/{en-US-CEBexxFl.js → en-US-DRNwZI6c.js} +0 -0
  946. /package/dist/{en-US-hCtMObDn.js → en-US-DlwEfQT_.js} +0 -0
  947. /package/dist/{en-US-BWMrfrd7.js → en-US-DtWDVC_l.js} +0 -0
  948. /package/dist/{en-US-C81RZMm3.js → en-US-DuN8U_xd.js} +0 -0
  949. /package/dist/{en-US-D1y6M9AI.js → en-US-EATAFzTk.js} +0 -0
  950. /package/dist/{en-US-rEquAkrM.js → en-US-Mma5wIWL.js} +0 -0
  951. /package/dist/{en-US-RJmb2nTR.js → en-US-Y8C6Dmuq.js} +0 -0
  952. /package/dist/{en-US-DqbNEPfm.js → en-US-f2kgWe84.js} +0 -0
  953. /package/dist/{en-US-CnVk6lVt.js → en-US-rKfA1z58.js} +0 -0
  954. /package/dist/{en-US-jcuu40kx.js → en-US-sJXY3-OZ.js} +0 -0
  955. /package/dist/{en-US.instructions-C5xXRJDu.js → en-US.instructions-DJharl6b.js} +0 -0
  956. /package/dist/{en-US.instructions-Bh8SYzc5.js → en-US.instructions-HI_HXwIA.js} +0 -0
  957. /package/dist/{es-ES-D-n6xoWo.js → es-ES-4opI0QUT.js} +0 -0
  958. /package/dist/{es-ES-BkeAb5PG.js → es-ES-BUSxmdKa.js} +0 -0
  959. /package/dist/{es-ES-H0DZcC1K.js → es-ES-C9ahP89x.js} +0 -0
  960. /package/dist/{es-ES-CLr_KwxQ.js → es-ES-CKWpTQva.js} +0 -0
  961. /package/dist/{es-ES-hX5WUfzS.js → es-ES-CaHa-8Wb.js} +0 -0
  962. /package/dist/{es-ES-DWjfZmTj.js → es-ES-CgcvvmLv.js} +0 -0
  963. /package/dist/{es-ES-DKenRcq3.js → es-ES-Cigb2wKi.js} +0 -0
  964. /package/dist/{es-ES-B7uIo7kE.js → es-ES-DOQIN_Pf.js} +0 -0
  965. /package/dist/{es-ES-D1vAd-8r.js → es-ES-DadFxwkn.js} +0 -0
  966. /package/dist/{es-ES-Bwj2MUyM.js → es-ES-DyrLbt2G.js} +0 -0
  967. /package/dist/{es-ES-8AtDNr6X.js → es-ES-I6sgbCZT.js} +0 -0
  968. /package/dist/{et-EE-Du3REm6O.js → et-EE-9bkSuMa4.js} +0 -0
  969. /package/dist/{et-EE-Cs__RUB9.js → et-EE-ASxV620T.js} +0 -0
  970. /package/dist/{et-EE-CWGint-T.js → et-EE-BM23BrCu.js} +0 -0
  971. /package/dist/{et-EE-CfheEJAy.js → et-EE-BeU-JlIv.js} +0 -0
  972. /package/dist/{et-EE-_uLrdnTi.js → et-EE-BfEYv_4i.js} +0 -0
  973. /package/dist/{et-EE-BSAr_xVc.js → et-EE-BtoIECkX.js} +0 -0
  974. /package/dist/{et-EE-Mp-OiQL2.js → et-EE-CjKIw3AU.js} +0 -0
  975. /package/dist/{et-EE-CNNN-M_x.js → et-EE-CmMB9hVL.js} +0 -0
  976. /package/dist/{et-EE-DmlaKK4B.js → et-EE-DM6LdueH.js} +0 -0
  977. /package/dist/{et-EE-DsLOML8r.js → et-EE-DoE8YNk_.js} +0 -0
  978. /package/dist/{fi-FI-Bx1S9eQf.js → fi-FI-B2a7jEBx.js} +0 -0
  979. /package/dist/{fi-FI-BKXhGjNk.js → fi-FI-B78n6HpV.js} +0 -0
  980. /package/dist/{fi-FI-BcdVq2e0.js → fi-FI-BALtktMY.js} +0 -0
  981. /package/dist/{fi-FI-BY9X2DpF.js → fi-FI-CUapPvf9.js} +0 -0
  982. /package/dist/{fi-FI-Dy_bfWw7.js → fi-FI-D1E8MJUW.js} +0 -0
  983. /package/dist/{fi-FI-Cl1vbAPV.js → fi-FI-DFDdEnkT.js} +0 -0
  984. /package/dist/{fi-FI-1nGlfW_t.js → fi-FI-DKJi4py_.js} +0 -0
  985. /package/dist/{fi-FI-pvpGl_6s.js → fi-FI-YpLcMuZy.js} +0 -0
  986. /package/dist/{fi-FI-iyr94E5r.js → fi-FI-qP49OAGS.js} +0 -0
  987. /package/dist/{fi-FI-DdyNwoGb.js → fi-FI-whtJ_DRy.js} +0 -0
  988. /package/dist/{form-rules-CvdV5rPY.js → form-rules-ZiRm6ke_.js} +0 -0
  989. /package/dist/{fr-FR-DcXwaT3d.js → fr-FR-06Yp4eGU.js} +0 -0
  990. /package/dist/{fr-FR-Ta6QBpqt.js → fr-FR-B3vqlNZF.js} +0 -0
  991. /package/dist/{fr-FR-DksMI4zV.js → fr-FR-CIKDSi33.js} +0 -0
  992. /package/dist/{fr-FR-CEWcwAJ-.js → fr-FR-CK15MC1P.js} +0 -0
  993. /package/dist/{fr-FR-CMMz7OEo.js → fr-FR-CWBeJe7e.js} +0 -0
  994. /package/dist/{fr-FR-DC_PZPwP.js → fr-FR-Cjf6-Jyc.js} +0 -0
  995. /package/dist/{fr-FR-DzjwEGsx.js → fr-FR-D0u4AlOp.js} +0 -0
  996. /package/dist/{fr-FR-B9xNxWia.js → fr-FR-D34baGa-.js} +0 -0
  997. /package/dist/{fr-FR-DL8mtS3r.js → fr-FR-DvCNUz7O.js} +0 -0
  998. /package/dist/{fr-FR-DKjCgBfS.js → fr-FR-JIF28b7U.js} +0 -0
  999. /package/dist/{fr-FR-CqbeB381.js → fr-FR-SabLrXSF.js} +0 -0
  1000. /package/dist/{funds-in-04OBDLJw.js → funds-in-CAnTUH27.js} +0 -0
  1001. /package/dist/{house-BfjiK4vF.js → house-g9QDTtcl.js} +0 -0
  1002. /package/dist/{hr-HR-CJHkB1ko.js → hr-HR-B0eeXkQr.js} +0 -0
  1003. /package/dist/{hr-HR-Ck-S-k5d.js → hr-HR-BnhnItTZ.js} +0 -0
  1004. /package/dist/{hr-HR-FHDzcIUl.js → hr-HR-C0bGzQNB.js} +0 -0
  1005. /package/dist/{hr-HR-EhBzx8FM.js → hr-HR-C12BPU_3.js} +0 -0
  1006. /package/dist/{hr-HR-BqNvRwoc.js → hr-HR-C4LLZhRc.js} +0 -0
  1007. /package/dist/{hr-HR-D0Xp4lTU.js → hr-HR-C4sBzG1i.js} +0 -0
  1008. /package/dist/{hr-HR-B8MiNFt0.js → hr-HR-C7vNP6kG.js} +0 -0
  1009. /package/dist/{hr-HR-Bp5qQwHS.js → hr-HR-Cv9n6lNS.js} +0 -0
  1010. /package/dist/{hr-HR-pOpa3-4-.js → hr-HR-FCvgQhQb.js} +0 -0
  1011. /package/dist/{hr-HR-CMcgajLG.js → hr-HR-mQCFA1Pe.js} +0 -0
  1012. /package/dist/{hu-HU-C-gD2scj.js → hu-HU-1NJpWkUj.js} +0 -0
  1013. /package/dist/{hu-HU-HNscNs5I.js → hu-HU-40vuNto8.js} +0 -0
  1014. /package/dist/{hu-HU-Cq3L3459.js → hu-HU-BcBrcjkc.js} +0 -0
  1015. /package/dist/{hu-HU-DG9r7Yn5.js → hu-HU-BrwdCVwT.js} +0 -0
  1016. /package/dist/{hu-HU-u7Q5hZ8M.js → hu-HU-CeloZXjg.js} +0 -0
  1017. /package/dist/{hu-HU-xJ7HEjBk.js → hu-HU-DBqKyuYs.js} +0 -0
  1018. /package/dist/{hu-HU-BOCGei6J.js → hu-HU-DgjvclPA.js} +0 -0
  1019. /package/dist/{hu-HU-BF3I2cDh.js → hu-HU-DmlhDBmZ.js} +0 -0
  1020. /package/dist/{hu-HU-DZmGYcpb.js → hu-HU-LQ4-J73z.js} +0 -0
  1021. /package/dist/{hu-HU-DZnrPw7M.js → hu-HU-is6BaLdQ.js} +0 -0
  1022. /package/dist/{id-blurred-DajPeUev.js → id-blurred-8OIg137Y.js} +0 -0
  1023. /package/dist/{id-cut-off-Cg7VH88-.js → id-cut-off-BzOwUOl_.js} +0 -0
  1024. /package/dist/{id-front-BFiC6TLx.js → id-front-Bfirxdas.js} +0 -0
  1025. /package/dist/{id-glare--tl3DxTG.js → id-glare-LAYtTogY.js} +0 -0
  1026. /package/dist/{isEmpty-DFUWFV4h.js → isEmpty-Dw2W8jeR.js} +0 -0
  1027. /package/dist/{it-IT-BVcopRE0.js → it-IT-B3v42hPz.js} +0 -0
  1028. /package/dist/{it-IT-CKYkplGl.js → it-IT-BQYdAY1h.js} +0 -0
  1029. /package/dist/{it-IT-BFVfcntm.js → it-IT-BZrpE0qK.js} +0 -0
  1030. /package/dist/{it-IT-Bncw2hQ-.js → it-IT-C3AVk1uR.js} +0 -0
  1031. /package/dist/{it-IT-MRrAO1jy.js → it-IT-C4b9Y6tP.js} +0 -0
  1032. /package/dist/{it-IT-YCjFrZ-Z.js → it-IT-Da1C4AGd.js} +0 -0
  1033. /package/dist/{it-IT-DWt33Mig.js → it-IT-DdZkV6nQ.js} +0 -0
  1034. /package/dist/{it-IT-Cd3oPF1M.js → it-IT-Kc1R4_Rn.js} +0 -0
  1035. /package/dist/{it-IT-rGM1QmSW.js → it-IT-V8vgqucm.js} +0 -0
  1036. /package/dist/{it-IT-C-OxfLhZ.js → it-IT-gr7SB9fh.js} +0 -0
  1037. /package/dist/{it-IT-CBQ2gGE7.js → it-IT-jTdy1a4s.js} +0 -0
  1038. /package/dist/{ja-JP-Cla1MJLj.js → ja-JP-BFkGV7Ct.js} +0 -0
  1039. /package/dist/{ja-JP-DieVzA1B.js → ja-JP-BfhqPamw.js} +0 -0
  1040. /package/dist/{ja-JP-CNNwQyYR.js → ja-JP-BgEGc_Ko.js} +0 -0
  1041. /package/dist/{ja-JP-BDPtYIpq.js → ja-JP-CMoTPLi7.js} +0 -0
  1042. /package/dist/{ja-JP-C0ASZo79.js → ja-JP-CWS-Pg-_.js} +0 -0
  1043. /package/dist/{ja-JP-CgfF4yTt.js → ja-JP-D9Doo4LH.js} +0 -0
  1044. /package/dist/{ja-JP-CsgosKvD.js → ja-JP-D9ybdRsh.js} +0 -0
  1045. /package/dist/{ja-JP-CLmtF9H_.js → ja-JP-DB56llc7.js} +0 -0
  1046. /package/dist/{ja-JP-DyUgd4BE.js → ja-JP-EJJaOy4m.js} +0 -0
  1047. /package/dist/{ja-JP-CQBoZgiC.js → ja-JP-ei-QPx_X.js} +0 -0
  1048. /package/dist/{ja-JP-B8Rg2VNl.js → ja-JP-ogtt9tGy.js} +0 -0
  1049. /package/dist/{ja-JP-uXR7c5rz.js → ja-JP-qs4tLgRF.js} +0 -0
  1050. /package/dist/{lt-LT-BRFs6EyI.js → lt-LT-948HQZhZ.js} +0 -0
  1051. /package/dist/{lt-LT-DsKGJjAK.js → lt-LT-BCqnP7r6.js} +0 -0
  1052. /package/dist/{lt-LT-Dv9CNqL5.js → lt-LT-BogWzvP3.js} +0 -0
  1053. /package/dist/{lt-LT-CxHglunM.js → lt-LT-BqS69oFX.js} +0 -0
  1054. /package/dist/{lt-LT-DCexrILL.js → lt-LT-BrGzLEwY.js} +0 -0
  1055. /package/dist/{lt-LT-CK-_FLDK.js → lt-LT-CTP-6_vr.js} +0 -0
  1056. /package/dist/{lt-LT-2d52byGI.js → lt-LT-ChOTn0eR.js} +0 -0
  1057. /package/dist/{lt-LT-ykgOI1Lh.js → lt-LT-Cq2T_YgH.js} +0 -0
  1058. /package/dist/{lt-LT-B9QsV1Fl.js → lt-LT-DFZD-gis.js} +0 -0
  1059. /package/dist/{lt-LT-CyVGhu0R.js → lt-LT-DTo_g5gi.js} +0 -0
  1060. /package/dist/{lv-LV-OjadvSbn.js → lv-LV-BEtE7iP6.js} +0 -0
  1061. /package/dist/{lv-LV-1DHJcJtx.js → lv-LV-BJgLY-OW.js} +0 -0
  1062. /package/dist/{lv-LV-CrYidfpB.js → lv-LV-BKdYq30o.js} +0 -0
  1063. /package/dist/{lv-LV-CALhnU3h.js → lv-LV-BuCZvLms.js} +0 -0
  1064. /package/dist/{lv-LV-Dlq59Kg7.js → lv-LV-C6cnH9ql.js} +0 -0
  1065. /package/dist/{lv-LV-BhvjJBtW.js → lv-LV-CJlW1MAb.js} +0 -0
  1066. /package/dist/{lv-LV-BZ6GdtSG.js → lv-LV-CihtKM8-.js} +0 -0
  1067. /package/dist/{lv-LV-pzQT6oF4.js → lv-LV-CrfpEaoB.js} +0 -0
  1068. /package/dist/{lv-LV-DXmGZc4u.js → lv-LV-DcclJdry.js} +0 -0
  1069. /package/dist/{lv-LV-vUmm_Y8X.js → lv-LV-T_Ln1nZG.js} +0 -0
  1070. /package/dist/{mapAddressLocalizationToJpAddressSchema-Cp77VSSB.js → mapAddressLocalizationToJpAddressSchema-Cu5HfF7K.js} +0 -0
  1071. /package/dist/{nl-NL-D9OFsGYi.js → nl-NL-B1KPiFMu.js} +0 -0
  1072. /package/dist/{nl-NL-BtXGtpjP.js → nl-NL-B4zO0Q4_.js} +0 -0
  1073. /package/dist/{nl-NL-DcLEwsh6.js → nl-NL-CBBxSKzB.js} +0 -0
  1074. /package/dist/{nl-NL-Bfn1b5-H.js → nl-NL-CDG5kf8l.js} +0 -0
  1075. /package/dist/{nl-NL-CscaDll4.js → nl-NL-CQYif340.js} +0 -0
  1076. /package/dist/{nl-NL-DpZ_sRQQ.js → nl-NL-CUHQ8oRU.js} +0 -0
  1077. /package/dist/{nl-NL-BOfLp7Kw.js → nl-NL-DWgJVfgU.js} +0 -0
  1078. /package/dist/{nl-NL-CoEgvakv.js → nl-NL-DyXx5rzY.js} +0 -0
  1079. /package/dist/{nl-NL-DUzifJ-6.js → nl-NL-HAKt4Uc5.js} +0 -0
  1080. /package/dist/{nl-NL-DayMdZGS.js → nl-NL-QXgi4Sal.js} +0 -0
  1081. /package/dist/{nl-NL-DrryYwRC.js → nl-NL-zA-vxihm.js} +0 -0
  1082. /package/dist/{no-NO-CfYxgg3G.js → no-NO-3PlX_ro5.js} +0 -0
  1083. /package/dist/{no-NO-DphtE0hV.js → no-NO-A94R5Tff.js} +0 -0
  1084. /package/dist/{no-NO-CveHyEMg.js → no-NO-BCZzdSpR.js} +0 -0
  1085. /package/dist/{no-NO-DFiHCQaa.js → no-NO-BD0f30Fb.js} +0 -0
  1086. /package/dist/{no-NO-BNo6BEI2.js → no-NO-BurCBAor.js} +0 -0
  1087. /package/dist/{no-NO-CeJtzvaa.js → no-NO-Bvhg8wSl.js} +0 -0
  1088. /package/dist/{no-NO-DCPDmC0O.js → no-NO-ChSdsuYY.js} +0 -0
  1089. /package/dist/{no-NO-DNxpnnM4.js → no-NO-DKzoUIzk.js} +0 -0
  1090. /package/dist/{no-NO-7cH_mYGz.js → no-NO-EF5q1jRl.js} +0 -0
  1091. /package/dist/{no-NO-COKvHr69.js → no-NO-bX8QGp4Y.js} +0 -0
  1092. /package/dist/{onfido-logo-EtpExIxa.js → onfido-logo-Df1iPjUq.js} +0 -0
  1093. /package/dist/{passport-blurred-CeDXhPyb.js → passport-blurred-4b12NNQa.js} +0 -0
  1094. /package/dist/{passport-cut-off-CvgvQJYC.js → passport-cut-off-BgrPvwDX.js} +0 -0
  1095. /package/dist/{passport-front-DnOK4cgY.js → passport-front-DCH9iXMm.js} +0 -0
  1096. /package/dist/{passport-front-green-BOdOhMh6.js → passport-front-green-DmIh7YIG.js} +0 -0
  1097. /package/dist/{passport-glare-BMA9YxJd.js → passport-glare-DIbBXJwz.js} +0 -0
  1098. /package/dist/{payout-bank-accounts-jW_Zgfqf.js → payout-bank-accounts-CF8erfdR.js} +0 -0
  1099. /package/dist/{payout-verification-instant-BLpp07Uv.js → payout-verification-instant-BIx6NDh9.js} +0 -0
  1100. /package/dist/{payout-verification-manual-BgjvhzA9.js → payout-verification-manual-CS34WVa9.js} +0 -0
  1101. /package/dist/{pl-PL-Ovy-dAEm.js → pl-PL-AswdD27E.js} +0 -0
  1102. /package/dist/{pl-PL-D-e2Z51f.js → pl-PL-BXUkKA8N.js} +0 -0
  1103. /package/dist/{pl-PL-V52qRKcx.js → pl-PL-CWLfHfaM.js} +0 -0
  1104. /package/dist/{pl-PL-BhRJVuU3.js → pl-PL-ComkJGTw.js} +0 -0
  1105. /package/dist/{pl-PL-B6MlP7Xz.js → pl-PL-Cw63Q49W.js} +0 -0
  1106. /package/dist/{pl-PL-DEkGFDx6.js → pl-PL-D3efS6b_.js} +0 -0
  1107. /package/dist/{pl-PL-BKJlxx_t.js → pl-PL-DTGmgjwZ.js} +0 -0
  1108. /package/dist/{pl-PL-CRanu6gn.js → pl-PL-KKlndUs-.js} +0 -0
  1109. /package/dist/{pl-PL-D2dgIhBU.js → pl-PL-NX01GGDD.js} +0 -0
  1110. /package/dist/{pl-PL-DcwGjG1k.js → pl-PL-YNg08-Ol.js} +0 -0
  1111. /package/dist/{plaid-logo-JKKXRmk4.js → plaid-logo-CJ4XmsZ0.js} +0 -0
  1112. /package/dist/{pt-BR-DgAN88vt.js → pt-BR-1V6vMfTg.js} +0 -0
  1113. /package/dist/{pt-BR-CPXL0egI.js → pt-BR-BWN_WzRl.js} +0 -0
  1114. /package/dist/{pt-BR-DkGneNc5.js → pt-BR-BnDcVpJT.js} +0 -0
  1115. /package/dist/{pt-BR-D01BPIQ8.js → pt-BR-Bo-lA5md.js} +0 -0
  1116. /package/dist/{pt-BR-C3oGCuLZ.js → pt-BR-CIZtl_8E.js} +0 -0
  1117. /package/dist/{pt-BR-B7oDER2v.js → pt-BR-Ct1Nhi9U.js} +0 -0
  1118. /package/dist/{pt-BR-CwEhFyDx.js → pt-BR-D-RcF3oz.js} +0 -0
  1119. /package/dist/{pt-BR-B8YZ-Hqo.js → pt-BR-DUCZ7b8F.js} +0 -0
  1120. /package/dist/{pt-BR-CL2QRxOt.js → pt-BR-DtlnqBov.js} +0 -0
  1121. /package/dist/{pt-BR-B_tIsNF2.js → pt-BR-OCQiqikl.js} +0 -0
  1122. /package/dist/{pt-BR-BNfmjS7T.js → pt-BR-uWioJEmF.js} +0 -0
  1123. /package/dist/{pt-PT-5BekXyBw.js → pt-PT-B9BU6WeF.js} +0 -0
  1124. /package/dist/{pt-PT-Dfp-0h0s.js → pt-PT-BHbd93Ic.js} +0 -0
  1125. /package/dist/{pt-PT-of6NX5C7.js → pt-PT-BSdQMcLM.js} +0 -0
  1126. /package/dist/{pt-PT-C_6pNXKv.js → pt-PT-BhEGejvl.js} +0 -0
  1127. /package/dist/{pt-PT-D3v24Se2.js → pt-PT-Bq9v0R1E.js} +0 -0
  1128. /package/dist/{pt-PT-DjZ0SeNY.js → pt-PT-Bricv6v-.js} +0 -0
  1129. /package/dist/{pt-PT-sZUWaieU.js → pt-PT-CVNM7GeN.js} +0 -0
  1130. /package/dist/{pt-PT-IOArlYPi.js → pt-PT-HtvJf_Wc.js} +0 -0
  1131. /package/dist/{pt-PT-BSNvIlJh.js → pt-PT-cIRYLrgm.js} +0 -0
  1132. /package/dist/{pt-PT-CabKp0yt.js → pt-PT-tt1J0yv6.js} +0 -0
  1133. /package/dist/{pt-PT-Cr2esDwf.js → pt-PT-wBADnHVq.js} +0 -0
  1134. /package/dist/{reporting-DI9JGolm.js → reporting-CuIVqmAt.js} +0 -0
  1135. /package/dist/{review-CkgZkiFy.js → review-CUy6wn1_.js} +0 -0
  1136. /package/dist/{ro-RO-BtLXaAVi.js → ro-RO-0Q2YJfJD.js} +0 -0
  1137. /package/dist/{ro-RO-Can6URM1.js → ro-RO-BVo8Lqoc.js} +0 -0
  1138. /package/dist/{ro-RO-DYwkjw9d.js → ro-RO-C2tZmDar.js} +0 -0
  1139. /package/dist/{ro-RO-BW4-_NrZ.js → ro-RO-CCxnXwji.js} +0 -0
  1140. /package/dist/{ro-RO-BlBqP0LV.js → ro-RO-CHnLb9tp.js} +0 -0
  1141. /package/dist/{ro-RO-CBNP3GS_.js → ro-RO-CRHBNotW.js} +0 -0
  1142. /package/dist/{ro-RO-DH5uD9v9.js → ro-RO-CVzi0I9_.js} +0 -0
  1143. /package/dist/{ro-RO-9NTYYrid.js → ro-RO-CkY9jVVi.js} +0 -0
  1144. /package/dist/{ro-RO-7VBqqH7o.js → ro-RO-QlHjtTpP.js} +0 -0
  1145. /package/dist/{ro-RO-CGoDuoZa.js → ro-RO-SAbaaKxU.js} +0 -0
  1146. /package/dist/{sk-SK-Blzjm32C.js → sk-SK-BJxKfous.js} +0 -0
  1147. /package/dist/{sk-SK-wYLB-c3d.js → sk-SK-Bqy__cWX.js} +0 -0
  1148. /package/dist/{sk-SK-CAkLqBR-.js → sk-SK-BrbU8K0P.js} +0 -0
  1149. /package/dist/{sk-SK-CZnhSCxt.js → sk-SK-Bs5RASpX.js} +0 -0
  1150. /package/dist/{sk-SK-vSn9yvb8.js → sk-SK-BsanrSCF.js} +0 -0
  1151. /package/dist/{sk-SK-fwnwR2zz.js → sk-SK-CCluvyNF.js} +0 -0
  1152. /package/dist/{sk-SK-qVeRKlxs.js → sk-SK-CxisoTfT.js} +0 -0
  1153. /package/dist/{sk-SK-vyxCXCDR.js → sk-SK-DpmfsFPI.js} +0 -0
  1154. /package/dist/{sk-SK-BDItYkrD.js → sk-SK-MF3HRQGz.js} +0 -0
  1155. /package/dist/{sk-SK-BmP_vrOT.js → sk-SK-woMNza6o.js} +0 -0
  1156. /package/dist/{sl-SI-rLQo_kKv.js → sl-SI-B-faWNpM.js} +0 -0
  1157. /package/dist/{sl-SI-DuHn6HyC.js → sl-SI-B9zMw3uZ.js} +0 -0
  1158. /package/dist/{sl-SI-CYVD9Yk1.js → sl-SI-Bm_KKlP6.js} +0 -0
  1159. /package/dist/{sl-SI-BxJgtZKP.js → sl-SI-BsiDU3hz.js} +0 -0
  1160. /package/dist/{sl-SI-SNjGgOph.js → sl-SI-BvNvjopW.js} +0 -0
  1161. /package/dist/{sl-SI-C0d32nxW.js → sl-SI-C5umh4FQ.js} +0 -0
  1162. /package/dist/{sl-SI-ChRXWdua.js → sl-SI-CG07y9Cp.js} +0 -0
  1163. /package/dist/{sl-SI-C5FYCjwi.js → sl-SI-CrB2P-g-.js} +0 -0
  1164. /package/dist/{sl-SI-DPvusyJQ.js → sl-SI-Czu6HrQs.js} +0 -0
  1165. /package/dist/{sl-SI-B5xGgx5S.js → sl-SI-F1ZXve4S.js} +0 -0
  1166. /package/dist/{sv-SE-CU-lNGyw.js → sv-SE-5AozcwLo.js} +0 -0
  1167. /package/dist/{sv-SE-D9Aj9VZ9.js → sv-SE-BIe7wyHM.js} +0 -0
  1168. /package/dist/{sv-SE-BhAr7iey.js → sv-SE-BKeJolFs.js} +0 -0
  1169. /package/dist/{sv-SE-BfoCgwXl.js → sv-SE-BgyicZrq.js} +0 -0
  1170. /package/dist/{sv-SE-BFFAjxxo.js → sv-SE-C2lw5FJ7.js} +0 -0
  1171. /package/dist/{sv-SE-_iVNE7OY.js → sv-SE-DDCAUQsX.js} +0 -0
  1172. /package/dist/{sv-SE-nA--xWZA.js → sv-SE-DKvr6dhk.js} +0 -0
  1173. /package/dist/{sv-SE-Cos-ox5c.js → sv-SE-DR3rE1Ff.js} +0 -0
  1174. /package/dist/{sv-SE-BIHbDoRU.js → sv-SE-DaOsGDdk.js} +0 -0
  1175. /package/dist/{sv-SE-QRDrM1rH.js → sv-SE-Db35FNLx.js} +0 -0
  1176. /package/dist/{sv-SE-CfgjwWHS.js → sv-SE-doxSFPnU.js} +0 -0
  1177. /package/dist/{tax-reporting-graph-DEiE6q1X.js → tax-reporting-graph-C96BPKuj.js} +0 -0
  1178. /package/dist/{tink-logo-DQabT2Uk.js → tink-logo-DcMLCEiF.js} +0 -0
  1179. /package/dist/{toFullWidth-CQcDriFa.js → toFullWidth-CSa3Sffs.js} +0 -0
  1180. /package/dist/types/utils/api/{processCapabilitites.d.ts → processCapabilities.d.ts} +0 -0
  1181. /package/dist/{types-DjTEjDpj.js → types-DLViphaA.js} +0 -0
  1182. /package/dist/{types-CEAHkjXI.js → types-tKfEYBOO.js} +0 -0
  1183. /package/dist/{us-check-account-number-EkWzylgz.js → us-check-account-number-Bx4HZPFS.js} +0 -0
  1184. /package/dist/{us-check-routing-number-ObI-JE-C.js → us-check-routing-number-BgmESQIR.js} +0 -0
  1185. /package/dist/{us-check-b9k7TlOd.js → us-check-tkgqZfdf.js} +0 -0
  1186. /package/dist/{validate-D4RU2PP0.js → validate-Da7Onair.js} +0 -0
  1187. /package/dist/{view-verification-status-CtW_qUMg.js → view-verification-status-CYHM_Ggf.js} +0 -0
  1188. /package/dist/{yapily-logo-BeowYojR.js → yapily-logo-LFYkLhpL.js} +0 -0
@@ -1,2830 +0,0 @@
1
- try {
2
- let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
3
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "02c95429-3bbd-4aba-8200-788062932ace", e._sentryDebugIdIdentifier = "sentry-dbid-02c95429-3bbd-4aba-8200-788062932ace");
4
- } catch (e) {}
5
- import { a as Icon, r as useTranslation } from "./translation-G4HP2nQW.js";
6
- import { t as LegalEntityTypes } from "./legal-entity-type-VIfNYnJP.js";
7
- import { t as useAccountHolder } from "./useAccountHolder-LttF1BJG.js";
8
- import { c as objectsDeepEqual, d as keysOf } from "./useAnalyticsContext-BVFDMrVE.js";
9
- import { t as useToggleContext } from "./useToggleContext-DaQUBF8O.js";
10
- import { a as translateTranslatable } from "./utils-BAuFBG3J.js";
11
- import { t as Header } from "./Header-BNb1zwkF.js";
12
- import { t as CountryCodes } from "./country-code-CX5KqMBr.js";
13
- import { p as TaskTypes } from "./entityAssociationUtil-BEzUdPbm.js";
14
- import { t as getNestedPropertyKeys } from "./getNestedPropertyKeys-CVAsNBJ8.js";
15
- import { t as SettingNames } from "./types-CNZsK2dZ.js";
16
- import { t as CompanyTypesValues } from "./company-types-value-BYTAKfjo.js";
17
- import { t as Image } from "./Image-BTVEK7B2.js";
18
- import { s as isDateOlderThanAYear } from "./Address-CnQ22ndb.js";
19
- import { t as ErrorPanel } from "./ErrorPanel-4juOd8Z2.js";
20
- import { t as createFormUtils } from "./formUtils-DCvL3uZG.js";
21
- import { i as uppercase } from "./mapExistingFile-DdeA1Ya3.js";
22
- import { a as alphanumericInputs, c as nonInputs, i as alphaInputs, l as numericInputs, o as customInputs, s as makeMask, t as MaskedInput, u as spacer } from "./MaskedInput-zFUBaX87.js";
23
- import { c as COUNTRIES_WITH_STATES_DATASET } from "./utils-CfTVU2Hq.js";
24
- import { a as StateContextSetter } from "./validate-9_4V5MhN.js";
25
- import { t as isJapanLocalizationEnabled } from "./japanSupportUtils-DcDqwV81.js";
26
- import { a as validateNotEmptyOnBlur, o as validatePatternOnBlur } from "./patternValidators-BaQxw3ki.js";
27
- import { t as resolveFieldMetadata } from "./fieldConfigurations-m7oWP1DZ.js";
28
- import { t as Field } from "./Field-C2ZpB0wo.js";
29
- import { t as Select } from "./Select-DDSua27l.js";
30
- import { t as Checkbox } from "./Checkbox-BCYjFPa4.js";
31
- import { t as TextArea } from "./TextArea-CyATBUKN.js";
32
- import { t as useForm } from "./useForm-CTiDrzeg.js";
33
- import { t as Dropzone } from "./Dropzone-By_YOrv2.js";
34
- import { t as RadioGroup } from "./RadioGroup-Bi9v9dZu.js";
35
- import { t as createFormRules } from "./form-rules-CvdV5rPY.js";
36
- import { lazy, memo } from "preact/compat";
37
- import { useCallback as useCallback$1, useEffect as useEffect$1, useMemo as useMemo$1, useRef as useRef$1, useState as useState$1 } from "preact/hooks";
38
- import cx from "classnames";
39
- import { Fragment as Fragment$1, jsx, jsxs } from "preact/jsx-runtime";
40
- //#region src/utils/getFieldsWithExistingData.ts
41
- var getFieldsWithExistingData = (legalEntity, keyMapping, documentMapping, knownProblematicFields = []) => {
42
- const nonDocumentFields = getNestedPropertyKeys(legalEntity).map((field) => keyMapping[field]).filter(Boolean).filter((field) => !knownProblematicFields.includes(field));
43
- if (documentMapping && legalEntity.documentDetails?.length) {
44
- const documentFields = legalEntity.documentDetails.map((document) => documentMapping[document.type]).filter(Boolean);
45
- return [...nonDocumentFields, ...documentFields];
46
- }
47
- return nonDocumentFields;
48
- };
49
- //#endregion
50
- //#region src/types/datasets/state-code.ts
51
- var StateCodesUS = {
52
- Alabama: "AL",
53
- Alaska: "AK",
54
- Arizona: "AZ",
55
- Arkansas: "AR",
56
- California: "CA",
57
- Colorado: "CO",
58
- Connecticut: "CT",
59
- Delaware: "DE",
60
- DistrictOfColumbia: "DC",
61
- Florida: "FL",
62
- Georgia: "GA",
63
- Hawaii: "HI",
64
- Idaho: "ID",
65
- Illinois: "IL",
66
- Indiana: "IN",
67
- Iowa: "IA",
68
- Kansas: "KS",
69
- Kentucky: "KY",
70
- Louisiana: "LA",
71
- Maine: "ME",
72
- Maryland: "MD",
73
- Massachusetts: "MA",
74
- Michigan: "MI",
75
- Minnesota: "MN",
76
- Mississippi: "MS",
77
- Missouri: "MO",
78
- Montana: "MT",
79
- Nebraska: "NE",
80
- Nevada: "NV",
81
- NewHampshire: "NH",
82
- NewJersey: "NJ",
83
- NewMexico: "NM",
84
- NewYork: "NY",
85
- NorthCarolina: "NC",
86
- NorthDakota: "ND",
87
- Ohio: "OH",
88
- Oklahoma: "OK",
89
- Oregon: "OR",
90
- Pennsylvania: "PA",
91
- RhodeIsland: "RI",
92
- SouthCarolina: "SC",
93
- SouthDakota: "SD",
94
- Tennessee: "TN",
95
- Texas: "TX",
96
- Utah: "UT",
97
- Vermont: "VT",
98
- Virginia: "VA",
99
- Washington: "WA",
100
- WestVirginia: "WV",
101
- Wisconsin: "WI",
102
- Wyoming: "WY"
103
- };
104
- //#endregion
105
- //#region src/utils/masking/masks/businessRegistrationNumberMasks.ts
106
- var businessRegistrationNumberMasks = {
107
- [CountryCodes.Austria]: {
108
- firmenbuchnummer: { mask: makeMask({
109
- type: "input",
110
- allow: /[TF]/
111
- }, {
112
- type: "input",
113
- allow: /N/,
114
- optional: true
115
- }, ...numericInputs(3), ...numericInputs(3, true), {
116
- type: "input",
117
- allow: /[a-z]/
118
- }) },
119
- ZVR: { mask: makeMask(...nonInputs("AT", { includeInValue: true }), spacer, ...nonInputs("-", { includeInValue: true }), spacer, ...nonInputs("ZVR", { includeInValue: true }), spacer, ...nonInputs("-", { includeInValue: true }), spacer, ...numericInputs(9), ...numericInputs(1, true)) }
120
- },
121
- [CountryCodes.Australia]: {
122
- default: { mask: makeMask(...numericInputs(3), spacer, ...numericInputs(3), spacer, ...numericInputs(3)) },
123
- associationIncorporated: {
124
- mask: makeMask(...alphanumericInputs(3), ...alphanumericInputs(20, true)),
125
- transformOnType: uppercase
126
- }
127
- },
128
- [CountryCodes.Belgium]: { default: { mask: makeMask(...numericInputs(10)) } },
129
- [CountryCodes.Brazil]: { default: { mask: makeMask(...numericInputs(2), ...nonInputs(" . "), ...numericInputs(3), ...nonInputs(" . "), ...numericInputs(3), ...nonInputs(" / "), ...numericInputs(4), ...nonInputs(" - "), ...numericInputs(2)) } },
130
- [CountryCodes.Bulgaria]: { default: { mask: makeMask(...numericInputs(9)) } },
131
- [CountryCodes.Canada]: { default: {
132
- mask: makeMask(...alphanumericInputs(5), ...alphanumericInputs(5, true)),
133
- transformOnType: uppercase
134
- } },
135
- [CountryCodes.Croatia]: {
136
- default: { mask: makeMask(...numericInputs(9)) },
137
- [CompanyTypesValues.SOLE_PROPRIETORSHIP]: { mask: makeMask(...numericInputs(8)) }
138
- },
139
- [CountryCodes.Cyprus]: { default: {
140
- mask: makeMask(...customInputs(1, /^[COP]$/), ...numericInputs(1), ...numericInputs(7, true)),
141
- transformOnType: uppercase
142
- } },
143
- [CountryCodes.CzechRepublic]: { default: { mask: makeMask(...numericInputs(8), ...numericInputs(2, true)) } },
144
- [CountryCodes.Denmark]: { default: { mask: makeMask(...numericInputs(8)) } },
145
- [CountryCodes.Estonia]: { default: { mask: makeMask(...numericInputs(8)) } },
146
- [CountryCodes.Finland]: { default: { mask: makeMask(...numericInputs(7), spacer, ...nonInputs("-", { includeInValue: true }), spacer, ...numericInputs(1)) } },
147
- [CountryCodes.France]: {
148
- SIRET: { mask: makeMask(...numericInputs(9), ...nonInputs(" - "), ...numericInputs(5)) },
149
- RNA: { mask: makeMask(...nonInputs("W", { includeInValue: true }), ...numericInputs(1), ...alphanumericInputs(1), ...numericInputs(7)) }
150
- },
151
- [CountryCodes.Germany]: { default: {
152
- mask: makeMask(...alphanumericInputs(3), ...customInputs(17, /[A-Z0-9-]/, true)),
153
- transformOnType: uppercase
154
- } },
155
- [CountryCodes.Gibraltar]: { default: {
156
- mask: makeMask(...alphanumericInputs(1), ...alphanumericInputs(7, true)),
157
- transformOnType: uppercase
158
- } },
159
- [CountryCodes.Greece]: { default: { mask: makeMask(...numericInputs(12)) } },
160
- [CountryCodes.Guernsey]: { default: { mask: makeMask(...numericInputs(1), ...numericInputs(8, true)) } },
161
- [CountryCodes.HongKong]: { default: { mask: makeMask(...numericInputs(7)) } },
162
- [CountryCodes.Hungary]: {
163
- default: { mask: makeMask(...numericInputs(2), ...nonInputs(" - "), ...numericInputs(2), ...nonInputs(" - "), ...numericInputs(6)) },
164
- nyilvantartasiSzam: { mask: makeMask(...numericInputs(10)) }
165
- },
166
- [CountryCodes.Ireland]: { default: { mask: makeMask(...numericInputs(1), ...numericInputs(7, true)) } },
167
- [CountryCodes.IsleOfMan]: { default: {
168
- mask: makeMask(...numericInputs(6), ...alphaInputs(1)),
169
- transformOnType: uppercase
170
- } },
171
- [CountryCodes.Italy]: {
172
- partitaIVA: { mask: makeMask(...numericInputs(11)) },
173
- CCIAA: {
174
- mask: makeMask(...alphaInputs(2), ...numericInputs(6), ...numericInputs(1, true)),
175
- transformOnType: uppercase
176
- }
177
- },
178
- [CountryCodes.Japan]: { default: { mask: makeMask(...numericInputs(12)) } },
179
- [CountryCodes.Jersey]: { default: {
180
- mask: makeMask(...alphanumericInputs(1), ...alphanumericInputs(8, true)),
181
- transformOnType: uppercase
182
- } },
183
- [CountryCodes.Latvia]: { default: { mask: makeMask(...numericInputs(11)) } },
184
- [CountryCodes.Liechtenstein]: { default: { mask: makeMask(...nonInputs("FL", { includeInValue: true }), spacer, ...nonInputs("-", { includeInValue: true }), spacer, ...numericInputs(4), spacer, ...nonInputs(".", { includeInValue: true }), spacer, ...numericInputs(3), spacer, ...nonInputs(".", { includeInValue: true }), spacer, ...numericInputs(3), spacer, ...nonInputs("-", { includeInValue: true }), spacer, ...numericInputs(1)) } },
185
- [CountryCodes.Lithuania]: { default: { mask: makeMask(...numericInputs(6), ...numericInputs(3, true)) } },
186
- [CountryCodes.Luxembourg]: { default: {
187
- mask: makeMask(...alphaInputs(1), ...numericInputs(9, true)),
188
- transformOnType: uppercase
189
- } },
190
- [CountryCodes.Malaysia]: { default: { mask: makeMask(...numericInputs(7), ...numericInputs(5, true)) } },
191
- [CountryCodes.Malta]: { default: {
192
- mask: makeMask(...customInputs(1, /[CP]/), spacer, ...numericInputs(4), ...numericInputs(2, true)),
193
- transformOnType: uppercase
194
- } },
195
- [CountryCodes.Mexico]: { default: { mask: makeMask(...alphanumericInputs(12)) } },
196
- [CountryCodes.Monaco]: {
197
- default: {
198
- mask: makeMask(...alphanumericInputs(8), ...alphanumericInputs(3, true)),
199
- transformOnType: uppercase
200
- },
201
- [CompanyTypesValues.SOLE_PROPRIETORSHIP]: {
202
- mask: makeMask(...alphanumericInputs(8), ...alphanumericInputs(3, true)),
203
- transformOnType: uppercase
204
- }
205
- },
206
- [CountryCodes.Netherlands]: { default: { mask: makeMask(...numericInputs(8)) } },
207
- [CountryCodes.NewZealand]: {
208
- NZBN: { mask: makeMask(...numericInputs(13)) },
209
- companyNumberNZ: { mask: makeMask(...numericInputs(7)) }
210
- },
211
- [CountryCodes.Norway]: { default: { mask: makeMask(...numericInputs(9)) } },
212
- [CountryCodes.Poland]: {
213
- krsNumber: { mask: makeMask(...numericInputs(10)) },
214
- regon: { mask: makeMask(...numericInputs(9)) }
215
- },
216
- [CountryCodes.Portugal]: { default: { mask: makeMask(...numericInputs(9)) } },
217
- [CountryCodes.Romania]: {
218
- roRegNumberOldFormat: {
219
- mask: makeMask(...alphaInputs(1), ...numericInputs(1), ...numericInputs(1, true), ...customInputs(1, /[/]/), ...numericInputs(1), ...numericInputs(8, true), ...customInputs(1, /[/]/), ...numericInputs(4)),
220
- transformOnType: uppercase
221
- },
222
- roRegNumberNewFormat: {
223
- mask: makeMask({
224
- type: "input",
225
- allow: /[JFC]/
226
- }, ...numericInputs(13)),
227
- transformOnType: uppercase
228
- }
229
- },
230
- [CountryCodes.Singapore]: { default: {
231
- mask: makeMask(...alphanumericInputs(9), ...alphanumericInputs(1, true)),
232
- transformOnType: uppercase
233
- } },
234
- [CountryCodes.Slovakia]: { default: { mask: makeMask(...numericInputs(8)) } },
235
- [CountryCodes.Slovenia]: { default: { mask: makeMask(...numericInputs(10)) } },
236
- [CountryCodes.Spain]: { default: {
237
- mask: makeMask(...alphaInputs(1), ...alphanumericInputs(8)),
238
- transformOnType: uppercase
239
- } },
240
- [CountryCodes.Sweden]: { default: { mask: makeMask(...numericInputs(6), ...nonInputs(" - "), ...numericInputs(4)) } },
241
- [CountryCodes.Switzerland]: { default: { mask: makeMask(...nonInputs("CHE", { includeInValue: true }), ...nonInputs(" - "), ...numericInputs(3), ...nonInputs(" . "), ...numericInputs(3), ...nonInputs(" . "), ...numericInputs(3)) } },
242
- [CountryCodes.UnitedKingdom]: {
243
- default: {
244
- mask: makeMask(...alphanumericInputs(8)),
245
- transformOnType: uppercase
246
- },
247
- nonProfit: {
248
- mask: makeMask(...alphanumericInputs(6), ...customInputs(1, /[a-zA-Z0-9-]/, true), ...alphanumericInputs(1, true)),
249
- transformOnType: uppercase
250
- }
251
- },
252
- [CountryCodes.UnitedStates]: {
253
- [StateCodesUS.Alabama]: {
254
- mask: makeMask(...numericInputs(9), ...nonInputs(" "), ...nonInputs(StateCodesUS.Alabama)),
255
- transformOnType: uppercase
256
- },
257
- [StateCodesUS.Alaska]: {
258
- mask: makeMask(...numericInputs(8), ...nonInputs(" "), ...nonInputs(StateCodesUS.Alaska)),
259
- transformOnType: uppercase
260
- },
261
- [StateCodesUS.Arizona]: {
262
- mask: makeMask(...numericInputs(8), ...nonInputs(" "), ...nonInputs(StateCodesUS.Arizona)),
263
- transformOnType: uppercase
264
- },
265
- [StateCodesUS.Arkansas]: {
266
- mask: makeMask({
267
- type: "input",
268
- allow: /[8]/
269
- }, ...numericInputs(8), ...nonInputs(" "), ...nonInputs(StateCodesUS.Arkansas)),
270
- transformOnType: uppercase
271
- },
272
- [StateCodesUS.California]: {
273
- mask: makeMask(...numericInputs(7), ...numericInputs(5, true), ...nonInputs(" "), ...nonInputs(StateCodesUS.California)),
274
- transformOnType: uppercase
275
- },
276
- [StateCodesUS.Colorado]: {
277
- mask: makeMask(...numericInputs(11), ...nonInputs(" "), ...nonInputs(StateCodesUS.Colorado)),
278
- transformOnType: uppercase
279
- },
280
- [StateCodesUS.Connecticut]: {
281
- mask: makeMask(...numericInputs(7), ...nonInputs(" "), ...nonInputs(StateCodesUS.Connecticut)),
282
- transformOnType: uppercase
283
- },
284
- [StateCodesUS.Delaware]: {
285
- mask: makeMask(...numericInputs(7), ...nonInputs(" "), ...nonInputs(StateCodesUS.Delaware)),
286
- transformOnType: uppercase
287
- },
288
- [StateCodesUS.Florida]: {
289
- mask: makeMask(...numericInputs(6), ...numericInputs(6, true), ...nonInputs(" "), ...nonInputs(StateCodesUS.Florida)),
290
- transformOnType: uppercase
291
- },
292
- [StateCodesUS.Georgia]: {
293
- mask: makeMask(...numericInputs(8), ...nonInputs(" "), ...nonInputs(StateCodesUS.Georgia)),
294
- transformOnType: uppercase
295
- },
296
- [StateCodesUS.Hawaii]: {
297
- mask: makeMask(...numericInputs(5), ...numericInputs(3, true), {
298
- type: "input",
299
- allow: /[CDFLNPTZ]/
300
- }, {
301
- type: "input",
302
- allow: /[1-8Z]/
303
- }, ...nonInputs(" "), ...nonInputs(StateCodesUS.Hawaii)),
304
- transformOnType: uppercase
305
- },
306
- [StateCodesUS.Idaho]: {
307
- mask: makeMask(...numericInputs(6), ...nonInputs(" "), ...nonInputs(StateCodesUS.Idaho)),
308
- transformOnType: uppercase
309
- },
310
- [StateCodesUS.Illinois]: {
311
- mask: makeMask(...numericInputs(8), ...nonInputs(" "), ...nonInputs(StateCodesUS.Illinois)),
312
- transformOnType: uppercase
313
- },
314
- [StateCodesUS.Indiana]: {
315
- mask: makeMask(...numericInputs(10), ...nonInputs(" "), ...nonInputs(StateCodesUS.Indiana)),
316
- transformOnType: uppercase
317
- },
318
- [StateCodesUS.Iowa]: {
319
- mask: makeMask(...numericInputs(6), ...numericInputs(2, true), ...nonInputs(" "), ...nonInputs(StateCodesUS.Iowa)),
320
- transformOnType: uppercase
321
- },
322
- [StateCodesUS.Kansas]: {
323
- mask: makeMask(...numericInputs(7), ...numericInputs(2, true), ...nonInputs(" "), ...nonInputs(StateCodesUS.Kansas)),
324
- transformOnType: uppercase
325
- },
326
- [StateCodesUS.Kentucky]: {
327
- mask: makeMask(...numericInputs(9), ...numericInputs(1, true), ...nonInputs(" "), ...nonInputs(StateCodesUS.Kentucky)),
328
- transformOnType: uppercase
329
- },
330
- [StateCodesUS.Louisiana]: {
331
- mask: makeMask(...numericInputs(9), ...numericInputs(1, true), ...nonInputs(" "), ...nonInputs(StateCodesUS.Louisiana)),
332
- transformOnType: uppercase
333
- },
334
- [StateCodesUS.Maine]: {
335
- mask: makeMask(...numericInputs(8), ...nonInputs(" "), ...nonInputs(StateCodesUS.Maine)),
336
- transformOnType: uppercase
337
- },
338
- [StateCodesUS.Maryland]: {
339
- mask: makeMask(...numericInputs(8), ...nonInputs(" "), ...nonInputs(StateCodesUS.Maryland)),
340
- transformOnType: uppercase
341
- },
342
- [StateCodesUS.Massachusetts]: {
343
- mask: makeMask(...numericInputs(10), ...nonInputs(" "), ...nonInputs(StateCodesUS.Massachusetts)),
344
- transformOnType: uppercase
345
- },
346
- [StateCodesUS.Michigan]: {
347
- mask: makeMask(...numericInputs(6), ...numericInputs(3, true), ...nonInputs(" "), ...nonInputs(StateCodesUS.Michigan)),
348
- transformOnType: uppercase
349
- },
350
- [StateCodesUS.Minnesota]: {
351
- mask: makeMask(...numericInputs(7), ...nonInputs(" "), ...nonInputs(StateCodesUS.Minnesota)),
352
- transformOnType: uppercase
353
- },
354
- [StateCodesUS.Mississippi]: {
355
- mask: makeMask(...numericInputs(7), ...numericInputs(3, true), ...nonInputs(" "), ...nonInputs(StateCodesUS.Mississippi)),
356
- transformOnType: uppercase
357
- },
358
- [StateCodesUS.Missouri]: {
359
- mask: makeMask(...numericInputs(10), ...nonInputs(" "), ...nonInputs(StateCodesUS.Missouri)),
360
- transformOnType: uppercase
361
- },
362
- [StateCodesUS.Montana]: {
363
- mask: makeMask(...numericInputs(7), ...nonInputs(" "), ...nonInputs(StateCodesUS.Montana)),
364
- transformOnType: uppercase
365
- },
366
- [StateCodesUS.Nebraska]: {
367
- mask: makeMask(...numericInputs(9), ...numericInputs(2, true), ...nonInputs(" "), ...nonInputs(StateCodesUS.Nebraska)),
368
- transformOnType: uppercase
369
- },
370
- [StateCodesUS.Nevada]: {
371
- mask: makeMask(...numericInputs(9), ...numericInputs(2, true), ...nonInputs(" "), ...nonInputs(StateCodesUS.Nevada)),
372
- transformOnType: uppercase
373
- },
374
- [StateCodesUS.NewHampshire]: {
375
- mask: makeMask(...numericInputs(9), ...nonInputs(" "), ...nonInputs(StateCodesUS.NewHampshire)),
376
- transformOnType: uppercase
377
- },
378
- [StateCodesUS.NewJersey]: {
379
- mask: makeMask(...numericInputs(10), ...nonInputs(" "), ...nonInputs(StateCodesUS.NewJersey)),
380
- transformOnType: uppercase
381
- },
382
- [StateCodesUS.NewMexico]: {
383
- mask: makeMask(...numericInputs(6), ...nonInputs(" "), ...nonInputs(StateCodesUS.NewMexico)),
384
- transformOnType: uppercase
385
- },
386
- [StateCodesUS.NewYork]: {
387
- mask: makeMask(...numericInputs(7), ...nonInputs(" "), ...nonInputs(StateCodesUS.NewYork)),
388
- transformOnType: uppercase
389
- },
390
- [StateCodesUS.NorthCarolina]: {
391
- mask: makeMask(...numericInputs(7), ...nonInputs(" "), ...nonInputs(StateCodesUS.NorthCarolina)),
392
- transformOnType: uppercase
393
- },
394
- [StateCodesUS.NorthDakota]: {
395
- mask: makeMask(...numericInputs(7), ...numericInputs(3, true), ...nonInputs(" "), ...nonInputs(StateCodesUS.NorthDakota)),
396
- transformOnType: uppercase
397
- },
398
- [StateCodesUS.Ohio]: {
399
- mask: makeMask(...numericInputs(10), ...nonInputs(" "), ...nonInputs(StateCodesUS.Ohio)),
400
- transformOnType: uppercase
401
- },
402
- [StateCodesUS.Oklahoma]: {
403
- mask: makeMask(...numericInputs(10), ...nonInputs(" "), ...nonInputs(StateCodesUS.Oklahoma)),
404
- transformOnType: uppercase
405
- },
406
- [StateCodesUS.Oregon]: {
407
- mask: makeMask(...numericInputs(9), ...nonInputs(" "), ...nonInputs(StateCodesUS.Oregon)),
408
- transformOnType: uppercase
409
- },
410
- [StateCodesUS.Pennsylvania]: {
411
- mask: makeMask(...numericInputs(7), ...nonInputs(" "), ...nonInputs(StateCodesUS.Pennsylvania)),
412
- transformOnType: uppercase
413
- },
414
- [StateCodesUS.RhodeIsland]: {
415
- mask: makeMask(...numericInputs(7), ...nonInputs(" "), ...nonInputs(StateCodesUS.RhodeIsland)),
416
- transformOnType: uppercase
417
- },
418
- [StateCodesUS.SouthCarolina]: {
419
- mask: makeMask(...numericInputs(7), ...nonInputs(" "), ...nonInputs(StateCodesUS.SouthCarolina)),
420
- transformOnType: uppercase
421
- },
422
- [StateCodesUS.SouthDakota]: {
423
- mask: makeMask(...numericInputs(7), ...nonInputs(" "), ...nonInputs(StateCodesUS.SouthDakota)),
424
- transformOnType: uppercase
425
- },
426
- [StateCodesUS.Tennessee]: {
427
- mask: makeMask(...numericInputs(6), ...nonInputs(" "), ...nonInputs(StateCodesUS.Tennessee)),
428
- transformOnType: uppercase
429
- },
430
- [StateCodesUS.Texas]: {
431
- mask: makeMask(...numericInputs(10), ...nonInputs(" "), ...nonInputs(StateCodesUS.Texas)),
432
- transformOnType: uppercase
433
- },
434
- [StateCodesUS.Utah]: {
435
- mask: makeMask(...numericInputs(7), ...nonInputs(" "), ...nonInputs(StateCodesUS.Utah)),
436
- transformOnType: uppercase
437
- },
438
- [StateCodesUS.Vermont]: {
439
- mask: makeMask(...numericInputs(6), ...nonInputs(" "), ...nonInputs(StateCodesUS.Vermont)),
440
- transformOnType: uppercase
441
- },
442
- [StateCodesUS.Virginia]: {
443
- mask: makeMask(...numericInputs(7), ...nonInputs(" "), ...nonInputs(StateCodesUS.Virginia)),
444
- transformOnType: uppercase
445
- },
446
- [StateCodesUS.Washington]: {
447
- mask: makeMask(...numericInputs(9), ...nonInputs(" "), ...nonInputs(StateCodesUS.Washington)),
448
- transformOnType: uppercase
449
- },
450
- [StateCodesUS.WestVirginia]: {
451
- mask: makeMask(...numericInputs(6), ...nonInputs(" "), ...nonInputs(StateCodesUS.WestVirginia)),
452
- transformOnType: uppercase
453
- },
454
- [StateCodesUS.Wisconsin]: {
455
- mask: makeMask(...numericInputs(6), ...nonInputs(" "), ...nonInputs(StateCodesUS.Wisconsin)),
456
- transformOnType: uppercase
457
- },
458
- [StateCodesUS.Wyoming]: {
459
- mask: makeMask(...numericInputs(6), ...nonInputs(" "), ...nonInputs(StateCodesUS.Wyoming)),
460
- transformOnType: uppercase
461
- },
462
- [StateCodesUS.DistrictOfColumbia]: {
463
- mask: makeMask(...numericInputs(9)),
464
- transformOnType: uppercase
465
- },
466
- default: {
467
- mask: makeMask(...numericInputs(9)),
468
- transformOnType: uppercase
469
- }
470
- }
471
- };
472
- var stateFormatGuidanceText = {
473
- [StateCodesUS.Alabama]: {
474
- key: "enterNDigitsForExample",
475
- values: {
476
- numDigits: "9",
477
- example: "123456789 AL"
478
- }
479
- },
480
- [StateCodesUS.Alaska]: {
481
- key: "enterNDigitsForExample",
482
- values: {
483
- numDigits: "8",
484
- example: "12345678 AK"
485
- }
486
- },
487
- [StateCodesUS.Arizona]: {
488
- key: "enterNDigitsForExample",
489
- values: {
490
- numDigits: "8",
491
- example: "12345678 AZ"
492
- }
493
- },
494
- [StateCodesUS.Arkansas]: {
495
- key: "enterTheRemainingNDigitsForExample",
496
- values: {
497
- numDigits: "8",
498
- example: "800000001 AR"
499
- }
500
- },
501
- [StateCodesUS.California]: {
502
- key: "enterXOrYDigitsForExample",
503
- values: {
504
- xDigits: "8",
505
- yDigits: "12",
506
- example: "12345678 CA"
507
- }
508
- },
509
- [StateCodesUS.Colorado]: {
510
- key: "enterNDigitsForExample",
511
- values: {
512
- numDigits: "11",
513
- example: "12345678901 CO"
514
- }
515
- },
516
- [StateCodesUS.Connecticut]: {
517
- key: "enterNDigitsForExample",
518
- values: {
519
- numDigits: "7",
520
- example: "1234567 CT"
521
- }
522
- },
523
- [StateCodesUS.Delaware]: {
524
- key: "enterNDigitsForExample",
525
- values: {
526
- numDigits: "7",
527
- example: "1234567 DE"
528
- }
529
- },
530
- [StateCodesUS.Florida]: {
531
- key: "enterXOrYDigitsForExample",
532
- values: {
533
- xDigits: "6",
534
- yDigits: "12",
535
- example: "123456789012 FL"
536
- }
537
- },
538
- [StateCodesUS.Georgia]: {
539
- key: "enterNDigitsForExample",
540
- values: {
541
- numDigits: "8",
542
- example: "12345678 GA"
543
- }
544
- },
545
- [StateCodesUS.Hawaii]: {
546
- key: "validationPleaseEnterAValidBusinessRegistrationNumberWithFormat",
547
- values: { example: "12345678ZZ HI" }
548
- },
549
- [StateCodesUS.Idaho]: {
550
- key: "enterNDigitsForExample",
551
- values: {
552
- numDigits: "6",
553
- example: "123456 ID"
554
- }
555
- },
556
- [StateCodesUS.Illinois]: {
557
- key: "enterNDigitsForExample",
558
- values: {
559
- numDigits: "8",
560
- example: "12345678 IL"
561
- }
562
- },
563
- [StateCodesUS.Indiana]: {
564
- key: "enterNDigitsForExample",
565
- values: {
566
- numDigits: "10",
567
- example: "1234567890 IN"
568
- }
569
- },
570
- [StateCodesUS.Iowa]: {
571
- key: "enterXToYDigitsForExample",
572
- values: {
573
- minDigits: "6",
574
- maxDigits: "8",
575
- example: "12345678 IA"
576
- }
577
- },
578
- [StateCodesUS.Kansas]: {
579
- key: "enterXToYDigitsForExample",
580
- values: {
581
- minDigits: "7",
582
- maxDigits: "9",
583
- example: "1234567890 KS"
584
- }
585
- },
586
- [StateCodesUS.Kentucky]: {
587
- key: "enterXToYDigitsForExample",
588
- values: {
589
- minDigits: "9",
590
- maxDigits: "10",
591
- example: "1234567890 KY"
592
- }
593
- },
594
- [StateCodesUS.Louisiana]: {
595
- key: "enterXToYDigitsForExample",
596
- values: {
597
- minDigits: "9",
598
- maxDigits: "10",
599
- example: "1234567890 LA"
600
- }
601
- },
602
- [StateCodesUS.Maine]: {
603
- key: "enterNDigitsForExample",
604
- values: {
605
- numDigits: "8",
606
- example: "12345678 ME"
607
- }
608
- },
609
- [StateCodesUS.Maryland]: {
610
- key: "enterNDigitsForExample",
611
- values: {
612
- numDigits: "8",
613
- example: "12345678 MD"
614
- }
615
- },
616
- [StateCodesUS.Massachusetts]: {
617
- key: "enterNDigitsForExample",
618
- values: {
619
- numDigits: "10",
620
- example: "1234567890 MA"
621
- }
622
- },
623
- [StateCodesUS.Michigan]: {
624
- key: "enterXOrYDigitsForExample",
625
- values: {
626
- xDigits: "6",
627
- yDigits: "9",
628
- example: "123456 MI"
629
- }
630
- },
631
- [StateCodesUS.Minnesota]: {
632
- key: "enterNDigitsForExample",
633
- values: {
634
- numDigits: "7",
635
- example: "1234567 MN"
636
- }
637
- },
638
- [StateCodesUS.Mississippi]: {
639
- key: "enterXToYDigitsForExample",
640
- values: {
641
- minDigits: "7",
642
- maxDigits: "10",
643
- example: "1234567 MS"
644
- }
645
- },
646
- [StateCodesUS.Missouri]: {
647
- key: "enterNDigitsForExample",
648
- values: {
649
- numDigits: "10",
650
- example: "1234567890 MO"
651
- }
652
- },
653
- [StateCodesUS.Montana]: {
654
- key: "enterNDigitsForExample",
655
- values: {
656
- numDigits: "7",
657
- example: "1234567 MT"
658
- }
659
- },
660
- [StateCodesUS.Nebraska]: {
661
- key: "enterXToYDigitsForExample",
662
- values: {
663
- minDigits: "9",
664
- maxDigits: "11",
665
- example: "123456789 NE"
666
- }
667
- },
668
- [StateCodesUS.Nevada]: {
669
- key: "enterXToYDigitsForExample",
670
- values: {
671
- minDigits: "9",
672
- maxDigits: "11",
673
- example: "123456789 NV"
674
- }
675
- },
676
- [StateCodesUS.NewHampshire]: {
677
- key: "enterNDigitsForExample",
678
- values: {
679
- numDigits: "9",
680
- example: "123456789 NH"
681
- }
682
- },
683
- [StateCodesUS.NewJersey]: {
684
- key: "enterNDigitsForExample",
685
- values: {
686
- numDigits: "10",
687
- example: "1234567890 NJ"
688
- }
689
- },
690
- [StateCodesUS.NewMexico]: {
691
- key: "enterNDigitsForExample",
692
- values: {
693
- numDigits: "6",
694
- example: "123456 NM"
695
- }
696
- },
697
- [StateCodesUS.NewYork]: {
698
- key: "enterNDigitsForExample",
699
- values: {
700
- numDigits: "7",
701
- example: "1234567 NY"
702
- }
703
- },
704
- [StateCodesUS.NorthCarolina]: {
705
- key: "enterNDigitsForExample",
706
- values: {
707
- numDigits: "7",
708
- example: "1234567 NC"
709
- }
710
- },
711
- [StateCodesUS.NorthDakota]: {
712
- key: "enterXToYDigitsForExample",
713
- values: {
714
- minDigits: "7",
715
- maxDigits: "10",
716
- example: "1234567 ND"
717
- }
718
- },
719
- [StateCodesUS.Ohio]: {
720
- key: "enterNDigitsForExample",
721
- values: {
722
- numDigits: "10",
723
- example: "1234567890 OH"
724
- }
725
- },
726
- [StateCodesUS.Oklahoma]: {
727
- key: "enterNDigitsForExample",
728
- values: {
729
- numDigits: "10",
730
- example: "1234567890 OK"
731
- }
732
- },
733
- [StateCodesUS.Oregon]: {
734
- key: "enterNDigitsForExample",
735
- values: {
736
- numDigits: "9",
737
- example: "123456789 OR"
738
- }
739
- },
740
- [StateCodesUS.Pennsylvania]: {
741
- key: "enterNDigitsForExample",
742
- values: {
743
- numDigits: "7",
744
- example: "1234567 PA"
745
- }
746
- },
747
- [StateCodesUS.RhodeIsland]: {
748
- key: "enterNDigitsForExample",
749
- values: {
750
- numDigits: "7",
751
- example: "1234567 RI"
752
- }
753
- },
754
- [StateCodesUS.SouthCarolina]: {
755
- key: "enterNDigitsForExample",
756
- values: {
757
- numDigits: "7",
758
- example: "1234567 SC"
759
- }
760
- },
761
- [StateCodesUS.SouthDakota]: {
762
- key: "enterNDigitsForExample",
763
- values: {
764
- numDigits: "7",
765
- example: "1234567 SD"
766
- }
767
- },
768
- [StateCodesUS.Tennessee]: {
769
- key: "enterNDigitsForExample",
770
- values: {
771
- numDigits: "6",
772
- example: "123456 TN"
773
- }
774
- },
775
- [StateCodesUS.Texas]: {
776
- key: "enterNDigitsForExample",
777
- values: {
778
- numDigits: "10",
779
- example: "1234567890 TX"
780
- }
781
- },
782
- [StateCodesUS.Utah]: {
783
- key: "enterNDigitsForExample",
784
- values: {
785
- numDigits: "7",
786
- example: "1234567 UT"
787
- }
788
- },
789
- [StateCodesUS.Vermont]: {
790
- key: "enterNDigitsForExample",
791
- values: {
792
- numDigits: "6",
793
- example: "123456 VT"
794
- }
795
- },
796
- [StateCodesUS.Virginia]: {
797
- key: "enterNDigitsForExample",
798
- values: {
799
- numDigits: "7",
800
- example: "1234567 VA"
801
- }
802
- },
803
- [StateCodesUS.Washington]: {
804
- key: "enterNDigitsForExample",
805
- values: {
806
- numDigits: "9",
807
- example: "123456789 WA"
808
- }
809
- },
810
- [StateCodesUS.WestVirginia]: {
811
- key: "enterNDigitsForExample",
812
- values: {
813
- numDigits: "6",
814
- example: "123456 WV"
815
- }
816
- },
817
- [StateCodesUS.Wisconsin]: {
818
- key: "enterNDigitsForExample",
819
- values: {
820
- numDigits: "6",
821
- example: "123456 WI"
822
- }
823
- },
824
- [StateCodesUS.Wyoming]: {
825
- key: "enterNDigitsForExample",
826
- values: {
827
- numDigits: "6",
828
- example: "123456 WY"
829
- }
830
- },
831
- [StateCodesUS.DistrictOfColumbia]: {
832
- key: "enterNDigitsForExample",
833
- values: {
834
- numDigits: "9",
835
- example: "123456789"
836
- }
837
- },
838
- default: {
839
- key: "enterNDigitsForExample",
840
- values: {
841
- numDigits: "9",
842
- example: "123456789"
843
- }
844
- }
845
- };
846
- //#endregion
847
- //#region src/utils/regex/businessRegistrationNumberPatterns.ts
848
- var businessRegistrationNumberPatterns = {
849
- [CountryCodes.Australia]: {
850
- default: /^\d{9}$/,
851
- associationIncorporated: /^[a-zA-Z0-9]{3,20}$/
852
- },
853
- [CountryCodes.Austria]: {
854
- firmenbuchnummer: /^(FN|T)\d{3,6}[a-z]$/,
855
- ZVR: /^(AT-ZVR-)\d{9,10}$/
856
- },
857
- [CountryCodes.Belgium]: { default: /^\d{10}$/ },
858
- [CountryCodes.Brazil]: { default: /^\d{14}$/ },
859
- [CountryCodes.Bulgaria]: { default: /^\d{9}$/ },
860
- [CountryCodes.Canada]: { default: /^[a-zA-Z0-9]{5,10}$/ },
861
- [CountryCodes.Croatia]: {
862
- default: /^\d{9}$/,
863
- soleProprietorship: /^\d{8}$/
864
- },
865
- [CountryCodes.Cyprus]: { default: /^[COP]{1}\d{1,8}$/ },
866
- [CountryCodes.CzechRepublic]: { default: /^\d{8,10}$/ },
867
- [CountryCodes.Denmark]: { default: /^\d{8}$/ },
868
- [CountryCodes.Estonia]: { default: /^\d{8}$/ },
869
- [CountryCodes.Finland]: { default: /^\d{7}-?\d$/ },
870
- [CountryCodes.France]: {
871
- SIRET: /^\d{9}-?\d{5}$/,
872
- RNA: /^W(\d{9}|\d[A-Za-z]\d{7})$/
873
- },
874
- [CountryCodes.Gibraltar]: { default: /^[a-zA-Z0-9]{1,8}$/ },
875
- [CountryCodes.Germany]: { default: /^[A-Z]{2,3}\d{1,6}[A-Z]{0,5}(?:-[A-Z]\d{4})?$/ },
876
- [CountryCodes.Greece]: { default: /^\d{12}$/ },
877
- [CountryCodes.Guernsey]: { default: /^\d{1,9}$/ },
878
- [CountryCodes.HongKong]: { default: /^\d{7}$/ },
879
- [CountryCodes.Hungary]: {
880
- default: /^\d{10}$/,
881
- nyilvantartasiSzam: /^\d{7,10}$/
882
- },
883
- [CountryCodes.Iceland]: { default: /^\d{10}$/ },
884
- [CountryCodes.India]: { default: /^\d{21}$/ },
885
- [CountryCodes.Indonesia]: { default: /^\d{12}$/ },
886
- [CountryCodes.Ireland]: { default: /^[1-9]\d{1,7}$/ },
887
- [CountryCodes.IsleOfMan]: { default: /^\d{6}[A-Z]$/ },
888
- [CountryCodes.Italy]: {
889
- partitaIVA: /^\d{11}$/,
890
- CCIAA: /^[a-zA-Z]{2}\d{6,7}$/
891
- },
892
- [CountryCodes.Japan]: { default: /^\d{12}$/ },
893
- [CountryCodes.Jersey]: { default: /^[a-zA-Z0-9]{1,9}$/ },
894
- [CountryCodes.Korea]: { default: /^\d{10}$/ },
895
- [CountryCodes.Latvia]: { default: /^\d{11}$/ },
896
- [CountryCodes.Liechtenstein]: { default: /FL-[0-9]{4}[.][0-9]{3}[.][0-9]{3}-[0-9]$/ },
897
- [CountryCodes.Lithuania]: { default: /^\d{6,9}$/ },
898
- [CountryCodes.Luxembourg]: { default: /^[a-zA-Z]\d{1,9}$/ },
899
- [CountryCodes.Malaysia]: { default: /^\d{7}$|^\d{12}$/ },
900
- [CountryCodes.Malta]: { default: /^[CP]\s?\d{4,6}$/ },
901
- [CountryCodes.Mexico]: { default: /^\D{3}\d{6}\w{3}$/ },
902
- [CountryCodes.Monaco]: {
903
- default: /^[0-9]{2}[A-Z]{1,3}[0-9]{5}$/,
904
- soleProprietorship: /^\d{2,4}[A-Z]\d{5}$/
905
- },
906
- [CountryCodes.Netherlands]: { default: /^\d{8}$/ },
907
- [CountryCodes.NewZealand]: {
908
- NZBN: /^\d{13}$/,
909
- companyNumberNZ: /^\d{7}$/
910
- },
911
- [CountryCodes.Norway]: { default: /^\d{9}$/ },
912
- [CountryCodes.Poland]: {
913
- krsNumber: /^\d{10}$/,
914
- regon: /^\d{9}$/
915
- },
916
- [CountryCodes.Portugal]: { default: /^\d{9}$/ },
917
- [CountryCodes.Romania]: {
918
- roRegNumberOldFormat: /^[A-Z]\d{1,2}\/\d{1,9}\/\d{4}$/,
919
- roRegNumberNewFormat: /^[JFC]\d{13}$/
920
- },
921
- [CountryCodes.Singapore]: { default: /^[a-zA-Z0-9]{9,10}$/ },
922
- [CountryCodes.Slovakia]: { default: /^\d{8}$/ },
923
- [CountryCodes.Slovenia]: { default: /^\d{10}$/ },
924
- [CountryCodes.Spain]: { default: /^[a-zA-Z][a-zA-Z0-9]{8}$/ },
925
- [CountryCodes.Sweden]: { default: /^\d{10}$/ },
926
- [CountryCodes.Switzerland]: { default: /^CHE\d{9}$|^CH\d{11}$/ },
927
- [CountryCodes.UnitedKingdom]: {
928
- default: /^[a-zA-Z0-9]{8}$/,
929
- nonProfit: /^(?:(?:[A-Z]{2})?\d{6}|\d{6,8}|\d{6}-\d)$/
930
- },
931
- [CountryCodes.UnitedStates]: {
932
- [StateCodesUS.Alabama]: /^\d{9}$/,
933
- [StateCodesUS.Alaska]: /^\d{8}$/,
934
- [StateCodesUS.Arizona]: /^\d{8}$/,
935
- [StateCodesUS.Arkansas]: /^8\d{8}$/,
936
- [StateCodesUS.California]: /^\d{7}$|^\d{12}$/,
937
- [StateCodesUS.Colorado]: /^\d{11}$/,
938
- [StateCodesUS.Connecticut]: /^\d{7}$/,
939
- [StateCodesUS.Delaware]: /^\d{7}$/,
940
- [StateCodesUS.Florida]: /^\d{6}$|^\d{12}$/,
941
- [StateCodesUS.Georgia]: /^\d{8}$/,
942
- [StateCodesUS.Hawaii]: /^\d{5,8}(C1|C2|C3|C4|C5|D1|D2|D3|D4|F1|F2|L1|L2|N1|N2|P1|P2|T1|T2|T3|T4|T5|T6|T7|T8|ZZ)$/,
943
- [StateCodesUS.Idaho]: /^\d{6}$/,
944
- [StateCodesUS.Illinois]: /^\d{8}$/,
945
- [StateCodesUS.Indiana]: /^\d{10}$/,
946
- [StateCodesUS.Iowa]: /^\d{6,8}$/,
947
- [StateCodesUS.Kansas]: /^\d{7,9}$/,
948
- [StateCodesUS.Kentucky]: /^\d{9,10}$/,
949
- [StateCodesUS.Louisiana]: /^\d{9,10}$/,
950
- [StateCodesUS.Maine]: /^\d{8}$/,
951
- [StateCodesUS.Maryland]: /^\d{8}$/,
952
- [StateCodesUS.Massachusetts]: /^\d{10}$/,
953
- [StateCodesUS.Michigan]: /^\d{6}$|^\d{9}$/,
954
- [StateCodesUS.Minnesota]: /^\d{7}$/,
955
- [StateCodesUS.Mississippi]: /^\d{7,10}$/,
956
- [StateCodesUS.Missouri]: /^\d{10}$/,
957
- [StateCodesUS.Montana]: /^\d{7}$/,
958
- [StateCodesUS.Nebraska]: /^\d{9,11}$/,
959
- [StateCodesUS.Nevada]: /^\d{9,11}$/,
960
- [StateCodesUS.NewHampshire]: /^\d{9}$/,
961
- [StateCodesUS.NewJersey]: /^\d{10}$/,
962
- [StateCodesUS.NewMexico]: /^\d{6}$/,
963
- [StateCodesUS.NewYork]: /^\d{7}$/,
964
- [StateCodesUS.NorthCarolina]: /^\d{7}$/,
965
- [StateCodesUS.NorthDakota]: /^\d{7,10}$/,
966
- [StateCodesUS.Ohio]: /^\d{10}$/,
967
- [StateCodesUS.Oklahoma]: /^\d{10}$/,
968
- [StateCodesUS.Oregon]: /^\d{9}$/,
969
- [StateCodesUS.Pennsylvania]: /^\d{7}$/,
970
- [StateCodesUS.RhodeIsland]: /^\d{7}$/,
971
- [StateCodesUS.SouthCarolina]: /^\d{7}$/,
972
- [StateCodesUS.SouthDakota]: /^\d{7}$/,
973
- [StateCodesUS.Tennessee]: /^\d{6}$/,
974
- [StateCodesUS.Texas]: /^\d{10}$/,
975
- [StateCodesUS.Utah]: /^\d{7}$/,
976
- [StateCodesUS.Vermont]: /^\d{6}$/,
977
- [StateCodesUS.Virginia]: /^\d{7}$/,
978
- [StateCodesUS.Washington]: /^\d{9}$/,
979
- [StateCodesUS.WestVirginia]: /^\d{6}$/,
980
- [StateCodesUS.Wisconsin]: /^\d{6}$/,
981
- [StateCodesUS.Wyoming]: /^\d{6}$/,
982
- [StateCodesUS.DistrictOfColumbia]: /^\d{9}$/,
983
- default: /^\d{9}$/
984
- }
985
- };
986
- //#endregion
987
- //#region src/components/Shared/fields/TaxInformationField/fieldConfig.ts
988
- var taxInformationDefaultFieldMetadata = { label: "taxId" };
989
- var exemptedFromTaxDefaultFieldMetadata = { label: "iDontHaveATaxId" };
990
- /**
991
- * Mapping function to parse TaxInformation schemas to validate the string for TaxInformation.number
992
- *
993
- * @param validators - String validators for the TaxInformation.number
994
- * @param country - Country in the fieldConfig
995
- */
996
- var mapValidators = (validators, country) => {
997
- return validators.map((validator) => ({
998
- ...validator,
999
- validate: (taxInformation) => {
1000
- const taxInfo = taxInformation?.find((taxId) => country === taxId.country);
1001
- if (taxInfo?.numberAbsent) return true;
1002
- return taxInfo?.number ? validator.validate(taxInfo.number) : false;
1003
- }
1004
- }));
1005
- };
1006
- var taxInformationDefaultFieldConfig = {
1007
- [CountryCodes.Australia]: {
1008
- label: "australianBusinessNumberAbn",
1009
- validators: mapValidators([validatePatternOnBlur(/^\d{11}$/)], CountryCodes.Australia),
1010
- mask: { mask: makeMask(...numericInputs(2), spacer, ...numericInputs(3), spacer, ...numericInputs(3), spacer, ...numericInputs(3)) },
1011
- guidanceText: {
1012
- key: "enterNDigitsForExample",
1013
- values: {
1014
- numDigits: "11",
1015
- example: "51 824 753 556"
1016
- }
1017
- }
1018
- },
1019
- [CountryCodes.Austria]: {
1020
- label: "taxInformationNumber__AT",
1021
- validators: mapValidators([validatePatternOnBlur(/^(?=(?:[^0-9]*\d){9}[^0-9]*$)[\d\-/]+$/)], CountryCodes.Austria),
1022
- mask: { mask: makeMask(...numericInputs(2), {
1023
- type: "input",
1024
- allow: /[-/]/,
1025
- optional: true
1026
- }, ...numericInputs(3), {
1027
- type: "input",
1028
- allow: /[-/]/,
1029
- optional: true
1030
- }, ...numericInputs(4)) },
1031
- guidanceText: {
1032
- key: "enterNDigitsForExample",
1033
- values: {
1034
- numDigits: "9",
1035
- example: "931736581"
1036
- }
1037
- }
1038
- },
1039
- [CountryCodes.Belgium]: ({ companyType }) => {
1040
- switch (companyType) {
1041
- case LegalEntityTypes.INDIVIDUAL: return {
1042
- label: "taxInformationNumber__BE_Individual",
1043
- validators: mapValidators([validatePatternOnBlur(/^\d{11}$/)], CountryCodes.Belgium),
1044
- mask: { mask: makeMask(...numericInputs(11)) },
1045
- guidanceText: {
1046
- key: "validationPleaseEnterAValidIdNumberWithExample",
1047
- values: {
1048
- example: "99999999999",
1049
- idType: "Numeró National"
1050
- }
1051
- }
1052
- };
1053
- default: return {
1054
- label: "taxInformationNumber__BE",
1055
- validators: mapValidators([validatePatternOnBlur(/^\d{10}$/)], CountryCodes.Belgium),
1056
- mask: { mask: makeMask(...numericInputs(10)) },
1057
- guidanceText: {
1058
- key: "validationPleaseEnterAValidIdNumberWithExample",
1059
- values: {
1060
- example: "0123321123",
1061
- idType: "Business nummer"
1062
- }
1063
- }
1064
- };
1065
- }
1066
- },
1067
- [CountryCodes.Canada]: {
1068
- label: "businessNumber",
1069
- validators: mapValidators([validatePatternOnBlur(/^\d{9}$/)], CountryCodes.Canada),
1070
- mask: { mask: makeMask(...numericInputs(9)) },
1071
- guidanceText: {
1072
- key: "enterNDigitsForExample",
1073
- values: {
1074
- numDigits: "9",
1075
- example: "123456789"
1076
- }
1077
- }
1078
- },
1079
- [CountryCodes.Croatia]: {
1080
- label: "taxInformationNumber__HR",
1081
- validators: mapValidators([validatePatternOnBlur(/^\d{11}$/)], CountryCodes.Croatia),
1082
- mask: { mask: makeMask(...numericInputs(11)) },
1083
- guidanceText: {
1084
- key: "validationPleaseEnterAValidIdNumberWithExample",
1085
- values: {
1086
- example: "94577403194",
1087
- idType: "OIB"
1088
- }
1089
- }
1090
- },
1091
- [CountryCodes.Cyprus]: {
1092
- label: "taxInformationNumber__CY",
1093
- validators: mapValidators([validatePatternOnBlur(/^\d{8,9}[A-Z]$/)], CountryCodes.Cyprus),
1094
- mask: {
1095
- mask: makeMask(...numericInputs(8), ...numericInputs(1, true), ...alphaInputs(1)),
1096
- transformOnType: uppercase
1097
- },
1098
- guidanceText: {
1099
- key: "validationPleaseEnterAValidIdNumberWithExample",
1100
- values: {
1101
- example: "00123123T",
1102
- idType: "TIC"
1103
- }
1104
- }
1105
- },
1106
- [CountryCodes.Estonia]: {
1107
- label: "taxInformationNumber__ET_Individual",
1108
- validators: mapValidators([validatePatternOnBlur(/^\d{11}$/)], CountryCodes.Estonia),
1109
- mask: { mask: makeMask(...numericInputs(11)) },
1110
- guidanceText: {
1111
- key: "validationPleaseEnterAValidIdNumberWithExample",
1112
- values: {
1113
- example: "32708101201",
1114
- idType: "Isikukood"
1115
- }
1116
- }
1117
- },
1118
- [CountryCodes.Finland]: {
1119
- label: "taxInformationNumber__FI",
1120
- validators: mapValidators([validatePatternOnBlur(/^\d{6}[+\-A]\d{3}[0-9A-Y]$/)], CountryCodes.Finland),
1121
- mask: {
1122
- mask: makeMask(...numericInputs(6), {
1123
- type: "input",
1124
- allow: /[+\-A]/
1125
- }, ...numericInputs(3), {
1126
- type: "input",
1127
- allow: /[0-9A-Y]/
1128
- }),
1129
- transformOnType: uppercase
1130
- },
1131
- guidanceText: {
1132
- key: "validationPleaseEnterAValidIdNumberWithExample",
1133
- values: {
1134
- example: "131052-308T",
1135
- idType: "Henkilötunnus"
1136
- }
1137
- }
1138
- },
1139
- [CountryCodes.France]: {
1140
- label: "taxInformationNumber__FR",
1141
- validators: mapValidators([validatePatternOnBlur(/^\s*(\d\s*){13}$/)], CountryCodes.France),
1142
- mask: { mask: makeMask(...numericInputs(2), spacer, ...numericInputs(2), spacer, ...numericInputs(3), spacer, ...numericInputs(3), spacer, ...numericInputs(3)) },
1143
- guidanceText: {
1144
- key: "validationPleaseEnterAValidIdNumberWithExample",
1145
- values: {
1146
- example: "30 23 217 600 053",
1147
- idType: "Numéro SPI"
1148
- }
1149
- }
1150
- },
1151
- [CountryCodes.Germany]: ({ companyType }) => {
1152
- switch (companyType) {
1153
- case LegalEntityTypes.INDIVIDUAL: return {
1154
- label: "taxInformationNumber__DE_Individual",
1155
- validators: mapValidators([validatePatternOnBlur(/^\d{11}$/)], CountryCodes.Germany),
1156
- mask: { mask: makeMask(...numericInputs(11)) },
1157
- guidanceText: {
1158
- key: "validationPleaseEnterAValidIdNumberWithExample",
1159
- values: {
1160
- example: "26954371827",
1161
- idType: "IdNr"
1162
- }
1163
- }
1164
- };
1165
- default: return {
1166
- label: "taxInformationNumber__DE",
1167
- validators: mapValidators([validatePatternOnBlur(/^\d{10}$|^\d{11}$|^\d{13}$/)], CountryCodes.Germany),
1168
- mask: { mask: makeMask(...numericInputs(10), ...numericInputs(3, true)) },
1169
- guidanceText: {
1170
- key: "validationPleaseEnterAValidIdNumberWithExample",
1171
- values: {
1172
- example: "14310260208",
1173
- idType: "Steuernummer"
1174
- }
1175
- }
1176
- };
1177
- }
1178
- },
1179
- [CountryCodes.Gibraltar]: {
1180
- label: "taxpayerReferenceNumber",
1181
- validators: mapValidators([validatePatternOnBlur(/^\d{1,7}$/)], CountryCodes.Gibraltar),
1182
- mask: { mask: makeMask(...numericInputs(1), ...numericInputs(6, true)) },
1183
- guidanceText: {
1184
- key: "enterAMaximumOfNDigitsForExample",
1185
- values: {
1186
- maxDigits: "7",
1187
- example: "123456"
1188
- }
1189
- }
1190
- },
1191
- [CountryCodes.Greece]: {
1192
- label: "taxInformationNumber__GR",
1193
- validators: mapValidators([validatePatternOnBlur(/^\d{9}$/)], CountryCodes.Greece),
1194
- mask: { mask: makeMask(...numericInputs(9)) },
1195
- guidanceText: {
1196
- key: "validationPleaseEnterAValidIdNumberWithExample",
1197
- values: {
1198
- example: "244709851",
1199
- idType: "AFM"
1200
- }
1201
- }
1202
- },
1203
- [CountryCodes.Guernsey]: ({ companyType }) => {
1204
- switch (companyType) {
1205
- case CompanyTypesValues.SOLE_PROPRIETORSHIP: return {
1206
- label: "nationalInsuranceNumber",
1207
- validators: mapValidators([validatePatternOnBlur(/^GY\d{6}[A-D]$/)], CountryCodes.Guernsey),
1208
- mask: {
1209
- mask: makeMask(...nonInputs("GY", { includeInValue: true }), spacer, ...numericInputs(2), spacer, ...numericInputs(2), spacer, ...numericInputs(2), spacer, {
1210
- type: "input",
1211
- allow: /[A-D]/
1212
- }),
1213
- transformOnType: uppercase
1214
- },
1215
- guidanceText: {
1216
- key: "enterTheRemainingNCharactersForExample",
1217
- values: {
1218
- numChars: "7",
1219
- example: "GY 12 34 56 A"
1220
- }
1221
- }
1222
- };
1223
- default: return {
1224
- label: "taxInformationNumber",
1225
- mask: businessRegistrationNumberMasks[CountryCodes.Guernsey].default,
1226
- validators: mapValidators([validatePatternOnBlur(businessRegistrationNumberPatterns[CountryCodes.Guernsey].default)], CountryCodes.Guernsey),
1227
- guidanceText: {
1228
- key: "enterAMaximumOfNDigitsForExample",
1229
- values: {
1230
- maxDigits: "9",
1231
- example: "123456"
1232
- }
1233
- }
1234
- };
1235
- }
1236
- },
1237
- [CountryCodes.HongKong]: {
1238
- label: "taxInformationNumber__HK",
1239
- validators: mapValidators([validatePatternOnBlur(/^\d{8}$/)], CountryCodes.HongKong),
1240
- mask: { mask: makeMask(...numericInputs(8)) },
1241
- guidanceText: {
1242
- key: "enterNDigitsForExample",
1243
- values: {
1244
- numDigits: "8",
1245
- example: "70569713"
1246
- }
1247
- }
1248
- },
1249
- [CountryCodes.Ireland]: ({ companyType }) => {
1250
- switch (companyType) {
1251
- case LegalEntityTypes.INDIVIDUAL: return {
1252
- label: "taxInformationNumber__IE_Individual",
1253
- validators: mapValidators([validatePatternOnBlur(/^\d{7}[A-Z]$|^\d{7}[A-Z]{2}$/)], CountryCodes.Ireland),
1254
- mask: {
1255
- mask: makeMask(...numericInputs(7), ...alphaInputs(1), ...alphaInputs(1, true)),
1256
- transformOnType: uppercase
1257
- },
1258
- guidanceText: {
1259
- key: "validationPleaseEnterAValidIdNumberWithExample",
1260
- values: {
1261
- example: "1234567T",
1262
- idType: "Personal Public Service Number"
1263
- }
1264
- }
1265
- };
1266
- default: return {
1267
- label: "trnNumber",
1268
- validators: mapValidators([validatePatternOnBlur(/^\d{7}[A-Z]$|^\d{7}[A-Z]{2}$/)], CountryCodes.Ireland),
1269
- mask: {
1270
- mask: makeMask(...numericInputs(7), ...alphaInputs(1), ...alphaInputs(1, true)),
1271
- transformOnType: uppercase
1272
- },
1273
- guidanceText: {
1274
- key: "enterXDigitsThenXToYLettersForExample",
1275
- values: {
1276
- numDigits: "7",
1277
- minLetters: "1",
1278
- maxLetters: "2",
1279
- example: "1497955KA"
1280
- }
1281
- }
1282
- };
1283
- }
1284
- },
1285
- [CountryCodes.Italy]: {
1286
- label: "codiceFiscale",
1287
- mask: { mask: makeMask(...numericInputs(11)) },
1288
- validators: mapValidators([validatePatternOnBlur(/^\d{11}$/)], CountryCodes.Italy),
1289
- guidanceText: {
1290
- key: "enterNDigitsForExample",
1291
- values: {
1292
- numDigits: "11",
1293
- example: "12345678901"
1294
- }
1295
- }
1296
- },
1297
- [CountryCodes.IsleOfMan]: {
1298
- label: "taxReferenceNumber",
1299
- validators: mapValidators([validatePatternOnBlur(/^[HCX]\d{8}$/)], CountryCodes.IsleOfMan),
1300
- mask: {
1301
- mask: makeMask({
1302
- type: "input",
1303
- allow: /[HCX]/
1304
- }, ...numericInputs(6), ...nonInputs(" - "), ...numericInputs(2)),
1305
- transformOnType: uppercase
1306
- },
1307
- guidanceText: {
1308
- key: "enterNCharactersForExample",
1309
- values: {
1310
- numChars: "9",
1311
- example: "C155673-79"
1312
- }
1313
- }
1314
- },
1315
- [CountryCodes.Jersey]: ({ taxIdNumberType, companyType }) => {
1316
- switch (taxIdNumberType) {
1317
- case "SSN": return {
1318
- label: "socialSecurityNumber",
1319
- validators: mapValidators([validatePatternOnBlur(/^[A-Z]{2}\d{6}[A-Z]$/)], CountryCodes.Jersey),
1320
- mask: {
1321
- mask: makeMask(...alphaInputs(2), ...numericInputs(6), ...alphaInputs(1)),
1322
- transformOnType: uppercase
1323
- },
1324
- guidanceText: {
1325
- key: "enterNCharactersForExample",
1326
- values: {
1327
- numChars: "9",
1328
- example: "JY000000A"
1329
- }
1330
- }
1331
- };
1332
- default: switch (companyType) {
1333
- case CompanyTypesValues.SOLE_PROPRIETORSHIP: return {
1334
- label: "taxIdentificationNumber",
1335
- validators: mapValidators([validatePatternOnBlur(/^\d{10}$/)], CountryCodes.Jersey),
1336
- mask: { mask: makeMask(...numericInputs(3), ...nonInputs(" - "), ...numericInputs(3), ...nonInputs(" - "), ...numericInputs(4)) },
1337
- guidanceText: {
1338
- key: "enterNDigitsForExample",
1339
- values: {
1340
- numDigits: "10",
1341
- example: "100-100-1000"
1342
- }
1343
- }
1344
- };
1345
- default: return {
1346
- label: "taxIdentificationNumber",
1347
- validators: mapValidators([validatePatternOnBlur(/^[A-Z]{2}\d{5}$/)], CountryCodes.Jersey),
1348
- mask: {
1349
- mask: makeMask(...alphaInputs(2), ...numericInputs(5)),
1350
- transformOnType: uppercase
1351
- },
1352
- guidanceText: {
1353
- key: "enterNCharactersForExample",
1354
- values: {
1355
- numChars: "7",
1356
- example: "CC17261"
1357
- }
1358
- }
1359
- };
1360
- }
1361
- }
1362
- },
1363
- [CountryCodes.Latvia]: {
1364
- label: "taxInformationNumber__LV",
1365
- validators: mapValidators([validatePatternOnBlur(/^\d{11}$/)], CountryCodes.Latvia),
1366
- mask: { mask: makeMask(...numericInputs(11)) },
1367
- guidanceText: {
1368
- key: "validationPleaseEnterAValidIdNumberWithExample",
1369
- values: {
1370
- example: "32532963606",
1371
- idType: "Personas kods"
1372
- }
1373
- }
1374
- },
1375
- [CountryCodes.Lithuania]: {
1376
- label: "taxInformationNumber__LT",
1377
- validators: mapValidators([validatePatternOnBlur(/^\d{11}$/)], CountryCodes.Lithuania),
1378
- mask: { mask: makeMask(...numericInputs(11)) },
1379
- guidanceText: {
1380
- key: "validationPleaseEnterAValidIdNumberWithExample",
1381
- values: {
1382
- example: "33309240064",
1383
- idType: "Asmens kodas"
1384
- }
1385
- }
1386
- },
1387
- [CountryCodes.Luxembourg]: ({ companyType }) => {
1388
- switch (companyType) {
1389
- case LegalEntityTypes.INDIVIDUAL: return {
1390
- label: "taxInformationNumber__LU_Individual",
1391
- validators: mapValidators([validatePatternOnBlur(/^\d{13}$/)], CountryCodes.Luxembourg),
1392
- mask: { mask: makeMask(...numericInputs(13)) },
1393
- guidanceText: {
1394
- key: "enterNCharactersForExample",
1395
- values: {
1396
- numChars: "13",
1397
- example: "1893120105732"
1398
- }
1399
- }
1400
- };
1401
- default: return {
1402
- label: "taxInformationNumber__LU_Org",
1403
- validators: mapValidators([validatePatternOnBlur(/^\d{11}$/)], CountryCodes.Luxembourg),
1404
- mask: { mask: makeMask(...numericInputs(11)) },
1405
- guidanceText: {
1406
- key: "enterNCharactersForExample",
1407
- values: {
1408
- numChars: "11",
1409
- example: "19991201001"
1410
- }
1411
- }
1412
- };
1413
- }
1414
- },
1415
- [CountryCodes.Malta]: ({ taxIdNumberType, companyType }) => {
1416
- switch (companyType) {
1417
- case LegalEntityTypes.INDIVIDUAL: switch (taxIdNumberType) {
1418
- case "IDENTITY_CARD_NUMBER": return {
1419
- label: "taxInformationNumber__MT_Individual",
1420
- validators: mapValidators([validatePatternOnBlur(/^\d{7}[A-Z]$|^\d{9}$/)], CountryCodes.Malta),
1421
- mask: {
1422
- mask: makeMask(...numericInputs(7), ...alphanumericInputs(2)),
1423
- transformOnType: uppercase
1424
- },
1425
- guidanceText: {
1426
- key: "validationPleaseEnterAValidIdNumberWithExample",
1427
- values: {
1428
- example: "1234567A",
1429
- idType: "Identity card number or unique taxpayer reference number (Maltese nationals)"
1430
- }
1431
- }
1432
- };
1433
- default: return {
1434
- label: "taxInformationNumber__MT_NRU_Individual",
1435
- validators: mapValidators([validatePatternOnBlur(/^\d{9}$/)], CountryCodes.Malta),
1436
- mask: { mask: makeMask(...numericInputs(9)) },
1437
- guidanceText: {
1438
- key: "validationPleaseEnterAValidIdNumberWithExample",
1439
- values: {
1440
- example: "999999999",
1441
- idType: "NRU (Non-Maltese nationals)"
1442
- }
1443
- }
1444
- };
1445
- }
1446
- default: return {
1447
- label: "taxInformationNumber__MT_Org",
1448
- validators: mapValidators([validatePatternOnBlur(/^\d{9}$/)], CountryCodes.Malta),
1449
- mask: { mask: makeMask(...numericInputs(9)) },
1450
- guidanceText: {
1451
- key: "validationPleaseEnterAValidIdNumberWithExample",
1452
- values: {
1453
- example: "123456789",
1454
- idType: "Income Tax Registration Number"
1455
- }
1456
- }
1457
- };
1458
- }
1459
- },
1460
- [CountryCodes.Netherlands]: ({ companyType }) => {
1461
- switch (companyType) {
1462
- case LegalEntityTypes.INDIVIDUAL: return {
1463
- label: "bsnNumber",
1464
- validators: mapValidators([validatePatternOnBlur(/^\d{9}$/)], CountryCodes.Netherlands),
1465
- mask: { mask: makeMask(...numericInputs(9)) },
1466
- guidanceText: {
1467
- key: "validationPleaseEnterAValidIdNumberWithExample",
1468
- values: {
1469
- example: "999999999",
1470
- idType: "BSN"
1471
- }
1472
- }
1473
- };
1474
- default: return {
1475
- label: "rsinNumber",
1476
- validators: mapValidators([validatePatternOnBlur(/^\d{9}$/)], CountryCodes.Netherlands),
1477
- mask: { mask: makeMask(...numericInputs(9)) },
1478
- guidanceText: {
1479
- key: "validationPleaseEnterAValidIdNumberWithExample",
1480
- values: {
1481
- example: "811786523",
1482
- idType: "RSIN"
1483
- }
1484
- }
1485
- };
1486
- }
1487
- },
1488
- [CountryCodes.NewZealand]: {
1489
- label: "irdNumber",
1490
- validators: mapValidators([validatePatternOnBlur(/^\d{8,9}$/)], CountryCodes.NewZealand),
1491
- mask: { mask: makeMask(...numericInputs(8), ...numericInputs(1, true)) },
1492
- guidanceText: {
1493
- key: "enterXToYDigitsForExample",
1494
- values: {
1495
- minDigits: "8",
1496
- maxDigits: "9",
1497
- example: "12345678"
1498
- }
1499
- }
1500
- },
1501
- [CountryCodes.Portugal]: {
1502
- label: "taxInformationNumber__PT",
1503
- validators: mapValidators([validatePatternOnBlur(/^\d{9}$/)], CountryCodes.Portugal),
1504
- mask: { mask: makeMask(...numericInputs(9)) },
1505
- guidanceText: {
1506
- key: "validationPleaseEnterAValidIdNumberWithExample",
1507
- values: {
1508
- example: "299999998",
1509
- idType: "Numéro ID Civil"
1510
- }
1511
- }
1512
- },
1513
- [CountryCodes.PuertoRico]: {
1514
- label: "taxInformationNumber__US",
1515
- validators: mapValidators([validatePatternOnBlur(/^\d{9}$/)], CountryCodes.PuertoRico),
1516
- mask: { mask: makeMask(...numericInputs(2), ...nonInputs(" - "), ...numericInputs(7)) },
1517
- guidanceText: {
1518
- key: "validationPleaseEnterAValidEINWithFormat",
1519
- values: {
1520
- format: "XX-XXXXXXX",
1521
- example: "98-7654321"
1522
- }
1523
- }
1524
- },
1525
- [CountryCodes.Singapore]: {
1526
- label: "gst",
1527
- validators: mapValidators([validatePatternOnBlur(/^[A-Z0-9]{9,10}$/)], CountryCodes.Singapore),
1528
- mask: {
1529
- mask: makeMask(...alphanumericInputs(2), ...nonInputs(" - "), ...alphanumericInputs(7), ...nonInputs(" - "), ...alphanumericInputs(1)),
1530
- transformOnType: uppercase
1531
- },
1532
- guidanceText: {
1533
- key: "enterNCharactersForExample",
1534
- values: {
1535
- numChars: "10",
1536
- example: "M212345678"
1537
- }
1538
- }
1539
- },
1540
- [CountryCodes.Slovakia]: ({ companyType }) => {
1541
- switch (companyType) {
1542
- case LegalEntityTypes.INDIVIDUAL: return {
1543
- label: "taxInformationNumber__SK_Individual",
1544
- validators: mapValidators([validatePatternOnBlur(/^\d{9}$|^\d{10}$|^\d{11}$|^\d{6}\/\d{3}$|^\d{6}\/\d{4}$/)], CountryCodes.Slovakia),
1545
- mask: { mask: makeMask(...numericInputs(6), {
1546
- type: "input",
1547
- allow: /\//,
1548
- optional: true
1549
- }, ...numericInputs(4), ...numericInputs(1, true)) },
1550
- guidanceText: {
1551
- key: "validationPleaseEnterAValidIdNumberWithExample",
1552
- values: {
1553
- example: "7711167420",
1554
- idType: "Rodne Cislo"
1555
- }
1556
- }
1557
- };
1558
- default: return {
1559
- label: "taxInformationNumber__SK_Org",
1560
- validators: mapValidators([validatePatternOnBlur(/^\d{10}$/)], CountryCodes.Slovakia),
1561
- mask: { mask: makeMask(...numericInputs(10)) },
1562
- guidanceText: {
1563
- key: "validationPleaseEnterAValidIdNumberWithExample",
1564
- values: {
1565
- example: "2020123456",
1566
- idType: "Daňové identifikačné číslo (DIČ)"
1567
- }
1568
- }
1569
- };
1570
- }
1571
- },
1572
- [CountryCodes.Slovenia]: ({ companyType }) => {
1573
- switch (companyType) {
1574
- case LegalEntityTypes.INDIVIDUAL: return {
1575
- label: "taxInformationNumber__SI_Individual",
1576
- validators: mapValidators([validatePatternOnBlur(/^\d{8}$/)], CountryCodes.Slovenia),
1577
- mask: { mask: makeMask(...numericInputs(8)) },
1578
- guidanceText: {
1579
- key: "validationPleaseEnterAValidIdNumberWithExample",
1580
- values: {
1581
- example: "15012557",
1582
- idType: "SI tax number"
1583
- }
1584
- }
1585
- };
1586
- default: return {
1587
- label: "taxInformationNumber__SI_Org",
1588
- validators: mapValidators([validatePatternOnBlur(/^\d{8}$/)], CountryCodes.Slovenia),
1589
- mask: { mask: makeMask(...numericInputs(8)) },
1590
- guidanceText: {
1591
- key: "validationPleaseEnterAValidIdNumberWithExample",
1592
- values: {
1593
- example: "12345678",
1594
- idType: "Davčna številka"
1595
- }
1596
- }
1597
- };
1598
- }
1599
- },
1600
- [CountryCodes.UnitedKingdom]: ({ taxIdNumberType, companyType }) => {
1601
- switch (companyType) {
1602
- case LegalEntityTypes.INDIVIDUAL: switch (taxIdNumberType) {
1603
- case "NINO": return {
1604
- label: "nationalInsuranceNumber",
1605
- validators: mapValidators([validatePatternOnBlur(/^[A-Z]{2}\d{6}[A-D]$/)], CountryCodes.UnitedKingdom),
1606
- guidanceText: {
1607
- key: "validationPleaseEnterAValidIdNumberWithExample",
1608
- values: {
1609
- example: "AA123456C",
1610
- idType: "NINO"
1611
- }
1612
- }
1613
- };
1614
- default: return {
1615
- label: "utr",
1616
- validators: mapValidators([validatePatternOnBlur(/^\d{10}$/)], CountryCodes.UnitedKingdom),
1617
- mask: { mask: makeMask(...numericInputs(10)) },
1618
- guidanceText: {
1619
- key: "validationPleaseEnterAValidIdNumberWithExample",
1620
- values: {
1621
- example: "7172510005",
1622
- idType: "UTR"
1623
- }
1624
- }
1625
- };
1626
- }
1627
- default: return {
1628
- label: "utr",
1629
- validators: mapValidators([validatePatternOnBlur(/^\d{10}$/)], CountryCodes.UnitedKingdom),
1630
- mask: { mask: makeMask(...numericInputs(10)) },
1631
- guidanceText: {
1632
- key: "validationPleaseEnterAValidIdNumberWithExample",
1633
- values: {
1634
- example: "7172510005",
1635
- idType: "UTR"
1636
- }
1637
- }
1638
- };
1639
- }
1640
- },
1641
- [CountryCodes.UnitedStates]: {
1642
- label: "taxInformationNumber__US",
1643
- validators: mapValidators([validateNotEmptyOnBlur, validatePatternOnBlur(/^\d{9}$/)], CountryCodes.UnitedStates),
1644
- mask: { mask: makeMask(...numericInputs(2), ...nonInputs(" - "), ...numericInputs(7)) },
1645
- guidanceText: {
1646
- key: "validationPleaseEnterAValidEINWithFormat",
1647
- values: {
1648
- format: "XX-XXXXXXX",
1649
- example: "98-7654321"
1650
- }
1651
- }
1652
- },
1653
- [CountryCodes.India]: { validators: mapValidators([validatePatternOnBlur(/^[A-Z0-9]{15}$/)], CountryCodes.India) },
1654
- [CountryCodes.Japan]: {
1655
- label: "taxInformationNumber__JP",
1656
- validators: mapValidators([validatePatternOnBlur(/^\d{13}$/)], CountryCodes.Japan),
1657
- guidanceText: {
1658
- key: "enterNDigitsForExample",
1659
- values: {
1660
- numDigits: "13",
1661
- example: "2169151989941"
1662
- }
1663
- }
1664
- },
1665
- [CountryCodes.Philippines]: { validators: mapValidators([validatePatternOnBlur(/^\d{12}$/)], CountryCodes.Philippines) }
1666
- };
1667
- var exemptedFromTaxDefaultFieldConfig = { [CountryCodes.Australia]: { label: "doNotHaveAbn" } };
1668
- var getTaxInformationPlaceholderText = ({ country, companyType, taxIdNumberType }) => {
1669
- switch (country) {
1670
- case CountryCodes.Austria: return "931736581";
1671
- case CountryCodes.Belgium: switch (companyType) {
1672
- case LegalEntityTypes.INDIVIDUAL: return "99999999999";
1673
- default: return "0123321123";
1674
- }
1675
- case CountryCodes.Croatia: return "94577403194";
1676
- case CountryCodes.Cyprus: return "00123123T";
1677
- case CountryCodes.Estonia: return "32708101201";
1678
- case CountryCodes.Ethiopia: return "32708101201";
1679
- case CountryCodes.Finland: return "131052-308T";
1680
- case CountryCodes.France: return "30 23 217 600 053";
1681
- case CountryCodes.Germany: switch (companyType) {
1682
- case LegalEntityTypes.INDIVIDUAL: return "26954371827";
1683
- default: return "14310260208";
1684
- }
1685
- case CountryCodes.Gibraltar: return "123456";
1686
- case CountryCodes.Greece: return "244709851";
1687
- case CountryCodes.Ireland: switch (companyType) {
1688
- case LegalEntityTypes.INDIVIDUAL: return "1234567T";
1689
- default: return "1497955KA";
1690
- }
1691
- case CountryCodes.Italy: return "12345678901";
1692
- case CountryCodes.IsleOfMan: return "C155673-79";
1693
- case CountryCodes.Latvia: return "32532963606";
1694
- case CountryCodes.Lithuania: return "33309240064";
1695
- case CountryCodes.Luxembourg: switch (companyType) {
1696
- case LegalEntityTypes.INDIVIDUAL: return "1893120105732";
1697
- default: return "19991201001";
1698
- }
1699
- case CountryCodes.Malta: switch (companyType) {
1700
- case LegalEntityTypes.INDIVIDUAL: switch (taxIdNumberType) {
1701
- case "NRU": return "999999999";
1702
- default: return "1234567A";
1703
- }
1704
- default: return "999999999";
1705
- }
1706
- case CountryCodes.Netherlands: switch (companyType) {
1707
- case LegalEntityTypes.INDIVIDUAL: return "999999999";
1708
- default: return "811786523";
1709
- }
1710
- case CountryCodes.Portugal: return "299999998";
1711
- case CountryCodes.Slovakia: switch (companyType) {
1712
- case LegalEntityTypes.INDIVIDUAL: return "7711167420";
1713
- default: return "2020123456";
1714
- }
1715
- case CountryCodes.Slovenia: switch (companyType) {
1716
- case LegalEntityTypes.INDIVIDUAL: return "15012557";
1717
- default: return "12345678";
1718
- }
1719
- case CountryCodes.UnitedKingdom: return "7172510005";
1720
- case CountryCodes.Spain: return "99999999L";
1721
- case CountryCodes.PuertoRico:
1722
- case CountryCodes.UnitedStates: return "11-0000000";
1723
- }
1724
- };
1725
- //#endregion
1726
- //#region src/utils/mapping/documentGuidanceMap.ts
1727
- /**
1728
- * Returns the appropriate prefix for the document guidance image based on api documentType.
1729
- */
1730
- var getDocumentGuidancePrefix = (documentType) => {
1731
- switch (documentType) {
1732
- case "passport": return "passport";
1733
- case "driversLicense":
1734
- case "identityCard": return "id";
1735
- default: return "document";
1736
- }
1737
- };
1738
- //#endregion
1739
- //#region src/components/ui/molecules/DocumentGuidance/DocumentGuidance.tsx
1740
- var documentMap = {
1741
- "document-blurred": lazy(() => import("./document-blurred-LCBsN2NC.js")),
1742
- "document-cutoff": lazy(() => import("./document-cut-off-wsPtcq1x.js")),
1743
- "document-expired": lazy(() => import("./document-expired-CvTJKcZr.js")),
1744
- "document-front": lazy(() => import("./document-front-BHCo0w58.js")),
1745
- "id-blurred": lazy(() => import("./id-blurred-DajPeUev.js")),
1746
- "id-cutoff": lazy(() => import("./id-cut-off-Cg7VH88-.js")),
1747
- "id-front": lazy(() => import("./id-front-BFiC6TLx.js")),
1748
- "id-glare": lazy(() => import("./id-glare--tl3DxTG.js")),
1749
- "passport-blurred": lazy(() => import("./passport-blurred-CeDXhPyb.js")),
1750
- "passport-cutoff": lazy(() => import("./passport-cut-off-CvgvQJYC.js")),
1751
- "passport-front": lazy(() => import("./passport-front-DnOK4cgY.js")),
1752
- "passport-glare": lazy(() => import("./passport-glare-BMA9YxJd.js"))
1753
- };
1754
- function DocumentGuidance({ type, className }) {
1755
- const { t } = useTranslation("ui");
1756
- const documentGuidanceItems = useMemo$1(() => {
1757
- const guidancePrefix = getDocumentGuidancePrefix(type);
1758
- const guidanceItems = [
1759
- {
1760
- svgName: `${guidancePrefix}-front`,
1761
- translationKey: "good",
1762
- valid: true
1763
- },
1764
- {
1765
- svgName: `${guidancePrefix}-cutoff`,
1766
- translationKey: "notCutOff"
1767
- },
1768
- {
1769
- svgName: `${guidancePrefix}-blurred`,
1770
- translationKey: "notBlurry"
1771
- },
1772
- guidancePrefix === "document" ? {
1773
- svgName: `document-expired`,
1774
- translationKey: "notExpired"
1775
- } : {
1776
- svgName: `${guidancePrefix}-glare`,
1777
- translationKey: "noGlare"
1778
- }
1779
- ];
1780
- return type === "constitutionalDocument" ? guidanceItems.filter((item) => item.svgName !== "document-expired") : guidanceItems;
1781
- }, [type]);
1782
- return /* @__PURE__ */ jsx("div", {
1783
- className: cx("adyen-kyc-document-guidance", className),
1784
- children: /* @__PURE__ */ jsx("div", {
1785
- className: "adyen-kyc-document-guidance__container",
1786
- children: documentGuidanceItems.map((item) => /* @__PURE__ */ jsxs("figure", {
1787
- className: "adyen-kyc-document-guidance__item",
1788
- children: [/* @__PURE__ */ jsx(Image, { lazyLoadedImage: documentMap[item.svgName] }), /* @__PURE__ */ jsxs("figcaption", {
1789
- className: "adyen-kyc-document-guidance__description",
1790
- children: [item.valid ? /* @__PURE__ */ jsx(Icon, {
1791
- name: "check",
1792
- className: "adyen-kyc-document-guidance__icon"
1793
- }) : /* @__PURE__ */ jsx(Icon, {
1794
- name: "cross",
1795
- className: "adyen-kyc-document-guidance__icon adyen-kyc-document-guidance__icon--invalid"
1796
- }), /* @__PURE__ */ jsx("span", {
1797
- className: "adyen-kyc-document-guidance__description-text",
1798
- children: t(($) => $[item.translationKey])
1799
- })]
1800
- })]
1801
- }, item.translationKey))
1802
- })
1803
- });
1804
- }
1805
- var DocumentUpload_module_default = {
1806
- "description-field": "adyen-kyc-description-field",
1807
- descriptionField: "adyen-kyc-description-field"
1808
- };
1809
- //#endregion
1810
- //#region src/components/Shared/forms/DocumentUpload/DocumentUpload.tsx
1811
- var DESCRIPTION_CHARACTERS_LIMIT = 200;
1812
- function DocumentUpload({ documentType, documentField, guidanceHeader, documentTypeSelect, guidanceContent, handleFieldChange, requiredFields, data: dataProp, valid: validProp, errors: errorProp, fieldValidationErrors: propFieldValidationErrors, supportsMultipleUploads, maxNumberOfFiles = 1, label, extraDropzoneDescription, hidePageCount, ...props }) {
1813
- const { t } = useTranslation("common");
1814
- const [document, setDocument] = useState$1();
1815
- const form = useForm({
1816
- ...props,
1817
- schema: ["description"],
1818
- defaultData: dataProp,
1819
- rules: props.validators,
1820
- fieldProblems: propFieldValidationErrors
1821
- });
1822
- const { handleChangeFor, triggerValidation, setData } = form;
1823
- let { data, errors, valid, fieldProblems } = form;
1824
- const formUtils = createFormUtils(props, t);
1825
- const stateRef = useRef$1({ setState: null });
1826
- const isOptional = !(props?.formVerificationErrors && Object.keys(props?.formVerificationErrors)?.length === 0);
1827
- useEffect$1(() => {
1828
- if (isOptional) triggerValidation();
1829
- }, [dataProp]);
1830
- useEffect$1(() => {
1831
- stateRef.current.setState?.({
1832
- type: "addToState",
1833
- value: {
1834
- data,
1835
- valid,
1836
- errors,
1837
- fieldProblems,
1838
- dataStoreId: props.id,
1839
- schema: requiredFields
1840
- }
1841
- });
1842
- }, [
1843
- data,
1844
- valid,
1845
- errors,
1846
- fieldProblems
1847
- ]);
1848
- useEffect$1(() => {
1849
- setDocument({ [documentField]: dataProp?.[documentField] });
1850
- setData("description", dataProp?.description);
1851
- triggerValidation();
1852
- }, [dataProp]);
1853
- if (handleFieldChange && requiredFields && propFieldValidationErrors) {
1854
- data = dataProp ?? {};
1855
- errors = errorProp;
1856
- valid = validProp;
1857
- fieldProblems = propFieldValidationErrors;
1858
- }
1859
- const handleInput = (e) => {
1860
- handleChangeFor("description")(e);
1861
- if (handleFieldChange) handleFieldChange?.("description")(e);
1862
- };
1863
- return /* @__PURE__ */ jsxs("div", {
1864
- className: `adyen-kyc-company-document-upload adyen-kyc-company-document-upload--${documentField}`,
1865
- children: [
1866
- /* @__PURE__ */ jsx(StateContextSetter, {
1867
- owner: props.id,
1868
- stateRef
1869
- }),
1870
- props.heading && /* @__PURE__ */ jsx(Header, {
1871
- title: props.heading,
1872
- description: props.description
1873
- }),
1874
- /* @__PURE__ */ jsx(ErrorPanel, {
1875
- verificationErrors: props?.formVerificationErrors,
1876
- validationErrors: propFieldValidationErrors,
1877
- formUtils,
1878
- id: "ariaErrorField"
1879
- }),
1880
- formUtils.isRequiredField(documentField) && /* @__PURE__ */ jsxs(Fragment$1, { children: [
1881
- guidanceHeader,
1882
- documentTypeSelect && /* @__PURE__ */ jsx(Field, {
1883
- name: "documentType",
1884
- label: t(($) => $["selectDocumentType"]),
1885
- children: (childProps) => /* @__PURE__ */ jsx(Select, {
1886
- ...childProps,
1887
- onChange: (e) => documentTypeSelect.setSelectedType(e.target.value),
1888
- name: "documentType",
1889
- placeholder: t(($) => $["selectDocument"]),
1890
- selected: documentTypeSelect.selectedType,
1891
- items: documentTypeSelect.options.map(({ id, name }) => ({
1892
- id,
1893
- name: t(($) => $[name])
1894
- }))
1895
- })
1896
- }),
1897
- /* @__PURE__ */ jsx("div", { children: guidanceContent }),
1898
- /* @__PURE__ */ jsx(DocumentGuidance, {
1899
- type: documentType,
1900
- className: "adyen-kyc-u-margin-bottom-24"
1901
- }),
1902
- /* @__PURE__ */ jsx(Dropzone, {
1903
- defaultData: document ?? data,
1904
- id: props.id,
1905
- isOptional: isOptional || formUtils.isOptionalField(documentField),
1906
- maxSize: documentType === "constitutionalDocument" ? 31457280 : void 0,
1907
- name: documentField,
1908
- shouldValidate: props.shouldValidate,
1909
- handleFieldChange,
1910
- errors,
1911
- fieldValidationErrors: fieldProblems,
1912
- valid,
1913
- multiple: supportsMultipleUploads,
1914
- maxNumberOfFiles: maxNumberOfFiles ?? 1,
1915
- label,
1916
- extraDropzoneDescription,
1917
- hidePageCount
1918
- })
1919
- ] }),
1920
- formUtils.isRequiredField("description") && /* @__PURE__ */ jsx("div", {
1921
- className: DocumentUpload_module_default.descriptionField,
1922
- children: /* @__PURE__ */ jsx(Field, {
1923
- name: "description",
1924
- label: formUtils.getLabel("descriptionOptional"),
1925
- errorMessage: formUtils.getErrorMessage("description", errors, fieldProblems),
1926
- isValid: valid.description,
1927
- children: (childProps) => /* @__PURE__ */ jsx(TextArea, {
1928
- ...childProps,
1929
- name: "description",
1930
- value: data.description,
1931
- maxLength: DESCRIPTION_CHARACTERS_LIMIT,
1932
- onInput: handleInput,
1933
- "aria-invalid": !valid.description,
1934
- handleFieldChange: handleInput,
1935
- errors,
1936
- fieldValidationErrors: fieldProblems,
1937
- valid
1938
- })
1939
- })
1940
- })
1941
- ]
1942
- });
1943
- }
1944
- var MemoizedDocumentUpload = memo(DocumentUpload, (prevProps, nextProps) => prevProps.shouldValidate === nextProps.shouldValidate && objectsDeepEqual(prevProps.requiredFields, nextProps.requiredFields) && objectsDeepEqual(prevProps.errors, nextProps.errors) && objectsDeepEqual(prevProps.optionalFields, nextProps.optionalFields) && objectsDeepEqual(prevProps.data, nextProps.data) && objectsDeepEqual(prevProps.formVerificationErrors, nextProps.formVerificationErrors) && objectsDeepEqual(prevProps.fieldValidationErrors, nextProps.fieldValidationErrors) && objectsDeepEqual(prevProps.documentTypeSelect, nextProps.documentTypeSelect) && prevProps.documentField === nextProps.documentField && prevProps.name === nextProps.name && prevProps.country === nextProps.country && prevProps.companyType === nextProps.companyType);
1945
- //#endregion
1946
- //#region src/components/Business/utils/companyUtil.ts
1947
- var countryToTaxInfoTypeMap = {
1948
- US: "EIN",
1949
- AU: "ABN",
1950
- NZ: "IRD",
1951
- HK: "BRN",
1952
- SG: "GST"
1953
- };
1954
- var isFinancialInformationRequired = (isFinancialInformationFeatureEnabled, taskType, country, capabilities, legalEntityType) => {
1955
- const isOrganization = legalEntityType === LegalEntityTypes.ORGANIZATION;
1956
- if (!isFinancialInformationFeatureEnabled || !COUNTRIES_REQUIRING_FINANCIAL_INFORMATION.includes(country)) return;
1957
- if (country === CountryCodes.UnitedKingdom && (taskType === TaskTypes.SOLE_PROPRIETOR_COMPANY || taskType === TaskTypes.BUSINESS_DETAILS)) return "REQUIRED";
1958
- if (taskType === TaskTypes.BUSINESS_DETAILS && isOrganization) {
1959
- if (keysOf(capabilities ?? {}).some((capability) => capability === "issueBankAccount")) return "REQUIRED";
1960
- }
1961
- };
1962
- //#endregion
1963
- //#region src/components/Business/utils/requestingCapabilities.ts
1964
- function requestingIssuing(rootLegalEntity) {
1965
- const capabilities = rootLegalEntity?.capabilities ?? {};
1966
- return "issueCard" in capabilities && capabilities.issueCard?.requested === true || "issueCardConsumer" in capabilities && capabilities.issueCardConsumer?.requested === true || "issueCardCommercial" in capabilities && capabilities.issueCardCommercial?.requested === true || "useCard" in capabilities && capabilities.useCard?.requested === true || "useCardConsumer" in capabilities && capabilities.useCardConsumer?.requested === true || "useCardCommercial" in capabilities && capabilities.useCardCommercial?.requested === true;
1967
- }
1968
- function requestingBanking(rootLegalEntity) {
1969
- const capabilities = rootLegalEntity?.capabilities ?? {};
1970
- return "issueBankAccount" in capabilities && capabilities.issueBankAccount?.requested === true || "sendToThirdParty" in capabilities && capabilities.sendToThirdParty?.requested === true || "receiveFromThirdParty" in capabilities && capabilities.receiveFromThirdParty?.requested === true;
1971
- }
1972
- //#endregion
1973
- //#region src/components/Business/forms/rules.ts
1974
- var COUNTRIES_THAT_DONT_REQUIRE_SOLE_PROP_REGISTRATION = [
1975
- CountryCodes.Australia,
1976
- CountryCodes.Gibraltar,
1977
- CountryCodes.Guernsey,
1978
- CountryCodes.HongKong,
1979
- CountryCodes.Ireland,
1980
- CountryCodes.IsleOfMan,
1981
- CountryCodes.Jersey,
1982
- CountryCodes.Malta,
1983
- CountryCodes.PuertoRico,
1984
- CountryCodes.Spain,
1985
- CountryCodes.UnitedKingdom,
1986
- CountryCodes.UnitedStates
1987
- ];
1988
- var COUNTRIES_THAT_DONT_REQUIRE_COMPANY_REGISTRATION = [
1989
- CountryCodes.HongKong,
1990
- CountryCodes.PuertoRico,
1991
- CountryCodes.UnitedStates
1992
- ];
1993
- var COUNTRIES_WITH_POSSIBLE_REGISTRATION_EXEMPTIONS_FOR_ORGANIZATIONS = [CountryCodes.HongKong];
1994
- var COUNTRIES_WITH_POSSIBLE_REGISTRATION_EXEMPTIONS_FOR_SOLE_PROPS = [
1995
- CountryCodes.Austria,
1996
- CountryCodes.Canada,
1997
- CountryCodes.Finland,
1998
- CountryCodes.Germany,
1999
- CountryCodes.Lithuania,
2000
- CountryCodes.Luxembourg,
2001
- CountryCodes.NewZealand,
2002
- CountryCodes.Poland,
2003
- CountryCodes.Sweden,
2004
- CountryCodes.Switzerland
2005
- ];
2006
- var COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER = [CountryCodes.Canada, CountryCodes.UnitedStates];
2007
- var COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER_SOLE_PROPS = [CountryCodes.Germany];
2008
- /**
2009
- * Also used to determine what documenttype needs to be used
2010
- * when uploading tax document in mapping.ts
2011
- * */
2012
- var COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT = [
2013
- CountryCodes.Australia,
2014
- CountryCodes.Canada,
2015
- CountryCodes.Gibraltar,
2016
- CountryCodes.HongKong,
2017
- CountryCodes.NewZealand,
2018
- CountryCodes.PuertoRico,
2019
- CountryCodes.Singapore,
2020
- CountryCodes.UnitedStates,
2021
- CountryCodes.Guernsey,
2022
- CountryCodes.Jersey,
2023
- CountryCodes.IsleOfMan,
2024
- CountryCodes.Mexico,
2025
- CountryCodes.Brazil,
2026
- CountryCodes.Japan
2027
- ];
2028
- var COUNTRIES_THAT_DO_NOT_USE_TAX_ID_FOR_SOLE_PROP = [CountryCodes.Singapore];
2029
- var COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_COMPANIES = [];
2030
- var COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_SOLE_PROPS = [
2031
- CountryCodes.Canada,
2032
- CountryCodes.PuertoRico,
2033
- CountryCodes.UnitedStates
2034
- ];
2035
- var COUNTRIES_THAT_REQUIRE_DATE_OF_INCORPORATION = [CountryCodes.HongKong, CountryCodes.Singapore];
2036
- var COUNTRIES_THAT_USES_UEN_OR_GST = [CountryCodes.Singapore];
2037
- /**
2038
- * @description These are the countries that currently have a search provider that requires their tax information (TIN, VAT, etc.) to search and verify details.
2039
- */
2040
- var COUNTRIES_USING_COMPANY_SEARCH = [CountryCodes.UnitedStates];
2041
- var COUNTRY_OF_GOVERNING_LAW_POSSIBLE = [CountryCodes.UnitedKingdom];
2042
- var COUNTRIES_REQUIRING_FINANCIAL_INFORMATION = [
2043
- CountryCodes.Austria,
2044
- CountryCodes.Belgium,
2045
- CountryCodes.Croatia,
2046
- CountryCodes.Cyprus,
2047
- CountryCodes.Estonia,
2048
- CountryCodes.Finland,
2049
- CountryCodes.France,
2050
- CountryCodes.Germany,
2051
- CountryCodes.Greece,
2052
- CountryCodes.Ireland,
2053
- CountryCodes.Italy,
2054
- CountryCodes.Latvia,
2055
- CountryCodes.Lithuania,
2056
- CountryCodes.Luxembourg,
2057
- CountryCodes.Malta,
2058
- CountryCodes.Netherlands,
2059
- CountryCodes.Portugal,
2060
- CountryCodes.Slovakia,
2061
- CountryCodes.Slovenia,
2062
- CountryCodes.Spain,
2063
- CountryCodes.UnitedKingdom
2064
- ];
2065
- var COUNTRIES_REQUIRING_E_INVOICING_CODE = [CountryCodes.Italy];
2066
- var COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4 = [CountryCodes.Australia];
2067
- var TAX_ID_REQUIRED_COUNTRIES_ORGANIZATION = [
2068
- CountryCodes.Austria,
2069
- CountryCodes.Belgium,
2070
- CountryCodes.Croatia,
2071
- CountryCodes.Cyprus,
2072
- CountryCodes.Germany,
2073
- CountryCodes.Greece,
2074
- CountryCodes.Ireland,
2075
- CountryCodes.Luxembourg,
2076
- CountryCodes.Malta,
2077
- CountryCodes.Netherlands,
2078
- CountryCodes.Slovakia,
2079
- CountryCodes.Slovenia,
2080
- CountryCodes.UnitedKingdom
2081
- ];
2082
- function isUsingCompanySearch(country, taskType) {
2083
- return taskType === TaskTypes.BUSINESS_DETAILS && COUNTRIES_USING_COMPANY_SEARCH.includes(country);
2084
- }
2085
- var isRegistrationNumberAbsentStateV4Scenario = (country, entityType) => {
2086
- return country === CountryCodes.Australia && (entityType === CompanyTypesValues.GOVERNMENTAL_ORGANIZATION || entityType === CompanyTypesValues.INCORPORATED_PARTNERSHIP) || country === CountryCodes.NewZealand;
2087
- };
2088
- var rules = ({ data, defaultData, country, taskType, isFeatureEnabled = () => false, isSettingEnabled = () => false, accountHolder, rootLegalEntity, tinMatched }) => {
2089
- const countryRequiresDateOfIncorporationForCompanies = () => {
2090
- if (COUNTRIES_THAT_REQUIRE_DATE_OF_INCORPORATION.includes(country)) return "REQUIRED";
2091
- };
2092
- const countryRequiresFinancialInformation = () => {
2093
- if (isFeatureEnabled("EnableFinancialInformationComponentV4") && COUNTRIES_REQUIRING_FINANCIAL_INFORMATION.includes(country)) {
2094
- const isFinancialInformationFeatureEnabled = isFeatureEnabled("EnableFinancialInformationComponentV4");
2095
- const leType = rootLegalEntity?.type;
2096
- return isFinancialInformationRequired(isFinancialInformationFeatureEnabled, taskType, country, rootLegalEntity?.capabilities, leType);
2097
- }
2098
- };
2099
- return createFormRules({
2100
- requireDoingBusinessAsName: () => {
2101
- return data.additionalInformation?.hasDoingBusinessAs ? "REQUIRED" : void 0;
2102
- },
2103
- countryRequiresStateOrProvince: () => {
2104
- if (COUNTRIES_WITH_STATES_DATASET.includes(country)) return "REQUIRED";
2105
- },
2106
- ifPubliclyTradedCompany: () => {
2107
- if (data.companyStructure?.entityType === CompanyTypesValues.PUBLIC_COMPANY) return "REQUIRED";
2108
- },
2109
- countryUsesVat: () => {
2110
- if (!COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT.includes(country)) return data.additionalInformation?.exemptedFromVat ? "OPTIONAL" : "REQUIRED";
2111
- },
2112
- vatNumberType: () => {
2113
- if (!COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT.includes(country)) return "OPTIONAL";
2114
- },
2115
- isVatExempt: () => {
2116
- if (!COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT.includes(country)) return data.additionalInformation?.exemptedFromVat ? "REQUIRED" : "OPTIONAL";
2117
- },
2118
- countryUsesTaxId: () => {
2119
- const isExemptFromTax = Boolean(data.basicInformation?.exemptedFromTax ?? data.additionalInformation?.exemptedFromTax);
2120
- const isOrgWithBanking = rootLegalEntity?.type === "organization" && keysOf(rootLegalEntity.capabilities ?? {}).includes("issueBankAccount");
2121
- if (TAX_ID_REQUIRED_COUNTRIES_ORGANIZATION.includes(country) && isOrgWithBanking) return isExemptFromTax ? "OPTIONAL" : "REQUIRED";
2122
- if (country === CountryCodes.Italy && isOrgWithBanking && data.additionalInformation?.registrationNumberType === "CCIAA") return isExemptFromTax ? "OPTIONAL" : "REQUIRED";
2123
- if (COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT.includes(country) && !(taskType === TaskTypes.SOLE_PROPRIETOR_COMPANY && COUNTRIES_THAT_DO_NOT_USE_TAX_ID_FOR_SOLE_PROP.includes(country))) return isExemptFromTax ? "OPTIONAL" : "REQUIRED";
2124
- },
2125
- companyRegistrationNumberExemptionAllowed: () => {
2126
- const isExemptFromRegistrationNumber = Boolean(data.basicInformation?.exemptedFromRegistrationNumber ?? data.additionalInformation?.exemptedFromRegistrationNumber);
2127
- if (isFeatureEnabled("EnableRegistrationAndTaxAbsentStatesV4") && isRegistrationNumberAbsentStateV4Scenario(country, data.companyStructure?.entityType)) return isExemptFromRegistrationNumber ? "REQUIRED" : "OPTIONAL";
2128
- switch (taskType) {
2129
- case TaskTypes.SOLE_PROPRIETOR_COMPANY:
2130
- if (!COUNTRIES_WITH_POSSIBLE_REGISTRATION_EXEMPTIONS_FOR_SOLE_PROPS.includes(country)) return;
2131
- return isExemptFromRegistrationNumber ? "REQUIRED" : "OPTIONAL";
2132
- default: switch (country) {
2133
- case CountryCodes.Germany:
2134
- if (data.companyStructure?.entityType === CompanyTypesValues.GOVERNMENTAL_ORGANIZATION || data.companyStructure?.entityType === CompanyTypesValues.NON_PROFIT_OR_CHARITABLE) return isExemptFromRegistrationNumber ? "REQUIRED" : "OPTIONAL";
2135
- return;
2136
- case CountryCodes.Denmark:
2137
- if (data.companyStructure?.entityType === CompanyTypesValues.NON_PROFIT_OR_CHARITABLE) return isExemptFromRegistrationNumber ? "REQUIRED" : "OPTIONAL";
2138
- return;
2139
- case CountryCodes.HongKong:
2140
- if (country === CountryCodes.HongKong && !defaultData?.additionalInformation?.registrationNumber) return;
2141
- return isExemptFromRegistrationNumber ? "REQUIRED" : "OPTIONAL";
2142
- default:
2143
- if (!COUNTRIES_WITH_POSSIBLE_REGISTRATION_EXEMPTIONS_FOR_ORGANIZATIONS.includes(country)) return;
2144
- return isExemptFromRegistrationNumber ? "REQUIRED" : "OPTIONAL";
2145
- }
2146
- }
2147
- },
2148
- countryOfGoverningLawRequired: () => {
2149
- if (isFeatureEnabled("EnableCountryOfGoverningLawForUKCompanies") && COUNTRY_OF_GOVERNING_LAW_POSSIBLE.includes(data.basicInformation?.country)) return "REQUIRED";
2150
- },
2151
- countryRequiresRegistrationNumber: () => {
2152
- const isExemptFromRegistrationNumber = Boolean(data.basicInformation?.exemptedFromRegistrationNumber ?? data.additionalInformation?.exemptedFromRegistrationNumber);
2153
- switch (taskType) {
2154
- case TaskTypes.SOLE_PROPRIETOR_COMPANY:
2155
- if (COUNTRIES_THAT_DONT_REQUIRE_SOLE_PROP_REGISTRATION.includes(country)) return;
2156
- if (COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER_SOLE_PROPS.includes(country)) return "OPTIONAL";
2157
- return isExemptFromRegistrationNumber ? "OPTIONAL" : "REQUIRED";
2158
- default:
2159
- if (COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER.includes(country)) return "OPTIONAL";
2160
- if (country === CountryCodes.HongKong) {
2161
- if (!defaultData?.additionalInformation?.registrationNumber) return;
2162
- return isExemptFromRegistrationNumber ? "OPTIONAL" : "REQUIRED";
2163
- }
2164
- if (!COUNTRIES_THAT_DONT_REQUIRE_COMPANY_REGISTRATION.includes(country)) return isExemptFromRegistrationNumber ? "OPTIONAL" : "REQUIRED";
2165
- }
2166
- },
2167
- registrationNumberType: () => {
2168
- switch (taskType) {
2169
- case TaskTypes.SOLE_PROPRIETOR_COMPANY:
2170
- if (COUNTRIES_THAT_DONT_REQUIRE_SOLE_PROP_REGISTRATION.includes(country)) return;
2171
- return "OPTIONAL";
2172
- default:
2173
- if (COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER.includes(country)) return "OPTIONAL";
2174
- if (COUNTRIES_THAT_DONT_REQUIRE_COMPANY_REGISTRATION.includes(country)) return;
2175
- return "OPTIONAL";
2176
- }
2177
- },
2178
- countryUsesUenOrGst: () => {
2179
- if (taskType === TaskTypes.SOLE_PROPRIETOR_COMPANY) return;
2180
- if (COUNTRIES_THAT_USES_UEN_OR_GST.includes(country)) return "REQUIRED";
2181
- },
2182
- countryHasTaxExemptions: () => {
2183
- const isExemptFromTax = Boolean(data.basicInformation?.exemptedFromTax ?? data.additionalInformation?.exemptedFromTax);
2184
- switch (taskType) {
2185
- case TaskTypes.SOLE_PROPRIETOR_COMPANY:
2186
- if (!COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_SOLE_PROPS.includes(country)) return;
2187
- return isExemptFromTax ? "REQUIRED" : "OPTIONAL";
2188
- default:
2189
- if (isFeatureEnabled("EnableRegistrationAndTaxAbsentStatesV4") && COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4.includes(country) && accountHolder === "aTrust") return isExemptFromTax ? "REQUIRED" : "OPTIONAL";
2190
- if (COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_COMPANIES.includes(country)) return isExemptFromTax ? "REQUIRED" : "OPTIONAL";
2191
- }
2192
- },
2193
- usingCompanySearch: () => {
2194
- if (isUsingCompanySearch(country, taskType)) return "REQUIRED";
2195
- },
2196
- countryRequiresFinancialInformation,
2197
- isDateOfIncorporationRequired: () => {
2198
- return countryRequiresDateOfIncorporationForCompanies() || countryRequiresFinancialInformation();
2199
- },
2200
- isFinancialReportingFieldsRequired: () => {
2201
- return countryRequiresFinancialInformation() === "REQUIRED" && isDateOlderThanAYear(data.additionalInformation?.dateOfIncorporation) ? "REQUIRED" : void 0;
2202
- },
2203
- isIndustryCodeRequired: () => {
2204
- const needsBusinessLine = requestingIssuing(rootLegalEntity) || requestingBanking(rootLegalEntity);
2205
- if (isSettingEnabled(SettingNames.AllowBusinessLines) && needsBusinessLine) return "REQUIRED";
2206
- },
2207
- annualTurnoverRequired: () => {
2208
- if (data.companyFinancialInformation?.reportedValueOption === "annualTurnover") return "REQUIRED";
2209
- },
2210
- balanceSheetTotalRequired: () => {
2211
- if (data.companyFinancialInformation?.reportedValueOption === "balanceSheetTotal") return "REQUIRED";
2212
- },
2213
- isEInvoicingCodeEnabled: () => {
2214
- if (isFeatureEnabled("EnableEInvoicingCodeField") && COUNTRIES_REQUIRING_E_INVOICING_CODE.includes(country)) return "REQUIRED";
2215
- },
2216
- ifCountryUsAndTinFailed: () => {
2217
- if (taskType === TaskTypes.SOLE_PROPRIETOR_COMPANY) return;
2218
- if (tinMatched === false && country === CountryCodes.UnitedStates) return "REQUIRED";
2219
- },
2220
- businessRequiresCompanyType: () => {
2221
- if (taskType !== TaskTypes.SOLE_PROPRIETOR_COMPANY) return "REQUIRED";
2222
- },
2223
- japaneseLegalCompanyName: () => {
2224
- if (isJapanLocalizationEnabled(isFeatureEnabled, country)) return "REQUIRED";
2225
- }
2226
- });
2227
- };
2228
- //#endregion
2229
- //#region src/components/Shared/fields/TaxInformationField/taxIdNumberTypes.ts
2230
- var taxIdNumberOptions = {
2231
- [CountryCodes.Australia]: [{
2232
- id: "ABN",
2233
- name: "australianBusinessNumberAbn"
2234
- }],
2235
- [CountryCodes.Austria]: [{
2236
- id: "STEUERNUMMER",
2237
- name: "taxInformationNumber__AT"
2238
- }],
2239
- [CountryCodes.Belgium]: [{
2240
- id: "BUSINESS_NUMMER",
2241
- name: "businessNumber",
2242
- applicableOnlyFor: [
2243
- CompanyTypesValues.SOLE_PROPRIETORSHIP,
2244
- CompanyTypesValues.PRIVATE_COMPANY,
2245
- CompanyTypesValues.GOVERNMENTAL_ORGANIZATION,
2246
- CompanyTypesValues.INCORPORATED_ASSOCIATION,
2247
- CompanyTypesValues.INCORPORATED_PARTNERSHIP,
2248
- CompanyTypesValues.NON_PROFIT_OR_CHARITABLE,
2249
- CompanyTypesValues.UNINCORPORATED_PARTNERSHIP,
2250
- CompanyTypesValues.UNLISTED_PUBLIC_COMPANY
2251
- ]
2252
- }, {
2253
- id: "NUMERO_NATIONAL",
2254
- name: "taxInformationNumber__BE_Individual",
2255
- applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
2256
- }],
2257
- [CountryCodes.Brazil]: [{
2258
- id: "CNPJ",
2259
- name: "CNPJ"
2260
- }],
2261
- [CountryCodes.Canada]: [{
2262
- id: "BUSINESS_NUMBER",
2263
- name: "businessNumber"
2264
- }],
2265
- [CountryCodes.Croatia]: [{
2266
- id: "OIB",
2267
- name: "taxInformationNumber__HR"
2268
- }],
2269
- [CountryCodes.Cyprus]: [{
2270
- id: "TIC",
2271
- name: "taxInformationNumber__CY"
2272
- }],
2273
- [CountryCodes.Estonia]: [{
2274
- id: "ISIKUKOOD",
2275
- name: "taxInformationNumber__ET_Individual",
2276
- applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
2277
- }, {
2278
- id: "registrikood",
2279
- name: "registrikood",
2280
- applicableOnlyFor: [CompanyTypesValues.PRIVATE_COMPANY]
2281
- }],
2282
- [CountryCodes.Finland]: [{
2283
- id: "HENKILOTUNNUS",
2284
- name: "taxInformationNumber__FI",
2285
- applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
2286
- }, {
2287
- id: "YTUNNUS",
2288
- name: "YTunnus",
2289
- applicableOnlyFor: [CompanyTypesValues.PRIVATE_COMPANY]
2290
- }],
2291
- [CountryCodes.France]: [{
2292
- id: "SIRET",
2293
- name: "siret",
2294
- applicableOnlyFor: [CompanyTypesValues.PRIVATE_COMPANY]
2295
- }],
2296
- [CountryCodes.Germany]: [{
2297
- id: "STEUERNUMMER",
2298
- name: "taxInformationNumber__DE",
2299
- applicableOnlyFor: [
2300
- CompanyTypesValues.SOLE_PROPRIETORSHIP,
2301
- CompanyTypesValues.PRIVATE_COMPANY,
2302
- CompanyTypesValues.GOVERNMENTAL_ORGANIZATION,
2303
- CompanyTypesValues.INCORPORATED_ASSOCIATION,
2304
- CompanyTypesValues.INCORPORATED_PARTNERSHIP,
2305
- CompanyTypesValues.NON_PROFIT_OR_CHARITABLE,
2306
- CompanyTypesValues.UNINCORPORATED_PARTNERSHIP,
2307
- CompanyTypesValues.UNLISTED_PUBLIC_COMPANY
2308
- ]
2309
- }, {
2310
- id: "IDNR",
2311
- name: "taxInformationNumber__DE_Individual",
2312
- applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
2313
- }],
2314
- [CountryCodes.Gibraltar]: [{
2315
- id: "GI_TAXPAYER_REFERENCE_NUMBER",
2316
- name: "taxpayerReferenceNumber"
2317
- }],
2318
- [CountryCodes.Greece]: [{
2319
- id: "AFM",
2320
- name: "taxInformationNumber__GR"
2321
- }],
2322
- [CountryCodes.Guernsey]: [{
2323
- id: "GG_REGISTRATION_NUMBER",
2324
- name: "taxInformationNumber"
2325
- }, {
2326
- id: "TIN_GG",
2327
- name: "nationalInsuranceNumber",
2328
- applicableOnlyFor: [CompanyTypesValues.SOLE_PROPRIETORSHIP]
2329
- }],
2330
- [CountryCodes.HongKong]: [{
2331
- id: "BRN",
2332
- name: "taxInformationNumber__HK"
2333
- }],
2334
- [CountryCodes.Ireland]: [{
2335
- id: "TRN",
2336
- name: "trnNumber",
2337
- applicableOnlyFor: [CompanyTypesValues.PRIVATE_COMPANY, CompanyTypesValues.UNINCORPORATED_PARTNERSHIP]
2338
- }, {
2339
- id: "PERSONAL_PUBLIC_SERVICE_NUMBER",
2340
- name: "taxInformationNumber__IE_Individual",
2341
- applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
2342
- }],
2343
- [CountryCodes.IsleOfMan]: [{
2344
- id: "IM_TAX_REFERENCE_NUMBER",
2345
- name: "taxReferenceNumber"
2346
- }],
2347
- [CountryCodes.Italy]: [{
2348
- id: "CODICE_FISCALE",
2349
- name: "taxInformationNumber__IT"
2350
- }],
2351
- [CountryCodes.Japan]: [{
2352
- id: "CORPORATE_NUMBER",
2353
- name: "taxInformationNumber"
2354
- }],
2355
- [CountryCodes.Jersey]: [{
2356
- id: "TIN_JE",
2357
- name: "taxIdentificationNumber"
2358
- }, {
2359
- id: "SSN",
2360
- name: "socialSecurityNumber",
2361
- applicableOnlyFor: [CompanyTypesValues.SOLE_PROPRIETORSHIP]
2362
- }],
2363
- [CountryCodes.Latvia]: [{
2364
- id: "PERSONAS_KODS",
2365
- name: "taxInformationNumber__LV",
2366
- applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
2367
- }, {
2368
- id: "REGISTRACIJAS_NUMURS",
2369
- name: "lvRegistrationNumber",
2370
- applicableOnlyFor: [CompanyTypesValues.PRIVATE_COMPANY]
2371
- }],
2372
- [CountryCodes.Lithuania]: [{
2373
- id: "ASMENS_KODAS",
2374
- name: "taxInformationNumber__LT"
2375
- }],
2376
- [CountryCodes.Luxembourg]: [{
2377
- id: "NATIONAL_IDENTIFICATION_NUMBER",
2378
- name: "taxInformationNumber__LU_Individual",
2379
- applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
2380
- }, {
2381
- id: "NATIONAL_IDENTIFICATION_NUMBER",
2382
- name: "taxInformationNumber__LU_Org",
2383
- applicableOnlyFor: [CompanyTypesValues.PRIVATE_COMPANY]
2384
- }],
2385
- [CountryCodes.Malta]: [
2386
- {
2387
- id: "NRU",
2388
- name: "taxInformationNumber__MT_NRU_Individual",
2389
- applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
2390
- },
2391
- {
2392
- id: "IDENTITY_CARD_NUMBER",
2393
- name: "taxInformationNumber__MT_Individual",
2394
- applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
2395
- },
2396
- {
2397
- id: "INCOME_TAX_REGISTRATION_NUMBER",
2398
- name: "taxInformationNumber__MT_Org",
2399
- applicableOnlyFor: [CompanyTypesValues.PRIVATE_COMPANY]
2400
- }
2401
- ],
2402
- [CountryCodes.Netherlands]: [{
2403
- id: "RSIN",
2404
- name: "rsinNumber",
2405
- applicableOnlyFor: [
2406
- CompanyTypesValues.PRIVATE_COMPANY,
2407
- CompanyTypesValues.GOVERNMENTAL_ORGANIZATION,
2408
- CompanyTypesValues.INCORPORATED_ASSOCIATION,
2409
- CompanyTypesValues.INCORPORATED_PARTNERSHIP,
2410
- CompanyTypesValues.NON_PROFIT_OR_CHARITABLE,
2411
- CompanyTypesValues.UNINCORPORATED_PARTNERSHIP,
2412
- CompanyTypesValues.UNLISTED_PUBLIC_COMPANY
2413
- ]
2414
- }, {
2415
- id: "BSN",
2416
- name: "bsnNumber",
2417
- applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
2418
- }],
2419
- [CountryCodes.NewZealand]: [{
2420
- id: "IRD",
2421
- name: "irdNumber"
2422
- }],
2423
- [CountryCodes.Portugal]: [{
2424
- id: "NUMERO_ID_CIVIL",
2425
- name: "taxInformationNumber__PT",
2426
- applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
2427
- }, {
2428
- id: "NIPC",
2429
- name: "NIPC",
2430
- applicableOnlyFor: [CompanyTypesValues.PRIVATE_COMPANY]
2431
- }],
2432
- [CountryCodes.PuertoRico]: [{
2433
- id: "EIN",
2434
- name: "ein"
2435
- }],
2436
- [CountryCodes.Singapore]: [{
2437
- id: "GST",
2438
- name: "gst"
2439
- }, {
2440
- id: "UEN",
2441
- name: "uen"
2442
- }],
2443
- [CountryCodes.Slovakia]: [{
2444
- id: "RODNE_CISLO",
2445
- name: "taxInformationNumber__SK_Individual",
2446
- applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
2447
- }, {
2448
- id: "NATIONAL_IDENTIFICATION_NUMBER",
2449
- name: "taxInformationNumber__SK_Org",
2450
- applicableOnlyFor: [CompanyTypesValues.PRIVATE_COMPANY]
2451
- }],
2452
- [CountryCodes.Slovenia]: [{
2453
- id: "SI_TAX_NUMBER",
2454
- name: "taxInformationNumber__SI_Individual",
2455
- applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
2456
- }, {
2457
- id: "NATIONAL_IDENTIFICATION_NUMBER",
2458
- name: "taxInformationNumber__SI_Org",
2459
- applicableOnlyFor: [CompanyTypesValues.PRIVATE_COMPANY]
2460
- }],
2461
- [CountryCodes.Spain]: [
2462
- {
2463
- id: "dni",
2464
- name: "dni",
2465
- applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
2466
- },
2467
- {
2468
- id: "nie",
2469
- name: "nie",
2470
- applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
2471
- },
2472
- {
2473
- id: "NIF",
2474
- name: "NIF",
2475
- applicableOnlyFor: [CompanyTypesValues.PRIVATE_COMPANY]
2476
- }
2477
- ],
2478
- [CountryCodes.UnitedKingdom]: [{
2479
- id: "UTR",
2480
- name: "utr"
2481
- }, {
2482
- id: "NINO",
2483
- name: "nationalInsuranceNumber",
2484
- applicableOnlyFor: [LegalEntityTypes.INDIVIDUAL]
2485
- }],
2486
- [CountryCodes.UnitedStates]: [{
2487
- id: "EIN",
2488
- name: "ein"
2489
- }]
2490
- };
2491
- var getTaxIdNumberOptions = (country, companyType) => {
2492
- const optionsForCountry = taxIdNumberOptions[country];
2493
- if (!companyType || !optionsForCountry) return optionsForCountry;
2494
- return optionsForCountry.filter((option) => option.applicableOnlyFor?.includes(companyType) ?? true);
2495
- };
2496
- //#endregion
2497
- //#region src/components/Shared/fields/TaxInformationField/TaxIdNumberTypeSelector/inferTaxIdNumberType.ts
2498
- /**
2499
- * For existing data, we need to infer the tax ID number type from the existing data.
2500
- * Otherwise, the incorrect mask will be applied.
2501
- * We don't store this choice in the API.
2502
- * @param taxInformation the existing tax information
2503
- * @param country the country of the LE
2504
- * @param companyType the company type, e.g. `nonProfit`
2505
- */
2506
- var inferTaxIdNumberType = (taxInformation, country, companyType) => {
2507
- if (!taxInformation) return void 0;
2508
- const optionsForCountry = getTaxIdNumberOptions(country, companyType);
2509
- const metadataFn = taxInformationDefaultFieldConfig[country];
2510
- if (!optionsForCountry || !metadataFn) return void 0;
2511
- if (optionsForCountry.length === 1) return optionsForCountry[0].id;
2512
- const allMetaData = optionsForCountry.reduce((acc, option) => {
2513
- const meta = typeof metadataFn === "function" ? metadataFn({
2514
- taxIdNumberType: option.id,
2515
- companyType
2516
- }) : metadataFn;
2517
- if (meta.label && !acc[meta.label]) acc[meta.label] = meta;
2518
- return acc;
2519
- }, {});
2520
- for (const option of optionsForCountry) {
2521
- const fieldMetadata = allMetaData[option.name];
2522
- if (!fieldMetadata?.validators) continue;
2523
- if ((Array.isArray(fieldMetadata.validators) ? fieldMetadata.validators : [fieldMetadata.validators]).every((validator) => validator.validate(taxInformation))) return option.id;
2524
- }
2525
- };
2526
- //#endregion
2527
- //#region src/components/Shared/fields/TaxInformationField/TaxIdNumberTypeSelector/getDefaultTaxIdNumberType.ts
2528
- /**
2529
- * Finds tax information for a specific country from an array of tax information objects.
2530
- *
2531
- * @param taxInformation - Array of tax information objects to search through
2532
- * @param country - Country code to find tax information for
2533
- * @returns The first matching tax information object or undefined if none found
2534
- */
2535
- function findExistingTaxInformation(taxInformation, country) {
2536
- return taxInformation?.find((taxId) => taxId.country === country);
2537
- }
2538
- /**
2539
- * Determines the default tax ID number type based on existing information and entity type.
2540
- * This function follows a priority order:
2541
- * 1. Use the type from existing tax information if available
2542
- * 2. If there's a tax number but no type, infer the type from the number
2543
- * 3. Otherwise, use the first available tax ID option for the country and entity type
2544
- *
2545
- * @param taxInformation - Array of tax information objects
2546
- * @param country - Country code to determine the tax ID type for
2547
- * @param entityType - Type of entity (company type or individual)
2548
- * @returns The determined tax ID number type or undefined if none can be determined
2549
- */
2550
- function getDefaultTaxIdNumberType(taxInformation, country, entityType) {
2551
- const existingTaxInformation = findExistingTaxInformation(taxInformation, country);
2552
- return existingTaxInformation?.type ?? (existingTaxInformation?.number ? inferTaxIdNumberType(taxInformation, country, entityType) : getTaxIdNumberOptions(country, entityType)?.[0]?.id);
2553
- }
2554
- //#endregion
2555
- //#region src/components/Shared/fields/TaxInformationField/TaxIdNumberTypeSelector/TaxIdNumberTypeSelector.tsx
2556
- function TaxIdNumberTypeSelector({ country, companyType, selected, setSelected, exemptedOptionLabel, isUsSoleProp, errorMessage }) {
2557
- const { t } = useTranslation("common");
2558
- const handleSelect = useCallback$1((selectedStr) => {
2559
- const newSelected = selectedStr;
2560
- if (newSelected === "exempted") {
2561
- if (exemptedOptionLabel) setSelected(newSelected);
2562
- return;
2563
- }
2564
- setSelected(newSelected);
2565
- }, [exemptedOptionLabel, setSelected]);
2566
- const options = useMemo$1(() => {
2567
- const availableOptions = getTaxIdNumberOptions(country, companyType) ?? [];
2568
- if (availableOptions.length === 0 || !exemptedOptionLabel) return availableOptions;
2569
- return [...availableOptions, {
2570
- id: "exempted",
2571
- name: exemptedOptionLabel
2572
- }];
2573
- }, [
2574
- country,
2575
- companyType,
2576
- exemptedOptionLabel
2577
- ]);
2578
- useEffect$1(() => {
2579
- if (!isUsSoleProp && !selected && options.length > 0) handleSelect(options[0].id);
2580
- }, [
2581
- options,
2582
- selected,
2583
- handleSelect,
2584
- isUsSoleProp
2585
- ]);
2586
- if (options.length <= 1) return null;
2587
- return /* @__PURE__ */ jsx(Field, {
2588
- el: "fieldset",
2589
- name: "taxIdNumberType",
2590
- label: t(($) => $["whichTaxpayerIdentificationNumberDoYouUse"]),
2591
- errorMessage: !!errorMessage,
2592
- children: (childProps) => /* @__PURE__ */ jsx(RadioGroup, {
2593
- ...childProps,
2594
- name: "taxIdNumberType",
2595
- items: options,
2596
- value: selected,
2597
- onChange: handleSelect
2598
- })
2599
- });
2600
- }
2601
- //#endregion
2602
- //#region src/components/Shared/fields/TaxInformationField/utils.ts
2603
- /**
2604
- * Immutably upserts a TaxInformation entry for a given country within the tax information array.
2605
- * - If the array doesn't exist, creates a new one with the entry.
2606
- * - If the country already has an entry, replaces it in-place.
2607
- * - If the country has no entry yet, appends the new entry.
2608
- */
2609
- function upsertTaxInfoForCountry(taxInformation, country, newEntry) {
2610
- if (!taxInformation) return [newEntry];
2611
- return (taxInformation.some((t) => t.country === country) ? taxInformation : [...taxInformation, newEntry]).map((t) => t.country === country ? newEntry : t);
2612
- }
2613
- /**
2614
- * Removes all TaxInformation entries for the given country from the array.
2615
- */
2616
- function removeTaxInfoForCountry(taxInformation, country) {
2617
- return taxInformation?.filter((t) => t.country !== country);
2618
- }
2619
- //#endregion
2620
- //#region src/components/Shared/fields/TaxInformationField/TaxInformationField.tsx
2621
- var TAX_INFORMATION_FIELD = [
2622
- "taxInformation",
2623
- "exemptedFromTax",
2624
- "isUen"
2625
- ];
2626
- /**
2627
- * Renders a dynamic form field for tax identification information, adapting its display
2628
- * and behavior based on country and company type. It supports various tax ID input
2629
- * scenarios, including two specialized handling for US Sole Proprietorships (where SSN option acts as exemption selection)
2630
- * and Singapore Companies (where registration number (UEN) can be used for tax ID).
2631
- */
2632
- function TaxInformationField({ data, valid, errors, labels, mask, placeholder, readonly, optional, shouldValidate, handleChangeFor, country, canExempt, registrationNumber, entityType, defaultData }) {
2633
- const { isFeatureEnabled } = useToggleContext();
2634
- const { t } = useTranslation("common");
2635
- const { accountHolder } = useAccountHolder();
2636
- const currentCountryTaxInformation = useMemo$1(() => data?.taxInformation?.find((taxInfo) => taxInfo.country === country) ?? (!data.exemptedFromTax ? defaultData?.find((taxInfo) => taxInfo.country === country) : void 0), [
2637
- data?.taxInformation,
2638
- data.exemptedFromTax,
2639
- defaultData,
2640
- country
2641
- ]);
2642
- const isUsSoleProp = country === "US" && entityType === CompanyTypesValues.SOLE_PROPRIETORSHIP;
2643
- const options = getTaxIdNumberOptions(country, entityType);
2644
- const showTaxIdExemptedOptions = canExempt && (options?.length ?? 0) > 1 || isUsSoleProp;
2645
- const canSaveAbsentState = isFeatureEnabled("EnableRegistrationAndTaxAbsentStatesV4") && COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4.includes(country) && accountHolder === "aTrust";
2646
- const exemptionLabel = isUsSoleProp ? t(($) => $["socialSecurityNumber"]) : labels.exemptedFromTax;
2647
- const shouldRenderInput = isUsSoleProp ? currentCountryTaxInformation?.type === "EIN" : !data.isUen;
2648
- const taxIdNumberType = useMemo$1(() => {
2649
- if (data.exemptedFromTax) return "exempted";
2650
- if (currentCountryTaxInformation?.type) return currentCountryTaxInformation.type;
2651
- if (isUsSoleProp) return void 0;
2652
- return getDefaultTaxIdNumberType(data.taxInformation, country, entityType);
2653
- }, [
2654
- country,
2655
- currentCountryTaxInformation?.type,
2656
- data.exemptedFromTax,
2657
- data.taxInformation,
2658
- entityType,
2659
- isUsSoleProp
2660
- ]);
2661
- const fieldMetadata = resolveFieldMetadata(taxInformationDefaultFieldConfig[country], {
2662
- taxIdNumberType: currentCountryTaxInformation?.type,
2663
- companyType: entityType
2664
- }, taxInformationDefaultFieldMetadata);
2665
- const updateTaxInfo = useCallback$1((mode, newEntry) => {
2666
- const entry = canSaveAbsentState ? {
2667
- ...newEntry,
2668
- numberAbsent: newEntry.numberAbsent ?? false
2669
- } : newEntry;
2670
- handleChangeFor("taxInformation", mode)(upsertTaxInfoForCountry(data.taxInformation, country, entry));
2671
- }, [
2672
- canSaveAbsentState,
2673
- country,
2674
- data.taxInformation,
2675
- handleChangeFor
2676
- ]);
2677
- const updateTaxType = useCallback$1((type, mode) => {
2678
- updateTaxInfo(mode, {
2679
- country,
2680
- number: currentCountryTaxInformation?.number,
2681
- type
2682
- });
2683
- }, [
2684
- country,
2685
- currentCountryTaxInformation?.number,
2686
- updateTaxInfo
2687
- ]);
2688
- const resetToDefaultData = useCallback$1(() => {
2689
- if (defaultData !== void 0) handleChangeFor("taxInformation", "input")(defaultData);
2690
- }, [defaultData, handleChangeFor]);
2691
- const removeCountryTaxInfo = useCallback$1(() => {
2692
- handleChangeFor("taxInformation", "input")(removeTaxInfoForCountry(data.taxInformation, country));
2693
- }, [
2694
- country,
2695
- data.taxInformation,
2696
- handleChangeFor
2697
- ]);
2698
- const setUenAsTaxId = useCallback$1((uen) => {
2699
- updateTaxInfo("blur", {
2700
- country,
2701
- number: uen ?? "",
2702
- type: "UEN"
2703
- });
2704
- }, [country, updateTaxInfo]);
2705
- const addTaxAbsentStatus = useCallback$1((exempted) => {
2706
- handleChangeFor("taxInformation", "input")(upsertTaxInfoForCountry(data.taxInformation, country, {
2707
- country,
2708
- numberAbsent: exempted
2709
- }));
2710
- }, [
2711
- country,
2712
- data.taxInformation,
2713
- handleChangeFor
2714
- ]);
2715
- const handleTaxNumberChange = useCallback$1((e, mode) => {
2716
- updateTaxInfo(mode, {
2717
- country,
2718
- number: e ? typeof e === "string" ? e : e.currentTarget.value : void 0,
2719
- type: currentCountryTaxInformation?.type ?? (taxIdNumberType !== "exempted" ? taxIdNumberType : void 0)
2720
- });
2721
- }, [
2722
- country,
2723
- currentCountryTaxInformation?.type,
2724
- taxIdNumberType,
2725
- updateTaxInfo
2726
- ]);
2727
- const handleTaxIdNumberTypeChange = useCallback$1((taxIdType) => {
2728
- if (!canExempt && taxIdType === "exempted") throw Error(`${country} does not allow tax exemptions`);
2729
- if (taxIdType === "exempted") {
2730
- handleChangeFor("exemptedFromTax")(true);
2731
- updateTaxType(void 0, "input");
2732
- return canSaveAbsentState ? addTaxAbsentStatus(true) : removeCountryTaxInfo();
2733
- }
2734
- handleChangeFor("exemptedFromTax")(false);
2735
- if (country === "SG") if (taxIdType === "UEN") {
2736
- handleChangeFor("isUen")(true);
2737
- setUenAsTaxId(registrationNumber);
2738
- } else {
2739
- handleChangeFor("isUen")(false);
2740
- removeCountryTaxInfo();
2741
- }
2742
- updateTaxType(taxIdType, "input");
2743
- }, [
2744
- addTaxAbsentStatus,
2745
- canExempt,
2746
- canSaveAbsentState,
2747
- country,
2748
- handleChangeFor,
2749
- updateTaxType,
2750
- registrationNumber,
2751
- removeCountryTaxInfo,
2752
- setUenAsTaxId
2753
- ]);
2754
- const handleExemptedFromTaxChange = useCallback$1((exempted) => {
2755
- handleChangeFor("exemptedFromTax")(exempted);
2756
- if (canSaveAbsentState) addTaxAbsentStatus(exempted);
2757
- else removeCountryTaxInfo();
2758
- }, [
2759
- addTaxAbsentStatus,
2760
- canSaveAbsentState,
2761
- handleChangeFor,
2762
- removeCountryTaxInfo
2763
- ]);
2764
- const prevCountryRef = useRef$1(country);
2765
- useEffect$1(() => {
2766
- if (!country || prevCountryRef.current === country) return;
2767
- prevCountryRef.current = country;
2768
- const hasSavedTaxId = defaultData?.find((taxId) => taxId.country === country);
2769
- if (currentCountryTaxInformation && !hasSavedTaxId) return;
2770
- if (entityType === CompanyTypesValues.SOLE_PROPRIETORSHIP) return;
2771
- resetToDefaultData();
2772
- }, [country]);
2773
- useEffect$1(() => {
2774
- if (country === "SG" && data.isUen && registrationNumber && registrationNumber !== currentCountryTaxInformation?.number) setUenAsTaxId(registrationNumber);
2775
- }, [
2776
- registrationNumber,
2777
- currentCountryTaxInformation?.number,
2778
- data.isUen,
2779
- country,
2780
- setUenAsTaxId
2781
- ]);
2782
- return /* @__PURE__ */ jsxs("div", {
2783
- className: "adyen-kyc-field__tax-information",
2784
- children: [
2785
- /* @__PURE__ */ jsx(TaxIdNumberTypeSelector, {
2786
- country,
2787
- companyType: entityType,
2788
- setSelected: handleTaxIdNumberTypeChange,
2789
- selected: taxIdNumberType,
2790
- exemptedOptionLabel: showTaxIdExemptedOptions ? exemptionLabel : void 0,
2791
- isUsSoleProp,
2792
- errorMessage: isUsSoleProp ? errors.taxInformation : false
2793
- }),
2794
- shouldRenderInput && /* @__PURE__ */ jsx(MaskedInput, {
2795
- type: "text",
2796
- "aria-required": true,
2797
- "aria-invalid": !valid.taxInformation,
2798
- name: "taxInformation",
2799
- label: labels.taxInformation ?? "",
2800
- formatGuidance: translateTranslatable(t, fieldMetadata.guidanceText),
2801
- value: currentCountryTaxInformation?.number ?? "",
2802
- errorMessage: errors.taxInformation,
2803
- placeholder,
2804
- isValid: Boolean(valid.taxInformation) && !!currentCountryTaxInformation,
2805
- onInput: (e) => handleTaxNumberChange(e, "input"),
2806
- onBlur: (e) => handleTaxNumberChange(e, "blur"),
2807
- disabled: data.exemptedFromTax || data.isUen,
2808
- readonly,
2809
- optional,
2810
- shouldValidate,
2811
- ...mask
2812
- }),
2813
- canExempt && !showTaxIdExemptedOptions && /* @__PURE__ */ jsx(Field, {
2814
- name: "exemptedFromTax",
2815
- children: (childProps) => /* @__PURE__ */ jsx(Checkbox, {
2816
- ...childProps,
2817
- "aria-required": false,
2818
- "aria-invalid": false,
2819
- name: "exemptedFromTax",
2820
- label: labels.exemptedFromTax,
2821
- value: "exemptedFromTax",
2822
- checked: Boolean(data.exemptedFromTax),
2823
- onChange: handleExemptedFromTaxChange
2824
- })
2825
- })
2826
- ]
2827
- });
2828
- }
2829
- //#endregion
2830
- export { StateCodesUS as C, stateFormatGuidanceText as S, getTaxInformationPlaceholderText as _, COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT as a, businessRegistrationNumberPatterns as b, isUsingCompanySearch as c, requestingIssuing as d, countryToTaxInfoTypeMap as f, exemptedFromTaxDefaultFieldMetadata as g, exemptedFromTaxDefaultFieldConfig as h, taxIdNumberOptions as i, rules as l, DocumentGuidance as m, TaxInformationField as n, COUNTRY_OF_GOVERNING_LAW_POSSIBLE as o, MemoizedDocumentUpload as p, getTaxIdNumberOptions as r, isRegistrationNumberAbsentStateV4Scenario as s, TAX_INFORMATION_FIELD as t, requestingBanking as u, taxInformationDefaultFieldConfig as v, getFieldsWithExistingData as w, businessRegistrationNumberMasks as x, taxInformationDefaultFieldMetadata as y };