72255d663918527fc23081176086cd03.json
10.1 KB
{"ast":null,"code":"import { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nvar _jsxFileName = \"C:\\\\Users\\\\kkwan_000\\\\Desktop\\\\git\\\\2017110269\\\\minsung\\\\src\\\\component\\\\LoginForm.js\";\nimport React from 'react';\nimport { Form, Input, Button, Checkbox, Row, Col } from 'antd';\nimport { UserOutlined, LockOutlined } from '@ant-design/icons';\nimport { HeartOutlined } from '@ant-design/icons';\n\nconst LoginForm = ({\n onFinish\n}) => {\n return /*#__PURE__*/_jsxDEV(Form, {\n name: \"normal_login\",\n className: \"login-form\",\n initialValues: {\n remember: true\n },\n onFinish: onFinish,\n children: [/*#__PURE__*/_jsxDEV(Row, {\n justify: \"center\",\n style: {\n marginTop: '80px'\n },\n children: /*#__PURE__*/_jsxDEV(HeartOutlined, {}, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 11,\n columnNumber: 9\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 10,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(Row, {\n justify: \"center\",\n style: {\n marginTop: '20px'\n },\n children: /*#__PURE__*/_jsxDEV(Col, {\n children: /*#__PURE__*/_jsxDEV(Form.Item, {\n name: \"userid\",\n rules: [{\n required: true,\n message: 'id를 입력해주세요.'\n }],\n children: /*#__PURE__*/_jsxDEV(Input, {\n prefix: /*#__PURE__*/_jsxDEV(UserOutlined, {\n className: \"site-form-item-icon\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 17,\n columnNumber: 28\n }, this),\n placeholder: \"User id\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 17,\n columnNumber: 13\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 16,\n columnNumber: 9\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 15,\n columnNumber: 9\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 14,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(Row, {\n justify: \"center\",\n style: {\n marginTop: '10px'\n },\n children: /*#__PURE__*/_jsxDEV(Col, {\n children: /*#__PURE__*/_jsxDEV(Form.Item, {\n name: \"userpwd\",\n rules: [{\n required: true,\n message: '비밀번호를 입력해주세요.'\n }],\n children: /*#__PURE__*/_jsxDEV(Input, {\n prefix: /*#__PURE__*/_jsxDEV(LockOutlined, {\n className: \"site-form-item-icon\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 25,\n columnNumber: 28\n }, this),\n type: \"password\",\n placeholder: \"Password\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 25,\n columnNumber: 13\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 24,\n columnNumber: 9\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 23,\n columnNumber: 9\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 22,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(Row, {\n justify: \"center\",\n style: {\n marginTop: '10px'\n },\n children: /*#__PURE__*/_jsxDEV(Col, {\n children: /*#__PURE__*/_jsxDEV(Form.Item, {\n name: \"remember\",\n valuePropName: \"checked\",\n noStyle: true,\n children: /*#__PURE__*/_jsxDEV(Checkbox, {\n children: \"Remember me\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 33,\n columnNumber: 13\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 32,\n columnNumber: 9\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 31,\n columnNumber: 9\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 30,\n columnNumber: 9\n }, this), /*#__PURE__*/_jsxDEV(Row, {\n justify: \"center\",\n style: {\n marginTop: '10px'\n },\n children: /*#__PURE__*/_jsxDEV(Col, {\n children: /*#__PURE__*/_jsxDEV(Form.Item, {\n children: /*#__PURE__*/_jsxDEV(Button, {\n type: \"primary\",\n htmlType: \"submit\",\n className: \"login-form-button\",\n children: \"\\uB85C\\uADF8\\uC778\\uD558\\uAE30\"\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 41,\n columnNumber: 13\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 40,\n columnNumber: 9\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 39,\n columnNumber: 9\n }, this)\n }, void 0, false, {\n fileName: _jsxFileName,\n lineNumber: 38,\n columnNumber: 9\n }, this)]\n }, void 0, true, {\n fileName: _jsxFileName,\n lineNumber: 9,\n columnNumber: 5\n }, this);\n};\n\n_c = LoginForm;\nexport default LoginForm;\n\nvar _c;\n\n$RefreshReg$(_c, \"LoginForm\");","map":{"version":3,"sources":["C:/Users/kkwan_000/Desktop/git/2017110269/minsung/src/component/LoginForm.js"],"names":["React","Form","Input","Button","Checkbox","Row","Col","UserOutlined","LockOutlined","HeartOutlined","LoginForm","onFinish","remember","marginTop","required","message"],"mappings":";;AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,SAASC,IAAT,EAAeC,KAAf,EAAsBC,MAAtB,EAA8BC,QAA9B,EAAwCC,GAAxC,EAA6CC,GAA7C,QAAwD,MAAxD;AACA,SAASC,YAAT,EAAuBC,YAAvB,QAA2C,mBAA3C;AACA,SAAQC,aAAR,QAA4B,mBAA5B;;AAEA,MAAMC,SAAS,GAAG,CAAC;AAACC,EAAAA;AAAD,CAAD,KAAiB;AAEjC,sBACE,QAAC,IAAD;AAAM,IAAA,IAAI,EAAC,cAAX;AAA0B,IAAA,SAAS,EAAC,YAApC;AAAiD,IAAA,aAAa,EAAE;AAACC,MAAAA,QAAQ,EAAE;AAAX,KAAhE;AAAoF,IAAA,QAAQ,EAAED,QAA9F;AAAA,4BACI,QAAC,GAAD;AAAK,MAAA,OAAO,EAAC,QAAb;AAAsB,MAAA,KAAK,EAAE;AAACE,QAAAA,SAA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AAAA;AAAA;AAAA;AADA;AAAA;AAAA;AAAA;AAAA;AADA;AAAA;AAAA;AAAA;AAAA,YAbJ,eAqBI,QAAC,GAAD;AAAK,MAAA,OAAO,EAAC,QAAb;AAAsB,MAAA,KAAK,EAAE;AAACF,QAAAA,SAAS,EAAC;AAAX,OAA7B;AAAA,6BACA,QAAC,GAAD;AAAA,+BACA,QAAC,IAAD,CAAM,IAAN;AAAW,UAAA,IAAI,EAAC,UAAhB;AAA2B,UAAA,aAAa,EAAC,SAAzC;AAAmD,UAAA,OAAO,MAA1D;AAAA,iCACI,QAAC,QAAD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AADJ;AAAA;AAAA;AAAA;AAAA;AADA;AAAA;AAAA;AAAA;AAAA;AADA;AAAA;AAAA;AAAA;AAAA,YArBJ,eA6BI,QAAC,GAAD;AAAK,MAAA,OAAO,EAAC,QAAb;AAAsB,MAAA,KAAK,EAAE;AAACA,QAAAA,SAAS,EAAC;AAAX,OAA7B;AAAA,6BACA,QAAC,GAAD;AAAA,+BACA,QAAC,IAAD,CAAM,IAAN;AAAA,iCACI,QAAC,MAAD;AAAQ,YAAA,IAAI,EAAC,SAAb;AAAuB,YAAA,QAAQ,EAAC,QAAhC;AAAyC,YAAA,SAAS,EAAC,mBAAnD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AADJ;AAAA;AAAA;AAAA;AAAA;AADA;AAAA;AAAA;AAAA;AAAA;AADA;AAAA;AAAA;AAAA;AAAA,YA7BJ;AAAA;AAAA;AAAA;AAAA;AAAA,UADF;AA0CD,CA5CD;;KAAMH,S;AA8CN,eAAeA,SAAf","sourcesContent":["import React from 'react';\r\nimport { Form, Input, Button, Checkbox, Row, Col } from 'antd';\r\nimport { UserOutlined, LockOutlined } from '@ant-design/icons';\r\nimport {HeartOutlined} from '@ant-design/icons';\r\n\r\nconst LoginForm = ({onFinish},) => {\r\n\r\n return (\r\n <Form name=\"normal_login\" className=\"login-form\" initialValues={{remember: true, }} onFinish={onFinish}>\r\n <Row justify=\"center\" style={{marginTop:'80px'}}>\r\n <HeartOutlined />\r\n </Row>\r\n\r\n <Row justify=\"center\" style={{marginTop:'20px'}}>\r\n <Col>\r\n <Form.Item name=\"userid\" rules={[{required: true, message: 'id를 입력해주세요.', },]}>\r\n <Input prefix={<UserOutlined className=\"site-form-item-icon\" />} placeholder=\"User id\" />\r\n </Form.Item>\r\n </Col>\r\n </Row> \r\n\r\n <Row justify=\"center\" style={{marginTop:'10px'}}>\r\n <Col>\r\n <Form.Item name=\"userpwd\" rules={[{required: true, message: '비밀번호를 입력해주세요.'},]}>\r\n <Input prefix={<LockOutlined className=\"site-form-item-icon\" />} type=\"password\" placeholder=\"Password\"/>\r\n </Form.Item>\r\n </Col>\r\n </Row>\r\n\r\n <Row justify=\"center\" style={{marginTop:'10px'}}>\r\n <Col>\r\n <Form.Item name=\"remember\" valuePropName=\"checked\" noStyle>\r\n <Checkbox>Remember me</Checkbox>\r\n </Form.Item> \r\n </Col>\r\n </Row>\r\n\r\n <Row justify=\"center\" style={{marginTop:'10px'}}>\r\n <Col>\r\n <Form.Item>\r\n <Button type=\"primary\" htmlType=\"submit\" className=\"login-form-button\">\r\n 로그인하기\r\n </Button>\r\n </Form.Item>\r\n </Col>\r\n </Row>\r\n \r\n </Form>\r\n );\r\n}\r\n\r\nexport default LoginForm;"]},"metadata":{},"sourceType":"module"}