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.118.252.215
{"version":3,"sources":["pages/onlineservices/verifyapprpt.js","../node_modules/react-input-mask/index.js","../node_modules/react-input-mask/lib/react-input-mask.production.min.js"],"names":["_regeneratorRuntime","e","t","r","Object","prototype","n","hasOwnProperty","o","defineProperty","value","i","Symbol","a","iterator","c","asyncIterator","u","toStringTag","define","enumerable","configurable","writable","wrap","Generator","create","Context","makeInvokeMethod","tryCatch","type","arg","call","h","l","f","s","y","GeneratorFunction","GeneratorFunctionPrototype","p","this","d","getPrototypeOf","v","values","g","defineIteratorMethods","forEach","_invoke","AsyncIterator","invoke","resolve","__await","then","callInvokeWithMethodAndArg","Error","done","method","delegate","maybeInvokeDelegate","sent","_sent","dispatchException","abrupt","return","TypeError","resultName","next","nextLoc","pushTryEntry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","push","resetTryEntry","completion","reset","isNaN","length","displayName","isGeneratorFunction","constructor","name","mark","setPrototypeOf","__proto__","awrap","async","Promise","keys","reverse","pop","prev","charAt","slice","stop","rval","handle","complete","finish","catch","delegateYield","connect","state","user","univ","props","_useState","useState","_useState2","_slicedToArray","serveType","setserveType","_useState3","moment","subtract","format","_useState4","datefrom","setdatefrom","_useState5","_useState6","dateto","setdateto","_useState7","_useState8","regto","setregto","_useState9","_useState10","regfrom","setregfrom","_useState11","_useState12","settable","_useState13","_useState14","_useState15","_useState16","setservetp","_useState17","_useState18","fstatus","setfstatus","_useState19","_useState20","degfrom","setdegfrom","_useState21","_useState22","degto","setdegto","_useContext","useContext","AppContext","err_msg","_err_msg","load","error","dispatch_err","_useState23","_useState24","certprint","setcertprint","_useState25","_useState26","servtype_options","setservtype_options","_React$useState","React","_React$useState2","useEffect","_initfn","_asyncToGenerator","_callee","_context","apply","arguments","initfn","getservtp","_ref","_callee2","response","_error","x","_error2","_context2","univadmin","get","params","univcode","fcuruniv","data","header","content","showError","error_code","map","el","fservcode","text","fservname","msg","formatChars","m","z","handlecancel","_ref2","_callee3","_context3","createElement","Fragment","Modal","size","open","dimmer","style","height","Header","backgroundColor","color","Content","dangerouslySetInnerHTML","__html","message","Actions","Button","positive","onClick","className","Card","fluid","minHeight","display","basic","icon","sts","window","ReportAPI","fcollcode","payload","handlereport","Link","to","Divider","Form","Field","width","Dropdown","placeholder","selection","search","options","onChange","Group","InputMask","mask","target","toUpperCase","marginTop","Input","maxLength","label","onBlur","Checkbox","checked","module","exports","__webpack_require__","reactDom","_extends","assign","_inheritsLoose","getOwnPropertyNames","getOwnPropertyDescriptor","undefined","_defaults2","_assertThisInitialized","ReferenceError","invariant_1","replace","framesToPop","setInputSelection","selectionStart","selectionEnd","createTextRange","collapse","moveStart","moveEnd","select","defaultFormatChars","9","*","defaultMaskChar","parseMask","maskChar","prefix","lastEditablePosition","permanents","split","isPermanentCharacter","indexOf","isAllowedCharacter","RegExp","test","isEmpty","every","getFilledLength","isFilled","formatValue","insertString","getRightEditablePosition","getStringValue","processChange","Math","min","start","end","getInsertStringLength","getLeftEditablePosition","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","componentDidMount","navigator","userAgent","componentDidUpdate","forceUpdate","componentWillUnmount","render","_objectWithoutPropertiesLoose","filter","ref","disabled","readOnly","cloneElement","Component"],"mappings":"6TACAA,EAAA,kBAAAC,GAAA,IAAAC,EAAAD,EAAA,GAAAE,EAAAC,OAAAC,UAAAC,EAAAH,EAAAI,eAAAC,EAAAJ,OAAAK,gBAAA,SAAAP,EAAAD,EAAAE,GAAAD,EAAAD,GAAAE,EAAAO,OAAAC,EAAA,mBAAAC,cAAA,GAAAC,EAAAF,EAAAG,UAAA,aAAAC,EAAAJ,EAAAK,eAAA,kBAAAC,EAAAN,EAAAO,aAAA,yBAAAC,EAAAjB,EAAAD,EAAAE,GAAA,OAAAC,OAAAK,eAAAP,EAAAD,EAAA,CAAAS,MAAAP,EAAAiB,YAAA,EAAAC,cAAA,EAAAC,UAAA,IAAApB,EAAAD,GAAA,IAAAkB,EAAA,aAAAjB,GAAAiB,EAAA,SAAAjB,EAAAD,EAAAE,GAAA,OAAAD,EAAAD,GAAAE,GAAA,SAAAoB,EAAArB,EAAAD,EAAAE,EAAAG,GAAA,IAAAK,EAAAV,KAAAI,qBAAAmB,EAAAvB,EAAAuB,EAAAX,EAAAT,OAAAqB,OAAAd,EAAAN,WAAAU,EAAA,IAAAW,EAAApB,GAAA,WAAAE,EAAAK,EAAA,WAAAH,MAAAiB,EAAAzB,EAAAC,EAAAY,KAAAF,EAAA,SAAAe,EAAA1B,EAAAD,EAAAE,GAAA,WAAA0B,KAAA,SAAAC,IAAA5B,EAAA6B,KAAA9B,EAAAE,IAAA,MAAAD,GAAA,OAAA2B,KAAA,QAAAC,IAAA5B,IAAAD,EAAAsB,OAAA,IAAAS,EAAA,iBAAAC,EAAA,iBAAAC,EAAA,YAAAC,EAAA,YAAAC,EAAA,YAAAZ,KAAA,SAAAa,KAAA,SAAAC,KAAA,IAAAC,EAAA,GAAApB,EAAAoB,EAAA1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U,GAAA,GAAAX,EAAA6S,QAAAzS,KAAAK,EAAAL,GAAAL,EAAAK,IAC3B,OAAAK,EAkcAqY,CAAA/Y,EAAA,oGACA,GAAAK,EAAA,CACAiU,EAAAjU,IAAAmR,GAAA,GACA,IAAA9Q,EAAA,sFACAR,EAAA6Q,EAAA,GAAuBnQ,GACvBF,EAAAoC,QAAA,SAAA9C,GACA,cAAAE,EAAAF,KACOC,EAAAI,EAAAH,GAAAQ,EAAAsY,OAAA,SAAAhZ,GACP,aAAAC,EAAA0G,MAAA3G,IAAAC,EAAA0G,MAAA3G,KAAAY,EAAAZ,KACO+E,QAAAyM,GAAA,QACFvR,EAAAyK,EAAAyC,cAAA,QAAA4D,EAAA,CACLkI,IAAA1W,KAAA6V,WACKxX,IACL,IAAAL,EAAA,CACAgX,QAAAhV,KAAAgV,QACA/G,OAAAjO,KAAAiO,QAEA,OAAAjO,KAAA8T,YAAApG,OAAArP,EAAAsY,UAAAtY,EAAAuY,WAAA5Y,EAAAuP,SAAAvN,KAAAuN,SAAAvP,EAAA2X,QAAA3V,KAAA2V,QAAA3X,EAAAiX,YAAAjV,KAAAiV,aAAA,MAAA5W,EAAAH,QAAAF,EAAAE,MAAA8B,KAAA9B,QAAAR,EAAAyK,EAAA0O,aAAAnZ,EAAAM,IACGP,EAjQH,CAkQC0K,EAAA2O,WACD1I,EAAAC,QAAAuE","file":"static/js/130.dbef4eda.chunk.js","sourcesContent":["import React, { useState, useEffect, useRef, useContext } from \"react\";\r\nimport univadmin from \"../../apis/univadmin\";\r\nimport { connect } from \"react-redux\";\r\nimport {\r\n Card,\r\n Divider,\r\n Button,\r\n Form,\r\n Dropdown,\r\n Table,\r\n Checkbox,\r\n Icon,\r\n Header,\r\n Modal,\r\n Dimmer,\r\n Loader,\r\n} from \"semantic-ui-react\";\r\nimport { Link } from \"react-router-dom\";\r\nimport InputMask from \"react-input-mask\";\r\nimport { showError } from \"../../actions\";\r\nimport ModalExampleCloseIcon from \"./modalalert\";\r\nimport moment from \"moment\";\r\nimport { AppContext } from \"../context/appContext\";\r\nimport { ReportAPI } from \"../../apis/consts\";\r\nimport { set } from \"immutable\";\r\n\r\nfunction OnlineserviceVerifyRpt(props) {\r\n const [serveType, setserveType] = useState(\"\");\r\n const [datefrom, setdatefrom] = useState(\r\n moment().subtract(7, \"days\").format(\"DD/MM/YYYY\")\r\n );\r\n const [dateto, setdateto] = useState(moment().format(\"DD/MM/YYYY\"));\r\n const [regto, setregto] = useState(\"ZZZZ\");\r\n const [regfrom, setregfrom] = useState(\"0\");\r\n const [table, settable] = useState(false);\r\n const [list, setlist] = useState([]);\r\n const [servtp, setservetp] = useState([]);\r\n const [fstatus, setfstatus] = useState(\"All\");\r\n const [degfrom, setdegfrom] = useState(\"0\");\r\n const [degto, setdegto] = useState(\"ZZZZ\");\r\n const { err_msg, load } = useContext(AppContext);\r\n const [error, dispatch_err] = err_msg;\r\n\r\n const [certprint, setcertprint] = useState(false);\r\n const [servtype_options, setservtype_options] = useState([]);\r\n\r\n // const [loader, setLoader] = load;\r\n\r\n const [open, setOpen] = React.useState(false);\r\n\r\n useEffect(() => {\r\n async function initfn() {}\r\n initfn();\r\n getservtp();\r\n }, []);\r\n\r\n const getservtp = async () => {\r\n const response = await univadmin.get(\"/app.php\", {\r\n params: {\r\n a: \"getservtypes\",\r\n univcode: props.user.fcuruniv,\r\n },\r\n });\r\n if (typeof response.data !== \"object\") {\r\n const error = {\r\n header: \"Error\",\r\n content: \"Something went wrong\",\r\n };\r\n showError(error);\r\n return;\r\n } else if (response.data.error_code === 0) {\r\n setservetp(response.data.data);\r\n const x = response.data.data.map((el, i) => {\r\n return { value: el.fservcode, text: el.fservname };\r\n });\r\n setservtype_options(x);\r\n return;\r\n } else {\r\n const error = {\r\n header: \"Error\",\r\n content: response.data.data.msg,\r\n };\r\n showError(error);\r\n return;\r\n }\r\n };\r\n\r\n const formatChars = {\r\n n: \"[0-1]\",\r\n m: \"[0-9]\",\r\n e: \"[0-3]\",\r\n d: \"[0-9]\",\r\n z: \"[1-2]\",\r\n y: \"[0-9]\",\r\n };\r\n\r\n const handlecancel = async () => {\r\n setserveType(\"\");\r\n setdatefrom(moment().subtract(7, \"days\").format(\"DD/MM/YYYY\"));\r\n setdateto(moment().format(\"DD/MM/YYYY\"));\r\n settable(false);\r\n setregto(\"ZZZZ\");\r\n setregfrom(\"0\");\r\n };\r\n\r\n const handlereport = () => {\r\n const { fcuruniv } = props.user;\r\n const sts = certprint == true ? \"T\" : \"F\";\r\n\r\n if (serveType === \"\") {\r\n dispatch_err({\r\n type: \"OPEN_MSG_BOX\",\r\n payload: {\r\n header: \"Error\",\r\n message: \"Enter Service Type..!\",\r\n },\r\n });\r\n return;\r\n }\r\n\r\n window.open(\r\n ReportAPI +\r\n \"verifyappRpt\" +\r\n \"&univcode=\" +\r\n fcuruniv +\r\n \"&serveType=\" +\r\n serveType +\r\n \"&datefrom=\" +\r\n datefrom +\r\n \"&dateto=\" +\r\n dateto +\r\n \"®from=\" +\r\n regfrom +\r\n \"®to=\" +\r\n regto +\r\n \"°from=\" +\r\n degfrom +\r\n \"°to=\" +\r\n degto +\r\n \"&fstatus=\" +\r\n fstatus +\r\n \"&certprint=\" +\r\n sts +\r\n \"&fcollcode=\" +\r\n props.user.fcollcode,\r\n \"_blank\"\r\n );\r\n };\r\n\r\n const handlechkboxchange = (el, data) => {\r\n const newlist = list.map((item) => {\r\n if (data == item.fregno) {\r\n if (el == \"Verified\") {\r\n item.fstatus = \"Verified\";\r\n } else if (el == \"Rejected\") {\r\n item.fstatus = \"Rejected\";\r\n } else {\r\n item.fstatus = \"Pending\";\r\n }\r\n }\r\n return item;\r\n });\r\n setlist(newlist);\r\n };\r\n\r\n const fstatus_options = [\r\n { value: \"All\", text: \"All\" },\r\n { value: \"Verified\", text: \"Verified\" },\r\n { value: \"Pending\", text: \"Pending\" },\r\n { value: \"Rejected\", text: \"Rejected\" },\r\n ];\r\n\r\n return (\r\n <>\r\n {/* <Dimmer active={loader} page>\r\n <Loader size=\"massive\">Loading</Loader>\r\n </Dimmer> */}\r\n <Modal\r\n size={\"mini\"}\r\n open={error.open}\r\n dimmer=\"inverted\"\r\n style={{ height: \"180px\" }}\r\n >\r\n <Modal.Header style={{ backgroundColor: error.color, color: \"#fff\" }}>\r\n {error.header}\r\n </Modal.Header>\r\n <Modal.Content>\r\n <div dangerouslySetInnerHTML={{ __html: error.message }} />\r\n\r\n {/* <p>{error.message}</p> */}\r\n </Modal.Content>\r\n <Modal.Actions>\r\n <Button\r\n positive\r\n onClick={() => dispatch_err({ type: \"CLOSE_MSG_BOX\" })}\r\n >\r\n OK\r\n </Button>\r\n </Modal.Actions>\r\n </Modal>\r\n\r\n <div className=\"animated fadeIn\">\r\n <Card fluid style={{ minHeight: \"82vh\" }}>\r\n <Card.Content>\r\n <Card.Header style={{ display: \"flex\" }} className=\"sticky\">\r\n <h4>Verify Application Report</h4>\r\n <div className=\"ml-auto\">\r\n <Button\r\n basic\r\n color=\"blue\"\r\n content=\"Report\"\r\n icon=\"file\"\r\n onClick={() => {\r\n handlereport();\r\n }}\r\n />\r\n <Button\r\n basic\r\n color=\"black\"\r\n content=\"cancel\"\r\n icon=\"cancel\"\r\n onClick={() => {\r\n handlecancel();\r\n }}\r\n />\r\n\r\n <Link to=\"/dashboard\">\r\n <Button basic color=\"red\" content=\"Exit\" icon=\"home\" />\r\n </Link>\r\n </div>\r\n </Card.Header>\r\n <Divider />\r\n\r\n <div className=\"col-md-6\">\r\n <Form>\r\n <Form.Field width={16}>\r\n <label>Serivce Type</label>\r\n <Dropdown\r\n placeholder=\"Select Report Type\"\r\n name=\"serveType\"\r\n value={serveType}\r\n selection\r\n search\r\n options={servtype_options}\r\n onChange={(e, data) => {\r\n setserveType(data.value);\r\n }}\r\n />\r\n </Form.Field>\r\n\r\n <Form.Group>\r\n <Form.Field width={8}>\r\n <label> Date Range </label>\r\n <InputMask\r\n formatChars={formatChars}\r\n type=\"text\"\r\n value={datefrom}\r\n mask=\"ed/nm/zyyy\"\r\n placeholder=\"Date From\"\r\n name=\"datefrom\"\r\n onChange={(e) => setdatefrom(e.target.value)}\r\n />\r\n </Form.Field>\r\n <Form.Field width={8}>\r\n <InputMask\r\n formatChars={formatChars}\r\n type=\"text\"\r\n value={dateto}\r\n mask=\"ed/nm/zyyy\"\r\n placeholder=\"To\"\r\n name=\"dateto\"\r\n onChange={(e) => setdateto(e.target.value.toUpperCase())}\r\n style={{ marginTop: \"1.6em\" }}\r\n />\r\n </Form.Field>\r\n </Form.Group>\r\n <Form.Group>\r\n <Form.Input\r\n placeholder=\"From\"\r\n value={regfrom}\r\n width={8}\r\n name=\"regfrom\"\r\n onChange={(e) => setregfrom(e.target.value.toUpperCase())}\r\n maxLength=\"9\"\r\n label=\"Reg No.\"\r\n onBlur={(e) =>\r\n e.target.value == 0\r\n ? setregto(\"ZZZZ\")\r\n : setregto(e.target.value)\r\n }\r\n />\r\n <Form.Input\r\n placeholder=\"To\"\r\n name=\"regto\"\r\n value={regto}\r\n width={8}\r\n onChange={(e) => setregto(e.target.value.toUpperCase())}\r\n maxLength=\"9\"\r\n style={{ marginTop: \"1.6em\" }}\r\n />\r\n </Form.Group>\r\n <Form.Group>\r\n <Form.Input\r\n placeholder=\"From\"\r\n value={degfrom}\r\n width={8}\r\n name=\"degfrom\"\r\n onChange={(e) => setdegfrom(e.target.value.toUpperCase())}\r\n maxLength=\"9\"\r\n label=\"Degree Range\"\r\n onBlur={(e) =>\r\n e.target.value == 0\r\n ? setdegto(\"ZZZZ\")\r\n : setdegto(e.target.value)\r\n }\r\n />\r\n <Form.Input\r\n placeholder=\"To\"\r\n name=\"degto\"\r\n value={degto}\r\n width={8}\r\n onChange={(e) => setdegto(e.target.value)}\r\n maxLength=\"9\"\r\n style={{ marginTop: \"1.6em\" }}\r\n />\r\n </Form.Group>\r\n <Form.Group>\r\n <Form.Field width={8}>\r\n <label>Application Status</label>\r\n <Dropdown\r\n placeholder=\"Application Status\"\r\n name=\"serveType\"\r\n value={fstatus}\r\n selection\r\n search\r\n options={fstatus_options}\r\n onChange={(e, data) => {\r\n setfstatus(data.value);\r\n }}\r\n />\r\n </Form.Field>\r\n <Form.Field width={8} style={{ marginTop: \"30px\" }}>\r\n <Checkbox\r\n onChange={(e, data) => setcertprint(data.checked)}\r\n value={certprint}\r\n checked={certprint}\r\n label=\"Certificate Printed\"\r\n />\r\n </Form.Field>\r\n </Form.Group>\r\n </Form>\r\n </div>\r\n </Card.Content>\r\n </Card>\r\n </div>\r\n </>\r\n );\r\n}\r\nconst mapStateToProps = (state) => {\r\n return {\r\n user: state.user,\r\n univ: state.univ,\r\n };\r\n};\r\nexport default connect(mapStateToProps, {})(OnlineserviceVerifyRpt);\r\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}\nvar React = _interopDefault(require(\"react\")),\n reactDom = require(\"react-dom\");\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 return e;\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 for (var a in n) Object.prototype.hasOwnProperty.call(n, a) && (e[a] = n[a]);\n }\n return e;\n }).apply(this, arguments);\n}\nfunction _inheritsLoose(e, t) {\n e.prototype = Object.create(t.prototype), _defaults2(e.prototype.constructor = e, t);\n}\nfunction _objectWithoutPropertiesLoose(e, t) {\n if (null == e) return {};\n var n,\n a,\n i = {},\n r = Object.keys(e);\n for (a = 0; a < r.length; a++) n = r[a], 0 <= t.indexOf(n) || (i[n] = e[n]);\n return i;\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}\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;\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}\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}\nvar defaultFormatChars = {\n 9: \"[0-9]\",\n a: \"[A-Za-z]\",\n \"*\": \"[A-Za-z0-9]\"\n },\n defaultMaskChar = \"_\";\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}\nfunction isPermanentCharacter(e, t) {\n return -1 !== e.permanents.indexOf(t);\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}\nfunction isEmpty(n, e) {\n return e.split(\"\").every(function (e, t) {\n return isPermanentCharacter(n, t) || !isAllowedCharacter(n, t, e);\n });\n}\nfunction getFilledLength(e, t) {\n var n = e.maskChar,\n a = e.prefix;\n if (!n) {\n for (; t.length > a.length && isPermanentCharacter(e, t.length - 1);) t = t.slice(0, t.length - 1);\n return t.length;\n }\n for (var i = a.length, r = t.length; r >= a.length; r--) {\n var o = t[r];\n if (!isPermanentCharacter(e, r) && isAllowedCharacter(e, r, o)) {\n i = r + 1;\n break;\n }\n }\n return i;\n}\nfunction isFilled(e, t) {\n return getFilledLength(e, t) === e.mask.length;\n}\nfunction formatValue(e, t) {\n var n = e.maskChar,\n a = e.mask,\n i = e.prefix;\n if (!n) {\n for ((t = insertString(e, \"\", t, 0)).length < i.length && (t = i); t.length < a.length && isPermanentCharacter(e, t.length);) t += a[t.length];\n return t;\n }\n if (t) return insertString(e, formatValue(e, \"\"), t, 0);\n for (var r = 0; r < a.length; r++) isPermanentCharacter(e, r) ? t += a[r] : t += n;\n return t;\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 for (var u = i; u < l.length; u++) isPermanentCharacter(n, u) && (l[u] = \"\");\n return a = Math.max(s.length, a), l.splice(a, i - a), e = l.join(\"\"), formatValue(n, e);\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 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}\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];) if (++i >= r.length) return !1;\n var t, n;\n return (isAllowedCharacter(a, i, e) || e === o) && i++, i < r.length;\n }), i - s;\n}\nfunction getLeftEditablePosition(e, t) {\n for (var n = t; 0 <= n; --n) if (!isPermanentCharacter(e, n)) return n;\n return null;\n}\nfunction getRightEditablePosition(e, t) {\n for (var n = e.mask, a = t; a < n.length; ++a) if (!isPermanentCharacter(e, a)) return a;\n return null;\n}\nfunction getStringValue(e) {\n return e || 0 === e ? e + \"\" : \"\";\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 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 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}\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}\nfunction isFunction(e) {\n return \"function\" == typeof e;\n}\nfunction getRequestAnimationFrame() {\n return window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame;\n}\nfunction getCancelAnimationFrame() {\n return window.cancelAnimationFrame || window.webkitCancelRequestAnimationFrame || window.webkitCancelAnimationFrame || window.mozCancelAnimationFrame;\n}\nfunction defer(e) {\n return (!!getCancelAnimationFrame() ? getRequestAnimationFrame() : function () {\n return setTimeout(e, 1e3 / 60);\n })(e);\n}\nfunction cancelDefer(e) {\n (getCancelAnimationFrame() || clearTimeout)(e);\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 try {\n if (i.matches(\":-webkit-autofill\")) return !0;\n } catch (r) {}\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 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 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 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 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 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 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 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 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 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 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 document.addEventListener(\"mouseup\", r);\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 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 return f.value = l, f;\n }\n _inheritsLoose(e, c);\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 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 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 !this.maskOptions.mask || !isEmpty(this.maskOptions, c) || l || u && this.props.value || (c = \"\");\n var d = {\n start: h,\n end: h\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 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 if (n) {\n isFunction(n) || invariant_1(!1);\n var i = [\"onChange\", \"onPaste\", \"onMouseDown\", \"onFocus\", \"onBlur\", \"value\", \"disabled\", \"readOnly\"],\n r = _extends({}, a);\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 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);\nmodule.exports = InputElement;"],"sourceRoot":""}
|