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


Current Path : /var/www/egov/build/static/js/
Upload File :
Current File : /var/www/egov/build/static/js/101.4c2dc637.chunk.js.map

{"version":3,"sources":["pages/admission/AdmApproval.js","../node_modules/semantic-ui-react/dist/es/elements/Divider/Divider.js","actions/before-exam/centers.js"],"names":["AdmApproval","state","frmDeggrp","reportType","frmSubmit","rftype","fcollcode","clgdrop","fdegfrom","fdegto","fcolfrom","fcolto","fsubfrom","fsubto","showSubRange","fexamrange","fdeggrpfrom","fdeggrpto","moduleType","showRadioButton","showExamRange","currentReportType","value","text","type","getDegrees","e","data","_this","setState","handleChange","_callee","ddOptions","_Users_prashanth_univadmin_react_node_modules_babel_preset_react_app_node_modules_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default","a","wrap","_context","prev","next","console","log","props","dropDownOptions","name","toUpperCase","map","element","fcode","obj","fdescpn","fvalue","push","t0","Object","_Users_prashanth_univadmin_react_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__","stop","handleSubmit","fdeggrp","user","getReport","showError","header","content","handleReport","_this$state","er","split","join","window","open","ReportAPI","univcode","handleCancel","reportFormat","studentType","handleFromChange","target","renderHeader","react__WEBPACK_IMPORTED_MODULE_8___default","createElement","semantic_ui_react__WEBPACK_IMPORTED_MODULE_10__","Header","style","display","className","semantic_ui_react__WEBPACK_IMPORTED_MODULE_11__","basic","color","onClick","icon","react_router_dom__WEBPACK_IMPORTED_MODULE_9__","to","componentDidMount","getDropDownOptions","handleItemClick","_ref2","activeItem","_this2","this","_this$state2","colgname","college","filter","item","wheight","parseInt","fcurtype","degcoll","fcollname","concat","wHeight","fluid","Content","semantic_ui_react__WEBPACK_IMPORTED_MODULE_12__","Description","overflowY","height","margin","semantic_ui_react__WEBPACK_IMPORTED_MODULE_13__","Group","Input","placeholder","width","onChange","onBlur","maxLength","label","marginTop","Field","semantic_ui_react__WEBPACK_IMPORTED_MODULE_14__","selection","search","options","Component","connect","deggrp","collegeReport","univ","funivcode","menu","activeCollege","fetchDropDownOptions","fetchDegGrp","fetchDegColl","getActiveCollegeList","_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__","_ref","_Users_prashanth_univadmin_react_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__","mark","dispatch","getState","response","univadmin","get","params","sent","payload","error_code","msg","status","_x","_x2","apply","arguments","updateCntr","el","i","addCntr","fetchCntrListdet","examcntr","degGrp","thpr","_callee2","_context2","_x3","_x4","saveExamCenter","examcntrlist","_ref3","_callee3","_context3","post","_x5","_x6","deleteExamCenter","_ref4","_callee4","_context4","_x7","_x8"],"mappings":"oTAoBMA,6MACJC,MAAQ,CACNC,UAAW,GACXC,WAAY,yBACZC,WAAW,EACXC,OAAQ,MACRC,UAAW,GACXC,SAAS,EACTC,SAAU,EACVC,OAAQ,OACRC,SAAU,IACVC,OAAQ,OACRC,SAAU,IACVC,OAAQ,OACRC,cAAc,EACdC,WAAY,SACZC,YAAa,GACbC,UAAW,GACXC,WAAY,GACZC,iBAAiB,EACjBC,eAAe,EACfC,kBAAmB,CACjB,CACEC,MAAO,MACPC,KA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AAE8J,IAAK,wBACbC,OAAQ,aAOVV,EAAS,CACPxJ,KAAM,YACN+J,QAASL,EAASvJ,OAhCjB,wBAAA2L,EAAA/J,SAAA8J,MAAP,gBAAAE,EAAAC,GAAA,OAAAJ,EAAAvB,MAAA3F,KAAA4F,YAAA","file":"static/js/101.4c2dc637.chunk.js","sourcesContent":["import React, { Component } from \"react\";\nimport { Link } from \"react-router-dom\";\nimport {\n  Card,\n  Button,\n  Form,\n  Dropdown,\n  Divider,\n  Radio,\n  Menu,\n  Header,\n} from \"semantic-ui-react\";\nimport { connect } from \"react-redux\";\nimport { fetchDegGrp, getReport, getDropDownOptions } from \"../../actions\";\nimport { ReportAPI } from \"../../apis/consts\";\nimport { showError } from \"../../actions\";\nimport { wHeight } from \"../parms\";\nimport { fetchDegColl } from \"../../actions/before-exam/centers\";\nimport { getActiveCollegeList } from \"../../actions/masters/activeclglist\";\n\nclass AdmApproval extends Component {\n  state = {\n    frmDeggrp: \"\",\n    reportType: \"degreeWiseStudentCount\",\n    frmSubmit: false,\n    rftype: \"PDF\",\n    fcollcode: \"\",\n    clgdrop: false,\n    fdegfrom: 0,\n    fdegto: \"ZZZZ\",\n    fcolfrom: \"0\",\n    fcolto: \"ZZZZ\",\n    fsubfrom: \"0\",\n    fsubto: \"ZZZZ\",\n    showSubRange: false,\n    fexamrange: \"ABCDEF\",\n    fdeggrpfrom: \"\",\n    fdeggrpto: \"\",\n    moduleType: \"\",\n    showRadioButton: false,\n    showExamRange: false,\n    currentReportType: [\n      {\n        value: \"all\",\n        text: \"ALL\",\n        type: \"EXAM\",\n      },\n      {\n        value: \"pending\",\n        text: \"PENDING\",\n        type: \"EXAM\",\n      },\n      {\n        value: \"approved\",\n        text: \"APPROVED\",\n        type: \"EXAM\",\n      }      \n    ],\n  \n  };\n\n  getDegrees = (e, data) => {\n    // console.log(data.value);\n    this.setState({ frmDeggrp: data.value });\n  };\n\n  handleChange = async (e, data) => {\n    console.log(\"opt\", this.props.dropDownOptions);\n\n    // make range capital\n    if (\n      data.name == \"fdegfrom\" ||\n      data.name == \"fdegto\" ||\n      data.name == \"fcolfrom\" ||\n      data.name == \"fcolto\" ||\n      data.name == \"fsubfrom\" ||\n      data.name == \"fsubto\" ||\n      data.name == \"fdeggrpfrom\" ||\n      data.name == \"fdeggrpto\"\n    ) {\n      data.value = data.value.toUpperCase();\n    }\n\n    let ddOptions = [];\n    if (data.name == \"moduleType\") {\n      // console.log(this.props.fetchDropDownOptions);\n      if (data.value == \"ADM\") {\n        this.props.dropDownOptions.map((element) => {\n          if (element.fcode == \"SRADM\") {\n            let obj = {};\n            obj.text = element.fdescpn;\n            obj.value = element.fvalue;\n            ddOptions.push(obj);\n          }\n        });\n      } else if (data.value == \"EXAM\") {\n        this.props.dropDownOptions.map((element) => {\n          if (element.fcode == \"SREXA\") {\n            let obj = {};\n            obj.text = element.fdescpn;\n            obj.value = element.fvalue;\n            ddOptions.push(obj);\n          }\n        });\n      } else if (data.value == \"GEN\") {\n        this.props.dropDownOptions.map((element) => {\n          if (element.fcode == \"SRGEN\") {\n            let obj = {};\n            obj.text = element.fdescpn;\n            obj.value = element.fvalue;\n            ddOptions.push(obj);\n          }\n        });\n      }\n      console.log(\"options\", ddOptions);\n      this.setState({ currentReportType: ddOptions });\n    }\n\n    switch (data.type) {\n      case \"text\":\n        await this.setState({ [data.name]: data.value });\n\n      default:\n        this.setState({ [data.name]: data.value });\n    }\n\n    if (data.value == \"ADM\" || data.value == \"EXAM\") {\n      this.setState({ showSubRange: true });\n      this.setState({ showRadioButton: false });\n    }\n    if (data.value == \"GEN\") {\n      this.setState({ showSubRange: false });\n    }\n    // else {\n    //   this.setState({ showSubRange: false });\n    //\n\n    if (data.value == \"GEN\") this.setState({ showRadioButton: true });\n\n    if (data.value == \"EXAM\") this.setState({ showExamRange: true });\n\n    if (data.value == \"ADM\" || data.value == \"GEN\")\n      this.setState({ showExamRange: false });\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    // http://universitysolutions.in/univadmin/app.php?a=exmapp_reg_rep_count&deggrp=UG&univcode=027&fdegfrom=0&fdegto=ZZZZZ&fcollfrom=0&fcollto=ZZZZ\n    const { reportType, rftype } = this.state;    \n      let er = this.state.fexamrange;\n      er = er.split(\"\").join(\"','\");\n      console.log(\"first\");\n      console.log(er);\n      window.open(\n        ReportAPI +\n          \"AdmApprovalRpt\" +\n          \"&univcode=\" +\n          this.props.univcode +\n          \"&deggrp=\" +\n          fdeggrp +\n          \"&format=\" +\n          rftype +\n          \"&fcollfrom=\" +\n          this.state.fcolfrom +\n          \"&fcollto=\" +\n          this.state.fcolto +\n          \"&fdegfrom=\" +\n          this.state.fdegfrom +\n          \"&fdegto=\" +\n          this.state.fdegto +\n          \"&reportType=\" +\n          reportType,\n        \"_blank\"\n      );    \n  };\n\n  handleCancel = () => {\n    this.setState({\n      reportType: \"\",\n      reportFormat: \"\",\n      frmDeggrp: \"\",\n      studentType: \"\",\n    });\n  };\n\n  handleFromChange = (e, data) => {\n    // console.log(\"value\", e.target.name, e.target.value);\n    let name = e.target.name;\n    let value = e.target.value;\n    if (name == \"fdegfrom\" || name == \"fcolfrom\" || name == \"fsubfrom\") {\n      if (name == \"fdegfrom\")\n        value == \"0\"\n          ? this.setState({ fdegto: \"ZZZZ\" })\n          : this.setState({ fdegto: value });\n      if (name == \"fcolfrom\")\n        value == \"0\"\n          ? this.setState({ fcolto: \"ZZZZ\" })\n          : this.setState({ fcolto: value });\n      if (name == \"fsubfrom\")\n        value == \"0\"\n          ? this.setState({ fsubto: \"ZZZZ\" })\n          : this.setState({ fsubto: value });\n\n      if (name == \"fdeggrpfrom\")\n        value == \"0\"\n          ? this.setState({ fdeggrpto: \"ZZZZ\" })\n          : this.setState({ fdeggrpto: value });\n    }\n  };\n\n  renderHeader = () => {\n    return (\n      <Card.Header style={{ display: \"flex\" }}>\n        <h3>Admissiom Approval</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  componentDidMount = () => {\n    this.setState({\n      fdeggrpfrom: this.props.user.fdeggrp,\n      fdeggrpto: this.props.user.fdeggrp,\n    });\n\n    this.props.getDropDownOptions();\n    console.log(\"api called\", this.props.dropDownOptions);\n  };\n  handleItemClick = (e, { name }) => this.setState({ activeItem: name });\n\n  render() {\n    const {\n      frmSubmit,\n      reportType,\n      rftype,\n      fcollcode,\n      fdegfrom,\n      fdegto,\n      fcolfrom,\n      fcolto,\n      fdeggrpfrom,\n      fdeggrpto,\n      fsubfrom,\n      fsubto,\n      clgdrop,\n      showSubRange,\n      fexamrange,\n      moduleType,\n      currentReportType,\n    } = this.state;\n    const { activeItem } = this.state;\n\n    const moduleTypeOptions = [\n      { value: \"ADM\", text: \"Admmision\" },\n      { value: \"EXAM\", text: \"Exam\" },\n      { value: \"GEN\", text: \"General Report\" },\n    ];\n\n    const colgname = this.props.college.filter(\n      (item) => item.fcollcode == this.props.user.fcollcode\n    )[0];\n\n    const collegeOptions =\n      parseInt(this.props.user.fcurtype) < 499\n        ? this.props.degcoll.map((item) => {\n            return {\n              value: item.fcollcode,\n              text: item.fcollname,\n            };\n          })\n        : [\n            {\n              value: colgname.fcollcode,\n              text: `${colgname.fcollcode}  ${colgname.fcollname} `,\n            },\n          ];\n\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=\"row\" style={{ margin: \"0px\" }}>                \n\n                <div className=\"col-md-6\">\n                  <Form>                                    \n                    <Form.Group>\n                      <Form.Input\n                        placeholder=\"From\"\n                        value={fdegfrom}\n                        width={8}\n                        name=\"fdegfrom\"\n                        onChange={this.handleChange}\n                        onBlur={this.handleFromChange}\n                        maxLength=\"5\"\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                        maxLength=\"5\"\n                        style={{ marginTop: \"1.6em\" }}\n                      />\n                    </Form.Group>\n                    <Form.Group>\n                      <Form.Input\n                        placeholder=\"From\"\n                        value={fcolfrom}\n                        width={8}\n                        name=\"fcolfrom\"\n                        onChange={this.handleChange}\n                        onBlur={this.handleFromChange}\n                        maxLength=\"4\"\n                        label=\"College Range\"\n                      />\n                      <Form.Input\n                        placeholder=\"To\"\n                        name=\"fcolto\"\n                        value={fcolto}\n                        width={8}\n                        onChange={this.handleChange}\n                        maxLength=\"4\"\n                        style={{ marginTop: \"1.6em\" }}\n                      />\n                    </Form.Group>\n                     <Form.Field>                      \n                      <label>Status</label>\n                      <Dropdown\n                        placeholder=\"Select Status\"\n                        name=\"reportType\"\n                        value={reportType}\n                        selection\n                        search\n                        options={currentReportType}\n                        onChange={this.handleChange}\n                      />\n                    </Form.Field>                                                             \n                   \n                    <br />\n                  </Form>\n                </div>\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    degcoll: state.degcoll,\n    college: state.activeCollege,\n    dropDownOptions: state.fetchDropDownOptions,\n  };\n};\nexport default connect(mapStateToProps, {\n  fetchDegGrp,\n  fetchDegColl,\n  getReport,\n  showError,\n  getActiveCollegeList,\n  getDropDownOptions,\n})(AdmApproval);\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 univadmin from \"../../apis/univadmin\";\n\nexport const fetchDegColl = deggrp => {\n  return async function(dispatch, getState) {\n    const state = getState();\n    const response = await univadmin.get(\"/app.php\", {\n      params: {\n        a: \"fetchDegColl\",\n        univcode: state.univ.funivcode,\n        deggrp: deggrp\n      }\n    });\n    if (typeof response.data !== \"object\") {\n      const data = {\n        error_code: -1,\n        data: { msg: \"Something went wrong\" },\n        status: \"failure\"\n      };\n      dispatch({\n        type: \"SET_ERROR\",\n        payload: data\n      });\n    } else if (response.data.error_code === 0) {\n      dispatch({\n        type: \"FETCH_DEGCOLL\",\n        payload: response.data\n      });\n    } else {\n      dispatch({\n        type: \"SET_ERROR\",\n        payload: response.data\n      });\n    }\n  };\n};\n\nexport const updateCntr = (el, i) => {\n  return {\n    type: \"UPD_CNTR_DET\",\n    payload: { el, i }\n  };\n};\n\nexport const addCntr = el => {\n  // console.log(el);\n  return {\n    type: \"ADD_CNTR_DET\",\n    payload: el\n  };\n};\n\nexport const fetchCntrListdet = (examcntr, degGrp, thpr) => {\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: \"fetchCntrListdet\",\n        univcode: state.univ.funivcode,\n        deggrp: degGrp,\n        examcntr: examcntr,\n        thpr: thpr\n      }\n    });\n\n    dispatch({\n      type: \"UNSET_LOADER\"\n    });\n\n    if (typeof response.data !== \"object\") {\n      const data = {\n        error_code: -1,\n        data: { msg: \"Something went wrong\" },\n        status: \"failure\"\n      };\n      dispatch({\n        type: \"SET_ERROR\",\n        payload: data\n      });\n    } else if (response.data.error_code === 0) {\n      dispatch({\n        type: \"FETCH_CNTR_DET\",\n        payload: response.data\n      });\n    } else {\n      dispatch({\n        type: \"SET_ERROR\",\n        payload: response.data\n      });\n    }\n  };\n};\n\nexport const saveExamCenter = (examcntrlist, examcntr, degGrp, thpr) => {\n  return async function(dispatch, getState) {\n    const state = getState();\n    dispatch({\n      type: \"SET_LOADER\"\n    });\n    const response = await univadmin.post(\n      \"/app.php?a=saveExamCenter&univcode=\" + state.univ.funivcode,\n      {\n        data: {\n          deggrp: degGrp,\n          examcntr: examcntr,\n          thpr: thpr,\n          examcntrlist: examcntrlist\n        }\n      }\n    );\n    dispatch({\n      type: \"UNSET_LOADER\"\n    });\n\n    if (typeof response.data !== \"object\") {\n      const data = {\n        error_code: -1,\n        data: { msg: \"Something went wrong\" },\n        status: \"failure\"\n      };\n      dispatch({\n        type: \"SET_ERROR\",\n        payload: data\n      });\n    } else {\n      dispatch({\n        type: \"SET_ERROR\",\n        payload: response.data\n      });\n    }\n  };\n};\n\nexport const deleteExamCenter = (examcntr, degGrp, thpr) => {\n  return async function(dispatch, getState) {\n    const state = getState();\n    dispatch({\n      type: \"SET_LOADER\"\n    });\n    const response = await univadmin.post(\n      \"/app.php?a=deleteExamCenter&univcode=\" + state.univ.funivcode,\n      {\n        data: {\n          deggrp: degGrp,\n          examcntr: examcntr,\n          thpr: thpr\n        }\n      }\n    );\n    dispatch({\n      type: \"UNSET_LOADER\"\n    });\n\n    if (typeof response.data !== \"object\") {\n      const data = {\n        error_code: -1,\n        data: { msg: \"Something went wrong\" },\n        status: \"failure\"\n      };\n      dispatch({\n        type: \"SET_ERROR\",\n        payload: data\n      });\n    } else {\n      dispatch({\n        type: \"SET_ERROR\",\n        payload: response.data\n      });\n    }\n  };\n};\n"],"sourceRoot":""}