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 : 3.139.235.100


Current Path : /var/www/egov/build/static/js/
Upload File :
Current File : /var/www/egov/build/static/js/169.a83fc56c.chunk.js.map

{"version":3,"sources":["pages/rvrtblock/index.js","actions/rvrtblock/index.js","../node_modules/semantic-ui-react/dist/es/elements/Divider/Divider.js"],"names":["RVRTBlock","state","deggrp","semester","subject","frmsubmit","table","_this","props","getrvrttable","componentDidMount","_callee","regenerator_default","a","wrap","_context","prev","next","loadrvrtdeggrp","stop","handleCancel","_callee2","_context2","setState","handleChangedeggrp","_callee3","e","data","_context3","value","loaddexmno","handleChangeSemester","_callee4","_context4","loadqpcode","handleChangeqp","_callee5","_context5","handlechkboxchange","console","log","newarr","map","el","i","frvblock","handleSave","_callee6","_context6","savervrtblock","handleSubmit","_callee7","error","_error","_error2","_context7","header","content","showError","abrupt","loadrvrttable","_this2","this","_this$state","degreeGrpOptions","getrvrtdeggrp","item","key","fdeggrp","text","fdescpn","examnooptions","getrvrtexamno","fexamno","fexamname","qpoptions","getrvrtqpcode","fqpcode","fsubname","react_default","createElement","className","Card","fluid","Content","Header","style","display","Button","basic","color","onClick","icon","Link","to","Divider","Description","overflowY","height","Form","Field","width","Dropdown","search","selection","onChange","name","placeholder","options","multiple","Table","celled","padded","Row","HeaderCell","singleLine","textAlign","Body","Cell","Checkbox","checked","Component","connect","univcode","univ","funivcode","_ref","Object","asyncToGenerator","mark","dispatch","getState","response","type","univadmin","get","params","user","fcuruniv","sent","error_code","msg","payload","_x","_x2","apply","arguments","_ref2","_x3","_x4","sem","_ref3","_error3","_x5","_x6","_ref4","_error4","sub","_x7","_x8","_ref5","_error5","_error6","post","_x9","_x10","_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__","__webpack_require__","_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default","n","classnames__WEBPACK_IMPORTED_MODULE_1__","classnames__WEBPACK_IMPORTED_MODULE_1___default","react__WEBPACK_IMPORTED_MODULE_2__","react__WEBPACK_IMPORTED_MODULE_2___default","_lib__WEBPACK_IMPORTED_MODULE_3__","_lib__WEBPACK_IMPORTED_MODULE_4__","_lib__WEBPACK_IMPORTED_MODULE_5__","_lib__WEBPACK_IMPORTED_MODULE_6__","children","clearing","fitted","hidden","horizontal","inverted","section","vertical","classes","rest","ElementType","isNil","handledProps","propTypes","__webpack_exports__"],"mappings":"qSAqBMA,6MACJC,MAAQ,CACNC,OAAQ,GACRC,SAAU,GACVC,QAAS,GACTC,WAAW,EACXC,MAAOC,EAAKC,MAAMC,gBAGpBC,uCAAoB,SAAAC,IAAA,OAAAC,EAAAC,EAAAC,KAAA,SAAAC,GAAA,cAAAA,EAAAC,KAAAD,EAAAE,MAAA,cAAAF,EAAAE,KAAA,EACZV,EAAKC,MAAMU,iBADC,wBAAAH,EAAAI,SAAAR,QAIpBS,kCAAe,SAAAC,IAAA,OAAAT,EAAAC,EAAAC,KAAA,SAAAQ,GAAA,cAAAA,EAAAN,KAAAM,EAAAL,MAAA,OACbV,EAAKgB,SAAS,CACZrB,OAAQ,GACRC,SAAU,GACVC,QAAS,GACTC,WAAW,IALA,wBAAAiB,EAAAH,SAAAE,QASfG,yDAAqB,SAAAC,EAAOC,EAAGC,GAAV,OAAAf,EAAAC,EAAAC,KAAA,SAAAc,GAAA,cAAAA,EAAAZ,KAAAY,EAAAX,MAAA,cAAAW,EAAAX,KAAA,EACbV,EAAKgB,SAAS,CAClBrB,OAAQyB,EAAKE,QAFI,cAAAD,EAAAX,KAAA,EAKbV,EAAKC,MAAMsB,WAAWvB,EAAKN,MAAMC,QALpB,wBAAA0B,EAAAT,SAAAM,gEAQrBM,2DAAuB,SAAAC,EAAON,EAAGC,GAAV,OAAAf,EAAAC,EAAAC,KAAA,SAAAmB,GAAA,cAAAA,EAAAjB,KAAAiB,EAAAhB,MAAA,cAAAgB,EAAAhB,KAAA,EACfV,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KAAAS,EAAAT,EAAA,KAAAU,EAAAV,EAAA,KASA,SAAAxE,EAAAvF,GACA,IAAA0K,EAAA1K,EAAA0K,SACAjG,EAAAzE,EAAAyE,UACAkG,EAAA3K,EAAA2K,SACA1H,EAAAjD,EAAAiD,QACA2H,EAAA5K,EAAA4K,OACAC,EAAA7K,EAAA6K,OACAC,EAAA9K,EAAA8K,WACAC,EAAA/K,EAAA+K,SACAC,EAAAhL,EAAAgL,QACAC,EAAAjL,EAAAiL,SACAC,EAAgBf,IAAE,KAAO5C,OAAA+C,EAAA,EAAA/C,CAAUoD,EAAA,YAAwBpD,OAAA+C,EAAA,EAAA/C,CAAUqD,EAAA,UAAoBrD,OAAA+C,EAAA,EAAA/C,CAAUsD,EAAA,UAAoBtD,OAAA+C,EAAA,EAAA/C,CAAUuD,EAAA,cAA4BvD,OAAA+C,EAAA,EAAA/C,CAAUwD,EAAA,YAAwBxD,OAAA+C,EAAA,EAAA/C,CAAUyD,EAAA,WAAsBzD,OAAA+C,EAAA,EAAA/C,CAAU0D,EAAA,sBAAAxG,GACzO0G,EAAa5D,OAAAgD,EAAA,EAAAhD,CAAiBhC,EAAAvF,GAC9BoL,EAAoB7D,OAAAiD,EAAA,EAAAjD,CAAchC,EAAAvF,GAClC,OAASqK,EAAAhK,EAAKmE,cAAA4G,EAA4BpB,IAAQ,GAAGmB,EAAA,CACrD1G,UAAAyG,IACMT,EAAA,EAAaY,MAAAX,GAAAzH,EAAAyH,GAGnBnF,EAAA+F,aAAA,kHACA/F,EAAAgG,UAiCC,GACcC,EAAA","file":"static/js/169.a83fc56c.chunk.js","sourcesContent":["import React, { Component } from \"react\";\nimport { connect } from \"react-redux\";\nimport {\n  Card,\n  Divider,\n  Form,\n  Button,\n  Dropdown,\n  Table,\n  Checkbox,\n} from \"semantic-ui-react\";\nimport { Link } from \"react-router-dom\";\nimport { showError } from \"../../actions\";\nimport {\n  loadrvrtdeggrp,\n  loaddexmno,\n  loadqpcode,\n  loadrvrttable,\n  savervrtblock,\n} from \"../../actions/rvrtblock\";\n\nclass RVRTBlock extends Component {\n  state = {\n    deggrp: \"\",\n    semester: [],\n    subject: [],\n    frmsubmit: false,\n    table: this.props.getrvrttable,\n  };\n\n  componentDidMount = async () => {\n    await this.props.loadrvrtdeggrp();\n  };\n\n  handleCancel = async () => {\n    this.setState({\n      deggrp: \"\",\n      semester: [],\n      subject: [],\n      frmsubmit: false,\n    });\n  };\n\n  handleChangedeggrp = async (e, data) => {\n    await this.setState({\n      deggrp: data.value,\n    });\n\n    await this.props.loaddexmno(this.state.deggrp);\n  };\n\n  handleChangeSemester = async (e, data) => {\n    await this.setState({\n      semester: data.value,\n    });\n    await this.props.loadqpcode(this.state.semester);\n  };\n\n  handleChangeqp = async (e, data) => {\n    await this.setState({\n      subject: data.value,\n    });\n  };\n\n  handlechkboxchange = (e, data) => {\n    console.log(e, data);\n    // this.props.changeCheckBox(el, data);\n\n    const newarr = this.state.table.map((el, i) => {\n      if (i === data) {\n        if (e) {\n          el.frvblock = \"T\";\n        } else {\n          el.frvblock = \"F\";\n        }\n      }\n      return el;\n    });\n    this.setState({ table: newarr });\n  };\n\n  handleSave = async () => {\n    await this.props.savervrtblock(this.state.table);\n  };\n\n  handleSubmit = async () => {\n    if (this.state.deggrp === \"\") {\n      const error = { header: \"Error\", content: \"Select Degree Group\" };\n      this.props.showError(error);\n      return;\n    }\n\n    if (this.state.subject === \"\") {\n      const error = { header: \"Error\", content: \"Select Semester\" };\n      this.props.showError(error);\n      return;\n    }\n\n    if (this.state.subject === \"\") {\n      const error = { header: \"Error\", content: \"Select QP Code\" };\n      this.props.showError(error);\n      return;\n    }\n    await this.props.loadrvrttable(this.state);\n    this.setState({\n      frmsubmit: true,\n    });\n\n    await this.setState({ table: this.props.getrvrttable });\n  };\n\n  render() {\n    const { deggrp, semester, subject } = this.state;\n\n    const degreeGrpOptions = this.props.getrvrtdeggrp.map((item) => {\n      return {\n        key: item.fdeggrp,\n        value: item.fdeggrp,\n        text: item.fdescpn,\n      };\n    });\n\n    const examnooptions = this.props.getrvrtexamno.map((el, i) => {\n      return {\n        key: el.fexamno,\n        value: el.fexamno,\n        text: el.fexamname,\n      };\n    });\n\n    const qpoptions = this.props.getrvrtqpcode.map((el, i) => {\n      return {\n        key: el.fqpcode,\n        value: el.fqpcode,\n        text: el.fqpcode + \" - \" + el.fsubname,\n      };\n    });\n\n    return (\n      <div className=\"animated fadeIn\">\n        <Card fluid>\n          <Card.Content>\n            <Card.Header style={{ display: \"flex\" }}>\n              <h4>RV RT Block</h4>\n              <div className=\"ml-auto\">\n                <Button\n                  basic\n                  color=\"blue\"\n                  onClick={this.handleSave}\n                  content=\"Save\"\n                  icon=\"file\"\n                />\n                <Button\n                  basic\n                  color=\"black\"\n                  icon=\"ban\"\n                  onClick={this.handleCancel}\n                  content=\"Cancel\"\n                />\n                <Link to=\"/dashboard\">\n                  <Button basic color=\"red\" content=\"Exit\" icon=\"home\" />\n                </Link>\n              </div>\n            </Card.Header>\n            <Divider />\n            <Card.Description style={{ overflowY: `auto`, height: \"800px\" }}>\n              <div className=\"col-md-8 col-lg-8 col-sm-12\">\n                <Form>\n                  <Form.Field width={12}>\n                    <label>Degree Group</label>\n                    <Dropdown\n                      fluid\n                      search\n                      selection\n                      onChange={this.handleChangedeggrp}\n                      value={deggrp}\n                      name=\"deggrp\"\n                      placeholder=\"Degree Group\"\n                      options={degreeGrpOptions}\n                    />\n                  </Form.Field>\n                  <Form.Field width={12}>\n                    <label>Semester</label>\n                    <Dropdown\n                      fluid\n                      search\n                      multiple\n                      selection\n                      onChange={this.handleChangeSemester}\n                      value={semester}\n                      name=\"semester\"\n                      placeholder=\"Semester\"\n                      options={examnooptions}\n                    />\n                  </Form.Field>\n                  <Form.Field width={12}>\n                    <label>Subject</label>\n                    <Dropdown\n                      fluid\n                      search\n                      selection\n                      multiple\n                      onChange={this.handleChangeqp}\n                      value={subject}\n                      name=\"subject\"\n                      placeholder=\"Subject\"\n                      options={qpoptions}\n                    />\n                  </Form.Field>\n                  <Form.Field>\n                    <Button\n                      content=\"Submit\"\n                      color=\"blue\"\n                      onClick={this.handleSubmit}\n                    />\n                  </Form.Field>\n                </Form>\n                {this.state.frmsubmit ? (\n                  <Table celled padded style={{ width: \"1100px\" }}>\n                    <Table.Header>\n                      <Table.Row className=\"sticky\">\n                        <Table.HeaderCell\n                          singleLine\n                          style={{ textAlign: \"center\" }}\n                        >\n                          Sl. No.\n                        </Table.HeaderCell>\n                        <Table.HeaderCell style={{ textAlign: \"center\" }}>\n                          QP Code\n                        </Table.HeaderCell>\n                        <Table.HeaderCell style={{ textAlign: \"center\" }}>\n                          Subject Name\n                        </Table.HeaderCell>\n\n                        <Table.HeaderCell style={{ textAlign: \"center\" }}>\n                          Block\n                        </Table.HeaderCell>\n                      </Table.Row>\n                    </Table.Header>\n\n                    <Table.Body>\n                      {this.props.getrvrttable.map((el, i) => {\n                        return (\n                          <Table.Row>\n                            <Table.Cell style={{ textAlign: \"center\" }}>\n                              {i + 1}\n                            </Table.Cell>\n                            <Table.Cell style={{ textAlign: \"center\" }}>\n                              {el.fqpcode}\n                            </Table.Cell>\n                            <Table.Cell>{el.fsubname}</Table.Cell>\n                            <Table.Cell style={{ textAlign: \"center\" }}>\n                              <Checkbox\n                                onChange={(e, data) =>\n                                  this.handlechkboxchange(data.checked, i)\n                                }\n                                value={el.frvblock}\n                                checked={el.frvblock == \"T\" ? true : false}\n                              />\n                            </Table.Cell>\n                          </Table.Row>\n                        );\n                      })}\n                    </Table.Body>\n                  </Table>\n                ) : null}\n              </div>\n            </Card.Description>\n          </Card.Content>\n        </Card>\n      </div>\n    );\n  }\n}\nconst mapStateToProps = (state) => {\n  return {\n    univcode: state.univ.funivcode,\n    getrvrtdeggrp: state.getrvrtdeggrp,\n    getrvrtexamno: state.getrvrtexamno,\n    getrvrtqpcode: state.getrvrtqpcode,\n    getrvrttable: state.getrvrttable,\n  };\n};\n\nexport default connect(mapStateToProps, {\n  showError,\n  loadrvrtdeggrp,\n  loaddexmno,\n  loadqpcode,\n  loadrvrttable,\n  savervrtblock,\n})(RVRTBlock);\n","import univadmin from \"../../apis/univadmin\";\nimport { showError } from \"../index\";\n\nexport const loadrvrtdeggrp = () => {\n  return async function (dispatch, getState) {\n    const state = getState();\n    dispatch({\n      type: \"SET_LOADER\",\n    });\n    const response = await univadmin.get(\"/app.php\", {\n      params: {\n        a: \"getdeggrprvrt\",\n        univcode: state.user.fcuruniv,\n      },\n    });\n    dispatch({\n      type: \"UNSET_LOADER\",\n    });\n\n    if (typeof response.data !== \"object\") {\n      const error = {\n        header: \"Error\",\n        content: \"Something went wrong\",\n      };\n      dispatch(showError(error));\n    } else if (response.data.error_code === -1) {\n      const error = { header: \"Error\", content: response.data.data.msg };\n      dispatch(showError(error));\n    } else {\n      dispatch({\n        type: \"RVRT_DEGGRP\",\n        payload: response.data,\n      });\n    }\n  };\n};\n\nexport const loaddexmno = (deggrp) => {\n  return async function (dispatch, getState) {\n    const state = getState();\n    dispatch({\n      type: \"SET_LOADER\",\n    });\n    const response = await univadmin.get(\"/app.php\", {\n      params: {\n        a: \"getexamnorvrt\",\n        univcode: state.user.fcuruniv,\n        deggrp: deggrp,\n      },\n    });\n    dispatch({\n      type: \"UNSET_LOADER\",\n    });\n\n    if (typeof response.data !== \"object\") {\n      const error = {\n        header: \"Error\",\n        content: \"Something went wrong\",\n      };\n      dispatch(showError(error));\n    } else if (response.data.error_code === -1) {\n      const error = { header: \"Error\", content: response.data.data.msg };\n      dispatch(showError(error));\n    } else {\n      dispatch({\n        type: \"RVRT_EXAMNO\",\n        payload: response.data,\n      });\n    }\n  };\n};\n\nexport const loadqpcode = (sem) => {\n  return async function (dispatch, getState) {\n    const state = getState();\n    dispatch({\n      type: \"SET_LOADER\",\n    });\n    const response = await univadmin.get(\"/app.php\", {\n      params: {\n        a: \"getqpcodervrt\",\n        univcode: state.user.fcuruniv,\n        sem: sem,\n      },\n    });\n    dispatch({\n      type: \"UNSET_LOADER\",\n    });\n\n    if (typeof response.data !== \"object\") {\n      const error = {\n        header: \"Error\",\n        content: \"Something went wrong\",\n      };\n      dispatch(showError(error));\n    } else if (response.data.error_code === -1) {\n      const error = { header: \"Error\", content: response.data.data.msg };\n      dispatch(showError(error));\n    } else {\n      dispatch({\n        type: \"RVRT_SEM\",\n        payload: response.data,\n      });\n    }\n  };\n};\n\nexport const loadrvrttable = (data) => {\n  return async function (dispatch, getState) {\n    const state = getState();\n    dispatch({\n      type: \"SET_LOADER\",\n    });\n    const response = await univadmin.get(\"/app.php\", {\n      params: {\n        a: \"getrvrttable\",\n        univcode: state.user.fcuruniv,\n        sem: data.semester,\n        sub: data.subject,\n      },\n    });\n    dispatch({\n      type: \"UNSET_LOADER\",\n    });\n\n    if (typeof response.data !== \"object\") {\n      const error = {\n        header: \"Error\",\n        content: \"Something went wrong\",\n      };\n      dispatch(showError(error));\n    } else if (response.data.error_code === -1) {\n      const error = { header: \"Error\", content: response.data.data.msg };\n      dispatch(showError(error));\n    } else {\n      dispatch({\n        type: \"RVRT_TABLE\",\n        payload: response.data,\n      });\n    }\n  };\n};\n\nexport const savervrtblock = (data) => {\n  // console.log(regno, collname, oldname, newname, ddstatus.status);\n  return async function (dispatch, getState) {\n    const state = getState();\n\n    const response = await univadmin.post(\n      \"/app.php?a=saveRVRTBlock&univcode=\" + state.univ.funivcode,\n      {\n        data: data,\n      }\n    );\n\n    dispatch({\n      type: \"UNSET_LOADER\",\n    });\n\n    if (typeof response.data !== \"object\") {\n      const error = {\n        header: \"Error\",\n        content: \"Something went wrong\",\n      };\n      dispatch(showError(error));\n    } else if (response.data.error_code === -1) {\n      const error = { header: \"Error\", content: response.data.data.msg };\n      dispatch(showError(error));\n    } else {\n      const error = { header: \"Success\", content: response.data.data.msg };\n      dispatch(showError(error));\n    }\n  };\n};\n","import _extends from \"@babel/runtime/helpers/extends\";\nimport cx from 'classnames';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport { childrenUtils, customPropTypes, getElementType, getUnhandledProps, useKeyOnly } from '../../lib';\n/**\n * A divider visually segments content into groups.\n */\n\nfunction Divider(props) {\n  var children = props.children,\n      className = props.className,\n      clearing = props.clearing,\n      content = props.content,\n      fitted = props.fitted,\n      hidden = props.hidden,\n      horizontal = props.horizontal,\n      inverted = props.inverted,\n      section = props.section,\n      vertical = props.vertical;\n  var classes = cx('ui', useKeyOnly(clearing, 'clearing'), useKeyOnly(fitted, 'fitted'), useKeyOnly(hidden, 'hidden'), useKeyOnly(horizontal, 'horizontal'), useKeyOnly(inverted, 'inverted'), useKeyOnly(section, 'section'), useKeyOnly(vertical, 'vertical'), 'divider', className);\n  var rest = getUnhandledProps(Divider, props);\n  var ElementType = getElementType(Divider, props);\n  return React.createElement(ElementType, _extends({}, rest, {\n    className: classes\n  }), childrenUtils.isNil(children) ? content : children);\n}\n\nDivider.handledProps = [\"as\", \"children\", \"className\", \"clearing\", \"content\", \"fitted\", \"hidden\", \"horizontal\", \"inverted\", \"section\", \"vertical\"];\nDivider.propTypes = process.env.NODE_ENV !== \"production\" ? {\n  /** An element type to render as (string or function). */\n  as: customPropTypes.as,\n\n  /** Primary content. */\n  children: PropTypes.node,\n\n  /** Additional classes. */\n  className: PropTypes.string,\n\n  /** Divider can clear the content above it. */\n  clearing: PropTypes.bool,\n\n  /** Shorthand for primary content. */\n  content: customPropTypes.contentShorthand,\n\n  /** Divider can be fitted without any space above or below it. */\n  fitted: PropTypes.bool,\n\n  /** Divider can divide content without creating a dividing line. */\n  hidden: PropTypes.bool,\n\n  /** Divider can segment content horizontally. */\n  horizontal: PropTypes.bool,\n\n  /** Divider can have its colours inverted. */\n  inverted: PropTypes.bool,\n\n  /** Divider can provide greater margins to divide sections of content. */\n  section: PropTypes.bool,\n\n  /** Divider can segment content vertically. */\n  vertical: PropTypes.bool\n} : {};\nexport default Divider;"],"sourceRoot":""}