@adyen/kyc-components 4.20.0 → 4.21.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (461) hide show
  1. package/dist/AcceptTermsOfServiceWorkflow-BX4PavSh.js +28 -0
  2. package/dist/{Accordion-BWdAGMRb.js → Accordion-DC7Iuj-J.js} +3 -2
  3. package/dist/{AccountSetupRejected-Ku1FCk8G.js → AccountSetupRejected-U97LE7iR.js} +2 -2
  4. package/dist/AdaptiveWorkflow-DnvzkolP.js +210 -0
  5. package/dist/{AdaptiveWorkflowComponent-ZC8yOYn_.js → AdaptiveWorkflowComponent-nyRU4M-H.js} +35 -34
  6. package/dist/{AddressField-S_TJHHgc.js → AddressField-OygGZ6XH.js} +13 -79
  7. package/dist/{Avatar-CeZIQS8n.js → Avatar-BKTdqNpO.js} +2 -2
  8. package/dist/{BusinessFinancingDropin-T0Q5IO1m.js → BusinessFinancingDropin-BGFKtVmf.js} +155 -36
  9. package/dist/{BusinessFinancingPage-D2CulkQb.js → BusinessFinancingPage-HggLO02u.js} +34 -34
  10. package/dist/{BusinessRegistrationNumberField-BZD5POn0.js → BusinessRegistrationNumberField-CLtSzZ4H.js} +28 -133
  11. package/dist/BusinessRegistrationNumberFieldGroup-BfuSULya.js +172 -0
  12. package/dist/{BusinessTypeSelectionPage-BtJLsGtX.js → BusinessTypeSelectionPage-C9BYbNj1.js} +19 -16
  13. package/dist/{Button-Cm7cT6BX.js → Button-DSD_afG_.js} +4 -85
  14. package/dist/{Checkbox-faFUul66.js → Checkbox-B-hhlkoQ.js} +2 -2
  15. package/dist/{CompanyRegistrationNumberTypeSelector-v4sUJ8TM.js → CompanyRegistrationNumberTypeSelector-BlW3-gmE.js} +6 -8
  16. package/dist/ComponentGroup-o36ZWZoO.js +32 -0
  17. package/dist/{ContactDetails-CUwCotpR.js → ContactDetails-DwH0Wdi1.js} +8 -9
  18. package/dist/{ContextGuidance-M7lR8QJv.js → ContextGuidance-Digds0A2.js} +3 -3
  19. package/dist/{Currency-BOFjRr_4.js → Currency-BSsyM5Mm.js} +9 -8
  20. package/dist/{CustomerSupport-BE7qg8WI.js → CustomerSupport-CrNlpDnm.js} +16 -15
  21. package/dist/{DataConflictsModal-Ez5mMzqA.js → DataConflictsModal-CnePHHgB.js} +10 -9
  22. package/dist/{DebugModal-B2-a1_2A.js → DebugModal-BSNHP5Ae.js} +13 -13
  23. package/dist/{DecisionMakerDetails-D8vYcBse.js → DecisionMakerDetails-DwU-PnMz.js} +59 -22
  24. package/dist/{DecisionMakerDetailsPage-CHLINVDC.js → DecisionMakerDetailsPage-B6soHNL0.js} +35 -17
  25. package/dist/{DecisionMakers-Cnafi8Ul.js → DecisionMakers-Cq0TqVBQ.js} +22 -20
  26. package/dist/{Dropzone-D3mN45cH.js → Dropzone-JYR4c6bX.js} +9 -7
  27. package/dist/{EmbeddedStatus-uz3Ivsyw.js → EmbeddedStatus-CkSg9-9r.js} +5 -4
  28. package/dist/{EndStateLayout-BUK64Vqu.js → EndStateLayout-CarfWtTC.js} +4 -3
  29. package/dist/{EntityAssociation-DjEleBIE.js → EntityAssociation-DjvGgE2E.js} +7 -7
  30. package/dist/{ErrorPanel-Be6eGO6I.js → ErrorPanel-CMHH1nTS.js} +6 -6
  31. package/dist/GlobalEntryModal-CFk22iXk.js +589 -0
  32. package/dist/{GlobalEntryPage-3_PbpcUB.js → GlobalEntryPage-DjJZ8GP4.js} +35 -34
  33. package/dist/Icon-CurE93CX.js +175 -0
  34. package/dist/{validateExtractionResult-QkXKfGje.js → IdentityNumber-DHn--v-7.js} +7 -344
  35. package/dist/IdentityNumberFieldGroup-ivJ1jyGI.js +57 -0
  36. package/dist/IdentityScreeningWorkflow-zNOsMLhY.js +307 -0
  37. package/dist/{Image-8SOcICah.js → Image-D82terx4.js} +2 -2
  38. package/dist/{Individual.rules-Ozgltft8.js → Individual.rules-CKRy22gy.js} +9 -10
  39. package/dist/{IndividualDropin-DXAyTcGh.js → IndividualDropin-iGwLttHz.js} +86 -82
  40. package/dist/IndustryCodeFieldGroup-9CC2Ujpm.js +188 -0
  41. package/dist/{InputDate-DDVX2D-5.js → InputDate-9I-vTE2B.js} +2 -2
  42. package/dist/{InputText-Cf9ccCaj.js → InputText-Co02nT5L.js} +41 -6
  43. package/dist/{Introduction-ChXvkTjG.js → Introduction-BrP3b2Vs.js} +9 -8
  44. package/dist/{InvitedDecisionMakerComponent-BpToVKx6.js → InvitedDecisionMakerComponent-DmZh2BsQ.js} +48 -46
  45. package/dist/{JpAddressFields-tIf74G41.js → JpAddressFields-_PYHM7ee.js} +51 -11
  46. package/dist/{LegalCompanyNameField-BfkXdcjt.js → LegalCompanyNameField-C04RZp2O.js} +5 -5
  47. package/dist/LegalName-uERLVj_B.js +33 -0
  48. package/dist/{LegalRepresentativeDetailsPage-CJNdb_Yi.js → LegalRepresentativeDetailsPage-Ci3oO3ix.js} +11 -11
  49. package/dist/{Link-B7RA2gSt.js → Link-B-gN0d8l.js} +2 -2
  50. package/dist/{ListItem-Cy46BXUv.js → ListItem-BGdnopqb.js} +3 -3
  51. package/dist/Loader-BEpMlKm2.js +92 -0
  52. package/dist/{Modal-nylR9F4X.js → Modal-C6gfqa3Z.js} +3 -3
  53. package/dist/{Name-SuGGhRna.js → Name-PDN2ZxmV.js} +5 -5
  54. package/dist/{NewSummary-u_1KGI2X.js → NewSummary-BKUTkBAU.js} +10 -9
  55. package/dist/{PatriotActDisclosure-CudamdZG.js → PatriotActDisclosure-D6J1hjaU.js} +110 -222
  56. package/dist/{PayoutDetailsDropin-CGuM-jhl.js → PayoutDetailsDropin-CEbLLMkT.js} +243 -156
  57. package/dist/{PayoutDetailsPage-B-iD21gT.js → PayoutDetailsPage-z-U987Uw.js} +9 -9
  58. package/dist/{CountryField-BC0wDSlI.js → RadioGroup-B_lHSMq9.js} +168 -13
  59. package/dist/{Review-C18hR0ho.js → Review-DRxhY1FP.js} +8 -8
  60. package/dist/RootBusinessDetailsPage-Dgezqj6k.js +68 -0
  61. package/dist/{RootBusinessLinesPage-Cwqxq4ct.js → RootBusinessLinesPage-DHL_atq0.js} +34 -30
  62. package/dist/{RootIndividualDetailsPage-C1Ulh9yT.js → RootIndividualDetailsPage-DmF9Av8J.js} +12 -12
  63. package/dist/{Select-Dmn4bMEK.js → Select-PqhoL_oQ.js} +11 -8
  64. package/dist/{useSettingsContext-Bpf4UqRT.js → SettingsContext-Dl-9WWCI.js} +2 -8
  65. package/dist/{SignPCIComponent-DJYIl0JN.js → SignPCIComponent-BT1s1NJx.js} +44 -43
  66. package/dist/{SingpassSelection-nwwRlowI.js → SingpassSelection-B91AO2sW.js} +7 -6
  67. package/dist/SoleProprietorshipPage-Cy7D2N5d.js +70 -0
  68. package/dist/{SourceOfFundsPage-_zuCmR_g.js → SourceOfFundsPage-Co81WwYJ.js} +40 -38
  69. package/dist/SourceOfFundsWorkflow-xv-wmYjn.js +28 -0
  70. package/dist/{utils-eFdC-IQw.js → StateField-uZDljrxJ.js} +82 -8
  71. package/dist/Step-cy9IjT4h.js +195 -0
  72. package/dist/{StructuredList-DpzDjXNV.js → StructuredList-BKWmLAYe.js} +6 -5
  73. package/dist/Task-B05SmIvp.js +129 -0
  74. package/dist/TaskGroup-CCneo6Tt.js +46 -0
  75. package/dist/{TaskListItem-CKO2Us74.js → TaskListItem-DRUWL-3r.js} +12 -58
  76. package/dist/TaskStepperContextProvider-DuM9tlet.js +81 -0
  77. package/dist/{TaskVerificationStatus-DMj8rsZ_.js → TaskVerificationStatus-DCfFNRJc.js} +4 -3
  78. package/dist/TaxInformationFieldGroup-pBDZmrIx.js +288 -0
  79. package/dist/{TaxReportingDropin-DhSxTmTT.js → TaxReportingDropin-DLiaJcDy.js} +23 -21
  80. package/dist/TaxReportingWorkflow-BD7DTvXl.js +28 -0
  81. package/dist/{TermsOfServiceManagement-CeJZwKwl.js → TermsOfServiceManagement-dIJFQSNn.js} +49 -47
  82. package/dist/{TextArea-CoS-i-FF.js → TextArea-E1LIeudB.js} +7 -13
  83. package/dist/{TrustDetailsPage-BwrCUski.js → TrustDetailsPage-CVIKeFQW.js} +433 -442
  84. package/dist/TrustMemberCompanyPage-B5F1D3QE.js +109 -0
  85. package/dist/{TrustMemberIndividualPage-B3_G3BPJ.js → TrustMemberIndividualPage-BovRg-Mq.js} +12 -12
  86. package/dist/{TrustMemberRoleAndTypePage-CVvfVi_N.js → TrustMemberRoleAndTypePage-CofPOUX5.js} +48 -47
  87. package/dist/{TrustMembersOverview-CUHU8cFd.js → TrustMembersOverview-d_SZlrW5.js} +42 -40
  88. package/dist/Typography-CAc_f5Iq.js +80 -0
  89. package/dist/UboTaskItem-CG07K7K_.js +115 -0
  90. package/dist/{UnincorporatedPartnershipIndividualPage-CYNhHZk8.js → UnincorporatedPartnershipIndividualPage-kobyT_Sc.js} +11 -11
  91. package/dist/{UnincorporatedPartnershipMemberCompanyPage-BC9dJEH3.js → UnincorporatedPartnershipMemberCompanyPage-MvFM-iYR.js} +36 -36
  92. package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-BcNgMOlJ.js → UnincorporatedPartnershipMemberRoleAndTypePage-DWu78HTQ.js} +12 -12
  93. package/dist/{UnincorporatedPartnershipMembersOverview-CSTERzB3.js → UnincorporatedPartnershipMembersOverview-B-WsX9qd.js} +10 -9
  94. package/dist/{VerificationErrorAlert-Ci453mfn.js → VerificationErrorAlert-D6Fwj_k3.js} +5 -5
  95. package/dist/Workflow-CZMd0lUc.js +228 -0
  96. package/dist/{accountHolderUtils-zbNnEvvh.js → accountHolderUtils-Bf4y2QFq.js} +3 -3
  97. package/dist/adyen-business-financing.js +35 -35
  98. package/dist/adyen-individual-configuration.js +37 -37
  99. package/dist/adyen-individual-status.js +34 -34
  100. package/dist/adyen-invited-decision-maker.js +3 -3
  101. package/dist/adyen-onboarding.js +67 -63
  102. package/dist/adyen-terms-of-service-management.js +3 -3
  103. package/dist/adyen-terms-of-service-status.js +6 -6
  104. package/dist/adyen-transfer-instrument-configuration.js +33 -33
  105. package/dist/adyen-transfer-instrument-management.js +44 -41
  106. package/dist/adyen-verification-status.js +8 -6
  107. package/dist/{utils-Be9xux9M.js → bafinUtils-CT-a64QP.js} +684 -167
  108. package/dist/{bg-BG-qQc6pN4K.js → bg-BG-BeFIiwVZ.js} +3 -1
  109. package/dist/bg-BG-CXqERnFH.js +7 -0
  110. package/dist/bg-BG-D4mSRREu.js +7 -0
  111. package/dist/{bg-BG-Smu9r9Kp.js → bg-BG-DpSUitm0.js} +12 -2
  112. package/dist/{constants-CgndY-Nk.js → constants-B8ghpskV.js} +5 -5
  113. package/dist/{countries-CPj8hkLs.js → countries-BE4iGVAo.js} +1 -1
  114. package/dist/{country-IYuKDSdC.js → country-DkgapJ4w.js} +2 -2
  115. package/dist/cs-CZ-C_VaBRMS.js +23 -0
  116. package/dist/cs-CZ-DAXMHrMi.js +7 -0
  117. package/dist/{cs-CZ-Jsmhr_B3.js → cs-CZ-DHfA1xjQ.js} +3 -1
  118. package/dist/cs-CZ-DySBJFlc.js +7 -0
  119. package/dist/{da-DK-CXZXQspY.js → da-DK--DlccBc0.js} +3 -1
  120. package/dist/da-DK-BVaEiAWd.js +7 -0
  121. package/dist/da-DK-BfaKncp5.js +23 -0
  122. package/dist/da-DK-BuvKW6Sq.js +7 -0
  123. package/dist/de-DE-BQaqplTp.js +7 -0
  124. package/dist/{de-DE-BRJ0jBty.js → de-DE-B_iHAkLT.js} +3 -1
  125. package/dist/de-DE-BqujMxXu.js +7 -0
  126. package/dist/de-DE-GUfA18ps.js +23 -0
  127. package/dist/{decisionMaker-Dt53wKqO.js → decisionMaker-M0Tm92JR.js} +1 -1
  128. package/dist/{decisionMakerRoles-CTy0faoW.js → decisionMakerRoles-DbKnutwk.js} +3 -3
  129. package/dist/el-GR-B1NjHThy.js +7 -0
  130. package/dist/el-GR-C6jyW53I.js +7 -0
  131. package/dist/{el-GR-DEBvBgI-.js → el-GR-CJqHd-CD.js} +12 -2
  132. package/dist/{el-GR-BMGYrO4V.js → el-GR-D09thseu.js} +3 -1
  133. package/dist/en-US-C3i5Oge2.js +7 -0
  134. package/dist/en-US-CJPD8qHc.js +7 -0
  135. package/dist/{en-US-BFM81i9K.js → en-US-CO9xzDL5.js} +1 -4
  136. package/dist/en-US-D4NrsDmW.js +7 -0
  137. package/dist/{en-US.instructions-pRLq5gXB.js → en-US.instructions-CqF1qVJV.js} +2 -1
  138. package/dist/{entityAssociationUtil-DLXInibJ.js → entityAssociationUtil-CLBR9osP.js} +1 -1
  139. package/dist/{error-Dw40w6WM.js → error-DIUYkZG-.js} +3 -3
  140. package/dist/es-ES-BM5RTwb7.js +7 -0
  141. package/dist/{es-ES-pt4yy_U2.js → es-ES-Bpxn6XGC.js} +3 -1
  142. package/dist/es-ES-C64v4NJD.js +7 -0
  143. package/dist/es-ES-IobfbI71.js +23 -0
  144. package/dist/es-LA--YYwwbVo.js +23 -0
  145. package/dist/es-LA-B7pY2dp1.js +7 -0
  146. package/dist/es-LA-CcMAcJ7u.js +7 -0
  147. package/dist/{es-LA-CGrMi4rR.js → es-LA-CjxlB1WZ.js} +3 -1
  148. package/dist/et-EE-DqYCOl2Y.js +23 -0
  149. package/dist/{et-EE-dDMeDiTJ.js → et-EE-Dtc7YYb4.js} +3 -1
  150. package/dist/{et-EE-BGpsJPjk.js → et-EE-FtKFvr3u.js} +2 -2
  151. package/dist/{et-EE-OAYKzRjG.js → et-EE-wDQx9HoZ.js} +2 -2
  152. package/dist/{fi-FI-iRb7nS7X.js → fi-FI-DBhYlO4B.js} +3 -1
  153. package/dist/{fi-FI-BTG87BwH.js → fi-FI-DSCFTLoG.js} +12 -2
  154. package/dist/fi-FI-KMP96Qxc.js +7 -0
  155. package/dist/fi-FI-SFw2grVp.js +7 -0
  156. package/dist/{MaskedInput-DhHmuLSN.js → form-rules-DCZ-uyGo.js} +378 -14
  157. package/dist/formHook-Dgi2CgbT.js +24 -0
  158. package/dist/{formatValidationError-XKzTY3nX.js → formatValidationError-HjSxukRu.js} +2 -2
  159. package/dist/fr-FR-C8IPWMDL.js +7 -0
  160. package/dist/fr-FR-Dsh0Vb20.js +7 -0
  161. package/dist/{fr-FR-DUrcyeOg.js → fr-FR-N8UDU_0Y.js} +3 -1
  162. package/dist/fr-FR-ZWnkRO7z.js +23 -0
  163. package/dist/{AnalyticsContext-BnRQ9H1u.js → genUtils-Ce61IJs8.js} +2 -17
  164. package/dist/{getLegalEntityCountry-BHh7Ux8v.js → getLegalEntityCountry-CNE5uei8.js} +1 -1
  165. package/dist/{getName-C5jqdkJg.js → getName-s7qmFean.js} +2 -2
  166. package/dist/{getProblemsForEntity-DStlTvE-.js → getProblemsForEntity-CTxd78-9.js} +4 -4
  167. package/dist/{getTrustedDecisionMakers-CAbhvydj.js → getTrustedDecisionMakers-DWVtW7JE.js} +2 -2
  168. package/dist/hr-HR-2a3ywU0e.js +23 -0
  169. package/dist/hr-HR-COvc9TZy.js +7 -0
  170. package/dist/hr-HR-Cqgf9B0v.js +7 -0
  171. package/dist/{hr-HR-LnDb18bf.js → hr-HR-GLRwxTIZ.js} +3 -1
  172. package/dist/{http-D6AdUBhO.js → http-DsJtugN1.js} +2 -2
  173. package/dist/hu-HU-BOXBLK1a.js +23 -0
  174. package/dist/{hu-HU-VLUIAFMp.js → hu-HU-DIjDe5aa.js} +2 -2
  175. package/dist/{hu-HU-D9Avt-9f.js → hu-HU-DyM1X3r6.js} +2 -2
  176. package/dist/{hu-HU-Cc7wqn6A.js → hu-HU-s1MKqwI4.js} +3 -1
  177. package/dist/{isEmpty-MyMko24J.js → isEmpty-DD8Insy0.js} +2 -2
  178. package/dist/{it-IT-BPA_Upt_.js → it-IT-2reNk09A.js} +3 -1
  179. package/dist/it-IT-BKTDLRBT.js +7 -0
  180. package/dist/it-IT-Dj2NtH7G.js +23 -0
  181. package/dist/it-IT-xXO07yyz.js +7 -0
  182. package/dist/{ja-JP-CYb1SAoz.js → ja-JP-Bf97gKqg.js} +3 -1
  183. package/dist/ja-JP-BhHK_ru2.js +7 -0
  184. package/dist/ja-JP-DbLRpEVj.js +7 -0
  185. package/dist/{ja-JP-Yi2wExJE.js → ja-JP-lXTbRXBb.js} +12 -2
  186. package/dist/{localizeDateString-D-MlYN4V.js → localizeDateString-Dxlqr4rL.js} +2 -2
  187. package/dist/logger-Z8AeTE4x.js +29 -0
  188. package/dist/{lt-LT-B9Nm7OZQ.js → lt-LT-BUgsY7cD.js} +3 -1
  189. package/dist/lt-LT-Be3q6tyu.js +7 -0
  190. package/dist/lt-LT-Btr5el2q.js +7 -0
  191. package/dist/lt-LT-COUN4qC5.js +23 -0
  192. package/dist/lv-LV-8wOWTo3r.js +7 -0
  193. package/dist/{lv-LV-DkjsE74u.js → lv-LV-BpniO6xp.js} +3 -1
  194. package/dist/lv-LV-DCeyOqHY.js +7 -0
  195. package/dist/lv-LV-DKbvF9t_.js +23 -0
  196. package/dist/{mapExistingFile-LvvzPjnk.js → mapExistingFile-R6-FnjjY.js} +2 -2
  197. package/dist/{mapJpAddressSchemaToAddressLocalizations-DzLVWIs7.js → mapJpAddressSchemaToAddressLocalizations-CnoGHZz_.js} +3 -3
  198. package/dist/{mapLegalEntityToIndividualSchema-DdNuOsAz.js → mapLegalEntityToIndividualSchema-C5lQR5IO.js} +10 -9
  199. package/dist/{mapTransferInstrumentToPayoutAccount-cKBtK0Qx.js → mapTransferInstrumentToPayoutAccount-D-RdVquH.js} +3 -3
  200. package/dist/nl-NL-CdHkQcOS.js +7 -0
  201. package/dist/nl-NL-CtK4OR3t.js +23 -0
  202. package/dist/nl-NL-Dyb3tkBi.js +7 -0
  203. package/dist/{nl-NL-BtdPxlFm.js → nl-NL-_B3Ey_x1.js} +3 -1
  204. package/dist/no-NO-B-xCUkf4.js +7 -0
  205. package/dist/no-NO-CxZumo2p.js +23 -0
  206. package/dist/{no-NO-BIhMgC99.js → no-NO-CytzrDfA.js} +3 -1
  207. package/dist/no-NO-DXDddmYv.js +7 -0
  208. package/dist/pl-PL-CBwRmIu5.js +7 -0
  209. package/dist/pl-PL-Cc09pXO8.js +7 -0
  210. package/dist/pl-PL-Csv1Lg5y.js +23 -0
  211. package/dist/{pl-PL-BT6NmGgO.js → pl-PL-DLBeIbY5.js} +3 -1
  212. package/dist/{processCapabilities-BSpmJOEd.js → processCapabilities-uXoRmB5x.js} +2 -2
  213. package/dist/{processValidationErrors-DgBZ7oLn.js → processValidationErrors-Cm3cBtN7.js} +3 -3
  214. package/dist/{pt-BR-B0SUw4uu.js → pt-BR-Cf5Jif3w.js} +3 -1
  215. package/dist/pt-BR-DA4PVtVa2.js +7 -0
  216. package/dist/pt-BR-IBsCApUj.js +23 -0
  217. package/dist/pt-BR-hMhyqixD.js +7 -0
  218. package/dist/pt-PT-CYKk0WDI.js +23 -0
  219. package/dist/{pt-PT-KikTTc5A.js → pt-PT-Cg7oMqTO.js} +3 -1
  220. package/dist/pt-PT-D2qX_lOd.js +7 -0
  221. package/dist/pt-PT-QU0CQs-d.js +7 -0
  222. package/dist/{resolveEnvironment-I0NAzeCT.js → resolveEnvironment-wbFNXSP-.js} +68 -46
  223. package/dist/ro-RO-23qEGblz.js +23 -0
  224. package/dist/ro-RO-CQjOM8e-.js +7 -0
  225. package/dist/ro-RO-DNye-gMC.js +7 -0
  226. package/dist/{ro-RO-DajmyI4j.js → ro-RO-UHWXt9rv.js} +3 -1
  227. package/dist/sk-SK-2jlbtz2r.js +7 -0
  228. package/dist/{sk-SK-DJWcs0qJ.js → sk-SK-BQHhBpDH.js} +3 -1
  229. package/dist/sk-SK-CwbBfCsU.js +7 -0
  230. package/dist/sk-SK-D8j8B4ng.js +23 -0
  231. package/dist/sl-SI-333ryFnM.js +23 -0
  232. package/dist/sl-SI-9XdXVgB8.js +7 -0
  233. package/dist/{sl-SI-C_QeUL6t.js → sl-SI-CTrggdef.js} +3 -1
  234. package/dist/sl-SI-Cyx0QtxG.js +7 -0
  235. package/dist/style.css +693 -672
  236. package/dist/styles-DYaAeu4q.js +693 -672
  237. package/dist/{sv-SE-D3MOTV-T.js → sv-SE-Bk55FXGN.js} +3 -1
  238. package/dist/sv-SE-CqhSdYBe.js +7 -0
  239. package/dist/sv-SE-CwsP7bTA.js +23 -0
  240. package/dist/sv-SE-kbf3zbjX.js +7 -0
  241. package/dist/{translation-DH4IlMCP.js → translation-BOm4lmPx.js} +3 -271
  242. package/dist/types/adaptiveWorkflow/AdaptiveWorkflow.d.ts +5 -2
  243. package/dist/types/adaptiveWorkflow/component-registry.d.ts +32 -39
  244. package/dist/types/adaptiveWorkflow/components/Fields/BusinessRegistrationNumber/BusinessRegistrationNumberFieldGroup.d.ts +2 -2
  245. package/dist/types/adaptiveWorkflow/components/Fields/BusinessRegistrationNumber/ExemptedFromRegistrationNumberField.d.ts +1 -1
  246. package/dist/types/adaptiveWorkflow/components/Fields/BusinessRegistrationNumber/RegistrationNumberInputField.d.ts +1 -1
  247. package/dist/types/adaptiveWorkflow/components/Fields/BusinessRegistrationNumber/RegistrationNumberTypeSelectorField.d.ts +1 -1
  248. package/dist/types/adaptiveWorkflow/components/Fields/IdentityNumber/IdentityNumberFieldGroup.d.ts +2 -2
  249. package/dist/types/adaptiveWorkflow/components/Fields/IndustryCode/IndustryCodeFieldGroup.d.ts +2 -2
  250. package/dist/types/adaptiveWorkflow/components/Fields/LegalName.d.ts +1 -1
  251. package/dist/types/adaptiveWorkflow/components/Fields/TaxInformation/ExemptedFromTaxField.d.ts +1 -1
  252. package/dist/types/adaptiveWorkflow/components/Fields/TaxInformation/TaxIdNumberInputField.d.ts +1 -1
  253. package/dist/types/adaptiveWorkflow/components/Fields/TaxInformation/TaxIdTypeSelectorField.d.ts +1 -1
  254. package/dist/types/adaptiveWorkflow/components/Fields/TaxInformation/TaxInformationFieldGroup.d.ts +2 -2
  255. package/dist/types/adaptiveWorkflow/components/Layout/DynamicForm/{useCustomerDataV2.d.ts → useCustomerData.d.ts} +4 -9
  256. package/dist/types/adaptiveWorkflow/components/Layout/Steps/IdentityScreeningWorkflow/IdentityScreening.d.ts +19 -0
  257. package/dist/types/adaptiveWorkflow/components/Layout/Steps/{IdentityScreeningWorkflow.d.ts → IdentityScreeningWorkflow/IdentityScreeningWorkflow.d.ts} +1 -1
  258. package/dist/types/adaptiveWorkflow/components/Layout/Steps/Step/contextMap.d.ts +8 -1
  259. package/dist/types/adaptiveWorkflow/components/Layout/Task/contextMap.d.ts +9 -1
  260. package/dist/types/adaptiveWorkflow/components/Layout/TaskGroup/contextMap.d.ts +8 -1
  261. package/dist/types/adaptiveWorkflow/components/Layout/Workflow/Workflow.d.ts +1 -1
  262. package/dist/types/adaptiveWorkflow/components/{WorkflowEndState → Layout/Workflow/WorkflowEndState}/WorkflowEndState.d.ts +1 -1
  263. package/dist/types/adaptiveWorkflow/components/{WorkflowHeading → Layout/Workflow/WorkflowHeading}/WorkflowHeading.d.ts +1 -1
  264. package/dist/types/adaptiveWorkflow/components/NodeRenderer/NodeRenderer.d.ts +4 -5
  265. package/dist/types/adaptiveWorkflow/components/types.d.ts +4 -108
  266. package/dist/types/{context → adaptiveWorkflow/context}/WorkflowContext/WorkflowContext.d.ts +2 -2
  267. package/dist/types/adaptiveWorkflow/formHook.d.ts +2 -2
  268. package/dist/types/api/adaptive/adaptiveWorkflow.types.d.ts +2 -3
  269. package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/PayoutSummary.d.ts +14 -0
  270. package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/utils.d.ts +2 -1
  271. package/dist/types/components/Business/forms/rules.constants.d.ts +0 -17
  272. package/dist/types/components/Business/utils/utils.d.ts +0 -1
  273. package/dist/types/components/GlobalEntry/constants.d.ts +0 -22
  274. package/dist/types/components/GlobalEntry/fields/EntitySetupField/EntitySetupField.d.ts +2 -1
  275. package/dist/types/components/GlobalEntry/fields/EntitySetupField/types.d.ts +1 -1
  276. package/dist/types/components/GlobalEntry/fields/PaperworkQuestionnaire/PaperworkQuestionnaire.d.ts +1 -1
  277. package/dist/types/components/GlobalEntry/fields/PaperworkQuestionnaire/types.d.ts +1 -1
  278. package/dist/types/components/GlobalEntry/fields/UnincorporatedOrganizationTypeField/UnincorporatedOrganizationTypeField.d.ts +2 -1
  279. package/dist/types/components/GlobalEntry/fields/UnincorporatedOrganizationTypeField/types.d.ts +1 -1
  280. package/dist/types/components/GlobalEntry/forms/EntityInformation/EntityInformation.d.ts +4 -1
  281. package/dist/types/components/GlobalEntry/forms/EntityInformation/types.d.ts +2 -1
  282. package/dist/types/components/GlobalEntry/forms/RegistrationInformation/RegistrationInformation.d.ts +8 -2
  283. package/dist/types/components/GlobalEntry/forms/RegistrationInformation/types.d.ts +5 -1
  284. package/dist/types/components/GlobalEntry/rules.d.ts +23 -0
  285. package/dist/types/components/GlobalEntry/tasks/GlobalEntry.d.ts +6 -1
  286. package/dist/types/components/GlobalEntry/utils.d.ts +3 -0
  287. package/dist/types/components/GlobalEntry/validate.d.ts +9 -1
  288. package/dist/types/components/Individual/forms/AdditionalPersonalDetails/AdditionalPersonalDetails.types.d.ts +4 -1
  289. package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/utils.d.ts +7 -2
  290. package/dist/types/components/Shared/SummarySection/SummarySection.d.ts +1 -0
  291. package/dist/types/components/Shared/VerifiedWith/VerifiedWith.d.ts +7 -0
  292. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/BusinessRegistrationNumberField.d.ts +1 -1
  293. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/fieldConfig.d.ts +1 -1
  294. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/types.d.ts +0 -1
  295. package/dist/types/components/Shared/fields/CountryOfGoverningLawField/CountryOfGoverningLawField.d.ts +1 -1
  296. package/dist/types/components/Shared/fields/CountryOfGoverningLawField/constants.d.ts +2 -0
  297. package/dist/types/components/Shared/fields/CountryOfGoverningLawField/types.d.ts +1 -1
  298. package/dist/types/components/Shared/fields/StateField/StateField.d.ts +1 -1
  299. package/dist/types/components/Shared/fields/StateField/types.d.ts +3 -2
  300. package/dist/types/components/Shared/fields/TaxInformationField/fieldConfig.d.ts +1 -1
  301. package/dist/types/components/Shared/fields/TaxInformationField/taxIdNumberTypes.d.ts +4 -0
  302. package/dist/types/components/Shared/forms/Address/AddressFields.d.ts +1 -2
  303. package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
  304. package/dist/types/components/Trust/forms/Trust/Trust.d.ts +13 -0
  305. package/dist/types/components/Trust/forms/Trust/form-ids.d.ts +2 -0
  306. package/dist/types/components/Trust/{tasks/TrustDropin/Trust.d.ts → forms/Trust/forms.d.ts} +3 -4
  307. package/dist/types/components/Trust/forms/Trust/types.d.ts +1 -20
  308. package/dist/types/components/Trust/forms/TrustRegistrationDetails/TrustRegistrationDetails.d.ts +2 -3
  309. package/dist/types/components/Trust/forms/TrustRegistrationDetails/types.d.ts +2 -2
  310. package/dist/types/components/Trust/pages/TrustDetailsPage.d.ts +3 -3
  311. package/dist/types/components/Trust/tasks/TrustDropin/TrustDropin.d.ts +1 -1
  312. package/dist/types/components/Trust/tasks/TrustDropin/types.d.ts +15 -0
  313. package/dist/types/router/routeConfig.d.ts +1 -1
  314. package/dist/types/utils/businessUtils.d.ts +19 -0
  315. package/dist/types/utils/entityStatusUtil.d.ts +1 -1
  316. package/dist/{types-BLWT7WnU.js → types-Ai_80DXu.js} +1 -1
  317. package/dist/{types-B4LsyK73.js → types-BeveNAZK.js} +1 -1
  318. package/dist/{types-Bm4RGrSI.js → types-CdxNdaM6.js} +1 -1
  319. package/dist/useAdaptiveWorkflow-DsQESk9f.js +28 -0
  320. package/dist/{useAssociatedLegalEntity-CzQlHWXy.js → useAssociatedLegalEntity-BdcoiUby.js} +3 -3
  321. package/dist/{useBusinessDetailsData-D2SKV7CO.js → useBusinessDetailsData-D6CY5gWd.js} +93 -186
  322. package/dist/{useBusinessLines-D-rc-Z6G.js → useBusinessLines-BhSN6qCH.js} +2 -2
  323. package/dist/{useCanSeeIntroduction-DGtlX3lt.js → useCanSeeIntroduction-Ci3FC4DJ.js} +4 -5
  324. package/dist/{useCreateLegalEntity-Ctdmk3Ky.js → useCreateLegalEntity-CYZd_62a.js} +2 -2
  325. package/dist/{useDataMissingRemediations-DNZ_UDbI.js → useDataMissingRemediations-Cd-jucOu.js} +3 -3
  326. package/dist/{useForm-T9qxtTlE.js → useForm-D9htlwjI.js} +5 -5
  327. package/dist/useHideTaskStepper-MdPt1zI8.js +25 -0
  328. package/dist/{useId-InBEunao.js → useId-zuKUQ8ly.js} +4 -4
  329. package/dist/useIndustryCodes-uAj90IyS.js +32 -0
  330. package/dist/{useLegalEntity-DR51Q4mE.js → useLegalEntity-QQXN6YOm.js} +2 -2
  331. package/dist/{useNavigate-BT8Z1amQ.js → useNavigate-BPlIHbOr.js} +33 -33
  332. package/dist/{useOnboardingStatus-op5TyMUR.js → useOnboardingStatus-CsGUjkm-.js} +2 -2
  333. package/dist/{usePciQuestionnaireList-BZsgbrTy.js → usePciQuestionnaireList-CFNJD8pS.js} +2 -2
  334. package/dist/{useSalesChannels-Mi6DmHab.js → useSalesChannels-CSp1PYlL.js} +5 -5
  335. package/dist/{useScenarios-Bne3C0PV.js → useScenarios-CGcmXgJv.js} +3 -3
  336. package/dist/{useTaskLandedEvent-C7fcguXK.js → useTaskLandedEvent-BCvoFRym.js} +2 -2
  337. package/dist/{useTaskStatus-Be6XyW54.js → useTaskStatus-CgrhdaE_.js} +2 -2
  338. package/dist/useTaskStepperContext-BIEhTt1x.js +15 -0
  339. package/dist/{useTermsOfServiceStatus-D0NHUKl_.js → useTermsOfServiceStatus-DbJDklA2.js} +2 -2
  340. package/dist/{useTrustMembers-B0Rg3wyX.js → useTrustMembers-BR2VfPMj.js} +6 -6
  341. package/dist/{useUnincorporatedPartnershipMembers-C5CNWe_U.js → useUnincorporatedPartnershipMembers-00l8eNLk.js} +5 -5
  342. package/dist/{useUpdateBusinessLines-D6D9DAn1.js → useUpdateBusinessLines-DCKYTzxd.js} +4 -29
  343. package/dist/{useUpdateLegalEntity-DtWHsFZ9.js → useUpdateLegalEntity-B6oM8kXX.js} +3 -3
  344. package/dist/{utils-BKAldHdP.js → utils-2s4JuDg2.js} +8 -8
  345. package/dist/{utils-DwujAUJC.js → utils-Br7Ah3uy.js} +1 -1
  346. package/dist/utils-CFaGY5aD.js +52 -0
  347. package/dist/{validate-DRp09YPF.js → validate-B7VTIiia.js} +1 -1
  348. package/dist/{validate-BNu91k9j.js → validate-D3UP_q_2.js} +10 -6
  349. package/dist/validate-Pfp0KXdh.js +125 -0
  350. package/dist/{validate-BtvWBgdt.js → validate-_NwYQ8tj.js} +4 -4
  351. package/dist/validateExtractionResult-BnSV5Z6F.js +343 -0
  352. package/dist/{validationError-D5iB4HOa.js → validationError-BgIcYxoa.js} +2 -2
  353. package/package.json +2 -2
  354. package/dist/AdaptiveWorkflow-DGwymf21.js +0 -5112
  355. package/dist/Address-DmDfexg6.js +0 -133
  356. package/dist/GlobalEntryModal-D6dN9IAJ.js +0 -353
  357. package/dist/JpAddress-DOw7YLKt.js +0 -284
  358. package/dist/JpAddress.module-OYxAFctC.js +0 -48
  359. package/dist/RadioGroup-C4csROhR.js +0 -84
  360. package/dist/RootBusinessDetailsPage-CFdd54bg.js +0 -68
  361. package/dist/SoleProprietorshipPage-C8FIHuAF.js +0 -70
  362. package/dist/TrustMemberCompanyPage-Da8JTcd4.js +0 -109
  363. package/dist/bafinUtils-9rBblM1a.js +0 -276
  364. package/dist/bg-BG-BkIvSbsH.js +0 -7
  365. package/dist/bg-BG-Bmveyt6S.js +0 -7
  366. package/dist/cs-CZ-BQ5B0-Kt.js +0 -13
  367. package/dist/cs-CZ-CPvgcrDs.js +0 -7
  368. package/dist/cs-CZ-D5CQd_YI.js +0 -7
  369. package/dist/da-DK-Bl0-8FN4.js +0 -7
  370. package/dist/da-DK-CXAIXO3c.js +0 -13
  371. package/dist/da-DK-D5969QKP.js +0 -7
  372. package/dist/de-DE-DFQGGPCj.js +0 -13
  373. package/dist/de-DE-Hah2EvAY.js +0 -7
  374. package/dist/de-DE-uDUBu-3n.js +0 -7
  375. package/dist/debugStore-DpSgCNGn.js +0 -40
  376. package/dist/el-GR-C9KGlGa7.js +0 -7
  377. package/dist/el-GR-DWh7gn7M.js +0 -7
  378. package/dist/en-US-DqhKW1eC.js +0 -7
  379. package/dist/en-US-MqobYcqc.js +0 -7
  380. package/dist/en-US-X8pjkwa3.js +0 -7
  381. package/dist/es-ES-C7XCTACS.js +0 -7
  382. package/dist/es-ES-DSwi-qfd.js +0 -7
  383. package/dist/es-ES-_qbfha1o.js +0 -13
  384. package/dist/es-LA-0IrX8yr2.js +0 -7
  385. package/dist/es-LA-1H8dAUVR.js +0 -7
  386. package/dist/es-LA-DF0v3VMe.js +0 -13
  387. package/dist/et-EE-evCiUrFW.js +0 -13
  388. package/dist/fi-FI-BdrXeX9d.js +0 -7
  389. package/dist/fi-FI-Cdof5NRG.js +0 -7
  390. package/dist/fieldConfigurations-CZCFghnK.js +0 -11
  391. package/dist/form-rules-DV3hxYqZ.js +0 -359
  392. package/dist/fr-FR-DIiBHkhs.js +0 -13
  393. package/dist/fr-FR-NOULV1vy.js +0 -7
  394. package/dist/fr-FR-hleHEr-Y.js +0 -7
  395. package/dist/hr-HR--ti3n_XO.js +0 -7
  396. package/dist/hr-HR-2h3d5-q3.js +0 -7
  397. package/dist/hr-HR-DofgeWWO.js +0 -13
  398. package/dist/hu-HU-FdLZGnBz.js +0 -13
  399. package/dist/it-IT-CWIAGNlE.js +0 -7
  400. package/dist/it-IT-CXgZZgyU.js +0 -13
  401. package/dist/it-IT-Dq5z7p1-.js +0 -7
  402. package/dist/ja-JP-C1c2UPpy.js +0 -7
  403. package/dist/ja-JP-Dyhw0Ycj.js +0 -7
  404. package/dist/japanSupportUtils-H5Zfox2v.js +0 -11
  405. package/dist/lt-LT-BMI4JzrS.js +0 -7
  406. package/dist/lt-LT-BZ6seLuB.js +0 -13
  407. package/dist/lt-LT-C62dFtWW.js +0 -7
  408. package/dist/lv-LV-CMYrAWqu.js +0 -13
  409. package/dist/lv-LV-LkNZQ__4.js +0 -7
  410. package/dist/lv-LV-W0I-UUyj.js +0 -7
  411. package/dist/nl-NL-C9HoBicG.js +0 -7
  412. package/dist/nl-NL-CC2r7Ldv.js +0 -7
  413. package/dist/nl-NL-CiH1raQa.js +0 -13
  414. package/dist/no-NO-Bo9rlROU.js +0 -7
  415. package/dist/no-NO-Ce2vzrp7.js +0 -13
  416. package/dist/no-NO-V7_rz3uN.js +0 -7
  417. package/dist/patternValidators-C8cRrD-t.js +0 -73
  418. package/dist/pl-PL-2QyKX67Y.js +0 -7
  419. package/dist/pl-PL-STp7eeFE.js +0 -7
  420. package/dist/pl-PL-aErZF5Xz.js +0 -13
  421. package/dist/pt-BR-CFGpH3BW.js +0 -7
  422. package/dist/pt-BR-D08Fo1qY.js +0 -7
  423. package/dist/pt-BR-hRRebYjo.js +0 -13
  424. package/dist/pt-PT-BAQWYDe6.js +0 -7
  425. package/dist/pt-PT-BHR4CEnv.js +0 -7
  426. package/dist/pt-PT-UAIvemf-.js +0 -13
  427. package/dist/ro-RO-BJeKitCz.js +0 -13
  428. package/dist/ro-RO-ni-ZNqXU.js +0 -7
  429. package/dist/ro-RO-wG0rfL5w.js +0 -7
  430. package/dist/sk-SK-DJinBnS1.js +0 -7
  431. package/dist/sk-SK-DQAGAOJW.js +0 -7
  432. package/dist/sk-SK-ztSYyXUE.js +0 -13
  433. package/dist/sl-SI-B-MLX0nT.js +0 -7
  434. package/dist/sl-SI-BY4TzP-F.js +0 -13
  435. package/dist/sl-SI-DUaLO_J7.js +0 -7
  436. package/dist/sv-SE-5uxyEq2a.js +0 -7
  437. package/dist/sv-SE-CNQCI2nX.js +0 -7
  438. package/dist/sv-SE-CrUbxniG.js +0 -13
  439. package/dist/toFullWidth-Dgy4X4i8.js +0 -52
  440. package/dist/types/adaptiveWorkflow/component-registry-v2.d.ts +0 -46
  441. package/dist/types/adaptiveWorkflow/components/DynamicForm/DynamicForm.d.ts +0 -8
  442. package/dist/types/adaptiveWorkflow/components/DynamicForm/contextMap.d.ts +0 -2
  443. package/dist/types/adaptiveWorkflow/components/DynamicForm/useCustomerData.d.ts +0 -25
  444. package/dist/types/adaptiveWorkflow/components/Fields/AcceptTermsOfServiceWorkflow/AcceptTermsOfServiceWorkflow.d.ts +0 -5
  445. package/dist/types/adaptiveWorkflow/components/Fields/IdentityScreening/IdentityScreeningWorkflow.d.ts +0 -18
  446. package/dist/types/adaptiveWorkflow/components/Fields/SourceOfFundsWorkflow/SourceOfFundsWorkflow.d.ts +0 -6
  447. package/dist/types/adaptiveWorkflow/components/Fields/TaxReportingWorkflow/TaxReportingWorkflow.d.ts +0 -6
  448. package/dist/types/adaptiveWorkflow/components/SpecializedComponent/SpecializedComponent.d.ts +0 -34
  449. package/dist/types/adaptiveWorkflow/components/SubTask/SubTask.d.ts +0 -7
  450. package/dist/types/adaptiveWorkflow/components/SubTask/contextMap.d.ts +0 -2
  451. package/dist/types/adaptiveWorkflow/components/Task/Task.d.ts +0 -6
  452. package/dist/types/adaptiveWorkflow/components/Task/contextMap.d.ts +0 -2
  453. package/dist/types/adaptiveWorkflow/components/TaskGroup/TaskGroup.d.ts +0 -6
  454. package/dist/types/adaptiveWorkflow/components/TaskGroup/contextMap.d.ts +0 -2
  455. package/dist/types/adaptiveWorkflow/components/TaskGroupParser/TaskGroupParser.d.ts +0 -7
  456. package/dist/types/adaptiveWorkflow/components/TaskItems/UboTaskItem/UboTaskItem.d.ts +0 -16
  457. package/dist/types/adaptiveWorkflow/components/TaskParser/TaskParser.d.ts +0 -7
  458. package/dist/types/components/Shared/forms/Address/localized/jp/JpAddress.d.ts +0 -7
  459. package/dist/uppercase-DvjwUM0n.js +0 -7
  460. /package/dist/types/{context → adaptiveWorkflow/context}/WorkflowContext/WorkflowContextProvider.d.ts +0 -0
  461. /package/dist/types/{context → adaptiveWorkflow/context}/WorkflowContext/useWorkflowContext.d.ts +0 -0
@@ -1,83 +1,77 @@
1
1
  try {
2
2
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
3
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "fdbbb23c-3a3c-4285-b967-fc673666de72", e._sentryDebugIdIdentifier = "sentry-dbid-fdbbb23c-3a3c-4285-b967-fc673666de72");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "d12525d8-8a26-42bf-84f5-f67df7f4e975", e._sentryDebugIdIdentifier = "sentry-dbid-d12525d8-8a26-42bf-84f5-f67df7f4e975");
4
4
  } catch (e) {}
5
- import { i as Typography, o as createLogger, r as useTranslation } from "./translation-DH4IlMCP.js";
6
- import { E as useAllowedCountries, T as datasetUtilities, at as isUndefinedOrNull, ft as useAccountHolder, j as useToggleContext, k as Header, nt as isEmpty, rt as isISIN, x as Alert } from "./resolveEnvironment-I0NAzeCT.js";
7
- import { r as Loader, t as Button } from "./Button-Cm7cT6BX.js";
8
- import { r as httpPost, s as useApiContext } from "./http-D6AdUBhO.js";
9
- import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-DR51Q4mE.js";
5
+ import { r as useTranslation } from "./translation-BOm4lmPx.js";
6
+ import { E as useAllowedCountries, T as datasetUtilities, at as isUndefinedOrNull, j as useToggleContext, k as Header, mt as useAccountHolder, nt as isEmpty, pt as useSettingsContext, rt as isISIN, x as Alert } from "./resolveEnvironment-wbFNXSP-.js";
7
+ import { t as createLogger } from "./logger-Z8AeTE4x.js";
8
+ import { t as Typography } from "./Typography-CAc_f5Iq.js";
9
+ import { t as Loader } from "./Loader-BEpMlKm2.js";
10
+ import { t as Button } from "./Button-DSD_afG_.js";
11
+ import { r as httpPost, s as useApiContext } from "./http-DsJtugN1.js";
12
+ import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-QQXN6YOm.js";
10
13
  import { t as LegalEntityTypes } from "./legal-entity-type-0MfCGzUf.js";
11
- import { t as useSettingsContext } from "./useSettingsContext-Bpf4UqRT.js";
12
- import { c as keysOf, o as objectsDeepEqual, r as doArraysMatch, s as entriesOf } from "./AnalyticsContext-BnRQ9H1u.js";
14
+ import { a as objectsDeepEqual, n as doArraysMatch, o as entriesOf, s as keysOf } from "./genUtils-Ce61IJs8.js";
13
15
  import { t as StackLayout } from "./StackLayout-IUdNMDgW.js";
14
- import { t as TaskVerificationStatus } from "./TaskVerificationStatus-DMj8rsZ_.js";
16
+ import { t as TaskVerificationStatus } from "./TaskVerificationStatus-DCfFNRJc.js";
15
17
  import { n as TASK_STATUS_POLLING_INTERVAL_MS } from "./taskStatus-BtekPA8E.js";
16
18
  import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
17
- import { _ as businessDetailsKeyMapping, f as solePropBusinessDetailsApiKeyMapping, g as businessDetailsDocumentMapping, h as businessDetailsApiKeyMapping, m as solePropBusinessDetailsKeyMapping, p as solePropBusinessDetailsDocumentMapping } from "./processCapabilities-BSpmJOEd.js";
19
+ import { _ as businessDetailsKeyMapping, f as solePropBusinessDetailsApiKeyMapping, g as businessDetailsDocumentMapping, h as businessDetailsApiKeyMapping, m as solePropBusinessDetailsKeyMapping, p as solePropBusinessDetailsDocumentMapping } from "./processCapabilities-uXoRmB5x.js";
18
20
  import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
19
- import { r as filterOutUnwantedAssociationsIfRootLE, s as getOwnEntityAssociations } from "./entityAssociationUtil-DLXInibJ.js";
21
+ import { r as filterOutUnwantedAssociationsIfRootLE, s as getOwnEntityAssociations } from "./entityAssociationUtil-CLBR9osP.js";
20
22
  import { t as Scenarios } from "./get-scenarios-Bb-paHmJ.js";
21
- import { i as useAnalyticsContext, n as ModalContent, r as KEYBOARD_KEYS, t as Modal } from "./Modal-nylR9F4X.js";
23
+ import { i as useAnalyticsContext, n as ModalContent, t as Modal } from "./Modal-C6gfqa3Z.js";
22
24
  import { t as HandlerContext } from "./HandlerContext-DeMa68z0.js";
23
- import { n as SettingNames } from "./debugStore-DpSgCNGn.js";
24
- import { a as LandingLayout, i as getPropsFromConfigurations, r as composePerScenarioFormConfigurations, t as createFormRules } from "./form-rules-DV3hxYqZ.js";
25
- import { t as ListItem } from "./ListItem-Cy46BXUv.js";
26
- import { t as useBusinessLines } from "./useBusinessLines-D-rc-Z6G.js";
25
+ import { a as SettingNames, t as InputText } from "./InputText-Co02nT5L.js";
26
+ import { _ as LandingLayout, a as uppercase, d as numericInputs, g as getPropsFromConfigurations, h as composePerScenarioFormConfigurations, l as makeMask, n as MaskedInput, o as alphaInputs, s as alphanumericInputs, t as createFormRules } from "./form-rules-DCZ-uyGo.js";
27
+ import { t as ListItem } from "./ListItem-BGdnopqb.js";
28
+ import { t as useBusinessLines } from "./useBusinessLines-BhSN6qCH.js";
27
29
  import { t as Card } from "./Card-BCGLpdw7.js";
28
- import { n as useInvalidateRootLegalEntity, r as useToastContext } from "./useId-InBEunao.js";
29
- import { c as TileGroup, l as CompanyTypesValues } from "./bafinUtils-9rBblM1a.js";
30
- import { p as LoaderWrapper, r as Field } from "./Select-Dmn4bMEK.js";
31
- import { n as Confirm, t as StructuredList } from "./StructuredList-DpzDjXNV.js";
32
- import { C as FormContextProvider, b as createFormUtils, c as useMultiForm, d as useFormComposer, g as Summary_module_default, i as addValidityToForms, n as CountryField, o as FormFlow, p as summaryStep, r as useFormContext, t as COUNTRY_FIELD, x as mergeFieldMetadataIntoProps } from "./CountryField-BC0wDSlI.js";
33
- import { t as Image } from "./Image-8SOcICah.js";
34
- import { t as ErrorPanel } from "./ErrorPanel-Be6eGO6I.js";
35
- import { r as useDebouncedCallback, t as Checkbox } from "./Checkbox-faFUul66.js";
30
+ import { n as useInvalidateRootLegalEntity, r as useToastContext } from "./useId-zuKUQ8ly.js";
31
+ import { A as COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_SOLE_PROPS, C as COUNTRIES_THAT_REQUIRE_DATE_OF_INCORPORATION, D as COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER_SOLE_PROPS, E as COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER, I as getTaxInformationPlaceholderText, L as taxInformationDefaultFieldConfig, M as REGISTRATION_NUMBER_EXEMPTION_RULES, N as TAX_ID_REQUIRED_COUNTRIES_ORGANIZATION, O as COUNTRIES_WITH_POSSIBLE_REGISTRATION_EXEMPTIONS_FOR_SOLE_PROPS, R as taxInformationDefaultFieldMetadata, S as COUNTRIES_THAT_DO_NOT_USE_TAX_ID_FOR_SOLE_PROP, T as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, U as isJapanLocalizationEnabled, W as CompanyTypesValues, _ as taxIdNumberOptions, b as COUNTRIES_THAT_DONT_REQUIRE_COMPANY_REGISTRATION, c as TileGroup, g as getValidCompanyTypesForTaxIdNumberType, h as getTaxIdNumberOptions, j as COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4, k as COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_COMPANIES, l as TAX_INFORMATION_FIELD, u as TaxInformationField, v as COUNTRIES_REQUIRING_E_INVOICING_CODE, w as COUNTRIES_THAT_USES_UEN_OR_GST, x as COUNTRIES_THAT_DONT_REQUIRE_SOLE_PROP_REGISTRATION, y as COUNTRIES_REQUIRING_FINANCIAL_INFORMATION } from "./bafinUtils-CT-a64QP.js";
32
+ import { p as LoaderWrapper, r as Field } from "./Select-PqhoL_oQ.js";
33
+ import { n as Confirm, t as StructuredList } from "./StructuredList-BKWmLAYe.js";
34
+ import { A as createFormUtils, E as Summary_module_default, N as FormContextProvider, S as summaryStep, _ as useMultiForm, b as useFormComposer, c as validatePatternOnBlur, d as CountryField, f as useFormContext, h as FormFlow, i as validateJaKanaLegalCompanyName, j as mergeFieldMetadataIntoProps, l as resolveFieldMetadata, p as addValidityToForms, r as validateJaHaniLegalCompanyName, s as validateNotEmptyOnBlur, t as RadioGroup, u as COUNTRY_FIELD } from "./RadioGroup-B_lHSMq9.js";
35
+ import { t as Image } from "./Image-D82terx4.js";
36
+ import { t as ErrorPanel } from "./ErrorPanel-CMHH1nTS.js";
37
+ import { r as useDebouncedCallback, t as Checkbox } from "./Checkbox-B-hhlkoQ.js";
38
+ import { a as getAddressSchemaForCountry, f as COUNTRIES_WITH_STATES_DATASET, i as defaultFieldMetadata, l as mapAddressLabelsNewSummary, n as StateField, r as defaultFieldConfig, s as getKeyForField, t as STATE_FIELD } from "./StateField-uZDljrxJ.js";
36
39
  import { t as getFormSlice } from "./getFormSlice-C1ma6Xd4.js";
37
- import { t as useScenarios } from "./useScenarios-Bne3C0PV.js";
38
- import { t as useCreateLegalEntity } from "./useCreateLegalEntity-Ctdmk3Ky.js";
39
- import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-DtWHsFZ9.js";
40
- import { a as defaultFieldMetadata, c as formatAddressForCleanse, i as defaultFieldConfig, n as STATE_FIELD, r as StateField, u as useAddressCleanseImperatively } from "./AddressField-S_TJHHgc.js";
41
- import { i as useScenarioConfiguration, r as getPageName, t as mapExistingFile } from "./mapExistingFile-LvvzPjnk.js";
42
- import { t as useTaskLandedEvent } from "./useTaskLandedEvent-C7fcguXK.js";
43
- import { a as alphanumericInputs, i as alphaInputs, l as numericInputs, s as makeMask, t as MaskedInput } from "./MaskedInput-DhHmuLSN.js";
44
- import { i as JP_ADDRESS_REQUIRED_FIELDS, r as mapJpAddressSummaryNewSummary, t as mapJpAddressSchemaToAddressLocalizations } from "./mapJpAddressSchemaToAddressLocalizations-DzLVWIs7.js";
45
- import { a as mapAddressLabelsNewSummary, c as COUNTRIES_WITH_STATES_DATASET, r as getKeyForField, t as getAddressSchemaForCountry } from "./utils-eFdC-IQw.js";
46
- import { n as isMaintenanceModeError, t as processValidationErrors } from "./processValidationErrors-DgBZ7oLn.js";
47
- import { a as createDocumentRequest, c as getDocuments, f as mergeProofOfOwnershipAttachments, l as getFileExtention, o as documentApiUtils, s as getDocument } from "./validate-BNu91k9j.js";
40
+ import { a as defaultFieldMetadata$1, i as defaultFieldConfigV4, o as defaultFieldMetadataV4, r as defaultFieldConfig$1, t as LEGAL_COMPANY_NAME_FIELD } from "./LegalCompanyNameField-C04RZp2O.js";
41
+ import { a as CountryOfGoverningLawField, i as COUNTRY_OF_GOVERNING_LAW_FIELD, n as isUsingCompanySearch, o as useLegalCompanyNameField, r as COUNTRY_OF_GOVERNING_LAW_POSSIBLE, t as CountryOfGoverningLawFieldValidation } from "./validate-Pfp0KXdh.js";
42
+ import { t as useScenarios } from "./useScenarios-CGcmXgJv.js";
43
+ import { t as useCreateLegalEntity } from "./useCreateLegalEntity-CYZd_62a.js";
44
+ import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-B6oM8kXX.js";
45
+ import { i as formatAddressForCleanse, o as useAddressCleanseImperatively } from "./AddressField-OygGZ6XH.js";
46
+ import { i as useScenarioConfiguration, r as getPageName, t as mapExistingFile } from "./mapExistingFile-R6-FnjjY.js";
47
+ import { t as useTaskLandedEvent } from "./useTaskLandedEvent-BCvoFRym.js";
48
+ import { i as JP_ADDRESS_REQUIRED_FIELDS, r as mapJpAddressSummaryNewSummary, t as mapJpAddressSchemaToAddressLocalizations } from "./mapJpAddressSchemaToAddressLocalizations-CnoGHZz_.js";
49
+ import { n as isMaintenanceModeError, t as processValidationErrors } from "./processValidationErrors-Cm3cBtN7.js";
50
+ import { a as createDocumentRequest, c as getDocuments, f as mergeProofOfOwnershipAttachments, l as getFileExtention, o as documentApiUtils, s as getDocument } from "./validate-D3UP_q_2.js";
48
51
  import { r as formatObject } from "./utils-DdHbAadK.js";
49
- import { i as MemoizedDocumentUpload, n as TAX_INFORMATION_FIELD, o as getFieldsWithExistingData, r as TaxInformationField, t as PatriotActDisclosure } from "./PatriotActDisclosure-CudamdZG.js";
50
- import { t as isJapanLocalizationEnabled } from "./japanSupportUtils-H5Zfox2v.js";
51
- import { a as isValidationError, r as isBusinessSelectionLegalArrangementError } from "./validationError-D5iB4HOa.js";
52
- import { t as uppercase } from "./uppercase-DvjwUM0n.js";
53
- import { a as validateNotEmptyOnBlur, n as validateJaKanaLegalCompanyName, o as validatePatternOnBlur, t as validateJaHaniLegalCompanyName } from "./patternValidators-C8cRrD-t.js";
54
- import { A as taxInformationDefaultFieldMetadata, C as getTaxIdNumberOptions, O as getTaxInformationPlaceholderText, T as taxIdNumberOptions, _ as COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_SOLE_PROPS, a as COUNTRIES_REQUIRING_FINANCIAL_INFORMATION, b as REGISTRATION_NUMBER_EXEMPTION_RULES, c as COUNTRIES_THAT_DO_NOT_USE_TAX_ID_FOR_SOLE_PROP, d as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, f as COUNTRIES_USING_COMPANY_SEARCH, g as COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_COMPANIES, h as COUNTRIES_WITH_POSSIBLE_REGISTRATION_EXEMPTIONS_FOR_SOLE_PROPS, i as COUNTRIES_REQUIRING_E_INVOICING_CODE, k as taxInformationDefaultFieldConfig, l as COUNTRIES_THAT_REQUIRE_DATE_OF_INCORPORATION, m as COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER_SOLE_PROPS, o as COUNTRIES_THAT_DONT_REQUIRE_COMPANY_REGISTRATION, p as COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER, s as COUNTRIES_THAT_DONT_REQUIRE_SOLE_PROP_REGISTRATION, u as COUNTRIES_THAT_USES_UEN_OR_GST, v as COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4, w as getValidCompanyTypesForTaxIdNumberType, x as TAX_ID_REQUIRED_COUNTRIES_ORGANIZATION, y as COUNTRY_OF_GOVERNING_LAW_POSSIBLE } from "./utils-Be9xux9M.js";
55
- import { r as addressValidators } from "./validate-BtvWBgdt.js";
56
- import { t as resolveFieldMetadata } from "./fieldConfigurations-CZCFghnK.js";
57
- import { n as convertFullToHalf } from "./TextArea-CoS-i-FF.js";
52
+ import { c as MemoizedDocumentUpload, i as flattenAddressSchema, s as nestAddressSchema, t as PatriotActDisclosure, u as getFieldsWithExistingData } from "./PatriotActDisclosure-D6J1hjaU.js";
53
+ import { a as isValidationError, r as isBusinessSelectionLegalArrangementError } from "./validationError-BgIcYxoa.js";
54
+ import { r as addressValidators } from "./validate-_NwYQ8tj.js";
58
55
  import { t as capitalize } from "./getProps-DVqK7eRw.js";
59
- import { t as Link } from "./Link-B7RA2gSt.js";
60
- import { t as InputText } from "./InputText-Cf9ccCaj.js";
61
- import { n as formatDateObj, t as InputDate } from "./InputDate-DDVX2D-5.js";
62
- import { t as RadioGroup } from "./RadioGroup-C4csROhR.js";
63
- import { t as toFullWidth } from "./toFullWidth-Dgy4X4i8.js";
64
- import { t as formatValidationError } from "./formatValidationError-XKzTY3nX.js";
65
- import { t as isEmpty$1 } from "./isEmpty-MyMko24J.js";
66
- import { t as DataConflictsModal } from "./DataConflictsModal-Ez5mMzqA.js";
56
+ import { t as Link } from "./Link-B-gN0d8l.js";
57
+ import { n as formatDateObj, t as InputDate } from "./InputDate-9I-vTE2B.js";
58
+ import { t as formatValidationError } from "./formatValidationError-HjSxukRu.js";
59
+ import { t as isEmpty$1 } from "./isEmpty-DD8Insy0.js";
60
+ import { t as DataConflictsModal } from "./DataConflictsModal-CnePHHgB.js";
67
61
  import { n as mapApiScriptLocalizationToSchemaFields, r as mapSchemaFieldsToApiScriptLocalization, t as mapAddressLocalizationToJpAddressSchema } from "./mapAddressLocalizationToJpAddressSchema-CBeBTFmC.js";
68
- import { t as currencyByCountry } from "./types-BLWT7WnU.js";
62
+ import { t as currencyByCountry } from "./types-Ai_80DXu.js";
69
63
  import { t as Divider } from "./Divider-BENvVRnz.js";
64
+ import { n as SummarySection, t as NewSummary } from "./NewSummary-BKUTkBAU.js";
70
65
  import { t as DetailViewLayout } from "./DetailViewLayout-DNCGEd7b.js";
71
- import { a as LegalFormField, c as isDateOlderThanAYear, i as InputCurrency, l as mapAddressData, n as Currency, o as mapFinancialReportsToFinancialInformation, r as InputNumber, s as mapFinancialInformationToFinancialReport, t as CURRENCY_FIELD } from "./Currency-BOFjRr_4.js";
72
- import { n as SummarySection, t as NewSummary } from "./NewSummary-u_1KGI2X.js";
73
- import { t as useTaskStatus } from "./useTaskStatus-Be6XyW54.js";
74
- import { a as getValidCompanyTypesForRegistrationNumberType, c as getRegistrationNumberHelperText, i as getCompanyRegistrationNumberOptions, l as registrationNumberDefaultFieldConfig, n as getDefaultRegistrationNumberType, r as inferCompanyRegistrationNumberType, s as exemptFromRegistrationNumberDefaultFieldMetadata, u as registrationNumberDefaultFieldMetadata } from "./CompanyRegistrationNumberTypeSelector-v4sUJ8TM.js";
75
- import { n as useCreateBusinessLine, r as useIndustryCodes, t as useUpdateBusinessLine } from "./useUpdateBusinessLines-D6D9DAn1.js";
66
+ import { a as LegalFormField, c as isDateOlderThanAYear, i as InputCurrency, l as mapAddressData, n as Currency, o as mapFinancialReportsToFinancialInformation, r as InputNumber, s as mapFinancialInformationToFinancialReport, t as CURRENCY_FIELD } from "./Currency-BSsyM5Mm.js";
67
+ import { t as useTaskStatus } from "./useTaskStatus-CgrhdaE_.js";
68
+ import { a as getValidCompanyTypesForRegistrationNumberType, i as getCompanyRegistrationNumberOptions, l as registrationNumberDefaultFieldConfig, n as getDefaultRegistrationNumberType, r as inferCompanyRegistrationNumberType, s as exemptFromRegistrationNumberDefaultFieldMetadata, u as registrationNumberDefaultFieldMetadata } from "./CompanyRegistrationNumberTypeSelector-BlW3-gmE.js";
69
+ import { t as useIndustryCodes } from "./useIndustryCodes-uAj90IyS.js";
76
70
  import { n as formatCurrency } from "./formatCurrency-Cq3WFpdZ.js";
77
- import { _ as DBA_NAME_FIELD, a as VatNumberField, c as defaultFieldMetadata$1, d as RegistrationAndOperationalAddressFields, f as flattenAddressSchema, g as DBANameField, h as doingBusinessAsFieldMetadata, i as VAT_NUMBER_FIELD, l as vatAbsenceReasonMetadata, m as doingBusinessAsAbsentFieldMetadata, n as BusinessRegistrationNumberField, o as getDefaultVatNumberType, p as nestAddressSchema, r as MemoizedConstitutionalDocument, s as defaultFieldConfig$1, t as BUSINESS_REGISTRATION_NUMBER_FIELD, u as REGISTRATION_AND_OPERATIONAL_ADDRESS_FIELDS } from "./BusinessRegistrationNumberField-BZD5POn0.js";
78
- import { f as industryCodeFieldMetadata, l as IndustryCodeField, t as INDUSTRY_CODE_FIELD } from "./constants-CgndY-Nk.js";
79
- import { a as defaultFieldMetadata$2, i as defaultFieldConfigV4, o as defaultFieldMetadataV4, r as defaultFieldConfig$2, s as getLegalCompanyNameGuidanceText, t as LEGAL_COMPANY_NAME_FIELD } from "./LegalCompanyNameField-BfkXdcjt.js";
80
- import { s as organizationTypesToSkipCompanyStructureForm } from "./utils-BKAldHdP.js";
71
+ import { n as useCreateBusinessLine, t as useUpdateBusinessLine } from "./useUpdateBusinessLines-DCKYTzxd.js";
72
+ import { a as VatNumberField, c as defaultFieldMetadata$2, d as RegistrationAndOperationalAddressFields, f as doingBusinessAsAbsentFieldMetadata, h as DBA_NAME_FIELD, i as VAT_NUMBER_FIELD, l as vatAbsenceReasonMetadata, m as DBANameField, n as BusinessRegistrationNumberField, o as getDefaultVatNumberType, p as doingBusinessAsFieldMetadata, r as MemoizedConstitutionalDocument, s as defaultFieldConfig$2, t as BUSINESS_REGISTRATION_NUMBER_FIELD, u as REGISTRATION_AND_OPERATIONAL_ADDRESS_FIELDS } from "./BusinessRegistrationNumberField-CLtSzZ4H.js";
73
+ import { f as industryCodeFieldMetadata, l as IndustryCodeField, t as INDUSTRY_CODE_FIELD } from "./constants-B8ghpskV.js";
74
+ import { s as organizationTypesToSkipCompanyStructureForm } from "./utils-2s4JuDg2.js";
81
75
  import { lazy } from "preact/compat";
82
76
  import { useCallback as useCallback$1, useContext as useContext$1, useEffect as useEffect$1, useMemo as useMemo$1, useRef as useRef$1, useState as useState$1 } from "preact/hooks";
83
77
  import cx from "classnames";
@@ -374,78 +368,6 @@ var useClearCompanyData = (options) => {
374
368
  ...options
375
369
  });
376
370
  };
377
- //#endregion
378
- //#region src/components/Shared/fields/LocalizedLegalCompanyNameField/types.ts
379
- var JAPANESE_LEGAL_COMPANY_NAME_FIELDS = ["jaHaniLegalCompanyName", "jaKanaLegalCompanyName"];
380
- //#endregion
381
- //#region src/hooks/useLegalCompanyNameField/useLegalCompanyNameField.ts
382
- function useLegalCompanyNameField({ data, valid, errors, fieldProblems, country, formUtils, handleChange, t }) {
383
- const { isFeatureEnabled } = useToggleContext();
384
- const fieldKeys = getFieldKeys(isFeatureEnabled, country);
385
- const labels = formUtils.getFieldLabels(fieldKeys);
386
- const fieldErrors = formUtils.getFieldErrors(errors, fieldProblems, fieldKeys);
387
- const fieldsTransformInput = {
388
- jaHaniLegalCompanyName: toFullWidth,
389
- jaKanaLegalCompanyName: toFullWidth,
390
- legalCompanyName: convertFullToHalf
391
- };
392
- const fieldsTransformMode = {
393
- jaHaniLegalCompanyName: "blur",
394
- jaKanaLegalCompanyName: "blur",
395
- legalCompanyName: "blur"
396
- };
397
- return fieldKeys.map((fieldKey) => {
398
- if (formUtils.isRequiredField(fieldKey) || formUtils.isOptionalField(fieldKey)) {
399
- const guidance = fieldKey === "legalCompanyName" ? getLegalCompanyNameGuidanceText(t, { country }) : void 0;
400
- return {
401
- name: fieldKey,
402
- value: data[fieldKey] ?? "",
403
- readonly: formUtils.isReadOnly(fieldKey),
404
- onInput: handleChange(fieldKey, "input"),
405
- onBlur: handleChange(fieldKey, "blur"),
406
- isValid: valid[fieldKey],
407
- errorMessage: fieldErrors[fieldKey],
408
- label: labels[fieldKey],
409
- guidance,
410
- onKeyDown: handleKeyDown,
411
- transformInput: fieldsTransformInput[fieldKey],
412
- transformMode: fieldsTransformMode[fieldKey]
413
- };
414
- }
415
- });
416
- }
417
- var getFieldKeys = (isFeatureEnabled = () => false, country) => {
418
- if (isJapanLocalizationEnabled(isFeatureEnabled, country)) return [...JAPANESE_LEGAL_COMPANY_NAME_FIELDS, ...LEGAL_COMPANY_NAME_FIELD];
419
- return LEGAL_COMPANY_NAME_FIELD;
420
- };
421
- var handleKeyDown = (e) => {
422
- if (e.key === KEYBOARD_KEYS.enter) e.preventDefault();
423
- };
424
- //#endregion
425
- //#region src/components/Shared/fields/CountryOfGoverningLawField/CountryOfGoverningLawField.tsx
426
- var COUNTRY_OF_GOVERNING_LAW_FIELD = ["countryOfGoverningLaw"];
427
- function CountryOfGoverningLawField({ data, valid, errors, labels, readonly, handleChangeFor, allowedCountries, country }) {
428
- const { t } = useTranslation("common");
429
- useEffect$1(() => {
430
- if (country === CountryCodes.UnitedKingdom && !data.countryOfGoverningLaw) {
431
- const countryOfGoverningLawEvent = { target: {
432
- name: "countryOfGoverningLaw",
433
- value: CountryCodes.UnitedKingdom
434
- } };
435
- handleChangeFor("countryOfGoverningLaw")(countryOfGoverningLawEvent);
436
- }
437
- }, [country]);
438
- return /* @__PURE__ */ jsx(CountryField, {
439
- name: "countryOfGoverningLaw",
440
- data: { country: data.countryOfGoverningLaw },
441
- valid: { country: valid.countryOfGoverningLaw },
442
- errors: { country: errors.countryOfGoverningLaw },
443
- labels: { country: labels?.countryOfGoverningLaw || t(($) => $["countryOfGoverningLaw"]) },
444
- readonly,
445
- allowedCountries,
446
- handleChangeFor: () => handleChangeFor("countryOfGoverningLaw")
447
- });
448
- }
449
371
  var localizedLegalCompanyNameFieldConfig = {
450
372
  jaHaniLegalCompanyName: {
451
373
  config: {
@@ -462,34 +384,6 @@ var localizedLegalCompanyNameFieldConfig = {
462
384
  metadata: { label: "jaKanaLegalCompanyName" }
463
385
  }
464
386
  };
465
- //#endregion
466
- //#region src/components/Business/utils/utils.ts
467
- var isFinancialInformationRequired = (isFinancialInformationFeatureEnabled, taskType, country, capabilities, rootLegalEntityType) => {
468
- const isOrganization = rootLegalEntityType === LegalEntityTypes.ORGANIZATION;
469
- if (!isFinancialInformationFeatureEnabled || !COUNTRIES_REQUIRING_FINANCIAL_INFORMATION.includes(country)) return;
470
- if (country === CountryCodes.UnitedKingdom && (taskType === TaskTypes.SOLE_PROPRIETOR_COMPANY || taskType === TaskTypes.BUSINESS_DETAILS)) return "REQUIRED";
471
- if (taskType === TaskTypes.BUSINESS_DETAILS && isOrganization) {
472
- if (keysOf(capabilities ?? {}).some((capability) => capability === "issueBankAccount")) return "REQUIRED";
473
- }
474
- };
475
- var getCountryOfGoverningLaw = (isCountryOfGoverningLawEnabled, basicData) => {
476
- if (!isCountryOfGoverningLawEnabled || basicData?.country !== CountryCodes.UnitedKingdom) return;
477
- return !basicData.countryOfGoverningLaw ? CountryCodes.UnitedKingdom : basicData.countryOfGoverningLaw;
478
- };
479
- /**
480
- * Checks if a country allows registration number exemption for business details.
481
- *
482
- * @param country The country code to check.
483
- * @returns True if the country allows registration number exemption, false otherwise.
484
- */
485
- var isRegistrationExemptionAllowed = (country) => country in REGISTRATION_NUMBER_EXEMPTION_RULES;
486
- var isRegistrationNumberAbsentStateV4Scenario = (country, entityType) => {
487
- return country === CountryCodes.Australia && (entityType === CompanyTypesValues.GOVERNMENTAL_ORGANIZATION || entityType === CompanyTypesValues.INCORPORATED_PARTNERSHIP) || country === CountryCodes.NewZealand;
488
- };
489
- var isUsingCompanySearch = (country, taskType) => {
490
- if (taskType !== TaskTypes.BUSINESS_DETAILS) return false;
491
- return COUNTRIES_USING_COMPANY_SEARCH.includes(country);
492
- };
493
387
  var BasicInformation_module_default = {
494
388
  "basic-information": "_basic-information_1rbd4_1",
495
389
  basicInformation: "_basic-information_1rbd4_1"
@@ -546,9 +440,9 @@ function BasicInformation({ id, country, shouldValidate, fieldValidationErrors =
546
440
  const formUtilProps = initialProps.allFields?.reduce((acc, field) => {
547
441
  switch (field) {
548
442
  case "country": return acc;
549
- case "legalCompanyName": return mergeFieldMetadataIntoProps(field, resolveFieldMetadata(isFeatureEnabled("StrictNameAndAddressValidationV4") ? defaultFieldConfigV4[country] : defaultFieldConfig$2[country], {}, isFeatureEnabled("StrictNameAndAddressValidationV4") ? defaultFieldMetadataV4 : defaultFieldMetadata$2), acc);
443
+ case "legalCompanyName": return mergeFieldMetadataIntoProps(field, resolveFieldMetadata(isFeatureEnabled("StrictNameAndAddressValidationV4") ? defaultFieldConfigV4[country] : defaultFieldConfig$1[country], {}, isFeatureEnabled("StrictNameAndAddressValidationV4") ? defaultFieldMetadataV4 : defaultFieldMetadata$1), acc);
550
444
  case "countryOfGoverningLaw": return acc;
551
- case "stateOrProvince": return mergeFieldMetadataIntoProps(field, resolveFieldMetadata(defaultFieldConfig[country], { isBusiness: true }, defaultFieldMetadata), acc);
445
+ case "stateOrProvince": return acc;
552
446
  case "taxInformation": return mergeFieldMetadataIntoProps(field, resolveFieldMetadata(taxInformationDefaultFieldConfig[country], {
553
447
  taxIdNumberType: currentCountryTaxInformation?.type,
554
448
  companyType
@@ -644,13 +538,11 @@ function BasicInformation({ id, country, shouldValidate, fieldValidationErrors =
644
538
  handleChangeFor,
645
539
  allowedCountries: isTopLevelEntity ? allowedCountries : void 0
646
540
  }),
647
- COUNTRY_OF_GOVERNING_LAW_POSSIBLE.includes(country) && showField(COUNTRY_OF_GOVERNING_LAW_FIELD) && /* @__PURE__ */ jsx(CountryOfGoverningLawField, {
541
+ showField(COUNTRY_OF_GOVERNING_LAW_FIELD) && /* @__PURE__ */ jsx(CountryOfGoverningLawField, {
648
542
  data: formUtils.getFieldData(data ?? {}, COUNTRY_OF_GOVERNING_LAW_FIELD),
649
543
  country,
650
544
  valid: formUtils.getFieldValid(valid ?? {}, COUNTRY_OF_GOVERNING_LAW_FIELD),
651
545
  errors: formUtils.getFieldErrors(errors ?? {}, fieldValidationErrors, COUNTRY_OF_GOVERNING_LAW_FIELD),
652
- labels: formUtils.getFieldLabels(COUNTRY_OF_GOVERNING_LAW_FIELD),
653
- readonly: false,
654
546
  allowedCountries: isTopLevelEntity ? allowedCountries : void 0,
655
547
  handleChangeFor
656
548
  }),
@@ -658,7 +550,7 @@ function BasicInformation({ id, country, shouldValidate, fieldValidationErrors =
658
550
  data: formUtils.getFieldData(data ?? {}, STATE_FIELD),
659
551
  valid: formUtils.getFieldValid(valid ?? {}, STATE_FIELD),
660
552
  errors: formUtils.getFieldErrors(errors ?? {}, fieldValidationErrors, STATE_FIELD),
661
- labels: formUtils.getFieldLabels(STATE_FIELD),
553
+ isBusinessSearch: true,
662
554
  readonly: formUtils.isReadOnly("stateOrProvince"),
663
555
  handleChangeFor,
664
556
  selectedCountry: country
@@ -687,10 +579,6 @@ function BasicInformation({ id, country, shouldValidate, fieldValidationErrors =
687
579
  data: formUtils.getFieldData(data ?? {}, BUSINESS_REGISTRATION_NUMBER_FIELD),
688
580
  valid: formUtils.getFieldValid(valid ?? {}, BUSINESS_REGISTRATION_NUMBER_FIELD),
689
581
  errors: formUtils.getFieldErrors(errors ?? {}, fieldValidationErrors, BUSINESS_REGISTRATION_NUMBER_FIELD),
690
- helperText: getRegistrationNumberHelperText(businessT, {
691
- country,
692
- companyType
693
- }),
694
582
  readonly: formUtils.isReadOnly("registrationNumber"),
695
583
  optional: formUtils.isOptionalField("registrationNumber"),
696
584
  shouldValidate,
@@ -1262,6 +1150,30 @@ var companyTypeMetadata = {
1262
1150
  };
1263
1151
  var companyTypeOptions = Object.keys(companyTypeMetadata);
1264
1152
  //#endregion
1153
+ //#region src/components/Business/utils/utils.ts
1154
+ var isFinancialInformationRequired = (isFinancialInformationFeatureEnabled, taskType, country, capabilities, rootLegalEntityType) => {
1155
+ const isOrganization = rootLegalEntityType === LegalEntityTypes.ORGANIZATION;
1156
+ if (!isFinancialInformationFeatureEnabled || !COUNTRIES_REQUIRING_FINANCIAL_INFORMATION.includes(country)) return;
1157
+ if (country === CountryCodes.UnitedKingdom && (taskType === TaskTypes.SOLE_PROPRIETOR_COMPANY || taskType === TaskTypes.BUSINESS_DETAILS)) return "REQUIRED";
1158
+ if (taskType === TaskTypes.BUSINESS_DETAILS && isOrganization) {
1159
+ if (keysOf(capabilities ?? {}).some((capability) => capability === "issueBankAccount")) return "REQUIRED";
1160
+ }
1161
+ };
1162
+ var getCountryOfGoverningLaw = (isCountryOfGoverningLawEnabled, basicData) => {
1163
+ if (!isCountryOfGoverningLawEnabled || basicData?.country !== CountryCodes.UnitedKingdom) return;
1164
+ return !basicData.countryOfGoverningLaw ? CountryCodes.UnitedKingdom : basicData.countryOfGoverningLaw;
1165
+ };
1166
+ /**
1167
+ * Checks if a country allows registration number exemption for business details.
1168
+ *
1169
+ * @param country The country code to check.
1170
+ * @returns True if the country allows registration number exemption, false otherwise.
1171
+ */
1172
+ var isRegistrationExemptionAllowed = (country) => country in REGISTRATION_NUMBER_EXEMPTION_RULES;
1173
+ var isRegistrationNumberAbsentStateV4Scenario = (country, entityType) => {
1174
+ return country === CountryCodes.Australia && (entityType === CompanyTypesValues.GOVERNMENTAL_ORGANIZATION || entityType === CompanyTypesValues.INCORPORATED_PARTNERSHIP) || country === CountryCodes.NewZealand;
1175
+ };
1176
+ //#endregion
1265
1177
  //#region src/components/Business/utils/getAvailableCompanyStructures.ts
1266
1178
  function getAvailableCompanyStructures({ country, registrationNumberType, registrationNumberExempt, taxIdNumberType, legalEntity, accountHolder, isSettingEnabled }) {
1267
1179
  const isRootOrganization = isSettingEnabled(SettingNames.AllowLegalEntityTypeChange) && accountHolder !== "aTrust" && accountHolder !== "anUnincorporatedPartnership";
@@ -3781,14 +3693,16 @@ var applyVerifiedBusinessData = (form, country, verifiedData, options) => {
3781
3693
  form.handleChangeFor("companyStructure", "entityType")(companyType);
3782
3694
  if (!(form.defaultData?.additionalInformation?.registrationAddressStreet || form.defaultData?.additionalInformation?.operationalAddressStreet)) {
3783
3695
  if (verifiedData.principalPlaceOfBusinessAddress) form.handleChangeFor("additionalInformation", "operationalAddressIsSame", "input")(false);
3696
+ const addressFields = [...form.requiredFields?.additionalInformation ?? [], ...form.optionalFields?.additionalInformation ?? []];
3784
3697
  const applyVerifiedAddress = (prefix, address) => {
3785
- const flatAddress = flattenAddressSchema(prefix, {
3698
+ const flatVerifiedAddress = flattenAddressSchema(prefix, {
3786
3699
  ...address,
3787
3700
  country
3788
3701
  });
3789
- for (const field in flatAddress) {
3790
- if (flatAddress[field] === void 0) continue;
3791
- form.handleChangeFor("additionalInformation", field)(flatAddress[field]);
3702
+ for (const field in flatVerifiedAddress) {
3703
+ const fieldValue = flatVerifiedAddress[field];
3704
+ if (fieldValue === void 0 || !addressFields.includes(field)) continue;
3705
+ form.handleChangeFor("additionalInformation", field)(fieldValue);
3792
3706
  }
3793
3707
  };
3794
3708
  if (verifiedData.registeredAddress) applyVerifiedAddress("registrationAddress", mapAddressData(verifiedData.registeredAddress));
@@ -3868,20 +3782,13 @@ var CountryFieldValidation = () => ({ country: {
3868
3782
  errorMessage: "fieldIsRequired"
3869
3783
  } });
3870
3784
  //#endregion
3871
- //#region src/components/Shared/fields/CountryOfGoverningLawField/validate.ts
3872
- var CountryOfGoverningLawFieldValidation = () => ({ countryOfGoverningLaw: {
3873
- modes: ["blur"],
3874
- validate: (countryOfGoverningLaw) => !isEmpty(countryOfGoverningLaw),
3875
- errorMessage: "fieldIsRequired"
3876
- } });
3877
- //#endregion
3878
3785
  //#region src/components/Business/tasks/BusinessDetailsDropin/validate.ts
3879
3786
  var logger = createLogger();
3880
3787
  function basicInformationValidators({ country, taxIdNumberType, companyType, registrationNumberType, state, isFeatureEnabled }) {
3881
3788
  return {
3882
3789
  country: CountryFieldValidation().country,
3883
3790
  countryOfGoverningLaw: CountryOfGoverningLawFieldValidation().countryOfGoverningLaw,
3884
- legalCompanyName: resolveFieldMetadata(isFeatureEnabled("StrictNameAndAddressValidationV4") ? defaultFieldConfigV4[country] : defaultFieldConfig$2[country], {}, isFeatureEnabled("StrictNameAndAddressValidationV4") ? defaultFieldMetadataV4 : defaultFieldMetadata$2).validators,
3791
+ legalCompanyName: resolveFieldMetadata(isFeatureEnabled("StrictNameAndAddressValidationV4") ? defaultFieldConfigV4[country] : defaultFieldConfig$1[country], {}, isFeatureEnabled("StrictNameAndAddressValidationV4") ? defaultFieldMetadataV4 : defaultFieldMetadata$1).validators,
3885
3792
  taxInformation: resolveFieldMetadata(taxInformationDefaultFieldConfig[country], {
3886
3793
  taxIdNumberType,
3887
3794
  companyType
@@ -3920,7 +3827,7 @@ function additionalInformationValidators({ country, vatNumberType, isFeatureEnab
3920
3827
  hasDoingBusinessAs: doingBusinessAsAbsentFieldMetadata.validators,
3921
3828
  doingBusinessAs: doingBusinessAsFieldMetadata.validators,
3922
3829
  legalEntityIdentifier: legalEntityIdentifierFieldMetadata.validators,
3923
- vatNumber: resolveFieldMetadata(defaultFieldConfig$1[country], { vatNumberType }, defaultFieldMetadata$1).validators,
3830
+ vatNumber: resolveFieldMetadata(defaultFieldConfig$2[country], { vatNumberType }, defaultFieldMetadata$2).validators,
3924
3831
  vatAbsenceReason: vatAbsenceReasonMetadata.validators,
3925
3832
  eInvoicingCode: eInvoicingCodeFieldMetadata.validators,
3926
3833
  industryCodes: industryCodeFieldMetadata.validators,
@@ -4599,7 +4506,7 @@ function AdditionalInformation({ id, country, companyType, shouldValidate, field
4599
4506
  switch (field) {
4600
4507
  case "hasDoingBusinessAs": return mergeFieldMetadataIntoProps("hasDoingBusinessAs", doingBusinessAsAbsentFieldMetadata, acc);
4601
4508
  case "doingBusinessAs": return mergeFieldMetadataIntoProps("doingBusinessAs", doingBusinessAsFieldMetadata, acc);
4602
- case "vatNumber": return mergeFieldMetadataIntoProps(field, resolveFieldMetadata(defaultFieldConfig$1[country], { vatNumberType: data?.vatNumberType }, defaultFieldMetadata$1), acc);
4509
+ case "vatNumber": return mergeFieldMetadataIntoProps(field, resolveFieldMetadata(defaultFieldConfig$2[country], { vatNumberType: data?.vatNumberType }, defaultFieldMetadata$2), acc);
4603
4510
  case "vatAbsenceReason": return mergeFieldMetadataIntoProps("vatAbsenceReason", vatAbsenceReasonMetadata, acc);
4604
4511
  case "eInvoicingCode": return mergeFieldMetadataIntoProps("eInvoicingCode", eInvoicingCodeFieldMetadata, acc);
4605
4512
  case "industryCodes": return mergeFieldMetadataIntoProps("industryCodes", industryCodeFieldMetadata, acc);
@@ -1,8 +1,8 @@
1
1
  try {
2
2
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
3
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "fbe6879a-aef0-4eb0-bad9-86510a31cabe", e._sentryDebugIdIdentifier = "sentry-dbid-fbe6879a-aef0-4eb0-bad9-86510a31cabe");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "4b5beabe-24f8-42bb-81f9-a6b1d2574017", e._sentryDebugIdIdentifier = "sentry-dbid-4b5beabe-24f8-42bb-81f9-a6b1d2574017");
4
4
  } catch (e) {}
5
- import { n as httpGet, s as useApiContext } from "./http-D6AdUBhO.js";
5
+ import { n as httpGet, s as useApiContext } from "./http-DsJtugN1.js";
6
6
  import { useQuery } from "@tanstack/preact-query";
7
7
  //#region src/api/businessLines/useBusinessLines.ts
8
8
  var getBusinessLines = async (legalEntityId, baseUrl) => {
@@ -1,12 +1,11 @@
1
1
  try {
2
2
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
3
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "85aedc19-fa25-4a5e-815f-d051e484fd89", e._sentryDebugIdIdentifier = "sentry-dbid-85aedc19-fa25-4a5e-815f-d051e484fd89");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "3fd4913f-514e-435e-b4b4-0dd9f673cf81", e._sentryDebugIdIdentifier = "sentry-dbid-3fd4913f-514e-435e-b4b4-0dd9f673cf81");
4
4
  } catch (e) {}
5
- import { _ as isPartOfTrustFromLegalEntity } from "./resolveEnvironment-I0NAzeCT.js";
5
+ import { _ as isPartOfTrustFromLegalEntity, pt as useSettingsContext } from "./resolveEnvironment-wbFNXSP-.js";
6
6
  import { t as LegalEntityTypes } from "./legal-entity-type-0MfCGzUf.js";
7
- import { t as useSettingsContext } from "./useSettingsContext-Bpf4UqRT.js";
8
- import { f as hasSolePropInLegalEntity } from "./entityAssociationUtil-DLXInibJ.js";
9
- import { n as SettingNames } from "./debugStore-DpSgCNGn.js";
7
+ import { f as hasSolePropInLegalEntity } from "./entityAssociationUtil-CLBR9osP.js";
8
+ import { a as SettingNames } from "./InputText-Co02nT5L.js";
10
9
  //#region src/hooks/useLegalEntityType.ts
11
10
  var useLegalEntityType = ({ legalEntity }) => {
12
11
  const isTrust = isPartOfTrustFromLegalEntity(legalEntity);
@@ -1,8 +1,8 @@
1
1
  try {
2
2
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
3
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "bb9d5a7a-fb42-4386-9bbc-99fa06127433", e._sentryDebugIdIdentifier = "sentry-dbid-bb9d5a7a-fb42-4386-9bbc-99fa06127433");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "7bbcbbcd-5935-4626-97b4-2b208e820706", e._sentryDebugIdIdentifier = "sentry-dbid-7bbcbbcd-5935-4626-97b4-2b208e820706");
4
4
  } catch (e) {}
5
- import { r as httpPost, s as useApiContext } from "./http-D6AdUBhO.js";
5
+ import { r as httpPost, s as useApiContext } from "./http-DsJtugN1.js";
6
6
  import { useMutation } from "@tanstack/preact-query";
7
7
  //#region src/api/createLegalEntity/useCreateLegalEntity.ts
8
8
  var createLegalEntity = async (legalEntityId, baseUrl, data) => {
@@ -1,9 +1,9 @@
1
1
  try {
2
2
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
3
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "0e08a2d6-3469-4a22-a5b2-81f030dfcd29", e._sentryDebugIdIdentifier = "sentry-dbid-0e08a2d6-3469-4a22-a5b2-81f030dfcd29");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "71b7a750-5d2e-4e91-9f0f-cd6cd5ffb63f", e._sentryDebugIdIdentifier = "sentry-dbid-71b7a750-5d2e-4e91-9f0f-cd6cd5ffb63f");
4
4
  } catch (e) {}
5
- import { r as useTranslation } from "./translation-DH4IlMCP.js";
6
- import { C as EntityTypes, T as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING } from "./processCapabilities-BSpmJOEd.js";
5
+ import { r as useTranslation } from "./translation-BOm4lmPx.js";
6
+ import { C as EntityTypes, T as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING } from "./processCapabilities-uXoRmB5x.js";
7
7
  import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
8
8
  import { useMemo } from "preact/hooks";
9
9
  //#region src/hooks/useDataMissingRemediations.ts
@@ -1,11 +1,11 @@
1
1
  try {
2
2
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
3
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "66d54263-55c9-4f6b-ae2c-82afe85e0bcc", e._sentryDebugIdIdentifier = "sentry-dbid-66d54263-55c9-4f6b-ae2c-82afe85e0bcc");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "62a030b9-a914-4548-8f7d-326de0de0b09", e._sentryDebugIdIdentifier = "sentry-dbid-62a030b9-a914-4548-8f7d-326de0de0b09");
4
4
  } catch (e) {}
5
- import { o as createLogger } from "./translation-DH4IlMCP.js";
6
- import { nt as isEmpty } from "./resolveEnvironment-I0NAzeCT.js";
7
- import { r as doArraysMatch } from "./AnalyticsContext-BnRQ9H1u.js";
8
- import { l as omitKeys, o as ValidationResult, s as addKeys } from "./Select-Dmn4bMEK.js";
5
+ import { nt as isEmpty } from "./resolveEnvironment-wbFNXSP-.js";
6
+ import { t as createLogger } from "./logger-Z8AeTE4x.js";
7
+ import { n as doArraysMatch } from "./genUtils-Ce61IJs8.js";
8
+ import { l as omitKeys, o as ValidationResult, s as addKeys } from "./Select-PqhoL_oQ.js";
9
9
  import { useCallback, useEffect, useMemo, useReducer, useState } from "preact/hooks";
10
10
  //#region src/hooks/useAsyncValidator.ts
11
11
  var logger = createLogger();
@@ -0,0 +1,25 @@
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] = "b1453f87-e342-4bd2-80bb-373b21007487", e._sentryDebugIdIdentifier = "sentry-dbid-b1453f87-e342-4bd2-80bb-373b21007487");
4
+ } catch (e) {}
5
+ import { t as useTaskStepperContext } from "./useTaskStepperContext-BIEhTt1x.js";
6
+ import { useEffect, useRef } from "preact/hooks";
7
+ //#region src/adaptiveWorkflow/context/TaskStepperContext/useHideTaskStepper.ts
8
+ /**
9
+ * Hides the task stepper buttons
10
+ * Used by specialized step components (e.g. SourceOfFundsWorkflow, TaxReportingWorkflow)
11
+ * which have their own navigation buttons and don't need the task stepper
12
+ */
13
+ function useHideTaskStepper() {
14
+ const isStepperVisibilityUpdated = useRef(false);
15
+ const { setIsStepperVisible } = useTaskStepperContext();
16
+ if (!isStepperVisibilityUpdated.current) {
17
+ setIsStepperVisible(false);
18
+ isStepperVisibilityUpdated.current = true;
19
+ }
20
+ useEffect(() => {
21
+ return () => setIsStepperVisible(true);
22
+ }, [setIsStepperVisible]);
23
+ }
24
+ //#endregion
25
+ export { useHideTaskStepper as t };
@@ -1,10 +1,10 @@
1
1
  try {
2
2
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
3
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "766bed4f-2ccb-46d8-b524-b11b5b56c729", e._sentryDebugIdIdentifier = "sentry-dbid-766bed4f-2ccb-46d8-b524-b11b5b56c729");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "60aef8d3-d907-43ac-a141-1fb628abd344", e._sentryDebugIdIdentifier = "sentry-dbid-60aef8d3-d907-43ac-a141-1fb628abd344");
4
4
  } catch (e) {}
5
- import { o as createLogger } from "./translation-DH4IlMCP.js";
6
- import { L as ToastContext } from "./resolveEnvironment-I0NAzeCT.js";
7
- import { s as useApiContext } from "./http-D6AdUBhO.js";
5
+ import { L as ToastContext } from "./resolveEnvironment-wbFNXSP-.js";
6
+ import { t as createLogger } from "./logger-Z8AeTE4x.js";
7
+ import { s as useApiContext } from "./http-DsJtugN1.js";
8
8
  import { useCallback, useContext, useState } from "preact/hooks";
9
9
  import { useQueryClient } from "@tanstack/preact-query";
10
10
  //#region src/context/ToastContext/useToastContext.ts
@@ -0,0 +1,32 @@
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] = "fc41ba43-7709-475d-9134-c0187d5b2bed", e._sentryDebugIdIdentifier = "sentry-dbid-fc41ba43-7709-475d-9134-c0187d5b2bed");
4
+ } catch (e) {}
5
+ import { n as httpGet, s as useApiContext } from "./http-DsJtugN1.js";
6
+ import { useQuery } from "@tanstack/preact-query";
7
+ //#region src/api/industryCodes/useIndustryCodes.ts
8
+ var fetchIndustryCodes = async (legalEntityId, baseUrl, businessLineTypes, locale) => {
9
+ const results = await Promise.all(businessLineTypes.map((businessLineType) => {
10
+ return httpGet({
11
+ baseUrl,
12
+ path: `legalEntities/${legalEntityId}/businessLines/${businessLineType}/industryCodes?locale=${locale}`
13
+ });
14
+ }));
15
+ const deduped = [];
16
+ for (const result of results) for (const industryCodeDTO of result) if (!deduped.find((item) => item.code === industryCodeDTO.code)) deduped.push(industryCodeDTO);
17
+ return deduped;
18
+ };
19
+ var useIndustryCodes = (businessLineTypes, locale, options) => {
20
+ const { rootLegalEntityId, baseUrl } = useApiContext();
21
+ return useQuery({
22
+ queryKey: [
23
+ "industryCodes",
24
+ businessLineTypes.join(","),
25
+ locale
26
+ ],
27
+ queryFn: () => fetchIndustryCodes(rootLegalEntityId.value, baseUrl.value, businessLineTypes, locale),
28
+ ...options
29
+ });
30
+ };
31
+ //#endregion
32
+ export { useIndustryCodes as t };
@@ -1,8 +1,8 @@
1
1
  try {
2
2
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
3
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "24352a4c-5035-435a-a2fd-a591890694f8", e._sentryDebugIdIdentifier = "sentry-dbid-24352a4c-5035-435a-a2fd-a591890694f8");
3
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "aea352de-6c56-4bca-91dd-d17622951f57", e._sentryDebugIdIdentifier = "sentry-dbid-aea352de-6c56-4bca-91dd-d17622951f57");
4
4
  } catch (e) {}
5
- import { n as httpGet, s as useApiContext } from "./http-D6AdUBhO.js";
5
+ import { n as httpGet, s as useApiContext } from "./http-DsJtugN1.js";
6
6
  import { skipToken, useQueries, useQuery } from "@tanstack/preact-query";
7
7
  //#region src/api/legalEntity/useLegalEntity.ts
8
8
  var ROOT_LE = Symbol("ROOT_LE");