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
7.8 KiB
1 lines
7.8 KiB
{"remainingRequest":"/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:Ly8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KCmltcG9ydCBEb2NMaXZlIGZyb20gJy4vY29tcG9uZW50cy9Eb2NMaXZlLnZ1ZScKaW1wb3J0IERvY0dyZXAgZnJvbSAnLi9jb21wb25lbnRzL0RvY0dyZXAudnVlJwppbXBvcnQgIkAvYXNzZXRzL2Nzcy90aGVtaWZ5LWljb25zLmNzcyI7CgoKZXhwb3J0IGRlZmF1bHQgewogIG5hbWU6ICdhcHAnLAogIGNvbXBvbmVudHM6IHsKICAgIERvY0xpdmUsCiAgICBEb2NHcmVwCiAgfSwKICBkYXRhKCkgewogICAgcmV0dXJuIHsKICAgICAgc2hvdzogdHJ1ZSwKICAgICAgdG9rZW46ICcnLAogICAgICBTd2FybWFiQXNjaWlMYWJUZW1wbGF0ZTonJwogICAgfQogIH0sCgltb3VudGVkKCkgewogIH0sCgljcmVhdGVkKCkgewogICAgdmFyIHVybF9zdHJpbmcgPSB3aW5kb3cubG9jYXRpb24uaHJlZgogICAgdmFyIHVybCA9IG5ldyBVUkwodXJsX3N0cmluZyk7CiAgICB0aGlzLnRva2VuID0gdXJsLnNlYXJjaFBhcmFtcy5nZXQoInRva2VuIik7CiAgICBjb25zb2xlLmxvZygidG9rZW4gIisgdGhpcy50b2tlbik7CiAgfSwKICBtZXRob2RzOiB7CiAgICBzYXZlRG9jTGl2ZSgpIHsKICAgICAgdGhpcy4kcm9vdC4kZW1pdCgnYXNjaWlsaXZlX3NhdmUnLCdzYXZlJykKICAgIH0sCiAgICBhc3luYyBjb25uZWN0X3RvX2lvdChpb3QpIHsKCiAgICAgIGlmKCBpb3QgPT0gJ21lc2gnICl7CgogICAgICAgICB0aGlzLlN3YXJtYWJBc2NpaUxhYlRlbXBsYXRlID0gewogICAgICAgICAgICAgICAgICAgICAgICAiaW90NSI6IHsKICAgICAgICAgICAgICAgICAgICAgICAgICAgICJpZCI6IDUsCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAibmFtZSI6ICJhdXRvNSIsCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAiaW1nIjogInJpbnNlLnBuZyIsCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAiU2VydmljaW9zIjogWwogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHsibW9kZWwiOiJTZW50cmEiLCAiZG9vcnMiOjR9LAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHsibW9kZWwiOiJNYXhpbWEiLCAiZG9vcnMiOjR9LAogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIHsibW9kZWwiOiJTa3lsaW5lIiwgImRvb3JzIjoyfQogICAgICAgICAgICAgICAgICAgICAgICAgICAgXQogICAgICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICAgICAgICAgIH0KCgogICAgICB9CiAgICB9CiAgfQp9Cg=="},{"version":3,"sources":["App.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA0FA;AACA;AACA;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA;AACA;AACA;AACA","file":"App.vue","sourceRoot":"src","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"]}]}
|