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.191.200.151
{"version":3,"sources":["actions/subjectmapping/submapdegreeform.js","pages/subjectmapping/subjectmappingtable.js","pages/subjectmapping/index.js","../node_modules/semantic-ui-react/dist/es/elements/Divider/Divider.js"],"names":["getsubmapdata","deg","examno","_ref6","Object","asyncToGenerator","regenerator_default","a","mark","_callee6","dispatch","getState","state","response","error","_error5","wrap","_context6","prev","next","console","log","univadmin","get","univ","funivcode","user","fcollcode","sent","data","header","content","showError","error_code","msg","type","payload","stop","_x11","_x12","apply","this","arguments","SubjectMappingTable","tabledata","oldsub","oldsubname","newsubname","fdeleted","fdisabled","fnewsub","degree","changeNewSub","el","i","datan","objectSpread","defineProperty","name","value","_this","props","changeNewSubject","_this2","_this$state","tabledt","errorMessage","wHeight","newsubopt","submap","map","item","key","fsubcode","text","concat","fsubname","react_default","createElement","className","Table","celled","padded","selectable","structured","size","color","style","marginTop","Header","fontSize","Row","HeaderCell","width","singleLine","textAlign","Body","nwsb","Cell","fdegree","padding","Form","Group","Field","marginBottom","Dropdown","placeholder","selection","search","id","options","onChange","e","Component","connect","submapTabledata","newsub","SubjectMapping","fstudydeg","displayTbl","studyExamno","studySubject","getDegrees","setState","frmDeggrp","handleChangedeg","_callee","_context","fetchexamno","handleChangeexm","_callee2","_context2","handleChangesub","_callee3","_context3","handleSubmit","_callee4","fdeggrp","_context4","abrupt","handleCancel","handlesave","_callee5","_error","Success","_context5","insertupdatesubmaping","renderHeader","Card","display","Button","basic","icon","onClick","Link","to","renderForm","_this$state2","degreeOptionsList","degreeList","fdescpn","examOptionsList","fexamno","fexamname","wheight","Subject","fluid","Content","Divider","Description","overflowY","overflowX","height","subjectmappingtable","getDegreeList","deggrp","collegeReport","univcode","studyDegree","_ref","_x","_x2","_ref2","_error2","_x3","_x4","fetchsub","exmno","_ref3","_error3","_x5","_x6","fetchDegGrp","_ref7","_callee7","_context7","post","newOS","status","_x13","_x14","_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__"],"mappings":"kUAsJaA,EAAgB,SAAEC,EAAKC,GAClC,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,IACdS,QAAQC,IAAIT,GACZQ,QAAQC,IAAIpB,EAAIC,GAHXe,EAAAE,KAAA,EAMkBG,IAAUC,IAC/B,sCAAwCX,EAAMY,KAAKC,UAAY,cAAgBb,EAAMc,KAAKC,UAC1F,QAAU1B,EAAM,WAAaC,GAR1B,OAWwB,kBALvBW,EANDI,EAAAW,MAWeC,MACZf,EAAQ,CAAEgB,OAAQ,QAASC,QAAS,wBAC1CrB,EAASsB,YAAUlB,MACoB,IAA9BD,EAASgB,KAAKI,YACjBnB,EAAQ,CAAEgB,OAAQ,QAASC,QAASlB,EAASgB,KAAKA,KAAKK,KAC7DxB,EAASsB,YAAUlB,MAEnBM,QAAQC,IAAIR,EAASgB,MACrBnB,EAAS,CACPyB,KAAM,UACNC,QAASvB,EAASgB,QArBjB,wBAAAZ,EAAAoB,SAAA5B,MA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GACA,IAAAwJ,EAAAxJ,EAAAwJ,SACAtI,EAAAlB,EAAAkB,UACAuI,EAAAzJ,EAAAyJ,SACAvL,EAAA8B,EAAA9B,QACAwL,EAAA1J,EAAA0J,OACAC,EAAA3J,EAAA2J,OACAC,EAAA5J,EAAA4J,WACAC,EAAA7J,EAAA6J,SACAC,EAAA9J,EAAA8J,QACAC,EAAA/J,EAAA+J,SACAC,EAAgBf,IAAE,KAAO1M,OAAA6M,EAAA,EAAA7M,CAAUkN,EAAA,YAAwBlN,OAAA6M,EAAA,EAAA7M,CAAUmN,EAAA,UAAoBnN,OAAA6M,EAAA,EAAA7M,CAAUoN,EAAA,UAAoBpN,OAAA6M,EAAA,EAAA7M,CAAUqN,EAAA,cAA4BrN,OAAA6M,EAAA,EAAA7M,CAAUsN,EAAA,YAAwBtN,OAAA6M,EAAA,EAAA7M,CAAUuN,EAAA,WAAsBvN,OAAA6M,EAAA,EAAA7M,CAAUwN,EAAA,sBAAA7I,GACzO+I,EAAa1N,OAAA8M,EAAA,EAAA9M,CAAiBoK,EAAA3G,GAC9BkK,EAAoB3N,OAAA+M,EAAA,EAAA/M,CAAcoK,EAAA3G,GAClC,OAASmJ,EAAAzM,EAAKuE,cAAAiJ,EAA4BpB,IAAQ,GAAGmB,EAAA,CACrD/I,UAAA8I,IACMT,EAAA,EAAaY,MAAAX,GAAAtL,EAAAsL,GAGnB7C,EAAAyD,aAAA,kHACAzD,EAAA0D,UAiCC,GACcC,EAAA","file":"static/js/87.450f51b4.chunk.js","sourcesContent":["import univadmin from \"../../apis/univadmin\";\nimport { showError } from \"../index\";\n\nexport const getDegreeList = () => {\n return async (dispatch, getState) => {\n const state = getState();\n console.log(state);\n\n\n const response = await univadmin.get(\n \"app.php?a=SubmapDegreeList&univcode=\" + state.univ.funivcode + \n \"&fcollcode=\" + state.user.fcollcode + \n \"&fdeggrp=\" + state.user.fdeggrp\n );\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 console.log(response.data);\n dispatch({\n type: \"ALL_DEGREE_LIST\",\n payload: response.data\n });\n }\n };\n};\n\n\nexport const fetchexamno = (deg) => {\n return async (dispatch, getState) => {\n const state = getState();\n console.log(state);\n // this.setState({ studyExamno: [], studySubject: []});\n console.log(state);\n\n\n const response = await univadmin.get(\n \"app.php?a=getexamno&univcode=\" + state.univ.funivcode + \"°=\" + deg \n );\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 console.log(response.data);\n dispatch({ \n type: \"STUDY_EXAMNO\",\n payload: response.data\n });\n }\n };\n};\n\n\n\nexport const fetchsub = (exmno,deg) => {\n return async (dispatch, getState) => {\n const state = getState();\n console.log(state);\n\n const response = await univadmin.get(\n \"app.php?a=getstudysub&univcode=\" + state.univ.funivcode + \"°=\" + deg + \"&exmno=\" + exmno \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 console.log(response.data);\n dispatch({ \n type: \"STUDY_SUBJECT\",\n payload: response.data\n });\n }\n };\n};\n\n\nexport const qpFileUpload = file => {\n return async function(dispatch, getState) {\n const state = getState();\n\n dispatch({\n type: \"SET_LOADER\"\n });\n\n const formData = new FormData();\n formData.set(\"filefield\", file, file.name);\n // const data = formData(state.user);\n const data = formData.set(\"body\", JSON.stringify(state.user));\n \n const response = await univadmin.post(\"upload_study_material.php\", formData, {\n headers: {\n \"Content-type\": \"multipart/form-data\"\n }\n });\n\n dispatch({\n type: \"UNSET_LOADER\"\n });\n dispatch({\n type: \"SET_UPLOAD_DOC\",\n payload: response.data\n });\n };\n};\n\n\n\nexport const getstudymat = (\n displayTbl, \n studyExamno, \n fstudydeg, \n studySubject\n) => {\n return async (dispatch, getState) => {\n const state = getState();\n console.log(state);\n console.log(studyExamno,fstudydeg,studySubject);\n const response = await univadmin.get(\n \"app.php?a=getstudymat&univcode=\" + state.univ.funivcode + \"&fstudydeg=\" + fstudydeg \n + \"&studyExamno=\" + studyExamno + \"&studySubject=\" + studySubject + \"&fcollcode=\" + state.user.fcollcode \n );\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 console.log(response.data);\n dispatch({ \n type: \"GET_STUDY_MATERIAL\",\n payload: response.data\n });\n }\n };\n};\n\n\nexport const getsubmapdata = ( deg, examno ) => {\n return async (dispatch, getState) => {\n const state = getState();\n console.log(state);\n console.log(deg,examno);\n\n\n const response = await univadmin.get(\n \"app.php?a=SubmapTabledata&univcode=\" + state.univ.funivcode + \"&fcollcode=\" + state.user.fcollcode +\n \"°=\" + deg + \"&examno=\" + examno \n );\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 console.log(response.data);\n dispatch({\n type: \"SUB_MAP\",\n payload: response.data\n });\n }\n };\n};\n\n\nexport const changeNewSubject = (el, i) => {\n console.log(el,i);\n return {\n type: \"SUB_MAP_CHANGE\",\n payload: { el, i }\n };\n};\n\n\n\nexport const insertupdatesubmaping = (oldsub, deg, examno) => {\n return async (dispatch, getState) => {\n const state = getState();\n console.log(state , oldsub, deg, examno);\n // const myObjStr = JSON.stringify(newDateMaster);\n \n dispatch({\n type: \"SET_LOADER\"\n });\n const response = await univadmin.post(\n \"/app.php?a=insertUpdateSubmaping&univcode=\" + state.univ.funivcode,\n {\n data: {\n fdeggrp: state.user.fdeggrp,\n univcode: state.univ.funivcode,\n newOS: oldsub,\n user: state.user,\n deg: deg,\n examno: examno\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","import React, { Component } from \"react\";\nimport { Link } from \"react-router-dom\";\nimport { connect } from \"react-redux\";\nimport { Card, Divider, Table, Button, Message, Form, Dropdown } from \"semantic-ui-react\";\nimport \"react-table/react-table.css\";\nimport \"../../index.css\";\nimport { wHeight } from \"../parms\";\nimport { getsubmapdata, changeNewSubject } from \"../../actions/subjectmapping/submapdegreeform\";\n\nclass SubjectMappingTable extends Component {\n state = { \n tabledata:[\n {\n oldsub: \"\",\n oldsubname: \"\",\n newsubname: \"\", \n fdeleted: false,\n fdisabled: false\n }\n ],\n fnewsub:\"\",\n degree: [], \n examno: \"\" \n };\n\n componentDidMount() {\n console.log(this.props.deg);\n this.props.getsubmapdata(this.props.deg,this.props.examno); \n }\n \n changeNewSub = (data, el, i) => {\n let datan = {};\n console.log(data,el,i);\n // this.setState({ fnewsub: el.value });\n datan = { ...el, [data.name]: data.value };\n this.props.changeNewSubject(datan, i);\n };\n\n \n\n \n render() {\n const { tabledata, tabledt, error, errorMessage } = this.state;\n const arlength = 0;\n const wheight = wHeight();\n console.log(this.props);\n console.log(this.state);\n const newsubopt = this.props.submap.map((item, i) => { \n return {\n key: i,\n value: item.fsubcode,\n text: `${item.fsubcode} - ${item.fsubname}`\n };\n });\n return (\n <div className=\"animated fadeIn\" > \n\n <div className=\"ui mini form\" >\n <Table celled padded selectable structured size=\"small\" color=\"olive\" style={{ marginTop:\"25px\" }}>\n <Table.Header style={{ fontSize:\"1.2em\" }}>\n <Table.Row>\n <Table.HeaderCell\n style={{ width: \"5%\" }}\n singleLine\n textAlign=\"center\"\n >\n <label>Sl. No.</label>\n </Table.HeaderCell>\n <Table.HeaderCell\n style={{ width: \"30%\" }}\n textAlign=\"center\"\n >\n <label>Old Subject</label>\n </Table.HeaderCell> \n <Table.HeaderCell \n style={{ width: \"10%\"}}\n textAlign=\"center\">\n <label>New Degree</label>\n </Table.HeaderCell>\n <Table.HeaderCell\n style={{ width: \"30%\" }}\n textAlign=\"center\"\n >\n <label>New Subject</label>\n </Table.HeaderCell> \n </Table.Row>\n </Table.Header>\n <Table.Body>\n {console.log(this.props.tabledt)}\n {this.props.tabledt.map((el, i) => {\n const nwsb = `${el.fsubcode} - ${el.fsubname}`\n return (\n <Table.Row key={i}>\n <Table.Cell \n textAlign=\"center\"\n style={{ fontSize:\"1.2em\" }}\n >\n {i + 1}\n </Table.Cell>\n <Table.Cell \n textAlign=\"left\"\n style={{ fontSize:\"1.2em\" }}\n >\n {nwsb}\n </Table.Cell>\n <Table.Cell \n textAlign=\"center\"\n style={{ fontSize:\"1.2em\" }}\n >\n {el.fdegree}\n </Table.Cell>\n {/* <Table.Cell textAlign=\"center\" singleLine>\n <input\n className=\"field\"\n type=\"text\"\n name=\"fmcombcode\"\n id={i}\n value={nwsb}\n disabled= \"true\"\n style={{ fontSize:\"1.2em\" }}\n // onChange={e => this.changeCell(e, el, i)}\n />\n </Table.Cell>\n <Table.Cell textAlign=\"center\" singleLine>\n <input\n className=\"field\"\n type=\"text\"\n name=\"fdegree\"\n id={i}\n value={el.fdegree}\n disabled= \"true\"\n style={{ fontSize:\"1.2em\" }}\n // onChange={e => this.changeCell(e, el, i)}\n />\n </Table.Cell> */}\n <Table.Cell style={{ padding:\"0\" }}>\n <Form.Group>\n <Form.Field style={{ marginBottom:\"-0.1em\" }} width={16}>\n <Dropdown\n placeholder=\"Select New Subject\"\n name=\"fnewsub\" \n selection\n search\n id={i}\n value={el.fnewsub}\n options={newsubopt}\n style={{ fontSize:\"1.2em\", marginBottom: \"-0.5em\", marginTop: \"0.3em\" }}\n onChange={(e, data) => this.changeNewSub(data, el, i)} \n />\n </Form.Field>\n </Form.Group>\n </Table.Cell> \n </Table.Row>\n );\n })}\n </Table.Body>\n </Table>\n </div>\n \n </div>\n );\n\n }\n}\n\nconst mapStateToProps = state => {\n console.log(state.submapTabledata,'kkk');\n return {\n tabledt: state.submapTabledata.oldsub,\n submap: state.submapTabledata.newsub \n };\n};\n\nexport default connect(\n mapStateToProps,\n {\n getsubmapdata,\n changeNewSubject\n }\n)(SubjectMappingTable);\n","import React, { Component } from \"react\";\nimport { Link } from \"react-router-dom\";\nimport { Card, Button, Form, Dropdown, Divider } from \"semantic-ui-react\";\nimport { connect } from \"react-redux\";\nimport { fetchDegGrp } from \"../../actions\";\nimport SubjectMappingTable from \"./subjectmappingtable\";\nimport { ReportAPI } from \"../../apis/consts\";\nimport { showError } from \"../../actions\";\nimport { wHeight } from \"../parms\";\nimport \n{ getDegreeList,\n fetchexamno, \n fetchsub, \n getsubmapdata,\n insertupdatesubmaping \n} \nfrom \"../../actions/subjectmapping/submapdegreeform\";\n\nclass SubjectMapping extends Component {\n state = {\n fstudydeg:\"\",\n displayTbl: false,\n studyExamno: \"\",\n studySubject: \"\",\n tabledt: \"\",\n };\n\n\n\n componentDidMount() {\n this.props.getDegreeList();\n }\n\n getDegrees = (e, data) => {\n // console.log(data.value);\n this.setState({ frmDeggrp: data.value });\n };\n\n handleChangedeg = async (e, data) => {\n console.log(this.props);\n await this.props.fetchexamno(data.value);\n this.setState({ fstudydeg: data.value, \n studyExamno : \"\",\n displayTbl: false,\n studySubject : \"\"\n });\n // this.props.Subject = \" \";\n // this.props.examno = \" \";\n\n \n\n // exmno = \" \";\n // sub = \" \";\n console.log(this.props);\n console.log(this.state);\n // getExamno(data.value); \n };\n\n \n handleChangeexm = async (e, data) => {\n console.log(this.state);\n // console.log(this.props);\n // await this.props.fetchsub(data.value,this.state.fstudydeg);\n this.setState({ studyExamno : data.value,\n displayTbl: false,\n studySubject : \"\"\n });\n \n \n // getExamno(data.value); \n };\n handleChangesub = async (e, data) => {\n console.log(this.state);\n // console.log(this.props);\n // await this.props.fetchsub(data.value,this.state.fstudydeg);\n this.setState({ studySubject :data.value\n });\n \n \n // getExamno(data.value); \n };\n handleSubmit = async () => {\n const { fdeggrp } = this.props.user;\n const { displayTbl, studyExamno, fstudydeg, studySubject } = this.state;\n if (fdeggrp === \"\") {\n const error = { header: \"Error\", content: \"Select Degree Group\" };\n this.props.showError(error);\n return;\n }\n console.log(fstudydeg); \n\n await this.props.getsubmapdata(\n fstudydeg,\n studyExamno \n );\n this.setState({ tabledt: '' });\n console.log(this.state, this.props);\n this.setState({ displayTbl: true });\n \n };\n\n \n\n handleCancel = () => {\n this.setState({\n fstudydeg:\"\",\n displayTbl: false,\n studyExamno: \"\" \n });\n };\n\n handlesave = async () => {\n\n if( this.state.fstudydeg == \"\" ){\n const error = { header: \"Error\", content: \"Select degree\" };\n this.props.showError(error);\n return;\n }else if( this.state.studyExamno == \"\"){\n const error = { header: \"Error\", content: \"Select examno\" };\n this.props.showError(error);\n return;\n }\n console.log(this.props.tabledt.oldsub);\n const oldsub = this.props.tabledt.oldsub;\n console.log(this.state);\n\n await this.props.insertupdatesubmaping(oldsub , this.state.fstudydeg, this.state.studyExamno);\n const Success = { header: \"Success\", content: \"Updated Successfully\" };\n this.props.showError(Success); \n this.handleCancel();\n }\n\n renderHeader = () => {\n return (\n <Card.Header style={{ display: \"flex\" }}>\n <h3>Subject Mapping</h3>\n <div className=\"ml-auto\">\n {/* <Link to=\"/study/uploadstudymaterial\">\n <Button\n basic\n color=\"blue\" \n content=\"Upload\"\n icon=\"upload\"\n />\n </Link> */}\n <Button\n basic\n color=\"blue\"\n icon=\"save\"\n onClick={this.handlesave}\n content=\"Save\"\n />\n <Button\n basic\n color=\"black\"\n icon=\"ban\"\n onClick={this.handleCancel}\n content=\"Cancel\"\n />\n <Link to=\"/dashboard\">\n <Button basic color=\"red\" content=\"Exit\" icon=\"home\" />\n </Link>\n </div>\n </Card.Header>\n );\n };\n\n renderForm = () => {\n const {\n displayTbl,\n studyExamno,\n fstudydeg,\n studySubject\n } = this.state;\n console.log(this.state);\n const degreeOptionsList = this.props.degreeList.map(item => {\n return {\n value: item.fdegree,\n text: `${item.fdegree}- ${item.fdescpn}`\n };\n });\n const examOptionsList = this.props.examno.map(item => {\n return {\n value: item.fexamno,\n text: `${item.fexamno} - ${item.fexamname}`\n };\n });\n const subjectOptionsList = this.props.Subject.map(item => {\n return {\n value: item.fsubcode,\n text: ` ${item.fsubname}`\n };\n });\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={{ overflowY: \"auto\",overflowX: \"hidden\", height: `${wheight}px` }}\n >\n <div className=\"col-md-6\">\n <Form> \n \n <div>\n <Form.Group>\n <Form.Field width={16}>\n <label>Degree</label>\n <Dropdown\n placeholder=\"Select Degree\"\n name=\"deg\"\n value={fstudydeg}\n selection\n search\n options={degreeOptionsList}\n onChange={this.handleChangedeg}\n />\n </Form.Field>\n </Form.Group>\n \n </div> \n\n <Form.Group>\n <Form.Field width={16}>\n <label>Exam No.</label>\n <Dropdown\n placeholder=\"Select Exam No.\"\n name=\"exmno\"\n value={studyExamno}\n selection\n search\n options={examOptionsList}\n onChange={this.handleChangeexm}\n />\n </Form.Field>\n </Form.Group>\n \n\n <Button color=\"blue\" onClick={this.handleSubmit}>\n View\n </Button>\n <br />\n </Form>\n </div>\n {console.log(this.state)}\n {displayTbl ? ( \n <SubjectMappingTable\n examno={this.state.studyExamno}\n deg={this.state.fstudydeg} \n />\n ) : null}\n \n </Card.Description>\n </Card.Content>\n </Card>\n </div>\n );\n };\n render() {\n // console.log(\"collegeReport\",this.props.collegeReport);\n return this.renderForm();\n }\n}\n\nconst mapStateToProps = state => {\n console.log(state);\n return {\n deggrp: state.deggrp,\n collegeReport: state.collegeReport,\n univcode: state.univ.funivcode,\n user: state.user,\n degreeList: state.studyDegree,\n examno: state.studyExamno,\n Subject: state.studySubject,\n tabledt: state.submapTabledata\n };\n};\nexport default connect(\n mapStateToProps,\n {\n getDegreeList,\n fetchexamno,\n fetchsub,\n getsubmapdata,\n fetchDegGrp,\n showError,\n insertupdatesubmaping\n }\n)(SubjectMapping);\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;"],"sourceRoot":""}
|