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.129.71.13
{"version":3,"sources":["pages/utils/userTypeReport/index.js","../node_modules/semantic-ui-react/dist/es/elements/Divider/Divider.js","../node_modules/react-input-mask/index.js","../node_modules/react-input-mask/lib/react-input-mask.production.min.js","actions/utils/createUser.js"],"names":["UserTypeReport","state","fchndate","usertype","funivcode","fregnofrm","fregnoto","fdegfrm","fdegto","fexmto","fexmfrm","fdatefrm","fdateto","open","handleChange","e","data","type","_this","setState","Object","_Users_prashanth_univadmin_react_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_2__","name","value","handleChangedate","target","handleSubmit","_this$state","fcollfrm","fcollto","_this$props$degdet","props","degdet","fexamrange","fyear","fexamtype","fdeggrp","showError","header","content","handleReport","_this$state2","console","log","join","length","userTypeStr","window","ReportAPI","univcode","this","fetchUnivs","getUserType","_this$state3","univsOpt","size","univs","map","el","i","key","text","concat","funivname","typeList","userTypeList","FUSERTYPE","FTYPEDESC","react__WEBPACK_IMPORTED_MODULE_8___default","a","createElement","className","semantic_ui_react__WEBPACK_IMPORTED_MODULE_9__","fluid","Content","Header","style","display","semantic_ui_react__WEBPACK_IMPORTED_MODULE_10__","basic","color","onClick","icon","handleCancel","react_router_dom__WEBPACK_IMPORTED_MODULE_14__","to","semantic_ui_react__WEBPACK_IMPORTED_MODULE_11__","Description","overflowY","height","semantic_ui_react__WEBPACK_IMPORTED_MODULE_12__","Field","width","semantic_ui_react__WEBPACK_IMPORTED_MODULE_13__","placeholder","search","selection","options","onChange","multiple","Group","Input","maxLength","label","marginTop","Component","connect","univ","_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__","__webpack_require__","_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default","n","classnames__WEBPACK_IMPORTED_MODULE_1__","classnames__WEBPACK_IMPORTED_MODULE_1___default","react__WEBPACK_IMPORTED_MODULE_2__","react__WEBPACK_IMPORTED_MODULE_2___default","_lib__WEBPACK_IMPORTED_MODULE_3__","_lib__WEBPACK_IMPORTED_MODULE_4__","_lib__WEBPACK_IMPORTED_MODULE_5__","_lib__WEBPACK_IMPORTED_MODULE_6__","Divider","children","clearing","fitted","hidden","horizontal","inverted","section","vertical","classes","rest","ElementType","isNil","handledProps","propTypes","__webpack_exports__","module","exports","React","reactDom","_extends","assign","t","arguments","prototype","hasOwnProperty","call","apply","_inheritsLoose","create","getOwnPropertyNames","r","getOwnPropertyDescriptor","configurable","undefined","defineProperty","_defaults2","constructor","_assertThisInitialized","ReferenceError","invariant_1","o","s","l","Error","u","c","replace","framesToPop","setInputSelection","selectionStart","selectionEnd","createTextRange","collapse","moveStart","moveEnd","select","defaultFormatChars","9","*","defaultMaskChar","parseMask","maskChar","formatChars","mask","prefix","lastEditablePosition","permanents","split","forEach","push","isPermanentCharacter","indexOf","isAllowedCharacter","RegExp","test","isEmpty","every","getFilledLength","slice","isFilled","formatValue","insertString","h","getRightEditablePosition","getStringValue","processChange","f","Math","min","start","end","getInsertStringLength","getLeftEditablePosition","max","splice","clearRange","enteredString","isFunction","getCancelAnimationFrame","cancelAnimationFrame","webkitCancelRequestAnimationFrame","webkitCancelAnimationFrame","mozCancelAnimationFrame","defer","requestAnimationFrame","webkitRequestAnimationFrame","mozRequestAnimationFrame","setTimeout","cancelDefer","clearTimeout","InputElement","focused","mounted","previousSelection","selectionDeferId","saveSelectionLoopDeferId","saveSelectionLoop","getSelection","runSaveSelectionLoop","stopSaveSelectionLoop","getInputDOMNode","findDOMNode","Element","nodeName","querySelector","getInputValue","setInputValue","setCursorToEnd","maskOptions","setCursorPosition","setSelection","isFocused","deferred","abs","document","createRange","parentElement","getInputSelection","getCursorPosition","getBeforeMaskedValueChangeConfig","alwaysShowMask","isInputAutofilled","matches","beforePasteState","beforeMaskedValueChange","isWindowsPhoneBrowser","onFocus","onBlur","onMouseDown","addEventListener","mouseDownX","clientX","mouseDownY","clientY","mouseDownTime","Date","getTime","removeEventListener","onPaste","defaultPrevented","handleRef","inputRef","defaultValue","componentDidMount","navigator","userAgent","componentDidUpdate","p","d","m","g","forceUpdate","v","componentWillUnmount","render","keys","_objectWithoutPropertiesLoose","filter","ref","disabled","readOnly","cloneElement","getUserDetails","fmobileno","_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","response","error","_error","wrap","_context","prev","next","univadmin","get","params","fusertype","user","fcurtype","sent","error_code","payload","msg","stop","_x","_x2","changeUserDetails","_ref2","_callee2","_error2","_context2","_x3","_x4","saveUserDetails","_ref3","_callee3","_error3","success","_context3","post","userDetails","_x5","_x6","saveusertypes","_ref4","_callee4","_error4","_context4","_x7","_x8"],"mappings":"0SAiBMA,6MACFC,MAAQ,CACJC,UAAU,EACVC,SAAU,GACVC,UAAW,GACXC,UAAW,GACXC,SAAU,GACVC,QAAS,GACTC,OAAQ,GACRC,OAAQ,GACRC,QAAS,GACTC,SAAU,GACVC,QAAS,GACTC,MAAM,KAQVC,aAAe,SAACC,EAAGC,GAEf,OAAQA,EAAKC,MACT,IAAK,OAGL,QAEI,YADAC,EAAKC,SAALC,OAAAC,EAAA,EAAAD,CAAA,GAAiBJ,EAAKM,KAAON,EAAKO,YAK9CC,iBAAmB,SAAAT,GACfG,EAAKC,SAALC,OAAAC,EAAA,EAAAD,CAAA,GAAiBL,EAAEU,OAAOH,KAAOP,EAAEU,OAAOF,WAG9CG,aAAe,WAAM,IAAAC,EAUbT,EAAKjB,MAPLE,GAHawB,EAEbvB,UAFauB,EAGbxB,UACAyB,EAJaD,EAIbC,SAEArB,GANaoB,EAKbE,QALaF,EAMbpB,SANauB,GAAAH,EAObn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EqB,kBAAlBuS,EAASxS,MACZyS,EAAQ,CAAEnR,OAAQ,QAASC,QAAS,wBAC1C+Q,EAASjR,YAAUoR,MACoB,IAA9BD,EAASxS,KAAKsT,YACjBb,EAAQ,CAAEnR,OAAQ,QAASC,QAASiR,EAASxS,KAAKA,KAAKwT,KAC7DlB,EAASjR,YAAUoR,MAEb8B,EAAU,CAAEjT,OAAQ,UAAWC,QAASiR,EAASxS,KAAKA,KAAKwT,KACjElB,EAASjR,YAAUkT,KApBhB,wBAAAU,EAAAxB,SAAAsB,MAAP,gBAAAG,EAAAC,GAAA,OAAAL,EAAA3M,MAAAjG,KAAA6F,YAAA","file":"static/js/49.f981e2a2.chunk.js","sourcesContent":["import React, { Component } from \"react\";\nimport {\n Card,\n Form,\n Divider,\n Dropdown,\n Button\n} from \"semantic-ui-react\";\nimport { Link } from \"react-router-dom\";\nimport { showError, fetchUnivs } from \"../../../actions\";\nimport { connect } from \"react-redux\";\nimport InputMask from \"react-input-mask\";\nimport {\n getUserType\n} from \"../../../actions/utils/createUser\";\nimport { ReportAPI } from \"../../../apis/consts\";\n\nclass UserTypeReport extends Component {\n state = {\n fchndate: false,\n usertype: [],\n funivcode: \"\",\n fregnofrm: \"\",\n fregnoto: \"\",\n fdegfrm: \"\",\n fdegto: \"\",\n fexmto: \"\",\n fexmfrm: \"\",\n fdatefrm: \"\",\n fdateto: \"\",\n open: false\n };\n async componentDidMount() {\n await this.props.fetchUnivs()\n await this.props.getUserType('EditUser');\n\n }\n\n handleChange = (e, data) => {\n\n switch (data.type) {\n case \"text\":\n this.setState({ [data.name]: data.value });\n return;\n default:\n this.setState({ [data.name]: data.value });\n return;\n }\n };\n\n handleChangedate = e => {\n this.setState({ [e.target.name]: e.target.value });\n };\n\n handleSubmit = () => {\n const {\n funivcode,\n usertype,\n fcollfrm,\n fcollto,\n fdegfrm,\n fdegto,\n fexmto,\n fexmfrm\n } = this.state;\n const { fyear, fexamtype, fexamrange, fdeggrp } = this.props.degdet;\n\n if (fdeggrp === \"\") {\n const error = { header: \"Error\", content: \"Select Degree Group\" };\n this.props.showError(error);\n return;\n }\n if (fcollfrm === \"\") {\n const error = { header: \"Error\", content: \"Enter College Range\" };\n this.props.showError(error);\n return;\n }\n\n if (fdegfrm === \"\") {\n const error = { header: \"Error\", content: \"Enter Degree range\" };\n this.props.showError(error);\n return;\n }\n if (fexamrange === \"\") {\n const error = { header: \"Error\", content: \"Enter Exam Range\" };\n this.props.showError(error);\n return;\n }\n\n if (usertype === \"\") {\n const error = { header: \"Error\", content: \"Select User Type\" };\n this.props.showError(error);\n return;\n }\n this.setState({ fchndate: true });\n };\n\n handleReport = () => {\n const {\n fregnofrm,\n fregnoto,\n usertype, funivcode\n } = this.state;\n console.log(\"DETAILS\", fregnofrm,\n fregnoto,\n usertype.join(\"*\"), funivcode)\n\n if (true) {\n if (usertype.length === 0 || funivcode === \"\") {\n const error = { header: \"Error\", content: \"Please select University and User Type.\" };\n this.props.showError(error);\n return;\n } else {\n var userTypeStr = usertype.join(\"*\")\n }\n\n if (fregnofrm === \"\" || fregnoto === \"\") {\n const error = { header: \"Error\", content: \"Enter Register Range\" };\n this.props.showError(error);\n return;\n }\n }\n\n window.open(\n ReportAPI + \"userTypeListReport\" +\n // rformat +\n \"&univcode=\" +\n this.props.univcode +\n \"&fregnofrom=\" +\n fregnofrm +\n \"&fregnoto=\" +\n fregnoto +\n \"&funivcode=\" +\n funivcode +\n \"&fusertype=\" +\n userTypeStr,\n \"_blank\"\n );\n };\n\n render() {\n const {\n usertype, funivcode,\n fregnofrm,\n fregnoto,\n fdegfrm,\n fdegto,\n fexmto,\n fexmfrm,\n fchndate,\n fdatefrm,\n fdateto,\n open,\n size\n } = this.state;\n let univsOpt = this.props.univs.map((el, i) => {\n return {\n key: i,\n value: el.funivcode,\n text: `${el.funivcode} - ${el.funivname}`\n };\n });\n\n let typeList = this.props.userTypeList.map((el, i) => {\n return {\n key: i,\n value: el.FUSERTYPE,\n text: `${el.FUSERTYPE} - ${el.FTYPEDESC}`\n };\n });\n\n return (\n <div className=\"animated fadeIn\">\n <Card fluid>\n <Card.Content>\n <Card.Header style={{ display: \"flex\" }}>\n <h4>User Type Report</h4>\n <div className=\"ml-auto\">\n <Button\n basic\n color=\"blue\"\n onClick={this.handleReport}\n content=\"Report\"\n icon=\"file\"\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 <Divider />\n <Card.Description style={{ overflowY: \"auto\", height: \"69vh\" }}>\n <div className=\"col-md-7 col-lg-7 col-sm-12\">\n <Form>\n <Form.Field width={10}>\n <label>University</label>\n <Dropdown\n placeholder=\"Select University\"\n search\n selection\n name=\"funivcode\"\n value={funivcode}\n options={univsOpt}\n onChange={this.handleChange}\n />\n </Form.Field>\n <Form.Field width={10}>\n <label>User Type</label>\n <Dropdown\n placeholder=\"Select User Type\"\n search\n selection\n multiple\n name=\"usertype\"\n value={usertype}\n options={typeList}\n onChange={this.handleChange}\n />\n </Form.Field>\n <Form.Group>\n <Form.Field width={5}>\n <Form.Input\n placeholder=\"From\"\n name=\"fregnofrm\"\n value={fregnofrm}\n onChange={this.handleChange}\n maxLength=\"4\"\n label=\"Register No. Range\"\n />\n </Form.Field>\n <Form.Field width={5}>\n <Form.Input\n placeholder=\"To\"\n name=\"fregnoto\"\n value={fregnoto}\n onChange={this.handleChange}\n maxLength=\"4\"\n style={{ marginTop: \"1.6em\" }}\n />\n </Form.Field>\n </Form.Group>\n {/* <Button\n color=\"blue\"\n onClick={this.handleSubmit}\n content=\"Submit\"\n /> */}\n </Form>\n </div>\n </Card.Description>\n </Card.Content>\n </Card>\n\n </div>\n );\n }\n}\n\nconst mapStateToProps = state => {\n return {\n univs: state.univs,\n userTypeList: state.userTypeList,\n univcode: state.univ.funivcode,\n\n };\n};\n\nexport default connect(\n mapStateToProps,\n {\n showError, fetchUnivs,\n getUserType\n // lastDateUpdate\n }\n)(UserTypeReport);\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;","if (process.env.NODE_ENV === 'production') {\n module.exports = require('./lib/react-input-mask.production.min.js');\n} else {\n module.exports = require('./lib/react-input-mask.development.js');\n}","\"use strict\";\n\nfunction _interopDefault(e) {\n return e && \"object\" == typeof e && \"default\" in e ? e[\"default\"] : e;\n}\n\nvar React = _interopDefault(require(\"react\")),\n reactDom = require(\"react-dom\");\n\nfunction _defaults2(e, t) {\n for (var n = Object.getOwnPropertyNames(t), a = 0; a < n.length; a++) {\n var i = n[a],\n r = Object.getOwnPropertyDescriptor(t, i);\n r && r.configurable && e[i] === undefined && Object.defineProperty(e, i, r);\n }\n\n return e;\n}\n\nfunction _extends() {\n return (_extends = Object.assign || function (e) {\n for (var t = 1; t < arguments.length; t++) {\n var n = arguments[t];\n\n for (var a in n) {\n Object.prototype.hasOwnProperty.call(n, a) && (e[a] = n[a]);\n }\n }\n\n return e;\n }).apply(this, arguments);\n}\n\nfunction _inheritsLoose(e, t) {\n e.prototype = Object.create(t.prototype), _defaults2(e.prototype.constructor = e, t);\n}\n\nfunction _objectWithoutPropertiesLoose(e, t) {\n if (null == e) return {};\n var n,\n a,\n i = {},\n r = Object.keys(e);\n\n for (a = 0; a < r.length; a++) {\n n = r[a], 0 <= t.indexOf(n) || (i[n] = e[n]);\n }\n\n return i;\n}\n\nfunction _assertThisInitialized(e) {\n if (void 0 === e) throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n return e;\n}\n\nvar invariant = function invariant(e, t, n, a, i, r, o, s) {\n if (!e) {\n var l;\n if (t === undefined) l = new Error(\"Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.\");else {\n var u = [n, a, i, r, o, s],\n c = 0;\n (l = new Error(t.replace(/%s/g, function () {\n return u[c++];\n }))).name = \"Invariant Violation\";\n }\n throw l.framesToPop = 1, l;\n }\n},\n invariant_1 = invariant;\n\nfunction setInputSelection(e, t, n) {\n if (\"selectionStart\" in e && \"selectionEnd\" in e) e.selectionStart = t, e.selectionEnd = n;else {\n var a = e.createTextRange();\n a.collapse(!0), a.moveStart(\"character\", t), a.moveEnd(\"character\", n - t), a.select();\n }\n}\n\nfunction getInputSelection(e) {\n var t = 0,\n n = 0;\n if (\"selectionStart\" in e && \"selectionEnd\" in e) t = e.selectionStart, n = e.selectionEnd;else {\n var a = document.selection.createRange();\n a.parentElement() === e && (t = -a.moveStart(\"character\", -e.value.length), n = -a.moveEnd(\"character\", -e.value.length));\n }\n return {\n start: t,\n end: n,\n length: n - t\n };\n}\n\nvar defaultFormatChars = {\n 9: \"[0-9]\",\n a: \"[A-Za-z]\",\n \"*\": \"[A-Za-z0-9]\"\n},\n defaultMaskChar = \"_\";\n\nfunction parseMask(e, t, n) {\n var a = \"\",\n i = \"\",\n r = null,\n o = [];\n if (t === undefined && (t = defaultMaskChar), null == n && (n = defaultFormatChars), !e || \"string\" != typeof e) return {\n maskChar: t,\n formatChars: n,\n mask: null,\n prefix: null,\n lastEditablePosition: null,\n permanents: []\n };\n var s = !1;\n return e.split(\"\").forEach(function (e) {\n s = !s && \"\\\\\" === e || (s || !n[e] ? (o.push(a.length), a.length === o.length - 1 && (i += e)) : r = a.length + 1, a += e, !1);\n }), {\n maskChar: t,\n formatChars: n,\n prefix: i,\n mask: a,\n lastEditablePosition: r,\n permanents: o\n };\n}\n\nfunction isPermanentCharacter(e, t) {\n return -1 !== e.permanents.indexOf(t);\n}\n\nfunction isAllowedCharacter(e, t, n) {\n var a = e.mask,\n i = e.formatChars;\n if (!n) return !1;\n if (isPermanentCharacter(e, t)) return a[t] === n;\n var r = i[a[t]];\n return new RegExp(r).test(n);\n}\n\nfunction isEmpty(n, e) {\n return e.split(\"\").every(function (e, t) {\n return isPermanentCharacter(n, t) || !isAllowedCharacter(n, t, e);\n });\n}\n\nfunction getFilledLength(e, t) {\n var n = e.maskChar,\n a = e.prefix;\n\n if (!n) {\n for (; t.length > a.length && isPermanentCharacter(e, t.length - 1);) {\n t = t.slice(0, t.length - 1);\n }\n\n return t.length;\n }\n\n for (var i = a.length, r = t.length; r >= a.length; r--) {\n var o = t[r];\n\n if (!isPermanentCharacter(e, r) && isAllowedCharacter(e, r, o)) {\n i = r + 1;\n break;\n }\n }\n\n return i;\n}\n\nfunction isFilled(e, t) {\n return getFilledLength(e, t) === e.mask.length;\n}\n\nfunction formatValue(e, t) {\n var n = e.maskChar,\n a = e.mask,\n i = e.prefix;\n\n if (!n) {\n for ((t = insertString(e, \"\", t, 0)).length < i.length && (t = i); t.length < a.length && isPermanentCharacter(e, t.length);) {\n t += a[t.length];\n }\n\n return t;\n }\n\n if (t) return insertString(e, formatValue(e, \"\"), t, 0);\n\n for (var r = 0; r < a.length; r++) {\n isPermanentCharacter(e, r) ? t += a[r] : t += n;\n }\n\n return t;\n}\n\nfunction clearRange(n, e, a, t) {\n var i = a + t,\n r = n.maskChar,\n o = n.mask,\n s = n.prefix,\n l = e.split(\"\");\n if (r) return l.map(function (e, t) {\n return t < a || i <= t ? e : isPermanentCharacter(n, t) ? o[t] : r;\n }).join(\"\");\n\n for (var u = i; u < l.length; u++) {\n isPermanentCharacter(n, u) && (l[u] = \"\");\n }\n\n return a = Math.max(s.length, a), l.splice(a, i - a), e = l.join(\"\"), formatValue(n, e);\n}\n\nfunction insertString(r, o, e, s) {\n var l = r.mask,\n u = r.maskChar,\n c = r.prefix,\n t = e.split(\"\"),\n h = isFilled(r, o);\n return !u && s > o.length && (o += l.slice(o.length, s)), t.every(function (e) {\n for (; i = e, isPermanentCharacter(r, a = s) && i !== l[a];) {\n if (s >= o.length && (o += l[s]), t = e, n = s, u && isPermanentCharacter(r, n) && t === u) return !0;\n if (++s >= l.length) return !1;\n }\n\n var t, n, a, i;\n return !isAllowedCharacter(r, s, e) && e !== u || (s < o.length ? o = u || h || s < c.length ? o.slice(0, s) + e + o.slice(s + 1) : (o = o.slice(0, s) + e + o.slice(s), formatValue(r, o)) : u || (o += e), ++s < l.length);\n }), o;\n}\n\nfunction getInsertStringLength(a, e, t, i) {\n var r = a.mask,\n o = a.maskChar,\n n = t.split(\"\"),\n s = i;\n return n.every(function (e) {\n for (; n = e, isPermanentCharacter(a, t = i) && n !== r[t];) {\n if (++i >= r.length) return !1;\n }\n\n var t, n;\n return (isAllowedCharacter(a, i, e) || e === o) && i++, i < r.length;\n }), i - s;\n}\n\nfunction getLeftEditablePosition(e, t) {\n for (var n = t; 0 <= n; --n) {\n if (!isPermanentCharacter(e, n)) return n;\n }\n\n return null;\n}\n\nfunction getRightEditablePosition(e, t) {\n for (var n = e.mask, a = t; a < n.length; ++a) {\n if (!isPermanentCharacter(e, a)) return a;\n }\n\n return null;\n}\n\nfunction getStringValue(e) {\n return e || 0 === e ? e + \"\" : \"\";\n}\n\nfunction processChange(e, t, n, a, i) {\n var r = e.mask,\n o = e.prefix,\n s = e.lastEditablePosition,\n l = t,\n u = \"\",\n c = 0,\n h = 0,\n f = Math.min(i.start, n.start);\n\n if (n.end > i.start ? h = (c = getInsertStringLength(e, a, u = l.slice(i.start, n.end), f)) ? i.length : 0 : l.length < a.length && (h = a.length - l.length), l = a, h) {\n if (1 === h && !i.length) f = i.start === n.start ? getRightEditablePosition(e, n.start) : getLeftEditablePosition(e, n.start);\n l = clearRange(e, l, f, h);\n }\n\n return l = insertString(e, l, u, f), (f += c) >= r.length ? f = r.length : f < o.length && !c ? f = o.length : f >= o.length && f < s && c && (f = getRightEditablePosition(e, f)), u || (u = null), {\n value: l = formatValue(e, l),\n enteredString: u,\n selection: {\n start: f,\n end: f\n }\n };\n}\n\nfunction isWindowsPhoneBrowser() {\n var e = new RegExp(\"windows\", \"i\"),\n t = new RegExp(\"phone\", \"i\"),\n n = navigator.userAgent;\n return e.test(n) && t.test(n);\n}\n\nfunction isFunction(e) {\n return \"function\" == typeof e;\n}\n\nfunction getRequestAnimationFrame() {\n return window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame;\n}\n\nfunction getCancelAnimationFrame() {\n return window.cancelAnimationFrame || window.webkitCancelRequestAnimationFrame || window.webkitCancelAnimationFrame || window.mozCancelAnimationFrame;\n}\n\nfunction defer(e) {\n return (!!getCancelAnimationFrame() ? getRequestAnimationFrame() : function () {\n return setTimeout(e, 1e3 / 60);\n })(e);\n}\n\nfunction cancelDefer(e) {\n (getCancelAnimationFrame() || clearTimeout)(e);\n}\n\nvar InputElement = function (c) {\n function e(e) {\n var f = c.call(this, e) || this;\n f.focused = !1, f.mounted = !1, f.previousSelection = null, f.selectionDeferId = null, f.saveSelectionLoopDeferId = null, f.saveSelectionLoop = function () {\n f.previousSelection = f.getSelection(), f.saveSelectionLoopDeferId = defer(f.saveSelectionLoop);\n }, f.runSaveSelectionLoop = function () {\n null === f.saveSelectionLoopDeferId && f.saveSelectionLoop();\n }, f.stopSaveSelectionLoop = function () {\n null !== f.saveSelectionLoopDeferId && (cancelDefer(f.saveSelectionLoopDeferId), f.saveSelectionLoopDeferId = null, f.previousSelection = null);\n }, f.getInputDOMNode = function () {\n if (!f.mounted) return null;\n var e = reactDom.findDOMNode(_assertThisInitialized(_assertThisInitialized(f))),\n t = \"undefined\" != typeof window && e instanceof window.Element;\n if (e && !t) return null;\n if (\"INPUT\" !== e.nodeName && (e = e.querySelector(\"input\")), !e) throw new Error(\"react-input-mask: inputComponent doesn't contain input node\");\n return e;\n }, f.getInputValue = function () {\n var e = f.getInputDOMNode();\n return e ? e.value : null;\n }, f.setInputValue = function (e) {\n var t = f.getInputDOMNode();\n t && (f.value = e, t.value = e);\n }, f.setCursorToEnd = function () {\n var e = getFilledLength(f.maskOptions, f.value),\n t = getRightEditablePosition(f.maskOptions, e);\n null !== t && f.setCursorPosition(t);\n }, f.setSelection = function (e, t, n) {\n void 0 === n && (n = {});\n var a = f.getInputDOMNode(),\n i = f.isFocused();\n a && i && (n.deferred || setInputSelection(a, e, t), null !== f.selectionDeferId && cancelDefer(f.selectionDeferId), f.selectionDeferId = defer(function () {\n f.selectionDeferId = null, setInputSelection(a, e, t);\n }), f.previousSelection = {\n start: e,\n end: t,\n length: Math.abs(t - e)\n });\n }, f.getSelection = function () {\n return getInputSelection(f.getInputDOMNode());\n }, f.getCursorPosition = function () {\n return f.getSelection().start;\n }, f.setCursorPosition = function (e) {\n f.setSelection(e, e);\n }, f.isFocused = function () {\n return f.focused;\n }, f.getBeforeMaskedValueChangeConfig = function () {\n var e = f.maskOptions,\n t = e.mask,\n n = e.maskChar,\n a = e.permanents,\n i = e.formatChars;\n return {\n mask: t,\n maskChar: n,\n permanents: a,\n alwaysShowMask: !!f.props.alwaysShowMask,\n formatChars: i\n };\n }, f.isInputAutofilled = function (e, t, n, a) {\n var i = f.getInputDOMNode();\n\n try {\n if (i.matches(\":-webkit-autofill\")) return !0;\n } catch (r) {}\n\n return !f.focused || a.end < n.length && t.end === e.length;\n }, f.onChange = function (e) {\n var t = _assertThisInitialized(_assertThisInitialized(f)).beforePasteState,\n n = _assertThisInitialized(_assertThisInitialized(f)).previousSelection,\n a = f.props.beforeMaskedValueChange,\n i = f.getInputValue(),\n r = f.value,\n o = f.getSelection();\n\n f.isInputAutofilled(i, o, r, n) && (r = formatValue(f.maskOptions, \"\"), n = {\n start: 0,\n end: 0,\n length: 0\n }), t && (n = t.selection, r = t.value, o = {\n start: n.start + i.length,\n end: n.start + i.length,\n length: 0\n }, i = r.slice(0, n.start) + i + r.slice(n.end), f.beforePasteState = null);\n var s = processChange(f.maskOptions, i, o, r, n),\n l = s.enteredString,\n u = s.selection,\n c = s.value;\n\n if (isFunction(a)) {\n var h = a({\n value: c,\n selection: u\n }, {\n value: r,\n selection: n\n }, l, f.getBeforeMaskedValueChangeConfig());\n c = h.value, u = h.selection;\n }\n\n f.setInputValue(c), isFunction(f.props.onChange) && f.props.onChange(e), f.isWindowsPhoneBrowser ? f.setSelection(u.start, u.end, {\n deferred: !0\n }) : f.setSelection(u.start, u.end);\n }, f.onFocus = function (e) {\n var t = f.props.beforeMaskedValueChange,\n n = f.maskOptions,\n a = n.mask,\n i = n.prefix;\n\n if (f.focused = !0, f.mounted = !0, a) {\n if (f.value) getFilledLength(f.maskOptions, f.value) < f.maskOptions.mask.length && f.setCursorToEnd();else {\n var r = formatValue(f.maskOptions, i),\n o = formatValue(f.maskOptions, r),\n s = getFilledLength(f.maskOptions, o),\n l = getRightEditablePosition(f.maskOptions, s),\n u = {\n start: l,\n end: l\n };\n\n if (isFunction(t)) {\n var c = t({\n value: o,\n selection: u\n }, {\n value: f.value,\n selection: null\n }, null, f.getBeforeMaskedValueChangeConfig());\n o = c.value, u = c.selection;\n }\n\n var h = o !== f.getInputValue();\n h && f.setInputValue(o), h && isFunction(f.props.onChange) && f.props.onChange(e), f.setSelection(u.start, u.end);\n }\n f.runSaveSelectionLoop();\n }\n\n isFunction(f.props.onFocus) && f.props.onFocus(e);\n }, f.onBlur = function (e) {\n var t = f.props.beforeMaskedValueChange,\n n = f.maskOptions.mask;\n\n if (f.stopSaveSelectionLoop(), f.focused = !1, n && !f.props.alwaysShowMask && isEmpty(f.maskOptions, f.value)) {\n var a = \"\";\n if (isFunction(t)) a = t({\n value: a,\n selection: null\n }, {\n value: f.value,\n selection: f.previousSelection\n }, null, f.getBeforeMaskedValueChangeConfig()).value;\n var i = a !== f.getInputValue();\n i && f.setInputValue(a), i && isFunction(f.props.onChange) && f.props.onChange(e);\n }\n\n isFunction(f.props.onBlur) && f.props.onBlur(e);\n }, f.onMouseDown = function (e) {\n if (!f.focused && document.addEventListener) {\n f.mouseDownX = e.clientX, f.mouseDownY = e.clientY, f.mouseDownTime = new Date().getTime();\n\n var r = function r(e) {\n if (document.removeEventListener(\"mouseup\", r), f.focused) {\n var t = Math.abs(e.clientX - f.mouseDownX),\n n = Math.abs(e.clientY - f.mouseDownY),\n a = Math.max(t, n),\n i = new Date().getTime() - f.mouseDownTime;\n (a <= 10 && i <= 200 || a <= 5 && i <= 300) && f.setCursorToEnd();\n }\n };\n\n document.addEventListener(\"mouseup\", r);\n }\n\n isFunction(f.props.onMouseDown) && f.props.onMouseDown(e);\n }, f.onPaste = function (e) {\n isFunction(f.props.onPaste) && f.props.onPaste(e), e.defaultPrevented || (f.beforePasteState = {\n value: f.getInputValue(),\n selection: f.getSelection()\n }, f.setInputValue(\"\"));\n }, f.handleRef = function (e) {\n null == f.props.children && isFunction(f.props.inputRef) && f.props.inputRef(e);\n };\n var t = e.mask,\n n = e.maskChar,\n a = e.formatChars,\n i = e.alwaysShowMask,\n r = e.beforeMaskedValueChange,\n o = e.defaultValue,\n s = e.value;\n f.maskOptions = parseMask(t, n, a), null == o && (o = \"\"), null == s && (s = o);\n var l = getStringValue(s);\n\n if (f.maskOptions.mask && (i || l) && (l = formatValue(f.maskOptions, l), isFunction(r))) {\n var u = e.value;\n null == e.value && (u = o), l = r({\n value: l,\n selection: null\n }, {\n value: u = getStringValue(u),\n selection: null\n }, null, f.getBeforeMaskedValueChangeConfig()).value;\n }\n\n return f.value = l, f;\n }\n\n _inheritsLoose(e, c);\n\n var t = e.prototype;\n return t.componentDidMount = function () {\n this.mounted = !0, this.getInputDOMNode() && (this.isWindowsPhoneBrowser = isWindowsPhoneBrowser(), this.maskOptions.mask && this.getInputValue() !== this.value && this.setInputValue(this.value));\n }, t.componentDidUpdate = function () {\n var e = this.previousSelection,\n t = this.props,\n n = t.beforeMaskedValueChange,\n a = t.alwaysShowMask,\n i = t.mask,\n r = t.maskChar,\n o = t.formatChars,\n s = this.maskOptions,\n l = a || this.isFocused(),\n u = null != this.props.value,\n c = u ? getStringValue(this.props.value) : this.value,\n h = e ? e.start : null;\n\n if (this.maskOptions = parseMask(i, r, o), this.maskOptions.mask) {\n !s.mask && this.isFocused() && this.runSaveSelectionLoop();\n var f = this.maskOptions.mask && this.maskOptions.mask !== s.mask;\n\n if (s.mask || u || (c = this.getInputValue()), (f || this.maskOptions.mask && (c || l)) && (c = formatValue(this.maskOptions, c)), f) {\n var p = getFilledLength(this.maskOptions, c);\n (null === h || p < h) && (h = isFilled(this.maskOptions, c) ? p : getRightEditablePosition(this.maskOptions, p));\n }\n\n !this.maskOptions.mask || !isEmpty(this.maskOptions, c) || l || u && this.props.value || (c = \"\");\n var d = {\n start: h,\n end: h\n };\n\n if (isFunction(n)) {\n var m = n({\n value: c,\n selection: d\n }, {\n value: this.value,\n selection: this.previousSelection\n }, null, this.getBeforeMaskedValueChangeConfig());\n c = m.value, d = m.selection;\n }\n\n this.value = c;\n var g = this.getInputValue() !== this.value;\n g ? (this.setInputValue(this.value), this.forceUpdate()) : f && this.forceUpdate();\n var v = !1;\n null != d.start && null != d.end && (v = !e || e.start !== d.start || e.end !== d.end), (v || g) && this.setSelection(d.start, d.end);\n } else s.mask && (this.stopSaveSelectionLoop(), this.forceUpdate());\n }, t.componentWillUnmount = function () {\n this.mounted = !1, null !== this.selectionDeferId && cancelDefer(this.selectionDeferId), this.stopSaveSelectionLoop();\n }, t.render = function () {\n var t,\n e = this.props,\n n = (e.mask, e.alwaysShowMask, e.maskChar, e.formatChars, e.inputRef, e.beforeMaskedValueChange, e.children),\n a = _objectWithoutPropertiesLoose(e, [\"mask\", \"alwaysShowMask\", \"maskChar\", \"formatChars\", \"inputRef\", \"beforeMaskedValueChange\", \"children\"]);\n\n if (n) {\n isFunction(n) || invariant_1(!1);\n\n var i = [\"onChange\", \"onPaste\", \"onMouseDown\", \"onFocus\", \"onBlur\", \"value\", \"disabled\", \"readOnly\"],\n r = _extends({}, a);\n\n i.forEach(function (e) {\n return delete r[e];\n }), t = n(r), i.filter(function (e) {\n return null != t.props[e] && t.props[e] !== a[e];\n }).length && invariant_1(!1);\n } else t = React.createElement(\"input\", _extends({\n ref: this.handleRef\n }, a));\n\n var o = {\n onFocus: this.onFocus,\n onBlur: this.onBlur\n };\n return this.maskOptions.mask && (a.disabled || a.readOnly || (o.onChange = this.onChange, o.onPaste = this.onPaste, o.onMouseDown = this.onMouseDown), null != a.value && (o.value = this.value)), t = React.cloneElement(t, o);\n }, e;\n}(React.Component);\n\nmodule.exports = InputElement;","import univadmin from \"../../apis/univadmin\";\nimport { showError } from \"../index\";\n\nexport const getUserDetails = fmobileno => {\n return async (dispatch, getState) => {\n const state = getState();\n dispatch({\n type: \"SET_LOADER\"\n });\n\n const response = await univadmin.get(\"/app.php\", {\n params: {\n a: \"getUserDetails\",\n univcode: state.univ.funivcode,\n fmobileno: fmobileno,\n fusertype: state.user.fusertype,\n fcurtype: state.user.fcurtype\n }\n });\n dispatch({\n type: \"UNSET_LOADER\"\n });\n // console.log(\"RESSS\", response);\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 dispatch({\n type: \"NEW_USER_DETAILS\",\n payload: fmobileno\n });\n } else if (response.data.error_code === 1) {\n const error = { header: \"Error\", content: response.data.data.msg };\n dispatch(showError(error));\n } else {\n dispatch({\n type: \"USER_DETAILS\",\n payload: response.data\n });\n }\n };\n};\n\nexport const changeUserDetails = (name, value) => {\n return {\n type: \"CHANGE_USER_DETAILS\",\n payload: { name, value }\n };\n};\n\nexport const getUserType = type => {\n return async (dispatch, getState) => {\n const state = getState();\n const response = await univadmin.get(\"/app.php\", {\n params: {\n a: \"getUserType\",\n type: type,\n univcode: state.univ.funivcode\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 dispatch({\n type: \"USER_TYPE_LIST\",\n payload: response.data\n });\n }\n };\n};\n\nexport const saveUserDetails = () => {\n return async (dispatch, getState) => {\n const state = getState();\n const response = await univadmin.post(\"/app.php?a=saveUserDetails\", {\n data: state.userDetails\n });\n // console.log(\"response\", response);\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 const success = { header: \"Success\", content: response.data.data.msg };\n dispatch(showError(success));\n }\n };\n};\n\nexport const saveusertypes = () => {\n return async (dispatch, getState) => {\n const state = getState();\n dispatch({\n type: \"SET_LOADER\"\n });\n const response = await univadmin.post(\"/app.php?a=saveUserTypeList\", {\n data: state.userTypeList\n });\n\n dispatch({\n type: \"UNSET_LOADER\"\n });\n if (typeof response.data !== \"object\") {\n const error = { header: \"Error\", content: \"Something went wrong\" };\n dispatch(showError(error));\n } else if (response.data.error_code === -1) {\n const error = { header: \"Error\", content: response.data.data.msg };\n dispatch(showError(error));\n } else {\n const success = { header: \"Success\", content: response.data.data.msg };\n dispatch(showError(success));\n }\n };\n};\n"],"sourceRoot":""}
|