openc3-cosmos-tool-dataextractor 7.2.0 → 7.2.1
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/dataextractor/{ArrayWidget-D1PArcGr-c8c751af5b0b3e9d923d.js → ArrayWidget-DMSm_P6c-19f1858ee6a13de9bf65.js} +2 -2
- data/tools/dataextractor/{ArrayplotWidget-DPUPy0qM-b7c3bff83bf418fe0a6f.js → ArrayplotWidget-fdXLhGAl-ca7f994f090988e914c8.js} +1 -1
- data/tools/dataextractor/{BarColumn-BpdscDQf-fbde67bf62fa06314272.js → BarColumn-Bb305iCi-f1224abcf7699dc826e3.js} +1 -1
- data/tools/dataextractor/{BlockWidget-_VUsK5T9-e9ea12442411c894a337.js → BlockWidget-Do3W6tZh-c79dad057dea57df3581.js} +2 -2
- data/tools/dataextractor/{ButtonWidget-DE41o-cg-c0cf6714bdd559938c90.js → ButtonWidget-DukCQt0F-75f7d67cab4acc035985.js} +2 -2
- data/tools/dataextractor/CanvasWidget-BRdVWln5-5e4c8e688cfa5fe95acd.js +1 -0
- data/tools/dataextractor/CanvasdotWidget-DV8PeDWz-12373bd14eefae124803.js +1 -0
- data/tools/dataextractor/{CanvasimageWidget-COv_Qnc8-b3b91fba8876839ea74b.js → CanvasimageWidget-Czbq1GuF-28a339483f5dcfeacf7d.js} +1 -1
- data/tools/dataextractor/{CanvasimagevalueWidget-BhuUqLOo-6673175b5d15945d1698.js → CanvasimagevalueWidget-DKt5JgEt-8087cbd51a64393ab57c.js} +1 -1
- data/tools/dataextractor/CanvaslabelWidget-DW2I1ra1-a20ab54851ccc0e680d8.js +1 -0
- data/tools/dataextractor/CanvaslabelvalueWidget-BhzvZVfD-9d04bfc299b1b7b03b05.js +1 -0
- data/tools/dataextractor/{CanvaslineWidget-D1K_6mAY-aaa1cc8b5c1e016e8324.js → CanvaslineWidget-DsjY37tp-2a922b5bf7fc4d42a3d5.js} +1 -1
- data/tools/dataextractor/{CanvaslinevalueWidget-D4eaxWhR-363e4bb482ba7a73ba6a.js → CanvaslinevalueWidget-ihI97G8T-0aa86f239b1df4ce71c2.js} +1 -1
- data/tools/dataextractor/CheckbuttonWidget-B778Z-Zo-3c791dca02c3936e0b25.js +1 -0
- data/tools/dataextractor/ComboboxWidget-CuuvOL9K-affe23635b117e6bc374.js +1 -0
- data/tools/dataextractor/DataExtractor-ecbc6958d7725d01074e.js +14 -0
- data/tools/dataextractor/{DateWidget-DkNWx28s-b13f63213d6b9fcb175d.js → DateWidget-COvQTAeo-ae696b8d9cd7d4f41eeb.js} +1 -1
- data/tools/dataextractor/{DetailsDialog-F4KgYM6m-127f043574676725c73b.js → DetailsDialog-DE7lK17G-1e75cb2f380dac93676b.js} +1 -1
- data/tools/dataextractor/{DynamicWidget-BuSbQVhf-55ea1ee13a3afafb3570.js → DynamicWidget-BuSbQVhf-11c0fdcda694b70ffdf1.js} +1 -1
- data/tools/dataextractor/{FilechecksumWidget-DSfNEnDJ-4e730e295b0b0aa7d9ad.js → FilechecksumWidget-DRnOt_UE-8ab6316e47a7e4460011.js} +1 -1
- data/tools/dataextractor/{FiledisplayWidget-D2cxMmrP-a05420f106f98fc9a1c3.js → FiledisplayWidget-26R46EjS-ab352e1a0376aa273ae1.js} +1 -1
- data/tools/dataextractor/{FormatvalueWidget-6-bj_PJO-19133d9392f2b921ec6c.js → FormatvalueWidget-BxyscMJc-1d1dd3dbcd57dcebb5da.js} +1 -1
- data/tools/dataextractor/Graph-BKw7xw1a-94374e992fe69736cba0.js +1 -0
- data/tools/dataextractor/{GraphWidget-COXK3Dab-68ed5db39c484c79cd9a.js → GraphWidget-Cs9mvqUu-e364a861890ec3c70c87.js} +1 -1
- data/tools/dataextractor/{HorizontalWidget-C9UFBPsk-0c0dd37a884935f911ad.js → HorizontalWidget-fWLFj7Kg-47230760109921a0e2f4.js} +1 -1
- data/tools/dataextractor/{HorizontalboxWidget-CWLfmRtr-37ef9ec7d67d226af1c4.js → HorizontalboxWidget-DEaXhKEz-a2e1ef1853068ba40a36.js} +1 -1
- data/tools/dataextractor/HorizontallineWidget-Bvu1QP3S-cdb87f14bcec81154e7f.js +1 -0
- data/tools/dataextractor/{IframeWidget-Bn9eGzrq-4d363d16eda9121de56f.js → IframeWidget-B143k4lo-a67734e034639b7d5f7d.js} +1 -1
- data/tools/dataextractor/{ImageLoader-_gAudhVo-3d11a63f5ef7091755dc.js → ImageLoader-BCpmQHIl-1b4a6c662d8e85c5ce0a.js} +1 -1
- data/tools/dataextractor/{ImageviewerWidget-BUWhF32Z-8968c211affb8ae31358.js → ImageviewerWidget-CLrvr6dw-e1097e682e69575c97ca.js} +1 -1
- data/tools/dataextractor/{LabelWidget-BhzkN06D-82e78a304e7976c050e7.js → LabelWidget-CA1bTX2B-ff3f23281a310d9eace2.js} +1 -1
- data/tools/dataextractor/{LabelledWidget-vx8NvW1b-2f85e885d9b34bfa9b83.js → LabelledWidget-BDhvr03J-e4ce54b64d90297ded22.js} +1 -1
- data/tools/dataextractor/{LabelprogressbarWidget-t5PvKuS4-5368a53a7909f0a6a0ca.js → LabelprogressbarWidget-g7A5CE8S-c0b36cf5c5d8711f457e.js} +1 -1
- data/tools/dataextractor/LabelsparklineWidget-B27xXxWg-cfb3c075c2cb9a8ce462.js +1 -0
- data/tools/dataextractor/{LabelvalueWidget-Cbs1DBK2-37a6959ba720e2fb2607.js → LabelvalueWidget-DFn8o6LC-687a3bf9c5d428cd2585.js} +1 -1
- data/tools/dataextractor/{LabelvaluedescWidget-B7OIOGc0-4e187a1ca9ccebd898ec.js → LabelvaluedescWidget-BQpaxFaB-1915c5f5304c605ff6dd.js} +1 -1
- data/tools/dataextractor/LabelvaluelimitsbarWidget-C-z96q8z-e64aaad23f4619fb0b50.js +1 -0
- data/tools/dataextractor/LabelvaluelimitscolumnWidget-D2TMEv9O-edb28559a45b6f01620c.js +1 -0
- data/tools/dataextractor/{LabelvaluerangebarWidget-Pt_evm3v-7cff22dc6c8171a0737f.js → LabelvaluerangebarWidget-D99dZCjz-c719440b25b0ec7ddb3e.js} +1 -1
- data/tools/dataextractor/{Layout-CKmC50QZ-7c09657f848d6bec97ad.js → Layout--_zNJWnw-16921ce6aa9987c9960c.js} +1 -1
- data/tools/dataextractor/{LedWidget-D1lmNXpi-c9ddb6bb20c6b65e8752.js → LedWidget-D2uxHxe3-03a4a2857e454290287b.js} +1 -1
- data/tools/dataextractor/{LimitsBar-D5IZu7eX-f245aa3388489b985719.js → LimitsBar-DN1s8-MS-d2e697ee1f1bfe976c50.js} +1 -1
- data/tools/dataextractor/{LimitsbarWidget-VpxQXE-e-92655885f9c8ff8dd67a.js → LimitsbarWidget-Cqhh7LKU-ccc71a429a6945ec17b1.js} +1 -1
- data/tools/dataextractor/{LimitscolorWidget-79P41CX7-17bfc98cd285ef8d5cf0.js → LimitscolorWidget-haGB4RbY-dd10c0c2fd74edf3cbb4.js} +1 -1
- data/tools/dataextractor/{LimitscolumnWidget-BFDXhJeZ-543fc43f72002343d7bb.js → LimitscolumnWidget-B1GdmlR_-4217c9643c68bb15b2c8.js} +1 -1
- data/tools/dataextractor/LinegraphWidget-COSOQ0uM-f3f0eab3aa42a20898f7.js +1 -0
- data/tools/dataextractor/{MatrixbycolumnsWidget--ihvirDP-8fe2c21364aff79528e9.js → MatrixbycolumnsWidget-coHlLETG-9080f0a4a1802713a578.js} +1 -1
- data/tools/dataextractor/{OpenC3TimePicker-B0lAIU91-dbee395a71067b34188a.js → OpenC3TimePicker-B8Vu9GBz-850d7e68786e24a785f4.js} +1 -1
- data/tools/dataextractor/{ProgressbarWidget-BIB3r9SL-04bfb4d921751b068806.js → ProgressbarWidget-D_yFssIZ-6d0b35abe5abf920de7d.js} +1 -1
- data/tools/dataextractor/{RadiobuttonWidget-C5rxLM7K-41dd5ecc6efc1f7ec023.js → RadiobuttonWidget-DL0jVTcb-d6c1c630c14b8b073e08.js} +1 -1
- data/tools/dataextractor/{RadiogroupWidget-CciTCv1U-5447f0a20fd31cb84781.js → RadiogroupWidget-2-td69IA-3a65d1201a6083911e89.js} +1 -1
- data/tools/dataextractor/{RangebarWidget-MPQYi2Km-2d0bc2f6ae59f1fc6cb2.js → RangebarWidget-i2mlnxys-7d3ca7c8ee813c1f6962.js} +1 -1
- data/tools/dataextractor/{RollupWidget-CfjGAhzg-d61d2e69d0dfb53f8d5a.js → RollupWidget-BEJ2Icg1-f6816b7e9c02859805d9.js} +1 -1
- data/tools/dataextractor/{ScrollwindowWidget-CupaygNN-f0bc8971fbeb2f3b7ac6.js → ScrollwindowWidget-BU1cRpL8-cc865bceb29a42f3cb67.js} +1 -1
- data/tools/dataextractor/{SignalWidget-C-qecoTO-ac5acb141c44fbe8bd3b.js → SignalWidget-hiTkeem9-d5ce6a16e1bcbe600a2d.js} +1 -1
- data/tools/dataextractor/SpacerWidget-CBmzzS_X-116a6cbfeede00839de4.js +1 -0
- data/tools/dataextractor/SparklineWidget-CizRh6QR-2528b021c316211a6607.js +1 -0
- data/tools/dataextractor/{TabbookWidget-CXklff-l-f8d84ac5de477b47cc89.js → TabbookWidget-CvL3Ozmx-2af2452e7a6f0134efd6.js} +1 -1
- data/tools/dataextractor/TargetPacketItemChooser-wISd7chF-a0464b042415727a9e4d.js +1 -0
- data/tools/dataextractor/TextboxWidget-BtEwXzDO-1aa024ed1232214c7c15.js +1 -0
- data/tools/dataextractor/TextfieldWidget-BDbb57HP-e348e171a603406fe35c.js +1 -0
- data/tools/dataextractor/TimeWidget-DzD8U8l8-1d1a4c276a1cf44f37d6.js +1 -0
- data/tools/dataextractor/TitleWidget-CL53vf14-91c497b397abb22b827b.js +1 -0
- data/tools/dataextractor/{VWidget-oMbywhLA-48cc5e9eee33d428a035.js → VWidget-5qOYva88-12e30dc2b776a8df555a.js} +1 -1
- data/tools/dataextractor/ValueWidget-CAkuc_w_-2b53466b187c41951b84.js +1 -0
- data/tools/dataextractor/ValuelimitsbarWidget-Y8sO05E1-6797dae9b2e397329889.js +1 -0
- data/tools/dataextractor/{ValuelimitscolumnWidget-BVt6nLXq-c3953d4f07717ac68634.js → ValuelimitscolumnWidget-iOjB_fCj-84b309ce08d933339ecb.js} +1 -1
- data/tools/dataextractor/{ValuerangebarWidget-uVZEI32U-2e888511354ce5936843.js → ValuerangebarWidget-DsCoeAm6-f3471be58343d9255a74.js} +1 -1
- data/tools/dataextractor/{VerticalWidget-DlftYBjH-6dab9f0f52b2711f6b3f.js → VerticalWidget-C6O0dhRU-f289529c1be404532d60.js} +1 -1
- data/tools/dataextractor/{VerticalboxWidget-C7RrkfY0-2a1e515b69dfc37fd4b3.js → VerticalboxWidget-B-CoqRJG-2d90f8f9d16cb9d3e870.js} +1 -1
- data/tools/dataextractor/{Widget-D_HaosJK-3aa019608f819cd93c9a.js → Widget-CtYQauzA-76c2f5fd2351d284a46d.js} +1 -1
- data/tools/dataextractor/main-41bf9e8be1fa8f271a59.js +1497 -0
- data/tools/dataextractor/main.js +1 -1
- metadata +73 -73
- data/tools/dataextractor/CanvasWidget-BEi8h3Mq-93b602cbc1f1c3f8a989.js +0 -1
- data/tools/dataextractor/CanvasdotWidget-eZuMgkhL-d2239b9c5db9ac121539.js +0 -1
- data/tools/dataextractor/CanvaslabelWidget-DtvbgeYH-65b35c16cb83363efca3.js +0 -1
- data/tools/dataextractor/CanvaslabelvalueWidget-C_FRIeNb-127a95383fbb9d362d05.js +0 -1
- data/tools/dataextractor/CheckbuttonWidget-ByxMDkiS-1d4c199071fc6e719a35.js +0 -1
- data/tools/dataextractor/ComboboxWidget-CAGxGv2r-770ba10af28e2ff80127.js +0 -1
- data/tools/dataextractor/DataExtractor-2097e7e5aaf43aad6f8b.js +0 -14
- data/tools/dataextractor/Graph-Cz0Ns1FD-6ad9d5afe0b9679348e6.js +0 -1
- data/tools/dataextractor/HorizontallineWidget-DeFkOaYO-4210d0981cf03ed31819.js +0 -1
- data/tools/dataextractor/LabelsparklineWidget-CebbEH-j-967cb6f44c6c55eaf6e2.js +0 -1
- data/tools/dataextractor/LabelvaluelimitsbarWidget-C57kf-oQ-91c29b441f80779ffdf4.js +0 -1
- data/tools/dataextractor/LabelvaluelimitscolumnWidget-BRlNDEqp-4560f2046838b297f8b9.js +0 -1
- data/tools/dataextractor/LinegraphWidget-VqkpOlws-1b6eb0d902a3b0577bb7.js +0 -1
- data/tools/dataextractor/SpacerWidget-VVkOCb6N-ec90981ae0ee78718da0.js +0 -1
- data/tools/dataextractor/SparklineWidget-Dsmn38z_-0e974d1a6820c9766d5e.js +0 -1
- data/tools/dataextractor/TargetPacketItemChooser-DDHuygCl-d58eaf885223711090d4.js +0 -1
- data/tools/dataextractor/TextboxWidget-CHs2VYIv-0afd03dec5b9e1bcf5d5.js +0 -1
- data/tools/dataextractor/TextfieldWidget-CdANAW-6-abb82a45c67e54365c38.js +0 -1
- data/tools/dataextractor/TimeWidget-D0xT1wXR-42543ac5f61f9caf689c.js +0 -1
- data/tools/dataextractor/TitleWidget-68NWCcXB-f800dbc154a0b790db80.js +0 -1
- data/tools/dataextractor/ValueWidget-B1aGUBP7-09e3a422caa4029a7a89.js +0 -1
- data/tools/dataextractor/ValuelimitsbarWidget-B7KcRjLS-89060ce240e589231a32.js +0 -1
- data/tools/dataextractor/main-07b38629281328ace40e.js +0 -1497
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f4c2eb28aeeef325bef7b1d1fcaed40eb9a0bd11630869f2ea4545e753c2aa1e
|
|
4
|
+
data.tar.gz: 6da2453f566fe8b2c8eb325b056f2ea3ecd586d0b11afe1b752efb009780ca02
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ca5200ee971979a7f32ff4ea1d0fe15b4e47a27907a7b0e47483634f624c4db58c9f3224730fff14f14c75b609a7df8a1b39f3e65a6adbc87f2953d226efd15e
|
|
7
|
+
data.tar.gz: 13a9ea57a9a74cdecfa688e7adbc6573ec804170f53e9a01aa26e30db3f06cc3c59401e073dfe0d45ae4f1ec45bb12326e53a6923639118d0e21d770b2dc2595
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
System.register(["./main-
|
|
2
|
-
`,o=0;if(Array.isArray(e)){for(const m of e)this.formatter&&this.formatter?.toLowerCase()!=="nil"?a+=sprintf(this.formatter,m):a+=m,o+=1,o%this.itemsPerRow===0?(o=0,a+=k):a+=V;return a.trim()}else return e}}},B={class:"array-widget-container"};function
|
|
1
|
+
System.register(["./main-41bf9e8be1fa8f271a59.js","vue","./DetailsDialog-DE7lK17G-1e75cb2f380dac93676b.js","single-spa","./VWidget-5qOYva88-12e30dc2b776a8df555a.js","vue-router","pinia","vuetify","./LimitsBar-DN1s8-MS-d2e697ee1f1bfe976c50.js","./LimitsColor-CBcpB-la-3bd861951380f642016e.js","./Widget-CtYQauzA-76c2f5fd2351d284a46d.js"],(function(D,E){"use strict";var c,i,l,u,r,h,d,n,p,g,f,v,w,y,C,x;return{setters:[t=>{c=t.i},t=>{i=t.resolveComponent,l=t.openBlock,u=t.createElementBlock,r=t.createVNode,h=t.normalizeStyle,d=t.normalizeClass,n=t.withCtx,p=t.Fragment,g=t.renderList,f=t.createBlock,v=t.withModifiers,w=t.createTextVNode,y=t.toDisplayString},t=>{C=t.Z},null,t=>{x=t.T},null,null,null,null,null,null],execute:(function(){const t={components:{DetailsDialog:C},mixins:[x],data:function(){return{width:200,height:100,itemsPerRow:4,formatter:null}},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=Number.parseInt(this.parameters[6]))},methods:{getType:function(){let e="CONVERTED";return this.parameters[7]&&(e=this.parameters[7]),e},formatValue:function(e){let a="",V=" ",k=`
|
|
2
|
+
`,o=0;if(Array.isArray(e)){for(const m of e)this.formatter&&this.formatter?.toLowerCase()!=="nil"?a+=sprintf(this.formatter,m):a+=m,o+=1,o%this.itemsPerRow===0?(o=0,a+=k):a+=V;return a.trim()}else return e}}},B={class:"array-widget-container"};function S(e,a,V,k,o,m){const z=i("v-textarea"),M=i("v-list-item-title"),N=i("v-list-item"),_=i("v-list"),j=i("v-menu"),L=i("details-dialog");return l(),u("div",B,[r(z,{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,m.aging]),"data-test":"array-widget",onContextmenu:e.showContextMenu},null,8,["model-value","class","style","onContextmenu"]),r(j,{modelValue:e.contextMenuShown,"onUpdate:modelValue":a[0]||(a[0]=s=>e.contextMenuShown=s),target:[e.x,e.y]},{default:n(()=>[r(_,null,{default:n(()=>[(l(!0),u(p,null,g(e.contextMenuOptions,(s,T)=>(l(),f(N,{key:T,onClick:v(s.action,["stop"])},{default:n(()=>[r(M,null,{default:n(()=>[w(y(s.title),1)]),_:2},1024)]),_:2},1032,["onClick"]))),128))]),_:1})]),_:1},8,["modelValue","target"]),r(L,{modelValue:e.viewDetails,"onUpdate:modelValue":a[1]||(a[1]=s=>e.viewDetails=s),"target-name":e.parameters[0],"packet-name":e.parameters[1],"item-name":e.parameters[2]},null,8,["modelValue","target-name","packet-name","item-name"])])}const R=D("default",c(t,[["render",S],["__scopeId","data-v-9da1fd5e"]]))})}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./main-
|
|
1
|
+
System.register(["./main-41bf9e8be1fa8f271a59.js","./GraphWidget-Cs9mvqUu-e364a861890ec3c70c87.js","vue","vue-router","pinia","single-spa","vuetify","./Widget-CtYQauzA-76c2f5fd2351d284a46d.js"],(function(m,w){"use strict";var c,l,h,d,u,p;return{setters:[s=>{c=s.i,l=s.p,h=s.I},s=>{d=s.M},s=>{u=s.openBlock,p=s.createElementBlock},null,null,null,null,null],execute:(function(){const s={mixins:[d],data:function(){return{items:[],indexes:{},data:[[]],cable:new h,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"]}},computed:{dataOnly(){return this.data[1]}},watch:{dataOnly:function(){this.graph&&this.graph.setData(this.data)}},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:Number.parseFloat(e[1]),step:Number.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"||Number.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 l(t,this.data,document.getElementById(`chart${this.id}`)),this.subscribe()},beforeUnmount:function(){this.cable.disconnect()},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}}},b=["id"];function g(e,t,n,r,i,a){return u(),p("div",{id:`chart${e.id}`,class:"pa-1"},null,8,b)}const k=m("default",c(s,[["render",g]]))})}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./Widget-
|
|
1
|
+
System.register(["./Widget-CtYQauzA-76c2f5fd2351d284a46d.js","./main-41bf9e8be1fa8f271a59.js"],(function(r,n){"use strict";var h,l;return{setters:[e=>{h=e.h},e=>{l=e.F}],execute:(function(){const e=r("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(){if(!this.screenValues[this.valueId])return{};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;const t=this.parseItemName(this.parameters[2]);this.parameters[2]=t.name,this.api.get_limits(this.parameters[0],this.parameters[1],t.name).then(i=>{this.limitsSettings=i}),this.getCurrentLimitsSet(),this.currentSetRefreshInterval=setInterval(this.getCurrentLimitsSet,6e4),this.appliedSettings.forEach(i=>{i[0]==="MIN_VALUE"&&(this.minValue=parseInt(i[1])),i[0]==="MAX_VALUE"&&(this.maxValue=parseInt(i[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==null||!i)return;let a=i[0]-10*this.scale;if(this.minValue&&this.minValue==i[0]&&(a=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 s=parseInt((t-a)/this.scale);return s>100?100:s<0?0:s}},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(["./main-
|
|
2
|
-
`,i=0,l=0;const m=this.bytesPerWord*this.wordsPerRow;for(const u of t.raw)this.addrFormat&&i===0&&(
|
|
1
|
+
System.register(["./main-41bf9e8be1fa8f271a59.js","vue","./DetailsDialog-DE7lK17G-1e75cb2f380dac93676b.js","single-spa","./VWidget-5qOYva88-12e30dc2b776a8df555a.js","vue-router","pinia","vuetify","./LimitsBar-DN1s8-MS-d2e697ee1f1bfe976c50.js","./LimitsColor-CBcpB-la-3bd861951380f642016e.js","./Widget-CtYQauzA-76c2f5fd2351d284a46d.js"],(function(B,z){"use strict";var c,r,h,d,s,p,g,o,w,f,v,y,x,C,k,V;return{setters:[e=>{c=e.i},e=>{r=e.resolveComponent,h=e.openBlock,d=e.createElementBlock,s=e.createVNode,p=e.normalizeStyle,g=e.normalizeClass,o=e.withCtx,w=e.Fragment,f=e.renderList,v=e.createBlock,y=e.withModifiers,x=e.createTextVNode,C=e.toDisplayString},e=>{k=e.Z},null,e=>{V=e.T},null,null,null,null,null,null],execute:(function(){const e={components:{DetailsDialog:k},mixins:[V],data:function(){return{width:400,height:400,bytesPerWord:4,wordsPerRow:4,addrFormat:null,formatter:"%02X"}},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=Number.parseInt(this.parameters[6])),this.parameters[7]&&(this.wordsPerRow=Number.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 a="";if(t&&t.raw){let D=" ",S=`
|
|
2
|
+
`,i=0,l=0;const m=this.bytesPerWord*this.wordsPerRow;for(const u of t.raw)this.addrFormat&&i===0&&(a+=sprintf(this.addrFormat,l),l+=m),a+=sprintf(this.formatter,u),i+=1,i%m===0?(i=0,a+=S):i%this.bytesPerWord===0&&(a+=D)}else a=t;return a}}},M={class:"block-widget-container"};function W(t,a,D,S,i,l){const m=r("v-textarea"),u=r("v-list-item-title"),b=r("v-list-item"),N=r("v-list"),P=r("v-menu"),_=r("details-dialog");return h(),d("div",M,[s(m,{variant:"solo",density:"compact",readonly:"","no-resize":"","hide-details":"",rows:l.rows,width:t.width,"model-value":t._value,class:g(t.valueClass),style:p([t.computedStyle,l.aging]),"data-test":"valueText",onContextmenu:t.showContextMenu},null,8,["rows","width","model-value","class","style","onContextmenu"]),s(P,{modelValue:t.contextMenuShown,"onUpdate:modelValue":a[0]||(a[0]=n=>t.contextMenuShown=n),target:[t.x,t.y]},{default:o(()=>[s(N,null,{default:o(()=>[(h(!0),d(w,null,f(t.contextMenuOptions,(n,j)=>(h(),v(b,{key:j,onClick:y(n.action,["stop"])},{default:o(()=>[s(u,null,{default:o(()=>[x(C(n.title),1)]),_:2},1024)]),_:2},1032,["onClick"]))),128))]),_:1})]),_:1},8,["modelValue","target"]),s(_,{modelValue:t.viewDetails,"onUpdate:modelValue":a[1]||(a[1]=n=>t.viewDetails=n),"target-name":t.parameters[0],"packet-name":t.parameters[1],"item-name":t.parameters[2]},null,8,["modelValue","target-name","packet-name","item-name"])])}const F=B("default",c(e,[["render",W],["__scopeId","data-v-fc296592"]]))})}}));
|
|
@@ -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,s={}){let u=[];for(const a in s)u.push({key:a,value:s[a],readonly:!1});
|
|
1
|
+
System.register(["./main-41bf9e8be1fa8f271a59.js","vue","single-spa","./Widget-CtYQauzA-76c2f5fd2351d284a46d.js","vue-router","pinia","vuetify"],(function(exports,module){"use strict";var d,T,Da,Fa,resolveComponent,openBlock,createBlock,withCtx,createVNode,createElementVNode,createTextVNode,toDisplayString,createCommentVNode,withModifiers,createElementBlock,normalizeStyle,h;return{setters:[e=>{d=e.i,T=e.T,Da=e.D,Fa=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=>{h=e.h},null,null,null],execute:(function(){const S={props:{uuid:{type:String,default:null},cmdUser:{type:String,default:null},cmdString:{type:String,default:null},persistent:{type:Boolean,default:!1},modelValue:Boolean},emits:["update:modelValue","status"],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}},watch:{modelValue:function(e,t){e?(Da.get("/openc3-api/criticalcmd/canapprove/"+this.uuid).then(s=>{s.data.status==="ok"&&(this.canApprove=!0)}),this.updater=setInterval(()=>{this.uuid?Da.get("/openc3-api/criticalcmd/status/"+this.uuid).then(s=>{s.data.status!=="WAITING"&&(this.$emit("status",s.data.status,this.uuid),this.show=!1)}):this.show=!1},1e3)):(clearInterval(this.updater),this.updater=null,this.canApprove=!1,this.username=null,this.password=null)}},beforeUnmount(){clearInterval(this.updater),this.updater=null,this.canApprove=!1,this.username=null,this.password=null},methods:{async approve(){if(this.canApprove)await Da.post("/openc3-api/criticalcmd/approve/"+this.uuid,{}).then(e=>{e.status==200&&(this.$emit("status","APPROVED",this.uuid),this.show=!1,this.error=!1)});else{let e=await this.getKeycloakToken();T.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.uuid),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 Da.post("/openc3-api/criticalcmd/reject/"+this.uuid,{}).then(e=>{e.status==200&&(this.$emit("status","REJECTED",this.uuid),this.show=!1,this.error=!1)});else{let e=await this.getKeycloakToken();(await T.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.uuid),this.show=!1,this.error=!1)}},async getKeycloakToken(){return(await T.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,s,u,a,o){const l=resolveComponent("v-spacer"),f=resolveComponent("v-toolbar"),p=resolveComponent("v-alert"),r=resolveComponent("v-row"),m=resolveComponent("v-text-field"),C=resolveComponent("v-btn"),V=resolveComponent("v-container"),v=resolveComponent("v-card-text"),c=resolveComponent("v-card"),w=resolveComponent("v-dialog");return openBlock(),createBlock(w,{modelValue:o.show,"onUpdate:modelValue":t[3]||(t[3]=n=>o.show=n),persistent:s.persistent,width:"600"},{default:withCtx(()=>[createVNode(c,null,{default:withCtx(()=>[createVNode(f,{height:"24"},{default:withCtx(()=>[createVNode(l),t[4]||(t[4]=createElementVNode("span",null," Waiting for Critical Command Approval ",-1)),createVNode(l)]),_:1}),createVNode(v,null,{default:withCtx(()=>[createVNode(V,{fluid:""},{default:withCtx(()=>[createVNode(p,{modelValue:a.error,"onUpdate:modelValue":t[0]||(t[0]=n=>a.error=n),type:"error",closable:""},{default:withCtx(()=>[createTextVNode(toDisplayString(a.errorText),1)]),_:1},8,["modelValue"]),createVNode(r,{class:"pt-4",style:{color:"white"}},{default:withCtx(()=>[createTextVNode("User "+toDisplayString(s.cmdUser)+" is waiting for approval to execute: ",1)]),_:1}),createVNode(r,{class:"pa-4",style:{color:"white"}},{default:withCtx(()=>[createTextVNode(toDisplayString(s.cmdString),1)]),_:1}),createVNode(r,{class:"text-subtitle-2"},{default:withCtx(()=>[createTextVNode("UUID: "+toDisplayString(s.uuid),1)]),_:1}),a.canApprove?createCommentVNode("",!0):(openBlock(),createBlock(r,{key:0},{default:withCtx(()=>[createVNode(m,{modelValue:a.username,"onUpdate:modelValue":t[1]||(t[1]=n=>a.username=n),label:"Username","data-test":"username"},null,8,["modelValue"])]),_:1})),a.canApprove?createCommentVNode("",!0):(openBlock(),createBlock(r,{key:1},{default:withCtx(()=>[createVNode(m,{modelValue:a.password,"onUpdate:modelValue":t[2]||(t[2]=n=>a.password=n),type:"password",label:"Password","data-test":"password"},null,8,["modelValue"])]),_:1})),createVNode(r,{class:"pt-2"},{default:withCtx(()=>[createVNode(l),createVNode(C,{type:"submit",class:"mx-2",color:"secondary",variant:"outlined",disabled:o.disableButtons,"data-test":"reject",onClick:withModifiers(o.reject,["prevent"])},{default:withCtx(()=>[...t[5]||(t[5]=[createTextVNode(" Reject ",-1)])]),_:1},8,["disabled","onClick"]),createVNode(C,{type:"submit",class:"mx-2",color:"primary",disabled:o.disableButtons,"data-test":"approve",onClick:withModifiers(o.approve,["prevent"])},{default:withCtx(()=>[...t[6]||(t[6]=[createTextVNode(" Approve ",-1)])]),_:1},8,["disabled","onClick"])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue","persistent"])}const P=d(S,[["render",E],["__scopeId","data-v-fed7ba55"]]),_sfc_main={components:{CriticalCmdDialog:P},mixins:[h],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 Fa},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,s={}){let u=[];for(const a in s)u.push({key:a,value:s[a],readonly:!1});Da.post(`/script-api/scripts/${e}/run`,{data:{environment:u}}).then(a=>{t&&window.open(`/tools/scriptrunner/${a.data}`,"_blank")})}}},_hoisted_1={class:"mx-1"};function _sfc_render(e,t,s,u,a,o){const l=resolveComponent("v-btn"),f=resolveComponent("v-card-title"),p=resolveComponent("v-row"),r=resolveComponent("v-spacer"),m=resolveComponent("v-card-text"),C=resolveComponent("v-card"),V=resolveComponent("v-dialog"),v=resolveComponent("critical-cmd-dialog");return openBlock(),createElementBlock("div",null,[createVNode(l,{class:"ma-1",color:"primary",style:normalizeStyle(e.computedStyle),onClick:o.onClick},{default:withCtx(()=>[createTextVNode(toDisplayString(o.buttonText),1)]),_:1},8,["style","onClick"]),createVNode(V,{modelValue:a.displaySendHazardous,"onUpdate:modelValue":t[0]||(t[0]=c=>a.displaySendHazardous=c),"max-width":"300"},{default:withCtx(()=>[createVNode(C,null,{default:withCtx(()=>[createVNode(f,null,{default:withCtx(()=>[...t[2]||(t[2]=[createTextVNode("Hazardous",-1)])]),_:1}),createVNode(m,null,{default:withCtx(()=>[createElementVNode("div",_hoisted_1,[createVNode(p,{class:"my-2"},{default:withCtx(()=>[...t[3]||(t[3]=[createElementVNode("span",null," Warning: Command is Hazardous. Send? ",-1)])]),_:1}),createVNode(p,null,{default:withCtx(()=>[createVNode(r),createVNode(l,{variant:"outlined",onClick:o.cancelHazardousCmd},{default:withCtx(()=>[...t[4]||(t[4]=[createTextVNode(" Cancel ",-1)])]),_:1},8,["onClick"]),createVNode(l,{class:"bg-primary mx-1",onClick:o.sendHazardousCmd},{default:withCtx(()=>[...t[5]||(t[5]=[createTextVNode(" Send ",-1)])]),_:1},8,["onClick"])]),_:1})])]),_:1})]),_:1})]),_:1},8,["modelValue"]),createVNode(v,{modelValue:a.displayCriticalCmd,"onUpdate:modelValue":t[1]||(t[1]=c=>a.displayCriticalCmd=c),uuid:a.criticalCmdUuid,"cmd-string":a.criticalCmdString,"cmd-user":a.criticalCmdUser},null,8,["modelValue","uuid","cmd-string","cmd-user"])])}const ButtonWidget=exports("default",d(_sfc_main,[["render",_sfc_render]]))})}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["./Layout--_zNJWnw-16921ce6aa9987c9960c.js","vue","./main-41bf9e8be1fa8f271a59.js","./Widget-CtYQauzA-76c2f5fd2351d284a46d.js","vue-router","pinia","single-spa","vuetify"],(function(d,w){"use strict";var i,r,s,a,l,c,u,o,m,g;return{setters:[e=>{i=e.r},e=>{r=e.openBlock,s=e.createElementBlock,a=e.normalizeStyle,l=e.Fragment,c=e.renderList,u=e.createBlock,o=e.resolveDynamicComponent,m=e.mergeProps},e=>{g=e.i},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 v(n,k,z,B,_,p){return r(),s("svg",{id:"canvas",width:p.width,height:p.height,style:a(n.computedStyle)},[(r(!0),s(l,null,c(n.widgets,(t,y)=>(r(),u(o(t.type),m({ref_for:!0},n.listeners,{key:y,target:t.target,parameters:t.parameters,settings:t.settings,"screen-values":n.screenValues,"screen-time-zone":n.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))],12,h)}const f=d("default",g(e,[["render",v],["__scopeId","data-v-aeda4a44"]]))})}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["./Widget-CtYQauzA-76c2f5fd2351d284a46d.js","vue","./main-41bf9e8be1fa8f271a59.js","vue-router","pinia","single-spa","vuetify"],(function(i,a){"use strict";var r,n,l,c;return{setters:[e=>{r=e.h},e=>{n=e.openBlock,l=e.createElementBlock},e=>{c=e.i},null,null,null,null],execute:(function(){const e={mixins:[r]},s=["cx","cy","r","fill"];function u(t,m,p,f,d,k){return n(),l("circle",{cx:t.parameters[0],cy:t.parameters[1],r:t.parameters[3],fill:t.parameters[2]},null,8,s)}const o=i("default",c(e,[["render",u]]))})}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./Widget-
|
|
1
|
+
System.register(["./Widget-CtYQauzA-76c2f5fd2351d284a46d.js","./ImageLoader-BCpmQHIl-1b4a6c662d8e85c5ce0a.js","vue","./main-41bf9e8be1fa8f271a59.js","vue-router","pinia","single-spa","vuetify"],(function(o,d){"use strict";var i,n,s,a,l,c,h;return{setters:[e=>{i=e.h},e=>{n=e.s},e=>{s=e.openBlock,a=e.createElementBlock,l=e.normalizeStyle,c=e.createCommentVNode},e=>{h=e.i},null,null,null,null],execute:(function(){const e={mixins:[i,n],emits:["open"],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 p(t,m,y,k,N,r){return t.imageUrl?(s(),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]=(...g)=>r.clickHandler&&r.clickHandler(...g))},null,12,u)):c("",!0)}const f=o("default",h(e,[["render",p]]))})}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./Widget-
|
|
1
|
+
System.register(["./Widget-CtYQauzA-76c2f5fd2351d284a46d.js","./ImageLoader-BCpmQHIl-1b4a6c662d8e85c5ce0a.js","vue","./main-41bf9e8be1fa8f271a59.js","vue-router","pinia","single-spa","vuetify"],(function(I,S){"use strict";var m,d,l,n,g,o,h,u,c,p,f;return{setters:[t=>{m=t.h},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,p=t.createCommentVNode},t=>{f=t.i},null,null,null,null],execute:(function(){const t={mixins:[m,d],emits:["addItem","deleteItem","open"],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(i=>i.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 i=this.appliedSettings.filter(e=>e[0]==="IMAGE").map(async e=>{let r=e[2];return r.startsWith("http")||(r=await this.getPresignedUrl(r)),{url:r,value:e[1],x:e[3],y:e[4],width:e[5],height:e[6]}});if(Promise.all(i).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 r=this.parameters[4];r.startsWith("http")?this.defaultImage={...e,url:r}:this.getPresignedUrl(r).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)}}},v=["href","x","y","width","height"],w=["href","x","y","width","height"];function k(i,e,r,y,N,a){return l(),n("g",null,[(l(!0),n(g,null,o(i.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,v)),[[c,s.value==a.selectedValue]])),128)),i.defaultImage?h((l(),n("image",{key:0,href:i.defaultImage.url,x:i.defaultImage.x,y:i.defaultImage.y,width:i.defaultImage.width,height:i.defaultImage.height,style:u(a.pointerStyle),onClick:e[1]||(e[1]=(...s)=>a.clickHandler&&a.clickHandler(...s))},null,12,w)),[[c,a.showDefault]]):p("",!0)])}const $=I("default",f(t,[["render",k]]))})}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["./Widget-CtYQauzA-76c2f5fd2351d284a46d.js","vue","./main-41bf9e8be1fa8f271a59.js","vue-router","pinia","single-spa","vuetify"],(function(u,m){"use strict";var r,n,l,i,s,a;return{setters:[e=>{r=e.h},e=>{n=e.openBlock,l=e.createElementBlock,i=e.normalizeStyle,s=e.toDisplayString},e=>{a=e.i},null,null,null,null],execute:(function(){const e={mixins:[r],computed:{fontSize(){return this.parameters[3]?this.parameters[3]+"px":"12px"},fillColor(){return this.parameters[4]?this.parameters[4]:"black"}}},p=["x","y","font-size","fill"];function c(t,y,x,S,z,o){return n(),l("text",{x:t.parameters[0],y:t.parameters[1],"font-size":o.fontSize,fill:o.fillColor,style:i(t.computedStyle)},s(t.parameters[2]),13,p)}const f=u("default",a(e,[["render",c]]))})}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["./Widget-CtYQauzA-76c2f5fd2351d284a46d.js","vue","./main-41bf9e8be1fa8f271a59.js","vue-router","pinia","single-spa","vuetify"],(function(m,h){"use strict";var s,a,i,l,n,u;return{setters:[e=>{s=e.h},e=>{a=e.openBlock,i=e.createElementBlock,l=e.normalizeStyle,n=e.toDisplayString},e=>{u=e.i},null,null,null,null],execute:(function(){const e={mixins:[s],emits:["addItem","deleteItem"],data(){return{valueId:null}},computed:{_value(){return this.screenValues[this.valueId]?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 p(t,c,f,v,I,r){return a(),i("text",{x:t.parameters[3],y:t.parameters[4],"font-size":r.fontSize,fill:r.fillColor,style:l(t.computedStyle)},n(r._value),13,o)}const d=m("default",u(e,[["render",p]]))})}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./Widget-
|
|
1
|
+
System.register(["./Widget-CtYQauzA-76c2f5fd2351d284a46d.js","vue","./main-41bf9e8be1fa8f271a59.js","vue-router","pinia","single-spa","vuetify"],(function(c,p){"use strict";var l,a,n,s,i;return{setters:[e=>{l=e.h},e=>{a=e.openBlock,n=e.createElementBlock,s=e.normalizeStyle},e=>{i=e.i},null,null,null,null],execute:(function(){const e={mixins:[l],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 m(t,r,h,k,d,o){return a(),n("line",{x1:t.parameters[0],y1:t.parameters[1],x2:t.parameters[2],y2:t.parameters[3],style:s(o.calcStyle)},null,12,u)}const y=c("default",i(e,[["render",m]]))})}}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
System.register(["./Widget-
|
|
1
|
+
System.register(["./Widget-CtYQauzA-76c2f5fd2351d284a46d.js","vue","./main-41bf9e8be1fa8f271a59.js","vue-router","pinia","single-spa","vuetify"],(function(u,d){"use strict";var s,r,l,i,n;return{setters:[t=>{s=t.h},t=>{r=t.openBlock,l=t.createElementBlock,i=t.normalizeStyle},t=>{n=t.i},null,null,null,null],execute:(function(){const t={mixins:[s],emits:["addItem","deleteItem"],data(){return{valueId:0,valueMap:{}}},computed:{calcStyle(){let e="black";this.screenValues[this.valueId]&&(e=this.valueMap[this.screenValues[this.valueId][0]]);let a=1;return this.parameters[7]&&(a=this.parameters[7]),"stroke:"+e+";stroke-width:"+a}},created(){this.appliedSettings.forEach(a=>{a[0]==="VALUE_EQ"&&(this.valueMap[a[1]]=a[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 h(e,a,o,v,y,c){return r(),l("line",{x1:e.parameters[3],y1:e.parameters[4],x2:e.parameters[5],y2:e.parameters[6],style:i(c.calcStyle)},null,12,m)}const p=u("default",n(t,[["render",h]]))})}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["./Widget-CtYQauzA-76c2f5fd2351d284a46d.js","vue","./main-41bf9e8be1fa8f271a59.js","vue-router","pinia","single-spa","vuetify"],(function(i,p){"use strict";var t,a,n,s,r,u;return{setters:[e=>{t=e.h},e=>{a=e.resolveComponent,n=e.openBlock,s=e.createBlock,r=e.normalizeStyle},e=>{u=e.i},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 c(d,o,k,y,l,b){const m=a("v-checkbox");return n(),s(m,{modelValue:l.value,"onUpdate:modelValue":o[0]||(o[0]=h=>l.value=h),"hide-details":"",density:"compact",label:l.label,style:r(d.computedStyle)},null,8,["modelValue","label","style"])}const v=i("default",u(e,[["render",c]]))})}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
System.register(["./Widget-CtYQauzA-76c2f5fd2351d284a46d.js","vue","./main-41bf9e8be1fa8f271a59.js","vue-router","pinia","single-spa","vuetify"],(function(o,p){"use strict";var l,n,s,i,a,r;return{setters:[e=>{l=e.h},e=>{n=e.resolveComponent,s=e.openBlock,i=e.createBlock,a=e.normalizeStyle},e=>{r=e.i},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,u,y,f,t,k){const d=n("v-select");return s(),i(d,{modelValue:t.value,"onUpdate:modelValue":u[0]||(u[0]=v=>t.value=v),"hide-details":"",density:"compact",variant:"outlined",items:t.items,style:a(m.computedStyle)},null,8,["modelValue","items","style"])}const h=o("default",r(e,[["render",c]]))})}}));
|