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.117.254.177
{"version":3,"sources":["pages/after-exam/workdoneReport.js","../node_modules/react-input-mask/index.js","../node_modules/react-input-mask/lib/react-input-mask.production.min.js","actions/after-exam/workdonereport.js"],"names":["WorkDoneReport","state","showtable","frmDeggrp","reportType","frmSubmit","rftype","tcodefrom","tcodeto","vdatefrom","moment","subtract","format","vdateto","handleChange","e","data","type","_this","setState","Object","_Users_prashanth_univadmin_react_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_defineProperty__WEBPACK_IMPORTED_MODULE_2__","name","value","handleSubmit","_callee","fdeggrp","error","_Users_prashanth_univadmin_react_node_modules_babel_preset_react_app_node_modules_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_0___default","a","wrap","_context","prev","next","props","user","getWorkDone","fuserid","fcurtype","console","log","data2","header","content","showError","abrupt","stop","handleReport","_this$props$user","fcuruniv","_this$state","ReportAPI","window","open","fcollcode","parseInt","handleChangedate","target","handleCancel","reportFormat","renderHeader","react__WEBPACK_IMPORTED_MODULE_8___default","createElement","semantic_ui_react__WEBPACK_IMPORTED_MODULE_10__","Header","style","display","className","semantic_ui_react__WEBPACK_IMPORTED_MODULE_11__","basic","color","onClick","icon","react_router_dom__WEBPACK_IMPORTED_MODULE_9__","to","_this2","this","_this$state2","formatChars","n","m","d","z","y","wheight","wHeight","fluid","Content","semantic_ui_react__WEBPACK_IMPORTED_MODULE_12__","Description","overflowY","height","concat","semantic_ui_react__WEBPACK_IMPORTED_MODULE_13__","Group","Field","width","react_input_mask__WEBPACK_IMPORTED_MODULE_18___default","mask","placeholder","onChange","marginTop","semantic_ui_react__WEBPACK_IMPORTED_MODULE_14__","celled","padded","selectable","size","backgroundColor","Row","HeaderCell","singleLine","textAlign","rowSpan","Fragment","colSpan","Body","valdet","map","el","i","key","overflow","Cell","fdate","fqpcode","fsubname","fvalcode","fteachname","fvpktcnt","fvscriptcnt","frvpktcnt","frscriptcnt","fpkts","Component","connect","allworkDOneReport","module","exports","__webpack_require__","React","reactDom","_extends","assign","t","arguments","length","prototype","hasOwnProperty","call","apply","_inheritsLoose","create","getOwnPropertyNames","r","getOwnPropertyDescriptor","configurable","undefined","defineProperty","_defaults2","constructor","_assertThisInitialized","ReferenceError","invariant_1","o","s","l","Error","u","c","replace","framesToPop","setInputSelection","selectionStart","selectionEnd","createTextRange","collapse","moveStart","moveEnd","select","defaultFormatChars","9","*","defaultMaskChar","parseMask","maskChar","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","selection","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","componentDidMount","navigator","userAgent","componentDidUpdate","p","g","forceUpdate","v","componentWillUnmount","render","keys","_objectWithoutPropertiesLoose","filter","ref","disabled","readOnly","cloneElement","paramsval","techercode","response","_ref","_Users_prashanth_univadmin_react_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_1__","mark","dispatch","getState","univadmin","get","univ","funivcode","sent","payload","error_code","msg","status","_x","_x2"],"mappings":"8UAkBMA,6MACJC,MAAQ,CACNC,WAAW,EACXC,UAAW,GACXC,WAAY,kBACZC,WAAW,EACXC,OAAQ,MACRC,UAAW,OACXC,QAAS,OACTC,UAAWC,MACRC,SAAS,EAAG,QACZC,OAAO,cACVC,QAASH,MAASE,OAAO,iBAG3BE,aAAe,SAACC,EAAGC,GACjB,OAAQA,EAAKC,MACX,IAAK,OACHC,EAAKC,SAALC,OAAAC,EAAA,EAAAD,CAAA,GAAiBJ,EAAKM,KAAON,EAAKO,QACpC,QACEL,EAAKC,SAALC,OAAAC,EAAA,EAAAD,CAAA,GAAiBJ,EAAKM,KAAON,EAAKO,QAEtCL,EAAKC,SAAS,CAAEd,WAAW,OAG7BmB,kCAAe,SAAAC,IAAA,IAAAC,EAAAC,EAAA,OAAAC,EAAAC,EAAAC,KAAA,SAAAC,GAAA,cAAAA,EAAAC,KAAAD,EAAAE,MAAA,cACLP,EAAYR,EAAKgB,MAAMC,KAAvBT,QACeR,EAAKjB,MAApBG,WAFK2B,EAAAE,KAAA,EAGPf,EAAKgB,MAAME,YACflB,EAAKjB,MACLiB,EAAKgB,MAAMC,KAAKE,QAChBnB,EAAKgB,MAAMC,KAAKG,UANL,UAQbC,QAAQC,IAAI,mBAAoBtB,EAAKgB,MAAMO,OACvCvB,EAAKgB,MAAMO,OAAS,IACtBvB,EAAKC,SAAS,CAAEjB,WAAW,IAGb,KAAZwB,EAbS,CAAAK,EAAAE,KAAA,gBAcLN,EAAQ,CAAEe,OAAQ,QAASC,QAAS,uBAC1CzB,EAAKgB,MAAMU,UAAUjB,GAfVI,EAAAc,OAAA,kBAmBb3B,EAAKC,SAAS,CAAEd,WAAW,IAnBd,yBAAA0B,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B,oCACExT,EAAMyT,KAAKC,UACX,oDAIAX,EAAUvS,UACV,YACAuS,EAAUnS,QACV,yBAEAZ,EAAMkC,KAAKmB,WArCZ,QAyBH4P,EAzBGnR,EAAA6R,KAAA7R,EAAAE,KAAA,oBAuCkB,OAAZK,EAvCN,CAAAP,EAAAE,KAAA,gBAAAF,EAAAE,KAAA,GAwCcuR,IAAUC,IACzB,oCACExT,EAAMyT,KAAKC,UACX,wBAEAX,EAAUzS,UACV,YACAyS,EAAUxS,QACV,cACAwS,EAAUvS,UACV,YACAuS,EAAUnS,QACV,qBApDD,QAwCHqS,EAxCGnR,EAAA6R,KAAA,QAwDLN,EAAS,CACPrS,KAAM,iBAGqB,kBAAlBiS,EAASlS,KAMlBsS,EAAS,CACPrS,KAAM,YACN4S,QAPW,CACXC,YAAa,EACb9S,KAAM,CAAE+S,IAAK,wBACbC,OAAQ,cAM6B,IAA9Bd,EAASlS,KAAK8S,YACjBnS,EAAQ,CAAEe,OAAQ,QAASC,QAASuQ,EAASlS,KAAKA,KAAK+S,KAC7DT,EAAS1Q,YAAUjB,KAEnB2R,EAAS,CACPrS,KAAM,mBACN4S,QAASX,EAASlS,OA5EjB,yBAAAe,EAAAe,SAAArB,MAAP,gBAAAwS,EAAAC,GAAA,OAAAf,EAAA9J,MAAAzE,KAAAoE,YAAA","file":"static/js/63.a1ce41fb.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\";\nimport { getWorkDone } from \"../../actions/after-exam/workdonereport\";\nclass WorkDoneReport extends Component {\n state = {\n showtable: false,\n frmDeggrp: \"\",\n reportType: \"datewWiseValDet\",\n frmSubmit: false,\n rftype: \"PDF\",\n tcodefrom: \"0000\",\n tcodeto: \"zzzz\",\n vdatefrom: moment()\n .subtract(7, \"days\")\n .format(\"DD/MM/YYYY\"),\n vdateto: moment().format(\"DD/MM/YYYY\")\n };\n\n handleChange = (e, data) => {\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 handleSubmit = async () => {\n const { fdeggrp } = this.props.user;\n const { reportType } = this.state;\n await this.props.getWorkDone(\n this.state,\n this.props.user.fuserid,\n this.props.user.fcurtype\n );\n console.log(\"this.props.data.\", this.props.data2);\n if (this.props.data2 != []) {\n this.setState({ showtable: true });\n }\n\n if (fdeggrp === \"\") {\n const error = { header: \"Error\", content: \"Select Degree Group\" };\n this.props.showError(error);\n return;\n }\n // this.props.getReport(reportType, \"tables\", fdeggrp);\n this.setState({ frmSubmit: true });\n };\n\n handleReport = () => {\n const { fdeggrp, fcuruniv } = this.props.user;\n const {\n reportType,\n rftype,\n tcodefrom,\n tcodeto,\n vdatefrom,\n vdateto\n } = this.state;\n if (fdeggrp === \"\") {\n const error = { header: \"Error\", content: \"Select Degree Group\" };\n this.props.showError(error);\n return;\n }\n // var C = \" http://192.168.0.32/univadmin\n // / app.php ? a = teachWorkDone\n // & univcode=041 &\n // deggrp=UG &\n // tcodefrom=0000\n // & tcodeto=zzzz\n // & vdatefrom=13 / 11 / 2019 &\n // vdateto=20 / 11 / 2019 &\n // format=PDF & user=\"\"\n console.log(\n ReportAPI +\n \"teachWorkDone\" +\n \"&univcode=\" +\n fcuruniv +\n \"°grp=\" +\n fdeggrp +\n \"&tcodefrom=\" +\n tcodefrom +\n \"&tcodeto=\" +\n tcodeto +\n \"&vdatefrom=\" +\n vdatefrom +\n \"&vdateto=\" +\n vdateto +\n \"&format=PDF\",\n this.props.user.fuserid\n );\n\n if (this.props.user.fcurtype == \"600\") {\n window.open(\n ReportAPI +\n \"teachWorkDone\" +\n \"&univcode=\" +\n fcuruniv +\n \"°grp=\" +\n fdeggrp +\n \"&tcodefrom=\" +\n this.props.user.fuserid +\n \"&tcodeto=\" +\n this.props.user.fuserid +\n \"&vdatefrom=\" +\n vdatefrom +\n \"&vdateto=\" +\n vdateto +\n \"&format=PDF\" +\n \"&fcollcode=\" +\n this.props.user.fcollcode,\n \"_blank\"\n );\n } else if (parseInt(this.props.user.fcurtype) >= 500) {\n window.open(\n ReportAPI +\n \"teachWorkDone\" +\n \"&univcode=\" +\n fcuruniv +\n \"°grp=\" +\n fdeggrp +\n \"&tcodefrom=0000\" +\n \"&tcodeto=ZZZZ\" +\n \"&vdatefrom=\" +\n vdatefrom +\n \"&vdateto=\" +\n vdateto +\n \"&format=PDF\" +\n \"&fcollcode=\" +\n this.props.user.fcollcode,\n \"_blank\"\n );\n } else {\n window.open(\n ReportAPI +\n \"teachWorkDone\" +\n \"&univcode=\" +\n fcuruniv +\n \"°grp=\" +\n fdeggrp +\n \"&tcodefrom=0000\" +\n \"&tcodeto=ZZZZ\" +\n \"&vdatefrom=\" +\n vdatefrom +\n \"&vdateto=\" +\n vdateto +\n \"&format=PDF\",\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 renderHeader = () => {\n return (\n <Card.Header style={{ display: \"flex\" }}>\n <h3>Work Done Reports</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 } = this.state;\n\n const reporttypeOptions = [\n { value: \"datewWiseValDet\", text: \"Date Wise Valuation Details\" }\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 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 <Form.Group>\n <Form.Field width={8}>\n <label> Date Range </label>\n <InputMask\n formatChars={formatChars}\n type=\"text\"\n value={vdatefrom}\n mask=\"ed/nm/zyyy\"\n placeholder=\"Date From\"\n name=\"vdatefrom\"\n onChange={this.handleChangedate}\n />\n </Form.Field>\n <Form.Field width={8}>\n <InputMask\n formatChars={formatChars}\n type=\"text\"\n value={vdateto}\n mask=\"ed/nm/zyyy\"\n placeholder=\"To\"\n name=\"vdateto\"\n onChange={this.handleChangedate}\n style={{ marginTop: \"1.6em\" }}\n />\n </Form.Field>\n </Form.Group>\n\n <Button color=\"blue\" onClick={this.handleSubmit}>\n Submit\n </Button>\n <br />\n </Form>\n </div>\n {this.state.showtable && (\n <Table\n celled\n padded\n selectable\n size=\"small\"\n color=\"olive\"\n className=\"tbl sticky1\"\n >\n <Table.Header style={{ backgroundColor: \"bule !important\" }}>\n <Table.Row>\n <Table.HeaderCell\n style={{ width: \"5%\" }}\n singleLine\n textAlign=\"center\"\n rowSpan=\"2\"\n >\n Sl. No.\n </Table.HeaderCell>\n <Table.HeaderCell\n style={{ width: \"5%\" }}\n textAlign=\"center\"\n rowSpan=\"2\"\n >\n Date\n </Table.HeaderCell>\n <Table.HeaderCell\n style={{ width: \"5%\" }}\n textAlign=\"center\"\n rowSpan=\"2\"\n >\n Qp Code\n </Table.HeaderCell>\n <Table.HeaderCell\n style={{ width: \"20%\" }}\n textAlign=\"center\"\n rowSpan=\"2\"\n >\n Subject Name\n </Table.HeaderCell>\n\n {parseInt(this.props.user.fcurtype) < 600 && (\n <>\n <Table.HeaderCell\n style={{ width: \"5%\" }}\n textAlign=\"center\"\n rowSpan=\"2\"\n >\n Teacher Code\n </Table.HeaderCell>\n <Table.HeaderCell\n style={{ width: \"20%\" }}\n textAlign=\"center\"\n rowSpan=\"2\"\n >\n Teacher name\n </Table.HeaderCell>\n </>\n )}\n\n <Table.HeaderCell textAlign=\"center\" colSpan=\"2\">\n Valuation\n </Table.HeaderCell>\n <Table.HeaderCell textAlign=\"center\" colSpan=\"2\">\n Review\n </Table.HeaderCell>\n <Table.HeaderCell textAlign=\"center\" rowSpan=\"2\">\n Packets Numbers\n </Table.HeaderCell>\n </Table.Row>\n\n <Table.Row>\n <Table.HeaderCell\n style={{ width: \"7%\" }}\n textAlign=\"center\"\n >\n Pkts\n </Table.HeaderCell>\n\n <Table.HeaderCell\n style={{ width: \"7%\" }}\n textAlign=\"center\"\n >\n Scripts\n </Table.HeaderCell>\n\n <Table.HeaderCell\n style={{ width: \"7%\" }}\n textAlign=\"center\"\n >\n Pkts\n </Table.HeaderCell>\n <Table.HeaderCell\n style={{ width: \"7%\" }}\n textAlign=\"center\"\n >\n Scripts\n </Table.HeaderCell>\n </Table.Row>\n </Table.Header>\n <Table.Body>\n {this.props.data2.valdet.map((el, i) => {\n return (\n <Table.Row\n key={i}\n style={{ overflow: \"hidden\", textAlign: \"center\" }}\n >\n <Table.Cell textAlign=\"center\">{i + 1}</Table.Cell>\n <Table.Cell>{el.fdate}</Table.Cell>\n <Table.Cell>{el.fqpcode}</Table.Cell>\n <Table.Cell style={{ textAlign: \"left\" }}>\n {el.fsubname}\n </Table.Cell>\n {parseInt(this.props.user.fcurtype) < 600 && (\n <>\n <Table.Cell>{el.fvalcode}</Table.Cell>\n <Table.Cell style={{ textAlign: \"left\" }}>\n {el.fteachname}\n </Table.Cell>\n </>\n )}\n <Table.Cell>{el.fvpktcnt}</Table.Cell>\n <Table.Cell>{el.fvscriptcnt}</Table.Cell>\n <Table.Cell>{el.frvpktcnt}</Table.Cell>\n <Table.Cell>{el.frscriptcnt}</Table.Cell>\n <Table.Cell style={{ textAlign: \"left\" }}>\n {el.fpkts}\n </Table.Cell>\n </Table.Row>\n );\n })}\n </Table.Body>\n </Table>\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 getWorkDone\n }\n)(WorkDoneReport);\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;","import univadmin from \"../../apis/univadmin\";\nimport { showError } from \"../index\";\n\nexport const getWorkDone = (paramsval, techercode, fcurtype) => {\n var response = {};\n return async function(dispatch, getState) {\n const state = getState();\n console.log(\"params\", paramsval, techercode);\n dispatch({\n type: \"SET_LOADER\"\n });\n if (fcurtype == \"600\") {\n response = await univadmin.get(\n \"/app.php?a=teachworkapi&univcode=\" +\n state.univ.funivcode +\n \"°grp=UG\" +\n \"&tcodefrom=\" +\n techercode +\n \"&tcodeto=\" +\n techercode +\n \"&vdatefrom=\" +\n paramsval.vdatefrom +\n \"&vdateto=\" +\n paramsval.vdateto +\n \"&format=PDF\" +\n \"&fcollcode=\" +\n state.user.fcollcode\n );\n }\n if (fcurtype == \"500\") {\n response = await univadmin.get(\n \"/app.php?a=teachworkapi&univcode=\" +\n state.univ.funivcode +\n \"°grp=UG\" +\n \"&tcodefrom=0000\" +\n \"&tcodeto=zzzz\" +\n \"&vdatefrom=\" +\n paramsval.vdatefrom +\n \"&vdateto=\" +\n paramsval.vdateto +\n \"&format=PDF\" +\n \"&fcollcode=\" +\n state.user.fcollcode\n );\n } else if (fcurtype != \"600\") {\n response = await univadmin.get(\n \"/app.php?a=teachworkapi&univcode=\" +\n state.univ.funivcode +\n \"°grp=UG\" +\n \"&tcodefrom=\" +\n paramsval.tcodefrom +\n \"&tcodeto=\" +\n paramsval.tcodeto +\n \"&vdatefrom=\" +\n paramsval.vdatefrom +\n \"&vdateto=\" +\n paramsval.vdateto +\n \"&format=PDF\" +\n \"&user=\"\n );\n }\n dispatch({\n type: \"UNSET_LOADER\"\n });\n\n if (typeof response.data !== \"object\") {\n const data = {\n error_code: -1,\n data: { msg: \"Something went wrong\" },\n status: \"failure\"\n };\n dispatch({\n type: \"SET_ERROR\",\n payload: data\n });\n } else if (response.data.error_code === -1) {\n const error = { header: \"Error\", content: response.data.data.msg };\n dispatch(showError(error));\n } else {\n dispatch({\n type: \"WORK_DONE_REPORT\",\n payload: response.data\n });\n }\n };\n};\n"],"sourceRoot":""}
|