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


Current Path : /var/www/egov/build/static/js/
Upload File :
Current File : /var/www/egov/build/static/js/164.ecb56c28.chunk.js.map

{"version":3,"sources":["pages/masters/subject/SubjectReports.js","../node_modules/semantic-ui-react/dist/es/elements/Divider/Divider.js"],"names":["SubjectReports","state","fdegfrm","fdegto","fdeggrpfrm","_this","props","user","fdeggrp","fdeggrpto","fboardfrm","fboardto","fqpfrm","fqpto","fsemRng","frmDeggrp","reportType","frmSubmit","getDegrees","e","data","setState","value","handleChange","type","Object","_Users_prashanth_univadmin_react_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__","name","handleSubmit","getReport","showError","header","content","handleReport","_this$state","fsemno","split","join","console","log","window","open","ReportAPI","univcode","handleCancel","reportFormat","renderHeader","react__WEBPACK_IMPORTED_MODULE_6___default","a","createElement","semantic_ui_react__WEBPACK_IMPORTED_MODULE_8__","Header","style","display","className","semantic_ui_react__WEBPACK_IMPORTED_MODULE_9__","basic","color","onClick","icon","react_router_dom__WEBPACK_IMPORTED_MODULE_7__","to","_this$state2","this","wheight","wHeight","fluid","Content","semantic_ui_react__WEBPACK_IMPORTED_MODULE_10__","Description","overflowY","height","concat","semantic_ui_react__WEBPACK_IMPORTED_MODULE_11__","Group","Field","width","semantic_ui_react__WEBPACK_IMPORTED_MODULE_12__","placeholder","selection","search","options","text","onChange","Input","label","marginTop","maxLength","Component","connect","deggrp","collegeReport","univ","funivcode","menu","fetchDegGrp","_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__","Divider","children","clearing","fitted","hidden","horizontal","inverted","section","vertical","classes","rest","ElementType","isNil","handledProps","propTypes","__webpack_exports__"],"mappings":"yQASMA,6MACJC,MAAQ,CACNC,QAAS,IACTC,OAAQ,QACRC,WAAYC,EAAKC,MAAMC,KAAKC,QAC5BC,UAAWJ,EAAKC,MAAMC,KAAKC,QAC3BE,UAAW,IACXC,SAAU,QACVC,OAAQ,IACRC,MAAO,QACPC,QAAS,SACTC,UAAW,GACXC,WAAY,wBACZC,WAAW,KAGbC,WAAa,SAACC,EAAGC,GAEff,EAAKgB,SAAS,CAAEN,UAAWK,EAAKE,WAGlCC,aAAe,SAACJ,EAAGC,GACjB,OAAQA,EAAKI,MACX,IAAK,OACHnB,EAAKgB,SAALI,OAAAC,EAAA,EAAAD,CAAA,GAAiBL,EAAKO,KAAOP,EAAKE,QACpC,QACEjB,EAAKgB,SAALI,OAAAC,EAAA,EAAAD,CAAA,GAAiBL,EAAKO,KAAOP,EAAKE,QAEtCjB,EAAKgB,SAAS,CAAEJ,WAAW,OAG7BW,aAAe,WAAM,IACXpB,EAAYH,EAAKC,MAAMC,KAAvBC,QACAQ,EAAeX,EAAKJ,MAApBe,WACR,GAAgB,KAAZR,EAKJH,EAAKC,MAAMuB,UAAUb,EAAY,SAAUR,GAC3CH,EAAKgB,SAAS,CAAEJ,WAAW,QAN3B,CAEEZ,EAAKC,MAAMwB,UADG,CAAEC,OAAQ,QAASC,QAAS,4BAQ9CC,aAAe,WAAM,IACXzB,EAAYH,EAAKC,MAAMC,KAAvBC,QADW0B,EAEyF7B,EAAKJ,MAAzGe,EAFWkB,EAEXlB,WAAYZ,EAFD8B,EAEC9B,WAAYK,EAFbyB,EAEazB,UAAWP,EAFxBgC,EAEwBhC,QAASC,EAFjC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,IAAE,KAAO5E,OAAA+E,EAAA,EAAA/E,CAAUqF,EAAA,YAAwBrF,OAAA+E,EAAA,EAAA/E,CAAUsF,EAAA,UAAoBtF,OAAA+E,EAAA,EAAA/E,CAAUuF,EAAA,UAAoBvF,OAAA+E,EAAA,EAAA/E,CAAUwF,EAAA,cAA4BxF,OAAA+E,EAAA,EAAA/E,CAAUyF,EAAA,YAAwBzF,OAAA+E,EAAA,EAAA/E,CAAU0F,EAAA,WAAsB1F,OAAA+E,EAAA,EAAA/E,CAAU2F,EAAA,sBAAA9D,GACzOgE,EAAa7F,OAAAgF,EAAA,EAAAhF,CAAiBmF,EAAAtG,GAC9BiH,EAAoB9F,OAAAiF,EAAA,EAAAjF,CAAcmF,EAAAtG,GAClC,OAASiG,EAAAvD,EAAKC,cAAAsE,EAA4BrB,IAAQ,GAAGoB,EAAA,CACrDhE,UAAA+D,IACMV,EAAA,EAAaa,MAAAX,GAAA7E,EAAA6E,GAGnBD,EAAAa,aAAA,kHACAb,EAAAc,UAiCC,GACcC,EAAA","file":"static/js/164.ecb56c28.chunk.js","sourcesContent":["import React, { Component } from \"react\";\nimport { Link } from \"react-router-dom\";\nimport { Card, Button, Form, Dropdown, Divider } from \"semantic-ui-react\";\nimport { connect } from \"react-redux\";\nimport { fetchDegGrp, getReport } from \"../../../actions\";\nimport { ReportAPI } from \"../../../apis/consts\";\nimport { showError } from \"../../../actions\";\nimport { wHeight } from \"../../parms\";\n\nclass SubjectReports extends Component {\n  state = {\n    fdegfrm: '0',\n    fdegto: 'zzzzz',\n    fdeggrpfrm: this.props.user.fdeggrp,\n    fdeggrpto: this.props.user.fdeggrp,\n    fboardfrm: '0',\n    fboardto: 'zzzzz',\n    fqpfrm: '0',\n    fqpto: 'zzzzz',\n    fsemRng: 'ABCDEF',\n    frmDeggrp: \"\",\n    reportType: \"degreeWiseSubjectList\",\n    frmSubmit: false\n  };\n\n  getDegrees = (e, data) => {\n    // console.log(data.value);\n    this.setState({ frmDeggrp: data.value });\n  };\n\n  handleChange = (e, data) => {\n    switch (data.type) {\n      case \"text\":\n        this.setState({ [data.name]: data.value });\n      default:\n        this.setState({ [data.name]: data.value });\n    }\n    this.setState({ frmSubmit: false });\n  };\n\n  handleSubmit = () => {\n    const { fdeggrp } = this.props.user;\n    const { reportType } = this.state;\n    if (fdeggrp === \"\") {\n      const error = { header: \"Error\", content: \"Select Degree Group\" };\n      this.props.showError(error);\n      return;\n    }\n    this.props.getReport(reportType, \"tables\", fdeggrp);\n    this.setState({ frmSubmit: true });\n  };\n\n  handleReport = () => {\n    const { fdeggrp } = this.props.user;\n    const { reportType, fdeggrpfrm, fdeggrpto, fdegfrm, fdegto, fsemRng, fboardfrm, fboardto, fqpfrm, fqpto } = this.state;\n    if (fdeggrp === \"\") {\n      const error = { header: \"Error\", content: \"Select Degree Group\" };\n      this.props.showError(error);\n      return;\n    }\n    let fsemno = fsemRng.split(\"\").join(\"','\");\n    console.log(\"kjLashfkj \", fsemno);\n    window.open(\n      ReportAPI +\n      reportType +\n      \"&univcode=\" +\n      this.props.univcode +\n      \"&deggrp=\" +\n      fdeggrp +\n      \"&deggrpfrm=\" +\n      fdeggrpfrm +\n      \"&deggrpto=\" +\n      fdeggrpto +\n      \"&degfrm=\" +\n      fdegfrm +\n      \"&degto=\" +\n      fdegto +\n      \"&semRng=\" +\n      fsemno +\n      \"&boardfrm=\" +\n      fboardfrm +\n      \"&boardto=\" +\n      fboardto +\n      \"&qpfrm=\" +\n      fqpfrm +\n      \"&qpto=\" +\n      fqpto +\n      \"&format=\" +\n      \"PDF\",\n      \"_blank\"\n    );\n  };\n\n  handleCancel = () => {\n    this.setState({\n      fdeggrpfrm: this.props.user.fdeggrp,\n      fdeggrpto: this.props.user.fdeggrp,\n      fdegfrm: '0',\n      fdegto: 'zzzzz',\n      fsemRng: 'ABCDEF',\n      fboardfrm: '0',\n      fboardto: 'zzzzz',\n      fqpfrm: '0',\n      fqpto: 'zzzzz',\n      reportType: \"degreeWiseSubjectList\",\n      reportFormat: \"\",\n      frmDeggrp: \"\"\n    });\n  };\n\n  renderHeader = () => {\n    console.log(\"hgjfdf\", this.state.fdeggrpto.fdeggrp);\n    return (\n      <Card.Header style={{ display: \"flex\" }}>\n        <h3>Subject Reports</h3>\n        <div className=\"ml-auto\">\n          <Button\n            basic\n            color=\"blue\"\n            onClick={this.handleReport}\n            content=\"Report\"\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    );\n  };\n\n  render() {\n    const { frmSubmit, reportType, fdeggrpfrm, fdeggrpto, fdegfrm, fdegto, fsemRng, fboardfrm, fboardto, fqpfrm, fqpto } = this.state;\n\n    const reporttypeOptions = [\n      { value: \"degreeWiseSubjectList\", text: \"Degree Wise Subject List\" },\n      { value: \"qpWiseSubjectList\", text: \"QP Wise Subject List\" },\n      { value: \"mainSubjectLevelList\", text: \"Main Subject Level List\" }\n    ];\n    const wheight = wHeight();\n    console.log(reportType, frmSubmit);\n    return (\n      <div className=\"animated fadeIn\">\n        <Card fluid>\n          <Card.Content>\n            {this.renderHeader()}\n            <Divider />\n            <Card.Description\n              style={{ overflowY: \"auto\", height: `${wheight}px` }}\n            >\n              <div className=\"col-md-6\">\n                <Form>\n                  <Form.Group>\n                    <Form.Field width={16}>\n                      <label>Report Type</label>\n                      <Dropdown\n                        placeholder=\"Select Report Type\"\n                        name=\"reportType\"\n                        value={reportType}\n                        selection\n                        search\n                        options={reporttypeOptions}\n                        onChange={this.handleChange}\n                      />\n                    </Form.Field>\n                  </Form.Group>\n                  <Form.Group>\n                    <Form.Input\n                      placeholder=\"From\"\n                      value={fdeggrpfrm}\n                      width={8}\n                      name=\"fdeggrpfrm\"\n                      onChange={this.handleChange}\n                      label=\"Degree Group Range\"\n                    />\n                    <Form.Input\n                      placeholder=\"To\"\n                      name=\"fdeggrpto\"\n                      value={fdeggrpto}\n                      width={8}\n                      onChange={this.handleChange}\n                      style={{ marginTop: \"1.6em\" }}\n                    />\n                  </Form.Group>\n                  {(this.state.reportType == 'degreeWiseSubjectList' || this.state.reportType == 'mainSubjectLevelList') ? (\n                    <div>\n                      <Form.Group>\n                        <Form.Input\n                          placeholder=\"From\"\n                          value={fdegfrm}\n                          width={8}\n                          name=\"fdegfrm\"\n                          onChange={this.handleChange}\n                          label=\"Degree Range\"\n                        />\n                        <Form.Input\n                          placeholder=\"To\"\n                          name=\"fdegto\"\n                          value={fdegto}\n                          width={8}\n                          onChange={this.handleChange}\n                          style={{ marginTop: \"1.6em\" }}\n                        />\n                      </Form.Group>\n                      <Form.Group>\n                        <Form.Input\n                          value={fsemRng}\n                          width={16}\n                          name=\"fsemRng\"\n                          onChange={this.handleChange}\n                          label=\"Semester Range (Ex.:ABCDEF)\"\n                        />\n                      </Form.Group>\n                    </div>\n                  ) : null}\n\n                  {this.state.reportType == 'qpWiseSubjectList' ? (\n                    <div>\n                      <Form.Group>\n                        <Form.Input\n                          placeholder=\"From\"\n                          value={fboardfrm}\n                          width={8}\n                          name=\"fboardfrm\"\n                          onChange={this.handleChange}\n                          label=\"Board Range\"\n                        />\n                        <Form.Input\n                          placeholder=\"To\"\n                          name=\"fboardto\"\n                          value={fboardto}\n                          width={8}\n                          onChange={this.handleChange}\n                          style={{ marginTop: \"1.6em\" }}\n                        />\n                      </Form.Group>\n                      <Form.Group>\n                        <Form.Input\n                          placeholder=\"From\"\n                          value={fqpfrm}\n                          width={8}\n                          name=\"fqpfrm\"\n                          onChange={this.handleChange}\n                          maxLength=\"5\"\n                          label=\"QP Range\"\n                        />\n                        <Form.Input\n                          placeholder=\"To\"\n                          name=\"fqpto\"\n                          value={fqpto}\n                          width={8}\n                          onChange={this.handleChange}\n                          maxLength=\"5\"\n                          style={{ marginTop: \"1.6em\" }}\n                        />\n                      </Form.Group>\n                    </div>\n                  ) : null}\n                </Form>\n              </div>\n            </Card.Description>\n          </Card.Content>\n        </Card>\n      </div>\n    );\n  }\n}\n\nconst mapStateToProps = state => {\n  return {\n    deggrp: state.deggrp,\n    collegeReport: state.collegeReport,\n    univcode: state.univ.funivcode,\n    user: state.user,\n    menu: state.menu\n  };\n};\nexport default connect(\n  mapStateToProps,\n  {\n    fetchDegGrp,\n    getReport,\n    showError\n  }\n)(SubjectReports);\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":""}