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


Current Path : /var/www/egov/build/static/js/
Upload File :
Current File : /var/www/egov/build/static/js/8.4740de2c.chunk.js

(window.webpackJsonp=window.webpackJsonp||[]).push([[8],{342:function(e,t,r){"use strict";var n=r(100),a=r(101),o=r(103),i=r(102),c=r(104),u=r(2),p=r.n(u),f=r(105),s=r(1335),l=r(1337),d=r(267),g=function(e){function t(){return Object(n.a)(this,t),Object(o.a)(this,Object(i.a)(t).apply(this,arguments))}return Object(c.a)(t,e),Object(a.a)(t,[{key:"componentDidMount",value:function(){this.props.fetchDegGrp()}},{key:"componentDidUpdate",value:function(e){this.props.user!==e.user&&this.props.fetchDegGrp()}},{key:"render",value:function(){var e=this.props.deggrp.map(function(e,t){return{key:t,value:e.fdeggrp,text:"".concat(e.fdeggrp," - ").concat(e.fdescpn)}});return p.a.createElement(s.a.Field,{width:"16"},p.a.createElement("label",null,"Degree Group"),p.a.createElement(l.a,{size:"mini",error:this.props.dgerror,fluid:!0,search:!0,selection:!0,value:this.props.frmDeggrp,onChange:this.props.changeDeggrp,placeholder:"Select Degree Group",disabled:this.props.disabled,openOnFocus:!1,options:e,selectOnBlur:!1}))}}]),t}(u.Component);t.a=Object(f.b)(function(e){return{deggrp:e.deggrp,user:e.user}},{fetchDegGrp:d.j})(g)},352:function(e,t,r){"use strict";r.d(t,"e",function(){return u}),r.d(t,"h",function(){return p}),r.d(t,"i",function(){return f}),r.d(t,"l",function(){return s}),r.d(t,"m",function(){return l}),r.d(t,"j",function(){return d}),r.d(t,"a",function(){return g}),r.d(t,"f",function(){return h}),r.d(t,"b",function(){return m}),r.d(t,"c",function(){return y}),r.d(t,"d",function(){return E}),r.d(t,"n",function(){return v}),r.d(t,"o",function(){return b}),r.d(t,"g",function(){return x}),r.d(t,"k",function(){return w});var n=r(1),a=r(68),o=r(271),i=r(267);function c(){c=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,a=Object.defineProperty||function(e,t,r){e[t]=r.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",u=o.asyncIterator||"@@asyncIterator",p=o.toStringTag||"@@toStringTag";function f(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(e){f=function(e,t,r){return e[t]=r}}function s(e,t,r,n){var o=t&&t.prototype instanceof E?t:E,i=Object.create(o.prototype),c=new D(n||[]);return a(i,"_invoke",{value:L(e,r,c)}),i}function l(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=s;var d="suspendedStart",g="suspendedYield",h="executing",m="completed",y={};function E(){}function v(){}function b(){}var x={};f(x,i,function(){return this});var w=Object.getPrototypeOf,T=w&&w(w(k([])));T&&T!==r&&n.call(T,i)&&(x=T);var _=b.prototype=E.prototype=Object.create(x);function O(e){["next","throw","return"].forEach(function(t){f(e,t,function(e){return this._invoke(t,e)})})}function R(e,t){function r(a,o,i,c){var u=l(e[a],e,o);if("throw"!==u.type){var p=u.arg,f=p.value;return f&&"object"==typeof f&&n.call(f,"__await")?t.resolve(f.__await).then(function(e){r("next",e,i,c)},function(e){r("throw",e,i,c)}):t.resolve(f).then(function(e){p.value=e,i(p)},function(e){return r("throw",e,i,c)})}c(u.arg)}var o;a(this,"_invoke",{value:function(e,n){function a(){return new t(function(t,a){r(e,n,t,a)})}return o=o?o.then(a,a):a()}})}function L(t,r,n){var a=d;return function(o,i){if(a===h)throw new Error("Generator is already running");if(a===m){if("throw"===o)throw i;return{value:e,done:!0}}for(n.method=o,n.arg=i;;){var c=n.delegate;if(c){var u=S(c,n);if(u){if(u===y)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===d)throw a=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=h;var p=l(t,r,n);if("normal"===p.type){if(a=n.done?m:g,p.arg===y)continue;return{value:p.arg,done:n.done}}"throw"===p.type&&(a=m,n.method="throw",n.arg=p.arg)}}}function S(t,r){var n=r.method,a=t.iterator[n];if(a===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,S(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var o=l(a,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,y;var i=o.arg;return i?i.done?(r[t.resultName]=i.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,y):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function j(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function A(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(j,this),this.reset(!0)}function k(t){if(t||""===t){var r=t[i];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,o=function r(){for(;++a<t.length;)if(n.call(t,a))return r.value=t[a],r.done=!1,r;return r.value=e,r.done=!0,r};return o.next=o}}throw new TypeError(typeof t+" is not iterable")}return v.prototype=b,a(_,"constructor",{value:b,configurable:!0}),a(b,"constructor",{value:v,configurable:!0}),v.displayName=f(b,p,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,f(e,p,"GeneratorFunction")),e.prototype=Object.create(_),e},t.awrap=function(e){return{__await:e}},O(R.prototype),f(R.prototype,u,function(){return this}),t.AsyncIterator=R,t.async=function(e,r,n,a,o){void 0===o&&(o=Promise);var i=new R(s(e,r,n,a),o);return t.isGeneratorFunction(r)?i:i.next().then(function(e){return e.done?e.value:i.next()})},O(_),f(_,p,"Generator"),f(_,i,function(){return this}),f(_,"toString",function(){return"[object Generator]"}),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=k,D.prototype={constructor:D,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(A),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function a(n,a){return c.type="throw",c.arg=t,r.next=n,a&&(r.method="next",r.arg=e),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],c=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var u=n.call(i,"catchLoc"),p=n.call(i,"finallyLoc");if(u&&p){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!p)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(e,t){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"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,y):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),y},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),A(r),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var a=n.arg;A(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:k(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),y}},t}var u=function(e){return function(){var t=Object(a.a)(c().mark(function t(r,n){var a,i;return c().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return a=n(),r({type:"SET_LOADER"}),t.next=4,o.a.post("/app.php?a=generateExamTimetable&univcode="+a.univ.funivcode,{data:{frmvalues:e}});case 4:i=t.sent,r({type:"UNSET_LOADER"}),"object"!==typeof i.data?r({type:"SET_ERROR",payload:{error_code:-1,data:{msg:"Something went wrong"},status:"failure"}}):r({type:"SET_ERROR",payload:i.data});case 7:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},p=function(e){return function(){var t=Object(a.a)(c().mark(function t(r,a){var u,p,f,s;return c().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return u=a(),r({type:"CANCEL_TIMETABLE"}),r({type:"SET_LOADER"}),t.next=5,o.a.post("/app.php?a=getupdateTimetableUT&univcode="+u.univ.funivcode,{data:{frmvalues:Object(n.a)({},u.user,{fexamrange:e.fexamrange,fdeggrp:e.fdeggrp,fyear:e.fyear,fexamtype:e.fexamtype,fexamdate:e.fexamdate,fdegree:e.fdegree})}});case 5:p=t.sent,r({type:"UNSET_LOADER"}),"object"!==typeof p.data?(f={header:"Error",content:"Something went wrong"},r(Object(i.A)(f))):-1===p.data.error_code?(s={header:"Error",content:p.data.data.msg},r(Object(i.A)(s))):r({type:"GENERATE_TIMETABLE",payload:p.data});case 8:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},f=function(e){return function(){var t=Object(a.a)(c().mark(function t(r,n){var a,u,p,f;return c().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return a=n(),r({type:"SET_LOADER"}),r({type:"DEL_FETCH_DEGREES_TTM"}),t.next=5,o.a.get("/app.php",{params:{a:"getdegreettm",univcode:a.univ.funivcode,deggrp:e}});case 5:u=t.sent,r({type:"UNSET_LOADER"}),"object"!==typeof u.data?(p={header:"Error",content:"Something went wrong"},r(Object(i.A)(p))):-1===u.data.error_code?(f={header:"Error",content:u.data.data.msg},r(Object(i.A)(f))):r({type:"FETCH_DEGREES_TTM",payload:u.data});case 8:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},s=function(e,t){return function(){var r=Object(a.a)(c().mark(function r(n,a){var u,p,f,s;return c().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return u=a(),n({type:"SET_LOADER"}),r.next=4,o.a.post("/app.php?a=saveExamTimetable&univcode="+u.univ.funivcode,{data:{timetable:e,params:t,user:u.user}});case 4:p=r.sent,n({type:"UNSET_LOADER"}),"object"!==typeof p.data?(f={header:"Error",content:"Something went wrong"},n(Object(i.A)(f))):(s={header:"Success",content:p.data.data.msg},n(Object(i.A)(s)));case 7:case"end":return r.stop()}},r)}));return function(e,t){return r.apply(this,arguments)}}()},l=function(e,t){return function(){var r=Object(a.a)(c().mark(function r(n,a){var u,p,f,s;return c().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return u=a(),n({type:"SET_LOADER"}),r.next=4,o.a.post("/app.php?a=saveExamTimetableUT&univcode="+u.univ.funivcode,{data:{timetable:e,params:t,user:u.user}});case 4:p=r.sent,n({type:"UNSET_LOADER"}),"object"!==typeof p.data?(f={header:"Error",content:"Something went wrong"},n(Object(i.A)(f))):(s={header:"Success",content:p.data.data.msg},n(Object(i.A)(s)));case 7:case"end":return r.stop()}},r)}));return function(e,t){return r.apply(this,arguments)}}()},d=function(e){return function(){var t=Object(a.a)(c().mark(function t(r,n){var a,i;return c().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return a=n(),r({type:"SET_LOADER"}),t.next=4,o.a.post("/app.php?a=releaseExamTimetable&univcode="+a.univ.funivcode,{data:{params:e}});case 4:i=t.sent,r({type:"UNSET_LOADER"}),"object"!==typeof i.data?r({type:"SET_ERROR",payload:{error_code:-1,data:{msg:"Something went wrong"},status:"failure"}}):r({type:"SET_ERROR",payload:i.data});case 7:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},g=function(){return{type:"CANCEL_TIMETABLE"}},h=function(e){return function(){var t=Object(a.a)(c().mark(function t(r,n){var a,u,p;return c().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return a=n(),a.user.fdeggrp,r({type:"SET_LOADER"}),r({type:"CLEAR_FREEZE_TIME_TABLE"}),t.next=6,o.a.get("/app.php",{params:{a:"getfreezeTimetable",univcode:a.univ.funivcode,dgp:e.fdeggrp,year:e.fyear,examtype:e.fexamtype,examrange:e.fexamrange,fcurtype:a.user.fcurtype}});case 6:if(u=t.sent,r({type:"UNSET_LOADER"}),"object"===typeof u.data){t.next=13;break}r({type:"SET_ERROR",payload:{error_code:-1,data:{msg:"Something went wrong"},status:"failure"}}),t.next=21;break;case 13:if(0!==u.data.error_code){t.next=17;break}r({type:"GET_FREEZE_TIME_TABLE",payload:u.data}),t.next=21;break;case 17:if(-1!==u.data.error_code){t.next=21;break}return p={header:"Error",content:"No data found for selected Exam Range..!"},r(Object(i.A)(p)),t.abrupt("return",-1);case 21:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},m=function(e,t){return{type:"GET_FREEZE_TIME_TABLE_CHANGE",payload:{el:e,i:t}}},y=function(e,t){return{type:"GET_RELEASE_TIME_TABLE_CHANGE",payload:{el:e,i:t}}},E=function(e){return function(){var t=Object(a.a)(c().mark(function t(r,n){var a,u,p;return c().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return a=n(),a.user.fdeggrp,r({type:"SET_LOADER"}),r({type:"UNSET_LOADER"}),t.next=6,o.a.post("/app.php?a=freezetimetable&univcode="+a.univ.funivcode,{data:{dgp:e.fdeggrp,year:e.fyear,examtype:e.fexamtype,examrange:e.fexamrange,user:a.user.fname,tabledata:a.freezeTimeTable.frzarr}});case 6:"object"!==typeof(u=t.sent).data?r({type:"SET_ERROR",payload:{error_code:-1,data:{msg:"Something went wrong"},status:"failure"}}):0===u.data.error_code&&(p={header:"Success",content:u.data.data.msg},r(Object(i.A)(p)));case 8:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},v=function(e){return{type:"FREEZE_SELECT_ALL_CHECKBOX",payload:e}},b=function(e){return{type:"RELEASE_SELECT_ALL_CHECKBOX",payload:e}},x=function(e){return function(){var t=Object(a.a)(c().mark(function t(r,n){var a,u,p;return c().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return a=n(),a.user.fdeggrp,r({type:"SET_LOADER"}),r({type:"CLEAR_RELEASE_TIME_TABLE"}),t.next=6,o.a.get("/app.php",{params:{a:"getreleaseTimetable",univcode:a.univ.funivcode,dgp:e.fdeggrp,year:e.fyear,examtype:e.fexamtype,examrange:e.fexamrange}});case 6:if(u=t.sent,r({type:"UNSET_LOADER"}),"object"===typeof u.data){t.next=13;break}r({type:"SET_ERROR",payload:{error_code:-1,data:{msg:"Something went wrong"},status:"failure"}}),t.next=21;break;case 13:if(0!==u.data.error_code){t.next=17;break}r({type:"GET_RELEASE_TIME_TABLE",payload:u.data}),t.next=21;break;case 17:if(-1!==u.data.error_code){t.next=21;break}return p={header:"Error",content:"No data found for selected Exam Range..! / Freezing Not Done"},r(Object(i.A)(p)),t.abrupt("return",-1);case 21:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},w=function(e){return function(){var t=Object(a.a)(c().mark(function t(r,n){var a,u,p,f;return c().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return a=n(),a.user.fdeggrp,r({type:"SET_LOADER"}),r({type:"UNSET_LOADER"}),t.next=6,o.a.post("/app.php?a=releasetimetable&univcode="+a.univ.funivcode,{data:{dgp:e.fdeggrp,year:e.fyear,examtype:e.fexamtype,examrange:e.fexamrange,user:a.user.fname,tabledata:a.releaseTimeTable.relarr}});case 6:"object"!==typeof(u=t.sent).data?r({type:"SET_ERROR",payload:{error_code:-1,data:{msg:"Something went wrong"},status:"failure"}}):0===u.data.error_code?(p={header:"Success",content:u.data.data.msg},r(Object(i.A)(p))):-1===u.data.error_code&&(f={header:"Error",content:u.data.data.msg},r(Object(i.A)(f)));case 8:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()}},380:function(e,t,r){"use strict";var n=r(3),a=r(0),o=r(100),i=r(101),c=r(103),u=r(102),p=r(104),f=r(2),s=r.n(f),l=r(1333),d=r(1343),g=r(1335),h=r(321),m=r(1337),y=r(1153),E=r(1154),v=r(105),b=r(342),x=r(274),w=function(e){function t(){var e,r;Object(o.a)(this,t);for(var n=arguments.length,i=new Array(n),p=0;p<n;p++)i[p]=arguments[p];return(r=Object(c.a)(this,(e=Object(u.a)(t)).call.apply(e,[this].concat(i)))).state={deggrp:[],fdeggrp:"",fyear:"",fexamtype:"",fexamdate:"",fexamrange:"ABCDEF",deggrpError:!1,frtype:"QP Code Wise",frtypes:["Error Report","QP Code Wise","Degree Wise"],fexamrangeError:!1,frtypeError:!1,ferror:!1,ferrorm:"",rftype:"PDF Format",emptydates:!1,fdegfrom:"0",fdegto:"ZZZZ",eltype:"All"},r.changeDeggrp=function(e,t){var n=r.state.deggrp.filter(function(e,r){return e.fdeggrp===t.value})[0];r.setState({fyear:n.fyear,fexamtype:n.fexamtype,fexamdate:n.fexamdate,fdeggrp:n.fdeggrp})},r.handleChange=function(e,t){r.setState(Object(a.a)({},t.name,t.value))},r.generateReport=function(){var e=r.state,t=e.fdeggrp,n=e.fexamrange,a=e.frtype,o=e.rftype,i=e.emptydates,c=e.fdegfrom,u=e.fdegto,p=e.eltype;if(""!=t)if(r.setState({deggrpError:!1,ferror:!1,ferrorm:""}),""!=n)if(r.setState({fexamrangeError:!1,ferror:!1,ferrorm:""}),""!=a)if(r.setState({frtypeError:!1,ferror:!1,ferrorm:""}),"Error Report"===a)window.open(x.c+"GenerateExamTimetableError&deggrp="+r.state.fdeggrp+"&univcode="+r.props.univ.funivcode+"&examrange="+r.state.fexamrange,"_blank");else if("Degree Wise"===a){var f=i?"T":"F";"Excel Format"==o?window.open(x.c+"examTimeTableDegreeWiseExcel&deggrp="+r.state.fdeggrp+"&univcode="+r.props.univ.funivcode+"&ignorett="+f+"&fdegfrom="+c+"&fdegto="+u+"&examrange="+r.state.fexamrange+"&eltype="+p,"_blank"):window.open(x.c+"GenerateDGExamTimetable&deggrp="+r.state.fdeggrp+"&univcode="+r.props.univ.funivcode+"&ignorett="+f+"&fdegfrom="+c+"&fdegto="+u+"&examrange="+r.state.fexamrange+"&eltype="+p,"_blank")}else"QP Code Wise"===a&&("Excel Format"==o?window.open(x.c+"examTimeTableQPWiseReportExcel&deggrp="+r.state.fdeggrp+"&univcode="+r.props.univ.funivcode+"&examrange="+r.state.fexamrange,"_blank"):window.open(x.c+"GenerateQPExamTimetable&deggrp="+r.state.fdeggrp+"&univcode="+r.props.univ.funivcode+"&examrange="+r.state.fexamrange,"_blank"));else r.setState({frtypeError:!0,ferror:!0,ferrorm:"Report Type required."});else r.setState({fexamrangeError:!0,ferror:!0,ferrorm:"Exam Range required."});else r.setState({deggrpError:!0,ferror:!0,ferrorm:"Degree Group required."})},r.changecheckempty=function(e,t){r.setState({emptydates:t.checked})},r}return Object(p.a)(t,e),Object(i.a)(t,[{key:"componentDidMount",value:function(){this.setState({deggrp:this.props.deggrp})}},{key:"componentDidUpdate",value:function(e){this.props.deggrp!==e.deggrp&&this.setState({deggrp:Object(n.a)(this.props.deggrp)})}},{key:"render",value:function(){var e=this,t=this.state,r=t.fdeggrp,n=t.fyear,o=t.fexamtype,i=t.fexamdate,c=t.fexamrange,u=t.frtype,p=t.frtypes,f=t.deggrpError,v=t.fexamrangeError,x=t.frtypeError,w=t.ferror,T=t.ferrorm,_=t.rftype,O=t.emptydates,R=t.fdegfrom,L=t.fdegto,S=t.eltype,j=p.map(function(e,t){return{key:t,value:e,text:e}});return s.a.createElement("div",null,s.a.createElement(l.a,{style:{maxHeight:"60%",width:"50%"},dimmer:this.props.dim,open:this.props.open,onClose:this.props.close,closeOnDimmerClick:!1},s.a.createElement(l.a.Header,{style:{display:"flex"}},"Time Table Report",s.a.createElement("div",{className:"ml-auto"},s.a.createElement(d.a,{basic:!0,color:"blue",content:"Generate",onClick:this.generateReport,icon:"file pdf outline"}),s.a.createElement(d.a,{basic:!0,color:"black",icon:"ban",onClick:this.props.close,content:"Cancel"}))),s.a.createElement(l.a.Content,{style:{height:"50vh",overflowY:"auto"}},s.a.createElement(g.a,{error:!0},w?s.a.createElement(h.a,{error:!0,content:T}):null,s.a.createElement(b.a,{changeDeggrp:this.changeDeggrp,frmDeggrp:r,dgerror:f}),s.a.createElement(g.a.Group,null,s.a.createElement(g.a.Input,{placeholder:"Exam Year",value:n,width:4,label:"Exam Year",readOnly:!0}),s.a.createElement(g.a.Input,{placeholder:"Exam Type",value:o,width:3,label:"Exam Type",readOnly:!0}),s.a.createElement(g.a.Input,{placeholder:"Exam Date",label:"Exam Date",width:10,value:i,readOnly:!0})),s.a.createElement("label",null,s.a.createElement("b",null,"Report Type")),s.a.createElement(m.a,{size:"mini",fluid:!0,search:!0,selection:!0,name:"frtype",value:u,onChange:this.handleChange,placeholder:"Report Type",label:"Report Type",error:x,options:j}),"Degree Wise"==u?s.a.createElement(g.a.Group,{style:{marginTop:"10px"}},s.a.createElement(g.a.Input,Object(a.a)({placeholder:"From",error:!1,width:5,onChange:this.handleChange,value:R,name:"fdegfrom",label:"Degree Range"},"error",v)),s.a.createElement(g.a.Input,Object(a.a)({placeholder:"To",error:!1,width:5,onChange:this.handleChange,value:L,name:"fdegto",style:{marginTop:"22px"}},"error",v))):null,s.a.createElement(g.a.Group,null,s.a.createElement(g.a.Input,Object(a.a)({placeholder:"Exam Range",error:!1,width:5,onChange:this.handleChange,value:c,name:"fexamrange",label:"Exam Range"},"error",v))),"Degree Wise"==u?s.a.createElement(g.a.Field,{width:"8"},s.a.createElement("label",null,s.a.createElement("b",null,"Type")),s.a.createElement(m.a,{size:"mini",fluid:!0,search:!0,selection:!0,name:"eltype",value:S,onChange:this.handleChange,placeholder:"Report Type",label:"Type",error:x,options:[{key:"All",value:"All",text:"All"},{key:"All",value:"openelective",text:"Open Elective"},{key:"All",value:"withoutopenelective",text:"Without Open Elective"}]})):null,"Degree Wise"==u?s.a.createElement(y.a,{onChange:function(t,r){return e.changecheckempty(t,r)},value:O,checked:O,label:"Ignore empty Dates"}):null,s.a.createElement(g.a.Group,{inline:!0},s.a.createElement(g.a.Field,{control:E.a,name:"rftype",label:"PDF",value:"PDF Format",checked:"PDF Format"===_,onChange:this.handleChange}),s.a.createElement(g.a.Field,{control:E.a,name:"rftype",label:"EXCEL",value:"Excel Format",checked:"Excel Format"===_,onChange:this.handleChange}))))))}}]),t}(f.Component);t.a=Object(v.b)(function(e){return{deggrp:e.deggrp,univ:e.univ}},{})(w)},449:function(e,t,r){"use strict";t.a=function(){var e=new Date,t=e.getDate(),r=e.getMonth()+1,n=e.getFullYear();return t<10&&(t="0"+t),r<10&&(r="0"+r),e=t+"/"+r+"/"+n}}}]);
//# sourceMappingURL=8.4740de2c.chunk.js.map