@sheerid/jslib-nightly 2.104.0-alpha.2 → 2.105.0-alpha.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 (259) hide show
  1. package/__tests__/e2e/collectInfo/collectInfo.spec.d.ts +1 -0
  2. package/_mysheerid-preview.css +4 -4
  3. package/_mysheerid-preview.js +30 -23
  4. package/_mysheerid-preview.js.map +1 -1
  5. package/chunk/EmailLoopPending-CKTAwQQA.js +4 -4
  6. package/chunk/EmailLoopPending-Dzs07hxx.js +4 -4
  7. package/chunk/LicensedProfessionalOrganizationComponent-BNNNPaDn.js +4 -4
  8. package/chunk/LicensedProfessionalOrganizationComponent-trZr_eIW.js +4 -4
  9. package/chunk/Onfido-CMH3IUna.js +4 -4
  10. package/chunk/StepIDCheckLoopOnfido-C9iUX8TC.js +4 -4
  11. package/chunk/StepIDCheckLoopOnfido-lChJAp_W.js +4 -4
  12. package/chunk/StepIDCheckLoopRegula-BB8xA4nn.js +4 -4
  13. package/chunk/StepIDCheckLoopRegula-D8XhToQz.js +4 -4
  14. package/chunk/StepInactiveMilitaryPersonalInfoComponent-ClKql0Nd.js +4 -4
  15. package/chunk/StepInactiveMilitaryPersonalInfoComponent-DXkei7Fp.js +4 -4
  16. package/chunk/ar-CtJ_9k3U.js +4 -4
  17. package/chunk/bg-CWxXfiDq.js +4 -4
  18. package/chunk/bn-IN-Dpq_hCqt.js +4 -4
  19. package/chunk/cs-HevyelX7.js +4 -4
  20. package/chunk/da-6QXhWjWH.js +4 -4
  21. package/chunk/de-ChuCvRLv.js +4 -4
  22. package/chunk/el-3IAhABcN.js +4 -4
  23. package/chunk/en-GB-ByNBaer-.js +4 -4
  24. package/chunk/es-CL_dUc9X.js +4 -4
  25. package/chunk/es-ES-CW4At4Ol.js +4 -4
  26. package/chunk/fi-D8cIebkk.js +4 -4
  27. package/chunk/fr-BDU-1C6f.js +4 -4
  28. package/chunk/fr-CA-Dc02rv8D.js +4 -4
  29. package/chunk/ga-P7eP-INQ.js +4 -4
  30. package/chunk/hi-IN-DlmwjoqH.js +4 -4
  31. package/chunk/hr-CT_VP_lm.js +4 -4
  32. package/chunk/hu-I8Z1uXsR.js +4 -4
  33. package/chunk/id-CUPTGKOT.js +4 -4
  34. package/chunk/index-B1579hxf.js +4 -4
  35. package/chunk/index-B4B6qxaM.js +4 -4
  36. package/chunk/index-B5okgMmp.js +4 -4
  37. package/chunk/index-B8tKf2Rd.js +4 -4
  38. package/chunk/index-B92Kfyw6.js +4 -4
  39. package/chunk/index-BDsZCFuU.js +4 -4
  40. package/chunk/index-BGGHZBWq.js +4 -4
  41. package/chunk/index-BW4s6-PH.js +4 -4
  42. package/chunk/index-BYMr8It7.js +4 -4
  43. package/chunk/index-BjaCS2a8.js +4 -4
  44. package/chunk/index-Bld-AWYE.js +4 -4
  45. package/chunk/index-BnPrfsM1.js +4 -4
  46. package/chunk/{index-QVvWIHrD.js → index-BqnEM3hj.js} +5 -5
  47. package/chunk/index-BqnEM3hj.js.map +1 -0
  48. package/chunk/{index-Bb9hNLHu.js → index-BrkIzqD1.js} +22 -19
  49. package/chunk/index-BrkIzqD1.js.map +1 -0
  50. package/chunk/index-BupTUiiS.js +4 -4
  51. package/chunk/index-BvGP9l7M.js +4 -4
  52. package/chunk/index-C7nYtBX_.js +172 -0
  53. package/chunk/index-C7nYtBX_.js.map +1 -0
  54. package/chunk/index-CCUi9Uhw.js +4 -4
  55. package/chunk/index-CEi_QkyI.js +4 -4
  56. package/chunk/index-CLCPYu7D.js +176 -0
  57. package/chunk/index-CLCPYu7D.js.map +1 -0
  58. package/chunk/index-CZjGTko2.js +4 -4
  59. package/chunk/index-CfUabHav.js +4 -4
  60. package/chunk/index-CjcHzfTY.js +4 -4
  61. package/chunk/index-Cp0C-9fh.js +4 -4
  62. package/chunk/index-Cq__fToG.js +4 -4
  63. package/chunk/index-D6oLMvTq.js +4 -4
  64. package/chunk/index-D7O7vvSe.js +4 -4
  65. package/chunk/index-DGGRPaEI.js +4 -4
  66. package/chunk/index-DIkWpujR.js +4 -4
  67. package/chunk/index-DPv0lytr.js +4 -4
  68. package/chunk/index-DSrYVtDo.js +4 -4
  69. package/chunk/index-Dba2dHcR.js +4 -4
  70. package/chunk/index-DhpucFa7.js +4 -4
  71. package/chunk/index-DnCqjuSC.js +4 -4
  72. package/chunk/index-DpYUZXus.js +4 -4
  73. package/chunk/{index-DFsuXQL_.js → index-F6_JySe5.js} +5 -5
  74. package/chunk/index-F6_JySe5.js.map +1 -0
  75. package/chunk/index-YmkMflXj.js +4 -4
  76. package/chunk/{index-DCKw4cP_.js → index-eYM75vHB.js} +22 -19
  77. package/chunk/index-eYM75vHB.js.map +1 -0
  78. package/chunk/index-iZ8pO5if.js +4 -4
  79. package/chunk/is-CUuXi4qZ.js +4 -4
  80. package/chunk/it-BNmynTsg.js +4 -4
  81. package/chunk/iw-FGzquR_X.js +4 -4
  82. package/chunk/ja-YgUpXA0l.js +4 -4
  83. package/chunk/ko-CuNS5J_M.js +4 -4
  84. package/chunk/lo-BEf8aFjR.js +4 -4
  85. package/chunk/lt-DvX1gz1a.js +4 -4
  86. package/chunk/ms-gSqM-Mfi.js +4 -4
  87. package/chunk/nl-BE-Cid5LFlN.js +4 -4
  88. package/chunk/nl-CUUTswxa.js +4 -4
  89. package/chunk/no-BvUqlShV.js +4 -4
  90. package/chunk/pl-CU8leZhI.js +4 -4
  91. package/chunk/pt-BR-CboWpHFi.js +4 -4
  92. package/chunk/pt-BnK7xRT_.js +4 -4
  93. package/chunk/ro-BfAyXxSW.js +4 -4
  94. package/chunk/ru-BD-YGPuQ.js +4 -4
  95. package/chunk/sk-CqsabpdG.js +4 -4
  96. package/chunk/sl-CeVAf0S_.js +4 -4
  97. package/chunk/sr-DSaHxcCQ.js +4 -4
  98. package/chunk/sv-DOyWYViy.js +4 -4
  99. package/chunk/sw-2Q7Jo6wp.js +4 -4
  100. package/chunk/th-BZ6F9sPf.js +4 -4
  101. package/chunk/tr-om80xrv2.js +4 -4
  102. package/chunk/uk-Dxugux8e.js +4 -4
  103. package/chunk/ur-OBILUeZ7.js +4 -4
  104. package/chunk/useCollectFieldsEndpoint-C5fsaYJe.js +4 -4
  105. package/chunk/useCollectFieldsEndpoint-kmLFyUA-.js +4 -4
  106. package/chunk/useEmailFirstExperiment-CSa3DQll.js +4 -4
  107. package/chunk/useEmailFirstExperiment-DZ1B78ke.js +4 -4
  108. package/chunk/vi-BOR2GuRI.js +4 -4
  109. package/chunk/zh-HK-BI-IHOGG.js +4 -4
  110. package/chunk/zh-eoMG5RFC.js +4 -4
  111. package/chunk/zu-D_A8wcJW.js +4 -4
  112. package/es6.css +4 -4
  113. package/jslib.js +5 -5
  114. package/lib/{EmailLoopPending-9TIqOjh0.js → EmailLoopPending-Dv5RU8aW.js} +5 -5
  115. package/lib/{EmailLoopPending-9TIqOjh0.js.map → EmailLoopPending-Dv5RU8aW.js.map} +1 -1
  116. package/lib/{LicensedProfessionalOrganizationComponent-BdlRIkjK.js → LicensedProfessionalOrganizationComponent-DtoPR91l.js} +5 -5
  117. package/lib/{LicensedProfessionalOrganizationComponent-BdlRIkjK.js.map → LicensedProfessionalOrganizationComponent-DtoPR91l.js.map} +1 -1
  118. package/lib/Onfido-CMH3IUna.js +4 -4
  119. package/lib/StepCollectMilitaryStatusComponent-DGfjdYFR.js +11 -0
  120. package/lib/{StepCollectMilitaryStatusComponent-D9AxEZrO.js.map → StepCollectMilitaryStatusComponent-DGfjdYFR.js.map} +1 -1
  121. package/lib/{StepIDCheckLoopOnfido-tTk18P23.js → StepIDCheckLoopOnfido-DiSAKwu6.js} +5 -5
  122. package/lib/{StepIDCheckLoopOnfido-tTk18P23.js.map → StepIDCheckLoopOnfido-DiSAKwu6.js.map} +1 -1
  123. package/lib/{StepIDCheckLoopRegula-BzHh3YEv.js → StepIDCheckLoopRegula-Cbr1wxzD.js} +5 -5
  124. package/lib/{StepIDCheckLoopRegula-BzHh3YEv.js.map → StepIDCheckLoopRegula-Cbr1wxzD.js.map} +1 -1
  125. package/lib/{StepInactiveMilitaryPersonalInfoComponent-DCgIcHvZ.js → StepInactiveMilitaryPersonalInfoComponent-CEneK5BB.js} +6 -6
  126. package/lib/{StepInactiveMilitaryPersonalInfoComponent-DCgIcHvZ.js.map → StepInactiveMilitaryPersonalInfoComponent-CEneK5BB.js.map} +1 -1
  127. package/lib/{VerificationApiUtils-hb7EqMfE.js → VerificationApiUtils-BaeyxwKQ.js} +5 -5
  128. package/lib/{VerificationApiUtils-hb7EqMfE.js.map → VerificationApiUtils-BaeyxwKQ.js.map} +1 -1
  129. package/lib/ar-CtJ_9k3U.js +4 -4
  130. package/lib/bg-CWxXfiDq.js +4 -4
  131. package/lib/bn-IN-Dpq_hCqt.js +4 -4
  132. package/lib/cs-HevyelX7.js +4 -4
  133. package/lib/da-6QXhWjWH.js +4 -4
  134. package/lib/de-ChuCvRLv.js +4 -4
  135. package/lib/el-3IAhABcN.js +4 -4
  136. package/lib/en-GB-ByNBaer-.js +4 -4
  137. package/lib/es-CL_dUc9X.js +4 -4
  138. package/lib/es-ES-CW4At4Ol.js +4 -4
  139. package/lib/{es6-C6MdgCMX.js → es6-DIUKg5Yl.js} +54 -47
  140. package/lib/es6-DIUKg5Yl.js.map +1 -0
  141. package/lib/fi-D8cIebkk.js +4 -4
  142. package/lib/fr-BDU-1C6f.js +4 -4
  143. package/lib/fr-CA-Dc02rv8D.js +4 -4
  144. package/lib/ga-P7eP-INQ.js +4 -4
  145. package/lib/hi-IN-DlmwjoqH.js +4 -4
  146. package/lib/hr-CT_VP_lm.js +4 -4
  147. package/lib/hu-I8Z1uXsR.js +4 -4
  148. package/lib/id-CUPTGKOT.js +4 -4
  149. package/lib/{index-D4eERCAu.js → index-348MFV_0.js} +5 -5
  150. package/lib/{index-D4eERCAu.js.map → index-348MFV_0.js.map} +1 -1
  151. package/lib/{index-vHwl9Ouo.js → index-5FO_J7_Z.js} +5 -5
  152. package/lib/{index-vHwl9Ouo.js.map → index-5FO_J7_Z.js.map} +1 -1
  153. package/lib/{index-B4tPRnWs.js → index-B8tJDCPk.js} +6 -6
  154. package/lib/{index-B4tPRnWs.js.map → index-B8tJDCPk.js.map} +1 -1
  155. package/lib/{index-N-dolDtu.js → index-BNxZc3yj.js} +5 -5
  156. package/lib/{index-N-dolDtu.js.map → index-BNxZc3yj.js.map} +1 -1
  157. package/lib/{index-qTuKj59y.js → index-BR7Obj6X.js} +5 -5
  158. package/lib/{index-qTuKj59y.js.map → index-BR7Obj6X.js.map} +1 -1
  159. package/lib/{index-B0q6ScmE.js → index-BfZIEtAp.js} +59 -56
  160. package/lib/index-BfZIEtAp.js.map +1 -0
  161. package/lib/{index-QQE4f5yZ.js → index-BwlcJZwR.js} +6 -6
  162. package/lib/{index-QQE4f5yZ.js.map → index-BwlcJZwR.js.map} +1 -1
  163. package/lib/{index-DKrXU7hs.js → index-CEOPDO2Y.js} +11 -8
  164. package/lib/index-CEOPDO2Y.js.map +1 -0
  165. package/lib/{index-Cp36Pcoi.js → index-CGjXCGni.js} +6 -6
  166. package/lib/{index-Cp36Pcoi.js.map → index-CGjXCGni.js.map} +1 -1
  167. package/lib/index-CLowb6Wx.js +11 -0
  168. package/lib/index-CLowb6Wx.js.map +1 -0
  169. package/lib/{index-cfFxpmJ0.js → index-CT2Bcg4x.js} +5 -5
  170. package/lib/{index-cfFxpmJ0.js.map → index-CT2Bcg4x.js.map} +1 -1
  171. package/lib/{index-BpszpgeX.js → index-CUzHMJTj.js} +6 -6
  172. package/lib/{index-BpszpgeX.js.map → index-CUzHMJTj.js.map} +1 -1
  173. package/lib/{index-A2uleoGr.js → index-CeXTXAJi.js} +6 -6
  174. package/lib/{index-A2uleoGr.js.map → index-CeXTXAJi.js.map} +1 -1
  175. package/lib/index-DIkWpujR.js +4 -4
  176. package/lib/index-DPs8xffH.js +11 -0
  177. package/lib/index-DPs8xffH.js.map +1 -0
  178. package/lib/index-DWo3Cysb.js +11 -0
  179. package/lib/index-DWo3Cysb.js.map +1 -0
  180. package/lib/{index-BplQ7imw.js → index-DXdjJ-86.js} +7 -7
  181. package/lib/{index-BplQ7imw.js.map → index-DXdjJ-86.js.map} +1 -1
  182. package/lib/{index-BJIfbxEt.js → index-DdQXDuhi.js} +5 -5
  183. package/lib/{index-BJIfbxEt.js.map → index-DdQXDuhi.js.map} +1 -1
  184. package/lib/{index-DyBgfOX7.js → index-LZPXbSqW.js} +5 -5
  185. package/lib/{index-DyBgfOX7.js.map → index-LZPXbSqW.js.map} +1 -1
  186. package/lib/{index-BF3H-Cda.js → index-MzEDmZWe.js} +6 -6
  187. package/lib/{index-BF3H-Cda.js.map → index-MzEDmZWe.js.map} +1 -1
  188. package/lib/index-TKSJ1nbf.js +11 -0
  189. package/lib/index-TKSJ1nbf.js.map +1 -0
  190. package/lib/{index-CZodZNg-.js → index-UiGEZV81.js} +5 -5
  191. package/lib/{index-CZodZNg-.js.map → index-UiGEZV81.js.map} +1 -1
  192. package/lib/{index-uG_slt2C.js → index-ed6oGI-U.js} +5 -5
  193. package/lib/{index-uG_slt2C.js.map → index-ed6oGI-U.js.map} +1 -1
  194. package/lib/{index-CZjkIENw.js → index-s5CW4RjM.js} +16 -16
  195. package/lib/index-s5CW4RjM.js.map +1 -0
  196. package/lib/is-CUuXi4qZ.js +4 -4
  197. package/lib/it-BNmynTsg.js +4 -4
  198. package/lib/iw-FGzquR_X.js +4 -4
  199. package/lib/ja-YgUpXA0l.js +4 -4
  200. package/lib/ko-CuNS5J_M.js +4 -4
  201. package/lib/lo-BEf8aFjR.js +4 -4
  202. package/lib/lt-DvX1gz1a.js +4 -4
  203. package/lib/ms-gSqM-Mfi.js +4 -4
  204. package/lib/nl-BE-Cid5LFlN.js +4 -4
  205. package/lib/nl-CUUTswxa.js +4 -4
  206. package/lib/no-BvUqlShV.js +4 -4
  207. package/lib/pl-CU8leZhI.js +4 -4
  208. package/lib/pt-BR-CboWpHFi.js +4 -4
  209. package/lib/pt-BnK7xRT_.js +4 -4
  210. package/lib/ro-BfAyXxSW.js +4 -4
  211. package/lib/ru-BD-YGPuQ.js +4 -4
  212. package/lib/sk-CqsabpdG.js +4 -4
  213. package/lib/sl-CeVAf0S_.js +4 -4
  214. package/lib/sr-DSaHxcCQ.js +4 -4
  215. package/lib/sv-DOyWYViy.js +4 -4
  216. package/lib/sw-2Q7Jo6wp.js +4 -4
  217. package/lib/th-BZ6F9sPf.js +4 -4
  218. package/lib/tr-om80xrv2.js +4 -4
  219. package/lib/uk-Dxugux8e.js +4 -4
  220. package/lib/ur-OBILUeZ7.js +4 -4
  221. package/lib/{useCollectFieldsEndpoint-wNz5nMBP.js → useCollectFieldsEndpoint-CS1fVgEX.js} +6 -6
  222. package/lib/{useCollectFieldsEndpoint-wNz5nMBP.js.map → useCollectFieldsEndpoint-CS1fVgEX.js.map} +1 -1
  223. package/lib/{useEmailFirstExperiment-Bk3uBcKy.js → useEmailFirstExperiment-Co9DPGhK.js} +5 -5
  224. package/lib/{useEmailFirstExperiment-Bk3uBcKy.js.map → useEmailFirstExperiment-Co9DPGhK.js.map} +1 -1
  225. package/lib/vi-BOR2GuRI.js +4 -4
  226. package/lib/zh-HK-BI-IHOGG.js +4 -4
  227. package/lib/zh-eoMG5RFC.js +4 -4
  228. package/lib/zu-D_A8wcJW.js +4 -4
  229. package/package.json +1 -1
  230. package/sheerid-install.css +4 -4
  231. package/sheerid-install.js +5 -5
  232. package/sheerid.css +4 -4
  233. package/sheerid.js +974 -967
  234. package/sheerid.js.map +1 -1
  235. package/src/lib/VerificationService/ViewModel.d.ts +5 -3
  236. package/src/lib/intl/localized-messages/en-US.json.d.ts +1 -1
  237. package/src/lib/types/types.d.ts +5 -1
  238. package/types-reference.zip +0 -0
  239. package/chunk/index-Bb9hNLHu.js.map +0 -1
  240. package/chunk/index-CblWzXDU.js +0 -169
  241. package/chunk/index-CblWzXDU.js.map +0 -1
  242. package/chunk/index-DCKw4cP_.js.map +0 -1
  243. package/chunk/index-DFsuXQL_.js.map +0 -1
  244. package/chunk/index-QVvWIHrD.js.map +0 -1
  245. package/chunk/index-UGfD9tnj.js +0 -173
  246. package/chunk/index-UGfD9tnj.js.map +0 -1
  247. package/lib/StepCollectMilitaryStatusComponent-D9AxEZrO.js +0 -11
  248. package/lib/es6-C6MdgCMX.js.map +0 -1
  249. package/lib/index-B0q6ScmE.js.map +0 -1
  250. package/lib/index-BvlWWXiT.js +0 -11
  251. package/lib/index-BvlWWXiT.js.map +0 -1
  252. package/lib/index-CJvrsSXZ.js +0 -11
  253. package/lib/index-CJvrsSXZ.js.map +0 -1
  254. package/lib/index-CZjkIENw.js.map +0 -1
  255. package/lib/index-DKrXU7hs.js.map +0 -1
  256. package/lib/index-DLUpqP9u.js +0 -11
  257. package/lib/index-DLUpqP9u.js.map +0 -1
  258. package/lib/index-wzVNqFMX.js +0 -11
  259. package/lib/index-wzVNqFMX.js.map +0 -1
@@ -1,9 +1,9 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.104.0-alpha.2
4
- * BUILD_TIMESTAMP: 1746142342273
5
- * BUILD_DATE: Thu May 01 2025 23:32:22 GMT+0000 (Coordinated Universal Time)
6
- * BUILD_COMMIT: 890118c01f0c12b348ca343732208200aed0c6c3
3
+ * VERSION: 2.105.0-alpha.0
4
+ * BUILD_TIMESTAMP: 1746202200333
5
+ * BUILD_DATE: Fri May 02 2025 16:10:00 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: 5e00bc964fbbb4f7f7b152a375026d6591cd1564
7
7
  */
8
8
  import { i as A, h as G, j as a, w as J, P as U, ae as Y, E as z, a as g, u as d, z as n, x as $, Y as Q, a8 as X, ag as Z, ah as _, ai as S, aj as c, m as L, d as m, ak as v, y as ee, B as se, $ as ae, e as oe, H as ne, G as te, J as de, M as le, K as re, f as me, V as pe, N as ie } from "../sheerid.js";
9
9
  import { u as ue, E as ge } from "./useEmailFirstExperiment-DZ1B78ke.js";
@@ -1,9 +1,9 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.104.0-alpha.2
4
- * BUILD_TIMESTAMP: 1746142342273
5
- * BUILD_DATE: Thu May 01 2025 23:32:22 GMT+0000 (Coordinated Universal Time)
6
- * BUILD_COMMIT: 890118c01f0c12b348ca343732208200aed0c6c3
3
+ * VERSION: 2.105.0-alpha.0
4
+ * BUILD_TIMESTAMP: 1746202200333
5
+ * BUILD_DATE: Fri May 02 2025 16:10:00 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: 5e00bc964fbbb4f7f7b152a375026d6591cd1564
7
7
  */
8
8
  import { j as s, n, a as l, k as r, i as j, R as N, A as y, x as S, S as g, u as f, O as w, T as C, V as o, U as M, m as _ } from "../sheerid.js";
9
9
  const k = ({ useSsn: e, useDocUpload: d, verificationService: c }) => /* @__PURE__ */ s.jsxs("div", { id: "sid-ssn-choice", className: "sid-ssn-choice-container sid-l-container sid-l-horz-center", children: [
@@ -1,9 +1,9 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.104.0-alpha.2
4
- * BUILD_TIMESTAMP: 1746142342273
5
- * BUILD_DATE: Thu May 01 2025 23:32:22 GMT+0000 (Coordinated Universal Time)
6
- * BUILD_COMMIT: 890118c01f0c12b348ca343732208200aed0c6c3
3
+ * VERSION: 2.105.0-alpha.0
4
+ * BUILD_TIMESTAMP: 1746202200333
5
+ * BUILD_DATE: Fri May 02 2025 16:10:00 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: 5e00bc964fbbb4f7f7b152a375026d6591cd1564
7
7
  */
8
8
  import { h as m, j as t, P as u, E as x, a, u as f, e as I, f as j, V as h, k as E, m as M } from "../sheerid.js";
9
9
  const C = ({ verificationService: e }) => {
@@ -1,9 +1,9 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.104.0-alpha.2
4
- * BUILD_TIMESTAMP: 1746142342273
5
- * BUILD_DATE: Thu May 01 2025 23:32:22 GMT+0000 (Coordinated Universal Time)
6
- * BUILD_COMMIT: 890118c01f0c12b348ca343732208200aed0c6c3
3
+ * VERSION: 2.105.0-alpha.0
4
+ * BUILD_TIMESTAMP: 1746202200333
5
+ * BUILD_DATE: Fri May 02 2025 16:10:00 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: 5e00bc964fbbb4f7f7b152a375026d6591cd1564
7
7
  */
8
8
  import { d as h, h as J, R as i, r as Y, j as e, w as $, P as Q, ae as X, E as k, a as g, u as t, z as d, x as Z, Y as S, af as v, _ as I, y as aa, B as sa, $ as ea, e as oa, H as la, G as na, J as ta, M as da, K as ma, f as ra, V as pa, N as ua } from "../sheerid.js";
9
9
  import { u as ha, E as ia, a as f } from "./useEmailFirstExperiment-DZ1B78ke.js";
@@ -15,7 +15,7 @@ const ga = (a, o) => h(() => a.openOrgSearchEnabled) && h(() => o.organization.i
15
15
  const G = {
16
16
  [s]: r
17
17
  };
18
- a.updateViewModel(G, !0);
18
+ a.updateViewModel(G, { partial: !0 });
19
19
  }, {
20
20
  isEmailUpTop: p,
21
21
  isEmailValidationLoading: V,
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-BqnEM3hj.js","sources":["../../src/lib/organization/organization.ts","../../src/components/StepTeacherPersonalInfo/StepTeacherPersonalInfoComponent.tsx"],"sourcesContent":["import { ProgramTheme, WithOrganization } from \"../types/types\";\nimport { getSafe } from \"../utils/getSafe\";\n\nexport const shouldCollectPostalCode = (programTheme: ProgramTheme, viewModel: WithOrganization) =>\n getSafe(() => programTheme.openOrgSearchEnabled) &&\n getSafe(() => viewModel.organization.id) === 0 &&\n getSafe(() => viewModel.organization.name, \"\").length > 0;\n","/* eslint-disable */\nimport React, { useEffect } from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\n\nimport { shouldCollectPostalCode } from \"../../lib/organization/organization\";\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport {\n CustomFormFieldConfig,\n Organization,\n TeacherPersonalInfoResponse,\n TeacherPersonalInfoViewModel,\n VerificationService,\n} from \"../../lib/types/types\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\n\nimport { getOptions } from \"../../options/options\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { PostalCodeComponent } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { TeacherSchoolComponent } from \"../FormFields/TeacherSchool/TeacherSchoolComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { LoadingSpinnerComponent } from \"../LoadingSpinner/LoadingSpinnerComponent\";\nimport EmailLookupResponseMessages from \"../FormFields/EmailFirstCollectInfo/EmailLookupResponseMessageComponent\";\nimport { useEmailFirstExperiment } from \"../FormFields/EmailFirstCollectInfo/useEmailFirstExperiment\";\nimport { EmailLookupStatus } from \"../FormFields/EmailFirstCollectInfo/types\";\n\ninterface StepTeacherPersonalInfoComponentProps {\n verificationService: VerificationService<TeacherPersonalInfoViewModel>;\n}\n\nconst StepTeacherPersonalInfo = ({\n verificationService,\n}: StepTeacherPersonalInfoComponentProps) => {\n const { viewModel } = verificationService;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as TeacherPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const options = getOptions();\n const locale = viewModel.localeChoice.value;\n const updateTeacherViewModel = (key: keyof TeacherPersonalInfoViewModel, value: any) => {\n const nextState = {\n [key]: value,\n };\n verificationService.updateViewModel(nextState, { partial: true });\n };\n\n // #region collect-info-step-email-first\n const {\n isEmailUpTop,\n isEmailValidationLoading,\n showFormFields,\n emailLookupResponse,\n emailOnBlur,\n emailOnKeyDown,\n handleResendClick,\n showEmailLookupResponseMessages,\n isValidEmail,\n getOrgByDomain,\n enableFormFields,\n handleOnClickProceedHere,\n } = useEmailFirstExperiment(\n verificationService.programId,\n viewModel.email,\n verificationService.verificationResponse.segment,\n );\n const [orgByEmailDomain, setOrgByEmailDomain] = React.useState<Organization | null>(null);\n const [selectedOrganization, setSelectedOrganization] = React.useState<Organization | null>(null);\n\n React.useEffect(() => {\n const fetchOrg = async () => {\n if (\n viewModel.email &&\n isValidEmail &&\n emailLookupResponse &&\n emailLookupResponse.status === EmailLookupStatus.NOT_FOUND\n ) {\n const org = await getOrgByDomain(verificationService);\n if (org) {\n setOrgByEmailDomain(org);\n updateViewModelOrganization(org, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", org, verificationService);\n }\n } else {\n setOrgByEmailDomain(null);\n }\n };\n\n if (isValidEmail && emailLookupResponse) {\n fetchOrg();\n }\n }, [viewModel.email, isValidEmail, emailLookupResponse?.status]);\n // #endregion collect-info-step-email-first\n\n // Don't validate DOB if ID Check is not enabled\n useEffect(() => {\n if (!verificationService.programTheme.idCheckAddOnEnabled) {\n updateTeacherViewModel(\"birthDate\", \"\");\n updateTeacherViewModel(\"fieldsToSkipValidation\", [\"birthDate\"]);\n } else {\n updateTeacherViewModel(\"fieldsToSkipValidation\", []);\n }\n }, [verificationService.programTheme.idCheckAddOnEnabled]);\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"teacher-personal-info\"\n />\n {\n // #region email-first-experiment\n isEmailUpTop && (\n <>\n <div className=\"email-input-wrapper\">\n {isEmailValidationLoading && (\n <div className=\"email-input-wrapper-frame\">\n <div className=\"sid-spinner scaled\">\n <LoadingSpinnerComponent />\n </div>\n </div>\n )}\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Must be your school-issued email address\"\n />\n }\n onChange={(newValue) => {\n updateTeacherViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={emailOnKeyDown}\n onBlur={emailOnBlur}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n </div>\n </>\n )\n // #endregion email-first-experiment\n }\n {showEmailLookupResponseMessages && emailLookupResponse && isValidEmail && (\n <EmailLookupResponseMessages\n emailLookupResponse={emailLookupResponse}\n onResendClick={handleResendClick}\n onHandleClickLink={handleOnClickProceedHere}\n />\n )}\n {showFormFields && (\n <>\n <div className={enableFormFields || !isEmailUpTop ? \"\" : \"sid-disable-elements\"}>\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n <TeacherSchoolComponent\n value={\n selectedOrganization ||\n (isEmailUpTop &&\n emailLookupResponse?.status === EmailLookupStatus.NOT_FOUND &&\n orgByEmailDomain) ||\n verificationService.viewModel.organization\n }\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.organization}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n onChange={(choice: Organization) => {\n setSelectedOrganization(choice);\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n />\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateTeacherViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateTeacherViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n {verificationService.programTheme.idCheckAddOnEnabled ? (\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n onChange={(newValue) => {\n updateTeacherViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n />\n ) : null}\n {!isEmailUpTop && (\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Must be your school-issued email address\"\n />\n }\n onChange={(newValue) => {\n updateTeacherViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n )}\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateTeacherViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\n \"phoneNumber\",\n newValue,\n verificationService,\n );\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n {shouldCollectPostalCode(verificationService.programTheme, viewModel) ? (\n <PostalCodeComponent\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateTeacherViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n />\n ) : null}\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateTeacherViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\n \"marketConsentValue\",\n newValue,\n verificationService,\n );\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectTeacherPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Teacher Status\"\n />\n }\n />\n </div>\n </>\n )}\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepTeacherPersonalInfoComponent = StepTeacherPersonalInfo;\nfunction userDidConvert(COLLECT_INFO_SUBMIT: any, COLLECT_INFO_SUBMISSION_TIME: any) {\n throw new Error(\"Function not implemented.\");\n}\n"],"names":["shouldCollectPostalCode","programTheme","viewModel","getSafe","StepTeacherPersonalInfo","verificationService","fieldValidationErrors","verificationResponse","failedInstantMatch","hasFailedInstantMatch","options","getOptions","locale","updateTeacherViewModel","key","value","nextState","isEmailUpTop","isEmailValidationLoading","showFormFields","emailLookupResponse","emailOnBlur","emailOnKeyDown","handleResendClick","showEmailLookupResponseMessages","isValidEmail","getOrgByDomain","enableFormFields","handleOnClickProceedHere","useEmailFirstExperiment","orgByEmailDomain","setOrgByEmailDomain","React","selectedOrganization","setSelectedOrganization","EmailLookupStatus","org","updateViewModelOrganization","updateFieldValidationErrorsByFieldId","useEffect","jsxs","PersonalInfoWrapper","jsx","PersonalInfoHeader","Fragment","LoadingSpinnerComponent","Email","FormattedHTMLMessage","newValue","_a","getFieldConfigByFieldId","EmailLookupResponseMessages","ChangeLocaleV2Component","CountryComponentWrapper","_b","TeacherSchoolComponent","_c","choice","FirstName","_d","LastName","_e","BirthDate","_f","event","handleEmailOnKeyDown","_g","PhoneNumber","_h","PostalCodeComponent","_i","config","FormFieldCustom","MarketConsentWrapper","_j","ExtraMessage","PersonalInfoStepSubmitButton","VerificationStepsEnum","StepTeacherPersonalInfoComponent"],"mappings":";;AAGa,MAAAA,KAA0B,CAACC,GAA4BC,MAClEC,EAAQ,MAAMF,EAAa,oBAAoB,KAC/CE,EAAQ,MAAMD,EAAU,aAAa,EAAE,MAAM,KAC7CC,EAAQ,MAAMD,EAAU,aAAa,MAAM,EAAE,EAAE,SAAS,GCwCpDE,KAA0B,CAAC;AAAA,EAC/B,qBAAAC;AACF,MAA6C;;AACrC,QAAA,EAAE,WAAAH,EAAc,IAAAG,GAChB,EAAE,uBAAAC,EAA0B,IAAAD,GAC5BE,IACJF,EAAoB,sBAChBG,IAAqBC,EAAsBF,CAAoB,GAC/DG,IAAUC,MACVC,IAASV,EAAU,aAAa,OAChCW,IAAyB,CAACC,GAAyCC,MAAe;AACtF,UAAMC,IAAY;AAAA,MAChB,CAACF,CAAG,GAAGC;AAAA,IAAA;AAET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QAAO,qBAAqB,CAAA;AAAA,UACpFqC,gBAAAA,EAAA;AAAA,YAACkC;AAAA,YAAA;AAAA,cACC,MAAMC,GAAsB;AAAA,cAC5B,qBAAAxE;AAAA,cACA,WAAAH;AAAA,cACA,oBAAAM;AAAA,cACA,YACEkC,gBAAAA,EAAA;AAAA,gBAACK;AAAA,gBAAA;AAAA,kBACC,IAAG;AAAA,kBACH,gBAAe;AAAA,gBAAA;AAAA,cACjB;AAAA,YAAA;AAAA,UAEJ;AAAA,QAAA,EAAA,CACF,EACF,CAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAIR,GAEa+B,KAAmC1E;"}
@@ -4,12 +4,12 @@
4
4
  * This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
5
5
  */
6
6
  /**
7
- * VERSION: 2.104.0-alpha.2
8
- * BUILD_TIMESTAMP: 1746142396526
9
- * BUILD_DATE: Thu May 01 2025 23:33:16 GMT+0000 (Coordinated Universal Time)
10
- * BUILD_COMMIT: 890118c01f0c12b348ca343732208200aed0c6c3
7
+ * VERSION: 2.105.0-alpha.0
8
+ * BUILD_TIMESTAMP: 1746202258802
9
+ * BUILD_DATE: Fri May 02 2025 16:10:58 GMT+0000 (Coordinated Universal Time)
10
+ * BUILD_COMMIT: 5e00bc964fbbb4f7f7b152a375026d6591cd1564
11
11
  */
12
- import { i as $, h as G, R as U, j as s, w as Y, P as J, ae as _, E as F, a as m, u as t, z as l, x as Q, Y as X, a8 as Z, ag as S, an as v, ao as ee, ap as ae, _ as se, y as oe, B as le, $ as ne, G as te, e as de, H as me, a0 as re, J as ie, M as pe, K as ue, f as be, V as ge, N as Ce, a7 as xe } from "../_mysheerid-preview.js";
12
+ import { i as $, h as G, R as U, j as s, w as Y, P as J, ae as _, E as F, a as r, u as t, z as l, x as Q, Y as X, a8 as Z, ag as S, an as v, ao as ee, ap as ae, _ as se, y as oe, B as le, $ as ne, G as te, e as de, H as re, a0 as me, J as ie, M as pe, K as ue, f as be, V as ge, N as Ce, a7 as xe } from "../_mysheerid-preview.js";
13
13
  import { u as he } from "./useCollectFieldsEndpoint-C5fsaYJe.js";
14
14
  import { u as Me, E as Ee } from "./useEmailFirstExperiment-CSa3DQll.js";
15
15
  const Ie = {
@@ -30,12 +30,12 @@ const Ie = {
30
30
  verificationService: a
31
31
  }) => {
32
32
  var g, C, x, h, M, E, I, j, N, y, f, P, c;
33
- const o = a.viewModel, { fieldValidationErrors: n } = a, r = a.verificationResponse, k = G(r), L = Ce(), D = o.localeChoice.value, d = (e, A) => {
33
+ const o = a.viewModel, { fieldValidationErrors: n } = a, m = a.verificationResponse, k = G(m), L = Ce(), D = o.localeChoice.value, d = (e, A) => {
34
34
  const W = xe(o, e, A);
35
35
  a.updateViewModel(W);
36
36
  }, { isFieldOptional: K } = he({
37
- verificationId: r.verificationId,
38
- currentStep: r.currentStep,
37
+ verificationId: m.verificationId,
38
+ currentStep: m.currentStep,
39
39
  viewModel: o
40
40
  }), p = K("memberId"), {
41
41
  isEmailUpTop: u,
@@ -54,12 +54,15 @@ const Ie = {
54
54
  a.verificationResponse.segment
55
55
  );
56
56
  return U.useEffect(() => {
57
- p ? a.updateViewModel({ fieldsToSkipValidation: [] }, !0) : a.updateViewModel({ fieldsToSkipValidation: ["memberId"] }, !0);
57
+ p ? a.updateViewModel({ fieldsToSkipValidation: [] }, { partial: !0 }) : a.updateViewModel(
58
+ { fieldsToSkipValidation: ["memberId"] },
59
+ { partial: !0 }
60
+ );
58
61
  }, [p]), /* @__PURE__ */ s.jsxs(
59
62
  Y,
60
63
  {
61
64
  verificationService: a,
62
- step: r.currentStep,
65
+ step: m.currentStep,
63
66
  children: [
64
67
  /* @__PURE__ */ s.jsx(
65
68
  J,
@@ -77,7 +80,7 @@ const Ie = {
77
80
  value: o.email,
78
81
  isErrored: !!n.email,
79
82
  explanation: /* @__PURE__ */ s.jsx(
80
- m,
83
+ r,
81
84
  {
82
85
  id: "emailExplanation",
83
86
  defaultMessage: "Personal email address is recommended"
@@ -122,7 +125,7 @@ const Ie = {
122
125
  )
123
126
  },
124
127
  isErrored: !!n.status,
125
- options: ee(i, r.availableStatuses),
128
+ options: ee(i, m.availableStatuses),
126
129
  disabled: (x = l("status")) == null ? void 0 : x.disabled,
127
130
  onChange: (e) => {
128
131
  d("status", e ? e.value : ""), t(
@@ -191,7 +194,7 @@ const Ie = {
191
194
  value: o.postalCode,
192
195
  disabled: (j = l("postalCode")) == null ? void 0 : j.disabled,
193
196
  explanation: /* @__PURE__ */ s.jsx(
194
- m,
197
+ r,
195
198
  {
196
199
  id: "postalCodeExplanation",
197
200
  defaultMessage: "Use the location on file with your licensing body"
@@ -205,7 +208,7 @@ const Ie = {
205
208
  value: o.email,
206
209
  isErrored: !!n.email,
207
210
  explanation: /* @__PURE__ */ s.jsx(
208
- m,
211
+ r,
209
212
  {
210
213
  id: "emailExplanation",
211
214
  defaultMessage: "Needed to send you your unique code"
@@ -219,7 +222,7 @@ const Ie = {
219
222
  }
220
223
  ),
221
224
  a.programTheme.isSmsNotifierConfigured || a.programTheme.smsLoopEnabled ? /* @__PURE__ */ s.jsx(
222
- me,
225
+ re,
223
226
  {
224
227
  isRequired: !!a.programTheme.smsLoopEnabled,
225
228
  value: o.phoneNumber,
@@ -232,7 +235,7 @@ const Ie = {
232
235
  }
233
236
  ) : null,
234
237
  p && /* @__PURE__ */ s.jsx(
235
- re,
238
+ me,
236
239
  {
237
240
  value: o.memberId,
238
241
  isErrored: !!n.memberId,
@@ -242,14 +245,14 @@ const Ie = {
242
245
  d("memberId", e), t("memberId", e, a);
243
246
  },
244
247
  explanation: /* @__PURE__ */ s.jsx(
245
- m,
248
+ r,
246
249
  {
247
250
  id: R(o.country).explanationKey,
248
251
  defaultMessage: "Your Professional Membership Registration Number"
249
252
  }
250
253
  ),
251
254
  label: /* @__PURE__ */ s.jsx(
252
- m,
255
+ r,
253
256
  {
254
257
  id: R(o.country).labelKey,
255
258
  defaultMessage: "Registration Number"
@@ -286,7 +289,7 @@ const Ie = {
286
289
  viewModel: o,
287
290
  failedInstantMatch: k,
288
291
  buttonText: /* @__PURE__ */ s.jsx(
289
- m,
292
+ r,
290
293
  {
291
294
  id: "step.personalInfo.submitButtonText",
292
295
  defaultMessage: "Verify My Medical Professional Status"
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-BrkIzqD1.js","sources":["../../src/components/StepMedicalProfessionalPersonalInfo/StepMedicalProfessionalPersonalInfoComponent.tsx"],"sourcesContent":["/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\n\nimport { useCollectFieldsEndpoint } from \"@/lib/ServerApi/useCollectFieldsEndpoint\";\nimport {\n VerificationStepsEnum,\n MedicalProfessionalStatusDefaultMessagesEnum,\n} from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n VerificationService,\n FormSelectChoice,\n Organization,\n MedicalProfessionalPersonalInfoViewModel,\n MedicalProfessionalPersonalInfoResponse,\n CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n produceDraftViewModel,\n getStatusLabel,\n getAvailableMedicalStatuses,\n getFieldConfigByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PostalCodeComponent as PostalCode } from \"../FormFields/PostalCode/PostalCodeComponent\";\nimport { StatusComponent as MedicalStatus } from \"../FormFields/Status/StatusComponent\";\nimport { MedicalProfessionalOrganizationComponent as MedicalProfessionalOrganization } from \"../FormFields/MedicalProfessionalOrganization/MedicalProfessionalOrganizationComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { MemberIdComponent as MemberId } from \"../FormFields/MemberId/MemberIdComponent\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport EmailLookupResponseMessages from \"../FormFields/EmailFirstCollectInfo/EmailLookupResponseMessageComponent\";\nimport { LoadingSpinnerComponent } from \"../LoadingSpinner/LoadingSpinnerComponent\";\nimport { useEmailFirstExperiment } from \"../FormFields/EmailFirstCollectInfo/useEmailFirstExperiment\";\n\ninterface StepMedicalProfessionalPersonalInfoComponentProps {\n verificationService: VerificationService;\n intl: any;\n}\n\ntype MemberIdFieldType =\n | \"registrationNumber\"\n | \"numeroColegiado\"\n | \"autorisationsId\"\n | \"globalLocationNumber\"\n | \"gbrNummer\";\n\nconst memberIdMessageKeysByCountry: Record<string, MemberIdFieldType> = {\n AT: \"gbrNummer\",\n ES: \"numeroColegiado\",\n DK: \"autorisationsId\",\n CH: \"globalLocationNumber\",\n IE: \"registrationNumber\",\n GB: \"registrationNumber\",\n};\n\nconst getMemberIdMessageKeys = (country: string) => {\n const memberIdFieldType: MemberIdFieldType =\n memberIdMessageKeysByCountry[country] || \"registrationNumber\";\n return {\n labelKey: `step.collectMedicalPersonalInfo.${memberIdFieldType}Label`,\n explanationKey: `step.collectMedicalPersonalInfo.${memberIdFieldType}Explanation`,\n };\n};\n\nexport const StepMedicalProfessionalPersonalInfo = ({\n intl,\n verificationService,\n}: StepMedicalProfessionalPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as MedicalProfessionalPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as MedicalProfessionalPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const options = getOptions();\n\n const locale = viewModel.localeChoice.value;\n\n const updateMedicalProfessionalViewModel = (\n key: keyof MedicalProfessionalPersonalInfoViewModel,\n value: any,\n ) => {\n const nextState = produceDraftViewModel(viewModel, key, value);\n verificationService.updateViewModel(nextState);\n };\n\n const { isFieldOptional } = useCollectFieldsEndpoint({\n verificationId: verificationResponse.verificationId,\n currentStep: verificationResponse.currentStep,\n viewModel,\n });\n const shouldRenderMemberId = isFieldOptional(\"memberId\");\n\n // #region collect-info-step-email-first\n\n const {\n isEmailUpTop,\n isEmailValidationLoading,\n showFormFields,\n emailLookupResponse,\n emailOnBlur,\n emailOnKeyDown,\n handleResendClick,\n showEmailLookupResponseMessages,\n enableFormFields,\n handleOnClickProceedHere,\n } = useEmailFirstExperiment(\n verificationService.programId,\n viewModel.email,\n verificationService.verificationResponse.segment,\n );\n // #endregion collect-info-step-email-first\n\n React.useEffect(() => {\n // If the memberId field is not rendered, we shouldn't validate it\n // partially update to avoid clobbering the rest of the viewModel\n if (shouldRenderMemberId) {\n verificationService.updateViewModel({ fieldsToSkipValidation: [] }, { partial: true });\n } else {\n verificationService.updateViewModel(\n { fieldsToSkipValidation: [\"memberId\"] },\n { partial: true },\n );\n }\n }, [shouldRenderMemberId]);\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"medical-personal-info\"\n />\n\n {\n // #region email-first-experiment\n isEmailUpTop && (\n <div className=\"email-input-wrapper\">\n {isEmailValidationLoading && (\n <div className=\"email-input-wrapper-frame\">\n <div className=\"transform-scale\">\n <LoadingSpinnerComponent />\n </div>\n </div>\n )}\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Personal email address is recommended\"\n />\n }\n onChange={(newValue) => {\n updateMedicalProfessionalViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={emailOnKeyDown}\n onBlur={emailOnBlur}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n </div>\n )\n // #endregion email-first-experiment\n }\n {showEmailLookupResponseMessages && emailLookupResponse && (\n <EmailLookupResponseMessages\n emailLookupResponse={emailLookupResponse}\n onResendClick={handleResendClick}\n onHandleClickLink={handleOnClickProceedHere}\n />\n )}\n {showFormFields && (\n <div className={enableFormFields || !isEmailUpTop ? \"\" : \"sid-disable-elements\"}>\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n <MedicalStatus\n segmentId=\"medical\"\n value={{\n value: viewModel.status,\n label: getStatusLabel(\n intl,\n viewModel.status,\n MedicalProfessionalStatusDefaultMessagesEnum,\n ),\n }}\n isErrored={!!fieldValidationErrors.status}\n options={getAvailableMedicalStatuses(intl, verificationResponse.availableStatuses)}\n disabled={getFieldConfigByFieldId(\"status\")?.disabled}\n onChange={(status: FormSelectChoice) => {\n updateMedicalProfessionalViewModel(\"status\", status ? (status.value as string) : \"\");\n updateFieldValidationErrorsByFieldId(\n \"status\",\n status ? (status.value as string) : \"\",\n verificationService,\n );\n }}\n />\n <MedicalProfessionalOrganization\n isErrored={!!fieldValidationErrors.organization}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n value={\n (verificationService.viewModel as MedicalProfessionalPersonalInfoViewModel)\n .organization\n }\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n />\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateMedicalProfessionalViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateMedicalProfessionalViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n onChange={(newValue) => {\n updateMedicalProfessionalViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n />\n <PostalCode\n isErrored={!!fieldValidationErrors.postalCode}\n onChange={(newValue) => {\n updateMedicalProfessionalViewModel(\"postalCode\", newValue);\n updateFieldValidationErrorsByFieldId(\"postalCode\", newValue, verificationService);\n }}\n value={viewModel.postalCode}\n disabled={getFieldConfigByFieldId(\"postalCode\")?.disabled}\n explanation={\n <FormattedHTMLMessage\n id=\"postalCodeExplanation\"\n defaultMessage=\"Use the location on file with your licensing body\"\n />\n }\n />\n {!isEmailUpTop && (\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Needed to send you your unique code\"\n />\n }\n onChange={(newValue) => {\n updateMedicalProfessionalViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n )}\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateMedicalProfessionalViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n {shouldRenderMemberId && (\n <MemberId\n value={viewModel.memberId}\n isErrored={!!fieldValidationErrors.memberId}\n isRequired={getFieldConfigByFieldId(\"memberId\")?.requireIfOptional}\n disabled={getFieldConfigByFieldId(\"memberId\")?.disabled}\n onChange={(newValue) => {\n updateMedicalProfessionalViewModel(\"memberId\", newValue);\n updateFieldValidationErrorsByFieldId(\"memberId\", newValue, verificationService);\n }}\n explanation={\n <FormattedHTMLMessage\n id={getMemberIdMessageKeys(viewModel.country).explanationKey}\n defaultMessage=\"Your Professional Membership Registration Number\"\n />\n }\n label={\n <FormattedHTMLMessage\n id={getMemberIdMessageKeys(viewModel.country).labelKey}\n defaultMessage=\"Registration Number\"\n />\n }\n />\n )}\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n <MarketConsentWrapper\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateMedicalProfessionalViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\n \"marketConsentValue\",\n newValue,\n verificationService,\n );\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectMedicalProfessionalPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Medical Professional Status\"\n />\n }\n />\n </div>\n )}\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepMedicalProfessionalPersonalInfoComponent = injectIntl(\n StepMedicalProfessionalPersonalInfo,\n);\n"],"names":["memberIdMessageKeysByCountry","getMemberIdMessageKeys","country","memberIdFieldType","StepMedicalProfessionalPersonalInfo","intl","verificationService","viewModel","fieldValidationErrors","verificationResponse","failedInstantMatch","hasFailedInstantMatch","options","getOptions","locale","updateMedicalProfessionalViewModel","key","value","nextState","produceDraftViewModel","isFieldOptional","useCollectFieldsEndpoint","shouldRenderMemberId","isEmailUpTop","isEmailValidationLoading","showFormFields","emailLookupResponse","emailOnBlur","emailOnKeyDown","handleResendClick","showEmailLookupResponseMessages","enableFormFields","handleOnClickProceedHere","useEmailFirstExperiment","React","jsxs","PersonalInfoWrapper","jsx","PersonalInfoHeader","LoadingSpinnerComponent","Email","FormattedHTMLMessage","newValue","updateFieldValidationErrorsByFieldId","_a","getFieldConfigByFieldId","EmailLookupResponseMessages","ChangeLocaleV2Component","CountryComponentWrapper","_b","MedicalStatus","getStatusLabel","MedicalProfessionalStatusDefaultMessagesEnum","getAvailableMedicalStatuses","_c","status","MedicalProfessionalOrganization","choice","updateViewModelOrganization","_d","FirstName","_e","LastName","_f","BirthDate","_g","PostalCode","_h","event","handleEmailOnKeyDown","_i","PhoneNumber","_j","MemberId","_k","_l","config","FormFieldCustom","MarketConsentWrapper","_m","ExtraMessage","PersonalInfoStepSubmitButton","VerificationStepsEnum","StepMedicalProfessionalPersonalInfoComponent","inject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AEJ;AAAA,cACA,WAAAC;AAAA,cACA,WAAUwE,IAAAlC,EAAwB,oBAAoB,MAA5C,gBAAAkC,EAA+C;AAAA,YAAA;AAAA,UAC3D;AAAA,UACC1C,gBAAAA,EAAAA,IAAA2C,IAAA,EAAa,qBAAA1E,GAA0C,QAAO,qBAAqB,CAAA;AAAA,UACpF+B,gBAAAA,EAAA;AAAA,YAAC4C;AAAA,YAAA;AAAA,cACC,MAAMC,GAAsB;AAAA,cAC5B,qBAAA5E;AAAA,cACA,WAAAC;AAAA,cACA,oBAAAG;AAAA,cACA,YACE2B,gBAAAA,EAAA;AAAA,gBAACI;AAAA,gBAAA;AAAA,kBACC,IAAG;AAAA,kBACH,gBAAe;AAAA,gBAAA;AAAA,cACjB;AAAA,YAAA;AAAA,UAEJ;AAAA,QAAA,GACF;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAIR,GAEa0C,KAA+CC;AAAA,EAC1DhF;AACF;"}
@@ -1,9 +1,9 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.104.0-alpha.2
4
- * BUILD_TIMESTAMP: 1746142342273
5
- * BUILD_DATE: Thu May 01 2025 23:32:22 GMT+0000 (Coordinated Universal Time)
6
- * BUILD_COMMIT: 890118c01f0c12b348ca343732208200aed0c6c3
3
+ * VERSION: 2.105.0-alpha.0
4
+ * BUILD_TIMESTAMP: 1746202200333
5
+ * BUILD_DATE: Fri May 02 2025 16:10:00 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: 5e00bc964fbbb4f7f7b152a375026d6591cd1564
7
7
  */
8
8
  import { r as s, g as t, j as o, L as n, I as r, Q as a } from "../sheerid.js";
9
9
  const i = s.lazy(
@@ -1,9 +1,9 @@
1
1
 
2
2
  /**
3
- * VERSION: 2.104.0-alpha.2
4
- * BUILD_TIMESTAMP: 1746142342273
5
- * BUILD_DATE: Thu May 01 2025 23:32:22 GMT+0000 (Coordinated Universal Time)
6
- * BUILD_COMMIT: 890118c01f0c12b348ca343732208200aed0c6c3
3
+ * VERSION: 2.105.0-alpha.0
4
+ * BUILD_TIMESTAMP: 1746202200333
5
+ * BUILD_DATE: Fri May 02 2025 16:10:00 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: 5e00bc964fbbb4f7f7b152a375026d6591cd1564
7
7
  */
8
8
  import { m as ye, aW as Pe, aX as q, aY as Z, aZ as xt, r as f, R as bt, a_ as g, j as t, aN as u, a$ as n, a as h, i as yt, al as Ce, av as It, g as Et, b0 as vt, d as Ut, b1 as ze, n as jt, A as Dt, b2 as _t, U as At, b3 as Rt, b4 as wt, b5 as Ft, k as Nt, l as Oe, V as ge, b6 as Ct, b7 as Ot, b8 as Tt, b9 as St } from "../sheerid.js";
9
9
  import { P as Lt } from "./StepIDCheckLoopRegula-D8XhToQz.js";
@@ -0,0 +1,172 @@
1
+
2
+ /**
3
+ * VERSION: 2.105.0-alpha.0
4
+ * BUILD_TIMESTAMP: 1746202200333
5
+ * BUILD_DATE: Fri May 02 2025 16:10:00 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: 5e00bc964fbbb4f7f7b152a375026d6591cd1564
7
+ */
8
+ import { h as R, z as t, R as P, j as s, w as T, P as k, x as z, Y as q, Z as B, _ as O, u as n, y as w, B as L, E as H, a as j, e as K, $ as W, a0 as A, H as J, J as Y, M as Z, K as _, f as $, V as G, N as Q, m as U } from "../sheerid.js";
9
+ const X = ({ verificationService: e }) => {
10
+ var p, b, u, h, C, i, x, M, g, I, N;
11
+ const o = e.viewModel, { fieldValidationErrors: d } = e, r = e.verificationResponse, E = R(r), y = Q(), m = (p = t("memberId")) == null ? void 0 : p.requireIfOptional, F = o.localeChoice.value, l = (a, f) => {
12
+ const V = U(
13
+ o,
14
+ (D) => {
15
+ D[a] = f;
16
+ }
17
+ );
18
+ e.updateViewModel(V);
19
+ };
20
+ return P.useEffect(() => {
21
+ m ? e.updateViewModel({ fieldsToSkipValidation: [] }, { partial: !0 }) : e.updateViewModel(
22
+ { fieldsToSkipValidation: ["memberId"] },
23
+ { partial: !0 }
24
+ );
25
+ }, [m]), /* @__PURE__ */ s.jsxs(
26
+ T,
27
+ {
28
+ verificationService: e,
29
+ step: r.currentStep,
30
+ children: [
31
+ /* @__PURE__ */ s.jsx(
32
+ k,
33
+ {
34
+ verificationService: e,
35
+ classNameIdentifier: "member-personal-info"
36
+ }
37
+ ),
38
+ /* @__PURE__ */ s.jsx(z, { verificationService: e }),
39
+ /* @__PURE__ */ s.jsx(
40
+ q,
41
+ {
42
+ verificationService: e,
43
+ disabled: (b = t("country")) == null ? void 0 : b.disabled
44
+ }
45
+ ),
46
+ /* @__PURE__ */ s.jsx(
47
+ B,
48
+ {
49
+ value: e.viewModel.organization,
50
+ verificationService: e,
51
+ isErrored: !!d.organization,
52
+ disabled: (u = t("organization")) == null ? void 0 : u.disabled,
53
+ onChange: (a) => {
54
+ O(a, e), n("organization", a, e);
55
+ }
56
+ }
57
+ ),
58
+ /* @__PURE__ */ s.jsxs("div", { className: "sid-names", children: [
59
+ /* @__PURE__ */ s.jsx(
60
+ w,
61
+ {
62
+ value: o.firstName,
63
+ isErrored: !!d.firstName,
64
+ disabled: (h = t("firstName")) == null ? void 0 : h.disabled,
65
+ onChange: (a) => {
66
+ l("firstName", a), n("firstName", a, e);
67
+ }
68
+ }
69
+ ),
70
+ /* @__PURE__ */ s.jsx(
71
+ L,
72
+ {
73
+ value: o.lastName,
74
+ isErrored: !!d.lastName,
75
+ disabled: (C = t("lastName")) == null ? void 0 : C.disabled,
76
+ onChange: (a) => {
77
+ l("lastName", a), n("lastName", a, e);
78
+ }
79
+ }
80
+ )
81
+ ] }),
82
+ /* @__PURE__ */ s.jsx(
83
+ H,
84
+ {
85
+ value: o.email,
86
+ isErrored: !!d.email,
87
+ explanation: /* @__PURE__ */ s.jsx(j, { id: "emailExplanation", defaultMessage: " " }),
88
+ onChange: (a) => {
89
+ l("email", a), n("email", a, e);
90
+ },
91
+ onKeyDown: (a) => K(a),
92
+ disabled: (i = t("email")) == null ? void 0 : i.disabled
93
+ }
94
+ ),
95
+ /* @__PURE__ */ s.jsx(
96
+ W,
97
+ {
98
+ errorId: d.birthDate,
99
+ locale: F,
100
+ isRequired: (x = t("birthDate")) == null ? void 0 : x.requireIfOptional,
101
+ onChange: (a) => {
102
+ l("birthDate", a), n("birthDate", a, e);
103
+ },
104
+ value: o.birthDate,
105
+ disabled: (M = t("birthDate")) == null ? void 0 : M.disabled
106
+ }
107
+ ),
108
+ /* @__PURE__ */ s.jsx(
109
+ A,
110
+ {
111
+ value: o.memberId,
112
+ isErrored: !!d.memberId,
113
+ isRequired: m,
114
+ disabled: (g = t("memberId")) == null ? void 0 : g.disabled,
115
+ onChange: (a) => {
116
+ l("memberId", a), n("memberId", a, e);
117
+ }
118
+ }
119
+ ),
120
+ e.programTheme.isSmsNotifierConfigured || e.programTheme.smsLoopEnabled ? /* @__PURE__ */ s.jsx(
121
+ J,
122
+ {
123
+ isRequired: !!e.programTheme.smsLoopEnabled,
124
+ value: o.phoneNumber,
125
+ isErrored: !!d.phoneNumber,
126
+ onChange: (a) => {
127
+ l("phoneNumber", a), n("phoneNumber", a, e);
128
+ },
129
+ selectedCountryCode: o.countryChoice && o.countryChoice.value,
130
+ disabled: (I = t("phoneNumber")) == null ? void 0 : I.disabled
131
+ }
132
+ ) : null,
133
+ y.customFormFields.map((a) => /* @__PURE__ */ s.jsx(Y, { config: a, verificationService: e })),
134
+ /* @__PURE__ */ s.jsx(
135
+ Z,
136
+ {
137
+ verificationService: e,
138
+ isErrored: !!d.marketConsentValue,
139
+ onChange: (a) => {
140
+ l("metadata", {
141
+ ...e.viewModel.metadata,
142
+ marketConsentValue: a
143
+ }), n("marketConsentValue", a, e);
144
+ },
145
+ viewModel: o,
146
+ disabled: (N = t("marketConsentValue")) == null ? void 0 : N.disabled
147
+ }
148
+ ),
149
+ /* @__PURE__ */ s.jsx(_, { verificationService: e, suffix: "CollectAboveSubmit" }),
150
+ /* @__PURE__ */ s.jsx(
151
+ $,
152
+ {
153
+ step: G.collectMemberPersonalInfo,
154
+ verificationService: e,
155
+ viewModel: o,
156
+ failedInstantMatch: E,
157
+ buttonText: /* @__PURE__ */ s.jsx(
158
+ j,
159
+ {
160
+ id: "step.personalInfo.submitButtonText",
161
+ defaultMessage: "Verify My Membership Status"
162
+ }
163
+ )
164
+ }
165
+ )
166
+ ]
167
+ }
168
+ );
169
+ }, c = X;
170
+ export {
171
+ c as default
172
+ };
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index-C7nYtBX_.js","sources":["../../src/components/StepMemberPersonalInfo/StepMemberPersonalInfoComponent.tsx"],"sourcesContent":["import React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n VerificationService,\n Organization,\n MemberPersonalInfoViewModel,\n MemberPersonalInfoResponse,\n CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { MemberIdComponent as MemberId } from \"../FormFields/MemberId/MemberIdComponent\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { MembershipOrganizationComponent } from \"../FormFields/MembershipOrganization/MembershipOrganizationComponent\";\nimport { MarketConsentWrapperComponent } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\n\ninterface StepMemberPersonalInfoComponentProps {\n verificationService: VerificationService;\n}\n\nconst StepMemberPersonalInfo = ({ verificationService }: StepMemberPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as MemberPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as MemberPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const options = getOptions();\n const isMemberIdRequired = getFieldConfigByFieldId(\"memberId\")?.requireIfOptional;\n\n const locale = viewModel.localeChoice.value;\n\n const updateMemberViewModel = (key: keyof MemberPersonalInfoViewModel, value: any) => {\n const nextState: MemberPersonalInfoViewModel = produce(\n viewModel,\n (draft: MemberPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n React.useEffect(() => {\n if (!isMemberIdRequired) {\n verificationService.updateViewModel(\n { fieldsToSkipValidation: [\"memberId\"] },\n { partial: true },\n );\n } else {\n verificationService.updateViewModel({ fieldsToSkipValidation: [] }, { partial: true });\n }\n }, [isMemberIdRequired]);\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"member-personal-info\"\n />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n\n <MembershipOrganizationComponent\n value={(verificationService.viewModel as MemberPersonalInfoViewModel).organization}\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.organization}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n />\n\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateMemberViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateMemberViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={<FormattedHTMLMessage id=\"emailExplanation\" defaultMessage=\" \" />}\n onChange={(newValue) => {\n updateMemberViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n isRequired={getFieldConfigByFieldId(\"birthDate\")?.requireIfOptional}\n onChange={(newValue) => {\n updateMemberViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n <MemberId\n value={viewModel.memberId}\n isErrored={!!fieldValidationErrors.memberId}\n isRequired={isMemberIdRequired}\n disabled={getFieldConfigByFieldId(\"memberId\")?.disabled}\n onChange={(newValue) => {\n updateMemberViewModel(\"memberId\", newValue);\n updateFieldValidationErrorsByFieldId(\"memberId\", newValue, verificationService);\n }}\n />\n\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateMemberViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapperComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateMemberViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\"marketConsentValue\", newValue, verificationService);\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectMemberPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Membership Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepMemberPersonalInfoComponent = StepMemberPersonalInfo;\n"],"names":["StepMemberPersonalInfo","verificationService","viewModel","fieldValidationErrors","verificationResponse","failedInstantMatch","hasFailedInstantMatch","options","getOptions","isMemberIdRequired","_a","getFieldConfigByFieldId","locale","updateMemberViewModel","key","value","nextState","produce","draft","React","jsxs","PersonalInfoWrapper","jsx","PersonalInfoHeader","ChangeLocaleV2Component","CountryComponentWrapper","_b","MembershipOrganizationComponent","_c","choice","updateViewModelOrganization","updateFieldValidationErrorsByFieldId","FirstName","_d","newValue","LastName","_e","Email","FormattedHTMLMessage","event","handleEmailOnKeyDown","_f","BirthDate","_g","_h","MemberId","_i","PhoneNumber","_j","config","FormFieldCustom","MarketConsentWrapperComponent","_k","ExtraMessage","PersonalInfoStepSubmitButton","VerificationStepsEnum","StepMemberPersonalInfoComponent"],"mappings":";AAyCA,MAAMA,IAAyB,CAAC,EAAE,qBAAAC,QAAgE;;AAChG,QAAMC,IAAYD,EAAoB,WAChC,EAAE,uBAAAE,EAA0B,IAAAF,GAC5BG,IACJH,EAAoB,sBAChBI,IAAqBC,EAAsBF,CAAoB,GAC/DG,IAAUC,KACVC,KAAqBC,IAAAC,EAAwB,UAAU,MAAlC,gBAAAD,EAAqC,mBAE1DE,IAASV,EAAU,aAAa,OAEhCW,IAAwB,CAACC,GAAwCC,MAAe;AACpF,UAAMC,IAAyCC;AAAAA,MAC7Cf;AAAA,MACA,CAACgB,MAAuC;AACrC,QAAAA,EAAMJ,CAAG,IAAYC;AAAA,MACxB;AAAA,IAAA;AAEF,IAAAd,EAAoB,gBAAgBe,CAAS;AAAA,EAAA;AAG/C,SAAAG,EAAM,UAAU,MAAM;AACpB,IAAKV,IAMiBR,EAAA,gBAAgB,EAAE,wBAAwB,CAAA,EAAM,GAAA,EAAE,SAAS,GAAA,CAAM,IALjEA,EAAA;AAAA,MAClB,EAAE,wBAAwB,CAAC,UAAU,EAAE;AAAA,MACvC,EAAE,SAAS,GAAK;AAAA,IAAA;AAAA,EAIpB,GACC,CAACQ,CAAkB,CAAC,GAGrBW,gBAAAA,EAAA;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,q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Aa,qBAAApD,GAA0C,QAAO,qBAAqB,CAAA;AAAA,QAEpFqB,gBAAAA,EAAA;AAAA,UAACgC;AAAA,UAAA;AAAA,YACC,MAAMC,EAAsB;AAAA,YAC5B,qBAAAtD;AAAA,YACA,WAAAC;AAAA,YACA,oBAAAG;AAAA,YACA,YACEiB,gBAAAA,EAAA;AAAA,cAACgB;AAAA,cAAA;AAAA,gBACC,IAAG;AAAA,gBACH,gBAAe;AAAA,cAAA;AAAA,YACjB;AAAA,UAAA;AAAA,QAEJ;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAGN,GAEakB,IAAkCxD;"}
@@ -4,10 +4,10 @@
4
4
  * This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
5
5
  */
6
6
  /**
7
- * VERSION: 2.104.0-alpha.2
8
- * BUILD_TIMESTAMP: 1746142396526
9
- * BUILD_DATE: Thu May 01 2025 23:33:16 GMT+0000 (Coordinated Universal Time)
10
- * BUILD_COMMIT: 890118c01f0c12b348ca343732208200aed0c6c3
7
+ * VERSION: 2.105.0-alpha.0
8
+ * BUILD_TIMESTAMP: 1746202258802
9
+ * BUILD_DATE: Fri May 02 2025 16:10:58 GMT+0000 (Coordinated Universal Time)
10
+ * BUILD_COMMIT: 5e00bc964fbbb4f7f7b152a375026d6591cd1564
11
11
  */
12
12
  import { i as S, R as l, d as c, j as e, A as R, a as t, W as E, m as V, l as w, V as y, t as k } from "../_mysheerid-preview.js";
13
13
  const I = ({ intl: i, verificationService: s }) => {
@@ -4,10 +4,10 @@
4
4
  * This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
5
5
  */
6
6
  /**
7
- * VERSION: 2.104.0-alpha.2
8
- * BUILD_TIMESTAMP: 1746142396526
9
- * BUILD_DATE: Thu May 01 2025 23:33:16 GMT+0000 (Coordinated Universal Time)
10
- * BUILD_COMMIT: 890118c01f0c12b348ca343732208200aed0c6c3
7
+ * VERSION: 2.105.0-alpha.0
8
+ * BUILD_TIMESTAMP: 1746202258802
9
+ * BUILD_DATE: Fri May 02 2025 16:10:58 GMT+0000 (Coordinated Universal Time)
10
+ * BUILD_COMMIT: 5e00bc964fbbb4f7f7b152a375026d6591cd1564
11
11
  */
12
12
  import { m as ye, aW as Pe, aX as q, aY as Z, aZ as xt, r as f, R as bt, a_ as g, j as t, aN as u, a$ as n, a as h, i as yt, al as Ce, av as It, g as Et, b0 as vt, d as Ut, b1 as ze, n as jt, A as Dt, b2 as _t, U as At, b3 as Rt, b4 as wt, b5 as Ft, k as Nt, l as Oe, V as ge, b6 as Ct, b7 as Ot, b8 as Tt, b9 as St } from "../_mysheerid-preview.js";
13
13
  import { P as Lt } from "./StepIDCheckLoopRegula-BB8xA4nn.js";