openc3-cosmos-tool-bucketexplorer 6.2.1 → 6.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/tools/bucketexplorer/{ArrayWidget-BxEO5hEG-12f7fef6c5884b710ef9.js → ArrayWidget-BbsN1dzF-3c816617807c4a1bbd0b.js} +2 -2
- data/tools/bucketexplorer/{ArrayplotWidget-B_VPoV4v-35cdd612c424b3c44a8c.js → ArrayplotWidget-CCKEyYIx-e643e8798adc5b452a84.js} +1 -1
- data/tools/bucketexplorer/{BarColumn-C9dkpg2O-1432315a71bbe5982050.js → BarColumn-C6p07yWK-5c7bbacb85aff7c1e7ca.js} +1 -1
- data/tools/bucketexplorer/{BlockWidget-CuefOin6-a2c4af7121737a19d658.js → BlockWidget-DlCHbqZX-2e2734ab4b0f1a5538ac.js} +2 -2
- data/tools/bucketexplorer/BucketExplorer-b5be590d781a24b34d51.js +1501 -0
- data/tools/bucketexplorer/{ButtonWidget-B6HM0Doo-7738bdd69ffbf42f3774.js → ButtonWidget-CtfJzCBR-49ed86a3eeaff7fb591e.js} +2 -2
- data/tools/bucketexplorer/{CanvasWidget-DZQGG-yQ-14c5783f4eba6f543199.js → CanvasWidget-CqRlXc4r-df0117c2b26a03da9da9.js} +1 -1
- data/tools/bucketexplorer/CanvasdotWidget--Xr_KsZs-fc30f1224a7323408794.js +1 -0
- data/tools/bucketexplorer/{CanvasimageWidget-mhcPpAuN-b728b60d0097542fa59a.js → CanvasimageWidget-BPlj5QYK-8d8661eb3bec77850365.js} +1 -1
- data/tools/bucketexplorer/{CanvasimagevalueWidget-Cx-dH8Gc-de0593b28a8801262eef.js → CanvasimagevalueWidget-DVFGLt8f-cb1b1c1e263304996795.js} +1 -1
- data/tools/bucketexplorer/CanvaslabelWidget-CYNqmyP0-ecc1e24fd84ea4d742c4.js +1 -0
- data/tools/bucketexplorer/{CanvaslabelvalueWidget-CwmYDCjr-dee2777e24046ad0edef.js → CanvaslabelvalueWidget-B7yIDmsn-ee35639139b2238e6c45.js} +1 -1
- data/tools/bucketexplorer/CanvaslineWidget-BICdxX0Q-99f8550b9928117b63d1.js +1 -0
- data/tools/bucketexplorer/CanvaslinevalueWidget-Cq-Ddh0P-f01ad88e930142c950cc.js +1 -0
- data/tools/bucketexplorer/CheckbuttonWidget-B74AWeaW-deb0dab57a05d5af158b.js +1 -0
- data/tools/bucketexplorer/ComboboxWidget-CtyKbEWb-213a19cde84919ab44db.js +1 -0
- data/tools/bucketexplorer/DateWidget-BEVSczU8-b3d34083d4706f4543f9.js +1 -0
- data/tools/bucketexplorer/{DetailsDialog-BvbziA7Y-271640a874b3c46e1796.js → DetailsDialog-DmEC5BTs-e564267d87b5914f6976.js} +1 -1
- data/tools/bucketexplorer/{DynamicWidget-gFSYxzvT-a852572cc526064522df.js → DynamicWidget-CfMtj7H8-62f823a867781781596e.js} +1 -1
- data/tools/bucketexplorer/{FormatvalueWidget-CGpnTqVH-30cb56772699fc7deb53.js → FormatvalueWidget-DN12xymS-8d9c1ffc0a6950bea903.js} +1 -1
- data/tools/bucketexplorer/Graph-Bgo0cjl3-66094894befec8fc3c73.js +1 -0
- data/tools/bucketexplorer/{GraphWidget-Dycey-mj-3daa53c3bc2984105c06.js → GraphWidget-DurWDmpg-b43e4a859d04962daddc.js} +1 -1
- data/tools/bucketexplorer/{HorizontalWidget-D31NRWy5-20b959e2ace7eb79e716.js → HorizontalWidget-Cd_wl1b3-c828473da5c64e4c9489.js} +1 -1
- data/tools/bucketexplorer/HorizontalboxWidget-BcMTFBU--cd3830bdb8d05f2819a3.js +1 -0
- data/tools/bucketexplorer/HorizontallineWidget-CXFqHclf-643db9a80d241e6e2df8.js +1 -0
- data/tools/bucketexplorer/{IframeWidget-Ctj8OIcG-2f214230a97e98e37e03.js → IframeWidget-BPerHCCa-3d7296ffca16530b6b04.js} +1 -1
- data/tools/bucketexplorer/{ImageLoader-BrNrCBvi-e8c54e1b27029b1f6892.js → ImageLoader-4N-7Gj61-4a593e737e514266c071.js} +1 -1
- data/tools/bucketexplorer/ImageviewerWidget-Cw_H_HmZ-3956afe82618985654d2.js +1 -0
- data/tools/bucketexplorer/{LabelWidget-t7I87dp7-cf7508dbc5f235af4040.js → LabelWidget-xrmcVeq8-fcc9fea1e3b2a89b572e.js} +1 -1
- data/tools/bucketexplorer/LabelledWidget-D48QoyMk-a92c1bcb9dbe018ac11e.js +1 -0
- data/tools/bucketexplorer/LabelprogressbarWidget-C_950t6g-bb0d03d7482148b436db.js +1 -0
- data/tools/bucketexplorer/LabelsparklineWidget-0KXQyPoU-343f35445a43d237ac38.js +1 -0
- data/tools/bucketexplorer/{LabelvalueWidget-Zx_yHCtl-e3f45b8679e00c74bba4.js → LabelvalueWidget-CQ06wWDK-948ef42346f9dde609e2.js} +1 -1
- data/tools/bucketexplorer/{LabelvaluedescWidget-BBSBh4vI-729b01d19fb49861e770.js → LabelvaluedescWidget-Bo8zT01X-d9fe81480425c396a048.js} +1 -1
- data/tools/bucketexplorer/LabelvaluelimitsbarWidget-BucTw8Yk-21c8d656590441f125f5.js +1 -0
- data/tools/bucketexplorer/LabelvaluelimitscolumnWidget-Dflb1hNd-d760751c866674a79410.js +1 -0
- data/tools/bucketexplorer/LabelvaluerangebarWidget-D8cbfXFM-e1ae51493447f44ce2a6.js +1 -0
- data/tools/bucketexplorer/{Layout-Bh7VzCZd-287c4fbef012058e3893.js → Layout-Tf--nruw-6233babe9106d14d477a.js} +1 -1
- data/tools/bucketexplorer/LedWidget-qH_FthkK-4e1254e4141543ad21a0.js +1 -0
- data/tools/bucketexplorer/{LimitsbarWidget-Djui0IpK-dc3f8b8da9a175ad95e0.js → LimitsbarWidget-B9lAB2RD-3e2b48bc0114dd3da28c.js} +1 -1
- data/tools/bucketexplorer/{LimitscolorWidget-DdmvKzmx-9e68cac9e21c58962029.js → LimitscolorWidget-c6Qa6su7-4ec34c9967178f49c48b.js} +1 -1
- data/tools/bucketexplorer/{LimitscolumnWidget-Cc19IEjq-93133c0a62638b786e49.js → LimitscolumnWidget-CcLs_443-a86448d5635e917bc427.js} +1 -1
- data/tools/bucketexplorer/{LinegraphWidget-BtieJxeL-e711abef62aba32b4063.js → LinegraphWidget-BSVYLFo1-fee4c34e457b1ca7af1d.js} +1 -1
- data/tools/bucketexplorer/{MatrixbycolumnsWidget-DnExVRF8-85fc7eafec008bde38df.js → MatrixbycolumnsWidget-DXFpZTre-23e9224c69f02f6d32d5.js} +1 -1
- data/tools/bucketexplorer/{ProgressbarWidget-DIfqhHRE-fa0793913e941334f3cb.js → ProgressbarWidget-iYGw8-Dc-b2714b06042b710b2aa6.js} +1 -1
- data/tools/bucketexplorer/RadiobuttonWidget-ytmoVZ3u-169453335987c0f80710.js +1 -0
- data/tools/bucketexplorer/RadiogroupWidget-CusMBhKH-2ea8e64bcbb604d3fdd3.js +1 -0
- data/tools/bucketexplorer/{RangebarWidget-CN0YuHqy-ae69ac9dd38d22c0742b.js → RangebarWidget-D_zGTtCa-8afafbc3b78c05353dd1.js} +1 -1
- data/tools/bucketexplorer/{RollupWidget-y4jBtJB2-34f9332e36fab98d07da.js → RollupWidget-Dolsixyt-523dd72502cac46e5e11.js} +1 -1
- data/tools/bucketexplorer/{ScrollwindowWidget-CBzYk4Y3-9576497391322551cfdc.js → ScrollwindowWidget-DV2nZuNi-383cddbf07f020fa8597.js} +1 -1
- data/tools/bucketexplorer/{SignalWidget-DQ5Uc2uV-6aa1e697b431096f6945.js → SignalWidget-d9-6h85k-228cec76e7f4bf140459.js} +1 -1
- data/tools/bucketexplorer/SpacerWidget-BH0p2OLi-66846b399ec3e33dc711.js +1 -0
- data/tools/bucketexplorer/{SparklineWidget-CZtvu2ss-ff71d1409613da09edc7.js → SparklineWidget-coxi9r2g-3002a5ca5a6aa8f05308.js} +1 -1
- data/tools/bucketexplorer/TabbookWidget-B1XKplGH-bd824a152e6eabbc63f9.js +1 -0
- data/tools/bucketexplorer/TextboxWidget-C-_M2M4l-85e29fd4a2af82ef161e.js +1 -0
- data/tools/bucketexplorer/TextfieldWidget-C08N4JE8-c8f84ae183157aa30ad7.js +1 -0
- data/tools/bucketexplorer/TimeWidget-DtwdEcFg-d2d5984a0aa366ad1d27.js +1 -0
- data/tools/bucketexplorer/TitleWidget-CT-aLcNb-640dea16004e819dd90f.js +1 -0
- data/tools/bucketexplorer/{VWidget-C4spAawK-d57927fddbe7997688d6.js → VWidget-DQqb7NVW-849ec2d31829a89fb8f1.js} +1 -1
- data/tools/bucketexplorer/ValueWidget-C6RanBj3-83744f73e96bc8267ef5.js +1 -0
- data/tools/bucketexplorer/ValuelimitsbarWidget-B3bvjfxc-1306042ed01ad1aebc54.js +1 -0
- data/tools/bucketexplorer/{ValuelimitscolumnWidget-DHKIL7sf-9e31c368d20b163ae088.js → ValuelimitscolumnWidget-QvhI6EcE-9342e3f4549eee944c9d.js} +1 -1
- data/tools/bucketexplorer/{ValuerangebarWidget-CecQRIok-2f478a42b90af555972d.js → ValuerangebarWidget-Dt3K9BnC-2ed9341849547e81903a.js} +1 -1
- data/tools/bucketexplorer/{VerticalWidget-D8jUFxjS-35c841845ea9bfbea50c.js → VerticalWidget-BIIViZgI-992c95609a2a2e955b1e.js} +1 -1
- data/tools/bucketexplorer/VerticalboxWidget-DY72fLHW-9e9cc22604c92d8faac2.js +1 -0
- data/tools/bucketexplorer/{Widget-fRCERxGf-8066c0f3b137c133f5bd.js → Widget-oyqWpFXJ-961d98cc84c89410b01e.js} +1 -1
- data/tools/bucketexplorer/main-4d58a9f98438f39807d6.js +8 -0
- data/tools/bucketexplorer/main.js +1 -1
- metadata +70 -73
- data/tools/bucketexplorer/BucketExplorer-cbed9353a6fa6272ede2.js +0 -1425
- data/tools/bucketexplorer/CanvasdotWidget-6wuCSnw_-49c2a3a3e89b1dd464d6.js +0 -1
- data/tools/bucketexplorer/CanvaslabelWidget-CQZCeohU-1f160d2e23c0244cee45.js +0 -1
- data/tools/bucketexplorer/CanvaslineWidget-nTP3fJB4-3a3c9527618e1104942f.js +0 -1
- data/tools/bucketexplorer/CanvaslinevalueWidget-C3sJnjLQ-19d7381a2e43401d286c.js +0 -1
- data/tools/bucketexplorer/CheckbuttonWidget-5-8YDsQL-564e35c0e926315069ec.js +0 -1
- data/tools/bucketexplorer/ComboboxWidget-DzBL8h9f-eb28522e8a7500bbd460.js +0 -1
- data/tools/bucketexplorer/DateWidget-CW7Od7lB-8fc74dfdf24581b1e6fe.js +0 -1
- data/tools/bucketexplorer/Graph-3rkhFP3G-a8137dc351906766177f.js +0 -1
- data/tools/bucketexplorer/HorizontalboxWidget-Br8dSVHD-eb500d54e9d90c088673.js +0 -1
- data/tools/bucketexplorer/HorizontallineWidget-CbxREBYI-9fccd5b0abdf81aa5646.js +0 -1
- data/tools/bucketexplorer/ImageviewerWidget-XrsqxmLo-166bce6eca5914219f3b.js +0 -1
- data/tools/bucketexplorer/LabelledWidget-C7TDf92M-9fc3aa8f82c842f968a0.js +0 -1
- data/tools/bucketexplorer/LabelprogressbarWidget-wwLURt1u-d92a2d2750d2207e8ee1.js +0 -1
- data/tools/bucketexplorer/LabelsparklineWidget-B3awLUyP-3d802eda8f7a8c846e47.js +0 -1
- data/tools/bucketexplorer/LabelvaluelimitsbarWidget-CZueHYWG-e184bb0d60bf6c8a79d5.js +0 -1
- data/tools/bucketexplorer/LabelvaluelimitscolumnWidget-BTvzyQMq-a86118867dbc341382ca.js +0 -1
- data/tools/bucketexplorer/LabelvaluerangebarWidget-BhYTBgDq-b8c2bbbbbbdf4f16cdfb.js +0 -1
- data/tools/bucketexplorer/LedWidget-CxJjJBBS-41d354886017102febdd.js +0 -1
- data/tools/bucketexplorer/RadiobuttonWidget-QzIkNP7m-8b04ad11aa95addc2bd9.js +0 -1
- data/tools/bucketexplorer/RadiogroupWidget-Ci9sCX39-66f103c47f66d36b4c17.js +0 -1
- data/tools/bucketexplorer/SpacerWidget-6rsc_dSM-a608eb94facfbdbc543c.js +0 -1
- data/tools/bucketexplorer/TabbookWidget-DNALU0jl-1c208a735be735f347bc.js +0 -1
- data/tools/bucketexplorer/TextboxWidget-5hqPj74D-edc6446aef9456427046.js +0 -1
- data/tools/bucketexplorer/TextfieldWidget-Df0ANSiU-6aabd422f5e2a4709c53.js +0 -1
- data/tools/bucketexplorer/TimeWidget-C6XQMUG2-432b240ab6785f427330.js +0 -1
- data/tools/bucketexplorer/TitleWidget-B9SPUlbW-a2b5c518d0e24690d959.js +0 -1
- data/tools/bucketexplorer/ValueWidget-D4RrYVEK-5d72a16b4cf8cbc38c82.js +0 -1
- data/tools/bucketexplorer/ValuelimitsbarWidget-Bc9_Vj_f-1995951f5126fdf3018b.js +0 -1
- data/tools/bucketexplorer/VerticalboxWidget-B4eGUSYH-d37df95fc231f5fe3456.js +0 -1
- data/tools/bucketexplorer/main-50cef759b9b97159ebc4.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: a7743e8b2951cf62fca4a27942e3f713a51db6078a2664dcc6eb28b4e0dac0f0
|
4
|
+
data.tar.gz: 16ebe5453dd5c6948825845f4f016c14850edd7d771e187bff1ff2d5f367f0a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 289877265a9d96f971a8b2d82d6e181a3a778505870ff8b6cde06dd15500c9c48bf757ef52d2073bc61f22f638608c90a4da2bc7b30555a5a31244b7f672b383
|
7
|
+
data.tar.gz: 3d505f3b0ef04ad29e76722ff53e292f6c44f936c4acfba0a645728b7895c3acae367582e4347aee83d4401357cff00be5dbc8a4f321aaa40ba106f359b38583
|
@@ -1,2 +1,2 @@
|
|
1
|
-
System.register(["./BucketExplorer-
|
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+=
|
1
|
+
System.register(["./BucketExplorer-b5be590d781a24b34d51.js","vue","./main-4d58a9f98438f39807d6.js","./DetailsDialog-DmEC5BTs-e564267d87b5914f6976.js","single-spa","./VWidget-DQqb7NVW-849ec2d31829a89fb8f1.js","vue-router","vuex","vuetify","./Widget-oyqWpFXJ-961d98cc84c89410b01e.js"],function(B,P){"use strict";var a,c,u,i,h,d,l,p,g,f,v,w,y,x,C,V;return{setters:[null,t=>{a=t.resolveComponent,c=t.createElementBlock,u=t.openBlock,i=t.createVNode,h=t.normalizeStyle,d=t.normalizeClass,l=t.withCtx,p=t.Fragment,g=t.renderList,f=t.createBlock,v=t.withModifiers,w=t.createTextVNode,y=t.toDisplayString},t=>{x=t.d},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 _(e,r,s,k,D,o){const m=a("v-textarea"),z=a("v-list-item-title"),E=a("v-list-item"),L=a("v-list"),M=a("v-menu"),N=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:d(e.valueClass),style:h([e.computedStyle,o.aging]),"data-test":"array-widget",onContextmenu:e.showContextMenu},null,8,["model-value","class","style","onContextmenu"]),i(M,{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(p,null,g(e.contextMenuOptions,(n,j)=>(u(),f(E,{key:j,onClick:v(n.action,["stop"])},{default:l(()=>[i(z,null,{default:l(()=>[w(y(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 T=B("default",x(t,[["render",_],["__scopeId","data-v-62b9e9e1"]]))}}});
|
@@ -1 +1 @@
|
|
1
|
-
System.register(["./BucketExplorer-
|
1
|
+
System.register(["./BucketExplorer-b5be590d781a24b34d51.js","./GraphWidget-DurWDmpg-b43e4a859d04962daddc.js","vue","./main-4d58a9f98438f39807d6.js","single-spa","./Widget-oyqWpFXJ-961d98cc84c89410b01e.js","vue-router","vuex","vuetify"],function(m,k){"use strict";var c,l,d,h,u,p;return{setters:[s=>{c=s.m,l=s.D},s=>{d=s._},s=>{h=s.createElementBlock,u=s.openBlock},s=>{p=s.d},null,null,null,null,null],execute:function(){const s={data:function(){return{items:[],indexes:{},data:[[]],cable:new l,subscription:null,graph:null,xAxis:null,title:"Array Plot",colorIndex:0,colors:["#00c7cb","#938bdb","#4dacff","lime","darkorange","red","gold","hotpink","tan","cyan","maroon","blue","teal","purple","green","brown","lightblue","white","black"]}},mixins:[d],created(){for(const[e,t]of this.items.entries())this.data.push([]),this.indexes[this.subscriptionKey(t)]=e+1,t.color=this.colors[this.colorIndex],this.colorIndex++;this.appliedSettings.forEach(e=>{switch(e[0]){case"TITLE":this.title=e[1];break;case"X_AXIS":this.xAxis={start:parseFloat(e[1]),step:parseFloat(e[2])};break}})},mounted(){let e=[];this.items.forEach(n=>{e.push({label:this.itemName(n),stroke:n.color,width:2,value:(r,i)=>typeof i=="string"||isNaN(i)?"NaN":i==null?"--":i.toFixed(3)})});let t={title:this.title,width:this.size.width,height:this.size.height,scales:{x:{time:!1},y:{time:!1,range:(n,r,i)=>[r,i]}},axes:[{stroke:"white",grid:{show:!0,stroke:"rgba(255, 255, 255, .1)",width:2}},{stroke:"white",grid:{show:!0,stroke:"rgba(255, 255, 255, .1)",width:2}}],series:[{label:"X Value"},...e]};this.graph=new c(t,this.data,document.getElementById(`chart${this.id}`)),this.subscribe()},beforeUnmount:function(){this.cable.disconnect()},computed:{dataOnly(){return this.data[1]}},watch:{dataOnly:function(){this.graph&&this.graph.setData(this.data)}},methods:{subscribe:function(){this.cable.createSubscription("StreamingChannel",window.openc3Scope,{received:e=>this.received(e),connected:()=>{this.addItemsToSubscription(this.items)},disconnected:e=>{e.allowReconnect&&this.errors.push({type:"disconnected",message:"OpenC3 backend connection disconnected",time:new Date().getTime()})},rejected:()=>{this.errors.push({type:"rejected",message:"OpenC3 backend connection rejected",time:new Date().getTime()})}}).then(e=>{this.subscription=e})},received:function(e){for(let t of e){let n=[];for(const[r,i]of Object.entries(t)){r==="__time"&&(this.xAxis?n=Array.from({length:this.data[1].length},(f,o)=>this.xAxis.start+o*this.xAxis.step):n.length===0&&(n=Array.from({length:this.data[1].length},(f,o)=>o)),this.data[0]=n);let a=this.indexes[r];a&&(Array.isArray(i[0])?(this.data[a]=i[1],n=i[0]):this.data[a]=i)}}},addItemsToSubscription:function(e=this.items){this.subscription&&OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity).then(t=>{t&&OpenC3Auth.setTokens(),this.subscription.perform("add",{scope:window.openc3Scope,token:localStorage.openc3Token,items:e.map(this.subscriptionKey),start_time:null,end_time:null})})},itemName:function(e){return`${e.targetName} ${e.packetName} ${e.itemName}`},subscriptionKey:function(e){let t=`${e.reduced}__TLM__${e.targetName}__${e.packetName}__${e.itemName}__${e.valueType}`;return(e.reduced==="REDUCED_MINUTE"||e.reduced==="REDUCED_HOUR"||e.reduced==="REDUCED_DAY")&&(t+=`__${e.reducedType}`),t}}},g=["id"];function b(e,t,n,r,i,a){return u(),h("div",{class:"pa-1",id:`chart${e.id}`},null,8,g)}const x=m("default",p(s,[["render",b]]))}}});
|
@@ -1 +1 @@
|
|
1
|
-
System.register(["./Widget-
|
1
|
+
System.register(["./Widget-oyqWpFXJ-961d98cc84c89410b01e.js","./BucketExplorer-b5be590d781a24b34d51.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+=
|
1
|
+
System.register(["./BucketExplorer-b5be590d781a24b34d51.js","vue","./main-4d58a9f98438f39807d6.js","./DetailsDialog-DmEC5BTs-e564267d87b5914f6976.js","single-spa","./VWidget-DQqb7NVW-849ec2d31829a89fb8f1.js","vue-router","vuex","vuetify","./Widget-oyqWpFXJ-961d98cc84c89410b01e.js"],function(P,j){"use strict";var a,m,h,s,u,p,o,g,w,f,v,y,x,k,C,V;return{setters:[null,e=>{a=e.resolveComponent,m=e.createElementBlock,h=e.openBlock,s=e.createVNode,u=e.normalizeStyle,p=e.normalizeClass,o=e.withCtx,g=e.Fragment,w=e.renderList,f=e.createBlock,v=e.withModifiers,y=e.createTextVNode,x=e.toDisplayString},e=>{k=e.d},e=>{C=e.P},null,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 D=" ",W=`
|
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+=W):i%this.bytesPerWord===0&&(r+=D)}else r=t;return r}}},S={class:"block-widget-container"};function B(t,r,D,W,i,l){const d=a("v-textarea"),c=a("v-list-item-title"),_=a("v-list-item"),F=a("v-list"),M=a("v-menu"),b=a("details-dialog");return h(),m("div",S,[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:u([t.computedStyle,l.aging]),"data-test":"valueText",onContextmenu:t.showContextMenu},null,8,["rows","width","model-value","class","style","onContextmenu"]),s(M,{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(g,null,w(t.contextMenuOptions,(n,N)=>(h(),f(_,{key:N,onClick:v(n.action,["stop"])},{default:o(()=>[s(c,null,{default:o(()=>[y(x(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 z=P("default",k(e,[["render",B],["__scopeId","data-v-4d4589c2"]]))}}});
|