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.191.116.61
{"version":3,"sources":["pages/QP_Setter/index.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","QPSetter","_Component","_getPrototypeOf2","_this","_classCallCheck","_len","arguments","args","Array","_key","_possibleConstructorReturn","_getPrototypeOf","apply","concat","state","exam","board","subj","teachSub","status","table","searchQP","componentDidMount","_asyncToGenerator","_callee","_context","props","examDate","examDates","_ref2","_callee2","data","_context2","setState","getBoardDet","getBoardSubj","_x","_x2","boardSubj","_ref3","_callee3","_context3","_x3","_x4","subjVal","_ref4","_callee4","_context4","_x5","_x6","submitDet","_callee5","_context5","alert","getTeachDet","teachdet","handleCancel","_callee6","_context6","handleCheckBox","teachcode","newTable","map","el","j","fteachcode","handleSave","_callee7","_context7","saveQPSeter","_inherits","_createClass","key","_this2","_this$state","_this$props","boarddet","boardsubj","examopt","examdate","item","fexamyear","text","fdesexam","boardopts","fboardcode","fboardname","boardopt","_toConsumableArray","subjopt","fqpcode","fsubname","React","createElement","Card","fluid","Content","Header","style","display","className","Button","basic","color","icon","onClick","content","Link","to","Divider","Description","Form","Group","Field","marginLeft","Dropdown","search","selection","width","options","onChange","placeholder","marginTop","height","overflowY","border","backgroundColor","position","top","colSpan","target","padding","margin","borderRadius","textAlign","borderTop","borderBottom","borderRight","filter","fteachname","toLowerCase","includes","fmobile","femail","paddingLeft","checked","Component","connect","boaddet","_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":"iRACAA,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,EAAAD,GAAAE,GAAA,SAAAoB,EAAArB,EAAAD,EAAA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n Table,\r\n Card,\r\n Button,\r\n Form,\r\n Dropdown,\r\n Divider,\r\n Icon,\r\n input,\r\n Input,\r\n} from \"semantic-ui-react\";\r\nimport { Link } from \"react-router-dom\";\r\nimport {\r\n getBoardDet,\r\n getBoardSubj,\r\n getTeachDet,\r\n saveQPSeter,\r\n examDate,\r\n} from \"../../actions/QP_Setter\";\r\nimport { connect } from \"react-redux\";\r\n\r\nclass QPSetter extends Component {\r\n state = {\r\n exam: \"\",\r\n board: \"\",\r\n subj: \"\",\r\n teachSub: false,\r\n status: \"\",\r\n table: [],\r\n searchQP: \"\",\r\n };\r\n componentDidMount = async () => {\r\n await this.props.examDate();\r\n };\r\n\r\n examDates = async (e, data) => {\r\n this.setState({ exam: data.value });\r\n await this.props.getBoardDet(data.value);\r\n this.setState({ board: \"All\" });\r\n await this.props.getBoardSubj(this.state.exam, this.state.board);\r\n this.setState({ teachSub: false });\r\n this.setState({ subj: \"\" });\r\n };\r\n\r\n boardSubj = async (e, data) => {\r\n this.setState({ board: data.value });\r\n await this.props.getBoardSubj(this.state.exam, data.value);\r\n this.setState({ teachSub: false });\r\n this.setState({ subj: \"\" });\r\n };\r\n\r\n subjVal = async (e, data) => {\r\n this.setState({ subj: data.value });\r\n this.setState({ teachSub: false });\r\n };\r\n\r\n submitDet = async () => {\r\n if (this.state.exam.length == 0) {\r\n alert(\"Select Exam\");\r\n return;\r\n }\r\n if (this.state.board.length == 0) {\r\n alert(\"Select Board\");\r\n return;\r\n }\r\n if (this.state.subj.length == 0) {\r\n alert(\"Select Subject\");\r\n return;\r\n }\r\n await this.props.getTeachDet(\r\n this.state.exam,\r\n this.state.board,\r\n this.state.subj\r\n );\r\n this.setState({ teachSub: true });\r\n this.setState({ table: this.props.teachdet });\r\n };\r\n\r\n handleCancel = async () => {\r\n this.setState({ exam: \"\" });\r\n this.setState({ board: \"\" });\r\n this.setState({ subj: \"\" });\r\n this.setState({ teachSub: false });\r\n };\r\n\r\n handleCheckBox = (data, i, teachcode) => {\r\n let newTable = this.state.table.map((el, j) => {\r\n if (teachcode === el.fteachcode) {\r\n if (data.status == \"T\") {\r\n el.status = \"F\";\r\n } else {\r\n el.status = \"T\";\r\n }\r\n return el;\r\n }\r\n return el;\r\n });\r\n this.setState({ table: newTable });\r\n };\r\n\r\n handleSave = async () => {\r\n await this.props.saveQPSeter(\r\n this.state.exam,\r\n this.state.board,\r\n this.state.subj,\r\n this.state.table\r\n );\r\n };\r\n\r\n render() {\r\n const { board, subj, teachSub, exam } = this.state;\r\n const { boarddet, boardsubj, examdate } = this.props;\r\n\r\n const all = [{ key: \"All\", value: \"All\", text: \"All\" }];\r\n\r\n const examopt = examdate.map((item, i) => {\r\n return {\r\n key: i,\r\n value: item.fexamyear,\r\n text: item.fdesexam,\r\n };\r\n });\r\n\r\n const boardopts = boarddet.map((item, i) => {\r\n return {\r\n key: i,\r\n value: item.fboardcode,\r\n text: item.fboardcode + \" - \" + item.fboardname,\r\n };\r\n });\r\n\r\n const boardopt = [...all, ...boardopts];\r\n\r\n const subjopt = boardsubj.map((item, i) => {\r\n return {\r\n key: i,\r\n value: item.fqpcode,\r\n text: item.fqpcode + \"-\" + item.fsubname,\r\n };\r\n });\r\n\r\n return (\r\n <div>\r\n <Card fluid>\r\n <Card.Content>\r\n <Card.Header style={{ display: \"flex\" }}>\r\n <h4>Eligible QP Setters (BOS)</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.handleSave}\r\n content=\"Save\"\r\n />\r\n <Button\r\n basic\r\n color=\"black\"\r\n icon=\"ban\"\r\n onClick={this.handleCancel}\r\n content=\"Cancel\"\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.Group>\r\n <Form.Field>\r\n <div>\r\n <label>Exam</label>\r\n <label style={{ marginLeft: \"54px\" }}>:</label>\r\n <Dropdown\r\n search\r\n selection\r\n style={{\r\n width: \"400px\",\r\n }}\r\n options={examopt}\r\n value={exam}\r\n onChange={this.examDates}\r\n placeholder=\"Exam\"\r\n />\r\n </div>\r\n <div>\r\n <label>Board</label>\r\n <label style={{ marginLeft: \"50px\" }}>:</label>\r\n <Dropdown\r\n search\r\n selection\r\n style={{\r\n marginTop: \"5px\",\r\n width: \"400px\",\r\n }}\r\n options={boardopt}\r\n value={board}\r\n onChange={this.boardSubj}\r\n placeholder=\"Board\"\r\n />\r\n </div>\r\n <div>\r\n <label>Subject</label>\r\n <label style={{ marginLeft: \"40px\" }}>:</label>\r\n <Dropdown\r\n search\r\n selection\r\n style={{\r\n marginTop: \"5px\",\r\n width: \"400px\",\r\n }}\r\n options={subjopt}\r\n value={subj}\r\n onChange={this.subjVal}\r\n placeholder=\"Subject\"\r\n />\r\n </div>\r\n <div>\r\n <Button\r\n style={{ marginTop: \"5px\", marginLeft: \"85px\" }}\r\n content=\"Submit\"\r\n color=\"blue\"\r\n onClick={this.submitDet}\r\n />\r\n </div>\r\n </Form.Field>\r\n </Form.Group>\r\n {teachSub ? (\r\n <div\r\n style={{\r\n width: \"100%\",\r\n height: \"550px\",\r\n overflowY: \"auto\",\r\n marginTop: \"4px\",\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 }}\r\n >\r\n <tr>\r\n <td colSpan={6}>\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 border: \"1px solid\",\r\n textAlign: \"center\",\r\n width: \"5%\",\r\n borderTop: \"1px solid\",\r\n }}\r\n >\r\n Sl. No.\r\n </th>\r\n <th\r\n style={{\r\n borderBottom: \"1px solid\",\r\n borderRight: \"1px solid\",\r\n textAlign: \"center\",\r\n width: \"5%\",\r\n }}\r\n >\r\n Teach. Code.\r\n </th>\r\n <th\r\n style={{\r\n borderBottom: \"1px solid\",\r\n borderRight: \"1px solid\",\r\n textAlign: \"center\",\r\n width: \"25%\",\r\n }}\r\n >\r\n Teacher Name\r\n </th>\r\n <th\r\n style={{\r\n borderBottom: \"1px solid\",\r\n borderRight: \"1px solid\",\r\n textAlign: \"center\",\r\n width: \"35%\",\r\n }}\r\n >\r\n Teacher Email ID\r\n </th>\r\n <th\r\n style={{\r\n borderBottom: \"1px solid\",\r\n borderRight: \"1px solid\",\r\n textAlign: \"center\",\r\n width: \"10%\",\r\n }}\r\n >\r\n Mobile No.\r\n </th>\r\n <th\r\n style={{\r\n borderBottom: \"1px solid\",\r\n borderRight: \"1px solid\",\r\n textAlign: \"center\",\r\n width: \"5%\",\r\n }}\r\n >\r\n Select\r\n </th>\r\n </tr>\r\n </thead>\r\n <tbody>\r\n {this.state.table\r\n .filter(\r\n (item) =>\r\n item.fteachname\r\n .toLowerCase()\r\n .includes(this.state.searchQP.toLowerCase()) ||\r\n item.fteachcode\r\n .toLowerCase()\r\n .includes(this.state.searchQP.toLowerCase()) ||\r\n item.fmobile\r\n .toLowerCase()\r\n .includes(this.state.searchQP.toLowerCase()) ||\r\n item.femail\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 style={{\r\n border: \"1px solid\",\r\n textAlign: \"center\",\r\n width: \"5%\",\r\n height: \"30px\",\r\n }}\r\n >\r\n {i + 1}\r\n </td>\r\n <td\r\n style={{\r\n borderBottom: \"1px solid\",\r\n borderRight: \"1px solid\",\r\n textAlign: \"center\",\r\n width: \"5%\",\r\n height: \"30px\",\r\n }}\r\n >\r\n {el.fteachcode}\r\n </td>\r\n <td\r\n style={{\r\n borderBottom: \"1px solid\",\r\n borderRight: \"1px solid\",\r\n width: \"25%\",\r\n height: \"30px\",\r\n paddingLeft: \"10px\",\r\n }}\r\n >\r\n {el.fteachname}\r\n </td>\r\n <td\r\n style={{\r\n borderBottom: \"1px solid\",\r\n borderRight: \"1px solid\",\r\n paddingLeft: \"10px\",\r\n width: \"35%\",\r\n height: \"30px\",\r\n }}\r\n >\r\n {el.femail}\r\n </td>\r\n <td\r\n style={{\r\n borderBottom: \"1px solid\",\r\n borderRight: \"1px solid\",\r\n textAlign: \"center\",\r\n width: \"10%\",\r\n height: \"30px\",\r\n }}\r\n >\r\n {el.fmobile}\r\n </td>\r\n <td\r\n style={{\r\n borderBottom: \"1px solid\",\r\n borderRight: \"1px solid\",\r\n textAlign: \"center\",\r\n width: \"5%\",\r\n height: \"30px\",\r\n }}\r\n >\r\n <input\r\n type=\"checkbox\"\r\n name=\"status\"\r\n value={el.status}\r\n onChange={(e) =>\r\n this.handleCheckBox(el, i, el.fteachcode)\r\n }\r\n checked={el.status == \"T\" ? true : false}\r\n />\r\n </td>\r\n </tr>\r\n );\r\n })}\r\n </tbody>\r\n </table>\r\n </div>\r\n ) : null}\r\n </Card.Description>\r\n </Card.Content>\r\n </Card>\r\n </div>\r\n );\r\n }\r\n}\r\n\r\nconst mapStateToProps = (state) => {\r\n return {\r\n examdate: state.examdate,\r\n boarddet: state.boaddet,\r\n boardsubj: state.boardsubj,\r\n teachdet: state.teachdet,\r\n };\r\n};\r\n\r\nexport default connect(mapStateToProps, {\r\n getBoardDet,\r\n getBoardSubj,\r\n getTeachDet,\r\n saveQPSeter,\r\n examDate,\r\n})(QPSetter);\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":""}
|