Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Your IP : 18.119.19.206
{"version":3,"sources":["pages/before-exam/IAReports/iaPendingReport.js","../node_modules/react-input-mask/index.js","../node_modules/react-input-mask/lib/react-input-mask.production.min.js"],"names":["IaPendingReport","state","frmSubmit","rftype","fcolfrom","fcolto","fdegfrom","fdegto","fdeggrpfrom","fdeggrpto","reportType","handleChange","e","data","name","value","toUpperCase","type","_this","setState","Object","_Users_prashanth_univadmin_react_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_0__","handleReport","_this$props$user","props","user","fcuruniv","fdeggrp","_this$state","window","open","ReportAPI","handleChangedate","target","handleCancel","reportFormat","frmDeggrp","componentDidMount","_this$props$user2","handleFromChange","renderHeader","react__WEBPACK_IMPORTED_MODULE_6___default","a","createElement","semantic_ui_react__WEBPACK_IMPORTED_MODULE_8__","Header","style","display","className","semantic_ui_react__WEBPACK_IMPORTED_MODULE_9__","basic","color","onClick","content","icon","react_router_dom__WEBPACK_IMPORTED_MODULE_7__","to","_this$state2","this","tcodefrom","tcodeto","vdatefrom","vdateto","wheight","wHeight","console","log","fluid","Content","semantic_ui_react__WEBPACK_IMPORTED_MODULE_10__","Description","overflowY","height","concat","semantic_ui_react__WEBPACK_IMPORTED_MODULE_11__","Field","semantic_ui_react__WEBPACK_IMPORTED_MODULE_12__","placeholder","selection","search","options","text","onChange","Group","Input","width","onBlur","maxLength","label","marginTop","Component","connect","data2","allworkDOneReport","showError","module","exports","__webpack_require__","React","reactDom","_extends","assign","t","arguments","length","n","prototype","hasOwnProperty","call","apply","_inheritsLoose","create","getOwnPropertyNames","i","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","map","join","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","onMouseDown","addEventListener","mouseDownX","clientX","mouseDownY","clientY","mouseDownTime","Date","getTime","removeEventListener","onPaste","defaultPrevented","handleRef","children","inputRef","defaultValue","navigator","userAgent","componentDidUpdate","p","d","m","g","forceUpdate","v","componentWillUnmount","render","keys","_objectWithoutPropertiesLoose","filter","ref","disabled","readOnly","cloneElement"],"mappings":"kRAkBMA,qNACFC,MAAQ,CACJC,WAAW,EACXC,OAAQ,MACRC,SAAU,IACVC,OAAQ,OACRC,SAAU,IACVC,OAAQ,OACRC,YAAa,GACbC,UAAW,GACXC,WAAY,eAGhBC,aAAe,SAACC,EAAGC,GAGf,OAFiB,cAAbA,EAAKC,OACLD,EAAKE,MAAQF,EAAKE,MAAMC,eACpBH,EAAKI,MACT,IAAK,OACDC,EAAKC,SAALC,OAAAC,EAAA,EAAAD,CA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A,SACA,IAAA6F,EACA/D,EACAuE,EAAA,GACAC,EAAA9F,OAAAgP,KAAAxP,GAEA,IAAA8B,EAAA,EAAaA,EAAAwE,EAAAV,OAAc9D,IAC3B+D,EAAAS,EAAAxE,GAAA,GAAA4D,EAAAqD,QAAAlD,KAAAQ,EAAAR,GAAA7F,EAAA6F,IAGA,OAAAQ,EAmhBAoJ,CAAAzP,EAAA,oGAEA,GAAA6F,EAAA,CACA8E,EAAA9E,IAAAkB,GAAA,GAEA,IAAAV,EAAA,sFACAC,EAAAd,EAAA,GAAyB1D,GAEzBuE,EAAAuC,QAAA,SAAA5I,GACA,cAAAsG,EAAAtG,KACO0F,EAAAG,EAAAS,GAAAD,EAAAqJ,OAAA,SAAA1P,GACP,aAAA0F,EAAA9E,MAAAZ,IAAA0F,EAAA9E,MAAAZ,KAAA8B,EAAA9B,KACO4F,QAAAmB,GAAA,QACFrB,EAAAJ,EAAAvD,cAAA,QAAAyD,EAAA,CACLmK,IAAA7M,KAAA2L,WACK3M,IAEL,IAAAkF,EAAA,CACA4G,QAAA9K,KAAA8K,QACAlJ,OAAA5B,KAAA4B,QAEA,OAAA5B,KAAA4J,YAAAnE,OAAAzG,EAAA8N,UAAA9N,EAAA+N,WAAA7I,EAAA1C,SAAAxB,KAAAwB,SAAA0C,EAAAuH,QAAAzL,KAAAyL,QAAAvH,EAAA6G,YAAA/K,KAAA+K,aAAA,MAAA/L,EAAA3B,QAAA6G,EAAA7G,MAAA2C,KAAA3C,QAAAuF,EAAAJ,EAAAwK,aAAApK,EAAAsB,IACGhH,EA5RH,CA6RCsF,EAAAR,WAEDK,EAAAC,QAAAoG","file":"static/js/128.b5c0fd03.chunk.js","sourcesContent":["import React, { Component } from \"react\";\nimport { Link } from \"react-router-dom\";\nimport {\n Card,\n Button,\n Form,\n Dropdown,\n Divider,\n Radio,\n Table\n} from \"semantic-ui-react\";\nimport { connect } from \"react-redux\";\nimport { ReportAPI } from \"../../../apis/consts\";\nimport { showError } from \"../../../actions\";\nimport InputMask from \"react-input-mask\";\nimport { wHeight } from \"../../parms\";\nimport moment from \"moment\";\n//import { getWorkDone } from \"../actions/after-exam/workdonereport\";\nclass IaPendingReport extends Component {\n state = {\n frmSubmit: false,\n rftype: \"PDF\",\n fcolfrom: \"0\",\n fcolto: \"ZZZZ\",\n fdegfrom: \"0\",\n fdegto: \"ZZZZ\",\n fdeggrpfrom: \"\",\n fdeggrpto: \"\",\n reportType: \"Regnowise\",\n };\n\n handleChange = (e, data) => {\n if (data.name != \"reportType\")\n data.value = data.value.toUpperCase();\n switch (data.type) {\n case \"text\":\n this.setState({ [data.name]: data.value });\n default:\n this.setState({ [data.name]: data.value });\n }\n this.setState({ frmSubmit: false });\n };\n\n\n\n handleReport = () => {\n const { fdeggrp, fcuruniv } = this.props.user;\n const {\n reportType,\n rftype,\n fcolfrom,\n fcolto,\n fdegfrom,\n fdegto,\n fdeggrpfrom,\n fdeggrpto,\n\n } = this.state;\n\n\n\n\n reportType == \"Regnowise\" ?\n window.open(\n ReportAPI +\n \"iaPendingReportRegNoWise\" +\n \"&univcode=\" +\n fcuruniv +\n \"&fdeggrpfrom=\" +\n fdeggrpfrom +\n \"&fdeggrpto=\" +\n fdeggrpto +\n \"&rftype=\" +\n rftype +\n \"&fcolfrom=\" +\n fcolfrom +\n \"&fcolto=\" +\n fcolto +\n \"&fdegfrom=\" +\n fdegfrom +\n \"&fdegto=\" +\n fdegto,\n \"_blank\"\n ) : window.open(\n ReportAPI +\n \"IAPendingDetails\" +\n \"&univcode=\" +\n fcuruniv +\n \"&fdeggrpfrom=\" +\n fdeggrpfrom +\n \"&fdeggrpto=\" +\n fdeggrpto +\n\n \"&fcollfrom=\" +\n fcolfrom +\n \"&fcollto=\" +\n fcolto +\n \"&fdegfrom=\" +\n fdegfrom +\n \"&fdegto=\" +\n fdegto,\n \"_blank\"\n )\n }\n\n handleChangedate = e => {\n this.setState({ [e.target.name]: e.target.value });\n };\n\n handleCancel = () => {\n this.setState({\n reportType: \"\",\n reportFormat: \"\",\n frmDeggrp: \"\"\n });\n };\n\n componentDidMount = () => {\n const { fdeggrp, fcuruniv } = this.props.user;\n this.setState({ fdeggrpfrom: fdeggrp, fdeggrpto: fdeggrp });\n\n }\n\n\n handleFromChange = (e, data) => {\n // console.log(\"value\", e.target.name, e.target.value);\n let name = e.target.name;\n let value = e.target.value;\n if (name == \"fdegfrom\" || name == \"fcolfrom\" || name == \"fdeggrpfrom\") {\n if (name == \"fdegfrom\")\n value == \"0\" ? this.setState({ fdegto: \"ZZZZ\" }) : this.setState({ fdegto: value })\n if (name == \"fcolfrom\")\n value == \"0\" ? this.setState({ fcolto: \"ZZZZ\" }) : this.setState({ fcolto: value })\n if (name == \"fdeggrpfrom\")\n value == \"0\" ? this.setState({ fdeggrpto: \"ZZZZ\" }) : this.setState({ fdeggrpto: value })\n\n }\n\n\n }\n\n renderHeader = () => {\n return (\n <Card.Header style={{ display: \"flex\" }}>\n <h3>IA Marks Pending Report</h3>\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 );\n };\n\n render() {\n const {\n frmSubmit,\n reportType,\n rftype,\n tcodefrom,\n tcodeto,\n vdatefrom,\n vdateto,\n fcolfrom,\n fcolto,\n fdegfrom,\n fdegto,\n fdeggrpfrom,\n fdeggrpto,\n } = this.state;\n\n\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 wheight = wHeight();\n console.log(reportType, frmSubmit);\n\n const reporttypeOptions = [\n { value: \"Regnowise\", text: \"IA Pending Report (Regnowise)\" },\n { value: \"Detail\", text: \"IA Pending Report (Detail)\" }\n\n ];\n\n return (\n <div className=\"animated fadeIn\">\n <Card fluid>\n <Card.Content>\n {this.renderHeader()}\n <Divider />\n <Card.Description\n style={{ overflowY: \"auto\", height: `${wheight}px` }}\n >\n <div className=\"col-md-6\">\n <Form>\n\n <Form.Field>\n <label>Report Type</label>\n <Dropdown\n placeholder=\"Select Report Type\"\n name=\"reportType\"\n value={reportType}\n selection\n search\n options={reporttypeOptions}\n onChange={this.handleChange}\n />\n </Form.Field>\n <Form.Group>\n <Form.Input\n placeholder=\"From\"\n value={fdeggrpfrom}\n width={8}\n name=\"fdeggrpfrom\"\n onChange={this.handleChange}\n onBlur={this.handleFromChange}\n\n maxLength=\"5\"\n label=\"Degree Group Range\"\n />\n <Form.Input\n placeholder=\"To\"\n name=\"fdeggrpto\"\n value={fdeggrpto}\n width={8}\n onChange={this.handleChange}\n maxLength=\"5\"\n style={{ marginTop: \"1.6em\" }}\n />\n </Form.Group>\n\n <Form.Group>\n <Form.Input\n placeholder=\"From\"\n value={fcolfrom}\n width={8}\n name=\"fcolfrom\"\n onChange={this.handleChange}\n onBlur={this.handleFromChange}\n\n maxLength=\"5\"\n label=\"College Range\"\n />\n <Form.Input\n placeholder=\"To\"\n name=\"fcolto\"\n value={fcolto}\n width={8}\n onChange={this.handleChange}\n maxLength=\"5\"\n style={{ marginTop: \"1.6em\" }}\n />\n </Form.Group>\n <Form.Group>\n <Form.Input\n placeholder=\"From\"\n value={fdegfrom}\n width={8}\n name=\"fdegfrom\"\n onChange={this.handleChange}\n onBlur={this.handleFromChange}\n\n maxLength=\"5\"\n label=\"Degree Range\"\n />\n <Form.Input\n placeholder=\"To\"\n name=\"fdegto\"\n value={fdegto}\n width={8}\n onChange={this.handleChange}\n maxLength=\"5\"\n style={{ marginTop: \"1.6em\" }}\n />\n </Form.Group>\n\n\n\n\n\n\n </Form>\n </div>\n\n </Card.Description>\n </Card.Content>\n </Card>\n </div>\n );\n }\n}\n\nconst mapStateToProps = state => {\n return {\n user: state.user,\n data2: state.allworkDOneReport\n };\n};\nexport default connect(\n mapStateToProps,\n {\n showError,\n\n }\n)(IaPendingReport);\n","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;"],"sourceRoot":""}
|