openc3-tool-packetviewer 5.0.8 → 5.0.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,2 +0,0 @@
1
- (self["webpackChunk_openc3_tool_packetviewer"]=self["webpackChunk_openc3_tool_packetviewer"]||[]).push([[315],{7315:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return J}});n(7950),n(4908),n(4083),n(3450);function a(){var e="/openc3/plugins/packages/openc3-tool-packetviewer/src/tools/PacketViewer/PacketViewer.vue",t="d011c56f6b302ff2a5bc3f1999e6f3e575cbef61",n=new Function("return this")(),l="__coverage__",i={path:"/openc3/plugins/packages/openc3-tool-packetviewer/src/tools/PacketViewer/PacketViewer.vue",statementMap:{0:{start:{line:1,column:13},end:{line:2,column:1}},1:{start:{line:1,column:39},end:{line:1,column:43}},2:{start:{line:1,column:47},end:{line:1,column:59}},3:{start:{line:1,column:60},end:{line:1,column:1925}},4:{start:{line:1,column:304},end:{line:1,column:336}},5:{start:{line:1,column:564},end:{line:1,column:578}},6:{start:{line:1,column:884},end:{line:1,column:995}},7:{start:{line:1,column:950},end:{line:1,column:963}},8:{start:{line:1,column:1038},end:{line:1,column:1233}},9:{start:{line:1,column:1316},end:{line:1,column:1420}},10:{start:{line:1,column:1408},end:{line:1,column:1420}},11:{start:{line:1,column:1420},end:{line:1,column:1445}},12:{start:{line:1,column:1506},end:{line:1,column:1527}},13:{start:{line:1,column:1875},end:{line:1,column:1903}},14:{start:{line:3,column:22},end:{line:3,column:24}}},fnMap:{0:{name:"render",decl:{start:{line:1,column:22},end:{line:1,column:28}},loc:{start:{line:1,column:30},end:{line:2,column:1}},line:1},1:{name:"(anonymous_1)",decl:{start:{line:1,column:287},end:{line:1,column:288}},loc:{start:{line:1,column:303},end:{line:1,column:337}},line:1},2:{name:"(anonymous_2)",decl:{start:{line:1,column:548},end:{line:1,column:549}},loc:{start:{line:1,column:563},end:{line:1,column:579}},line:1},3:{name:"(anonymous_3)",decl:{start:{line:1,column:865},end:{line:1,column:866}},loc:{start:{line:1,column:883},end:{line:1,column:996}},line:1},4:{name:"(anonymous_4)",decl:{start:{line:1,column:935},end:{line:1,column:936}},loc:{start:{line:1,column:948},end:{line:1,column:965}},line:1},5:{name:"(anonymous_5)",decl:{start:{line:1,column:1019},end:{line:1,column:1020}},loc:{start:{line:1,column:1037},end:{line:1,column:1234}},line:1},6:{name:"(anonymous_6)",decl:{start:{line:1,column:1299},end:{line:1,column:1300}},loc:{start:{line:1,column:1315},end:{line:1,column:1446}},line:1},7:{name:"(anonymous_7)",decl:{start:{line:1,column:1490},end:{line:1,column:1491}},loc:{start:{line:1,column:1505},end:{line:1,column:1528}},line:1},8:{name:"(anonymous_8)",decl:{start:{line:1,column:1858},end:{line:1,column:1859}},loc:{start:{line:1,column:1874},end:{line:1,column:1904}},line:1}},branchMap:{0:{loc:{start:{line:1,column:1316},end:{line:1,column:1420}},type:"if",locations:[{start:{line:1,column:1316},end:{line:1,column:1420}},{start:{line:void 0,column:void 0},end:{line:void 0,column:void 0}}],line:1},1:{loc:{start:{line:1,column:1319},end:{line:1,column:1407}},type:"binary-expr",locations:[{start:{line:1,column:1319},end:{line:1,column:1346}},{start:{line:1,column:1348},end:{line:1,column:1407}}],line:1}},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},f:{0:0,1:0,2:0,3:0,4:0,5:0,6:0,7:0,8:0},b:{0:[0,0],1:[0,0]},_coverageSchema:"1a1c01bbd47fc00a2c39e90264f33305004495a9",hash:"d011c56f6b302ff2a5bc3f1999e6f3e575cbef61"},s=n[l]||(n[l]={});s[e]&&s[e].hash===t||(s[e]=i);var o=s[e];return a=function(){return o},o}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}}),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)}}}),t("v-card",[t("v-card-title",[e._v(" Items "),t("v-spacer"),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),t("v-data-table",{attrs:{headers:e.headers,items:e.rows,search:e.search,"items-per-page":20,"footer-props":{itemsPerPageOptions:[10,20,50,100,-1]},"calculate-widths":"","multi-sort":"",dense:""},scopedSlots:e._u([{key:"item.index",fn:function(n){var l=n.item;return a().f[3]++,a().s[6]++,[t("span",[e._v(" "+e._s(e.rows.map((function(e){return a().f[4]++,a().s[7]++,e.name})).indexOf(l.name))+" ")])]}},{key:"item.value",fn:function(n){var l=n.item;return a().f[5]++,a().s[8]++,[t("value-widget",{attrs:{value:l.value,"limits-state":l.limitsState,counter:l.counter,parameters:[e.targetName,e.packetName,l.name],settings:["WIDTH","50"]}})]}}])})],1),t("v-dialog",{attrs:{"max-width":"300"},on:{keydown:function(t){if(a().f[6]++,a().s[9]++,a().b[1][0]++,!t.type.indexOf("key")&&(a().b[1][1]++,e._k(t.keyCode,"esc",27,t.key,["Esc","Escape"])))return a().b[0][0]++,a().s[10]++,null;a().b[0][1]++,a().s[11]++,e.optionsDialog=!1}},model:{value:e.optionsDialog,callback:function(t){a().f[7]++,a().s[12]++,e.optionsDialog=t},expression:"optionsDialog"}},[t("v-card",[t("v-system-bar",[t("v-spacer"),t("span",[e._v("Options")]),t("v-spacer")],1),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},on:{change:function(t){a().f[8]++,a().s[13]++,e.refreshInterval=t}}})],1)])],1)],1)],1)},i=(a().s[14]++,[]),s=(n(8188),n(1939),n(9529),n(1235),n(8178),n(4125)),o=n(6632),r=n(21),c=n(6706),u=n(4567),m=n(6812),d=n(6274),v=(n(1372),n(1245),n(3675),n(4898),n(5825),n(7170),n(8857),n(8329),n(6279),n(427),n(1159),n(2516),n(4349),n(5273),n(6729),n(1801),n(574),n(5787),n(9271),n(3160),n(5688),n(3157),n(3333),n(315),n(556),n(9224),n(6297),n(8882),n(7233),n(8673),n(5734),n(8233),n(9644)),h=n.n(v),p=n(4091),A=new p["default"],_=h().create({baseURL:location.origin,timeout:6e4,params:{}});_.interceptors.response.use((function(e){return e}),(function(e){if(e.response){var t,n,a,l,i,s,o,r,c,u;if(401===e.response.status&&OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity,!0),localStorage.axiosIgnoreResponse===e.response.status.toString())return Promise.reject(e);var m="HTTP ".concat(e.response.status," - ");if(null!==(t=e.response)&&void 0!==t&&t.statusText&&(m+="".concat(e.response.statusText," ")),null!==(n=e.response)&&void 0!==n&&null!==(a=n.config)&&void 0!==a&&a.data&&(m+="".concat(e.response.config.data," ")),null!==(l=e.response)&&void 0!==l&&null!==(i=l.data)&&void 0!==i&&i.message)m+="".concat(e.response.data.message);else if(null!==(s=e.response)&&void 0!==s&&null!==(o=s.data)&&void 0!==o&&o.exception)m+="".concat(e.response.data.exception);else if(null!==(r=e.response)&&void 0!==r&&null!==(c=r.data)&&void 0!==c&&null!==(u=c.error)&&void 0!==u&&u.message)e.response.data.error.class&&(m+="".concat(e.response.data.error.class," ")),m+="".concat(e.response.data.error.message);else{var d;m+="".concat(null===(d=e.response)||void 0===d?void 0:d.data)}throw A.$notify.serious({title:"Network error",body:m}),e}throw e}));var f=_,g=function(){function e(){(0,u.Z)(this,e),(0,d.Z)(this,"id",1)}return(0,m.Z)(e,[{key:"exec",value:function(){var e=(0,c.Z)((0,r.Z)().mark((function e(t,n){var a,l,i,s=arguments;return(0,r.Z)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return a=s.length>2&&void 0!==s[2]?s[2]:{},e.prev=1,e.next=4,OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity);case 4:e.next=9;break;case 6:e.prev=6,e.t0=e["catch"](1),OpenC3Auth.login();case 9:return this.id=this.id+1,e.prev=10,a["scope"]=localStorage.scope,e.next=14,f.post("/openc3-api/api",{jsonrpc:"2.0",method:t,params:n,id:this.id,keyword_params:a},{headers:{Authorization:localStorage.openc3Token,"Content-Type":"application/json-rpc"}});case 14:return l=e.sent,e.abrupt("return",l.data.result);case 18:throw e.prev=18,e.t1=e["catch"](10),i=new Error,e.t1.response?(i.name=e.t1.response.data.error.data.class,i.message=e.t1.response.data.error.data.message):e.t1.request?(i.name="Request error",i.message="Request error, no response received"):i.name="Unknown error",i;case 23:case"end":return e.stop()}}),e,this,[[1,6],[10,18]])})));function t(t,n){return e.apply(this,arguments)}return t}()},{key:"decode_openc3_type",value:function(e){if(null!==e&&"object"===(0,o.Z)(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}},{key:"encode_openc3_type",value:function(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}},{key:"get_all_interface_info",value:function(){return this.exec("get_all_interface_info",[])}},{key:"connect_interface",value:function(e){return this.exec("connect_interface",[e])}},{key:"disconnect_interface",value:function(e){return this.exec("disconnect_interface",[e])}},{key:"get_all_router_info",value:function(){return this.exec("get_all_router_info",[])}},{key:"connect_router",value:function(e){return this.exec("connect_router",[e])}},{key:"disconnect_router",value:function(e){return this.exec("disconnect_router",[e])}},{key:"get_all_target_info",value:function(){return this.exec("get_all_target_info",[])}},{key:"get_tlm_cnts",value:function(e){return this.exec("get_tlm_cnts",[e])}},{key:"get_item",value:function(e,t,n){return this.exec("get_item",[e,t,n])}},{key:"get_parameter",value:function(e,t,n){return this.exec("get_parameter",[e,t,n])}},{key:"get_all_packet_logger_info",value:function(){return this.exec("get_all_packet_logger_info",[])}},{key:"start_logging",value:function(){return this.exec("start_logging",[])}},{key:"stop_logging",value:function(){return this.exec("stop_logging",[])}},{key:"start_cmd_log",value:function(e){return this.exec("start_cmd_log",[e])}},{key:"start_tlm_log",value:function(e){return this.exec("start_tlm_log",[e])}},{key:"stop_cmd_log",value:function(e){return this.exec("stop_cmd_log",[e])}},{key:"stop_tlm_log",value:function(e){return this.exec("stop_tlm_log",[e])}},{key:"get_server_status",value:function(){return this.exec("get_server_status",[])}},{key:"get_limits_sets",value:function(){return this.exec("get_limits_sets",[])}},{key:"get_limits_set",value:function(){return this.exec("get_limits_set",[])}},{key:"set_limits_set",value:function(e){return this.exec("set_limits_set",[e])}},{key:"get_background_tasks",value:function(){return this.exec("get_background_tasks",[])}},{key:"start_background_task",value:function(e){return this.exec("start_background_task",[e])}},{key:"stop_background_task",value:function(e){return this.exec("stop_background_task",[e])}},{key:"get_oldest_logfile",value:function(){return this.exec("get_oldest_logfile",[])}},{key:"get_target",value:function(e){return this.exec("get_target",[e])}},{key:"get_target_list",value:function(){return this.exec("get_target_list",[])}},{key:"get_telemetry",value:function(e,t){return this.exec("get_telemetry",[e,t])}},{key:"get_all_telemetry",value:function(e){return this.exec("get_all_telemetry",[e])}},{key:"get_all_telemetry_names",value:function(e){return this.exec("get_all_telemetry_names",[e])}},{key:"get_tlm_packet",value:function(){var e=(0,c.Z)((0,r.Z)().mark((function e(t,n,a){var l,i,s,o;return(0,r.Z)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this.exec("get_tlm_packet",[t,n],{type:a});case 2:if(l=e.sent,null!=l)for(i=l.length,s=null,o=0;o<i;o++)s=this.decode_openc3_type(l[o][1]),null!==s&&(l[o][1]=s);return e.abrupt("return",l);case 5:case"end":return e.stop()}}),e,this)})));function t(t,n,a){return e.apply(this,arguments)}return t}()},{key:"get_packet_derived_items",value:function(e,t){return this.exec("get_packet_derived_items",[e,t])}},{key:"get_tlm_buffer",value:function(e,t){return this.exec("get_tlm_buffer",[e,t])}},{key:"get_tlm_values",value:function(){var e=(0,c.Z)((0,r.Z)().mark((function e(t){var n,a,l,i;return(0,r.Z)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this.exec("get_tlm_values",[t]);case 2:for(n=e.sent,a=n[0].length,l=null,i=0;i<a;i++)l=this.decode_openc3_type(n[0][i]),null!==l&&(n[0][i]=l);return e.abrupt("return",n);case 7:case"end":return e.stop()}}),e,this)})));function t(t){return e.apply(this,arguments)}return t}()},{key:"get_limits",value:function(e,t,n){return this.exec("get_limits",[e,t,n])}},{key:"tlm",value:function(){var e=(0,c.Z)((0,r.Z)().mark((function e(t,n,a){var l,i;return(0,r.Z)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this.exec("tlm",[t,n,a]);case 2:return l=e.sent,i=this.decode_openc3_type(l),null!==i&&(0,s.Z)("data"),e.abrupt("return",l);case 6:case"end":return e.stop()}}),e,this)})));function t(t,n,a){return e.apply(this,arguments)}return t}()},{key:"get_all_commands",value:function(e){return this.exec("get_all_commands",[e])}},{key:"get_all_command_names",value:function(e){return this.exec("get_all_command_names",[e])}},{key:"get_command",value:function(e,t){return this.exec("get_command",[e,t])}},{key:"get_cmd_cnts",value:function(e){return this.exec("get_cmd_cnts",[e])}},{key:"get_cmd_value",value:function(e,t,n){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"CONVERTED";return this.exec("get_cmd_value",[e,t,n,a])}},{key:"get_cmd_buffer",value:function(e,t){return this.exec("get_cmd_buffer",[e,t])}},{key:"_cmd",value:function(e,t,n,a){var l=null;for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(l=this.encode_openc3_type(a[i]),null!==l&&(a[i]=l));return this.exec(e,[t,n,a])}},{key:"get_cmd_hazardous",value:function(e,t,n){return void 0===t?this.exec("get_cmd_hazardous",e):this._cmd("get_cmd_hazardous",e,t,n)}},{key:"cmd",value:function(e,t,n){return void 0===t?this.exec("cmd",e):this._cmd("cmd",e,t,n)}},{key:"cmd_no_range_check",value:function(e,t,n){return void 0===t?this.exec("cmd_no_range_check",e):this._cmd("cmd_no_range_check",e,t,n)}},{key:"cmd_raw",value:function(e,t,n){return void 0===t?this.exec("cmd_raw",e):this._cmd("cmd_raw",e,t,n)}},{key:"cmd_raw_no_range_check",value:function(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)}},{key:"cmd_no_hazardous_check",value:function(e,t,n){return void 0===t?this.exec("cmd_no_hazardous_check",e):this._cmd("cmd_no_hazardous_check",e,t,n)}},{key:"cmd_no_checks",value:function(e,t,n){return void 0===t?this.exec("cmd_no_checks",e):this._cmd("cmd_no_checks",e,t,n)}},{key:"cmd_raw_no_hazardous_check",value:function(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)}},{key:"cmd_raw_no_checks",value:function(e,t,n){return void 0===t?this.exec("cmd_raw_no_checks",e):this._cmd("cmd_raw_no_checks",e,t,n)}},{key:"get_interface_names",value:function(){return this.exec("get_interface_names",[])}},{key:"send_raw",value:function(e,t){return this.exec("send_raw",[e,t])}},{key:"list_configs",value:function(e){return this.exec("list_configs",[e])}},{key:"load_config",value:function(e,t){return this.exec("load_config",[e,t])}},{key:"save_config",value:function(e,t,n){return this.exec("save_config",[e,t,n])}},{key:"delete_config",value:function(e,t){return this.exec("delete_config",[e,t])}},{key:"get_out_of_limits",value:function(){return this.exec("get_out_of_limits",[])}},{key:"get_overall_limits_state",value:function(e){return this.exec("get_overall_limits_state",[e])}},{key:"list_settings",value:function(){return this.exec("list_settings",[])}},{key:"get_all_settings",value:function(){return this.exec("get_all_settings",[])}},{key:"get_setting",value:function(e){return this.exec("get_setting",[e])}},{key:"get_settings",value:function(e){return this.exec("get_settings",e)}},{key:"save_setting",value:function(e,t){return this.exec("save_setting",[e,t])}},{key:"hashString",value:function(){var e=(0,c.Z)((0,r.Z)().mark((function e(t){var n,a,l;return(0,r.Z)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!window.isSecureContext){e.next=7;break}return n=(new TextEncoder).encode(t),e.next=4,crypto.subtle.digest("SHA-256",n);case 4:return a=e.sent,l=new Uint8Array(a),e.abrupt("return",Array.from(l).map((function(e){return e.toString(16).padStart(2,"0")})).join(""));case 7:case"end":return e.stop()}}),e)})));function t(t){return e.apply(this,arguments)}return t}()}]),e}(),k=function(){var e=this,t=e._self._c;return t("div",{staticClass:"value-widget-container"},[t("v-tooltip",{attrs:{bottom:""},scopedSlots:e._u([{key:"activator",fn:function(n){var a=n.on,l=n.attrs;return[t("v-text-field",e._g(e._b({class:e.valueClass,style:[e.computedStyle,e.aging],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",l,!1),a))]}}])},[t("span",[e._v(e._s(e.fullName))])]),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),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)},C=[],b=(n(6708),n(2501),n(8995),n(5940),n(8319),n(5794),(0,m.Z)((function e(t,n){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";(0,u.Z)(this,e),this.keyword=t.keyword,this.parameters=t.parameters,this.filename=t.filename,this.line=t.line,this.lineNumber=t.lineNumber,this.message=n,this.usage=a,this.url=l}))),y={props:{widgetIndex:{type:Number,default:null},parameters:{type:Array,default:function(){return[]}},settings:{type:Array,default:function(){return[]}},line:{type:String,default:""},lineNumber:{type:Number,default:0}},computed:{computedStyle:function(){var e=this,t={};return this.settings.forEach((function(n){var a=parseInt(n[0]);if(null!==e.widgetIndex){if(e.widgetIndex!==a)return;n=n.slice(1)}switch(n[0]){case"TEXTALIGN":t["text-align"]=n[1].toLowerCase();break;case"PADDING":t["padding"]=n[1]+"px !important";break;case"MARGIN":t["margin"]=n[1]+"px !important";break;case"BACKCOLOR":t["background-color"]=e.getColor(n.slice(1));break;case"TEXTCOLOR":t["color"]=e.getColor(n.slice(1));break;case"BORDERCOLOR":t["border-width"]="1px",t["border-style"]="solid",t["border-color"]=e.getColor(n.slice(1));break;case"WIDTH":t["width"]=n[1]+"px !important";break;case"HEIGHT":t["height"]=n[1]+"px !important";break;case"RAW":t[n[1].toLowerCase()]=n[2];break}})),t}},methods:{verifyNumParams:function(e,t,n){for(var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",l={line:this.line,lineNumber:this.lineNumber,keyword:e,parameters:this.parameters},i=1;i<=t;i++)if(void 0===this.parameters[i-1])throw new b(l,"Not enough parameters for ".concat(e,"."),a,"https://openc3.com/docs/v5");if(n&&void 0===!this.parameters[n])throw new b(l,"Too many parameters for ".concat(e,"."),a,"https://openc3.com/docs/v5")},getColor:function(e){switch(e.length){case 1:return e[0].toLowerCase();case 3:return"rgb(".concat(e[0],",").concat(e[1],",").concat(e[2],")")}}}},N=(n(131),{mixins:[y],props:{value:{default:null},limitsState:{type:String,default:null},counter:{default:null},formatString:null},data:function(){var e=this;return{curValue:null,prevValue:null,grayLevel:30,grayRate:5,valueId:null,colorBlind:!1,viewDetails:!1,contextMenuShown:!1,x:0,y:0,contextMenuOptions:[{title:"Details",action:function(){e.contextMenuShown=!1,e.viewDetails=!0}},{title:"Graph",action:function(){window.open("/tools/tlmgrapher/"+e.parameters[0]+"/"+e.parameters[1]+"/"+e.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.$store.state.tlmViewerValues[this.valueId]?this.curValue=this.$store.state.tlmViewerValues[this.valueId][0]:this.curValue=null),this.curValue=this.formatValue(this.curValue),"true"===localStorage.colorblindMode&&""!==this.limitsLetter?"".concat(this.curValue," (").concat(this.limitsLetter,")"):this.curValue},_counter:function(){var e=this.counter;return null===e&&(e=this.$store.state.tlmViewerValues[this.valueId]?this.$store.state.tlmViewerValues[this.valueId][2]:null),e},valueClass:function(){return"value shrink pa-1 openc3-"+this.limitsColor},limitsColor:function(){var e=this.limitsState;if(null===e&&(e=this.$store.state.tlmViewerValues[this.valueId]?this.$store.state.tlmViewerValues[this.valueId][1]: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:function(){var e=this.limitsState;if(null===e&&(e=this.$store.state.tlmViewerValues[this.valueId]?this.$store.state.tlmViewerValues[this.valueId][1]:null),null!=e){var t=e.charAt(0);return e.endsWith("_LOW")&&(t=t.toLowerCase()),t}return""}},created:function(){null!==this.value&&null!==this.limitsState||(this.valueId="".concat(this.parameters[0],"__").concat(this.parameters[1],"__").concat(this.parameters[2],"__").concat(this.getType()),this.$store.commit("tlmViewerAddItem",this.valueId))},destroyed:function(){this.$store.commit("tlmViewerDeleteItem",this.valueId)},methods:{getType:function(){var e="WITH_UNITS";return this.parameters[3]&&(e=this.parameters[3]),e},formatValue:function(e){if("Array"===Object.prototype.toString.call(e).slice(8,-1)){for(var t="[",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:function(e){var t=this;e.preventDefault(),this.contextMenuShown=!1,this.x=e.clientX,this.y=e.clientY,this.$nextTick((function(){t.contextMenuShown=!0}))}}}),w=(n(4115),n(634),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"),t("span",[e._v(" Details ")]),t("v-spacer")],1),t("v-card-title",[e._v(" "+e._s(e.targetName)+" "+e._s(e.packetName)+" "+e._s(e.itemName)+" ")]),t("v-card-subtitle",[e._v(e._s(e.details.description))]),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")]),t("v-col"),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")]),t("v-col",[e._v(e._s(e.rawValue))])],1),t("v-row",{attrs:{"no-gutters":""}},[t("v-col",{staticClass:"label",attrs:{cols:"4"}},[e._v("Converted Value")]),t("v-col",[e._v(e._s(e.convertedValue))])],1),t("v-row",{attrs:{"no-gutters":""}},[t("v-col",{staticClass:"label",attrs:{cols:"4"}},[e._v("Formatted Value")]),t("v-col",[e._v(e._s(e.formattedValue))])],1),t("v-row",{attrs:{"no-gutters":""}},[t("v-col",{staticClass:"label",attrs:{cols:"4"}},[e._v("With Units Value")]),t("v-col",[e._v(e._s(e.unitsValue))])],1)],1)],1):e._e(),t("v-row",{attrs:{"no-gutters":""}},[t("v-col",{staticClass:"label",attrs:{cols:"3"}},[e._v("Bit Offset")]),t("v-col",[e._v(e._s(e.details.bit_offset))])],1),t("v-row",{attrs:{"no-gutters":""}},[t("v-col",{staticClass:"label",attrs:{cols:"3"}},[e._v("Bit Size")]),t("v-col",[e._v(e._s(e.details.bit_size))])],1),e.details.array_size?t("v-row",{attrs:{"no-gutters":""}},[t("v-col",{staticClass:"label",attrs:{cols:"3"}},[e._v("Array Size")]),t("v-col",[e._v(e._s(e.details.array_size))])],1):e._e(),t("v-row",{attrs:{"no-gutters":""}},[t("v-col",{staticClass:"label",attrs:{cols:"3"}},[e._v("Data Type")]),t("v-col",[e._v(e._s(e.details.data_type))])],1),"cmd"===e.type?t("v-row",{attrs:{"no-gutters":""}},[t("v-col",{staticClass:"label",attrs:{cols:"3"}},[e._v("Minimum")]),t("v-col",[e._v(e._s(e.details.minimum))])],1):e._e(),"cmd"===e.type?t("v-row",{attrs:{"no-gutters":""}},[t("v-col",{staticClass:"label",attrs:{cols:"3"}},[e._v("Maximum")]),t("v-col",[e._v(e._s(e.details.maximum))])],1):e._e(),"cmd"===e.type?t("v-row",{attrs:{"no-gutters":""}},[t("v-col",{staticClass:"label",attrs:{cols:"3"}},[e._v("Default")]),t("v-col",[e._v(e._s(e.details.default))])],1):e._e(),t("v-row",{attrs:{"no-gutters":""}},[t("v-col",{staticClass:"label",attrs:{cols:"3"}},[e._v("Format String")]),t("v-col",[e._v(e._s(e.details.format_string))])],1),t("v-row",{attrs:{"no-gutters":""}},[t("v-col",{staticClass:"label",attrs:{cols:"3"}},[e._v("Read Conversion")]),e.details.read_conversion?t("v-col",[e._v(" Class: "+e._s(e.details.read_conversion.class)+" "),t("br"),e._v(" Params: "+e._s(e.details.read_conversion.params)+" ")]):t("v-col")],1),t("v-row",{attrs:{"no-gutters":""}},[t("v-col",{staticClass:"label",attrs:{cols:"3"}},[e._v("Write Conversion")]),e.details.write_conversion?t("v-col",[e._v(" Class: "+e._s(e.details.write_conversion.class)+" "),t("br"),e._v(" Params: "+e._s(e.details.write_conversion.params)+" ")]):t("v-col")],1),t("v-row",{attrs:{"no-gutters":""}},[t("v-col",{staticClass:"label",attrs:{cols:"3"}},[e._v("Id Value")]),t("v-col",[e._v(e._s(e.details.id_value))])],1),t("v-row",{attrs:{"no-gutters":""}},[t("v-col",{staticClass:"label",attrs:{cols:"3"}},[e._v("Units Full")]),t("v-col",[e._v(e._s(e.details.units_full))])],1),t("v-row",{attrs:{"no-gutters":""}},[t("v-col",{staticClass:"label",attrs:{cols:"3"}},[e._v("Units Abbr")]),t("v-col",[e._v(e._s(e.details.units))])],1),t("v-row",{attrs:{"no-gutters":""}},[t("v-col",{staticClass:"label",attrs:{cols:"3"}},[e._v("Endianness")]),t("v-col",[e._v(e._s(e.details.endianness))])],1),e.details.states?t("v-row",{attrs:{"no-gutters":""}},[t("v-col",{staticClass:"label",attrs:{cols:"3"}},[e._v("States")]),t("v-col"),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))]),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")]),t("v-col",[e._v("None")])],1),e.details.limits?t("v-row",{attrs:{"no-gutters":""}},[t("v-col",{staticClass:"label",attrs:{cols:"3"}},[e._v("Limits")]),t("v-col"),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":""}},[t("v-col",{staticClass:"label",attrs:{cols:"4"}},[e._v(e._s(a))]),e._v(" "+e._s(e.formatLimit(n))+" "),t("v-col")],1)})),1)],1):t("v-row",{attrs:{"no-gutters":""}},[t("v-col",{staticClass:"label",attrs:{cols:"3"}},[e._v("Limits")]),t("v-col",[e._v("None")])],1),e.details.meta?t("v-row",{attrs:{"no-gutters":""}},[t("v-col",{staticClass:"label",attrs:{cols:"3"}},[e._v("Meta")]),t("v-col"),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))]),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")]),t("v-col",[e._v("None")])],1)],1)],1)],1)],1)}),x=[],I={props:{type:{default:"tlm",validator:function(e){return-1!==["cmd","tlm"].indexOf(e)}},targetName:String,packetName:String,itemName:String,value:Boolean},data:function(){return{details:Object,updater:null,rawValue:null,convertedValue:null,formattedValue:null,unitsValue:null}},computed:{show:{get:function(){return this.value},set:function(e){this.$emit("input",e)}}},created:function(){this.api=new g},beforeDestroy:function(){clearInterval(this.updater),this.updater=null},watch:{value:function(e,t){var n=this;e?(this.requestDetails(),"tlm"===this.type&&(this.updater=setInterval((function(){n.api.get_tlm_values(["".concat(n.targetName,"__").concat(n.packetName,"__").concat(n.itemName,"__RAW"),"".concat(n.targetName,"__").concat(n.packetName,"__").concat(n.itemName,"__CONVERTED"),"".concat(n.targetName,"__").concat(n.packetName,"__").concat(n.itemName,"__FORMATTED"),"".concat(n.targetName,"__").concat(n.packetName,"__").concat(n.itemName,"__WITH_UNITS")]).then((function(e){n.rawValue=e[0][0],n.convertedValue=e[1][0],n.formattedValue=e[2][0],n.unitsValue=e[3][0]}))}),1e3))):(clearInterval(this.updater),this.updater=null)}},methods:{requestDetails:function(){var e=this;"tlm"===this.type?this.api.get_item(this.targetName,this.packetName,this.itemName).then((function(t){e.details=t})):this.api.get_parameter(this.targetName,this.packetName,this.itemName).then((function(t){e.details=t}))},formatLimit:function(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}}},T=I,V=(n(6649),n(3483)),S=(0,V.Z)(T,w,x,!1,null,"2d350830",null),L=S.exports,D={components:{DetailsDialog:L},mixins:[N],computed:{fullName:function(){return this.parameters[0]+" "+this.parameters[1]+" "+this.parameters[2]},aging:function(){return{"--aging":this.grayLevel}}},created:function(){this.verifyNumParams("VALUE",3,3,"VALUE <TARGET> <PACKET> <ITEM>")}},P=D,E=(n(1645),(0,V.Z)(P,k,C,!1,null,"e7a2e8b4",null)),O=E.exports,R=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),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.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.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(" "+e._s(e.actualButtonText)+" ")])],1):e._e()],1),t("v-row",{attrs:{"no-gutters":""}},[t("v-col",{attrs:{cols:e.colSize}},[e._v("Description: "+e._s(e.description))])],1)],1)},U=[],M=(n(9228),n(3108),{props:{allowAll:{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:""},mode:{type:String,default:"tlm",validator:function(e){return["cmd","tlm"].includes(e)}},reduced:{type:String,default:"DECOM",validator:function(e){return["REDUCED_DAY","REDUCED_HOUR","REDUCED_MINUTE","DECOM"].includes(e)}},unknown:{type:Boolean,default:!1},vertical:{type:Boolean,default:!1}},data:function(){var e,t,n;return{targetNames:[],packetNames:[],itemNames:[],selectedTargetName:null===(e=this.initialTargetName)||void 0===e?void 0:e.toUpperCase(),selectedPacketName:null===(t=this.initialPacketName)||void 0===t?void 0:t.toUpperCase(),selectedItemName:null===(n=this.initialItemName)||void 0===n?void 0:n.toUpperCase(),description:"",internalDisabled:!1,packetsDisabled:!1,itemsDisabled:!1,api:null,ALL:{label:"[ ALL ]",value:"ALL",description:"ALL"},UNKNOWN:{label:"[ UNKNOWN ]",value:"UNKNOWN",description:"UNKNOWN"}}},created:function(){var e=this;this.internalDisabled=!0,this.api=new g,this.api.get_target_list().then((function(t){e.targetNames=t.map((function(e){return{label:e,value:e}})),e.selectedTargetName||(e.selectedTargetName=e.targetNames[0].value,e.targetNameChanged(e.selectedTargetName)),e.updatePackets(),e.unknown&&e.targetNames.push(e.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.updatePackets(),this.itemNames=[]},reduced:function(e,t){this.updateItems()}},methods:{updatePackets:function(){var e=this;if("UNKNOWN"===this.selectedTargetName)return this.packetNames=[this.UNKNOWN],this.selectedPacketName=this.packetNames[0].value,this.packetNameChanged(this.UNKNOWN.value),void(this.description="UNKNOWN");this.internalDisabled=!0;var t="tlm"===this.mode?"get_all_telemetry_names":"get_all_command_names";this.api[t](this.selectedTargetName).then((function(t){e.packetNames=t.map((function(e){return{label:e,value:e}})),e.allowAll&&e.packetNames.unshift(e.ALL),e.selectedPacketName||(e.selectedPacketName=e.packetNames[0].value),e.packetNameChanged(e.selectedPacketName);e.packetNames.find((function(t){return t.value===e.selectedPacketName}));e.chooseItem&&e.updateItems(),e.internalDisabled=!1}))},updateItems:function(){var e=this;if("ALL"!==this.selectedPacketName){this.internalDisabled=!0;var t="tlm"===this.mode?"get_telemetry":"get_command";this.api[t](this.selectedTargetName,this.selectedPacketName).then((function(t){e.itemNames=t.items.map((function(t){return"DECOM"===e.reduced?[{label:t.name,value:t.name,description:t.description}]:e.makeReducedItems(t)})).reduce((function(e,t){return e.concat(t)}),[]),e.allowAll&&e.itemNames.unshift(e.ALL),e.selectedItemName||(e.selectedItemName=e.itemNames[0].value),e.description=e.itemNames[0].description,e.internalDisabled=!1,e.$emit("on-set",{targetName:e.selectedTargetName,packetName:e.selectedPacketName,itemName:e.selectedItemName,reduced:e.reduced})}))}},makeReducedItems:function(e){var t=!e.array_size&&!e.states;return t&&["UINT","INT","FLOAT"].includes(e.data_type)?["MIN","MAX","AVG","STDDEV"].map((function(t){return{label:"".concat(e.name,"_").concat(t),value:"".concat(e.name,"_").concat(t),description:"".concat(t," ").concat(e.description)}})):[]},targetNameChanged:function(e){this.selectedTargetName=e,this.selectedPacketName="",this.selectedItemName="",this.updatePackets()},packetNameChanged:function(e){var t=this;if("ALL"===e)this.itemsDisabled=!0,this.internalDisabled=!1;else{this.itemsDisabled=!1;var n=this.packetNames.find((function(t){return e===t.value}));this.selectedPacketName=n.value;var a="tlm"===this.mode?"get_telemetry":"get_command";this.api[a](this.selectedTargetName,this.selectedPacketName).then((function(e){t.description=e.description}))}this.chooseItem?(this.selectedItemName="",this.updateItems()):this.$emit("on-set",{targetName:this.selectedTargetName,packetName:this.selectedPacketName,reduced:this.reduced})},itemNameChanged:function(e){var t=this.itemNames.find((function(t){return e===t.value}));this.selectedItemName=t.value,this.description=t.description,this.$emit("on-set",{targetName:this.selectedTargetName,packetName:this.selectedPacketName,itemName:this.selectedItemName,reduced:this.reduced})},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,reduced:this.reduced}):this.$emit("click",{targetName:this.selectedTargetName,packetName:this.selectedPacketName,reduced:this.reduced})},allTargetPacketItems:function(){var e=this;this.packetNames.forEach((function(t){if(t!==e.ALL){var n="tlm"===e.mode?"get_telemetry":"get_command";e.api[n](e.selectedTargetName,t.value).then((function(n){n.items.forEach((function(n){e.$emit("click",{targetName:e.selectedTargetName,packetName:t.value,itemName:n["name"],reduced:e.reduced})}))}))}}))},allPacketItems:function(){var e=this;this.itemNames.forEach((function(t){t!==e.ALL&&e.$emit("click",{targetName:e.selectedTargetName,packetName:e.selectedPacketName,itemName:t.value,reduced:e.reduced})}))}}}),$=M,W=(0,V.Z)($,R,U,!1,null,null,null),Z=W.exports,H=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,attrs:{"offset-y":""},scopedSlots:e._u([{key:"activator",fn:function(a){var l=a.on,i=a.attrs;return[t("v-btn",e._g(e._b({staticClass:"mx-1",attrs:{outlined:"","data-test":e.formatDT("".concat(e.title," ").concat(n.label))}},"v-btn",i,!1),l),[t("span",{domProps:{textContent:e._s(n.label)}}),t("v-icon",{attrs:{right:""}},[e._v(" mdi-menu-down ")])],1)]}}],null,!0)},[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"):t("v-list-item",{key:l,attrs:{disabled:a.disabled,"data-test":e.formatDT("".concat(e.title," ").concat(n.label," ").concat(a.label))},on:{click:a.command}},[a.radio?t("v-list-item-action",[t("v-radio",{attrs:{color:"secondary",label:a.label,value:a.label}})],1):e._e(),a.checkbox?t("v-list-item-action",[t("v-checkbox",{attrs:{color:"secondary",label:a.label,value:a.label},model:{value:e.checked,callback:function(t){e.checked=t},expression:"checked"}})],1):e._e(),a.icon?t("v-list-item-icon",[t("v-icon",{attrs:{disabled:a.disabled}},[e._v(e._s(a.icon))])],1):e._e(),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)})),t("v-spacer"),t("v-toolbar-title",[e._v(e._s(e.title))]),t("v-spacer")],2)])},F=[],G=(n(1639),{props:{menus:{type:Array,default:function(){return[]}},title:{type:String,default:""}},methods:{formatDT:function(e){return e.replaceAll(" ","-").toLowerCase()}}}),z=G,B=(n(6104),(0,V.Z)(z,H,F,!1,null,"11927f54",null)),j=B.exports;function Y(){var e="/openc3/plugins/packages/openc3-tool-packetviewer/src/tools/PacketViewer/PacketViewer.vue",t="6b06e4e2281f8db4f4cf7b42147ef94a992a6451",n=new Function("return this")(),a="__coverage__",l={path:"/openc3/plugins/packages/openc3-tool-packetviewer/src/tools/PacketViewer/PacketViewer.vue",statementMap:{0:{start:{line:14,column:4},end:{line:101,column:5}},1:{start:{line:35,column:16},end:{line:35,column:41}},2:{start:{line:48,column:16},end:{line:48,column:52}},3:{start:{line:55,column:16},end:{line:55,column:52}},4:{start:{line:65,column:16},end:{line:65,column:45}},5:{start:{line:72,column:16},end:{line:72,column:44}},6:{start:{line:79,column:16},end:{line:79,column:44}},7:{start:{line:86,column:16},end:{line:86,column:38}},8:{start:{line:106,column:6},end:{line:106,column:31}},9:{start:{line:110,column:4},end:{line:110,column:30}},10:{start:{line:112,column:4},end:{line:117,column:5}},11:{start:{line:113,column:6},end:{line:116,column:8}},12:{start:{line:120,column:4},end:{line:123,column:5}},13:{start:{line:121,column:6},end:{line:121,column:33}},14:{start:{line:122,column:6},end:{line:122,column:25}},15:{start:{line:128,column:6},end:{line:133,column:7}},16:{start:{line:132,column:8},end:{line:132,column:14}},17:{start:{line:134,column:6},end:{line:136,column:8}},18:{start:{line:135,column:8},end:{line:135,column:48}},19:{start:{line:137,column:6},end:{line:141,column:10}},20:{start:{line:140,column:10},end:{line:140,column:37}},21:{start:{line:143,column:6},end:{line:143,column:40}},22:{start:{line:144,column:6},end:{line:144,column:40}},23:{start:{line:145,column:6},end:{line:156,column:7}},24:{start:{line:149,column:8},end:{line:155,column:10}},25:{start:{line:157,column:6},end:{line:157,column:30}},26:{start:{line:161,column:6},end:{line:164,column:7}},27:{start:{line:162,column:8},end:{line:162,column:35}},28:{start:{line:163,column:8},end:{line:163,column:27}},29:{start:{line:166,column:6},end:{line:168,column:7}},30:{start:{line:167,column:8},end:{line:167,column:22}},31:{start:{line:170,column:6},end:{line:206,column:30}},32:{start:{line:171,column:8},end:{line:205,column:12}},33:{start:{line:175,column:12},end:{line:204,column:13}},34:{start:{line:176,column:14},end:{line:176,column:31}},35:{start:{line:177,column:28},end:{line:177,column:30}},36:{start:{line:178,column:26},end:{line:178,column:28}},37:{start:{line:179,column:14},end:{line:198,column:16}},38:{start:{line:180,column:16},end:{line:182,column:17}},39:{start:{line:181,column:18},end:{line:181,column:24}},40:{start:{line:183,column:16},end:{line:197,column:17}},41:{start:{line:184,column:18},end:{line:189,column:20}},42:{start:{line:191,column:18},end:{line:196,column:20}},43:{start:{line:199,column:14},end:{line:203,column:15}},44:{start:{line:200,column:16},end:{line:200,column:49}},45:{start:{line:202,column:16},end:{line:202,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:102,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:47,column:23},end:{line:47,column:24}},loc:{start:{line:47,column:29},end:{line:49,column:15}},line:47},3:{name:"(anonymous_3)",decl:{start:{line:54,column:23},end:{line:54,column:24}},loc:{start:{line:54,column:29},end:{line:56,column:15}},line:54},4:{name:"(anonymous_4)",decl:{start:{line:64,column:23},end:{line:64,column:24}},loc:{start:{line:64,column:29},end:{line:66,column:15}},line:64},5:{name:"(anonymous_5)",decl:{start:{line:71,column:23},end:{line:71,column:24}},loc:{start:{line:71,column:29},end:{line:73,column:15}},line:71},6:{name:"(anonymous_6)",decl:{start:{line:78,column:23},end:{line:78,column:24}},loc:{start:{line:78,column:29},end:{line:80,column:15}},line:78},7:{name:"(anonymous_7)",decl:{start:{line:85,column:23},end:{line:85,column:24}},loc:{start:{line:85,column:29},end:{line:87,column:15}},line:85},8:{name:"(anonymous_8)",decl:{start:{line:105,column:21},end:{line:105,column:22}},loc:{start:{line:105,column:51},end:{line:107,column:5}},line:105},9:{name:"(anonymous_9)",decl:{start:{line:109,column:2},end:{line:109,column:3}},loc:{start:{line:109,column:12},end:{line:118,column:3}},line:109},10:{name:"(anonymous_10)",decl:{start:{line:119,column:2},end:{line:119,column:3}},loc:{start:{line:119,column:18},end:{line:124,column:3}},line:119},11:{name:"(anonymous_11)",decl:{start:{line:127,column:4},end:{line:127,column:5}},loc:{start:{line:127,column:25},end:{line:158,column:5}},line:127},12:{name:"(anonymous_12)",decl:{start:{line:134,column:49},end:{line:134,column:50}},loc:{start:{line:134,column:61},end:{line:136,column:7}},line:134},13:{name:"(anonymous_13)",decl:{start:{line:139,column:14},end:{line:139,column:15}},loc:{start:{line:139,column:27},end:{line:141,column:9}},line:139},14:{name:"(anonymous_14)",decl:{start:{line:160,column:4},end:{line:160,column:5}},loc:{start:{line:160,column:33},end:{line:207,column:5}},line:160},15:{name:"(anonymous_15)",decl:{start:{line:170,column:33},end:{line:170,column:34}},loc:{start:{line:170,column:39},end:{line:206,column:7}},line:170},16:{name:"(anonymous_16)",decl:{start:{line:173,column:16},end:{line:173,column:17}},loc:{start:{line:173,column:26},end:{line:205,column:11}},line:173},17:{name:"(anonymous_17)",decl:{start:{line:179,column:27},end:{line:179,column:28}},loc:{start:{line:179,column:38},end:{line:198,column:15}},line:179}},branchMap:{0:{loc:{start:{line:112,column:4},end:{line:117,column:5}},type:"if",locations:[{start:{line:112,column:4},end:{line:117,column:5}},{start:{line:void 0,column:void 0},end:{line:void 0,column:void 0}}],line:112},1:{loc:{start:{line:112,column:8},end:{line:112,column:62}},type:"binary-expr",locations:[{start:{line:112,column:8},end:{line:112,column:33}},{start:{line:112,column:37},end:{line:112,column:62}}],line:112},2:{loc:{start:{line:120,column:4},end:{line:123,column:5}},type:"if",locations:[{start:{line:120,column:4},end:{line:123,column:5}},{start:{line:void 0,column:void 0},end:{line:void 0,column:void 0}}],line:120},3:{loc:{start:{line:128,column:6},end:{line:133,column:7}},type:"if",locations:[{start:{line:128,column:6},end:{line:133,column:7}},{start:{line:void 0,column:void 0},end:{line:void 0,column:void 0}}],line:128},4:{loc:{start:{line:129,column:8},end:{line:130,column:44}},type:"binary-expr",locations:[{start:{line:129,column:8},end:{line:129,column:44}},{start:{line:130,column:8},end:{line:130,column:44}}],line:129},5:{loc:{start:{line:145,column:6},end:{line:156,column:7}},type:"if",locations:[{start:{line:145,column:6},end:{line:156,column:7}},{start:{line:void 0,column:void 0},end:{line:void 0,column:void 0}}],line:145},6:{loc:{start:{line:146,column:8},end:{line:147,column:54}},type:"binary-expr",locations:[{start:{line:146,column:8},end:{line:146,column:54}},{start:{line:147,column:8},end:{line:147,column:54}}],line:146},7:{loc:{start:{line:161,column:6},end:{line:164,column:7}},type:"if",locations:[{start:{line:161,column:6},end:{line:164,column:7}},{start:{line:void 0,column:void 0},end:{line:void 0,column:void 0}}],line:161},8:{loc:{start:{line:166,column:6},end:{line:168,column:7}},type:"if",locations:[{start:{line:166,column:6},end:{line:168,column:7}},{start:{line:void 0,column:void 0},end:{line:void 0,column:void 0}}],line:166},9:{loc:{start:{line:175,column:12},end:{line:204,column:13}},type:"if",locations:[{start:{line:175,column:12},end:{line:204,column:13}},{start:{line:void 0,column:void 0},end:{line:void 0,column:void 0}}],line:175},10:{loc:{start:{line:180,column:16},end:{line:182,column:17}},type:"if",locations:[{start:{line:180,column:16},end:{line:182,column:17}},{start:{line:void 0,column:void 0},end:{line:void 0,column:void 0}}],line:180},11:{loc:{start:{line:180,column:20},end:{line:180,column:76}},type:"binary-expr",locations:[{start:{line:180,column:20},end:{line:180,column:36}},{start:{line:180,column:40},end:{line:180,column:76}}],line:180},12:{loc:{start:{line:183,column:16},end:{line:197,column:17}},type:"if",locations:[{start:{line:183,column:16},end:{line:197,column:17}},{start:{line:190,column:23},end:{line:197,column:17}}],line:183},13:{loc:{start:{line:199,column:14},end:{line:203,column:15}},type:"if",locations:[{start:{line:199,column:14},end:{line:203,column:15}},{start:{line:201,column:21},end:{line:203,column:15}}],line:199}},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},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},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]},inputSourceMap:{version:3,sources:["PacketViewer.vue"],names:[],mappings:";AAqGA;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;;AAEA;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",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--\x3e\n\n<template>\n <div>\n <top-bar :menus=\"menus\" :title=\"title\" />\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>\n <v-card-title>\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=\"20\"\n :footer-props=\"{ itemsPerPageOptions: [10, 20, 50, 100, -1] }\"\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.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', '50']\"\n />\n </template>\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 />\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: '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 hideIgnored: 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: 'Hide Ignored Items',\n checkbox: true,\n command: () => {\n this.hideIgnored = !this.hideIgnored\n },\n },\n {\n label: 'Display Derived Last',\n checkbox: true,\n command: () => {\n this.derivedLast = !this.derivedLast\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 rows: [],\n menuItems: [],\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 },\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 },\n beforeDestroy() {\n if (this.updater != null) {\n clearInterval(this.updater)\n this.updater = null\n }\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(this.targetName, this.packetName, this.valueType)\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.hideIgnored && 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 counter: this.counter,\n })\n } else {\n other.push({\n name: value[0],\n value: value[1],\n limitsState: value[2],\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:"6b06e4e2281f8db4f4cf7b42147ef94a992a6451"},i=n[a]||(n[a]={});i[e]&&i[e].hash===t||(i[e]=l);var s=i[e];return Y=function(){return s},s}Y();var K={components:{TargetPacketItemChooser:Z,ValueWidget:O,TopBar:j},data:function(){var e=this;return Y().f[0]++,Y().s[0]++,{title:"Packet Viewer",search:"",data:[],headers:[{text:"Index",value:"index"},{text:"Name",value:"name"},{text:"Value",value:"value"}],optionsDialog:!1,hideIgnored:!1,derivedLast:!1,ignoredItems:[],derivedItems:[],menus:[{label:"File",items:[{label:"Options",command:function(){Y().f[1]++,Y().s[1]++,e.optionsDialog=!0}}]},{label:"View",radioGroup:"Formatted Items with Units",items:[{label:"Hide Ignored Items",checkbox:!0,command:function(){Y().f[2]++,Y().s[2]++,e.hideIgnored=!e.hideIgnored}},{label:"Display Derived Last",checkbox:!0,command:function(){Y().f[3]++,Y().s[3]++,e.derivedLast=!e.derivedLast}},{divider:!0},{label:"Formatted Items with Units",radio:!0,command:function(){Y().f[4]++,Y().s[4]++,e.valueType="WITH_UNITS"}},{label:"Formatted Items",radio:!0,command:function(){Y().f[5]++,Y().s[5]++,e.valueType="FORMATTED"}},{label:"Converted Items",radio:!0,command:function(){Y().f[6]++,Y().s[6]++,e.valueType="CONVERTED"}},{label:"Raw Items",radio:!0,command:function(){Y().f[7]++,Y().s[7]++,e.valueType="RAW"}}]}],updater:null,counter:0,targetName:"",packetName:"",valueType:"WITH_UNITS",refreshInterval:1e3,rows:[],menuItems:[],api:null}},watch:{refreshInterval:function(e,t){Y().f[8]++,Y().s[8]++,this.changeUpdater(!1)}},created:function(){Y().f[9]++,Y().s[9]++,this.api=new g,Y().s[10]++,Y().b[1][0]++,this.$route.params.target&&(Y().b[1][1]++,this.$route.params.packet)?(Y().b[0][0]++,Y().s[11]++,this.packetChanged({targetName:this.$route.params.target.toUpperCase(),packetName:this.$route.params.packet.toUpperCase()})):Y().b[0][1]++},beforeDestroy:function(){Y().f[10]++,Y().s[12]++,null!=this.updater?(Y().b[2][0]++,Y().s[13]++,clearInterval(this.updater),Y().s[14]++,this.updater=null):Y().b[2][1]++},methods:{packetChanged:function(e){var t=this;if(Y().f[11]++,Y().s[15]++,Y().b[4][0]++,this.targetName===e.targetName&&(Y().b[4][1]++,this.packetName===e.packetName))return Y().b[3][0]++,void Y().s[16]++;Y().b[3][1]++,Y().s[17]++,this.api.get_target(e.targetName).then((function(e){Y().f[12]++,Y().s[18]++,t.ignoredItems=e.ignored_items})),Y().s[19]++,this.api.get_packet_derived_items(e.targetName,e.packetName).then((function(e){Y().f[13]++,Y().s[20]++,t.derivedItems=e})),Y().s[21]++,this.targetName=e.targetName,Y().s[22]++,this.packetName=e.packetName,Y().s[23]++,Y().b[6][0]++,this.$route.params.target!==e.targetName||(Y().b[6][1]++,this.$route.params.packet!==e.packetName)?(Y().b[5][0]++,Y().s[24]++,this.$router.push({name:"PackerViewer",params:{target:this.targetName,packet:this.packetName}})):Y().b[5][1]++,Y().s[25]++,this.changeUpdater(!0)},changeUpdater:function(e){var t=this;Y().f[14]++,Y().s[26]++,null!=this.updater?(Y().b[7][0]++,Y().s[27]++,clearInterval(this.updater),Y().s[28]++,this.updater=null):Y().b[7][1]++,Y().s[29]++,e?(Y().b[8][0]++,Y().s[30]++,this.rows=[]):Y().b[8][1]++,Y().s[31]++,this.updater=setInterval((function(){Y().f[15]++,Y().s[32]++,t.api.get_tlm_packet(t.targetName,t.packetName,t.valueType).then((function(e){if(Y().f[16]++,Y().s[33]++,null!=e){Y().b[9][0]++,Y().s[34]++,t.counter+=1;var n=(Y().s[35]++,[]),a=(Y().s[36]++,[]);Y().s[37]++,e.forEach((function(e){if(Y().f[17]++,Y().s[38]++,Y().b[11][0]++,t.hideIgnored&&(Y().b[11][1]++,t.ignoredItems.includes(e[0])))return Y().b[10][0]++,void Y().s[39]++;Y().b[10][1]++,Y().s[40]++,t.derivedItems.includes(e[0])?(Y().b[12][0]++,Y().s[41]++,n.push({name:e[0],value:e[1],limitsState:e[2],counter:t.counter})):(Y().b[12][1]++,Y().s[42]++,a.push({name:e[0],value:e[1],limitsState:e[2],counter:t.counter}))})),Y().s[43]++,t.derivedLast?(Y().b[13][0]++,Y().s[44]++,t.rows=a.concat(n)):(Y().b[13][1]++,Y().s[45]++,t.rows=n.concat(a))}else Y().b[9][1]++}))}),this.refreshInterval)}}},q=K,X=(0,V.Z)(q,l,i,!1,null,null,null),J=X.exports},5728:function(e,t,n){"use strict";n.r(t);var a=n(9601),l=n.n(a),i=n(2609),s=n.n(i),o=s()(l());o.push([e.id,".label[data-v-2d350830]{font-weight:700;text-transform:capitalize}",""]),t["default"]=o},295:function(e,t,n){"use strict";n.r(t);var a=n(9601),l=n.n(a),i=n(2609),s=n.n(i),o=s()(l());o.push([e.id,".v-list[data-v-11927f54] .v-label{margin-left:5px}.v-list-item__icon[data-v-11927f54]{margin-right:15px!important}.v-list-item__title[data-v-11927f54]{color:#fff}",""]),t["default"]=o},5293:function(e,t,n){"use strict";n.r(t);var a=n(9601),l=n.n(a),i=n(2609),s=n.n(i),o=s()(l());o.push([e.id,".value-widget-container[data-v-e7a2e8b4]{min-height:34px}.value-widget-container[data-v-e7a2e8b4] .v-input__slot{background:rgba(var(--aging),var(--aging),var(--aging),1)!important}.value[data-v-e7a2e8b4] div{min-height:24px!important;display:flex!important;align-items:center!important}.openc3-green[data-v-e7a2e8b4] input{color:#00c800}.openc3-yellow[data-v-e7a2e8b4] input{color:#ffdc00}.openc3-red[data-v-e7a2e8b4] input{color:#ff2d2d}.openc3-blue[data-v-e7a2e8b4] input{color:#09f}.openc3-purple[data-v-e7a2e8b4] input{color:#c800c8}.openc3-black[data-v-e7a2e8b4] input{color:#000}.openc3-white[data-v-e7a2e8b4] input{color:#fff}",""]),t["default"]=o},6649:function(e,t,n){var a=n(5728);a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.id,a,""]]),a.locals&&(e.exports=a.locals);var l=n(3514).Z;l("7965124a",a,!0,{sourceMap:!1,shadowMode:!1})},6104:function(e,t,n){var a=n(295);a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.id,a,""]]),a.locals&&(e.exports=a.locals);var l=n(3514).Z;l("3d68193a",a,!0,{sourceMap:!1,shadowMode:!1})},1645:function(e,t,n){var a=n(5293);a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.id,a,""]]),a.locals&&(e.exports=a.locals);var l=n(3514).Z;l("9fdf8476",a,!0,{sourceMap:!1,shadowMode:!1})}}]);
2
- //# sourceMappingURL=315.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"js/315.js","mappings":"63GAAA,IAAIA,EAAS,WAAiB,WAAC,IAAIC,GAAG,WAACC,MAAKC,GAAE,WAACF,EAAIG,MAAMD,IAAG,OAA9B,WAAqCA,EAAG,MAAM,CAACA,EAAG,UAAU,CAACE,MAAM,CAAC,MAAQJ,EAAIK,MAAM,MAAQL,EAAIM,SAASJ,EAAG,6BAA6B,CAACE,MAAM,CAAC,sBAAsBH,KAAKM,OAAOC,OAAOC,OAAO,sBAAsBR,KAAKM,OAAOC,OAAOE,QAAQC,GAAG,CAAC,SAAS,SAASC,GAAQ,OAAD,sBAAQZ,EAAIa,cAAcD,EAAQ,KAAIV,EAAG,SAAS,CAACA,EAAG,eAAe,CAACF,EAAIc,GAAG,WAAWZ,EAAG,YAAYA,EAAG,eAAe,CAACE,MAAM,CAAC,cAAc,cAAc,MAAQ,SAAS,cAAc,GAAG,eAAe,IAAIW,MAAM,CAACC,MAAOhB,EAAIiB,OAAQC,SAAS,SAAUC,GAAK,sBAACnB,EAAIiB,OAAOE,CAAI,EAACC,WAAW,aAAa,GAAGlB,EAAG,eAAe,CAACE,MAAM,CAAC,QAAUJ,EAAIqB,QAAQ,MAAQrB,EAAIsB,KAAK,OAAStB,EAAIiB,OAAO,iBAAiB,GAAG,eAAe,CAAEM,oBAAqB,CAAC,GAAI,GAAI,GAAI,KAAM,IAAK,mBAAmB,GAAG,aAAa,GAAG,MAAQ,IAAIC,YAAYxB,EAAIyB,GAAG,CAAC,CAACC,IAAI,aAAaC,GAAG,YAAkB,IAAPC,EAAO,EAAPA,KAAQ,OAAD,sBAAQ,CAAC1B,EAAG,OAAO,CAACF,EAAIc,GAAG,IAAId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EAAQE,QAE5C,IAAIE,EAAM,UACGA,EAAI,WAAYJ,GAAS,EAAM,CAAC,WAAY,EAAM,YAAa,G,uBCN5E,IAAIA,EAAU,EAAQ,MACnBA,EAAQC,aAAYD,EAAUA,EAAQrK,SACnB,kBAAZqK,IAAsBA,EAAU,CAAC,CAACD,EAAOnQ,GAAIoQ,EAAS,MAC7DA,EAAQE,SAAQH,EAAOI,QAAUH,EAAQE,QAE5C,IAAIE,EAAM,UACGA,EAAI,WAAYJ,GAAS,EAAM,CAAC,WAAY,EAAM,YAAa,G","sources":["webpack://@openc3/tool-packetviewer/./src/tools/PacketViewer/PacketViewer.vue","webpack://@openc3/tool-packetviewer/../openc3-tool-common/src/services/axios.js","webpack://@openc3/tool-packetviewer/../openc3-tool-common/src/services/openc3-api.js","webpack://@openc3/tool-packetviewer/../openc3-tool-common/src/components/widgets/ValueWidget.vue","webpack://@openc3/tool-packetviewer/../openc3-tool-common/src/services/config-parser.js","webpack://@openc3/tool-packetviewer/../openc3-tool-common/src/components/widgets/Widget.js","webpack://@openc3/tool-packetviewer/../openc3-tool-common/src/components/widgets/VWidget.js","webpack://@openc3/tool-packetviewer/../openc3-tool-common/src/components/DetailsDialog.vue","webpack://@openc3/tool-packetviewer/../openc3-tool-common/src/components/DetailsDialog.vue?5daa","webpack://@openc3/tool-packetviewer/../openc3-tool-common/src/components/DetailsDialog.vue?e19f","webpack://@openc3/tool-packetviewer/../openc3-tool-common/src/components/widgets/ValueWidget.vue?efc2","webpack://@openc3/tool-packetviewer/../openc3-tool-common/src/components/widgets/ValueWidget.vue?3b34","webpack://@openc3/tool-packetviewer/../openc3-tool-common/src/components/TargetPacketItemChooser.vue","webpack://@openc3/tool-packetviewer/../openc3-tool-common/src/components/TargetPacketItemChooser.vue?635c","webpack://@openc3/tool-packetviewer/../openc3-tool-common/src/components/TargetPacketItemChooser.vue?8eb7","webpack://@openc3/tool-packetviewer/../openc3-tool-common/src/components/TopBar.vue","webpack://@openc3/tool-packetviewer/../openc3-tool-common/src/components/TopBar.vue?d3cb","webpack://@openc3/tool-packetviewer/../openc3-tool-common/src/components/TopBar.vue?a437","webpack://@openc3/tool-packetviewer/src/tools/PacketViewer/PacketViewer.vue","webpack://@openc3/tool-packetviewer/./src/tools/PacketViewer/PacketViewer.vue?5731","webpack://@openc3/tool-packetviewer/./src/tools/PacketViewer/PacketViewer.vue?4e55","webpack://@openc3/tool-packetviewer/../openc3-tool-common/src/components/DetailsDialog.vue?63fb","webpack://@openc3/tool-packetviewer/../openc3-tool-common/src/components/TopBar.vue?fff0","webpack://@openc3/tool-packetviewer/../openc3-tool-common/src/components/widgets/ValueWidget.vue?ccbf","webpack://@openc3/tool-packetviewer/../openc3-tool-common/src/components/DetailsDialog.vue?b526","webpack://@openc3/tool-packetviewer/../openc3-tool-common/src/components/TopBar.vue?943a","webpack://@openc3/tool-packetviewer/../openc3-tool-common/src/components/widgets/ValueWidget.vue?5dbe"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('top-bar',{attrs:{\"menus\":_vm.menus,\"title\":_vm.title}}),_c('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)}}}),_c('v-card',[_c('v-card-title',[_vm._v(\" Items \"),_c('v-spacer'),_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),_c('v-data-table',{attrs:{\"headers\":_vm.headers,\"items\":_vm.rows,\"search\":_vm.search,\"items-per-page\":20,\"footer-props\":{ itemsPerPageOptions: [10, 20, 50, 100, -1] },\"calculate-widths\":\"\",\"multi-sort\":\"\",\"dense\":\"\"},scopedSlots:_vm._u([{key:\"item.index\",fn:function({ item }){return [_c('span',[_vm._v(\" \"+_vm._s(_vm.rows .map(function (x) { return x.name }) .indexOf(item.name))+\" \")])]}},{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', '50']}})]}}])})],1),_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'),_c('span',[_vm._v(\"Options\")]),_c('v-spacer')],1),_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},on:{\"change\":function($event){_vm.refreshInterval = $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\nimport axios from 'axios'\nimport Vue from 'vue'\n\nconst vueInstance = new Vue()\n\nconst axiosInstance = axios.create({\n baseURL: location.origin,\n timeout: 60000,\n params: {},\n})\n\naxiosInstance.interceptors.response.use(\n (response) => response,\n (error) => {\n if (error.response) {\n if (error.response.status === 401) {\n OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity, true)\n }\n // Individual tools can set axiosIgnoreResponse to an error code\n // they potentially expect, e.g. '404', in which case we ignore it\n // Since localStorage only supports strings call toString on the status\n if (\n localStorage.axiosIgnoreResponse === error.response.status.toString()\n ) {\n return Promise.reject(error)\n }\n let body = `HTTP ${error.response.status} - `\n if (error.response?.statusText) {\n body += `${error.response.statusText} `\n }\n if (error.response?.config?.data) {\n body += `${error.response.config.data} `\n }\n if (error.response?.data?.message) {\n body += `${error.response.data.message}`\n } else if (error.response?.data?.exception) {\n body += `${error.response.data.exception}`\n } else if (error.response?.data?.error?.message) {\n if (error.response.data.error.class) {\n body += `${error.response.data.error.class} `\n }\n body += `${error.response.data.error.message}`\n } else {\n body += `${error.response?.data}`\n }\n vueInstance.$notify.serious({\n title: 'Network error',\n body,\n })\n throw error\n } else {\n throw error\n }\n }\n)\n\nexport default axiosInstance\n","/*\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2022, OpenC3, Inc.\n# All Rights Reserved\n*/\n\nimport axios from './axios.js'\n\nexport class OpenC3Api {\n id = 1\n\n constructor() {}\n\n // This is hacky Json-rpc for now. Should probably use a jsonrpc library.\n async exec(method, params, kwparams = {}) {\n try {\n await OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity)\n } catch (error) {\n OpenC3Auth.login()\n }\n this.id = this.id + 1\n try {\n kwparams['scope'] = localStorage.scope\n const response = await axios.post(\n '/openc3-api/api',\n {\n jsonrpc: '2.0',\n method: method,\n params: params,\n id: this.id,\n keyword_params: kwparams,\n },\n {\n headers: {\n Authorization: localStorage.openc3Token,\n 'Content-Type': 'application/json-rpc',\n },\n }\n )\n // var data = response.data\n // if (data.error) {\n // var err = new Error()\n // err.name = data.error.data.class\n // err.message = data.error.data.message\n // console.log(data.error.data.backtrace.join('\\n'))\n // throw err\n // }\n return response.data.result\n } catch (error) {\n var err = new Error()\n if (error.response) {\n // The request was made and the server responded with a\n // status code that falls out of the range of 2xx\n err.name = error.response.data.error.data.class\n err.message = error.response.data.error.data.message\n } else if (error.request) {\n // The request was made but no response was received, `error.request`\n // is an instance of XMLHttpRequest in the browser and an instance\n // of http.ClientRequest in Node.js\n err.name = 'Request error'\n err.message = 'Request error, no response received'\n } else {\n // Something happened in setting up the request and triggered an Error\n err.name = 'Unknown error'\n }\n //console.log(error)\n throw err\n }\n }\n\n decode_openc3_type(val) {\n if (val !== null && typeof val === 'object') {\n if (val.json_class == 'Float' && val.raw) {\n if (val.raw == 'NaN') {\n return NaN\n } else if (val.raw == 'Infinity') {\n return Infinity\n } else if (val.raw == '-Infinity') {\n return -Infinity\n }\n }\n }\n return null\n }\n\n encode_openc3_type(val) {\n if (Number.isNaN(val)) {\n return { json_class: 'Float', raw: 'NaN' }\n } else if (val == Number.POSITIVE_INFINITY) {\n return { json_class: 'Float', raw: 'Infinity' }\n } else if (val == Number.NEGATIVE_INFINITY) {\n return { json_class: 'Float', raw: '-Infinity' }\n }\n return null\n }\n\n // ***********************************************\n // The following APIs are used by the CmdTlmServer\n // ***********************************************\n get_all_interface_info() {\n return this.exec('get_all_interface_info', [])\n }\n\n connect_interface(interface_name) {\n return this.exec('connect_interface', [interface_name])\n }\n\n disconnect_interface(interface_name) {\n return this.exec('disconnect_interface', [interface_name])\n }\n\n get_all_router_info() {\n return this.exec('get_all_router_info', [])\n }\n\n connect_router(router_name) {\n return this.exec('connect_router', [router_name])\n }\n\n disconnect_router(router_name) {\n return this.exec('disconnect_router', [router_name])\n }\n\n get_all_target_info() {\n return this.exec('get_all_target_info', [])\n }\n\n get_tlm_cnts(target_commands) {\n return this.exec('get_tlm_cnts', [target_commands])\n }\n\n get_item(target, packet, item) {\n return this.exec('get_item', [target, packet, item])\n }\n\n get_parameter(target, packet, item) {\n return this.exec('get_parameter', [target, packet, item])\n }\n\n get_all_packet_logger_info() {\n return this.exec('get_all_packet_logger_info', [])\n }\n\n start_logging() {\n return this.exec('start_logging', [])\n }\n\n stop_logging() {\n return this.exec('stop_logging', [])\n }\n\n start_cmd_log(log_writer_name) {\n return this.exec('start_cmd_log', [log_writer_name])\n }\n\n start_tlm_log(log_writer_name) {\n return this.exec('start_tlm_log', [log_writer_name])\n }\n\n stop_cmd_log(log_writer_name) {\n return this.exec('stop_cmd_log', [log_writer_name])\n }\n\n stop_tlm_log(log_writer_name) {\n return this.exec('stop_tlm_log', [log_writer_name])\n }\n\n get_server_status() {\n return this.exec('get_server_status', [])\n }\n\n get_limits_sets() {\n return this.exec('get_limits_sets', [])\n }\n\n get_limits_set() {\n return this.exec('get_limits_set', [])\n }\n\n set_limits_set(limits_set) {\n return this.exec('set_limits_set', [limits_set])\n }\n\n get_background_tasks() {\n return this.exec('get_background_tasks', [])\n }\n\n start_background_task(name) {\n return this.exec('start_background_task', [name])\n }\n\n stop_background_task(name) {\n return this.exec('stop_background_task', [name])\n }\n\n // ***********************************************\n // End CmdTlmServer APIs\n // ***********************************************\n\n get_oldest_logfile() {\n return this.exec('get_oldest_logfile', [])\n }\n\n get_target(target_name) {\n return this.exec('get_target', [target_name])\n }\n\n get_target_list() {\n return this.exec('get_target_list', [])\n }\n\n get_telemetry(target_name, packet_name) {\n return this.exec('get_telemetry', [target_name, packet_name])\n }\n\n get_all_telemetry(target_name) {\n return this.exec('get_all_telemetry', [target_name])\n }\n\n get_all_telemetry_names(target_name) {\n return this.exec('get_all_telemetry_names', [target_name])\n }\n\n // Called by PacketViewerComponent\n async get_tlm_packet(target_name, packet_name, value_type) {\n const data = await this.exec('get_tlm_packet', [target_name, packet_name], {\n type: value_type,\n })\n // Make sure data isn't null or undefined. Note this is the only valid use of == or !=\n if (data != null) {\n var len = data.length\n var converted = null\n for (var i = 0; i < len; i++) {\n converted = this.decode_openc3_type(data[i][1])\n if (converted !== null) {\n data[i][1] = converted\n }\n }\n }\n return data\n }\n\n // Called by PacketViewerComponent\n get_packet_derived_items(target_name, packet_name) {\n return this.exec('get_packet_derived_items', [target_name, packet_name])\n }\n\n // Called by CmdTlmServer Tlm Packets tab\n get_tlm_buffer(target_name, packet_name) {\n return this.exec('get_tlm_buffer', [target_name, packet_name])\n }\n\n // Called by OpenC3ScreenComponent\n async get_tlm_values(items) {\n const data = await this.exec('get_tlm_values', [items])\n var len = data[0].length\n var converted = null\n for (var i = 0; i < len; i++) {\n converted = this.decode_openc3_type(data[0][i])\n if (converted !== null) {\n data[0][i] = converted\n }\n }\n return data\n }\n\n // Called by LimitsbarWidget\n get_limits(target_name, packet_name, item_name) {\n return this.exec('get_limits', [target_name, packet_name, item_name])\n }\n\n // Called by LimitsMonitorComponent\n async tlm(target_name, packet_name, item_name) {\n const data = await this.exec('tlm', [target_name, packet_name, item_name])\n var converted = this.decode_openc3_type(data)\n if (converted !== null) {\n data = converted\n }\n return data\n }\n\n get_all_commands(target_name) {\n return this.exec('get_all_commands', [target_name])\n }\n\n get_all_command_names(target_name) {\n return this.exec('get_all_command_names', [target_name])\n }\n\n get_command(target_name, command_name) {\n return this.exec('get_command', [target_name, command_name])\n }\n\n get_cmd_cnts(target_commands) {\n return this.exec('get_cmd_cnts', [target_commands])\n }\n\n get_cmd_value(\n target_name,\n packet_name,\n parameter_name,\n value_type = 'CONVERTED'\n ) {\n return this.exec('get_cmd_value', [\n target_name,\n packet_name,\n parameter_name,\n value_type,\n ])\n }\n\n // Called by CmdTlmServer Cmd Packets tab\n get_cmd_buffer(target_name, packet_name) {\n return this.exec('get_cmd_buffer', [target_name, packet_name])\n }\n\n // Implementation of functionality shared by cmd methods with param_lists.\n _cmd(method, target_name, command_name, param_list) {\n var converted = null\n for (var key in param_list) {\n if (Object.prototype.hasOwnProperty.call(param_list, key)) {\n converted = this.encode_openc3_type(param_list[key])\n if (converted !== null) {\n param_list[key] = converted\n }\n }\n }\n return this.exec(method, [target_name, command_name, param_list])\n }\n\n // Called by CmdSenderComponent\n get_cmd_hazardous(target_name, command_name, param_list) {\n if (command_name === undefined) {\n return this.exec('get_cmd_hazardous', target_name)\n } else {\n return this._cmd(\n 'get_cmd_hazardous',\n target_name,\n command_name,\n param_list\n )\n }\n }\n\n // Called by CmdSenderComponent\n cmd(target_name, command_name, param_list) {\n if (command_name === undefined) {\n return this.exec('cmd', target_name)\n } else {\n return this._cmd('cmd', target_name, command_name, param_list)\n }\n }\n\n // Called by CmdSenderComponent\n cmd_no_range_check(target_name, command_name, param_list) {\n if (command_name === undefined) {\n return this.exec('cmd_no_range_check', target_name)\n } else {\n return this._cmd(\n 'cmd_no_range_check',\n target_name,\n command_name,\n param_list\n )\n }\n }\n\n // Called by CmdSenderComponent\n cmd_raw(target_name, command_name, param_list) {\n if (command_name === undefined) {\n return this.exec('cmd_raw', target_name)\n } else {\n return this._cmd('cmd_raw', target_name, command_name, param_list)\n }\n }\n\n // Called by CmdSenderComponent\n cmd_raw_no_range_check(target_name, command_name, param_list) {\n if (command_name === undefined) {\n return this.exec('cmd_raw_no_range_check', target_name)\n } else {\n return this._cmd(\n 'cmd_raw_no_range_check',\n target_name,\n command_name,\n param_list\n )\n }\n }\n\n // Called by CmdSenderComponent\n cmd_no_hazardous_check(target_name, command_name, param_list) {\n if (command_name === undefined) {\n return this.exec('cmd_no_hazardous_check', target_name)\n } else {\n return this._cmd(\n 'cmd_no_hazardous_check',\n target_name,\n command_name,\n param_list\n )\n }\n }\n\n // Called by CmdSenderComponent\n cmd_no_checks(target_name, command_name, param_list) {\n if (command_name === undefined) {\n return this.exec('cmd_no_checks', target_name)\n } else {\n return this._cmd('cmd_no_checks', target_name, command_name, param_list)\n }\n }\n\n // Called by CmdSenderComponent\n cmd_raw_no_hazardous_check(target_name, command_name, param_list) {\n if (command_name === undefined) {\n return this.exec('cmd_raw_no_hazardous_check', target_name)\n } else {\n return this._cmd(\n 'cmd_raw_no_hazardous_check',\n target_name,\n command_name,\n param_list\n )\n }\n }\n\n // Called by CmdSenderComponent\n cmd_raw_no_checks(target_name, command_name, param_list) {\n if (command_name === undefined) {\n return this.exec('cmd_raw_no_checks', target_name)\n } else {\n return this._cmd(\n 'cmd_raw_no_checks',\n target_name,\n command_name,\n param_list\n )\n }\n }\n\n // Called by CmdSenderComponent\n get_interface_names() {\n return this.exec('get_interface_names', [])\n }\n\n // Called by CmdSenderComponent\n send_raw(interface_name, data) {\n return this.exec('send_raw', [interface_name, data])\n }\n\n list_configs(tool) {\n return this.exec('list_configs', [tool])\n }\n\n load_config(tool, name) {\n return this.exec('load_config', [tool, name])\n }\n\n save_config(tool, name, data) {\n return this.exec('save_config', [tool, name, data])\n }\n\n delete_config(tool, name) {\n return this.exec('delete_config', [tool, name])\n }\n\n get_out_of_limits() {\n return this.exec('get_out_of_limits', [])\n }\n\n get_overall_limits_state(ignored) {\n return this.exec('get_overall_limits_state', [ignored])\n }\n\n list_settings() {\n return this.exec('list_settings', [])\n }\n\n get_all_settings() {\n return this.exec('get_all_settings', [])\n }\n\n get_setting(name) {\n return this.exec('get_setting', [name])\n }\n\n get_settings(array) {\n return this.exec('get_settings', array)\n }\n\n save_setting(name, data) {\n return this.exec('save_setting', [name, data])\n }\n\n // TODO: Currently unused but seemed like a useful function\n async hashString(string) {\n if (window.isSecureContext) {\n // Encode the string as an arrayBuffer which the subtle crypto API uses\n const arrayBuffer = new TextEncoder().encode(string)\n // Use the subtle crypto API to perform a SHA256 Sum of the array buffer\n // The resulting hash is stored in an array buffer\n const hashAsArrayBuffer = await crypto.subtle.digest(\n 'SHA-256',\n arrayBuffer\n )\n // To create a string we will get the hexadecimal value of each byte of the array buffer\n // This gets us an array where each byte of the array buffer becomes one item in the array\n const uint8ViewOfHash = new Uint8Array(hashAsArrayBuffer)\n // We then convert it to a regular array so we can convert each item to hexadecimal strings\n // Where to characters of 0-9 or a-f represent a number between 0 and 16, containing 4 bits of information, so 2 of them is 8 bits (1 byte).\n return Array.from(uint8ViewOfHash)\n .map((b) => b.toString(16).padStart(2, '0'))\n .join('')\n }\n // else ?\n }\n}\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"value-widget-container\"},[_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,style:([_vm.computedStyle, _vm.aging]),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))]}}])},[_c('span',[_vm._v(_vm._s(_vm.fullName))])]),_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),_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\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 line_continuation = false\n this.line = ''\n this.keyword = null\n this.parameters = []\n this.filename = original_filename\n\n // Break string in to 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 let rx = /(\"([^\\\\\"]|\\\\.)*\")|('([^\\\\']|\\\\.)*')|\\S+/g\n let data = this.scan_string(line, rx)\n let first_item = ''\n if (data.length > 0) {\n first_item = first_item + data[0]\n }\n\n if (line_continuation) {\n this.line = this.line + line\n // Carry over keyword and parameters\n } else {\n this.line = line\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\n // Ignore comments and blank lines\n if (this.keyword === null) {\n if (yield_non_keyword_lines && !line_continuation) {\n handler(this.keyword, this.parameters, line, this.lineNumber)\n }\n continue\n }\n\n if (line_continuation) {\n if (remove_quotes) {\n this.parameters.push(this.remove_quotes(first_item))\n } else {\n this.parameters.push(first_item)\n }\n line_continuation = false\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 // But still process Ruby string interpolations such as:\n // KEYWORD PARAM #{var}\n if (string.length > 0 && string.charAt(0) === '#') {\n if (!(string.length > 1 && string.charAt(1) === '{')) {\n break\n }\n }\n\n // If the string is simply '&' and its the last string then its a line continuation so break the loop\n if (\n string.length === 1 &&\n string.charAt(0) === '&' &&\n index === length - 1\n ) {\n line_continuation = true\n continue\n }\n\n line_continuation = false\n if (remove_quotes) {\n this.parameters.push(this.remove_quotes(string))\n } else {\n this.parameters.push(string)\n }\n }\n }\n\n // If we detected a line continuation while going through all the\n // strings on the line then we strip off the continuation character and\n // return to the top of the loop to continue processing the line.\n if (line_continuation) {\n // Strip the continuation character\n if (this.line.length >= 1) {\n this.line = this.line.substring(0, this.line.length - 1)\n } else {\n this.line = ''\n }\n continue\n }\n\n handler(this.keyword, this.parameters, line, this.lineNumber)\n } // for\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\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 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 switch (setting[0]) {\n case 'TEXTALIGN':\n style['text-align'] = setting[1].toLowerCase()\n break\n case 'PADDING':\n style['padding'] = setting[1] + 'px !important'\n break\n case 'MARGIN':\n style['margin'] = setting[1] + 'px !important'\n break\n case 'BACKCOLOR':\n style['background-color'] = this.getColor(setting.slice(1))\n break\n case 'TEXTCOLOR':\n style['color'] = this.getColor(setting.slice(1))\n break\n case 'BORDERCOLOR':\n style['border-width'] = '1px'\n style['border-style'] = 'solid'\n style['border-color'] = this.getColor(setting.slice(1))\n break\n case 'WIDTH':\n style['width'] = setting[1] + 'px !important'\n break\n case 'HEIGHT':\n style['height'] = setting[1] + 'px !important'\n break\n case 'RAW':\n style[setting[1].toLowerCase()] = setting[2]\n break\n }\n })\n return style\n },\n },\n methods: {\n verifyNumParams(keyword, min_num_params, max_num_params, usage = '') {\n let parser = { line: this.line, lineNumber: this.lineNumber, keyword: keyword, parameters: this.parameters }\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 // 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\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: 30,\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.$store.state.tlmViewerValues[this.valueId]) {\n this.curValue = this.$store.state.tlmViewerValues[this.valueId][0]\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 // See store.js for how this is set\n if (this.$store.state.tlmViewerValues[this.valueId]) {\n counter = this.$store.state.tlmViewerValues[this.valueId][2]\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.$store.state.tlmViewerValues[this.valueId]) {\n limitsState = this.$store.state.tlmViewerValues[this.valueId][1]\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.$store.state.tlmViewerValues[this.valueId]) {\n limitsState = this.$store.state.tlmViewerValues[this.valueId][1]\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 this.$store.commit('tlmViewerAddItem', this.valueId)\n }\n },\n destroyed() {\n this.$store.commit('tlmViewerDeleteItem', this.valueId)\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 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 } else if (\n Object.prototype.toString.call(value).slice(8, -1) === 'Object'\n ) {\n return ''\n } else {\n if (this.formatString && value) {\n return sprintf(this.formatString, value)\n } else {\n return '' + value\n }\n }\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'),_c('span',[_vm._v(\" Details \")]),_c('v-spacer')],1),_c('v-card-title',[_vm._v(\" \"+_vm._s(_vm.targetName)+\" \"+_vm._s(_vm.packetName)+\" \"+_vm._s(_vm.itemName)+\" \")]),_c('v-card-subtitle',[_vm._v(_vm._s(_vm.details.description))]),_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\")]),_c('v-col'),_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\")]),_c('v-col',[_vm._v(_vm._s(_vm.rawValue))])],1),_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"label\",attrs:{\"cols\":\"4\"}},[_vm._v(\"Converted Value\")]),_c('v-col',[_vm._v(_vm._s(_vm.convertedValue))])],1),_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"label\",attrs:{\"cols\":\"4\"}},[_vm._v(\"Formatted Value\")]),_c('v-col',[_vm._v(_vm._s(_vm.formattedValue))])],1),_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"label\",attrs:{\"cols\":\"4\"}},[_vm._v(\"With Units Value\")]),_c('v-col',[_vm._v(_vm._s(_vm.unitsValue))])],1)],1)],1):_vm._e(),_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"label\",attrs:{\"cols\":\"3\"}},[_vm._v(\"Bit Offset\")]),_c('v-col',[_vm._v(_vm._s(_vm.details.bit_offset))])],1),_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"label\",attrs:{\"cols\":\"3\"}},[_vm._v(\"Bit Size\")]),_c('v-col',[_vm._v(_vm._s(_vm.details.bit_size))])],1),(_vm.details.array_size)?_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"label\",attrs:{\"cols\":\"3\"}},[_vm._v(\"Array Size\")]),_c('v-col',[_vm._v(_vm._s(_vm.details.array_size))])],1):_vm._e(),_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"label\",attrs:{\"cols\":\"3\"}},[_vm._v(\"Data Type\")]),_c('v-col',[_vm._v(_vm._s(_vm.details.data_type))])],1),(_vm.type === 'cmd')?_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"label\",attrs:{\"cols\":\"3\"}},[_vm._v(\"Minimum\")]),_c('v-col',[_vm._v(_vm._s(_vm.details.minimum))])],1):_vm._e(),(_vm.type === 'cmd')?_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"label\",attrs:{\"cols\":\"3\"}},[_vm._v(\"Maximum\")]),_c('v-col',[_vm._v(_vm._s(_vm.details.maximum))])],1):_vm._e(),(_vm.type === 'cmd')?_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"label\",attrs:{\"cols\":\"3\"}},[_vm._v(\"Default\")]),_c('v-col',[_vm._v(_vm._s(_vm.details.default))])],1):_vm._e(),_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"label\",attrs:{\"cols\":\"3\"}},[_vm._v(\"Format String\")]),_c('v-col',[_vm._v(_vm._s(_vm.details.format_string))])],1),_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"label\",attrs:{\"cols\":\"3\"}},[_vm._v(\"Read Conversion\")]),(_vm.details.read_conversion)?_c('v-col',[_vm._v(\" Class: \"+_vm._s(_vm.details.read_conversion.class)+\" \"),_c('br'),_vm._v(\" Params: \"+_vm._s(_vm.details.read_conversion.params)+\" \")]):_c('v-col')],1),_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"label\",attrs:{\"cols\":\"3\"}},[_vm._v(\"Write Conversion\")]),(_vm.details.write_conversion)?_c('v-col',[_vm._v(\" Class: \"+_vm._s(_vm.details.write_conversion.class)+\" \"),_c('br'),_vm._v(\" Params: \"+_vm._s(_vm.details.write_conversion.params)+\" \")]):_c('v-col')],1),_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"label\",attrs:{\"cols\":\"3\"}},[_vm._v(\"Id Value\")]),_c('v-col',[_vm._v(_vm._s(_vm.details.id_value))])],1),_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"label\",attrs:{\"cols\":\"3\"}},[_vm._v(\"Units Full\")]),_c('v-col',[_vm._v(_vm._s(_vm.details.units_full))])],1),_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"label\",attrs:{\"cols\":\"3\"}},[_vm._v(\"Units Abbr\")]),_c('v-col',[_vm._v(_vm._s(_vm.details.units))])],1),_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"label\",attrs:{\"cols\":\"3\"}},[_vm._v(\"Endianness\")]),_c('v-col',[_vm._v(_vm._s(_vm.details.endianness))])],1),(_vm.details.states)?_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"label\",attrs:{\"cols\":\"3\"}},[_vm._v(\"States\")]),_c('v-col'),_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))]),_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\")]),_c('v-col',[_vm._v(\"None\")])],1),(_vm.details.limits)?_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"label\",attrs:{\"cols\":\"3\"}},[_vm._v(\"Limits\")]),_c('v-col'),_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\":\"\"}},[_c('v-col',{staticClass:\"label\",attrs:{\"cols\":\"4\"}},[_vm._v(_vm._s(key))]),_vm._v(\" \"+_vm._s(_vm.formatLimit(limit))+\" \"),_c('v-col')],1)}),1)],1):_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"label\",attrs:{\"cols\":\"3\"}},[_vm._v(\"Limits\")]),_c('v-col',[_vm._v(\"None\")])],1),(_vm.details.meta)?_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{staticClass:\"label\",attrs:{\"cols\":\"3\"}},[_vm._v(\"Meta\")]),_c('v-col'),_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))]),_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\")]),_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/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/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=2d350830&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=2d350830&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 \"2d350830\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ValueWidget.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ValueWidget.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ValueWidget.vue?vue&type=template&id=e7a2e8b4&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=e7a2e8b4&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 \"e7a2e8b4\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-container',{staticClass:\"c-chooser px-0\"},[_c('v-row',[_c('v-col',{attrs:{\"cols\":_vm.colSize,\"data-test\":\"select-target\"}},[_c('v-autocomplete',{attrs:{\"label\":\"Select Target\",\"hide-details\":\"\",\"dense\":\"\",\"items\":_vm.targetNames,\"item-text\":\"label\",\"item-value\":\"value\"},on:{\"change\":_vm.targetNameChanged},model:{value:(_vm.selectedTargetName),callback:function ($$v) {_vm.selectedTargetName=$$v},expression:\"selectedTargetName\"}})],1),_c('v-col',{attrs:{\"cols\":_vm.colSize,\"data-test\":\"select-packet\"}},[_c('v-autocomplete',{attrs:{\"label\":\"Select Packet\",\"hide-details\":\"\",\"dense\":\"\",\"disabled\":_vm.packetsDisabled || _vm.buttonDisabled,\"items\":_vm.packetNames,\"item-text\":\"label\",\"item-value\":\"value\"},on:{\"change\":_vm.packetNameChanged},model:{value:(_vm.selectedPacketName),callback:function ($$v) {_vm.selectedPacketName=$$v},expression:\"selectedPacketName\"}})],1),(_vm.chooseItem && !_vm.buttonDisabled)?_c('v-col',{attrs:{\"cols\":_vm.colSize,\"data-test\":\"select-item\"}},[_c('v-autocomplete',{attrs:{\"label\":\"Select Item\",\"hide-details\":\"\",\"dense\":\"\",\"disabled\":_vm.itemsDisabled || _vm.buttonDisabled,\"items\":_vm.itemNames,\"item-text\":\"label\",\"item-value\":\"value\"},on:{\"change\":function($event){return _vm.itemNameChanged($event)}},model:{value:(_vm.selectedItemName),callback:function ($$v) {_vm.selectedItemName=$$v},expression:\"selectedItemName\"}})],1):_vm._e(),(_vm.buttonText)?_c('v-col',{attrs:{\"cols\":_vm.colSize}},[_c('v-btn',{attrs:{\"disabled\":_vm.buttonDisabled,\"block\":\"\",\"color\":\"primary\",\"data-test\":\"select-send\"},on:{\"click\":_vm.buttonPressed}},[_vm._v(\" \"+_vm._s(_vm.actualButtonText)+\" \")])],1):_vm._e()],1),_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{attrs:{\"cols\":_vm.colSize}},[_vm._v(\"Description: \"+_vm._s(_vm.description))])],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./TargetPacketItemChooser.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./TargetPacketItemChooser.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TargetPacketItemChooser.vue?vue&type=template&id=08088b8d&\"\nimport script from \"./TargetPacketItemChooser.vue?vue&type=script&lang=js&\"\nexport * from \"./TargetPacketItemChooser.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('mounting-portal',{attrs:{\"mount-to\":\"#openc3-menu\",\"append\":\"\"}},[_c('div',{staticClass:\"v-toolbar__content\"},[_vm._l((_vm.menus),function(menu,i){return _c('v-menu',{key:i,attrs:{\"offset-y\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-btn',_vm._g(_vm._b({staticClass:\"mx-1\",attrs:{\"outlined\":\"\",\"data-test\":_vm.formatDT(`${_vm.title} ${menu.label}`)}},'v-btn',attrs,false),on),[_c('span',{domProps:{\"textContent\":_vm._s(menu.label)}}),_c('v-icon',{attrs:{\"right\":\"\"}},[_vm._v(\" mdi-menu-down \")])],1)]}}],null,true)},[_c('v-list',[_c('v-radio-group',{staticClass:\"ma-0 pa-0\",attrs:{\"value\":menu.radioGroup,\"hide-details\":\"\",\"dense\":\"\"}},[_vm._l((menu.items),function(option,j){return [(option.divider)?_c('v-divider'):_c('v-list-item',{key:j,attrs:{\"disabled\":option.disabled,\"data-test\":_vm.formatDT(`${_vm.title} ${menu.label} ${option.label}`)},on:{\"click\":option.command}},[(option.radio)?_c('v-list-item-action',[_c('v-radio',{attrs:{\"color\":\"secondary\",\"label\":option.label,\"value\":option.label}})],1):_vm._e(),(option.checkbox)?_c('v-list-item-action',[_c('v-checkbox',{attrs:{\"color\":\"secondary\",\"label\":option.label,\"value\":option.label},model:{value:(_vm.checked),callback:function ($$v) {_vm.checked=$$v},expression:\"checked\"}})],1):_vm._e(),(option.icon)?_c('v-list-item-icon',[_c('v-icon',{attrs:{\"disabled\":option.disabled}},[_vm._v(_vm._s(option.icon))])],1):_vm._e(),(!option.radio && !option.checkbox)?_c('v-list-item-title',{style:('cursor: pointer;' + (option.disabled ? 'opacity: 0.2' : ''))},[_vm._v(_vm._s(option.label))]):_vm._e()],1)]})],2)],1)],1)}),_c('v-spacer'),_c('v-toolbar-title',[_vm._v(_vm._s(_vm.title))]),_c('v-spacer')],2)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./TopBar.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./TopBar.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TopBar.vue?vue&type=template&id=11927f54&scoped=true&\"\nimport script from \"./TopBar.vue?vue&type=script&lang=js&\"\nexport * from \"./TopBar.vue?vue&type=script&lang=js&\"\nimport style0 from \"./TopBar.vue?vue&type=style&index=0&id=11927f54&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"11927f54\",\n null\n \n)\n\nexport default component.exports","<!--\n# Copyright 2022 Ball Aerospace & Technologies Corp.\n# All Rights Reserved.\n#\n# This program is free software; you can modify and/or redistribute it\n# under the terms of the GNU Affero General Public License\n# as published by the Free Software Foundation; version 3 with\n# attribution addendums as found in the LICENSE.txt\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU Affero General Public License for more details.\n\n# Modified by OpenC3, Inc.\n# All changes Copyright 2022, OpenC3, Inc.\n# All Rights Reserved\n-->\n\n<template>\n <div>\n <top-bar :menus=\"menus\" :title=\"title\" />\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>\n <v-card-title>\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=\"20\"\n :footer-props=\"{ itemsPerPageOptions: [10, 20, 50, 100, -1] }\"\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.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', '50']\"\n />\n </template>\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 />\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: '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 hideIgnored: 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: 'Hide Ignored Items',\n checkbox: true,\n command: () => {\n this.hideIgnored = !this.hideIgnored\n },\n },\n {\n label: 'Display Derived Last',\n checkbox: true,\n command: () => {\n this.derivedLast = !this.derivedLast\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 rows: [],\n menuItems: [],\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 },\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 },\n beforeDestroy() {\n if (this.updater != null) {\n clearInterval(this.updater)\n this.updater = null\n }\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(this.targetName, this.packetName, this.valueType)\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.hideIgnored && 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 counter: this.counter,\n })\n } else {\n other.push({\n name: value[0],\n value: value[1],\n limitsState: value[2],\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/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/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=4a0f016f&\"\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-2d350830]{font-weight:700;text-transform:capitalize}\", \"\"]);\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-11927f54] .v-label{margin-left:5px}.v-list-item__icon[data-v-11927f54]{margin-right:15px!important}.v-list-item__title[data-v-11927f54]{color:#fff}\", \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".value-widget-container[data-v-e7a2e8b4]{min-height:34px}.value-widget-container[data-v-e7a2e8b4] .v-input__slot{background:rgba(var(--aging),var(--aging),var(--aging),1)!important}.value[data-v-e7a2e8b4] div{min-height:24px!important;display:flex!important;align-items:center!important}.openc3-green[data-v-e7a2e8b4] input{color:#00c800}.openc3-yellow[data-v-e7a2e8b4] input{color:#ffdc00}.openc3-red[data-v-e7a2e8b4] input{color:#ff2d2d}.openc3-blue[data-v-e7a2e8b4] input{color:#09f}.openc3-purple[data-v-e7a2e8b4] input{color:#c800c8}.openc3-black[data-v-e7a2e8b4] input{color:#000}.openc3-white[data-v-e7a2e8b4] 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=2d350830&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(\"7965124a\", 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=11927f54&prod&scoped=true&lang=css&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"3d68193a\", content, true, {\"sourceMap\":false,\"shadowMode\":false});","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-22.use[1]!../../../../../node_modules/@vue/vue-loader-v15/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[2]!../../../../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-22.use[3]!../../../../../node_modules/sass-loader/dist/cjs.js??clonedRuleSet-22.use[4]!../../../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ValueWidget.vue?vue&type=style&index=0&id=e7a2e8b4&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(\"9fdf8476\", content, true, {\"sourceMap\":false,\"shadowMode\":false});"],"names":["render","_vm","this","_c","_self","attrs","menus","title","$route","params","target","packet","on","$event","packetChanged","_v","model","value","search","callback","$$v","expression","headers","rows","itemsPerPageOptions","scopedSlots","_u","key","fn","item","_s","map","x","name","indexOf","limitsState","counter","targetName","packetName","type","_k","keyCode","optionsDialog","staticClass","refreshInterval","staticRenderFns","vueInstance","Vue","axiosInstance","axios","baseURL","location","origin","timeout","interceptors","response","use","error","status","OpenC3Auth","updateToken","defaultMinValidity","localStorage","axiosIgnoreResponse","toString","Promise","reject","body","statusText","config","data","message","exception","class","$notify","serious","OpenC3Api","method","kwparams","login","id","scope","jsonrpc","keyword_params","Authorization","openc3Token","result","err","Error","request","val","json_class","raw","NaN","Infinity","Number","isNaN","POSITIVE_INFINITY","NEGATIVE_INFINITY","exec","interface_name","router_name","target_commands","log_writer_name","limits_set","target_name","packet_name","value_type","len","length","converted","i","decode_openc3_type","items","item_name","command_name","parameter_name","param_list","Object","prototype","hasOwnProperty","call","encode_openc3_type","undefined","_cmd","tool","ignored","array","string","window","isSecureContext","arrayBuffer","TextEncoder","encode","crypto","subtle","digest","hashAsArrayBuffer","uint8ViewOfHash","Uint8Array","Array","from","b","padStart","join","_g","_b","valueClass","style","computedStyle","aging","_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","computed","forEach","setting","parseInt","slice","toLowerCase","getColor","methods","verifyNumParams","min_num_params","max_num_params","parser","mixins","Widget","formatString","curValue","prevValue","grayLevel","grayRate","valueId","colorBlind","open","watch","_counter","newVal","oldVal","$store","state","tlmViewerValues","formatValue","colorblindMode","limitsLetter","limitsColor","c","charAt","endsWith","created","getType","commit","destroyed","sprintf","e","preventDefault","clientX","clientY","$nextTick","show","itemName","details","description","rawValue","convertedValue","formattedValue","unitsValue","_e","bit_offset","bit_size","array_size","data_type","minimum","maximum","format_string","read_conversion","write_conversion","id_value","units_full","units","endianness","states","limits","limit","formatLimit","meta","validator","updater","get","set","beforeDestroy","clearInterval","get_tlm_values","then","requestDetails","get_item","get_parameter","component","components","DetailsDialog","colSize","targetNames","targetNameChanged","selectedTargetName","packetsDisabled","buttonDisabled","packetNames","packetNameChanged","selectedPacketName","chooseItem","itemsDisabled","itemNames","itemNameChanged","selectedItemName","buttonText","buttonPressed","actualButtonText","allowAll","disabled","initialTargetName","initialPacketName","initialItemName","mode","reduced","includes","propValue","unknown","vertical","internalDisabled","api","ALL","label","UNKNOWN","targetChooserStyle","width","float","packetChooserStyle","updatePackets","updateItems","reduce","makeReducedItems","allTargetPacketItems","allPacketItems","menu","formatDT","domProps","radioGroup","option","j","divider","command","radio","checkbox","checked","icon","TargetPacketItemChooser","ValueWidget","TopBar","text","hideIgnored","derivedLast","ignoredItems","derivedItems","valueType","menuItems","event","get_packet_derived_items","changeUpdater","clearExisting","get_tlm_packet","derived","other","___CSS_LOADER_EXPORT___","push","module","content","__esModule","locals","exports","add"],"sourceRoot":""}