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.19.251
(window.webpackJsonp=window.webpackJsonp||[]).push([[179,307],{1314:function(e,t,r){"use strict";r.r(t);var n=r(0),a=r(3),o=r(68),i=r(100),c=r(101),l=r(103),s=r(102),u=r(104),p=r(2),d=r.n(p),h=r(1377),f=r(1343),g=r(272),y=r(1335),v=r(1337),m=r(1162),b=r(105),E=r(941),w=r(267),x=r(548),O=r(274);function _(){_=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",c=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function s(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,r){return e[t]=r}}function u(e,t,r,n){var o=t&&t.prototype instanceof v?t:v,i=Object.create(o.prototype),c=new C(n||[]);return a(i,"_invoke",{value:j(e,r,c)}),i}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var d="suspendedStart",h="suspendedYield",f="executing",g="completed",y={};function v(){}function m(){}function b(){}var E={};s(E,i,function(){return this});var w=Object.getPrototypeOf,x=w&&w(w(k([])));x&&x!==r&&n.call(x,i)&&(E=x);var O=b.prototype=v.prototype=Object.create(E);function A(e){["next","throw","return"].forEach(function(t){s(e,t,function(e){return this._invoke(t,e)})})}function L(e,t){function r(a,o,i,c){var l=p(e[a],e,o);if("throw"!==l.type){var s=l.arg,u=s.value;return u&&"object"==typeof u&&n.call(u,"__await")?t.resolve(u.__await).then(function(e){r("next",e,i,c)},function(e){r("throw",e,i,c)}):t.resolve(u).then(function(e){s.value=e,i(s)},function(e){return r("throw",e,i,c)})}c(l.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 j(t,r,n){var a=d;return function(o,i){if(a===f)throw new Error("Generator is already running");if(a===g){if("throw"===o)throw i;return{value:e,done:!0}}for(n.method=o,n.arg=i;;){var c=n.delegate;if(c){var l=S(c,n);if(l){if(l===y)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===d)throw a=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=f;var s=p(t,r,n);if("normal"===s.type){if(a=n.done?g:h,s.arg===y)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(a=g,n.method="throw",n.arg=s.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=p(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 T(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 D(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(T,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 m.prototype=b,a(O,"constructor",{value:b,configurable:!0}),a(b,"constructor",{value:m,configurable:!0}),m.displayName=s(b,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,s(e,l,"GeneratorFunction")),e.prototype=Object.create(O),e},t.awrap=function(e){return{__await:e}},A(L.prototype),s(L.prototype,c,function(){return this}),t.AsyncIterator=L,t.async=function(e,r,n,a,o){void 0===o&&(o=Promise);var i=new L(u(e,r,n,a),o);return t.isGeneratorFunction(r)?i:i.next().then(function(e){return e.done?e.value:i.next()})},A(O),s(O,l,"Generator"),s(O,i,function(){return this}),s(O,"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,C.prototype={constructor:C,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(D),!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 l=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(l&&s){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!s)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),D(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;D(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 A=function(e){function t(){var e,r;Object(i.a)(this,t);for(var n=arguments.length,a=new Array(n),c=0;c<n;c++)a[c]=arguments[c];return(r=Object(l.a)(this,(e=Object(s.a)(t)).call.apply(e,[this].concat(a)))).state={deggrp:"All",degree:"All",sem:"All",frmsubmit:!0,searchQP:"",loading:!1,table:[]},r.componentDidMount=function(){r.props.loadergrpview(),r.getMailsInfo()},r.handleChangeDeggrp=function(){var e=Object(o.a)(_().mark(function e(t,n){return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.setState({deggrp:n.value,degree:"",sem:""});case 2:return e.next=4,r.props.getdegreeviewdet(n.value);case 4:r.setState({frmsubmit:!1});case 5:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}(),r.handleChangeDegree=function(){var e=Object(o.a)(_().mark(function e(t,n){return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r.setState({degree:n.value,sem:""}),e.next=3,r.props.getsemviewdet(r.state.deggrp,n.value);case 3:r.setState({frmsubmit:!1});case 4:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}(),r.handleChangeSem=function(){var e=Object(o.a)(_().mark(function e(t,n){return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:r.setState({sem:n.value}),r.setState({frmsubmit:!1});case 2:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}(),r.geteditpage=function(e){r.props.history.push("/practical_Examiners")},r.getMailsInfo=Object(o.a)(_().mark(function e(){var t,n,a;return _().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(""!==r.state.deggrp){e.next=4;break}return t={header:"Error",content:"Select Degree Group"},r.props.showError(t),e.abrupt("return");case 4:if(""!==r.state.degree){e.next=8;break}return n={header:"Error",content:"Select Degree"},r.props.showError(n),e.abrupt("return");case 8:if(""!==r.state.sem){e.next=12;break}return a={header:"Error",content:"Select Semester"},r.props.showError(a),e.abrupt("return");case 12:return r.setState({loading:!0}),e.next=15,r.props.loadtableinfoview(r.state.deggrp,r.state.degree,r.state.sem,r.state.subject);case 15:r.setState({frmsubmit:!0,loading:!1,table:r.props.tableData}),r.setState({frmsubmit:!0});case 17:case"end":return e.stop()}},e)})),r.handleCancel=function(){r.setState({deggrp:"",degree:"",sem:"",frmsubmit:!1})},r.genrteMailSentReport=function(){if(""!==r.state.deggrp)if(""!==r.state.degree)if(""!==r.state.sem)window.open(O.c+"genrteMailSentReportXL&user="+r.props.user+"&univcode="+r.props.univcode+"°grp="+r.state.deggrp+"°ree="+r.state.degree+"&sem="+r.state.sem);else{r.props.showError({header:"Error",content:"Select Semester"})}else{r.props.showError({header:"Error",content:"Select Degree"})}else{r.props.showError({header:"Error",content:"Select Degree Group"})}},r}return Object(u.a)(t,e),Object(c.a)(t,[{key:"render",value:function(){var e=this,t=[{key:"All",value:"All",text:"All"}],r=this.props.deggrp.map(function(e){return{key:e.fdeggrp,value:e.fdeggrp,text:e.fdeggrp+" - "+e.fdescpn}}),n=[].concat(t,Object(a.a)(r)),o=this.props.degree.map(function(e){return{key:e.fdegree,value:e.fdegree,text:e.fdegree+" - "+e.fdescpn}}),i=[].concat(t,Object(a.a)(o)),c=this.props.sem.map(function(e){return{key:e.fexamno,value:e.fexamno,text:e.fexamname}}),l=[].concat(t,Object(a.a)(c));return d.a.createElement("div",{className:"animated fadeIn"},d.a.createElement(h.a,{fluid:!0},d.a.createElement(h.a.Content,null,d.a.createElement(h.a.Header,{style:{display:"flex"}},d.a.createElement("h3",null,"Mails Sent"),d.a.createElement("div",{className:"ml-auto"},d.a.createElement(f.a,{size:"mini",basic:!0,color:"blue",icon:"file excel",content:"Report",onClick:this.genrteMailSentReport}),d.a.createElement(f.a,{size:"mini",disabled:!0,basic:!0,color:"green",icon:"save",content:"Save"}),d.a.createElement(f.a,{size:"mini",disabled:!0,basic:!0,color:"yellow",icon:"edit",content:"View",onClick:this.getviewpage=function(){return e.props.history.push("/viewMailsInfo")}}),d.a.createElement(f.a,{size:"mini",basic:!0,color:"blue",icon:"ban",content:"Clear",onClick:this.handleCancel}),d.a.createElement(f.a,{size:"mini",basic:!0,color:"black",content:"Back",icon:"arrow circle left",onClick:function(t){return e.geteditpage(t)}}),d.a.createElement(E.a,{to:"/dashboard"},d.a.createElement(f.a,{size:"mini",basic:!0,color:"red",content:"Exit",icon:"home"})))),d.a.createElement(g.a,null),d.a.createElement(h.a.Description,{style:{height:"auto"}},d.a.createElement(y.a,null,d.a.createElement(y.a.Group,null,d.a.createElement(y.a.Field,{width:6},d.a.createElement("label",null,"Degree Group"),d.a.createElement(v.a,{fluid:!0,selection:!0,search:!0,value:this.state.deggrp,options:n,name:"deggrp",placeholder:"Select Degree Group",onChange:this.handleChangeDeggrp})),d.a.createElement(y.a.Field,{width:6},d.a.createElement("label",null,"Degree"),d.a.createElement(v.a,{fluid:!0,selection:!0,search:!0,value:this.state.degree,options:i,name:"degree",placeholder:"Select Degree",onChange:this.handleChangeDegree}))),d.a.createElement(y.a.Group,null,d.a.createElement(y.a.Field,{width:6},d.a.createElement("label",null,"Sem"),d.a.createElement(v.a,{fluid:!0,selection:!0,search:!0,value:this.state.sem,options:l,name:"sem",placeholder:"Select Semester",onChange:this.handleChangeSem})),d.a.createElement(y.a.Field,null,d.a.createElement(f.a,{style:{marginTop:"23px"},basic:!0,color:"blue",onClick:this.getMailsInfo,content:"View"})))),this.state.loading?d.a.createElement("div",{style:{textAlign:"center"}},d.a.createElement(m.a,{active:!0,inline:"centered"},"Loading..."),d.a.createElement("div",{className:"loader"}," ")):this.state.frmsubmit?d.a.createElement("div",{style:{marginLeft:"3px",height:"550px",overflowY:"auto",border:"1px solid grey"}},d.a.createElement("table",{style:{width:"100%",border:"1px solid"}},d.a.createElement("thead",{style:{backgroundColor:"#1e7f91",color:"white",height:"40px",position:"sticky",top:0,zIndex:2}},d.a.createElement("tr",null,d.a.createElement("td",{colSpan:10},d.a.createElement("input",{placeholder:"Search...",onChange:function(t){e.setState({searchQP:t.target.value.toLowerCase()})},value:this.state.searchQP,style:{width:"100%",padding:"5px",margin:"10px 0",borderRadius:"15px"}}))),d.a.createElement("tr",null,d.a.createElement("th",{style:{textAlign:"center",width:"2px",borderRight:"1px solid grey",borderCollapse:"collapse",borderTop:"1px solid grey"}},"Sl.No"),d.a.createElement("th",{style:{textAlign:"center",width:"20px",borderRight:"1px solid grey",borderCollapse:"collapse",borderTop:"1px solid grey"}},"Degree Group"),d.a.createElement("th",{style:{textAlign:"center",width:"180px",borderRight:"1px solid grey",borderCollapse:"collapse",borderTop:"1px solid grey"}},"Degree"),d.a.createElement("th",{style:{textAlign:"center",width:"40px",borderRight:"1px solid grey",borderCollapse:"collapse",borderTop:"1px solid grey"}},"Sem/Year"),d.a.createElement("th",{style:{textAlign:"center",width:"180px",borderRight:"1px solid grey",borderCollapse:"collapse",borderTop:"1px solid grey"}},"Course Name"),d.a.createElement("th",{style:{textAlign:"center",width:"180px",borderRight:"1px solid grey",borderCollapse:"collapse",borderTop:"1px solid grey"}},"Faculty Name"),d.a.createElement("th",{style:{textAlign:"center",width:"80px",borderRight:"1px solid grey",borderCollapse:"collapse",borderTop:"1px solid grey"}},"Start Date"),d.a.createElement("th",{style:{textAlign:"center",width:"80px",borderRight:"1px solid grey",borderCollapse:"collapse",borderTop:"1px solid grey"}},"End Date"),d.a.createElement("th",{style:{textAlign:"center",width:"80px",borderRight:"1px solid grey",borderCollapse:"collapse",borderTop:"1px solid grey"}},"Sent Date"),d.a.createElement("th",{style:{textAlign:"center",width:"5px",borderRight:"1px solid grey",borderCollapse:"collapse",borderTop:"1px solid grey"}},"Status"))),d.a.createElement("tbody",null,this.state.table.filter(function(t){return t.fdeggrp.toLowerCase().includes(e.state.searchQP)||t.fdegree.toLowerCase().includes(e.state.searchQP)||t.fdescpn.toLowerCase().includes(e.state.searchQP)||t.fexamname.toLowerCase().includes(e.state.searchQP)||t.fsubcode.toLowerCase().includes(e.state.searchQP)||t.fsubname.toLowerCase().includes(e.state.searchQP)||t.fteachcode.toLowerCase().includes(e.state.searchQP)||t.fteachname.toLowerCase().includes(e.state.searchQP)||t.fstartdate.toLowerCase().includes(e.state.searchQP)||t.fenddate.toLowerCase().includes(e.state.searchQP)||t.fcreatedate.toLowerCase().includes(e.state.searchQP)}).map(function(e,t){return d.a.createElement("tr",{key:t},d.a.createElement("td",{align:"center",style:{border:"1px solid grey",borderCollapse:"collapse"}},t+1),d.a.createElement("td",{align:"center",style:{border:"1px solid grey",borderCollapse:"collapse"}},e.fdeggrp),d.a.createElement("td",{align:"left",style:{border:"1px solid grey",borderCollapse:"collapse"}},e.fdegree," - ",e.fdescpn),d.a.createElement("td",{align:"center",style:{border:"1px solid grey",borderCollapse:"collapse"}},e.fexamname),d.a.createElement("td",{align:"left",style:{border:"1px solid grey",borderCollapse:"collapse"}},e.fsubcode," - ",e.fsubname),d.a.createElement("td",{align:"center",style:{border:"1px solid grey",borderCollapse:"collapse"}},e.fteachcode," - ",e.fteachname),d.a.createElement("td",{align:"center",style:{border:"1px solid grey",borderCollapse:"collapse"}},e.fstartdate),d.a.createElement("td",{align:"center",style:{border:"1px solid grey",borderCollapse:"collapse"}},e.fenddate),d.a.createElement("td",{align:"center",style:{border:"1px solid grey",borderCollapse:"collapse"}},e.fcreatedate),d.a.createElement("td",{align:"center",style:{border:"1px solid grey",borderCollapse:"collapse"}},d.a.createElement(f.a,{basic:!0,size:"mini",color:"green",content:"Sent",icon:"check",style:{cursor:"default"}})))})))):null))))}}]),t}(p.Component);t.default=Object(b.b)(function(e){return Object(n.a)({univcode:e.univ.funivcode,user:e.user,deggrp:e.loadergrpview,degree:e.getdegreeviewdet,sem:e.getsemviewdet,tableData:e.loadtableinfoview},"univcode",e.univ.funivcode)},{loadergrpview:x.g,getdegreeviewdet:x.b,getsemviewdet:x.d,loadtableinfoview:x.i,showError:w.A})(A)},272:function(e,t,r){"use strict";var n=r(270),a=r.n(n),o=r(268),i=r.n(o),c=r(2),l=r.n(c),s=r(349),u=r(613),p=r(611),d=r(269);function h(e){var t=e.children,r=e.className,n=e.clearing,o=e.content,c=e.fitted,f=e.hidden,g=e.horizontal,y=e.inverted,v=e.section,m=e.vertical,b=i()("ui",Object(s.a)(n,"clearing"),Object(s.a)(c,"fitted"),Object(s.a)(f,"hidden"),Object(s.a)(g,"horizontal"),Object(s.a)(y,"inverted"),Object(s.a)(v,"section"),Object(s.a)(m,"vertical"),"divider",r),E=Object(u.a)(h,e),w=Object(p.a)(h,e);return l.a.createElement(w,a()({},E,{className:b}),d.a.isNil(t)?o:t)}h.handledProps=["as","children","className","clearing","content","fitted","hidden","horizontal","inverted","section","vertical"],h.propTypes={},t.a=h},548:function(e,t,r){"use strict";r.d(t,"f",function(){return c}),r.d(t,"a",function(){return l}),r.d(t,"c",function(){return s}),r.d(t,"e",function(){return u}),r.d(t,"j",function(){return p}),r.d(t,"h",function(){return d}),r.d(t,"k",function(){return h}),r.d(t,"g",function(){return f}),r.d(t,"b",function(){return g}),r.d(t,"d",function(){return y}),r.d(t,"i",function(){return v});var n=r(68),a=r(271),o=r(267);function i(){i=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:{},c=o.iterator||"@@iterator",l=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function u(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,r){return e[t]=r}}function p(e,t,r,n){var o=t&&t.prototype instanceof m?t:m,i=Object.create(o.prototype),c=new C(n||[]);return a(i,"_invoke",{value:j(e,r,c)}),i}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var h="suspendedStart",f="suspendedYield",g="executing",y="completed",v={};function m(){}function b(){}function E(){}var w={};u(w,c,function(){return this});var x=Object.getPrototypeOf,O=x&&x(x(k([])));O&&O!==r&&n.call(O,c)&&(w=O);var _=E.prototype=m.prototype=Object.create(w);function A(e){["next","throw","return"].forEach(function(t){u(e,t,function(e){return this._invoke(t,e)})})}function L(e,t){function r(a,o,i,c){var l=d(e[a],e,o);if("throw"!==l.type){var s=l.arg,u=s.value;return u&&"object"==typeof u&&n.call(u,"__await")?t.resolve(u.__await).then(function(e){r("next",e,i,c)},function(e){r("throw",e,i,c)}):t.resolve(u).then(function(e){s.value=e,i(s)},function(e){return r("throw",e,i,c)})}c(l.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 j(t,r,n){var a=h;return function(o,i){if(a===g)throw new Error("Generator is already running");if(a===y){if("throw"===o)throw i;return{value:e,done:!0}}for(n.method=o,n.arg=i;;){var c=n.delegate;if(c){var l=S(c,n);if(l){if(l===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===h)throw a=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=g;var s=d(t,r,n);if("normal"===s.type){if(a=n.done?y:f,s.arg===v)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(a=y,n.method="throw",n.arg=s.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")),v;var o=d(a,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,v;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,v):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function T(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 D(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(T,this),this.reset(!0)}function k(t){if(t||""===t){var r=t[c];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 b.prototype=E,a(_,"constructor",{value:E,configurable:!0}),a(E,"constructor",{value:b,configurable:!0}),b.displayName=u(E,s,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,u(e,s,"GeneratorFunction")),e.prototype=Object.create(_),e},t.awrap=function(e){return{__await:e}},A(L.prototype),u(L.prototype,l,function(){return this}),t.AsyncIterator=L,t.async=function(e,r,n,a,o){void 0===o&&(o=Promise);var i=new L(p(e,r,n,a),o);return t.isGeneratorFunction(r)?i:i.next().then(function(e){return e.done?e.value:i.next()})},A(_),u(_,s,"Generator"),u(_,c,function(){return this}),u(_,"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,C.prototype={constructor:C,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(D),!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 l=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(l&&s){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!s)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,v):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),v},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),D(r),v}},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;D(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),v}},t}var c=function(){return function(){var e=Object(n.a)(i().mark(function e(t,r){var n,c,l,s;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=r(),t({type:"SET_LOADER"}),e.next=4,a.a.get("/app.php?a=loaddegreegrouptm&univcode="+n.univ.funivcode);case 4:c=e.sent,t({type:"UNSET_LOADER"}),"object"!==typeof c.data?(l={header:"Error",content:"Something went wrong"},t(Object(o.A)(l))):-1==c.data.error_code?(s={header:"Error",content:c.data.data.msg},t(Object(o.A)(s))):t({type:"GET_DEGGRPTM_DATA",payload:c.data});case 7:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},l=function(e){return function(){var t=Object(n.a)(i().mark(function t(r,n){var c,l,s,u;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return c=n(),r({type:"SET_LOADER"}),t.next=4,a.a.get("/app.php?a=getdegreetmdet&univcode="+c.univ.funivcode+"°grp="+e);case 4:l=t.sent,r({type:"UNSET_LOADER"}),"object"!==typeof l.data?(s={header:"Error",content:"Something went wrong"},r(Object(o.A)(s))):-1==l.data.error_code?(u={header:"Error",content:l.data.data.msg},r(Object(o.A)(u))):r({type:"GET_DEGREETM_DATA",payload:l.data});case 7:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},s=function(e,t){return function(){var r=Object(n.a)(i().mark(function r(n,c){var l,s,u,p;return i().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return l=c(),n({type:"SET_LOADER"}),r.next=4,a.a.get("/app.php?a=getsemtmdet&univcode="+l.univ.funivcode+"°grp="+e+"°ree="+t);case 4:s=r.sent,n({type:"UNSET_LOADER"}),"object"!==typeof s.data?(u={header:"Error",content:"Something went wrong"},n(Object(o.A)(u))):-1==s.data.error_code?(p={header:"Error",content:s.data.data.msg},n(Object(o.A)(p))):n({type:"GET_SEMTM_DATA",payload:s.data});case 7:case"end":return r.stop()}},r)}));return function(e,t){return r.apply(this,arguments)}}()},u=function(e,t,r){return function(){var c=Object(n.a)(i().mark(function n(c,l){var s,u,p;return i().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return s=l(),c({type:"SET_LOADER"}),n.next=4,a.a.get("/app.php?a=getsubjtmdet&univcode="+s.univ.funivcode+"°grp="+e+"°ree="+t+"&sem="+r);case 4:u=n.sent,c({type:"UNSET_LOADER"}),"object"!==typeof u.data?(p={header:"Error",content:"Something went wrong"},c(Object(o.A)(p))):-1==u.data.error_code?c({type:"CLEAR_SUBJTM_INFO_DATA",payload:u.data}):c({type:"GET_SUBJTM_DATA",payload:u.data});case 7:case"end":return n.stop()}},n)}));return function(e,t){return c.apply(this,arguments)}}()},p=function(){return function(){var e=Object(n.a)(i().mark(function e(t,r){var n,c,l,s;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=r(),t({type:"SET_LOADER"}),e.next=4,a.a.get("/app.php?a=loadteacherinfotm&univcode="+n.univ.funivcode);case 4:c=e.sent,t({type:"UNSET_LOADER"}),"object"!==typeof c.data?(l={header:"Error",content:"Something went wrong"},t(Object(o.A)(l))):-1==c.data.error_code?(s={header:"Error",content:c.data.data.msg},t(Object(o.A)(s))):t({type:"GET_TEACH_INFO_DATA",payload:c.data});case 7:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},d=function(e,t,r,c){return function(){var l=Object(n.a)(i().mark(function n(l,s){var u,p,d;return i().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return u=s(),l({type:"SET_LOADER"}),n.next=4,a.a.get("/app.php?a=loadtableinfotm&univcode="+u.univ.funivcode+"°grp="+e+"°ree="+t+"&sem="+r+"&subj="+c);case 4:p=n.sent,l({type:"UNSET_LOADER"}),"object"!==typeof p.data?(d={header:"Error",content:"Something went wrong"},l(Object(o.A)(d))):-1==p.data.error_code?l({type:"CLEAR_GET_TEACH_INFO_DATA",payload:p.data}):l({type:"GET_TABLE_INFO_DATA",payload:p.data});case 7:case"end":return n.stop()}},n)}));return function(e,t){return l.apply(this,arguments)}}()},h=function(e){return function(){var t=Object(n.a)(i().mark(function t(r,n){var c,l,s,u,p;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return c=n(),r({type:"SET_LOADER"}),t.next=4,a.a.post("/app.php?a=updatepractclexamner&univcode="+c.univ.funivcode,e);case 4:l=t.sent,r({type:"UNSET_LOADER"}),"object"!==typeof l.data?(s={header:"Error",content:"Something went wrong"},r(Object(o.A)(s))):-1==l.data.error_code?(u={header:"Error",content:l.data.data.msg},r(Object(o.A)(u))):0===l.data.error_code&&(p={header:"success",content:"Updated Successfully"},r(Object(o.A)(p)));case 7:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},f=function(){return function(){var e=Object(n.a)(i().mark(function e(t,r){var n,c,l,s;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=r(),t({type:"SET_LOADER"}),e.next=4,a.a.get("/app.php?a=loadergrpview&univcode="+n.univ.funivcode);case 4:c=e.sent,t({type:"UNSET_LOADER"}),"object"!==typeof c.data?(l={header:"Error",content:"Something went wrong"},t(Object(o.A)(l))):-1==c.data.error_code?(s={header:"Error",content:c.data.data.msg},t(Object(o.A)(s))):t({type:"GET_DEGGRPVIEW_DATA",payload:c.data});case 7:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}()},g=function(e){return function(){var t=Object(n.a)(i().mark(function t(r,n){var c,l,s,u;return i().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return c=n(),r({type:"SET_LOADER"}),t.next=4,a.a.get("/app.php?a=getdegreeviewdet&univcode="+c.univ.funivcode+"°grp="+e);case 4:l=t.sent,r({type:"UNSET_LOADER"}),"object"!==typeof l.data?(s={header:"Error",content:"Something went wrong"},r(Object(o.A)(s))):-1==l.data.error_code?(u={header:"Error",content:l.data.data.msg},r(Object(o.A)(u))):r({type:"GET_DEGREEVIEW_DATA",payload:l.data});case 7:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},y=function(e,t){return function(){var r=Object(n.a)(i().mark(function r(n,c){var l,s,u,p;return i().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return l=c(),n({type:"SET_LOADER"}),r.next=4,a.a.get("/app.php?a=getsemviewdet&univcode="+l.univ.funivcode+"°grp="+e+"°ree="+t);case 4:s=r.sent,n({type:"UNSET_LOADER"}),"object"!==typeof s.data?(u={header:"Error",content:"Something went wrong"},n(Object(o.A)(u))):-1==s.data.error_code?(p={header:"Error",content:s.data.data.msg},n(Object(o.A)(p))):n({type:"GET_SEMVIEW_DATA",payload:s.data});case 7:case"end":return r.stop()}},r)}));return function(e,t){return r.apply(this,arguments)}}()},v=function(e,t,r,c){return function(){var c=Object(n.a)(i().mark(function n(c,l){var s,u,p;return i().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return s=l(),c({type:"SET_LOADER"}),n.next=4,a.a.get("/app.php?a=loadtableinfoview&univcode="+s.univ.funivcode+"°grp="+e+"°ree="+t+"&sem="+r);case 4:u=n.sent,setTimeout(function(){c({type:"UNSET_LOADER"})},2e3),"object"!==typeof u.data?(p={header:"Error",content:"Something went wrong"},c(Object(o.A)(p))):-1==u.data.error_code?c({type:"CLEAR_VIEW_TABLE_INFO_DATA",payload:u.data}):c({type:"GET_VIEW_TABLE_INFO_DATA",payload:u.data});case 7:case"end":return n.stop()}},n)}));return function(e,t){return c.apply(this,arguments)}}()}}}]);
//# sourceMappingURL=179.8ad8200c.chunk.js.map
|