openc3-cosmos-tool-limitsmonitor 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/limitsmonitor/ArrayWidget-BTxChSds-65d00bda9994f3c7af53.js +2 -0
  3. data/tools/limitsmonitor/BarColumn-Cdu3OoMa-f3e59682751452abe45e.js +1 -0
  4. data/tools/limitsmonitor/BlockWidget-PmjzrkXF-74f288c0d604e52c6553.js +2 -0
  5. data/tools/limitsmonitor/ButtonWidget-nwDlOBJT-e013309f09e21f889abb.js +2 -0
  6. data/tools/limitsmonitor/CanvasWidget-BL8930eT-b19d22b5d879eb1c88e6.js +1 -0
  7. data/tools/limitsmonitor/CanvasdotWidget-VCf1fL-G-c9907c8df5f84b6b0fbe.js +1 -0
  8. data/tools/limitsmonitor/CanvasimageWidget-BIw7Wbf2-47faa804e56abbb56cd2.js +1 -0
  9. data/tools/limitsmonitor/CanvasimagevalueWidget-CE3Dj5bH-2b0426b6ee55fad5ec60.js +1 -0
  10. data/tools/limitsmonitor/CanvaslabelWidget-DWmb356h-89a1044980637ac7426a.js +1 -0
  11. data/tools/limitsmonitor/CanvaslabelvalueWidget-CI3yYwFs-ef79b31473cd36a5184d.js +1 -0
  12. data/tools/limitsmonitor/CanvaslineWidget-COeapH3P-a48defe04ae5bc502516.js +1 -0
  13. data/tools/limitsmonitor/CanvaslinevalueWidget-CI-Bbzfi-1bc460c83a527949f43c.js +1 -0
  14. data/tools/limitsmonitor/CheckbuttonWidget-BQhggcZ2-c29cd378753ee61fdcfd.js +1 -0
  15. data/tools/limitsmonitor/ComboboxWidget-BzsbOv54-bb110f0faf59341868c3.js +1 -0
  16. data/tools/limitsmonitor/DateWidget-B5R_9rA8-4dbc82988b60bc852e56.js +1 -0
  17. data/tools/limitsmonitor/{DetailsDialog-EWjtBjle-b24b02d7557d1d554a42.js → DetailsDialog-DLRMqetn-c1e88264145accbab84b.js} +1 -1
  18. data/tools/limitsmonitor/DynamicWidget-m9EliUR2-fd2b4aed9ce4129cfda1.js +1 -0
  19. data/tools/limitsmonitor/FormatvalueWidget-DZkRJce8-66d5ebdbb8fa9bfffd42.js +1 -0
  20. data/tools/limitsmonitor/GraphWidget-amwxyH1r-4073e232ed355ac937c3.js +1 -0
  21. data/tools/limitsmonitor/HorizontalWidget-CirtfuL8-76222a0598554913fb45.js +1 -0
  22. data/tools/limitsmonitor/HorizontalboxWidget-CyTDt2nl-1d712f58bdd1eeef6341.js +1 -0
  23. data/tools/limitsmonitor/HorizontallineWidget-BdlNB951-c740983cc62e6fb9d4f7.js +1 -0
  24. data/tools/limitsmonitor/IframeWidget-DnJmCrCA-e9b8bb8889de79053e02.js +1 -0
  25. data/tools/limitsmonitor/{ImageLoader-CDLQopxJ-c630468b1a11fb4e1691.js → ImageLoader-CpcR6tPi-1fee4f3eeb0a6c520534.js} +1 -1
  26. data/tools/limitsmonitor/ImageviewerWidget-DIkmb_C9-f8deed1e463e6234b3cc.js +1 -0
  27. data/tools/limitsmonitor/LabelWidget-BDsypYho-7ecf5d7880379e8c7c90.js +1 -0
  28. data/tools/limitsmonitor/LabelledWidget-DjturGl5-9818a24064f153599b46.js +1 -0
  29. data/tools/limitsmonitor/LabelprogressbarWidget-RADJGLj3-b609754f25d29041a064.js +1 -0
  30. data/tools/limitsmonitor/LabelsparklineWidget-BlJoICxu-febffeae5bb6e1740de5.js +1 -0
  31. data/tools/limitsmonitor/LabelvalueWidget-DVWJqnlY-a49572cfacf09e4a43a2.js +1 -0
  32. data/tools/limitsmonitor/LabelvaluedescWidget-CsUP7J4U-7fa85b703fbf191fcedb.js +1 -0
  33. data/tools/limitsmonitor/LabelvaluelimitsbarWidget-Blj1QXV8-b1933e9a91f63814e2ed.js +1 -0
  34. data/tools/limitsmonitor/LabelvaluelimitscolumnWidget-CvCo-uCe-e007e4876029e2e644a9.js +1 -0
  35. data/tools/limitsmonitor/LabelvaluerangebarWidget-DpcXhlfF-110728320d02af581302.js +1 -0
  36. data/tools/limitsmonitor/{Layout-klOVw-YN-20ac5f974706ac7f86f8.js → Layout-C1HoM4Kl-a7bbda53a092bc45e06c.js} +1 -1
  37. data/tools/limitsmonitor/LedWidget-B_K2e5tq-b44a870758414b940abc.js +1 -0
  38. data/tools/limitsmonitor/{LimitsMonitor-14a1b12d5db13932f960.js → LimitsMonitor-b8df7d7c646a318a25c2.js} +6 -6
  39. data/tools/limitsmonitor/LimitsbarWidget-DXbqsi4J-696a879f4a055ef98599.js +1 -0
  40. data/tools/limitsmonitor/LimitscolorWidget-Ckmuw0YX-bdec13a8d949afa47839.js +1 -0
  41. data/tools/limitsmonitor/LimitscolumnWidget-BfY4su5U-c8781d4bdbecf7fdd11f.js +1 -0
  42. data/tools/limitsmonitor/LinegraphWidget-y-Qy9P0R-5f325ad442a6b47d5ea2.js +1 -0
  43. data/tools/limitsmonitor/MatrixbycolumnsWidget-BTBColrs-bbeaeda00156fd16d638.js +1 -0
  44. data/tools/limitsmonitor/ProgressbarWidget-DpA_-vy9-9c2139820ff60bec25ba.js +1 -0
  45. data/tools/limitsmonitor/RadiobuttonWidget-BO8zpgwW-e530c276d2eed96b427a.js +1 -0
  46. data/tools/limitsmonitor/RadiogroupWidget-Oy7V4S-V-b062d220324dcf01dc6d.js +1 -0
  47. data/tools/limitsmonitor/RangebarWidget-DHS7S3vI-5d976a46f05c7e82dbf6.js +1 -0
  48. data/tools/limitsmonitor/RollupWidget-CTk9Kjwr-77a9d97d948244754e59.js +1 -0
  49. data/tools/limitsmonitor/ScrollwindowWidget-DD0TOW6s-7f7bb8a17a58ebddc78a.js +1 -0
  50. data/tools/limitsmonitor/SignalWidget-CC33KMTW-8fac7121eceff94ef2da.js +1 -0
  51. data/tools/limitsmonitor/SpacerWidget-BnJe_Hq6-8893dd34d7ecb5177949.js +1 -0
  52. data/tools/limitsmonitor/SparklineWidget-DMvMQCPm-9342560c9e564a75141e.js +1 -0
  53. data/tools/limitsmonitor/TabbookWidget-B3w0JtWe-1d3e4ec1c6d30252a7cd.js +1 -0
  54. data/tools/limitsmonitor/TextboxWidget-D2f0-eol-aead932f5c02ac95f128.js +1 -0
  55. data/tools/limitsmonitor/TextfieldWidget-DXSdgqVP-76a3154f5d2f79a4de0e.js +1 -0
  56. data/tools/limitsmonitor/TimeWidget-DvrRaEMz-289d89642e8f6650dda5.js +1 -0
  57. data/tools/limitsmonitor/TitleWidget-DqViFQl--28c4c2a430b45c39d324.js +1 -0
  58. data/tools/limitsmonitor/{VWidget-Dmqf_jKM-333d9f72703631d3e38d.js → VWidget-02CG-3Av-d3c5e53d610f42607c18.js} +1 -1
  59. data/tools/limitsmonitor/ValueWidget-KLYY8L8U-e4b9e6d7b4f7d73b123b.js +1 -0
  60. data/tools/limitsmonitor/ValuelimitsbarWidget-SR8XNZFB-bbed09d409c05b7c7578.js +1 -0
  61. data/tools/limitsmonitor/ValuelimitscolumnWidget-xYZSp6YZ-e3e034b12de43d3cf04a.js +1 -0
  62. data/tools/limitsmonitor/ValuerangebarWidget-B6M02a9d-66ad8df1e4044153277c.js +1 -0
  63. data/tools/limitsmonitor/VerticalWidget-z6xUM-ql-a4f3f144ebc6cd085694.js +1 -0
  64. data/tools/limitsmonitor/VerticalboxWidget-3a9cVsW--66457f471e66437f47a2.js +1 -0
  65. data/tools/limitsmonitor/{Widget-orNSvnOh-6ec319170375184425f8.js → Widget-C4QVI4IH-5a97554019dbe2ca69fb.js} +1 -1
  66. data/tools/limitsmonitor/{main-8debb7e915cdd6326f39.js → main-327494fd5f18e09d7319.js} +35 -35
  67. data/tools/limitsmonitor/main.js +1 -1
  68. metadata +67 -67
  69. data/tools/limitsmonitor/ArrayWidget-By62tXtU-ad146c127e05d9d53494.js +0 -2
  70. data/tools/limitsmonitor/BarColumn-Dm3D1Lhp-fdec8244c0f90e6e1325.js +0 -1
  71. data/tools/limitsmonitor/BlockWidget-CrT45ode-d2e667c09279c76b7b9d.js +0 -2
  72. data/tools/limitsmonitor/ButtonWidget-CKyBBv6m-e47579b18506319f123b.js +0 -2
  73. data/tools/limitsmonitor/CanvasWidget-PqkppHC7-a22296c937ade1fb24cd.js +0 -1
  74. data/tools/limitsmonitor/CanvasdotWidget-BUbJgM2d-54ad53272cdf38f5ff5d.js +0 -1
  75. data/tools/limitsmonitor/CanvasimageWidget-DPVBY7mi-afc5d57d372f967d4265.js +0 -1
  76. data/tools/limitsmonitor/CanvasimagevalueWidget-GX37zzNc-a22fc5153a4beb7d9aae.js +0 -1
  77. data/tools/limitsmonitor/CanvaslabelWidget-P2_Y6Edw-19583588838a892d5b21.js +0 -1
  78. data/tools/limitsmonitor/CanvaslabelvalueWidget-Cuas1i9P-34ea049a79ea88f8d677.js +0 -1
  79. data/tools/limitsmonitor/CanvaslineWidget-BYOYgPya-55bad769ca0a9953d571.js +0 -1
  80. data/tools/limitsmonitor/CanvaslinevalueWidget-3cVJMFo7-5cc46cab0378180998e3.js +0 -1
  81. data/tools/limitsmonitor/CheckbuttonWidget-B3wgSMuB-845445e8463974acddaf.js +0 -1
  82. data/tools/limitsmonitor/ComboboxWidget-Dzr4Scvf-7c2fe560de9972521377.js +0 -1
  83. data/tools/limitsmonitor/DateWidget-BWh76Ibb-effe6fd419cb0dae69ec.js +0 -1
  84. data/tools/limitsmonitor/DynamicWidget-m9EliUR2-1f7401ab462f9e039531.js +0 -1
  85. data/tools/limitsmonitor/FormatvalueWidget-Rk0_eeIm-d0450323509986aafe45.js +0 -1
  86. data/tools/limitsmonitor/GraphWidget-LqekkNDr-88026a0ec5411b332ea4.js +0 -1
  87. data/tools/limitsmonitor/HorizontalWidget-BcfJ24Zn-764e85c081b444cea374.js +0 -1
  88. data/tools/limitsmonitor/HorizontalboxWidget-CQy1Hv9E-4b19485ac8f2b95efba8.js +0 -1
  89. data/tools/limitsmonitor/HorizontallineWidget-BdlNB951-e9fd62c4a2a74bc23ea1.js +0 -1
  90. data/tools/limitsmonitor/IframeWidget-BBaDrRLo-d8d1ddb1ce717349f93e.js +0 -1
  91. data/tools/limitsmonitor/ImageviewerWidget-BgO3Pq6I-3da33d9d27a7082d1236.js +0 -1
  92. data/tools/limitsmonitor/LabelWidget-B_C6lKOE-1e79c0ad0a159610ee4e.js +0 -1
  93. data/tools/limitsmonitor/LabelledWidget-B_UGivhr-c20d48f473a495c41d18.js +0 -1
  94. data/tools/limitsmonitor/LabelprogressbarWidget-BJWCmsYC-4e01911fdf581237d2f9.js +0 -1
  95. data/tools/limitsmonitor/LabelsparklineWidget-DILCIh3q-1a0e86a51a725c3a641d.js +0 -1
  96. data/tools/limitsmonitor/LabelvalueWidget-CCZd1NXE-473fd055e97f502ab735.js +0 -1
  97. data/tools/limitsmonitor/LabelvaluedescWidget-Bsllq8W6-a950caaf9472ecd7cbf6.js +0 -1
  98. data/tools/limitsmonitor/LabelvaluelimitsbarWidget-BV-cfaD--4a28581f095c37fbaf79.js +0 -1
  99. data/tools/limitsmonitor/LabelvaluelimitscolumnWidget-DwA0eRBw-8a1ef043193a96c8d584.js +0 -1
  100. data/tools/limitsmonitor/LabelvaluerangebarWidget-3GDJz3dj-b05258ef610d07de9689.js +0 -1
  101. data/tools/limitsmonitor/LedWidget-BAt02s0J-325a5de97e922c924c05.js +0 -1
  102. data/tools/limitsmonitor/LimitsbarWidget-JJiyzZjb-bf74c230fd4486de7561.js +0 -1
  103. data/tools/limitsmonitor/LimitscolorWidget-CYzXKbYd-204a251798d079dc563f.js +0 -1
  104. data/tools/limitsmonitor/LimitscolumnWidget-Cd76tBo7-cd40a24099fe90301cf3.js +0 -1
  105. data/tools/limitsmonitor/LinegraphWidget-DWRtO6Ej-a8322153bf4581e86da0.js +0 -1
  106. data/tools/limitsmonitor/MatrixbycolumnsWidget-cwsyjNV2-caf861a7e79f7a712cfe.js +0 -1
  107. data/tools/limitsmonitor/ProgressbarWidget-CYDziFej-6cb8b61e3b6bc1f5b18b.js +0 -1
  108. data/tools/limitsmonitor/RadiobuttonWidget-U6jcQZoD-883f05933f344bf3feff.js +0 -1
  109. data/tools/limitsmonitor/RadiogroupWidget-HTPJnsB0-e7ba7ff775cfe1200901.js +0 -1
  110. data/tools/limitsmonitor/RangebarWidget-DW0FJK6y-12e56e5c6ed407c8b6b5.js +0 -1
  111. data/tools/limitsmonitor/RollupWidget-B2qrx55f-3f486a3aee97ad4e1926.js +0 -1
  112. data/tools/limitsmonitor/ScrollwindowWidget-CwIDxgO6-500ab59a7f45084082e6.js +0 -1
  113. data/tools/limitsmonitor/SignalWidget-Bosa3AbW-1d4626f4a18d741373e5.js +0 -1
  114. data/tools/limitsmonitor/SpacerWidget-DYAlt5mt-2006458fd5e192de3b00.js +0 -1
  115. data/tools/limitsmonitor/SparklineWidget-CDrVXOFV-55a1a73ee0499260b02b.js +0 -1
  116. data/tools/limitsmonitor/TabbookWidget-DDdlzCkv-52b05bf6613b17d5812f.js +0 -1
  117. data/tools/limitsmonitor/TextboxWidget-5euFelEq-224adbeb0cb097995d0a.js +0 -1
  118. data/tools/limitsmonitor/TextfieldWidget-BFripYeh-dc87552f29b6ddc44a87.js +0 -1
  119. data/tools/limitsmonitor/TimeWidget-BBSbsUYJ-4913fe8c15404911e7e8.js +0 -1
  120. data/tools/limitsmonitor/TitleWidget-p8cjo-Bs-ffc4e945a66008f53853.js +0 -1
  121. data/tools/limitsmonitor/ValueWidget-CZh7JWwT-d55d0787ee90048b7841.js +0 -1
  122. data/tools/limitsmonitor/ValuelimitsbarWidget-DU7ybswC-23f3348b61f2e4aef05a.js +0 -1
  123. data/tools/limitsmonitor/ValuelimitscolumnWidget-DMw-h5jM-ca61e563d0ed45afbe38.js +0 -1
  124. data/tools/limitsmonitor/ValuerangebarWidget-DPpofDpA-672da633158cd9816ae3.js +0 -1
  125. data/tools/limitsmonitor/VerticalWidget-Ch7VAEmz-b25faf00638fa942947f.js +0 -1
  126. data/tools/limitsmonitor/VerticalboxWidget-DYx-TFT4-99e426fb375e42b0fa01.js +0 -1
@@ -1 +1 @@
1
- System.register(["./main-8debb7e915cdd6326f39.js","./Widget-orNSvnOh-6ec319170375184425f8.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-327494fd5f18e09d7319.js","./Widget-C4QVI4IH-5a97554019dbe2ca69fb.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-327494fd5f18e09d7319.js","vue","./DetailsDialog-DLRMqetn-c1e88264145accbab84b.js","single-spa","./VWidget-02CG-3Av-d3c5e53d610f42607c18.js","vue-router","vuex","vuetify","./Widget-C4QVI4IH-5a97554019dbe2ca69fb.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-e4b9e6d7b4f7d73b123b.js","./LimitsbarWidget-DXbqsi4J-696a879f4a055ef98599.js","./Widget-C4QVI4IH-5a97554019dbe2ca69fb.js","vue","./main-327494fd5f18e09d7319.js","./DetailsDialog-DLRMqetn-c1e88264145accbab84b.js","single-spa","./VWidget-02CG-3Av-d3c5e53d610f42607c18.js","vue-router","vuex","vuetify","./BarColumn-Cdu3OoMa-f3e59682751452abe45e.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-e4b9e6d7b4f7d73b123b.js","./LimitscolumnWidget-BfY4su5U-c8781d4bdbecf7fdd11f.js","./Widget-C4QVI4IH-5a97554019dbe2ca69fb.js","vue","./main-327494fd5f18e09d7319.js","./DetailsDialog-DLRMqetn-c1e88264145accbab84b.js","single-spa","./VWidget-02CG-3Av-d3c5e53d610f42607c18.js","vue-router","vuex","vuetify","./BarColumn-Cdu3OoMa-f3e59682751452abe45e.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-e4b9e6d7b4f7d73b123b.js","./RangebarWidget-DHS7S3vI-5d976a46f05c7e82dbf6.js","./Widget-C4QVI4IH-5a97554019dbe2ca69fb.js","vue","./main-327494fd5f18e09d7319.js","./DetailsDialog-DLRMqetn-c1e88264145accbab84b.js","single-spa","./VWidget-02CG-3Av-d3c5e53d610f42607c18.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-a7bbda53a092bc45e06c.js","vue","./main-327494fd5f18e09d7319.js","./Widget-C4QVI4IH-5a97554019dbe2ca69fb.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-a4f3f144ebc6cd085694.js","./Layout-C1HoM4Kl-a7bbda53a092bc45e06c.js","vue","./main-327494fd5f18e09d7319.js","./Widget-C4QVI4IH-5a97554019dbe2ca69fb.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-8debb7e915cdd6326f39.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-327494fd5f18e09d7319.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}`}}})}}});