Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Your IP : 3.147.81.172
{"version":3,"sources":["../node_modules/semantic-ui-react/dist/es/elements/Divider/Divider.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/utils/MessageBoard_ACTN.js","pages/utils/Groups/CreateGroup/index.js","actions/utils/groupCreation.js"],"names":["_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","props","children","className","clearing","content","fitted","hidden","horizontal","inverted","section","vertical","classes","Object","rest","ElementType","a","createElement","isNil","handledProps","propTypes","__webpack_exports__","MessageContent","classnames_default","getUnhandledProps","getElementType","react_default","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","Message","_getPrototypeOf2","_this","classCallCheck_default","this","_len","arguments","length","args","Array","_key","possibleConstructorReturn_default","getPrototypeOf_default","call","apply","concat","defineProperty_default","assertThisInitialized_default","e","onDismiss","inherits_default","createClass_default","key","value","_this$props","attached","color","compact","error","floating","header","icon","info","list","negative","positive","size","success","visible","warning","classNameBuilders","dismissIcon","Icon","name","onClick","handleDismiss","autoGenerateKey","isNil_default","react","getMessageGroups","type","_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","_callee","dispatch","getState","state","response","_error","wrap","_context","prev","next","univadmin","get","params","univcode","univ","funivcode","user","sent","data","showError","error_code","payload","msg","stop","_x","_x2","getMessagesForGroup","groupid","_ref2","_callee2","_error2","_context2","_x3","_x4","getUsersForGroup","_ref3","_callee3","_error3","_context3","_x5","_x6","sendMsg","_ref4","_callee4","_error4","_context4","post","console","log","_x7","_x8","changeGroupHead","cancelGroupHead","emptyUsersforGroup","handleSaveGroup","_ref5","_callee5","_error5","_error6","_context5","group","grpEdit","head","history","push","fgrpid","_x9","_x10","getGroupHeadForEdit","groupId","_ref6","_callee6","_error7","_context6","_x11","_x12","GrpCreation","frmsubmit","handleChange","changeGrpCreation","getDegree","getCollGrp","getCollTeachers","handleCheckbox","el","i","newel","objectSpread","checked","target","changeGrpData","fcode","submitFrom","regenerator_default","submitFromData","setState","addMembers","addMembersToGroup","match","getLevel","cancelGrpCreate","cancelGroup","_this2","_this$props$grpCreati","grpCreation","level","flevel","fdeggrp","college","degree","fcollcode","fdegree","fgrptype","tabledata","wheight","wHeight","deggrp","Card","fluid","Content","Header","style","display","grp","ftitle","Button","basic","Description","overflowY","height","padding","Form","Group","Field","width","Dropdown","placeholder","search","selection","options","map","FLELNAME","text","onChange","fdescpn","fcurtype","college_name","inline","Radio","label","List","Item","class","Table","celled","padded","selectable","unstackable","Row","textAlign","HeaderCell","Body","overflow","Cell","fname","Component","connect","grpData","asyncToGenerator","status","fuserid","catch","err","message","fregno","members","activeCollege","fcollname","town"],"mappings":"2FAAA,IAAAA,EAAAC,EAAA,KAAAC,EAAAD,EAAAE,EAAAH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AlL,EAAAoF,KAAO,SAAA4C,EAAO1C,EAAUC,GAAjB,IAAAC,EAAAe,EAAA,OAAA2E,EAAAlL,EAAA2F,KAAA,SAAAuC,GAAA,cAAAA,EAAArC,KAAAqC,EAAApC,MAAA,OACCN,EAAQD,IACVgB,EAAOf,EAAM6K,cAAcpC,IAAI,SAAAxD,GACjC,MAAO,CACL0B,UAAW1B,EAAG0B,UACdoC,aAAY,GAAA1L,OAAK4H,EAAG6F,UAAR,MAAAzN,OAAsB4H,EAAG8F,SAIzCjL,EAAS,CACPN,KAAM,mBACN0B,QAHe,CAAEH,UARd,wBAAA2B,EAAAtB,SAAAoB,MAAP,gBAAAM,EAAAC,GAAA,OAAAR,EAAAnF,MAAAV,KAAAE,YAAA,IDgOEqJ,gBChG2B,WAC7B,MAAO,CACLzG,KAAM,mBDgFK2K,CAgBb1F","file":"static/js/30.462f953f.chunk.js","sourcesContent":["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 _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\";\nimport { showError } from \"../index\";\nimport { history } from \"../registration/loginRegn\";\n\nexport const getMessageGroups = type => {\n return async function(dispatch, getState) {\n const state = getState();\n\n const response = await univadmin.get(\"/app.php\", {\n params: {\n a: \"getMessageGroups\",\n univcode: state.univ.funivcode,\n user: state.user\n }\n });\n\n // console.log('resgrvlst', 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 === 0) {\n dispatch({\n type: \"GET_MSG_GROUPS\",\n payload: response.data\n });\n } else {\n const error = { header: \"Error\", content: response.data.data.msg };\n dispatch(showError(error));\n }\n };\n};\n\nexport const getMessagesForGroup = groupid => {\n return async function(dispatch, getState) {\n const state = getState();\n\n const response = await univadmin.get(\"/app.php\", {\n params: {\n a: \"getMessagesForGroup\",\n univcode: state.univ.funivcode,\n groupid: groupid\n }\n });\n\n // console.log('resgrvlst', 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 === 0) {\n dispatch({\n type: \"GET_MSGS_FOR_GROUP\",\n payload: response.data\n });\n } else {\n const error = { header: \"Error\", content: response.data.data.msg };\n dispatch(showError(error));\n }\n };\n};\n\nexport const getUsersForGroup = groupid => {\n return async function(dispatch, getState) {\n const state = getState();\n dispatch({ type: \"SET_LOADER\" });\n const response = await univadmin.get(\"/app.php\", {\n params: {\n a: \"getUsersForGroup\",\n univcode: state.univ.funivcode,\n groupid: groupid\n }\n });\n dispatch({ type: \"UNSET_LOADER\" });\n // console.log('resgrvlst', 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 === 0) {\n dispatch({\n type: \"GET_USERS_FOR_GROUP\",\n payload: response.data\n });\n } else {\n const error = { header: \"Error\", content: response.data.data.msg };\n dispatch(showError(error));\n }\n };\n};\n\nexport const sendMsg = msg => {\n return async function(dispatch, getState) {\n const state = getState();\n\n const response = await univadmin.post(\n \"/app.php?a=sendMessage&univcode=\" + state.univ.funivcode,\n {\n msg: msg\n }\n );\n\n // console.log('resgrvlst', 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 === 0) {\n console.log(msg);\n dispatch({\n type: \"UPDATE_MESSAGE\",\n payload: msg\n });\n } else {\n const error = { header: \"Error\", content: response.data.data.msg };\n dispatch(showError(error));\n }\n };\n};\n\nexport const changeGroupHead = (name, value) => {\n return {\n type: \"CHANGE_GROUP_HEAD\",\n payload: { name, value }\n };\n};\n\nexport const cancelGroupHead = () => {\n return {\n type: \"CANCEL_GROUP_HEAD\"\n };\n};\n\nexport const emptyUsersforGroup = () => {\n return {\n type: \"EMPTY_USERS_FOR_GROUP\"\n };\n};\n\nexport const handleSaveGroup = () => {\n return async function(dispatch, getState) {\n const state = getState();\n\n const response = await univadmin.post(\n \"/app.php?a=handleSaveGroup&univcode=\" + state.univ.funivcode,\n {\n group: state.grpEdit.head,\n user: state.user\n }\n );\n\n // console.log('resgrvlst', 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 === 0) {\n const error = { header: \"Success\", content: response.data.data.msg };\n dispatch(showError(error));\n dispatch(cancelGroupHead());\n history.push(\n \"/utils/message-board/add-members/\" + response.data.data.fgrpid\n );\n dispatch(getMessageGroups(\"sometype\"));\n } else {\n const error = { header: \"Error\", content: response.data.data.msg };\n dispatch(showError(error));\n }\n };\n};\n\nexport const getGroupHeadForEdit = groupId => {\n return async function(dispatch, getState) {\n const state = getState();\n\n const response = await univadmin.get(\"/app.php\", {\n params: {\n a: \"getGroupHeadForEdit\",\n univcode: state.univ.funivcode,\n groupid: groupId\n }\n });\n\n // console.log('resgrvlst', 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 === 0) {\n dispatch({\n type: \"GET_GROUP_HEAD\",\n payload: response.data\n });\n } else {\n const error = { header: \"Error\", content: response.data.data.msg };\n dispatch(showError(error));\n }\n };\n};\n","import React, { Component } from \"react\";\nimport { Link } from \"react-router-dom\";\nimport \"react-table/react-table.css\";\nimport {\n Card,\n Divider,\n Button,\n Form,\n Dropdown,\n TextArea,\n Table,\n Message,\n Input\n} from \"semantic-ui-react\";\nimport { connect } from \"react-redux\";\nimport { showError } from \"../../../../actions\";\n\nimport {\n getLevel,\n changeGrpCreation,\n getDegree,\n getCollGrp,\n submitFromData,\n changeGrpData,\n cancelGroup,\n addMembersToGroup,\n getCollTeachers,\n cancelGrpCreate\n} from \"../../../../actions/utils/groupCreation\";\n\nimport { getGroupHeadForEdit } from \"../../../../actions/utils/MessageBoard_ACTN\";\n\nimport { wHeight } from \"../../../parms\";\n\nclass GrpCreation extends Component {\n state = { frmsubmit: false };\n\n async componentDidMount() {\n await this.props.getLevel();\n await this.props.getGroupHeadForEdit(this.props.match.params.groupId);\n }\n\n componentWillUnmount() {\n this.props.cancelGrpCreate();\n }\n\n componentWillUnmount() {\n this.props.cancelGroup();\n }\n\n handleChange = (e, data) => {\n console.log(\"check box : \", data.value);\n this.props.changeGrpCreation(data.name, data.value);\n\n if (data.name === \"fdeggrp\" && data.value != \"\") {\n this.props.getDegree(data.name, data.value);\n this.props.changeGrpCreation(\"fdegree\", \"\");\n this.props.changeGrpCreation(\"fcollcode\", \"\");\n }\n\n if (data.name === \"fdegree\" && data.value != \"\") {\n this.props.getCollGrp(data.name, data.value);\n }\n\n if (\n data.name === \"flevel\" &&\n (data.value == \"Teacher\" || data.value == \"Principal\")\n ) {\n console.log(\"get all colleges for teachers\");\n this.props.getCollTeachers();\n }\n };\n\n handleCheckbox = (e, el, i) => {\n const newel = { ...el, checked: e.target.checked ? \"T\" : \"F\" };\n this.props.changeGrpData(newel, el.fcode);\n };\n\n submitFrom = async () => {\n await this.props.submitFromData();\n this.setState({ frmsubmit: true });\n };\n\n addMembers = async () => {\n await this.props.addMembersToGroup(this.props.match.params.groupId);\n // this.props.cancelGrpCreate();\n };\n\n render() {\n const {\n level,\n flevel,\n fdeggrp,\n college,\n degree,\n fcollcode,\n fdegree,\n fgrptype\n } = this.props.grpCreation;\n console.log(\"this.props.grpCreation\", this.props.grpCreation);\n const tabledata = this.props.tabledata;\n const wheight = wHeight();\n const deggrp = this.props.deggrp;\n return (\n <div>\n <Card fluid>\n <Card.Content>\n <Card.Header style={{ display: \"flex\" }}>\n <h4>\n Add Members to <b>{this.props.grp.head.ftitle}</b>\n </h4>\n <div className=\"ml-auto\">\n <Button\n basic\n color=\"blue\"\n content=\"Save\"\n onClick={this.addMembers}\n icon=\"add\"\n />\n </div>\n </Card.Header>\n\n {/* <Divider /> */}\n <Card.Description\n style={{\n overflowY: \"auto\",\n height: `${wheight - 12}px`,\n padding: \"1.3em\"\n }}\n >\n <Form>\n <div>\n <div>\n <Form.Group>\n <Form.Field width={16}>\n <label>Type of Members</label>\n <Dropdown\n placeholder=\"Select Level\"\n search\n selection\n name=\"flevel\"\n value={flevel}\n options={level.map((el, i) => {\n return {\n key: i,\n value: el.FLELNAME,\n text: el.FLELNAME\n };\n })}\n onChange={this.handleChange}\n />\n </Form.Field>\n </Form.Group>\n {flevel == \"Student\" ? (\n <Form.Group>\n <Form.Field width={16}>\n <label>Degree Group</label>\n <Dropdown\n placeholder=\"Select Degree Group\"\n search\n selection\n name=\"fdeggrp\"\n value={fdeggrp}\n options={deggrp.map((el, i) => {\n return {\n key: i,\n value: el.fdeggrp,\n text: `${el.fdeggrp} - ${el.fdescpn}`\n };\n })}\n onChange={this.handleChange}\n />\n </Form.Field>\n </Form.Group>\n ) : null}\n {flevel == \"Student\" ? (\n <Form.Group>\n <Form.Field width={16}>\n <label>Select Degree</label>\n <Dropdown\n placeholder=\"Select Degree Range\"\n search\n selection\n name=\"fdegree\"\n value={fdegree}\n options={degree.map((el, i) => {\n return {\n key: i,\n value: el.fdegree,\n text: `${el.fdegree} - ${el.fdescpn}`\n };\n })}\n onChange={this.handleChange}\n />\n </Form.Field>\n </Form.Group>\n ) : null}\n {this.props.user.fcurtype == \"600\" ||\n this.props.user.fcurtype == \"500\" ? null : (\n <Form.Group>\n <Form.Field width={16}>\n <label>Select College</label>\n <Dropdown\n placeholder=\"Select College Range\"\n search\n selection\n name=\"fcollcode\"\n value={fcollcode}\n options={college.map((el, i) => {\n return {\n key: i,\n value: el.fcollcode,\n text: `${el.fcollcode} - ${el.college_name}`\n };\n })}\n onChange={this.handleChange}\n />\n </Form.Field>\n </Form.Group>\n )}\n\n <Form.Group inline>\n <label>Type Group</label>\n <Form.Radio\n label=\"All\"\n value=\"A\"\n name=\"fgrptype\"\n checked={fgrptype == \"A\"}\n onChange={this.handleChange}\n />\n {(fcollcode == \"All\" || fdegree == \"All\") &&\n flevel == \"Student\" ? null : (\n <Form.Radio\n label=\"Custom\"\n value=\"C\"\n name=\"fgrptype\"\n checked={fgrptype == \"C\"}\n onChange={this.handleChange}\n />\n )}\n </Form.Group>\n <Message color=\"blue\">\n <Message.List>\n <Message.Item>\n All - All the members who belong to above selected\n criterion will be added to the group.\n </Message.Item>\n <Message.Item>\n Custom - Select the members individually to add to the\n group.\n </Message.Item>\n </Message.List>\n </Message>\n {fgrptype == \"C\" ? (\n <button\n class=\"ui primary button\"\n onClick={this.submitFrom}\n >\n Submit\n </button>\n ) : null}\n </div>\n {/* <hr />\n <div\n style={{\n marginBottom: \"1em\",\n backgroundColor: \"white\"\n }}\n className=\"stick\"\n >\n <Input\n icon=\"search\"\n fluid\n placeholder=\"Search...\"\n onChange={this.searchTable}\n style={{ fontSize: \"1.1em\" }}\n />\n </div> */}\n {this.state.frmsubmit ? (\n <div>\n <Divider />\n <Table\n celled\n padded\n selectable\n size=\"small\"\n color=\"olive\"\n className=\"tbl sticky1\"\n unstackable\n >\n <Table.Header>\n <Table.Row textAlign=\"center\">\n <Table.HeaderCell>Sl.No.</Table.HeaderCell>\n <Table.HeaderCell>Code</Table.HeaderCell>\n <Table.HeaderCell>College Code</Table.HeaderCell>\n {/* <Table.HeaderCell>Degree Code</Table.HeaderCell> */}\n <Table.HeaderCell>Name</Table.HeaderCell>\n <Table.HeaderCell>Select</Table.HeaderCell>\n </Table.Row>\n </Table.Header>\n <Table.Body>\n {tabledata.map((el, i) => {\n return (\n <Table.Row key={i} style={{ overflow: \"hidden\" }}>\n <Table.Cell textAlign=\"center\">\n {i + 1}\n </Table.Cell>\n <Table.Cell>{el.fcode}</Table.Cell>\n <Table.Cell>{el.fcollcode}</Table.Cell>\n {/* <Table.Cell>{el.fdegree}</Table.Cell> */}\n <Table.Cell>{el.fname}</Table.Cell>\n <Table.Cell>\n <div className=\"ui checkbox\">\n <input\n type=\"checkbox\"\n name={el.fcode}\n value=\"true\"\n onChange={e =>\n this.handleCheckbox(e, el, i)\n }\n checked={el.checked == \"T\"}\n />\n <label> </label>\n </div>\n </Table.Cell>\n </Table.Row>\n );\n })}\n </Table.Body>\n </Table>\n </div>\n ) : null}\n </div>\n </Form>\n </Card.Description>\n </Card.Content>\n </Card>\n </div>\n );\n }\n}\n\nconst mapStateToProps = state => {\n return {\n grpCreation: state.grpCreation,\n deggrp: state.deggrp,\n tabledata: state.grpData,\n grp: state.grpEdit,\n user: state.user\n };\n};\nexport default connect(\n mapStateToProps,\n {\n showError,\n changeGrpCreation,\n getLevel,\n getDegree,\n getCollGrp,\n submitFromData,\n changeGrpData,\n cancelGroup,\n getGroupHeadForEdit,\n addMembersToGroup,\n getCollTeachers,\n cancelGrpCreate\n }\n)(GrpCreation);\n","import univadmin from \"../../apis/univadmin\";\nimport { showError } from \"../index\";\nimport { history } from \"../registration/loginRegn\";\n\nexport const getLevel = data => {\n return async (dispatch, getState) => {\n const state = getState();\n const response = await univadmin.post(\n \"app.php?a=getLevel&univcode=\" +\n state.univ.funivcode +\n \"&fcurtype=\" +\n state.user.fcurtype,\n {\n data: data\n }\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: \"getLevel\",\n payload: response.data\n });\n } else {\n dispatch({\n type: \"SET_ERROR\",\n payload: response\n });\n }\n };\n};\n\nexport const changeGrpCreation = (name, value) => {\n return {\n type: \"CHANGE_GRPCRE\",\n payload: { name, value }\n };\n};\n\nexport const cancelGroup = () => {\n return {\n type: \"CANCEL_GRPCRE\"\n };\n};\n\nexport const getDegree = (name, value) => {\n return async (dispatch, getState) => {\n const state = getState();\n const response = await univadmin.get(\n \"app.php?a=getDegreeGrps&univcode=\" +\n state.univ.funivcode +\n \"°grp=\" +\n value +\n \"&flevel=\" +\n state.grpCreation.flevel +\n \"&fcurtype=\" +\n state.user.fcurtype +\n \"&fuserid=\" +\n state.user.fuserid +\n \"&fcollcode=\" +\n state.user.fcollcode\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: \"GRP_GET_DEGREES\",\n payload: response.data\n });\n } else {\n dispatch({\n type: \"SET_ERROR\",\n payload: response\n });\n }\n };\n};\n\nexport const getCollGrp = (name, value) => {\n return async (dispatch, getState) => {\n const state = getState();\n const response = await univadmin\n .post(\n \"app.php?a=getDegGrpColl&univcode=\" +\n state.univ.funivcode +\n \"°grp=\" +\n value,\n {\n fdegree: state.grpCreation.fdegree\n }\n )\n .catch(err => {\n console.log(err);\n const error = { header: \"Error\", content: err.message };\n dispatch(showError(error));\n return true;\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: \"GRP_GET_COLLEGES\",\n payload: response.data\n });\n } else {\n dispatch({\n type: \"SET_ERROR\",\n payload: response\n });\n }\n };\n};\n\nexport const getCollTeachers = () => {\n return async (dispatch, getState) => {\n const state = getState();\n let data = state.activeCollege.map(el => {\n return {\n fcollcode: el.fcollcode,\n college_name: `${el.fcollname}, ${el.town}`\n };\n });\n const response = { data };\n dispatch({\n type: \"GRP_GET_COLLEGES\",\n payload: response\n });\n };\n};\n\nexport const submitFromData = () => {\n return async (dispatch, getState) => {\n const state = getState();\n console.log(state.grpCreation);\n dispatch({\n type: \"SET_LOADER\"\n });\n const fcollcode =\n state.user.fcurtype == \"500\" || state.user.fcurtype == \"600\"\n ? state.user.fcollcode\n : state.grpCreation.fcollcode;\n const response = await univadmin\n .post(\"app.php?a=submitFromData&univcode=\" + state.univ.funivcode, {\n fdegree: state.grpCreation.fdegree,\n fcollcode: fcollcode,\n flevel: state.grpCreation.flevel,\n fgrptype: state.grpCreation.fgrptype,\n fdeggrp: state.grpCreation.fdeggrp\n })\n .catch(error => {\n console.log(error);\n });\n // console.log(err);\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: \"GRP_GET_FORMDATA\",\n payload: response.data\n });\n } else {\n dispatch({\n type: \"SET_ERROR\",\n payload: response\n });\n }\n };\n};\n\nexport const addMembersToGroup = groupId => {\n return async (dispatch, getState) => {\n const state = getState();\n\n const fcollcode =\n state.user.fcurtype == \"500\" || state.user.fcurtype == \"600\"\n ? state.user.fcollcode\n : state.grpCreation.fcollcode;\n\n dispatch({\n type: \"SET_LOADER\"\n });\n\n const response = await univadmin.post(\n \"app.php?a=addMembersToGroup&univcode=\" + state.univ.funivcode,\n {\n fdegree: state.grpCreation.fdegree,\n fcollcode: fcollcode,\n flevel: state.grpCreation.flevel,\n fgrptype: state.grpCreation.fgrptype,\n fdeggrp: state.grpCreation.fdeggrp,\n groupId: groupId,\n members: state.grpData\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 const error = { header: \"Success\", content: response.data.data.msg };\n dispatch(showError(error));\n dispatch({\n type: \"CANCEL_GRPCRE\"\n });\n history.push(\"/utils/message-board/\" + groupId);\n } else {\n const error = { header: \"Error\", content: response.data.data.msg };\n dispatch(showError(error));\n }\n };\n};\n\nexport const changeGrpData = (newel, fregno) => {\n return {\n type: \"CHANGE_GRPDATA\",\n payload: { newel, fregno }\n };\n};\n\nexport const cancelGrpCreate = () => {\n return {\n type: \"CANCEL_GRPCRE\"\n };\n};\n"],"sourceRoot":""}
|