@sheerid/jslib-nightly 2.130.0-alpha.3 → 2.130.0-alpha.4

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 (311) hide show
  1. package/_mysheerid-preview.css +3 -3
  2. package/_mysheerid-preview.js +15671 -13460
  3. package/_mysheerid-preview.js.map +1 -1
  4. package/build/generateLocalizedContextMessages.d.ts +1 -0
  5. package/chunk/EmailLoopPending-CHILFZYc.js +3 -3
  6. package/chunk/EmailLoopPending-CHILFZYc.js.map +1 -1
  7. package/chunk/EmailLoopPending-Nn_H3cfS.js +3 -3
  8. package/chunk/EmailLoopPending-Nn_H3cfS.js.map +1 -1
  9. package/chunk/LicensedProfessionalOrganizationComponent-BYijEfDT.js +3 -3
  10. package/chunk/LicensedProfessionalOrganizationComponent-BYijEfDT.js.map +1 -1
  11. package/chunk/LicensedProfessionalOrganizationComponent-CiYU-2dW.js +3 -3
  12. package/chunk/LicensedProfessionalOrganizationComponent-CiYU-2dW.js.map +1 -1
  13. package/chunk/Onfido-AyvUk6wg.js +3 -3
  14. package/chunk/Onfido-AyvUk6wg.js.map +1 -1
  15. package/chunk/StepIDCheckLoopOnfido-Bl1QfUZZ.js +3 -3
  16. package/chunk/StepIDCheckLoopOnfido-Bl1QfUZZ.js.map +1 -1
  17. package/chunk/StepIDCheckLoopOnfido-D0kpzIyk.js +3 -3
  18. package/chunk/StepIDCheckLoopOnfido-D0kpzIyk.js.map +1 -1
  19. package/chunk/StepIDCheckLoopRegula-BkTDnK3G.js +3 -3
  20. package/chunk/StepIDCheckLoopRegula-BkTDnK3G.js.map +1 -1
  21. package/chunk/StepIDCheckLoopRegula-D6freNro.js +3 -3
  22. package/chunk/StepIDCheckLoopRegula-D6freNro.js.map +1 -1
  23. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-CooMPgH1.js → StepInactiveMilitaryPersonalInfoComponent-CejkPGc7.js} +9 -9
  24. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-CooMPgH1.js.map → StepInactiveMilitaryPersonalInfoComponent-CejkPGc7.js.map} +1 -1
  25. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-DTtUadmx.js → StepInactiveMilitaryPersonalInfoComponent-Dfq060Rm.js} +9 -9
  26. package/chunk/{StepInactiveMilitaryPersonalInfoComponent-DTtUadmx.js.map → StepInactiveMilitaryPersonalInfoComponent-Dfq060Rm.js.map} +1 -1
  27. package/chunk/ar--TDb5qE5.js +3 -3
  28. package/chunk/bg-D3cL-ciP.js +3 -3
  29. package/chunk/bn-IN-BqsOEBPN.js +3 -3
  30. package/chunk/cs-7pQwm9YC.js +3 -3
  31. package/chunk/da-C2xASa_G.js +3 -3
  32. package/chunk/de-D4nlAbMa.js +3 -3
  33. package/chunk/el-C-PZe5CV.js +3 -3
  34. package/chunk/en-GB-DXa6bdA_.js +3 -3
  35. package/chunk/es-CNTVekqW.js +3 -3
  36. package/chunk/es-ES-inNoG-F1.js +3 -3
  37. package/chunk/fi-CcolQnAY.js +3 -3
  38. package/chunk/fr-BjHvlhn5.js +3 -3
  39. package/chunk/fr-CA-CmZKx-C9.js +3 -3
  40. package/chunk/ga-D-rK3PZy.js +3 -3
  41. package/chunk/hi-IN-B5SHv4t9.js +3 -3
  42. package/chunk/hr-CwvyeMFM.js +3 -3
  43. package/chunk/hu-BCZWPgvf.js +3 -3
  44. package/chunk/id-CRNXXELT.js +3 -3
  45. package/chunk/index--Wcf_zsf.js +3 -3
  46. package/chunk/index--Wcf_zsf.js.map +1 -1
  47. package/chunk/{index-CyTruyP6.js → index--kEgeOmj.js} +4 -4
  48. package/{lib/index-DtHwCwqx.js.map → chunk/index--kEgeOmj.js.map} +1 -1
  49. package/chunk/index-1Cpf6KJI.js +3 -3
  50. package/chunk/index-1Cpf6KJI.js.map +1 -1
  51. package/chunk/index-2ob_KvkC.js +3 -3
  52. package/chunk/index-2ob_KvkC.js.map +1 -1
  53. package/chunk/{index-dDH8B6_D.js → index-5LobjedY.js} +21 -21
  54. package/chunk/{index-DljRrdj9.js.map → index-5LobjedY.js.map} +1 -1
  55. package/chunk/index-B4HIyFVA.js +3 -3
  56. package/chunk/index-B4HIyFVA.js.map +1 -1
  57. package/chunk/{index-Br3LkCoX.js → index-B9JnXGrb.js} +83 -83
  58. package/chunk/{index-CoPQ1aC2.js.map → index-B9JnXGrb.js.map} +1 -1
  59. package/chunk/{index-Cnc52tkD.js → index-BGfqBrWl.js} +9 -9
  60. package/{lib/index-BlWCr1Wq.js.map → chunk/index-BGfqBrWl.js.map} +1 -1
  61. package/chunk/index-BU0HFLKm.js +3 -3
  62. package/chunk/index-BU0HFLKm.js.map +1 -1
  63. package/chunk/{index-C8UuTatc.js → index-Bb2METWH.js} +13 -13
  64. package/chunk/{index-C8UuTatc.js.map → index-Bb2METWH.js.map} +1 -1
  65. package/chunk/{index-DCTYdT7J.js → index-BhfkDd-S.js} +13 -13
  66. package/chunk/{index-DCTYdT7J.js.map → index-BhfkDd-S.js.map} +1 -1
  67. package/chunk/index-Bofro8C_.js +3 -3
  68. package/chunk/index-Bofro8C_.js.map +1 -1
  69. package/chunk/{index-SwnUiXjr.js → index-C4fkTurt.js} +8 -8
  70. package/chunk/{index-n6fChAZJ.js.map → index-C4fkTurt.js.map} +1 -1
  71. package/chunk/{index-CxH2IKXK.js → index-CExjesRv.js} +9 -9
  72. package/chunk/{index-CxH2IKXK.js.map → index-CExjesRv.js.map} +1 -1
  73. package/chunk/{index-BqUi3r5Z.js → index-CHaIZirz.js} +4 -4
  74. package/chunk/{index-CyTruyP6.js.map → index-CHaIZirz.js.map} +1 -1
  75. package/chunk/index-CHo0fdEq.js +172 -0
  76. package/chunk/{index-Dg1E2EXp.js.map → index-CHo0fdEq.js.map} +1 -1
  77. package/chunk/{index-Dg1E2EXp.js → index-CUti-8Jc.js} +63 -63
  78. package/{lib/index-DMKiL4nl.js.map → chunk/index-CUti-8Jc.js.map} +1 -1
  79. package/chunk/index-CVEIzLov.js +3 -3
  80. package/chunk/index-CVEIzLov.js.map +1 -1
  81. package/chunk/index-CcE-GFi6.js +3 -3
  82. package/chunk/index-CcE-GFi6.js.map +1 -1
  83. package/chunk/index-CjcYFvhf.js +3 -3
  84. package/chunk/index-CjcYFvhf.js.map +1 -1
  85. package/chunk/{index-DdQD36Ht.js → index-ClyCQ8YP.js} +7 -7
  86. package/{lib/index-DA4cTL7A.js.map → chunk/index-ClyCQ8YP.js.map} +1 -1
  87. package/chunk/index-Cu25bQnA.js +3 -3
  88. package/chunk/index-Cu25bQnA.js.map +1 -1
  89. package/chunk/{index-xgVNIuKt.js → index-CxZt0BFc.js} +11 -11
  90. package/chunk/{index-B5Db6m8t.js.map → index-CxZt0BFc.js.map} +1 -1
  91. package/chunk/{index-n6fChAZJ.js → index-D0WTHjEm.js} +8 -8
  92. package/chunk/{index-SwnUiXjr.js.map → index-D0WTHjEm.js.map} +1 -1
  93. package/chunk/{index-C4OCK6G0.js → index-D5AJ5u6Y.js} +7 -7
  94. package/chunk/{index-C4OCK6G0.js.map → index-D5AJ5u6Y.js.map} +1 -1
  95. package/chunk/index-DAE3SOJH.js +3 -3
  96. package/chunk/index-DAE3SOJH.js.map +1 -1
  97. package/chunk/index-DFajPA-e.js +3 -3
  98. package/chunk/index-DFajPA-e.js.map +1 -1
  99. package/chunk/index-DHtYIKVA.js +3 -3
  100. package/chunk/index-DHtYIKVA.js.map +1 -1
  101. package/chunk/index-DIkWpujR.js +3 -3
  102. package/chunk/index-DIkWpujR.js.map +1 -1
  103. package/chunk/index-DSi_yLKY.js +3 -3
  104. package/chunk/index-DSi_yLKY.js.map +1 -1
  105. package/chunk/{index-B5Db6m8t.js → index-DY7vn_Lg.js} +11 -11
  106. package/chunk/{index-xgVNIuKt.js.map → index-DY7vn_Lg.js.map} +1 -1
  107. package/chunk/{index-BJg9BX3v.js → index-I9k6NZrA.js} +8 -8
  108. package/chunk/{index-BJg9BX3v.js.map → index-I9k6NZrA.js.map} +1 -1
  109. package/chunk/index-N20c5WiN.js +3 -3
  110. package/chunk/index-N20c5WiN.js.map +1 -1
  111. package/chunk/{index-CoPQ1aC2.js → index-WHUp5RNf.js} +83 -83
  112. package/{lib/index-TFJysiuK.js.map → chunk/index-WHUp5RNf.js.map} +1 -1
  113. package/chunk/{index-DljRrdj9.js → index-fOfKAbJL.js} +21 -21
  114. package/chunk/{index-dDH8B6_D.js.map → index-fOfKAbJL.js.map} +1 -1
  115. package/chunk/index-huf3obhv.js +3 -3
  116. package/chunk/index-huf3obhv.js.map +1 -1
  117. package/chunk/index-oHEY5B58.js +3 -3
  118. package/chunk/index-oHEY5B58.js.map +1 -1
  119. package/chunk/{index-BLIxYZFr.js → index-yXBEMaOE.js} +8 -8
  120. package/{lib/index-Ddf96bHU.js.map → chunk/index-yXBEMaOE.js.map} +1 -1
  121. package/chunk/index-zX2rojxg.js +3 -3
  122. package/chunk/index-zX2rojxg.js.map +1 -1
  123. package/chunk/is-BFoDLV-f.js +3 -3
  124. package/chunk/it-B_iK-eSd.js +3 -3
  125. package/chunk/iw-DL48t5mZ.js +3 -3
  126. package/chunk/ja-C5bG2SRl.js +3 -3
  127. package/chunk/ko-CmmVl873.js +3 -3
  128. package/chunk/lo-DvBsVm-4.js +3 -3
  129. package/chunk/lt-DWoqI4gx.js +3 -3
  130. package/chunk/ms-BCHBEoqA.js +3 -3
  131. package/chunk/nl-BE-DLixID0q.js +3 -3
  132. package/chunk/nl-CeBqOv0i.js +3 -3
  133. package/chunk/no-BR2xqD23.js +3 -3
  134. package/chunk/pl-Dl77tRgW.js +3 -3
  135. package/chunk/pt-BR--SxHOWht.js +3 -3
  136. package/chunk/pt-D0bmI49-.js +3 -3
  137. package/chunk/ro-HCkS3amY.js +3 -3
  138. package/chunk/ru-BDMi1lvr.js +3 -3
  139. package/chunk/sk-C4zNHeM6.js +3 -3
  140. package/chunk/sl-BbQVw1S0.js +3 -3
  141. package/chunk/sr-8d4sC8Hd.js +3 -3
  142. package/chunk/sv-B0-e7r_0.js +3 -3
  143. package/chunk/sw-Bo9F25Vc.js +3 -3
  144. package/chunk/th-DDuVbwLh.js +3 -3
  145. package/chunk/tr-CUwkgj2T.js +3 -3
  146. package/chunk/uk-BPrGA4MJ.js +3 -3
  147. package/chunk/ur-Cdtm-A0s.js +3 -3
  148. package/chunk/useCollectFieldsEndpoint-DFo1yXvN.js +3 -3
  149. package/chunk/useCollectFieldsEndpoint-DFo1yXvN.js.map +1 -1
  150. package/chunk/useCollectFieldsEndpoint-DPX8CT4Y.js +3 -3
  151. package/chunk/useCollectFieldsEndpoint-DPX8CT4Y.js.map +1 -1
  152. package/chunk/useEmailFirstExperiment-DH410dM-.js +3 -3
  153. package/chunk/useEmailFirstExperiment-DH410dM-.js.map +1 -1
  154. package/chunk/useEmailFirstExperiment-q-thhCji.js +3 -3
  155. package/chunk/useEmailFirstExperiment-q-thhCji.js.map +1 -1
  156. package/chunk/vi-JbWizd9m.js +3 -3
  157. package/chunk/zh-DjbXrser.js +3 -3
  158. package/chunk/zh-HK-DXcspp2Y.js +3 -3
  159. package/chunk/zu-BzwZfIDF.js +3 -3
  160. package/es6.css +3 -3
  161. package/jslib.js +4 -4
  162. package/lib/{EmailLoopPending-HDwzk5eJ.js → EmailLoopPending-0MOZ9FIO.js} +4 -4
  163. package/lib/{EmailLoopPending-HDwzk5eJ.js.map → EmailLoopPending-0MOZ9FIO.js.map} +1 -1
  164. package/lib/{LicensedProfessionalOrganizationComponent-DxosV07n.js → LicensedProfessionalOrganizationComponent-CFfFH2gr.js} +4 -4
  165. package/lib/{LicensedProfessionalOrganizationComponent-DxosV07n.js.map → LicensedProfessionalOrganizationComponent-CFfFH2gr.js.map} +1 -1
  166. package/lib/Onfido-AyvUk6wg.js +3 -3
  167. package/lib/Onfido-AyvUk6wg.js.map +1 -1
  168. package/lib/StepCollectMilitaryStatusComponent-ChGqU4K4.js +11 -0
  169. package/lib/{StepCollectMilitaryStatusComponent-If5hf7Yy.js.map → StepCollectMilitaryStatusComponent-ChGqU4K4.js.map} +1 -1
  170. package/lib/{StepIDCheckLoopOnfido-BsD0XhnX.js → StepIDCheckLoopOnfido-QQEGR6su.js} +4 -4
  171. package/lib/{StepIDCheckLoopOnfido-BsD0XhnX.js.map → StepIDCheckLoopOnfido-QQEGR6su.js.map} +1 -1
  172. package/lib/{StepIDCheckLoopRegula-Zfq_DFeU.js → StepIDCheckLoopRegula-C5lSZs2O.js} +4 -4
  173. package/lib/{StepIDCheckLoopRegula-Zfq_DFeU.js.map → StepIDCheckLoopRegula-C5lSZs2O.js.map} +1 -1
  174. package/lib/{StepInactiveMilitaryPersonalInfoComponent-aD1G0mfX.js → StepInactiveMilitaryPersonalInfoComponent-BhofrzVk.js} +68 -68
  175. package/lib/{StepInactiveMilitaryPersonalInfoComponent-aD1G0mfX.js.map → StepInactiveMilitaryPersonalInfoComponent-BhofrzVk.js.map} +1 -1
  176. package/lib/{VerificationApiUtils-Bg_juc-t.js → VerificationApiUtils-4mLX5Y1C.js} +4 -4
  177. package/lib/{VerificationApiUtils-Bg_juc-t.js.map → VerificationApiUtils-4mLX5Y1C.js.map} +1 -1
  178. package/lib/ar--TDb5qE5.js +3 -3
  179. package/lib/bg-D3cL-ciP.js +3 -3
  180. package/lib/bn-IN-BqsOEBPN.js +3 -3
  181. package/lib/cs-7pQwm9YC.js +3 -3
  182. package/lib/da-C2xASa_G.js +3 -3
  183. package/lib/de-D4nlAbMa.js +3 -3
  184. package/lib/el-C-PZe5CV.js +3 -3
  185. package/lib/en-GB-DXa6bdA_.js +3 -3
  186. package/lib/es-CNTVekqW.js +3 -3
  187. package/lib/es-ES-inNoG-F1.js +3 -3
  188. package/lib/{es6-_hLTdytY.js → es6-N0LU_o1K.js} +12945 -10734
  189. package/lib/es6-N0LU_o1K.js.map +1 -0
  190. package/lib/fi-CcolQnAY.js +3 -3
  191. package/lib/fr-BjHvlhn5.js +3 -3
  192. package/lib/fr-CA-CmZKx-C9.js +3 -3
  193. package/lib/ga-D-rK3PZy.js +3 -3
  194. package/lib/hi-IN-B5SHv4t9.js +3 -3
  195. package/lib/hr-CwvyeMFM.js +3 -3
  196. package/lib/hu-BCZWPgvf.js +3 -3
  197. package/lib/id-CRNXXELT.js +3 -3
  198. package/lib/{index-BODDw9ac.js → index-5SfrWASr.js} +4 -4
  199. package/lib/{index-BODDw9ac.js.map → index-5SfrWASr.js.map} +1 -1
  200. package/lib/{index-DT_7W_PN.js → index-BN7TUKDX.js} +10 -10
  201. package/lib/{index-DT_7W_PN.js.map → index-BN7TUKDX.js.map} +1 -1
  202. package/lib/{index-f6Kx1mE6.js → index-BNijIHE6.js} +6 -6
  203. package/lib/{index-f6Kx1mE6.js.map → index-BNijIHE6.js.map} +1 -1
  204. package/lib/{index-BdaIrOjI.js → index-BU0JFOg1.js} +4 -4
  205. package/lib/{index-BdaIrOjI.js.map → index-BU0JFOg1.js.map} +1 -1
  206. package/lib/{index-DvEVE_5Q.js → index-BjVK7Dhi.js} +4 -4
  207. package/lib/{index-DvEVE_5Q.js.map → index-BjVK7Dhi.js.map} +1 -1
  208. package/lib/{index-BlWCr1Wq.js → index-BoRZgUa0.js} +21 -21
  209. package/{chunk/index-Cnc52tkD.js.map → lib/index-BoRZgUa0.js.map} +1 -1
  210. package/lib/{index-sc3jc4AV.js → index-Bv3kiWUA.js} +4 -4
  211. package/lib/{index-sc3jc4AV.js.map → index-Bv3kiWUA.js.map} +1 -1
  212. package/lib/index-ByJYD91q.js +11 -0
  213. package/lib/index-ByJYD91q.js.map +1 -0
  214. package/lib/{index-DthSLRH_.js → index-C3V-DuKe.js} +8 -8
  215. package/lib/{index-DthSLRH_.js.map → index-C3V-DuKe.js.map} +1 -1
  216. package/lib/{index-DMKiL4nl.js → index-CAs6Kb5H.js} +43 -43
  217. package/{chunk/index-DJo820YY.js.map → lib/index-CAs6Kb5H.js.map} +1 -1
  218. package/lib/index-CLJziGdX.js +11 -0
  219. package/lib/index-CLJziGdX.js.map +1 -0
  220. package/lib/index-COZ9GTS6.js +11 -0
  221. package/lib/index-COZ9GTS6.js.map +1 -0
  222. package/lib/{index-DAyPuaQr.js → index-CmPqdxhW.js} +4 -4
  223. package/lib/{index-DAyPuaQr.js.map → index-CmPqdxhW.js.map} +1 -1
  224. package/lib/{index-u6yBg9yx.js → index-CpAcNAlz.js} +26 -26
  225. package/lib/{index-u6yBg9yx.js.map → index-CpAcNAlz.js.map} +1 -1
  226. package/lib/{index-DA4cTL7A.js → index-CsI2ByuT.js} +12 -12
  227. package/{chunk/index-DdQD36Ht.js.map → lib/index-CsI2ByuT.js.map} +1 -1
  228. package/lib/{index-CstNWPAR.js → index-D1hIfyt2.js} +12 -12
  229. package/lib/{index-CstNWPAR.js.map → index-D1hIfyt2.js.map} +1 -1
  230. package/lib/index-DIkWpujR.js +3 -3
  231. package/lib/index-DIkWpujR.js.map +1 -1
  232. package/lib/{index-GY9EVfAv.js → index-DKSkTlfm.js} +5 -5
  233. package/lib/{index-GY9EVfAv.js.map → index-DKSkTlfm.js.map} +1 -1
  234. package/lib/{index-TFJysiuK.js → index-DfrR1RFx.js} +71 -71
  235. package/{chunk/index-Br3LkCoX.js.map → lib/index-DfrR1RFx.js.map} +1 -1
  236. package/lib/index-Du2AQm_R.js +11 -0
  237. package/lib/index-Du2AQm_R.js.map +1 -0
  238. package/lib/{index-DtHwCwqx.js → index-lnSxxP0T.js} +6 -6
  239. package/{chunk/index-BqUi3r5Z.js.map → lib/index-lnSxxP0T.js.map} +1 -1
  240. package/lib/{index-Ddf96bHU.js → index-nvpPim4a.js} +9 -9
  241. package/{chunk/index-BLIxYZFr.js.map → lib/index-nvpPim4a.js.map} +1 -1
  242. package/lib/{index-Lv1-1V6q.js → index-uEIywXW1.js} +4 -4
  243. package/lib/{index-Lv1-1V6q.js.map → index-uEIywXW1.js.map} +1 -1
  244. package/lib/{index-CGUAqjhV.js → index-zZVk2keB.js} +4 -4
  245. package/lib/{index-CGUAqjhV.js.map → index-zZVk2keB.js.map} +1 -1
  246. package/lib/is-BFoDLV-f.js +3 -3
  247. package/lib/it-B_iK-eSd.js +3 -3
  248. package/lib/iw-DL48t5mZ.js +3 -3
  249. package/lib/ja-C5bG2SRl.js +3 -3
  250. package/lib/ko-CmmVl873.js +3 -3
  251. package/lib/lo-DvBsVm-4.js +3 -3
  252. package/lib/lt-DWoqI4gx.js +3 -3
  253. package/lib/ms-BCHBEoqA.js +3 -3
  254. package/lib/nl-BE-DLixID0q.js +3 -3
  255. package/lib/nl-CeBqOv0i.js +3 -3
  256. package/lib/no-BR2xqD23.js +3 -3
  257. package/lib/pl-Dl77tRgW.js +3 -3
  258. package/lib/pt-BR--SxHOWht.js +3 -3
  259. package/lib/pt-D0bmI49-.js +3 -3
  260. package/lib/ro-HCkS3amY.js +3 -3
  261. package/lib/ru-BDMi1lvr.js +3 -3
  262. package/lib/sk-C4zNHeM6.js +3 -3
  263. package/lib/sl-BbQVw1S0.js +3 -3
  264. package/lib/sr-8d4sC8Hd.js +3 -3
  265. package/lib/sv-B0-e7r_0.js +3 -3
  266. package/lib/sw-Bo9F25Vc.js +3 -3
  267. package/lib/th-DDuVbwLh.js +3 -3
  268. package/lib/tr-CUwkgj2T.js +3 -3
  269. package/lib/uk-BPrGA4MJ.js +3 -3
  270. package/lib/ur-Cdtm-A0s.js +3 -3
  271. package/lib/{useCollectFieldsEndpoint-CmY0ZsVN.js → useCollectFieldsEndpoint-CdePvMeq.js} +5 -5
  272. package/lib/{useCollectFieldsEndpoint-CmY0ZsVN.js.map → useCollectFieldsEndpoint-CdePvMeq.js.map} +1 -1
  273. package/lib/{useEmailFirstExperiment-tmWgtEuP.js → useEmailFirstExperiment-BlHwuf6g.js} +4 -4
  274. package/lib/{useEmailFirstExperiment-tmWgtEuP.js.map → useEmailFirstExperiment-BlHwuf6g.js.map} +1 -1
  275. package/lib/vi-JbWizd9m.js +3 -3
  276. package/lib/zh-DjbXrser.js +3 -3
  277. package/lib/zh-HK-DXcspp2Y.js +3 -3
  278. package/lib/zu-BzwZfIDF.js +3 -3
  279. package/package.json +5 -2
  280. package/sheerid-install.css +3 -3
  281. package/sheerid-install.js +4 -4
  282. package/sheerid-install.js.map +1 -1
  283. package/sheerid.css +4 -4
  284. package/sheerid.js +16193 -13983
  285. package/sheerid.js.map +1 -1
  286. package/src/components/ExtraMessage.d.ts +4 -5
  287. package/src/components/FeatureFlags/ExperimentComponent/ExperimentComponent.d.ts +2 -2
  288. package/src/components/FormInputs/InputSelect/InputSelectComponent.d.ts +1 -1
  289. package/src/components/LinkExternal.d.ts +1 -1
  290. package/src/components/NewVerificationComponent.d.ts +3 -3
  291. package/src/components/Text/Text.d.ts +6 -0
  292. package/src/components/Text/Text.test.d.ts +1 -0
  293. package/src/components/Text/index.d.ts +1 -0
  294. package/src/lib/ServerApi/Network.d.ts +3 -1
  295. package/src/lib/intl/i18n.d.ts +11 -0
  296. package/src/lib/types/assertions.d.ts +2 -2
  297. package/src/lib/types/helpers.d.ts +6 -1
  298. package/src/lib/types/runtimeTypes.d.ts +1 -1
  299. package/src/lib/types/types.d.ts +1 -3
  300. package/types-reference.zip +0 -0
  301. package/chunk/index-DJo820YY.js +0 -172
  302. package/lib/StepCollectMilitaryStatusComponent-If5hf7Yy.js +0 -11
  303. package/lib/es6-_hLTdytY.js.map +0 -1
  304. package/lib/index-BfAd3qKs.js +0 -11
  305. package/lib/index-BfAd3qKs.js.map +0 -1
  306. package/lib/index-Btach4hZ.js +0 -11
  307. package/lib/index-Btach4hZ.js.map +0 -1
  308. package/lib/index-C3kLSop3.js +0 -11
  309. package/lib/index-C3kLSop3.js.map +0 -1
  310. package/lib/index-CDXWxHbe.js +0 -11
  311. package/lib/index-CDXWxHbe.js.map +0 -1
@@ -0,0 +1,172 @@
1
+
2
+ /**
3
+ * VERSION: 2.130.0-alpha.4
4
+ * BUILD_TIMESTAMP: 1759000305348
5
+ * BUILD_DATE: Sat Sep 27 2025 19:11:45 GMT+0000 (Coordinated Universal Time)
6
+ * BUILD_COMMIT: be6ef87ab40e8747994d32363389cf39e36a4326
7
+ */
8
+ import { h as R, g as t, R as T, j as s, v as k, w as P, P as z, x as q, T as O, U as w, W as B, f as d, y as L, z as W, E as H, e as K, b as j, X as A, Y as G, G as U, H as X, M as Y, I as J, k as Q, V as Z, n as _ } from "../sheerid.js";
9
+ const $ = ({ verificationService: a }) => {
10
+ var p, b, u, h, C, i, x, g, M, I, N;
11
+ const o = a.viewModel, { fieldValidationErrors: n } = a, r = a.verificationResponse, E = R(r), y = P(), m = (p = t("memberId")) == null ? void 0 : p.requireIfOptional, f = o.localeChoice.value, l = (e, F) => {
12
+ const V = _(
13
+ o,
14
+ (D) => {
15
+ D[e] = F;
16
+ }
17
+ );
18
+ a.updateViewModel(V);
19
+ };
20
+ return T.useEffect(() => {
21
+ m ? a.updateViewModel({ fieldsToSkipValidation: [] }, { partial: !0 }) : a.updateViewModel(
22
+ { fieldsToSkipValidation: ["memberId"] },
23
+ { partial: !0 }
24
+ );
25
+ }, [m]), /* @__PURE__ */ s.jsxs(
26
+ k,
27
+ {
28
+ verificationService: a,
29
+ step: r.currentStep,
30
+ children: [
31
+ /* @__PURE__ */ s.jsx(
32
+ z,
33
+ {
34
+ verificationService: a,
35
+ classNameIdentifier: "member-personal-info"
36
+ }
37
+ ),
38
+ /* @__PURE__ */ s.jsx(q, { verificationService: a }),
39
+ /* @__PURE__ */ s.jsx(
40
+ O,
41
+ {
42
+ verificationService: a,
43
+ disabled: (b = t("country")) == null ? void 0 : b.disabled
44
+ }
45
+ ),
46
+ /* @__PURE__ */ s.jsx(
47
+ w,
48
+ {
49
+ value: a.viewModel.organization,
50
+ verificationService: a,
51
+ isErrored: !!n.organization,
52
+ disabled: (u = t("organization")) == null ? void 0 : u.disabled,
53
+ onChange: (e) => {
54
+ B(e, a), d("organization", e, a);
55
+ }
56
+ }
57
+ ),
58
+ /* @__PURE__ */ s.jsxs("div", { className: "sid-names", children: [
59
+ /* @__PURE__ */ s.jsx(
60
+ L,
61
+ {
62
+ value: o.firstName,
63
+ isErrored: !!n.firstName,
64
+ disabled: (h = t("firstName")) == null ? void 0 : h.disabled,
65
+ onChange: (e) => {
66
+ l("firstName", e), d("firstName", e, a);
67
+ }
68
+ }
69
+ ),
70
+ /* @__PURE__ */ s.jsx(
71
+ W,
72
+ {
73
+ value: o.lastName,
74
+ isErrored: !!n.lastName,
75
+ disabled: (C = t("lastName")) == null ? void 0 : C.disabled,
76
+ onChange: (e) => {
77
+ l("lastName", e), d("lastName", e, a);
78
+ }
79
+ }
80
+ )
81
+ ] }),
82
+ /* @__PURE__ */ s.jsx(
83
+ H,
84
+ {
85
+ value: o.email,
86
+ isErrored: !!n.email,
87
+ explanation: /* @__PURE__ */ s.jsx(j, { id: "emailExplanation", defaultMessage: " " }),
88
+ onChange: (e) => {
89
+ l("email", e), d("email", e, a);
90
+ },
91
+ onKeyDown: (e) => K(e),
92
+ disabled: (i = t("email")) == null ? void 0 : i.disabled
93
+ }
94
+ ),
95
+ /* @__PURE__ */ s.jsx(
96
+ A,
97
+ {
98
+ errorId: n.birthDate,
99
+ locale: f,
100
+ isRequired: (x = t("birthDate")) == null ? void 0 : x.requireIfOptional,
101
+ onChange: (e) => {
102
+ l("birthDate", e), d("birthDate", e, a);
103
+ },
104
+ value: o.birthDate,
105
+ disabled: (g = t("birthDate")) == null ? void 0 : g.disabled
106
+ }
107
+ ),
108
+ /* @__PURE__ */ s.jsx(
109
+ G,
110
+ {
111
+ value: o.memberId,
112
+ isErrored: !!n.memberId,
113
+ isRequired: m,
114
+ disabled: (M = t("memberId")) == null ? void 0 : M.disabled,
115
+ onChange: (e) => {
116
+ l("memberId", e), d("memberId", e, a);
117
+ }
118
+ }
119
+ ),
120
+ a.programTheme.isSmsNotifierConfigured || a.programTheme.smsLoopEnabled ? /* @__PURE__ */ s.jsx(
121
+ U,
122
+ {
123
+ isRequired: !!a.programTheme.smsLoopEnabled,
124
+ value: o.phoneNumber,
125
+ isErrored: !!n.phoneNumber,
126
+ onChange: (e) => {
127
+ l("phoneNumber", e), d("phoneNumber", e, a);
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((e) => /* @__PURE__ */ s.jsx(X, { config: e, verificationService: a })),
134
+ /* @__PURE__ */ s.jsx(
135
+ Y,
136
+ {
137
+ verificationService: a,
138
+ isErrored: !!n.marketConsentValue,
139
+ onChange: (e) => {
140
+ l("metadata", {
141
+ ...a.viewModel.metadata,
142
+ marketConsentValue: e
143
+ }), d("marketConsentValue", e, a);
144
+ },
145
+ viewModel: o,
146
+ disabled: (N = t("marketConsentValue")) == null ? void 0 : N.disabled
147
+ }
148
+ ),
149
+ /* @__PURE__ */ s.jsx(J, { suffix: "CollectAboveSubmit" }),
150
+ /* @__PURE__ */ s.jsx(
151
+ Q,
152
+ {
153
+ step: Z.collectMemberPersonalInfo,
154
+ verificationService: a,
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 = $;
170
+ export {
171
+ c as default
172
+ };
@@ -1 +1 @@
1
- {"version":3,"file":"index-Dg1E2EXp.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,MAA0BF,GAC5BG,IACJH,EAAoB,sBAChBI,IAAqBC,EAAsBF,CAAoB,GAC/DG,IAAUC,EAAW,GACrBC,KAAqBC,IAAAC,EAAwB,UAAU,MAAlC,gBAAAD,EAAqC,mBAE1DE,IAASV,EAAU,aAAa,OAEhCW,IAAwB,CAACC,GAAwCC,MAAe;AACpF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A0C,CAC5E;AAAA,QAEDqB,gBAAAA,EAAA;AAAA,UAAC6B;AAAA,UAAA;AAAA,YACC,qBAAAlD;AAAA,YACA,WAAW,CAAC,CAACE,EAAsB;AAAA,YACnC,UAAU,CAAC+B,MAAa;AACtB,cAAArB,EAAsB,YAAY;AAAA,gBAChC,GAAGZ,EAAoB,UAAU;AAAA,gBACjC,oBAAoBiC;AAAA,cAAA,CACrB,GACoCH,EAAA,sBAAsBG,GAAUjC,CAAmB;AAAA,YAC1F;AAAA,YACA,WAAAC;AAAA,YACA,WAAUkD,IAAAzC,EAAwB,oBAAoB,MAA5C,gBAAAyC,EAA+C;AAAA,UAAA;AAAA,QAC3D;AAAA,QAEC9B,gBAAAA,EAAAA,IAAA+B,GAAA,EAAa,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,YAAA;AAAA,UACjB;AAAA,QAAA;AAAA,MAEJ;AAAA,IAAA;AAAA,EACF;AAEJ,GAEakB,IAAkCxD;"}
1
+ {"version":3,"file":"index-CHo0fdEq.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 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,MAA0BF,GAC5BG,IACJH,EAAoB,sBAChBI,IAAqBC,EAAsBF,CAAoB,GAC/DG,IAAUC,EAAA,GACVC,KAAqBC,IAAAC,EAAwB,UAAU,MAAlC,gBAAAD,EAAqC,mBAE1DE,IA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D;AAAA,QAEHzC,EAAQ,iBAAiB,IAAI,CAAC0C,MAC7B3B,gBAAAA,MAAC4B,GAAA,EAAgB,QAAAD,GAAgB,qBAAAhD,EAAA,CAA0C,CAC5E;AAAA,QAEDqB,gBAAAA,EAAAA;AAAAA,UAAC6B;AAAA,UAAA;AAAA,YACC,qBAAAlD;AAAA,YACA,WAAW,CAAC,CAACE,EAAsB;AAAA,YACnC,UAAU,CAAC+B,MAAa;AACtB,cAAArB,EAAsB,YAAY;AAAA,gBAChC,GAAGZ,EAAoB,UAAU;AAAA,gBACjC,oBAAoBiC;AAAA,cAAA,CACrB,GACDH,EAAqC,sBAAsBG,GAAUjC,CAAmB;AAAA,YAC1F;AAAA,YACA,WAAAC;AAAA,YACA,WAAUkD,IAAAzC,EAAwB,oBAAoB,MAA5C,gBAAAyC,EAA+C;AAAA,UAAA;AAAA,QAAA;AAAA,QAG3D9B,gBAAAA,EAAAA,IAAC+B,GAAA,EAAa,QAAO,qBAAA,CAAqB;AAAA,QAE1C/B,gBAAAA,EAAAA;AAAAA,UAACgC;AAAA,UAAA;AAAA,YACC,MAAMC,EAAsB;AAAA,YAC5B,qBAAAtD;AAAA,YACA,WAAAC;AAAA,YACA,oBAAAG;AAAA,YACA,YACEiB,gBAAAA,EAAAA;AAAAA,cAACgB;AAAA,cAAA;AAAA,gBACC,IAAG;AAAA,gBACH,gBAAe;AAAA,cAAA;AAAA,YAAA;AAAA,UACjB;AAAA,QAAA;AAAA,MAEJ;AAAA,IAAA;AAAA,EAAA;AAGN,GAEakB,IAAkCxD;"}
@@ -4,161 +4,161 @@
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.130.0-alpha.3
8
- * BUILD_TIMESTAMP: 1758998192163
9
- * BUILD_DATE: Sat Sep 27 2025 18:36:32 GMT+0000 (Coordinated Universal Time)
7
+ * VERSION: 2.130.0-alpha.4
8
+ * BUILD_TIMESTAMP: 1759000347595
9
+ * BUILD_DATE: Sat Sep 27 2025 19:12:27 GMT+0000 (Coordinated Universal Time)
10
10
  * BUILD_COMMIT: be6ef87ab40e8747994d32363389cf39e36a4326
11
11
  */
12
- import { h as R, g as t, R as T, j as a, v as k, w as P, P as z, x as q, T as O, U as w, W as B, f as n, y as L, z as W, E as H, e as K, b as j, X as A, Y as G, G as U, H as X, M as Y, I as J, k as Q, V as Z, n as _ } from "../_mysheerid-preview.js";
13
- const $ = ({ verificationService: e }) => {
12
+ import { h as R, g as t, R as T, j as s, v as k, w as P, P as z, x as q, T as O, U as w, W as B, f as d, y as L, z as W, E as H, e as K, b as j, X as A, Y as G, G as U, H as X, M as Y, I as J, k as Q, V as Z, n as _ } from "../_mysheerid-preview.js";
13
+ const $ = ({ verificationService: a }) => {
14
14
  var p, b, u, h, C, i, x, g, M, I, N;
15
- const o = e.viewModel, { fieldValidationErrors: d } = e, r = e.verificationResponse, E = R(r), y = P(), m = (p = t("memberId")) == null ? void 0 : p.requireIfOptional, F = o.localeChoice.value, l = (s, f) => {
15
+ const o = a.viewModel, { fieldValidationErrors: n } = a, r = a.verificationResponse, E = R(r), y = P(), m = (p = t("memberId")) == null ? void 0 : p.requireIfOptional, f = o.localeChoice.value, l = (e, F) => {
16
16
  const V = _(
17
17
  o,
18
18
  (D) => {
19
- D[s] = f;
19
+ D[e] = F;
20
20
  }
21
21
  );
22
- e.updateViewModel(V);
22
+ a.updateViewModel(V);
23
23
  };
24
24
  return T.useEffect(() => {
25
- m ? e.updateViewModel({ fieldsToSkipValidation: [] }, { partial: !0 }) : e.updateViewModel(
25
+ m ? a.updateViewModel({ fieldsToSkipValidation: [] }, { partial: !0 }) : a.updateViewModel(
26
26
  { fieldsToSkipValidation: ["memberId"] },
27
27
  { partial: !0 }
28
28
  );
29
- }, [m]), /* @__PURE__ */ a.jsxs(
29
+ }, [m]), /* @__PURE__ */ s.jsxs(
30
30
  k,
31
31
  {
32
- verificationService: e,
32
+ verificationService: a,
33
33
  step: r.currentStep,
34
34
  children: [
35
- /* @__PURE__ */ a.jsx(
35
+ /* @__PURE__ */ s.jsx(
36
36
  z,
37
37
  {
38
- verificationService: e,
38
+ verificationService: a,
39
39
  classNameIdentifier: "member-personal-info"
40
40
  }
41
41
  ),
42
- /* @__PURE__ */ a.jsx(q, { verificationService: e }),
43
- /* @__PURE__ */ a.jsx(
42
+ /* @__PURE__ */ s.jsx(q, { verificationService: a }),
43
+ /* @__PURE__ */ s.jsx(
44
44
  O,
45
45
  {
46
- verificationService: e,
46
+ verificationService: a,
47
47
  disabled: (b = t("country")) == null ? void 0 : b.disabled
48
48
  }
49
49
  ),
50
- /* @__PURE__ */ a.jsx(
50
+ /* @__PURE__ */ s.jsx(
51
51
  w,
52
52
  {
53
- value: e.viewModel.organization,
54
- verificationService: e,
55
- isErrored: !!d.organization,
53
+ value: a.viewModel.organization,
54
+ verificationService: a,
55
+ isErrored: !!n.organization,
56
56
  disabled: (u = t("organization")) == null ? void 0 : u.disabled,
57
- onChange: (s) => {
58
- B(s, e), n("organization", s, e);
57
+ onChange: (e) => {
58
+ B(e, a), d("organization", e, a);
59
59
  }
60
60
  }
61
61
  ),
62
- /* @__PURE__ */ a.jsxs("div", { className: "sid-names", children: [
63
- /* @__PURE__ */ a.jsx(
62
+ /* @__PURE__ */ s.jsxs("div", { className: "sid-names", children: [
63
+ /* @__PURE__ */ s.jsx(
64
64
  L,
65
65
  {
66
66
  value: o.firstName,
67
- isErrored: !!d.firstName,
67
+ isErrored: !!n.firstName,
68
68
  disabled: (h = t("firstName")) == null ? void 0 : h.disabled,
69
- onChange: (s) => {
70
- l("firstName", s), n("firstName", s, e);
69
+ onChange: (e) => {
70
+ l("firstName", e), d("firstName", e, a);
71
71
  }
72
72
  }
73
73
  ),
74
- /* @__PURE__ */ a.jsx(
74
+ /* @__PURE__ */ s.jsx(
75
75
  W,
76
76
  {
77
77
  value: o.lastName,
78
- isErrored: !!d.lastName,
78
+ isErrored: !!n.lastName,
79
79
  disabled: (C = t("lastName")) == null ? void 0 : C.disabled,
80
- onChange: (s) => {
81
- l("lastName", s), n("lastName", s, e);
80
+ onChange: (e) => {
81
+ l("lastName", e), d("lastName", e, a);
82
82
  }
83
83
  }
84
84
  )
85
85
  ] }),
86
- /* @__PURE__ */ a.jsx(
86
+ /* @__PURE__ */ s.jsx(
87
87
  H,
88
88
  {
89
89
  value: o.email,
90
- isErrored: !!d.email,
91
- explanation: /* @__PURE__ */ a.jsx(j, { id: "emailExplanation", defaultMessage: " " }),
92
- onChange: (s) => {
93
- l("email", s), n("email", s, e);
90
+ isErrored: !!n.email,
91
+ explanation: /* @__PURE__ */ s.jsx(j, { id: "emailExplanation", defaultMessage: " " }),
92
+ onChange: (e) => {
93
+ l("email", e), d("email", e, a);
94
94
  },
95
- onKeyDown: (s) => K(s),
95
+ onKeyDown: (e) => K(e),
96
96
  disabled: (i = t("email")) == null ? void 0 : i.disabled
97
97
  }
98
98
  ),
99
- /* @__PURE__ */ a.jsx(
99
+ /* @__PURE__ */ s.jsx(
100
100
  A,
101
101
  {
102
- errorId: d.birthDate,
103
- locale: F,
102
+ errorId: n.birthDate,
103
+ locale: f,
104
104
  isRequired: (x = t("birthDate")) == null ? void 0 : x.requireIfOptional,
105
- onChange: (s) => {
106
- l("birthDate", s), n("birthDate", s, e);
105
+ onChange: (e) => {
106
+ l("birthDate", e), d("birthDate", e, a);
107
107
  },
108
108
  value: o.birthDate,
109
109
  disabled: (g = t("birthDate")) == null ? void 0 : g.disabled
110
110
  }
111
111
  ),
112
- /* @__PURE__ */ a.jsx(
112
+ /* @__PURE__ */ s.jsx(
113
113
  G,
114
114
  {
115
115
  value: o.memberId,
116
- isErrored: !!d.memberId,
116
+ isErrored: !!n.memberId,
117
117
  isRequired: m,
118
118
  disabled: (M = t("memberId")) == null ? void 0 : M.disabled,
119
- onChange: (s) => {
120
- l("memberId", s), n("memberId", s, e);
119
+ onChange: (e) => {
120
+ l("memberId", e), d("memberId", e, a);
121
121
  }
122
122
  }
123
123
  ),
124
- e.programTheme.isSmsNotifierConfigured || e.programTheme.smsLoopEnabled ? /* @__PURE__ */ a.jsx(
124
+ a.programTheme.isSmsNotifierConfigured || a.programTheme.smsLoopEnabled ? /* @__PURE__ */ s.jsx(
125
125
  U,
126
126
  {
127
- isRequired: !!e.programTheme.smsLoopEnabled,
127
+ isRequired: !!a.programTheme.smsLoopEnabled,
128
128
  value: o.phoneNumber,
129
- isErrored: !!d.phoneNumber,
130
- onChange: (s) => {
131
- l("phoneNumber", s), n("phoneNumber", s, e);
129
+ isErrored: !!n.phoneNumber,
130
+ onChange: (e) => {
131
+ l("phoneNumber", e), d("phoneNumber", e, a);
132
132
  },
133
133
  selectedCountryCode: o.countryChoice && o.countryChoice.value,
134
134
  disabled: (I = t("phoneNumber")) == null ? void 0 : I.disabled
135
135
  }
136
136
  ) : null,
137
- y.customFormFields.map((s) => /* @__PURE__ */ a.jsx(X, { config: s, verificationService: e })),
138
- /* @__PURE__ */ a.jsx(
137
+ y.customFormFields.map((e) => /* @__PURE__ */ s.jsx(X, { config: e, verificationService: a })),
138
+ /* @__PURE__ */ s.jsx(
139
139
  Y,
140
140
  {
141
- verificationService: e,
142
- isErrored: !!d.marketConsentValue,
143
- onChange: (s) => {
141
+ verificationService: a,
142
+ isErrored: !!n.marketConsentValue,
143
+ onChange: (e) => {
144
144
  l("metadata", {
145
- ...e.viewModel.metadata,
146
- marketConsentValue: s
147
- }), n("marketConsentValue", s, e);
145
+ ...a.viewModel.metadata,
146
+ marketConsentValue: e
147
+ }), d("marketConsentValue", e, a);
148
148
  },
149
149
  viewModel: o,
150
150
  disabled: (N = t("marketConsentValue")) == null ? void 0 : N.disabled
151
151
  }
152
152
  ),
153
- /* @__PURE__ */ a.jsx(J, { verificationService: e, suffix: "CollectAboveSubmit" }),
154
- /* @__PURE__ */ a.jsx(
153
+ /* @__PURE__ */ s.jsx(J, { suffix: "CollectAboveSubmit" }),
154
+ /* @__PURE__ */ s.jsx(
155
155
  Q,
156
156
  {
157
157
  step: Z.collectMemberPersonalInfo,
158
- verificationService: e,
158
+ verificationService: a,
159
159
  viewModel: o,
160
160
  failedInstantMatch: E,
161
- buttonText: /* @__PURE__ */ a.jsx(
161
+ buttonText: /* @__PURE__ */ s.jsx(
162
162
  j,
163
163
  {
164
164
  id: "step.personalInfo.submitButtonText",
@@ -1 +1 @@
1
- {"version":3,"file":"index-DMKiL4nl.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,MAA0BF,GAC5BG,IACJH,EAAoB,sBAChBI,IAAqBC,EAAsBF,CAAoB,GAC/DG,IAAUC,EAAW,GACrBC,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,MAAA;AAAA,IAE1B;AACA,IAAAd,EAAoB,gBAAgBe,CAAS;AAAA,EAC/C;AAEAG,SAAAA,EAAM,UAAU,MAAM;AACpB,IAAKV,IAMiBR,EAAA,gBAAgB,EAAE,wBAAwB,MAAM,EAAE,SAAS,IAAM,IALjEA,EAAA;AAAA,MAClB,EAAE,wBAAwB,CAAC,UAAU,EAAE;AAAA,MACvC,EAAE,SAAS,GAAK;AAAA,IAClB;AAAA,EAGF,GACC,CAACQ,CAAkB,CAAC,GAGrBW,gBAAAA,EAAA;AAAA,IAACC;AAAA,IAAA;AAAA,MACC,qBAAApB;AAAA,MACA,MAAMG,EAAqB;AAAA,MAE3B,UAAA;AAAA,QAAAkB,gBAAAA,EAAA;AAAA,UAACC;AAAA,U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,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,YAAA;AAAA,UACjB;AAAA,QAAA;AAAA,MAEJ;AAAA,IAAA;AAAA,EACF;AAEJ,GAEakB,KAAkCxD;"}
1
+ {"version":3,"file":"index-CUti-8Jc.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 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,MAA0BF,GAC5BG,IACJH,EAAoB,sBAChBI,IAAqBC,EAAsBF,CAAoB,GAC/DG,IAAUC,EAAA,GACVC,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,EAC/C;AAEA,SAAAG,EAAM,UAAU,MAAM;AACpB,IAAKV,IAMHR,EAAoB,gBAAgB,EAAE,wBAAwB,CAAA,KAAM,EAAE,SAAS,IAAM,IALrFA,EAAoB;AAAA,MAClB,EAAE,wBAAwB,CAAC,UAAU,EAAA;AAAA,MACrC,EAAE,SAAS,GAAA;AAAA,IAAK;AAAA,EAKtB,GAAG,CAACQ,CAAkB,CAAC,GAGrBW,gBAAAA,EAAAA;AAAAA,IAACC;AAAA,IAAA;AAAA,MACC,qBAAApB;AAAA,MACA,MAAMG,EAAqB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AAA,IAAC+B,GAAA,EAAa,QAAO,qBAAA,CAAqB;AAAA,QAE1C/B,gBAAAA,EAAAA;AAAAA,UAACgC;AAAA,UAAA;AAAA,YACC,MAAMC,EAAsB;AAAA,YAC5B,qBAAAtD;AAAA,YACA,WAAAC;AAAA,YACA,oBAAAG;AAAA,YACA,YACEiB,gBAAAA,EAAAA;AAAAA,cAACgB;AAAA,cAAA;AAAA,gBACC,IAAG;AAAA,gBACH,gBAAe;AAAA,cAAA;AAAA,YAAA;AAAA,UACjB;AAAA,QAAA;AAAA,MAEJ;AAAA,IAAA;AAAA,EAAA;AAGN,GAEakB,IAAkCxD;"}
@@ -4,9 +4,9 @@
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.130.0-alpha.3
8
- * BUILD_TIMESTAMP: 1758998192163
9
- * BUILD_DATE: Sat Sep 27 2025 18:36:32 GMT+0000 (Coordinated Universal Time)
7
+ * VERSION: 2.130.0-alpha.4
8
+ * BUILD_TIMESTAMP: 1759000347595
9
+ * BUILD_DATE: Sat Sep 27 2025 19:12:27 GMT+0000 (Coordinated Universal Time)
10
10
  * BUILD_COMMIT: be6ef87ab40e8747994d32363389cf39e36a4326
11
11
  */
12
12
  import { j as s, L as c, b as a, A as p, Q as g, N as u, V as d, m as x, f as b, l as j, n as h, i as E } from "../_mysheerid-preview.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index-CVEIzLov.js","sources":["../../src/components/StepEmailLoop/EmailLoopCollectOrganizationEmail.tsx","../../src/components/StepEmailLoop/StepEmailLoopComponent.tsx"],"sourcesContent":["import React from \"react\";\nimport produce from \"immer\";\n\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { LogoComponent } from \"../LogoComponent/LogoComponent\";\nimport { FormFooterComponent as FormFooter } from \"../FormFooter/FormFooterComponent\";\nimport { FormFieldText } from \"../FormFields/FormFieldText/FormFieldText\";\nimport {\n updateFieldValidationErrorsByFieldId,\n submitForm,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { logger } from \"../../lib/utils/logger/logger\";\nimport {\n EmailLoopCollectOrganizationEmailViewModel,\n VerificationService,\n} from \"../../lib/types/types\";\nimport { AnnouncingHeader } from \"../AnnouncingHeader/AnnouncingHeader\";\n\nexport const EmailLoopCollectOrganizationEmail = ({\n verificationService,\n}: {\n verificationService: VerificationService;\n}) => {\n const viewModel = verificationService.viewModel as EmailLoopCollectOrganizationEmailViewModel;\n const fieldValidationErrors = verificationService.fieldValidationErrors;\n const isInvalidOrgEmail = (verificationService.verificationResponse?.errorIds || []).includes(\n \"invalidEmail\",\n );\n\n const setEmailValue = (organizationEmail: string) => {\n verificationService.updateViewModel({ ...viewModel, organizationEmail });\n updateFieldValidationErrorsByFieldId(\n \"organizationEmail\",\n organizationEmail,\n verificationService,\n );\n };\n\n const cancelEmailLoop = async () => {\n logger.info(\"StepEmailLoopComponent submitting form after skipping email loop\");\n const nextState = produce(viewModel, () => {});\n return verificationService.submitStep(\n VerificationStepsEnum.cancelEmailLoop,\n nextState,\n verificationService.verificationResponse,\n );\n };\n\n return (\n <>\n <div className=\"sid-header sid-l-horz-center\">\n <div role=\"main\">\n <div className=\"sid-sso-logo-container sid-l-horz-center\">\n <LogoComponent\n verificationService={verificationService}\n fallbackLogo={\n <img\n className=\"sid-sso-logo-default sid-l-lead-image\"\n alt=\"\"\n src=\"https://assets-resources.sheerid.com/common/images/2018/icons/doc-pending.svg\"\n />\n }\n />\n </div>\n <div className=\"sid-preheader-label sid-l-space-top-md\">\n <span className=\"sid-h-label\">\n <FormattedHTMLMessage id=\"instant\" defaultMessage=\"Instant\" />\n </span>\n </div>\n <AnnouncingHeader align=\"center\">\n <FormattedHTMLMessage\n id=\"step.emailLoop.collectOrganizationEmail.title\"\n defaultMessage=\"Verify using your work email address\"\n tagName=\"h1\"\n />\n </AnnouncingHeader>\n <div className=\"sid-header__subtitle-one\">\n <FormattedHTMLMessage\n id=\"step.emailLoop.collectOrganizationEmail.subtitle\"\n defaultMessage=\"Enter the email address provided by your employer and we'll send you a verification link\"\n />\n </div>\n </div>\n\n <div className=\"sid-form-region sid-email-submit sid-submit-wrapper sid-l-space-top-md\">\n <FormFieldText\n fieldId=\"emailOverride\"\n value={viewModel.organizationEmail}\n onChange={setEmailValue}\n placeholder=\"\"\n label={\n <FormattedHTMLMessage\n id=\"step.emailLoop.collectOrganizationEmail.email.label\"\n defaultMessage=\"Work email address\"\n />\n }\n errorMessage={\n (isInvalidOrgEmail && (\n <FormattedHTMLMessage\n id=\"step.emailLoop.errors.invalidEmail\"\n defaultMessage=\"This email address is not valid for instant verification. Please use an email address provided by your employer or upload documentation below.\"\n />\n )) ||\n (fieldValidationErrors.organizationEmail && (\n <FormattedHTMLMessage id=\"emailIds.invalidEmail\" defaultMessage=\"Invalid email\" />\n ))\n }\n />\n <div className=\"sid-l-space-top-sm\">\n <button\n id=\"sid-submit-btn-sso\"\n type=\"submit\"\n disabled={!!fieldValidationErrors.organizationEmail}\n onClick={() =>\n submitForm(\n viewModel,\n verificationService,\n VerificationStepsEnum.emailLoopCollectOrganizationEmail,\n )\n }\n className=\"sid-btn sid-sso-submit-btn sid-btn--dark sid-l-full-width \"\n aria-label=\"submit\"\n >\n <FormattedHTMLMessage\n id=\"step.emailLoop.collectOrganizationEmail.email.send\"\n defaultMessage=\"Send Email\"\n />\n </button>\n </div>\n\n <div className=\"sid-form-region sid-l-space-top-lg sid-l-horz-center\">\n <div className=\"sid-header__subtitle-two sid-h-bold-text\">\n <FormattedHTMLMessage\n id=\"step.emailLoop.collectOrganizationEmail.alternative\"\n defaultMessage=\"Unable to access a work email address?\"\n />\n </div>\n <div className=\"sid-form-region sid-l-space-btm-sm sid-l-space-top-sm\">\n <FormattedHTMLMessage\n id=\"step.sso.alternative\"\n defaultMessage=\"You can also verify by uploading proof of eligibility\"\n />\n </div>\n <div className=\"sid-l-space-top-sm\">\n <button\n onClick={cancelEmailLoop}\n className=\"sid-h-btn-link-like sid-link sid-h-bold-text\"\n type=\"button\"\n >\n <FormattedHTMLMessage\n id=\"step.sso.cancel\"\n defaultMessage=\"Upload Proof of Enrollment\"\n />\n </button>\n </div>\n </div>\n\n <div className=\"sid-l-space-top-lg\" />\n </div>\n </div>\n <FormFooter verificationService={verificationService} />\n </>\n );\n};\n","import React from \"react\";\nimport { injectIntl, InjectedIntl } from \"react-intl\";\n\nimport { EmailLoopResponse, VerificationService } from \"../../lib/types/types\";\n\nimport { EmailLoopCollectOrganizationEmail } from \"./EmailLoopCollectOrganizationEmail\";\nimport { EmailLoopPendingComponent } from \"./EmailLoopPending\";\n\nexport interface StepEmailLoopComponentProps {\n // eslint-disable-next-line react/no-unused-prop-types -- this prop type is reused in the sub components\n intl: InjectedIntl;\n verificationService: VerificationService;\n}\n\nexport const StepEmailLoop = ({ verificationService }: StepEmailLoopComponentProps) => {\n const isCollectOrgEmailState =\n (verificationService.verificationResponse as EmailLoopResponse).currentState ===\n \"collectOrganizationEmail\";\n return (\n <div id=\"sid-step-email-loop\" className=\"sid-step-email-loop-container sid-l-container\">\n {isCollectOrgEmailState ? (\n <EmailLoopCollectOrganizationEmail verificationService={verificationService} />\n ) : (\n <EmailLoopPendingComponent verificationService={verificationService} />\n )}\n </div>\n );\n};\n\nexport const StepEmailLoopComponent = injectIntl(StepEmailLoop);\n"],"names":["EmailLoopCollectOrganizationEmail","verificationService","viewModel","fieldValidationErrors","isInvalidOrgEmail","_a","setEmailValue","organizationEmail","updateFieldValidationErrorsByFieldId","cancelEmailLoop","logger","nextState","produce","VerificationStepsEnum","jsxs","Fragment","jsx","LogoComponent","FormattedHTMLMessage","AnnouncingHeader","FormFieldText","submitForm","FormFooter","StepEmailLoop","isCollectOrgEmailState","EmailLoopPendingComponent","StepEmailLoopComponent","injectIntl"],"mappings":";;AAoBO,MAAMA,IAAoC,CAAC;AAAA,EAChD,qBAAAC;AACF,MAEM;;A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AAS,GAAA,EAA0B,qBAAAxB,EAA0C,CAAA,GAEzE;AAEJ,GAEayB,IAAyBC,EAAWJ,CAAa;"}
1
+ {"version":3,"file":"index-CVEIzLov.js","sources":["../../src/components/StepEmailLoop/EmailLoopCollectOrganizationEmail.tsx","../../src/components/StepEmailLoop/StepEmailLoopComponent.tsx"],"sourcesContent":["import React from \"react\";\nimport produce from \"immer\";\n\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { LogoComponent } from \"../LogoComponent/LogoComponent\";\nimport { FormFooterComponent as FormFooter } from \"../FormFooter/FormFooterComponent\";\nimport { FormFieldText } from \"../FormFields/FormFieldText/FormFieldText\";\nimport {\n updateFieldValidationErrorsByFieldId,\n submitForm,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { logger } from \"../../lib/utils/logger/logger\";\nimport {\n EmailLoopCollectOrganizationEmailViewModel,\n VerificationService,\n} from \"../../lib/types/types\";\nimport { AnnouncingHeader } from \"../AnnouncingHeader/AnnouncingHeader\";\n\nexport const EmailLoopCollectOrganizationEmail = ({\n verificationService,\n}: {\n verificationService: VerificationService;\n}) => {\n const viewModel = verificationService.viewModel as EmailLoopCollectOrganizationEmailViewModel;\n const fieldValidationErrors = verificationService.fieldValidationErrors;\n const isInvalidOrgEmail = (verificationService.verificationResponse?.errorIds || []).includes(\n \"invalidEmail\",\n );\n\n const setEmailValue = (organizationEmail: string) => {\n verificationService.updateViewModel({ ...viewModel, organizationEmail });\n updateFieldValidationErrorsByFieldId(\n \"organizationEmail\",\n organizationEmail,\n verificationService,\n );\n };\n\n const cancelEmailLoop = async () => {\n logger.info(\"StepEmailLoopComponent submitting form after skipping email loop\");\n const nextState = produce(viewModel, () => {});\n return verificationService.submitStep(\n VerificationStepsEnum.cancelEmailLoop,\n nextState,\n verificationService.verificationResponse,\n );\n };\n\n return (\n <>\n <div className=\"sid-header sid-l-horz-center\">\n <div role=\"main\">\n <div className=\"sid-sso-logo-container sid-l-horz-center\">\n <LogoComponent\n verificationService={verificationService}\n fallbackLogo={\n <img\n className=\"sid-sso-logo-default sid-l-lead-image\"\n alt=\"\"\n src=\"https://assets-resources.sheerid.com/common/images/2018/icons/doc-pending.svg\"\n />\n }\n />\n </div>\n <div className=\"sid-preheader-label sid-l-space-top-md\">\n <span className=\"sid-h-label\">\n <FormattedHTMLMessage id=\"instant\" defaultMessage=\"Instant\" />\n </span>\n </div>\n <AnnouncingHeader align=\"center\">\n <FormattedHTMLMessage\n id=\"step.emailLoop.collectOrganizationEmail.title\"\n defaultMessage=\"Verify using your work email address\"\n tagName=\"h1\"\n />\n </AnnouncingHeader>\n <div className=\"sid-header__subtitle-one\">\n <FormattedHTMLMessage\n id=\"step.emailLoop.collectOrganizationEmail.subtitle\"\n defaultMessage=\"Enter the email address provided by your employer and we'll send you a verification link\"\n />\n </div>\n </div>\n\n <div className=\"sid-form-region sid-email-submit sid-submit-wrapper sid-l-space-top-md\">\n <FormFieldText\n fieldId=\"emailOverride\"\n value={viewModel.organizationEmail}\n onChange={setEmailValue}\n placeholder=\"\"\n label={\n <FormattedHTMLMessage\n id=\"step.emailLoop.collectOrganizationEmail.email.label\"\n defaultMessage=\"Work email address\"\n />\n }\n errorMessage={\n (isInvalidOrgEmail && (\n <FormattedHTMLMessage\n id=\"step.emailLoop.errors.invalidEmail\"\n defaultMessage=\"This email address is not valid for instant verification. Please use an email address provided by your employer or upload documentation below.\"\n />\n )) ||\n (fieldValidationErrors.organizationEmail && (\n <FormattedHTMLMessage id=\"emailIds.invalidEmail\" defaultMessage=\"Invalid email\" />\n ))\n }\n />\n <div className=\"sid-l-space-top-sm\">\n <button\n id=\"sid-submit-btn-sso\"\n type=\"submit\"\n disabled={!!fieldValidationErrors.organizationEmail}\n onClick={() =>\n submitForm(\n viewModel,\n verificationService,\n VerificationStepsEnum.emailLoopCollectOrganizationEmail,\n )\n }\n className=\"sid-btn sid-sso-submit-btn sid-btn--dark sid-l-full-width \"\n aria-label=\"submit\"\n >\n <FormattedHTMLMessage\n id=\"step.emailLoop.collectOrganizationEmail.email.send\"\n defaultMessage=\"Send Email\"\n />\n </button>\n </div>\n\n <div className=\"sid-form-region sid-l-space-top-lg sid-l-horz-center\">\n <div className=\"sid-header__subtitle-two sid-h-bold-text\">\n <FormattedHTMLMessage\n id=\"step.emailLoop.collectOrganizationEmail.alternative\"\n defaultMessage=\"Unable to access a work email address?\"\n />\n </div>\n <div className=\"sid-form-region sid-l-space-btm-sm sid-l-space-top-sm\">\n <FormattedHTMLMessage\n id=\"step.sso.alternative\"\n defaultMessage=\"You can also verify by uploading proof of eligibility\"\n />\n </div>\n <div className=\"sid-l-space-top-sm\">\n <button\n onClick={cancelEmailLoop}\n className=\"sid-h-btn-link-like sid-link sid-h-bold-text\"\n type=\"button\"\n >\n <FormattedHTMLMessage\n id=\"step.sso.cancel\"\n defaultMessage=\"Upload Proof of Enrollment\"\n />\n </button>\n </div>\n </div>\n\n <div className=\"sid-l-space-top-lg\" />\n </div>\n </div>\n <FormFooter verificationService={verificationService} />\n </>\n );\n};\n","import React from \"react\";\nimport { injectIntl, InjectedIntl } from \"react-intl\";\n\nimport { EmailLoopResponse, VerificationService } from \"../../lib/types/types\";\n\nimport { EmailLoopCollectOrganizationEmail } from \"./EmailLoopCollectOrganizationEmail\";\nimport { EmailLoopPendingComponent } from \"./EmailLoopPending\";\n\nexport interface StepEmailLoopComponentProps {\n // eslint-disable-next-line react/no-unused-prop-types -- this prop type is reused in the sub components\n intl: InjectedIntl;\n verificationService: VerificationService;\n}\n\nexport const StepEmailLoop = ({ verificationService }: StepEmailLoopComponentProps) => {\n const isCollectOrgEmailState =\n (verificationService.verificationResponse as EmailLoopResponse).currentState ===\n \"collectOrganizationEmail\";\n return (\n <div id=\"sid-step-email-loop\" className=\"sid-step-email-loop-container sid-l-container\">\n {isCollectOrgEmailState ? (\n <EmailLoopCollectOrganizationEmail verificationService={verificationService} />\n ) : (\n <EmailLoopPendingComponent verificationService={verificationService} />\n )}\n </div>\n );\n};\n\nexport const StepEmailLoopComponent = injectIntl(StepEmailLoop);\n"],"names":["EmailLoopCollectOrganizationEmail","verificationService","viewModel","fieldValidationErrors","isInvalidOrgEmail","_a","setEmailValue","organizationEmail","updateFieldValidationErrorsByFieldId","cancelEmailLoop","logger","nextState","produce","VerificationStepsEnum","jsxs","Fragment","jsx","LogoComponent","FormattedHTMLMessage","AnnouncingHeader","FormFieldText","submitForm","FormFooter","StepEmailLoop","isCollectOrgEmailState","EmailLoopPendingComponent","StepEmailLoopComponent","injectIntl"],"mappings":";;AAoBO,MAAMA,IAAoC,CAAC;AAAA,EAChD,qBAAAC;AACF,MAEM;;AACJ,QAAMC,IAAYD,EAAoB,WAChCE,IAAwBF,EAAoB,uBAC5CG,OAAqBC,IAAAJ,EAAoB,yBAApB,gBAAAI,EAA0C,aAAY,CAAA,GAAI;AAAA,IACnF;AAAA,EAAA,GAGIC,IAAgB,CAACC,MAA8B;AACnD,IAAAN,EAAoB,gBAAgB,EAAE,GAAGC,GAAW,mBAAAK,GAAmB,GACvEC;AAAA,MACE;AAAA,MACAD;AAAA,MACAN;AAAA,IAAA;AAAA,EAEJ,GAEMQ,IAAkB,YAAY;AAClC,IAAAC,EAAO,KAAK,kEAAkE;AAC9E,UAAMC,IAAYC,EAAQV,GAAW,MAAM;AAAA,IAAC,CAAC;AAC7C,WAAOD,EAAoB;AAAA,MACzBY,EAAsB;AAAA,MACtBF;AAAA,MACAV,EAAoB;AAAA,IAAA;AAAA,EAExB;AAEA,SACEa,gBAAAA,EAAAA,KAAAC,YAAA,EACE,UAAA;AAAA,IAAAD,gBAAAA,EAAAA,KAAC,OAAA,EAAI,WAAU,gCACb,UAAA;AAAA,MAAAA,gBAAAA,EAAAA,KAAC,OAAA,EAAI,MAAK,QACR,UAAA;AAAA,QAAAE,gBAAAA,EAAAA,IAAC,OAAA,EAAI,WAAU,4CACb,UAAAA,gBAAAA,EAAAA;AAAAA,UAACC;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