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.216.126.33
{"version":3,"sources":["../node_modules/reactstrap/es/CardGroup.js","pages/registration/Login/Login.js","../node_modules/reactstrap/es/Button.js","../node_modules/reactstrap/es/Card.js","../node_modules/reactstrap/es/CardBody.js"],"names":["propTypes","tag","utils","className","prop_types_default","a","string","cssModule","object","CardGroup_CardGroup","props","Tag","attributes","Object","objectWithoutPropertiesLoose","classes","classnames_default","react_default","createElement","esm_extends","defaultProps","es_CardGroup","_regeneratorRuntime","e","t","r","prototype","n","hasOwnProperty","o","defineProperty","value","i","Symbol","iterator","c","asyncIterator","u","toStringTag","define","enumerable","configurable","writable","wrap","Generator","create","Context","makeInvokeMethod","tryCatch","type","arg","call","h","l","f","s","y","GeneratorFunction","GeneratorFunctionPrototype","p","this","d","getPrototypeOf","v","values","g","defineIteratorMethods","forEach","_invoke","AsyncIterator","invoke","resolve","__await","then","callInvokeWithMethodAndArg","Error","done","method","delegate","maybeInvokeDelegate","sent","_sent","dispatchException","abrupt","return","TypeError","resultName","next","nextLoc","pushTryEntry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","push","resetTryEntry","completion","reset","isNaN","length","displayName","isGeneratorFunction","constructor","name","mark","setPrototypeOf","__proto__","awrap","async","Promise","keys","reverse","pop","prev","charAt","slice","stop","rval","handle","complete","finish","catch","delegateYield","Login","_Component","_getPrototypeOf2","_this","_classCallCheck","_len","arguments","args","Array","_key","_possibleConstructorReturn","_getPrototypeOf","apply","concat","state","fmobileno","fpasswd","fmobileerror","fpasswderror","login","_ref","_asyncToGenerator","_callee","data","_this$state","error","_error","_error2","_context","preventDefault","header","content","showError","setState","_x","_x2","handleChange","test","_defineProperty","_inherits","_createClass","key","React","Container","ErrorModal","CardGroup","Card","style","width","CardBody","height","display","alignItems","alignContent","Form","onSubmit","Field","Input","maxLength","minLength","autoFocus","icon","iconPosition","placeholder","onChange","autoComplete","Button","color","textAlign","Link","to","margin","active","tabIndex","Component","connect","logindet","_babel_runtime_helpers_esm_extends__WEBPACK_IMPORTED_MODULE_0__","__webpack_require__","_babel_runtime_helpers_esm_objectWithoutPropertiesLoose__WEBPACK_IMPORTED_MODULE_1__","_babel_runtime_helpers_esm_inheritsLoose__WEBPACK_IMPORTED_MODULE_2__","_babel_runtime_helpers_esm_assertThisInitialized__WEBPACK_IMPORTED_MODULE_3__","react__WEBPACK_IMPORTED_MODULE_4__","react__WEBPACK_IMPORTED_MODULE_4___default","prop_types__WEBPACK_IMPORTED_MODULE_5__","prop_types__WEBPACK_IMPORTED_MODULE_5___default","classnames__WEBPACK_IMPORTED_MODULE_6__","classnames__WEBPACK_IMPORTED_MODULE_6___default","_utils__WEBPACK_IMPORTED_MODULE_7__","bool","aria-label","block","disabled","outline","innerRef","oneOfType","func","onClick","size","children","node","close","_React$Component","bind","_proto","render","_this$props","ariaLabel","aria-hidden","btnOutlineColor","href","defaultAriaLabel","undefined","ref","__webpack_exports__","react__WEBPACK_IMPORTED_MODULE_2__","react__WEBPACK_IMPORTED_MODULE_2___default","prop_types__WEBPACK_IMPORTED_MODULE_3__","prop_types__WEBPACK_IMPORTED_MODULE_3___default","classnames__WEBPACK_IMPORTED_MODULE_4__","classnames__WEBPACK_IMPORTED_MODULE_4___default","_utils__WEBPACK_IMPORTED_MODULE_5__","inverse","body"],"mappings":"0QAMAA,EAAA,CACAC,IAAOC,EAAA,EACPC,UAAaC,EAAAC,EAASC,OACtBC,UAAaH,EAAAC,EAASG,QAKlBC,EAAS,SAAAC,GACb,IAAAP,EAAAO,EAAAP,UACAI,EAAAG,EAAAH,UACAI,EAAAD,EAAAT,IACAW,EAAiBC,OAAAC,EAAA,EAAAD,CAA6BH,EAAA,iCAC9CK,EAAgBF,OAAAX,EAAA,EAAAW,CAAgBG,IAAUb,EAAA,cAAAI,GAC1C,OAASU,EAAAZ,EAAKa,cAAAP,EAAoBE,OAAAM,EAAA,EAAAN,CA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L,EAAA,EAAA5L,CAAQ,GAAGD,EAAA,CAC7CT,UAAAY,EACA8N,IAAAnB,MAGA7C,EAAA7K,YACA6K,EAAAzJ,aAhBA,CACAnB,IAAA,OAgBe6O,EAAA","file":"static/js/131.02c92bad.chunk.js","sourcesContent":["import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport { mapToCssModules, tagPropType } from './utils';\nvar propTypes = {\n tag: tagPropType,\n className: PropTypes.string,\n cssModule: PropTypes.object\n};\nvar defaultProps = {\n tag: 'div'\n};\nvar CardGroup = function CardGroup(props) {\n var className = props.className,\n cssModule = props.cssModule,\n Tag = props.tag,\n attributes = _objectWithoutPropertiesLoose(props, [\"className\", \"cssModule\", \"tag\"]);\n var classes = mapToCssModules(classNames(className, 'card-group'), cssModule);\n return React.createElement(Tag, _extends({}, attributes, {\n className: classes\n }));\n};\nCardGroup.propTypes = propTypes;\nCardGroup.defaultProps = defaultProps;\nexport default CardGroup;","import React, { useState, Component } from \"react\";\r\nimport { Link } from \"react-router-dom\";\r\nimport { Form } from \"semantic-ui-react\";\r\nimport { Button, Card, CardBody, CardGroup, Container } from \"reactstrap\";\r\nimport { connect } from \"react-redux\";\r\nimport { login } from \"../../../actions/registration/loginRegn\";\r\nimport { showError } from \"../../../actions\";\r\nimport ErrorModal from \"../../../containers/DefaultLayout/errorMessage\";\r\n\r\nclass Login extends Component {\r\n state = {\r\n fmobileno: \"\",\r\n fpasswd: \"\",\r\n fmobileerror: false,\r\n fpasswderror: false\r\n };\r\n\r\n login = async (e, data) => {\r\n e.preventDefault();\r\n const { fmobileno, fpasswd } = this.state;\r\n if (fmobileno === \"\") {\r\n const error = { header: \"Error\", content: \"Enter Mobile No.\" };\r\n this.props.showError(error);\r\n this.setState({ fmobileerror: true });\r\n return;\r\n }\r\n if (fmobileno.length < 10) {\r\n const error = {\r\n header: \"Error\",\r\n content: \"Enter 10 digits for Mobile No.\"\r\n };\r\n this.props.showError(error);\r\n this.setState({ fmobileerror: true });\r\n return;\r\n }\r\n if (fpasswd === \"\") {\r\n const error = { header: \"Error\", content: \"Enter Your password\" };\r\n this.props.showError(error);\r\n this.setState({ fpasswderror: true });\r\n return;\r\n }\r\n const login = { fmobileno: fmobileno, fpasswd: fpasswd };\r\n await this.props.login(login);\r\n };\r\n\r\n handleChange = (e, data) => {\r\n // validation for accepting only numbers\r\n this.setState({ fmobileerror: false, fpasswderror: false });\r\n if (!/^\\d*$/.test(data.value) && data.name == \"fmobileno\") return;\r\n this.setState({ [data.name]: data.value });\r\n };\r\n\r\n render() {\r\n return (\r\n <div className=\"app flex-row align-items-center\">\r\n <Container>\r\n <div className=\"row justify-content-center\">\r\n <ErrorModal />\r\n <div className=\"col-md-8\">\r\n <CardGroup>\r\n <Card\r\n className=\"text-white bg-blue py-5 d-md-down-none\"\r\n style={{ width: \"44%\" }}\r\n >\r\n <CardBody className=\"text-center\">\r\n <div\r\n style={{\r\n height: \"100%\",\r\n display: \"flex\",\r\n alignItems: \"center\",\r\n alignContent: \"center\"\r\n }}\r\n >\r\n <h2 style={{ width: \"100%\" }}>E-Governance Portal</h2>\r\n </div>\r\n </CardBody>\r\n </Card>\r\n <Card className=\"p-4\">\r\n <CardBody>\r\n <Form onSubmit={this.login}>\r\n <h1>Login</h1>\r\n <p className=\"text-muted\">Sign In to your account</p>\r\n <Form.Field>\r\n <Form.Input\r\n error={this.state.fmobileerror}\r\n maxLength=\"10\"\r\n minLength=\"10\"\r\n name=\"fmobileno\"\r\n autoFocus\r\n icon=\"mobile alternate\"\r\n iconPosition=\"left\"\r\n placeholder=\"Mobile No.\"\r\n value={this.state.fmobileno}\r\n onChange={this.handleChange}\r\n autoComplete=\"off\"\r\n />\r\n </Form.Field>\r\n <Form.Field>\r\n <Form.Input\r\n error={this.state.fpasswderror}\r\n name=\"fpasswd\"\r\n type=\"password\"\r\n icon=\"lock\"\r\n iconPosition=\"left\"\r\n placeholder=\"Password....\"\r\n maxLength=\"25\"\r\n value={this.state.fpasswd}\r\n onChange={this.handleChange}\r\n />\r\n </Form.Field>\r\n <div className=\"row\">\r\n <div className=\"col-md-6\">\r\n <Button color=\"primary\" className=\"px-4\">\r\n Login\r\n </Button>\r\n </div>\r\n <div\r\n className=\"col-md-6\"\r\n style={{ textAlign: \"right\" }}\r\n >\r\n <Link to=\"/forgot-passwd\">\r\n <Button color=\"link\" className=\"px-0\">\r\n <b>Forgot password?</b>\r\n </Button>\r\n </Link>\r\n </div>\r\n </div>\r\n <div className=\"row\">\r\n <div style={{ margin: \"0 auto\" }}>\r\n <Link to=\"/register\">\r\n <Button\r\n color=\"link\"\r\n className=\"mt-3\"\r\n active\r\n tabIndex={-1}\r\n >\r\n <b>Click here to Register</b>\r\n </Button>\r\n </Link>\r\n </div>\r\n </div>\r\n </Form>\r\n </CardBody>\r\n </Card>\r\n </CardGroup>\r\n </div>\r\n </div>\r\n </Container>\r\n </div>\r\n );\r\n }\r\n}\r\n\r\nconst mapStateToProps = state => {\r\n return {\r\n logindet: state.login\r\n };\r\n};\r\nexport default connect(\r\n mapStateToProps,\r\n {\r\n login,\r\n showError\r\n }\r\n)(Login);\r\n","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport _inheritsLoose from \"@babel/runtime/helpers/esm/inheritsLoose\";\nimport _assertThisInitialized from \"@babel/runtime/helpers/esm/assertThisInitialized\";\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport { mapToCssModules, tagPropType } from './utils';\nvar propTypes = {\n active: PropTypes.bool,\n 'aria-label': PropTypes.string,\n block: PropTypes.bool,\n color: PropTypes.string,\n disabled: PropTypes.bool,\n outline: PropTypes.bool,\n tag: tagPropType,\n innerRef: PropTypes.oneOfType([PropTypes.object, PropTypes.func, PropTypes.string]),\n onClick: PropTypes.func,\n size: PropTypes.string,\n children: PropTypes.node,\n className: PropTypes.string,\n cssModule: PropTypes.object,\n close: PropTypes.bool\n};\nvar defaultProps = {\n color: 'secondary',\n tag: 'button'\n};\nvar Button = /*#__PURE__*/\nfunction (_React$Component) {\n _inheritsLoose(Button, _React$Component);\n function Button(props) {\n var _this;\n _this = _React$Component.call(this, props) || this;\n _this.onClick = _this.onClick.bind(_assertThisInitialized(_assertThisInitialized(_this)));\n return _this;\n }\n var _proto = Button.prototype;\n _proto.onClick = function onClick(e) {\n if (this.props.disabled) {\n e.preventDefault();\n return;\n }\n if (this.props.onClick) {\n this.props.onClick(e);\n }\n };\n _proto.render = function render() {\n var _this$props = this.props,\n active = _this$props.active,\n ariaLabel = _this$props['aria-label'],\n block = _this$props.block,\n className = _this$props.className,\n close = _this$props.close,\n cssModule = _this$props.cssModule,\n color = _this$props.color,\n outline = _this$props.outline,\n size = _this$props.size,\n Tag = _this$props.tag,\n innerRef = _this$props.innerRef,\n attributes = _objectWithoutPropertiesLoose(_this$props, [\"active\", \"aria-label\", \"block\", \"className\", \"close\", \"cssModule\", \"color\", \"outline\", \"size\", \"tag\", \"innerRef\"]);\n if (close && typeof attributes.children === 'undefined') {\n attributes.children = React.createElement(\"span\", {\n \"aria-hidden\": true\n }, \"\\xD7\");\n }\n var btnOutlineColor = \"btn\" + (outline ? '-outline' : '') + \"-\" + color;\n var classes = mapToCssModules(classNames(className, {\n close: close\n }, close || 'btn', close || btnOutlineColor, size ? \"btn-\" + size : false, block ? 'btn-block' : false, {\n active: active,\n disabled: this.props.disabled\n }), cssModule);\n if (attributes.href && Tag === 'button') {\n Tag = 'a';\n }\n var defaultAriaLabel = close ? 'Close' : null;\n return React.createElement(Tag, _extends({\n type: Tag === 'button' && attributes.onClick ? 'button' : undefined\n }, attributes, {\n className: classes,\n ref: innerRef,\n onClick: this.onClick,\n \"aria-label\": ariaLabel || defaultAriaLabel\n }));\n };\n return Button;\n}(React.Component);\nButton.propTypes = propTypes;\nButton.defaultProps = defaultProps;\nexport default Button;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport { mapToCssModules, deprecated, tagPropType } from './utils';\nvar propTypes = {\n tag: tagPropType,\n inverse: PropTypes.bool,\n color: PropTypes.string,\n block: deprecated(PropTypes.bool, 'Please use the props \"body\"'),\n body: PropTypes.bool,\n outline: PropTypes.bool,\n className: PropTypes.string,\n cssModule: PropTypes.object,\n innerRef: PropTypes.oneOfType([PropTypes.object, PropTypes.string, PropTypes.func])\n};\nvar defaultProps = {\n tag: 'div'\n};\nvar Card = function Card(props) {\n var className = props.className,\n cssModule = props.cssModule,\n color = props.color,\n block = props.block,\n body = props.body,\n inverse = props.inverse,\n outline = props.outline,\n Tag = props.tag,\n innerRef = props.innerRef,\n attributes = _objectWithoutPropertiesLoose(props, [\"className\", \"cssModule\", \"color\", \"block\", \"body\", \"inverse\", \"outline\", \"tag\", \"innerRef\"]);\n var classes = mapToCssModules(classNames(className, 'card', inverse ? 'text-white' : false, block || body ? 'card-body' : false, color ? (outline ? 'border' : 'bg') + \"-\" + color : false), cssModule);\n return React.createElement(Tag, _extends({}, attributes, {\n className: classes,\n ref: innerRef\n }));\n};\nCard.propTypes = propTypes;\nCard.defaultProps = defaultProps;\nexport default Card;","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/esm/objectWithoutPropertiesLoose\";\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport classNames from 'classnames';\nimport { mapToCssModules, tagPropType } from './utils';\nvar propTypes = {\n tag: tagPropType,\n className: PropTypes.string,\n cssModule: PropTypes.object,\n innerRef: PropTypes.oneOfType([PropTypes.object, PropTypes.string, PropTypes.func])\n};\nvar defaultProps = {\n tag: 'div'\n};\nvar CardBody = function CardBody(props) {\n var className = props.className,\n cssModule = props.cssModule,\n innerRef = props.innerRef,\n Tag = props.tag,\n attributes = _objectWithoutPropertiesLoose(props, [\"className\", \"cssModule\", \"innerRef\", \"tag\"]);\n var classes = mapToCssModules(classNames(className, 'card-body'), cssModule);\n return React.createElement(Tag, _extends({}, attributes, {\n className: classes,\n ref: innerRef\n }));\n};\nCardBody.propTypes = propTypes;\nCardBody.defaultProps = defaultProps;\nexport default CardBody;"],"sourceRoot":""}
|