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 : 3.128.94.112
(window.webpackJsonp=window.webpackJsonp||[]).push([[153,307],{1255:function(e,t,r){"use strict";r.r(t);var n=r(3),a=r(68),o=r(100),c=r(101),i=r(103),l=r(102),u=r(104),s=r(2),p=r.n(s),h=r(105),f=r(1377),d=r(1343),m=r(272),g=r(1335),v=r(1337),y=r(1157),E=r(1338),b=r(1153),w=r(941),x=r(267),O=r(351);r(274);function k(){k=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",i=o.asyncIterator||"@@asyncIterator",l=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 s(e,t,r,n){var o=t&&t.prototype instanceof v?t:v,c=Object.create(o.prototype),i=new D(n||[]);return a(c,"_invoke",{value:j(e,r,i)}),c}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=s;var h="suspendedStart",f="suspendedYield",d="executing",m="completed",g={};function v(){}function y(){}function E(){}var b={};u(b,c,function(){return this});var w=Object.getPrototypeOf,x=w&&w(w(N([])));x&&x!==r&&n.call(x,c)&&(b=x);var O=E.prototype=v.prototype=Object.create(b);function A(e){["next","throw","return"].forEach(function(t){u(e,t,function(e){return this._invoke(t,e)})})}function S(e,t){function r(a,o,c,i){var l=p(e[a],e,o);if("throw"!==l.type){var u=l.arg,s=u.value;return s&&"object"==typeof s&&n.call(s,"__await")?t.resolve(s.__await).then(function(e){r("next",e,c,i)},function(e){r("throw",e,c,i)}):t.resolve(s).then(function(e){u.value=e,c(u)},function(e){return r("throw",e,c,i)})}i(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,c){if(a===d)throw new Error("Generator is already running");if(a===m){if("throw"===o)throw c;return{value:e,done:!0}}for(n.method=o,n.arg=c;;){var i=n.delegate;if(i){var l=C(i,n);if(l){if(l===g)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===h)throw a=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=d;var u=p(t,r,n);if("normal"===u.type){if(a=n.done?m:f,u.arg===g)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(a=m,n.method="throw",n.arg=u.arg)}}}function C(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,C(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var o=p(a,t.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[t.resultName]=c.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,g):c:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function L(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 _(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function N(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 y.prototype=E,a(O,"constructor",{value:E,configurable:!0}),a(E,"constructor",{value:y,configurable:!0}),y.displayName=u(E,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===y||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,u(e,l,"GeneratorFunction")),e.prototype=Object.create(O),e},t.awrap=function(e){return{__await:e}},A(S.prototype),u(S.prototype,i,function(){return this}),t.AsyncIterator=S,t.async=function(e,r,n,a,o){void 0===o&&(o=Promise);var c=new S(s(e,r,n,a),o);return t.isGeneratorFunction(r)?c:c.next().then(function(e){return e.done?e.value:c.next()})},A(O),u(O,l,"Generator"),u(O,c,function(){return this}),u(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=N,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(_),!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 i.type="throw",i.arg=t,r.next=n,a&&(r.method="next",r.arg=e),!!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 l=n.call(c,"catchLoc"),u=n.call(c,"finallyLoc");if(l&&u){if(this.prev<c.catchLoc)return a(c.catchLoc,!0);if(this.prev<c.finallyLoc)return a(c.finallyLoc)}else if(l){if(this.prev<c.catchLoc)return a(c.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<c.finallyLoc)return a(c.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 c=o?o.completion:{};return c.type=e,c.arg=t,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(c)},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),g},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),_(r),g}},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;_(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:N(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),g}},t}var A=function(e){function t(){var e,r;Object(o.a)(this,t);for(var n=arguments.length,c=new Array(n),u=0;u<n;u++)c[u]=arguments[u];return(r=Object(i.a)(this,(e=Object(l.a)(t)).call.apply(e,[this].concat(c)))).state={deggrp:"",college:"",combination:"",degree:"",status:"",list:"",sem:"",remarks:"",frmsubmit:!1,fapprstatus:"",table:r.props.data,disabled:!1},r.componentDidMount=Object(a.a)(k().mark(function e(){return k().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.props.loaddegreegroup();case 2:r.setState({frmsubmit:!1});case 3:case"end":return e.stop()}},e)})),r.handleChangeDeggrp=function(){var e=Object(a.a)(k().mark(function e(t,n){return k().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.setState({deggrp:n.value});case 2:r.props.getADMCollege(r.state.deggrp);case 3:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}(),r.handleChangeCollege=function(){var e=Object(a.a)(k().mark(function e(t,n){return k().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.setState({college:n.value});case 2:r.props.getADMDegree(r.state);case 3:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}(),r.handleChangeDegree=function(){var e=Object(a.a)(k().mark(function e(t,n){return k().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.setState({degree:n.value});case 2:r.props.getADMCombination(r.state);case 3:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}(),r.handleChangeComb=function(){var e=Object(a.a)(k().mark(function e(t,n){return k().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.setState({combination:n.value});case 2:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}(),r.handleChangeStatus=function(){var e=Object(a.a)(k().mark(function e(t,n){return k().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.setState({status:n.value});case 2:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}(),r.handleChangeList=function(){var e=Object(a.a)(k().mark(function e(t,n){return k().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.setState({list:n.value});case 2:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}(),r.handleChangeSem=function(){var e=Object(a.a)(k().mark(function e(t,n){return k().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.setState({sem:n.value});case 2:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}(),r.handleChangeRemarks=function(){var e=Object(a.a)(k().mark(function e(t,n){return k().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,r.setState({remarks:n.value});case 2:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}(),r.handleSubmit=Object(a.a)(k().mark(function e(){var t,n,a,o,c,i,l;return k().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.college){e.next=8;break}return n={header:"Error",content:"Select College"},r.props.showError(n),e.abrupt("return");case 8:if(""!==r.state.degree){e.next=12;break}return a={header:"Error",content:"Select Degree"},r.props.showError(a),e.abrupt("return");case 12:if(""!==r.state.combination){e.next=16;break}return o={header:"Error",content:"Select Combination"},r.props.showError(o),e.abrupt("return");case 16:if(""!==r.state.list){e.next=20;break}return c={header:"Error",content:"Select List"},r.props.showError(c),e.abrupt("return");case 20:if(""!==r.state.sem){e.next=24;break}return i={header:"Error",content:"Select Semester"},r.props.showError(i),e.abrupt("return");case 24:if(""!==r.state.status){e.next=28;break}return l={header:"Error",content:"Select Status"},r.props.showError(l),e.abrupt("return");case 28:return e.next=30,r.props.viewadmapprove(r.state);case 30:r.setState({table:r.props.data}),r.setState({frmsubmit:!0});case 32:case"end":return e.stop()}},e)})),r.handlechkboxchange=function(e,t){var n=r.state.table.map(function(r,n){return n===t&&(e?(r.fmodify="T",r.fapprstatus="APPROVED"):(r.fmodify="F",r.fapprstatus="")),r});r.setState({table:n})},r.handlechkboxchangeAll=function(e,t){var n=r.state.table.map(function(t,r){return t.fapprstatus=e?"APPROVED":"",t});r.setState({tabledet:n}),r.setState({fapprstatus:e})},r.handleRemarks=function(e,t){var n=r.state.table.map(function(r,n){return n===t&&(r.fapprremarks=e),r});r.setState({table:n})},r.handleSave=Object(a.a)(k().mark(function e(){var t,n,a,o,c,i,l;return k().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.college){e.next=8;break}return n={header:"Error",content:"Select College"},r.props.showError(n),e.abrupt("return");case 8:if(""!==r.state.degree){e.next=12;break}return a={header:"Error",content:"Select Degree"},r.props.showError(a),e.abrupt("return");case 12:if(""!==r.state.combination){e.next=16;break}return o={header:"Error",content:"Select Combination"},r.props.showError(o),e.abrupt("return");case 16:if(""!==r.state.list){e.next=20;break}return c={header:"Error",content:"Select List"},r.props.showError(c),e.abrupt("return");case 20:if(""!==r.state.sem){e.next=24;break}return i={header:"Error",content:"Select Semester"},r.props.showError(i),e.abrupt("return");case 24:if(""!==r.state.status){e.next=28;break}return l={header:"Error",content:"Select Status"},r.props.showError(l),e.abrupt("return");case 28:return e.next=30,r.props.saveadmapprove(r.state.table,r.state);case 30:case"end":return e.stop()}},e)})),r.handleCancel=function(){r.setState({deggrp:"",college:"",combination:"",degree:"",status:"",list:"",sem:"",remarks:"",fapprstatus:"",frmsubmit:!1})},r}return Object(u.a)(t,e),Object(c.a)(t,[{key:"render",value:function(){var e=this,t=this.state,r=t.deggrp,a=t.college,o=t.combination,c=t.degree,i=t.status,l=t.list,u=t.sem,s=t.remarks,h=t.fapprstatus,x=this.props.degcentre.map(function(e){return{key:e.fdeggrp,value:e.fdeggrp,text:e.fdeggrp+" - "+e.fdescpn}}),O=this.props.college.map(function(e){return{key:e.fcollcode,value:e.fcollcode,text:e.fcollcode+" - "+e.fcollname}}),k=this.props.degree.map(function(e){return{key:e.fdegree,value:e.fdegree,text:e.fname}}),A=this.props.comb.map(function(e){return{key:e.internal_code,value:e.internal_code,text:e.internal_code+" - "+e.value}}),S=[].concat([{key:1,value:"All",text:"All"}],Object(n.a)(A));return p.a.createElement("div",{className:"animated fadeIn"},p.a.createElement(f.a,{fluid:!0},p.a.createElement(f.a.Content,null,p.a.createElement(f.a.Header,{style:{display:"flex"}},p.a.createElement("h4",null,"Admission Approve"),p.a.createElement("div",{className:"ml-auto"},p.a.createElement(d.a,{basic:!0,color:"blue",onClick:this.handleSave,content:"Save",icon:"save"}),p.a.createElement(d.a,{basic:!0,color:"black",icon:"ban",onClick:this.handleCancel,content:"Cancel"}),p.a.createElement(w.a,{to:"/dashboard"},p.a.createElement(d.a,{basic:!0,color:"red",content:"Exit",icon:"home"})))),p.a.createElement(m.a,null),p.a.createElement(f.a.Description,{style:{overflowY:"auto",height:"600px"}},p.a.createElement("div",{className:"col-md-8 col-lg-8 col-sm-12"},p.a.createElement(g.a,null,p.a.createElement(g.a.Group,null,p.a.createElement(g.a.Field,{width:8},p.a.createElement("label",null,"Degree Group"),p.a.createElement(v.a,{fluid:!0,search:!0,selection:!0,onChange:this.handleChangeDeggrp,value:r,name:"deggrp",placeholder:"Degree Group",options:x}))),p.a.createElement(g.a.Field,{width:16},p.a.createElement("label",null,"College"),p.a.createElement(v.a,{fluid:!0,search:!0,selection:!0,onChange:this.handleChangeCollege,value:a,name:"college",placeholder:"College",options:O})),p.a.createElement(g.a.Field,{width:16},p.a.createElement("label",null,"Degree"),p.a.createElement(v.a,{fluid:!0,search:!0,selection:!0,onChange:this.handleChangeDegree,value:c,name:"degree",placeholder:"Degree",options:k})),p.a.createElement(g.a.Group,null,p.a.createElement(g.a.Field,{width:8},p.a.createElement("label",null,"Combination"),p.a.createElement(v.a,{fluid:!0,search:!0,selection:!0,onChange:this.handleChangeComb,value:o,name:"combination",placeholder:"Combination",options:S})),p.a.createElement(g.a.Field,{width:8},p.a.createElement("label",null,"Status"),p.a.createElement(v.a,{fluid:!0,search:!0,selection:!0,onChange:this.handleChangeStatus,value:i,name:"status",placeholder:"Status",options:[{key:1,value:"All",text:"All"},{key:2,value:"Approved",text:"Approved"},{key:3,value:"Approval Pending",text:"Approval Pending"},{key:4,value:"Deleted",text:"Deleted"}]}))),p.a.createElement(g.a.Group,null,p.a.createElement(g.a.Field,{width:8},p.a.createElement("label",null,"List"),p.a.createElement(v.a,{fluid:!0,search:!0,selection:!0,onChange:this.handleChangeList,value:l,name:"list",placeholder:"List",options:[{key:1,value:"1",text:"First List"},{key:2,value:"2",text:"Second List"}]})),p.a.createElement(g.a.Field,{width:8},p.a.createElement("label",null,"Semester"),p.a.createElement(v.a,{fluid:!0,search:!0,selection:!0,onChange:this.handleChangeSem,value:u,name:"sem",placeholder:"Semester",options:[{key:1,value:"A",text:"First Semester"},{key:2,value:"C",text:"Third Semester"}]}))),p.a.createElement(g.a.Group,null,p.a.createElement(g.a.Field,{width:8},p.a.createElement("label",null,"Remarks"),p.a.createElement(y.a,{value:s,onChange:this.handleChangeRemarks,name:"remarks",placeholder:"Remarks"}))),p.a.createElement(g.a.Field,null,p.a.createElement(d.a,{content:"Submit",color:"blue",onClick:this.handleSubmit})))),this.state.frmsubmit?p.a.createElement(E.a,{celled:!0},p.a.createElement(E.a.Header,null,p.a.createElement(E.a.Row,null,p.a.createElement(E.a.HeaderCell,{style:{width:"3%"},singleLine:!0,textAlign:"center"},"Sl. No."),p.a.createElement(E.a.HeaderCell,{style:{width:"9%"},textAlign:"center"},"Photo"),p.a.createElement(E.a.HeaderCell,{style:{width:"6%"},textAlign:"center"},"Admission No."),p.a.createElement(E.a.HeaderCell,{textAlign:"center",style:{width:"18%"}},"Student Name"),p.a.createElement(E.a.HeaderCell,{style:{width:"4%"},textAlign:"center"},"Gender"),p.a.createElement(E.a.HeaderCell,{style:{width:"4%"},textAlign:"center"},"Caste"),p.a.createElement(E.a.HeaderCell,{style:{width:"6%"},textAlign:"center"},"Degree"),p.a.createElement(E.a.HeaderCell,{style:{width:"30%"},textAlign:"center"},"Sub. Name"),p.a.createElement(E.a.HeaderCell,{style:{width:"7%"},textAlign:"center"},"Nationality"),p.a.createElement(E.a.HeaderCell,{style:{width:"5%"},textAlign:"center"},"Approve",p.a.createElement(b.a,{onChange:function(t,r){return e.handlechkboxchangeAll(r.checked)},value:h,checked:h})),p.a.createElement(E.a.HeaderCell,{style:{width:"15%"},textAlign:"center"},"Remarks"))),p.a.createElement(E.a.Body,null,this.state.table.map(function(t,r){var n="https://university-student-photos.s3.ap-south-1.amazonaws.com/"+e.props.univcode+"/"+t.fphotopath,a="https://college.universitysolutions.in/app.php?db=".concat(e.props.dbname,"&a=printApplicationNitte.demo&app_no=").concat(t.fappno);return p.a.createElement(E.a.Row,null,p.a.createElement(E.a.Cell,{textAlign:"center"},r+1),p.a.createElement(E.a.Cell,null,p.a.createElement("img",{style:{width:"80px",height:"80px"},class:"ui small image",src:n})),p.a.createElement(E.a.Cell,null,p.a.createElement("a",{href:a,target:"_blank"},p.a.createElement("b",null,t.fappno))),p.a.createElement(E.a.Cell,null,p.a.createElement("b",null,t.fname)),p.a.createElement(E.a.Cell,{textAlign:"center"},p.a.createElement("b",null,t.fgender)),p.a.createElement(E.a.Cell,{textAlign:"center"},p.a.createElement("b",null,t.fcaste)),p.a.createElement(E.a.Cell,{textAlign:"center"},p.a.createElement("b",null,t.fdegree)),p.a.createElement(E.a.Cell,{textAlign:"center"},p.a.createElement("b",null,t.fsubshort)),p.a.createElement(E.a.Cell,{textAlign:"center"},p.a.createElement("b",null,t.fnationality)),p.a.createElement(E.a.Cell,{textAlign:"center",style:{fontSize:"1.2em",padding:"0.4em"}},p.a.createElement(b.a,{disabled:"APPROVED"==t.fapprstatus?!e.state.disabled:"",onChange:function(t,n){return e.handlechkboxchange(n.checked,r)},value:t.fapprstatus,checked:"APPROVED"==t.fapprstatus})),p.a.createElement(E.a.Cell,{textAlign:"center"},p.a.createElement(g.a.Input,{placeholder:"Remarks",name:"remarks",onChange:function(t,n){return e.handleRemarks(n.value,r)},value:t.fapprremarks})))}))):null))))}}]),t}(s.Component);t.default=Object(h.b)(function(e){return{univcode:e.univ.funivcode,dbname:e.univ.ffolder,degcentre:e.deggrpexamcentre,degree:e.getadmdegree,college:e.getadmcollege,comb:e.getadmcomb,data:e.viewadmapprove}},{showError:x.A,loaddegreegroup:O.e,getADMDegree:O.d,getADMCollege:O.a,getADMCombination:O.b,viewadmapprove:O.g,saveadmapprove:O.f})(A)},272:function(e,t,r){"use strict";var n=r(270),a=r.n(n),o=r(268),c=r.n(o),i=r(2),l=r.n(i),u=r(349),s=r(613),p=r(611),h=r(269);function f(e){var t=e.children,r=e.className,n=e.clearing,o=e.content,i=e.fitted,d=e.hidden,m=e.horizontal,g=e.inverted,v=e.section,y=e.vertical,E=c()("ui",Object(u.a)(n,"clearing"),Object(u.a)(i,"fitted"),Object(u.a)(d,"hidden"),Object(u.a)(m,"horizontal"),Object(u.a)(g,"inverted"),Object(u.a)(v,"section"),Object(u.a)(y,"vertical"),"divider",r),b=Object(s.a)(f,e),w=Object(p.a)(f,e);return l.a.createElement(w,a()({},b,{className:E}),h.a.isNil(t)?o:t)}f.handledProps=["as","children","className","clearing","content","fitted","hidden","horizontal","inverted","section","vertical"],f.propTypes={},t.a=f},351:function(e,t,r){"use strict";r.d(t,"e",function(){return i}),r.d(t,"d",function(){return l}),r.d(t,"a",function(){return u}),r.d(t,"b",function(){return s}),r.d(t,"g",function(){return p}),r.d(t,"f",function(){return h}),r.d(t,"c",function(){return f});var n=r(68),a=r(271),o=r(267);r(286);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",l=o.asyncIterator||"@@asyncIterator",u=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 p(e,t,r,n){var o=t&&t.prototype instanceof y?t:y,c=Object.create(o.prototype),i=new D(n||[]);return a(c,"_invoke",{value:j(e,r,i)}),c}function h(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var f="suspendedStart",d="suspendedYield",m="executing",g="completed",v={};function y(){}function E(){}function b(){}var w={};s(w,i,function(){return this});var x=Object.getPrototypeOf,O=x&&x(x(N([])));O&&O!==r&&n.call(O,i)&&(w=O);var k=b.prototype=y.prototype=Object.create(w);function A(e){["next","throw","return"].forEach(function(t){s(e,t,function(e){return this._invoke(t,e)})})}function S(e,t){function r(a,o,c,i){var l=h(e[a],e,o);if("throw"!==l.type){var u=l.arg,s=u.value;return s&&"object"==typeof s&&n.call(s,"__await")?t.resolve(s.__await).then(function(e){r("next",e,c,i)},function(e){r("throw",e,c,i)}):t.resolve(s).then(function(e){u.value=e,c(u)},function(e){return r("throw",e,c,i)})}i(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=f;return function(o,c){if(a===m)throw new Error("Generator is already running");if(a===g){if("throw"===o)throw c;return{value:e,done:!0}}for(n.method=o,n.arg=c;;){var i=n.delegate;if(i){var l=C(i,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===f)throw a=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=m;var u=h(t,r,n);if("normal"===u.type){if(a=n.done?g:d,u.arg===v)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(a=g,n.method="throw",n.arg=u.arg)}}}function C(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,C(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=h(a,t.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[t.resultName]=c.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,v):c:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,v)}function L(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 _(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function D(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function N(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 E.prototype=b,a(k,"constructor",{value:b,configurable:!0}),a(b,"constructor",{value:E,configurable:!0}),E.displayName=s(b,u,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===E||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,s(e,u,"GeneratorFunction")),e.prototype=Object.create(k),e},t.awrap=function(e){return{__await:e}},A(S.prototype),s(S.prototype,l,function(){return this}),t.AsyncIterator=S,t.async=function(e,r,n,a,o){void 0===o&&(o=Promise);var c=new S(p(e,r,n,a),o);return t.isGeneratorFunction(r)?c:c.next().then(function(e){return e.done?e.value:c.next()})},A(k),s(k,u,"Generator"),s(k,i,function(){return this}),s(k,"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=N,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(_),!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 i.type="throw",i.arg=t,r.next=n,a&&(r.method="next",r.arg=e),!!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 l=n.call(c,"catchLoc"),u=n.call(c,"finallyLoc");if(l&&u){if(this.prev<c.catchLoc)return a(c.catchLoc,!0);if(this.prev<c.finallyLoc)return a(c.finallyLoc)}else if(l){if(this.prev<c.catchLoc)return a(c.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<c.finallyLoc)return a(c.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 c=o?o.completion:{};return c.type=e,c.arg=t,o?(this.method="next",this.next=o.finallyLoc,v):this.complete(c)},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),_(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;_(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:N(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}var i=function(){return function(){var e=Object(n.a)(c().mark(function e(t,r){var n,i,l,u;return c().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",{params:{a:"loaddeggrpexamcentre",univcode:n.user.fcuruniv}});case 4:i=e.sent,t({type:"UNSET_LOADER"}),"object"!==typeof i.data?(l={header:"Error",content:"Something went wrong"},t(Object(o.A)(l))):-1===i.data.error_code?(u={header:"Error",content:i.data.data.msg},t(Object(o.A)(u))):t({type:"LOAD_DEGGRP_EXAMCENTRE",payload:i.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)(c().mark(function t(r,n){var i,l,u,s;return c().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return i=n(),r({type:"SET_LOADER"}),t.next=4,a.a.get("/app.php",{params:{a:"getADMDegree",univcode:i.user.fcuruniv,deggrp:e.deggrp,college:e.college}});case 4:l=t.sent,r({type:"UNSET_LOADER"}),"object"!==typeof l.data?(u={header:"Error",content:"Something went wrong"},r(Object(o.A)(u))):-1===l.data.error_code?(s={header:"Error",content:l.data.data.msg},r(Object(o.A)(s))):r({type:"GET_ADMDEGREE",payload:l.data});case 7:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},u=function(e){return function(){var t=Object(n.a)(c().mark(function t(r,n){var i,l,u,s;return c().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return i=n(),r({type:"SET_LOADER"}),t.next=4,a.a.get("/app.php",{params:{a:"getADMCollege",univcode:i.user.fcuruniv,deggrp:e}});case 4:l=t.sent,r({type:"UNSET_LOADER"}),"object"!==typeof l.data?(u={header:"Error",content:"Something went wrong"},r(Object(o.A)(u))):-1===l.data.error_code?(s={header:"Error",content:l.data.data.msg},r(Object(o.A)(s))):r({type:"GET_ADMCOLLEGE",payload:l.data});case 7:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},s=function(e){return function(){var t=Object(n.a)(c().mark(function t(r,n){var i,l,u,s;return c().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return i=n(),r({type:"SET_LOADER"}),t.next=4,a.a.get("/app.php",{params:{a:"getADMCombination",univcode:i.user.fcuruniv,college:e.college,degree:e.degree}});case 4:l=t.sent,r({type:"UNSET_LOADER"}),"object"!==typeof l.data?(u={header:"Error",content:"Something went wrong"},r(Object(o.A)(u))):-1===l.data.error_code?(s={header:"Error",content:l.data.data.msg},r(Object(o.A)(s))):r({type:"GET_ADMCOMBINATION",payload:l.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(n.a)(c().mark(function t(r,n){var i,l,u,s;return c().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return i=n(),r({type:"SET_LOADER"}),t.next=4,a.a.get("/app.php",{params:{a:"viewadmapprove",univcode:i.user.fcuruniv,deggrp:e.deggrp,college:e.college,degree:e.degree,comb:e.combination,status:e.status,list:e.list,sem:e.sem,remarks:e.remarks}});case 4:l=t.sent,r({type:"UNSET_LOADER"}),"object"!==typeof l.data?(u={header:"Error",content:"Something went wrong"},r(Object(o.A)(u))):-1===l.data.error_code?(s={header:"Error",content:l.data.data.msg},r(Object(o.A)(s))):r({type:"VIEW_ADMAPPROVE",payload:l.data});case 7:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()},h=function(e,t){return function(){var r=Object(n.a)(c().mark(function r(n,i){var l,u,s,p,h;return c().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return l=i(),n({type:"SET_LOADER"}),r.next=4,a.a.post("/app.php?a=updateadmapprove&univcode="+l.univ.funivcode+"&user="+l.user.fname,{data:e,details:t});case 4:u=r.sent,n({type:"UNSET_LOADER"}),"object"!==typeof u.data?(s={header:"Error",content:"Something went wrong"},n(Object(o.A)(s))):-1===u.data.error_code?(p={header:"Error",content:u.data.data.msg},n(Object(o.A)(p))):(h={header:"Success",content:u.data.data.msg},n(Object(o.A)(h)));case 7:case"end":return r.stop()}},r)}));return function(e,t){return r.apply(this,arguments)}}()},f=function(e){return function(){var t=Object(n.a)(c().mark(function t(r,n){var i,l,u,s;return c().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return i=n(),r({type:"SET_LOADER"}),t.next=4,a.a.get("/app.php",{params:{a:"getADMCombinationreport",univcode:i.user.fcuruniv,college:e.college,degree:e.degree}});case 4:l=t.sent,r({type:"UNSET_LOADER"}),"object"!==typeof l.data?(u={header:"Error",content:"Something went wrong"},r(Object(o.A)(u))):-1===l.data.error_code?(s={header:"Error",content:l.data.data.msg},r(Object(o.A)(s))):r({type:"GET_ADMCOMBINATION_REPORT",payload:l.data});case 7:case"end":return t.stop()}},t)}));return function(e,r){return t.apply(this,arguments)}}()}}}]);
//# sourceMappingURL=153.6326e115.chunk.js.map
|