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


Current Path : /var/www/qptran/static/js/
Upload File :
Current File : /var/www/qptran/static/js/18.66540caf.chunk.js

(window["webpackJsonppurple-react-free"]=window["webpackJsonppurple-react-free"]||[]).push([[18],{375:function(e,t,r){"use strict";var a=r(1),n=r(79),c=r(4),i=r(0),o=r.n(i),l=r(37),s=r(149),u=r(157),d=r(5);function h(e){var t=e.children,r=e.className,n=Object(c.a)(r),i=Object(s.a)(h,e),l=Object(u.a)(h,e);return o.a.createElement(l,Object(a.a)({},i,{className:n}),t)}h.handledProps=["as","children","className"],h.defaultProps={as:"tbody"},h.propTypes={};var f=h,p=r(165),b=r(73);function m(e){var t=e.active,r=e.children,n=e.className,i=e.collapsing,h=e.content,f=e.disabled,p=e.error,v=e.icon,g=e.negative,y=e.positive,O=e.selectable,j=e.singleLine,w=e.textAlign,E=e.verticalAlign,x=e.warning,N=e.width,L=Object(c.a)(Object(l.a)(t,"active"),Object(l.a)(i,"collapsing"),Object(l.a)(f,"disabled"),Object(l.a)(p,"error"),Object(l.a)(g,"negative"),Object(l.a)(y,"positive"),Object(l.a)(O,"selectable"),Object(l.a)(j,"single line"),Object(l.a)(x,"warning"),Object(l.c)(w),Object(l.e)(E),Object(l.f)(N,"wide"),n),A=Object(s.a)(m,e),C=Object(u.a)(m,e);return d.a.isNil(r)?o.a.createElement(C,Object(a.a)({},A,{className:L}),b.a.create(v),h):o.a.createElement(C,Object(a.a)({},A,{className:L}),r)}m.handledProps=["active","as","children","className","collapsing","content","disabled","error","icon","negative","positive","selectable","singleLine","textAlign","verticalAlign","warning","width"],m.defaultProps={as:"td"},m.propTypes={},m.create=Object(p.d)(m,(function(e){return{content:e}}));var v=m;function g(e){var t=e.children,r=e.className,n=e.content,i=e.fullWidth,h=Object(c.a)(Object(l.a)(i,"full-width"),r),f=Object(s.a)(g,e),p=Object(u.a)(g,e);return o.a.createElement(p,Object(a.a)({},f,{className:h}),d.a.isNil(t)?n:t)}g.handledProps=["as","children","className","content","fullWidth"],g.defaultProps={as:"thead"},g.propTypes={};var y=g;function O(e){var t=e.as,r=Object(s.a)(O,e);return o.a.createElement(y,Object(a.a)({},r,{as:t}))}O.handledProps=["as"],O.propTypes={},O.defaultProps={as:"tfoot"};var j=O;function w(e){var t=e.as,r=e.className,n=e.sorted,i=Object(c.a)(Object(l.d)(n,"sorted"),r),u=Object(s.a)(w,e);return o.a.createElement(v,Object(a.a)({},u,{as:t,className:i}))}w.handledProps=["as","className","sorted"],w.propTypes={},w.defaultProps={as:"th"};var E=w;function x(e){var t=e.active,r=e.cellAs,i=e.cells,h=e.children,f=e.className,p=e.disabled,b=e.error,m=e.negative,g=e.positive,y=e.textAlign,O=e.verticalAlign,j=e.warning,w=Object(c.a)(Object(l.a)(t,"active"),Object(l.a)(p,"disabled"),Object(l.a)(b,"error"),Object(l.a)(m,"negative"),Object(l.a)(g,"positive"),Object(l.a)(j,"warning"),Object(l.c)(y),Object(l.e)(O),f),E=Object(s.a)(x,e),N=Object(u.a)(x,e);return d.a.isNil(h)?o.a.createElement(N,Object(a.a)({},E,{className:w}),Object(n.a)(i,(function(e){return v.create(e,{defaultProps:{as:r}})}))):o.a.createElement(N,Object(a.a)({},E,{className:w}),h)}x.handledProps=["active","as","cellAs","cells","children","className","disabled","error","negative","positive","textAlign","verticalAlign","warning"],x.defaultProps={as:"tr",cellAs:"td"},x.propTypes={},x.create=Object(p.d)(x,(function(e){return{cells:e}}));var N=x;function L(e){var t=e.attached,r=e.basic,i=e.celled,h=e.children,p=e.className,b=e.collapsing,m=e.color,v=e.columns,g=e.compact,O=e.definition,w=e.fixed,E=e.footerRow,x=e.headerRow,A=e.headerRows,C=e.inverted,P=e.padded,k=e.renderBodyRow,_=e.selectable,T=e.singleLine,H=e.size,R=e.sortable,S=e.stackable,G=e.striped,F=e.structured,z=e.tableData,B=e.textAlign,I=e.unstackable,D=e.verticalAlign,J=Object(c.a)("ui",m,H,Object(l.a)(i,"celled"),Object(l.a)(b,"collapsing"),Object(l.a)(O,"definition"),Object(l.a)(w,"fixed"),Object(l.a)(C,"inverted"),Object(l.a)(_,"selectable"),Object(l.a)(T,"single line"),Object(l.a)(R,"sortable"),Object(l.a)(S,"stackable"),Object(l.a)(G,"striped"),Object(l.a)(F,"structured"),Object(l.a)(I,"unstackable"),Object(l.b)(t,"attached"),Object(l.b)(r,"basic"),Object(l.b)(g,"compact"),Object(l.b)(P,"padded"),Object(l.c)(B),Object(l.e)(D),Object(l.f)(v,"column"),"table",p),W=Object(s.a)(L,e),Y=Object(u.a)(L,e);if(!d.a.isNil(h))return o.a.createElement(Y,Object(a.a)({},W,{className:J}),h);var q={defaultProps:{cellAs:"th"}},K=(x||A)&&o.a.createElement(y,null,N.create(x,q),Object(n.a)(A,(function(e){return N.create(e,q)})));return o.a.createElement(Y,Object(a.a)({},W,{className:J}),K,o.a.createElement(f,null,k&&Object(n.a)(z,(function(e,t){return N.create(k(e,t))}))),E&&o.a.createElement(j,null,N.create(E)))}L.handledProps=["as","attached","basic","celled","children","className","collapsing","color","columns","compact","definition","fixed","footerRow","headerRow","headerRows","inverted","padded","renderBodyRow","selectable","singleLine","size","sortable","stackable","striped","structured","tableData","textAlign","unstackable","verticalAlign"],L.defaultProps={as:"table"},L.propTypes={},L.Body=f,L.Cell=v,L.Footer=j,L.Header=y,L.HeaderCell=E,L.Row=N;t.a=L},380:function(e,t,r){"use strict";var a=r(1),n=r(4),c=r(0),i=r.n(c),o=r(37),l=r(149),s=r(157),u=r(5);function d(e){var t=e.children,r=e.className,c=e.clearing,h=e.content,f=e.fitted,p=e.hidden,b=e.horizontal,m=e.inverted,v=e.section,g=e.vertical,y=Object(n.a)("ui",Object(o.a)(c,"clearing"),Object(o.a)(f,"fitted"),Object(o.a)(p,"hidden"),Object(o.a)(b,"horizontal"),Object(o.a)(m,"inverted"),Object(o.a)(v,"section"),Object(o.a)(g,"vertical"),"divider",r),O=Object(l.a)(d,e),j=Object(s.a)(d,e);return i.a.createElement(j,Object(a.a)({},O,{className:y}),u.a.isNil(t)?h:t)}d.handledProps=["as","children","className","clearing","content","fitted","hidden","horizontal","inverted","section","vertical"],d.propTypes={},t.a=d},387:function(e,t,r){"use strict";r.r(t),r.d(t,"CenterLog",(function(){return b}));var a=r(127),n=r(53),c=r(54),i=r(56),o=r(55),l=r(0),s=r.n(l),u=r(380),d=r(422),h=r(375),f=r(36);function p(){p=function(){return e};var e={},t=Object.prototype,r=t.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},n=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",i=a.toStringTag||"@@toStringTag";function o(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{o({},"")}catch(A){o=function(e,t,r){return e[t]=r}}function l(e,t,r,a){var n=t&&t.prototype instanceof d?t:d,c=Object.create(n.prototype),i=new x(a||[]);return c._invoke=function(e,t,r){var a="suspendedStart";return function(n,c){if("executing"===a)throw new Error("Generator is already running");if("completed"===a){if("throw"===n)throw c;return L()}for(r.method=n,r.arg=c;;){var i=r.delegate;if(i){var o=j(i,r);if(o){if(o===u)continue;return o}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===a)throw a="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);a="executing";var l=s(e,t,r);if("normal"===l.type){if(a=r.done?"completed":"suspendedYield",l.arg===u)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(a="completed",r.method="throw",r.arg=l.arg)}}}(e,r,i),c}function s(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(A){return{type:"throw",arg:A}}}e.wrap=l;var u={};function d(){}function h(){}function f(){}var b={};o(b,n,(function(){return this}));var m=Object.getPrototypeOf,v=m&&m(m(N([])));v&&v!==t&&r.call(v,n)&&(b=v);var g=f.prototype=d.prototype=Object.create(b);function y(e){["next","throw","return"].forEach((function(t){o(e,t,(function(e){return this._invoke(t,e)}))}))}function O(e,t){var a;this._invoke=function(n,c){function i(){return new t((function(a,i){!function a(n,c,i,o){var l=s(e[n],e,c);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==typeof d&&r.call(d,"__await")?t.resolve(d.__await).then((function(e){a("next",e,i,o)}),(function(e){a("throw",e,i,o)})):t.resolve(d).then((function(e){u.value=e,i(u)}),(function(e){return a("throw",e,i,o)}))}o(l.arg)}(n,c,a,i)}))}return a=a?a.then(i,i):i()}}function j(e,t){var r=e.iterator[t.method];if(void 0===r){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,j(e,t),"throw"===t.method))return u;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}var a=s(r,e.iterator,t.arg);if("throw"===a.type)return t.method="throw",t.arg=a.arg,t.delegate=null,u;var n=a.arg;return n?n.done?(t[e.resultName]=n.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,u):n:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,u)}function w(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(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function x(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(w,this),this.reset(!0)}function N(e){if(e){var t=e[n];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var a=-1,c=function t(){for(;++a<e.length;)if(r.call(e,a))return t.value=e[a],t.done=!1,t;return t.value=void 0,t.done=!0,t};return c.next=c}}return{next:L}}function L(){return{value:void 0,done:!0}}return h.prototype=f,o(g,"constructor",f),o(f,"constructor",h),h.displayName=o(f,i,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===h||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,f):(e.__proto__=f,o(e,i,"GeneratorFunction")),e.prototype=Object.create(g),e},e.awrap=function(e){return{__await:e}},y(O.prototype),o(O.prototype,c,(function(){return this})),e.AsyncIterator=O,e.async=function(t,r,a,n,c){void 0===c&&(c=Promise);var i=new O(l(t,r,a,n),c);return e.isGeneratorFunction(r)?i:i.next().then((function(e){return e.done?e.value:i.next()}))},y(g),o(g,i,"Generator"),o(g,n,(function(){return this})),o(g,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var a=t.pop();if(a in e)return r.value=a,r.done=!1,r}return r.done=!0,r}},e.values=N,x.prototype={constructor:x,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(E),!e)for(var t in this)"t"===t.charAt(0)&&r.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function a(r,a){return i.type="throw",i.arg=e,t.next=r,a&&(t.method="next",t.arg=void 0),!!a}for(var n=this.tryEntries.length-1;n>=0;--n){var c=this.tryEntries[n],i=c.completion;if("root"===c.tryLoc)return a("end");if(c.tryLoc<=this.prev){var o=r.call(c,"catchLoc"),l=r.call(c,"finallyLoc");if(o&&l){if(this.prev<c.catchLoc)return a(c.catchLoc,!0);if(this.prev<c.finallyLoc)return a(c.finallyLoc)}else if(o){if(this.prev<c.catchLoc)return a(c.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<c.finallyLoc)return a(c.finallyLoc)}}}},abrupt:function(e,t){for(var a=this.tryEntries.length-1;a>=0;--a){var n=this.tryEntries[a];if(n.tryLoc<=this.prev&&r.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var c=n;break}}c&&("break"===e||"continue"===e)&&c.tryLoc<=t&&t<=c.finallyLoc&&(c=null);var i=c?c.completion:{};return i.type=e,i.arg=t,c?(this.method="next",this.next=c.finallyLoc,u):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),u},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),E(r),u}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var a=r.completion;if("throw"===a.type){var n=a.arg;E(r)}return n}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:N(e),resultName:t,nextLoc:r},"next"===this.method&&(this.arg=void 0),u}},e}var b=function(e){Object(i.a)(r,e);var t=Object(o.a)(r);function r(){var e;Object(n.a)(this,r);for(var c=arguments.length,i=new Array(c),o=0;o<c;o++)i[o]=arguments[o];return(e=t.call.apply(t,[this].concat(i))).state={searchlog:""},e.searchHandleLog=function(){var t=Object(a.a)(p().mark((function t(r,a){return p().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.setState({searchlog:a.value});case 2:console.log(e.state.searchlog);case 3:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),e}return Object(c.a)(r,[{key:"render",value:function(){var e=this.state.searchlog;return s.a.createElement("div",null,s.a.createElement("div",{className:"page"},s.a.createElement("div",{className:"row"},s.a.createElement("div",{className:"col-md-12 grid-margin stretch-card"},s.a.createElement("div",{className:"card"},s.a.createElement("div",{className:"card-body",style:{display:"flex"}},s.a.createElement("h4",null,"Logged deatils"),s.a.createElement("div",{className:"ml-auto",stayle:{display:"flex"}},s.a.createElement(f.b,{to:"./dashboard"},s.a.createElement("button",{type:"button",className:"btn btn-danger btn-fw",onClick:function(){return window.location.reload()}},s.a.createElement("span",{class:"mdi mdi-exit-to-app"}),"Back")))),s.a.createElement(u.a,null),s.a.createElement("div",{className:"col-md-12"},s.a.createElement(d.a,null,s.a.createElement(d.a.Group,null,s.a.createElement(d.a.Field,{width:8},s.a.createElement(d.a.Input,{type:"text",placeholder:"Search",style:{float:"right"},value:e,onChange:this.searchHandleLog}))),s.a.createElement("div",{className:"ui mini form"},s.a.createElement(h.a,{celled:!0},s.a.createElement(h.a.Header,null,s.a.createElement(h.a.Row,null,s.a.createElement(h.a.HeaderCell,{style:{width:"5%"},singleLine:!0,textAlign:"center"},"Sl. No."),s.a.createElement(h.a.HeaderCell,{style:{width:"10%"},textAlign:"center"},"Date"),s.a.createElement(h.a.HeaderCell,{style:{width:"10%"},textAlign:"center"},"Center Code"),s.a.createElement(h.a.HeaderCell,{style:{width:"30%"},textAlign:"center"},"Center Name"),s.a.createElement(h.a.HeaderCell,{style:{width:"25%"},textAlign:"center"},"IP Address"),s.a.createElement(h.a.HeaderCell,{style:{width:"25%"},textAlign:"center"},"Logged/Not"))),s.a.createElement(h.a.Body,null,this.props.logtable.filter((function(t){return t.fcntrcode.toLowerCase().includes(e)||t.fcollname.toLowerCase().includes(e)||t.fdoe.toLowerCase().includes(e)||t.fenttype.toLowerCase().includes(e)})).map((function(e,t){return s.a.createElement(h.a.Row,{key:t},s.a.createElement(h.a.Cell,{textAlign:"center"},t+1),s.a.createElement(h.a.Cell,{textAlign:"center"},e.fdoe),s.a.createElement(h.a.Cell,{textAlign:"center"},e.fcntrcode),s.a.createElement(h.a.Cell,null,e.fcollname),s.a.createElement(h.a.Cell,null,e.fip),s.a.createElement(h.a.Cell,{textAlign:"center"},e.fenttype))}))))))))))))}}]),r}(l.Component);t.default=b}}]);
//# sourceMappingURL=18.66540caf.chunk.js.map