openc3-cosmos-tool-packetviewer 5.11.3 → 5.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/tools/packetviewer/js/114.js +2 -0
- data/tools/packetviewer/js/114.js.map +1 -0
- data/tools/packetviewer/js/197.js +2 -0
- data/tools/packetviewer/js/197.js.map +1 -0
- data/tools/packetviewer/js/540.js +2 -0
- data/tools/packetviewer/js/{388.js.map → 540.js.map} +1 -1
- data/tools/packetviewer/js/app.js +1 -1
- data/tools/packetviewer/js/app.js.map +1 -1
- metadata +8 -8
- data/tools/packetviewer/js/259.js +0 -2
- data/tools/packetviewer/js/259.js.map +0 -1
- data/tools/packetviewer/js/388.js +0 -2
- data/tools/packetviewer/js/769.js +0 -4
- data/tools/packetviewer/js/769.js.map +0 -1
@@ -0,0 +1,2 @@
|
|
1
|
+
(self["webpackChunk_openc3_cosmos_tool_packetviewer"]=self["webpackChunk_openc3_cosmos_tool_packetviewer"]||[]).push([[197],{8197:(e,t,n)=>{"use strict";function a(){var e="/openc3/plugins/packages/openc3-cosmos-tool-packetviewer/src/tools/PacketViewer/PacketViewer.vue",t="8a55503284d1fd8b318efbb202504adb517b458a",n=new Function("return this")(),l="__coverage__",s={path:"/openc3/plugins/packages/openc3-cosmos-tool-packetviewer/src/tools/PacketViewer/PacketViewer.vue",statementMap:{0:{start:{line:1,column:13},end:{line:13,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:12,column:1699}},4:{start:{line:1,column:362},end:{line:1,column:394}},5:{start:{line:1,column:683},end:{line:1,column:697}},6:{start:{line:8,column:103},end:{line:8,column:128}},7:{start:{line:8,column:191},end:{line:12,column:51}},8:{start:{line:10,column:16},end:{line:10,column:29}},9:{start:{line:12,column:93},end:{line:12,column:190}},10:{start:{line:12,column:233},end:{line:12,column:432}},11:{start:{line:12,column:471},end:{line:12,column:628}},12:{start:{line:12,column:734},end:{line:12,column:838}},13:{start:{line:12,column:826},end:{line:12,column:838}},14:{start:{line:12,column:838},end:{line:12,column:863}},15:{start:{line:12,column:924},end:{line:12,column:945}},16:{start:{line:12,column:1360},end:{line:12,column:1388}},17:{start:{line:12,column:1644},end:{line:12,column:1677}},18:{start:{line:14,column:22},end:{line:14,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:13,column:1}},line:1},1:{name:"(anonymous_1)",decl:{start:{line:1,column:345},end:{line:1,column:346}},loc:{start:{line:1,column:361},end:{line:1,column:395}},line:1},2:{name:"(anonymous_2)",decl:{start:{line:1,column:667},end:{line:1,column:668}},loc:{start:{line:1,column:682},end:{line:1,column:698}},line:1},3:{name:"(anonymous_3)",decl:{start:{line:8,column:86},end:{line:8,column:87}},loc:{start:{line:8,column:102},end:{line:8,column:129}},line:8},4:{name:"(anonymous_4)",decl:{start:{line:8,column:172},end:{line:8,column:173}},loc:{start:{line:8,column:190},end:{line:12,column:52}},line:8},5:{name:"(anonymous_5)",decl:{start:{line:9,column:19},end:{line:9,column:20}},loc:{start:{line:9,column:32},end:{line:11,column:15}},line:9},6:{name:"(anonymous_6)",decl:{start:{line:12,column:74},end:{line:12,column:75}},loc:{start:{line:12,column:92},end:{line:12,column:191}},line:12},7:{name:"(anonymous_7)",decl:{start:{line:12,column:214},end:{line:12,column:215}},loc:{start:{line:12,column:232},end:{line:12,column:433}},line:12},8:{name:"(anonymous_8)",decl:{start:{line:12,column:460},end:{line:12,column:461}},loc:{start:{line:12,column:470},end:{line:12,column:629}},line:12},9:{name:"(anonymous_9)",decl:{start:{line:12,column:717},end:{line:12,column:718}},loc:{start:{line:12,column:733},end:{line:12,column:864}},line:12},10:{name:"(anonymous_10)",decl:{start:{line:12,column:908},end:{line:12,column:909}},loc:{start:{line:12,column:923},end:{line:12,column:946}},line:12},11:{name:"(anonymous_11)",decl:{start:{line:12,column:1343},end:{line:12,column:1344}},loc:{start:{line:12,column:1359},end:{line:12,column:1389}},line:12},12:{name:"(anonymous_12)",decl:{start:{line:12,column:1627},end:{line:12,column:1628}},loc:{start:{line:12,column:1643},end:{line:12,column:1678}},line:12}},branchMap:{0:{loc:{start:{line:12,column:140},end:{line:12,column:189}},type:"cond-expr",locations:[{start:{line:12,column:155},end:{line:12,column:180}},{start:{line:12,column:181},end:{line:12,column:189}}],line:12},1:{loc:{start:{line:12,column:734},end:{line:12,column:838}},type:"if",locations:[{start:{line:12,column:734},end:{line:12,column:838}},{start:{line:void 0,column:void 0},end:{line:void 0,column:void 0}}],line:12},2:{loc:{start:{line:12,column:737},end:{line:12,column:825}},type:"binary-expr",locations:[{start:{line:12,column:737},end:{line:12,column:764}},{start:{line:12,column:766},end:{line:12,column:825}}],line:12}},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},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},b:{0:[0,0],1:[0,0],2:[0,0]},_coverageSchema:"1a1c01bbd47fc00a2c39e90264f33305004495a9",hash:"8a55503284d1fd8b318efbb202504adb517b458a"},i=n[l]||(n[l]={});i[e]&&i[e].hash===t||(i[e]=s);var r=i[e];return a=function(){return r},r}n.r(t),n.d(t,{default:()=>Y}),a(),a().s[0]++;var l=function(){a().f[0]++;var e=(a().s[1]++,this),t=(a().s[2]++,e._self._c);return a().s[3]++,t("div",[t("top-bar",{attrs:{menus:e.menus,title:e.title}}),e._v(" "),t("v-card",{staticStyle:{padding:"10px"}},[t("target-packet-item-chooser",{attrs:{"initial-target-name":this.$route.params.target,"initial-packet-name":this.$route.params.packet},on:{"on-set":function(t){return a().f[1]++,a().s[4]++,e.packetChanged(t)}}}),e._v(" "),t("v-card-title",{staticStyle:{"padding-top":"0px"}},[e._v("\n Items\n "),t("v-spacer"),e._v(" "),t("v-text-field",{attrs:{"append-icon":"mdi-magnify",label:"Search","single-line":"","hide-details":""},model:{value:e.search,callback:function(t){a().f[2]++,a().s[5]++,e.search=t},expression:"search"}})],1),e._v(" "),t("v-data-table",{attrs:{headers:e.headers,items:e.rows,search:e.search,"items-per-page":e.itemsPerPage,"footer-props":{itemsPerPageOptions:[10,20,50,100,500,1e3],showFirstLastPage:!0,firstIcon:"mdi-page-first",lastIcon:"mdi-page-last",prevIcon:"mdi-chevron-left",nextIcon:"mdi-chevron-right"},"calculate-widths":"","multi-sort":"",dense:""},on:{"update:items-per-page":function(t){a().f[3]++,a().s[6]++,e.itemsPerPage=t}},scopedSlots:e._u([{key:"item.index",fn:function({item:n}){return a().f[4]++,a().s[7]++,[t("span",[e._v("\n "+e._s(e.rows.map((function(e){return a().f[5]++,a().s[8]++,e.name})).indexOf(n.name))+"\n ")])]}},{key:"item.name",fn:function({item:n}){return a().f[6]++,a().s[9]++,[e._v("\n "+e._s(n.name)),n.derived?(a().b[0][0]++,t("span",[e._v(" *")])):(a().b[0][1]++,e._e())]}},{key:"item.value",fn:function({item:n}){return a().f[7]++,a().s[10]++,[t("value-widget",{attrs:{value:n.value,"limits-state":n.limitsState,counter:n.counter,parameters:[e.targetName,e.packetName,n.name],settings:[["WIDTH","100%"]]}})]}},{key:"footer.prepend",fn:function(){return a().f[8]++,a().s[11]++,[e._v("* indicates a \n "),t("a",{attrs:{href:"https://openc3.com/docs/v5/telemetry#derived-items"}},[e._v("DERIVED")]),e._v(" item")]},proxy:!0}])})],1),e._v(" "),t("v-dialog",{attrs:{"max-width":"300"},on:{keydown:function(t){if(a().f[9]++,a().s[12]++,a().b[2][0]++,!t.type.indexOf("key")&&(a().b[2][1]++,e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])))return a().b[1][0]++,a().s[13]++,null;a().b[1][1]++,a().s[14]++,e.optionsDialog=!1}},model:{value:e.optionsDialog,callback:function(t){a().f[10]++,a().s[15]++,e.optionsDialog=t},expression:"optionsDialog"}},[t("v-card",[t("v-system-bar",[t("v-spacer"),e._v(" "),t("span",[e._v("Options")]),e._v(" "),t("v-spacer")],1),e._v(" "),t("v-card-text",[t("div",{staticClass:"pa-3"},[t("v-text-field",{attrs:{min:"0",max:"10000",step:"100",type:"number",label:"Refresh Interval (ms)",value:e.refreshInterval,"data-test":"refresh-interval"},on:{change:function(t){a().f[11]++,a().s[16]++,e.refreshInterval=t}}})],1),e._v(" "),t("div",{staticClass:"pa-3"},[t("v-text-field",{attrs:{min:"1",max:"10000",step:"1",type:"number",label:"Time at which to mark data Stale (s)",value:e.staleLimit,"data-test":"stale-limit"},on:{change:function(t){a().f[12]++,a().s[17]++,e.staleLimit=parseInt(t)}}})],1)])],1)],1)],1)},s=(a().s[18]++,[]),i=(n(4936),n(471)),r=(n(978),n(309),n(5984),n(7380),n(527),n(1697),n(9394),n(3438),n(3616),n(5630),n(896),n(4139),n(9644)),o=n.n(r),c=n(4091);const d=new c["default"],u=o().create({baseURL:location.origin,timeout:6e4,params:{}});u.interceptors.response.use((e=>e),(e=>{if(e.response){var t,n,a,l,s;if(401===e.response.status&&OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity,!0).then((function(e){e&&OpenC3Auth.setTokens()})),e.response.headers["ignore-errors"]&&e.response.headers["ignore-errors"].includes(e.response.status.toString()))return Promise.reject(e);let r=`HTTP ${e.response.status} - `;if(null!==(t=e.response)&&void 0!==t&&t.statusText&&(r+=`${e.response.statusText} `),null!==(n=e.response)&&void 0!==n&&null!==(n=n.config)&&void 0!==n&&n.data&&(r+=`${e.response.config.data} `),null!==(a=e.response)&&void 0!==a&&null!==(a=a.data)&&void 0!==a&&a.message)r+=`${e.response.data.message}`;else if(null!==(l=e.response)&&void 0!==l&&null!==(l=l.data)&&void 0!==l&&l.exception)r+=`${e.response.data.exception}`;else if(null!==(s=e.response)&&void 0!==s&&null!==(s=s.data)&&void 0!==s&&null!==(s=s.error)&&void 0!==s&&s.message)e.response.data.error.class&&(r+=`${e.response.data.error.class} `),r+=`${e.response.data.error.message}`;else{var i;r+=`${null===(i=e.response)||void 0===i?void 0:i.data}`}throw d.$notify&&d.$notify.serious({title:"Network error",body:r}),e}throw e}));const m=u;class h{constructor(){(0,i.Z)(this,"id",1)}async exec(e,t,n={},a={},l=6e4){try{let e=await OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity);e&&OpenC3Auth.setTokens()}catch(i){OpenC3Auth.login()}this.id=this.id+1;try{n["scope"]=window.openc3Scope;const s=await m.post("/openc3-api/api",{jsonrpc:"2.0",method:e,params:t,id:this.id,keyword_params:n},{headers:{Authorization:localStorage.openc3Token,"Content-Type":"application/json-rpc",...a},timeout:l});return s.data.result}catch(i){var s=new Error;throw i.response?(s.name=i.response.data.error.data.class,s.message=i.response.data.error.data.message):i.request?(s.name="Request error",s.message="Request error, no response received"):s.name="Unknown error",s}}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])}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,n){return this.exec("get_item",[e,t,n])}get_parameter(e,t,n){return this.exec("get_parameter",[e,t,n])}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_list(){return this.exec("get_target_list",[])}get_target_names(){return this.exec("get_target_names",[])}get_telemetry(e,t){return this.exec("get_telemetry",[e,t])}get_all_telemetry(e){return this.exec("get_all_telemetry",[e])}get_all_telemetry_names(e){return this.exec("get_all_telemetry_names",[e])}async get_tlm_packet(e,t,n,a=30){const l=await this.exec("get_tlm_packet",[e,t],{type:n,stale_time:a});if(null!=l)for(var s=l.length,i=null,r=0;r<s;r++)i=this.decode_openc3_type(l[r][1]),null!==i&&(l[r][1]=i);return l}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){const n=await this.exec("get_tlm_values",[e],{stale_time:t},{},1e4);for(var a=n[0].length,l=null,s=0;s<a;s++)l=this.decode_openc3_type(n[0][s]),null!==l&&(n[0][s]=l);return n}get_limits(e,t,n){return this.exec("get_limits",[e,t,n])}async tlm(e,t,n,a="CONVERTED"){let l=null;if(void 0===t)l=await this.exec("tlm",[e]);else if(void 0===n){if(!["RAW","CONVERTED","FORMATTED","WITH_UNITS"].includes(t)){var s=new Error;throw s.name="TypeError",s.message=`Invalid data type ${t}. Valid options are RAW, CONVERTED, FORMATTED, and WITH_UNITS.`,s}l=await this.exec("tlm",[e],{type:t})}else l=await this.exec("tlm",[e,t,n],{type:a});var i=this.decode_openc3_type(l);return null!==i&&(l=i),l}async inject_tlm(e,t,n=null,a="CONVERTED"){data=await this.exec("inject_tlm",[e,t,n],{type:a})}set_tlm(e,t,n,a){return this.exec("set_tlm",[e,t,n],{type:a})}override_tlm(e,t,n,a){return this.exec("override_tlm",[e,t,n],{type:a})}get_overrides(){return this.exec("get_overrides")}normalize_tlm(e,t,n,a){return this.exec("normalize_tlm",[e,t,n],{type:a})}get_all_commands(e){return this.exec("get_all_commands",[e])}get_all_command_names(e){return this.exec("get_all_command_names",[e])}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,n,a="CONVERTED"){return this.exec("get_cmd_value",[e,t,n,a])}get_cmd_buffer(e,t){return this.exec("get_cmd_buffer",[e,t])}_cmd(e,t,n,a,l){var s=null;for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(s=this.encode_openc3_type(a[i]),null!==s&&(a[i]=s));return this.exec(e,[t,n,a],{},l)}get_cmd_hazardous(e,t,n){return void 0===t?this.exec("get_cmd_hazardous",e):this._cmd("get_cmd_hazardous",e,t,n)}cmd(e,t,n,a={}){return void 0===t?this.exec("cmd",e,{},a):this._cmd("cmd",e,t,n,a)}cmd_no_range_check(e,t,n){return void 0===t?this.exec("cmd_no_range_check",e):this._cmd("cmd_no_range_check",e,t,n)}cmd_raw(e,t,n){return void 0===t?this.exec("cmd_raw",e):this._cmd("cmd_raw",e,t,n)}cmd_raw_no_range_check(e,t,n){return void 0===t?this.exec("cmd_raw_no_range_check",e):this._cmd("cmd_raw_no_range_check",e,t,n)}cmd_no_hazardous_check(e,t,n){return void 0===t?this.exec("cmd_no_hazardous_check",e):this._cmd("cmd_no_hazardous_check",e,t,n)}cmd_no_checks(e,t,n){return void 0===t?this.exec("cmd_no_checks",e):this._cmd("cmd_no_checks",e,t,n)}cmd_raw_no_hazardous_check(e,t,n){return void 0===t?this.exec("cmd_raw_no_hazardous_check",e):this._cmd("cmd_raw_no_hazardous_check",e,t,n)}cmd_raw_no_checks(e,t,n){return void 0===t?this.exec("cmd_raw_no_checks",e):this._cmd("cmd_raw_no_checks",e,t,n)}build_command(e,t,n){return void 0===t?this.exec("build_command",e):this._cmd("build_command",e,t,n)}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,n){return this.exec("save_config",[e,t,n])}delete_config(e,t){return this.exec("delete_config",[e,t])}enable_limits(e,t,n){return this.exec("enable_limits",[e,t,n])}disable_limits(e,t,n){return this.exec("disable_limits",[e,t,n])}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),n=await crypto.subtle.digest("SHA-256",t),a=new Uint8Array(n);return Array.from(a).map((e=>e.toString(16).padStart(2,"0"))).join("")}}}var p=function(){var e=this,t=e._self._c;return t("div",{staticClass:"value-widget-container",style:[e.computedStyle,e.aging]},[t("v-tooltip",{attrs:{bottom:""},scopedSlots:e._u([{key:"activator",fn:function({on:n,attrs:a}){return[t("v-text-field",e._g(e._b({class:e.valueClass,attrs:{solo:"",dense:"",readonly:"","single-line":"","hide-no-data":"","hide-details":"",placeholder:"Value",value:e._value,"data-test":"value"},on:{contextmenu:e.showContextMenu}},"v-text-field",a,!1),n))]}}])},[e._v(" "),t("span",[e._v(e._s(e.fullName))])]),e._v(" "),t("v-menu",{attrs:{"position-x":e.x,"position-y":e.y,absolute:"","offset-y":""},model:{value:e.contextMenuShown,callback:function(t){e.contextMenuShown=t},expression:"contextMenuShown"}},[t("v-list",e._l(e.contextMenuOptions,(function(n,a){return t("v-list-item",{key:a,on:{click:function(e){return e.stopPropagation(),n.action.apply(null,arguments)}}},[t("v-list-item-title",[e._v(e._s(n.title))])],1)})),1)],1),e._v(" "),t("details-dialog",{attrs:{"target-name":e.parameters[0],"packet-name":e.parameters[1],"item-name":e.parameters[2]},model:{value:e.viewDetails,callback:function(t){e.viewDetails=t},expression:"viewDetails"}})],1)},v=[];n(2464),n(1531);class _{constructor(e,t,n="",a=""){this.keyword=e.keyword,this.parameters=e.parameters,this.filename=e.filename,this.line=e.line,this.lineNumber=e.lineNumber,this.message=t,this.usage=n,this.url=a}}const A={props:{widgetIndex:{type:Number,default:null},parameters:{type:Array,default:()=>[]},settings:{type:Array,default:()=>[]},line:{type:String,default:""},lineNumber:{type:Number,default:0}},data(){return{screen:null}},computed:{computedStyle(){let e={};return this.settings.forEach((t=>{const n=parseInt(t[0]);if(null!==this.widgetIndex){if(this.widgetIndex!==n)return;t=t.slice(1)}this.applySetting(e,t)})),void 0===e["width"]&&(e["flex"]="0 10 100%"),e}},created(){this.settings.forEach((e=>{"__SCREEN__"===e[0]&&(this.screen=e[1])}))},methods:{applySetting(e,t){switch(t[0]){case"TEXTALIGN":e["text-align"]=t[1].toLowerCase()+" !important",e["--text-align"]=t[1].toLowerCase();break;case"PADDING":isNaN(Number(t[1]))||(t[1]+="px"),e["padding"]=t[1]+" !important";break;case"MARGIN":isNaN(Number(t[1]))||(t[1]+="px"),e["margin"]=t[1]+" !important";break;case"BACKCOLOR":e["background-color"]=this.getColor(t.slice(1))+" !important";break;case"TEXTCOLOR":e["color"]=this.getColor(t.slice(1))+" !important";break;case"BORDERCOLOR":e["border-width"]="1px!important",e["border-style"]="solid!important",e["border-color"]=this.getColor(t.slice(1))+" !important";break;case"WIDTH":isNaN(Number(t[1]))||(t[1]+="px"),e["width"]=t[1]+" !important";break;case"HEIGHT":isNaN(Number(t[1]))||(t[1]+="px"),e["height"]=t[1]+" !important";break;case"RAW":e[t[1].toLowerCase()]=t[2]+" !important";break}},verifyNumParams(e,t,n,a=""){let l={line:this.line,lineNumber:this.lineNumber,keyword:e,parameters:this.parameters};for(var s=1;s<=t;s++)if(void 0===this.parameters[s-1])throw new _(l,`Not enough parameters for ${e}.`,a,"https://openc3.com/docs/v5");if(n&&void 0!==this.parameters[n])throw new _(l,`Too many parameters for ${e}.`,a,"https://openc3.com/docs/v5")},setWidth(e,t="px",n="120"){let a=null;if(a=null!==this.widgetIndex?this.settings.find((e=>parseInt(e[0])===this.widgetIndex&&"WIDTH"===e[1])):this.settings.find((e=>"WIDTH"===e[0])),a)return a["WIDTH"];if(e){let n=["WIDTH",`${e}${t}`];return null!==this.widgetIndex&&n.unshift(this.widgetIndex),this.settings.push(n),parseInt(e)}{let e=["WIDTH",`${n}${t}`];return null!==this.widgetIndex&&e.unshift(this.widgetIndex),this.settings.push(e),parseInt(n)}},setHeight(e,t="px",n="20"){let a=null;if(a=null!==this.widgetIndex?this.settings.find((e=>parseInt(e[0])===this.widgetIndex&&"HEIGHT"===e[1])):this.settings.find((e=>"HEIGHT"===e[0])),a)return a["HEIGHT"];if(e){let n=["HEIGHT",`${e}${t}`];return null!==this.widgetIndex&&n.unshift(this.widgetIndex),this.settings.push(n),parseInt(e)}{let e=["HEIGHT",`${n}${t}`];return null!==this.widgetIndex&&e.unshift(this.widgetIndex),this.settings.push(e),parseInt(n)}},getColor(e){switch(e.length){case 1:return e[0].toLowerCase();case 3:return`rgb(${e[0]},${e[1]},${e[2]})`}}}};n(131);const g={mixins:[A],props:{value:{default:null},limitsState:{type:String,default:null},counter:{default:null},formatString:null},data(){return{curValue:null,prevValue:null,grayLevel:80,grayRate:5,valueId:null,colorBlind:!1,viewDetails:!1,contextMenuShown:!1,x:0,y:0,contextMenuOptions:[{title:"Details",action:()=>{this.contextMenuShown=!1,this.viewDetails=!0}},{title:"Graph",action:()=>{window.open("/tools/tlmgrapher/"+this.parameters[0]+"/"+this.parameters[1]+"/"+this.parameters[2],"_blank")}}]}},watch:{_counter:function(e,t){this.curValue!==this.prevValue?this.grayLevel=80:(this.grayLevel-=this.grayRate,this.grayLevel<30&&(this.grayLevel=30)),this.prevValue=this.curValue}},computed:{_value:function(){return this.curValue=this.value,null===this.curValue&&(this.screen?this.screen.screenValues[this.valueId]&&(this.curValue=this.screen.screenValues[this.valueId][0]):this.curValue=null),this.curValue=this.formatValue(this.curValue),"true"===localStorage.colorblindMode&&""!==this.limitsLetter?`${this.curValue} (${this.limitsLetter})`:this.curValue},_counter:function(){let e=this.counter;return null===e&&(this.screen?this.screen.screenValues[this.valueId]&&(e=this.screen.screenValues[this.valueId][2]):e=null),e},valueClass:function(){return"value shrink pa-1 openc3-"+this.limitsColor},limitsColor(){let e=this.limitsState;if(null===e&&(this.screen?this.screen.screenValues[this.valueId]&&(e=this.screen.screenValues[this.valueId][1]):e=null),null!=e)switch(e){case"GREEN":case"GREEN_HIGH":case"GREEN_LOW":return"green";case"YELLOW":case"YELLOW_HIGH":case"YELLOW_LOW":return"yellow";case"RED":case"RED_HIGH":case"RED_LOW":return"red";case"BLUE":return"blue";case"STALE":return"purple";default:return"white"}return""},limitsLetter(){let e=this.limitsState;if(null===e&&(this.screen?this.screen.screenValues[this.valueId]&&(e=this.screen.screenValues[this.valueId][1]):e=null),null!=e){let t=e.charAt(0);return e.endsWith("_LOW")&&(t=t.toLowerCase()),t}return""}},created(){null!==this.value&&null!==this.limitsState||(this.valueId=`${this.parameters[0]}__${this.parameters[1]}__${this.parameters[2]}__${this.getType()}`,this.screen&&this.screen.addItem(this.valueId))},destroyed(){null!==this.value&&null!==this.limitsState||this.screen&&this.screen.deleteItem(this.valueId)},methods:{getType(){var e="WITH_UNITS";return this.parameters[3]&&(e=this.parameters[3]),e},formatValue(e){if(e&&"String"===e["json_class"]&&void 0!==e["raw"]){let t=Array.from(e["raw"].slice(0,32),(function(e){return("0"+(255&e).toString(16)).slice(-2)})).join(" ").toUpperCase();return e["raw"].length>32&&(t+="..."),t}if("Array"===Object.prototype.toString.call(e).slice(8,-1)){let t="[";for(let n=0;n<e.length;n++)"String"===Object.prototype.toString.call(e[n]).slice(8,-1)?t+='"'+e[n]+'"':t+=e[n],n!=e.length-1&&(t+=", ");return t+="]",t}return"Object"===Object.prototype.toString.call(e).slice(8,-1)?"":this.formatString&&e?sprintf(this.formatString,e):""+e},showContextMenu(e){e.preventDefault(),this.contextMenuShown=!1,this.x=e.clientX,this.y=e.clientY,this.$nextTick((()=>{this.contextMenuShown=!0}))}}};var f=function(){var e=this,t=e._self._c;return t("v-dialog",{attrs:{width:"600"},model:{value:e.show,callback:function(t){e.show=t},expression:"show"}},[t("v-card",[t("v-system-bar",[t("v-spacer"),e._v(" "),t("span",[e._v(" Details ")]),e._v(" "),t("v-spacer")],1),e._v(" "),t("v-card-title",[e._v("\n "+e._s(e.targetName)+" "+e._s(e.packetName)+" "+e._s(e.itemName)+"\n ")]),e._v(" "),t("v-card-subtitle",[e._v(e._s(e.details.description))]),e._v(" "),t("v-card-text",[t("v-container",{attrs:{fluid:""}},["tlm"===e.type?t("v-row",{attrs:{"no-gutters":""}},[t("v-col",{staticClass:"label",attrs:{cols:"3"}},[e._v("Item Values")]),e._v(" "),t("v-col"),e._v(" "),t("v-container",{staticClass:"ml-5 pa-0",attrs:{fluid:""}},[t("v-row",{attrs:{"no-gutters":""}},[t("v-col",{staticClass:"label",attrs:{cols:"4"}},[e._v("Raw Value")]),e._v(" "),t("v-col",[e._v(e._s(e.rawValue))])],1),e._v(" "),t("v-row",{attrs:{"no-gutters":""}},[t("v-col",{staticClass:"label",attrs:{cols:"4"}},[e._v("Converted Value")]),e._v(" "),t("v-col",[e._v(e._s(e.convertedValue))])],1),e._v(" "),t("v-row",{attrs:{"no-gutters":""}},[t("v-col",{staticClass:"label",attrs:{cols:"4"}},[e._v("Formatted Value")]),e._v(" "),t("v-col",[e._v(e._s(e.formattedValue))])],1),e._v(" "),t("v-row",{attrs:{"no-gutters":""}},[t("v-col",{staticClass:"label",attrs:{cols:"4"}},[e._v("With Units Value")]),e._v(" "),t("v-col",[e._v(e._s(e.unitsValue))])],1)],1)],1):e._e(),e._v(" "),t("v-row",{attrs:{"no-gutters":""}},[t("v-col",{staticClass:"label",attrs:{cols:"3"}},[e._v("Bit Offset")]),e._v(" "),t("v-col",[e._v(e._s(e.details.bit_offset))])],1),e._v(" "),t("v-row",{attrs:{"no-gutters":""}},[t("v-col",{staticClass:"label",attrs:{cols:"3"}},[e._v("Bit Size")]),e._v(" "),t("v-col",[e._v(e._s(e.details.bit_size))])],1),e._v(" "),e.details.array_size?t("v-row",{attrs:{"no-gutters":""}},[t("v-col",{staticClass:"label",attrs:{cols:"3"}},[e._v("Array Size")]),e._v(" "),t("v-col",[e._v(e._s(e.details.array_size))])],1):e._e(),e._v(" "),t("v-row",{attrs:{"no-gutters":""}},[t("v-col",{staticClass:"label",attrs:{cols:"3"}},[e._v("Data Type")]),e._v(" "),t("v-col",[e._v(e._s(e.details.data_type))])],1),e._v(" "),"cmd"===e.type?t("v-row",{attrs:{"no-gutters":""}},[t("v-col",{staticClass:"label",attrs:{cols:"3"}},[e._v("Minimum")]),e._v(" "),t("v-col",[e._v(e._s(e.details.minimum))])],1):e._e(),e._v(" "),"cmd"===e.type?t("v-row",{attrs:{"no-gutters":""}},[t("v-col",{staticClass:"label",attrs:{cols:"3"}},[e._v("Maximum")]),e._v(" "),t("v-col",[e._v(e._s(e.details.maximum))])],1):e._e(),e._v(" "),"cmd"===e.type?t("v-row",{attrs:{"no-gutters":""}},[t("v-col",{staticClass:"label",attrs:{cols:"3"}},[e._v("Default")]),e._v(" "),t("v-col",[e._v(e._s(e.details.default))])],1):e._e(),e._v(" "),t("v-row",{attrs:{"no-gutters":""}},[t("v-col",{staticClass:"label",attrs:{cols:"3"}},[e._v("Format String")]),e._v(" "),t("v-col",[e._v(e._s(e.details.format_string))])],1),e._v(" "),t("v-row",{attrs:{"no-gutters":""}},[t("v-col",{staticClass:"label",attrs:{cols:"3"}},[e._v("Read Conversion")]),e._v(" "),e.details.read_conversion?t("v-col",[e._v("\n Class: "+e._s(e.details.read_conversion.class)+"\n "),t("br"),e._v("\n Params:\n "+e._s(e.details.read_conversion.params)+"\n ")]):t("v-col")],1),e._v(" "),t("v-row",{attrs:{"no-gutters":""}},[t("v-col",{staticClass:"label",attrs:{cols:"3"}},[e._v("Write Conversion")]),e._v(" "),e.details.write_conversion?t("v-col",[e._v("\n Class: "+e._s(e.details.write_conversion.class)+"\n "),t("br"),e._v("\n Params:\n "+e._s(e.details.write_conversion.params)+"\n ")]):t("v-col")],1),e._v(" "),t("v-row",{attrs:{"no-gutters":""}},[t("v-col",{staticClass:"label",attrs:{cols:"3"}},[e._v("Id Value")]),e._v(" "),t("v-col",[e._v(e._s(e.details.id_value))])],1),e._v(" "),t("v-row",{attrs:{"no-gutters":""}},[t("v-col",{staticClass:"label",attrs:{cols:"3"}},[e._v("Units Full")]),e._v(" "),t("v-col",[e._v(e._s(e.details.units_full))])],1),e._v(" "),t("v-row",{attrs:{"no-gutters":""}},[t("v-col",{staticClass:"label",attrs:{cols:"3"}},[e._v("Units Abbr")]),e._v(" "),t("v-col",[e._v(e._s(e.details.units))])],1),e._v(" "),t("v-row",{attrs:{"no-gutters":""}},[t("v-col",{staticClass:"label",attrs:{cols:"3"}},[e._v("Endianness")]),e._v(" "),t("v-col",[e._v(e._s(e.details.endianness))])],1),e._v(" "),e.details.states?t("v-row",{attrs:{"no-gutters":""}},[t("v-col",{staticClass:"label",attrs:{cols:"3"}},[e._v("States")]),e._v(" "),t("v-col"),e._v(" "),t("v-container",{staticClass:"ml-5 pa-0",attrs:{fluid:""}},e._l(e.details.states,(function(n,a){return t("v-row",{key:a,attrs:{"no-gutters":""}},[t("v-col",{staticClass:"label",attrs:{cols:"4"}},[e._v(e._s(a))]),e._v(" "),t("v-col",[e._v(e._s(n.value))])],1)})),1)],1):t("v-row",{attrs:{"no-gutters":""}},[t("v-col",{staticClass:"label",attrs:{cols:"3"}},[e._v("States")]),e._v(" "),t("v-col",[e._v("None")])],1),e._v(" "),e.details.limits?t("v-row",{attrs:{"no-gutters":""}},[t("v-col",{staticClass:"label",attrs:{cols:"3"}},[e._v("Limits")]),e._v(" "),t("v-col"),e._v(" "),t("v-container",{staticClass:"ml-5 pa-0",attrs:{fluid:""}},e._l(e.details.limits,(function(n,a){return t("v-row",{key:a,attrs:{"no-gutters":""}},["enabled"===a?t("v-col",{staticClass:"label",attrs:{cols:"4"}},[e._v("Enabled")]):e._e(),e._v(" "),"enabled"===a?t("v-switch",{attrs:{dense:"","hide-details":""},on:{change:e.changeLimitsEnabled},model:{value:e.details.limits.enabled,callback:function(t){e.$set(e.details.limits,"enabled",t)},expression:"details.limits.enabled"}}):e._e(),e._v(" "),"enabled"!==a?t("v-col",{staticClass:"label",attrs:{cols:"4"}},[e._v(e._s(a))]):e._e(),e._v(" "),"enabled"!==a?t("div",[e._v(e._s(e.formatLimit(n)))]):e._e(),e._v(" "),t("v-col")],1)})),1)],1):t("v-row",{attrs:{"no-gutters":""}},[t("v-col",{staticClass:"label",attrs:{cols:"3"}},[e._v("Limits")]),e._v(" "),t("v-col",[e._v("None")])],1),e._v(" "),e.details.meta?t("v-row",{attrs:{"no-gutters":""}},[t("v-col",{staticClass:"label",attrs:{cols:"3"}},[e._v("Meta")]),e._v(" "),t("v-col"),e._v(" "),t("v-container",{staticClass:"ml-5 pa-0",attrs:{fluid:""}},e._l(e.details.meta,(function(n,a){return t("v-row",{key:a,attrs:{"no-gutters":""}},[t("v-col",{staticClass:"label",attrs:{cols:"4"}},[e._v(e._s(a))]),e._v(" "),t("v-col",[e._v(e._s(n))])],1)})),1)],1):t("v-row",{attrs:{"no-gutters":""}},[t("v-col",{staticClass:"label",attrs:{cols:"3"}},[e._v("Meta")]),e._v(" "),t("v-col",[e._v("None")])],1)],1)],1)],1)],1)},C=[];const b={props:{type:{default:"tlm",validator:function(e){return-1!==["cmd","tlm"].indexOf(e)}},targetName:String,packetName:String,itemName:String,value:Boolean},data(){return{details:Object,updater:null,rawValue:null,convertedValue:null,formattedValue:null,unitsValue:null}},computed:{show:{get(){return this.value},set(e){this.$emit("input",e)}}},created(){this.api=new h},beforeDestroy(){clearInterval(this.updater),this.updater=null},watch:{value:function(e,t){e?(this.requestDetails(),"tlm"===this.type&&(this.updater=setInterval((()=>{this.api.get_tlm_values([`${this.targetName}__${this.packetName}__${this.itemName}__RAW`,`${this.targetName}__${this.packetName}__${this.itemName}__CONVERTED`,`${this.targetName}__${this.packetName}__${this.itemName}__FORMATTED`,`${this.targetName}__${this.packetName}__${this.itemName}__WITH_UNITS`]).then((e=>{for(var t=0;t<e.length;t++){let n=null;if("String"===e[t][0]["json_class"]&&void 0!==e[t][0]["raw"]?n=e[t][0]["raw"]:"BLOCK"===this.details.data_type&&(n=e[t][0]),null!==n){n=n.slice(0,parseInt(this.details.bit_size)/8);let a=!1;n.length>64&&(a=!0),e[t][0]=Array.from(n.slice(0,64),(function(e){return("0"+(255&e).toString(16)).slice(-2)})).join(" ").toUpperCase(),a&&(e[t][0]+="...")}}this.details.data_type.includes("INT")&&!this.details.array_size?this.rawValue=`${e[0][0]} (0x${e[0][0].toString(16).toUpperCase()})`:this.rawValue=e[0][0],this.convertedValue=e[1][0],this.formattedValue=e[2][0],this.unitsValue=e[3][0]}))}),1e3))):(clearInterval(this.updater),this.updater=null)}},methods:{async requestDetails(){"tlm"===this.type?await this.api.get_item(this.targetName,this.packetName,this.itemName).then((e=>{if(this.details=e,e.limits){let t=!1;e.limits.enabled&&(t=!0,delete e.limits.enabled),this.details.limits={enabled:t,...e.limits}}})):await this.api.get_parameter(this.targetName,this.packetName,this.itemName).then((e=>{this.details=e}))},async changeLimitsEnabled(){this.details.limits.enabled?await this.api.enable_limits(this.targetName,this.packetName,this.itemName):await this.api.disable_limits(this.targetName,this.packetName,this.itemName)},formatLimit(e){return e.green_low?"RL/"+e.red_low+" YL/"+e.yellow_low+" YH/"+e.yellow_high+" RH/"+e.red_high+" GL/"+e.green_low+" GH/"+e.green_high:e.red_low?"RL/"+e.red_low+" YL/"+e.yellow_low+" YH/"+e.yellow_high+" RH/"+e.red_high:e}}},y=b;n(5343);var N=n(3483),w=(0,N.Z)(y,f,C,!1,null,"9697eed8",null);const k=w.exports,x=4,I={components:{DetailsDialog:k},mixins:[g],data:function(){return{width:12+x}},computed:{fullName(){return this.parameters[0]+" "+this.parameters[1]+" "+this.parameters[2]},aging(){return{"--aging":this.grayLevel}}},created(){this.verifyNumParams("VALUE",3,5,"VALUE <TARGET> <PACKET> <ITEM> <TYPE> <WIDTH>"),this.setWidth(parseInt(this.parameters[4])+x,"ch",this.width)}},T=I;n(5161);var S=(0,N.Z)(T,p,v,!1,null,"c9da8e24",null);const E=S.exports;var D=function(){var e=this,t=e._self._c;return t("v-container",{staticClass:"c-chooser px-0"},[t("v-row",[t("v-col",{attrs:{cols:e.colSize,"data-test":"select-target"}},[t("v-autocomplete",{attrs:{label:"Select Target","hide-details":"",dense:"",items:e.targetNames,"item-text":"label","item-value":"value"},on:{change:e.targetNameChanged},model:{value:e.selectedTargetName,callback:function(t){e.selectedTargetName=t},expression:"selectedTargetName"}})],1),e._v(" "),t("v-col",{attrs:{cols:e.colSize,"data-test":"select-packet"}},[t("v-autocomplete",{attrs:{label:"Select Packet","hide-details":"",dense:"",disabled:e.packetsDisabled||e.buttonDisabled,items:e.packetNames,"item-text":"label","item-value":"value"},on:{change:e.packetNameChanged},model:{value:e.selectedPacketName,callback:function(t){e.selectedPacketName=t},expression:"selectedPacketName"}})],1),e._v(" "),e.chooseItem&&!e.buttonDisabled?t("v-col",{attrs:{cols:e.colSize,"data-test":"select-item"}},[t("v-autocomplete",{attrs:{label:"Select Item","hide-details":"",dense:"",disabled:e.itemsDisabled||e.buttonDisabled,items:e.itemNames,"item-text":"label","item-value":"value"},on:{change:function(t){return e.itemNameChanged(t)}},model:{value:e.selectedItemName,callback:function(t){e.selectedItemName=t},expression:"selectedItemName"}})],1):e._e(),e._v(" "),e.buttonText?t("v-col",{attrs:{cols:e.colSize}},[t("v-btn",{attrs:{disabled:e.buttonDisabled,block:"",color:"primary","data-test":"select-send"},on:{click:e.buttonPressed}},[e._v("\n "+e._s(e.actualButtonText)+"\n ")])],1):e._e()],1),e._v(" "),e.selectTypes?t("v-row",[t("v-col",{attrs:{cols:e.colSize,"data-test":"data-type"}},[t("v-autocomplete",{attrs:{label:"Value Type","hide-details":"",dense:"",items:e.valueTypes},model:{value:e.selectedValueType,callback:function(t){e.selectedValueType=t},expression:"selectedValueType"}})],1),e._v(" "),t("v-col",{attrs:{cols:e.colSize,"data-test":"reduced"}},[t("v-autocomplete",{attrs:{label:"Reduced","hide-details":"",dense:"",items:e.reductionModes},model:{value:e.selectedReduced,callback:function(t){e.selectedReduced=t},expression:"selectedReduced"}})],1),e._v(" "),t("v-col",{attrs:{cols:e.colSize,"data-test":"reduced-type"}},[t("v-autocomplete",{attrs:{label:"Reduced Type","hide-details":"",dense:"",disabled:"DECOM"===e.selectedReduced,items:e.reducedTypes},model:{value:e.selectedReducedType,callback:function(t){e.selectedReducedType=t},expression:"selectedReducedType"}})],1),e._v(" "),t("v-col",{attrs:{cols:e.colSize}})],1):e._e(),e._v(" "),t("v-row",{staticClass:"pt-1",attrs:{"no-gutters":""}},[e.hazardous?t("v-col",{staticClass:"openc3-yellow",staticStyle:{"white-space":"pre"},attrs:{cols:e.colSize}},[e._v("Description: "+e._s(e.description)+" (HAZARDOUS)")]):t("v-col",{staticStyle:{"white-space":"pre"},attrs:{cols:e.colSize}},[e._v("Description: "+e._s(e.description)+"\n ")])],1)],1)},V=[];n(1979),n(5127);const L={props:{allowAll:{type:Boolean,default:!1},allowAllTargets:{type:Boolean,default:!1},buttonText:{type:String,default:null},chooseItem:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},initialTargetName:{type:String,default:""},initialPacketName:{type:String,default:""},initialItemName:{type:String,default:""},selectTypes:{type:Boolean,default:!1},mode:{type:String,default:"tlm",validator:e=>["cmd","tlm"].includes(e)},unknown:{type:Boolean,default:!1},vertical:{type:Boolean,default:!1}},data(){var e,t,n;return{targetNames:[],selectedTargetName:null===(e=this.initialTargetName)||void 0===e?void 0:e.toUpperCase(),packetNames:[],selectedPacketName:null===(t=this.initialPacketName)||void 0===t?void 0:t.toUpperCase(),itemNames:[],selectedItemName:null===(n=this.initialItemName)||void 0===n?void 0:n.toUpperCase(),valueTypes:["CONVERTED","RAW"],selectedValueType:"CONVERTED",reductionModes:[{text:"NONE",value:"DECOM"},{text:"REDUCED_MINUTE",value:"REDUCED_MINUTE"},{text:"REDUCED_HOUR",value:"REDUCED_HOUR"},{text:"REDUCED_DAY",value:"REDUCED_DAY"}],selectedReduced:"DECOM",reducedTypes:["MIN","MAX","AVG","STDDEV"],selectedReducedType:"AVG",description:"",hazardous:!1,internalDisabled:!1,packetsDisabled:!1,itemsDisabled:!1,api:null,ALL:{label:"[ ALL ]",value:"ALL",description:"ALL"},UNKNOWN:{label:"[ UNKNOWN ]",value:"UNKNOWN",description:"UNKNOWN"}}},created(){this.internalDisabled=!0,this.api=new h,this.api.get_target_names().then((e=>{this.targetNames=e.flatMap((e=>"UNKNOWN"==e?[]:{label:e,value:e})),this.allowAllTargets&&this.targetNames.unshift(this.ALL),this.selectedTargetName||(this.selectedTargetName=this.targetNames[0].value,this.targetNameChanged(this.selectedTargetName)),this.updatePackets(),this.unknown&&this.targetNames.push(this.UNKNOWN)}))},computed:{actualButtonText:function(){return"ALL"===this.selectedPacketName?"Add Target":"ALL"===this.selectedItemName?"Add Packet":this.buttonText},buttonDisabled:function(){return this.disabled||this.internalDisabled},targetChooserStyle:function(){return this.chooseItem||this.buttonText?{width:"25%",float:"left","margin-right":"5px"}:{width:"49%",float:"left"}},packetChooserStyle:function(){return this.chooseItem||this.buttonText?{width:"25%",float:"left","margin-right":"5px"}:{width:"50%",float:"right"}},colSize:function(){return!!this.vertical&&12}},watch:{mode:function(e,t){this.selectedPacketName=null,this.selectedItemName=null,this.updatePackets()}},methods:{updatePackets:function(){if("UNKNOWN"===this.selectedTargetName)return this.packetNames=[this.UNKNOWN],this.selectedPacketName=this.packetNames[0].value,this.packetNameChanged(this.UNKNOWN.value),void(this.description="UNKNOWN");if("ALL"===this.selectedTargetName)return this.packetNames=[this.ALL],this.selectedPacketName=this.packetNames[0].value,this.packetNameChanged(this.ALL.value),void(this.description="ALL");this.internalDisabled=!0;const e="tlm"===this.mode?"get_all_telemetry_names":"get_all_command_names";this.api[e](this.selectedTargetName).then((e=>{this.packetNames=e.map((e=>({label:e,value:e}))),this.allowAll&&this.packetNames.unshift(this.ALL),this.selectedPacketName||(this.selectedPacketName=this.packetNames[0].value),this.packetNameChanged(this.selectedPacketName);this.packetNames.find((e=>e.value===this.selectedPacketName));this.chooseItem&&this.updateItems(),this.internalDisabled=!1}))},updateItems:function(){if("ALL"===this.selectedPacketName)return;this.internalDisabled=!0;const e="tlm"===this.mode?"get_telemetry":"get_command";this.api[e](this.selectedTargetName,this.selectedPacketName).then((e=>{this.itemNames=e.items.map((e=>[{label:e.name,value:e.name,description:e.description}])).reduce(((e,t)=>e.concat(t)),[]),this.allowAll&&this.itemNames.unshift(this.ALL),this.selectedItemName||(this.selectedItemName=this.itemNames[0].value),this.description=this.itemNames[0].description,this.internalDisabled=!1,this.$emit("on-set",{targetName:this.selectedTargetName,packetName:this.selectedPacketName,itemName:this.selectedItemName,valueType:this.selectedValueType,reduced:this.selectedReduced,reducedType:this.selectedReducedType})}))},targetNameChanged:function(e){this.selectedTargetName=e,this.selectedPacketName="",this.selectedItemName="",this.updatePackets()},packetNameChanged:function(e){if("ALL"===e)this.itemsDisabled=!0,this.internalDisabled=!1;else{this.itemsDisabled=!1;const t=this.packetNames.find((t=>e===t.value));this.selectedPacketName=t.value;const n="tlm"===this.mode?"get_telemetry":"get_command";this.api[n](this.selectedTargetName,this.selectedPacketName).then((e=>{this.description=e.description,this.hazardous=e.hazardous}))}this.chooseItem?this.updateItems():this.$emit("on-set",{targetName:this.selectedTargetName,packetName:this.selectedPacketName,itemName:this.selectedItemName,valueType:this.selectedValueType,reduced:this.selectedReduced,reducedType:this.selectedReducedType})},itemNameChanged:function(e){const t=this.itemNames.find((t=>e===t.value));this.selectedItemName=t.value,this.description=t.description,this.$emit("on-set",{targetName:this.selectedTargetName,packetName:this.selectedPacketName,itemName:this.selectedItemName,valueType:this.selectedValueType,reduced:this.selectedReduced,reducedType:this.selectedReducedType})},buttonPressed:function(){"ALL"===this.selectedPacketName?this.allTargetPacketItems():"ALL"===this.selectedItemName?this.allPacketItems():this.chooseItem?this.$emit("click",{targetName:this.selectedTargetName,packetName:this.selectedPacketName,itemName:this.selectedItemName,valueType:this.selectedValueType,reduced:this.selectedReduced,reducedType:this.selectedReducedType}):this.$emit("click",{targetName:this.selectedTargetName,packetName:this.selectedPacketName,valueType:this.selectedValueType,reduced:this.selectedReduced,reducedType:this.selectedReducedType})},allTargetPacketItems:function(){this.packetNames.forEach((e=>{if(e===this.ALL)return;const t="tlm"===this.mode?"get_telemetry":"get_command";this.api[t](this.selectedTargetName,e.value).then((t=>{t.items.forEach((t=>{this.$emit("click",{targetName:this.selectedTargetName,packetName:e.value,itemName:t["name"],valueType:this.selectedValueType,reduced:this.selectedReduced,reducedType:this.selectedReducedType})}))}))}))},allPacketItems:function(){this.itemNames.forEach((e=>{e!==this.ALL&&this.$emit("click",{targetName:this.selectedTargetName,packetName:this.selectedPacketName,itemName:e.value,valueType:this.selectedValueType,reduced:this.selectedReduced,reducedType:this.selectedReducedType})}))}}},P=L;n(985);var R=(0,N.Z)(P,D,V,!1,null,null,null);const O=R.exports;var $=function(){var e=this,t=e._self._c;return t("mounting-portal",{attrs:{"mount-to":"#openc3-menu",append:""}},[t("div",{staticClass:"v-toolbar__content"},[e._l(e.menus,(function(n,a){return t("v-menu",{key:a,ref:"topmenu",refInFor:!0,attrs:{"offset-y":""},scopedSlots:e._u([{key:"activator",fn:function({on:a,attrs:l}){return[t("v-btn",e._g(e._b({staticClass:"mx-1",attrs:{outlined:"","data-test":e.formatDT(`${e.title} ${n.label}`)}},"v-btn",l,!1),a),[t("span",{domProps:{textContent:e._s(n.label)}}),e._v(" "),t("v-icon",{attrs:{right:""}},[e._v(" mdi-menu-down ")])],1)]}}],null,!0)},[e._v(" "),t("v-list",[t("v-radio-group",{staticClass:"ma-0 pa-0",attrs:{value:n.radioGroup,"hide-details":"",dense:""}},[e._l(n.items,(function(a,l){return[a.divider?t("v-divider",{key:l}):a.subMenu?t("div",{key:l},[t("v-menu",{key:e.k,attrs:{"open-on-hover":"","offset-x":"",bottom:""},scopedSlots:e._u([{key:"activator",fn:function({on:n,attrs:s}){return[t("v-list-item",e._g(e._b({key:l,attrs:{disabled:a.disabled}},"v-list-item",s,!1),n),[a.icon?t("v-list-item-icon",[t("v-icon",{attrs:{disabled:a.disabled}},[e._v(e._s(a.icon))])],1):e._e(),e._v(" "),a.radio||a.checkbox?e._e():t("v-list-item-title",{style:"cursor: pointer;"+(a.disabled?"opacity: 0.2":"")},[e._v(e._s(a.label)+"\n ")]),e._v(" "),t("v-icon",[e._v(" mdi-chevron-right ")])],1)]}}],null,!0)},[e._v(" "),t("v-list",e._l(a.subMenu,(function(n,a){return t("v-list-item",{key:a,on:{click:function(t){return e.subMenuClick(n)}}},[n.icon?t("v-list-item-icon",[t("v-icon",[e._v(e._s(n.icon))])],1):e._e(),e._v(" "),t("v-list-item-title",[e._v(e._s(n.label))])],1)})),1)],1)],1):t("v-list-item",{key:l,attrs:{disabled:a.disabled,"data-test":e.formatDT(`${e.title} ${n.label} ${a.label}`)},on:{click:function(e){return a.command(a)}}},[a.radio?t("v-list-item-action",[t("v-radio",{attrs:{color:"secondary",label:a.label,value:a.label}})],1):e._e(),e._v(" "),a.checkbox?t("v-list-item-action",[t("v-checkbox",{attrs:{color:"secondary",label:a.label},model:{value:a.checked,callback:function(t){e.$set(a,"checked",t)},expression:"option.checked"}})],1):e._e(),e._v(" "),a.icon?t("v-list-item-icon",[t("v-icon",{attrs:{disabled:a.disabled}},[e._v(e._s(a.icon))])],1):e._e(),e._v(" "),a.radio||a.checkbox?e._e():t("v-list-item-title",{style:"cursor: pointer;"+(a.disabled?"opacity: 0.2":"")},[e._v(e._s(a.label))])],1)]}))],2)],1)],1)})),e._v(" "),t("v-spacer"),e._v(" "),t("v-toolbar-title",[e._v(e._s(e.title))]),e._v(" "),t("v-spacer")],2)])},M=[];n(4597);const U={props:{menus:{type:Array,default:function(){return[]}},title:{type:String,default:""}},methods:{formatDT:function(e){return e.replaceAll(" ","-").toLowerCase()},subMenuClick(e){e.command(e),this.$refs.topmenu[0].isActive=!1}},mounted(){"COSMOS "===this.title.substring(0,7)?document.title=this.title.substring(7):document.title=this.title}},W=U;n(2416);var H=(0,N.Z)(W,$,M,!1,null,"11569d60",null);const z=H.exports;function F(){var e="/openc3/plugins/packages/openc3-cosmos-tool-packetviewer/src/tools/PacketViewer/PacketViewer.vue",t="44664833add23cb252d82100956cca8292c2e7d2",n=new Function("return this")(),a="__coverage__",l={path:"/openc3/plugins/packages/openc3-cosmos-tool-packetviewer/src/tools/PacketViewer/PacketViewer.vue",statementMap:{0:{start:{line:14,column:4},end:{line:105,column:5}},1:{start:{line:35,column:16},end:{line:35,column:41}},2:{start:{line:49,column:16},end:{line:49,column:47}},3:{start:{line:57,column:16},end:{line:57,column:47}},4:{start:{line:67,column:16},end:{line:67,column:45}},5:{start:{line:74,column:16},end:{line:74,column:44}},6:{start:{line:81,column:16},end:{line:81,column:44}},7:{start:{line:88,column:16},end:{line:88,column:38}},8:{start:{line:110,column:6},end:{line:110,column:31}},9:{start:{line:113,column:6},end:{line:113,column:62}},10:{start:{line:117,column:4},end:{line:117,column:30}},11:{start:{line:119,column:4},end:{line:124,column:5}},12:{start:{line:120,column:6},end:{line:123,column:8}},13:{start:{line:125,column:16},end:{line:125,column:71}},14:{start:{line:126,column:4},end:{line:130,column:5}},15:{start:{line:127,column:6},end:{line:127,column:31}},16:{start:{line:129,column:6},end:{line:129,column:28}},17:{start:{line:133,column:4},end:{line:136,column:5}},18:{start:{line:134,column:6},end:{line:134,column:33}},19:{start:{line:135,column:6},end:{line:135,column:25}},20:{start:{line:140,column:6},end:{line:145,column:7}},21:{start:{line:144,column:8},end:{line:144,column:14}},22:{start:{line:146,column:6},end:{line:148,column:8}},23:{start:{line:147,column:8},end:{line:147,column:48}},24:{start:{line:149,column:6},end:{line:153,column:10}},25:{start:{line:152,column:10},end:{line:152,column:37}},26:{start:{line:155,column:6},end:{line:155,column:40}},27:{start:{line:156,column:6},end:{line:156,column:40}},28:{start:{line:157,column:6},end:{line:168,column:7}},29:{start:{line:161,column:8},end:{line:167,column:10}},30:{start:{line:169,column:6},end:{line:169,column:30}},31:{start:{line:173,column:6},end:{line:176,column:7}},32:{start:{line:174,column:8},end:{line:174,column:35}},33:{start:{line:175,column:8},end:{line:175,column:27}},34:{start:{line:178,column:6},end:{line:180,column:7}},35:{start:{line:179,column:8},end:{line:179,column:22}},36:{start:{line:182,column:6},end:{line:225,column:30}},37:{start:{line:183,column:8},end:{line:224,column:12}},38:{start:{line:192,column:12},end:{line:223,column:13}},39:{start:{line:193,column:14},end:{line:193,column:31}},40:{start:{line:194,column:28},end:{line:194,column:30}},41:{start:{line:195,column:26},end:{line:195,column:28}},42:{start:{line:196,column:14},end:{line:217,column:16}},43:{start:{line:197,column:16},end:{line:199,column:17}},44:{start:{line:198,column:18},end:{line:198,column:24}},45:{start:{line:200,column:16},end:{line:216,column:17}},46:{start:{line:201,column:18},end:{line:207,column:20}},47:{start:{line:209,column:18},end:{line:215,column:20}},48:{start:{line:218,column:14},end:{line:222,column:15}},49:{start:{line:219,column:16},end:{line:219,column:49}},50:{start:{line:221,column:16},end:{line:221,column:49}}},fnMap:{0:{name:"(anonymous_0)",decl:{start:{line:13,column:2},end:{line:13,column:3}},loc:{start:{line:13,column:9},end:{line:106,column:3}},line:13},1:{name:"(anonymous_1)",decl:{start:{line:34,column:23},end:{line:34,column:24}},loc:{start:{line:34,column:29},end:{line:36,column:15}},line:34},2:{name:"(anonymous_2)",decl:{start:{line:48,column:23},end:{line:48,column:24}},loc:{start:{line:48,column:33},end:{line:50,column:15}},line:48},3:{name:"(anonymous_3)",decl:{start:{line:56,column:23},end:{line:56,column:24}},loc:{start:{line:56,column:33},end:{line:58,column:15}},line:56},4:{name:"(anonymous_4)",decl:{start:{line:66,column:23},end:{line:66,column:24}},loc:{start:{line:66,column:29},end:{line:68,column:15}},line:66},5:{name:"(anonymous_5)",decl:{start:{line:73,column:23},end:{line:73,column:24}},loc:{start:{line:73,column:29},end:{line:75,column:15}},line:73},6:{name:"(anonymous_6)",decl:{start:{line:80,column:23},end:{line:80,column:24}},loc:{start:{line:80,column:29},end:{line:82,column:15}},line:80},7:{name:"(anonymous_7)",decl:{start:{line:87,column:23},end:{line:87,column:24}},loc:{start:{line:87,column:29},end:{line:89,column:15}},line:87},8:{name:"(anonymous_8)",decl:{start:{line:109,column:21},end:{line:109,column:22}},loc:{start:{line:109,column:51},end:{line:111,column:5}},line:109},9:{name:"(anonymous_9)",decl:{start:{line:112,column:18},end:{line:112,column:19}},loc:{start:{line:112,column:48},end:{line:114,column:5}},line:112},10:{name:"(anonymous_10)",decl:{start:{line:116,column:2},end:{line:116,column:3}},loc:{start:{line:116,column:12},end:{line:131,column:3}},line:116},11:{name:"(anonymous_11)",decl:{start:{line:132,column:2},end:{line:132,column:3}},loc:{start:{line:132,column:18},end:{line:137,column:3}},line:132},12:{name:"(anonymous_12)",decl:{start:{line:139,column:4},end:{line:139,column:5}},loc:{start:{line:139,column:25},end:{line:170,column:5}},line:139},13:{name:"(anonymous_13)",decl:{start:{line:146,column:49},end:{line:146,column:50}},loc:{start:{line:146,column:61},end:{line:148,column:7}},line:146},14:{name:"(anonymous_14)",decl:{start:{line:151,column:14},end:{line:151,column:15}},loc:{start:{line:151,column:27},end:{line:153,column:9}},line:151},15:{name:"(anonymous_15)",decl:{start:{line:172,column:4},end:{line:172,column:5}},loc:{start:{line:172,column:33},end:{line:226,column:5}},line:172},16:{name:"(anonymous_16)",decl:{start:{line:182,column:33},end:{line:182,column:34}},loc:{start:{line:182,column:39},end:{line:225,column:7}},line:182},17:{name:"(anonymous_17)",decl:{start:{line:190,column:16},end:{line:190,column:17}},loc:{start:{line:190,column:26},end:{line:224,column:11}},line:190},18:{name:"(anonymous_18)",decl:{start:{line:196,column:27},end:{line:196,column:28}},loc:{start:{line:196,column:38},end:{line:217,column:15}},line:196}},branchMap:{0:{loc:{start:{line:119,column:4},end:{line:124,column:5}},type:"if",locations:[{start:{line:119,column:4},end:{line:124,column:5}},{start:{line:void 0,column:void 0},end:{line:void 0,column:void 0}}],line:119},1:{loc:{start:{line:119,column:8},end:{line:119,column:62}},type:"binary-expr",locations:[{start:{line:119,column:8},end:{line:119,column:33}},{start:{line:119,column:37},end:{line:119,column:62}}],line:119},2:{loc:{start:{line:126,column:4},end:{line:130,column:5}},type:"if",locations:[{start:{line:126,column:4},end:{line:130,column:5}},{start:{line:128,column:11},end:{line:130,column:5}}],line:126},3:{loc:{start:{line:133,column:4},end:{line:136,column:5}},type:"if",locations:[{start:{line:133,column:4},end:{line:136,column:5}},{start:{line:void 0,column:void 0},end:{line:void 0,column:void 0}}],line:133},4:{loc:{start:{line:140,column:6},end:{line:145,column:7}},type:"if",locations:[{start:{line:140,column:6},end:{line:145,column:7}},{start:{line:void 0,column:void 0},end:{line:void 0,column:void 0}}],line:140},5:{loc:{start:{line:141,column:8},end:{line:142,column:44}},type:"binary-expr",locations:[{start:{line:141,column:8},end:{line:141,column:44}},{start:{line:142,column:8},end:{line:142,column:44}}],line:141},6:{loc:{start:{line:157,column:6},end:{line:168,column:7}},type:"if",locations:[{start:{line:157,column:6},end:{line:168,column:7}},{start:{line:void 0,column:void 0},end:{line:void 0,column:void 0}}],line:157},7:{loc:{start:{line:158,column:8},end:{line:159,column:54}},type:"binary-expr",locations:[{start:{line:158,column:8},end:{line:158,column:54}},{start:{line:159,column:8},end:{line:159,column:54}}],line:158},8:{loc:{start:{line:173,column:6},end:{line:176,column:7}},type:"if",locations:[{start:{line:173,column:6},end:{line:176,column:7}},{start:{line:void 0,column:void 0},end:{line:void 0,column:void 0}}],line:173},9:{loc:{start:{line:178,column:6},end:{line:180,column:7}},type:"if",locations:[{start:{line:178,column:6},end:{line:180,column:7}},{start:{line:void 0,column:void 0},end:{line:void 0,column:void 0}}],line:178},10:{loc:{start:{line:192,column:12},end:{line:223,column:13}},type:"if",locations:[{start:{line:192,column:12},end:{line:223,column:13}},{start:{line:void 0,column:void 0},end:{line:void 0,column:void 0}}],line:192},11:{loc:{start:{line:197,column:16},end:{line:199,column:17}},type:"if",locations:[{start:{line:197,column:16},end:{line:199,column:17}},{start:{line:void 0,column:void 0},end:{line:void 0,column:void 0}}],line:197},12:{loc:{start:{line:197,column:20},end:{line:197,column:77}},type:"binary-expr",locations:[{start:{line:197,column:20},end:{line:197,column:37}},{start:{line:197,column:41},end:{line:197,column:77}}],line:197},13:{loc:{start:{line:200,column:16},end:{line:216,column:17}},type:"if",locations:[{start:{line:200,column:16},end:{line:216,column:17}},{start:{line:208,column:23},end:{line:216,column:17}}],line:200},14:{loc:{start:{line:218,column:14},end:{line:222,column:15}},type:"if",locations:[{start:{line:218,column:14},end:{line:222,column:15}},{start:{line:220,column:21},end:{line:222,column:15}}],line:218}},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},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},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,0]},inputSourceMap:{version:3,sources:["PacketViewer.vue"],names:[],mappings:";AAsIA;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;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;;AAEA;AACA;AACA;AACA;AACA;;AAEA;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",file:"PacketViewer.vue",sourceRoot:"src/tools/PacketViewer",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 <top-bar :menus="menus" :title="title" />\n <v-card style="padding: 10px">\n <target-packet-item-chooser\n :initial-target-name="this.$route.params.target"\n :initial-packet-name="this.$route.params.packet"\n @on-set="packetChanged($event)"\n />\n <v-card-title style="padding-top: 0px">\n Items\n <v-spacer />\n <v-text-field\n v-model="search"\n append-icon="mdi-magnify"\n label="Search"\n single-line\n hide-details\n />\n </v-card-title>\n <v-data-table\n :headers="headers"\n :items="rows"\n :search="search"\n :items-per-page="itemsPerPage"\n @update:items-per-page="itemsPerPage = $event"\n :footer-props="{\n itemsPerPageOptions: [10, 20, 50, 100, 500, 1000],\n showFirstLastPage: true,\n firstIcon: \'mdi-page-first\',\n lastIcon: \'mdi-page-last\',\n prevIcon: \'mdi-chevron-left\',\n nextIcon: \'mdi-chevron-right\',\n }"\n calculate-widths\n multi-sort\n dense\n >\n <template v-slot:item.index="{ item }">\n <span>\n {{\n rows\n .map(function (x) {\n return x.name\n })\n .indexOf(item.name)\n }}\n </span>\n </template>\n <template v-slot:item.name="{ item }">\n {{ item.name }}<span v-if="item.derived"> *</span>\n </template>\n <template v-slot:item.value="{ item }">\n <value-widget\n :value="item.value"\n :limits-state="item.limitsState"\n :counter="item.counter"\n :parameters="[targetName, packetName, item.name]"\n :settings="[[\'WIDTH\', \'100%\']]"\n />\n </template>\n <template v-slot:footer.prepend\n >* indicates a \n <a href="https://openc3.com/docs/v5/telemetry#derived-items"\n >DERIVED</a\n > item</template\n >\n </v-data-table>\n </v-card>\n <v-dialog\n v-model="optionsDialog"\n @keydown.esc="optionsDialog = false"\n max-width="300"\n >\n <v-card>\n <v-system-bar>\n <v-spacer />\n <span>Options</span>\n <v-spacer />\n </v-system-bar>\n <v-card-text>\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 data-test="refresh-interval"\n />\n </div>\n <div class="pa-3">\n <v-text-field\n min="1"\n max="10000"\n step="1"\n type="number"\n label="Time at which to mark data Stale (s)"\n :value="staleLimit"\n @change="staleLimit = parseInt($event)"\n data-test="stale-limit"\n />\n </div>\n </v-card-text>\n </v-card>\n </v-dialog>\n </div>\n</template>\n\n<script>\nimport { OpenC3Api } from \'@openc3/tool-common/src/services/openc3-api\'\nimport ValueWidget from \'@openc3/tool-common/src/components/widgets/ValueWidget\'\nimport TargetPacketItemChooser from \'@openc3/tool-common/src/components/TargetPacketItemChooser\'\nimport TopBar from \'@openc3/tool-common/src/components/TopBar\'\n\nexport default {\n components: {\n TargetPacketItemChooser,\n ValueWidget,\n TopBar,\n },\n data() {\n return {\n title: \'COSMOS Packet Viewer\',\n search: \'\',\n data: [],\n headers: [\n { text: \'Index\', value: \'index\' },\n { text: \'Name\', value: \'name\' },\n { text: \'Value\', value: \'value\' },\n ],\n optionsDialog: false,\n showIgnored: false,\n derivedLast: false,\n ignoredItems: [],\n derivedItems: [],\n menus: [\n {\n label: \'File\',\n items: [\n {\n label: \'Options\',\n command: () => {\n this.optionsDialog = true\n },\n },\n ],\n },\n {\n label: \'View\',\n radioGroup: \'Formatted Items with Units\', // Default radio selected\n items: [\n {\n label: \'Show Ignored Items\',\n checkbox: true,\n checked: false,\n command: (item) => {\n this.showIgnored = item.checked\n },\n },\n {\n label: \'Display DERIVED Last\',\n checkbox: true,\n checked: false,\n command: (item) => {\n this.derivedLast = item.checked\n },\n },\n {\n divider: true,\n },\n {\n label: \'Formatted Items with Units\',\n radio: true,\n command: () => {\n this.valueType = \'WITH_UNITS\'\n },\n },\n {\n label: \'Formatted Items\',\n radio: true,\n command: () => {\n this.valueType = \'FORMATTED\'\n },\n },\n {\n label: \'Converted Items\',\n radio: true,\n command: () => {\n this.valueType = \'CONVERTED\'\n },\n },\n {\n label: \'Raw Items\',\n radio: true,\n command: () => {\n this.valueType = \'RAW\'\n },\n },\n ],\n },\n ],\n updater: null,\n counter: 0,\n targetName: \'\',\n packetName: \'\',\n valueType: \'WITH_UNITS\',\n refreshInterval: 1000,\n staleLimit: 30,\n rows: [],\n menuItems: [],\n itemsPerPage: 20,\n api: null,\n }\n },\n watch: {\n // Create a watcher on refreshInterval so we can change the updater\n refreshInterval: function (newValue, oldValue) {\n this.changeUpdater(false)\n },\n itemsPerPage: function (newValue, oldValue) {\n localStorage[\'packet_viewer__items_per_page\'] = newValue\n },\n },\n created() {\n this.api = new OpenC3Api()\n // If we\'re passed in the route then manually call packetChanged to update\n if (this.$route.params.target && this.$route.params.packet) {\n this.packetChanged({\n targetName: this.$route.params.target.toUpperCase(),\n packetName: this.$route.params.packet.toUpperCase(),\n })\n }\n let local = parseInt(localStorage[\'packet_viewer__items_per_page\'])\n if (local) {\n this.itemsPerPage = local\n } else {\n this.itemsPerPage = 20\n }\n },\n beforeDestroy() {\n if (this.updater != null) {\n clearInterval(this.updater)\n this.updater = null\n }\n },\n methods: {\n packetChanged(event) {\n if (\n this.targetName === event.targetName &&\n this.packetName === event.packetName\n ) {\n return\n }\n this.api.get_target(event.targetName).then((target) => {\n this.ignoredItems = target.ignored_items\n })\n this.api\n .get_packet_derived_items(event.targetName, event.packetName)\n .then((derived) => {\n this.derivedItems = derived\n })\n\n this.targetName = event.targetName\n this.packetName = event.packetName\n if (\n this.$route.params.target !== event.targetName ||\n this.$route.params.packet !== event.packetName\n ) {\n this.$router.push({\n name: \'PackerViewer\',\n params: {\n target: this.targetName,\n packet: this.packetName,\n },\n })\n }\n this.changeUpdater(true)\n },\n\n changeUpdater(clearExisting) {\n if (this.updater != null) {\n clearInterval(this.updater)\n this.updater = null\n }\n\n if (clearExisting) {\n this.rows = []\n }\n\n this.updater = setInterval(() => {\n this.api\n .get_tlm_packet(\n this.targetName,\n this.packetName,\n this.valueType,\n this.staleLimit,\n )\n .then((data) => {\n // Make sure data isn\'t null or undefined. Note this is the only valid use of == or !=\n if (data != null) {\n this.counter += 1\n let derived = []\n let other = []\n data.forEach((value) => {\n if (!this.showIgnored && this.ignoredItems.includes(value[0])) {\n return\n }\n if (this.derivedItems.includes(value[0])) {\n derived.push({\n name: value[0],\n value: value[1],\n limitsState: value[2],\n derived: true,\n counter: this.counter,\n })\n } else {\n other.push({\n name: value[0],\n value: value[1],\n limitsState: value[2],\n derived: false,\n counter: this.counter,\n })\n }\n })\n if (this.derivedLast) {\n this.rows = other.concat(derived)\n } else {\n this.rows = derived.concat(other)\n }\n }\n })\n }, this.refreshInterval)\n },\n },\n}\n<\/script>\n']},_coverageSchema:"1a1c01bbd47fc00a2c39e90264f33305004495a9",hash:"44664833add23cb252d82100956cca8292c2e7d2"},s=n[a]||(n[a]={});s[e]&&s[e].hash===t||(s[e]=l);var i=s[e];return F=function(){return i},i}F();const G={components:{TargetPacketItemChooser:O,ValueWidget:E,TopBar:z},data(){return F().f[0]++,F().s[0]++,{title:"COSMOS Packet Viewer",search:"",data:[],headers:[{text:"Index",value:"index"},{text:"Name",value:"name"},{text:"Value",value:"value"}],optionsDialog:!1,showIgnored:!1,derivedLast:!1,ignoredItems:[],derivedItems:[],menus:[{label:"File",items:[{label:"Options",command:()=>{F().f[1]++,F().s[1]++,this.optionsDialog=!0}}]},{label:"View",radioGroup:"Formatted Items with Units",items:[{label:"Show Ignored Items",checkbox:!0,checked:!1,command:e=>{F().f[2]++,F().s[2]++,this.showIgnored=e.checked}},{label:"Display DERIVED Last",checkbox:!0,checked:!1,command:e=>{F().f[3]++,F().s[3]++,this.derivedLast=e.checked}},{divider:!0},{label:"Formatted Items with Units",radio:!0,command:()=>{F().f[4]++,F().s[4]++,this.valueType="WITH_UNITS"}},{label:"Formatted Items",radio:!0,command:()=>{F().f[5]++,F().s[5]++,this.valueType="FORMATTED"}},{label:"Converted Items",radio:!0,command:()=>{F().f[6]++,F().s[6]++,this.valueType="CONVERTED"}},{label:"Raw Items",radio:!0,command:()=>{F().f[7]++,F().s[7]++,this.valueType="RAW"}}]}],updater:null,counter:0,targetName:"",packetName:"",valueType:"WITH_UNITS",refreshInterval:1e3,staleLimit:30,rows:[],menuItems:[],itemsPerPage:20,api:null}},watch:{refreshInterval:function(e,t){F().f[8]++,F().s[8]++,this.changeUpdater(!1)},itemsPerPage:function(e,t){F().f[9]++,F().s[9]++,localStorage["packet_viewer__items_per_page"]=e}},created(){F().f[10]++,F().s[10]++,this.api=new h,F().s[11]++,F().b[1][0]++,this.$route.params.target&&(F().b[1][1]++,this.$route.params.packet)?(F().b[0][0]++,F().s[12]++,this.packetChanged({targetName:this.$route.params.target.toUpperCase(),packetName:this.$route.params.packet.toUpperCase()})):F().b[0][1]++;let e=(F().s[13]++,parseInt(localStorage["packet_viewer__items_per_page"]));F().s[14]++,e?(F().b[2][0]++,F().s[15]++,this.itemsPerPage=e):(F().b[2][1]++,F().s[16]++,this.itemsPerPage=20)},beforeDestroy(){F().f[11]++,F().s[17]++,null!=this.updater?(F().b[3][0]++,F().s[18]++,clearInterval(this.updater),F().s[19]++,this.updater=null):F().b[3][1]++},methods:{packetChanged(e){if(F().f[12]++,F().s[20]++,F().b[5][0]++,this.targetName===e.targetName&&(F().b[5][1]++,this.packetName===e.packetName))return F().b[4][0]++,void F().s[21]++;F().b[4][1]++,F().s[22]++,this.api.get_target(e.targetName).then((e=>{F().f[13]++,F().s[23]++,this.ignoredItems=e.ignored_items})),F().s[24]++,this.api.get_packet_derived_items(e.targetName,e.packetName).then((e=>{F().f[14]++,F().s[25]++,this.derivedItems=e})),F().s[26]++,this.targetName=e.targetName,F().s[27]++,this.packetName=e.packetName,F().s[28]++,F().b[7][0]++,this.$route.params.target!==e.targetName||(F().b[7][1]++,this.$route.params.packet!==e.packetName)?(F().b[6][0]++,F().s[29]++,this.$router.push({name:"PackerViewer",params:{target:this.targetName,packet:this.packetName}})):F().b[6][1]++,F().s[30]++,this.changeUpdater(!0)},changeUpdater(e){F().f[15]++,F().s[31]++,null!=this.updater?(F().b[8][0]++,F().s[32]++,clearInterval(this.updater),F().s[33]++,this.updater=null):F().b[8][1]++,F().s[34]++,e?(F().b[9][0]++,F().s[35]++,this.rows=[]):F().b[9][1]++,F().s[36]++,this.updater=setInterval((()=>{F().f[16]++,F().s[37]++,this.api.get_tlm_packet(this.targetName,this.packetName,this.valueType,this.staleLimit).then((e=>{if(F().f[17]++,F().s[38]++,null!=e){F().b[10][0]++,F().s[39]++,this.counter+=1;let t=(F().s[40]++,[]),n=(F().s[41]++,[]);F().s[42]++,e.forEach((e=>{if(F().f[18]++,F().s[43]++,F().b[12][0]++,!this.showIgnored&&(F().b[12][1]++,this.ignoredItems.includes(e[0])))return F().b[11][0]++,void F().s[44]++;F().b[11][1]++,F().s[45]++,this.derivedItems.includes(e[0])?(F().b[13][0]++,F().s[46]++,t.push({name:e[0],value:e[1],limitsState:e[2],derived:!0,counter:this.counter})):(F().b[13][1]++,F().s[47]++,n.push({name:e[0],value:e[1],limitsState:e[2],derived:!1,counter:this.counter}))})),F().s[48]++,this.derivedLast?(F().b[14][0]++,F().s[49]++,this.rows=n.concat(t)):(F().b[14][1]++,F().s[50]++,this.rows=t.concat(n))}else F().b[10][1]++}))}),this.refreshInterval)}}},B=G;var j=(0,N.Z)(B,l,s,!1,null,null,null);const Y=j.exports},5353:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var a=n(9601),l=n.n(a),s=n(2609),i=n.n(s),r=i()(l());r.push([e.id,".label[data-v-9697eed8]{font-weight:700;text-transform:capitalize}[data-v-9697eed8] .v-input--selection-controls{padding:0;margin:0}",""]);const o=r},2409:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var a=n(9601),l=n.n(a),s=n(2609),i=n.n(s),r=i()(l());r.push([e.id,".row+.row{margin-top:0}",""]);const o=r},7219:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var a=n(9601),l=n.n(a),s=n(2609),i=n.n(s),r=i()(l());r.push([e.id,".v-list[data-v-11569d60] .v-label{margin-left:5px}.v-list-item__icon[data-v-11569d60]{margin-right:15px!important}.v-list-item__title[data-v-11569d60]{color:#fff}",""]);const o=r},1546:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var a=n(9601),l=n.n(a),s=n(2609),i=n.n(s),r=i()(l());r.push([e.id,".value-widget-container[data-v-c9da8e24]{min-height:34px}.value-widget-container[data-v-c9da8e24] .v-input__slot{background:rgba(var(--aging),var(--aging),var(--aging),1)!important}.value-widget-container[data-v-c9da8e24] input{text-align:var(--text-align)!important}.value[data-v-c9da8e24] div{min-height:24px!important;display:flex!important;align-items:center!important}.openc3-green[data-v-c9da8e24] input{color:#00c800}.openc3-yellow[data-v-c9da8e24] input{color:#ffdc00}.openc3-red[data-v-c9da8e24] input{color:#ff2d2d}.openc3-blue[data-v-c9da8e24] input{color:#09f}.openc3-purple[data-v-c9da8e24] input{color:#c800c8}.openc3-black[data-v-c9da8e24] input{color:#000}.openc3-white[data-v-c9da8e24] input{color:#fff}",""]);const o=r},5343:(e,t,n)=>{var a=n(5353);a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.id,a,""]]),a.locals&&(e.exports=a.locals);var l=n(3514).Z;l("7e6c2e06",a,!0,{sourceMap:!1,shadowMode:!1})},985:(e,t,n)=>{var a=n(2409);a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.id,a,""]]),a.locals&&(e.exports=a.locals);var l=n(3514).Z;l("a3c4944a",a,!0,{sourceMap:!1,shadowMode:!1})},2416:(e,t,n)=>{var a=n(7219);a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.id,a,""]]),a.locals&&(e.exports=a.locals);var l=n(3514).Z;l("325f248f",a,!0,{sourceMap:!1,shadowMode:!1})},5161:(e,t,n)=>{var a=n(1546);a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.id,a,""]]),a.locals&&(e.exports=a.locals);var l=n(3514).Z;l("67563dd1",a,!0,{sourceMap:!1,shadowMode:!1})}}]);
|
2
|
+
//# sourceMappingURL=197.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"js/197.js","mappings":"81IAeY,OAAAA,EAAA,kBAAAC,CAAA,EAAAA,CAAA,C,8BAAAD,IAAAA,IAAAE,EAAA,KAfZ,IAAIC,EAAS,WAAiBH,IAAAI,EAAA,KAAC,IAAIC,GAAGL,IAAAE,EAAA,KAACI,MAAKC,GAAEP,IAAAE,EAAA,KAACG,EAAIG,MAAMD,IAAG,OAAAP,IAAAE,EAAA,KAAOK,EAAG,MAAM,CAACA,EAAG,UAAU,CAACE,MAAM,CAAC,MAAQJ,EAAIK,MAAM,MAAQL,EAAIM,SAASN,EAAIO,GAAG,KAAKL,EAAG,SAAS,CAACM,YAAY,CAAC,QAAU,SAAS,CAACN,EAAG,6BAA6B,CAACE,MAAM,CAAC,sBAAsBH,KAAKQ,OAAOC,OAAOC,OAAO,sBAAsBV,KAAKQ,OAAOC,OAAOE,QAAQC,GAAG,CAAC,SAAS,SAASC,GAAQ,OAADnB,IAAAI,EAAA,KAAAJ,IAAAE,EAAA,KAAQG,EAAIe,cAAcD,EAAO,KAAKd,EAAIO,GAAG,KAAKL,EAAG,eAAe,CAACM,YAAY,CAAC,cAAc,QAAQ,CAACR,EAAIO,GAAG,yBAAyBL,EAAG,YAAYF,EAAIO,GAAG,KAAKL,EAAG,eAAe,CAACE,MAAM,CAAC,cAAc,cAAc,MAAQ,SAAS,cAAc,GAAG,eAAe,IAAIY,MAAM,CAACC,MAAOjB,EAAIkB,OAAQC,SAAS,SAAUC,GAAKzB,IAAAI,EAAA,KAAAJ,IAAAE,EAAA,KAACG,EAAIkB,OAAOE,CAAG,EAAEC,WAAW,aAAa,GAAGrB,EAAIO,GAAG,KAAKL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AOI,QAAUH,EAAQE,QAE5C,IAAIE,EAAM,UACGA,EAAI,WAAYJ,GAAS,EAAM,CAAC,WAAY,EAAM,YAAa,G,gBCN5E,IAAIA,EAAU,EAAQ,MACnBA,EAAQC,aAAYD,EAAUA,EAAQzN,SACnB,kBAAZyN,IAAsBA,EAAU,CAAC,CAACD,EAAOlY,GAAImY,EAAS,MAC7DA,EAAQE,SAAQH,EAAOI,QAAUH,EAAQE,QAE5C,IAAIE,EAAM,UACGA,EAAI,WAAYJ,GAAS,EAAM,CAAC,WAAY,EAAM,YAAa,G,iBCN5E,IAAIA,EAAU,EAAQ,MACnBA,EAAQC,aAAYD,EAAUA,EAAQzN,SACnB,kBAAZyN,IAAsBA,EAAU,CAAC,CAACD,EAAOlY,GAAImY,EAAS,MAC7DA,EAAQE,SAAQH,EAAOI,QAAUH,EAAQE,QAE5C,IAAIE,EAAM,UACGA,EAAI,WAAYJ,GAAS,EAAM,CAAC,WAAY,EAAM,YAAa,G,iBCN5E,IAAIA,EAAU,EAAQ,MACnBA,EAAQC,aAAYD,EAAUA,EAAQzN,SACnB,kBAAZyN,IAAsBA,EAAU,CAAC,CAACD,EAAOlY,GAAImY,EAAS,MAC7DA,EAAQE,SAAQH,EAAOI,QAAUH,EAAQE,QAE5C,IAAIE,EAAM,UACGA,EAAI,WAAYJ,GAAS,EAAM,CAAC,WAAY,EAAM,YAAa,G","sources":["webpack://@openc3/cosmos-tool-packetviewer/./src/tools/PacketViewer/PacketViewer.vue","webpack://@openc3/cosmos-tool-packetviewer/../openc3-tool-common/src/services/axios.js","webpack://@openc3/cosmos-tool-packetviewer/../openc3-tool-common/src/services/openc3-api.js","webpack://@openc3/cosmos-tool-packetviewer/../openc3-tool-common/src/components/widgets/ValueWidget.vue","webpack://@openc3/cosmos-tool-packetviewer/../openc3-tool-common/src/services/config-parser.js","webpack://@openc3/cosmos-tool-packetviewer/../openc3-tool-common/src/components/widgets/Widget.js","webpack://@openc3/cosmos-tool-packetviewer/../openc3-tool-common/src/components/widgets/VWidget.js","webpack://@openc3/cosmos-tool-packetviewer/../openc3-tool-common/src/components/DetailsDialog.vue","webpack://@openc3/cosmos-tool-packetviewer/../openc3-tool-common/src/components/DetailsDialog.vue?a610","webpack://@openc3/cosmos-tool-packetviewer/../openc3-tool-common/src/components/DetailsDialog.vue?e19f","webpack://@openc3/cosmos-tool-packetviewer/../openc3-tool-common/src/components/widgets/ValueWidget.vue?60aa","webpack://@openc3/cosmos-tool-packetviewer/../openc3-tool-common/src/components/widgets/ValueWidget.vue?3b34","webpack://@openc3/cosmos-tool-packetviewer/../openc3-tool-common/src/components/TargetPacketItemChooser.vue","webpack://@openc3/cosmos-tool-packetviewer/../openc3-tool-common/src/components/TargetPacketItemChooser.vue?6b8a","webpack://@openc3/cosmos-tool-packetviewer/../openc3-tool-common/src/components/TargetPacketItemChooser.vue?8eb7","webpack://@openc3/cosmos-tool-packetviewer/../openc3-tool-common/src/components/TopBar.vue","webpack://@openc3/cosmos-tool-packetviewer/../openc3-tool-common/src/components/TopBar.vue?c4b5","webpack://@openc3/cosmos-tool-packetviewer/../openc3-tool-common/src/components/TopBar.vue?a437","webpack://@openc3/cosmos-tool-packetviewer/src/tools/PacketViewer/PacketViewer.vue","webpack://@openc3/cosmos-tool-packetviewer/./src/tools/PacketViewer/PacketViewer.vue?1b23","webpack://@openc3/cosmos-tool-packetviewer/./src/tools/PacketViewer/PacketViewer.vue?4e55","webpack://@openc3/cosmos-tool-packetviewer/../openc3-tool-common/src/components/DetailsDialog.vue?85dc","webpack://@openc3/cosmos-tool-packetviewer/../openc3-tool-common/src/components/TargetPacketItemChooser.vue?9e8b","webpack://@openc3/cosmos-tool-packetviewer/../openc3-tool-common/src/components/TopBar.vue?7def","webpack://@openc3/cosmos-tool-packetviewer/../openc3-tool-common/src/components/widgets/ValueWidget.vue?f256","webpack://@openc3/cosmos-tool-packetviewer/../openc3-tool-common/src/components/DetailsDialog.vue?4937","webpack://@openc3/cosmos-tool-packetviewer/../openc3-tool-common/src/components/TargetPacketItemChooser.vue?2d6a","webpack://@openc3/cosmos-tool-packetviewer/../openc3-tool-common/src/components/TopBar.vue?e77f","webpack://@openc3/cosmos-tool-packetviewer/../openc3-tool-common/src/components/widgets/ValueWidget.vue?0766"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('top-bar',{attrs:{\"menus\":_vm.menus,\"title\":_vm.title}}),_vm._v(\" \"),_c('v-card',{staticStyle:{\"padding\":\"10px\"}},[_c('target-packet-item-chooser',{attrs:{\"initial-target-name\":this.$route.params.target,\"initial-packet-name\":this.$route.params.packet},on:{\"on-set\":function($event){return _vm.packetChanged($event)}}}),_vm._v(\" \"),_c('v-card-title',{staticStyle:{\"padding-top\":\"0px\"}},[_vm._v(\"\\n Items\\n \"),_c('v-spacer'),_vm._v(\" \"),_c('v-text-field',{attrs:{\"append-icon\":\"mdi-magnify\",\"label\":\"Search\",\"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.rows,\"search\":_vm.search,\"items-per-page\":_vm.itemsPerPage,\"footer-props\":{\n itemsPerPageOptions: [10, 20, 50, 100, 500, 1000],\n showFirstLastPage: true,\n firstIcon: 'mdi-page-first',\n lastIcon: 'mdi-page-last',\n prevIcon: 'mdi-chevron-left',\n nextIcon: 'mdi-chevron-right',\n },\"calculate-widths\":\"\",\"multi-sort\":\"\",\"dense\":\"\"},on:{\"update:items-per-page\":function($event){_vm.itemsPerPage = $event}},scopedSlots:_vm._u([{key:\"item.index\",fn:function({ item }){return [_c('span',[_vm._v(\"\\n \"+_vm._s(_vm.rows\n .map(function (x) {\n return x.name\n })\n .indexOf(item.name))+\"\\n \")])]}},{key:\"item.name\",fn:function({ item }){return [_vm._v(\"\\n \"+_vm._s(item.name)),(item.derived)?_c('span',[_vm._v(\" *\")]):_vm._e()]}},{key:\"item.value\",fn:function({ item }){return [_c('value-widget',{attrs:{\"value\":item.value,\"limits-state\":item.limitsState,\"counter\":item.counter,\"parameters\":[_vm.targetName, _vm.packetName, item.name],\"settings\":[['WIDTH', '100%']]}})]}},{key:\"footer.prepend\",fn:function(){return [_vm._v(\"* indicates a \\n \"),_c('a',{attrs:{\"href\":\"https://openc3.com/docs/v5/telemetry#derived-items\"}},[_vm._v(\"DERIVED\")]),_vm._v(\" item\")]},proxy:true}])})],1),_vm._v(\" \"),_c('v-dialog',{attrs:{\"max-width\":\"300\"},on:{\"keydown\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"esc\",27,$event.key,[\"Esc\",\"Escape\"]))return null;_vm.optionsDialog = false}},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('v-card-text',[_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,\"data-test\":\"refresh-interval\"},on:{\"change\":function($event){_vm.refreshInterval = $event}}})],1),_vm._v(\" \"),_c('div',{staticClass:\"pa-3\"},[_c('v-text-field',{attrs:{\"min\":\"1\",\"max\":\"10000\",\"step\":\"1\",\"type\":\"number\",\"label\":\"Time at which to mark data Stale (s)\",\"value\":_vm.staleLimit,\"data-test\":\"stale-limit\"},on:{\"change\":function($event){_vm.staleLimit = parseInt($event)}}})],1)])],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","/*\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2022, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license\n# if purchased from OpenC3, Inc.\n*/\n\nimport axios from 'axios'\nimport Vue from 'vue'\n\nconst vueInstance = new Vue()\n\nconst axiosInstance = axios.create({\n baseURL: location.origin,\n timeout: 60000,\n params: {},\n})\n\naxiosInstance.interceptors.response.use(\n (response) => response,\n (error) => {\n if (error.response) {\n if (error.response.status === 401) {\n OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity, true).then(\n function (refreshed) {\n if (refreshed) {\n OpenC3Auth.setTokens()\n }\n }\n )\n }\n // Individual tools can set 'Ignore-Errors' to an error code\n // they potentially expect, e.g. '500', in which case we ignore it\n // For example in CommandSender.vue:\n // obs = this.api.cmd(targetName, commandName, paramList, {\n // 'Ignore-Errors': '500',\n // })\n if (\n error.response.headers['ignore-errors'] &&\n error.response.headers['ignore-errors'].includes(\n error.response.status.toString()\n )\n ) {\n return Promise.reject(error)\n }\n let body = `HTTP ${error.response.status} - `\n if (error.response?.statusText) {\n body += `${error.response.statusText} `\n }\n if (error.response?.config?.data) {\n body += `${error.response.config.data} `\n }\n if (error.response?.data?.message) {\n body += `${error.response.data.message}`\n } else if (error.response?.data?.exception) {\n body += `${error.response.data.exception}`\n } else if (error.response?.data?.error?.message) {\n if (error.response.data.error.class) {\n body += `${error.response.data.error.class} `\n }\n body += `${error.response.data.error.message}`\n } else {\n body += `${error.response?.data}`\n }\n if (vueInstance.$notify) {\n vueInstance.$notify.serious({\n title: 'Network error',\n body,\n })\n }\n throw error\n } else {\n throw error\n }\n }\n)\n\nexport default axiosInstance\n","/*\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2022, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license\n# if purchased from OpenC3, Inc.\n*/\n\nimport axios from './axios.js'\n\nexport class OpenC3Api {\n id = 1\n\n constructor() {}\n\n async exec(\n method,\n params,\n kwparams = {},\n headerOptions = {},\n timeout = 60000,\n ) {\n try {\n let refreshed = await OpenC3Auth.updateToken(\n OpenC3Auth.defaultMinValidity,\n )\n if (refreshed) {\n OpenC3Auth.setTokens()\n }\n } catch (error) {\n OpenC3Auth.login()\n }\n this.id = this.id + 1\n try {\n kwparams['scope'] = window.openc3Scope\n const response = await axios.post(\n '/openc3-api/api',\n {\n jsonrpc: '2.0',\n method: method,\n params: params,\n id: this.id,\n keyword_params: kwparams,\n },\n {\n headers: {\n Authorization: localStorage.openc3Token,\n 'Content-Type': 'application/json-rpc',\n ...headerOptions,\n },\n timeout: timeout,\n },\n )\n // var data = response.data\n // if (data.error) {\n // var err = new Error()\n // err.name = data.error.data.class\n // err.message = data.error.data.message\n // console.log(data.error.data.backtrace.join('\\n'))\n // throw err\n // }\n return response.data.result\n } catch (error) {\n var err = new Error()\n if (error.response) {\n // The request was made and the server responded with a\n // status code that falls out of the range of 2xx\n err.name = error.response.data.error.data.class\n err.message = error.response.data.error.data.message\n } else if (error.request) {\n // The request was made but no response was received, `error.request`\n // is an instance of XMLHttpRequest in the browser and an instance\n // of http.ClientRequest in Node.js\n err.name = 'Request error'\n // NOTE: Openc3Screen.vue uses this specific message to determine\n // if the CmdTlmApi server is down. Don't change unless also changing there.\n err.message = 'Request error, no response received'\n } else {\n // Something happened in setting up the request and triggered an Error\n err.name = 'Unknown error'\n }\n throw err\n }\n }\n\n decode_openc3_type(val) {\n if (val !== null && typeof val === 'object') {\n if (val.json_class == 'Float' && val.raw) {\n if (val.raw == 'NaN') {\n return NaN\n } else if (val.raw == 'Infinity') {\n return Infinity\n } else if (val.raw == '-Infinity') {\n return -Infinity\n }\n }\n }\n return null\n }\n\n encode_openc3_type(val) {\n if (Number.isNaN(val)) {\n return { json_class: 'Float', raw: 'NaN' }\n } else if (val == Number.POSITIVE_INFINITY) {\n return { json_class: 'Float', raw: 'Infinity' }\n } else if (val == Number.NEGATIVE_INFINITY) {\n return { json_class: 'Float', raw: '-Infinity' }\n }\n return null\n }\n\n ensure_offline_access() {\n this.offline_access_needed().then((needed) => {\n if (needed) {\n if (localStorage.openc3OfflineToken) {\n this.set_offline_access(localStorage.openc3OfflineToken).then(() => {\n delete localStorage.openc3OfflineToken\n })\n } else {\n OpenC3Auth.getOfflineAccess()\n }\n }\n })\n }\n\n // ***********************************************\n // The following APIs are used by the CmdTlmServer\n // ***********************************************\n\n offline_access_needed() {\n return this.exec('offline_access_needed', [])\n }\n\n set_offline_access(offline_access_token) {\n return this.exec('set_offline_access', [offline_access_token])\n }\n\n get_all_interface_info() {\n return this.exec('get_all_interface_info', [])\n }\n\n map_target_to_interface(target_name, interface_name) {\n return this.exec('map_target_to_interface', [target_name, interface_name])\n }\n\n connect_interface(interface_name, ...interface_params) {\n if (interface_params.length > 0) {\n return this.exec('connect_interface', [\n interface_name,\n ...interface_params,\n ])\n } else {\n return this.exec('connect_interface', [interface_name])\n }\n }\n\n disconnect_interface(interface_name) {\n return this.exec('disconnect_interface', [interface_name])\n }\n\n get_all_router_info() {\n return this.exec('get_all_router_info', [])\n }\n\n connect_router(router_name) {\n return this.exec('connect_router', [router_name])\n }\n\n disconnect_router(router_name) {\n return this.exec('disconnect_router', [router_name])\n }\n\n get_target_interfaces() {\n return this.exec('get_target_interfaces', [])\n }\n\n // DEPRECATED\n get_all_target_info() {\n return this.exec('get_all_target_info', [])\n }\n\n get_tlm_cnts(target_commands) {\n return this.exec('get_tlm_cnts', [target_commands])\n }\n\n get_item(target, packet, item) {\n return this.exec('get_item', [target, packet, item])\n }\n\n get_parameter(target, packet, item) {\n return this.exec('get_parameter', [target, packet, item])\n }\n\n get_limits_sets() {\n return this.exec('get_limits_sets', [])\n }\n\n get_limits_set() {\n return this.exec('get_limits_set', [])\n }\n\n set_limits_set(limits_set) {\n return this.exec('set_limits_set', [limits_set])\n }\n\n // ***********************************************\n // End CmdTlmServer APIs\n // ***********************************************\n\n get_target(target_name) {\n return this.exec('get_target', [target_name])\n }\n\n // get_target_list is DEPRECATED\n get_target_list() {\n return this.exec('get_target_list', [])\n }\n get_target_names() {\n return this.exec('get_target_names', [])\n }\n\n get_telemetry(target_name, packet_name) {\n return this.exec('get_telemetry', [target_name, packet_name])\n }\n\n get_all_telemetry(target_name) {\n return this.exec('get_all_telemetry', [target_name])\n }\n\n get_all_telemetry_names(target_name) {\n return this.exec('get_all_telemetry_names', [target_name])\n }\n\n async get_tlm_packet(target_name, packet_name, value_type, stale_time = 30) {\n const data = await this.exec('get_tlm_packet', [target_name, packet_name], {\n type: value_type,\n stale_time: stale_time,\n })\n // Make sure data isn't null or undefined. Note this is the only valid use of == or !=\n if (data != null) {\n var len = data.length\n var converted = null\n for (var i = 0; i < len; i++) {\n converted = this.decode_openc3_type(data[i][1])\n if (converted !== null) {\n data[i][1] = converted\n }\n }\n }\n return data\n }\n\n get_packet_derived_items(target_name, packet_name) {\n return this.exec('get_packet_derived_items', [target_name, packet_name])\n }\n\n get_tlm_buffer(target_name, packet_name) {\n return this.exec('get_tlm_buffer', [target_name, packet_name])\n }\n\n async get_tlm_values(items, stale_time = 30) {\n const data = await this.exec(\n 'get_tlm_values',\n [items],\n {\n stale_time: stale_time,\n },\n {},\n 10000, // 10s timeout ... should never be this long\n )\n var len = data[0].length\n var converted = null\n for (var i = 0; i < len; i++) {\n converted = this.decode_openc3_type(data[0][i])\n if (converted !== null) {\n data[0][i] = converted\n }\n }\n return data\n }\n\n get_limits(target_name, packet_name, item_name) {\n return this.exec('get_limits', [target_name, packet_name, item_name])\n }\n\n async tlm(target_name, packet_name, item_name, value_type = 'CONVERTED') {\n let data = null\n // Check for the single string syntax: tlm(\"TGT PKT ITEM\")\n if (packet_name === undefined) {\n data = await this.exec('tlm', [target_name])\n // Check for the single string syntax with type: tlm(\"TGT PKT ITEM\", \"RAW\")\n } else if (item_name === undefined) {\n if (\n ['RAW', 'CONVERTED', 'FORMATTED', 'WITH_UNITS'].includes(packet_name)\n ) {\n data = await this.exec('tlm', [target_name], { type: packet_name })\n } else {\n var err = new Error()\n err.name = 'TypeError'\n err.message = `Invalid data type ${packet_name}. Valid options are RAW, CONVERTED, FORMATTED, and WITH_UNITS.`\n throw err\n }\n } else {\n data = await this.exec('tlm', [target_name, packet_name, item_name], {\n type: value_type,\n })\n }\n var converted = this.decode_openc3_type(data)\n if (converted !== null) {\n data = converted\n }\n return data\n }\n\n async inject_tlm(\n target_name,\n packet_name,\n item_hash = null,\n value_type = 'CONVERTED',\n ) {\n data = await this.exec(\n 'inject_tlm',\n [target_name, packet_name, item_hash],\n {\n type: value_type,\n },\n )\n }\n\n set_tlm(target_name, packet_name, item_name, value_type) {\n return this.exec('set_tlm', [target_name, packet_name, item_name], {\n type: value_type,\n })\n }\n\n override_tlm(target_name, packet_name, item_name, value_type) {\n return this.exec('override_tlm', [target_name, packet_name, item_name], {\n type: value_type,\n })\n }\n\n get_overrides() {\n return this.exec('get_overrides')\n }\n\n normalize_tlm(target_name, packet_name, item_name, value_type) {\n return this.exec('normalize_tlm', [target_name, packet_name, item_name], {\n type: value_type,\n })\n }\n\n get_all_commands(target_name) {\n return this.exec('get_all_commands', [target_name])\n }\n\n get_all_command_names(target_name) {\n return this.exec('get_all_command_names', [target_name])\n }\n\n get_command(target_name, command_name) {\n return this.exec('get_command', [target_name, command_name])\n }\n\n get_cmd_cnts(target_commands) {\n return this.exec('get_cmd_cnts', [target_commands])\n }\n\n get_cmd_value(\n target_name,\n packet_name,\n parameter_name,\n value_type = 'CONVERTED',\n ) {\n return this.exec('get_cmd_value', [\n target_name,\n packet_name,\n parameter_name,\n value_type,\n ])\n }\n\n get_cmd_buffer(target_name, packet_name) {\n return this.exec('get_cmd_buffer', [target_name, packet_name])\n }\n\n // Implementation of functionality shared by cmd methods with param_lists.\n _cmd(method, target_name, command_name, param_list, headerOptions) {\n var converted = null\n for (var key in param_list) {\n if (Object.prototype.hasOwnProperty.call(param_list, key)) {\n converted = this.encode_openc3_type(param_list[key])\n if (converted !== null) {\n param_list[key] = converted\n }\n }\n }\n return this.exec(\n method,\n [target_name, command_name, param_list],\n {},\n headerOptions,\n )\n }\n\n get_cmd_hazardous(target_name, command_name, param_list) {\n if (command_name === undefined) {\n return this.exec('get_cmd_hazardous', target_name)\n } else {\n return this._cmd(\n 'get_cmd_hazardous',\n target_name,\n command_name,\n param_list,\n )\n }\n }\n\n cmd(target_name, command_name, param_list, headerOptions = {}) {\n if (command_name === undefined) {\n return this.exec('cmd', target_name, {}, headerOptions)\n } else {\n return this._cmd(\n 'cmd',\n target_name,\n command_name,\n param_list,\n headerOptions,\n )\n }\n }\n\n cmd_no_range_check(target_name, command_name, param_list) {\n if (command_name === undefined) {\n return this.exec('cmd_no_range_check', target_name)\n } else {\n return this._cmd(\n 'cmd_no_range_check',\n target_name,\n command_name,\n param_list,\n )\n }\n }\n\n cmd_raw(target_name, command_name, param_list) {\n if (command_name === undefined) {\n return this.exec('cmd_raw', target_name)\n } else {\n return this._cmd('cmd_raw', target_name, command_name, param_list)\n }\n }\n\n cmd_raw_no_range_check(target_name, command_name, param_list) {\n if (command_name === undefined) {\n return this.exec('cmd_raw_no_range_check', target_name)\n } else {\n return this._cmd(\n 'cmd_raw_no_range_check',\n target_name,\n command_name,\n param_list,\n )\n }\n }\n\n cmd_no_hazardous_check(target_name, command_name, param_list) {\n if (command_name === undefined) {\n return this.exec('cmd_no_hazardous_check', target_name)\n } else {\n return this._cmd(\n 'cmd_no_hazardous_check',\n target_name,\n command_name,\n param_list,\n )\n }\n }\n\n cmd_no_checks(target_name, command_name, param_list) {\n if (command_name === undefined) {\n return this.exec('cmd_no_checks', target_name)\n } else {\n return this._cmd('cmd_no_checks', target_name, command_name, param_list)\n }\n }\n\n cmd_raw_no_hazardous_check(target_name, command_name, param_list) {\n if (command_name === undefined) {\n return this.exec('cmd_raw_no_hazardous_check', target_name)\n } else {\n return this._cmd(\n 'cmd_raw_no_hazardous_check',\n target_name,\n command_name,\n param_list,\n )\n }\n }\n\n cmd_raw_no_checks(target_name, command_name, param_list) {\n if (command_name === undefined) {\n return this.exec('cmd_raw_no_checks', target_name)\n } else {\n return this._cmd(\n 'cmd_raw_no_checks',\n target_name,\n command_name,\n param_list,\n )\n }\n }\n\n build_command(target_name, command_name, param_list) {\n if (command_name === undefined) {\n return this.exec('build_command', target_name)\n } else {\n return this._cmd('build_command', target_name, command_name, param_list)\n }\n }\n\n get_interface_names() {\n return this.exec('get_interface_names', [])\n }\n\n send_raw(interface_name, data) {\n return this.exec('send_raw', [interface_name, data])\n }\n\n list_configs(tool) {\n return this.exec('list_configs', [tool])\n }\n\n load_config(tool, name) {\n return this.exec('load_config', [tool, name])\n }\n\n save_config(tool, name, data) {\n return this.exec('save_config', [tool, name, data])\n }\n\n delete_config(tool, name) {\n return this.exec('delete_config', [tool, name])\n }\n\n enable_limits(target, packet, item) {\n return this.exec('enable_limits', [target, packet, item])\n }\n\n disable_limits(target, packet, item) {\n return this.exec('disable_limits', [target, packet, item])\n }\n\n get_out_of_limits() {\n return this.exec('get_out_of_limits', [])\n }\n\n get_overall_limits_state(ignored) {\n return this.exec('get_overall_limits_state', [ignored])\n }\n\n list_settings() {\n return this.exec('list_settings', [])\n }\n\n get_all_settings() {\n return this.exec('get_all_settings', [])\n }\n\n get_setting(name) {\n return this.exec('get_setting', [name])\n }\n\n get_settings(array) {\n return this.exec('get_settings', array)\n }\n\n set_setting(name, data) {\n return this.exec('set_setting', [name, data])\n }\n\n // DEPRECATED\n save_setting(name, data) {\n return this.exec('save_setting', [name, data])\n }\n\n get_metrics() {\n return this.exec('get_metrics', [])\n }\n\n // TODO: Currently unused but seemed like a useful function\n async hashString(string) {\n if (window.isSecureContext) {\n // Encode the string as an arrayBuffer which the subtle crypto API uses\n const arrayBuffer = new TextEncoder().encode(string)\n // Use the subtle crypto API to perform a SHA256 Sum of the array buffer\n // The resulting hash is stored in an array buffer\n const hashAsArrayBuffer = await crypto.subtle.digest(\n 'SHA-256',\n arrayBuffer,\n )\n // To create a string we will get the hexadecimal value of each byte of the array buffer\n // This gets us an array where each byte of the array buffer becomes one item in the array\n const uint8ViewOfHash = new Uint8Array(hashAsArrayBuffer)\n // We then convert it to a regular array so we can convert each item to hexadecimal strings\n // Where to characters of 0-9 or a-f represent a number between 0 and 16, containing 4 bits of information, so 2 of them is 8 bits (1 byte).\n return Array.from(uint8ViewOfHash)\n .map((b) => b.toString(16).padStart(2, '0'))\n .join('')\n }\n // else ?\n }\n}\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"value-widget-container\",style:([_vm.computedStyle, _vm.aging])},[_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-text-field',_vm._g(_vm._b({class:_vm.valueClass,attrs:{\"solo\":\"\",\"dense\":\"\",\"readonly\":\"\",\"single-line\":\"\",\"hide-no-data\":\"\",\"hide-details\":\"\",\"placeholder\":\"Value\",\"value\":_vm._value,\"data-test\":\"value\"},on:{\"contextmenu\":_vm.showContextMenu}},'v-text-field',attrs,false),on))]}}])},[_vm._v(\" \"),_c('span',[_vm._v(_vm._s(_vm.fullName))])]),_vm._v(\" \"),_c('v-menu',{attrs:{\"position-x\":_vm.x,\"position-y\":_vm.y,\"absolute\":\"\",\"offset-y\":\"\"},model:{value:(_vm.contextMenuShown),callback:function ($$v) {_vm.contextMenuShown=$$v},expression:\"contextMenuShown\"}},[_c('v-list',_vm._l((_vm.contextMenuOptions),function(item,index){return _c('v-list-item',{key:index,on:{\"click\":function($event){$event.stopPropagation();return item.action.apply(null, arguments)}}},[_c('v-list-item-title',[_vm._v(_vm._s(item.title))])],1)}),1)],1),_vm._v(\" \"),_c('details-dialog',{attrs:{\"target-name\":_vm.parameters[0],\"packet-name\":_vm.parameters[1],\"item-name\":_vm.parameters[2]},model:{value:(_vm.viewDetails),callback:function ($$v) {_vm.viewDetails=$$v},expression:\"viewDetails\"}})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","/*\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2022, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license\n# if purchased from OpenC3, Inc.\n*/\n\nexport class ConfigParserError {\n constructor(config_parser, message, usage = '', url = '') {\n this.keyword = config_parser.keyword\n this.parameters = config_parser.parameters\n this.filename = config_parser.filename\n this.line = config_parser.line\n this.lineNumber = config_parser.lineNumber\n this.message = message\n this.usage = usage\n this.url = url\n }\n}\n\nexport class ConfigParserService {\n keyword = null\n parameters = []\n filename = ''\n line = ''\n lineNumber = 0\n url = 'https://openc3.com/docs/v5'\n\n constructor() {}\n\n verify_num_parameters(min_num_params, max_num_params, usage = '') {\n // This syntax works with 0 because each doesn't return any values\n // for a backwards range\n for (let index = 1; index <= min_num_params; index++) {\n // If the parameter is nil (0 based) then we have a problem\n if (this.parameters[index - 1] === undefined) {\n throw new ConfigParserError(\n this,\n `Not enough parameters for ${this.keyword}.`,\n usage,\n this.url\n )\n }\n }\n // If they pass null for max_params we don't check for a maximum number\n if (max_num_params && this.parameters[max_num_params] !== undefined) {\n throw new ConfigParserError(\n this,\n `Too many parameters for ${this.keyword}.`,\n usage,\n this.url\n )\n }\n }\n\n remove_quotes(string) {\n if (string.length < 2) {\n return string\n }\n let first_char = string.charAt(0)\n if (first_char !== '\"' && first_char !== \"'\") {\n return string\n }\n let last_char = string.charAt(string.length - 1)\n if (first_char !== last_char) {\n return string\n }\n return string.substring(1, string.length - 1)\n }\n\n scan_string(string, rx) {\n if (!rx.global) throw \"rx must have 'global' flag set\"\n let r = []\n string.replace(rx, function (match) {\n r.push(match)\n return match\n })\n return r\n }\n\n parse_string(\n input_string,\n original_filename,\n yield_non_keyword_lines,\n remove_quotes,\n handler\n ) {\n let string_concat = false\n this.line = ''\n this.keyword = null\n this.parameters = []\n this.filename = original_filename\n\n // Break string into lines\n let lines = input_string.split('\\n')\n let numLines = lines.length\n\n for (let i = 0; i < numLines; i++) {\n this.lineNumber = i + 1\n let line = lines[i].trim()\n // Ensure the line length is not 0\n if (line.length === 0) {\n continue\n }\n\n if (string_concat === true) {\n // Skip comment lines after a string concatenation\n if (line[0] === '#') {\n continue\n }\n // Remove the opening quote if we're continuing the line\n line = line.substring(1, line.length)\n }\n\n // Check for string continuation\n let last_char = line.charAt(line.length - 1)\n let newline = false\n switch (last_char) {\n case '+': // String concatenation with newlines\n newline = true\n // Deliberate fall through\n case '\\\\': // String concatenation\n // Trim off the concat character plus any spaces, e.g. \"line\" \\\n let trim = line.substring(0, line.length - 1).trim()\n // Now trim off the last quote so it will flow into the next line\n this.line += trim.substring(0, trim.length - 1)\n if (newline) {\n this.line += '\\n'\n }\n string_concat = true\n continue\n case '&': // Line continuation\n this.line += line.substring(0, line.length - 1)\n continue\n default:\n this.line += line\n }\n string_concat = false\n\n let rx = /(\"([^\\\\\"]|\\\\.)*\")|('([^\\\\']|\\\\.)*')|\\S+/g\n let data = this.scan_string(this.line, rx)\n let first_item = ''\n if (data.length > 0) {\n first_item = first_item + data[0]\n }\n\n if (first_item.length === 0 || first_item.charAt(0) === '#') {\n this.keyword = null\n } else {\n this.keyword = first_item.toUpperCase()\n }\n this.parameters = []\n\n // Ignore lines without keywords: comments and blank lines\n if (this.keyword === null) {\n if (yield_non_keyword_lines) {\n handler(this.keyword, this.parameters, this.line, this.lineNumber)\n }\n this.line = ''\n continue\n }\n\n let length = data.length\n if (length > 1) {\n for (let index = 1; index < length; index++) {\n let string = data[index]\n\n // Don't process trailing comments such as:\n // KEYWORD PARAM #This is a comment\n if (string.length > 0 && string.charAt(0) === '#') {\n break\n }\n if (remove_quotes) {\n this.parameters.push(this.remove_quotes(string))\n } else {\n this.parameters.push(string)\n }\n }\n }\n handler(this.keyword, this.parameters, this.line, this.lineNumber)\n this.line = ''\n } // for all the lines\n } // parse_string\n} // class ConfigParserService\n","/*\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2022, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license\n# if purchased from OpenC3, Inc.\n*/\n\nimport { ConfigParserError } from '@openc3/tool-common/src/services/config-parser'\n\nexport default {\n props: {\n widgetIndex: {\n type: Number,\n default: null,\n },\n parameters: {\n type: Array,\n default: () => [],\n },\n settings: {\n type: Array,\n default: () => [],\n },\n line: {\n type: String,\n default: '',\n },\n lineNumber: {\n type: Number,\n default: 0,\n },\n },\n data() {\n return {\n screen: null,\n }\n },\n computed: {\n computedStyle() {\n let style = {}\n this.settings.forEach((setting) => {\n const index = parseInt(setting[0])\n if (this.widgetIndex !== null) {\n if (this.widgetIndex === index) {\n setting = setting.slice(1)\n } else {\n return\n }\n }\n this.applySetting(style, setting)\n })\n // If they haven't defined a width then we add flex to the style\n if (style['width'] === undefined) {\n // This flex allows for alignment in our widgets\n // The value of '0 10 100%' was achieved through trial and error\n // The larger flex-shrink value was critical for success\n style['flex'] = '0 10 100%' // flex-grow, flex-shrink, flex-basis\n }\n return style\n },\n },\n created() {\n // Look through the settings and get a reference to the screen\n this.settings.forEach((setting) => {\n if (setting[0] === '__SCREEN__') {\n this.screen = setting[1]\n }\n })\n },\n methods: {\n applySetting(style, setting) {\n switch (setting[0]) {\n case 'TEXTALIGN':\n style['text-align'] = setting[1].toLowerCase() + ' !important'\n style['--text-align'] = setting[1].toLowerCase()\n break\n case 'PADDING':\n if (!isNaN(Number(setting[1]))) {\n setting[1] += 'px'\n }\n style['padding'] = setting[1] + ' !important'\n break\n case 'MARGIN':\n if (!isNaN(Number(setting[1]))) {\n setting[1] += 'px'\n }\n style['margin'] = setting[1] + ' !important'\n break\n case 'BACKCOLOR':\n style['background-color'] =\n this.getColor(setting.slice(1)) + ' !important'\n break\n case 'TEXTCOLOR':\n style['color'] = this.getColor(setting.slice(1)) + ' !important'\n break\n case 'BORDERCOLOR':\n style['border-width'] = '1px!important'\n style['border-style'] = 'solid!important'\n style['border-color'] =\n this.getColor(setting.slice(1)) + ' !important'\n break\n case 'WIDTH':\n if (!isNaN(Number(setting[1]))) {\n setting[1] += 'px'\n }\n style['width'] = setting[1] + ' !important'\n break\n case 'HEIGHT':\n if (!isNaN(Number(setting[1]))) {\n setting[1] += 'px'\n }\n style['height'] = setting[1] + ' !important'\n break\n case 'RAW':\n style[setting[1].toLowerCase()] = setting[2] + ' !important'\n break\n }\n },\n verifyNumParams(keyword, min_num_params, max_num_params, usage = '') {\n let parser = {\n line: this.line,\n lineNumber: this.lineNumber,\n keyword: keyword,\n parameters: this.parameters,\n }\n\n // This syntax works with 0 because each doesn't return any values\n // for a backwards range\n for (var index = 1; index <= min_num_params; index++) {\n // If the parameter is nil (0 based) then we have a problem\n if (this.parameters[index - 1] === undefined) {\n throw new ConfigParserError(\n parser,\n `Not enough parameters for ${keyword}.`,\n usage,\n 'https://openc3.com/docs/v5'\n )\n }\n }\n // If they pass null for max_params we don't check for a maximum number\n if (max_num_params && this.parameters[max_num_params] !== undefined) {\n throw new ConfigParserError(\n parser,\n `Too many parameters for ${keyword}.`,\n usage,\n 'https://openc3.com/docs/v5'\n )\n }\n },\n setWidth(width, units = 'px', defaultWidth = '120') {\n // Don't set the width if someone has already set it\n // This is important in PacketViewer which uses the value-widget\n // and passes an explicit width setting to use\n let foundSetting = null\n if (this.widgetIndex !== null) {\n foundSetting = this.settings.find(\n (setting) =>\n parseInt(setting[0]) === this.widgetIndex && setting[1] === 'WIDTH'\n )\n } else {\n foundSetting = this.settings.find((setting) => setting[0] === 'WIDTH')\n }\n if (foundSetting) {\n return foundSetting['WIDTH']\n } else {\n if (width) {\n let setting = ['WIDTH', `${width}${units}`]\n // If we have a widgetIndex apply that so we apply the width to ourselves\n if (this.widgetIndex !== null) {\n setting.unshift(this.widgetIndex)\n }\n this.settings.push(setting)\n return parseInt(width)\n } else {\n let setting = ['WIDTH', `${defaultWidth}${units}`]\n if (this.widgetIndex !== null) {\n setting.unshift(this.widgetIndex)\n }\n this.settings.push(setting)\n return parseInt(defaultWidth)\n }\n }\n },\n setHeight(height, units = 'px', defaultHeight = '20') {\n // Don't set the height if someone has already set it\n let foundSetting = null\n if (this.widgetIndex !== null) {\n foundSetting = this.settings.find(\n (setting) =>\n parseInt(setting[0]) === this.widgetIndex && setting[1] === 'HEIGHT'\n )\n } else {\n foundSetting = this.settings.find((setting) => setting[0] === 'HEIGHT')\n }\n if (foundSetting) {\n return foundSetting['HEIGHT']\n } else {\n if (height) {\n let setting = ['HEIGHT', `${height}${units}`]\n // If we have a widgetIndex apply that so we apply the height to ourselves\n if (this.widgetIndex !== null) {\n setting.unshift(this.widgetIndex)\n }\n this.settings.push(setting)\n return parseInt(height)\n } else {\n let setting = ['HEIGHT', `${defaultHeight}${units}`]\n if (this.widgetIndex !== null) {\n setting.unshift(this.widgetIndex)\n }\n this.settings.push(setting)\n return parseInt(defaultHeight)\n }\n }\n },\n // Expects an array, can either be a single color or 3 rgb values\n getColor(setting) {\n switch (setting.length) {\n case 1:\n return setting[0].toLowerCase()\n case 3:\n return `rgb(${setting[0]},${setting[1]},${setting[2]})`\n }\n },\n },\n}\n","/*\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2022, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license\n# if purchased from OpenC3, Inc.\n*/\n\nimport Widget from './Widget'\nimport 'sprintf-js'\nexport default {\n mixins: [Widget],\n // ValueWidget can either get it's value and limitsState directly through props\n // or it will register itself in the Vuex store and be updated asyncronously\n props: {\n value: {\n default: null,\n },\n limitsState: {\n type: String,\n default: null,\n },\n counter: {\n default: null,\n },\n formatString: null,\n },\n data() {\n return {\n curValue: null,\n prevValue: null,\n grayLevel: 80,\n grayRate: 5,\n valueId: null,\n colorBlind: false,\n viewDetails: false,\n contextMenuShown: false,\n x: 0,\n y: 0,\n contextMenuOptions: [\n {\n title: 'Details',\n action: () => {\n this.contextMenuShown = false\n this.viewDetails = true\n },\n },\n {\n title: 'Graph',\n action: () => {\n window.open(\n '/tools/tlmgrapher/' +\n this.parameters[0] +\n '/' +\n this.parameters[1] +\n '/' +\n this.parameters[2],\n '_blank'\n )\n },\n },\n ],\n }\n },\n watch: {\n // eslint-disable-next-line no-unused-vars\n _counter: function (newVal, oldVal) {\n if (this.curValue !== this.prevValue) {\n this.grayLevel = 80\n } else {\n this.grayLevel -= this.grayRate\n if (this.grayLevel < 30) {\n this.grayLevel = 30\n }\n }\n this.prevValue = this.curValue\n },\n },\n computed: {\n _value: function () {\n this.curValue = this.value\n if (this.curValue === null) {\n // See store.js for how this is set\n if (this.screen) {\n if (this.screen.screenValues[this.valueId]) {\n this.curValue = this.screen.screenValues[this.valueId][0]\n }\n } else {\n this.curValue = null\n }\n }\n this.curValue = this.formatValue(this.curValue)\n if (localStorage.colorblindMode === 'true' && this.limitsLetter !== '') {\n return `${this.curValue} (${this.limitsLetter})`\n }\n return this.curValue\n },\n _counter: function () {\n let counter = this.counter\n if (counter === null) {\n if (this.screen) {\n if (this.screen.screenValues[this.valueId]) {\n counter = this.screen.screenValues[this.valueId][2]\n }\n } else {\n counter = null\n }\n }\n return counter\n },\n valueClass: function () {\n return 'value shrink pa-1 ' + 'openc3-' + this.limitsColor\n },\n limitsColor() {\n let limitsState = this.limitsState\n if (limitsState === null) {\n if (this.screen) {\n if (this.screen.screenValues[this.valueId]) {\n limitsState = this.screen.screenValues[this.valueId][1]\n }\n } else {\n limitsState = null\n }\n }\n if (limitsState != null) {\n switch (limitsState) {\n case 'GREEN':\n case 'GREEN_HIGH':\n case 'GREEN_LOW':\n return 'green'\n case 'YELLOW':\n case 'YELLOW_HIGH':\n case 'YELLOW_LOW':\n return 'yellow'\n case 'RED':\n case 'RED_HIGH':\n case 'RED_LOW':\n return 'red'\n case 'BLUE':\n return 'blue'\n case 'STALE':\n return 'purple'\n default:\n return 'white'\n }\n }\n return ''\n },\n limitsLetter() {\n let limitsState = this.limitsState\n if (limitsState === null) {\n if (this.screen) {\n if (this.screen.screenValues[this.valueId]) {\n limitsState = this.screen.screenValues[this.valueId][1]\n }\n } else {\n limitsState = null\n }\n }\n if (limitsState != null) {\n let c = limitsState.charAt(0)\n if (limitsState.endsWith('_LOW')) {\n c = c.toLowerCase()\n }\n return c\n }\n return ''\n },\n },\n created() {\n // If they're not passing us the value and limitsState we have to register\n if (this.value === null || this.limitsState === null) {\n this.valueId = `${this.parameters[0]}__${this.parameters[1]}__${\n this.parameters[2]\n }__${this.getType()}`\n\n if (this.screen) {\n this.screen.addItem(this.valueId)\n }\n }\n },\n destroyed() {\n if (this.value === null || this.limitsState === null) {\n if (this.screen) {\n this.screen.deleteItem(this.valueId)\n }\n }\n },\n methods: {\n getType() {\n var type = 'WITH_UNITS'\n if (this.parameters[3]) {\n type = this.parameters[3]\n }\n return type\n },\n formatValue(value) {\n // Convert json raw strings into the raw bytes\n // Only convert the first 32 bytes before adding an ellipse\n // TODO: Handle units on a BLOCK item\n // TODO: Render data in a BLOCK item as bytes (instead of ASCII)\n if (\n value &&\n value['json_class'] === 'String' &&\n value['raw'] !== undefined\n ) {\n let result = Array.from(value['raw'].slice(0, 32), function (byte) {\n return ('0' + (byte & 0xff).toString(16)).slice(-2)\n })\n .join(' ')\n .toUpperCase()\n if (value['raw'].length > 32) {\n result += '...'\n }\n return result\n }\n if (Object.prototype.toString.call(value).slice(8, -1) === 'Array') {\n let result = '['\n for (let i = 0; i < value.length; i++) {\n if (\n Object.prototype.toString.call(value[i]).slice(8, -1) === 'String'\n ) {\n result += '\"' + value[i] + '\"'\n } else {\n result += value[i]\n }\n if (i != value.length - 1) {\n result += ', '\n }\n }\n result += ']'\n return result\n }\n if (Object.prototype.toString.call(value).slice(8, -1) === 'Object') {\n return ''\n }\n if (this.formatString && value) {\n return sprintf(this.formatString, value)\n }\n return '' + value\n },\n showContextMenu(e) {\n e.preventDefault()\n this.contextMenuShown = false\n this.x = e.clientX\n this.y = e.clientY\n this.$nextTick(() => {\n this.contextMenuShown = true\n })\n },\n },\n}\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-dialog',{attrs:{\"width\":\"600\"},model:{value:(_vm.show),callback:function ($$v) {_vm.show=$$v},expression:\"show\"}},[_c('v-card',[_c('v-system-bar',[_c('v-spacer'),_vm._v(\" \"),_c('span',[_vm._v(\" Details \")]),_vm._v(\" \"),_c('v-spacer')],1),_vm._v(\" \"),_c('v-card-title',[_vm._v(\"\\n \"+_vm._s(_vm.targetName)+\" \"+_vm._s(_vm.packetName)+\" \"+_vm._s(_vm.itemName)+\"\\n \")]),_vm._v(\" \"),_c('v-card-subtitle',[_vm._v(_vm._s(_vm.details.description))]),_vm._v(\" \"),_c('v-card-text',[_c('v-container',{attrs:{\"fluid\":\"\"}},[(_vm.type === 'tlm')?_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"label\",attrs:{\"cols\":\"3\"}},[_vm._v(\"Item Values\")]),_vm._v(\" \"),_c('v-col'),_vm._v(\" \"),_c('v-container',{staticClass:\"ml-5 pa-0\",attrs:{\"fluid\":\"\"}},[_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"label\",attrs:{\"cols\":\"4\"}},[_vm._v(\"Raw Value\")]),_vm._v(\" \"),_c('v-col',[_vm._v(_vm._s(_vm.rawValue))])],1),_vm._v(\" \"),_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"label\",attrs:{\"cols\":\"4\"}},[_vm._v(\"Converted Value\")]),_vm._v(\" \"),_c('v-col',[_vm._v(_vm._s(_vm.convertedValue))])],1),_vm._v(\" \"),_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"label\",attrs:{\"cols\":\"4\"}},[_vm._v(\"Formatted Value\")]),_vm._v(\" \"),_c('v-col',[_vm._v(_vm._s(_vm.formattedValue))])],1),_vm._v(\" \"),_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"label\",attrs:{\"cols\":\"4\"}},[_vm._v(\"With Units Value\")]),_vm._v(\" \"),_c('v-col',[_vm._v(_vm._s(_vm.unitsValue))])],1)],1)],1):_vm._e(),_vm._v(\" \"),_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"label\",attrs:{\"cols\":\"3\"}},[_vm._v(\"Bit Offset\")]),_vm._v(\" \"),_c('v-col',[_vm._v(_vm._s(_vm.details.bit_offset))])],1),_vm._v(\" \"),_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"label\",attrs:{\"cols\":\"3\"}},[_vm._v(\"Bit Size\")]),_vm._v(\" \"),_c('v-col',[_vm._v(_vm._s(_vm.details.bit_size))])],1),_vm._v(\" \"),(_vm.details.array_size)?_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"label\",attrs:{\"cols\":\"3\"}},[_vm._v(\"Array Size\")]),_vm._v(\" \"),_c('v-col',[_vm._v(_vm._s(_vm.details.array_size))])],1):_vm._e(),_vm._v(\" \"),_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"label\",attrs:{\"cols\":\"3\"}},[_vm._v(\"Data Type\")]),_vm._v(\" \"),_c('v-col',[_vm._v(_vm._s(_vm.details.data_type))])],1),_vm._v(\" \"),(_vm.type === 'cmd')?_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"label\",attrs:{\"cols\":\"3\"}},[_vm._v(\"Minimum\")]),_vm._v(\" \"),_c('v-col',[_vm._v(_vm._s(_vm.details.minimum))])],1):_vm._e(),_vm._v(\" \"),(_vm.type === 'cmd')?_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"label\",attrs:{\"cols\":\"3\"}},[_vm._v(\"Maximum\")]),_vm._v(\" \"),_c('v-col',[_vm._v(_vm._s(_vm.details.maximum))])],1):_vm._e(),_vm._v(\" \"),(_vm.type === 'cmd')?_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"label\",attrs:{\"cols\":\"3\"}},[_vm._v(\"Default\")]),_vm._v(\" \"),_c('v-col',[_vm._v(_vm._s(_vm.details.default))])],1):_vm._e(),_vm._v(\" \"),_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"label\",attrs:{\"cols\":\"3\"}},[_vm._v(\"Format String\")]),_vm._v(\" \"),_c('v-col',[_vm._v(_vm._s(_vm.details.format_string))])],1),_vm._v(\" \"),_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"label\",attrs:{\"cols\":\"3\"}},[_vm._v(\"Read Conversion\")]),_vm._v(\" \"),(_vm.details.read_conversion)?_c('v-col',[_vm._v(\"\\n Class: \"+_vm._s(_vm.details.read_conversion.class)+\"\\n \"),_c('br'),_vm._v(\"\\n Params:\\n \"+_vm._s(_vm.details.read_conversion.params)+\"\\n \")]):_c('v-col')],1),_vm._v(\" \"),_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"label\",attrs:{\"cols\":\"3\"}},[_vm._v(\"Write Conversion\")]),_vm._v(\" \"),(_vm.details.write_conversion)?_c('v-col',[_vm._v(\"\\n Class: \"+_vm._s(_vm.details.write_conversion.class)+\"\\n \"),_c('br'),_vm._v(\"\\n Params:\\n \"+_vm._s(_vm.details.write_conversion.params)+\"\\n \")]):_c('v-col')],1),_vm._v(\" \"),_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"label\",attrs:{\"cols\":\"3\"}},[_vm._v(\"Id Value\")]),_vm._v(\" \"),_c('v-col',[_vm._v(_vm._s(_vm.details.id_value))])],1),_vm._v(\" \"),_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"label\",attrs:{\"cols\":\"3\"}},[_vm._v(\"Units Full\")]),_vm._v(\" \"),_c('v-col',[_vm._v(_vm._s(_vm.details.units_full))])],1),_vm._v(\" \"),_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"label\",attrs:{\"cols\":\"3\"}},[_vm._v(\"Units Abbr\")]),_vm._v(\" \"),_c('v-col',[_vm._v(_vm._s(_vm.details.units))])],1),_vm._v(\" \"),_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"label\",attrs:{\"cols\":\"3\"}},[_vm._v(\"Endianness\")]),_vm._v(\" \"),_c('v-col',[_vm._v(_vm._s(_vm.details.endianness))])],1),_vm._v(\" \"),(_vm.details.states)?_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"label\",attrs:{\"cols\":\"3\"}},[_vm._v(\"States\")]),_vm._v(\" \"),_c('v-col'),_vm._v(\" \"),_c('v-container',{staticClass:\"ml-5 pa-0\",attrs:{\"fluid\":\"\"}},_vm._l((_vm.details.states),function(state,key){return _c('v-row',{key:key,attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"label\",attrs:{\"cols\":\"4\"}},[_vm._v(_vm._s(key))]),_vm._v(\" \"),_c('v-col',[_vm._v(_vm._s(state.value))])],1)}),1)],1):_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"label\",attrs:{\"cols\":\"3\"}},[_vm._v(\"States\")]),_vm._v(\" \"),_c('v-col',[_vm._v(\"None\")])],1),_vm._v(\" \"),(_vm.details.limits)?_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"label\",attrs:{\"cols\":\"3\"}},[_vm._v(\"Limits\")]),_vm._v(\" \"),_c('v-col'),_vm._v(\" \"),_c('v-container',{staticClass:\"ml-5 pa-0\",attrs:{\"fluid\":\"\"}},_vm._l((_vm.details.limits),function(limit,key){return _c('v-row',{key:key,attrs:{\"no-gutters\":\"\"}},[(key === 'enabled')?_c('v-col',{staticClass:\"label\",attrs:{\"cols\":\"4\"}},[_vm._v(\"Enabled\")]):_vm._e(),_vm._v(\" \"),(key === 'enabled')?_c('v-switch',{attrs:{\"dense\":\"\",\"hide-details\":\"\"},on:{\"change\":_vm.changeLimitsEnabled},model:{value:(_vm.details.limits.enabled),callback:function ($$v) {_vm.$set(_vm.details.limits, \"enabled\", $$v)},expression:\"details.limits.enabled\"}}):_vm._e(),_vm._v(\" \"),(key !== 'enabled')?_c('v-col',{staticClass:\"label\",attrs:{\"cols\":\"4\"}},[_vm._v(_vm._s(key))]):_vm._e(),_vm._v(\" \"),(key !== 'enabled')?_c('div',[_vm._v(_vm._s(_vm.formatLimit(limit)))]):_vm._e(),_vm._v(\" \"),_c('v-col')],1)}),1)],1):_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"label\",attrs:{\"cols\":\"3\"}},[_vm._v(\"Limits\")]),_vm._v(\" \"),_c('v-col',[_vm._v(\"None\")])],1),_vm._v(\" \"),(_vm.details.meta)?_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"label\",attrs:{\"cols\":\"3\"}},[_vm._v(\"Meta\")]),_vm._v(\" \"),_c('v-col'),_vm._v(\" \"),_c('v-container',{staticClass:\"ml-5 pa-0\",attrs:{\"fluid\":\"\"}},_vm._l((_vm.details.meta),function(value,key){return _c('v-row',{key:key,attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"label\",attrs:{\"cols\":\"4\"}},[_vm._v(_vm._s(key))]),_vm._v(\" \"),_c('v-col',[_vm._v(_vm._s(value))])],1)}),1)],1):_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"label\",attrs:{\"cols\":\"3\"}},[_vm._v(\"Meta\")]),_vm._v(\" \"),_c('v-col',[_vm._v(\"None\")])],1)],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!./DetailsDialog.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!./DetailsDialog.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./DetailsDialog.vue?vue&type=template&id=9697eed8&scoped=true\"\nimport script from \"./DetailsDialog.vue?vue&type=script&lang=js\"\nexport * from \"./DetailsDialog.vue?vue&type=script&lang=js\"\nimport style0 from \"./DetailsDialog.vue?vue&type=style&index=0&id=9697eed8&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 \"9697eed8\",\n null\n \n)\n\nexport default component.exports","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!./ValueWidget.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!./ValueWidget.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./ValueWidget.vue?vue&type=template&id=c9da8e24&scoped=true\"\nimport script from \"./ValueWidget.vue?vue&type=script&lang=js\"\nexport * from \"./ValueWidget.vue?vue&type=script&lang=js\"\nimport style0 from \"./ValueWidget.vue?vue&type=style&index=0&id=c9da8e24&prod&lang=scss&scoped=true\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"c9da8e24\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-container',{staticClass:\"c-chooser px-0\"},[_c('v-row',[_c('v-col',{attrs:{\"cols\":_vm.colSize,\"data-test\":\"select-target\"}},[_c('v-autocomplete',{attrs:{\"label\":\"Select Target\",\"hide-details\":\"\",\"dense\":\"\",\"items\":_vm.targetNames,\"item-text\":\"label\",\"item-value\":\"value\"},on:{\"change\":_vm.targetNameChanged},model:{value:(_vm.selectedTargetName),callback:function ($$v) {_vm.selectedTargetName=$$v},expression:\"selectedTargetName\"}})],1),_vm._v(\" \"),_c('v-col',{attrs:{\"cols\":_vm.colSize,\"data-test\":\"select-packet\"}},[_c('v-autocomplete',{attrs:{\"label\":\"Select Packet\",\"hide-details\":\"\",\"dense\":\"\",\"disabled\":_vm.packetsDisabled || _vm.buttonDisabled,\"items\":_vm.packetNames,\"item-text\":\"label\",\"item-value\":\"value\"},on:{\"change\":_vm.packetNameChanged},model:{value:(_vm.selectedPacketName),callback:function ($$v) {_vm.selectedPacketName=$$v},expression:\"selectedPacketName\"}})],1),_vm._v(\" \"),(_vm.chooseItem && !_vm.buttonDisabled)?_c('v-col',{attrs:{\"cols\":_vm.colSize,\"data-test\":\"select-item\"}},[_c('v-autocomplete',{attrs:{\"label\":\"Select Item\",\"hide-details\":\"\",\"dense\":\"\",\"disabled\":_vm.itemsDisabled || _vm.buttonDisabled,\"items\":_vm.itemNames,\"item-text\":\"label\",\"item-value\":\"value\"},on:{\"change\":function($event){return _vm.itemNameChanged($event)}},model:{value:(_vm.selectedItemName),callback:function ($$v) {_vm.selectedItemName=$$v},expression:\"selectedItemName\"}})],1):_vm._e(),_vm._v(\" \"),(_vm.buttonText)?_c('v-col',{attrs:{\"cols\":_vm.colSize}},[_c('v-btn',{attrs:{\"disabled\":_vm.buttonDisabled,\"block\":\"\",\"color\":\"primary\",\"data-test\":\"select-send\"},on:{\"click\":_vm.buttonPressed}},[_vm._v(\"\\n \"+_vm._s(_vm.actualButtonText)+\"\\n \")])],1):_vm._e()],1),_vm._v(\" \"),(_vm.selectTypes)?_c('v-row',[_c('v-col',{attrs:{\"cols\":_vm.colSize,\"data-test\":\"data-type\"}},[_c('v-autocomplete',{attrs:{\"label\":\"Value Type\",\"hide-details\":\"\",\"dense\":\"\",\"items\":_vm.valueTypes},model:{value:(_vm.selectedValueType),callback:function ($$v) {_vm.selectedValueType=$$v},expression:\"selectedValueType\"}})],1),_vm._v(\" \"),_c('v-col',{attrs:{\"cols\":_vm.colSize,\"data-test\":\"reduced\"}},[_c('v-autocomplete',{attrs:{\"label\":\"Reduced\",\"hide-details\":\"\",\"dense\":\"\",\"items\":_vm.reductionModes},model:{value:(_vm.selectedReduced),callback:function ($$v) {_vm.selectedReduced=$$v},expression:\"selectedReduced\"}})],1),_vm._v(\" \"),_c('v-col',{attrs:{\"cols\":_vm.colSize,\"data-test\":\"reduced-type\"}},[_c('v-autocomplete',{attrs:{\"label\":\"Reduced Type\",\"hide-details\":\"\",\"dense\":\"\",\"disabled\":_vm.selectedReduced === 'DECOM',\"items\":_vm.reducedTypes},model:{value:(_vm.selectedReducedType),callback:function ($$v) {_vm.selectedReducedType=$$v},expression:\"selectedReducedType\"}})],1),_vm._v(\" \"),_c('v-col',{attrs:{\"cols\":_vm.colSize}})],1):_vm._e(),_vm._v(\" \"),_c('v-row',{staticClass:\"pt-1\",attrs:{\"no-gutters\":\"\"}},[(_vm.hazardous)?_c('v-col',{staticClass:\"openc3-yellow\",staticStyle:{\"white-space\":\"pre\"},attrs:{\"cols\":_vm.colSize}},[_vm._v(\"Description: \"+_vm._s(_vm.description)+\" (HAZARDOUS)\")]):_c('v-col',{staticStyle:{\"white-space\":\"pre\"},attrs:{\"cols\":_vm.colSize}},[_vm._v(\"Description: \"+_vm._s(_vm.description)+\"\\n \")])],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./TargetPacketItemChooser.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./TargetPacketItemChooser.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./TargetPacketItemChooser.vue?vue&type=template&id=545e6a0e\"\nimport script from \"./TargetPacketItemChooser.vue?vue&type=script&lang=js\"\nexport * from \"./TargetPacketItemChooser.vue?vue&type=script&lang=js\"\nimport style0 from \"./TargetPacketItemChooser.vue?vue&type=style&index=0&id=545e6a0e&prod&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('mounting-portal',{attrs:{\"mount-to\":\"#openc3-menu\",\"append\":\"\"}},[_c('div',{staticClass:\"v-toolbar__content\"},[_vm._l((_vm.menus),function(menu,i){return _c('v-menu',{key:i,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\",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',{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)?_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',[_c('v-radio',{attrs:{\"color\":\"secondary\",\"label\":option.label,\"value\":option.label}})],1):_vm._e(),_vm._v(\" \"),(option.checkbox)?_c('v-list-item-action',[_c('v-checkbox',{attrs:{\"color\":\"secondary\",\"label\":option.label},model:{value:(option.checked),callback:function ($$v) {_vm.$set(option, \"checked\", $$v)},expression:\"option.checked\"}})],1):_vm._e(),_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)}),_vm._v(\" \"),_c('v-spacer'),_vm._v(\" \"),_c('v-toolbar-title',[_vm._v(_vm._s(_vm.title))]),_vm._v(\" \"),_c('v-spacer')],2)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./TopBar.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./TopBar.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./TopBar.vue?vue&type=template&id=11569d60&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=11569d60&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 \"11569d60\",\n null\n \n)\n\nexport default component.exports","<!--\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2022, OpenC3, Inc.\n# All Rights Reserved\n#\n# This file may also be used under the terms of a commercial license\n# if purchased from OpenC3, Inc.\n-->\n\n<template>\n <div>\n <top-bar :menus=\"menus\" :title=\"title\" />\n <v-card style=\"padding: 10px\">\n <target-packet-item-chooser\n :initial-target-name=\"this.$route.params.target\"\n :initial-packet-name=\"this.$route.params.packet\"\n @on-set=\"packetChanged($event)\"\n />\n <v-card-title style=\"padding-top: 0px\">\n Items\n <v-spacer />\n <v-text-field\n v-model=\"search\"\n append-icon=\"mdi-magnify\"\n label=\"Search\"\n single-line\n hide-details\n />\n </v-card-title>\n <v-data-table\n :headers=\"headers\"\n :items=\"rows\"\n :search=\"search\"\n :items-per-page=\"itemsPerPage\"\n @update:items-per-page=\"itemsPerPage = $event\"\n :footer-props=\"{\n itemsPerPageOptions: [10, 20, 50, 100, 500, 1000],\n showFirstLastPage: true,\n firstIcon: 'mdi-page-first',\n lastIcon: 'mdi-page-last',\n prevIcon: 'mdi-chevron-left',\n nextIcon: 'mdi-chevron-right',\n }\"\n calculate-widths\n multi-sort\n dense\n >\n <template v-slot:item.index=\"{ item }\">\n <span>\n {{\n rows\n .map(function (x) {\n return x.name\n })\n .indexOf(item.name)\n }}\n </span>\n </template>\n <template v-slot:item.name=\"{ item }\">\n {{ item.name }}<span v-if=\"item.derived\"> *</span>\n </template>\n <template v-slot:item.value=\"{ item }\">\n <value-widget\n :value=\"item.value\"\n :limits-state=\"item.limitsState\"\n :counter=\"item.counter\"\n :parameters=\"[targetName, packetName, item.name]\"\n :settings=\"[['WIDTH', '100%']]\"\n />\n </template>\n <template v-slot:footer.prepend\n >* indicates a \n <a href=\"https://openc3.com/docs/v5/telemetry#derived-items\"\n >DERIVED</a\n > item</template\n >\n </v-data-table>\n </v-card>\n <v-dialog\n v-model=\"optionsDialog\"\n @keydown.esc=\"optionsDialog = false\"\n max-width=\"300\"\n >\n <v-card>\n <v-system-bar>\n <v-spacer />\n <span>Options</span>\n <v-spacer />\n </v-system-bar>\n <v-card-text>\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 data-test=\"refresh-interval\"\n />\n </div>\n <div class=\"pa-3\">\n <v-text-field\n min=\"1\"\n max=\"10000\"\n step=\"1\"\n type=\"number\"\n label=\"Time at which to mark data Stale (s)\"\n :value=\"staleLimit\"\n @change=\"staleLimit = parseInt($event)\"\n data-test=\"stale-limit\"\n />\n </div>\n </v-card-text>\n </v-card>\n </v-dialog>\n </div>\n</template>\n\n<script>\nimport { OpenC3Api } from '@openc3/tool-common/src/services/openc3-api'\nimport ValueWidget from '@openc3/tool-common/src/components/widgets/ValueWidget'\nimport TargetPacketItemChooser from '@openc3/tool-common/src/components/TargetPacketItemChooser'\nimport TopBar from '@openc3/tool-common/src/components/TopBar'\n\nexport default {\n components: {\n TargetPacketItemChooser,\n ValueWidget,\n TopBar,\n },\n data() {\n return {\n title: 'COSMOS Packet Viewer',\n search: '',\n data: [],\n headers: [\n { text: 'Index', value: 'index' },\n { text: 'Name', value: 'name' },\n { text: 'Value', value: 'value' },\n ],\n optionsDialog: false,\n showIgnored: false,\n derivedLast: false,\n ignoredItems: [],\n derivedItems: [],\n menus: [\n {\n label: 'File',\n items: [\n {\n label: 'Options',\n command: () => {\n this.optionsDialog = true\n },\n },\n ],\n },\n {\n label: 'View',\n radioGroup: 'Formatted Items with Units', // Default radio selected\n items: [\n {\n label: 'Show Ignored Items',\n checkbox: true,\n checked: false,\n command: (item) => {\n this.showIgnored = item.checked\n },\n },\n {\n label: 'Display DERIVED Last',\n checkbox: true,\n checked: false,\n command: (item) => {\n this.derivedLast = item.checked\n },\n },\n {\n divider: true,\n },\n {\n label: 'Formatted Items with Units',\n radio: true,\n command: () => {\n this.valueType = 'WITH_UNITS'\n },\n },\n {\n label: 'Formatted Items',\n radio: true,\n command: () => {\n this.valueType = 'FORMATTED'\n },\n },\n {\n label: 'Converted Items',\n radio: true,\n command: () => {\n this.valueType = 'CONVERTED'\n },\n },\n {\n label: 'Raw Items',\n radio: true,\n command: () => {\n this.valueType = 'RAW'\n },\n },\n ],\n },\n ],\n updater: null,\n counter: 0,\n targetName: '',\n packetName: '',\n valueType: 'WITH_UNITS',\n refreshInterval: 1000,\n staleLimit: 30,\n rows: [],\n menuItems: [],\n itemsPerPage: 20,\n api: null,\n }\n },\n watch: {\n // Create a watcher on refreshInterval so we can change the updater\n refreshInterval: function (newValue, oldValue) {\n this.changeUpdater(false)\n },\n itemsPerPage: function (newValue, oldValue) {\n localStorage['packet_viewer__items_per_page'] = newValue\n },\n },\n created() {\n this.api = new OpenC3Api()\n // If we're passed in the route then manually call packetChanged to update\n if (this.$route.params.target && this.$route.params.packet) {\n this.packetChanged({\n targetName: this.$route.params.target.toUpperCase(),\n packetName: this.$route.params.packet.toUpperCase(),\n })\n }\n let local = parseInt(localStorage['packet_viewer__items_per_page'])\n if (local) {\n this.itemsPerPage = local\n } else {\n this.itemsPerPage = 20\n }\n },\n beforeDestroy() {\n if (this.updater != null) {\n clearInterval(this.updater)\n this.updater = null\n }\n },\n methods: {\n packetChanged(event) {\n if (\n this.targetName === event.targetName &&\n this.packetName === event.packetName\n ) {\n return\n }\n this.api.get_target(event.targetName).then((target) => {\n this.ignoredItems = target.ignored_items\n })\n this.api\n .get_packet_derived_items(event.targetName, event.packetName)\n .then((derived) => {\n this.derivedItems = derived\n })\n\n this.targetName = event.targetName\n this.packetName = event.packetName\n if (\n this.$route.params.target !== event.targetName ||\n this.$route.params.packet !== event.packetName\n ) {\n this.$router.push({\n name: 'PackerViewer',\n params: {\n target: this.targetName,\n packet: this.packetName,\n },\n })\n }\n this.changeUpdater(true)\n },\n\n changeUpdater(clearExisting) {\n if (this.updater != null) {\n clearInterval(this.updater)\n this.updater = null\n }\n\n if (clearExisting) {\n this.rows = []\n }\n\n this.updater = setInterval(() => {\n this.api\n .get_tlm_packet(\n this.targetName,\n this.packetName,\n this.valueType,\n this.staleLimit,\n )\n .then((data) => {\n // Make sure data isn't null or undefined. Note this is the only valid use of == or !=\n if (data != null) {\n this.counter += 1\n let derived = []\n let other = []\n data.forEach((value) => {\n if (!this.showIgnored && this.ignoredItems.includes(value[0])) {\n return\n }\n if (this.derivedItems.includes(value[0])) {\n derived.push({\n name: value[0],\n value: value[1],\n limitsState: value[2],\n derived: true,\n counter: this.counter,\n })\n } else {\n other.push({\n name: value[0],\n value: value[1],\n limitsState: value[2],\n derived: false,\n counter: this.counter,\n })\n }\n })\n if (this.derivedLast) {\n this.rows = other.concat(derived)\n } else {\n this.rows = derived.concat(other)\n }\n }\n })\n }, this.refreshInterval)\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!./PacketViewer.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!./PacketViewer.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./PacketViewer.vue?vue&type=template&id=6a3993b9\"\nimport script from \"./PacketViewer.vue?vue&type=script&lang=js\"\nexport * from \"./PacketViewer.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","// 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, `.label[data-v-9697eed8]{font-weight:700;text-transform:capitalize}[data-v-9697eed8] .v-input--selection-controls{padding:0;margin: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, `.row+.row{margin-top:0}`, \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.v-list[data-v-11569d60] .v-label{margin-left:5px}.v-list-item__icon[data-v-11569d60]{margin-right:15px!important}.v-list-item__title[data-v-11569d60]{color:#fff}`, \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.value-widget-container[data-v-c9da8e24]{min-height:34px}.value-widget-container[data-v-c9da8e24] .v-input__slot{background:rgba(var(--aging),var(--aging),var(--aging),1)!important}.value-widget-container[data-v-c9da8e24] input{text-align:var(--text-align)!important}.value[data-v-c9da8e24] div{min-height:24px!important;display:flex!important;align-items:center!important}.openc3-green[data-v-c9da8e24] input{color:#00c800}.openc3-yellow[data-v-c9da8e24] input{color:#ffdc00}.openc3-red[data-v-c9da8e24] input{color:#ff2d2d}.openc3-blue[data-v-c9da8e24] input{color:#09f}.openc3-purple[data-v-c9da8e24] input{color:#c800c8}.openc3-black[data-v-c9da8e24] input{color:#000}.openc3-white[data-v-c9da8e24] input{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!./DetailsDialog.vue?vue&type=style&index=0&id=9697eed8&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(\"7e6c2e06\", content, true, {\"sourceMap\":false,\"shadowMode\":false});","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-12.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[2]!../../../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-12.use[3]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./TargetPacketItemChooser.vue?vue&type=style&index=0&id=545e6a0e&prod&lang=css\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"a3c4944a\", 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=11569d60&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(\"325f248f\", content, true, {\"sourceMap\":false,\"shadowMode\":false});","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!../../../../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!../../../../../node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ValueWidget.vue?vue&type=style&index=0&id=c9da8e24&prod&lang=scss&scoped=true\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"67563dd1\", content, true, {\"sourceMap\":false,\"shadowMode\":false});"],"names":["cov_fjy6gsang","actualCoverage","s","render","f","_vm","this","_c","_self","attrs","menus","title","_v","staticStyle","$route","params","target","packet","on","$event","packetChanged","model","value","search","callback","$$v","expression","headers","rows","itemsPerPage","itemsPerPageOptions","showFirstLastPage","firstIcon","lastIcon","prevIcon","nextIcon","scopedSlots","_u","key","fn","item","_s","map","x","name","indexOf","derived","b","_e","limitsState","counter","targetName","packetName","proxy","type","_k","keyCode","optionsDialog","staticClass","refreshInterval","staleLimit","parseInt","staticRenderFns","vueInstance","Vue","axiosInstance","axios","baseURL","location","origin","timeout","interceptors","response","use","error","_error$response","_error$response2","_error$response3","_error$response4","_error$response5","status","OpenC3Auth","updateToken","defaultMinValidity","then","refreshed","setTokens","includes","toString","Promise","reject","body","statusText","config","data","message","exception","class","_error$response6","$notify","serious","OpenC3Api","constructor","_defineProperty","exec","method","kwparams","headerOptions","login","id","window","openc3Scope","post","jsonrpc","keyword_params","Authorization","localStorage","openc3Token","result","err","Error","request","decode_openc3_type","val","json_class","raw","NaN","Infinity","encode_openc3_type","Number","isNaN","POSITIVE_INFINITY","NEGATIVE_INFINITY","ensure_offline_access","offline_access_needed","needed","openc3OfflineToken","set_offline_access","getOfflineAccess","offline_access_token","get_all_interface_info","map_target_to_interface","target_name","interface_name","connect_interface","interface_params","length","disconnect_interface","get_all_router_info","connect_router","router_name","disconnect_router","get_target_interfaces","get_all_target_info","get_tlm_cnts","target_commands","get_item","get_parameter","get_limits_sets","get_limits_set","set_limits_set","limits_set","get_target","get_target_list","get_target_names","get_telemetry","packet_name","get_all_telemetry","get_all_telemetry_names","get_tlm_packet","value_type","stale_time","len","converted","i","get_packet_derived_items","get_tlm_buffer","get_tlm_values","items","get_limits","item_name","tlm","undefined","inject_tlm","item_hash","set_tlm","override_tlm","get_overrides","normalize_tlm","get_all_commands","get_all_command_names","get_command","command_name","get_cmd_cnts","get_cmd_value","parameter_name","get_cmd_buffer","_cmd","param_list","Object","prototype","hasOwnProperty","call","get_cmd_hazardous","cmd","cmd_no_range_check","cmd_raw","cmd_raw_no_range_check","cmd_no_hazardous_check","cmd_no_checks","cmd_raw_no_hazardous_check","cmd_raw_no_checks","build_command","get_interface_names","send_raw","list_configs","tool","load_config","save_config","delete_config","enable_limits","disable_limits","get_out_of_limits","get_overall_limits_state","ignored","list_settings","get_all_settings","get_setting","get_settings","array","set_setting","save_setting","get_metrics","hashString","string","isSecureContext","arrayBuffer","TextEncoder","encode","hashAsArrayBuffer","crypto","subtle","digest","uint8ViewOfHash","Uint8Array","Array","from","padStart","join","style","computedStyle","aging","_g","_b","valueClass","_value","showContextMenu","fullName","y","contextMenuShown","_l","contextMenuOptions","index","stopPropagation","action","apply","arguments","parameters","viewDetails","ConfigParserError","config_parser","usage","url","keyword","filename","line","lineNumber","props","widgetIndex","default","settings","String","screen","computed","forEach","setting","slice","applySetting","created","methods","toLowerCase","getColor","verifyNumParams","min_num_params","max_num_params","parser","setWidth","width","units","defaultWidth","foundSetting","find","unshift","push","setHeight","height","defaultHeight","mixins","Widget","formatString","curValue","prevValue","grayLevel","grayRate","valueId","colorBlind","open","watch","_counter","newVal","oldVal","screenValues","formatValue","colorblindMode","limitsLetter","limitsColor","c","charAt","endsWith","getType","addItem","destroyed","deleteItem","byte","toUpperCase","sprintf","e","preventDefault","clientX","clientY","$nextTick","show","itemName","details","description","rawValue","convertedValue","formattedValue","unitsValue","bit_offset","bit_size","array_size","data_type","minimum","maximum","format_string","read_conversion","write_conversion","id_value","units_full","endianness","states","state","limits","limit","changeLimitsEnabled","enabled","$set","formatLimit","meta","validator","Boolean","updater","get","set","$emit","api","beforeDestroy","clearInterval","newValue","oldValue","requestDetails","setInterval","values","rawString","ellipse","green_low","red_low","yellow_low","yellow_high","red_high","green_high","component","INPUT_PADDING","components","DetailsDialog","VWidget","colSize","targetNames","targetNameChanged","selectedTargetName","packetsDisabled","buttonDisabled","packetNames","packetNameChanged","selectedPacketName","chooseItem","itemsDisabled","itemNames","itemNameChanged","selectedItemName","buttonText","buttonPressed","actualButtonText","selectTypes","valueTypes","selectedValueType","reductionModes","selectedReduced","reducedTypes","selectedReducedType","hazardous","allowAll","allowAllTargets","disabled","initialTargetName","initialPacketName","initialItemName","mode","propValue","unknown","vertical","_this$initialTargetNa","_this$initialPacketNa","_this$initialItemName","text","internalDisabled","ALL","label","UNKNOWN","flatMap","updatePackets","targetChooserStyle","float","packetChooserStyle","names","updateItems","reduce","concat","valueType","reduced","reducedType","allTargetPacketItems","allPacketItems","menu","ref","refInFor","formatDT","domProps","radioGroup","option","j","divider","subMenu","k","icon","radio","checkbox","submenu","subMenuClick","command","checked","replaceAll","$refs","topmenu","isActive","mounted","substring","document","TargetPacketItemChooser","ValueWidget","TopBar","showIgnored","derivedLast","ignoredItems","derivedItems","menuItems","changeUpdater","local","event","ignored_items","$router","clearExisting","other","___CSS_LOADER_EXPORT___","module","content","__esModule","locals","exports","add"],"sourceRoot":""}
|
@@ -0,0 +1,2 @@
|
|
1
|
+
"use strict";(self["webpackChunk_openc3_cosmos_tool_packetviewer"]=self["webpackChunk_openc3_cosmos_tool_packetviewer"]||[]).push([[540],{2540:(e,t,o)=>{o.r(t),o.d(t,{default:()=>u});var r=function(){var e=this,t=e._self._c;return t("v-card",[t("v-card-title",[e._v("404 Not Found Error")]),e._v(" "),t("v-card-text",[e._v("The requested URL "),t("code",[e._v(e._s(e.$route.fullPath))]),e._v(" was not\n routable.")])],1)},c=[],l=o(3483),s={},_=(0,l.Z)(s,r,c,!1,null,null,null);const u=_.exports}}]);
|
2
|
+
//# sourceMappingURL=540.js.map
|