openc3-cosmos-tool-dataextractor 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/dataextractor/{ArrayWidget-BTxChSds-219b1cbe0009cda9ad14.js → ArrayWidget-DBpEoQ1y-1c0b61d5aa91fcdccd47.js} +2 -2
- data/tools/dataextractor/{BarColumn-Cdu3OoMa-27237711828fda255937.js → BarColumn-B6tCmNJm-6a949f6a26b37b195a7f.js} +1 -1
- data/tools/dataextractor/BlockWidget-Bmi0UcUW-2ecaaec709c8f96e50c3.js +2 -0
- data/tools/dataextractor/{ButtonWidget-nwDlOBJT-91b8131aa136f6f1b93a.js → ButtonWidget-CHrHS_Bw-fb33e464b92e99d7088a.js} +2 -2
- data/tools/dataextractor/CanvasWidget-BqdyLbQz-a6307c239d854ea24c12.js +1 -0
- data/tools/dataextractor/CanvasdotWidget-YYwca104-eaddbe7e07d47fdd9ceb.js +1 -0
- data/tools/dataextractor/{CanvasimageWidget-BIw7Wbf2-35b752a114f6f1ab7de1.js → CanvasimageWidget-BrYlPQCf-aa35419e31ba5c4a8c59.js} +1 -1
- data/tools/dataextractor/CanvasimagevalueWidget-HnEOXmZy-5f4a8e64639ec1e9d09e.js +1 -0
- data/tools/dataextractor/{CanvaslabelWidget-DWmb356h-126ea8786887c6264094.js → CanvaslabelWidget-BfMHNei--56787479f6430aec4563.js} +1 -1
- data/tools/dataextractor/{CanvaslabelvalueWidget-CI3yYwFs-5372876c547c9db80f37.js → CanvaslabelvalueWidget-0zRDJav3-6e35ee7976f9a1810aab.js} +1 -1
- data/tools/dataextractor/CanvaslineWidget-BmOwJP_G-9aafd363ce9369484ed0.js +1 -0
- data/tools/dataextractor/CanvaslinevalueWidget-H3L1aUKM-e0588c9e703be02e94f1.js +1 -0
- data/tools/dataextractor/CheckbuttonWidget-BnT9X7wE-2db801bd269382b7d7fc.js +1 -0
- data/tools/dataextractor/{ComboboxWidget-BzsbOv54-f25bf1e68e538e2b0c46.js → ComboboxWidget-BykAAoxH-940db69dc812c271778d.js} +1 -1
- data/tools/dataextractor/{DataExtractor-c2d759e79eb4c38a3a19.js → DataExtractor-d79b9c10bf6e7cad9e7a.js} +9 -9
- data/tools/dataextractor/{DateWidget-B5R_9rA8-eb7538dbbbc3d35ff8f2.js → DateWidget-FtYD86xW-565045cc12f1d3e5cb17.js} +1 -1
- data/tools/dataextractor/{DetailsDialog-DLRMqetn-6b4c5c6a6faacd588bab.js → DetailsDialog-DiVcC3Fg-487ebbee41c3e5252082.js} +1 -1
- data/tools/dataextractor/{DynamicWidget-m9EliUR2-856a78538fa662622288.js → DynamicWidget-m9EliUR2-1c3200485aaa974e6fd1.js} +1 -1
- data/tools/dataextractor/FormatvalueWidget-OykwwCrw-d47fb6e27f3ff1b378cd.js +1 -0
- data/tools/dataextractor/{GraphWidget-amwxyH1r-d518e90eb1c0af690c4b.js → GraphWidget-BohHW-97-4cf819901d3dfd16cfbf.js} +1 -1
- data/tools/dataextractor/{HorizontalWidget-CirtfuL8-d06a149c4fc186f39f21.js → HorizontalWidget-B7YdcFVN-dba3e24e89fce8121643.js} +1 -1
- data/tools/dataextractor/HorizontalboxWidget-D-kCNwI3-a2d0d73ec7d97fd7a333.js +1 -0
- data/tools/dataextractor/{HorizontallineWidget-BdlNB951-54f354837198a3cb02b0.js → HorizontallineWidget-BdlNB951-9a8865ddf3fc0386af74.js} +1 -1
- data/tools/dataextractor/IframeWidget-0C7GYEVc-e7ba031909460f5acbe7.js +1 -0
- data/tools/dataextractor/{ImageLoader-CpcR6tPi-6c2fb1a992f246b2f149.js → ImageLoader-y6fAZe9P-c20cfe51413bd1cebe0b.js} +1 -1
- data/tools/dataextractor/{ImageviewerWidget-DIkmb_C9-5625421146845ed96a76.js → ImageviewerWidget-B4HbUIfR-85bbceb204b4b453860b.js} +1 -1
- data/tools/dataextractor/{LabelWidget-BDsypYho-82682e78b06c8fb62cc9.js → LabelWidget-D1JhQAzR-ce20e60fbbbe57e4bd55.js} +1 -1
- data/tools/dataextractor/{LabelledWidget-DjturGl5-743a730f65bbc81d4738.js → LabelledWidget-C2VGJ5OJ-74e2097e134d5c35bfbf.js} +1 -1
- data/tools/dataextractor/LabelprogressbarWidget-DN0cAeLK-7afdf9d9d638e3d758e5.js +1 -0
- data/tools/dataextractor/LabelsparklineWidget--sxBENxs-1e3fadbb4231d6122c4b.js +1 -0
- data/tools/dataextractor/LabelvalueWidget-BWpP5KX6-4c01c369a8b114772197.js +1 -0
- data/tools/dataextractor/{LabelvaluedescWidget-CsUP7J4U-744981d2bd1bd3c398f3.js → LabelvaluedescWidget-DtJwggDu-7c25c7ebc0757057fc77.js} +1 -1
- data/tools/dataextractor/{LabelvaluelimitsbarWidget-Blj1QXV8-f65228e49e64d5d4c186.js → LabelvaluelimitsbarWidget-Bj6UVK-5-fc03971a7f003e2468b5.js} +1 -1
- data/tools/dataextractor/LabelvaluelimitscolumnWidget-BVcEEcUx-aeeceaba68b98bbec596.js +1 -0
- data/tools/dataextractor/{LabelvaluerangebarWidget-DpcXhlfF-19277ea294a77e984fba.js → LabelvaluerangebarWidget-DCJ42bmf-f6bc0f83a35f89e00c36.js} +1 -1
- data/tools/dataextractor/{Layout-C1HoM4Kl-4749c21bb2663aaf1fdd.js → Layout-D4YBjuWs-9760d49d47be7ac41a9f.js} +1 -1
- data/tools/dataextractor/{LedWidget-B_K2e5tq-569caeedf217fd87a88b.js → LedWidget-hN9JHxjr-aa126047636e683a64d5.js} +1 -1
- data/tools/dataextractor/{LimitsbarWidget-DXbqsi4J-dd9453c1c1335607006e.js → LimitsbarWidget-D-wfz_St-b9383b82d644fa7cb98d.js} +1 -1
- data/tools/dataextractor/{LimitscolorWidget-Ckmuw0YX-2280879e82c2cf12ee5b.js → LimitscolorWidget-B0AVGdkz-25d41627ca4119391a27.js} +1 -1
- data/tools/dataextractor/{LimitscolumnWidget-BfY4su5U-fd1407f469d4b3053e0f.js → LimitscolumnWidget-Dt5ce4hN-ee0ad52298811b3b08e9.js} +1 -1
- data/tools/dataextractor/{LinegraphWidget-y-Qy9P0R-4e2eeb6588009fb0bc1b.js → LinegraphWidget-CTjtvtPd-d67446b7ee79a8be6c08.js} +1 -1
- data/tools/dataextractor/MatrixbycolumnsWidget-wLx4NvXV-845a8aeaf520b2ffd03d.js +1 -0
- data/tools/dataextractor/{ProgressbarWidget-DpA_-vy9-cb4f1215ff76cad60743.js → ProgressbarWidget-B7l0BBiX-fa52db0d6d1744d9de05.js} +1 -1
- data/tools/dataextractor/RadiobuttonWidget-B032jKIw-2ec3d31ede2fbcaa126c.js +1 -0
- data/tools/dataextractor/RadiogroupWidget-Busjqikr-4ec7aac22cfe367897c7.js +1 -0
- data/tools/dataextractor/{RangebarWidget-DHS7S3vI-5af418438c9e89d0d328.js → RangebarWidget-DbYrwEfC-daea125f7589b80838f3.js} +1 -1
- data/tools/dataextractor/{RollupWidget-CTk9Kjwr-5b52f5c90ca672af353c.js → RollupWidget-rKxLXuCv-317598f5fa8e45ef1b44.js} +1 -1
- data/tools/dataextractor/{ScrollwindowWidget-DD0TOW6s-6c2db69efcdcdfdf6e4f.js → ScrollwindowWidget-D4NKIzQO-cf26c4fc496bc4018b51.js} +1 -1
- data/tools/dataextractor/{SignalWidget-CC33KMTW-926329e6b1b6b750cb47.js → SignalWidget-h-oivReC-955e32f809ab1c371826.js} +1 -1
- data/tools/dataextractor/SpacerWidget-BSy9eOlB-c89463d660f2d3683033.js +1 -0
- data/tools/dataextractor/{SparklineWidget-DMvMQCPm-9641ad80839a222973f3.js → SparklineWidget-C9vdxar--27b1f5fc7cd1b1f0de22.js} +1 -1
- data/tools/dataextractor/TabbookWidget-DTFTKURm-4b23ee161c660f030255.js +1 -0
- data/tools/dataextractor/TextboxWidget-BZyYHmBq-31c2410278a883f5a0e9.js +1 -0
- data/tools/dataextractor/{TextfieldWidget-DXSdgqVP-b4202832bcd545c93bc5.js → TextfieldWidget-aVRdXRsT-24938d63f287872f1830.js} +1 -1
- data/tools/dataextractor/TimeWidget-BE2rtMxg-38e9bf584b6d8c4f5012.js +1 -0
- data/tools/dataextractor/{TitleWidget-DqViFQl--dd9a2bc326ed4c3b4be9.js → TitleWidget-BB29MZb2-6bef4ca9b93f1c41c208.js} +1 -1
- data/tools/dataextractor/{VWidget-02CG-3Av-63df1706362f2e647b12.js → VWidget-CGdM4sTw-729e8b3fcd6166b783f1.js} +1 -1
- data/tools/dataextractor/ValueWidget-h3905woQ-181f3cb5fa186ab9aaab.js +1 -0
- data/tools/dataextractor/{ValuelimitsbarWidget-SR8XNZFB-cb4f6d4e222b9ce3f1bd.js → ValuelimitsbarWidget-LMXYjWtS-b5b6df51ba804638df3d.js} +1 -1
- data/tools/dataextractor/{ValuelimitscolumnWidget-xYZSp6YZ-e9b803e5eeb0f52b2ff6.js → ValuelimitscolumnWidget-gA3ZcfAT-fe271b28898c0abf8bf1.js} +1 -1
- data/tools/dataextractor/ValuerangebarWidget-DwZ9KQ0O-ad198b8a9de3a696ca72.js +1 -0
- data/tools/dataextractor/VerticalWidget-DziyURNu-3e67ee4f4de9fd1df20f.js +1 -0
- data/tools/dataextractor/VerticalboxWidget-OcoZBsFU-1a3baa11d1f3bca90fca.js +1 -0
- data/tools/dataextractor/{Widget-C4QVI4IH-83406e8ce23b52b3fb89.js → Widget-C7ms_xDE-a17eef2ddcd666c67dc7.js} +1 -1
- data/tools/dataextractor/{main-59d01ac81c6306714fbc.js → main-80e32c674d54e3083df2.js} +72 -72
- data/tools/dataextractor/main.js +1 -1
- metadata +67 -67
- data/tools/dataextractor/BlockWidget-PmjzrkXF-1a6d6c5a526d92d762a4.js +0 -2
- data/tools/dataextractor/CanvasWidget-BL8930eT-305fd7a0918254604d0c.js +0 -1
- data/tools/dataextractor/CanvasdotWidget-VCf1fL-G-7462178b8b99699ae91d.js +0 -1
- data/tools/dataextractor/CanvasimagevalueWidget-CE3Dj5bH-25045a9e8cbdb50bac76.js +0 -1
- data/tools/dataextractor/CanvaslineWidget-COeapH3P-460a552af45030a747d8.js +0 -1
- data/tools/dataextractor/CanvaslinevalueWidget-CI-Bbzfi-bec09600dcd6ee8715d4.js +0 -1
- data/tools/dataextractor/CheckbuttonWidget-BQhggcZ2-35e6514c44521504188c.js +0 -1
- data/tools/dataextractor/FormatvalueWidget-DZkRJce8-bab94c67f32e135dcca0.js +0 -1
- data/tools/dataextractor/HorizontalboxWidget-CyTDt2nl-90e1b33a781e92b37591.js +0 -1
- data/tools/dataextractor/IframeWidget-DnJmCrCA-47494fe1569dd8507713.js +0 -1
- data/tools/dataextractor/LabelprogressbarWidget-RADJGLj3-56db70caf3e1c981bdae.js +0 -1
- data/tools/dataextractor/LabelsparklineWidget-BlJoICxu-d922c1f9e5d3e1903fbe.js +0 -1
- data/tools/dataextractor/LabelvalueWidget-DVWJqnlY-d188d46542ebf25ae5cf.js +0 -1
- data/tools/dataextractor/LabelvaluelimitscolumnWidget-CvCo-uCe-17ca7b08812bf0801517.js +0 -1
- data/tools/dataextractor/MatrixbycolumnsWidget-BTBColrs-0ae432903988a024cef9.js +0 -1
- data/tools/dataextractor/RadiobuttonWidget-BO8zpgwW-e6bb4985a1cf5a1dfe86.js +0 -1
- data/tools/dataextractor/RadiogroupWidget-Oy7V4S-V-199e7d5d60969b13852c.js +0 -1
- data/tools/dataextractor/SpacerWidget-BnJe_Hq6-ba0fb1ec78c72e641753.js +0 -1
- data/tools/dataextractor/TabbookWidget-B3w0JtWe-05da7a73cca2c9623b24.js +0 -1
- data/tools/dataextractor/TextboxWidget-D2f0-eol-58d6368beeb44f20ca35.js +0 -1
- data/tools/dataextractor/TimeWidget-DvrRaEMz-98ee7dcb55051340f67a.js +0 -1
- data/tools/dataextractor/ValueWidget-KLYY8L8U-eee72fb4be80d11b8f33.js +0 -1
- data/tools/dataextractor/ValuerangebarWidget-B6M02a9d-6457a90f2ba98a3418a7.js +0 -1
- data/tools/dataextractor/VerticalWidget-z6xUM-ql-21182813e94c79271091.js +0 -1
- data/tools/dataextractor/VerticalboxWidget-3a9cVsW--c1b58e6afe06832bcc3a.js +0 -1
@@ -1 +1 @@
|
|
1
|
-
System.register(["./Widget-
|
1
|
+
System.register(["./Widget-C7ms_xDE-a17eef2ddcd666c67dc7.js","vue","./main-80e32c674d54e3083df2.js","vue-router","single-spa","vuex","vuetify"],function(o,m){"use strict";var t,r,n,l,s,a;return{setters:[e=>{t=e.o},e=>{r=e.openBlock,n=e.createElementBlock,l=e.normalizeStyle,s=e.toDisplayString},e=>{a=e.s},null,null,null,null],execute:function(){const e={mixins:[t],computed:{labelText(){return this.parameters[0]}},created(){if(this.parameters.length<1)throw new Error("Not enough parameters for TITLE.")}};function i(c,x,f,y,g,u){return r(),n("span",{class:"text-h5 text-center pa-1 mt-1 label",style:l(c.computedStyle)},s(u.labelText),5)}const p=o("default",a(e,[["render",i]]))}}});
|
@@ -1 +1 @@
|
|
1
|
-
System.register(["./main-
|
1
|
+
System.register(["./main-80e32c674d54e3083df2.js","./Widget-C7ms_xDE-a17eef2ddcd666c67dc7.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-80e32c674d54e3083df2.js","vue","./DetailsDialog-DiVcC3Fg-487ebbee41c3e5252082.js","single-spa","./VWidget-CGdM4sTw-729e8b3fcd6166b783f1.js","vue-router","vuex","vuetify","./Widget-C7ms_xDE-a17eef2ddcd666c67dc7.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 D(t,i,j,I,z,w){const E=a("rux-status"),_=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(_,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(E,{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",D],["__scopeId","data-v-c21e4dde"]]))}}});
|
@@ -1 +1 @@
|
|
1
|
-
System.register(["./ValueWidget-
|
1
|
+
System.register(["./ValueWidget-h3905woQ-181f3cb5fa186ab9aaab.js","./LimitsbarWidget-D-wfz_St-b9383b82d644fa7cb98d.js","./Widget-C7ms_xDE-a17eef2ddcd666c67dc7.js","vue","./main-80e32c674d54e3083df2.js","./DetailsDialog-DiVcC3Fg-487ebbee41c3e5252082.js","single-spa","./VWidget-CGdM4sTw-729e8b3fcd6166b783f1.js","vue-router","vuex","vuetify","./BarColumn-B6tCmNJm-6a949f6a26b37b195a7f.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-181f3cb5fa186ab9aaab.js","./LimitscolumnWidget-Dt5ce4hN-ee0ad52298811b3b08e9.js","./Widget-C7ms_xDE-a17eef2ddcd666c67dc7.js","vue","./main-80e32c674d54e3083df2.js","./DetailsDialog-DiVcC3Fg-487ebbee41c3e5252082.js","single-spa","./VWidget-CGdM4sTw-729e8b3fcd6166b783f1.js","vue-router","vuex","vuetify","./BarColumn-B6tCmNJm-6a949f6a26b37b195a7f.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-181f3cb5fa186ab9aaab.js","./RangebarWidget-DbYrwEfC-daea125f7589b80838f3.js","./Widget-C7ms_xDE-a17eef2ddcd666c67dc7.js","vue","./main-80e32c674d54e3083df2.js","./DetailsDialog-DiVcC3Fg-487ebbee41c3e5252082.js","single-spa","./VWidget-CGdM4sTw-729e8b3fcd6166b783f1.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-9760d49d47be7ac41a9f.js","vue","./main-80e32c674d54e3083df2.js","./Widget-C7ms_xDE-a17eef2ddcd666c67dc7.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-3e67ee4f4de9fd1df20f.js","./Layout-D4YBjuWs-9760d49d47be7ac41a9f.js","vue","./main-80e32c674d54e3083df2.js","./Widget-C7ms_xDE-a17eef2ddcd666c67dc7.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-80e32c674d54e3083df2.js"],function(d,o){"use strict";var p,r;return{setters:[n=>{p=n.B,r=n.a}],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}`}}})}}});
|