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.139.93.168
{"version":3,"sources":["pages/utils/CreateUser/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":["CreateUser","state","fdob","shwDet","fmobileno","sendSms","handleSubmit","_callee","error","_Users_prashanth_univadmin_react_node_modules_babel_preset_react_app_node_modules_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_1___default","a","wrap","_context","prev","next","header","content","_this","length","props","showError","t0","sent","getUserDetails","getUserType","fetchUnivs","setState","disabled","userDetails","fname","alert","stop","handleChangedate","_callee2","e","_context2","target","value","changeUserDetails","handleChange","_callee3","_ref3","name","_context3","Object","_Users_prashanth_univadmin_react_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__","handleMultiple","_ref5","str","map","el","i","concat","changeCheckBox","handleCreate","_callee4","data","_context4","femail","priusertype","saveUserDetails","handleCancel","userTypeList","this","user","userTypeOpt","filter","FUSERTYPE","fcurtype","key","text","FTYPEDESC","AdditionalUTOpt","addiusertype","split","undefined","wheight","wHeight","univsOpt","univs","funivcode","funivname","react__WEBPACK_IMPORTED_MODULE_8___default","createElement","Fragment","semantic_ui_react__WEBPACK_IMPORTED_MODULE_9__","fluid","Content","Header","style","display","semantic_ui_react__WEBPACK_IMPORTED_MODULE_10__","as","className","semantic_ui_react__WEBPACK_IMPORTED_MODULE_11__","basic","color","onClick","icon","react_router_dom__WEBPACK_IMPORTED_MODULE_16__","to","semantic_ui_react__WEBPACK_IMPORTED_MODULE_12__","Description","overflowY","height","width","semantic_ui_react__WEBPACK_IMPORTED_MODULE_13__","Field","Input","id","label","placeholder","readOnly","onChange","Group","type","react_input_mask__WEBPACK_IMPORTED_MODULE_15___default","mask","formatChars","n","m","d","z","y","maxLength","minLength","inline","Radio","checked","fsex","factive","semantic_ui_react__WEBPACK_IMPORTED_MODULE_14__","search","selection","options","multiple","tabindex","class","Component","connect","_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__","__webpack_require__","_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default","classnames__WEBPACK_IMPORTED_MODULE_1__","classnames__WEBPACK_IMPORTED_MODULE_1___default","react__WEBPACK_IMPORTED_MODULE_2__","react__WEBPACK_IMPORTED_MODULE_2___default","_lib__WEBPACK_IMPORTED_MODULE_3__","_lib__WEBPACK_IMPORTED_MODULE_4__","_lib__WEBPACK_IMPORTED_MODULE_5__","_lib__WEBPACK_IMPORTED_MODULE_6__","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","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","prefix","lastEditablePosition","permanents","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","join","max","splice","clearRange","enteredString","isFunction","getCancelAnimationFrame","window","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","g","forceUpdate","v","componentWillUnmount","render","keys","_objectWithoutPropertiesLoose","ref","cloneElement","_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","_error","univadmin","get","params","univcode","univ","fusertype","error_code","payload","msg","_x","_x2","_ref2","_error2","_x3","_x4","_error3","success","post","_x5","_x6","saveusertypes","_ref4","_error4","_x7","_x8"],"mappings":"6TAsBMA,6MACJC,MAAQ,CACNC,KAAM,GACNC,QAAQ,EACRC,UAAW,GACXC,SAAS,KAGXC,kCAAe,SAAAC,IAAA,IAAAC,EAAA,OAAAC,EAAAC,EAAAC,KAAA,SAAAC,GAAA,cAAAA,EAAAC,KAAAD,EAAAE,MAAA,UACTN,EAAQ,CACVO,OAAQ,QACRC,QAAS,mCAITC,EAAKhB,MAAMG,UAAUc,OAAS,IAPnB,CAAAN,EAAAE,KAAA,eAAAF,EAAAE,KAAA,EAQDG,EAAKE,MAAMC,UAAUZ,GARpB,OAAAI,EAAAS,GAAAT,EAAAU,KAAAV,EAAAE,KAAA,uBAAAF,EAAAE,KAAA,EASAG,EAAKE,MAAMI,eAAeN,EAAKhB,MAAMG,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AEqB,kBAAlB0N,EAASrR,MACZhD,EAAQ,CAAEO,OAAQ,QAASC,QAAS,wBAC1C2T,EAASvT,YAAUZ,MACoB,IAA9BqU,EAASrR,KAAK6R,YACjB7U,EAAQ,CAAEO,OAAQ,QAASC,QAAS6T,EAASrR,KAAKA,KAAK+R,KAC7DZ,EAASvT,YAAUZ,MAEbuV,EAAU,CAAEhV,OAAQ,UAAWC,QAAS6T,EAASrR,KAAKA,KAAK+R,KACjEZ,EAASvT,YAAU2U,KApBhB,wBAAAtS,EAAA1B,SAAAwB,MAAP,gBAAA+S,EAAAC,GAAA,OAAAH,EAAAlL,MAAAnH,KAAA+G,YAAA","file":"static/js/48.eefa878e.chunk.js","sourcesContent":["import React, { Component } from \"react\";\nimport {\n Form,\n Card,\n Header,\n Button,\n Dropdown,\n Divider,\n} from \"semantic-ui-react\";\nimport InputMask from \"react-input-mask\";\nimport { Link } from \"react-router-dom\";\nimport {\n getUserType,\n getUserDetails,\n changeUserDetails,\n saveUserDetails,\n} from \"../../../actions/utils/createUser\";\nimport { fetchUnivs } from \"../../../actions\";\nimport { connect } from \"react-redux\";\nimport { showError } from \"../../../actions\";\nimport { wHeight } from \"../../parms\";\n\nclass CreateUser extends Component {\n state = {\n fdob: \"\",\n shwDet: false,\n fmobileno: \"\",\n sendSms: false,\n };\n\n handleSubmit = async () => {\n let error = {\n header: \"Error\",\n content: \"Please enter valid Mobile No.\",\n };\n\n const a =\n this.state.fmobileno.length < 10\n ? await this.props.showError(error)\n : (await this.props.getUserDetails(this.state.fmobileno),\n await this.props.getUserType(\"CreateUser\"),\n await this.props.fetchUnivs(),\n this.setState({ disabled: true }),\n this.props.userDetails != \"\"\n ? this.setState({ shwDet: true })\n : this.props.userDetails.fname == \"\"\n ? alert(this.props.userDetails.fname)\n : this.setState({ shwDet: false }));\n };\n\n handleChangedate = async (e) => {\n this.setState({ fdob: e.target.value }, () =>\n this.props.changeUserDetails(\"fdob\", this.state.fdob)\n );\n };\n\n handleChange = async (e, { name, value }) => {\n name == \"fmobileno\"\n ? this.setState({ [name]: value })\n : this.props.changeUserDetails(name, value);\n };\n\n handleMultiple = (e, { name, value }) => {\n var str = \"\";\n value.map((el, i) =>\n i < value.length && el != \"\" ? (str = `${el}*${str}`) : null\n );\n this.props.changeUserDetails(name, str);\n };\n\n changeCheckBox = () => {\n this.state.sendSms\n ? this.setState({ sendSms: false })\n : this.setState({ sendSms: true });\n };\n\n handleCreate = async () => {\n const data = this.props.userDetails;\n var error;\n if (!this.state.shwDet) {\n error = {\n header: \"Error\",\n content: \"No Details to Update.\",\n };\n }\n if (data.fname == \"\") {\n error = {\n header: \"Error\",\n content: \"Please enter Degree Despcription.\",\n };\n }\n if (data.fmobileno == \"\" || data.femail == \"\") {\n error = {\n header: \"Error\",\n content: \"Contact Number or Email cannot be empty.\",\n };\n }\n if (data.priusertype == \"\") {\n error = {\n header: \"Error\",\n content: \"Please enter Primary User Type.\",\n };\n }\n //console.log(\"ataaaa\", error);\n // return (\n // error != \"\" || typeof error != \"undefined\"\n // ? await this.props.showError(error)\n // : await this.props.saveUserDetails(),\n // this.setState({ shwDet: false })\n // );\n\n if (typeof error == \"undefined\") {\n await this.props.saveUserDetails(this.state.sendSms);\n this.setState({ shwDet: false });\n } else {\n await this.props.showError(error);\n }\n };\n\n handleCancel = () => {\n this.setState({ shwDet: false, disabled: false, fmobileno: \"\" });\n }; //9738122862\n\n render() {\n const formatChars = {\n n: \"[0-1]\",\n m: \"[0-9]\",\n e: \"[0-3]\",\n d: \"[0-9]\",\n z: \"[1-2]\",\n y: \"[0-9]\",\n };\n const userTypeList = this.props.userTypeList;\n const userDetails = this.props.userDetails;\n const user = this.props.user;\n\n const userTypeOpt = userTypeList\n .filter((el, i) => {\n return el.FUSERTYPE > user.fcurtype;\n })\n .map((el, i) => {\n return {\n key: i,\n value: el.FUSERTYPE,\n text: `${el.FUSERTYPE} - ${el.FTYPEDESC}`,\n };\n });\n\n const AdditionalUTOpt = userTypeList\n .filter((el, i) => {\n return (\n el.FUSERTYPE != userDetails.priusertype &&\n el.FUSERTYPE > user.fcurtype\n );\n })\n .map((el, i) => {\n return {\n key: i,\n value: el.FUSERTYPE,\n text: `${el.FUSERTYPE} - ${el.FTYPEDESC}`,\n };\n });\n if (userDetails.addiusertype != null) {\n var str = userDetails.addiusertype;\n var addiusertype = str.split(\"*\");\n }\n\n addiusertype = addiusertype == undefined ? [] : addiusertype;\n const wheight = wHeight();\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 return (\n <>\n <Card fluid>\n <Card.Content>\n <Card.Header style={{ display: \"flex\" }}>\n <Header as=\"h3\">Create User</Header>\n <div className=\"ml-auto\">\n <Button\n basic\n color=\"blue\"\n content=\"Create / Update\"\n onClick={this.handleCreate}\n icon=\"upload\"\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\n style={{\n overflowY: \"auto\",\n height: `${wheight}px`,\n width: \"100%\",\n }}\n >\n <Form>\n <Form.Field width={4}>\n <Form.Input\n id=\"fmobileno\"\n label=\"Enter Contact No.\"\n placeholder=\"Contact No.\"\n name=\"fmobileno\"\n value={this.state.fmobileno}\n readOnly={this.state.disabled}\n onChange={this.handleChange}\n />\n </Form.Field>\n <Button\n content=\"Submit\"\n color=\"blue\"\n onClick={this.handleSubmit}\n />\n </Form>\n <Divider />\n {this.state.shwDet && (\n <Form>\n <Form.Group>\n <Form.Field width={8}>\n <Form.Input\n type=\"text\"\n placeholder=\"Name\"\n label=\"User Name\"\n name=\"fname\"\n value={userDetails.fname}\n onChange={this.handleChange}\n />\n </Form.Field>\n <Form.Field width={2}>\n <label>Date of Birth</label>\n <InputMask\n type=\"text\"\n placeholder=\"DOB\"\n name=\"fdob\"\n mask=\"ed/nm/zyyy\"\n formatChars={formatChars}\n value={userDetails.fdob}\n onChange={this.handleChangedate}\n />\n </Form.Field>\n </Form.Group>\n <Form.Group>\n <Form.Field width={4}>\n <Form.Input\n id=\"fmobileno\"\n name=\"fmobileno\"\n maxLength=\"10\"\n minLength=\"10\"\n value={userDetails.fmobileno}\n onChange={this.handleChange}\n label=\"Contact No.\"\n placeholder=\"Contact No.\"\n readOnly\n />\n </Form.Field>\n <Form.Field width={6}>\n <Form.Input\n id=\"femail\"\n name=\"femail\"\n value={userDetails.femail}\n onChange={this.handleChange}\n label=\"Email ID\"\n placeholder=\"abc@xyz.com\"\n />\n </Form.Field>\n </Form.Group>\n\n <Form.Group inline width={4}>\n <label>Gender</label>\n <Form.Radio\n label=\"Male\"\n value=\"M\"\n name=\"fsex\"\n onChange={this.handleChange}\n checked={userDetails.fsex == \"M\"}\n />\n <Form.Radio\n label=\"Female\"\n value=\"F\"\n name=\"fsex\"\n checked={userDetails.fsex == \"F\"}\n onChange={this.handleChange}\n />\n\n <label>Active Status</label>\n <Form.Radio\n label=\"Active\"\n value=\"T\"\n name=\"factive\"\n onChange={this.handleChange}\n checked={userDetails.factive == \"T\"}\n />\n <Form.Radio\n label=\"Inactive\"\n value=\"F\"\n name=\"factive\"\n checked={userDetails.factive == \"F\"}\n onChange={this.handleChange}\n />\n </Form.Group>\n <Form.Field width={10}>\n <label>Select University</label>\n <Dropdown\n placeholder=\"Universities\"\n search\n selection\n // multiple\n id=\"funivcode\"\n name=\"funivcode\"\n value={userDetails.funivcode}\n onChange={this.handleChange}\n options={univsOpt}\n />\n </Form.Field>\n <Form.Field width={10}>\n <label>Primary User Type</label>\n <Dropdown\n placeholder=\"Primary User Type\"\n search\n selection\n id=\"priusertype\"\n name=\"priusertype\"\n value={userDetails.priusertype}\n options={userTypeOpt}\n onChange={this.handleChange}\n />\n </Form.Field>\n <Form.Field width={10}>\n <label>Additional User Type</label>\n <Dropdown\n placeholder=\"Additional User Type\"\n search\n selection\n multiple\n id=\"addiusertype\"\n name=\"addiusertype\"\n value={addiusertype}\n onChange={this.handleMultiple}\n options={AdditionalUTOpt}\n />\n </Form.Field>\n\n <Form.Field width={10}>\n <label>Send login credentials to this user by SMS. </label>\n\n <input\n type=\"checkbox\"\n checked={this.state.sendSms}\n onClick={this.changeCheckBox}\n tabindex=\"0\"\n class=\"hidden\"\n />\n </Form.Field>\n {/* <Form.Field width={10}>\n <Form.Input\n type=\"text\"\n id=\"fpasswd\"\n name=\"fpasswd\"\n value={userDetails.fpasswd}\n onChange={this.handleChange}\n label=\"Default Password\"\n placeholder=\"Password\"\n />\n </Form.Field> */}\n </Form>\n )}\n </Card.Description>\n </Card.Content>\n </Card>\n </>\n );\n }\n}\n\nconst mapStateToProps = (state) => {\n return {\n userTypeList: state.userTypeList,\n userDetails: state.userDetails,\n user: state.user,\n univs: state.univs,\n };\n};\nexport default connect(mapStateToProps, {\n fetchUnivs,\n getUserType,\n getUserDetails,\n changeUserDetails,\n saveUserDetails,\n showError,\n})(CreateUser);\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":""}
|