@sheerid/jslib-nightly 2.105.0-alpha.0 → 2.106.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-DHyoi6Bo.js} +12 -12
- package/lib/{EmailLoopPending-Dv5RU8aW.js.map → EmailLoopPending-DHyoi6Bo.js.map} +1 -1
- package/lib/LicensedProfessionalOrganizationComponent-DKJY8_Bo.js +52 -0
- package/lib/LicensedProfessionalOrganizationComponent-DKJY8_Bo.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-C3-_M61B.js +11 -0
- package/lib/{StepCollectMilitaryStatusComponent-DGfjdYFR.js.map → StepCollectMilitaryStatusComponent-C3-_M61B.js.map} +1 -1
- package/{chunk/StepIDCheckLoopOnfido-C9iUX8TC.js → lib/StepIDCheckLoopOnfido-mkqkDAc7.js} +13 -11
- package/lib/{StepIDCheckLoopOnfido-DiSAKwu6.js.map → StepIDCheckLoopOnfido-mkqkDAc7.js.map} +1 -1
- package/lib/{StepIDCheckLoopRegula-Cbr1wxzD.js → StepIDCheckLoopRegula-8i7ukSzj.js} +22 -21
- package/lib/StepIDCheckLoopRegula-8i7ukSzj.js.map +1 -0
- package/lib/{StepInactiveMilitaryPersonalInfoComponent-CEneK5BB.js → StepInactiveMilitaryPersonalInfoComponent-C5mr8-zz.js} +45 -45
- package/lib/{StepInactiveMilitaryPersonalInfoComponent-CEneK5BB.js.map → StepInactiveMilitaryPersonalInfoComponent-C5mr8-zz.js.map} +1 -1
- package/lib/VerificationApiUtils-DblEVBsu.js +23 -0
- package/lib/{VerificationApiUtils-BaeyxwKQ.js.map → VerificationApiUtils-DblEVBsu.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-Bax-ZIK1.js} +13140 -11855
- package/lib/es6-Bax-ZIK1.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-B9-1tzv2.js +28 -0
- package/lib/{index-DXdjJ-86.js.map → index-B9-1tzv2.js.map} +1 -1
- package/lib/{index-BwlcJZwR.js → index-BYh8hnmi.js} +8 -8
- package/{chunk/index-Cp0C-9fh.js.map → lib/index-BYh8hnmi.js.map} +1 -1
- package/lib/{index-BfZIEtAp.js → index-Bor8xQwD.js} +66 -69
- package/lib/index-Bor8xQwD.js.map +1 -0
- package/lib/{index-BR7Obj6X.js → index-By8PwRxR.js} +34 -34
- package/{chunk/index-D7O7vvSe.js.map → lib/index-By8PwRxR.js.map} +1 -1
- package/lib/{index-5FO_J7_Z.js → index-C0t3HeI1.js} +30 -30
- package/lib/{index-5FO_J7_Z.js.map → index-C0t3HeI1.js.map} +1 -1
- package/lib/index-C1FdZaTA.js +11 -0
- package/lib/index-C1FdZaTA.js.map +1 -0
- package/lib/index-CEI7rrAW.js +11 -0
- package/lib/index-CEI7rrAW.js.map +1 -0
- package/lib/{index-DdQXDuhi.js → index-CFmLOU-H.js} +9 -9
- package/lib/{index-DdQXDuhi.js.map → index-CFmLOU-H.js.map} +1 -1
- package/lib/{index-B8tJDCPk.js → index-CFof6_XO.js} +76 -75
- package/lib/index-CFof6_XO.js.map +1 -0
- package/lib/{index-UiGEZV81.js → index-CW1HjY48.js} +5 -5
- package/{chunk/index-Cq__fToG.js.map → lib/index-CW1HjY48.js.map} +1 -1
- package/lib/{index-LZPXbSqW.js → index-Cc79lE_w.js} +385 -402
- package/lib/index-Cc79lE_w.js.map +1 -0
- package/lib/{index-MzEDmZWe.js → index-CtBDD9Ra.js} +24 -24
- package/{chunk/index-BjaCS2a8.js.map → lib/index-CtBDD9Ra.js.map} +1 -1
- package/lib/{index-348MFV_0.js → index-D5WHNimv.js} +5 -5
- package/lib/{index-348MFV_0.js.map → index-D5WHNimv.js.map} +1 -1
- package/lib/{index-CT2Bcg4x.js → index-D8RA_3zM.js} +5 -5
- package/lib/{index-CT2Bcg4x.js.map → index-D8RA_3zM.js.map} +1 -1
- package/lib/index-DIkWpujR.js +4 -4
- package/lib/index-DIkWpujR.js.map +1 -1
- package/lib/{index-CGjXCGni.js → index-DNy9MAMH.js} +22 -22
- package/lib/{index-CGjXCGni.js.map → index-DNy9MAMH.js.map} +1 -1
- package/lib/index-DY02gOyn.js +11 -0
- package/lib/index-DY02gOyn.js.map +1 -0
- package/lib/{index-s5CW4RjM.js → index-Dr1CSaxo.js} +59 -59
- package/lib/index-Dr1CSaxo.js.map +1 -0
- package/lib/{index-CUzHMJTj.js → index-DsOGDkYS.js} +26 -26
- package/lib/{index-CUzHMJTj.js.map → index-DsOGDkYS.js.map} +1 -1
- package/lib/{index-ed6oGI-U.js → index-DxDA2pF0.js} +7 -7
- package/lib/{index-ed6oGI-U.js.map → index-DxDA2pF0.js.map} +1 -1
- package/lib/index-VwmdVgfA.js +11 -0
- package/lib/index-VwmdVgfA.js.map +1 -0
- package/lib/{index-CEOPDO2Y.js → index-cY-LRN6y.js} +25 -28
- package/lib/index-cY-LRN6y.js.map +1 -0
- package/lib/{index-CeXTXAJi.js → index-rFJ4gEYd.js} +58 -58
- package/lib/{index-CeXTXAJi.js.map → index-rFJ4gEYd.js.map} +1 -1
- package/lib/{index-BNxZc3yj.js → index-sDIVnQkX.js} +26 -26
- package/lib/{index-BNxZc3yj.js.map → index-sDIVnQkX.js.map} +1 -1
- 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-CHeRlgj7.js} +8 -8
- package/lib/{useCollectFieldsEndpoint-CS1fVgEX.js.map → useCollectFieldsEndpoint-CHeRlgj7.js.map} +1 -1
- package/lib/{useEmailFirstExperiment-Co9DPGhK.js → useEmailFirstExperiment-DFQvJdHp.js} +6 -7
- package/lib/{useEmailFirstExperiment-Co9DPGhK.js.map → useEmailFirstExperiment-DFQvJdHp.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,5 +1,5 @@
|
|
1
|
-
import { TeacherPersonalInfoViewModel, VerificationService } from '../../lib/types/types';
|
2
1
|
import { default as React } from 'react';
|
2
|
+
import { TeacherPersonalInfoViewModel, VerificationService } from '../../lib/types/types';
|
3
3
|
|
4
4
|
interface StepTeacherPersonalInfoComponentProps {
|
5
5
|
verificationService: VerificationService<TeacherPersonalInfoViewModel>;
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import { SingleSignOnMessages } from '../SingleSignOnComponent';
|
2
|
-
import { ThirdPartyLoopProvider } from '../../lib/types/runtimeTypes';
|
3
|
-
import { VerificationService } from '../../lib/types/types';
|
4
1
|
import { default as React } from 'react';
|
2
|
+
import { VerificationService } from '../../lib/types/types';
|
3
|
+
import { ThirdPartyLoopProvider } from '../../lib/types/runtimeTypes';
|
4
|
+
import { SingleSignOnMessages } from '../SingleSignOnComponent';
|
5
5
|
|
6
6
|
interface StepThirdPartyLoopProps {
|
7
7
|
verificationService: VerificationService;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { Country, EstimatedReviewTime, FaqUrl, Locale, MarketConsentOptions, MaxReviewTime, MetadataConfig, Options, Organization, ProgramTheme, ProgramThemeMessages, Segment, State, VerificationServiceValues, ViewModel } from '../types/types';
|
2
1
|
import { InjectedIntl } from 'react-intl';
|
2
|
+
import { Country, EstimatedReviewTime, FaqUrl, Locale, MarketConsentOptions, MaxReviewTime, MetadataConfig, Options, Organization, ProgramTheme, ProgramThemeMessages, Segment, State, VerificationServiceValues, ViewModel } from '../types/types';
|
3
3
|
|
4
4
|
export declare const getCompanyName: (programTheme: ProgramTheme) => string;
|
5
5
|
export declare const getMetadataConfig: (programTheme: ProgramTheme) => MetadataConfig;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { DatabaseId, Locale, VerificationStep } from '../types/types';
|
2
1
|
import { RewardDisplayEnum } from '../types/runtimeTypes';
|
2
|
+
import { DatabaseId, Locale, VerificationStep } from '../types/types';
|
3
3
|
|
4
4
|
export declare const getVerificationUrl: () => string;
|
5
5
|
export declare const getVerificationStatusUrl: (verificationId: DatabaseId) => string;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { CollectFieldsResponse, DatabaseId, ViewModel, VerificationResponse, VerificationStep, ProgramTheme, ErrorResponse, Locale, NetworkErrorId, ApplicableDocTypesResponse, AllStatuses } from '../types/types';
|
2
1
|
import { fetchExistingVerificationRequest } from './VerificationApiClient/fetchExistingVerificationRequest';
|
2
|
+
import { CollectFieldsResponse, DatabaseId, ViewModel, VerificationResponse, VerificationStep, ProgramTheme, ErrorResponse, Locale, NetworkErrorId, ApplicableDocTypesResponse, AllStatuses } from '../types/types';
|
3
3
|
|
4
4
|
/**
|
5
5
|
* Initiate a new verification attempt with the SheerID REST service.
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { DatabaseId } from '../types/types';
|
2
1
|
import { EmailLookupResponse, VerificationHelpRequestApiResponse } from '../../components/FormFields/EmailFirstCollectInfo/types';
|
2
|
+
import { DatabaseId } from '../types/types';
|
3
3
|
|
4
4
|
/**
|
5
5
|
* Endpoint to support email-first functionality.
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { DatabaseId, VerificationResponse, ViewModel, BoundAction, BoundActionCreator, Segment } from '../types/types';
|
2
1
|
import { Dispatch } from 'redux';
|
2
|
+
import { DatabaseId, VerificationResponse, ViewModel, BoundAction, BoundActionCreator, Segment } from '../types/types';
|
3
3
|
|
4
4
|
/**
|
5
5
|
* @description Start a new verification "flow"
|
@@ -1,13 +1,11 @@
|
|
1
1
|
import { ViewModel } from '../types/types';
|
2
2
|
|
3
|
-
export type ViewModelUpdateOptions = {
|
4
|
-
partial: boolean;
|
5
|
-
metadataCheck: boolean;
|
6
|
-
};
|
7
3
|
/**
|
8
4
|
* @description Set the viewModel for the form or reset it by passing an empty object
|
9
5
|
*/
|
10
|
-
export declare const setViewModel: (newViewModel: ViewModel | {}, options?:
|
6
|
+
export declare const setViewModel: (newViewModel: ViewModel | {}, options?: {
|
7
|
+
partial: boolean;
|
8
|
+
}) => void;
|
11
9
|
/**
|
12
10
|
* Schedule, or immediately perform a viewModel reset.
|
13
11
|
* Resets fieldValidationErrors and previousViewModel as well.
|
package/src/lib/hooks/index.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import { EventEmitter, EventArg } from './eventEmitter';
|
2
1
|
import { Hook, HookEvents, RegisteredHooks } from '../types/types';
|
2
|
+
import { EventEmitter, EventArg } from './eventEmitter';
|
3
3
|
|
4
4
|
declare class Hooks extends EventEmitter<HookEvents> {
|
5
5
|
emit<K extends keyof HookEvents>(name: K, data: EventArg<HookEvents, K>): void;
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { Flags } from '../../components/FeatureFlags/flags';
|
2
|
-
import { VerificationFormEs5 } from '../../es5Bindings/VerificationFormEs5';
|
3
1
|
import { Locale, Options, ProgramTheme, ProgramThemeMessages, Segment } from '../types/types';
|
2
|
+
import { VerificationFormEs5 } from '../../es5Bindings/VerificationFormEs5';
|
3
|
+
import { Flags } from '../../components/FeatureFlags/flags';
|
4
4
|
|
5
5
|
export declare function loadInElement(containerElement: HTMLElement, programId: string): VerificationFormEs5;
|
6
6
|
export declare function setProgramThemeChoices(theme: ProgramTheme): void;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { default as Iframe, IframeOptions } from './iframe';
|
2
1
|
import { PostMessageAction } from '../types/types';
|
2
|
+
import { default as Iframe, IframeOptions } from './iframe';
|
3
3
|
|
4
4
|
export declare const assertValidFunction: (candidate: Function) => void;
|
5
5
|
declare class AffinityIFrame extends Iframe {
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import { IframeUserConfiguration } from '../types/types';
|
2
|
-
import { default as Modal } from './modal';
|
3
|
-
import { default as Iframe } from './iframe';
|
4
1
|
import { default as AffinityIFrame } from './affinity';
|
2
|
+
import { default as Iframe } from './iframe';
|
3
|
+
import { default as Modal } from './modal';
|
4
|
+
import { IframeUserConfiguration } from '../types/types';
|
5
5
|
|
6
6
|
export declare function loadInlineIframe(containerElement: HTMLElement, url: string): Iframe;
|
7
7
|
export declare function loadInModal(url: string, userConfig?: IframeUserConfiguration): Modal;
|
@@ -863,7 +863,7 @@ declare const _default: {
|
|
863
863
|
"defaultMessages.step.sso.subtitle": "Please sign in to your school's web portal. It will open in a new tab.",
|
864
864
|
"defaultMessages.step.sso.subtitle2": "Unable to sign in?",
|
865
865
|
"defaultMessages.step.sso.title": "Verify using your school credentials",
|
866
|
-
"defaultMessages.step.success.copyCouponCode": "Copy
|
866
|
+
"defaultMessages.step.success.copyCouponCode": "Copy Coupon code",
|
867
867
|
"defaultMessages.step.success.emailNotification": "We have emailed you a copy so you can use your new code now or later. Look for the email from verify@sheerid.com.",
|
868
868
|
"defaultMessages.step.success.rememberMe.consumerFound.button": "Save to Remember Me",
|
869
869
|
"defaultMessages.step.success.rememberMe.consumerFound.description": "Save new info for future offers with {companyName} and other brands using SheerID's Remember Me service.",
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { ReduxState, VerificationService, VerificationStore, ViewModel } from '../types/types';
|
2
1
|
import { TypedUseSelectorHook } from 'react-redux';
|
2
|
+
import { ReduxState, VerificationService, VerificationStore, ViewModel } from '../types/types';
|
3
3
|
|
4
4
|
export declare const useAppSelector: TypedUseSelectorHook<ReduxState>;
|
5
5
|
export declare const useAppDispatch: () => VerificationStore["dispatch"];
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { Locales } from '../intl/locales';
|
2
1
|
import { Segment, FirstResponderStatus, MilitaryStatus, LowIncomeStatus, MedicalProfessionalStatus, RecentMoverStatus, VerificationStep, SuccessResponse, VerificationResponse } from './types';
|
2
|
+
import { Locales } from '../intl/locales';
|
3
3
|
|
4
4
|
export { Locales } from '../intl/locales';
|
5
5
|
/**
|
package/src/lib/types/types.d.ts
CHANGED
@@ -1,12 +1,11 @@
|
|
1
|
-
import { ViewModelUpdateOptions } from '../VerificationService/ViewModel';
|
2
|
-
import { Flags } from '../../components/FeatureFlags/flags';
|
3
|
-
import { DeepPartial } from './helpers';
|
4
|
-
import { hooks } from '../hooks';
|
5
|
-
import { TryAgainAction } from '../../components/TryAgainAction';
|
6
|
-
import { FormFieldConfigType } from '../../components/FormFields/FormFieldCustom/FormFieldCustom';
|
7
|
-
import { RewardDisplayEnum, Locale, IdCheckLoopServiceType, ThirdPartyLoopProvider } from './runtimeTypes';
|
8
|
-
import { InjectedIntl } from 'react-intl';
|
9
1
|
import { Dispatch, Store } from 'redux';
|
2
|
+
import { InjectedIntl } from 'react-intl';
|
3
|
+
import { RewardDisplayEnum, Locale, IdCheckLoopServiceType, ThirdPartyLoopProvider } from './runtimeTypes';
|
4
|
+
import { FormFieldConfigType } from '../../components/FormFields/FormFieldCustom/FormFieldCustom';
|
5
|
+
import { TryAgainAction } from '../../components/TryAgainAction';
|
6
|
+
import { hooks } from '../hooks';
|
7
|
+
import { DeepPartial } from './helpers';
|
8
|
+
import { Flags } from '../../components/FeatureFlags/flags';
|
10
9
|
|
11
10
|
export { type Locale } from './runtimeTypes';
|
12
11
|
export interface NavigatorBeta extends Navigator {
|
@@ -43,6 +42,7 @@ export interface FormFieldConfig {
|
|
43
42
|
fieldId: PersonalInfoFieldId | string;
|
44
43
|
disabled?: boolean;
|
45
44
|
requireIfOptional?: boolean;
|
45
|
+
hidden?: boolean;
|
46
46
|
}
|
47
47
|
export interface CustomFormFieldConfig extends FormFieldConfig {
|
48
48
|
fieldType: (typeof FormFieldConfigType)[keyof typeof FormFieldConfigType];
|
@@ -1881,10 +1881,7 @@ export interface VerificationServiceValues<T extends ViewModel = ViewModel> {
|
|
1881
1881
|
export interface VerificationServiceFunctions<T extends ViewModel = ViewModel> {
|
1882
1882
|
readonly fetchNewVerificationRequest: (programId: DatabaseId, segment: Segment, previousViewModel: T, trackingId?: string, forceNewVerificationRequest?: boolean) => Promise<object>;
|
1883
1883
|
readonly fetchExistingVerificationRequest: (programId: DatabaseId, verificationId: string, previousVerificationResponse?: VerificationResponse, previousViewModel?: T, needsLoading?: boolean) => Promise<object>;
|
1884
|
-
readonly updateViewModel: <
|
1885
|
-
partial: false;
|
1886
|
-
metadataCheck: false;
|
1887
|
-
}>(viewModel: Opts["partial"] extends true ? Partial<T> : T, options?: Opts) => void;
|
1884
|
+
readonly updateViewModel: <Part extends boolean = false>(viewModel: Part extends true ? Partial<T> : T, partial?: Part) => void;
|
1888
1885
|
readonly updateProgramTheme: (programTheme: ProgramTheme) => void;
|
1889
1886
|
readonly updateFieldValidationErrors: (fieldValidationErrors: FieldValidationErrors) => void;
|
1890
1887
|
readonly submitStep: (stepName: VerificationStep, viewModel: T, previousResponse: VerificationResponse) => Promise<object>;
|
@@ -8,5 +8,5 @@ interface TagMap {
|
|
8
8
|
* children of an FormattedHTMLMessage. See the Readme
|
9
9
|
*
|
10
10
|
*/
|
11
|
-
export declare const makeFormattedHTMLTagReplacer: (tagmap: TagMap) => (text: string | JSX.Element) => ReactNode;
|
11
|
+
export declare const makeFormattedHTMLTagReplacer: (tagmap: TagMap) => ((text: string | JSX.Element) => ReactNode);
|
12
12
|
export {};
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { VerificationStepsEnum, MilitaryStatusDefaultMessagesEnum, FirstResponderStatusDefaultMessagesEnum, MedicalProfessionalStatusDefaultMessagesEnum, LowIncomeStatusDefaultMessagesEnum, RecentMoverStatusDefaultMessagesEnum } from '../../types/runtimeTypes';
|
2
|
-
import { FieldId, FieldValidationErrors, Organization, VerificationService, FieldContent, ExtendedFieldId, InputSelectOnKeyDown, FormSelectChoice, Country, ProgramTheme, Locale, ViewModel, State, PendingResponse, DocUploadResponse, FieldDescription, FirstResponderStatus, MilitaryStatus, MedicalProfessionalStatus, LowIncomeStatus, AllStatuses, RecentMoverStatus, PersonalInfoFieldId, Options } from '../../types/types';
|
3
1
|
import { InjectedIntl } from 'react-intl';
|
2
|
+
import { FieldId, FieldValidationErrors, Organization, VerificationService, FieldContent, ExtendedFieldId, InputSelectOnKeyDown, FormSelectChoice, Country, ProgramTheme, Locale, ViewModel, State, PendingResponse, DocUploadResponse, FieldDescription, FirstResponderStatus, MilitaryStatus, MedicalProfessionalStatus, LowIncomeStatus, AllStatuses, RecentMoverStatus, PersonalInfoFieldId, Options } from '../../types/types';
|
3
|
+
import { VerificationStepsEnum, MilitaryStatusDefaultMessagesEnum, FirstResponderStatusDefaultMessagesEnum, MedicalProfessionalStatusDefaultMessagesEnum, LowIncomeStatusDefaultMessagesEnum, RecentMoverStatusDefaultMessagesEnum } from '../../types/runtimeTypes';
|
4
4
|
|
5
5
|
export declare const updateViewModelOrganization: (organization: Organization, verificationService: VerificationService) => void;
|
6
6
|
export declare const populateViewModelFromQueryParams: (verificationService: VerificationService) => void;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { FormSelectChoice } from '../../types/types';
|
2
1
|
import { InjectedIntl } from 'react-intl';
|
2
|
+
import { FormSelectChoice } from '../../types/types';
|
3
3
|
|
4
4
|
type compareLabelReturn = 1 | -1;
|
5
5
|
export declare const compareLabel: (a: FormSelectChoice<any>, b: FormSelectChoice<any>) => compareLabelReturn;
|
package/types-reference.zip
CHANGED
Binary file
|
@@ -1 +0,0 @@
|
|
1
|
-
export {};
|
@@ -1,45 +0,0 @@
|
|
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 { i as g, j as e, F as m, a as o, b as f } from "../sheerid.js";
|
9
|
-
const h = ({
|
10
|
-
value: n,
|
11
|
-
isErrored: r,
|
12
|
-
onChange: i,
|
13
|
-
verificationService: a,
|
14
|
-
intl: t,
|
15
|
-
placeholder: s = "",
|
16
|
-
disabled: l = !1
|
17
|
-
}) => /* @__PURE__ */ e.jsx(
|
18
|
-
m,
|
19
|
-
{
|
20
|
-
fieldId: "licensed-professional",
|
21
|
-
value: n,
|
22
|
-
verificationService: a,
|
23
|
-
onChange: (d) => i(d),
|
24
|
-
placeholder: s || t.formatHTMLMessage({
|
25
|
-
id: "organizationNamePlaceholder",
|
26
|
-
defaultMessage: "Organization"
|
27
|
-
}),
|
28
|
-
label: /* @__PURE__ */ e.jsx(o, { id: "organization", defaultMessage: "Organization" }),
|
29
|
-
errorMessage: r && /* @__PURE__ */ e.jsx(
|
30
|
-
o,
|
31
|
-
{
|
32
|
-
id: "errorId.invalidOrganization",
|
33
|
-
defaultMessage: "You must select an organization from the list"
|
34
|
-
}
|
35
|
-
),
|
36
|
-
orgSearchUrl: f(a.viewModel, a.programTheme),
|
37
|
-
showPlaceholderAndHideLabel: !!s,
|
38
|
-
disabled: l
|
39
|
-
}
|
40
|
-
), z = g(
|
41
|
-
h
|
42
|
-
);
|
43
|
-
export {
|
44
|
-
z as L
|
45
|
-
};
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"LicensedProfessionalOrganizationComponent-BNNNPaDn.js","sources":["../../src/components/FormFields/LicensedProfessionalOrganization/LicensedProfessionalOrganizationComponent.tsx"],"sourcesContent":["import React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport {\n FormFieldComponentProps,\n VerificationServiceProps,\n Organization,\n} from \"../../../lib/types/types\";\nimport { FormFieldTypeahead } from \"../FormFieldTypeahead/FormFieldTypeahead\";\nimport { getOrgSearchUrl } from \"../../../lib/ProgramTheme/programThemeGetters\";\n\nexport const LicensedProfessionalOrganization = ({\n value,\n isErrored,\n onChange,\n verificationService,\n intl,\n placeholder = \"\",\n disabled = false,\n}: FormFieldComponentProps & VerificationServiceProps) => (\n <FormFieldTypeahead\n fieldId=\"licensed-professional\"\n value={value}\n verificationService={verificationService}\n onChange={(choice: Organization) => onChange(choice)}\n placeholder={\n placeholder ||\n intl.formatHTMLMessage({\n id: \"organizationNamePlaceholder\",\n defaultMessage: \"Organization\",\n })\n }\n label={<FormattedHTMLMessage id=\"organization\" defaultMessage=\"Organization\" />}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage\n id=\"errorId.invalidOrganization\"\n defaultMessage=\"You must select an organization from the list\"\n />\n )\n }\n orgSearchUrl={getOrgSearchUrl(verificationService.viewModel, verificationService.programTheme)}\n showPlaceholderAndHideLabel={!!placeholder}\n disabled={disabled}\n />\n);\n\nexport const LicensedProfessionalOrganizationComponent = injectIntl(\n LicensedProfessionalOrganization,\n);\n"],"names":["LicensedProfessionalOrganization","value","isErrored","onChange","verificationService","intl","placeholder","disabled","jsx","FormFieldTypeahead","choice","FormattedHTMLMessage","getOrgSearchUrl","LicensedProfessionalOrganizationComponent","injectIntl"],"mappings":";AAUO,MAAMA,IAAmC,CAAC;AAAA,EAC/C,OAAAC;AAAA,EACA,WAAAC;AAAA,EACA,UAAAC;AAAA,EACA,qBAAAC;AAAA,EACA,MAAAC;AAAA,EACA,aAAAC,IAAc;AAAA,EACd,UAAAC,IAAW;AACb,MACEC,gBAAAA,EAAA;AAAA,EAACC;AAAA,EAAA;AAAA,IACC,SAAQ;AAAA,IACR,OAAAR;AAAA,IACA,qBAAAG;AAAA,IACA,UAAU,CAACM,MAAyBP,EAASO,CAAM;AAAA,IACnD,aACEJ,KACAD,EAAK,kBAAkB;AAAA,MACrB,IAAI;AAAA,MACJ,gBAAgB;AAAA,IAAA,CACjB;AAAA,IAEH,OAAQG,gBAAAA,EAAA,IAAAG,GAAA,EAAqB,IAAG,gBAAe,gBAAe,gBAAe;AAAA,IAC7E,cACET,KACEM,gBAAAA,EAAA;AAAA,MAACG;AAAA,MAAA;AAAA,QACC,IAAG;AAAA,QACH,gBAAe;AAAA,MAAA;AAAA,IACjB;AAAA,IAGJ,cAAcC,EAAgBR,EAAoB,WAAWA,EAAoB,YAAY;AAAA,IAC7F,6BAA6B,CAAC,CAACE;AAAA,IAC/B,UAAAC;AAAA,EAAA;AACF,GAGWM,IAA4CC;AAAA,EACvDd;AACF;"}
|
@@ -1,49 +0,0 @@
|
|
1
|
-
|
2
|
-
/**
|
3
|
-
* WARNING: This file is intended to be used within MySheerID.
|
4
|
-
* This file is not intended for use in other contexts and there are no guarantees about its behavior outside of MySheerID.
|
5
|
-
*/
|
6
|
-
/**
|
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
|
-
*/
|
12
|
-
import { i as g, j as e, F as m, a as o, b as f } from "../_mysheerid-preview.js";
|
13
|
-
const h = ({
|
14
|
-
value: n,
|
15
|
-
isErrored: r,
|
16
|
-
onChange: i,
|
17
|
-
verificationService: a,
|
18
|
-
intl: t,
|
19
|
-
placeholder: s = "",
|
20
|
-
disabled: l = !1
|
21
|
-
}) => /* @__PURE__ */ e.jsx(
|
22
|
-
m,
|
23
|
-
{
|
24
|
-
fieldId: "licensed-professional",
|
25
|
-
value: n,
|
26
|
-
verificationService: a,
|
27
|
-
onChange: (d) => i(d),
|
28
|
-
placeholder: s || t.formatHTMLMessage({
|
29
|
-
id: "organizationNamePlaceholder",
|
30
|
-
defaultMessage: "Organization"
|
31
|
-
}),
|
32
|
-
label: /* @__PURE__ */ e.jsx(o, { id: "organization", defaultMessage: "Organization" }),
|
33
|
-
errorMessage: r && /* @__PURE__ */ e.jsx(
|
34
|
-
o,
|
35
|
-
{
|
36
|
-
id: "errorId.invalidOrganization",
|
37
|
-
defaultMessage: "You must select an organization from the list"
|
38
|
-
}
|
39
|
-
),
|
40
|
-
orgSearchUrl: f(a.viewModel, a.programTheme),
|
41
|
-
showPlaceholderAndHideLabel: !!s,
|
42
|
-
disabled: l
|
43
|
-
}
|
44
|
-
), z = g(
|
45
|
-
h
|
46
|
-
);
|
47
|
-
export {
|
48
|
-
z as L
|
49
|
-
};
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"LicensedProfessionalOrganizationComponent-trZr_eIW.js","sources":["../../src/components/FormFields/LicensedProfessionalOrganization/LicensedProfessionalOrganizationComponent.tsx"],"sourcesContent":["import React from \"react\";\nimport { FormattedHTMLMessage, injectIntl } from \"react-intl\";\nimport {\n FormFieldComponentProps,\n VerificationServiceProps,\n Organization,\n} from \"../../../lib/types/types\";\nimport { FormFieldTypeahead } from \"../FormFieldTypeahead/FormFieldTypeahead\";\nimport { getOrgSearchUrl } from \"../../../lib/ProgramTheme/programThemeGetters\";\n\nexport const LicensedProfessionalOrganization = ({\n value,\n isErrored,\n onChange,\n verificationService,\n intl,\n placeholder = \"\",\n disabled = false,\n}: FormFieldComponentProps & VerificationServiceProps) => (\n <FormFieldTypeahead\n fieldId=\"licensed-professional\"\n value={value}\n verificationService={verificationService}\n onChange={(choice: Organization) => onChange(choice)}\n placeholder={\n placeholder ||\n intl.formatHTMLMessage({\n id: \"organizationNamePlaceholder\",\n defaultMessage: \"Organization\",\n })\n }\n label={<FormattedHTMLMessage id=\"organization\" defaultMessage=\"Organization\" />}\n errorMessage={\n isErrored && (\n <FormattedHTMLMessage\n id=\"errorId.invalidOrganization\"\n defaultMessage=\"You must select an organization from the list\"\n />\n )\n }\n orgSearchUrl={getOrgSearchUrl(verificationService.viewModel, verificationService.programTheme)}\n showPlaceholderAndHideLabel={!!placeholder}\n disabled={disabled}\n />\n);\n\nexport const LicensedProfessionalOrganizationComponent = injectIntl(\n LicensedProfessionalOrganization,\n);\n"],"names":["LicensedProfessionalOrganization","value","isErrored","onChange","verificationService","intl","placeholder","disabled","jsx","FormFieldTypeahead","choice","FormattedHTMLMessage","getOrgSearchUrl","LicensedProfessionalOrganizationComponent","injectIntl"],"mappings":";AAUO,MAAMA,IAAmC,CAAC;AAAA,EAC/C,OAAAC;AAAA,EACA,WAAAC;AAAA,EACA,UAAAC;AAAA,EACA,qBAAAC;AAAA,EACA,MAAAC;AAAA,EACA,aAAAC,IAAc;AAAA,EACd,UAAAC,IAAW;AACb,MACEC,gBAAAA,EAAA;AAAA,EAACC;AAAA,EAAA;AAAA,IACC,SAAQ;AAAA,IACR,OAAAR;AAAA,IACA,qBAAAG;AAAA,IACA,UAAU,CAACM,MAAyBP,EAASO,CAAM;AAAA,IACnD,aACEJ,KACAD,EAAK,kBAAkB;AAAA,MACrB,IAAI;AAAA,MACJ,gBAAgB;AAAA,IAAA,CACjB;AAAA,IAEH,OAAQG,gBAAAA,EAAA,IAAAG,GAAA,EAAqB,IAAG,gBAAe,gBAAe,gBAAe;AAAA,IAC7E,cACET,KACEM,gBAAAA,EAAA;AAAA,MAACG;AAAA,MAAA;AAAA,QACC,IAAG;AAAA,QACH,gBAAe;AAAA,MAAA;AAAA,IACjB;AAAA,IAGJ,cAAcC,EAAgBR,EAAoB,WAAWA,EAAoB,YAAY;AAAA,IAC7F,6BAA6B,CAAC,CAACE;AAAA,IAC/B,UAAAC;AAAA,EAAA;AACF,GAGWM,IAA4CC;AAAA,EACvDd;AACF;"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"StepIDCheckLoopRegula-BB8xA4nn.js","sources":["../../src/components/StepIDCheckLoop/Regula/utils/uploadFiles.ts","../../src/components/StepIDCheckLoop/Regula/IdCheckLoopRegula/DisplayThumbnail.tsx","../../node_modules/@heroicons/react/24/outline/esm/PlusIcon.js","../../src/components/StepIDCheckLoop/Regula/IdCheckLoopRegula/UploadImage.tsx","../../src/components/StepIDCheckLoop/Regula/IdCheckLoopRegula/IdCheckLoopRegula.tsx","../../src/components/StepIDCheckLoop/IdCheckLoopFooter/IdCheckLoopRegulaFooter.tsx","../../src/components/StepIDCheckLoop/Regula/StepIDCheckLoopRegulaComponent/StepIDCheckLoopRegula.tsx"],"sourcesContent":["import { logger } from \"../../../../lib/utils/logger/logger\";\n\nexport const uploadFiles = async (\n url: string,\n frontImage: File,\n backImage: File,\n): Promise<Response> => {\n logger.info(`uploading files to ${url}`);\n\n const body = new FormData();\n body.append(\"frontImage\", frontImage);\n body.append(\"backImage\", backImage);\n\n return fetch(url, {\n method: \"POST\",\n body,\n });\n};\n","import React from \"react\";\nimport { FileToUpload } from \"./IdCheckLoopRegula\";\n\nexport interface DisplayThumbnailProps {\n fileToUpload: FileToUpload;\n onRemove: (\n e: React.KeyboardEvent<HTMLDivElement>,\n setImage: React.Dispatch<React.SetStateAction<FileToUpload>>,\n ) => void;\n setImage: React.Dispatch<React.SetStateAction<FileToUpload>>;\n}\n\nexport const DisplayThumbnail = ({ fileToUpload, onRemove, setImage }: DisplayThumbnailProps) => {\n const fileName = fileToUpload.file?.name;\n\n return (\n <div className=\"sid-step-id-check-loop__thumbnail-main-wrapper\">\n <div className=\"sid-step-id-check-loop__thumbnail-wrapper\">\n <img\n className=\"sid-step-id-check-loop__file-thumbnail\"\n src={fileToUpload.url}\n alt=\"File thumbnail\"\n />\n </div>\n <div className=\"sid-step-id-check-loop__file-name-wrapper\">\n <div className=\"sid-step-id-check-loop__file-name\" title={fileName}>\n {fileName}\n </div>\n <div\n role=\"button\"\n tabIndex={0}\n aria-label={`Remove file ${fileName}`}\n className=\"sid-step-id-check-loop__remove-btn\"\n onClick={() => setImage(undefined)}\n onKeyDown={(e) => onRemove(e, setImage)}\n />\n </div>\n </div>\n );\n};\n","import * as React from \"react\";\nfunction PlusIcon({\n title,\n titleId,\n ...props\n}, svgRef) {\n return /*#__PURE__*/React.createElement(\"svg\", Object.assign({\n xmlns: \"http://www.w3.org/2000/svg\",\n fill: \"none\",\n viewBox: \"0 0 24 24\",\n strokeWidth: 1.5,\n stroke: \"currentColor\",\n \"aria-hidden\": \"true\",\n \"data-slot\": \"icon\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, /*#__PURE__*/React.createElement(\"path\", {\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\",\n d: \"M12 4.5v15m7.5-7.5h-15\"\n }));\n}\nconst ForwardRef = React.forwardRef(PlusIcon);\nexport default ForwardRef;","import PlusIcon from \"@heroicons/react/24/outline/PlusIcon\";\nimport React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { setRef } from \"../../../../es6\";\n\nexport enum IMAGE_SIDE {\n FRONT = \"FRONT\",\n BACK = \"BACK\",\n}\n\nexport interface UploadImageProps {\n addFile: (e: React.KeyboardEvent<HTMLDivElement>, fieldId: string) => void;\n upload: (e: React.ChangeEvent<HTMLInputElement>) => void;\n imageSide: IMAGE_SIDE;\n}\n\nexport const UploadImage = ({ addFile, upload, imageSide }: UploadImageProps) => {\n const isFrontImage = imageSide === IMAGE_SIDE.FRONT;\n\n const fieldId = isFrontImage ? \"addFileFront\" : \"addFileBack\";\n const htmlFor = isFrontImage ? \"sid-font-photo-input\" : \"sid-back-photo-input\";\n const ariaLabel = isFrontImage ? \"add front file\" : \"add back file\";\n const id = isFrontImage ? \"sid-font-photo-input\" : \"sid-back-photo-input\";\n\n return (\n <div className=\"sid-step-id-check-loop__file-upload-container\">\n <label className=\"sid-step-id-check-loop__label\" htmlFor={htmlFor} aria-label={ariaLabel}>\n <div\n className=\"sid-step-id-check-loop__upload-photo-container\"\n tabIndex={0}\n role=\"button\"\n onKeyDown={(e) => addFile(e, fieldId)}\n >\n <PlusIcon className=\"sid-step-id-check-loop__icon\" />\n <p className=\"sid-step-id-check-loop__instructions\">\n {imageSide === IMAGE_SIDE.FRONT ? (\n <FormattedHTMLMessage\n id=\"step.idCheckLoop.regula.addFontImage\"\n defaultMessage=\"Add front of ID\"\n />\n ) : (\n <FormattedHTMLMessage\n id=\"step.idCheckLoop.regula.addBackImage\"\n defaultMessage=\"Add back of ID\"\n />\n )}\n </p>\n <input\n onChange={upload}\n type=\"file\"\n id={id}\n data-testId=\"photo-input\"\n hidden\n accept=\"image/jpeg,image/png\"\n multiple\n ref={(input: HTMLInputElement) => setRef(fieldId, input)}\n />\n </div>\n </label>\n </div>\n );\n};\n","import React from \"react\";\n\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { AnnouncingHeader } from \"@/components/AnnouncingHeader/AnnouncingHeader\";\nimport { IDCheckLoopResponse, VerificationService } from \"../../../../lib/types/types\";\nimport { VerificationStepsEnum } from \"../../../../lib/types/runtimeTypes\";\nimport { uploadFiles } from \"../utils/uploadFiles\";\nimport { getRefByFieldId } from \"../../../../lib/refs/refs\";\nimport { logger } from \"../../../../lib/utils/logger/logger\";\nimport { DisplayThumbnail } from \"./DisplayThumbnail\";\nimport { IMAGE_SIDE, UploadImage } from \"./UploadImage\";\nimport { LoadingScreenComponent } from \"../../../LoadingScreen/LoadingScreenComponent\";\n\nexport interface IdCheckLoopRegulaProps {\n verificationService: VerificationService;\n}\n\nexport interface FileToUpload {\n file: File;\n url: string;\n}\n\nconst IdCheckLoopRegula = ({ verificationService }: IdCheckLoopRegulaProps) => {\n const verificationResponse = verificationService.verificationResponse as IDCheckLoopResponse;\n const { uploadUrl, errorIds } = verificationResponse;\n\n const [frontImage, setFrontImage] = React.useState<FileToUpload>();\n const [backImage, setBackImage] = React.useState<FileToUpload>();\n const [submitInitiated, setSubmitInitiated] = React.useState<boolean>(false);\n\n const handleSubmit = () => {\n setSubmitInitiated(!submitInitiated);\n uploadFiles(uploadUrl, frontImage.file, backImage.file)\n .then((response: Response) => {\n if (response.ok) {\n verificationService.submitStep(\n VerificationStepsEnum.idCheckLoop,\n verificationService.viewModel,\n verificationService.verificationResponse,\n );\n }\n })\n .catch((e) => {\n logger.error(`IdCheckLoop step failed to upload files to: ${uploadUrl}. ${e}`);\n });\n };\n\n const handleAddFileOnKeyUp = (e: React.KeyboardEvent<HTMLDivElement>, fieldId: string) => {\n const addFileRef = getRefByFieldId(fieldId);\n\n if (e.key === \"Enter\" || e.key === \" \") {\n e.preventDefault();\n e.stopPropagation();\n addFileRef.click();\n }\n };\n const handleRemoveFileOnKeyUp = (\n e: React.KeyboardEvent<HTMLDivElement>,\n setImage: React.Dispatch<React.SetStateAction<FileToUpload>>,\n ) => {\n if (e.key === \"Enter\" || e.key === \" \") {\n e.preventDefault();\n e.stopPropagation();\n setImage(undefined);\n }\n };\n\n const handleFrontUpload = (e: React.ChangeEvent<HTMLInputElement>) => {\n const file = e.target.files[0];\n setFrontImage({ file, url: URL.createObjectURL(file) });\n };\n const handleBackUpload = (e: React.ChangeEvent<HTMLInputElement>) => {\n const file = e.target.files[0];\n setBackImage({ file, url: URL.createObjectURL(file) });\n };\n\n if (submitInitiated) {\n return <LoadingScreenComponent step=\"idCheckLoop\" />;\n }\n\n return (\n <div className=\"sid-step-id-check-loop__upload-wrapper\">\n <AnnouncingHeader align=\"center\">\n <FormattedHTMLMessage\n id=\"step.idCheckLoop.regula.uploadTitle\"\n defaultMessage=\"Upload government issued ID\"\n />\n </AnnouncingHeader>\n <div className=\"sid-header__subtitle sid-l-horz-center sid-l-space-btm-md\">\n <FormattedHTMLMessage\n id=\"step.idCheckLoop.regula.uploadSubtitle\"\n defaultMessage=\"Make sure information on the document can be easily read. Avoid glares.\"\n />\n </div>\n\n {errorIds && errorIds.length > 0 && (\n <div className=\"sid-step-id-check-loop__error-container\">\n <FormattedHTMLMessage\n id=\"step.idCheckLoop.regula.uploadFileError\"\n defaultMessage=\"There was an error uploading your files. Please try again.\"\n />\n </div>\n )}\n\n <div className=\"sid-step-id-check-loop__upload-container\">\n {frontImage ? (\n <DisplayThumbnail\n fileToUpload={frontImage}\n onRemove={handleRemoveFileOnKeyUp}\n setImage={setFrontImage}\n />\n ) : (\n <UploadImage\n addFile={handleAddFileOnKeyUp}\n upload={handleFrontUpload}\n imageSide={IMAGE_SIDE.FRONT}\n />\n )}\n\n {backImage ? (\n <DisplayThumbnail\n fileToUpload={backImage}\n onRemove={handleRemoveFileOnKeyUp}\n setImage={setBackImage}\n />\n ) : (\n <UploadImage\n addFile={handleAddFileOnKeyUp}\n upload={handleBackUpload}\n imageSide={IMAGE_SIDE.BACK}\n />\n )}\n </div>\n\n <div className=\"sid-submit sid-l-horz-center sid-l-space-top-md sid-l-space-btm-md\">\n <button\n onClick={handleSubmit}\n type=\"button\"\n className=\"sid-btn sid-btn--dark\"\n data-testId=\"id-check-submit-button\"\n aria-label=\"submit\"\n disabled={!frontImage || !backImage}\n >\n <FormattedHTMLMessage id=\"step.idCheckLoop.regula.submit\" defaultMessage=\"Submit\" />\n </button>\n </div>\n </div>\n );\n};\n\nexport const IdCheckLoopRegulaComponent = IdCheckLoopRegula;\n","import React from \"react\";\n\nimport { FormattedMessage } from \"react-intl\";\nimport { VerificationService } from \"../../../lib/types/types\";\nimport { FormFooterComponent } from \"../../FormFooter/FormFooterComponent\";\n\nexport interface IdCheckLoopRegulaFooterProps {\n verificationService: VerificationService;\n}\n\nexport const IdCheckLoopRegulaFooter = ({ verificationService }: IdCheckLoopRegulaFooterProps) => (\n <FormFooterComponent verificationService={verificationService}>\n <div>\n <p>\n <FormattedMessage\n id=\"step.idCheckLoop.regula.terms\"\n defaultMessage='By clicking \"Continue\", you agree you have read, understand, and accept the {privacyPolicyLink} and {termsOfService}.'\n values={{\n privacyPolicyLink: (\n <a\n href=\"https://regulaforensics.com/privacy/\"\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n className=\"sid-link\"\n >\n <FormattedMessage\n id=\"step.idCheckLoop.privacyPolicy\"\n defaultMessage=\"Privacy Policy\"\n />\n </a>\n ),\n termsOfService: (\n <a\n href=\"https://regulaforensics.com/terms-of-use/\"\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n className=\"sid-link\"\n >\n <FormattedMessage\n id=\"step.idCheckLoop.termsOfService\"\n defaultMessage=\"Terms of Service\"\n />\n </a>\n ),\n }}\n />\n </p>\n\n <p>\n <FormattedMessage\n id=\"step.idCheckLoop.disclaimer\"\n defaultMessage=\"SheerID uses a third party, {serviceType}, to process our identity check.\"\n values={{\n serviceType: \"Regula\",\n }}\n />\n </p>\n </div>\n </FormFooterComponent>\n);\n\nexport default IdCheckLoopRegulaFooter;\n","import React from \"react\";\n\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { AnnouncingHeader } from \"@/components/AnnouncingHeader/AnnouncingHeader\";\nimport { IDCheckLoopResponse, VerificationService } from \"../../../../lib/types/types\";\nimport { StepCardComponent } from \"../../StepCard/StepCard\";\nimport IdCheckLoopRegulaFooter from \"../../IdCheckLoopFooter/IdCheckLoopRegulaFooter\";\nimport { IdCheckLoopRegulaComponent } from \"../IdCheckLoopRegula/IdCheckLoopRegula\";\n\nexport interface StepIDCheckLoopRegulaProps {\n verificationService: VerificationService;\n}\n\nconst StepIDCheckLoopRegula = ({ verificationService }: StepIDCheckLoopRegulaProps) => {\n const verificationResponse = verificationService.verificationResponse as IDCheckLoopResponse;\n\n const [showUpload, setShowUpload] = React.useState<boolean>(false);\n\n React.useEffect(() => {\n if (verificationResponse && verificationResponse?.errorIds?.length > 0) {\n setShowUpload(true);\n }\n }, [verificationResponse]);\n\n return (\n <div id=\"sid-step-id-check-loop\" className=\"sid-l-container\">\n {showUpload ? (\n <div role=\"main\">\n <IdCheckLoopRegulaComponent verificationService={verificationService} />\n </div>\n ) : (\n <>\n <div role=\"main\">\n <AnnouncingHeader align=\"center\">\n <FormattedHTMLMessage\n id=\"step.idCheckLoop.regula.title\"\n defaultMessage=\"To continue, we need to verify your identity.\"\n />\n </AnnouncingHeader>\n <div className=\"sid-header__subtitle sid-l-horz-center sid-l-space-btm-md\">\n <FormattedHTMLMessage\n id=\"step.idCheckLoop.subtitle\"\n defaultMessage=\"To complete the verification process, we ask that you provide us with:\"\n />\n </div>\n <div className=\"sid-identity-check-steps\">\n <StepCardComponent\n title=\"Photo of a government-issued ID\"\n subtitle=\"Drivers license, state ID, passport, or residence permit.\"\n icon={\n <img\n className=\"sid-identity-check-steps__icon\"\n alt=\"\"\n src=\"https://assets-resources.sheerid.com/common/images/2018/icons/upload-proof.svg\"\n />\n }\n isHighlighted\n key=\"\"\n />\n </div>\n\n <div className=\"sid-submit sid-l-horz-center sid-l-space-top-md sid-l-space-btm-md\">\n <button\n onClick={() => setShowUpload(!showUpload)}\n type=\"button\"\n className=\"sid-btn sid-btn--dark\"\n aria-label=\"submit\"\n >\n <FormattedHTMLMessage id=\"step.idCheckLoop.continue\" defaultMessage=\"Continue\" />\n </button>\n </div>\n </div>\n <IdCheckLoopRegulaFooter verificationService={verificationService} />\n </>\n )}\n </div>\n );\n};\n\nexport default StepIDCheckLoopRegula;\n"],"names":["uploadFiles","url","frontImage","backImage","logger","body","DisplayThumbnail","fileToUpload","onRemove","setImage","fileName","_a","jsxs","jsx","e","PlusIcon","title","titleId","props","svgRef","React.createElement","ForwardRef","React.forwardRef","PlusIcon$1","IMAGE_SIDE","UploadImage","addFile","upload","imageSide","isFrontImage","fieldId","htmlFor","ariaLabel","id","FormattedHTMLMessage","input","setRef","IdCheckLoopRegula","verificationService","verificationResponse","uploadUrl","errorIds","setFrontImage","React","setBackImage","submitInitiated","setSubmitInitiated","handleSubmit","response","VerificationStepsEnum","handleAddFileOnKeyUp","addFileRef","getRefByFieldId","handleRemoveFileOnKeyUp","handleFrontUpload","file","handleBackUpload","LoadingScreenComponent","AnnouncingHeader","IdCheckLoopRegulaComponent","IdCheckLoopRegulaFooter","FormFooterComponent","FormattedMessage","StepIDCheckLoopRegula","showUpload","setShowUpload","Fragment","StepCardComponent"],"mappings":";AAEO,MAAMA,IAAc,OACzBC,GACAC,GACAC,MACsB;AACf,EAAAC,EAAA,KAAK,sBAAsBH,CAAG,EAAE;AAEjC,QAAAI,IAAO,IAAI;AACZ,SAAAA,EAAA,OAAO,cAAcH,CAAU,GAC/BG,EAAA,OAAO,aAAaF,CAAS,GAE3B,MAAMF,GAAK;AAAA,IAChB,QAAQ;AAAA,IACR,MAAAI;AAAA,EAAA,CACD;AACH,GCLaC,IAAmB,CAAC,EAAE,cAAAC,GAAc,UAAAC,GAAU,UAAAC,QAAsC;;AACzF,QAAAC,KAAWC,IAAAJ,EAAa,SAAb,gBAAAI,EAAmB;AAGlC,SAAAC,gBAAAA,EAAA,KAAC,OAAI,EAAA,WAAU,kDACb,UAAA;AAAA,IAACC,gBAAAA,EAAAA,IAAA,OAAA,EAAI,WAAU,6CACb,UAAAA,gBAAAA,EAA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gBAAAA,EAAA;AAAA,QAACqB;AAAA,QAAA;AAAA,UACC,IAAG;AAAA,UACH,gBAAe;AAAA,QAAA;AAAA,MAAA,GAEnB;AAAA,MACArB,gBAAAA,EAAAA,IAAC,OAAI,EAAA,WAAU,4BACb,UAAAA,gBAAAA,EAAA;AAAA,QAACsD;AAAA,QAAA;AAAA,UACC,OAAM;AAAA,UACN,UAAS;AAAA,UACT,MACEtD,gBAAAA,EAAA;AAAA,YAAC;AAAA,YAAA;AAAA,cACC,WAAU;AAAA,cACV,KAAI;AAAA,cACJ,KAAI;AAAA,YAAA;AAAA,UACN;AAAA,UAEF,eAAa;AAAA,QAAA;AAAA,QACT;AAAA,MAAA,GAER;AAAA,MAEAA,gBAAAA,EAAAA,IAAC,OAAI,EAAA,WAAU,sEACb,UAAAA,gBAAAA,EAAA;AAAA,QAAC;AAAA,QAAA;AAAA,UACC,SAAS,MAAMoD,EAAc,CAACD,CAAU;AAAA,UACxC,MAAK;AAAA,UACL,WAAU;AAAA,UACV,cAAW;AAAA,UAEX,UAACnD,gBAAAA,EAAA,IAAAqB,GAAA,EAAqB,IAAG,6BAA4B,gBAAe,YAAW;AAAA,QAAA;AAAA,MAAA,GAEnF;AAAA,IAAA,GACF;AAAA,IACArB,gBAAAA,MAAC+C,KAAwB,qBAAAtB,GAA0C;AAAA,EAAA,EACrE,CAAA,EAEJ,CAAA;AAEJ;;;;","x_google_ignoreList":[2]}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"StepIDCheckLoopRegula-D8XhToQz.js","sources":["../../src/components/StepIDCheckLoop/Regula/utils/uploadFiles.ts","../../src/components/StepIDCheckLoop/Regula/IdCheckLoopRegula/DisplayThumbnail.tsx","../../node_modules/@heroicons/react/24/outline/esm/PlusIcon.js","../../src/components/StepIDCheckLoop/Regula/IdCheckLoopRegula/UploadImage.tsx","../../src/components/StepIDCheckLoop/Regula/IdCheckLoopRegula/IdCheckLoopRegula.tsx","../../src/components/StepIDCheckLoop/IdCheckLoopFooter/IdCheckLoopRegulaFooter.tsx","../../src/components/StepIDCheckLoop/Regula/StepIDCheckLoopRegulaComponent/StepIDCheckLoopRegula.tsx"],"sourcesContent":["import { logger } from \"../../../../lib/utils/logger/logger\";\n\nexport const uploadFiles = async (\n url: string,\n frontImage: File,\n backImage: File,\n): Promise<Response> => {\n logger.info(`uploading files to ${url}`);\n\n const body = new FormData();\n body.append(\"frontImage\", frontImage);\n body.append(\"backImage\", backImage);\n\n return fetch(url, {\n method: \"POST\",\n body,\n });\n};\n","import React from \"react\";\nimport { FileToUpload } from \"./IdCheckLoopRegula\";\n\nexport interface DisplayThumbnailProps {\n fileToUpload: FileToUpload;\n onRemove: (\n e: React.KeyboardEvent<HTMLDivElement>,\n setImage: React.Dispatch<React.SetStateAction<FileToUpload>>,\n ) => void;\n setImage: React.Dispatch<React.SetStateAction<FileToUpload>>;\n}\n\nexport const DisplayThumbnail = ({ fileToUpload, onRemove, setImage }: DisplayThumbnailProps) => {\n const fileName = fileToUpload.file?.name;\n\n return (\n <div className=\"sid-step-id-check-loop__thumbnail-main-wrapper\">\n <div className=\"sid-step-id-check-loop__thumbnail-wrapper\">\n <img\n className=\"sid-step-id-check-loop__file-thumbnail\"\n src={fileToUpload.url}\n alt=\"File thumbnail\"\n />\n </div>\n <div className=\"sid-step-id-check-loop__file-name-wrapper\">\n <div className=\"sid-step-id-check-loop__file-name\" title={fileName}>\n {fileName}\n </div>\n <div\n role=\"button\"\n tabIndex={0}\n aria-label={`Remove file ${fileName}`}\n className=\"sid-step-id-check-loop__remove-btn\"\n onClick={() => setImage(undefined)}\n onKeyDown={(e) => onRemove(e, setImage)}\n />\n </div>\n </div>\n );\n};\n","import * as React from \"react\";\nfunction PlusIcon({\n title,\n titleId,\n ...props\n}, svgRef) {\n return /*#__PURE__*/React.createElement(\"svg\", Object.assign({\n xmlns: \"http://www.w3.org/2000/svg\",\n fill: \"none\",\n viewBox: \"0 0 24 24\",\n strokeWidth: 1.5,\n stroke: \"currentColor\",\n \"aria-hidden\": \"true\",\n \"data-slot\": \"icon\",\n ref: svgRef,\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, /*#__PURE__*/React.createElement(\"path\", {\n strokeLinecap: \"round\",\n strokeLinejoin: \"round\",\n d: \"M12 4.5v15m7.5-7.5h-15\"\n }));\n}\nconst ForwardRef = React.forwardRef(PlusIcon);\nexport default ForwardRef;","import PlusIcon from \"@heroicons/react/24/outline/PlusIcon\";\nimport React from \"react\";\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { setRef } from \"../../../../es6\";\n\nexport enum IMAGE_SIDE {\n FRONT = \"FRONT\",\n BACK = \"BACK\",\n}\n\nexport interface UploadImageProps {\n addFile: (e: React.KeyboardEvent<HTMLDivElement>, fieldId: string) => void;\n upload: (e: React.ChangeEvent<HTMLInputElement>) => void;\n imageSide: IMAGE_SIDE;\n}\n\nexport const UploadImage = ({ addFile, upload, imageSide }: UploadImageProps) => {\n const isFrontImage = imageSide === IMAGE_SIDE.FRONT;\n\n const fieldId = isFrontImage ? \"addFileFront\" : \"addFileBack\";\n const htmlFor = isFrontImage ? \"sid-font-photo-input\" : \"sid-back-photo-input\";\n const ariaLabel = isFrontImage ? \"add front file\" : \"add back file\";\n const id = isFrontImage ? \"sid-font-photo-input\" : \"sid-back-photo-input\";\n\n return (\n <div className=\"sid-step-id-check-loop__file-upload-container\">\n <label className=\"sid-step-id-check-loop__label\" htmlFor={htmlFor} aria-label={ariaLabel}>\n <div\n className=\"sid-step-id-check-loop__upload-photo-container\"\n tabIndex={0}\n role=\"button\"\n onKeyDown={(e) => addFile(e, fieldId)}\n >\n <PlusIcon className=\"sid-step-id-check-loop__icon\" />\n <p className=\"sid-step-id-check-loop__instructions\">\n {imageSide === IMAGE_SIDE.FRONT ? (\n <FormattedHTMLMessage\n id=\"step.idCheckLoop.regula.addFontImage\"\n defaultMessage=\"Add front of ID\"\n />\n ) : (\n <FormattedHTMLMessage\n id=\"step.idCheckLoop.regula.addBackImage\"\n defaultMessage=\"Add back of ID\"\n />\n )}\n </p>\n <input\n onChange={upload}\n type=\"file\"\n id={id}\n data-testId=\"photo-input\"\n hidden\n accept=\"image/jpeg,image/png\"\n multiple\n ref={(input: HTMLInputElement) => setRef(fieldId, input)}\n />\n </div>\n </label>\n </div>\n );\n};\n","import React from \"react\";\n\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { AnnouncingHeader } from \"@/components/AnnouncingHeader/AnnouncingHeader\";\nimport { IDCheckLoopResponse, VerificationService } from \"../../../../lib/types/types\";\nimport { VerificationStepsEnum } from \"../../../../lib/types/runtimeTypes\";\nimport { uploadFiles } from \"../utils/uploadFiles\";\nimport { getRefByFieldId } from \"../../../../lib/refs/refs\";\nimport { logger } from \"../../../../lib/utils/logger/logger\";\nimport { DisplayThumbnail } from \"./DisplayThumbnail\";\nimport { IMAGE_SIDE, UploadImage } from \"./UploadImage\";\nimport { LoadingScreenComponent } from \"../../../LoadingScreen/LoadingScreenComponent\";\n\nexport interface IdCheckLoopRegulaProps {\n verificationService: VerificationService;\n}\n\nexport interface FileToUpload {\n file: File;\n url: string;\n}\n\nconst IdCheckLoopRegula = ({ verificationService }: IdCheckLoopRegulaProps) => {\n const verificationResponse = verificationService.verificationResponse as IDCheckLoopResponse;\n const { uploadUrl, errorIds } = verificationResponse;\n\n const [frontImage, setFrontImage] = React.useState<FileToUpload>();\n const [backImage, setBackImage] = React.useState<FileToUpload>();\n const [submitInitiated, setSubmitInitiated] = React.useState<boolean>(false);\n\n const handleSubmit = () => {\n setSubmitInitiated(!submitInitiated);\n uploadFiles(uploadUrl, frontImage.file, backImage.file)\n .then((response: Response) => {\n if (response.ok) {\n verificationService.submitStep(\n VerificationStepsEnum.idCheckLoop,\n verificationService.viewModel,\n verificationService.verificationResponse,\n );\n }\n })\n .catch((e) => {\n logger.error(`IdCheckLoop step failed to upload files to: ${uploadUrl}. ${e}`);\n });\n };\n\n const handleAddFileOnKeyUp = (e: React.KeyboardEvent<HTMLDivElement>, fieldId: string) => {\n const addFileRef = getRefByFieldId(fieldId);\n\n if (e.key === \"Enter\" || e.key === \" \") {\n e.preventDefault();\n e.stopPropagation();\n addFileRef.click();\n }\n };\n const handleRemoveFileOnKeyUp = (\n e: React.KeyboardEvent<HTMLDivElement>,\n setImage: React.Dispatch<React.SetStateAction<FileToUpload>>,\n ) => {\n if (e.key === \"Enter\" || e.key === \" \") {\n e.preventDefault();\n e.stopPropagation();\n setImage(undefined);\n }\n };\n\n const handleFrontUpload = (e: React.ChangeEvent<HTMLInputElement>) => {\n const file = e.target.files[0];\n setFrontImage({ file, url: URL.createObjectURL(file) });\n };\n const handleBackUpload = (e: React.ChangeEvent<HTMLInputElement>) => {\n const file = e.target.files[0];\n setBackImage({ file, url: URL.createObjectURL(file) });\n };\n\n if (submitInitiated) {\n return <LoadingScreenComponent step=\"idCheckLoop\" />;\n }\n\n return (\n <div className=\"sid-step-id-check-loop__upload-wrapper\">\n <AnnouncingHeader align=\"center\">\n <FormattedHTMLMessage\n id=\"step.idCheckLoop.regula.uploadTitle\"\n defaultMessage=\"Upload government issued ID\"\n />\n </AnnouncingHeader>\n <div className=\"sid-header__subtitle sid-l-horz-center sid-l-space-btm-md\">\n <FormattedHTMLMessage\n id=\"step.idCheckLoop.regula.uploadSubtitle\"\n defaultMessage=\"Make sure information on the document can be easily read. Avoid glares.\"\n />\n </div>\n\n {errorIds && errorIds.length > 0 && (\n <div className=\"sid-step-id-check-loop__error-container\">\n <FormattedHTMLMessage\n id=\"step.idCheckLoop.regula.uploadFileError\"\n defaultMessage=\"There was an error uploading your files. Please try again.\"\n />\n </div>\n )}\n\n <div className=\"sid-step-id-check-loop__upload-container\">\n {frontImage ? (\n <DisplayThumbnail\n fileToUpload={frontImage}\n onRemove={handleRemoveFileOnKeyUp}\n setImage={setFrontImage}\n />\n ) : (\n <UploadImage\n addFile={handleAddFileOnKeyUp}\n upload={handleFrontUpload}\n imageSide={IMAGE_SIDE.FRONT}\n />\n )}\n\n {backImage ? (\n <DisplayThumbnail\n fileToUpload={backImage}\n onRemove={handleRemoveFileOnKeyUp}\n setImage={setBackImage}\n />\n ) : (\n <UploadImage\n addFile={handleAddFileOnKeyUp}\n upload={handleBackUpload}\n imageSide={IMAGE_SIDE.BACK}\n />\n )}\n </div>\n\n <div className=\"sid-submit sid-l-horz-center sid-l-space-top-md sid-l-space-btm-md\">\n <button\n onClick={handleSubmit}\n type=\"button\"\n className=\"sid-btn sid-btn--dark\"\n data-testId=\"id-check-submit-button\"\n aria-label=\"submit\"\n disabled={!frontImage || !backImage}\n >\n <FormattedHTMLMessage id=\"step.idCheckLoop.regula.submit\" defaultMessage=\"Submit\" />\n </button>\n </div>\n </div>\n );\n};\n\nexport const IdCheckLoopRegulaComponent = IdCheckLoopRegula;\n","import React from \"react\";\n\nimport { FormattedMessage } from \"react-intl\";\nimport { VerificationService } from \"../../../lib/types/types\";\nimport { FormFooterComponent } from \"../../FormFooter/FormFooterComponent\";\n\nexport interface IdCheckLoopRegulaFooterProps {\n verificationService: VerificationService;\n}\n\nexport const IdCheckLoopRegulaFooter = ({ verificationService }: IdCheckLoopRegulaFooterProps) => (\n <FormFooterComponent verificationService={verificationService}>\n <div>\n <p>\n <FormattedMessage\n id=\"step.idCheckLoop.regula.terms\"\n defaultMessage='By clicking \"Continue\", you agree you have read, understand, and accept the {privacyPolicyLink} and {termsOfService}.'\n values={{\n privacyPolicyLink: (\n <a\n href=\"https://regulaforensics.com/privacy/\"\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n className=\"sid-link\"\n >\n <FormattedMessage\n id=\"step.idCheckLoop.privacyPolicy\"\n defaultMessage=\"Privacy Policy\"\n />\n </a>\n ),\n termsOfService: (\n <a\n href=\"https://regulaforensics.com/terms-of-use/\"\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n className=\"sid-link\"\n >\n <FormattedMessage\n id=\"step.idCheckLoop.termsOfService\"\n defaultMessage=\"Terms of Service\"\n />\n </a>\n ),\n }}\n />\n </p>\n\n <p>\n <FormattedMessage\n id=\"step.idCheckLoop.disclaimer\"\n defaultMessage=\"SheerID uses a third party, {serviceType}, to process our identity check.\"\n values={{\n serviceType: \"Regula\",\n }}\n />\n </p>\n </div>\n </FormFooterComponent>\n);\n\nexport default IdCheckLoopRegulaFooter;\n","import React from \"react\";\n\nimport { FormattedHTMLMessage } from \"react-intl\";\nimport { AnnouncingHeader } from \"@/components/AnnouncingHeader/AnnouncingHeader\";\nimport { IDCheckLoopResponse, VerificationService } from \"../../../../lib/types/types\";\nimport { StepCardComponent } from \"../../StepCard/StepCard\";\nimport IdCheckLoopRegulaFooter from \"../../IdCheckLoopFooter/IdCheckLoopRegulaFooter\";\nimport { IdCheckLoopRegulaComponent } from \"../IdCheckLoopRegula/IdCheckLoopRegula\";\n\nexport interface StepIDCheckLoopRegulaProps {\n verificationService: VerificationService;\n}\n\nconst StepIDCheckLoopRegula = ({ verificationService }: StepIDCheckLoopRegulaProps) => {\n const verificationResponse = verificationService.verificationResponse as IDCheckLoopResponse;\n\n const [showUpload, setShowUpload] = React.useState<boolean>(false);\n\n React.useEffect(() => {\n if (verificationResponse && verificationResponse?.errorIds?.length > 0) {\n setShowUpload(true);\n }\n }, [verificationResponse]);\n\n return (\n <div id=\"sid-step-id-check-loop\" className=\"sid-l-container\">\n {showUpload ? (\n <div role=\"main\">\n <IdCheckLoopRegulaComponent verificationService={verificationService} />\n </div>\n ) : (\n <>\n <div role=\"main\">\n <AnnouncingHeader align=\"center\">\n <FormattedHTMLMessage\n id=\"step.idCheckLoop.regula.title\"\n defaultMessage=\"To continue, we need to verify your identity.\"\n />\n </AnnouncingHeader>\n <div className=\"sid-header__subtitle sid-l-horz-center sid-l-space-btm-md\">\n <FormattedHTMLMessage\n id=\"step.idCheckLoop.subtitle\"\n defaultMessage=\"To complete the verification process, we ask that you provide us with:\"\n />\n </div>\n <div className=\"sid-identity-check-steps\">\n <StepCardComponent\n title=\"Photo of a government-issued ID\"\n subtitle=\"Drivers license, state ID, passport, or residence permit.\"\n icon={\n <img\n className=\"sid-identity-check-steps__icon\"\n alt=\"\"\n src=\"https://assets-resources.sheerid.com/common/images/2018/icons/upload-proof.svg\"\n />\n }\n isHighlighted\n key=\"\"\n />\n </div>\n\n <div className=\"sid-submit sid-l-horz-center sid-l-space-top-md sid-l-space-btm-md\">\n <button\n onClick={() => setShowUpload(!showUpload)}\n type=\"button\"\n className=\"sid-btn sid-btn--dark\"\n aria-label=\"submit\"\n >\n <FormattedHTMLMessage id=\"step.idCheckLoop.continue\" defaultMessage=\"Continue\" />\n </button>\n </div>\n </div>\n <IdCheckLoopRegulaFooter verificationService={verificationService} />\n </>\n )}\n </div>\n );\n};\n\nexport default StepIDCheckLoopRegula;\n"],"names":["uploadFiles","url","frontImage","backImage","logger","body","DisplayThumbnail","fileToUpload","onRemove","setImage","fileName","_a","jsxs","jsx","e","PlusIcon","title","titleId","props","svgRef","React.createElement","ForwardRef","React.forwardRef","PlusIcon$1","IMAGE_SIDE","UploadImage","addFile","upload","imageSide","isFrontImage","fieldId","htmlFor","ariaLabel","id","FormattedHTMLMessage","input","setRef","IdCheckLoopRegula","verificationService","verificationResponse","uploadUrl","errorIds","setFrontImage","React","setBackImage","submitInitiated","setSubmitInitiated","handleSubmit","response","VerificationStepsEnum","handleAddFileOnKeyUp","addFileRef","getRefByFieldId","handleRemoveFileOnKeyUp","handleFrontUpload","file","handleBackUpload","LoadingScreenComponent","AnnouncingHeader","IdCheckLoopRegulaComponent","IdCheckLoopRegulaFooter","FormFooterComponent","FormattedMessage","StepIDCheckLoopRegula","showUpload","setShowUpload","Fragment","StepCardComponent"],"mappings":";AAEO,MAAMA,IAAc,OACzBC,GACAC,GACAC,MACsB;AACf,EAAAC,EAAA,KAAK,sBAAsBH,CAAG,EAAE;AAEjC,QAAAI,IAAO,IAAI;AACZ,SAAAA,EAAA,OAAO,cAAcH,CAAU,GAC/BG,EAAA,OAAO,aAAaF,CAAS,GAE3B,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