openc3-cosmos-tool-dataviewer 5.4.2 → 5.5.0.pre.beta0.20230217010023

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1 @@
1
+ {"version":3,"file":"js/399.js","mappings":"m0QAeY,+CAfZ,IAAIA,EAAS,WAAiB,WAAC,IAAIC,GAAG,WAACC,MAAKC,GAAE,WAACF,EAAIG,MAAMD,IAAG,kBAAOA,EAAG,MAAM,CAACA,EAAG,UAAU,CAACE,MAAM,CAAC,MAAQJ,EAAIK,MAAM,MAAQL,EAAIM,SAASJ,EAAG,QAAQ,CAACE,MAAM,CAAC,MAAQ,KAAK,CAACF,EAAG,QAAQ,CAACA,EAAG,eAAe,CAACE,MAAM,CAAC,MAAQ,aAAa,KAAO,OAAO,MAAQ,CAACJ,EAAIO,MAAMC,UAAU,YAAY,cAAcC,MAAM,CAACC,MAAOV,EAAIW,UAAWC,SAAS,SAAUC,GAAK,sBAACb,EAAIW,UAAUE,CAAG,EAAEC,WAAW,gBAAgB,GAAGZ,EAAG,QAAQ,CAACA,EAAG,eAAe,CAACE,MAAM,CAAC,MAAQ,aAAa,KAAO,OAAO,KAAO,IAAI,MAAQ,CAACJ,EAAIO,MAAMC,UAAU,YAAY,cAAcC,MAAM,CAACC,MAAOV,EAAIe,UAAWH,SAAS,SAAUC,GAAK,sBAACb,EAAIe,UAAUF,CAAG,EAAEC,WAAW,gBAAgB,GAAGZ,EAAG,QAAQ,CAACA,EAAG,eAAe,CAACE,MAAM,CAAC,MAAQ,WAAW,KAAO,OAAO,MAAQJ,EAAIgB,SAAO,cAAG,CAAChB,EAAIO,MAAMC,YAAS,cAAG,IAAG,YAAY,YAAYC,MAAM,CAACC,MAAOV,EAAIiB,QAASL,SAAS,SAAUC,GAAK,sBAACb,EAAIiB,QAAQJ,CAAG,EAAEC,WAAW,cAAc,GAAGZ,EAAG,QAAQ,CAACA,EAAG,eAAe,CAACE,MAAM,CAAC,MAAQ,WAAW,KAAO,OAAO,KAAO,IAAI,MAAQJ,EAAIiB,S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H,EAAOI,QAAUH,EAAQE,QAE5C,IAAIE,EAAM,UACGA,EAAI,WAAYJ,GAAS,EAAM,CAAC,WAAY,EAAM,YAAa,G,uBCN5E,IAAIA,EAAU,EAAQ,MACnBA,EAAQC,aAAYD,EAAUA,EAAQvJ,SACnB,kBAAZuJ,IAAsBA,EAAU,CAAC,CAACD,EAAOnS,GAAIoS,EAAS,MAC7DA,EAAQE,SAAQH,EAAOI,QAAUH,EAAQE,QAE5C,IAAIE,EAAM,UACGA,EAAI,WAAYJ,GAAS,EAAM,CAAC,WAAY,EAAM,YAAa,G","sources":["webpack://@openc3/cosmos-tool-dataviewer/./src/tools/DataViewer/DataViewer.vue","webpack://@openc3/cosmos-tool-dataviewer/../openc3-tool-common/src/services/axios.js","webpack://@openc3/cosmos-tool-dataviewer/../openc3-tool-common/src/services/openc3-api.js","webpack://@openc3/cosmos-tool-dataviewer/../openc3-tool-common/src/components/OpenConfigDialog.vue","webpack://@openc3/cosmos-tool-dataviewer/../openc3-tool-common/src/components/OpenConfigDialog.vue?95bc","webpack://@openc3/cosmos-tool-dataviewer/../openc3-tool-common/src/components/OpenConfigDialog.vue?fccb","webpack://@openc3/cosmos-tool-dataviewer/../openc3-tool-common/src/components/SaveConfigDialog.vue","webpack://@openc3/cosmos-tool-dataviewer/../openc3-tool-common/src/components/SaveConfigDialog.vue?e7d3","webpack://@openc3/cosmos-tool-dataviewer/../openc3-tool-common/src/components/SaveConfigDialog.vue?bb97","webpack://@openc3/cosmos-tool-dataviewer/../openc3-tool-common/src/components/TargetPacketItemChooser.vue","webpack://@openc3/cosmos-tool-dataviewer/../openc3-tool-common/src/components/TargetPacketItemChooser.vue?bef7","webpack://@openc3/cosmos-tool-dataviewer/../openc3-tool-common/src/components/TargetPacketItemChooser.vue?8eb7","webpack://@openc3/cosmos-tool-dataviewer/../openc3-tool-common/src/services/cable.js","webpack://@openc3/cosmos-tool-dataviewer/../openc3-tool-common/src/components/TopBar.vue","webpack://@openc3/cosmos-tool-dataviewer/../openc3-tool-common/src/components/TopBar.vue?95da","webpack://@openc3/cosmos-tool-dataviewer/../openc3-tool-common/src/components/TopBar.vue?a437","webpack://@openc3/cosmos-tool-dataviewer/./src/tools/DataViewer/DumpComponent.vue","webpack://@openc3/cosmos-tool-dataviewer/./src/tools/DataViewer/Component.js","webpack://@openc3/cosmos-tool-dataviewer/src/tools/DataViewer/DumpComponent.vue","webpack://@openc3/cosmos-tool-dataviewer/./src/tools/DataViewer/DumpComponent.vue?651e","webpack://@openc3/cosmos-tool-dataviewer/./src/tools/DataViewer/DumpComponent.vue?dccd","webpack://@openc3/cosmos-tool-dataviewer/./src/tools/DataViewer/AddComponentDialog.vue","webpack://@openc3/cosmos-tool-dataviewer/src/tools/DataViewer/AddComponentDialog.vue","webpack://@openc3/cosmos-tool-dataviewer/./src/tools/DataViewer/AddComponentDialog.vue?9e91","webpack://@openc3/cosmos-tool-dataviewer/./src/tools/DataViewer/AddComponentDialog.vue?9dcf","webpack://@openc3/cosmos-tool-dataviewer/src/tools/DataViewer/DataViewer.vue","webpack://@openc3/cosmos-tool-dataviewer/./src/tools/DataViewer/DataViewer.vue?cff5","webpack://@openc3/cosmos-tool-dataviewer/./src/tools/DataViewer/DataViewer.vue?75b4","webpack://@openc3/cosmos-tool-dataviewer/./src/tools/DataViewer/DataViewer.vue?f2f8","webpack://@openc3/cosmos-tool-dataviewer/../openc3-tool-common/src/components/TargetPacketItemChooser.vue?c773","webpack://@openc3/cosmos-tool-dataviewer/../openc3-tool-common/src/components/TopBar.vue?386c","webpack://@openc3/cosmos-tool-dataviewer/./src/tools/DataViewer/DumpComponent.vue?cb1e","webpack://@openc3/cosmos-tool-dataviewer/./src/tools/DataViewer/DataViewer.vue?4440","webpack://@openc3/cosmos-tool-dataviewer/../openc3-tool-common/src/components/TargetPacketItemChooser.vue?eca6","webpack://@openc3/cosmos-tool-dataviewer/../openc3-tool-common/src/components/TopBar.vue?9efc","webpack://@openc3/cosmos-tool-dataviewer/./src/tools/DataViewer/DumpComponent.vue?38f7"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;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\":\"primary\",\"width\":\"100\",\"data-test\":\"stop-button\"},on:{\"click\":_vm.stop}},[_vm._v(\" Stop \")]):_c('v-btn',{attrs:{\"disabled\":!_vm.canStart,\"color\":\"primary\",\"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(\" OpenC3 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\":(event) => _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\":() => _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.packetKey(packet)]),expression:\"receivedPackets[packetKey(packet)]\"}],ref:`${_vm.packetKey(packet)}-display`,refInFor:true,attrs:{\"config\":packet.config},on:{\"config-change\":(newConfig) => (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.packetKey(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\":() => _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)\n}\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# Modified by OpenC3, Inc.\n# All changes Copyright 2022, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license \n# if purchased from OpenC3, Inc.\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: 60000,\n params: {},\n})\n\naxiosInstance.interceptors.response.use(\n (response) => response,\n (error) => {\n if (error.response) {\n if (error.response.status === 401) {\n OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity, true)\n }\n // Individual tools can set 'Ignore-Errors' to an error code\n // they potentially expect, e.g. '500', in which case we ignore it\n // For example in CommandSender.vue:\n // obs = this.api.cmd(targetName, commandName, paramList, {\n // 'Ignore-Errors': '500',\n // })\n if (\n error.response.headers['ignore-errors'] &&\n error.response.headers['ignore-errors'].includes(\n error.response.status.toString()\n )\n ) {\n return Promise.reject(error)\n }\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 if (vueInstance.$notify) {\n vueInstance.$notify.serious({\n title: 'Network error',\n body,\n })\n }\n throw error\n } else {\n throw error\n }\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# Modified by OpenC3, Inc.\n# All changes Copyright 2022, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license\n# if purchased from OpenC3, Inc.\n*/\n\nimport axios from './axios.js'\n\nexport class OpenC3Api {\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 = {}, headerOptions = {}) {\n try {\n await OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity)\n } catch (error) {\n OpenC3Auth.login()\n }\n this.id = this.id + 1\n try {\n kwparams['scope'] = window.openc3Scope\n const response = await axios.post(\n '/openc3-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.openc3Token,\n 'Content-Type': 'application/json-rpc',\n ...headerOptions,\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_openc3_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_openc3_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 ensure_offline_access() {\n this.offline_access_needed().then((needed) => {\n if (needed) {\n if (localStorage.openc3OfflineToken) {\n this.set_offline_access(localStorage.openc3OfflineToken).then(() => {\n delete localStorage.openc3OfflineToken\n })\n } else {\n OpenC3Auth.getOfflineAccess()\n }\n }\n })\n }\n\n // ***********************************************\n // The following APIs are used by the CmdTlmServer\n // ***********************************************\n\n offline_access_needed() {\n return this.exec('offline_access_needed', [])\n }\n\n set_offline_access(offline_access_token) {\n return this.exec('set_offline_access', [offline_access_token])\n }\n\n get_all_interface_info() {\n return this.exec('get_all_interface_info', [])\n }\n\n map_target_to_interface(target_name, interface_name) {\n return this.exec('map_target_to_interface', [target_name, interface_name])\n }\n\n connect_interface(interface_name, ...interface_params) {\n if (interface_params.length > 0) {\n return this.exec('connect_interface', [interface_name, interface_params])\n } else {\n return this.exec('connect_interface', [interface_name])\n }\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_target_interfaces() {\n return this.exec('get_target_interfaces', [])\n }\n\n // DEPRECATED\n get_all_target_info() {\n return this.exec('get_all_target_info', [])\n }\n\n get_tlm_cnts(target_commands) {\n return this.exec('get_tlm_cnts', [target_commands])\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_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_names(target_name) {\n return this.exec('get_all_telemetry_names', [target_name])\n }\n\n async get_tlm_packet(target_name, packet_name, value_type, stale_time = 30) {\n const data = await this.exec('get_tlm_packet', [target_name, packet_name], {\n type: value_type,\n stale_time: stale_time,\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_openc3_type(data[i][1])\n if (converted !== null) {\n data[i][1] = converted\n }\n }\n }\n return data\n }\n\n get_packet_derived_items(target_name, packet_name) {\n return this.exec('get_packet_derived_items', [target_name, packet_name])\n }\n\n get_tlm_buffer(target_name, packet_name) {\n return this.exec('get_tlm_buffer', [target_name, packet_name])\n }\n\n async get_tlm_values(items, stale_time = 30) {\n const data = await this.exec('get_tlm_values', [items], {\n stale_time: stale_time,\n })\n var len = data[0].length\n var converted = null\n for (var i = 0; i < len; i++) {\n converted = this.decode_openc3_type(data[0][i])\n if (converted !== null) {\n data[0][i] = converted\n }\n }\n return data\n }\n\n get_limits(target_name, packet_name, item_name) {\n return this.exec('get_limits', [target_name, packet_name, item_name])\n }\n\n async tlm(target_name, packet_name, item_name, value_type = 'CONVERTED') {\n let data = null\n // Check for the single string syntax: tlm(\"TGT PKT ITEM\")\n if (packet_name === undefined) {\n data = await this.exec('tlm', [target_name])\n // Check for the single string syntax with type: tlm(\"TGT PKT ITEM\", \"RAW\")\n } else if (item_name === undefined) {\n if (\n ['RAW', 'CONVERTED', 'FORMATTED', 'WITH_UNITS'].includes(packet_name)\n ) {\n data = await this.exec('tlm', [target_name], { type: packet_name })\n } else {\n var err = new Error()\n err.name = 'TypeError'\n err.message = `Invalid data type ${packet_name}. Valid options are RAW, CONVERTED, FORMATTED, and WITH_UNITS.`\n throw err\n }\n } else {\n data = await this.exec('tlm', [target_name, packet_name, item_name], {\n type: value_type,\n })\n }\n var converted = this.decode_openc3_type(data)\n if (converted !== null) {\n data = converted\n }\n return data\n }\n\n async inject_tlm(\n target_name,\n packet_name,\n item_hash = null,\n value_type = 'CONVERTED'\n ) {\n data = await this.exec(\n 'inject_tlm',\n [target_name, packet_name, item_hash],\n {\n type: value_type,\n }\n )\n }\n\n set_tlm(target_name, packet_name, item_name, value_type) {\n return this.exec('set_tlm', [target_name, packet_name, item_name], {\n type: value_type,\n })\n }\n\n override_tlm(target_name, packet_name, item_name, value_type) {\n return this.exec('override_tlm', [target_name, packet_name, item_name], {\n type: value_type,\n })\n }\n\n get_overrides() {\n return this.exec('get_overrides')\n }\n\n normalize_tlm(target_name, packet_name, item_name, value_type) {\n return this.exec('normalize_tlm', [target_name, packet_name, item_name], {\n type: value_type,\n })\n }\n\n get_all_commands(target_name) {\n return this.exec('get_all_commands', [target_name])\n }\n\n get_all_command_names(target_name) {\n return this.exec('get_all_command_names', [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_cnts(target_commands) {\n return this.exec('get_cmd_cnts', [target_commands])\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 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, headerOptions) {\n var converted = null\n for (var key in param_list) {\n if (Object.prototype.hasOwnProperty.call(param_list, key)) {\n converted = this.encode_openc3_type(param_list[key])\n if (converted !== null) {\n param_list[key] = converted\n }\n }\n }\n return this.exec(\n method,\n [target_name, command_name, param_list],\n {},\n headerOptions\n )\n }\n\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 cmd(target_name, command_name, param_list, headerOptions = {}) {\n if (command_name === undefined) {\n return this.exec('cmd', target_name, {}, headerOptions)\n } else {\n return this._cmd(\n 'cmd',\n target_name,\n command_name,\n param_list,\n headerOptions\n )\n }\n }\n\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 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 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 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 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 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 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 get_interface_names() {\n return this.exec('get_interface_names', [])\n }\n\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 enable_limits(target, packet, item) {\n return this.exec('enable_limits', [target, packet, item])\n }\n\n disable_limits(target, packet, item) {\n return this.exec('disable_limits', [target, packet, item])\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 get_metrics() {\n return this.exec('get_metrics', [])\n }\n\n // TODO: Currently unused but seemed like a useful function\n async hashString(string) {\n if (window.isSecureContext) {\n // Encode the string as an arrayBuffer which the subtle crypto API uses\n const arrayBuffer = new TextEncoder().encode(string)\n // Use the subtle crypto API to perform a SHA256 Sum of the array buffer\n // The resulting hash is stored in an array buffer\n const hashAsArrayBuffer = await crypto.subtle.digest(\n 'SHA-256',\n arrayBuffer\n )\n // To create a string we will get the hexadecimal value of each byte of the array buffer\n // This gets us an array where each byte of the array buffer becomes one item in the array\n const uint8ViewOfHash = new Uint8Array(hashAsArrayBuffer)\n // We then convert it to a regular array so we can convert each item to hexadecimal strings\n // Where to characters of 0-9 or a-f represent a number between 0 and 16, containing 4 bits of information, so 2 of them is 8 bits (1 byte).\n return Array.from(uint8ViewOfHash)\n .map((b) => b.toString(16).padStart(2, '0'))\n .join('')\n }\n // else ?\n }\n}\n","var render = function render(){var _vm=this,_c=_vm._self._c;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\":(item, slot) => slot.select(item)},scopedSlots:_vm._u([{key:\"item.actions\",fn:function({ item }){return [_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)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../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/thread-loader/dist/cjs.js!../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../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=88421d46&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/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"88421d46\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;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\":(item, slot) => slot.select(item)},scopedSlots:_vm._u([{key:\"item.actions\",fn:function({ item }){return [_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)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../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/thread-loader/dist/cjs.js!../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../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=ff90a250&\"\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/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 render(){var _vm=this,_c=_vm._self._c;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 || _vm.buttonDisabled,\"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 || _vm.buttonDisabled,\"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),(_vm.selectTypes)?_c('v-row',[_c('v-col',{attrs:{\"cols\":_vm.colSize,\"data-test\":\"data-type\"}},[_c('v-autocomplete',{attrs:{\"label\":\"Value Type\",\"hide-details\":\"\",\"dense\":\"\",\"items\":_vm.valueTypes},model:{value:(_vm.selectedValueType),callback:function ($$v) {_vm.selectedValueType=$$v},expression:\"selectedValueType\"}})],1),_c('v-col',{attrs:{\"cols\":_vm.colSize,\"data-test\":\"reduced\"}},[_c('v-autocomplete',{attrs:{\"label\":\"Reduced\",\"hide-details\":\"\",\"dense\":\"\",\"items\":_vm.reductionModes},model:{value:(_vm.selectedReduced),callback:function ($$v) {_vm.selectedReduced=$$v},expression:\"selectedReduced\"}})],1),_c('v-col',{attrs:{\"cols\":_vm.colSize,\"data-test\":\"reduced-type\"}},[_c('v-autocomplete',{attrs:{\"label\":\"Reduced Type\",\"hide-details\":\"\",\"dense\":\"\",\"disabled\":_vm.selectedReduced === 'DECOM',\"items\":_vm.reducedTypes},model:{value:(_vm.selectedReducedType),callback:function ($$v) {_vm.selectedReducedType=$$v},expression:\"selectedReducedType\"}})],1),_c('v-col',{attrs:{\"cols\":_vm.colSize}})],1):_vm._e(),_c('v-row',{staticClass:\"pt-1\",attrs:{\"no-gutters\":\"\"}},[(_vm.hazardous)?_c('v-col',{staticClass:\"openc3-yellow\",staticStyle:{\"white-space\":\"pre\"},attrs:{\"cols\":_vm.colSize}},[_vm._v(\"Description: \"+_vm._s(_vm.description)+\" (HAZARDOUS)\")]):_c('v-col',{staticStyle:{\"white-space\":\"pre\"},attrs:{\"cols\":_vm.colSize}},[_vm._v(\"Description: \"+_vm._s(_vm.description)+\" \")])],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../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/thread-loader/dist/cjs.js!../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../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=f356cb34&\"\nimport script from \"./TargetPacketItemChooser.vue?vue&type=script&lang=js&\"\nexport * from \"./TargetPacketItemChooser.vue?vue&type=script&lang=js&\"\nimport style0 from \"./TargetPacketItemChooser.vue?vue&type=style&index=0&id=f356cb34&prod&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../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# Modified by OpenC3, Inc.\n# All changes Copyright 2022, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license\n# if purchased from OpenC3, Inc.\n*/\n\nimport * as ActionCable from '@rails/actioncable'\n//ActionCable.logger.enabled = true\nActionCable.ConnectionMonitor.staleThreshold = 10\n\nexport default class Cable {\n constructor(url = '/openc3-api/cable') {\n this._cable = null\n this._url = url\n }\n disconnect() {\n this._cable.disconnect()\n }\n createSubscription(channel, scope, callbacks = {}, additionalOptions = {}) {\n return OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity).then(() => {\n if (this._cable == null) {\n let final_url =\n this._url +\n '?scope=' +\n window.openc3Scope +\n '&authorization=' +\n localStorage.openc3Token\n this._cable = ActionCable.createConsumer(final_url)\n }\n return this._cable.subscriptions.create(\n {\n channel,\n ...additionalOptions,\n },\n callbacks\n )\n })\n }\n recordPing() {\n this._cable.connection.monitor.recordPing()\n }\n}\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('mounting-portal',{attrs:{\"mount-to\":\"#openc3-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({ on, attrs }){return [_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'):_c('v-list-item',{key:j,attrs:{\"disabled\":option.disabled,\"data-test\":_vm.formatDT(`${_vm.title} ${menu.label} ${option.label}`)},on:{\"click\":function($event){return option.command(option)}}},[(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},model:{value:(option.checked),callback:function ($$v) {_vm.$set(option, \"checked\", $$v)},expression:\"option.checked\"}})],1):_vm._e(),(option.icon)?_c('v-list-item-icon',[_c('v-icon',{attrs:{\"disabled\":option.disabled}},[_vm._v(_vm._s(option.icon))])],1):_vm._e(),(!option.radio && !option.checkbox)?_c('v-list-item-title',{style:('cursor: pointer;' + (option.disabled ? 'opacity: 0.2' : ''))},[_vm._v(_vm._s(option.label))]):_vm._e()],1)]})],2)],1)],1)}),_c('v-spacer'),_c('v-toolbar-title',[_vm._v(_vm._s(_vm.title))]),_c('v-spacer')],2)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../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/thread-loader/dist/cjs.js!../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../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=2eb37f67&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=2eb37f67&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2eb37f67\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;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,\"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({ on, attrs }){return [_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)\n}\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# Modified by OpenC3, Inc.\n# All changes Copyright 2022, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license \n# if purchased from OpenC3, Inc.\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# Modified by OpenC3, Inc.\n# All changes Copyright 2022, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license\n# if purchased from OpenC3, Inc.\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 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 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 }\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 let timestamp = '********************************************\\n'\n timestamp += `* Received seconds: ${receivedSeconds}\\n`\n timestamp += `* Received time: ${receivedDate}\\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\n .replaceAll(/\\n/, '\\\\n')\n .replaceAll(/\\r/, '\\\\r')\n .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.slice(0, 2) != '__')\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/thread-loader/dist/cjs.js!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../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/thread-loader/dist/cjs.js!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../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=178f1219&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=178f1219&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"178f1219\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;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)\n}\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# Modified by OpenC3, Inc.\n# All changes Copyright 2022, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license \n# if purchased from OpenC3, Inc.\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 '@openc3/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/thread-loader/dist/cjs.js!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../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/thread-loader/dist/cjs.js!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../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=6004309e&\"\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/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# Modified by OpenC3, Inc.\n# All changes Copyright 2022, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license\n# if purchased from OpenC3, Inc.\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=\"primary\"\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=\"primary\"\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 OpenC3 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[packetKey(packet)]\"\n :ref=\"`${packetKey(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[packetKey(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 { OpenC3Api } from '@openc3/tool-common/src/services/openc3-api'\nimport OpenConfigDialog from '@openc3/tool-common/src/components/OpenConfigDialog'\nimport SaveConfigDialog from '@openc3/tool-common/src/components/SaveConfigDialog'\nimport TargetPacketItemChooser from '@openc3/tool-common/src/components/TargetPacketItemChooser'\nimport Cable from '@openc3/tool-common/src/services/cable.js'\nimport TopBar from '@openc3/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: 'COSMOS 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 OpenC3Api()\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', window.openc3Scope, {\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 = 'OpenC3 backend connection disconnected.'\n this.warning = true\n this.connectionFailure = true\n },\n rejected: () => {\n this.warningText = 'OpenC3 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 OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity).then(() => {\n Object.keys(modeGroups).forEach((mode) => {\n this.subscription.perform('add', {\n scope: window.openc3Scope,\n token: localStorage.openc3Token,\n packets: modeGroups[mode].map(this.subscriptionKey),\n ...this.startEndTime,\n })\n })\n })\n },\n removePacketsFromSubscription: function (packets) {\n packets = packets || this.allPackets\n this.subscription.perform('remove', {\n scope: window.openc3Scope,\n token: localStorage.openc3Token,\n packets: packets.map(this.subscriptionKey),\n })\n },\n received: function (parsed) {\n this.cable.recordPing()\n if (parsed['error']) {\n this.errorText = parsed['error']\n this.error = true\n return\n }\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 // eslint-disable-next-line\n console.log(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 packetKey: function (packet) {\n let key = packet.mode + '__'\n if (packet.cmdOrTlm === 'tlm') {\n key += 'TLM'\n } else {\n key += 'CMD'\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 = `${packet.mode}__${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/thread-loader/dist/cjs.js!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../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/thread-loader/dist/cjs.js!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../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=3a2f4074&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=3a2f4074&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3a2f4074\",\n null\n \n)\n\nexport default component.exports","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../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-3a2f4074]{font-family:Courier New,Courier,monospace}.v-tabs-items[data-v-3a2f4074]{overflow:visible}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../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, \".row+.row{margin-top:0}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../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-2eb37f67] .v-label{margin-left:5px}.v-list-item__icon[data-v-2eb37f67]{margin-right:15px!important}.v-list-item__title[data-v-2eb37f67]{color:#fff}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../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-178f1219]{position:relative}.text-area-container .v-textarea[data-v-178f1219]{font-family:Courier New,Courier,monospace}.text-area-container .floating-buttons[data-v-178f1219]{position:absolute;top:12px;right:24px}.pulse[data-v-178f1219]{-webkit-animation:pulse-178f1219 1s infinite;animation:pulse-178f1219 1s infinite}@-webkit-keyframes pulse-178f1219{0%{opacity:1}50%{opacity:.5}}@keyframes pulse-178f1219{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/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!../../../../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[3]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DataViewer.vue?vue&type=style&index=0&id=3a2f4074&prod&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(\"3996daa9\", 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/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!../../../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[3]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./TargetPacketItemChooser.vue?vue&type=style&index=0&id=f356cb34&prod&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(\"56a0acd8\", 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/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!../../../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[3]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./TopBar.vue?vue&type=style&index=0&id=2eb37f67&prod&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(\"706a3f6d\", 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/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!../../../../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!../../../../../node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DumpComponent.vue?vue&type=style&index=0&id=178f1219&prod&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(\"2b72fdb8\", content, true, {\"sourceMap\":false,\"shadowMode\":false});"],"names":["render","_vm","this","_c","_self","attrs","menus","title","rules","required","model","value","startDate","callback","$$v","expression","startTime","endTime","endDate","staticClass","running","on","stop","_v","canStart","start","directives","name","rawName","warning","error","connectionFailure","_s","warningText","errorText","ref","curTab","_l","config","tabs","tab","index","key","event","tabMenu","addTab","packets","packet","packetIndex","domProps","packetTitle","deleteComponent","component","receivedPackets","packetKey","refInFor","newConfig","_e","length","openComponentDialog","openConfig","toolName","$event","openConfiguration","saveConfig","saveConfiguration","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","OpenC3Auth","updateToken","defaultMinValidity","headers","includes","toString","Promise","reject","body","statusText","data","message","exception","class","$notify","serious","OpenC3Api","method","kwparams","headerOptions","login","id","window","openc3Scope","jsonrpc","keyword_params","Authorization","localStorage","openc3Token","result","err","Error","request","val","json_class","raw","NaN","Infinity","Number","isNaN","POSITIVE_INFINITY","NEGATIVE_INFINITY","offline_access_needed","then","needed","openc3OfflineToken","set_offline_access","getOfflineAccess","exec","offline_access_token","target_name","interface_name","interface_params","router_name","target_commands","target","item","log_writer_name","limits_set","packet_name","value_type","stale_time","type","len","converted","i","decode_openc3_type","items","item_name","undefined","item_hash","command_name","parameter_name","param_list","Object","prototype","hasOwnProperty","call","encode_openc3_type","_cmd","tool","ignored","array","string","isSecureContext","arrayBuffer","TextEncoder","encode","crypto","subtle","digest","hashAsArrayBuffer","uint8ViewOfHash","Uint8Array","Array","from","map","b","padStart","join","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","configId","catch","methods","confirm","okText","cancelText","configName","colSize","targetNames","targetNameChanged","selectedTargetName","packetsDisabled","buttonDisabled","packetNames","packetNameChanged","selectedPacketName","chooseItem","itemsDisabled","itemNames","itemNameChanged","selectedItemName","buttonText","buttonPressed","actualButtonText","selectTypes","valueTypes","selectedValueType","reductionModes","selectedReduced","reducedTypes","selectedReducedType","hazardous","description","allowAll","default","allowAllTargets","disabled","initialTargetName","initialPacketName","initialItemName","mode","validator","unknown","vertical","internalDisabled","api","ALL","label","UNKNOWN","created","targetChooserStyle","width","float","packetChooserStyle","watch","updatePackets","updateItems","reduce","targetName","packetName","itemName","valueType","reduced","reducedType","allTargetPacketItems","allPacketItems","ActionCable","Cable","url","_cable","_url","disconnect","channel","scope","callbacks","additionalOptions","final_url","subscriptions","create","connection","monitor","recordPing","menu","_g","_b","formatDT","radioGroup","option","j","divider","command","radio","checkbox","checked","$set","icon","style","document","filterText","history","pause","stepBackward","stepForward","pauseOffset","displayText","currentConfig","format","newestAtTop","showLineAddress","showTimestamp","validateBytesPerLine","bytesPerLine","validatePacketsToShow","packetsToShow","download","pulse","paused","togglePlayPause","lastReceived","deep","handler","$emit","receive","mixins","historyPointer","pausedAt","pausedHistory","textarea","packetSize","allInstantSettings","allDebouncedSettings","decoded","defaultConfig","trimDisplayText","updateScrollPosition","rebuildDisplayText","filter","slice","concat","matchesSearch","calculatePacketText","timestamp","mappedBytes","replaceAll","line","link","newPacketCmdOrTlm","packetSelected","newPacketMode","disableRadioOptions","newPacketValueType","newPacket","components","TargetPacketItemChooser","immediate","cmdOrTlm","AddComponentDialog","OpenConfigDialog","SaveConfigDialog","DumpComponent","TopBar","cable","subscription","activeTab","startEndTime","start_time","end_time","allPackets","destroyed","resizeTabs","subscribe","createSubscription","received","connected","disconnected","rejected","addPacketsToSubscription","groups","token","removePacketsFromSubscription","console","subscriptionKey","___CSS_LOADER_EXPORT___","push","module","content","__esModule","locals","exports","add"],"sourceRoot":""}