@adyen/kyc-components 3.81.0-beta.6 → 3.82.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 (338) hide show
  1. package/dist/{AcceptTermsOfServiceComponent-TLpFCTa-.js → AcceptTermsOfServiceComponent-BcmaOZn_.js} +36 -10
  2. package/dist/{AccountSetupRejected-RmlaR74O.js → AccountSetupRejected-DY2Dr6NS.js} +6 -4
  3. package/dist/Address-DrcGzzbw.js +1076 -0
  4. package/dist/Alert-QIcYF1qD.js +231 -0
  5. package/dist/{Avatar-VJ5kzlyX.js → Avatar-DOeLDY6M.js} +2 -2
  6. package/dist/BusinessDetailsDropin-BGsHimRA.js +5088 -0
  7. package/dist/BusinessFinancingComponent-aYQz8gE4.js +45 -0
  8. package/dist/{BusinessFinancingDropin-DqqJh7oI.js → BusinessFinancingDropin-S1KF-NyW.js} +43 -20
  9. package/dist/BusinessFinancingPage-D2OV4IqT.js +40 -0
  10. package/dist/{BusinessTypeSelectionPage-0gAiU8-k.js → BusinessTypeSelectionPage-mJaPKHWj.js} +9 -5
  11. package/dist/Card-D3VCh4en.js +145 -0
  12. package/dist/Confirm-Dj-igSqL.js +64 -0
  13. package/dist/{ContractViewer-B2LwC3wV.js → ContractViewer-Byp71k2e.js} +33 -38
  14. package/dist/CountryField-B2dh1VXh.js +864 -0
  15. package/dist/CreateIndividualComponent-D6r8z9C9.js +72 -0
  16. package/dist/CreateTransferInstrumentComponent-Dpj7MNQS.js +67 -0
  17. package/dist/Currency-BAGjlBuR.js +238 -0
  18. package/dist/{CustomerSupport-CF1sYaZe.js → CustomerSupport-CYHYkHRf.js} +10 -6
  19. package/dist/{DebugModal-BfzyAxTL.js → DebugModal-B_xZdbHr.js} +8 -5
  20. package/dist/{DecisionMakerDetailsPage-DQzvrvjd.js → DecisionMakerDetailsPage-DMLnRAqQ.js} +11 -4
  21. package/dist/{DecisionMakers-CeBpj8p9.js → DecisionMakers-CG-_wD3e.js} +224 -96
  22. package/dist/Dropzone-CWLgt-EE.js +218 -0
  23. package/dist/{EmbeddedStatus-Da-R7LDJ.js → EmbeddedStatus-BIhXDQHZ.js} +4 -4
  24. package/dist/{EndStateLayout-B89OYlLx.js → EndStateLayout-C80dFrcg.js} +2 -2
  25. package/dist/{FormFlow-BQK-SrGL.js → FormFlow-Df3CEE-c.js} +8 -2
  26. package/dist/FormNavigation-UiyNK4Uw.js +162 -0
  27. package/dist/{IndividualOnfidoDropin-C1xH6itq.js → IndividualOnfidoDropin-CJLptmj_.js} +2796 -64
  28. package/dist/InputDate-uj7AgGvk.js +43 -0
  29. package/dist/InputGroup-WBfGDV5F.js +32 -0
  30. package/dist/InputText-Ds8RrvJq.js +161 -0
  31. package/dist/{Introduction-CDB0G3bY.js → Introduction-BWWadECu.js} +58 -4
  32. package/dist/LegalRepresentativeDetailsPage-BYUoJ0JW.js +61 -0
  33. package/dist/Link-Dc3z0YyP.js +35 -0
  34. package/dist/ManageIndividualComponent-DQlUh6YC.js +47 -0
  35. package/dist/ManageTermsOfServiceComponent-B5WnQ4n1.js +47 -0
  36. package/dist/{ManageTransferInstrumentComponent-D-CFPJJW.js → ManageTransferInstrumentComponent-CL8KJIXM.js} +25 -4
  37. package/dist/MaskedInput-CTOcOcUH.js +799 -0
  38. package/dist/MaybeModal-BBBahxa3.js +25 -0
  39. package/dist/Modal-Da5go-OS.js +136 -0
  40. package/dist/{OnboardingDropinComponent-USEEyykb.js → OnboardingDropinComponent-BYFTAjkC.js} +200 -41
  41. package/dist/PayoutDetailsDropin-UBEJcM6I.js +3694 -0
  42. package/dist/RadioGroup-DwMTx-4B.js +143 -0
  43. package/dist/RegistrationAddress-CcHFAuWw.js +2334 -0
  44. package/dist/{Review-C7kbmI2-.js → Review-B8HKLTsc.js} +8 -4
  45. package/dist/{RootBusinessDetailsPage-Oh-X5OJ6.js → RootBusinessDetailsPage-2rHbq8sK.js} +65 -44
  46. package/dist/RootIndividualDetailsPage-BYEh8Vlw.js +77 -0
  47. package/dist/{SignPCIComponent-3Ab8dWV4.js → SignPCIComponent-DZcOu0WP.js} +17 -8
  48. package/dist/{SingpassSelection-Bfra20iP.js → SingpassSelection-D45perGt.js} +6 -6
  49. package/dist/SoleProprietorshipPage-D4dn0vkS.js +50 -0
  50. package/dist/{SourceOfFundsPage-DsakBcHW.js → SourceOfFundsPage-By-6cY89.js} +46 -24
  51. package/dist/Spacer-BK3jDget.js +18 -0
  52. package/dist/StepProgressIndicator-Jd8MiZZp.js +78 -0
  53. package/dist/StoreProvider-B_tFiIdr.js +7072 -0
  54. package/dist/StructuredList-DaepaiVE.js +38 -0
  55. package/dist/{TaskItemStatus-CYI7n3qN.js → TaskItemStatus-Ccga7-2c.js} +4 -3
  56. package/dist/{TaskStatusIndicator-DSICKMZ9.js → TaskStatusIndicator-CGp1MHRK.js} +2 -2
  57. package/dist/TaxInformationField-qCHTQShR.js +3062 -0
  58. package/dist/{TaxReportingDropin-tYdGTVCv.js → TaxReportingDropin-sxuLHfT9.js} +25 -9
  59. package/dist/{TileGroup-CmLJ5fv6.js → TileGroup-B9jBcBJV.js} +4 -2
  60. package/dist/{TrustDetailsPage-DJ7sLu2B.js → TrustDetailsPage-pWuCF62_.js} +506 -19
  61. package/dist/TrustMemberCompanyPage-Blbw7uAa.js +60 -0
  62. package/dist/TrustMemberIndividualPage-CkqYu9NE.js +66 -0
  63. package/dist/UnincorporatedPartnershipIndividualPage-Dd_YBotT.js +66 -0
  64. package/dist/UnincorporatedPartnershipMemberCompanyPage-Dna06cxg.js +64 -0
  65. package/dist/{ViewVerificationStatusComponent-XmGpFS4Q.js → ViewVerificationStatusComponent-Dnc6ucMj.js} +4 -3
  66. package/dist/adyen-business-financing.js +33 -22
  67. package/dist/adyen-individual.js +36 -27
  68. package/dist/adyen-kyc-components.js +28 -15
  69. package/dist/adyen-manage-individual.js +25 -26
  70. package/dist/adyen-manage-terms-of-service.js +26 -27
  71. package/dist/adyen-manage-transfer-instruments.js +40 -42
  72. package/dist/adyen-onboarding.js +3 -3
  73. package/dist/adyen-terms-of-service.js +41 -38
  74. package/dist/adyen-transfer-instrument.js +38 -29
  75. package/dist/adyen-verification-status.js +44 -36
  76. package/dist/analytics-D2q0iFsS.js +61 -0
  77. package/dist/{bafinUtils-C_5C_Fk9.js → bafinUtils-BmLu7dPk.js} +164 -10
  78. package/dist/basePatterns-BwdnMQxI.js +15 -0
  79. package/dist/bg-BG-CW9c658c.js +13 -0
  80. package/dist/bg-BG-CZ8v3rdy.js +30 -0
  81. package/dist/{bg-BG-Dlzl9Szn.js → bg-BG-D5192UVe.js} +1 -2
  82. package/dist/{bg-BG-NMIts2sa.js → bg-BG-QC5irNEG.js} +2 -4
  83. package/dist/commonValidators-DKV_Zthp.js +24 -0
  84. package/dist/{cs-CZ-BkyFDlAU.js → cs-CZ-DOqH0WeT.js} +1 -2
  85. package/dist/cs-CZ-Dx6momCa.js +30 -0
  86. package/dist/cs-CZ-dU9fnQ1g.js +13 -0
  87. package/dist/{cs-CZ-Csr_35T-.js → cs-CZ-t297LwYw.js} +2 -4
  88. package/dist/currency-BGwQyxBo.js +36 -0
  89. package/dist/{da-DK-B5KNtXL8.js → da-DK-B45X2VaJ.js} +1 -2
  90. package/dist/da-DK-BJ7aTPir.js +13 -0
  91. package/dist/{da-DK-Dm8o1giq.js → da-DK-BoQic3Gy.js} +2 -4
  92. package/dist/da-DK-D4H69PX3.js +30 -0
  93. package/dist/de-DE-C78RLE2G.js +13 -0
  94. package/dist/{de-DE-BA9tcpNQ.js → de-DE-CWvgMDqU.js} +1 -2
  95. package/dist/{de-DE-DMFaycio.js → de-DE-Dwagawx1.js} +2 -4
  96. package/dist/de-DE-wp5-H-ov.js +30 -0
  97. package/dist/dropinUtils-Bs4XZJuG.js +192 -0
  98. package/dist/el-GR-BZRKurtr.js +13 -0
  99. package/dist/{el-GR-DIhHT2q_.js → el-GR-C3rkK_oc.js} +1 -2
  100. package/dist/el-GR-CK2heqPJ.js +30 -0
  101. package/dist/{el-GR-CGeBAkDN.js → el-GR-CxwhV-TX.js} +2 -4
  102. package/dist/emitEvent-CzZf80Am.js +28 -0
  103. package/dist/{en-US-DX4NHkX-.js → en-US-BbAzROHT.js} +2 -4
  104. package/dist/{en-US-TrwIHFh-.js → en-US-CAm3meB1.js} +1 -2
  105. package/dist/{en-US-SbE0c1gn.js → en-US-DIdQJky-.js} +1 -2
  106. package/dist/en-US.instructions-Ddr7AO05.js +22 -0
  107. package/dist/{es-ES-pXHx3ODy.js → es-ES-Bsoco8Fj.js} +2 -4
  108. package/dist/es-ES-BtUSEzkE.js +13 -0
  109. package/dist/{es-ES-RXwbiHjS.js → es-ES-DKCCgVF8.js} +1 -2
  110. package/dist/es-ES-Ds3-DtqZ.js +30 -0
  111. package/dist/et-EE-BCnK305R.js +13 -0
  112. package/dist/{et-EE-ZssIqWkO.js → et-EE-Bc6ioJRG.js} +1 -2
  113. package/dist/et-EE-Co-8akjV.js +30 -0
  114. package/dist/{et-EE-QLVnr6Vl.js → et-EE-DdGlUpaQ.js} +2 -4
  115. package/dist/{fi-FI-DT351N-G.js → fi-FI-ClnsYt3L.js} +2 -4
  116. package/dist/fi-FI-Cvar63RH.js +13 -0
  117. package/dist/fi-FI-DPNeTsJS.js +30 -0
  118. package/dist/{fi-FI-DmiggQEL.js → fi-FI-Hhku9Lmc.js} +1 -2
  119. package/dist/fieldConfigurations-Yf8yD64w.js +458 -0
  120. package/dist/form-rules-DhbF2mY4.js +13 -0
  121. package/dist/fr-FR-B5543Fe-.js +13 -0
  122. package/dist/{fr-FR-N5wYE2BZ.js → fr-FR-BYuKsZIb.js} +1 -2
  123. package/dist/{fr-FR-BNXXNUX_.js → fr-FR-CJI0bIig.js} +2 -4
  124. package/dist/fr-FR-ChmNQciP.js +30 -0
  125. package/dist/getName-CNY8xRgy.js +41 -0
  126. package/dist/{hasDataChanged-CzXG96AD.js → hasDataChanged-BaS61ojo.js} +2 -2
  127. package/dist/{hr-HR-B8AZ4eHJ.js → hr-HR-C0yWizOX.js} +2 -4
  128. package/dist/{hr-HR-5iwKtfgh.js → hr-HR-CPO5Yw2B.js} +1 -2
  129. package/dist/hr-HR-DqC8Cgs6.js +30 -0
  130. package/dist/hr-HR-ZreFlbK9.js +13 -0
  131. package/dist/hu-HU-B3BihdGh.js +13 -0
  132. package/dist/hu-HU-BOanVlKb.js +30 -0
  133. package/dist/{hu-HU-Aq1LsWah.js → hu-HU-mo_0ULJG.js} +1 -2
  134. package/dist/{hu-HU-DRi6Dz9U.js → hu-HU-wnSie9tz.js} +2 -4
  135. package/dist/iframeWidget-wJ62Bpmz.js +234 -0
  136. package/dist/{payout-verification-instant-BIcnFP-p.js → instant-verification-Dvvkyfmp.js} +3 -3
  137. package/dist/isEmpty-DyzV_vaf.js +23 -0
  138. package/dist/{it-IT-BeYbInCQ.js → it-IT-BeC2Y1F8.js} +2 -4
  139. package/dist/it-IT-Dd6xGSe-.js +13 -0
  140. package/dist/{it-IT-8DEagvb2.js → it-IT-Nl57jui-.js} +1 -2
  141. package/dist/it-IT-eCrTB65E.js +30 -0
  142. package/dist/ja-JP-BJljbFIZ.js +30 -0
  143. package/dist/{ja-JP-BhS-_dIx.js → ja-JP-CbgaW99b.js} +2 -2
  144. package/dist/{ja-JP-BGAJQs1g.js → ja-JP-D3oQAH7z.js} +1 -2
  145. package/dist/{ja-JP-C1OQ16fo.js → ja-JP-YoU7mNrK.js} +2 -4
  146. package/dist/ja-JP-iTbqSPNL.js +13 -0
  147. package/dist/keys-BpNgnAsD.js +23 -0
  148. package/dist/{localizeDateString-Jy9XkTyZ.js → localizeDateString-CEnsnB3Q.js} +2 -2
  149. package/dist/{lt-LT-HZOWQKZT.js → lt-LT-CVasDmF3.js} +1 -2
  150. package/dist/lt-LT-DE-4IXNG.js +13 -0
  151. package/dist/{lt-LT-_MzAcXJo.js → lt-LT-DIe4cKlu.js} +2 -4
  152. package/dist/lt-LT-DckQGgoT.js +30 -0
  153. package/dist/lv-LV-CeivEZms.js +13 -0
  154. package/dist/lv-LV-DP9oRTFv.js +30 -0
  155. package/dist/{lv-LV-CRhXAjn6.js → lv-LV-DXgW5zWl.js} +2 -4
  156. package/dist/{lv-LV-F-Z4lDCV.js → lv-LV-Sbsv8-nD.js} +1 -2
  157. package/dist/{payout-verification-manual-DH9-DdlZ.js → manual-verification-BvZWqA00.js} +3 -3
  158. package/dist/mapExistingFile-BphSM_zL.js +231 -0
  159. package/dist/mapScriptLocalization-BgHu6D6K.js +72 -0
  160. package/dist/mapTransferInstrumentToPayoutAccount-C2sNhjfY.js +30 -0
  161. package/dist/{nl-NL-C-xUU2N3.js → nl-NL-BHkRnVrj.js} +1 -2
  162. package/dist/{nl-NL-Dbx0ZmI7.js → nl-NL-Cysslsh2.js} +2 -4
  163. package/dist/nl-NL-D2QKudfh.js +30 -0
  164. package/dist/nl-NL-DVENFpd5.js +13 -0
  165. package/dist/no-NO-C_snYWBc.js +30 -0
  166. package/dist/no-NO-Dn2UkdoI.js +13 -0
  167. package/dist/{no-NO-47ncaBZY.js → no-NO-kaAdT9B8.js} +1 -2
  168. package/dist/{no-NO-C0sfkp82.js → no-NO-zSnPtrDi.js} +2 -4
  169. package/dist/pl-PL-CQ6c2Qz_.js +30 -0
  170. package/dist/{pl-PL-CZLzkboH.js → pl-PL-DD8JN4Qf.js} +1 -2
  171. package/dist/pl-PL-DFAzuceF.js +13 -0
  172. package/dist/{pl-PL-DAPGaxWi.js → pl-PL-UB5J5JcB.js} +2 -4
  173. package/dist/pt-PT-C-hbNnsB.js +30 -0
  174. package/dist/{pt-PT-BY9rcwcF.js → pt-PT-CjsyP_OK.js} +2 -4
  175. package/dist/{pt-PT-CN4ws8N7.js → pt-PT-Xm-pm3mb.js} +1 -2
  176. package/dist/pt-PT-_o5xgnxS.js +13 -0
  177. package/dist/{resolveEnvironment-BbdiVBJB.js → resolveEnvironment-DWnAnjxd.js} +3 -3
  178. package/dist/ro-RO-BrTWk1Ui.js +30 -0
  179. package/dist/{ro-RO-RylOvc5g.js → ro-RO-C3m6aJVP.js} +1 -2
  180. package/dist/{ro-RO-DJLWmWZ4.js → ro-RO-C8yYXQc_.js} +2 -4
  181. package/dist/ro-RO-D7c_Rj8V.js +13 -0
  182. package/dist/{rules-Cqfw8M_0.js → rules-V2n1q9wP.js} +5 -2
  183. package/dist/sk-SK-BBSuh2fA.js +13 -0
  184. package/dist/sk-SK-BTFtoPmI.js +30 -0
  185. package/dist/{sk-SK-BfJKbtGy.js → sk-SK-BVc-vNQm.js} +1 -2
  186. package/dist/{sk-SK-B7o3L57C.js → sk-SK-DbOE9C6n.js} +2 -4
  187. package/dist/sl-SI-BLTuWNf5.js +13 -0
  188. package/dist/sl-SI-BhVTSmhQ.js +30 -0
  189. package/dist/{sl-SI-C8CMAkD0.js → sl-SI-Br0UEUPL.js} +2 -4
  190. package/dist/{sl-SI-DklUFzaY.js → sl-SI-D_rqR0D7.js} +1 -2
  191. package/dist/style.css +3272 -3254
  192. package/dist/styles-CLV89_hH.js +3272 -3254
  193. package/dist/sv-SE-66rqYTxi.js +30 -0
  194. package/dist/{sv-SE-qduyDIzY.js → sv-SE-B3zoXMuH.js} +1 -2
  195. package/dist/sv-SE-BUfESAQK.js +13 -0
  196. package/dist/{sv-SE-Bwh0wKFk.js → sv-SE-BtXmvxx4.js} +2 -4
  197. package/dist/translation-CPyYrNAr.js +472 -0
  198. package/dist/types/api/industryCodes/industryCodes.types.d.ts +2 -0
  199. package/dist/types/api/industryCodes/useIndustryCodes.d.ts +6 -0
  200. package/dist/types/api/queryKeys.d.ts +2 -1
  201. package/dist/types/components/BankAccount/forms/PayoutDetails/PayoutDetails.d.ts +1 -0
  202. package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/payoutVerificationMethodMetadata.d.ts +3 -3
  203. package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/payoutDetailsFormConfig.d.ts +0 -9
  204. package/dist/types/components/Business/forms/BasicInformation/BasicInformationMultiform.d.ts +0 -1
  205. package/dist/types/components/Business/forms/BusinessDetails/forms.d.ts +6 -0
  206. package/dist/types/components/Business/forms/rules.d.ts +1 -3
  207. package/dist/types/components/Business/tasks/BusinessDetailsDropin/utils.d.ts +1 -2
  208. package/dist/types/components/Business/tasks/BusinessDetailsMultiformDropin/BusinessDetailsMultiform.d.ts +1 -1
  209. package/dist/types/components/Contract/tasks/ServiceAgreementDropin/ServiceAgreementDropin.d.ts +1 -1
  210. package/dist/types/components/Contract/tasks/ServiceAgreementDropin/types.d.ts +1 -0
  211. package/dist/types/components/EFP/tasks/SourceOfFundsDropin/utils.d.ts +0 -1
  212. package/dist/types/components/EmbeddedDropins/AcceptTermsOfServiceComponent/AcceptTermsOfServiceComponent.d.ts +4 -3
  213. package/dist/types/components/Individual/forms/Individual/Individual.d.ts +4 -0
  214. package/dist/types/components/Individual/forms/Individual/ProofOfRelationship/types.d.ts +0 -5
  215. package/dist/types/components/Shared/fields/IdFieldTypeSelector/countryIdNumberTypes.d.ts +1 -1
  216. package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
  217. package/dist/types/components/Trust/forms/Trust/Trust.d.ts +1 -0
  218. package/dist/types/components/Trust/forms/TrustRegistrationDetails/types.d.ts +1 -2
  219. package/dist/types/components/Trust/tasks/TrustMembers/TrustMembersOverview.d.ts +2 -1
  220. package/dist/types/components/UnincorporatedPartnership/pages/UnincorporatedPartnershipMemberCompanyPage.d.ts +2 -1
  221. package/dist/types/components/ui/atoms/ActionsMenu/ActionsMenu.d.ts +2 -1
  222. package/dist/types/components/ui/atoms/Button/Button.types.d.ts +3 -3
  223. package/dist/types/components/ui/atoms/ListItem/ListItem.d.ts +2 -1
  224. package/dist/types/components/ui/atoms/RadioGroupCard/RadioGroupCard.types.d.ts +0 -14
  225. package/dist/types/components/ui/atoms/RadioWithLabel/RadioWithLabel.d.ts +2 -1
  226. package/dist/types/components/ui/atoms/SelectList/SelectList.d.ts +1 -0
  227. package/dist/types/components/ui/atoms/StepProgressIndicator/StepProgressIndicator.d.ts +2 -1
  228. package/dist/types/components/ui/atoms/StructuredList/StructuredList.d.ts +2 -1
  229. package/dist/types/components/ui/atoms/Svg/svgs.d.ts +0 -12
  230. package/dist/types/components/ui/atoms/TaskStatusIndicator/TaskStatusIndicator.d.ts +3 -2
  231. package/dist/types/components/ui/layout/LandingLayout/LandingLayout.d.ts +1 -1
  232. package/dist/types/components/ui/layout/StackLayout/StackLayout.d.ts +2 -1
  233. package/dist/types/components/ui/molecules/InputCurrency/InputCurrency.d.ts +2 -1
  234. package/dist/types/components/ui/molecules/InputEmail/InputEmail.d.ts +2 -1
  235. package/dist/types/components/ui/molecules/InputGroup/InputGroup.d.ts +2 -1
  236. package/dist/types/components/ui/molecules/InputTelephone/InputTelephone.d.ts +2 -1
  237. package/dist/types/components/ui/molecules/InputText/InputText.d.ts +2 -0
  238. package/dist/types/components/ui/molecules/MaskedInput/MaskedInput.d.ts +0 -1
  239. package/dist/types/components/ui/molecules/Tabs/Tabs.d.ts +1 -1
  240. package/dist/types/context/StateContext/types.d.ts +1 -1
  241. package/dist/types/core/models/api/accountIdentification.d.ts +5 -4
  242. package/dist/types/core/models/api/contracts.d.ts +1 -1
  243. package/dist/types/core/process-field-configurations.d.ts +14 -3
  244. package/dist/types/embeds/business-financing/AdyenBusinessFinancing.d.ts +1 -1
  245. package/dist/types/embeds/business-financing/adyen-business-financing.types.d.ts +1 -5
  246. package/dist/types/embeds/emitEvent.d.ts +14 -0
  247. package/dist/types/embeds/individual/adyen-individual.types.d.ts +2 -2
  248. package/dist/types/embeds/manage-individual/AdyenManageIndividual.d.ts +1 -1
  249. package/dist/types/embeds/manage-individual/adyen-manage-individual.types.d.ts +1 -1
  250. package/dist/types/embeds/manage-terms-of-service/AdyenManageTermsOfService.d.ts +1 -1
  251. package/dist/types/embeds/manage-terms-of-service/adyen-manage-terms-of-service.types.d.ts +1 -1
  252. package/dist/types/embeds/manage-transfer-instruments/AdyenManageTransferInstrument.d.ts +3 -4
  253. package/dist/types/embeds/manage-transfer-instruments/adyen-manage-transfer-instruments.types.d.ts +3 -4
  254. package/dist/types/embeds/terms-of-service/adyen-terms-of-service.types.d.ts +4 -3
  255. package/dist/types/embeds/transfer-instrument/adyen-transfer-instrument.types.d.ts +2 -2
  256. package/dist/types/embeds/verification-status/adyen-verification-status.types.d.ts +3 -3
  257. package/dist/types/hooks/introduction/useIntroductionScreens.d.ts +2 -1
  258. package/dist/types/hooks/introduction/useShouldShowIntroduction.d.ts +2 -1
  259. package/dist/types/language/utils.d.ts +1 -1
  260. package/dist/types/utils/addLinkedFields.d.ts +7 -1
  261. package/dist/types/utils/entityStatusUtil.d.ts +1 -1
  262. package/dist/types/utils/formUtils.d.ts +1 -1
  263. package/dist/types/utils/getDisplayErrorMessage.d.ts +1 -1
  264. package/dist/types/utils/getName.d.ts +1 -1
  265. package/dist/types/utils/makeSelectItemForRole.d.ts +1 -1
  266. package/dist/types/utils/masking/masks/businessRegistrationNumberMasks.d.ts +5 -0
  267. package/dist/types/utils/translation.d.ts +6 -0
  268. package/dist/types-CAznNNSI.js +160 -0
  269. package/dist/types-D1xSH_ap.js +74 -0
  270. package/dist/types-czQuzOK4.js +64 -0
  271. package/dist/useAssociatedLegalEntity-zrvFkm6w.js +33 -0
  272. package/dist/useDataset-UxGyu2Za.js +120 -0
  273. package/dist/useForm-Dah8AZ3S.js +1694 -0
  274. package/dist/useFormContext-beqGS11A.js +23 -0
  275. package/dist/useGlobalData-C9KOnjRc.js +205 -0
  276. package/dist/{useMultiForm-D12QQ8Fr.js → useMultiForm-4axf9sa3.js} +4 -2
  277. package/dist/{useOnboardingStatus-C77iTj4t.js → useOnboardingStatus-B-G3ygsd.js} +2 -2
  278. package/dist/useScenarios-Bs-K4CKb.js +46 -0
  279. package/dist/{useTermsOfServiceStatus-ClHR-D8J.js → useTermsOfServiceStatus-BsBOTabo.js} +2 -2
  280. package/dist/useToastContext-BA6TVroR.js +51 -0
  281. package/dist/useUnincorporatedPartnershipMembers-DHPQPPps.js +99 -0
  282. package/dist/utils-7TgDVOvi.js +29 -0
  283. package/dist/{utils-7HIGSast.js → utils-C_6T21UY.js} +46 -4
  284. package/dist/utils-DNSfZiio.js +70 -0
  285. package/dist/utils-DxPqN-F5.js +159 -0
  286. package/dist/{validate-Cyc-okDY.js → validate-BCgpU6PK.js} +2 -2
  287. package/dist/validate-CD3D7QeQ.js +382 -0
  288. package/dist/validate-nbcWPtZJ.js +605 -0
  289. package/dist/validationError-CInDfoP_.js +86 -0
  290. package/package.json +44 -45
  291. package/dist/BusinessDetailsDropin-Dnze2MWp.js +0 -2136
  292. package/dist/BusinessFinancingComponent-BWGtnZ2l.js +0 -38
  293. package/dist/BusinessFinancingPage-00BXk692.js +0 -35
  294. package/dist/CreateIndividualComponent-JqyPXwi_.js +0 -64
  295. package/dist/CreateTransferInstrumentComponent-D7dPoBCI.js +0 -55
  296. package/dist/LegalRepresentativeDetailsPage-BzKsuqNS.js +0 -55
  297. package/dist/ManageIndividualComponent-BpE7jV1g.js +0 -42
  298. package/dist/ManageTermsOfServiceComponent-D2KTbyRY.js +0 -40
  299. package/dist/RootIndividualDetailsPage-DF6aSCDc.js +0 -71
  300. package/dist/SoleProprietorshipPage-Czj2qS1n.js +0 -44
  301. package/dist/StoreProvider-phu7r9_0.js +0 -31920
  302. package/dist/TrustMemberCompanyPage-DBmq70wc.js +0 -54
  303. package/dist/TrustMemberIndividualPage-QCSz7dt3.js +0 -60
  304. package/dist/UnincorporatedPartnershipIndividualPage-Ctks0l_r.js +0 -60
  305. package/dist/UnincorporatedPartnershipMemberCompanyPage-DP_iAiCM.js +0 -57
  306. package/dist/VerificationErrorAlert-CnWfh-Mq.js +0 -77
  307. package/dist/bg-BG-BvSUDgGF.js +0 -13
  308. package/dist/cs-CZ-y4mvq4Lv.js +0 -13
  309. package/dist/da-DK-qgQOVjDp.js +0 -13
  310. package/dist/de-DE-pSdsxBpQ.js +0 -13
  311. package/dist/el-GR-Bvjk5Sw8.js +0 -13
  312. package/dist/en-US-Bq2Twy6x.js +0 -54
  313. package/dist/es-ES-Dy1uR2H_.js +0 -13
  314. package/dist/et-EE-d9V24rcf.js +0 -13
  315. package/dist/fi-FI-B0fnAFV2.js +0 -13
  316. package/dist/fr-FR-BoKzVp2q.js +0 -13
  317. package/dist/getFieldsWithExistingData-Br7bX6SQ.js +0 -22
  318. package/dist/hr-HR-CF0AHQzi.js +0 -13
  319. package/dist/hu-HU-CSPhOvLC.js +0 -13
  320. package/dist/it-IT-BH-eqIKH.js +0 -13
  321. package/dist/ja-JP-B3yqM_FM.js +0 -13
  322. package/dist/lt-LT-Lzl_Cbw-.js +0 -13
  323. package/dist/lv-LV-y00wN1pj.js +0 -13
  324. package/dist/mapFinancialReportsToFinancialInformation-BDTfiDYF.js +0 -66
  325. package/dist/mapScriptLocalization-H2Re3k5X.js +0 -35
  326. package/dist/nl-NL-DmnFXAQC.js +0 -13
  327. package/dist/no-NO-DbvFfP96.js +0 -13
  328. package/dist/pl-PL--mmxopYA.js +0 -13
  329. package/dist/pt-PT-BVzXBFp7.js +0 -13
  330. package/dist/ro-RO-Cdmevo9A.js +0 -13
  331. package/dist/ru-RU-FZb2upqh.js +0 -13
  332. package/dist/sk-SK-nfeuTcY5.js +0 -13
  333. package/dist/sl-SI-DUTZDqkP.js +0 -13
  334. package/dist/sv-SE-BTx2XKAp.js +0 -13
  335. package/dist/useUpdateLegalEntity-J-L5lHm7.js +0 -57
  336. package/dist/validate-B_03afGP.js +0 -40
  337. package/dist/zh-CN-wUb4MmTZ.js +0 -13
  338. package/dist/zh-TW-DNTXHLKa.js +0 -13
@@ -2,15 +2,19 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "1a72d592-d254-4f4e-b632-3929a54a8831", e._sentryDebugIdIdentifier = "sentry-dbid-1a72d592-d254-4f4e-b632-3929a54a8831");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "43585b7b-ec66-4d7e-9802-0933f2d5f26a", e._sentryDebugIdIdentifier = "sentry-dbid-43585b7b-ec66-4d7e-9802-0933f2d5f26a");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
10
  import { jsx, jsxs } from "preact/jsx-runtime";
11
11
  import { useState } from "preact/hooks";
12
- import { a as useApiContext, bo as useMutation, t as httpPost, c as useTranslation, a9 as useToastContext, a6 as LoaderWrapper, F as FormHeader, bu as Checkbox, aT as ActionBar } from "./StoreProvider-phu7r9_0.js";
13
- import { D as DropinLayout } from "./OnboardingDropinComponent-USEEyykb.js";
12
+ import { b as useApiContext, aA as useMutation, k as httpPost, a as useTranslation } from "./StoreProvider-B_tFiIdr.js";
13
+ import { L as LoaderWrapper, C as Checkbox } from "./useForm-Dah8AZ3S.js";
14
+ import { F as FormHeader } from "./CountryField-B2dh1VXh.js";
15
+ import { u as useToastContext } from "./useToastContext-BA6TVroR.js";
16
+ import { A as ActionBar } from "./FormNavigation-UiyNK4Uw.js";
17
+ import { D as DropinLayout } from "./OnboardingDropinComponent-BYFTAjkC.js";
14
18
  const confirmReview = async (legalEntityId, baseUrl) => {
15
19
  return httpPost({
16
20
  baseUrl,
@@ -27,7 +31,7 @@ const useConfirmReview = (options) => {
27
31
  });
28
32
  };
29
33
  function Review({ handleHomeClick }) {
30
- const { t } = useTranslation();
34
+ const { t } = useTranslation("common");
31
35
  const [loadingStatus, setLoadingStatus] = useState();
32
36
  const { showToast } = useToastContext();
33
37
  const [hasConfirmed, setHasConfirmed] = useState(false);
@@ -2,19 +2,41 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "306fa160-e38c-4ded-bb93-819bb8b5f61a", e._sentryDebugIdIdentifier = "sentry-dbid-306fa160-e38c-4ded-bb93-819bb8b5f61a");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "93d4adcc-8fba-450f-b9de-bbaa60a0554d", e._sentryDebugIdIdentifier = "sentry-dbid-93d4adcc-8fba-450f-b9de-bbaa60a0554d");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
+ import { a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper } from "./translation-CPyYrNAr.js";
10
11
  import { jsxs, jsx } from "preact/jsx-runtime";
11
- import { c as useTranslation, bM as useFormContext, aa as useExperimentsContext, dW as verifiedBusiness, bN as getAddressSchemaForCountry, bO as COUNTRIES_WITH_STATES_DATASET, dX as useDebouncedState, dY as useAddressCleanse, dZ as formatAddressForCleanse, d_ as mapAddressData, d$ as operationalAddressIsSameIds, av as mergeFieldMetadataIntoProps, e0 as legalFormFieldMetadata, e1 as stockTickerSymbolFieldMetadata, e2 as stockISINFieldMetadata, e3 as stockExchangeMICFieldMetadata, e4 as dateOfIncorporationFieldMetadata, e5 as eInvoicingCodeFieldMetadata, e6 as vatAbsenceReasonMetadata, aw as resolveFieldMetadata, e7 as defaultFieldMetadata, e8 as defaultFieldConfig, cd as taxInformationDefaultFieldMetadata, ce as taxInformationDefaultFieldConfig, e9 as registrationNumberDefaultFieldMetadata, ea as registrationNumberDefaultFieldConfig, eb as doingBusinessAsFieldMetadata, ec as doingBusinessAsAbsentFieldMetadata, aD as createFormUtils, bd as datasetUtilities, F as FormHeader, aC as ErrorPanel, N as Typography, ed as VerifiedBusinessCard, ee as LEGAL_FORM_FIELDS, bE as LegalFormField, ef as DBA_NAME_FIELD, eg as DBANameField, eh as BUSINESS_REGISTRATION_NUMBER_FIELD, ei as BusinessRegistrationNumberField, ej as TAX_INFORMATION_FIELD, da as TaxInformationField, ek as VAT_NUMBER_FIELD, el as VatNumberField, em as EInvoicingCodeField, en as EINVOICING_CODE_FIELD, eo as DATE_OF_INCORPORATION_FIELD, ep as DateOfIncorporationField, eq as STOCK_EXCHANGE_MIC_FIELD, er as StockExchangeMICField, es as STOCK_ISIN_FIELD, et as StockISINField, eu as STOCK_TICKER_SYMBOL_FIELD, ev as StockTickerSymbolField, bP as Address, ew as getNestedTrustedFields, bQ as getAddressSchemaLabelsByCountry, ex as ADDITIONAL_INFORMATION_FORM_ID, aE as Field, bu as Checkbox, Y as CompanyTypesValues, v as useSettingsContext, b as useAllowedCountries, w as SettingNames, ey as localizedLegalCompanyNameFieldConfig, ez as defaultFieldMetadata$1, eA as defaultFieldConfig$1, eB as defaultFieldMetadataV4, ax as defaultFieldMetadata$2, eC as defaultFieldConfigV4, ay as defaultFieldConfig$2, eD as useLegalCompanyNameField, aK as CountryField, aL as COUNTRY_FIELD, eE as COUNTRY_OF_GOVERNING_LAW_FIELD, eF as CountryOfGoverningLawField, bG as InputText, eG as STATE_FIELD, eH as StateField, bF as Link, aN as LEGAL_COMPANY_NAME_FIELD, X as useAccountHolder, eI as isBankAccountRequestedForOrganization, eJ as companyTypeOptions, eK as useCompanyTypeExamples, dT as EntityTypeRadioGroupCard, eL as companyTypeMetadata, u as useI18nContext, $ as TaskTypes, eM as FinancialInformation, eN as MemoizedConstitutionalDocument, O as LegalEntityTypes, dz as MemoizedDocumentUpload, eO as BusinessSelectionMultiform, eP as COUNTRIES_USING_COMPANY_SEARCH, aQ as summaryStep, bT as addValidityToForms, eQ as exemptFromRegistrationNumberDefaultFieldMetadata, eR as CountryOfGoverningLawFieldValidation, eS as CountryFieldValidation, a as useApiContext, a3 as useAnalyticsContext, a9 as useToastContext, bq as useQueryClient, eT as getForms, cs as documentApiUtils, cG as composePerScenarioFormConfigurations, cA as useScenarioConfiguration, eU as financialInfoValidationWithEmployeesRules, eV as CompanyStructureValidation, eW as tinMatched, eX as rules, cB as getPropsFromConfigurations, bR as getAssociatedLeAnalyticsPayload, bV as trackNavigation, bU as useFormComposer, eY as useCompanySearch, eZ as useVerifyTin, e_ as businessMismatchModalOpen, bh as Confirm, e$ as businessDetailsDocumentMapping, f0 as businessDetailsApiKeyMapping, d as useLegalEntity, R as ROOT_LE, af as useCapabilityProblems, L as Loader, P as isPartOfTrustFromLegalEntity, b6 as getProblemsForEntity, Z as EntityTypes, g as getLegalEntityCountry } from "./StoreProvider-phu7r9_0.js";
12
- import { P as ProofOfOwnershipDocument, a as ProofOfSignatoryDocument, b as ProofOfDirectorDocument, R as RegistrationDocument, T as TaxDocument, m as mapApiDocumentToBusinessDetailsDocuments, c as mapLegalEntityToBusinessDetailsSchema, f as formatDataForSummary, s as submit, d as businessDetailsFieldsPerScenario, B as BusinessDetailsDropin } from "./BusinessDetailsDropin-Dnze2MWp.js";
12
+ import { a as useTranslation, X as useExperimentsContext, x as Typography, m as useSettingsContext, u as useI18nContext, M as TaskTypes, y as LegalEntityTypes, b as useApiContext, U as useAnalyticsContext, aC as useQueryClient, bD as businessDetailsDocumentMapping, bu as businessDetailsApiKeyMapping, c as useLegalEntity, R as ROOT_LE, L as Loader, z as isPartOfTrustFromLegalEntity, J as EntityTypes, g as getLegalEntityCountry } from "./StoreProvider-B_tFiIdr.js";
13
+ import { r as resolveFieldMetadata, a as useAccountHolder, b as useCapabilityProblems, g as getProblemsForEntity } from "./fieldConfigurations-Yf8yD64w.js";
14
+ import { v as verifiedBusiness, u as useDebouncedState, l as legalFormFieldMetadata, s as stockTickerSymbolFieldMetadata, a as stockISINFieldMetadata, b as stockExchangeMICFieldMetadata, d as dateOfIncorporationFieldMetadata, e as eInvoicingCodeFieldMetadata, V as VerifiedBusinessCard, L as LEGAL_FORM_FIELDS, E as EInvoicingCodeField, c as EINVOICING_CODE_FIELD, D as DATE_OF_INCORPORATION_FIELD, f as DateOfIncorporationField, S as STOCK_EXCHANGE_MIC_FIELD, g as StockExchangeMICField, h as STOCK_ISIN_FIELD, i as StockISINField, j as STOCK_TICKER_SYMBOL_FIELD, k as StockTickerSymbolField, A as ADDITIONAL_INFORMATION_FORM_ID, m as localizedLegalCompanyNameFieldConfig, n as defaultFieldMetadata$1, o as defaultFieldConfig$1, p as useLegalCompanyNameField, C as COUNTRY_OF_GOVERNING_LAW_FIELD, q as CountryOfGoverningLawField, r as isBankAccountRequestedForOrganization, t as companyTypeOptions, w as useCompanyTypeExamples, x as companyTypeMetadata, F as FinancialInformation, P as ProofOfOwnershipDocument, y as ProofOfSignatoryDocument, z as ProofOfDirectorDocument, R as RegistrationDocument, T as TaxDocument, B as BusinessSelectionMultiform, G as CountryOfGoverningLawFieldValidation, H as CountryFieldValidation, I as getForms, J as mapApiDocumentToBusinessDetailsDocuments, K as mapLegalEntityToBusinessDetailsSchema, M as financialInfoValidationWithEmployeesRules, N as CompanyStructureValidation, O as tinMatched, Q as businessMismatchModalOpen, U as formatDataForSummary, W as submit, X as useCompanySearch, Y as useVerifyTin, Z as businessDetailsFieldsPerScenario, _ as BusinessDetailsDropin } from "./BusinessDetailsDropin-BGsHimRA.js";
13
15
  import { useEffect, useMemo, useCallback, useState } from "preact/hooks";
14
- import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-J-L5lHm7.js";
15
- import { F as FormContextProvider, a as FormFlow } from "./FormFlow-BQK-SrGL.js";
16
- import { u as useMultiForm } from "./useMultiForm-D12QQ8Fr.js";
17
- import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-Br7bX6SQ.js";
16
+ import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./RadioGroup-DwMTx-4B.js";
17
+ import { F as FormContextProvider, a as FormFlow } from "./FormFlow-Df3CEE-c.js";
18
+ import { u as useToastContext } from "./useToastContext-BA6TVroR.js";
19
+ import { g as getAssociatedLeAnalyticsPayload } from "./analytics-D2q0iFsS.js";
20
+ import { d as documentApiUtils, e as composePerScenarioFormConfigurations, b as getPropsFromConfigurations } from "./validate-nbcWPtZJ.js";
21
+ import { a as addValidityToForms, t as trackNavigation, u as useFormComposer } from "./dropinUtils-Bs4XZJuG.js";
22
+ import { u as useMultiForm } from "./useMultiForm-4axf9sa3.js";
23
+ import { b as useScenarioConfiguration } from "./mapExistingFile-BphSM_zL.js";
24
+ import { C as Confirm } from "./Confirm-Dj-igSqL.js";
25
+ import { t as taxInformationDefaultFieldMetadata, b as taxInformationDefaultFieldConfig, c as TAX_INFORMATION_FIELD, T as TaxInformationField, M as MemoizedDocumentUpload, C as COUNTRIES_USING_COMPANY_SEARCH, r as rules, g as getFieldsWithExistingData } from "./TaxInformationField-qCHTQShR.js";
26
+ import { u as useFormContext } from "./useFormContext-beqGS11A.js";
27
+ import { C as CompanyTypesValues } from "./bafinUtils-BmLu7dPk.js";
28
+ import { v as vatAbsenceReasonMetadata, d as defaultFieldMetadata, a as defaultFieldConfig, r as registrationNumberDefaultFieldMetadata, b as registrationNumberDefaultFieldConfig, c as doingBusinessAsFieldMetadata, e as doingBusinessAsAbsentFieldMetadata, D as DBA_NAME_FIELD, f as DBANameField, B as BUSINESS_REGISTRATION_NUMBER_FIELD, g as BusinessRegistrationNumberField, V as VAT_NUMBER_FIELD, h as VatNumberField, M as MemoizedConstitutionalDocument, i as exemptFromRegistrationNumberDefaultFieldMetadata } from "./RegistrationAddress-CcHFAuWw.js";
29
+ import { c as useAddressCleanse, f as formatAddressForCleanse, m as mapAddressData, o as operationalAddressIsSameIds, A as Address, g as getNestedTrustedFields, S as STATE_FIELD, d as StateField } from "./Address-DrcGzzbw.js";
30
+ import { F as Field, C as Checkbox } from "./useForm-Dah8AZ3S.js";
31
+ import { m as mergeFieldMetadataIntoProps, c as createFormUtils, F as FormHeader, E as ErrorPanel, C as CountryField, a as COUNTRY_FIELD, d as summaryStep } from "./CountryField-B2dh1VXh.js";
32
+ import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, a as getAddressSchemaLabelsByCountry } from "./utils-DxPqN-F5.js";
33
+ import { a as datasetUtilities } from "./useDataset-UxGyu2Za.js";
34
+ import { L as LegalFormField } from "./Currency-BAGjlBuR.js";
35
+ import { L as Link } from "./Link-Dc3z0YyP.js";
36
+ import { S as SettingNames, I as InputText } from "./InputText-Ds8RrvJq.js";
37
+ import { u as useAllowedCountries } from "./mapScriptLocalization-BgHu6D6K.js";
38
+ import { g as defaultFieldMetadataV4, h as defaultFieldMetadata$2, j as defaultFieldConfigV4, k as defaultFieldConfig$2, L as LEGAL_COMPANY_NAME_FIELD } from "./OnboardingDropinComponent-BYFTAjkC.js";
39
+ import { E as EntityTypeRadioGroupCard } from "./utils-C_6T21UY.js";
18
40
  function AdditionalInformationMultiform({
19
41
  id,
20
42
  country,
@@ -25,7 +47,8 @@ function AdditionalInformationMultiform({
25
47
  validationErrors = {},
26
48
  verificationErrors = {}
27
49
  }) {
28
- const { t, i18n } = useTranslation(["business", "common"]);
50
+ const { t, i18n } = useTranslation("business");
51
+ const { t: commonT } = useTranslation("common");
29
52
  const { form } = useFormContext();
30
53
  const { isExperimentEnabled } = useExperimentsContext();
31
54
  const verifiedBusiness$1 = verifiedBusiness.value;
@@ -189,7 +212,7 @@ function AdditionalInformationMultiform({
189
212
  return acc;
190
213
  }
191
214
  }, initialProps);
192
- return createFormUtils(formUtilProps ?? initialProps, i18n.t);
215
+ return createFormUtils(formUtilProps ?? initialProps, commonT);
193
216
  }, [
194
217
  companyType,
195
218
  country,
@@ -203,7 +226,7 @@ function AdditionalInformationMultiform({
203
226
  form.trustedFields?.additionalInformation,
204
227
  form.valid?.additionalInformation,
205
228
  handleChangeFor,
206
- i18n.t,
229
+ commonT,
207
230
  isExperimentEnabled,
208
231
  validationErrors,
209
232
  verificationErrors
@@ -224,8 +247,8 @@ function AdditionalInformationMultiform({
224
247
  /* @__PURE__ */ jsx(
225
248
  FormHeader,
226
249
  {
227
- heading: t(($) => $[heading], { ns: "common" }),
228
- description: description ? t(($) => $[description], { ns: "common" }) : void 0
250
+ heading: commonT(($) => $[heading]),
251
+ description: description ? commonT(($) => $[description]) : void 0
229
252
  }
230
253
  ),
231
254
  /* @__PURE__ */ jsx(
@@ -615,7 +638,7 @@ function AdditionalInformationMultiform({
615
638
  ...COUNTRY_OF_GOVERNING_LAW_FIELD
616
639
  ];
617
640
  const FormDescription = ({ description }) => {
618
- const { t } = useTranslation();
641
+ const { t } = useTranslation("common");
619
642
  return /* @__PURE__ */ jsxs("div", { className: "adyen-kyc-form-header__description", children: [
620
643
  t(($) => $[description]),
621
644
  " ",
@@ -633,7 +656,7 @@ function BasicInformationMultiform({
633
656
  disableCountry = false,
634
657
  isTopLevelEntity = true
635
658
  }) {
636
- const { t } = useTranslation();
659
+ const { t } = useTranslation("common");
637
660
  const { isSettingEnabled } = useSettingsContext();
638
661
  const { isExperimentEnabled } = useExperimentsContext();
639
662
  const { form } = useFormContext();
@@ -965,7 +988,7 @@ function CompanyStructureMultiform({
965
988
  validationErrors = {},
966
989
  verificationErrors = {}
967
990
  }) {
968
- const { t } = useTranslation();
991
+ const { t } = useTranslation("common");
969
992
  const { form } = useFormContext();
970
993
  const { accountHolder } = useAccountHolder();
971
994
  const { isSettingEnabled } = useSettingsContext();
@@ -1295,7 +1318,7 @@ function buildRequiredForms({
1295
1318
  return false;
1296
1319
  }
1297
1320
  if (requiredFields || optionalFields) {
1298
- return Boolean(requiredFields?.[formId]) || Boolean(optionalFields?.[formId]) || usesBusinessSelection && formId === "businessSelection";
1321
+ return Boolean(requiredFields?.[formId]) || Boolean(optionalFields?.[formId]);
1299
1322
  }
1300
1323
  return true;
1301
1324
  });
@@ -1518,22 +1541,20 @@ function BusinessDetailsMultiformDropin({
1518
1541
  ]
1519
1542
  );
1520
1543
  useEffect(() => {
1521
- const props = getPropsFromConfigurations(
1522
- fieldConfigurations,
1523
- defaultForms,
1524
- problems?.remediationActions ? Object.values(problems?.remediationActions) : [],
1525
- problems?.missingData ?? [],
1526
- getFieldsWithExistingData(
1544
+ const props = getPropsFromConfigurations({
1545
+ scenarioConfiguration: fieldConfigurations,
1546
+ forms: defaultForms,
1547
+ remediationActions: problems?.remediationActions ? Object.values(problems?.remediationActions) : [],
1548
+ dataMissingErrors: problems?.missingData ?? [],
1549
+ fieldsWithExistingData: getFieldsWithExistingData(
1527
1550
  legalEntityResponse,
1528
1551
  businessDetailsApiKeyMapping,
1529
1552
  businessDetailsDocumentMapping
1530
1553
  ),
1531
1554
  customRules,
1532
- {},
1533
- {},
1534
- legalEntityResponse?.type,
1535
- trustedFields
1536
- );
1555
+ legalEntityType: legalEntityResponse?.type,
1556
+ legalEntityTrustedFields: trustedFields
1557
+ });
1537
1558
  setDerivedProps(props);
1538
1559
  }, [
1539
1560
  customRules,
@@ -1549,6 +1570,9 @@ function BusinessDetailsMultiformDropin({
1549
1570
  setCountry(multiForm.data?.basicInformation?.country);
1550
1571
  setPrevCountry(multiForm.data.basicInformation?.country);
1551
1572
  setTrustedFields(void 0);
1573
+ verifiedBusiness.value = void 0;
1574
+ tinMatched.value = void 0;
1575
+ businessMismatchModalOpen.value = false;
1552
1576
  }
1553
1577
  const [forms, setForms] = useState(
1554
1578
  buildRequiredForms({
@@ -1559,14 +1583,15 @@ function BusinessDetailsMultiformDropin({
1559
1583
  optionalFields: derivedProps?.optionalFields,
1560
1584
  isValid: multiForm.isValid ?? {},
1561
1585
  problems
1586
+ },
1587
+ options: {
1588
+ hasNoSearchResults: false,
1589
+ verifiedBusiness: verifiedBusiness.value
1562
1590
  }
1563
1591
  })
1564
1592
  );
1565
1593
  const updateForms = useCallback(
1566
- ({
1567
- searchResults,
1568
- verifiedBusiness: verifiedBusiness2
1569
- }) => {
1594
+ ({ searchResults }) => {
1570
1595
  const updatedForms = buildRequiredForms({
1571
1596
  config: {
1572
1597
  country,
@@ -1578,7 +1603,7 @@ function BusinessDetailsMultiformDropin({
1578
1603
  },
1579
1604
  options: {
1580
1605
  hasNoSearchResults: searchResults && !searchResults.length,
1581
- verifiedBusiness: verifiedBusiness2
1606
+ verifiedBusiness: verifiedBusiness.value
1582
1607
  }
1583
1608
  });
1584
1609
  setForms(updatedForms);
@@ -1594,14 +1619,8 @@ function BusinessDetailsMultiformDropin({
1594
1619
  ]
1595
1620
  );
1596
1621
  const summaryData = useMemo(
1597
- () => formatDataForSummary(
1598
- multiForm.data,
1599
- forms,
1600
- derivedProps?.labels,
1601
- i18n,
1602
- isExperimentEnabled
1603
- ),
1604
- [derivedProps?.labels, multiForm.data, forms, i18n, isExperimentEnabled]
1622
+ () => formatDataForSummary(multiForm.data, forms, i18n, isExperimentEnabled),
1623
+ [multiForm.data, forms, i18n, isExperimentEnabled]
1605
1624
  );
1606
1625
  const associatedLeTrackingParams = useMemo(
1607
1626
  () => getAssociatedLeAnalyticsPayload({
@@ -1737,8 +1756,7 @@ function BusinessDetailsMultiformDropin({
1737
1756
  }
1738
1757
  case "businessSelection": {
1739
1758
  const currentForms = updateForms({
1740
- searchResults: companySearchResponse?.results,
1741
- verifiedBusiness: verifiedBusiness.value
1759
+ searchResults: companySearchResponse?.results
1742
1760
  });
1743
1761
  return handleNextClick(currentForms);
1744
1762
  }
@@ -1748,8 +1766,7 @@ function BusinessDetailsMultiformDropin({
1748
1766
  };
1749
1767
  useEffect(() => {
1750
1768
  updateForms({
1751
- searchResults: companySearchResponse?.results,
1752
- verifiedBusiness: verifiedBusiness.value
1769
+ searchResults: companySearchResponse?.results
1753
1770
  });
1754
1771
  }, [updateForms, companySearchResponse?.results]);
1755
1772
  return /* @__PURE__ */ jsx(FormContextProvider, { form: multiForm, children: /* @__PURE__ */ jsxs(
@@ -1809,10 +1826,14 @@ const RootBusinessDetailsPage = ({
1809
1826
  onSubmit,
1810
1827
  handleHomeClick
1811
1828
  }) => {
1829
+ const { i18n } = useTranslation();
1812
1830
  const { accountHolder } = useAccountHolder();
1813
1831
  const { data: rootLe } = useLegalEntity(ROOT_LE);
1814
1832
  const capabilityProblems = useCapabilityProblems();
1815
1833
  const { isExperimentEnabled } = useExperimentsContext();
1834
+ addResourceBundles(i18n, i18n.language, [
1835
+ { ns: "business", importFn: () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../language/bg-BG.json": () => import("./bg-BG-9uVrFuHv.js"), "../language/cs-CZ.json": () => import("./cs-CZ-Wzc382q6.js"), "../language/da-DK.json": () => import("./da-DK-CeNMXUfE.js"), "../language/de-DE.json": () => import("./de-DE-JI-7mvxy.js"), "../language/el-GR.json": () => import("./el-GR-DfNOPkLq.js"), "../language/en-US.json": () => import("./en-US-DHq7VYFs.js"), "../language/es-ES.json": () => import("./es-ES-DOVPTeyf.js"), "../language/et-EE.json": () => import("./et-EE-BJIsPOnh.js"), "../language/fi-FI.json": () => import("./fi-FI-D522KHGk.js"), "../language/fr-FR.json": () => import("./fr-FR-DInQKkTd.js"), "../language/hr-HR.json": () => import("./hr-HR-DzS44Gpv.js"), "../language/hu-HU.json": () => import("./hu-HU-xCvNM5TU.js"), "../language/it-IT.json": () => import("./it-IT-CjEYONJg.js"), "../language/ja-JP.json": () => import("./ja-JP-BUz3qN-V.js"), "../language/lt-LT.json": () => import("./lt-LT-B6CJ4ULI.js"), "../language/lv-LV.json": () => import("./lv-LV-DTtuyfHS.js"), "../language/nl-NL.json": () => import("./nl-NL-Zcq0bXd-.js"), "../language/no-NO.json": () => import("./no-NO-BxReX6oF.js"), "../language/pl-PL.json": () => import("./pl-PL-T6uD5--R.js"), "../language/pt-PT.json": () => import("./pt-PT-N0njcfLO.js"), "../language/ro-RO.json": () => import("./ro-RO-Ic1SzBgx.js"), "../language/sk-SK.json": () => import("./sk-SK-CiD0FeLN.js"), "../language/sl-SI.json": () => import("./sl-SI-MZoDApq9.js"), "../language/sv-SE.json": () => import("./sv-SE-DCFSf4Oj.js") }), `../language/${i18n.language}.json`, 3) }
1836
+ ]);
1816
1837
  if (!rootLe) {
1817
1838
  return /* @__PURE__ */ jsx(Loader, {});
1818
1839
  }
@@ -0,0 +1,77 @@
1
+ ;
2
+ {
3
+ try {
4
+ let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "54116e8e-86db-4bbe-856e-77781cde5632", e._sentryDebugIdIdentifier = "sentry-dbid-54116e8e-86db-4bbe-856e-77781cde5632");
6
+ } catch (e) {
7
+ }
8
+ }
9
+ ;
10
+ import { a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper } from "./translation-CPyYrNAr.js";
11
+ import { jsx } from "preact/jsx-runtime";
12
+ import { c as useLegalEntity, R as ROOT_LE, X as useExperimentsContext, a as useTranslation, L as Loader, g as getLegalEntityCountry, z as isPartOfTrustFromLegalEntity, J as EntityTypes, ag as isOnfidoAutofillFlowEnabled, W as noop, M as TaskTypes } from "./StoreProvider-B_tFiIdr.js";
13
+ import { b as useCapabilityProblems, a as useAccountHolder, g as getProblemsForEntity } from "./fieldConfigurations-Yf8yD64w.js";
14
+ import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-CJLptmj_.js";
15
+ function RootIndividualDetailsPage({
16
+ asModal = false,
17
+ hideSidebar = false,
18
+ isTargetLegalEntityType = false,
19
+ onSubmit,
20
+ trustedFields,
21
+ trustedFieldsProvider,
22
+ /** below from {@link DropinProps} */
23
+ handleBackClick,
24
+ handleCloseClick,
25
+ handleHomeClick = noop
26
+ }) {
27
+ const { data: rootLe } = useLegalEntity(ROOT_LE);
28
+ const capabilityProblems = useCapabilityProblems();
29
+ const { isExperimentEnabled } = useExperimentsContext();
30
+ const { accountHolder } = useAccountHolder();
31
+ const { i18n } = useTranslation();
32
+ addResourceBundles(i18n, i18n.language, [
33
+ { ns: "individual", importFn: () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../language/bg-BG.json": () => import("./bg-BG-BYkC3yKf.js"), "../language/cs-CZ.json": () => import("./cs-CZ-zTkICtXj.js"), "../language/da-DK.json": () => import("./da-DK-D0N1TVVU.js"), "../language/de-DE.json": () => import("./de-DE-Dtuu-nE7.js"), "../language/el-GR.json": () => import("./el-GR-DaO38A1s.js"), "../language/en-US.json": () => import("./en-US-546hB2Wn.js"), "../language/es-ES.json": () => import("./es-ES-BsQpwaPN.js"), "../language/et-EE.json": () => import("./et-EE-DF_GqBgK.js"), "../language/fi-FI.json": () => import("./fi-FI-BJ9RzrL3.js"), "../language/fr-FR.json": () => import("./fr-FR-CNR5-s9g.js"), "../language/hr-HR.json": () => import("./hr-HR-CjA4MWAU.js"), "../language/hu-HU.json": () => import("./hu-HU-NhwFr6o-.js"), "../language/it-IT.json": () => import("./it-IT-BV9K87FK.js"), "../language/ja-JP.json": () => import("./ja-JP-DXcP0ojZ.js"), "../language/lt-LT.json": () => import("./lt-LT-tXTApHm2.js"), "../language/lv-LV.json": () => import("./lv-LV-DSaQNC67.js"), "../language/nl-NL.json": () => import("./nl-NL-DywVQ9km.js"), "../language/no-NO.json": () => import("./no-NO-B8oxqfNI.js"), "../language/pl-PL.json": () => import("./pl-PL-C89s21hn.js"), "../language/pt-PT.json": () => import("./pt-PT-BvK00TeI.js"), "../language/ro-RO.json": () => import("./ro-RO-CpGd9emB.js"), "../language/sk-SK.json": () => import("./sk-SK-DlX5KvBV.js"), "../language/sl-SI.json": () => import("./sl-SI-NI2OJAvm.js"), "../language/sv-SE.json": () => import("./sv-SE-CAZpDX9G.js") }), `../language/${i18n.language}.json`, 3) }
34
+ ]);
35
+ if (!rootLe) {
36
+ return /* @__PURE__ */ jsx(Loader, {});
37
+ }
38
+ const country = getLegalEntityCountry(rootLe);
39
+ const hasTrust = accountHolder === "aTrust" || isPartOfTrustFromLegalEntity(rootLe);
40
+ const problems = capabilityProblems ? getProblemsForEntity(capabilityProblems, EntityTypes.LEGAL_ENTITY, rootLe.id) : void 0;
41
+ const isOnfidoAutofillFlow = isOnfidoAutofillFlowEnabled(
42
+ country,
43
+ TaskTypes.INDIVIDUAL,
44
+ isExperimentEnabled
45
+ );
46
+ const props = {
47
+ taskType: TaskTypes.INDIVIDUAL,
48
+ taskName: hasTrust ? "individualTrusteeDetails" : "individualDetails",
49
+ legalEntityResponse: rootLe,
50
+ problems,
51
+ country,
52
+ asModal,
53
+ hideSidebar,
54
+ isTargetLegalEntityType,
55
+ onSubmit,
56
+ trustedFieldsProvider,
57
+ handleBackClick,
58
+ handleCloseClick,
59
+ handleHomeClick
60
+ };
61
+ return isOnfidoAutofillFlow ? /* @__PURE__ */ jsx(
62
+ IndividualOnfidoDropin,
63
+ {
64
+ ...props,
65
+ trustedFields
66
+ }
67
+ ) : /* @__PURE__ */ jsx(
68
+ IndividualDropin,
69
+ {
70
+ ...props,
71
+ trustedFields
72
+ }
73
+ );
74
+ }
75
+ export {
76
+ RootIndividualDetailsPage
77
+ };
@@ -2,18 +2,23 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "41ef1c83-f516-4d9d-a6b7-c187d71eaffc", e._sentryDebugIdIdentifier = "sentry-dbid-41ef1c83-f516-4d9d-a6b7-c187d71eaffc");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "1fb65741-fd53-47a4-b1c1-9a02aec93c84", e._sentryDebugIdIdentifier = "sentry-dbid-1fb65741-fd53-47a4-b1c1-9a02aec93c84");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
+ import { a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper } from "./translation-CPyYrNAr.js";
10
11
  import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
11
- import { a as useApiContext, r as useQuery, t as httpPost, bn as useInvalidateRootLegalEntity, bo as useMutation, au as isEmpty, c as useTranslation, a3 as useAnalyticsContext, a9 as useToastContext, az as useForm, bA as getOwnDecisionMakers, O as LegalEntityTypes, $ as TaskTypes, G as Button, bv as MaybeModal, a4 as Card, aE as Field, bt as Select, bu as Checkbox, u as useI18nContext, d as useLegalEntity, R as ROOT_LE, L as Loader } from "./StoreProvider-phu7r9_0.js";
12
- import { u as useSalesChannelsSettings, a as usePciStatus } from "./OnboardingDropinComponent-USEEyykb.js";
13
- import { E as EndStateLayout } from "./EndStateLayout-B89OYlLx.js";
12
+ import { b as useApiContext, j as useQuery, k as httpPost, aA as useMutation, a9 as isEmpty, a as useTranslation, U as useAnalyticsContext, aR as getOwnDecisionMakers, y as LegalEntityTypes, M as TaskTypes, B as Button, c as useLegalEntity, R as ROOT_LE, L as Loader } from "./StoreProvider-B_tFiIdr.js";
13
+ import { u as useSalesChannelsSettings, a as usePciStatus } from "./OnboardingDropinComponent-BYFTAjkC.js";
14
+ import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-BA6TVroR.js";
15
+ import { M as MaybeModal } from "./MaybeModal-BBBahxa3.js";
16
+ import { E as EndStateLayout } from "./EndStateLayout-C80dFrcg.js";
14
17
  import { useState, useCallback, useEffect } from "preact/hooks";
18
+ import { a as useForm, F as Field, c as Select, C as Checkbox } from "./useForm-Dah8AZ3S.js";
15
19
  import { D as DetailViewLayout } from "./DetailViewLayout-Z9cuUp4X.js";
16
- import { C as ContractViewer } from "./ContractViewer-B2LwC3wV.js";
20
+ import { C as Card } from "./Card-D3VCh4en.js";
21
+ import { C as ContractViewer } from "./ContractViewer-Byp71k2e.js";
17
22
  const getPciTemplate = async (legalEntityId, baseUrl, data) => {
18
23
  return httpPost(
19
24
  {
@@ -224,8 +229,12 @@ function SignPCIComponent({
224
229
  onUnmount
225
230
  }) {
226
231
  const additionalSalesChannels = useSalesChannelsSettings();
227
- const { t } = useTranslation(["contract", "common"]);
228
- const { i18n } = useI18nContext();
232
+ const { t, i18n } = useTranslation(["contract", "common"]);
233
+ addResourceBundles(i18n, i18n.language, [
234
+ { ns: "common", importFn: () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-CW9c658c.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-dU9fnQ1g.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-BJ7aTPir.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-C78RLE2G.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-BZRKurtr.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-B_tFiIdr.js").then((n) => n.bN), "../../../language/locales/es-ES.json": () => import("./es-ES-BtUSEzkE.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-BCnK305R.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-Cvar63RH.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-B5543Fe-.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-ZreFlbK9.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-B3BihdGh.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-Dd6xGSe-.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-iTbqSPNL.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-DE-4IXNG.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-CeivEZms.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-DVENFpd5.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-Dn2UkdoI.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-DFAzuceF.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-_o5xgnxS.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-D7c_Rj8V.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-BBSuh2fA.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-BLTuWNf5.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-BUfESAQK.js") }), `../../../language/locales/${i18n.language}.json`, 6) },
235
+ { ns: "ui", importFn: () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../ui/language/bg-BG.json": () => import("./bg-BG-CZ8v3rdy.js"), "../../ui/language/cs-CZ.json": () => import("./cs-CZ-Dx6momCa.js"), "../../ui/language/da-DK.json": () => import("./da-DK-D4H69PX3.js"), "../../ui/language/de-DE.json": () => import("./de-DE-wp5-H-ov.js"), "../../ui/language/el-GR.json": () => import("./el-GR-CK2heqPJ.js"), "../../ui/language/en-US.json": () => import("./en-US-CAm3meB1.js"), "../../ui/language/es-ES.json": () => import("./es-ES-Ds3-DtqZ.js"), "../../ui/language/et-EE.json": () => import("./et-EE-Co-8akjV.js"), "../../ui/language/fi-FI.json": () => import("./fi-FI-DPNeTsJS.js"), "../../ui/language/fr-FR.json": () => import("./fr-FR-ChmNQciP.js"), "../../ui/language/hr-HR.json": () => import("./hr-HR-DqC8Cgs6.js"), "../../ui/language/hu-HU.json": () => import("./hu-HU-BOanVlKb.js"), "../../ui/language/it-IT.json": () => import("./it-IT-eCrTB65E.js"), "../../ui/language/ja-JP.json": () => import("./ja-JP-BJljbFIZ.js"), "../../ui/language/lt-LT.json": () => import("./lt-LT-DckQGgoT.js"), "../../ui/language/lv-LV.json": () => import("./lv-LV-DP9oRTFv.js"), "../../ui/language/nl-NL.json": () => import("./nl-NL-D2QKudfh.js"), "../../ui/language/no-NO.json": () => import("./no-NO-C_snYWBc.js"), "../../ui/language/pl-PL.json": () => import("./pl-PL-CQ6c2Qz_.js"), "../../ui/language/pt-PT.json": () => import("./pt-PT-C-hbNnsB.js"), "../../ui/language/ro-RO.json": () => import("./ro-RO-BrTWk1Ui.js"), "../../ui/language/sk-SK.json": () => import("./sk-SK-BTFtoPmI.js"), "../../ui/language/sl-SI.json": () => import("./sl-SI-BhVTSmhQ.js"), "../../ui/language/sv-SE.json": () => import("./sv-SE-66rqYTxi.js") }), `../../ui/language/${i18n.language}.json`, 5) },
236
+ { ns: "contract", importFn: () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../Contract/language/bg-BG.json": () => import("./bg-BG-QC5irNEG.js"), "../../Contract/language/cs-CZ.json": () => import("./cs-CZ-t297LwYw.js"), "../../Contract/language/da-DK.json": () => import("./da-DK-BoQic3Gy.js"), "../../Contract/language/de-DE.json": () => import("./de-DE-Dwagawx1.js"), "../../Contract/language/el-GR.json": () => import("./el-GR-CxwhV-TX.js"), "../../Contract/language/en-US.json": () => import("./en-US-BbAzROHT.js"), "../../Contract/language/es-ES.json": () => import("./es-ES-Bsoco8Fj.js"), "../../Contract/language/et-EE.json": () => import("./et-EE-DdGlUpaQ.js"), "../../Contract/language/fi-FI.json": () => import("./fi-FI-ClnsYt3L.js"), "../../Contract/language/fr-FR.json": () => import("./fr-FR-CJI0bIig.js"), "../../Contract/language/hr-HR.json": () => import("./hr-HR-C0yWizOX.js"), "../../Contract/language/hu-HU.json": () => import("./hu-HU-wnSie9tz.js"), "../../Contract/language/it-IT.json": () => import("./it-IT-BeC2Y1F8.js"), "../../Contract/language/ja-JP.json": () => import("./ja-JP-YoU7mNrK.js"), "../../Contract/language/lt-LT.json": () => import("./lt-LT-DIe4cKlu.js"), "../../Contract/language/lv-LV.json": () => import("./lv-LV-DXgW5zWl.js"), "../../Contract/language/nl-NL.json": () => import("./nl-NL-Cysslsh2.js"), "../../Contract/language/no-NO.json": () => import("./no-NO-zSnPtrDi.js"), "../../Contract/language/pl-PL.json": () => import("./pl-PL-UB5J5JcB.js"), "../../Contract/language/pt-PT.json": () => import("./pt-PT-CjsyP_OK.js"), "../../Contract/language/ro-RO.json": () => import("./ro-RO-C8yYXQc_.js"), "../../Contract/language/sk-SK.json": () => import("./sk-SK-DbOE9C6n.js"), "../../Contract/language/sl-SI.json": () => import("./sl-SI-Br0UEUPL.js"), "../../Contract/language/sv-SE.json": () => import("./sv-SE-BtXmvxx4.js") }), `../../Contract/language/${i18n.language}.json`, 5) }
237
+ ]);
229
238
  const {
230
239
  data: legalEntityData,
231
240
  isError: isLegalEntityError,
@@ -233,7 +242,7 @@ function SignPCIComponent({
233
242
  } = useLegalEntity(ROOT_LE);
234
243
  const { data: pciTemplateData, isLoading: isPciTemplateDataLoading } = usePciTemplate({
235
244
  additionalSalesChannels,
236
- language: i18n.locale.substring(0, 2) ?? "en"
245
+ language: i18n.language.substring(0, 2) ?? "en"
237
246
  });
238
247
  const {
239
248
  data: pciStatusData,
@@ -2,7 +2,7 @@
2
2
  {
3
3
  try {
4
4
  let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
- n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "7fd1b084-f948-4d4e-82f2-92d29befd39e", e._sentryDebugIdIdentifier = "sentry-dbid-7fd1b084-f948-4d4e-82f2-92d29befd39e");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "c41e2902-2832-455b-807a-e6620e7d7f41", e._sentryDebugIdIdentifier = "sentry-dbid-c41e2902-2832-455b-807a-e6620e7d7f41");
6
6
  } catch (e) {
7
7
  }
8
8
  }
@@ -10,12 +10,12 @@
10
10
  import { jsx, jsxs } from "preact/jsx-runtime";
11
11
  import { lazy } from "preact/compat";
12
12
  import { useState } from "preact/hooks";
13
- import { c as useTranslation, az as useForm, N as Typography, aE as Field, aH as RadioGroupCard, G as Button, ao as Image, O as LegalEntityTypes } from "./StoreProvider-phu7r9_0.js";
13
+ import { a as useTranslation, x as Typography, B as Button, y as LegalEntityTypes } from "./StoreProvider-B_tFiIdr.js";
14
+ import { a as useForm, F as Field } from "./useForm-Dah8AZ3S.js";
15
+ import { R as RadioGroupCard, I as Image } from "./fieldConfigurations-Yf8yD64w.js";
14
16
  const setupAccountMethods = ["singpass", "manual"];
15
17
  const setupAccountMethodFields = ["setupAccountMethod"];
16
- const singpassLogo = lazy(
17
- () => import("./singpass-logo-BkMSwiGY.js")
18
- );
18
+ const singpassLogo = lazy(() => import("./singpass-logo-BkMSwiGY.js"));
19
19
  const instantVerificationImage = lazy(
20
20
  () => import("./singpass-verification-instant-hY4eGFwl.js")
21
21
  );
@@ -74,7 +74,7 @@ const getSetupAccountMethodMetadata = (legalEntityType) => {
74
74
  };
75
75
  };
76
76
  const SingpassSelection = (props) => {
77
- const { t } = useTranslation();
77
+ const { t } = useTranslation("common");
78
78
  const { legalEntityType, handleNextClick } = props;
79
79
  const [selectedMethod, setSelectedMethod] = useState();
80
80
  const selectSetupAccountMethod = (method) => {
@@ -0,0 +1,50 @@
1
+ ;
2
+ {
3
+ try {
4
+ let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "ab597fb2-7dab-44d4-ad08-919d63c8359b", e._sentryDebugIdIdentifier = "sentry-dbid-ab597fb2-7dab-44d4-ad08-919d63c8359b");
6
+ } catch (e) {
7
+ }
8
+ }
9
+ ;
10
+ import { a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper } from "./translation-CPyYrNAr.js";
11
+ import { jsx } from "preact/jsx-runtime";
12
+ import { a as useTranslation, c as useLegalEntity, R as ROOT_LE, q as skipToken, L as Loader, g as getLegalEntityCountry, M as TaskTypes, J as EntityTypes } from "./StoreProvider-B_tFiIdr.js";
13
+ import { b as useCapabilityProblems, g as getProblemsForEntity } from "./fieldConfigurations-Yf8yD64w.js";
14
+ import { _ as BusinessDetailsDropin } from "./BusinessDetailsDropin-BGsHimRA.js";
15
+ function SoleProprietorshipPage({
16
+ solePropId,
17
+ isTargetLegalEntityType = false,
18
+ onSubmit,
19
+ handleHomeClick
20
+ }) {
21
+ const { i18n } = useTranslation();
22
+ const { data: rootLe } = useLegalEntity(ROOT_LE);
23
+ const { data: solePropLe } = useLegalEntity(solePropId ?? skipToken);
24
+ const capabilityProblems = useCapabilityProblems();
25
+ addResourceBundles(i18n, i18n.language, [
26
+ { ns: "business", importFn: () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../Business/language/bg-BG.json": () => import("./bg-BG-9uVrFuHv.js"), "../../Business/language/cs-CZ.json": () => import("./cs-CZ-Wzc382q6.js"), "../../Business/language/da-DK.json": () => import("./da-DK-CeNMXUfE.js"), "../../Business/language/de-DE.json": () => import("./de-DE-JI-7mvxy.js"), "../../Business/language/el-GR.json": () => import("./el-GR-DfNOPkLq.js"), "../../Business/language/en-US.json": () => import("./en-US-DHq7VYFs.js"), "../../Business/language/es-ES.json": () => import("./es-ES-DOVPTeyf.js"), "../../Business/language/et-EE.json": () => import("./et-EE-BJIsPOnh.js"), "../../Business/language/fi-FI.json": () => import("./fi-FI-D522KHGk.js"), "../../Business/language/fr-FR.json": () => import("./fr-FR-DInQKkTd.js"), "../../Business/language/hr-HR.json": () => import("./hr-HR-DzS44Gpv.js"), "../../Business/language/hu-HU.json": () => import("./hu-HU-xCvNM5TU.js"), "../../Business/language/it-IT.json": () => import("./it-IT-CjEYONJg.js"), "../../Business/language/ja-JP.json": () => import("./ja-JP-BUz3qN-V.js"), "../../Business/language/lt-LT.json": () => import("./lt-LT-B6CJ4ULI.js"), "../../Business/language/lv-LV.json": () => import("./lv-LV-DTtuyfHS.js"), "../../Business/language/nl-NL.json": () => import("./nl-NL-Zcq0bXd-.js"), "../../Business/language/no-NO.json": () => import("./no-NO-BxReX6oF.js"), "../../Business/language/pl-PL.json": () => import("./pl-PL-T6uD5--R.js"), "../../Business/language/pt-PT.json": () => import("./pt-PT-N0njcfLO.js"), "../../Business/language/ro-RO.json": () => import("./ro-RO-Ic1SzBgx.js"), "../../Business/language/sk-SK.json": () => import("./sk-SK-CiD0FeLN.js"), "../../Business/language/sl-SI.json": () => import("./sl-SI-MZoDApq9.js"), "../../Business/language/sv-SE.json": () => import("./sv-SE-DCFSf4Oj.js") }), `../../Business/language/${i18n.language}.json`, 5) }
27
+ ]);
28
+ if (!rootLe || solePropId && !solePropLe) {
29
+ return /* @__PURE__ */ jsx(Loader, {});
30
+ }
31
+ const problems = capabilityProblems && solePropId ? getProblemsForEntity(capabilityProblems, EntityTypes.LEGAL_ENTITY, solePropId) : void 0;
32
+ const country = getLegalEntityCountry(solePropLe ?? rootLe);
33
+ return /* @__PURE__ */ jsx(
34
+ BusinessDetailsDropin,
35
+ {
36
+ taskType: TaskTypes.SOLE_PROPRIETOR_COMPANY,
37
+ taskName: "soleProprietorship",
38
+ legalEntityResponse: rootLe,
39
+ associatedLegalArrangement: solePropLe,
40
+ problems: problems ?? {},
41
+ country,
42
+ isTargetLegalEntityType,
43
+ onSubmit,
44
+ handleHomeClick
45
+ }
46
+ );
47
+ }
48
+ export {
49
+ SoleProprietorshipPage
50
+ };