openc3-cosmos-tool-tlmgrapher 5.20.0 → 6.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (79) hide show
  1. checksums.yaml +4 -4
  2. data/plugin.txt +1 -1
  3. data/tools/tlmgrapher/ArrayWidget-By62tXtU-ca93d4bccc5ff2fb9f80.js +2 -0
  4. data/tools/tlmgrapher/BarColumn-Dm3D1Lhp-ec78839c989cf756abdd.js +1 -0
  5. data/tools/tlmgrapher/BlockWidget-CrT45ode-7051c6f6ffdd54b49542.js +2 -0
  6. data/tools/tlmgrapher/ButtonWidget-CKyBBv6m-b9aa430850a622afc5b2.js +2 -0
  7. data/tools/tlmgrapher/CanvasWidget-PqkppHC7-563590939356be058598.js +1 -0
  8. data/tools/tlmgrapher/CanvasdotWidget-BUbJgM2d-130530b874c461824f75.js +1 -0
  9. data/tools/tlmgrapher/CanvasimageWidget-DPVBY7mi-5a1aef18c8a552f44568.js +1 -0
  10. data/tools/tlmgrapher/CanvasimagevalueWidget-GX37zzNc-82a9936193f61cc224c7.js +1 -0
  11. data/tools/tlmgrapher/CanvaslabelWidget-P2_Y6Edw-51fdf3cf9cfe4ec64cdc.js +1 -0
  12. data/tools/tlmgrapher/CanvaslabelvalueWidget-Cuas1i9P-ca4ea68c808ad5f465cc.js +1 -0
  13. data/tools/tlmgrapher/CanvaslineWidget-BYOYgPya-49f2888871b833201f26.js +1 -0
  14. data/tools/tlmgrapher/CanvaslinevalueWidget-3cVJMFo7-2aafedcff58572d0c467.js +1 -0
  15. data/tools/tlmgrapher/CheckbuttonWidget-B3wgSMuB-886bc06155954f77f48f.js +1 -0
  16. data/tools/tlmgrapher/ComboboxWidget-Dzr4Scvf-cccc7ef7dd704592630f.js +1 -0
  17. data/tools/tlmgrapher/DateWidget-BWh76Ibb-33bc7cbc62501f3f50a7.js +1 -0
  18. data/tools/tlmgrapher/DetailsDialog-EWjtBjle-c7397b128a1627131c19.js +1 -0
  19. data/tools/tlmgrapher/DynamicWidget-m9EliUR2-85e5e4f769bd2333c46d.js +1 -0
  20. data/tools/tlmgrapher/FormatvalueWidget-Rk0_eeIm-3fad0aabce48d82227c4.js +1 -0
  21. data/tools/tlmgrapher/Graph-BFUsShJg-aaadbcb335c2c4356090.js +1 -0
  22. data/tools/tlmgrapher/GraphWidget-LqekkNDr-762dee3450f3a63fdce6.js +1 -0
  23. data/tools/tlmgrapher/HorizontalWidget-BcfJ24Zn-bb6e43939a1af6088c96.js +1 -0
  24. data/tools/tlmgrapher/HorizontalboxWidget-CQy1Hv9E-2182e053548ef44137b6.js +1 -0
  25. data/tools/tlmgrapher/HorizontallineWidget-BdlNB951-c4ecee3b93ece6577c80.js +1 -0
  26. data/tools/tlmgrapher/IframeWidget-BBaDrRLo-27f223eec109d8f7db52.js +1 -0
  27. data/tools/tlmgrapher/ImageLoader-CDLQopxJ-b1323ffc9d0ef4fa79d0.js +1 -0
  28. data/tools/tlmgrapher/ImageviewerWidget-BgO3Pq6I-6b1ae952f8b3ade01054.js +1 -0
  29. data/tools/tlmgrapher/LabelWidget-B_C6lKOE-1baf36ea950e16dc4a9f.js +1 -0
  30. data/tools/tlmgrapher/LabelledWidget-B_UGivhr-5c4bb8b0ef4831e38805.js +1 -0
  31. data/tools/tlmgrapher/LabelprogressbarWidget-BJWCmsYC-64c59786eda8df1167de.js +1 -0
  32. data/tools/tlmgrapher/LabelsparklineWidget-DILCIh3q-bd46b2a05594b9343fd1.js +1 -0
  33. data/tools/tlmgrapher/LabelvalueWidget-CCZd1NXE-80599e273c69443d1539.js +1 -0
  34. data/tools/tlmgrapher/LabelvaluedescWidget-Bsllq8W6-ea5d1fa3961ccb59361f.js +1 -0
  35. data/tools/tlmgrapher/LabelvaluelimitsbarWidget-BV-cfaD--9be2ea60f89605b35c22.js +1 -0
  36. data/tools/tlmgrapher/LabelvaluelimitscolumnWidget-DwA0eRBw-b446ecf51b825df1dc6d.js +1 -0
  37. data/tools/tlmgrapher/LabelvaluerangebarWidget-3GDJz3dj-c03c2e216127c2c85dc2.js +1 -0
  38. data/tools/tlmgrapher/Layout-klOVw-YN-1bd46bc37b38d46695d1.js +1 -0
  39. data/tools/tlmgrapher/LedWidget-BAt02s0J-953acf1731d56870bfcb.js +1 -0
  40. data/tools/tlmgrapher/LimitsbarWidget-JJiyzZjb-3cecd3f567a7e8ba26e9.js +1 -0
  41. data/tools/tlmgrapher/LimitscolorWidget-CYzXKbYd-cb2cb276d7ca552df655.js +1 -0
  42. data/tools/tlmgrapher/LimitscolumnWidget-Cd76tBo7-b74cfe4b46851a84cb94.js +1 -0
  43. data/tools/tlmgrapher/LinegraphWidget-DWRtO6Ej-6126a63a8bbe3ef954e8.js +1 -0
  44. data/tools/tlmgrapher/MatrixbycolumnsWidget-cwsyjNV2-8ed92c41bdf02bf404db.js +1 -0
  45. data/tools/tlmgrapher/ProgressbarWidget-CYDziFej-22eea35cade22945adc9.js +1 -0
  46. data/tools/tlmgrapher/RadiobuttonWidget-U6jcQZoD-f06732d4ac17d38b0884.js +1 -0
  47. data/tools/tlmgrapher/RadiogroupWidget-HTPJnsB0-22d7e1cae95a99f27481.js +1 -0
  48. data/tools/tlmgrapher/RangebarWidget-DW0FJK6y-dc1f38504dc9ff7de12c.js +1 -0
  49. data/tools/tlmgrapher/RollupWidget-B2qrx55f-e96463076f3725a606d8.js +1 -0
  50. data/tools/tlmgrapher/ScrollwindowWidget-CwIDxgO6-38ad642f98fa616f87b4.js +1 -0
  51. data/tools/tlmgrapher/SignalWidget-Bosa3AbW-30a7cca8aa3656212d15.js +1 -0
  52. data/tools/tlmgrapher/SpacerWidget-DYAlt5mt-2ec04c0e504f3d2603a0.js +1 -0
  53. data/tools/tlmgrapher/SparklineWidget-CDrVXOFV-5ba8f9e7b8b17b27f865.js +1 -0
  54. data/tools/tlmgrapher/TabbookWidget-DDdlzCkv-e233de21b68c60ccea10.js +1 -0
  55. data/tools/tlmgrapher/TextboxWidget-5euFelEq-8e66c4d7929723450b6a.js +1 -0
  56. data/tools/tlmgrapher/TextfieldWidget-BFripYeh-3d733576c4424a4320f1.js +1 -0
  57. data/tools/tlmgrapher/TimeWidget-BBSbsUYJ-8183ad8861caca8ad5da.js +1 -0
  58. data/tools/tlmgrapher/TitleWidget-p8cjo-Bs-b00740418070f62c6cf9.js +1 -0
  59. data/tools/tlmgrapher/TlmGrapher-164bfa075069a74a6411.js +26 -0
  60. data/tools/tlmgrapher/VWidget-Dmqf_jKM-f03d30579a2fe310f9fe.js +1 -0
  61. data/tools/tlmgrapher/ValueWidget-CZh7JWwT-5598101fe6c7553e1a1a.js +1 -0
  62. data/tools/tlmgrapher/ValuelimitsbarWidget-DU7ybswC-43c197ddc86e3d5da08f.js +1 -0
  63. data/tools/tlmgrapher/ValuelimitscolumnWidget-DMw-h5jM-260964873405de3ed849.js +1 -0
  64. data/tools/tlmgrapher/ValuerangebarWidget-DPpofDpA-a6c1f6b8a6d03e9d57ba.js +1 -0
  65. data/tools/tlmgrapher/VerticalWidget-Ch7VAEmz-63ba862975d6eab6a75f.js +1 -0
  66. data/tools/tlmgrapher/VerticalboxWidget-DYx-TFT4-1ed12b1a837f190793ab.js +1 -0
  67. data/tools/tlmgrapher/Widget-orNSvnOh-a98828cd439e9a94bd76.js +1 -0
  68. data/tools/tlmgrapher/main-ca88b1aac639693ffb5d.js +1420 -0
  69. data/tools/tlmgrapher/main.js +1 -0
  70. metadata +69 -11
  71. data/tools/tlmgrapher/index.html +0 -4
  72. data/tools/tlmgrapher/js/272.js +0 -2
  73. data/tools/tlmgrapher/js/272.js.map +0 -1
  74. data/tools/tlmgrapher/js/656.js +0 -2
  75. data/tools/tlmgrapher/js/656.js.map +0 -1
  76. data/tools/tlmgrapher/js/980.js +0 -23
  77. data/tools/tlmgrapher/js/980.js.map +0 -1
  78. data/tools/tlmgrapher/js/app.js +0 -2
  79. data/tools/tlmgrapher/js/app.js.map +0 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4dd837e842fe775144434a43d9ec9fcd868d025c2c4b8d25b44c3ac0ad861b4f
4
- data.tar.gz: 01af8dabe50177b2adba013739d67c41439f33ad2f2e2c8167c48f0a0bf056d7
3
+ metadata.gz: db8206a6a3a5b05ea3cb824713e9a40d5132c9c41bc469b33bbc375f8b8f1108
4
+ data.tar.gz: f64268483aad57d6a6b6785a9017d7228b39fa8d0ee3785c59fdc0baf65afe9f
5
5
  SHA512:
6
- metadata.gz: c78142fa22d400f68736d659f021957b64ae642c0926577351385956cb245bd3fcc7501ec21abf571ccfd3c11cf380ec2035b3674d913ee788988a43e0754ea6
7
- data.tar.gz: a9d581dc7b1335f07f74f5c9fcfbffc04eb2e6fbb2a20cbb76d4ae70ce3db429c77f3d57b75875b082188685c0964a805c07de6203975d18873602d2fc4bb705
6
+ metadata.gz: dcb234eb227e4a01c1e25bdbb0df49f573a5742607b6d7f16d78f731007ef3f09fec70607fcaf348558c44bfd71bf02cc241e3ea1d91f32881e55fcd3bc6d67a
7
+ data.tar.gz: 4360119a9860220c2e2ca8b16ed5c32c2508c0b9715bafb039a7305368f210fcf28cf43ea55cba90d15250e6c0d648094f1e93593da9c1bded204225479ce837
data/plugin.txt CHANGED
@@ -1,4 +1,4 @@
1
1
  TOOL tlmgrapher "Telemetry Grapher"
2
- INLINE_URL js/app.js
2
+ INLINE_URL main.js
3
3
  ICON mdi-chart-line
4
4
  POSITION 8
@@ -0,0 +1,2 @@
1
+ System.register(["./main-ca88b1aac639693ffb5d.js","vue","./DetailsDialog-EWjtBjle-c7397b128a1627131c19.js","./VWidget-Dmqf_jKM-f03d30579a2fe310f9fe.js","vue-router","vuex","vuetify","./Widget-orNSvnOh-a98828cd439e9a94bd76.js"],function(S,P){"use strict";var h,a,m,c,i,d,p,l,g,f,v,w,y,x,C,V;return{setters:[t=>{h=t.s},t=>{a=t.resolveComponent,m=t.openBlock,c=t.createElementBlock,i=t.createVNode,d=t.normalizeClass,p=t.normalizeStyle,l=t.withCtx,g=t.Fragment,f=t.renderList,v=t.createBlock,w=t.withModifiers,y=t.createTextVNode,x=t.toDisplayString},t=>{C=t.P},t=>{V=t.L},null,null,null,null],execute:function(){const t={components:{DetailsDialog:C},data:function(){return{width:200,height:100,itemsPerRow:4,formatter:null}},mixins:[V],computed:{aging(){return{"--aging":this.grayLevel}}},created:function(){this.width=this.setWidth(this.parameters[3],"px",this.width),this.height=this.setHeight(this.parameters[4],"px",this.height),this.parameters[5]&&(this.formatter=this.parameters[5]),this.parameters[6]&&(this.itemsPerRow=parseInt(this.parameters[6]))},methods:{getType:function(){let e="CONVERTED";return this.parameters[7]&&(e=this.parameters[7]),e},formatValue:function(e){var r;let s="",k=" ",D=`
2
+ `,o=0;if(Array.isArray(e)){for(const u of e)this.formatter&&((r=this.formatter)==null?void 0:r.toLowerCase())!=="nil"?s+=sprintf(this.formatter,u):s+=u,o+=1,o%this.itemsPerRow===0?(o=0,s+=D):s+=k;return s.trim()}else return e}}},_={class:"array-widget-container"};function B(e,r,s,k,D,o){const u=a("v-textarea"),j=a("v-list-item-title"),M=a("v-list-item"),z=a("v-list"),L=a("v-menu"),N=a("details-dialog");return m(),c("div",_,[i(u,{variant:"solo",density:"compact",readonly:"","no-resize":"","auto-grow":"",rows:"2","hide-details":"","model-value":e._value,class:d(e.valueClass),style:p([e.computedStyle,o.aging]),"data-test":"array-widget",onContextmenu:e.showContextMenu},null,8,["model-value","class","style","onContextmenu"]),i(L,{modelValue:e.contextMenuShown,"onUpdate:modelValue":r[0]||(r[0]=n=>e.contextMenuShown=n),target:[e.x,e.y]},{default:l(()=>[i(z,null,{default:l(()=>[(m(!0),c(g,null,f(e.contextMenuOptions,(n,E)=>(m(),v(M,{key:E,onClick:w(n.action,["stop"])},{default:l(()=>[i(j,null,{default:l(()=>[y(x(n.title),1)]),_:2},1024)]),_:2},1032,["onClick"]))),128))]),_:1})]),_:1},8,["modelValue","target"]),i(N,{"target-name":e.parameters[0],"packet-name":e.parameters[1],"item-name":e.parameters[2],modelValue:e.viewDetails,"onUpdate:modelValue":r[1]||(r[1]=n=>e.viewDetails=n)},null,8,["target-name","packet-name","item-name","modelValue"])])}const R=S("default",h(t,[["render",B],["__scopeId","data-v-62b9e9e1"]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-orNSvnOh-a98828cd439e9a94bd76.js","./main-ca88b1aac639693ffb5d.js"],function(a,n){"use strict";var h,l;return{setters:[s=>{h=s.o},s=>{l=s.W}],execute:function(){const s=a("u",{mixins:[h],data(){return{minValue:null,maxValue:null,redLow:0,yellowLow:0,greenLow:0,greenHigh:0,yellowHigh:0,redHigh:0,blue:0,api:null,limitsSettings:{DEFAULT:[]},currentLimitsSet:"DEFAULT",currentSetRefreshInterval:null}},computed:{cssProps:function(){let t=this.screenValues[this.valueId][0],i=this.modifyLimits(this.limitsSettings[this.selectedLimitsSet]);return this.calcLimits(i),{"--height":this.height+"px","--width":this.width+"px","--container-height":this.height-5+"px","--position":this.calcPosition(t,i)+"%","--redlow-width":this.redLow+"%","--redhigh-width":this.redHigh+"%","--yellowlow-width":this.yellowLow+"%","--yellowhigh-width":this.yellowHigh+"%","--greenlow-width":this.greenLow+"%","--greenhigh-width":this.greenHigh+"%","--blue-width":this.blue+"%"}},selectedLimitsSet:function(){return this.limitsSettings.hasOwnProperty(this.currentLimitsSet)?this.currentLimitsSet:"DEFAULT"}},created(){this.api=new l,this.api.get_limits(this.parameters[0],this.parameters[1],this.parameters[2]).then(t=>{this.limitsSettings=t}),this.getCurrentLimitsSet(),this.currentSetRefreshInterval=setInterval(this.getCurrentLimitsSet,6e4),this.appliedSettings.forEach(t=>{t[0]==="MIN_VALUE"&&(this.minValue=parseInt(t[1])),t[0]==="MAX_VALUE"&&(this.maxValue=parseInt(t[1]))}),this.width=this.setWidth(this.parameters[4],"px",this.width),this.height=this.setHeight(this.parameters[5],"px",this.height),this.valueId=`${this.parameters[0]}__${this.parameters[1]}__${this.parameters[2]}__CONVERTED`,this.$emit("addItem",this.valueId)},destroyed(){this.$emit("deleteItem",this.valueId),clearInterval(this.currentSetRefreshInterval)},methods:{modifyLimits(t){this.redLow=10,this.redHigh=10,this.minValue!==null&&(t[0]<=this.minValue&&(t[0]=this.minValue,this.redLow=0),t[1]<=this.minValue&&(t[1]=this.minValue),t[2]<=this.minValue&&(t[2]=this.minValue),t[3]<=this.minValue&&(t[3]=this.minValue),t.length>4&&t[4]<=this.minValue&&(t[4]=this.minValue),t.length>4&&t[5]<=this.minValue&&(t[5]=this.minValue)),this.maxValue!==null&&(t[0]>=this.maxValue&&(t[0]=this.maxValue),t[1]>=this.maxValue&&(t[1]=this.maxValue),t[2]>=this.maxValue&&(t[2]=this.maxValue),t[3]>=this.maxValue&&(t[3]=this.maxValue,this.redHigh=0),t.length>4&&t[4]>=this.maxValue&&(t[4]=this.maxValue),t.length>4&&t[5]>=this.maxValue&&(t[5]=this.maxValue)),t[0]==t[1]&&(this.yellowLow=0),t[2]==t[3]&&(this.yellowHigh=0);let i=80;return this.redLow==0&&(i+=10),this.redHigh==0&&(i+=10),this.scale=(t[3]-t[0])/i,t},calcPosition(t,i){if(!t||!i)return;let r=i[0]-10*this.scale;if(this.minValue&&this.minValue==i[0]&&(r=i[0]),i[3]-10*this.scale,this.maxValue&&this.maxValue==i[3]&&i[3],t.raw)return t.raw==="-Infinity"?0:100;if(t<this.min)return 0;if(t>this.max)return 100;{const e=parseInt((t-r)/this.scale);return e>100?100:e<0?0:e}},calcLimits(t){t&&(this.yellowLow=Math.round((t[1]-t[0])/this.scale),this.yellowHigh=Math.round((t[3]-t[2])/this.scale),t.length>4?(this.greenLow=Math.round((t[4]-t[1])/this.scale),this.greenHigh=Math.round((t[2]-t[5])/this.scale),this.blue=Math.round(100-this.redLow-this.yellowLow-this.greenLow-this.greenHigh-this.yellowHigh-this.redHigh)):(this.greenLow=Math.round(100-this.redLow-this.yellowLow-this.yellowHigh-this.redHigh),this.greenHigh=0,this.blue=0))},getCurrentLimitsSet:function(){this.api.get_limits_set().then(t=>{this.currentLimitsSet=t})}}})}}});
@@ -0,0 +1,2 @@
1
+ System.register(["./main-ca88b1aac639693ffb5d.js","vue","./DetailsDialog-EWjtBjle-c7397b128a1627131c19.js","./VWidget-Dmqf_jKM-f03d30579a2fe310f9fe.js","vue-router","vuex","vuetify","./Widget-orNSvnOh-a98828cd439e9a94bd76.js"],function(P,z){"use strict";var u,a,h,m,s,p,g,o,w,f,v,y,x,k,C,V;return{setters:[e=>{u=e.s},e=>{a=e.resolveComponent,h=e.openBlock,m=e.createElementBlock,s=e.createVNode,p=e.normalizeClass,g=e.normalizeStyle,o=e.withCtx,w=e.Fragment,f=e.renderList,v=e.createBlock,y=e.withModifiers,x=e.createTextVNode,k=e.toDisplayString},e=>{C=e.P},e=>{V=e.L},null,null,null,null],execute:function(){const e={components:{DetailsDialog:C},data:function(){return{width:400,height:400,bytesPerWord:4,wordsPerRow:4,addrFormat:null,formatter:"%02X"}},mixins:[V],computed:{aging(){return{"--aging":this.grayLevel}},rows:function(){return(this.height-16)/24}},created:function(){this.width=this.setWidth(this.parameters[3],"px",this.width),this.height=this.setHeight(this.parameters[4],"px",this.height),this.parameters[5]&&(this.formatter=this.parameters[5]),this.parameters[6]&&(this.bytesPerWord=parseInt(this.parameters[6])),this.parameters[7]&&(this.wordsPerRow=parseInt(this.parameters[7])),this.parameters[8]&&(this.addrFormat=this.parameters[8])},methods:{getType:function(){let t="RAW";return this.parameters[9]&&(t=this.parameters[9]),t},formatValue:function(t){let r="";if(t&&t.raw){let S=" ",D=`
2
+ `,i=0,l=0;const d=this.bytesPerWord*this.wordsPerRow;for(const c of t.raw)this.addrFormat&&i===0&&(r+=sprintf(this.addrFormat,l),l+=d),r+=sprintf(this.formatter,c),i+=1,i%d===0?(i=0,r+=D):i%this.bytesPerWord===0&&(r+=S)}else r=t;return r}}},W={class:"block-widget-container"};function _(t,r,S,D,i,l){const d=a("v-textarea"),c=a("v-list-item-title"),M=a("v-list-item"),j=a("v-list"),B=a("v-menu"),F=a("details-dialog");return h(),m("div",W,[s(d,{variant:"solo",density:"compact",readonly:"","no-resize":"","hide-details":"",rows:l.rows,width:t.width,"model-value":t._value,class:p(t.valueClass),style:g([t.computedStyle,l.aging]),"data-test":"valueText",onContextmenu:t.showContextMenu},null,8,["rows","width","model-value","class","style","onContextmenu"]),s(B,{modelValue:t.contextMenuShown,"onUpdate:modelValue":r[0]||(r[0]=n=>t.contextMenuShown=n),target:[t.x,t.y]},{default:o(()=>[s(j,null,{default:o(()=>[(h(!0),m(w,null,f(t.contextMenuOptions,(n,b)=>(h(),v(M,{key:b,onClick:y(n.action,["stop"])},{default:o(()=>[s(c,null,{default:o(()=>[x(k(n.title),1)]),_:2},1024)]),_:2},1032,["onClick"]))),128))]),_:1})]),_:1},8,["modelValue","target"]),s(F,{"target-name":t.parameters[0],"packet-name":t.parameters[1],"item-name":t.parameters[2],modelValue:t.viewDetails,"onUpdate:modelValue":r[1]||(r[1]=n=>t.viewDetails=n)},null,8,["target-name","packet-name","item-name","modelValue"])])}const L=P("default",u(e,[["render",_],["__scopeId","data-v-4d4589c2"]]))}}});
@@ -0,0 +1,2 @@
1
+ System.register(["./main-ca88b1aac639693ffb5d.js","vue","./Widget-orNSvnOh-a98828cd439e9a94bd76.js","vue-router","vuex","vuetify"],function(exports,module){"use strict";var s,Ok,S$1,Wk,resolveComponent,openBlock,createBlock,withCtx,createVNode,createElementVNode,createTextVNode,toDisplayString,createCommentVNode,withModifiers,createElementBlock,normalizeStyle,o;return{setters:[e=>{s=e.s,Ok=e.O,S$1=e.S,Wk=e.W},e=>{resolveComponent=e.resolveComponent,openBlock=e.openBlock,createBlock=e.createBlock,withCtx=e.withCtx,createVNode=e.createVNode,createElementVNode=e.createElementVNode,createTextVNode=e.createTextVNode,toDisplayString=e.toDisplayString,createCommentVNode=e.createCommentVNode,withModifiers=e.withModifiers,createElementBlock=e.createElementBlock,normalizeStyle=e.normalizeStyle},e=>{o=e.o},null,null,null],execute:function(){const S={props:{uuid:String,cmdUser:String,cmdString:String,persistent:{type:Boolean,default:!1},modelValue:Boolean},data(){return{updater:null,username:null,password:null,canApprove:!1,error:!1,errorText:""}},computed:{show:{get(){return this.modelValue},set(e){this.$emit("update:modelValue",e)}},formValid:function(){return!!this.password&&!!this.username},disableButtons:function(){return!this.formValid&&!this.canApprove}},beforeUnmount(){clearInterval(this.updater),this.updater=null,this.canApprove=!1,this.username=null,this.password=null},watch:{modelValue:function(e,t){e?(Ok.get("/openc3-api/criticalcmd/canapprove/"+this.uuid).then(r=>{r.data.status==="ok"&&(this.canApprove=!0)}),this.updater=setInterval(()=>{this.uuid?Ok.get("/openc3-api/criticalcmd/status/"+this.uuid).then(r=>{r.data.status!=="WAITING"&&(this.$emit("status",r.data.status),this.show=!1)}):this.show=!1},1e3)):(clearInterval(this.updater),this.updater=null,this.canApprove=!1,this.username=null,this.password=null)}},methods:{async approve(){if(this.canApprove)await Ok.post("/openc3-api/criticalcmd/approve/"+this.uuid,{}).then(e=>{e.status==200&&(this.$emit("status","APPROVED"),this.show=!1,this.error=!1)});else{let e=await this.getKeycloakToken();S$1.post("/openc3-api/criticalcmd/approve/"+this.uuid,{},{headers:{Authorization:e,"Content-Type":"application/json"},params:{scope:window.openc3Scope},timeout:5e3}).then(t=>{this.$emit("status","APPROVED"),this.show=!1,this.error=!1}).catch(t=>{this.error=!0,t.response?this.errorText=t.response.data.message:this.errorText=t.message})}},async reject(){if(this.canApprove)await Ok.post("/openc3-api/criticalcmd/reject/"+this.uuid,{}).then(e=>{e.status==200&&(this.$emit("status","REJECTED"),this.show=!1,this.error=!1)});else{let e=await this.getKeycloakToken();(await S$1.post("/openc3-api/criticalcmd/reject/"+this.uuid,{},{headers:{Authorization:e,"Content-Type":"application/json"},params:{scope:window.openc3Scope},timeout:5e3})).status==200&&(this.$emit("status","REJECTED"),this.show=!1,this.error=!1)}},async getKeycloakToken(){return(await S$1.post(localStorage.keycloakUrl+"/realms/"+localStorage.keycloakRealm+"/protocol/openid-connect/token",{username:this.username,password:this.password,client_id:localStorage.keycloakClientId,grant_type:"password",scope:"openid"},{headers:{"Content-Type":"application/x-www-form-urlencoded"},timeout:5e3})).data.access_token}}};function E(e,t,r,p,a,n){const c=resolveComponent("v-spacer"),v=resolveComponent("v-toolbar"),m=resolveComponent("v-alert"),l=resolveComponent("v-row"),h=resolveComponent("v-text-field"),C=resolveComponent("v-btn"),V=resolveComponent("v-container"),w=resolveComponent("v-card-text"),u=resolveComponent("v-card"),f=resolveComponent("v-dialog");return openBlock(),createBlock(f,{persistent:r.persistent,modelValue:n.show,"onUpdate:modelValue":t[3]||(t[3]=d=>n.show=d),width:"600"},{default:withCtx(()=>[createVNode(u,null,{default:withCtx(()=>[createVNode(v,{height:"24"},{default:withCtx(()=>[createVNode(c),t[4]||(t[4]=createElementVNode("span",null," Waiting for Critical Command Approval ",-1)),createVNode(c)]),_:1}),createVNode(w,null,{default:withCtx(()=>[createVNode(V,{fluid:""},{default:withCtx(()=>[createVNode(m,{type:"error",modelValue:a.error,"onUpdate:modelValue":t[0]||(t[0]=d=>a.error=d),dismissible:""},{default:withCtx(()=>[createTextVNode(toDisplayString(a.errorText),1)]),_:1},8,["modelValue"]),createVNode(l,{class:"pt-4",style:{color:"white"}},{default:withCtx(()=>[createTextVNode("User "+toDisplayString(r.cmdUser)+" is waiting for approval to execute: ",1)]),_:1}),createVNode(l,{class:"pa-4",style:{color:"white"}},{default:withCtx(()=>[createTextVNode(toDisplayString(r.cmdString),1)]),_:1}),createVNode(l,{class:"text-subtitle-2"},{default:withCtx(()=>[createTextVNode("UUID: "+toDisplayString(r.uuid),1)]),_:1}),a.canApprove?createCommentVNode("",!0):(openBlock(),createBlock(l,{key:0},{default:withCtx(()=>[createVNode(h,{modelValue:a.username,"onUpdate:modelValue":t[1]||(t[1]=d=>a.username=d),label:"Username","data-test":"username"},null,8,["modelValue"])]),_:1})),a.canApprove?createCommentVNode("",!0):(openBlock(),createBlock(l,{key:1},{default:withCtx(()=>[createVNode(h,{modelValue:a.password,"onUpdate:modelValue":t[2]||(t[2]=d=>a.password=d),type:"password",label:"Password","data-test":"password"},null,8,["modelValue"])]),_:1})),createVNode(l,{class:"pt-2"},{default:withCtx(()=>[createVNode(c),createVNode(C,{type:"submit",onClick:withModifiers(n.reject,["prevent"]),class:"mx-2",color:"secondary",outlined:"",disabled:n.disableButtons,"data-test":"reject"},{default:withCtx(()=>t[5]||(t[5]=[createTextVNode(" Reject ")])),_:1},8,["onClick","disabled"]),createVNode(C,{type:"submit",onClick:withModifiers(n.approve,["prevent"]),class:"mx-2",color:"primary",disabled:n.disableButtons,"data-test":"approve"},{default:withCtx(()=>t[6]||(t[6]=[createTextVNode(" Approve ")])),_:1},8,["onClick","disabled"])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["persistent","modelValue"])}const N=s(S,[["render",E],["__scopeId","data-v-edfbf188"]]),_sfc_main={mixins:[o],components:{CriticalCmdDialog:N},data(){return{api:null,displaySendHazardous:!1,lastCmd:"",criticalCmdUuid:null,criticalCmdString:null,criticalCmdUser:null,displayCriticalCmd:!1}},computed:{buttonText(){return this.parameters[0]},eval(){return this.parameters[1]}},created(){this.api=new Wk},methods:{async onClick(){const lines=this.eval.split(";;"),self=this,screen=this.screen,screenValues=this.screenValues,screenTimeZone=this.screenTimeZone,api=this.api,runScript=this.runScript;(self||screen||screenValues||screenTimeZone||api||runScript)&&this.$nextTick(()=>{});for(let i=0;i<lines.length;i++)try{const result=eval(lines[i].trim());result instanceof Promise&&await result}catch(e){if(e.message.includes("CriticalCmdError"))this.criticalCmdUuid=e.object.data.instance_variables["@uuid"],this.criticalCmdString=e.object.data.instance_variables["@cmd_string"],this.criticalCmdUser=e.object.data.instance_variables["@username"],this.displayCriticalCmd=!0;else if(e.message.includes("is Hazardous"))for(this.lastCmd=e.message.split(`
2
+ `).pop(),this.displaySendHazardous=!0;this.displaySendHazardous;)await new Promise(t=>setTimeout(t,500));else console.error(e)}},async sendHazardousCmd(){this.lastCmd=this.lastCmd.replace("cmd(","this.api.cmd_no_hazardous_check(");try{const result=eval(this.lastCmd);result instanceof Promise&&await result}catch(e){e.message.includes("CriticalCmdError")&&(this.criticalCmdUuid=e.object.data.instance_variables["@uuid"],this.criticalCmdString=e.object.data.instance_variables["@cmd_string"],this.criticalCmdUser=e.object.data.instance_variables["@username"],this.displayCriticalCmd=!0)}this.displaySendHazardous=!1},cancelHazardousCmd(){this.displaySendHazardous=!1},runScript(e,t=!0,r={}){let p=[];for(const a in r)p.push({key:a,value:r[a],readonly:!1});Ok.post(`/script-api/scripts/${e}/run`,{data:{environment:p}}).then(a=>{t&&window.open(`/tools/scriptrunner/${a.data}`,"_blank")})}}},_hoisted_1={class:"mx-1"};function _sfc_render(e,t,r,p,a,n){const c=resolveComponent("v-btn"),v=resolveComponent("v-card-title"),m=resolveComponent("v-row"),l=resolveComponent("v-spacer"),h=resolveComponent("v-card-text"),C=resolveComponent("v-card"),V=resolveComponent("v-dialog"),w=resolveComponent("critical-cmd-dialog");return openBlock(),createElementBlock("div",null,[createVNode(c,{class:"ma-1",color:"primary",style:normalizeStyle(e.computedStyle),onClick:n.onClick},{default:withCtx(()=>[createTextVNode(toDisplayString(n.buttonText),1)]),_:1},8,["style","onClick"]),createVNode(V,{modelValue:a.displaySendHazardous,"onUpdate:modelValue":t[0]||(t[0]=u=>a.displaySendHazardous=u),"max-width":"300"},{default:withCtx(()=>[createVNode(C,null,{default:withCtx(()=>[createVNode(v,null,{default:withCtx(()=>t[2]||(t[2]=[createTextVNode("Hazardous")])),_:1}),createVNode(h,null,{default:withCtx(()=>[createElementVNode("div",_hoisted_1,[createVNode(m,{class:"my-2"},{default:withCtx(()=>t[3]||(t[3]=[createElementVNode("span",null," Warning: Command is Hazardous. Send? ",-1)])),_:1}),createVNode(m,null,{default:withCtx(()=>[createVNode(l),createVNode(c,{onClick:n.cancelHazardousCmd,variant:"outlined"},{default:withCtx(()=>t[4]||(t[4]=[createTextVNode(" Cancel ")])),_:1},8,["onClick"]),createVNode(c,{onClick:n.sendHazardousCmd,class:"bg-primary mx-1"},{default:withCtx(()=>t[5]||(t[5]=[createTextVNode(" Send ")])),_:1},8,["onClick"])]),_:1})])]),_:1})]),_:1})]),_:1},8,["modelValue"]),createVNode(w,{uuid:a.criticalCmdUuid,cmdString:a.criticalCmdString,cmdUser:a.criticalCmdUser,modelValue:a.displayCriticalCmd,"onUpdate:modelValue":t[1]||(t[1]=u=>a.displayCriticalCmd=u)},null,8,["uuid","cmdString","cmdUser","modelValue"])])}const ButtonWidget=exports("default",s(_sfc_main,[["render",_sfc_render]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Layout-klOVw-YN-1bd46bc37b38d46695d1.js","vue","./main-ca88b1aac639693ffb5d.js","./Widget-orNSvnOh-a98828cd439e9a94bd76.js","vue-router","vuex","vuetify"],function(h,f){"use strict";var i,n,s,a,c,l,o,u,m;return{setters:[e=>{i=e.r},e=>{n=e.openBlock,s=e.createElementBlock,a=e.Fragment,c=e.renderList,l=e.createBlock,o=e.resolveDynamicComponent,u=e.mergeProps},e=>{m=e.s},null,null,null,null],execute:function(){const e={mixins:[i],computed:{width(){return this.parameters[0]+"px"},height(){return this.parameters[1]+"px"}}},p=["width","height"];function d(r,k,y,B,b,g){return n(),s("svg",{id:"canvas",width:g.width,height:g.height},[(n(!0),s(a,null,c(r.widgets,(t,v)=>(n(),l(o(t.type),u({ref_for:!0},r.listeners,{key:v,target:t.target,parameters:t.parameters,settings:t.settings,"screen-values":r.screenValues,"screen-time-zone":r.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))],8,p)}const w=h("default",m(e,[["render",d],["__scopeId","data-v-47bdfc3c"]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-orNSvnOh-a98828cd439e9a94bd76.js","vue","./main-ca88b1aac639693ffb5d.js","vue-router","vuex","vuetify"],function(s,i){"use strict";var t,n,l,c;return{setters:[e=>{t=e.o},e=>{n=e.openBlock,l=e.createElementBlock},e=>{c=e.s},null,null,null],execute:function(){const e={mixins:[t]},u=["cx","cy","r","fill"];function o(r,m,f,p,v,x){return n(),l("circle",{cx:r.parameters[0],cy:r.parameters[1],r:r.parameters[3],fill:r.parameters[2]},null,8,u)}const a=s("default",c(e,[["render",o]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-orNSvnOh-a98828cd439e9a94bd76.js","./ImageLoader-CDLQopxJ-b1323ffc9d0ef4fa79d0.js","vue","./main-ca88b1aac639693ffb5d.js","vue-router","vuex","vuetify"],function(m,d){"use strict";var s,i,n,a,c,l,h;return{setters:[e=>{s=e.o},e=>{i=e.s},e=>{n=e.openBlock,a=e.createElementBlock,c=e.normalizeStyle,l=e.createCommentVNode},e=>{h=e.s},null,null,null],execute:function(){const e={mixins:[s,i],data:function(){return{imageUrl:null,screenTarget:null,screenName:null}},computed:{width:function(){return this.parameters[3]?`${this.parameters[3]}px`:"100%"},height:function(){return this.parameters[4]?`${this.parameters[4]}px`:"100%"},pointerStyle(){return this.screenTarget&&this.screenName?{cursor:"pointer"}:{cursor:"default"}}},created:function(){this.appliedSettings.forEach(t=>{t[0]==="SCREEN"&&(this.screenTarget=t[1],this.screenName=t[2])}),this.parameters[0].startsWith("http")?this.imageUrl=this.parameters[0]:this.getPresignedUrl(this.parameters[0]).then(t=>{this.imageUrl=t})},methods:{clickHandler(){this.screenTarget&&this.screenName&&this.$emit("open",this.screenTarget,this.screenName)}}},u=["href","x","y","width","height"];function p(t,o,y,k,N,r){return t.imageUrl?(n(),a("image",{key:0,href:t.imageUrl,x:t.parameters[1],y:t.parameters[2],width:r.width,height:r.height,style:c(r.pointerStyle),onClick:o[0]||(o[0]=(...g)=>r.clickHandler&&r.clickHandler(...g))},null,12,u)):l("",!0)}const f=m("default",h(e,[["render",p]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-orNSvnOh-a98828cd439e9a94bd76.js","./ImageLoader-CDLQopxJ-b1323ffc9d0ef4fa79d0.js","vue","./main-ca88b1aac639693ffb5d.js","vue-router","vuex","vuetify"],function(v,S){"use strict";var m,d,l,n,o,g,h,u,c,p,f;return{setters:[t=>{m=t.o},t=>{d=t.s},t=>{l=t.openBlock,n=t.createElementBlock,o=t.Fragment,g=t.renderList,h=t.withDirectives,u=t.normalizeStyle,c=t.vShow,p=t.createCommentVNode},t=>{f=t.s},null,null,null],execute:function(){const t={mixins:[m,d],data:function(){return{images:[],defaultImage:null,screenTarget:null,screenName:null}},computed:{selectedValue:function(){return this.screenValues[this.valueId]?this.screenValues[this.valueId][0]:null},showDefault:function(){return!this.images.some(r=>r.value==this.selectedValue)},pointerStyle(){return this.screenTarget&&this.screenName?{cursor:"pointer"}:{cursor:"default"}}},created:function(){this.appliedSettings.forEach(e=>{e[0]==="SCREEN"&&(this.screenTarget=e[1],this.screenName=e[2])}),this.valueId=`${this.parameters[0]}__${this.parameters[1]}__${this.parameters[2]}__${this.parameters[3]||"RAW"}`,this.$emit("addItem",this.valueId);const r=this.appliedSettings.filter(e=>e[0]==="IMAGE").map(async e=>{let i=e[2];return i.startsWith("http")||(i=await this.getPresignedUrl(i)),{url:i,value:e[1],x:e[3],y:e[4],width:e[5],height:e[6]}});if(Promise.all(r).then(e=>{this.images=e}),this.parameters[4]){const e={x:this.parameters[5],y:this.parameters[6],width:this.parameters[7]?`${this.parameters[7]}px`:"100%",height:this.parameters[8]?`${this.parameters[8]}px`:"100%"};let i=this.parameters[4];i.startsWith("http")?this.defaultImage={...e,url:i}:this.getPresignedUrl(i).then(y=>{this.defaultImage={...e,url:y}})}},unmounted:function(){this.$emit("deleteItem",this.valueId)},methods:{clickHandler(){this.screenTarget&&this.screenName&&this.$emit("open",this.screenTarget,this.screenName)}}},I=["href","x","y","width","height"],w=["href","x","y","width","height"];function k(r,e,i,y,N,a){return l(),n("g",null,[(l(!0),n(o,null,g(r.images,s=>h((l(),n("image",{key:s.value,href:s.url,x:s.x,y:s.y,width:s.width,height:s.height,style:u(a.pointerStyle),onClick:e[0]||(e[0]=(...x)=>a.clickHandler&&a.clickHandler(...x))},null,12,I)),[[c,s.value==a.selectedValue]])),128)),r.defaultImage?h((l(),n("image",{key:0,href:r.defaultImage.url,x:r.defaultImage.x,y:r.defaultImage.y,width:r.defaultImage.width,height:r.defaultImage.height,style:u(a.pointerStyle),onClick:e[1]||(e[1]=(...s)=>a.clickHandler&&a.clickHandler(...s))},null,12,w)),[[c,a.showDefault]]):p("",!0)])}const $=v("default",f(t,[["render",k]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-orNSvnOh-a98828cd439e9a94bd76.js","vue","./main-ca88b1aac639693ffb5d.js","vue-router","vuex","vuetify"],function(i,m){"use strict";var r,l,n,s,o;return{setters:[e=>{r=e.o},e=>{l=e.openBlock,n=e.createElementBlock,s=e.toDisplayString},e=>{o=e.s},null,null,null],execute:function(){const e={mixins:[r],computed:{fillColor(){return this.parameters[3]?this.parameters[3]:"black"}}},a=["x","y","fill"];function u(t,f,x,v,y,c){return l(),n("text",{x:t.parameters[0],y:t.parameters[1],fill:c.fillColor},s(t.parameters[2]),9,a)}const p=i("default",o(e,[["render",u]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-orNSvnOh-a98828cd439e9a94bd76.js","vue","./main-ca88b1aac639693ffb5d.js","vue-router","vuex","vuetify"],function(u,p){"use strict";var s,a,i,l,n;return{setters:[e=>{s=e.o},e=>{a=e.openBlock,i=e.createElementBlock,l=e.toDisplayString},e=>{n=e.s},null,null,null],execute:function(){const e={mixins:[s],data(){return{valueId:null}},computed:{_value(){return this.screenValues[this.valueId][0]},fontSize(){return this.parameters[5]?this.parameters[5]+"px":"14px"},fillColor(){return this.parameters[6]?this.parameters[6]:"black"}},created(){let t="CONVERTED";this.parameters[7]&&(t=this.parameters[7]),this.valueId=`${this.parameters[0]}__${this.parameters[1]}__${this.parameters[2]}__${t}`,this.$emit("addItem",this.valueId)},unmounted(){this.$emit("deleteItem",this.valueId)}},o=["x","y","font-size","fill"];function m(t,h,d,f,v,r){return a(),i("text",{x:t.parameters[3],y:t.parameters[4],"font-size":r.fontSize,fill:r.fillColor},l(r._value),9,o)}const c=u("default",n(e,[["render",m]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-orNSvnOh-a98828cd439e9a94bd76.js","vue","./main-ca88b1aac639693ffb5d.js","vue-router","vuex","vuetify"],function(o,p){"use strict";var s,l,n,a,c;return{setters:[e=>{s=e.o},e=>{l=e.openBlock,n=e.createElementBlock,a=e.normalizeStyle},e=>{c=e.s},null,null,null],execute:function(){const e={mixins:[s],computed:{calcStyle(){let t="black";this.parameters[4]&&(t=this.parameters[4]);let r=1;return this.parameters[5]&&(r=this.parameters[5]),"stroke:"+t+";stroke-width:"+r}}},i=["x1","y1","x2","y2"];function u(t,r,k,x,f,m){return l(),n("line",{x1:t.parameters[0],y1:t.parameters[1],x2:t.parameters[2],y2:t.parameters[3],style:a(m.calcStyle)},null,12,i)}const y=o("default",c(e,[["render",u]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-orNSvnOh-a98828cd439e9a94bd76.js","vue","./main-ca88b1aac639693ffb5d.js","vue-router","vuex","vuetify"],function(u,o){"use strict";var s,r,l,i,n;return{setters:[t=>{s=t.o},t=>{r=t.openBlock,l=t.createElementBlock,i=t.normalizeStyle},t=>{n=t.s},null,null,null],execute:function(){const t={mixins:[s],data(){return{valueId:0,valueMap:{}}},computed:{calcStyle(){let e="black";this.screenValues[this.valueId]&&(e=this.valueMap[this.screenValues[this.valueId][0]]);let a=1;return this.parameters[7]&&(a=this.parameters[7]),"stroke:"+e+";stroke-width:"+a}},created(){this.appliedSettings.forEach(a=>{a[0]==="VALUE_EQ"&&(this.valueMap[a[1]]=a[2])});let e="CONVERTED";this.parameters[8]&&(e=this.parameters[8]),this.valueId=`${this.parameters[0]}__${this.parameters[1]}__${this.parameters[2]}__${e}`,this.$emit("addItem",this.valueId)},unmounted(){this.$emit("deleteItem",this.valueId)}},c=["x1","y1","x2","y2"];function h(e,a,d,v,y,m){return r(),l("line",{x1:e.parameters[3],y1:e.parameters[4],x2:e.parameters[5],y2:e.parameters[6],style:i(m.calcStyle)},null,12,c)}const p=u("default",n(t,[["render",h]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-orNSvnOh-a98828cd439e9a94bd76.js","vue","./main-ca88b1aac639693ffb5d.js","vue-router","vuex","vuetify"],function(c,h){"use strict";var l,n,o,a,r,s;return{setters:[e=>{l=e.o},e=>{n=e.resolveComponent,o=e.openBlock,a=e.createBlock,r=e.normalizeStyle},e=>{s=e.s},null,null,null],execute:function(){const e={mixins:[l],data(){return{items:[],label:"Checkbox",value:!1}},created(){this.label=this.parameters[0],this.parameters[1]&&(this.value=!0)},methods:{checked(){return this.value}}};function i(d,u,k,y,t,b){const m=n("v-checkbox");return o(),a(m,{"hide-details":"",density:"compact",label:t.label,modelValue:t.value,"onUpdate:modelValue":u[0]||(u[0]=v=>t.value=v),style:r(d.computedStyle)},null,8,["label","modelValue","style"])}const p=c("default",s(e,[["render",i]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-orNSvnOh-a98828cd439e9a94bd76.js","vue","./main-ca88b1aac639693ffb5d.js","vue-router","vuex","vuetify"],function(i,p){"use strict";var l,s,n,o,r,u;return{setters:[e=>{l=e.o},e=>{s=e.resolveComponent,n=e.openBlock,o=e.createBlock,r=e.normalizeStyle},e=>{u=e.s},null,null,null],execute:function(){const e={mixins:[l],data(){return{items:[],value:null}},created(){this.value=this.parameters[0],this.items=this.parameters},methods:{text(){return this.value}}};function c(m,a,h,f,t,S){const v=s("v-select");return n(),o(v,{"hide-details":"",density:"compact",variant:"outlined",items:t.items,modelValue:t.value,"onUpdate:modelValue":a[0]||(a[0]=d=>t.value=d),style:r(m.computedStyle)},null,8,["items","modelValue","style"])}const y=i("default",u(e,[["render",c]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-orNSvnOh-a98828cd439e9a94bd76.js","./main-ca88b1aac639693ffb5d.js","vue","vue-router","vuex","vuetify"],function(d,v){"use strict";var l,a,n,r,s,o,u;return{setters:[e=>{l=e.o},e=>{a=e.s,n=e.P},e=>{r=e.resolveComponent,s=e.openBlock,o=e.createBlock,u=e.normalizeStyle},null,null,null],execute:function(){const e={mixins:[l,n],data(){return{label:"Date",dateValue:""}},created(){this.parameters[0]&&(this.label=this.parameters[0]),this.dateValue=this.formatDate(new Date,this.screenTimeZone)},methods:{text(){return this.dateValue},date(){return this.dateValue}}};function c(m,i,f,y,t,b){const h=r("v-text-field");return s(),o(h,{modelValue:t.dateValue,"onUpdate:modelValue":i[0]||(i[0]=p=>t.dateValue=p),label:t.label,style:u(m.computedStyle),type:"date","hide-details":""},null,8,["modelValue","label","style"])}const V=d("default",a(e,[["render",c]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./main-ca88b1aac639693ffb5d.js","vue"],function(C,P){"use strict";var V,L,m,r,o,e,t,k,s,d,h,g,v,w;return{setters:[c=>{V=c.s,L=c.W},c=>{m=c.resolveComponent,r=c.openBlock,o=c.createBlock,e=c.withCtx,t=c.createVNode,k=c.createElementVNode,s=c.createTextVNode,d=c.toDisplayString,h=c.createCommentVNode,g=c.createElementBlock,v=c.Fragment,w=c.renderList}],execute:function(){const c={props:{type:{default:"tlm",validator:function(n){return["cmd","tlm"].indexOf(n)!==-1}},targetName:String,packetName:String,itemName:String,modelValue:Boolean},data(){return{details:Object,updater:null,rawValue:null,convertedValue:null,formattedValue:null,unitsValue:null}},computed:{show:{get(){return this.modelValue},set(n){this.$emit("update:modelValue",n)}}},created(){this.api=new L},beforeUnmount(){clearInterval(this.updater),this.updater=null},watch:{modelValue:function(n,a){n?(this.requestDetails(),this.type==="tlm"&&(this.updater=setInterval(()=>{this.api.get_tlm_values([`${this.targetName}__${this.packetName}__${this.itemName}__RAW`,`${this.targetName}__${this.packetName}__${this.itemName}__CONVERTED`,`${this.targetName}__${this.packetName}__${this.itemName}__FORMATTED`,`${this.targetName}__${this.packetName}__${this.itemName}__WITH_UNITS`]).then(_=>{for(let p of _){let i=null;if(p[0].json_class==="String"&&p[0].raw!==void 0?i=p[0].raw:this.details.data_type==="BLOCK"&&(i=p[0]),i!==null){i=i.slice(0,parseInt(this.details.bit_size)/8);let y=!1;i.length>64&&(y=!0),p[0]=Array.from(i.slice(0,64),function(N){return N===" "?"20":("0"+(N&255).toString(16)).slice(-2)}).join(" ").toUpperCase(),y&&(p[0]+="...")}}this.details.data_type.includes("INT")&&!this.details.array_size?this.rawValue=`${_[0][0]} (0x${_[0][0].toString(16).toUpperCase()})`:this.rawValue=_[0][0],this.convertedValue=_[1][0],this.formattedValue=_[2][0],this.unitsValue=_[3][0]})},1e3))):(clearInterval(this.updater),this.updater=null)}},methods:{hasLimits(n){let a=!1;return n.limits.DEFAULT&&(a=!0),n.states&&Object.getOwnPropertyNames(n.states).forEach(_=>{n.states[_].color&&(a=!0)}),a},async requestDetails(){this.type==="tlm"?await this.api.get_item(this.targetName,this.packetName,this.itemName).then(n=>{this.details=n,this.hasLimits(n)||(this.details.limits=null)}):await this.api.get_parameter(this.targetName,this.packetName,this.itemName).then(n=>{this.details=n})},async changeLimitsEnabled(){this.details.limits.enabled?await this.api.enable_limits(this.targetName,this.packetName,this.itemName):await this.api.disable_limits(this.targetName,this.packetName,this.itemName)},formatLimit(n){return n.hasOwnProperty("green_low")?"RL/"+n.red_low+" YL/"+n.yellow_low+" YH/"+n.yellow_high+" RH/"+n.red_high+" GL/"+n.green_low+" GH/"+n.green_high:n.hasOwnProperty("red_low")?"RL/"+n.red_low+" YL/"+n.yellow_low+" YH/"+n.yellow_high+" RH/"+n.red_high:n}}},S={key:5},$={key:7},E={key:3},x={key:9};function B(n,a,_,p,i,y){const N=m("v-spacer"),D=m("v-toolbar"),T=m("v-card-title"),U=m("v-card-subtitle"),l=m("v-col"),u=m("v-row"),I=m("v-switch"),O=m("v-container"),R=m("v-card-text"),z=m("v-card"),F=m("v-dialog");return r(),o(F,{modelValue:y.show,"onUpdate:modelValue":a[1]||(a[1]=b=>y.show=b),width:"700"},{default:e(()=>[t(z,null,{default:e(()=>[t(D,{height:24},{default:e(()=>[t(N),a[2]||(a[2]=k("span",null," Details ",-1)),t(N)]),_:1}),t(T,null,{default:e(()=>[s(d(_.targetName)+" "+d(_.packetName)+" "+d(_.itemName),1)]),_:1}),t(U,null,{default:e(()=>[s(d(i.details.description),1)]),_:1}),t(R,null,{default:e(()=>[t(O,{fluid:""},{default:e(()=>[_.type==="tlm"?(r(),o(u,{key:0,"no-gutters":""},{default:e(()=>[t(l,{cols:"5",class:"label"},{default:e(()=>a[3]||(a[3]=[s("Item Values")])),_:1}),t(l)]),_:1})):h("",!0),t(u,{"no-gutters":""},{default:e(()=>[t(l,{cols:"1"}),t(l,{cols:"4",class:"label"},{default:e(()=>a[4]||(a[4]=[s("Raw Value")])),_:1}),t(l,null,{default:e(()=>[s(d(i.rawValue),1)]),_:1})]),_:1}),t(u,{"no-gutters":""},{default:e(()=>[t(l,{cols:"1"}),t(l,{cols:"4",class:"label"},{default:e(()=>a[5]||(a[5]=[s("Converted Value")])),_:1}),t(l,null,{default:e(()=>[s(d(i.convertedValue),1)]),_:1})]),_:1}),t(u,{"no-gutters":""},{default:e(()=>[t(l,{cols:"1"}),t(l,{cols:"4",class:"label"},{default:e(()=>a[6]||(a[6]=[s("Formatted Value")])),_:1}),t(l,null,{default:e(()=>[s(d(i.formattedValue),1)]),_:1})]),_:1}),t(u,{"no-gutters":""},{default:e(()=>[t(l,{cols:"1"}),t(l,{cols:"4",class:"label"},{default:e(()=>a[7]||(a[7]=[s("With Units Value")])),_:1}),t(l,null,{default:e(()=>[s(d(i.unitsValue),1)]),_:1})]),_:1}),t(u,{"no-gutters":""},{default:e(()=>[t(l,{cols:"5",class:"label"},{default:e(()=>a[8]||(a[8]=[s("Bit Offset")])),_:1}),t(l,null,{default:e(()=>[s(d(i.details.bit_offset),1)]),_:1})]),_:1}),t(u,{"no-gutters":""},{default:e(()=>[t(l,{cols:"5",class:"label"},{default:e(()=>a[9]||(a[9]=[s("Bit Size")])),_:1}),t(l,null,{default:e(()=>[s(d(i.details.bit_size),1)]),_:1})]),_:1}),i.details.array_size?(r(),o(u,{key:1,"no-gutters":""},{default:e(()=>[t(l,{cols:"5",class:"label"},{default:e(()=>a[10]||(a[10]=[s("Array Size")])),_:1}),t(l,null,{default:e(()=>[s(d(i.details.array_size),1)]),_:1})]),_:1})):h("",!0),t(u,{"no-gutters":""},{default:e(()=>[t(l,{cols:"5",class:"label"},{default:e(()=>a[11]||(a[11]=[s("Data Type")])),_:1}),t(l,null,{default:e(()=>[s(d(i.details.data_type),1)]),_:1})]),_:1}),_.type==="cmd"?(r(),o(u,{key:2,"no-gutters":""},{default:e(()=>[t(l,{cols:"5",class:"label"},{default:e(()=>a[12]||(a[12]=[s("Minimum")])),_:1}),t(l,null,{default:e(()=>[s(d(i.details.minimum),1)]),_:1})]),_:1})):h("",!0),_.type==="cmd"?(r(),o(u,{key:3,"no-gutters":""},{default:e(()=>[t(l,{cols:"5",class:"label"},{default:e(()=>a[13]||(a[13]=[s("Maximum")])),_:1}),t(l,null,{default:e(()=>[s(d(i.details.maximum),1)]),_:1})]),_:1})):h("",!0),_.type==="cmd"?(r(),o(u,{key:4,"no-gutters":""},{default:e(()=>[t(l,{cols:"5",class:"label"},{default:e(()=>a[14]||(a[14]=[s("Default")])),_:1}),t(l,null,{default:e(()=>[s(d(i.details.default),1)]),_:1})]),_:1})):h("",!0),t(u,{"no-gutters":""},{default:e(()=>[t(l,{cols:"5",class:"label"},{default:e(()=>a[15]||(a[15]=[s("Format String")])),_:1}),t(l,null,{default:e(()=>[s(d(i.details.format_string),1)]),_:1})]),_:1}),t(u,{"no-gutters":""},{default:e(()=>[t(l,{cols:"5",class:"label"},{default:e(()=>a[16]||(a[16]=[s("Read Conversion")])),_:1}),i.details.read_conversion?(r(),o(l,{key:0},{default:e(()=>[s(" Class: "+d(i.details.read_conversion.class)+" ",1),a[17]||(a[17]=k("br",null,null,-1)),s(" Params: "+d(i.details.read_conversion.params),1)]),_:1})):(r(),o(l,{key:1}))]),_:1}),t(u,{"no-gutters":""},{default:e(()=>[t(l,{cols:"5",class:"label"},{default:e(()=>a[18]||(a[18]=[s("Write Conversion")])),_:1}),i.details.write_conversion?(r(),o(l,{key:0},{default:e(()=>[s(" Class: "+d(i.details.write_conversion.class)+" ",1),a[19]||(a[19]=k("br",null,null,-1)),s(" Params: "+d(i.details.write_conversion.params),1)]),_:1})):(r(),o(l,{key:1}))]),_:1}),t(u,{"no-gutters":""},{default:e(()=>[t(l,{cols:"5",class:"label"},{default:e(()=>a[20]||(a[20]=[s("Id Value")])),_:1}),t(l,null,{default:e(()=>[s(d(i.details.id_value),1)]),_:1})]),_:1}),t(u,{"no-gutters":""},{default:e(()=>[t(l,{cols:"5",class:"label"},{default:e(()=>a[21]||(a[21]=[s("Units Full")])),_:1}),t(l,null,{default:e(()=>[s(d(i.details.units_full),1)]),_:1})]),_:1}),t(u,{"no-gutters":""},{default:e(()=>[t(l,{cols:"5",class:"label"},{default:e(()=>a[22]||(a[22]=[s("Units Abbr")])),_:1}),t(l,null,{default:e(()=>[s(d(i.details.units),1)]),_:1})]),_:1}),t(u,{"no-gutters":""},{default:e(()=>[t(l,{cols:"5",class:"label"},{default:e(()=>a[23]||(a[23]=[s("Endianness")])),_:1}),t(l,null,{default:e(()=>[s(d(i.details.endianness),1)]),_:1})]),_:1}),i.details.states?(r(),g("div",S,[t(u,{"no-gutters":""},{default:e(()=>[t(l,{cols:"5",class:"label"},{default:e(()=>a[24]||(a[24]=[s("States")])),_:1}),t(l)]),_:1}),(r(!0),g(v,null,w(i.details.states,(b,f)=>(r(),o(u,{"no-gutters":"",key:f},{default:e(()=>[t(l,{cols:"1"}),t(l,{cols:"4",class:"label"},{default:e(()=>[s(d(f),1)]),_:2},1024),t(l,null,{default:e(()=>[s(d(b.value),1)]),_:2},1024)]),_:2},1024))),128))])):(r(),o(u,{key:6,"no-gutters":""},{default:e(()=>[t(l,{cols:"5",class:"label"},{default:e(()=>a[25]||(a[25]=[s("States")])),_:1}),t(l,null,{default:e(()=>a[26]||(a[26]=[s("None")])),_:1})]),_:1})),i.details.limits?(r(),g("div",$,[t(u,{"no-gutters":""},{default:e(()=>[t(l,{cols:"5",class:"label"},{default:e(()=>a[27]||(a[27]=[s("Limits")])),_:1}),t(l)]),_:1}),(r(!0),g(v,null,w(i.details.limits,(b,f)=>(r(),o(u,{"no-gutters":"",key:f},{default:e(()=>[t(l,{cols:"1"}),f==="enabled"?(r(),o(l,{key:0,cols:"4",class:"label"},{default:e(()=>a[28]||(a[28]=[s("Enabled")])),_:1})):h("",!0),f==="enabled"?(r(),o(I,{key:1,modelValue:i.details.limits.enabled,"onUpdate:modelValue":[a[0]||(a[0]=A=>i.details.limits.enabled=A),y.changeLimitsEnabled],density:"compact",color:"primary",class:"compact-switch","hide-details":""},null,8,["modelValue","onUpdate:modelValue"])):h("",!0),f!=="enabled"?(r(),o(l,{key:2,cols:"4",class:"label"},{default:e(()=>[s(d(f),1)]),_:2},1024)):h("",!0),f!=="enabled"?(r(),g("div",E,d(y.formatLimit(b)),1)):h("",!0),t(l)]),_:2},1024))),128))])):(r(),o(u,{key:8,"no-gutters":""},{default:e(()=>[t(l,{cols:"5",class:"label"},{default:e(()=>a[29]||(a[29]=[s("Limits")])),_:1}),t(l,null,{default:e(()=>a[30]||(a[30]=[s("None")])),_:1})]),_:1})),i.details.meta?(r(),g("div",x,[t(u,{"no-gutters":""},{default:e(()=>[t(l,{cols:"5",class:"label"},{default:e(()=>a[31]||(a[31]=[s("Meta")])),_:1}),t(l)]),_:1}),(r(!0),g(v,null,w(i.details.meta,(b,f)=>(r(),o(u,{"no-gutters":"",key:f},{default:e(()=>[t(l,{cols:"1"}),t(l,{cols:"4",class:"label"},{default:e(()=>[s(d(f),1)]),_:2},1024),t(l,null,{default:e(()=>[s(d(b.join(", ")),1)]),_:2},1024)]),_:2},1024))),128))])):(r(),o(u,{key:10,"no-gutters":""},{default:e(()=>[t(l,{cols:"5",class:"label"},{default:e(()=>a[32]||(a[32]=[s("Meta")])),_:1}),t(l,null,{default:e(()=>a[33]||(a[33]=[s("None")])),_:1})]),_:1}))]),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue"])}const j=C("P",V(c,[["render",B],["__scopeId","data-v-785491ee"]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["vue","./main-ca88b1aac639693ffb5d.js","vue-router","vuex","vuetify"],function(a,p){"use strict";var t,n,r,o,i,s;return{setters:[e=>{t=e.openBlock,n=e.createBlock,r=e.resolveDynamicComponent,o=e.normalizeProps,i=e.guardReactiveProps},e=>{s=e.s},null,null,null],execute:function(){const e={data(){return{widgetType:null}},props:{name:{default:null}},computed:{url:function(){return`${window.location.origin}/tools/widgets/${this.name}/${this.name}.umd.min.js`}},async mounted(){try{this.widgetType=await System.import(this.url)}catch{throw new Error(`Unknown widget: ${this.name}`)}}};function c(u,d,w,y,l,g){return t(),n(r(l.widgetType),o(i({...u.$props,...u.$attrs})),null,16)}const m=a("default",s(e,[["render",c]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-orNSvnOh-a98828cd439e9a94bd76.js","./ValueWidget-CZh7JWwT-5598101fe6c7553e1a1a.js","vue","./main-ca88b1aac639693ffb5d.js","./DetailsDialog-EWjtBjle-c7397b128a1627131c19.js","./VWidget-Dmqf_jKM-f03d30579a2fe310f9fe.js","vue-router","vuex","vuetify"],function(u,f){"use strict";var r,s,n,a,l,i,o,c,m;return{setters:[e=>{r=e.o},e=>{s=e.default},e=>{n=e.resolveComponent,a=e.openBlock,l=e.createElementBlock,i=e.normalizeStyle,o=e.createVNode,c=e.mergeProps},e=>{m=e.s},null,null,null,null,null],execute:function(){const e={mixins:[r],components:{ValueWidget:s},computed:{getParameters(){return[this.parameters[0],this.parameters[1],this.parameters[2],this.parameters[4]]}},created(){this.setWidth(this.parameters[5],"ch",12)}};function p(t,h,j,y,W,g){const d=n("value-widget");return a(),l("div",{ref:"container",class:"d-flex flex-row",style:i(t.computedStyle)},[o(d,c(t.$attrs,{parameters:g.getParameters,settings:t.appliedSettings,"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone,"format-string":t.parameters[3]}),null,16,["parameters","settings","screen-values","screen-time-zone","format-string"])],4)}const v=u("default",m(e,[["render",p]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./main-ca88b1aac639693ffb5d.js","vue"],function(le,De){"use strict";var $,H,j,M,F,A,W,B,J,h,w,O,Q,i,s,I,ee,x,T,m,S,E,b,N,te,ie,q,ae,se;return{setters:[p=>{$=p.s,H=p.P,j=p.D,M=p.a,F=p.B,A=p.b,W=p.c,B=p.l,J=p.W},p=>{h=p.resolveComponent,w=p.openBlock,O=p.createElementBlock,Q=p.withModifiers,i=p.createVNode,s=p.withCtx,I=p.withDirectives,ee=p.normalizeClass,x=p.createElementVNode,T=p.mergeProps,m=p.createTextVNode,S=p.vShow,E=p.toDisplayString,b=p.createBlock,N=p.createCommentVNode,te=p.normalizeProps,ie=p.guardReactiveProps,q=p.withKeys,ae=p.Fragment,se=p.renderList}],execute:function(){const p={props:{modelValue:Boolean,title:{type:String,required:!0},legendPosition:{type:String,required:!0},items:{type:Array,required:!0},graphMinY:{type:Number},graphMaxY:{type:Number},lines:{type:Array,required:!0},colors:{type:Array,required:!0},startDateTime:{type:Number},endDateTime:{type:Number},timeZone:{type:String,required:!0}},mixins:[H],data:function(){return{tab:0,graph:{},legendPositions:["top","bottom","left","right"],startDate:null,startTime:null,endDate:null,endTime:null,lineHeaders:[{title:"Y Value",value:"yValue"},{title:"Color",value:"color"},{title:"Actions",value:"actions",sortable:!1}],itemHeaders:[{title:"Target Name",value:"targetName"},{title:"Packet Name",value:"packetName"},{title:"Item Name",value:"itemName"},{title:"Actions",value:"actions",sortable:!1}],rules:{date:t=>{if(!t)return!0;try{return A(W(t,"yyyy-MM-dd",new Date))||"Invalid date (YYYY-MM-DD)"}catch{return"Invalid date (YYYY-MM-DD)"}},time:t=>{if(!t)return!0;try{return A(W(t,"HH:mm:ss",new Date))||"Invalid time (HH:MM:SS)"}catch{return"Invalid time (HH:MM:SS)"}}}}},computed:{show:{get(){return this.modelValue},set(t){this.$emit("update:modelValue",t)}},editItems:function(){if(!this.items)return[];let t=0;return this.items.map(e=>(t+=1,{...e,itemId:t}))}},created(){if(this.graph={title:this.title,legendPosition:this.legendPosition,items:this.items,graphMinY:this.graphMinY,graphMaxY:this.graphMaxY,lines:[...this.lines]},this.startDateTime){let t=B(this.startDateTime/1e6);this.startDate=this.formatDate(t,this.timeZone),this.startTime=this.formatTimeHMS(t,this.timeZone)}else{let t=new Date-36e5;this.startDate=this.formatDate(t,this.timeZone),this.startTime=this.formatTimeHMS(t,this.timeZone)}if(this.endDateTime){let t=B(this.endDateTime/1e6);this.endDate=this.formatDate(t,this.timeZone),this.endTime=this.formatTimeHMS(t,this.timeZone)}},methods:{closeOk(){this.startDate&&this.startTime?this.graph.startDateTime=this.startDate+" "+this.startTime:this.graph.startDateTime=null,this.endDate&&this.endTime?this.graph.endDateTime=this.endDate+" "+this.endTime:this.graph.endDateTime=null,this.$emit("ok",this.graph)},addLine(){this.graph.lines.push({yValue:0,color:"white"})},removeLine(t){let e=this.graph.lines.indexOf(t);this.graph.lines.splice(e,1)}}},oe={class:"edit-box"},re={class:"edit-box"},ne={class:"edit-box"},de={class:"edit-box"};function he(t,e,a,u,l,o){const n=h("v-spacer"),r=h("v-toolbar"),v=h("v-tab"),g=h("v-tabs"),y=h("v-text-field"),D=h("v-card-text"),_=h("v-col"),V=h("v-select"),f=h("v-row"),z=h("v-tabs-window-item"),U=h("v-btn"),P=h("v-list-item"),k=h("v-icon"),C=h("v-tooltip"),G=h("v-list"),L=h("v-data-table"),Z=h("v-tabs-window"),K=h("v-card-actions"),d=h("v-card"),R=h("v-dialog");return w(),b(R,{modelValue:o.show,"onUpdate:modelValue":e[12]||(e[12]=c=>o.show=c),onKeydown:e[13]||(e[13]=q(c=>t.$emit("cancel"),["esc"])),"max-width":"700"},{default:s(()=>[i(r,{height:"24"},{default:s(()=>[i(n),e[14]||(e[14]=x("span",null," Edit Graph ",-1)),i(n)]),_:1}),i(d,{class:"pa-3"},{default:s(()=>[i(g,{modelValue:t.tab,"onUpdate:modelValue":e[0]||(e[0]=c=>t.tab=c),class:"ml-3"},{default:s(()=>[i(v,{value:"0"},{default:s(()=>e[15]||(e[15]=[m(" Settings ")])),_:1}),i(v,{value:"1"},{default:s(()=>e[16]||(e[16]=[m(" Scale / Lines ")])),_:1}),i(v,{value:"2"},{default:s(()=>e[17]||(e[17]=[m(" Items ")])),_:1})]),_:1},8,["modelValue"]),i(Z,{modelValue:t.tab,"onUpdate:modelValue":e[10]||(e[10]=c=>t.tab=c)},{default:s(()=>[i(z,{value:"0",eager:""},{default:s(()=>[x("div",oe,[i(f,null,{default:s(()=>[i(_,null,{default:s(()=>[i(D,{class:"pa-0"},{default:s(()=>[i(y,{class:"pb-2",label:"Title",modelValue:t.graph.title,"onUpdate:modelValue":e[1]||(e[1]=c=>t.graph.title=c),"hide-details":""},null,8,["modelValue"])]),_:1})]),_:1}),i(_,null,{default:s(()=>[i(V,{label:"Legend Position","hide-details":"",items:t.legendPositions,modelValue:t.graph.legendPosition,"onUpdate:modelValue":e[2]||(e[2]=c=>t.graph.legendPosition=c),style:{"max-width":"280px"}},null,8,["items","modelValue"])]),_:1})]),_:1})]),x("div",re,[i(D,{class:"pa-0"},{default:s(()=>e[18]||(e[18]=[m(" Select a start date/time for the graph. Leave blank for start now. ")])),_:1}),i(f,null,{default:s(()=>[i(_,null,{default:s(()=>[i(y,{label:"Start Date",name:`date${Date.now()}`,rules:[t.rules.date],modelValue:t.startDate,"onUpdate:modelValue":e[3]||(e[3]=c=>t.startDate=c),type:"date"},null,8,["name","rules","modelValue"])]),_:1}),i(_,null,{default:s(()=>[i(y,{label:"Start Time",name:`time${Date.now()}`,rules:[t.rules.time],modelValue:t.startTime,"onUpdate:modelValue":e[4]||(e[4]=c=>t.startTime=c),type:"time",step:"1"},null,8,["name","rules","modelValue"])]),_:1})]),_:1}),i(D,{class:"pa-0"},{default:s(()=>e[19]||(e[19]=[m(" Select a end date/time for the graph. Leave blank for continuous real-time graphing. ")])),_:1}),i(f,null,{default:s(()=>[i(_,null,{default:s(()=>[i(y,{label:"End Date",name:`date${Date.now()}`,rules:[t.rules.date],modelValue:t.endDate,"onUpdate:modelValue":e[5]||(e[5]=c=>t.endDate=c),type:"date"},null,8,["name","rules","modelValue"])]),_:1}),i(_,null,{default:s(()=>[i(y,{label:"End Time",name:`time${Date.now()}`,rules:[t.rules.time],modelValue:t.endTime,"onUpdate:modelValue":e[6]||(e[6]=c=>t.endTime=c),type:"time",step:"1"},null,8,["name","rules","modelValue"])]),_:1})]),_:1})])]),_:1}),i(z,{value:"1",eager:""},{default:s(()=>[x("div",ne,[i(D,{class:"pa-0"},{default:s(()=>e[20]||(e[20]=[m(" Set a min or max Y value to override automatic scaling ")])),_:1}),i(f,{dense:""},{default:s(()=>[i(_,{class:"px-2"},{default:s(()=>[i(y,{"hide-details":"",label:"Min Y Axis (Optional)",modelValue:t.graph.graphMinY,"onUpdate:modelValue":e[7]||(e[7]=c=>t.graph.graphMinY=c),type:"number"},null,8,["modelValue"])]),_:1}),i(_,{class:"px-2"},{default:s(()=>[i(y,{"hide-details":"",label:"Max Y Axis (Optional)",modelValue:t.graph.graphMaxY,"onUpdate:modelValue":e[8]||(e[8]=c=>t.graph.graphMaxY=c),type:"number"},null,8,["modelValue"])]),_:1})]),_:1})]),x("div",de,[i(G,{density:"compact",class:"horizontal-lines"},{default:s(()=>[i(P,null,{default:s(()=>[e[22]||(e[22]=x("span",{style:{"padding-top":"5px"}}," Add horizontal lines to the graph ",-1)),i(n),i(U,{onClick:e[9]||(e[9]=c=>o.addLine())},{default:s(()=>e[21]||(e[21]=[m(" New Line ")])),_:1})]),_:1}),(w(!0),O(ae,null,se(t.graph.lines,(c,X)=>(w(),b(P,{key:X,value:c,color:"primary"},{default:s(()=>[i(f,null,{default:s(()=>[i(_,null,{default:s(()=>[i(y,{label:"Y Value",modelValue:c.yValue,"onUpdate:modelValue":Y=>c.yValue=Y},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),i(_,null,{default:s(()=>[i(V,{label:"Color","hide-details":"",items:a.colors,modelValue:c.color,"onUpdate:modelValue":Y=>c.color=Y},null,8,["items","modelValue","onUpdate:modelValue"])]),_:2},1024),i(_,null,{default:s(()=>[i(C,{text:"Remove",location:"top"},{activator:s(({props:Y})=>[i(k,T({ref_for:!0},Y,{style:{padding:"30px"},onClick:ke=>o.removeLine(c)}),{default:s(()=>e[23]||(e[23]=[m("mdi-delete")])),_:2},1040,["onClick"])]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1032,["value"]))),128))]),_:1})])]),_:1}),i(z,{value:"2",eager:""},{default:s(()=>[i(L,{"item-key":"itemId",class:"elevation-1 my-2","data-test":"edit-graph-items",headers:t.itemHeaders,items:o.editItems,"items-per-page":5,"footer-props":{"items-per-page-options":[5]}},{"item.actions":s(({item:c})=>[i(C,{text:"Remove",location:"top"},{activator:s(({props:X})=>[i(k,T(X,{onClick:Y=>t.$emit("remove",c)}),{default:s(()=>e[24]||(e[24]=[m(" mdi-delete ")])),_:2},1040,["onClick"])]),_:2},1024)]),"no-data":s(()=>e[25]||(e[25]=[x("span",null," Currently no items on this graph ",-1)])),_:1},8,["headers","items"])]),_:1})]),_:1},8,["modelValue"]),i(K,{class:"px-2"},{default:s(()=>[i(n),i(U,{variant:"outlined",onClick:e[11]||(e[11]=c=>t.$emit("cancel"))},{default:s(()=>e[26]||(e[26]=[m(" Cancel ")])),_:1}),i(U,{variant:"flat",onClick:o.closeOk},{default:s(()=>e[27]||(e[27]=[m(" Ok ")])),_:1},8,["onClick"])]),_:1})]),_:1})]),_:1},8,["modelValue"])}const ue=$(p,[["render",he]]),me={props:{modelValue:Boolean,item:{type:Object,required:!0},colors:{type:Array,required:!0}},data:function(){return{editItem:null,limitsName:"NONE",limits:{NONE:[]},valueTypes:["CONVERTED","RAW"],reduction:[{text:"NONE",value:"DECOM"},{text:"REDUCED_MINUTE",value:"REDUCED_MINUTE"},{text:"REDUCED_HOUR",value:"REDUCED_HOUR"},{text:"REDUCED_DAY",value:"REDUCED_DAY"}],reducedTypes:["MIN","MAX","AVG","STDDEV"]}},computed:{show:{get(){return this.modelValue},set(t){this.$emit("update:modelValue",t)}},limitsNames(){return Object.keys(this.limits)}},async created(){this.editItem={...this.item},await this.api,this.api=new J().get_item(this.item.targetName,this.item.packetName,this.item.itemName).then(t=>{for(const[e,a]of Object.entries(t.limits))Object.keys(a).includes("red_low")&&this.$set(this.limits,e,Object.values(a));this.limitsName=Object.keys(this.limits).find(e=>this.limits[e]+""==this.editItem.limits+"")})}},ce={key:0},pe={class:"pa-3"};function ge(t,e,a,u,l,o){const n=h("v-card-title"),r=h("v-select"),v=h("v-card-text"),g=h("v-spacer"),y=h("v-btn"),D=h("v-card-actions"),_=h("v-card"),V=h("v-dialog");return w(),b(V,{modelValue:o.show,"onUpdate:modelValue":e[9]||(e[9]=f=>o.show=f),width:"400",onKeydown:e[10]||(e[10]=q(f=>t.success(),["enter"]))},{default:s(()=>[i(_,null,{default:s(()=>[i(n,{class:"mb-2"},{default:s(()=>e[11]||(e[11]=[m("Edit Item")])),_:1}),i(v,null,{default:s(()=>[i(r,{variant:"outlined","hide-details":"",label:"Value Type",items:t.valueTypes,modelValue:t.editItem.valueType,"onUpdate:modelValue":e[0]||(e[0]=f=>t.editItem.valueType=f),class:"mb-2"},null,8,["items","modelValue"]),i(r,{variant:"outlined","hide-details":"",label:"Reduction",items:t.reduction,modelValue:t.editItem.reduced,"onUpdate:modelValue":e[1]||(e[1]=f=>t.editItem.reduced=f),class:"mb-2"},null,8,["items","modelValue"]),i(r,{variant:"outlined","hide-details":"",label:"Reduced Type",items:t.reducedTypes,disabled:t.currentReduced==="DECOM",modelValue:t.editItem.reducedType,"onUpdate:modelValue":e[2]||(e[2]=f=>t.editItem.reducedType=f),class:"mb-2"},null,8,["items","disabled","modelValue"]),i(r,{variant:"outlined","hide-details":"",label:"Color",items:a.colors,modelValue:t.editItem.color,"onUpdate:modelValue":[e[3]||(e[3]=f=>t.editItem.color=f),e[4]||(e[4]=f=>t.$emit("changeColor",f))],class:"mb-2"},null,8,["items","modelValue"]),o.limitsNames.length>1?(w(),O("div",ce,[i(r,{variant:"outlined","hide-details":"",label:"Display Limits",items:o.limitsNames,modelValue:t.limitsName,"onUpdate:modelValue":[e[5]||(e[5]=f=>t.limitsName=f),e[6]||(e[6]=f=>t.$emit("changeLimits",t.limits[t.limitsName]))]},null,8,["items","modelValue"]),x("div",pe,E(t.limitsName)+": "+E(t.limits[t.limitsName]),1)])):N("",!0)]),_:1}),i(D,{class:"px-2"},{default:s(()=>[i(g),i(y,{variant:"outlined",onClick:e[7]||(e[7]=f=>t.$emit("cancel"))},{default:s(()=>e[12]||(e[12]=[m(" Cancel ")])),_:1}),i(y,{variant:"flat",onClick:e[8]||(e[8]=f=>t.$emit("close",t.editItem))},{default:s(()=>e[13]||(e[13]=[m(" Ok ")])),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue"])}const fe=$(me,[["render",ge]]),ve={components:{GraphEditDialog:ue,GraphEditItemDialog:fe},props:{id:{type:Number,required:!0},selectedGraphId:{type:Number},state:{type:String,required:!0},startTime:{type:Number},secondsGraphed:{type:Number,required:!0},pointsSaved:{type:Number,required:!0},pointsGraphed:{type:Number,required:!0},refreshIntervalMs:{type:Number,default:200},hideToolbar:{type:Boolean,default:!1},hideOverview:{type:Boolean,default:!1},sparkline:{type:Boolean,default:!1},initialItems:{type:Array},height:{type:Number},width:{type:Number},timeZone:{type:String,default:"local"}},mixins:[H],data(){return{lines:[],active:!0,expand:!0,fullWidth:!0,fullHeight:!0,graph:null,editGraph:!1,editGraphMenu:!1,editGraphMenuX:0,editGraphMenuY:0,editItem:!1,itemMenu:!1,itemMenuX:0,itemMenuY:0,legendMenu:!1,legendMenuX:0,legendMenuY:0,legendPosition:"bottom",selectedItem:null,hideToolbarData:this.hideToolbar,showOverview:!this.hideOverview,hideOverviewData:this.hideOverview,title:"",overview:null,data:[[]],dataChanged:!1,timeout:null,graphMinY:null,graphMaxY:null,graphStartDateTime:null,graphEndDateTime:null,indexes:{},items:this.initialItems||[],limitsValues:[],drawInterval:null,zoomChart:!1,zoomOverview:!1,cable:new j,subscription:null,needToUpdate:!1,errorDialog:!1,errors:[],colorIndex:0,colors:["#00c7cb","#938bdb","#4dacff","lime","darkorange","red","gold","hotpink","tan","cyan","maroon","blue","teal","purple","green","brown","lightblue","white","black"]}},computed:{calcFullSize:function(){return this.fullWidth||this.fullHeight},error:function(){return this.errorDialog&&this.errors.length>0?JSON.stringify(this.errors,null,4):null}},created(){this.title=`Graph ${this.id}`;for(const[t,e]of this.items.entries())this.data.push([]),this.indexes[this.subscriptionKey(e)]=t+1,e.color===void 0&&(e.color=this.colors[this.colorIndex]),this.colorIndex++,this.colorIndex===this.colors.length&&(this.colorIndex=0)},mounted(){const{chartSeries:t,overviewSeries:e}=this.items.reduce((u,l)=>{const o={spanGaps:!0};return u.chartSeries.push({...o,item:l,label:this.formatLabel(l),stroke:(n,r)=>this.items[r-1].color,width:2,value:(n,r)=>typeof r=="string"||isNaN(r)?"NaN":r==null?"--":r.toFixed(3)}),u.overviewSeries.push({...o}),u},{chartSeries:[],overviewSeries:[]});let a={};if(this.sparkline)this.hideToolbarData=!0,this.hideOverviewData=!0,this.showOverview=!1,a={width:this.width,height:this.height,pxAlign:!1,cursor:{show:!1},select:{show:!1},legend:{show:!1},scales:{x:{time:!1}},axes:[{show:!1},{show:!1}],series:[{},{stroke:"white"}]},this.graph=new M(a,this.data,document.getElementById(`chart${this.id}`));else{let u=Intl.DateTimeFormat().resolvedOptions().timeZone;this.timeZone&&this.timeZone!=="local"&&(u=this.timeZone),a={...this.getSize("chart"),...this.getScales(),...this.getAxes("chart"),plugins:[this.linesPlugin()],tzDate:o=>M.tzDate(new Date(o*1e3),u),series:[{label:"Time",value:(o,n)=>n==null?"--":this.formatSeconds(n,this.timeZone)},...t],cursor:{drag:{x:!0,y:!1},sync:{key:"openc3"},bind:{mouseup:(o,n,r)=>v=>{this.state==="pause"&&o.select.width===0&&this.$emit("start"),r(v)}}},hooks:{setScale:[(o,n)=>{if(n==="x"&&!this.zoomOverview&&this.overview){this.zoomChart=!0;let r=Math.round(this.overview.valToPos(o.scales.x.min,"x")),v=Math.round(this.overview.valToPos(o.scales.x.max,"x"));this.overview.setSelect({left:r,width:v-r}),this.zoomChart=!1}}],setSelect:[o=>{this.state==="start"&&o.select.width>0&&this.$emit("pause")}],ready:[o=>{o.root.querySelector(".u-over").addEventListener("contextmenu",r=>{r.preventDefault(),this.itemMenu=!1,this.legendMenu=!1,this.editGraphMenuX=r.clientX,this.editGraphMenuY=r.clientY,this.editGraphMenu=!0});let n=o.root.querySelector(".u-legend");n.addEventListener("contextmenu",r=>{r.preventDefault(),this.editGraphMenu=!1,this.legendMenu=!1,this.itemMenuX=r.clientX,this.itemMenuY=r.clientY;let v=r.target.closest(".u-series"),g=Array.prototype.slice.call(n.childNodes[0].childNodes).indexOf(v),y=o.series[g];y.item?(this.selectedItem=y.item,this.itemMenu=!0):(this.itemMenu=!1,this.legendMenuX=r.clientX,this.legendMenuY=r.clientY,this.legendMenu=!0)}),n.querySelector("tbody").appendChild(this.$refs.info)}]}},this.graph=new M(a,this.data,document.getElementById(`chart${this.id}`));const l={...this.getSize("overview"),...this.getScales(),...this.getAxes("overview"),tzDate:o=>M.tzDate(new Date(o*1e3),u),series:[...e],cursor:{y:!1,drag:{setScale:!1,x:!0,y:!1}},legend:{show:!1},hooks:{setSelect:[o=>{if(!this.zoomChart){this.state==="start"&&o.select.width>0&&this.$emit("pause"),this.zoomOverview=!0;let n=o.posToVal(o.select.left,"x"),r=o.posToVal(o.select.left+o.select.width,"x");this.graph.setScale("x",{min:n,max:r}),this.zoomOverview=!1}}]}};this.overview=new M(l,this.data,document.getElementById(`overview${this.id}`)),this.moveLegend(this.legendPosition),window.addEventListener("resize",this.resize)}this.state!=="stop"&&this.startGraph()},beforeUnmount:function(){this.stopGraph(),this.cable.disconnect(),window.removeEventListener("resize",this.resize)},watch:{state:function(t,e){switch(t){case"start":e==="stop"&&this.startGraph();break;case"stop":this.stopGraph();break}},data:function(t,e){this.dataChanged=!0},graphMinY:function(t,e){let a=parseFloat(t);isNaN(a)||(this.graphMinY=a),this.setGraphRange()},graphMaxY:function(t,e){let a=parseFloat(t);isNaN(a)||(this.graphMaxY=a),this.setGraphRange()},graphStartDateTime:function(t,e){t&&typeof t=="string"?(this.graphStartDateTime=this.parseDateTime(this.graphStartDateTime,this.timeZone)*1e6,this.graphStartDateTime!==e&&(this.needToUpdate=!0)):t===null&&e&&(this.graphStartDateTime=null,this.needToUpdate=!0)},graphEndDateTime:function(t,e){t&&typeof t=="string"?(this.graphEndDateTime=this.parseDateTime(this.graphEndDateTime,this.timeZone)*1e6,this.graphEndDateTime!==e&&(this.needToUpdate=!0)):t===null&&e&&(this.graphEndDateTime=null,this.needToUpdate=!0)}},methods:{startGraph:function(){this.subscribe(),this.timeout=setTimeout(()=>{this.updateTimeout()},this.refreshIntervalMs)},stopGraph:function(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=null),this.timeout&&(clearTimeout(this.timeout),this.timeout=null)},updateTimeout:function(){this.updateGraphData(),this.timeout=setTimeout(()=>{this.updateTimeout()},this.refreshIntervalMs)},updateGraphData:function(){if(this.state==="pause"||!this.dataChanged)return;this.graph.setData(this.data),this.overview&&this.overview.setData(this.data);let t=this.data[0][this.data[0].length-1],e=this.data[0][this.data[0].length-this.pointsGraphed],a=this.data[0][0];a<t-this.secondsGraphed&&(a=t-this.secondsGraphed),e>a&&(a=e),this.graph.setScale("x",{min:a,max:t}),this.dataChanged=!1},formatLabel(t){if(t.valueType==="CONVERTED"&&t.reduced==="DECOM")return t.itemName;{let e="";return t.valueType!=="CONVERTED"&&(e+=t.valueType),t.reduced!=="DECOM"&&(e!==""&&(e+=" "),e+=`${t.reduced.split("_")[1]} ${t.reducedType}`),`${t.itemName} (${e})`}},moveLegend:function(t){switch(t){case"bottom":this.graph.root.classList.remove("side-legend"),this.graph.root.classList.remove("left-legend"),this.graph.root.classList.remove("top-legend");break;case"top":this.graph.root.classList.remove("side-legend"),this.graph.root.classList.remove("left-legend"),this.graph.root.classList.add("top-legend");break;case"left":this.graph.root.classList.remove("top-legend"),this.graph.root.classList.add("side-legend"),this.graph.root.classList.add("left-legend");break;case"right":this.graph.root.classList.remove("top-legend"),this.graph.root.classList.remove("left-legend"),this.graph.root.classList.add("side-legend");break}this.legendPosition=t,this.resize()},clearErrors:function(){this.errors=[]},editGraphClose:function(t){this.editGraph=!1,this.title=t.title,this.legendPosition=t.legendPosition,this.graphMinY=t.graphMinY,this.graphMaxY=t.graphMaxY,this.lines=[...t.lines],this.graphStartDateTime=t.startDateTime,this.graphEndDateTime=t.endDateTime,this.$nextTick(()=>{if(this.needToUpdate){if(this.subscription==null)this.startGraph();else{let e=JSON.parse(JSON.stringify(this.items));this.removeItems(e),setTimeout(()=>{this.addItems(e)},0)}this.needToUpdate=!1}}),this.moveLegend(this.legendPosition),this.$emit("edit")},resize:function(){this.graph.setSize(this.getSize("chart")),this.overview&&this.overview.setSize(this.getSize("overview")),this.$emit("resize",this.id)},expandAll:function(){this.fullWidth=!0,this.fullHeight=!0,this.resize()},collapseAll:function(){this.fullWidth=!1,this.fullHeight=!1,this.resize()},expandWidth:function(){this.fullWidth=!0,this.resize()},collapseWidth:function(){this.fullWidth=!1,this.resize()},expandHeight:function(){this.fullHeight=!0,this.resize()},collapseHeight:function(){this.fullHeight=!1,this.resize()},minMaxTransition:function(){this.expand=!this.expand,this.$emit("min-max-graph",this.id)},setGraphRange:function(){let t=.1;(this.graphMinY||this.graphMinY===0||this.graphMaxY||this.graphMaxY===0)&&(t=0),this.graph.scales.y.range=(e,a,u)=>{let l=a;(this.graphMinY||this.graphMinY===0)&&(l=this.graphMinY);let o=u;return(this.graphMaxY||this.graphMaxY===0)&&(o=this.graphMaxY),M.rangeNum(l,o,t,!0)}},subscribe:function(){this.cable.createSubscription("StreamingChannel",window.openc3Scope,{received:t=>this.received(t),connected:()=>{this.addItemsToSubscription(this.items)},disconnected:()=>{this.errors.push({type:"disconnected",message:"OpenC3 backend connection disconnected",time:new Date().getTime()})},rejected:()=>{this.errors.push({type:"rejected",message:"OpenC3 backend connection rejected",time:new Date().getTime()})}}).then(t=>{this.subscription=t})},getSize:function(t){let e=0;const a=document.getElementById("openc3-nav-drawer");a&&(e=a.classList.contains("v-navigation-drawer--active")?a.clientWidth:0);let u=0;(this.legendPosition==="right"||this.legendPosition==="left")&&(u=document.getElementsByClassName("u-legend")[0].clientWidth);const l=Math.max(document.documentElement.clientWidth,window.innerWidth||0)-e-u,o=Math.max(document.documentElement.clientHeight,window.innerHeight||0),n=document.getElementsByClassName("v-expansion-panel")[0];let r=100;t==="overview"?this.fullHeight&&!this.hideOverviewData?this.showOverview=!0:this.showOverview=!1:(r=o-n.clientHeight-r-250,this.fullHeight||(r=r/2+10));let v=l-68;return this.fullWidth||(v=v/2-10),{width:this.width||v,height:this.height||r}},getScales:function(){return{scales:{x:{range(t,e,a){return e==null?[1566453600,1566497660]:[e,a]}},y:{range(t,e,a){return e==null?[-100,100]:M.rangeNum(e,a,.1,!0)}}}}},getAxes:function(t){let e="rgba(255, 255, 255, .1)",a="white";return{axes:[{stroke:a,grid:{show:!0,stroke:e,width:2}},{size:80,stroke:a,grid:{show:t!=="overview",stroke:e,width:2},values(u,l){return(l.some(o=>o>=1e7)||l.every(o=>o<.01))&&(l=l.map(o=>o.toExponential(3))),l}}]}},closeEditItem:function(t){this.editItem=!1,(this.graphEndDateTime!==null&&this.selectedItem!==t||this.selectedItem.valueType!==t.valueType||this.selectedItem.reduced!==t.reduced||this.selectedItem.reducedType!==t.reducedType)&&this.changeItem(t)},changeColor:function(t){let e=this.subscriptionKey(this.selectedItem),a=this.indexes[e];this.items[a-1].color=t,this.selectedItem.color=t,this.graph.root.querySelectorAll(".u-marker")[a].style.borderColor=t},changeLimits:function(t){let e=this.subscriptionKey(this.selectedItem),a=this.indexes[e];this.items[a-1].limits=t,this.selectedItem.limits=t,this.limitsValues=t},linesPlugin:function(){return{hooks:{draw:t=>{const{ctx:e,bbox:a}=t,u=t.valToPos(t.scales.y.min,"y",!0),l=t.valToPos(t.scales.y.max,"y",!0),o=t.valToPos(this.limitsValues[0],"y",!0),n=t.valToPos(this.limitsValues[1],"y",!0),r=t.valToPos(this.limitsValues[2],"y",!0),v=t.valToPos(this.limitsValues[3],"y",!0);if(this.lines.forEach(g=>{t.scales.y.min<=g.yValue&&g.yValue<=t.scales.y.max&&(e.save(),e.beginPath(),e.strokeStyle=g.color,e.lineWidth=2,e.moveTo(a.left,t.valToPos(g.yValue,"y",!0)),e.lineTo(a.left+a.width,t.valToPos(g.yValue,"y",!0)),e.stroke(),e.restore())}),e.save(),e.beginPath(),e.fillStyle="rgba(255,0,0,0.15)",t.scales.y.min<this.limitsValues[0]){let g=o<l?l:o;e.fillRect(a.left,o,a.width,u-g)}if(t.scales.y.max>this.limitsValues[3]){let g=u<v?u:v;e.fillRect(a.left,l,a.width,g-l)}if(e.fillStyle="rgba(255,255,0,0.15)",t.scales.y.min<this.limitsValues[1]&&t.scales.y.max>this.limitsValues[0]){let g=n<l?l:n;e.fillRect(a.left,g,a.width,o-g)}if(t.scales.y.max>this.limitsValues[2]&&t.scales.y.min<this.limitsValues[3]){let g=u<v?u:v,y=u<r?u:r;e.fillRect(a.left,g,a.width,y-g)}if(e.fillStyle="rgba(0,255,0,0.15)",this.limitsValues.length===4){if(t.scales.y.min<this.limitsValues[2]&&t.scales.y.max>this.limitsValues[1]){let g=r<l?l:r,y=u<n?u:n;e.fillRect(a.left,g,a.width,y-g)}}else{const g=t.valToPos(this.limitsValues[4],"y",!0),y=t.valToPos(this.limitsValues[5],"y",!0);if(t.scales.y.min<this.limitsValues[4]&&t.scales.y.max>this.limitsValues[1]){let V=g<l?l:g;e.fillRect(a.left,V,a.width,n-V)}if(t.scales.y.max>this.limitsValues[5]&&t.scales.y.min<this.limitsValues[2]){let V=u<r?u:r,f=u<y?u:y;e.fillRect(a.left,V,a.width,f-V)}e.fillStyle="rgba(0,0,255,0.15)";let D=y<l?l:y,_=u<g?u:g;e.fillRect(a.left,D,a.width,_-D)}e.stroke(),e.restore()}}}},changeItem:function(t){this.removeItems([this.selectedItem]),this.selectedItem.valueType=t.valueType,this.selectedItem.reduced=t.reduced,this.selectedItem.reducedType=t.reducedType,setTimeout(()=>{this.addItems([this.selectedItem])},0)},addItems:function(t,e="CONVERTED"){t.forEach(a=>{a.valueType||(a.valueType=e),a.color||(a.color=this.colors[this.colorIndex]),a.limits||(a.limits=[]),a.limits.length>0&&(this.limitsValues=a.limits),this.colorIndex=(this.colorIndex+1)%this.colors.length,this.items.push(a);const u=this.data.length;this.graph.addSeries(this.createSeriesConfig(a),u),this.overview&&this.overview.addSeries(this.createOverviewSeriesConfig(),u),this.data.splice(u,0,Array(this.data[0].length)),this.indexes[this.subscriptionKey(a)]=u}),this.updateColorIndex(t),this.addItemsToSubscription(t),this.$emit("resize"),this.$emit("edit")},createSeriesConfig:function(t){return{spanGaps:!0,item:t,label:this.formatLabel(t),stroke:(e,a)=>this.items[a-1].color,width:2,value:(e,a)=>typeof a=="string"||isNaN(a)?"NaN":a==null?"--":Math.abs(a)<.01&&a!==0||Math.abs(a)>=1e7?a.toExponential(6):a.toFixed(6)}},createOverviewSeriesConfig:function(){return{spanGaps:!0,stroke:(t,e)=>this.items[e-1].color}},updateColorIndex:function(t){const e=t[t.length-1];if(e){const a=this.colors.indexOf(e.color);a!==-1&&(this.colorIndex=(a+1)%this.colors.length)}},addItemsToSubscription:function(t=this.items){let e=this.startTime;this.graphStartDateTime&&(e=this.graphStartDateTime),this.subscription&&OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity).then(a=>{a&&OpenC3Auth.setTokens(),this.subscription.perform("add",{scope:window.openc3Scope,token:localStorage.openc3Token,items:t.map(this.subscriptionKey),start_time:e,end_time:this.graphEndDateTime})})},clearAllData:function(){this.data[0]=[],this.clearData(this.items)},clearData:function(t){for(const e of t.map(this.subscriptionKey)){let a=this.indexes[e];this.data[a]=Array(this.data[0].length).fill(null),this.graph.setData(this.data),this.overview&&this.overview.setData(this.data)}this.data.length===2&&(this.data[0]=[],this.graph.setData(this.data),this.overview.setData(this.data))},removeItems:function(t){this.removeItemsFromSubscription(t);for(const e of t.map(this.subscriptionKey)){const a=this.reorderIndexes(e);this.items.splice(a-1,1),this.data.splice(a,1),this.graph.delSeries(a),this.graph.setData(this.data),this.overview&&(this.overview.delSeries(a),this.overview.setData(this.data))}this.data.length===1&&(this.data[0]=[],this.graph.setData(this.data),this.overview.setData(this.data)),this.$emit("resize"),this.$emit("edit")},removeItemsFromSubscription:function(t=this.items){this.subscription&&this.subscription.perform("remove",{scope:window.openc3Scope,token:localStorage.openc3Token,items:t.map(this.subscriptionKey)})},reorderIndexes:function(t){let e=this.indexes[t];delete this.indexes[t];for(let a in this.indexes)this.indexes[a]>e&&(this.indexes[a]-=1);return e},received:function(t){this.cable.recordPing();for(let e=0;e<t.length;e++){let a=t[e].__time/1e9,u=t[0].length;if(u===0||a>t[0][u-1]){for(let l=0;l<this.data.length;l++)this.data[l].push(null);this.set_data_at_index(this.data[0].length-1,a,t[e])}else{let l=F(this.data[0],a,this.bs_comparator);if(l>=0)this.set_data_at_index(l,a,t[e]);else{let o=-l-1;for(let n=0;n<this.data.length;n++)this.data[n].splice(o,0,null);this.set_data_at_index(o,a,t[e])}}}if(this.startTime==null&&this.data[0][0]){let e=this.data[0][0]*1e9;this.$emit("started",e)}this.dataChanged=!0},bs_comparator:function(t,e){return t-e},set_data_at_index:function(t,e,a){this.data[0][t]=e;for(const[u,l]of Object.entries(a)){if(u==="time")continue;let o=this.indexes[u];if(o){let n=this.data[o];if(l!=null&&l.raw)n[t]=null;else if(typeof l=="string"){if(n[t]=null,!u.includes("__RAW")){for(let r of this.items)if(this.subscriptionKey(r)===u){this.selectedItem=r;break}this.changeItem({valueType:"RAW",reduced:this.selectedItem.reduced,reducedType:this.selectedItem.reducedType})}}else n[t]=l}}},subscriptionKey:function(t){let e=`${t.reduced}__TLM__${t.targetName}__${t.packetName}__${t.itemName}__${t.valueType}`;return(t.reduced==="REDUCED_MINUTE"||t.reduced==="REDUCED_HOUR"||t.reduced==="REDUCED_DAY")&&(e+=`__${t.reducedType}`),e}}},ye={class:"mx-2"},we={class:"pa-1",id:"chart",ref:"chart"},xe=["id"],be=["id"],_e={key:5,class:"u-series",ref:"info"};function Te(t,e,a,u,l,o){const n=h("v-icon"),r=h("v-tooltip"),v=h("v-spacer"),g=h("v-toolbar"),y=h("v-expand-transition"),D=h("v-card"),_=h("graph-edit-dialog"),V=h("v-text-field"),f=h("v-row"),z=h("v-textarea"),U=h("v-btn"),P=h("v-dialog"),k=h("v-list-item-title"),C=h("v-list-item"),G=h("v-list"),L=h("v-menu"),Z=h("graph-edit-item-dialog"),K=h("v-list-subheader");return w(),O("div",{onClick:e[21]||(e[21]=Q(d=>t.$emit("click"),["prevent"]))},[i(D,null,{default:s(()=>[I(i(g,{height:"24",class:ee(["pl-2 pr-2",a.selectedGraphId===a.id?"active":""])},{default:s(()=>[I(x("div",ye,[i(r,{text:"Errors",location:"top"},{activator:s(({props:d})=>[i(n,T(d,{onClick:e[0]||(e[0]=R=>l.errorDialog=!0)}),{default:s(()=>e[22]||(e[22]=[m(" mdi-alert ")])),_:2},1040)]),_:1})],512),[[S,l.errors.length!==0]]),i(r,{text:"Edit",location:"top"},{activator:s(({props:d})=>[i(n,T(d,{onClick:e[1]||(e[1]=R=>l.editGraph=!0),"data-test":"edit-graph-icon"}),{default:s(()=>e[23]||(e[23]=[m(" mdi-pencil ")])),_:2},1040)]),_:1}),i(v),x("span",null,E(l.title),1),i(v),I(x("div",null,[o.calcFullSize?(w(),b(r,{key:0,text:"Collapse",location:"top"},{activator:s(({props:d})=>[i(n,T(d,{onClick:o.collapseAll,"data-test":"collapse-all"}),{default:s(()=>e[24]||(e[24]=[m(" mdi-arrow-collapse ")])),_:2},1040,["onClick"])]),_:1})):(w(),b(r,{key:1,text:"Expand",location:"top"},{activator:s(({props:d})=>[i(n,T(d,{onClick:o.expandAll,"data-test":"expand-all"}),{default:s(()=>e[25]||(e[25]=[m(" mdi-arrow-expand ")])),_:2},1040,["onClick"])]),_:1}))],512),[[S,l.expand]]),I(x("div",null,[l.fullWidth?(w(),b(r,{key:0,text:"Collapse Width",location:"top"},{activator:s(({props:d})=>[i(n,T(d,{onClick:o.collapseWidth,"data-test":"collapse-width"}),{default:s(()=>e[26]||(e[26]=[m(" mdi-arrow-collapse-horizontal ")])),_:2},1040,["onClick"])]),_:1})):(w(),b(r,{key:1,text:"Expand Width",location:"top"},{activator:s(({props:d})=>[i(n,T(d,{onClick:o.expandWidth,"data-test":"expand-width"}),{default:s(()=>e[27]||(e[27]=[m(" mdi-arrow-expand-horizontal ")])),_:2},1040,["onClick"])]),_:1}))],512),[[S,l.expand]]),I(x("div",null,[l.fullHeight?(w(),b(r,{key:0,text:"Collapse Height",location:"top"},{activator:s(({props:d})=>[i(n,T(d,{onClick:o.collapseHeight,"data-test":"collapse-height"}),{default:s(()=>e[28]||(e[28]=[m(" mdi-arrow-collapse-vertical ")])),_:2},1040,["onClick"])]),_:1})):(w(),b(r,{key:1,text:"Expand Height",location:"top"},{activator:s(({props:d})=>[i(n,T(d,{onClick:o.expandHeight,"data-test":"expand-height"}),{default:s(()=>e[29]||(e[29]=[m(" mdi-arrow-expand-vertical ")])),_:2},1040,["onClick"])]),_:1}))],512),[[S,l.expand]]),l.expand?(w(),b(r,{key:0,text:"Minimize",location:"top"},{activator:s(({props:d})=>[i(n,T(d,{onClick:o.minMaxTransition,"data-test":"minimize-screen-icon"}),{default:s(()=>e[30]||(e[30]=[m(" mdi-window-minimize ")])),_:2},1040,["onClick"])]),_:1})):(w(),b(r,{key:1,text:"Maximize",location:"top"},{activator:s(({props:d})=>[i(n,T(d,{onClick:o.minMaxTransition,"data-test":"maximize-screen-icon"}),{default:s(()=>e[31]||(e[31]=[m(" mdi-window-maximize ")])),_:2},1040,["onClick"])]),_:1})),i(r,{text:"Close",location:"top"},{activator:s(({props:d})=>[i(n,T(d,{onClick:e[2]||(e[2]=R=>t.$emit("close-graph")),"data-test":"close-graph-icon"}),{default:s(()=>e[32]||(e[32]=[m(" mdi-close-box ")])),_:2},1040)]),_:1})]),_:1},8,["class"]),[[S,!l.hideToolbarData]]),i(y,null,{default:s(()=>[I(x("div",we,[x("div",{id:`chart${a.id}`},null,8,xe),e[33]||(e[33]=x("div",{id:"betweenCharts"},null,-1)),I(x("div",{id:`overview${a.id}`},null,8,be),[[S,l.showOverview]])],512),[[S,l.expand]])]),_:1})]),_:1}),l.editGraph?(w(),b(_,{key:0,modelValue:l.editGraph,"onUpdate:modelValue":e[3]||(e[3]=d=>l.editGraph=d),title:l.title,"legend-position":l.legendPosition,items:l.items,"graph-min-y":l.graphMinY,"graph-max-y":l.graphMaxY,lines:l.lines,colors:l.colors,"start-date-time":l.graphStartDateTime,"end-date-time":l.graphEndDateTime,"time-zone":a.timeZone,onRemove:e[4]||(e[4]=d=>o.removeItems([d])),onOk:o.editGraphClose,onCancel:e[5]||(e[5]=d=>l.editGraph=!1)},null,8,["modelValue","title","legend-position","items","graph-min-y","graph-max-y","lines","colors","start-date-time","end-date-time","time-zone","onOk"])):N("",!0),i(P,{modelValue:l.errorDialog,"onUpdate:modelValue":e[7]||(e[7]=d=>l.errorDialog=d),"max-width":"600"},{default:s(()=>[i(g,{height:"24"},{default:s(()=>[i(v),e[34]||(e[34]=x("span",null," Errors ",-1)),i(v)]),_:1}),i(D,{class:"pa-3"},{default:s(()=>[i(f,{dense:""},{default:s(()=>[i(V,{readonly:"","hide-details":"",modelValue:l.title,"onUpdate:modelValue":e[6]||(e[6]=d=>l.title=d),class:"pb-2",label:"Graph Title"},null,8,["modelValue"])]),_:1}),i(f,{class:"my-3"},{default:s(()=>[i(z,{readonly:"",rows:"8",value:o.error},null,8,["value"])]),_:1}),i(f,null,{default:s(()=>[i(U,{block:"",onClick:o.clearErrors},{default:s(()=>e[35]||(e[35]=[m(" Clear ")])),_:1},8,["onClick"])]),_:1})]),_:1})]),_:1},8,["modelValue"]),l.editGraphMenu?(w(),b(L,{key:1,modelValue:l.editGraphMenu,"onUpdate:modelValue":e[9]||(e[9]=d=>l.editGraphMenu=d),target:[l.editGraphMenuX,l.editGraphMenuY],absolute:"","offset-y":""},{default:s(()=>[i(G,null,{default:s(()=>[i(C,{onClick:e[8]||(e[8]=d=>l.editGraph=!0)},{default:s(()=>[i(k,{style:{cursor:"pointer"}},{default:s(()=>[m(" Edit "+E(l.title),1)]),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue","target"])):N("",!0),l.editItem?(w(),b(Z,{key:2,modelValue:l.editItem,"onUpdate:modelValue":e[10]||(e[10]=d=>l.editItem=d),colors:l.colors,item:l.selectedItem,onChangeColor:o.changeColor,onChangeLimits:o.changeLimits,onCancel:e[11]||(e[11]=d=>l.editItem=!1),onClose:o.closeEditItem},null,8,["modelValue","colors","item","onChangeColor","onChangeLimits","onClose"])):N("",!0),l.itemMenu?(w(),b(L,{key:3,modelValue:l.itemMenu,"onUpdate:modelValue":e[15]||(e[15]=d=>l.itemMenu=d),target:[l.itemMenuX,l.itemMenuY],absolute:"","offset-y":""},{default:s(()=>[i(G,{nav:"",density:"compact"},{default:s(()=>[i(K,null,{default:s(()=>[m(E(l.selectedItem.targetName)+" "+E(l.selectedItem.packetName)+" "+E(l.selectedItem.itemName),1)]),_:1}),i(C,{onClick:e[12]||(e[12]=d=>l.editItem=!0)},{prepend:s(()=>[i(n,{icon:"mdi-pencil"})]),default:s(()=>[i(k,null,{default:s(()=>e[36]||(e[36]=[m(" Edit ")])),_:1})]),_:1}),i(C,{onClick:e[13]||(e[13]=d=>o.clearData([l.selectedItem]))},{prepend:s(()=>[i(n,{icon:"mdi-eraser"})]),default:s(()=>[i(k,null,{default:s(()=>e[37]||(e[37]=[m(" Clear ")])),_:1})]),_:1}),i(C,{onClick:e[14]||(e[14]=d=>o.removeItems([l.selectedItem]))},{prepend:s(()=>[i(n,{icon:"mdi-delete"})]),default:s(()=>[i(k,null,{default:s(()=>e[38]||(e[38]=[m(" Delete ")])),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue","target"])):N("",!0),l.legendMenu?(w(),b(L,{key:4,modelValue:l.legendMenu,"onUpdate:modelValue":e[20]||(e[20]=d=>l.legendMenu=d),target:[l.legendMenuX,l.legendMenuY],absolute:"","offset-y":""},{default:s(()=>[i(G,null,{default:s(()=>[i(C,{onClick:e[16]||(e[16]=d=>o.moveLegend("top"))},{default:s(()=>[i(k,{style:{cursor:"pointer"}},{default:s(()=>e[39]||(e[39]=[m(" Legend Top ")])),_:1})]),_:1}),i(C,{onClick:e[17]||(e[17]=d=>o.moveLegend("bottom"))},{default:s(()=>[i(k,{style:{cursor:"pointer"}},{default:s(()=>e[40]||(e[40]=[m(" Legend Bottom ")])),_:1})]),_:1}),i(C,{onClick:e[18]||(e[18]=d=>o.moveLegend("left"))},{default:s(()=>[i(k,{style:{cursor:"pointer"}},{default:s(()=>e[41]||(e[41]=[m(" Legend Left ")])),_:1})]),_:1}),i(C,{onClick:e[19]||(e[19]=d=>o.moveLegend("right"))},{default:s(()=>[i(k,{style:{cursor:"pointer"}},{default:s(()=>e[42]||(e[42]=[m(" Legend RIght ")])),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue","target"])):N("",!0),a.sparkline?N("",!0):(w(),O("div",_e,[i(r,{text:"Click item to toggle, Right click to edit",location:"top"},{activator:s(({props:d})=>[i(n,te(ie(d)),{default:s(()=>e[43]||(e[43]=[m(" mdi-information-variant-circle ")])),_:2},1040)]),_:1})],512))])}const Ve=le("S",$(ve,[["render",Te],["__scopeId","data-v-485a5da2"]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-orNSvnOh-a98828cd439e9a94bd76.js","./main-ca88b1aac639693ffb5d.js"],function(u,_){"use strict";var c,d,m,p,o;return{setters:[n=>{c=n.o},n=>{d=n.l,m=n.y,p=n.c,o=n.e}],execute:function(){function n(e,s,t){const a=d(e,void 0);if(isNaN(s))return m(e,NaN);if(!s)return a;const i=a.getDate(),r=m(e,a.getTime());r.setMonth(a.getMonth()+s+1,0);const h=r.getDate();return i>=h?r:(a.setFullYear(r.getFullYear(),r.getMonth(),i),a)}function l(e,s,t){return o(e,-s,t)}function N(e,s,t){return n(e,-s)}function T(e,s,t){const{years:a=0,months:i=0,weeks:r=0,days:h=0,hours:g=0,minutes:y=0,seconds:f=0}=s,k=N(e,i+a*12),I=l(k,h+r*7,t),S=y+g*60,E=(f+S*60)*1e3;return m(e,+I-E)}const D=u("_",{mixins:[c],data:function(){return{id:Math.floor(Math.random()*1e11),state:"start",items:[{targetName:this.parameters[0],packetName:this.parameters[1],itemName:this.parameters[2],valueType:this.parameters[3]||"CONVERTED",reduced:this.parameters[4]||"DECOM",reducedType:this.parameters[5]||null}],startTime:null,secondsGraphed:3600,pointsSaved:3600,pointsGraphed:3600,size:{height:300,width:400}}},created:function(){this.appliedSettings.forEach(e=>{switch(e[0]){case"ITEM":this.items.push({targetName:e[1],packetName:e[2],itemName:e[3],valueType:e[4]||"CONVERTED",reduced:e[5]||"DECOM",reducedType:e[6]||null});case"STARTTIME":let s=p(e[1],"yyyy/MM/dd HH:mm:ss",new Date);this.startTime=s.getTime()*1e6;break;case"HISTORY":let t=parseInt(e[1].slice(0,e[1].length-1)),a=null,i=1;switch(e[1][e[1].length-1]){case"d":a="days",i=3600*24;break;case"h":a="hours",i=3600;break;case"m":a="minutes",i=60;break;case"s":a="seconds";break;default:throw new Error(`Unknown time suffix: ${e[1]}!`)}let r={};r[a]=t,this.startTime=T(new Date,r).getTime()*1e6,t*i>this.secondsGraphed&&(this.secondsGraphed=t*i),t*i>this.pointsSaved&&(this.pointsSaved=t*i),t*i>this.pointsGraphed&&(this.pointsGraphed=t*i);break;case"SECONDSGRAPHED":this.secondsGraphed=parseInt(e[1]);break;case"POINTSSAVED":this.pointsSaved=parseInt(e[1]);break;case"POINTSGRAPHED":this.pointsGraphed=parseInt(e[1]);break;case"SIZE":this.size.width=parseInt(e[1]),this.size.height=parseInt(e[2]);break}}),this.items=this.items.map(e=>{let s=e.itemName;if(e.itemName.includes("[["))e.itemName=e.itemName.replace("[[","[").replace("]]","]"),s=e.itemName;else if(e.itemName.includes("[")){let t=e.itemName.match(/\[(\d+)\]/);this.arrayIndex=parseInt(t[1]),s=e.itemName.replace(t[0],"")}return this.$emit("addItem",`${e.targetName}__${e.packetName}__${s}__${e.valueType}`,!0),e})},destroyed(){this.items.map(e=>this.$emit("deleteItem",`${e.targetName}__${e.packetName}__${e.itemName}__${e.valueType}`))}})}}});
@@ -0,0 +1 @@
1
+ System.register(["./Layout-klOVw-YN-1bd46bc37b38d46695d1.js","vue","./main-ca88b1aac639693ffb5d.js","./Widget-orNSvnOh-a98828cd439e9a94bd76.js","vue-router","vuex","vuetify"],function(v,k){"use strict";var a,r,i,c,o,m,u,g,p,f;return{setters:[e=>{a=e.r},e=>{r=e.openBlock,i=e.createElementBlock,c=e.normalizeStyle,o=e.Fragment,m=e.renderList,u=e.createBlock,g=e.resolveDynamicComponent,p=e.mergeProps},e=>{f=e.s},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 y(n,l,s,w,N,B){return r(),i("div",{ref:"container",class:"d-flex flex-row",style:c(n.computedStyle)},[(r(!0),i(o,null,m(n.widgets,(t,d)=>(r(),u(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=v("default",f(e,[["render",y]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./HorizontalWidget-BcfJ24Zn-bb6e43939a1af6088c96.js","./Layout-klOVw-YN-1bd46bc37b38d46695d1.js","vue","./main-ca88b1aac639693ffb5d.js","./Widget-orNSvnOh-a98828cd439e9a94bd76.js","vue-router","vuex","vuetify"],function(v,w){"use strict";var r,i,n,o,l,s,a,c,u,p,d,g;return{setters:[e=>{r=e.default},e=>{i=e.r},e=>{n=e.resolveComponent,o=e.openBlock,l=e.createElementBlock,s=e.createVNode,a=e.normalizeStyle,c=e.withCtx,u=e.createTextVNode,p=e.toDisplayString,d=e.mergeProps},e=>{g=e.s},null,null,null,null],execute:function(){const e={mixins:[i],components:{HorizontalWidget:r}};function m(t,z,S,N,k,V){const y=n("v-banner"),f=n("horizontal-widget");return o(),l("div",null,[s(y,{class:"boxbanner",style:a(t.computedStyle),"single-line":""},{default:c(()=>[u(p(t.parameters[0]),1)]),_:1},8,["style"]),s(f,d(t.listeners,{parameters:t.parameters.slice(1),settings:t.appliedSettings,widgets:t.widgets,"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone,"screen-id":t.screenId}),null,16,["parameters","settings","widgets","screen-values","screen-time-zone","screen-id"])])}const x=v("default",g(e,[["render",m],["__scopeId","data-v-e9e6c14b"]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["vue","./main-ca88b1aac639693ffb5d.js","vue-router","vuex","vuetify"],function(u,l){"use strict";var t,n,r;return{setters:[e=>{t=e.openBlock,n=e.createElementBlock},e=>{r=e.s},null,null,null],execute:function(){const e={};function c(s,i){return t(),n("hr")}const o=u("default",r(e,[["render",c]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-orNSvnOh-a98828cd439e9a94bd76.js","vue","./main-ca88b1aac639693ffb5d.js","vue-router","vuex","vuetify"],function(l,u){"use strict";var i,r,n,s,h;return{setters:[e=>{i=e.o},e=>{r=e.openBlock,n=e.createElementBlock,s=e.normalizeStyle},e=>{h=e.s},null,null,null],execute:function(){const e={mixins:[i],data:function(){return{width:800,height:600}},created:function(){this.setWidth(this.parameters[1],"px",this.width),this.setHeight(this.parameters[2],"px",this.height)}},c=["src","width","height"];function o(t,d,m,f,g,p){return r(),n("iframe",{title:"IFrameWidget",src:t.parameters[0],width:t.width,height:t.height,style:s(t.computedStyle)},null,12,c)}const a=l("default",h(e,[["render",o]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./main-ca88b1aac639693ffb5d.js"],function(r,s){"use strict";var e;return{setters:[n=>{e=n.O}],execute:function(){const n=r("s",{props:{target:{type:String,require:!0}},methods:{getPresignedUrl:async function(o){let t="targets_modified";return await e.get(`/openc3-api/storage/exists/${encodeURIComponent(`${window.openc3Scope}/${t}/${this.target}/public/${o}`)}?bucket=OPENC3_CONFIG_BUCKET`,{headers:{Accept:"application/json","Ignore-Errors":"404"}}).catch(c=>{t="targets"}),(await e.get(`/openc3-api/storage/download/${encodeURIComponent(`${window.openc3Scope}/${t}/${this.target}/public/${o}`)}?bucket=OPENC3_CONFIG_BUCKET`)).data.url}}})}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-orNSvnOh-a98828cd439e9a94bd76.js","vue","./main-ca88b1aac639693ffb5d.js","vue-router","vuex","vuetify"],function(u,m){"use strict";var r,a,n,s,i;return{setters:[e=>{r=e.o},e=>{a=e.openBlock,n=e.createElementBlock,s=e.normalizeStyle},e=>{i=e.s},null,null,null],execute:function(){const e={mixins:[r],data:function(){return{valueId:null,imageData:""}},computed:{src:function(){return`data:image/${this.parameters[3]};base64, ${this.screenValues[this.valueId][0]}`}},created:function(){this.valueId=`${this.parameters[0]}__${this.parameters[1]}__${this.parameters[2]}__CONVERTED`,this.$emit("addItem",this.valueId)},unmounted:function(){this.$emit("deleteItem",this.valueId)}},l=["src","alt","width","height"];function c(t,h,v,p,f,o){return a(),n("img",{src:o.src,alt:t.valueId,width:t.parameters[4],height:t.parameters[5],style:s(t.computedStyle)},null,12,l)}const d=u("default",i(e,[["render",c]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-orNSvnOh-a98828cd439e9a94bd76.js","vue","./main-ca88b1aac639693ffb5d.js","vue-router","vuex","vuetify"],function(m,f){"use strict";var s,n,i,r,a,l;return{setters:[t=>{s=t.o},t=>{n=t.openBlock,i=t.createElementBlock,r=t.normalizeStyle,a=t.toDisplayString},t=>{l=t.s},null,null,null],execute:function(){const t={mixins:[s],data(){return{fontFamily:null,fontSize:null,fontWeight:"normal",fontStyle:"normal"}},computed:{labelText(){return this.parameters[0]},cssProps(){let e=null;return this.fontSize&&(e=this.fontSize+"px"),{"--font-family":this.fontFamily,"--font-size":e,"--font-weight":this.fontWeight,"--font-style":this.fontStyle}}},created(){this.verifyNumParams("LABEL",1,5,"LABEL <Text> <Font Family> <Font Size> <Font Weight> <Font Style>"),this.parameters[1]&&(this.fontFamily=this.parameters[1]),this.parameters[2]&&(this.fontSize=this.parameters[2]),this.parameters[3]&&(this.fontWeight=this.parameters[3]),this.parameters[4]&&(this.fontStyle=this.parameters[4])}};function h(e,c,p,y,S,o){return n(),i("div",{"data-test":"label",class:"pa-1 mt-1 label",style:r([o.cssProps,e.computedStyle])},a(o.labelText),5)}const u=m("default",l(t,[["render",h],["__scopeId","data-v-1d1d3128"]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-orNSvnOh-a98828cd439e9a94bd76.js","./LabelWidget-B_C6lKOE-1baf36ea950e16dc4a9f.js","./LedWidget-BAt02s0J-953acf1731d56870bfcb.js","vue","./main-ca88b1aac639693ffb5d.js","vue-router","vuex","vuetify"],function(p,S){"use strict";var r,l,a,s,i,o,c,n,u,d;return{setters:[e=>{r=e.o},e=>{l=e.default},e=>{a=e.default},e=>{s=e.resolveComponent,i=e.openBlock,o=e.createElementBlock,c=e.normalizeStyle,n=e.createVNode,u=e.mergeProps},e=>{d=e.s},null,null,null],execute:function(){const e={mixins:[r],components:{LabelWidget:l,LedWidget:a},computed:{labelName(){return[this.parameters[2]+":"]}}};function g(t,x,b,y,B,m){const f=s("label-widget"),v=s("led-widget");return i(),o("div",{ref:"container",class:"d-flex flex-row",style:c(t.computedStyle)},[n(f,{parameters:m.labelName,settings:[...t.appliedSettings],"widget-index":0},null,8,["parameters","settings"]),n(v,u(t.$attrs,{parameters:t.parameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"widget-index":1}),null,16,["parameters","settings","screen-values"])],4)}const w=p("default",d(e,[["render",g]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-orNSvnOh-a98828cd439e9a94bd76.js","./LabelWidget-B_C6lKOE-1baf36ea950e16dc4a9f.js","./ProgressbarWidget-CYDziFej-22eea35cade22945adc9.js","vue","./main-ca88b1aac639693ffb5d.js","vue-router","vuex","vuetify"],function(p,y){"use strict";var n,l,a,r,o,i,c,s,u,g;return{setters:[e=>{n=e.o},e=>{l=e.default},e=>{a=e.default},e=>{r=e.resolveComponent,o=e.openBlock,i=e.createElementBlock,c=e.normalizeStyle,s=e.createVNode,u=e.mergeProps},e=>{g=e.s},null,null,null],execute:function(){const e={mixins:[n],components:{LabelWidget:l,ProgressbarWidget:a},computed:{labelName(){return[this.parameters[2]+":"]}}};function d(t,S,x,w,j,m){const f=r("label-widget"),v=r("progressbar-widget");return o(),i("div",{ref:"container",class:"d-flex flex-row",style:c(t.computedStyle)},[s(f,{parameters:m.labelName,settings:[...t.appliedSettings],"widget-index":0},null,8,["parameters","settings"]),s(v,u(t.$attrs,{parameters:t.parameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,style:t.computedStyle,"widget-index":1}),null,16,["parameters","settings","screen-values","style"])],4)}const b=p("default",g(e,[["render",d]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-orNSvnOh-a98828cd439e9a94bd76.js","./LabelWidget-B_C6lKOE-1baf36ea950e16dc4a9f.js","./SparklineWidget-CDrVXOFV-5ba8f9e7b8b17b27f865.js","vue","./main-ca88b1aac639693ffb5d.js","./GraphWidget-LqekkNDr-762dee3450f3a63fdce6.js","./Graph-BFUsShJg-aaadbcb335c2c4356090.js","vue-router","vuex","vuetify"],function(c,f){"use strict";var s,i,a,l,o,u,n,r,p;return{setters:[e=>{s=e.o},e=>{i=e.default},e=>{a=e.default},e=>{l=e.resolveComponent,o=e.openBlock,u=e.createElementBlock,n=e.normalizeStyle,r=e.createVNode},e=>{p=e.s},null,null,null,null,null],execute:function(){const e={mixins:[s],components:{LabelWidget:i,SparklineWidget:a},computed:{labelName(){return[this.parameters[2]+":"]}}};function d(t,k,v,y,N,m){const g=l("label-widget"),S=l("sparkline-widget");return o(),u("div",{ref:"container",class:"d-flex flex-row",style:n(t.computedStyle)},[r(g,{parameters:m.labelName,settings:[...t.appliedSettings],line:t.line,lineNumber:t.lineNumber,"widget-index":0},null,8,["parameters","settings","line","lineNumber"]),r(S,{parameters:t.parameters,settings:[...t.appliedSettings],style:n(t.computedStyle),"widget-index":1},null,8,["parameters","settings","style"])],4)}const b=c("default",p(e,[["render",d]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-orNSvnOh-a98828cd439e9a94bd76.js","./LabelWidget-B_C6lKOE-1baf36ea950e16dc4a9f.js","./ValueWidget-CZh7JWwT-5598101fe6c7553e1a1a.js","vue","./main-ca88b1aac639693ffb5d.js","./DetailsDialog-EWjtBjle-c7397b128a1627131c19.js","./VWidget-Dmqf_jKM-f03d30579a2fe310f9fe.js","vue-router","vuex","vuetify"],function(d,f){"use strict";var l,s,a,n,i,u,m,r,o,c;return{setters:[e=>{l=e.o},e=>{s=e.default},e=>{a=e.default},e=>{n=e.resolveComponent,i=e.openBlock,u=e.createElementBlock,m=e.normalizeStyle,r=e.createVNode,o=e.mergeProps},e=>{c=e.s},null,null,null,null,null],execute:function(){const e={mixins:[l],components:{LabelWidget:s,ValueWidget:a},computed:{labelName(){let t=this.parameters[2];return t.includes("[[")&&(t=t.replace("[[","[").replace("]]","]")),[t+":"]},valueParameters(){return[this.parameters[0],this.parameters[1],this.parameters[2],this.parameters[3],this.parameters[4]]}}};function g(t,j,S,W,w,p){const v=n("label-widget"),b=n("value-widget");return i(),u("div",{ref:"container",class:"d-flex flex-row",style:m(t.computedStyle)},[r(v,{parameters:p.labelName,settings:[...t.appliedSettings],line:t.line,"line-number":t.lineNumber,"widget-index":0},null,8,["parameters","settings","line","line-number"]),r(b,o(t.$attrs,{parameters:p.valueParameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone,line:t.line,"line-number":t.lineNumber,"widget-index":1}),null,16,["parameters","settings","screen-values","screen-time-zone","line","line-number"])],4)}const h=d("default",c(e,[["render",g]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-orNSvnOh-a98828cd439e9a94bd76.js","./LabelWidget-B_C6lKOE-1baf36ea950e16dc4a9f.js","./ValueWidget-CZh7JWwT-5598101fe6c7553e1a1a.js","./main-ca88b1aac639693ffb5d.js","vue","./DetailsDialog-EWjtBjle-c7397b128a1627131c19.js","./VWidget-Dmqf_jKM-f03d30579a2fe310f9fe.js","vue-router","vuex","vuetify"],function(d,W){"use strict";var n,a,i,l,u,s,m,o,c,r,p;return{setters:[e=>{n=e.o},e=>{a=e.default},e=>{i=e.default},e=>{l=e.s,u=e.W},e=>{s=e.resolveComponent,m=e.openBlock,o=e.createElementBlock,c=e.normalizeStyle,r=e.createVNode,p=e.mergeProps},null,null,null,null,null],execute:function(){const e={mixins:[n],data(){return{description:"",valueParameters:[]}},components:{LabelWidget:a,ValueWidget:i},computed:{labelName(){return[this.description]}},created(){this.valueParameters=this.parameters.slice(0,3),this.parameters[4]!=null&&this.valueParameters.push(this.parameters[4]),this.parameters[5]!=null&&this.valueParameters.push(this.parameters[5]),this.parameters.length>3?this.description=this.parameters[3]:new u().get_item(this.parameters[0],this.parameters[1],this.parameters[2]).then(t=>{this.description=t.description})}};function g(t,w,P,x,h,v){const b=s("label-widget"),f=s("value-widget");return m(),o("div",{ref:"container",class:"d-flex flex-row",style:c(t.computedStyle)},[r(b,{parameters:v.labelName,settings:[...t.settings],line:t.line,"line-number":t.lineNumber,"widget-index":0},null,8,["parameters","settings","line","line-number"]),r(f,p(t.$attrs,{parameters:h.valueParameters,settings:[...t.settings],"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone,line:t.line,"line-number":t.lineNumber,"widget-index":1}),null,16,["parameters","settings","screen-values","screen-time-zone","line","line-number"])],4)}const j=d("default",l(e,[["render",g]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./LabelvalueWidget-CCZd1NXE-80599e273c69443d1539.js","./LimitsbarWidget-JJiyzZjb-3cecd3f567a7e8ba26e9.js","./Widget-orNSvnOh-a98828cd439e9a94bd76.js","vue","./main-ca88b1aac639693ffb5d.js","./LabelWidget-B_C6lKOE-1baf36ea950e16dc4a9f.js","./ValueWidget-CZh7JWwT-5598101fe6c7553e1a1a.js","./DetailsDialog-EWjtBjle-c7397b128a1627131c19.js","./VWidget-Dmqf_jKM-f03d30579a2fe310f9fe.js","./BarColumn-Dm3D1Lhp-ec78839c989cf756abdd.js","vue-router","vuex","vuetify"],function(m,j){"use strict";var r,a,i,s,u,o,c,l,n,g;return{setters:[e=>{r=e.default},e=>{a=e.default},e=>{i=e.o},e=>{s=e.resolveComponent,u=e.openBlock,o=e.createElementBlock,c=e.normalizeStyle,l=e.createVNode,n=e.mergeProps},e=>{g=e.s},null,null,null,null,null,null,null,null],execute:function(){const e={mixins:[i],components:{LabelvalueWidget:r,LimitsbarWidget:a},computed:{labelValueSettings(){return[...this.appliedSettings.filter(t=>t[0]==="__SCREEN_ID__"),...this.settings.filter(t=>parseInt(t[0])===0||parseInt(t[0])===1)]}}};function p(t,S,W,_,y,d){const v=s("labelvalue-widget"),f=s("limitsbar-widget");return u(),o("div",{ref:"container",class:"d-flex flex-row",style:c(t.computedStyle)},[l(v,n(t.$attrs,{parameters:t.parameters,settings:d.labelValueSettings,"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone}),null,16,["parameters","settings","screen-values","screen-time-zone"]),l(f,n(t.$attrs,{parameters:t.parameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"widget-index":2}),null,16,["parameters","settings","screen-values"])],4)}const b=m("default",g(e,[["render",p]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./LabelWidget-B_C6lKOE-1baf36ea950e16dc4a9f.js","./ValueWidget-CZh7JWwT-5598101fe6c7553e1a1a.js","./LimitscolumnWidget-Cd76tBo7-b74cfe4b46851a84cb94.js","./Widget-orNSvnOh-a98828cd439e9a94bd76.js","vue","./main-ca88b1aac639693ffb5d.js","./DetailsDialog-EWjtBjle-c7397b128a1627131c19.js","./VWidget-Dmqf_jKM-f03d30579a2fe310f9fe.js","./BarColumn-Dm3D1Lhp-ec78839c989cf756abdd.js","vue-router","vuex","vuetify"],function(d,W){"use strict";var l,i,a,o,s,u,c,m,n,r,g;return{setters:[e=>{l=e.default},e=>{i=e.default},e=>{a=e.default},e=>{o=e.o},e=>{s=e.resolveComponent,u=e.openBlock,c=e.createElementBlock,m=e.normalizeStyle,n=e.createVNode,r=e.mergeProps},e=>{g=e.s},null,null,null,null,null,null],execute:function(){const e={mixins:[o],components:{LabelWidget:l,ValueWidget:i,LimitscolumnWidget:a}};function p(t,B,w,V,x,y){const v=s("label-widget"),f=s("limitscolumn-widget"),j=s("value-widget");return u(),c("div",{ref:"container",style:m(t.computedStyle)},[n(v,{parameters:[t.parameters[2]],settings:[...t.appliedSettings],"widget-index":0},null,8,["parameters","settings"]),n(f,r(t.$attrs,{parameters:t.parameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"widget-index":2}),null,16,["parameters","settings","screen-values"]),n(j,r(t.$attrs,{parameters:t.parameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone,"widget-index":1}),null,16,["parameters","settings","screen-values","screen-time-zone"])],4)}const S=d("default",g(e,[["render",p]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./LabelvalueWidget-CCZd1NXE-80599e273c69443d1539.js","./RangebarWidget-DW0FJK6y-dc1f38504dc9ff7de12c.js","./Widget-orNSvnOh-a98828cd439e9a94bd76.js","vue","./main-ca88b1aac639693ffb5d.js","./LabelWidget-B_C6lKOE-1baf36ea950e16dc4a9f.js","./ValueWidget-CZh7JWwT-5598101fe6c7553e1a1a.js","./DetailsDialog-EWjtBjle-c7397b128a1627131c19.js","./VWidget-Dmqf_jKM-f03d30579a2fe310f9fe.js","vue-router","vuex","vuetify"],function(g,f){"use strict";var l,i,u,r,m,o,c,s,a,p;return{setters:[e=>{l=e.default},e=>{i=e.default},e=>{u=e.o},e=>{r=e.resolveComponent,m=e.openBlock,o=e.createElementBlock,c=e.normalizeStyle,s=e.createVNode,a=e.mergeProps},e=>{p=e.s},null,null,null,null,null,null,null],execute:function(){const e={mixins:[u],components:{LabelvalueWidget:l,RangebarWidget:i},computed:{labelValueSettings(){return[...this.settings.filter(t=>t[0]==="__SCREEN_ID__"),...this.settings.filter(t=>parseInt(t[0])===0||parseInt(t[0])===1)]},labelValueParameters(){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,j,W,V,B,n){const h=r("labelvalue-widget"),v=r("rangebar-widget");return m(),o("div",{ref:"container",class:"d-flex flex-row",style:c(t.computedStyle)},[s(h,a(t.$attrs,{parameters:n.labelValueParameters,settings:n.labelValueSettings,"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone}),null,16,["parameters","settings","screen-values","screen-time-zone"]),s(v,a(t.$attrs,{parameters:n.rangeBarParameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"widget-index":2}),null,16,["parameters","settings","screen-values"])],4)}const b=g("default",p(e,[["render",d]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-orNSvnOh-a98828cd439e9a94bd76.js"],function(r,s){"use strict";var e;return{setters:[t=>{e=t.o}],execute:function(){const t=r("r",{mixins:[e],props:{widgets:{type:Array,default:()=>[]}}})}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-orNSvnOh-a98828cd439e9a94bd76.js","vue","./main-ca88b1aac639693ffb5d.js","vue-router","vuex","vuetify"],function(m,g){"use strict";var i,o,n,l,r,a,h,p,c;return{setters:[e=>{i=e.o},e=>{o=e.resolveComponent,n=e.openBlock,l=e.createBlock,r=e.withCtx,a=e.createElementVNode,h=e.mergeProps,p=e.toDisplayString},e=>{c=e.s},null,null,null],execute:function(){const e={mixins:[i],data(){return{valueId:null,colors:{TRUE:"openc3-green",FALSE:"openc3-red"}}},computed:{width(){return this.parameters[4]?parseInt(this.parameters[4]):20},height(){return this.parameters[5]?parseInt(this.parameters[5]):20},cssProps(){let t=this.screenValues[this.valueId][0],s=this.colors[t];return s||(s=this.colors.ANY),s||(s="openc3-black"),{"--height":this.height+"px","--width":this.width+"px","--color":s}},fullName(){return this.parameters[0]+" "+this.parameters[1]+" "+this.parameters[2]}},created(){this.appliedSettings.forEach(t=>{switch(t[0]){case"LED_COLOR":this.colors[t[1]]=t[2];break}}),this.parameters[3]||(this.parameters[3]="CONVERTED"),this.valueId=`${this.parameters[0]}__${this.parameters[1]}__${this.parameters[2]}__${this.parameters[3]}`,this.$emit("addItem",this.valueId)},unmounted(){this.$emit("deleteItem",this.valueId)}};function d(t,s,f,E,x,u){const v=o("v-tooltip");return n(),l(v,{location:"top"},{activator:r(({props:_})=>[a("div",h({class:"led mt-1",style:u.cssProps},_),null,16)]),default:r(()=>[a("span",null,p(u.fullName),1)]),_:1})}const I=m("default",c(e,[["render",d],["__scopeId","data-v-8c5b4138"]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./BarColumn-Dm3D1Lhp-ec78839c989cf756abdd.js","vue","./main-ca88b1aac639693ffb5d.js","./Widget-orNSvnOh-a98828cd439e9a94bd76.js","vue-router","vuex","vuetify"],function(u,h){"use strict";var l,r,a,n,s,e,o,c,_;return{setters:[i=>{l=i.u},i=>{r=i.resolveComponent,a=i.openBlock,n=i.createBlock,s=i.withCtx,e=i.createElementVNode,o=i.mergeProps,c=i.toDisplayString},i=>{_=i.s},null,null,null,null],execute:function(){const i={mixins:[l],data(){return{width:160,height:22}},computed:{limitsRange(){let t=this.limitsSettings[this.selectedLimitsSet];return t.length===4?`RL/${t[0]} YL/${t[1]} YH/${t[2]} RH/${t[3]}`:`RL/${t[0]} YL/${t[1]} YH/${t[2]} RH/${t[3]} GL/${t[4]} GH/${t[5]}`}}};function v(t,m,$,w,y,d){const p=r("v-tooltip");return a(),n(p,{location:"top"},{activator:s(({props:g})=>[e("div",o({class:"limitsbar",style:[t.cssProps,t.computedStyle]},g),m[0]||(m[0]=[e("div",{class:"limitsbar__container"},[e("div",{class:"limitsbar__redlow"}),e("div",{class:"limitsbar__redhigh"}),e("div",{class:"limitsbar__yellowlow"}),e("div",{class:"limitsbar__yellowhigh"}),e("div",{class:"limitsbar__greenlow"}),e("div",{class:"limitsbar__greenhigh"}),e("div",{class:"limitsbar__blue"}),e("div",{class:"limitsbar__line"}),e("div",{class:"limitsbar__arrow"})],-1)]),16)]),default:s(()=>[e("span",null,c(d.limitsRange),1)]),_:1})}const b=u("default",_(i,[["render",v],["__scopeId","data-v-6677be5d"]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./VWidget-Dmqf_jKM-f03d30579a2fe310f9fe.js","vue","./main-ca88b1aac639693ffb5d.js","./Widget-orNSvnOh-a98828cd439e9a94bd76.js","vue-router","vuex","vuetify"],function(u,h){"use strict";var r,a,l,i,s,n,o,c;return{setters:[e=>{r=e.L},e=>{a=e.resolveComponent,l=e.openBlock,i=e.createElementBlock,s=e.normalizeStyle,n=e.createElementVNode,o=e.createVNode},e=>{c=e.s},null,null,null,null],execute:function(){const e={mixins:[r],data(){return{radius:15,fullLabelDisplay:!1}},created(){this.parameters[4]&&(this.radius=parseInt(this.parameters[4])),this.parameters[5]&&this.parameters[5].toLowerCase()==="true"&&(this.fullLabelDisplay=!0)},computed:{labelName(){return this.fullLabelDisplay?[this.parameters[0]+" "+this.parameters[1]+" "+this.parameters[2]]:[this.parameters[2]]},cssProps(){return{"--height":this.radius+"px","--width":this.radius+"px","--color":this.limitsColor}}},methods:{getType(){let t="CONVERTED";return this.parameters[3]&&(t=this.parameters[3]),t}}};function m(t,y,g,v,x,p){const d=a("label-widget");return l(),i("div",{ref:"container",class:"d-flex flex-row",style:s(t.computedStyle)},[n("div",{class:"led align-self-center",style:s(p.cssProps)},null,4),o(d,{parameters:p.labelName,settings:t.appliedSettings,style:s(t.computedStyle),"widget-index":1},null,8,["parameters","settings","style"])],4)}const f=u("default",c(e,[["render",m],["__scopeId","data-v-87ec8e4f"]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./BarColumn-Dm3D1Lhp-ec78839c989cf756abdd.js","vue","./main-ca88b1aac639693ffb5d.js","./Widget-orNSvnOh-a98828cd439e9a94bd76.js","vue-router","vuex","vuetify"],function(r,v){"use strict";var s,a,l,c,d,h;return{setters:[i=>{s=i.u},i=>{a=i.openBlock,l=i.createElementBlock,c=i.normalizeStyle,d=i.createStaticVNode},i=>{h=i.s},null,null,null,null],execute:function(){const i={mixins:[s],data(){return{width:22,height:120}},computed:{cssProps:function(){let e=this.screenValues[this.valueId][0],t=this.modifyLimits(this.limitsSettings[this.selectedLimitsSet]);return this.calcLimits(t),{"--height":this.height+"px","--width":this.width+"px","--container-width":this.width-5+"px","--position":this.calcPosition(e,t)+"%","--redlow-height":this.redLow+"%","--redhigh-height":this.redHigh+"%","--yellowlow-height":this.yellowLow+"%","--yellowhigh-height":this.yellowHigh+"%","--greenlow-height":this.greenLow+"%","--greenhigh-height":this.greenHigh+"%","--blue-height":this.blue+"%"}}}};function o(e,t,u,m,b,n){return a(),l("div",{class:"limitsbar",style:c([n.cssProps,e.computedStyle])},t[0]||(t[0]=[d('<div class="limitsbar__container" data-v-cadbf1c4><div class="limitsbar__redlow" data-v-cadbf1c4></div><div class="limitsbar__redhigh" data-v-cadbf1c4></div><div class="limitsbar__yellowlow" data-v-cadbf1c4></div><div class="limitsbar__yellowhigh" data-v-cadbf1c4></div><div class="limitsbar__greenlow" data-v-cadbf1c4></div><div class="limitsbar__greenhigh" data-v-cadbf1c4></div><div class="limitsbar__blue" data-v-cadbf1c4></div><div class="limitsbar__line" data-v-cadbf1c4></div><div class="limitsbar__arrow" data-v-cadbf1c4></div></div>',1)]),4)}const g=r("default",h(i,[["render",o],["__scopeId","data-v-cadbf1c4"]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./GraphWidget-LqekkNDr-762dee3450f3a63fdce6.js","./main-ca88b1aac639693ffb5d.js","vue","./Graph-BFUsShJg-aaadbcb335c2c4356090.js","./Widget-orNSvnOh-a98828cd439e9a94bd76.js","vue-router","vuex","vuetify"],function(l,u){"use strict";var i,n,r,o,a,d,h;return{setters:[t=>{i=t._},t=>{n=t.s},t=>{r=t.resolveComponent,o=t.openBlock,a=t.createBlock,d=t.normalizeStyle},t=>{h=t.S},null,null,null,null],execute:function(){const t={components:{Graph:h},mixins:[i]};function p(e,s,g,v,S,f){const c=r("graph");return o(),a(c,{ref:"graph"+e.id,id:e.id,state:e.state,"selected-graph-id":e.id,startTime:e.startTime,"seconds-graphed":e.secondsGraphed,"points-saved":e.pointsSaved,"points-graphed":e.pointsGraphed,"initial-items":e.items,height:e.size.height,width:e.size.width,style:d(e.computedStyle),"time-zone":this.screenTimeZone,onPause:s[0]||(s[0]=()=>e.state="pause"),onStart:s[1]||(s[1]=()=>e.state="start"),"hide-toolbar":"","hide-overview":""},null,8,["id","state","selected-graph-id","startTime","seconds-graphed","points-saved","points-graphed","initial-items","height","width","style","time-zone"])}const m=l("default",n(t,[["render",p]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Layout-klOVw-YN-1bd46bc37b38d46695d1.js","./main-ca88b1aac639693ffb5d.js","vue","./Widget-orNSvnOh-a98828cd439e9a94bd76.js","vue-router","vuex","vuetify"],function(k,C){"use strict";var o,u,m,n,r,g,a,l,p,d,h;return{setters:[e=>{o=e.r},e=>{u=e.s,m=e.K},e=>{n=e.openBlock,r=e.createElementBlock,g=e.normalizeStyle,a=e.Fragment,l=e.renderList,p=e.createBlock,d=e.resolveDynamicComponent,h=e.mergeProps},null,null,null,null],execute:function(){const e={mixins:[o],computed:{columns(){return parseInt(this.parameters[0])},widgetChunks(){return m.chunk(this.widgets,this.columns)}},created:function(){if(this.parameters[1]){let s=this.parameters[1];this.widgets.forEach(c=>{c.settings.find(i=>i[0]==="MARGIN"||i[0]==="RAW"&&i[1].toUpperCase().includes("MARGIN"))===void 0&&c.settings.push(["MARGIN",s])})}}};function v(s,c,i,b,A,y){return n(),r("table",{style:g(s.computedStyle),role:"presentation"},[(n(!0),r(a,null,l(y.widgetChunks,(f,w)=>(n(),r("tr",{key:"r"+w},[(n(!0),r(a,null,l(f,(t,B)=>(n(),r("td",{key:"c"+B},[(n(),p(d(t.type),h({ref_for:!0},s.listeners,{target:t.target,parameters:t.parameters,settings:t.settings,"screen-values":s.screenValues,"screen-time-zone":s.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))]))),128))],4)}const N=k("default",u(e,[["render",v]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-orNSvnOh-a98828cd439e9a94bd76.js","vue","./main-ca88b1aac639693ffb5d.js","vue-router","vuex","vuetify"],function(u,p){"use strict";var s,a,r,l,n,i;return{setters:[e=>{s=e.o},e=>{a=e.resolveComponent,r=e.openBlock,l=e.createBlock,n=e.normalizeStyle},e=>{i=e.s},null,null,null],execute:function(){const e={mixins:[s],props:{value:{default:null}},data:function(){return{valueId:null,scaleFactor:1,width:150}},computed:{_value:function(){let t=this.value;return t===null&&(t=this.screenValues[this.valueId][0]),parseInt(parseFloat(t)*this.scaleFactor)}},created:function(){if(this.parameters[3]&&(this.scaleFactor=parseFloat(this.parameters[3])),this.width=this.setWidth(this.parameters[4],"px",this.width),this.value===null){let t="CONVERTED";this.parameters[5]&&(t=this.parameters[5]),this.valueId=`${this.parameters[0]}__${this.parameters[1]}__${this.parameters[2]}__${t}`,this.$emit("addItem",this.valueId)}},unmounted:function(){this.$emit("deleteItem",this.valueId)}};function o(t,m,v,f,_,c){const h=a("rux-progress");return r(),l(h,{value:c._value,class:"progress",style:n(t.computedStyle)},null,8,["value","style"])}const d=u("default",i(e,[["render",o],["__scopeId","data-v-85bc2857"]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-orNSvnOh-a98828cd439e9a94bd76.js","vue","./main-ca88b1aac639693ffb5d.js","vue-router","vuex","vuetify"],function(s,p){"use strict";var t,l,n,r,o,a;return{setters:[e=>{t=e.o},e=>{l=e.resolveComponent,n=e.openBlock,r=e.createBlock,o=e.normalizeStyle},e=>{a=e.s},null,null,null],execute:function(){const e={props:{value:{type:Number}},mixins:[t],data(){return{label:"Radio"}},created(){this.label=this.parameters[0]}};function u(i,y,c,b,v,f){const d=l("v-radio");return n(),r(d,{"hide-details":"",dense:"",label:v.label,style:o(i.computedStyle),value:c.value},null,8,["label","style","value"])}const m=s("default",a(e,[["render",u]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Layout-klOVw-YN-1bd46bc37b38d46695d1.js","vue","./main-ca88b1aac639693ffb5d.js","./Widget-orNSvnOh-a98828cd439e9a94bd76.js","vue-router","vuex","vuetify"],function(h,C){"use strict";var a,l,r,s,o,c,i,m,u,d,p,v;return{setters:[e=>{a=e.r},e=>{l=e.resolveComponent,r=e.openBlock,s=e.createBlock,o=e.normalizeStyle,c=e.withCtx,i=e.createElementBlock,m=e.Fragment,u=e.renderList,d=e.resolveDynamicComponent,p=e.mergeProps},e=>{v=e.s},null,null,null,null],execute:function(){const e={mixins:[a],data(){return{selectedIndex:0}},created(){this.parameters[0]&&(this.selectedIndex=parseInt(this.parameters[0]))},methods:{selected(){return this.selectedIndex}}};function k(n,g,B,S,y,V){const f=l("v-radio-group");return r(),s(f,{"hide-details":"",density:"compact",modelValue:y.selectedIndex,"onUpdate:modelValue":g[0]||(g[0]=t=>y.selectedIndex=t),style:o(n.computedStyle)},{default:c(()=>[(r(!0),i(m,null,u(n.widgets,(t,x)=>(r(),s(d(t.type),p({ref_for:!0},n.listeners,{value:x,key:x,target:t.target,parameters:t.parameters,settings:t.settings,"screen-values":n.screenValues,"screen-time-zone":n.screenTimeZone,name:t.name}),null,16,["value","target","parameters","settings","screen-values","screen-time-zone","name"]))),128))]),_:1},8,["modelValue","style"])}const I=h("default",v(e,[["render",k]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-orNSvnOh-a98828cd439e9a94bd76.js","vue","./main-ca88b1aac639693ffb5d.js","vue-router","vuex","vuetify"],function(o,d){"use strict";var r,a,n,h,i,c;return{setters:[t=>{r=t.o},t=>{a=t.openBlock,n=t.createElementBlock,h=t.normalizeStyle,i=t.createElementVNode},t=>{c=t.s},null,null,null],execute:function(){const t={mixins:[r],data(){return{width:160,height:22}},computed:{cssProps(){return{"--height":this.height+"px","--width":this.width+"px","--container-height":this.height-5+"px","--position":this.calcPosition()+"%"}},min(){return parseInt(this.parameters[3])},max(){return parseInt(this.parameters[4])},range(){return this.max-this.min}},created(){const e=this.parameters[5]?this.parameters[5]:"CONVERTED";this.valueId=`${this.parameters[0]}__${this.parameters[1]}__${this.parameters[2]}__${e}`,this.$emit("addItem",this.valueId),this.width=this.setWidth(this.parameters[6],"px",this.width),this.height=this.setHeight(this.parameters[7],"px",this.height)},unmounted(){this.$emit("deleteItem",this.valueId)},methods:{calcPosition(){let e=this.screenValues[this.valueId][0];if(!e)return 0;if(e.raw)return e.raw==="-Infinity"?0:100;const s=(e-this.min)/this.range*100;return s>100?100:s<0?0:s}}};function l(e,s,p,g,v,u){return a(),n("div",{class:"rangebar",style:h([u.cssProps,e.computedStyle])},s[0]||(s[0]=[i("div",{class:"rangebar__container"},[i("div",{class:"rangebar__line"}),i("div",{class:"rangebar__arrow"})],-1)]),4)}const m=o("default",c(t,[["render",l],["__scopeId","data-v-34d37e7c"]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-orNSvnOh-a98828cd439e9a94bd76.js","vue","./main-ca88b1aac639693ffb5d.js","vue-router","vuex","vuetify"],function(h,d){"use strict";var r,l,c,a,o,u;return{setters:[t=>{r=t.o},t=>{l=t.resolveComponent,c=t.openBlock,a=t.createBlock,o=t.normalizeStyle},t=>{u=t.s},null,null,null],execute:function(){const t={mixins:[r],props:{value:{default:null}},data:function(){return{valueId:null,icon:"",label:"",subLabel:"",items:[],screenTarget:null,screenName:null}},computed:{status:function(){let e="off";for(const n of this.items){let s=this.screenValues[n][1];s&&((s.includes("BLUE")||s.includes("GREEN"))&&e!="caution"&&e!="critical"&&(e="normal"),s.includes("YELLOW")&&e!="critical"&&(e="caution"),s.includes("RED")&&(e="critical"))}return e},pointerStyle(){return this.screenTarget&&this.screenName?{cursor:"pointer"}:{cursor:"default"}}},created:function(){this.icon=this.parameters[0],this.label=this.parameters[1],this.subLabel=this.parameters[2],this.appliedSettings.forEach(e=>{switch(e[0].toUpperCase()){case"SCREEN":this.screenTarget=e[1],this.screenName=e[2];break;case"TLM":let n="CONVERTED";e[4]&&(n=e[4]);let s=`${e[1]}__${e[2]}__${e[3]}__${n}`;this.items.push(s),this.$emit("addItem",s);break}})},unmounted:function(){this.items.forEach(e=>{this.$emit("deleteItem",e)})},methods:{clickHandler(){this.screenTarget&&this.screenName&&this.$emit("open",this.screenTarget,this.screenName)}}};function m(e,n,s,b,E,i){const p=l("rux-monitoring-icon");return c(),a(p,{class:"rux-icon",style:o(i.pointerStyle),icon:e.icon,status:i.status,label:e.label,sublabel:e.subLabel,onClick:i.clickHandler},null,8,["style","icon","status","label","sublabel","onClick"])}const f=h("default",u(t,[["render",m]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Layout-klOVw-YN-1bd46bc37b38d46695d1.js","./VerticalWidget-Ch7VAEmz-63ba862975d6eab6a75f.js","vue","./main-ca88b1aac639693ffb5d.js","./Widget-orNSvnOh-a98828cd439e9a94bd76.js","vue-router","vuex","vuetify"],function(d,k){"use strict";var l,c,r,i,o,m,u,g,p,f,v;return{setters:[e=>{l=e.r},e=>{c=e.default},e=>{r=e.openBlock,i=e.createElementBlock,o=e.normalizeStyle,m=e.Fragment,u=e.renderList,g=e.createBlock,p=e.resolveDynamicComponent,f=e.mergeProps},e=>{v=e.s},null,null,null,null],execute:function(){const e={mixins:[l],components:{VerticalWidget:c},created:function(){if(this.setHeight(this.parameters[0],"px",200),this.parameters[1]){let n=this.parameters[1];this.widgets.forEach(a=>{a.settings.find(s=>s[0]==="MARGIN"||s[0]==="RAW"&&s[1].toUpperCase().includes("MARGIN"))===void 0&&a.settings.push(["MARGIN",n])})}}};function y(n,a,s,B,N,z){return r(),i("div",{ref:"container",style:o(n.computedStyle),class:"overflow-y-auto"},[(r(!0),i(m,null,u(n.widgets,(t,h)=>(r(),g(p(t.type),f({ref_for:!0},n.listeners,{key:h,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 w=d("default",v(e,[["render",y]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./VWidget-Dmqf_jKM-f03d30579a2fe310f9fe.js","vue","./main-ca88b1aac639693ffb5d.js","./Widget-orNSvnOh-a98828cd439e9a94bd76.js","vue-router","vuex","vuetify"],function(h,m){"use strict";var r,a,s,n,i,l,c,o;return{setters:[t=>{r=t.L},t=>{a=t.resolveComponent,s=t.openBlock,n=t.createBlock,i=t.withCtx,l=t.createTextVNode,c=t.toDisplayString},t=>{o=t.s},null,null,null,null],execute:function(){const t={mixins:[r],props:{value:{default:null}},data:function(){return{item:null,oneBar:30,twoBar:60,threeBar:90}},computed:{displayedIcon:function(){let e="mdi-signal-cellular-outline";return this._value>=this.oneBar&&(e="mdi-signal-cellular-1"),this._value>=this.twoBar&&(e="mdi-signal-cellular-2"),this._value>=this.threeBar&&(e="mdi-signal-cellular-3"),e}},created(){this.appliedSettings.forEach(e=>{switch(e[0].toUpperCase()){case"SCREEN":this.screenTarget=e[1],this.screenName=e[2];break;case"VALUES":this.oneBar=parseFloat(e[1]),this.twoBar=parseFloat(e[2]),this.threeBar=parseFloat(e[3]);break}})},methods:{getType(){let e="CONVERTED";return this.parameters[3]=="RAW"&&(e="RAW"),e},clickHandler(){this.screenTarget&&this.screenName&&this.$emit("open",this.screenTarget,this.screenName)}}};function p(e,v,B,f,k,u){const d=a("v-icon");return s(),n(d,{onClick:u.clickHandler},{default:i(()=>[l(c(u.displayedIcon),1)]),_:1},8,["onClick"])}const g=h("default",o(t,[["render",p]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-orNSvnOh-a98828cd439e9a94bd76.js","vue","./main-ca88b1aac639693ffb5d.js","vue-router","vuex","vuetify"],function(i,c){"use strict";var t,n,s,r,l;return{setters:[e=>{t=e.o},e=>{n=e.openBlock,s=e.createElementBlock,r=e.normalizeStyle},e=>{l=e.s},null,null,null],execute:function(){const e={mixins:[t],created(){this.settings.push(["WIDTH",this.parameters[0]]),this.settings.push(["HEIGHT",this.parameters[1]])}};function u(o,m,h,p,v,d){return n(),s("div",{style:r(o.computedStyle)},null,4)}const a=i("default",l(e,[["render",u]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./GraphWidget-LqekkNDr-762dee3450f3a63fdce6.js","./main-ca88b1aac639693ffb5d.js","vue","./Graph-BFUsShJg-aaadbcb335c2c4356090.js","./Widget-orNSvnOh-a98828cd439e9a94bd76.js","vue-router","vuex","vuetify"],function(h,c){"use strict";var s,i,n,r,a,o,d;return{setters:[e=>{s=e._},e=>{i=e.s},e=>{n=e.resolveComponent,r=e.openBlock,a=e.createBlock,o=e.normalizeStyle},e=>{d=e.S},null,null,null,null],execute:function(){const e={components:{Graph:d},mixins:[s],data:function(){return{secondsGraphed:300,pointsSaved:300,pointsGraphed:300,size:{height:30,width:130}}}};function p(t,g,m,v,S,f){const l=n("graph");return r(),a(l,{ref:"graph"+t.id,id:t.id,state:t.state,"selected-graph-id":t.id,startTime:t.startTime,"seconds-graphed":t.secondsGraphed,"points-saved":t.pointsSaved,"points-graphed":t.pointsGraphed,"initial-items":t.items,height:t.size.height,width:t.size.width,style:o(t.computedStyle),sparkline:""},null,8,["id","state","selected-graph-id","startTime","seconds-graphed","points-saved","points-graphed","initial-items","height","width","style"])}const u=h("default",i(e,[["render",p]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Layout-klOVw-YN-1bd46bc37b38d46695d1.js","vue","./main-ca88b1aac639693ffb5d.js","./Widget-orNSvnOh-a98828cd439e9a94bd76.js","vue-router","vuex","vuetify"],function(k,_){"use strict";var p,l,n,s,g,v,i,c,o,u,y,f,w,b,V;return{setters:[e=>{p=e.r},e=>{l=e.resolveComponent,n=e.openBlock,s=e.createElementBlock,g=e.createVNode,v=e.normalizeStyle,i=e.withCtx,c=e.Fragment,o=e.renderList,u=e.createBlock,y=e.createTextVNode,f=e.toDisplayString,w=e.resolveDynamicComponent,b=e.mergeProps},e=>{V=e.s},null,null,null,null],execute:function(){const e={mixins:[p],data:function(){return{curTab:null}},watch:{curTab:function(){this.$emit("min-max-screen")}}};function T(t,m,z,D,L,$){const x=l("v-tab"),N=l("v-tabs"),S=l("v-window-item"),B=l("v-window");return n(),s("div",null,[g(N,{modelValue:t.curTab,"onUpdate:modelValue":m[0]||(m[0]=a=>t.curTab=a),style:v(t.computedStyle)},{default:i(()=>[(n(!0),s(c,null,o(t.widgets,(a,d)=>(n(),u(x,{key:d},{default:i(()=>[y(f(a.parameters[0]),1)]),_:2},1024))),128))]),_:1},8,["modelValue","style"]),g(B,{modelValue:t.curTab,"onUpdate:modelValue":m[1]||(m[1]=a=>t.curTab=a)},{default:i(()=>[(n(!0),s(c,null,o(t.widgets,(a,d)=>(n(),u(S,{key:d},{default:i(()=>[(n(!0),s(c,null,o(a.widgets,(r,C)=>(n(),u(w(r.type),b({ref_for:!0},t.listeners,{key:`${d}-${C}`,target:r.target,parameters:r.parameters,settings:r.settings,"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone,widgets:r.widgets,name:r.name,line:r.line,"line-number":r.lineNumber}),null,16,["target","parameters","settings","screen-values","screen-time-zone","widgets","name","line","line-number"]))),128))]),_:2},1024))),128))]),_:1},8,["modelValue"])])}const h=k("default",V(e,[["render",T]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./main-ca88b1aac639693ffb5d.js","vue","./DetailsDialog-EWjtBjle-c7397b128a1627131c19.js","./VWidget-Dmqf_jKM-f03d30579a2fe310f9fe.js","vue-router","vuex","vuetify","./Widget-orNSvnOh-a98828cd439e9a94bd76.js"],function(y,z){"use strict";var c,a,s,r,n,u,m,l,d,h,g,p,v,x,f,w;return{setters:[e=>{c=e.s},e=>{a=e.resolveComponent,s=e.openBlock,r=e.createElementBlock,n=e.createVNode,u=e.normalizeClass,m=e.normalizeStyle,l=e.withCtx,d=e.Fragment,h=e.renderList,g=e.createBlock,p=e.withModifiers,v=e.createTextVNode,x=e.toDisplayString},e=>{f=e.P},e=>{w=e.L},null,null,null,null],execute:function(){const e={components:{DetailsDialog:f},data:function(){return{width:200,height:200}},mixins:[w],computed:{aging(){return{"--aging":this.grayLevel}}},created:function(){this.width=this.setWidth(this.parameters[3],"px",this.width),this.height=this.setHeight(this.parameters[4],"px",this.height)},methods:{getType:function(){let t="CONVERTED";return this.parameters[5]&&(t=this.parameters[5]),t}}},C={class:"textbox-widget-container"};function V(t,o,T,L,W,k){const D=a("v-textarea"),S=a("v-list-item-title"),_=a("v-list-item"),B=a("v-list"),j=a("v-menu"),M=a("details-dialog");return s(),r("div",C,[n(D,{variant:"solo",density:"compact",readonly:"","no-resize":"","auto-grow":"",rows:"2","hide-details":"","model-value":t._value,class:u(t.valueClass),style:m([t.computedStyle,k.aging]),"data-test":"valueText",onContextmenu:t.showContextMenu},null,8,["model-value","class","style","onContextmenu"]),n(j,{modelValue:t.contextMenuShown,"onUpdate:modelValue":o[0]||(o[0]=i=>t.contextMenuShown=i),target:[t.x,t.y]},{default:l(()=>[n(B,null,{default:l(()=>[(s(!0),r(d,null,h(t.contextMenuOptions,(i,N)=>(s(),g(_,{key:N,onClick:p(i.action,["stop"])},{default:l(()=>[n(S,null,{default:l(()=>[v(x(i.title),1)]),_:2},1024)]),_:2},1032,["onClick"]))),128))]),_:1})]),_:1},8,["modelValue","target"]),n(M,{"target-name":t.parameters[0],"packet-name":t.parameters[1],"item-name":t.parameters[2],modelValue:t.viewDetails,"onUpdate:modelValue":o[1]||(o[1]=i=>t.viewDetails=i)},null,8,["target-name","packet-name","item-name","modelValue"])])}const E=y("default",c(e,[["render",V],["__scopeId","data-v-10f560aa"]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-orNSvnOh-a98828cd439e9a94bd76.js","vue","./main-ca88b1aac639693ffb5d.js","vue-router","vuex","vuetify"],function(i,h){"use strict";var t,l,n,s,o,r;return{setters:[e=>{t=e.o},e=>{l=e.resolveComponent,n=e.openBlock,s=e.createBlock,o=e.normalizeStyle},e=>{r=e.s},null,null,null],execute:function(){const e={mixins:[t],data(){return{value:null}},created(){this.setWidth(this.parameters[0],"ch",12),this.parameters[1]&&(this.value=this.parameters[1])},methods:{text(){return this.value}}};function c(d,a,y,f,u,x){const v=l("v-text-field");return n(),s(v,{variant:"solo",density:"compact","single-line":"","hide-no-data":"","hide-details":"",modelValue:u.value,"onUpdate:modelValue":a[0]||(a[0]=m=>u.value=m),style:o(d.computedStyle)},null,8,["modelValue","style"])}const p=i("default",r(e,[["render",c]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-orNSvnOh-a98828cd439e9a94bd76.js","./main-ca88b1aac639693ffb5d.js","vue","vue-router","vuex","vuetify"],function(m,v){"use strict";var l,i,n,r,a,s,o;return{setters:[e=>{l=e.o},e=>{i=e.s,n=e.P},e=>{r=e.resolveComponent,a=e.openBlock,s=e.createBlock,o=e.normalizeStyle},null,null,null],execute:function(){const e={mixins:[l,n],data(){return{label:"Time",timeValue:""}},created(){this.parameters[0]&&(this.label=this.parameters[0]),this.timeValue=this.formatTimeHMS(new Date,this.screenTimeZone)},methods:{text(){return this.timeValue},time(){return this.timeValue}}};function c(d,u,V,f,t,S){const h=r("v-text-field");return a(),s(h,{modelValue:t.timeValue,"onUpdate:modelValue":u[0]||(u[0]=p=>t.timeValue=p),label:t.label,style:o(d.computedStyle),type:"time","hide-details":""},null,8,["modelValue","label","style"])}const y=m("default",i(e,[["render",c]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-orNSvnOh-a98828cd439e9a94bd76.js","vue","./main-ca88b1aac639693ffb5d.js","vue-router","vuex","vuetify"],function(a,m){"use strict";var t,r,n,l,o,s;return{setters:[e=>{t=e.o},e=>{r=e.openBlock,n=e.createElementBlock,l=e.normalizeStyle,o=e.toDisplayString},e=>{s=e.s},null,null,null],execute:function(){const e={mixins:[t],computed:{labelText(){return this.parameters[0]}},created(){if(this.parameters.length<1)throw new Error("Not enough parameters for TITLE.")}};function i(c,f,x,y,h,u){return r(),n("span",{class:"text-h5 text-center pa-1 mt-1 label",style:l(c.computedStyle)},o(u.labelText),5)}const p=a("default",s(e,[["render",i]]))}}});