openc3-cosmos-tool-cmdsender 6.0.0 → 6.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (129) hide show
  1. checksums.yaml +4 -4
  2. data/tools/cmdsender/ArrayWidget-DBpEoQ1y-7774f174f100079a8a19.js +2 -0
  3. data/tools/cmdsender/BarColumn-B6tCmNJm-c2cf6197c1ac7721cb12.js +1 -0
  4. data/tools/cmdsender/BlockWidget-Bmi0UcUW-6ba650ec33b40d8cf01c.js +2 -0
  5. data/tools/cmdsender/ButtonWidget-CHrHS_Bw-697bfff0f94c0f031fc0.js +2 -0
  6. data/tools/cmdsender/CanvasWidget-BqdyLbQz-167c323870bbdd0b3f0a.js +1 -0
  7. data/tools/cmdsender/CanvasdotWidget-YYwca104-3c5550facd36f5ee6eac.js +1 -0
  8. data/tools/cmdsender/CanvasimageWidget-BrYlPQCf-d1bb68f987e71202c775.js +1 -0
  9. data/tools/cmdsender/CanvasimagevalueWidget-HnEOXmZy-1f66702888c804c6a591.js +1 -0
  10. data/tools/cmdsender/CanvaslabelWidget-BfMHNei--ddf219663eebb46e3e99.js +1 -0
  11. data/tools/cmdsender/CanvaslabelvalueWidget-0zRDJav3-89a8555dff72104c9172.js +1 -0
  12. data/tools/cmdsender/CanvaslineWidget-BmOwJP_G-2a8c53c443123088b6ac.js +1 -0
  13. data/tools/cmdsender/CanvaslinevalueWidget-H3L1aUKM-a4c9e63e78093733ab93.js +1 -0
  14. data/tools/cmdsender/CheckbuttonWidget-BnT9X7wE-1ccb715f3ae947f1a60a.js +1 -0
  15. data/tools/cmdsender/ComboboxWidget-BykAAoxH-cf35e0e6ad301a3be379.js +1 -0
  16. data/tools/cmdsender/CommandSender-1ae9e7b06ab4a44e3988.js +1109 -0
  17. data/tools/cmdsender/{CriticalCmdDialog-BzoO1Mw_-7299829c5253b39104cb.js → CriticalCmdDialog-CAcGOWok-3a7c5d277fa3e0c3343f.js} +1 -1
  18. data/tools/cmdsender/DateWidget-FtYD86xW-f07540c6584501509891.js +1 -0
  19. data/tools/cmdsender/{DetailsDialog-EWjtBjle-91cf88ec81aca5f7f102.js → DetailsDialog-DiVcC3Fg-b8c5672df1c2b2428051.js} +1 -1
  20. data/tools/cmdsender/DynamicWidget-m9EliUR2-cd4304c5cec47f4c2b36.js +1 -0
  21. data/tools/cmdsender/FormatvalueWidget-OykwwCrw-1fd27fa2bfe3d84ce8a8.js +1 -0
  22. data/tools/cmdsender/GraphWidget-BohHW-97-faf931524e0f1fcaf469.js +1 -0
  23. data/tools/cmdsender/HorizontalWidget-B7YdcFVN-19fd2a8909ee1482983b.js +1 -0
  24. data/tools/cmdsender/HorizontalboxWidget-D-kCNwI3-52bf1c4d51d144ddda92.js +1 -0
  25. data/tools/cmdsender/HorizontallineWidget-BdlNB951-ce22f48a612ae9004c09.js +1 -0
  26. data/tools/cmdsender/IframeWidget-0C7GYEVc-47f0be68b0a3d92923e5.js +1 -0
  27. data/tools/cmdsender/{ImageLoader-CDLQopxJ-4c3bf06f2394935888d1.js → ImageLoader-y6fAZe9P-be2fdea8237d46c95a90.js} +1 -1
  28. data/tools/cmdsender/ImageviewerWidget-B4HbUIfR-a7289f3e4790b90ab40f.js +1 -0
  29. data/tools/cmdsender/LabelWidget-D1JhQAzR-e559310457943d231cab.js +1 -0
  30. data/tools/cmdsender/LabelledWidget-C2VGJ5OJ-7d7514cb845dbfc1912a.js +1 -0
  31. data/tools/cmdsender/LabelprogressbarWidget-DN0cAeLK-1652c8018f4ded8040f9.js +1 -0
  32. data/tools/cmdsender/LabelsparklineWidget--sxBENxs-c1ed7a8108887948d8ec.js +1 -0
  33. data/tools/cmdsender/LabelvalueWidget-BWpP5KX6-5fefd46f4773bfb9ac62.js +1 -0
  34. data/tools/cmdsender/LabelvaluedescWidget-DtJwggDu-df040185dadc8b78dd8b.js +1 -0
  35. data/tools/cmdsender/LabelvaluelimitsbarWidget-Bj6UVK-5-f5f0705d019564ee5ff2.js +1 -0
  36. data/tools/cmdsender/LabelvaluelimitscolumnWidget-BVcEEcUx-c374ebf3559a730c88b4.js +1 -0
  37. data/tools/cmdsender/LabelvaluerangebarWidget-DCJ42bmf-d7afd12d4a48a917f9e8.js +1 -0
  38. data/tools/cmdsender/{Layout-klOVw-YN-5258887ddded63d92c90.js → Layout-D4YBjuWs-583536aa12d8f093d8e3.js} +1 -1
  39. data/tools/cmdsender/LedWidget-hN9JHxjr-ca1a4be6c84b62755121.js +1 -0
  40. data/tools/cmdsender/LimitsbarWidget-D-wfz_St-21c8e72fdac76bad7143.js +1 -0
  41. data/tools/cmdsender/LimitscolorWidget-B0AVGdkz-4ac2d13fe998758ca84c.js +1 -0
  42. data/tools/cmdsender/LimitscolumnWidget-Dt5ce4hN-8b1119f6301eac097187.js +1 -0
  43. data/tools/cmdsender/LinegraphWidget-CTjtvtPd-38c53ea1a35e71abbf6e.js +1 -0
  44. data/tools/cmdsender/MatrixbycolumnsWidget-wLx4NvXV-774e3a6fcab20b0c6448.js +1 -0
  45. data/tools/cmdsender/ProgressbarWidget-B7l0BBiX-468f0d738a18c61dde60.js +1 -0
  46. data/tools/cmdsender/RadiobuttonWidget-B032jKIw-84e0a102cc723cb3175b.js +1 -0
  47. data/tools/cmdsender/RadiogroupWidget-Busjqikr-2e4b2935b15ff341e62b.js +1 -0
  48. data/tools/cmdsender/RangebarWidget-DbYrwEfC-20517e3e661d03bf7afe.js +1 -0
  49. data/tools/cmdsender/RollupWidget-rKxLXuCv-bbe5342ec4066f452f29.js +1 -0
  50. data/tools/cmdsender/ScrollwindowWidget-D4NKIzQO-cf05873762f289c94fa1.js +1 -0
  51. data/tools/cmdsender/SignalWidget-h-oivReC-6cdafa1a64ddb6920377.js +1 -0
  52. data/tools/cmdsender/SpacerWidget-BSy9eOlB-6499772ba0a8beb636cc.js +1 -0
  53. data/tools/cmdsender/SparklineWidget-C9vdxar--ed6cef5da69f19d06020.js +1 -0
  54. data/tools/cmdsender/TabbookWidget-DTFTKURm-702f0e437f846a8af994.js +1 -0
  55. data/tools/cmdsender/TextboxWidget-BZyYHmBq-8c5923acee53bab72c82.js +1 -0
  56. data/tools/cmdsender/TextfieldWidget-aVRdXRsT-63e891c4e771f5de6796.js +1 -0
  57. data/tools/cmdsender/TimeWidget-BE2rtMxg-c27729f03957442c6e1c.js +1 -0
  58. data/tools/cmdsender/TitleWidget-BB29MZb2-5be03ab24576d78c18fe.js +1 -0
  59. data/tools/cmdsender/{VWidget-Dmqf_jKM-4eabf4760e3b6f5e10b6.js → VWidget-CGdM4sTw-f5881252e6f5adbafc7e.js} +1 -1
  60. data/tools/cmdsender/ValueWidget-h3905woQ-dfd435618aad43031119.js +1 -0
  61. data/tools/cmdsender/ValuelimitsbarWidget-LMXYjWtS-ff48a7489cf874306856.js +1 -0
  62. data/tools/cmdsender/ValuelimitscolumnWidget-gA3ZcfAT-1d440c612ec5819e135e.js +1 -0
  63. data/tools/cmdsender/ValuerangebarWidget-DwZ9KQ0O-fab6e18035be68ad18d5.js +1 -0
  64. data/tools/cmdsender/VerticalWidget-DziyURNu-e0b82b7a0d24dd5d1526.js +1 -0
  65. data/tools/cmdsender/VerticalboxWidget-OcoZBsFU-e0bb467552e346f35c8e.js +1 -0
  66. data/tools/cmdsender/{Widget-orNSvnOh-d8c2fbf4a342bb2dc82a.js → Widget-C7ms_xDE-3bcea1febf251efccd7e.js} +1 -1
  67. data/tools/cmdsender/main-d619649b01078bd926a2.js +1423 -0
  68. data/tools/cmdsender/main.js +1 -1
  69. metadata +68 -68
  70. data/tools/cmdsender/ArrayWidget-By62tXtU-ef1b996df6e28e34c43b.js +0 -2
  71. data/tools/cmdsender/BarColumn-Dm3D1Lhp-61f707e75a11029c0e9b.js +0 -1
  72. data/tools/cmdsender/BlockWidget-CrT45ode-348c3ddc56416a2146ab.js +0 -2
  73. data/tools/cmdsender/ButtonWidget-CKyBBv6m-6364e961031fb424242e.js +0 -2
  74. data/tools/cmdsender/CanvasWidget-PqkppHC7-fd79bd4b7029026acc5c.js +0 -1
  75. data/tools/cmdsender/CanvasdotWidget-BUbJgM2d-fa194d6394bd024c8c98.js +0 -1
  76. data/tools/cmdsender/CanvasimageWidget-DPVBY7mi-f0142b21f0fd88139b85.js +0 -1
  77. data/tools/cmdsender/CanvasimagevalueWidget-GX37zzNc-62b424af2b9d98e27ca5.js +0 -1
  78. data/tools/cmdsender/CanvaslabelWidget-P2_Y6Edw-b1e977b4b7759d576b2f.js +0 -1
  79. data/tools/cmdsender/CanvaslabelvalueWidget-Cuas1i9P-1d3918f6f84adfff0120.js +0 -1
  80. data/tools/cmdsender/CanvaslineWidget-BYOYgPya-e27cccd187a4ac905e59.js +0 -1
  81. data/tools/cmdsender/CanvaslinevalueWidget-3cVJMFo7-3577f5c9be34f37ff633.js +0 -1
  82. data/tools/cmdsender/CheckbuttonWidget-B3wgSMuB-d628399d9f46a9124cf4.js +0 -1
  83. data/tools/cmdsender/ComboboxWidget-Dzr4Scvf-80abf76befb1d2223300.js +0 -1
  84. data/tools/cmdsender/CommandSender-da769df0c665acc1ae58.js +0 -1109
  85. data/tools/cmdsender/DateWidget-BWh76Ibb-c0656ca3fd2db9656784.js +0 -1
  86. data/tools/cmdsender/DynamicWidget-m9EliUR2-3ed383238855e9d89b65.js +0 -1
  87. data/tools/cmdsender/FormatvalueWidget-Rk0_eeIm-b88e60c978fbcb4abfc1.js +0 -1
  88. data/tools/cmdsender/GraphWidget-LqekkNDr-2595500f5dc44b5a1fd4.js +0 -1
  89. data/tools/cmdsender/HorizontalWidget-BcfJ24Zn-7df1a9c1a9406fee3bc4.js +0 -1
  90. data/tools/cmdsender/HorizontalboxWidget-CQy1Hv9E-cb7847c9da6a2eb1b325.js +0 -1
  91. data/tools/cmdsender/HorizontallineWidget-BdlNB951-13449b3286fb177db656.js +0 -1
  92. data/tools/cmdsender/IframeWidget-BBaDrRLo-205665c65325fc71e124.js +0 -1
  93. data/tools/cmdsender/ImageviewerWidget-BgO3Pq6I-0883370ad21501128eb7.js +0 -1
  94. data/tools/cmdsender/LabelWidget-B_C6lKOE-19e071c13acf72487206.js +0 -1
  95. data/tools/cmdsender/LabelledWidget-B_UGivhr-69437ddf1d915a331241.js +0 -1
  96. data/tools/cmdsender/LabelprogressbarWidget-BJWCmsYC-302c84efb6e5b94e45ef.js +0 -1
  97. data/tools/cmdsender/LabelsparklineWidget-DILCIh3q-f175d1ebf16bcb26b559.js +0 -1
  98. data/tools/cmdsender/LabelvalueWidget-CCZd1NXE-1e7c14b0cd1e2f34caab.js +0 -1
  99. data/tools/cmdsender/LabelvaluedescWidget-Bsllq8W6-e24fb554e1c7f60256b2.js +0 -1
  100. data/tools/cmdsender/LabelvaluelimitsbarWidget-BV-cfaD--1b7c02f3f4a64d0b20fc.js +0 -1
  101. data/tools/cmdsender/LabelvaluelimitscolumnWidget-DwA0eRBw-a36c733c1a100b9ef2cb.js +0 -1
  102. data/tools/cmdsender/LabelvaluerangebarWidget-3GDJz3dj-5edf485853463cdd7bdc.js +0 -1
  103. data/tools/cmdsender/LedWidget-BAt02s0J-ee955f5837eb08c8c5b8.js +0 -1
  104. data/tools/cmdsender/LimitsbarWidget-JJiyzZjb-deabf599a5f021fb6643.js +0 -1
  105. data/tools/cmdsender/LimitscolorWidget-CYzXKbYd-fc74784cfd9fbce0d9b0.js +0 -1
  106. data/tools/cmdsender/LimitscolumnWidget-Cd76tBo7-5899f502fe0a778ce00f.js +0 -1
  107. data/tools/cmdsender/LinegraphWidget-DWRtO6Ej-2886f1ae49e4fe604ab4.js +0 -1
  108. data/tools/cmdsender/MatrixbycolumnsWidget-cwsyjNV2-fa7489fb9bcce39d54b3.js +0 -1
  109. data/tools/cmdsender/ProgressbarWidget-CYDziFej-78fe983908f2d55b8506.js +0 -1
  110. data/tools/cmdsender/RadiobuttonWidget-U6jcQZoD-28e2f2e59de016f7a467.js +0 -1
  111. data/tools/cmdsender/RadiogroupWidget-HTPJnsB0-673ba05cc1221683c64a.js +0 -1
  112. data/tools/cmdsender/RangebarWidget-DW0FJK6y-15a1d235dab1f5389508.js +0 -1
  113. data/tools/cmdsender/RollupWidget-B2qrx55f-e7877648fd0f7ebeaea7.js +0 -1
  114. data/tools/cmdsender/ScrollwindowWidget-CwIDxgO6-22c14acbcc8ae1aed916.js +0 -1
  115. data/tools/cmdsender/SignalWidget-Bosa3AbW-b3cc82444c17e3494e4d.js +0 -1
  116. data/tools/cmdsender/SpacerWidget-DYAlt5mt-79646b208c68ad086279.js +0 -1
  117. data/tools/cmdsender/SparklineWidget-CDrVXOFV-a2a5cd9bc98f09e6f5c4.js +0 -1
  118. data/tools/cmdsender/TabbookWidget-DDdlzCkv-b28195cb05ace2609c5f.js +0 -1
  119. data/tools/cmdsender/TextboxWidget-5euFelEq-198962282d99de2627fa.js +0 -1
  120. data/tools/cmdsender/TextfieldWidget-BFripYeh-36195e3160240dab144f.js +0 -1
  121. data/tools/cmdsender/TimeWidget-BBSbsUYJ-b8771bc53294d10f60d5.js +0 -1
  122. data/tools/cmdsender/TitleWidget-p8cjo-Bs-2538cd241465b2ac8f9c.js +0 -1
  123. data/tools/cmdsender/ValueWidget-CZh7JWwT-67ae55abc70e2d6939b1.js +0 -1
  124. data/tools/cmdsender/ValuelimitsbarWidget-DU7ybswC-fc8834eac88586459180.js +0 -1
  125. data/tools/cmdsender/ValuelimitscolumnWidget-DMw-h5jM-d23e707bc9df0603b509.js +0 -1
  126. data/tools/cmdsender/ValuerangebarWidget-DPpofDpA-6eac85aa54ece67d19f2.js +0 -1
  127. data/tools/cmdsender/VerticalWidget-Ch7VAEmz-eb59265f50227b17e04e.js +0 -1
  128. data/tools/cmdsender/VerticalboxWidget-DYx-TFT4-5edc625784a41f39e567.js +0 -1
  129. data/tools/cmdsender/main-da5f80eb5643ef8690b1.js +0 -1423
@@ -1 +1 @@
1
- System.register(["./main-da5f80eb5643ef8690b1.js"],function(o,d){"use strict";var p,r;return{setters:[n=>{p=n.z,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}`}}})}}});
1
+ System.register(["./main-d619649b01078bd926a2.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}`}}})}}});