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


Current Path : /var/www/egov/build/static/js/
Upload File :
Current File : /var/www/egov/build/static/js/17.0eecf4d5.chunk.js.map

{"version":3,"sources":["pages/before-exam/timetable/timetableForm.js","pages/common/reasonDropdown.js","pages/common/DateDropDown.js","pages/before-exam/timetable/rows.js","pages/before-exam/timetable/index.js","../node_modules/semantic-ui-react/dist/es/elements/Divider/Divider.js","pages/common/degreeGroupWithYearType.js","pages/common/SelectDeggrp.js","../node_modules/semantic-ui-react/dist/es/collections/Message/MessageContent.js","../node_modules/semantic-ui-react/dist/es/collections/Message/MessageHeader.js","../node_modules/semantic-ui-react/dist/es/collections/Message/MessageItem.js","../node_modules/semantic-ui-react/dist/es/collections/Message/MessageList.js","../node_modules/semantic-ui-react/dist/es/collections/Message/Message.js","actions/before-exam/timetable.js","pages/before-exam/timetable/report.js","pages/common/todayDate.js"],"names":["TimeTableForm","state","fexamrange","frmSubmit","disabled","fdeggrp","fyear","fexamtype","fexamdate","fdegree","exams","key","value","text","cancel","_this","setState","handleChange","e","data","type","Object","defineProperty","name","checked","changeDegree","console","log","changeexamno","generateTimeTable","_this$state","props","setFromValues","getupdateTimetable","showError","header","content","changeDeggrp","_callee","deggrpsel","deggrp","regenerator_default","a","wrap","_context","prev","next","filter","el","i","loaddegreettm","stop","this","fetchDegGrp","onRef","fstrdate","getToday","_this$state2","ferror","ferrorm","fexamrangeError","degree_options","degreettm","map","item","push","concat","fdescpn","react_default","createElement","Form","error","Message","degreeGroupWithYearType","pdeggrp","Field","Dropdown","size","fluid","search","selection","onChange","placeholder","openOnFocus","options","selectOnBlur","Group","width","Button","color","onClick","Component","connect","user","ReasonDropDown","reason_options","reason","freasoncd","reasonval","changeReason","ffreeze","DateDropDown","date_options","masdate","fdatecode","fdate","dateval","changedate","Rows","changeCell","id","newel","objectSpread","qpcode","_this2","Table","Row","Cell","textAlign","singleLine","fqpcode","fsubname","common_DateDropDown","fdatecodep","fdatecodet","reasonDropdown","fsession","className","fdeleted","deleteRow","timetable","changett","TimeTable","ttform","trrefs","open","frmDeggrp","frmdegree","deggrpError","degreeError","renderHeader","Card","Header","style","display","basic","handleSave","icon","show","Link","to","child","cancelTimetable","dimmer","close","values","_callee2","_context2","tr","saveExamtimetableUT","renderForm","wheight","window","innerHeight","Content","Divider","Description","height","overflowY","timetableForm","ref","celled","fontSize","HeaderCell","Body","nel","toJS","rows","report","dim","React","_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__","DegreeGroupWithYearType","deggroup_options","_this$props$pdeggrp","react__WEBPACK_IMPORTED_MODULE_7___default","semantic_ui_react__WEBPACK_IMPORTED_MODULE_9__","semantic_ui_react__WEBPACK_IMPORTED_MODULE_10__","Input","label","readOnly","SelectDeggrp","prevProps","react__WEBPACK_IMPORTED_MODULE_5___default","semantic_ui_react__WEBPACK_IMPORTED_MODULE_7__","semantic_ui_react__WEBPACK_IMPORTED_MODULE_8__","dgerror","MessageContent","classnames_default","getUnhandledProps","getElementType","extends_default","lib","Message_MessageContent","MessageHeader","create","factories","val","Message_MessageHeader","MessageItem","defaultProps","as","Message_MessageItem","MessageList","items","map_default","Message_MessageList","d","Message_Message","_Component","_getPrototypeOf2","classCallCheck_default","_len","arguments","length","args","Array","_key","possibleConstructorReturn_default","getPrototypeOf_default","call","apply","defineProperty_default","assertThisInitialized_default","onDismiss","inherits_default","createClass_default","_this$props","attached","compact","floating","info","list","negative","positive","success","visible","warning","classNameBuilders","dismissIcon","Icon","handleDismiss","autoGenerateKey","isNil_default","react","generateTimetable","frmvalues","_ref","_Users_prashanth_univadmin_react_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_2__","_Users_prashanth_univadmin_react_node_modules_babel_preset_react_app_node_modules_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default","mark","dispatch","getState","response","univadmin","post","univ","funivcode","sent","payload","error_code","msg","status","_x","_x2","_ref2","_error","_Users_prashanth_univadmin_react_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_0__","_x3","_x4","_ref3","_callee3","_error2","_context3","get","params","univcode","_x5","_x6","saveExamtimetable","parameters","_ref4","_callee4","_error3","_context4","_x7","_x8","_ref5","_callee5","_error4","_context5","_x9","_x10","releaseTimeTable","_ref6","_callee6","_context6","_x11","_x12","getfreezeTimetable","frz","_ref7","_callee7","_context7","dgp","year","examtype","examrange","fcurtype","abrupt","_x13","_x14","changefreezetimetable","changereleasetimetable","freezetimetable","stt","_ref8","_callee8","_context8","freezeTimeTable","fname","tabledata","frzarr","_x15","_x16","selectallchkbx","check","selectallchkbxrelease","getreleaseTimetable","_ref9","_callee9","_context9","_x17","_x18","releasetimetable","_ref10","_callee10","_error5","_context10","relarr","_x19","_x20","ReportTimeTable","frtype","frtypes","frtypeError","rftype","emptydates","fdegfrom","fdegto","_Users_prashanth_univadmin_react_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_1__","generateReport","ReportAPI","ignore","changecheckempty","_Users_prashanth_univadmin_react_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__","report_options","maxHeight","onClose","closeOnDimmerClick","semantic_ui_react__WEBPACK_IMPORTED_MODULE_11__","_common_SelectDeggrp__WEBPACK_IMPORTED_MODULE_16__","semantic_ui_react__WEBPACK_IMPORTED_MODULE_12__","marginTop","semantic_ui_react__WEBPACK_IMPORTED_MODULE_13__","inline","control","Radio","today","Date","dd","getDate","mm","getMonth","yyyy","getFullYear"],"mappings":"6TAYMA,6MACJC,MAAQ,CACNC,WAAY,aACZC,WAAW,EACXC,UAAU,EACVC,QAAS,GACTC,MAAO,GACPC,UAAW,GACXC,UAAW,GACXC,QAAS,GACTC,MAAO,CACL,CAAEC,IAAK,MAAOC,MAAO,aAAcC,KAAM,OACzC,CAAEF,IAAK,IAAKC,MAAO,IAAKC,KAAM,cAC9B,CAAEF,IAAK,IAAKC,MAAO,IAAKC,KAAM,eAC9B,CAAEF,IAAK,IAAKC,MAAO,IAAKC,KAAM,gBAC9B,CAAEF,IAAK,IAAKC,MAAO,IAAKC,KAAM,eAC9B,CAAEF,IAAK,IAAKC,MAAO,IAAKC,KAAM,cAC9B,CAAEF,IAAK,IAAKC,MAAO,IAAKC,KAAM,eAC9B,CAAEF,IAAK,IAAKC,MAAO,IAAKC,KAAM,gBAC9B,CAAEF,IAAK,IAAKC,MAAO,IAAKC,KAAM,iBAC9B,CAAEF,IAAK,IAAKC,MAAO,IAAKC,KAAM,eAC9B,CAAEF,IAAK,IAAKC,MAAO,IAAKC,KAAM,kBAYlCC,OAAS,WACPC,EAAKC,SAAS,CACZd,WAAY,GACZC,WAAW,EACXC,UAAU,EACVC,QAAS,GACTC,MAAO,GACPC,UAAW,GACXC,UAAW,GACXC,QAAS,QAIbQ,aAAe,SAACC,EAAGC,GACjB,OAAQA,EAAKC,MACX,IAAK,OAGL,IAAK,QAEH,YADAL,EAAKC,SAALK,OAAAC,EAAA,EAAAD,CAAA,GAAiBF,EAAKI,KAAOJ,EAAKP,QAEpC,IAAK,WAEH,YADAG,EAAKC,SAALK,OA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MuC,OACd4P,KAAMnS,EAAMmS,OAIwB,GAAzBxM,CAA6B8R,qCCzW7BlU,IAlBf,WACE,IAAI4V,EAAQ,IAAIC,KACZC,EAAKF,EAAMG,UACXC,EAAKJ,EAAMK,WAAa,EACxBC,EAAON,EAAMO,cAWjB,OATIL,EAAK,KACPA,EAAK,IAAMA,GAGTE,EAAK,KACPA,EAAK,IAAMA,GAGbJ,EAAQE,EAAK,IAAME,EAAK,IAAME","file":"static/js/17.0eecf4d5.chunk.js","sourcesContent":["import React, { Component } from \"react\";\nimport { Button, Form, Message, Dropdown } from \"semantic-ui-react\";\nimport { connect } from \"react-redux\";\nimport { fetchDegGrp, showError } from \"../../../actions\";\nimport {\n  getupdateTimetable,\n  loaddegreettm,\n} from \"../../../actions/before-exam/timetable\";\nimport SelectDeggrp from \"../../common/SelectDeggrp\";\nimport getToday from \"../../common/todayDate\";\nimport DegreeGroupWithYearType from \"../../common/degreeGroupWithYearType\";\n\nclass TimeTableForm extends Component {\n  state = {\n    fexamrange: \"ABCDEFGHIJ\",\n    frmSubmit: false,\n    disabled: false,\n    fdeggrp: \"\",\n    fyear: \"\",\n    fexamtype: \"\",\n    fexamdate: \"\",\n    fdegree: \"\",\n    exams: [\n      { key: \"All\", value: \"ABCDEFGHIJ\", text: \"All\" },\n      { key: \"A\", value: \"A\", text: \"I Semester\" },\n      { key: \"B\", value: \"B\", text: \"II Semester\" },\n      { key: \"C\", value: \"C\", text: \"III Semester\" },\n      { key: \"D\", value: \"D\", text: \"IV Semester\" },\n      { key: \"E\", value: \"E\", text: \"V Semester\" },\n      { key: \"F\", value: \"F\", text: \"VI Semester\" },\n      { key: \"G\", value: \"G\", text: \"VII Semester\" },\n      { key: \"H\", value: \"H\", text: \"VIII Semester\" },\n      { key: \"I\", value: \"I\", text: \"IX Semester\" },\n      { key: \"J\", value: \"J\", text: \"X Semester\" },\n    ],\n  };\n\n  async componentDidMount() {\n    await this.props.fetchDegGrp();\n    //await this.changeDeggrp(null, { value: this.props.user.fdeggrp });\n    this.props.onRef(this);\n    this.setState({ deggrp: this.props.deggrp, fstrdate: getToday() });\n    // await this.props.loaddegreettm(this.state.fdeggrp);\n  }\n\n  cancel = () => {\n    this.setState({\n      fexamrange: \"\",\n      frmSubmit: false,\n      disabled: false,\n      fdeggrp: \"\",\n      fyear: \"\",\n      fexamtype: \"\",\n      fexamdate: \"\",\n      fdegree: \"\",\n    });\n  };\n\n  handleChange = (e, data) => {\n    switch (data.type) {\n      case \"text\":\n        this.setState({ [data.name]: data.value });\n        return;\n      case \"radio\":\n        this.setState({ [data.name]: data.value });\n        return;\n      case \"checkbox\":\n        this.setState({ [data.name]: data.checked });\n        return;\n      default:\n        return;\n    }\n  };\n\n  changeDegree = (e, data) => {\n    console.log(data.value);\n    this.setState({\n      fdegree: data.value,\n    });\n  };\n\n  changeexamno = (e, data) => {\n    console.log(data.value);\n    this.setState({\n      fexamrange: data.value,\n    });\n  };\n\n  generateTimeTable = () => {\n    const { fdeggrp, fyear, fexamtype, fexamrange, fdegree } = this.state;\n\n    if (fexamrange == \"\") {\n      const error = { header: \"Error\", content: \"Exam Range required.\" };\n      this.props.showError(error);\n      return;\n    }\n\n    this.setState({ disabled: true });\n    const data = { fdeggrp, fyear, fexamtype, fexamrange, fdegree };\n    this.props.setFromValues(data);\n    this.props.getupdateTimetable(data);\n  };\n\n  changeDeggrp = async (e, data) => {\n    console.log(\"aaaa: \",data.value);\n    let deggrpsel = this.props.deggrp.filter(\n      (el, i) => el.fdeggrp === data.value\n    );\n    \n    let deggrp = deggrpsel[0];\n\n    this.setState({\n      fyear: deggrp.fyear,\n      fexamtype: deggrp.fexamtype,\n      fexamdate: deggrp.fexamdate,\n      fdeggrp: deggrp.fdeggrp,\n      frmSubmit: false,\n    });\n    await this.props.loaddegreettm(deggrp.fdeggrp);\n  };\n\n  render() {\n    const {\n      fexamrange,\n      ferror,\n      ferrorm,\n      fexamrangeError,\n      disabled,\n      fdeggrp,\n      fyear,\n      fexamtype,\n      fexamdate,\n      fdegree,\n    } = this.state;\n\n    console.log(degree_options, \"hkjbkjb\");\n\n    let degree_options = [\n   \n    ];\n\n    this.props.degreettm.map((item, i) => {\n      degree_options.push({\n        key: i,\n        value: item.fdegree,\n        text: `${item.fdegree} - ${item.fdescpn}`,\n      });\n    });\n\n    return (\n      <div>\n        <Form error>\n          {ferror ? <Message error content={ferrorm} /> : null}\n          <DegreeGroupWithYearType\n            pdeggrp={{ fdeggrp, fyear, fexamtype, fexamdate }}\n            changeDeggrp={this.changeDeggrp}\n          />\n          <Form.Field>\n            <label>Degree</label>\n            <Dropdown\n              size=\"mini\"\n              fluid\n              search\n              selection\n              value={fdegree}\n              onChange={this.changeDegree}\n              placeholder=\"Select Degree\"\n              openOnFocus={false}\n              options={degree_options}\n              selectOnBlur={false}\n            />\n          </Form.Field>\n          <Form.Group>\n            <Form.Field width={10}>\n              <label>Semester</label>\n              <Dropdown\n                size=\"mini\"\n                fluid\n                search\n                selection\n                value={fexamrange}\n                name=\"fexamrange\"\n                onChange={this.changeexamno}\n                placeholder=\"Select examno\"\n                openOnFocus={false}\n                options={this.state.exams}\n                selectOnBlur={false}\n              />\n            </Form.Field>\n          </Form.Group>\n\n          <Button color=\"blue\" onClick={this.generateTimeTable}>\n            Submit\n          </Button>\n        </Form>\n      </div>\n    );\n  }\n}\n\nconst mapStateToProps = (state) => {\n  return {\n    deggrp: state.deggrp,\n    user: state.user,\n    degreettm: state.degreettm,\n  };\n};\n\nexport default connect(mapStateToProps, {\n  fetchDegGrp,\n  loaddegreettm,\n  showError,\n  getupdateTimetable,\n})(TimeTableForm);\n","import React, { Component } from 'react'\nimport { Form, Dropdown } from 'semantic-ui-react';\nimport { connect } from 'react-redux';\n\nclass ReasonDropDown extends Component {\n\n  render() {\n    const reason = this.props.reason;\n\n    var reason_options = reason.map((el, i) => {\n      return { key: i, value: el.freasoncd, text: `${el.freasoncd} - ${el.fdescpn}` }\n    });\n\n    return (\n      <Form.Field>\n        <Dropdown fluid search selection name={this.props.name} value={this.props.reasonval} onChange={this.props.changeReason}\n          placeholder='Select Session' selectOnBlur={false} disabled={this.props.ffreeze == 'T' ? true : false}\n          options={reason_options} />\n      </Form.Field>\n    )\n  }\n}\n\nconst mapStateToProps = (state) => {\n  return { reason: state.reason };\n}\n\nexport default connect(mapStateToProps, {})(ReasonDropDown);\n","import React, { Component } from 'react'\nimport { Form, Dropdown } from 'semantic-ui-react';\nimport { connect } from 'react-redux';\n\nclass DateDropDown extends Component {\n\n  render() {\n    const masdate = this.props.masdate;\n\n    // console.log(this.props.ffreeze);\n\n    var date_options = masdate.map((el, i) => {\n      return { key: i, value: el.fdatecode, text: `${el.fdatecode} - ${el.fdate}` }\n    });\n\n    return (\n      <Form.Field>\n        <Dropdown fluid search name={this.props.name} selection value={this.props.dateval} onChange={this.props.changedate}\n          placeholder='Select date' selectOnBlur={false} disabled={this.props.ffreeze == 'T' ? true : false}\n          options={date_options} />\n      </Form.Field>\n    )\n  }\n}\n\nconst mapStateToProps = (state) => {\n  return { masdate: state.masdate };\n}\n\nexport default connect(mapStateToProps, {})(DateDropDown);\n","import React, { Component } from 'react';\nimport ReasonDropdown from '../../common/reasonDropdown';\nimport DateDropdown from '../../common/DateDropDown';\nimport { connect } from 'react-redux';\nimport { changett } from '../../../actions';\nimport { Table } from 'semantic-ui-react';\n\nclass Rows extends Component {\n\n  state = { el: {} }\n\n  changeCell = (data, el, id) => {\n    console.log(data, el, id);\n    const newel = { ...el, [data.name]: data.value }\n    this.setState({ el: { ...newel } });\n    // this.props.changett(newel, id);\n  }\n\n  componentDidMount() {\n    this.setState({ el: { ...this.props.el }, i: this.props.i, qpcode: this.props.qpcode });\n    this.props.onRef(this);\n  }\n\n  render() {\n\n    const { i, el } = this.state;\n    // const i = parseInt(j);\n    // const { masdate, reason } = this.props;\n\n    // console.log(el.fqpcode,el.ffreeze);\n\n    return (<Table.Row key={i}>\n      <Table.Cell textAlign=\"center\">\n        {i + 1}\n      </Table.Cell>\n      <Table.Cell textAlign=\"center\" singleLine>\n        {el.fqpcode}\n      </Table.Cell>\n      <Table.Cell>\n        {el.fsubname}\n      </Table.Cell>\n      <Table.Cell>\n        <DateDropdown dateval={el.fdatecodep} name=\"fdatecodep\" ffreeze={el.ffreeze}\n          changedate={(e, data) => this.changeCell(data, el, i)} />\n      </Table.Cell>\n      <Table.Cell>\n        <DateDropdown dateval={el.fdatecodet} name=\"fdatecodet\" ffreeze={el.ffreeze}\n          changedate={(e, data) => this.changeCell(data, el, i)} />\n      </Table.Cell>\n      <Table.Cell>\n        <ReasonDropdown reasonval={el.fsession} name=\"fsession\" ffreeze={el.ffreeze}\n          changeReason={(e, data) => this.changeCell(data, el, i)} />\n      </Table.Cell>\n      <Table.Cell textAlign='center'>\n        <div className=\"ui checkbox\">\n          <input type=\"checkbox\" name=\"fdeleted\" value={el.fdeleted} disabled={el.ffreeze == 'T' ? true : false}\n            onChange={(e) => this.deleteRow(e, el, i)} checked={(el.fdeleted == \"true\" ? 'checked' : null)} />\n          <label> </label>\n        </div>\n      </Table.Cell>\n    </Table.Row>);\n  }\n}\n\nconst mapStateToProps = (state) => {\n  return {\n    timetable: state.timetable\n  };\n}\n\nexport default connect(mapStateToProps, { changett })(Rows);\n","import React from \"react\";\nimport { Card, Divider, Button, Table } from \"semantic-ui-react\";\nimport { connect } from \"react-redux\";\nimport { fetchDegGrp } from \"../../../actions\";\nimport {\n  cancelTimetable,\n  saveExamtimetableUT,\n} from \"../../../actions/before-exam/timetable\";\nimport TimeTableForm from \"./timetableForm\";\nimport ReportTimetable from \"./report\";\nimport Rows from \"./rows\";\nimport { Link } from \"react-router-dom\";\n\nclass TimeTable extends React.Component {\n  state = {\n    ttform: {},\n    trrefs: [],\n    open: false,\n    frmDeggrp: \"\",\n    frmdegree: \"\",\n    deggrpError: false,\n    degreeError: false,\n    frmSubmit: false,\n  };\n\n  componentDidMount() {\n    this.props.fetchDegGrp();\n  }\n\n  renderHeader = () => {\n    return (\n      <Card.Header style={{ display: \"flex\" }}>\n        <h4>Update Time Table (First Exam)</h4>\n        <div className=\"ml-auto\">\n          <Button\n            disabled={!this.state.frmSubmit}\n            basic\n            color=\"green\"\n            content=\"Save\"\n            onClick={this.handleSave}\n            icon=\"save\"\n          />\n          <Button\n            basic\n            onClick={this.cancel}\n            color=\"black\"\n            icon=\"ban\"\n            content=\"Cancel\"\n          />\n          <Button\n            onClick={this.show(\"blurring\")}\n            basic\n            color=\"blue\"\n            content=\"Report\"\n            icon=\"file\"\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  cancel = () => {\n    this.child.cancel();\n    this.props.cancelTimetable();\n    this.setState({ frmSubmit: false });\n  };\n\n  show = (dimmer) => () => this.setState({ dimmer, open: true });\n\n  close = (e, data) => {\n    if (e.type == \"keydown\") return;\n    this.setState({ open: false });\n  };\n\n  setFromValues = async (values) => {\n    await this.setState({ ttform: values, frmSubmit: true });\n  };\n\n  handleSave = async () => {\n    const timetable = this.state.trrefs.map((tr, i) => {\n      return tr.state.el;\n    });\n    await this.props.saveExamtimetableUT(timetable, this.state.ttform);\n    this.cancel();\n  };\n\n  renderForm = () => {\n    const { frmSubmit, dimmer, open } = this.state;\n    const { timetable } = this.props;\n    var wheight = (window.innerHeight * 70) / 100;\n    return (\n      <div className=\"animated fadeIn\">\n        <Card fluid>\n          <Card.Content>\n            {this.renderHeader()}\n            <Divider />\n            <Card.Description\n              style={{ height: `${wheight}px`, overflowY: \"auto\" }}\n            >\n              <div className=\"col-md-8 col-sm-9\">\n                <TimeTableForm\n                  setFromValues={this.setFromValues}\n                  onRef={(ref) => (this.child = ref)}\n                />\n              </div>\n              {frmSubmit ? (\n                <div className=\"ui mini form\">\n                  <Divider />\n                  <Table celled style={{ fontSize: \"1.1536em\" }}>\n                    <Table.Header>\n                      <Table.Row>\n                        <Table.HeaderCell\n                          style={{ width: \"5%\" }}\n                          singleLine\n                          textAlign=\"center\"\n                        >\n                          Sl. No.\n                        </Table.HeaderCell>\n                        <Table.HeaderCell\n                          style={{ width: \"8%\" }}\n                          textAlign=\"center\"\n                        >\n                          QP Code\n                        </Table.HeaderCell>\n                        <Table.HeaderCell textAlign=\"center\">\n                          Subject Name\n                        </Table.HeaderCell>\n                        <Table.HeaderCell\n                          style={{ width: \"20%\" }}\n                          textAlign=\"center\"\n                        >\n                          Perm. Date\n                        </Table.HeaderCell>\n                        <Table.HeaderCell\n                          style={{ width: \"20%\" }}\n                          textAlign=\"center\"\n                        >\n                          Temp. Date\n                        </Table.HeaderCell>\n                        <Table.HeaderCell\n                          style={{ width: \"25%\" }}\n                          textAlign=\"center\"\n                        >\n                          Time\n                        </Table.HeaderCell>\n                        <Table.HeaderCell\n                          style={{ width: \"5%\" }}\n                          textAlign=\"center\"\n                        >\n                          Del\n                        </Table.HeaderCell>\n                      </Table.Row>\n                    </Table.Header>\n                    <Table.Body>\n                      {console.log(timetable)}\n                      {timetable.map((el, i) => {\n                        let nel = el.toJS();\n                        return (\n                          <Rows\n                            key={i}\n                            i={i}\n                            el={nel}\n                            onRef={(ref) => (this.state.trrefs[i] = ref)}\n                          />\n                        );\n                      })}\n                    </Table.Body>\n                  </Table>\n                </div>\n              ) : null}\n              <ReportTimetable open={open} dim={dimmer} close={this.close} />\n            </Card.Description>\n          </Card.Content>\n        </Card>\n      </div>\n    );\n  };\n\n  render() {\n    return this.renderForm();\n  }\n}\n\nconst mapStateToProps = (state) => {\n  return {\n    deggrp: state.deggrp,\n    timetable: state.timetable,\n  };\n};\n// withRouter(connect(...)(MyComponent))\nexport default connect(mapStateToProps, {\n  fetchDegGrp,\n  saveExamtimetableUT,\n  cancelTimetable,\n})(TimeTable);\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 { connect } from \"react-redux\";\nimport { Form, Dropdown } from \"semantic-ui-react\";\nimport { fetchDegGrp } from \"../../actions\";\n\nclass DegreeGroupWithYearType extends Component {\n  async componentDidMount() {\n    // await this.props.fetchDegGrp();\n  }\n\n  render() {\n    const deggroup = this.props.deggrp;\n    var deggroup_options = deggroup.map((el, i) => {\n      return {\n        key: i,\n        value: el.fdeggrp,\n        text: `${el.fdeggrp} - ${el.fdescpn}`,\n      };\n    });\n    console.log(this.props.pdeggrp);\n    const { fdeggrp, fyear, fexamtype, fexamdate } = this.props.pdeggrp;\n\n    return (\n      <div>\n        <Form.Field>\n          <label>Degree Group</label>\n          <Dropdown\n            size=\"mini\"\n            fluid\n            search\n            selection\n            value={fdeggrp}\n            onChange={this.props.changeDeggrp}\n            placeholder=\"Select Degree Group\"\n            disabled={this.props.disabled}\n            openOnFocus={false}\n            options={deggroup_options}\n            selectOnBlur={false}\n          />\n        </Form.Field>\n        <Form.Group>\n          <Form.Input\n            placeholder=\"Year\"\n            value={fyear}\n            width={4}\n            label=\"Year\"\n            readOnly\n          />\n          <Form.Input\n            placeholder=\"Type\"\n            value={fexamtype}\n            width={3}\n            label=\"Type\"\n            readOnly\n          />\n          <Form.Input\n            placeholder=\"Exam Date\"\n            label=\"Exam Date\"\n            width={10}\n            value={fexamdate}\n            readOnly\n          />\n        </Form.Group>\n      </div>\n    );\n  }\n}\n\nconst mapStateToProps = (state) => {\n  return {\n    deggrp: state.deggrp,\n    user: state.user,\n  };\n};\n\nexport default connect(mapStateToProps, { fetchDegGrp })(\n  DegreeGroupWithYearType\n);\n","import React, { Component } from \"react\";\nimport { connect } from \"react-redux\";\nimport { Form, Dropdown } from \"semantic-ui-react\";\nimport { fetchDegGrp } from \"../../actions\";\n\nclass SelectDeggrp extends Component {\n  componentDidMount() {\n    this.props.fetchDegGrp();\n  }\n\n  componentDidUpdate(prevProps) {\n    if (this.props.user !== prevProps.user) {\n      this.props.fetchDegGrp();\n    }\n  }\n\n  render() {\n    const deggroup = this.props.deggrp;\n\n    var deggroup_options = deggroup.map((el, i) => {\n      return {\n        key: i,\n        value: el.fdeggrp,\n        text: `${el.fdeggrp} - ${el.fdescpn}`,\n      };\n    });\n\n    return (\n      <Form.Field width=\"16\">\n        <label>Degree Group</label>\n        <Dropdown\n          size=\"mini\"\n          error={this.props.dgerror}\n          fluid\n          search\n          selection\n          value={this.props.frmDeggrp}\n          onChange={this.props.changeDeggrp}\n          placeholder=\"Select Degree Group\"\n          disabled={this.props.disabled}\n          openOnFocus={false}\n          options={deggroup_options}\n          selectOnBlur={false}\n          // searchInput={{ autoFocus: true }}\n        />\n      </Form.Field>\n    );\n  }\n}\n\nconst mapStateToProps = (state) => {\n  return {\n    deggrp: state.deggrp,\n    user: state.user,\n  };\n};\n\nexport default connect(mapStateToProps, { fetchDegGrp })(SelectDeggrp);\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 } from '../../lib';\n/**\n * A message can contain a content.\n */\n\nfunction MessageContent(props) {\n  var children = props.children,\n      className = props.className,\n      content = props.content;\n  var classes = cx('content', className);\n  var rest = getUnhandledProps(MessageContent, props);\n  var ElementType = getElementType(MessageContent, props);\n  return React.createElement(ElementType, _extends({}, rest, {\n    className: classes\n  }), childrenUtils.isNil(children) ? content : children);\n}\n\nMessageContent.handledProps = [\"as\", \"children\", \"className\", \"content\"];\nMessageContent.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  /** Shorthand for primary content. */\n  content: customPropTypes.contentShorthand\n} : {};\nexport default MessageContent;","import _extends from \"@babel/runtime/helpers/extends\";\nimport cx from 'classnames';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport { childrenUtils, createShorthandFactory, customPropTypes, getElementType, getUnhandledProps } from '../../lib';\n/**\n * A message can contain a header.\n */\n\nfunction MessageHeader(props) {\n  var children = props.children,\n      className = props.className,\n      content = props.content;\n  var classes = cx('header', className);\n  var rest = getUnhandledProps(MessageHeader, props);\n  var ElementType = getElementType(MessageHeader, props);\n  return React.createElement(ElementType, _extends({}, rest, {\n    className: classes\n  }), childrenUtils.isNil(children) ? content : children);\n}\n\nMessageHeader.handledProps = [\"as\", \"children\", \"className\", \"content\"];\nMessageHeader.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  /** Shorthand for primary content. */\n  content: customPropTypes.contentShorthand\n} : {};\nMessageHeader.create = createShorthandFactory(MessageHeader, function (val) {\n  return {\n    content: val\n  };\n});\nexport default MessageHeader;","import _extends from \"@babel/runtime/helpers/extends\";\nimport cx from 'classnames';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport { childrenUtils, createShorthandFactory, customPropTypes, getElementType, getUnhandledProps } from '../../lib';\n/**\n * A message list can contain an item.\n */\n\nfunction MessageItem(props) {\n  var children = props.children,\n      className = props.className,\n      content = props.content;\n  var classes = cx('content', className);\n  var rest = getUnhandledProps(MessageItem, props);\n  var ElementType = getElementType(MessageItem, props);\n  return React.createElement(ElementType, _extends({}, rest, {\n    className: classes\n  }), childrenUtils.isNil(children) ? content : children);\n}\n\nMessageItem.handledProps = [\"as\", \"children\", \"className\", \"content\"];\nMessageItem.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  /** Shorthand for primary content. */\n  content: customPropTypes.contentShorthand\n} : {};\nMessageItem.defaultProps = {\n  as: 'li'\n};\nMessageItem.create = createShorthandFactory(MessageItem, function (content) {\n  return {\n    content: content\n  };\n});\nexport default MessageItem;","import _extends from \"@babel/runtime/helpers/extends\";\nimport _map from \"lodash/map\";\nimport cx from 'classnames';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport { childrenUtils, createShorthandFactory, customPropTypes, getElementType, getUnhandledProps } from '../../lib';\nimport MessageItem from './MessageItem';\n/**\n * A message can contain a list of items.\n */\n\nfunction MessageList(props) {\n  var children = props.children,\n      className = props.className,\n      items = props.items;\n  var classes = cx('list', className);\n  var rest = getUnhandledProps(MessageList, props);\n  var ElementType = getElementType(MessageList, props);\n  return React.createElement(ElementType, _extends({}, rest, {\n    className: classes\n  }), childrenUtils.isNil(children) ? _map(items, MessageItem.create) : children);\n}\n\nMessageList.handledProps = [\"as\", \"children\", \"className\", \"items\"];\nMessageList.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  /** Shorthand Message.Items. */\n  items: customPropTypes.collectionShorthand\n} : {};\nMessageList.defaultProps = {\n  as: 'ul'\n};\nMessageList.create = createShorthandFactory(MessageList, function (val) {\n  return {\n    items: val\n  };\n});\nexport default MessageList;","import _extends from \"@babel/runtime/helpers/extends\";\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _possibleConstructorReturn from \"@babel/runtime/helpers/possibleConstructorReturn\";\nimport _getPrototypeOf from \"@babel/runtime/helpers/getPrototypeOf\";\nimport _inherits from \"@babel/runtime/helpers/inherits\";\nimport _assertThisInitialized from \"@babel/runtime/helpers/assertThisInitialized\";\nimport _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nimport _isNil from \"lodash/isNil\";\nimport _without from \"lodash/without\";\nimport cx from 'classnames';\nimport PropTypes from 'prop-types';\nimport React, { Component } from 'react';\nimport { childrenUtils, createHTMLParagraph, customPropTypes, getElementType, getUnhandledProps, SUI, useKeyOnly, useKeyOrValueAndKey } from '../../lib';\nimport Icon from '../../elements/Icon';\nimport MessageContent from './MessageContent';\nimport MessageHeader from './MessageHeader';\nimport MessageList from './MessageList';\nimport MessageItem from './MessageItem';\n/**\n * A message displays information that explains nearby content.\n * @see Form\n */\n\nvar Message = /*#__PURE__*/function (_Component) {\n  _inherits(Message, _Component);\n\n  function Message() {\n    var _getPrototypeOf2;\n\n    var _this;\n\n    _classCallCheck(this, Message);\n\n    for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n      args[_key] = arguments[_key];\n    }\n\n    _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(Message)).call.apply(_getPrototypeOf2, [this].concat(args)));\n\n    _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), \"handleDismiss\", function (e) {\n      var onDismiss = _this.props.onDismiss;\n      if (onDismiss) onDismiss(e, _this.props);\n    });\n\n    return _this;\n  }\n\n  _createClass(Message, [{\n    key: \"render\",\n    value: function render() {\n      var _this$props = this.props,\n          attached = _this$props.attached,\n          children = _this$props.children,\n          className = _this$props.className,\n          color = _this$props.color,\n          compact = _this$props.compact,\n          content = _this$props.content,\n          error = _this$props.error,\n          floating = _this$props.floating,\n          header = _this$props.header,\n          hidden = _this$props.hidden,\n          icon = _this$props.icon,\n          info = _this$props.info,\n          list = _this$props.list,\n          negative = _this$props.negative,\n          onDismiss = _this$props.onDismiss,\n          positive = _this$props.positive,\n          size = _this$props.size,\n          success = _this$props.success,\n          visible = _this$props.visible,\n          warning = _this$props.warning;\n      var classes = cx('ui', color, size, useKeyOnly(compact, 'compact'), useKeyOnly(error, 'error'), useKeyOnly(floating, 'floating'), useKeyOnly(hidden, 'hidden'), useKeyOnly(icon, 'icon'), useKeyOnly(info, 'info'), useKeyOnly(negative, 'negative'), useKeyOnly(positive, 'positive'), useKeyOnly(success, 'success'), useKeyOnly(visible, 'visible'), useKeyOnly(warning, 'warning'), useKeyOrValueAndKey(attached, 'attached'), 'message', className);\n      var dismissIcon = onDismiss && React.createElement(Icon, {\n        name: \"close\",\n        onClick: this.handleDismiss\n      });\n      var rest = getUnhandledProps(Message, this.props);\n      var ElementType = getElementType(Message, this.props);\n\n      if (!childrenUtils.isNil(children)) {\n        return React.createElement(ElementType, _extends({}, rest, {\n          className: classes\n        }), dismissIcon, children);\n      }\n\n      return React.createElement(ElementType, _extends({}, rest, {\n        className: classes\n      }), dismissIcon, Icon.create(icon, {\n        autoGenerateKey: false\n      }), (!_isNil(header) || !_isNil(content) || !_isNil(list)) && React.createElement(MessageContent, null, MessageHeader.create(header, {\n        autoGenerateKey: false\n      }), MessageList.create(list, {\n        autoGenerateKey: false\n      }), createHTMLParagraph(content, {\n        autoGenerateKey: false\n      })));\n    }\n  }]);\n\n  return Message;\n}(Component);\n\n_defineProperty(Message, \"Content\", MessageContent);\n\n_defineProperty(Message, \"Header\", MessageHeader);\n\n_defineProperty(Message, \"List\", MessageList);\n\n_defineProperty(Message, \"Item\", MessageItem);\n\n_defineProperty(Message, \"handledProps\", [\"as\", \"attached\", \"children\", \"className\", \"color\", \"compact\", \"content\", \"error\", \"floating\", \"header\", \"hidden\", \"icon\", \"info\", \"list\", \"negative\", \"onDismiss\", \"positive\", \"size\", \"success\", \"visible\", \"warning\"]);\n\nexport { Message as default };\nMessage.propTypes = process.env.NODE_ENV !== \"production\" ? {\n  /** An element type to render as (string or function). */\n  as: customPropTypes.as,\n\n  /** A message can be formatted to attach itself to other content. */\n  attached: PropTypes.oneOfType([PropTypes.bool, PropTypes.oneOf(['bottom', 'top'])]),\n\n  /** Primary content. */\n  children: PropTypes.node,\n\n  /** Additional classes. */\n  className: PropTypes.string,\n\n  /** A message can be formatted to be different colors. */\n  color: PropTypes.oneOf(SUI.COLORS),\n\n  /** A message can only take up the width of its content. */\n  compact: PropTypes.bool,\n\n  /** Shorthand for primary content. */\n  content: customPropTypes.contentShorthand,\n\n  /** A message may be formatted to display a negative message. Same as `negative`. */\n  error: PropTypes.bool,\n\n  /** A message can float above content that it is related to. */\n  floating: PropTypes.bool,\n\n  /** Shorthand for MessageHeader. */\n  header: customPropTypes.itemShorthand,\n\n  /** A message can be hidden. */\n  hidden: PropTypes.bool,\n\n  /** A message can contain an icon. */\n  icon: PropTypes.oneOfType([customPropTypes.itemShorthand, PropTypes.bool]),\n\n  /** A message may be formatted to display information. */\n  info: PropTypes.bool,\n\n  /** Array shorthand items for the MessageList. Mutually exclusive with children. */\n  list: customPropTypes.collectionShorthand,\n\n  /** A message may be formatted to display a negative message. Same as `error`. */\n  negative: PropTypes.bool,\n\n  /**\n   * A message that the user can choose to hide.\n   * Called when the user clicks the \"x\" icon. This also adds the \"x\" icon.\n   *\n   * @param {SyntheticEvent} event - React's original SyntheticEvent.\n   * @param {object} data - All props.\n   */\n  onDismiss: PropTypes.func,\n\n  /** A message may be formatted to display a positive message.  Same as `success`. */\n  positive: PropTypes.bool,\n\n  /** A message can have different sizes. */\n  size: PropTypes.oneOf(_without(SUI.SIZES, 'medium')),\n\n  /** A message may be formatted to display a positive message.  Same as `positive`. */\n  success: PropTypes.bool,\n\n  /** A message can be set to visible to force itself to be shown. */\n  visible: PropTypes.bool,\n\n  /** A message may be formatted to display warning messages. */\n  warning: PropTypes.bool\n} : {};","import univadmin from \"../../apis/univadmin\";\nimport { showError } from \"../index\";\n\nexport const generateTimetable = (frmvalues) => {\n  return async function (dispatch, getState) {\n    const state = getState();\n\n    dispatch({\n      type: \"SET_LOADER\",\n    });\n\n    const response = await univadmin.post(\n      \"/app.php?a=generateExamTimetable&univcode=\" + state.univ.funivcode,\n      {\n        data: {\n          frmvalues: frmvalues,\n        },\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 getupdateTimetable = (frmvalues) => {\n  return async function (dispatch, getState) {\n    const state = getState();\n    console.log(frmvalues);\n\n    dispatch({\n      type: \"CANCEL_TIMETABLE\",\n    });\n\n    dispatch({\n      type: \"SET_LOADER\",\n    });\n\n    // const response = await univadmin.post(\n    //   \"/app.php?a=getupdateTimetable&univcode=\" + state.univ.funivcode,\n    //   {\n    //     data: {\n    //       frmvalues: {\n    //         ...state.user,\n    //         fexamrange: frmvalues.fexamrange,\n    //         fdeggrp: frmvalues.fdeggrp,\n    //         fyear: frmvalues.fyear,\n    //         fexamtype: frmvalues.fexmtype,\n    //         fexamdate: frmvalues.fexamdate,\n    //       },\n    //     },\n    //   }\n    // );\n    console.log(frmvalues);\n\n    const response = await univadmin.post(\n      \"/app.php?a=getupdateTimetableUT&univcode=\" + state.univ.funivcode,\n      {\n        data: {\n          frmvalues: {\n            ...state.user,\n            fexamrange: frmvalues.fexamrange,\n            fdeggrp: frmvalues.fdeggrp,\n            fyear: frmvalues.fyear,\n            fexamtype: frmvalues.fexamtype,\n            fexamdate: frmvalues.fexamdate,\n            fdegree: frmvalues.fdegree,\n          },\n        },\n      }\n    );\n    // console.log(response);\n    // return;\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 = {\n        header: \"Error\",\n        content: response.data.data.msg,\n      };\n      dispatch(showError(error));\n    } else {\n      dispatch({\n        type: \"GENERATE_TIMETABLE\",\n        payload: response.data,\n      });\n    }\n  };\n};\n\nexport const loaddegreettm = (deggrp) => {\n  return async function (dispatch, getState) {\n    const state = getState();\n    console.log(deggrp);\n\n    dispatch({\n      type: \"SET_LOADER\",\n    });\n\n    dispatch({\n      type: \"DEL_FETCH_DEGREES_TTM\",\n    });\n\n    const response = await univadmin.get(\"/app.php\", {\n      params: {\n        a: \"getdegreettm\",\n        univcode: state.univ.funivcode,\n        deggrp: deggrp,\n      },\n    });\n\n    // const response = await univadmin.post(\n    //   \"/app.php?a=getdegreettm&univcode=\" +\n    //     state.univ.funivcode +\n    //     \"&deggrp=\" +\n    //     deggrp\n    // );\n    console.log(response);\n    // return;\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 = {\n        header: \"Error\",\n        content: response.data.data.msg,\n      };\n      dispatch(showError(error));\n    } else {\n      dispatch({\n        type: \"FETCH_DEGREES_TTM\",\n        payload: response.data,\n      });\n    }\n  };\n};\n\nexport const saveExamtimetable = (timetable, parameters) => {\n  return async function (dispatch, getState) {\n    const state = getState();\n    // const timetable = state.timetable.toJS();\n    dispatch({\n      type: \"SET_LOADER\",\n    });\n    const response = await univadmin.post(\n      \"/app.php?a=saveExamTimetable&univcode=\" + state.univ.funivcode,\n      {\n        data: {\n          timetable: timetable,\n          params: parameters,\n          user: state.user,\n        },\n      }\n    );\n    dispatch({\n      type: \"UNSET_LOADER\",\n    });\n    // console.log(typeof response.data)\n    if (typeof response.data !== \"object\") {\n      const error = {\n        header: \"Error\",\n        content: \"Something went wrong\",\n      };\n      dispatch(showError(error));\n    } else {\n      const error = {\n        header: \"Success\",\n        content: response.data.data.msg,\n      };\n      dispatch(showError(error));\n    }\n  };\n};\n\nexport const saveExamtimetableUT = (timetable, parameters) => {\n  return async function (dispatch, getState) {\n    const state = getState();\n    // const timetable = state.timetable.toJS();\n    dispatch({\n      type: \"SET_LOADER\",\n    });\n    const response = await univadmin.post(\n      \"/app.php?a=saveExamTimetableUT&univcode=\" + state.univ.funivcode,\n      {\n        data: {\n          timetable: timetable,\n          params: parameters,\n          user: state.user,\n        },\n      }\n    );\n    dispatch({\n      type: \"UNSET_LOADER\",\n    });\n    // console.log(typeof response.data)\n    if (typeof response.data !== \"object\") {\n      const error = {\n        header: \"Error\",\n        content: \"Something went wrong\",\n      };\n      dispatch(showError(error));\n    } else {\n      const error = {\n        header: \"Success\",\n        content: response.data.data.msg,\n      };\n      dispatch(showError(error));\n    }\n  };\n};\n\nexport const releaseTimeTable = (parameters) => {\n  return async function (dispatch, getState) {\n    const state = getState();\n    // const timetable = state.timetable.toJS();\n    dispatch({\n      type: \"SET_LOADER\",\n    });\n    const response = await univadmin.post(\n      \"/app.php?a=releaseExamTimetable&univcode=\" + state.univ.funivcode,\n      {\n        data: {\n          params: parameters,\n        },\n      }\n    );\n    dispatch({\n      type: \"UNSET_LOADER\",\n    });\n    // console.log(typeof response.data)\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 cancelTimetable = () => {\n  return {\n    type: \"CANCEL_TIMETABLE\",\n  };\n};\n\nexport const getfreezeTimetable = (frz) => {\n  return async function (dispatch, getState) {\n    const state = getState();\n    const fdeggrp = state.user.fdeggrp;\n\n    dispatch({\n      type: \"SET_LOADER\",\n    });\n    dispatch({\n      type: \"CLEAR_FREEZE_TIME_TABLE\",\n    });\n\n    const response = await univadmin.get(\"/app.php\", {\n      params: {\n        a: \"getfreezeTimetable\",\n        univcode: state.univ.funivcode,\n        dgp: frz.fdeggrp,\n        year: frz.fyear,\n        examtype: frz.fexamtype,\n        examrange: frz.fexamrange,\n        fcurtype: state.user.fcurtype,\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: \"GET_FREEZE_TIME_TABLE\",\n        payload: response.data,\n      });\n    } else if (response.data.error_code === -1) {\n      const error = {\n        header: \"Error\",\n        content: \"No data found for selected Exam Range..!\",\n      };\n      dispatch(showError(error));\n      return -1;\n    }\n  };\n};\n\nexport const changefreezetimetable = (el, i) => {\n  return {\n    type: \"GET_FREEZE_TIME_TABLE_CHANGE\",\n    payload: { el, i },\n  };\n};\nexport const changereleasetimetable = (el, i) => {\n  return {\n    type: \"GET_RELEASE_TIME_TABLE_CHANGE\",\n    payload: { el, i },\n  };\n};\n\nexport const freezetimetable = (stt) => {\n  return async function (dispatch, getState) {\n    const state = getState();\n    console.log(stt, state.freezeTimeTable);\n    const fdeggrp = state.user.fdeggrp;\n\n    dispatch({\n      type: \"SET_LOADER\",\n    });\n\n    dispatch({\n      type: \"UNSET_LOADER\",\n    });\n\n    const response = await univadmin.post(\n      \"/app.php?a=freezetimetable&univcode=\" + state.univ.funivcode,\n      {\n        data: {\n          dgp: stt.fdeggrp,\n          year: stt.fyear,\n          examtype: stt.fexamtype,\n          examrange: stt.fexamrange,\n          user: state.user.fname,\n          tabledata: state.freezeTimeTable.frzarr,\n        },\n      }\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      const error = { header: \"Success\", content: response.data.data.msg };\n      dispatch(showError(error));\n    }\n  };\n};\n\nexport const selectallchkbx = (check) => {\n  return {\n    type: \"FREEZE_SELECT_ALL_CHECKBOX\",\n    payload: check,\n  };\n};\n\nexport const selectallchkbxrelease = (check) => {\n  return {\n    type: \"RELEASE_SELECT_ALL_CHECKBOX\",\n    payload: check,\n  };\n};\n\nexport const getreleaseTimetable = (frz) => {\n  return async function (dispatch, getState) {\n    const state = getState();\n    const fdeggrp = state.user.fdeggrp;\n\n    dispatch({\n      type: \"SET_LOADER\",\n    });\n    dispatch({\n      type: \"CLEAR_RELEASE_TIME_TABLE\",\n    });\n\n    const response = await univadmin.get(\"/app.php\", {\n      params: {\n        a: \"getreleaseTimetable\",\n        univcode: state.univ.funivcode,\n        dgp: frz.fdeggrp,\n        year: frz.fyear,\n        examtype: frz.fexamtype,\n        examrange: frz.fexamrange,\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      console.log(response.data);\n      dispatch({\n        type: \"GET_RELEASE_TIME_TABLE\",\n        payload: response.data,\n      });\n    } else if (response.data.error_code === -1) {\n      const error = {\n        header: \"Error\",\n        content: \"No data found for selected Exam Range..! / Freezing Not Done\",\n      };\n      dispatch(showError(error));\n      return -1;\n    }\n  };\n};\n\nexport const releasetimetable = (stt) => {\n  return async function (dispatch, getState) {\n    const state = getState();\n    // console.log(stt,state.freezeTimeTable);\n    const fdeggrp = state.user.fdeggrp;\n\n    dispatch({\n      type: \"SET_LOADER\",\n    });\n\n    dispatch({\n      type: \"UNSET_LOADER\",\n    });\n\n    const response = await univadmin.post(\n      \"/app.php?a=releasetimetable&univcode=\" + state.univ.funivcode,\n      {\n        data: {\n          dgp: stt.fdeggrp,\n          year: stt.fyear,\n          examtype: stt.fexamtype,\n          examrange: stt.fexamrange,\n          user: state.user.fname,\n          tabledata: state.releaseTimeTable.relarr,\n        },\n      }\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      const error = { header: \"Success\", content: response.data.data.msg };\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    }\n  };\n};\n","import React, { Component } from \"react\";\nimport {\n  Button,\n  Modal,\n  Form,\n  Message,\n  Dropdown,\n  Radio,\n  Checkbox,\n} from \"semantic-ui-react\";\nimport { connect } from \"react-redux\";\nimport SelectDeggrp from \"../../common/SelectDeggrp\";\nimport { ReportAPI } from \"../../../apis/consts\";\n\nclass ReportTimeTable extends Component {\n  state = {\n    deggrp: [],\n    fdeggrp: \"\",\n    fyear: \"\",\n    fexamtype: \"\",\n    fexamdate: \"\",\n    fexamrange: \"ABCDEF\",\n    deggrpError: false,\n    frtype: \"QP Code Wise\",\n    frtypes: [\"Error Report\", \"QP Code Wise\", \"Degree Wise\"],\n    fexamrangeError: false,\n    frtypeError: false,\n    ferror: false,\n    ferrorm: \"\",\n    rftype: \"PDF Format\",\n    emptydates: false,\n    fdegfrom: \"0\",\n    fdegto: \"ZZZZ\",\n  };\n\n  componentDidMount() {\n    this.setState({ deggrp: this.props.deggrp });\n  }\n\n  componentDidUpdate(prevProps) {\n    if (this.props.deggrp !== prevProps.deggrp) {\n      this.setState({ deggrp: [...this.props.deggrp] });\n    }\n  }\n\n  changeDeggrp = (e, data) => {\n    let deggrpsel = this.state.deggrp.filter(\n      (el, i) => el.fdeggrp === data.value\n    );\n\n    let deggrp = deggrpsel[0];\n\n    this.setState({\n      fyear: deggrp.fyear,\n      fexamtype: deggrp.fexamtype,\n      fexamdate: deggrp.fexamdate,\n      fdeggrp: deggrp.fdeggrp,\n    });\n  };\n\n  handleChange = (e, data) => {\n    this.setState({ [data.name]: data.value });\n  };\n\n  generateReport = () => {\n    const {\n      fdeggrp,\n      fexamrange,\n      frtype,\n      rftype,\n      emptydates,\n      fdegfrom,\n      fdegto,\n    } = this.state;\n\n    if (fdeggrp == \"\") {\n      this.setState({\n        deggrpError: true,\n        ferror: true,\n        ferrorm: \"Degree Group required.\",\n      });\n      return;\n    } else {\n      this.setState({ deggrpError: false, ferror: false, ferrorm: \"\" });\n    }\n\n    if (fexamrange == \"\") {\n      this.setState({\n        fexamrangeError: true,\n        ferror: true,\n        ferrorm: \"Exam Range required.\",\n      });\n      return;\n    } else {\n      this.setState({ fexamrangeError: false, ferror: false, ferrorm: \"\" });\n    }\n\n    if (frtype == \"\") {\n      this.setState({\n        frtypeError: true,\n        ferror: true,\n        ferrorm: \"Report Type required.\",\n      });\n      return;\n    } else {\n      this.setState({ frtypeError: false, ferror: false, ferrorm: \"\" });\n    }\n    console.log(rftype);\n\n    if (frtype === \"Error Report\")\n      window.open(\n        ReportAPI +\n          \"GenerateExamTimetableError&deggrp=\" +\n          this.state.fdeggrp +\n          \"&univcode=\" +\n          this.props.univ.funivcode +\n          \"&examrange=\" +\n          this.state.fexamrange,\n        \"_blank\"\n      );\n    else if (frtype === \"Degree Wise\") {\n      console.log(frtype, rftype);\n      let ignore = emptydates ? \"T\" : \"F\";\n      console.log(frtype, rftype, ignore);\n      if (rftype == \"Excel Format\") {\n        window.open(\n          ReportAPI +\n            \"examTimeTableDegreeWiseExcel&deggrp=\" +\n            this.state.fdeggrp +\n            \"&univcode=\" +\n            this.props.univ.funivcode +\n            \"&ignorett=\" +\n            ignore +\n            \"&fdegfrom=\" +\n            fdegfrom +\n            \"&fdegto=\" +\n            fdegto +\n            \"&examrange=\" +\n            this.state.fexamrange,\n          \"_blank\"\n        );\n      } else {\n        window.open(\n          ReportAPI +\n            \"GenerateDGExamTimetable&deggrp=\" +\n            this.state.fdeggrp +\n            \"&univcode=\" +\n            this.props.univ.funivcode +\n            \"&ignorett=\" +\n            ignore +\n            \"&fdegfrom=\" +\n            fdegfrom +\n            \"&fdegto=\" +\n            fdegto +\n            \"&examrange=\" +\n            this.state.fexamrange,\n          \"_blank\"\n        );\n      }\n    } else if (frtype === \"QP Code Wise\") {\n      if (rftype == \"Excel Format\") {\n        window.open(\n          ReportAPI +\n            \"examTimeTableQPWiseReportExcel&deggrp=\" +\n            this.state.fdeggrp +\n            \"&univcode=\" +\n            this.props.univ.funivcode +\n            \"&examrange=\" +\n            this.state.fexamrange,\n          \"_blank\"\n        );\n      } else {\n        window.open(\n          ReportAPI +\n            \"GenerateQPExamTimetable&deggrp=\" +\n            this.state.fdeggrp +\n            \"&univcode=\" +\n            this.props.univ.funivcode +\n            \"&examrange=\" +\n            this.state.fexamrange,\n          \"_blank\"\n        );\n      }\n    }\n  };\n\n  changecheckempty = (e, data) => {\n    console.log(data.checked);\n    this.setState({ emptydates: data.checked });\n  };\n\n  render() {\n    const {\n      fdeggrp,\n      fyear,\n      fexamtype,\n      fexamdate,\n      fexamrange,\n      frtype,\n      frtypes,\n      deggrpError,\n      fexamrangeError,\n      frtypeError,\n      ferror,\n      ferrorm,\n      rftype,\n      emptydates,\n      fdegfrom,\n      fdegto,\n    } = this.state;\n\n    const report_options = frtypes.map((el, i) => {\n      return { key: i, value: el, text: el };\n    });\n    return (\n      <div>\n        {/* <Modal style={{ height: \"50%\", top: \"28%\", left: \"28%\", width: \"50%\" }} */}\n        <Modal\n          style={{ maxHeight: \"60%\", width: \"50%\" }}\n          dimmer={this.props.dim}\n          open={this.props.open}\n          onClose={this.props.close}\n          closeOnDimmerClick={false}\n        >\n          <Modal.Header style={{ display: \"flex\" }}>\n            Time Table Report\n            <div className=\"ml-auto\">\n              <Button\n                basic\n                color=\"blue\"\n                content=\"Generate\"\n                onClick={this.generateReport}\n                icon=\"file pdf outline\"\n              />\n              <Button\n                basic\n                color=\"black\"\n                icon=\"ban\"\n                onClick={this.props.close}\n                content=\"Cancel\"\n              />\n            </div>\n          </Modal.Header>\n\n          <Modal.Content style={{ height: \"50vh\", overflowY: \"auto\" }}>\n            <Form error>\n              {ferror ? <Message error content={ferrorm} /> : null}\n              <SelectDeggrp\n                changeDeggrp={this.changeDeggrp}\n                frmDeggrp={fdeggrp}\n                dgerror={deggrpError}\n              />\n              <Form.Group>\n                <Form.Input\n                  placeholder=\"Exam Year\"\n                  value={fyear}\n                  width={4}\n                  label=\"Exam Year\"\n                  readOnly\n                />\n                <Form.Input\n                  placeholder=\"Exam Type\"\n                  value={fexamtype}\n                  width={3}\n                  label=\"Exam Type\"\n                  readOnly\n                />\n                <Form.Input\n                  placeholder=\"Exam Date\"\n                  label=\"Exam Date\"\n                  width={10}\n                  value={fexamdate}\n                  readOnly\n                />\n              </Form.Group>\n              <label>\n                <b>Report Type</b>\n              </label>\n              <Dropdown\n                size=\"mini\"\n                fluid\n                search\n                selection\n                name=\"frtype\"\n                value={frtype}\n                onChange={this.handleChange}\n                placeholder=\"Report Type\"\n                label=\"Report Type\"\n                error={frtypeError}\n                options={report_options}\n              />\n              {frtype == \"Degree Wise\" ? (\n                <Form.Group style={{ marginTop: \"10px\" }}>\n                  <Form.Input\n                    placeholder=\"From\"\n                    error={false}\n                    width={5}\n                    onChange={this.handleChange}\n                    value={fdegfrom}\n                    name=\"fdegfrom\"\n                    label=\"Degree Range\"\n                    error={fexamrangeError}\n                  />\n\n                  <Form.Input\n                    placeholder=\"To\"\n                    error={false}\n                    width={5}\n                    onChange={this.handleChange}\n                    value={fdegto}\n                    name=\"fdegto\"\n                    style={{ marginTop: \"22px\" }}\n                    error={fexamrangeError}\n                  />\n                </Form.Group>\n              ) : null}\n\n              <Form.Group>\n                <Form.Input\n                  placeholder=\"Exam Range\"\n                  error={false}\n                  width={5}\n                  onChange={this.handleChange}\n                  value={fexamrange}\n                  name=\"fexamrange\"\n                  label=\"Exam Range\"\n                  error={fexamrangeError}\n                />\n              </Form.Group>\n              {/* <div className=\"ui checkbox\">\n                <label> Neglect empty Dates </label>\n                <input\n                  type=\"checkbox\"\n                  name=\"emptydates\"\n                  value={emptydates}\n                  onChange={(e) => this.changecheckempty(e)}\n                  checked={\"checked\"}\n                />\n              </div> */}\n              {frtype == \"Degree Wise\" ? (\n                <Checkbox\n                  onChange={(e, data) => this.changecheckempty(e, data)}\n                  value={emptydates}\n                  checked={emptydates}\n                  label=\"Ignore empty Dates\"\n                />\n              ) : null}\n              <Form.Group inline>\n                <Form.Field\n                  control={Radio}\n                  name=\"rftype\"\n                  label=\"PDF\"\n                  value=\"PDF Format\"\n                  checked={rftype === \"PDF Format\"}\n                  onChange={this.handleChange}\n                />\n                <Form.Field\n                  control={Radio}\n                  name=\"rftype\"\n                  label=\"EXCEL\"\n                  value=\"Excel Format\"\n                  checked={rftype === \"Excel Format\"}\n                  onChange={this.handleChange}\n                />\n              </Form.Group>\n            </Form>\n          </Modal.Content>\n        </Modal>\n      </div>\n    );\n  }\n}\n\nconst mapStateToProps = (state) => {\n  return {\n    deggrp: state.deggrp,\n    univ: state.univ,\n  };\n};\n\nexport default connect(mapStateToProps, {})(ReportTimeTable);\n\n// export default ReportTimeTable\n","\nfunction getToday() {\n  var today = new Date();\n  var dd = today.getDate();\n  var mm = today.getMonth() + 1; //January is 0!\n  var yyyy = today.getFullYear();\n\n  if (dd < 10) {\n    dd = '0' + dd;\n  }\n\n  if (mm < 10) {\n    mm = '0' + mm;\n  }\n\n  today = dd + '/' + mm + '/' + yyyy;\n  return today;\n}\n\nexport default getToday;"],"sourceRoot":""}