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.220.227.250


Current Path : /var/www/egov/build/static/js/
Upload File :
Current File : /var/www/egov/build/static/js/262.a5646a6e.chunk.js

(window.webpackJsonp=window.webpackJsonp||[]).push([[262,307],{1281:function(e,t,r){"use strict";r.r(t);var n=r(68),a=r(100),o=r(101),i=r(103),l=r(102),c=r(104),s=r(2),u=r.n(s),h=r(941),d=r(105),p=r(1377),f=r(1343),y=r(272),g=r(267),m=r(298);function b(){b=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",c=o.toStringTag||"@@toStringTag";function s(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(e){s=function(e,t,r){return e[t]=r}}function u(e,t,r,n){var o=t&&t.prototype instanceof m?t:m,i=Object.create(o.prototype),l=new A(n||[]);return a(i,"_invoke",{value:T(e,r,l)}),i}function h(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var d="suspendedStart",p="suspendedYield",f="executing",y="completed",g={};function m(){}function v(){}function E(){}var w={};s(w,i,function(){return this});var x=Object.getPrototypeOf,L=x&&x(x(S([])));L&&L!==r&&n.call(L,i)&&(w=L);var C=E.prototype=m.prototype=Object.create(w);function O(e){["next","throw","return"].forEach(function(t){s(e,t,function(e){return this._invoke(t,e)})})}function j(e,t){function r(a,o,i,l){var c=h(e[a],e,o);if("throw"!==c.type){var s=c.arg,u=s.value;return u&&"object"==typeof u&&n.call(u,"__await")?t.resolve(u.__await).then(function(e){r("next",e,i,l)},function(e){r("throw",e,i,l)}):t.resolve(u).then(function(e){s.value=e,i(s)},function(e){return r("throw",e,i,l)})}l(c.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 T(t,r,n){var a=d;return function(o,i){if(a===f)throw new Error("Generator is already running");if(a===y){if("throw"===o)throw i;return{value:e,done:!0}}for(n.method=o,n.arg=i;;){var l=n.delegate;if(l){var c=N(l,n);if(c){if(c===g)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===d)throw a=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=f;var s=h(t,r,n);if("normal"===s.type){if(a=n.done?y:p,s.arg===g)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(a=y,n.method="throw",n.arg=s.arg)}}}function N(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,N(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=h(a,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,g;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,g):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function k(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 F(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function A(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function S(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 v.prototype=E,a(C,"constructor",{value:E,configurable:!0}),a(E,"constructor",{value:v,configurable:!0}),v.displayName=s(E,c,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,E):(e.__proto__=E,s(e,c,"GeneratorFunction")),e.prototype=Object.create(C),e},t.awrap=function(e){return{__await:e}},O(j.prototype),s(j.prototype,l,function(){return this}),t.AsyncIterator=j,t.async=function(e,r,n,a,o){void 0===o&&(o=Promise);var i=new j(u(e,r,n,a),o);return t.isGeneratorFunction(r)?i:i.next().then(function(e){return e.done?e.value:i.next()})},O(C),s(C,c,"Generator"),s(C,i,function(){return this}),s(C,"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=S,A.prototype={constructor:A,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(F),!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 l.type="throw",l.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],l=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(c&&s){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,g):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),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),F(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;F(r)}return a}}throw new Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:S(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),g}},t}var v=function(e){function t(){var e,r;Object(a.a)(this,t);for(var o=arguments.length,c=new Array(o),s=0;s<o;s++)c[s]=arguments[s];return(r=Object(i.a)(this,(e=Object(l.a)(t)).call.apply(e,[this].concat(c)))).state={search:""},r.componentDidMount=Object(n.a)(b().mark(function e(){return b().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:r.props.ViewTeacherEntry();case 1:case"end":return e.stop()}},e)})),r.EditData=function(e){},r}return Object(c.a)(t,e),Object(o.a)(t,[{key:"render",value:function(){var e=this;return u.a.createElement("div",null,u.a.createElement(p.a,{fluid:!0},u.a.createElement(p.a.Content,null,u.a.createElement(p.a.Header,{style:{display:"flex"}},u.a.createElement("h4",null,"Teacher Entry Details"),u.a.createElement("div",{className:"ml-auto"},u.a.createElement(h.a,{to:{pathname:"/masters/teachentry"}},u.a.createElement(f.a,{basic:!0,color:"blue",content:"Back",icon:"arrow left"})),u.a.createElement(f.a,{basic:!0,color:"black",icon:"ban",content:"Cancel"}),u.a.createElement(h.a,{to:"/dashboard"},u.a.createElement(f.a,{basic:!0,color:"red",content:"Exit",icon:"home"})))),u.a.createElement(y.a,null),u.a.createElement(p.a.Description,null,u.a.createElement("div",{style:{height:"610px",overflowY:"auto"}},u.a.createElement("table",{style:{width:"100%",border:"1px solid grey",borderCollapse:"collapse"}},u.a.createElement("thead",{style:{backgroundColor:"tan",border:"1px solid grey",height:"40px",position:"sticky",top:0,textAlign:"center"}},u.a.createElement("tr",null,u.a.createElement("td",{colSpan:8,style:{padding:"0 10px"}},u.a.createElement("input",{placeholder:"Search by Teach Code or Teach Name",type:"text",style:{border:"0.1px solid",borderRadius:"20px",padding:"5px",width:"100%",margin:"10px 0"},onChange:function(t){return e.setState({search:t.target.value})},value:this.state.search}))),u.a.createElement("tr",{style:{height:"40px"}},u.a.createElement("th",{style:{border:"1px solid grey",borderCollapse:"collapse"}},"Sl. No."),u.a.createElement("th",{style:{border:"1px solid grey",borderCollapse:"collapse"}},"Teacher Code"),u.a.createElement("th",{style:{border:"1px solid grey",borderCollapse:"collapse"}},"Teacher Name"),u.a.createElement("th",{style:{border:"1px solid grey",borderCollapse:"collapse"}},"Gender"),u.a.createElement("th",{style:{border:"1px solid grey",borderCollapse:"collapse"}},"Scale"),u.a.createElement("th",{style:{border:"1px solid grey",borderCollapse:"collapse"}},"Full Time"),u.a.createElement("th",{style:{border:"1px solid grey",borderCollapse:"collapse"}},"Status"),u.a.createElement("th",{style:{border:"1px solid grey",borderCollapse:"collapse"}},"Action"))),u.a.createElement("tbody",null,this.props.teachEntryList.filter(function(t){return t.FTEACHCODE.toLowerCase().includes(e.state.search.toLowerCase())||t.FTEACHNAME.toLowerCase().includes(e.state.search.toLowerCase())}).map(function(e,t){return u.a.createElement("tr",{key:t},u.a.createElement("td",{align:"center",style:{border:"1px solid grey",borderCollapse:"collapse"}},t+1),u.a.createElement("td",{align:"center",style:{border:"1px solid grey",borderCollapse:"collapse"}},e.FTEACHCODE),u.a.createElement("td",{style:{paddingLeft:"10px",border:"1px solid grey",borderCollapse:"collapse"}},e.FTEACHNAME),u.a.createElement("td",{align:"center",style:{border:"1px solid grey",borderCollapse:"collapse"}},e.FGENDER),u.a.createElement("td",{align:"center",style:{border:"1px solid grey",borderCollapse:"collapse"}},e.FSCALE),u.a.createElement("td",{align:"center",style:{border:"1px solid grey",borderCollapse:"collapse"}},e.FFULLTIME),u.a.createElement("td",{align:"center",style:{border:"1px solid grey",borderCollapse:"collapse"}},e.FSTATUS),u.a.createElement("td",{align:"center",style:{border:"1px solid grey",borderCollapse:"collapse",padding:"5px"}},u.a.createElement(h.a,{to:{pathname:"/masters/teachentryData/".concat(e.FTEACHCODE,"/").concat(e.FCOLLCODE)}},u.a.createElement("button",{style:{background:"white",border:"1px solid dodgerblue",borderRadius:"4px",color:"dodgerblue",padding:"4px 14px",width:"100%"}},"Edit"))))}))))))))}}]),t}(s.Component);t.default=Object(d.b)(function(e){return{user:e.user,teachEntryList:e.viewTeacherEntry}},{showError:g.A,ViewTeacherEntry:m.a})(v)},272:function(e,t,r){"use strict";var n=r(270),a=r.n(n),o=r(268),i=r.n(o),l=r(2),c=r.n(l),s=r(349),u=r(613),h=r(611),d=r(269);function p(e){var t=e.children,r=e.className,n=e.clearing,o=e.content,l=e.fitted,f=e.hidden,y=e.horizontal,g=e.inverted,m=e.section,b=e.vertical,v=i()("ui",Object(s.a)(n,"clearing"),Object(s.a)(l,"fitted"),Object(s.a)(f,"hidden"),Object(s.a)(y,"horizontal"),Object(s.a)(g,"inverted"),Object(s.a)(m,"section"),Object(s.a)(b,"vertical"),"divider",r),E=Object(u.a)(p,e),w=Object(h.a)(p,e);return c.a.createElement(w,a()({},E,{className:v}),d.a.isNil(t)?o:t)}p.handledProps=["as","children","className","clearing","content","fitted","hidden","horizontal","inverted","section","vertical"],p.propTypes={},t.a=p}}]);
//# sourceMappingURL=262.a5646a6e.chunk.js.map