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 : 13.58.221.124


Current Path : /proc/thread-self/root/var/www/college/static/js/
Upload File :
Current File : //proc/thread-self/root/var/www/college/static/js/838.9658e0f0.chunk.js.map

{"version":3,"file":"static/js/838.9658e0f0.chunk.js","mappings":"0RAIO,MAQMA,EAAgBC,MAAOC,EAAUC,EAAWC,WACjDC,EAAAA,EAAAA,GAAM,CACVC,OAAQ,MACRC,IACEC,EAAAA,EAAAA,yBAGAL,EACA,aACAC,IACDK,MAAMC,IACoB,GAAvBA,EAAIC,KAAKC,WACXV,EAAS,CAAEW,KAAM,mBAAoBC,QAASJ,EAAIC,KAAKA,OAEvDT,EAAS,CAAEa,KAAM,aAAcD,QAAS,IAC1C,GACA,E,eCoQJ,MAOA,GAAeE,EAAAA,EAAAA,KAPUC,IACvBC,QAAQC,IAAIF,EAAMG,oBAAoBC,cAAe,WAC9C,CACLC,KAAML,EAAMM,YAAYC,SACxBC,UAAWR,EAAMG,oBAAoBC,iBAGzC,EA7RA,SAAoBK,GAClB,MAAOC,EAAIC,IAASC,EAAAA,EAAAA,UAAS,KACtBC,EAAOC,IAAYF,EAAAA,EAAAA,UAAS,KAC5BG,EAAUC,IAAeJ,EAAAA,EAAAA,UAAS,KAClCK,EAAYC,IAAiBN,EAAAA,EAAAA,UAAS,KACtCO,EAAUC,IAAeR,EAAAA,EAAAA,aACzBS,EAASC,IAAcV,EAAAA,EAAAA,UAAS,KAChCW,EAAQC,IAAaZ,EAAAA,EAAAA,UAAS,QAC9Ba,EAAUC,IAAed,EAAAA,EAAAA,WAAS,IAClCe,EAAWC,IAAgBhB,EAAAA,EAAAA,WAAS,GACrC3B,GAAW4C,EAAAA,EAAAA,MAEXC,EAAc9C,UAElB,GADAiB,QAAQC,IAAIQ,EAAI,OACN,IAANA,GACFqB,EAAAA,EAAAA,GAAM,sBACD,GAAa,IAATlB,GACTk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WC,IACTlE,EAAWkE,EAAEC,OAAOX,MAAM,YAOrCrD,IACCoB,EAAAA,EAAAA,KAAC8C,EAAAA,EAAK,CACJC,OAAQ,CAAEC,EAAG,KACbC,YAAY,EACZC,UAAQ,EACRC,QAASrD,EACTsD,WAAY7C,EACZ8C,KAAK,QACLpD,MAAO,CACLqD,QAAS,MACThD,MAAO,MACPiD,UAAW,OACXV,WAAY,MACZW,YAAa,MACbC,SAAU,SACVC,IAAK,SAOnB,G","sources":["Actions/Utility/User_SetUp/User_Setup.js","Pages/Utility/User_SetUp/User_Setup.js"],"sourcesContent":["import axios from \"axios\";\nimport { base_url } from \"../../../Components/consts/api\";\nimport { Alert } from \"../../../Components/Alert\";\n\nexport const toSaveDetails = async (dispatch, formData) => {\n  await axios.post(base_url + \"saveUserSetupdata\", formData).then((res) => {\n    if (res.data.error_code == 0) {\n      Alert(res.data.data);\n    }\n  });\n};\n\nexport const toViewUserDet = async (dispatch, fcollcode, funivcode) => {\n  await axios({\n    method: \"GET\",\n    url:\n      base_url +\n      \"userLoginDet\" +\n      \"&collcode=\" +\n      fcollcode +\n      \"&univcode=\" +\n      funivcode,\n  }).then((res) => {\n    if (res.data.error_code == 0) {\n      dispatch({ type: \"GET_USERLOGINDET\", payload: res.data.data });\n    } else {\n      dispatch({ typr: \"CLEAR_DATA\", payload: [] });\n    }\n  });\n};\n\nexport const deleteData = async (\n  dispatch,\n  fcollcode,\n  funivcode,\n  id,\n  name,\n  mobile,\n  emailid\n) => {\n  await axios({\n    method: \"GET\",\n    url:\n      base_url +\n      \"userDeleteData\" +\n      \"&collcode=\" +\n      fcollcode +\n      \"&univcode=\" +\n      funivcode +\n      \"&id=\" +\n      id +\n      \"&name=\" +\n      name +\n      \"&mobile=\" +\n      mobile +\n      \"&email=\" +\n      emailid,\n  }).then((res) => {\n    if (res.data.error_code == -1) {\n      Alert(res.data.data.msg);\n    } else {\n      Alert(res.data.data.msg);\n      toViewUserDet(dispatch, fcollcode, funivcode);\n    }\n  });\n};\n","import { Card, Space, Button, Row, Col, Select, Input, Table } from \"antd\";\nimport React, { useState } from \"react\";\nimport { useDispatch, connect } from \"react-redux\";\nimport {\n  toSaveDetails,\n  toViewUserDet,\n  deleteData,\n} from \"../../../Actions/Utility/User_SetUp/User_Setup\";\nimport { Alert } from \"../../../Components/Alert\";\n\nfunction User_Setup(props) {\n  const [id, setId] = useState(\"\");\n  const [names, setNames] = useState(\"\");\n  const [password, setPassword] = useState(\"\");\n  const [repassword, setRepassword] = useState(\"\");\n  const [mobileno, setMobileno] = useState();\n  const [emailid, setEmailid] = useState(\"\");\n  const [screen, setScreen] = useState(\"add\");\n  const [hideview, setHideView] = useState(false);\n  const [hideinput, setHideInput] = useState(true);\n  const dispatch = useDispatch();\n\n  const saveHandler = async () => {\n    console.log(id, \"hii\");\n    if (id == \"\") {\n      Alert(\"Enter User Id\");\n    } else if (names == \"\") {\n      Alert(\"Enter User Name\");\n    } else if (password == \"\") {\n      Alert(\"Enter password\");\n    } else if (repassword == \"\") {\n      Alert(\"Enter password again\");\n    } else if (mobileno == \"\") {\n      Alert(\"Enter mobileno\");\n    } else if (emailid == \"\") {\n      Alert(\"Enter emailid\");\n    } else if (password != repassword) {\n      Alert(\"password and repassword should be same\");\n    } else {\n      const formData = new FormData();\n      formData.append(\"id\", id);\n      formData.append(\"name\", names);\n      formData.append(\"password\", password);\n      formData.append(\"repasseord\", repassword);\n      formData.append(\"mobileno\", mobileno);\n      formData.append(\"emailid\", emailid);\n      formData.append(\"collcode\", props.user.fcollcode);\n      formData.append(\"FUNIVCODE\", props.user.funivcode);\n      formData.append(\"usertype\", props.user.fuser);\n      formData.append(\"add\", screen);\n\n      await toSaveDetails(dispatch, formData);\n    }\n  };\n\n  const viewUsersLoginDet = async () => {\n    await toViewUserDet(dispatch, props.user.fcollcode, props.user.funivcode);\n    setHideView(true);\n    setHideInput(false);\n  };\n\n  const editHandler = (id, name, mobile, emailid) => {\n    console.log(id, name, mobile, emailid, \"hii\");\n    setId(id);\n    setNames(name);\n    setMobileno(mobile);\n    setEmailid(emailid);\n    setHideInput(true);\n    setHideView(false);\n  };\n\n  const deleteHandler = async (id, name, mobile, emailid) => {\n    await deleteData(\n      dispatch,\n      props.user.fcollcode,\n      props.user.funivcode,\n      id,\n      name,\n      mobile,\n      emailid\n    );\n  };\n  const tablehead = [\n    {\n      title: <label style={{ fontSize: \"12px\" }}>Sl. No</label>,\n      dataIndex: \"slno\",\n      align: \"center\",\n      width: \"1%\",\n    },\n    {\n      title: <label style={{ fontSize: \"12px\" }}>User ID</label>,\n      dataIndex: \"userid\",\n      align: \"center\",\n      width: \"2%\",\n    },\n    {\n      title: <label style={{ fontSize: \"12px\" }}>User Name</label>,\n      dataIndex: \"username\",\n      align: \"left\",\n      width: \"4%\",\n    },\n\n    {\n      title: <label style={{ fontSize: \"12px\" }}>Mobile No</label>,\n      dataIndex: \"mobileno\",\n      align: \"center\",\n      width: \"2%\",\n    },\n    {\n      title: <label style={{ fontSize: \"12px\" }}>Email Id</label>,\n      dataIndex: \"emailid\",\n      align: \"left\",\n      width: \"4%\",\n    },\n\n    {\n      title: <label style={{ fontSize: \"12px\" }}>Action</label>,\n      dataIndex: \"action\",\n      align: \"center\",\n      width: \"3%\",\n    },\n  ];\n  console.log(props.userLogin, \"anu\");\n  const tabledata = props.userLogin.map((el, i) => ({\n    key: i,\n    slno: i + 1,\n    userid: el.fuser,\n    username: el.fname,\n    mobileno: el.fmobileno,\n    emailid: el.femail,\n    action: (\n      <div>\n        <Button\n          onClick={() =>\n            editHandler(el.fuser, el.fname, el.fmobileno, el.femail)\n          }\n        >\n          Edit\n        </Button>\n        <Button\n          onClick={() =>\n            deleteHandler(el.fuser, el.fname, el.fmobileno, el.femail)\n          }\n        >\n          Delete\n        </Button>\n      </div>\n    ),\n  }));\n\n  return (\n    <div className=\"container-fluid\">\n      <Card\n        hoverable\n        title=\"User SetUp\"\n        style={{ width: \"100%\" }}\n        extra={\n          <Space direction=\"horizontal\">\n            <Button className=\"save\" onClick={() => saveHandler()}>\n              Save\n            </Button>\n            <Button className=\"save\" onClick={() => viewUsersLoginDet()}>\n              View\n            </Button>\n            <Button className=\"save\">Clear</Button>\n            <Button className=\"exit\">Exit</Button>\n          </Space>\n        }\n      >\n        {hideinput && (\n          <div style={{ marginBottom: \"10px\" }}>\n            <Row style={{ marginBottom: \"10px\" }}>\n              <Input type=\"hidden\" value={screen} />\n              <Col span={2}>\n                <label>User ID</label>\n              </Col>\n              <Col xs={24} sm={24} md={12} lg={12} xl={8}>\n                <Input\n                  placeholder=\"Select\"\n                  style={{ width: \"100%\" }}\n                  value={id}\n                  // value={\n                  //   props.userLogin.fuser != \"\" ? props.userLogin.fuser : id\n                  // }\n                  onChange={(e) => {\n                    setId(e.target.value);\n                  }}\n                />\n              </Col>\n              <Col span={2} style={{ marginLeft: \"70px\" }}>\n                <label>User Name</label>\n              </Col>\n              <Col xs={24} sm={24} md={12} lg={12} xl={8}>\n                <Input\n                  placeholder=\"Select\"\n                  style={{ width: \"100%\" }}\n                  value={names}\n                  onChange={(e) => {\n                    setNames(e.target.value);\n                  }}\n                ></Input>\n              </Col>\n            </Row>\n            <Row>\n              <Col span={2}>\n                <label>Password</label>\n              </Col>\n              <Col xs={24} sm={24} md={12} lg={12} xl={8}>\n                <Input\n                  placeholder=\"Select\"\n                  style={{ width: \"100%\" }}\n                  type=\"password\"\n                  value={password}\n                  onChange={(e) => {\n                    setPassword(e.target.value);\n                  }}\n                ></Input>\n              </Col>\n              <Col span={2} style={{ marginLeft: \"70px\" }}>\n                <label>ReType Password</label>\n              </Col>\n              <Col xs={24} sm={24} md={12} lg={12} xl={8}>\n                <Input\n                  placeholder=\"Select\"\n                  style={{ width: \"100%\" }}\n                  type=\"password\"\n                  value={repassword}\n                  onChange={(e) => {\n                    setRepassword(e.target.value);\n                  }}\n                ></Input>\n              </Col>\n            </Row>\n            <Row>\n              <Col span={2}>\n                <label>Mobile No</label>\n              </Col>\n              <Col xs={24} sm={24} md={12} lg={12} xl={8}>\n                <Input\n                  placeholder=\"Select\"\n                  style={{ width: \"100%\" }}\n                  value={mobileno}\n                  onChange={(e) => {\n                    setMobileno(e.target.value);\n                  }}\n                ></Input>\n              </Col>\n            </Row>\n            <Row style={{ marginBottom: \"10px\" }}>\n              <Col span={2}>\n                <label>Email ID</label>\n              </Col>\n              <Col xs={24} sm={24} md={12} lg={12} xl={8}>\n                <Input\n                  placeholder=\"Select\"\n                  style={{ width: \"100%\" }}\n                  value={emailid}\n                  onChange={(e) => {\n                    setEmailid(e.target.value);\n                  }}\n                ></Input>\n              </Col>\n            </Row>\n          </div>\n        )}\n        {hideview && (\n          <Table\n            scroll={{ y: 400 }}\n            pagination={false}\n            bordered\n            columns={tablehead}\n            dataSource={tabledata}\n            size=\"small\"\n            style={{\n              padding: \"2px\",\n              width: \"80%\",\n              marginTop: \"10px\",\n              marginLeft: \"10%\",\n              marginRight: \"10%\",\n              position: \"sticky\",\n              top: 0,\n            }}\n          />\n        )}\n      </Card>\n    </div>\n  );\n}\nconst mapStateToProps = (state) => {\n  console.log(state.UserLoginDetReducer.userLoginData, \"connect\");\n  return {\n    user: state.AuthReducer.userData,\n    userLogin: state.UserLoginDetReducer.userLoginData,\n  };\n};\nexport default connect(mapStateToProps)(User_Setup);\n"],"names":["toViewUserDet","async","dispatch","fcollcode","funivcode","axios","method","url","base_url","then","res","data","error_code","type","payload","typr","connect","state","console","log","UserLoginDetReducer","userLoginData","user","AuthReducer","userData","userLogin","props","id","setId","useState","names","setNames","password","setPassword","repassword","setRepassword","mobileno","setMobileno","emailid","setEmailid","screen","setScreen","hideview","setHideView","hideinput","setHideInput","useDispatch","saveHandler","Alert","formData","FormData","append","fuser","post","toSaveDetails","deleteHandler","name","mobile","msg","deleteData","tablehead","title","_jsx","style","fontSize","children","dataIndex","align","width","tabledata","map","el","i","key","slno","userid","username","fname","fmobileno","femail","action","_jsxs","Button","onClick","editHandler","className","Card","hoverable","extra","Space","direction","viewUsersLoginDet","marginBottom","Row","Input","value","Col","span","xs","sm","md","lg","xl","placeholder","onChange","e","target","marginLeft","Table","scroll","y","pagination","bordered","columns","dataSource","size","padding","marginTop","marginRight","position","top"],"sourceRoot":""}