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.191.195.180
{"version":3,"sources":["pages/newexamcentre/index.js","actions/viewexamcentre/index.js","../node_modules/react-input-mask/index.js","../node_modules/react-input-mask/lib/react-input-mask.production.min.js"],"names":["viewExamCentreNew","state","deggrp","date","subject","degree","centre","session","reportorder","componentDidMount","_callee","regenerator_default","a","wrap","_context","prev","next","_this","props","loaddegreegroup","stop","handleChangeDeggrp","_callee2","e","data","_context2","setState","value","loadall","handleChangeDate","_callee3","_context3","handleChangeSubject","_callee4","_context4","handleChangeDegree","_callee5","_context5","handleChangeCentre","_callee6","_context6","handleChangeSession","_callee7","_context7","handleChangeReportOrder","handleSubmit","_callee8","error","_error","_error2","_error3","_error4","_error5","_error6","_context8","header","content","showError","abrupt","loadtableexamcentre","console","log","table","handleCancel","_callee9","_context9","reporttype","handleSubmitReport","_callee10","_this$state","_error7","_error8","_error9","_error10","_error11","_error12","_context10","window","open","ReportAPI","univcode","JSON","stringify","_this$state2","this","all","key","text","degreeGrpOptions","degcentre","map","item","fdeggrp","fdescpn","dateOpt","fdoe","dateOptions","concat","Object","toConsumableArray","subOpt","sub","i","fsubname","fsubcode","subjectOptions","degreeOpt","fdegree","degreeOptions","centreOpt","fcntrcode","centreOptions","sessionOpt","fsession","sessionOptions","react_default","createElement","className","Card","fluid","Content","Header","style","display","Button","basic","color","onClick","icon","Link","to","Divider","Description","overflowY","height","Form","Group","Field","width","Dropdown","search","selection","onChange","name","placeholder","options","multiple","keys","length","Table","celled","padded","Row","HeaderCell","singleLine","textAlign","Body","el","Cell","fcollname","fqpcode","cnt","Component","connect","univ","funivcode","deggrpexamcentre","allexamcentre","loadexamcentretable","_ref","asyncToGenerator","mark","dispatch","getState","response","type","univadmin","get","params","user","fcuruniv","sent","error_code","msg","payload","_x","_x2","apply","arguments","deg","_ref2","post","_x3","_x4","tab","_ref3","_x5","_x6","module","exports","__webpack_require__","React","reactDom","_extends","assign","t","n","prototype","hasOwnProperty","call","_inheritsLoose","create","getOwnPropertyNames","r","getOwnPropertyDescriptor","configurable","undefined","defineProperty","_defaults2","constructor","_assertThisInitialized","ReferenceError","invariant_1","o","s","l","Error","u","c","replace","framesToPop","setInputSelection","selectionStart","selectionEnd","createTextRange","collapse","moveStart","moveEnd","select","defaultFormatChars","9","*","defaultMaskChar","parseMask","maskChar","formatChars","mask","prefix","lastEditablePosition","permanents","split","forEach","push","isPermanentCharacter","indexOf","isAllowedCharacter","RegExp","test","isEmpty","every","getFilledLength","slice","isFilled","formatValue","insertString","h","getRightEditablePosition","getStringValue","processChange","f","Math","min","start","end","getInsertStringLength","getLeftEditablePosition","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","onBlur","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","_objectWithoutPropertiesLoose","filter","ref","disabled","readOnly","cloneElement"],"mappings":"4SAsBMA,4NACJC,MAAQ,CACNC,OAAQ,GACRC,KAAM,GACNC,QAAS,GACTC,OAAQ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MAAAK,KAAAX,EAAAW,KACO6H,QAAA0E,GAAA,QACFjB,EAAAJ,EAAArF,cAAA,QAAAuF,EAAA,CACL8J,IAAArR,KAAAoQ,WACK5U,IAEL,IAAAmN,EAAA,CACA2G,QAAAtP,KAAAsP,QACAC,OAAAvP,KAAAuP,QAEA,OAAAvP,KAAAoO,YAAAlE,OAAA1O,EAAA8V,UAAA9V,EAAA+V,WAAA5I,EAAAjF,SAAA1D,KAAA0D,SAAAiF,EAAAuH,QAAAlQ,KAAAkQ,QAAAvH,EAAA6G,YAAAxP,KAAAwP,aAAA,MAAAhU,EAAAe,QAAAoM,EAAApM,MAAAyD,KAAAzD,QAAAkL,EAAAJ,EAAAmK,aAAA/J,EAAAkB,IACGxM,EA5RH,CA6RCkL,EAAAvC,WAEDoC,EAAAC,QAAA+F","file":"static/js/138.e725b22c.chunk.js","sourcesContent":["import React, { Component } from \"react\";\nimport { connect } from \"react-redux\";\nimport {\n Card,\n Divider,\n Form,\n Button,\n Dropdown,\n Table,\n} from \"semantic-ui-react\";\nimport { Link } from \"react-router-dom\";\nimport { showError, fetchDegGrp } from \"../../actions\";\nimport {\n loaddegreegroup,\n loadall,\n loadtableexamcentre,\n} from \"../../actions/viewexamcentre\";\nimport { ReportAPI } from \"../../apis/consts\";\n\nimport InputMask from \"react-input-mask\";\nimport moment from \"moment\";\n\nclass viewExamCentreNew extends Component {\n state = {\n deggrp: \"\",\n date: [],\n subject: [],\n degree: [],\n centre: [],\n session: [],\n reportorder: \"\",\n };\n\n componentDidMount = async () => {\n await this.props.loaddegreegroup();\n };\n\n handleChangeDeggrp = async (e, data) => {\n await this.setState({\n deggrp: data.value,\n });\n await this.props.loadall(this.state);\n this.setState({\n date: [\"All\"],\n subject: [\"All\"],\n degree: [\"All\"],\n centre: [\"All\"],\n session: [\"All\"],\n });\n };\n\n handleChangeDate = async (e, data) => {\n await this.setState({\n date: data.value,\n });\n await this.props.loadall(this.state);\n };\n\n handleChangeSubject = async (e, data) => {\n await this.setState({\n subject: data.value,\n });\n\n await this.props.loadall(this.state);\n };\n\n handleChangeDegree = async (e, data) => {\n await this.setState({\n degree: data.value,\n });\n\n await this.props.loadall(this.state);\n };\n\n handleChangeCentre = async (e, data) => {\n await this.setState({\n centre: data.value,\n });\n\n await this.props.loadall(this.state);\n };\n\n handleChangeSession = async (e, data) => {\n await this.setState({\n session: data.value,\n });\n\n await this.props.loadall(this.state);\n };\n\n handleChangeReportOrder = (e, data) => {\n this.setState({\n reportorder: data.value,\n });\n };\n\n handleSubmit = async () => {\n if (this.state.deggrp === \"\") {\n const error = { header: \"Error\", content: \"Select Degree Group\" };\n this.props.showError(error);\n return;\n }\n\n if (this.state.date === \"\") {\n const error = { header: \"Error\", content: \"Select Date\" };\n this.props.showError(error);\n return;\n }\n\n if (this.state.subject === \"\") {\n const error = { header: \"Error\", content: \"Select Subject\" };\n this.props.showError(error);\n return;\n }\n\n if (this.state.degree === \"\") {\n const error = { header: \"Error\", content: \"Select Degree\" };\n this.props.showError(error);\n return;\n }\n\n if (this.state.centre === \"\") {\n const error = { header: \"Error\", content: \"Select Centre\" };\n this.props.showError(error);\n return;\n }\n\n if (this.state.session === \"\") {\n const error = { header: \"Error\", content: \"Select Session\" };\n this.props.showError(error);\n return;\n }\n\n if (this.state.reportorder === \"\") {\n const error = { header: \"Error\", content: \"Select Report Order\" };\n this.props.showError(error);\n return;\n }\n\n await this.props.loadtableexamcentre(this.state);\n console.log(this.props.table);\n };\n\n handleCancel = async () => {\n this.setState({\n deggrp: \"\",\n date: [],\n subject: [],\n degree: [],\n centre: [],\n session: [],\n reporttype: \"\",\n reportorder: \"\",\n });\n };\n\n handleSubmitReport = async () => {\n const { deggrp, date, subject, degree, centre, session, reportorder } =\n this.state;\n\n if (this.state.deggrp === \"\") {\n const error = { header: \"Error\", content: \"Select Degree Group\" };\n this.props.showError(error);\n return;\n }\n\n if (this.state.date === \"\") {\n const error = { header: \"Error\", content: \"Select Date\" };\n this.props.showError(error);\n return;\n }\n\n if (this.state.subject === \"\") {\n const error = { header: \"Error\", content: \"Select Subject\" };\n this.props.showError(error);\n return;\n }\n\n if (this.state.degree === \"\") {\n const error = { header: \"Error\", content: \"Select Degree\" };\n this.props.showError(error);\n return;\n }\n\n if (this.state.centre === \"\") {\n const error = { header: \"Error\", content: \"Select Centre\" };\n this.props.showError(error);\n return;\n }\n\n if (this.state.session === \"\") {\n const error = { header: \"Error\", content: \"Select Session\" };\n this.props.showError(error);\n return;\n }\n\n if (this.state.reportorder === \"\") {\n const error = { header: \"Error\", content: \"Select Report Order\" };\n this.props.showError(error);\n return;\n }\n\n if (this.state.reportorder == \"qpwisedatewisecentrewise\") {\n await window.open(\n ReportAPI +\n \"ViewExamCentreNewReport_excel\" +\n \"°grp=\" +\n deggrp +\n \"&univcode=\" +\n this.props.univcode +\n \"&date=\" +\n JSON.stringify(date) +\n \"&subject=\" +\n JSON.stringify(subject) +\n \"°ree=\" +\n JSON.stringify(degree) +\n \"¢re=\" +\n JSON.stringify(centre) +\n \"&session=\" +\n JSON.stringify(session),\n \"_blank\"\n );\n }\n };\n\n render() {\n const { deggrp, date, subject, degree, centre, session, reportorder } =\n this.state;\n\n const all = [\n {\n key: 1,\n value: \"All\",\n text: \"All\",\n },\n ];\n\n const degreeGrpOptions = this.props.degcentre.map((item) => {\n return {\n key: item.fdeggrp,\n value: item.fdeggrp,\n text: item.fdescpn,\n };\n });\n\n const dateOpt = this.props.all.date.map((item) => {\n return {\n key: item.fdoe,\n value: item.fdoe,\n text: item.fdoe,\n };\n });\n\n const dateOptions = [...all, ...dateOpt];\n\n const subOpt = this.props.all.sub.map((item, i) => {\n return {\n key: i + \"_\" + item.fsubname,\n value: item.fsubcode,\n text: item.fsubname,\n };\n });\n\n const subjectOptions = [...all, ...subOpt];\n const degreeOpt = this.props.all.degree.map((item) => {\n return {\n key: item.fdegree,\n value: item.fdegree,\n text: item.fdescpn,\n };\n });\n\n const degreeOptions = [...all, ...degreeOpt];\n\n const centreOpt = this.props.all.centre.map((item) => {\n return {\n key: item.fcntrcode,\n value: item.fcntrcode,\n text: item.fcntrcode,\n };\n });\n\n const centreOptions = [...all, ...centreOpt];\n\n const sessionOpt = this.props.all.session.map((item) => {\n return {\n key: item.fsession,\n value: item.fsession,\n text: item.fsession,\n };\n });\n\n const sessionOptions = [...all, ...sessionOpt];\n\n const reporOrderOptions = [\n {\n key: 1,\n value: \"qpwisedatewisecentrewise\",\n text: \"QP Wise,Centre Wise,Date Wise\",\n },\n ];\n\n return (\n <div className=\"animated fadeIn\">\n <Card fluid>\n <Card.Content>\n <Card.Header style={{ display: \"flex\" }}>\n <h4>View Exam Centre New</h4>\n <div className=\"ml-auto\">\n <Button\n basic\n color=\"blue\"\n onClick={this.handleSubmitReport}\n content=\"Report\"\n icon=\"file\"\n />\n <Button\n basic\n color=\"black\"\n icon=\"ban\"\n onClick={this.handleCancel}\n content=\"Cancel\"\n />\n <Link to=\"/dashboard\">\n <Button basic color=\"red\" content=\"Exit\" icon=\"home\" />\n </Link>\n </div>\n </Card.Header>\n <Divider />\n <Card.Description style={{ overflowY: \"auto\", height: `auto` }}>\n <div className=\"col-md-8 col-lg-8 col-sm-12\">\n <Form>\n <Form.Group>\n <Form.Field width={8}>\n <label>Degree Group</label>\n <Dropdown\n fluid\n search\n selection\n onChange={this.handleChangeDeggrp}\n value={deggrp}\n name=\"deggrp\"\n placeholder=\"Degree Group\"\n options={degreeGrpOptions}\n />\n </Form.Field>\n <Form.Field width={8}>\n <label>Date</label>\n <Dropdown\n multiple\n fluid\n search\n selection\n onChange={this.handleChangeDate}\n value={date}\n name=\"date\"\n placeholder=\"Date\"\n options={dateOptions}\n />\n </Form.Field>\n </Form.Group>\n\n <Form.Field width={16}>\n <label>Subject</label>\n <Dropdown\n multiple\n fluid\n search\n selection\n onChange={this.handleChangeSubject}\n value={subject}\n name=\"subject\"\n placeholder=\"Subject\"\n options={subjectOptions}\n />\n </Form.Field>\n\n <Form.Field width={16}>\n <label>Degree</label>\n <Dropdown\n multiple\n fluid\n search\n selection\n onChange={this.handleChangeDegree}\n value={degree}\n name=\"degree\"\n placeholder=\"Degree\"\n options={degreeOptions}\n />\n </Form.Field>\n <Form.Group>\n <Form.Field width={16}>\n <label>Centre</label>\n <Dropdown\n multiple\n fluid\n search\n selection\n onChange={this.handleChangeCentre}\n value={centre}\n name=\"centre\"\n placeholder=\"Centre\"\n options={centreOptions}\n />\n </Form.Field>\n\n <Form.Field width={16}>\n <label>Session</label>\n <Dropdown\n multiple\n fluid\n search\n selection\n onChange={this.handleChangeSession}\n value={session}\n name=\"session\"\n placeholder=\"Session\"\n options={sessionOptions}\n />\n </Form.Field>\n </Form.Group>\n <Form.Group>\n <Form.Field width={8}>\n <label>Report Order</label>\n <Dropdown\n fluid\n search\n selection\n onChange={this.handleChangeReportOrder}\n value={reportorder}\n name=\"reportorder\"\n placeholder=\"Report Order\"\n options={reporOrderOptions}\n />\n </Form.Field>\n </Form.Group>\n <Form.Field>\n <Button\n content=\"Submit\"\n color=\"blue\"\n onClick={this.handleSubmit}\n />\n </Form.Field>\n </Form>\n\n {Object.keys(this.props.table).length > 0 ? (\n <Table celled padded style={{ width: \"1100px\" }}>\n <Table.Header>\n <Table.Row>\n <Table.HeaderCell\n singleLine\n style={{ textAlign: \"center\" }}\n >\n Sl. No.\n </Table.HeaderCell>\n <Table.HeaderCell style={{ textAlign: \"center\" }}>\n Centre Code\n </Table.HeaderCell>\n <Table.HeaderCell style={{ textAlign: \"center\" }}>\n College Name\n </Table.HeaderCell>\n <Table.HeaderCell style={{ textAlign: \"center\" }}>\n QP Code\n </Table.HeaderCell>\n <Table.HeaderCell style={{ textAlign: \"center\" }}>\n Subject Name\n </Table.HeaderCell>\n <Table.HeaderCell style={{ textAlign: \"center\" }}>\n Session\n </Table.HeaderCell>\n <Table.HeaderCell style={{ textAlign: \"center\" }}>\n Date of Exam\n </Table.HeaderCell>\n <Table.HeaderCell style={{ textAlign: \"center\" }}>\n Count\n </Table.HeaderCell>\n </Table.Row>\n </Table.Header>\n\n <Table.Body>\n {this.props.table.map((el, i) => {\n return (\n <Table.Row>\n <Table.Cell style={{ textAlign: \"center\" }}>\n {i + 1}\n </Table.Cell>\n <Table.Cell style={{ textAlign: \"center\" }}>\n {el.fcntrcode}\n </Table.Cell>\n <Table.Cell>{el.fcollname}</Table.Cell>\n <Table.Cell style={{ textAlign: \"center\" }}>\n {el.fqpcode}\n </Table.Cell>\n <Table.Cell>{el.fsubname}</Table.Cell>\n <Table.Cell style={{ textAlign: \"center\" }}>\n {el.fsession}\n </Table.Cell>\n <Table.Cell style={{ textAlign: \"center\" }}>\n {el.fdoe}\n </Table.Cell>\n <Table.Cell style={{ textAlign: \"center\" }}>\n {el.cnt}\n </Table.Cell>\n </Table.Row>\n );\n })}\n </Table.Body>\n </Table>\n ) : null}\n </div>\n </Card.Description>\n </Card.Content>\n </Card>\n </div>\n );\n }\n}\nconst mapStateToProps = (state) => {\n return {\n univcode: state.univ.funivcode,\n degcentre: state.deggrpexamcentre,\n all: state.allexamcentre,\n table: state.loadexamcentretable,\n };\n};\n\nexport default connect(mapStateToProps, {\n showError,\n loaddegreegroup,\n loadall,\n loadtableexamcentre,\n})(viewExamCentreNew);\n","import univadmin from \"../../apis/univadmin\";\nimport { showError } from \"../index\";\n\nexport const loaddegreegroup = () => {\n return async function (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: \"loaddeggrpexamcentre\",\n univcode: state.user.fcuruniv,\n },\n });\n\n dispatch({\n type: \"UNSET_LOADER\",\n });\n\n if (typeof response.data !== \"object\") {\n const error = {\n header: \"Error\",\n content: \"Something went wrong\",\n };\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: \"LOAD_DEGGRP_EXAMCENTRE\",\n payload: response.data,\n });\n }\n };\n};\n\nexport const loadall = (deg) => {\n return async function (dispatch, getState) {\n const state = getState();\n dispatch({\n type: \"SET_LOADER\",\n });\n\n const response = await univadmin.post(\n \"/app.php?a=loadallexamcentre&univcode=\" +\n state.univ.funivcode +\n \"°grp=\" +\n deg.deggrp,\n {\n data: deg,\n }\n );\n\n dispatch({\n type: \"UNSET_LOADER\",\n });\n\n if (typeof response.data !== \"object\") {\n const error = {\n header: \"Error\",\n content: \"Something went wrong\",\n };\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: \"LOAD_ALL_EXAMCENTRE\",\n payload: response.data,\n });\n }\n };\n};\n\nexport const loadtableexamcentre = (tab) => {\n return async function (dispatch, getState) {\n const state = getState();\n dispatch({\n type: \"SET_LOADER\",\n });\n\n const response = await univadmin.post(\n \"/app.php?a=loadtableexamcentre&univcode=\" +\n state.univ.funivcode +\n \"°grp=\" +\n tab.deggrp,\n {\n data: tab,\n }\n );\n\n dispatch({\n type: \"UNSET_LOADER\",\n });\n\n if (typeof response.data !== \"object\") {\n const error = {\n header: \"Error\",\n content: \"Something went wrong\",\n };\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: \"LOAD_TABLE_EXAMCENTRE\",\n payload: response.data,\n });\n }\n };\n};\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":""}
|