{"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/home/home.tsx","dependencies":[{"path":"/var/www/html/payroll_manager/front-end/src/main/webapp/app/modules/home/home.tsx","mtime":1533613271397},{"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 './home.scss';\nimport React from 'react';\nimport { Link } from 'react-router-dom';\nimport { connect } from 'react-redux';\nimport { Row, Col, Alert } from 'reactstrap';\nimport { getSession } from 'app/shared/reducers/authentication';\nvar Home = /** @class */ (function (_super) {\n tslib_1.__extends(Home, _super);\n function Home() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Home.prototype.componentDidMount = function () {\n this.props.getSession();\n };\n Home.prototype.render = function () {\n var account = this.props.account;\n return (React.createElement(Row, null,\n React.createElement(Col, { md: \"9\" },\n React.createElement(\"h2\", null, \"Welcome, Java Hipster!\"),\n React.createElement(\"p\", { className: \"lead\" }, \"This is your homepage\"),\n account && account.login ? (React.createElement(\"div\", null,\n React.createElement(Alert, { color: \"success\" },\n \"You are logged in as user \",\n account.login,\n \".\"))) : (React.createElement(\"div\", null,\n React.createElement(Alert, { color: \"warning\" },\n \"If you want to\",\n React.createElement(Link, { to: \"/login\", className: \"alert-link\" },\n ' ',\n \"sign in\"),\n \", you can try the default accounts:\",\n React.createElement(\"br\", null),\n \"- Administrator (login=\\\"admin\\\" and password=\\\"admin\\\")\",\n React.createElement(\"br\", null),\n \"- User (login=\\\"user\\\" and password=\\\"user\\\").\"),\n React.createElement(Alert, { color: \"warning\" },\n \"You do not have an account yet?\\u00A0\",\n React.createElement(Link, { to: \"/register\", className: \"alert-link\" }, \"Register a new account\")))),\n React.createElement(\"p\", null, \"If you have any question on JHipster:\"),\n React.createElement(\"ul\", null,\n React.createElement(\"li\", null,\n React.createElement(\"a\", { href: \"https://www.jhipster.tech/\", target: \"_blank\", rel: \"noopener noreferrer\" }, \"JHipster homepage\")),\n React.createElement(\"li\", null,\n React.createElement(\"a\", { href: \"http://stackoverflow.com/tags/jhipster/info\", target: \"_blank\", rel: \"noopener noreferrer\" }, \"JHipster on Stack Overflow\")),\n React.createElement(\"li\", null,\n React.createElement(\"a\", { href: \"https://github.com/jhipster/generator-jhipster/issues?state=open\", target: \"_blank\", rel: \"noopener noreferrer\" }, \"JHipster bug tracker\")),\n React.createElement(\"li\", null,\n React.createElement(\"a\", { href: \"https://gitter.im/jhipster/generator-jhipster\", target: \"_blank\", rel: \"noopener noreferrer\" }, \"JHipster public chat room\")),\n React.createElement(\"li\", null,\n React.createElement(\"a\", { href: \"https://twitter.com/java_hipster\", target: \"_blank\", rel: \"noopener noreferrer\" }, \"follow @java_hipster on Twitter\"))),\n React.createElement(\"p\", null,\n \"If you like JHipster, do not forget to give us a star on\",\n ' ',\n React.createElement(\"a\", { href: \"https://github.com/jhipster/generator-jhipster\", target: \"_blank\", rel: \"noopener noreferrer\" }, \"Github\"),\n \"!\")),\n React.createElement(Col, { md: \"3\", className: \"pad\" },\n React.createElement(\"span\", { className: \"hipster rounded\" }))));\n };\n return Home;\n}(React.Component));\nexport { Home };\nvar mapStateToProps = function (storeState) { return ({\n account: storeState.authentication.account,\n isAuthenticated: storeState.authentication.isAuthenticated\n}); };\nvar mapDispatchToProps = { getSession: getSession };\nexport default connect(mapStateToProps, mapDispatchToProps)(Home);\n",{"version":3,"file":"/var/www/html/payroll_manager/front-end/src/main/webapp/app/modules/home/home.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/home/home.tsx"],"names":[],"mappings":";AAAA,OAAO,aAAa,CAAC;AAErB,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAExC,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AACtC,OAAO,EAAE,GAAG,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AAG7C,OAAO,EAAE,UAAU,EAAE,MAAM,oCAAoC,CAAC;AAIhE;IAA0B,gCAA0B;IAApD;;IAgFA,CAAC;IA/EC,gCAAiB,GAAjB;QACE,IAAI,CAAC,KAAK,CAAC,UAAU,EAAE,CAAC;IAC1B,CAAC;IAED,qBAAM,GAAN;QACU,IAAA,4BAAO,CAAgB;QAC/B,OAAO,CACL,oBAAC,GAAG;YACF,oBAAC,GAAG,IAAC,EAAE,EAAC,GAAG;gBACT,yDAA+B;gBAC/B,2BAAG,SAAS,EAAC,MAAM,4BAA0B;gBAC5C,OAAO,IAAI,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAC1B;oBACE,oBAAC,KAAK,IAAC,KAAK,EAAC,SAAS;;wBAA4B,OAAO,CAAC,KAAK;4BAAU,CACrE,CACP,CAAC,CAAC,CAAC,CACF;oBACE,oBAAC,KAAK,IAAC,KAAK,EAAC,SAAS;;wBAEpB,oBAAC,IAAI,IAAC,EAAE,EAAC,QAAQ,EAAC,SAAS,EAAC,YAAY;4BACrC,GAAG;sCAEC;;wBAEP,+BAAM;;wBACN,+BAAM;yEACA;oBAER,oBAAC,KAAK,IAAC,KAAK,EAAC,SAAS;;wBAEpB,oBAAC,IAAI,IAAC,EAAE,EAAC,WAAW,EAAC,SAAS,EAAC,YAAY,6B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import './home.scss';\n\nimport React from 'react';\nimport { Link } from 'react-router-dom';\n\nimport { connect } from 'react-redux';\nimport { Row, Col, Alert } from 'reactstrap';\n\nimport { IRootState } from 'app/shared/reducers';\nimport { getSession } from 'app/shared/reducers/authentication';\n\nexport interface IHomeProp extends StateProps, DispatchProps {}\n\nexport class Home extends React.Component {\n componentDidMount() {\n this.props.getSession();\n }\n\n render() {\n const { account } = this.props;\n return (\n \n
\n
Welcome, Java Hipster!
\n
This is your homepage
\n {account && account.login ? (\n
\n You are logged in as user {account.login}.\n
\n ) : (\n
\n \n If you want to\n \n {' '}\n sign in\n \n , you can try the default accounts:\n - Administrator (login="admin" and password="admin")\n - User (login="user" and password="user").\n \n\n \n You do not have an account yet? \n \n Register a new account\n \n \n