payroll_manager/front-end/build/cache-loader/e8e834680bc63dd51ee7c09748b161fd.json

1 line
3.9 KiB
JSON

{"remainingRequest":"/var/www/html/payroll_manager/front-end/node_modules/thread-loader/dist/cjs.js??ref--4-2!/var/www/html/payroll_manager/front-end/node_modules/ts-loader/index.js??ref--4-3!/var/www/html/payroll_manager/front-end/node_modules/tslint-loader/index.js!/var/www/html/payroll_manager/front-end/src/main/webapp/app/modules/login/logout.tsx","dependencies":[{"path":"/var/www/html/payroll_manager/front-end/src/main/webapp/app/modules/login/logout.tsx","mtime":1533613271425},{"path":"/var/www/html/payroll_manager/front-end/node_modules/react-hot-loader/webpack.js","mtime":1505850161000},{"path":"/var/www/html/payroll_manager/front-end/node_modules/cache-loader/dist/cjs.js","mtime":0},{"path":"/var/www/html/payroll_manager/front-end/node_modules/thread-loader/dist/cjs.js","mtime":0},{"path":"/var/www/html/payroll_manager/front-end/node_modules/ts-loader/index.js","mtime":1530127508000},{"path":"/var/www/html/payroll_manager/front-end/node_modules/tslint-loader/index.js","mtime":1519899048000}],"contextDependencies":[],"result":["import * as tslib_1 from \"tslib\";\nimport React from 'react';\nimport { connect } from 'react-redux';\nimport { Redirect } from 'react-router-dom';\nimport { logout } from 'app/shared/reducers/authentication';\nvar Logout = /** @class */ (function (_super) {\n tslib_1.__extends(Logout, _super);\n function Logout() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Logout.prototype.componentDidMount = function () {\n this.props.logout();\n };\n Logout.prototype.render = function () {\n return (React.createElement(\"div\", { className: \"p-5\" },\n React.createElement(\"h4\", null, \"Logged out successfully!\"),\n React.createElement(Redirect, { to: {\n pathname: '/'\n } })));\n };\n return Logout;\n}(React.Component));\nexport { Logout };\nvar mapStateToProps = function (storeState) { return ({}); };\nvar mapDispatchToProps = { logout: logout };\nexport default connect(mapStateToProps, mapDispatchToProps)(Logout);\n",{"version":3,"file":"/var/www/html/payroll_manager/front-end/src/main/webapp/app/modules/login/logout.tsx","sourceRoot":"","sources":["/var/www/html/payroll_manager/front-end/node_modules/tslint-loader/index.js!/var/www/html/payroll_manager/front-end/src/main/webapp/app/modules/login/logout.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AACtC,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAG5C,OAAO,EAAE,MAAM,EAAE,MAAM,oCAAoC,CAAC;AAI5D;IAA4B,kCAA6B;IAAzD;;IAiBA,CAAC;IAhBC,kCAAiB,GAAjB;QACE,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;IACtB,CAAC;IAED,uBAAM,GAAN;QACE,OAAO,CACL,6BAAK,SAAS,EAAC,KAAK;YAClB,2DAAiC;YACjC,oBAAC,QAAQ,IACP,EAAE,EAAE;oBACF,QAAQ,EAAE,GAAG;iBACd,GACD,CACE,CACP,CAAC;IACJ,CAAC;IACH,aAAC;AAAD,CAAC,AAjBD,CAA4B,KAAK,CAAC,SAAS,GAiB1C;;AAED,IAAM,eAAe,GAAG,UAAC,UAAsB,IAAK,OAAA,CAAC,EAAE,CAAC,EAAJ,CAAI,CAAC;AAEzD,IAAM,kBAAkB,GAAG,EAAE,MAAM,QAAA,EAAE,CAAC;AAKtC,eAAe,OAAO,CACpB,eAAe,EACf,kBAAkB,CACnB,CAAC,MAAM,CAAC,CAAC","sourcesContent":["import React from 'react';\nimport { connect } from 'react-redux';\nimport { Redirect } from 'react-router-dom';\n\nimport { IRootState } from 'app/shared/reducers';\nimport { logout } from 'app/shared/reducers/authentication';\n\nexport interface ILogoutProps extends StateProps, DispatchProps {}\n\nexport class Logout extends React.Component<ILogoutProps> {\n componentDidMount() {\n this.props.logout();\n }\n\n render() {\n return (\n <div className=\"p-5\">\n <h4>Logged out successfully!</h4>\n <Redirect\n to={{\n pathname: '/'\n }}\n />\n </div>\n );\n }\n}\n\nconst mapStateToProps = (storeState: IRootState) => ({});\n\nconst mapDispatchToProps = { logout };\n\ntype StateProps = ReturnType<typeof mapStateToProps>;\ntype DispatchProps = typeof mapDispatchToProps;\n\nexport default connect(\n mapStateToProps,\n mapDispatchToProps\n)(Logout);\n"]}]}