openc3-tool-dataextractor 5.0.8 → 5.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/tools/dataextractor/js/527.js +2 -0
- data/tools/dataextractor/js/527.js.map +1 -0
- data/tools/dataextractor/js/556.js +4 -0
- data/tools/dataextractor/js/556.js.map +1 -0
- data/tools/dataextractor/js/app.js +1 -1
- data/tools/dataextractor/js/app.js.map +1 -1
- metadata +6 -6
- data/tools/dataextractor/js/22.js +0 -4
- data/tools/dataextractor/js/22.js.map +0 -1
- data/tools/dataextractor/js/580.js +0 -2
- data/tools/dataextractor/js/580.js.map +0 -1
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"js/580.js","mappings":"o3RAAA,IAAIA,EAAS,WAAiB,WAAC,IAAIC,GAAG,WAACC,MAAKC,GAAE,WAACF,EAAIG,MAAMD,IAAG,OAA9B,WAAqCA,EAAG,MAAM,CAACA,EAAG,UAAU,CAACE,MAAM,CAAC,MAAQJ,EAAIK,MAAM,MAAQL,EAAIM,SAASJ,EAAG,cAAc,CAACA,EAAG,QAAQ,CAACA,EAAG,QAAQ,CAACF,EAAIO,GAAG,8BAA8BL,EAAG,QAAQ,CAACF,EAAIO,GAAG,IAAIP,EAAIQ,GAAGR,EAAIS,GAAG,WAAPT,CAAmBA,EAAIU,cAAcV,EAAIW,aAAa,QAAQ,GAAGT,EAAG,QAAQ,CAACA,EAAG,QAAQ,CAACA,EAAG,eAAe,CAACE,MAAM,CAAC,MAAQ,aAAa,KAAO,OAAO,IAAMJ,EAAIY,iBAAiB,IAAMZ,EAAIa,WAAW,MAAQ,CAACb,EAAIc,MAAMC,UAAU,YAAY,cAAcC,MAAM,CAACC,MAAOjB,EAAIkB,UAAWC,SAAS,SAAUC,GAAK,sBAACpB,EAAIkB,UAAUE,CAAI,EAACC,WAAW,eAAenB,EAAG,eAAe,CAACE,MAAM,CAAC,MAAQ,WAAW,KAAO,OAAO,IAAMJ,EAAIY,iBAAiB,IAAMZ,EAAIa,WAAW,M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EAAQE,SAAQH,EAAOI,QAAUH,EAAQE,QAE5C,IAAIE,EAAM,UACGA,EAAI,WAAYJ,GAAS,EAAM,CAAC,WAAY,EAAM,YAAa,G","sources":["webpack://@openc3/tool-dataextractor/./src/tools/DataExtractor/DataExtractor.vue","webpack://@openc3/tool-dataextractor/../openc3-tool-common/src/services/axios.js","webpack://@openc3/tool-dataextractor/../openc3-tool-common/src/services/openc3-api.js","webpack://@openc3/tool-dataextractor/../openc3-tool-common/src/components/OpenConfigDialog.vue","webpack://@openc3/tool-dataextractor/../openc3-tool-common/src/components/OpenConfigDialog.vue?3334","webpack://@openc3/tool-dataextractor/../openc3-tool-common/src/components/OpenConfigDialog.vue?fccb","webpack://@openc3/tool-dataextractor/../openc3-tool-common/src/components/SaveConfigDialog.vue","webpack://@openc3/tool-dataextractor/../openc3-tool-common/src/components/SaveConfigDialog.vue?da0b","webpack://@openc3/tool-dataextractor/../openc3-tool-common/src/components/SaveConfigDialog.vue?bb97","webpack://@openc3/tool-dataextractor/../openc3-tool-common/src/components/TargetPacketItemChooser.vue","webpack://@openc3/tool-dataextractor/../openc3-tool-common/src/components/TargetPacketItemChooser.vue?635c","webpack://@openc3/tool-dataextractor/../openc3-tool-common/src/components/TargetPacketItemChooser.vue?8eb7","webpack://@openc3/tool-dataextractor/../openc3-tool-common/src/services/cable.js","webpack://@openc3/tool-dataextractor/../openc3-tool-common/src/components/TopBar.vue","webpack://@openc3/tool-dataextractor/../openc3-tool-common/src/components/TopBar.vue?d3cb","webpack://@openc3/tool-dataextractor/../openc3-tool-common/src/components/TopBar.vue?a437","webpack://@openc3/tool-dataextractor/./src/tools/DataExtractor/Filters/timeFilters.js","webpack://@openc3/tool-dataextractor/src/tools/DataExtractor/DataExtractor.vue","webpack://@openc3/tool-dataextractor/./src/tools/DataExtractor/DataExtractor.vue?bcb1","webpack://@openc3/tool-dataextractor/./src/tools/DataExtractor/DataExtractor.vue?d2b5","webpack://@openc3/tool-dataextractor/../openc3-tool-common/src/components/TopBar.vue?fff0","webpack://@openc3/tool-dataextractor/./src/tools/DataExtractor/DataExtractor.vue?2543","webpack://@openc3/tool-dataextractor/../openc3-tool-common/src/components/TopBar.vue?943a","webpack://@openc3/tool-dataextractor/./src/tools/DataExtractor/DataExtractor.vue?8d31"],"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-container',[_c('v-row',[_c('v-col',[_vm._v(\" Oldest found log data: \")]),_c('v-col',[_vm._v(\" \"+_vm._s(_vm._f(\"dateTime\")(_vm.oldestLogDate,_vm.utcOrLocal))+\" \")])],1),_c('v-row',[_c('v-col',[_c('v-text-field',{attrs:{\"label\":\"Start Date\",\"type\":\"date\",\"min\":_vm.oldestLogDateStr,\"max\":_vm.todaysDate,\"rules\":[_vm.rules.required],\"data-test\":\"start-date\"},model:{value:(_vm.startDate),callback:function ($$v) {_vm.startDate=$$v},expression:\"startDate\"}}),_c('v-text-field',{attrs:{\"label\":\"End Date\",\"type\":\"date\",\"min\":_vm.oldestLogDateStr,\"max\":_vm.todaysDate,\"rules\":[_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\":\"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\"}}),_c('v-text-field',{attrs:{\"label\":\"End Time\",\"type\":\"time\",\"step\":\"1\",\"rules\":[_vm.rules.required],\"data-test\":\"end-time\"},model:{value:(_vm.endTime),callback:function ($$v) {_vm.endTime=$$v},expression:\"endTime\"}})],1)],1),_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',[_c('v-radio-group',{staticClass:\"mt-0\",attrs:{\"row\":\"\",\"hide-details\":\"\"},model:{value:(_vm.cmdOrTlm),callback:function ($$v) {_vm.cmdOrTlm=$$v},expression:\"cmdOrTlm\"}},[_c('v-radio',{attrs:{\"label\":\"Command\",\"value\":\"cmd\",\"data-test\":\"cmd-radio\"}}),_c('v-radio',{attrs:{\"label\":\"Telemetry\",\"value\":\"tlm\",\"data-test\":\"tlm-radio\"}})],1)],1),_c('v-col',[_c('v-radio-group',{staticClass:\"mt-0\",attrs:{\"row\":\"\",\"hide-details\":\"\"},model:{value:(_vm.utcOrLocal),callback:function ($$v) {_vm.utcOrLocal=$$v},expression:\"utcOrLocal\"}},[_c('v-radio',{attrs:{\"label\":\"LST\",\"value\":\"loc\",\"data-test\":\"lst-radio\"}}),_c('v-radio',{attrs:{\"label\":\"UTC\",\"value\":\"utc\",\"data-test\":\"utc-radio\"}})],1)],1)],1),_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',[_c('v-radio-group',{attrs:{\"row\":\"\",\"hide-details\":\"\"},model:{value:(_vm.reduced),callback:function ($$v) {_vm.reduced=$$v},expression:\"reduced\"}},[_c('span',{staticClass:\"mr-5\"},[_vm._v(\"Data Reduction:\")]),_c('v-radio',{attrs:{\"label\":\"None\",\"value\":\"DECOM\",\"data-test\":\"not-reduced\"}}),_c('v-radio',{attrs:{\"label\":\"Minute\",\"value\":\"REDUCED_MINUTE\",\"data-test\":\"min-reduced\"}}),_c('v-radio',{attrs:{\"label\":\"Hour\",\"value\":\"REDUCED_HOUR\",\"data-test\":\"hour-reduced\"}}),_c('v-radio',{attrs:{\"label\":\"Day\",\"value\":\"REDUCED_DAY\",\"data-test\":\"day-reduced\"}})],1)],1)],1),_c('v-row',[_c('v-col',[_c('target-packet-item-chooser',{attrs:{\"button-text\":\"Add Item\",\"mode\":_vm.cmdOrTlm,\"reduced\":_vm.reduced,\"choose-item\":\"\",\"allow-all\":\"\"},on:{\"click\":function($event){return _vm.addItem($event)}}})],1)],1),_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-toolbar',[_c('v-progress-circular',{attrs:{\"value\":_vm.progress}}),_vm._v(\" Received: \"+_vm._s(_vm.totalBytesReceived)+\" bytes \"),_c('v-spacer'),_c('v-toolbar-title',[_vm._v(\" Items \")]),_c('v-spacer'),_c('v-btn',{staticClass:\"primary mr-4\",attrs:{\"disabled\":_vm.items.length < 1},on:{\"click\":_vm.processItems}},[_vm._v(_vm._s(_vm.processButtonText))]),_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-btn',_vm._g(_vm._b({attrs:{\"icon\":\"\",\"disabled\":_vm.items.length < 1,\"data-test\":\"editAll\"},on:{\"click\":function($event){_vm.editAll = true}}},'v-btn',attrs,false),on),[_c('v-icon',[_vm._v(\" mdi-pencil \")])],1)]}}])},[_c('span',[_vm._v(\"Edit All Items\")])]),_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-btn',_vm._g(_vm._b({attrs:{\"icon\":\"\",\"disabled\":_vm.items.length < 1,\"data-test\":\"delete-all\"},on:{\"click\":_vm.deleteAll}},'v-btn',attrs,false),on),[_c('v-icon',[_vm._v(\"mdi-delete\")])],1)]}}])},[_c('span',[_vm._v(\"Delete All Items\")])])],1)],1),_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-list',{attrs:{\"data-test\":\"item-list\",\"width\":\"100%\"}},_vm._l((_vm.items),function(item,i){return _c('div',{key:i},[_c('v-list-item',[_c('v-list-item-icon',[_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-icon',_vm._g(_vm._b({on:{\"click\":function($event){$event.stopPropagation();item.edit = true}}},'v-icon',attrs,false),on),[_vm._v(\" mdi-pencil \")])]}}],null,true)},[_c('span',[_vm._v(\"Edit Item\")])]),_c('v-dialog',{attrs:{\"max-width\":\"600\"},on:{\"keydown\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"esc\",27,$event.key,[\"Esc\",\"Escape\"]))return null;item.edit = false}},model:{value:(item.edit),callback:function ($$v) {_vm.$set(item, \"edit\", $$v)},expression:\"item.edit\"}},[_c('v-card',[_c('v-system-bar',[_c('v-spacer'),_c('span',[_vm._v(\" DataExtractor: Edit Item Mode \")]),_c('v-spacer')],1),_c('v-card-title',[_vm._v(_vm._s(_vm.getItemLabel(item)))]),_c('v-card-text',[_c('v-col',[_c('v-select',{attrs:{\"hide-details\":\"\",\"items\":_vm.valueTypes,\"label\":\"Value Type\",\"outlined\":\"\"},model:{value:(item.valueType),callback:function ($$v) {_vm.$set(item, \"valueType\", $$v)},expression:\"item.valueType\"}})],1)],1),_c('v-card-actions',[_c('v-spacer'),_c('v-btn',{attrs:{\"color\":\"primary\"},on:{\"click\":function($event){item.edit = false}}},[_vm._v(\" Close \")])],1)],1)],1)],1),_c('v-list-item-content',[_c('v-list-item-title',[_vm._v(_vm._s(_vm.getItemLabel(item)))])],1),_c('v-list-item-icon',[_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-icon',_vm._g(_vm._b({on:{\"click\":function($event){return _vm.deleteItem(item)}}},'v-icon',attrs,false),on),[_vm._v(\" mdi-delete \")])]}}],null,true)},[_c('span',[_vm._v(\"Delete Item\")])])],1)],1),_c('v-divider')],1)}),0)],1)],1),_c('v-dialog',{attrs:{\"max-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.cancelEditAll.apply(null, arguments)}},model:{value:(_vm.editAll),callback:function ($$v) {_vm.editAll=$$v},expression:\"editAll\"}},[_c('v-card',[_c('v-system-bar',[_c('v-spacer'),_c('span',[_vm._v(\" DataExtractor: Edit All Items\")]),_c('v-spacer')],1),_c('v-card-text',{staticClass:\"mt-2\"},[_vm._v(\" This will change all items to the following data type! \"),_c('v-col',[_c('v-select',{attrs:{\"hide-details\":\"\",\"items\":_vm.valueTypes,\"label\":\"Value Type\",\"outlined\":\"\"},model:{value:(_vm.allItemValueType),callback:function ($$v) {_vm.allItemValueType=$$v},expression:\"allItemValueType\"}})],1)],1),_c('v-card-actions',[_c('v-spacer'),_c('v-btn',{staticClass:\"mx-2\",attrs:{\"outlined\":\"\"},on:{\"click\":function($event){_vm.editAll = !_vm.editAll}}},[_vm._v(\" Cancel \")]),_c('v-btn',{staticClass:\"mx-2\",attrs:{\"disabled\":!_vm.allItemValueType,\"color\":\"primary\"},on:{\"click\":function($event){return _vm.editAllValueTypes()}}},[_vm._v(\" Ok \")])],1)],1)],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()],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\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 axiosIgnoreResponse to an error code\n // they potentially expect, e.g. '404', in which case we ignore it\n // Since localStorage only supports strings call toString on the status\n if (\n localStorage.axiosIgnoreResponse === error.response.status.toString()\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 vueInstance.$notify.serious({\n title: 'Network error',\n body,\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\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 = {}) {\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'] = localStorage.scope\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 },\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 // ***********************************************\n // The following APIs are used by the CmdTlmServer\n // ***********************************************\n get_all_interface_info() {\n return this.exec('get_all_interface_info', [])\n }\n\n connect_interface(interface_name) {\n return this.exec('connect_interface', [interface_name])\n }\n\n disconnect_interface(interface_name) {\n return this.exec('disconnect_interface', [interface_name])\n }\n\n get_all_router_info() {\n return this.exec('get_all_router_info', [])\n }\n\n connect_router(router_name) {\n return this.exec('connect_router', [router_name])\n }\n\n disconnect_router(router_name) {\n return this.exec('disconnect_router', [router_name])\n }\n\n get_all_target_info() {\n return this.exec('get_all_target_info', [])\n }\n\n get_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_oldest_logfile() {\n return this.exec('get_oldest_logfile', [])\n }\n\n get_target(target_name) {\n return this.exec('get_target', [target_name])\n }\n\n get_target_list() {\n return this.exec('get_target_list', [])\n }\n\n get_telemetry(target_name, packet_name) {\n return this.exec('get_telemetry', [target_name, packet_name])\n }\n\n get_all_telemetry(target_name) {\n return this.exec('get_all_telemetry', [target_name])\n }\n\n get_all_telemetry_names(target_name) {\n return this.exec('get_all_telemetry_names', [target_name])\n }\n\n // Called by PacketViewerComponent\n async get_tlm_packet(target_name, packet_name, value_type) {\n const data = await this.exec('get_tlm_packet', [target_name, packet_name], {\n type: value_type,\n })\n // Make sure data isn't null or undefined. Note this is the only valid use of == or !=\n if (data != null) {\n var len = data.length\n var converted = null\n for (var i = 0; i < len; i++) {\n converted = this.decode_openc3_type(data[i][1])\n if (converted !== null) {\n data[i][1] = converted\n }\n }\n }\n return data\n }\n\n // Called by PacketViewerComponent\n get_packet_derived_items(target_name, packet_name) {\n return this.exec('get_packet_derived_items', [target_name, packet_name])\n }\n\n // Called by CmdTlmServer Tlm Packets tab\n get_tlm_buffer(target_name, packet_name) {\n return this.exec('get_tlm_buffer', [target_name, packet_name])\n }\n\n // Called by OpenC3ScreenComponent\n async get_tlm_values(items) {\n const data = await this.exec('get_tlm_values', [items])\n var len = data[0].length\n var converted = null\n for (var i = 0; i < len; i++) {\n converted = this.decode_openc3_type(data[0][i])\n if (converted !== null) {\n data[0][i] = converted\n }\n }\n return data\n }\n\n // Called by LimitsbarWidget\n get_limits(target_name, packet_name, item_name) {\n return this.exec('get_limits', [target_name, packet_name, item_name])\n }\n\n // Called by LimitsMonitorComponent\n async tlm(target_name, packet_name, item_name) {\n const data = await this.exec('tlm', [target_name, packet_name, item_name])\n var converted = this.decode_openc3_type(data)\n if (converted !== null) {\n data = converted\n }\n return data\n }\n\n get_all_commands(target_name) {\n return this.exec('get_all_commands', [target_name])\n }\n\n get_all_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 // Called by CmdTlmServer Cmd Packets tab\n get_cmd_buffer(target_name, packet_name) {\n return this.exec('get_cmd_buffer', [target_name, packet_name])\n }\n\n // Implementation of functionality shared by cmd methods with param_lists.\n _cmd(method, target_name, command_name, param_list) {\n var converted = null\n for (var key in param_list) {\n if (Object.prototype.hasOwnProperty.call(param_list, key)) {\n converted = this.encode_openc3_type(param_list[key])\n if (converted !== null) {\n param_list[key] = converted\n }\n }\n }\n return this.exec(method, [target_name, command_name, param_list])\n }\n\n // Called by CmdSenderComponent\n get_cmd_hazardous(target_name, command_name, param_list) {\n if (command_name === undefined) {\n return this.exec('get_cmd_hazardous', target_name)\n } else {\n return this._cmd(\n 'get_cmd_hazardous',\n target_name,\n command_name,\n param_list\n )\n }\n }\n\n // Called by CmdSenderComponent\n cmd(target_name, command_name, param_list) {\n if (command_name === undefined) {\n return this.exec('cmd', target_name)\n } else {\n return this._cmd('cmd', target_name, command_name, param_list)\n }\n }\n\n // Called by CmdSenderComponent\n cmd_no_range_check(target_name, command_name, param_list) {\n if (command_name === undefined) {\n return this.exec('cmd_no_range_check', target_name)\n } else {\n return this._cmd(\n 'cmd_no_range_check',\n target_name,\n command_name,\n param_list\n )\n }\n }\n\n // Called by CmdSenderComponent\n cmd_raw(target_name, command_name, param_list) {\n if (command_name === undefined) {\n return this.exec('cmd_raw', target_name)\n } else {\n return this._cmd('cmd_raw', target_name, command_name, param_list)\n }\n }\n\n // Called by CmdSenderComponent\n cmd_raw_no_range_check(target_name, command_name, param_list) {\n if (command_name === undefined) {\n return this.exec('cmd_raw_no_range_check', target_name)\n } else {\n return this._cmd(\n 'cmd_raw_no_range_check',\n target_name,\n command_name,\n param_list\n )\n }\n }\n\n // Called by CmdSenderComponent\n cmd_no_hazardous_check(target_name, command_name, param_list) {\n if (command_name === undefined) {\n return this.exec('cmd_no_hazardous_check', target_name)\n } else {\n return this._cmd(\n 'cmd_no_hazardous_check',\n target_name,\n command_name,\n param_list\n )\n }\n }\n\n // Called by CmdSenderComponent\n cmd_no_checks(target_name, command_name, param_list) {\n if (command_name === undefined) {\n return this.exec('cmd_no_checks', target_name)\n } else {\n return this._cmd('cmd_no_checks', target_name, command_name, param_list)\n }\n }\n\n // Called by CmdSenderComponent\n cmd_raw_no_hazardous_check(target_name, command_name, param_list) {\n if (command_name === undefined) {\n return this.exec('cmd_raw_no_hazardous_check', target_name)\n } else {\n return this._cmd(\n 'cmd_raw_no_hazardous_check',\n target_name,\n command_name,\n param_list\n )\n }\n }\n\n // Called by CmdSenderComponent\n cmd_raw_no_checks(target_name, command_name, param_list) {\n if (command_name === undefined) {\n return this.exec('cmd_raw_no_checks', target_name)\n } else {\n return this._cmd(\n 'cmd_raw_no_checks',\n target_name,\n command_name,\n param_list\n )\n }\n }\n\n // Called by CmdSenderComponent\n get_interface_names() {\n return this.exec('get_interface_names', [])\n }\n\n // Called by CmdSenderComponent\n send_raw(interface_name, data) {\n return this.exec('send_raw', [interface_name, data])\n }\n\n list_configs(tool) {\n return this.exec('list_configs', [tool])\n }\n\n load_config(tool, name) {\n return this.exec('load_config', [tool, name])\n }\n\n save_config(tool, name, data) {\n return this.exec('save_config', [tool, name, data])\n }\n\n delete_config(tool, name) {\n return this.exec('delete_config', [tool, name])\n }\n\n get_out_of_limits() {\n return this.exec('get_out_of_limits', [])\n }\n\n get_overall_limits_state(ignored) {\n return this.exec('get_overall_limits_state', [ignored])\n }\n\n list_settings() {\n return this.exec('list_settings', [])\n }\n\n get_all_settings() {\n return this.exec('get_all_settings', [])\n }\n\n get_setting(name) {\n return this.exec('get_setting', [name])\n }\n\n get_settings(array) {\n return this.exec('get_settings', array)\n }\n\n save_setting(name, data) {\n return this.exec('save_setting', [name, data])\n }\n\n // 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/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/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=db42aa32&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 \"db42aa32\",\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/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/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=d7576030&\"\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),_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{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/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/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=08088b8d&\"\nimport script from \"./TargetPacketItemChooser.vue?vue&type=script&lang=js&\"\nexport * from \"./TargetPacketItemChooser.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/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\nimport * as ActionCable from '@rails/actioncable'\n//ActionCable.logger.enabled = true\nActionCable.ConnectionMonitor.staleThreshold = 60\n\nexport default class Cable {\n constructor(url = '/openc3-api/cable') {\n this._cable = ActionCable.createConsumer(url)\n }\n disconnect() {\n this._cable.disconnect()\n }\n createSubscription(channel, scope, callbacks = {}, additionalOptions = {}) {\n return OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity).then(() => {\n return this._cable.subscriptions.create(\n {\n channel,\n scope,\n token: localStorage.openc3Token,\n ...additionalOptions,\n },\n callbacks\n )\n })\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\":option.command}},[(option.radio)?_c('v-list-item-action',[_c('v-radio',{attrs:{\"color\":\"secondary\",\"label\":option.label,\"value\":option.label}})],1):_vm._e(),(option.checkbox)?_c('v-list-item-action',[_c('v-checkbox',{attrs:{\"color\":\"secondary\",\"label\":option.label,\"value\":option.label},model:{value:(_vm.checked),callback:function ($$v) {_vm.checked=$$v},expression:\"checked\"}})],1):_vm._e(),(option.icon)?_c('v-list-item-icon',[_c('v-icon',{attrs:{\"disabled\":option.disabled}},[_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/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/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=11927f54&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=11927f54&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 \"11927f54\",\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\nexport default {\n filters: {\n dateTime: function (val, utcOrLocal) {\n if (utcOrLocal === 'utc') {\n return val.toISOString()\n } else {\n return val.toLocaleString() // TODO: support other locales besides en-US\n }\n },\n },\n methods: {},\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\n<template>\n <div>\n <top-bar :menus=\"menus\" :title=\"title\" />\n <v-container>\n <v-row>\n <v-col> Oldest found log data: </v-col>\n <v-col>\n {{ oldestLogDate | dateTime(utcOrLocal) }}\n </v-col>\n </v-row>\n <v-row>\n <v-col>\n <v-text-field\n v-model=\"startDate\"\n label=\"Start Date\"\n type=\"date\"\n :min=\"oldestLogDateStr\"\n :max=\"todaysDate\"\n :rules=\"[rules.required]\"\n data-test=\"start-date\"\n />\n <v-text-field\n v-model=\"endDate\"\n label=\"End Date\"\n type=\"date\"\n :min=\"oldestLogDateStr\"\n :max=\"todaysDate\"\n :rules=\"[rules.required]\"\n data-test=\"end-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-text-field>\n <v-text-field\n v-model=\"endTime\"\n label=\"End Time\"\n type=\"time\"\n step=\"1\"\n :rules=\"[rules.required]\"\n data-test=\"end-time\"\n >\n </v-text-field>\n </v-col>\n </v-row>\n <v-row no-gutters>\n <v-col>\n <v-radio-group v-model=\"cmdOrTlm\" row hide-details class=\"mt-0\">\n <v-radio label=\"Command\" value=\"cmd\" data-test=\"cmd-radio\" />\n <v-radio label=\"Telemetry\" value=\"tlm\" data-test=\"tlm-radio\" />\n </v-radio-group>\n </v-col>\n <v-col>\n <v-radio-group v-model=\"utcOrLocal\" row hide-details class=\"mt-0\">\n <v-radio label=\"LST\" value=\"loc\" data-test=\"lst-radio\" />\n <v-radio label=\"UTC\" value=\"utc\" data-test=\"utc-radio\" />\n </v-radio-group>\n </v-col>\n </v-row>\n <v-row no-gutters>\n <v-col>\n <v-radio-group v-model=\"reduced\" row hide-details>\n <span class=\"mr-5\">Data Reduction:</span>\n <v-radio label=\"None\" value=\"DECOM\" data-test=\"not-reduced\" />\n <v-radio\n label=\"Minute\"\n value=\"REDUCED_MINUTE\"\n data-test=\"min-reduced\"\n />\n <v-radio\n label=\"Hour\"\n value=\"REDUCED_HOUR\"\n data-test=\"hour-reduced\"\n />\n <v-radio label=\"Day\" value=\"REDUCED_DAY\" data-test=\"day-reduced\" />\n </v-radio-group>\n </v-col>\n </v-row>\n <v-row>\n <v-col>\n <target-packet-item-chooser\n @click=\"addItem($event)\"\n button-text=\"Add Item\"\n :mode=\"cmdOrTlm\"\n :reduced=\"reduced\"\n choose-item\n allow-all\n />\n </v-col>\n </v-row>\n <v-row no-gutters>\n <v-toolbar>\n <v-progress-circular :value=\"progress\" />\n Received: {{ totalBytesReceived }} bytes\n <v-spacer />\n <v-toolbar-title> Items </v-toolbar-title>\n <v-spacer />\n <v-btn\n class=\"primary mr-4\"\n @click=\"processItems\"\n :disabled=\"items.length < 1\"\n >{{ processButtonText }}</v-btn\n >\n <v-tooltip bottom>\n <template v-slot:activator=\"{ on, attrs }\">\n <v-btn\n icon\n @click=\"editAll = true\"\n v-bind=\"attrs\"\n v-on=\"on\"\n :disabled=\"items.length < 1\"\n data-test=\"editAll\"\n >\n <v-icon> mdi-pencil </v-icon>\n </v-btn>\n </template>\n <span>Edit All Items</span>\n </v-tooltip>\n <v-tooltip bottom>\n <template v-slot:activator=\"{ on, attrs }\">\n <v-btn\n icon\n @click=\"deleteAll\"\n v-bind=\"attrs\"\n v-on=\"on\"\n :disabled=\"items.length < 1\"\n data-test=\"delete-all\"\n >\n <v-icon>mdi-delete</v-icon>\n </v-btn>\n </template>\n <span>Delete All Items</span>\n </v-tooltip>\n </v-toolbar>\n </v-row>\n <v-row no-gutters>\n <v-list data-test=\"item-list\" width=\"100%\">\n <div v-for=\"(item, i) in items\" :key=\"i\">\n <v-list-item>\n <v-list-item-icon>\n <v-tooltip bottom>\n <template v-slot:activator=\"{ on, attrs }\">\n <v-icon\n @click.stop=\"item.edit = true\"\n v-bind=\"attrs\"\n v-on=\"on\"\n >\n mdi-pencil\n </v-icon>\n </template>\n <span>Edit Item</span>\n </v-tooltip>\n <v-dialog\n v-model=\"item.edit\"\n @keydown.esc=\"item.edit = false\"\n max-width=\"600\"\n >\n <v-card>\n <v-system-bar>\n <v-spacer />\n <span> DataExtractor: Edit Item Mode </span>\n <v-spacer />\n </v-system-bar>\n <v-card-title>{{ getItemLabel(item) }}</v-card-title>\n <v-card-text>\n <v-col>\n <v-select\n hide-details\n :items=\"valueTypes\"\n label=\"Value Type\"\n outlined\n v-model=\"item.valueType\"\n />\n </v-col>\n <!-- v-col v-if=\"uniqueOnly\">\n <v-select\n :items=\"uniqueIgnoreOptions\"\n label=\"Add to Unique Ignore List?:\"\n outlined\n v-model=\"item.uniqueIgnoreAdd\"\n />\n </v-col -->\n </v-card-text>\n <v-card-actions>\n <v-spacer />\n <v-btn color=\"primary\" @click=\"item.edit = false\">\n Close\n </v-btn>\n </v-card-actions>\n </v-card>\n </v-dialog>\n </v-list-item-icon>\n <v-list-item-content>\n <v-list-item-title>{{ getItemLabel(item) }}</v-list-item-title>\n </v-list-item-content>\n <v-list-item-icon>\n <v-tooltip bottom>\n <template v-slot:activator=\"{ on, attrs }\">\n <v-icon @click=\"deleteItem(item)\" v-bind=\"attrs\" v-on=\"on\">\n mdi-delete\n </v-icon>\n </template>\n <span>Delete Item</span>\n </v-tooltip>\n </v-list-item-icon>\n </v-list-item>\n <v-divider />\n </div>\n </v-list>\n </v-row>\n </v-container>\n <v-dialog v-model=\"editAll\" @keydown.esc=\"cancelEditAll\" max-width=\"600\">\n <v-card>\n <v-system-bar>\n <v-spacer />\n <span> DataExtractor: Edit All Items</span>\n <v-spacer />\n </v-system-bar>\n <v-card-text class=\"mt-2\">\n This will change all items to the following data type!\n <v-col>\n <v-select\n hide-details\n :items=\"valueTypes\"\n label=\"Value Type\"\n outlined\n v-model=\"allItemValueType\"\n />\n </v-col>\n </v-card-text>\n <v-card-actions>\n <v-spacer />\n <v-btn outlined class=\"mx-2\" @click=\"editAll = !editAll\">\n Cancel\n </v-btn>\n <v-btn\n :disabled=\"!allItemValueType\"\n color=\"primary\"\n class=\"mx-2\"\n @click=\"editAllValueTypes()\"\n >\n Ok\n </v-btn>\n </v-card-actions>\n </v-card>\n </v-dialog>\n <!-- Note we're using v-if here so it gets re-created each time and refreshes the list -->\n <open-config-dialog\n v-if=\"openConfig\"\n v-model=\"openConfig\"\n :tool=\"toolName\"\n @success=\"openConfiguration($event)\"\n />\n <!-- Note we're using v-if here so it gets re-created each time and refreshes the list -->\n <save-config-dialog\n v-if=\"saveConfig\"\n v-model=\"saveConfig\"\n :tool=\"toolName\"\n @success=\"saveConfiguration($event)\"\n />\n </div>\n</template>\n\n<script>\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 { format, getTime } from 'date-fns'\nimport TopBar from '@openc3/tool-common/src/components/TopBar'\nimport TimeFilters from '@/tools/DataExtractor/Filters/timeFilters.js'\n\nexport default {\n components: {\n OpenConfigDialog,\n SaveConfigDialog,\n TargetPacketItemChooser,\n TopBar,\n },\n mixins: [TimeFilters],\n data() {\n return {\n api: null,\n title: 'Data Extractor',\n toolName: 'data-exporter',\n openConfig: false,\n saveConfig: false,\n progress: 0,\n bytesReceived: 0,\n totalBytesReceived: 0,\n processButtonText: 'Process',\n oldestLogDate: new Date(),\n todaysDate: format(new Date(), 'yyyy-MM-dd'),\n startDate: format(new Date(), 'yyyy-MM-dd'),\n startTime: format(new Date(), 'HH:mm:ss'),\n endTime: format(new Date(), 'HH:mm:ss'),\n endDate: format(new Date(), 'yyyy-MM-dd'),\n startDateTime: null,\n endDateTime: null,\n startDateTimeFilename: '',\n rules: {\n required: (value) => !!value || 'Required',\n },\n cmdOrTlm: 'tlm',\n utcOrLocal: 'loc',\n reduced: 'DECOM',\n items: [],\n rawData: [],\n columnMap: {},\n delimiter: ',',\n columnMode: 'normal',\n fileCount: 0,\n matlabHeader: false,\n skipIgnored: true,\n fillDown: false,\n uniqueOnly: false,\n valueTypes: ['CONVERTED', 'RAW', 'FORMATTED', 'WITH_UNITS'],\n editAll: false,\n allItemValueType: null,\n // uniqueIgnoreOptions: ['NO', 'YES'],\n cable: new Cable(),\n subscription: null,\n menus: [\n {\n label: 'File',\n radioGroup: 'Comma Delimited', // Default radio selected\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 divider: true,\n },\n {\n label: 'Comma Delimited',\n radio: true,\n command: () => {\n this.delimiter = ','\n },\n },\n {\n label: 'Tab Delimited',\n radio: true,\n command: () => {\n this.delimiter = '\\t'\n },\n },\n ],\n },\n {\n label: 'Mode',\n radioGroup: 'Normal Columns', // Default radio selected\n items: [\n // TODO: Currently unimplemented\n // {\n // label: 'Skip Ignored on Add',\n // checkbox: true,\n // checked: true, // Skip Ignored is the default\n // command: () => {\n // this.skipIgnored = !this.skipIgnored\n // },\n // },\n // {\n // divider: true,\n // },\n {\n label: 'Fill Down',\n checkbox: true,\n command: () => {\n this.fillDown = !this.fillDown\n },\n },\n {\n label: 'Matlab Header',\n checkbox: true,\n command: () => {\n this.matlabHeader = !this.matlabHeader\n },\n },\n {\n label: 'Unique Only',\n checkbox: true,\n command: () => {\n this.uniqueOnly = !this.uniqueOnly\n },\n },\n {\n divider: true,\n },\n {\n label: 'Normal Columns',\n radio: true,\n command: () => {\n this.columnMode = 'normal'\n },\n },\n {\n label: 'Full Column Names',\n radio: true,\n command: () => {\n this.columnMode = 'full'\n },\n },\n ],\n },\n ],\n }\n },\n computed: {\n oldestLogDateStr: function () {\n // Set the start date / time to the earliest data found\n return format(this.oldestLogDate, 'yyyy-MM-dd')\n },\n },\n created: function () {\n this.api = new OpenC3Api()\n this.api\n .get_oldest_logfile({ params: { scope: localStorage.scope } })\n .then((response) => {\n // Server returns time as UTC so create date with 'Z'\n this.oldestLogDate = new Date(response + 'Z')\n })\n },\n mounted: function () {\n const previousConfig = localStorage['lastconfig__data_exporter']\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 openConfiguration: function (name) {\n localStorage['lastconfig__data_exporter'] = name\n this.api\n .load_config(this.toolName, name)\n .then((response) => {\n if (response) {\n this.items = JSON.parse(response)\n this.$notify.normal({\n title: 'Loading configuartion',\n body: name,\n })\n }\n })\n .catch((error) => {\n if (error) {\n this.$notify.serious({\n title: `Failed to open configuration ${name}`,\n body: error,\n })\n localStorage['lastconfig__data_exporter'] = null\n }\n })\n },\n saveConfiguration: function (name) {\n localStorage['lastconfig__data_exporter'] = name\n this.api\n .save_config(this.toolName, name, JSON.stringify(this.items))\n .then((response) => {\n this.$notify.normal({\n title: 'Saved configuration',\n body: name,\n })\n })\n .catch((error) => {\n if (error) {\n this.$notify.serious({\n title: `Failed to save configuration: ${name}`,\n body: error,\n })\n }\n })\n },\n addItem: function (item) {\n // Traditional for loop so we can return if we find a match\n for (const listItem of this.items) {\n if (\n listItem.itemName === item.itemName &&\n listItem.packetName === item.packetName &&\n listItem.targetName === item.targetName &&\n listItem.valueType === 'CONVERTED'\n ) {\n this.$notify.caution({\n body: 'This item has already been added!',\n })\n return\n }\n }\n item.cmdOrTlm = this.cmdOrTlm.toUpperCase()\n item.edit = false\n item.valueType = 'CONVERTED'\n // item.uniqueIgnoreAdd = 'NO'\n this.items.push(item)\n },\n deleteItem: function (item) {\n var index = this.items.indexOf(item)\n this.items.splice(index, 1)\n },\n deleteAll: function () {\n this.items = []\n },\n editAllValueTypes: function () {\n this.editAll = false\n for (let item of this.items) {\n item.valueType = this.allItemValueType\n }\n },\n getItemLabel: function (item) {\n let label = [`${item.targetName} - ${item.packetName} - ${item.itemName}`]\n if (item.valueType !== 'CONVERTED') {\n label.push(`+ ( ${item.valueType} )`)\n }\n if (item.reduced !== 'DECOM') {\n label.push(`[ ${item.reduced} ]`)\n }\n return label.join(' ')\n },\n setTimestamps: function () {\n this.startDateTimeFilename = this.startDate + '_' + this.startTime\n // Replace the colons and dashes with underscores in the filename\n this.startDateTimeFilename = this.startDateTimeFilename.replace(\n /(:|-)\\s*/g,\n '_'\n )\n let startTemp\n let endTemp\n try {\n if (this.utcOrLocal === 'utc') {\n startTemp = new Date(this.startDate + ' ' + this.startTime + 'Z')\n endTemp = new Date(this.endDate + ' ' + this.endTime + 'Z')\n } else {\n startTemp = new Date(this.startDate + ' ' + this.startTime)\n endTemp = new Date(this.endDate + ' ' + this.endTime)\n }\n } catch (e) {\n return\n }\n this.startDateTime = startTemp.getTime() * 1_000_000\n this.endDateTime = endTemp.getTime() * 1_000_000\n },\n processItems: function () {\n // Check for a process in progress\n if (this.processButtonText === 'Cancel') {\n this.finished()\n return\n }\n // Check for an empty time period\n this.setTimestamps()\n if (!this.startDateTime || !this.endDateTime) {\n this.$notify.caution({\n body: 'Invalid date/time selected!',\n })\n return\n }\n if (this.startDateTime === this.endDateTime) {\n this.$notify.caution({\n body: 'Start date/time is equal to end date/time!',\n })\n return\n }\n if (this.endDateTime - this.startDateTime < 0) {\n this.$notify.caution({\n body: 'Start date/time is greater then end date/time!',\n })\n return\n }\n // Check for a future End Time\n if (new Date(this.endDateTime / 1_000_000) > Date.now()) {\n this.$notify.caution({\n title: 'Note',\n body: `End date/time is greater than current date/time. Data will\n continue to stream in real-time until\n ${new Date(\n this.endDateTime / 1_000_000\n ).toISOString()} is reached.`,\n })\n }\n\n this.progress = 0\n this.processButtonText = 'Cancel'\n this.cable\n .createSubscription('StreamingChannel', localStorage.scope, {\n received: (data) => this.received(data),\n connected: () => this.onConnected(),\n disconnected: () => {\n this.$notify.caution({\n body: 'OpenC3 backend connection disconnected.',\n })\n },\n rejected: () => {\n this.$notify.caution({\n body: 'OpenC3 backend connection rejected.',\n })\n },\n })\n .then((subscription) => {\n this.subscription = subscription\n })\n },\n resetVars: function () {\n this.foundKeys = []\n this.columnHeaders = []\n this.columnMap = {}\n this.rawData = []\n this.bytesReceived = 0\n },\n onConnected: function () {\n this.fileCount = 0\n this.totalBytesReceived = 0\n this.resetVars()\n var items = []\n this.items.forEach((item, index) => {\n items.push(\n `${item.cmdOrTlm}__${item.targetName}__${item.packetName}__${item.itemName}__${item.valueType}`\n )\n })\n OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity).then(() => {\n this.subscription.perform('add', {\n scope: localStorage.scope,\n mode: this.reduced,\n token: localStorage.openc3Token,\n items: items,\n start_time: this.startDateTime,\n end_time: this.endDateTime,\n })\n })\n },\n buildHeaders: function (itemKeys) {\n if (\n this.foundKeys.includes(itemKeys[0]) &&\n this.foundKeys.includes(itemKeys[1])\n ) {\n return\n }\n this.foundKeys = this.foundKeys.concat(itemKeys)\n\n // Normal column mode has the target and packet listed for each item\n if (this.columnHeaders.length === 0 && this.columnMode === 'normal') {\n this.columnHeaders.push('TARGET')\n this.columnHeaders.push('PACKET')\n }\n itemKeys.forEach((item) => {\n if (item === 'time') return\n this.columnMap[item] = Object.keys(this.columnMap).length\n const [cmdTlm, targetName, packetName, itemName, valueType] =\n item.split('__')\n if (this.columnMode === 'full') {\n this.columnHeaders.push(\n targetName + ' ' + packetName + ' ' + itemName\n )\n } else {\n if (valueType && valueType !== 'CONVERTED') {\n this.columnHeaders.push(itemName + ' (' + valueType + ')')\n } else {\n this.columnHeaders.push(itemName)\n }\n }\n })\n },\n received: function (json_data) {\n if (json_data.error) {\n this.$notify.serious({\n body: json_data.error,\n })\n return\n }\n this.bytesReceived += json_data.length\n this.totalBytesReceived += json_data.length\n const data = JSON.parse(json_data)\n // Initially we just build up the list of data\n if (data.length > 0) {\n // Get all the items present in the data to pass to buildHeaders\n let keys = new Set()\n for (var item of data) {\n Object.keys(item).forEach(keys.add, keys)\n }\n this.buildHeaders([...keys])\n this.rawData = this.rawData.concat(data)\n this.progress = Math.ceil(\n (100 * (data[0]['time'] - this.startDateTime)) /\n (this.endDateTime - this.startDateTime)\n )\n\n if (this.bytesReceived > 200000000) {\n this.bytesReceived = 0\n this.createFile()\n }\n } else {\n this.finished()\n }\n },\n createFile: function () {\n let rawData = this.rawData\n let foundKeys = this.foundKeys\n let columnHeaders = this.columnHeaders\n let columnMap = this.columnMap\n let outputFile = []\n this.resetVars()\n\n let headers = ''\n if (this.matlabHeader) {\n headers += '% '\n }\n headers += columnHeaders.join(this.delimiter)\n outputFile.push(headers)\n\n // Sort everything by time so we can output in order\n rawData.sort((a, b) => a.time - b.time)\n var currentValues = []\n var row = []\n var previousRow = null\n rawData.forEach((packet) => {\n var changed = false\n if (this.fillDown && previousRow) {\n row = [...previousRow] // Copy the previous\n } else {\n row = []\n }\n // This pulls out the attributes we requested\n const keys = Object.keys(packet)\n keys.forEach((key) => {\n if (key === 'time' || key === 'packet') return // Skip time and packet fields\n // Get the value and put it into the correct column\n if (typeof packet[key] === 'object') {\n row[columnMap[key]] = '\"' + packet[key]['raw'] + '\"'\n } else {\n row[columnMap[key]] = packet[key]\n }\n if (\n this.uniqueOnly &&\n currentValues[columnMap[key]] !== row[columnMap[key]]\n ) {\n changed = true\n }\n currentValues[columnMap[key]] = row[columnMap[key]]\n })\n // Copy row before pushing on target / packet names\n previousRow = [...row]\n\n if (!this.uniqueOnly || changed) {\n // Normal column mode means each row has target / packet name\n if (this.columnMode === 'normal') {\n var [, tgt, pkt] = keys[0].split('__')\n row.unshift(pkt)\n row.unshift(tgt)\n }\n outputFile.push(row.join(this.delimiter))\n }\n })\n\n let downloadFileExtension = '.csv'\n let type = 'text/csv'\n if (this.delimiter === '\\t') {\n downloadFileExtension = '.txt'\n type = 'text/tab-separated-values'\n }\n const blob = new Blob([outputFile.join('\\n')], {\n type: type,\n })\n // Make a link and then 'click' on it to start the download\n const link = document.createElement('a')\n link.href = URL.createObjectURL(blob)\n link.setAttribute(\n 'download',\n this.startDateTimeFilename +\n '.' +\n this.fileCount +\n downloadFileExtension\n )\n link.click()\n\n this.fileCount += 1\n },\n finished: function () {\n this.progress = 95 // Indicate we're almost done\n this.subscription.unsubscribe()\n\n if (this.rawData.length !== 0) {\n this.createFile()\n } else if (this.fileCount === 0) {\n let start = new Date(this.startDateTime / 1_000_000).toISOString()\n let end = new Date(this.endDateTime / 1_000_000).toISOString()\n this.$notify.caution({\n body: `No data found for the items in the requested time range of ${start} to ${end}`,\n })\n }\n\n this.progress = 100\n this.processButtonText = 'Process'\n },\n },\n}\n</script>\n\n<style lang=\"scss\" scoped>\n// Disable transition animations to allow bar to grow faster\n.v-progress-linear__determinate {\n transition: none !important;\n}\n</style>\n","import mod from \"-!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DataExtractor.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./DataExtractor.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./DataExtractor.vue?vue&type=template&id=570a1c5c&scoped=true&\"\nimport script from \"./DataExtractor.vue?vue&type=script&lang=js&\"\nexport * from \"./DataExtractor.vue?vue&type=script&lang=js&\"\nimport style0 from \"./DataExtractor.vue?vue&type=style&index=0&id=570a1c5c&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 \"570a1c5c\",\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, \".v-list[data-v-11927f54] .v-label{margin-left:5px}.v-list-item__icon[data-v-11927f54]{margin-right:15px!important}.v-list-item__title[data-v-11927f54]{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, \".v-progress-linear__determinate[data-v-570a1c5c]{transition:none!important}\", \"\"]);\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!./TopBar.vue?vue&type=style&index=0&id=11927f54&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(\"3d68193a\", 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!./DataExtractor.vue?vue&type=style&index=0&id=570a1c5c&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(\"6edf9205\", content, true, {\"sourceMap\":false,\"shadowMode\":false});"],"names":["render","_vm","this","_c","_self","attrs","menus","title","_v","_s","_f","oldestLogDate","utcOrLocal","oldestLogDateStr","todaysDate","rules","required","model","value","startDate","callback","$$v","expression","endDate","startTime","endTime","staticClass","cmdOrTlm","reduced","on","$event","addItem","progress","totalBytesReceived","items","length","processItems","processButtonText","scopedSlots","_u","key","fn","_g","_b","editAll","deleteAll","_l","item","i","stopPropagation","edit","type","indexOf","_k","keyCode","$set","getItemLabel","valueTypes","valueType","deleteItem","cancelEditAll","apply","arguments","allItemValueType","editAllValueTypes","openConfig","toolName","openConfiguration","_e","saveConfig","saveConfiguration","staticRenderFns","vueInstance","Vue","axiosInstance","axios","baseURL","location","origin","timeout","params","interceptors","response","use","error","status","OpenC3Auth","updateToken","defaultMinValidity","localStorage","axiosIgnoreResponse","toString","Promise","reject","body","statusText","config","data","message","exception","class","$notify","serious","OpenC3Api","method","kwparams","login","id","scope","jsonrpc","keyword_params","headers","Authorization","openc3Token","result","err","Error","name","request","val","json_class","raw","NaN","Infinity","Number","isNaN","POSITIVE_INFINITY","NEGATIVE_INFINITY","exec","interface_name","router_name","target_commands","target","packet","log_writer_name","limits_set","target_name","packet_name","value_type","len","converted","decode_openc3_type","item_name","command_name","parameter_name","param_list","Object","prototype","hasOwnProperty","call","encode_openc3_type","undefined","_cmd","tool","ignored","array","string","window","isSecureContext","arrayBuffer","TextEncoder","encode","crypto","subtle","digest","hashAsArrayBuffer","uint8ViewOfHash","Uint8Array","Array","from","map","b","padStart","join","cancel","show","preventDefault","success","search","configs","itemSelected","slot","select","deleteConfig","directives","rawName","domProps","props","text","align","sortable","selectedItem","computed","get","set","mounted","list_configs","then","configId","catch","methods","confirm","okText","cancelText","component","configName","colSize","targetNames","targetNameChanged","selectedTargetName","packetsDisabled","buttonDisabled","packetNames","packetNameChanged","selectedPacketName","chooseItem","itemsDisabled","itemNames","itemNameChanged","selectedItemName","buttonText","buttonPressed","actualButtonText","description","allowAll","default","disabled","initialTargetName","initialPacketName","initialItemName","mode","validator","includes","propValue","unknown","vertical","internalDisabled","api","ALL","label","UNKNOWN","created","targetChooserStyle","width","float","packetChooserStyle","watch","updatePackets","updateItems","reduce","targetName","packetName","itemName","makeReducedItems","allTargetPacketItems","allPacketItems","ActionCable","Cable","url","_cable","disconnect","channel","callbacks","additionalOptions","subscriptions","create","token","menu","formatDT","radioGroup","option","j","divider","command","radio","checkbox","checked","icon","style","filters","dateTime","toISOString","toLocaleString","components","OpenConfigDialog","SaveConfigDialog","TargetPacketItemChooser","TopBar","mixins","bytesReceived","startDateTime","endDateTime","startDateTimeFilename","rawData","columnMap","delimiter","columnMode","fileCount","matlabHeader","skipIgnored","fillDown","uniqueOnly","cable","subscription","get_oldest_logfile","destroyed","load_config","save_config","JSON","listItem","setTimestamps","startTemp","endTemp","createSubscription","received","connected","disconnected","rejected","resetVars","onConnected","start_time","end_time","buildHeaders","itemKeys","createFile","outputFile","row","keys","currentValues","changed","previousRow","downloadFileExtension","link","finished","___CSS_LOADER_EXPORT___","push","module","content","__esModule","locals","exports","add"],"sourceRoot":""}
|