0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 18.219.199.13


Current Path : /var/www/egov/build/static/js/
Upload File :
Current File : /var/www/egov/build/static/js/223.65741d41.chunk.js

(window.webpackJsonp=window.webpackJsonp||[]).push([[223,307],{1395:function(e,t,n){"use strict";n.r(t);var r=n(68),a=n(100),o=n(101),i=n(103),c=n(102),l=n(104),u=n(2),s=n.n(u),f=n(941),h=n(1377),p=n(1343),d=n(272),v=n(1335),m=n(1337),y=n(1338),g=n(706),w=n(105),x=n(267),E=(n(274),n(273)),b=n(271);function L(){L=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",c=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,n){return e[t]=n}}function s(e,t,n,r){var o=t&&t.prototype instanceof y?t:y,i=Object.create(o.prototype),c=new N(r||[]);return a(i,"_invoke",{value:_(e,n,c)}),i}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=s;var h="suspendedStart",p="suspendedYield",d="executing",v="completed",m={};function y(){}function g(){}function w(){}var x={};u(x,i,function(){return this});var E=Object.getPrototypeOf,b=E&&E(E(G([])));b&&b!==n&&r.call(b,i)&&(x=b);var O=w.prototype=y.prototype=Object.create(x);function j(e){["next","throw","return"].forEach(function(t){u(e,t,function(e){return this._invoke(t,e)})})}function C(e,t){function n(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&&r.call(s,"__await")?t.resolve(s.__await).then(function(e){n("next",e,i,c)},function(e){n("throw",e,i,c)}):t.resolve(s).then(function(e){u.value=e,i(u)},function(e){return n("throw",e,i,c)})}c(l.arg)}var o;a(this,"_invoke",{value:function(e,r){function a(){return new t(function(t,a){n(e,r,t,a)})}return o=o?o.then(a,a):a()}})}function _(t,n,r){var a=h;return function(o,i){if(a===d)throw new Error("Generator is already running");if(a===v){if("throw"===o)throw i;return{value:e,done:!0}}for(r.method=o,r.arg=i;;){var c=r.delegate;if(c){var l=A(c,r);if(l){if(l===m)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(a===h)throw a=v,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);a=d;var u=f(t,n,r);if("normal"===u.type){if(a=r.done?v:p,u.arg===m)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(a=v,r.method="throw",r.arg=u.arg)}}}function A(t,n){var r=n.method,a=t.iterator[r];if(a===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,A(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),m;var o=f(a,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,m;var i=o.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,m):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function S(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 k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function N(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function G(t){if(t||""===t){var n=t[i];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,o=function n(){for(;++a<t.length;)if(r.call(t,a))return n.value=t[a],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}throw new TypeError(typeof t+" is not iterable")}return g.prototype=w,a(O,"constructor",{value:w,configurable:!0}),a(w,"constructor",{value:g,configurable:!0}),g.displayName=u(w,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"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(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,n,r,a,o){void 0===o&&(o=Promise);var i=new C(s(e,n,r,a),o);return t.isGeneratorFunction(n)?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),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=G,N.prototype={constructor:N,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(k),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=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 n=this;function a(r,a){return c.type="throw",c.arg=t,n.next=r,a&&(n.method="next",n.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=r.call(i,"catchLoc"),u=r.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 n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.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,m):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),m},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),k(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;k(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:G(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),m}},t}function O(){O=function(){return t};var e,t={},n=Object.prototype,r=n.hasOwnProperty,a=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",c=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,n){return e[t]=n}}function s(e,t,n,r){var o=t&&t.prototype instanceof y?t:y,i=Object.create(o.prototype),c=new N(r||[]);return a(i,"_invoke",{value:_(e,n,c)}),i}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=s;var h="suspendedStart",p="suspendedYield",d="executing",v="completed",m={};function y(){}function g(){}function w(){}var x={};u(x,i,function(){return this});var E=Object.getPrototypeOf,b=E&&E(E(G([])));b&&b!==n&&r.call(b,i)&&(x=b);var L=w.prototype=y.prototype=Object.create(x);function j(e){["next","throw","return"].forEach(function(t){u(e,t,function(e){return this._invoke(t,e)})})}function C(e,t){function n(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&&r.call(s,"__await")?t.resolve(s.__await).then(function(e){n("next",e,i,c)},function(e){n("throw",e,i,c)}):t.resolve(s).then(function(e){u.value=e,i(u)},function(e){return n("throw",e,i,c)})}c(l.arg)}var o;a(this,"_invoke",{value:function(e,r){function a(){return new t(function(t,a){n(e,r,t,a)})}return o=o?o.then(a,a):a()}})}function _(t,n,r){var a=h;return function(o,i){if(a===d)throw new Error("Generator is already running");if(a===v){if("throw"===o)throw i;return{value:e,done:!0}}for(r.method=o,r.arg=i;;){var c=r.delegate;if(c){var l=A(c,r);if(l){if(l===m)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(a===h)throw a=v,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);a=d;var u=f(t,n,r);if("normal"===u.type){if(a=r.done?v:p,u.arg===m)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(a=v,r.method="throw",r.arg=u.arg)}}}function A(t,n){var r=n.method,a=t.iterator[r];if(a===e)return n.delegate=null,"throw"===r&&t.iterator.return&&(n.method="return",n.arg=e,A(t,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),m;var o=f(a,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,m;var i=o.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,m):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,m)}function S(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 k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function N(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function G(t){if(t||""===t){var n=t[i];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,o=function n(){for(;++a<t.length;)if(r.call(t,a))return n.value=t[a],n.done=!1,n;return n.value=e,n.done=!0,n};return o.next=o}}throw new TypeError(typeof t+" is not iterable")}return g.prototype=w,a(L,"constructor",{value:w,configurable:!0}),a(w,"constructor",{value:g,configurable:!0}),g.displayName=u(w,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===g||"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,n,r,a,o){void 0===o&&(o=Promise);var i=new C(s(e,n,r,a),o);return t.isGeneratorFunction(n)?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),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=G,N.prototype={constructor:N,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(k),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=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 n=this;function a(r,a){return c.type="throw",c.arg=t,n.next=r,a&&(n.method="next",n.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=r.call(i,"catchLoc"),u=r.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 n=this.tryEntries.length-1;n>=0;--n){var a=this.tryEntries[n];if(a.tryLoc<=this.prev&&r.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,m):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),m},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),k(n),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var a=r.arg;k(n)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:G(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),m}},t}var j=function(e){function t(){var e,n;Object(a.a)(this,t);for(var o=arguments.length,l=new Array(o),u=0;u<o;u++)l[u]=arguments[u];return(n=Object(i.a)(this,(e=Object(c.a)(t)).call.apply(e,[this].concat(l)))).state={fvalcoll:"",fvaldeg:"",fvalexmno:"",fvalexmdate:"",table:!1},n.handleChangedegfrom=function(){var e=Object(r.a)(O().mark(function e(t,r){return O().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:n.setState({subfrom:r.value});case 1:case"end":return e.stop()}},e)}));return function(t,n){return e.apply(this,arguments)}}(),n.handleCancel=function(){var e=Object(r.a)(O().mark(function e(t,r){return O().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:n.setState({fvalcoll:"",fvaldeg:"",fvalexmno:"",fvalexmdate:"",table:!1,open:!1});case 1:case"end":return e.stop()}},e)}));return function(t,n){return e.apply(this,arguments)}}(),n.handleChangecoll=function(){var e=Object(r.a)(O().mark(function e(t,r){return O().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n.props.fetchdegree(r.value);case 2:n.setState({fvalcoll:r.value,fvalexmno:"All",fvaldeg:"All",fvalexmdate:"All",table:!1});case 3:case"end":return e.stop()}},e)}));return function(t,n){return e.apply(this,arguments)}}(),n.handleChangedeg=function(){var e=Object(r.a)(O().mark(function e(t,r){return O().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n.props.fetchexamno(r.value);case 2:n.setState({fvaldeg:r.value,fvalexmno:"All",fvalexmdate:"All"});case 3:case"end":return e.stop()}},e)}));return function(t,n){return e.apply(this,arguments)}}(),n.handleChangeexm=function(){var e=Object(r.a)(O().mark(function e(t,r){return O().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:n.setState({fvalexmno:r.value});case 1:case"end":return e.stop()}},e)}));return function(t,n){return e.apply(this,arguments)}}(),n.handleChangeexmdate=function(){var e=Object(r.a)(O().mark(function e(t,r){return O().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:n.setState({fvalexmdate:r.value});case 1:case"end":return e.stop()}},e)}));return function(t,n){return e.apply(this,arguments)}}(),n.handleSubmit=function(){n.props.user.fdeggrp;var e=n.state,t=e.fvalcoll;e.fvaldeg,e.fvalexmno,e.fvalexmdate;if(""!=t)n.props.getviewledg(n.state),n.setState({table:!0});else{n.props.showError({header:"Error",content:"Select College"})}},n.handledelete=Object(r.a)(O().mark(function e(){return O().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:n.setState({open:!0});case 1:case"end":return e.stop()}},e)})),n.handleConfirm=function(){var e=Object(r.a)(O().mark(function e(t,r,a,o){return O().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n.setState({open:!1}),e.next=3,n.props.deleteLedger(t,r,a,o,n.state.fvalcoll);case 3:n.handleSubmit();case 4:case"end":return e.stop()}},e)}));return function(t,n,r,a){return e.apply(this,arguments)}}(),n.handleCancel=function(e,t){n.setState({open:!1})},n.renderHeader=function(){return s.a.createElement(h.a.Header,{style:{display:"flex"}},s.a.createElement("h3",null,"View Ledger"),s.a.createElement("div",{className:"ml-auto"},s.a.createElement(p.a,{basic:!0,color:"black",icon:"ban",content:"Cancel",onClick:n.handleCancel}),s.a.createElement(f.a,{to:"/dashboard"},s.a.createElement(p.a,{basic:!0,color:"red",content:"Exit",icon:"home"}))))},n}return Object(l.a)(t,e),Object(o.a)(t,[{key:"componentDidMount",value:function(){this.props.getCollegelist()}},{key:"render",value:function(){var e=this,t=this.state,n=t.fvalcoll,r=t.fvaldeg,a=t.fvalexmno,o=t.fvalexmdate,i=t.table,c=Object(E.i)(),l=(this.props.degreeList.map(function(e){return{value:e.fdegree,text:"".concat(e.fdegree,"- ").concat(e.fdescpn)}}),this.props.collegelist.map(function(e){return{value:e.fcollcode,text:"".concat(e.fcollcode," - ").concat(e.fcollname)}})),u=[{value:"All",text:"All"}];this.props.degreeList.map(function(e){u.push({value:e.fdegree,text:"".concat(e.fdegree," ").concat(e.fdescpn)})});var f=[{value:"All",text:"All"}];this.props.examno.map(function(e){f.push({value:e.fexamno,text:" ".concat(e.fexamname)})});var w=[{value:"All",text:"All"}];return this.props.examdate.map(function(e){w.push({value:e.fexamdate,text:e.fexamdate})}),s.a.createElement("div",{className:"animated fadeIn"},s.a.createElement(h.a,{fluid:!0},s.a.createElement(h.a.Content,null,this.renderHeader(),s.a.createElement(d.a,null),s.a.createElement(h.a.Description,{style:{overflowY:"auto",overflowX:"hidden",height:"".concat(c,"px")}},s.a.createElement("div",{className:"col-md-8"},s.a.createElement(v.a,null,s.a.createElement("div",null,s.a.createElement(v.a.Field,{width:16},s.a.createElement("label",null,"College"),s.a.createElement(m.a,{placeholder:"Select College",name:"degree",value:n,selection:!0,search:!0,options:l,onChange:this.handleChangecoll})),s.a.createElement(v.a.Group,null,s.a.createElement(v.a.Field,{width:16},s.a.createElement("label",null,"Degree"),s.a.createElement(m.a,{placeholder:"Select Degree",name:"fvaldeg",value:r,selection:!0,search:!0,options:u,onChange:this.handleChangedeg}))),s.a.createElement(v.a.Group,null,s.a.createElement(v.a.Field,{width:8},s.a.createElement("label",null,"Exam No."),s.a.createElement(m.a,{placeholder:"Select Exam No.",name:"fvalexmno",value:a,selection:!0,search:!0,options:f,onChange:this.handleChangeexm})),s.a.createElement(v.a.Field,{width:8},s.a.createElement("label",null,"Examination"),s.a.createElement(m.a,{placeholder:"Select Exam Date",name:"fvalexmno",value:o,selection:!0,search:!0,options:w,onChange:this.handleChangeexmdate})))),s.a.createElement(p.a,{color:"blue",onClick:this.handleSubmit},"Submit"),s.a.createElement("br",null))),1==i?s.a.createElement("div",{className:"animated fadeIn"},s.a.createElement("div",{className:"ui mini form"},s.a.createElement(y.a,{celled:!0,padded:!0,selectable:!0,structured:!0,size:"small",color:"olive",style:{marginTop:"25px"}},s.a.createElement(y.a.Header,{style:{fontSize:"1.2em"}},s.a.createElement(y.a.Row,null,s.a.createElement(y.a.HeaderCell,{style:{width:"0.1%"},singleLine:!0,textAlign:"center"},s.a.createElement("label",null,"Sl. No.")),s.a.createElement(y.a.HeaderCell,{style:{width:"7%"},textAlign:"center"},s.a.createElement("label",null,"Degree")),s.a.createElement(y.a.HeaderCell,{style:{width:"7%"},textAlign:"center"},s.a.createElement("label",null,"Exam")),s.a.createElement(y.a.HeaderCell,{style:{width:"7%"},textAlign:"center"},s.a.createElement("label",null,"Exam Date")),s.a.createElement(y.a.HeaderCell,{style:{width:"7%"},textAlign:"center"},s.a.createElement("label",null,"Action")))),s.a.createElement(y.a.Body,null,this.props.tabledata.map(function(t,n){return s.a.createElement(y.a.Row,{key:n},s.a.createElement(y.a.Cell,{textAlign:"center",style:{fontSize:"1.2em"}},n+1),s.a.createElement(y.a.Cell,{textAlign:"left",style:{fontSize:"1.2em"}},t.fdegree+"-"+t.fdescpn),s.a.createElement(y.a.Cell,{textAlign:"center",style:{fontSize:"1.2em"}},t.fexamno),s.a.createElement(y.a.Cell,{textAlign:"center",style:{fontSize:"1.2em"}},t.fexamdate),s.a.createElement(y.a.Cell,{textAlign:"center",style:{padding:"0em",paddingTop:"0.25em",display:"flex",justifyContent:"center"}},s.a.createElement(p.a,{content:"View",basic:!0,size:"small",color:"blue",icon:"print",href:"027"==e.props.univ.funivcode?"https://universitysolutions.in/"+e.props.univ.ffolder+"/misc_files/"+t.ffilename:"https://college.universitysolutions.in/"+e.props.univ.ffolder+"/misc_files/"+t.ffilename,target:"_blank"}),s.a.createElement(p.a,{content:"Delete",basic:!0,size:"small",color:"red",icon:"cancel",onClick:function(t){return e.handledelete()}}),s.a.createElement(g.a,{open:e.state.open,content:"Do you want delete?",onCancel:function(t){return e.handleCancel()},onConfirm:function(n){return e.handleConfirm(t.fdegree,t.fexamno,t.fyear,t.fexamtype)},cancelButton:"No",confirmButton:"Yes",style:{height:"140px",width:"400px"}})))}))))):null))))}}]),t}(u.Component);t.default=Object(w.b)(function(e){return{user:e.user,collegelist:e.collegeList,degreeList:e.studyDegree,examno:e.viewledgexamno.exmno,examdate:e.viewledgexamno.masledg,tabledata:e.viewledger,univ:e.univ}},{getCollegelist:function(){return function(){var e=Object(r.a)(L().mark(function e(t,n){var r,a,o,i;return L().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=n(),e.next=3,b.a.get("app.php?a=GetAllCollegeList&univcode="+r.univ.funivcode);case 3:"object"!==typeof(a=e.sent).data?(o={header:"Error",content:"Something went wrong"},t(Object(x.A)(o))):-1===a.data.error_code?(i={header:"Error",content:a.data.data.msg},t(Object(x.A)(i))):t({type:"ALL_COLLEGE_LIST",payload:a.data});case 5:case"end":return e.stop()}},e)}));return function(t,n){return e.apply(this,arguments)}}()},fetchexamno:function(e){return function(){var t=Object(r.a)(L().mark(function t(n,r){var a,o,i;return L().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return a=r(),t.next=3,b.a.get("app.php?a=getexamnoviewledg&univcode="+a.univ.funivcode+"&deg="+e);case 3:"object"!==typeof(o=t.sent).data?(i={header:"Error",content:"Something went wrong"},n(Object(x.A)(i))):-1===o.data.error_code||n({type:"VIEW_LEDGER_EXAMNO",payload:o.data});case 5:case"end":return t.stop()}},t)}));return function(e,n){return t.apply(this,arguments)}}()},fetchdegree:function(e){return function(){var t=Object(r.a)(L().mark(function t(n,r){var a,o,i,c;return L().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return a=r(),t.next=3,b.a.get("app.php?a=StudyDegreeList&univcode="+a.univ.funivcode+"&fcollcode="+e);case 3:"object"!==typeof(o=t.sent).data?(i={header:"Error",content:"Something went wrong"},n(Object(x.A)(i))):-1===o.data.error_code?(c={header:"Error",content:o.data.data.msg},n(Object(x.A)(c))):n({type:"ALL_DEGREE_LIST",payload:o.data});case 5:case"end":return t.stop()}},t)}));return function(e,n){return t.apply(this,arguments)}}()},getviewledg:function(e){return function(){var t=Object(r.a)(L().mark(function t(n,r){var a,o,i,c;return L().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return a=r(),n({type:"CLEAR_VIEW_LEDGER"}),t.next=4,b.a.get("app.php?a=getviewledg&univcode="+a.univ.funivcode+"&fcollcode="+e.fvalcoll+"&fdegree="+e.fvaldeg+"&fexamno="+e.fvalexmno+"&fexamdate="+e.fvalexmdate);case 4:"object"!==typeof(o=t.sent).data?(i={header:"Error",content:"Something went wrong"},n(Object(x.A)(i))):-1===o.data.error_code?(c={header:"Error",content:o.data.data.msg},n(Object(x.A)(c))):n({type:"GET_VIEW_LEDGER",payload:o.data});case 6:case"end":return t.stop()}},t)}));return function(e,n){return t.apply(this,arguments)}}()},showError:x.A,deleteLedger:function(e,t,n,a,o){return function(){var i=Object(r.a)(L().mark(function r(i,c){var l,u,s,f,h;return L().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return l=c(),i({type:"SET_LOADER"}),r.next=4,b.a.get("app.php?a=deleteLedger&univcode="+l.univ.funivcode+"&fdegree="+e+"&fexamno="+t+"&fyear="+n+"&fexamtype="+a+"&fcollcode="+o);case 4:u=r.sent,i({type:"UNSET_LOADER"}),"object"!==typeof u.data?(s={header:"Error",content:"Something went wrong"},i(Object(x.A)(s))):-1===u.data.error_code?(f={header:"Error",content:u.data.data.msg},i(Object(x.A)(f))):(h={header:"Success",content:u.data.data.msg},i(Object(x.A)(h)));case 7:case"end":return r.stop()}},r)}));return function(e,t){return i.apply(this,arguments)}}()}})(j)},272:function(e,t,n){"use strict";var r=n(270),a=n.n(r),o=n(268),i=n.n(o),c=n(2),l=n.n(c),u=n(349),s=n(613),f=n(611),h=n(269);function p(e){var t=e.children,n=e.className,r=e.clearing,o=e.content,c=e.fitted,d=e.hidden,v=e.horizontal,m=e.inverted,y=e.section,g=e.vertical,w=i()("ui",Object(u.a)(r,"clearing"),Object(u.a)(c,"fitted"),Object(u.a)(d,"hidden"),Object(u.a)(v,"horizontal"),Object(u.a)(m,"inverted"),Object(u.a)(y,"section"),Object(u.a)(g,"vertical"),"divider",n),x=Object(s.a)(p,e),E=Object(f.a)(p,e);return l.a.createElement(E,a()({},x,{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},706:function(e,t,n){"use strict";var r=n(270),a=n.n(r),o=n(279),i=n.n(o),c=n(281),l=n.n(c),u=n(282),s=n.n(u),f=n(280),h=n.n(f),p=n(283),d=n.n(p),v=n(285),m=n.n(v),y=n(278),g=n.n(y),w=n(396),x=n.n(w),E=n(296),b=n.n(E),L=n(2),O=n.n(L),j=n(613),C=n(1343),_=n(1333),A=function(e){function t(){var e,n;i()(this,t);for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];return n=s()(this,(e=h()(t)).call.apply(e,[this].concat(a))),g()(m()(m()(n)),"handleCancel",function(e){b()(n.props,"onCancel",e,n.props)}),g()(m()(m()(n)),"handleCancelOverrides",function(e){return{onClick:function(t,r){b()(e,"onClick",t,r),n.handleCancel(t)}}}),g()(m()(m()(n)),"handleConfirmOverrides",function(e){return{onClick:function(t,r){b()(e,"onClick",t,r),b()(n.props,"onConfirm",t,n.props)}}}),n}return d()(t,e),l()(t,[{key:"render",value:function(){var e=this.props,n=e.cancelButton,r=e.confirmButton,o=e.content,i=e.header,c=e.open,l=e.size,u=Object(j.a)(t,this.props),s={};return x()(this.props,"open")&&(s.open=c),O.a.createElement(_.a,a()({},u,s,{size:l,onClose:this.handleCancel}),_.a.Header.create(i,{autoGenerateKey:!1}),_.a.Content.create(o,{autoGenerateKey:!1}),O.a.createElement(_.a.Actions,null,C.a.create(n,{autoGenerateKey:!1,overrideProps:this.handleCancelOverrides}),C.a.create(r,{autoGenerateKey:!1,defaultProps:{primary:!0},overrideProps:this.handleConfirmOverrides})))}}]),t}(L.Component);g()(A,"defaultProps",{cancelButton:"Cancel",confirmButton:"OK",content:"Are you sure?",size:"small"}),g()(A,"handledProps",["cancelButton","confirmButton","content","header","onCancel","onConfirm","open","size"]),A.propTypes={},t.a=A}}]);
//# sourceMappingURL=223.65741d41.chunk.js.map