openc3-cosmos-tool-bucketexplorer 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/bucketexplorer/ArrayWidget-DBpEoQ1y-d84e99aba2b4adfbfd18.js +2 -0
- data/tools/bucketexplorer/{BarColumn-Cdu3OoMa-af88bac699d2bf5bef1b.js → BarColumn-B6tCmNJm-c183f8aae845fec54cdd.js} +1 -1
- data/tools/bucketexplorer/{BlockWidget-PmjzrkXF-9f9c01bbaf9271d0a980.js → BlockWidget-Bmi0UcUW-1cf2eb34d4a2c5d21e0f.js} +2 -2
- data/tools/bucketexplorer/{BucketExplorer-ca34c0d27e0ad5bbe8a3.js → BucketExplorer-5ee945d258ed00d10a0b.js} +76 -76
- data/tools/bucketexplorer/{ButtonWidget-nwDlOBJT-5cf75ff872e011709203.js → ButtonWidget-CHrHS_Bw-65ee3e06b92901fc3be2.js} +2 -2
- data/tools/bucketexplorer/{CanvasWidget-BL8930eT-73c56bb6932393423907.js → CanvasWidget-BqdyLbQz-3642d7c51461cfbfa1e4.js} +1 -1
- data/tools/bucketexplorer/CanvasdotWidget-YYwca104-8a727d0281ea53c6cbd1.js +1 -0
- data/tools/bucketexplorer/{CanvasimageWidget-BIw7Wbf2-31ebf968e4d323592f80.js → CanvasimageWidget-BrYlPQCf-88f40327f0a26c23f4e4.js} +1 -1
- data/tools/bucketexplorer/{CanvasimagevalueWidget-CE3Dj5bH-5acc4ce3d50a733a31e2.js → CanvasimagevalueWidget-HnEOXmZy-190bc50e950939ca2517.js} +1 -1
- data/tools/bucketexplorer/{CanvaslabelWidget-DWmb356h-e90f1900a20e4f2bd1da.js → CanvaslabelWidget-BfMHNei--3ef1edb8a7cc56f09f79.js} +1 -1
- data/tools/bucketexplorer/{CanvaslabelvalueWidget-CI3yYwFs-ee933e5e6bbf01384963.js → CanvaslabelvalueWidget-0zRDJav3-b3ecfe0e923abeca4293.js} +1 -1
- data/tools/bucketexplorer/{CanvaslineWidget-COeapH3P-e0c47c90f78b81c2ed97.js → CanvaslineWidget-BmOwJP_G-552987dea00e06c4497f.js} +1 -1
- data/tools/bucketexplorer/{CanvaslinevalueWidget-CI-Bbzfi-ded1bd2057803054e8b0.js → CanvaslinevalueWidget-H3L1aUKM-76d4a7b10f102599c0dd.js} +1 -1
- data/tools/bucketexplorer/CheckbuttonWidget-BnT9X7wE-229a61fdefb2bf4548ca.js +1 -0
- data/tools/bucketexplorer/{ComboboxWidget-BzsbOv54-1a2e2a279bc5c21f2337.js → ComboboxWidget-BykAAoxH-89e8e2c5871f15321f42.js} +1 -1
- data/tools/bucketexplorer/{DateWidget-B5R_9rA8-154f35d2d8d10f84f6e5.js → DateWidget-FtYD86xW-efffbd293162d00d7594.js} +1 -1
- data/tools/bucketexplorer/{DetailsDialog-DLRMqetn-5a84b59bfebf680c12a9.js → DetailsDialog-DiVcC3Fg-954b37d79205f3cb618b.js} +1 -1
- data/tools/bucketexplorer/{DynamicWidget-m9EliUR2-58d23243c1a102ea29b9.js → DynamicWidget-m9EliUR2-1e3655a8a36744e0ec4d.js} +1 -1
- data/tools/bucketexplorer/{FormatvalueWidget-DZkRJce8-2113a42e6eb77f82bc3f.js → FormatvalueWidget-OykwwCrw-805a315742ce48ed95f9.js} +1 -1
- data/tools/bucketexplorer/{GraphWidget-amwxyH1r-dddfb666371baef7f67a.js → GraphWidget-BohHW-97-80269051d92769cb8839.js} +1 -1
- data/tools/bucketexplorer/{HorizontalWidget-CirtfuL8-c98501e8a25f277378d9.js → HorizontalWidget-B7YdcFVN-7be31472a0fca11356d0.js} +1 -1
- data/tools/bucketexplorer/HorizontalboxWidget-D-kCNwI3-f7adf0321e23f59b6d06.js +1 -0
- data/tools/bucketexplorer/{HorizontallineWidget-BdlNB951-e5a08e757c627c83cdb1.js → HorizontallineWidget-BdlNB951-304f6d4a0ccb0714dd37.js} +1 -1
- data/tools/bucketexplorer/IframeWidget-0C7GYEVc-e31abbe33fa1bb1c3ec3.js +1 -0
- data/tools/bucketexplorer/{ImageLoader-CpcR6tPi-deecbf2d731f6a55d962.js → ImageLoader-y6fAZe9P-13f021e8cbe641d8752d.js} +1 -1
- data/tools/bucketexplorer/ImageviewerWidget-B4HbUIfR-91641a5d108292483aeb.js +1 -0
- data/tools/bucketexplorer/{LabelWidget-BDsypYho-87202b628eb4ed4b33dc.js → LabelWidget-D1JhQAzR-a21383d0cfceeb2b88ce.js} +1 -1
- data/tools/bucketexplorer/{LabelledWidget-DjturGl5-e517bfe9f699f8e9bab1.js → LabelledWidget-C2VGJ5OJ-bd982c480f2cfc83827c.js} +1 -1
- data/tools/bucketexplorer/{LabelprogressbarWidget-RADJGLj3-47df67f537072a68eb4d.js → LabelprogressbarWidget-DN0cAeLK-dd7f47df95f079f1b93b.js} +1 -1
- data/tools/bucketexplorer/LabelsparklineWidget--sxBENxs-2b8267411f7a1e92feaf.js +1 -0
- data/tools/bucketexplorer/{LabelvalueWidget-DVWJqnlY-9cc7dd06411c3794787f.js → LabelvalueWidget-BWpP5KX6-cf169d917c0b6c2821d8.js} +1 -1
- data/tools/bucketexplorer/{LabelvaluedescWidget-CsUP7J4U-a0b268def5593689db71.js → LabelvaluedescWidget-DtJwggDu-60aee5dad0fbe16efe59.js} +1 -1
- data/tools/bucketexplorer/LabelvaluelimitsbarWidget-Bj6UVK-5-1e5339460a51c89b3a2c.js +1 -0
- data/tools/bucketexplorer/{LabelvaluelimitscolumnWidget-CvCo-uCe-178065792a6108d15976.js → LabelvaluelimitscolumnWidget-BVcEEcUx-fc285621b97531bc3910.js} +1 -1
- data/tools/bucketexplorer/{LabelvaluerangebarWidget-DpcXhlfF-cc3416449084b053d162.js → LabelvaluerangebarWidget-DCJ42bmf-fe900ef7610eebccbe4a.js} +1 -1
- data/tools/bucketexplorer/{Layout-C1HoM4Kl-e9cbf20bd9c6068ced4f.js → Layout-D4YBjuWs-ba5c1101a15ae0d087c7.js} +1 -1
- data/tools/bucketexplorer/{LedWidget-B_K2e5tq-b6e1c559e431c2d45ae6.js → LedWidget-hN9JHxjr-2d204fb91b31c9bdf240.js} +1 -1
- data/tools/bucketexplorer/{LimitsbarWidget-DXbqsi4J-7ad1787a9883a599f2b5.js → LimitsbarWidget-D-wfz_St-52918e77d641e83ba7c4.js} +1 -1
- data/tools/bucketexplorer/{LimitscolorWidget-Ckmuw0YX-07506fb06cb41ea914e0.js → LimitscolorWidget-B0AVGdkz-fef564d55714d1ad7d53.js} +1 -1
- data/tools/bucketexplorer/{LimitscolumnWidget-BfY4su5U-a79b69e3dd34d14c2d40.js → LimitscolumnWidget-Dt5ce4hN-de307539c19ebc483f3a.js} +1 -1
- data/tools/bucketexplorer/{LinegraphWidget-y-Qy9P0R-6f9e7bcf28671c75f87c.js → LinegraphWidget-CTjtvtPd-9866e1f44aab007f9b95.js} +1 -1
- data/tools/bucketexplorer/MatrixbycolumnsWidget-wLx4NvXV-ff71290b4368a2b4541d.js +1 -0
- data/tools/bucketexplorer/{ProgressbarWidget-DpA_-vy9-578d146b82873aa2d27a.js → ProgressbarWidget-B7l0BBiX-e8edb87b440a323e9136.js} +1 -1
- data/tools/bucketexplorer/{RadiobuttonWidget-BO8zpgwW-bbdf6ead5d796ada3280.js → RadiobuttonWidget-B032jKIw-9cd9722b66ad85b893e2.js} +1 -1
- data/tools/bucketexplorer/RadiogroupWidget-Busjqikr-19470ce9a0a4bce7d4e8.js +1 -0
- data/tools/bucketexplorer/{RangebarWidget-DHS7S3vI-bf731e4254c49fd394ac.js → RangebarWidget-DbYrwEfC-8fec1b15df6a970c76ea.js} +1 -1
- data/tools/bucketexplorer/{RollupWidget-CTk9Kjwr-11bbd5c31947eeefb8fb.js → RollupWidget-rKxLXuCv-8200ee5a06dce2403fb2.js} +1 -1
- data/tools/bucketexplorer/{ScrollwindowWidget-DD0TOW6s-4f41dc900bd855d2f59e.js → ScrollwindowWidget-D4NKIzQO-aa113b20c6d7af1c282f.js} +1 -1
- data/tools/bucketexplorer/{SignalWidget-CC33KMTW-24982614f04050c4644f.js → SignalWidget-h-oivReC-9b278cc25efeda92c3e3.js} +1 -1
- data/tools/bucketexplorer/SpacerWidget-BSy9eOlB-d754ca4fcbdd43b8702b.js +1 -0
- data/tools/bucketexplorer/{SparklineWidget-DMvMQCPm-cad11960128f27cff475.js → SparklineWidget-C9vdxar--4a90dc7f45499c125743.js} +1 -1
- data/tools/bucketexplorer/TabbookWidget-DTFTKURm-c4417b2602712a24315a.js +1 -0
- data/tools/bucketexplorer/TextboxWidget-BZyYHmBq-c1806960cdf91c0e1b71.js +1 -0
- data/tools/bucketexplorer/{TextfieldWidget-DXSdgqVP-4272cdce9ee740fb33b4.js → TextfieldWidget-aVRdXRsT-456b9261f7a4f1792b6f.js} +1 -1
- data/tools/bucketexplorer/{TimeWidget-DvrRaEMz-9d5bbd6cafc9fe271080.js → TimeWidget-BE2rtMxg-ec7fa105bdf9ead5a3cb.js} +1 -1
- data/tools/bucketexplorer/{TitleWidget-DqViFQl--5f19c46f4334ae583d21.js → TitleWidget-BB29MZb2-4d89b031da8fc148aba2.js} +1 -1
- data/tools/bucketexplorer/{VWidget-02CG-3Av-8f58af932741638eb400.js → VWidget-CGdM4sTw-a0c483408dfe2de0236e.js} +1 -1
- data/tools/bucketexplorer/{ValueWidget-KLYY8L8U-84e87d5eeff67ae24e4e.js → ValueWidget-h3905woQ-4110f42f3e125d4c42f9.js} +1 -1
- data/tools/bucketexplorer/{ValuelimitsbarWidget-SR8XNZFB-bcd62458733e7b10c2b6.js → ValuelimitsbarWidget-LMXYjWtS-e203466014b8a7ff2466.js} +1 -1
- data/tools/bucketexplorer/{ValuelimitscolumnWidget-xYZSp6YZ-725bf57a4a2af14363ec.js → ValuelimitscolumnWidget-gA3ZcfAT-a332b5bab945f6b22dec.js} +1 -1
- data/tools/bucketexplorer/{ValuerangebarWidget-B6M02a9d-f4b6cdaa152908947b07.js → ValuerangebarWidget-DwZ9KQ0O-a9504b20dec9a2770c7d.js} +1 -1
- data/tools/bucketexplorer/{VerticalWidget-z6xUM-ql-38ddd70df71f79fc3160.js → VerticalWidget-DziyURNu-51a4db641a38d60f4175.js} +1 -1
- data/tools/bucketexplorer/VerticalboxWidget-OcoZBsFU-d9801ee2ba88116d00b5.js +1 -0
- data/tools/bucketexplorer/{Widget-C4QVI4IH-7ece2725e081ecfaee00.js → Widget-C7ms_xDE-a907eb615525da1927c4.js} +1 -1
- data/tools/bucketexplorer/main-34c4cfccf8f208524d70.js +8 -0
- data/tools/bucketexplorer/main.js +1 -1
- metadata +67 -67
- data/tools/bucketexplorer/ArrayWidget-BTxChSds-863ae72df606eb9d4300.js +0 -2
- data/tools/bucketexplorer/CanvasdotWidget-VCf1fL-G-51436946fb9a77d4dd57.js +0 -1
- data/tools/bucketexplorer/CheckbuttonWidget-BQhggcZ2-9d6ddd18672d2db4c41e.js +0 -1
- data/tools/bucketexplorer/HorizontalboxWidget-CyTDt2nl-1e39f9bc753cd9b1d424.js +0 -1
- data/tools/bucketexplorer/IframeWidget-DnJmCrCA-662bebc5d8e32763429e.js +0 -1
- data/tools/bucketexplorer/ImageviewerWidget-DIkmb_C9-83cfbc94386769cffa1b.js +0 -1
- data/tools/bucketexplorer/LabelsparklineWidget-BlJoICxu-8f4bffddbef8903d84d5.js +0 -1
- data/tools/bucketexplorer/LabelvaluelimitsbarWidget-Blj1QXV8-83fee6603947aaf14f19.js +0 -1
- data/tools/bucketexplorer/MatrixbycolumnsWidget-BTBColrs-eb1edc42399c66dfd587.js +0 -1
- data/tools/bucketexplorer/RadiogroupWidget-Oy7V4S-V-cea900971c019aa7144b.js +0 -1
- data/tools/bucketexplorer/SpacerWidget-BnJe_Hq6-36724e406716eafbb949.js +0 -1
- data/tools/bucketexplorer/TabbookWidget-B3w0JtWe-75677686d23a47a8c01b.js +0 -1
- data/tools/bucketexplorer/TextboxWidget-D2f0-eol-052d034e7a0a2601f151.js +0 -1
- data/tools/bucketexplorer/VerticalboxWidget-3a9cVsW--d44abe38176140c1cf9d.js +0 -1
- data/tools/bucketexplorer/main-60732a230373be3a696b.js +0 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f32a7ee0c99b4d5492f3683cc0afdd4767f445867170c906b51c17bb82e66718
|
4
|
+
data.tar.gz: 891aeb5de5670b3acb7344656993fca43c45777afcd44fef7b5fad36fdffac13
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bc1c73a52042f4b9197183b07bb4acadbd2b810e2a278178f93364c1c49dd6ed9980bb998e12313fc4e8275018ee4fab3eaf8fed7753ad337b49e6e828c8b8d2
|
7
|
+
data.tar.gz: 617c6cbe68a7b27ddf6ded90cef2e3182e34e16bd813e912b7146dec0b53bae52ddca64d864d99483352e58d30df50a83772036e27c2022844ffe33aea386638
|
@@ -0,0 +1,2 @@
|
|
1
|
+
System.register(["./BucketExplorer-5ee945d258ed00d10a0b.js","vue","./main-34c4cfccf8f208524d70.js","./DetailsDialog-DiVcC3Fg-954b37d79205f3cb618b.js","single-spa","./VWidget-CGdM4sTw-a0c483408dfe2de0236e.js","vue-router","vuex","vuetify","./Widget-C7ms_xDE-a907eb615525da1927c4.js"],function(B,P){"use strict";var a,u,c,i,h,d,l,p,g,f,v,w,x,y,C,V;return{setters:[null,e=>{a=e.resolveComponent,u=e.openBlock,c=e.createElementBlock,i=e.createVNode,h=e.normalizeClass,d=e.normalizeStyle,l=e.withCtx,p=e.Fragment,g=e.renderList,f=e.createBlock,v=e.withModifiers,w=e.createTextVNode,x=e.toDisplayString},e=>{y=e.s},e=>{C=e.P},null,e=>{V=e.L},null,null,null,null],execute:function(){const e={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 t="CONVERTED";return this.parameters[7]&&(t=this.parameters[7]),t},formatValue:function(t){var r;let s="",k=" ",D=`
|
2
|
+
`,o=0;if(Array.isArray(t)){for(const m of t)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 t}}},S={class:"array-widget-container"};function _(t,r,s,k,D,o){const m=a("v-textarea"),M=a("v-list-item-title"),z=a("v-list-item"),E=a("v-list"),L=a("v-menu"),j=a("details-dialog");return u(),c("div",S,[i(m,{variant:"solo",density:"compact",readonly:"","no-resize":"","auto-grow":"",rows:"2","hide-details":"","model-value":t._value,class:h(t.valueClass),style:d([t.computedStyle,o.aging]),"data-test":"array-widget",onContextmenu:t.showContextMenu},null,8,["model-value","class","style","onContextmenu"]),i(L,{modelValue:t.contextMenuShown,"onUpdate:modelValue":r[0]||(r[0]=n=>t.contextMenuShown=n),target:[t.x,t.y]},{default:l(()=>[i(E,null,{default:l(()=>[(u(!0),c(p,null,g(t.contextMenuOptions,(n,N)=>(u(),f(z,{key:N,onClick:v(n.action,["stop"])},{default:l(()=>[i(M,null,{default:l(()=>[w(x(n.title),1)]),_:2},1024)]),_:2},1032,["onClick"]))),128))]),_:1})]),_:1},8,["modelValue","target"]),i(j,{"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 T=B("default",y(e,[["render",_],["__scopeId","data-v-62b9e9e1"]]))}}});
|
@@ -1 +1 @@
|
|
1
|
-
System.register(["./Widget-
|
1
|
+
System.register(["./Widget-C7ms_xDE-a907eb615525da1927c4.js","./BucketExplorer-5ee945d258ed00d10a0b.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})}}})}}});
|
@@ -1,2 +1,2 @@
|
|
1
|
-
System.register(["./BucketExplorer-
|
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"),
|
1
|
+
System.register(["./BucketExplorer-5ee945d258ed00d10a0b.js","vue","./main-34c4cfccf8f208524d70.js","./DetailsDialog-DiVcC3Fg-954b37d79205f3cb618b.js","single-spa","./VWidget-CGdM4sTw-a0c483408dfe2de0236e.js","vue-router","vuex","vuetify","./Widget-C7ms_xDE-a907eb615525da1927c4.js"],function(S,z){"use strict";var a,h,m,s,u,p,o,g,w,f,v,x,y,C,k,V;return{setters:[null,e=>{a=e.resolveComponent,h=e.openBlock,m=e.createElementBlock,s=e.createVNode,u=e.normalizeClass,p=e.normalizeStyle,o=e.withCtx,g=e.Fragment,w=e.renderList,f=e.createBlock,v=e.withModifiers,x=e.createTextVNode,y=e.toDisplayString},e=>{C=e.s},e=>{k=e.P},null,e=>{V=e.L},null,null,null,null],execute:function(){const e={components:{DetailsDialog:k},data:function(){return{width:400,height:400,bytesPerWord:4,wordsPerRow:4,addrFormat:null,formatter:"%02X"}},mixins:[V],computed:{aging(){return{"--aging":this.grayLevel}},rows:function(){return(this.height-16)/24}},created:function(){this.width=this.setWidth(this.parameters[3],"px",this.width),this.height=this.setHeight(this.parameters[4],"px",this.height),this.parameters[5]&&(this.formatter=this.parameters[5]),this.parameters[6]&&(this.bytesPerWord=parseInt(this.parameters[6])),this.parameters[7]&&(this.wordsPerRow=parseInt(this.parameters[7])),this.parameters[8]&&(this.addrFormat=this.parameters[8])},methods:{getType:function(){let t="RAW";return this.parameters[9]&&(t=this.parameters[9]),t},formatValue:function(t){let r="";if(t&&t.raw){let 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"),B=a("v-list"),F=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:u(t.valueClass),style:p([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":r[0]||(r[0]=n=>t.contextMenuShown=n),target:[t.x,t.y]},{default:o(()=>[s(B,null,{default:o(()=>[(h(!0),m(g,null,w(t.contextMenuOptions,(n,j)=>(h(),f(_,{key:j,onClick:v(n.action,["stop"])},{default:o(()=>[s(c,null,{default:o(()=>[x(y(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 L=S("default",C(e,[["render",W],["__scopeId","data-v-4d4589c2"]]))}}});
|