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.226.52.26
{"version":3,"sources":["pages/QP_Setter/qpset.js","../node_modules/semantic-ui-react/dist/es/elements/Divider/Divider.js"],"names":["_regeneratorRuntime","e","t","r","Object","prototype","n","hasOwnProperty","o","defineProperty","value","i","Symbol","a","iterator","c","asyncIterator","u","toStringTag","define","enumerable","configurable","writable","wrap","Generator","create","Context","makeInvokeMethod","tryCatch","type","arg","call","h","l","f","s","y","GeneratorFunction","GeneratorFunctionPrototype","p","this","d","getPrototypeOf","v","values","g","defineIteratorMethods","forEach","_invoke","AsyncIterator","invoke","resolve","__await","then","callInvokeWithMethodAndArg","Error","done","method","delegate","maybeInvokeDelegate","sent","_sent","dispatchException","abrupt","return","TypeError","resultName","next","nextLoc","pushTryEntry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","push","resetTryEntry","completion","reset","isNaN","length","displayName","isGeneratorFunction","constructor","name","mark","setPrototypeOf","__proto__","awrap","async","Promise","keys","reverse","pop","prev","charAt","slice","stop","rval","handle","complete","finish","catch","delegateYield","qpSet","_Component","_getPrototypeOf2","_this","_classCallCheck","_len","arguments","args","Array","_key","_possibleConstructorReturn","_getPrototypeOf","apply","concat","state","exam","board","progr","data","formSubmit","searchQP","tabDate","componentDidMount","props","loadYearAndMode","getBoardDet","_ref","_asyncToGenerator","_callee","_context","getProgram","setState","_x","submitQPDet","_callee2","_context2","getQPDeta","statu","qpdata","noqpval","_ref3","_callee3","val","newArr","_newArr","_context3","map","item","index","fnoset","target","onchange","table","fsec","_x2","_x3","_x4","savedataQP","_callee4","error","arr","formdata","_context4","header","content","showError","el","FormData","append","user","JSON","stringify","saveQPSetData","_inherits","_createClass","key","_this2","examOptions","year","text","fdesexam","fexamyear","all","boardOption","loadBoard","fboardname","fboardcode","boardOptions","_toConsumableArray","progcodeopts","progcode","fprogcode","progcodeopt","React","createElement","Card","fluid","Content","Header","style","display","className","Button","basic","color","icon","onClick","Link","to","Divider","Description","Form","Group","Field","width","Dropdown","search","selection","options","allowAdditions","placeholder","onChange","position","bottom","height","overflowY","border","backgroundColor","top","zIndex","colSpan","padding","margin","borderRadius","borderRight","borderCollapse","textAlign","filter","fqpcode","toLowerCase","includes","align","paddingLeft","fdegree","fexamno","fsubcode","fsubname","fvalmax","fboard","totbal","maxLength","fsetno","outline","Component","connect","fmobileno","boaddet","progDet","dataQPDet","_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__","__webpack_require__","_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default","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__","children","clearing","fitted","hidden","horizontal","inverted","section","vertical","classes","rest","ElementType","isNil","handledProps","propTypes","__webpack_exports__"],"mappings":"mSACAA,EAAA,kBAAAC,GAAA,IAAAC,EAAAD,EAAA,GAAAE,EAAAC,OAAAC,UAAAC,EAAAH,EAAAI,eAAAC,EAAAJ,OAAAK,gBAAA,SAAAP,EAAAD,EAAAE,GAAAD,EAAAD,GAAAE,EAAAO,OAAAC,EAAA,mBAAAC,cAAA,GAAAC,EAAAF,EAAAG,UAAA,aAAAC,EAAAJ,EAAAK,eAAA,kBAAAC,EAAAN,EAAAO,aAAA,yBAAAC,EAAAjB,EAAAD,EAAAE,GAAA,OAAAC,OAAAK,eAAAP,EAAAD,EAAA,CAAAS,MAAAP,EAAAiB,YAAA,EAAAC,cAAA,EAAAC,UAAA,IAAApB,EAAAD,GAAA,IAAAkB,EAAA,aAAAjB,GAAAiB,EAAA,SAAAjB,EAAAD,EAAAE,GAAA,OAAAD,EAA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AAA,cAA4BlR,OAAA0Q,EAAA,EAAA1Q,CAAUmR,EAAA,YAAwBnR,OAAA0Q,EAAA,EAAA1Q,CAAUoR,EAAA,WAAsBpR,OAAA0Q,EAAA,EAAA1Q,CAAUqR,EAAA,sBAAA5E,GACzO8E,EAAavR,OAAA2Q,EAAA,EAAA3Q,CAAiBiN,EAAAtF,GAC9B6J,EAAoBxR,OAAA4Q,EAAA,EAAA5Q,CAAciN,EAAAtF,GAClC,OAAS8I,EAAAhQ,EAAKyL,cAAAsF,EAA4BnB,IAAQ,GAAGkB,EAAA,CACrD9E,UAAA6E,IACMT,EAAA,EAAaY,MAAAX,GAAA1G,EAAA0G,GAEnB7D,EAAAyE,aAAA,kHACAzE,EAAA0E,UAuBC,GACcC,EAAA","file":"static/js/245.ddfe887e.chunk.js","sourcesContent":["import React, { Component } from \"react\";\r\nimport { Link } from \"react-router-dom\";\r\nimport { connect } from \"react-redux\";\r\nimport { Card, Divider, Button, Form, Dropdown } from \"semantic-ui-react\";\r\nimport { showError } from \"../../actions\";\r\nimport { loadYearAndMode } from \"../../actions/teacher/teacherentry\";\r\nimport {\r\n getBoardDet,\r\n getProgram,\r\n getQPDeta,\r\n saveQPSetData,\r\n} from \"../../actions/QP_Setter\";\r\n\r\nclass qpSet extends Component {\r\n state = {\r\n exam: \"\",\r\n board: \"All\",\r\n progr: \"All\",\r\n // statu: \"Not Updated\",\r\n data: [],\r\n formSubmit: false,\r\n searchQP: \"\",\r\n tabDate: [],\r\n };\r\n\r\n componentDidMount = () => {\r\n this.props.loadYearAndMode();\r\n };\r\n\r\n getBoardDet = async (data) => {\r\n this.props.getBoardDet(data);\r\n this.props.getProgram(data, this.state.board);\r\n this.setState({ formSubmit: false, board: \"All\", progr: \"All\" });\r\n };\r\n\r\n submitQPDet = async () => {\r\n await this.props.getQPDeta(\r\n this.state.exam,\r\n this.state.board,\r\n this.state.progr,\r\n this.state.statu\r\n );\r\n this.setState({ tabDate: this.props.qpdata, formSubmit: true });\r\n };\r\n\r\n noqpval = async (e, i, val) => {\r\n if (val === \"set\") {\r\n const newArr = this.state.tabDate.map((item, index) => {\r\n if (index === i) {\r\n item.fnoset = e.target.value;\r\n item.onchange = \"T\";\r\n }\r\n return item;\r\n });\r\n this.setState({ table: newArr });\r\n } else if (val === \"sec\") {\r\n const newArr = this.state.tabDate.map((item, index) => {\r\n if (index === i) {\r\n item.fsec = e.target.value;\r\n item.onchange = \"T\";\r\n }\r\n return item;\r\n });\r\n this.setState({ table: newArr });\r\n }\r\n };\r\n\r\n savedataQP = async () => {\r\n if (this.state.exam === \"\") {\r\n const error = {\r\n header: \"Error\",\r\n content: \"Please Select Exam\",\r\n };\r\n this.props.showError(error);\r\n return;\r\n }\r\n const arr = [];\r\n this.state.tabDate.map((el, i) => {\r\n if (el.onchange == \"T\") {\r\n arr.push(el);\r\n }\r\n });\r\n const formdata = new FormData();\r\n formdata.append(\"user\", this.props.user);\r\n formdata.append(\"exam\", this.state.exam);\r\n formdata.append(\"board\", this.state.board);\r\n formdata.append(\"progr\", this.state.progr);\r\n formdata.append(\"data\", JSON.stringify(arr));\r\n\r\n await this.props.saveQPSetData(formdata);\r\n // await this.submitQPDet();\r\n };\r\n\r\n render() {\r\n const examOptions = this.props.year.map((el, i) => {\r\n return { key: i, text: el.fdesexam, value: el.fexamyear };\r\n });\r\n\r\n const all = [{ key: \"All\", text: \"All\", value: \"All\" }];\r\n\r\n const boardOption = this.props.loadBoard.map((el, i) => {\r\n return { key: i, text: el.fboardname, value: el.fboardcode };\r\n });\r\n\r\n const boardOptions = [...all, ...boardOption];\r\n\r\n const progcodeopts = this.props.progcode.map((el, i) => {\r\n return {\r\n key: i,\r\n value: el.fprogcode,\r\n text: el.fprogcode,\r\n };\r\n });\r\n\r\n const progcodeopt = [...all, ...progcodeopts];\r\n\r\n // const statu = [\r\n // { key: \"Updated\", value: \"Updated\", text: \"Updated\" },\r\n // { key: \"Not Updated\", value: \"Not Updated\", text: \"Not Updated\" },\r\n // ];\r\n\r\n // const statuopt = [...all, ...statu];\r\n\r\n return (\r\n <Card fluid>\r\n <Card.Content>\r\n <Card.Header style={{ display: \"flex\" }}>\r\n <h4>QP Set</h4>\r\n <div className=\"ml-auto\">\r\n <Button\r\n basic\r\n color=\"green\"\r\n icon=\"save\"\r\n onClick={this.savedataQP}\r\n content=\"Save\"\r\n />\r\n <Button\r\n basic\r\n color=\"black\"\r\n icon=\"ban\"\r\n content=\"Clear\"\r\n onClick={() => {\r\n this.setState({ exam: \"\" });\r\n this.setState({ board: \"\" });\r\n // this.setState({ statu: \"All\" });\r\n this.setState({ data: [] });\r\n this.setState({ formSubmit: false });\r\n }}\r\n />\r\n <Link to=\"/dashboard\">\r\n <Button basic color=\"red\" content=\"Exit\" icon=\"home\" />\r\n </Link>\r\n </div>\r\n </Card.Header>\r\n <Divider />\r\n <Card.Description>\r\n <Form>\r\n <Form.Group>\r\n <Form.Field width={4}>\r\n <label>Exam</label>\r\n <Dropdown\r\n fluid\r\n search\r\n selection\r\n value={this.state.exam}\r\n options={examOptions}\r\n allowAdditions\r\n placeholder=\"Exam\"\r\n onChange={(e, data) => {\r\n this.setState({ exam: data.value });\r\n this.getBoardDet(data.value);\r\n this.setState({ formSubmit: false });\r\n }}\r\n />\r\n </Form.Field>\r\n <Form.Field width={4}>\r\n <label>Board</label>\r\n <Dropdown\r\n fluid\r\n search\r\n selection\r\n value={this.state.board}\r\n options={boardOptions}\r\n allowAdditions\r\n placeholder=\"Board\"\r\n onChange={(e, data) => {\r\n this.setState({ board: data.value });\r\n this.props.getProgram(this.state.exam, data.value);\r\n this.setState({ formSubmit: false });\r\n }}\r\n />\r\n </Form.Field>\r\n <Form.Field width={4}>\r\n <label>Program</label>\r\n <Dropdown\r\n fluid\r\n search\r\n selection\r\n value={this.state.progr}\r\n options={progcodeopt}\r\n allowAdditions\r\n placeholder=\"Program\"\r\n onChange={(e, data) => {\r\n this.setState({ progr: data.value });\r\n this.setState({ formSubmit: false });\r\n }}\r\n />\r\n </Form.Field>\r\n <Form.Field width={4}>\r\n <Button\r\n style={{\r\n position: \"absolute\",\r\n bottom: \"3px\",\r\n }}\r\n basic\r\n content=\"Submit\"\r\n color=\"blue\"\r\n onClick={() => this.submitQPDet()}\r\n />\r\n </Form.Field>\r\n </Form.Group>\r\n {/* <Form.Group>\r\n <Form.Field width={4}>\r\n <label>Program</label>\r\n <Dropdown\r\n fluid\r\n search\r\n selection\r\n value={this.state.progr}\r\n options={progcodeopt}\r\n allowAdditions\r\n placeholder=\"Program\"\r\n onChange={(e, data) => {\r\n this.setState({ progr: data.value });\r\n this.setState({ formSubmit: false });\r\n }}\r\n />\r\n </Form.Field>\r\n <Form.Field width={4}>\r\n <label>Status</label>\r\n <Dropdown\r\n fluid\r\n search\r\n selection\r\n value={this.state.statu}\r\n options={statuopt}\r\n allowAdditions\r\n placeholder=\"Status\"\r\n onChange={(e, data) => {\r\n this.setState({ statu: data.value });\r\n this.setState({ formSubmit: false });\r\n }}\r\n />\r\n </Form.Field>\r\n\r\n <Form.Field width={4}>\r\n <Button\r\n style={{\r\n position: \"absolute\",\r\n bottom: \"3px\",\r\n }}\r\n basic\r\n content=\"Submit\"\r\n color=\"blue\"\r\n onClick={() => this.submitQPDet()}\r\n />\r\n </Form.Field>\r\n </Form.Group> */}\r\n </Form>\r\n {this.state.formSubmit && (\r\n <div\r\n style={{\r\n height: \"550px\",\r\n overflowY: \"auto\",\r\n border: \"1px solid grey\",\r\n }}\r\n >\r\n <table style={{ width: \"100%\", border: \"1px solid\" }}>\r\n <thead\r\n style={{\r\n backgroundColor: \"#1e7f91\",\r\n color: \"white\",\r\n height: \"40px\",\r\n position: \"sticky\",\r\n top: 0,\r\n zIndex: 2,\r\n }}\r\n >\r\n <tr>\r\n <td colSpan={11}>\r\n <input\r\n placeholder=\"Search...\"\r\n onChange={(e) => {\r\n this.setState({ searchQP: e.target.value });\r\n }}\r\n value={this.state.searchQP}\r\n style={{\r\n width: \"100%\",\r\n padding: \"5px\",\r\n margin: \"10px 0\",\r\n borderRadius: \"15px\",\r\n }}\r\n />\r\n </td>\r\n </tr>\r\n <tr>\r\n <th\r\n style={{\r\n borderRight: \"1px solid grey\",\r\n borderCollapse: \"collapse\",\r\n width: \"5%\",\r\n textAlign: \"center\",\r\n }}\r\n >\r\n Sl. No.\r\n </th>\r\n <th\r\n style={{\r\n borderRight: \"1px solid grey\",\r\n borderCollapse: \"collapse\",\r\n width: \"5%\",\r\n textAlign: \"center\",\r\n }}\r\n >\r\n Degree\r\n </th>\r\n <th\r\n style={{\r\n borderRight: \"1px solid grey\",\r\n borderCollapse: \"collapse\",\r\n width: \"5%\",\r\n textAlign: \"center\",\r\n }}\r\n >\r\n Exam No.\r\n </th>\r\n <th\r\n style={{\r\n borderRight: \"1px solid grey\",\r\n borderCollapse: \"collapse\",\r\n width: \"10%\",\r\n textAlign: \"center\",\r\n }}\r\n >\r\n Sub. Code\r\n </th>\r\n <th\r\n style={{\r\n borderRight: \"1px solid grey\",\r\n borderCollapse: \"collapse\",\r\n width: \"35%\",\r\n textAlign: \"center\",\r\n }}\r\n >\r\n Subject Name\r\n </th>\r\n <th\r\n style={{\r\n borderRight: \"1px solid grey\",\r\n borderCollapse: \"collapse\",\r\n width: \"5%\",\r\n textAlign: \"center\",\r\n }}\r\n >\r\n Max Marks\r\n </th>\r\n <th\r\n style={{\r\n borderRight: \"1px solid grey\",\r\n borderCollapse: \"collapse\",\r\n width: \"10%\",\r\n textAlign: \"center\",\r\n }}\r\n >\r\n Q.P. Code\r\n </th>\r\n <th\r\n style={{\r\n borderRight: \"1px solid grey\",\r\n borderCollapse: \"collapse\",\r\n width: \"15%\",\r\n textAlign: \"center\",\r\n }}\r\n >\r\n Board Name\r\n </th>\r\n <th\r\n style={{\r\n borderRight: \"1px solid grey\",\r\n borderCollapse: \"collapse\",\r\n width: \"5%\",\r\n textAlign: \"center\",\r\n }}\r\n >\r\n Available\r\n </th>\r\n <th\r\n style={{\r\n borderRight: \"1px solid grey\",\r\n borderCollapse: \"collapse\",\r\n width: \"5%\",\r\n textAlign: \"center\",\r\n }}\r\n >\r\n No. Set\r\n </th>\r\n <th\r\n style={{\r\n borderRight: \"1px solid grey\",\r\n borderCollapse: \"collapse\",\r\n width: \"5%\",\r\n textAlign: \"center\",\r\n }}\r\n >\r\n No. Section\r\n </th>\r\n </tr>\r\n </thead>\r\n <tbody>\r\n {this.props.qpdata.length > 0 ? (\r\n this.state.tabDate\r\n .filter((item) =>\r\n item.fqpcode\r\n .toLowerCase()\r\n .includes(this.state.searchQP.toLowerCase())\r\n )\r\n .map((el, i) => {\r\n return (\r\n <tr key={i}>\r\n <td\r\n align=\"center\"\r\n style={{\r\n border: \"1px solid grey\",\r\n borderCollapse: \"collapse\",\r\n }}\r\n >\r\n {i + 1}\r\n </td>\r\n <td\r\n align=\"center\"\r\n style={{\r\n border: \"1px solid grey\",\r\n borderCollapse: \"collapse\",\r\n paddingLeft: \"10px\",\r\n }}\r\n >\r\n {el.fdegree}\r\n </td>\r\n <td\r\n align=\"center\"\r\n style={{\r\n border: \"1px solid grey\",\r\n borderCollapse: \"collapse\",\r\n }}\r\n >\r\n {el.fexamno}\r\n </td>\r\n <td\r\n align=\"center\"\r\n style={{\r\n border: \"1px solid grey\",\r\n borderCollapse: \"collapse\",\r\n }}\r\n >\r\n {el.fsubcode}\r\n </td>\r\n <td\r\n style={{\r\n border: \"1px solid grey\",\r\n borderCollapse: \"collapse\",\r\n }}\r\n >\r\n {el.fsubname}\r\n </td>\r\n <td\r\n align=\"center\"\r\n style={{\r\n border: \"1px solid grey\",\r\n borderCollapse: \"collapse\",\r\n }}\r\n >\r\n {el.fvalmax}\r\n </td>\r\n <td\r\n align=\"center\"\r\n style={{\r\n border: \"1px solid grey\",\r\n borderCollapse: \"collapse\",\r\n }}\r\n >\r\n {el.fqpcode}\r\n </td>\r\n <td\r\n align=\"center\"\r\n style={{\r\n border: \"1px solid grey\",\r\n borderCollapse: \"collapse\",\r\n }}\r\n >\r\n {el.fboard}\r\n </td>\r\n <td\r\n align=\"center\"\r\n style={{\r\n border: \"1px solid grey\",\r\n borderCollapse: \"collapse\",\r\n }}\r\n >\r\n {el.totbal}\r\n </td>\r\n <td\r\n align=\"center\"\r\n style={{\r\n border: \"1px solid grey\",\r\n borderCollapse: \"collapse\",\r\n }}\r\n >\r\n <input\r\n type=\"text\"\r\n maxLength={1}\r\n value={el.fsetno}\r\n onChange={(e) => this.noqpval(e, i, \"set\")}\r\n style={{\r\n textAlign: \"center\",\r\n width: \"30px\",\r\n height: \"30px\",\r\n outline: 0,\r\n }}\r\n />\r\n </td>\r\n <td\r\n align=\"center\"\r\n style={{\r\n border: \"1px solid grey\",\r\n borderCollapse: \"collapse\",\r\n }}\r\n >\r\n <input\r\n type=\"text\"\r\n maxLength={1}\r\n value={el.fsec}\r\n onChange={(e) => this.noqpval(e, i, \"sec\")}\r\n style={{\r\n textAlign: \"center\",\r\n width: \"30px\",\r\n height: \"30px\",\r\n }}\r\n />\r\n </td>\r\n </tr>\r\n );\r\n })\r\n ) : (\r\n <tr>\r\n <td\r\n colSpan={10}\r\n style={{ textAlign: \"center\", height: \"30px\" }}\r\n >\r\n No Data Found\r\n </td>\r\n </tr>\r\n )}\r\n </tbody>\r\n </table>\r\n </div>\r\n )}\r\n </Card.Description>\r\n </Card.Content>\r\n </Card>\r\n );\r\n }\r\n}\r\n\r\nconst mapStateToProps = (state) => {\r\n return {\r\n user: state.user.fmobileno,\r\n year: state.loadYearAndMode,\r\n loadBoard: state.boaddet,\r\n progcode: state.progDet,\r\n qpdata: state.dataQPDet,\r\n };\r\n};\r\n\r\nexport default connect(mapStateToProps, {\r\n showError,\r\n loadYearAndMode,\r\n getBoardDet,\r\n getProgram,\r\n getQPDeta,\r\n saveQPSetData,\r\n})(qpSet);\r\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}\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 /** Primary content. */\n children: PropTypes.node,\n /** Additional classes. */\n className: PropTypes.string,\n /** Divider can clear the content above it. */\n clearing: PropTypes.bool,\n /** Shorthand for primary content. */\n content: customPropTypes.contentShorthand,\n /** Divider can be fitted without any space above or below it. */\n fitted: PropTypes.bool,\n /** Divider can divide content without creating a dividing line. */\n hidden: PropTypes.bool,\n /** Divider can segment content horizontally. */\n horizontal: PropTypes.bool,\n /** Divider can have its colours inverted. */\n inverted: PropTypes.bool,\n /** Divider can provide greater margins to divide sections of content. */\n section: PropTypes.bool,\n /** Divider can segment content vertically. */\n vertical: PropTypes.bool\n} : {};\nexport default Divider;"],"sourceRoot":""}
|