openc3-cosmos-tool-tlmgrapher 6.0.0 → 6.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/tools/tlmgrapher/ArrayWidget-DBpEoQ1y-68f8b1a99bf6e7511047.js +2 -0
- data/tools/tlmgrapher/BarColumn-B6tCmNJm-97c7f7251227a5f93d49.js +1 -0
- data/tools/tlmgrapher/BlockWidget-Bmi0UcUW-3790965d51249d51c04a.js +2 -0
- data/tools/tlmgrapher/ButtonWidget-CHrHS_Bw-44613b1d96708d9b29b0.js +2 -0
- data/tools/tlmgrapher/CanvasWidget-BqdyLbQz-8523369ab18561d1c7af.js +1 -0
- data/tools/tlmgrapher/CanvasdotWidget-YYwca104-f9118dabb0fd599e9d12.js +1 -0
- data/tools/tlmgrapher/CanvasimageWidget-BrYlPQCf-47a0d44ddee2b6dca64e.js +1 -0
- data/tools/tlmgrapher/CanvasimagevalueWidget-HnEOXmZy-ac1b023ba3c406b34b68.js +1 -0
- data/tools/tlmgrapher/CanvaslabelWidget-BfMHNei--a3e6e2c9566e982b2d42.js +1 -0
- data/tools/tlmgrapher/CanvaslabelvalueWidget-0zRDJav3-d6ac0e298ab8137aa38c.js +1 -0
- data/tools/tlmgrapher/CanvaslineWidget-BmOwJP_G-4f230f74a378c3b53962.js +1 -0
- data/tools/tlmgrapher/CanvaslinevalueWidget-H3L1aUKM-65f6ec553d0fb884d1d0.js +1 -0
- data/tools/tlmgrapher/CheckbuttonWidget-BnT9X7wE-2ca152eaebe602429b14.js +1 -0
- data/tools/tlmgrapher/ComboboxWidget-BykAAoxH-7f08e32696eababff371.js +1 -0
- data/tools/tlmgrapher/DateWidget-FtYD86xW-7b2d2023e2573bd7432e.js +1 -0
- data/tools/tlmgrapher/{DetailsDialog-EWjtBjle-c7397b128a1627131c19.js → DetailsDialog-DiVcC3Fg-ccc062aa24dc2f9d814e.js} +1 -1
- data/tools/tlmgrapher/DynamicWidget-m9EliUR2-119a012d7cfa81d85a7f.js +1 -0
- data/tools/tlmgrapher/FormatvalueWidget-OykwwCrw-ab98364806439d5d405d.js +1 -0
- data/tools/tlmgrapher/Graph-DmQUnB9T-e7bc77c7933155414e1d.js +1 -0
- data/tools/tlmgrapher/{GraphWidget-LqekkNDr-762dee3450f3a63fdce6.js → GraphWidget-BohHW-97-8b77acdc009d19461d60.js} +1 -1
- data/tools/tlmgrapher/HorizontalWidget-B7YdcFVN-b405e2b0bfa5dd8ba3ca.js +1 -0
- data/tools/tlmgrapher/HorizontalboxWidget-D-kCNwI3-fb6b9a4685342438db46.js +1 -0
- data/tools/tlmgrapher/HorizontallineWidget-BdlNB951-1670b4c568e8d0b755b5.js +1 -0
- data/tools/tlmgrapher/IframeWidget-0C7GYEVc-57eba8066290112d4a00.js +1 -0
- data/tools/tlmgrapher/{ImageLoader-CDLQopxJ-b1323ffc9d0ef4fa79d0.js → ImageLoader-y6fAZe9P-ca2582b959bb1ec0eb9f.js} +1 -1
- data/tools/tlmgrapher/ImageviewerWidget-B4HbUIfR-ee4ac56548b6287e6dcd.js +1 -0
- data/tools/tlmgrapher/LabelWidget-D1JhQAzR-984a048a2c9fc5d46bbf.js +1 -0
- data/tools/tlmgrapher/LabelledWidget-C2VGJ5OJ-30f0bcc85dbf7cca3208.js +1 -0
- data/tools/tlmgrapher/LabelprogressbarWidget-DN0cAeLK-a3cb23ccf0f6348442db.js +1 -0
- data/tools/tlmgrapher/LabelsparklineWidget--sxBENxs-a9a0a68bf6a008ac09da.js +1 -0
- data/tools/tlmgrapher/LabelvalueWidget-BWpP5KX6-b2457b9dd8ed9b36e504.js +1 -0
- data/tools/tlmgrapher/LabelvaluedescWidget-DtJwggDu-dec0322e5ba52e831c00.js +1 -0
- data/tools/tlmgrapher/LabelvaluelimitsbarWidget-Bj6UVK-5-f463918125339de3cb6a.js +1 -0
- data/tools/tlmgrapher/LabelvaluelimitscolumnWidget-BVcEEcUx-d5459349b14e574aba36.js +1 -0
- data/tools/tlmgrapher/LabelvaluerangebarWidget-DCJ42bmf-5a69950907592875d803.js +1 -0
- data/tools/tlmgrapher/{Layout-klOVw-YN-1bd46bc37b38d46695d1.js → Layout-D4YBjuWs-11ba6de9fe6f8ed30e9f.js} +1 -1
- data/tools/tlmgrapher/LedWidget-hN9JHxjr-67fbad25a38ecf265535.js +1 -0
- data/tools/tlmgrapher/LimitsbarWidget-D-wfz_St-b919b9c4e472f6927f59.js +1 -0
- data/tools/tlmgrapher/LimitscolorWidget-B0AVGdkz-7c63305145a760b8e976.js +1 -0
- data/tools/tlmgrapher/LimitscolumnWidget-Dt5ce4hN-c7872d59d7fd358a1e67.js +1 -0
- data/tools/tlmgrapher/LinegraphWidget-CTjtvtPd-ec90f25af28038471f36.js +1 -0
- data/tools/tlmgrapher/MatrixbycolumnsWidget-wLx4NvXV-e2855700b605e9a3af0a.js +1 -0
- data/tools/tlmgrapher/ProgressbarWidget-B7l0BBiX-b4fe59715b19aef08d47.js +1 -0
- data/tools/tlmgrapher/RadiobuttonWidget-B032jKIw-7a420b95edfcc72d2b53.js +1 -0
- data/tools/tlmgrapher/RadiogroupWidget-Busjqikr-57983a021f6604dd2833.js +1 -0
- data/tools/tlmgrapher/RangebarWidget-DbYrwEfC-8e06af9a8d6f56a0972a.js +1 -0
- data/tools/tlmgrapher/RollupWidget-rKxLXuCv-fba38a11eb2178936283.js +1 -0
- data/tools/tlmgrapher/ScrollwindowWidget-D4NKIzQO-d0abd9d85cb8d65f4fe6.js +1 -0
- data/tools/tlmgrapher/SignalWidget-h-oivReC-4cd64c8abcce31df102b.js +1 -0
- data/tools/tlmgrapher/SpacerWidget-BSy9eOlB-9eb20c8bcec73a7aeceb.js +1 -0
- data/tools/tlmgrapher/SparklineWidget-C9vdxar--33e5573559743fd777cd.js +1 -0
- data/tools/tlmgrapher/TabbookWidget-DTFTKURm-abc0729977778c618386.js +1 -0
- data/tools/tlmgrapher/TextboxWidget-BZyYHmBq-a9a8864dc588f44d5ecb.js +1 -0
- data/tools/tlmgrapher/TextfieldWidget-aVRdXRsT-213364d5732dcee8d036.js +1 -0
- data/tools/tlmgrapher/TimeWidget-BE2rtMxg-e21567e53d673465c836.js +1 -0
- data/tools/tlmgrapher/TitleWidget-BB29MZb2-e0d478ebf3b07842da29.js +1 -0
- data/tools/tlmgrapher/{TlmGrapher-164bfa075069a74a6411.js → TlmGrapher-c18bb4590202825cad3b.js} +7 -7
- data/tools/tlmgrapher/{VWidget-Dmqf_jKM-f03d30579a2fe310f9fe.js → VWidget-CGdM4sTw-a0bd40c69bd1f93ae37f.js} +1 -1
- data/tools/tlmgrapher/ValueWidget-h3905woQ-c74bf706028d58d02dea.js +1 -0
- data/tools/tlmgrapher/ValuelimitsbarWidget-LMXYjWtS-a5070a20f41347c32630.js +1 -0
- data/tools/tlmgrapher/ValuelimitscolumnWidget-gA3ZcfAT-b47ffa82bd34ac742c39.js +1 -0
- data/tools/tlmgrapher/ValuerangebarWidget-DwZ9KQ0O-2b0802318ccba039ac3f.js +1 -0
- data/tools/tlmgrapher/VerticalWidget-DziyURNu-d29b1d3d742daad693a6.js +1 -0
- data/tools/tlmgrapher/VerticalboxWidget-OcoZBsFU-44186f28fff1258a01ed.js +1 -0
- data/tools/tlmgrapher/{Widget-orNSvnOh-a98828cd439e9a94bd76.js → Widget-C7ms_xDE-d975507fdbf3ad763a90.js} +1 -1
- data/tools/tlmgrapher/{main-ca88b1aac639693ffb5d.js → main-9ef5c77cc7eed63a6d1a.js} +75 -75
- data/tools/tlmgrapher/main.js +1 -1
- metadata +68 -68
- data/tools/tlmgrapher/ArrayWidget-By62tXtU-ca93d4bccc5ff2fb9f80.js +0 -2
- data/tools/tlmgrapher/BarColumn-Dm3D1Lhp-ec78839c989cf756abdd.js +0 -1
- data/tools/tlmgrapher/BlockWidget-CrT45ode-7051c6f6ffdd54b49542.js +0 -2
- data/tools/tlmgrapher/ButtonWidget-CKyBBv6m-b9aa430850a622afc5b2.js +0 -2
- data/tools/tlmgrapher/CanvasWidget-PqkppHC7-563590939356be058598.js +0 -1
- data/tools/tlmgrapher/CanvasdotWidget-BUbJgM2d-130530b874c461824f75.js +0 -1
- data/tools/tlmgrapher/CanvasimageWidget-DPVBY7mi-5a1aef18c8a552f44568.js +0 -1
- data/tools/tlmgrapher/CanvasimagevalueWidget-GX37zzNc-82a9936193f61cc224c7.js +0 -1
- data/tools/tlmgrapher/CanvaslabelWidget-P2_Y6Edw-51fdf3cf9cfe4ec64cdc.js +0 -1
- data/tools/tlmgrapher/CanvaslabelvalueWidget-Cuas1i9P-ca4ea68c808ad5f465cc.js +0 -1
- data/tools/tlmgrapher/CanvaslineWidget-BYOYgPya-49f2888871b833201f26.js +0 -1
- data/tools/tlmgrapher/CanvaslinevalueWidget-3cVJMFo7-2aafedcff58572d0c467.js +0 -1
- data/tools/tlmgrapher/CheckbuttonWidget-B3wgSMuB-886bc06155954f77f48f.js +0 -1
- data/tools/tlmgrapher/ComboboxWidget-Dzr4Scvf-cccc7ef7dd704592630f.js +0 -1
- data/tools/tlmgrapher/DateWidget-BWh76Ibb-33bc7cbc62501f3f50a7.js +0 -1
- data/tools/tlmgrapher/DynamicWidget-m9EliUR2-85e5e4f769bd2333c46d.js +0 -1
- data/tools/tlmgrapher/FormatvalueWidget-Rk0_eeIm-3fad0aabce48d82227c4.js +0 -1
- data/tools/tlmgrapher/Graph-BFUsShJg-aaadbcb335c2c4356090.js +0 -1
- data/tools/tlmgrapher/HorizontalWidget-BcfJ24Zn-bb6e43939a1af6088c96.js +0 -1
- data/tools/tlmgrapher/HorizontalboxWidget-CQy1Hv9E-2182e053548ef44137b6.js +0 -1
- data/tools/tlmgrapher/HorizontallineWidget-BdlNB951-c4ecee3b93ece6577c80.js +0 -1
- data/tools/tlmgrapher/IframeWidget-BBaDrRLo-27f223eec109d8f7db52.js +0 -1
- data/tools/tlmgrapher/ImageviewerWidget-BgO3Pq6I-6b1ae952f8b3ade01054.js +0 -1
- data/tools/tlmgrapher/LabelWidget-B_C6lKOE-1baf36ea950e16dc4a9f.js +0 -1
- data/tools/tlmgrapher/LabelledWidget-B_UGivhr-5c4bb8b0ef4831e38805.js +0 -1
- data/tools/tlmgrapher/LabelprogressbarWidget-BJWCmsYC-64c59786eda8df1167de.js +0 -1
- data/tools/tlmgrapher/LabelsparklineWidget-DILCIh3q-bd46b2a05594b9343fd1.js +0 -1
- data/tools/tlmgrapher/LabelvalueWidget-CCZd1NXE-80599e273c69443d1539.js +0 -1
- data/tools/tlmgrapher/LabelvaluedescWidget-Bsllq8W6-ea5d1fa3961ccb59361f.js +0 -1
- data/tools/tlmgrapher/LabelvaluelimitsbarWidget-BV-cfaD--9be2ea60f89605b35c22.js +0 -1
- data/tools/tlmgrapher/LabelvaluelimitscolumnWidget-DwA0eRBw-b446ecf51b825df1dc6d.js +0 -1
- data/tools/tlmgrapher/LabelvaluerangebarWidget-3GDJz3dj-c03c2e216127c2c85dc2.js +0 -1
- data/tools/tlmgrapher/LedWidget-BAt02s0J-953acf1731d56870bfcb.js +0 -1
- data/tools/tlmgrapher/LimitsbarWidget-JJiyzZjb-3cecd3f567a7e8ba26e9.js +0 -1
- data/tools/tlmgrapher/LimitscolorWidget-CYzXKbYd-cb2cb276d7ca552df655.js +0 -1
- data/tools/tlmgrapher/LimitscolumnWidget-Cd76tBo7-b74cfe4b46851a84cb94.js +0 -1
- data/tools/tlmgrapher/LinegraphWidget-DWRtO6Ej-6126a63a8bbe3ef954e8.js +0 -1
- data/tools/tlmgrapher/MatrixbycolumnsWidget-cwsyjNV2-8ed92c41bdf02bf404db.js +0 -1
- data/tools/tlmgrapher/ProgressbarWidget-CYDziFej-22eea35cade22945adc9.js +0 -1
- data/tools/tlmgrapher/RadiobuttonWidget-U6jcQZoD-f06732d4ac17d38b0884.js +0 -1
- data/tools/tlmgrapher/RadiogroupWidget-HTPJnsB0-22d7e1cae95a99f27481.js +0 -1
- data/tools/tlmgrapher/RangebarWidget-DW0FJK6y-dc1f38504dc9ff7de12c.js +0 -1
- data/tools/tlmgrapher/RollupWidget-B2qrx55f-e96463076f3725a606d8.js +0 -1
- data/tools/tlmgrapher/ScrollwindowWidget-CwIDxgO6-38ad642f98fa616f87b4.js +0 -1
- data/tools/tlmgrapher/SignalWidget-Bosa3AbW-30a7cca8aa3656212d15.js +0 -1
- data/tools/tlmgrapher/SpacerWidget-DYAlt5mt-2ec04c0e504f3d2603a0.js +0 -1
- data/tools/tlmgrapher/SparklineWidget-CDrVXOFV-5ba8f9e7b8b17b27f865.js +0 -1
- data/tools/tlmgrapher/TabbookWidget-DDdlzCkv-e233de21b68c60ccea10.js +0 -1
- data/tools/tlmgrapher/TextboxWidget-5euFelEq-8e66c4d7929723450b6a.js +0 -1
- data/tools/tlmgrapher/TextfieldWidget-BFripYeh-3d733576c4424a4320f1.js +0 -1
- data/tools/tlmgrapher/TimeWidget-BBSbsUYJ-8183ad8861caca8ad5da.js +0 -1
- data/tools/tlmgrapher/TitleWidget-p8cjo-Bs-b00740418070f62c6cf9.js +0 -1
- data/tools/tlmgrapher/ValueWidget-CZh7JWwT-5598101fe6c7553e1a1a.js +0 -1
- data/tools/tlmgrapher/ValuelimitsbarWidget-DU7ybswC-43c197ddc86e3d5da08f.js +0 -1
- data/tools/tlmgrapher/ValuelimitscolumnWidget-DMw-h5jM-260964873405de3ed849.js +0 -1
- data/tools/tlmgrapher/ValuerangebarWidget-DPpofDpA-a6c1f6b8a6d03e9d57ba.js +0 -1
- data/tools/tlmgrapher/VerticalWidget-Ch7VAEmz-63ba862975d6eab6a75f.js +0 -1
- data/tools/tlmgrapher/VerticalboxWidget-DYx-TFT4-1ed12b1a837f190793ab.js +0 -1
@@ -1 +1 @@
|
|
1
|
-
System.register(["./main-
|
1
|
+
System.register(["./main-9ef5c77cc7eed63a6d1a.js","./Widget-C7ms_xDE-d975507fdbf3ad763a90.js"],function(S,T){"use strict";var v,w;return{setters:[h=>{v=h.P},h=>{w=h.o}],execute:function(){var h={},b;function x(){return b||(b=1,function(t){(function(){var s={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function c(n){return E(V(n),arguments)}function I(n,u){return c.apply(null,[n].concat(u||[]))}function E(n,u){var i=1,p=n.length,e,o="",l,a,r,m,g,y,_,d;for(l=0;l<p;l++)if(typeof n[l]=="string")o+=n[l];else if(typeof n[l]=="object"){if(r=n[l],r.keys)for(e=u[i],a=0;a<r.keys.length;a++){if(e==null)throw new Error(c('[sprintf] Cannot access property "%s" of undefined value "%s"',r.keys[a],r.keys[a-1]));e=e[r.keys[a]]}else r.param_no?e=u[r.param_no]:e=u[i++];if(s.not_type.test(r.type)&&s.not_primitive.test(r.type)&&e instanceof Function&&(e=e()),s.numeric_arg.test(r.type)&&typeof e!="number"&&isNaN(e))throw new TypeError(c("[sprintf] expecting number but found %T",e));switch(s.number.test(r.type)&&(_=e>=0),r.type){case"b":e=parseInt(e,10).toString(2);break;case"c":e=String.fromCharCode(parseInt(e,10));break;case"d":case"i":e=parseInt(e,10);break;case"j":e=JSON.stringify(e,null,r.width?parseInt(r.width):0);break;case"e":e=r.precision?parseFloat(e).toExponential(r.precision):parseFloat(e).toExponential();break;case"f":e=r.precision?parseFloat(e).toFixed(r.precision):parseFloat(e);break;case"g":e=r.precision?String(Number(e.toPrecision(r.precision))):parseFloat(e);break;case"o":e=(parseInt(e,10)>>>0).toString(8);break;case"s":e=String(e),e=r.precision?e.substring(0,r.precision):e;break;case"t":e=String(!!e),e=r.precision?e.substring(0,r.precision):e;break;case"T":e=Object.prototype.toString.call(e).slice(8,-1).toLowerCase(),e=r.precision?e.substring(0,r.precision):e;break;case"u":e=parseInt(e,10)>>>0;break;case"v":e=e.valueOf(),e=r.precision?e.substring(0,r.precision):e;break;case"x":e=(parseInt(e,10)>>>0).toString(16);break;case"X":e=(parseInt(e,10)>>>0).toString(16).toUpperCase();break}s.json.test(r.type)?o+=e:(s.number.test(r.type)&&(!_||r.sign)?(d=_?"+":"-",e=e.toString().replace(s.sign,"")):d="",g=r.pad_char?r.pad_char==="0"?"0":r.pad_char.charAt(1):" ",y=r.width-(d+e).length,m=r.width&&y>0?g.repeat(y):"",o+=r.align?d+e+m:g==="0"?d+m+e:m+d+e)}return o}var f=Object.create(null);function V(n){if(f[n])return f[n];for(var u=n,i,p=[],e=0;u;){if((i=s.text.exec(u))!==null)p.push(i[0]);else if((i=s.modulo.exec(u))!==null)p.push("%");else if((i=s.placeholder.exec(u))!==null){if(i[2]){e|=1;var o=[],l=i[2],a=[];if((a=s.key.exec(l))!==null)for(o.push(a[1]);(l=l.substring(a[0].length))!=="";)if((a=s.key_access.exec(l))!==null)o.push(a[1]);else if((a=s.index_access.exec(l))!==null)o.push(a[1]);else throw new SyntaxError("[sprintf] failed to parse named argument key");else throw new SyntaxError("[sprintf] failed to parse named argument key");i[2]=o}else e|=2;if(e===3)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");p.push({placeholder:i[0],param_no:i[1],keys:i[2],sign:i[3],pad_char:i[4],align:i[5],width:i[6],precision:i[7],type:i[8]})}else throw new SyntaxError("[sprintf] unexpected placeholder");u=u.substring(i[0].length)}return f[n]=p}t.sprintf=c,t.vsprintf=I,typeof window<"u"&&(window.sprintf=c,window.vsprintf=I)})()}(h)),h}x();const k={methods:{formatValueBase(t,s){return this.isJsonString(t)?this.formatJsonString(t):Array.isArray(t)?this.formatArray(t):this.isObject(t)?"":s&&t?sprintf(s,t):String(t)},isJsonString(t){return t&&t.json_class==="String"&&t.raw!==void 0},formatJsonString(t){let s=Array.from(t.raw.slice(0,32),c=>("0"+(c&255).toString(16)).slice(-2)).join(" ").toUpperCase();return t.raw.length>32&&(s+="..."),s},formatArray(t){return"["+t.map(s=>typeof s=="string"?`"${s}"`:s).join(", ")+"]"},isObject(t){return Object.prototype.toString.call(t).slice(8,-1)==="Object"}}},L=S("L",{mixins:[w,v,k],props:{value:{default:null},limitsState:{type:String,default:null},counter:{default:null},formatString:null,timeZone:{type:String,default:"local"}},emits:["addItem","deleteItem","open"],data(){return{appliedTimeZone:"local",curValue:null,prevValue:null,grayLevel:80,grayRate:5,valueId:null,arrayIndex:null,viewDetails:!1,contextMenuShown:!1,x:0,y:0,contextMenuOptions:[{title:"Details",action:()=>{this.contextMenuShown=!1,this.viewDetails=!0}},{title:"Graph",action:()=>{window.open("/tools/tlmgrapher/"+encodeURIComponent(this.parameters[0])+"/"+encodeURIComponent(this.parameters[1])+"/"+encodeURIComponent(this.parameters[2]),"_blank")}}]}},watch:{_counter:function(t,s){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,this.curValue===null&&(this.screenValues?this.screenValues[this.valueId]&&(this.arrayIndex!==null&&this.screenValues[this.valueId][0]?this.curValue=this.screenValues[this.valueId][0][this.arrayIndex]:this.curValue=this.screenValues[this.valueId][0]):this.curValue=null),this.curValue=this.formatValue(this.curValue),this.curValue},_limitsState:function(){let t=this.limitsState;return t===null&&(this.screenValues?this.screenValues[this.valueId]&&(t=this.screenValues[this.valueId][1]):t=null),t},_counter:function(){let t=this.counter;return t===null&&(this.screenValues?this.screenValues[this.valueId]&&(t=this.screenValues[this.valueId][2]):t=null),t},valueClass:function(){return"value shrink pa-1 openc3-"+this.limitsColor},astroStatus(){switch(this.limitsColor){case"green":return"normal";case"yellow":return"caution";case"red":return"critical";case"blue":return"standby";default:return null}},limitsColor(){let t=this._limitsState;if(t!=null)switch(t){case"GREEN":case"GREEN_HIGH":case"GREEN_LOW":return"green";case"YELLOW":case"YELLOW_HIGH":case"YELLOW_LOW":return"yellow";case"RED":case"RED_HIGH":case"RED_LOW":return"red";case"BLUE":return"blue";case"STALE":return"purple";default:return"white"}return""},limitsLetter(){let t=this._limitsState;if(t!=null){let s=t.charAt(0);return t.endsWith("_LOW")&&(s=s.toLowerCase()),s}return""}},created(){if(this.value===null||this.limitsState===null){if(this.parameters[2].includes("[["))this.parameters[2]=this.parameters[2].replace("[[","[").replace("]]","]");else if(this.parameters[2].includes("[")){let t=this.parameters[2].match(/\[(\d+)\]/);this.arrayIndex=parseInt(t[1]),this.parameters[2]=this.parameters[2].replace(t[0],"")}this.valueId=`${this.parameters[0]}__${this.parameters[1]}__${this.parameters[2]}__${this.getType()}`,this.$emit("addItem",this.valueId),this.screenTimeZone?this.appliedTimeZone=this.screenTimeZone:this.appliedTimeZone=this.timeZone}},destroyed(){(this.value===null||this.limitsState===null)&&this.$emit("deleteItem",this.valueId)},methods:{getType(){let t="WITH_UNITS";return this.parameters[3]&&(t=this.parameters[3]),t},formatValue(t){return t&&this.valueId&&(this.valueId.includes("PACKET_TIMEFORMATTED")||this.valueId.includes("RECEIVED_TIMEFORMATTED"))?(t=t.replaceAll("/","-"),this.formatUtcToLocal(new Date(t),this.appliedTimeZone)):this.formatValueBase(t,this.formatString)},showContextMenu(t){t.preventDefault(),this.contextMenuShown=!1,this.x=t.clientX,this.y=t.clientY,this.$nextTick(()=>{this.contextMenuShown=!0})}}})}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./main-9ef5c77cc7eed63a6d1a.js","vue","./DetailsDialog-DiVcC3Fg-ccc062aa24dc2f9d814e.js","single-spa","./VWidget-CGdM4sTw-a0bd40c69bd1f93ae37f.js","vue-router","vuex","vuetify","./Widget-C7ms_xDE-d975507fdbf3ad763a90.js"],function(k,U){"use strict";var c,a,r,o,d,n,s,m,p,v,u,g,f,h,x,y,V,C;return{setters:[e=>{c=e.s},e=>{a=e.resolveComponent,r=e.openBlock,o=e.createElementBlock,d=e.normalizeStyle,n=e.createVNode,s=e.withCtx,m=e.mergeProps,p=e.createSlots,v=e.createElementVNode,u=e.toDisplayString,g=e.Fragment,f=e.renderList,h=e.createBlock,x=e.withModifiers,y=e.createTextVNode},e=>{V=e.P},null,e=>{C=e.L},null,null,null,null],execute:function(){const S={components:{DetailsDialog:V},mixins:[C],data:function(){return{width:16}},computed:{fullName(){return this.parameters[0]+" "+this.parameters[1]+" "+this.parameters[2]},aging(){return{"--aging":this.grayLevel}}},created(){this.verifyNumParams("VALUE",3,5,"VALUE <TARGET> <PACKET> <ITEM> <TYPE> <WIDTH>"),this.setWidth(parseInt(this.parameters[4])+4,"ch",this.width)}};function _(t,i,j,I,z,w){const D=a("rux-status"),E=a("v-text-field"),N=a("v-tooltip"),T=a("v-list-item-title"),L=a("v-list-item"),M=a("v-list"),B=a("v-menu"),P=a("details-dialog");return r(),o("div",{class:"value-widget-container",style:d([t.computedStyle,w.aging])},[n(N,{location:"top"},{activator:s(({props:l})=>[n(E,m({variant:"solo",density:"compact",flat:"",readonly:"","hide-details":"","model-value":t._value,class:t.valueClass,"data-test":"value",onContextmenu:t.showContextMenu},l),p({_:2},[t.astroStatus?{name:"prepend-inner",fn:s(()=>[n(D,{status:t.astroStatus},null,8,["status"])]),key:"0"}:void 0]),1040,["model-value","class","onContextmenu"])]),default:s(()=>[v("span",null,u(w.fullName),1)]),_:1}),n(B,{modelValue:t.contextMenuShown,"onUpdate:modelValue":i[0]||(i[0]=l=>t.contextMenuShown=l),target:[t.x,t.y],style:{"z-index":"3000"}},{default:s(()=>[n(M,null,{default:s(()=>[(r(!0),o(g,null,f(t.contextMenuOptions,(l,A)=>(r(),h(L,{key:A,onClick:x(l.action,["stop"])},{default:s(()=>[n(T,null,{default:s(()=>[y(u(l.title),1)]),_:2},1024)]),_:2},1032,["onClick"]))),128))]),_:1})]),_:1},8,["modelValue","target"]),n(P,{"target-name":t.parameters[0],"packet-name":t.parameters[1],"item-name":t.parameters[2],modelValue:t.viewDetails,"onUpdate:modelValue":i[1]||(i[1]=l=>t.viewDetails=l)},null,8,["target-name","packet-name","item-name","modelValue"])],4)}const W=k("default",c(S,[["render",_],["__scopeId","data-v-c21e4dde"]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./ValueWidget-h3905woQ-c74bf706028d58d02dea.js","./LimitsbarWidget-D-wfz_St-b919b9c4e472f6927f59.js","./Widget-C7ms_xDE-d975507fdbf3ad763a90.js","vue","./main-9ef5c77cc7eed63a6d1a.js","./DetailsDialog-DiVcC3Fg-ccc062aa24dc2f9d814e.js","single-spa","./VWidget-CGdM4sTw-a0bd40c69bd1f93ae37f.js","vue-router","vuex","vuetify","./BarColumn-B6tCmNJm-97c7f7251227a5f93d49.js"],function(g,f){"use strict";var l,i,a,s,o,u,c,n,r,m;return{setters:[e=>{l=e.default},e=>{i=e.default},e=>{a=e.o},e=>{s=e.resolveComponent,o=e.openBlock,u=e.createElementBlock,c=e.normalizeStyle,n=e.createVNode,r=e.mergeProps},e=>{m=e.s},null,null,null,null,null,null,null],execute:function(){const e={mixins:[a],components:{ValueWidget:l,LimitsbarWidget:i}};function d(t,x,V,b,j,C){const p=s("value-widget"),v=s("limitsbar-widget");return o(),u("div",{ref:"container",class:"d-flex flex-row",style:c(t.computedStyle)},[n(p,r(t.$attrs,{parameters:t.parameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone,"widget-index":0}),null,16,["parameters","settings","screen-values","screen-time-zone"]),n(v,r(t.$attrs,{parameters:t.parameters.slice(0,3),settings:[...t.appliedSettings],"screen-values":t.screenValues,"widget-index":1,line:t.line,lineNumber:t.lineNumber}),null,16,["parameters","settings","screen-values","line","lineNumber"])],4)}const w=g("default",m(e,[["render",d]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./ValueWidget-h3905woQ-c74bf706028d58d02dea.js","./LimitscolumnWidget-Dt5ce4hN-c7872d59d7fd358a1e67.js","./Widget-C7ms_xDE-d975507fdbf3ad763a90.js","vue","./main-9ef5c77cc7eed63a6d1a.js","./DetailsDialog-DiVcC3Fg-ccc062aa24dc2f9d814e.js","single-spa","./VWidget-CGdM4sTw-a0bd40c69bd1f93ae37f.js","vue-router","vuex","vuetify","./BarColumn-B6tCmNJm-97c7f7251227a5f93d49.js"],function(g,f){"use strict";var r,i,a,n,u,o,c,s,l,m;return{setters:[e=>{r=e.default},e=>{i=e.default},e=>{a=e.o},e=>{n=e.resolveComponent,u=e.openBlock,o=e.createElementBlock,c=e.normalizeStyle,s=e.createVNode,l=e.mergeProps},e=>{m=e.s},null,null,null,null,null,null,null],execute:function(){const e={mixins:[a],components:{ValueWidget:r,LimitscolumnWidget:i}};function d(t,w,j,C,N,x){const p=n("limitscolumn-widget"),v=n("value-widget");return u(),o("div",{ref:"container",style:c(t.computedStyle)},[s(p,l(t.$attrs,{parameters:t.parameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"widget-index":1,line:t.line,lineNumber:t.lineNumber}),null,16,["parameters","settings","screen-values","line","lineNumber"]),s(v,l(t.$attrs,{parameters:t.parameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone,"widget-index":0}),null,16,["parameters","settings","screen-values","screen-time-zone"])],4)}const V=g("default",m(e,[["render",d]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./ValueWidget-h3905woQ-c74bf706028d58d02dea.js","./RangebarWidget-DbYrwEfC-8e06af9a8d6f56a0972a.js","./Widget-C7ms_xDE-d975507fdbf3ad763a90.js","vue","./main-9ef5c77cc7eed63a6d1a.js","./DetailsDialog-DiVcC3Fg-ccc062aa24dc2f9d814e.js","single-spa","./VWidget-CGdM4sTw-a0bd40c69bd1f93ae37f.js","vue-router","vuex","vuetify"],function(g,f){"use strict";var n,i,l,r,m,u,o,s,a,c;return{setters:[e=>{n=e.default},e=>{i=e.default},e=>{l=e.o},e=>{r=e.resolveComponent,m=e.openBlock,u=e.createElementBlock,o=e.normalizeStyle,s=e.createVNode,a=e.mergeProps},e=>{c=e.s},null,null,null,null,null,null],execute:function(){const e={mixins:[l],components:{ValueWidget:n,RangebarWidget:i},computed:{valueParameters(){return[this.parameters[0],this.parameters[1],this.parameters[2],this.parameters[5],this.parameters[6]]},rangeBarParameters(){return[this.parameters[0],this.parameters[1],this.parameters[2],this.parameters[3],this.parameters[4],this.parameters[5],this.parameters[7],this.parameters[8]]}}};function d(t,x,V,S,j,p){const v=r("value-widget"),h=r("rangebar-widget");return m(),u("div",{ref:"container",class:"d-flex flex-row",style:o(t.computedStyle)},[s(v,a(t.$attrs,{parameters:p.valueParameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone,"widget-index":0}),null,16,["parameters","settings","screen-values","screen-time-zone"]),s(h,a(t.$attrs,{parameters:p.rangeBarParameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"widget-index":1}),null,16,["parameters","settings","screen-values"])],4)}const w=g("default",c(e,[["render",d]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./Layout-D4YBjuWs-11ba6de9fe6f8ed30e9f.js","vue","./main-9ef5c77cc7eed63a6d1a.js","./Widget-C7ms_xDE-d975507fdbf3ad763a90.js","vue-router","single-spa","vuex","vuetify"],function(y,k){"use strict";var l,r,i,c,o,u,m,g,p,f;return{setters:[e=>{l=e.r},e=>{r=e.openBlock,i=e.createElementBlock,c=e.normalizeStyle,o=e.Fragment,u=e.renderList,m=e.createBlock,g=e.resolveDynamicComponent,p=e.mergeProps},e=>{f=e.s},null,null,null,null,null],execute:function(){const e={mixins:[l],created:function(){if(this.parameters[0]){let n=this.parameters[0];this.widgets.forEach(a=>{a.settings.find(s=>s[0]==="MARGIN"||s[0]==="RAW"&&s[1].toUpperCase().includes("MARGIN"))===void 0&&a.settings.push(["MARGIN",n])})}}};function d(n,a,s,h,w,R){return r(),i("div",{ref:"container",style:c(n.computedStyle)},[(r(!0),i(o,null,u(n.widgets,(t,v)=>(r(),m(g(t.type),p({ref_for:!0},n.listeners,{key:v,target:t.target,parameters:t.parameters,settings:t.settings,"screen-values":n.screenValues,"screen-time-zone":n.screenTimeZone,widgets:t.widgets,name:t.name,line:t.line,"line-number":t.lineNumber}),null,16,["target","parameters","settings","screen-values","screen-time-zone","widgets","name","line","line-number"]))),128))],4)}const B=y("default",f(e,[["render",d]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./VerticalWidget-DziyURNu-d29b1d3d742daad693a6.js","./Layout-D4YBjuWs-11ba6de9fe6f8ed30e9f.js","vue","./main-9ef5c77cc7eed63a6d1a.js","./Widget-C7ms_xDE-d975507fdbf3ad763a90.js","vue-router","single-spa","vuex","vuetify"],function(v,f){"use strict";var r,i,s,l,a,n,c,o,u,g,p,m;return{setters:[e=>{r=e.default},e=>{i=e.r},e=>{s=e.resolveComponent,l=e.openBlock,a=e.createElementBlock,n=e.createVNode,c=e.normalizeStyle,o=e.withCtx,u=e.createTextVNode,g=e.toDisplayString,p=e.mergeProps},e=>{m=e.s},null,null,null,null,null],execute:function(){const e={mixins:[i],components:{VerticalWidget:r}};function d(t,w,S,_,j,k){const y=s("v-banner"),x=s("vertical-widget");return l(),a("div",null,[n(y,{class:"boxbanner",style:c(t.computedStyle),"single-line":""},{default:o(()=>[u(g(t.parameters[0]),1)]),_:1},8,["style"]),n(x,p(t.listeners,{parameters:t.parameters.slice(1),settings:t.settings,widgets:t.widgets,"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone}),null,16,["parameters","settings","widgets","screen-values","screen-time-zone"])])}const V=v("default",m(e,[["render",d],["__scopeId","data-v-832aa5cd"]]))}}});
|
@@ -1 +1 @@
|
|
1
|
-
System.register(["./main-
|
1
|
+
System.register(["./main-9ef5c77cc7eed63a6d1a.js"],function(d,o){"use strict";var p,r;return{setters:[n=>{p=n.B,r=n.d}],execute:function(){const n=d("o",{mixins:[p],props:{widgetIndex:{type:Number,default:null},parameters:{type:Array,default:()=>[]},settings:{type:Array,default:()=>[]},screenValues:{type:Object,default:()=>{}},screenTimeZone:{type:String,default:"local"},namedWidgets:{type:Object,default:{}},line:{type:String,default:""},lineNumber:{type:Number,default:0}},data(){return{appliedSettings:[],appliedStyle:{},widgetName:null,screenId:"NO_SCREEN"}},computed:{computedStyle:function(){return this.appliedSettings.forEach(t=>{this.applyStyleSetting(t)}),this.appliedStyle.width===void 0&&this.appliedStyle.height===void 0&&(this.appliedStyle.flex="0 10 100%"),this.appliedStyle},screen:function(){const t=this;return{getNamedWidget:function(e){return t.$store.getters.namedWidget(t.toQualifiedWidgetName(e))},open:function(e,i){t.$emit("open",e,i)},close:function(e,i){t.$emit("close",e,i)},closeAll:function(){t.$emit("closeAll")}}},listeners:function(){return Object.entries(this.$attrs).reduce((t,e)=>e[0].startsWith("on")?{...t,[e[0]]:e[1]}:t,{})}},watch:{widgetName:function(t,e){this.$store.commit("clearNamedWidget",this.toQualifiedWidgetName(e)),this.$store.commit("setNamedWidget",{[this.toQualifiedWidgetName(t)]:this})}},created(){var t,e;this.screenId=(t=this.settings.find(i=>i[0]==="__SCREEN_ID__"))==null?void 0:t.at(1),this.widgetName=(e=this.settings.find(i=>i[0]==="NAMED_WIDGET"))==null?void 0:e.at(1),this.appliedSettings=this.settings.map(i=>{const s=parseInt(i[0]);if(isNaN(s)||this.widgetIndex===null)return i;if(this.widgetIndex===s)return i.slice(1)}).filter(i=>i!==void 0)},beforeUnmount(){this.widgetName&&this.$store.commit("clearNamedWidget",this.toQualifiedWidgetName(this.widgetName))},methods:{applyStyleSetting(t){switch(t[0]){case"TEXTALIGN":this.appliedStyle["text-align"]=t[1].toLowerCase()+" !important",this.appliedStyle["--text-align"]=t[1].toLowerCase();break;case"PADDING":isNaN(Number(t[1]))||(t[1]+="px"),this.appliedStyle.padding=t[1]+" !important";break;case"MARGIN":isNaN(Number(t[1]))||(t[1]+="px"),this.appliedStyle.margin=t[1]+" !important";break;case"BACKCOLOR":this.appliedStyle["background-color"]=this.getColor(t.slice(1))+" !important";break;case"TEXTCOLOR":this.appliedStyle.color=this.getColor(t.slice(1))+" !important";break;case"BORDERCOLOR":this.appliedStyle["border-width"]="1px!important",this.appliedStyle["border-style"]="solid!important",this.appliedStyle["border-color"]=this.getColor(t.slice(1))+" !important";break;case"WIDTH":isNaN(Number(t[1]))||(t[1]+="px"),this.appliedStyle.width=t[1]+" !important";break;case"HEIGHT":isNaN(Number(t[1]))||(t[1]+="px"),this.appliedStyle.height=t[1]+" !important";break;case"RAW":this.appliedStyle[t[1].toLowerCase()]=t[2]+" !important";break}},verifyNumParams(t,e,i,s=""){let a={line:this.line,lineNumber:this.lineNumber,keyword:t,parameters:this.parameters};for(let l=1;l<=e;l++)if(this.parameters[l-1]===void 0)throw new r(a,`Not enough parameters for ${t}.`,s,"https://docs.openc3.com/docs/configuration");if(i!==null&&this.parameters.length>i)throw new r(a,`Too many parameters for ${t}.`,s,"https://docs.openc3.com/docs/configuration")},setWidth(t,e="px",i="120"){let s=this.appliedSettings.find(a=>a[0]==="WIDTH");return s?s.WIDTH:t?(this.appliedSettings.push(["WIDTH",`${t}${e}`]),parseInt(t)):(this.appliedSettings.push(["WIDTH",`${i}${e}`]),parseInt(i))},setHeight(t,e="px",i="20"){let s=null;return s=this.appliedSettings.find(a=>a[0]==="HEIGHT"),s?s.HEIGHT:t?(this.appliedSettings.push(["HEIGHT",`${t}${e}`]),parseInt(t)):(this.appliedSettings.push(["HEIGHT",`${i}${e}`]),parseInt(i))},getColor(t){switch(t.length){case 1:return t[0].toLowerCase();case 3:return`rgb(${t[0]},${t[1]},${t[2]})`}},toQualifiedWidgetName(t){return`${this.screenId}:${t}`}}})}}});
|