openc3-cosmos-tool-bucketexplorer 5.19.0 → 6.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (76) hide show
  1. checksums.yaml +4 -4
  2. data/plugin.txt +1 -1
  3. data/tools/bucketexplorer/ArrayWidget-By62tXtU-8f33e8321ef1d3fe7d37.js +2 -0
  4. data/tools/bucketexplorer/BarColumn-Dm3D1Lhp-c2c3ce1466eec0a3fe11.js +1 -0
  5. data/tools/bucketexplorer/BlockWidget-CrT45ode-2679087bb254510a1933.js +2 -0
  6. data/tools/bucketexplorer/BucketExplorer-5b537808950cfdb2d967.js +1424 -0
  7. data/tools/bucketexplorer/ButtonWidget-CKyBBv6m-f0e78fd47ef48e139a32.js +2 -0
  8. data/tools/bucketexplorer/CanvasWidget-PqkppHC7-4e170504201c5d5da660.js +1 -0
  9. data/tools/bucketexplorer/CanvasdotWidget-BUbJgM2d-43ebb055d8dca6562047.js +1 -0
  10. data/tools/bucketexplorer/CanvasimageWidget-DPVBY7mi-373a581e892ee8d25151.js +1 -0
  11. data/tools/bucketexplorer/CanvasimagevalueWidget-GX37zzNc-bf3ecd8b0face0e8e57d.js +1 -0
  12. data/tools/bucketexplorer/CanvaslabelWidget-P2_Y6Edw-b3a96ce1ee07320799cc.js +1 -0
  13. data/tools/bucketexplorer/CanvaslabelvalueWidget-Cuas1i9P-e1d5a85ff01854b3ed2d.js +1 -0
  14. data/tools/bucketexplorer/CanvaslineWidget-BYOYgPya-a78c8160cccbbec9c086.js +1 -0
  15. data/tools/bucketexplorer/CanvaslinevalueWidget-3cVJMFo7-aa1a15f703557486b807.js +1 -0
  16. data/tools/bucketexplorer/CheckbuttonWidget-B3wgSMuB-940809ed24ffaf77baad.js +1 -0
  17. data/tools/bucketexplorer/ComboboxWidget-Dzr4Scvf-3901799f4c7b9538f037.js +1 -0
  18. data/tools/bucketexplorer/DateWidget-BWh76Ibb-20d6aafc770af85671ad.js +1 -0
  19. data/tools/bucketexplorer/DetailsDialog-EWjtBjle-5ba775af5588b02a6ed6.js +1 -0
  20. data/tools/bucketexplorer/DynamicWidget-m9EliUR2-83b4b626f38bce472413.js +1 -0
  21. data/tools/bucketexplorer/FormatvalueWidget-Rk0_eeIm-1e274b4dc1511553b08d.js +1 -0
  22. data/tools/bucketexplorer/GraphWidget-LqekkNDr-da173601574048e1a1fc.js +1 -0
  23. data/tools/bucketexplorer/HorizontalWidget-BcfJ24Zn-f7660bcb488e69ef9c9c.js +1 -0
  24. data/tools/bucketexplorer/HorizontalboxWidget-CQy1Hv9E-9175f81379b610b7f6e0.js +1 -0
  25. data/tools/bucketexplorer/HorizontallineWidget-BdlNB951-7ae6b6e1b2ce5d970652.js +1 -0
  26. data/tools/bucketexplorer/IframeWidget-BBaDrRLo-84cf059c641c1b6956e6.js +1 -0
  27. data/tools/bucketexplorer/ImageLoader-CDLQopxJ-e62f22afdfda9e31d682.js +1 -0
  28. data/tools/bucketexplorer/ImageviewerWidget-BgO3Pq6I-70f67593e2a277b5380d.js +1 -0
  29. data/tools/bucketexplorer/LabelWidget-B_C6lKOE-4df235a597dafa77d277.js +1 -0
  30. data/tools/bucketexplorer/LabelledWidget-B_UGivhr-26b7aae3e3d1f17987ca.js +1 -0
  31. data/tools/bucketexplorer/LabelprogressbarWidget-BJWCmsYC-e102ec760120df1f31d3.js +1 -0
  32. data/tools/bucketexplorer/LabelsparklineWidget-DILCIh3q-861da511567c33a45af0.js +1 -0
  33. data/tools/bucketexplorer/LabelvalueWidget-CCZd1NXE-cec6c130ee113eab9a22.js +1 -0
  34. data/tools/bucketexplorer/LabelvaluedescWidget-Bsllq8W6-7ef06ad09ae65430e18a.js +1 -0
  35. data/tools/bucketexplorer/LabelvaluelimitsbarWidget-BV-cfaD--f3f911842b22632d7d18.js +1 -0
  36. data/tools/bucketexplorer/LabelvaluelimitscolumnWidget-DwA0eRBw-24b769bde34bd6ea7f6d.js +1 -0
  37. data/tools/bucketexplorer/LabelvaluerangebarWidget-3GDJz3dj-b8e8efd98495e4e74314.js +1 -0
  38. data/tools/bucketexplorer/Layout-klOVw-YN-36ded4f02b701947153d.js +1 -0
  39. data/tools/bucketexplorer/LedWidget-BAt02s0J-675593ca2bd521e0b825.js +1 -0
  40. data/tools/bucketexplorer/LimitsbarWidget-JJiyzZjb-8e568c13daceebfafb30.js +1 -0
  41. data/tools/bucketexplorer/LimitscolorWidget-CYzXKbYd-f0a0a05a473d0f7b06b1.js +1 -0
  42. data/tools/bucketexplorer/LimitscolumnWidget-Cd76tBo7-506f3ee3bba6cb39bdfe.js +1 -0
  43. data/tools/bucketexplorer/LinegraphWidget-DWRtO6Ej-c5b90cf915cd6ed5d76d.js +1 -0
  44. data/tools/bucketexplorer/MatrixbycolumnsWidget-cwsyjNV2-9369719ed5db578a8d5c.js +1 -0
  45. data/tools/bucketexplorer/ProgressbarWidget-CYDziFej-f5d05b41e872fd03741c.js +1 -0
  46. data/tools/bucketexplorer/RadiobuttonWidget-U6jcQZoD-cee759169498f19f2f88.js +1 -0
  47. data/tools/bucketexplorer/RadiogroupWidget-HTPJnsB0-38beec3493bb72dd7e0c.js +1 -0
  48. data/tools/bucketexplorer/RangebarWidget-DW0FJK6y-c984a69595fe0bb8514d.js +1 -0
  49. data/tools/bucketexplorer/RollupWidget-B2qrx55f-5f145f0e8bd4e2ea657a.js +1 -0
  50. data/tools/bucketexplorer/ScrollwindowWidget-CwIDxgO6-3298f14b80a3ca255e72.js +1 -0
  51. data/tools/bucketexplorer/SignalWidget-Bosa3AbW-d7555d2f2bca8455dea8.js +1 -0
  52. data/tools/bucketexplorer/SpacerWidget-DYAlt5mt-9a223f8267dd8db957c0.js +1 -0
  53. data/tools/bucketexplorer/SparklineWidget-CDrVXOFV-cddc3cbe8e053f160dcc.js +1 -0
  54. data/tools/bucketexplorer/TabbookWidget-DDdlzCkv-270a99fbda6ea8535d33.js +1 -0
  55. data/tools/bucketexplorer/TextboxWidget-5euFelEq-11605b662c6d4f59775c.js +1 -0
  56. data/tools/bucketexplorer/TextfieldWidget-BFripYeh-9dfc598664182529c356.js +1 -0
  57. data/tools/bucketexplorer/TimeWidget-BBSbsUYJ-5800c5223fdaac181c42.js +1 -0
  58. data/tools/bucketexplorer/TitleWidget-p8cjo-Bs-4080e5e107d426060e14.js +1 -0
  59. data/tools/bucketexplorer/VWidget-Dmqf_jKM-9036168adfc98945614f.js +1 -0
  60. data/tools/bucketexplorer/ValueWidget-CZh7JWwT-1b5cd369cb847f4db4e7.js +1 -0
  61. data/tools/bucketexplorer/ValuelimitsbarWidget-DU7ybswC-c952ab6d66ff7e5b17e2.js +1 -0
  62. data/tools/bucketexplorer/ValuelimitscolumnWidget-DMw-h5jM-c79abafbd299609b2887.js +1 -0
  63. data/tools/bucketexplorer/ValuerangebarWidget-DPpofDpA-c552ad527bd6a006445f.js +1 -0
  64. data/tools/bucketexplorer/VerticalWidget-Ch7VAEmz-ac356c2b467349921d10.js +1 -0
  65. data/tools/bucketexplorer/VerticalboxWidget-DYx-TFT4-fffa9647d711f819e877.js +1 -0
  66. data/tools/bucketexplorer/Widget-orNSvnOh-3bb7e80962cb50dfe65f.js +1 -0
  67. data/tools/bucketexplorer/main-1e9165296521295ce8cd.js +8 -0
  68. data/tools/bucketexplorer/main.js +1 -0
  69. metadata +68 -9
  70. data/tools/bucketexplorer/index.html +0 -4
  71. data/tools/bucketexplorer/js/388.js +0 -2
  72. data/tools/bucketexplorer/js/388.js.map +0 -1
  73. data/tools/bucketexplorer/js/570.js +0 -2
  74. data/tools/bucketexplorer/js/570.js.map +0 -1
  75. data/tools/bucketexplorer/js/app.js +0 -2
  76. data/tools/bucketexplorer/js/app.js.map +0 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3cb5ad3b6ec2fb02c7b4ff9fcc54a3c3651900a63162299b9c7f803085852a19
4
- data.tar.gz: 1fe48188bc87883dbf987a7b124643fdc88246e1036468c516cb21632fdad28c
3
+ metadata.gz: 77179c54062209bdbc8d920d414456986dcd64b10049bc644627c0343b0b9425
4
+ data.tar.gz: 29a29388da3b6278c79dd1ea49ea8e0301e1d125ae7db5c1e26f2bb31a1261b7
5
5
  SHA512:
6
- metadata.gz: 956aaf00b923729d507a4eadc9d7173f446aaf6f4b3d835e797b2b9dad266fb5ba6316bede6da97788dbad642f5f76d2675cec99e09da185d20717109c43099a
7
- data.tar.gz: 6b6d0e30c31e352e2efe879cf0dec07b4f7b55fd567ddd16ee2be152818bfb29c51e797bdcc868a318d260e296448380212845121039e53ad95d226543062202
6
+ metadata.gz: 2d1672a59f0c75b193385ae609aea02d0645d6bd54a65772bef0a37f6e12feaa5df7742cfc045dd10506d7824066b96b9268f7aafaef381921a29af189bc5aec
7
+ data.tar.gz: 64456a9eed4d834796c730db1c57599da86ae7dc28425cf990219382637b28a6a4086aae82312db5b7a73c7b9733e8a74c3b5cd1927f3668fbfb752019130a64
data/plugin.txt CHANGED
@@ -1,5 +1,5 @@
1
1
  TOOL bucketexplorer "Bucket Explorer"
2
- INLINE_URL js/app.js
2
+ INLINE_URL main.js
3
3
  ICON mdi-pail
4
4
  POSITION 13
5
5
  CATEGORY Utilities
@@ -0,0 +1,2 @@
1
+ System.register(["./BucketExplorer-5b537808950cfdb2d967.js","vue","./main-1e9165296521295ce8cd.js","./DetailsDialog-EWjtBjle-5ba775af5588b02a6ed6.js","./VWidget-Dmqf_jKM-9036168adfc98945614f.js","vue-router","vuex","vuetify","./Widget-orNSvnOh-3bb7e80962cb50dfe65f.js"],function(B,P){"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},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 j(e,r,s,k,D,o){const m=a("v-textarea"),_=a("v-list-item-title"),M=a("v-list-item"),z=a("v-list"),E=a("v-menu"),L=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(E,{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,N)=>(u(),f(M,{key:N,onClick:v(n.action,["stop"])},{default:l(()=>[i(_,null,{default:l(()=>[w(y(n.title),1)]),_:2},1024)]),_:2},1032,["onClick"]))),128))]),_:1})]),_:1},8,["modelValue","target"]),i(L,{"target-name":e.parameters[0],"packet-name":e.parameters[1],"item-name":e.parameters[2],modelValue:e.viewDetails,"onUpdate:modelValue":r[1]||(r[1]=n=>e.viewDetails=n)},null,8,["target-name","packet-name","item-name","modelValue"])])}const R=B("default",x(t,[["render",j],["__scopeId","data-v-62b9e9e1"]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-orNSvnOh-3bb7e80962cb50dfe65f.js","./BucketExplorer-5b537808950cfdb2d967.js"],function(a,n){"use strict";var h,l;return{setters:[s=>{h=s.o},s=>{l=s.W}],execute:function(){const s=a("u",{mixins:[h],data(){return{minValue:null,maxValue:null,redLow:0,yellowLow:0,greenLow:0,greenHigh:0,yellowHigh:0,redHigh:0,blue:0,api:null,limitsSettings:{DEFAULT:[]},currentLimitsSet:"DEFAULT",currentSetRefreshInterval:null}},computed:{cssProps:function(){let t=this.screenValues[this.valueId][0],i=this.modifyLimits(this.limitsSettings[this.selectedLimitsSet]);return this.calcLimits(i),{"--height":this.height+"px","--width":this.width+"px","--container-height":this.height-5+"px","--position":this.calcPosition(t,i)+"%","--redlow-width":this.redLow+"%","--redhigh-width":this.redHigh+"%","--yellowlow-width":this.yellowLow+"%","--yellowhigh-width":this.yellowHigh+"%","--greenlow-width":this.greenLow+"%","--greenhigh-width":this.greenHigh+"%","--blue-width":this.blue+"%"}},selectedLimitsSet:function(){return this.limitsSettings.hasOwnProperty(this.currentLimitsSet)?this.currentLimitsSet:"DEFAULT"}},created(){this.api=new l,this.api.get_limits(this.parameters[0],this.parameters[1],this.parameters[2]).then(t=>{this.limitsSettings=t}),this.getCurrentLimitsSet(),this.currentSetRefreshInterval=setInterval(this.getCurrentLimitsSet,6e4),this.appliedSettings.forEach(t=>{t[0]==="MIN_VALUE"&&(this.minValue=parseInt(t[1])),t[0]==="MAX_VALUE"&&(this.maxValue=parseInt(t[1]))}),this.width=this.setWidth(this.parameters[4],"px",this.width),this.height=this.setHeight(this.parameters[5],"px",this.height),this.valueId=`${this.parameters[0]}__${this.parameters[1]}__${this.parameters[2]}__CONVERTED`,this.$emit("addItem",this.valueId)},destroyed(){this.$emit("deleteItem",this.valueId),clearInterval(this.currentSetRefreshInterval)},methods:{modifyLimits(t){this.redLow=10,this.redHigh=10,this.minValue!==null&&(t[0]<=this.minValue&&(t[0]=this.minValue,this.redLow=0),t[1]<=this.minValue&&(t[1]=this.minValue),t[2]<=this.minValue&&(t[2]=this.minValue),t[3]<=this.minValue&&(t[3]=this.minValue),t.length>4&&t[4]<=this.minValue&&(t[4]=this.minValue),t.length>4&&t[5]<=this.minValue&&(t[5]=this.minValue)),this.maxValue!==null&&(t[0]>=this.maxValue&&(t[0]=this.maxValue),t[1]>=this.maxValue&&(t[1]=this.maxValue),t[2]>=this.maxValue&&(t[2]=this.maxValue),t[3]>=this.maxValue&&(t[3]=this.maxValue,this.redHigh=0),t.length>4&&t[4]>=this.maxValue&&(t[4]=this.maxValue),t.length>4&&t[5]>=this.maxValue&&(t[5]=this.maxValue)),t[0]==t[1]&&(this.yellowLow=0),t[2]==t[3]&&(this.yellowHigh=0);let i=80;return this.redLow==0&&(i+=10),this.redHigh==0&&(i+=10),this.scale=(t[3]-t[0])/i,t},calcPosition(t,i){if(!t||!i)return;let r=i[0]-10*this.scale;if(this.minValue&&this.minValue==i[0]&&(r=i[0]),i[3]-10*this.scale,this.maxValue&&this.maxValue==i[3]&&i[3],t.raw)return t.raw==="-Infinity"?0:100;if(t<this.min)return 0;if(t>this.max)return 100;{const e=parseInt((t-r)/this.scale);return e>100?100:e<0?0:e}},calcLimits(t){t&&(this.yellowLow=Math.round((t[1]-t[0])/this.scale),this.yellowHigh=Math.round((t[3]-t[2])/this.scale),t.length>4?(this.greenLow=Math.round((t[4]-t[1])/this.scale),this.greenHigh=Math.round((t[2]-t[5])/this.scale),this.blue=Math.round(100-this.redLow-this.yellowLow-this.greenLow-this.greenHigh-this.yellowHigh-this.redHigh)):(this.greenLow=Math.round(100-this.redLow-this.yellowLow-this.yellowHigh-this.redHigh),this.greenHigh=0,this.blue=0))},getCurrentLimitsSet:function(){this.api.get_limits_set().then(t=>{this.currentLimitsSet=t})}}})}}});
@@ -0,0 +1,2 @@
1
+ System.register(["./BucketExplorer-5b537808950cfdb2d967.js","vue","./main-1e9165296521295ce8cd.js","./DetailsDialog-EWjtBjle-5ba775af5588b02a6ed6.js","./VWidget-Dmqf_jKM-9036168adfc98945614f.js","vue-router","vuex","vuetify","./Widget-orNSvnOh-3bb7e80962cb50dfe65f.js"],function(P,z){"use strict";var a,h,m,s,u,p,o,g,w,f,v,x,y,k,C,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=>{k=e.s},e=>{C=e.P},e=>{V=e.L},null,null,null,null],execute:function(){const e={components:{DetailsDialog:C},data:function(){return{width:400,height:400,bytesPerWord:4,wordsPerRow:4,addrFormat:null,formatter:"%02X"}},mixins:[V],computed:{aging(){return{"--aging":this.grayLevel}},rows:function(){return(this.height-16)/24}},created:function(){this.width=this.setWidth(this.parameters[3],"px",this.width),this.height=this.setHeight(this.parameters[4],"px",this.height),this.parameters[5]&&(this.formatter=this.parameters[5]),this.parameters[6]&&(this.bytesPerWord=parseInt(this.parameters[6])),this.parameters[7]&&(this.wordsPerRow=parseInt(this.parameters[7])),this.parameters[8]&&(this.addrFormat=this.parameters[8])},methods:{getType:function(){let t="RAW";return this.parameters[9]&&(t=this.parameters[9]),t},formatValue:function(t){let r="";if(t&&t.raw){let S=" ",D=`
2
+ `,i=0,l=0;const d=this.bytesPerWord*this.wordsPerRow;for(const c of t.raw)this.addrFormat&&i===0&&(r+=sprintf(this.addrFormat,l),l+=d),r+=sprintf(this.formatter,c),i+=1,i%d===0?(i=0,r+=D):i%this.bytesPerWord===0&&(r+=S)}else r=t;return r}}},W={class:"block-widget-container"};function j(t,r,S,D,i,l){const d=a("v-textarea"),c=a("v-list-item-title"),B=a("v-list-item"),M=a("v-list"),_=a("v-menu"),F=a("details-dialog");return h(),m("div",W,[s(d,{variant:"solo",density:"compact",readonly:"","no-resize":"","hide-details":"",rows:l.rows,width:t.width,"model-value":t._value,class: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(_,{modelValue:t.contextMenuShown,"onUpdate:modelValue":r[0]||(r[0]=n=>t.contextMenuShown=n),target:[t.x,t.y]},{default:o(()=>[s(M,null,{default:o(()=>[(h(!0),m(g,null,w(t.contextMenuOptions,(n,b)=>(h(),f(B,{key:b,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(F,{"target-name":t.parameters[0],"packet-name":t.parameters[1],"item-name":t.parameters[2],modelValue:t.viewDetails,"onUpdate:modelValue":r[1]||(r[1]=n=>t.viewDetails=n)},null,8,["target-name","packet-name","item-name","modelValue"])])}const L=P("default",k(e,[["render",j],["__scopeId","data-v-4d4589c2"]]))}}});