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


Current Path : /var/www/egov/build/static/js/
Upload File :
Current File : /var/www/egov/build/static/js/82.dc7580ad.chunk.js

(window.webpackJsonp=window.webpackJsonp||[]).push([[82],{1140:function(e,t,a){"use strict";a.r(t);var c=a(41),n=a.n(c),r=a(68),l=a(99),i=a(100),o=a(102),d=a(101),s=a(103),u=a(1),b=a.n(u),p=a(104),m=a(858),h=a(266),O=a(1139),j=a(1106),v=a(272),f=a(317),g=a(1101),w=a(270),E=a(269),y=a(271),x=function(e){function t(){var e,a;Object(l.a)(this,t);for(var c=arguments.length,n=new Array(c),r=0;r<c;r++)n[r]=arguments[r];return(a=Object(o.a)(this,(e=Object(d.a)(t)).call.apply(e,[this].concat(n)))).state={},a.handleReport=function(){window.open("".concat(y.c,"holidayListRprt&univcode=").concat(a.props.univcode,"&fcollcode=").concat(a.props.fcollcode),"_blank")},a}return Object(s.a)(t,e),Object(i.a)(t,[{key:"componentDidMount",value:function(){var e=Object(r.a)(n.a.mark(function e(){return n.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.props.getHolidayList();case 2:case"end":return e.stop()}},e,this)}));return function(){return e.apply(this,arguments)}}()},{key:"render",value:function(){var e=Object(w.i)(),t=""==this.props.hList?[]:this.props.hList;return console.log("hlist",this.props.hList),b.a.createElement(b.a.Fragment,null,b.a.createElement(O.a,{fluid:!0},b.a.createElement(O.a.Content,null,b.a.createElement(O.a.Header,{style:{display:"flex"}},b.a.createElement("h3",null,"Holiday List"),b.a.createElement("div",{className:"ml-auto"},b.a.createElement(j.a,{basic:!0,color:"blue",icon:"file",onClick:this.handleReport,content:"Report"}),b.a.createElement(m.a,{to:"/dashboard"},b.a.createElement(j.a,{basic:!0,color:"red",content:"Exit",icon:"home"})))),b.a.createElement(v.a,null),b.a.createElement(O.a.Description,{style:{height:"".concat(e,"px"),overflowY:"auto"}},b.a.createElement(f.a,{divided:"vertically",className:"mt-3"},b.a.createElement(f.a.Row,{columns:2},b.a.createElement(f.a.Column,null,b.a.createElement(g.a,{celled:!0,compact:!0,style:{padding:"0%"}},b.a.createElement(g.a.Header,null,b.a.createElement(g.a.Row,{textAlign:"center"},b.a.createElement(g.a.HeaderCell,{width:"1"},"Sl. No."),b.a.createElement(g.a.HeaderCell,{width:"2"},"Date"),b.a.createElement(g.a.HeaderCell,{width:"12"},"Remarks"))),b.a.createElement(g.a.Body,null,t.map(function(e,t){return b.a.createElement(g.a.Row,null,b.a.createElement(g.a.Cell,{textAlign:"center"},t+1),b.a.createElement(g.a.Cell,null,e.fdate),b.a.createElement(g.a.Cell,null,e.fremarks))}))))))))))}}]),t}(u.Component);t.default=Object(p.b)(function(e){return{hList:e.holidayList,univcode:e.univ.funivcode,fcollcode:e.user.fcollcode}},{showError:h.w,getHolidayList:function(e){return function(){var e=Object(r.a)(n.a.mark(function e(t,a){var c,r;return n.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return c=a(),e.next=3,E.a.get("/app.php",{params:{a:"holidayList",univcode:c.univ.funivcode}});case 3:r=e.sent,console.log("response list",r),"object"!==typeof r.data?t({type:"SET_ERROR",payload:{error_code:-1,data:{msg:"Something went wrong"},status:"failure"}}):-1===r.data.error_code?t({type:"SET_ERROR",payload:r.data}):t({type:"FETCH_HOLIDAY_LIST",payload:r.data});case 6:case"end":return e.stop()}},e)}));return function(t,a){return e.apply(this,arguments)}}()}})(x)},272:function(e,t,a){"use strict";var c=a(268),n=a.n(c),r=a(265),l=a.n(r),i=a(1),o=a.n(i),d=a(333),s=a(551),u=a(549),b=a(267);function p(e){var t=e.children,a=e.className,c=e.clearing,r=e.content,i=e.fitted,m=e.hidden,h=e.horizontal,O=e.inverted,j=e.section,v=e.vertical,f=l()("ui",Object(d.a)(c,"clearing"),Object(d.a)(i,"fitted"),Object(d.a)(m,"hidden"),Object(d.a)(h,"horizontal"),Object(d.a)(O,"inverted"),Object(d.a)(j,"section"),Object(d.a)(v,"vertical"),"divider",a),g=Object(s.a)(p,e),w=Object(u.a)(p,e);return o.a.createElement(w,n()({},g,{className:f}),b.a.isNil(t)?r:t)}p.handledProps=["as","children","className","clearing","content","fitted","hidden","horizontal","inverted","section","vertical"],p.propTypes={},t.a=p},296:function(e,t,a){"use strict";var c=a(268),n=a.n(c),r=a(265),l=a.n(r),i=a(1),o=a.n(i),d=a(333),s=a(551),u=a(549),b=a(554);function p(e){var t=e.children,a=e.className,c=e.computer,r=e.color,i=e.floated,b=e.largeScreen,m=e.mobile,h=e.only,O=e.stretched,j=e.tablet,v=e.textAlign,f=e.verticalAlign,g=e.widescreen,w=e.width,E=l()(r,Object(d.a)(O,"stretched"),Object(d.c)(h,"only"),Object(d.d)(v),Object(d.e)(i,"floated"),Object(d.f)(f),Object(d.g)(c,"wide computer"),Object(d.g)(b,"wide large screen"),Object(d.g)(m,"wide mobile"),Object(d.g)(j,"wide tablet"),Object(d.g)(g,"wide widescreen"),Object(d.g)(w,"wide"),"column",a),y=Object(s.a)(p,e),x=Object(u.a)(p,e);return o.a.createElement(x,n()({},y,{className:E}),t)}p.handledProps=["as","children","className","color","computer","floated","largeScreen","mobile","only","stretched","tablet","textAlign","verticalAlign","widescreen","width"],p.propTypes={},p.create=Object(b.e)(p,function(e){return{children:e}}),t.a=p},317:function(e,t,a){"use strict";a(293);var c=a(268),n=a.n(c),r=a(265),l=a.n(r),i=a(1),o=a.n(i),d=a(333),s=a(551),u=a(549),b=a(296);function p(e){var t=e.centered,a=e.children,c=e.className,r=e.color,i=e.columns,b=e.divided,m=e.only,h=e.reversed,O=e.stretched,j=e.textAlign,v=e.verticalAlign,f=l()(r,Object(d.a)(t,"centered"),Object(d.a)(b,"divided"),Object(d.a)(O,"stretched"),Object(d.c)(m,"only"),Object(d.c)(h,"reversed"),Object(d.d)(j),Object(d.f)(v),Object(d.g)(i,"column",!0),"row",c),g=Object(s.a)(p,e),w=Object(u.a)(p,e);return o.a.createElement(w,n()({},g,{className:f}),a)}p.handledProps=["as","centered","children","className","color","columns","divided","only","reversed","stretched","textAlign","verticalAlign"],p.propTypes={};var m=p;function h(e){var t=e.celled,a=e.centered,c=e.children,r=e.className,i=e.columns,b=e.container,p=e.divided,m=e.doubling,O=e.inverted,j=e.padded,v=e.relaxed,f=e.reversed,g=e.stackable,w=e.stretched,E=e.textAlign,y=e.verticalAlign,x=l()("ui",Object(d.a)(a,"centered"),Object(d.a)(b,"container"),Object(d.a)(m,"doubling"),Object(d.a)(O,"inverted"),Object(d.a)(g,"stackable"),Object(d.a)(w,"stretched"),Object(d.b)(t,"celled"),Object(d.b)(p,"divided"),Object(d.b)(j,"padded"),Object(d.b)(v,"relaxed"),Object(d.c)(f,"reversed"),Object(d.d)(E),Object(d.f)(y),Object(d.g)(i,"column",!0),"grid",r),A=Object(s.a)(h,e),N=Object(u.a)(h,e);return o.a.createElement(N,n()({},A,{className:x}),c)}h.handledProps=["as","celled","centered","children","className","columns","container","divided","doubling","inverted","padded","relaxed","reversed","stackable","stretched","textAlign","verticalAlign"],h.Column=b.a,h.Row=m,h.propTypes={};t.a=h}}]);
//# sourceMappingURL=82.dc7580ad.chunk.js.map