openc3-cosmos-tool-bucketexplorer 6.0.0 → 6.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/tools/bucketexplorer/ArrayWidget-BTxChSds-863ae72df606eb9d4300.js +2 -0
- data/tools/bucketexplorer/BarColumn-Cdu3OoMa-af88bac699d2bf5bef1b.js +1 -0
- data/tools/bucketexplorer/BlockWidget-PmjzrkXF-9f9c01bbaf9271d0a980.js +2 -0
- data/tools/bucketexplorer/{BucketExplorer-5b537808950cfdb2d967.js → BucketExplorer-ca34c0d27e0ad5bbe8a3.js} +58 -58
- data/tools/bucketexplorer/ButtonWidget-nwDlOBJT-5cf75ff872e011709203.js +2 -0
- data/tools/bucketexplorer/CanvasWidget-BL8930eT-73c56bb6932393423907.js +1 -0
- data/tools/bucketexplorer/CanvasdotWidget-VCf1fL-G-51436946fb9a77d4dd57.js +1 -0
- data/tools/bucketexplorer/CanvasimageWidget-BIw7Wbf2-31ebf968e4d323592f80.js +1 -0
- data/tools/bucketexplorer/CanvasimagevalueWidget-CE3Dj5bH-5acc4ce3d50a733a31e2.js +1 -0
- data/tools/bucketexplorer/CanvaslabelWidget-DWmb356h-e90f1900a20e4f2bd1da.js +1 -0
- data/tools/bucketexplorer/CanvaslabelvalueWidget-CI3yYwFs-ee933e5e6bbf01384963.js +1 -0
- data/tools/bucketexplorer/CanvaslineWidget-COeapH3P-e0c47c90f78b81c2ed97.js +1 -0
- data/tools/bucketexplorer/CanvaslinevalueWidget-CI-Bbzfi-ded1bd2057803054e8b0.js +1 -0
- data/tools/bucketexplorer/CheckbuttonWidget-BQhggcZ2-9d6ddd18672d2db4c41e.js +1 -0
- data/tools/bucketexplorer/ComboboxWidget-BzsbOv54-1a2e2a279bc5c21f2337.js +1 -0
- data/tools/bucketexplorer/DateWidget-B5R_9rA8-154f35d2d8d10f84f6e5.js +1 -0
- data/tools/bucketexplorer/{DetailsDialog-EWjtBjle-5ba775af5588b02a6ed6.js → DetailsDialog-DLRMqetn-5a84b59bfebf680c12a9.js} +1 -1
- data/tools/bucketexplorer/{DynamicWidget-m9EliUR2-83b4b626f38bce472413.js → DynamicWidget-m9EliUR2-58d23243c1a102ea29b9.js} +1 -1
- data/tools/bucketexplorer/FormatvalueWidget-DZkRJce8-2113a42e6eb77f82bc3f.js +1 -0
- data/tools/bucketexplorer/GraphWidget-amwxyH1r-dddfb666371baef7f67a.js +1 -0
- data/tools/bucketexplorer/HorizontalWidget-CirtfuL8-c98501e8a25f277378d9.js +1 -0
- data/tools/bucketexplorer/HorizontalboxWidget-CyTDt2nl-1e39f9bc753cd9b1d424.js +1 -0
- data/tools/bucketexplorer/{HorizontallineWidget-BdlNB951-7ae6b6e1b2ce5d970652.js → HorizontallineWidget-BdlNB951-e5a08e757c627c83cdb1.js} +1 -1
- data/tools/bucketexplorer/IframeWidget-DnJmCrCA-662bebc5d8e32763429e.js +1 -0
- data/tools/bucketexplorer/{ImageLoader-CDLQopxJ-e62f22afdfda9e31d682.js → ImageLoader-CpcR6tPi-deecbf2d731f6a55d962.js} +1 -1
- data/tools/bucketexplorer/ImageviewerWidget-DIkmb_C9-83cfbc94386769cffa1b.js +1 -0
- data/tools/bucketexplorer/LabelWidget-BDsypYho-87202b628eb4ed4b33dc.js +1 -0
- data/tools/bucketexplorer/LabelledWidget-DjturGl5-e517bfe9f699f8e9bab1.js +1 -0
- data/tools/bucketexplorer/LabelprogressbarWidget-RADJGLj3-47df67f537072a68eb4d.js +1 -0
- data/tools/bucketexplorer/LabelsparklineWidget-BlJoICxu-8f4bffddbef8903d84d5.js +1 -0
- data/tools/bucketexplorer/LabelvalueWidget-DVWJqnlY-9cc7dd06411c3794787f.js +1 -0
- data/tools/bucketexplorer/LabelvaluedescWidget-CsUP7J4U-a0b268def5593689db71.js +1 -0
- data/tools/bucketexplorer/LabelvaluelimitsbarWidget-Blj1QXV8-83fee6603947aaf14f19.js +1 -0
- data/tools/bucketexplorer/LabelvaluelimitscolumnWidget-CvCo-uCe-178065792a6108d15976.js +1 -0
- data/tools/bucketexplorer/LabelvaluerangebarWidget-DpcXhlfF-cc3416449084b053d162.js +1 -0
- data/tools/bucketexplorer/{Layout-klOVw-YN-36ded4f02b701947153d.js → Layout-C1HoM4Kl-e9cbf20bd9c6068ced4f.js} +1 -1
- data/tools/bucketexplorer/LedWidget-B_K2e5tq-b6e1c559e431c2d45ae6.js +1 -0
- data/tools/bucketexplorer/LimitsbarWidget-DXbqsi4J-7ad1787a9883a599f2b5.js +1 -0
- data/tools/bucketexplorer/LimitscolorWidget-Ckmuw0YX-07506fb06cb41ea914e0.js +1 -0
- data/tools/bucketexplorer/LimitscolumnWidget-BfY4su5U-a79b69e3dd34d14c2d40.js +1 -0
- data/tools/bucketexplorer/LinegraphWidget-y-Qy9P0R-6f9e7bcf28671c75f87c.js +1 -0
- data/tools/bucketexplorer/MatrixbycolumnsWidget-BTBColrs-eb1edc42399c66dfd587.js +1 -0
- data/tools/bucketexplorer/ProgressbarWidget-DpA_-vy9-578d146b82873aa2d27a.js +1 -0
- data/tools/bucketexplorer/RadiobuttonWidget-BO8zpgwW-bbdf6ead5d796ada3280.js +1 -0
- data/tools/bucketexplorer/RadiogroupWidget-Oy7V4S-V-cea900971c019aa7144b.js +1 -0
- data/tools/bucketexplorer/RangebarWidget-DHS7S3vI-bf731e4254c49fd394ac.js +1 -0
- data/tools/bucketexplorer/RollupWidget-CTk9Kjwr-11bbd5c31947eeefb8fb.js +1 -0
- data/tools/bucketexplorer/ScrollwindowWidget-DD0TOW6s-4f41dc900bd855d2f59e.js +1 -0
- data/tools/bucketexplorer/SignalWidget-CC33KMTW-24982614f04050c4644f.js +1 -0
- data/tools/bucketexplorer/SpacerWidget-BnJe_Hq6-36724e406716eafbb949.js +1 -0
- data/tools/bucketexplorer/SparklineWidget-DMvMQCPm-cad11960128f27cff475.js +1 -0
- data/tools/bucketexplorer/TabbookWidget-B3w0JtWe-75677686d23a47a8c01b.js +1 -0
- data/tools/bucketexplorer/TextboxWidget-D2f0-eol-052d034e7a0a2601f151.js +1 -0
- data/tools/bucketexplorer/TextfieldWidget-DXSdgqVP-4272cdce9ee740fb33b4.js +1 -0
- data/tools/bucketexplorer/TimeWidget-DvrRaEMz-9d5bbd6cafc9fe271080.js +1 -0
- data/tools/bucketexplorer/TitleWidget-DqViFQl--5f19c46f4334ae583d21.js +1 -0
- data/tools/bucketexplorer/{VWidget-Dmqf_jKM-9036168adfc98945614f.js → VWidget-02CG-3Av-8f58af932741638eb400.js} +1 -1
- data/tools/bucketexplorer/ValueWidget-KLYY8L8U-84e87d5eeff67ae24e4e.js +1 -0
- data/tools/bucketexplorer/ValuelimitsbarWidget-SR8XNZFB-bcd62458733e7b10c2b6.js +1 -0
- data/tools/bucketexplorer/ValuelimitscolumnWidget-xYZSp6YZ-725bf57a4a2af14363ec.js +1 -0
- data/tools/bucketexplorer/ValuerangebarWidget-B6M02a9d-f4b6cdaa152908947b07.js +1 -0
- data/tools/bucketexplorer/VerticalWidget-z6xUM-ql-38ddd70df71f79fc3160.js +1 -0
- data/tools/bucketexplorer/VerticalboxWidget-3a9cVsW--d44abe38176140c1cf9d.js +1 -0
- data/tools/bucketexplorer/{Widget-orNSvnOh-3bb7e80962cb50dfe65f.js → Widget-C4QVI4IH-7ece2725e081ecfaee00.js} +1 -1
- data/tools/bucketexplorer/{main-1e9165296521295ce8cd.js → main-60732a230373be3a696b.js} +1 -1
- data/tools/bucketexplorer/main.js +1 -1
- metadata +67 -67
- data/tools/bucketexplorer/ArrayWidget-By62tXtU-8f33e8321ef1d3fe7d37.js +0 -2
- data/tools/bucketexplorer/BarColumn-Dm3D1Lhp-c2c3ce1466eec0a3fe11.js +0 -1
- data/tools/bucketexplorer/BlockWidget-CrT45ode-2679087bb254510a1933.js +0 -2
- data/tools/bucketexplorer/ButtonWidget-CKyBBv6m-f0e78fd47ef48e139a32.js +0 -2
- data/tools/bucketexplorer/CanvasWidget-PqkppHC7-4e170504201c5d5da660.js +0 -1
- data/tools/bucketexplorer/CanvasdotWidget-BUbJgM2d-43ebb055d8dca6562047.js +0 -1
- data/tools/bucketexplorer/CanvasimageWidget-DPVBY7mi-373a581e892ee8d25151.js +0 -1
- data/tools/bucketexplorer/CanvasimagevalueWidget-GX37zzNc-bf3ecd8b0face0e8e57d.js +0 -1
- data/tools/bucketexplorer/CanvaslabelWidget-P2_Y6Edw-b3a96ce1ee07320799cc.js +0 -1
- data/tools/bucketexplorer/CanvaslabelvalueWidget-Cuas1i9P-e1d5a85ff01854b3ed2d.js +0 -1
- data/tools/bucketexplorer/CanvaslineWidget-BYOYgPya-a78c8160cccbbec9c086.js +0 -1
- data/tools/bucketexplorer/CanvaslinevalueWidget-3cVJMFo7-aa1a15f703557486b807.js +0 -1
- data/tools/bucketexplorer/CheckbuttonWidget-B3wgSMuB-940809ed24ffaf77baad.js +0 -1
- data/tools/bucketexplorer/ComboboxWidget-Dzr4Scvf-3901799f4c7b9538f037.js +0 -1
- data/tools/bucketexplorer/DateWidget-BWh76Ibb-20d6aafc770af85671ad.js +0 -1
- data/tools/bucketexplorer/FormatvalueWidget-Rk0_eeIm-1e274b4dc1511553b08d.js +0 -1
- data/tools/bucketexplorer/GraphWidget-LqekkNDr-da173601574048e1a1fc.js +0 -1
- data/tools/bucketexplorer/HorizontalWidget-BcfJ24Zn-f7660bcb488e69ef9c9c.js +0 -1
- data/tools/bucketexplorer/HorizontalboxWidget-CQy1Hv9E-9175f81379b610b7f6e0.js +0 -1
- data/tools/bucketexplorer/IframeWidget-BBaDrRLo-84cf059c641c1b6956e6.js +0 -1
- data/tools/bucketexplorer/ImageviewerWidget-BgO3Pq6I-70f67593e2a277b5380d.js +0 -1
- data/tools/bucketexplorer/LabelWidget-B_C6lKOE-4df235a597dafa77d277.js +0 -1
- data/tools/bucketexplorer/LabelledWidget-B_UGivhr-26b7aae3e3d1f17987ca.js +0 -1
- data/tools/bucketexplorer/LabelprogressbarWidget-BJWCmsYC-e102ec760120df1f31d3.js +0 -1
- data/tools/bucketexplorer/LabelsparklineWidget-DILCIh3q-861da511567c33a45af0.js +0 -1
- data/tools/bucketexplorer/LabelvalueWidget-CCZd1NXE-cec6c130ee113eab9a22.js +0 -1
- data/tools/bucketexplorer/LabelvaluedescWidget-Bsllq8W6-7ef06ad09ae65430e18a.js +0 -1
- data/tools/bucketexplorer/LabelvaluelimitsbarWidget-BV-cfaD--f3f911842b22632d7d18.js +0 -1
- data/tools/bucketexplorer/LabelvaluelimitscolumnWidget-DwA0eRBw-24b769bde34bd6ea7f6d.js +0 -1
- data/tools/bucketexplorer/LabelvaluerangebarWidget-3GDJz3dj-b8e8efd98495e4e74314.js +0 -1
- data/tools/bucketexplorer/LedWidget-BAt02s0J-675593ca2bd521e0b825.js +0 -1
- data/tools/bucketexplorer/LimitsbarWidget-JJiyzZjb-8e568c13daceebfafb30.js +0 -1
- data/tools/bucketexplorer/LimitscolorWidget-CYzXKbYd-f0a0a05a473d0f7b06b1.js +0 -1
- data/tools/bucketexplorer/LimitscolumnWidget-Cd76tBo7-506f3ee3bba6cb39bdfe.js +0 -1
- data/tools/bucketexplorer/LinegraphWidget-DWRtO6Ej-c5b90cf915cd6ed5d76d.js +0 -1
- data/tools/bucketexplorer/MatrixbycolumnsWidget-cwsyjNV2-9369719ed5db578a8d5c.js +0 -1
- data/tools/bucketexplorer/ProgressbarWidget-CYDziFej-f5d05b41e872fd03741c.js +0 -1
- data/tools/bucketexplorer/RadiobuttonWidget-U6jcQZoD-cee759169498f19f2f88.js +0 -1
- data/tools/bucketexplorer/RadiogroupWidget-HTPJnsB0-38beec3493bb72dd7e0c.js +0 -1
- data/tools/bucketexplorer/RangebarWidget-DW0FJK6y-c984a69595fe0bb8514d.js +0 -1
- data/tools/bucketexplorer/RollupWidget-B2qrx55f-5f145f0e8bd4e2ea657a.js +0 -1
- data/tools/bucketexplorer/ScrollwindowWidget-CwIDxgO6-3298f14b80a3ca255e72.js +0 -1
- data/tools/bucketexplorer/SignalWidget-Bosa3AbW-d7555d2f2bca8455dea8.js +0 -1
- data/tools/bucketexplorer/SpacerWidget-DYAlt5mt-9a223f8267dd8db957c0.js +0 -1
- data/tools/bucketexplorer/SparklineWidget-CDrVXOFV-cddc3cbe8e053f160dcc.js +0 -1
- data/tools/bucketexplorer/TabbookWidget-DDdlzCkv-270a99fbda6ea8535d33.js +0 -1
- data/tools/bucketexplorer/TextboxWidget-5euFelEq-11605b662c6d4f59775c.js +0 -1
- data/tools/bucketexplorer/TextfieldWidget-BFripYeh-9dfc598664182529c356.js +0 -1
- data/tools/bucketexplorer/TimeWidget-BBSbsUYJ-5800c5223fdaac181c42.js +0 -1
- data/tools/bucketexplorer/TitleWidget-p8cjo-Bs-4080e5e107d426060e14.js +0 -1
- data/tools/bucketexplorer/ValueWidget-CZh7JWwT-1b5cd369cb847f4db4e7.js +0 -1
- data/tools/bucketexplorer/ValuelimitsbarWidget-DU7ybswC-c952ab6d66ff7e5b17e2.js +0 -1
- data/tools/bucketexplorer/ValuelimitscolumnWidget-DMw-h5jM-c79abafbd299609b2887.js +0 -1
- data/tools/bucketexplorer/ValuerangebarWidget-DPpofDpA-c552ad527bd6a006445f.js +0 -1
- data/tools/bucketexplorer/VerticalWidget-Ch7VAEmz-ac356c2b467349921d10.js +0 -1
- data/tools/bucketexplorer/VerticalboxWidget-DYx-TFT4-fffa9647d711f819e877.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: 96069c311b23511e2b956b44e59802b4a31475e36887cd9fbf885cf624a78e2d
|
4
|
+
data.tar.gz: 1cc37aacf87dd0364539ca1d8a153c01bb60230df214b4824f9bb902c84152a3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 25bd212bcf5b2e1086c0c126340a92501a2a837324b7fe74e9f75b626b4207297070bf726f63294ce539217315e5b4dd133e68dc024d497f8ecf82d922bb151e
|
7
|
+
data.tar.gz: 8454dc55510b676aa3e5a6ec8e4dd73c03c3b2dd1fc60dbc9307f124cfae6404a5d3c5e23155d37dcd6a48b803ac5ba72b8b41ba3fc685b3e524966a69e7da0e
|
@@ -0,0 +1,2 @@
|
|
1
|
+
System.register(["./BucketExplorer-ca34c0d27e0ad5bbe8a3.js","vue","./main-60732a230373be3a696b.js","./DetailsDialog-DLRMqetn-5a84b59bfebf680c12a9.js","single-spa","./VWidget-02CG-3Av-8f58af932741638eb400.js","vue-router","vuex","vuetify","./Widget-C4QVI4IH-7ece2725e081ecfaee00.js"],function(B,N){"use strict";var a,u,c,i,h,d,l,p,g,f,v,w,y,x,C,V;return{setters:[null,t=>{a=t.resolveComponent,u=t.openBlock,c=t.createElementBlock,i=t.createVNode,h=t.normalizeClass,d=t.normalizeStyle,l=t.withCtx,p=t.Fragment,g=t.renderList,f=t.createBlock,v=t.withModifiers,w=t.createTextVNode,y=t.toDisplayString},t=>{x=t.s},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}}},S={class:"array-widget-container"};function L(e,r,s,k,D,o){const m=a("v-textarea"),M=a("v-list-item-title"),_=a("v-list-item"),z=a("v-list"),j=a("v-menu"),E=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":e._value,class:h(e.valueClass),style:d([e.computedStyle,o.aging]),"data-test":"array-widget",onContextmenu:e.showContextMenu},null,8,["model-value","class","style","onContextmenu"]),i(j,{modelValue:e.contextMenuShown,"onUpdate:modelValue":r[0]||(r[0]=n=>e.contextMenuShown=n),target:[e.x,e.y]},{default:l(()=>[i(z,null,{default:l(()=>[(u(!0),c(p,null,g(e.contextMenuOptions,(n,I)=>(u(),f(_,{key:I,onClick:v(n.action,["stop"])},{default:l(()=>[i(M,null,{default:l(()=>[w(y(n.title),1)]),_:2},1024)]),_:2},1032,["onClick"]))),128))]),_:1})]),_:1},8,["modelValue","target"]),i(E,{"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 P=B("default",x(t,[["render",L],["__scopeId","data-v-62b9e9e1"]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./Widget-C4QVI4IH-7ece2725e081ecfaee00.js","./BucketExplorer-ca34c0d27e0ad5bbe8a3.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(["./BucketExplorer-ca34c0d27e0ad5bbe8a3.js","vue","./main-60732a230373be3a696b.js","./DetailsDialog-DLRMqetn-5a84b59bfebf680c12a9.js","single-spa","./VWidget-02CG-3Av-8f58af932741638eb400.js","vue-router","vuex","vuetify","./Widget-C4QVI4IH-7ece2725e081ecfaee00.js"],function(S,b){"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"),B=a("v-list-item"),_=a("v-list"),F=a("v-menu"),L=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(_,null,{default:o(()=>[(h(!0),m(g,null,w(t.contextMenuOptions,(n,R)=>(h(),f(B,{key:R,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(L,{"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 j=S("default",C(e,[["render",W],["__scopeId","data-v-4d4589c2"]]))}}});
|