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.166.141
(window.webpackJsonp=window.webpackJsonp||[]).push([[297],{1180:function(e,r,t){"use strict";t.r(r);var n=t(68),a=t(69),o=t(2),s=t.n(o),c=t(689),u=(t(468),t(1433)),i=t(1377),l=t(1374),h=t(1343),f=t(272),d=t(1333),E=t(1335),m=t(1337),g=t(941),p=t(267),b=t(319),v=t(690),w=t(691),x=t(692),y=t(693),T=t(694),F=t(695),M=t(696),k=t(697),A=t(698),O=t(105),S=t(273);function R(){R=function(){return r};var e,r={},t=Object.prototype,n=t.hasOwnProperty,a=Object.defineProperty||function(e,r,t){e[r]=t.value},o="function"==typeof Symbol?Symbol:{},s=o.iterator||"@@iterator",c=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function i(e,r,t){return Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}),e[r]}try{i({},"")}catch(e){i=function(e,r,t){return e[r]=t}}function l(e,r,t,n){var o=r&&r.prototype instanceof p?r:p,s=Object.create(o.prototype),c=new j(n||[]);return a(s,"_invoke",{value:k(e,t,c)}),s}function h(e,r,t){try{return{type:"normal",arg:e.call(r,t)}}catch(e){return{type:"throw",arg:e}}}r.wrap=l;var f="suspendedStart",d="suspendedYield",E="executing",m="completed",g={};function p(){}function b(){}function v(){}var w={};i(w,s,function(){return this});var x=Object.getPrototypeOf,y=x&&x(x(N([])));y&&y!==t&&n.call(y,s)&&(w=y);var T=v.prototype=p.prototype=Object.create(w);function F(e){["next","throw","return"].forEach(function(r){i(e,r,function(e){return this._invoke(r,e)})})}function M(e,r){function t(a,o,s,c){var u=h(e[a],e,o);if("throw"!==u.type){var i=u.arg,l=i.value;return l&&"object"==typeof l&&n.call(l,"__await")?r.resolve(l.__await).then(function(e){t("next",e,s,c)},function(e){t("throw",e,s,c)}):r.resolve(l).then(function(e){i.value=e,s(i)},function(e){return t("throw",e,s,c)})}c(u.arg)}var o;a(this,"_invoke",{value:function(e,n){function a(){return new r(function(r,a){t(e,n,r,a)})}return o=o?o.then(a,a):a()}})}function k(r,t,n){var a=f;return function(o,s){if(a===E)throw new Error("Generator is already running");if(a===m){if("throw"===o)throw s;return{value:e,done:!0}}for(n.method=o,n.arg=s;;){var c=n.delegate;if(c){var u=A(c,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===f)throw a=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=E;var i=h(r,t,n);if("normal"===i.type){if(a=n.done?m:d,i.arg===g)continue;return{value:i.arg,done:n.done}}"throw"===i.type&&(a=m,n.method="throw",n.arg=i.arg)}}}function A(r,t){var n=t.method,a=r.iterator[n];if(a===e)return t.delegate=null,"throw"===n&&r.iterator.return&&(t.method="return",t.arg=e,A(r,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var o=h(a,r.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,g;var s=o.arg;return s?s.done?(t[r.resultName]=s.value,t.next=r.nextLoc,"return"!==t.method&&(t.method="next",t.arg=e),t.delegate=null,g):s:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,g)}function O(e){var r={tryLoc:e[0]};1 in e&&(r.catchLoc=e[1]),2 in e&&(r.finallyLoc=e[2],r.afterLoc=e[3]),this.tryEntries.push(r)}function S(e){var r=e.completion||{};r.type="normal",delete r.arg,e.completion=r}function j(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function N(r){if(r||""===r){var t=r[s];if(t)return t.call(r);if("function"==typeof r.next)return r;if(!isNaN(r.length)){var a=-1,o=function t(){for(;++a<r.length;)if(n.call(r,a))return t.value=r[a],t.done=!1,t;return t.value=e,t.done=!0,t};return o.next=o}}throw new TypeError(typeof r+" is not iterable")}return b.prototype=v,a(T,"constructor",{value:v,configurable:!0}),a(v,"constructor",{value:b,configurable:!0}),b.displayName=i(v,u,"GeneratorFunction"),r.isGeneratorFunction=function(e){var r="function"==typeof e&&e.constructor;return!!r&&(r===b||"GeneratorFunction"===(r.displayName||r.name))},r.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,i(e,u,"GeneratorFunction")),e.prototype=Object.create(T),e},r.awrap=function(e){return{__await:e}},F(M.prototype),i(M.prototype,c,function(){return this}),r.AsyncIterator=M,r.async=function(e,t,n,a,o){void 0===o&&(o=Promise);var s=new M(l(e,t,n,a),o);return r.isGeneratorFunction(t)?s:s.next().then(function(e){return e.done?e.value:s.next()})},F(T),i(T,u,"Generator"),i(T,s,function(){return this}),i(T,"toString",function(){return"[object Generator]"}),r.keys=function(e){var r=Object(e),t=[];for(var n in r)t.push(n);return t.reverse(),function e(){for(;t.length;){var n=t.pop();if(n in r)return e.value=n,e.done=!1,e}return e.done=!0,e}},r.values=N,j.prototype={constructor:j,reset:function(r){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(S),!r)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(r){if(this.done)throw r;var t=this;function a(n,a){return c.type="throw",c.arg=r,t.next=n,a&&(t.method="next",t.arg=e),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var s=this.tryEntries[o],c=s.completion;if("root"===s.tryLoc)return a("end");if(s.tryLoc<=this.prev){var u=n.call(s,"catchLoc"),i=n.call(s,"finallyLoc");if(u&&i){if(this.prev<s.catchLoc)return a(s.catchLoc,!0);if(this.prev<s.finallyLoc)return a(s.finallyLoc)}else if(u){if(this.prev<s.catchLoc)return a(s.catchLoc,!0)}else{if(!i)throw new Error("try statement without catch or finally");if(this.prev<s.finallyLoc)return a(s.finallyLoc)}}}},abrupt:function(e,r){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=r&&r<=o.finallyLoc&&(o=null);var s=o?o.completion:{};return s.type=e,s.arg=r,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(s)},complete:function(e,r){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&&r&&(this.next=r),g},finish:function(e){for(var r=this.tryEntries.length-1;r>=0;--r){var t=this.tryEntries[r];if(t.finallyLoc===e)return this.complete(t.completion,t.afterLoc),S(t),g}},catch:function(e){for(var r=this.tryEntries.length-1;r>=0;--r){var t=this.tryEntries[r];if(t.tryLoc===e){var n=t.completion;if("throw"===n.type){var a=n.arg;S(t)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(r,t,n){return this.delegate={iterator:N(r),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=e),g}},r}r.default=Object(O.b)(function(e){return{user:e.user,degSemList:e.getDegSemList,degsem:e.degsem}},{showError:p.A,getDegSemDetForEdit:b.f,changeDegSem:b.c,saveDegSemDet:b.i,emptyDegSem:b.e,getDegSemList:b.g,getNextDegree:b.h})(function(e){var r=Object(o.useState)(!1),t=Object(a.a)(r,2),p=t[0],b=t[1],O=Object(o.useState)(!1),j=Object(a.a)(O,2),N=j[0],C=j[1],D=Object(o.useState)(""),G=Object(a.a)(D,2),L=G[0],I=G[1],X=Object(o.useState)(0),_=Object(a.a)(X,2),P=_[0],V=_[1],B=Object(o.useState)(""),U=Object(a.a)(B,2),q=(U[0],U[1]),K=Object(o.useState)(""),Y=Object(a.a)(K,2),H=(Y[0],Y[1]);Object(o.useEffect)(function(){function r(){return(r=Object(n.a)(R().mark(function r(){return R().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,q(e.match.params.ifdegree);case 2:return r.next=4,H(e.match.params.ifexamno);case 4:e.emptyDegSem(),e.getDegSemList(e.user.fdeggrp),"degree"!==e.match.params.ifdegree?(e.getDegSemDetForEdit(e.match.params.ifdegree,e.match.params.ifexamno),b(!0)):z.current.focus();case 7:case"end":return r.stop()}},r)}))).apply(this,arguments)}!function(){r.apply(this,arguments)}()},[e.match.params.ifdegree,e.match.params.ifexamno]);var J=function(r,t){var n=t.name,a=t.value;e.changeDegSem(n,a)},z=Object(o.useRef)(null),Q=Object(o.useRef)(null),W=function(){var r=Object(n.a)(R().mark(function r(){var t,n,a,o,s,c,u,i,l,h,f,d,E,m,g,p,b,v,w,x,y,T,F,M,k,A,O,S,j,N,C,D,G,L,I,X;return R().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(""!=e.degsem.FDEGREE){r.next=4;break}return t={header:"Error",content:"Enter Degree code!"},e.showError(t),r.abrupt("return");case 4:if(""!=e.degsem.FDESCPN){r.next=8;break}return n={header:"Error",content:"Enter Degree description!"},e.showError(n),r.abrupt("return");case 8:if(""!=e.degsem.FEXAMNO){r.next=12;break}return a={header:"Error",content:"Enter Exam no.!"},e.showError(a),r.abrupt("return");case 12:if(""!=e.degsem.FEXAMNAME){r.next=16;break}return o={header:"Error",content:"Enter Exam description!"},e.showError(o),r.abrupt("return");case 16:if(!(""!==e.degsem.FEXAMNAME&&e.degsem.FEXAMNAME.charCodeAt(0)<=e.degsem.FEXAMNO.charCodeAt(0))){r.next=20;break}return s={header:"Error",content:"Next exam should be greater than current exam."},e.showError(s),r.abrupt("return");case 20:if(""!=e.degsem.FCMAXTERMS){r.next=24;break}return c={header:"Error",content:"Enter Max. terms allowed for course completion!"},e.showError(c),r.abrupt("return");case 24:if(""!=e.degsem.FTOTSUB){r.next=31;break}return u={header:"Error",content:"Enter No. of subjects!"},r.next=28,V(0);case 28:return Q.current.focus(),e.showError(u),r.abrupt("return");case 31:if(""!=e.degsem.FMINTOT){r.next=35;break}return i={header:"Error",content:"Enter Min. no. of subjects to pass!"},e.showError(i),r.abrupt("return");case 35:if(""!=e.degsem.FTOTGRACE){r.next=39;break}return l={header:"Error",content:"Enter Max. grace marks!"},e.showError(l),r.abrupt("return");case 39:if(""!=e.degsem.FSUBGRPER){r.next=43;break}return h={header:"Error",content:"Enter Max. grace marks for the subject (in %)!"},e.showError(h),r.abrupt("return");case 43:if(""!=e.degsem.FSUBGRMARK){r.next=47;break}return f={header:"Error",content:"Enter Max. grace marks for the subject (in nos)!"},e.showError(f),r.abrupt("return");case 47:if(""!=e.degsem.FGRACESUB){r.next=51;break}return d={header:"Error",content:"Enter Max. graced subjects allowed!"},e.showError(d),r.abrupt("return");case 51:if(""!=e.degsem.FNOVAL){r.next=55;break}return E={header:"Error",content:"Enter No. of valuations!"},e.showError(E),r.abrupt("return");case 55:if(""!=e.degsem.FDEVPER){r.next=59;break}return m={header:"Error",content:"Enter Deviation %"},e.showError(m),r.abrupt("return");case 59:if(""!=e.degsem.FAGGRMIN){r.next=63;break}return g={header:"Error",content:"Enter AGGREGATE MIN. IN %"},e.showError(g),r.abrupt("return");case 63:if(""!=e.degsem.FRANKATT){r.next=67;break}return p={header:"Error",content:"Enter Max. attempts for Rank!"},e.showError(p),r.abrupt("return");case 67:if(""!=e.degsem.FFACULTY){r.next=71;break}return b={header:"Error",content:"Enter Faculty code!"},e.showError(b),r.abrupt("return");case 71:if(""!=e.degsem.FPERSET){r.next=75;break}return v={header:"Error",content:"Enter Codes per set!"},e.showError(v),r.abrupt("return");case 75:if(""!=e.degsem.FMCTYPE){r.next=79;break}return w={header:"Error",content:"Enter Marks card type!"},e.showError(w),r.abrupt("return");case 79:if(""!=e.degsem.FCOLLDEPT){r.next=83;break}return x={header:"Error",content:"Enter College / Department!"},e.showError(x),r.abrupt("return");case 83:if(""!=e.degsem.FNOTERMS){r.next=87;break}return y={header:"Error",content:"Enter No. of terms for the exam!"},e.showError(y),r.abrupt("return");case 87:if(""!=e.degsem.FMAXTERMS){r.next=91;break}return T={header:"Error",content:"Enter Max. terms allowed!"},e.showError(T),r.abrupt("return");case 91:if(""!=e.degsem.FMAXACTIVE){r.next=95;break}return F={header:"Error",content:"Enter Max. active terms allowed!"},e.showError(F),r.abrupt("return");case 95:if(""!=e.degsem.FMAXATT){r.next=99;break}return M={header:"Error",content:"Enter Max. attempts allowed!"},e.showError(M),r.abrupt("return");case 99:if(""!=e.degsem.FMAXAPP){r.next=103;break}return k={header:"Error",content:"Enter Max. appearance allowed!"},e.showError(k),r.abrupt("return");case 103:if(!(e.degsem.FTOTSUB<1||e.degsem.FTOTSUB>99)){r.next=107;break}return A={header:"Error",content:"Total subjects should be between 1 and 99"},e.showError(A),r.abrupt("return");case 107:if(!(e.degsem.FMINTOT>e.degsem.FTOTSUB)){r.next=111;break}return O={header:"Error",content:"Min. to pass should be less than or equal to total subjects"},e.showError(O),r.abrupt("return");case 111:if(!(e.degsem.FTOTGRACE<1||e.degsem.FTOTGRACE>99)){r.next=115;break}return S={header:"Error",content:"Max.grace allowed has to be between 1 and 99"},e.showError(S),r.abrupt("return");case 115:if(!(parseInt(e.degsem.FSUBGRMARK)>parseInt(e.degsem.FTOTGRACE))){r.next=119;break}return j={header:"Error",content:"Max.grace marks per subject has to be between 1 and max.grace marks allowed"},e.showError(j),r.abrupt("return");case 119:if(!(e.degsem.FGRACESUB<1||e.degsem.FGRACESUB>99)){r.next=123;break}return N={header:"Error",content:"Max.grace subjects allowed has to be between 1 and 99"},e.showError(N),r.abrupt("return");case 123:if(!(""==e.degsem.FNEXTEXAM&&e.degsem.FSUBFAIL>0)){r.next=127;break}return C={header:"Error",content:"Total failed subjects should not be greater than 0 for final exam"},e.showError(C),r.abrupt("return");case 127:if(e.degsem.FRANKATT>0){r.next=131;break}return D={header:"Error",content:"Rank attempts has to be greater than 0"},e.showError(D),r.abrupt("return");case 131:if(!(e.degsem.FNOVAL<1||e.degsem.FNOVAL>5)){r.next=135;break}return G={header:"Error",content:"No. of valuation should be less than or equal to 5."},e.showError(G),r.abrupt("return");case 135:if(!(e.degsem.FNOTERMS<1||parseInt(e.degsem.FNOTERMS)>parseInt(e.degsem.FCMAXTERMS))){r.next=139;break}return L={header:"Error",content:"No. of terms has to be greater than 0 and less than or equal to Max. terms to complete the course"},e.showError(L),r.abrupt("return");case 139:if(!(e.degsem.FMAXTERMS<1||parseInt(e.degsem.FMAXTERMS)>parseInt(e.degsem.FCMAXTERMS))){r.next=143;break}return I={header:"Error",content:"Max. terms has to be greater than 0 and less than or equal to Max. terms to complete the course"},e.showError(I),r.abrupt("return");case 143:if(!(e.degsem.FMAXACTIVE<1||parseInt(e.degsem.FMAXACTIVE)>parseInt(e.degsem.FMAXTERMS))){r.next=147;break}return X={header:"Error",content:"Max. active terms should be less than or equal to Max. terms."},e.showError(X),r.abrupt("return");case 147:e.saveDegSemDet();case 148:case"end":return r.stop()}},r)}));return function(){return r.apply(this,arguments)}}(),Z=Object(S.i)(),$=[];e.degSemList.forEach(function(e){$.findIndex(function(r){return r.fdegree==e.fdegree})<=-1&&$.push({fdegree:e.fdegree,fdescpn:e.fdescpn})});var ee=$.map(function(e,r){return{key:r,value:e.fdegree,text:"".concat(e.fdegree," - ").concat(e.fdescpn)}}),re=Object(o.useRef)(null),te=Object(o.useRef)(null),ne=Object(o.useRef)(null),ae=Object(o.useRef)(null),oe=Object(o.useRef)(null),se=Object(o.useRef)(null),ce=Object(o.useRef)(null),ue=function(r){if("FDEGREE"==r.target.name){if(""==r.target.value)return e.showError({header:"Error",content:"Enter Degree Code."}),void z.current.focus();var t=e.degSemList.filter(function(e){return e.fdegree==r.target.value});if(t.filter(function(e){return""==e.fnextexam}).length>0)return e.showError({header:"Error",content:"All exams for this degree already defined."}),void z.current.focus();t.length>0?function(){var r=Object(n.a)(R().mark(function r(){var n,a;return R().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,e.getDegSemDetForEdit(t[0].fdegree,t[0].fexamno);case 2:n=t[t.length-1].fexamno,a={name:"FEXAMNO",value:String.fromCharCode(n.charCodeAt(0)+1)},document.createEvent("MouseEvent"),J(0,a),a={name:"FNEXTEXAM",value:String.fromCharCode(n.charCodeAt(0)+2)},J(0,a);case 8:case"end":return r.stop()}},r)}));return function(){return r.apply(this,arguments)}}()():C(!0)}"FNEXTEXAM"==r.target.name&&""!==r.target.value&&r.target.value.charCodeAt(0)<=e.degsem.FEXAMNO.charCodeAt(0)?e.showError({header:"Error",content:"Next exam should be greater than current exam."}):"FMINTOT"==r.target.name&&parseInt(r.target.value)>parseInt(e.degsem.FTOTSUB)?e.showError({header:"Error",content:"Min. to pass should be less than or equal to total subjects"}):("FTOTGRACE"==r.target.name&&(r.target.value<1||r.target.value>99)&&e.showError({header:"Error",content:"Max.grace allowed has to be between 1 and 99"}),"FSUBGRMARK"==r.target.name&&parseInt(r.target.value)>parseInt(e.degsem.FTOTGRACE)&&e.showError({header:"Error",content:"Max.grace marks per subject has to be between 1 and max.grace marks allowed"}),"FGRACESUB"==r.target.name&&(r.target.value<1||r.target.value>99)&&e.showError({header:"Error",content:"Max.grace subjects allowed has to be between 1 and 99"}),"FSUBFAIL"==r.target.name&&""==e.degsem.FNEXTEXAM&&r.target.value>0&&e.showError({header:"Error",content:"Total failed subjects should not be greater than 0 for final exam"}),"FRANKATT"!=r.target.name||r.target.value>0||e.showError({header:"Error",content:"Rank attempts has to be greater than 0"}),"FNOVAL"==r.target.name&&(r.target.value<1||r.target.value>5)&&e.showError({header:"Error",content:"No. of valuation should be less than or equal to 5."}),"FNOTERMS"==r.target.name&&(r.target.value<1||parseInt(r.target.value)>parseInt(e.degsem.FCMAXTERMS))&&e.showError({header:"Error",content:"No. of terms has to be greater than 0 and less than or equal to Max. terms to complete the course"}),"FMAXTERMS"==r.target.name&&(r.target.value<1||r.target.value>e.degsem.FCMAXTERMS)&&e.showError({header:"Error",content:"Max. terms has to be greater than 0 and less than or equal to Max. terms to complete the course"}),"FMAXACTIVE"==r.target.name&&(r.target.value<1||r.target.value>e.degsem.FMAXTERMS)&&e.showError({header:"Error",content:"Max. active terms should be less than or equal to Max. terms."}))},ie=function(){var e=Object(n.a)(R().mark(function e(r){return R().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,V(r);case 2:e.t0=r,e.next=0===e.t0?5:1===e.t0?7:2===e.t0?9:3===e.t0?11:4===e.t0?13:6===e.t0?15:7===e.t0?17:19;break;case 5:return Q.current.focus(),e.abrupt("break",19);case 7:return re.current.focus(),e.abrupt("break",19);case 9:return te.current.focus(),e.abrupt("break",19);case 11:return ne.current.focus(),e.abrupt("break",19);case 13:return ae.current.focus(),e.abrupt("break",19);case 15:return se.current.focus(),e.abrupt("break",19);case 17:return ce.current.focus(),e.abrupt("break",19);case 19:case"end":return e.stop()}},e)}));return function(r){return e.apply(this,arguments)}}(),le=[{menuItem:"Subjects",render:function(){return s.a.createElement(u.a.Pane,null,s.a.createElement(v.a,{setTab:V,isValid:ue,totsub_ref:Q,shiftTab:ie}))}},{menuItem:"Gracing",render:function(){return s.a.createElement(u.a.Pane,null,s.a.createElement(w.a,{setTab:V,isValid:ue,graceRef:re,shiftTab:ie}))}},{menuItem:"General Eligibility",render:function(){return s.a.createElement(u.a.Pane,null,s.a.createElement(x.a,{setTab:V,isValid:ue,subfailRef:te,shiftTab:ie}))}},{menuItem:"Computation",render:function(){return s.a.createElement(u.a.Pane,null,s.a.createElement(k.a,{setTab:V,isValid:ue,noval_ref:ne,shiftTab:ie}))}},{menuItem:"Class / Rank",render:function(){return s.a.createElement(u.a.Pane,null,s.a.createElement(M.a,{setTab:V,isValid:ue,class_ref:ae,shiftTab:ie}))}},{menuItem:"Closing",render:function(){return s.a.createElement(u.a.Pane,null,s.a.createElement(y.a,{setTab:V,isValid:ue,initqp_ref:oe,shiftTab:ie}))}},{menuItem:"General",render:function(){return s.a.createElement(u.a.Pane,null,s.a.createElement(T.a,{setTab:V,isValid:ue,faculty_ref:se,shiftTab:ie}))}},{menuItem:"Regulations",render:function(){return s.a.createElement(u.a.Pane,null,s.a.createElement(F.a,{setTab:V,isValid:ue,regrefno_ref:ce,shiftTab:ie}))}}],he={GET_NEXT_DEGREE:function(){e.getNextDegree("NEXT")},GET_PREV_DEGREE:function(){e.getNextDegree("PREV")}};return s.a.createElement(s.a.Fragment,null,s.a.createElement(c.HotKeys,{keyMap:{GET_NEXT_DEGREE:"f3",GET_PREV_DEGREE:"f2"},handlers:he},s.a.createElement(i.a,{fluid:!0},s.a.createElement(i.a.Content,null,s.a.createElement(i.a.Header,{style:{display:"flex"}},s.a.createElement(l.a,{as:"h3"},"Edit Degree Details"),s.a.createElement("div",{className:"ml-auto"},s.a.createElement(g.a,{to:{pathname:"/masters/degreeActionsScreen"}},s.a.createElement(h.a,{basic:!0,color:"blue",content:"Back",icon:"arrow left"})),s.a.createElement(h.a,{basic:!0,color:"green",icon:"save",onClick:W,content:"Save"}),s.a.createElement(g.a,{to:"/dashboard"},s.a.createElement(h.a,{basic:!0,color:"red",content:"Exit",icon:"home"})))),s.a.createElement(f.a,null),s.a.createElement(i.a.Description,{style:{overflowY:"auto",height:"".concat(Z,"px")}},s.a.createElement(d.a,{style:{maxHeight:"35%",width:"35%"},open:N,onClose:function(){return C(!1)},closeOnDimmerClick:!1},s.a.createElement(d.a.Header,{style:{display:"flex"}},"Select Equivalent Degree"),s.a.createElement(d.a.Content,{style:{height:"50vh",overflowY:"auto"}},s.a.createElement(E.a,null,s.a.createElement(E.a.Field,null,s.a.createElement("label",null,"Degree"),s.a.createElement(m.a,{size:"mini",className:"modal1",fluid:!0,search:!0,selection:!0,value:L,onChange:function(e,r){I(r.value)},placeholder:"Select Degree Group",openOnFocus:!1,options:ee,selectOnBlur:!1,searchInput:{autoFocus:!0}})),s.a.createElement(E.a.Field,null,s.a.createElement(h.a,{style:{float:"right"},color:"blue",onClick:Object(n.a)(R().mark(function r(){var t,n,a;return R().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(""!=L){r.next=4;break}return t={header:"Error",content:"Select Degree ...!"},e.showError(t),r.abrupt("return");case 4:return n=e.degsem.FDEGREE,r.next=7,e.getDegSemDetForEdit(L,"A");case 7:C(!1),a={name:"FDEGREE",value:n},document.createEvent("MouseEvent"),J(0,a);case 11:case"end":return r.stop()}},r)})),content:"Submit"}))))),s.a.createElement(A.a,{edit:p,open:N,setOpen:C,degree_ref:z,isValid:ue}),s.a.createElement(i.a,{fluid:!0,style:{margin:"5px auto",padding:"10px",width:"98%"}},s.a.createElement(u.a,{menu:{attached:!0,tabular:!0,color:"blue",className:"wrapped"},panes:le,activeIndex:P,onTabChange:function(e,r){var t=r.activeIndex;return V(t)}})))))))})}}]);
//# sourceMappingURL=297.731686df.chunk.js.map
|