@adyen/kyc-components 4.6.1 → 4.7.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 (279) hide show
  1. package/dist/{AcceptTermsOfServiceComponent-B3l9btP-.js → AcceptTermsOfServiceComponent-RYwThKmu.js} +17 -16
  2. package/dist/{AccountSetupRejected-DbdJB-OJ.js → AccountSetupRejected-DhwwBH0S.js} +2 -2
  3. package/dist/{ActionBar-BUo_zptQ.js → ActionBar-u-Qc7Y4w.js} +1 -1
  4. package/dist/{Address-B1q0i8VT.js → Address-TGZeMCUA.js} +15 -15
  5. package/dist/{Avatar-V--81dug.js → Avatar-LSd9cIJV.js} +1 -1
  6. package/dist/{BusinessFinancingComponent-yACwTlmi.js → BusinessFinancingComponent-DAeZTKW1.js} +6 -6
  7. package/dist/{BusinessFinancingDropin-DwMpqWbh.js → BusinessFinancingDropin-BVgSTmUm.js} +27 -27
  8. package/dist/BusinessFinancingPage-vKWY2gWN.js +43 -0
  9. package/dist/{BusinessTypeSelectionPage-RRp8YkIk.js → BusinessTypeSelectionPage-DhpGpgac.js} +9 -9
  10. package/dist/{Checkbox-CBsyuXip.js → Checkbox-D5-_dw4-.js} +1 -1
  11. package/dist/{Confirm-BLjnKmbU.js → Confirm-BoQbVMKQ.js} +2 -2
  12. package/dist/{ConstitutionalDocument-aYMC7Qld.js → ConstitutionalDocument-CjUSPI6f.js} +37 -26
  13. package/dist/{ContactDetails-BBTAGuyq.js → ContactDetails-Bj1jL-WF.js} +9 -19
  14. package/dist/{ContextGuidance-BJIBM5W-.js → ContextGuidance-CoDkF9Kh.js} +1 -1
  15. package/dist/{CountryField-o99j4P7E.js → CountryField-DPtohqO0.js} +3 -3
  16. package/dist/{CreateIndividualComponent-CmhrM9Gy.js → CreateIndividualComponent-DnDxRY8S.js} +6 -6
  17. package/dist/{CreateTransferInstrumentComponent-CHaq9Cug.js → CreateTransferInstrumentComponent-BB1v1vPR.js} +4 -4
  18. package/dist/{Currency-hrruvtK7.js → Currency-DjKXc6D1.js} +7 -7
  19. package/dist/{CustomerSupport-D9V9znlz.js → CustomerSupport-nxoB2aXL.js} +9 -9
  20. package/dist/{DebugModal-C3ODQ7HG.js → DebugModal-DK9xbFjU.js} +7 -7
  21. package/dist/{DecisionMakerDetails-BUm0ukYp.js → DecisionMakerDetails-D-POvfJr.js} +9 -9
  22. package/dist/{DecisionMakerDetailsPage-DiYr15fi.js → DecisionMakerDetailsPage-CABFACYm.js} +8 -8
  23. package/dist/{DecisionMakers-BCk4n5BI.js → DecisionMakers-B4gmdJ-s.js} +20 -20
  24. package/dist/{Dropzone-Dled5Xv_.js → Dropzone-IwRNw22i.js} +3 -3
  25. package/dist/{EmbeddedStatus-a9eBGaNp.js → EmbeddedStatus-BU2hma9l.js} +2 -2
  26. package/dist/{EndStateLayout-Doxwm8Bv.js → EndStateLayout-DURCt96r.js} +1 -1
  27. package/dist/{EntityAssociation-BdpQ9IKO.js → EntityAssociation-TBvPBEGa.js} +4 -4
  28. package/dist/{EntityGuidanceStatus-CqfeJN28.js → EntityGuidanceStatus-CFRY8Yia.js} +4 -4
  29. package/dist/{ErrorPanel-B_t2Mr0a.js → ErrorPanel-ALBlWg3_.js} +2 -2
  30. package/dist/{Field-DhGlekN4.js → Field--T3FQepj.js} +1 -1
  31. package/dist/{FormNavigation-zwvQFKf1.js → FormNavigation-nE2uj2oQ.js} +3 -3
  32. package/dist/{Individual.rules-DnqpK01d.js → Individual.rules-DotRDPTM.js} +6 -6
  33. package/dist/{IndividualDropin-CaQg4nGw.js → IndividualDropin-eiRXQvS_.js} +164 -119
  34. package/dist/{InputDate-MfbWpC8K.js → InputDate-BAzF-upe.js} +1 -1
  35. package/dist/{InputText-BsC-S1uD.js → InputText-CywP4Ojh.js} +2 -2
  36. package/dist/{Introduction-XVVXz1r8.js → Introduction-CKoQlTAr.js} +3 -3
  37. package/dist/{InvitedDecisionMakerComponent-CHrA8mQR.js → InvitedDecisionMakerComponent-CV8OExOI.js} +18 -13
  38. package/dist/{JpAddress-BDGwDEOX.js → JpAddress-BIgqDfQ0.js} +10 -10
  39. package/dist/{LandingLayout-DJR_oP_0.js → LandingLayout-DEgZw1-N.js} +5 -3
  40. package/dist/{LegalCompanyNameField-CzsW7440.js → LegalCompanyNameField-CblBotGC.js} +5 -5
  41. package/dist/{LegalRepresentativeDetailsPage-umA-1VaQ.js → LegalRepresentativeDetailsPage-BYgKGZL1.js} +4 -4
  42. package/dist/{Link-CuEU7lsc.js → Link-BVdY7Jkl.js} +1 -1
  43. package/dist/{ListItem-De_7UUwH.js → ListItem-CNuX4D7n.js} +2 -2
  44. package/dist/{LoaderWrapper-BUn-b8AB.js → LoaderWrapper-CU0bf3jD.js} +1 -1
  45. package/dist/ManageIndividualComponent-BYBvuHfj.js +46 -0
  46. package/dist/{ManageTermsOfServiceComponent-ChalvP2J.js → ManageTermsOfServiceComponent-CfN53LIT.js} +3 -3
  47. package/dist/{ManageTransferInstrumentComponent-C4oiwftt.js → ManageTransferInstrumentComponent-B7gKGWHz.js} +10 -10
  48. package/dist/{MaskedInput-BWp2Akul.js → MaskedInput-BNceotwn.js} +4 -4
  49. package/dist/{MaybeModal-C7EW70Xg.js → MaybeModal-hVrKDPDU.js} +2 -2
  50. package/dist/{Modal-D_LDmrcf.js → Modal-C8kGCLbp.js} +3 -3
  51. package/dist/{Name-D8B6J9x4.js → Name-GILpP1SS.js} +4 -4
  52. package/dist/{NewSummary-BjYCAFDe.js → NewSummary-C5UR_Xj1.js} +2 -2
  53. package/dist/{OnboardingDropinComponent-CFcJQhCb.js → OnboardingDropinComponent-CK5KIhNx.js} +74 -74
  54. package/dist/{PayoutDetailsDropin-Beeag1MS.js → PayoutDetailsDropin-CLdEm9BA.js} +465 -226
  55. package/dist/PayoutDetailsPage-s-_gJFC2.js +914 -0
  56. package/dist/{RadioGroup-DvrpVP2i.js → RadioGroup-PEWX2KAj.js} +1 -1
  57. package/dist/{Review-D8hiQo3n.js → Review-CFnIOiZT.js} +6 -6
  58. package/dist/{RootBusinessDetailsPage-OjbFMdJ2.js → RootBusinessDetailsPage-mnrfIy0-.js} +4 -4
  59. package/dist/{RootBusinessLinesPage-CIECoCW3.js → RootBusinessLinesPage-BH3Lns3X.js} +28 -35
  60. package/dist/{RootIndividualDetailsPage-kvCZ8gLE.js → RootIndividualDetailsPage-BzgHIe3h.js} +7 -7
  61. package/dist/{Select-t-h8dau1.js → Select-C4C8R-Ci.js} +4 -4
  62. package/dist/{SignPCIComponent-BTd1hGFj.js → SignPCIComponent-B7rKUpjS.js} +11 -11
  63. package/dist/{SingpassSelection-BUVrRdZ4.js → SingpassSelection-WxIUEYNK.js} +4 -4
  64. package/dist/{SoleProprietorshipPage-BoUgRvvr.js → SoleProprietorshipPage-C_fewFI3.js} +3 -3
  65. package/dist/{SourceOfFundsPage-DNth1tGN.js → SourceOfFundsPage-UeXmtQEJ.js} +33 -33
  66. package/dist/{StepProgressIndicator-CHQ02q0R.js → StepProgressIndicator-DiB-t9hK.js} +1 -1
  67. package/dist/{StoreProvider-Do1odp3Z.js → StoreProvider-C4og8Y8I.js} +111 -91
  68. package/dist/{Summary-s4DquGfj.js → Summary-DkZ_an9u.js} +7 -20
  69. package/dist/{TaxInformationField-DS9fsrYp.js → TaxInformationField-BOZj8YLo.js} +27 -23
  70. package/dist/{TaxReportingDropin-CsCwca9A.js → TaxReportingDropin-9HGGrPyM.js} +14 -14
  71. package/dist/{TextArea-DI9q4r1R.js → TextArea-Bu9ppy0I.js} +2 -2
  72. package/dist/{TileGroup-CAyozQI4.js → TileGroup-BRzhDdL0.js} +2 -2
  73. package/dist/{TrustDetailsPage-Dp7MPmlU.js → TrustDetailsPage-C3gYEzPT.js} +32 -38
  74. package/dist/{TrustMemberCompanyPage-D-6ls2Oq.js → TrustMemberCompanyPage-BK54Of_F.js} +5 -5
  75. package/dist/{TrustMemberIndividualPage-MrBsjChK.js → TrustMemberIndividualPage-fVZrXJjA.js} +5 -5
  76. package/dist/{TrustMemberRoleAndTypePage-D901ZC2E.js → TrustMemberRoleAndTypePage-BVHOuXP3.js} +22 -22
  77. package/dist/{TrustMembersOverview-D-39F-pm.js → TrustMembersOverview-Ab-dwNTz.js} +11 -11
  78. package/dist/{UnincorporatedPartnershipIndividualPage-CYyfQrYN.js → UnincorporatedPartnershipIndividualPage-C32LEyHG.js} +4 -4
  79. package/dist/{UnincorporatedPartnershipMemberCompanyPage-DO5iP4Dt.js → UnincorporatedPartnershipMemberCompanyPage-22Bl_EUP.js} +4 -4
  80. package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-CBQerXfu.js → UnincorporatedPartnershipMemberRoleAndTypePage-BjywaZQe.js} +10 -10
  81. package/dist/{UnincorporatedPartnershipMembersOverview-e_5NAEac.js → UnincorporatedPartnershipMembersOverview-RY7m4iC5.js} +7 -7
  82. package/dist/{VerificationErrorAlert-Bnnuucqh.js → VerificationErrorAlert-CCJ0vNsY.js} +2 -2
  83. package/dist/{ViewVerificationStatusComponent-CVVTKfrQ.js → ViewVerificationStatusComponent-Bg1I1q10.js} +2 -2
  84. package/dist/adyen-business-financing.js +2 -2
  85. package/dist/adyen-individual-configuration.js +2 -2
  86. package/dist/adyen-individual-status.js +2 -2
  87. package/dist/adyen-invited-decision-maker.js +2 -2
  88. package/dist/adyen-kyc-components.js +15 -15
  89. package/dist/adyen-onboarding.js +2 -2
  90. package/dist/adyen-terms-of-service-management.js +2 -2
  91. package/dist/adyen-terms-of-service-status.js +2 -2
  92. package/dist/adyen-transfer-instrument-configuration.js +2 -2
  93. package/dist/adyen-transfer-instrument-management.js +2 -2
  94. package/dist/adyen-verification-status.js +2 -2
  95. package/dist/{bafinUtils-DNleI80l.js → bafinUtils-DkCSO6ft.js} +1 -1
  96. package/dist/{bg-BG-DMNRRZZE.js → bg-BG-89Mw-9Lv.js} +7 -7
  97. package/dist/{bg-BG-Cj3_UGTi.js → bg-BG-C9zrgb_c.js} +7 -1
  98. package/dist/{bg-BG-C6dSR1jk.js → bg-BG-dmpv4Zom.js} +2 -2
  99. package/dist/{commonValidators-B93jw3zT.js → commonValidators-Dd4wegC9.js} +1 -1
  100. package/dist/{cs-CZ-B6atm9_Q.js → cs-CZ-6rOIfRJu.js} +2 -2
  101. package/dist/{cs-CZ-DxfB5dcV.js → cs-CZ-B-zm6HVH.js} +7 -1
  102. package/dist/{cs-CZ-DXSMRqPu.js → cs-CZ-CTxXvHtH.js} +7 -7
  103. package/dist/{da-DK-BfsYpvel.js → da-DK-CGhsIGZt.js} +7 -1
  104. package/dist/{da-DK-Cv6XUSoW.js → da-DK-C_GqHCay.js} +2 -2
  105. package/dist/{da-DK-CMVthpSr.js → da-DK-D_TOcmOO.js} +7 -7
  106. package/dist/{de-DE-BplDsJEb.js → de-DE-BmWBo3gX.js} +2 -2
  107. package/dist/{de-DE-B5TOuf7l.js → de-DE-DYzAiXHM.js} +7 -7
  108. package/dist/{de-DE-CEsDXBn-.js → de-DE-K9FyOJiI.js} +7 -1
  109. package/dist/{dropinUtils-iBTioaF7.js → dropinUtils-vsDEK6cs.js} +17 -6
  110. package/dist/{el-GR-BNNlN4l2.js → el-GR-DItzpoar.js} +7 -7
  111. package/dist/{el-GR-dRK7xHn2.js → el-GR-Fo7-xCrc.js} +2 -2
  112. package/dist/{el-GR-CM3bIzr7.js → el-GR-L-39cQfz.js} +7 -1
  113. package/dist/en-US-qlQTJNiL.js +13 -0
  114. package/dist/{es-ES-DRsix_Xn.js → es-ES-BkqlH093.js} +2 -2
  115. package/dist/{es-ES-Wcpc6fm1.js → es-ES-BmH6eADf.js} +7 -7
  116. package/dist/{es-ES-BWFP5itn.js → es-ES-TUyeIp6F.js} +7 -1
  117. package/dist/{et-EE-CcXrAAc7.js → et-EE-Cw_VydGb.js} +7 -1
  118. package/dist/{et-EE-DNC4hcxm.js → et-EE-DSZa_33d.js} +7 -7
  119. package/dist/{et-EE-BXiYapXy.js → et-EE-H8yxvhQj.js} +2 -2
  120. package/dist/{fi-FI-BftTiz0c.js → fi-FI-BfwJVwi9.js} +2 -2
  121. package/dist/{fi-FI-BJLU1JHw.js → fi-FI-DJ8BbVPT.js} +7 -7
  122. package/dist/{fi-FI-DenK0WPz.js → fi-FI-tgvQX_Iq.js} +7 -1
  123. package/dist/{formUtils-lkF9e5IB.js → formUtils-DFuc8i5Q.js} +3 -3
  124. package/dist/{fr-FR-C6jxjXAI.js → fr-FR-CzjsW73Q.js} +2 -2
  125. package/dist/{fr-FR-DodNoPid.js → fr-FR-D533_MOG.js} +7 -7
  126. package/dist/{fr-FR-BmTswZU5.js → fr-FR-ynC19lSF.js} +7 -1
  127. package/dist/{getName-f5vInm5O.js → getName-D3Sba-PI.js} +1 -1
  128. package/dist/{getProblemsForEntity-D8b_EJeC.js → getProblemsForEntity-Db-ejW4z.js} +1 -1
  129. package/dist/{getTrustedFields-D2WVcNYC.js → getTrustedFields-DUXTMWcg.js} +1 -1
  130. package/dist/{hr-HR-SDrDZRLV.js → hr-HR--5syrowD.js} +7 -1
  131. package/dist/{hr-HR-C0NLgF1r.js → hr-HR-CIxdonpk.js} +7 -7
  132. package/dist/{hr-HR-B_TEU3r4.js → hr-HR-ZrpQrsik.js} +2 -2
  133. package/dist/{hu-HU-C3ZiFh1F.js → hu-HU--6ZxXlbV.js} +7 -7
  134. package/dist/{hu-HU-DSVf2zbX.js → hu-HU-BFiGk_QT.js} +7 -1
  135. package/dist/{hu-HU-CX83V9tu.js → hu-HU-Ds3go4h4.js} +2 -2
  136. package/dist/{isEmpty-u6uLWpz1.js → isEmpty-DFqK5kY2.js} +2 -2
  137. package/dist/{it-IT-CZ4aDoVQ.js → it-IT-B5cf2VTN.js} +7 -7
  138. package/dist/{it-IT-DJe5OflH.js → it-IT-C0Zv5ms9.js} +7 -1
  139. package/dist/{it-IT-CXlaZNIj.js → it-IT-Dx15tkIe.js} +2 -2
  140. package/dist/{ja-JP-GGV_-V6p.js → ja-JP--u211vje.js} +7 -1
  141. package/dist/{ja-JP-BpeNsNhn.js → ja-JP-DY4CJlUf.js} +7 -7
  142. package/dist/{ja-JP-A6ArIIZ8.js → ja-JP-Qu7oEIEy.js} +2 -2
  143. package/dist/{japanSupportUtils-By6GI65W.js → japanSupportUtils-DqXOWm97.js} +1 -1
  144. package/dist/{localizeDateString-CYVOqiuH.js → localizeDateString-D8JgUqw2.js} +1 -1
  145. package/dist/{lt-LT-ww192lYg.js → lt-LT-BebOeKIA.js} +2 -2
  146. package/dist/{lt-LT-C8n1GZoU.js → lt-LT-CkjEvGSp.js} +7 -7
  147. package/dist/{lt-LT-C9nsCODy.js → lt-LT-D2Hrhr7v.js} +7 -1
  148. package/dist/{lv-LV-BdPdaVGy.js → lv-LV-BdZK9nQA.js} +7 -7
  149. package/dist/{lv-LV-CpHy-ZoF.js → lv-LV-CYcrO-6d.js} +2 -2
  150. package/dist/{lv-LV-Bue450PR.js → lv-LV-D04q9r-y.js} +7 -1
  151. package/dist/{mapExistingFile-9oZpCz9G.js → mapExistingFile-BIYg1E5G.js} +2 -2
  152. package/dist/{mapJpAddressSchemaToAddressLocalizations-DhgNqKwy.js → mapJpAddressSchemaToAddressLocalizations-D5xnQLSI.js} +2 -2
  153. package/dist/{mapLegalEntityToIndividualSchema-BY73qAGj.js → mapLegalEntityToIndividualSchema-By5v9v9G.js} +4 -4
  154. package/dist/{mapTransferInstrumentToPayoutAccount-BYhssQ5b.js → mapTransferInstrumentToPayoutAccount-BM24JYqT.js} +2 -2
  155. package/dist/{nl-NL-4Mv4rnYy.js → nl-NL-CJ7MoBj2.js} +7 -1
  156. package/dist/{nl-NL-BwWFlBOs.js → nl-NL-FbJ2sHba.js} +2 -2
  157. package/dist/{nl-NL-B2Uku0lw.js → nl-NL-YcL7Gufl.js} +7 -7
  158. package/dist/{no-NO-JWsSd7iY.js → no-NO-B5BjEy8n.js} +2 -2
  159. package/dist/{no-NO-ByCZ3mhz.js → no-NO-C20s6CoP.js} +7 -1
  160. package/dist/{no-NO-DjOcJWnC.js → no-NO-KkYB-VQD.js} +7 -7
  161. package/dist/{omitObscuredFieldsIfUnchanged-BukQYYUl.js → omitObscuredFieldsIfUnchanged-CyJfNYkP.js} +2 -2
  162. package/dist/{patternValidators-BAI5QGjT.js → patternValidators-DRSnA1z7.js} +2 -2
  163. package/dist/{pl-PL-DCi5Lf4k.js → pl-PL-C19Btj2D.js} +7 -1
  164. package/dist/{pl-PL-Bmaq3IC3.js → pl-PL-CPdKf-J0.js} +7 -7
  165. package/dist/{pl-PL-CLmmSNgn.js → pl-PL-DuM6hbqZ.js} +2 -2
  166. package/dist/{process-field-configurations-BsVn1sDe.js → process-field-configurations-Cl2nqpBp.js} +2 -2
  167. package/dist/{pt-BR-BJOww8U1.js → pt-BR-BKKQIUJP.js} +2 -2
  168. package/dist/{pt-BR-BKdT0Bpl.js → pt-BR-ERWeus3c.js} +7 -7
  169. package/dist/{pt-BR-DRz5cG4o.js → pt-BR-zOjPTIPu.js} +7 -1
  170. package/dist/{pt-PT-CL9VzmZE.js → pt-PT-CC7zlk3R.js} +2 -2
  171. package/dist/{pt-PT-C2li07N1.js → pt-PT-DUTGt5L5.js} +7 -7
  172. package/dist/{pt-PT-ChRbnn0k.js → pt-PT-t5M8xwTU.js} +7 -1
  173. package/dist/{resolveEnvironment-qgplleRV.js → resolveEnvironment-BIF7mwM5.js} +3 -3
  174. package/dist/{ro-RO-iPjOeKwM.js → ro-RO-BnFjok5O.js} +7 -7
  175. package/dist/{ro-RO-Cu1T3z6k.js → ro-RO-CuabgXj1.js} +2 -2
  176. package/dist/{ro-RO-Dgie5z3m.js → ro-RO-DK9gVwS9.js} +7 -1
  177. package/dist/{roleMetadata-BqDkoUz9.js → roleMetadata-BAURfCmh.js} +3 -3
  178. package/dist/{sk-SK-bMDoNP19.js → sk-SK-2J6iKfmK.js} +7 -1
  179. package/dist/{sk-SK-3_SoEn6P.js → sk-SK-CLPd85I3.js} +7 -7
  180. package/dist/{sk-SK-CEjJ-qZG.js → sk-SK-DM1yY8DA.js} +2 -2
  181. package/dist/{sl-SI-BfO3xEJx.js → sl-SI--pDTatHh.js} +2 -2
  182. package/dist/{sl-SI-DKSu25rO.js → sl-SI-D82ccY62.js} +7 -1
  183. package/dist/{sl-SI-DbfswGh0.js → sl-SI-T9_Ty-NS.js} +7 -7
  184. package/dist/style.css +9 -21
  185. package/dist/styles-CLV89_hH.js +9 -21
  186. package/dist/{sv-SE-Blw4s8bC.js → sv-SE-3-h2VlYi.js} +7 -7
  187. package/dist/{sv-SE-CMLKzwtj.js → sv-SE-CDxyyNV0.js} +2 -2
  188. package/dist/{sv-SE-Co7Nkd06.js → sv-SE-CrBkos0z.js} +7 -1
  189. package/dist/types/api/companySearch/useCompanySearch.d.ts +289 -0
  190. package/dist/types/api/companySelection/useCompanySelection.d.ts +2 -4
  191. package/dist/types/api/configurations/useScenarios.d.ts +1 -1
  192. package/dist/types/api/idVerificationProviders/useExtractDocumentInformation.d.ts +4 -4
  193. package/dist/types/api/queryKeys.d.ts +1 -2
  194. package/dist/types/api/tinVerification/useVerifyTin.d.ts +245 -1
  195. package/dist/types/api/uiAnalytics/uiAnalytics.types.d.ts +6 -1
  196. package/dist/types/components/BankAccount/forms/BankVerification/store.d.ts +1 -0
  197. package/dist/types/components/BankAccount/forms/PayoutCountryDetails/PayoutCountryDetails.d.ts +3 -0
  198. package/dist/types/components/BankAccount/forms/PayoutDetails/PayoutDetailsMultiform.d.ts +27 -0
  199. package/dist/types/components/BankAccount/forms/PayoutDetails/rules.d.ts +2 -2
  200. package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +25 -25
  201. package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/PayoutDetailsDropin.d.ts +0 -1
  202. package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/PayoutDetailsDropinMultiForm.d.ts +2 -0
  203. package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/utils.d.ts +7 -0
  204. package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/validate.d.ts +23 -0
  205. package/dist/types/components/Business/forms/BusinessSelection/BusinessInformationCard/BusinessInformationCard.d.ts +3 -4
  206. package/dist/types/components/Business/forms/rules.d.ts +6 -6
  207. package/dist/types/components/Business/mapping/businessDetails/businessBankAccountTaxIdUtils.d.ts +10 -0
  208. package/dist/types/components/Business/tasks/BusinessDetailsDropin/businessDetailsStore.d.ts +0 -1
  209. package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +1 -4
  210. package/dist/types/components/Business/tasks/BusinessDetailsDropin/utils.d.ts +2 -3
  211. package/dist/types/components/BusinessLines/fields/SalesChannels/SalesChannels.d.ts +1 -1
  212. package/dist/types/components/BusinessLines/fields/SalesChannels/types.d.ts +1 -1
  213. package/dist/types/components/Contract/tasks/ServiceAgreementDropin/types.d.ts +2 -1
  214. package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +499 -487
  215. package/dist/types/components/Individual/forms/Individual.rules.d.ts +2 -2
  216. package/dist/types/components/Individual/forms/InviteDetails/utils.d.ts +2 -0
  217. package/dist/types/components/Individual/forms/InviteDetails/validate.d.ts +2 -1
  218. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/fieldConfig.d.ts +1 -2
  219. package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/registrationNumberTypes.d.ts +5 -0
  220. package/dist/types/components/Shared/fields/DBANameField/DBANameField.d.ts +1 -1
  221. package/dist/types/components/Shared/fields/DBANameField/types.d.ts +1 -1
  222. package/dist/types/components/Shared/fields/DateOfIncorporationField/DateOfIncorporationField.d.ts +1 -1
  223. package/dist/types/components/Shared/fields/DateOfIncorporationField/types.d.ts +1 -1
  224. package/dist/types/components/Shared/fields/IndustryCodeField/IndustryCodeField.d.ts +1 -1
  225. package/dist/types/components/Shared/fields/IndustryCodeField/types.d.ts +1 -1
  226. package/dist/types/components/Shared/fields/Name/validate.d.ts +2 -1
  227. package/dist/types/components/Shared/fields/PhoneField/PhoneField.d.ts +1 -1
  228. package/dist/types/components/Shared/fields/PhoneField/types.d.ts +1 -1
  229. package/dist/types/components/Shared/fields/StockExchangeMICField/StockExchangeMICField.d.ts +1 -1
  230. package/dist/types/components/Shared/fields/StockExchangeMICField/types.d.ts +1 -1
  231. package/dist/types/components/Shared/fields/StockISINField/StockISINField.d.ts +1 -1
  232. package/dist/types/components/Shared/fields/StockISINField/types.d.ts +1 -1
  233. package/dist/types/components/Shared/fields/StockTickerSymbol/StockTickerSymbolField.d.ts +1 -1
  234. package/dist/types/components/Shared/fields/StockTickerSymbol/types.d.ts +1 -1
  235. package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
  236. package/dist/types/components/Shared/forms/Address/validate.d.ts +1 -1
  237. package/dist/types/components/Trust/forms/Trust/rules.d.ts +2 -2
  238. package/dist/types/context/ToggleContext/types.d.ts +51 -56
  239. package/dist/types/core/models/api/branchAllocation.d.ts +5 -0
  240. package/dist/types/core/models/api/get-scenarios.d.ts +2 -0
  241. package/dist/types/core/models/api/organization.d.ts +2 -0
  242. package/dist/types/core/user-events.d.ts +1 -1
  243. package/dist/types/hooks/useForm/types.d.ts +1 -0
  244. package/dist/types/hooks/usePageLandedEvent.d.ts +3 -3
  245. package/dist/types/utils/entityStatusUtil.d.ts +1 -1
  246. package/dist/types/utils/validatorUtils.d.ts +1 -0
  247. package/dist/{types-CTwBMnPB.js → types-C7ANBXKc.js} +56 -61
  248. package/dist/{types-CfnPVq7b.js → types-DsA42AXS.js} +1 -1
  249. package/dist/{types-tdqAwKL7.js → types-DxlKs1U5.js} +1 -1
  250. package/dist/{types-DKR2ZuTD.js → types-VsWq4EjV.js} +1 -1
  251. package/dist/{unincorporated-partnership-DiT1SZMx.js → unincorporated-partnership-uA1X2l53.js} +1 -1
  252. package/dist/{useAssociatedLegalEntity-Bwe18_3D.js → useAssociatedLegalEntity-3LNpnrN6.js} +1 -1
  253. package/dist/{useBusinessDetailsData-S4H6u7aV.js → useBusinessDetailsData-dZbZQSmY.js} +330 -314
  254. package/dist/{useCreateLegalEntity-DugB4CeD.js → useCreateLegalEntity-DDkkYr4O.js} +1 -1
  255. package/dist/{useForm-Chyn6I7t.js → useForm-Y4-kimHb.js} +3 -3
  256. package/dist/{useFormContext-D0VUus9N.js → useFormContext-TKoF8IdB.js} +7 -7
  257. package/dist/{useGlobalData-BOpkYARg.js → useGlobalData-DZvXyS0l.js} +9 -9
  258. package/dist/{useMultiForm-AyBSOBoC.js → useMultiForm-ieaYM7hW.js} +4 -4
  259. package/dist/{useOnboardingStatus-DHIZ68CF.js → useOnboardingStatus-DhxCTR8e.js} +1 -1
  260. package/dist/{useScenarios-C--d6gPw.js → useScenarios-CwSfXmoW.js} +1 -1
  261. package/dist/{useTermsOfServiceStatus-OVxuF0N1.js → useTermsOfServiceStatus-DPGw4QdQ.js} +1 -1
  262. package/dist/{useToastContext-DHFV4LJC.js → useToastContext-BdsMS3mt.js} +1 -1
  263. package/dist/{useUnincorporatedPartnershipMembers-B9S2O4tQ.js → useUnincorporatedPartnershipMembers-D5ndPAbv.js} +4 -4
  264. package/dist/{useUpdateBusinessLines-D-2SFDbh.js → useUpdateBusinessLines-Dwk23sZB.js} +5 -7
  265. package/dist/{useUpdateLegalEntity-CFRYUBdP.js → useUpdateLegalEntity-5lOidXXX.js} +2 -2
  266. package/dist/{utils-BlKniCje.js → utils-BwwVW2aU.js} +6 -6
  267. package/dist/{utils-CmyEO2z6.js → utils-C5ekxdx1.js} +1 -1
  268. package/dist/{utils-HEJUczlg.js → utils-C_Fyu6Kr.js} +1 -1
  269. package/dist/{utils-DzZSy2n_.js → utils-CdhuiXMy.js} +1 -1
  270. package/dist/{utils-CG9hxJ09.js → utils-Dny5dbku.js} +2 -2
  271. package/dist/{validate-DKsP8XGZ.js → validate-CFI052fe.js} +3 -3
  272. package/dist/{validate-DkaJWAVo.js → validate-bZBB2yOu.js} +2 -2
  273. package/dist/{validationError-yKQW3P6f.js → validationError-XxBa8ECY.js} +2 -2
  274. package/package.json +10 -10
  275. package/dist/BusinessFinancingPage-Bgh0dGq3.js +0 -43
  276. package/dist/ManageIndividualComponent-BK6fjFPh.js +0 -46
  277. package/dist/PayoutDetailsPage-Q6XPaC0y.js +0 -55
  278. package/dist/en-US-CJDkXFZ6.js +0 -13
  279. package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/formatAccountVerificationSummary.d.ts +0 -7
@@ -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] = "310aa9d9-ea6f-447b-9818-6329e1115aad", e._sentryDebugIdIdentifier = "sentry-dbid-310aa9d9-ea6f-447b-9818-6329e1115aad");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "16bb594a-c450-40d9-b17f-4472f6e11944", e._sentryDebugIdIdentifier = "sentry-dbid-16bb594a-c450-40d9-b17f-4472f6e11944");
6
6
  } catch (e) {
7
7
  }
8
8
  }
@@ -11,64 +11,66 @@ import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
11
11
  import { Show } from "@preact/signals/utils";
12
12
  import { useMutation, useQuery, skipToken, useQueryClient } from "@tanstack/preact-query";
13
13
  import { useState, useRef, useCallback, useEffect, useMemo } from "preact/hooks";
14
- import { u as useScenarios } from "./useScenarios-C--d6gPw.js";
15
- import { u as useCreateLegalEntity } from "./useCreateLegalEntity-DugB4CeD.js";
16
- import { b as useApiContext, j as httpPost, a9 as CountryCodes, aC as matchesRegex, aD as NO_ALPHABET_REGEX, aE as EMOJI_REGEX, aF as hasRepeatedCharacters, aG as isInvalidName, aH as INDIVIDUAL_VALID_CHAR_REGEX, ax as isEmpty, w as TaskTypes, L as LegalEntityTypes, aI as getAgeToday, aJ as euCountries, aK as hasText, aL as standardKatakanaValidator, aM as standardKanjiValidator, k as httpGet, u as useTranslation, V as Button, C as Alert, U as Loader, as as DecisionMakerTypes, at as Scenarios, N as Typography, ab as translateTranslatable, ap as useDataset, aq as datasetIdentifier, aN as useAllowedCountries, m as useSettingsContext, H as useToggleContext, aB as Header, aO as getAgeRangeForLegalRepresentative, aP as isLegalRepresentativeNeeded, aQ as Trans, aR as valuesOf, aS as keysOf, ah as objectsDeepEqual, aT as listToRecord, aU as pick, ae as createLogger, B as IconButton, x as useAnalyticsContext, am as datasetUtilities, aV as useCapabilities, aW as individualApiKeyMapping, aX as drop, t as useAccountHolder, a8 as getLegalEntityCountry, aY as getAllowedDecisionMakerRoles, aZ as filterOutUnwantedAssociationsIfRootLE, an as cloneObject, a_ as individualDocumentMapping, a$ as individualObscuredFields, ac as getOwnEntityAssociations, b0 as hasNomineesChanged, b1 as attachNomineeToRole, b2 as doArraysMatch } from "./StoreProvider-Do1odp3Z.js";
17
- import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-CFRYUBdP.js";
18
- import { a as addressValidators, A as Address, u as useProviderStatus } from "./Address-B1q0i8VT.js";
19
- import { c as contactDetailsValidationRules, a as contactDetailFields, C as ContactDetails, d as defaultFieldMetadata$1, f as fieldConfig, P as PhoneField, g as getPhonePlaceholder, u as useValidatePhoneNumberImperatively, b as getAsyncPhoneValidationRules } from "./ContactDetails-BBTAGuyq.js";
20
- import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-D0VUus9N.js";
21
- import { u as useToastContext } from "./useToastContext-DHFV4LJC.js";
22
- import { g as getPropsFromConfigurations, c as composePerScenarioFormConfigurations } from "./process-field-configurations-BsVn1sDe.js";
23
- import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-iBTioaF7.js";
24
- import { u as useMultiForm } from "./useMultiForm-AyBSOBoC.js";
25
- import { u as uppercase, A as AdyenKycSdkError, m as mapExistingFile, g as getPageName, a as getPage, b as useScenarioConfiguration } from "./mapExistingFile-9oZpCz9G.js";
14
+ import { u as useScenarios } from "./useScenarios-CwSfXmoW.js";
15
+ import { u as useCreateLegalEntity } from "./useCreateLegalEntity-DDkkYr4O.js";
16
+ import { b as useApiContext, j as httpPost, a9 as CountryCodes, aC as matchesRegex, aD as NO_ALPHABET_REGEX, aE as EMOJI_REGEX, aF as hasMaximumTwoRepeatedCharacters, aG as hasRepeatedCharacters, aH as isInvalidName, aI as INDIVIDUAL_VALID_CHAR_REGEX, ax as isEmpty, w as TaskTypes, L as LegalEntityTypes, aJ as getAgeToday, aK as euCountries, aL as hasText, aM as standardKatakanaValidator, aN as standardKanjiValidator, k as httpGet, u as useTranslation, V as Button, C as Alert, U as Loader, as as DecisionMakerTypes, at as Scenarios, N as Typography, ab as translateTranslatable, ap as useDataset, aq as datasetIdentifier, aO as useAllowedCountries, m as useSettingsContext, H as useToggleContext, aB as Header, aP as getAgeRangeForLegalRepresentative, aQ as isLegalRepresentativeNeeded, aR as Trans, aS as valuesOf, aT as keysOf, ah as objectsDeepEqual, aU as listToRecord, aV as pick, ae as createLogger, B as IconButton, x as useAnalyticsContext, am as datasetUtilities, aW as useCapabilities, aX as individualApiKeyMapping, aY as drop, t as useAccountHolder, a8 as getLegalEntityCountry, aZ as getAllowedDecisionMakerRoles, a_ as individualDocumentMapping, a$ as filterOutUnwantedAssociationsIfRootLE, an as cloneObject, b0 as individualObscuredFields, ac as getOwnEntityAssociations, b1 as hasNomineesChanged, b2 as attachNomineeToRole, b3 as doArraysMatch } from "./StoreProvider-C4og8Y8I.js";
17
+ import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-5lOidXXX.js";
18
+ import { a as addressValidators, A as Address, u as useProviderStatus } from "./Address-TGZeMCUA.js";
19
+ import { c as contactDetailsValidationRules, a as contactDetailFields, C as ContactDetails, d as defaultFieldMetadata$1, f as fieldConfig, P as PhoneField, g as getPhonePlaceholder, u as useValidatePhoneNumberImperatively, b as getAsyncPhoneValidationRules } from "./ContactDetails-Bj1jL-WF.js";
20
+ import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-TKoF8IdB.js";
21
+ import { u as useToastContext } from "./useToastContext-BdsMS3mt.js";
22
+ import { g as getPropsFromConfigurations, c as composePerScenarioFormConfigurations } from "./process-field-configurations-Cl2nqpBp.js";
23
+ import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-vsDEK6cs.js";
24
+ import { u as useMultiForm } from "./useMultiForm-ieaYM7hW.js";
25
+ import { u as uppercase, A as AdyenKycSdkError, m as mapExistingFile, g as getPageName, a as getPage, b as useScenarioConfiguration } from "./mapExistingFile-BIYg1E5G.js";
26
26
  import { J as JP_ADDRESS_REQUIRED_FIELDS } from "./jpAddressSchema-DEOyz9Yo.js";
27
27
  import { s as summaryItem } from "./summaryItem-CAQCQSkt.js";
28
- import { b as addressFields, a as getAddressSchemaLabelsByCountry, C as COUNTRIES_WITH_STATES_DATASET, m as mapAddressLabels } from "./utils-CmyEO2z6.js";
29
- import { G as GuidanceQuestionValues, a as GuidanceQuestion, g as getOnfidoIdentityTypeToApiIdentityTypeMap, i as individualFormDefaultData, m as mapLegalEntityToIndividualSchema } from "./mapLegalEntityToIndividualSchema-BY73qAGj.js";
30
- import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-yKQW3P6f.js";
31
- import { g as getIdDocument, a as getDocument, c as createDocumentRequest, d as documentApiUtils, m as mergeAttachments, b as getFileExtention } from "./validate-DKsP8XGZ.js";
32
- import { t as taxInformationDefaultFieldMetadata, a as taxInformationDefaultFieldConfig, T as TaxInformationField, D as DocumentGuidance, M as MemoizedDocumentUpload, b as taxIdNumberOptions, g as getFieldsWithExistingData } from "./TaxInformationField-DS9fsrYp.js";
33
- import { i as isJapanLocalizationEnabled } from "./japanSupportUtils-By6GI65W.js";
34
- import { l as localizeDateString } from "./localizeDateString-CYVOqiuH.js";
35
- import { o as omitObscuredFieldsIfUnchanged } from "./omitObscuredFieldsIfUnchanged-BukQYYUl.js";
36
- import { m as makeMask, n as numericInputs, a as nonInputs, b as alphaInputs, c as customInputs, s as spacer, d as alphanumericInputs, M as MaskedInput, I as InputEmail } from "./MaskedInput-BWp2Akul.js";
37
- import { v as validatePatternOnBlur } from "./patternValidators-BAI5QGjT.js";
28
+ import { b as addressFields, a as getAddressSchemaLabelsByCountry, C as COUNTRIES_WITH_STATES_DATASET, m as mapAddressLabels } from "./utils-C5ekxdx1.js";
29
+ import { G as GuidanceQuestionValues, a as GuidanceQuestion, g as getOnfidoIdentityTypeToApiIdentityTypeMap, i as individualFormDefaultData, m as mapLegalEntityToIndividualSchema } from "./mapLegalEntityToIndividualSchema-By5v9v9G.js";
30
+ import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-XxBa8ECY.js";
31
+ import { g as getIdDocument, a as getDocument, c as createDocumentRequest, d as documentApiUtils, m as mergeAttachments, b as getFileExtention } from "./validate-CFI052fe.js";
32
+ import { t as taxInformationDefaultFieldMetadata, a as taxInformationDefaultFieldConfig, T as TaxInformationField, D as DocumentGuidance, M as MemoizedDocumentUpload, b as taxIdNumberOptions, g as getFieldsWithExistingData } from "./TaxInformationField-BOZj8YLo.js";
33
+ import { i as isJapanLocalizationEnabled } from "./japanSupportUtils-DqXOWm97.js";
34
+ import { l as localizeDateString } from "./localizeDateString-D8JgUqw2.js";
35
+ import { o as omitObscuredFieldsIfUnchanged } from "./omitObscuredFieldsIfUnchanged-CyJfNYkP.js";
36
+ import { m as makeMask, n as numericInputs, a as nonInputs, b as alphaInputs, c as customInputs, s as spacer, d as alphanumericInputs, M as MaskedInput, I as InputEmail } from "./MaskedInput-BNceotwn.js";
37
+ import { v as validatePatternOnBlur } from "./patternValidators-DRSnA1z7.js";
38
38
  import { r as resolveFieldMetadata } from "./fieldConfigurations-BUT9DTUH.js";
39
- import { g as getLocalizedIdDocumentTypeOptions } from "./utils-DzZSy2n_.js";
39
+ import { g as getLocalizedIdDocumentTypeOptions } from "./utils-CdhuiXMy.js";
40
40
  import { lazy, Suspense, memo } from "preact/compat";
41
- import { I as Image } from "./unincorporated-partnership-DiT1SZMx.js";
42
- import { M as Modal } from "./Modal-D_LDmrcf.js";
43
- import { L as LandingLayout } from "./LandingLayout-DJR_oP_0.js";
44
- import { C as Confirm } from "./Confirm-BLjnKmbU.js";
45
- import { a as getIndividualLegalEntityName } from "./getName-f5vInm5O.js";
46
- import { b as idNowModalChildEntityId, a as idNowPostSubmit, s as showIdNowModal, c as shouldShowIdNowModal } from "./bafinUtils-DNleI80l.js";
41
+ import { I as Image } from "./unincorporated-partnership-uA1X2l53.js";
42
+ import { M as Modal } from "./Modal-C8kGCLbp.js";
43
+ import { L as LandingLayout } from "./LandingLayout-DEgZw1-N.js";
44
+ import { C as Confirm } from "./Confirm-BoQbVMKQ.js";
45
+ import { a as getIndividualLegalEntityName } from "./getName-D3Sba-PI.js";
46
+ import { b as idNowModalChildEntityId, a as idNowPostSubmit, s as showIdNowModal, c as shouldShowIdNowModal } from "./bafinUtils-DkCSO6ft.js";
47
47
  import { signal } from "@preact/signals";
48
- import { E as ErrorPanel, u as useFormRouterContext } from "./ErrorPanel-B_t2Mr0a.js";
48
+ import { E as ErrorPanel, u as useFormRouterContext } from "./ErrorPanel-ALBlWg3_.js";
49
49
  import { g as getFieldProps, a as getFormProps } from "./getProps-Cc3J2-z9.js";
50
- import { F as Field } from "./Field-DhGlekN4.js";
51
- import { L as Link } from "./Link-CuEU7lsc.js";
50
+ import { F as Field } from "./Field--T3FQepj.js";
51
+ import { L as Link } from "./Link-BVdY7Jkl.js";
52
52
  import { S as SettingNames } from "./types-Dv0COrvY.js";
53
- import { I as InputDate, f as formatDateObj } from "./InputDate-MfbWpC8K.js";
54
- import { I as InputText } from "./InputText-BsC-S1uD.js";
55
- import { C as CountryField } from "./CountryField-o99j4P7E.js";
56
- import { R as RadioGroup, a as RadioWithLabel } from "./RadioGroup-DvrpVP2i.js";
57
- import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-lkF9e5IB.js";
58
- import { C as Checkbox } from "./Checkbox-CBsyuXip.js";
59
- import { S as Select } from "./Select-t-h8dau1.js";
60
- import { C as ContextGuidance } from "./ContextGuidance-BJIBM5W-.js";
61
- import { C as COUNTRIES_WHICH_USE_MULTIPLE_IDENTITY_TYPES, i as individualRules, D as DECISION_MAKER_TYPES_WITH_JOBTITLE } from "./Individual.rules-DnqpK01d.js";
62
- import { i as isTruthyValidator } from "./commonValidators-B93jw3zT.js";
53
+ import { I as InputDate, f as formatDateObj } from "./InputDate-BAzF-upe.js";
54
+ import { I as InputText } from "./InputText-CywP4Ojh.js";
55
+ import { C as CountryField } from "./CountryField-DPtohqO0.js";
56
+ import { R as RadioGroup, a as RadioWithLabel } from "./RadioGroup-PEWX2KAj.js";
57
+ import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-DFuc8i5Q.js";
58
+ import { C as Checkbox } from "./Checkbox-D5-_dw4-.js";
59
+ import { S as Select } from "./Select-C4C8R-Ci.js";
60
+ import { C as ContextGuidance } from "./ContextGuidance-CoDkF9Kh.js";
61
+ import { C as COUNTRIES_WHICH_USE_MULTIPLE_IDENTITY_TYPES, i as individualRules, D as DECISION_MAKER_TYPES_WITH_JOBTITLE } from "./Individual.rules-DotRDPTM.js";
62
+ import { i as isTruthyValidator } from "./commonValidators-Dd4wegC9.js";
63
63
  import { T as TrustedFieldsProviders } from "./trusted-fields-provider-BgfIoSNJ.js";
64
- import { n as nameFields, N as Name } from "./Name-D8B6J9x4.js";
65
- import { t as toFullWidth, m as mapJpAddressSchemaToAddressLocalizations } from "./mapJpAddressSchemaToAddressLocalizations-DhgNqKwy.js";
66
- import { D as Dropzone } from "./Dropzone-Dled5Xv_.js";
67
- import { i as isEmpty$1 } from "./isEmpty-u6uLWpz1.js";
64
+ import { n as nameFields, N as Name } from "./Name-GILpP1SS.js";
65
+ import { t as toFullWidth, m as mapJpAddressSchemaToAddressLocalizations } from "./mapJpAddressSchemaToAddressLocalizations-D5xnQLSI.js";
66
+ import { D as Dropzone } from "./Dropzone-IwRNw22i.js";
67
+ import { i as isEmpty$1 } from "./isEmpty-DFqK5kY2.js";
68
68
  import { Onfido } from "onfido-sdk-ui";
69
- import { L as LoaderWrapper } from "./LoaderWrapper-BUn-b8AB.js";
69
+ import { L as LoaderWrapper } from "./LoaderWrapper-CU0bf3jD.js";
70
70
  import { S as Spacer } from "./Spacer-BK3jDget.js";
71
- import { T as TextArea } from "./TextArea-DI9q4r1R.js";
71
+ import { T as TextArea } from "./TextArea-Bu9ppy0I.js";
72
+ import parsePhoneNumber from "libphonenumber-js/mobile";
73
+ import phonePrefixes from "./phonePrefixes-CnL40uyX.js";
72
74
  import { e as emailPattern } from "./basePatterns-BwdnMQxI.js";
73
75
  import { f as formatObject } from "./utils-DNSfZiio.js";
74
76
  import { m as mapSchemaFieldsToApiScriptLocalization } from "./mapAddressLocalizationToJpAddressSchema-vJWbpAyq.js";
@@ -779,31 +781,33 @@ const idNumberExemptDefaultConfig = {
779
781
  label: "uploadDocumentForNric"
780
782
  }
781
783
  };
782
- const nameValidationRulesV4 = {
783
- firstName: [
784
- {
785
- modes: ["blur"],
786
- validate: (input) => !matchesRegex(NO_ALPHABET_REGEX, input),
787
- errorMessage: "nameMustContainLetters"
788
- },
789
- {
790
- modes: ["blur"],
791
- validate: (input) => !matchesRegex(EMOJI_REGEX, input) && !hasRepeatedCharacters(input) && !isInvalidName(input) && matchesRegex(INDIVIDUAL_VALID_CHAR_REGEX, input),
792
- errorMessage: "checkForTypos"
793
- }
794
- ],
795
- lastName: [
796
- {
797
- modes: ["blur"],
798
- validate: (input) => !matchesRegex(NO_ALPHABET_REGEX, input),
799
- errorMessage: "nameMustContainLetters"
800
- },
801
- {
802
- modes: ["blur"],
803
- validate: (input) => !matchesRegex(EMOJI_REGEX, input) && !hasRepeatedCharacters(input) && !isInvalidName(input) && matchesRegex(INDIVIDUAL_VALID_CHAR_REGEX, input),
804
- errorMessage: "checkForTypos"
805
- }
806
- ]
784
+ const nameValidationRulesV4 = (isFeatureEnabled = () => false) => {
785
+ return {
786
+ firstName: [
787
+ {
788
+ modes: ["blur"],
789
+ validate: (input) => !matchesRegex(NO_ALPHABET_REGEX, input),
790
+ errorMessage: "nameMustContainLetters"
791
+ },
792
+ {
793
+ modes: ["blur"],
794
+ validate: (input) => !matchesRegex(EMOJI_REGEX, input) && (isFeatureEnabled("EnableAllowTwoRepeatedCharactersInName") ? !hasMaximumTwoRepeatedCharacters(input) : !hasRepeatedCharacters(input)) && !isInvalidName(input) && matchesRegex(INDIVIDUAL_VALID_CHAR_REGEX, input),
795
+ errorMessage: "checkForTypos"
796
+ }
797
+ ],
798
+ lastName: [
799
+ {
800
+ modes: ["blur"],
801
+ validate: (input) => !matchesRegex(NO_ALPHABET_REGEX, input),
802
+ errorMessage: "nameMustContainLetters"
803
+ },
804
+ {
805
+ modes: ["blur"],
806
+ validate: (input) => !matchesRegex(EMOJI_REGEX, input) && (isFeatureEnabled("EnableAllowTwoRepeatedCharactersInName") ? !hasMaximumTwoRepeatedCharacters(input) : !hasRepeatedCharacters(input)) && !isInvalidName(input) && matchesRegex(INDIVIDUAL_VALID_CHAR_REGEX, input),
807
+ errorMessage: "checkForTypos"
808
+ }
809
+ ]
810
+ };
807
811
  };
808
812
  const isNotOutOfRangeBirthDateValidatorRule = {
809
813
  modes: ["blur"],
@@ -869,7 +873,7 @@ const additionalPersonalDetailsValidators = ({
869
873
  }
870
874
  return baseValidators;
871
875
  })(),
872
- ...isFeatureEnabled("StrictNameAndAddressValidationV4") ? nameValidationRulesV4 : void 0,
876
+ ...isFeatureEnabled("StrictNameAndAddressValidationV4") ? nameValidationRulesV4(isFeatureEnabled) : void 0,
873
877
  ...contactDetailsValidationRules,
874
878
  idNumber: (() => {
875
879
  const derivedIdNumberType = country === CountryCodes.UnitedStates || country === CountryCodes.PuertoRico ? getSSNType(formVerificationErrors, existingIdNumber) : idNumberType;
@@ -950,7 +954,7 @@ const basicDetailsValidators = ({
950
954
  country
951
955
  }) => ({
952
956
  ...contactDetailsValidationRules,
953
- ...isFeatureEnabled("StrictNameAndAddressValidationV4") ? nameValidationRulesV4 : void 0,
957
+ ...isFeatureEnabled("StrictNameAndAddressValidationV4") ? nameValidationRulesV4(isFeatureEnabled) : void 0,
954
958
  ...localizedNameValidationRulesV4(isFeatureEnabled, country)
955
959
  });
956
960
  const onfidoDocumentTypeMapping = [
@@ -1861,7 +1865,7 @@ const additionalIdentityInfoFields = [
1861
1865
  "expiryDate"
1862
1866
  ];
1863
1867
  const LazyJpAddress = lazy(
1864
- async () => (await import("./JpAddress-BDGwDEOX.js")).JpAddress
1868
+ async () => (await import("./JpAddress-BIgqDfQ0.js")).JpAddress
1865
1869
  );
1866
1870
  const additionalPersonalDetailsFields = [
1867
1871
  "birthDate",
@@ -3420,20 +3424,18 @@ function IdVerificationMethod(props) {
3420
3424
  onUpdate: handleUpdateExistingDocument
3421
3425
  }
3422
3426
  ),
3423
- disclaimer: (
3424
- // TODO - replace with Trans component
3425
- !doesUserHaveExistingDocument && /* @__PURE__ */ jsxs(Fragment, { children: [
3426
- individualT(($) => $["byContinuingToUseThisService"]),
3427
- " ",
3428
- /* @__PURE__ */ jsx(Link, { href: "https://onfido.com/facial-scan-policy-and-release/", external: true, inline: true, children: individualT(($) => $["onfidoFacialScanPolicy"]) }),
3429
- " ",
3430
- /* @__PURE__ */ jsx(Link, { href: "https://onfido.com/privacy/", external: true, inline: true, children: commonT(($) => $["privacyPolicy"]) }),
3431
- " ",
3432
- commonT(($) => $["and"]),
3433
- " ",
3434
- /* @__PURE__ */ jsx(Link, { href: "https://onfido.com/terms-of-service/", external: true, inline: true, children: commonT(($) => $["termsOfService"]) }),
3435
- "."
3436
- ] })
3427
+ disclaimer: !doesUserHaveExistingDocument && /* @__PURE__ */ jsx(
3428
+ Trans,
3429
+ {
3430
+ t: individualT,
3431
+ ns: "individual",
3432
+ i18nKey: ($) => showIndividualMotionCapture?.value ? $["byContinuingYouAcceptOnfidoPoliciesWithFacialScan"] : $["byContinuingYouAcceptOnfidoPolicies"],
3433
+ components: {
3434
+ facialScanLink: /* @__PURE__ */ jsx(Link, { href: "https://onfido.com/facial-scan-policy-and-release/", external: true, inline: true }),
3435
+ privacyLink: /* @__PURE__ */ jsx(Link, { href: "https://onfido.com/privacy/", external: true, inline: true }),
3436
+ termsLink: /* @__PURE__ */ jsx(Link, { href: "https://onfido.com/terms-of-service/", external: true, inline: true })
3437
+ }
3438
+ }
3437
3439
  )
3438
3440
  }
3439
3441
  ),
@@ -3489,13 +3491,22 @@ function IdVerificationMethod(props) {
3489
3491
  ) : void 0
3490
3492
  ] });
3491
3493
  }
3494
+ const isPhoneNumberMobile = (phoneNumber) => {
3495
+ const phoneCountryCode = phoneNumber?.phoneCountryCode ? phoneNumber?.phoneCountryCode : void 0;
3496
+ const parsedPhoneNumber = parsePhoneNumber(phoneNumber.number, phoneCountryCode);
3497
+ return Boolean(
3498
+ parsedPhoneNumber && (parsedPhoneNumber.getType() === "MOBILE" || parsedPhoneNumber.getType() === "FIXED_LINE_OR_MOBILE")
3499
+ );
3500
+ };
3492
3501
  const validateSenderNameNotEmpty = {
3493
3502
  modes: ["blur"],
3494
3503
  validate: (senderName) => !isEmpty(senderName),
3495
3504
  errorMessage: "fieldIsRequired"
3496
3505
  };
3497
- const v4NameRules = nameValidationRulesV4.firstName ?? [];
3498
- const senderNameRules = Array.isArray(v4NameRules) ? v4NameRules : [v4NameRules];
3506
+ const senderNameRules = (isFeatureEnabled = () => false) => {
3507
+ const v4NameRules = nameValidationRulesV4(isFeatureEnabled).firstName ?? [];
3508
+ return Array.isArray(v4NameRules) ? v4NameRules : [v4NameRules];
3509
+ };
3499
3510
  const validateMessageNotEmpty = {
3500
3511
  modes: ["blur"],
3501
3512
  validate: (message) => !isEmpty(message),
@@ -3511,17 +3522,29 @@ const validateEmailFormat = {
3511
3522
  validate: (email) => email ? emailPattern.test(email) : true,
3512
3523
  errorMessage: "invalidEmail"
3513
3524
  };
3514
- const validatePhoneNotEmpty = {
3525
+ const validateMobilePhoneNumberNotEmpty = {
3515
3526
  modes: ["blur"],
3516
- validate: (phone) => !isEmpty(phone?.number),
3527
+ validate: (phone) => {
3528
+ if (phone?.number && phone?.phoneCountryCode) {
3529
+ const listOfPhonePrefixes = phonePrefixes;
3530
+ const prefix = listOfPhonePrefixes[phone?.phoneCountryCode];
3531
+ return Boolean(phone.number.replace(prefix, "").trim().length);
3532
+ }
3533
+ return false;
3534
+ },
3517
3535
  errorMessage: "fieldIsRequired"
3518
3536
  };
3519
- const inviteDetailsValidators = {
3520
- senderName: [validateSenderNameNotEmpty, ...senderNameRules],
3537
+ const validateMobilePhoneNumber = {
3538
+ modes: ["blur"],
3539
+ validate: (phone) => Boolean(phone?.number && isPhoneNumberMobile(phone)),
3540
+ errorMessage: "invalidPhoneNumber"
3541
+ };
3542
+ const inviteDetailsValidators = (isFeatureEnabled = () => false) => ({
3543
+ senderName: [validateSenderNameNotEmpty, ...senderNameRules(isFeatureEnabled)],
3521
3544
  message: [validateMessageNotEmpty],
3522
3545
  email: [validateEmailNotEmpty, validateEmailFormat],
3523
- phoneNumber: [validatePhoneNotEmpty]
3524
- };
3546
+ phoneNumber: [validateMobilePhoneNumberNotEmpty, validateMobilePhoneNumber]
3547
+ });
3525
3548
  const inviteDetailsFields = [
3526
3549
  "senderName",
3527
3550
  "message",
@@ -3573,10 +3596,22 @@ function InviteDetails(props) {
3573
3596
  useEffect(() => {
3574
3597
  if (!handleFieldChange) return;
3575
3598
  handleFieldChange("email", "input")(data?.email);
3576
- handleFieldChange("phoneNumber", "input")(data?.phoneNumber);
3599
+ if (!data?.phoneNumber || !isPhoneNumberMobile(data.phoneNumber)) {
3600
+ handleFieldChange(
3601
+ "phoneNumber",
3602
+ "input"
3603
+ )({ number: "", phoneCountryCode: country, type: "mobile" });
3604
+ handleBasicDetailsChangeFor(
3605
+ "phoneNumber",
3606
+ "basicDetails",
3607
+ "input"
3608
+ )({ number: "", phoneCountryCode: country, type: "mobile" });
3609
+ } else {
3610
+ handleFieldChange("phoneNumber", "input")(data?.phoneNumber);
3611
+ }
3577
3612
  }, []);
3578
3613
  const emailValue = data?.email ?? basicDetails.email ?? "";
3579
- const phoneValue = data?.phoneNumber ?? basicDetails.phoneNumber;
3614
+ const phoneValue = data?.phoneNumber ?? basicDetails?.phoneNumber;
3580
3615
  if (!handleFieldChange) {
3581
3616
  return null;
3582
3617
  }
@@ -3616,7 +3651,7 @@ function InviteDetails(props) {
3616
3651
  data: { phoneNumber: phoneValue },
3617
3652
  valid: { phoneNumber: valid.phoneNumber ?? true },
3618
3653
  errors: { phoneNumber: errors.phoneNumber?.errorMessage },
3619
- labels: { phoneNumber: t(($) => $["mobileNumber"]) },
3654
+ label: t(($) => $["mobileNumber"]),
3620
3655
  placeholder: getPhonePlaceholder(country),
3621
3656
  optional: false,
3622
3657
  readonly: false,
@@ -4340,19 +4375,6 @@ function Individual(props) {
4340
4375
  () => isInvitedEntity ? invitedEntityDetails?.roles : calculateRoles(data),
4341
4376
  [data, invitedEntityDetails, isInvitedEntity]
4342
4377
  );
4343
- const basicDetailsReadOnlyFields = useMemo(() => {
4344
- if (!isInvitedEntity) {
4345
- return [];
4346
- }
4347
- const potentialFields = [
4348
- "firstName",
4349
- "lastName",
4350
- "jobTitle",
4351
- "email",
4352
- "phoneNumber"
4353
- ];
4354
- return potentialFields.filter((field) => !!data?.basicDetails?.[field]);
4355
- }, [data?.basicDetails, isInvitedEntity]);
4356
4378
  useEffect(() => {
4357
4379
  const currentRoles = data?.basicDetails?.role ?? [];
4358
4380
  if (areArraysDifferent(newRoles, currentRoles)) {
@@ -4421,8 +4443,7 @@ function Individual(props) {
4421
4443
  errors: errors?.basicDetails,
4422
4444
  fieldValidationErrors: fieldValidationErrors?.basicDetails,
4423
4445
  valid: valid?.basicDetails,
4424
- handleFieldChange: handleFieldChange("basicDetails"),
4425
- readOnlyFields: basicDetailsReadOnlyFields
4446
+ handleFieldChange: handleFieldChange("basicDetails")
4426
4447
  }
4427
4448
  );
4428
4449
  case idVerificationMethodFormID:
@@ -5036,7 +5057,7 @@ function IndividualDropin({
5036
5057
  t,
5037
5058
  taxIdNumberType: data2?.additionalPersonalDetails?.taxInformation?.length ? data2?.additionalPersonalDetails?.taxInformation[0]?.type : void 0
5038
5059
  }),
5039
- inviteDetails: inviteDetailsValidators
5060
+ inviteDetails: inviteDetailsValidators(isFeatureEnabled)
5040
5061
  }),
5041
5062
  [
5042
5063
  country,
@@ -5145,6 +5166,28 @@ function IndividualDropin({
5145
5166
  legalEntityTrustedFields: [],
5146
5167
  remediationFieldAsOptional: true
5147
5168
  });
5169
+ if (isInvitedEntity && derivedProps2 && dataFromResponse?.basicDetails) {
5170
+ const basicDetailsData = dataFromResponse.basicDetails;
5171
+ const potentialFields = ["jobTitle", "email", "phoneNumber"];
5172
+ const hiddenFields = new Set(
5173
+ potentialFields.filter((field) => Boolean(basicDetailsData[field]))
5174
+ );
5175
+ if (hiddenFields.size > 0) {
5176
+ const filterFields = (fields) => fields?.filter(
5177
+ (field) => !hiddenFields.has(field)
5178
+ );
5179
+ if (derivedProps2.requiredFields?.basicDetails) {
5180
+ derivedProps2.requiredFields.basicDetails = filterFields(
5181
+ derivedProps2.requiredFields.basicDetails
5182
+ );
5183
+ }
5184
+ if (derivedProps2.optionalFields?.basicDetails) {
5185
+ derivedProps2.optionalFields.basicDetails = filterFields(
5186
+ derivedProps2.optionalFields.basicDetails
5187
+ );
5188
+ }
5189
+ }
5190
+ }
5148
5191
  const updatedDerivedProps = mandateIdVerificationForMotionCapture(
5149
5192
  showIndividualMotionCapture?.value,
5150
5193
  derivedProps2
@@ -5157,7 +5200,9 @@ function IndividualDropin({
5157
5200
  legalEntityResponse,
5158
5201
  fieldsFromCustomRules,
5159
5202
  problems?.remediationActions,
5160
- problems?.missingData
5203
+ problems?.missingData,
5204
+ isInvitedEntity,
5205
+ dataFromResponse?.basicDetails
5161
5206
  ]);
5162
5207
  useEffect(() => {
5163
5208
  if (!legalEntityResponse?.documentDetails?.length) return;
@@ -9,7 +9,7 @@
9
9
  ;
10
10
  import { jsx } from "preact/jsx-runtime";
11
11
  import { useMemo } from "preact/hooks";
12
- import { a as InputBase } from "./InputText-BsC-S1uD.js";
12
+ import { a as InputBase } from "./InputText-CywP4Ojh.js";
13
13
  const checkDateInputSupport = () => {
14
14
  const input = document.createElement("input");
15
15
  input.setAttribute("type", "date");
@@ -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] = "f4bb32e8-fd4a-4bb3-bc1d-bb8c2cbc41fd", e._sentryDebugIdIdentifier = "sentry-dbid-f4bb32e8-fd4a-4bb3-bc1d-bb8c2cbc41fd");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "acc754de-724f-4ff0-9501-03af9ec9ab16", e._sentryDebugIdIdentifier = "sentry-dbid-acc754de-724f-4ff0-9501-03af9ec9ab16");
6
6
  } catch (e) {
7
7
  }
8
8
  }
@@ -11,7 +11,7 @@ import { jsx } from "preact/jsx-runtime";
11
11
  import { forwardRef } from "preact/compat";
12
12
  import { useRef, useState, useCallback, useLayoutEffect } from "preact/hooks";
13
13
  import cx from "classnames";
14
- import { x as useAnalyticsContext } from "./StoreProvider-Do1odp3Z.js";
14
+ import { x as useAnalyticsContext } from "./StoreProvider-C4og8Y8I.js";
15
15
  import { d as debouncedInputEvent } from "./debouncedInputEvent-Cv2S512Y.js";
16
16
  const InputBase = forwardRef((props, ref) => {
17
17
  const userEvents = useAnalyticsContext();
@@ -7,12 +7,12 @@
7
7
  }
8
8
  }
9
9
  ;
10
- import { w as TaskTypes, L as LegalEntityTypes, u as useTranslation, P as useLegalEntity, a as addResourceBundles, U as Loader, R as ROOT_LE, x as useAnalyticsContext, V as Button, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-Do1odp3Z.js";
10
+ import { w as TaskTypes, L as LegalEntityTypes, u as useTranslation, P as useLegalEntity, a as addResourceBundles, U as Loader, R as ROOT_LE, x as useAnalyticsContext, V as Button, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-C4og8Y8I.js";
11
11
  import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
12
12
  import { useState, useEffect } from "preact/hooks";
13
- import { S as StepProgressIndicator } from "./StepProgressIndicator-CHQ02q0R.js";
13
+ import { S as StepProgressIndicator } from "./StepProgressIndicator-DiB-t9hK.js";
14
14
  import { useMemo } from "preact/compat";
15
- import { b as useCanSeeIntroduction, c as useLegalEntityType } from "./OnboardingDropinComponent-CFcJQhCb.js";
15
+ import { b as useCanSeeIntroduction, c as useLegalEntityType } from "./OnboardingDropinComponent-CK5KIhNx.js";
16
16
  const IntroductionScreens = {
17
17
  PROLOGUE: "PROLOGUE",
18
18
  INDIVIDUAL: TaskTypes.INDIVIDUAL,
@@ -2,24 +2,24 @@
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] = "0870ab2a-8ed3-411f-83ec-2413b50b89c4", e._sentryDebugIdIdentifier = "sentry-dbid-0870ab2a-8ed3-411f-83ec-2413b50b89c4");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "91d46fb3-2dcb-4f87-b2d7-73e144ba5111", e._sentryDebugIdIdentifier = "sentry-dbid-91d46fb3-2dcb-4f87-b2d7-73e144ba5111");
6
6
  } catch (e) {
7
7
  }
8
8
  }
9
9
  ;
10
- import { b as useApiContext, k as httpGet, u as useTranslation, V as Button, Y as TASK_STATUS_POLLING_INTERVAL_MS, y as TaskStatuses, U as Loader, G as TaskVerificationStatus, ai as noop, w as TaskTypes, a as addResourceBundles, P as useLegalEntity, a8 as getLegalEntityCountry, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-Do1odp3Z.js";
10
+ import { b as useApiContext, k as httpGet, u as useTranslation, V as Button, Y as TASK_STATUS_POLLING_INTERVAL_MS, y as TaskStatuses, O as StackLayout, U as Loader, N as Typography, G as TaskVerificationStatus, ai as noop, w as TaskTypes, a as addResourceBundles, P as useLegalEntity, a8 as getLegalEntityCountry, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-C4og8Y8I.js";
11
11
  import { jsx, jsxs } from "preact/jsx-runtime";
12
12
  import { useState, useEffect, useMemo, useCallback } from "preact/hooks";
13
13
  import { useQuery } from "@tanstack/preact-query";
14
- import { a as getIndividualLegalEntityName } from "./getName-f5vInm5O.js";
14
+ import { a as getIndividualLegalEntityName } from "./getName-D3Sba-PI.js";
15
15
  import { lazy } from "preact/compat";
16
- import { I as Image } from "./unincorporated-partnership-DiT1SZMx.js";
17
- import { L as LandingLayout } from "./LandingLayout-DJR_oP_0.js";
16
+ import { I as Image } from "./unincorporated-partnership-uA1X2l53.js";
17
+ import { L as LandingLayout } from "./LandingLayout-DEgZw1-N.js";
18
18
  import { L as List } from "./List-BAzyC6sw.js";
19
- import { L as ListItem } from "./ListItem-De_7UUwH.js";
20
- import { g as getLandingLayoutProps, a as getDecisionMakerDescription, D as DecisionMakerDetails } from "./DecisionMakerDetails-BUm0ukYp.js";
21
- import { u as useTaskStatus } from "./getTrustedFields-D2WVcNYC.js";
22
- import { I as IndividualDropin } from "./IndividualDropin-CaQg4nGw.js";
19
+ import { L as ListItem } from "./ListItem-CNuX4D7n.js";
20
+ import { g as getLandingLayoutProps, a as getDecisionMakerDescription, D as DecisionMakerDetails } from "./DecisionMakerDetails-D-POvfJr.js";
21
+ import { u as useTaskStatus } from "./getTrustedFields-DUXTMWcg.js";
22
+ import { I as IndividualDropin } from "./IndividualDropin-eiRXQvS_.js";
23
23
  const getInvitedEntityAssociationData = async (invitedLegalEntityId, baseUrl) => {
24
24
  return httpGet({
25
25
  baseUrl,
@@ -101,7 +101,11 @@ const InvitedDecisionMakerSubmitSuccess = ({
101
101
  [decisionMaker, decisionMakerStatus]
102
102
  );
103
103
  if (isLoading) {
104
- return /* @__PURE__ */ jsx("div", { className: styles.invitedDecisionMakersContainer, children: /* @__PURE__ */ jsx(Loader, {}) });
104
+ return /* @__PURE__ */ jsx("div", { className: styles.invitedDecisionMakersContainer, children: /* @__PURE__ */ jsxs(StackLayout, { align: "center", gap: "xSmall", children: [
105
+ /* @__PURE__ */ jsx(Loader, { shortMessage: "", longMessage: "" }),
106
+ /* @__PURE__ */ jsx(Typography, { variant: "title-l", el: "h1", children: t(($) => $["verifyingYourDetails"]) }),
107
+ /* @__PURE__ */ jsx(Typography, { variant: "body", el: "p", color: "secondary", children: t(($) => $["thisUsuallyTakesAbout15Seconds"]) })
108
+ ] }) });
105
109
  }
106
110
  return /* @__PURE__ */ jsxs("div", { className: styles.invitedDecisionMakersContainer, children: [
107
111
  /* @__PURE__ */ jsx(
@@ -141,9 +145,9 @@ function InvitedDecisionMakerComponent({
141
145
  }
142
146
  const { i18n } = useTranslation();
143
147
  addResourceBundles(i18n, [
144
- { ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-C6dSR1jk.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-B6atm9_Q.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-Cv6XUSoW.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-BplDsJEb.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-dRK7xHn2.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-CfIM2SRF.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-Do1odp3Z.js").then((n) => n.bR), "../../../language/locales/es-ES.json": () => import("./es-ES-DRsix_Xn.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-BXiYapXy.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-BftTiz0c.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-C6jxjXAI.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-B_TEU3r4.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-CX83V9tu.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-CXlaZNIj.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-A6ArIIZ8.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-ww192lYg.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-CpHy-ZoF.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-BwWFlBOs.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-JWsSd7iY.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-CLmmSNgn.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-BJOww8U1.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-CL9VzmZE.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-Cu1T3z6k.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-CEjJ-qZG.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-BfO3xEJx.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-CMLKzwtj.js") }), `../../../language/locales/${lang}.json`, 6) },
148
+ { ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-dmpv4Zom.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-6rOIfRJu.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-C_GqHCay.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-BmWBo3gX.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-Fo7-xCrc.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-CfIM2SRF.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-C4og8Y8I.js").then((n) => n.bS), "../../../language/locales/es-ES.json": () => import("./es-ES-BkqlH093.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-H8yxvhQj.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-BfwJVwi9.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-CzjsW73Q.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-ZrpQrsik.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-Ds3go4h4.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-Dx15tkIe.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-Qu7oEIEy.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-BebOeKIA.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-CYcrO-6d.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-FbJ2sHba.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-B5BjEy8n.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-DuM6hbqZ.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-BKKQIUJP.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-CC7zlk3R.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-CuabgXj1.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-DM1yY8DA.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI--pDTatHh.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-CDxyyNV0.js") }), `../../../language/locales/${lang}.json`, 6) },
145
149
  { ns: "ui", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../ui/language/bg-BG.json": () => import("./bg-BG-zZhDshGi.js"), "../../ui/language/cs-CZ.json": () => import("./cs-CZ-Ck22NTT9.js"), "../../ui/language/da-DK.json": () => import("./da-DK-DQ4ZYSea.js"), "../../ui/language/de-DE.json": () => import("./de-DE-CkbOZ6S_.js"), "../../ui/language/el-GR.json": () => import("./el-GR-DudORw4U.js"), "../../ui/language/en-US.json": () => import("./en-US-B-qSAb-7.js"), "../../ui/language/es-ES.json": () => import("./es-ES-BAolMrZ0.js"), "../../ui/language/et-EE.json": () => import("./et-EE-BOIrYrz9.js"), "../../ui/language/fi-FI.json": () => import("./fi-FI-D8WrLxxq.js"), "../../ui/language/fr-FR.json": () => import("./fr-FR-Beljeilc.js"), "../../ui/language/hr-HR.json": () => import("./hr-HR-lIHN6Yl2.js"), "../../ui/language/hu-HU.json": () => import("./hu-HU-CWdwNCev.js"), "../../ui/language/it-IT.json": () => import("./it-IT-5a7NHVFo.js"), "../../ui/language/ja-JP.json": () => import("./ja-JP-DSvZhFNY.js"), "../../ui/language/lt-LT.json": () => import("./lt-LT-CgalYpUh.js"), "../../ui/language/lv-LV.json": () => import("./lv-LV-aAd9SEqx.js"), "../../ui/language/nl-NL.json": () => import("./nl-NL-CmURERx_.js"), "../../ui/language/no-NO.json": () => import("./no-NO-qyqWODMp.js"), "../../ui/language/pl-PL.json": () => import("./pl-PL-q9azN24o.js"), "../../ui/language/pt-BR.json": () => import("./pt-BR-BxoOF8jB.js"), "../../ui/language/pt-PT.json": () => import("./pt-PT-pIChDwiI.js"), "../../ui/language/ro-RO.json": () => import("./ro-RO-DRsaNX9j.js"), "../../ui/language/sk-SK.json": () => import("./sk-SK-7-enbO1N.js"), "../../ui/language/sl-SI.json": () => import("./sl-SI-DTvJT7fC.js"), "../../ui/language/sv-SE.json": () => import("./sv-SE-N-Hqwcjq.js") }), `../../ui/language/${lang}.json`, 5) },
146
- { ns: "individual", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../Individual/language/bg-BG.json": () => import("./bg-BG-DKld3x63.js"), "../../Individual/language/cs-CZ.json": () => import("./cs-CZ-BBLagJI6.js"), "../../Individual/language/da-DK.json": () => import("./da-DK-D9FgPh5e.js"), "../../Individual/language/de-DE.json": () => import("./de-DE-Cg_RNIr-.js"), "../../Individual/language/el-GR.json": () => import("./el-GR-ZRGBgvMu.js"), "../../Individual/language/en-US.json": () => import("./en-US-CJDkXFZ6.js"), "../../Individual/language/es-ES.json": () => import("./es-ES-BZiC4JWr.js"), "../../Individual/language/et-EE.json": () => import("./et-EE-D_NmrrzQ.js"), "../../Individual/language/fi-FI.json": () => import("./fi-FI-CEH4BfU3.js"), "../../Individual/language/fr-FR.json": () => import("./fr-FR-NxOktkWc.js"), "../../Individual/language/hr-HR.json": () => import("./hr-HR-D_MUIhtx.js"), "../../Individual/language/hu-HU.json": () => import("./hu-HU-LxStrFGU.js"), "../../Individual/language/it-IT.json": () => import("./it-IT-OppZz3gW.js"), "../../Individual/language/ja-JP.json": () => import("./ja-JP-CethQRoG.js"), "../../Individual/language/lt-LT.json": () => import("./lt-LT-CBTFJxth.js"), "../../Individual/language/lv-LV.json": () => import("./lv-LV-DTaBIHLh.js"), "../../Individual/language/nl-NL.json": () => import("./nl-NL-CYFznuWn.js"), "../../Individual/language/no-NO.json": () => import("./no-NO-BsEie1We.js"), "../../Individual/language/pl-PL.json": () => import("./pl-PL-BH_LPZJa.js"), "../../Individual/language/pt-BR.json": () => import("./pt-BR-C-YbDjn-.js"), "../../Individual/language/pt-PT.json": () => import("./pt-PT-BTbVsews.js"), "../../Individual/language/ro-RO.json": () => import("./ro-RO-C5PJhlmM.js"), "../../Individual/language/sk-SK.json": () => import("./sk-SK-DO-AqRjE.js"), "../../Individual/language/sl-SI.json": () => import("./sl-SI-CJH14wbj.js"), "../../Individual/language/sv-SE.json": () => import("./sv-SE-ZsucW_Uj.js") }), `../../Individual/language/${lang}.json`, 5) }
150
+ { ns: "individual", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../Individual/language/bg-BG.json": () => import("./bg-BG-DKld3x63.js"), "../../Individual/language/cs-CZ.json": () => import("./cs-CZ-BBLagJI6.js"), "../../Individual/language/da-DK.json": () => import("./da-DK-D9FgPh5e.js"), "../../Individual/language/de-DE.json": () => import("./de-DE-Cg_RNIr-.js"), "../../Individual/language/el-GR.json": () => import("./el-GR-ZRGBgvMu.js"), "../../Individual/language/en-US.json": () => import("./en-US-qlQTJNiL.js"), "../../Individual/language/es-ES.json": () => import("./es-ES-BZiC4JWr.js"), "../../Individual/language/et-EE.json": () => import("./et-EE-D_NmrrzQ.js"), "../../Individual/language/fi-FI.json": () => import("./fi-FI-CEH4BfU3.js"), "../../Individual/language/fr-FR.json": () => import("./fr-FR-NxOktkWc.js"), "../../Individual/language/hr-HR.json": () => import("./hr-HR-D_MUIhtx.js"), "../../Individual/language/hu-HU.json": () => import("./hu-HU-LxStrFGU.js"), "../../Individual/language/it-IT.json": () => import("./it-IT-OppZz3gW.js"), "../../Individual/language/ja-JP.json": () => import("./ja-JP-CethQRoG.js"), "../../Individual/language/lt-LT.json": () => import("./lt-LT-CBTFJxth.js"), "../../Individual/language/lv-LV.json": () => import("./lv-LV-DTaBIHLh.js"), "../../Individual/language/nl-NL.json": () => import("./nl-NL-CYFznuWn.js"), "../../Individual/language/no-NO.json": () => import("./no-NO-BsEie1We.js"), "../../Individual/language/pl-PL.json": () => import("./pl-PL-BH_LPZJa.js"), "../../Individual/language/pt-BR.json": () => import("./pt-BR-C-YbDjn-.js"), "../../Individual/language/pt-PT.json": () => import("./pt-PT-BTbVsews.js"), "../../Individual/language/ro-RO.json": () => import("./ro-RO-C5PJhlmM.js"), "../../Individual/language/sk-SK.json": () => import("./sk-SK-DO-AqRjE.js"), "../../Individual/language/sl-SI.json": () => import("./sl-SI-CJH14wbj.js"), "../../Individual/language/sv-SE.json": () => import("./sv-SE-ZsucW_Uj.js") }), `../../Individual/language/${lang}.json`, 5) }
147
151
  ]);
148
152
  const [step, setStep] = useState("landingStep");
149
153
  const { data: invitedIndividualLe } = useLegalEntity(invitedIndividualId);
@@ -190,7 +194,8 @@ function InvitedDecisionMakerComponent({
190
194
  legalEntityResponse: invitedIndividualLe,
191
195
  problems: void 0,
192
196
  country,
193
- handleHomeClick: noop,
197
+ asModal: true,
198
+ handleHomeClick: () => setStep("landingStep"),
194
199
  isInvitedEntity: true,
195
200
  invitedEntityDetails,
196
201
  onSubmit: handleSubmitSuccess
@@ -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] = "f86b5262-8da4-495b-8f95-10d77ad9c0e6", e._sentryDebugIdIdentifier = "sentry-dbid-f86b5262-8da4-495b-8f95-10d77ad9c0e6");
5
+ n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "3c098680-6efe-492b-b94c-b0127526c9dc", e._sentryDebugIdIdentifier = "sentry-dbid-3c098680-6efe-492b-b94c-b0127526c9dc");
6
6
  } catch (e) {
7
7
  }
8
8
  }
@@ -10,18 +10,18 @@
10
10
  import { jsx, jsxs } from "preact/jsx-runtime";
11
11
  import { useState, useEffect } from "preact/hooks";
12
12
  import { useQuery } from "@tanstack/preact-query";
13
- import { b as useApiContext, k as httpGet, ai as noop, u as useTranslation, H as useToggleContext, x as useAnalyticsContext, a9 as CountryCodes, N as Typography, O as StackLayout, ae as createLogger } from "./StoreProvider-Do1odp3Z.js";
14
- import { F as Field } from "./Field-DhGlekN4.js";
13
+ import { b as useApiContext, k as httpGet, ai as noop, u as useTranslation, H as useToggleContext, x as useAnalyticsContext, a9 as CountryCodes, N as Typography, O as StackLayout, ae as createLogger } from "./StoreProvider-C4og8Y8I.js";
14
+ import { F as Field } from "./Field--T3FQepj.js";
15
15
  import { L as List } from "./List-BAzyC6sw.js";
16
16
  import { S as Spacer } from "./Spacer-BK3jDget.js";
17
- import { u as useForm } from "./useForm-Chyn6I7t.js";
18
- import { I as InputText } from "./InputText-BsC-S1uD.js";
19
- import { M as MaskedInput, m as makeMask, n as numericInputs, a as nonInputs } from "./MaskedInput-BWp2Akul.js";
17
+ import { u as useForm } from "./useForm-Y4-kimHb.js";
18
+ import { I as InputText } from "./InputText-CywP4Ojh.js";
19
+ import { M as MaskedInput, m as makeMask, n as numericInputs, a as nonInputs } from "./MaskedInput-BNceotwn.js";
20
20
  import { J as JP_ADDRESS_REQUIRED_FIELDS } from "./jpAddressSchema-DEOyz9Yo.js";
21
- import { h as addressValidationRulesV4, j as addressValidationRules } from "./Address-B1q0i8VT.js";
21
+ import { h as addressValidationRulesV4, j as addressValidationRules } from "./Address-TGZeMCUA.js";
22
22
  import { u as useDebouncedCallback } from "./debouncedInputEvent-Cv2S512Y.js";
23
- import { c as convertFullToHalf } from "./TextArea-DI9q4r1R.js";
24
- import { t as toFullWidth } from "./mapJpAddressSchemaToAddressLocalizations-DhgNqKwy.js";
23
+ import { c as convertFullToHalf } from "./TextArea-Bu9ppy0I.js";
24
+ import { t as toFullWidth } from "./mapJpAddressSchemaToAddressLocalizations-D5xnQLSI.js";
25
25
  const retrieveFromPostcodeJp = async (legalEntityId, baseUrl, postalCode) => httpGet({
26
26
  baseUrl,
27
27
  path: `legalEntities/${legalEntityId}/addresses/jp/${postalCode}`
@@ -56,7 +56,7 @@ const JpAddress = ({
56
56
  const form = useForm({
57
57
  schema: JP_ADDRESS_REQUIRED_FIELDS,
58
58
  defaultData: dataProp,
59
- rules: isFeatureEnabled("StrictNameAndAddressValidationV4") ? addressValidationRulesV4(CountryCodes.Japan, t) : addressValidationRules(CountryCodes.Japan),
59
+ rules: isFeatureEnabled("StrictNameAndAddressValidationV4") ? addressValidationRulesV4(CountryCodes.Japan, t, isFeatureEnabled) : addressValidationRules(CountryCodes.Japan),
60
60
  fieldProblems: propFieldValidationErrors
61
61
  });
62
62
  let {