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.224.51.49
{"version":3,"sources":["pages/common/SelectCollege.js","pages/common/ReportModal.js","pages/before-exam/ccentres/tagColl.js","pages/before-exam/ccentres/index.js","../node_modules/semantic-ui-react/dist/es/elements/Divider/Divider.js","pages/common/SelectDeggrp.js","../node_modules/semantic-ui-react/dist/es/collections/Message/MessageContent.js","../node_modules/semantic-ui-react/dist/es/collections/Message/MessageHeader.js","../node_modules/semantic-ui-react/dist/es/collections/Message/MessageItem.js","../node_modules/semantic-ui-react/dist/es/collections/Message/MessageList.js","../node_modules/semantic-ui-react/dist/es/collections/Message/Message.js","actions/before-exam/centers.js"],"names":["SelectCollege","deggroup_options","this","props","degcoll","map","el","i","key","value","fcollcode","text","fcollname","console","log","collref","react_default","a","createElement","Form","Field","Dropdown","ref","fluid","search","selection","examcntr","onChange","changeExamCntr","placeholder","disabled","disbal","selectOnBlur","options","Component","connect","state","deggrp","fetchDegColl","ReportModal","rttype","setReportType","e","data","_this","setState","GenerateReoprt","screen","window","location","ReportAPI","rftype","Modal","style","height","top","left","right","dimmer","open","onClose","close","Header","display","report","className","Button","Group","size","basic","color","content","onClick","icon","Content","Description","report_options","TagColl","changeCell","_callee","updel","regenerator_default","wrap","_context","prev","next","Object","objectSpread","defineProperty","name","updateCntr","stop","deleteRow","target","checked","addRow","keyCode","examcentreList","error","errorMessage","addCntr","fdeleted","addRowTop","length","showError","header","onRef","_this2","_this$props","arlength","deggcoll_options","Table","celled","fontSize","Row","HeaderCell","width","colSpan","singleLine","textAlign","Body","Cell","type","onKeyDown","String","examCntrDet","CCentres","del_deggrp","degGrp","thpr","frmSubmit","examCntrDetError","msgcolor","React","createRef","show","setTHPR","setExamCntr","getCollege","feachcenterdet","abrupt","fetchCntrListdet","handleCancel","handleSave","_callee2","_context2","concat","toConsumableArray","saveExamCenter","error_code","handleDelete","_callee3","_context3","deleteExamCenter","tagcoll","_this$state","Card","Link","to","Divider","overflowY","SelectDeggrp","changeDeggrp","frmDeggrp","common_SelectCollege","Radio","label","marginLeft","Message","tagColl","common_ReportModal","cntrList","saveExamCntr","_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__","fetchDegGrp","prevProps","user","fdeggrp","fdescpn","react__WEBPACK_IMPORTED_MODULE_5___default","semantic_ui_react__WEBPACK_IMPORTED_MODULE_7__","semantic_ui_react__WEBPACK_IMPORTED_MODULE_8__","dgerror","openOnFocus","MessageContent","classnames_default","getUnhandledProps","getElementType","extends_default","lib","Message_MessageContent","MessageHeader","create","factories","val","Message_MessageHeader","MessageItem","defaultProps","as","Message_MessageItem","MessageList","items","map_default","Message_MessageList","d","Message_Message","_Component","_getPrototypeOf2","classCallCheck_default","_len","arguments","args","Array","_key","possibleConstructorReturn_default","getPrototypeOf_default","call","apply","defineProperty_default","assertThisInitialized_default","onDismiss","inherits_default","createClass_default","attached","compact","floating","info","list","negative","positive","success","visible","warning","classNameBuilders","dismissIcon","Icon","handleDismiss","autoGenerateKey","isNil_default","react","_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","mark","dispatch","getState","response","univadmin","get","params","univcode","univ","funivcode","sent","payload","msg","status","_x","_x2","_ref2","_x3","_x4","examcntrlist","_ref3","post","_x5","_x6","_ref4","_callee4","_context4","_x7","_x8"],"mappings":"mTAKMA,mLAEF,IAEMC,EAFUC,KAAKC,MAAMC,QAEMC,IAAI,SAACC,EAAIC,GACxC,MAAO,CAAEC,IAAKD,EAAGE,MAAOH,EAAGI,UAAWC,KAAML,EAAGM,aAGjD,OADAC,QAAQC,IAAIZ,KAAKC,MAAMY,SAErBC,EAAAC,EAAAC,cAACC,EAAA,EAAKC,MAAN,KACEJ,EAAAC,EAAAC,cAAA,4BACAF,EAAAC,EAAAC,cAACG,EAAA,EAAD,CACEC,IAAKpB,KAAKC,MAAMY,QAChBQ,OAAK,EACLC,QAAM,EACNC,WAAS,EACThB,MAAOP,KAAKC,MAAMuB,SAClBC,SAAUzB,KAAKC,MAAMyB,eACrBC,YAAY,qBACZC,SAAU5B,KAAKC,MAAM4B,OACrBC,cAAc,EACdC,QAAShC,YArBSiC,aAgCbC,cAJS,SAAAC,GACtB,MAAO,CAAEC,OAAQD,EAAMC,SAKvB,CAAEC,kBAFWH,CAGbnC,sBC+EauC,6MAjHbH,MAAQ,CACNI,OAAQ,MAGVC,cAAgB,SAACC,EAAGC,GAClBC,EAAKC,SAAS,CAAEL,OAAQG,EAAKlC,WAG/BqC,eAAiB,WACf,OAAQF,EAAKzC,MAAM4C,QACjB,IAAK,aACuB,QAAtBH,EAAKR,MAAMI,SACbQ,OAAOC,SACLC,IACA,qCACAN,EAAKzC,MAAMkC,QAGW,QAAtBO,EAAKR,MAAMI,SACbQ,OAAOC,SACLC,IACA,0CACAN,EAAKzC,MAAMkC,QAEf,MAEF,IAAK,WACuB,iBAAtBO,EAAKR,MAAMI,SACbQ,OAAOC,SACLC,IACA,sCACAN,EAAKzC,MAAMkC,OACX,OACAO,EAAKR,MAAMI,OACX,OACAI,EAAKzC,MAAMgD,OACX,QACA,GAEs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AAC,GAAA,OAAAJ,EAAAlD,MAAAjP,KAAA0O,YAAA","file":"static/js/39.d9a44075.chunk.js","sourcesContent":["import React, { Component } from \"react\";\nimport { connect } from \"react-redux\";\nimport { Form, Dropdown } from \"semantic-ui-react\";\nimport { fetchDegColl } from \"../../actions/before-exam/centers\";\n\nclass SelectCollege extends Component {\n render() {\n const degcoll = this.props.degcoll;\n\n const deggroup_options = degcoll.map((el, i) => {\n return { key: i, value: el.fcollcode, text: el.fcollname };\n });\n console.log(this.props.collref);\n return (\n <Form.Field>\n <label>Exam Center</label>\n <Dropdown\n ref={this.props.collref}\n fluid\n search\n selection\n value={this.props.examcntr}\n onChange={this.props.changeExamCntr}\n placeholder=\"Select Exam Center\"\n disabled={this.props.disbal}\n selectOnBlur={false}\n options={deggroup_options}\n />\n </Form.Field>\n );\n }\n}\n\nconst mapStateToProps = state => {\n return { deggrp: state.deggrp };\n};\n\nexport default connect(\n mapStateToProps,\n { fetchDegColl }\n)(SelectCollege);\n","import React, { Component } from \"react\";\nimport { Modal, Button, Dropdown } from \"semantic-ui-react\";\nimport { ReportAPI } from \"../../apis/consts\";\n//import axios from 'axios';\n\nclass ReportModal extends Component {\n state = {\n rttype: \"\"\n };\n\n setReportType = (e, data) => {\n this.setState({ rttype: data.value });\n };\n\n GenerateReoprt = () => {\n switch (this.props.screen) {\n case \"examcenter\": {\n if (this.state.rttype === \"ECL\") {\n window.location =\n ReportAPI +\n \"getCenterList&univcode=041°grp=\" +\n this.props.deggrp;\n }\n\n if (this.state.rttype === \"ECT\") {\n window.location =\n ReportAPI +\n \"getCntWiseColgList&univcode=041°grp=\" +\n this.props.deggrp;\n }\n break;\n }\n case \"qpindent\": {\n if (this.state.rttype === \"Total Indent\")\n window.location =\n ReportAPI +\n \"getqpIndentReport&univcode=041&dgp=\" +\n this.props.deggrp +\n \"&rt=\" +\n this.state.rttype +\n \"&rf=\" +\n this.props.rftype +\n \"&rd=\" +\n true;\n\n if (this.state.rttype === \"Answer Book Indent\")\n window.location =\n ReportAPI +\n \"getqpIndentReport&univcode=041&dgp=\" +\n this.props.deggrp +\n \"&rt=\" +\n this.state.rttype +\n \"&rf=\" +\n this.props.rftype;\n\n if (this.state.rttype === \"Centrewise Indent\")\n window.location =\n ReportAPI +\n \"getqpIndentReport&univcode=041&dgp=\" +\n this.props.deggrp +\n \"&rt=\" +\n this.state.rttype +\n \"&rf=\" +\n this.props.rftype;\n break;\n }\n default:\n break;\n }\n };\n\n render() {\n return (\n <Modal\n style={{ height: \"50%\", top: \"10%\", left: \"20%\", right: \"20%\" }}\n dimmer={this.props.dimmer}\n open={this.props.open}\n onClose={this.props.close}\n >\n <Modal.Header style={{ display: \"flex\" }}>\n {this.props.report} Report\n <div className=\"ml-auto\">\n <Button.Group>\n <Button\n size=\"mini\"\n basic\n color=\"blue\"\n content=\"Generate\"\n onClick={this.GenerateReoprt}\n icon=\"file pdf outline\"\n />\n <Button\n size=\"mini\"\n basic\n color=\"black\"\n icon=\"ban\"\n onClick={this.props.close}\n content=\"Cancel\"\n />\n </Button.Group>\n </div>\n </Modal.Header>\n <Modal.Content>\n <Modal.Description>\n Report Type :{\" \"}\n <Dropdown\n placeholder=\"Report\"\n search\n selection\n options={this.props.report_options}\n onChange={this.setReportType}\n />\n </Modal.Description>\n </Modal.Content>\n </Modal>\n );\n }\n}\n\nexport default ReportModal;\n","import React, { Component } from \"react\";\nimport { connect } from \"react-redux\";\nimport { Table, Dropdown } from \"semantic-ui-react\";\nimport { updateCntr, addCntr } from \"../../../actions/before-exam/centers\";\nimport { showError } from \"../../../actions\";\n\nclass TagColl extends Component {\n componentDidMount() {\n this.props.onRef(this);\n }\n\n changeCell = async (e, el, i) => {\n const updel = { ...el, [e.name]: e.value };\n this.props.updateCntr(updel, i);\n };\n\n deleteRow = (e, el, i) => {\n const updel = { ...el, [e.target.name]: e.target.checked };\n this.props.updateCntr(updel, i);\n };\n\n addRow = (e, i) => {\n if (e.keyCode === 9) {\n const el = this.props.examcentreList[i];\n if (el.fcollcode === \"\") {\n this.setState({ error: true, errorMessage: \"Enter the vlaues\" });\n return;\n } else {\n this.setState({ error: false, errorMessage: \"\" });\n }\n const item = { fcollcode: \"\", fdeleted: false };\n this.props.addCntr(item);\n }\n };\n\n addRowTop = () => {\n const i = this.props.examcentreList.length;\n\n const el = this.props.examcentreList[i - 1];\n if (el.fcollcode === \"\") {\n const error = { header: \"Error\", content: \"College Cannot be blank\" };\n this.props.showError(error);\n return;\n }\n const item = { fcollcode: \"\", fdeleted: false };\n this.props.addCntr(item);\n };\n\n render() {\n const { degcoll, examcentreList } = this.props;\n\n const arlength = examcentreList.length;\n const deggcoll_options = degcoll.map((el, i) => {\n return { key: i, value: el.fcollcode, text: el.fcollname };\n });\n\n return (\n <Table celled style={{ fontSize: \"1.0em\" }}>\n <Table.Header>\n <Table.Row>\n <Table.HeaderCell\n style={{ width: \"5%\" }}\n colSpan=\"3\"\n singleLine\n textAlign=\"left\"\n >\n No. of taged colleges : {arlength}\n </Table.HeaderCell>\n </Table.Row>\n\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 style={{ width: \"60%\" }} textAlign=\"center\">\n College Name\n </Table.HeaderCell>\n <Table.HeaderCell style={{ width: \"5%\" }} textAlign=\"center\">\n Del.\n </Table.HeaderCell>\n </Table.Row>\n </Table.Header>\n <Table.Body>\n {examcentreList.map((el, i) => {\n return (\n <Table.Row key={i}>\n <Table.Cell textAlign=\"center\">{i + 1}</Table.Cell>\n <Table.Cell textAlign=\"center\" singleLine>\n {/* <input className=\"field\" type=\"text\" name=\"fcollname\" id={i}\n value={el.fcollname}\n onChange={(e) => this.changeCell(e, el, i)} /> */}\n\n <Dropdown\n fluid\n search\n selection\n placeholder=\"Select Exam Center\"\n name=\"fcollcode\"\n value={el.fcollcode}\n onChange={(e, data) =>\n this.changeCell(\n // @ts-ignore\n { name: \"fcollcode\", data: e.target.value },\n el,\n i\n )\n }\n options={deggcoll_options}\n />\n </Table.Cell>\n <Table.Cell textAlign=\"center\">\n {arlength === i + 1 ? (\n <div className=\"ui checkbox\">\n <input\n type=\"checkbox\"\n onKeyDown={e => this.addRow(e, i)}\n name=\"fdeleted\"\n value={el.fdeleted}\n onChange={e => this.deleteRow(e, el, i)}\n checked={String(el.fdeleted) == \"true\"}\n />\n <label> </label>\n </div>\n ) : (\n <div className=\"ui checkbox\">\n <input\n type=\"checkbox\"\n name=\"fdeleted\"\n value={el.fdeleted}\n onChange={e => this.deleteRow(e, el, i)}\n checked={String(el.fdeleted) == \"true\"}\n />\n <label> </label>\n </div>\n )}\n </Table.Cell>\n </Table.Row>\n );\n })}\n </Table.Body>\n </Table>\n );\n }\n}\n\nconst mapStateToProps = state => {\n return {\n degcoll: state.degcoll,\n examcentreList: state.examCntrDet\n };\n};\n\nexport default connect(\n mapStateToProps,\n { updateCntr, addCntr, showError }\n)(TagColl);\n","import React, { Component } from \"react\";\nimport { Link } from \"react-router-dom\";\nimport ReactDOM from \"react-dom\";\nimport { Card, Divider, Button, Message, Radio, Form } from \"semantic-ui-react\";\nimport { connect } from \"react-redux\";\nimport {\n fetchDegColl,\n fetchCntrListdet,\n saveExamCenter,\n deleteExamCenter\n} from \"../../../actions/before-exam/centers\";\nimport SelectDeggrp from \"../../common/SelectDeggrp\";\nimport SelectCollege from \"../../common/SelectCollege\";\nimport ReportModal from \"../../common/ReportModal\";\nimport TagColl from \"./tagColl\";\n\nclass CCentres extends Component {\n state = {\n examcentreList: [{ fcollcode: \"\", fdeleted: false }],\n error: false,\n errorMessage: \"\",\n del_deggrp: [],\n degGrp: \"\",\n thpr: \"\",\n examcntr: \"\",\n frmSubmit: false,\n open: false,\n disbal: \"\",\n examCntrDetError: \"\",\n msgcolor: \"negative\",\n collref: React.createRef()\n };\n\n show = dimmer => () => {\n if (this.state.degGrp === \"\") {\n this.setState({ error: true, errorMessage: \"Enter the Degree Group\" });\n return;\n } else {\n this.setState({ error: false, errorMessage: \"\" });\n }\n\n this.setState({ dimmer, open: true });\n };\n\n close = () => this.setState({ open: false });\n\n setTHPR = (e, data) => {\n this.setState({ thpr: data.value });\n };\n\n setExamCntr = (e, data) => {\n this.setState({ examcntr: data.value });\n };\n\n getCollege = (e, data) => {\n this.setState({ degGrp: data.value });\n this.props.fetchDegColl(data.value);\n };\n\n feachcenterdet = async () => {\n //this.setState({ error: false, errorMessage: \"\" });\n if (this.state.degGrp === \"\") {\n this.setState({ error: true, errorMessage: \"Enter the Degree Group\" });\n return;\n } else if (this.state.examcntr === \"\") {\n this.setState({ error: true, errorMessage: \"Enter the Exam Center\" });\n return;\n } else if (this.state.thpr === \"\") {\n this.setState({ error: true, errorMessage: \"Select Theory / Practical\" });\n return;\n } else {\n this.setState({ error: false, errorMessage: \"\" });\n }\n\n await this.props.fetchCntrListdet(\n this.state.examcntr,\n this.state.degGrp,\n this.state.thpr\n );\n this.setState({ frmSubmit: true, disbal: \"disabled\" });\n };\n\n handleCancel = () => {\n this.setState({\n examcentreList: [{ fcollcode: \"\", fdeleted: false }],\n error: false,\n errorMessage: \"\",\n del_deggrp: [],\n thpr: \"\",\n examcntr: \"\",\n frmSubmit: false,\n open: false,\n disbal: \"\"\n });\n\n // console.log(this.state.collref);\n // this.state.collref.open = true;\n // ReactDOM.findDOMNode(this.refs.centre_select).focus()\n };\n\n handleSave = async () => {\n if (this.props.examCntrDet.length < 0) {\n this.setState({ msgcolor: \"negative\" });\n this.setState({ error: true, errorMessage: \"Enter the Values\" });\n return;\n } else {\n this.setState({ error: false, errorMessage: \"\" });\n }\n\n for (let i = 0; i < this.props.examCntrDet.length; i++) {\n let el = this.props.examCntrDet[i];\n if (el.fcollcode === \"\") {\n this.setState({ error: true, errorMessage: \"Enter all the Values\" });\n return;\n }\n }\n const el = { fcollcode: this.state.examcntr, fdeleted: false };\n\n const examcentreList = [el, ...this.props.examCntrDet];\n\n this.setState({ error: false, errorMessage: \"\" });\n await this.props.saveExamCenter(\n examcentreList,\n this.state.examcntr,\n this.state.degGrp,\n this.state.thpr\n );\n\n if (this.props.error.error_code === 0) this.handleCancel();\n };\n\n handleDelete = async () => {\n await this.props.deleteExamCenter(\n this.state.examcntr,\n this.state.degGrp,\n this.state.thpr\n );\n if (this.props.error.error_code === 0) this.handleCancel();\n };\n\n addRowTop = () => {\n this.tagcoll.addRowTop();\n };\n\n render() {\n const {\n error,\n errorMessage,\n frmSubmit,\n open,\n disbal,\n msgcolor\n } = this.state;\n const report_options = [\n { key: \"ECL\", value: \"ECL\", text: \"Exam Center List\" },\n { key: \"ECT\", value: \"ECT\", text: \"Exam Center List with Taged College\" }\n ];\n\n return (\n <div className=\"animated fadeIn\">\n <Card fluid>\n <Card.Content>\n <Card.Header style={{ display: \"flex\" }}>\n <h4>Exam Center</h4>\n <div className=\"ml-auto\">\n <Button\n disabled={!this.state.frmSubmit}\n basic\n color=\"blue\"\n content=\"Add\"\n onClick={this.addRowTop}\n icon=\"plus square\"\n />\n <Button\n disabled={!this.state.frmSubmit}\n basic\n color=\"green\"\n content=\"Save\"\n onClick={this.handleSave}\n icon=\"save\"\n />\n <Button\n disabled={!this.state.frmSubmit}\n basic\n color=\"red\"\n content=\"Delete\"\n onClick={this.handleDelete}\n icon=\"trash\"\n />\n <Button\n basic\n color=\"black\"\n icon=\"ban\"\n onClick={this.handleCancel}\n content=\"Cancel\"\n />\n <Button\n onClick={this.show(\"blurring\")}\n basic\n color=\"blue\"\n content=\"Report\"\n icon=\"file\"\n />\n <Link to=\"/dashboard\">\n <Button basic color=\"red\" content=\"Exit\" icon=\"home\" />\n </Link>\n </div>\n </Card.Header>\n\n <Divider />\n <Card.Description style={{ overflowY: \"auto\", height: \"72vh\" }}>\n <div className=\"col-md-6\">\n <Form>\n <SelectDeggrp\n changeDeggrp={this.getCollege}\n disabled={disbal}\n frmDeggrp={this.state.degGrp}\n />\n\n <SelectCollege\n collref={this.state.collref}\n degcoll={this.props.degcoll}\n examcntr={this.state.examcntr}\n changeExamCntr={this.setExamCntr}\n disbal={disbal}\n />\n\n <Radio\n label=\"Theory\"\n name=\"radioGroup\"\n value=\"TH\"\n // @ts-ignore\n disabled={disbal}\n checked={this.state.thpr === \"TH\"}\n onChange={this.setTHPR}\n />\n <Radio\n label=\"Practical\"\n name=\"radioGroup\"\n value=\"PR\"\n // @ts-ignore\n disabled={disbal}\n style={{ marginLeft: \"2%\" }}\n checked={this.state.thpr === \"PR\"}\n onChange={this.setTHPR}\n />\n <br />\n <Button color=\"blue\" onClick={this.feachcenterdet}>\n Submit\n </Button>\n </Form>\n </div>\n <br /> <br />\n {error ? (\n <Message className={msgcolor}>\n <Message.Header> {errorMessage} </Message.Header>\n </Message>\n ) : null}\n <div className=\"ui mini form\" style={{ fontSize: \"1.1536em\" }}>\n {frmSubmit ? (\n <TagColl onRef={ref => (this.tagcoll = ref)} />\n ) : null}\n </div>\n </Card.Description>\n </Card.Content>\n </Card>\n <ReportModal\n dimmer=\"blurring\"\n open={open}\n close={this.close}\n report=\"Center List\"\n report_options={report_options}\n deggrp={this.state.degGrp}\n screen=\"examcenter\"\n />\n </div>\n );\n }\n}\n\nconst mapStateToProps = state => {\n return {\n cntrList: state.cntrList,\n degcoll: state.degcoll,\n examCntrDet: state.examCntrDet,\n saveExamCntr: state.saveExamCenter,\n error: state.error\n };\n};\n\nexport default connect(\n mapStateToProps,\n {\n saveExamCenter,\n fetchDegColl,\n fetchCntrListdet,\n deleteExamCenter\n }\n)(CCentres);\n","import _extends from \"@babel/runtime/helpers/extends\";\nimport cx from 'classnames';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport { childrenUtils, customPropTypes, getElementType, getUnhandledProps, useKeyOnly } from '../../lib';\n/**\n * A divider visually segments content into groups.\n */\n\nfunction Divider(props) {\n var children = props.children,\n className = props.className,\n clearing = props.clearing,\n content = props.content,\n fitted = props.fitted,\n hidden = props.hidden,\n horizontal = props.horizontal,\n inverted = props.inverted,\n section = props.section,\n vertical = props.vertical;\n var classes = cx('ui', useKeyOnly(clearing, 'clearing'), useKeyOnly(fitted, 'fitted'), useKeyOnly(hidden, 'hidden'), useKeyOnly(horizontal, 'horizontal'), useKeyOnly(inverted, 'inverted'), useKeyOnly(section, 'section'), useKeyOnly(vertical, 'vertical'), 'divider', className);\n var rest = getUnhandledProps(Divider, props);\n var ElementType = getElementType(Divider, props);\n return React.createElement(ElementType, _extends({}, rest, {\n className: classes\n }), childrenUtils.isNil(children) ? content : children);\n}\n\nDivider.handledProps = [\"as\", \"children\", \"className\", \"clearing\", \"content\", \"fitted\", \"hidden\", \"horizontal\", \"inverted\", \"section\", \"vertical\"];\nDivider.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /** An element type to render as (string or function). */\n as: customPropTypes.as,\n\n /** Primary content. */\n children: PropTypes.node,\n\n /** Additional classes. */\n className: PropTypes.string,\n\n /** Divider can clear the content above it. */\n clearing: PropTypes.bool,\n\n /** Shorthand for primary content. */\n content: customPropTypes.contentShorthand,\n\n /** Divider can be fitted without any space above or below it. */\n fitted: PropTypes.bool,\n\n /** Divider can divide content without creating a dividing line. */\n hidden: PropTypes.bool,\n\n /** Divider can segment content horizontally. */\n horizontal: PropTypes.bool,\n\n /** Divider can have its colours inverted. */\n inverted: PropTypes.bool,\n\n /** Divider can provide greater margins to divide sections of content. */\n section: PropTypes.bool,\n\n /** Divider can segment content vertically. */\n vertical: PropTypes.bool\n} : {};\nexport default Divider;","import React, { Component } from \"react\";\nimport { connect } from \"react-redux\";\nimport { Form, Dropdown } from \"semantic-ui-react\";\nimport { fetchDegGrp } from \"../../actions\";\n\nclass SelectDeggrp extends Component {\n componentDidMount() {\n this.props.fetchDegGrp();\n }\n\n componentDidUpdate(prevProps) {\n if (this.props.user !== prevProps.user) {\n this.props.fetchDegGrp();\n }\n }\n\n render() {\n const deggroup = this.props.deggrp;\n\n var deggroup_options = deggroup.map((el, i) => {\n return {\n key: i,\n value: el.fdeggrp,\n text: `${el.fdeggrp} - ${el.fdescpn}`,\n };\n });\n\n return (\n <Form.Field width=\"16\">\n <label>Degree Group</label>\n <Dropdown\n size=\"mini\"\n error={this.props.dgerror}\n fluid\n search\n selection\n value={this.props.frmDeggrp}\n onChange={this.props.changeDeggrp}\n placeholder=\"Select Degree Group\"\n disabled={this.props.disabled}\n openOnFocus={false}\n options={deggroup_options}\n selectOnBlur={false}\n // searchInput={{ autoFocus: true }}\n />\n </Form.Field>\n );\n }\n}\n\nconst mapStateToProps = (state) => {\n return {\n deggrp: state.deggrp,\n user: state.user,\n };\n};\n\nexport default connect(mapStateToProps, { fetchDegGrp })(SelectDeggrp);\n","import _extends from \"@babel/runtime/helpers/extends\";\nimport cx from 'classnames';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport { childrenUtils, customPropTypes, getElementType, getUnhandledProps } from '../../lib';\n/**\n * A message can contain a content.\n */\n\nfunction MessageContent(props) {\n var children = props.children,\n className = props.className,\n content = props.content;\n var classes = cx('content', className);\n var rest = getUnhandledProps(MessageContent, props);\n var ElementType = getElementType(MessageContent, props);\n return React.createElement(ElementType, _extends({}, rest, {\n className: classes\n }), childrenUtils.isNil(children) ? content : children);\n}\n\nMessageContent.handledProps = [\"as\", \"children\", \"className\", \"content\"];\nMessageContent.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /** An element type to render as (string or function). */\n as: customPropTypes.as,\n\n /** Primary content. */\n children: PropTypes.node,\n\n /** Additional classes. */\n className: PropTypes.string,\n\n /** Shorthand for primary content. */\n content: customPropTypes.contentShorthand\n} : {};\nexport default MessageContent;","import _extends from \"@babel/runtime/helpers/extends\";\nimport cx from 'classnames';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport { childrenUtils, createShorthandFactory, customPropTypes, getElementType, getUnhandledProps } from '../../lib';\n/**\n * A message can contain a header.\n */\n\nfunction MessageHeader(props) {\n var children = props.children,\n className = props.className,\n content = props.content;\n var classes = cx('header', className);\n var rest = getUnhandledProps(MessageHeader, props);\n var ElementType = getElementType(MessageHeader, props);\n return React.createElement(ElementType, _extends({}, rest, {\n className: classes\n }), childrenUtils.isNil(children) ? content : children);\n}\n\nMessageHeader.handledProps = [\"as\", \"children\", \"className\", \"content\"];\nMessageHeader.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /** An element type to render as (string or function). */\n as: customPropTypes.as,\n\n /** Primary content. */\n children: PropTypes.node,\n\n /** Additional classes. */\n className: PropTypes.string,\n\n /** Shorthand for primary content. */\n content: customPropTypes.contentShorthand\n} : {};\nMessageHeader.create = createShorthandFactory(MessageHeader, function (val) {\n return {\n content: val\n };\n});\nexport default MessageHeader;","import _extends from \"@babel/runtime/helpers/extends\";\nimport cx from 'classnames';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport { childrenUtils, createShorthandFactory, customPropTypes, getElementType, getUnhandledProps } from '../../lib';\n/**\n * A message list can contain an item.\n */\n\nfunction MessageItem(props) {\n var children = props.children,\n className = props.className,\n content = props.content;\n var classes = cx('content', className);\n var rest = getUnhandledProps(MessageItem, props);\n var ElementType = getElementType(MessageItem, props);\n return React.createElement(ElementType, _extends({}, rest, {\n className: classes\n }), childrenUtils.isNil(children) ? content : children);\n}\n\nMessageItem.handledProps = [\"as\", \"children\", \"className\", \"content\"];\nMessageItem.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /** An element type to render as (string or function). */\n as: customPropTypes.as,\n\n /** Primary content. */\n children: PropTypes.node,\n\n /** Additional classes. */\n className: PropTypes.string,\n\n /** Shorthand for primary content. */\n content: customPropTypes.contentShorthand\n} : {};\nMessageItem.defaultProps = {\n as: 'li'\n};\nMessageItem.create = createShorthandFactory(MessageItem, function (content) {\n return {\n content: content\n };\n});\nexport default MessageItem;","import _extends from \"@babel/runtime/helpers/extends\";\nimport _map from \"lodash/map\";\nimport cx from 'classnames';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport { childrenUtils, createShorthandFactory, customPropTypes, getElementType, getUnhandledProps } from '../../lib';\nimport MessageItem from './MessageItem';\n/**\n * A message can contain a list of items.\n */\n\nfunction MessageList(props) {\n var children = props.children,\n className = props.className,\n items = props.items;\n var classes = cx('list', className);\n var rest = getUnhandledProps(MessageList, props);\n var ElementType = getElementType(MessageList, props);\n return React.createElement(ElementType, _extends({}, rest, {\n className: classes\n }), childrenUtils.isNil(children) ? _map(items, MessageItem.create) : children);\n}\n\nMessageList.handledProps = [\"as\", \"children\", \"className\", \"items\"];\nMessageList.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /** An element type to render as (string or function). */\n as: customPropTypes.as,\n\n /** Primary content. */\n children: PropTypes.node,\n\n /** Additional classes. */\n className: PropTypes.string,\n\n /** Shorthand Message.Items. */\n items: customPropTypes.collectionShorthand\n} : {};\nMessageList.defaultProps = {\n as: 'ul'\n};\nMessageList.create = createShorthandFactory(MessageList, function (val) {\n return {\n items: val\n };\n});\nexport default MessageList;","import _extends from \"@babel/runtime/helpers/extends\";\nimport _classCallCheck from \"@babel/runtime/helpers/classCallCheck\";\nimport _createClass from \"@babel/runtime/helpers/createClass\";\nimport _possibleConstructorReturn from \"@babel/runtime/helpers/possibleConstructorReturn\";\nimport _getPrototypeOf from \"@babel/runtime/helpers/getPrototypeOf\";\nimport _inherits from \"@babel/runtime/helpers/inherits\";\nimport _assertThisInitialized from \"@babel/runtime/helpers/assertThisInitialized\";\nimport _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nimport _isNil from \"lodash/isNil\";\nimport _without from \"lodash/without\";\nimport cx from 'classnames';\nimport PropTypes from 'prop-types';\nimport React, { Component } from 'react';\nimport { childrenUtils, createHTMLParagraph, customPropTypes, getElementType, getUnhandledProps, SUI, useKeyOnly, useKeyOrValueAndKey } from '../../lib';\nimport Icon from '../../elements/Icon';\nimport MessageContent from './MessageContent';\nimport MessageHeader from './MessageHeader';\nimport MessageList from './MessageList';\nimport MessageItem from './MessageItem';\n/**\n * A message displays information that explains nearby content.\n * @see Form\n */\n\nvar Message = /*#__PURE__*/function (_Component) {\n _inherits(Message, _Component);\n\n function Message() {\n var _getPrototypeOf2;\n\n var _this;\n\n _classCallCheck(this, Message);\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(Message)).call.apply(_getPrototypeOf2, [this].concat(args)));\n\n _defineProperty(_assertThisInitialized(_assertThisInitialized(_this)), \"handleDismiss\", function (e) {\n var onDismiss = _this.props.onDismiss;\n if (onDismiss) onDismiss(e, _this.props);\n });\n\n return _this;\n }\n\n _createClass(Message, [{\n key: \"render\",\n value: function render() {\n var _this$props = this.props,\n attached = _this$props.attached,\n children = _this$props.children,\n className = _this$props.className,\n color = _this$props.color,\n compact = _this$props.compact,\n content = _this$props.content,\n error = _this$props.error,\n floating = _this$props.floating,\n header = _this$props.header,\n hidden = _this$props.hidden,\n icon = _this$props.icon,\n info = _this$props.info,\n list = _this$props.list,\n negative = _this$props.negative,\n onDismiss = _this$props.onDismiss,\n positive = _this$props.positive,\n size = _this$props.size,\n success = _this$props.success,\n visible = _this$props.visible,\n warning = _this$props.warning;\n var classes = cx('ui', color, size, useKeyOnly(compact, 'compact'), useKeyOnly(error, 'error'), useKeyOnly(floating, 'floating'), useKeyOnly(hidden, 'hidden'), useKeyOnly(icon, 'icon'), useKeyOnly(info, 'info'), useKeyOnly(negative, 'negative'), useKeyOnly(positive, 'positive'), useKeyOnly(success, 'success'), useKeyOnly(visible, 'visible'), useKeyOnly(warning, 'warning'), useKeyOrValueAndKey(attached, 'attached'), 'message', className);\n var dismissIcon = onDismiss && React.createElement(Icon, {\n name: \"close\",\n onClick: this.handleDismiss\n });\n var rest = getUnhandledProps(Message, this.props);\n var ElementType = getElementType(Message, this.props);\n\n if (!childrenUtils.isNil(children)) {\n return React.createElement(ElementType, _extends({}, rest, {\n className: classes\n }), dismissIcon, children);\n }\n\n return React.createElement(ElementType, _extends({}, rest, {\n className: classes\n }), dismissIcon, Icon.create(icon, {\n autoGenerateKey: false\n }), (!_isNil(header) || !_isNil(content) || !_isNil(list)) && React.createElement(MessageContent, null, MessageHeader.create(header, {\n autoGenerateKey: false\n }), MessageList.create(list, {\n autoGenerateKey: false\n }), createHTMLParagraph(content, {\n autoGenerateKey: false\n })));\n }\n }]);\n\n return Message;\n}(Component);\n\n_defineProperty(Message, \"Content\", MessageContent);\n\n_defineProperty(Message, \"Header\", MessageHeader);\n\n_defineProperty(Message, \"List\", MessageList);\n\n_defineProperty(Message, \"Item\", MessageItem);\n\n_defineProperty(Message, \"handledProps\", [\"as\", \"attached\", \"children\", \"className\", \"color\", \"compact\", \"content\", \"error\", \"floating\", \"header\", \"hidden\", \"icon\", \"info\", \"list\", \"negative\", \"onDismiss\", \"positive\", \"size\", \"success\", \"visible\", \"warning\"]);\n\nexport { Message as default };\nMessage.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /** An element type to render as (string or function). */\n as: customPropTypes.as,\n\n /** A message can be formatted to attach itself to other content. */\n attached: PropTypes.oneOfType([PropTypes.bool, PropTypes.oneOf(['bottom', 'top'])]),\n\n /** Primary content. */\n children: PropTypes.node,\n\n /** Additional classes. */\n className: PropTypes.string,\n\n /** A message can be formatted to be different colors. */\n color: PropTypes.oneOf(SUI.COLORS),\n\n /** A message can only take up the width of its content. */\n compact: PropTypes.bool,\n\n /** Shorthand for primary content. */\n content: customPropTypes.contentShorthand,\n\n /** A message may be formatted to display a negative message. Same as `negative`. */\n error: PropTypes.bool,\n\n /** A message can float above content that it is related to. */\n floating: PropTypes.bool,\n\n /** Shorthand for MessageHeader. */\n header: customPropTypes.itemShorthand,\n\n /** A message can be hidden. */\n hidden: PropTypes.bool,\n\n /** A message can contain an icon. */\n icon: PropTypes.oneOfType([customPropTypes.itemShorthand, PropTypes.bool]),\n\n /** A message may be formatted to display information. */\n info: PropTypes.bool,\n\n /** Array shorthand items for the MessageList. Mutually exclusive with children. */\n list: customPropTypes.collectionShorthand,\n\n /** A message may be formatted to display a negative message. Same as `error`. */\n negative: PropTypes.bool,\n\n /**\n * A message that the user can choose to hide.\n * Called when the user clicks the \"x\" icon. This also adds the \"x\" icon.\n *\n * @param {SyntheticEvent} event - React's original SyntheticEvent.\n * @param {object} data - All props.\n */\n onDismiss: PropTypes.func,\n\n /** A message may be formatted to display a positive message. Same as `success`. */\n positive: PropTypes.bool,\n\n /** A message can have different sizes. */\n size: PropTypes.oneOf(_without(SUI.SIZES, 'medium')),\n\n /** A message may be formatted to display a positive message. Same as `positive`. */\n success: PropTypes.bool,\n\n /** A message can be set to visible to force itself to be shown. */\n visible: PropTypes.bool,\n\n /** A message may be formatted to display warning messages. */\n warning: PropTypes.bool\n} : {};","import univadmin from \"../../apis/univadmin\";\n\nexport const fetchDegColl = deggrp => {\n return async function(dispatch, getState) {\n const state = getState();\n const response = await univadmin.get(\"/app.php\", {\n params: {\n a: \"fetchDegColl\",\n univcode: state.univ.funivcode,\n deggrp: deggrp\n }\n });\n if (typeof response.data !== \"object\") {\n const data = {\n error_code: -1,\n data: { msg: \"Something went wrong\" },\n status: \"failure\"\n };\n dispatch({\n type: \"SET_ERROR\",\n payload: data\n });\n } else if (response.data.error_code === 0) {\n dispatch({\n type: \"FETCH_DEGCOLL\",\n payload: response.data\n });\n } else {\n dispatch({\n type: \"SET_ERROR\",\n payload: response.data\n });\n }\n };\n};\n\nexport const updateCntr = (el, i) => {\n return {\n type: \"UPD_CNTR_DET\",\n payload: { el, i }\n };\n};\n\nexport const addCntr = el => {\n // console.log(el);\n return {\n type: \"ADD_CNTR_DET\",\n payload: el\n };\n};\n\nexport const fetchCntrListdet = (examcntr, degGrp, thpr) => {\n return async function(dispatch, getState) {\n const state = getState();\n dispatch({\n type: \"SET_LOADER\"\n });\n const response = await univadmin.get(\"/app.php\", {\n params: {\n a: \"fetchCntrListdet\",\n univcode: state.univ.funivcode,\n deggrp: degGrp,\n examcntr: examcntr,\n thpr: thpr\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 if (response.data.error_code === 0) {\n dispatch({\n type: \"FETCH_CNTR_DET\",\n payload: response.data\n });\n } else {\n dispatch({\n type: \"SET_ERROR\",\n payload: response.data\n });\n }\n };\n};\n\nexport const saveExamCenter = (examcntrlist, examcntr, degGrp, thpr) => {\n return async function(dispatch, getState) {\n const state = getState();\n dispatch({\n type: \"SET_LOADER\"\n });\n const response = await univadmin.post(\n \"/app.php?a=saveExamCenter&univcode=\" + state.univ.funivcode,\n {\n data: {\n deggrp: degGrp,\n examcntr: examcntr,\n thpr: thpr,\n examcntrlist: examcntrlist\n }\n }\n );\n dispatch({\n type: \"UNSET_LOADER\"\n });\n\n if (typeof response.data !== \"object\") {\n const data = {\n error_code: -1,\n data: { msg: \"Something went wrong\" },\n status: \"failure\"\n };\n dispatch({\n type: \"SET_ERROR\",\n payload: data\n });\n } else {\n dispatch({\n type: \"SET_ERROR\",\n payload: response.data\n });\n }\n };\n};\n\nexport const deleteExamCenter = (examcntr, degGrp, thpr) => {\n return async function(dispatch, getState) {\n const state = getState();\n dispatch({\n type: \"SET_LOADER\"\n });\n const response = await univadmin.post(\n \"/app.php?a=deleteExamCenter&univcode=\" + state.univ.funivcode,\n {\n data: {\n deggrp: degGrp,\n examcntr: examcntr,\n thpr: thpr\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"],"sourceRoot":""}
|