1 line
6.0 KiB
JSON
1 line
6.0 KiB
JSON
{"ast":null,"code":"import _classCallCheck from \"/home/riddhi/simulation/Gazebo_simulation-Frontend/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/classCallCheck\";\nimport _createClass from \"/home/riddhi/simulation/Gazebo_simulation-Frontend/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/createClass\";\nimport _possibleConstructorReturn from \"/home/riddhi/simulation/Gazebo_simulation-Frontend/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn\";\nimport _getPrototypeOf from \"/home/riddhi/simulation/Gazebo_simulation-Frontend/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/getPrototypeOf\";\nimport _inherits from \"/home/riddhi/simulation/Gazebo_simulation-Frontend/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/inherits\";\nvar _jsxFileName = \"/home/riddhi/simulation/Gazebo_simulation-Frontend/src/components/Simulator.js\";\nimport React, { Component } from 'react';\nimport { Button, ButtonGroup, Container, Table } from 'reactstrap';\nimport { Link, withRouter } from 'react-router-dom';\nimport { withCookies, Cookies } from 'react-cookie';\nimport { instanceOf } from 'prop-types';\nimport Navigationbar from './Navigationbar';\n\nvar Simulator = /*#__PURE__*/function (_Component) {\n _inherits(Simulator, _Component);\n\n function Simulator() {\n var _getPrototypeOf2;\n\n var _this;\n\n _classCallCheck(this, Simulator);\n\n for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(Simulator)).call.apply(_getPrototypeOf2, [this].concat(args)));\n _this.state = {\n isLoading: true,\n isAuthenticated: false,\n user: undefined,\n simulator: undefined\n };\n return _this;\n }\n\n _createClass(Simulator, [{\n key: \"render\",\n value: function render() {\n return /*#__PURE__*/React.createElement(\"div\", {\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 25,\n columnNumber: 11\n }\n }, /*#__PURE__*/React.createElement(Navigationbar, {\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 26,\n columnNumber: 13\n }\n }), /*#__PURE__*/React.createElement(\"div\", {\n id: \"sim\",\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 27,\n columnNumber: 13\n }\n }, /*#__PURE__*/React.createElement(\"iframe\", {\n name: \"top_\",\n src: \"http://localhost:4200\",\n width: \"100%\",\n height: \"375px\",\n frameBorder: \"0\",\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 28,\n columnNumber: 17\n }\n }), /*#__PURE__*/React.createElement(\"iframe\", {\n name: \"bottom_\",\n src: \"http://localhost:8888\",\n width: \"100%\",\n height: \"375px\",\n frameBorder: \"0\",\n __self: this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 29,\n columnNumber: 17\n }\n })));\n }\n }]);\n\n return Simulator;\n}(Component);\n\nSimulator.propTypes = {\n cookies: instanceOf(Cookies).isRequired\n};\nexport default Simulator;","map":{"version":3,"sources":["/home/riddhi/simulation/Gazebo_simulation-Frontend/src/components/Simulator.js"],"names":["React","Component","Button","ButtonGroup","Container","Table","Link","withRouter","withCookies","Cookies","instanceOf","Navigationbar","Simulator","state","isLoading","isAuthenticated","user","undefined","simulator","propTypes","cookies","isRequired"],"mappings":";;;;;;AAAA,OAAOA,KAAP,IAAgBC,SAAhB,QAAiC,OAAjC;AACA,SAASC,MAAT,EAAiBC,WAAjB,EAA8BC,SAA9B,EAAyCC,KAAzC,QAAsD,YAAtD;AACA,SAASC,IAAT,EAAeC,UAAf,QAAiC,kBAAjC;AACA,SAASC,WAAT,EAAsBC,OAAtB,QAAqC,cAArC;AACA,SAASC,UAAT,QAA2B,YAA3B;AACA,OAAOC,aAAP,MAA0B,iBAA1B;;IAGMC,S;;;;;;;;;;;;;;;UAKAC,K,GAAQ;AACNC,MAAAA,SAAS,EAAE,IADL;AAENC,MAAAA,eAAe,EAAE,KAFX;AAGNC,MAAAA,IAAI,EAAEC,SAHA;AAINC,MAAAA,SAAS,EAAED;AAJL,K;;;;;;6BASR;AACE,0BACE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBACE,oBAAC,aAAD;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,QADF,eAEE;AAAK,QAAA,EAAE,EAAC,KAAR;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBACI;AAAQ,QAAA,IAAI,EAAC,MAAb;AAAoB,QAAA,GAAG,EAAC,uBAAxB;AAAgD,QAAA,KAAK,EAAC,MAAtD;AAA8D,QAAA,MAAM,EAAC,OAArE;AAA6E,QAAA,WAAW,EAAC,GAAzF;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,QADJ,eAEI;AAAQ,QAAA,IAAI,EAAC,SAAb;AAAuB,QAAA,GAAG,EAAC,uBAA3B;AAAmD,QAAA,KAAK,EAAC,MAAzD;AAAgE,QAAA,MAAM,EAAC,OAAvE;AAA+E,QAAA,WAAW,EAAC,GAA3F;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,QAFJ,CAFF,CADF;AASD;;;;EAxBiBhB,S;;AAAlBW,S,CACKO,S,GAAY;AACfC,EAAAA,OAAO,EAAEV,UAAU,CAACD,OAAD,CAAV,CAAoBY;AADd,C;AA0BvB,eAAeT,SAAf","sourcesContent":["import React, { Component } from 'react';\nimport { Button, ButtonGroup, Container, Table } from 'reactstrap';\nimport { Link, withRouter } from 'react-router-dom';\nimport { withCookies, Cookies } from 'react-cookie';\nimport { instanceOf } from 'prop-types';\nimport Navigationbar from './Navigationbar';\n\n\nclass Simulator extends Component {\n static propTypes = {\n cookies: instanceOf(Cookies).isRequired\n };\n \n state = {\n isLoading: true,\n isAuthenticated: false,\n user: undefined,\n simulator: undefined\n };\n \n \n render() \n {\n return (\n <div>\n <Navigationbar/>\n <div id=\"sim\"> \n <iframe name=\"top_\" src=\"http://localhost:4200\" width=\"100%\" height=\"375px\" frameBorder=\"0\"></iframe>\n <iframe name=\"bottom_\" src=\"http://localhost:8888\" width=\"100%\" height=\"375px\" frameBorder=\"0\"></iframe> \n </div>\n </div>\n );\n }\n\n}\nexport default Simulator;"]},"metadata":{},"sourceType":"module"} |