0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 18.119.135.67


Current Path : /var/www/egov/build/static/js/
Upload File :
Current File : /var/www/egov/build/static/js/205.fc8af159.chunk.js

(window.webpackJsonp=window.webpackJsonp||[]).push([[205],{1209:function(e,t,n){"use strict";n.r(t);var a=n(0),o=n(100),r=n(101),l=n(103),s=n(102),i=n(104),u=n(2),c=n.n(u),f=n(941),p=n(1377),h=n(1343),d=n(272),m=n(1335),g=n(1337),v=n(105),k=n(274),w=n(267),C=(n(275),n(273)),S=(n(287),function(e){function t(){var e,n;Object(o.a)(this,t);for(var r=arguments.length,i=new Array(r),u=0;u<r;u++)i[u]=arguments[u];return(n=Object(l.a)(this,(e=Object(s.a)(t)).call.apply(e,[this].concat(i)))).state={frmSubmit:!1,rftype:"PDF",fcolfrom:"0",fcolto:"ZZZZ",fdegfrom:"0",fdegto:"ZZZZ",fdeggrpfrom:"",fdeggrpto:"",reportType:"Regnowise"},n.handleChange=function(e,t){switch("reportType"!=t.name&&(t.value=t.value.toUpperCase()),t.type){case"text":n.setState(Object(a.a)({},t.name,t.value));default:n.setState(Object(a.a)({},t.name,t.value))}n.setState({frmSubmit:!1})},n.handleReport=function(){var e=n.props.user,t=(e.fdeggrp,e.fcuruniv),a=n.state,o=a.reportType,r=a.rftype,l=a.fcolfrom,s=a.fcolto,i=a.fdegfrom,u=a.fdegto,c=a.fdeggrpfrom,f=a.fdeggrpto;"Regnowise"==o?window.open(k.c+"iaPendingReportRegNoWise&univcode="+t+"&fdeggrpfrom="+c+"&fdeggrpto="+f+"&rftype="+r+"&fcolfrom="+l+"&fcolto="+s+"&fdegfrom="+i+"&fdegto="+u,"_blank"):window.open(k.c+"IAPendingDetails&univcode="+t+"&fdeggrpfrom="+c+"&fdeggrpto="+f+"&fcollfrom="+l+"&fcollto="+s+"&fdegfrom="+i+"&fdegto="+u,"_blank")},n.handleChangedate=function(e){n.setState(Object(a.a)({},e.target.name,e.target.value))},n.handleCancel=function(){n.setState({reportType:"",reportFormat:"",frmDeggrp:""})},n.componentDidMount=function(){var e=n.props.user,t=e.fdeggrp;e.fcuruniv;n.setState({fdeggrpfrom:t,fdeggrpto:t})},n.handleFromChange=function(e,t){var a=e.target.name,o=e.target.value;"fdegfrom"!=a&&"fcolfrom"!=a&&"fdeggrpfrom"!=a||("fdegfrom"==a&&("0"==o?n.setState({fdegto:"ZZZZ"}):n.setState({fdegto:o})),"fcolfrom"==a&&("0"==o?n.setState({fcolto:"ZZZZ"}):n.setState({fcolto:o})),"fdeggrpfrom"==a&&("0"==o?n.setState({fdeggrpto:"ZZZZ"}):n.setState({fdeggrpto:o})))},n.renderHeader=function(){return c.a.createElement(p.a.Header,{style:{display:"flex"}},c.a.createElement("h3",null,"IA Marks Pending Report"),c.a.createElement("div",{className:"ml-auto"},c.a.createElement(h.a,{basic:!0,color:"blue",onClick:n.handleReport,content:"Report",icon:"file"}),c.a.createElement(h.a,{basic:!0,color:"black",icon:"ban",onClick:n.handleCancel,content:"Cancel"}),c.a.createElement(f.a,{to:"/dashboard"},c.a.createElement(h.a,{basic:!0,color:"red",content:"Exit",icon:"home"}))))},n}return Object(i.a)(t,e),Object(r.a)(t,[{key:"render",value:function(){var e=this.state,t=(e.frmSubmit,e.reportType),n=(e.rftype,e.tcodefrom,e.tcodeto,e.vdatefrom,e.vdateto,e.fcolfrom),a=e.fcolto,o=e.fdegfrom,r=e.fdegto,l=e.fdeggrpfrom,s=e.fdeggrpto,i=Object(C.i)();return c.a.createElement("div",{className:"animated fadeIn"},c.a.createElement(p.a,{fluid:!0},c.a.createElement(p.a.Content,null,this.renderHeader(),c.a.createElement(d.a,null),c.a.createElement(p.a.Description,{style:{overflowY:"auto",height:"".concat(i,"px")}},c.a.createElement("div",{className:"col-md-6"},c.a.createElement(m.a,null,c.a.createElement(m.a.Field,null,c.a.createElement("label",null,"Report Type"),c.a.createElement(g.a,{placeholder:"Select Report Type",name:"reportType",value:t,selection:!0,search:!0,options:[{value:"Regnowise",text:"IA Pending Report (Regnowise)"},{value:"Detail",text:"IA Pending Report (Detail)"}],onChange:this.handleChange})),c.a.createElement(m.a.Group,null,c.a.createElement(m.a.Input,{placeholder:"From",value:l,width:8,name:"fdeggrpfrom",onChange:this.handleChange,onBlur:this.handleFromChange,maxLength:"5",label:"Degree Group Range"}),c.a.createElement(m.a.Input,{placeholder:"To",name:"fdeggrpto",value:s,width:8,onChange:this.handleChange,maxLength:"5",style:{marginTop:"1.6em"}})),c.a.createElement(m.a.Group,null,c.a.createElement(m.a.Input,{placeholder:"From",value:n,width:8,name:"fcolfrom",onChange:this.handleChange,onBlur:this.handleFromChange,maxLength:"5",label:"College Range"}),c.a.createElement(m.a.Input,{placeholder:"To",name:"fcolto",value:a,width:8,onChange:this.handleChange,maxLength:"5",style:{marginTop:"1.6em"}})),c.a.createElement(m.a.Group,null,c.a.createElement(m.a.Input,{placeholder:"From",value:o,width:8,name:"fdegfrom",onChange:this.handleChange,onBlur:this.handleFromChange,maxLength:"5",label:"Degree Range"}),c.a.createElement(m.a.Input,{placeholder:"To",name:"fdegto",value:r,width:8,onChange:this.handleChange,maxLength:"5",style:{marginTop:"1.6em"}}))))))))}}]),t}(u.Component));t.default=Object(v.b)(function(e){return{user:e.user,data2:e.allworkDOneReport}},{showError:w.A})(S)},275:function(e,t,n){e.exports=n(276)},276:function(e,t,n){"use strict";var a,o=(a=n(2))&&"object"==typeof a&&"default"in a?a.default:a,r=n(106);function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}function s(e,t){e.prototype=Object.create(t.prototype),function(e,t){for(var n=Object.getOwnPropertyNames(t),a=0;a<n.length;a++){var o=n[a],r=Object.getOwnPropertyDescriptor(t,o);r&&r.configurable&&void 0===e[o]&&Object.defineProperty(e,o,r)}}(e.prototype.constructor=e,t)}function i(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var u=function(e,t,n,a,o,r,l,s){if(!e){var i;if(void 0===t)i=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,a,o,r,l,s],c=0;(i=new Error(t.replace(/%s/g,function(){return u[c++]}))).name="Invariant Violation"}throw i.framesToPop=1,i}};function c(e,t,n){if("selectionStart"in e&&"selectionEnd"in e)e.selectionStart=t,e.selectionEnd=n;else{var a=e.createTextRange();a.collapse(!0),a.moveStart("character",t),a.moveEnd("character",n-t),a.select()}}var f={9:"[0-9]",a:"[A-Za-z]","*":"[A-Za-z0-9]"},p="_";function h(e,t,n){var a="",o="",r=null,l=[];if(void 0===t&&(t=p),null==n&&(n=f),!e||"string"!=typeof e)return{maskChar:t,formatChars:n,mask:null,prefix:null,lastEditablePosition:null,permanents:[]};var s=!1;return e.split("").forEach(function(e){s=!s&&"\\"===e||(s||!n[e]?(l.push(a.length),a.length===l.length-1&&(o+=e)):r=a.length+1,a+=e,!1)}),{maskChar:t,formatChars:n,prefix:o,mask:a,lastEditablePosition:r,permanents:l}}function d(e,t){return-1!==e.permanents.indexOf(t)}function m(e,t,n){var a=e.mask,o=e.formatChars;if(!n)return!1;if(d(e,t))return a[t]===n;var r=o[a[t]];return new RegExp(r).test(n)}function g(e,t){return t.split("").every(function(t,n){return d(e,n)||!m(e,n,t)})}function v(e,t){var n=e.maskChar,a=e.prefix;if(!n){for(;t.length>a.length&&d(e,t.length-1);)t=t.slice(0,t.length-1);return t.length}for(var o=a.length,r=t.length;r>=a.length;r--){var l=t[r];if(!d(e,r)&&m(e,r,l)){o=r+1;break}}return o}function k(e,t){return v(e,t)===e.mask.length}function w(e,t){var n=e.maskChar,a=e.mask,o=e.prefix;if(!n){for((t=C(e,"",t,0)).length<o.length&&(t=o);t.length<a.length&&d(e,t.length);)t+=a[t.length];return t}if(t)return C(e,w(e,""),t,0);for(var r=0;r<a.length;r++)d(e,r)?t+=a[r]:t+=n;return t}function C(e,t,n,a){var o=e.mask,r=e.maskChar,l=e.prefix,s=n.split(""),i=k(e,t);return!r&&a>t.length&&(t+=o.slice(t.length,a)),s.every(function(n){for(;c=n,d(e,u=a)&&c!==o[u];){if(a>=t.length&&(t+=o[a]),s=n,r&&d(e,a)&&s===r)return!0;if(++a>=o.length)return!1}var s,u,c;return!m(e,a,n)&&n!==r||(a<t.length?t=r||i||a<l.length?t.slice(0,a)+n+t.slice(a+1):(t=t.slice(0,a)+n+t.slice(a),w(e,t)):r||(t+=n),++a<o.length)}),t}function S(e,t){for(var n=e.mask,a=t;a<n.length;++a)if(!d(e,a))return a;return null}function O(e){return e||0===e?e+"":""}function b(e,t,n,a,o){var r=e.mask,l=e.prefix,s=e.lastEditablePosition,i=t,u="",c=0,f=0,p=Math.min(o.start,n.start);return n.end>o.start?f=(c=function(e,t,n,a){var o=e.mask,r=e.maskChar,l=n.split(""),s=a;return l.every(function(t){for(;l=t,d(e,n=a)&&l!==o[n];)if(++a>=o.length)return!1;var n,l;return(m(e,a,t)||t===r)&&a++,a<o.length}),a-s}(e,0,u=i.slice(o.start,n.end),p))?o.length:0:i.length<a.length&&(f=a.length-i.length),i=a,f&&(1!==f||o.length||(p=o.start===n.start?S(e,n.start):function(e,t){for(var n=t;0<=n;--n)if(!d(e,n))return n;return null}(e,n.start)),i=function(e,t,n,a){var o=n+a,r=e.maskChar,l=e.mask,s=e.prefix,i=t.split("");if(r)return i.map(function(t,a){return a<n||o<=a?t:d(e,a)?l[a]:r}).join("");for(var u=o;u<i.length;u++)d(e,u)&&(i[u]="");return n=Math.max(s.length,n),i.splice(n,o-n),t=i.join(""),w(e,t)}(e,i,p,f)),i=C(e,i,u,p),(p+=c)>=r.length?p=r.length:p<l.length&&!c?p=l.length:p>=l.length&&p<s&&c&&(p=S(e,p)),u||(u=null),{value:i=w(e,i),enteredString:u,selection:{start:p,end:p}}}function E(e){return"function"==typeof e}function y(){return window.cancelAnimationFrame||window.webkitCancelRequestAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame}function I(e){return(y()?window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame:function(){return setTimeout(e,1e3/60)})(e)}function D(e){(y()||clearTimeout)(e)}var M=function(e){function t(t){var n=e.call(this,t)||this;n.focused=!1,n.mounted=!1,n.previousSelection=null,n.selectionDeferId=null,n.saveSelectionLoopDeferId=null,n.saveSelectionLoop=function(){n.previousSelection=n.getSelection(),n.saveSelectionLoopDeferId=I(n.saveSelectionLoop)},n.runSaveSelectionLoop=function(){null===n.saveSelectionLoopDeferId&&n.saveSelectionLoop()},n.stopSaveSelectionLoop=function(){null!==n.saveSelectionLoopDeferId&&(D(n.saveSelectionLoopDeferId),n.saveSelectionLoopDeferId=null,n.previousSelection=null)},n.getInputDOMNode=function(){if(!n.mounted)return null;var e=r.findDOMNode(i(i(n))),t="undefined"!=typeof window&&e instanceof window.Element;if(e&&!t)return null;if("INPUT"!==e.nodeName&&(e=e.querySelector("input")),!e)throw new Error("react-input-mask: inputComponent doesn't contain input node");return e},n.getInputValue=function(){var e=n.getInputDOMNode();return e?e.value:null},n.setInputValue=function(e){var t=n.getInputDOMNode();t&&(n.value=e,t.value=e)},n.setCursorToEnd=function(){var e=v(n.maskOptions,n.value),t=S(n.maskOptions,e);null!==t&&n.setCursorPosition(t)},n.setSelection=function(e,t,a){void 0===a&&(a={});var o=n.getInputDOMNode(),r=n.isFocused();o&&r&&(a.deferred||c(o,e,t),null!==n.selectionDeferId&&D(n.selectionDeferId),n.selectionDeferId=I(function(){n.selectionDeferId=null,c(o,e,t)}),n.previousSelection={start:e,end:t,length:Math.abs(t-e)})},n.getSelection=function(){return function(e){var t=0,n=0;if("selectionStart"in e&&"selectionEnd"in e)t=e.selectionStart,n=e.selectionEnd;else{var a=document.selection.createRange();a.parentElement()===e&&(t=-a.moveStart("character",-e.value.length),n=-a.moveEnd("character",-e.value.length))}return{start:t,end:n,length:n-t}}(n.getInputDOMNode())},n.getCursorPosition=function(){return n.getSelection().start},n.setCursorPosition=function(e){n.setSelection(e,e)},n.isFocused=function(){return n.focused},n.getBeforeMaskedValueChangeConfig=function(){var e=n.maskOptions,t=e.mask,a=e.maskChar,o=e.permanents,r=e.formatChars;return{mask:t,maskChar:a,permanents:o,alwaysShowMask:!!n.props.alwaysShowMask,formatChars:r}},n.isInputAutofilled=function(e,t,a,o){var r=n.getInputDOMNode();try{if(r.matches(":-webkit-autofill"))return!0}catch(u){}return!n.focused||o.end<a.length&&t.end===e.length},n.onChange=function(e){var t=i(i(n)).beforePasteState,a=i(i(n)).previousSelection,o=n.props.beforeMaskedValueChange,r=n.getInputValue(),l=n.value,s=n.getSelection();n.isInputAutofilled(r,s,l,a)&&(l=w(n.maskOptions,""),a={start:0,end:0,length:0}),t&&(a=t.selection,l=t.value,s={start:a.start+r.length,end:a.start+r.length,length:0},r=l.slice(0,a.start)+r+l.slice(a.end),n.beforePasteState=null);var u=b(n.maskOptions,r,s,l,a),c=u.enteredString,f=u.selection,p=u.value;if(E(o)){var h=o({value:p,selection:f},{value:l,selection:a},c,n.getBeforeMaskedValueChangeConfig());p=h.value,f=h.selection}n.setInputValue(p),E(n.props.onChange)&&n.props.onChange(e),n.isWindowsPhoneBrowser?n.setSelection(f.start,f.end,{deferred:!0}):n.setSelection(f.start,f.end)},n.onFocus=function(e){var t=n.props.beforeMaskedValueChange,a=n.maskOptions,o=a.mask,r=a.prefix;if(n.focused=!0,n.mounted=!0,o){if(n.value)v(n.maskOptions,n.value)<n.maskOptions.mask.length&&n.setCursorToEnd();else{var l=w(n.maskOptions,r),s=w(n.maskOptions,l),i=v(n.maskOptions,s),u=S(n.maskOptions,i),c={start:u,end:u};if(E(t)){var f=t({value:s,selection:c},{value:n.value,selection:null},null,n.getBeforeMaskedValueChangeConfig());s=f.value,c=f.selection}var p=s!==n.getInputValue();p&&n.setInputValue(s),p&&E(n.props.onChange)&&n.props.onChange(e),n.setSelection(c.start,c.end)}n.runSaveSelectionLoop()}E(n.props.onFocus)&&n.props.onFocus(e)},n.onBlur=function(e){var t=n.props.beforeMaskedValueChange,a=n.maskOptions.mask;if(n.stopSaveSelectionLoop(),n.focused=!1,a&&!n.props.alwaysShowMask&&g(n.maskOptions,n.value)){var o="";E(t)&&(o=t({value:o,selection:null},{value:n.value,selection:n.previousSelection},null,n.getBeforeMaskedValueChangeConfig()).value);var r=o!==n.getInputValue();r&&n.setInputValue(o),r&&E(n.props.onChange)&&n.props.onChange(e)}E(n.props.onBlur)&&n.props.onBlur(e)},n.onMouseDown=function(e){if(!n.focused&&document.addEventListener){n.mouseDownX=e.clientX,n.mouseDownY=e.clientY,n.mouseDownTime=(new Date).getTime();document.addEventListener("mouseup",function e(t){if(document.removeEventListener("mouseup",e),n.focused){var a=Math.abs(t.clientX-n.mouseDownX),o=Math.abs(t.clientY-n.mouseDownY),r=Math.max(a,o),l=(new Date).getTime()-n.mouseDownTime;(r<=10&&l<=200||r<=5&&l<=300)&&n.setCursorToEnd()}})}E(n.props.onMouseDown)&&n.props.onMouseDown(e)},n.onPaste=function(e){E(n.props.onPaste)&&n.props.onPaste(e),e.defaultPrevented||(n.beforePasteState={value:n.getInputValue(),selection:n.getSelection()},n.setInputValue(""))},n.handleRef=function(e){null==n.props.children&&E(n.props.inputRef)&&n.props.inputRef(e)};var a=t.mask,o=t.maskChar,l=t.formatChars,s=t.alwaysShowMask,u=t.beforeMaskedValueChange,f=t.defaultValue,p=t.value;n.maskOptions=h(a,o,l),null==f&&(f=""),null==p&&(p=f);var d=O(p);if(n.maskOptions.mask&&(s||d)&&(d=w(n.maskOptions,d),E(u))){var m=t.value;null==t.value&&(m=f),d=u({value:d,selection:null},{value:m=O(m),selection:null},null,n.getBeforeMaskedValueChangeConfig()).value}return n.value=d,n}s(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.getInputDOMNode()&&(this.isWindowsPhoneBrowser=function(){var e=new RegExp("windows","i"),t=new RegExp("phone","i"),n=navigator.userAgent;return e.test(n)&&t.test(n)}(),this.maskOptions.mask&&this.getInputValue()!==this.value&&this.setInputValue(this.value))},n.componentDidUpdate=function(){var e=this.previousSelection,t=this.props,n=t.beforeMaskedValueChange,a=t.alwaysShowMask,o=t.mask,r=t.maskChar,l=t.formatChars,s=this.maskOptions,i=a||this.isFocused(),u=null!=this.props.value,c=u?O(this.props.value):this.value,f=e?e.start:null;if(this.maskOptions=h(o,r,l),this.maskOptions.mask){!s.mask&&this.isFocused()&&this.runSaveSelectionLoop();var p=this.maskOptions.mask&&this.maskOptions.mask!==s.mask;if(s.mask||u||(c=this.getInputValue()),(p||this.maskOptions.mask&&(c||i))&&(c=w(this.maskOptions,c)),p){var d=v(this.maskOptions,c);(null===f||d<f)&&(f=k(this.maskOptions,c)?d:S(this.maskOptions,d))}!this.maskOptions.mask||!g(this.maskOptions,c)||i||u&&this.props.value||(c="");var m={start:f,end:f};if(E(n)){var C=n({value:c,selection:m},{value:this.value,selection:this.previousSelection},null,this.getBeforeMaskedValueChangeConfig());c=C.value,m=C.selection}this.value=c;var b=this.getInputValue()!==this.value;b?(this.setInputValue(this.value),this.forceUpdate()):p&&this.forceUpdate();var y=!1;null!=m.start&&null!=m.end&&(y=!e||e.start!==m.start||e.end!==m.end),(y||b)&&this.setSelection(m.start,m.end)}else s.mask&&(this.stopSaveSelectionLoop(),this.forceUpdate())},n.componentWillUnmount=function(){this.mounted=!1,null!==this.selectionDeferId&&D(this.selectionDeferId),this.stopSaveSelectionLoop()},n.render=function(){var e,t=this.props,n=(t.mask,t.alwaysShowMask,t.maskChar,t.formatChars,t.inputRef,t.beforeMaskedValueChange,t.children),a=function(e,t){if(null==e)return{};var n,a,o={},r=Object.keys(e);for(a=0;a<r.length;a++)n=r[a],0<=t.indexOf(n)||(o[n]=e[n]);return o}(t,["mask","alwaysShowMask","maskChar","formatChars","inputRef","beforeMaskedValueChange","children"]);if(n){E(n)||u(!1);var r=["onChange","onPaste","onMouseDown","onFocus","onBlur","value","disabled","readOnly"],s=l({},a);r.forEach(function(e){return delete s[e]}),e=n(s),r.filter(function(t){return null!=e.props[t]&&e.props[t]!==a[t]}).length&&u(!1)}else e=o.createElement("input",l({ref:this.handleRef},a));var i={onFocus:this.onFocus,onBlur:this.onBlur};return this.maskOptions.mask&&(a.disabled||a.readOnly||(i.onChange=this.onChange,i.onPaste=this.onPaste,i.onMouseDown=this.onMouseDown),null!=a.value&&(i.value=this.value)),e=o.cloneElement(e,i)},t}(o.Component);e.exports=M}}]);
//# sourceMappingURL=205.fc8af159.chunk.js.map