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


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

{"version":3,"file":"static/js/756.3c1e379e.chunk.js","mappings":"iNAGO,MAAMA,EAAwBC,IAAS,CAC5CC,eAAgBC,IAAA,IAAC,gBACfC,EAAe,aACfC,EAAY,QACZC,EAAO,aACPC,EAAY,MACZC,GACDL,EAAA,OACCM,EAAAA,EAAAA,MAAA,OACEC,MAAO,CACLC,QAAS,GAEXC,UAAYC,GAAMA,EAAEC,kBAAkBC,SAAA,EAEtCC,EAAAA,EAAAA,KAACC,EAAAA,EAAK,CACJC,WAAS,EACTC,YAAW,UAAAC,OAAYnB,GACvBoB,MAAOhB,EACPiB,SAAWT,GACTT,EAAgBS,EAAEU,OAAOF,MAAQ,CAACR,EAAEU,OAAOF,OAAS,IAEtDG,aAAcA,KACZlB,GAAS,EAEXI,MAAO,CACLe,aAAc,EACdC,QAAS,YAGbjB,EAAAA,EAAAA,MAACkB,EAAAA,EAAK,CAAAZ,SAAA,EACJC,EAAAA,EAAAA,KAACY,EAAAA,GAAM,CACLC,KAAK,UACLC,QAASA,IAAMxB,IACfyB,MAAMf,EAAAA,EAAAA,KAACgB,EAAAA,EAAc,IACrBC,KAAK,QACLvB,MAAO,CACLwB,MAAO,IACPnB,SACH,YAGDC,EAAAA,EAAAA,KAACY,EAAAA,GAAM,CACLE,QAASA,KACPvB,IACAD,GAAS,EAEX2B,KAAK,QACLvB,MAAO,CACLwB,MAAO,IACPnB,SACH,eAIC,EAERoB,WAAaC,IACXpB,EAAAA,EAAAA,KAACgB,EAAAA,EAAc,CACbtB,MAAO,CACL2B,MAAOD,EAAW,UAAY,UAIpCE,SAAUA,CAACjB,EAAOkB,IAChBA,EAAOtC,GAAWuC,WAAWC,cAAcC,S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WACvBxB,EAAOD,GACPE,EAAQ,GAAG,EAsJkBmE,CAAiBlI,SAGtCJ,EAAAA,EAAAA,MAACiI,EAAAA,EAAG,CAACC,KAAM,EAAE5H,SAAA,EACXC,EAAAA,EAAAA,KAAA,SAAAD,SAAO,WACPC,EAAAA,EAAAA,KAAC4H,EAAAA,EAAM,CACLC,YAAU,EACV1H,YAAY,SACZT,MAAO,CAAEwB,MAAO,QAChBb,MAAOQ,EACPiH,QAAS,CACP,CAAEzH,MAAO,UAAW0B,MAAO,kBAC3B,CAAE1B,MAAO,aAAc0B,MAAO,2BAC9B,CAAE1B,MAAO,cAAe0B,MAAO,wBAEjCzB,SAAWT,GAAMyF,EAAkBzF,aAK1CgE,IACC7D,EAAAA,EAAAA,KAACgI,EAAAA,EAAK,CACJvC,QAASA,EACTwC,WAAY9B,EACZlF,KAAK,cAKP,C","sources":["Components/datatable.js","Actions/masters/Subject/subject.js","Pages/Masters/Subject/Subject.js"],"sourcesContent":["import { Input, Button, Space } from \"antd\";\nimport { SearchOutlined } from \"@ant-design/icons\";\n\nexport const getColumnSearchProps = (dataIndex) => ({\n  filterDropdown: ({\n    setSelectedKeys,\n    selectedKeys,\n    confirm,\n    clearFilters,\n    close,\n  }) => (\n    <div\n      style={{\n        padding: 8,\n      }}\n      onKeyDown={(e) => e.stopPropagation()}\n    >\n      <Input\n        autoFocus\n        placeholder={`Search ${dataIndex}`}\n        value={selectedKeys}\n        onChange={(e) =>\n          setSelectedKeys(e.target.value ? [e.target.value] : [])\n        }\n        onPressEnter={() => {\n          confirm();\n        }}\n        style={{\n          marginBottom: 8,\n          display: \"block\",\n        }}\n      />\n      <Space>\n        <Button\n          type=\"primary\"\n          onClick={() => confirm()}\n          icon={<SearchOutlined />}\n          size=\"small\"\n          style={{\n            width: 90,\n          }}\n        >\n          Search\n        </Button>\n        <Button\n          onClick={() => {\n            clearFilters();\n            confirm();\n          }}\n          size=\"small\"\n          style={{\n            width: 90,\n          }}\n        >\n          Reset\n        </Button>\n      </Space>\n    </div>\n  ),\n  filterIcon: (filtered) => (\n    <SearchOutlined\n      style={{\n        color: filtered ? \"#1677ff\" : \"#fff\",\n      }}\n    />\n  ),\n  onFilter: (value, record) =>\n    record[dataIndex].toString().toLowerCase().includes(value.toLowerCase()),\n});\n\nexport const filterOption = (input, option) =>\n  option.value.toString().toLowerCase().indexOf(input.toLowerCase()) >= 0 ||\n  option.label.toString().toLowerCase().indexOf(input.toLowerCase()) >= 0;\n\nexport const sortWithAlphabets = (a, b, index) =>\n  a[index].localeCompare(b[index]);\n","import axios from \"axios\";\n// import { Alert } from \"../../../Components/Alert\";\nimport { base_url } from \"../../../Components/consts/api\";\n\nexport const getSubjectList = (dispatch, univcode, collcode) => {\n  dispatch(loading(true));\n  axios({\n    method: \"GET\",\n    url:\n      base_url +\n      \"getSubjectList\" +\n      \"&univcode=\" +\n      univcode +\n      \"&collcode=\" +\n      collcode,\n    headers: { \"Content-Type\": \"application/json\", Authorization: \"dssd\" },\n  }).then((res) => {\n    if (res.data.error_code === 0) {\n      console.log(res.data.data);\n      dispatch({\n        type: \"DEGREE_INFO\",\n        payload: res.data.data,\n      });\n    } else {\n      dispatch({\n        type: \"CLEAR_DEGREE_INFO\",\n      });\n    }\n  });\n};\n\nconst loading = (value) => {\n  return {\n    type: \"LOADING\",\n    loading: value,\n  };\n};\n\nexport const getSemdet = (deg, dispatch, univcode, collcode) => {\n  dispatch(loading(true));\n  axios({\n    method: \"GET\",\n    url:\n      base_url +\n      \"getSemdet\" +\n      \"&deg=\" +\n      deg +\n      \"&univcode=\" +\n      univcode +\n      \"&collcode=\" +\n      collcode,\n    headers: { \"Content-Type\": \"application/json\", Authorization: \"dssd\" },\n  }).then((res) => {\n    console.log(res, \"bsdalbv\");\n    if (res.data.error_code === 0) {\n      console.log(res.data.data);\n      dispatch({\n        type: \"SEM_INFO\",\n        payload: res.data.data,\n      });\n    } else {\n      dispatch({\n        type: \"CLEAR_SEM_INFO\",\n      });\n    }\n  });\n};\n\nexport const getSubjectdet = (\n  degree,\n  sem,\n  type,\n  dispatch,\n  univcode,\n  collcode\n) => {\n  dispatch(loading(true));\n  axios({\n    method: \"GET\",\n    url:\n      base_url +\n      \"getSubjectdet\" +\n      \"&degree=\" +\n      degree +\n      \"&sem=\" +\n      sem +\n      \"&type=\" +\n      type +\n      \"&univcode=\" +\n      univcode +\n      \"&collcode=\" +\n      collcode,\n    headers: { \"Content-Type\": \"application/json\", Authorization: \"dssd\" },\n  }).then((res) => {\n    if (res.data.error_code === 0) {\n      console.log(res.data.data);\n      dispatch({\n        type: \"SUBJECT_LIST_INFO\",\n        payload: res.data.data,\n      });\n    } else {\n      dispatch({\n        type: \"CLEAR_SUBJECT_LIST_INFO\",\n      });\n    }\n  });\n};\n","import React from \"react\";\nimport { useEffect, useState } from \"react\";\nimport {\n  getSubjectList,\n  getSemdet,\n  getSubjectdet,\n} from \"../../../Actions/masters/Subject/subject\";\nimport { Card, Space, Button, Select, Table, Row, Col } from \"antd\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { Alert } from \"../../../Components/Alert\";\nimport { getColumnSearchProps } from \"../../../Components/datatable\";\nimport { base_url } from \"../../../Components/consts/api\";\n\nconst Subject = () => {\n  const dispatch = useDispatch();\n  const user = useSelector((state) => state.AuthReducer.userData);\n  const degreeData = useSelector((state) => state.DegreeReducer.degreeList);\n  const subjectData = useSelector((state) => state.SubjectReducer.subjectList);\n\n  const semData = useSelector((state) => state.SemReducer.semList);\n  const semDatanAll = [{ value: \"All\", label: \"All\" }, ...semData];\n\n  const [degree, setDegree] = useState(\"\");\n  const [sem, setSem] = useState(\"\");\n  const [type, setType] = useState(\"\");\n  const [tableVisible, setTableVisible] = useState(false);\n\n  useEffect(() => {\n    getSubjectList(dispatch, user.funivcode, user.fcollcode);\n  }, []);\n\n  useEffect(() => {\n    if (type) {\n      setTableVisible(true);\n    } else {\n      setTableVisible(false);\n    }\n  }, [type]);\n\n  const degreeChangeHandler = async (deg) => {\n    setDegree(deg);\n    await getSemdet(deg, dispatch, user.funivcode, user.fcollcode);\n    // setData(degreeData);\n    setSem(\"\");\n    setType(\"\");\n  };\n  const semChangeHandler = async (sem) => {\n    setSem(sem);\n    setType(\"\");\n  };\n\n  const typeChangeHandler = async (type) => {\n    setType(type);\n    if (degree == \"\") {\n      Alert(\"Select Degree\");\n      setType(\"\");\n      return;\n    }\n    if (sem == \"\") {\n      Alert(\"Select Semester\");\n      setType(\"\");\n      return;\n    }\n\n    await getSubjectdet(\n      degree,\n      sem,\n      type,\n      dispatch,\n      user.funivcode,\n      user.fcollcode\n    );\n  };\n\n  const subjectListReport = () => {\n    window.open(\n      base_url +\n        \"subjectListReportpdf\" +\n        \"&degree=\" +\n        degree +\n        \"&sem=\" +\n        sem +\n        \"&type=\" +\n        type +\n        \"&univcode=\" +\n        user.funivcode +\n        \"&collcode=\" +\n        user.fcollcode\n    );\n  };\n\n  const clearAll = () => {\n    setDegree(\"\");\n    setSem(\"\");\n    setType(\"\");\n    setTableVisible(false);\n  };\n\n  const columns = [\n    {\n      title: \"SL.NO\",\n      dataIndex: \"slno\",\n    },\n\n    {\n      title: \"Subject Code\",\n      dataIndex: \"subcode\",\n      ...getColumnSearchProps(\"subcode\"),\n    },\n    {\n      title: \"Subject Name\",\n      dataIndex: \"subname\",\n      ...getColumnSearchProps(\"subname\"),\n      sorter: (a, b) => a.subname.length - b.subname.length,\n      sortDirections: [\"descend\", \"ascend\"],\n    },\n    {\n      title: \"Sub Short\",\n      dataIndex: \"subshort\",\n      ...getColumnSearchProps(\"subshort\"),\n      sorter: (a, b) => a.subshort.length - b.subshort.length,\n      sortDirections: [\"descend\", \"ascend\"],\n    },\n    {\n      title: \"QP Code\",\n      dataIndex: \"qpcode\",\n      ...getColumnSearchProps(\"qpcode\"),\n      sorter: (a, b) => a.qpcode - b.qpcode,\n      sortDirections: [\"descend\", \"ascend\"],\n    },\n    {\n      title: \"Max Marks\",\n      dataIndex: \"maxmarks\",\n      ...getColumnSearchProps(\"maxmarks\"),\n      sorter: (a, b) => a.maxmarks.length - b.maxmarks.length,\n      sortDirections: [\"descend\", \"ascend\"],\n    },\n    {\n      title: \"Element\",\n      dataIndex: \"element\",\n      ...getColumnSearchProps(\"element\"),\n      sorter: (a, b) => a.element.length - b.element.length,\n      sortDirections: [\"descend\", \"ascend\"],\n    },\n  ];\n\n  const tabledata = subjectData.map((el, i) => ({\n    slno: i + 1,\n    subcode: el.FSUBCODE,\n    subname: el.FSUBNAME,\n    subshort: el.FSUBSHORT,\n    qpcode: el.FQPCODE,\n    maxmarks: el.FSMAXMARKS,\n    element: el.Remarks,\n  }));\n\n  return (\n    <div className=\"container-fluid\">\n      <Card\n        hoverable\n        title=\"Subject Listing\"\n        style={{ width: \"100%\" }}\n        extra={\n          <Space direction=\"horizontal\">\n            {/* <Button className=\"save\">Save</Button> */}\n            <Button className=\"report\" onClick={subjectListReport}>\n              Report\n            </Button>\n            <Button className=\"clear\" onClick={clearAll}>\n              Clear\n            </Button>\n            <Button className=\"exit\">Exit</Button>\n          </Space>\n        }\n      >\n        <div style={{ marginBottom: \"20px\" }}>\n          <Row gutter={16}>\n            <Col span={10}>\n              <label>Degree</label>\n              <Select\n                showSearch\n                placeholder=\"Select\"\n                style={{ width: \"100%\" }}\n                value={degree}\n                options={degreeData}\n                onChange={(e) => degreeChangeHandler(e)}\n              />\n            </Col>\n            <Col span={7}>\n              <label>Semester</label>\n              <Select\n                showSearch\n                placeholder=\"Select\"\n                style={{ width: \"100%\" }}\n                // onSearch={onSearch}\n                // filterOption={filterOption}\n                value={sem}\n                options={semDatanAll}\n                onChange={(e) => semChangeHandler(e)}\n              />\n            </Col>\n            <Col span={7}>\n              <label>Type </label>\n              <Select\n                showSearch\n                placeholder=\"Select\"\n                style={{ width: \"100%\" }}\n                value={type}\n                options={[\n                  { value: \"mainSub\", label: \"Main Subject ?\" },\n                  { value: \"elementSub\", label: \" Subject with elements?\" },\n                  { value: \"theorypaper\", label: \"Theory Papers only?\" },\n                ]}\n                onChange={(e) => typeChangeHandler(e)}\n              />\n            </Col>\n          </Row>\n        </div>\n        {tableVisible && (\n          <Table\n            columns={columns}\n            dataSource={tabledata}\n            size=\"small\"\n            // style={{ backgroundColor: \"#004b65\" }}\n          />\n        )}\n      </Card>\n    </div>\n  );\n};\n\nexport default Subject;\n"],"names":["getColumnSearchProps","dataIndex","filterDropdown","_ref","setSelectedKeys","selectedKeys","confirm","clearFilters","close","_jsxs","style","padding","onKeyDown","e","stopPropagation","children","_jsx","Input","autoFocus","placeholder","concat","value","onChange","target","onPressEnter","marginBottom","display","Space","Button","type","onClick","icon","SearchOutlined","size","width","filterIcon","filtered","color","onFilter","record","toString","toLowerCase","includes","filterOption","input","option","indexOf","label","sortWithAlphabets","a","b","index","localeCompare","loading","Subject","dispatch","useDispatch","user","useSelector","state","AuthReducer","userData","degreeData","DegreeReducer","degreeList","subjectData","SubjectReducer","subjectList","semDatanAll","SemReducer","semList","degree","setDegree","useState","sem","setSem","setType","tableVisible","setTableVisible","useEffect","getSubjectList","univcode","collcode","axios","method","url","base_url","headers","Authorization","then","res","data","error_code","console","log","payload","funivcode","fcollcode","degreeChangeHandler","async","deg","getSemdet","typeChangeHandler","Alert","getSubjectdet","columns","title","sorter","subname","length","sortDirections","subshort","qpcode","maxmarks","element","tabledata","map","el","i","slno","subcode","FSUBCODE","FSUBNAME","FSUBSHORT","FQPCODE","FSMAXMARKS","Remarks","className","Card","hoverable","extra","direction","subjectListReport","window","open","clearAll","Row","gutter","Col","span","Select","showSearch","options","semChangeHandler","Table","dataSource"],"sourceRoot":""}