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.191.205.149


Current Path : /var/www/egov/build/static/js/
Upload File :
Current File : /var/www/egov/build/static/js/246.3803a678.chunk.js.map

{"version":3,"sources":["pages/QP_Setter/upload-qp-pattern.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","viewQp","_Component","_getPrototypeOf2","_this","_classCallCheck","_len","arguments","args","Array","_key","_possibleConstructorReturn","_getPrototypeOf","apply","concat","state","exam","sem","board","qpcode","data","formSubmit","qpFile","syllabusFile","schemeFile","indexQp","indexSyllabus","indexScheme","status","componentDidMount","props","examDate","submitViewPatternHandler","_asyncToGenerator","_callee","error","_context","header","content","showError","viewQPPatternHandler","setState","handleSyllabusFileChange","index","Syllabus_file_extn","target","files","split","handleQpFileChange","pattern_file_extn","handleSchemeFileChange","handleFileUpload","_ref2","_callee2","formdata","_error","_context2","FormData","append","univcode","user","fcollcode","fmobileno","fuserid","uploadQpSyllabusFile","_x","_x2","_x3","_x4","_inherits","_createClass","key","_this2","all","text","examOptions","year","map","el","fdesexam","fexamyear","boardOpt","loadBoard","fboardname","fboardcode","boardOptions","_toConsumableArray","qpOpt","loadQp","fqpcode","fsubname","qpOptions","semOptions","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","getBoardDet","getBoardSubj","position","bottom","height","overflowY","border","background","top","borderBottom","borderRight","textAlign","qpdet","url","paddingLeft","FSUBSHORT","fboard","href","FSCHPATTERN","padding","FQPPATREN","FQPSYLLABUS","size","colSpan","Component","connect","univ","funivcode","examdate","boaddet","boardsubj","viewQPPattern","loadYearAndMode","_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,MA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,EAAAvQ,CAAcgN,EAAA/E,GAClC,OAASmI,EAAA3P,EAAKwL,cAAAkF,EAA4BnB,IAAQ,GAAGkB,EAAA,CACrD1E,UAAAyE,IACMT,EAAA,EAAaY,MAAAX,GAAAhI,EAAAgI,GAEnBzD,EAAAqE,aAAA,kHACArE,EAAAsE,UAuBC,GACcC,EAAA","file":"static/js/246.3803a678.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 {\r\n  loadYearAndMode,\r\n  viewQPPatternHandler,\r\n  uploadQpSyllabusFile,\r\n} from \"../../actions/teacher/teacherentry\";\r\nimport { getBoardDet, getBoardSubj, examDate } from \"../../actions/QP_Setter\";\r\n\r\nclass viewQp extends Component {\r\n  state = {\r\n    exam: \"\",\r\n    sem: \"All\",\r\n    board: \"All\",\r\n    qpcode: \"All\",\r\n    data: [],\r\n    formSubmit: false,\r\n    qpFile: null,\r\n    syllabusFile: null,\r\n    schemeFile: null,\r\n    indexQp: \"\",\r\n    indexSyllabus: \"\",\r\n    indexScheme: \"\",\r\n    status: \"pending\",\r\n  };\r\n\r\n  componentDidMount = () => {\r\n    this.props.examDate();\r\n  };\r\n\r\n  submitViewPatternHandler = async () => {\r\n    if (this.state.exam === \"\") {\r\n      const error = {\r\n        header: \"Error\",\r\n        content: \"Select Exam\",\r\n      };\r\n      this.props.showError(error);\r\n      return;\r\n    }\r\n    await this.props.viewQPPatternHandler(\r\n      this.state.exam,\r\n      this.state.board,\r\n      this.state.qpcode,\r\n      this.state.status,\r\n      this.state.sem\r\n    );\r\n    this.setState({ formSubmit: true });\r\n  };\r\n\r\n  handleSyllabusFileChange = (e, qpcode, board, index) => {\r\n    var Syllabus_file_extn = e.target.files[0].name.split(\".\").pop();\r\n    if (\r\n      Syllabus_file_extn !== \"pdf\" &&\r\n      Syllabus_file_extn !== \"doc\" &&\r\n      Syllabus_file_extn !== \"docx\"\r\n    ) {\r\n      const error = {\r\n        header: \"Error\",\r\n        content: \"pdf and word file are allowed\",\r\n      };\r\n      this.props.showError(error);\r\n      return;\r\n    }\r\n    this.setState({ syllabusFile: e.target.files[0] });\r\n    this.setState({ indexSyllabus: index });\r\n  };\r\n\r\n  handleQpFileChange = (e, qpcode, board, index) => {\r\n    var pattern_file_extn = e.target.files[0].name.split(\".\").pop();\r\n    if (\r\n      pattern_file_extn !== \"pdf\" &&\r\n      pattern_file_extn !== \"doc\" &&\r\n      pattern_file_extn !== \"docx\"\r\n    ) {\r\n      const error = {\r\n        header: \"Error\",\r\n        content: \"pdf and word file are allowed\",\r\n      };\r\n      this.props.showError(error);\r\n      return;\r\n    }\r\n    this.setState({ qpFile: e.target.files[0] });\r\n    this.setState({ indexQp: index });\r\n  };\r\n\r\n  handleSchemeFileChange = (e, qpcode, board, index) => {\r\n    var pattern_file_extn = e.target.files[0].name.split(\".\").pop();\r\n    if (\r\n      pattern_file_extn !== \"pdf\" &&\r\n      pattern_file_extn !== \"doc\" &&\r\n      pattern_file_extn !== \"docx\"\r\n    ) {\r\n      const error = {\r\n        header: \"Error\",\r\n        content: \"pdf and word file are allowed\",\r\n      };\r\n      this.props.showError(error);\r\n      return;\r\n    }\r\n    this.setState({ schemeFile: e.target.files[0] });\r\n    this.setState({ indexScheme: index });\r\n  };\r\n\r\n  handleFileUpload = async (e, qpcode, board, index) => {\r\n    if (\r\n      this.state.qpFile == null &&\r\n      this.state.syllabusFile == null &&\r\n      this.state.schemeFile == null\r\n    ) {\r\n      const error = {\r\n        header: \"Error\",\r\n        content: \"Please upload scheme file or qp pattern or syllabus file\",\r\n      };\r\n      this.props.showError(error);\r\n      return;\r\n    }\r\n    // if (this.state.qpFile !== null) {\r\n    //   var pattern_file_extn = this.state.qpFile.name.split(\".\").pop();\r\n    //   var pattern_filename_split = this.state.qpFile.name.split(\".\");\r\n    //   var pattern_filename = pattern_filename_split[0];\r\n    // }\r\n    // if (this.state.syllabusFile !== null) {\r\n    //   var Syllabus_file_extn = this.state.syllabusFile.name.split(\".\").pop();\r\n    //   var Syllabus_filename_split = this.state.syllabusFile.name.split(\".\");\r\n    //   var Syllabus_filename = Syllabus_filename_split[0];\r\n    // }\r\n    // if (\r\n    //   pattern_file_extn !== \"pdf\" &&\r\n    //   pattern_file_extn !== \"doc\" &&\r\n    //   pattern_file_extn !== \"docx\"\r\n    //     ||\r\n    //   (Syllabus_file_extn !== \"pdf\" &&\r\n    //     Syllabus_file_extn !== \"doc\" &&\r\n    //     Syllabus_file_extn !== \"docx\")\r\n    // ) {\r\n    //   const error = {\r\n    //     header: \"Error\",\r\n    //     content: \"pdf and word file are allowed\",\r\n    //   };\r\n    //   this.props.showError(error);\r\n    //   return;\r\n    // }\r\n\r\n    if (\r\n      index === this.state.indexQp ||\r\n      index === this.state.indexSyllabus ||\r\n      index === this.state.indexScheme\r\n    ) {\r\n      const formdata = new FormData();\r\n      formdata.append(\"univcode\", this.props.univcode);\r\n      formdata.append(\"board\", board);\r\n      formdata.append(\"qpcode\", qpcode);\r\n      formdata.append(\"year\", this.state.exam);\r\n      formdata.append(\"collcode\", this.props.user.fcollcode);\r\n      formdata.append(\"mobile\", this.props.user.fmobileno);\r\n      formdata.append(\"fuserid\", this.props.user.fuserid);\r\n      formdata.append(\"qpFile\", this.state.qpFile);\r\n      formdata.append(\"syllabusFile\", this.state.syllabusFile);\r\n      formdata.append(\"schemeFile\", this.state.schemeFile);\r\n      await this.props.uploadQpSyllabusFile(formdata);\r\n    } else {\r\n      const error = {\r\n        header: \"Error\",\r\n        content: `Please upload QP Pattern or Syllabus file`,\r\n      };\r\n      this.props.showError(error);\r\n      return;\r\n    }\r\n  };\r\n\r\n  render() {\r\n    const all = [{ key: \"All\", text: \"All\", value: \"All\" }];\r\n\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 boardOpt = 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, ...boardOpt];\r\n\r\n    const qpOpt = this.props.loadQp.map((el, i) => {\r\n      return {\r\n        key: i,\r\n        text: `${el.fqpcode} - ${el.fsubname}`,\r\n        value: el.fqpcode,\r\n      };\r\n    });\r\n\r\n    const qpOptions = [...all, ...qpOpt];\r\n\r\n    const statusOption = [\r\n      { key: \"pending\", text: \"Pending\", value: \"pending\" },\r\n      { key: \"uploaded\", text: \"Uploaded\", value: \"uploaded\" },\r\n      { key: \"all\", text: \"All\", value: \"all\" },\r\n    ];\r\n\r\n    const semOpt = [\r\n      { key: \"A\", text: \"I sem\", value: \"A\" },\r\n      { key: \"B\", text: \"II sem\", value: \"B\" },\r\n      { key: \"C\", text: \"III sem\", value: \"C\" },\r\n      { key: \"D\", text: \"IV sem\", value: \"D\" },\r\n      { key: \"E\", text: \"V sem\", value: \"E\" },\r\n      { key: \"F\", text: \"VI sem\", value: \"F\" },\r\n      { key: \"G\", text: \"VII sem\", value: \"G\" },\r\n      { key: \"H\", text: \"VIII sem\", value: \"H\" },\r\n      { key: \"I\", text: \"IX sem\", value: \"I\" },\r\n      { key: \"J\", text: \"X sem\", value: \"J\" },\r\n    ];\r\n\r\n    const semOptions = [...all, ...semOpt];\r\n\r\n    return (\r\n      <Card fluid>\r\n        <Card.Content>\r\n          <Card.Header style={{ display: \"flex\" }}>\r\n            <h4>Upload QP Pattern</h4>\r\n            <div className=\"ml-auto\">\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({\r\n                    exam: \"\",\r\n                    board: \"All\",\r\n                    qpcode: \"All\",\r\n                    data: [],\r\n                    formSubmit: false,\r\n                    qpFile: null,\r\n                    syllabusFile: null,\r\n                    indexQp: \"\",\r\n                    indexSyllabus: \"\",\r\n                  });\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={6}>\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.setState({ formSubmit: false });\r\n                      this.props.getBoardDet(data.value);\r\n                    }}\r\n                  />\r\n                </Form.Field>\r\n\r\n                <Form.Field width={6}>\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.setState({ formSubmit: false });\r\n                      this.props.getBoardSubj(this.state.exam, data.value);\r\n                    }}\r\n                  />\r\n                </Form.Field>\r\n                <Form.Field width={6}>\r\n                  <label>Qp Code</label>\r\n                  <Dropdown\r\n                    fluid\r\n                    search\r\n                    selection\r\n                    value={this.state.qpcode}\r\n                    options={qpOptions}\r\n                    allowAdditions\r\n                    placeholder=\"qpcode\"\r\n                    onChange={(e, data) => {\r\n                      this.setState({ qpcode: data.value });\r\n                      this.setState({ formSubmit: false });\r\n                    }}\r\n                  />\r\n                </Form.Field>\r\n              </Form.Group>\r\n              <Form.Group>\r\n                <Form.Field width={6}>\r\n                  <label>Semester</label>\r\n                  <Dropdown\r\n                    fluid\r\n                    search\r\n                    selection\r\n                    value={this.state.sem}\r\n                    options={semOptions}\r\n                    allowAdditions\r\n                    placeholder=\"Semester\"\r\n                    onChange={(e, data) => {\r\n                      this.setState({ sem: data.value });\r\n                      this.setState({ formSubmit: false });\r\n                    }}\r\n                  />\r\n                </Form.Field>\r\n                <Form.Field width={6}>\r\n                  <label>Status</label>\r\n                  <Dropdown\r\n                    fluid\r\n                    search\r\n                    selection\r\n                    value={this.state.status}\r\n                    options={statusOption}\r\n                    allowAdditions\r\n                    placeholder=\"Status\"\r\n                    onChange={(e, data) => {\r\n                      this.setState({ status: data.value });\r\n                      this.setState({ formSubmit: false });\r\n                    }}\r\n                  />\r\n                </Form.Field>\r\n                <Form.Field width={6}>\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.submitViewPatternHandler()}\r\n                  />\r\n                </Form.Field>\r\n              </Form.Group>\r\n            </Form>\r\n            {this.state.formSubmit && (\r\n              <div\r\n                style={{ width: \"100%\", height: \"470px\", overflowY: \"auto\" }}\r\n              >\r\n                <table style={{ width: \"100%\", border: \"1px solid\" }}>\r\n                  <thead\r\n                    style={{\r\n                      background: \"tan\",\r\n                      height: \"40px\",\r\n                      position: \"sticky\",\r\n                      top: 0,\r\n                    }}\r\n                  >\r\n                    <tr>\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                        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: \"15%\",\r\n                        }}\r\n                      >\r\n                        QP 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                        Subject Name\r\n                      </th>\r\n                      {this.props.univcode == \"051\" && (\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                          Sub. Short\r\n                        </th>\r\n                      )}\r\n                      {this.props.univcode == \"051\" && (\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                          Board\r\n                        </th>\r\n                      )}\r\n                      {(this.props.univcode == \"030\" ||\r\n                        this.props.univcode == \"098\") && (\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                          Upload Scheme Pattern\r\n                        </th>\r\n                      )}\r\n                      <th\r\n                        style={{\r\n                          borderBottom: \"1px solid\",\r\n                          borderRight: \"1px solid\",\r\n                          textAlign: \"center\",\r\n                          width: \"20%\",\r\n                        }}\r\n                      >\r\n                        Upload QP Pattern\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: \"20%\",\r\n                        }}\r\n                      >\r\n                        Upload Qp Syllabus\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                        Action\r\n                      </th>\r\n                    </tr>\r\n                  </thead>\r\n                  <tbody>\r\n                    {this.props.qpdet.length > 0 ? (\r\n                      this.props.qpdet.map((el, i) => {\r\n                        const url =\r\n                          \"https://qp-scheme.s3.ap-south-1.amazonaws.com/\";\r\n\r\n                        return (\r\n                          <tr key={i}>\r\n                            <td\r\n                              style={{\r\n                                borderBottom: \"1px solid\",\r\n                                borderRight: \"1px solid\",\r\n                                textAlign: \"center\",\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                              }}\r\n                            >\r\n                              {el.fqpcode}\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                              }}\r\n                            >\r\n                              {el.fsubname}\r\n                            </td>\r\n                            {this.props.univcode == \"051\" && (\r\n                              <td\r\n                                style={{\r\n                                  borderBottom: \"1px solid\",\r\n                                  borderRight: \"1px solid\",\r\n                                  textAlign: \"center\",\r\n                                }}\r\n                              >\r\n                                {el.FSUBSHORT}\r\n                              </td>\r\n                            )}\r\n                            {this.props.univcode == \"051\" && (\r\n                              <td\r\n                                style={{\r\n                                  borderBottom: \"1px solid\",\r\n                                  borderRight: \"1px solid\",\r\n                                  textAlign: \"center\",\r\n                                }}\r\n                              >\r\n                                {el.fboard}\r\n                              </td>\r\n                            )}\r\n                            {(this.props.univcode == \"030\" ||\r\n                              this.props.univcode == \"098\") && (\r\n                              <td\r\n                                style={{\r\n                                  borderBottom: \"1px solid\",\r\n                                  borderRight: \"1px solid\",\r\n                                  textAlign: \"center\",\r\n                                }}\r\n                              >\r\n                                <div style={{ display: \"flex\" }}>\r\n                                  <input\r\n                                    type=\"file\"\r\n                                    onChange={(e) =>\r\n                                      this.handleSchemeFileChange(\r\n                                        e,\r\n                                        el.fqpcode,\r\n                                        el.fboard,\r\n                                        i\r\n                                      )\r\n                                    }\r\n                                  />\r\n                                  {this.state.status !== \"pending\" && (\r\n                                    <a\r\n                                      target=\"_blank\"\r\n                                      href={url + el.FSCHPATTERN}\r\n                                    >\r\n                                      View\r\n                                    </a>\r\n                                  )}\r\n                                </div>\r\n                              </td>\r\n                            )}\r\n                            <td\r\n                              style={{\r\n                                borderBottom: \"1px solid\",\r\n                                borderRight: \"1px solid\",\r\n                                padding: \"0 10px\",\r\n                              }}\r\n                            >\r\n                              <div style={{ display: \"flex\" }}>\r\n                                <input\r\n                                  type=\"file\"\r\n                                  onChange={(e) =>\r\n                                    this.handleQpFileChange(\r\n                                      e,\r\n                                      el.fqpcode,\r\n                                      el.fboard,\r\n                                      i\r\n                                    )\r\n                                  }\r\n                                />\r\n                                {this.state.status !== \"pending\" && (\r\n                                  <a target=\"_blank\" href={url + el.FQPPATREN}>\r\n                                    View\r\n                                  </a>\r\n                                )}\r\n                              </div>\r\n                            </td>\r\n                            <td\r\n                              style={{\r\n                                borderBottom: \"1px solid\",\r\n                                borderRight: \"1px solid\",\r\n                                padding: \"0 10px\",\r\n                              }}\r\n                            >\r\n                              <div style={{ display: \"flex\" }}>\r\n                                <input\r\n                                  type=\"file\"\r\n                                  onChange={(e) =>\r\n                                    this.handleSyllabusFileChange(\r\n                                      e,\r\n                                      el.fqpcode,\r\n                                      el.fboard,\r\n                                      i\r\n                                    )\r\n                                  }\r\n                                />\r\n                                {this.state.status !== \"pending\" && (\r\n                                  <a\r\n                                    target=\"_blank\"\r\n                                    href={url + el.FQPSYLLABUS}\r\n                                  >\r\n                                    View\r\n                                  </a>\r\n                                )}\r\n                              </div>\r\n                            </td>\r\n                            <td\r\n                              style={{\r\n                                borderBottom: \"1px solid\",\r\n                                padding: \"4px\",\r\n                              }}\r\n                            >\r\n                              <Button\r\n                                basic\r\n                                size=\"tiny\"\r\n                                content=\"Upload\"\r\n                                color=\"blue\"\r\n                                onClick={(e) =>\r\n                                  this.handleFileUpload(\r\n                                    e,\r\n                                    el.fqpcode,\r\n                                    el.fboard,\r\n                                    i\r\n                                  )\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={8}\r\n                          style={{\r\n                            borderBottom: \"1px solid\",\r\n                            borderRight: \"1px solid\",\r\n                            textAlign: \"center\",\r\n                            height: \"30px\",\r\n                          }}\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,\r\n    univcode: state.univ.funivcode,\r\n    year: state.examdate,\r\n    loadBoard: state.boaddet,\r\n    loadQp: state.boardsubj,\r\n    qpdet: state.viewQPPattern,\r\n  };\r\n};\r\n\r\nexport default connect(mapStateToProps, {\r\n  showError,\r\n  loadYearAndMode,\r\n  getBoardDet,\r\n  getBoardSubj,\r\n  viewQPPatternHandler,\r\n  uploadQpSyllabusFile,\r\n  examDate,\r\n})(viewQp);\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":""}