cosmosc2-tool-dataviewer 5.0.2 → 5.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/tools/dataviewer/js/14.js +1 -1
- data/tools/dataviewer/js/14.js.map +1 -1
- data/tools/dataviewer/js/836.js +2 -0
- data/tools/dataviewer/js/836.js.map +1 -0
- data/tools/dataviewer/js/app.js +1 -1
- data/tools/dataviewer/js/app.js.map +1 -1
- metadata +5 -5
- data/tools/dataviewer/js/686.js +0 -2
- data/tools/dataviewer/js/686.js.map +0 -1
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"js/836.js","mappings":"+LAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACA,EAAG,UAAU,CAACE,MAAM,CAAC,MAAQN,EAAIO,MAAM,MAAQP,EAAIQ,SAASJ,EAAG,QAAQ,CAACE,MAAM,CAAC,MAAQ,KAAK,CAACF,EAAG,QAAQ,CAACA,EAAG,eAAe,CAACE,MAAM,CAAC,MAAQ,aAAa,KAAO,OAAO,MAAQ,CAACN,EAAIS,MAAMC,UAAU,YAAY,cAAcC,MAAM,CAACC,MAAOZ,EAAa,UAAEa,SAAS,SAAUC,GAAMd,EAAIe,UAAUD,GAAKE,WAAW,gBAAgB,GAAGZ,EAAG,QAAQ,CAACA,EAAG,eAAe,CAACE,MAAM,CAAC,MAAQ,aAAa,KAAO,OAAO,KAAO,IAAI,MAAQ,CAACN,EAAIS,MAAMC,UAAU,YAAY,cAAcC,MAAM,CAACC,MAAOZ,EAAa,UAAEa,SAAS,SAAUC,GAAMd,EAAIiB,UAAUH,GAAKE,WAAW,gBAAgB,GAAGZ,EAAG,QAAQ,CAACA,EAAG,eAAe,CAACE,MAAM,CAAC,MAAQ,WAAW,KAAO,OAAO,MAAQN,EAAIkB,QAAU,CAAClB,EAAIS,MAAMC,UAAY,GAAG,YAAY,YAAYC,MA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,EAAOI,QAAUH,EAAQE,QAE5C,IAAIE,EAAM,UACGA,EAAI,WAAYJ,GAAS,EAAM,CAAC,WAAY,EAAM,YAAa","sources":["webpack://@cosmosc2/tool-dataviewer/./src/tools/DataViewer/DataViewer.vue?69cc","webpack://@cosmosc2/tool-dataviewer/../cosmosc2-tool-common/src/services/axios.js","webpack://@cosmosc2/tool-dataviewer/../cosmosc2-tool-common/src/services/cosmos-api.js","webpack://@cosmosc2/tool-dataviewer/../cosmosc2-tool-common/src/components/OpenConfigDialog.vue?d129","webpack://@cosmosc2/tool-dataviewer/../cosmosc2-tool-common/src/components/OpenConfigDialog.vue","webpack://@cosmosc2/tool-dataviewer/../cosmosc2-tool-common/src/components/OpenConfigDialog.vue?b667","webpack://@cosmosc2/tool-dataviewer/../cosmosc2-tool-common/src/components/OpenConfigDialog.vue?6158","webpack://@cosmosc2/tool-dataviewer/../cosmosc2-tool-common/src/components/SaveConfigDialog.vue?36c2","webpack://@cosmosc2/tool-dataviewer/../cosmosc2-tool-common/src/components/SaveConfigDialog.vue","webpack://@cosmosc2/tool-dataviewer/../cosmosc2-tool-common/src/components/SaveConfigDialog.vue?e52f","webpack://@cosmosc2/tool-dataviewer/../cosmosc2-tool-common/src/components/SaveConfigDialog.vue?65b7","webpack://@cosmosc2/tool-dataviewer/../cosmosc2-tool-common/src/components/TargetPacketItemChooser.vue?1730","webpack://@cosmosc2/tool-dataviewer/../cosmosc2-tool-common/src/components/TargetPacketItemChooser.vue","webpack://@cosmosc2/tool-dataviewer/../cosmosc2-tool-common/src/components/TargetPacketItemChooser.vue?44cd","webpack://@cosmosc2/tool-dataviewer/../cosmosc2-tool-common/src/components/TargetPacketItemChooser.vue?b395","webpack://@cosmosc2/tool-dataviewer/../cosmosc2-tool-common/src/services/cable.js","webpack://@cosmosc2/tool-dataviewer/../cosmosc2-tool-common/src/components/TopBar.vue?228d","webpack://@cosmosc2/tool-dataviewer/../cosmosc2-tool-common/src/components/TopBar.vue","webpack://@cosmosc2/tool-dataviewer/../cosmosc2-tool-common/src/components/TopBar.vue?adab","webpack://@cosmosc2/tool-dataviewer/../cosmosc2-tool-common/src/components/TopBar.vue?dfc0","webpack://@cosmosc2/tool-dataviewer/./src/tools/DataViewer/DumpComponent.vue?d371","webpack://@cosmosc2/tool-dataviewer/./src/tools/DataViewer/Component.js","webpack://@cosmosc2/tool-dataviewer/src/tools/DataViewer/DumpComponent.vue","webpack://@cosmosc2/tool-dataviewer/./src/tools/DataViewer/DumpComponent.vue?d8d9","webpack://@cosmosc2/tool-dataviewer/./src/tools/DataViewer/DumpComponent.vue","webpack://@cosmosc2/tool-dataviewer/./src/tools/DataViewer/AddComponentDialog.vue?3a7c","webpack://@cosmosc2/tool-dataviewer/src/tools/DataViewer/AddComponentDialog.vue","webpack://@cosmosc2/tool-dataviewer/./src/tools/DataViewer/AddComponentDialog.vue?65eb","webpack://@cosmosc2/tool-dataviewer/./src/tools/DataViewer/AddComponentDialog.vue","webpack://@cosmosc2/tool-dataviewer/src/tools/DataViewer/DataViewer.vue","webpack://@cosmosc2/tool-dataviewer/./src/tools/DataViewer/DataViewer.vue?f449","webpack://@cosmosc2/tool-dataviewer/./src/tools/DataViewer/DataViewer.vue","webpack://@cosmosc2/tool-dataviewer/../cosmosc2-tool-common/src/components/TopBar.vue?b2db","webpack://@cosmosc2/tool-dataviewer/./src/tools/DataViewer/DataViewer.vue?747f","webpack://@cosmosc2/tool-dataviewer/./src/tools/DataViewer/DumpComponent.vue?89fd","webpack://@cosmosc2/tool-dataviewer/../cosmosc2-tool-common/src/components/TopBar.vue?5429","webpack://@cosmosc2/tool-dataviewer/./src/tools/DataViewer/DataViewer.vue?3e82","webpack://@cosmosc2/tool-dataviewer/./src/tools/DataViewer/DumpComponent.vue?1437"],"sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('top-bar',{attrs:{\"menus\":_vm.menus,\"title\":_vm.title}}),_c('v-row',{attrs:{\"dense\":\"\"}},[_c('v-col',[_c('v-text-field',{attrs:{\"label\":\"Start Date\",\"type\":\"date\",\"rules\":[_vm.rules.required],\"data-test\":\"start-date\"},model:{value:(_vm.startDate),callback:function ($$v) {_vm.startDate=$$v},expression:\"startDate\"}})],1),_c('v-col',[_c('v-text-field',{attrs:{\"label\":\"Start Time\",\"type\":\"time\",\"step\":\"1\",\"rules\":[_vm.rules.required],\"data-test\":\"start-time\"},model:{value:(_vm.startTime),callback:function ($$v) {_vm.startTime=$$v},expression:\"startTime\"}})],1),_c('v-col',[_c('v-text-field',{attrs:{\"label\":\"End Date\",\"type\":\"date\",\"rules\":_vm.endTime ? [_vm.rules.required] : [],\"data-test\":\"end-date\"},model:{value:(_vm.endDate),callback:function ($$v) {_vm.endDate=$$v},expression:\"endDate\"}})],1),_c('v-col',[_c('v-text-field',{attrs:{\"label\":\"End Time\",\"type\":\"time\",\"step\":\"1\",\"rules\":_vm.endDate ? [_vm.rules.required] : [],\"data-test\":\"end-time\"},model:{value:(_vm.endTime),callback:function ($$v) {_vm.endTime=$$v},expression:\"endTime\"}})],1),_c('v-col',{staticClass:\"pt-4\",attrs:{\"cols\":\"auto\"}},[(_vm.running)?_c('v-btn',{attrs:{\"color\":\"red\",\"width\":\"100\",\"data-test\":\"stop-button\"},on:{\"click\":_vm.stop}},[_vm._v(\" Stop \")]):_c('v-btn',{attrs:{\"disabled\":!_vm.canStart,\"color\":\"green\",\"width\":\"100\",\"data-test\":\"start-button\"},on:{\"click\":_vm.start}},[_vm._v(\" Start \")])],1)],1),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.warning || _vm.error || _vm.connectionFailure),expression:\"warning || error || connectionFailure\"}],staticClass:\"mb-3\"},[_c('v-alert',{attrs:{\"type\":\"warning\",\"dismissible\":\"\"},model:{value:(_vm.warning),callback:function ($$v) {_vm.warning=$$v},expression:\"warning\"}},[_vm._v(\" \"+_vm._s(_vm.warningText)+\" \")]),_c('v-alert',{attrs:{\"type\":\"error\",\"dismissible\":\"\"},model:{value:(_vm.error),callback:function ($$v) {_vm.error=$$v},expression:\"error\"}},[_vm._v(\" \"+_vm._s(_vm.errorText)+\" \")]),_c('v-alert',{attrs:{\"type\":\"error\"},model:{value:(_vm.connectionFailure),callback:function ($$v) {_vm.connectionFailure=$$v},expression:\"connectionFailure\"}},[_vm._v(\" COSMOS backend connection failed. \")])],1),_c('v-card',[_c('v-tabs',{ref:\"tabs\",model:{value:(_vm.curTab),callback:function ($$v) {_vm.curTab=$$v},expression:\"curTab\"}},[_vm._l((_vm.config.tabs),function(tab,index){return _c('v-tab',{key:index,attrs:{\"data-test\":\"tab\"},on:{\"contextmenu\":function (event) { return _vm.tabMenu(event, index); }}},[_vm._v(\" \"+_vm._s(tab.name)+\" \")])}),_c('v-btn',{staticClass:\"mt-2 ml-2\",attrs:{\"icon\":\"\",\"data-test\":\"new-tab\"},on:{\"click\":_vm.addTab}},[_c('v-icon',[_vm._v(\"mdi-tab-plus\")])],1)],2),_c('v-tabs-items',{model:{value:(_vm.curTab),callback:function ($$v) {_vm.curTab=$$v},expression:\"curTab\"}},_vm._l((_vm.config.tabs),function(tab,index){return _c('v-tab-item',{key:index,attrs:{\"eager\":\"\"}},[_vm._l((tab.packets),function(packet,packetIndex){return _c('v-card',{key:(index + \"-\" + packetIndex),attrs:{\"flat\":\"\"}},[_c('v-divider'),_c('v-card-title',{staticClass:\"pa-3\"},[_c('span',{domProps:{\"textContent\":_vm._s(_vm.packetTitle(packet))}}),_c('v-spacer'),_c('v-btn',{attrs:{\"icon\":\"\",\"data-test\":\"delete-packet\"},on:{\"click\":function () { return _vm.deleteComponent(index, packetIndex); }}},[_c('v-icon',{attrs:{\"color\":\"red\"}},[_vm._v(\"mdi-delete\")])],1)],1),(packet.component === 'DumpComponent')?_c('dump-component',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.receivedPackets[_vm.topicKey(packet)]),expression:\"receivedPackets[topicKey(packet)]\"}],ref:((_vm.topicKey(packet)) + \"-display\"),refInFor:true,attrs:{\"config\":packet.config},on:{\"config-change\":function (newConfig) { return (packet.config = newConfig); }}}):_c('v-card-text',[_c('v-alert',{attrs:{\"type\":\"error\"}},[_vm._v(\" Component missing: \"),_c('span',{staticClass:\"text-component-missing-name\"},[_vm._v(\" \"+_vm._s(packet.component)+\" \")])])],1),(!_vm.receivedPackets[_vm.topicKey(packet)])?_c('v-card-text',[_vm._v(\" No data! Make sure to hit the START button! \")]):_vm._e()],1)}),(!tab.packets.length)?_c('v-card',[_c('v-card-title',[_vm._v(\" This tab is empty \")]),_c('v-card-text',[_vm._v(\" Click the button below to add packets. Right click on the tab name above to rename or delete this tab. \")])],1):_vm._e(),_c('v-btn',{attrs:{\"block\":\"\",\"data-test\":\"new-packet\"},on:{\"click\":function () { return _vm.openComponentDialog(index); }}},[_c('v-icon',{staticClass:\"mr-2\"},[_vm._v(\"$astro-add-large\")]),_vm._v(\" Click here to add a packet \")],1)],2)}),1),(!_vm.config.tabs.length)?_c('v-card',[_c('v-card-title',[_vm._v(\"You're not viewing any packets\")]),_c('v-card-text',[_vm._v(\"Click the new tab icon to start.\")])],1):_vm._e()],1),(_vm.openConfig)?_c('open-config-dialog',{attrs:{\"tool\":_vm.toolName},on:{\"success\":function($event){return _vm.openConfiguration($event)}},model:{value:(_vm.openConfig),callback:function ($$v) {_vm.openConfig=$$v},expression:\"openConfig\"}}):_vm._e(),(_vm.saveConfig)?_c('save-config-dialog',{attrs:{\"tool\":_vm.toolName},on:{\"success\":function($event){return _vm.saveConfiguration($event)}},model:{value:(_vm.saveConfig),callback:function ($$v) {_vm.saveConfig=$$v},expression:\"saveConfig\"}}):_vm._e(),_c('v-dialog',{attrs:{\"width\":\"600\"},model:{value:(_vm.tabNameDialog),callback:function ($$v) {_vm.tabNameDialog=$$v},expression:\"tabNameDialog\"}},[_c('v-card',[_c('v-system-bar',[_c('v-spacer'),_c('span',[_vm._v(\" DataViewer: Rename Tab\")]),_c('v-spacer')],1),_c('v-card-text',[_c('v-text-field',{attrs:{\"label\":\"Tab name\",\"data-test\":\"rename-tab-input\"},model:{value:(_vm.newTabName),callback:function ($$v) {_vm.newTabName=$$v},expression:\"newTabName\"}})],1),_c('v-card-actions',[_c('v-spacer'),_c('v-btn',{staticClass:\"mx-2\",attrs:{\"outlined\":\"\",\"data-test\":\"cancel-rename\"},on:{\"click\":_vm.cancelTabRename}},[_vm._v(\" Cancel \")]),_c('v-btn',{staticClass:\"mx-2\",attrs:{\"color\":\"primary\",\"data-test\":\"rename\",\"disabled\":!_vm.newTabName},on:{\"click\":_vm.renameTab}},[_vm._v(\" Rename \")])],1)],1)],1),_c('v-menu',{attrs:{\"position-x\":_vm.tabMenuX,\"position-y\":_vm.tabMenuY,\"absolute\":\"\",\"offset-y\":\"\"},model:{value:(_vm.showTabMenu),callback:function ($$v) {_vm.showTabMenu=$$v},expression:\"showTabMenu\"}},[_c('v-list',[_c('v-list-item',{attrs:{\"data-test\":\"context-menu-rename\"}},[_c('v-list-item-title',{staticStyle:{\"cursor\":\"pointer\"},on:{\"click\":_vm.openTabNameDialog}},[_vm._v(\" Rename \")])],1),_c('v-list-item',{attrs:{\"data-test\":\"context-menu-delete\"}},[_c('v-list-item-title',{staticStyle:{\"cursor\":\"pointer\"},on:{\"click\":_vm.deleteTab}},[_vm._v(\" Delete \")])],1)],1)],1),_c('add-component-dialog',{on:{\"add\":_vm.addComponent,\"cancel\":_vm.cancelAddComponent},model:{value:(_vm.showAddComponentDialog),callback:function ($$v) {_vm.showAddComponentDialog=$$v},expression:\"showAddComponentDialog\"}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","/*\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n#\n# This program may also be used under the terms of a commercial or\n# enterprise edition license of COSMOS if purchased from the\n# copyright holder\n*/\n\nimport axios from 'axios'\nimport Vue from 'vue'\n\nconst vueInstance = new Vue()\n\nconst axiosInstance = axios.create({\n baseURL: location.origin,\n timeout: 10000,\n params: {},\n})\n\naxiosInstance.interceptors.response.use(\n (response) => response,\n (error) => {\n if (error.response.status === 401) {\n delete localStorage.cosmosToken\n CosmosAuth.login(location.href)\n } else {\n let body = `HTTP ${error.response.status} - `\n if (error.response?.statusText) {\n body += `${error.response.statusText} `\n }\n if (error.response?.config?.data) {\n body += `${error.response.config.data} `\n }\n if (error.response?.data?.message) {\n body += `${error.response.data.message}`\n } else if (error.response?.data?.exception) {\n body += `${error.response.data.exception}`\n } else if (error.response?.data?.error?.message) {\n if (error.response.data.error.class) {\n body += `${error.response.data.error.class} `\n }\n body += `${error.response.data.error.message}`\n } else {\n body += `${error.response?.data}`\n }\n vueInstance.$notify.serious({\n title: 'Network error',\n body,\n })\n }\n throw error\n }\n)\n\nexport default axiosInstance\n","/*\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n#\n# This program may also be used under the terms of a commercial or\n# enterprise edition license of COSMOS if purchased from the\n# copyright holder\n*/\n\nimport axios from './axios.js'\n\nexport class CosmosApi {\n id = 1\n\n constructor() {}\n\n // This is hacky Json-rpc for now. Should probably use a jsonrpc library.\n async exec(method, params, kwparams = {}) {\n try {\n await CosmosAuth.updateToken(CosmosAuth.defaultMinValidity)\n } catch (error) {\n CosmosAuth.login()\n }\n this.id = this.id + 1\n try {\n kwparams['scope'] = localStorage.scope\n const response = await axios.post(\n '/cosmos-api/api',\n {\n jsonrpc: '2.0',\n method: method,\n params: params,\n id: this.id,\n keyword_params: kwparams,\n },\n {\n headers: {\n Authorization: localStorage.cosmosToken,\n 'Content-Type': 'application/json-rpc',\n },\n }\n )\n // var data = response.data\n // if (data.error) {\n // var err = new Error()\n // err.name = data.error.data.class\n // err.message = data.error.data.message\n // console.log(data.error.data.backtrace.join('\\n'))\n // throw err\n // }\n return response.data.result\n } catch (error) {\n var err = new Error()\n if (error.response) {\n // The request was made and the server responded with a\n // status code that falls out of the range of 2xx\n err.name = error.response.data.error.data.class\n err.message = error.response.data.error.data.message\n } else if (error.request) {\n // The request was made but no response was received, `error.request`\n // is an instance of XMLHttpRequest in the browser and an instance\n // of http.ClientRequest in Node.js\n err.name = 'Request error'\n err.message = 'Request error, no response received'\n } else {\n // Something happened in setting up the request and triggered an Error\n err.name = 'Unknown error'\n }\n //console.log(error)\n throw err\n }\n }\n\n decode_cosmos_type(val) {\n if (val !== null && typeof val === 'object') {\n if (val.json_class == 'Float' && val.raw) {\n if (val.raw == 'NaN') {\n return NaN\n } else if (val.raw == 'Infinity') {\n return Infinity\n } else if (val.raw == '-Infinity') {\n return -Infinity\n }\n }\n }\n return null\n }\n\n encode_cosmos_type(val) {\n if (Number.isNaN(val)) {\n return { json_class: 'Float', raw: 'NaN' }\n } else if (val == Number.POSITIVE_INFINITY) {\n return { json_class: 'Float', raw: 'Infinity' }\n } else if (val == Number.NEGATIVE_INFINITY) {\n return { json_class: 'Float', raw: '-Infinity' }\n }\n return null\n }\n\n // ***********************************************\n // The following APIs are used by the CmdTlmServer\n // ***********************************************\n get_all_interface_info() {\n return this.exec('get_all_interface_info', [])\n }\n\n connect_interface(interface_name) {\n return this.exec('connect_interface', [interface_name])\n }\n\n disconnect_interface(interface_name) {\n return this.exec('disconnect_interface', [interface_name])\n }\n\n get_all_router_info() {\n return this.exec('get_all_router_info', [])\n }\n\n connect_router(router_name) {\n return this.exec('connect_router', [router_name])\n }\n\n disconnect_router(router_name) {\n return this.exec('disconnect_router', [router_name])\n }\n\n get_all_target_info() {\n return this.exec('get_all_target_info', [])\n }\n\n get_all_cmd_info() {\n return this.exec('get_all_cmd_info', [])\n }\n\n get_all_tlm_info() {\n return this.exec('get_all_tlm_info', [])\n }\n\n get_item(target, packet, item) {\n return this.exec('get_item', [target, packet, item])\n }\n\n get_parameter(target, packet, item) {\n return this.exec('get_parameter', [target, packet, item])\n }\n\n get_all_packet_logger_info() {\n return this.exec('get_all_packet_logger_info', [])\n }\n\n start_logging() {\n return this.exec('start_logging', [])\n }\n\n stop_logging() {\n return this.exec('stop_logging', [])\n }\n\n start_cmd_log(log_writer_name) {\n return this.exec('start_cmd_log', [log_writer_name])\n }\n\n start_tlm_log(log_writer_name) {\n return this.exec('start_tlm_log', [log_writer_name])\n }\n\n stop_cmd_log(log_writer_name) {\n return this.exec('stop_cmd_log', [log_writer_name])\n }\n\n stop_tlm_log(log_writer_name) {\n return this.exec('stop_tlm_log', [log_writer_name])\n }\n\n get_server_status() {\n return this.exec('get_server_status', [])\n }\n\n get_limits_sets() {\n return this.exec('get_limits_sets', [])\n }\n\n get_limits_set() {\n return this.exec('get_limits_set', [])\n }\n\n set_limits_set(limits_set) {\n return this.exec('set_limits_set', [limits_set])\n }\n\n get_background_tasks() {\n return this.exec('get_background_tasks', [])\n }\n\n start_background_task(name) {\n return this.exec('start_background_task', [name])\n }\n\n stop_background_task(name) {\n return this.exec('stop_background_task', [name])\n }\n\n // ***********************************************\n // End CmdTlmServer APIs\n // ***********************************************\n\n get_oldest_logfile() {\n return this.exec('get_oldest_logfile', [])\n }\n\n get_target(target_name) {\n return this.exec('get_target', [target_name])\n }\n\n get_target_list() {\n return this.exec('get_target_list', [])\n }\n\n get_telemetry(target_name, packet_name) {\n return this.exec('get_telemetry', [target_name, packet_name])\n }\n\n get_all_telemetry(target_name) {\n return this.exec('get_all_telemetry', [target_name])\n }\n\n get_all_telemetry_list(target_name) {\n return this.exec('get_all_telemetry_list', [target_name])\n }\n\n // Called by PacketViewerComponent\n async get_tlm_packet(target_name, packet_name, value_type) {\n const data = await this.exec('get_tlm_packet', [target_name, packet_name], {\n type: value_type,\n })\n // Make sure data isn't null or undefined. Note this is the only valid use of == or !=\n if (data != null) {\n var len = data.length\n var converted = null\n for (var i = 0; i < len; i++) {\n converted = this.decode_cosmos_type(data[i][1])\n if (converted !== null) {\n data[i][1] = converted\n }\n }\n }\n return data\n }\n\n // Called by PacketViewerComponent\n get_packet_derived_items(target_name, packet_name) {\n return this.exec('get_packet_derived_items', [target_name, packet_name])\n }\n\n // Called by CmdTlmServer Tlm Packets tab\n get_tlm_buffer(target_name, packet_name) {\n return this.exec('get_tlm_buffer', [target_name, packet_name])\n }\n\n // Called by CosmosScreenComponent\n async get_tlm_values(items) {\n const data = await this.exec('get_tlm_values', [items])\n var len = data[0].length\n var converted = null\n for (var i = 0; i < len; i++) {\n converted = this.decode_cosmos_type(data[0][i])\n if (converted !== null) {\n data[0][i] = converted\n }\n }\n return data\n }\n\n // Called by LimitsbarWidget\n get_limits(target_name, packet_name, item_name) {\n return this.exec('get_limits', [target_name, packet_name, item_name])\n }\n\n // Called by LimitsMonitorComponent\n async tlm(target_name, packet_name, item_name) {\n const data = await this.exec('tlm', [target_name, packet_name, item_name])\n var converted = this.decode_cosmos_type(data)\n if (converted !== null) {\n data = converted\n }\n return data\n }\n\n get_all_commands(target_name) {\n return this.exec('get_all_commands', [target_name])\n }\n\n get_all_commands_list(target_name) {\n return this.exec('get_all_commands_list', [target_name])\n }\n\n get_command(target_name, command_name) {\n return this.exec('get_command', [target_name, command_name])\n }\n\n get_cmd_value(\n target_name,\n packet_name,\n parameter_name,\n value_type = 'CONVERTED'\n ) {\n return this.exec('get_cmd_value', [\n target_name,\n packet_name,\n parameter_name,\n value_type,\n ])\n }\n\n // Called by CmdTlmServer Cmd Packets tab\n get_cmd_buffer(target_name, packet_name) {\n return this.exec('get_cmd_buffer', [target_name, packet_name])\n }\n\n // Implementation of functionality shared by cmd methods with param_lists.\n _cmd(method, target_name, command_name, param_list) {\n var converted = null\n for (var key in param_list) {\n if (Object.prototype.hasOwnProperty.call(param_list, key)) {\n converted = this.encode_cosmos_type(param_list[key])\n if (converted !== null) {\n param_list[key] = converted\n }\n }\n }\n return this.exec(method, [target_name, command_name, param_list])\n }\n\n // Called by CmdSenderComponent\n get_cmd_hazardous(target_name, command_name, param_list) {\n if (command_name === undefined) {\n return this.exec('get_cmd_hazardous', target_name)\n } else {\n return this._cmd(\n 'get_cmd_hazardous',\n target_name,\n command_name,\n param_list\n )\n }\n }\n\n // Called by CmdSenderComponent\n cmd(target_name, command_name, param_list) {\n if (command_name === undefined) {\n return this.exec('cmd', target_name)\n } else {\n return this._cmd('cmd', target_name, command_name, param_list)\n }\n }\n\n // Called by CmdSenderComponent\n cmd_no_range_check(target_name, command_name, param_list) {\n if (command_name === undefined) {\n return this.exec('cmd_no_range_check', target_name)\n } else {\n return this._cmd(\n 'cmd_no_range_check',\n target_name,\n command_name,\n param_list\n )\n }\n }\n\n // Called by CmdSenderComponent\n cmd_raw(target_name, command_name, param_list) {\n if (command_name === undefined) {\n return this.exec('cmd_raw', target_name)\n } else {\n return this._cmd('cmd_raw', target_name, command_name, param_list)\n }\n }\n\n // Called by CmdSenderComponent\n cmd_raw_no_range_check(target_name, command_name, param_list) {\n if (command_name === undefined) {\n return this.exec('cmd_raw_no_range_check', target_name)\n } else {\n return this._cmd(\n 'cmd_raw_no_range_check',\n target_name,\n command_name,\n param_list\n )\n }\n }\n\n // Called by CmdSenderComponent\n cmd_no_hazardous_check(target_name, command_name, param_list) {\n if (command_name === undefined) {\n return this.exec('cmd_no_hazardous_check', target_name)\n } else {\n return this._cmd(\n 'cmd_no_hazardous_check',\n target_name,\n command_name,\n param_list\n )\n }\n }\n\n // Called by CmdSenderComponent\n cmd_no_checks(target_name, command_name, param_list) {\n if (command_name === undefined) {\n return this.exec('cmd_no_checks', target_name)\n } else {\n return this._cmd('cmd_no_checks', target_name, command_name, param_list)\n }\n }\n\n // Called by CmdSenderComponent\n cmd_raw_no_hazardous_check(target_name, command_name, param_list) {\n if (command_name === undefined) {\n return this.exec('cmd_raw_no_hazardous_check', target_name)\n } else {\n return this._cmd(\n 'cmd_raw_no_hazardous_check',\n target_name,\n command_name,\n param_list\n )\n }\n }\n\n // Called by CmdSenderComponent\n cmd_raw_no_checks(target_name, command_name, param_list) {\n if (command_name === undefined) {\n return this.exec('cmd_raw_no_checks', target_name)\n } else {\n return this._cmd(\n 'cmd_raw_no_checks',\n target_name,\n command_name,\n param_list\n )\n }\n }\n\n // Called by CmdSenderComponent\n get_interface_names() {\n return this.exec('get_interface_names', [])\n }\n\n // Called by CmdSenderComponent\n send_raw(interface_name, data) {\n return this.exec('send_raw', [interface_name, data])\n }\n\n list_configs(tool) {\n return this.exec('list_configs', [tool])\n }\n\n load_config(tool, name) {\n return this.exec('load_config', [tool, name])\n }\n\n save_config(tool, name, data) {\n return this.exec('save_config', [tool, name, data])\n }\n\n delete_config(tool, name) {\n return this.exec('delete_config', [tool, name])\n }\n\n get_out_of_limits() {\n return this.exec('get_out_of_limits', [])\n }\n\n get_overall_limits_state(ignored) {\n return this.exec('get_overall_limits_state', [ignored])\n }\n\n list_settings() {\n return this.exec('list_settings', [])\n }\n\n get_all_settings() {\n return this.exec('get_all_settings', [])\n }\n\n get_setting(name) {\n return this.exec('get_setting', [name])\n }\n\n get_settings(array) {\n return this.exec('get_settings', array)\n }\n\n save_setting(name, data) {\n return this.exec('save_setting', [name, data])\n }\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-dialog',{attrs:{\"width\":\"600\"},on:{\"keydown\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"esc\",27,$event.key,[\"Esc\",\"Escape\"])){ return null; }return _vm.cancel.apply(null, arguments)}},model:{value:(_vm.show),callback:function ($$v) {_vm.show=$$v},expression:\"show\"}},[_c('v-card',[_c('form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.success.apply(null, arguments)}}},[_c('v-system-bar',[_c('v-spacer'),_c('span',[_vm._v(\"Open Configuration\")]),_c('v-spacer')],1),_c('v-card-text',[_c('div',{staticClass:\"pa-3\"},[_c('v-row',{attrs:{\"dense\":\"\"}},[_c('v-text-field',{attrs:{\"label\":\"search\",\"type\":\"text\",\"data-test\":\"search\",\"prepend-icon\":\"mdi-magnify\",\"clear-icon\":\"mdi-close-circle-outline\",\"clearable\":\"\",\"autofocus\":\"\",\"single-line\":\"\",\"hide-details\":\"\"},model:{value:(_vm.search),callback:function ($$v) {_vm.search=$$v},expression:\"search\"}})],1),_c('v-data-table',{attrs:{\"show-select\":\"\",\"single-select\":\"\",\"item-key\":\"configId\",\"search\":_vm.search,\"headers\":_vm.headers,\"items\":_vm.configs,\"items-per-page\":5,\"footer-props\":{ 'items-per-page-options': [5] }},on:{\"item-selected\":_vm.itemSelected,\"click:row\":function (item, slot) { return slot.select(item); }},scopedSlots:_vm._u([{key:\"item.actions\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('v-btn',{staticClass:\"mt-1\",attrs:{\"data-test\":\"item-delete\",\"icon\":\"\"},on:{\"click\":function($event){return _vm.deleteConfig(item)}}},[_c('v-icon',[_vm._v(\"mdi-delete\")])],1)]}}])}),_c('v-row',{attrs:{\"dense\":\"\"}},[_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.error),expression:\"error\"}],staticClass:\"ma-2 red--text\",domProps:{\"textContent\":_vm._s(_vm.error)}})]),_c('v-row',[_c('v-btn',{attrs:{\"type\":\"submit\",\"color\":\"success\",\"data-test\":\"open-config-submit-btn\",\"disabled\":!!_vm.error},on:{\"click\":function($event){$event.preventDefault();return _vm.success.apply(null, arguments)}}},[_vm._v(\" Ok \")]),_c('v-spacer'),_c('v-btn',{attrs:{\"color\":\"primary\",\"data-test\":\"open-config-cancel-btn\"},on:{\"click\":_vm.cancel}},[_vm._v(\" Cancel \")])],1)],1)])],1)])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n#\n# This program may also be used under the terms of a commercial or\n# enterprise edition license of COSMOS if purchased from the\n# copyright holder\n-->\n\n<template>\n <v-dialog v-model=\"show\" @keydown.esc=\"cancel\" width=\"600\">\n <v-card>\n <form v-on:submit.prevent=\"success\">\n <v-system-bar>\n <v-spacer />\n <span>Open Configuration</span>\n <v-spacer />\n </v-system-bar>\n\n <v-card-text>\n <div class=\"pa-3\">\n <v-row dense>\n <v-text-field\n label=\"search\"\n v-model=\"search\"\n type=\"text\"\n data-test=\"search\"\n prepend-icon=\"mdi-magnify\"\n clear-icon=\"mdi-close-circle-outline\"\n clearable\n autofocus\n single-line\n hide-details\n />\n </v-row>\n <v-data-table\n show-select\n single-select\n item-key=\"configId\"\n :search=\"search\"\n :headers=\"headers\"\n :items=\"configs\"\n :items-per-page=\"5\"\n :footer-props=\"{ 'items-per-page-options': [5] }\"\n @item-selected=\"itemSelected\"\n @click:row=\"(item, slot) => slot.select(item)\"\n >\n <template v-slot:item.actions=\"{ item }\">\n <v-btn\n class=\"mt-1\"\n data-test=\"item-delete\"\n icon\n @click=\"deleteConfig(item)\"\n >\n <v-icon>mdi-delete</v-icon>\n </v-btn>\n </template>\n </v-data-table>\n <v-row dense>\n <span class=\"ma-2 red--text\" v-show=\"error\" v-text=\"error\" />\n </v-row>\n <v-row>\n <v-btn\n @click.prevent=\"success\"\n type=\"submit\"\n color=\"success\"\n data-test=\"open-config-submit-btn\"\n :disabled=\"!!error\"\n >\n Ok\n </v-btn>\n <v-spacer />\n <v-btn\n @click=\"cancel\"\n color=\"primary\"\n data-test=\"open-config-cancel-btn\"\n >\n Cancel\n </v-btn>\n </v-row>\n </div>\n </v-card-text>\n </form>\n </v-card>\n </v-dialog>\n</template>\n\n<script>\nimport { CosmosApi } from '../services/cosmos-api.js'\n\nexport default {\n props: {\n tool: String,\n value: Boolean, // value is the default prop when using v-model\n },\n data() {\n return {\n configs: [],\n headers: [\n {\n text: 'Configuration',\n value: 'config',\n },\n {\n text: 'Actions',\n value: 'actions',\n align: 'end',\n sortable: false,\n },\n ],\n search: null,\n selectedItem: null,\n }\n },\n computed: {\n error: function () {\n if (this.selectedItem === '' || this.selectedItem === null) {\n return 'Must select a config'\n }\n return null\n },\n show: {\n get() {\n return this.value\n },\n set(value) {\n this.$emit('input', value) // input is the default event when using v-model\n },\n },\n },\n mounted() {\n let configId = -1\n new CosmosApi()\n .list_configs(this.tool)\n .then((response) => {\n this.configs = response.map((config) => {\n configId += 1\n return { configId, config }\n })\n })\n .catch((error) => {\n this.$emit('warning', `Failed to connect to Cosmos. ${error}`)\n })\n },\n methods: {\n itemSelected: function (item) {\n if (item.value) {\n this.selectedItem = item.item\n } else {\n this.selectedItem = null\n }\n },\n success: function () {\n this.$emit('success', this.selectedItem.config)\n this.show = false\n this.search = null\n this.selectedItem = null\n },\n cancel: function () {\n this.show = false\n this.search = null\n this.selectedItem = null\n },\n deleteConfig: function (item) {\n this.$dialog\n .confirm(`Are you sure you want to delete: ${item.config}`, {\n okText: 'Delete',\n cancelText: 'Cancel',\n })\n .then((dialog) => {\n if (this.selectedItem.config === item.config) {\n this.selectedItem = null\n }\n this.configs.splice(this.configs.indexOf(item), 1)\n new CosmosApi().delete_config(this.tool, item.config)\n })\n .catch((error) => {\n if (error) {\n this.$emit(\n 'warning',\n `Failed to delete config ${item.config} Error: ${error}`\n )\n }\n })\n },\n },\n}\n</script>\n\n<style scoped></style>\n","import mod from \"-!../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./OpenConfigDialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./OpenConfigDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./OpenConfigDialog.vue?vue&type=template&id=4f9dd098&scoped=true&\"\nimport script from \"./OpenConfigDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./OpenConfigDialog.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"4f9dd098\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-dialog',{attrs:{\"width\":\"600\"},on:{\"keydown\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"esc\",27,$event.key,[\"Esc\",\"Escape\"])){ return null; }return _vm.cancel.apply(null, arguments)}},model:{value:(_vm.show),callback:function ($$v) {_vm.show=$$v},expression:\"show\"}},[_c('v-card',[_c('form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.success.apply(null, arguments)}}},[_c('v-system-bar',[_c('v-spacer'),_c('span',[_vm._v(\"Save Configuration\")]),_c('v-spacer')],1),_c('v-card-text',[_c('div',{staticClass:\"pa-3\"},[_c('v-row',{attrs:{\"dense\":\"\"}},[_c('v-text-field',{attrs:{\"label\":\"search\",\"type\":\"text\",\"data-test\":\"search\",\"prepend-icon\":\"mdi-magnify\",\"clear-icon\":\"mdi-close-circle-outline\",\"clearable\":\"\",\"single-line\":\"\",\"hide-details\":\"\"},model:{value:(_vm.search),callback:function ($$v) {_vm.search=$$v},expression:\"search\"}})],1),_c('v-data-table',{attrs:{\"show-select\":\"\",\"single-select\":\"\",\"item-key\":\"configId\",\"search\":_vm.search,\"headers\":_vm.headers,\"items\":_vm.configs,\"items-per-page\":5,\"footer-props\":{ 'items-per-page-options': [5] }},on:{\"item-selected\":_vm.itemSelected,\"click:row\":function (item, slot) { return slot.select(item); }},scopedSlots:_vm._u([{key:\"item.actions\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('v-btn',{staticClass:\"mt-1\",attrs:{\"icon\":\"\",\"data-test\":\"item-delete\"},on:{\"click\":function($event){return _vm.deleteConfig(item)}}},[_c('v-icon',[_vm._v(\"mdi-delete\")])],1)]}}])}),_c('v-row',{attrs:{\"dense\":\"\"}},[_c('v-text-field',{attrs:{\"hide-details\":\"\",\"autofocus\":\"\",\"disabled\":!!_vm.selectedItem,\"label\":\"Configuration Name\",\"data-test\":\"name-input-save-config-dialog\"},model:{value:(_vm.configName),callback:function ($$v) {_vm.configName=$$v},expression:\"configName\"}})],1),_c('v-row',{attrs:{\"dense\":\"\"}},[_c('span',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.error),expression:\"error\"}],staticClass:\"ma-2 red--text\",domProps:{\"textContent\":_vm._s(_vm.error)}})]),_c('v-row',[_c('v-spacer'),_c('v-btn',{staticClass:\"mx-2\",attrs:{\"outlined\":\"\"},on:{\"click\":_vm.cancel}},[_vm._v(\" Cancel \")]),_c('v-btn',{staticClass:\"mx-2\",attrs:{\"type\":\"submit\",\"color\":\"primary\",\"data-test\":\"save-config-submit-btn\",\"disabled\":!!_vm.error},on:{\"click\":function($event){$event.preventDefault();return _vm.success.apply(null, arguments)}}},[_vm._v(\" Ok \")])],1)],1)])],1)])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n#\n# This program may also be used under the terms of a commercial or\n# enterprise edition license of COSMOS if purchased from the\n# copyright holder\n-->\n\n<template>\n <v-dialog v-model=\"show\" @keydown.esc=\"cancel\" width=\"600\">\n <v-card>\n <form v-on:submit.prevent=\"success\">\n <v-system-bar>\n <v-spacer />\n <span>Save Configuration</span>\n <v-spacer />\n </v-system-bar>\n\n <v-card-text>\n <div class=\"pa-3\">\n <v-row dense>\n <v-text-field\n label=\"search\"\n v-model=\"search\"\n type=\"text\"\n data-test=\"search\"\n prepend-icon=\"mdi-magnify\"\n clear-icon=\"mdi-close-circle-outline\"\n clearable\n single-line\n hide-details\n />\n </v-row>\n <v-data-table\n show-select\n single-select\n item-key=\"configId\"\n :search=\"search\"\n :headers=\"headers\"\n :items=\"configs\"\n :items-per-page=\"5\"\n :footer-props=\"{ 'items-per-page-options': [5] }\"\n @item-selected=\"itemSelected\"\n @click:row=\"(item, slot) => slot.select(item)\"\n >\n <template v-slot:item.actions=\"{ item }\">\n <v-btn\n icon\n class=\"mt-1\"\n data-test=\"item-delete\"\n @click=\"deleteConfig(item)\"\n >\n <v-icon>mdi-delete</v-icon>\n </v-btn>\n </template>\n </v-data-table>\n <v-row dense>\n <v-text-field\n v-model=\"configName\"\n hide-details\n autofocus\n :disabled=\"!!selectedItem\"\n label=\"Configuration Name\"\n data-test=\"name-input-save-config-dialog\"\n />\n </v-row>\n <v-row dense>\n <span class=\"ma-2 red--text\" v-show=\"error\" v-text=\"error\" />\n </v-row>\n <v-row>\n <v-spacer />\n <v-btn outlined class=\"mx-2\" @click=\"cancel\"> Cancel </v-btn>\n <v-btn\n @click.prevent=\"success\"\n type=\"submit\"\n color=\"primary\"\n class=\"mx-2\"\n data-test=\"save-config-submit-btn\"\n :disabled=\"!!error\"\n >\n Ok\n </v-btn>\n </v-row>\n </div>\n </v-card-text>\n </form>\n </v-card>\n </v-dialog>\n</template>\n\n<script>\nimport { CosmosApi } from '../services/cosmos-api.js'\n\nexport default {\n props: {\n tool: String,\n value: Boolean, // value is the default prop when using v-model\n },\n data() {\n return {\n configName: '',\n configs: [],\n headers: [\n {\n text: 'Configuration',\n value: 'config',\n },\n {\n text: 'Actions',\n value: 'actions',\n align: 'end',\n sortable: false,\n },\n ],\n search: null,\n selectedItem: null,\n }\n },\n computed: {\n error: function () {\n if (this.configName === '') {\n return 'Config must have a name'\n }\n return null\n },\n show: {\n get() {\n return this.value\n },\n set(value) {\n this.$emit('input', value) // input is the default event when using v-model\n },\n },\n },\n mounted() {\n let configId = -1\n new CosmosApi()\n .list_configs(this.tool)\n .then((response) => {\n this.configs = response.map((config) => {\n configId += 1\n return { configId, config }\n })\n })\n .catch((error) => {\n this.$emit('warning', `Failed to connect to Cosmos. ${error}`)\n })\n },\n methods: {\n itemSelected: function (item) {\n if (item.value) {\n this.selectedItem = item.item\n this.configName = item.item.config\n } else {\n this.selectedItem = null\n this.configName = ''\n }\n },\n success: function () {\n this.$emit('success', this.configName)\n this.show = false\n this.search = null\n this.selectedItem = null\n this.configName = ''\n },\n cancel: function () {\n this.show = false\n this.search = null\n this.selectedItem = null\n this.configName = ''\n },\n deleteConfig: function (item) {\n this.$dialog\n .confirm(`Are you sure you want to delete: ${item.config}`, {\n okText: 'Delete',\n cancelText: 'Cancel',\n })\n .then((dialog) => {\n if (this.configName === item.config) {\n this.selectedItem = null\n this.configName = ''\n }\n this.configs.splice(this.configs.indexOf(item.config), 1)\n new CosmosApi().delete_config(this.tool, item.config)\n })\n .catch((error) => {\n if (error) {\n this.$emit(\n 'warning',\n `Failed to delete config ${item.config} Error: ${error}`\n )\n }\n })\n },\n },\n}\n</script>\n","import mod from \"-!../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./SaveConfigDialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./SaveConfigDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SaveConfigDialog.vue?vue&type=template&id=7685694e&\"\nimport script from \"./SaveConfigDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./SaveConfigDialog.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-container',{staticClass:\"c-chooser px-0\"},[_c('v-row',[_c('v-col',{attrs:{\"cols\":_vm.colSize,\"data-test\":\"select-target\"}},[_c('v-autocomplete',{attrs:{\"label\":\"Select Target\",\"hide-details\":\"\",\"dense\":\"\",\"items\":_vm.targetNames,\"item-text\":\"label\",\"item-value\":\"value\"},on:{\"change\":_vm.targetNameChanged},model:{value:(_vm.selectedTargetName),callback:function ($$v) {_vm.selectedTargetName=$$v},expression:\"selectedTargetName\"}})],1),_c('v-col',{attrs:{\"cols\":_vm.colSize,\"data-test\":\"select-packet\"}},[_c('v-autocomplete',{attrs:{\"label\":\"Select Packet\",\"hide-details\":\"\",\"dense\":\"\",\"disabled\":_vm.packetsDisabled,\"items\":_vm.packetNames,\"item-text\":\"label\",\"item-value\":\"value\"},on:{\"change\":_vm.packetNameChanged},model:{value:(_vm.selectedPacketName),callback:function ($$v) {_vm.selectedPacketName=$$v},expression:\"selectedPacketName\"}})],1),(_vm.chooseItem && !_vm.buttonDisabled)?_c('v-col',{attrs:{\"cols\":_vm.colSize,\"data-test\":\"select-item\"}},[_c('v-autocomplete',{attrs:{\"label\":\"Select Item\",\"hide-details\":\"\",\"dense\":\"\",\"disabled\":_vm.itemsDisabled,\"items\":_vm.itemNames,\"item-text\":\"label\",\"item-value\":\"value\"},on:{\"change\":function($event){return _vm.itemNameChanged($event)}},model:{value:(_vm.selectedItemName),callback:function ($$v) {_vm.selectedItemName=$$v},expression:\"selectedItemName\"}})],1):_vm._e(),(_vm.buttonText)?_c('v-col',{attrs:{\"cols\":_vm.colSize}},[_c('v-btn',{attrs:{\"disabled\":_vm.buttonDisabled,\"block\":\"\",\"color\":\"primary\",\"data-test\":\"select-send\"},on:{\"click\":_vm.buttonPressed}},[_vm._v(\" \"+_vm._s(_vm.actualButtonText)+\" \")])],1):_vm._e()],1),_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{attrs:{\"cols\":_vm.colSize}},[_vm._v(\"Description: \"+_vm._s(_vm.description))])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n#\n# This program may also be used under the terms of a commercial or\n# enterprise edition license of COSMOS if purchased from the\n# copyright holder\n-->\n\n<template>\n <v-container class=\"c-chooser px-0\">\n <v-row>\n <v-col :cols=\"colSize\" data-test=\"select-target\">\n <v-autocomplete\n label=\"Select Target\"\n hide-details\n dense\n @change=\"targetNameChanged\"\n :items=\"targetNames\"\n item-text=\"label\"\n item-value=\"value\"\n v-model=\"selectedTargetName\"\n />\n </v-col>\n <v-col :cols=\"colSize\" data-test=\"select-packet\">\n <v-autocomplete\n label=\"Select Packet\"\n hide-details\n dense\n @change=\"packetNameChanged\"\n :disabled=\"packetsDisabled\"\n :items=\"packetNames\"\n item-text=\"label\"\n item-value=\"value\"\n v-model=\"selectedPacketName\"\n />\n </v-col>\n <v-col\n v-if=\"chooseItem && !buttonDisabled\"\n :cols=\"colSize\"\n data-test=\"select-item\"\n >\n <v-autocomplete\n label=\"Select Item\"\n hide-details\n dense\n @change=\"itemNameChanged($event)\"\n :disabled=\"itemsDisabled\"\n :items=\"itemNames\"\n item-text=\"label\"\n item-value=\"value\"\n v-model=\"selectedItemName\"\n />\n </v-col>\n <v-col v-if=\"buttonText\" :cols=\"colSize\">\n <v-btn\n :disabled=\"buttonDisabled\"\n block\n color=\"primary\"\n data-test=\"select-send\"\n @click=\"buttonPressed\"\n >\n {{ actualButtonText }}\n </v-btn>\n </v-col>\n </v-row>\n <v-row no-gutters>\n <v-col :cols=\"colSize\">Description: {{ description }}</v-col>\n </v-row>\n </v-container>\n</template>\n\n<script>\nimport { CosmosApi } from '../services/cosmos-api'\nexport default {\n props: {\n allowAll: {\n type: Boolean,\n default: false,\n },\n buttonText: {\n type: String,\n default: null,\n },\n chooseItem: {\n type: Boolean,\n default: false,\n },\n disabled: {\n type: Boolean,\n default: false,\n },\n initialTargetName: {\n type: String,\n default: '',\n },\n initialPacketName: {\n type: String,\n default: '',\n },\n initialItemName: {\n type: String,\n default: '',\n },\n mode: {\n type: String,\n default: 'tlm',\n // TODO: add validators throughout\n validator: (propValue) => {\n return ['cmd', 'tlm'].includes(propValue)\n },\n },\n reduced: {\n type: String,\n default: 'DECOM',\n validator: (propValue) => {\n return [\n 'REDUCED_DAY',\n 'REDUCED_HOUR',\n 'REDUCED_MINUTE',\n 'DECOM',\n ].includes(propValue)\n },\n },\n unknown: {\n type: Boolean,\n default: false,\n },\n vertical: {\n type: Boolean,\n default: false,\n },\n },\n data() {\n return {\n targetNames: [],\n packetNames: [],\n itemNames: [],\n selectedTargetName: this.initialTargetName?.toUpperCase(),\n selectedPacketName: this.initialPacketName?.toUpperCase(),\n selectedItemName: this.initialItemName?.toUpperCase(),\n description: '',\n internalDisabled: false,\n packetsDisabled: false,\n itemsDisabled: false,\n api: null,\n ALL: {\n label: '[ ALL ]',\n value: 'ALL',\n description: 'ALL',\n }, // Constant to indicate all packets or items\n UNKNOWN: {\n label: '[ UNKNOWN ]',\n value: 'UNKNOWN',\n description: 'UNKNOWN',\n },\n }\n },\n created() {\n this.internalDisabled = true\n this.api = new CosmosApi()\n this.api.get_target_list().then((result) => {\n this.targetNames = result.map((target) => {\n return { label: target, value: target }\n })\n if (!this.selectedTargetName) {\n this.selectedTargetName = this.targetNames[0].value\n this.targetNameChanged(this.selectedTargetName)\n }\n this.updatePackets()\n if (this.unknown) {\n this.targetNames.push(this.UNKNOWN)\n }\n })\n },\n computed: {\n actualButtonText: function () {\n if (this.selectedPacketName === 'ALL') {\n return 'Add Target'\n }\n if (this.selectedItemName === 'ALL') {\n return 'Add Packet'\n }\n return this.buttonText\n },\n buttonDisabled: function () {\n return this.disabled || this.internalDisabled\n },\n targetChooserStyle: function () {\n if (this.chooseItem || this.buttonText) {\n return { width: '25%', float: 'left', 'margin-right': '5px' }\n } else {\n return { width: '49%', float: 'left' }\n }\n },\n packetChooserStyle: function () {\n if (this.chooseItem || this.buttonText) {\n return { width: '25%', float: 'left', 'margin-right': '5px' }\n } else {\n return { width: '50%', float: 'right' }\n }\n },\n colSize: function () {\n return this.vertical ? 12 : false\n },\n },\n watch: {\n mode: function (newVal, oldVal) {\n this.updatePackets()\n this.itemNames = []\n },\n reduced: function (newVal, oldVal) {\n this.updateItems()\n },\n },\n methods: {\n updatePackets: function () {\n if (this.selectedTargetName === 'UNKNOWN') {\n this.packetNames = [this.UNKNOWN]\n this.selectedPacketName = this.packetNames[0].value\n this.packetNameChanged(this.UNKNOWN.value)\n this.description = 'UNKNOWN'\n return\n }\n this.internalDisabled = true\n const cmd = this.mode === 'tlm' ? 'get_all_telemetry_list' : 'get_all_commands_list'\n this.api[cmd](this.selectedTargetName).then((packets) => {\n this.packetNames = packets.map((packet) => {\n return {\n label: packet.packet_name,\n value: packet.packet_name,\n description: packet.description,\n }\n })\n if (this.allowAll) {\n this.packetNames.unshift(this.ALL)\n }\n if (!this.selectedPacketName) {\n this.selectedPacketName = this.packetNames[0].value\n this.packetNameChanged(this.selectedPacketName)\n }\n const item = this.packetNames.find((packet) => {\n return packet.value === this.selectedPacketName\n })\n this.description = item.description\n if (this.chooseItem) {\n this.updateItems()\n }\n this.internalDisabled = false\n })\n },\n\n updateItems: function () {\n if (this.selectedPacketName === 'ALL') {\n return\n }\n this.internalDisabled = true\n const cmd = this.mode === 'tlm' ? 'get_telemetry' : 'get_command'\n this.api[cmd](this.selectedTargetName, this.selectedPacketName).then(\n (packet) => {\n this.itemNames = packet.items.map((item) => {\n if (this.reduced === 'DECOM') {\n return [{\n label: item.name,\n value: item.name,\n description: item.description,\n }]\n } else {\n return this.makeReducedItems(item)\n }\n }).reduce((result, item) => { return result.concat(item) }, [])\n if (this.allowAll) {\n this.itemNames.unshift(this.ALL)\n }\n if (!this.selectedItemName) {\n this.selectedItemName = this.itemNames[0].value\n }\n this.description = this.itemNames[0].description\n this.internalDisabled = false\n this.$emit('on-set', {\n targetName: this.selectedTargetName,\n packetName: this.selectedPacketName,\n itemName: this.selectedItemName,\n reduced: this.reduced,\n })\n }\n )\n },\n\n makeReducedItems: function (item) {\n const reducedOptions = !item.array_size && !item.states\n if (\n reducedOptions && ['UINT', 'INT', 'FLOAT'].includes(item.data_type)\n ) {\n return ['MIN', 'MAX', 'AVG', 'STDDEV'].map((ext) => {\n return {\n label: `${item.name}_${ext}`,\n value: `${item.name}_${ext}`,\n description: `${ext} ${item.description}`,\n }\n })\n }\n return []\n },\n\n targetNameChanged: function (value) {\n this.selectedTargetName = value\n this.selectedPacketName = ''\n this.selectedItemName = ''\n this.updatePackets()\n },\n\n packetNameChanged: function (value) {\n if (value === 'ALL') {\n this.itemsDisabled = true\n this.internalDisabled = false\n } else {\n this.itemsDisabled = false\n const packet = this.packetNames.find((packet) => {\n return value === packet.value\n })\n this.selectedPacketName = packet.value\n this.description = packet.description\n }\n if (this.chooseItem) {\n this.selectedItemName = ''\n this.updateItems()\n } else {\n this.$emit('on-set', {\n targetName: this.selectedTargetName,\n packetName: this.selectedPacketName,\n reduced: this.reduced,\n })\n }\n },\n\n itemNameChanged: function (value) {\n const item = this.itemNames.find((item) => {\n return value === item.value\n })\n this.selectedItemName = item.value\n this.description = item.description\n this.$emit('on-set', {\n targetName: this.selectedTargetName,\n packetName: this.selectedPacketName,\n itemName: this.selectedItemName,\n reduced: this.reduced,\n })\n },\n\n buttonPressed: function () {\n if (this.selectedPacketName === 'ALL') {\n this.allTargetPacketItems()\n } else if (this.selectedItemName === 'ALL') {\n this.allPacketItems()\n } else if (this.chooseItem) {\n this.$emit('click', {\n targetName: this.selectedTargetName,\n packetName: this.selectedPacketName,\n itemName: this.selectedItemName,\n reduced: this.reduced,\n })\n } else {\n this.$emit('click', {\n targetName: this.selectedTargetName,\n packetName: this.selectedPacketName,\n reduced: this.reduced,\n })\n }\n },\n\n allTargetPacketItems: function () {\n this.packetNames.forEach((packetName) => {\n if (packetName === this.ALL) return\n const cmd = this.mode === 'tlm' ? 'get_telemetry' : 'get_command'\n this.api[cmd](this.selectedTargetName, packetName.value).then(\n (packet) => {\n packet.items.forEach((item) => {\n this.$emit('click', {\n targetName: this.selectedTargetName,\n packetName: packetName.value,\n itemName: item['name'],\n reduced: this.reduced,\n })\n })\n }\n )\n })\n },\n\n allPacketItems: function () {\n this.itemNames.forEach((item) => {\n if (item === this.ALL) return\n this.$emit('click', {\n targetName: this.selectedTargetName,\n packetName: this.selectedPacketName,\n itemName: item.value,\n reduced: this.reduced,\n })\n })\n },\n },\n}\n</script>\n","import mod from \"-!../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./TargetPacketItemChooser.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./TargetPacketItemChooser.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TargetPacketItemChooser.vue?vue&type=template&id=1cc45128&\"\nimport script from \"./TargetPacketItemChooser.vue?vue&type=script&lang=js&\"\nexport * from \"./TargetPacketItemChooser.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","/*\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n#\n# This program may also be used under the terms of a commercial or\n# enterprise edition license of COSMOS if purchased from the\n# copyright holder\n*/\n\nimport * as ActionCable from 'actioncable'\n\nexport default class Cable {\n constructor(url = '/cosmos-api/cable') {\n this._cable = ActionCable.createConsumer(url)\n }\n disconnect() {\n this._cable.disconnect()\n }\n createSubscription(channel, scope, callbacks = {}, additionalOptions = {}) {\n return CosmosAuth.updateToken(CosmosAuth.defaultMinValidity).then(() => {\n return this._cable.subscriptions.create(\n {\n channel,\n scope,\n token: localStorage.cosmosToken,\n ...additionalOptions,\n },\n callbacks\n )\n })\n }\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('mounting-portal',{attrs:{\"mount-to\":\"#cosmos-menu\",\"append\":\"\"}},[_c('div',{staticClass:\"v-toolbar__content\"},[_vm._l((_vm.menus),function(menu,i){return _c('v-menu',{key:i,attrs:{\"offset-y\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('v-btn',_vm._g(_vm._b({staticClass:\"mx-1\",attrs:{\"outlined\":\"\",\"data-test\":_vm.formatDT((_vm.title + \" \" + (menu.label)))}},'v-btn',attrs,false),on),[_c('span',{domProps:{\"textContent\":_vm._s(menu.label)}}),_c('v-icon',{attrs:{\"right\":\"\"}},[_vm._v(\" mdi-menu-down \")])],1)]}}],null,true)},[_c('v-list',[_c('v-radio-group',{staticClass:\"ma-0 pa-0\",attrs:{\"value\":menu.radioGroup,\"hide-details\":\"\",\"dense\":\"\"}},[_vm._l((menu.items),function(option,j){return [(option.divider)?_c('v-divider',{key:j}):_c('v-list-item',{key:j,attrs:{\"disabled\":option.disabled,\"data-test\":_vm.formatDT((_vm.title + \" \" + (menu.label) + \" \" + (option.label)))},on:{\"click\":option.command}},[(option.radio)?_c('v-list-item-action',[_c('v-radio',{attrs:{\"color\":\"secondary\",\"label\":option.label,\"value\":option.label}})],1):_vm._e(),(option.checkbox)?_c('v-list-item-action',[_c('v-checkbox',{attrs:{\"color\":\"secondary\",\"label\":option.label,\"value\":option.label},model:{value:(_vm.checked),callback:function ($$v) {_vm.checked=$$v},expression:\"checked\"}})],1):_vm._e(),(option.icon)?_c('v-list-item-icon',[_c('v-icon',{attrs:{\"disabled\":option.disabled},domProps:{\"textContent\":_vm._s(option.icon)}})],1):_vm._e(),(!option.radio && !option.checkbox)?_c('v-list-item-title',{style:('cursor: pointer;' + (option.disabled ? 'opacity: 0.2' : '')),domProps:{\"textContent\":_vm._s(option.label)}}):_vm._e()],1)]})],2)],1)],1)}),_c('v-spacer'),_c('v-toolbar-title',{domProps:{\"textContent\":_vm._s(_vm.title)}}),_c('v-spacer')],2)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n#\n# This program may also be used under the terms of a commercial or\n# enterprise edition license of COSMOS if purchased from the\n# copyright holder\n-->\n\n<template>\n <mounting-portal mount-to=\"#cosmos-menu\" append>\n <div class=\"v-toolbar__content\">\n <v-menu offset-y v-for=\"(menu, i) in menus\" :key=\"i\">\n <template v-slot:activator=\"{ on, attrs }\">\n <v-btn\n outlined\n v-bind=\"attrs\"\n v-on=\"on\"\n class=\"mx-1\"\n :data-test=\"formatDT(`${title} ${menu.label}`)\"\n >\n <span v-text=\"menu.label\" />\n <v-icon right> mdi-menu-down </v-icon>\n </v-btn>\n </template>\n <v-list>\n <!-- The radio-group is necessary in case the application wants radio buttons -->\n <v-radio-group\n :value=\"menu.radioGroup\"\n hide-details\n dense\n class=\"ma-0 pa-0\"\n >\n <template v-for=\"(option, j) in menu.items\">\n <v-divider v-if=\"option.divider\" :key=\"j\" />\n <v-list-item\n v-else\n @click=\"option.command\"\n :key=\"j\"\n :disabled=\"option.disabled\"\n :data-test=\"formatDT(`${title} ${menu.label} ${option.label}`)\"\n >\n <v-list-item-action\n v-if=\"option.radio\"\n >\n <v-radio\n color=\"secondary\"\n :label=\"option.label\"\n :value=\"option.label\"\n />\n </v-list-item-action>\n <v-list-item-action\n v-if=\"option.checkbox\"\n >\n <v-checkbox\n v-model=\"checked\"\n color=\"secondary\"\n :label=\"option.label\"\n :value=\"option.label\"\n />\n </v-list-item-action>\n <v-list-item-icon v-if=\"option.icon\">\n <v-icon v-text=\"option.icon\" :disabled=\"option.disabled\" />\n </v-list-item-icon>\n <v-list-item-title\n v-if=\"!option.radio && !option.checkbox\"\n :style=\"\n 'cursor: pointer;' + (option.disabled ? 'opacity: 0.2' : '')\n \"\n v-text=\"option.label\"\n />\n </v-list-item>\n </template>\n </v-radio-group>\n </v-list>\n </v-menu>\n <v-spacer />\n <v-toolbar-title v-text=\"title\" />\n <v-spacer />\n </div>\n </mounting-portal>\n</template>\n\n<script>\nexport default {\n props: {\n menus: {\n type: Array,\n default: function () {\n return []\n },\n },\n title: {\n type: String,\n default: '',\n },\n },\n methods: {\n // Convert the string to a standard data-test format\n formatDT: function(string) {\n return string.replaceAll(' ', '-').toLowerCase()\n },\n }\n}\n</script>\n\n<style scoped>\n.v-list >>> .v-label {\n margin-left: 5px;\n}\n.v-list-item__icon {\n /* For some reason the default margin-right is huge */\n margin-right: 15px !important;\n}\n.v-list-item__title {\n color: white;\n}\n</style>\n","import mod from \"-!../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./TopBar.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./TopBar.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TopBar.vue?vue&type=template&id=e3bb7458&scoped=true&\"\nimport script from \"./TopBar.vue?vue&type=script&lang=js&\"\nexport * from \"./TopBar.vue?vue&type=script&lang=js&\"\nimport style0 from \"./TopBar.vue?vue&type=style&index=0&id=e3bb7458&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"e3bb7458\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-container',{staticClass:\"pt-0\"},[_c('v-row',{attrs:{\"dense\":\"\"}},[_c('v-col',[_c('v-text-field',{staticClass:\"pt-0 mt-0\",attrs:{\"label\":\"Search\",\"append-icon\":\"mdi-magnify\",\"single-line\":\"\",\"hide-details\":\"\"},model:{value:(_vm.filterText),callback:function ($$v) {_vm.filterText=$$v},expression:\"filterText\"}})],1)],1),_c('v-row',[_c('v-col',[_c('v-slider',{attrs:{\"prepend-icon\":\"mdi-step-backward\",\"append-icon\":\"mdi-step-forward\",\"min\":1 - _vm.history.length,\"max\":0,\"hide-details\":\"\"},on:{\"mousedown\":_vm.pause,\"click:prepend\":_vm.stepBackward,\"click:append\":_vm.stepForward},model:{value:(_vm.pauseOffset),callback:function ($$v) {_vm.pauseOffset=$$v},expression:\"pauseOffset\"}})],1)],1),_c('v-row',{attrs:{\"dense\":\"\",\"no-gutters\":\"\"}},[_c('v-col',[_c('div',{staticClass:\"text-area-container\"},[_c('v-textarea',{ref:\"textarea\",attrs:{\"value\":_vm.displayText,\"auto-grow\":_vm.receivedCount === 1,\"readonly\":\"\",\"solo\":\"\",\"flat\":\"\",\"hide-details\":\"\",\"data-test\":\"dump-component-text-area\"}}),_c('div',{staticClass:\"floating-buttons\"},[_c('v-menu',{attrs:{\"close-on-content-click\":false,\"min-width\":900,\"nudge-left\":910},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('v-btn',_vm._g(_vm._b({staticClass:\"ml-2\",attrs:{\"color\":\"secondary\",\"fab\":\"\",\"small\":\"\",\"data-test\":\"dump-component-open-settings\"}},'v-btn',attrs,false),on),[_c('v-icon',[_vm._v(\"$astro-settings\")])],1)]}}])},[_c('v-card',[_c('v-card-title',{attrs:{\"data-test\":\"display-settings-card\"}},[_vm._v(\" Display settings \")]),_c('v-card-text',[_c('v-row',{attrs:{\"no-gutters\":\"\"}},[(_vm.mode === 'RAW')?_c('v-col',[_c('v-radio-group',{attrs:{\"label\":\"Display format\"},model:{value:(_vm.currentConfig.format),callback:function ($$v) {_vm.$set(_vm.currentConfig, \"format\", $$v)},expression:\"currentConfig.format\"}},[_c('v-radio',{attrs:{\"label\":\"Hex\",\"value\":\"hex\",\"data-test\":\"dump-component-settings-format-hex\"}}),_c('v-radio',{attrs:{\"label\":\"ASCII\",\"value\":\"ascii\",\"data-test\":\"dump-component-settings-format-ascii\"}})],1)],1):_vm._e(),_c('v-col',[_c('v-radio-group',{attrs:{\"label\":\"Print newest packets to the\"},model:{value:(_vm.currentConfig.newestAtTop),callback:function ($$v) {_vm.$set(_vm.currentConfig, \"newestAtTop\", $$v)},expression:\"currentConfig.newestAtTop\"}},[_c('v-radio',{attrs:{\"label\":\"Top\",\"value\":\"\",\"data-test\":\"dump-component-settings-newest-top\"}}),_c('v-radio',{attrs:{\"label\":\"Bottom\",\"value\":false,\"data-test\":\"dump-component-settings-newest-bottom\"}})],1)],1),_c('v-col',[(_vm.mode === 'RAW')?_c('v-switch',{attrs:{\"label\":\"Show line address\",\"data-test\":\"dump-component-settings-show-address\"},model:{value:(_vm.currentConfig.showLineAddress),callback:function ($$v) {_vm.$set(_vm.currentConfig, \"showLineAddress\", $$v)},expression:\"currentConfig.showLineAddress\"}}):_vm._e(),_c('v-switch',{attrs:{\"label\":\"Show timestamp\",\"data-test\":\"dump-component-settings-show-timestamp\"},model:{value:(_vm.currentConfig.showTimestamp),callback:function ($$v) {_vm.$set(_vm.currentConfig, \"showTimestamp\", $$v)},expression:\"currentConfig.showTimestamp\"}})],1),_c('v-col',[(_vm.mode === 'RAW')?_c('v-text-field',{attrs:{\"label\":\"Bytes per line\",\"type\":\"number\",\"min\":\"1\",\"data-test\":\"dump-component-settings-num-bytes\"},on:{\"change\":_vm.validateBytesPerLine},model:{value:(_vm.currentConfig.bytesPerLine),callback:function ($$v) {_vm.$set(_vm.currentConfig, \"bytesPerLine\", $$v)},expression:\"currentConfig.bytesPerLine\"}}):_vm._e(),_c('v-text-field',{attrs:{\"label\":\"Packets to show\",\"type\":\"number\",\"hint\":(\"Maximum: \" + (this.history.length)),\"persistent-hint\":\"\",\"min\":1,\"max\":this.history.length,\"data-test\":\"dump-component-settings-num-packets\"},on:{\"change\":_vm.validatePacketsToShow},model:{value:(_vm.currentConfig.packetsToShow),callback:function ($$v) {_vm.$set(_vm.currentConfig, \"packetsToShow\", $$v)},expression:\"currentConfig.packetsToShow\"}})],1)],1)],1)],1)],1),_c('v-btn',{staticClass:\"ml-2\",attrs:{\"color\":\"secondary\",\"fab\":\"\",\"small\":\"\",\"data-test\":\"dump-component-download\"},on:{\"click\":_vm.download}},[_c('v-icon',[_vm._v(\"mdi-file-download\")])],1),_c('v-btn',{staticClass:\"ml-2\",class:{ pulse: _vm.paused },attrs:{\"color\":\"primary\",\"fab\":\"\",\"data-test\":\"dump-component-play-pause\"},on:{\"click\":_vm.togglePlayPause}},[(_vm.paused)?_c('v-icon',{attrs:{\"large\":\"\"}},[_vm._v(\"mdi-play\")]):_c('v-icon',{attrs:{\"large\":\"\"}},[_vm._v(\"mdi-pause\")])],1)],1)],1)])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","/*\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n#\n# This program may also be used under the terms of a commercial or\n# enterprise edition license of COSMOS if purchased from the\n# copyright holder\n*/\n\nexport default {\n props: {\n config: {\n type: Object,\n },\n },\n data: function () {\n return {\n currentConfig: {},\n lastReceived: null,\n }\n },\n computed: {\n mode: function () {\n return this.lastReceived &&\n this.lastReceived.length > 0 &&\n 'buffer' in this.lastReceived[0]\n ? 'RAW'\n : 'DECOM'\n },\n },\n watch: {\n currentConfig: {\n deep: true,\n handler: function (val) {\n this.$emit('config-change', val)\n },\n },\n },\n created: function () {\n if (this.config) {\n this.currentConfig = {\n ...this.config,\n }\n }\n },\n methods: {\n receive: function (data) {\n // This is called by the parent to feed this component data. A function is used instead\n // of a prop to ensure each message gets handled, regardless of how fast they come in\n this.lastReceived = data\n },\n },\n}\n","<!--\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n#\n# This program may also be used under the terms of a commercial or\n# enterprise edition license of COSMOS if purchased from the\n# copyright holder\n-->\n\n<template>\n <v-container class=\"pt-0\">\n <v-row dense>\n <v-col>\n <v-text-field\n v-model=\"filterText\"\n class=\"pt-0 mt-0\"\n label=\"Search\"\n append-icon=\"mdi-magnify\"\n single-line\n hide-details\n />\n </v-col>\n </v-row>\n <v-row>\n <v-col>\n <v-slider\n v-model=\"pauseOffset\"\n v-on:mousedown=\"pause\"\n @click:prepend=\"stepBackward\"\n @click:append=\"stepForward\"\n prepend-icon=\"mdi-step-backward\"\n append-icon=\"mdi-step-forward\"\n :min=\"1 - history.length\"\n :max=\"0\"\n hide-details\n />\n </v-col>\n </v-row>\n <v-row dense no-gutters>\n <v-col>\n <div class=\"text-area-container\">\n <v-textarea\n ref=\"textarea\"\n :value=\"displayText\"\n :auto-grow=\"receivedCount === 1\"\n readonly\n solo\n flat\n hide-details\n data-test=\"dump-component-text-area\"\n />\n <div class=\"floating-buttons\">\n <v-menu\n :close-on-content-click=\"false\"\n :min-width=\"900\"\n :nudge-left=\"910\"\n >\n <template v-slot:activator=\"{ on, attrs }\">\n <v-btn\n class=\"ml-2\"\n color=\"secondary\"\n v-bind=\"attrs\"\n v-on=\"on\"\n fab\n small\n data-test=\"dump-component-open-settings\"\n >\n <v-icon>$astro-settings</v-icon>\n </v-btn>\n </template>\n <v-card>\n <v-card-title data-test=\"display-settings-card\">\n Display settings\n </v-card-title>\n <v-card-text>\n <v-row no-gutters>\n <v-col v-if=\"mode === 'RAW'\">\n <v-radio-group\n v-model=\"currentConfig.format\"\n label=\"Display format\"\n >\n <v-radio\n label=\"Hex\"\n value=\"hex\"\n data-test=\"dump-component-settings-format-hex\"\n />\n <v-radio\n label=\"ASCII\"\n value=\"ascii\"\n data-test=\"dump-component-settings-format-ascii\"\n />\n </v-radio-group>\n </v-col>\n <v-col>\n <v-radio-group\n v-model=\"currentConfig.newestAtTop\"\n label=\"Print newest packets to the\"\n >\n <v-radio\n label=\"Top\"\n value\n data-test=\"dump-component-settings-newest-top\"\n />\n <v-radio\n label=\"Bottom\"\n :value=\"false\"\n data-test=\"dump-component-settings-newest-bottom\"\n />\n </v-radio-group>\n </v-col>\n <v-col>\n <v-switch\n v-if=\"mode === 'RAW'\"\n v-model=\"currentConfig.showLineAddress\"\n label=\"Show line address\"\n data-test=\"dump-component-settings-show-address\"\n />\n <v-switch\n v-model=\"currentConfig.showTimestamp\"\n label=\"Show timestamp\"\n data-test=\"dump-component-settings-show-timestamp\"\n />\n </v-col>\n <v-col>\n <v-text-field\n v-if=\"mode === 'RAW'\"\n v-model=\"currentConfig.bytesPerLine\"\n label=\"Bytes per line\"\n type=\"number\"\n min=\"1\"\n v-on:change=\"validateBytesPerLine\"\n data-test=\"dump-component-settings-num-bytes\"\n />\n <v-text-field\n v-model=\"currentConfig.packetsToShow\"\n label=\"Packets to show\"\n type=\"number\"\n :hint=\"`Maximum: ${this.history.length}`\"\n persistent-hint\n :min=\"1\"\n :max=\"this.history.length\"\n v-on:change=\"validatePacketsToShow\"\n data-test=\"dump-component-settings-num-packets\"\n />\n </v-col>\n </v-row>\n </v-card-text>\n </v-card>\n </v-menu>\n <v-btn\n class=\"ml-2\"\n v-on:click=\"download\"\n color=\"secondary\"\n fab\n small\n data-test=\"dump-component-download\"\n >\n <v-icon>mdi-file-download</v-icon>\n </v-btn>\n <v-btn\n class=\"ml-2\"\n :class=\"{ pulse: paused }\"\n v-on:click=\"togglePlayPause\"\n color=\"primary\"\n fab\n data-test=\"dump-component-play-pause\"\n >\n <v-icon large v-if=\"paused\">mdi-play</v-icon>\n <v-icon large v-else>mdi-pause</v-icon>\n </v-btn>\n </div>\n </div>\n </v-col>\n </v-row>\n </v-container>\n</template>\n\n<script>\nimport _ from 'lodash'\nimport { format } from 'date-fns'\nimport Component from './Component'\n\nconst HISTORY_MAX_SIZE = 100 // TODO: put in config, or make the component learn it based on packet size, or something?\n\nexport default {\n mixins: [Component],\n data: function () {\n return {\n history: new Array(HISTORY_MAX_SIZE),\n historyPointer: -1, // index of the newest packet in history\n receivedCount: 0,\n filterText: '',\n paused: false,\n pausedAt: 0,\n pauseOffset: 0,\n pausedHistory: [],\n textarea: null,\n displayText: null,\n packetSize: 0,\n }\n },\n computed: {\n // These are just here to trigger their respective watch functions above\n // There's a better solution to this in Vue 3 v3.vuejs.org/api/computed-watch-api.html#watching-multiple-sources\n allInstantSettings: function () {\n return `${this.currentConfig.format}|${this.currentConfig.showLineAddress}|${this.currentConfig.showTimestamp}|${this.currentConfig.newestAtTop}|${this.pauseOffset}`\n },\n allDebouncedSettings: function () {\n return `${this.currentConfig.bytesPerLine}|${this.currentConfig.packetsToShow}|${this.filterText}`\n },\n },\n watch: {\n lastReceived: function (data) {\n data.forEach((packet) => {\n delete packet.packet\n let decoded = {\n ...packet,\n receivedCount: ++this.receivedCount,\n }\n if ('buffer' in packet) {\n decoded.buffer = atob(packet.buffer)\n }\n this.historyPointer = ++this.historyPointer % this.history.length\n this.history[this.historyPointer] = decoded\n if (!this.paused) {\n const packetText = this.calculatePacketText(decoded)\n if (this.matchesSearch(packetText)) {\n if (!this.displayText) {\n this.displayText = packetText\n } else if (this.currentConfig.newestAtTop) {\n this.displayText = `${packetText}\\n\\n${this.displayText}`\n } else {\n this.displayText += `\\n\\n${packetText}`\n }\n }\n }\n })\n this.trimDisplayText()\n if (!this.paused && !this.currentConfig.newestAtTop) {\n this.updateScrollPosition()\n }\n },\n paused: function (val) {\n if (val) {\n this.pausedAt = this.historyPointer\n this.pausedHistory = this.history.slice()\n } else {\n this.pauseOffset = 0\n this.rebuildDisplayText()\n }\n },\n allInstantSettings: function () {\n this.rebuildDisplayText()\n },\n allDebouncedSettings: _.debounce(function () {\n this.rebuildDisplayText()\n }, 300),\n },\n created: function () {\n const defaultConfig = {\n format: 'hex',\n showLineAddress: true,\n showTimestamp: true,\n bytesPerLine: 16,\n packetsToShow: 1,\n newestAtTop: false,\n }\n this.currentConfig = {\n ...defaultConfig, // In case anything isn't defined in this.config\n ...this.currentConfig,\n }\n },\n mounted: function () {\n this.textarea = this.$refs.textarea.$el.querySelectorAll('textarea')[0]\n },\n methods: {\n trimDisplayText: function () {\n // Could make this more robust by counting lines instead, but that's slower\n if (this.currentConfig.newestAtTop) {\n this.displayText = this.displayText.substring(\n 0,\n this.packetSize * this.currentConfig.packetsToShow\n )\n } else {\n this.displayText = this.displayText.substring(\n this.displayText.length -\n (this.packetSize + 2) * this.currentConfig.packetsToShow +\n 2\n )\n }\n },\n updateScrollPosition: function () {\n // Alternatively, only set if it's at the bottom already?\n const currentScrollOffset =\n this.textarea.scrollTop - this.textarea.scrollHeight\n this.$nextTick(() => {\n this.textarea.scrollTop =\n this.textarea.scrollHeight + currentScrollOffset\n })\n },\n rebuildDisplayText: function () {\n let packets = this.paused ? this.pausedHistory : this.history\n // Order packets chronologically and filter out the ones that aren't needed\n const breakpoint = this.paused ? this.pausedAt : this.historyPointer\n packets = packets\n .filter((packet) => packet) // in case history hasn't been filled yet\n .slice(breakpoint + 1)\n .concat(packets.slice(0, breakpoint + 1))\n .map(this.calculatePacketText) // convert to display text\n .filter(this.matchesSearch)\n if (this.paused) {\n // Remove any that are after the slider (offset)\n const sliderPosition = Math.max(packets.length + this.pauseOffset, 1) // Always show at least one\n packets = packets.slice(0, sliderPosition)\n }\n // Take however many are supposed to be shown\n const end = Math.max(this.currentConfig.packetsToShow, 1) // Always show at least one\n packets = packets.slice(-end)\n if (this.currentConfig.newestAtTop) {\n packets = packets.reverse()\n }\n this.displayText = packets.join('\\n\\n')\n },\n matchesSearch: function (text) {\n return text.toLowerCase().includes(this.filterText.toLowerCase())\n },\n calculatePacketText: function (packet) {\n let text = ''\n if (this.currentConfig.showTimestamp) {\n const milliseconds = packet.time / 1000000\n const receivedSeconds = (milliseconds / 1000).toFixed(7)\n const receivedDate = new Date(milliseconds).toISOString()\n // const receivedCt = packet.receivedCount.toString().padEnd(20, ' ') // Padding fixes issue where opening asterisks would get deleted by trimDisplayText\n let timestamp = '********************************************\\n'\n timestamp += `* Received seconds: ${receivedSeconds}\\n`\n timestamp += `* Received time: ${receivedDate}\\n`\n // timestamp += `* Received count: ${receivedCt}\\n`\n timestamp += '********************************************\\n'\n text = `${timestamp}${text}`\n }\n if ('buffer' in packet) {\n // Split its buffer into lines of the selected length\n text += _.chunk([...packet.buffer], this.currentConfig.bytesPerLine)\n .map((lineBytes, index) => {\n // Map each line into ASCII or hex values\n let mappedBytes = []\n if (this.currentConfig.format === 'ascii') {\n mappedBytes = lineBytes.map((byte) =>\n byte.replace(/\\n/, '\\\\n').replace(/\\r/, '\\\\r').padStart(2, ' ')\n )\n } else {\n mappedBytes = lineBytes.map((byte) =>\n byte.charCodeAt(0).toString(16).padStart(2, '0')\n )\n }\n let line = mappedBytes.join(' ')\n // Prepend the line address if needed\n if (this.currentConfig.showLineAddress) {\n const address = (index * this.currentConfig.bytesPerLine)\n .toString(16)\n .padStart(8, '0')\n line = `${address}: ${line}`\n }\n return line\n })\n .join('\\n') // end of one line\n } else {\n text += Object.keys(packet)\n .filter((item) => item != 'time')\n .map((item) => `${item}: ${packet[item]}`)\n .join('\\n')\n }\n this.packetSize = text.length // Set this every time in case it changes with rebuildDisplayText\n return text\n },\n validateBytesPerLine: function () {\n if (this.currentConfig.bytesPerLine < 1) {\n this.currentConfig.bytesPerLine = 1\n }\n },\n validatePacketsToShow: function () {\n if (this.currentConfig.packetsToShow > this.history.length) {\n this.currentConfig.packetsToShow = this.history.length\n } else if (this.currentConfig.packetsToShow < 1) {\n this.currentConfig.packetsToShow = 1\n }\n },\n download: function () {\n const blob = new Blob([this.displayText], {\n type: 'text/plain',\n })\n // Make a link and then 'click' on it to start the download\n const link = document.createElement('a')\n let url = URL.createObjectURL(blob)\n link.href = url\n link.setAttribute(\n 'download',\n `${format(new Date(), 'yyyy_MM_dd_HH_mm_ss')}.txt`\n )\n link.click()\n window.URL.revokeObjectURL(url)\n },\n pause: function () {\n this.paused = true\n },\n togglePlayPause: function () {\n this.paused = !this.paused\n },\n stepBackward: function () {\n this.pause()\n this.pauseOffset--\n },\n stepForward: function () {\n this.pause()\n this.pauseOffset++\n },\n },\n}\n</script>\n\n<style lang=\"scss\" scoped>\n.text-area-container {\n position: relative;\n\n .v-textarea {\n font-family: 'Courier New', Courier, monospace;\n }\n\n .floating-buttons {\n position: absolute;\n top: 12px;\n right: 24px;\n }\n}\n\n.pulse {\n animation: pulse 1s infinite;\n}\n\n@keyframes pulse {\n 0% {\n opacity: 1;\n }\n\n 50% {\n opacity: 0.5;\n }\n}\n</style>\n","import mod from \"-!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DumpComponent.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DumpComponent.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./DumpComponent.vue?vue&type=template&id=fa489178&scoped=true&\"\nimport script from \"./DumpComponent.vue?vue&type=script&lang=js&\"\nexport * from \"./DumpComponent.vue?vue&type=script&lang=js&\"\nimport style0 from \"./DumpComponent.vue?vue&type=style&index=0&id=fa489178&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"fa489178\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-dialog',{attrs:{\"width\":\"600\"},model:{value:(_vm.show),callback:function ($$v) {_vm.show=$$v},expression:\"show\"}},[_c('v-card',[_c('v-system-bar',[_c('v-spacer'),_c('span',[_vm._v(\" DataViewer: Add A Packet \")]),_c('v-spacer')],1),_c('v-card-text',[_c('v-row',[_c('v-col',{staticClass:\"my-2\"},[_c('v-radio-group',{staticClass:\"mt-0\",attrs:{\"row\":\"\",\"hide-details\":\"\"},model:{value:(_vm.newPacketCmdOrTlm),callback:function ($$v) {_vm.newPacketCmdOrTlm=$$v},expression:\"newPacketCmdOrTlm\"}},[_c('v-radio',{attrs:{\"label\":\"Command\",\"value\":\"cmd\",\"data-test\":\"command-packet-radio\"}}),_c('v-radio',{attrs:{\"label\":\"Telemetry\",\"value\":\"tlm\",\"data-test\":\"telemetry-packet-radio\"}})],1)],1)],1),_c('v-row',[_c('v-col',[_c('target-packet-item-chooser',{attrs:{\"mode\":_vm.newPacketCmdOrTlm,\"unknown\":\"\"},on:{\"on-set\":_vm.packetSelected}})],1)],1),_c('v-row',[_c('v-col',[_c('v-radio-group',{attrs:{\"row\":\"\",\"hide-details\":\"\"},model:{value:(_vm.newPacketMode),callback:function ($$v) {_vm.newPacketMode=$$v},expression:\"newPacketMode\"}},[_c('v-radio',{attrs:{\"label\":\"Raw\",\"value\":\"RAW\",\"data-test\":\"new-packet-raw-radio\"}}),_c('v-radio',{attrs:{\"label\":\"Decom\",\"value\":\"DECOM\",\"disabled\":_vm.disableRadioOptions,\"data-test\":\"new-packet-decom-radio\"}})],1)],1),_c('v-col',[(_vm.newPacketMode === 'DECOM')?_c('v-select',{attrs:{\"hide-details\":\"\",\"label\":\"Value Type\",\"data-test\":\"add-packet-value-type\",\"items\":_vm.valueTypes},model:{value:(_vm.newPacketValueType),callback:function ($$v) {_vm.newPacketValueType=$$v},expression:\"newPacketValueType\"}}):_vm._e()],1)],1)],1),_c('v-card-actions',[_c('v-spacer'),_c('v-btn',{staticClass:\"mx-2\",attrs:{\"outlined\":\"\",\"data-test\":\"cancel-packet-button\"},on:{\"click\":_vm.cancelAddComponent}},[_vm._v(\" Cancel \")]),_c('v-btn',{staticClass:\"mx-2\",attrs:{\"color\":\"primary\",\"data-test\":\"add-packet-button\",\"disabled\":!_vm.newPacket},on:{\"click\":_vm.addComponent}},[_vm._v(\" Add \")])],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addstopums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n#\n# This program may also be used under the terms of a commercial or\n# enterprise edition license of COSMOS if purchased from the\n# copyright holder\n-->\n\n<template>\n <div>\n <!-- Dialog for adding a new component to a tab -->\n <v-dialog v-model=\"show\" width=\"600\">\n <v-card>\n <v-system-bar>\n <v-spacer />\n <span> DataViewer: Add A Packet </span>\n <v-spacer />\n </v-system-bar>\n <v-card-text>\n <v-row>\n <v-col class=\"my-2\">\n <v-radio-group\n v-model=\"newPacketCmdOrTlm\"\n row\n hide-details\n class=\"mt-0\"\n >\n <v-radio\n label=\"Command\"\n value=\"cmd\"\n data-test=\"command-packet-radio\"\n />\n <v-radio\n label=\"Telemetry\"\n value=\"tlm\"\n data-test=\"telemetry-packet-radio\"\n />\n </v-radio-group>\n </v-col>\n </v-row>\n <v-row>\n <v-col>\n <target-packet-item-chooser\n :mode=\"newPacketCmdOrTlm\"\n unknown\n @on-set=\"packetSelected\"\n />\n </v-col>\n </v-row>\n <v-row>\n <v-col>\n <v-radio-group v-model=\"newPacketMode\" row hide-details>\n <v-radio\n label=\"Raw\"\n value=\"RAW\"\n data-test=\"new-packet-raw-radio\"\n />\n <v-radio\n label=\"Decom\"\n value=\"DECOM\"\n :disabled=\"disableRadioOptions\"\n data-test=\"new-packet-decom-radio\"\n />\n </v-radio-group>\n </v-col>\n <v-col>\n <v-select\n v-if=\"newPacketMode === 'DECOM'\"\n v-model=\"newPacketValueType\"\n hide-details\n label=\"Value Type\"\n data-test=\"add-packet-value-type\"\n :items=\"valueTypes\"\n />\n </v-col>\n </v-row>\n </v-card-text>\n <v-card-actions>\n <v-spacer />\n <v-btn\n outlined\n class=\"mx-2\"\n data-test=\"cancel-packet-button\"\n @click=\"cancelAddComponent\"\n >\n Cancel\n </v-btn>\n <v-btn\n color=\"primary\"\n class=\"mx-2\"\n data-test=\"add-packet-button\"\n :disabled=\"!newPacket\"\n @click=\"addComponent\"\n >\n Add\n </v-btn>\n </v-card-actions>\n </v-card>\n </v-dialog>\n </div>\n</template>\n\n<script>\nimport TargetPacketItemChooser from '@cosmosc2/tool-common/src/components/TargetPacketItemChooser'\n\nexport default {\n components: {\n TargetPacketItemChooser,\n },\n props: {\n value: Boolean, // value is the default prop when using v-model\n },\n data() {\n return {\n newPacket: null,\n newPacketCmdOrTlm: 'tlm',\n newPacketMode: 'RAW',\n valueTypes: ['CONVERTED', 'RAW', 'FORMATTED', 'WITH_UNITS'],\n newPacketValueType: 'WITH_UNITS',\n }\n },\n computed: {\n disableRadioOptions: function () {\n if (this.newPacket) {\n return this.newPacket.packet === 'UNKNOWN'\n }\n return false\n },\n show: {\n get() {\n return this.value\n },\n set(value) {\n this.$emit('input', value) // input is the default event when using v-model\n },\n },\n },\n watch: {\n newPacketCmdOrTlm: {\n immediate: true,\n handler: function () {\n this.newPacket = null\n },\n },\n },\n methods: {\n packetSelected: function (event) {\n this.newPacket = {\n target: event.targetName,\n packet: event.packetName,\n cmdOrTlm: this.newPacketCmdOrTlm,\n }\n if (event.packetName == 'UNKNOWN') {\n this.newPacketMode = 'RAW'\n }\n },\n addComponent: function (event) {\n this.$emit('add', {\n ...this.newPacket,\n component: 'DumpComponent',\n config: {},\n mode: this.newPacketMode,\n valueType: this.newPacketValueType,\n })\n },\n cancelAddComponent: function () {\n this.$emit('cancel', {})\n },\n },\n}\n</script>\n","import mod from \"-!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./AddComponentDialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./AddComponentDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./AddComponentDialog.vue?vue&type=template&id=ded1c7a6&\"\nimport script from \"./AddComponentDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./AddComponentDialog.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","<!--\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n#\n# This program may also be used under the terms of a commercial or\n# enterprise edition license of COSMOS if purchased from the\n# copyright holder\n-->\n\n<template>\n <div>\n <top-bar :menus=\"menus\" :title=\"title\" />\n <v-row dense>\n <v-col>\n <v-text-field\n v-model=\"startDate\"\n label=\"Start Date\"\n type=\"date\"\n :rules=\"[rules.required]\"\n data-test=\"start-date\"\n />\n </v-col>\n <v-col>\n <v-text-field\n v-model=\"startTime\"\n label=\"Start Time\"\n type=\"time\"\n step=\"1\"\n :rules=\"[rules.required]\"\n data-test=\"start-time\"\n />\n </v-col>\n <v-col>\n <v-text-field\n v-model=\"endDate\"\n label=\"End Date\"\n type=\"date\"\n :rules=\"endTime ? [rules.required] : []\"\n data-test=\"end-date\"\n />\n </v-col>\n <v-col>\n <v-text-field\n v-model=\"endTime\"\n label=\"End Time\"\n type=\"time\"\n step=\"1\"\n :rules=\"endDate ? [rules.required] : []\"\n data-test=\"end-time\"\n />\n </v-col>\n <v-col cols=\"auto\" class=\"pt-4\">\n <v-btn\n v-if=\"running\"\n color=\"red\"\n width=\"100\"\n data-test=\"stop-button\"\n @click=\"stop\"\n >\n Stop\n </v-btn>\n <v-btn\n v-else\n :disabled=\"!canStart\"\n color=\"green\"\n width=\"100\"\n data-test=\"start-button\"\n @click=\"start\"\n >\n Start\n </v-btn>\n </v-col>\n </v-row>\n <div class=\"mb-3\" v-show=\"warning || error || connectionFailure\">\n <v-alert type=\"warning\" v-model=\"warning\" dismissible>\n {{ warningText }}\n </v-alert>\n <v-alert type=\"error\" v-model=\"error\" dismissible>\n {{ errorText }}\n </v-alert>\n <v-alert type=\"error\" v-model=\"connectionFailure\">\n COSMOS backend connection failed.\n </v-alert>\n </div>\n <v-card>\n <v-tabs ref=\"tabs\" v-model=\"curTab\">\n <v-tab\n v-for=\"(tab, index) in config.tabs\"\n :key=\"index\"\n @contextmenu=\"(event) => tabMenu(event, index)\"\n data-test=\"tab\"\n >\n {{ tab.name }}\n </v-tab>\n <v-btn class=\"mt-2 ml-2\" @click=\"addTab\" icon data-test=\"new-tab\">\n <v-icon>mdi-tab-plus</v-icon>\n </v-btn>\n </v-tabs>\n <v-tabs-items v-model=\"curTab\">\n <v-tab-item v-for=\"(tab, index) in config.tabs\" :key=\"index\" eager>\n <v-card\n v-for=\"(packet, packetIndex) in tab.packets\"\n :key=\"`${index}-${packetIndex}`\"\n flat\n >\n <v-divider />\n <v-card-title class=\"pa-3\">\n <span v-text=\"packetTitle(packet)\" />\n <v-spacer />\n <v-btn\n @click=\"() => deleteComponent(index, packetIndex)\"\n icon\n data-test=\"delete-packet\"\n >\n <v-icon color=\"red\">mdi-delete</v-icon>\n </v-btn>\n </v-card-title>\n <dump-component\n v-if=\"packet.component === 'DumpComponent'\"\n v-show=\"receivedPackets[topicKey(packet)]\"\n :ref=\"`${topicKey(packet)}-display`\"\n :config=\"packet.config\"\n @config-change=\"(newConfig) => (packet.config = newConfig)\"\n />\n <v-card-text v-else>\n <v-alert type=\"error\">\n Component missing:\n <span class=\"text-component-missing-name\">\n {{ packet.component }}\n </span>\n </v-alert>\n </v-card-text>\n <v-card-text v-if=\"!receivedPackets[topicKey(packet)]\">\n No data! Make sure to hit the START button!\n </v-card-text>\n </v-card>\n <v-card v-if=\"!tab.packets.length\">\n <v-card-title> This tab is empty </v-card-title>\n <v-card-text>\n Click the button below to add packets. Right click on the tab name\n above to rename or delete this tab.\n </v-card-text>\n </v-card>\n <v-btn\n block\n @click=\"() => openComponentDialog(index)\"\n data-test=\"new-packet\"\n >\n <v-icon class=\"mr-2\">$astro-add-large</v-icon>\n Click here to add a packet\n </v-btn>\n </v-tab-item>\n </v-tabs-items>\n <v-card v-if=\"!config.tabs.length\">\n <v-card-title>You're not viewing any packets</v-card-title>\n <v-card-text>Click the new tab icon to start.</v-card-text>\n </v-card>\n </v-card>\n <!-- Dialogs for opening and saving configs -->\n <open-config-dialog\n v-if=\"openConfig\"\n v-model=\"openConfig\"\n :tool=\"toolName\"\n @success=\"openConfiguration($event)\"\n />\n <save-config-dialog\n v-if=\"saveConfig\"\n v-model=\"saveConfig\"\n :tool=\"toolName\"\n @success=\"saveConfiguration($event)\"\n />\n <!-- Dialog for renaming a new tab -->\n <v-dialog v-model=\"tabNameDialog\" width=\"600\">\n <v-card>\n <v-system-bar>\n <v-spacer />\n <span> DataViewer: Rename Tab</span>\n <v-spacer />\n </v-system-bar>\n <v-card-text>\n <v-text-field\n v-model=\"newTabName\"\n label=\"Tab name\"\n data-test=\"rename-tab-input\"\n />\n </v-card-text>\n <v-card-actions>\n <v-spacer />\n <v-btn\n outlined\n class=\"mx-2\"\n data-test=\"cancel-rename\"\n @click=\"cancelTabRename\"\n >\n Cancel\n </v-btn>\n <v-btn\n color=\"primary\"\n class=\"mx-2\"\n data-test=\"rename\"\n :disabled=\"!newTabName\"\n @click=\"renameTab\"\n >\n Rename\n </v-btn>\n </v-card-actions>\n </v-card>\n </v-dialog>\n <!-- Menu for right clicking on a tab -->\n <v-menu\n v-model=\"showTabMenu\"\n :position-x=\"tabMenuX\"\n :position-y=\"tabMenuY\"\n absolute\n offset-y\n >\n <v-list>\n <v-list-item data-test=\"context-menu-rename\">\n <v-list-item-title style=\"cursor: pointer\" @click=\"openTabNameDialog\">\n Rename\n </v-list-item-title>\n </v-list-item>\n <v-list-item data-test=\"context-menu-delete\">\n <v-list-item-title style=\"cursor: pointer\" @click=\"deleteTab\">\n Delete\n </v-list-item-title>\n </v-list-item>\n </v-list>\n </v-menu>\n <!-- Dialog for adding a new component to a tab -->\n <add-component-dialog\n v-model=\"showAddComponentDialog\"\n @add=\"addComponent\"\n @cancel=\"cancelAddComponent\"\n />\n </div>\n</template>\n\n<script>\nimport { format, isValid, parse } from 'date-fns'\nimport { CosmosApi } from '@cosmosc2/tool-common/src/services/cosmos-api'\nimport OpenConfigDialog from '@cosmosc2/tool-common/src/components/OpenConfigDialog'\nimport SaveConfigDialog from '@cosmosc2/tool-common/src/components/SaveConfigDialog'\nimport TargetPacketItemChooser from '@cosmosc2/tool-common/src/components/TargetPacketItemChooser'\nimport Cable from '@cosmosc2/tool-common/src/services/cable.js'\nimport TopBar from '@cosmosc2/tool-common/src/components/TopBar'\n\nimport DumpComponent from '@/tools/DataViewer/DumpComponent'\nimport AddComponentDialog from '@/tools/DataViewer/AddComponentDialog'\n\nexport default {\n components: {\n AddComponentDialog,\n OpenConfigDialog,\n SaveConfigDialog,\n DumpComponent,\n TopBar,\n },\n data() {\n return {\n title: 'Data Viewer',\n toolName: 'data-viewer',\n openConfig: false,\n saveConfig: false,\n api: null,\n cable: new Cable(),\n subscription: null,\n startDate: format(new Date(), 'yyyy-MM-dd'),\n startTime: format(new Date(), 'HH:mm:ss'),\n endDate: '',\n endTime: '',\n rules: {\n required: (value) => !!value || 'Required',\n },\n canStart: false,\n running: false,\n curTab: null,\n receivedPackets: {},\n menus: [\n {\n label: 'File',\n items: [\n {\n label: 'Open Configuration',\n icon: 'mdi-folder-open',\n command: () => {\n this.openConfig = true\n },\n },\n {\n label: 'Save Configuration',\n icon: 'mdi-content-save',\n command: () => {\n this.saveConfig = true\n },\n },\n ],\n },\n ],\n warning: false,\n warningText: '',\n error: false,\n errorText: '',\n connectionFailure: false,\n config: {\n tabs: [],\n },\n tabNameDialog: false,\n newTabName: '',\n showTabMenu: false,\n tabMenuX: 0,\n tabMenuY: 0,\n activeTab: 0,\n showAddComponentDialog: false,\n }\n },\n computed: {\n startEndTime: function () {\n return {\n start_time:\n new Date(this.startDate + ' ' + this.startTime).getTime() * 1_000_000,\n end_time: this.endDate\n ? new Date(this.endDate + ' ' + this.endTime).getTime() * 1_000_000\n : null,\n }\n },\n allPackets: function () {\n return this.config.tabs.flatMap((tab) => {\n return tab.packets\n })\n },\n },\n watch: {\n 'config.tabs.length': function () {\n this.resizeTabs()\n },\n },\n created() {\n this.api = new CosmosApi()\n this.subscribe()\n },\n mounted: function () {\n const previousConfig = localStorage['lastconfig__data_viewer']\n if (previousConfig) {\n this.openConfiguration(previousConfig)\n }\n },\n destroyed: function () {\n if (this.subscription) {\n this.subscription.unsubscribe()\n }\n this.cable.disconnect()\n },\n methods: {\n packetTitle: function (packet) {\n return `${packet.target} ${packet.packet} [ ${packet.mode} ]`\n },\n resizeTabs: function () {\n if (this.$refs.tabs) this.$refs.tabs.onResize()\n },\n start: function () {\n // Check for a future start time\n if (new Date(this.startDate + ' ' + this.startTime) > Date.now()) {\n this.warningText = 'Start date/time is in the future!'\n this.warning = true\n return\n }\n // Check for an empty time period\n if (this.startEndTime.start_time === this.startEndTime.end_time) {\n this.warningText = 'Start date/time is equal to end date/time!'\n this.warning = true\n return\n }\n // Check for a future End Time\n if (new Date(this.endDate + ' ' + this.endTime) > Date.now()) {\n this.warningText =\n 'Note: End date/time is greater than current date/time. Data will continue to stream in real-time until ' +\n this.endDate +\n ' ' +\n this.endTime +\n ' is reached.'\n this.warning = true\n }\n this.running = true\n this.addPacketsToSubscription()\n },\n stop: function () {\n this.running = false\n this.removePacketsFromSubscription()\n },\n subscribe: function () {\n this.cable\n .createSubscription('StreamingChannel', localStorage.scope, {\n received: (data) => this.received(data),\n connected: () => {\n this.canStart = true\n this.connectionFailure = false\n },\n disconnected: () => {\n this.stop()\n this.canStart = false\n this.warningText = 'COSMOS backend connection disconnected.'\n this.warning = true\n this.connectionFailure = true\n },\n rejected: () => {\n this.warningText = 'COSMOS backend connection rejected.'\n this.warning = true\n },\n })\n .then((subscription) => {\n this.subscription = subscription\n if (this.running) this.addPacketsToSubscription()\n })\n },\n addPacketsToSubscription: function (packets) {\n packets = packets || this.allPackets\n // Group by mode\n const modeGroups = packets.reduce((groups, packet) => {\n if (groups[packet.mode]) {\n groups[packet.mode].push(packet)\n } else {\n groups[packet.mode] = [packet]\n }\n return groups\n }, {})\n CosmosAuth.updateToken(CosmosAuth.defaultMinValidity).then(() => {\n Object.keys(modeGroups).forEach((mode) => {\n this.subscription.perform('add', {\n scope: localStorage.scope,\n token: localStorage.cosmosToken,\n packets: modeGroups[mode].map(this.subscriptionKey),\n mode: mode,\n ...this.startEndTime,\n })\n })\n })\n },\n removePacketsFromSubscription: function (packets) {\n packets = packets || this.allPackets\n this.subscription.perform('remove', {\n scope: localStorage.scope,\n packets: packets.map(this.subscriptionKey),\n })\n },\n received: function (json_data) {\n if (json_data['error']) {\n this.errorText = json_data['error']\n this.error = true\n return\n }\n const parsed = JSON.parse(json_data)\n if (!parsed.length) {\n this.stop()\n return\n }\n const groupedPackets = parsed.reduce((groups, packet) => {\n if (groups[packet.packet]) {\n groups[packet.packet].push(packet)\n } else {\n groups[packet.packet] = [packet]\n }\n return groups\n }, {})\n Object.keys(groupedPackets).forEach((packetName) => {\n this.$refs[`${packetName}-display`].forEach((component) => {\n component.receive(groupedPackets[packetName])\n })\n this.receivedPackets[packetName] = true\n })\n this.receivedPackets = { ...this.receivedPackets }\n },\n topicKey: function (packet) {\n let key = 'DEFAULT__'\n if (packet.cmdOrTlm === 'tlm') {\n key += packet.mode === 'DECOM' ? 'DECOM' : 'TELEMETRY'\n } else {\n key += packet.mode === 'DECOM' ? 'DECOMCMD' : 'COMMAND'\n }\n key += `__${packet.target}__${packet.packet}`\n if (packet.mode === 'DECOM') key += `__${packet.valueType}`\n return key\n },\n subscriptionKey: function (packet) {\n const cmdOrTlm = packet.cmdOrTlm.toUpperCase()\n let key = `${cmdOrTlm}__${packet.target}__${packet.packet}`\n if (packet.mode === 'DECOM') key += `__${packet.valueType}`\n return key\n },\n openConfiguration: async function (name) {\n localStorage['lastconfig__data_viewer'] = name\n if (this.subscription) this.removePacketsFromSubscription()\n this.receivedPackets = {}\n let response = await this.api.load_config(this.toolName, name)\n if (response) {\n this.config = JSON.parse(response)\n }\n if (this.subscription && this.running) this.addPacketsToSubscription()\n },\n saveConfiguration: function (name) {\n localStorage['lastconfig__data_viewer'] = name\n this.api.save_config(this.toolName, name, JSON.stringify(this.config))\n },\n addTab: function () {\n this.config.tabs.push({\n // name: this.newTabName,\n name: 'New Tab',\n packets: [],\n })\n this.cancelTabRename()\n },\n cancelTabRename: function () {\n this.tabNameDialog = false\n this.newTabName = ''\n },\n tabMenu: function (event, index) {\n this.activeTab = index\n event.preventDefault()\n this.showTabMenu = false\n this.tabMenuX = event.clientX\n this.tabMenuY = event.clientY\n this.$nextTick(() => {\n this.showTabMenu = true\n })\n },\n openTabNameDialog: function () {\n this.newTabName = this.config.tabs[this.activeTab].name\n this.tabNameDialog = true\n },\n renameTab: function () {\n this.config.tabs[this.activeTab].name = this.newTabName\n this.tabNameDialog = false\n },\n deleteTab: function () {\n this.config.tabs.splice(this.activeTab, 1)\n },\n openComponentDialog: function (index) {\n this.activeTab = index\n this.showAddComponentDialog = true\n },\n packetSelected: function (event) {\n this.newPacket = {\n target: event.targetName,\n packet: event.packetName,\n cmdOrTlm: this.newPacketCmdOrTlm,\n }\n },\n addComponent: function (event) {\n this.config.tabs[this.activeTab].packets.push(event)\n if (this.running) {\n this.addPacketsToSubscription([event])\n }\n this.cancelAddComponent()\n },\n cancelAddComponent: function (event) {\n this.showAddComponentDialog = false\n },\n deleteComponent: function (tabIndex, packetIndex) {\n const packet = this.config.tabs[tabIndex].packets[packetIndex]\n this.config.tabs[tabIndex].packets.splice(packetIndex, 1)\n this.removePacketsFromSubscription([packet])\n },\n },\n}\n</script>\n\n<style scoped>\n.text-component-missing-name {\n font-family: 'Courier New', Courier, monospace;\n}\n\n.v-tabs-items {\n overflow: visible;\n}\n</style>\n","import mod from \"-!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DataViewer.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40[0].rules[0].use[1]!../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DataViewer.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./DataViewer.vue?vue&type=template&id=0a2f1734&scoped=true&\"\nimport script from \"./DataViewer.vue?vue&type=script&lang=js&\"\nexport * from \"./DataViewer.vue?vue&type=script&lang=js&\"\nimport style0 from \"./DataViewer.vue?vue&type=style&index=0&id=0a2f1734&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0a2f1734\",\n null\n \n)\n\nexport default component.exports","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".v-list[data-v-e3bb7458] .v-label{margin-left:5px}.v-list-item__icon[data-v-e3bb7458]{margin-right:15px!important}.v-list-item__title[data-v-e3bb7458]{color:#fff}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".text-component-missing-name[data-v-0a2f1734]{font-family:Courier New,Courier,monospace}.v-tabs-items[data-v-0a2f1734]{overflow:visible}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".text-area-container[data-v-fa489178]{position:relative}.text-area-container .v-textarea[data-v-fa489178]{font-family:Courier New,Courier,monospace}.text-area-container .floating-buttons[data-v-fa489178]{position:absolute;top:12px;right:24px}.pulse[data-v-fa489178]{-webkit-animation:pulse-data-v-fa489178 1s infinite;animation:pulse-data-v-fa489178 1s infinite}@-webkit-keyframes pulse-data-v-fa489178{0%{opacity:1}50%{opacity:.5}}@keyframes pulse-data-v-fa489178{0%{opacity:1}50%{opacity:.5}}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??clonedRuleSet-12[0].rules[0].use[1]!../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!../../../../node_modules/@vue/cli-service/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12[0].rules[0].use[2]!../../../../node_modules/@vue/cli-service/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12[0].rules[0].use[3]!../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./TopBar.vue?vue&type=style&index=0&id=e3bb7458&scoped=true&lang=css&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"a2f2c426\", content, true, {\"sourceMap\":false,\"shadowMode\":false});","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??clonedRuleSet-12[0].rules[0].use[1]!../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!../../../../../node_modules/@vue/cli-service/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12[0].rules[0].use[2]!../../../../../node_modules/@vue/cli-service/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12[0].rules[0].use[3]!../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DataViewer.vue?vue&type=style&index=0&id=0a2f1734&scoped=true&lang=css&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"ffb2d77e\", content, true, {\"sourceMap\":false,\"shadowMode\":false});","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[1]!../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!../../../../../node_modules/@vue/cli-service/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[2]!../../../../../node_modules/@vue/cli-service/node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[3]!../../../../../node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22[0].rules[0].use[4]!../../../../../node_modules/@vue/cli-service/node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DumpComponent.vue?vue&type=style&index=0&id=fa489178&lang=scss&scoped=true&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"5ed7b84f\", content, true, {\"sourceMap\":false,\"shadowMode\":false});"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","menus","title","rules","required","model","value","callback","$$v","startDate","expression","startTime","endTime","endDate","staticClass","on","stop","_v","canStart","start","directives","name","rawName","warning","error","connectionFailure","_s","warningText","errorText","ref","curTab","_l","config","tab","index","key","event","tabMenu","addTab","packet","packetIndex","domProps","packetTitle","deleteComponent","component","receivedPackets","topicKey","refInFor","newConfig","_e","packets","length","openComponentDialog","tabs","toolName","$event","openConfiguration","openConfig","saveConfiguration","saveConfig","tabNameDialog","newTabName","cancelTabRename","renameTab","tabMenuX","tabMenuY","showTabMenu","staticStyle","openTabNameDialog","deleteTab","addComponent","cancelAddComponent","showAddComponentDialog","staticRenderFns","vueInstance","Vue","axiosInstance","axios","baseURL","location","origin","timeout","params","interceptors","response","use","status","localStorage","cosmosToken","CosmosAuth","login","href","body","statusText","data","message","exception","class","$notify","serious","CosmosApi","method","kwparams","updateToken","defaultMinValidity","id","scope","jsonrpc","keyword_params","headers","Authorization","result","err","Error","request","val","json_class","raw","NaN","Infinity","Number","isNaN","POSITIVE_INFINITY","NEGATIVE_INFINITY","exec","interface_name","router_name","target","item","log_writer_name","limits_set","target_name","packet_name","value_type","type","len","converted","i","decode_cosmos_type","items","item_name","command_name","parameter_name","param_list","Object","prototype","hasOwnProperty","call","encode_cosmos_type","undefined","_cmd","tool","ignored","array","indexOf","_k","keyCode","cancel","apply","arguments","show","preventDefault","success","search","configs","itemSelected","slot","select","scopedSlots","_u","fn","deleteConfig","props","text","align","sortable","selectedItem","computed","get","set","mounted","list_configs","then","configId","catch","methods","confirm","okText","cancelText","configName","colSize","targetNames","targetNameChanged","selectedTargetName","packetsDisabled","packetNames","packetNameChanged","selectedPacketName","chooseItem","buttonDisabled","itemsDisabled","itemNames","itemNameChanged","selectedItemName","buttonPressed","actualButtonText","description","allowAll","default","buttonText","disabled","initialTargetName","initialPacketName","initialItemName","mode","validator","reduced","includes","propValue","unknown","vertical","internalDisabled","api","ALL","label","UNKNOWN","created","targetChooserStyle","width","float","packetChooserStyle","watch","updatePackets","updateItems","reduce","targetName","packetName","itemName","makeReducedItems","reducedOptions","allTargetPacketItems","allPacketItems","Cable","url","_cable","ActionCable","disconnect","channel","callbacks","additionalOptions","subscriptions","create","token","menu","_g","_b","formatDT","radioGroup","option","j","command","checked","icon","radio","checkbox","style","filterText","history","pause","stepBackward","stepForward","pauseOffset","displayText","receivedCount","currentConfig","$set","validateBytesPerLine","validatePacketsToShow","download","pulse","paused","togglePlayPause","lastReceived","deep","handler","$emit","receive","mixins","historyPointer","pausedAt","pausedHistory","textarea","packetSize","allInstantSettings","allDebouncedSettings","decoded","format","showLineAddress","showTimestamp","bytesPerLine","packetsToShow","newestAtTop","defaultConfig","trimDisplayText","updateScrollPosition","rebuildDisplayText","filter","slice","breakpoint","concat","map","matchesSearch","calculatePacketText","timestamp","mappedBytes","toString","padStart","line","join","link","window","newPacketCmdOrTlm","packetSelected","newPacketMode","disableRadioOptions","valueTypes","newPacketValueType","newPacket","components","TargetPacketItemChooser","immediate","cmdOrTlm","valueType","AddComponentDialog","OpenConfigDialog","SaveConfigDialog","DumpComponent","TopBar","cable","subscription","running","activeTab","startEndTime","start_time","end_time","allPackets","destroyed","resizeTabs","subscribe","createSubscription","received","connected","disconnected","rejected","addPacketsToSubscription","groups","removePacketsFromSubscription","subscriptionKey","___CSS_LOADER_EXPORT___","push","module","content","__esModule","locals","exports","add"],"sourceRoot":""}
|