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.226.34.148


Current Path : /var/www/egov/build/static/js/
Upload File :
Current File : /var/www/egov/build/static/js/230.82c0c1fa.chunk.js

(window.webpackJsonp=window.webpackJsonp||[]).push([[230],{1369:function(t,e,r){"use strict";r.r(e);var n=r(3),a=r(0),o=r(68),c=r(100),i=r(101),u=r(103),l=r(102),s=r(104),p=r(2),f=r.n(p),h=r(941),d=r(1377),y=r(1343),v=r(272),g=r(1335),m=r(1337),w=r(105),E=r(274),b=r(267),x=r(271);function L(){L=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,a=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},c=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var o=e&&e.prototype instanceof g?e:g,c=Object.create(o.prototype),i=new k(n||[]);return a(c,"_invoke",{value:S(t,r,i)}),c}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var f="suspendedStart",h="suspendedYield",d="executing",y="completed",v={};function g(){}function m(){}function w(){}var E={};l(E,c,function(){return this});var b=Object.getPrototypeOf,x=b&&b(b(D([])));x&&x!==r&&n.call(x,c)&&(E=x);var O=w.prototype=g.prototype=Object.create(E);function j(t){["next","throw","return"].forEach(function(e){l(t,e,function(t){return this._invoke(e,t)})})}function _(t,e){function r(a,o,c,i){var u=p(t[a],t,o);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==typeof s&&n.call(s,"__await")?e.resolve(s.__await).then(function(t){r("next",t,c,i)},function(t){r("throw",t,c,i)}):e.resolve(s).then(function(t){l.value=t,c(l)},function(t){return r("throw",t,c,i)})}i(u.arg)}var o;a(this,"_invoke",{value:function(t,n){function a(){return new e(function(e,a){r(t,n,e,a)})}return o=o?o.then(a,a):a()}})}function S(e,r,n){var a=f;return function(o,c){if(a===d)throw new Error("Generator is already running");if(a===y){if("throw"===o)throw c;return{value:t,done:!0}}for(n.method=o,n.arg=c;;){var i=n.delegate;if(i){var u=A(i,n);if(u){if(u===v)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===f)throw a=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=d;var l=p(e,r,n);if("normal"===l.type){if(a=n.done?y:h,l.arg===v)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(a=y,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,a=e.iterator[n];if(a===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var o=p(a,e.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,v;var c=o.arg;return c?c.done?(r[e.resultName]=c.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,v):c:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function C(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function D(e){if(e||""===e){var r=e[c];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var a=-1,o=function r(){for(;++a<e.length;)if(n.call(e,a))return r.value=e[a],r.done=!1,r;return r.value=t,r.done=!0,r};return o.next=o}}throw new TypeError(typeof e+" is not iterable")}return m.prototype=w,a(O,"constructor",{value:w,configurable:!0}),a(w,"constructor",{value:m,configurable:!0}),m.displayName=l(w,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,w):(t.__proto__=w,l(t,u,"GeneratorFunction")),t.prototype=Object.create(O),t},e.awrap=function(t){return{__await:t}},j(_.prototype),l(_.prototype,i,function(){return this}),e.AsyncIterator=_,e.async=function(t,r,n,a,o){void 0===o&&(o=Promise);var c=new _(s(t,r,n,a),o);return e.isGeneratorFunction(r)?c:c.next().then(function(t){return t.done?t.value:c.next()})},j(O),l(O,u,"Generator"),l(O,c,function(){return this}),l(O,"toString",function(){return"[object Generator]"}),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=D,k.prototype={constructor:k,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(C),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function a(n,a){return i.type="throw",i.arg=e,r.next=n,a&&(r.method="next",r.arg=t),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var c=this.tryEntries[o],i=c.completion;if("root"===c.tryLoc)return a("end");if(c.tryLoc<=this.prev){var u=n.call(c,"catchLoc"),l=n.call(c,"finallyLoc");if(u&&l){if(this.prev<c.catchLoc)return a(c.catchLoc,!0);if(this.prev<c.finallyLoc)return a(c.finallyLoc)}else if(u){if(this.prev<c.catchLoc)return a(c.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<c.finallyLoc)return a(c.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var c=o?o.completion:{};return c.type=t,c.arg=e,o?(this.method="next",this.next=o.finallyLoc,v):this.complete(c)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),C(r),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var a=n.arg;C(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:D(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),v}},e}var O=function(t,e){return function(){var r=Object(o.a)(L().mark(function r(n,a){var o,c,i,u;return L().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return o=a(),n({type:"SET_LOADER"}),r.next=4,x.a.get("/app.php",{params:{a:"valuatordet",univcode:o.univ.funivcode,techfrom:t.tcodefrom,teachto:t.tcodeto,collfrom:t.vdatefrom,collto:t.vdateto,type:t.reportType,user:e,board:t.boardType,coll:t.college}});case 4:c=r.sent,n({type:"UNSET_LOADER"}),"object"!==typeof c.data?(i={header:"Error",content:"Something went wrong"},n(Object(b.A)(i))):-1===c.data.error_code?(u={header:"Error",content:c.data.data.msg},n(Object(b.A)(u))):n({type:"GET_NOT_VAL",payload:c.data.data});case 7:case"end":return r.stop()}},r)}));return function(t,e){return r.apply(this,arguments)}}()},j=r(370),_=(r(275),r(273)),S=(r(287),r(1155)),A=r(1338),T=function(t){function e(){var t,r;Object(c.a)(this,e);for(var n=arguments.length,a=new Array(n),o=0;o<n;o++)a[o]=arguments[o];return(r=Object(u.a)(this,(t=Object(l.a)(e)).call.apply(t,[this].concat(a)))).state={qpstat:[],searchVal:""},r.searchTable=function(t,e){var n=e.value,a=r.props.qpstat.valuatordet.filter(function(t){return Object.keys(t).some(function(e){return t[e].toLowerCase().includes(n.toLowerCase())})});r.setState({qpstat:a,searchVal:e.value})},r}return Object(s.a)(e,t),Object(i.a)(e,[{key:"componentDidMount",value:function(){this.setState({qpstat:this.props.qpstat.valuatordet,searchVal:""})}},{key:"componentDidUpdate",value:function(t){this.props.qpstat!==t.qpstat&&this.setState({qpstat:this.props.qpstat,searchVal:""})}},{key:"render",value:function(){var t=this.props.qpstat.valuatordet;return f.a.createElement("div",null,f.a.createElement("div",{style:{margin:"1em 0em",backgroundColor:"white"},className:"stick"},f.a.createElement(S.a,{icon:"search",fluid:!0,placeholder:"Search...",value:this.state.searchVal,onChange:this.searchTable})),f.a.createElement(A.a,{celled:!0,compact:!0},f.a.createElement(A.a.Header,null," ",f.a.createElement(f.a.Fragment,null,f.a.createElement(A.a.Row,null,f.a.createElement(A.a.HeaderCell,{style:{width:"0.1%"},singleLine:!0,rowSpan:"2",textAlign:"center"},"Sl. No."),f.a.createElement(A.a.HeaderCell,{style:{width:"15%"},rowSpan:"2",textAlign:"center"},"Board Name"),f.a.createElement(A.a.HeaderCell,{style:{width:"3%"},rowSpan:"2",textAlign:"center"},"Teacher Code"),f.a.createElement(A.a.HeaderCell,{style:{width:"10%"},rowSpan:"2",textAlign:"center"},"Teacher Name"),f.a.createElement(A.a.HeaderCell,{style:{width:"3%"},rowSpan:"2",textAlign:"center"},"Gender"),f.a.createElement(A.a.HeaderCell,{style:{width:"7%"},rowSpan:"2",textAlign:"center"},"Scale"),f.a.createElement(A.a.HeaderCell,{style:{width:"7%"},rowSpan:"2",textAlign:"center"},"Contact No."),f.a.createElement(A.a.HeaderCell,{style:{width:"2%"},rowSpan:"2",textAlign:"center"},"E-mail ID"),f.a.createElement(A.a.HeaderCell,{style:{width:"30%"},rowSpan:"2",textAlign:"center"},"College Name")))),f.a.createElement(A.a.Body,null,t.map(function(t,e){return f.a.createElement(A.a.Row,{key:e},f.a.createElement(A.a.Cell,{textAlign:"center"},e+1),f.a.createElement(A.a.Cell,{textAlign:"left"},t.fboard+"-"+t.fboardname),f.a.createElement(A.a.Cell,{textAlign:"center"},t.fteachcode),f.a.createElement(A.a.Cell,{textAlign:"left"},t.fteachname),f.a.createElement(A.a.Cell,{textAlign:"center"},t.fgender),f.a.createElement(A.a.Cell,{textAlign:"center"},t.fscale),f.a.createElement(A.a.Cell,{textAlign:"center"},t.fmobile),f.a.createElement(A.a.Cell,{textAlign:"left"},t.femail),f.a.createElement(A.a.Cell,null,t.fcollcode+"-"+t.fcollname))}))))}}]),e}(p.Component),C=Object(w.b)(function(t){return{qpstat:t.getNotvalData,user:t.user}},{showError:b.A,getNotval:O})(T);r(1067);function k(){k=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,a=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},c=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function s(t,e,r,n){var o=e&&e.prototype instanceof g?e:g,c=Object.create(o.prototype),i=new C(n||[]);return a(c,"_invoke",{value:_(t,r,i)}),c}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=s;var f="suspendedStart",h="suspendedYield",d="executing",y="completed",v={};function g(){}function m(){}function w(){}var E={};l(E,c,function(){return this});var b=Object.getPrototypeOf,x=b&&b(b(D([])));x&&x!==r&&n.call(x,c)&&(E=x);var L=w.prototype=g.prototype=Object.create(E);function O(t){["next","throw","return"].forEach(function(e){l(t,e,function(t){return this._invoke(e,t)})})}function j(t,e){function r(a,o,c,i){var u=p(t[a],t,o);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==typeof s&&n.call(s,"__await")?e.resolve(s.__await).then(function(t){r("next",t,c,i)},function(t){r("throw",t,c,i)}):e.resolve(s).then(function(t){l.value=t,c(l)},function(t){return r("throw",t,c,i)})}i(u.arg)}var o;a(this,"_invoke",{value:function(t,n){function a(){return new e(function(e,a){r(t,n,e,a)})}return o=o?o.then(a,a):a()}})}function _(e,r,n){var a=f;return function(o,c){if(a===d)throw new Error("Generator is already running");if(a===y){if("throw"===o)throw c;return{value:t,done:!0}}for(n.method=o,n.arg=c;;){var i=n.delegate;if(i){var u=S(i,n);if(u){if(u===v)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===f)throw a=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=d;var l=p(e,r,n);if("normal"===l.type){if(a=n.done?y:h,l.arg===v)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(a=y,n.method="throw",n.arg=l.arg)}}}function S(e,r){var n=r.method,a=e.iterator[n];if(a===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,S(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var o=p(a,e.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,v;var c=o.arg;return c?c.done?(r[e.resultName]=c.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,v):c:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function A(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function C(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function D(e){if(e||""===e){var r=e[c];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var a=-1,o=function r(){for(;++a<e.length;)if(n.call(e,a))return r.value=e[a],r.done=!1,r;return r.value=t,r.done=!0,r};return o.next=o}}throw new TypeError(typeof e+" is not iterable")}return m.prototype=w,a(L,"constructor",{value:w,configurable:!0}),a(w,"constructor",{value:m,configurable:!0}),m.displayName=l(w,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,w):(t.__proto__=w,l(t,u,"GeneratorFunction")),t.prototype=Object.create(L),t},e.awrap=function(t){return{__await:t}},O(j.prototype),l(j.prototype,i,function(){return this}),e.AsyncIterator=j,e.async=function(t,r,n,a,o){void 0===o&&(o=Promise);var c=new j(s(t,r,n,a),o);return e.isGeneratorFunction(r)?c:c.next().then(function(t){return t.done?t.value:c.next()})},O(L),l(L,u,"Generator"),l(L,c,function(){return this}),l(L,"toString",function(){return"[object Generator]"}),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=D,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(T),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function a(n,a){return i.type="throw",i.arg=e,r.next=n,a&&(r.method="next",r.arg=t),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var c=this.tryEntries[o],i=c.completion;if("root"===c.tryLoc)return a("end");if(c.tryLoc<=this.prev){var u=n.call(c,"catchLoc"),l=n.call(c,"finallyLoc");if(u&&l){if(this.prev<c.catchLoc)return a(c.catchLoc,!0);if(this.prev<c.finallyLoc)return a(c.finallyLoc)}else if(u){if(this.prev<c.catchLoc)return a(c.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<c.finallyLoc)return a(c.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var c=o?o.completion:{};return c.type=t,c.arg=e,o?(this.method="next",this.next=o.finallyLoc,v):this.complete(c)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),T(r),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var a=n.arg;T(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:D(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),v}},e}var D=[],N=function(t){function e(){var t,r;Object(c.a)(this,e);for(var n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s];return(r=Object(u.a)(this,(t=Object(l.a)(e)).call.apply(t,[this].concat(i)))).state={college:[],frmDeggrp:"",boardType:"",dropdownType:"",reportType:"ALL",frmSubmit:!1,showtable:!1,rftype:"PDF",tcodefrom:"0000",tcodeto:"zzzz",tcode:[]},r.componentDidMount=Object(o.a)(k().mark(function t(){return k().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r.props.getCollegeListValue();case 2:return t.next=4,r.props.getDropDownValue();case 4:r.setState({tcode:["all"]}),r.setState({college:["all"]});case 6:case"end":return t.stop()}},t)})),r.getDegrees=function(){var t=Object(o.a)(k().mark(function t(e,n){return k().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r.setState({frmDeggrp:n.value});case 2:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}(),r.handleChange=function(t,e){switch(e.type){case"text":r.setState(Object(a.a)({},e.name,e.value));default:r.setState(Object(a.a)({},e.name,e.value))}r.setState({frmSubmit:!1})},r.handleSubmit=Object(o.a)(k().mark(function t(){return k().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r.props.user.fdeggrp,r.state.reportType,t.next=4,r.props.getNotval(r.state,r.props.user);case 4:r.setState({frmSubmit:!0}),r.setState({showtable:!0});case 6:case"end":return t.stop()}},t)})),r.handleReport=function(){var t=r.props.user,e=t.fdeggrp,n=t.fcuruniv,a=r.state,o=a.reportType,c=a.rftype,i=(a.tcodefrom,a.tcodeto,a.college),u=a.boardType,l=a.tcode;window.open(E.c+"valuatorReport&univcode="+n+"&deggrp="+e+"&tcode="+l+"&college="+i+"&board="+u+"&type="+o+"&format="+c+"&user="+JSON.stringify(r.props.user),"_blank")},r.handleChangedate=function(t){r.setState(Object(a.a)({},t.target.name,t.target.value))},r.handleExcelReport=function(){var t=r.props.user,e=t.fdeggrp,n=t.fcuruniv,a=r.state,o=a.reportType,c=a.rftype,i=a.college,u=a.boardType,l=a.tcode;window.open(E.c+"valuatorExcelReport&univcode="+n+"&deggrp="+e+"&tcode="+l+"&college="+i+"&board="+u+"&type="+o+"&format="+c+"&user="+JSON.stringify(r.props.user),"_blank")},r.handleCancel=function(){r.setState({reportType:"",reportFormat:"",frmDeggrp:""})},r.codeChange=function(){var t=Object(o.a)(k().mark(function t(e,n){return k().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:r.setState({tcode:n.value});case 1:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}(),r.collegeChange=function(){var t=Object(o.a)(k().mark(function t(e,n){return k().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r.setState({college:n.value});case 2:return t.next=4,r.props.getChairmanCodeDetailsMass(r.state.college);case 4:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}(),r.renderHeader=function(){return D=[{value:"All",text:"All"}],r.props.dropdownData.board.map(function(t){D.push({value:t.fboardcode,text:t.fboardname})}),f.a.createElement(d.a.Header,{style:{display:"flex"}},f.a.createElement("h3",null,"Valuator Details"),f.a.createElement("div",{className:"ml-auto"},f.a.createElement(y.a,{basic:!0,color:"black",icon:"file",onClick:r.handleExcelReport,content:"Excel"}),f.a.createElement(y.a,{basic:!0,color:"black",icon:"file",onClick:r.handleReport,content:"Pdf"}),f.a.createElement(y.a,{basic:!0,color:"blue",icon:"ban",onClick:r.handleCancel,content:"Cancel"}),f.a.createElement(h.a,{to:"/dashboard"},f.a.createElement(y.a,{basic:!0,color:"red",content:"Exit",icon:"home"}))))},r}return Object(s.a)(e,t),Object(i.a)(e,[{key:"componentDidMount",value:function(){var t=Object(o.a)(k().mark(function t(){return k().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.props.getDropDownValue(this.state,this.props.user);case 2:case"end":return t.stop()}},t,this)}));return function(){return t.apply(this,arguments)}}()},{key:"render",value:function(){var t=this.state,e=(t.frmSubmit,t.reportType),r=t.boardType,a=(t.dropdownType,t.rftype,t.tcodefrom,t.tcodeto,t.college),o=this.props.college.map(function(t,e){return{key:e,value:"".concat(t.fcollcode),text:"".concat(t.fcollcode," - ").concat(t.fcollname)}}),c=[{key:"all",value:"all",text:"All"}],i=[].concat(c,Object(n.a)(o)),u=this.props.teach.map(function(t,e){return{key:e,value:"".concat(t.fteachcode),text:"".concat(t.fteachcode,"-").concat(t.fteachname)}}),l=[].concat(c,Object(n.a)(u)),s=Object(_.i)();return f.a.createElement("div",{className:"animated fadeIn"},f.a.createElement(d.a,{fluid:!0},f.a.createElement(d.a.Content,null,this.renderHeader(),f.a.createElement(v.a,null),f.a.createElement(d.a.Description,{style:{overflowY:"auto",height:"".concat(s,"px")}},f.a.createElement("div",{className:"col-md-6"},f.a.createElement(g.a,null,f.a.createElement(g.a.Group,null,f.a.createElement(g.a.Field,{width:16},f.a.createElement(m.a,{placeholder:"College",options:i,value:a,search:!0,selection:!0,label:"Select College",multiple:!0,onChange:this.collegeChange}))),f.a.createElement(g.a.Group,null,f.a.createElement(g.a.Field,{width:16},f.a.createElement("label",null,"Chairman Code"),f.a.createElement(m.a,{multiple:!0,placeholder:"Select Chairman Code",name:"code",value:this.state.tcode,selection:!0,search:!0,options:l,onChange:this.codeChange}))),f.a.createElement(g.a.Field,null,f.a.createElement("label",null," Select Board"),f.a.createElement(m.a,{placeholder:"Select Report Type",name:"boardType",value:r,selection:!0,search:!0,options:D,onChange:this.handleChange})),f.a.createElement(g.a.Field,null,f.a.createElement("label",null," Type"),f.a.createElement(m.a,{placeholder:"Select Report Type",name:"reportType",value:e,selection:!0,search:!0,options:[{value:"ALL",text:"ALL"},{value:"val",text:"Doing Valuations"},{value:"nval",text:"Not Doing Valuation"}],onChange:this.handleChange})),f.a.createElement("br",null))),this.state.showtable?f.a.createElement(C,null):null))))}}]),e}(p.Component);e.default=Object(w.b)(function(t){return{user:t.user,dropdownData:t.fetchDropNotValued,college:t.collVal,teach:t.teacode}},{showError:b.A,getNotval:O,getDropDownValue:function(t,e){return function(){var t=Object(o.a)(L().mark(function t(r,n){var a,o,c,i;return L().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return a=n(),r({type:"SET_LOADER"}),t.next=4,x.a.get("/app.php",{params:{a:"getBoard",univcode:a.univ.funivcode,user:e}});case 4:o=t.sent,r({type:"UNSET_LOADER"}),"object"!==typeof o.data?(c={header:"Error",content:"Something went wrong"},r(Object(b.A)(c))):-1===o.data.error_code?(i={header:"Error",content:o.data.data.msg},r(Object(b.A)(i))):r({type:"GET_DROP_DOWN_VALUE",payload:o.data});case 7:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},getCollegeListValue:function(){return function(){var t=Object(o.a)(L().mark(function t(e,r){var n,a,o,c;return L().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=r(),e({type:"SET_LOADER"}),t.next=4,x.a.get("/app.php",{params:{a:"getCollegeListValue",univcode:n.univ.funivcode}});case 4:a=t.sent,e({type:"UNSET_LOADER"}),"object"!==typeof a.data?(o={header:"Error",content:"Something went wrong"},e(Object(b.A)(o))):-1===a.data.error_code?(c={header:"Error",content:a.data.data.msg},e(Object(b.A)(c))):e({type:"GET_COLLEGE_LIST_VALUE",payload:a.data});case 7:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},getChairmanCodeDetailsMass:j.c})(N)},370:function(t,e,r){"use strict";r.d(e,"a",function(){return i}),r.d(e,"f",function(){return u}),r.d(e,"e",function(){return l}),r.d(e,"g",function(){return s}),r.d(e,"b",function(){return p}),r.d(e,"d",function(){return f}),r.d(e,"c",function(){return h});var n=r(68),a=r(271),o=r(267);function c(){c=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,a=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",u=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function s(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{s({},"")}catch(t){s=function(t,e,r){return t[e]=r}}function p(t,e,r,n){var o=e&&e.prototype instanceof m?e:m,c=Object.create(o.prototype),i=new k(n||[]);return a(c,"_invoke",{value:S(t,r,i)}),c}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=p;var h="suspendedStart",d="suspendedYield",y="executing",v="completed",g={};function m(){}function w(){}function E(){}var b={};s(b,i,function(){return this});var x=Object.getPrototypeOf,L=x&&x(x(D([])));L&&L!==r&&n.call(L,i)&&(b=L);var O=E.prototype=m.prototype=Object.create(b);function j(t){["next","throw","return"].forEach(function(e){s(t,e,function(t){return this._invoke(e,t)})})}function _(t,e){function r(a,o,c,i){var u=f(t[a],t,o);if("throw"!==u.type){var l=u.arg,s=l.value;return s&&"object"==typeof s&&n.call(s,"__await")?e.resolve(s.__await).then(function(t){r("next",t,c,i)},function(t){r("throw",t,c,i)}):e.resolve(s).then(function(t){l.value=t,c(l)},function(t){return r("throw",t,c,i)})}i(u.arg)}var o;a(this,"_invoke",{value:function(t,n){function a(){return new e(function(e,a){r(t,n,e,a)})}return o=o?o.then(a,a):a()}})}function S(e,r,n){var a=h;return function(o,c){if(a===y)throw new Error("Generator is already running");if(a===v){if("throw"===o)throw c;return{value:t,done:!0}}for(n.method=o,n.arg=c;;){var i=n.delegate;if(i){var u=A(i,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===h)throw a=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=y;var l=f(e,r,n);if("normal"===l.type){if(a=n.done?v:d,l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(a=v,n.method="throw",n.arg=l.arg)}}}function A(e,r){var n=r.method,a=e.iterator[n];if(a===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var o=f(a,e.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,g;var c=o.arg;return c?c.done?(r[e.resultName]=c.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):c:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function T(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function C(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function k(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(T,this),this.reset(!0)}function D(e){if(e||""===e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var a=-1,o=function r(){for(;++a<e.length;)if(n.call(e,a))return r.value=e[a],r.done=!1,r;return r.value=t,r.done=!0,r};return o.next=o}}throw new TypeError(typeof e+" is not iterable")}return w.prototype=E,a(O,"constructor",{value:E,configurable:!0}),a(E,"constructor",{value:w,configurable:!0}),w.displayName=s(E,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===w||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,E):(t.__proto__=E,s(t,l,"GeneratorFunction")),t.prototype=Object.create(O),t},e.awrap=function(t){return{__await:t}},j(_.prototype),s(_.prototype,u,function(){return this}),e.AsyncIterator=_,e.async=function(t,r,n,a,o){void 0===o&&(o=Promise);var c=new _(p(t,r,n,a),o);return e.isGeneratorFunction(r)?c:c.next().then(function(t){return t.done?t.value:c.next()})},j(O),s(O,l,"Generator"),s(O,i,function(){return this}),s(O,"toString",function(){return"[object Generator]"}),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=D,k.prototype={constructor:k,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(C),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function a(n,a){return i.type="throw",i.arg=e,r.next=n,a&&(r.method="next",r.arg=t),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var c=this.tryEntries[o],i=c.completion;if("root"===c.tryLoc)return a("end");if(c.tryLoc<=this.prev){var u=n.call(c,"catchLoc"),l=n.call(c,"finallyLoc");if(u&&l){if(this.prev<c.catchLoc)return a(c.catchLoc,!0);if(this.prev<c.finallyLoc)return a(c.finallyLoc)}else if(u){if(this.prev<c.catchLoc)return a(c.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<c.finallyLoc)return a(c.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var c=o?o.completion:{};return c.type=t,c.arg=e,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(c)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),C(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var a=n.arg;C(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:D(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}var i=function(){return function(){var t=Object(n.a)(c().mark(function t(e,r){var n,i,u,l;return c().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=r(),e({type:"SET_LOADER"}),t.next=4,a.a.get("/app.php",{params:{a:"getBoardLists",univcode:n.univ.funivcode}});case 4:i=t.sent,e({type:"UNSET_LOADER"}),"object"!==typeof i.data?(u={header:"Error",content:"Something went wrong"},e(Object(o.A)(u))):-1===i.data.error_code?(l={header:"Error",content:i.data.data.msg},e(Object(o.A)(l))):e({type:"GET_BOARD_LIST",payload:i.data});case 7:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},u=function(t){return function(){var e=Object(n.a)(c().mark(function e(r,n){var i,u,l,s,p;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=n(),r({type:"SET_LOADER"}),e.next=4,a.a.post("app.php?a=saveBoardMaster&univcode="+i.univ.funivcode,{data:t});case 4:u=e.sent,r({type:"UNSET_LOADER"}),"object"!==typeof u.data?(l={header:"Error",content:"Something went wrong"},r(Object(o.A)(l))):-1===u.data.error_code?(s={header:"Error",content:u.data.data.msg},r(Object(o.A)(s))):(p={header:"Success",content:u.data.data.msg},r(Object(o.A)(p)));case 7:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},l=function(t){return function(){var e=Object(n.a)(c().mark(function e(r,n){var i,u,l,s;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=n(),r({type:"SET_LOADER"}),e.next=4,a.a.get("/app.php",{params:{a:"getEditBoardLists",fboard:t,univcode:i.user.fcuruniv}});case 4:u=e.sent,r({type:"UNSET_LOADER"}),"object"!==typeof u.data?(l={header:"Error",content:"Something went wrong"},r(Object(o.A)(l))):-1===u.data.error_code?(s={header:"Error",content:u.data.data.msg},r(Object(o.A)(s))):r({type:"GET_EDIT_BOARD_LIST",payload:u.data});case 7:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},s=function(t){return function(){var e=Object(n.a)(c().mark(function e(r,n){var i,u,l,s,p;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=n(),e.next=3,a.a.post("app.php?a=updateEditList&univcode="+i.univ.funivcode,{data:t});case 3:"object"!==typeof(u=e.sent).data?(l={header:"Error",content:"Something went wrong"},r(Object(o.A)(l))):-1===u.data.error_code?(s={header:"Error",content:u.data.data.msg},r(Object(o.A)(s))):(p={header:"Success",content:u.data.data.msg},r(Object(o.A)(p)));case 5:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},p=function(){return function(){var t=Object(n.a)(c().mark(function t(e,r){var n,i,u,l;return c().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return n=r(),e({type:"SET_LOADER"}),t.next=4,a.a.get("/app.php",{params:{a:"getChairmanCode",univcode:n.user.fcuruniv}});case 4:i=t.sent,e({type:"UNSET_LOADER"}),"object"!==typeof i.data?(u={header:"Error",content:"Something went wrong"},e(Object(o.A)(u))):-1===i.data.error_code?(l={header:"Error",content:i.data.data.msg},e(Object(o.A)(l))):e({type:"GET_CHAIRMAN_CODE",payload:i.data});case 7:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},f=function(t){return function(){var e=Object(n.a)(c().mark(function e(r,n){var i,u,l,s;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=n(),r({type:"SET_LOADER"}),e.next=4,a.a.get("/app.php",{params:{a:"getChairmanDetails",code:t,univcode:i.user.fcuruniv}});case 4:u=e.sent,r({type:"UNSET_LOADER"}),"object"!==typeof u.data?(l={header:"Error",content:"Something went wrong"},r(Object(o.A)(l))):-1===u.data.error_code?(s={header:"Error",content:u.data.data.msg},r(Object(o.A)(s))):r({type:"GET_CHAIRMAN_DETAILS",payload:u.data});case 7:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},h=function(t){return function(){var e=Object(n.a)(c().mark(function e(r,n){var i,u,l,s;return c().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=n(),r({type:"SET_LOADER"}),e.next=4,a.a.get("/app.php",{params:{a:"getChairmanCodeDetailsMass",college:t,univcode:i.user.fcuruniv}});case 4:u=e.sent,r({type:"UNSET_LOADER"}),"object"!==typeof u.data?(l={header:"Error",content:"Something went wrong"},r(Object(o.A)(l))):-1===u.data.error_code?(s={header:"Error",content:u.data.data.msg},r(Object(o.A)(s))):r({type:"GET_CHAIRMAN_CODE_DETAILS_MASS",payload:u.data});case 7:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()}}}]);
//# sourceMappingURL=230.82c0c1fa.chunk.js.map