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.214.43
{"version":3,"sources":["pages/studymaterial/index.js","../node_modules/semantic-ui-react/dist/es/elements/Divider/Divider.js","actions/studymaterial/degreeform.js","pages/studymaterial/studymaterialview.js"],"names":["StudyMaterial","state","fstudydeg","displayTbl","studyExamno","studySubject","getDegrees","e","data","_this","setState","frmDeggrp","value","handleChangedeg","_callee","_Users_prashanth_univadmin_react_node_modules_babel_preset_react_app_node_modules_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default","a","wrap","_context","prev","next","console","log","props","fetchexamno","stop","handleChangeexm","_callee2","_context2","fetchsub","handleChangesub","_callee3","_context3","handleSubmit","fdeggrp","user","_this$state","getstudymat","showError","header","content","handleReport","_this$state2","reportType","fdeggrpfrm","fdeggrpto","fcollfrm","fcollto","window","open","ReportAPI","univcode","handleCancel","reportFormat","renderHeader","react__WEBPACK_IMPORTED_MODULE_7___default","createElement","semantic_ui_react__WEBPACK_IMPORTED_MODULE_9__","Header","style","display","className","react_router_dom__WEBPACK_IMPORTED_MODULE_8__","to","semantic_ui_react__WEBPACK_IMPORTED_MODULE_10__","basic","color","icon","onClick","renderForm","_this$state3","degreeOptionsList","degreeList","map","item","fdegree","text","concat","fdescpn","examOptionsList","examno","fexamno","fexamname","subjectOptionsList","Subject","fsubcode","fsubname","wheight","wHeight","fluid","Content","semantic_ui_react__WEBPACK_IMPORTED_MODULE_11__","Description","overflowY","height","semantic_ui_react__WEBPACK_IMPORTED_MODULE_12__","Group","Field","width","semantic_ui_react__WEBPACK_IMPORTED_MODULE_13__","placeholder","name","selection","search","options","onChange","_studymaterialview__WEBPACK_IMPORTED_MODULE_16__","reportdet","collegeReport","this","getDegreeList","Component","connect","deggrp","univ","funivcode","studyDegree","fetchDegGrp","_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__","__webpack_require__","_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default","n","classnames__WEBPACK_IMPORTED_MODULE_1__","classnames__WEBPACK_IMPORTED_MODULE_1___default","react__WEBPACK_IMPORTED_MODULE_2__","react__WEBPACK_IMPORTED_MODULE_2___default","_lib__WEBPACK_IMPORTED_MODULE_3__","_lib__WEBPACK_IMPORTED_MODULE_4__","_lib__WEBPACK_IMPORTED_MODULE_5__","_lib__WEBPACK_IMPORTED_MODULE_6__","Divider","children","clearing","fitted","hidden","horizontal","inverted","section","vertical","classes","Object","rest","ElementType","isNil","handledProps","propTypes","__webpack_exports__","_ref","_Users_prashanth_univadmin_react_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__","mark","dispatch","getState","response","error","_error","univadmin","get","fcollcode","sent","error_code","msg","type","payload","_x","_x2","apply","arguments","deg","_ref2","_error2","_x3","_x4","exmno","_ref3","_error3","_x5","_x6","qpFileUpload","file","_ref4","_callee4","formData","_context4","FormData","set","JSON","stringify","post","headers","Content-type","_x7","_x8","_ref5","_callee5","_error4","_context5","_x9","_x10","StudyMaterialView","studyMaterialList","searchVal","searchTable","string","searchPrbatch","filter","o","keys","some","k","toLowerCase","includes","colgdet","renderTable","react__WEBPACK_IMPORTED_MODULE_5___default","marginBottom","backgroundColor","semantic_ui_react__WEBPACK_IMPORTED_MODULE_6__","fontSize","semantic_ui_react__WEBPACK_IMPORTED_MODULE_7__","celled","padded","selectable","size","Row","textAlign","HeaderCell","Body","el","i","key","overflow","Cell","upddate","FUPDTEACH","fchapter","viewed","href","fcuruniv","fpath","target","prevProps","rtype","getstudyMaterial"],"mappings":"4SAWMA,6MACJC,MAAQ,CACNC,UAAU,GACVC,YAAY,EACZC,YAAa,GACbC,aAAc,MAShBC,WAAa,SAACC,EAAGC,GAEfC,EAAKC,SAAS,CAAEC,UAAWH,EAAKI,WAGlCC,sDAAmB,SAAAC,EAAOP,EAAGC,GAAV,OAAAO,EAAAC,EAAAC,KA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AAGW,MAAQC,OAAO,UAArE,SAC/B1B,EAAArM,EAAAwC,cAACkK,EAAA,EAAMa,KAAP,CAAYP,UAAU,UAASX,EAAArM,EAAAwC,cAAA,2JAvE9BwL,qCAoFjB,OADA3N,QAAQC,IAAIuF,KAAKtF,MAAMoF,UAAWE,KAAKtF,MAAMoF,UAAWE,KAAKtF,MAAM0N,OACvC,MAAxBpI,KAAKtF,MAAMoF,UAA0B,KAEhCE,KAAKuG,qBA7FcrG,cAyGjBC,gBARS,SAAA/G,GAEtB,OADAoB,QAAQC,IAAIrB,GACL,CACLsM,kBAAmBtM,EAAMiP,iBACzB/M,KAAMlC,EAAMkC,OAMd,CAEEG,eAJW0E,CAMbsF","file":"static/js/29.01a3e61b.chunk.js","sourcesContent":["import React, { Component } from \"react\";\nimport { Link } from \"react-router-dom\";\nimport { Card, Button, Form, Dropdown, Divider } from \"semantic-ui-react\";\nimport { connect } from \"react-redux\";\nimport { fetchDegGrp } from \"../../actions\";\nimport StudyMaterialView from \"./studymaterialview\";\nimport { ReportAPI } from \"../../apis/consts\";\nimport { showError } from \"../../actions\";\nimport { wHeight } from \"../parms\";\nimport { getDegreeList,fetchexamno, fetchsub, getstudymat } from \"../../actions/studymaterial/degreeform\";\n\nclass StudyMaterial extends Component {\n state = {\n fstudydeg:\"\",\n displayTbl: false,\n studyExamno: \"\",\n studySubject: \"\",\n };\n\n\n\n componentDidMount() {\n this.props.getDegreeList();\n }\n\n getDegrees = (e, data) => {\n // console.log(data.value);\n this.setState({ frmDeggrp: data.value });\n };\n\n handleChangedeg = async (e, data) => {\n console.log(this.props);\n await this.props.fetchexamno(data.value);\n this.setState({ fstudydeg: data.value, \n studyExamno : \"\",\n studySubject : \"\"\n });\n // this.props.Subject = \" \";\n // this.props.examno = \" \";\n\n \n\n // exmno = \" \";\n // sub = \" \";\n console.log(this.props);\n console.log(this.state);\n // getExamno(data.value); \n };\n\n \n handleChangeexm = async (e, data) => {\n console.log(this.state);\n // console.log(this.props);\n await this.props.fetchsub(data.value,this.state.fstudydeg);\n this.setState({ studyExamno : data.value,\n studySubject : \"\"\n });\n \n \n // getExamno(data.value); \n };\n handleChangesub = async (e, data) => {\n console.log(this.state);\n // console.log(this.props);\n // await this.props.fetchsub(data.value,this.state.fstudydeg);\n this.setState({ studySubject :data.value\n });\n \n \n // getExamno(data.value); \n };\n handleSubmit = () => {\n const { fdeggrp } = this.props.user;\n const { displayTbl, studyExamno, fstudydeg, studySubject } = this.state;\n if (fdeggrp === \"\") {\n const error = { header: \"Error\", content: \"Select Degree Group\" };\n this.props.showError(error);\n return;\n }\n this.props.getstudymat(\n displayTbl,\n studyExamno,\n fstudydeg,\n studySubject\n );\n this.setState({ displayTbl: true });\n };\n\n handleReport = () => {\n const { fdeggrp } = this.props.user;\n const { reportType, fdeggrpfrm, fdeggrpto, fcollfrm, fcollto } = this.state;\n console.log(this.state);\n if (fdeggrp === \"\") {\n const error = { header: \"Error\", content: \"Select Degree Group\" };\n this.props.showError(error);\n return;\n }\n window.open(\n ReportAPI + \n reportType +\n \"&univcode=\" +\n this.props.univcode +\n \"°grp=\" +\n fdeggrp +\n \"°grpfrm=\" +\n fdeggrpfrm +\n \"°grpto=\" +\n fdeggrpto +\n \"&collfrm=\" +\n fcollfrm +\n \"&collto=\" +\n fcollto +\n \"&val=\" +\n reportType +\n \"&format=\" +\n \"PDF\",\n \"_blank\"\n );\n };\n\n handleCancel = () => {\n this.setState({\n reportType: \"\",\n fdeggrpfrm: \"0\",\n fdeggrpto: \"zzzzz\",\n fcollfrm: \"0\",\n fcollto: \"zzzzz\",\n reportFormat: \"\",\n frmDeggrp: \"\"\n });\n };\n\n renderHeader = () => {\n return (\n <Card.Header style={{ display: \"flex\" }}>\n <h3>Study Material</h3>\n <div className=\"ml-auto\">\n <Link to=\"/study/uploadstudymaterial\">\n <Button\n basic\n color=\"blue\" \n content=\"Upload\"\n icon=\"upload\"\n />\n </Link>\n \n <Button\n basic\n color=\"black\"\n icon=\"ban\"\n onClick={this.handleCancel}\n content=\"Cancel\"\n />\n <Link to=\"/dashboard\">\n <Button basic color=\"red\" content=\"Exit\" icon=\"home\" />\n </Link>\n </div>\n </Card.Header>\n );\n };\n\n renderForm = () => {\n const {\n displayTbl,\n studyExamno,\n fstudydeg,\n studySubject\n } = this.state;\n console.log(this.state);\n const degreeOptionsList = this.props.degreeList.map(item => {\n return {\n value: item.fdegree,\n text: `${item.fdegree} ${item.fdescpn}`\n };\n });\n const examOptionsList = this.props.examno.map(item => {\n return {\n value: item.fexamno,\n text: ` ${item.fexamname}`\n };\n });\n const subjectOptionsList = this.props.Subject.map(item => {\n return {\n value: item.fsubcode,\n text: ` ${item.fsubname}`\n };\n });\n const wheight = wHeight();\n\n return (\n <div className=\"animated fadeIn\">\n <Card fluid>\n <Card.Content>\n {this.renderHeader()}\n <Divider />\n <Card.Description\n style={{ overflowY: \"auto\", height: `${wheight}px` }}\n >\n <div className=\"col-md-6\">\n <Form> \n \n <div>\n <Form.Group>\n <Form.Field width={16}>\n <label>Degree</label>\n <Dropdown\n placeholder=\"Select Degree\"\n name=\"deg\"\n value={fstudydeg}\n selection\n search\n options={degreeOptionsList}\n onChange={this.handleChangedeg}\n />\n </Form.Field>\n </Form.Group>\n \n </div> \n\n <Form.Group>\n <Form.Field width={16}>\n <label>Exam No.</label>\n <Dropdown\n placeholder=\"Select Exam No.\"\n name=\"exmno\"\n value={studyExamno}\n selection\n search\n options={examOptionsList}\n onChange={this.handleChangeexm}\n />\n </Form.Field>\n </Form.Group>\n \n <Form.Group>\n <Form.Field width={16}>\n <label>Subject</label>\n <Dropdown\n placeholder=\"Select Subject\"\n name=\"sub\"\n value={studySubject}\n selection\n search\n options={subjectOptionsList}\n onChange={this.handleChangesub}\n />\n </Form.Field>\n </Form.Group>\n\n <Button color=\"blue\" onClick={this.handleSubmit}>\n View\n </Button>\n <br />\n </Form>\n </div>\n {displayTbl ? (\n <StudyMaterialView\n reportdet={this.props.collegeReport}\n />\n ) : null}\n </Card.Description>\n </Card.Content>\n </Card>\n </div>\n );\n };\n render() {\n // console.log(\"collegeReport\",this.props.collegeReport);\n return this.renderForm();\n }\n}\n\nconst mapStateToProps = state => {\n console.log(state);\n return {\n deggrp: state.deggrp,\n collegeReport: state.collegeReport,\n univcode: state.univ.funivcode,\n user: state.user,\n degreeList: state.studyDegree,\n examno: state.studyExamno,\n Subject: state.studySubject\n };\n};\nexport default connect(\n mapStateToProps,\n {\n getDegreeList,\n fetchexamno,\n fetchsub,\n getstudymat,\n fetchDegGrp,\n showError\n }\n)(StudyMaterial);\n","import _extends from \"@babel/runtime/helpers/extends\";\nimport cx from 'classnames';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport { childrenUtils, customPropTypes, getElementType, getUnhandledProps, useKeyOnly } from '../../lib';\n/**\n * A divider visually segments content into groups.\n */\n\nfunction Divider(props) {\n var children = props.children,\n className = props.className,\n clearing = props.clearing,\n content = props.content,\n fitted = props.fitted,\n hidden = props.hidden,\n horizontal = props.horizontal,\n inverted = props.inverted,\n section = props.section,\n vertical = props.vertical;\n var classes = cx('ui', useKeyOnly(clearing, 'clearing'), useKeyOnly(fitted, 'fitted'), useKeyOnly(hidden, 'hidden'), useKeyOnly(horizontal, 'horizontal'), useKeyOnly(inverted, 'inverted'), useKeyOnly(section, 'section'), useKeyOnly(vertical, 'vertical'), 'divider', className);\n var rest = getUnhandledProps(Divider, props);\n var ElementType = getElementType(Divider, props);\n return React.createElement(ElementType, _extends({}, rest, {\n className: classes\n }), childrenUtils.isNil(children) ? content : children);\n}\n\nDivider.handledProps = [\"as\", \"children\", \"className\", \"clearing\", \"content\", \"fitted\", \"hidden\", \"horizontal\", \"inverted\", \"section\", \"vertical\"];\nDivider.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /** An element type to render as (string or function). */\n as: customPropTypes.as,\n\n /** Primary content. */\n children: PropTypes.node,\n\n /** Additional classes. */\n className: PropTypes.string,\n\n /** Divider can clear the content above it. */\n clearing: PropTypes.bool,\n\n /** Shorthand for primary content. */\n content: customPropTypes.contentShorthand,\n\n /** Divider can be fitted without any space above or below it. */\n fitted: PropTypes.bool,\n\n /** Divider can divide content without creating a dividing line. */\n hidden: PropTypes.bool,\n\n /** Divider can segment content horizontally. */\n horizontal: PropTypes.bool,\n\n /** Divider can have its colours inverted. */\n inverted: PropTypes.bool,\n\n /** Divider can provide greater margins to divide sections of content. */\n section: PropTypes.bool,\n\n /** Divider can segment content vertically. */\n vertical: PropTypes.bool\n} : {};\nexport default Divider;","import univadmin from \"../../apis/univadmin\";\nimport { showError } from \"../index\";\n\nexport const getDegreeList = () => {\n return async (dispatch, getState) => {\n const state = getState();\n console.log(state);\n\n\n const response = await univadmin.get(\n \"app.php?a=StudyDegreeList&univcode=\" + state.univ.funivcode + \"&fcollcode=\" + state.user.fcollcode \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 === -1) {\n const error = { header: \"Error\", content: response.data.data.msg };\n dispatch(showError(error));\n } else {\n console.log(response.data);\n dispatch({\n type: \"ALL_DEGREE_LIST\",\n payload: response.data\n });\n }\n };\n};\n\n\nexport const fetchexamno = (deg) => {\n return async (dispatch, getState) => {\n const state = getState();\n console.log(state);\n // this.setState({ studyExamno: [], studySubject: []});\n console.log(state);\n\n\n const response = await univadmin.get(\n \"app.php?a=getexamno&univcode=\" + state.univ.funivcode + \"°=\" + deg \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 === -1) {\n const error = { header: \"Error\", content: response.data.data.msg };\n dispatch(showError(error));\n } else {\n console.log(response.data);\n dispatch({ \n type: \"STUDY_EXAMNO\",\n payload: response.data\n });\n }\n };\n};\n\n\n\nexport const fetchsub = (exmno,deg) => {\n return async (dispatch, getState) => {\n const state = getState();\n console.log(state);\n\n const response = await univadmin.get(\n \"app.php?a=getstudysub&univcode=\" + state.univ.funivcode + \"°=\" + deg + \"&exmno=\" + exmno \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 === -1) {\n const error = { header: \"Error\", content: response.data.data.msg };\n dispatch(showError(error));\n } else {\n console.log(response.data);\n dispatch({ \n type: \"STUDY_SUBJECT\",\n payload: response.data\n });\n }\n };\n};\n\n\nexport const qpFileUpload = file => {\n return async function(dispatch, getState) {\n const state = getState();\n\n dispatch({\n type: \"SET_LOADER\"\n });\n\n const formData = new FormData();\n formData.set(\"filefield\", file, file.name);\n // const data = formData(state.user);\n const data = formData.set(\"body\", JSON.stringify(state.user));\n \n const response = await univadmin.post(\"upload_study_material.php\", formData, {\n headers: {\n \"Content-type\": \"multipart/form-data\"\n }\n });\n\n dispatch({\n type: \"UNSET_LOADER\"\n });\n dispatch({\n type: \"SET_UPLOAD_DOC\",\n payload: response.data\n });\n };\n};\n\n\n\nexport const getstudymat = (\n displayTbl, \n studyExamno, \n fstudydeg, \n studySubject\n) => {\n return async (dispatch, getState) => {\n const state = getState();\n console.log(state);\n console.log(studyExamno,fstudydeg,studySubject);\n const response = await univadmin.get(\n \"app.php?a=getstudymat&univcode=\" + state.univ.funivcode + \"&fstudydeg=\" + fstudydeg \n + \"&studyExamno=\" + studyExamno + \"&studySubject=\" + studySubject + \"&fcollcode=\" + state.user.fcollcode \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 === -1) {\n const error = { header: \"Error\", content: response.data.data.msg };\n dispatch(showError(error));\n } else {\n console.log(response.data);\n dispatch({ \n type: \"GET_STUDY_MATERIAL\",\n payload: response.data\n });\n }\n };\n};\n","import React, { Component } from \"react\";\nimport { Table, Input } from \"semantic-ui-react\";\nimport { connect } from \"react-redux\";\nimport { showError } from \"../../actions\";\nimport \"react-table/react-table.css\";\nimport \"../../index.css\";\n\nclass StudyMaterialView extends Component {\n state = { studyMaterialList: [], searchVal: \"\" };\n\n componentDidMount() {\n \n }\n\n componentDidUpdate(prevProps) {\n \n }\n\n searchTable = (e, data) => {\n const string = data.value;\n const searchPrbatch = this.props.reportdet.filter(o =>\n Object.keys(o).some(k =>\n o[k].toLowerCase().includes(string.toLowerCase())\n )\n );\n this.setState({ colgdet: searchPrbatch, searchVal: data.value });\n };\n\n renderTable = () => {\n const studyMaterialList = this.props.studyMaterialList;\n console.log(studyMaterialList);\n return (\n <div className=\"mt-3\">\n <hr />\n <div\n style={{\n marginBottom: \"1em\",\n backgroundColor: \"white\"\n }}\n className=\"stick\"\n >\n <Input\n icon=\"search\"\n fluid\n placeholder=\"Search...\"\n onChange={this.searchTable}\n value={this.state.searchVal}\n style={{ fontSize: \"1.1em\" }}\n />\n </div>\n <div>\n <Table\n celled\n padded\n selectable\n size=\"medium\"\n color=\"olive\"\n className=\"tbl sticky\"\n >\n <Table.Header>\n <Table.Row textAlign=\"center\">\n <Table.HeaderCell>Sl.No.</Table.HeaderCell>\n <Table.HeaderCell>Uploded Date</Table.HeaderCell>\n <Table.HeaderCell>Teacher Name</Table.HeaderCell>\n <Table.HeaderCell>Semester</Table.HeaderCell>\n <Table.HeaderCell>Subject Name</Table.HeaderCell>\n <Table.HeaderCell>Chapter/Unit</Table.HeaderCell>\n <Table.HeaderCell>Students Viewed</Table.HeaderCell>\n <Table.HeaderCell>View</Table.HeaderCell>\n <Table.HeaderCell>Delete</Table.HeaderCell>\n </Table.Row>\n </Table.Header>\n <Table.Body>\n {studyMaterialList.map((el, i) => {\n var s3link = \"https://online-univ-study-material.s3.ap-south-1.amazonaws.com/\";\n return (\n <Table.Row key={i} style={{ overflow: \"hidden\" }}>\n <Table.Cell textAlign=\"center\">{i + 1}</Table.Cell>\n <Table.Cell>{el.upddate}</Table.Cell>\n <Table.Cell>{el.FUPDTEACH}</Table.Cell>\n <Table.Cell textAlign=\"center\">{el.fexamname}</Table.Cell>\n <Table.Cell textAlign=\"center\">{el.fsubname}</Table.Cell>\n <Table.Cell>{el.fchapter}</Table.Cell>\n <Table.Cell textAlign=\"center\">{el.viewed}</Table.Cell>\n <Table.Cell textAlign=\"center\"><a href={s3link + this.props.user.fcuruniv + \"/\" + el.fpath } target='_blank'>View</a></Table.Cell>\n <Table.Cell textAlign=\"center\"><a>Delete</a></Table.Cell>\n </Table.Row>\n );\n })}\n </Table.Body>\n </Table>\n </div>\n </div>\n );\n };\n\n render() {\n console.log(this.props.reportdet, this.props.reportdet, this.props.rtype);\n if (this.props.reportdet == null) return null;\n else {\n return this.renderTable();\n }\n }\n}\nconst mapStateToProps = state => {\n console.log(state);\n return { \n studyMaterialList: state.getstudyMaterial,\n user: state.user\n };\n};\n\nexport default connect(\n mapStateToProps,\n {\n \n showError\n }\n)(StudyMaterialView);\n\n"],"sourceRoot":""}
|