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


Current Path : /var/www/egov/build/static/js/
Upload File :
Current File : /var/www/egov/build/static/js/274.e6565446.chunk.js.map

{"version":3,"sources":["pages/sel_qp_setter/preUploadQP.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","perUploadQP","_Component","_getPrototypeOf2","_this","_classCallCheck","_len","arguments","args","Array","_key","_possibleConstructorReturn","_getPrototypeOf","apply","concat","state","_defineProperty","askfile","qpfile","data","accttable","yes","no","accepttable","acceptDet","componentDidMount","_asyncToGenerator","_callee","_context","props","acceptedUploadQP","userid","setState","qpDet","changeHandler","event","index","extendfile","target","files","split","file","indexset","showError","header","content","changeHandlerQP","indexQP","handleSubmission","_ref2","_callee2","qpcode","set","fexam","formData","error","_error","_context2","FormData","append","univ","user","fcollcode","fmobileno","uploadQPDet","_x","_x2","_x3","_x4","handleView","_ref3","_callee3","_context3","window","open","ReportAPI","_x5","_x6","_x7","handleAccept","_ref4","_callee4","action","newArr","_context4","map","el","fstatus","acceptQPDet","_toConsumableArray","_x8","_x9","_x10","_x11","handleSave","_callee5","_context5","downloadSyllabus","FQPSYLLABUS","fqpcode","fset","fvalmax","fuserid","downloadQPPattern","FQPPATREN","_inherits","_createClass","key","_this2","_this$props","accUpQP","_this$state2","React","createElement","Card","fluid","Content","Header","style","display","className","Link","to","Button","basic","color","icon","Divider","Description","Form","width","height","overflowY","marginTop","border","backgroundColor","position","top","borderBottom","borderRight","textAlign","ans","fanskeypath","qp","fqpfilepath","qpupd","fsubname","FSUBSHORT","onMouseOver","textDecoration","onMouseOut","onClick","borderColor","accept","onChange","href","size","Component","connect","fcuruniv","qPaperDet","view","viewqpd","accUploadDet","status","accQPDet","getQPDetails","_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":"gSACAA,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,EA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AP,EAAA,KAAAQ,EAAAR,EAAA,KAAAS,EAAAT,EAAA,KASA,SAAAzC,EAAAlG,GACA,IAAAqJ,EAAArJ,EAAAqJ,SACA1D,EAAA3F,EAAA2F,UACA2D,EAAAtJ,EAAAsJ,SACAtI,EAAAhB,EAAAgB,QACAuI,EAAAvJ,EAAAuJ,OACAC,EAAAxJ,EAAAwJ,OACAC,EAAAzJ,EAAAyJ,WACAC,EAAA1J,EAAA0J,SACAC,EAAA3J,EAAA2J,QACAC,EAAA5J,EAAA4J,SACAC,EAAgBf,IAAE,KAAO9Q,OAAAiR,EAAA,EAAAjR,CAAUsR,EAAA,YAAwBtR,OAAAiR,EAAA,EAAAjR,CAAUuR,EAAA,UAAoBvR,OAAAiR,EAAA,EAAAjR,CAAUwR,EAAA,UAAoBxR,OAAAiR,EAAA,EAAAjR,CAAUyR,EAAA,cAA4BzR,OAAAiR,EAAA,EAAAjR,CAAU0R,EAAA,YAAwB1R,OAAAiR,EAAA,EAAAjR,CAAU2R,EAAA,WAAsB3R,OAAAiR,EAAA,EAAAjR,CAAU4R,EAAA,sBAAAjE,GACzOmE,EAAa9R,OAAAkR,EAAA,EAAAlR,CAAiBkO,EAAAlG,GAC9B+J,EAAoB/R,OAAAmR,EAAA,EAAAnR,CAAckO,EAAAlG,GAClC,OAASgJ,EAAAvQ,EAAK2M,cAAA2E,EAA4BnB,IAAQ,GAAGkB,EAAA,CACrDnE,UAAAkE,IACMT,EAAA,EAAaY,MAAAX,GAAArI,EAAAqI,GAEnBnD,EAAA+D,aAAA,kHACA/D,EAAAgE,UAuBC,GACcC,EAAA","file":"static/js/274.e6565446.chunk.js","sourcesContent":["import React, { Component } from \"react\";\r\nimport { Card, Button, Divider, Form } from \"semantic-ui-react\";\r\nimport { Link } from \"react-router-dom\";\r\nimport {\r\n  getQPDetails,\r\n  uploadQPDet,\r\n  acceptQPDet,\r\n  acceptedUploadQP,\r\n  downloadSyllabus,\r\n  downloadQPPattern,\r\n} from \"../../actions/QP_Setter\";\r\nimport { connect } from \"react-redux\";\r\nimport { showError } from \"../../actions\";\r\nimport { ReportAPI } from \"../../apis/consts\";\r\n\r\nclass perUploadQP extends Component {\r\n  state = {\r\n    askfile: {},\r\n    qpfile: {},\r\n    data: \"\",\r\n    accttable: true,\r\n    yes: false,\r\n    no: false,\r\n    accepttable: [],\r\n    acceptDet: \"\",\r\n    data: [],\r\n    indexQP: \"\",\r\n    indexset: \"\",\r\n  };\r\n  componentDidMount = async () => {\r\n    await this.props.acceptedUploadQP(this.props.userid);\r\n    this.setState({ accepttable: this.props.qpDet });\r\n    this.setState({ data: this.props.qpDet });\r\n  };\r\n\r\n  changeHandler = (event, index) => {\r\n    let filename = event.target.files[0].name;\r\n    let splitext = filename.split(\".\");\r\n    let extendfile = splitext[1];\r\n    if (extendfile == \"docx\" || extendfile == \"doc\") {\r\n      this.setState({ file: event.target.files[0], indexset: index });\r\n    } else {\r\n      const error = {\r\n        header: \"Error\",\r\n        content: `Upload Only Word file`,\r\n      };\r\n      this.props.showError(error);\r\n      return;\r\n    }\r\n  };\r\n\r\n  changeHandlerQP = (event, index) => {\r\n    let filename = event.target.files[0].name;\r\n    let splitext = filename.split(\".\");\r\n    let extendfile = splitext[1];\r\n    if (extendfile == \"docx\" || extendfile == \"doc\") {\r\n      this.setState({ qpfile: event.target.files[0], indexQP: index });\r\n    } else {\r\n      const error = {\r\n        header: \"Error\",\r\n        content: `Upload Only Word file`,\r\n      };\r\n      this.props.showError(error);\r\n      return;\r\n    }\r\n  };\r\n\r\n  handleSubmission = async (qpcode, set, fexam, index) => {\r\n    if (index === this.state.indexset && index === this.state.indexQP) {\r\n      const formData = new FormData();\r\n      formData.append(\"File\", this.state.file);\r\n      formData.append(\"QPFile\", this.state.qpfile);\r\n      formData.append(\"univcode\", this.props.univ);\r\n      formData.append(\"userid\", this.props.userid);\r\n      formData.append(\"qpcode\", qpcode);\r\n      formData.append(\"set\", set);\r\n      formData.append(\"fexam\", fexam);\r\n      formData.append(\"collcode\", this.props.user.fcollcode);\r\n      formData.append(\"mobileno\", this.props.user.fmobileno);\r\n      // formData.append(\"type\", type);\r\n      await this.props.uploadQPDet(formData);\r\n      await this.props.acceptedUploadQP(this.props.userid);\r\n    } else if (this.state.indexset !== this.state.indexQP) {\r\n      const error = {\r\n        header: \"Error\",\r\n        content: `Select Both the files and upload`,\r\n      };\r\n      this.props.showError(error);\r\n      return;\r\n    } else {\r\n      const error = {\r\n        header: \"Error\",\r\n        content: `Upload the ${this.state.indexQP + 1} row`,\r\n      };\r\n      this.props.showError(error);\r\n      return;\r\n    }\r\n  };\r\n\r\n  handleView = async (qpcode, set, type) => {\r\n    window.open(\r\n      ReportAPI +\r\n        \"viewQPDet\" +\r\n        \"&univcode=\" +\r\n        this.props.univ +\r\n        \"&tech=\" +\r\n        this.props.userid +\r\n        \"&qpcode=\" +\r\n        qpcode +\r\n        \"&set=\" +\r\n        set +\r\n        \"&type=\" +\r\n        type,\r\n      \"download\"\r\n    );\r\n  };\r\n\r\n  handleAccept = async (qpcode, set, index, action) => {\r\n    const newArr = this.state.data.map((el, i) => {\r\n      if (i === index) {\r\n        el.fstatus = action;\r\n        this.props.acceptQPDet(\r\n          qpcode,\r\n          set,\r\n          action,\r\n          this.props.userid,\r\n          this.props.user.fcollcode,\r\n          this.props.user.fmobileno\r\n        );\r\n      }\r\n      return el;\r\n    });\r\n    this.setState({ data: [...newArr] });\r\n  };\r\n\r\n  handleSave = async () => {\r\n    // const newData = this.state.data.map((el, i) => {\r\n    //   if (el.fstatus === \"\") {\r\n    //     alert(\"Select all\");\r\n    //   }\r\n    //   return;\r\n    // });\r\n    await this.props.acceptedUploadQP(this.props.userid);\r\n    this.setState({ accttable: false });\r\n  };\r\n\r\n  downloadSyllabus = (el) => {\r\n    if (el.FQPSYLLABUS !== null && el.FQPSYLLABUS !== \"\") {\r\n      this.props.downloadSyllabus(\r\n        el.fqpcode,\r\n        el.fset,\r\n        el.fvalmax,\r\n        this.props.user.fcollcode,\r\n        this.props.user.fmobileno,\r\n        this.props.user.fuserid\r\n      );\r\n      window.open(\r\n        \"https://qp-scheme.s3.ap-south-1.amazonaws.com/\" + el.FQPSYLLABUS\r\n      );\r\n    } else {\r\n      const error = {\r\n        header: \"Error\",\r\n        content: `No File to Download`,\r\n      };\r\n      this.props.showError(error);\r\n      return;\r\n    }\r\n  };\r\n\r\n  downloadQPPattern = (el) => {\r\n    if (el.FQPPATREN !== null && el.FQPPATREN !== \"\") {\r\n      this.props.downloadQPPattern(\r\n        el.fqpcode,\r\n        el.fset,\r\n        el.fvalmax,\r\n        this.props.user.fcollcode,\r\n        this.props.user.fmobileno,\r\n        this.props.user.fuserid\r\n      );\r\n      window.open(\r\n        \"https://qp-scheme.s3.ap-south-1.amazonaws.com/\" + el.FQPPATREN\r\n      );\r\n    } else {\r\n      const error = {\r\n        header: \"Error\",\r\n        content: `No File to Download`,\r\n      };\r\n      this.props.showError(error);\r\n      return;\r\n    }\r\n  };\r\n  render() {\r\n    const { qpDet, accUpQP } = this.props;\r\n    const { data, accttable, yes, no, acceptDet } = this.state;\r\n    return (\r\n      <div>\r\n        <Card fluid>\r\n          <Card.Content>\r\n            <Card.Header style={{ display: \"flex\" }}>\r\n              <h4>Upload Question Paper Details</h4>\r\n              <div className=\"ml-auto\">\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                <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                        <th\r\n                          style={{\r\n                            borderBottom: \"1px solid\",\r\n                            borderRight: \"1px solid\",\r\n                            textAlign: \"center\",\r\n                            width: \"3%\",\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: \"7%\",\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: \"20%\",\r\n                          }}\r\n                        >\r\n                          Subject 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: \"3%\",\r\n                          }}\r\n                        >\r\n                          Max Marks\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: \"4%\",\r\n                          }}\r\n                        >\r\n                          Sets 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: \"8%\",\r\n                          }}\r\n                        >\r\n                          Syllabus with COs\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: \"6%\",\r\n                          }}\r\n                        >\r\n                          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: \"16%\",\r\n                          }}\r\n                        >\r\n                          Upload Date\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: \"8%\",\r\n                          }}\r\n                        >\r\n                          Status\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                          Upload Ans Key\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                          Upload QP\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                      {accUpQP.map((el, i) => {\r\n                        const url =\r\n                          \"https://qp-scheme.s3.ap-south-1.amazonaws.com/\" +\r\n                          el.FQPPATREN;\r\n                        const url1 =\r\n                          \"https://qp-scheme.s3.ap-south-1.amazonaws.com/\" +\r\n                          el.FQPSYLLABUS;\r\n                        const ans =\r\n                          \"https://universitysolutions.in/univadmin/\" +\r\n                          el.fanskeypath;\r\n                        const qp =\r\n                          \"https://universitysolutions.in/univadmin/\" +\r\n                          el.fqpfilepath;\r\n                        let color;\r\n                        if (el.qpupd == \"\") {\r\n                          color = \"red\";\r\n                        } else {\r\n                          color = \"green\";\r\n                        }\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                                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                                height: \"30px\",\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                                height: \"30px\",\r\n                              }}\r\n                            >\r\n                              {el.fsubname + \" - \" + el.FSUBSHORT}\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                                height: \"30px\",\r\n                              }}\r\n                            >\r\n                              {el.fvalmax}\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                              Set {el.fset}\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                              <p\r\n                                style={{ color: \"#20a8d8\" }}\r\n                                onMouseOver={(e) =>\r\n                                  (e.target.style.textDecoration = \"underline\")\r\n                                }\r\n                                onMouseOut={(e) =>\r\n                                  (e.target.style.textDecoration = \"\")\r\n                                }\r\n                                onClick={() => this.downloadSyllabus(el)}\r\n                              >\r\n                                Download\r\n                              </p>\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                              <p\r\n                                style={{ color: \"#20a8d8\" }}\r\n                                onMouseOver={(e) =>\r\n                                  (e.target.style.textDecoration = \"underline\")\r\n                                }\r\n                                onMouseOut={(e) =>\r\n                                  (e.target.style.textDecoration = \"\")\r\n                                }\r\n                                onClick={() => this.downloadQPPattern(el)}\r\n                              >\r\n                                Download\r\n                              </p>\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.qpupd}\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                                borderColor: \"black\",\r\n                                color: color,\r\n                              }}\r\n                            >\r\n                              {el.qpupd != \"\" ? \"Completed\" : \"Pending\"}\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                              <input\r\n                                type=\"file\"\r\n                                name=\"file\"\r\n                                accept=\"doc,docx\"\r\n                                onChange={(e) => this.changeHandler(e, i)}\r\n                              />\r\n                              {el.fanskeypath ? (\r\n                                <a target=\"_blank\" href={ans}>\r\n                                  View\r\n                                </a>\r\n                              ) : null}\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                              <input\r\n                                type=\"file\"\r\n                                name=\"file\"\r\n                                accept=\"doc,docx\"\r\n                                onChange={(e) => this.changeHandlerQP(e, i)}\r\n                              />\r\n                              {el.fqpfilepath ? (\r\n                                <a target=\"_blank\" href={qp}>\r\n                                  View\r\n                                </a>\r\n                              ) : null}\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                              <Button\r\n                                type=\"submit\"\r\n                                onClick={() =>\r\n                                  this.handleSubmission(\r\n                                    el.fqpcode,\r\n                                    el.fset,\r\n                                    el.fexam,\r\n                                    i\r\n                                  )\r\n                                }\r\n                                basic\r\n                                color=\"green\"\r\n                                content=\"Upload\"\r\n                                style={{\r\n                                  marginTop: \"5px\",\r\n                                  textAlign: \"center\",\r\n                                }}\r\n                                size=\"mini\"\r\n                              />\r\n                            </td>\r\n                          </tr>\r\n                        );\r\n                      })}\r\n                    </tbody>\r\n                  </table>\r\n                </div>\r\n              </Form>\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    user: state.user,\r\n    userid: state.user.fuserid,\r\n    univ: state.user.fcuruniv,\r\n    qpDet: state.qPaperDet,\r\n    view: state.viewqpd,\r\n    accUpQP: state.accUploadDet,\r\n    status: state.accQPDet,\r\n  };\r\n};\r\n\r\nexport default connect(mapStateToProps, {\r\n  getQPDetails,\r\n  uploadQPDet,\r\n  acceptQPDet,\r\n  acceptedUploadQP,\r\n  showError,\r\n  downloadSyllabus,\r\n  downloadQPPattern,\r\n})(perUploadQP);\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":""}