You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
8.5 KiB
1 lines
8.5 KiB
{"remainingRequest":"/home/lefos/repos/swarmlab-playground-client/node_modules/babel-loader/lib/index.js!/home/lefos/repos/swarmlab-playground-client/node_modules/cache-loader/dist/cjs.js??ref--0-0!/home/lefos/repos/swarmlab-playground-client/node_modules/vue-loader/lib/index.js??vue-loader-options!/home/lefos/repos/swarmlab-playground-client/src/App.vue?vue&type=script&lang=js&","dependencies":[{"path":"/home/lefos/repos/swarmlab-playground-client/src/App.vue","mtime":1615930840862},{"path":"/home/lefos/repos/swarmlab-playground-client/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/home/lefos/repos/swarmlab-playground-client/node_modules/babel-loader/lib/index.js","mtime":315532800000},{"path":"/home/lefos/repos/swarmlab-playground-client/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/home/lefos/repos/swarmlab-playground-client/node_modules/vue-loader/lib/index.js","mtime":499162500000}],"contextDependencies":[],"result":[{"type":"Buffer","data":"base64:Ly8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KaW1wb3J0IERvY0xpdmUgZnJvbSAnLi9jb21wb25lbnRzL0RvY0xpdmUudnVlJzsKaW1wb3J0IERvY0dyZXAgZnJvbSAnLi9jb21wb25lbnRzL0RvY0dyZXAudnVlJzsKaW1wb3J0ICJAL2Fzc2V0cy9jc3MvdGhlbWlmeS1pY29ucy5jc3MiOwpleHBvcnQgZGVmYXVsdCB7CiAgbmFtZTogJ2FwcCcsCiAgY29tcG9uZW50czogewogICAgRG9jTGl2ZSwKICAgIERvY0dyZXAKICB9LAoKICBkYXRhKCkgewogICAgcmV0dXJuIHsKICAgICAgc2hvdzogdHJ1ZSwKICAgICAgdG9rZW46ICcnLAogICAgICBTd2FybWFiQXNjaWlMYWJUZW1wbGF0ZTogJycKICAgIH07CiAgfSwKCiAgbW91bnRlZCgpIHt9LAoKICBjcmVhdGVkKCkgewogICAgdmFyIHVybF9zdHJpbmcgPSB3aW5kb3cubG9jYXRpb24uaHJlZjsKICAgIHZhciB1cmwgPSBuZXcgVVJMKHVybF9zdHJpbmcpOwogICAgdGhpcy50b2tlbiA9IHVybC5zZWFyY2hQYXJhbXMuZ2V0KCJ0b2tlbiIpOwogICAgY29uc29sZS5sb2coInRva2VuICIgKyB0aGlzLnRva2VuKTsKICB9LAoKICBtZXRob2RzOiB7CiAgICBzYXZlRG9jTGl2ZSgpIHsKICAgICAgdGhpcy4kcm9vdC4kZW1pdCgnYXNjaWlsaXZlX3NhdmUnLCAnc2F2ZScpOwogICAgfSwKCiAgICBhc3luYyBjb25uZWN0X3RvX2lvdChpb3QpIHsKICAgICAgaWYgKGlvdCA9PSAnbWVzaCcpIHsKICAgICAgICB0aGlzLlN3YXJtYWJBc2NpaUxhYlRlbXBsYXRlID0gewogICAgICAgICAgImlvdDUiOiB7CiAgICAgICAgICAgICJpZCI6IDUsCiAgICAgICAgICAgICJuYW1lIjogImF1dG81IiwKICAgICAgICAgICAgImltZyI6ICJyaW5zZS5wbmciLAogICAgICAgICAgICAiU2VydmljaW9zIjogW3sKICAgICAgICAgICAgICAibW9kZWwiOiAiU2VudHJhIiwKICAgICAgICAgICAgICAiZG9vcnMiOiA0CiAgICAgICAgICAgIH0sIHsKICAgICAgICAgICAgICAibW9kZWwiOiAiTWF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AA,CADA;AAEA,oBAAA,OAFA;AAGA,mBAAA,WAHA;AAIA,yBAAA,CACA;AAAA,uBAAA,QAAA;AAAA,uBAAA;AAAA,aADA,EAEA;AAAA,uBAAA,QAAA;AAAA,uBAAA;AAAA,aAFA,EAGA;AAAA,uBAAA,SAAA;AAAA,uBAAA;AAAA,aAHA;AAJA;AADA,SAAA;AAcA;AACA;;AAvBA;AArBA,CAAA","sourcesContent":["<template>\n <div id=\"app\">\n\n <!-- ***************** nav items ****************** -->\n <b-navbar toggleable=\"md\" class=\"navbar-secondary\" >\n <b-navbar-toggle target=\"nav_collapse\"> </b-navbar-toggle>\n <b-navbar-brand class=\"logo simple-text ti-swarmlab text-secondary\">\n Swarmlab.io Playground\n </b-navbar-brand>\n <b-collapse is-nav id=\"nav_collapse\">\n <b-navbar-nav>\n \n \n </b-navbar-nav>\n\n <!-- Right aligned nav items -->\n <b-navbar-nav class=\"ml-auto\">\n <b-nav-item href=\"https://git.swarmlab.io:3000\" target=\"_swarmlabgit\"> Swarmlab_git </b-nav-item>\n <b-nav-item > | </b-nav-item>\n <b-nav-item :href=\"'https://api-client.swarmlab.io:8088/?token='+ token\" target=\"_swarmlab\"> Lab_onDemand </b-nav-item>\n <b-nav-item > | </b-nav-item>\n <!--\n <b-nav-form>\n <b-form-input size=\"sm\" class=\"mr-sm-2\" type=\"text\" placeholder=\"Search\"/>\n <b-button size=\"sm\" class=\"my-2 my-sm-0\" type=\"submit\">Search</b-button>\n </b-nav-form>\n -->\n <!-- template\n <b-nav-item-dropdown right>\n -->\n\n <!-- Using template slot -->\n <!-- template\n <template slot=\"button-content\">\n <em>Template</em>\n </template>\n\n <b-dropdown-item >\n <button type=\"button\"\n round\n class=\"btn btn-outline-info btn-sm\"\n @click=\"connect_to_iot('mesh')\">\n add</button>\n </b-dropdown-item>\n\n </b-nav-item-dropdown>\n\n <b-nav-item > </b-nav-item>\n\n <button type=\"button\"\n round\n class=\"btn btn-outline-info btn-sm\"\n @click=\"saveDocLive\">\n Save As Zip</button>\n -->\n\n </b-navbar-nav>\n\n </b-collapse>\n </b-navbar>\n\n <!-- ***************** container items ****************** -->\n <b-row>\n <b-col cols=\"12\">\n\n <doc-live\n style=\"background-color: #f8f9fa\"\n >\n </doc-live>\n\n </b-col>\n </b-row>\n <b-row>\n <b-col cols=\"12\">\n\n <doc-grep\n style=\"background-color: #f8f9fa\"\n >\n </doc-grep>\n\n </b-col>\n </b-row>\n\n\n\n\n </div>\n</template>\n\n<script>\nimport DocLive from './components/DocLive.vue'\nimport DocGrep from './components/DocGrep.vue'\nimport \"@/assets/css/themify-icons.css\";\n\n\nexport default {\n name: 'app',\n components: {\n DocLive,\n DocGrep\n },\n data() {\n return {\n show: true,\n token: '',\n SwarmabAsciiLabTemplate:''\n }\n },\n\tmounted() {\n },\n\tcreated() {\n var url_string = window.location.href\n var url = new URL(url_string);\n this.token = url.searchParams.get(\"token\");\n console.log(\"token \"+ this.token);\n },\n methods: {\n saveDocLive() {\n this.$root.$emit('asciilive_save','save')\n },\n async connect_to_iot(iot) {\n\n if( iot == 'mesh' ){\n\n this.SwarmabAsciiLabTemplate = {\n \"iot5\": {\n \"id\": 5,\n \"name\": \"auto5\",\n \"img\": \"rinse.png\",\n \"Servicios\": [\n {\"model\":\"Sentra\", \"doors\":4},\n {\"model\":\"Maxima\", \"doors\":4},\n {\"model\":\"Skyline\", \"doors\":2}\n ]\n }\n }\n\n\n }\n }\n }\n}\n</script>\n\n<style>\n @import url('https://fonts.googleapis.com/css?family=Lato:400,700');\n\n body {\n background: #EEF1F4 !important;\n }\n\n .nav-background {\n background: #353535;\n }\n\n .ti-swarmlab:before {\n position: relative;\n top:-5px;\n right:-8px;\n font-size: 1.5em;\n font-weight: 300;\n content: \"\\e606\";\n color: #222;\n color: #74B3C8;\n border-color: #c60000;\n}\n\n.ti-themify-logo:before {\n content: \"\\e6d1\";\n}\n\n .menoutext {\n font-family: 'Lato', sans-serif !important;\n }\n\n</style>\n"],"sourceRoot":"src"}]}
|