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


Current Path : /var/www/egov/build/static/js/
Upload File :
Current File : /var/www/egov/build/static/js/87.fa3b7fce.chunk.js.map

{"version":3,"sources":["pages/admission/intake-report/index.js","../node_modules/semantic-ui-react/dist/es/elements/Divider/Divider.js","pages/admission/intake-report/intake_report.js"],"names":["IntRpt","_Component","_getPrototypeOf2","_this","_classCallCheck","this","_len","arguments","length","args","Array","_key","_possibleConstructorReturn","_getPrototypeOf","call","apply","concat","state","frmDeggrp","reportType","fdeggrpfrm","fdeggrpto","fcollfrm","fcollto","displayTbl","getDegrees","e","data","setState","value","handleChange","type","_defineProperty","name","handleSubmit","fdeggrp","props","user","_this$state","getReport","showError","header","content","handleReport","_this$state2","window","open","ReportAPI","univcode","handleCancel","reportFormat","renderHeader","React","createElement","Card","Header","style","display","className","Button","basic","color","onClick","icon","Link","to","renderForm","_this$state3","wheight","wHeight","fluid","Content","Divider","Description","overflowY","height","Form","Group","Input","placeholder","width","onChange","label","marginTop","Field","Dropdown","selection","search","options","text","IntakeReport","reportdet","collegeReport","rtype","_inherits","_createClass","key","Component","connect","deggrp","univ","funivcode","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__","children","clearing","fitted","hidden","horizontal","inverted","section","vertical","classes","Object","rest","ElementType","a","isNil","handledProps","propTypes","__webpack_exports__","colgdet","searchVal","searchTable","string","searchPrbatch","filter","o","keys","some","k","toLowerCase","includes","renderTable","report","marginBottom","backgroundColor","fontSize","Table","celled","padded","selectable","size","Row","textAlign","HeaderCell","Body","map","el","i","overflow","Cell","fcollcode","fcollname","town","fprincipalname","fmobile","faltmobile","femail","renderTaggedTable","structured","rowSpan","colSpan","cnt_code","center_name","cnt_contact","tagged_code","tagged_colg_name","tagged_contact","prevProps"],"mappings":"0RAUMA,EAAM,SAAAC,GAAA,SAAAD,IAAA,IAAAE,EAAAC,EAAAC,YAAAC,KAAAL,GAAA,QAAAM,EAAAC,UAAAC,OAAAC,EAAA,IAAAC,MAAAJ,GAAAK,EAAA,EAAAA,EAAAL,EAAAK,IAAAF,EAAAE,GAAAJ,UAAAI,GAiOT,OAjOSR,EAAAS,YAAAP,MAAAH,EAAAW,YAAAb,IAAAc,KAAAC,MAAAb,EAAA,CAAAG,MAAAW,OAAAP,MACVQ,MAAQ,CACNC,UAAW,GACXC,WAAY,eACZC,WAAY,IACZC,UAAW,QACXC,SAAU,IACVC,QAAS,QACTC,YAAY,GACbrB,EAEDsB,WAAa,SAACC,EAAGC,GACfxB,EAAKyB,SAAS,CAAEV,UAAWS,EAAKE,SACjC1B,EAED2B,aAAe,SAACJ,EAAGC,GACjB,OAAQA,EAAKI,MACX,IAAK,OACH5B,EAAKyB,SAAQI,YAAA,GACVL,EAAKM,KAAON,EAAKE,QAEtB,QACE1B,EAAKyB,SAAQI,YAAA,GACVL,EAAKM,KAAON,EAAKE,QAGxB1B,EAAKyB,SAAS,CAAEJ,YAAY,KAC7BrB,EAED+B,aAAe,WAAM,IACXC,EAAYhC,EAAKiC,MAAMC,KAAvBF,QAAOG,EACkDnC,EAAKc,MAA9DE,EAAUmB,EAAVnB,WAAYC,EAAUkB,EAAVlB,WAAYC,EAASiB,EAATjB,UAAWC,EAAQgB,EAARhB,SAAUC,EAAOe,EAAPf,QACrD,GAAgB,KAAZY,EAKJhC,EAAKiC,MAAMG,UACTpB,EACA,S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IC,GACf,OACE5G,IAAAC,cAACgG,IAAMK,IAAG,CAAC1D,IAAKgE,EAAGxG,MAAO,CAAEyG,SAAU,WACpC7G,IAAAC,cAACgG,IAAMa,KAAI,CAACP,UAAU,UAAUK,EAAI,GACpC5G,IAAAC,cAACgG,IAAMa,KAAI,KAAEH,EAAGe,UAChB1H,IAAAC,cAACgG,IAAMa,KAAI,KAAEH,EAAGgB,aAChB3H,IAAAC,cAACgG,IAAMa,KAAI,KAAEH,EAAGiB,aAChB5H,IAAAC,cAACgG,IAAMa,KAAI,KAAEH,EAAGkB,aAChB7H,IAAAC,cAACgG,IAAMa,KAAI,KAAEH,EAAGmB,kBAChB9H,IAAAC,cAACgG,IAAMa,KAAI,KAAEH,EAAGoB,wBASjChL,EAWA,OA5Je2F,YAAAJ,EAAAzF,GAiJf8F,YAAAL,EAAA,EAAAM,IAAA,oBAAAnE,MAAA,WA7ICxB,KAAKuB,SAAS,CAAEwG,QAAS/H,KAAK+B,MAAMuD,cACrC,CAAAK,IAAA,qBAAAnE,MAAA,SAEkBuJ,GACb/K,KAAK+B,MAAMuD,YAAcyF,EAAUzF,WACrCtF,KAAKuB,SAAS,CAAEwG,QAAS/H,KAAK+B,MAAMuD,cAEvC,CAAAK,IAAA,SAAAnE,MAAA,WAwIC,OAA4B,MAAxBxB,KAAK+B,MAAMuD,UAA0B,KAEd,OAAzBtF,KAAK+B,MAAMuD,WACS,oCAApBtF,KAAK+B,MAAMyD,MAEJxF,KAAKqK,oBAELrK,KAAK2I,kBAEftD,EA5Je,CAASO,cA+JZP","file":"static/js/87.fa3b7fce.chunk.js","sourcesContent":["import React, { Component } from \"react\";\r\nimport { Link } from \"react-router-dom\";\r\nimport { Card, Button, Form, Dropdown, Divider } from \"semantic-ui-react\";\r\nimport { connect } from \"react-redux\";\r\nimport { fetchDegGrp, getReport } from \"../../../actions\";\r\nimport IntakeReport from \"./intake_report\";\r\nimport { ReportAPI } from \"../../../apis/consts\";\r\nimport { showError } from \"../../../actions\";\r\nimport { wHeight } from \"../../parms\";\r\n\r\nclass IntRpt extends Component {\r\n  state = {\r\n    frmDeggrp: \"\",\r\n    reportType: \"College Wise\",\r\n    fdeggrpfrm: \"0\",\r\n    fdeggrpto: \"zzzzz\",\r\n    fcollfrm: \"0\",\r\n    fcollto: \"zzzzz\",\r\n    displayTbl: false,\r\n  };\r\n\r\n  getDegrees = (e, data) => {\r\n    this.setState({ frmDeggrp: data.value });\r\n  };\r\n\r\n  handleChange = (e, data) => {\r\n    switch (data.type) {\r\n      case \"text\":\r\n        this.setState({\r\n          [data.name]: data.value,\r\n        });\r\n      default:\r\n        this.setState({\r\n          [data.name]: data.value,\r\n        });\r\n    }\r\n    this.setState({ displayTbl: false });\r\n  };\r\n\r\n  handleSubmit = () => {\r\n    const { fdeggrp } = this.props.user;\r\n    const { reportType, fdeggrpfrm, fdeggrpto, fcollfrm, fcollto } = this.state;\r\n    if (fdeggrp === \"\") {\r\n      const error = { header: \"Error\", content: \"Select Degree Group\" };\r\n      this.props.showError(error);\r\n      return;\r\n    }\r\n    this.props.getReport(\r\n      reportType,\r\n      \"tables\",\r\n      fdeggrp,\r\n      fdeggrpfrm,\r\n      fdeggrpto,\r\n      fcollfrm,\r\n      fcollto\r\n    );\r\n    this.setState({ displayTbl: true });\r\n  };\r\n\r\n  handleReport = () => {\r\n    const { fdeggrp } = this.props.user;\r\n    const { reportType, fdeggrpfrm, fdeggrpto, fcollfrm, fcollto } = this.state;\r\n    if (fdeggrp === \"\") {\r\n      const error = { header: \"Error\", content: \"Select Degree Group\" };\r\n      this.props.showError(error);\r\n      return;\r\n    }\r\n\r\n    // &univcode=041\r\n    // &deggrp=UG\r\n    // &format=PDF\r\n    // &fcollfrom=0\r\n    // &fcollto=ZZZZ\r\n    // &fdegfrom=0\r\n    // &fdegto=ZZZZ\r\n    // &fdeggrpfrom=UG\r\n    // &fdeggrpto=UG\r\n    // &fsubfrom=0\r\n    // &fsubto=ZZZZ\r\n    // &fexamrange=A%27,%27B%27,%27C%27,%27D%27,%27E%27,%27F\r\n    window.open(\r\n      ReportAPI +\r\n        \"admissioncombinationwiseintake\" +\r\n        \"&univcode=\" +\r\n        this.props.univcode +\r\n        \"&deggrp=\" +\r\n        fdeggrp +\r\n        \"&fdeggrpfrom=\" +\r\n        fdeggrpfrm +\r\n        \"&fdeggrpto=\" +\r\n        fdeggrpto +\r\n        \"&fcollfrom=\" +\r\n        fcollfrm +\r\n        \"&fcollto=\" +\r\n        fcollto +\r\n        \"&val=\" +\r\n        reportType +\r\n        \"&format=\" +\r\n        \"PDF\",\r\n      \"_blank\"\r\n    );\r\n  };\r\n\r\n  handleCancel = () => {\r\n    this.setState({\r\n      reportType: \"\",\r\n      fdeggrpfrm: \"0\",\r\n      fdeggrpto: \"zzzzz\",\r\n      fcollfrm: \"0\",\r\n      fcollto: \"zzzzz\",\r\n      reportFormat: \"\",\r\n      frmDeggrp: \"\",\r\n    });\r\n  };\r\n\r\n  renderHeader = () => {\r\n    return (\r\n      <Card.Header style={{ display: \"flex\" }}>\r\n        <h3>Intake Report</h3>\r\n        <div className=\"ml-auto\">\r\n          <Button\r\n            basic\r\n            color=\"blue\"\r\n            onClick={this.handleReport}\r\n            content=\"Report\"\r\n            icon=\"file\"\r\n          />\r\n          <Button\r\n            basic\r\n            color=\"black\"\r\n            icon=\"ban\"\r\n            onClick={this.handleCancel}\r\n            content=\"Cancel\"\r\n          />\r\n          <Link to=\"/dashboard\">\r\n            <Button basic color=\"red\" content=\"Exit\" icon=\"home\" />\r\n          </Link>\r\n        </div>\r\n      </Card.Header>\r\n    );\r\n  };\r\n\r\n  renderForm = () => {\r\n    const { displayTbl, reportType, fdeggrpfrm, fdeggrpto, fcollfrm, fcollto } =\r\n      this.state;\r\n\r\n    const reporttypeOptions = [\r\n      { value: \"College Wise\", text: \"College Wise\" },\r\n      { value: \"Degree Wise\", text: \"Degree Wise\" },\r\n    ];\r\n    const wheight = wHeight();\r\n    return (\r\n      <div className=\"animated fadeIn\">\r\n        <Card fluid>\r\n          <Card.Content>\r\n            {this.renderHeader()}\r\n            <Divider />\r\n            <Card.Description\r\n              style={{ overflowY: \"auto\", height: `${wheight}px` }}\r\n            >\r\n              <div className=\"col-md-6\">\r\n                <Form>\r\n                  {reportType == \"College Wise\" ? (\r\n                    <div>\r\n                      <Form.Group>\r\n                        <Form.Input\r\n                          placeholder=\"From\"\r\n                          value={fcollfrm}\r\n                          width={8}\r\n                          name=\"fcollfrm\"\r\n                          onChange={this.handleChange}\r\n                          label=\"College Code Range\"\r\n                        />\r\n                        <Form.Input\r\n                          placeholder=\"To\"\r\n                          name=\"fcollto\"\r\n                          value={fcollto}\r\n                          width={8}\r\n                          onChange={this.handleChange}\r\n                          style={{ marginTop: \"1.6em\" }}\r\n                        />\r\n                      </Form.Group>\r\n                    </div>\r\n                  ) : null}\r\n                  <Form.Group>\r\n                    <Form.Input\r\n                      placeholder=\"From\"\r\n                      value={fdeggrpfrm}\r\n                      width={8}\r\n                      name=\"fdeggrpfrm\"\r\n                      onChange={this.handleChange}\r\n                      label=\"Degree Group Range\"\r\n                    />\r\n                    <Form.Input\r\n                      placeholder=\"To\"\r\n                      name=\"fdeggrpto\"\r\n                      value={fdeggrpto}\r\n                      width={8}\r\n                      onChange={this.handleChange}\r\n                      style={{ marginTop: \"1.6em\" }}\r\n                    />\r\n                  </Form.Group>\r\n\r\n                  <Form.Group>\r\n                    <Form.Field width={16}>\r\n                      <label>Report Type</label>\r\n                      <Dropdown\r\n                        placeholder=\"Select Report Type\"\r\n                        name=\"reportType\"\r\n                        value={reportType}\r\n                        selection\r\n                        search\r\n                        options={reporttypeOptions}\r\n                        onChange={this.handleChange}\r\n                      />\r\n                    </Form.Field>\r\n                  </Form.Group>\r\n\r\n                  {/* <Button color=\"blue\" onClick={this.handleSubmit}>\r\n                    Submit\r\n                  </Button> */}\r\n                  <br />\r\n                </Form>\r\n              </div>\r\n              {displayTbl ? (\r\n                <IntakeReport\r\n                  reportdet={this.props.collegeReport}\r\n                  rtype={reportType}\r\n                />\r\n              ) : null}\r\n            </Card.Description>\r\n          </Card.Content>\r\n        </Card>\r\n      </div>\r\n    );\r\n  };\r\n  render() {\r\n    return this.renderForm();\r\n  }\r\n}\r\n\r\nconst mapStateToProps = (state) => {\r\n  return {\r\n    deggrp: state.deggrp,\r\n    collegeReport: state.collegeReport,\r\n    univcode: state.univ.funivcode,\r\n    user: state.user,\r\n  };\r\n};\r\nexport default connect(mapStateToProps, {\r\n  fetchDegGrp,\r\n  getReport,\r\n  showError,\r\n})(IntRpt);\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;","import React, { Component } from \"react\";\r\nimport { Table, Input } from \"semantic-ui-react\";\r\nimport \"react-table/react-table.css\";\r\nimport \"../../../index.css\";\r\n\r\nclass IntakeReport extends Component {\r\n  state = { colgdet: [], searchVal: \"\" };\r\n\r\n  componentDidMount() {\r\n    this.setState({ colgdet: this.props.reportdet });\r\n  }\r\n\r\n  componentDidUpdate(prevProps) {\r\n    if (this.props.reportdet !== prevProps.reportdet) {\r\n      this.setState({ colgdet: this.props.reportdet });\r\n    }\r\n  }\r\n\r\n  searchTable = (e, data) => {\r\n    const string = data.value;\r\n    const searchPrbatch = this.props.reportdet.filter((o) =>\r\n      Object.keys(o).some((k) =>\r\n        o[k].toLowerCase().includes(string.toLowerCase())\r\n      )\r\n    );\r\n    this.setState({ colgdet: searchPrbatch, searchVal: data.value });\r\n  };\r\n\r\n  renderTable = () => {\r\n    const report = this.state.colgdet;\r\n    return (\r\n      <div className=\"mt-3\">\r\n        <hr />\r\n        <div\r\n          style={{\r\n            marginBottom: \"1em\",\r\n            backgroundColor: \"white\",\r\n          }}\r\n          className=\"stick\"\r\n        >\r\n          <Input\r\n            icon=\"search\"\r\n            fluid\r\n            placeholder=\"Search...\"\r\n            onChange={this.searchTable}\r\n            value={this.state.searchVal}\r\n            style={{ fontSize: \"1.1em\" }}\r\n          />\r\n        </div>\r\n        <div>\r\n          <Table\r\n            celled\r\n            padded\r\n            selectable\r\n            size=\"small\"\r\n            color=\"olive\"\r\n            className=\"tbl sticky\"\r\n          >\r\n            <Table.Header>\r\n              <Table.Row textAlign=\"center\">\r\n                <Table.HeaderCell>Sl.No.</Table.HeaderCell>\r\n                <Table.HeaderCell>College Code</Table.HeaderCell>\r\n                <Table.HeaderCell>College Name</Table.HeaderCell>\r\n                <Table.HeaderCell>Town</Table.HeaderCell>\r\n                <Table.HeaderCell>Principal Name</Table.HeaderCell>\r\n                <Table.HeaderCell>Mobile</Table.HeaderCell>\r\n                <Table.HeaderCell>Alt. Contact</Table.HeaderCell>\r\n                <Table.HeaderCell>Email Id</Table.HeaderCell>\r\n              </Table.Row>\r\n            </Table.Header>\r\n            <Table.Body>\r\n              {report.map((el, i) => {\r\n                return (\r\n                  <Table.Row key={i} style={{ overflow: \"hidden\" }}>\r\n                    <Table.Cell textAlign=\"center\">{i + 1}</Table.Cell>\r\n                    <Table.Cell>{el.fcollcode}</Table.Cell>\r\n                    <Table.Cell>{el.fcollname}</Table.Cell>\r\n                    <Table.Cell>{el.town}</Table.Cell>\r\n                    <Table.Cell>{el.fprincipalname}</Table.Cell>\r\n                    <Table.Cell>{el.fmobile}</Table.Cell>\r\n                    <Table.Cell>{el.faltmobile}</Table.Cell>\r\n                    <Table.Cell>{el.femail}</Table.Cell>\r\n                  </Table.Row>\r\n                );\r\n              })}\r\n            </Table.Body>\r\n          </Table>\r\n        </div>\r\n      </div>\r\n    );\r\n  };\r\n\r\n  renderTaggedTable = () => {\r\n    const report = this.state.colgdet;\r\n\r\n    return (\r\n      <div className=\"mt-3\">\r\n        <hr />\r\n        <div\r\n          style={{\r\n            marginBottom: \"1em\",\r\n            backgroundColor: \"white\",\r\n          }}\r\n          className=\"stick\"\r\n        >\r\n          <Input\r\n            icon=\"search\"\r\n            fluid\r\n            placeholder=\"Search...\"\r\n            onChange={this.searchTable}\r\n            value={this.state.searchVal}\r\n            style={{ fontSize: \"1.1em\" }}\r\n          />\r\n        </div>\r\n        <div>\r\n          <Table celled padded selectable structured size=\"small\" color=\"olive\">\r\n            <Table.Header>\r\n              <Table.Row textAlign=\"center\">\r\n                <Table.HeaderCell rowSpan=\"2\">Sl.No.</Table.HeaderCell>\r\n                <Table.HeaderCell colSpan=\"3\">Center</Table.HeaderCell>\r\n                <Table.HeaderCell colSpan=\"3\">Tagged Colleges</Table.HeaderCell>\r\n              </Table.Row>\r\n              <Table.Row textAlign=\"center\">\r\n                <Table.HeaderCell>Code</Table.HeaderCell>\r\n                <Table.HeaderCell>Name</Table.HeaderCell>\r\n                <Table.HeaderCell>Contact</Table.HeaderCell>\r\n                <Table.HeaderCell>Code</Table.HeaderCell>\r\n                <Table.HeaderCell>Name</Table.HeaderCell>\r\n                <Table.HeaderCell>Contact</Table.HeaderCell>\r\n              </Table.Row>\r\n            </Table.Header>\r\n            <Table.Body>\r\n              {report.map((el, i) => {\r\n                return (\r\n                  <Table.Row key={i} style={{ overflow: \"hidden\" }}>\r\n                    <Table.Cell textAlign=\"center\">{i + 1}</Table.Cell>\r\n                    <Table.Cell>{el.cnt_code}</Table.Cell>\r\n                    <Table.Cell>{el.center_name}</Table.Cell>\r\n                    <Table.Cell>{el.cnt_contact}</Table.Cell>\r\n                    <Table.Cell>{el.tagged_code}</Table.Cell>\r\n                    <Table.Cell>{el.tagged_colg_name}</Table.Cell>\r\n                    <Table.Cell>{el.tagged_contact}</Table.Cell>\r\n                  </Table.Row>\r\n                );\r\n              })}\r\n            </Table.Body>\r\n          </Table>\r\n        </div>\r\n      </div>\r\n    );\r\n  };\r\n  render() {\r\n    if (this.props.reportdet == null) return null;\r\n    else if (\r\n      this.props.reportdet !== null &&\r\n      this.props.rtype == \"Center List With Tagged Colleges\"\r\n    ) {\r\n      return this.renderTaggedTable();\r\n    } else {\r\n      return this.renderTable();\r\n    }\r\n  }\r\n}\r\n\r\nexport default IntakeReport;\r\n"],"sourceRoot":""}