openc3-cosmos-tool-cmdsender 6.0.0 → 6.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/tools/cmdsender/ArrayWidget-BTxChSds-bfafcb1e282209bae9b8.js +2 -0
- data/tools/cmdsender/BarColumn-Cdu3OoMa-abf26d8ecccbc20014fa.js +1 -0
- data/tools/cmdsender/BlockWidget-PmjzrkXF-f77b1a3b85a63474970b.js +2 -0
- data/tools/cmdsender/{ButtonWidget-CKyBBv6m-6364e961031fb424242e.js → ButtonWidget-nwDlOBJT-5d2233c4dd6b7fbc6a0e.js} +2 -2
- data/tools/cmdsender/CanvasWidget-BL8930eT-767b3cc61c3248e3bfde.js +1 -0
- data/tools/cmdsender/CanvasdotWidget-VCf1fL-G-a7cd286a4fff2a5c3a3a.js +1 -0
- data/tools/cmdsender/CanvasimageWidget-BIw7Wbf2-8e7b9b767c12e0edb2e1.js +1 -0
- data/tools/cmdsender/CanvasimagevalueWidget-CE3Dj5bH-9b935cbb5d68af8412cd.js +1 -0
- data/tools/cmdsender/CanvaslabelWidget-DWmb356h-5fc6134785489e31d1e3.js +1 -0
- data/tools/cmdsender/CanvaslabelvalueWidget-CI3yYwFs-3a88d85b06479d994308.js +1 -0
- data/tools/cmdsender/CanvaslineWidget-COeapH3P-ceedeb91f76c5c159259.js +1 -0
- data/tools/cmdsender/CanvaslinevalueWidget-CI-Bbzfi-37e7e6b12aa2a1235f5f.js +1 -0
- data/tools/cmdsender/CheckbuttonWidget-BQhggcZ2-68fba4651ecafd573779.js +1 -0
- data/tools/cmdsender/ComboboxWidget-BzsbOv54-97af9800f87899870f36.js +1 -0
- data/tools/cmdsender/CommandSender-91f6b4e2ba1f0f0e74f3.js +1109 -0
- data/tools/cmdsender/{CriticalCmdDialog-BzoO1Mw_-7299829c5253b39104cb.js → CriticalCmdDialog-BjoqcWTu-7066b9cf6e6bf2144279.js} +1 -1
- data/tools/cmdsender/DateWidget-B5R_9rA8-7bc966f31f48f2f10fb2.js +1 -0
- data/tools/cmdsender/{DetailsDialog-EWjtBjle-91cf88ec81aca5f7f102.js → DetailsDialog-DLRMqetn-5d64bdc67b9b5e43bbb7.js} +1 -1
- data/tools/cmdsender/DynamicWidget-m9EliUR2-5fdc39e4237c90463f9e.js +1 -0
- data/tools/cmdsender/FormatvalueWidget-DZkRJce8-48d4f370b30c434d4138.js +1 -0
- data/tools/cmdsender/GraphWidget-amwxyH1r-57c0bb46f7944b5f8b21.js +1 -0
- data/tools/cmdsender/HorizontalWidget-CirtfuL8-130ee0de3779a46e336f.js +1 -0
- data/tools/cmdsender/HorizontalboxWidget-CyTDt2nl-90bce91cb40b2088123a.js +1 -0
- data/tools/cmdsender/HorizontallineWidget-BdlNB951-7d56517b135d013a58d1.js +1 -0
- data/tools/cmdsender/IframeWidget-DnJmCrCA-74a9d8024841f127285f.js +1 -0
- data/tools/cmdsender/{ImageLoader-CDLQopxJ-4c3bf06f2394935888d1.js → ImageLoader-CpcR6tPi-ec9fe1d8bae683498eeb.js} +1 -1
- data/tools/cmdsender/ImageviewerWidget-DIkmb_C9-a97b74157aa8507d0e8d.js +1 -0
- data/tools/cmdsender/LabelWidget-BDsypYho-5842eba381f322880b6a.js +1 -0
- data/tools/cmdsender/LabelledWidget-DjturGl5-75f7971d9a3a88f889e9.js +1 -0
- data/tools/cmdsender/LabelprogressbarWidget-RADJGLj3-28cfb5802ac44d80181c.js +1 -0
- data/tools/cmdsender/LabelsparklineWidget-BlJoICxu-3626aed85c602d73cbb4.js +1 -0
- data/tools/cmdsender/LabelvalueWidget-DVWJqnlY-2b9ef3a4d6c1afb83f58.js +1 -0
- data/tools/cmdsender/LabelvaluedescWidget-CsUP7J4U-cc8102a5929bef7a04d9.js +1 -0
- data/tools/cmdsender/LabelvaluelimitsbarWidget-Blj1QXV8-75674a72a5b16dcb65c6.js +1 -0
- data/tools/cmdsender/LabelvaluelimitscolumnWidget-CvCo-uCe-7b694e6ee492bcd00865.js +1 -0
- data/tools/cmdsender/LabelvaluerangebarWidget-DpcXhlfF-2097027f1df8fc82e2b5.js +1 -0
- data/tools/cmdsender/{Layout-klOVw-YN-5258887ddded63d92c90.js → Layout-C1HoM4Kl-509835ae46afcc2761f8.js} +1 -1
- data/tools/cmdsender/LedWidget-B_K2e5tq-f2e610278ed4d8752dd8.js +1 -0
- data/tools/cmdsender/LimitsbarWidget-DXbqsi4J-7d0a6c9ba1aeb18ca24f.js +1 -0
- data/tools/cmdsender/LimitscolorWidget-Ckmuw0YX-7fdbaf3d646ca8102dbb.js +1 -0
- data/tools/cmdsender/LimitscolumnWidget-BfY4su5U-f98080008ba9c0d58db9.js +1 -0
- data/tools/cmdsender/LinegraphWidget-y-Qy9P0R-2db99d29a1db81efba15.js +1 -0
- data/tools/cmdsender/MatrixbycolumnsWidget-BTBColrs-948d20ae04aa2860a35f.js +1 -0
- data/tools/cmdsender/ProgressbarWidget-DpA_-vy9-40ccbf5aab4901aca30a.js +1 -0
- data/tools/cmdsender/RadiobuttonWidget-BO8zpgwW-41d417347486d74f2782.js +1 -0
- data/tools/cmdsender/RadiogroupWidget-Oy7V4S-V-2324de2e8229dd9e6d4d.js +1 -0
- data/tools/cmdsender/RangebarWidget-DHS7S3vI-2646fb7ece1a2359286e.js +1 -0
- data/tools/cmdsender/RollupWidget-CTk9Kjwr-c4784121fdb0a9e93f9d.js +1 -0
- data/tools/cmdsender/ScrollwindowWidget-DD0TOW6s-53516999264c91d321c5.js +1 -0
- data/tools/cmdsender/SignalWidget-CC33KMTW-9cc4302103a346ccdece.js +1 -0
- data/tools/cmdsender/SpacerWidget-BnJe_Hq6-73082f990f99edf7455d.js +1 -0
- data/tools/cmdsender/SparklineWidget-DMvMQCPm-222d2d2f47670c53df2f.js +1 -0
- data/tools/cmdsender/TabbookWidget-B3w0JtWe-aede92a386581335c5ab.js +1 -0
- data/tools/cmdsender/TextboxWidget-D2f0-eol-40b07e8bf056122463a2.js +1 -0
- data/tools/cmdsender/TextfieldWidget-DXSdgqVP-d29c84adc9e8a449cab7.js +1 -0
- data/tools/cmdsender/TimeWidget-DvrRaEMz-c96d8216e966349903aa.js +1 -0
- data/tools/cmdsender/TitleWidget-DqViFQl--cbcf777e58e4b0254010.js +1 -0
- data/tools/cmdsender/{VWidget-Dmqf_jKM-4eabf4760e3b6f5e10b6.js → VWidget-02CG-3Av-67baf40d925167b6126a.js} +1 -1
- data/tools/cmdsender/ValueWidget-KLYY8L8U-29b03c814f71a0ec3a4e.js +1 -0
- data/tools/cmdsender/ValuelimitsbarWidget-SR8XNZFB-22b8d75beaf705e14f20.js +1 -0
- data/tools/cmdsender/ValuelimitscolumnWidget-xYZSp6YZ-4c6f2cec5915bd085c50.js +1 -0
- data/tools/cmdsender/ValuerangebarWidget-B6M02a9d-d4c7c7aa11904e031ed7.js +1 -0
- data/tools/cmdsender/VerticalWidget-z6xUM-ql-7b86828842d1aba0e3bc.js +1 -0
- data/tools/cmdsender/VerticalboxWidget-3a9cVsW--46cface9417db41fad42.js +1 -0
- data/tools/cmdsender/{Widget-orNSvnOh-d8c2fbf4a342bb2dc82a.js → Widget-C4QVI4IH-b4ca8b1098cb75567491.js} +1 -1
- data/tools/cmdsender/{main-da5f80eb5643ef8690b1.js → main-d60a87535d79453f428d.js} +31 -31
- data/tools/cmdsender/main.js +1 -1
- metadata +68 -68
- data/tools/cmdsender/ArrayWidget-By62tXtU-ef1b996df6e28e34c43b.js +0 -2
- data/tools/cmdsender/BarColumn-Dm3D1Lhp-61f707e75a11029c0e9b.js +0 -1
- data/tools/cmdsender/BlockWidget-CrT45ode-348c3ddc56416a2146ab.js +0 -2
- data/tools/cmdsender/CanvasWidget-PqkppHC7-fd79bd4b7029026acc5c.js +0 -1
- data/tools/cmdsender/CanvasdotWidget-BUbJgM2d-fa194d6394bd024c8c98.js +0 -1
- data/tools/cmdsender/CanvasimageWidget-DPVBY7mi-f0142b21f0fd88139b85.js +0 -1
- data/tools/cmdsender/CanvasimagevalueWidget-GX37zzNc-62b424af2b9d98e27ca5.js +0 -1
- data/tools/cmdsender/CanvaslabelWidget-P2_Y6Edw-b1e977b4b7759d576b2f.js +0 -1
- data/tools/cmdsender/CanvaslabelvalueWidget-Cuas1i9P-1d3918f6f84adfff0120.js +0 -1
- data/tools/cmdsender/CanvaslineWidget-BYOYgPya-e27cccd187a4ac905e59.js +0 -1
- data/tools/cmdsender/CanvaslinevalueWidget-3cVJMFo7-3577f5c9be34f37ff633.js +0 -1
- data/tools/cmdsender/CheckbuttonWidget-B3wgSMuB-d628399d9f46a9124cf4.js +0 -1
- data/tools/cmdsender/ComboboxWidget-Dzr4Scvf-80abf76befb1d2223300.js +0 -1
- data/tools/cmdsender/CommandSender-da769df0c665acc1ae58.js +0 -1109
- data/tools/cmdsender/DateWidget-BWh76Ibb-c0656ca3fd2db9656784.js +0 -1
- data/tools/cmdsender/DynamicWidget-m9EliUR2-3ed383238855e9d89b65.js +0 -1
- data/tools/cmdsender/FormatvalueWidget-Rk0_eeIm-b88e60c978fbcb4abfc1.js +0 -1
- data/tools/cmdsender/GraphWidget-LqekkNDr-2595500f5dc44b5a1fd4.js +0 -1
- data/tools/cmdsender/HorizontalWidget-BcfJ24Zn-7df1a9c1a9406fee3bc4.js +0 -1
- data/tools/cmdsender/HorizontalboxWidget-CQy1Hv9E-cb7847c9da6a2eb1b325.js +0 -1
- data/tools/cmdsender/HorizontallineWidget-BdlNB951-13449b3286fb177db656.js +0 -1
- data/tools/cmdsender/IframeWidget-BBaDrRLo-205665c65325fc71e124.js +0 -1
- data/tools/cmdsender/ImageviewerWidget-BgO3Pq6I-0883370ad21501128eb7.js +0 -1
- data/tools/cmdsender/LabelWidget-B_C6lKOE-19e071c13acf72487206.js +0 -1
- data/tools/cmdsender/LabelledWidget-B_UGivhr-69437ddf1d915a331241.js +0 -1
- data/tools/cmdsender/LabelprogressbarWidget-BJWCmsYC-302c84efb6e5b94e45ef.js +0 -1
- data/tools/cmdsender/LabelsparklineWidget-DILCIh3q-f175d1ebf16bcb26b559.js +0 -1
- data/tools/cmdsender/LabelvalueWidget-CCZd1NXE-1e7c14b0cd1e2f34caab.js +0 -1
- data/tools/cmdsender/LabelvaluedescWidget-Bsllq8W6-e24fb554e1c7f60256b2.js +0 -1
- data/tools/cmdsender/LabelvaluelimitsbarWidget-BV-cfaD--1b7c02f3f4a64d0b20fc.js +0 -1
- data/tools/cmdsender/LabelvaluelimitscolumnWidget-DwA0eRBw-a36c733c1a100b9ef2cb.js +0 -1
- data/tools/cmdsender/LabelvaluerangebarWidget-3GDJz3dj-5edf485853463cdd7bdc.js +0 -1
- data/tools/cmdsender/LedWidget-BAt02s0J-ee955f5837eb08c8c5b8.js +0 -1
- data/tools/cmdsender/LimitsbarWidget-JJiyzZjb-deabf599a5f021fb6643.js +0 -1
- data/tools/cmdsender/LimitscolorWidget-CYzXKbYd-fc74784cfd9fbce0d9b0.js +0 -1
- data/tools/cmdsender/LimitscolumnWidget-Cd76tBo7-5899f502fe0a778ce00f.js +0 -1
- data/tools/cmdsender/LinegraphWidget-DWRtO6Ej-2886f1ae49e4fe604ab4.js +0 -1
- data/tools/cmdsender/MatrixbycolumnsWidget-cwsyjNV2-fa7489fb9bcce39d54b3.js +0 -1
- data/tools/cmdsender/ProgressbarWidget-CYDziFej-78fe983908f2d55b8506.js +0 -1
- data/tools/cmdsender/RadiobuttonWidget-U6jcQZoD-28e2f2e59de016f7a467.js +0 -1
- data/tools/cmdsender/RadiogroupWidget-HTPJnsB0-673ba05cc1221683c64a.js +0 -1
- data/tools/cmdsender/RangebarWidget-DW0FJK6y-15a1d235dab1f5389508.js +0 -1
- data/tools/cmdsender/RollupWidget-B2qrx55f-e7877648fd0f7ebeaea7.js +0 -1
- data/tools/cmdsender/ScrollwindowWidget-CwIDxgO6-22c14acbcc8ae1aed916.js +0 -1
- data/tools/cmdsender/SignalWidget-Bosa3AbW-b3cc82444c17e3494e4d.js +0 -1
- data/tools/cmdsender/SpacerWidget-DYAlt5mt-79646b208c68ad086279.js +0 -1
- data/tools/cmdsender/SparklineWidget-CDrVXOFV-a2a5cd9bc98f09e6f5c4.js +0 -1
- data/tools/cmdsender/TabbookWidget-DDdlzCkv-b28195cb05ace2609c5f.js +0 -1
- data/tools/cmdsender/TextboxWidget-5euFelEq-198962282d99de2627fa.js +0 -1
- data/tools/cmdsender/TextfieldWidget-BFripYeh-36195e3160240dab144f.js +0 -1
- data/tools/cmdsender/TimeWidget-BBSbsUYJ-b8771bc53294d10f60d5.js +0 -1
- data/tools/cmdsender/TitleWidget-p8cjo-Bs-2538cd241465b2ac8f9c.js +0 -1
- data/tools/cmdsender/ValueWidget-CZh7JWwT-67ae55abc70e2d6939b1.js +0 -1
- data/tools/cmdsender/ValuelimitsbarWidget-DU7ybswC-fc8834eac88586459180.js +0 -1
- data/tools/cmdsender/ValuelimitscolumnWidget-DMw-h5jM-d23e707bc9df0603b509.js +0 -1
- data/tools/cmdsender/ValuerangebarWidget-DPpofDpA-6eac85aa54ece67d19f2.js +0 -1
- data/tools/cmdsender/VerticalWidget-Ch7VAEmz-eb59265f50227b17e04e.js +0 -1
- data/tools/cmdsender/VerticalboxWidget-DYx-TFT4-5edc625784a41f39e567.js +0 -1
@@ -1 +1 @@
|
|
1
|
-
System.register(["./main-
|
1
|
+
System.register(["./main-d60a87535d79453f428d.js"],function(o,d){"use strict";var p,r;return{setters:[n=>{p=n.B,r=n.a}],execute:function(){const n=o("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}`}}})}}});
|