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.191.186.194
(window.webpackJsonp=window.webpackJsonp||[]).push([[207,307],{1169:function(e,t,r){"use strict";r.r(t);var n=r(3),a=r(68),o=r(0),i=r(1),c=r(100),l=r(101),u=r(103),s=r(102),f=r(104),h=r(2),p=r.n(h),d=r(941),g=r(1377),v=r(1343),y=r(272),m=r(1335),w=r(1338),b=r(105),E=r(291),x=r(267),L=r(273);function O(){O=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 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 y?t:y,i=Object.create(o.prototype),c=new G(n||[]);return a(i,"_invoke",{value:k(e,r,c)}),i}function f(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",p="suspendedYield",d="executing",g="completed",v={};function y(){}function m(){}function w(){}var b={};u(b,i,function(){return this});var E=Object.getPrototypeOf,x=E&&E(E(A([])));x&&x!==r&&n.call(x,i)&&(b=x);var L=w.prototype=y.prototype=Object.create(b);function j(e){["next","throw","return"].forEach(function(t){u(e,t,function(e){return this._invoke(t,e)})})}function C(e,t){function r(a,o,i,c){var l=f(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,i,c)},function(e){r("throw",e,i,c)}):t.resolve(s).then(function(e){u.value=e,i(u)},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 k(t,r,n){var a=h;return function(o,i){if(a===d)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===v)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===h)throw a=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=d;var u=f(t,r,n);if("normal"===u.type){if(a=n.done?g:p,u.arg===v)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(a=g,n.method="throw",n.arg=u.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=f(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 _(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 N(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function G(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function A(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=w,a(L,"constructor",{value:w,configurable:!0}),a(w,"constructor",{value:m,configurable:!0}),m.displayName=u(w,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,w):(e.__proto__=w,u(e,l,"GeneratorFunction")),e.prototype=Object.create(L),e},t.awrap=function(e){return{__await:e}},j(C.prototype),u(C.prototype,c,function(){return this}),t.AsyncIterator=C,t.async=function(e,r,n,a,o){void 0===o&&(o=Promise);var i=new C(s(e,r,n,a),o);return t.isGeneratorFunction(r)?i:i.next().then(function(e){return e.done?e.value:i.next()})},j(L),u(L,l,"Generator"),u(L,i,function(){return this}),u(L,"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=A,G.prototype={constructor:G,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(N),!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"),u=n.call(i,"finallyLoc");if(l&&u){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(!u)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),N(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;N(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:A(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),v}},t}var j=function(e){function t(){var e,r;Object(c.a)(this,t);for(var n=arguments.length,l=new Array(n),f=0;f<n;f++)l[f]=arguments[f];return(r=Object(u.a)(this,(e=Object(s.a)(t)).call.apply(e,[this].concat(l)))).state={centreList:[],deggrp:[],frmsubmit:!1,searchVal:"",fdeggrp:"",fyear:"",fexamtype:"",fexamdate:""},r.setDeggrp=function(e){r.setState({degGrp:e})},r.changeCell=function(e,t,n){var a=r.state.centreList.map(function(r,a){var c=r;return a===n&&(c=Object(i.a)({},t,Object(o.a)({},e.target.name,e.target.value))),c});r.setState({centreList:a})},r.handleSave=Object(a.a)(O().mark(function e(){var t,n;return O().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!(r.state.centreList.length<=0)){e.next=5;break}return r.setState({error:!0,errorMessage:"Enter the vlaues"}),e.abrupt("return");case 5:r.setState({error:!1,errorMessage:""});case 6:t=0;case 7:if(!(t<r.state.centreList.length)){e.next=15;break}if(""!==(n=r.state.centreList[t]).fdeggrp&&""!==n.fdescpn){e.next=12;break}return r.setState({error:!0,errorMessage:"Enter all the vlaues"}),e.abrupt("return");case 12:t++,e.next=7;break;case 15:return r.setState({error:!1,errorMessage:""}),e.next=18,r.props.saveCntrList(r.state.centreList,r.state.fdeggrp);case 18:case"end":return e.stop()}},e)})),r.handleCancel=function(){r.setState({frmsubmit:!1,centreList:[]})},r.searchTable=function(e,t){var n=t.value,a=r.props.cntrList.filter(function(e){return Object.keys(e).some(function(t){return e[t].toLowerCase().includes(n.toLowerCase())})});r.setState({centreList:a,searchVal:t.value})},r.changeDeggrp=function(){var e=Object(a.a)(O().mark(function e(t,n){var a,o;return O().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=r.props.deggrp.filter(function(e,t){return e.fdeggrp===n.value}),o=a[0],e.next=4,r.setState({fyear:o.fyear,fexamtype:o.fexamtype,fexamdate:o.fexamdate,fdeggrp:o.fdeggrp});case 4:return e.next=6,r.props.fetchCntrList(r.state.fdeggrp);case 6:r.setState({frmsubmit:!0});case 7:case"end":return e.stop()}},e)}));return function(t,r){return e.apply(this,arguments)}}(),r}return Object(f.a)(t,e),Object(l.a)(t,[{key:"componentDidMount",value:function(){var e=Object(a.a)(O().mark(function e(){return O().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.props.fetchDegGrp();case 2:this.setState({deggrp:this.props.deggrp});case 3:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}()},{key:"componentDidUpdate",value:function(e){this.props.cntrList!==e.cntrList&&this.setState({centreList:Object(n.a)(this.props.cntrList)})}},{key:"render",value:function(){var e=this,t=this.state,r=t.centreList,n=t.frmsubmit,a=t.fdeggrp,o=t.fyear,i=t.fexamtype,c=t.fexamdate,l=Object(L.i)();return p.a.createElement("div",{className:"animated fadeIn"},p.a.createElement(g.a,{fluid:!0},p.a.createElement(g.a.Content,null,p.a.createElement(g.a.Header,{style:{display:"flex"}},p.a.createElement("h3",null,"Centre List"),p.a.createElement("div",{className:"ml-auto"},p.a.createElement(v.a,{basic:!0,color:"blue",content:"Save",disabled:!n,onClick:this.handleSave,icon:"save"}),p.a.createElement(v.a,{basic:!0,color:"black",icon:"ban",onClick:this.handleCancel,content:"Cancel"}),p.a.createElement(d.a,{to:"/dashboard"},p.a.createElement(v.a,{basic:!0,color:"red",content:"Exit",icon:"home"})))),p.a.createElement(y.a,null),p.a.createElement(g.a.Description,{style:{overflowY:"auto",height:"".concat(l,"px")}},p.a.createElement("div",{className:"col-md-6"},p.a.createElement(m.a,null,p.a.createElement(E.a,{pdeggrp:{fdeggrp:a,fyear:o,fexamtype:i,fexamdate:c},changeDeggrp:this.changeDeggrp}))),n?p.a.createElement("div",{className:"ui form"},p.a.createElement(w.a,{celled:!0},p.a.createElement(w.a.Header,null,p.a.createElement(w.a.Row,null,p.a.createElement(w.a.HeaderCell,{style:{width:"5%"},singleLine:!0,textAlign:"center"},"Sl. No."),p.a.createElement(w.a.HeaderCell,{style:{width:"10%"},textAlign:"center"},"College Code"),p.a.createElement(w.a.HeaderCell,{textAlign:"center"},"College Name"),p.a.createElement(w.a.HeaderCell,{style:{width:"10%"},textAlign:"center"},"Theory Centre"),p.a.createElement(w.a.HeaderCell,{style:{width:"10%"},textAlign:"center"},"Practical Centre"))),p.a.createElement(w.a.Body,null,r.map(function(t,r){return p.a.createElement(w.a.Row,{key:r},p.a.createElement(w.a.Cell,{textAlign:"center"},r+1),p.a.createElement(w.a.Cell,{textAlign:"center"},t.fcollcode),p.a.createElement(w.a.Cell,null,t.fcollname),p.a.createElement(w.a.Cell,{textAlign:"center",singleLine:!0},p.a.createElement("input",{className:"field",type:"text",name:"fexamcodet",id:r.toString(),value:t.fexamcodet,onChange:function(n){return e.changeCell(n,t,r)}})),p.a.createElement(w.a.Cell,null,p.a.createElement("input",{type:"text",value:t.fexamcodep,name:"fexamcodep",id:r.toString(),onChange:function(n){return e.changeCell(n,t,r)}})))})))):null))))}}]),t}(h.Component);t.default=Object(b.b)(function(e){return{cntrList:e.cntrList,saveCntrList:e.saveCntrList,user:e.user,deggrp:e.deggrp}},{saveCntrList:x.v,fetchCntrList:x.h,showError:x.A,fetchDegGrp:x.j,changeCntrList:x.a})(j)},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),u=r(349),s=r(613),f=r(611),h=r(269);function p(e){var t=e.children,r=e.className,n=e.clearing,o=e.content,c=e.fitted,d=e.hidden,g=e.horizontal,v=e.inverted,y=e.section,m=e.vertical,w=i()("ui",Object(u.a)(n,"clearing"),Object(u.a)(c,"fitted"),Object(u.a)(d,"hidden"),Object(u.a)(g,"horizontal"),Object(u.a)(v,"inverted"),Object(u.a)(y,"section"),Object(u.a)(m,"vertical"),"divider",r),b=Object(s.a)(p,e),E=Object(f.a)(p,e);return l.a.createElement(E,a()({},b,{className:w}),h.a.isNil(t)?o:t)}p.handledProps=["as","children","className","clearing","content","fitted","hidden","horizontal","inverted","section","vertical"],p.propTypes={},t.a=p},291:function(e,t,r){"use strict";var n=r(3),a=r(68),o=r(100),i=r(101),c=r(103),l=r(102),u=r(104),s=r(2),f=r.n(s),h=r(105),p=r(1335),d=r(1337),g=r(267);function v(){v=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 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 m?t:m,i=Object.create(o.prototype),c=new G(n||[]);return a(i,"_invoke",{value:k(e,r,c)}),i}function f(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",p="suspendedYield",d="executing",g="completed",y={};function m(){}function w(){}function b(){}var E={};u(E,i,function(){return this});var x=Object.getPrototypeOf,L=x&&x(x(A([])));L&&L!==r&&n.call(L,i)&&(E=L);var O=b.prototype=m.prototype=Object.create(E);function j(e){["next","throw","return"].forEach(function(t){u(e,t,function(e){return this._invoke(t,e)})})}function C(e,t){function r(a,o,i,c){var l=f(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,i,c)},function(e){r("throw",e,i,c)}):t.resolve(s).then(function(e){u.value=e,i(u)},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 k(t,r,n){var a=h;return function(o,i){if(a===d)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===h)throw a=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=d;var u=f(t,r,n);if("normal"===u.type){if(a=n.done?g:p,u.arg===y)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(a=g,n.method="throw",n.arg=u.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=f(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 _(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 N(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function G(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(_,this),this.reset(!0)}function A(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 w.prototype=b,a(O,"constructor",{value:b,configurable:!0}),a(b,"constructor",{value:w,configurable:!0}),w.displayName=u(b,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===w||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,u(e,l,"GeneratorFunction")),e.prototype=Object.create(O),e},t.awrap=function(e){return{__await:e}},j(C.prototype),u(C.prototype,c,function(){return this}),t.AsyncIterator=C,t.async=function(e,r,n,a,o){void 0===o&&(o=Promise);var i=new C(s(e,r,n,a),o);return t.isGeneratorFunction(r)?i:i.next().then(function(e){return e.done?e.value:i.next()})},j(O),u(O,l,"Generator"),u(O,i,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=A,G.prototype={constructor:G,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(N),!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"),u=n.call(i,"finallyLoc");if(l&&u){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(!u)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),N(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;N(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:A(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),y}},t}var y=function(e){function t(){return Object(o.a)(this,t),Object(c.a)(this,Object(l.a)(t).apply(this,arguments))}return Object(u.a)(t,e),Object(i.a)(t,[{key:"componentDidMount",value:function(){var e=Object(a.a)(v().mark(function e(){return v().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}},e)}));return function(){return e.apply(this,arguments)}}()},{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)}}),t=[].concat([{key:"All",value:"All",text:"All"}],Object(n.a)(e)),r=this.props.pdeggrp,a=r.fdeggrp,o=r.fyear,i=r.fexamtype,c=r.fexamdate;return f.a.createElement("div",null,f.a.createElement(p.a.Field,null,f.a.createElement("label",null,"Degree Group"),f.a.createElement(d.a,{size:"mini",fluid:!0,search:!0,selection:!0,value:a,onChange:this.props.changeDeggrp,placeholder:"Select Degree Group",disabled:this.props.disabled,openOnFocus:!1,options:t,selectOnBlur:!1})),f.a.createElement(p.a.Group,null,f.a.createElement(p.a.Input,{placeholder:"Year",value:o,width:4,label:"Year",readOnly:!0}),f.a.createElement(p.a.Input,{placeholder:"Type",value:i,width:3,label:"Type",readOnly:!0}),f.a.createElement(p.a.Input,{placeholder:"Exam Date",label:"Exam Date",width:10,value:c,readOnly:!0})))}}]),t}(s.Component);t.a=Object(h.b)(function(e){return{deggrp:e.deggrp,user:e.user,funiv:e.univ.funivcode}},{fetchDegGrp:g.j})(y)}}]);
//# sourceMappingURL=207.22982afe.chunk.js.map
|