openc3-cosmos-tool-cmdtlmserver 6.0.1 → 6.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/tools/cmdtlmserver/{ArrayWidget-BTxChSds-3cf159536429e6883c2e.js → ArrayWidget-DBpEoQ1y-84132d15e020efa0adf1.js} +2 -2
- data/tools/cmdtlmserver/{BarColumn-Cdu3OoMa-c782b2168b94ee7b1c5a.js → BarColumn-B6tCmNJm-6eff86fdc1e74ef6f1c9.js} +1 -1
- data/tools/cmdtlmserver/BlockWidget-Bmi0UcUW-c8722bb58622a8814b0b.js +2 -0
- data/tools/cmdtlmserver/{ButtonWidget-nwDlOBJT-47c3fd49f7fe11027319.js → ButtonWidget-CHrHS_Bw-70e879d3bbdf933eb10a.js} +2 -2
- data/tools/cmdtlmserver/CanvasWidget-BqdyLbQz-184dc2d3c4b6c7ab6bf0.js +1 -0
- data/tools/cmdtlmserver/CanvasdotWidget-YYwca104-4fffaf81ed40b0efed4b.js +1 -0
- data/tools/cmdtlmserver/{CanvasimageWidget-BIw7Wbf2-ccaadc84310305b8724c.js → CanvasimageWidget-BrYlPQCf-c9b4b7ca9e5b29f12d09.js} +1 -1
- data/tools/cmdtlmserver/CanvasimagevalueWidget-HnEOXmZy-5583c55cf5bbdfadba5d.js +1 -0
- data/tools/cmdtlmserver/{CanvaslabelWidget-DWmb356h-b76906b84aa03a84c71a.js → CanvaslabelWidget-BfMHNei--81068b9cfc5ea4370382.js} +1 -1
- data/tools/cmdtlmserver/{CanvaslabelvalueWidget-CI3yYwFs-dc94a676241ddd24df6a.js → CanvaslabelvalueWidget-0zRDJav3-293602564dbb12cd36fd.js} +1 -1
- data/tools/cmdtlmserver/CanvaslineWidget-BmOwJP_G-b2f20a0461abbe1c4aec.js +1 -0
- data/tools/cmdtlmserver/CanvaslinevalueWidget-H3L1aUKM-6eb08878d7d5720ce613.js +1 -0
- data/tools/cmdtlmserver/CheckbuttonWidget-BnT9X7wE-5f6d8077e8d80b62862c.js +1 -0
- data/tools/cmdtlmserver/{CmdPacketsTab-eb1fa49f7541f717295c.js → CmdPacketsTab-1174eeae24f567559f43.js} +1 -1
- data/tools/cmdtlmserver/{CmdTlmServer-774dde4622e0b08dc844.js → CmdTlmServer-909a975f2c448b6dfdd9.js} +2 -2
- data/tools/cmdtlmserver/{ComboboxWidget-BzsbOv54-e6a8a4d274e5f229db45.js → ComboboxWidget-BykAAoxH-b67d237b4347e57c1776.js} +1 -1
- data/tools/cmdtlmserver/{DateWidget-B5R_9rA8-9872c5984c6fbe955d2c.js → DateWidget-FtYD86xW-eee42f7093a7d5232e7e.js} +1 -1
- data/tools/cmdtlmserver/{DetailsDialog-DLRMqetn-ea4056f15a1003ff0665.js → DetailsDialog-DiVcC3Fg-926dc00ae99f202f7bbb.js} +1 -1
- data/tools/cmdtlmserver/{DynamicWidget-m9EliUR2-32e2fa24ad4f0cfcceff.js → DynamicWidget-m9EliUR2-b792f7d3791995de4557.js} +1 -1
- data/tools/cmdtlmserver/FormatvalueWidget-OykwwCrw-ec440c1e59a54a11e1c0.js +1 -0
- data/tools/cmdtlmserver/{GraphWidget-amwxyH1r-ac89940777c22d7746b3.js → GraphWidget-BohHW-97-79648f0f5f760947a337.js} +1 -1
- data/tools/cmdtlmserver/{HorizontalWidget-CirtfuL8-e382a5357367b10cc6e4.js → HorizontalWidget-B7YdcFVN-1adf1fbb47940ffc2bbb.js} +1 -1
- data/tools/cmdtlmserver/HorizontalboxWidget-D-kCNwI3-d5280f31e632d3a19530.js +1 -0
- data/tools/cmdtlmserver/{HorizontallineWidget-BdlNB951-db852634def5179b351c.js → HorizontallineWidget-BdlNB951-97bac9ec958ae9185006.js} +1 -1
- data/tools/cmdtlmserver/IframeWidget-0C7GYEVc-7d9db206f561f13924bb.js +1 -0
- data/tools/cmdtlmserver/{ImageLoader-CpcR6tPi-64d627c07bbe3bafc636.js → ImageLoader-y6fAZe9P-32c5109a53a2e67d4546.js} +1 -1
- data/tools/cmdtlmserver/{ImageviewerWidget-DIkmb_C9-28636a49486b47368c8f.js → ImageviewerWidget-B4HbUIfR-cc56d18d351a216f45dc.js} +1 -1
- data/tools/cmdtlmserver/{InterfacesTab-099692b4beab8c926e99.js → InterfacesTab-1a220be708030742672f.js} +1 -1
- data/tools/cmdtlmserver/{LabelWidget-BDsypYho-642c12a9e82c6fda4515.js → LabelWidget-D1JhQAzR-637ca102152e7cb0159f.js} +1 -1
- data/tools/cmdtlmserver/{LabelledWidget-DjturGl5-f9cc57c5b8ad3be43aea.js → LabelledWidget-C2VGJ5OJ-63324f13b32cbd3d1e09.js} +1 -1
- data/tools/cmdtlmserver/LabelprogressbarWidget-DN0cAeLK-9414ccaa3c0bd5213eaf.js +1 -0
- data/tools/cmdtlmserver/LabelsparklineWidget--sxBENxs-9bbfaf33dcea3a9a4163.js +1 -0
- data/tools/cmdtlmserver/LabelvalueWidget-BWpP5KX6-e70143eae4825e3ca295.js +1 -0
- data/tools/cmdtlmserver/{LabelvaluedescWidget-CsUP7J4U-4c293aeade527694a600.js → LabelvaluedescWidget-DtJwggDu-297f5e4f5cdd4e997a84.js} +1 -1
- data/tools/cmdtlmserver/{LabelvaluelimitsbarWidget-Blj1QXV8-206f10580b17f11e1c5a.js → LabelvaluelimitsbarWidget-Bj6UVK-5-d0e6cb1105035131b388.js} +1 -1
- data/tools/cmdtlmserver/LabelvaluelimitscolumnWidget-BVcEEcUx-5ffbd14ed49f43d1a770.js +1 -0
- data/tools/cmdtlmserver/{LabelvaluerangebarWidget-DpcXhlfF-5b5018bd879c9284f08c.js → LabelvaluerangebarWidget-DCJ42bmf-951b68255fe130b397b4.js} +1 -1
- data/tools/cmdtlmserver/{Layout-C1HoM4Kl-a25fa864ced06bd30900.js → Layout-D4YBjuWs-d949f0668cb092f7f268.js} +1 -1
- data/tools/cmdtlmserver/{LedWidget-B_K2e5tq-daa21a2f2c8f400e5e72.js → LedWidget-hN9JHxjr-d3630538860ea110829a.js} +1 -1
- data/tools/cmdtlmserver/{LimitsbarWidget-DXbqsi4J-7dc436e5fbcba0283992.js → LimitsbarWidget-D-wfz_St-71b4065ff350d86e47f1.js} +1 -1
- data/tools/cmdtlmserver/{LimitscolorWidget-Ckmuw0YX-38605ffc3e405586bf13.js → LimitscolorWidget-B0AVGdkz-8af3823cc815001ee996.js} +1 -1
- data/tools/cmdtlmserver/{LimitscolumnWidget-BfY4su5U-f366ea17283d53231bcc.js → LimitscolumnWidget-Dt5ce4hN-4bf9236958883e049ac5.js} +1 -1
- data/tools/cmdtlmserver/{LinegraphWidget-y-Qy9P0R-c3e6dd1b1801cb2d0677.js → LinegraphWidget-CTjtvtPd-3472bcb2292fccce0780.js} +1 -1
- data/tools/cmdtlmserver/MatrixbycolumnsWidget-wLx4NvXV-789df70ba148ac45d935.js +1 -0
- data/tools/cmdtlmserver/{ProgressbarWidget-DpA_-vy9-532c600c1f7577d1401a.js → ProgressbarWidget-B7l0BBiX-28bb09016921e507b157.js} +1 -1
- data/tools/cmdtlmserver/RadiobuttonWidget-B032jKIw-751b0da1a0eac1f428eb.js +1 -0
- data/tools/cmdtlmserver/RadiogroupWidget-Busjqikr-fdbbff7df3b152de9174.js +1 -0
- data/tools/cmdtlmserver/{RangebarWidget-DHS7S3vI-a69bd469c64d7a664045.js → RangebarWidget-DbYrwEfC-672c02ff8fc7508bbfe0.js} +1 -1
- data/tools/cmdtlmserver/{RawDialog-a90a4b5f8d8572d4512f.js → RawDialog-3ba881626e2141cf6261.js} +1 -1
- data/tools/cmdtlmserver/{RollupWidget-CTk9Kjwr-7683649370d397c390a9.js → RollupWidget-rKxLXuCv-84804fdfa2a67e0c586f.js} +1 -1
- data/tools/cmdtlmserver/{RoutersTab-5d08e7c9f3ba52589b7a.js → RoutersTab-821ac863905d6fc1f0f3.js} +1 -1
- data/tools/cmdtlmserver/{ScrollwindowWidget-DD0TOW6s-1a3939f83a85675d4e84.js → ScrollwindowWidget-D4NKIzQO-e7fc825a7640800925b3.js} +1 -1
- data/tools/cmdtlmserver/{SignalWidget-CC33KMTW-efcb60975938ae4db5cb.js → SignalWidget-h-oivReC-a52944079f1106d5b9e8.js} +1 -1
- data/tools/cmdtlmserver/SpacerWidget-BSy9eOlB-d21cb40c89cf46239df2.js +1 -0
- data/tools/cmdtlmserver/{SparklineWidget-DMvMQCPm-f269f9c87f957b329bed.js → SparklineWidget-C9vdxar--5fe9233f121a11766f79.js} +1 -1
- data/tools/cmdtlmserver/{StatusTab-58b1a61560ae7bee6e29.js → StatusTab-4f20ea8483d65cd2f43f.js} +1 -1
- data/tools/cmdtlmserver/TabbookWidget-DTFTKURm-8a001c50117950e4dff3.js +1 -0
- data/tools/cmdtlmserver/{TargetsTab-34eb32660daa4f41320b.js → TargetsTab-45e297b994fc5f0d21d0.js} +1 -1
- data/tools/cmdtlmserver/TextboxWidget-BZyYHmBq-69732416c05b62947a52.js +1 -0
- data/tools/cmdtlmserver/{TextfieldWidget-DXSdgqVP-cc69d5c01bd58fd71775.js → TextfieldWidget-aVRdXRsT-6158511014a61f90ddea.js} +1 -1
- data/tools/cmdtlmserver/TimeWidget-BE2rtMxg-26adb974402be26d1aaf.js +1 -0
- data/tools/cmdtlmserver/{TitleWidget-DqViFQl--be097b712c7b366b29ba.js → TitleWidget-BB29MZb2-2f453a7f1f364727debd.js} +1 -1
- data/tools/cmdtlmserver/{TlmPacketsTab-ab9ca71cbd44cc41aa54.js → TlmPacketsTab-b9aab218beb2e197b269.js} +1 -1
- data/tools/cmdtlmserver/{Updater-3608194712b19b896303.js → Updater-6f453064b0e1f1f5fb0e.js} +1 -1
- data/tools/cmdtlmserver/{VWidget-02CG-3Av-282fe2eacc23edb71aea.js → VWidget-CGdM4sTw-a078921174583b0d9185.js} +1 -1
- data/tools/cmdtlmserver/ValueWidget-h3905woQ-9b7964d625c1c99b145b.js +1 -0
- data/tools/cmdtlmserver/{ValuelimitsbarWidget-SR8XNZFB-3ad50960c7911530750b.js → ValuelimitsbarWidget-LMXYjWtS-c85b0d0fb89533be596b.js} +1 -1
- data/tools/cmdtlmserver/{ValuelimitscolumnWidget-xYZSp6YZ-fa9436a9514cbdeace85.js → ValuelimitscolumnWidget-gA3ZcfAT-faa7e73a393653ce138d.js} +1 -1
- data/tools/cmdtlmserver/ValuerangebarWidget-DwZ9KQ0O-1b288730ccf9a87d6d8f.js +1 -0
- data/tools/cmdtlmserver/VerticalWidget-DziyURNu-750d852c42a2d5f2f703.js +1 -0
- data/tools/cmdtlmserver/VerticalboxWidget-OcoZBsFU-b0a8579fcda69ee76cfc.js +1 -0
- data/tools/cmdtlmserver/{Widget-C4QVI4IH-8eb3ea2c769d216e1508.js → Widget-C7ms_xDE-bce61b3f1521054f57a4.js} +1 -1
- data/tools/cmdtlmserver/{main-9a5b81b5417615361b70.js → main-fcf5991e219cb9464cd3.js} +74 -74
- data/tools/cmdtlmserver/main.js +1 -1
- data/tools/cmdtlmserver/{services-6fab0d9d3d41ee3bbe0a.js → services-d6821e5ba7167450844f.js} +6 -6
- metadata +76 -76
- data/tools/cmdtlmserver/BlockWidget-PmjzrkXF-877fd89adeda71f65d12.js +0 -2
- data/tools/cmdtlmserver/CanvasWidget-BL8930eT-51040855b4e007ab5d2b.js +0 -1
- data/tools/cmdtlmserver/CanvasdotWidget-VCf1fL-G-f6463321d3a30f208f07.js +0 -1
- data/tools/cmdtlmserver/CanvasimagevalueWidget-CE3Dj5bH-282f53984193d39a59ac.js +0 -1
- data/tools/cmdtlmserver/CanvaslineWidget-COeapH3P-c1972bd0296003fc1dfd.js +0 -1
- data/tools/cmdtlmserver/CanvaslinevalueWidget-CI-Bbzfi-526c06fb122282240d11.js +0 -1
- data/tools/cmdtlmserver/CheckbuttonWidget-BQhggcZ2-203eb2f8dce3bb29a90d.js +0 -1
- data/tools/cmdtlmserver/FormatvalueWidget-DZkRJce8-fa00fba21c8fe46f41dc.js +0 -1
- data/tools/cmdtlmserver/HorizontalboxWidget-CyTDt2nl-cc6db1e0fac4003a9b6b.js +0 -1
- data/tools/cmdtlmserver/IframeWidget-DnJmCrCA-61de005ba939e8bb74ad.js +0 -1
- data/tools/cmdtlmserver/LabelprogressbarWidget-RADJGLj3-c2cc73533501b6a29f36.js +0 -1
- data/tools/cmdtlmserver/LabelsparklineWidget-BlJoICxu-5751e60aa56459153ba1.js +0 -1
- data/tools/cmdtlmserver/LabelvalueWidget-DVWJqnlY-820f8e054b353826726d.js +0 -1
- data/tools/cmdtlmserver/LabelvaluelimitscolumnWidget-CvCo-uCe-7223e7b4ead90ddd0bbd.js +0 -1
- data/tools/cmdtlmserver/MatrixbycolumnsWidget-BTBColrs-f491ca2ab6e973723db2.js +0 -1
- data/tools/cmdtlmserver/RadiobuttonWidget-BO8zpgwW-7756580188448ae87ac3.js +0 -1
- data/tools/cmdtlmserver/RadiogroupWidget-Oy7V4S-V-2e12ec8be602f19c2826.js +0 -1
- data/tools/cmdtlmserver/SpacerWidget-BnJe_Hq6-b310f25a3248e49ff181.js +0 -1
- data/tools/cmdtlmserver/TabbookWidget-B3w0JtWe-8f595addaa4ebe894087.js +0 -1
- data/tools/cmdtlmserver/TextboxWidget-D2f0-eol-c3f29f980b48240b07b7.js +0 -1
- data/tools/cmdtlmserver/TimeWidget-DvrRaEMz-a9047ff28b5d6b011533.js +0 -1
- data/tools/cmdtlmserver/ValueWidget-KLYY8L8U-1c6337a11d8ce971b16e.js +0 -1
- data/tools/cmdtlmserver/ValuerangebarWidget-B6M02a9d-35a8846604b2ee963544.js +0 -1
- data/tools/cmdtlmserver/VerticalWidget-z6xUM-ql-5b64611067fb9cb9988c.js +0 -1
- data/tools/cmdtlmserver/VerticalboxWidget-3a9cVsW--b7245f0a2f9c2b4eb888.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: fd2c780bb6c7a39aa2e5f5732d9b56fe6cd9491d8422aceb8d3f8f7ceb327440
|
4
|
+
data.tar.gz: b41bed27441e776d0c8ce1a2fce2cfa4b6674cea307edd90cd0ead432ef38c6d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 46e6109d1e99d96fddbb8acbac24812bfb3da5bcec5e4ace9931f936d76af6102def48fbc2759924e2b6740ffade722593989033d2f3407e257716781eb15b41
|
7
|
+
data.tar.gz: 7b85a575c5499a86e11e0520356978608465c3f11c4aa4795d62c9ed1e3a2f0a70e9910908fb1db0ffd218407ac7a06ed16b4de2cbe265c44da891519fb53f1f
|
@@ -1,2 +1,2 @@
|
|
1
|
-
System.register(["./main-
|
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}}},
|
1
|
+
System.register(["./main-fcf5991e219cb9464cd3.js","vue","./DetailsDialog-DiVcC3Fg-926dc00ae99f202f7bbb.js","single-spa","./VWidget-CGdM4sTw-a078921174583b0d9185.js","vue-router","vuex","vuetify","./Widget-C7ms_xDE-bce61b3f1521054f57a4.js"],function(S,T){"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}}},_={class:"array-widget-container"};function B(e,r,s,k,D,o){const m=a("v-textarea"),M=a("v-list-item-title"),z=a("v-list-item"),L=a("v-list"),E=a("v-menu"),N=a("details-dialog");return u(),c("div",_,[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(E,{modelValue:e.contextMenuShown,"onUpdate:modelValue":r[0]||(r[0]=n=>e.contextMenuShown=n),target:[e.x,e.y]},{default:l(()=>[i(L,null,{default:l(()=>[(u(!0),c(g,null,f(e.contextMenuOptions,(n,P)=>(u(),v(z,{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",B],["__scopeId","data-v-62b9e9e1"]]))}}});
|
@@ -1 +1 @@
|
|
1
|
-
System.register(["./Widget-
|
1
|
+
System.register(["./Widget-C7ms_xDE-bce61b3f1521054f57a4.js","./main-fcf5991e219cb9464cd3.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-fcf5991e219cb9464cd3.js","vue","./DetailsDialog-DiVcC3Fg-926dc00ae99f202f7bbb.js","single-spa","./VWidget-CGdM4sTw-a078921174583b0d9185.js","vue-router","vuex","vuetify","./Widget-C7ms_xDE-bce61b3f1521054f57a4.js"],function(S,L){"use strict";var u,a,h,m,s,p,g,o,w,f,v,x,y,C,V,k;return{setters:[e=>{u=e.s},e=>{a=e.resolveComponent,h=e.openBlock,m=e.createElementBlock,s=e.createVNode,p=e.normalizeClass,g=e.normalizeStyle,o=e.withCtx,w=e.Fragment,f=e.renderList,v=e.createBlock,x=e.withModifiers,y=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 r="";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&&(r+=sprintf(this.addrFormat,l),l+=d),r+=sprintf(this.formatter,c),i+=1,i%d===0?(i=0,r+=P):i%this.bytesPerWord===0&&(r+=D)}else r=t;return r}}},M={class:"block-widget-container"};function W(t,r,D,P,i,l){const d=a("v-textarea"),c=a("v-list-item-title"),_=a("v-list-item"),F=a("v-list"),B=a("v-menu"),b=a("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(B,{modelValue:t.contextMenuShown,"onUpdate:modelValue":r[0]||(r[0]=n=>t.contextMenuShown=n),target:[t.x,t.y]},{default:o(()=>[s(F,null,{default:o(()=>[(h(!0),m(w,null,f(t.contextMenuOptions,(n,z)=>(h(),v(_,{key:z,onClick:x(n.action,["stop"])},{default:o(()=>[s(c,null,{default:o(()=>[y(C(n.title),1)]),_:2},1024)]),_:2},1032,["onClick"]))),128))]),_:1})]),_:1},8,["modelValue","target"]),s(b,{"target-name":t.parameters[0],"packet-name":t.parameters[1],"item-name":t.parameters[2],modelValue:t.viewDetails,"onUpdate:modelValue":r[1]||(r[1]=n=>t.viewDetails=n)},null,8,["target-name","packet-name","item-name","modelValue"])])}const N=S("default",u(e,[["render",W],["__scopeId","data-v-4d4589c2"]]))}}});
|
@@ -1,2 +1,2 @@
|
|
1
|
-
System.register(["./main-
|
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,
|
1
|
+
System.register(["./main-fcf5991e219cb9464cd3.js","vue","single-spa","./Widget-C7ms_xDE-bce61b3f1521054f57a4.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,l){const c=resolveComponent("v-spacer"),V=resolveComponent("v-toolbar"),m=resolveComponent("v-alert"),n=resolveComponent("v-row"),h=resolveComponent("v-text-field"),C=resolveComponent("v-btn"),f=resolveComponent("v-container"),v=resolveComponent("v-card-text"),u=resolveComponent("v-card"),w=resolveComponent("v-dialog");return openBlock(),createBlock(w,{persistent:r.persistent,modelValue:l.show,"onUpdate:modelValue":t[3]||(t[3]=d=>l.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(v,null,{default:withCtx(()=>[createVNode(f,{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(n,{class:"pt-4",style:{color:"white"}},{default:withCtx(()=>[createTextVNode("User "+toDisplayString(r.cmdUser)+" is waiting for approval to execute: ",1)]),_:1}),createVNode(n,{class:"pa-4",style:{color:"white"}},{default:withCtx(()=>[createTextVNode(toDisplayString(r.cmdString),1)]),_:1}),createVNode(n,{class:"text-subtitle-2"},{default:withCtx(()=>[createTextVNode("UUID: "+toDisplayString(r.uuid),1)]),_:1}),a.canApprove?createCommentVNode("",!0):(openBlock(),createBlock(n,{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(n,{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(n,{class:"pt-2"},{default:withCtx(()=>[createVNode(c),createVNode(C,{type:"submit",onClick:withModifiers(l.reject,["prevent"]),class:"mx-2",color:"secondary",outlined:"",disabled:l.disableButtons,"data-test":"reject"},{default:withCtx(()=>t[5]||(t[5]=[createTextVNode(" Reject ")])),_:1},8,["onClick","disabled"]),createVNode(C,{type:"submit",onClick:withModifiers(l.approve,["prevent"]),class:"mx-2",color:"primary",disabled:l.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,l){const c=resolveComponent("v-btn"),V=resolveComponent("v-card-title"),m=resolveComponent("v-row"),n=resolveComponent("v-spacer"),h=resolveComponent("v-card-text"),C=resolveComponent("v-card"),f=resolveComponent("v-dialog"),v=resolveComponent("critical-cmd-dialog");return openBlock(),createElementBlock("div",null,[createVNode(c,{class:"ma-1",color:"primary",style:normalizeStyle(e.computedStyle),onClick:l.onClick},{default:withCtx(()=>[createTextVNode(toDisplayString(l.buttonText),1)]),_:1},8,["style","onClick"]),createVNode(f,{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(n),createVNode(c,{onClick:l.cancelHazardousCmd,variant:"outlined"},{default:withCtx(()=>t[4]||(t[4]=[createTextVNode(" Cancel ")])),_:1},8,["onClick"]),createVNode(c,{onClick:l.sendHazardousCmd,class:"bg-primary mx-1"},{default:withCtx(()=>t[5]||(t[5]=[createTextVNode(" Send ")])),_:1},8,["onClick"])]),_:1})])]),_:1})]),_:1})]),_:1},8,["modelValue"]),createVNode(v,{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-D4YBjuWs-d949f0668cb092f7f268.js","vue","./main-fcf5991e219cb9464cd3.js","./Widget-C7ms_xDE-bce61b3f1521054f57a4.js","vue-router","single-spa","vuex","vuetify"],function(p,f){"use strict";var i,n,s,a,l,c,u,m,o;return{setters:[e=>{i=e.r},e=>{n=e.openBlock,s=e.createElementBlock,a=e.Fragment,l=e.renderList,c=e.createBlock,u=e.resolveDynamicComponent,m=e.mergeProps},e=>{o=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,x,g){return n(),s("svg",{id:"canvas",width:g.width,height:g.height},[(n(!0),s(a,null,l(r.widgets,(t,v)=>(n(),c(u(t.type),m({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",o(e,[["render",d],["__scopeId","data-v-47bdfc3c"]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./Widget-C7ms_xDE-bce61b3f1521054f57a4.js","vue","./main-fcf5991e219cb9464cd3.js","vue-router","single-spa","vuex","vuetify"],function(c,a){"use strict";var t,l,n,s;return{setters:[e=>{t=e.o},e=>{l=e.openBlock,n=e.createElementBlock},e=>{s=e.s},null,null,null,null],execute:function(){const e={mixins:[t]},u=["cx","cy","r","fill"];function i(r,m,f,p,x,v){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=c("default",s(e,[["render",i]]))}}});
|
@@ -1 +1 @@
|
|
1
|
-
System.register(["./Widget-
|
1
|
+
System.register(["./Widget-C7ms_xDE-bce61b3f1521054f57a4.js","./ImageLoader-y6fAZe9P-32c5109a53a2e67d4546.js","vue","./main-fcf5991e219cb9464cd3.js","vue-router","single-spa","vuex","vuetify"],function(o,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 g(t,m,y,k,x,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:m[0]||(m[0]=(...p)=>r.clickHandler&&r.clickHandler(...p))},null,12,u)):c("",!0)}const f=o("default",h(e,[["render",g]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./Widget-C7ms_xDE-bce61b3f1521054f57a4.js","./ImageLoader-y6fAZe9P-32c5109a53a2e67d4546.js","vue","./main-fcf5991e219cb9464cd3.js","vue-router","single-spa","vuex","vuetify"],function(v,S){"use strict";var m,d,l,n,g,o,h,u,c,f,p;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,f=t.createCommentVNode},t=>{p=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(r=>r.value==this.selectedValue)},pointerStyle(){return this.screenTarget&&this.screenName?{cursor:"pointer"}:{cursor:"default"}}},created:function(){this.appliedSettings.forEach(e=>{e[0]==="SCREEN"&&(this.screenTarget=e[1],this.screenName=e[2])}),this.valueId=`${this.parameters[0]}__${this.parameters[1]}__${this.parameters[2]}__${this.parameters[3]||"RAW"}`,this.$emit("addItem",this.valueId);const r=this.appliedSettings.filter(e=>e[0]==="IMAGE").map(async e=>{let i=e[2];return i.startsWith("http")||(i=await this.getPresignedUrl(i)),{url:i,value:e[1],x:e[3],y:e[4],width:e[5],height:e[6]}});if(Promise.all(r).then(e=>{this.images=e}),this.parameters[4]){const e={x:this.parameters[5],y:this.parameters[6],width:this.parameters[7]?`${this.parameters[7]}px`:"100%",height:this.parameters[8]?`${this.parameters[8]}px`:"100%"};let i=this.parameters[4];i.startsWith("http")?this.defaultImage={...e,url:i}:this.getPresignedUrl(i).then(y=>{this.defaultImage={...e,url:y}})}},unmounted:function(){this.$emit("deleteItem",this.valueId)},methods:{clickHandler(){this.screenTarget&&this.screenName&&this.$emit("open",this.screenTarget,this.screenName)}}},I=["href","x","y","width","height"],w=["href","x","y","width","height"];function k(r,e,i,y,N,a){return l(),n("g",null,[(l(!0),n(g,null,o(r.images,s=>h((l(),n("image",{key:s.value,href:s.url,x:s.x,y:s.y,width:s.width,height:s.height,style:u(a.pointerStyle),onClick:e[0]||(e[0]=(...x)=>a.clickHandler&&a.clickHandler(...x))},null,12,I)),[[c,s.value==a.selectedValue]])),128)),r.defaultImage?h((l(),n("image",{key:0,href:r.defaultImage.url,x:r.defaultImage.x,y:r.defaultImage.y,width:r.defaultImage.width,height:r.defaultImage.height,style:u(a.pointerStyle),onClick:e[1]||(e[1]=(...s)=>a.clickHandler&&a.clickHandler(...s))},null,12,w)),[[c,a.showDefault]]):f("",!0)])}const $=v("default",p(t,[["render",k]]))}}});
|
@@ -1 +1 @@
|
|
1
|
-
System.register(["./Widget-
|
1
|
+
System.register(["./Widget-C7ms_xDE-bce61b3f1521054f57a4.js","vue","./main-fcf5991e219cb9464cd3.js","vue-router","single-spa","vuex","vuetify"],function(o,m){"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 p=o("default",i(e,[["render",u]]))}}});
|
@@ -1 +1 @@
|
|
1
|
-
System.register(["./Widget-
|
1
|
+
System.register(["./Widget-C7ms_xDE-bce61b3f1521054f57a4.js","vue","./main-fcf5991e219cb9464cd3.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-C7ms_xDE-bce61b3f1521054f57a4.js","vue","./main-fcf5991e219cb9464cd3.js","vue-router","single-spa","vuex","vuetify"],function(i,p){"use strict";var s,l,n,a,c;return{setters:[e=>{s=e.o},e=>{l=e.openBlock,n=e.createElementBlock,a=e.normalizeStyle},e=>{c=e.s},null,null,null,null],execute:function(){const e={mixins:[s],computed:{calcStyle(){let t="black";this.parameters[4]&&(t=this.parameters[4]);let r=1;return this.parameters[5]&&(r=this.parameters[5]),"stroke:"+t+";stroke-width:"+r}}},u=["x1","y1","x2","y2"];function o(t,r,x,k,f,m){return l(),n("line",{x1:t.parameters[0],y1:t.parameters[1],x2:t.parameters[2],y2:t.parameters[3],style:a(m.calcStyle)},null,12,u)}const y=i("default",c(e,[["render",o]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./Widget-C7ms_xDE-bce61b3f1521054f57a4.js","vue","./main-fcf5991e219cb9464cd3.js","vue-router","single-spa","vuex","vuetify"],function(u,o){"use strict";var a,r,l,i,n;return{setters:[t=>{a=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:[a],data(){return{valueId:0,valueMap:{}}},computed:{calcStyle(){let e="black";this.screenValues[this.valueId]&&(e=this.valueMap[this.screenValues[this.valueId][0]]);let s=1;return this.parameters[7]&&(s=this.parameters[7]),"stroke:"+e+";stroke-width:"+s}},created(){this.appliedSettings.forEach(s=>{s[0]==="VALUE_EQ"&&(this.valueMap[s[1]]=s[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)}},m=["x1","y1","x2","y2"];function c(e,s,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,m)}const p=u("default",n(t,[["render",c]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./Widget-C7ms_xDE-bce61b3f1521054f57a4.js","vue","./main-fcf5991e219cb9464cd3.js","vue-router","single-spa","vuex","vuetify"],function(c,h){"use strict";var t,s,a,n,o,r;return{setters:[e=>{t=e.o},e=>{s=e.resolveComponent,a=e.openBlock,n=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(m,u,k,y,l,b){const d=s("v-checkbox");return a(),n(d,{"hide-details":"",density:"compact",label:l.label,modelValue:l.value,"onUpdate:modelValue":u[0]||(u[0]=v=>l.value=v),style:o(m.computedStyle)},null,8,["label","modelValue","style"])}const p=c("default",r(e,[["render",i]]))}}});
|
@@ -1 +1 @@
|
|
1
|
-
System.register(["./Updater-
|
1
|
+
System.register(["./Updater-6f453064b0e1f1f5fb0e.js","./RawDialog-3ba881626e2141cf6261.js","vue","./main-fcf5991e219cb9464cd3.js","./services-d6821e5ba7167450844f.js","vue-router","single-spa","vuex","vuetify"],function(y,B){"use strict";var k,v,r,c,p,i,o,m,w,u,h,b,f;return{setters:[t=>{k=t.U},t=>{v=t.R},t=>{r=t.resolveComponent,c=t.openBlock,p=t.createBlock,i=t.withCtx,o=t.createVNode,m=t.createTextVNode,w=t.toDisplayString,u=t.createElementBlock,h=t.Fragment,b=t.renderList},t=>{f=t._},null,null,null,null,null],execute:function(){const t={components:{RawDialog:v},mixins:[k],props:{tabId:Number,curTab:Number},data(){return{search:"",data:[],headers:[{title:"Target Name",key:"target_name"},{title:"Packet Name",key:"packet_name"},{title:"Packet Count",key:"count"},{title:"View Raw",key:"view_raw"},{title:"View In Command Sender",key:"view_in_cmd_sender"}],rawDialogs:[],visible:null}},created(){this.api.get_target_names().then(a=>{a.map(e=>{this.api.get_all_cmd_names(e).then(s=>{this.data=this.data.concat(s.map(d=>({target_name:e,packet_name:d,count:0})))})})})},methods:{focus(a){this.rawDialogs.map(s=>{s.zIndex=1});let e=this.rawDialogs.indexOf(a);this.rawDialogs[e].zIndex=2},openViewRaw(a,e){this.rawDialogs.map(s=>{s.zIndex=1}),this.rawDialogs=this.rawDialogs.concat({target_name:a,packet_name:e,zIndex:2})},closeRawDialog(a){let e=this.rawDialogs.indexOf(a);this.rawDialogs.splice(e,1)},openCmdSender(a,e){window.open(`/tools/cmdsender/${encodeURIComponent(a)}/${encodeURIComponent(e)}`,"_blank")},currentItems(a){this.visible=a.map(e=>[e.columns.target_name,e.columns.packet_name])},update(){this.tabId==this.curTab&&this.visible!==null&&this.api.get_cmd_cnts(this.visible).then(a=>{for(let e=0;e<a.length;e++){let s=this.data.findIndex(d=>d.target_name===this.visible[e][0]&&d.packet_name===this.visible[e][1]);this.data[s].count=a[e]}})}}},C={key:0};function D(a,e,s,d,l,_){const I=r("v-spacer"),V=r("v-text-field"),N=r("v-card-title"),x=r("v-btn"),R=r("v-icon"),U=r("v-data-table"),S=r("raw-dialog"),z=r("v-card");return c(),p(z,null,{default:i(()=>[o(N,{class:"d-flex align-center justify-content-space-between"},{default:i(()=>[m(w(l.data.length)+" Command Packets ",1),o(I),o(V,{modelValue:l.search,"onUpdate:modelValue":e[0]||(e[0]=n=>l.search=n),label:"Search","prepend-inner-icon":"mdi-magnify",clearable:"",variant:"outlined",density:"compact","single-line":"","hide-details":"",class:"search"},null,8,["modelValue"])]),_:1}),o(U,{headers:l.headers,items:l.data,search:l.search,"items-per-page":10,"items-per-page-options":[10,20,50,100],"sort-by":[{key:"target_name"},{key:"packet_name"}],"onUpdate:currentItems":_.currentItems,"data-test":"cmd-packets-table"},{"item.view_raw":i(({item:n})=>[o(x,{block:"",color:"primary",disabled:n.count<1,onClick:g=>_.openViewRaw(n.target_name,n.packet_name)},{default:i(()=>e[1]||(e[1]=[m(" View Raw ")])),_:2},1032,["disabled","onClick"])]),"item.view_in_cmd_sender":i(({item:n})=>[n.target_name==="UNKNOWN"?(c(),u("span",C,"N/A")):(c(),p(x,{key:1,block:"",color:"primary",onClick:g=>_.openCmdSender(n.target_name,n.packet_name)},{default:i(()=>[e[3]||(e[3]=m(" View In Command Sender ")),o(R,{end:""},{default:i(()=>e[2]||(e[2]=[m(" mdi-open-in-new ")])),_:1})]),_:2},1032,["onClick"]))]),_:1},8,["headers","items","search","onUpdate:currentItems"]),(c(!0),u(h,null,b(l.rawDialogs,n=>(c(),p(S,{key:n.target_name+"_"+n.packet_name,type:"Command","target-name":n.target_name,"packet-name":n.packet_name,visible:!0,"z-index":n.zIndex,onClose:g=>_.closeRawDialog(n),onFocus:g=>_.focus(n)},null,8,["target-name","packet-name","z-index","onClose","onFocus"]))),128))]),_:1})}const T=y("default",f(t,[["render",D]]))}}});
|
@@ -1,2 +1,2 @@
|
|
1
|
-
System.register(["./services-
|
2
|
-
/*$vite$:1*/`,document.head.appendChild(a);const G={props:{menus:{type:Array,default:function(){return[]}},title:{type:String,default:""}},methods:{formatDT:function(d){return d.replaceAll(" ","-").toLowerCase()},subMenuClick(d){d.command(d),this.$refs.topmenu[0].isActive=!1}},mounted(){document.title=this.title}},H={class:"app-title mr-2"};function K(d,i,k,$,r,S){const B=l("v-col"),D=l("v-row"),b=l("v-icon"),z=l("v-btn"),E=l("v-divider"),C=l("v-list-item-title"),h=l("v-list-item"),I=l("v-list"),V=l("v-menu"),P=l("v-radio"),T=l("v-list-item-action"),A=l("v-radio-group"),L=l("v-checkbox");return o(),s(O,{to:"#openc3-menu"},[n(D,{"no-gutters":""},{default:e(()=>[n(B,{"align-self":"end"},{default:e(()=>[y("span",H,v(k.title),1)]),_:1})]),_:1}),n(D,{dense:"",class:"flex-nowrap"},{default:e(()=>[(o(!0),p(m,null,f(k.menus,(g,
|
1
|
+
System.register(["./services-d6821e5ba7167450844f.js","./main-fcf5991e219cb9464cd3.js","vue","vue-router","single-spa","vuex","vuetify"],function(q,ee){"use strict";var J,R,Z,j,l,o,s,O,n,e,y,v,p,m,f,N,_,U,M,w,W;return{setters:[a=>{J=a.i},a=>{R=a.s,Z=a._,j=a.J},a=>{l=a.resolveComponent,o=a.openBlock,s=a.createBlock,O=a.Teleport,n=a.createVNode,e=a.withCtx,y=a.createElementVNode,v=a.toDisplayString,p=a.createElementBlock,m=a.Fragment,f=a.renderList,N=a.mergeProps,_=a.createTextVNode,U=a.createSlots,M=a.normalizeStyle,w=a.createCommentVNode,W=a.withModifiers},null,null,null,null],execute:function(){var a=document.createElement("style");a.textContent=`.v-expansion-panel-text[data-v-f4d5bbc5] .v-expansion-panel-text__wrapper{padding:0}.v-list[data-v-f4d5bbc5] .v-label{margin-left:5px}.v-list-item__icon[data-v-f4d5bbc5]{margin-right:15px!important}.v-list-item__title[data-v-f4d5bbc5]{color:#fff}.v-expansion-panel-title[data-v-f4d5bbc5]{min-height:initial;padding:0}
|
2
|
+
/*$vite$:1*/`,document.head.appendChild(a);const G={props:{menus:{type:Array,default:function(){return[]}},title:{type:String,default:""}},methods:{formatDT:function(d){return d.replaceAll(" ","-").toLowerCase()},subMenuClick(d){d.command(d),this.$refs.topmenu[0].isActive=!1}},mounted(){document.title=this.title}},H={class:"app-title mr-2"};function K(d,i,k,$,r,S){const B=l("v-col"),D=l("v-row"),b=l("v-icon"),z=l("v-btn"),E=l("v-divider"),C=l("v-list-item-title"),h=l("v-list-item"),I=l("v-list"),V=l("v-menu"),P=l("v-radio"),T=l("v-list-item-action"),A=l("v-radio-group"),L=l("v-checkbox");return o(),s(O,{to:"#openc3-menu"},[n(D,{"no-gutters":""},{default:e(()=>[n(B,{"align-self":"end"},{default:e(()=>[y("span",H,v(k.title),1)]),_:1})]),_:1}),n(D,{dense:"",class:"flex-nowrap"},{default:e(()=>[(o(!0),p(m,null,f(k.menus,(g,u)=>(o(),s(V,{ref_for:!0,ref:"topmenu",key:u},{activator:e(({props:t})=>[n(z,N({ref_for:!0},t,{variant:"outlined",class:"mx-1 menu-button",text:g.label,"data-test":S.formatDT(`${k.title} ${g.label}`)}),{append:e(()=>[n(b,{class:"menu-button-icon"},{default:e(()=>i[0]||(i[0]=[_(" mdi-menu-down ")])),_:1})]),_:2},1040,["text","data-test"])]),default:e(()=>[n(I,null,{default:e(()=>[(o(!0),p(m,null,f(g.items,(t,x)=>(o(),p(m,null,[t.divider?(o(),s(E,{key:x+"-divider"})):t.subMenu&&t.subMenu.length>0?(o(),p("div",{key:x+"-submenu"},[(o(),s(V,{"open-on-hover":"",location:"right",key:x},{activator:e(({props:c})=>[(o(),s(h,N({ref_for:!0},c,{disabled:t.disabled,key:x}),U({append:e(()=>[n(b,null,{default:e(()=>i[1]||(i[1]=[_(" mdi-chevron-right ")])),_:1})]),default:e(()=>[!t.radio&&!t.checkbox?(o(),s(C,{key:0,style:M("cursor: pointer;"+(t.disabled?"opacity: 0.2":""))},{default:e(()=>[_(v(t.label),1)]),_:2},1032,["style"])):w("",!0)]),_:2},[t.icon?{name:"prepend",fn:e(()=>[n(b,{disabled:t.disabled},{default:e(()=>[_(v(t.icon),1)]),_:2},1032,["disabled"])]),key:"0"}:void 0]),1040,["disabled"]))]),default:e(()=>[n(I,null,{default:e(()=>[(o(!0),p(m,null,f(t.subMenu,(c,F)=>(o(),s(h,{key:F,"prepend-icon":c.icon,onClick:le=>S.subMenuClick(c)},{default:e(()=>[n(C,null,{default:e(()=>[_(v(c.label),1)]),_:2},1024)]),_:2},1032,["prepend-icon","onClick"]))),128))]),_:2},1024)]),_:2},1024))])):t.radioGroup?(o(),s(A,{"model-value":t.value,"onUpdate:modelValue":t.command,key:x+"-radio-group","hide-details":"",density:"compact",class:"ma-0 pa-0"},{default:e(()=>[(o(!0),p(m,null,f(t.choices,(c,F)=>(o(),s(h,{key:F+"-choice"},{default:e(()=>[n(T,{class:"list-action"},{default:e(()=>[n(P,{color:"secondary",label:c.label,value:c.value,density:"compact","hide-details":""},null,8,["label","value"])]),_:2},1024)]),_:2},1024))),128))]),_:2},1032,["model-value","onUpdate:modelValue"])):(o(),s(h,{onClick:c=>t.command(t),disabled:t.disabled,"data-test":S.formatDT(`${k.title} ${g.label} ${t.label}`),key:x+"-list"},U({default:e(()=>[t.checkbox?(o(),s(T,{key:0,class:"list-action"},{default:e(()=>[n(L,{modelValue:t.checked,"onUpdate:modelValue":c=>t.checked=c,label:t.label,color:"secondary",density:"compact","hide-details":""},null,8,["modelValue","onUpdate:modelValue","label"])]),_:2},1024)):w("",!0),!t.radio&&!t.checkbox?(o(),s(C,{key:1,style:M("cursor: pointer;"+(t.disabled?"opacity: 0.2":""))},{default:e(()=>[_(v(t.label),1)]),_:2},1032,["style"])):w("",!0)]),_:2},[t.icon?{name:"prepend",fn:e(()=>[n(b,{icon:t.icon,disabled:t.disabled},null,8,["icon","disabled"])]),key:"0"}:void 0]),1032,["onClick","disabled","data-test"]))],64))),256))]),_:2},1024)]),_:2},1024))),128))]),_:1})])}const Q={components:{LogMessages:j,TopBar:R(G,[["render",K],["__scopeId","data-v-4d454b93"]])},data(){return{api:null,title:"CmdTlmServer",timeZone:"local",panel:0,curTab:null,tabs:[{name:"Interfaces",path:{name:"InterfacesTab"}},{name:"Targets",path:{name:"TargetsTab"}},{name:"Cmd packets",path:{name:"CmdPacketsTab"}},{name:"Tlm packets",path:{name:"TlmPacketsTab"}},{name:"Routers",path:{name:"RoutersTab"}},{name:"Status",path:{name:"StatusTab"}}],updater:null,refreshInterval:1e3,optionsDialog:!1,menus:[{label:"File",items:[{label:"Options",icon:"mdi-cog",command:()=>{this.optionsDialog=!0}},{label:"Clear Counters",icon:"mdi-eraser",command:()=>{this.clearCounters()}}]}]}},created(){this.api=new J,this.api.get_setting("time_zone").then(d=>{d&&(this.timeZone=d)}).catch(d=>{})},methods:{clearCounters(){this.api.get_interface_names().then(d=>{for(const i of d)this.api.interface_cmd(i,"clear_counters")})}}},X={class:"mt-6 pa-3"};function Y(d,i,k,$,r,S){const B=l("top-bar"),D=l("v-tab"),b=l("v-tabs"),z=l("v-expansion-panel-title"),E=l("router-view"),C=l("v-expansion-panel-text"),h=l("v-expansion-panel"),I=l("v-expansion-panels"),V=l("v-card"),P=l("log-messages"),T=l("v-spacer"),A=l("v-toolbar"),L=l("v-text-field"),g=l("v-dialog");return o(),p(m,null,[n(B,{menus:r.menus,title:r.title},null,8,["menus","title"]),n(V,{style:{"z-index":"2 !important"}},{default:e(()=>[n(I,{modelValue:r.panel,"onUpdate:modelValue":i[2]||(i[2]=u=>r.panel=u)},{default:e(()=>[n(h,null,{default:e(()=>[n(z,null,{default:e(()=>[n(b,{modelValue:r.curTab,"onUpdate:modelValue":i[1]||(i[1]=u=>r.curTab=u),"fixed-tabs":"",grow:"","align-tabs":"start"},{default:e(()=>[(o(!0),p(m,null,f(r.tabs,(u,t)=>(o(),s(D,{key:t,to:u.path,text:u.name,onClick:i[0]||(i[0]=W(()=>{},["stop"]))},null,8,["to","text"]))),128))]),_:1},8,["modelValue"])]),_:1}),n(C,null,{default:e(()=>[n(E,{"refresh-interval":r.refreshInterval},null,8,["refresh-interval"])]),_:1})]),_:1})]),_:1},8,["modelValue"])]),_:1}),i[6]||(i[6]=y("div",{style:{height:"15px"}},null,-1)),n(P,{"time-zone":r.timeZone},null,8,["time-zone"]),n(g,{modelValue:r.optionsDialog,"onUpdate:modelValue":i[4]||(i[4]=u=>r.optionsDialog=u),"max-width":"300"},{default:e(()=>[n(V,null,{default:e(()=>[n(A,{height:"24"},{default:e(()=>[n(T),i[5]||(i[5]=y("span",null,"Options",-1)),n(T)]),_:1}),y("div",X,[n(L,{min:"0",max:"10000",step:"100",type:"number",label:"Refresh Interval (ms)","model-value":r.refreshInterval,"onUpdate:modelValue":i[3]||(i[3]=u=>r.refreshInterval=u)},null,8,["model-value"])])]),_:1})]),_:1},8,["modelValue"])],64)}const ne=q("default",Z(Q,[["render",Y],["__scopeId","data-v-f4d5bbc5"]]))}}});
|
@@ -1 +1 @@
|
|
1
|
-
System.register(["./Widget-
|
1
|
+
System.register(["./Widget-C7ms_xDE-bce61b3f1521054f57a4.js","vue","./main-fcf5991e219cb9464cd3.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,x){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]]))}}});
|
@@ -1 +1 @@
|
|
1
|
-
System.register(["./Widget-
|
1
|
+
System.register(["./Widget-C7ms_xDE-bce61b3f1521054f57a4.js","./main-fcf5991e219cb9464cd3.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,x){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-9a5b81b5417615361b70.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"]]))}}});
|
1
|
+
System.register(["./main-fcf5991e219cb9464cd3.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(u){return["cmd","tlm"].indexOf(u)!==-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(u){this.$emit("update:modelValue",u)}}},created(){this.api=new L},beforeUnmount(){clearInterval(this.updater),this.updater=null},watch:{modelValue:function(u,a){u?(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(u){let a=!1;return u.limits.DEFAULT&&(a=!0),u.states&&Object.getOwnPropertyNames(u.states).forEach(_=>{u.states[_].color&&(a=!0)}),a},async requestDetails(){this.type==="tlm"?await this.api.get_item(this.targetName,this.packetName,this.itemName).then(u=>{this.details=u,this.hasLimits(u)||(this.details.limits=null)}):await this.api.get_parameter(this.targetName,this.packetName,this.itemName).then(u=>{this.details=u})},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(u){return u.hasOwnProperty("green_low")?"RL/"+u.red_low+" YL/"+u.yellow_low+" YH/"+u.yellow_high+" RH/"+u.red_high+" GL/"+u.green_low+" GH/"+u.green_high:u.hasOwnProperty("red_low")?"RL/"+u.red_low+" YL/"+u.yellow_low+" YH/"+u.yellow_high+" RH/"+u.red_high:u}}},S={key:5},$={key:7},E={key:3},x={key:9};function B(u,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"),n=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(n,{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(n,{"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(n,{"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(n,{"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(n,{"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(n,{"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(n,{"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(n,{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(n,{"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(n,{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(n,{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(n,{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(n,{"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(n,{"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(n,{"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(n,{"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(n,{"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(n,{"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(n,{"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(n,{"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(n,{"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(n,{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(n,{"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(n,{"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(n,{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(n,{"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(n,{"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(n,{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 +1 @@
|
|
1
|
-
System.register(["vue","./main-
|
1
|
+
System.register(["vue","./main-fcf5991e219cb9464cd3.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-C7ms_xDE-bce61b3f1521054f57a4.js","./ValueWidget-h3905woQ-9b7964d625c1c99b145b.js","vue","./main-fcf5991e219cb9464cd3.js","./DetailsDialog-DiVcC3Fg-926dc00ae99f202f7bbb.js","single-spa","./VWidget-CGdM4sTw-a078921174583b0d9185.js","vue-router","vuex","vuetify"],function(m,f){"use strict";var s,r,n,a,l,i,o,c,u;return{setters:[e=>{s=e.o},e=>{r=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:[s],components:{ValueWidget:r},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,x,g){const d=n("value-widget");return a(),l("div",{ref:"container",class:"d-flex flex-row",style:i(t.computedStyle)},[o(d,c(t.$attrs,{parameters:g.getParameters,settings:t.appliedSettings,"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone,"format-string":t.parameters[3]}),null,16,["parameters","settings","screen-values","screen-time-zone","format-string"])],4)}const v=m("default",u(e,[["render",p]]))}}});
|