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.118.144.50
{"version":3,"sources":["pages/masters/Degree/degActionsScreen/index.js","../node_modules/semantic-ui-react/dist/es/elements/Divider/Divider.js","actions/masters/degSemList.js"],"names":["_regeneratorRuntime","e","t","r","Object","prototype","n","hasOwnProperty","o","defineProperty","value","i","Symbol","a","iterator","c","asyncIterator","u","toStringTag","define","enumerable","configurable","writable","wrap","Generator","create","Context","makeInvokeMethod","tryCatch","type","arg","call","h","l","f","s","y","GeneratorFunction","GeneratorFunctionPrototype","p","this","d","getPrototypeOf","v","values","g","defineIteratorMethods","forEach","_invoke","AsyncIterator","invoke","resolve","__await","then","callInvokeWithMethodAndArg","Error","done","method","delegate","maybeInvokeDelegate","sent","_sent","dispatchException","abrupt","return","TypeError","resultName","next","nextLoc","pushTryEntry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","push","resetTryEntry","completion","reset","isNaN","length","displayName","isGeneratorFunction","constructor","name","mark","setPrototypeOf","__proto__","awrap","async","Promise","keys","reverse","pop","prev","charAt","slice","stop","rval","handle","complete","finish","catch","delegateYield","DegreeActions","_Component","_getPrototypeOf2","_this","_classCallCheck","_len","arguments","args","Array","_key","_possibleConstructorReturn","_getPrototypeOf","apply","concat","state","degSemList","open","degdel","searchTable","data","string","searchPrbatch","props","filter","some","k","toLowerCase","includes","setState","searchVal","componentDidMount","_asyncToGenerator","_callee","params","deg","_context","getDegSemList","user","fdeggrp","URLSearchParams","location","search","get","componentDidUpdate","prevProps","close","openModal","el","handleDel","deleteDegSem","_inherits","_createClass","key","_this2","nList","wheight","wHeight","React","createElement","Fragment","Card","fluid","Content","Header","style","display","className","Link","to","pathname","query","fdegree","fexamno","Button","basic","color","content","icon","Divider","Description","overflowY","height","Modal","dimmer","maxHeight","width","size","onClose","backgroundColor","padding","Actions","onClick","marginBottom","Form","Input","placeholder","onChange","fontSize","Table","celled","compact","unstackable","Row","textAlign","HeaderCell","Body","map","Cell","fdescpn","fexamname","Component","connect","deggrp","degrees","ffaculty","getFaculty","DegreeDet","getDegreeDet","univcode","univ","funivcode","showError","fetchFaculty","_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__","__webpack_require__","_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default","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__","_ref","dispatch","getState","response","error","_error","univadmin","header","error_code","msg","payload","_x","_x2","getDegSemDetForEdit","degree","examno","_ref2","_callee2","_error2","_context2","_x3","_x4","_ref3","_callee3","idx","_error3","_error4","_context3","findIndex","charCodeAt","post","_x5","_x6","getNextDegree","lev","_ref4","_callee4","_next","_context4","degsem","FDEGREE","FEXAMNO","_x7","_x8","emptyDegSem","changeDegSem","changeDegClass","addDegClass","saveDegSemDet","_ref5","_callee5","_error5","_context5","degclass","degcalss","history","_x9","_x10"],"mappings":"gTACAA,EAAA,kBAAAC,GAAA,IAAAC,EAAAD,EAAA,GAAAE,EAAAC,OAAAC,UAAAC,EAAAH,EAAAI,eAAAC,EAAAJ,OAAAK,gBAAA,SAAAP,EAAAD,EAAAE,GAAAD,EAAAD,GAAAE,EAAAO,OAAAC,EAAA,mBAAAC,cAAA,GAAAC,EAAAF,EAAAG,UAAA,aAAAC,EAAAJ,EAAAK,eAAA,kBAAAC,EAAAN,EAAAO,aAAA,yBAAAC,EAAAjB,EAAAD,EAAAE,GAAA,OAAAC,OAAAK,eAAAP,EAAAD,EAAA,CAA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,CACPjO,KAAM,eACLoR,EAAA9O,KAAA,EAEoBgM,IAAUwB,KAC/B,qCAAuCrK,EAAMyG,KAAKC,UAClD,CACErG,KAAM,CACJkB,KAAMvB,EAAMuB,KACZuJ,OAAQ9K,EAAM8K,OACdc,SAAU5L,EAAM6L,YAGrB,OATKnD,EAAQiD,EAAArP,KAWdkM,EAAS,CACPjO,KAAM,iBAEqB,kBAAlBmO,EAASrI,MACZsI,EAAQ,CAAEG,OAAQ,QAAShF,QAAS,wBAC1C0E,EAAS7B,YAAUgC,MACoB,IAA9BD,EAASrI,KAAK0I,YACjBJ,EAAQ,CAAEG,OAAQ,QAAShF,QAAS4E,EAASrI,KAAKA,KAAK2I,KAC7DR,EAAS7B,YAAUgC,KAGnBmD,IAAQzO,KAAK,kCAAoC2C,EAAM8K,OAAOC,SAE/D,wBAAAY,EAAAhN,SAAA8M,MACF,gBAAAM,EAAAC,GAAA,OAAAR,EAAA1L,MAAA5E,KAAAsE,YA/BD","file":"static/js/169.ca337bee.chunk.js","sourcesContent":["import React, { Component } from \"react\";\r\nimport {\r\n Card,\r\n Button,\r\n Form,\r\n Input,\r\n Divider,\r\n Table,\r\n Modal,\r\n} from \"semantic-ui-react\";\r\nimport { Link } from \"react-router-dom\";\r\nimport { connect } from \"react-redux\";\r\nimport { showError, fetchFaculty } from \"../../../../actions\";\r\nimport {\r\n getDegSemList,\r\n deleteDegSem,\r\n} from \"../../../../actions/masters/degSemList\";\r\nimport { wHeight } from \"../../../parms\";\r\n\r\nclass DegreeActions extends Component {\r\n state = {\r\n degSemList: [],\r\n open: false,\r\n degdel: {},\r\n };\r\n\r\n searchTable = (e, data) => {\r\n const string = data.value;\r\n const searchPrbatch = this.props.degSemList.filter((o) =>\r\n Object.keys(o).some((k) =>\r\n o[k].toLowerCase().includes(string.toLowerCase())\r\n )\r\n );\r\n this.setState({ degSemList: searchPrbatch, searchVal: data.value });\r\n };\r\n\r\n componentDidMount = async () => {\r\n await this.props.getDegSemList(this.props.user.fdeggrp);\r\n const params = new URLSearchParams(this.props.location.search);\r\n const deg = params.get(\"q\");\r\n if (deg !== null) {\r\n this.searchTable(null, { value: deg });\r\n }\r\n };\r\n\r\n componentDidUpdate = (prevProps) => {\r\n if (this.props.degSemList !== prevProps.degSemList) {\r\n this.setState({ degSemList: this.props.degSemList });\r\n }\r\n };\r\n\r\n close = () => this.setState({ open: false, degdel: {} });\r\n\r\n openModal = (el) => this.setState({ open: true, degdel: el });\r\n\r\n handleDel = () => {\r\n this.props.deleteDegSem(this.state.degdel);\r\n this.close();\r\n };\r\n\r\n render() {\r\n const nList = this.state.degSemList;\r\n\r\n const wheight = wHeight();\r\n return (\r\n <>\r\n <Card fluid>\r\n <Card.Content>\r\n <Card.Header style={{ display: \"flex\" }}>\r\n <h3>Degree </h3>\r\n <div className=\"ml-auto\">\r\n <Link\r\n to={{\r\n pathname: `/editDegreeDetails/degree/examno`,\r\n query: {\r\n fdegree: \"degree\",\r\n fexamno: \"examno\",\r\n },\r\n }}\r\n >\r\n <Button\r\n basic\r\n color=\"blue\"\r\n content=\"ADD\"\r\n // onClick={this.handleSave}\r\n icon=\"plus\"\r\n />\r\n </Link>\r\n {/* <Button\r\n basic\r\n onClick={this.cancel}\r\n color=\"black\"\r\n icon=\"times circle\"\r\n content=\"Cancel\"\r\n /> */}\r\n <Link to=\"/dashboard\">\r\n <Button basic color=\"red\" content=\"Exit\" icon=\"home\" />\r\n </Link>\r\n </div>\r\n </Card.Header>\r\n <Divider />\r\n <Card.Description\r\n style={{\r\n overflowY: \"auto\",\r\n height: `${wheight}px`,\r\n }}\r\n >\r\n <Modal\r\n dimmer=\"blurring\"\r\n style={{ maxHeight: \"25vh\", width: \"26vw\" }}\r\n size=\"mini\"\r\n open={this.state.open}\r\n onClose={this.close}\r\n >\r\n <Modal.Header\r\n style={{\r\n color: \"#fff\",\r\n backgroundColor: \"#ca4747\",\r\n padding: \"0.5em 1em\",\r\n }}\r\n >\r\n Confirm\r\n </Modal.Header>\r\n <Modal.Content style={{ maxHeight: \"10em\" }}>\r\n <p>\r\n <b>Are you sure to delete the degree ? </b>\r\n </p>\r\n </Modal.Content>\r\n <Modal.Actions>\r\n <Button\r\n style={{ padding: \"0.5em 1em\" }}\r\n color=\"blue\"\r\n size=\"mini\"\r\n basic\r\n onClick={this.close}\r\n content=\"No\"\r\n />\r\n <Button\r\n style={{ padding: \"0.5em 1em\" }}\r\n color=\"blue\"\r\n size=\"mini\"\r\n basic\r\n onClick={this.handleDel}\r\n content=\"Yes\"\r\n />\r\n </Modal.Actions>\r\n </Modal>\r\n <div\r\n style={{\r\n marginBottom: \"1em\",\r\n backgroundColor: \"white\",\r\n }}\r\n className=\"stick\"\r\n >\r\n <Form>\r\n <Input\r\n icon=\"search\"\r\n fluid\r\n placeholder=\"Search...\"\r\n onChange={this.searchTable}\r\n value={this.state.searchVal}\r\n style={{ fontSize: \"1.1em\" }}\r\n />\r\n </Form>\r\n </div>\r\n <Table\r\n celled\r\n compact\r\n style={{ padding: \"0%\" }}\r\n unstackable\r\n className=\"sticky\"\r\n >\r\n <Table.Header>\r\n <Table.Row textAlign=\"center\">\r\n <Table.HeaderCell width=\"1\">Sl. No.</Table.HeaderCell>\r\n <Table.HeaderCell width=\"1\">Degree</Table.HeaderCell>\r\n <Table.HeaderCell width=\"5\">Description</Table.HeaderCell>\r\n <Table.HeaderCell width=\"1\">Semester</Table.HeaderCell>\r\n <Table.HeaderCell width=\"1\">Degree Group</Table.HeaderCell>\r\n {/* <Table.HeaderCell width=\"1\">Order</Table.HeaderCell> */}\r\n <Table.HeaderCell width=\"1\">Action</Table.HeaderCell>\r\n </Table.Row>\r\n </Table.Header>\r\n <Table.Body>\r\n {nList.map((el, i) => {\r\n return (\r\n <Table.Row key={i}>\r\n <Table.Cell textAlign=\"center\">{i + 1}</Table.Cell>\r\n <Table.Cell textAlign=\"center\">{el.fdegree}</Table.Cell>\r\n <Table.Cell>{el.fdescpn}</Table.Cell>\r\n <Table.Cell textAlign=\"center\">\r\n {el.fexamname}\r\n </Table.Cell>\r\n <Table.Cell textAlign=\"center\">{el.fdeggrp}</Table.Cell>\r\n {/* <Table.Cell>{el.forder}</Table.Cell> */}\r\n <Table.Cell style={{ display: \"flex\" }}>\r\n <Link\r\n to={{\r\n pathname: `/editDegreeDetails/${el.fdegree}/${el.fexamno}`,\r\n query: {\r\n fdegree: el.fdegree,\r\n fexamno: el.fexamno,\r\n },\r\n }}\r\n >\r\n <Button\r\n content=\"Edit\"\r\n basic\r\n size=\"small\"\r\n style={{ display: \"flex\" }}\r\n color=\"blue\"\r\n icon=\"edit\"\r\n />\r\n </Link>\r\n\r\n <Button\r\n content=\"Delete\"\r\n basic\r\n style={{ display: \"flex\" }}\r\n size=\"small\"\r\n color=\"red\"\r\n icon=\"trash\"\r\n onClick={() => this.openModal(el)}\r\n />\r\n </Table.Cell>\r\n </Table.Row>\r\n );\r\n })}\r\n </Table.Body>\r\n </Table>\r\n </Card.Description>\r\n </Card.Content>\r\n </Card>\r\n </>\r\n );\r\n }\r\n}\r\n\r\nconst mapStateToProps = (state) => {\r\n return {\r\n fdeggrp: state.deggrp,\r\n user: state.user,\r\n degSemList: state.getDegSemList,\r\n degrees: state.degrees,\r\n ffaculty: state.getFaculty,\r\n DegreeDet: state.getDegreeDet,\r\n univcode: state.univ.funivcode,\r\n };\r\n};\r\nexport default connect(mapStateToProps, {\r\n getDegSemList,\r\n deleteDegSem,\r\n showError,\r\n fetchFaculty,\r\n})(DegreeActions);\r\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}\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 /** Primary content. */\n children: PropTypes.node,\n /** Additional classes. */\n className: PropTypes.string,\n /** Divider can clear the content above it. */\n clearing: PropTypes.bool,\n /** Shorthand for primary content. */\n content: customPropTypes.contentShorthand,\n /** Divider can be fitted without any space above or below it. */\n fitted: PropTypes.bool,\n /** Divider can divide content without creating a dividing line. */\n hidden: PropTypes.bool,\n /** Divider can segment content horizontally. */\n horizontal: PropTypes.bool,\n /** Divider can have its colours inverted. */\n inverted: PropTypes.bool,\n /** Divider can provide greater margins to divide sections of content. */\n section: PropTypes.bool,\n /** Divider can segment content vertically. */\n vertical: PropTypes.bool\n} : {};\nexport default Divider;","import univadmin from \"../../apis/univadmin\";\r\nimport { showError } from \"../index\";\r\nimport { history } from \"../registration/loginRegn\";\r\n\r\nexport const getDegSemList = () => {\r\n return async (dispatch, getState) => {\r\n const state = getState();\r\n dispatch({\r\n type: \"SET_LOADER\",\r\n });\r\n\r\n const response = await univadmin.get(\"/app.php\", {\r\n params: {\r\n a: \"getDegSemList\",\r\n univcode: state.univ.funivcode,\r\n fdeggrp: state.user.fdeggrp,\r\n },\r\n });\r\n\r\n dispatch({\r\n type: \"UNSET_LOADER\",\r\n });\r\n if (typeof response.data !== \"object\") {\r\n const error = { header: \"Error\", content: \"Something went wrong\" };\r\n dispatch(showError(error));\r\n } else if (response.data.error_code === -1) {\r\n const error = { header: \"Error\", content: response.data.data.msg };\r\n dispatch(showError(error));\r\n } else {\r\n dispatch({\r\n type: \"GET_DEG_SEM_LIST\",\r\n payload: response.data,\r\n });\r\n }\r\n };\r\n};\r\n\r\nexport const getDegSemDetForEdit = (degree, examno) => {\r\n return async (dispatch, getState) => {\r\n const state = getState();\r\n dispatch({\r\n type: \"SET_LOADER\",\r\n });\r\n\r\n const response = await univadmin.get(\"/app.php\", {\r\n params: {\r\n a: \"getDegSemDetForEdit\",\r\n univcode: state.univ.funivcode,\r\n fdeggrp: state.user.fdeggrp,\r\n degree,\r\n examno,\r\n },\r\n });\r\n\r\n dispatch({\r\n type: \"UNSET_LOADER\",\r\n });\r\n if (typeof response.data !== \"object\") {\r\n const error = { header: \"Error\", content: \"Something went wrong\" };\r\n dispatch(showError(error));\r\n } else if (response.data.error_code === -1) {\r\n const error = { header: \"Error\", content: response.data.data.msg };\r\n dispatch(showError(error));\r\n } else {\r\n dispatch({\r\n type: \"GET_DEG_SEM_EDIT\",\r\n payload: response.data,\r\n });\r\n }\r\n };\r\n};\r\n\r\nexport const deleteDegSem = (deg) => {\r\n return async (dispatch, getState) => {\r\n const state = getState();\r\n\r\n const idx = state.getDegSemList.findIndex(\r\n (el) => el.fdegree == deg.fdegree && el.fexamno == deg.fexamno\r\n );\r\n const next = state.getDegSemList[idx + 1];\r\n\r\n if (\r\n next.fdegree == deg.fdegree &&\r\n next.fexamno.charCodeAt(0) > deg.fexamno.charCodeAt(0)\r\n ) {\r\n const error = {\r\n header: \"Error\",\r\n content:\r\n \"Cannot delete the degree as heigher semesters are not deleted.\",\r\n };\r\n dispatch(showError(error));\r\n return;\r\n }\r\n // return;\r\n dispatch({\r\n type: \"SET_LOADER\",\r\n });\r\n\r\n const response = await univadmin.post(\r\n \"/app.php?a=deleteDegSem&univcode=\" + state.univ.funivcode,\r\n {\r\n data: {\r\n fdeggrp: state.user.fdeggrp,\r\n degree: deg.fdegree,\r\n examno: deg.fexamno,\r\n },\r\n }\r\n );\r\n\r\n dispatch({\r\n type: \"UNSET_LOADER\",\r\n });\r\n if (typeof response.data !== \"object\") {\r\n const error = { header: \"Error\", content: \"Something went wrong\" };\r\n dispatch(showError(error));\r\n } else if (response.data.error_code === -1) {\r\n const error = { header: \"Error\", content: response.data.data.msg };\r\n dispatch(showError(error));\r\n } else {\r\n dispatch(getDegSemList());\r\n // dispatch({\r\n // type: \"GET_DEG_SEM_EDIT\",\r\n // payload: response.data,\r\n // });\r\n }\r\n };\r\n};\r\n\r\nexport const getNextDegree = (lev) => {\r\n return async (dispatch, getState) => {\r\n const state = getState();\r\n const idx = state.getDegSemList.findIndex(\r\n (el) =>\r\n el.fdegree == state.degsem.FDEGREE && el.fexamno == state.degsem.FEXAMNO\r\n );\r\n if (lev == \"NEXT\") {\r\n if (idx >= 0 && idx < state.getDegSemList.length) {\r\n const next = state.getDegSemList[idx + 1];\r\n dispatch(getDegSemDetForEdit(next.fdegree, next.fexamno));\r\n }\r\n } else if (lev == \"PREV\") {\r\n if (idx > 0 && idx < state.getDegSemList.length) {\r\n const next = state.getDegSemList[idx - 1];\r\n dispatch(getDegSemDetForEdit(next.fdegree, next.fexamno));\r\n }\r\n }\r\n };\r\n};\r\n\r\nexport const emptyDegSem = () => {\r\n return {\r\n type: \"EPTY_DEG_SEM_DATA\",\r\n };\r\n};\r\n\r\nexport const changeDegSem = (name, value) => {\r\n return {\r\n type: \"CHANGE_DEG_SEM_DATA\",\r\n payload: { name, value },\r\n };\r\n};\r\n\r\nexport const changeDegClass = (el, i) => {\r\n return {\r\n type: \"CHANGE_DEG_CLASS_DATA\",\r\n payload: { el, i },\r\n };\r\n};\r\n\r\nexport const addDegClass = () => {\r\n return {\r\n type: \"ADD_DEG_CLASS_DATA\",\r\n };\r\n};\r\n\r\nexport const saveDegSemDet = () => {\r\n return async (dispatch, getState) => {\r\n const state = getState();\r\n dispatch({\r\n type: \"SET_LOADER\",\r\n });\r\n\r\n const response = await univadmin.post(\r\n \"/app.php?a=saveDegSemDet&univcode=\" + state.univ.funivcode,\r\n {\r\n data: {\r\n user: state.user,\r\n degsem: state.degsem,\r\n degclass: state.degcalss,\r\n },\r\n }\r\n );\r\n\r\n dispatch({\r\n type: \"UNSET_LOADER\",\r\n });\r\n if (typeof response.data !== \"object\") {\r\n const error = { header: \"Error\", content: \"Something went wrong\" };\r\n dispatch(showError(error));\r\n } else if (response.data.error_code === -1) {\r\n const error = { header: \"Error\", content: response.data.data.msg };\r\n dispatch(showError(error));\r\n } else {\r\n // const error = { header: \"Success\", content: response.data.data.msg };\r\n history.push(\"/masters/degreeActionsScreen?q=\" + state.degsem.FDEGREE);\r\n // dispatch(showError(error));\r\n }\r\n };\r\n};\r\n"],"sourceRoot":""}
|