????

Your IP : 52.14.133.33


Current Path : C:/inetpub/vhost/qlk.nextform.vn/www/wwwroot/static/js/
Upload File :
Current File : C:/inetpub/vhost/qlk.nextform.vn/www/wwwroot/static/js/1784.3bd2a715.chunk.js

"use strict";(self.webpackChunkgdt=self.webpackChunkgdt||[]).push([[1784],{1784:(e,s,t)=>{t.r(s),t.d(s,{default:()=>c});var n=t(9950),i=t(3291),a=t(67116),r=t(85077),l=t(44414);class o extends n.Component{constructor(e){super(e),this.handleSubmit=()=>{""!==this.state.username?""!==this.state.password?(0,i.hO)(this.state.username,this.state.password):(0,a.AB)("Vui l\xf2ng nh\u1eadp m\u1eadt kh\u1ea9u truy c\u1eadp !"):(0,a.AB)("Vui l\xf2ng nh\u1eadp t\xean truy c\u1eadp !")},this.state={username:"",password:""}}pressEnter(e){13===e.charCode&&this.handleSubmit()}render(){return(0,l.jsx)(l.Fragment,{children:(0,l.jsx)("section",{className:"login",children:(0,l.jsxs)("div",{className:"login_box",children:[(0,l.jsx)("div",{className:"left",children:(0,l.jsxs)("div",{className:"contact",children:[(0,l.jsx)("h3",{children:"\u0110\u0103ng nh\u1eadp"}),(0,l.jsx)(r.A,{bsSize:"lg",type:"text",className:"input",onChange:e=>this.setState({username:e.target.value}),onKeyPress:this.pressEnter.bind(this),value:this.state.username,placeholder:"T\xean \u0111\u0103ng nh\u1eadp"}),(0,l.jsx)(r.A,{bsSize:"lg",type:"password",className:"input",onChange:e=>this.setState({password:e.target.value}),onKeyPress:this.pressEnter.bind(this),value:this.state.password,placeholder:"M\u1eadt kh\u1ea9u"}),(0,l.jsx)("button",{onClick:()=>this.handleSubmit(),className:"submit",children:"\u0110\u0103ng nh\u1eadp"})]})}),(0,l.jsx)("div",{className:"right",children:(0,l.jsx)("img",{src:"/assets/img/loginback.jpg",alt:""})})]})})})}}const c=o},85077:(e,s,t)=>{t.d(s,{A:()=>m});var n=t(58168),i=t(98587),a=t(9417),r=t(77387),l=t(9950),o=t(11942),c=t.n(o),d=t(48738),p=t.n(d),h=t(44208),u=["className","cssModule","type","bsSize","valid","invalid","tag","addon","plaintext","innerRef"],f={children:c().node,type:c().string,size:c().oneOfType([c().number,c().string]),bsSize:c().string,valid:c().bool,invalid:c().bool,tag:h.Wx,innerRef:c().oneOfType([c().object,c().func,c().string]),plaintext:c().bool,addon:c().bool,className:c().string,cssModule:c().object},g=function(e){function s(s){var t;return(t=e.call(this,s)||this).getRef=t.getRef.bind((0,a.A)(t)),t.focus=t.focus.bind((0,a.A)(t)),t}(0,r.A)(s,e);var t=s.prototype;return t.getRef=function(e){this.props.innerRef&&this.props.innerRef(e),this.ref=e},t.focus=function(){this.ref&&this.ref.focus()},t.render=function(){var e=this.props,s=e.className,t=e.cssModule,a=e.type,r=e.bsSize,o=e.valid,c=e.invalid,d=e.tag,f=e.addon,g=e.plaintext,m=e.innerRef,b=(0,i.A)(e,u),v=["radio","checkbox"].indexOf(a)>-1,x=new RegExp("\\D","g"),y=d||("select"===a||"textarea"===a?a:"input"),j="form-control";g?(j+="-plaintext",y=d||"input"):"file"===a?j+="-file":"range"===a?j+="-range":v&&(j=f?null:"form-check-input"),b.size&&x.test(b.size)&&((0,h.mc)('Please use the prop "bsSize" instead of the "size" to bootstrap\'s input sizing.'),r=b.size,delete b.size);var z=(0,h.qO)(p()(s,c&&"is-invalid",o&&"is-valid",!!r&&"form-control-"+r,j),t);return("input"===y||d&&"function"===typeof d)&&(b.type=a),b.children&&!g&&"select"!==a&&"string"===typeof y&&"select"!==y&&((0,h.mc)('Input with a type of "'+a+'" cannot have children. Please use "value"/"defaultValue" instead.'),delete b.children),l.createElement(y,(0,n.A)({},b,{ref:m,className:z,"aria-invalid":c}))},s}(l.Component);g.propTypes=f,g.defaultProps={type:"text"};const m=g}}]);