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


Current Path : /var/www/egov/build/static/js/
Upload File :
Current File : /var/www/egov/build/static/js/109.b43f796c.chunk.js.map

{"version":3,"sources":["actions/admissions/admission.js","pages/admission/college-wise-intake/dropdownoption.js","pages/admission/college-wise-intake/rowdata.js","pages/admission/college-wise-intake/collegewiseintake.js","../node_modules/semantic-ui-react/dist/es/elements/Divider/Divider.js","actions/masters/collegeform.js"],"names":["studentDegreeCombintaion","fcollcode","_ref","Object","asyncToGenerator","regenerator_default","a","mark","_callee","dispatch","getState","state","response","error","_error","wrap","_context","prev","next","type","univadmin","get","univ","funivcode","user","fdeggrp","sent","data","header","content","showError","error_code","msg","payload","stop","_x","_x2","apply","this","arguments","StudentDegreeCombinationADDrow","changeAdmissionData","el","i","showErrorType","text","_ref2","_callee2","_context2","_x3","_x4","Dropoption","react_default","createElement","Fragment","Dropdown","name","fluid","search","selection","disabled","props","editFlage","placeholder","options","value","onChange","Component","RowData","addrowdata","addrowData","dd","_this","CurentDegree","particular_college_data","length","chnagedata","e","objectSpread","defineProperty","onadd","_callee3","_context3","particularData","map","_ref3","item","fcombcode","fdegree","fintake","fexamno","alert","setState","_x5","changeCell","ndata","deleteRow","target","checked","_this2","degreeOptions","degrees","key","concat","fdescpn","comboptions","combs","filter","fcombdesc","Table","Cell","textAlign","singleLine","size","id","openOnFocus","selectOnBlur","Input","maxLength","minLength","className","readOnly","style","width","test","toUpperCase","dropdownoption","pattern","isNaN","Number","onKeyDown","event","keyCode","fdeleted","connect","filterFcombdataList","filterFcombdata","finalData","Collegewiseintake","emptyData","saveButton","duplicateData","addrowState","dropDisable","checkbox","showoption","showfeild","getallclg","fcolcode","deggroup","fyear","ftype","fexamdate","collcomb","console","log","_callee4","_context4","frmsubmit","handleSave","_callee6","check","_context6","_ref6","_callee5","_context5","push","indexOf","_x9","_x10","saveDegreeCombintaion","getCollComb","_callee7","_context7","showTable","handleClgChange","renderHeader","Card","Header","display","Button","basic","color","onClick","icon","_callee8","_context8","cancelCollegeComb","Link","to","getCollegeList","collegeOptionsList","collegeList","fcollname","particularClgdata","wheight","wHeight","Content","Divider","Description","height","overflowY","Form","Group","Field","searchInput","autoFocus","celled","Row","HeaderCell","colSpan","float","Body","rowdata","_error2","_error3","_error4","_error5","post","submit","_x6","_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__","Collegeform","CancelForm","_Users_prashanth_univadmin_react_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__","_Users_prashanth_univadmin_react_node_modules_babel_preset_react_app_node_modules_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default","GetSpecificCollege","clgcode","SaveCollegeForm","editData"],"mappings":"iSAGaA,EAA2B,SAAAC,GACtC,sBAAAC,EAAAC,OAAAC,EAAA,EAAAD,CAAAE,EAAAC,EAAAC,KAAO,SAAAC,EAAOC,EAAUC,GAAjB,IAAAC,EAAAC,EAAAC,EAAAC,EAAA,OAAAT,EAAAC,EAAAS,KAAA,SAAAC,GAAA,cAAAA,EAAAC,KAAAD,EAAAE,MAAA,cACCP,EAAQD,IAEdD,EAAS,CACPU,KAAM,eAJHH,EAAAE,KAAA,EAMkBE,IAAU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,MAAP,gBAAAE,EAAAC,GAAA,OAAAJ,EAAAT,MAAAC,KAAAC,YAAA,IA8BWuN,EAAkB,SAAAC,GAE7B,OADArG,QAAQC,IAAIoG,GACZ,eAAA1K,EAAAlF,OAAAuP,EAAA,EAAAvP,CAAAwP,EAAArP,EAAAC,KAAO,SAAA0E,EAAOxE,EAAUC,GAAjB,IAAAC,EAAAC,EAAAC,EAAA0M,EAAAC,EAAA,OAAAmC,EAAArP,EAAAS,KAAA,SAAAmE,GAAA,cAAAA,EAAAjE,KAAAiE,EAAAhE,MAAA,cACLT,EAAS,CACPU,KAAM,eAEFR,EAAQD,IAJTwE,EAAAhE,KAAA,EAKkBE,IAAUsM,KAC/B,oDACE/M,EAAMW,KAAKC,UACb,CACEI,KAAMoO,IATL,OAKCnP,EALDsE,EAAAxD,KAYLjB,EAAS,CACPU,KAAM,iBAERuI,QAAQC,IAAI,WAAY/I,SAAiBA,EAASe,MACrB,kBAAlBf,EAASe,MACZd,EAAQ,CAAEe,OAAQ,QAASC,QAAS,wBAC1CpB,EAASqB,YAAUjB,MACoB,IAA9BD,EAASe,KAAKI,YACjBlB,EAAQ,CAAEe,OAAQ,QAASC,QAASjB,EAASe,KAAKA,KAAKK,KAC7DvB,EAASqB,YAAUjB,MAEbA,EAAQ,CAAEe,OAAQ,UAAWC,QAASjB,EAASe,KAAKK,KAC1DvB,EAASqB,YAAUjB,KAxBhB,wBAAAqE,EAAAhD,SAAA+C,MAAP,gBAAAY,EAAA+H,GAAA,OAAAvI,EAAAhD,MAAAC,KAAAC,YAAA","file":"static/js/109.b43f796c.chunk.js","sourcesContent":["import univadmin from \"../../apis/univadmin\";\nimport { showError } from \"../index\";\n\nexport const studentDegreeCombintaion = fcollcode => {\n  return async (dispatch, getState) => {\n    const state = getState();\n\n    dispatch({\n      type: \"SET_LOADER\"\n    });\n    const response = await univadmin.get(\n      \"app.php?a=getSubjectCombination&univcode=\" +\n        state.univ.funivcode +\n        \"&fcollcode=\" +\n        fcollcode +\n        \"&fdeggrp=\" +\n        state.user.fdeggrp\n    );\n    dispatch({\n      type: \"UNSET_LOADER\"\n    });\n    if (typeof response.data !== \"object\") {\n      const error = { header: \"Error\", content: \"Something went wrong\" };\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    } else {\n      dispatch({\n        type: \"STUDENT_DEGREE_COMBINATION\",\n        payload: response.data\n      });\n    }\n  };\n};\n\nexport const StudentDegreeCombinationADDrow = () => {\n  return {\n    type: \"STUDENT_DEGREE_COMBINATION_CHANGE\"\n  };\n};\n\nexport const changeAdmissionData = (el, i) => {\n  return {\n    type: \"CHANGE_ADMISSION_DATA\",\n    payload: { el, i }\n  };\n};\nexport const filterFcombdata = data => {\n  return {\n    type: \"FILTER_FCOMBCODE_DATA\",\n    payload: data\n  };\n};\n\n// http://192.168.0.8/univadmin/app.php?a=submitSubjectCombination&univcode=041\n\n// {\n//   data: editData\n// }\nexport const showErrorType = text => {\n  return async (dispatch, getState) => {\n    const state = getState();\n\n    const error = { header: \"Error\", content: text };\n    dispatch(showError(error));\n  };\n};\nexport const saveDegreeCombintaion = (\n  data,\n  fcollcode,\n  duplicateData,\n  emptyData,\n  finalData\n) => {\n  return async (dispatch, getState) => {\n    const state = getState();\n\n    if (emptyData) {\n      const error = { header: \"Error\", content: \"You have empty data\" };\n      dispatch(showError(error));\n    } else if (duplicateData) {\n      const error = { header: \"Error\", content: \"You have dupilcate data\" };\n      dispatch(showError(error));\n    } else {\n      dispatch({\n        type: \"SET_LOADER\"\n      });\n      const response = await univadmin.post(\n        \"app.php?a=submitSubjectCombination&univcode=\" +\n          state.univ.funivcode +\n          \"&fcollcode=\" +\n          fcollcode,\n        {\n          submit: finalData\n        }\n      );\n      dispatch({\n        type: \"UNSET_LOADER\"\n      });\n      if (typeof response.data !== \"object\") {\n        const error = { header: \"Error\", content: \"Something went wrong\" };\n        dispatch(showError(error));\n      } else if (response.data.error_code === -1) {\n        const error = { header: \"Error\", content: response.data.msg };\n        dispatch(showError(error));\n      } else {\n        const error = { header: \"Success\", content: response.data.msg };\n        dispatch(showError(error));\n      }\n    }\n  };\n};\nexport const cancelCollegeComb = () => {\n  return {\n    type: \"CANCEL_COLLEGECOMB\"\n  };\n};\n","import React, { Component } from \"react\";\nimport { Dropdown } from \"semantic-ui-react\";\n\nclass Dropoption extends Component {\n  render() {\n    return (\n      <>\n        <Dropdown\n          name=\"fcombcode\"\n          fluid\n          search\n          selection\n          disabled={this.props.editFlage ? false : true}\n          placeholder=\"Select Combination\"\n          options={this.props.options}\n          value={this.props.value}\n          onChange={this.props.onChange}\n        />\n      </>\n    );\n  }\n}\n\nexport default Dropoption;\n","import React, { Component } from \"react\";\nimport { Dropdown, Table, Input } from \"semantic-ui-react\";\nimport { connect } from \"react-redux\";\nimport {\n  studentDegreeCombintaion,\n  StudentDegreeCombinationADDrow,\n  showErrorType,\n  filterFcombdata,\n  changeAdmissionData\n} from \"../../../actions/admissions/admission\";\n\nimport Dropoption from \"./dropdownoption\";\n\nclass RowData extends Component {\n  state = {\n    addrowdata: true,\n    addrowData: true\n  };\n  dd = [this.props.CurentDegree.particular_college_data.length];\n\n  chnagedata = async (e, el, i) => {\n    var data = { ...el, [e.name]: e.value };\n    await this.props.changeAdmissionData(data, i);\n  };\n\n  onadd = async () => {\n    await this.props.particularData.map(async (item, i) => {\n      if (\n        i == this.props.particularData.length - 1 &&\n        item.fcombcode == \"\" &&\n        item.fdegree == \"\" &&\n        item.fintake == \"\" &&\n        item.fexamno == \"\"\n      ) {\n        alert(\"w\");\n        await this.setState({ addrowData: false });\n        // await this.props.StudentDegreeCombinationADDrow()\n      }\n    });\n\n    if (!this.state.addrowData) {\n      await this.props.showErrorType(\"Enter all row data\");\n    } else {\n      this.props.StudentDegreeCombinationADDrow();\n      await this.setState({ addrowData: true });\n    }\n  };\n\n  changeCell = (data, el, i) => {\n    var ndata = { ...el, [data.name]: data.value };\n\n    this.props.changeAdmissionData(ndata, i);\n  };\n\n  deleteRow = (e, el, i) => {\n    const data = { ...el, [e.target.name]: e.target.checked ? \"T\" : \"F\" };\n    this.props.changeAdmissionData(data, i);\n  };\n\n  render() {\n    const degreeOptions = this.props.degrees.map((el, i) => {\n      return {\n        key: i,\n        value: el.fdegree,\n        text: `${el.fdegree} ${el.fdescpn}`\n      };\n    });\n\n    const degcomb = this.props.combs.filter((el, i) => {\n      return el.fdegree == this.props.el.fdegree;\n    });\n\n    const comboptions = degcomb.map((el, i) => {\n      return {\n        key: i,\n        value: el.fcombcode,\n        text: `${el.fcombcode} ${el.fcombdesc}`\n      };\n    });\n\n    return (\n      <>\n        <Table.Cell textAlign=\"center\">{this.props.i + 1}</Table.Cell>\n        <Table.Cell textAlign=\"center\" singleLine>\n          <Dropdown\n            size=\"mini\"\n            fluid\n            id={this.props.i}\n            openOnFocus={false}\n            selectOnBlur={false}\n            // searchInput={{ autoFocus: true }}\n            placeholder=\"Select Degree\"\n            name=\"fdegree\"\n            disabled={this.props.el.editFlage ? false : true}\n            value={this.props.el.fdegree}\n            selection\n            search\n            options={degreeOptions}\n            onChange={(e, data) =>\n              this.changeCell(data, this.props.el, this.props.i)\n            }\n          />\n        </Table.Cell>\n        <Table.Cell textAlign=\"center\" singleLine>\n          <Input\n            maxLength=\"1\"\n            minLength=\"1\"\n            className=\"field\"\n            type=\"text\"\n            name=\"fexamno\"\n            readOnly={this.props.el.editFlage ? false : true}\n            id={this.props.i}\n            value={this.props.el.fexamno}\n            style={{ width: \"5em\" }}\n            onChange={(e, data) => {\n              if (data.value == \"\") {\n              } else if (!/^[a-j]+$/i.test(data.value)) {\n                return false;\n              }\n              data = { name: \"fexamno\", value: data.value.toUpperCase() };\n              this.changeCell(data, this.props.el, this.props.i);\n            }}\n\n            // onChange={(e, data) => this.changeCell(data, this.props.el, this.props.i)}\n          />\n        </Table.Cell>\n        <Table.Cell>\n          <Dropoption\n            editFlage={this.props.el.editFlage}\n            options={comboptions}\n            value={this.props.el.fcombcode}\n            onChange={(e, data) =>\n              this.changeCell(data, this.props.el, this.props.i)\n            }\n          />\n        </Table.Cell>\n\n        <Table.Cell>\n          <Input\n            className=\"field\"\n            pattern=\"[0-9]*\"\n            onChange={(e, data) => {\n              if (isNaN(Number(e.target.value) || e.key === \"Tab\")) {\n                return;\n              } else {\n                this.changeCell(data, this.props.el, this.props.i);\n              }\n            }}\n            type=\"text\"\n            style={{ textAlign: \"center\", width: \"5em\" }}\n            value={this.props.el.fintake}\n            name=\"fintake\"\n            maxLength=\"3\"\n            minLength=\"3\"\n            id={this.props.i}\n            // onChange={(e, data) => this.changeCell(data, this.props.el, this.props.i)}\n          />\n        </Table.Cell>\n        <Table.Cell textAlign=\"center\">\n          <div className=\"ui checkbox\">\n            <input\n              type=\"checkbox\"\n              name=\"fdeleted\"\n              onKeyDown={event => {\n                if (\n                  event.keyCode == 9 &&\n                  this.props.i == this.props.particularData.length - 1\n                ) {\n                  this.onadd();\n                }\n              }}\n              value={this.props.el.fdeleted}\n              onChange={e => this.deleteRow(e, this.props.el, this.props.i)}\n              checked={this.props.el.fdeleted == \"T\" ? \"checked\" : null}\n            />\n            <label> </label>\n          </div>\n        </Table.Cell>\n      </>\n    );\n  }\n}\n\nconst mapStateToProps = state => {\n  return {\n    CurentDegree: state.studentDegreeCombintaion,\n    filterFcombdataList: state.filterFcombdata,\n    degrees: state.studentDegreeCombintaion.degrees,\n    combs: state.studentDegreeCombintaion.data,\n    particularData: state.studentDegreeCombintaion.particular_college_data\n  };\n};\n\nexport default connect(\n  mapStateToProps,\n  {\n    StudentDegreeCombinationADDrow,\n    studentDegreeCombintaion,\n\n    changeAdmissionData,\n\n    filterFcombdata,\n    showErrorType\n  }\n)(RowData);\n","import React, { Component } from \"react\";\nimport {\n  Card,\n  Divider,\n  Button,\n  Form,\n  Dropdown,\n  Table\n} from \"semantic-ui-react\";\nimport { connect } from \"react-redux\";\nimport {\n  studentDegreeCombintaion,\n  StudentDegreeCombinationADDrow,\n  cancelCollegeComb,\n  showErrorType,\n  saveDegreeCombintaion,\n  changeAdmissionData\n} from \"../../../actions/admissions/admission\";\n\nimport { getCollegeList } from \"../../../actions/masters/collegeform\";\n\nimport { Link } from \"react-router-dom\";\nimport { wHeight } from \"../../parms\";\nimport Rowdata from \"./rowdata\";\n\nvar tableData = [];\nvar degrrelistoption = [];\nvar degreeData = [];\nvar particularClgdata = [];\nvar fcollcodeData = [];\nvar fcollcodeNewDataoption = [];\nvar fcollcodeNewData = [];\n\nvar finalData = [];\nconst Dropoption = props => {\n  var deName = props.realdaata.particular_college_data[props.itemvalue].fdegree;\n\n  tableData = props.value;\n  fcollcodeData = tableData.filter(item => {\n    return deName == item.fdegree\n      ? {\n          value: item.fcombcode,\n          text: item.fcombcode\n        }\n      : \"\";\n  });\n  fcollcodeNewDataoption = [];\n  fcollcodeNewDataoption = fcollcodeData.map(item => {\n    return {\n      value: item.fcombcode,\n      text: item.fcombcode\n    };\n  });\n  const a = async (e, el, i) => {\n    var data = { ...el, [e.name]: e.value };\n\n    await props.f(data, i);\n  };\n  return (\n    <>\n      <Dropdown\n        label=\"sss\"\n        name=\"fcombcode\"\n        fluid\n        search\n        selection\n        onChange={(e, data) =>\n          a({ name: data.name, value: data.value }, props.el, props.i)\n        }\n        // onChange={a}\n        placeholder=\"Select Degree\"\n        options={fcollcodeNewDataoption}\n        defaultValue={deName}\n        value={fcollcodeNewDataoption.fcombcode}\n      />\n    </>\n  );\n};\n\nclass Collegewiseintake extends Component {\n  componentDidMount() {\n    this.props.getCollegeList();\n  }\n  state = {\n    emptyData: true,\n    saveButton: true,\n    duplicateData: false,\n    addrowState: true,\n    addrowdata: true,\n    addrowData: true,\n    dropDisable: false,\n    checkbox: \"\",\n    fcollcode: \"\",\n    showoption: false,\n    showfeild: false,\n    getallclg: true,\n    fcolcode: \"\",\n    deggroup: [\n      {\n        fdeggrp: \"\",\n        fdescpn: \"\",\n        fyear: \"\",\n        ftype: \"\",\n        fexamdate: \"\",\n        fdeleted: false\n      }\n    ]\n  };\n\n  onadd = async () => {\n    await this.props.collcomb.map(async (item, i) => {\n      console.log(\n        \"ietm\",\n        item.fcombcode,\n        item.fdegree,\n        item.fintake,\n        item.fexamno\n      );\n\n      // (this.props.collcomb.length==i)\n\n      if (\n        i == this.props.collcomb.length - 1 &&\n        item.fcombcode == \"\" &&\n        item.fdegree == \"\" &&\n        item.fintake == \"\" &&\n        item.fexamno == \"\"\n      ) {\n        alert(\"w\");\n        await this.setState({ addrowData: false });\n        // await this.props.StudentDegreeCombinationADDrow()\n      }\n    });\n    console.log(\"addrowData\", this.state.addrowData);\n    if (!this.state.addrowData) {\n      await this.props.showErrorType(\"Enter all row data\");\n    } else {\n      this.props.StudentDegreeCombinationADDrow();\n      await this.setState({ addrowData: true });\n    }\n  };\n\n  changeCell = async (e, el, i) => {\n    await this.setState({ frmsubmit: true });\n    await this.setState({ duplicateData: false });\n    console.log(\"droopp\", \"e\", e, \"el\", el, \"i\", i);\n    var data = { ...el, [e.target.name]: e.target.value };\n    await this.props.changeAdmissionData(data, i);\n  };\n\n  handleSave = async () => {\n    await this.setState({ duplicateData: false });\n    var check = [];\n\n    finalData = [];\n    this.props.collcomb.map(async (item, i) => {\n      if (\n        i != this.props.collcomb.length - 1 &&\n        (item.fcombcode != \"\" &&\n          item.fdegree != \"\" &&\n          item.fintake != \"\" &&\n          item.fexamno != \"\")\n      ) {\n        this.setState({ emptyData: false });\n      }\n      if (\n        item.fcombcode != \"\" &&\n        item.fdegree != \"\" &&\n        item.fintake != \"\" &&\n        item.fexamno != \"\"\n      ) {\n        finalData.push({\n          fdegree: item.fdegree,\n          fexamno: item.fexamno,\n          fcombcode: item.fcombcode,\n          fintake: item.fintake,\n          fdeleted: item.fdeleted\n        });\n      }\n\n      console.log(\n        \"after before hcek\",\n        check.indexOf(`${item.fcombcode}+${item.fdegree}`),\n        \"check\",\n        check,\n        `${item.fcombcode}+${item.fdegree}`\n      );\n      if (check.indexOf(`${item.fcombcode}+${item.fdegree}`) !== -1) {\n        await this.setState({ duplicateData: true });\n      }\n      check.push(`${item.fcombcode}+${item.fdegree}`);\n    });\n\n    if (this.state.emptyData == false) {\n      await this.props.saveDegreeCombintaion(\n        this.props.collcomb,\n        this.state.fcollcode,\n        this.state.duplicateData,\n        this.state.emptyData,\n        finalData\n      );\n\n      await this.props.studentDegreeCombintaion(this.state.fcollcode);\n    } else {\n      this.props.showErrorType(\"Enter all data\");\n    }\n  };\n\n  getCollComb = async () => {\n    this.setState({ saveButton: false });\n    this.setState({ dropDisable: true });\n    await this.props.studentDegreeCombintaion(this.state.fcollcode);\n\n    this.setState({ showTable: true });\n  };\n\n  handleClgChange = (e, data) => {\n    this.setState({ fcollcode: data.value });\n  };\n\n  renderHeader = () => {\n    return (\n      <Card.Header style={{ display: \"flex\" }}>\n        <h4>College Wise Intake</h4>\n        <div className=\"ml-auto\">\n          <Button\n            disabled={this.state.saveButton}\n            basic\n            color=\"green\"\n            content=\"Save\"\n            onClick={this.handleSave}\n            icon=\"save\"\n          />\n          <Button\n            basic\n            onClick={async () => {\n              this.props.cancelCollegeComb();\n\n              await this.setState({ dropDisable: false, saveButton: true });\n              await this.setState({ showTable: false });\n              await this.setState({ fcollcode: \"\" });\n            }}\n            color=\"black\"\n            icon=\"ban\"\n            content=\"Cancel\"\n          />\n\n          <Link to=\"/dashboard\">\n            <Button basic color=\"red\" content=\"Exit\" icon=\"home\" />\n          </Link>\n        </div>\n      </Card.Header>\n    );\n  };\n\n  render() {\n    const collegeOptionsList = this.props.collegeList.map(item => {\n      return {\n        value: item.fcollcode,\n        text: `${item.fcollcode} ${item.fcollname}`\n      };\n    });\n    const particularClgdata = this.props.collcomb;\n    const wheight = wHeight();\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-12\">\n                <Form>\n                  <Form.Group>\n                    <Form.Field width={16}>\n                      <label>College List</label>\n                      <Dropdown\n                        size=\"mini\"\n                        fluid\n                        disabled={this.state.dropDisable ? true : false}\n                        openOnFocus={false}\n                        selectOnBlur={false}\n                        searchInput={{ autoFocus: true }}\n                        placeholder=\"Select College\"\n                        name=\"fcollcode\"\n                        selection\n                        search\n                        value={this.state.fcollcode}\n                        options={collegeOptionsList}\n                        onChange={this.handleClgChange}\n                      />\n                    </Form.Field>\n                  </Form.Group>\n                  <Divider />\n                  <Button\n                    disabled={this.state.fcollcode == \"\" ? true : false}\n                    onClick={this.getCollComb}\n                    color=\"blue\"\n                    content=\"Submit\"\n                  />\n                </Form>\n\n                {this.state.showTable && (\n                  <>\n                    <Table celled>\n                      <Table.Header>\n                        <Table.Row>\n                          <Table.HeaderCell colSpan=\"9\">\n                            Combination Wise Intake\n                            <b style={{ float: \"right\" }}>\n                              <Button\n                                basic\n                                // disabled={this.state.addrowState ? false : true}\n                                color=\"blue\"\n                                content=\"Add Row\"\n                                icon=\"plus\"\n                                onClick={this.onadd}\n                              />\n                            </b>\n                          </Table.HeaderCell>\n                        </Table.Row>\n                      </Table.Header>\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: \"30%\" }}\n                            textAlign=\"center\"\n                          >\n                            Degree\n                          </Table.HeaderCell>\n                          <Table.HeaderCell\n                            style={{ width: \"5%\" }}\n                            textAlign=\"center\"\n                          >\n                            Semester\n                          </Table.HeaderCell>\n                          <Table.HeaderCell\n                            style={{ width: \"30%\" }}\n                            textAlign=\"center\"\n                          >\n                            Combination\n                          </Table.HeaderCell>\n                          <Table.HeaderCell\n                            style={{ width: \"5%\" }}\n                            textAlign=\"center\"\n                          >\n                            Intake\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                        {particularClgdata.map((el, i) => {\n                          return (\n                            <Table.Row key={i}>\n                              <Rowdata el={el} i={i} />\n                            </Table.Row>\n                          );\n                        })}\n                      </Table.Body>\n                    </Table>\n                  </>\n                )}\n                {/* </Form> */}\n              </div>\n              <Divider />\n            </Card.Description>\n          </Card.Content>\n        </Card>\n      </div>\n    );\n  }\n}\n\nconst mapStateToProps = state => {\n  return {\n    collegeList: state.collegeList,\n    collcomb: state.studentDegreeCombintaion.particular_college_data\n  };\n};\n\nexport default connect(\n  mapStateToProps,\n  {\n    StudentDegreeCombinationADDrow,\n    studentDegreeCombintaion,\n    showErrorType,\n\n    changeAdmissionData,\n    getCollegeList,\n    saveDegreeCombintaion,\n    cancelCollegeComb\n  }\n)(Collegewiseintake);\n\n// )(Collegewiseintake, { Dropoption });\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\";\nimport { showError } from \"../index\";\n\nexport const Collegeform = (name, value) => {\n  return {\n    type: \"COLLEGE_FORM\",\n    payload: { name, value }\n  };\n};\n\nexport const CancelForm = () => {\n  return {\n    type: \"CANCEL_FORM\",\n    payload: 1\n  };\n};\n\nexport const getCollegeList = () => {\n  return async (dispatch, getState) => {\n    const state = getState();\n    dispatch({\n      type: \"SET_LOADER\"\n    });\n\n    const response = await univadmin.get(\n      \"app.php?a=GetAllCollegeList&univcode=\" + state.univ.funivcode\n    );\n    dispatch({\n      type: \"UNSET_LOADER\"\n    });\n    if (typeof response.data !== \"object\") {\n      const error = { header: \"Error\", content: \"Something went wrong\" };\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    } else {\n      dispatch({\n        type: \"ALL_COLLEGE_LIST\",\n        payload: response.data\n      });\n    }\n  };\n};\n\nexport const GetSpecificCollege = clgcode => {\n  return async (dispatch, getState) => {\n    const state = getState();\n    dispatch({\n      type: \"SET_LOADER\"\n    });\n    // app.php?a=GetSpecificCollege&collcode=1003&univcode=041\n    const response = await univadmin.get(\n      \"app.php?a=GetSpecificCollege&collcode=\" +\n        clgcode +\n        \"&univcode=\" +\n        state.univ.funivcode\n    );\n    dispatch({\n      type: \"UNSET_LOADER\"\n    });\n    if (typeof response.data !== \"object\") {\n      const error = { header: \"Error\", content: \"Something went wrong\" };\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    } else {\n      dispatch({\n        type: \"GET_SPECIFIC_COLLEGE\",\n        payload: response.data\n      });\n    }\n  };\n};\n\nexport const SaveCollegeForm = editData => {\n  console.log(editData);\n  return async (dispatch, getState) => {\n    dispatch({\n      type: \"SET_LOADER\"\n    });\n    const state = getState();\n    const response = await univadmin.post(\n      \"/app.php?a=InsertOrUpdateCollegeDetails&univcode=\" +\n        state.univ.funivcode,\n      {\n        data: editData\n      }\n    );\n    dispatch({\n      type: \"UNSET_LOADER\"\n    });\n    console.log(\"response\", response, typeof response.data);\n    if (typeof response.data !== \"object\") {\n      const error = { header: \"Error\", content: \"Something went wrong\" };\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    } else {\n      const error = { header: \"Success\", content: response.data.msg };\n      dispatch(showError(error));\n    }\n  };\n};\n"],"sourceRoot":""}