openc3-cosmos-tool-tlmviewer 6.0.0 → 6.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/tools/tlmviewer/ArrayWidget-BTxChSds-f9d7aff0cd64dc4af677.js +2 -0
- data/tools/tlmviewer/BarColumn-Cdu3OoMa-8d82722b7b5e62629a35.js +1 -0
- data/tools/tlmviewer/BlockWidget-PmjzrkXF-5ae8e08c4a33e66be878.js +2 -0
- data/tools/tlmviewer/ButtonWidget-nwDlOBJT-9c62e34d1c157b97bd44.js +2 -0
- data/tools/tlmviewer/CanvasWidget-BL8930eT-188b85274dd6e0481076.js +1 -0
- data/tools/tlmviewer/CanvasdotWidget-VCf1fL-G-4addafa734fbe01e01d2.js +1 -0
- data/tools/tlmviewer/CanvasimageWidget-BIw7Wbf2-f556e479f270b6f7e1e8.js +1 -0
- data/tools/tlmviewer/CanvasimagevalueWidget-CE3Dj5bH-61813e93f4ce39b4cce2.js +1 -0
- data/tools/tlmviewer/CanvaslabelWidget-DWmb356h-b87dfe68f77561ff7eab.js +1 -0
- data/tools/tlmviewer/CanvaslabelvalueWidget-CI3yYwFs-cd3e5ce0d875355790e8.js +1 -0
- data/tools/tlmviewer/CanvaslineWidget-COeapH3P-5ed0f7c483b60fba1b20.js +1 -0
- data/tools/tlmviewer/CanvaslinevalueWidget-CI-Bbzfi-2d4e44e28522af7ed0fc.js +1 -0
- data/tools/tlmviewer/CheckbuttonWidget-BQhggcZ2-d1f2a4351b6b5b9a9b81.js +1 -0
- data/tools/tlmviewer/ComboboxWidget-BzsbOv54-6fd16140b1b60078529d.js +1 -0
- data/tools/tlmviewer/DateWidget-B5R_9rA8-4b8f5a655a8cf17aa907.js +1 -0
- data/tools/tlmviewer/{DetailsDialog-EWjtBjle-d4dd05092c5bc49f1782.js → DetailsDialog-DLRMqetn-8f3b8c2058cbb4487dd9.js} +1 -1
- data/tools/tlmviewer/DynamicWidget-m9EliUR2-7760dada6647945b4903.js +1 -0
- data/tools/tlmviewer/FormatvalueWidget-DZkRJce8-6973ff704f1f01e6eb53.js +1 -0
- data/tools/tlmviewer/GraphWidget-amwxyH1r-163128d49b76f4de0524.js +1 -0
- data/tools/tlmviewer/HorizontalWidget-CirtfuL8-d0c976471f208754a41e.js +1 -0
- data/tools/tlmviewer/HorizontalboxWidget-CyTDt2nl-bbf9f59fbabdb01980b8.js +1 -0
- data/tools/tlmviewer/HorizontallineWidget-BdlNB951-ab49ce4d35551b3018b8.js +1 -0
- data/tools/tlmviewer/IframeWidget-DnJmCrCA-62af6b154ccc91fd8cb5.js +1 -0
- data/tools/tlmviewer/{ImageLoader-CDLQopxJ-c125f3deddaad3cf247d.js → ImageLoader-CpcR6tPi-1b62c2941e0b49298f1a.js} +1 -1
- data/tools/tlmviewer/ImageviewerWidget-DIkmb_C9-485cc1d532e23ae4b5b2.js +1 -0
- data/tools/tlmviewer/LabelWidget-BDsypYho-377347a49c09b718a1f6.js +1 -0
- data/tools/tlmviewer/LabelledWidget-DjturGl5-7f24cc5599b66c12b2f1.js +1 -0
- data/tools/tlmviewer/LabelprogressbarWidget-RADJGLj3-9d2243f7ddf8904a0cfe.js +1 -0
- data/tools/tlmviewer/LabelsparklineWidget-BlJoICxu-cf16050d0ee486966ec7.js +1 -0
- data/tools/tlmviewer/LabelvalueWidget-DVWJqnlY-05fecfc99fd33ad654aa.js +1 -0
- data/tools/tlmviewer/LabelvaluedescWidget-CsUP7J4U-1e6251e1cf3a6a7e5b59.js +1 -0
- data/tools/tlmviewer/LabelvaluelimitsbarWidget-Blj1QXV8-e030775dfb9553618269.js +1 -0
- data/tools/tlmviewer/LabelvaluelimitscolumnWidget-CvCo-uCe-5854a22f738f11b61b9c.js +1 -0
- data/tools/tlmviewer/LabelvaluerangebarWidget-DpcXhlfF-a2dc9567d0f19cfeb8f9.js +1 -0
- data/tools/tlmviewer/{Layout-klOVw-YN-58a465e2b690da632156.js → Layout-C1HoM4Kl-16582a7fb597a91b7893.js} +1 -1
- data/tools/tlmviewer/LedWidget-B_K2e5tq-838e2eb68c3aeea79b43.js +1 -0
- data/tools/tlmviewer/LimitsbarWidget-DXbqsi4J-a0b11379621e58f2e076.js +1 -0
- data/tools/tlmviewer/LimitscolorWidget-Ckmuw0YX-1642733882daa04ec5a0.js +1 -0
- data/tools/tlmviewer/LimitscolumnWidget-BfY4su5U-5b67e1bac65777add469.js +1 -0
- data/tools/tlmviewer/LinegraphWidget-y-Qy9P0R-fc12c36171d5e5f0e604.js +1 -0
- data/tools/tlmviewer/MatrixbycolumnsWidget-BTBColrs-838970fd44fd6454be07.js +1 -0
- data/tools/tlmviewer/ProgressbarWidget-DpA_-vy9-3a38ee774aba10a8a15c.js +1 -0
- data/tools/tlmviewer/RadiobuttonWidget-BO8zpgwW-b471e7a498cb16db4d70.js +1 -0
- data/tools/tlmviewer/RadiogroupWidget-Oy7V4S-V-723fa661d99951386278.js +1 -0
- data/tools/tlmviewer/RangebarWidget-DHS7S3vI-e692659dc1e7d71f25e6.js +1 -0
- data/tools/tlmviewer/RollupWidget-CTk9Kjwr-391c07e5ac0e51fa806e.js +1 -0
- data/tools/tlmviewer/ScrollwindowWidget-DD0TOW6s-a5fd68b09f66a4acd2e7.js +1 -0
- data/tools/tlmviewer/SignalWidget-CC33KMTW-9154de9a5c061b69776b.js +1 -0
- data/tools/tlmviewer/SpacerWidget-BnJe_Hq6-135347689671755db50c.js +1 -0
- data/tools/tlmviewer/SparklineWidget-DMvMQCPm-ad781334905d009b9a21.js +1 -0
- data/tools/tlmviewer/TabbookWidget-B3w0JtWe-a647fc460af62f1f1b91.js +1 -0
- data/tools/tlmviewer/TextboxWidget-D2f0-eol-31186bae50782d8dda72.js +1 -0
- data/tools/tlmviewer/TextfieldWidget-DXSdgqVP-1c8963dce21e79e8dbc5.js +1 -0
- data/tools/tlmviewer/TimeWidget-DvrRaEMz-35c62ea9c5dee8a5a3bc.js +1 -0
- data/tools/tlmviewer/TitleWidget-DqViFQl--d6f64895e3b40ae46c97.js +1 -0
- data/tools/tlmviewer/{TlmViewer-6e14e0d918ebe0bcfccf.js → TlmViewer-e2b4d4da607104f90f56.js} +8 -8
- data/tools/tlmviewer/{VWidget-Dmqf_jKM-b217d0a6c05ea8cc2b27.js → VWidget-02CG-3Av-6dd8f41abb30e51c1336.js} +1 -1
- data/tools/tlmviewer/ValueWidget-KLYY8L8U-981e9679ee74d7dd44a0.js +1 -0
- data/tools/tlmviewer/ValuelimitsbarWidget-SR8XNZFB-cd276c1535176693d52e.js +1 -0
- data/tools/tlmviewer/ValuelimitscolumnWidget-xYZSp6YZ-a661323401b786db843a.js +1 -0
- data/tools/tlmviewer/ValuerangebarWidget-B6M02a9d-d84d57d18b05c4d935d4.js +1 -0
- data/tools/tlmviewer/VerticalWidget-z6xUM-ql-8b2da906efb985d05096.js +1 -0
- data/tools/tlmviewer/VerticalboxWidget-3a9cVsW--6ebcd76b12070a5f66d1.js +1 -0
- data/tools/tlmviewer/{Widget-orNSvnOh-b2a9201f5a2da2b98a95.js → Widget-C4QVI4IH-77557544d86f5014c3b6.js} +1 -1
- data/tools/tlmviewer/{main-ba9a9a82c5555f5fd208.js → main-77da3e732b4aa0419678.js} +56 -56
- data/tools/tlmviewer/main.js +1 -1
- metadata +67 -67
- data/tools/tlmviewer/ArrayWidget-By62tXtU-da6455843547f2822954.js +0 -2
- data/tools/tlmviewer/BarColumn-Dm3D1Lhp-3944f3ea23fcf45995de.js +0 -1
- data/tools/tlmviewer/BlockWidget-CrT45ode-7c695d7f907f0744925d.js +0 -2
- data/tools/tlmviewer/ButtonWidget-CKyBBv6m-77a95c792f6532f0c34d.js +0 -2
- data/tools/tlmviewer/CanvasWidget-PqkppHC7-49183e79ed29ad2c4adc.js +0 -1
- data/tools/tlmviewer/CanvasdotWidget-BUbJgM2d-d11a64637ea7ca1293a4.js +0 -1
- data/tools/tlmviewer/CanvasimageWidget-DPVBY7mi-8ef775cfe62498c3d3dc.js +0 -1
- data/tools/tlmviewer/CanvasimagevalueWidget-GX37zzNc-f371d393ed72f2166595.js +0 -1
- data/tools/tlmviewer/CanvaslabelWidget-P2_Y6Edw-575e4e0525f787bdcd4c.js +0 -1
- data/tools/tlmviewer/CanvaslabelvalueWidget-Cuas1i9P-4ea25a3def6e23e294ab.js +0 -1
- data/tools/tlmviewer/CanvaslineWidget-BYOYgPya-908a4d464175fb4b448c.js +0 -1
- data/tools/tlmviewer/CanvaslinevalueWidget-3cVJMFo7-4b815f4a6a2d0d109e8b.js +0 -1
- data/tools/tlmviewer/CheckbuttonWidget-B3wgSMuB-ea80fa606ce6b52e912c.js +0 -1
- data/tools/tlmviewer/ComboboxWidget-Dzr4Scvf-3b58c39fee88394ec2e1.js +0 -1
- data/tools/tlmviewer/DateWidget-BWh76Ibb-ac074aeaea4ae28b932b.js +0 -1
- data/tools/tlmviewer/DynamicWidget-m9EliUR2-8d85e78ca04879befa40.js +0 -1
- data/tools/tlmviewer/FormatvalueWidget-Rk0_eeIm-f77175bb6b0d8cfbba7e.js +0 -1
- data/tools/tlmviewer/GraphWidget-LqekkNDr-7971589abb6302bb8823.js +0 -1
- data/tools/tlmviewer/HorizontalWidget-BcfJ24Zn-8771030e5745a2560de7.js +0 -1
- data/tools/tlmviewer/HorizontalboxWidget-CQy1Hv9E-7114346abc91f32fa880.js +0 -1
- data/tools/tlmviewer/HorizontallineWidget-BdlNB951-b9d9866775aa55ae2654.js +0 -1
- data/tools/tlmviewer/IframeWidget-BBaDrRLo-fa4214902c4fe6b319c1.js +0 -1
- data/tools/tlmviewer/ImageviewerWidget-BgO3Pq6I-6af3f71d8c28cb3c41d8.js +0 -1
- data/tools/tlmviewer/LabelWidget-B_C6lKOE-212ff7523aaeb0ded1d3.js +0 -1
- data/tools/tlmviewer/LabelledWidget-B_UGivhr-581ade2f0e939f082d68.js +0 -1
- data/tools/tlmviewer/LabelprogressbarWidget-BJWCmsYC-dc1cef355de3bbabc41a.js +0 -1
- data/tools/tlmviewer/LabelsparklineWidget-DILCIh3q-1562dee0d3d149ac13d9.js +0 -1
- data/tools/tlmviewer/LabelvalueWidget-CCZd1NXE-a39b518d0e70487c4a9d.js +0 -1
- data/tools/tlmviewer/LabelvaluedescWidget-Bsllq8W6-1692d44fadc6c78e736f.js +0 -1
- data/tools/tlmviewer/LabelvaluelimitsbarWidget-BV-cfaD--932c2c5b926860dc521e.js +0 -1
- data/tools/tlmviewer/LabelvaluelimitscolumnWidget-DwA0eRBw-8bd7d2f9a56643e14379.js +0 -1
- data/tools/tlmviewer/LabelvaluerangebarWidget-3GDJz3dj-6484ea43c377813f8ee3.js +0 -1
- data/tools/tlmviewer/LedWidget-BAt02s0J-4426442b78327779dcc9.js +0 -1
- data/tools/tlmviewer/LimitsbarWidget-JJiyzZjb-44bfbec44112c4c0ff3e.js +0 -1
- data/tools/tlmviewer/LimitscolorWidget-CYzXKbYd-1cf1e703ce108859dc8e.js +0 -1
- data/tools/tlmviewer/LimitscolumnWidget-Cd76tBo7-8f9b96f21044a65781d7.js +0 -1
- data/tools/tlmviewer/LinegraphWidget-DWRtO6Ej-309c37b3543e9d3fa22b.js +0 -1
- data/tools/tlmviewer/MatrixbycolumnsWidget-cwsyjNV2-1fb49a3d873b4eb75b02.js +0 -1
- data/tools/tlmviewer/ProgressbarWidget-CYDziFej-c9b58d7be2332196a738.js +0 -1
- data/tools/tlmviewer/RadiobuttonWidget-U6jcQZoD-15b518dbf21a26a0fcaf.js +0 -1
- data/tools/tlmviewer/RadiogroupWidget-HTPJnsB0-c5f89e48214a128f2f4a.js +0 -1
- data/tools/tlmviewer/RangebarWidget-DW0FJK6y-a2d26324c158d8b3ce07.js +0 -1
- data/tools/tlmviewer/RollupWidget-B2qrx55f-4d4a3b3b78abc53cf763.js +0 -1
- data/tools/tlmviewer/ScrollwindowWidget-CwIDxgO6-2603bddcf4abb5f4555b.js +0 -1
- data/tools/tlmviewer/SignalWidget-Bosa3AbW-521d8ee03db614baa71c.js +0 -1
- data/tools/tlmviewer/SpacerWidget-DYAlt5mt-9808c7e09040836757c8.js +0 -1
- data/tools/tlmviewer/SparklineWidget-CDrVXOFV-5f3422e8f1d2cfbce347.js +0 -1
- data/tools/tlmviewer/TabbookWidget-DDdlzCkv-4cb9d3be58ce6f05d747.js +0 -1
- data/tools/tlmviewer/TextboxWidget-5euFelEq-2482450d5c931c1113a3.js +0 -1
- data/tools/tlmviewer/TextfieldWidget-BFripYeh-b1bd68f07ac3ef77882c.js +0 -1
- data/tools/tlmviewer/TimeWidget-BBSbsUYJ-5d4c1d86c386dbbf905c.js +0 -1
- data/tools/tlmviewer/TitleWidget-p8cjo-Bs-a7af9988df0b05b80d65.js +0 -1
- data/tools/tlmviewer/ValueWidget-CZh7JWwT-e746b019c8958e7e1580.js +0 -1
- data/tools/tlmviewer/ValuelimitsbarWidget-DU7ybswC-9de33cdfa854288acf1a.js +0 -1
- data/tools/tlmviewer/ValuelimitscolumnWidget-DMw-h5jM-e29749888e7c8a7aeffd.js +0 -1
- data/tools/tlmviewer/ValuerangebarWidget-DPpofDpA-6da22682997bff6feac1.js +0 -1
- data/tools/tlmviewer/VerticalWidget-Ch7VAEmz-5cbb8bc65a48a0198b23.js +0 -1
- data/tools/tlmviewer/VerticalboxWidget-DYx-TFT4-39b8213ffe9e052b0d6a.js +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c01718a10e5a621acdb4fe68cea20e5a0833e553c768ae7c701730bc6929fabf
|
4
|
+
data.tar.gz: 566f6aca962647602e8dec1c5c08f8edb0b161a363f5688ee8e0d74082ce2923
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2dfec1901d8f5c98fc32ac68a5048701f4288826d691da1cafc7d33e9393015b1170bace9b1848b6feaf9d582313fae8f31d199d71de92b741ca4a9413bf110f
|
7
|
+
data.tar.gz: 7cb67823c97ee4a163bdfc77eea7c8ff5105acb3515f3af3d53a919b79407dbf98cdcb75a1ff053a3a2353455da8155612e386712cb1a7865d8939c7ea21ed06
|
@@ -0,0 +1,2 @@
|
|
1
|
+
System.register(["./main-77da3e732b4aa0419678.js","vue","./DetailsDialog-DLRMqetn-8f3b8c2058cbb4487dd9.js","single-spa","./VWidget-02CG-3Av-6dd8f41abb30e51c1336.js","vue-router","vuex","vuetify","./Widget-C4QVI4IH-77557544d86f5014c3b6.js"],function(S,R){"use strict";var h,a,u,c,i,d,p,l,g,f,v,w,y,x,C,V;return{setters:[t=>{h=t.s},t=>{a=t.resolveComponent,u=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},null,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 m of e)this.formatter&&((r=this.formatter)==null?void 0:r.toLowerCase())!=="nil"?s+=sprintf(this.formatter,m):s+=m,o+=1,o%this.itemsPerRow===0?(o=0,s+=D):s+=k;return s.trim()}else return e}}},B={class:"array-widget-container"};function L(e,r,s,k,D,o){const m=a("v-textarea"),M=a("v-list-item-title"),_=a("v-list-item"),z=a("v-list"),I=a("v-menu"),N=a("details-dialog");return u(),c("div",B,[i(m,{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(I,{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(()=>[(u(!0),c(g,null,f(e.contextMenuOptions,(n,P)=>(u(),v(_,{key:P,onClick:w(n.action,["stop"])},{default:l(()=>[i(M,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 j=S("default",h(t,[["render",L],["__scopeId","data-v-62b9e9e1"]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./Widget-C4QVI4IH-77557544d86f5014c3b6.js","./main-77da3e732b4aa0419678.js"],function(a,n){"use strict";var h,l;return{setters:[s=>{h=s.o},s=>{l=s.F}],execute:function(){const s=a("l",{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){if(!t)return;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-77da3e732b4aa0419678.js","vue","./DetailsDialog-DLRMqetn-8f3b8c2058cbb4487dd9.js","single-spa","./VWidget-02CG-3Av-6dd8f41abb30e51c1336.js","vue-router","vuex","vuetify","./Widget-C4QVI4IH-77557544d86f5014c3b6.js"],function(S,b){"use strict";var u,r,h,m,s,p,g,o,w,f,v,y,x,C,V,k;return{setters:[e=>{u=e.s},e=>{r=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,C=e.toDisplayString},e=>{V=e.P},null,e=>{k=e.L},null,null,null,null],execute:function(){const e={components:{DetailsDialog:V},data:function(){return{width:400,height:400,bytesPerWord:4,wordsPerRow:4,addrFormat:null,formatter:"%02X"}},mixins:[k],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 a="";if(t&&t.raw){let D=" ",P=`
|
2
|
+
`,i=0,l=0;const d=this.bytesPerWord*this.wordsPerRow;for(const c of t.raw)this.addrFormat&&i===0&&(a+=sprintf(this.addrFormat,l),l+=d),a+=sprintf(this.formatter,c),i+=1,i%d===0?(i=0,a+=P):i%this.bytesPerWord===0&&(a+=D)}else a=t;return a}}},M={class:"block-widget-container"};function W(t,a,D,P,i,l){const d=r("v-textarea"),c=r("v-list-item-title"),_=r("v-list-item"),B=r("v-list"),F=r("v-menu"),L=r("details-dialog");return h(),m("div",M,[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(F,{modelValue:t.contextMenuShown,"onUpdate:modelValue":a[0]||(a[0]=n=>t.contextMenuShown=n),target:[t.x,t.y]},{default:o(()=>[s(B,null,{default:o(()=>[(h(!0),m(w,null,f(t.contextMenuOptions,(n,R)=>(h(),v(_,{key:R,onClick:y(n.action,["stop"])},{default:o(()=>[s(c,null,{default:o(()=>[x(C(n.title),1)]),_:2},1024)]),_:2},1032,["onClick"]))),128))]),_:1})]),_:1},8,["modelValue","target"]),s(L,{"target-name":t.parameters[0],"packet-name":t.parameters[1],"item-name":t.parameters[2],modelValue:t.viewDetails,"onUpdate:modelValue":a[1]||(a[1]=n=>t.viewDetails=n)},null,8,["target-name","packet-name","item-name","modelValue"])])}const z=S("default",u(e,[["render",W],["__scopeId","data-v-4d4589c2"]]))}}});
|
@@ -0,0 +1,2 @@
|
|
1
|
+
System.register(["./main-77da3e732b4aa0419678.js","vue","single-spa","./Widget-C4QVI4IH-77557544d86f5014c3b6.js","vue-router","vuex","vuetify"],function(exports,module){"use strict";var s,Ik,S$1,Fk,resolveComponent,openBlock,createBlock,withCtx,createVNode,createElementVNode,createTextVNode,toDisplayString,createCommentVNode,withModifiers,createElementBlock,normalizeStyle,o;return{setters:[e=>{s=e.s,Ik=e.I,S$1=e.S,Fk=e.F},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},null,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?(Ik.get("/openc3-api/criticalcmd/canapprove/"+this.uuid).then(r=>{r.data.status==="ok"&&(this.canApprove=!0)}),this.updater=setInterval(()=>{this.uuid?Ik.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 Ik.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 Ik.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 Fk},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});Ik.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-C1HoM4Kl-16582a7fb597a91b7893.js","vue","./main-77da3e732b4aa0419678.js","./Widget-C4QVI4IH-77557544d86f5014c3b6.js","vue-router","single-spa","vuex","vuetify"],function(p,f){"use strict";var i,n,s,a,l,c,o,u,g;return{setters:[e=>{i=e.r},e=>{n=e.openBlock,s=e.createElementBlock,a=e.Fragment,l=e.renderList,c=e.createBlock,o=e.resolveDynamicComponent,u=e.mergeProps},e=>{g=e.s},null,null,null,null,null],execute:function(){const e={mixins:[i],computed:{width(){return this.parameters[0]+"px"},height(){return this.parameters[1]+"px"}}},h=["width","height"];function d(r,k,y,B,b,m){return n(),s("svg",{id:"canvas",width:m.width,height:m.height},[(n(!0),s(a,null,l(r.widgets,(t,v)=>(n(),c(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,h)}const w=p("default",g(e,[["render",d],["__scopeId","data-v-47bdfc3c"]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./Widget-C4QVI4IH-77557544d86f5014c3b6.js","vue","./main-77da3e732b4aa0419678.js","vue-router","single-spa","vuex","vuetify"],function(s,a){"use strict";var t,l,n,c;return{setters:[e=>{t=e.o},e=>{l=e.openBlock,n=e.createElementBlock},e=>{c=e.s},null,null,null,null],execute:function(){const e={mixins:[t]},u=["cx","cy","r","fill"];function i(r,m,f,p,v,x){return l(),n("circle",{cx:r.parameters[0],cy:r.parameters[1],r:r.parameters[3],fill:r.parameters[2]},null,8,u)}const o=s("default",c(e,[["render",i]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./Widget-C4QVI4IH-77557544d86f5014c3b6.js","./ImageLoader-CpcR6tPi-1b62c2941e0b49298f1a.js","vue","./main-77da3e732b4aa0419678.js","vue-router","single-spa","vuex","vuetify"],function(m,d){"use strict";var s,i,n,a,l,c,h;return{setters:[e=>{s=e.o},e=>{i=e.s},e=>{n=e.openBlock,a=e.createElementBlock,l=e.normalizeStyle,c=e.createCommentVNode},e=>{h=e.s},null,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:l(r.pointerStyle),onClick:o[0]||(o[0]=(...g)=>r.clickHandler&&r.clickHandler(...g))},null,12,u)):c("",!0)}const f=m("default",h(e,[["render",p]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./Widget-C4QVI4IH-77557544d86f5014c3b6.js","./ImageLoader-CpcR6tPi-1b62c2941e0b49298f1a.js","vue","./main-77da3e732b4aa0419678.js","vue-router","single-spa","vuex","vuetify"],function(I,S){"use strict";var m,d,l,n,g,o,h,u,c,p,f;return{setters:[t=>{m=t.o},t=>{d=t.s},t=>{l=t.openBlock,n=t.createElementBlock,g=t.Fragment,o=t.renderList,h=t.withDirectives,u=t.normalizeStyle,c=t.vShow,p=t.createCommentVNode},t=>{f=t.s},null,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(i=>i.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 i=this.appliedSettings.filter(e=>e[0]==="IMAGE").map(async e=>{let r=e[2];return r.startsWith("http")||(r=await this.getPresignedUrl(r)),{url:r,value:e[1],x:e[3],y:e[4],width:e[5],height:e[6]}});if(Promise.all(i).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 r=this.parameters[4];r.startsWith("http")?this.defaultImage={...e,url:r}:this.getPresignedUrl(r).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)}}},v=["href","x","y","width","height"],w=["href","x","y","width","height"];function k(i,e,r,y,N,a){return l(),n("g",null,[(l(!0),n(g,null,o(i.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,v)),[[c,s.value==a.selectedValue]])),128)),i.defaultImage?h((l(),n("image",{key:0,href:i.defaultImage.url,x:i.defaultImage.x,y:i.defaultImage.y,width:i.defaultImage.width,height:i.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 $=I("default",f(t,[["render",k]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./Widget-C4QVI4IH-77557544d86f5014c3b6.js","vue","./main-77da3e732b4aa0419678.js","vue-router","single-spa","vuex","vuetify"],function(o,p){"use strict";var r,l,n,s,i;return{setters:[e=>{r=e.o},e=>{l=e.openBlock,n=e.createElementBlock,s=e.toDisplayString},e=>{i=e.s},null,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,y,g,c){return l(),n("text",{x:t.parameters[0],y:t.parameters[1],fill:c.fillColor},s(t.parameters[2]),9,a)}const m=o("default",i(e,[["render",u]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./Widget-C4QVI4IH-77557544d86f5014c3b6.js","vue","./main-77da3e732b4aa0419678.js","vue-router","single-spa","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,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-C4QVI4IH-77557544d86f5014c3b6.js","vue","./main-77da3e732b4aa0419678.js","vue-router","single-spa","vuex","vuetify"],function(i,p){"use strict";var l,s,n,a,c;return{setters:[e=>{l=e.o},e=>{s=e.openBlock,n=e.createElementBlock,a=e.normalizeStyle},e=>{c=e.s},null,null,null,null],execute:function(){const e={mixins:[l],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}}},u=["x1","y1","x2","y2"];function o(t,r,k,x,f,m){return s(),n("line",{x1:t.parameters[0],y1:t.parameters[1],x2:t.parameters[2],y2:t.parameters[3],style:a(m.calcStyle)},null,12,u)}const y=i("default",c(e,[["render",o]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./Widget-C4QVI4IH-77557544d86f5014c3b6.js","vue","./main-77da3e732b4aa0419678.js","vue-router","single-spa","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,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 m(e,a,d,v,y,h){return r(),l("line",{x1:e.parameters[3],y1:e.parameters[4],x2:e.parameters[5],y2:e.parameters[6],style:i(h.calcStyle)},null,12,c)}const p=u("default",n(t,[["render",m]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./Widget-C4QVI4IH-77557544d86f5014c3b6.js","vue","./main-77da3e732b4aa0419678.js","vue-router","single-spa","vuex","vuetify"],function(c,h){"use strict";var t,n,a,s,o,r;return{setters:[e=>{t=e.o},e=>{n=e.resolveComponent,a=e.openBlock,s=e.createBlock,o=e.normalizeStyle},e=>{r=e.s},null,null,null,null],execute:function(){const e={mixins:[t],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,l,b){const m=n("v-checkbox");return a(),s(m,{"hide-details":"",density:"compact",label:l.label,modelValue:l.value,"onUpdate:modelValue":u[0]||(u[0]=v=>l.value=v),style:o(d.computedStyle)},null,8,["label","modelValue","style"])}const p=c("default",r(e,[["render",i]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./Widget-C4QVI4IH-77557544d86f5014c3b6.js","vue","./main-77da3e732b4aa0419678.js","vue-router","single-spa","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,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,k){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-C4QVI4IH-77557544d86f5014c3b6.js","./main-77da3e732b4aa0419678.js","vue","vue-router","single-spa","vuex","vuetify"],function(d,V){"use strict";var l,a,n,s,r,u,o;return{setters:[e=>{l=e.o},e=>{a=e.s,n=e.P},e=>{s=e.resolveComponent,r=e.openBlock,u=e.createBlock,o=e.normalizeStyle},null,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,v,y,t,b){const h=s("v-text-field");return r(),u(h,{modelValue:t.dateValue,"onUpdate:modelValue":i[0]||(i[0]=p=>t.dateValue=p),label:t.label,style:o(m.computedStyle),type:"date","hide-details":""},null,8,["modelValue","label","style"])}const f=d("default",a(e,[["render",c]]))}}});
|
@@ -1 +1 @@
|
|
1
|
-
System.register(["./main-ba9a9a82c5555f5fd208.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"]]))}}});
|
1
|
+
System.register(["./main-77da3e732b4aa0419678.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.F},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"),F=m("v-switch"),I=m("v-container"),O=m("v-card-text"),R=m("v-card"),z=m("v-dialog");return r(),o(z,{modelValue:y.show,"onUpdate:modelValue":a[1]||(a[1]=b=>y.show=b),width:"700"},{default:e(()=>[t(R,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(O,null,{default:e(()=>[t(I,{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(F,{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-77da3e732b4aa0419678.js","vue-router","single-spa","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,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 l(u,d,w,g,c,y){return t(),n(r(c.widgetType),o(i({...u.$props,...u.$attrs})),null,16)}const m=a("default",s(e,[["render",l]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./Widget-C4QVI4IH-77557544d86f5014c3b6.js","./ValueWidget-KLYY8L8U-981e9679ee74d7dd44a0.js","vue","./main-77da3e732b4aa0419678.js","./DetailsDialog-DLRMqetn-8f3b8c2058cbb4487dd9.js","single-spa","./VWidget-02CG-3Av-6dd8f41abb30e51c1336.js","vue-router","vuex","vuetify"],function(m,v){"use strict";var r,s,n,a,l,i,o,c,u;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=>{u=e.s},null,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,y,V,j,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 f=m("default",u(e,[["render",p]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./main-77da3e732b4aa0419678.js","vue","./Widget-C4QVI4IH-77557544d86f5014c3b6.js"],function(j,Se){"use strict";var L,B,J,I,Q,Z,P,R,ee,H,te,m,w,Y,ie,a,l,M,ae,b,T,u,N,S,x,E,se,le,q,oe,re,ne;return{setters:[c=>{L=c.s,B=c.P,J=c.O,I=c.b,Q=c.c,Z=c.d,P=c.e,R=c.l,ee=c.F,H=c.y,te=c.z},c=>{m=c.resolveComponent,w=c.openBlock,Y=c.createElementBlock,ie=c.withModifiers,a=c.createVNode,l=c.withCtx,M=c.withDirectives,ae=c.normalizeClass,b=c.createElementVNode,T=c.mergeProps,u=c.createTextVNode,N=c.vShow,S=c.toDisplayString,x=c.createBlock,E=c.createCommentVNode,se=c.normalizeProps,le=c.guardReactiveProps,q=c.withKeys,oe=c.Fragment,re=c.renderList},c=>{ne=c.o}],execute:function(){const c={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:[B],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 Z(P(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 Z(P(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=R(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=R(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)}}},de={class:"edit-box"},he={class:"edit-box"},me={class:"edit-box"},ue={class:"edit-box"};function ce(t,e,i,n,s,o){const d=m("v-spacer"),r=m("v-toolbar"),v=m("v-tab"),p=m("v-tabs"),y=m("v-text-field"),D=m("v-card-text"),_=m("v-col"),k=m("v-select"),f=m("v-row"),G=m("v-tabs-window-item"),z=m("v-btn"),A=m("v-list-item"),V=m("v-icon"),C=m("v-tooltip"),$=m("v-list"),U=m("v-data-table"),F=m("v-tabs-window"),K=m("v-card-actions"),h=m("v-card"),W=m("v-dialog");return w(),x(W,{modelValue:o.show,"onUpdate:modelValue":e[12]||(e[12]=g=>o.show=g),onKeydown:e[13]||(e[13]=q(g=>t.$emit("cancel"),["esc"])),"max-width":"700"},{default:l(()=>[a(r,{height:"24"},{default:l(()=>[a(d),e[14]||(e[14]=b("span",null," Edit Graph ",-1)),a(d)]),_:1}),a(h,{class:"pa-3"},{default:l(()=>[a(p,{modelValue:t.tab,"onUpdate:modelValue":e[0]||(e[0]=g=>t.tab=g),class:"ml-3"},{default:l(()=>[a(v,{value:"0"},{default:l(()=>e[15]||(e[15]=[u(" Settings ")])),_:1}),a(v,{value:"1"},{default:l(()=>e[16]||(e[16]=[u(" Scale / Lines ")])),_:1}),a(v,{value:"2"},{default:l(()=>e[17]||(e[17]=[u(" Items ")])),_:1})]),_:1},8,["modelValue"]),a(F,{modelValue:t.tab,"onUpdate:modelValue":e[10]||(e[10]=g=>t.tab=g)},{default:l(()=>[a(G,{value:"0",eager:""},{default:l(()=>[b("div",de,[a(f,null,{default:l(()=>[a(_,null,{default:l(()=>[a(D,{class:"pa-0"},{default:l(()=>[a(y,{class:"pb-2",label:"Title",modelValue:t.graph.title,"onUpdate:modelValue":e[1]||(e[1]=g=>t.graph.title=g),"hide-details":""},null,8,["modelValue"])]),_:1})]),_:1}),a(_,null,{default:l(()=>[a(k,{label:"Legend Position","hide-details":"",items:t.legendPositions,modelValue:t.graph.legendPosition,"onUpdate:modelValue":e[2]||(e[2]=g=>t.graph.legendPosition=g),style:{"max-width":"280px"}},null,8,["items","modelValue"])]),_:1})]),_:1})]),b("div",he,[a(D,{class:"pa-0"},{default:l(()=>e[18]||(e[18]=[u(" Select a start date/time for the graph. Leave blank for start now. ")])),_:1}),a(f,null,{default:l(()=>[a(_,null,{default:l(()=>[a(y,{label:"Start Date",name:`date${Date.now()}`,rules:[t.rules.date],modelValue:t.startDate,"onUpdate:modelValue":e[3]||(e[3]=g=>t.startDate=g),type:"date"},null,8,["name","rules","modelValue"])]),_:1}),a(_,null,{default:l(()=>[a(y,{label:"Start Time",name:`time${Date.now()}`,rules:[t.rules.time],modelValue:t.startTime,"onUpdate:modelValue":e[4]||(e[4]=g=>t.startTime=g),type:"time",step:"1"},null,8,["name","rules","modelValue"])]),_:1})]),_:1}),a(D,{class:"pa-0"},{default:l(()=>e[19]||(e[19]=[u(" Select a end date/time for the graph. Leave blank for continuous real-time graphing. ")])),_:1}),a(f,null,{default:l(()=>[a(_,null,{default:l(()=>[a(y,{label:"End Date",name:`date${Date.now()}`,rules:[t.rules.date],modelValue:t.endDate,"onUpdate:modelValue":e[5]||(e[5]=g=>t.endDate=g),type:"date"},null,8,["name","rules","modelValue"])]),_:1}),a(_,null,{default:l(()=>[a(y,{label:"End Time",name:`time${Date.now()}`,rules:[t.rules.time],modelValue:t.endTime,"onUpdate:modelValue":e[6]||(e[6]=g=>t.endTime=g),type:"time",step:"1"},null,8,["name","rules","modelValue"])]),_:1})]),_:1})])]),_:1}),a(G,{value:"1",eager:""},{default:l(()=>[b("div",me,[a(D,{class:"pa-0"},{default:l(()=>e[20]||(e[20]=[u(" Set a min or max Y value to override automatic scaling ")])),_:1}),a(f,{dense:""},{default:l(()=>[a(_,{class:"px-2"},{default:l(()=>[a(y,{"hide-details":"",label:"Min Y Axis (Optional)",modelValue:t.graph.graphMinY,"onUpdate:modelValue":e[7]||(e[7]=g=>t.graph.graphMinY=g),type:"number"},null,8,["modelValue"])]),_:1}),a(_,{class:"px-2"},{default:l(()=>[a(y,{"hide-details":"",label:"Max Y Axis (Optional)",modelValue:t.graph.graphMaxY,"onUpdate:modelValue":e[8]||(e[8]=g=>t.graph.graphMaxY=g),type:"number"},null,8,["modelValue"])]),_:1})]),_:1})]),b("div",ue,[a($,{density:"compact",class:"horizontal-lines"},{default:l(()=>[a(A,null,{default:l(()=>[e[22]||(e[22]=b("span",{style:{"padding-top":"5px"}}," Add horizontal lines to the graph ",-1)),a(d),a(z,{onClick:e[9]||(e[9]=g=>o.addLine())},{default:l(()=>e[21]||(e[21]=[u(" New Line ")])),_:1})]),_:1}),(w(!0),Y(oe,null,re(t.graph.lines,(g,X)=>(w(),x(A,{key:X,value:g,color:"primary"},{default:l(()=>[a(f,null,{default:l(()=>[a(_,null,{default:l(()=>[a(y,{label:"Y Value",modelValue:g.yValue,"onUpdate:modelValue":O=>g.yValue=O},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),a(_,null,{default:l(()=>[a(k,{label:"Color","hide-details":"",items:i.colors,modelValue:g.color,"onUpdate:modelValue":O=>g.color=O},null,8,["items","modelValue","onUpdate:modelValue"])]),_:2},1024),a(_,null,{default:l(()=>[a(C,{text:"Remove",location:"top"},{activator:l(({props:O})=>[a(V,T({ref_for:!0},O,{style:{padding:"30px"},onClick:Ye=>o.removeLine(g)}),{default:l(()=>e[23]||(e[23]=[u("mdi-delete")])),_:2},1040,["onClick"])]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1032,["value"]))),128))]),_:1})])]),_:1}),a(G,{value:"2",eager:""},{default:l(()=>[a(U,{"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":l(({item:g})=>[a(C,{text:"Remove",location:"top"},{activator:l(({props:X})=>[a(V,T(X,{onClick:O=>t.$emit("remove",g)}),{default:l(()=>e[24]||(e[24]=[u(" mdi-delete ")])),_:2},1040,["onClick"])]),_:2},1024)]),"no-data":l(()=>e[25]||(e[25]=[b("span",null," Currently no items on this graph ",-1)])),_:1},8,["headers","items"])]),_:1})]),_:1},8,["modelValue"]),a(K,{class:"px-2"},{default:l(()=>[a(d),a(z,{variant:"outlined",onClick:e[11]||(e[11]=g=>t.$emit("cancel"))},{default:l(()=>e[26]||(e[26]=[u(" Cancel ")])),_:1}),a(z,{variant:"flat",onClick:o.closeOk},{default:l(()=>e[27]||(e[27]=[u(" Ok ")])),_:1},8,["onClick"])]),_:1})]),_:1})]),_:1},8,["modelValue"])}const pe=L(c,[["render",ce]]),ge={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:[{title:"NONE",value:"DECOM"},{title:"REDUCED_MINUTE",value:"REDUCED_MINUTE"},{title:"REDUCED_HOUR",value:"REDUCED_HOUR"},{title:"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},new ee().get_item(this.item.targetName,this.item.packetName,this.item.itemName).then(t=>{for(const[e,i]of Object.entries(t.limits))Object.keys(i).includes("red_low")&&(this.limits[e]=Object.values(i));this.limitsName=Object.keys(this.limits).find(e=>this.limits[e]+""==this.editItem.limits+"")})}},fe={key:0},ve={class:"pa-3"};function ye(t,e,i,n,s,o){const d=m("v-card-title"),r=m("v-select"),v=m("v-card-text"),p=m("v-spacer"),y=m("v-btn"),D=m("v-card-actions"),_=m("v-card"),k=m("v-dialog");return w(),x(k,{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:l(()=>[a(_,null,{default:l(()=>[a(d,{class:"mb-2"},{default:l(()=>e[11]||(e[11]=[u("Edit Item")])),_:1}),a(v,null,{default:l(()=>[a(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"]),a(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"]),a(r,{variant:"outlined","hide-details":"",label:"Reduced Type",items:t.reducedTypes,disabled:t.editItem.reduced==="DECOM",modelValue:t.editItem.reducedType,"onUpdate:modelValue":e[2]||(e[2]=f=>t.editItem.reducedType=f),class:"mb-2"},null,8,["items","disabled","modelValue"]),a(r,{variant:"outlined","hide-details":"",label:"Color",items:i.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(),Y("div",fe,[a(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"]),b("div",ve,S(t.limitsName)+": "+S(t.limits[t.limitsName]),1)])):E("",!0)]),_:1}),a(D,{class:"px-2"},{default:l(()=>[a(p),a(y,{variant:"outlined",onClick:e[7]||(e[7]=f=>t.$emit("cancel"))},{default:l(()=>e[12]||(e[12]=[u(" Cancel ")])),_:1}),a(y,{variant:"flat",onClick:e[8]||(e[8]=f=>t.$emit("close",t.editItem))},{default:l(()=>e[13]||(e[13]=[u(" Ok ")])),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue"])}const we=L(ge,[["render",ye]]),be={components:{GraphEditDialog:pe,GraphEditItemDialog:we},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:[B],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((n,s)=>{const o={spanGaps:!0};return n.chartSeries.push({...o,item:s,label:this.formatLabel(s),stroke:(d,r)=>this.items[r-1].color,width:2,value:(d,r)=>typeof r=="string"||isNaN(r)?"NaN":r==null?"--":r.toFixed(3)}),n.overviewSeries.push({...o}),n},{chartSeries:[],overviewSeries:[]});let i={};if(this.sparkline)this.hideToolbarData=!0,this.hideOverviewData=!0,this.showOverview=!1,i={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 I(i,this.data,document.getElementById(`chart${this.id}`));else{let n=Intl.DateTimeFormat().resolvedOptions().timeZone;this.timeZone&&this.timeZone!=="local"&&(n=this.timeZone),i={...this.getSize("chart"),...this.getScales(),...this.getAxes("chart"),plugins:[this.linesPlugin()],tzDate:o=>I.tzDate(new Date(o*1e3),n),series:[{label:"Time",value:(o,d)=>d==null?"--":this.formatSeconds(d,this.timeZone)},...t],cursor:{drag:{x:!0,y:!1},sync:{key:"openc3"},bind:{mouseup:(o,d,r)=>v=>{this.state==="pause"&&o.select.width===0&&this.$emit("start"),r(v)}}},hooks:{setScale:[(o,d)=>{if(d==="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 d=o.root.querySelector(".u-legend");d.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"),p=Array.prototype.slice.call(d.childNodes[0].childNodes).indexOf(v),y=o.series[p];y.item?(this.selectedItem=y.item,this.itemMenu=!0):(this.itemMenu=!1,this.legendMenuX=r.clientX,this.legendMenuY=r.clientY,this.legendMenu=!0)}),d.querySelector("tbody").appendChild(this.$refs.info)}]}},this.graph=new I(i,this.data,document.getElementById(`chart${this.id}`));const s={...this.getSize("overview"),...this.getScales(),...this.getAxes("overview"),tzDate:o=>I.tzDate(new Date(o*1e3),n),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 d=o.posToVal(o.select.left,"x"),r=o.posToVal(o.select.left+o.select.width,"x");this.graph.setScale("x",{min:d,max:r}),this.zoomOverview=!1}}]}};this.overview=new I(s,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 i=parseFloat(t);isNaN(i)||(this.graphMinY=i),this.setGraphRange()},graphMaxY:function(t,e){let i=parseFloat(t);isNaN(i)||(this.graphMaxY=i),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],i=this.data[0][0];i<t-this.secondsGraphed&&(i=t-this.secondsGraphed),e>i&&(i=e),this.graph.setScale("x",{min:i,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,i,n)=>{let s=i;(this.graphMinY||this.graphMinY===0)&&(s=this.graphMinY);let o=n;return(this.graphMaxY||this.graphMaxY===0)&&(o=this.graphMaxY),I.rangeNum(s,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 i=document.getElementById("openc3-nav-drawer");i&&(e=i.classList.contains("v-navigation-drawer--active")?i.clientWidth:0);let n=0;(this.legendPosition==="right"||this.legendPosition==="left")&&(n=document.getElementsByClassName("u-legend")[0].clientWidth);const s=Math.max(document.documentElement.clientWidth,window.innerWidth||0)-e-n,o=Math.max(document.documentElement.clientHeight,window.innerHeight||0),d=document.getElementsByClassName("v-expansion-panel")[0];let r=100;t==="overview"?this.fullHeight&&!this.hideOverviewData?this.showOverview=!0:this.showOverview=!1:(r=o-d.clientHeight-r-250,this.fullHeight||(r=r/2+10));let v=s-68;return this.fullWidth||(v=v/2-10),{width:this.width||v,height:this.height||r}},getScales:function(){return{scales:{x:{range(t,e,i){return e==null?[1566453600,1566497660]:[e,i]}},y:{range(t,e,i){return e==null?[-100,100]:I.rangeNum(e,i,.1,!0)}}}}},getAxes:function(t){let e="rgba(255, 255, 255, .1)",i="white";return{axes:[{stroke:i,grid:{show:!0,stroke:e,width:2}},{size:80,stroke:i,grid:{show:t!=="overview",stroke:e,width:2},values(n,s){return(s.some(o=>o>=1e7)||s.every(o=>o<.01))&&(s=s.map(o=>o.toExponential(3))),s}}]}},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),i=this.indexes[e];this.items[i-1].color=t,this.selectedItem.color=t,this.graph.root.querySelectorAll(".u-marker")[i].style.borderColor=t},changeLimits:function(t){let e=this.subscriptionKey(this.selectedItem),i=this.indexes[e];this.items[i-1].limits=t,this.selectedItem.limits=t,this.limitsValues=t},linesPlugin:function(){return{hooks:{draw:t=>{const{ctx:e,bbox:i}=t,n=t.valToPos(t.scales.y.min,"y",!0),s=t.valToPos(t.scales.y.max,"y",!0),o=t.valToPos(this.limitsValues[0],"y",!0),d=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(p=>{t.scales.y.min<=p.yValue&&p.yValue<=t.scales.y.max&&(e.save(),e.beginPath(),e.strokeStyle=p.color,e.lineWidth=2,e.moveTo(i.left,t.valToPos(p.yValue,"y",!0)),e.lineTo(i.left+i.width,t.valToPos(p.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 p=o<s?s:o;e.fillRect(i.left,o,i.width,n-p)}if(t.scales.y.max>this.limitsValues[3]){let p=n<v?n:v;e.fillRect(i.left,s,i.width,p-s)}if(e.fillStyle="rgba(255,255,0,0.15)",t.scales.y.min<this.limitsValues[1]&&t.scales.y.max>this.limitsValues[0]){let p=d<s?s:d;e.fillRect(i.left,p,i.width,o-p)}if(t.scales.y.max>this.limitsValues[2]&&t.scales.y.min<this.limitsValues[3]){let p=n<v?n:v,y=n<r?n:r;e.fillRect(i.left,p,i.width,y-p)}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 p=r<s?s:r,y=n<d?n:d;e.fillRect(i.left,p,i.width,y-p)}}else{const p=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 k=p<s?s:p;e.fillRect(i.left,k,i.width,d-k)}if(t.scales.y.max>this.limitsValues[5]&&t.scales.y.min<this.limitsValues[2]){let k=n<r?n:r,f=n<y?n:y;e.fillRect(i.left,k,i.width,f-k)}e.fillStyle="rgba(0,0,255,0.15)";let D=y<s?s:y,_=n<p?n:p;e.fillRect(i.left,D,i.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(i=>{i.valueType||(i.valueType=e),i.color||(i.color=this.colors[this.colorIndex]),i.limits||(i.limits=[]),i.limits.length>0&&(this.limitsValues=i.limits),this.colorIndex=(this.colorIndex+1)%this.colors.length,this.items.push(i);const n=this.data.length;this.graph.addSeries(this.createSeriesConfig(i),n),this.overview&&this.overview.addSeries(this.createOverviewSeriesConfig(),n),this.data.splice(n,0,Array(this.data[0].length)),this.indexes[this.subscriptionKey(i)]=n}),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,i)=>this.items[i-1].color,width:2,value:(e,i)=>typeof i=="string"||isNaN(i)?"NaN":i==null?"--":Math.abs(i)<.01&&i!==0||Math.abs(i)>=1e7?i.toExponential(6):i.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 i=this.colors.indexOf(e.color);i!==-1&&(this.colorIndex=(i+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(i=>{i&&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 i=this.indexes[e];this.data[i]=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 i=this.reorderIndexes(e);this.items.splice(i-1,1),this.data.splice(i,1),this.graph.delSeries(i),this.graph.setData(this.data),this.overview&&(this.overview.delSeries(i),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 i in this.indexes)this.indexes[i]>e&&(this.indexes[i]-=1);return e},received:function(t){this.cable.recordPing();for(let e=0;e<t.length;e++){let i=t[e].__time/1e9,n=t[0].length;if(n===0||i>t[0][n-1]){for(let s=0;s<this.data.length;s++)this.data[s].push(null);this.set_data_at_index(this.data[0].length-1,i,t[e])}else{let s=Q(this.data[0],i,this.bs_comparator);if(s>=0)this.set_data_at_index(s,i,t[e]);else{let o=-s-1;for(let d=0;d<this.data.length;d++)this.data[d].splice(o,0,null);this.set_data_at_index(o,i,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,i){this.data[0][t]=e;for(const[n,s]of Object.entries(i)){if(n==="time")continue;let o=this.indexes[n];if(o){let d=this.data[o];if(s!=null&&s.raw)d[t]=null;else if(typeof s=="string"){if(d[t]=null,!n.includes("__RAW")){for(let r of this.items)if(this.subscriptionKey(r)===n){this.selectedItem=r;break}this.changeItem({valueType:"RAW",reduced:this.selectedItem.reduced,reducedType:this.selectedItem.reducedType})}}else d[t]=s}}},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}}},_e={class:"mx-2"},xe={class:"pa-1",id:"chart",ref:"chart"},Te=["id"],De=["id"],ke={key:5,class:"u-series",ref:"info"};function Ve(t,e,i,n,s,o){const d=m("v-icon"),r=m("v-tooltip"),v=m("v-spacer"),p=m("v-toolbar"),y=m("v-expand-transition"),D=m("v-card"),_=m("graph-edit-dialog"),k=m("v-text-field"),f=m("v-row"),G=m("v-textarea"),z=m("v-btn"),A=m("v-dialog"),V=m("v-list-item-title"),C=m("v-list-item"),$=m("v-list"),U=m("v-menu"),F=m("graph-edit-item-dialog"),K=m("v-list-subheader");return w(),Y("div",{onClick:e[21]||(e[21]=ie(h=>t.$emit("click"),["prevent"]))},[a(D,null,{default:l(()=>[M(a(p,{height:"24",class:ae(["pl-2 pr-2",i.selectedGraphId===i.id?"active":""])},{default:l(()=>[M(b("div",_e,[a(r,{text:"Errors",location:"top"},{activator:l(({props:h})=>[a(d,T(h,{onClick:e[0]||(e[0]=W=>s.errorDialog=!0)}),{default:l(()=>e[22]||(e[22]=[u(" mdi-alert ")])),_:2},1040)]),_:1})],512),[[N,s.errors.length!==0]]),a(r,{text:"Edit",location:"top"},{activator:l(({props:h})=>[a(d,T(h,{onClick:e[1]||(e[1]=W=>s.editGraph=!0),"data-test":"edit-graph-icon"}),{default:l(()=>e[23]||(e[23]=[u(" mdi-pencil ")])),_:2},1040)]),_:1}),a(v),b("span",null,S(s.title),1),a(v),M(b("div",null,[o.calcFullSize?(w(),x(r,{key:0,text:"Collapse",location:"top"},{activator:l(({props:h})=>[a(d,T(h,{onClick:o.collapseAll,"data-test":"collapse-all"}),{default:l(()=>e[24]||(e[24]=[u(" mdi-arrow-collapse ")])),_:2},1040,["onClick"])]),_:1})):(w(),x(r,{key:1,text:"Expand",location:"top"},{activator:l(({props:h})=>[a(d,T(h,{onClick:o.expandAll,"data-test":"expand-all"}),{default:l(()=>e[25]||(e[25]=[u(" mdi-arrow-expand ")])),_:2},1040,["onClick"])]),_:1}))],512),[[N,s.expand]]),M(b("div",null,[s.fullWidth?(w(),x(r,{key:0,text:"Collapse Width",location:"top"},{activator:l(({props:h})=>[a(d,T(h,{onClick:o.collapseWidth,"data-test":"collapse-width"}),{default:l(()=>e[26]||(e[26]=[u(" mdi-arrow-collapse-horizontal ")])),_:2},1040,["onClick"])]),_:1})):(w(),x(r,{key:1,text:"Expand Width",location:"top"},{activator:l(({props:h})=>[a(d,T(h,{onClick:o.expandWidth,"data-test":"expand-width"}),{default:l(()=>e[27]||(e[27]=[u(" mdi-arrow-expand-horizontal ")])),_:2},1040,["onClick"])]),_:1}))],512),[[N,s.expand]]),M(b("div",null,[s.fullHeight?(w(),x(r,{key:0,text:"Collapse Height",location:"top"},{activator:l(({props:h})=>[a(d,T(h,{onClick:o.collapseHeight,"data-test":"collapse-height"}),{default:l(()=>e[28]||(e[28]=[u(" mdi-arrow-collapse-vertical ")])),_:2},1040,["onClick"])]),_:1})):(w(),x(r,{key:1,text:"Expand Height",location:"top"},{activator:l(({props:h})=>[a(d,T(h,{onClick:o.expandHeight,"data-test":"expand-height"}),{default:l(()=>e[29]||(e[29]=[u(" mdi-arrow-expand-vertical ")])),_:2},1040,["onClick"])]),_:1}))],512),[[N,s.expand]]),s.expand?(w(),x(r,{key:0,text:"Minimize",location:"top"},{activator:l(({props:h})=>[a(d,T(h,{onClick:o.minMaxTransition,"data-test":"minimize-screen-icon"}),{default:l(()=>e[30]||(e[30]=[u(" mdi-window-minimize ")])),_:2},1040,["onClick"])]),_:1})):(w(),x(r,{key:1,text:"Maximize",location:"top"},{activator:l(({props:h})=>[a(d,T(h,{onClick:o.minMaxTransition,"data-test":"maximize-screen-icon"}),{default:l(()=>e[31]||(e[31]=[u(" mdi-window-maximize ")])),_:2},1040,["onClick"])]),_:1})),a(r,{text:"Close",location:"top"},{activator:l(({props:h})=>[a(d,T(h,{onClick:e[2]||(e[2]=W=>t.$emit("close-graph")),"data-test":"close-graph-icon"}),{default:l(()=>e[32]||(e[32]=[u(" mdi-close-box ")])),_:2},1040)]),_:1})]),_:1},8,["class"]),[[N,!s.hideToolbarData]]),a(y,null,{default:l(()=>[M(b("div",xe,[b("div",{id:`chart${i.id}`},null,8,Te),e[33]||(e[33]=b("div",{id:"betweenCharts"},null,-1)),M(b("div",{id:`overview${i.id}`},null,8,De),[[N,s.showOverview]])],512),[[N,s.expand]])]),_:1})]),_:1}),s.editGraph?(w(),x(_,{key:0,modelValue:s.editGraph,"onUpdate:modelValue":e[3]||(e[3]=h=>s.editGraph=h),title:s.title,"legend-position":s.legendPosition,items:s.items,"graph-min-y":s.graphMinY,"graph-max-y":s.graphMaxY,lines:s.lines,colors:s.colors,"start-date-time":s.graphStartDateTime,"end-date-time":s.graphEndDateTime,"time-zone":i.timeZone,onRemove:e[4]||(e[4]=h=>o.removeItems([h])),onOk:o.editGraphClose,onCancel:e[5]||(e[5]=h=>s.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"])):E("",!0),a(A,{modelValue:s.errorDialog,"onUpdate:modelValue":e[7]||(e[7]=h=>s.errorDialog=h),"max-width":"600"},{default:l(()=>[a(p,{height:"24"},{default:l(()=>[a(v),e[34]||(e[34]=b("span",null," Errors ",-1)),a(v)]),_:1}),a(D,{class:"pa-3"},{default:l(()=>[a(f,{dense:""},{default:l(()=>[a(k,{readonly:"","hide-details":"",modelValue:s.title,"onUpdate:modelValue":e[6]||(e[6]=h=>s.title=h),class:"pb-2",label:"Graph Title"},null,8,["modelValue"])]),_:1}),a(f,{class:"my-3"},{default:l(()=>[a(G,{readonly:"",rows:"8",value:o.error},null,8,["value"])]),_:1}),a(f,null,{default:l(()=>[a(z,{block:"",onClick:o.clearErrors},{default:l(()=>e[35]||(e[35]=[u(" Clear ")])),_:1},8,["onClick"])]),_:1})]),_:1})]),_:1},8,["modelValue"]),s.editGraphMenu?(w(),x(U,{key:1,modelValue:s.editGraphMenu,"onUpdate:modelValue":e[9]||(e[9]=h=>s.editGraphMenu=h),target:[s.editGraphMenuX,s.editGraphMenuY],absolute:"","offset-y":""},{default:l(()=>[a($,null,{default:l(()=>[a(C,{onClick:e[8]||(e[8]=h=>s.editGraph=!0)},{default:l(()=>[a(V,{style:{cursor:"pointer"}},{default:l(()=>[u(" Edit "+S(s.title),1)]),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue","target"])):E("",!0),s.editItem?(w(),x(F,{key:2,modelValue:s.editItem,"onUpdate:modelValue":e[10]||(e[10]=h=>s.editItem=h),colors:s.colors,item:s.selectedItem,onChangeColor:o.changeColor,onChangeLimits:o.changeLimits,onCancel:e[11]||(e[11]=h=>s.editItem=!1),onClose:o.closeEditItem},null,8,["modelValue","colors","item","onChangeColor","onChangeLimits","onClose"])):E("",!0),s.itemMenu?(w(),x(U,{key:3,modelValue:s.itemMenu,"onUpdate:modelValue":e[15]||(e[15]=h=>s.itemMenu=h),target:[s.itemMenuX,s.itemMenuY],absolute:"","offset-y":""},{default:l(()=>[a($,{nav:"",density:"compact"},{default:l(()=>[a(K,null,{default:l(()=>[u(S(s.selectedItem.targetName)+" "+S(s.selectedItem.packetName)+" "+S(s.selectedItem.itemName),1)]),_:1}),a(C,{onClick:e[12]||(e[12]=h=>s.editItem=!0)},{prepend:l(()=>[a(d,{icon:"mdi-pencil"})]),default:l(()=>[a(V,null,{default:l(()=>e[36]||(e[36]=[u(" Edit ")])),_:1})]),_:1}),a(C,{onClick:e[13]||(e[13]=h=>o.clearData([s.selectedItem]))},{prepend:l(()=>[a(d,{icon:"mdi-eraser"})]),default:l(()=>[a(V,null,{default:l(()=>e[37]||(e[37]=[u(" Clear ")])),_:1})]),_:1}),a(C,{onClick:e[14]||(e[14]=h=>o.removeItems([s.selectedItem]))},{prepend:l(()=>[a(d,{icon:"mdi-delete"})]),default:l(()=>[a(V,null,{default:l(()=>e[38]||(e[38]=[u(" Delete ")])),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue","target"])):E("",!0),s.legendMenu?(w(),x(U,{key:4,modelValue:s.legendMenu,"onUpdate:modelValue":e[20]||(e[20]=h=>s.legendMenu=h),target:[s.legendMenuX,s.legendMenuY],absolute:"","offset-y":""},{default:l(()=>[a($,null,{default:l(()=>[a(C,{onClick:e[16]||(e[16]=h=>o.moveLegend("top"))},{default:l(()=>[a(V,{style:{cursor:"pointer"}},{default:l(()=>e[39]||(e[39]=[u(" Legend Top ")])),_:1})]),_:1}),a(C,{onClick:e[17]||(e[17]=h=>o.moveLegend("bottom"))},{default:l(()=>[a(V,{style:{cursor:"pointer"}},{default:l(()=>e[40]||(e[40]=[u(" Legend Bottom ")])),_:1})]),_:1}),a(C,{onClick:e[18]||(e[18]=h=>o.moveLegend("left"))},{default:l(()=>[a(V,{style:{cursor:"pointer"}},{default:l(()=>e[41]||(e[41]=[u(" Legend Left ")])),_:1})]),_:1}),a(C,{onClick:e[19]||(e[19]=h=>o.moveLegend("right"))},{default:l(()=>[a(V,{style:{cursor:"pointer"}},{default:l(()=>e[42]||(e[42]=[u(" Legend RIght ")])),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue","target"])):E("",!0),i.sparkline?E("",!0):(w(),Y("div",ke,[a(r,{text:"Click item to toggle, Right click to edit",location:"top"},{activator:l(({props:h})=>[a(d,se(le(h)),{default:l(()=>e[43]||(e[43]=[u(" mdi-information-variant-circle ")])),_:2},1040)]),_:1})],512))])}const Ee=j("S",L(be,[["render",Ve],["__scopeId","data-v-485a5da2"]]));function Ce(t,e,i){const n=R(t,void 0);if(isNaN(e))return H(t,NaN);if(!e)return n;const s=n.getDate(),o=H(t,n.getTime());o.setMonth(n.getMonth()+e+1,0);const d=o.getDate();return s>=d?o:(n.setFullYear(o.getFullYear(),o.getMonth(),s),n)}function Ie(t,e,i){return te(t,-e,i)}function Me(t,e,i){return Ce(t,-e)}function Ne(t,e,i){const{years:n=0,months:s=0,weeks:o=0,days:d=0,hours:r=0,minutes:v=0,seconds:p=0}=e,y=Me(t,s+n*12),D=Ie(y,d+o*7,i),_=v+r*60,k=(p+_*60)*1e3;return H(t,+D-k)}const Oe=j("_",{mixins:[ne],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(t=>{switch(t[0]){case"ITEM":this.items.push({targetName:t[1],packetName:t[2],itemName:t[3],valueType:t[4]||"CONVERTED",reduced:t[5]||"DECOM",reducedType:t[6]||null});case"STARTTIME":let e=P(t[1],"yyyy/MM/dd HH:mm:ss",new Date);this.startTime=e.getTime()*1e6;break;case"HISTORY":let i=parseInt(t[1].slice(0,t[1].length-1)),n=null,s=1;switch(t[1][t[1].length-1]){case"d":n="days",s=3600*24;break;case"h":n="hours",s=3600;break;case"m":n="minutes",s=60;break;case"s":n="seconds";break;default:throw new Error(`Unknown time suffix: ${t[1]}!`)}let o={};o[n]=i,this.startTime=Ne(new Date,o).getTime()*1e6,i*s>this.secondsGraphed&&(this.secondsGraphed=i*s),i*s>this.pointsSaved&&(this.pointsSaved=i*s),i*s>this.pointsGraphed&&(this.pointsGraphed=i*s);break;case"SECONDSGRAPHED":this.secondsGraphed=parseInt(t[1]);break;case"POINTSSAVED":this.pointsSaved=parseInt(t[1]);break;case"POINTSGRAPHED":this.pointsGraphed=parseInt(t[1]);break;case"SIZE":this.size.width=parseInt(t[1]),this.size.height=parseInt(t[2]);break}}),this.items=this.items.map(t=>{let e=t.itemName;if(t.itemName.includes("[["))t.itemName=t.itemName.replace("[[","[").replace("]]","]"),e=t.itemName;else if(t.itemName.includes("[")){let i=t.itemName.match(/\[(\d+)\]/);this.arrayIndex=parseInt(i[1]),e=t.itemName.replace(i[0],"")}return this.$emit("addItem",`${t.targetName}__${t.packetName}__${e}__${t.valueType}`,!0),t})},destroyed(){this.items.map(t=>this.$emit("deleteItem",`${t.targetName}__${t.packetName}__${t.itemName}__${t.valueType}`))}})}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./Layout-C1HoM4Kl-16582a7fb597a91b7893.js","vue","./main-77da3e732b4aa0419678.js","./Widget-C4QVI4IH-77557544d86f5014c3b6.js","vue-router","single-spa","vuex","vuetify"],function(y,k){"use strict";var a,s,i,c,o,u,m,g,p,f;return{setters:[e=>{a=e.r},e=>{s=e.openBlock,i=e.createElementBlock,c=e.normalizeStyle,o=e.Fragment,u=e.renderList,m=e.createBlock,g=e.resolveDynamicComponent,p=e.mergeProps},e=>{f=e.s},null,null,null,null,null],execute:function(){const e={mixins:[a],created:function(){if(this.parameters[0]){let n=this.parameters[0];this.widgets.forEach(l=>{l.settings.find(r=>r[0]==="MARGIN"||r[0]==="RAW"&&r[1].toUpperCase().includes("MARGIN"))===void 0&&l.settings.push(["MARGIN",n])})}}};function d(n,l,r,w,B,x){return s(),i("div",{ref:"container",class:"d-flex flex-row",style:c(n.computedStyle)},[(s(!0),i(o,null,u(n.widgets,(t,v)=>(s(),m(g(t.type),p({ref_for:!0},n.listeners,{key:v,target:t.target,parameters:t.parameters,settings:t.settings,"screen-values":n.screenValues,"screen-time-zone":n.screenTimeZone,widgets:t.widgets,name:t.name,line:t.line,"line-number":t.lineNumber}),null,16,["target","parameters","settings","screen-values","screen-time-zone","widgets","name","line","line-number"]))),128))],4)}const h=y("default",f(e,[["render",d]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./HorizontalWidget-CirtfuL8-d0c976471f208754a41e.js","./Layout-C1HoM4Kl-16582a7fb597a91b7893.js","vue","./main-77da3e732b4aa0419678.js","./Widget-C4QVI4IH-77557544d86f5014c3b6.js","vue-router","single-spa","vuex","vuetify"],function(m,x){"use strict";var r,i,n,l,o,s,a,c,u,p,g,d;return{setters:[e=>{r=e.default},e=>{i=e.r},e=>{n=e.resolveComponent,l=e.openBlock,o=e.createElementBlock,s=e.createVNode,a=e.normalizeStyle,c=e.withCtx,u=e.createTextVNode,p=e.toDisplayString,g=e.mergeProps},e=>{d=e.s},null,null,null,null,null],execute:function(){const e={mixins:[i],components:{HorizontalWidget:r}};function v(t,w,C,S,V,b){const y=n("v-banner"),f=n("horizontal-widget");return l(),o("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,g(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 z=m("default",d(e,[["render",v],["__scopeId","data-v-e9e6c14b"]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["vue","./main-77da3e732b4aa0419678.js","vue-router","single-spa","vuex","vuetify"],function(l,c){"use strict";var n,t,u;return{setters:[e=>{n=e.openBlock,t=e.createElementBlock},e=>{u=e.s},null,null,null,null],execute:function(){const e={};function r(o,i){return n(),t("hr")}const s=l("default",u(e,[["render",r]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./Widget-C4QVI4IH-77557544d86f5014c3b6.js","vue","./main-77da3e732b4aa0419678.js","vue-router","single-spa","vuex","vuetify"],function(h,c){"use strict";var i,n,r,s,l;return{setters:[e=>{i=e.o},e=>{n=e.openBlock,r=e.createElementBlock,s=e.normalizeStyle},e=>{l=e.s},null,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)}},u=["src","width","height"];function a(t,d,m,g,p,f){return n(),r("iframe",{title:"IFrameWidget",src:t.parameters[0],width:t.width,height:t.height,style:s(t.computedStyle)},null,12,u)}const o=h("default",l(e,[["render",a]]))}}});
|
@@ -1 +1 @@
|
|
1
|
-
System.register(["./main-
|
1
|
+
System.register(["./main-77da3e732b4aa0419678.js"],function(r,s){"use strict";var e;return{setters:[n=>{e=n.I}],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-C4QVI4IH-77557544d86f5014c3b6.js","vue","./main-77da3e732b4aa0419678.js","vue-router","single-spa","vuex","vuetify"],function(l,o){"use strict";var a,s,n,r,i;return{setters:[e=>{a=e.o},e=>{s=e.openBlock,n=e.createElementBlock,r=e.normalizeStyle},e=>{i=e.s},null,null,null,null],execute:function(){const e={mixins:[a],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)}},u=["src","alt","width","height"];function c(t,h,p,v,I,m){return s(),n("img",{src:m.src,alt:t.valueId,width:t.parameters[4],height:t.parameters[5],style:r(t.computedStyle)},null,12,u)}const d=l("default",i(e,[["render",c]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./Widget-C4QVI4IH-77557544d86f5014c3b6.js","vue","./main-77da3e732b4aa0419678.js","vue-router","single-spa","vuex","vuetify"],function(m,h){"use strict";var s,n,i,l,a,r;return{setters:[t=>{s=t.o},t=>{n=t.openBlock,i=t.createElementBlock,l=t.normalizeStyle,a=t.toDisplayString},t=>{r=t.s},null,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 f(e,p,c,y,S,o){return n(),i("div",{"data-test":"label",class:"pa-1 mt-1 label",style:l([o.cssProps,e.computedStyle])},a(o.labelText),5)}const u=m("default",r(t,[["render",f],["__scopeId","data-v-1d1d3128"]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./Widget-C4QVI4IH-77557544d86f5014c3b6.js","./LabelWidget-BDsypYho-377347a49c09b718a1f6.js","./LedWidget-B_K2e5tq-838e2eb68c3aeea79b43.js","vue","./main-77da3e732b4aa0419678.js","vue-router","single-spa","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,null],execute:function(){const e={mixins:[r],components:{LabelWidget:l,LedWidget:a},computed:{labelName(){return[this.parameters[2]+":"]}}};function g(t,x,y,b,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-C4QVI4IH-77557544d86f5014c3b6.js","./LabelWidget-BDsypYho-377347a49c09b718a1f6.js","./ProgressbarWidget-DpA_-vy9-3a38ee774aba10a8a15c.js","vue","./main-77da3e732b4aa0419678.js","vue-router","single-spa","vuex","vuetify"],function(g,v){"use strict";var n,l,a,s,o,i,c,r,u,p;return{setters:[e=>{n=e.o},e=>{l=e.default},e=>{a=e.default},e=>{s=e.resolveComponent,o=e.openBlock,i=e.createElementBlock,c=e.normalizeStyle,r=e.createVNode,u=e.mergeProps},e=>{p=e.s},null,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,B,m){const y=s("label-widget"),f=s("progressbar-widget");return o(),i("div",{ref:"container",class:"d-flex flex-row",style:c(t.computedStyle)},[r(y,{parameters:m.labelName,settings:[...t.appliedSettings],"widget-index":0},null,8,["parameters","settings"]),r(f,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=g("default",p(e,[["render",d]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./Widget-C4QVI4IH-77557544d86f5014c3b6.js","./LabelWidget-BDsypYho-377347a49c09b718a1f6.js","./SparklineWidget-DMvMQCPm-ad781334905d009b9a21.js","vue","./main-77da3e732b4aa0419678.js","./GraphWidget-amwxyH1r-163128d49b76f4de0524.js","single-spa","vue-router","vuex","vuetify"],function(m,f){"use strict";var r,i,a,l,o,u,n,s,p;return{setters:[e=>{r=e.o},e=>{i=e.default},e=>{a=e.default},e=>{l=e.resolveComponent,o=e.openBlock,u=e.createElementBlock,n=e.normalizeStyle,s=e.createVNode},e=>{p=e.s},null,null,null,null,null],execute:function(){const e={mixins:[r],components:{LabelWidget:i,SparklineWidget:a},computed:{labelName(){return[this.parameters[2]+":"]}}};function c(t,b,v,x,k,d){const g=l("label-widget"),y=l("sparkline-widget");return o(),u("div",{ref:"container",class:"d-flex flex-row",style:n(t.computedStyle)},[s(g,{parameters:d.labelName,settings:[...t.appliedSettings],line:t.line,lineNumber:t.lineNumber,"widget-index":0},null,8,["parameters","settings","line","lineNumber"]),s(y,{parameters:t.parameters,settings:[...t.appliedSettings],style:n(t.computedStyle),"widget-index":1},null,8,["parameters","settings","style"])],4)}const S=m("default",p(e,[["render",c]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./Widget-C4QVI4IH-77557544d86f5014c3b6.js","./LabelWidget-BDsypYho-377347a49c09b718a1f6.js","./ValueWidget-KLYY8L8U-981e9679ee74d7dd44a0.js","vue","./main-77da3e732b4aa0419678.js","./DetailsDialog-DLRMqetn-8f3b8c2058cbb4487dd9.js","single-spa","./VWidget-02CG-3Av-6dd8f41abb30e51c1336.js","vue-router","vuex","vuetify"],function(g,f){"use strict";var s,l,a,n,i,u,o,r,m,c;return{setters:[e=>{s=e.o},e=>{l=e.default},e=>{a=e.default},e=>{n=e.resolveComponent,i=e.openBlock,u=e.createElementBlock,o=e.normalizeStyle,r=e.createVNode,m=e.mergeProps},e=>{c=e.s},null,null,null,null,null,null],execute:function(){const e={mixins:[s],components:{LabelWidget:l,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 d(t,x,y,S,V,p){const v=n("label-widget"),b=n("value-widget");return i(),u("div",{ref:"container",class:"d-flex flex-row",style:o(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,m(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=g("default",c(e,[["render",d]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./Widget-C4QVI4IH-77557544d86f5014c3b6.js","./LabelWidget-BDsypYho-377347a49c09b718a1f6.js","./ValueWidget-KLYY8L8U-981e9679ee74d7dd44a0.js","./main-77da3e732b4aa0419678.js","vue","./DetailsDialog-DLRMqetn-8f3b8c2058cbb4487dd9.js","single-spa","./VWidget-02CG-3Av-6dd8f41abb30e51c1336.js","vue-router","vuex","vuetify"],function(d,P){"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.F},e=>{s=e.resolveComponent,m=e.openBlock,o=e.createElementBlock,c=e.normalizeStyle,r=e.createVNode,p=e.mergeProps},null,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,x,y,V,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 w=d("default",l(e,[["render",g]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./LabelvalueWidget-DVWJqnlY-05fecfc99fd33ad654aa.js","./LimitsbarWidget-DXbqsi4J-a0b11379621e58f2e076.js","./Widget-C4QVI4IH-77557544d86f5014c3b6.js","vue","./main-77da3e732b4aa0419678.js","./LabelWidget-BDsypYho-377347a49c09b718a1f6.js","./ValueWidget-KLYY8L8U-981e9679ee74d7dd44a0.js","./DetailsDialog-DLRMqetn-8f3b8c2058cbb4487dd9.js","single-spa","./VWidget-02CG-3Av-6dd8f41abb30e51c1336.js","./BarColumn-Cdu3OoMa-8d82722b7b5e62629a35.js","vue-router","vuex","vuetify"],function(m,f){"use strict";var r,i,a,s,u,o,c,l,n,g;return{setters:[e=>{r=e.default},e=>{i=e.default},e=>{a=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,null],execute:function(){const e={mixins:[a],components:{LabelvalueWidget:r,LimitsbarWidget:i},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,V,j,W,L,d){const v=s("labelvalue-widget"),b=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(b,n(t.$attrs,{parameters:t.parameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"widget-index":2,line:t.line,lineNumber:t.lineNumber}),null,16,["parameters","settings","screen-values","line","lineNumber"])],4)}const S=m("default",g(e,[["render",p]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./LabelWidget-BDsypYho-377347a49c09b718a1f6.js","./ValueWidget-KLYY8L8U-981e9679ee74d7dd44a0.js","./LimitscolumnWidget-BfY4su5U-5b67e1bac65777add469.js","./Widget-C4QVI4IH-77557544d86f5014c3b6.js","vue","./main-77da3e732b4aa0419678.js","./DetailsDialog-DLRMqetn-8f3b8c2058cbb4487dd9.js","single-spa","./VWidget-02CG-3Av-6dd8f41abb30e51c1336.js","./BarColumn-Cdu3OoMa-8d82722b7b5e62629a35.js","vue-router","vuex","vuetify"],function(d,W){"use strict";var i,r,a,u,n,o,c,m,s,l,g;return{setters:[e=>{i=e.default},e=>{r=e.default},e=>{a=e.default},e=>{u=e.o},e=>{n=e.resolveComponent,o=e.openBlock,c=e.createElementBlock,m=e.normalizeStyle,s=e.createVNode,l=e.mergeProps},e=>{g=e.s},null,null,null,null,null,null,null],execute:function(){const e={mixins:[u],components:{LabelWidget:i,ValueWidget:r,LimitscolumnWidget:a}};function p(t,w,V,b,y,B){const v=n("label-widget"),f=n("limitscolumn-widget"),S=n("value-widget");return o(),c("div",{ref:"container",style:m(t.computedStyle)},[s(v,{parameters:[t.parameters[2]],settings:[...t.appliedSettings],"widget-index":0},null,8,["parameters","settings"]),s(f,l(t.$attrs,{parameters:t.parameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"widget-index":2,line:t.line,lineNumber:t.lineNumber}),null,16,["parameters","settings","screen-values","line","lineNumber"]),s(S,l(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 j=d("default",g(e,[["render",p]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./LabelvalueWidget-DVWJqnlY-05fecfc99fd33ad654aa.js","./RangebarWidget-DHS7S3vI-e692659dc1e7d71f25e6.js","./Widget-C4QVI4IH-77557544d86f5014c3b6.js","vue","./main-77da3e732b4aa0419678.js","./LabelWidget-BDsypYho-377347a49c09b718a1f6.js","./ValueWidget-KLYY8L8U-981e9679ee74d7dd44a0.js","./DetailsDialog-DLRMqetn-8f3b8c2058cbb4487dd9.js","single-spa","./VWidget-02CG-3Av-6dd8f41abb30e51c1336.js","vue-router","vuex","vuetify"],function(g,f){"use strict";var l,i,u,s,m,o,p,r,a,c;return{setters:[e=>{l=e.default},e=>{i=e.default},e=>{u=e.o},e=>{s=e.resolveComponent,m=e.openBlock,o=e.createElementBlock,p=e.normalizeStyle,r=e.createVNode,a=e.mergeProps},e=>{c=e.s},null,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,V,S,W,j,n){const v=s("labelvalue-widget"),h=s("rangebar-widget");return m(),o("div",{ref:"container",class:"d-flex flex-row",style:p(t.computedStyle)},[r(v,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"]),r(h,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",c(e,[["render",d]]))}}});
|
@@ -1 +1 @@
|
|
1
|
-
System.register(["./Widget-
|
1
|
+
System.register(["./Widget-C4QVI4IH-77557544d86f5014c3b6.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-C4QVI4IH-77557544d86f5014c3b6.js","vue","./main-77da3e732b4aa0419678.js","vue-router","single-spa","vuex","vuetify"],function(m,g){"use strict";var i,n,l,o,r,a,p,h,c;return{setters:[e=>{i=e.o},e=>{n=e.resolveComponent,l=e.openBlock,o=e.createBlock,r=e.withCtx,a=e.createElementVNode,p=e.mergeProps,h=e.toDisplayString},e=>{c=e.s},null,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"),{"--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.appliedSettings.push(["WIDTH",this.width]),this.appliedSettings.push(["HEIGHT",this.height]),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,S,u){const v=n("v-tooltip");return l(),o(v,{location:"top"},{activator:r(({props:I})=>[a("div",p({class:"ledwidget mt-1",style:[u.cssProps,t.computedStyle]},I),null,16)]),default:r(()=>[a("span",null,h(u.fullName),1)]),_:1})}const _=m("default",c(e,[["render",d],["__scopeId","data-v-6a4513e5"]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./BarColumn-Cdu3OoMa-8d82722b7b5e62629a35.js","vue","./main-77da3e732b4aa0419678.js","./Widget-C4QVI4IH-77557544d86f5014c3b6.js","vue-router","single-spa","vuex","vuetify"],function(d,p){"use strict";var l,r,a,n,s,t,o,c,m;return{setters:[i=>{l=i.l},i=>{r=i.resolveComponent,a=i.openBlock,n=i.createBlock,s=i.withCtx,t=i.createElementVNode,o=i.mergeProps,c=i.toDisplayString},i=>{m=i.s},null,null,null,null,null],execute:function(){const i={mixins:[l],data(){return{width:160,height:22}},computed:{limitsRange(){let e=this.limitsSettings[this.selectedLimitsSet];if(e)return e.length===4?`RL/${e[0]} YL/${e[1]} YH/${e[2]} RH/${e[3]}`:`RL/${e[0]} YL/${e[1]} YH/${e[2]} RH/${e[3]} GL/${e[4]} GH/${e[5]}`;throw{line:this.line,lineNumber:this.lineNumber,keyword:"LIMITSBAR",parameters:this.parameters,message:"Item has no limits settings",usage:"Only items with limits"}}},created(){this.verifyNumParams("LIMITSBAR",3,6,"LIMITSBAR <TARGET> <PACKET> <ITEM> <TYPE> <WIDTH> <HEIGHT>")}};function v(e,u,I,w,y,_){const h=r("v-tooltip");return a(),n(h,{location:"top"},{activator:s(({props:g})=>[t("div",o({class:"limitsbar",style:[e.cssProps,e.computedStyle]},g),u[0]||(u[0]=[t("div",{class:"limitsbar__container"},[t("div",{class:"limitsbar__redlow"}),t("div",{class:"limitsbar__redhigh"}),t("div",{class:"limitsbar__yellowlow"}),t("div",{class:"limitsbar__yellowhigh"}),t("div",{class:"limitsbar__greenlow"}),t("div",{class:"limitsbar__greenhigh"}),t("div",{class:"limitsbar__blue"}),t("div",{class:"limitsbar__line"}),t("div",{class:"limitsbar__arrow"})],-1)]),16)]),default:s(()=>[t("span",null,c(_.limitsRange),1)]),_:1})}const b=d("default",m(i,[["render",v],["__scopeId","data-v-9f79e720"]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./VWidget-02CG-3Av-6dd8f41abb30e51c1336.js","vue","./main-77da3e732b4aa0419678.js","./Widget-C4QVI4IH-77557544d86f5014c3b6.js","vue-router","single-spa","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,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 d(t,f,g,v,x,p){const m=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(m,{parameters:p.labelName,settings:t.appliedSettings,style:s(t.computedStyle),"widget-index":1},null,8,["parameters","settings","style"])],4)}const y=u("default",c(e,[["render",d],["__scopeId","data-v-87ec8e4f"]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./BarColumn-Cdu3OoMa-8d82722b7b5e62629a35.js","vue","./main-77da3e732b4aa0419678.js","./Widget-C4QVI4IH-77557544d86f5014c3b6.js","vue-router","single-spa","vuex","vuetify"],function(n,v){"use strict";var a,s,l,r,h,d;return{setters:[i=>{a=i.l},i=>{s=i.openBlock,l=i.createElementBlock,r=i.normalizeStyle,h=i.createStaticVNode},i=>{d=i.s},null,null,null,null,null],execute:function(){const i={mixins:[a],data(){return{width:22,height:120}},computed:{cssProps:function(){let e=this.screenValues[this.valueId][0],t=this.modifyLimits(this.limitsSettings[this.selectedLimitsSet]);if(t)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+"%"};throw{line:this.line,lineNumber:this.lineNumber,keyword:"LIMITSCOLUMN",parameters:this.parameters,message:"Item has no limits settings",usage:"Only items with limits"}}},created(){this.verifyNumParams("LIMITSCOLUMN",3,6,"LIMITSCOLUMN <TARGET> <PACKET> <ITEM> <TYPE> <WIDTH> <HEIGHT>")}};function o(e,t,g,u,b,c){return s(),l("div",{class:"limitsbar",style:r([c.cssProps,e.computedStyle])},t[0]||(t[0]=[h('<div class="limitsbar__container" data-v-a4a8f4ab><div class="limitsbar__redlow" data-v-a4a8f4ab></div><div class="limitsbar__redhigh" data-v-a4a8f4ab></div><div class="limitsbar__yellowlow" data-v-a4a8f4ab></div><div class="limitsbar__yellowhigh" data-v-a4a8f4ab></div><div class="limitsbar__greenlow" data-v-a4a8f4ab></div><div class="limitsbar__greenhigh" data-v-a4a8f4ab></div><div class="limitsbar__blue" data-v-a4a8f4ab></div><div class="limitsbar__line" data-v-a4a8f4ab></div><div class="limitsbar__arrow" data-v-a4a8f4ab></div></div>',1)]),4)}const m=n("default",d(i,[["render",o],["__scopeId","data-v-a4a8f4ab"]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./GraphWidget-amwxyH1r-163128d49b76f4de0524.js","./main-77da3e732b4aa0419678.js","vue","single-spa","./Widget-C4QVI4IH-77557544d86f5014c3b6.js","vue-router","vuex","vuetify"],function(p,u){"use strict";var i,n,r,a,o,l,d;return{setters:[t=>{i=t.S,n=t._},t=>{r=t.s},t=>{a=t.resolveComponent,o=t.openBlock,l=t.createBlock,d=t.normalizeStyle},null,null,null,null,null],execute:function(){const t={components:{Graph:i},mixins:[n]};function h(e,s,g,v,y,S){const c=a("graph");return o(),l(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=p("default",r(t,[["render",h]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./Layout-C1HoM4Kl-16582a7fb597a91b7893.js","./main-77da3e732b4aa0419678.js","vue","./Widget-C4QVI4IH-77557544d86f5014c3b6.js","vue-router","single-spa","vuex","vuetify"],function(f,B){"use strict";var o,u,m,n,r,g,l,a,p,d,y;return{setters:[e=>{o=e.r},e=>{u=e.s,m=e.K},e=>{n=e.openBlock,r=e.createElementBlock,g=e.normalizeStyle,l=e.Fragment,a=e.renderList,p=e.createBlock,d=e.resolveDynamicComponent,y=e.mergeProps},null,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 h(s,c,i,b,A,k){return n(),r("table",{style:g(s.computedStyle),role:"presentation"},[(n(!0),r(l,null,a(k.widgetChunks,(v,C)=>(n(),r("tr",{key:"r"+C},[(n(!0),r(l,null,a(v,(t,w)=>(n(),r("td",{key:"c"+w},[(n(),p(d(t.type),y({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 I=f("default",u(e,[["render",h]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./Widget-C4QVI4IH-77557544d86f5014c3b6.js","vue","./main-77da3e732b4aa0419678.js","vue-router","single-spa","vuex","vuetify"],function(u,p){"use strict";var s,a,l,r,n,i;return{setters:[e=>{s=e.o},e=>{a=e.resolveComponent,l=e.openBlock,r=e.createBlock,n=e.normalizeStyle},e=>{i=e.s},null,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,I,f,c){const h=a("rux-progress");return l(),r(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-C4QVI4IH-77557544d86f5014c3b6.js","vue","./main-77da3e732b4aa0419678.js","vue-router","single-spa","vuex","vuetify"],function(o,d){"use strict";var l,t,n,r,a,s;return{setters:[e=>{l=e.o},e=>{t=e.resolveComponent,n=e.openBlock,r=e.createBlock,a=e.normalizeStyle},e=>{s=e.s},null,null,null,null],execute:function(){const e={props:{value:{type:Number}},mixins:[l],data(){return{label:"Radio"}},created(){this.label=this.parameters[0]}};function u(i,y,c,b,v,f){const p=t("v-radio");return n(),r(p,{"hide-details":"",dense:"",label:v.label,style:a(i.computedStyle),value:c.value},null,8,["label","style","value"])}const m=o("default",s(e,[["render",u]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./Layout-C1HoM4Kl-16582a7fb597a91b7893.js","vue","./main-77da3e732b4aa0419678.js","./Widget-C4QVI4IH-77557544d86f5014c3b6.js","vue-router","single-spa","vuex","vuetify"],function(h,f){"use strict";var l,a,r,s,o,c,i,m,u,d,p,g;return{setters:[e=>{l=e.r},e=>{a=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=>{g=e.s},null,null,null,null,null],execute:function(){const e={mixins:[l],data(){return{selectedIndex:0}},created(){this.parameters[0]&&(this.selectedIndex=parseInt(this.parameters[0]))},methods:{selected(){return this.selectedIndex}}};function C(n,v,B,V,y,z){const I=a("v-radio-group");return r(),s(I,{"hide-details":"",density:"compact",modelValue:y.selectedIndex,"onUpdate:modelValue":v[0]||(v[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 k=h("default",g(e,[["render",C]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./Widget-C4QVI4IH-77557544d86f5014c3b6.js","vue","./main-77da3e732b4aa0419678.js","vue-router","single-spa","vuex","vuetify"],function(c,d){"use strict";var r,a,n,h,i,l;return{setters:[t=>{r=t.o},t=>{a=t.openBlock,n=t.createElementBlock,h=t.normalizeStyle,i=t.createElementVNode},t=>{l=t.s},null,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 o(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=c("default",l(t,[["render",o],["__scopeId","data-v-34d37e7c"]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./Widget-C4QVI4IH-77557544d86f5014c3b6.js","vue","./main-77da3e732b4aa0419678.js","vue-router","single-spa","vuex","vuetify"],function(m,d){"use strict";var i,r,c,a,o,u;return{setters:[t=>{i=t.o},t=>{r=t.resolveComponent,c=t.openBlock,a=t.createBlock,o=t.normalizeStyle},t=>{u=t.s},null,null,null,null],execute:function(){const t={mixins:[i],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 h(e,n,s,b,E,l){const p=r("rux-monitoring-icon");return c(),a(p,{class:"rux-icon",style:o([l.pointerStyle,e.computedStyle]),icon:e.icon,status:l.status,label:e.label,sublabel:e.subLabel,onClick:l.clickHandler},null,8,["style","icon","status","label","sublabel","onClick"])}const f=m("default",u(t,[["render",h]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./Layout-C1HoM4Kl-16582a7fb597a91b7893.js","./VerticalWidget-z6xUM-ql-8b2da906efb985d05096.js","vue","./main-77da3e732b4aa0419678.js","./Widget-C4QVI4IH-77557544d86f5014c3b6.js","vue-router","single-spa","vuex","vuetify"],function(v,k){"use strict";var l,c,s,i,o,u,m,g,p,f,d;return{setters:[e=>{l=e.r},e=>{c=e.default},e=>{s=e.openBlock,i=e.createElementBlock,o=e.normalizeStyle,u=e.Fragment,m=e.renderList,g=e.createBlock,p=e.resolveDynamicComponent,f=e.mergeProps},e=>{d=e.s},null,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(r=>r[0]==="MARGIN"||r[0]==="RAW"&&r[1].toUpperCase().includes("MARGIN"))===void 0&&a.settings.push(["MARGIN",n])})}}};function y(n,a,r,B,x,z){return s(),i("div",{ref:"container",style:o(n.computedStyle),class:"overflow-y-auto"},[(s(!0),i(u,null,m(n.widgets,(t,h)=>(s(),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=v("default",d(e,[["render",y]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./VWidget-02CG-3Av-6dd8f41abb30e51c1336.js","vue","./main-77da3e732b4aa0419678.js","./Widget-C4QVI4IH-77557544d86f5014c3b6.js","vue-router","single-spa","vuex","vuetify"],function(p,g){"use strict";var r,a,s,l,n,i,c,o,u;return{setters:[t=>{r=t.L},t=>{a=t.resolveComponent,s=t.openBlock,l=t.createBlock,n=t.normalizeStyle,i=t.withCtx,c=t.createTextVNode,o=t.toDisplayString},t=>{u=t.s},null,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 d(e,B,y,f,C,h){const m=a("v-icon");return s(),l(m,{onClick:h.clickHandler,style:n(e.computedStyle)},{default:i(()=>[c(o(h.displayedIcon),1)]),_:1},8,["onClick","style"])}const v=p("default",u(t,[["render",d]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./Widget-C4QVI4IH-77557544d86f5014c3b6.js","vue","./main-77da3e732b4aa0419678.js","vue-router","single-spa","vuex","vuetify"],function(i,o){"use strict";var t,n,s,l,r;return{setters:[e=>{t=e.o},e=>{n=e.openBlock,s=e.createElementBlock,l=e.normalizeStyle},e=>{r=e.s},null,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(c,m,p,h,d,v){return n(),s("div",{style:l(c.computedStyle)},null,4)}const a=i("default",r(e,[["render",u]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./GraphWidget-amwxyH1r-163128d49b76f4de0524.js","./main-77da3e732b4aa0419678.js","vue","single-spa","./Widget-C4QVI4IH-77557544d86f5014c3b6.js","vue-router","vuex","vuetify"],function(l,c){"use strict";var i,s,n,r,a,o,d;return{setters:[t=>{i=t.S,s=t._},t=>{n=t.s},t=>{r=t.resolveComponent,a=t.openBlock,o=t.createBlock,d=t.normalizeStyle},null,null,null,null,null],execute:function(){const t={components:{Graph:i},mixins:[s],data:function(){return{secondsGraphed:300,pointsSaved:300,pointsGraphed:300,size:{height:30,width:130}}}};function p(e,g,m,v,y,f){const h=r("graph");return a(),o(h,{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),sparkline:""},null,8,["id","state","selected-graph-id","startTime","seconds-graphed","points-saved","points-graphed","initial-items","height","width","style"])}const u=l("default",n(t,[["render",p]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./Layout-C1HoM4Kl-16582a7fb597a91b7893.js","vue","./main-77da3e732b4aa0419678.js","./Widget-C4QVI4IH-77557544d86f5014c3b6.js","vue-router","single-spa","vuex","vuetify"],function(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,null],execute:function(){const e={mixins:[p],data:function(){return{curTab:null}},watch:{curTab:function(){this.$emit("min-max-screen")}}};function C(t,m,h,D,L,j){const T=l("v-tab"),x=l("v-tabs"),B=l("v-window-item"),S=l("v-window");return n(),s("div",null,[g(x,{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(T,{key:d},{default:i(()=>[y(f(a.parameters[0]),1)]),_:2},1024))),128))]),_:1},8,["modelValue","style"]),g(S,{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(B,{key:d},{default:i(()=>[(n(!0),s(c,null,o(a.widgets,(r,N)=>(n(),u(w(r.type),b({ref_for:!0},t.listeners,{key:`${d}-${N}`,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 z=k("default",V(e,[["render",C]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./main-77da3e732b4aa0419678.js","vue","./DetailsDialog-DLRMqetn-8f3b8c2058cbb4487dd9.js","single-spa","./VWidget-02CG-3Av-6dd8f41abb30e51c1336.js","vue-router","vuex","vuetify","./Widget-C4QVI4IH-77557544d86f5014c3b6.js"],function(y,N){"use strict";var c,a,s,r,n,u,d,l,m,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,d=e.normalizeStyle,l=e.withCtx,m=e.Fragment,h=e.renderList,g=e.createBlock,p=e.withModifiers,v=e.createTextVNode,x=e.toDisplayString},e=>{f=e.P},null,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,E,j,F,k){const D=a("v-textarea"),S=a("v-list-item-title"),B=a("v-list-item"),M=a("v-list"),_=a("v-menu"),z=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:d([t.computedStyle,k.aging]),"data-test":"valueText",onContextmenu:t.showContextMenu},null,8,["model-value","class","style","onContextmenu"]),n(_,{modelValue:t.contextMenuShown,"onUpdate:modelValue":o[0]||(o[0]=i=>t.contextMenuShown=i),target:[t.x,t.y]},{default:l(()=>[n(M,null,{default:l(()=>[(s(!0),r(m,null,h(t.contextMenuOptions,(i,L)=>(s(),g(B,{key:L,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(z,{"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 T=y("default",c(e,[["render",V],["__scopeId","data-v-10f560aa"]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./Widget-C4QVI4IH-77557544d86f5014c3b6.js","vue","./main-77da3e732b4aa0419678.js","vue-router","single-spa","vuex","vuetify"],function(i,h){"use strict";var t,l,n,s,a,o;return{setters:[e=>{t=e.o},e=>{l=e.resolveComponent,n=e.openBlock,s=e.createBlock,a=e.normalizeStyle},e=>{o=e.s},null,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,r,y,f,u,x){const m=l("v-text-field");return n(),s(m,{variant:"solo",density:"compact","single-line":"","hide-no-data":"","hide-details":"",modelValue:u.value,"onUpdate:modelValue":r[0]||(r[0]=v=>u.value=v),style:a(d.computedStyle)},null,8,["modelValue","style"])}const p=i("default",o(e,[["render",c]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./Widget-C4QVI4IH-77557544d86f5014c3b6.js","./main-77da3e732b4aa0419678.js","vue","vue-router","single-spa","vuex","vuetify"],function(m,V){"use strict";var l,i,n,a,s,r,o;return{setters:[e=>{l=e.o},e=>{i=e.s,n=e.P},e=>{a=e.resolveComponent,s=e.openBlock,r=e.createBlock,o=e.normalizeStyle},null,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,f,v,t,b){const h=a("v-text-field");return s(),r(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]]))}}});
|