openc3-cosmos-tool-tlmviewer 6.0.0 → 6.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (126) hide show
  1. checksums.yaml +4 -4
  2. data/tools/tlmviewer/ArrayWidget-BTxChSds-f9d7aff0cd64dc4af677.js +2 -0
  3. data/tools/tlmviewer/BarColumn-Cdu3OoMa-8d82722b7b5e62629a35.js +1 -0
  4. data/tools/tlmviewer/BlockWidget-PmjzrkXF-5ae8e08c4a33e66be878.js +2 -0
  5. data/tools/tlmviewer/ButtonWidget-nwDlOBJT-9c62e34d1c157b97bd44.js +2 -0
  6. data/tools/tlmviewer/CanvasWidget-BL8930eT-188b85274dd6e0481076.js +1 -0
  7. data/tools/tlmviewer/CanvasdotWidget-VCf1fL-G-4addafa734fbe01e01d2.js +1 -0
  8. data/tools/tlmviewer/CanvasimageWidget-BIw7Wbf2-f556e479f270b6f7e1e8.js +1 -0
  9. data/tools/tlmviewer/CanvasimagevalueWidget-CE3Dj5bH-61813e93f4ce39b4cce2.js +1 -0
  10. data/tools/tlmviewer/CanvaslabelWidget-DWmb356h-b87dfe68f77561ff7eab.js +1 -0
  11. data/tools/tlmviewer/CanvaslabelvalueWidget-CI3yYwFs-cd3e5ce0d875355790e8.js +1 -0
  12. data/tools/tlmviewer/CanvaslineWidget-COeapH3P-5ed0f7c483b60fba1b20.js +1 -0
  13. data/tools/tlmviewer/CanvaslinevalueWidget-CI-Bbzfi-2d4e44e28522af7ed0fc.js +1 -0
  14. data/tools/tlmviewer/CheckbuttonWidget-BQhggcZ2-d1f2a4351b6b5b9a9b81.js +1 -0
  15. data/tools/tlmviewer/ComboboxWidget-BzsbOv54-6fd16140b1b60078529d.js +1 -0
  16. data/tools/tlmviewer/DateWidget-B5R_9rA8-4b8f5a655a8cf17aa907.js +1 -0
  17. data/tools/tlmviewer/{DetailsDialog-EWjtBjle-d4dd05092c5bc49f1782.js → DetailsDialog-DLRMqetn-8f3b8c2058cbb4487dd9.js} +1 -1
  18. data/tools/tlmviewer/DynamicWidget-m9EliUR2-7760dada6647945b4903.js +1 -0
  19. data/tools/tlmviewer/FormatvalueWidget-DZkRJce8-6973ff704f1f01e6eb53.js +1 -0
  20. data/tools/tlmviewer/GraphWidget-amwxyH1r-163128d49b76f4de0524.js +1 -0
  21. data/tools/tlmviewer/HorizontalWidget-CirtfuL8-d0c976471f208754a41e.js +1 -0
  22. data/tools/tlmviewer/HorizontalboxWidget-CyTDt2nl-bbf9f59fbabdb01980b8.js +1 -0
  23. data/tools/tlmviewer/HorizontallineWidget-BdlNB951-ab49ce4d35551b3018b8.js +1 -0
  24. data/tools/tlmviewer/IframeWidget-DnJmCrCA-62af6b154ccc91fd8cb5.js +1 -0
  25. data/tools/tlmviewer/{ImageLoader-CDLQopxJ-c125f3deddaad3cf247d.js → ImageLoader-CpcR6tPi-1b62c2941e0b49298f1a.js} +1 -1
  26. data/tools/tlmviewer/ImageviewerWidget-DIkmb_C9-485cc1d532e23ae4b5b2.js +1 -0
  27. data/tools/tlmviewer/LabelWidget-BDsypYho-377347a49c09b718a1f6.js +1 -0
  28. data/tools/tlmviewer/LabelledWidget-DjturGl5-7f24cc5599b66c12b2f1.js +1 -0
  29. data/tools/tlmviewer/LabelprogressbarWidget-RADJGLj3-9d2243f7ddf8904a0cfe.js +1 -0
  30. data/tools/tlmviewer/LabelsparklineWidget-BlJoICxu-cf16050d0ee486966ec7.js +1 -0
  31. data/tools/tlmviewer/LabelvalueWidget-DVWJqnlY-05fecfc99fd33ad654aa.js +1 -0
  32. data/tools/tlmviewer/LabelvaluedescWidget-CsUP7J4U-1e6251e1cf3a6a7e5b59.js +1 -0
  33. data/tools/tlmviewer/LabelvaluelimitsbarWidget-Blj1QXV8-e030775dfb9553618269.js +1 -0
  34. data/tools/tlmviewer/LabelvaluelimitscolumnWidget-CvCo-uCe-5854a22f738f11b61b9c.js +1 -0
  35. data/tools/tlmviewer/LabelvaluerangebarWidget-DpcXhlfF-a2dc9567d0f19cfeb8f9.js +1 -0
  36. data/tools/tlmviewer/{Layout-klOVw-YN-58a465e2b690da632156.js → Layout-C1HoM4Kl-16582a7fb597a91b7893.js} +1 -1
  37. data/tools/tlmviewer/LedWidget-B_K2e5tq-838e2eb68c3aeea79b43.js +1 -0
  38. data/tools/tlmviewer/LimitsbarWidget-DXbqsi4J-a0b11379621e58f2e076.js +1 -0
  39. data/tools/tlmviewer/LimitscolorWidget-Ckmuw0YX-1642733882daa04ec5a0.js +1 -0
  40. data/tools/tlmviewer/LimitscolumnWidget-BfY4su5U-5b67e1bac65777add469.js +1 -0
  41. data/tools/tlmviewer/LinegraphWidget-y-Qy9P0R-fc12c36171d5e5f0e604.js +1 -0
  42. data/tools/tlmviewer/MatrixbycolumnsWidget-BTBColrs-838970fd44fd6454be07.js +1 -0
  43. data/tools/tlmviewer/ProgressbarWidget-DpA_-vy9-3a38ee774aba10a8a15c.js +1 -0
  44. data/tools/tlmviewer/RadiobuttonWidget-BO8zpgwW-b471e7a498cb16db4d70.js +1 -0
  45. data/tools/tlmviewer/RadiogroupWidget-Oy7V4S-V-723fa661d99951386278.js +1 -0
  46. data/tools/tlmviewer/RangebarWidget-DHS7S3vI-e692659dc1e7d71f25e6.js +1 -0
  47. data/tools/tlmviewer/RollupWidget-CTk9Kjwr-391c07e5ac0e51fa806e.js +1 -0
  48. data/tools/tlmviewer/ScrollwindowWidget-DD0TOW6s-a5fd68b09f66a4acd2e7.js +1 -0
  49. data/tools/tlmviewer/SignalWidget-CC33KMTW-9154de9a5c061b69776b.js +1 -0
  50. data/tools/tlmviewer/SpacerWidget-BnJe_Hq6-135347689671755db50c.js +1 -0
  51. data/tools/tlmviewer/SparklineWidget-DMvMQCPm-ad781334905d009b9a21.js +1 -0
  52. data/tools/tlmviewer/TabbookWidget-B3w0JtWe-a647fc460af62f1f1b91.js +1 -0
  53. data/tools/tlmviewer/TextboxWidget-D2f0-eol-31186bae50782d8dda72.js +1 -0
  54. data/tools/tlmviewer/TextfieldWidget-DXSdgqVP-1c8963dce21e79e8dbc5.js +1 -0
  55. data/tools/tlmviewer/TimeWidget-DvrRaEMz-35c62ea9c5dee8a5a3bc.js +1 -0
  56. data/tools/tlmviewer/TitleWidget-DqViFQl--d6f64895e3b40ae46c97.js +1 -0
  57. data/tools/tlmviewer/{TlmViewer-6e14e0d918ebe0bcfccf.js → TlmViewer-e2b4d4da607104f90f56.js} +8 -8
  58. data/tools/tlmviewer/{VWidget-Dmqf_jKM-b217d0a6c05ea8cc2b27.js → VWidget-02CG-3Av-6dd8f41abb30e51c1336.js} +1 -1
  59. data/tools/tlmviewer/ValueWidget-KLYY8L8U-981e9679ee74d7dd44a0.js +1 -0
  60. data/tools/tlmviewer/ValuelimitsbarWidget-SR8XNZFB-cd276c1535176693d52e.js +1 -0
  61. data/tools/tlmviewer/ValuelimitscolumnWidget-xYZSp6YZ-a661323401b786db843a.js +1 -0
  62. data/tools/tlmviewer/ValuerangebarWidget-B6M02a9d-d84d57d18b05c4d935d4.js +1 -0
  63. data/tools/tlmviewer/VerticalWidget-z6xUM-ql-8b2da906efb985d05096.js +1 -0
  64. data/tools/tlmviewer/VerticalboxWidget-3a9cVsW--6ebcd76b12070a5f66d1.js +1 -0
  65. data/tools/tlmviewer/{Widget-orNSvnOh-b2a9201f5a2da2b98a95.js → Widget-C4QVI4IH-77557544d86f5014c3b6.js} +1 -1
  66. data/tools/tlmviewer/{main-ba9a9a82c5555f5fd208.js → main-77da3e732b4aa0419678.js} +56 -56
  67. data/tools/tlmviewer/main.js +1 -1
  68. metadata +67 -67
  69. data/tools/tlmviewer/ArrayWidget-By62tXtU-da6455843547f2822954.js +0 -2
  70. data/tools/tlmviewer/BarColumn-Dm3D1Lhp-3944f3ea23fcf45995de.js +0 -1
  71. data/tools/tlmviewer/BlockWidget-CrT45ode-7c695d7f907f0744925d.js +0 -2
  72. data/tools/tlmviewer/ButtonWidget-CKyBBv6m-77a95c792f6532f0c34d.js +0 -2
  73. data/tools/tlmviewer/CanvasWidget-PqkppHC7-49183e79ed29ad2c4adc.js +0 -1
  74. data/tools/tlmviewer/CanvasdotWidget-BUbJgM2d-d11a64637ea7ca1293a4.js +0 -1
  75. data/tools/tlmviewer/CanvasimageWidget-DPVBY7mi-8ef775cfe62498c3d3dc.js +0 -1
  76. data/tools/tlmviewer/CanvasimagevalueWidget-GX37zzNc-f371d393ed72f2166595.js +0 -1
  77. data/tools/tlmviewer/CanvaslabelWidget-P2_Y6Edw-575e4e0525f787bdcd4c.js +0 -1
  78. data/tools/tlmviewer/CanvaslabelvalueWidget-Cuas1i9P-4ea25a3def6e23e294ab.js +0 -1
  79. data/tools/tlmviewer/CanvaslineWidget-BYOYgPya-908a4d464175fb4b448c.js +0 -1
  80. data/tools/tlmviewer/CanvaslinevalueWidget-3cVJMFo7-4b815f4a6a2d0d109e8b.js +0 -1
  81. data/tools/tlmviewer/CheckbuttonWidget-B3wgSMuB-ea80fa606ce6b52e912c.js +0 -1
  82. data/tools/tlmviewer/ComboboxWidget-Dzr4Scvf-3b58c39fee88394ec2e1.js +0 -1
  83. data/tools/tlmviewer/DateWidget-BWh76Ibb-ac074aeaea4ae28b932b.js +0 -1
  84. data/tools/tlmviewer/DynamicWidget-m9EliUR2-8d85e78ca04879befa40.js +0 -1
  85. data/tools/tlmviewer/FormatvalueWidget-Rk0_eeIm-f77175bb6b0d8cfbba7e.js +0 -1
  86. data/tools/tlmviewer/GraphWidget-LqekkNDr-7971589abb6302bb8823.js +0 -1
  87. data/tools/tlmviewer/HorizontalWidget-BcfJ24Zn-8771030e5745a2560de7.js +0 -1
  88. data/tools/tlmviewer/HorizontalboxWidget-CQy1Hv9E-7114346abc91f32fa880.js +0 -1
  89. data/tools/tlmviewer/HorizontallineWidget-BdlNB951-b9d9866775aa55ae2654.js +0 -1
  90. data/tools/tlmviewer/IframeWidget-BBaDrRLo-fa4214902c4fe6b319c1.js +0 -1
  91. data/tools/tlmviewer/ImageviewerWidget-BgO3Pq6I-6af3f71d8c28cb3c41d8.js +0 -1
  92. data/tools/tlmviewer/LabelWidget-B_C6lKOE-212ff7523aaeb0ded1d3.js +0 -1
  93. data/tools/tlmviewer/LabelledWidget-B_UGivhr-581ade2f0e939f082d68.js +0 -1
  94. data/tools/tlmviewer/LabelprogressbarWidget-BJWCmsYC-dc1cef355de3bbabc41a.js +0 -1
  95. data/tools/tlmviewer/LabelsparklineWidget-DILCIh3q-1562dee0d3d149ac13d9.js +0 -1
  96. data/tools/tlmviewer/LabelvalueWidget-CCZd1NXE-a39b518d0e70487c4a9d.js +0 -1
  97. data/tools/tlmviewer/LabelvaluedescWidget-Bsllq8W6-1692d44fadc6c78e736f.js +0 -1
  98. data/tools/tlmviewer/LabelvaluelimitsbarWidget-BV-cfaD--932c2c5b926860dc521e.js +0 -1
  99. data/tools/tlmviewer/LabelvaluelimitscolumnWidget-DwA0eRBw-8bd7d2f9a56643e14379.js +0 -1
  100. data/tools/tlmviewer/LabelvaluerangebarWidget-3GDJz3dj-6484ea43c377813f8ee3.js +0 -1
  101. data/tools/tlmviewer/LedWidget-BAt02s0J-4426442b78327779dcc9.js +0 -1
  102. data/tools/tlmviewer/LimitsbarWidget-JJiyzZjb-44bfbec44112c4c0ff3e.js +0 -1
  103. data/tools/tlmviewer/LimitscolorWidget-CYzXKbYd-1cf1e703ce108859dc8e.js +0 -1
  104. data/tools/tlmviewer/LimitscolumnWidget-Cd76tBo7-8f9b96f21044a65781d7.js +0 -1
  105. data/tools/tlmviewer/LinegraphWidget-DWRtO6Ej-309c37b3543e9d3fa22b.js +0 -1
  106. data/tools/tlmviewer/MatrixbycolumnsWidget-cwsyjNV2-1fb49a3d873b4eb75b02.js +0 -1
  107. data/tools/tlmviewer/ProgressbarWidget-CYDziFej-c9b58d7be2332196a738.js +0 -1
  108. data/tools/tlmviewer/RadiobuttonWidget-U6jcQZoD-15b518dbf21a26a0fcaf.js +0 -1
  109. data/tools/tlmviewer/RadiogroupWidget-HTPJnsB0-c5f89e48214a128f2f4a.js +0 -1
  110. data/tools/tlmviewer/RangebarWidget-DW0FJK6y-a2d26324c158d8b3ce07.js +0 -1
  111. data/tools/tlmviewer/RollupWidget-B2qrx55f-4d4a3b3b78abc53cf763.js +0 -1
  112. data/tools/tlmviewer/ScrollwindowWidget-CwIDxgO6-2603bddcf4abb5f4555b.js +0 -1
  113. data/tools/tlmviewer/SignalWidget-Bosa3AbW-521d8ee03db614baa71c.js +0 -1
  114. data/tools/tlmviewer/SpacerWidget-DYAlt5mt-9808c7e09040836757c8.js +0 -1
  115. data/tools/tlmviewer/SparklineWidget-CDrVXOFV-5f3422e8f1d2cfbce347.js +0 -1
  116. data/tools/tlmviewer/TabbookWidget-DDdlzCkv-4cb9d3be58ce6f05d747.js +0 -1
  117. data/tools/tlmviewer/TextboxWidget-5euFelEq-2482450d5c931c1113a3.js +0 -1
  118. data/tools/tlmviewer/TextfieldWidget-BFripYeh-b1bd68f07ac3ef77882c.js +0 -1
  119. data/tools/tlmviewer/TimeWidget-BBSbsUYJ-5d4c1d86c386dbbf905c.js +0 -1
  120. data/tools/tlmviewer/TitleWidget-p8cjo-Bs-a7af9988df0b05b80d65.js +0 -1
  121. data/tools/tlmviewer/ValueWidget-CZh7JWwT-e746b019c8958e7e1580.js +0 -1
  122. data/tools/tlmviewer/ValuelimitsbarWidget-DU7ybswC-9de33cdfa854288acf1a.js +0 -1
  123. data/tools/tlmviewer/ValuelimitscolumnWidget-DMw-h5jM-e29749888e7c8a7aeffd.js +0 -1
  124. data/tools/tlmviewer/ValuerangebarWidget-DPpofDpA-6da22682997bff6feac1.js +0 -1
  125. data/tools/tlmviewer/VerticalWidget-Ch7VAEmz-5cbb8bc65a48a0198b23.js +0 -1
  126. data/tools/tlmviewer/VerticalboxWidget-DYx-TFT4-39b8213ffe9e052b0d6a.js +0 -1
@@ -1 +1 @@
1
- System.register(["./main-ba9a9a82c5555f5fd208.js","./Widget-orNSvnOh-b2a9201f5a2da2b98a95.js"],function(S,T){"use strict";var _,w;return{setters:[h=>{_=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 V(E(n),arguments)}function I(n,u){return c.apply(null,[n].concat(u||[]))}function V(n,u){var i=1,p=n.length,e,o="",l,a,r,m,g,y,v,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)&&(v=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)&&(!v||r.sign)?(d=v?"+":"-",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 E(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,_,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})}}})}}});
1
+ System.register(["./main-77da3e732b4aa0419678.js","./Widget-C4QVI4IH-77557544d86f5014c3b6.js"],function(S,T){"use strict";var _,w;return{setters:[h=>{_=h.P},h=>{w=h.o}],execute:function(){var h={},I;function x(){return I||(I=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 k(E(n),arguments)}function b(n,u){return c.apply(null,[n].concat(u||[]))}function k(n,u){var i=1,p=n.length,e,o="",l,a,r,m,g,y,v,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)&&(v=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)&&(!v||r.sign)?(d=v?"+":"-",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 E(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=b,typeof window<"u"&&(window.sprintf=c,window.vsprintf=b)})()}(h)),h}x();const V={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],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-77da3e732b4aa0419678.js","vue","./DetailsDialog-DLRMqetn-8f3b8c2058cbb4487dd9.js","single-spa","./VWidget-02CG-3Av-6dd8f41abb30e51c1336.js","vue-router","vuex","vuetify","./Widget-C4QVI4IH-77557544d86f5014c3b6.js"],function(w,I){"use strict";var c,a,r,o,d,n,l,m,p,v,u,g,h,f,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,l=e.withCtx,m=e.mergeProps,p=e.createSlots,v=e.createElementVNode,u=e.toDisplayString,g=e.Fragment,h=e.renderList,f=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,W,j,z,k){const E=a("rux-status"),_=a("v-text-field"),L=a("v-tooltip"),N=a("v-list-item-title"),M=a("v-list-item"),T=a("v-list"),B=a("v-menu"),P=a("details-dialog");return r(),o("div",{class:"value-widget-container",style:d([t.computedStyle,k.aging])},[n(L,{location:"top"},{activator:l(({props:s})=>[n(_,m({variant:"solo",density:"compact",flat:"",readonly:"","hide-details":"","model-value":t._value,class:t.valueClass,"data-test":"value",onContextmenu:t.showContextMenu},s),p({_:2},[t.astroStatus?{name:"prepend-inner",fn:l(()=>[n(E,{status:t.astroStatus},null,8,["status"])]),key:"0"}:void 0]),1040,["model-value","class","onContextmenu"])]),default:l(()=>[v("span",null,u(k.fullName),1)]),_:1}),n(B,{modelValue:t.contextMenuShown,"onUpdate:modelValue":i[0]||(i[0]=s=>t.contextMenuShown=s),target:[t.x,t.y],style:{"z-index":"3000"}},{default:l(()=>[n(T,null,{default:l(()=>[(r(!0),o(g,null,h(t.contextMenuOptions,(s,A)=>(r(),f(M,{key:A,onClick:x(s.action,["stop"])},{default:l(()=>[n(N,null,{default:l(()=>[y(u(s.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]=s=>t.viewDetails=s)},null,8,["target-name","packet-name","item-name","modelValue"])],4)}const U=w("default",c(S,[["render",D],["__scopeId","data-v-c21e4dde"]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./ValueWidget-KLYY8L8U-981e9679ee74d7dd44a0.js","./LimitsbarWidget-DXbqsi4J-a0b11379621e58f2e076.js","./Widget-C4QVI4IH-77557544d86f5014c3b6.js","vue","./main-77da3e732b4aa0419678.js","./DetailsDialog-DLRMqetn-8f3b8c2058cbb4487dd9.js","single-spa","./VWidget-02CG-3Av-6dd8f41abb30e51c1336.js","vue-router","vuex","vuetify","./BarColumn-Cdu3OoMa-8d82722b7b5e62629a35.js"],function(g,f){"use strict";var l,i,a,s,u,o,c,n,r,m;return{setters:[e=>{l=e.default},e=>{i=e.default},e=>{a=e.o},e=>{s=e.resolveComponent,u=e.openBlock,o=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,j,w,y){const p=s("value-widget"),v=s("limitsbar-widget");return u(),o("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 b=g("default",m(e,[["render",d]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./ValueWidget-KLYY8L8U-981e9679ee74d7dd44a0.js","./LimitscolumnWidget-BfY4su5U-5b67e1bac65777add469.js","./Widget-C4QVI4IH-77557544d86f5014c3b6.js","vue","./main-77da3e732b4aa0419678.js","./DetailsDialog-DLRMqetn-8f3b8c2058cbb4487dd9.js","single-spa","./VWidget-02CG-3Av-6dd8f41abb30e51c1336.js","vue-router","vuex","vuetify","./BarColumn-Cdu3OoMa-8d82722b7b5e62629a35.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,j,w,y,z,B){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-KLYY8L8U-981e9679ee74d7dd44a0.js","./RangebarWidget-DHS7S3vI-e692659dc1e7d71f25e6.js","./Widget-C4QVI4IH-77557544d86f5014c3b6.js","vue","./main-77da3e732b4aa0419678.js","./DetailsDialog-DLRMqetn-8f3b8c2058cbb4487dd9.js","single-spa","./VWidget-02CG-3Av-6dd8f41abb30e51c1336.js","vue-router","vuex","vuetify"],function(g,f){"use strict";var n,i,l,r,u,m,o,s,a,p;return{setters:[e=>{n=e.default},e=>{i=e.default},e=>{l=e.o},e=>{r=e.resolveComponent,u=e.openBlock,m=e.createElementBlock,o=e.normalizeStyle,s=e.createVNode,a=e.mergeProps},e=>{p=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,V,x,j,w,c){const v=r("value-widget"),h=r("rangebar-widget");return u(),m("div",{ref:"container",class:"d-flex flex-row",style:o(t.computedStyle)},[s(v,a(t.$attrs,{parameters:c.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:c.rangeBarParameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"widget-index":1}),null,16,["parameters","settings","screen-values"])],4)}const S=g("default",p(e,[["render",d]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Layout-C1HoM4Kl-16582a7fb597a91b7893.js","vue","./main-77da3e732b4aa0419678.js","./Widget-C4QVI4IH-77557544d86f5014c3b6.js","vue-router","single-spa","vuex","vuetify"],function(y,k){"use strict";var a,r,i,c,o,u,m,g,p,f;return{setters:[e=>{a=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:[a],created:function(){if(this.parameters[0]){let n=this.parameters[0];this.widgets.forEach(l=>{l.settings.find(s=>s[0]==="MARGIN"||s[0]==="RAW"&&s[1].toUpperCase().includes("MARGIN"))===void 0&&l.settings.push(["MARGIN",n])})}}};function v(n,l,s,B,w,C){return r(),i("div",{ref:"container",style:c(n.computedStyle)},[(r(!0),i(o,null,u(n.widgets,(t,d)=>(r(),m(g(t.type),p({ref_for:!0},n.listeners,{key:d,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 h=y("default",f(e,[["render",v]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./VerticalWidget-z6xUM-ql-8b2da906efb985d05096.js","./Layout-C1HoM4Kl-16582a7fb597a91b7893.js","vue","./main-77da3e732b4aa0419678.js","./Widget-C4QVI4IH-77557544d86f5014c3b6.js","vue-router","single-spa","vuex","vuetify"],function(d,V){"use strict";var r,l,n,i,a,s,c,o,u,g,p,v;return{setters:[e=>{r=e.default},e=>{l=e.r},e=>{n=e.resolveComponent,i=e.openBlock,a=e.createElementBlock,s=e.createVNode,c=e.normalizeStyle,o=e.withCtx,u=e.createTextVNode,g=e.toDisplayString,p=e.mergeProps},e=>{v=e.s},null,null,null,null,null],execute:function(){const e={mixins:[l],components:{VerticalWidget:r}};function m(t,w,C,S,k,z){const y=n("v-banner"),x=n("vertical-widget");return i(),a("div",null,[s(y,{class:"boxbanner",style:c(t.computedStyle),"single-line":""},{default:o(()=>[u(g(t.parameters[0]),1)]),_:1},8,["style"]),s(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 f=d("default",v(e,[["render",m],["__scopeId","data-v-832aa5cd"]]))}}});
@@ -1 +1 @@
1
- System.register(["./main-ba9a9a82c5555f5fd208.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-77da3e732b4aa0419678.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}`}}})}}});