@sheerid/jslib-nightly 2.104.0-alpha.1 → 2.105.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/__tests__/__helpers__/renderers.d.ts +5 -5
- package/__tests__/e2e/collectInfo/collectInfo.spec.d.ts +1 -0
- package/_mysheerid-preview.css +4 -4
- package/_mysheerid-preview.js +16311 -17900
- package/_mysheerid-preview.js.map +1 -1
- package/chunk/{EmailLoopPending-Cp3dQjbH.js → EmailLoopPending-CKTAwQQA.js} +17 -17
- package/chunk/{EmailLoopPending-Cp3dQjbH.js.map → EmailLoopPending-CKTAwQQA.js.map} +1 -1
- package/chunk/{EmailLoopPending-WTPkkJsm.js → EmailLoopPending-Dzs07hxx.js} +17 -17
- package/chunk/{EmailLoopPending-WTPkkJsm.js.map → EmailLoopPending-Dzs07hxx.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-D7gWh3Qx.js → LicensedProfessionalOrganizationComponent-BNNNPaDn.js} +5 -5
- package/chunk/{LicensedProfessionalOrganizationComponent-D7gWh3Qx.js.map → LicensedProfessionalOrganizationComponent-BNNNPaDn.js.map} +1 -1
- package/chunk/{LicensedProfessionalOrganizationComponent-LYrmpWss.js → LicensedProfessionalOrganizationComponent-trZr_eIW.js} +5 -5
- package/chunk/{LicensedProfessionalOrganizationComponent-LYrmpWss.js.map → LicensedProfessionalOrganizationComponent-trZr_eIW.js.map} +1 -1
- package/chunk/{Onfido-AyvUk6wg.js → Onfido-CMH3IUna.js} +28 -28
- package/chunk/{Onfido-AyvUk6wg.js.map → Onfido-CMH3IUna.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-CQTiZz60.js → StepIDCheckLoopOnfido-C9iUX8TC.js} +11 -12
- package/chunk/{StepIDCheckLoopOnfido-CQTiZz60.js.map → StepIDCheckLoopOnfido-C9iUX8TC.js.map} +1 -1
- package/chunk/{StepIDCheckLoopOnfido-CsO8JOUT.js → StepIDCheckLoopOnfido-lChJAp_W.js} +11 -12
- package/chunk/{StepIDCheckLoopOnfido-CsO8JOUT.js.map → StepIDCheckLoopOnfido-lChJAp_W.js.map} +1 -1
- package/chunk/{StepIDCheckLoopRegula-VCHUckkA.js → StepIDCheckLoopRegula-BB8xA4nn.js} +85 -59
- package/chunk/StepIDCheckLoopRegula-BB8xA4nn.js.map +1 -0
- package/chunk/{StepIDCheckLoopRegula-B2frgNDw.js → StepIDCheckLoopRegula-D8XhToQz.js} +85 -59
- package/chunk/StepIDCheckLoopRegula-D8XhToQz.js.map +1 -0
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-Dls2h-Cu.js → StepInactiveMilitaryPersonalInfoComponent-ClKql0Nd.js} +48 -48
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-CVpOu51H.js.map → StepInactiveMilitaryPersonalInfoComponent-ClKql0Nd.js.map} +1 -1
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-CVpOu51H.js → StepInactiveMilitaryPersonalInfoComponent-DXkei7Fp.js} +48 -48
- package/chunk/{StepInactiveMilitaryPersonalInfoComponent-Dls2h-Cu.js.map → StepInactiveMilitaryPersonalInfoComponent-DXkei7Fp.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-CgBENXRP.js → index-B1579hxf.js} +28 -28
- package/chunk/{index-tFgJS6bB.js.map → index-B1579hxf.js.map} +1 -1
- package/chunk/{index-DB9SisGK.js → index-B4B6qxaM.js} +15 -15
- package/chunk/{index-DB9SisGK.js.map → index-B4B6qxaM.js.map} +1 -1
- package/chunk/{index-BGCnajPS.js → index-B5okgMmp.js} +30 -30
- package/chunk/{index-BFMTiaJv.js.map → index-B5okgMmp.js.map} +1 -1
- package/chunk/{index-DPEoeYI6.js → index-B8tKf2Rd.js} +38 -38
- package/chunk/{index-CgSW4Vzh.js.map → index-B8tKf2Rd.js.map} +1 -1
- package/chunk/{index-XXxK9rgV.js → index-B92Kfyw6.js} +46 -46
- package/chunk/{index-XXxK9rgV.js.map → index-B92Kfyw6.js.map} +1 -1
- package/chunk/{index-CtqWr1aK.js → index-BDsZCFuU.js} +58 -58
- package/chunk/{index-CtqWr1aK.js.map → index-BDsZCFuU.js.map} +1 -1
- package/chunk/{index-aKTpkBwz.js → index-BGGHZBWq.js} +56 -48
- package/chunk/{index-aKTpkBwz.js.map → index-BGGHZBWq.js.map} +1 -1
- package/chunk/{index-B3NA0DdP.js → index-BW4s6-PH.js} +46 -46
- package/chunk/{index-B3NA0DdP.js.map → index-BW4s6-PH.js.map} +1 -1
- package/chunk/{index-MRhfTdmm.js → index-BYMr8It7.js} +15 -15
- package/chunk/{index-MRhfTdmm.js.map → index-BYMr8It7.js.map} +1 -1
- package/chunk/{index-CgSW4Vzh.js → index-BjaCS2a8.js} +38 -38
- package/{lib/index-DIJ3ZLm3.js.map → chunk/index-BjaCS2a8.js.map} +1 -1
- package/chunk/{index-BDw8efPp.js → index-Bld-AWYE.js} +11 -11
- package/chunk/{index-BhkJfnda.js.map → index-Bld-AWYE.js.map} +1 -1
- package/chunk/{index-C9bZ7enn.js → index-BnPrfsM1.js} +7 -7
- package/chunk/{index-2QV6VPA3.js.map → index-BnPrfsM1.js.map} +1 -1
- package/chunk/{index-NjSUlAP4.js → index-BqnEM3hj.js} +54 -54
- package/chunk/index-BqnEM3hj.js.map +1 -0
- package/chunk/{index-RmF57u5_.js → index-BrkIzqD1.js} +57 -54
- package/chunk/index-BrkIzqD1.js.map +1 -0
- package/chunk/index-BupTUiiS.js +27 -0
- package/chunk/index-BupTUiiS.js.map +1 -0
- package/chunk/{index-BPEB_HHW.js → index-BvGP9l7M.js} +237 -219
- package/chunk/index-BvGP9l7M.js.map +1 -0
- package/chunk/index-C7nYtBX_.js +172 -0
- package/chunk/index-C7nYtBX_.js.map +1 -0
- package/chunk/{index-BtYzUCrC.js → index-CCUi9Uhw.js} +11 -11
- package/chunk/{index-qAxcloBs.js.map → index-CCUi9Uhw.js.map} +1 -1
- package/chunk/{index-DZsw9-0u.js → index-CEi_QkyI.js} +237 -219
- package/chunk/index-CEi_QkyI.js.map +1 -0
- package/chunk/index-CLCPYu7D.js +176 -0
- package/chunk/index-CLCPYu7D.js.map +1 -0
- package/chunk/{index-BhkJfnda.js → index-CZjGTko2.js} +11 -11
- package/chunk/{index-BDw8efPp.js.map → index-CZjGTko2.js.map} +1 -1
- package/chunk/{index-Dl7QItmr.js → index-CfUabHav.js} +56 -48
- package/chunk/{index-Dl7QItmr.js.map → index-CfUabHav.js.map} +1 -1
- package/chunk/{index-qAxcloBs.js → index-CjcHzfTY.js} +11 -11
- package/chunk/{index-BtYzUCrC.js.map → index-CjcHzfTY.js.map} +1 -1
- package/chunk/{index-DWjrZunN.js → index-Cp0C-9fh.js} +8 -8
- package/{lib/index-BpAwd4yZ.js.map → chunk/index-Cp0C-9fh.js.map} +1 -1
- package/chunk/{index-D3dphMnl.js → index-Cq__fToG.js} +15 -15
- package/chunk/{index-CaSKZsTY.js.map → index-Cq__fToG.js.map} +1 -1
- package/chunk/{index-DFQ4PjGJ.js → index-D6oLMvTq.js} +58 -58
- package/chunk/{index-DFQ4PjGJ.js.map → index-D6oLMvTq.js.map} +1 -1
- package/chunk/{index-tFgJS6bB.js → index-D7O7vvSe.js} +28 -28
- package/{lib/index-CFbGwQvV.js.map → chunk/index-D7O7vvSe.js.map} +1 -1
- package/chunk/{index-BFMTiaJv.js → index-DGGRPaEI.js} +30 -30
- package/chunk/{index-BGCnajPS.js.map → index-DGGRPaEI.js.map} +1 -1
- package/chunk/index-DIkWpujR.js +4 -4
- package/chunk/index-DIkWpujR.js.map +1 -1
- package/chunk/{index-DIV55Je2.js → index-DPv0lytr.js} +18 -18
- package/chunk/{index-DIV55Je2.js.map → index-DPv0lytr.js.map} +1 -1
- package/chunk/{index-4APDQFqJ.js → index-DSrYVtDo.js} +8 -8
- package/chunk/{index-4APDQFqJ.js.map → index-DSrYVtDo.js.map} +1 -1
- package/chunk/{index-D7dDB9pN.js → index-Dba2dHcR.js} +18 -18
- package/chunk/{index-D7dDB9pN.js.map → index-Dba2dHcR.js.map} +1 -1
- package/chunk/{index-CaSKZsTY.js → index-DhpucFa7.js} +15 -15
- package/{lib/index-CWWXURVN.js.map → chunk/index-DhpucFa7.js.map} +1 -1
- package/chunk/{index-_ohn63ug.js → index-DnCqjuSC.js} +29 -29
- package/chunk/{index-B30_E6pJ.js.map → index-DnCqjuSC.js.map} +1 -1
- package/chunk/{index-B30_E6pJ.js → index-DpYUZXus.js} +29 -29
- package/chunk/{index-_ohn63ug.js.map → index-DpYUZXus.js.map} +1 -1
- package/chunk/{index-oMg5zy_2.js → index-F6_JySe5.js} +54 -54
- package/chunk/index-F6_JySe5.js.map +1 -0
- package/chunk/{index-2QV6VPA3.js → index-YmkMflXj.js} +7 -7
- package/chunk/{index-C9bZ7enn.js.map → index-YmkMflXj.js.map} +1 -1
- package/chunk/{index-C0jDbJPp.js → index-eYM75vHB.js} +57 -54
- package/chunk/index-eYM75vHB.js.map +1 -0
- package/chunk/index-iZ8pO5if.js +31 -0
- package/chunk/index-iZ8pO5if.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-BsY8WlOg.js → useCollectFieldsEndpoint-C5fsaYJe.js} +11 -11
- package/chunk/{useCollectFieldsEndpoint-BsY8WlOg.js.map → useCollectFieldsEndpoint-C5fsaYJe.js.map} +1 -1
- package/chunk/{useCollectFieldsEndpoint-DeICm6Vb.js → useCollectFieldsEndpoint-kmLFyUA-.js} +11 -11
- package/chunk/{useCollectFieldsEndpoint-DeICm6Vb.js.map → useCollectFieldsEndpoint-kmLFyUA-.js.map} +1 -1
- package/chunk/{useEmailFirstExperiment-3uKuefem.js → useEmailFirstExperiment-CSa3DQll.js} +30 -29
- package/chunk/{useEmailFirstExperiment-3uKuefem.js.map → useEmailFirstExperiment-CSa3DQll.js.map} +1 -1
- package/chunk/{useEmailFirstExperiment-B1_E_D0z.js → useEmailFirstExperiment-DZ1B78ke.js} +30 -29
- package/chunk/{useEmailFirstExperiment-B1_E_D0z.js.map → useEmailFirstExperiment-DZ1B78ke.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 +15 -15
- package/lib/{EmailLoopPending-CqGboDpE.js → EmailLoopPending-Dv5RU8aW.js} +8 -8
- package/lib/{EmailLoopPending-CqGboDpE.js.map → EmailLoopPending-Dv5RU8aW.js.map} +1 -1
- package/lib/{LicensedProfessionalOrganizationComponent-DZ-zCLNb.js → LicensedProfessionalOrganizationComponent-DtoPR91l.js} +5 -5
- package/lib/{LicensedProfessionalOrganizationComponent-DZ-zCLNb.js.map → LicensedProfessionalOrganizationComponent-DtoPR91l.js.map} +1 -1
- package/lib/{Onfido-AyvUk6wg.js → Onfido-CMH3IUna.js} +28 -28
- package/lib/{Onfido-AyvUk6wg.js.map → Onfido-CMH3IUna.js.map} +1 -1
- package/lib/StepCollectMilitaryStatusComponent-DGfjdYFR.js +11 -0
- package/lib/{StepCollectMilitaryStatusComponent-BdghJG7J.js.map → StepCollectMilitaryStatusComponent-DGfjdYFR.js.map} +1 -1
- package/lib/{StepIDCheckLoopOnfido-C6a2v64o.js → StepIDCheckLoopOnfido-DiSAKwu6.js} +5 -5
- package/lib/{StepIDCheckLoopOnfido-C6a2v64o.js.map → StepIDCheckLoopOnfido-DiSAKwu6.js.map} +1 -1
- package/lib/{StepIDCheckLoopRegula-B4gdB1au.js → StepIDCheckLoopRegula-Cbr1wxzD.js} +16 -17
- package/lib/StepIDCheckLoopRegula-Cbr1wxzD.js.map +1 -0
- package/lib/{StepInactiveMilitaryPersonalInfoComponent-DIS37EQl.js → StepInactiveMilitaryPersonalInfoComponent-CEneK5BB.js} +44 -44
- package/lib/{StepInactiveMilitaryPersonalInfoComponent-DIS37EQl.js.map → StepInactiveMilitaryPersonalInfoComponent-CEneK5BB.js.map} +1 -1
- package/lib/VerificationApiUtils-BaeyxwKQ.js +21 -0
- package/lib/{VerificationApiUtils-Dec-3NxE.js.map → VerificationApiUtils-BaeyxwKQ.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-CNbgOM7D.js → es6-DIUKg5Yl.js} +12458 -13664
- package/lib/es6-DIUKg5Yl.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-CwEH1Xqn.js → index-348MFV_0.js} +5 -5
- package/lib/{index-CwEH1Xqn.js.map → index-348MFV_0.js.map} +1 -1
- package/lib/{index-CF4-uNPC.js → index-5FO_J7_Z.js} +27 -27
- package/lib/{index-CF4-uNPC.js.map → index-5FO_J7_Z.js.map} +1 -1
- package/lib/{index-DiEccR2E.js → index-B8tJDCPk.js} +27 -27
- package/lib/{index-DiEccR2E.js.map → index-B8tJDCPk.js.map} +1 -1
- package/lib/{index-Da-h4i4f.js → index-BNxZc3yj.js} +20 -20
- package/lib/{index-Da-h4i4f.js.map → index-BNxZc3yj.js.map} +1 -1
- package/lib/{index-CFbGwQvV.js → index-BR7Obj6X.js} +32 -32
- package/{chunk/index-CgBENXRP.js.map → lib/index-BR7Obj6X.js.map} +1 -1
- package/lib/index-BfZIEtAp.js +174 -0
- package/lib/index-BfZIEtAp.js.map +1 -0
- package/lib/{index-BpAwd4yZ.js → index-BwlcJZwR.js} +8 -8
- package/{chunk/index-DWjrZunN.js.map → lib/index-BwlcJZwR.js.map} +1 -1
- package/lib/{index-CFdjELC4.js → index-CEOPDO2Y.js} +30 -27
- package/lib/index-CEOPDO2Y.js.map +1 -0
- package/lib/{index-U8Xg6WS9.js → index-CGjXCGni.js} +20 -20
- package/lib/{index-U8Xg6WS9.js.map → index-CGjXCGni.js.map} +1 -1
- package/lib/index-CLowb6Wx.js +11 -0
- package/lib/index-CLowb6Wx.js.map +1 -0
- package/lib/{index-Bs8gT2Ki.js → index-CT2Bcg4x.js} +5 -5
- package/lib/{index-Bs8gT2Ki.js.map → index-CT2Bcg4x.js.map} +1 -1
- package/lib/{index-BgxQ03Lw.js → index-CUzHMJTj.js} +26 -26
- package/lib/{index-BgxQ03Lw.js.map → index-CUzHMJTj.js.map} +1 -1
- package/lib/{index-Dz5MfyRl.js → index-CeXTXAJi.js} +60 -60
- package/lib/{index-Dz5MfyRl.js.map → index-CeXTXAJi.js.map} +1 -1
- package/lib/index-DIkWpujR.js +4 -4
- package/lib/index-DIkWpujR.js.map +1 -1
- package/lib/index-DPs8xffH.js +11 -0
- package/lib/index-DPs8xffH.js.map +1 -0
- package/lib/index-DWo3Cysb.js +11 -0
- package/lib/index-DWo3Cysb.js.map +1 -0
- package/lib/index-DXdjJ-86.js +28 -0
- package/lib/{index-BqMoknWH.js.map → index-DXdjJ-86.js.map} +1 -1
- package/lib/{index-JHJAgNn2.js → index-DdQXDuhi.js} +9 -9
- package/lib/{index-JHJAgNn2.js.map → index-DdQXDuhi.js.map} +1 -1
- package/lib/{index-s1MF80_2.js → index-LZPXbSqW.js} +402 -385
- package/lib/index-LZPXbSqW.js.map +1 -0
- package/lib/{index-DIJ3ZLm3.js → index-MzEDmZWe.js} +16 -16
- package/{chunk/index-DPEoeYI6.js.map → lib/index-MzEDmZWe.js.map} +1 -1
- package/lib/index-TKSJ1nbf.js +11 -0
- package/lib/index-TKSJ1nbf.js.map +1 -0
- package/lib/{index-CWWXURVN.js → index-UiGEZV81.js} +5 -5
- package/{chunk/index-D3dphMnl.js.map → lib/index-UiGEZV81.js.map} +1 -1
- package/lib/{index-CHCJ1GKm.js → index-ed6oGI-U.js} +7 -7
- package/lib/{index-CHCJ1GKm.js.map → index-ed6oGI-U.js.map} +1 -1
- package/lib/{index-B-vvoe4K.js → index-s5CW4RjM.js} +61 -61
- package/lib/index-s5CW4RjM.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-DLjeRtxA.js → useCollectFieldsEndpoint-CS1fVgEX.js} +6 -6
- package/lib/{useCollectFieldsEndpoint-DLjeRtxA.js.map → useCollectFieldsEndpoint-CS1fVgEX.js.map} +1 -1
- package/lib/{useEmailFirstExperiment-RXZazerr.js → useEmailFirstExperiment-Co9DPGhK.js} +7 -6
- package/lib/{useEmailFirstExperiment-RXZazerr.js.map → useEmailFirstExperiment-Co9DPGhK.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 +16329 -17918
- 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 +0 -1
- package/src/components/CopyToClipboard/CopyToClipboardComponent.d.ts +1 -2
- 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 +1 -2
- 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 +5 -3
- 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 +12 -8
- 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/chunk/StepIDCheckLoopRegula-B2frgNDw.js.map +0 -1
- package/chunk/StepIDCheckLoopRegula-VCHUckkA.js.map +0 -1
- package/chunk/index-BIn_Jf1h.js +0 -48
- package/chunk/index-BIn_Jf1h.js.map +0 -1
- package/chunk/index-BOpxl8V9.js +0 -167
- package/chunk/index-BOpxl8V9.js.map +0 -1
- package/chunk/index-BPEB_HHW.js.map +0 -1
- package/chunk/index-C0jDbJPp.js.map +0 -1
- package/chunk/index-CfKAGYGb.js +0 -52
- package/chunk/index-CfKAGYGb.js.map +0 -1
- package/chunk/index-DZsw9-0u.js.map +0 -1
- package/chunk/index-DtoxnCtM.js +0 -171
- package/chunk/index-DtoxnCtM.js.map +0 -1
- package/chunk/index-NjSUlAP4.js.map +0 -1
- package/chunk/index-RmF57u5_.js.map +0 -1
- package/chunk/index-oMg5zy_2.js.map +0 -1
- package/lib/StepCollectMilitaryStatusComponent-BdghJG7J.js +0 -11
- package/lib/StepIDCheckLoopRegula-B4gdB1au.js.map +0 -1
- package/lib/VerificationApiUtils-Dec-3NxE.js +0 -23
- package/lib/es6-CNbgOM7D.js.map +0 -1
- package/lib/index-B-vvoe4K.js.map +0 -1
- package/lib/index-BUb81vE5.js +0 -11
- package/lib/index-BUb81vE5.js.map +0 -1
- package/lib/index-BqMoknWH.js +0 -28
- package/lib/index-BvZhF_Rn.js +0 -168
- package/lib/index-BvZhF_Rn.js.map +0 -1
- package/lib/index-CFdjELC4.js.map +0 -1
- package/lib/index-DFexphfg.js +0 -11
- package/lib/index-DFexphfg.js.map +0 -1
- package/lib/index-DbevfyP-.js +0 -11
- package/lib/index-DbevfyP-.js.map +0 -1
- package/lib/index-aInot7yT.js +0 -11
- package/lib/index-aInot7yT.js.map +0 -1
- package/lib/index-s1MF80_2.js.map +0 -1
@@ -0,0 +1,172 @@
|
|
1
|
+
|
2
|
+
/**
|
3
|
+
* VERSION: 2.105.0-alpha.0
|
4
|
+
* BUILD_TIMESTAMP: 1746202200333
|
5
|
+
* BUILD_DATE: Fri May 02 2025 16:10:00 GMT+0000 (Coordinated Universal Time)
|
6
|
+
* BUILD_COMMIT: 5e00bc964fbbb4f7f7b152a375026d6591cd1564
|
7
|
+
*/
|
8
|
+
import { h as R, z as t, R as P, j as s, w as T, P as k, x as z, Y as q, Z as B, _ as O, u as n, y as w, B as L, E as H, a as j, e as K, $ as W, a0 as A, H as J, J as Y, M as Z, K as _, f as $, V as G, N as Q, m as U } from "../sheerid.js";
|
9
|
+
const X = ({ verificationService: e }) => {
|
10
|
+
var p, b, u, h, C, i, x, M, g, I, N;
|
11
|
+
const o = e.viewModel, { fieldValidationErrors: d } = e, r = e.verificationResponse, E = R(r), y = Q(), m = (p = t("memberId")) == null ? void 0 : p.requireIfOptional, F = o.localeChoice.value, l = (a, f) => {
|
12
|
+
const V = U(
|
13
|
+
o,
|
14
|
+
(D) => {
|
15
|
+
D[a] = f;
|
16
|
+
}
|
17
|
+
);
|
18
|
+
e.updateViewModel(V);
|
19
|
+
};
|
20
|
+
return P.useEffect(() => {
|
21
|
+
m ? e.updateViewModel({ fieldsToSkipValidation: [] }, { partial: !0 }) : e.updateViewModel(
|
22
|
+
{ fieldsToSkipValidation: ["memberId"] },
|
23
|
+
{ partial: !0 }
|
24
|
+
);
|
25
|
+
}, [m]), /* @__PURE__ */ s.jsxs(
|
26
|
+
T,
|
27
|
+
{
|
28
|
+
verificationService: e,
|
29
|
+
step: r.currentStep,
|
30
|
+
children: [
|
31
|
+
/* @__PURE__ */ s.jsx(
|
32
|
+
k,
|
33
|
+
{
|
34
|
+
verificationService: e,
|
35
|
+
classNameIdentifier: "member-personal-info"
|
36
|
+
}
|
37
|
+
),
|
38
|
+
/* @__PURE__ */ s.jsx(z, { verificationService: e }),
|
39
|
+
/* @__PURE__ */ s.jsx(
|
40
|
+
q,
|
41
|
+
{
|
42
|
+
verificationService: e,
|
43
|
+
disabled: (b = t("country")) == null ? void 0 : b.disabled
|
44
|
+
}
|
45
|
+
),
|
46
|
+
/* @__PURE__ */ s.jsx(
|
47
|
+
B,
|
48
|
+
{
|
49
|
+
value: e.viewModel.organization,
|
50
|
+
verificationService: e,
|
51
|
+
isErrored: !!d.organization,
|
52
|
+
disabled: (u = t("organization")) == null ? void 0 : u.disabled,
|
53
|
+
onChange: (a) => {
|
54
|
+
O(a, e), n("organization", a, e);
|
55
|
+
}
|
56
|
+
}
|
57
|
+
),
|
58
|
+
/* @__PURE__ */ s.jsxs("div", { className: "sid-names", children: [
|
59
|
+
/* @__PURE__ */ s.jsx(
|
60
|
+
w,
|
61
|
+
{
|
62
|
+
value: o.firstName,
|
63
|
+
isErrored: !!d.firstName,
|
64
|
+
disabled: (h = t("firstName")) == null ? void 0 : h.disabled,
|
65
|
+
onChange: (a) => {
|
66
|
+
l("firstName", a), n("firstName", a, e);
|
67
|
+
}
|
68
|
+
}
|
69
|
+
),
|
70
|
+
/* @__PURE__ */ s.jsx(
|
71
|
+
L,
|
72
|
+
{
|
73
|
+
value: o.lastName,
|
74
|
+
isErrored: !!d.lastName,
|
75
|
+
disabled: (C = t("lastName")) == null ? void 0 : C.disabled,
|
76
|
+
onChange: (a) => {
|
77
|
+
l("lastName", a), n("lastName", a, e);
|
78
|
+
}
|
79
|
+
}
|
80
|
+
)
|
81
|
+
] }),
|
82
|
+
/* @__PURE__ */ s.jsx(
|
83
|
+
H,
|
84
|
+
{
|
85
|
+
value: o.email,
|
86
|
+
isErrored: !!d.email,
|
87
|
+
explanation: /* @__PURE__ */ s.jsx(j, { id: "emailExplanation", defaultMessage: " " }),
|
88
|
+
onChange: (a) => {
|
89
|
+
l("email", a), n("email", a, e);
|
90
|
+
},
|
91
|
+
onKeyDown: (a) => K(a),
|
92
|
+
disabled: (i = t("email")) == null ? void 0 : i.disabled
|
93
|
+
}
|
94
|
+
),
|
95
|
+
/* @__PURE__ */ s.jsx(
|
96
|
+
W,
|
97
|
+
{
|
98
|
+
errorId: d.birthDate,
|
99
|
+
locale: F,
|
100
|
+
isRequired: (x = t("birthDate")) == null ? void 0 : x.requireIfOptional,
|
101
|
+
onChange: (a) => {
|
102
|
+
l("birthDate", a), n("birthDate", a, e);
|
103
|
+
},
|
104
|
+
value: o.birthDate,
|
105
|
+
disabled: (M = t("birthDate")) == null ? void 0 : M.disabled
|
106
|
+
}
|
107
|
+
),
|
108
|
+
/* @__PURE__ */ s.jsx(
|
109
|
+
A,
|
110
|
+
{
|
111
|
+
value: o.memberId,
|
112
|
+
isErrored: !!d.memberId,
|
113
|
+
isRequired: m,
|
114
|
+
disabled: (g = t("memberId")) == null ? void 0 : g.disabled,
|
115
|
+
onChange: (a) => {
|
116
|
+
l("memberId", a), n("memberId", a, e);
|
117
|
+
}
|
118
|
+
}
|
119
|
+
),
|
120
|
+
e.programTheme.isSmsNotifierConfigured || e.programTheme.smsLoopEnabled ? /* @__PURE__ */ s.jsx(
|
121
|
+
J,
|
122
|
+
{
|
123
|
+
isRequired: !!e.programTheme.smsLoopEnabled,
|
124
|
+
value: o.phoneNumber,
|
125
|
+
isErrored: !!d.phoneNumber,
|
126
|
+
onChange: (a) => {
|
127
|
+
l("phoneNumber", a), n("phoneNumber", a, e);
|
128
|
+
},
|
129
|
+
selectedCountryCode: o.countryChoice && o.countryChoice.value,
|
130
|
+
disabled: (I = t("phoneNumber")) == null ? void 0 : I.disabled
|
131
|
+
}
|
132
|
+
) : null,
|
133
|
+
y.customFormFields.map((a) => /* @__PURE__ */ s.jsx(Y, { config: a, verificationService: e })),
|
134
|
+
/* @__PURE__ */ s.jsx(
|
135
|
+
Z,
|
136
|
+
{
|
137
|
+
verificationService: e,
|
138
|
+
isErrored: !!d.marketConsentValue,
|
139
|
+
onChange: (a) => {
|
140
|
+
l("metadata", {
|
141
|
+
...e.viewModel.metadata,
|
142
|
+
marketConsentValue: a
|
143
|
+
}), n("marketConsentValue", a, e);
|
144
|
+
},
|
145
|
+
viewModel: o,
|
146
|
+
disabled: (N = t("marketConsentValue")) == null ? void 0 : N.disabled
|
147
|
+
}
|
148
|
+
),
|
149
|
+
/* @__PURE__ */ s.jsx(_, { verificationService: e, suffix: "CollectAboveSubmit" }),
|
150
|
+
/* @__PURE__ */ s.jsx(
|
151
|
+
$,
|
152
|
+
{
|
153
|
+
step: G.collectMemberPersonalInfo,
|
154
|
+
verificationService: e,
|
155
|
+
viewModel: o,
|
156
|
+
failedInstantMatch: E,
|
157
|
+
buttonText: /* @__PURE__ */ s.jsx(
|
158
|
+
j,
|
159
|
+
{
|
160
|
+
id: "step.personalInfo.submitButtonText",
|
161
|
+
defaultMessage: "Verify My Membership Status"
|
162
|
+
}
|
163
|
+
)
|
164
|
+
}
|
165
|
+
)
|
166
|
+
]
|
167
|
+
}
|
168
|
+
);
|
169
|
+
}, c = X;
|
170
|
+
export {
|
171
|
+
c as default
|
172
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index-C7nYtBX_.js","sources":["../../src/components/StepMemberPersonalInfo/StepMemberPersonalInfoComponent.tsx"],"sourcesContent":["import React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { hasFailedInstantMatch } from \"../../lib/VerificationService/VerificationServiceHelpers\";\nimport {\n VerificationService,\n Organization,\n MemberPersonalInfoViewModel,\n MemberPersonalInfoResponse,\n CustomFormFieldConfig,\n} from \"../../lib/types/types\";\nimport {\n getFieldConfigByFieldId,\n handleEmailOnKeyDown,\n updateFieldValidationErrorsByFieldId,\n updateViewModelOrganization,\n} from \"../../lib/utils/stepComponentHelpers/stepComponentHelpers\";\n\nimport { PhoneNumberComponent as PhoneNumber } from \"../FormFields/PhoneNumber/PhoneNumberComponent\";\nimport { FirstNameComponent as FirstName } from \"../FormFields/FirstName/FirstNameComponent\";\nimport { LastNameComponent as LastName } from \"../FormFields/LastName/LastNameComponent\";\nimport { EmailComponent as Email } from \"../FormFields/Email/EmailComponent\";\nimport { BirthDateComponent as BirthDate } from \"../FormFields/BirthDate/BirthDateComponent\";\nimport { MemberIdComponent as MemberId } from \"../FormFields/MemberId/MemberIdComponent\";\nimport { ChangeLocaleV2Component } from \"../FormFields/ChangeLocale/ChangeLocaleComponent\";\nimport { MembershipOrganizationComponent } from \"../FormFields/MembershipOrganization/MembershipOrganizationComponent\";\nimport { MarketConsentWrapperComponent } from \"../FormFields/MarketConsentWrapper/MarketConsentWrapperComponent\";\nimport { CountryComponentWrapper } from \"../FormFields/Country/CountryComponentWrapper\";\nimport { getOptions } from \"../../options/options\";\nimport { FormFieldCustom } from \"../FormFields/FormFieldCustom/FormFieldCustom\";\nimport { ExtraMessage } from \"../ExtraMessage\";\nimport { PersonalInfoWrapper } from \"../PersonalInfoStepWrapper/PersonalInfoStepWrapper\";\nimport { PersonalInfoStepSubmitButton } from \"../PersonalInfoStepSubmitButton/PersonalInfoStepSubmitButton\";\nimport { PersonalInfoHeader } from \"../FormHeader/StepHeaders/PersonalInfoHeaderComponent\";\n\ninterface StepMemberPersonalInfoComponentProps {\n verificationService: VerificationService;\n}\n\nconst StepMemberPersonalInfo = ({ verificationService }: StepMemberPersonalInfoComponentProps) => {\n const viewModel = verificationService.viewModel as MemberPersonalInfoViewModel;\n const { fieldValidationErrors } = verificationService;\n const verificationResponse =\n verificationService.verificationResponse as MemberPersonalInfoResponse;\n const failedInstantMatch = hasFailedInstantMatch(verificationResponse);\n const options = getOptions();\n const isMemberIdRequired = getFieldConfigByFieldId(\"memberId\")?.requireIfOptional;\n\n const locale = viewModel.localeChoice.value;\n\n const updateMemberViewModel = (key: keyof MemberPersonalInfoViewModel, value: any) => {\n const nextState: MemberPersonalInfoViewModel = produce(\n viewModel,\n (draft: MemberPersonalInfoViewModel) => {\n (draft[key] as any) = value;\n },\n );\n verificationService.updateViewModel(nextState);\n };\n\n React.useEffect(() => {\n if (!isMemberIdRequired) {\n verificationService.updateViewModel(\n { fieldsToSkipValidation: [\"memberId\"] },\n { partial: true },\n );\n } else {\n verificationService.updateViewModel({ fieldsToSkipValidation: [] }, { partial: true });\n }\n }, [isMemberIdRequired]);\n\n return (\n <PersonalInfoWrapper\n verificationService={verificationService}\n step={verificationResponse.currentStep}\n >\n <PersonalInfoHeader\n verificationService={verificationService}\n classNameIdentifier=\"member-personal-info\"\n />\n\n <ChangeLocaleV2Component verificationService={verificationService} />\n <CountryComponentWrapper\n verificationService={verificationService}\n disabled={getFieldConfigByFieldId(\"country\")?.disabled}\n />\n\n <MembershipOrganizationComponent\n value={(verificationService.viewModel as MemberPersonalInfoViewModel).organization}\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.organization}\n disabled={getFieldConfigByFieldId(\"organization\")?.disabled}\n onChange={(choice: Organization) => {\n updateViewModelOrganization(choice, verificationService);\n updateFieldValidationErrorsByFieldId(\"organization\", choice, verificationService);\n }}\n />\n\n <div className=\"sid-names\">\n <FirstName\n value={viewModel.firstName}\n isErrored={!!fieldValidationErrors.firstName}\n disabled={getFieldConfigByFieldId(\"firstName\")?.disabled}\n onChange={(newValue) => {\n updateMemberViewModel(\"firstName\", newValue);\n updateFieldValidationErrorsByFieldId(\"firstName\", newValue, verificationService);\n }}\n />\n\n <LastName\n value={viewModel.lastName}\n isErrored={!!fieldValidationErrors.lastName}\n disabled={getFieldConfigByFieldId(\"lastName\")?.disabled}\n onChange={(newValue) => {\n updateMemberViewModel(\"lastName\", newValue);\n updateFieldValidationErrorsByFieldId(\"lastName\", newValue, verificationService);\n }}\n />\n </div>\n\n <Email\n value={viewModel.email}\n isErrored={!!fieldValidationErrors.email}\n explanation={<FormattedHTMLMessage id=\"emailExplanation\" defaultMessage=\" \" />}\n onChange={(newValue) => {\n updateMemberViewModel(\"email\", newValue);\n updateFieldValidationErrorsByFieldId(\"email\", newValue, verificationService);\n }}\n onKeyDown={(event) => handleEmailOnKeyDown(event)}\n disabled={getFieldConfigByFieldId(\"email\")?.disabled}\n />\n\n <BirthDate\n errorId={fieldValidationErrors.birthDate}\n locale={locale}\n isRequired={getFieldConfigByFieldId(\"birthDate\")?.requireIfOptional}\n onChange={(newValue) => {\n updateMemberViewModel(\"birthDate\", newValue);\n updateFieldValidationErrorsByFieldId(\"birthDate\", newValue, verificationService);\n }}\n value={viewModel.birthDate}\n disabled={getFieldConfigByFieldId(\"birthDate\")?.disabled}\n />\n\n <MemberId\n value={viewModel.memberId}\n isErrored={!!fieldValidationErrors.memberId}\n isRequired={isMemberIdRequired}\n disabled={getFieldConfigByFieldId(\"memberId\")?.disabled}\n onChange={(newValue) => {\n updateMemberViewModel(\"memberId\", newValue);\n updateFieldValidationErrorsByFieldId(\"memberId\", newValue, verificationService);\n }}\n />\n\n {verificationService.programTheme.isSmsNotifierConfigured ||\n verificationService.programTheme.smsLoopEnabled ? (\n <PhoneNumber\n isRequired={!!verificationService.programTheme.smsLoopEnabled}\n value={viewModel.phoneNumber}\n isErrored={!!fieldValidationErrors.phoneNumber}\n onChange={(newValue) => {\n updateMemberViewModel(\"phoneNumber\", newValue);\n updateFieldValidationErrorsByFieldId(\"phoneNumber\", newValue, verificationService);\n }}\n selectedCountryCode={viewModel.countryChoice && viewModel.countryChoice.value}\n disabled={getFieldConfigByFieldId(\"phoneNumber\")?.disabled}\n />\n ) : null}\n\n {options.customFormFields.map((config: CustomFormFieldConfig) => (\n <FormFieldCustom config={config} verificationService={verificationService} />\n ))}\n\n <MarketConsentWrapperComponent\n verificationService={verificationService}\n isErrored={!!fieldValidationErrors.marketConsentValue}\n onChange={(newValue) => {\n updateMemberViewModel(\"metadata\", {\n ...verificationService.viewModel.metadata,\n marketConsentValue: newValue,\n });\n updateFieldValidationErrorsByFieldId(\"marketConsentValue\", newValue, verificationService);\n }}\n viewModel={viewModel}\n disabled={getFieldConfigByFieldId(\"marketConsentValue\")?.disabled}\n />\n\n <ExtraMessage verificationService={verificationService} suffix=\"CollectAboveSubmit\" />\n\n <PersonalInfoStepSubmitButton\n step={VerificationStepsEnum.collectMemberPersonalInfo}\n verificationService={verificationService}\n viewModel={viewModel}\n failedInstantMatch={failedInstantMatch}\n buttonText={\n <FormattedHTMLMessage\n id=\"step.personalInfo.submitButtonText\"\n defaultMessage=\"Verify My Membership Status\"\n />\n }\n />\n </PersonalInfoWrapper>\n );\n};\n\nexport const StepMemberPersonalInfoComponent = StepMemberPersonalInfo;\n"],"names":["StepMemberPersonalInfo","verificationService","viewModel","fieldValidationErrors","verificationResponse","failedInstantMatch","hasFailedInstantMatch","options","getOptions","isMemberIdRequired","_a","getFieldConfigByFieldId","locale","updateMemberViewModel","key","value","nextState","produce","draft","React","jsxs","PersonalInfoWrapper","jsx","PersonalInfoHeader","ChangeLocaleV2Component","CountryComponentWrapper","_b","MembershipOrganizationComponent","_c","choice","updateViewModelOrganization","updateFieldValidationErrorsByFieldId","FirstName","_d","newValue","LastName","_e","Email","FormattedHTMLMessage","event","handleEmailOnKeyDown","_f","BirthDate","_g","_h","MemberId","_i","PhoneNumber","_j","config","FormFieldCustom","MarketConsentWrapperComponent","_k","ExtraMessage","PersonalInfoStepSubmitButton","VerificationStepsEnum","StepMemberPersonalInfoComponent"],"mappings":";AAyCA,MAAMA,IAAyB,CAAC,EAAE,qBAAAC,QAAgE;;AAChG,QAAMC,IAAYD,EAAoB,WAChC,EAAE,uBAAAE,EAA0B,IAAAF,GAC5BG,IACJH,EAAoB,sBAChBI,IAAqBC,EAAsBF,CAAoB,GAC/DG,IAAUC,KACVC,KAAqBC,IAAAC,EAAwB,UAAU,MAAlC,gBAAAD,EAAqC,mBAE1DE,IAASV,EAAU,aAAa,OAEhCW,IAAwB,CAACC,GAAwCC,MAAe;AACpF,UAAMC,IAAyCC;AAAAA,MAC7Cf;AAAA,MACA,CAACgB,MAAuC;AACrC,QAAAA,EAAMJ,CAAG,IAAYC;AAAA,MACxB;AAAA,IAAA;AAEF,IAAAd,EAAoB,gBAAgBe,CAAS;AAAA,EAAA;AAG/C,SAAAG,EAAM,UAAU,MAAM;AACpB,IAAKV,IAMiBR,EAAA,gBAAgB,EAAE,wBAAwB,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,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,YACjB;AAAA,UAAA;AAAA,QAEJ;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAGN,GAEakB,IAAkCxD;"}
|
@@ -4,12 +4,12 @@
|
|
4
4
|
* This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
|
5
5
|
*/
|
6
6
|
/**
|
7
|
-
* VERSION: 2.
|
8
|
-
* BUILD_TIMESTAMP:
|
9
|
-
* BUILD_DATE:
|
10
|
-
* BUILD_COMMIT:
|
7
|
+
* VERSION: 2.105.0-alpha.0
|
8
|
+
* BUILD_TIMESTAMP: 1746202258802
|
9
|
+
* BUILD_DATE: Fri May 02 2025 16:10:58 GMT+0000 (Coordinated Universal Time)
|
10
|
+
* BUILD_COMMIT: 5e00bc964fbbb4f7f7b152a375026d6591cd1564
|
11
11
|
*/
|
12
|
-
import { i as S, R as l, c, j as e, A as R, a as t,
|
12
|
+
import { i as S, R as l, d as c, j as e, A as R, a as t, W as E, m as V, l as w, V as y, t as k } from "../_mysheerid-preview.js";
|
13
13
|
const I = ({ intl: i, verificationService: s }) => {
|
14
14
|
const o = s.viewModel, d = s.verificationResponse, M = !!s.fieldValidationErrors.smsCode, n = s.previousViewModel || void 0, [u, m] = l.useState(""), [p, g] = l.useState(
|
15
15
|
d.errorIds && d.errorIds.includes("incorrectSMSCodeAttemptLimitExceeded")
|
@@ -32,18 +32,18 @@ const I = ({ intl: i, verificationService: s }) => {
|
|
32
32
|
...s.fieldValidationErrors,
|
33
33
|
smsCode: d.errorIds[0]
|
34
34
|
});
|
35
|
-
const
|
35
|
+
const j = (r) => {
|
36
36
|
const a = V(o, (b) => {
|
37
37
|
b.smsCode = r, b.phoneNumber = n && n.phoneNumber;
|
38
38
|
});
|
39
39
|
s.updateViewModel(a);
|
40
|
-
},
|
40
|
+
}, C = () => {
|
41
41
|
w.info("StepSMSLoop submitting form"), s.submitStep(
|
42
42
|
y.smsLoop,
|
43
43
|
o,
|
44
44
|
s.verificationResponse
|
45
45
|
);
|
46
|
-
},
|
46
|
+
}, N = async (r) => {
|
47
47
|
const a = await k.getResendNewSmsCode(r);
|
48
48
|
a ? (g(!1), m(a.status === 204 ? h : f)) : m(L);
|
49
49
|
};
|
@@ -75,7 +75,7 @@ const I = ({ intl: i, verificationService: s }) => {
|
|
75
75
|
/* @__PURE__ */ e.jsx("div", { className: "sid-sms-code-id-wrapper sid-l-horz-center", children: /* @__PURE__ */ e.jsx(
|
76
76
|
E,
|
77
77
|
{
|
78
|
-
onChange:
|
78
|
+
onChange: j,
|
79
79
|
value: o.smsCode,
|
80
80
|
isErrored: M,
|
81
81
|
errorId: s.fieldValidationErrors.smsCode
|
@@ -87,7 +87,7 @@ const I = ({ intl: i, verificationService: s }) => {
|
|
87
87
|
"button",
|
88
88
|
{
|
89
89
|
id: "sid-submit-sms-code",
|
90
|
-
onClick:
|
90
|
+
onClick: C,
|
91
91
|
type: "button",
|
92
92
|
className: "sid-btn sid-sms-loop-submit-btn sid-btn--dark sid-submit__continue",
|
93
93
|
"aria-label": "submit",
|
@@ -100,7 +100,7 @@ const I = ({ intl: i, verificationService: s }) => {
|
|
100
100
|
"button",
|
101
101
|
{
|
102
102
|
id: "sid-resend-sms-code",
|
103
|
-
onClick: () =>
|
103
|
+
onClick: () => N(d.verificationId),
|
104
104
|
type: "submit",
|
105
105
|
className: "sid-btn sid-resend-sms-code-btn sid-btn--light sid-submit__cancel",
|
106
106
|
"aria-label": "re-send",
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index-qAxcloBs.js","sources":["../../src/components/StepSMSLoop/StepSMSLoopComponent.tsx"],"sourcesContent":["import React from \"react\";\nimport { injectIntl, FormattedHTMLMessage, InjectedIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { logger } from \"../../lib/utils/logger/logger\";\nimport {\n VerificationService,\n StudentPersonalInfoViewModel,\n SMSLoopResponse,\n SMSLoopViewModel,\n} from \"../../lib/types/types\";\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { getSafe } from \"../../lib/utils/getSafe\";\n\nimport { SMSCodeComponent } from \"../FormFields/SMSCode/SMSCodeComponent\";\n\nimport { VerificationApiClient } from \"../../lib/ServerApi/VerificationApiClient\";\nimport { AnnouncingHeader } from \"../AnnouncingHeader/AnnouncingHeader\";\n\ninterface StepSMSLoopProps {\n intl: InjectedIntl;\n verificationService: VerificationService;\n}\n\nconst StepSMSLoop = ({ intl, verificationService }: StepSMSLoopProps) => {\n const viewModel = verificationService.viewModel as SMSLoopViewModel;\n const verificationResponse = verificationService.verificationResponse as SMSLoopResponse;\n const isErrored = Boolean(verificationService.fieldValidationErrors.smsCode);\n const previousViewModel =\n (verificationService.previousViewModel as StudentPersonalInfoViewModel) || undefined;\n\n const [stepResultMessage, setStepResultMessage] = React.useState(\"\");\n const [isAttemptLimitExceeded, setAttemptLimitExceeded] = React.useState(\n verificationResponse.errorIds &&\n verificationResponse.errorIds.includes(\"incorrectSMSCodeAttemptLimitExceeded\"),\n );\n\n const stepSuccessMessage = intl.formatHTMLMessage({\n id: \"step.smsLoop.successResend\",\n defaultMessage: \"SMS message re-sent successfully\",\n });\n const maxTotalRetriesMessage = intl.formatHTMLMessage({\n id: \"step.smsLoop.errors.codeResendLimit\",\n defaultMessage: \"Maximum number of re-tries has been reached.\",\n });\n const maxRetriesPerCodeMessage = intl.formatHTMLMessage({\n id: \"step.smsLoop.errors.codeResendLimit\",\n defaultMessage: \"Maximum number of re-tries has been reached.\",\n });\n const errorResendingSMSMessage = intl.formatHTMLMessage({\n id: \"step.smsLoop.errors.resend\",\n defaultMessage: \"Error sending the SMS message\",\n });\n\n React.useEffect(() => {\n if (isAttemptLimitExceeded) {\n setStepResultMessage(maxRetriesPerCodeMessage);\n }\n }, []);\n\n if (\n getSafe(() => verificationResponse.errorIds.length) &&\n !verificationService.fieldValidationErrors.smsCode\n ) {\n verificationService.updateFieldValidationErrors({\n ...verificationService.fieldValidationErrors,\n smsCode: verificationResponse.errorIds[0],\n });\n }\n\n const updateSmsCode = (value) => {\n const nextState: SMSLoopViewModel = produce(viewModel, (draft: SMSLoopViewModel) => {\n draft.smsCode = value;\n draft.phoneNumber = previousViewModel && previousViewModel.phoneNumber;\n });\n verificationService.updateViewModel(nextState);\n };\n\n const submitForm = () => {\n logger.info(\"StepSMSLoop submitting form\");\n verificationService.submitStep(\n VerificationStepsEnum.smsLoop,\n viewModel,\n verificationService.verificationResponse,\n );\n };\n\n const resendSmsCode = async (verificationId) => {\n const response = await VerificationApiClient.getResendNewSmsCode(verificationId);\n if (response) {\n setAttemptLimitExceeded(false);\n setStepResultMessage(response.status === 204 ? stepSuccessMessage : maxTotalRetriesMessage);\n } else {\n setStepResultMessage(errorResendingSMSMessage);\n }\n };\n\n return (\n <div id=\"sid-step-sms-loop\" className=\"sid-sms-loop-container sid-l-container\">\n <AnnouncingHeader align=\"center\">\n <FormattedHTMLMessage\n id=\"step.smsLoop.verificationCode\"\n defaultMessage=\"Verification Code\"\n tagName=\"h1\"\n />\n </AnnouncingHeader>\n\n <div className=\"sid-header__subtitle\">\n {getSafe(() => previousViewModel.phoneNumber) ? (\n <FormattedHTMLMessage\n id=\"step.smsLoop.titleWithNumber\"\n defaultMessage=\"We've sent an SMS message to the mobile number ending in {number}. Enter your code here.\"\n values={{\n number: getSafe(() => previousViewModel.phoneNumber.slice(-4), \"\"),\n }}\n />\n ) : (\n <FormattedHTMLMessage\n id=\"step.smsLoop.titleWithoutNumber\"\n defaultMessage=\"We've sent an SMS to your mobile number. Please enter the code here.\"\n />\n )}\n </div>\n\n <div className=\"sid-sms-code-id-wrapper sid-l-horz-center\">\n <SMSCodeComponent\n onChange={updateSmsCode}\n value={viewModel.smsCode}\n isErrored={isErrored}\n errorId={verificationService.fieldValidationErrors.smsCode}\n />\n </div>\n\n {stepResultMessage && (\n <div>\n <p>{stepResultMessage}</p>\n </div>\n )}\n\n <div className=\"sid-submit sid-sms-loop-submit sid-l-space-top-md sid-l-horz-center\">\n <button\n id=\"sid-submit-sms-code\"\n onClick={submitForm}\n type=\"button\"\n className=\"sid-btn sid-sms-loop-submit-btn sid-btn--dark sid-submit__continue\"\n aria-label=\"submit\"\n disabled={\n !!(!viewModel.smsCode || viewModel.smsCode.length <= 0 || isAttemptLimitExceeded)\n }\n >\n <FormattedHTMLMessage id=\"step.smsLoop.submitButton\" defaultMessage=\"Submit\" />\n </button>\n\n <div className=\"sid-l-space-left-sm\"> </div>\n\n <button\n id=\"sid-resend-sms-code\"\n onClick={() => resendSmsCode(verificationResponse.verificationId)}\n type=\"submit\"\n className=\"sid-btn sid-resend-sms-code-btn sid-btn--light sid-submit__cancel\"\n aria-label=\"re-send\"\n >\n <FormattedHTMLMessage id=\"step.smsLoop.resendButton\" defaultMessage=\"Re-send\" />\n </button>\n </div>\n\n <div className=\"sid-incorrect-number sid-l-horz-center\">\n <FormattedHTMLMessage\n id=\"step.smsLoop.incorrectNumber.incorrectNumber1\"\n defaultMessage=\"Incorrect number? Click\"\n />\n \n <button\n type=\"button\"\n onClick={() => window.location.reload()}\n className=\"sid-incorrect-number__refresh-link sid-h-btn-link-like\"\n >\n <FormattedHTMLMessage\n id=\"step.smsLoop.incorrectNumber.incorrectNumber2\"\n defaultMessage=\"here\"\n />\n \n </button>\n <FormattedHTMLMessage id=\"companyName\" defaultMessage=\"{Company}\">\n {(companyName) => (\n <FormattedHTMLMessage\n id=\"step.smsLoop.incorrectNumber.incorrectNumber3\"\n defaultMessage=\"to return to {companyName}\"\n values={{ companyName }}\n />\n )}\n </FormattedHTMLMessage>\n </div>\n </div>\n );\n};\n\nexport const StepSMSLoopComponent = injectIntl(StepSMSLoop);\n"],"names":["StepSMSLoop","intl","verificationService","viewModel","verificationResponse","isErrored","previousViewModel","stepResultMessage","setStepResultMessage","React","isAttemptLimitExceeded","setAttemptLimitExceeded","stepSuccessMessage","maxTotalRetriesMessage","maxRetriesPerCodeMessage","errorResendingSMSMessage","getSafe","updateSmsCode","value","nextState","produce","draft","submitForm","logger","VerificationStepsEnum","resendSmsCode","verificationId","response","VerificationApiClient","jsxs","jsx","AnnouncingHeader","FormattedHTMLMessage","SMSCodeComponent","companyName","StepSMSLoopComponent","injectIntl"],"mappings":";AAwBA,MAAMA,IAAc,CAAC,EAAE,MAAAC,GAAM,qBAAAC,QAA4C;AACvE,QAAMC,IAAYD,EAAoB,WAChCE,IAAuBF,EAAoB,sBAC3CG,IAAY,EAAQH,EAAoB,sBAAsB,SAC9DI,IACHJ,EAAoB,qBAAsD,QAEvE,CAACK,GAAmBC,CAAoB,IAAIC,EAAM,SAAS,EAAE,GAC7D,CAACC,GAAwBC,CAAuB,IAAIF,EAAM;AAAA,IAC9DL,EAAqB,YACnBA,EAAqB,SAAS,SAAS,sCAAsC;AAAA,EACjF,GAEMQ,IAAqBX,EAAK,kBAAkB;AAAA,IAChD,IAAI;AAAA,IACJ,gBAAgB;AAAA,EAAA,CACjB,GACKY,IAAyBZ,EAAK,kBAAkB;AAAA,IACpD,IAAI;AAAA,IACJ,gBAAgB;AAAA,EAAA,CACjB,GACKa,IAA2Bb,EAAK,kBAAkB;AAAA,IACtD,IAAI;AAAA,IACJ,gBAAgB;AAAA,EA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AAG;AAAA,UACH,SAAS,MAAML,EAAcrB,EAAqB,cAAc;AAAA,UAChE,MAAK;AAAA,UACL,WAAU;AAAA,UACV,cAAW;AAAA,UAEX,UAAC0B,gBAAAA,EAAA,IAAAE,GAAA,EAAqB,IAAG,6BAA4B,gBAAe,UAAU,CAAA;AAAA,QAAA;AAAA,MAAA;AAAA,IAChF,GACF;AAAA,IAEAH,gBAAAA,EAAAA,KAAC,OAAI,EAAA,WAAU,0CACb,UAAA;AAAA,MAAAC,gBAAAA,EAAA;AAAA,QAACE;AAAA,QAAA;AAAA,UACC,IAAG;AAAA,UACH,gBAAe;AAAA,QAAA;AAAA,MACjB;AAAA,MAAE;AAAA,MAEFH,gBAAAA,EAAA;AAAA,QAAC;AAAA,QAAA;AAAA,UACC,MAAK;AAAA,UACL,SAAS,MAAM,OAAO,SAAS,OAAO;AAAA,UACtC,WAAU;AAAA,UAEV,UAAA;AAAA,YAAAC,gBAAAA,EAAA;AAAA,cAACE;AAAA,cAAA;AAAA,gBACC,IAAG;AAAA,gBACH,gBAAe;AAAA,cAAA;AAAA,YACjB;AAAA,YAAE;AAAA,UAAA;AAAA,QAAA;AAAA,MAEJ;AAAA,4BACCA,GAAqB,EAAA,IAAG,eAAc,gBAAe,aACnD,WAACE,MACAJ,gBAAAA,EAAA;AAAA,QAACE;AAAA,QAAA;AAAA,UACC,IAAG;AAAA,UACH,gBAAe;AAAA,UACf,QAAQ,EAAE,aAAAE,EAAY;AAAA,QAAA;AAAA,MAAA,EAG5B,CAAA;AAAA,IAAA,EACF,CAAA;AAAA,EAAA,GACF;AAEJ,GAEaC,IAAuBC,EAAWpC,CAAW;"}
|
1
|
+
{"version":3,"file":"index-CCUi9Uhw.js","sources":["../../src/components/StepSMSLoop/StepSMSLoopComponent.tsx"],"sourcesContent":["import React from \"react\";\nimport { injectIntl, FormattedHTMLMessage, InjectedIntl } from \"react-intl\";\nimport { produce } from \"immer\";\n\nimport { logger } from \"../../lib/utils/logger/logger\";\nimport {\n VerificationService,\n StudentPersonalInfoViewModel,\n SMSLoopResponse,\n SMSLoopViewModel,\n} from \"../../lib/types/types\";\nimport { VerificationStepsEnum } from \"../../lib/types/runtimeTypes\";\nimport { getSafe } from \"../../lib/utils/getSafe\";\n\nimport { SMSCodeComponent } from \"../FormFields/SMSCode/SMSCodeComponent\";\n\nimport { VerificationApiClient } from \"../../lib/ServerApi/VerificationApiClient\";\nimport { AnnouncingHeader } from \"../AnnouncingHeader/AnnouncingHeader\";\n\ninterface StepSMSLoopProps {\n intl: InjectedIntl;\n verificationService: VerificationService;\n}\n\nconst StepSMSLoop = ({ intl, verificationService }: StepSMSLoopProps) => {\n const viewModel = verificationService.viewModel as SMSLoopViewModel;\n const verificationResponse = verificationService.verificationResponse as SMSLoopResponse;\n const isErrored = Boolean(verificationService.fieldValidationErrors.smsCode);\n const previousViewModel =\n (verificationService.previousViewModel as StudentPersonalInfoViewModel) || undefined;\n\n const [stepResultMessage, setStepResultMessage] = React.useState(\"\");\n const [isAttemptLimitExceeded, setAttemptLimitExceeded] = React.useState(\n verificationResponse.errorIds &&\n verificationResponse.errorIds.includes(\"incorrectSMSCodeAttemptLimitExceeded\"),\n );\n\n const stepSuccessMessage = intl.formatHTMLMessage({\n id: \"step.smsLoop.successResend\",\n defaultMessage: \"SMS message re-sent successfully\",\n });\n const maxTotalRetriesMessage = intl.formatHTMLMessage({\n id: \"step.smsLoop.errors.codeResendLimit\",\n defaultMessage: \"Maximum number of re-tries has been reached.\",\n });\n const maxRetriesPerCodeMessage = intl.formatHTMLMessage({\n id: \"step.smsLoop.errors.codeResendLimit\",\n defaultMessage: \"Maximum number of re-tries has been reached.\",\n });\n const errorResendingSMSMessage = intl.formatHTMLMessage({\n id: \"step.smsLoop.errors.resend\",\n defaultMessage: \"Error sending the SMS message\",\n });\n\n React.useEffect(() => {\n if (isAttemptLimitExceeded) {\n setStepResultMessage(maxRetriesPerCodeMessage);\n }\n }, []);\n\n if (\n getSafe(() => verificationResponse.errorIds.length) &&\n !verificationService.fieldValidationErrors.smsCode\n ) {\n verificationService.updateFieldValidationErrors({\n ...verificationService.fieldValidationErrors,\n smsCode: verificationResponse.errorIds[0],\n });\n }\n\n const updateSmsCode = (value) => {\n const nextState: SMSLoopViewModel = produce(viewModel, (draft: SMSLoopViewModel) => {\n draft.smsCode = value;\n draft.phoneNumber = previousViewModel && previousViewModel.phoneNumber;\n });\n verificationService.updateViewModel(nextState);\n };\n\n const submitForm = () => {\n logger.info(\"StepSMSLoop submitting form\");\n verificationService.submitStep(\n VerificationStepsEnum.smsLoop,\n viewModel,\n verificationService.verificationResponse,\n );\n };\n\n const resendSmsCode = async (verificationId) => {\n const response = await VerificationApiClient.getResendNewSmsCode(verificationId);\n if (response) {\n setAttemptLimitExceeded(false);\n setStepResultMessage(response.status === 204 ? stepSuccessMessage : maxTotalRetriesMessage);\n } else {\n setStepResultMessage(errorResendingSMSMessage);\n }\n };\n\n return (\n <div id=\"sid-step-sms-loop\" className=\"sid-sms-loop-container sid-l-container\">\n <AnnouncingHeader align=\"center\">\n <FormattedHTMLMessage\n id=\"step.smsLoop.verificationCode\"\n defaultMessage=\"Verification Code\"\n tagName=\"h1\"\n />\n </AnnouncingHeader>\n\n <div className=\"sid-header__subtitle\">\n {getSafe(() => previousViewModel.phoneNumber) ? (\n <FormattedHTMLMessage\n id=\"step.smsLoop.titleWithNumber\"\n defaultMessage=\"We've sent an SMS message to the mobile number ending in {number}. Enter your code here.\"\n values={{\n number: getSafe(() => previousViewModel.phoneNumber.slice(-4), \"\"),\n }}\n />\n ) : (\n <FormattedHTMLMessage\n id=\"step.smsLoop.titleWithoutNumber\"\n defaultMessage=\"We've sent an SMS to your mobile number. Please enter the code here.\"\n />\n )}\n </div>\n\n <div className=\"sid-sms-code-id-wrapper sid-l-horz-center\">\n <SMSCodeComponent\n onChange={updateSmsCode}\n value={viewModel.smsCode}\n isErrored={isErrored}\n errorId={verificationService.fieldValidationErrors.smsCode}\n />\n </div>\n\n {stepResultMessage && (\n <div>\n <p>{stepResultMessage}</p>\n </div>\n )}\n\n <div className=\"sid-submit sid-sms-loop-submit sid-l-space-top-md sid-l-horz-center\">\n <button\n id=\"sid-submit-sms-code\"\n onClick={submitForm}\n type=\"button\"\n className=\"sid-btn sid-sms-loop-submit-btn sid-btn--dark sid-submit__continue\"\n aria-label=\"submit\"\n disabled={\n !!(!viewModel.smsCode || viewModel.smsCode.length <= 0 || isAttemptLimitExceeded)\n }\n >\n <FormattedHTMLMessage id=\"step.smsLoop.submitButton\" defaultMessage=\"Submit\" />\n </button>\n\n <div className=\"sid-l-space-left-sm\"> </div>\n\n <button\n id=\"sid-resend-sms-code\"\n onClick={() => resendSmsCode(verificationResponse.verificationId)}\n type=\"submit\"\n className=\"sid-btn sid-resend-sms-code-btn sid-btn--light sid-submit__cancel\"\n aria-label=\"re-send\"\n >\n <FormattedHTMLMessage id=\"step.smsLoop.resendButton\" defaultMessage=\"Re-send\" />\n </button>\n </div>\n\n <div className=\"sid-incorrect-number sid-l-horz-center\">\n <FormattedHTMLMessage\n id=\"step.smsLoop.incorrectNumber.incorrectNumber1\"\n defaultMessage=\"Incorrect number? Click\"\n />\n \n <button\n type=\"button\"\n onClick={() => window.location.reload()}\n className=\"sid-incorrect-number__refresh-link sid-h-btn-link-like\"\n >\n <FormattedHTMLMessage\n id=\"step.smsLoop.incorrectNumber.incorrectNumber2\"\n defaultMessage=\"here\"\n />\n \n </button>\n <FormattedHTMLMessage id=\"companyName\" defaultMessage=\"{Company}\">\n {(companyName) => (\n <FormattedHTMLMessage\n id=\"step.smsLoop.incorrectNumber.incorrectNumber3\"\n defaultMessage=\"to return to {companyName}\"\n values={{ companyName }}\n />\n )}\n </FormattedHTMLMessage>\n </div>\n </div>\n );\n};\n\nexport const StepSMSLoopComponent = injectIntl(StepSMSLoop);\n"],"names":["StepSMSLoop","intl","verificationService","viewModel","verificationResponse","isErrored","previousViewModel","stepResultMessage","setStepResultMessage","React","isAttemptLimitExceeded","setAttemptLimitExceeded","stepSuccessMessage","maxTotalRetriesMessage","maxRetriesPerCodeMessage","errorResendingSMSMessage","getSafe","updateSmsCode","value","nextState","produce","draft","submitForm","logger","VerificationStepsEnum","resendSmsCode","verificationId","response","VerificationApiClient","jsxs","jsx","AnnouncingHeader","FormattedHTMLMessage","SMSCodeComponent","companyName","StepSMSLoopComponent","injectIntl"],"mappings":";AAwBA,MAAMA,IAAc,CAAC,EAAE,MAAAC,GAAM,qBAAAC,QAA4C;AACvE,QAAMC,IAAYD,EAAoB,WAChCE,IAAuBF,EAAoB,sBAC3CG,IAAY,EAAQH,EAAoB,sBAAsB,SAC9DI,IACHJ,EAAoB,qBAAsD,QAEvE,CAACK,GAAmBC,CAAoB,IAAIC,EAAM,SAAS,EAAE,GAC7D,CAACC,GAAwBC,CAAuB,IAAIF,EAAM;AAAA,IAC9DL,EAAqB,YACnBA,EAAqB,SAAS,SAAS,sCAAsC;AAAA,EAAA,GAG3EQ,IAAqBX,EAAK,kBAAkB;AAAA,IAChD,IAAI;AAAA,IACJ,gBAAgB;AAAA,EAAA,CACjB,GACKY,IAAyBZ,EAAK,kBAAkB;AAAA,IACpD,IAAI;AAAA,IACJ,gBAAgB;AAAA,EAAA,CACjB,GACKa,IAA2Bb,EAAK,kBAAkB;AAAA,IACtD,IAAI;AAAA,IACJ,gBAAgB;AAAA,EAAA,CACjB,GACKc,IAA2Bd,EAAK,kBAAkB;AAAA,IACtD,IAAI;AAAA,IACJ,gBAAgB;AAAA,EAAA,CACjB;AAED,EAAAQ,EAAM,UAAU,MAAM;AACpB,IAAIC,KACFF,EAAqBM,CAAwB;AAAA,EAEjD,GAAG,CAAE,CAAA,GAGHE,EAAQ,MAAMZ,EAAqB,SAAS,MAAM,KAClD,CAACF,EAAoB,sBAAsB,WAE3CA,EAAoB,4BAA4B;AAAA,IAC9C,GAAGA,EAAoB;AAAA,IACvB,SAASE,EAAqB,SAAS,CAAC;AAAA,EAAA,CACzC;AAGG,QAAAa,IAAgB,CAACC,MAAU;AAC/B,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