openc3-cosmos-tool-cmdtlmserver 5.20.0 → 6.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (108) hide show
  1. checksums.yaml +4 -4
  2. data/plugin.txt +2 -2
  3. data/tools/cmdtlmserver/ArrayWidget-By62tXtU-71c668c2b12f3647b2aa.js +2 -0
  4. data/tools/cmdtlmserver/BarColumn-Dm3D1Lhp-0e936d8648b3ed447feb.js +1 -0
  5. data/tools/cmdtlmserver/BlockWidget-CrT45ode-886b3faff84b37db6c51.js +2 -0
  6. data/tools/cmdtlmserver/ButtonWidget-CKyBBv6m-3b8176a5b59e2fe6ede9.js +2 -0
  7. data/tools/cmdtlmserver/CanvasWidget-PqkppHC7-fd8f2fe4b4158775777e.js +1 -0
  8. data/tools/cmdtlmserver/CanvasdotWidget-BUbJgM2d-7f320c3f245428eff6e0.js +1 -0
  9. data/tools/cmdtlmserver/CanvasimageWidget-DPVBY7mi-21593c9450e5c05595d2.js +1 -0
  10. data/tools/cmdtlmserver/CanvasimagevalueWidget-GX37zzNc-35ce65c12b0ff93c1e64.js +1 -0
  11. data/tools/cmdtlmserver/CanvaslabelWidget-P2_Y6Edw-1fc22fee78e455e0bacc.js +1 -0
  12. data/tools/cmdtlmserver/CanvaslabelvalueWidget-Cuas1i9P-958866656e489e737d07.js +1 -0
  13. data/tools/cmdtlmserver/CanvaslineWidget-BYOYgPya-d389d6419c193203d6b8.js +1 -0
  14. data/tools/cmdtlmserver/CanvaslinevalueWidget-3cVJMFo7-2946dcc156558454a815.js +1 -0
  15. data/tools/cmdtlmserver/CheckbuttonWidget-B3wgSMuB-2e200064cf109304de12.js +1 -0
  16. data/tools/cmdtlmserver/CmdPacketsTab-b15d0514cdb75bd29bd8.js +1 -0
  17. data/tools/cmdtlmserver/CmdTlmServer-18df2af9fea7fa1a5a7c.js +2 -0
  18. data/tools/cmdtlmserver/ComboboxWidget-Dzr4Scvf-699c8eacd9a8687ee70d.js +1 -0
  19. data/tools/cmdtlmserver/DateWidget-BWh76Ibb-d6f7da26ea2fd4cb72e8.js +1 -0
  20. data/tools/cmdtlmserver/DetailsDialog-EWjtBjle-37b6940e1f2a2dead428.js +1 -0
  21. data/tools/cmdtlmserver/DynamicWidget-m9EliUR2-62ab2ad533de794320d4.js +1 -0
  22. data/tools/cmdtlmserver/FormatvalueWidget-Rk0_eeIm-50cdf441547b0cb8608d.js +1 -0
  23. data/tools/cmdtlmserver/GraphWidget-LqekkNDr-da2fa45489caf0d4fad1.js +1 -0
  24. data/tools/cmdtlmserver/HorizontalWidget-BcfJ24Zn-21157dc1940825a36df8.js +1 -0
  25. data/tools/cmdtlmserver/HorizontalboxWidget-CQy1Hv9E-d2088459c65904a689d2.js +1 -0
  26. data/tools/cmdtlmserver/HorizontallineWidget-BdlNB951-4dee66ec89d4aa3f5f07.js +1 -0
  27. data/tools/cmdtlmserver/IframeWidget-BBaDrRLo-c6c36b42c6c6f9a2dfa3.js +1 -0
  28. data/tools/cmdtlmserver/ImageLoader-CDLQopxJ-4c9cccf9c544ba381bd4.js +1 -0
  29. data/tools/cmdtlmserver/ImageviewerWidget-BgO3Pq6I-49d5b6d7e95afdb924d9.js +1 -0
  30. data/tools/cmdtlmserver/InterfacesTab-acffaa153abb0955b428.js +1 -0
  31. data/tools/cmdtlmserver/LabelWidget-B_C6lKOE-21bc54b64ce81b8d5e91.js +1 -0
  32. data/tools/cmdtlmserver/LabelledWidget-B_UGivhr-45bd4b27e27af75c76ce.js +1 -0
  33. data/tools/cmdtlmserver/LabelprogressbarWidget-BJWCmsYC-a38332a26d43fbc7cb11.js +1 -0
  34. data/tools/cmdtlmserver/LabelsparklineWidget-DILCIh3q-a123a563ebb202129724.js +1 -0
  35. data/tools/cmdtlmserver/LabelvalueWidget-CCZd1NXE-e3c1d1b547bd294e08fc.js +1 -0
  36. data/tools/cmdtlmserver/LabelvaluedescWidget-Bsllq8W6-c61edd74c658e4cbc152.js +1 -0
  37. data/tools/cmdtlmserver/LabelvaluelimitsbarWidget-BV-cfaD--6fbc9f8ce13090936c15.js +1 -0
  38. data/tools/cmdtlmserver/LabelvaluelimitscolumnWidget-DwA0eRBw-20f41ba3a09d3c059323.js +1 -0
  39. data/tools/cmdtlmserver/LabelvaluerangebarWidget-3GDJz3dj-13a0899a53ecebdbdb8d.js +1 -0
  40. data/tools/cmdtlmserver/Layout-klOVw-YN-a721899dc469c373afa9.js +1 -0
  41. data/tools/cmdtlmserver/LedWidget-BAt02s0J-710e81df00d16611ca6c.js +1 -0
  42. data/tools/cmdtlmserver/LimitsbarWidget-JJiyzZjb-b5becd869841fa1595ff.js +1 -0
  43. data/tools/cmdtlmserver/LimitscolorWidget-CYzXKbYd-7e2a7414bebb0d967056.js +1 -0
  44. data/tools/cmdtlmserver/LimitscolumnWidget-Cd76tBo7-6de0345076b09ddf4e33.js +1 -0
  45. data/tools/cmdtlmserver/LinegraphWidget-DWRtO6Ej-cedf2afc896274387b0a.js +1 -0
  46. data/tools/cmdtlmserver/MatrixbycolumnsWidget-cwsyjNV2-c35c7acd7f9bbe099adc.js +1 -0
  47. data/tools/cmdtlmserver/ProgressbarWidget-CYDziFej-98afe46a60db5ef50bc2.js +1 -0
  48. data/tools/cmdtlmserver/RadiobuttonWidget-U6jcQZoD-f8933c81d6f206fea4f9.js +1 -0
  49. data/tools/cmdtlmserver/RadiogroupWidget-HTPJnsB0-10f8679497847aa5eedf.js +1 -0
  50. data/tools/cmdtlmserver/RangebarWidget-DW0FJK6y-ca5c172b1f8d8b0bdd04.js +1 -0
  51. data/tools/cmdtlmserver/RawDialog-7cfffbbe1160eb2dfa0f.js +11 -0
  52. data/tools/cmdtlmserver/RollupWidget-B2qrx55f-9b4d46c83244d93b538e.js +1 -0
  53. data/tools/cmdtlmserver/RoutersTab-e227a58650cef2f7cb45.js +1 -0
  54. data/tools/cmdtlmserver/ScrollwindowWidget-CwIDxgO6-ea5bb31dc3cfde35e775.js +1 -0
  55. data/tools/cmdtlmserver/SignalWidget-Bosa3AbW-d0ae775dd5c4743bd297.js +1 -0
  56. data/tools/cmdtlmserver/SpacerWidget-DYAlt5mt-78b1595bcafcd837342e.js +1 -0
  57. data/tools/cmdtlmserver/SparklineWidget-CDrVXOFV-2183c82cc253586cf77f.js +1 -0
  58. data/tools/cmdtlmserver/StatusTab-e815b6f5b133af771d3c.js +1 -0
  59. data/tools/cmdtlmserver/TabbookWidget-DDdlzCkv-ccba59d5746cd2b8788e.js +1 -0
  60. data/tools/cmdtlmserver/TargetsTab-22e2db6d75a3e9456d69.js +1 -0
  61. data/tools/cmdtlmserver/TextboxWidget-5euFelEq-eb2c48ecf9a4852448b3.js +1 -0
  62. data/tools/cmdtlmserver/TextfieldWidget-BFripYeh-5f0267b7e9745eb772d6.js +1 -0
  63. data/tools/cmdtlmserver/TimeWidget-BBSbsUYJ-41f6ac9de864b392c87e.js +1 -0
  64. data/tools/cmdtlmserver/TitleWidget-p8cjo-Bs-ae7c644a01c9f5ffd68c.js +1 -0
  65. data/tools/cmdtlmserver/TlmPacketsTab-d2f22dccdcd0109dc9fc.js +1 -0
  66. data/tools/cmdtlmserver/Updater-3608194712b19b896303.js +1 -0
  67. data/tools/cmdtlmserver/VWidget-Dmqf_jKM-2854e5bda271afc8bffe.js +1 -0
  68. data/tools/cmdtlmserver/ValueWidget-CZh7JWwT-561515c3bc47da2968a1.js +1 -0
  69. data/tools/cmdtlmserver/ValuelimitsbarWidget-DU7ybswC-bccfe404aabe243d72f4.js +1 -0
  70. data/tools/cmdtlmserver/ValuelimitscolumnWidget-DMw-h5jM-1cfd35ce298999a0ff6a.js +1 -0
  71. data/tools/cmdtlmserver/ValuerangebarWidget-DPpofDpA-d242d66cd64e9a78f881.js +1 -0
  72. data/tools/cmdtlmserver/VerticalWidget-Ch7VAEmz-71645022feffa66a8825.js +1 -0
  73. data/tools/cmdtlmserver/VerticalboxWidget-DYx-TFT4-5f9dfe83d76b0a3739bd.js +1 -0
  74. data/tools/cmdtlmserver/Widget-orNSvnOh-c2189f557c1c3db5d0d5.js +1 -0
  75. data/tools/cmdtlmserver/main-74390a4d748a97f336a8.js +1422 -0
  76. data/tools/cmdtlmserver/main.js +1 -0
  77. data/tools/cmdtlmserver/services-6fab0d9d3d41ee3bbe0a.js +6 -0
  78. metadata +77 -32
  79. data/tools/cmdtlmserver/img/logo.png +0 -0
  80. data/tools/cmdtlmserver/index.html +0 -4
  81. data/tools/cmdtlmserver/js/195.js +0 -2
  82. data/tools/cmdtlmserver/js/195.js.map +0 -1
  83. data/tools/cmdtlmserver/js/272.js +0 -2
  84. data/tools/cmdtlmserver/js/272.js.map +0 -1
  85. data/tools/cmdtlmserver/js/275.js +0 -2
  86. data/tools/cmdtlmserver/js/275.js.map +0 -1
  87. data/tools/cmdtlmserver/js/30.js +0 -2
  88. data/tools/cmdtlmserver/js/30.js.map +0 -1
  89. data/tools/cmdtlmserver/js/303.js +0 -2
  90. data/tools/cmdtlmserver/js/303.js.map +0 -1
  91. data/tools/cmdtlmserver/js/305.js +0 -2
  92. data/tools/cmdtlmserver/js/305.js.map +0 -1
  93. data/tools/cmdtlmserver/js/328.js +0 -2
  94. data/tools/cmdtlmserver/js/328.js.map +0 -1
  95. data/tools/cmdtlmserver/js/364.js +0 -2
  96. data/tools/cmdtlmserver/js/364.js.map +0 -1
  97. data/tools/cmdtlmserver/js/467.js +0 -2
  98. data/tools/cmdtlmserver/js/467.js.map +0 -1
  99. data/tools/cmdtlmserver/js/59.js +0 -2
  100. data/tools/cmdtlmserver/js/59.js.map +0 -1
  101. data/tools/cmdtlmserver/js/625.js +0 -2
  102. data/tools/cmdtlmserver/js/625.js.map +0 -1
  103. data/tools/cmdtlmserver/js/739.js +0 -2
  104. data/tools/cmdtlmserver/js/739.js.map +0 -1
  105. data/tools/cmdtlmserver/js/938.js +0 -2
  106. data/tools/cmdtlmserver/js/938.js.map +0 -1
  107. data/tools/cmdtlmserver/js/app.js +0 -2
  108. data/tools/cmdtlmserver/js/app.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"js/30.js","mappings":"uLAwBAA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QAAUH,EAAQE,QAE5C,IAAIE,EAAM,UACGA,EAAI,WAAYJ,GAAS,EAAM,CAAC,WAAY,EAAM,YAAa,G,iBCN5E,IAAIA,EAAU,EAAQ,MACnBA,EAAQC,aAAYD,EAAUA,EAAQ3G,SACnB,kBAAZ2G,IAAsBA,EAAU,CAAC,CAACF,EAAOC,GAAIC,EAAS,MAC7DA,EAAQE,SAAQJ,EAAOK,QAAUH,EAAQE,QAE5C,IAAIE,EAAM,UACGA,EAAI,WAAYJ,GAAS,EAAM,CAAC,WAAY,EAAM,YAAa,G","sources":["webpack://@openc3/cosmos-tool-cmdtlmserver/../openc3-tool-common/src/services/cable.js","webpack://@openc3/cosmos-tool-cmdtlmserver/./src/tools/CmdTlmServer/CmdTlmServer.vue","webpack://@openc3/cosmos-tool-cmdtlmserver/../openc3-tool-common/src/components/LogMessages.vue","webpack://@openc3/cosmos-tool-cmdtlmserver/../openc3-tool-common/src/tools/base/util/timeFilters.js","webpack://@openc3/cosmos-tool-cmdtlmserver/../openc3-tool-common/src/components/LogMessages.vue?033d","webpack://@openc3/cosmos-tool-cmdtlmserver/../openc3-tool-common/src/components/LogMessages.vue?971e","webpack://@openc3/cosmos-tool-cmdtlmserver/../openc3-tool-common/src/components/TopBar.vue","webpack://@openc3/cosmos-tool-cmdtlmserver/../openc3-tool-common/src/components/TopBar.vue?c4b5","webpack://@openc3/cosmos-tool-cmdtlmserver/../openc3-tool-common/src/components/TopBar.vue?a437","webpack://@openc3/cosmos-tool-cmdtlmserver/src/tools/CmdTlmServer/CmdTlmServer.vue","webpack://@openc3/cosmos-tool-cmdtlmserver/./src/tools/CmdTlmServer/CmdTlmServer.vue?0455","webpack://@openc3/cosmos-tool-cmdtlmserver/./src/tools/CmdTlmServer/CmdTlmServer.vue?2c2b","webpack://@openc3/cosmos-tool-cmdtlmserver/./src/tools/CmdTlmServer/CmdTlmServer.vue?f947","webpack://@openc3/cosmos-tool-cmdtlmserver/../openc3-tool-common/src/components/TopBar.vue?e2ab","webpack://@openc3/cosmos-tool-cmdtlmserver/./src/tools/CmdTlmServer/CmdTlmServer.vue?be0b","webpack://@openc3/cosmos-tool-cmdtlmserver/../openc3-tool-common/src/components/TopBar.vue?ca18"],"sourcesContent":["/*\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 if (this._cable) {\n this._cable.disconnect()\n }\n }\n createSubscription(channel, scope, callbacks = {}, additionalOptions = {}) {\n return OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity).then(\n (refreshed) => {\n if (refreshed) {\n OpenC3Auth.setTokens()\n }\n if (this._cable == null) {\n let final_url =\n this._url +\n '?scope=' +\n encodeURIComponent(window.openc3Scope) +\n '&authorization=' +\n encodeURIComponent(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 }\n recordPing() {\n this._cable.connection.monitor.recordPing()\n }\n}\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('top-bar',{attrs:{\"menus\":_vm.menus,\"title\":_vm.title}}),_vm._v(\" \"),_c('v-card',[_c('v-expansion-panels',{model:{value:(_vm.panel),callback:function ($$v) {_vm.panel=$$v},expression:\"panel\"}},[_c('v-expansion-panel',[_c('v-expansion-panel-header',[_c('v-tabs',{attrs:{\"fixed-tabs\":\"\"},model:{value:(_vm.curTab),callback:function ($$v) {_vm.curTab=$$v},expression:\"curTab\"}},_vm._l((_vm.tabs),function(tab,index){return _c('v-tab',{key:index,attrs:{\"to\":tab.url},nativeOn:{\"click\":function($event){$event.stopPropagation();}}},[_vm._v(\"\\n \"+_vm._s(tab.name)+\"\\n \")])}),1)],1),_vm._v(\" \"),_c('v-expansion-panel-content',[_c('router-view',{attrs:{\"refresh-interval\":_vm.refreshInterval}})],1)],1)],1)],1),_vm._v(\" \"),_c('div',{staticStyle:{\"height\":\"15px\"}}),_vm._v(\" \"),_c('log-messages',{attrs:{\"time-zone\":_vm.timeZone}}),_vm._v(\" \"),_c('v-dialog',{attrs:{\"max-width\":\"300\"},model:{value:(_vm.optionsDialog),callback:function ($$v) {_vm.optionsDialog=$$v},expression:\"optionsDialog\"}},[_c('v-card',[_c('v-system-bar',[_c('v-spacer'),_vm._v(\" \"),_c('span',[_vm._v(\"Options\")]),_vm._v(\" \"),_c('v-spacer')],1),_vm._v(\" \"),_c('div',{staticClass:\"pa-3\"},[_c('v-text-field',{attrs:{\"min\":\"0\",\"max\":\"10000\",\"step\":\"100\",\"type\":\"number\",\"label\":\"Refresh Interval (ms)\",\"value\":_vm.refreshInterval},on:{\"change\":function($event){_vm.refreshInterval = $event}}})],1)],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-card',[_c('v-card-title',[_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('div',_vm._g(_vm._b({},'div',attrs,false),on),[_c('v-btn',{staticClass:\"mx-2\",attrs:{\"icon\":\"\",\"data-test\":\"download-log\"},on:{\"click\":_vm.downloadLog}},[_c('v-icon',[_vm._v(\" mdi-download \")])],1)],1)]}}])},[_vm._v(\" \"),_c('span',[_vm._v(\" Download Log \")])]),_vm._v(\" \"),_c('span',[_vm._v(\" Log Messages \")]),_vm._v(\" \"),_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('div',_vm._g(_vm._b({},'div',attrs,false),on),[_c('v-btn',{attrs:{\"icon\":\"\",\"data-test\":\"pause\"},on:{\"click\":_vm.pause}},[_c('v-icon',[_vm._v(\" \"+_vm._s(_vm.buttonIcon)+\" \")])],1)],1)]}}])},[_vm._v(\" \"),_c('span',[_vm._v(\" \"+_vm._s(_vm.buttonLabel)+\" \")])]),_vm._v(\" \"),_c('v-spacer'),_vm._v(\" \"),_c('v-select',{staticClass:\"mr-2\",staticStyle:{\"max-width\":\"150px\"},attrs:{\"label\":\"Filter by log level\",\"hide-details\":\"\",\"outlined\":\"\",\"dense\":\"\",\"items\":_vm.logLevels,\"data-test\":\"log-messages-level\"},model:{value:(_vm.logLevel),callback:function ($$v) {_vm.logLevel=$$v},expression:\"logLevel\"}}),_vm._v(\" \"),_c('v-spacer'),_vm._v(\" \"),_c('v-text-field',{staticClass:\"search\",staticStyle:{\"max-width\":\"300px\"},attrs:{\"label\":\"Search\",\"prepend-inner-icon\":\"mdi-magnify\",\"clearable\":\"\",\"outlined\":\"\",\"dense\":\"\",\"single-line\":\"\",\"hide-details\":\"\",\"data-test\":\"search-log-messages\"},model:{value:(_vm.search),callback:function ($$v) {_vm.search=$$v},expression:\"search\"}}),_vm._v(\" \"),_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('div',_vm._g(_vm._b({},'div',attrs,false),on),[_c('v-btn',{staticClass:\"mx-2\",attrs:{\"icon\":\"\",\"data-test\":\"clear-log\"},on:{\"click\":_vm.clearLog}},[_c('v-icon',[_vm._v(\" mdi-delete \")])],1)],1)]}}])},[_vm._v(\" \"),_c('span',[_vm._v(\" Clear Log \")])])],1),_vm._v(\" \"),_c('v-data-table',{attrs:{\"headers\":_vm.headers,\"items\":_vm.shownData,\"search\":_vm.search,\"calculate-widths\":\"\",\"disable-pagination\":\"\",\"hide-default-footer\":\"\",\"multi-sort\":\"\",\"dense\":\"\",\"height\":\"70vh\",\"data-test\":\"log-messages\"},scopedSlots:_vm._u([{key:\"item.timestamp\",fn:function({ item }){return [_c('time',{attrs:{\"title\":item.timestamp,\"datetime\":item.timestamp}},[_vm._v(\"\\n \"+_vm._s(item.timestamp)+\"\\n \")])]}},{key:\"item.level\",fn:function({ item }){return [_c('span',{style:('display: inline-flex; color:' + _vm.getColor(item.level))},[_c('rux-status',{staticClass:\"mr-1\",attrs:{\"status\":_vm.getStatus(item.level)}}),_vm._v(\"\\n \"+_vm._s(item.level))],1)]}},{key:\"item.message\",fn:function({ item }){return [_c('div',{staticStyle:{\"white-space\":\"pre-wrap\"}},[_vm._v(_vm._s(item.message))])]}}])})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","/*\n# Copyright 2024 OpenC3, Inc.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# This file may also be used under the terms of a commercial license\n# if purchased from OpenC3, Inc.\n*/\n\nimport { format, parseISO, subMinutes } from 'date-fns'\nimport { formatInTimeZone } from 'date-fns-tz'\n\nconst dateFormat = 'yyyy-MM-dd'\nconst timeFormat = 'HH:mm:ss.SSS'\nconst timeFormatHMS = 'HH:mm:ss'\nconst dateTimeFormat = `${dateFormat} ${timeFormat}`\nexport default {\n methods: {\n parseDateTime(dateString, timeZone) {\n if (dateString.includes(' ')) {\n dateString = dateString.replace(' ', 'T')\n }\n if (timeZone && timeZone === 'UTC') {\n dateString += 'Z'\n }\n return Date.parse(dateString)\n },\n // Convert a UTC stamp into a local time\n formatUtcToLocal(date, timeZone) {\n // Default to local time if the timezone isn't set\n if (!timeZone || timeZone === 'local') {\n // subtrack off the timezone offset to get it back to local time\n return format(\n subMinutes(date, date.getTimezoneOffset()),\n dateTimeFormat,\n )\n } else {\n return format(date, dateTimeFormat)\n }\n },\n formatDateTime(date, timeZone) {\n // Default to local time if the timezone isn't set\n if (!timeZone || timeZone === 'local') {\n return format(date, dateTimeFormat)\n } else {\n return formatInTimeZone(date, timeZone, dateTimeFormat)\n }\n },\n formatDate: function (date, timeZone) {\n // Default to local time if the timezone isn't set\n if (!timeZone || timeZone === 'local') {\n return format(date, dateFormat)\n } else {\n return formatInTimeZone(date, this.timeZone, dateFormat)\n }\n },\n formatTime: function (date, timeZone, formatString = timeFormat) {\n // Default to local time if the timezone isn't set\n if (!timeZone || timeZone === 'local') {\n return format(date, formatString)\n } else {\n return formatInTimeZone(date, this.timeZone, formatString)\n }\n },\n formatTimeHMS: function (date, timeZone) {\n return this.formatTime(date, timeZone, timeFormatHMS)\n },\n formatTimestamp(timestamp, timeZone) {\n return this.formatDateTime(parseISO(timestamp), timeZone)\n },\n formatSeconds(secs, timeZone) {\n return this.formatDateTime(new Date(secs * 1000), timeZone)\n },\n formatNanoseconds(nanoSecs, timeZone) {\n return this.formatDateTime(\n new Date(parseInt(nanoSecs) / 1_000_000),\n timeZone,\n )\n },\n },\n}\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!./LogMessages.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!./LogMessages.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./LogMessages.vue?vue&type=template&id=954f9e8a\"\nimport script from \"./LogMessages.vue?vue&type=script&lang=js\"\nexport * from \"./LogMessages.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('mounting-portal',{attrs:{\"mount-to\":\"#openc3-menu\",\"append\":\"\"}},[_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{attrs:{\"align-self\":\"end\"}},[_c('span',{staticClass:\"app-title mr-2\"},[_vm._v(_vm._s(_vm.title))])])],1),_vm._v(\" \"),_c('v-row',{staticClass:\"flex-nowrap\",attrs:{\"dense\":\"\"}},_vm._l((_vm.menus),function(menu,i){return _c('v-menu',{key:i,ref:\"topmenu\",refInFor:true,attrs:{\"offset-y\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-btn',_vm._g(_vm._b({staticClass:\"mx-1 menu-button\",attrs:{\"outlined\":\"\",\"data-test\":_vm.formatDT(`${_vm.title} ${menu.label}`)}},'v-btn',attrs,false),on),[_c('span',{domProps:{\"textContent\":_vm._s(menu.label)}}),_vm._v(\" \"),_c('v-icon',{staticClass:\"myicon\",attrs:{\"right\":\"\"}},[_vm._v(\" mdi-menu-down \")])],1)]}}],null,true)},[_vm._v(\" \"),_c('v-list',[_c('v-radio-group',{staticClass:\"ma-0 pa-0\",attrs:{\"value\":menu.radioGroup,\"hide-details\":\"\",\"dense\":\"\"}},[_vm._l((menu.items),function(option,j){return [(option.divider)?_c('v-divider',{key:j}):(option.subMenu && option.subMenu.length > 0)?_c('div',{key:j},[_c('v-menu',{key:_vm.k,attrs:{\"open-on-hover\":\"\",\"offset-x\":\"\",\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-list-item',_vm._g(_vm._b({key:j,attrs:{\"disabled\":option.disabled}},'v-list-item',attrs,false),on),[(option.icon)?_c('v-list-item-icon',[_c('v-icon',{attrs:{\"disabled\":option.disabled}},[_vm._v(_vm._s(option.icon))])],1):_vm._e(),_vm._v(\" \"),(!option.radio && !option.checkbox)?_c('v-list-item-title',{style:('cursor: pointer;' +\n (option.disabled ? 'opacity: 0.2' : ''))},[_vm._v(_vm._s(option.label)+\"\\n \")]):_vm._e(),_vm._v(\" \"),_c('v-icon',[_vm._v(\" mdi-chevron-right \")])],1)]}}],null,true)},[_vm._v(\" \"),_c('v-list',_vm._l((option.subMenu),function(submenu,k){return _c('v-list-item',{key:k,on:{\"click\":function($event){return _vm.subMenuClick(submenu)}}},[(submenu.icon)?_c('v-list-item-icon',[_c('v-icon',[_vm._v(_vm._s(submenu.icon))])],1):_vm._e(),_vm._v(\" \"),_c('v-list-item-title',[_vm._v(_vm._s(submenu.label))])],1)}),1)],1)],1):_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',{staticClass:\"list-action\"},[_c('v-radio',{attrs:{\"color\":\"secondary\",\"label\":option.label,\"value\":option.label}})],1):_vm._e(),_vm._v(\" \"),(option.checkbox)?_c('v-list-item-action',{staticClass:\"list-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(),_vm._v(\" \"),(option.icon)?_c('v-list-item-icon',[_c('v-icon',{attrs:{\"disabled\":option.disabled}},[_vm._v(_vm._s(option.icon))])],1):_vm._e(),_vm._v(\" \"),(!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)}),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!./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=0af23388&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=0af23388&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 \"0af23388\",\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 2024, 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-card>\n <v-expansion-panels v-model=\"panel\">\n <v-expansion-panel>\n <v-expansion-panel-header>\n <v-tabs v-model=\"curTab\" fixed-tabs>\n <v-tab\n v-for=\"(tab, index) in tabs\"\n :key=\"index\"\n :to=\"tab.url\"\n @click.native.stop\n >\n {{ tab.name }}\n </v-tab>\n </v-tabs>\n </v-expansion-panel-header>\n <v-expansion-panel-content>\n <router-view :refresh-interval=\"refreshInterval\" />\n </v-expansion-panel-content>\n </v-expansion-panel>\n </v-expansion-panels>\n </v-card>\n <div style=\"height: 15px\" />\n <log-messages :time-zone=\"timeZone\" />\n <v-dialog v-model=\"optionsDialog\" max-width=\"300\">\n <v-card>\n <v-system-bar>\n <v-spacer />\n <span>Options</span>\n <v-spacer />\n </v-system-bar>\n <div class=\"pa-3\">\n <v-text-field\n min=\"0\"\n max=\"10000\"\n step=\"100\"\n type=\"number\"\n label=\"Refresh Interval (ms)\"\n :value=\"refreshInterval\"\n @change=\"refreshInterval = $event\"\n />\n </div>\n </v-card>\n </v-dialog>\n </div>\n</template>\n\n<script>\nimport { OpenC3Api } from '@openc3/tool-common/src/services/openc3-api'\nimport LogMessages from '@openc3/tool-common/src/components/LogMessages'\nimport TopBar from '@openc3/tool-common/src/components/TopBar'\nexport default {\n components: {\n LogMessages,\n TopBar,\n },\n data() {\n return {\n api: null,\n title: 'CmdTlmServer',\n timeZone: 'local',\n panel: 0,\n curTab: null,\n tabs: [\n {\n name: 'Interfaces',\n url: '/interfaces',\n },\n {\n name: 'Targets',\n url: '/targets',\n },\n {\n name: 'Cmd packets',\n url: '/cmd-packets',\n },\n {\n name: 'Tlm packets',\n url: '/tlm-packets',\n },\n {\n name: 'Routers',\n url: '/routers',\n },\n {\n name: 'Status',\n url: '/status',\n },\n ],\n updater: null,\n refreshInterval: 1000,\n optionsDialog: false,\n menus: [\n {\n label: 'File',\n items: [\n {\n label: 'Options',\n icon: 'mdi-cog',\n command: () => {\n this.optionsDialog = true\n },\n },\n {\n label: 'Clear Counters',\n icon: 'mdi-eraser',\n command: () => {\n this.clearCounters()\n },\n },\n ],\n },\n ],\n }\n },\n created() {\n this.api = new OpenC3Api()\n this.api\n .get_setting('time_zone')\n .then((response) => {\n if (response) {\n this.timeZone = response\n }\n })\n .catch((error) => {\n // Do nothing\n })\n },\n methods: {\n clearCounters() {\n this.api.get_interface_names().then((response) => {\n for (var i = 0; i < response.length; i++) {\n this.api.interface_cmd(response[i], 'clear_counters')\n }\n })\n },\n },\n}\n</script>\n\n<style scoped>\n.v-expansion-panel-content :deep(.v-expansion-panel-content__wrap) {\n padding: 0px;\n}\n.v-list :deep(.v-label) {\n margin-left: 5px;\n}\n.v-list-item__icon {\n /* For some reason the default margin-right is huge */\n margin-right: 15px !important;\n}\n.v-list-item__title {\n color: white;\n}\n.v-expansion-panel-header {\n min-height: initial;\n padding: 0px;\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!./CmdTlmServer.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!./CmdTlmServer.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./CmdTlmServer.vue?vue&type=template&id=0766be25&scoped=true\"\nimport script from \"./CmdTlmServer.vue?vue&type=script&lang=js\"\nexport * from \"./CmdTlmServer.vue?vue&type=script&lang=js\"\nimport style0 from \"./CmdTlmServer.vue?vue&type=style&index=0&id=0766be25&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 \"0766be25\",\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-expansion-panel-content[data-v-0766be25] .v-expansion-panel-content__wrap{padding:0}.v-list[data-v-0766be25] .v-label{margin-left:5px}.v-list-item__icon[data-v-0766be25]{margin-right:15px!important}.v-list-item__title[data-v-0766be25]{color:#fff}.v-expansion-panel-header[data-v-0766be25]{min-height:auto;padding: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, `.app-title[data-v-0af23388]{font-size:2rem}.menu-button[data-v-0af23388]{border-color:var(--color-border-interactive-muted)!important;background-color:var(--color-background-base-default)!important;padding-right:3px!important}span.v-btn__content span[data-v-0af23388]{padding-right:5px}.list-action[data-v-0af23388] label{color:#fff;padding-left:10px}.myicon[data-v-0af23388]{background-color:var(--color-background-surface-selected);border:1px solid currentColor;border-radius:3px;height:36px!important;width:36px!important}.v-list[data-v-0af23388] .v-label{margin-left:5px}.v-list-item__icon[data-v-0af23388]{margin-right:15px!important}.v-list-item__title[data-v-0af23388]{color:#fff}`, \"\"]);\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!./CmdTlmServer.vue?vue&type=style&index=0&id=0766be25&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(\"b4684f92\", 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=0af23388&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(\"7f447726\", content, true, {\"sourceMap\":false,\"shadowMode\":false});"],"names":["ActionCable","staleThreshold","Cable","constructor","url","this","_cable","_url","disconnect","createSubscription","channel","scope","callbacks","additionalOptions","OpenC3Auth","updateToken","defaultMinValidity","then","refreshed","setTokens","final_url","encodeURIComponent","window","openc3Scope","localStorage","openc3Token","subscriptions","create","recordPing","connection","monitor","cov_231tmhe4yn","actualCoverage","s","render","f","_vm","_c","_self","attrs","menus","title","_v","model","value","panel","callback","$$v","expression","curTab","_l","tabs","tab","index","key","nativeOn","$event","stopPropagation","_s","name","refreshInterval","staticStyle","timeZone","optionsDialog","staticClass","on","staticRenderFns","scopedSlots","_u","fn","_g","_b","downloadLog","pause","buttonIcon","buttonLabel","logLevels","logLevel","search","clearLog","headers","shownData","item","timestamp","style","getColor","level","getStatus","message","dateFormat","timeFormat","timeFormatHMS","dateTimeFormat","methods","parseDateTime","dateString","includes","replace","Date","parse","formatUtcToLocal","date","format","subMinutes","getTimezoneOffset","formatDateTime","formatInTimeZone","formatDate","formatTime","formatString","formatTimeHMS","formatTimestamp","parseISO","formatSeconds","secs","formatNanoseconds","nanoSecs","parseInt","props","historyCount","type","Number","default","String","mixins","TimeFilters","data","AstroStatusColors","text","width","cable","subscription","paused","computed","watch","newVal","oldVal","created","destroyed","unsubscribe","received","messages","length","splice","filter","map","raw","json_class","result","i","nibble","toString","toUpperCase","replaceAll","reverse","concat","history_count","types","UnknownToAstroStatus","output","entry","microservice_name","join","blob","Blob","link","document","createElement","href","URL","createObjectURL","setAttribute","now","click","$dialog","confirm","okText","cancelText","dialog","catch","err","component","menu","ref","refInFor","formatDT","label","domProps","radioGroup","items","option","j","divider","subMenu","k","disabled","icon","_e","radio","checkbox","submenu","subMenuClick","command","checked","$set","Array","string","toLowerCase","$refs","topmenu","isActive","mounted","components","LogMessages","TopBar","api","updater","clearCounters","OpenC3Api","get_setting","response","b","error","get_interface_names","interface_cmd","___CSS_LOADER_EXPORT___","push","module","id","content","__esModule","locals","exports","add"],"sourceRoot":""}
@@ -1,2 +0,0 @@
1
- "use strict";(self["webpackChunk_openc3_cosmos_tool_cmdtlmserver"]=self["webpackChunk_openc3_cosmos_tool_cmdtlmserver"]||[]).push([[303],{8474:(e,n,t)=>{t.d(n,{A:()=>s});var l=t(4364);function a(){var e="/openc3/plugins/packages/openc3-cosmos-tool-cmdtlmserver/src/tools/CmdTlmServer/Updater.js",n="4a33e65af05f7d08e216a604150e8920749ac334",t=new Function("return this")(),l="__coverage__",s={path:"/openc3/plugins/packages/openc3-cosmos-tool-cmdtlmserver/src/tools/CmdTlmServer/Updater.js",statementMap:{0:{start:{line:32,column:4},end:{line:35,column:5}},1:{start:{line:38,column:4},end:{line:38,column:30}},2:{start:{line:41,column:4},end:{line:41,column:24}},3:{start:{line:44,column:4},end:{line:47,column:5}},4:{start:{line:45,column:6},end:{line:45,column:33}},5:{start:{line:46,column:6},end:{line:46,column:25}},6:{start:{line:52,column:6},end:{line:52,column:26}},7:{start:{line:57,column:6},end:{line:60,column:7}},8:{start:{line:58,column:8},end:{line:58,column:35}},9:{start:{line:59,column:8},end:{line:59,column:27}},10:{start:{line:61,column:6},end:{line:63,column:30}},11:{start:{line:62,column:8},end:{line:62,column:21}}},fnMap:{0:{name:"(anonymous_0)",decl:{start:{line:31,column:2},end:{line:31,column:3}},loc:{start:{line:31,column:9},end:{line:36,column:3}},line:31},1:{name:"(anonymous_1)",decl:{start:{line:37,column:2},end:{line:37,column:3}},loc:{start:{line:37,column:12},end:{line:39,column:3}},line:37},2:{name:"(anonymous_2)",decl:{start:{line:40,column:2},end:{line:40,column:3}},loc:{start:{line:40,column:12},end:{line:42,column:3}},line:40},3:{name:"(anonymous_3)",decl:{start:{line:43,column:2},end:{line:43,column:3}},loc:{start:{line:43,column:18},end:{line:48,column:3}},line:43},4:{name:"(anonymous_4)",decl:{start:{line:51,column:21},end:{line:51,column:22}},loc:{start:{line:51,column:47},end:{line:53,column:5}},line:51},5:{name:"(anonymous_5)",decl:{start:{line:56,column:4},end:{line:56,column:5}},loc:{start:{line:56,column:20},end:{line:64,column:5}},line:56},6:{name:"(anonymous_6)",decl:{start:{line:61,column:33},end:{line:61,column:34}},loc:{start:{line:61,column:39},end:{line:63,column:7}},line:61}},branchMap:{0:{loc:{start:{line:44,column:4},end:{line:47,column:5}},type:"if",locations:[{start:{line:44,column:4},end:{line:47,column:5}},{start:{line:void 0,column:void 0},end:{line:void 0,column:void 0}}],line:44},1:{loc:{start:{line:57,column:6},end:{line:60,column:7}},type:"if",locations:[{start:{line:57,column:6},end:{line:60,column:7}},{start:{line:void 0,column:void 0},end:{line:void 0,column:void 0}}],line:57}},s:{0:0,1:0,2:0,3:0,4:0,5:0,6:0,7:0,8:0,9:0,10:0,11:0},f:{0:0,1:0,2:0,3:0,4:0,5:0,6:0},b:{0:[0,0],1:[0,0]},_coverageSchema:"1a1c01bbd47fc00a2c39e90264f33305004495a9",hash:"4a33e65af05f7d08e216a604150e8920749ac334"},o=t[l]||(t[l]={});o[e]&&o[e].hash===n||(o[e]=s);var c=o[e];return a=function(){return c},c}a();const s={props:{refreshInterval:{default:1e3}},data(){return a().f[0]++,a().s[0]++,{updater:null,api:null}},created(){a().f[1]++,a().s[1]++,this.api=new l.x},mounted(){a().f[2]++,a().s[2]++,this.changeUpdater()},beforeDestroy(){a().f[3]++,a().s[3]++,null!=this.updater?(a().b[0][0]++,a().s[4]++,clearInterval(this.updater),a().s[5]++,this.updater=null):a().b[0][1]++},watch:{refreshInterval:function(e,n){a().f[4]++,a().s[6]++,this.changeUpdater()}},methods:{changeUpdater(){a().f[5]++,a().s[7]++,null!=this.updater?(a().b[1][0]++,a().s[8]++,clearInterval(this.updater),a().s[9]++,this.updater=null):a().b[1][1]++,a().s[10]++,this.updater=setInterval((()=>{a().f[6]++,a().s[11]++,this.update()}),this.refreshInterval)}}}},9303:(e,n,t)=>{function l(){var e="/openc3/plugins/packages/openc3-cosmos-tool-cmdtlmserver/src/tools/CmdTlmServer/StatusTab.vue",n="ad918f70dddcca844cb22b47e3cf269d8d1229b3",t=new Function("return this")(),a="__coverage__",s={path:"/openc3/plugins/packages/openc3-cosmos-tool-cmdtlmserver/src/tools/CmdTlmServer/StatusTab.vue",statementMap:{0:{start:{line:1,column:13},end:{line:5,column:1}},1:{start:{line:1,column:39},end:{line:1,column:43}},2:{start:{line:1,column:47},end:{line:1,column:59}},3:{start:{line:1,column:60},end:{line:4,column:84}},4:{start:{line:1,column:424},end:{line:1,column:438}},5:{start:{line:6,column:22},end:{line:6,column:24}}},fnMap:{0:{name:"render",decl:{start:{line:1,column:22},end:{line:1,column:28}},loc:{start:{line:1,column:30},end:{line:5,column:1}},line:1},1:{name:"(anonymous_1)",decl:{start:{line:1,column:408},end:{line:1,column:409}},loc:{start:{line:1,column:423},end:{line:1,column:439}},line:1}},branchMap:{},s:{0:0,1:0,2:0,3:0,4:0,5:0},f:{0:0,1:0},b:{},_coverageSchema:"1a1c01bbd47fc00a2c39e90264f33305004495a9",hash:"ad918f70dddcca844cb22b47e3cf269d8d1229b3"},o=t[a]||(t[a]={});o[e]&&o[e].hash===n||(o[e]=s);var c=o[e];return l=function(){return c},c}t.r(n),t.d(n,{default:()=>A}),l(),l().s[0]++;var a=function(){l().f[0]++;var e=(l().s[1]++,this),n=(l().s[2]++,e._self._c);return l().s[3]++,n("div",[n("v-card",[n("v-card-title",[e._v("\n "+e._s(e.data.length)+" Metrics\n "),n("v-spacer"),e._v(" "),n("v-text-field",{staticClass:"search",attrs:{label:"Search","prepend-inner-icon":"mdi-magnify",clearable:"",outlined:"",dense:"","single-line":"","hide-details":""},model:{value:e.search,callback:function(n){l().f[1]++,l().s[4]++,e.search=n},expression:"search"}})],1),e._v(" "),n("v-data-table",{attrs:{headers:e.headers,items:e.data,search:e.search,"items-per-page":10,"footer-props":{itemsPerPageOptions:[10,20,50,100,1e3],showFirstLastPage:!0},"calculate-widths":"","multi-sort":"","data-test":"metrics-table"}})],1)],1)},s=(l().s[5]++,[]),o=(t(9375),t(8474)),c=t(4364);function r(){var e="/openc3/plugins/packages/openc3-cosmos-tool-cmdtlmserver/src/tools/CmdTlmServer/StatusTab.vue",n="f8ab898151b3156d92fa7af11b0c762f2cef2e2c",t=new Function("return this")(),l="__coverage__",a={path:"/openc3/plugins/packages/openc3-cosmos-tool-cmdtlmserver/src/tools/CmdTlmServer/StatusTab.vue",statementMap:{0:{start:{line:12,column:4},end:{line:35,column:5}},1:{start:{line:39,column:6},end:{line:39,column:43}},2:{start:{line:39,column:37},end:{line:39,column:43}},3:{start:{line:40,column:6},end:{line:45,column:8}},4:{start:{line:41,column:8},end:{line:41,column:22}},5:{start:{line:42,column:8},end:{line:44,column:9}},6:{start:{line:43,column:10},end:{line:43,column:60}}},fnMap:{0:{name:"(anonymous_0)",decl:{start:{line:11,column:2},end:{line:11,column:3}},loc:{start:{line:11,column:9},end:{line:36,column:3}},line:11},1:{name:"(anonymous_1)",decl:{start:{line:38,column:4},end:{line:38,column:5}},loc:{start:{line:38,column:13},end:{line:46,column:5}},line:38},2:{name:"(anonymous_2)",decl:{start:{line:40,column:34},end:{line:40,column:35}},loc:{start:{line:40,column:47},end:{line:45,column:7}},line:40}},branchMap:{0:{loc:{start:{line:39,column:6},end:{line:39,column:43}},type:"if",locations:[{start:{line:39,column:6},end:{line:39,column:43}},{start:{line:void 0,column:void 0},end:{line:void 0,column:void 0}}],line:39}},s:{0:0,1:0,2:0,3:0,4:0,5:0,6:0},f:{0:0,1:0,2:0},b:{0:[0,0]},inputSourceMap:{version:3,sources:["StatusTab.vue"],names:[],mappings:";AA4DA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA",file:"StatusTab.vue",sourceRoot:"src/tools/CmdTlmServer",sourcesContent:["\x3c!--\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--\x3e\n\n<template>\n <div>\n \x3c!-- Use a container here so we can do cols=\"auto\" to resize v-select --\x3e\n <v-card>\n <v-card-title>\n {{ data.length }} Metrics\n <v-spacer />\n <v-text-field\n v-model=\"search\"\n label=\"Search\"\n prepend-inner-icon=\"mdi-magnify\"\n clearable\n outlined\n dense\n single-line\n hide-details\n class=\"search\"\n />\n </v-card-title>\n <v-data-table\n :headers=\"headers\"\n :items=\"data\"\n :search=\"search\"\n :items-per-page=\"10\"\n :footer-props=\"{\n itemsPerPageOptions: [10, 20, 50, 100, 1000],\n showFirstLastPage: true,\n }\"\n calculate-widths\n multi-sort\n data-test=\"metrics-table\"\n >\n </v-data-table>\n </v-card>\n </div>\n</template>\n\n<script>\nimport Updater from './Updater'\nimport { OpenC3Api } from '@openc3/tool-common/src/services/openc3-api'\n\nexport default {\n mixins: [Updater],\n props: {\n tabId: Number,\n curTab: Number,\n },\n data() {\n return {\n api: new OpenC3Api(),\n apiStatus: [],\n apiHeaders: [\n { text: 'Port', value: 'port' },\n { text: 'Clients', value: 'clients' },\n { text: 'Requests', value: 'requests' },\n { text: 'Avg Request Time', value: 'avgTime' },\n { text: 'Server Threads', value: 'threads' },\n ],\n backgroundTasks: [],\n backgroundHeaders: [\n { text: 'Name', value: 'name' },\n { text: 'State', value: 'state' },\n { text: 'Status', value: 'status' },\n { text: 'Control', value: 'control' },\n ],\n search: '',\n data: [],\n headers: [\n { text: 'Metric', value: 'metric_name' },\n { text: 'Value', value: 'value' },\n ],\n }\n },\n methods: {\n update() {\n if (this.tabId != this.curTab) return\n this.api.get_metrics().then((metrics) => {\n this.data = []\n for (const [key, value] of Object.entries(metrics)) {\n this.data.push({ metric_name: key, value: value })\n }\n })\n },\n },\n}\n<\/script>\n"]},_coverageSchema:"1a1c01bbd47fc00a2c39e90264f33305004495a9",hash:"f8ab898151b3156d92fa7af11b0c762f2cef2e2c"},s=t[l]||(t[l]={});s[e]&&s[e].hash===n||(s[e]=a);var o=s[e];return r=function(){return o},o}r();const i={mixins:[o.A],props:{tabId:Number,curTab:Number},data(){return r().f[0]++,r().s[0]++,{api:new c.x,apiStatus:[],apiHeaders:[{text:"Port",value:"port"},{text:"Clients",value:"clients"},{text:"Requests",value:"requests"},{text:"Avg Request Time",value:"avgTime"},{text:"Server Threads",value:"threads"}],backgroundTasks:[],backgroundHeaders:[{text:"Name",value:"name"},{text:"State",value:"state"},{text:"Status",value:"status"},{text:"Control",value:"control"}],search:"",data:[],headers:[{text:"Metric",value:"metric_name"},{text:"Value",value:"value"}]}},methods:{update(){if(r().f[1]++,r().s[1]++,this.tabId!=this.curTab)return r().b[0][0]++,void r().s[2]++;r().b[0][1]++,r().s[3]++,this.api.get_metrics().then((e=>{r().f[2]++,r().s[4]++,this.data=[],r().s[5]++;for(const[n,t]of Object.entries(e))r().s[6]++,this.data.push({metric_name:n,value:t})}))}}},u=i;var m=t(2401),d=(0,m.A)(u,a,s,!1,null,null,null);const A=d.exports}}]);
2
- //# sourceMappingURL=303.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"js/303.js","mappings":"kyFAeY,OAAAA,EAAA,kBAAAC,CAAA,EAAAA,CAAA,CAAAD,IASZ,SACEE,MAAO,CACLC,gBAAiB,CACfC,QAAS,MAGbC,IAAAA,GACE,OADKL,IAAAM,EAAA,KAAAN,IAAAO,EAAA,KACE,CACLC,QAAS,KACTC,IAAK,KAET,EACAC,OAAAA,GAAUV,IAAAM,EAAA,KAA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KAAA,QAAAhB,MAAA,UAGA,EACAd,QAAA,CACAE,MAAAA,GACA,GADAC,IAAAlB,EAAA,KAAAkB,IAAAjB,EAAA,KACA,KAAAuC,OAAA,KAAAE,OAAA,OAAAxB,IAAAR,EAAA,aAAAQ,IAAAjB,EAAA,KAAAiB,IAAAR,EAAA,QAAAQ,IAAAjB,EAAA,KACA,KAAAE,IAAA6C,cAAAC,MAAAC,IAAAhC,IAAAlB,EAAA,KAAAkB,IAAAjB,EAAA,KACA,KAAAF,KAAA,GAAAmB,IAAAjB,EAAA,KACA,UAAAkD,EAAAtB,KAAAuB,OAAAC,QAAAH,GAAAhC,IAAAjB,EAAA,KACA,KAAAF,KAAAuD,KAAA,CAAAC,YAAAJ,EAAAtB,MAAAA,GACA,GAEA,ICxGsT,I,cCOlT2B,GAAY,OACd,EACArC,EACAkB,GACA,EACA,KACA,KACA,MAIF,QAAemB,EAAiB,O","sources":["webpack://@openc3/cosmos-tool-cmdtlmserver/./src/tools/CmdTlmServer/Updater.js","webpack://@openc3/cosmos-tool-cmdtlmserver/./src/tools/CmdTlmServer/StatusTab.vue","webpack://@openc3/cosmos-tool-cmdtlmserver/src/tools/CmdTlmServer/StatusTab.vue","webpack://@openc3/cosmos-tool-cmdtlmserver/./src/tools/CmdTlmServer/StatusTab.vue?0093","webpack://@openc3/cosmos-tool-cmdtlmserver/./src/tools/CmdTlmServer/StatusTab.vue?7de2"],"sourcesContent":["/*\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 { OpenC3Api } from '@openc3/tool-common/src/services/openc3-api'\n\nexport default {\n props: {\n refreshInterval: {\n default: 1000,\n },\n },\n data() {\n return {\n updater: null,\n api: null,\n }\n },\n created() {\n this.api = new OpenC3Api()\n },\n mounted() {\n this.changeUpdater()\n },\n beforeDestroy() {\n if (this.updater != null) {\n clearInterval(this.updater)\n this.updater = null\n }\n },\n watch: {\n // eslint-disable-next-line no-unused-vars\n refreshInterval: function (newVal, oldVal) {\n this.changeUpdater()\n },\n },\n methods: {\n changeUpdater() {\n if (this.updater != null) {\n clearInterval(this.updater)\n this.updater = null\n }\n this.updater = setInterval(() => {\n this.update()\n }, this.refreshInterval)\n },\n },\n}\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('v-card',[_c('v-card-title',[_vm._v(\"\\n \"+_vm._s(_vm.data.length)+\" Metrics\\n \"),_c('v-spacer'),_vm._v(\" \"),_c('v-text-field',{staticClass:\"search\",attrs:{\"label\":\"Search\",\"prepend-inner-icon\":\"mdi-magnify\",\"clearable\":\"\",\"outlined\":\"\",\"dense\":\"\",\"single-line\":\"\",\"hide-details\":\"\"},model:{value:(_vm.search),callback:function ($$v) {_vm.search=$$v},expression:\"search\"}})],1),_vm._v(\" \"),_c('v-data-table',{attrs:{\"headers\":_vm.headers,\"items\":_vm.data,\"search\":_vm.search,\"items-per-page\":10,\"footer-props\":{\n itemsPerPageOptions: [10, 20, 50, 100, 1000],\n showFirstLastPage: true,\n },\"calculate-widths\":\"\",\"multi-sort\":\"\",\"data-test\":\"metrics-table\"}})],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\n<template>\n <div>\n <!-- Use a container here so we can do cols=\"auto\" to resize v-select -->\n <v-card>\n <v-card-title>\n {{ data.length }} Metrics\n <v-spacer />\n <v-text-field\n v-model=\"search\"\n label=\"Search\"\n prepend-inner-icon=\"mdi-magnify\"\n clearable\n outlined\n dense\n single-line\n hide-details\n class=\"search\"\n />\n </v-card-title>\n <v-data-table\n :headers=\"headers\"\n :items=\"data\"\n :search=\"search\"\n :items-per-page=\"10\"\n :footer-props=\"{\n itemsPerPageOptions: [10, 20, 50, 100, 1000],\n showFirstLastPage: true,\n }\"\n calculate-widths\n multi-sort\n data-test=\"metrics-table\"\n >\n </v-data-table>\n </v-card>\n </div>\n</template>\n\n<script>\nimport Updater from './Updater'\nimport { OpenC3Api } from '@openc3/tool-common/src/services/openc3-api'\n\nexport default {\n mixins: [Updater],\n props: {\n tabId: Number,\n curTab: Number,\n },\n data() {\n return {\n api: new OpenC3Api(),\n apiStatus: [],\n apiHeaders: [\n { text: 'Port', value: 'port' },\n { text: 'Clients', value: 'clients' },\n { text: 'Requests', value: 'requests' },\n { text: 'Avg Request Time', value: 'avgTime' },\n { text: 'Server Threads', value: 'threads' },\n ],\n backgroundTasks: [],\n backgroundHeaders: [\n { text: 'Name', value: 'name' },\n { text: 'State', value: 'state' },\n { text: 'Status', value: 'status' },\n { text: 'Control', value: 'control' },\n ],\n search: '',\n data: [],\n headers: [\n { text: 'Metric', value: 'metric_name' },\n { text: 'Value', value: 'value' },\n ],\n }\n },\n methods: {\n update() {\n if (this.tabId != this.curTab) return\n this.api.get_metrics().then((metrics) => {\n this.data = []\n for (const [key, value] of Object.entries(metrics)) {\n this.data.push({ metric_name: key, value: value })\n }\n })\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!./StatusTab.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!./StatusTab.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./StatusTab.vue?vue&type=template&id=8b007b9a\"\nimport script from \"./StatusTab.vue?vue&type=script&lang=js\"\nexport * from \"./StatusTab.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"],"names":["cov_18iatml2cn","actualCoverage","props","refreshInterval","default","data","f","s","updater","api","created","this","OpenC3Api","mounted","changeUpdater","beforeDestroy","b","clearInterval","watch","newVal","oldVal","methods","setInterval","update","cov_2ntlonrahl","render","_vm","_c","_self","_v","_s","length","staticClass","attrs","model","value","search","callback","$$v","expression","headers","itemsPerPageOptions","showFirstLastPage","staticRenderFns","mixins","Updater","tabId","Number","curTab","apiStatus","apiHeaders","text","backgroundTasks","backgroundHeaders","get_metrics","then","metrics","key","Object","entries","push","metric_name","component"],"sourceRoot":""}
@@ -1,2 +0,0 @@
1
- "use strict";(self["webpackChunk_openc3_cosmos_tool_cmdtlmserver"]=self["webpackChunk_openc3_cosmos_tool_cmdtlmserver"]||[]).push([[305],{4305:(n,e,l)=>{function t(){var n="/openc3/plugins/packages/openc3-cosmos-tool-cmdtlmserver/src/tools/CmdTlmServer/CmdPacketsTab.vue",e="176b88f04554fa9db4d6defb6c2438a7982e5166",l=new Function("return this")(),a="__coverage__",i={path:"/openc3/plugins/packages/openc3-cosmos-tool-cmdtlmserver/src/tools/CmdTlmServer/CmdPacketsTab.vue",statementMap:{0:{start:{line:1,column:13},end:{line:5,column:1}},1:{start:{line:1,column:39},end:{line:1,column:43}},2:{start:{line:1,column:47},end:{line:1,column:59}},3:{start:{line:1,column:60},end:{line:4,column:1151}},4:{start:{line:1,column:418},end:{line:1,column:432}},5:{start:{line:4,column:202},end:{line:4,column:416}},6:{start:{line:4,column:314},end:{line:4,column:372}},7:{start:{line:4,column:472},end:{line:4,column:804}},8:{start:{line:4,column:618},end:{line:4,column:678}},9:{start:{line:4,column:859},end:{line:4,column:1145}},10:{start:{line:4,column:1067},end:{line:4,column:1095}},11:{start:{line:4,column:1122},end:{line:4,column:1141}},12:{start:{line:6,column:22},end:{line:6,column:24}}},fnMap:{0:{name:"render",decl:{start:{line:1,column:22},end:{line:1,column:28}},loc:{start:{line:1,column:30},end:{line:5,column:1}},line:1},1:{name:"(anonymous_1)",decl:{start:{line:1,column:402},end:{line:1,column:403}},loc:{start:{line:1,column:417},end:{line:1,column:433}},line:1},2:{name:"(anonymous_2)",decl:{start:{line:4,column:183},end:{line:4,column:184}},loc:{start:{line:4,column:201},end:{line:4,column:417}},line:4},3:{name:"(anonymous_3)",decl:{start:{line:4,column:297},end:{line:4,column:298}},loc:{start:{line:4,column:313},end:{line:4,column:373}},line:4},4:{name:"(anonymous_4)",decl:{start:{line:4,column:453},end:{line:4,column:454}},loc:{start:{line:4,column:471},end:{line:4,column:805}},line:4},5:{name:"(anonymous_5)",decl:{start:{line:4,column:601},end:{line:4,column:602}},loc:{start:{line:4,column:617},end:{line:4,column:679}},line:4},6:{name:"(anonymous_6)",decl:{start:{line:4,column:847},end:{line:4,column:848}},loc:{start:{line:4,column:858},end:{line:4,column:1146}},line:4},7:{name:"(anonymous_7)",decl:{start:{line:4,column:1050},end:{line:4,column:1051}},loc:{start:{line:4,column:1066},end:{line:4,column:1096}},line:4},8:{name:"(anonymous_8)",decl:{start:{line:4,column:1105},end:{line:4,column:1106}},loc:{start:{line:4,column:1121},end:{line:4,column:1142}},line:4}},branchMap:{0:{loc:{start:{line:4,column:480},end:{line:4,column:803}},type:"cond-expr",locations:[{start:{line:4,column:513},end:{line:4,column:539}},{start:{line:4,column:540},end:{line:4,column:803}}],line:4}},s:{0:0,1:0,2:0,3:0,4:0,5:0,6:0,7:0,8:0,9:0,10:0,11:0,12:0},f:{0:0,1:0,2:0,3:0,4:0,5:0,6:0,7:0,8:0},b:{0:[0,0]},_coverageSchema:"1a1c01bbd47fc00a2c39e90264f33305004495a9",hash:"176b88f04554fa9db4d6defb6c2438a7982e5166"},o=l[a]||(l[a]={});o[n]&&o[n].hash===e||(o[n]=i);var c=o[n];return t=function(){return c},c}l.r(e),l.d(e,{default:()=>A}),t(),t().s[0]++;var a=function(){t().f[0]++;var n=(t().s[1]++,this),e=(t().s[2]++,n._self._c);return t().s[3]++,e("v-card",[e("v-card-title",[n._v("\n "+n._s(n.data.length)+" Command Packets\n "),e("v-spacer"),n._v(" "),e("v-text-field",{staticClass:"search",attrs:{label:"Search","prepend-inner-icon":"mdi-magnify",clearable:"",outlined:"",dense:"","single-line":"","hide-details":""},model:{value:n.search,callback:function(e){t().f[1]++,t().s[4]++,n.search=e},expression:"search"}})],1),n._v(" "),e("v-data-table",{attrs:{headers:n.headers,items:n.data,search:n.search,"items-per-page":10,"footer-props":{itemsPerPageOptions:[10,20,50,100],showFirstLastPage:!0},"sort-by":"target_name","calculate-widths":"","multi-sort":"","data-test":"cmd-packets-table"},on:{"current-items":n.currentItems},scopedSlots:n._u([{key:"item.view_raw",fn:function({item:l}){return t().f[2]++,t().s[5]++,[e("v-btn",{attrs:{block:"",color:"primary",disabled:l.count<1},on:{click:function(e){return t().f[3]++,t().s[6]++,n.openViewRaw(l.target_name,l.packet_name)}}},[n._v("\n View Raw\n ")])]}},{key:"item.view_in_cmd_sender",fn:function({item:l}){return t().f[4]++,t().s[7]++,["UNKNOWN"===l.target_name?(t().b[0][0]++,e("span",[n._v("N/A")])):(t().b[0][1]++,e("v-btn",{attrs:{block:"",color:"primary"},on:{click:function(e){return t().f[5]++,t().s[8]++,n.openCmdSender(l.target_name,l.packet_name)}}},[n._v("\n View In Command Sender\n "),e("v-icon",{attrs:{right:""}},[n._v(" mdi-open-in-new ")])],1))]}}])}),n._v(" "),n._l(n.rawDialogs,(function(l){return t().f[6]++,t().s[9]++,e("raw-dialog",{key:l.target_name+"_"+l.packet_name,attrs:{type:"Command","target-name":l.target_name,"packet-name":l.packet_name,visible:!0,"z-index":l.zIndex},on:{close:function(e){return t().f[7]++,t().s[10]++,n.closeRawDialog(l)},focus:function(e){return t().f[8]++,t().s[11]++,n.focus(l)}}})}))],2)},i=(t().s[12]++,[]),o=l(8474),c=l(6328);function m(){var n="/openc3/plugins/packages/openc3-cosmos-tool-cmdtlmserver/src/tools/CmdTlmServer/CmdPacketsTab.vue",e="a45e140a9b3b8405633e656f4f9308eb73dd7926",l=new Function("return this")(),t="__coverage__",a={path:"/openc3/plugins/packages/openc3-cosmos-tool-cmdtlmserver/src/tools/CmdTlmServer/CmdPacketsTab.vue",statementMap:{0:{start:{line:15,column:4},end:{line:27,column:5}},1:{start:{line:30,column:4},end:{line:40,column:6}},2:{start:{line:31,column:6},end:{line:39,column:8}},3:{start:{line:32,column:8},end:{line:38,column:10}},4:{start:{line:33,column:10},end:{line:37,column:11}},5:{start:{line:35,column:14},end:{line:35,column:75}},6:{start:{line:44,column:6},end:{line:46,column:8}},7:{start:{line:45,column:8},end:{line:45,column:25}},8:{start:{line:47,column:14},end:{line:47,column:45}},9:{start:{line:48,column:6},end:{line:48,column:35}},10:{start:{line:51,column:6},end:{line:53,column:8}},11:{start:{line:52,column:8},end:{line:52,column:25}},12:{start:{line:54,column:6},end:{line:58,column:8}},13:{start:{line:61,column:14},end:{line:61,column:45}},14:{start:{line:62,column:6},end:{line:62,column:34}},15:{start:{line:65,column:22},end:{line:71,column:8}},16:{start:{line:72,column:6},end:{line:72,column:77}},17:{start:{line:75,column:6},end:{line:77,column:8}},18:{start:{line:76,column:8},end:{line:76,column:45}},19:{start:{line:80,column:6},end:{line:80,column:43}},20:{start:{line:80,column:37},end:{line:80,column:43}},21:{start:{line:81,column:6},end:{line:81,column:44}},22:{start:{line:81,column:38},end:{line:81,column:44}},23:{start:{line:82,column:6},end:{line:91,column:8}},24:{start:{line:83,column:8},end:{line:90,column:9}},25:{start:{line:83,column:21},end:{line:83,column:22}},26:{start:{line:84,column:22},end:{line:88,column:11}},27:{start:{line:86,column:14},end:{line:87,column:53}},28:{start:{line:89,column:10},end:{line:89,column:44}}},fnMap:{0:{name:"(anonymous_0)",decl:{start:{line:14,column:2},end:{line:14,column:3}},loc:{start:{line:14,column:9},end:{line:28,column:3}},line:14},1:{name:"(anonymous_1)",decl:{start:{line:29,column:2},end:{line:29,column:3}},loc:{start:{line:29,column:12},end:{line:41,column:3}},line:29},2:{name:"(anonymous_2)",decl:{start:{line:30,column:37},end:{line:30,column:38}},loc:{start:{line:30,column:50},end:{line:40,column:5}},line:30},3:{name:"(anonymous_3)",decl:{start:{line:31,column:18},end:{line:31,column:19}},loc:{start:{line:31,column:30},end:{line:39,column:7}},line:31},4:{name:"(anonymous_4)",decl:{start:{line:32,column:48},end:{line:32,column:49}},loc:{start:{line:32,column:59},end:{line:38,column:9}},line:32},5:{name:"(anonymous_5)",decl:{start:{line:34,column:22},end:{line:34,column:23}},loc:{start:{line:34,column:34},end:{line:36,column:13}},line:34},6:{name:"(anonymous_6)",decl:{start:{line:43,column:4},end:{line:43,column:5}},loc:{start:{line:43,column:18},end:{line:49,column:5}},line:43},7:{name:"(anonymous_7)",decl:{start:{line:44,column:26},end:{line:44,column:27}},loc:{start:{line:44,column:38},end:{line:46,column:7}},line:44},8:{name:"(anonymous_8)",decl:{start:{line:50,column:4},end:{line:50,column:5}},loc:{start:{line:50,column:42},end:{line:59,column:5}},line:50},9:{name:"(anonymous_9)",decl:{start:{line:51,column:26},end:{line:51,column:27}},loc:{start:{line:51,column:38},end:{line:53,column:7}},line:51},10:{name:"(anonymous_10)",decl:{start:{line:60,column:4},end:{line:60,column:5}},loc:{start:{line:60,column:27},end:{line:63,column:5}},line:60},11:{name:"(anonymous_11)",decl:{start:{line:64,column:4},end:{line:64,column:5}},loc:{start:{line:64,column:44},end:{line:73,column:5}},line:64},12:{name:"(anonymous_12)",decl:{start:{line:74,column:4},end:{line:74,column:5}},loc:{start:{line:74,column:24},end:{line:78,column:5}},line:74},13:{name:"(anonymous_13)",decl:{start:{line:75,column:31},end:{line:75,column:32}},loc:{start:{line:75,column:38},end:{line:77,column:7}},line:75},14:{name:"(anonymous_14)",decl:{start:{line:79,column:4},end:{line:79,column:5}},loc:{start:{line:79,column:13},end:{line:92,column:5}},line:79},15:{name:"(anonymous_15)",decl:{start:{line:82,column:47},end:{line:82,column:48}},loc:{start:{line:82,column:59},end:{line:91,column:7}},line:82},16:{name:"(anonymous_16)",decl:{start:{line:85,column:12},end:{line:85,column:13}},loc:{start:{line:86,column:14},end:{line:87,column:53}},line:86}},branchMap:{0:{loc:{start:{line:80,column:6},end:{line:80,column:43}},type:"if",locations:[{start:{line:80,column:6},end:{line:80,column:43}},{start:{line:void 0,column:void 0},end:{line:void 0,column:void 0}}],line:80},1:{loc:{start:{line:81,column:6},end:{line:81,column:44}},type:"if",locations:[{start:{line:81,column:6},end:{line:81,column:44}},{start:{line:void 0,column:void 0},end:{line:void 0,column:void 0}}],line:81},2:{loc:{start:{line:86,column:14},end:{line:87,column:53}},type:"binary-expr",locations:[{start:{line:86,column:14},end:{line:86,column:53}},{start:{line:87,column:14},end:{line:87,column:53}}],line:86}},s:{0:0,1:0,2:0,3:0,4:0,5:0,6:0,7:0,8:0,9:0,10:0,11:0,12:0,13:0,14:0,15:0,16:0,17:0,18:0,19:0,20:0,21:0,22:0,23:0,24:0,25:0,26:0,27:0,28:0},f:{0:0,1:0,2:0,3:0,4:0,5:0,6:0,7:0,8:0,9:0,10:0,11:0,12:0,13:0,14:0,15:0,16:0},b:{0:[0,0],1:[0,0],2:[0,0]},inputSourceMap:{version:3,sources:["CmdPacketsTab.vue"],names:[],mappings:";AA4FA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA",file:"CmdPacketsTab.vue",sourceRoot:"src/tools/CmdTlmServer",sourcesContent:['\x3c!--\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 2023, 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--\x3e\n\n<template>\n <v-card>\n <v-card-title>\n {{ data.length }} Command Packets\n <v-spacer />\n <v-text-field\n v-model="search"\n label="Search"\n prepend-inner-icon="mdi-magnify"\n clearable\n outlined\n dense\n single-line\n hide-details\n class="search"\n />\n </v-card-title>\n <v-data-table\n :headers="headers"\n :items="data"\n :search="search"\n :items-per-page="10"\n :footer-props="{\n itemsPerPageOptions: [10, 20, 50, 100],\n showFirstLastPage: true,\n }"\n sort-by="target_name"\n @current-items="currentItems"\n calculate-widths\n multi-sort\n data-test="cmd-packets-table"\n >\n <template v-slot:item.view_raw="{ item }">\n <v-btn\n block\n color="primary"\n :disabled="item.count < 1"\n @click="openViewRaw(item.target_name, item.packet_name)"\n >\n View Raw\n </v-btn>\n </template>\n <template v-slot:item.view_in_cmd_sender="{ item }">\n <span v-if="item.target_name === \'UNKNOWN\'">N/A</span>\n <v-btn\n v-else\n block\n color="primary"\n @click="openCmdSender(item.target_name, item.packet_name)"\n >\n View In Command Sender\n <v-icon right> mdi-open-in-new </v-icon>\n </v-btn>\n </template>\n </v-data-table>\n <raw-dialog\n v-for="d in rawDialogs"\n :key="d.target_name + \'_\' + d.packet_name"\n type="Command"\n :target-name="d.target_name"\n :packet-name="d.packet_name"\n :visible="true"\n :z-index="d.zIndex"\n @close="closeRawDialog(d)"\n @focus="focus(d)"\n />\n </v-card>\n</template>\n\n<script>\nimport Updater from \'./Updater\'\nimport RawDialog from \'./RawDialog\'\n\nexport default {\n components: {\n RawDialog,\n },\n mixins: [Updater],\n props: {\n tabId: Number,\n curTab: Number,\n },\n data() {\n return {\n search: \'\',\n data: [],\n headers: [\n { text: \'Target Name\', value: \'target_name\' },\n { text: \'Packet Name\', value: \'packet_name\' },\n { text: \'Packet Count\', value: \'count\' },\n { text: \'View Raw\', value: \'view_raw\' },\n { text: \'View In Command Sender\', value: \'view_in_cmd_sender\' },\n ],\n rawDialogs: [],\n visible: null,\n }\n },\n created() {\n this.api.get_target_names().then((targets) => {\n targets.map((target) => {\n this.api.get_all_cmd_names(target).then((names) => {\n this.data = this.data.concat(\n names.map((packet) => {\n return { target_name: target, packet_name: packet, count: 0 }\n }),\n )\n })\n })\n })\n },\n methods: {\n focus(dialog) {\n this.rawDialogs.map((dialog) => {\n dialog.zIndex = 1\n })\n let i = this.rawDialogs.indexOf(dialog)\n this.rawDialogs[i].zIndex = 2\n },\n openViewRaw(target_name, packet_name) {\n this.rawDialogs.map((dialog) => {\n dialog.zIndex = 1\n })\n this.rawDialogs = this.rawDialogs.concat({\n target_name: target_name,\n packet_name: packet_name,\n zIndex: 2,\n })\n },\n closeRawDialog(dialog) {\n let i = this.rawDialogs.indexOf(dialog)\n this.rawDialogs.splice(i, 1)\n },\n openCmdSender(target_name, packet_name) {\n let routeData = this.$router.resolve({\n name: \'CommandSender\',\n params: {\n target: target_name,\n packet: packet_name,\n },\n })\n window.open(`/tools/cmdsender/${target_name}/${packet_name}`, \'_blank\')\n },\n currentItems(event) {\n this.visible = event.map((i) => {\n return [i.target_name, i.packet_name]\n })\n },\n update() {\n if (this.tabId != this.curTab) return\n if (this.currentItems === null) return\n this.api.get_cmd_cnts(this.visible).then((counts) => {\n for (let i = 0; i < counts.length; i++) {\n let index = this.data.findIndex(\n (item) =>\n item.target_name === this.visible[i][0] &&\n item.packet_name === this.visible[i][1],\n )\n this.data[index].count = counts[i]\n }\n })\n },\n },\n}\n<\/script>\n']},_coverageSchema:"1a1c01bbd47fc00a2c39e90264f33305004495a9",hash:"a45e140a9b3b8405633e656f4f9308eb73dd7926"},i=l[t]||(l[t]={});i[n]&&i[n].hash===e||(i[n]=a);var o=i[n];return m=function(){return o},o}m();const s={components:{RawDialog:c.A},mixins:[o.A],props:{tabId:Number,curTab:Number},data(){return m().f[0]++,m().s[0]++,{search:"",data:[],headers:[{text:"Target Name",value:"target_name"},{text:"Packet Name",value:"packet_name"},{text:"Packet Count",value:"count"},{text:"View Raw",value:"view_raw"},{text:"View In Command Sender",value:"view_in_cmd_sender"}],rawDialogs:[],visible:null}},created(){m().f[1]++,m().s[1]++,this.api.get_target_names().then((n=>{m().f[2]++,m().s[2]++,n.map((n=>{m().f[3]++,m().s[3]++,this.api.get_all_cmd_names(n).then((e=>{m().f[4]++,m().s[4]++,this.data=this.data.concat(e.map((e=>(m().f[5]++,m().s[5]++,{target_name:n,packet_name:e,count:0}))))}))}))}))},methods:{focus(n){m().f[6]++,m().s[6]++,this.rawDialogs.map((n=>{m().f[7]++,m().s[7]++,n.zIndex=1}));let e=(m().s[8]++,this.rawDialogs.indexOf(n));m().s[9]++,this.rawDialogs[e].zIndex=2},openViewRaw(n,e){m().f[8]++,m().s[10]++,this.rawDialogs.map((n=>{m().f[9]++,m().s[11]++,n.zIndex=1})),m().s[12]++,this.rawDialogs=this.rawDialogs.concat({target_name:n,packet_name:e,zIndex:2})},closeRawDialog(n){m().f[10]++;let e=(m().s[13]++,this.rawDialogs.indexOf(n));m().s[14]++,this.rawDialogs.splice(e,1)},openCmdSender(n,e){m().f[11]++;m().s[15]++,this.$router.resolve({name:"CommandSender",params:{target:n,packet:e}});m().s[16]++,window.open(`/tools/cmdsender/${n}/${e}`,"_blank")},currentItems(n){m().f[12]++,m().s[17]++,this.visible=n.map((n=>(m().f[13]++,m().s[18]++,[n.target_name,n.packet_name])))},update(){return m().f[14]++,m().s[19]++,this.tabId!=this.curTab?(m().b[0][0]++,void m().s[20]++):(m().b[0][1]++,m().s[21]++,null===this.currentItems?(m().b[1][0]++,void m().s[22]++):(m().b[1][1]++,m().s[23]++,void this.api.get_cmd_cnts(this.visible).then((n=>{m().f[15]++,m().s[24]++;for(let e=(m().s[25]++,0);e<n.length;e++){let l=(m().s[26]++,this.data.findIndex((n=>(m().f[16]++,m().s[27]++,m().b[2][0]++,n.target_name===this.visible[e][0]&&(m().b[2][1]++,n.packet_name===this.visible[e][1])))));m().s[28]++,this.data[l].count=n[e]}}))))}}},r=s;var u=l(2401),d=(0,u.A)(r,a,i,!1,null,null,null);const A=d.exports}}]);
2
- //# sourceMappingURL=305.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"js/305.js","mappings":"86FAeY,OAAAA,EAAA,kBAAAC,CAAA,EAAAA,CAAA,C,8BAAAD,IAAAA,IAAAE,EAA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AAAN,EAAAI,cAAA,KAAAoB,QAAAc,GAAA,KAAApE,IAAAoC,EAAA,QACAN,EAAAK,cAAA,KAAAmB,QAAAc,GAAA,QACApE,IAAAE,EAAA,MACA,KAAAS,KAAAsE,GAAAlD,MAAAiD,EAAAZ,EACA,MAEA,ICtL0T,I,cCOtTe,GAAY,OACd,EACAhF,EACAyC,GACA,EACA,KACA,KACA,MAIF,QAAeuC,EAAiB,O","sources":["webpack://@openc3/cosmos-tool-cmdtlmserver/./src/tools/CmdTlmServer/CmdPacketsTab.vue","webpack://@openc3/cosmos-tool-cmdtlmserver/src/tools/CmdTlmServer/CmdPacketsTab.vue","webpack://@openc3/cosmos-tool-cmdtlmserver/./src/tools/CmdTlmServer/CmdPacketsTab.vue?8876","webpack://@openc3/cosmos-tool-cmdtlmserver/./src/tools/CmdTlmServer/CmdPacketsTab.vue?5363"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-card',[_c('v-card-title',[_vm._v(\"\\n \"+_vm._s(_vm.data.length)+\" Command Packets\\n \"),_c('v-spacer'),_vm._v(\" \"),_c('v-text-field',{staticClass:\"search\",attrs:{\"label\":\"Search\",\"prepend-inner-icon\":\"mdi-magnify\",\"clearable\":\"\",\"outlined\":\"\",\"dense\":\"\",\"single-line\":\"\",\"hide-details\":\"\"},model:{value:(_vm.search),callback:function ($$v) {_vm.search=$$v},expression:\"search\"}})],1),_vm._v(\" \"),_c('v-data-table',{attrs:{\"headers\":_vm.headers,\"items\":_vm.data,\"search\":_vm.search,\"items-per-page\":10,\"footer-props\":{\n itemsPerPageOptions: [10, 20, 50, 100],\n showFirstLastPage: true,\n },\"sort-by\":\"target_name\",\"calculate-widths\":\"\",\"multi-sort\":\"\",\"data-test\":\"cmd-packets-table\"},on:{\"current-items\":_vm.currentItems},scopedSlots:_vm._u([{key:\"item.view_raw\",fn:function({ item }){return [_c('v-btn',{attrs:{\"block\":\"\",\"color\":\"primary\",\"disabled\":item.count < 1},on:{\"click\":function($event){return _vm.openViewRaw(item.target_name, item.packet_name)}}},[_vm._v(\"\\n View Raw\\n \")])]}},{key:\"item.view_in_cmd_sender\",fn:function({ item }){return [(item.target_name === 'UNKNOWN')?_c('span',[_vm._v(\"N/A\")]):_c('v-btn',{attrs:{\"block\":\"\",\"color\":\"primary\"},on:{\"click\":function($event){return _vm.openCmdSender(item.target_name, item.packet_name)}}},[_vm._v(\"\\n View In Command Sender\\n \"),_c('v-icon',{attrs:{\"right\":\"\"}},[_vm._v(\" mdi-open-in-new \")])],1)]}}])}),_vm._v(\" \"),_vm._l((_vm.rawDialogs),function(d){return _c('raw-dialog',{key:d.target_name + '_' + d.packet_name,attrs:{\"type\":\"Command\",\"target-name\":d.target_name,\"packet-name\":d.packet_name,\"visible\":true,\"z-index\":d.zIndex},on:{\"close\":function($event){return _vm.closeRawDialog(d)},\"focus\":function($event){return _vm.focus(d)}}})})],2)\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 2023, 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-card>\n <v-card-title>\n {{ data.length }} Command Packets\n <v-spacer />\n <v-text-field\n v-model=\"search\"\n label=\"Search\"\n prepend-inner-icon=\"mdi-magnify\"\n clearable\n outlined\n dense\n single-line\n hide-details\n class=\"search\"\n />\n </v-card-title>\n <v-data-table\n :headers=\"headers\"\n :items=\"data\"\n :search=\"search\"\n :items-per-page=\"10\"\n :footer-props=\"{\n itemsPerPageOptions: [10, 20, 50, 100],\n showFirstLastPage: true,\n }\"\n sort-by=\"target_name\"\n @current-items=\"currentItems\"\n calculate-widths\n multi-sort\n data-test=\"cmd-packets-table\"\n >\n <template v-slot:item.view_raw=\"{ item }\">\n <v-btn\n block\n color=\"primary\"\n :disabled=\"item.count < 1\"\n @click=\"openViewRaw(item.target_name, item.packet_name)\"\n >\n View Raw\n </v-btn>\n </template>\n <template v-slot:item.view_in_cmd_sender=\"{ item }\">\n <span v-if=\"item.target_name === 'UNKNOWN'\">N/A</span>\n <v-btn\n v-else\n block\n color=\"primary\"\n @click=\"openCmdSender(item.target_name, item.packet_name)\"\n >\n View In Command Sender\n <v-icon right> mdi-open-in-new </v-icon>\n </v-btn>\n </template>\n </v-data-table>\n <raw-dialog\n v-for=\"d in rawDialogs\"\n :key=\"d.target_name + '_' + d.packet_name\"\n type=\"Command\"\n :target-name=\"d.target_name\"\n :packet-name=\"d.packet_name\"\n :visible=\"true\"\n :z-index=\"d.zIndex\"\n @close=\"closeRawDialog(d)\"\n @focus=\"focus(d)\"\n />\n </v-card>\n</template>\n\n<script>\nimport Updater from './Updater'\nimport RawDialog from './RawDialog'\n\nexport default {\n components: {\n RawDialog,\n },\n mixins: [Updater],\n props: {\n tabId: Number,\n curTab: Number,\n },\n data() {\n return {\n search: '',\n data: [],\n headers: [\n { text: 'Target Name', value: 'target_name' },\n { text: 'Packet Name', value: 'packet_name' },\n { text: 'Packet Count', value: 'count' },\n { text: 'View Raw', value: 'view_raw' },\n { text: 'View In Command Sender', value: 'view_in_cmd_sender' },\n ],\n rawDialogs: [],\n visible: null,\n }\n },\n created() {\n this.api.get_target_names().then((targets) => {\n targets.map((target) => {\n this.api.get_all_cmd_names(target).then((names) => {\n this.data = this.data.concat(\n names.map((packet) => {\n return { target_name: target, packet_name: packet, count: 0 }\n }),\n )\n })\n })\n })\n },\n methods: {\n focus(dialog) {\n this.rawDialogs.map((dialog) => {\n dialog.zIndex = 1\n })\n let i = this.rawDialogs.indexOf(dialog)\n this.rawDialogs[i].zIndex = 2\n },\n openViewRaw(target_name, packet_name) {\n this.rawDialogs.map((dialog) => {\n dialog.zIndex = 1\n })\n this.rawDialogs = this.rawDialogs.concat({\n target_name: target_name,\n packet_name: packet_name,\n zIndex: 2,\n })\n },\n closeRawDialog(dialog) {\n let i = this.rawDialogs.indexOf(dialog)\n this.rawDialogs.splice(i, 1)\n },\n openCmdSender(target_name, packet_name) {\n let routeData = this.$router.resolve({\n name: 'CommandSender',\n params: {\n target: target_name,\n packet: packet_name,\n },\n })\n window.open(`/tools/cmdsender/${target_name}/${packet_name}`, '_blank')\n },\n currentItems(event) {\n this.visible = event.map((i) => {\n return [i.target_name, i.packet_name]\n })\n },\n update() {\n if (this.tabId != this.curTab) return\n if (this.currentItems === null) return\n this.api.get_cmd_cnts(this.visible).then((counts) => {\n for (let i = 0; i < counts.length; i++) {\n let index = this.data.findIndex(\n (item) =>\n item.target_name === this.visible[i][0] &&\n item.packet_name === this.visible[i][1],\n )\n this.data[index].count = counts[i]\n }\n })\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!./CmdPacketsTab.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!./CmdPacketsTab.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./CmdPacketsTab.vue?vue&type=template&id=5608b6a0\"\nimport script from \"./CmdPacketsTab.vue?vue&type=script&lang=js\"\nexport * from \"./CmdPacketsTab.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"],"names":["cov_haeaeutfe","actualCoverage","s","render","f","_vm","this","_c","_self","_v","_s","data","length","staticClass","attrs","model","value","search","callback","$$v","expression","headers","itemsPerPageOptions","showFirstLastPage","on","currentItems","scopedSlots","_u","key","fn","item","count","$event","openViewRaw","target_name","packet_name","b","openCmdSender","_l","rawDialogs","d","zIndex","closeRawDialog","focus","staticRenderFns","components","RawDialog","mixins","Updater","props","tabId","Number","curTab","text","visible","created","api","get_target_names","then","targets","map","target","get_all_cmd_names","names","concat","packet","methods","dialog","i","indexOf","splice","$router","resolve","name","params","window","open","event","update","get_cmd_cnts","counts","index","findIndex","component"],"sourceRoot":""}
@@ -1,2 +0,0 @@
1
- (self["webpackChunk_openc3_cosmos_tool_cmdtlmserver"]=self["webpackChunk_openc3_cosmos_tool_cmdtlmserver"]||[]).push([[328],{8474:(n,e,t)=>{"use strict";t.d(e,{A:()=>i});var l=t(4364);function o(){var n="/openc3/plugins/packages/openc3-cosmos-tool-cmdtlmserver/src/tools/CmdTlmServer/Updater.js",e="4a33e65af05f7d08e216a604150e8920749ac334",t=new Function("return this")(),l="__coverage__",i={path:"/openc3/plugins/packages/openc3-cosmos-tool-cmdtlmserver/src/tools/CmdTlmServer/Updater.js",statementMap:{0:{start:{line:32,column:4},end:{line:35,column:5}},1:{start:{line:38,column:4},end:{line:38,column:30}},2:{start:{line:41,column:4},end:{line:41,column:24}},3:{start:{line:44,column:4},end:{line:47,column:5}},4:{start:{line:45,column:6},end:{line:45,column:33}},5:{start:{line:46,column:6},end:{line:46,column:25}},6:{start:{line:52,column:6},end:{line:52,column:26}},7:{start:{line:57,column:6},end:{line:60,column:7}},8:{start:{line:58,column:8},end:{line:58,column:35}},9:{start:{line:59,column:8},end:{line:59,column:27}},10:{start:{line:61,column:6},end:{line:63,column:30}},11:{start:{line:62,column:8},end:{line:62,column:21}}},fnMap:{0:{name:"(anonymous_0)",decl:{start:{line:31,column:2},end:{line:31,column:3}},loc:{start:{line:31,column:9},end:{line:36,column:3}},line:31},1:{name:"(anonymous_1)",decl:{start:{line:37,column:2},end:{line:37,column:3}},loc:{start:{line:37,column:12},end:{line:39,column:3}},line:37},2:{name:"(anonymous_2)",decl:{start:{line:40,column:2},end:{line:40,column:3}},loc:{start:{line:40,column:12},end:{line:42,column:3}},line:40},3:{name:"(anonymous_3)",decl:{start:{line:43,column:2},end:{line:43,column:3}},loc:{start:{line:43,column:18},end:{line:48,column:3}},line:43},4:{name:"(anonymous_4)",decl:{start:{line:51,column:21},end:{line:51,column:22}},loc:{start:{line:51,column:47},end:{line:53,column:5}},line:51},5:{name:"(anonymous_5)",decl:{start:{line:56,column:4},end:{line:56,column:5}},loc:{start:{line:56,column:20},end:{line:64,column:5}},line:56},6:{name:"(anonymous_6)",decl:{start:{line:61,column:33},end:{line:61,column:34}},loc:{start:{line:61,column:39},end:{line:63,column:7}},line:61}},branchMap:{0:{loc:{start:{line:44,column:4},end:{line:47,column:5}},type:"if",locations:[{start:{line:44,column:4},end:{line:47,column:5}},{start:{line:void 0,column:void 0},end:{line:void 0,column:void 0}}],line:44},1:{loc:{start:{line:57,column:6},end:{line:60,column:7}},type:"if",locations:[{start:{line:57,column:6},end:{line:60,column:7}},{start:{line:void 0,column:void 0},end:{line:void 0,column:void 0}}],line:57}},s:{0:0,1:0,2:0,3:0,4:0,5:0,6:0,7:0,8:0,9:0,10:0,11:0},f:{0:0,1:0,2:0,3:0,4:0,5:0,6:0},b:{0:[0,0],1:[0,0]},_coverageSchema:"1a1c01bbd47fc00a2c39e90264f33305004495a9",hash:"4a33e65af05f7d08e216a604150e8920749ac334"},a=t[l]||(t[l]={});a[n]&&a[n].hash===e||(a[n]=i);var c=a[n];return o=function(){return c},c}o();const i={props:{refreshInterval:{default:1e3}},data(){return o().f[0]++,o().s[0]++,{updater:null,api:null}},created(){o().f[1]++,o().s[1]++,this.api=new l.x},mounted(){o().f[2]++,o().s[2]++,this.changeUpdater()},beforeDestroy(){o().f[3]++,o().s[3]++,null!=this.updater?(o().b[0][0]++,o().s[4]++,clearInterval(this.updater),o().s[5]++,this.updater=null):o().b[0][1]++},watch:{refreshInterval:function(n,e){o().f[4]++,o().s[6]++,this.changeUpdater()}},methods:{changeUpdater(){o().f[5]++,o().s[7]++,null!=this.updater?(o().b[1][0]++,o().s[8]++,clearInterval(this.updater),o().s[9]++,this.updater=null):o().b[1][1]++,o().s[10]++,this.updater=setInterval((()=>{o().f[6]++,o().s[11]++,this.update()}),this.refreshInterval)}}}},6328:(n,e,t)=>{"use strict";function l(){var n="/openc3/plugins/packages/openc3-cosmos-tool-cmdtlmserver/src/tools/CmdTlmServer/RawDialog.vue",e="dffd1a3ca1f548124d2749702b3c2b3c9ff6fc62",t=new Function("return this")(),o="__coverage__",i={path:"/openc3/plugins/packages/openc3-cosmos-tool-cmdtlmserver/src/tools/CmdTlmServer/RawDialog.vue",statementMap:{0:{start:{line:1,column:13},end:{line:2,column:1}},1:{start:{line:1,column:39},end:{line:1,column:43}},2:{start:{line:1,column:47},end:{line:1,column:59}},3:{start:{line:1,column:60},end:{line:1,column:2660}},4:{start:{line:1,column:386},end:{line:1,column:587}},5:{start:{line:1,column:747},end:{line:1,column:947}},6:{start:{line:1,column:1223},end:{line:1,column:1445}},7:{start:{line:1,column:1351},end:{line:1,column:1376}},8:{start:{line:1,column:1720},end:{line:1,column:1915}},9:{start:{line:1,column:2608},end:{line:1,column:2623}},10:{start:{line:3,column:22},end:{line:3,column:24}}},fnMap:{0:{name:"render",decl:{start:{line:1,column:22},end:{line:1,column:28}},loc:{start:{line:1,column:30},end:{line:2,column:1}},line:1},1:{name:"(anonymous_1)",decl:{start:{line:1,column:362},end:{line:1,column:363}},loc:{start:{line:1,column:385},end:{line:1,column:588}},line:1},2:{name:"(anonymous_2)",decl:{start:{line:1,column:723},end:{line:1,column:724}},loc:{start:{line:1,column:746},end:{line:1,column:948}},line:1},3:{name:"(anonymous_3)",decl:{start:{line:1,column:1199},end:{line:1,column:1200}},loc:{start:{line:1,column:1222},end:{line:1,column:1446}},line:1},4:{name:"(anonymous_4)",decl:{start:{line:1,column:1334},end:{line:1,column:1335}},loc:{start:{line:1,column:1350},end:{line:1,column:1377}},line:1},5:{name:"(anonymous_5)",decl:{start:{line:1,column:1696},end:{line:1,column:1697}},loc:{start:{line:1,column:1719},end:{line:1,column:1916}},line:1},6:{name:"(anonymous_6)",decl:{start:{line:1,column:2592},end:{line:1,column:2593}},loc:{start:{line:1,column:2607},end:{line:1,column:2624}},line:1}},branchMap:{},s:{0:0,1:0,2:0,3:0,4:0,5:0,6:0,7:0,8:0,9:0,10:0},f:{0:0,1:0,2:0,3:0,4:0,5:0,6:0},b:{},_coverageSchema:"1a1c01bbd47fc00a2c39e90264f33305004495a9",hash:"dffd1a3ca1f548124d2749702b3c2b3c9ff6fc62"},a=t[o]||(t[o]={});a[n]&&a[n].hash===e||(a[n]=i);var c=a[n];return l=function(){return c},c}t.d(e,{A:()=>A}),l(),l().s[0]++;var o=function(){l().f[0]++;var n=(l().s[1]++,this),e=(l().s[2]++,n._self._c);return l().s[3]++,e("div",{directives:[{name:"show",rawName:"v-show",value:n.isVisible,expression:"isVisible"}],ref:"rawDialog",staticClass:"raw-dialog",style:n.computedStyle},[e("v-card",[e("div",{ref:"bar"},[e("v-system-bar",[e("v-tooltip",{attrs:{top:""},scopedSlots:n._u([{key:"activator",fn:function({on:t,attrs:o}){return l().f[1]++,l().s[4]++,[e("div",n._g(n._b({},"div",o,!1),t),[e("v-icon",{attrs:{"data-test":"copy-icon"},on:{click:n.copyRawData}},[n._v("\n mdi-content-copy\n ")])],1)]}}])},[n._v(" "),e("span",[n._v(" Copy ")])]),n._v(" "),e("v-tooltip",{attrs:{top:""},scopedSlots:n._u([{key:"activator",fn:function({on:t,attrs:o}){return l().f[2]++,l().s[5]++,[e("div",n._g(n._b({},"div",o,!1),t),[e("v-icon",{attrs:{"data-test":"download"},on:{click:n.downloadRawData}},[n._v("\n mdi-download\n ")])],1)]}}])},[n._v(" "),e("span",[n._v(" Download ")])]),n._v(" "),e("v-spacer"),n._v(" "),e("span",[n._v(" "+n._s(n.type)+" ")]),n._v(" "),e("v-spacer"),n._v(" "),e("v-tooltip",{attrs:{top:""},scopedSlots:n._u([{key:"activator",fn:function({on:t,attrs:o}){return l().f[3]++,l().s[6]++,[e("div",n._g(n._b({},"div",o,!1),t),[e("v-icon",{attrs:{"data-test":"close"},on:{click:function(e){return l().f[4]++,l().s[7]++,n.$emit("close")}}},[n._v("\n mdi-close-box\n ")])],1)]}}])},[n._v(" "),e("span",[n._v(" Close ")])])],1)],1),n._v(" "),e("v-card-title",[e("span",[n._v(" "+n._s(n.header)+" ")]),n._v(" "),e("v-spacer"),n._v(" "),e("v-tooltip",{attrs:{top:""},scopedSlots:n._u([{key:"activator",fn:function({on:t,attrs:o}){return l().f[5]++,l().s[8]++,[e("div",n._g(n._b({},"div",o,!1),t),[e("v-btn",{attrs:{icon:"","data-test":"pause"},on:{click:n.pause}},[e("v-icon",[n._v(" "+n._s(n.buttonIcon)+" ")])],1)],1)]}}])},[n._v(" "),e("span",[n._v(" "+n._s(n.buttonLabel)+" ")])])],1),n._v(" "),e("v-card-text",[e("v-row",{attrs:{dense:""}},[e("v-col",{attrs:{cols:"4"}},[e("span",[n._v(" Received Time: ")])]),n._v(" "),e("v-col",{staticClass:"text-right"},[e("span",[n._v(" "+n._s(n.receivedTime)+" ")])])],1),n._v(" "),e("v-row",{attrs:{dense:""}},[e("v-col",{attrs:{cols:"4"}},[e("span",[n._v(" Count: ")])]),n._v(" "),e("v-col",{staticClass:"text-right"},[e("span",[n._v(" "+n._s(n.receivedCount)+" ")])])],1),n._v(" "),e("v-textarea",{staticClass:"pa-0 ma-0",attrs:{"auto-grow":"",readonly:""},model:{value:n.rawData,callback:function(e){l().f[6]++,l().s[9]++,n.rawData=e},expression:"rawData"}})],1)],1)],1)},i=(l().s[10]++,[]),a=(t(3165),t(4541),t(4397),t(1412),t(1883),t(7905),t(4183)),c=t(8474);function s(){var n="/openc3/plugins/packages/openc3-cosmos-tool-cmdtlmserver/src/tools/CmdTlmServer/RawDialog.vue",e="811cc6f0babc0625dc58b135d4008b399cb8b706",t=new Function("return this")(),l="__coverage__",o={path:"/openc3/plugins/packages/openc3-cosmos-tool-cmdtlmserver/src/tools/CmdTlmServer/RawDialog.vue",statementMap:{0:{start:{line:19,column:4},end:{line:29,column:5}},1:{start:{line:33,column:6},end:{line:37,column:7}},2:{start:{line:34,column:8},end:{line:34,column:23}},3:{start:{line:36,column:8},end:{line:36,column:22}},4:{start:{line:40,column:6},end:{line:44,column:7}},5:{start:{line:41,column:8},end:{line:41,column:25}},6:{start:{line:43,column:8},end:{line:43,column:26}},7:{start:{line:48,column:8},end:{line:48,column:27}},8:{start:{line:52,column:8},end:{line:52,column:24}},9:{start:{line:53,column:8},end:{line:53,column:30}},10:{start:{line:54,column:8},end:{line:54,column:25}},11:{start:{line:55,column:8},end:{line:55,column:31}},12:{start:{line:56,column:8},end:{line:56,column:27}},13:{start:{line:57,column:8},end:{line:57,column:34}},14:{start:{line:58,column:8},end:{line:58,column:35}},15:{start:{line:62,column:18},end:{line:62,column:20}},16:{start:{line:63,column:6},end:{line:63,column:36}},17:{start:{line:64,column:6},end:{line:64,column:38}},18:{start:{line:65,column:6},end:{line:65,column:36}},19:{start:{line:66,column:6},end:{line:66,column:18}},20:{start:{line:70,column:4},end:{line:70,column:51}},21:{start:{line:71,column:4},end:{line:71,column:52}},22:{start:{line:75,column:6},end:{line:75,column:25}},23:{start:{line:78,column:6},end:{line:78,column:27}},24:{start:{line:79,column:6},end:{line:79,column:24}},25:{start:{line:81,column:6},end:{line:81,column:28}},26:{start:{line:82,column:6},end:{line:82,column:28}},27:{start:{line:83,column:6},end:{line:83,column:48}},28:{start:{line:85,column:6},end:{line:85,column:45}},29:{start:{line:88,column:6},end:{line:88,column:27}},30:{start:{line:89,column:6},end:{line:89,column:24}},31:{start:{line:91,column:20},end:{line:91,column:42}},32:{start:{line:92,column:20},end:{line:92,column:42}},33:{start:{line:93,column:6},end:{line:93,column:28}},34:{start:{line:94,column:6},end:{line:94,column:28}},35:{start:{line:96,column:6},end:{line:96,column:79}},36:{start:{line:97,column:6},end:{line:98,column:71}},37:{start:{line:102,column:6},end:{line:102,column:31}},38:{start:{line:103,column:6},end:{line:103,column:33}},39:{start:{line:106,column:6},end:{line:106,column:113}},40:{start:{line:109,column:6},end:{line:109,column:56}},41:{start:{line:112,column:19},end:{line:114,column:8}},42:{start:{line:116,column:19},end:{line:116,column:46}},43:{start:{line:117,column:6},end:{line:117,column:43}},44:{start:{line:118,column:17},end:{line:118,column:58}},45:{start:{line:119,column:6},end:{line:122,column:7}},46:{start:{line:123,column:6},end:{line:123,column:18}},47:{start:{line:126,column:6},end:{line:126,column:32}},48:{start:{line:129,column:6},end:{line:129,column:48}},49:{start:{line:129,column:42},end:{line:129,column:48}},50:{start:{line:130,column:6},end:{line:130,column:84}},51:{start:{line:132,column:6},end:{line:136,column:7}},52:{start:{line:133,column:8},end:{line:133,column:30}},53:{start:{line:135,column:8},end:{line:135,column:28}},54:{start:{line:139,column:6},end:{line:155,column:10}},55:{start:{line:142,column:28},end:{line:142,column:41}},56:{start:{line:143,column:10},end:{line:148,column:11}},57:{start:{line:144,column:12},end:{line:144,column:41}},58:{start:{line:146,column:29},end:{line:146,column:46}},59:{start:{line:147,column:12},end:{line:147,column:56}},60:{start:{line:149,column:10},end:{line:149,column:61}},61:{start:{line:150,column:10},end:{line:150,column:52}},62:{start:{line:151,column:10},end:{line:154,column:42}},63:{start:{line:158,column:6},end:{line:174,column:10}},64:{start:{line:161,column:28},end:{line:161,column:41}},65:{start:{line:162,column:10},end:{line:167,column:11}},66:{start:{line:163,column:12},end:{line:163,column:41}},67:{start:{line:165,column:29},end:{line:165,column:46}},68:{start:{line:166,column:12},end:{line:166,column:56}},69:{start:{line:168,column:10},end:{line:168,column:61}},70:{start:{line:169,column:10},end:{line:169,column:52}},71:{start:{line:170,column:10},end:{line:173,column:42}},72:{start:{line:178,column:19},end:{line:178,column:21}},73:{start:{line:179,column:18},end:{line:179,column:19}},74:{start:{line:180,column:18},end:{line:180,column:20}},75:{start:{line:181,column:6},end:{line:202,column:8}},76:{start:{line:182,column:8},end:{line:184,column:9}},77:{start:{line:183,column:10},end:{line:183,column:48}},78:{start:{line:185,column:8},end:{line:185,column:35}},79:{start:{line:188,column:8},end:{line:192,column:9}},80:{start:{line:189,column:10},end:{line:189,column:44}},81:{start:{line:191,column:10},end:{line:191,column:22}},82:{start:{line:194,column:8},end:{line:194,column:15}},83:{start:{line:196,column:8},end:{line:201,column:9}},84:{start:{line:197,column:10},end:{line:197,column:39}},85:{start:{line:198,column:10},end:{line:198,column:20}},86:{start:{line:200,column:10},end:{line:200,column:23}},87:{start:{line:207,column:6},end:{line:213,column:7}},88:{start:{line:208,column:30},end:{line:208,column:65}},89:{start:{line:210,column:21},end:{line:210,column:53}},90:{start:{line:211,column:27},end:{line:211,column:56}},91:{start:{line:212,column:8},end:{line:212,column:54}},92:{start:{line:214,column:6},end:{line:214,column:19}},93:{start:{line:217,column:16},end:{line:217,column:32}},94:{start:{line:218,column:6},end:{line:218,column:49}}},fnMap:{0:{name:"(anonymous_0)",decl:{start:{line:18,column:2},end:{line:18,column:3}},loc:{start:{line:18,column:9},end:{line:30,column:3}},line:18},1:{name:"(anonymous_1)",decl:{start:{line:32,column:17},end:{line:32,column:18}},loc:{start:{line:32,column:29},end:{line:38,column:5}},line:32},2:{name:"(anonymous_2)",decl:{start:{line:39,column:16},end:{line:39,column:17}},loc:{start:{line:39,column:28},end:{line:45,column:5}},line:39},3:{name:"(anonymous_3)",decl:{start:{line:47,column:11},end:{line:47,column:12}},loc:{start:{line:47,column:23},end:{line:49,column:7}},line:47},4:{name:"(anonymous_4)",decl:{start:{line:51,column:11},end:{line:51,column:12}},loc:{start:{line:51,column:27},end:{line:59,column:7}},line:51},5:{name:"(anonymous_5)",decl:{start:{line:61,column:4},end:{line:61,column:5}},loc:{start:{line:61,column:20},end:{line:67,column:5}},line:61},6:{name:"(anonymous_6)",decl:{start:{line:69,column:2},end:{line:69,column:3}},loc:{start:{line:69,column:12},end:{line:72,column:3}},line:69},7:{name:"(anonymous_7)",decl:{start:{line:74,column:16},end:{line:74,column:17}},loc:{start:{line:74,column:29},end:{line:76,column:5}},line:74},8:{name:"(anonymous_8)",decl:{start:{line:77,column:19},end:{line:77,column:20}},loc:{start:{line:77,column:32},end:{line:86,column:5}},line:77},9:{name:"(anonymous_9)",decl:{start:{line:87,column:17},end:{line:87,column:18}},loc:{start:{line:87,column:30},end:{line:99,column:5}},line:87},10:{name:"(anonymous_10)",decl:{start:{line:100,column:22},end:{line:100,column:23}},loc:{start:{line:100,column:34},end:{line:104,column:5}},line:100},11:{name:"(anonymous_11)",decl:{start:{line:105,column:18},end:{line:105,column:19}},loc:{start:{line:105,column:30},end:{line:107,column:5}},line:105},12:{name:"(anonymous_12)",decl:{start:{line:108,column:17},end:{line:108,column:18}},loc:{start:{line:108,column:29},end:{line:110,column:5}},line:108},13:{name:"(anonymous_13)",decl:{start:{line:111,column:21},end:{line:111,column:22}},loc:{start:{line:111,column:33},end:{line:124,column:5}},line:111},14:{name:"(anonymous_14)",decl:{start:{line:125,column:11},end:{line:125,column:12}},loc:{start:{line:125,column:23},end:{line:127,column:5}},line:125},15:{name:"(anonymous_15)",decl:{start:{line:128,column:12},end:{line:128,column:13}},loc:{start:{line:128,column:24},end:{line:137,column:5}},line:128},16:{name:"(anonymous_16)",decl:{start:{line:138,column:21},end:{line:138,column:22}},loc:{start:{line:138,column:33},end:{line:156,column:5}},line:138},17:{name:"(anonymous_17)",decl:{start:{line:141,column:14},end:{line:141,column:15}},loc:{start:{line:141,column:26},end:{line:155,column:9}},line:141},18:{name:"(anonymous_18)",decl:{start:{line:157,column:19},end:{line:157,column:20}},loc:{start:{line:157,column:31},end:{line:175,column:5}},line:157},19:{name:"(anonymous_19)",decl:{start:{line:160,column:14},end:{line:160,column:15}},loc:{start:{line:160,column:26},end:{line:174,column:9}},line:160},20:{name:"(anonymous_20)",decl:{start:{line:177,column:18},end:{line:177,column:19}},loc:{start:{line:177,column:36},end:{line:215,column:5}},line:177},21:{name:"(anonymous_21)",decl:{start:{line:181,column:21},end:{line:181,column:22}},loc:{start:{line:181,column:31},end:{line:202,column:7}},line:181},22:{name:"(anonymous_22)",decl:{start:{line:216,column:4},end:{line:216,column:5}},loc:{start:{line:216,column:27},end:{line:219,column:5}},line:216}},branchMap:{0:{loc:{start:{line:33,column:6},end:{line:37,column:7}},type:"if",locations:[{start:{line:33,column:6},end:{line:37,column:7}},{start:{line:35,column:13},end:{line:37,column:7}}],line:33},1:{loc:{start:{line:40,column:6},end:{line:44,column:7}},type:"if",locations:[{start:{line:40,column:6},end:{line:44,column:7}},{start:{line:42,column:13},end:{line:44,column:7}}],line:40},2:{loc:{start:{line:78,column:10},end:{line:78,column:27}},type:"binary-expr",locations:[{start:{line:78,column:10},end:{line:78,column:11}},{start:{line:78,column:15},end:{line:78,column:27}}],line:78},3:{loc:{start:{line:88,column:10},end:{line:88,column:27}},type:"binary-expr",locations:[{start:{line:88,column:10},end:{line:88,column:11}},{start:{line:88,column:15},end:{line:88,column:27}}],line:88},4:{loc:{start:{line:129,column:6},end:{line:129,column:48}},type:"if",locations:[{start:{line:129,column:6},end:{line:129,column:48}},{start:{line:void 0,column:void 0},end:{line:void 0,column:void 0}}],line:129},5:{loc:{start:{line:129,column:10},end:{line:129,column:40}},type:"binary-expr",locations:[{start:{line:129,column:10},end:{line:129,column:25}},{start:{line:129,column:29},end:{line:129,column:40}}],line:129},6:{loc:{start:{line:132,column:6},end:{line:136,column:7}},type:"if",locations:[{start:{line:132,column:6},end:{line:136,column:7}},{start:{line:134,column:13},end:{line:136,column:7}}],line:132},7:{loc:{start:{line:143,column:10},end:{line:148,column:11}},type:"if",locations:[{start:{line:143,column:10},end:{line:148,column:11}},{start:{line:145,column:17},end:{line:148,column:11}}],line:143},8:{loc:{start:{line:162,column:10},end:{line:167,column:11}},type:"if",locations:[{start:{line:162,column:10},end:{line:167,column:11}},{start:{line:164,column:17},end:{line:167,column:11}}],line:162},9:{loc:{start:{line:182,column:8},end:{line:184,column:9}},type:"if",locations:[{start:{line:182,column:8},end:{line:184,column:9}},{start:{line:void 0,column:void 0},end:{line:void 0,column:void 0}}],line:182},10:{loc:{start:{line:188,column:8},end:{line:192,column:9}},type:"if",locations:[{start:{line:188,column:8},end:{line:192,column:9}},{start:{line:190,column:15},end:{line:192,column:9}}],line:188},11:{loc:{start:{line:188,column:12},end:{line:188,column:37}},type:"binary-expr",locations:[{start:{line:188,column:12},end:{line:188,column:22}},{start:{line:188,column:26},end:{line:188,column:37}}],line:188},12:{loc:{start:{line:196,column:8},end:{line:201,column:9}},type:"if",locations:[{start:{line:196,column:8},end:{line:201,column:9}},{start:{line:199,column:15},end:{line:201,column:9}}],line:196},13:{loc:{start:{line:207,column:6},end:{line:213,column:7}},type:"if",locations:[{start:{line:207,column:6},end:{line:213,column:7}},{start:{line:void 0,column:void 0},end:{line:void 0,column:void 0}}],line:207},14:{loc:{start:{line:216,column:16},end:{line:216,column:25}},type:"default-arg",locations:[{start:{line:216,column:24},end:{line:216,column:25}}],line:216}},s:{0:0,1:0,2:0,3:0,4:0,5:0,6:0,7:0,8:0,9:0,10:0,11:0,12:0,13:0,14:0,15:0,16:0,17:0,18:0,19:0,20:0,21:0,22:0,23:0,24:0,25:0,26:0,27:0,28:0,29:0,30:0,31:0,32:0,33:0,34:0,35:0,36:0,37:0,38:0,39:0,40:0,41:0,42:0,43:0,44:0,45:0,46:0,47:0,48:0,49:0,50:0,51:0,52:0,53:0,54:0,55:0,56:0,57:0,58:0,59:0,60:0,61:0,62:0,63:0,64:0,65:0,66:0,67:0,68:0,69:0,70:0,71:0,72:0,73:0,74:0,75:0,76:0,77:0,78:0,79:0,80:0,81:0,82:0,83:0,84:0,85:0,86:0,87:0,88:0,89:0,90:0,91:0,92:0,93:0,94:0},f:{0:0,1:0,2:0,3:0,4:0,5:0,6:0,7:0,8:0,9:0,10:0,11:0,12:0,13:0,14:0,15:0,16:0,17:0,18:0,19:0,20:0,21:0,22:0},b:{0:[0,0],1:[0,0],2:[0,0],3:[0,0],4:[0,0],5:[0,0],6:[0,0],7:[0,0],8:[0,0],9:[0,0],10:[0,0],11:[0,0],12:[0,0],13:[0,0],14:[0]},inputSourceMap:{version:3,sources:["RawDialog.vue"],names:[],mappings:";AAyGA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA",file:"RawDialog.vue",sourceRoot:"src/tools/CmdTlmServer",sourcesContent:["\x3c!--\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 2023, 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--\x3e\n\n<template>\n <div\n v-show=\"isVisible\"\n :style=\"computedStyle\"\n class=\"raw-dialog\"\n ref=\"rawDialog\"\n >\n <v-card>\n <div ref=\"bar\">\n <v-system-bar>\n <v-tooltip top>\n <template v-slot:activator=\"{ on, attrs }\">\n <div v-on=\"on\" v-bind=\"attrs\">\n <v-icon data-test=\"copy-icon\" @click=\"copyRawData\">\n mdi-content-copy\n </v-icon>\n </div>\n </template>\n <span> Copy </span>\n </v-tooltip>\n <v-tooltip top>\n <template v-slot:activator=\"{ on, attrs }\">\n <div v-on=\"on\" v-bind=\"attrs\">\n <v-icon data-test=\"download\" @click=\"downloadRawData\">\n mdi-download\n </v-icon>\n </div>\n </template>\n <span> Download </span>\n </v-tooltip>\n <v-spacer />\n <span> {{ type }} </span>\n <v-spacer />\n <v-tooltip top>\n <template v-slot:activator=\"{ on, attrs }\">\n <div v-on=\"on\" v-bind=\"attrs\">\n <v-icon data-test=\"close\" @click=\"$emit('close')\">\n mdi-close-box\n </v-icon>\n </div>\n </template>\n <span> Close </span>\n </v-tooltip>\n </v-system-bar>\n </div>\n <v-card-title>\n <span> {{ header }} </span>\n <v-spacer />\n <v-tooltip top>\n <template v-slot:activator=\"{ on, attrs }\">\n <div v-on=\"on\" v-bind=\"attrs\">\n <v-btn icon data-test=\"pause\" @click=\"pause\">\n <v-icon> {{ buttonIcon }} </v-icon>\n </v-btn>\n </div>\n </template>\n <span> {{ buttonLabel }} </span>\n </v-tooltip>\n </v-card-title>\n <v-card-text>\n <v-row dense>\n <v-col cols=\"4\">\n <span> Received Time: </span>\n </v-col>\n <v-col class=\"text-right\">\n <span> {{ receivedTime }} </span>\n </v-col>\n </v-row>\n <v-row dense>\n <v-col cols=\"4\">\n <span> Count: </span>\n </v-col>\n <v-col class=\"text-right\">\n <span> {{ receivedCount }} </span>\n </v-col>\n </v-row>\n <v-textarea v-model=\"rawData\" class=\"pa-0 ma-0\" auto-grow readonly />\n </v-card-text>\n </v-card>\n </div>\n</template>\n\n<script>\nimport { format } from 'date-fns'\n\nimport Updater from './Updater'\n\nexport default {\n mixins: [Updater],\n props: {\n type: String,\n visible: Boolean,\n targetName: String,\n packetName: String,\n zIndex: {\n type: Number,\n default: 1,\n },\n },\n data() {\n return {\n header: '',\n receivedTime: '',\n rawData: '',\n paused: false,\n receivedCount: '',\n dragX: 0,\n dragY: 0,\n top: 0,\n left: 0,\n }\n },\n computed: {\n buttonLabel: function () {\n if (this.paused) {\n return 'Resume'\n } else {\n return 'Pause'\n }\n },\n buttonIcon: function () {\n if (this.paused) {\n return 'mdi-play'\n } else {\n return 'mdi-pause'\n }\n },\n isVisible: {\n get: function () {\n return this.visible\n },\n // Reset all the data to defaults\n set: function (bool) {\n this.header = ''\n this.receivedTime = ''\n this.rawData = ''\n this.receivedCount = ''\n this.paused = false\n this.buttonLabel = 'Pause'\n this.$emit('display', bool)\n },\n },\n computedStyle() {\n let style = {}\n style['top'] = this.top + 'px'\n style['left'] = this.left + 'px'\n style['z-index'] = this.zIndex\n return style\n },\n },\n mounted() {\n this.$refs.bar.onmousedown = this.dragMouseDown\n this.$refs.rawDialog.onmouseup = this.focusEvent\n },\n methods: {\n focusEvent: function (e) {\n this.$emit('focus')\n },\n dragMouseDown: function (e) {\n e = e || window.event\n e.preventDefault()\n // get the mouse cursor position at startup:\n this.dragX = e.clientX\n this.dragY = e.clientY\n document.onmouseup = this.closeDragElement\n // call a function whenever the cursor moves:\n document.onmousemove = this.elementDrag\n },\n elementDrag: function (e) {\n e = e || window.event\n e.preventDefault()\n // calculate the new cursor position:\n let xOffset = this.dragX - e.clientX\n let yOffset = this.dragY - e.clientY\n this.dragX = e.clientX\n this.dragY = e.clientY\n // set the element's new position:\n this.top = this.$refs.bar.parentElement.parentElement.offsetTop - yOffset\n this.left =\n this.$refs.bar.parentElement.parentElement.offsetLeft - xOffset\n },\n closeDragElement: function () {\n // stop moving when mouse button is released\n document.onmouseup = null\n document.onmousemove = null\n },\n buildRawData: function () {\n return `${this.header}\\nReceived Time: ${this.receivedTime}\\nCount: ${this.receivedCount}\\n${this.rawData}`\n },\n copyRawData: function () {\n navigator.clipboard.writeText(this.buildRawData())\n },\n downloadRawData: function () {\n const blob = new Blob([this.buildRawData()], {\n type: 'plain/text',\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 const dt = format(Date.now(), 'yyyy_MM_dd_HH_mm_ss')\n link.setAttribute(\n 'download',\n `${dt}_${this.targetName}_${this.packetName}.txt`,\n )\n link.click()\n },\n pause: function () {\n this.paused = !this.paused\n },\n update: function () {\n if (!this.isVisible || this.paused) return\n this.header = `Raw ${this.type} Packet: ${this.targetName} ${this.packetName}`\n\n if (this.type === 'Telemetry') {\n this.updateTelemetry()\n } else {\n this.updateCommand()\n }\n },\n updateTelemetry: function () {\n this.api\n .get_tlm_buffer(this.targetName, this.packetName)\n .then((result) => {\n let buffer_data = result.buffer\n if (buffer_data.raw !== undefined) {\n buffer_data = buffer_data.raw\n } else {\n let utf8Encode = new TextEncoder()\n buffer_data = utf8Encode.encode(buffer_data)\n }\n this.receivedTime = new Date(result.time / 1000000)\n this.receivedCount = result.received_count\n this.rawData =\n 'Address Data Ascii\\n' +\n '---------------------------------------------------------------------------\\n' +\n this.formatBuffer(buffer_data)\n })\n },\n updateCommand: function () {\n this.api\n .get_cmd_buffer(this.targetName, this.packetName)\n .then((result) => {\n let buffer_data = result.buffer\n if (buffer_data.raw !== undefined) {\n buffer_data = buffer_data.raw\n } else {\n let utf8Encode = new TextEncoder()\n buffer_data = utf8Encode.encode(buffer_data)\n }\n this.receivedTime = new Date(result.time / 1000000)\n this.receivedCount = result.received_count\n this.rawData =\n 'Address Data Ascii\\n' +\n '---------------------------------------------------------------------------\\n' +\n this.formatBuffer(buffer_data)\n })\n },\n // TODO: Perhaps move this to a utility library\n formatBuffer: function (buffer) {\n var string = ''\n var index = 0\n var ascii = ''\n buffer.forEach((byte) => {\n if (index % 16 === 0) {\n string += this.numHex(index, 8) + ': '\n }\n string += this.numHex(byte)\n\n // Create the ASCII representation if printable\n if (byte >= 32 && byte <= 126) {\n ascii += String.fromCharCode(byte)\n } else {\n ascii += ' '\n }\n\n index++\n\n if (index % 16 === 0) {\n string += ' ' + ascii + '\\n'\n ascii = ''\n } else {\n string += ' '\n }\n })\n\n // We're done printing all the bytes. Now check to see if we ended in the\n // middle of a line. If so we have to print out the final ASCII if\n // requested.\n if (index % 16 != 0) {\n var existing_length = (index % 16) - 1 + (index % 16) * 2\n // 47 is (16 * 2) + 15 separator spaces\n var filler = ' '.repeat(47 - existing_length)\n var ascii_filler = ' '.repeat(16 - ascii.length)\n string += filler + ' ' + ascii + ascii_filler\n }\n return string\n },\n numHex(num, width = 2) {\n var hex = num.toString(16)\n return '0'.repeat(width - hex.length) + hex\n },\n },\n}\n<\/script>\n<style scoped>\n.raw-dialog {\n position: absolute;\n top: 0px;\n left: 5px;\n z-index: 1;\n border: solid;\n border-width: 1px;\n border-color: white;\n resize: both;\n overflow: auto;\n max-height: 85vh;\n background-color: var(--color-background-base-selected);\n}\n.raw-dialog :deep(.v-card) {\n height: 100%;\n min-width: 800px;\n}\n.raw-dialog :deep(.v-card__text) {\n height: 100%;\n background-color: var(--color-background-base-selected);\n}\n.v-textarea :deep(textarea) {\n margin-top: 10px;\n font-family: 'Courier New', Courier, monospace;\n overflow-y: scroll;\n}\n</style>\n"]},_coverageSchema:"1a1c01bbd47fc00a2c39e90264f33305004495a9",hash:"811cc6f0babc0625dc58b135d4008b399cb8b706"},i=t[l]||(t[l]={});i[n]&&i[n].hash===e||(i[n]=o);var a=i[n];return s=function(){return a},a}s();const u={mixins:[c.A],props:{type:String,visible:Boolean,targetName:String,packetName:String,zIndex:{type:Number,default:1}},data(){return s().f[0]++,s().s[0]++,{header:"",receivedTime:"",rawData:"",paused:!1,receivedCount:"",dragX:0,dragY:0,top:0,left:0}},computed:{buttonLabel:function(){return s().f[1]++,s().s[1]++,this.paused?(s().b[0][0]++,s().s[2]++,"Resume"):(s().b[0][1]++,s().s[3]++,"Pause")},buttonIcon:function(){return s().f[2]++,s().s[4]++,this.paused?(s().b[1][0]++,s().s[5]++,"mdi-play"):(s().b[1][1]++,s().s[6]++,"mdi-pause")},isVisible:{get:function(){return s().f[3]++,s().s[7]++,this.visible},set:function(n){s().f[4]++,s().s[8]++,this.header="",s().s[9]++,this.receivedTime="",s().s[10]++,this.rawData="",s().s[11]++,this.receivedCount="",s().s[12]++,this.paused=!1,s().s[13]++,this.buttonLabel="Pause",s().s[14]++,this.$emit("display",n)}},computedStyle(){s().f[5]++;let n=(s().s[15]++,{});return s().s[16]++,n["top"]=this.top+"px",s().s[17]++,n["left"]=this.left+"px",s().s[18]++,n["z-index"]=this.zIndex,s().s[19]++,n}},mounted(){s().f[6]++,s().s[20]++,this.$refs.bar.onmousedown=this.dragMouseDown,s().s[21]++,this.$refs.rawDialog.onmouseup=this.focusEvent},methods:{focusEvent:function(n){s().f[7]++,s().s[22]++,this.$emit("focus")},dragMouseDown:function(n){s().f[8]++,s().s[23]++,s().b[2][0]++,n=n||(s().b[2][1]++,window.event),s().s[24]++,n.preventDefault(),s().s[25]++,this.dragX=n.clientX,s().s[26]++,this.dragY=n.clientY,s().s[27]++,document.onmouseup=this.closeDragElement,s().s[28]++,document.onmousemove=this.elementDrag},elementDrag:function(n){s().f[9]++,s().s[29]++,s().b[3][0]++,n=n||(s().b[3][1]++,window.event),s().s[30]++,n.preventDefault();let e=(s().s[31]++,this.dragX-n.clientX),t=(s().s[32]++,this.dragY-n.clientY);s().s[33]++,this.dragX=n.clientX,s().s[34]++,this.dragY=n.clientY,s().s[35]++,this.top=this.$refs.bar.parentElement.parentElement.offsetTop-t,s().s[36]++,this.left=this.$refs.bar.parentElement.parentElement.offsetLeft-e},closeDragElement:function(){s().f[10]++,s().s[37]++,document.onmouseup=null,s().s[38]++,document.onmousemove=null},buildRawData:function(){return s().f[11]++,s().s[39]++,`${this.header}\nReceived Time: ${this.receivedTime}\nCount: ${this.receivedCount}\n${this.rawData}`},copyRawData:function(){s().f[12]++,s().s[40]++,navigator.clipboard.writeText(this.buildRawData())},downloadRawData:function(){s().f[13]++;const n=(s().s[41]++,new Blob([this.buildRawData()],{type:"plain/text"})),e=(s().s[42]++,document.createElement("a"));s().s[43]++,e.href=URL.createObjectURL(n);const t=(s().s[44]++,(0,a.GP)(Date.now(),"yyyy_MM_dd_HH_mm_ss"));s().s[45]++,e.setAttribute("download",`${t}_${this.targetName}_${this.packetName}.txt`),s().s[46]++,e.click()},pause:function(){s().f[14]++,s().s[47]++,this.paused=!this.paused},update:function(){if(s().f[15]++,s().s[48]++,s().b[5][0]++,!this.isVisible||(s().b[5][1]++,this.paused))return s().b[4][0]++,void s().s[49]++;s().b[4][1]++,s().s[50]++,this.header=`Raw ${this.type} Packet: ${this.targetName} ${this.packetName}`,s().s[51]++,"Telemetry"===this.type?(s().b[6][0]++,s().s[52]++,this.updateTelemetry()):(s().b[6][1]++,s().s[53]++,this.updateCommand())},updateTelemetry:function(){s().f[16]++,s().s[54]++,this.api.get_tlm_buffer(this.targetName,this.packetName).then((n=>{s().f[17]++;let e=(s().s[55]++,n.buffer);if(s().s[56]++,void 0!==e.raw)s().b[7][0]++,s().s[57]++,e=e.raw;else{s().b[7][1]++;let n=(s().s[58]++,new TextEncoder);s().s[59]++,e=n.encode(e)}s().s[60]++,this.receivedTime=new Date(n.time/1e6),s().s[61]++,this.receivedCount=n.received_count,s().s[62]++,this.rawData="Address Data Ascii\n---------------------------------------------------------------------------\n"+this.formatBuffer(e)}))},updateCommand:function(){s().f[18]++,s().s[63]++,this.api.get_cmd_buffer(this.targetName,this.packetName).then((n=>{s().f[19]++;let e=(s().s[64]++,n.buffer);if(s().s[65]++,void 0!==e.raw)s().b[8][0]++,s().s[66]++,e=e.raw;else{s().b[8][1]++;let n=(s().s[67]++,new TextEncoder);s().s[68]++,e=n.encode(e)}s().s[69]++,this.receivedTime=new Date(n.time/1e6),s().s[70]++,this.receivedCount=n.received_count,s().s[71]++,this.rawData="Address Data Ascii\n---------------------------------------------------------------------------\n"+this.formatBuffer(e)}))},formatBuffer:function(n){s().f[20]++;var e=(s().s[72]++,""),t=(s().s[73]++,0),l=(s().s[74]++,"");if(s().s[75]++,n.forEach((n=>{s().f[21]++,s().s[76]++,t%16===0?(s().b[9][0]++,s().s[77]++,e+=this.numHex(t,8)+": "):s().b[9][1]++,s().s[78]++,e+=this.numHex(n),s().s[79]++,s().b[11][0]++,n>=32&&(s().b[11][1]++,n<=126)?(s().b[10][0]++,s().s[80]++,l+=String.fromCharCode(n)):(s().b[10][1]++,s().s[81]++,l+=" "),s().s[82]++,t++,s().s[83]++,t%16===0?(s().b[12][0]++,s().s[84]++,e+=" "+l+"\n",s().s[85]++,l=""):(s().b[12][1]++,s().s[86]++,e+=" ")})),s().s[87]++,t%16!=0){s().b[13][0]++;var o=(s().s[88]++,t%16-1+t%16*2),i=(s().s[89]++," ".repeat(47-o)),a=(s().s[90]++," ".repeat(16-l.length));s().s[91]++,e+=i+" "+l+a}else s().b[13][1]++;return s().s[92]++,e},numHex(n,e=(s().b[14][0]++,2)){s().f[22]++;var t=(s().s[93]++,n.toString(16));return s().s[94]++,"0".repeat(e-t.length)+t}}},r=u;t(2166);var m=t(2401),d=(0,m.A)(r,o,i,!1,null,"212f6e79",null);const A=d.exports},62:(n,e,t)=>{"use strict";t.r(e),t.d(e,{default:()=>s});var l=t(6758),o=t.n(l),i=t(935),a=t.n(i),c=a()(o());c.push([n.id,".raw-dialog[data-v-212f6e79]{position:absolute;top:0;left:5px;z-index:1;border:solid;border-width:1px;border-color:#fff;resize:both;overflow:auto;max-height:85vh;background-color:var(--color-background-base-selected)}.raw-dialog[data-v-212f6e79] .v-card{height:100%;min-width:800px}.raw-dialog[data-v-212f6e79] .v-card__text{height:100%;background-color:var(--color-background-base-selected)}.v-textarea[data-v-212f6e79] textarea{margin-top:10px;font-family:Courier New,Courier,monospace;overflow-y:scroll}",""]);const s=c},2166:(n,e,t)=>{var l=t(62);l.__esModule&&(l=l.default),"string"===typeof l&&(l=[[n.id,l,""]]),l.locals&&(n.exports=l.locals);var o=t(4825).A;o("82f5c260",l,!0,{sourceMap:!1,shadowMode:!1})}}]);
2
- //# sourceMappingURL=328.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"js/328.js","mappings":"kyFAeY,OAAAA,EAAA,kBAAAC,CAAA,EAAAA,CAAA,CAAAD,IASZ,SACEE,MAAO,CACLC,gBAAiB,CACfC,QAAS,MAGbC,IAAAA,GACE,OADKL,IAAAM,EAAA,KAAAN,IAAAO,EAAA,KACE,CACLC,QAAS,KACTC,IAAK,KAET,EACAC,OAAAA,GAAUV,IAAAM,EAAA,KAAAN,IAAAO,EAAA,KACRI,KAAKF,IAAM,IAAIG,EAAAA,CACjB,EACAC,OAAAA,GAAUb,IAAAM,EAAA,KAAAN,IAAAO,EAAA,KACRI,KAAKG,eACP,EACAC,aAAAA,GAAgBf,IAAAM,EAAA,KAAAN,IAAAO,EAA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I,IAAAjB,EAAA,MAAA+I,EAAAG,SAAA,KACA,OADAjI,IAAAjB,EAAA,MACA,IAAA4I,OAAAI,EAAAC,EAAAH,QAAAG,CACA,IClUsT,I,sBCQlTE,GAAY,OACd,EACAjI,EACAuC,GACA,EACA,KACA,WACA,MAIF,QAAe0F,EAAiB,O,mGChB5BC,EAA0B,IAA4B,KAE1DA,EAAwBC,KAAK,CAACC,EAAOC,GAAI,6fAA8f,KAEviB,S,iBCJA,IAAIC,EAAU,EAAQ,IACnBA,EAAQC,aAAYD,EAAUA,EAAQ3J,SACnB,kBAAZ2J,IAAsBA,EAAU,CAAC,CAACF,EAAOC,GAAIC,EAAS,MAC7DA,EAAQE,SAAQJ,EAAOK,QAAUH,EAAQE,QAE5C,IAAIE,EAAM,UACGA,EAAI,WAAYJ,GAAS,EAAM,CAAC,WAAY,EAAM,YAAa,G","sources":["webpack://@openc3/cosmos-tool-cmdtlmserver/./src/tools/CmdTlmServer/Updater.js","webpack://@openc3/cosmos-tool-cmdtlmserver/./src/tools/CmdTlmServer/RawDialog.vue","webpack://@openc3/cosmos-tool-cmdtlmserver/src/tools/CmdTlmServer/RawDialog.vue","webpack://@openc3/cosmos-tool-cmdtlmserver/./src/tools/CmdTlmServer/RawDialog.vue?1a17","webpack://@openc3/cosmos-tool-cmdtlmserver/./src/tools/CmdTlmServer/RawDialog.vue?b7f3","webpack://@openc3/cosmos-tool-cmdtlmserver/./src/tools/CmdTlmServer/RawDialog.vue?a8b7","webpack://@openc3/cosmos-tool-cmdtlmserver/./src/tools/CmdTlmServer/RawDialog.vue?3534"],"sourcesContent":["/*\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 { OpenC3Api } from '@openc3/tool-common/src/services/openc3-api'\n\nexport default {\n props: {\n refreshInterval: {\n default: 1000,\n },\n },\n data() {\n return {\n updater: null,\n api: null,\n }\n },\n created() {\n this.api = new OpenC3Api()\n },\n mounted() {\n this.changeUpdater()\n },\n beforeDestroy() {\n if (this.updater != null) {\n clearInterval(this.updater)\n this.updater = null\n }\n },\n watch: {\n // eslint-disable-next-line no-unused-vars\n refreshInterval: function (newVal, oldVal) {\n this.changeUpdater()\n },\n },\n methods: {\n changeUpdater() {\n if (this.updater != null) {\n clearInterval(this.updater)\n this.updater = null\n }\n this.updater = setInterval(() => {\n this.update()\n }, this.refreshInterval)\n },\n },\n}\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isVisible),expression:\"isVisible\"}],ref:\"rawDialog\",staticClass:\"raw-dialog\",style:(_vm.computedStyle)},[_c('v-card',[_c('div',{ref:\"bar\"},[_c('v-system-bar',[_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('div',_vm._g(_vm._b({},'div',attrs,false),on),[_c('v-icon',{attrs:{\"data-test\":\"copy-icon\"},on:{\"click\":_vm.copyRawData}},[_vm._v(\"\\n mdi-content-copy\\n \")])],1)]}}])},[_vm._v(\" \"),_c('span',[_vm._v(\" Copy \")])]),_vm._v(\" \"),_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('div',_vm._g(_vm._b({},'div',attrs,false),on),[_c('v-icon',{attrs:{\"data-test\":\"download\"},on:{\"click\":_vm.downloadRawData}},[_vm._v(\"\\n mdi-download\\n \")])],1)]}}])},[_vm._v(\" \"),_c('span',[_vm._v(\" Download \")])]),_vm._v(\" \"),_c('v-spacer'),_vm._v(\" \"),_c('span',[_vm._v(\" \"+_vm._s(_vm.type)+\" \")]),_vm._v(\" \"),_c('v-spacer'),_vm._v(\" \"),_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('div',_vm._g(_vm._b({},'div',attrs,false),on),[_c('v-icon',{attrs:{\"data-test\":\"close\"},on:{\"click\":function($event){return _vm.$emit('close')}}},[_vm._v(\"\\n mdi-close-box\\n \")])],1)]}}])},[_vm._v(\" \"),_c('span',[_vm._v(\" Close \")])])],1)],1),_vm._v(\" \"),_c('v-card-title',[_c('span',[_vm._v(\" \"+_vm._s(_vm.header)+\" \")]),_vm._v(\" \"),_c('v-spacer'),_vm._v(\" \"),_c('v-tooltip',{attrs:{\"top\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('div',_vm._g(_vm._b({},'div',attrs,false),on),[_c('v-btn',{attrs:{\"icon\":\"\",\"data-test\":\"pause\"},on:{\"click\":_vm.pause}},[_c('v-icon',[_vm._v(\" \"+_vm._s(_vm.buttonIcon)+\" \")])],1)],1)]}}])},[_vm._v(\" \"),_c('span',[_vm._v(\" \"+_vm._s(_vm.buttonLabel)+\" \")])])],1),_vm._v(\" \"),_c('v-card-text',[_c('v-row',{attrs:{\"dense\":\"\"}},[_c('v-col',{attrs:{\"cols\":\"4\"}},[_c('span',[_vm._v(\" Received Time: \")])]),_vm._v(\" \"),_c('v-col',{staticClass:\"text-right\"},[_c('span',[_vm._v(\" \"+_vm._s(_vm.receivedTime)+\" \")])])],1),_vm._v(\" \"),_c('v-row',{attrs:{\"dense\":\"\"}},[_c('v-col',{attrs:{\"cols\":\"4\"}},[_c('span',[_vm._v(\" Count: \")])]),_vm._v(\" \"),_c('v-col',{staticClass:\"text-right\"},[_c('span',[_vm._v(\" \"+_vm._s(_vm.receivedCount)+\" \")])])],1),_vm._v(\" \"),_c('v-textarea',{staticClass:\"pa-0 ma-0\",attrs:{\"auto-grow\":\"\",\"readonly\":\"\"},model:{value:(_vm.rawData),callback:function ($$v) {_vm.rawData=$$v},expression:\"rawData\"}})],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 2023, 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 v-show=\"isVisible\"\n :style=\"computedStyle\"\n class=\"raw-dialog\"\n ref=\"rawDialog\"\n >\n <v-card>\n <div ref=\"bar\">\n <v-system-bar>\n <v-tooltip top>\n <template v-slot:activator=\"{ on, attrs }\">\n <div v-on=\"on\" v-bind=\"attrs\">\n <v-icon data-test=\"copy-icon\" @click=\"copyRawData\">\n mdi-content-copy\n </v-icon>\n </div>\n </template>\n <span> Copy </span>\n </v-tooltip>\n <v-tooltip top>\n <template v-slot:activator=\"{ on, attrs }\">\n <div v-on=\"on\" v-bind=\"attrs\">\n <v-icon data-test=\"download\" @click=\"downloadRawData\">\n mdi-download\n </v-icon>\n </div>\n </template>\n <span> Download </span>\n </v-tooltip>\n <v-spacer />\n <span> {{ type }} </span>\n <v-spacer />\n <v-tooltip top>\n <template v-slot:activator=\"{ on, attrs }\">\n <div v-on=\"on\" v-bind=\"attrs\">\n <v-icon data-test=\"close\" @click=\"$emit('close')\">\n mdi-close-box\n </v-icon>\n </div>\n </template>\n <span> Close </span>\n </v-tooltip>\n </v-system-bar>\n </div>\n <v-card-title>\n <span> {{ header }} </span>\n <v-spacer />\n <v-tooltip top>\n <template v-slot:activator=\"{ on, attrs }\">\n <div v-on=\"on\" v-bind=\"attrs\">\n <v-btn icon data-test=\"pause\" @click=\"pause\">\n <v-icon> {{ buttonIcon }} </v-icon>\n </v-btn>\n </div>\n </template>\n <span> {{ buttonLabel }} </span>\n </v-tooltip>\n </v-card-title>\n <v-card-text>\n <v-row dense>\n <v-col cols=\"4\">\n <span> Received Time: </span>\n </v-col>\n <v-col class=\"text-right\">\n <span> {{ receivedTime }} </span>\n </v-col>\n </v-row>\n <v-row dense>\n <v-col cols=\"4\">\n <span> Count: </span>\n </v-col>\n <v-col class=\"text-right\">\n <span> {{ receivedCount }} </span>\n </v-col>\n </v-row>\n <v-textarea v-model=\"rawData\" class=\"pa-0 ma-0\" auto-grow readonly />\n </v-card-text>\n </v-card>\n </div>\n</template>\n\n<script>\nimport { format } from 'date-fns'\n\nimport Updater from './Updater'\n\nexport default {\n mixins: [Updater],\n props: {\n type: String,\n visible: Boolean,\n targetName: String,\n packetName: String,\n zIndex: {\n type: Number,\n default: 1,\n },\n },\n data() {\n return {\n header: '',\n receivedTime: '',\n rawData: '',\n paused: false,\n receivedCount: '',\n dragX: 0,\n dragY: 0,\n top: 0,\n left: 0,\n }\n },\n computed: {\n buttonLabel: function () {\n if (this.paused) {\n return 'Resume'\n } else {\n return 'Pause'\n }\n },\n buttonIcon: function () {\n if (this.paused) {\n return 'mdi-play'\n } else {\n return 'mdi-pause'\n }\n },\n isVisible: {\n get: function () {\n return this.visible\n },\n // Reset all the data to defaults\n set: function (bool) {\n this.header = ''\n this.receivedTime = ''\n this.rawData = ''\n this.receivedCount = ''\n this.paused = false\n this.buttonLabel = 'Pause'\n this.$emit('display', bool)\n },\n },\n computedStyle() {\n let style = {}\n style['top'] = this.top + 'px'\n style['left'] = this.left + 'px'\n style['z-index'] = this.zIndex\n return style\n },\n },\n mounted() {\n this.$refs.bar.onmousedown = this.dragMouseDown\n this.$refs.rawDialog.onmouseup = this.focusEvent\n },\n methods: {\n focusEvent: function (e) {\n this.$emit('focus')\n },\n dragMouseDown: function (e) {\n e = e || window.event\n e.preventDefault()\n // get the mouse cursor position at startup:\n this.dragX = e.clientX\n this.dragY = e.clientY\n document.onmouseup = this.closeDragElement\n // call a function whenever the cursor moves:\n document.onmousemove = this.elementDrag\n },\n elementDrag: function (e) {\n e = e || window.event\n e.preventDefault()\n // calculate the new cursor position:\n let xOffset = this.dragX - e.clientX\n let yOffset = this.dragY - e.clientY\n this.dragX = e.clientX\n this.dragY = e.clientY\n // set the element's new position:\n this.top = this.$refs.bar.parentElement.parentElement.offsetTop - yOffset\n this.left =\n this.$refs.bar.parentElement.parentElement.offsetLeft - xOffset\n },\n closeDragElement: function () {\n // stop moving when mouse button is released\n document.onmouseup = null\n document.onmousemove = null\n },\n buildRawData: function () {\n return `${this.header}\\nReceived Time: ${this.receivedTime}\\nCount: ${this.receivedCount}\\n${this.rawData}`\n },\n copyRawData: function () {\n navigator.clipboard.writeText(this.buildRawData())\n },\n downloadRawData: function () {\n const blob = new Blob([this.buildRawData()], {\n type: 'plain/text',\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 const dt = format(Date.now(), 'yyyy_MM_dd_HH_mm_ss')\n link.setAttribute(\n 'download',\n `${dt}_${this.targetName}_${this.packetName}.txt`,\n )\n link.click()\n },\n pause: function () {\n this.paused = !this.paused\n },\n update: function () {\n if (!this.isVisible || this.paused) return\n this.header = `Raw ${this.type} Packet: ${this.targetName} ${this.packetName}`\n\n if (this.type === 'Telemetry') {\n this.updateTelemetry()\n } else {\n this.updateCommand()\n }\n },\n updateTelemetry: function () {\n this.api\n .get_tlm_buffer(this.targetName, this.packetName)\n .then((result) => {\n let buffer_data = result.buffer\n if (buffer_data.raw !== undefined) {\n buffer_data = buffer_data.raw\n } else {\n let utf8Encode = new TextEncoder()\n buffer_data = utf8Encode.encode(buffer_data)\n }\n this.receivedTime = new Date(result.time / 1000000)\n this.receivedCount = result.received_count\n this.rawData =\n 'Address Data Ascii\\n' +\n '---------------------------------------------------------------------------\\n' +\n this.formatBuffer(buffer_data)\n })\n },\n updateCommand: function () {\n this.api\n .get_cmd_buffer(this.targetName, this.packetName)\n .then((result) => {\n let buffer_data = result.buffer\n if (buffer_data.raw !== undefined) {\n buffer_data = buffer_data.raw\n } else {\n let utf8Encode = new TextEncoder()\n buffer_data = utf8Encode.encode(buffer_data)\n }\n this.receivedTime = new Date(result.time / 1000000)\n this.receivedCount = result.received_count\n this.rawData =\n 'Address Data Ascii\\n' +\n '---------------------------------------------------------------------------\\n' +\n this.formatBuffer(buffer_data)\n })\n },\n // TODO: Perhaps move this to a utility library\n formatBuffer: function (buffer) {\n var string = ''\n var index = 0\n var ascii = ''\n buffer.forEach((byte) => {\n if (index % 16 === 0) {\n string += this.numHex(index, 8) + ': '\n }\n string += this.numHex(byte)\n\n // Create the ASCII representation if printable\n if (byte >= 32 && byte <= 126) {\n ascii += String.fromCharCode(byte)\n } else {\n ascii += ' '\n }\n\n index++\n\n if (index % 16 === 0) {\n string += ' ' + ascii + '\\n'\n ascii = ''\n } else {\n string += ' '\n }\n })\n\n // We're done printing all the bytes. Now check to see if we ended in the\n // middle of a line. If so we have to print out the final ASCII if\n // requested.\n if (index % 16 != 0) {\n var existing_length = (index % 16) - 1 + (index % 16) * 2\n // 47 is (16 * 2) + 15 separator spaces\n var filler = ' '.repeat(47 - existing_length)\n var ascii_filler = ' '.repeat(16 - ascii.length)\n string += filler + ' ' + ascii + ascii_filler\n }\n return string\n },\n numHex(num, width = 2) {\n var hex = num.toString(16)\n return '0'.repeat(width - hex.length) + hex\n },\n },\n}\n</script>\n<style scoped>\n.raw-dialog {\n position: absolute;\n top: 0px;\n left: 5px;\n z-index: 1;\n border: solid;\n border-width: 1px;\n border-color: white;\n resize: both;\n overflow: auto;\n max-height: 85vh;\n background-color: var(--color-background-base-selected);\n}\n.raw-dialog :deep(.v-card) {\n height: 100%;\n min-width: 800px;\n}\n.raw-dialog :deep(.v-card__text) {\n height: 100%;\n background-color: var(--color-background-base-selected);\n}\n.v-textarea :deep(textarea) {\n margin-top: 10px;\n font-family: 'Courier New', Courier, monospace;\n overflow-y: scroll;\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!./RawDialog.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!./RawDialog.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./RawDialog.vue?vue&type=template&id=212f6e79&scoped=true\"\nimport script from \"./RawDialog.vue?vue&type=script&lang=js\"\nexport * from \"./RawDialog.vue?vue&type=script&lang=js\"\nimport style0 from \"./RawDialog.vue?vue&type=style&index=0&id=212f6e79&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 \"212f6e79\",\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, `.raw-dialog[data-v-212f6e79]{position:absolute;top:0;left:5px;z-index:1;border:solid;border-width:1px;border-color:#fff;resize:both;overflow:auto;max-height:85vh;background-color:var(--color-background-base-selected)}.raw-dialog[data-v-212f6e79] .v-card{height:100%;min-width:800px}.raw-dialog[data-v-212f6e79] .v-card__text{height:100%;background-color:var(--color-background-base-selected)}.v-textarea[data-v-212f6e79] textarea{margin-top:10px;font-family:Courier New,Courier,monospace;overflow-y:scroll}`, \"\"]);\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!./RawDialog.vue?vue&type=style&index=0&id=212f6e79&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(\"82f5c260\", content, true, {\"sourceMap\":false,\"shadowMode\":false});"],"names":["cov_18iatml2cn","actualCoverage","props","refreshInterval","default","data","f","s","updater","api","created","this","OpenC3Api","mounted","changeUpdater","beforeDestroy","b","clearInterval","watch","newVal","oldVal","methods","setInterval","update","cov_2gt25r962d","render","_vm","_c","_self","directives","name","rawName","value","isVisible","expression","ref","staticClass","style","computedStyle","attrs","scopedSlots","_u","key","fn","on","_g","_b","copyRawData","_v","downloadRawData","_s","type","$event","$emit","header","pause","buttonIcon","buttonLabel","receivedTime","receivedCount","model","rawData","callback","$$v","staticRenderFns","mixins","Updater","String","visible","Boolean","targetName","packetName","zIndex","Number","paused","dragX","dragY","top","left","computed","get","set","bool","$refs","bar","onmousedown","dragMouseDown","rawDialog","onmouseup","focusEvent","e","window","event","preventDefault","clientX","clientY","document","closeDragElement","onmousemove","elementDrag","xOffset","yOffset","parentElement","offsetTop","offsetLeft","buildRawData","navigator","clipboard","writeText","blob","Blob","link","createElement","href","URL","createObjectURL","dt","format","Date","now","setAttribute","click","updateTelemetry","updateCommand","get_tlm_buffer","then","result","buffer_data","buffer","undefined","raw","utf8Encode","TextEncoder","encode","time","received_count","formatBuffer","get_cmd_buffer","string","index","ascii","forEach","byte","numHex","fromCharCode","existing_length","filler","repeat","ascii_filler","length","num","width","hex","toString","component","___CSS_LOADER_EXPORT___","push","module","id","content","__esModule","locals","exports","add"],"sourceRoot":""}
@@ -1,2 +0,0 @@
1
- "use strict";(self["webpackChunk_openc3_cosmos_tool_cmdtlmserver"]=self["webpackChunk_openc3_cosmos_tool_cmdtlmserver"]||[]).push([[364],{2673:(e,t,r)=>{r.d(t,{A:()=>i});var s=r(3816),n=r(1649);const c=new n["default"],_=s.A.create({baseURL:location.origin,timeout:6e4,params:{}});_.interceptors.response.use((e=>e),(e=>{if(e.response){if(401===e.response.status&&OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity,!0).then((function(e){e&&OpenC3Auth.setTokens()})),e.response.config.headers["Ignore-Errors"]&&e.response.config.headers["Ignore-Errors"].includes(e.response.status.toString()))return Promise.reject(e);let t=`HTTP ${e.response.status} - `;throw e.response?.statusText&&(t+=`${e.response.statusText} `),e.response?.config?.data&&(t+=`${e.response.config.data} `),e.response?.data?.message?t+=`${e.response.data.message}`:e.response?.data?.exception?t+=`${e.response.data.exception}`:e.response?.data?.error?.message?(e.response.data.error.class&&(t+=`${e.response.data.error.class} `),t+=`${e.response.data.error.message}`):t+=`${e.response?.data}`,c.$notify&&c.$notify.serious({title:"Network error",body:t}),e}throw e}));const i=_},4364:(e,t,r)=>{r.d(t,{x:()=>c});var s=r(814),n=(r(7107),r(2482),r(7067),r(4147),r(2682),r(785),r(8357),r(6196),r(821),r(6554),r(8472),r(7404),r(5803),r(3912),r(2673));class c{constructor(){(0,s.A)(this,"id",1)}async exec(e,t,r={},s={},c=6e4){try{let e=await OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity);e&&OpenC3Auth.setTokens()}catch(_){OpenC3Auth.login()}this.id=this.id+1;try{r["scope"]=window.openc3Scope,s["manual"]=!0;const _=await n.A.post("/openc3-api/api",{jsonrpc:"2.0",method:e,params:t,id:this.id,keyword_params:r},{headers:{Authorization:localStorage.openc3Token,"Content-Type":"application/json-rpc",...s},timeout:c});return _.data.result}catch(_){let e=new Error;throw _.response?(e.name=_.response.data.error.data.class,e.message=_.response.data.error.data.message,e.object=_.response.data.error):_.request?(e.name="Request error",e.message="Request error, no response received"):e.name="Unknown error",e}}decode_openc3_type(e){if(null!==e&&"object"===typeof e&&"Float"==e.json_class&&e.raw){if("NaN"==e.raw)return NaN;if("Infinity"==e.raw)return 1/0;if("-Infinity"==e.raw)return-1/0}return null}encode_openc3_type(e){return Number.isNaN(e)?{json_class:"Float",raw:"NaN"}:e==Number.POSITIVE_INFINITY?{json_class:"Float",raw:"Infinity"}:e==Number.NEGATIVE_INFINITY?{json_class:"Float",raw:"-Infinity"}:null}ensure_offline_access(){this.offline_access_needed().then((e=>{e&&(localStorage.openc3OfflineToken?this.set_offline_access(localStorage.openc3OfflineToken).then((()=>{delete localStorage.openc3OfflineToken})):OpenC3Auth.getOfflineAccess())}))}offline_access_needed(){return this.exec("offline_access_needed",[])}set_offline_access(e){return this.exec("set_offline_access",[e])}get_all_interface_info(){return this.exec("get_all_interface_info",[])}map_target_to_interface(e,t){return this.exec("map_target_to_interface",[e,t])}connect_interface(e,...t){return t.length>0?this.exec("connect_interface",[e,...t]):this.exec("connect_interface",[e])}disconnect_interface(e){return this.exec("disconnect_interface",[e])}interface_cmd(e,t,...r){return this.exec("interface_cmd",[e,t,...r])}get_all_router_info(){return this.exec("get_all_router_info",[])}connect_router(e){return this.exec("connect_router",[e])}disconnect_router(e){return this.exec("disconnect_router",[e])}get_target_interfaces(){return this.exec("get_target_interfaces",[])}get_all_target_info(){return this.exec("get_all_target_info",[])}get_tlm_cnts(e){return this.exec("get_tlm_cnts",[e])}get_item(e,t,r){return this.exec("get_item",[e,t,r])}get_param(e,t,r){return this.exec("get_param",[e,t,r])}get_parameter(e,t,r){return this.exec("get_parameter",[e,t,r])}get_limits_sets(){return this.exec("get_limits_sets",[])}get_limits_set(){return this.exec("get_limits_set",[])}set_limits_set(e){return this.exec("set_limits_set",[e])}get_target(e){return this.exec("get_target",[e])}get_target_names(){return this.exec("get_target_names",[])}get_target_list(){return this.exec("get_target_list",[])}get_tlm(e,t){return this.exec("get_tlm",[e,t])}get_telemetry(e,t){return this.exec("get_telemetry",[e,t])}get_all_tlm(e){return this.exec("get_all_tlm",[e])}get_all_telemetry(e){return this.exec("get_all_telemetry",[e])}get_all_tlm_names(e,t=!1){return this.exec("get_all_tlm_names",[e],{hidden:t})}get_all_telemetry_names(e){return this.exec("get_all_telemetry_names",[e])}async get_tlm_packet(e,t,r,s=30){const n=await this.exec("get_tlm_packet",[e,t],{type:r,stale_time:s});if(null!=n){let e=n.length,t=null;for(let r=0;r<e;r++)t=this.decode_openc3_type(n[r][1]),null!==t&&(n[r][1]=t)}return n}get_packet_derived_items(e,t){return this.exec("get_packet_derived_items",[e,t])}get_tlm_buffer(e,t){return this.exec("get_tlm_buffer",[e,t])}async get_tlm_values(e,t=30,r=null){let s={stale_time:t};null!==r&&(s["cache_timeout"]=r);const n=await this.exec("get_tlm_values",[e],s,{},1e4);let c=n[0].length,_=null;for(let i=0;i<c;i++)_=this.decode_openc3_type(n[0][i]),null!==_&&(n[0][i]=_);return n}get_limits(e,t,r){return this.exec("get_limits",[e,t,r])}async tlm(e,t,r,s="CONVERTED"){let n=null;if(void 0===t)n=await this.exec("tlm",[e]);else if(void 0===r){if(!["RAW","CONVERTED","FORMATTED","WITH_UNITS"].includes(t)){let e=new Error;throw e.name="TypeError",e.message=`Invalid data type ${t}. Valid options are RAW, CONVERTED, FORMATTED, and WITH_UNITS.`,e}n=await this.exec("tlm",[e],{type:t})}else n=await this.exec("tlm",[e,t,r],{type:s});let c=this.decode_openc3_type(n);return null!==c&&(n=c),n}async inject_tlm(e,t,r=null,s="CONVERTED"){data=await this.exec("inject_tlm",[e,t,r],{type:s})}set_tlm(e,t,r,s){return this.exec("set_tlm",[e,t,r],{type:s})}override_tlm(e,t,r,s){return this.exec("override_tlm",[e,t,r],{type:s})}get_overrides(){return this.exec("get_overrides")}normalize_tlm(e,t,r,s){return this.exec("normalize_tlm",[e,t,r],{type:s})}get_all_cmds(e){return this.exec("get_all_cmds",[e])}get_all_commands(e){return this.exec("get_all_commands",[e])}get_all_cmd_names(e,t=!1){return this.exec("get_all_cmd_names",[e],{hidden:t})}get_all_command_names(e){return this.exec("get_all_command_names",[e])}get_cmd(e,t){return this.exec("get_cmd",[e,t])}get_command(e,t){return this.exec("get_command",[e,t])}get_cmd_cnts(e){return this.exec("get_cmd_cnts",[e])}get_cmd_value(e,t,r,s="CONVERTED"){return this.exec("get_cmd_value",[e,t,r,s])}get_cmd_buffer(e,t){return this.exec("get_cmd_buffer",[e,t])}_cmd(e,t,r,s,n){let c=null;for(let _ in s)Object.prototype.hasOwnProperty.call(s,_)&&(c=this.encode_openc3_type(s[_]),null!==c&&(s[_]=c));return this.exec(e,[t,r,s],{},n)}get_cmd_hazardous(e,t,r,s={}){return void 0===t?this.exec("get_cmd_hazardous",e,{},s):this._cmd("get_cmd_hazardous",e,t,r,s)}cmd(e,t,r,s={}){return void 0===t?this.exec("cmd",e,{},s):this._cmd("cmd",e,t,r,s)}cmd_no_range_check(e,t,r,s={}){return void 0===t?this.exec("cmd_no_range_check",e,{},s):this._cmd("cmd_no_range_check",e,t,r,s)}cmd_raw(e,t,r,s={}){return void 0===t?this.exec("cmd_raw",e,{},s):this._cmd("cmd_raw",e,t,r,s)}cmd_raw_no_range_check(e,t,r,s={}){return void 0===t?this.exec("cmd_raw_no_range_check",e,{},s):this._cmd("cmd_raw_no_range_check",e,t,r,s)}cmd_no_hazardous_check(e,t,r,s={}){return void 0===t?this.exec("cmd_no_hazardous_check",e,{},s):this._cmd("cmd_no_hazardous_check",e,t,r,s)}cmd_no_checks(e,t,r,s={}){return void 0===t?this.exec("cmd_no_checks",e,{},s):this._cmd("cmd_no_checks",e,t,r,s)}cmd_raw_no_hazardous_check(e,t,r,s={}){return void 0===t?this.exec("cmd_raw_no_hazardous_check",e,{},s):this._cmd("cmd_raw_no_hazardous_check",e,t,r,s)}cmd_raw_no_checks(e,t,r,s={}){return void 0===t?this.exec("cmd_raw_no_checks",e,{},s):this._cmd("cmd_raw_no_checks",e,t,r,s)}build_cmd(e,t,r){return void 0===t?this.exec("build_cmd",e):this._cmd("build_cmd",e,t,r)}build_command(e,t,r){return void 0===t?this.exec("build_command",e):this._cmd("build_command",e,t,r)}get_interface_names(){return this.exec("get_interface_names",[])}send_raw(e,t){return this.exec("send_raw",[e,t])}list_configs(e){return this.exec("list_configs",[e])}load_config(e,t){return this.exec("load_config",[e,t])}save_config(e,t,r){return this.exec("save_config",[e,t,r])}delete_config(e,t){return this.exec("delete_config",[e,t])}enable_limits(e,t,r){return this.exec("enable_limits",[e,t,r])}disable_limits(e,t,r){return this.exec("disable_limits",[e,t,r])}get_out_of_limits(){return this.exec("get_out_of_limits",[])}get_overall_limits_state(e){return this.exec("get_overall_limits_state",[e])}list_settings(){return this.exec("list_settings",[])}get_all_settings(){return this.exec("get_all_settings",[])}get_setting(e){return this.exec("get_setting",[e])}get_settings(e){return this.exec("get_settings",e)}set_setting(e,t){return this.exec("set_setting",[e,t])}save_setting(e,t){return this.exec("save_setting",[e,t])}get_metrics(){return this.exec("get_metrics",[])}async hashString(e){if(window.isSecureContext){const t=(new TextEncoder).encode(e),r=await crypto.subtle.digest("SHA-256",t),s=new Uint8Array(r);return Array.from(s).map((e=>e.toString(16).padStart(2,"0"))).join("")}}}}}]);
2
- //# sourceMappingURL=364.js.map