@sheerid/jslib-nightly 2.105.0-alpha.0 → 2.107.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.
- package/__tests__/__helpers__/renderers.d.ts +5 -5
- package/_mysheerid-preview.css +4 -4
- package/_mysheerid-preview.js +18351 -16683
- package/_mysheerid-preview.js.map +1 -1
- package/chunk/{EmailLoopPending-Dzs07hxx.js → EmailLoopPending-Dtf0p85F.js} +18 -18
- package/chunk/{EmailLoopPending-Dzs07hxx.js.map → EmailLoopPending-Dtf0p85F.js.map} +1 -1
- package/chunk/{EmailLoopPending-CKTAwQQA.js → EmailLoopPending-Dy8mLFvV.js} +18 -18
- package/chunk/{EmailLoopPending-CKTAwQQA.js.map → EmailLoopPending-Dy8mLFvV.js.map} +1 -1
- package/chunk/LicensedProfessionalOrganizationComponent-BYijEfDT.js +55 -0
- package/chunk/LicensedProfessionalOrganizationComponent-BYijEfDT.js.map +1 -0
- package/chunk/LicensedProfessionalOrganizationComponent-CiYU-2dW.js +51 -0
- package/chunk/LicensedProfessionalOrganizationComponent-CiYU-2dW.js.map +1 -0
- package/chunk/{Onfido-CMH3IUna.js → Onfido-AyvUk6wg.js} +28 -28
- package/chunk/{Onfido-CMH3IUna.js.map → Onfido-AyvUk6wg.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-lChJAp_W.js → StepIDCheckLoopOnfido-CmNwFqjD.js} +13 -12
- package/chunk/{StepIDCheckLoopOnfido-C9iUX8TC.js.map → StepIDCheckLoopOnfido-CmNwFqjD.js.map} +1 -1
- package/{lib/StepIDCheckLoopOnfido-DiSAKwu6.js → chunk/StepIDCheckLoopOnfido-DtbplNxs.js} +26 -27
- package/chunk/{StepIDCheckLoopOnfido-lChJAp_W.js.map → StepIDCheckLoopOnfido-DtbplNxs.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-BB8xA4nn.js → StepIDCheckLoopRegula-RoX971sR.js} +59 -85
- package/chunk/StepIDCheckLoopRegula-RoX971sR.js.map +1 -0
- package/chunk/{StepIDCheckLoopRegula-D8XhToQz.js → StepIDCheckLoopRegula-oqf-QxHT.js} +59 -85
- package/chunk/StepIDCheckLoopRegula-oqf-QxHT.js.map +1 -0
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-ClKql0Nd.js → StepInactiveMilitaryPersonalInfoComponent-CTCfr5Y8.js} +48 -48
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-ClKql0Nd.js.map → StepInactiveMilitaryPersonalInfoComponent-CTCfr5Y8.js.map} +1 -1
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-DXkei7Fp.js → StepInactiveMilitaryPersonalInfoComponent-D4veFRlW.js} +48 -48
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-DXkei7Fp.js.map → StepInactiveMilitaryPersonalInfoComponent-D4veFRlW.js.map} +1 -1
- package/chunk/ar-CtJ_9k3U.js +4 -4
- package/chunk/bg-CWxXfiDq.js +4 -4
- package/chunk/bn-IN-Dpq_hCqt.js +4 -4
- package/chunk/cs-HevyelX7.js +4 -4
- package/chunk/da-6QXhWjWH.js +4 -4
- package/chunk/de-ChuCvRLv.js +4 -4
- package/chunk/el-3IAhABcN.js +4 -4
- package/chunk/en-GB-ByNBaer-.js +4 -4
- package/chunk/es-CL_dUc9X.js +4 -4
- package/chunk/es-ES-CW4At4Ol.js +4 -4
- package/chunk/fi-D8cIebkk.js +4 -4
- package/chunk/fr-BDU-1C6f.js +4 -4
- package/chunk/fr-CA-Dc02rv8D.js +4 -4
- package/chunk/ga-P7eP-INQ.js +4 -4
- package/chunk/hi-IN-DlmwjoqH.js +4 -4
- package/chunk/hr-CT_VP_lm.js +4 -4
- package/chunk/hu-I8Z1uXsR.js +4 -4
- package/chunk/id-CUPTGKOT.js +4 -4
- package/chunk/{index-DGGRPaEI.js → index-4APUDd8S.js} +27 -27
- package/chunk/{index-DGGRPaEI.js.map → index-4APUDd8S.js.map} +1 -1
- package/chunk/{index-BDsZCFuU.js → index-9OD0Bw98.js} +58 -58
- package/chunk/{index-D6oLMvTq.js.map → index-9OD0Bw98.js.map} +1 -1
- package/chunk/index-B-PpnUEO.js +52 -0
- package/chunk/index-B-PpnUEO.js.map +1 -0
- package/chunk/{index-BW4s6-PH.js → index-B8F8N-JM.js} +90 -89
- package/chunk/index-B8F8N-JM.js.map +1 -0
- package/chunk/{index-BGGHZBWq.js → index-B8KPM--K.js} +48 -56
- package/chunk/{index-BGGHZBWq.js.map → index-B8KPM--K.js.map} +1 -1
- package/chunk/{index-DhpucFa7.js → index-BD2bjH-C.js} +5 -5
- package/{lib/index-UiGEZV81.js.map → chunk/index-BD2bjH-C.js.map} +1 -1
- package/chunk/{index-Dba2dHcR.js → index-BD_a0MZT.js} +21 -21
- package/chunk/{index-Dba2dHcR.js.map → index-BD_a0MZT.js.map} +1 -1
- package/chunk/{index-DnCqjuSC.js → index-BDrKYann.js} +26 -26
- package/chunk/{index-DnCqjuSC.js.map → index-BDrKYann.js.map} +1 -1
- package/chunk/index-BTR4RdFx.js +169 -0
- package/chunk/index-BTR4RdFx.js.map +1 -0
- package/chunk/{index-Bld-AWYE.js → index-Bi9QXN5x.js} +13 -13
- package/chunk/{index-CZjGTko2.js.map → index-Bi9QXN5x.js.map} +1 -1
- package/chunk/{index-B1579hxf.js → index-Bmq6cJ3F.js} +26 -26
- package/{lib/index-BR7Obj6X.js.map → chunk/index-Bmq6cJ3F.js.map} +1 -1
- package/chunk/{index-DPv0lytr.js → index-BpZoH-Wz.js} +21 -21
- package/chunk/{index-DPv0lytr.js.map → index-BpZoH-Wz.js.map} +1 -1
- package/chunk/{index-BjaCS2a8.js → index-BuX76GyE.js} +34 -34
- package/{lib/index-MzEDmZWe.js.map → chunk/index-BuX76GyE.js.map} +1 -1
- package/chunk/{index-CfUabHav.js → index-C2h0Wj84.js} +48 -56
- package/chunk/{index-CfUabHav.js.map → index-C2h0Wj84.js.map} +1 -1
- package/chunk/{index-B5okgMmp.js → index-C8MQD8EK.js} +27 -27
- package/chunk/{index-B5okgMmp.js.map → index-C8MQD8EK.js.map} +1 -1
- package/chunk/{index-CCUi9Uhw.js → index-C8u9IJUa.js} +11 -11
- package/chunk/{index-CCUi9Uhw.js.map → index-C8u9IJUa.js.map} +1 -1
- package/chunk/{index-D7O7vvSe.js → index-C96ntS0u.js} +26 -26
- package/chunk/{index-B1579hxf.js.map → index-C96ntS0u.js.map} +1 -1
- package/chunk/{index-eYM75vHB.js → index-CG2W8lDZ.js} +51 -54
- package/chunk/index-CG2W8lDZ.js.map +1 -0
- package/chunk/index-CHK5i4jj.js +48 -0
- package/chunk/index-CHK5i4jj.js.map +1 -0
- package/chunk/{index-DSrYVtDo.js → index-CTb96lOK.js} +10 -10
- package/chunk/{index-DSrYVtDo.js.map → index-CTb96lOK.js.map} +1 -1
- package/chunk/{index-Cq__fToG.js → index-CcRowarb.js} +5 -5
- package/chunk/{index-DhpucFa7.js.map → index-CcRowarb.js.map} +1 -1
- package/chunk/{index-BnPrfsM1.js → index-CeHu2Npu.js} +7 -7
- package/chunk/{index-BnPrfsM1.js.map → index-CeHu2Npu.js.map} +1 -1
- package/chunk/index-CepZL7Cr.js +173 -0
- package/chunk/index-CepZL7Cr.js.map +1 -0
- package/chunk/{index-BvGP9l7M.js → index-CniY_P3e.js} +219 -237
- package/chunk/index-CniY_P3e.js.map +1 -0
- package/chunk/{index-BrkIzqD1.js → index-DDyTUP55.js} +51 -54
- package/chunk/index-DDyTUP55.js.map +1 -0
- package/chunk/index-DIkWpujR.js +4 -4
- package/chunk/index-DIkWpujR.js.map +1 -1
- package/chunk/{index-D6oLMvTq.js → index-DKWjcFJK.js} +58 -58
- package/chunk/{index-BDsZCFuU.js.map → index-DKWjcFJK.js.map} +1 -1
- package/chunk/{index-B4B6qxaM.js → index-DLz31Fzh.js} +11 -11
- package/chunk/{index-BYMr8It7.js.map → index-DLz31Fzh.js.map} +1 -1
- package/chunk/{index-B8tKf2Rd.js → index-DO5Z3e-E.js} +34 -34
- package/chunk/{index-B8tKf2Rd.js.map → index-DO5Z3e-E.js.map} +1 -1
- package/chunk/{index-CjcHzfTY.js → index-DRlGAW07.js} +11 -11
- package/chunk/{index-CjcHzfTY.js.map → index-DRlGAW07.js.map} +1 -1
- package/chunk/{index-YmkMflXj.js → index-DVynViqA.js} +7 -7
- package/chunk/{index-YmkMflXj.js.map → index-DVynViqA.js.map} +1 -1
- package/chunk/{index-B92Kfyw6.js → index-Dg8t7-dm.js} +90 -89
- package/chunk/index-Dg8t7-dm.js.map +1 -0
- package/chunk/{index-DpYUZXus.js → index-DhGg9lvf.js} +26 -26
- package/chunk/{index-DpYUZXus.js.map → index-DhGg9lvf.js.map} +1 -1
- package/chunk/{index-BqnEM3hj.js → index-DtH8Qo7N.js} +52 -52
- package/chunk/index-DtH8Qo7N.js.map +1 -0
- package/chunk/{index-BYMr8It7.js → index-DzqRsB7_.js} +11 -11
- package/chunk/{index-B4B6qxaM.js.map → index-DzqRsB7_.js.map} +1 -1
- package/chunk/{index-CEi_QkyI.js → index-FfXcSdRM.js} +219 -237
- package/chunk/index-FfXcSdRM.js.map +1 -0
- package/chunk/{index-CZjGTko2.js → index-FjzhfDlx.js} +13 -13
- package/chunk/{index-Bld-AWYE.js.map → index-FjzhfDlx.js.map} +1 -1
- package/chunk/{index-Cp0C-9fh.js → index-Gfy-1H7s.js} +10 -10
- package/{lib/index-BwlcJZwR.js.map → chunk/index-Gfy-1H7s.js.map} +1 -1
- package/chunk/{index-F6_JySe5.js → index-jFznw2e5.js} +52 -52
- package/chunk/index-jFznw2e5.js.map +1 -0
- package/chunk/is-CUuXi4qZ.js +4 -4
- package/chunk/it-BNmynTsg.js +4 -4
- package/chunk/iw-FGzquR_X.js +4 -4
- package/chunk/ja-YgUpXA0l.js +4 -4
- package/chunk/ko-CuNS5J_M.js +4 -4
- package/chunk/lo-BEf8aFjR.js +4 -4
- package/chunk/lt-DvX1gz1a.js +4 -4
- package/chunk/ms-gSqM-Mfi.js +4 -4
- package/chunk/nl-BE-Cid5LFlN.js +4 -4
- package/chunk/nl-CUUTswxa.js +4 -4
- package/chunk/no-BvUqlShV.js +4 -4
- package/chunk/pl-CU8leZhI.js +4 -4
- package/chunk/pt-BR-CboWpHFi.js +4 -4
- package/chunk/pt-BnK7xRT_.js +4 -4
- package/chunk/ro-BfAyXxSW.js +4 -4
- package/chunk/ru-BD-YGPuQ.js +4 -4
- package/chunk/sk-CqsabpdG.js +4 -4
- package/chunk/sl-CeVAf0S_.js +4 -4
- package/chunk/sr-DSaHxcCQ.js +4 -4
- package/chunk/sv-DOyWYViy.js +4 -4
- package/chunk/sw-2Q7Jo6wp.js +4 -4
- package/chunk/th-BZ6F9sPf.js +4 -4
- package/chunk/tr-om80xrv2.js +4 -4
- package/chunk/uk-Dxugux8e.js +4 -4
- package/chunk/ur-OBILUeZ7.js +4 -4
- package/chunk/useCollectFieldsEndpoint-C5fsaYJe.js +4 -4
- package/chunk/useCollectFieldsEndpoint-C5fsaYJe.js.map +1 -1
- package/chunk/useCollectFieldsEndpoint-kmLFyUA-.js +4 -4
- package/chunk/useCollectFieldsEndpoint-kmLFyUA-.js.map +1 -1
- package/chunk/{useEmailFirstExperiment-CSa3DQll.js → useEmailFirstExperiment-BbDrKQEs.js} +29 -30
- package/chunk/{useEmailFirstExperiment-CSa3DQll.js.map → useEmailFirstExperiment-BbDrKQEs.js.map} +1 -1
- package/chunk/{useEmailFirstExperiment-DZ1B78ke.js → useEmailFirstExperiment-CgU-itQI.js} +29 -30
- package/chunk/{useEmailFirstExperiment-DZ1B78ke.js.map → useEmailFirstExperiment-CgU-itQI.js.map} +1 -1
- package/chunk/vi-BOR2GuRI.js +4 -4
- package/chunk/zh-HK-BI-IHOGG.js +4 -4
- package/chunk/zh-eoMG5RFC.js +4 -4
- package/chunk/zu-D_A8wcJW.js +4 -4
- package/dev/programIds.d.ts +1 -1
- package/es6.css +4 -4
- package/jslib.js +25 -25
- package/lib/{EmailLoopPending-Dv5RU8aW.js → EmailLoopPending-DmK3Dk78.js} +12 -12
- package/lib/{EmailLoopPending-Dv5RU8aW.js.map → EmailLoopPending-DmK3Dk78.js.map} +1 -1
- package/lib/LicensedProfessionalOrganizationComponent-DW-zL6gw.js +52 -0
- package/lib/LicensedProfessionalOrganizationComponent-DW-zL6gw.js.map +1 -0
- package/lib/{Onfido-CMH3IUna.js → Onfido-AyvUk6wg.js} +28 -28
- package/lib/{Onfido-CMH3IUna.js.map → Onfido-AyvUk6wg.js.map} +1 -1
- package/lib/StepCollectMilitaryStatusComponent-D517feFX.js +11 -0
- package/lib/{StepCollectMilitaryStatusComponent-DGfjdYFR.js.map → StepCollectMilitaryStatusComponent-D517feFX.js.map} +1 -1
- package/{chunk/StepIDCheckLoopOnfido-C9iUX8TC.js → lib/StepIDCheckLoopOnfido-NUszkhqn.js} +13 -11
- package/lib/{StepIDCheckLoopOnfido-DiSAKwu6.js.map → StepIDCheckLoopOnfido-NUszkhqn.js.map} +1 -1
- package/lib/{StepIDCheckLoopRegula-Cbr1wxzD.js → StepIDCheckLoopRegula-B5k4M7-s.js} +22 -21
- package/lib/StepIDCheckLoopRegula-B5k4M7-s.js.map +1 -0
- package/lib/{StepInactiveMilitaryPersonalInfoComponent-CEneK5BB.js → StepInactiveMilitaryPersonalInfoComponent-De7qPVP3.js} +45 -45
- package/lib/{StepInactiveMilitaryPersonalInfoComponent-CEneK5BB.js.map → StepInactiveMilitaryPersonalInfoComponent-De7qPVP3.js.map} +1 -1
- package/lib/VerificationApiUtils-Dgr2p-KR.js +23 -0
- package/lib/{VerificationApiUtils-BaeyxwKQ.js.map → VerificationApiUtils-Dgr2p-KR.js.map} +1 -1
- package/lib/ar-CtJ_9k3U.js +4 -4
- package/lib/bg-CWxXfiDq.js +4 -4
- package/lib/bn-IN-Dpq_hCqt.js +4 -4
- package/lib/cs-HevyelX7.js +4 -4
- package/lib/da-6QXhWjWH.js +4 -4
- package/lib/de-ChuCvRLv.js +4 -4
- package/lib/el-3IAhABcN.js +4 -4
- package/lib/en-GB-ByNBaer-.js +4 -4
- package/lib/es-CL_dUc9X.js +4 -4
- package/lib/es-ES-CW4At4Ol.js +4 -4
- package/lib/{es6-DIUKg5Yl.js → es6-DhcaGhs8.js} +13140 -11855
- package/lib/es6-DhcaGhs8.js.map +1 -0
- package/lib/fi-D8cIebkk.js +4 -4
- package/lib/fr-BDU-1C6f.js +4 -4
- package/lib/fr-CA-Dc02rv8D.js +4 -4
- package/lib/ga-P7eP-INQ.js +4 -4
- package/lib/hi-IN-DlmwjoqH.js +4 -4
- package/lib/hr-CT_VP_lm.js +4 -4
- package/lib/hu-I8Z1uXsR.js +4 -4
- package/lib/id-CUPTGKOT.js +4 -4
- package/lib/{index-UiGEZV81.js → index--hk3qU5j.js} +5 -5
- package/{chunk/index-Cq__fToG.js.map → lib/index--hk3qU5j.js.map} +1 -1
- package/lib/{index-BfZIEtAp.js → index-4U7sgQbx.js} +66 -69
- package/lib/index-4U7sgQbx.js.map +1 -0
- package/lib/{index-BNxZc3yj.js → index-BM2JvToK.js} +26 -26
- package/lib/{index-BNxZc3yj.js.map → index-BM2JvToK.js.map} +1 -1
- package/lib/{index-BwlcJZwR.js → index-B_I5R2Ce.js} +8 -8
- package/{chunk/index-Cp0C-9fh.js.map → lib/index-B_I5R2Ce.js.map} +1 -1
- package/lib/{index-CT2Bcg4x.js → index-Be5oG0nx.js} +5 -5
- package/lib/{index-CT2Bcg4x.js.map → index-Be5oG0nx.js.map} +1 -1
- package/lib/{index-BR7Obj6X.js → index-Bn7Kgzdx.js} +34 -34
- package/{chunk/index-D7O7vvSe.js.map → lib/index-Bn7Kgzdx.js.map} +1 -1
- package/lib/{index-LZPXbSqW.js → index-BsaBuTgg.js} +385 -402
- package/lib/index-BsaBuTgg.js.map +1 -0
- package/lib/{index-B8tJDCPk.js → index-C6IOYgpI.js} +76 -75
- package/lib/index-C6IOYgpI.js.map +1 -0
- package/lib/{index-348MFV_0.js → index-C7HbjJvs.js} +5 -5
- package/lib/{index-348MFV_0.js.map → index-C7HbjJvs.js.map} +1 -1
- package/lib/{index-DdQXDuhi.js → index-CphWbkm1.js} +9 -9
- package/lib/{index-DdQXDuhi.js.map → index-CphWbkm1.js.map} +1 -1
- package/lib/index-Ct_ymRT6.js +11 -0
- package/lib/index-Ct_ymRT6.js.map +1 -0
- package/lib/{index-ed6oGI-U.js → index-DHIS6PX-.js} +7 -7
- package/lib/{index-ed6oGI-U.js.map → index-DHIS6PX-.js.map} +1 -1
- package/lib/index-DIkWpujR.js +4 -4
- package/lib/index-DIkWpujR.js.map +1 -1
- package/lib/{index-CeXTXAJi.js → index-DTK3eeAU.js} +58 -58
- package/lib/{index-CeXTXAJi.js.map → index-DTK3eeAU.js.map} +1 -1
- package/lib/index-DZkbdItU.js +28 -0
- package/lib/{index-DXdjJ-86.js.map → index-DZkbdItU.js.map} +1 -1
- package/lib/index-D_s1zEq9.js +11 -0
- package/lib/index-D_s1zEq9.js.map +1 -0
- package/lib/{index-CEOPDO2Y.js → index-DlIi02F3.js} +25 -28
- package/lib/index-DlIi02F3.js.map +1 -0
- package/lib/index-Pv3dTiem.js +11 -0
- package/lib/index-Pv3dTiem.js.map +1 -0
- package/lib/{index-MzEDmZWe.js → index-Sz0yEwC4.js} +24 -24
- package/{chunk/index-BjaCS2a8.js.map → lib/index-Sz0yEwC4.js.map} +1 -1
- package/lib/{index-5FO_J7_Z.js → index-URlzJ94n.js} +30 -30
- package/lib/{index-5FO_J7_Z.js.map → index-URlzJ94n.js.map} +1 -1
- package/lib/{index-CUzHMJTj.js → index-X06Yiw_j.js} +26 -26
- package/lib/{index-CUzHMJTj.js.map → index-X06Yiw_j.js.map} +1 -1
- package/lib/{index-CGjXCGni.js → index-c9iRwjya.js} +22 -22
- package/lib/{index-CGjXCGni.js.map → index-c9iRwjya.js.map} +1 -1
- package/lib/index-l90g2Fnn.js +11 -0
- package/lib/index-l90g2Fnn.js.map +1 -0
- package/lib/{index-s5CW4RjM.js → index-yjjxxYCV.js} +59 -59
- package/lib/index-yjjxxYCV.js.map +1 -0
- package/lib/is-CUuXi4qZ.js +4 -4
- package/lib/it-BNmynTsg.js +4 -4
- package/lib/iw-FGzquR_X.js +4 -4
- package/lib/ja-YgUpXA0l.js +4 -4
- package/lib/ko-CuNS5J_M.js +4 -4
- package/lib/lo-BEf8aFjR.js +4 -4
- package/lib/lt-DvX1gz1a.js +4 -4
- package/lib/ms-gSqM-Mfi.js +4 -4
- package/lib/nl-BE-Cid5LFlN.js +4 -4
- package/lib/nl-CUUTswxa.js +4 -4
- package/lib/no-BvUqlShV.js +4 -4
- package/lib/pl-CU8leZhI.js +4 -4
- package/lib/pt-BR-CboWpHFi.js +4 -4
- package/lib/pt-BnK7xRT_.js +4 -4
- package/lib/ro-BfAyXxSW.js +4 -4
- package/lib/ru-BD-YGPuQ.js +4 -4
- package/lib/sk-CqsabpdG.js +4 -4
- package/lib/sl-CeVAf0S_.js +4 -4
- package/lib/sr-DSaHxcCQ.js +4 -4
- package/lib/sv-DOyWYViy.js +4 -4
- package/lib/sw-2Q7Jo6wp.js +4 -4
- package/lib/th-BZ6F9sPf.js +4 -4
- package/lib/tr-om80xrv2.js +4 -4
- package/lib/uk-Dxugux8e.js +4 -4
- package/lib/ur-OBILUeZ7.js +4 -4
- package/lib/{useCollectFieldsEndpoint-CS1fVgEX.js → useCollectFieldsEndpoint-CIUfq_bG.js} +8 -8
- package/lib/{useCollectFieldsEndpoint-CS1fVgEX.js.map → useCollectFieldsEndpoint-CIUfq_bG.js.map} +1 -1
- package/lib/{useEmailFirstExperiment-Co9DPGhK.js → useEmailFirstExperiment-Bm2bKd9p.js} +6 -7
- package/lib/{useEmailFirstExperiment-Co9DPGhK.js.map → useEmailFirstExperiment-Bm2bKd9p.js.map} +1 -1
- package/lib/vi-BOR2GuRI.js +4 -4
- package/lib/zh-HK-BI-IHOGG.js +4 -4
- package/lib/zh-eoMG5RFC.js +4 -4
- package/lib/zu-D_A8wcJW.js +4 -4
- package/package.json +4 -4
- package/sheerid-install.css +4 -4
- package/sheerid-install.js +6 -6
- package/sheerid-install.js.map +1 -1
- package/sheerid.css +5 -5
- package/sheerid.js +18547 -16879
- package/sheerid.js.map +1 -1
- package/src/components/AcceptableUploadsComponent/AcceptableUploadsComponent.d.ts +1 -1
- package/src/components/AcceptableUploadsComponent/getLegacyAcceptableUploads.d.ts +1 -1
- package/src/components/Button/Button.d.ts +1 -0
- package/src/components/CopyToClipboard/CopyToClipboardComponent.d.ts +2 -1
- package/src/components/CustomCssContext/CustomCssContextProvider.d.ts +1 -1
- package/src/components/DateComponent/DateComponent.d.ts +2 -2
- package/src/components/ExtraMessage.d.ts +1 -1
- package/src/components/FaqLink/FaqLinkComponent.d.ts +1 -1
- package/src/components/FeatureFlags/ExperimentComponent/ExperimentComponent.d.ts +4 -4
- package/src/components/FetchOrganizationsComponent.d.ts +1 -1
- package/src/components/FormFields/ActiveDutyStartDate/ActiveDutyStartDateComponent.d.ts +1 -1
- package/src/components/FormFields/Address/AddressComponent.d.ts +2 -2
- package/src/components/FormFields/BirthDate/BirthDateComponent.d.ts +1 -1
- package/src/components/FormFields/BranchOfService/BranchOfServiceComponent.d.ts +2 -2
- package/src/components/FormFields/CVECNumber/CVECNumberComponent.d.ts +2 -2
- package/src/components/FormFields/ChangeLocale/ChangeLocaleComponent.d.ts +3 -3
- package/src/components/FormFields/City/City.d.ts +2 -2
- package/src/components/FormFields/CollegeName/CollegeNameComponent.d.ts +2 -2
- package/src/components/FormFields/Company/CompanyComponent.d.ts +2 -2
- package/src/components/FormFields/Country/CountryComponent.d.ts +2 -2
- package/src/components/FormFields/Country/CountryComponentWrapper.d.ts +2 -2
- package/src/components/FormFields/DischargeDate/DischargeDateComponent.d.ts +1 -1
- package/src/components/FormFields/DriverLicenseNumber/DriverLicenseNumberComponent.d.ts +2 -2
- package/src/components/FormFields/EBTCardNumber/EBTCardNumberComponent.d.ts +2 -2
- package/src/components/FormFields/Email/EmailComponent.d.ts +2 -2
- package/src/components/FormFields/EmailFirstCollectInfo/EmailLookupResponseMessageComponent.d.ts +1 -1
- package/src/components/FormFields/EmailFirstCollectInfo/useEmailFirstExperiment.d.ts +1 -1
- package/src/components/FormFields/FirstName/FirstNameComponent.d.ts +2 -2
- package/src/components/FormFields/FirstResponderOrganization/FirstResponderOrganizationComponent.d.ts +2 -2
- package/src/components/FormFields/FormFieldCustom/FormFieldCustom.d.ts +2 -2
- package/src/components/FormFields/FormFieldInputSelect/FormFieldInputSelect.d.ts +1 -1
- package/src/components/FormFields/FormFieldRadio/FormFieldRadio.d.ts +2 -2
- package/src/components/FormFields/FormFieldSelect/FormFieldSelect.d.ts +2 -2
- package/src/components/FormFields/FormFieldText/FormFieldText.d.ts +1 -1
- package/src/components/FormFields/FormFieldTypeahead/FormFieldTypeahead.d.ts +2 -2
- package/src/components/FormFields/LastName/LastNameComponent.d.ts +2 -2
- package/src/components/FormFields/LicensedProfessionalOrganization/LicensedProfessionalOrganizationComponent.d.ts +2 -2
- package/src/components/FormFields/LowIncomeOrganization/LowIncomeOrganizationComponent.d.ts +2 -2
- package/src/components/FormFields/MarketConsentWrapper/MarketConsentWrapperComponent.d.ts +1 -1
- package/src/components/FormFields/MedicalProfessionalOrganization/MedicalProfessionalOrganizationComponent.d.ts +2 -2
- package/src/components/FormFields/MemberId/MemberIdComponent.d.ts +2 -2
- package/src/components/FormFields/MembershipOrganization/MembershipOrganizationComponent.d.ts +2 -2
- package/src/components/FormFields/OptIn/OptInComponent.d.ts +1 -1
- package/src/components/FormFields/OverrideCode/OverrideCodeComponent.d.ts +2 -2
- package/src/components/FormFields/PhoneNumber/PhoneNumberComponent.d.ts +2 -2
- package/src/components/FormFields/PostalCode/PostalCodeComponent.d.ts +2 -2
- package/src/components/FormFields/SMSCode/SMSCodeComponent.d.ts +2 -2
- package/src/components/FormFields/SSN/SSN.d.ts +2 -2
- package/src/components/FormFields/State/State.d.ts +2 -2
- package/src/components/FormFields/State/StateSelectComponent.d.ts +2 -2
- package/src/components/FormFields/Status/StatusComponent.d.ts +2 -2
- package/src/components/FormFields/TeacherSchool/TeacherSchoolComponent.d.ts +2 -2
- package/src/components/FormFooter/FooterTextComponent.d.ts +1 -1
- package/src/components/FormFooter/FormFooterComponent.d.ts +1 -1
- package/src/components/FormHeader/FormHeaderComponent.d.ts +1 -1
- package/src/components/FormHeader/StepHeaders/PersonalInfoHeaderComponent.d.ts +1 -1
- package/src/components/FormInputs/InputRadio/InputRadio.d.ts +1 -1
- package/src/components/FormInputs/InputSelect/InputSelectComponent.d.ts +1 -1
- package/src/components/FormInputs/InputSelect/InputSelectList/InputSelectListComponent.d.ts +1 -1
- package/src/components/FormInputs/PostalCodeInput/PostalCodeInputComponent.d.ts +1 -1
- package/src/components/FormInputs/Select/SelectComponent.d.ts +1 -1
- package/src/components/FormInputs/Select/SelectList/SelectListComponent.d.ts +1 -1
- package/src/components/FormInputs/Typeahead/TypeaheadComponent.d.ts +1 -1
- package/src/components/FormInputs/Typeahead/TypeaheadComponentHelper.d.ts +1 -1
- package/src/components/HowDoesVerifyingWork/HowDoesVerifyingWorkComponent.d.ts +1 -1
- package/src/components/Layout/Layout.d.ts +1 -1
- package/src/components/LoadStepComponent.d.ts +1 -1
- package/src/components/LoadingScreen/LoadingScreenComponent.d.ts +1 -1
- package/src/components/LoadingScreen/LoadingScreenMessage.d.ts +1 -1
- package/src/components/LogoComponent/LogoComponent.d.ts +1 -1
- package/src/components/NewVerificationComponent.d.ts +3 -3
- package/src/components/NewVerificationInnerComponent.d.ts +1 -1
- package/src/components/OrganizationList/OrganizationListComponent.d.ts +1 -1
- package/src/components/PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton.d.ts +2 -2
- package/src/components/PersonalInfoStepWrapper/PersonalInfoStepWrapper.d.ts +2 -1
- package/src/components/PoweredBy/PoweredByComponent.d.ts +1 -1
- package/src/components/PrivacyPolicyLink/PrivacyPolicyLinkComponent.d.ts +2 -2
- package/src/components/RewardsRemaining/RewardsRemainingComponent.d.ts +1 -1
- package/src/components/SingleSignOnComponent.d.ts +2 -2
- package/src/components/StepAgePersonalInfo/StepAgePersonalInfoComponent.d.ts +2 -2
- package/src/components/StepCollectIdentifier/StepCollectIdentifierComponent.d.ts +1 -1
- package/src/components/StepCollectPersonalInfo/StepCollectPersonalInfoComponent.d.ts +2 -2
- package/src/components/StepConsolation/StepConsolationComponent.d.ts +1 -1
- package/src/components/StepDocUpload/StepDocUploadComponent.d.ts +1 -1
- package/src/components/StepEmailLoop/EmailLoopCollectOrganizationEmail.d.ts +1 -1
- package/src/components/StepEmailLoop/EmailLoopPending.d.ts +1 -1
- package/src/components/StepEmailLoop/StepEmailLoopComponent.d.ts +2 -2
- package/src/components/StepEmploymentPersonalInfo/StepEmploymentPersonalInfoComponent.d.ts +1 -1
- package/src/components/StepError/StepErrorComponent.d.ts +2 -2
- package/src/components/StepFirstResponderPersonalInfo/StepFirstResponderPersonalInfoComponent.d.ts +1 -1
- package/src/components/StepIDCheckLoop/IdCheckLoopFooter/IdCheckLoopOnfidoFooter.d.ts +1 -1
- package/src/components/StepIDCheckLoop/IdCheckLoopFooter/IdCheckLoopRegulaFooter.d.ts +1 -1
- package/src/components/StepIDCheckLoop/Onfido/IdCheckLoopOnfido/IdCheckLoopOnfido.d.ts +2 -2
- package/src/components/StepIDCheckLoop/Onfido/StepIDCheckLoopOnfido/StepIDCheckLoopOnfido.d.ts +1 -1
- package/src/components/StepIDCheckLoop/Onfido/utils/getAndFormatOrderedStepCards.d.ts +1 -1
- package/src/components/StepIDCheckLoop/Regula/IdCheckLoopRegula/DisplayThumbnail.d.ts +1 -1
- package/src/components/StepIDCheckLoop/Regula/IdCheckLoopRegula/IdCheckLoopRegula.d.ts +1 -1
- package/src/components/StepIDCheckLoop/Regula/StepIDCheckLoopRegulaComponent/StepIDCheckLoopRegula.d.ts +1 -1
- package/src/components/StepIDCheckLoop/StepIDCheckLoopComponent.d.ts +1 -1
- package/src/components/StepIdentityPersonalInfo/StepDriverLicensePersonalInfoComponent.d.ts +1 -1
- package/src/components/StepIdentityPersonalInfo/StepGeneralIdentityPersonalInfoComponent.d.ts +1 -1
- package/src/components/StepIdentityPersonalInfo/StepHybridIdentityPersonalInfoComponent.d.ts +1 -1
- package/src/components/StepLicensedProfessionalPersonalInfo/StepLicensedProfessionalPersonalInfoComponent.d.ts +1 -1
- package/src/components/StepLowIncomePersonalInfo/StepLowIncomePersonalInfoComponent.d.ts +1 -1
- package/src/components/StepMedicalProfessionalPersonalInfo/StepMedicalProfessionalPersonalInfoComponent.d.ts +1 -1
- package/src/components/StepMemberPersonalInfo/StepMemberPersonalInfoComponent.d.ts +1 -1
- package/src/components/StepMilitaryPersonalInfo/StepActiveMilitaryPersonalInfoComponent.d.ts +1 -1
- package/src/components/StepMilitaryPersonalInfo/StepInactiveMilitaryPersonalInfoComponent.d.ts +1 -1
- package/src/components/StepMoverPersonalInfo/StepMoverPersonalInfoComponent.d.ts +1 -1
- package/src/components/StepOverrideComponent/StepOverrideComponent.d.ts +2 -2
- package/src/components/StepPending/ReviewPendingComponent.d.ts +1 -1
- package/src/components/StepPending/SingleSignOnPendingComponent.d.ts +2 -2
- package/src/components/StepPending/StepPendingComponent.d.ts +1 -1
- package/src/components/StepPending/ThirdPartyLoopPendingComponent.d.ts +1 -1
- package/src/components/StepSMSLoop/StepSMSLoopComponent.d.ts +2 -2
- package/src/components/StepSSO/StepSSOComponent.d.ts +1 -1
- package/src/components/StepSeniorPersonalInfo/StepSeniorPersonalInfoComponent.d.ts +1 -1
- package/src/components/StepSocialSecurityNumber/StepSocialSecurityNumber.d.ts +1 -1
- package/src/components/StepStudentPersonalInfo/StepStudentPersonalInfoComponent.d.ts +1 -1
- package/src/components/StepSuccess/StepSuccessComponent.d.ts +1 -1
- package/src/components/StepTeacherPersonalInfo/StepTeacherPersonalInfoComponent.d.ts +1 -1
- package/src/components/StepThirdPartyLoop/StepThirdPartyLoopComponent.d.ts +3 -3
- package/src/components/TestModeFlag/TestModeFlagComponent.d.ts +1 -1
- package/src/components/UploadInfoComponent/UploadInfoComponent.d.ts +1 -1
- package/src/components/VerificationForm/VerificationFormComponent.d.ts +1 -1
- package/src/es5Bindings/VerificationFormEs5.d.ts +1 -1
- package/src/lib/ProgramTheme/programThemeGetters.d.ts +1 -1
- package/src/lib/ServerApi/ApiUrls.d.ts +1 -1
- package/src/lib/ServerApi/VerificationApiClient.d.ts +1 -1
- package/src/lib/ServerApi/VerificationHelpRequestApi.d.ts +1 -1
- package/src/lib/VerificationService/VerificationServiceActions.d.ts +1 -1
- package/src/lib/VerificationService/ViewModel.d.ts +3 -5
- package/src/lib/hooks/index.d.ts +1 -1
- package/src/lib/installScript/_mysheerid-preview.d.ts +2 -2
- package/src/lib/installScript/affinity.d.ts +1 -1
- package/src/lib/installScript/iframe.d.ts +1 -1
- package/src/lib/installScript/index.d.ts +3 -3
- package/src/lib/installScript/modal.d.ts +1 -1
- package/src/lib/intl/localized-messages/en-US.json.d.ts +1 -1
- package/src/lib/state/contextHooks.d.ts +1 -1
- package/src/lib/types/runtimeTypes.d.ts +1 -1
- package/src/lib/types/types.d.ts +9 -12
- package/src/lib/utils/customTagReplacer/index.d.ts +1 -1
- package/src/lib/utils/stepComponentHelpers/stepComponentHelpers.d.ts +2 -2
- package/src/lib/utils/structures/FormSelectChoice.d.ts +1 -1
- package/types-reference.zip +0 -0
- package/__tests__/e2e/collectInfo/collectInfo.spec.d.ts +0 -1
- package/chunk/LicensedProfessionalOrganizationComponent-BNNNPaDn.js +0 -45
- package/chunk/LicensedProfessionalOrganizationComponent-BNNNPaDn.js.map +0 -1
- package/chunk/LicensedProfessionalOrganizationComponent-trZr_eIW.js +0 -49
- package/chunk/LicensedProfessionalOrganizationComponent-trZr_eIW.js.map +0 -1
- package/chunk/StepIDCheckLoopRegula-BB8xA4nn.js.map +0 -1
- package/chunk/StepIDCheckLoopRegula-D8XhToQz.js.map +0 -1
- package/chunk/index-B92Kfyw6.js.map +0 -1
- package/chunk/index-BW4s6-PH.js.map +0 -1
- package/chunk/index-BqnEM3hj.js.map +0 -1
- package/chunk/index-BrkIzqD1.js.map +0 -1
- package/chunk/index-BupTUiiS.js +0 -27
- package/chunk/index-BupTUiiS.js.map +0 -1
- package/chunk/index-BvGP9l7M.js.map +0 -1
- package/chunk/index-C7nYtBX_.js +0 -172
- package/chunk/index-C7nYtBX_.js.map +0 -1
- package/chunk/index-CEi_QkyI.js.map +0 -1
- package/chunk/index-CLCPYu7D.js +0 -176
- package/chunk/index-CLCPYu7D.js.map +0 -1
- package/chunk/index-F6_JySe5.js.map +0 -1
- package/chunk/index-eYM75vHB.js.map +0 -1
- package/chunk/index-iZ8pO5if.js +0 -31
- package/chunk/index-iZ8pO5if.js.map +0 -1
- package/lib/LicensedProfessionalOrganizationComponent-DtoPR91l.js +0 -46
- package/lib/LicensedProfessionalOrganizationComponent-DtoPR91l.js.map +0 -1
- package/lib/StepCollectMilitaryStatusComponent-DGfjdYFR.js +0 -11
- package/lib/StepIDCheckLoopRegula-Cbr1wxzD.js.map +0 -1
- package/lib/VerificationApiUtils-BaeyxwKQ.js +0 -21
- package/lib/es6-DIUKg5Yl.js.map +0 -1
- package/lib/index-B8tJDCPk.js.map +0 -1
- package/lib/index-BfZIEtAp.js.map +0 -1
- package/lib/index-CEOPDO2Y.js.map +0 -1
- package/lib/index-CLowb6Wx.js +0 -11
- package/lib/index-CLowb6Wx.js.map +0 -1
- package/lib/index-DPs8xffH.js +0 -11
- package/lib/index-DPs8xffH.js.map +0 -1
- package/lib/index-DWo3Cysb.js +0 -11
- package/lib/index-DWo3Cysb.js.map +0 -1
- package/lib/index-DXdjJ-86.js +0 -28
- package/lib/index-LZPXbSqW.js.map +0 -1
- package/lib/index-TKSJ1nbf.js +0 -11
- package/lib/index-TKSJ1nbf.js.map +0 -1
- package/lib/index-s5CW4RjM.js.map +0 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index-
|
1
|
+
{"version":3,"file":"index-DVynViqA.js","sources":["../../src/components/StepCollectIdentifier/StepCollectIdentifierComponent.tsx"],"sourcesContent":["import React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n VerificationService,\n CollectIdentifierViewModel,\n PersonalInfoResponse,\n} from \"../../lib/types/types\";\n\nimport {\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { FormFooterComponent as FormFooter } from \"../FormFooter/FormFooterComponent\";\n\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\n\ninterface StepCollectIdentifierProps {\n verificationService: VerificationService;\n}\n\nconst StepCollectIdentifier = ({ verificationService }: StepCollectIdentifierProps) => {\n const viewModel = verificationService.viewModel as CollectIdentifierViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse = verificationService.verificationResponse as PersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n\n const updateCollectIdentifierViewmodel = (key: keyof CollectIdentifierViewModel, value: any) => {\n const nextState: CollectIdentifierViewModel = produce(\n viewModel,\n (draft: CollectIdentifierViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n return (\n <div\n id=\"sid-step-collect-transaction-id\"\n className=\"sid-step-collect-transaction-id-container sid-l-container\"\n >\n <div role=\"main\">\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"step-collect-transaction-id\"\n />\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"step.collectIdentifier.inputExplanation\"\n defaultMessage=\"Needed to send authentication code\"\n />\n }\n onChange={(newValue) => {\n updateCollectIdentifierViewmodel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event: React.KeyboardEvent<HTMLInputElement>) => handleEmailOnKeyDown(event)}\n />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectIdentifier}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify and continue\"\n />\n }\n />\n </div>\n <FormFooter verificationService={verificationService} />\n </div>\n );\n};\n\nexport const StepCollectIdentifierComponent = StepCollectIdentifier;\n"],"names":["StepCollectIdentifier","verificationService","viewModel","fieldValidationErrors","verificationResponse","failedInstantMatch","hasFailedInstantMatch","updateCollectIdentifierViewmodel","key","value","nextState","produce","draft","jsxs","jsx","PersonalInfoHeader","Email","FormattedHTMLMessage","newValue","updateFieldValidationErrorsByFieldId","event","handleEmailOnKeyDown","PersonalInfoStepSubmitButton","VerificationStepsEnum","FormFooter","StepCollectIdentifierComponent"],"mappings":";AA0BA,MAAMA,IAAwB,CAAC,EAAE,qBAAAC,QAAsD;AACrF,QAAMC,IAAYD,EAAoB,WAChC,EAAE,uBAAAE,MAA0BF,GAC5BG,IAAuBH,EAAoB,sBAC3CI,IAAqBC,EAAsBF,CAAoB,GAE/DG,IAAmC,CAACC,GAAuCC,MAAe;AAC9F,UAAMC,IAAwCC;AAAAA,MAC5CT;AAAA,MACA,CAACU,MAAsC;AACpC,QAAAA,EAAMJ,CAAG,IAAYC;AAAA,MAAA;AAAA,IAE1B;AACA,IAAAR,EAAoB,gBAAgBS,CAAS;AAAA,EAC/C;AAGE,SAAAG,gBAAAA,EAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,IAAG;AAAA,MACH,WAAU;AAAA,MAEV,UAAA;AAAA,QAACA,gBAAAA,EAAAA,KAAA,OAAA,EAAI,MAAK,QACR,UAAA;AAAA,UAAAC,gBAAAA,EAAA;AAAA,YAACC;AAAA,YAAA;AAAA,cACC,qBAAAd;AAAA,cACA,qBAAoB;AAAA,YAAA;AAAA,UACtB;AAAA,UAEAa,gBAAAA,EAAA;AAAA,YAACE;AAAAA,YAAA;AAAA,cACC,OAAOd,EAAU;AAAA,cACjB,WAAW,CAAC,CAACC,EAAsB;AAAA,cACnC,aACEW,gBAAAA,EAAA;AAAA,gBAACG;AAAA,gBAAA;AAAA,kBACC,IAAG;AAAA,kBACH,gBAAe;AAAA,gBAAA;AAAA,cACjB;AAAA,cAEF,UAAU,CAACC,MAAa;AACtB,gBAAAX,EAAiC,SAASW,CAAQ,GACbC,EAAA,SAASD,GAAUjB,CAAmB;AAAA,cAC7E;AAAA,cACA,WAAW,CAACmB,MAAiDC,EAAqBD,CAAK;AAAA,YAAA;AAAA,UACzF;AAAA,UAEAN,gBAAAA,EAAA;AAAA,YAACQ;AAAA,YAAA;AAAA,cACC,MAAMC,EAAsB;AAAA,cAC5B,qBAAAtB;AAAA,cACA,WAAAC;AAAA,cACA,oBAAAG;AAAA,cACA,YACES,gBAAAA,EAAA;AAAA,gBAACG;AAAA,gBAAA;AAAA,kBACC,IAAG;AAAA,kBACH,gBAAe;AAAA,gBAAA;AAAA,cAAA;AAAA,YACjB;AAAA,UAAA;AAAA,QAEJ,GACF;AAAA,QACAH,gBAAAA,MAACU,KAAW,qBAAAvB,EAA0C,CAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EACxD;AAEJ,GAEawB,IAAiCzB;"}
|
@@ -4,48 +4,49 @@
|
|
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.
|
8
|
-
* BUILD_TIMESTAMP:
|
9
|
-
* BUILD_DATE:
|
10
|
-
* BUILD_COMMIT:
|
7
|
+
* VERSION: 2.107.0-alpha.0
|
8
|
+
* BUILD_TIMESTAMP: 1746502648586
|
9
|
+
* BUILD_DATE: Tue May 06 2025 03:37:28 GMT+0000 (Coordinated Universal Time)
|
10
|
+
* BUILD_COMMIT: f17a7649831871c7796a28ddab8dcf715fc9700c
|
11
11
|
*/
|
12
|
-
import { i as
|
13
|
-
import { u as xe, E as Ne, a as
|
12
|
+
import { i as $, ai as B, g as l, j as a, O as S, b as i, R as g, h as v, m as ee, t as ae, P as se, a8 as ne, E as k, u as r, v as te, w as le, Q as oe, aj as de, U as w, x as re, y as ie, W as me, e as ue, D as pe, G as be, M as ce, H as Ce, f as ge, V as he } from "../_mysheerid-preview.js";
|
13
|
+
import { u as xe, E as Ne, a as L } from "./useEmailFirstExperiment-BbDrKQEs.js";
|
14
14
|
const Ee = ({
|
15
15
|
value: e,
|
16
16
|
isErrored: n,
|
17
|
-
onChange:
|
18
|
-
intl:
|
17
|
+
onChange: o,
|
18
|
+
intl: c,
|
19
19
|
explanation: h,
|
20
20
|
placeholder: p = "",
|
21
21
|
isRequired: b = !1
|
22
22
|
}) => {
|
23
|
-
|
24
|
-
|
23
|
+
var t;
|
24
|
+
const m = B("include-cvec-field-france-student"), x = () => m === "labeled-optional" ? /* @__PURE__ */ a.jsx(
|
25
|
+
i,
|
25
26
|
{
|
26
27
|
id: "cvecNumberExplanation",
|
27
28
|
defaultMessage: "Optional - Add your CVEC number to increase your chances of being verified instantly."
|
28
29
|
}
|
29
30
|
) : /* @__PURE__ */ a.jsx(
|
30
|
-
|
31
|
+
i,
|
31
32
|
{
|
32
33
|
id: "_EXPERIMENTAL.cvecNumberExplanation",
|
33
34
|
defaultMessage: "Add your CVEC number to increase your chances of being verified instantly."
|
34
35
|
}
|
35
36
|
);
|
36
|
-
return /* @__PURE__ */ a.jsx(
|
37
|
+
return ((t = l("cvecNumber")) == null ? void 0 : t.hidden) ? null : /* @__PURE__ */ a.jsx(
|
37
38
|
S,
|
38
39
|
{
|
39
40
|
fieldId: "cvecNumber",
|
40
41
|
value: e,
|
41
|
-
onChange:
|
42
|
-
placeholder: p ||
|
42
|
+
onChange: o,
|
43
|
+
placeholder: p || c.formatHTMLMessage({
|
43
44
|
id: "cvecNumberPlaceholder",
|
44
45
|
defaultMessage: "CVEC certificate number"
|
45
46
|
}),
|
46
|
-
label: /* @__PURE__ */ a.jsx(
|
47
|
+
label: /* @__PURE__ */ a.jsx(i, { id: "cvecNumber", defaultMessage: "CVEC certificate number" }),
|
47
48
|
errorMessage: n && /* @__PURE__ */ a.jsx(
|
48
|
-
|
49
|
+
i,
|
49
50
|
{
|
50
51
|
id: "errorId.invalidCvecNumber",
|
51
52
|
defaultMessage: "Invalid CVEC certificate number"
|
@@ -56,55 +57,55 @@ const Ee = ({
|
|
56
57
|
explanation: h || x()
|
57
58
|
}
|
58
59
|
);
|
59
|
-
}, fe =
|
60
|
+
}, fe = $(Ee), je = ({
|
60
61
|
verificationService: e
|
61
62
|
}) => {
|
62
|
-
var
|
63
|
-
const n = e.viewModel, { fieldValidationErrors:
|
63
|
+
var f, j, M, F, y, I, O, V, D, P, T, R;
|
64
|
+
const n = e.viewModel, { fieldValidationErrors: o } = e, c = e.verificationResponse, h = te(), p = B("include-cvec-field-france-student"), b = p !== "control" && p !== "default" && ((f = n == null ? void 0 : n.countryChoice) == null ? void 0 : f.value) === "FR";
|
64
65
|
g.useEffect(() => {
|
65
66
|
b ? d("fieldsToSkipValidation", []) : d("fieldsToSkipValidation", ["cvecNumber"]);
|
66
67
|
}, [b]);
|
67
68
|
const {
|
68
|
-
isEmailUpTop:
|
69
|
+
isEmailUpTop: m,
|
69
70
|
isEmailValidationLoading: x,
|
70
|
-
showFormFields:
|
71
|
-
emailLookupResponse:
|
72
|
-
emailOnBlur:
|
73
|
-
emailOnKeyDown:
|
71
|
+
showFormFields: N,
|
72
|
+
emailLookupResponse: t,
|
73
|
+
emailOnBlur: H,
|
74
|
+
emailOnKeyDown: z,
|
74
75
|
handleResendClick: q,
|
75
76
|
showEmailLookupResponseMessages: A,
|
76
77
|
enableFormFields: K,
|
77
|
-
isValidEmail:
|
78
|
-
getOrgByDomain:
|
79
|
-
handleOnClickProceedHere:
|
78
|
+
isValidEmail: C,
|
79
|
+
getOrgByDomain: U,
|
80
|
+
handleOnClickProceedHere: W
|
80
81
|
} = xe(
|
81
82
|
e.programId,
|
82
83
|
n.email,
|
83
84
|
e.verificationResponse.segment
|
84
|
-
), [
|
85
|
+
), [_, E] = g.useState(null), [G, Q] = g.useState(null);
|
85
86
|
g.useEffect(() => {
|
86
|
-
|
87
|
-
if (n.email &&
|
88
|
-
const u = await
|
89
|
-
u && (
|
87
|
+
C && t && (async () => {
|
88
|
+
if (n.email && C && t && t.status === L.NOT_FOUND) {
|
89
|
+
const u = await U(e);
|
90
|
+
u && (E(u), w(u, e), r("organization", u, e));
|
90
91
|
} else
|
91
|
-
|
92
|
+
E(null);
|
92
93
|
})();
|
93
|
-
}, [n.email,
|
94
|
-
const
|
95
|
-
const
|
94
|
+
}, [n.email, C, t == null ? void 0 : t.status]);
|
95
|
+
const X = v(c), d = (s, u) => {
|
96
|
+
const Y = ee(
|
96
97
|
n,
|
97
|
-
(
|
98
|
-
|
98
|
+
(Z) => {
|
99
|
+
Z[s] = u;
|
99
100
|
}
|
100
101
|
);
|
101
|
-
e.updateViewModel(
|
102
|
-
},
|
102
|
+
e.updateViewModel(Y);
|
103
|
+
}, J = n.localeChoice.value;
|
103
104
|
return /* @__PURE__ */ a.jsxs(
|
104
105
|
ae,
|
105
106
|
{
|
106
107
|
verificationService: e,
|
107
|
-
step:
|
108
|
+
step: c.currentStep,
|
108
109
|
children: [
|
109
110
|
/* @__PURE__ */ a.jsx(
|
110
111
|
se,
|
@@ -114,15 +115,15 @@ const Ee = ({
|
|
114
115
|
}
|
115
116
|
),
|
116
117
|
// #region email-first-experiment
|
117
|
-
|
118
|
+
m && /* @__PURE__ */ a.jsx(a.Fragment, { children: /* @__PURE__ */ a.jsxs("div", { className: "email-input-wrapper", children: [
|
118
119
|
x && /* @__PURE__ */ a.jsx("div", { className: "email-input-wrapper-frame", children: /* @__PURE__ */ a.jsx("div", { className: "sid-spinner scaled", children: /* @__PURE__ */ a.jsx(ne, {}) }) }),
|
119
120
|
/* @__PURE__ */ a.jsx(
|
120
|
-
|
121
|
+
k,
|
121
122
|
{
|
122
123
|
value: n.email,
|
123
|
-
isErrored: !!
|
124
|
+
isErrored: !!o.email,
|
124
125
|
explanation: /* @__PURE__ */ a.jsx(
|
125
|
-
|
126
|
+
i,
|
126
127
|
{
|
127
128
|
id: "emailExplanation",
|
128
129
|
defaultMessage: "Personal or school email is fine"
|
@@ -131,40 +132,40 @@ const Ee = ({
|
|
131
132
|
onChange: (s) => {
|
132
133
|
d("email", s), r("email", s, e);
|
133
134
|
},
|
134
|
-
onKeyDown:
|
135
|
-
onBlur:
|
136
|
-
disabled: (
|
135
|
+
onKeyDown: z,
|
136
|
+
onBlur: H,
|
137
|
+
disabled: (j = l("email")) == null ? void 0 : j.disabled
|
137
138
|
}
|
138
139
|
)
|
139
140
|
] }) }),
|
140
|
-
A &&
|
141
|
+
A && t && C && /* @__PURE__ */ a.jsx(
|
141
142
|
Ne,
|
142
143
|
{
|
143
|
-
emailLookupResponse:
|
144
|
+
emailLookupResponse: t,
|
144
145
|
onResendClick: q,
|
145
|
-
onHandleClickLink:
|
146
|
+
onHandleClickLink: W
|
146
147
|
}
|
147
148
|
),
|
148
|
-
|
149
|
+
N && /* @__PURE__ */ a.jsx(a.Fragment, { children: /* @__PURE__ */ a.jsxs("div", { className: K || !m ? "" : "sid-disable-elements", children: [
|
149
150
|
" ",
|
150
|
-
/* @__PURE__ */ a.jsx(
|
151
|
+
/* @__PURE__ */ a.jsx(le, { verificationService: e }),
|
151
152
|
/* @__PURE__ */ a.jsx(
|
152
153
|
oe,
|
153
154
|
{
|
154
155
|
verificationService: e,
|
155
|
-
disabled: (
|
156
|
+
disabled: (M = l("country")) == null ? void 0 : M.disabled
|
156
157
|
}
|
157
158
|
),
|
158
159
|
/* @__PURE__ */ a.jsx(
|
159
|
-
|
160
|
+
de,
|
160
161
|
{
|
161
|
-
value:
|
162
|
+
value: G || m && (t == null ? void 0 : t.status) === L.NOT_FOUND && _ || e.viewModel.organization,
|
162
163
|
verificationService: e,
|
163
|
-
isErrored: !!
|
164
|
+
isErrored: !!o.organization,
|
164
165
|
isRequired: !0,
|
165
|
-
disabled: (
|
166
|
+
disabled: (F = l("organization")) == null ? void 0 : F.disabled,
|
166
167
|
onChange: (s) => {
|
167
|
-
|
168
|
+
Q(s), w(s, e), r("organization", s, e);
|
168
169
|
}
|
169
170
|
}
|
170
171
|
),
|
@@ -173,8 +174,8 @@ const Ee = ({
|
|
173
174
|
{
|
174
175
|
isRequired: (y = l("cvecNumber")) == null ? void 0 : y.requireIfOptional,
|
175
176
|
value: n.cvecNumber,
|
176
|
-
isErrored: !!
|
177
|
-
disabled: (
|
177
|
+
isErrored: !!o.cvecNumber,
|
178
|
+
disabled: (I = l("cvecNumber")) == null ? void 0 : I.disabled,
|
178
179
|
onChange: (s) => {
|
179
180
|
d("cvecNumber", s), r("cvecNumber", s, e);
|
180
181
|
}
|
@@ -182,22 +183,22 @@ const Ee = ({
|
|
182
183
|
),
|
183
184
|
/* @__PURE__ */ a.jsxs("div", { className: "sid-names", children: [
|
184
185
|
/* @__PURE__ */ a.jsx(
|
185
|
-
|
186
|
+
re,
|
186
187
|
{
|
187
188
|
value: n.firstName,
|
188
|
-
isErrored: !!
|
189
|
-
disabled: (
|
189
|
+
isErrored: !!o.firstName,
|
190
|
+
disabled: (O = l("firstName")) == null ? void 0 : O.disabled,
|
190
191
|
onChange: (s) => {
|
191
192
|
d("firstName", s), r("firstName", s, e);
|
192
193
|
}
|
193
194
|
}
|
194
195
|
),
|
195
196
|
/* @__PURE__ */ a.jsx(
|
196
|
-
|
197
|
+
ie,
|
197
198
|
{
|
198
199
|
value: n.lastName,
|
199
|
-
isErrored: !!
|
200
|
-
disabled: (
|
200
|
+
isErrored: !!o.lastName,
|
201
|
+
disabled: (V = l("lastName")) == null ? void 0 : V.disabled,
|
201
202
|
onChange: (s) => {
|
202
203
|
d("lastName", s), r("lastName", s, e);
|
203
204
|
}
|
@@ -208,22 +209,22 @@ const Ee = ({
|
|
208
209
|
me,
|
209
210
|
{
|
210
211
|
value: n.birthDate,
|
211
|
-
errorId:
|
212
|
-
locale:
|
212
|
+
errorId: o.birthDate,
|
213
|
+
locale: J,
|
213
214
|
isRequired: !0,
|
214
|
-
disabled: (
|
215
|
+
disabled: (D = l("birthDate")) == null ? void 0 : D.disabled,
|
215
216
|
onChange: (s) => {
|
216
217
|
d("birthDate", s), r("birthDate", s, e);
|
217
218
|
}
|
218
219
|
}
|
219
220
|
),
|
220
|
-
!
|
221
|
-
|
221
|
+
!m && /* @__PURE__ */ a.jsx(
|
222
|
+
k,
|
222
223
|
{
|
223
224
|
value: n.email,
|
224
|
-
isErrored: !!
|
225
|
+
isErrored: !!o.email,
|
225
226
|
explanation: /* @__PURE__ */ a.jsx(
|
226
|
-
|
227
|
+
i,
|
227
228
|
{
|
228
229
|
id: "emailExplanation",
|
229
230
|
defaultMessage: "Personal or school email is fine"
|
@@ -232,17 +233,17 @@ const Ee = ({
|
|
232
233
|
onChange: (s) => {
|
233
234
|
d("email", s), r("email", s, e);
|
234
235
|
},
|
235
|
-
onKeyDown: (s) =>
|
236
|
-
disabled: (
|
236
|
+
onKeyDown: (s) => ue(s),
|
237
|
+
disabled: (P = l("email")) == null ? void 0 : P.disabled
|
237
238
|
}
|
238
239
|
),
|
239
240
|
e.programTheme.isSmsNotifierConfigured || e.programTheme.smsLoopEnabled ? /* @__PURE__ */ a.jsx(
|
240
|
-
|
241
|
+
pe,
|
241
242
|
{
|
242
243
|
isRequired: !!e.programTheme.smsLoopEnabled,
|
243
244
|
value: n.phoneNumber,
|
244
|
-
isErrored: !!
|
245
|
-
disabled: (
|
245
|
+
isErrored: !!o.phoneNumber,
|
246
|
+
disabled: (T = l("phoneNumber")) == null ? void 0 : T.disabled,
|
246
247
|
onChange: (s) => {
|
247
248
|
d("phoneNumber", s), r(
|
248
249
|
"phoneNumber",
|
@@ -253,14 +254,14 @@ const Ee = ({
|
|
253
254
|
selectedCountryCode: n.countryChoice && n.countryChoice.value
|
254
255
|
}
|
255
256
|
) : null,
|
256
|
-
(h.customFormFields || []).map((s) => /* @__PURE__ */ a.jsx(
|
257
|
+
(h.customFormFields || []).map((s) => /* @__PURE__ */ a.jsx(be, { config: s, verificationService: e })),
|
257
258
|
" ",
|
258
259
|
/* @__PURE__ */ a.jsx(
|
259
|
-
|
260
|
+
ce,
|
260
261
|
{
|
261
262
|
verificationService: e,
|
262
|
-
isErrored: !!
|
263
|
-
disabled: (
|
263
|
+
isErrored: !!o.marketConsentValue,
|
264
|
+
disabled: (R = l("marketConsentValue")) == null ? void 0 : R.disabled,
|
264
265
|
onChange: (s) => {
|
265
266
|
d("metadata", {
|
266
267
|
...e.viewModel.metadata,
|
@@ -276,14 +277,14 @@ const Ee = ({
|
|
276
277
|
),
|
277
278
|
/* @__PURE__ */ a.jsx(Ce, { verificationService: e, suffix: "CollectAboveSubmit" }),
|
278
279
|
/* @__PURE__ */ a.jsx(
|
279
|
-
|
280
|
+
ge,
|
280
281
|
{
|
281
|
-
step:
|
282
|
+
step: he.collectStudentPersonalInfo,
|
282
283
|
verificationService: e,
|
283
284
|
viewModel: n,
|
284
|
-
failedInstantMatch:
|
285
|
+
failedInstantMatch: X,
|
285
286
|
buttonText: /* @__PURE__ */ a.jsx(
|
286
|
-
|
287
|
+
i,
|
287
288
|
{
|
288
289
|
id: "step.personalInfo.submitButtonText",
|
289
290
|
defaultMessage: "Verify My Student Status"
|
@@ -295,7 +296,7 @@ const Ee = ({
|
|
295
296
|
]
|
296
297
|
}
|
297
298
|
);
|
298
|
-
},
|
299
|
+
}, ye = je;
|
299
300
|
export {
|
300
|
-
|
301
|
+
ye as default
|
301
302
|
};
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index-Dg8t7-dm.js","sources":["../../src/components/FormFields/CVECNumber/CVECNumberComponent.tsx","../../src/components/StepStudentPersonalInfo/StepStudentPersonalInfoComponent.tsx"],"sourcesContent":["import React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport { getFieldConfigByFieldId } from \"@/lib/utils/stepComponentHelpers/stepComponentHelpers\";\nimport { FormFieldComponentProps } from \"../../../lib/types/types\";\nimport { FormFieldText } from \"../FormFieldText/FormFieldText\";\nimport { useFlag } from \"../../FeatureFlags/hooks\";\n\ninterface PassedProps {\n explanation?: string | JSX.Element;\n}\n\nexport const CVECNumber = ({\n value,\n isErrored,\n onChange,\n intl,\n explanation,\n placeholder = \"\",\n isRequired = false,\n}: FormFieldComponentProps & PassedProps) => {\n // #region include-cvec-field-france-student\n const showCvecInputVariation = useFlag(\"include-cvec-field-france-student\");\n\n const getDefaultExplanation = () =>\n showCvecInputVariation === \"labeled-optional\" ? (\n <FormattedHTMLMessage\n id=\"cvecNumberExplanation\"\n defaultMessage=\"Optional - Add your CVEC number to increase your chances of being verified instantly.\"\n />\n ) : (\n <FormattedHTMLMessage\n id=\"_EXPERIMENTAL.cvecNumberExplanation\"\n defaultMessage=\"Add your CVEC number to increase your chances of being verified instantly.\"\n />\n );\n // #endregion include-cvec-field-france-student\n\n const isFieldHidden = getFieldConfigByFieldId(\"cvecNumber\")?.hidden;\n\n if (isFieldHidden) {\n return null;\n }\n\n return (\n <FormFieldText\n fieldId=\"cvecNumber\"\n value={value}\n onChange={onChange}\n placeholder={\n placeholder ||\n intl.formatHTMLMessage({\n id: \"cvecNumberPlaceholder\",\n defaultMessage: \"CVEC certificate number\",\n })\n }\n label={<FormattedHTMLMessage id=\"cvecNumber\" defaultMessage=\"CVEC certificate number\" />}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage\n id=\"errorId.invalidCvecNumber\"\n defaultMessage=\"Invalid CVEC certificate number\"\n />\n )\n }\n showPlaceholderAndHideLabel={!!placeholder}\n required={isRequired}\n explanation={explanation || getDefaultExplanation()}\n />\n );\n};\nexport const CVECNumberComponent = injectIntl(CVECNumber);\n","/* eslint-disable */\n/**\n * TODO - preamble\n */\nimport React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport {\n VerificationService,\n StudentPersonalInfoViewModel,\n Organization,\n StudentPersonalInfoResponse,\n CustomFormFieldConfig,\n} from \"../../lib/types/types\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { MarketConsentWrapperComponent as MarketConsentWrapper } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { CollegeNameComponent as CollegeName } from \"../FormFields/CollegeName/CollegeNameComponent\";\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 { 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\";\nimport { useFlag } from \"../FeatureFlags/hooks\";\nimport { CVECNumberComponent } from \"../FormFields/CVECNumber/CVECNumberComponent\";\nimport EmailLookupResponseMessages from \"../FormFields/EmailFirstCollectInfo/EmailLookupResponseMessageComponent\";\nimport { LoadingSpinnerComponent } from \"../LoadingSpinner/LoadingSpinnerComponent\";\nimport { useEmailFirstExperiment } from \"../FormFields/EmailFirstCollectInfo/useEmailFirstExperiment\";\nimport { EmailLookupStatus } from \"../FormFields/EmailFirstCollectInfo/types\";\n\ninterface StepStudentPersonalInfoComponentProps {\n verificationService: VerificationService;\n}\n\nconst StepStudentPersonalInfo = ({\n verificationService,\n}: StepStudentPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as StudentPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as StudentPersonalInfoResponse;\n const options = getOptions();\n\n // #region include-cvec-field-france-student\n const showCvecInputVariation = useFlag(\"include-cvec-field-france-student\");\n const showCvecInput =\n showCvecInputVariation !== \"control\" &&\n showCvecInputVariation !== \"default\" &&\n viewModel?.countryChoice?.value === \"FR\";\n\n React.useEffect(() => {\n if (showCvecInput) {\n updateStudentViewModel(\"fieldsToSkipValidation\", []);\n } else {\n // Don't validate CVEC number if country is not France\n updateStudentViewModel(\"fieldsToSkipValidation\", [\"cvecNumber\"]);\n }\n }, [showCvecInput]);\n // #endregion include-cvec-field-france-student\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 enableFormFields,\n isValidEmail,\n getOrgByDomain,\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\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 const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n\n const updateStudentViewModel = (key: keyof StudentPersonalInfoViewModel, value: any) => {\n const nextState: StudentPersonalInfoViewModel = produce(\n viewModel,\n (draft: StudentPersonalInfoViewModel) => {\n draft[key] = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n const locale = viewModel.localeChoice.value;\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"student-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=\"Personal or school email is fine\"\n />\n }\n onChange={(newValue) => {\n updateStudentViewModel(\"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 }\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 {\" \"}\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n <CollegeName\n value={\n selectedOrganization ||\n (isEmailUpTop &&\n emailLookupResponse?.status === EmailLookupStatus.NOT_FOUND &&\n orgByEmailDomain) ||\n (verificationService.viewModel as StudentPersonalInfoViewModel).organization\n }\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.organization}\n isRequired\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n onChange={(choice: Organization) => {\n setSelectedOrganization(choice);\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n />\n {showCvecInput && (\n <CVECNumberComponent\n isRequired={getFieldConfigByFieldId(\"cvecNumber\")?.requireIfOptional}\n value={viewModel.cvecNumber}\n isErrored={!!fieldValidationErrors.cvecNumber}\n disabled={getFieldConfigByFieldId(\"cvecNumber\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"cvecNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"cvecNumber\", newValue, 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 updateStudentViewModel(\"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 updateStudentViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n <BirthDate\n value={viewModel.birthDate}\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n isRequired\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n />\n {!isEmailUpTop && (\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={\n <FormattedHTMLMessage\n id=\"emailExplanation\"\n defaultMessage=\"Personal or school email is fine\"\n />\n }\n onChange={(newValue) => {\n updateStudentViewModel(\"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 disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\n \"phoneNumber\",\n newValue,\n verificationService,\n );\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\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 disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n onChange={(newValue) => {\n updateStudentViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\n \"marketConsentValue\",\n newValue,\n verificationService,\n );\n }}\n viewModel={viewModel}\n />\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectStudentPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Student Status\"\n />\n }\n />\n </div>\n </>\n )}\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepStudentPersonalInfoComponent = StepStudentPersonalInfo;\n"],"names":["CVECNumber","value","isErrored","onChange","intl","explanation","placeholder","isRequired","showCvecInputVariation","useFlag","getDefaultExplanation","jsx","FormattedHTMLMessage","_a","getFieldConfigByFieldId","FormFieldText","CVECNumberComponent","injectIntl","StepStudentPersonalInfo","verificationService","viewModel","fieldValidationErrors","verificationResponse","options","getOptions","showCvecInput","React","updateStudentViewModel","isEmailUpTop","isEmailValidationLoading","showFormFields","emailLookupResponse","emailOnBlur","emailOnKeyDown","handleResendClick","showEmailLookupResponseMessages","enableFormFields","isValidEmail","getOrgByDomain","handleOnClickProceedHere","useEmailFirstExperiment","orgByEmailDomain","setOrgByEmailDomain","selectedOrganization","setSelectedOrganization","EmailLookupStatus","org","updateViewModelOrganization","updateFieldValidationErrorsByFieldId","failedInstantMatch","hasFailedInstantMatch","key","nextState","produce","draft","locale","jsxs","PersonalInfoWrapper","PersonalInfoHeader","Fragment","LoadingSpinnerComponent","Email","newValue","_b","EmailLookupResponseMessages","ChangeLocaleV2Component","CountryComponentWrapper","_c","CollegeName","_d","choice","_e","_f","FirstName","_g","LastName","_h","BirthDate","_i","event","handleEmailOnKeyDown","_j","PhoneNumber","_k","config","FormFieldCustom","MarketConsentWrapper","_l","ExtraMessage","PersonalInfoStepSubmitButton","VerificationStepsEnum","StepStudentPersonalInfoComponent"],"mappings":";;AAWO,MAAMA,KAAa,CAAC;AAAA,EACzB,OAAAC;AAAA,E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,MAA5C,gBAAAyE,EAA+C;AAAA,cACzD,UAAU,CAACzB,MAAa;AACtB,gBAAAnC,EAAuB,YAAY;AAAA,kBACjC,GAAGR,EAAoB,UAAU;AAAA,kBACjC,oBAAoB2C;AAAA,gBAAA,CACrB,GACDd;AAAA,kBACE;AAAA,kBACAc;AAAA,kBACA3C;AAAA,gBACF;AAAA,cACF;AAAA,cACA,WAAAC;AAAA,YAAA;AAAA,UACF;AAAA,UACCT,gBAAAA,EAAAA,IAAA6E,IAAA,EAAa,qBAAArE,GAA0C,QAAO,qBAAqB,CAAA;AAAA,UACpFR,gBAAAA,EAAA;AAAA,YAAC8E;AAAA,YAAA;AAAA,cACC,MAAMC,GAAsB;AAAA,cAC5B,qBAAAvE;AAAA,cACA,WAAAC;AAAA,cACA,oBAAA6B;AAAA,cACA,YACEtC,gBAAAA,EAAA;AAAA,gBAACC;AAAA,gBAAA;AAAA,kBACC,IAAG;AAAA,kBACH,gBAAe;AAAA,gBAAA;AAAA,cAAA;AAAA,YACjB;AAAA,UAAA;AAAA,QAEJ,EAAA,CACF,EACF,CAAA;AAAA,MAAA;AAAA,IAAA;AAAA,EAEJ;AAEJ,GAEa+E,KAAmCzE;"}
|
@@ -4,19 +4,19 @@
|
|
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.
|
8
|
-
* BUILD_TIMESTAMP:
|
9
|
-
* BUILD_DATE:
|
10
|
-
* BUILD_COMMIT:
|
7
|
+
* VERSION: 2.107.0-alpha.0
|
8
|
+
* BUILD_TIMESTAMP: 1746502648586
|
9
|
+
* BUILD_DATE: Tue May 06 2025 03:37:28 GMT+0000 (Coordinated Universal Time)
|
10
|
+
* BUILD_COMMIT: f17a7649831871c7796a28ddab8dcf715fc9700c
|
11
11
|
*/
|
12
|
-
import { i as A, h as T,
|
12
|
+
import { i as A, h as T, _ as k, $ as q, d as B, R as L, u as d, j as o, t as W, v as w, P as H, w as U, Q as K, g as l, x as O, y as z, W as G, a0 as Q, z as _, B as $, E as J, e as X, D as Y, G as Z, M as S, H as v, f as ee, V as se, b as ae, a1 as oe } from "../_mysheerid-preview.js";
|
13
13
|
import { u as te } from "./useCollectFieldsEndpoint-C5fsaYJe.js";
|
14
14
|
const de = ({ verificationService: s, intl: j }) => {
|
15
|
-
var p, C, h, b, i,
|
15
|
+
var p, C, h, b, i, g, N, x, y;
|
16
16
|
const a = s.viewModel, { fieldValidationErrors: t } = s, r = s.verificationResponse, E = T(r), I = k(
|
17
17
|
s.programTheme,
|
18
18
|
j
|
19
|
-
), F = q(I), m = B(() => a.countryChoice.value, F.value), M = m === "US" ? [{ key: "postalCode" }] : [], c = m !== "US" || s.programTheme.isSmsNotifierConfigured || s.programTheme.smsLoopEnabled, f = m !== "US" || s.programTheme.smsLoopEnabled, P = a.localeChoice.value, D =
|
19
|
+
), F = q(I), m = B(() => a.countryChoice.value, F.value), M = m === "US" ? [{ key: "postalCode" }] : [], c = m !== "US" || s.programTheme.isSmsNotifierConfigured || s.programTheme.smsLoopEnabled, f = m !== "US" || s.programTheme.smsLoopEnabled, P = a.localeChoice.value, D = w();
|
20
20
|
!t.phoneNumber && r.errorIds && r.errorIds.includes("invalidPhoneNumber") && s.updateFieldValidationErrors({
|
21
21
|
...t,
|
22
22
|
phoneNumber: "invalidPhoneNumber"
|
@@ -33,15 +33,15 @@ const de = ({ verificationService: s, intl: j }) => {
|
|
33
33
|
return L.useEffect(() => {
|
34
34
|
d("phoneNumber", a.phoneNumber, s);
|
35
35
|
}, [a.country]), /* @__PURE__ */ o.jsxs(
|
36
|
-
|
36
|
+
W,
|
37
37
|
{
|
38
38
|
verificationService: s,
|
39
39
|
step: r.currentStep,
|
40
40
|
children: [
|
41
41
|
/* @__PURE__ */ o.jsx(H, { verificationService: s, classNameIdentifier: "age" }),
|
42
|
-
/* @__PURE__ */ o.jsx(
|
42
|
+
/* @__PURE__ */ o.jsx(U, { verificationService: s }),
|
43
43
|
/* @__PURE__ */ o.jsx(
|
44
|
-
|
44
|
+
K,
|
45
45
|
{
|
46
46
|
verificationService: s,
|
47
47
|
disabled: (p = l("country")) == null ? void 0 : p.disabled
|
@@ -49,7 +49,7 @@ const de = ({ verificationService: s, intl: j }) => {
|
|
49
49
|
),
|
50
50
|
/* @__PURE__ */ o.jsxs("div", { className: "sid-names", children: [
|
51
51
|
/* @__PURE__ */ o.jsx(
|
52
|
-
|
52
|
+
O,
|
53
53
|
{
|
54
54
|
value: a.firstName,
|
55
55
|
isErrored: !!t.firstName,
|
@@ -60,7 +60,7 @@ const de = ({ verificationService: s, intl: j }) => {
|
|
60
60
|
}
|
61
61
|
),
|
62
62
|
/* @__PURE__ */ o.jsx(
|
63
|
-
|
63
|
+
z,
|
64
64
|
{
|
65
65
|
value: a.lastName,
|
66
66
|
isErrored: !!t.lastName,
|
@@ -72,7 +72,7 @@ const de = ({ verificationService: s, intl: j }) => {
|
|
72
72
|
)
|
73
73
|
] }),
|
74
74
|
/* @__PURE__ */ o.jsx(
|
75
|
-
|
75
|
+
G,
|
76
76
|
{
|
77
77
|
errorId: t.birthDate,
|
78
78
|
locale: P,
|
@@ -84,7 +84,7 @@ const de = ({ verificationService: s, intl: j }) => {
|
|
84
84
|
}
|
85
85
|
),
|
86
86
|
u("city") && /* @__PURE__ */ o.jsx(
|
87
|
-
|
87
|
+
Q,
|
88
88
|
{
|
89
89
|
value: a.city,
|
90
90
|
isRequired: !0,
|
@@ -97,7 +97,7 @@ const de = ({ verificationService: s, intl: j }) => {
|
|
97
97
|
}
|
98
98
|
),
|
99
99
|
u("address1") && /* @__PURE__ */ o.jsx(
|
100
|
-
|
100
|
+
_,
|
101
101
|
{
|
102
102
|
value: a.address1,
|
103
103
|
isRequired: !0,
|
@@ -109,30 +109,30 @@ const de = ({ verificationService: s, intl: j }) => {
|
|
109
109
|
}
|
110
110
|
),
|
111
111
|
u("postalCode") && /* @__PURE__ */ o.jsx(
|
112
|
-
|
112
|
+
$,
|
113
113
|
{
|
114
114
|
isErrored: !!t.postalCode,
|
115
115
|
onChange: (e) => {
|
116
116
|
n("postalCode", e), d("postalCode", e, s);
|
117
117
|
},
|
118
118
|
value: a.postalCode,
|
119
|
-
disabled: (
|
119
|
+
disabled: (g = l("postalCode")) == null ? void 0 : g.disabled
|
120
120
|
}
|
121
121
|
),
|
122
122
|
/* @__PURE__ */ o.jsx(
|
123
|
-
|
123
|
+
J,
|
124
124
|
{
|
125
125
|
value: a.email,
|
126
126
|
isErrored: !!t.email,
|
127
127
|
onChange: (e) => {
|
128
128
|
n("email", e), d("email", e, s);
|
129
129
|
},
|
130
|
-
onKeyDown: (e) =>
|
131
|
-
disabled: (
|
130
|
+
onKeyDown: (e) => X(e),
|
131
|
+
disabled: (N = l("email")) == null ? void 0 : N.disabled
|
132
132
|
}
|
133
133
|
),
|
134
134
|
c ? /* @__PURE__ */ o.jsx(
|
135
|
-
|
135
|
+
Y,
|
136
136
|
{
|
137
137
|
isRequired: f,
|
138
138
|
value: a.phoneNumber,
|
@@ -146,7 +146,7 @@ const de = ({ verificationService: s, intl: j }) => {
|
|
146
146
|
) : null,
|
147
147
|
D.customFormFields.map((e) => /* @__PURE__ */ o.jsx(Z, { config: e, verificationService: s })),
|
148
148
|
/* @__PURE__ */ o.jsx(
|
149
|
-
|
149
|
+
S,
|
150
150
|
{
|
151
151
|
verificationService: s,
|
152
152
|
isErrored: !!t.marketConsentValue,
|
@@ -160,16 +160,16 @@ const de = ({ verificationService: s, intl: j }) => {
|
|
160
160
|
disabled: (y = l("marketConsentValue")) == null ? void 0 : y.disabled
|
161
161
|
}
|
162
162
|
),
|
163
|
-
/* @__PURE__ */ o.jsx(
|
163
|
+
/* @__PURE__ */ o.jsx(v, { verificationService: s, suffix: "CollectAboveSubmit" }),
|
164
164
|
/* @__PURE__ */ o.jsx(
|
165
|
-
|
165
|
+
ee,
|
166
166
|
{
|
167
|
-
step:
|
167
|
+
step: se.collectAgePersonalInfo,
|
168
168
|
verificationService: s,
|
169
169
|
viewModel: a,
|
170
170
|
failedInstantMatch: E,
|
171
171
|
buttonText: /* @__PURE__ */ o.jsx(
|
172
|
-
|
172
|
+
ae,
|
173
173
|
{
|
174
174
|
id: "step.personalInfo.submitButtonText",
|
175
175
|
defaultMessage: "Verify and continue"
|