openc3-cosmos-tool-tlmgrapher 6.0.1 → 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-BTxChSds-7d068b5c2b720116fd92.js → ArrayWidget-DBpEoQ1y-68f8b1a99bf6e7511047.js} +2 -2
- data/tools/tlmgrapher/{BarColumn-Cdu3OoMa-27adc7fa05dc3dc52da3.js → BarColumn-B6tCmNJm-97c7f7251227a5f93d49.js} +1 -1
- data/tools/tlmgrapher/BlockWidget-Bmi0UcUW-3790965d51249d51c04a.js +2 -0
- data/tools/tlmgrapher/{ButtonWidget-nwDlOBJT-d231afabdc4d10262e84.js → ButtonWidget-CHrHS_Bw-44613b1d96708d9b29b0.js} +2 -2
- data/tools/tlmgrapher/CanvasWidget-BqdyLbQz-8523369ab18561d1c7af.js +1 -0
- data/tools/tlmgrapher/CanvasdotWidget-YYwca104-f9118dabb0fd599e9d12.js +1 -0
- data/tools/tlmgrapher/{CanvasimageWidget-BIw7Wbf2-66bde813f1d33136f694.js → CanvasimageWidget-BrYlPQCf-47a0d44ddee2b6dca64e.js} +1 -1
- data/tools/tlmgrapher/CanvasimagevalueWidget-HnEOXmZy-ac1b023ba3c406b34b68.js +1 -0
- data/tools/tlmgrapher/{CanvaslabelWidget-DWmb356h-392821079c1c83789270.js → CanvaslabelWidget-BfMHNei--a3e6e2c9566e982b2d42.js} +1 -1
- data/tools/tlmgrapher/{CanvaslabelvalueWidget-CI3yYwFs-46d4c5835d5571b24386.js → CanvaslabelvalueWidget-0zRDJav3-d6ac0e298ab8137aa38c.js} +1 -1
- 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-BzsbOv54-4b1cb1044c96e37e643a.js → ComboboxWidget-BykAAoxH-7f08e32696eababff371.js} +1 -1
- data/tools/tlmgrapher/{DateWidget-B5R_9rA8-c132fe0e879e51d570f4.js → DateWidget-FtYD86xW-7b2d2023e2573bd7432e.js} +1 -1
- data/tools/tlmgrapher/{DetailsDialog-DLRMqetn-f1ab96e56e03786c7824.js → DetailsDialog-DiVcC3Fg-ccc062aa24dc2f9d814e.js} +1 -1
- data/tools/tlmgrapher/{DynamicWidget-m9EliUR2-0c3cb3409aa1f1a91edc.js → DynamicWidget-m9EliUR2-119a012d7cfa81d85a7f.js} +1 -1
- data/tools/tlmgrapher/FormatvalueWidget-OykwwCrw-ab98364806439d5d405d.js +1 -0
- data/tools/tlmgrapher/{Graph-CIt1FxGd-83ed27305df47a0093dd.js → Graph-DmQUnB9T-e7bc77c7933155414e1d.js} +1 -1
- data/tools/tlmgrapher/{GraphWidget-amwxyH1r-e2da3bcefaa6cbf5e8b4.js → GraphWidget-BohHW-97-8b77acdc009d19461d60.js} +1 -1
- data/tools/tlmgrapher/{HorizontalWidget-CirtfuL8-aedc3b986a354a86e14b.js → HorizontalWidget-B7YdcFVN-b405e2b0bfa5dd8ba3ca.js} +1 -1
- data/tools/tlmgrapher/HorizontalboxWidget-D-kCNwI3-fb6b9a4685342438db46.js +1 -0
- data/tools/tlmgrapher/{HorizontallineWidget-BdlNB951-61273f74fb7c77566e8f.js → HorizontallineWidget-BdlNB951-1670b4c568e8d0b755b5.js} +1 -1
- data/tools/tlmgrapher/IframeWidget-0C7GYEVc-57eba8066290112d4a00.js +1 -0
- data/tools/tlmgrapher/{ImageLoader-CpcR6tPi-4687105c3f6c01128bb7.js → ImageLoader-y6fAZe9P-ca2582b959bb1ec0eb9f.js} +1 -1
- data/tools/tlmgrapher/{ImageviewerWidget-DIkmb_C9-21036380d6526df5be98.js → ImageviewerWidget-B4HbUIfR-ee4ac56548b6287e6dcd.js} +1 -1
- data/tools/tlmgrapher/{LabelWidget-BDsypYho-bdf8c2852e69158f808f.js → LabelWidget-D1JhQAzR-984a048a2c9fc5d46bbf.js} +1 -1
- data/tools/tlmgrapher/{LabelledWidget-DjturGl5-84cb9eb06cd06eb76c25.js → LabelledWidget-C2VGJ5OJ-30f0bcc85dbf7cca3208.js} +1 -1
- data/tools/tlmgrapher/LabelprogressbarWidget-DN0cAeLK-a3cb23ccf0f6348442db.js +1 -0
- data/tools/tlmgrapher/{LabelsparklineWidget-BlJoICxu-e0f20c7da77421fe56fd.js → LabelsparklineWidget--sxBENxs-a9a0a68bf6a008ac09da.js} +1 -1
- data/tools/tlmgrapher/LabelvalueWidget-BWpP5KX6-b2457b9dd8ed9b36e504.js +1 -0
- data/tools/tlmgrapher/{LabelvaluedescWidget-CsUP7J4U-550a16d8ff3e3652ccbf.js → LabelvaluedescWidget-DtJwggDu-dec0322e5ba52e831c00.js} +1 -1
- data/tools/tlmgrapher/{LabelvaluelimitsbarWidget-Blj1QXV8-429f6124c64612049ba3.js → LabelvaluelimitsbarWidget-Bj6UVK-5-f463918125339de3cb6a.js} +1 -1
- data/tools/tlmgrapher/LabelvaluelimitscolumnWidget-BVcEEcUx-d5459349b14e574aba36.js +1 -0
- data/tools/tlmgrapher/{LabelvaluerangebarWidget-DpcXhlfF-e6457fffbed0da0d4824.js → LabelvaluerangebarWidget-DCJ42bmf-5a69950907592875d803.js} +1 -1
- data/tools/tlmgrapher/{Layout-C1HoM4Kl-f9953acdbcebcea97b68.js → Layout-D4YBjuWs-11ba6de9fe6f8ed30e9f.js} +1 -1
- data/tools/tlmgrapher/{LedWidget-B_K2e5tq-e52a0e1a0a19fa060367.js → LedWidget-hN9JHxjr-67fbad25a38ecf265535.js} +1 -1
- data/tools/tlmgrapher/{LimitsbarWidget-DXbqsi4J-3431a0645c2838a3e34c.js → LimitsbarWidget-D-wfz_St-b919b9c4e472f6927f59.js} +1 -1
- data/tools/tlmgrapher/{LimitscolorWidget-Ckmuw0YX-86a835239e91e6acce34.js → LimitscolorWidget-B0AVGdkz-7c63305145a760b8e976.js} +1 -1
- data/tools/tlmgrapher/{LimitscolumnWidget-BfY4su5U-2ca6bf18660d04266ff6.js → LimitscolumnWidget-Dt5ce4hN-c7872d59d7fd358a1e67.js} +1 -1
- data/tools/tlmgrapher/LinegraphWidget-CTjtvtPd-ec90f25af28038471f36.js +1 -0
- data/tools/tlmgrapher/MatrixbycolumnsWidget-wLx4NvXV-e2855700b605e9a3af0a.js +1 -0
- data/tools/tlmgrapher/{ProgressbarWidget-DpA_-vy9-1ab594b8a1b9fff9bcf0.js → ProgressbarWidget-B7l0BBiX-b4fe59715b19aef08d47.js} +1 -1
- data/tools/tlmgrapher/RadiobuttonWidget-B032jKIw-7a420b95edfcc72d2b53.js +1 -0
- data/tools/tlmgrapher/RadiogroupWidget-Busjqikr-57983a021f6604dd2833.js +1 -0
- data/tools/tlmgrapher/{RangebarWidget-DHS7S3vI-6d303dcc57838be1b146.js → RangebarWidget-DbYrwEfC-8e06af9a8d6f56a0972a.js} +1 -1
- data/tools/tlmgrapher/{RollupWidget-CTk9Kjwr-0f5acd15cf23d041ed73.js → RollupWidget-rKxLXuCv-fba38a11eb2178936283.js} +1 -1
- data/tools/tlmgrapher/{ScrollwindowWidget-DD0TOW6s-bf3b33ad63629d24ea9e.js → ScrollwindowWidget-D4NKIzQO-d0abd9d85cb8d65f4fe6.js} +1 -1
- data/tools/tlmgrapher/{SignalWidget-CC33KMTW-a236bc41aa92dbd9436a.js → SignalWidget-h-oivReC-4cd64c8abcce31df102b.js} +1 -1
- 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-DXSdgqVP-120f404abbd38a251cf0.js → TextfieldWidget-aVRdXRsT-213364d5732dcee8d036.js} +1 -1
- data/tools/tlmgrapher/TimeWidget-BE2rtMxg-e21567e53d673465c836.js +1 -0
- data/tools/tlmgrapher/{TitleWidget-DqViFQl--a9ce854539d034f46c77.js → TitleWidget-BB29MZb2-e0d478ebf3b07842da29.js} +1 -1
- data/tools/tlmgrapher/{TlmGrapher-43f84418a2138827f7fe.js → TlmGrapher-c18bb4590202825cad3b.js} +7 -7
- data/tools/tlmgrapher/{VWidget-02CG-3Av-e4e7b9dc6e9d84d28f93.js → VWidget-CGdM4sTw-a0bd40c69bd1f93ae37f.js} +1 -1
- data/tools/tlmgrapher/ValueWidget-h3905woQ-c74bf706028d58d02dea.js +1 -0
- data/tools/tlmgrapher/{ValuelimitsbarWidget-SR8XNZFB-551cc4ade88f47622e0b.js → ValuelimitsbarWidget-LMXYjWtS-a5070a20f41347c32630.js} +1 -1
- data/tools/tlmgrapher/{ValuelimitscolumnWidget-xYZSp6YZ-91f8ba73b54cfcc875e4.js → ValuelimitscolumnWidget-gA3ZcfAT-b47ffa82bd34ac742c39.js} +1 -1
- 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-C4QVI4IH-64483f16db448e0159ef.js → Widget-C7ms_xDE-d975507fdbf3ad763a90.js} +1 -1
- data/tools/tlmgrapher/{main-ee372b26dafe4f55356c.js → main-9ef5c77cc7eed63a6d1a.js} +72 -72
- data/tools/tlmgrapher/main.js +1 -1
- metadata +68 -68
- data/tools/tlmgrapher/BlockWidget-PmjzrkXF-a8d229f72134adfe9034.js +0 -2
- data/tools/tlmgrapher/CanvasWidget-BL8930eT-f621f6e56fa48c2f605b.js +0 -1
- data/tools/tlmgrapher/CanvasdotWidget-VCf1fL-G-367ccf35972ef5369aba.js +0 -1
- data/tools/tlmgrapher/CanvasimagevalueWidget-CE3Dj5bH-dfc3da5297d9184f0efc.js +0 -1
- data/tools/tlmgrapher/CanvaslineWidget-COeapH3P-ce371538fa428a01add0.js +0 -1
- data/tools/tlmgrapher/CanvaslinevalueWidget-CI-Bbzfi-433ee3be9a447ba54345.js +0 -1
- data/tools/tlmgrapher/CheckbuttonWidget-BQhggcZ2-5edf3d8993d5661231d6.js +0 -1
- data/tools/tlmgrapher/FormatvalueWidget-DZkRJce8-165eeff563b80c5013f2.js +0 -1
- data/tools/tlmgrapher/HorizontalboxWidget-CyTDt2nl-351323fc073f8a3fe8ef.js +0 -1
- data/tools/tlmgrapher/IframeWidget-DnJmCrCA-ab22b92513b25e7d972f.js +0 -1
- data/tools/tlmgrapher/LabelprogressbarWidget-RADJGLj3-c1e969d3c40de87dfa32.js +0 -1
- data/tools/tlmgrapher/LabelvalueWidget-DVWJqnlY-b5d6c96eb7e65ab227ce.js +0 -1
- data/tools/tlmgrapher/LabelvaluelimitscolumnWidget-CvCo-uCe-3e63fc2f670bed6a5659.js +0 -1
- data/tools/tlmgrapher/LinegraphWidget-y-Qy9P0R-1e7c9c56d46b9e4060df.js +0 -1
- data/tools/tlmgrapher/MatrixbycolumnsWidget-BTBColrs-b996a5a41aa0b7a86db4.js +0 -1
- data/tools/tlmgrapher/RadiobuttonWidget-BO8zpgwW-720937eac358ef5caca3.js +0 -1
- data/tools/tlmgrapher/RadiogroupWidget-Oy7V4S-V-df62ebb2d93e397f66f9.js +0 -1
- data/tools/tlmgrapher/SpacerWidget-BnJe_Hq6-ad8ec76b80d55ed96566.js +0 -1
- data/tools/tlmgrapher/SparklineWidget-DMvMQCPm-6762beef39a1f4c45b5f.js +0 -1
- data/tools/tlmgrapher/TabbookWidget-B3w0JtWe-3d4cbedba09cad07012b.js +0 -1
- data/tools/tlmgrapher/TextboxWidget-D2f0-eol-824e74db8e6ac18d78b9.js +0 -1
- data/tools/tlmgrapher/TimeWidget-DvrRaEMz-dc3f0f91733f306614ad.js +0 -1
- data/tools/tlmgrapher/ValueWidget-KLYY8L8U-182dea68c6dd9abde721.js +0 -1
- data/tools/tlmgrapher/ValuerangebarWidget-B6M02a9d-1c1d1d63845d0e0895cf.js +0 -1
- data/tools/tlmgrapher/VerticalWidget-z6xUM-ql-38efa918ea4fa620f17f.js +0 -1
- data/tools/tlmgrapher/VerticalboxWidget-3a9cVsW--1ec68946ce6edb016f36.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"]]))}}});
|
@@ -1 +1 @@
|
|
1
|
-
System.register(["./ValueWidget-
|
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]]))}}});
|
@@ -1 +1 @@
|
|
1
|
-
System.register(["./ValueWidget-
|
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}`}}})}}});
|