0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 18.119.109.60


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

{"version":3,"sources":["pages/masters/collegeform/index.js","../node_modules/semantic-ui-react/dist/es/elements/Divider/Divider.js","actions/masters/collegeform.js"],"names":["deg_options","CollegeForm","state","checkbox","checkbox1","getallclg","colcode","flag","shodrop1","shodrop","error","errorMessage","frmsubmit","fdeggrp","setDeggrp","data","_this","setState","handleSave","_callee","_Users_prashanth_univadmin_react_node_modules_babel_preset_react_app_node_modules_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default","a","wrap","_context","prev","next","props","SaveCollegeForm","Collegeformdata","handleCancel","stop","CancelForm","handleChangeSelectClg","_callee3","e","_ref2","value","_context3","name","Collegeform","collegeList","map","_ref4","Object","_Users_prashanth_univadmin_react_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_2__","mark","_callee2","item","_context2","fcollcode","sent","t1","react__WEBPACK_IMPORTED_MODULE_8___default","t2","Fragment","GetSpecificCollege","t3","t0","createElement","call","abrupt","_x3","apply","this","arguments","handleChange","_callee4","_ref5","str","_context4","FCOLLNAME","FTOWN","FCOLLCODE","SpecificCollegeDetails","ffaculty","i","length","concat","add","_callee5","_context5","renderHeader","semantic_ui_react__WEBPACK_IMPORTED_MODULE_9__","Header","style","display","className","semantic_ui_react__WEBPACK_IMPORTED_MODULE_10__","disabled","basic","color","content","onClick","icon","react_router_dom__WEBPACK_IMPORTED_MODULE_18__","to","getCollegeList","_React$createElement","deggrp","el","key","text","currentFormdata","currentFADMSTATUS","FADMSTATUS","collegeOptionsList","fcollname","array","split","undefined","wheight","wHeight","fluid","Content","semantic_ui_react__WEBPACK_IMPORTED_MODULE_11__","Description","height","overflowY","semantic_ui_react__WEBPACK_IMPORTED_MODULE_12__","Group","Field","width","semantic_ui_react__WEBPACK_IMPORTED_MODULE_13__","size","openOnFocus","selectOnBlur","searchInput","autoFocus","placeholder","allowAdditions","onAddItem","_Users_prashanth_univadmin_react_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__","Input","label","readOnly","onChange","id","FCOLLADD1","FPHONE","FCOLLADD2","fmobile","FCOLLADD3","faltmobile","FCOLLADD4","FEMAILC","inline","control","Radio","checked","FCOLLTYPE","search","selection","options","multiple","FPRINCIPALNAME","fbankaccno","fbranchcode","fbank","fifsccode","fbankbranch","fbankplace","Component","connect","saveDeggrp","univcode","user","fcuruniv","showError","_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__","__webpack_require__","_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default","n","classnames__WEBPACK_IMPORTED_MODULE_1__","classnames__WEBPACK_IMPORTED_MODULE_1___default","react__WEBPACK_IMPORTED_MODULE_2__","react__WEBPACK_IMPORTED_MODULE_2___default","_lib__WEBPACK_IMPORTED_MODULE_3__","_lib__WEBPACK_IMPORTED_MODULE_4__","_lib__WEBPACK_IMPORTED_MODULE_5__","_lib__WEBPACK_IMPORTED_MODULE_6__","Divider","children","clearing","fitted","hidden","horizontal","inverted","section","vertical","classes","rest","ElementType","isNil","handledProps","propTypes","__webpack_exports__","type","payload","_ref","_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","dispatch","getState","response","_error","univadmin","get","univ","funivcode","header","error_code","msg","_x","_x2","clgcode","_error2","_x4","editData","console","log","_ref3","_error3","_error4","post","_x5","_x6"],"mappings":"2SAqBIA,EAAc,GACZC,6MAKJC,MAAQ,CACNC,SAAU,GAC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BxM,EAAQ,CAAEuM,OAAQ,QAAStH,QAASgH,EAAS5L,KAAKA,KAAKoM,KAC7DV,EAASlC,YAAU7J,MAEbA,EAAQ,CAAEuM,OAAQ,UAAWtH,QAASgH,EAAS5L,KAAKoM,KAC1DV,EAASlC,YAAU7J,KAxBhB,wBAAA2B,EAAAP,SAAAG,MAAP,gBAAA+L,EAAAC,GAAA,OAAAL,EAAA9J,MAAAC,KAAAC,YAAA","file":"static/js/110.23550499.chunk.js","sourcesContent":["import React, { Component } from \"react\";\nimport {\n  Card,\n  Divider,\n  Button,\n  Form,\n  Dropdown,\n  Radio\n} from \"semantic-ui-react\";\nimport { connect } from \"react-redux\";\n\nimport { showError } from \"../../../actions\";\nimport {\n  getCollegeList,\n  GetSpecificCollege,\n  Collegeform,\n  SaveCollegeForm,\n  CancelForm\n} from \"../../../actions/masters/collegeform\";\nimport { Link } from \"react-router-dom\";\nimport { wHeight } from \"../../parms\";\nvar deg_options = [];\nclass CollegeForm extends Component {\n  componentDidMount() {\n    this.props.getCollegeList();\n  }\n\n  state = {\n    checkbox: \"\",\n    checkbox1: \"\",\n    getallclg: true,\n    colcode: \"\",\n    flag: false,\n    shodrop1: false,\n    shodrop: false,\n    error: false,\n    errorMessage: \"\",\n    frmsubmit: false,\n    fdeggrp: \"\"\n  };\n\n  setDeggrp = data => {\n    this.setState({ fdeggrp: data });\n  };\n\n  handleSave = async () => {\n    await this.props.SaveCollegeForm(this.props.Collegeformdata);\n    this.handleCancel();\n  };\n\n  handleCancel = () => {\n    this.setState({ flag: false, colcode: \"\" });\n    this.props.CancelForm();\n  };\n\n  handleChangeSelectClg = async (e, { name, value }) => {\n    await this.props.Collegeform(\"FCOLLCODE\", value);\n\n    this.setState({ colcode: value });\n\n    this.props.collegeList.map(async item => {\n      return (await (value === item.fcollcode)) ? (\n        <> {await this.props.GetSpecificCollege(value)}</>\n      ) : null;\n    });\n    await this.setState({ flag: true });\n  };\n\n  handleChange = async (e, { name, value }) => {\n    this.props.Collegeformdata.FCOLLNAME != \"\" &&\n      this.props.Collegeformdata.FTOWN != \"\" &&\n      this.props.Collegeformdata.FCOLLCODE != \"\" &&\n      this.setState({ flag: true });\n\n    if (name !== \"ffaculty\") {\n      await this.props.Collegeform(name, value, typeof value);\n    }\n    if (name == \"ffaculty\") {\n      if (typeof value == \"object\" && name == \"ffaculty\") {\n        var stringdata = this.props.SpecificCollegeDetails.ffaculty\n          ? this.props.SpecificCollegeDetails.ffaculty\n          : \"\";\n\n        if (true) {\n          var str = \"\";\n          value.map((item, i) => {\n            return i < value.length && item != \"\"\n              ? (str = `${item}*${str}`)\n              : null;\n          });\n          await this.props.Collegeform(name, str);\n        }\n      }\n    }\n\n    {\n      value == \"NA\" && (await this.setState({ checkbox: \"NA\" }));\n    }\n\n    {\n      value == \"A\" && (await this.setState({ checkbox: \"A\" }));\n    }\n    {\n      value == \"AUTO\" && (await this.setState({ checkbox1: \"AUTO\" }));\n    }\n    {\n      value == \"AFF\" && (await this.setState({ checkbox1: \"AFF\" }));\n    }\n  };\n\n  add = async () => {\n    await this.setState({ getallclg: false });\n  };\n\n  renderHeader = () => {\n    return (\n      <Card.Header style={{ display: \"flex\" }}>\n        <h4>College Form</h4>\n        <div className=\"ml-auto\">\n          <Button\n            disabled={!this.state.flag}\n            basic\n            color=\"green\"\n            content=\"Save\"\n            onClick={this.handleSave}\n            icon=\"save\"\n          />\n          <Button\n            basic\n            onClick={this.handleCancel}\n            color=\"black\"\n            icon=\"ban\"\n            content=\"Cancel\"\n          />\n          <Link to=\"/dashboard\">\n            <Button basic color=\"red\" content=\"Exit\" icon=\"home\" />\n          </Link>\n        </div>\n      </Card.Header>\n    );\n  };\n\n  render() {\n    const deggrp = this.props.deggrp;\n\n    deg_options = deggrp.map((el, i) => {\n      return {\n        key: i,\n        value: el.fdeggrp,\n        text: el.fdeggrp\n      };\n    });\n\n    const currentFormdata = this.props.Collegeformdata;\n\n    const currentFADMSTATUS = currentFormdata.FADMSTATUS;\n\n    const collegeOptionsList = this.props.collegeList.map(item => {\n      return {\n        value: item.fcollcode,\n        text: `${item.fcollcode} ${item.fcollname}`\n      };\n    });\n\n    if (currentFormdata.ffaculty != null) {\n      var str = currentFormdata.ffaculty;\n      var array = str.split(\"*\");\n    }\n    array = array == undefined ? [] : array;\n    const wheight = wHeight();\n\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\">\n                <Form>\n                  <Form.Group>\n                    <Form.Field width={16}>\n                      <label>College List</label>\n                      <Dropdown\n                        size=\"mini\"\n                        fluid\n                        openOnFocus={false}\n                        selectOnBlur={false}\n                        searchInput={{ autoFocus: true }}\n                        placeholder=\"Select college \"\n                        name=\"collegeOptionsList\"\n                        allowAdditions\n                        onAddItem={this.add}\n                        // @ts-ignore\n                        openOnFocus={false}\n                        selectOnBlur={false}\n                        value={this.state.colcode}\n                        selection\n                        search\n                        options={collegeOptionsList}\n                        onChange={this.handleChangeSelectClg}\n                      />\n                    </Form.Field>\n                  </Form.Group>\n\n                  {(this.state.flag || this.state.shodrop1) && (\n                    <>\n                      <Form.Group width={16}>\n                        <Form.Input\n                          width={3}\n                          placeholder=\"College Code\"\n                          value={\n                            currentFormdata.FCOLLCODE\n                              ? currentFormdata.FCOLLCODE\n                              : this.state.colcode\n                          }\n                          label=\"College Code\"\n                          name=\"FCOLLCODE\"\n                          readOnly={\n                            this.props.Collegeformdata.FCOLLCODE != \"\" ||\n                            this.state.colcode != \"\"\n                          }\n                          onChange={this.handleChange}\n                        />\n\n                        <Form.Input\n                          width={10}\n                          id=\"FCOLLNAME\"\n                          name=\"FCOLLNAME\"\n                          label=\"College Name\"\n                          value={currentFormdata.FCOLLNAME}\n                          placeholder=\"College Name\"\n                          onChange={this.handleChange}\n                        />\n\n                        <Form.Input\n                          placeholder=\"Consituency\"\n                          // value={fyear}\n                          width={4}\n                          label=\"Consituency\"\n                          name=\"FTOWN\"\n                          value={currentFormdata.FTOWN}\n                          onChange={this.handleChange}\n                        />\n                      </Form.Group>\n\n                      <Form.Group width={16}>\n                        <Form.Input\n                          placeholder=\"Address Line1\"\n                          // value={fyear}\n                          width={8}\n                          label=\"Address Line1\"\n                          name=\"FCOLLADD1\"\n                          value={currentFormdata.FCOLLADD1}\n                          onChange={this.handleChange}\n                        />\n                        <Form.Input\n                          placeholder=\"Land Line number\"\n                          // value={fexamtype}\n                          value={currentFormdata.FPHONE}\n                          width={8}\n                          label=\"Land Line number\"\n                          name=\"FPHONE\"\n                          onChange={this.handleChange}\n                        />\n                      </Form.Group>\n                      <Form.Group width={16}>\n                        <Form.Input\n                          placeholder=\"Enter Address Line2\"\n                          // value={fyear}\n                          width={8}\n                          label=\"Address Line2\"\n                          name=\"FCOLLADD2\"\n                          value={currentFormdata.FCOLLADD2}\n                          onChange={this.handleChange}\n                        />\n                        <Form.Input\n                          placeholder=\"Mobile Number\"\n                          // value={fexamtype}\n                          value={currentFormdata.fmobile}\n                          width={8}\n                          label=\"Mobile\"\n                          name=\"fmobile\"\n                          onChange={this.handleChange}\n                        />\n                      </Form.Group>\n                      <Form.Group width={16}>\n                        <Form.Input\n                          placeholder=\"Address Line3\"\n                          // value={fyear}\n                          width={8}\n                          label=\"Address Line3\"\n                          name=\"FCOLLADD3\"\n                          value={currentFormdata.FCOLLADD3}\n                          onChange={this.handleChange}\n                        />\n                        <Form.Input\n                          placeholder=\"Alternate Mobile\"\n                          // value={fexamtype}\n                          value={currentFormdata.faltmobile}\n                          width={8}\n                          label=\"Alternate Mobile\"\n                          name=\"faltmobile\"\n                          onChange={this.handleChange}\n                        />\n                      </Form.Group>\n                      <Form.Group width={16}>\n                        <Form.Input\n                          placeholder=\"Address Line4\"\n                          // value={fyear}\n                          width={8}\n                          label=\"Address Line4\"\n                          name=\"FCOLLADD4\"\n                          value={currentFormdata.FCOLLADD4}\n                          onChange={this.handleChange}\n                        />\n                        <Form.Input\n                          placeholder=\"Email\"\n                          // value={fexamtype}\n                          value={currentFormdata.FEMAILC}\n                          width={8}\n                          label=\"Email\"\n                          name=\"FEMAILC\"\n                          onChange={this.handleChange}\n                        />\n                      </Form.Group>\n                      <Form.Group>\n                        <Form.Field width={8} inline>\n                          <label>Admission Status </label>\n                          <Form.Field\n                            width={8}\n                            control={Radio}\n                            name=\"FADMSTATUS\"\n                            label=\"A\"\n                            value=\"A\"\n                            checked={\n                              (this.state.checkbox != \"\"\n                                ? this.state.checkbox\n                                : currentFADMSTATUS) == \"A\"\n                            }\n                            onChange={this.handleChange}\n                          />\n\n                          <Form.Field\n                            width={8}\n                            control={Radio}\n                            name=\"FADMSTATUS\"\n                            label=\"NA\"\n                            value=\"NA\"\n                            checked={\n                              (this.state.checkbox != \"\"\n                                ? this.state.checkbox\n                                : currentFADMSTATUS) == \"NA\"\n                            }\n                            onChange={this.handleChange}\n                          />\n                        </Form.Field>\n\n                        <Form.Field width={8} inline>\n                          <label>College Type </label>\n                          <Form.Field\n                            width={8}\n                            control={Radio}\n                            name=\"FCOLLTYPE\"\n                            label=\"AFFILIATED\"\n                            value=\"AFF\"\n                            checked={\n                              (this.state.checkbox1 != \"\"\n                                ? this.state.checkbox1\n                                : currentFormdata.FCOLLTYPE) == \"AFF\"\n                            }\n                            onChange={this.handleChange}\n                          />\n\n                          <Form.Field\n                            width={8}\n                            control={Radio}\n                            name=\"FCOLLTYPE\"\n                            label=\"AUTONOMOUS\"\n                            value=\"AUTO\"\n                            checked={\n                              (this.state.checkbox1 != \"\"\n                                ? this.state.checkbox1\n                                : currentFormdata.FCOLLTYPE) == \"AUTO\"\n                            }\n                            onChange={this.handleChange}\n                          />\n                        </Form.Field>\n                      </Form.Group>\n\n                      <Form.Group width={16}>\n                        <Form.Field width={8}>\n                          <label>Select Degree Group</label>\n\n                          {array.length > 0 && (\n                            <Dropdown\n                              label=\"sss\"\n                              name=\"ffaculty\"\n                              fluid\n                              search\n                              selection\n                              onChange={this.handleChange}\n                              placeholder=\"Select Degree\"\n                              options={deg_options}\n                              value={array}\n                              multiple\n                              disabled={this.props.disabled}\n                            />\n                          )}\n                          {array.length <= 0 && (\n                            <Dropdown\n                              label=\"sss\"\n                              name=\"ffaculty\"\n                              fluid\n                              search\n                              selection\n                              onChange={this.handleChange}\n                              placeholder=\"Select Degree\"\n                              options={deg_options}\n                              value={array}\n                              multiple\n                              disabled={this.props.disabled}\n                            />\n                          )}\n                        </Form.Field>\n\n                        <Form.Input\n                          placeholder=\"Principle Name\"\n                          // value={fexamtype}\n                          value={currentFormdata.FPRINCIPALNAME}\n                          width={8}\n                          label=\"Principal Name\"\n                          name=\"FPRINCIPALNAME\"\n                          onChange={this.handleChange}\n                        />\n                      </Form.Group>\n                      <Form.Group width={16}>\n                        <Form.Input\n                          placeholder=\"Branch Account number\"\n                          // value={fyear}\n                          width={8}\n                          label=\"Branch Account number\"\n                          name=\"fbankaccno\"\n                          value={currentFormdata.fbankaccno}\n                          onChange={this.handleChange}\n                        />\n                        <Form.Input\n                          placeholder=\"Branch Code\"\n                          // value={fexamtype}\n                          value={currentFormdata.fbranchcode}\n                          width={8}\n                          label=\"Branch Code\"\n                          name=\"fbranchcode\"\n                          onChange={this.handleChange}\n                        />\n                      </Form.Group>\n                      {/* <Form.Dropdown\n                    placeholder=\"Select Options\"\n                    value={['2']}\n                    fluid multiple selection\n                    options={options}\n                  /> */}\n\n                      <Form.Group width={16}>\n                        <Form.Input\n                          placeholder=\"Bank Name\"\n                          // value={fyear}\n                          width={8}\n                          label=\"Bank Name\"\n                          name=\"fbank\"\n                          value={currentFormdata.fbank}\n                          onChange={this.handleChange}\n                        />\n                        <Form.Input\n                          placeholder=\"IFSC CODE\"\n                          // value={fexamtype}\n                          value={currentFormdata.fifsccode}\n                          width={8}\n                          label=\"IFSC CODE\"\n                          name=\"fifsccode\"\n                          onChange={this.handleChange}\n                        />\n                      </Form.Group>\n\n                      <Form.Group width={16}>\n                        <Form.Input\n                          placeholder=\"Branch Name\"\n                          // value={fyear}\n                          width={8}\n                          label=\"Branch Name\"\n                          name=\"fbankbranch\"\n                          value={currentFormdata.fbankbranch}\n                          onChange={this.handleChange}\n                        />\n                        <Form.Input\n                          placeholder=\"Bank Location\"\n                          // value={fexamtype}\n                          value={currentFormdata.fbankplace}\n                          width={8}\n                          label=\"Bank Location\"\n                          name=\"fbankplace\"\n                          onChange={this.handleChange}\n                        />\n                      </Form.Group>\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    saveDeggrp: state.saveDeggrp,\n    univcode: state.user.fcuruniv,\n    collegeList: state.collegeList,\n    deggrp: state.deggrp,\n    Collegeformdata: state.CollegeForm,\n    SpecificCollegeDetails: state.GetSpecificCollege\n  };\n};\n\nexport default connect(\n  mapStateToProps,\n  {\n    showError,\n    getCollegeList,\n    SaveCollegeForm,\n    Collegeform,\n    CancelForm,\n    GetSpecificCollege\n  }\n)(CollegeForm);\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":""}