openc3-cosmos-tool-dataextractor 6.0.1 → 6.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/tools/dataextractor/{ArrayWidget-BTxChSds-219b1cbe0009cda9ad14.js → ArrayWidget-DBpEoQ1y-1c0b61d5aa91fcdccd47.js} +2 -2
- data/tools/dataextractor/{BarColumn-Cdu3OoMa-27237711828fda255937.js → BarColumn-B6tCmNJm-6a949f6a26b37b195a7f.js} +1 -1
- data/tools/dataextractor/BlockWidget-Bmi0UcUW-2ecaaec709c8f96e50c3.js +2 -0
- data/tools/dataextractor/{ButtonWidget-nwDlOBJT-91b8131aa136f6f1b93a.js → ButtonWidget-CHrHS_Bw-fb33e464b92e99d7088a.js} +2 -2
- data/tools/dataextractor/CanvasWidget-BqdyLbQz-a6307c239d854ea24c12.js +1 -0
- data/tools/dataextractor/CanvasdotWidget-YYwca104-eaddbe7e07d47fdd9ceb.js +1 -0
- data/tools/dataextractor/{CanvasimageWidget-BIw7Wbf2-35b752a114f6f1ab7de1.js → CanvasimageWidget-BrYlPQCf-aa35419e31ba5c4a8c59.js} +1 -1
- data/tools/dataextractor/CanvasimagevalueWidget-HnEOXmZy-5f4a8e64639ec1e9d09e.js +1 -0
- data/tools/dataextractor/{CanvaslabelWidget-DWmb356h-126ea8786887c6264094.js → CanvaslabelWidget-BfMHNei--56787479f6430aec4563.js} +1 -1
- data/tools/dataextractor/{CanvaslabelvalueWidget-CI3yYwFs-5372876c547c9db80f37.js → CanvaslabelvalueWidget-0zRDJav3-6e35ee7976f9a1810aab.js} +1 -1
- data/tools/dataextractor/CanvaslineWidget-BmOwJP_G-9aafd363ce9369484ed0.js +1 -0
- data/tools/dataextractor/CanvaslinevalueWidget-H3L1aUKM-e0588c9e703be02e94f1.js +1 -0
- data/tools/dataextractor/CheckbuttonWidget-BnT9X7wE-2db801bd269382b7d7fc.js +1 -0
- data/tools/dataextractor/{ComboboxWidget-BzsbOv54-f25bf1e68e538e2b0c46.js → ComboboxWidget-BykAAoxH-940db69dc812c271778d.js} +1 -1
- data/tools/dataextractor/{DataExtractor-c2d759e79eb4c38a3a19.js → DataExtractor-d79b9c10bf6e7cad9e7a.js} +9 -9
- data/tools/dataextractor/{DateWidget-B5R_9rA8-eb7538dbbbc3d35ff8f2.js → DateWidget-FtYD86xW-565045cc12f1d3e5cb17.js} +1 -1
- data/tools/dataextractor/{DetailsDialog-DLRMqetn-6b4c5c6a6faacd588bab.js → DetailsDialog-DiVcC3Fg-487ebbee41c3e5252082.js} +1 -1
- data/tools/dataextractor/{DynamicWidget-m9EliUR2-856a78538fa662622288.js → DynamicWidget-m9EliUR2-1c3200485aaa974e6fd1.js} +1 -1
- data/tools/dataextractor/FormatvalueWidget-OykwwCrw-d47fb6e27f3ff1b378cd.js +1 -0
- data/tools/dataextractor/{GraphWidget-amwxyH1r-d518e90eb1c0af690c4b.js → GraphWidget-BohHW-97-4cf819901d3dfd16cfbf.js} +1 -1
- data/tools/dataextractor/{HorizontalWidget-CirtfuL8-d06a149c4fc186f39f21.js → HorizontalWidget-B7YdcFVN-dba3e24e89fce8121643.js} +1 -1
- data/tools/dataextractor/HorizontalboxWidget-D-kCNwI3-a2d0d73ec7d97fd7a333.js +1 -0
- data/tools/dataextractor/{HorizontallineWidget-BdlNB951-54f354837198a3cb02b0.js → HorizontallineWidget-BdlNB951-9a8865ddf3fc0386af74.js} +1 -1
- data/tools/dataextractor/IframeWidget-0C7GYEVc-e7ba031909460f5acbe7.js +1 -0
- data/tools/dataextractor/{ImageLoader-CpcR6tPi-6c2fb1a992f246b2f149.js → ImageLoader-y6fAZe9P-c20cfe51413bd1cebe0b.js} +1 -1
- data/tools/dataextractor/{ImageviewerWidget-DIkmb_C9-5625421146845ed96a76.js → ImageviewerWidget-B4HbUIfR-85bbceb204b4b453860b.js} +1 -1
- data/tools/dataextractor/{LabelWidget-BDsypYho-82682e78b06c8fb62cc9.js → LabelWidget-D1JhQAzR-ce20e60fbbbe57e4bd55.js} +1 -1
- data/tools/dataextractor/{LabelledWidget-DjturGl5-743a730f65bbc81d4738.js → LabelledWidget-C2VGJ5OJ-74e2097e134d5c35bfbf.js} +1 -1
- data/tools/dataextractor/LabelprogressbarWidget-DN0cAeLK-7afdf9d9d638e3d758e5.js +1 -0
- data/tools/dataextractor/LabelsparklineWidget--sxBENxs-1e3fadbb4231d6122c4b.js +1 -0
- data/tools/dataextractor/LabelvalueWidget-BWpP5KX6-4c01c369a8b114772197.js +1 -0
- data/tools/dataextractor/{LabelvaluedescWidget-CsUP7J4U-744981d2bd1bd3c398f3.js → LabelvaluedescWidget-DtJwggDu-7c25c7ebc0757057fc77.js} +1 -1
- data/tools/dataextractor/{LabelvaluelimitsbarWidget-Blj1QXV8-f65228e49e64d5d4c186.js → LabelvaluelimitsbarWidget-Bj6UVK-5-fc03971a7f003e2468b5.js} +1 -1
- data/tools/dataextractor/LabelvaluelimitscolumnWidget-BVcEEcUx-aeeceaba68b98bbec596.js +1 -0
- data/tools/dataextractor/{LabelvaluerangebarWidget-DpcXhlfF-19277ea294a77e984fba.js → LabelvaluerangebarWidget-DCJ42bmf-f6bc0f83a35f89e00c36.js} +1 -1
- data/tools/dataextractor/{Layout-C1HoM4Kl-4749c21bb2663aaf1fdd.js → Layout-D4YBjuWs-9760d49d47be7ac41a9f.js} +1 -1
- data/tools/dataextractor/{LedWidget-B_K2e5tq-569caeedf217fd87a88b.js → LedWidget-hN9JHxjr-aa126047636e683a64d5.js} +1 -1
- data/tools/dataextractor/{LimitsbarWidget-DXbqsi4J-dd9453c1c1335607006e.js → LimitsbarWidget-D-wfz_St-b9383b82d644fa7cb98d.js} +1 -1
- data/tools/dataextractor/{LimitscolorWidget-Ckmuw0YX-2280879e82c2cf12ee5b.js → LimitscolorWidget-B0AVGdkz-25d41627ca4119391a27.js} +1 -1
- data/tools/dataextractor/{LimitscolumnWidget-BfY4su5U-fd1407f469d4b3053e0f.js → LimitscolumnWidget-Dt5ce4hN-ee0ad52298811b3b08e9.js} +1 -1
- data/tools/dataextractor/{LinegraphWidget-y-Qy9P0R-4e2eeb6588009fb0bc1b.js → LinegraphWidget-CTjtvtPd-d67446b7ee79a8be6c08.js} +1 -1
- data/tools/dataextractor/MatrixbycolumnsWidget-wLx4NvXV-845a8aeaf520b2ffd03d.js +1 -0
- data/tools/dataextractor/{ProgressbarWidget-DpA_-vy9-cb4f1215ff76cad60743.js → ProgressbarWidget-B7l0BBiX-fa52db0d6d1744d9de05.js} +1 -1
- data/tools/dataextractor/RadiobuttonWidget-B032jKIw-2ec3d31ede2fbcaa126c.js +1 -0
- data/tools/dataextractor/RadiogroupWidget-Busjqikr-4ec7aac22cfe367897c7.js +1 -0
- data/tools/dataextractor/{RangebarWidget-DHS7S3vI-5af418438c9e89d0d328.js → RangebarWidget-DbYrwEfC-daea125f7589b80838f3.js} +1 -1
- data/tools/dataextractor/{RollupWidget-CTk9Kjwr-5b52f5c90ca672af353c.js → RollupWidget-rKxLXuCv-317598f5fa8e45ef1b44.js} +1 -1
- data/tools/dataextractor/{ScrollwindowWidget-DD0TOW6s-6c2db69efcdcdfdf6e4f.js → ScrollwindowWidget-D4NKIzQO-cf26c4fc496bc4018b51.js} +1 -1
- data/tools/dataextractor/{SignalWidget-CC33KMTW-926329e6b1b6b750cb47.js → SignalWidget-h-oivReC-955e32f809ab1c371826.js} +1 -1
- data/tools/dataextractor/SpacerWidget-BSy9eOlB-c89463d660f2d3683033.js +1 -0
- data/tools/dataextractor/{SparklineWidget-DMvMQCPm-9641ad80839a222973f3.js → SparklineWidget-C9vdxar--27b1f5fc7cd1b1f0de22.js} +1 -1
- data/tools/dataextractor/TabbookWidget-DTFTKURm-4b23ee161c660f030255.js +1 -0
- data/tools/dataextractor/TextboxWidget-BZyYHmBq-31c2410278a883f5a0e9.js +1 -0
- data/tools/dataextractor/{TextfieldWidget-DXSdgqVP-b4202832bcd545c93bc5.js → TextfieldWidget-aVRdXRsT-24938d63f287872f1830.js} +1 -1
- data/tools/dataextractor/TimeWidget-BE2rtMxg-38e9bf584b6d8c4f5012.js +1 -0
- data/tools/dataextractor/{TitleWidget-DqViFQl--dd9a2bc326ed4c3b4be9.js → TitleWidget-BB29MZb2-6bef4ca9b93f1c41c208.js} +1 -1
- data/tools/dataextractor/{VWidget-02CG-3Av-63df1706362f2e647b12.js → VWidget-CGdM4sTw-729e8b3fcd6166b783f1.js} +1 -1
- data/tools/dataextractor/ValueWidget-h3905woQ-181f3cb5fa186ab9aaab.js +1 -0
- data/tools/dataextractor/{ValuelimitsbarWidget-SR8XNZFB-cb4f6d4e222b9ce3f1bd.js → ValuelimitsbarWidget-LMXYjWtS-b5b6df51ba804638df3d.js} +1 -1
- data/tools/dataextractor/{ValuelimitscolumnWidget-xYZSp6YZ-e9b803e5eeb0f52b2ff6.js → ValuelimitscolumnWidget-gA3ZcfAT-fe271b28898c0abf8bf1.js} +1 -1
- data/tools/dataextractor/ValuerangebarWidget-DwZ9KQ0O-ad198b8a9de3a696ca72.js +1 -0
- data/tools/dataextractor/VerticalWidget-DziyURNu-3e67ee4f4de9fd1df20f.js +1 -0
- data/tools/dataextractor/VerticalboxWidget-OcoZBsFU-1a3baa11d1f3bca90fca.js +1 -0
- data/tools/dataextractor/{Widget-C4QVI4IH-83406e8ce23b52b3fb89.js → Widget-C7ms_xDE-a17eef2ddcd666c67dc7.js} +1 -1
- data/tools/dataextractor/{main-59d01ac81c6306714fbc.js → main-80e32c674d54e3083df2.js} +72 -72
- data/tools/dataextractor/main.js +1 -1
- metadata +67 -67
- data/tools/dataextractor/BlockWidget-PmjzrkXF-1a6d6c5a526d92d762a4.js +0 -2
- data/tools/dataextractor/CanvasWidget-BL8930eT-305fd7a0918254604d0c.js +0 -1
- data/tools/dataextractor/CanvasdotWidget-VCf1fL-G-7462178b8b99699ae91d.js +0 -1
- data/tools/dataextractor/CanvasimagevalueWidget-CE3Dj5bH-25045a9e8cbdb50bac76.js +0 -1
- data/tools/dataextractor/CanvaslineWidget-COeapH3P-460a552af45030a747d8.js +0 -1
- data/tools/dataextractor/CanvaslinevalueWidget-CI-Bbzfi-bec09600dcd6ee8715d4.js +0 -1
- data/tools/dataextractor/CheckbuttonWidget-BQhggcZ2-35e6514c44521504188c.js +0 -1
- data/tools/dataextractor/FormatvalueWidget-DZkRJce8-bab94c67f32e135dcca0.js +0 -1
- data/tools/dataextractor/HorizontalboxWidget-CyTDt2nl-90e1b33a781e92b37591.js +0 -1
- data/tools/dataextractor/IframeWidget-DnJmCrCA-47494fe1569dd8507713.js +0 -1
- data/tools/dataextractor/LabelprogressbarWidget-RADJGLj3-56db70caf3e1c981bdae.js +0 -1
- data/tools/dataextractor/LabelsparklineWidget-BlJoICxu-d922c1f9e5d3e1903fbe.js +0 -1
- data/tools/dataextractor/LabelvalueWidget-DVWJqnlY-d188d46542ebf25ae5cf.js +0 -1
- data/tools/dataextractor/LabelvaluelimitscolumnWidget-CvCo-uCe-17ca7b08812bf0801517.js +0 -1
- data/tools/dataextractor/MatrixbycolumnsWidget-BTBColrs-0ae432903988a024cef9.js +0 -1
- data/tools/dataextractor/RadiobuttonWidget-BO8zpgwW-e6bb4985a1cf5a1dfe86.js +0 -1
- data/tools/dataextractor/RadiogroupWidget-Oy7V4S-V-199e7d5d60969b13852c.js +0 -1
- data/tools/dataextractor/SpacerWidget-BnJe_Hq6-ba0fb1ec78c72e641753.js +0 -1
- data/tools/dataextractor/TabbookWidget-B3w0JtWe-05da7a73cca2c9623b24.js +0 -1
- data/tools/dataextractor/TextboxWidget-D2f0-eol-58d6368beeb44f20ca35.js +0 -1
- data/tools/dataextractor/TimeWidget-DvrRaEMz-98ee7dcb55051340f67a.js +0 -1
- data/tools/dataextractor/ValueWidget-KLYY8L8U-eee72fb4be80d11b8f33.js +0 -1
- data/tools/dataextractor/ValuerangebarWidget-B6M02a9d-6457a90f2ba98a3418a7.js +0 -1
- data/tools/dataextractor/VerticalWidget-z6xUM-ql-21182813e94c79271091.js +0 -1
- data/tools/dataextractor/VerticalboxWidget-3a9cVsW--c1b58e6afe06832bcc3a.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: 8085f5a82386cd9dad79555062081d246ac5a2c7302e3d5e326e9c48c8410f3d
|
4
|
+
data.tar.gz: 15a80dee208f212533efcdea8e90afdbb6ae37f3feb133aef8891caa12e67aa9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 39e4e589525e518eb707bda50e49f9dd4536f7e5a0ef7cca63dedadecf46d4e19f0d7ed736b7faa4fb28dd4746e645e85ea3cbe89f52f61e8e82b40abf4020c6
|
7
|
+
data.tar.gz: e9997f1111418aabecb67c39caa9e958e0c0968cc3bf10d65e78c1f448c4933548bd4d9629974272a785c173e9c7228fa922b7e8bbaa61ec97970de479f00e08
|
@@ -1,2 +1,2 @@
|
|
1
|
-
System.register(["./main-
|
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}}},
|
1
|
+
System.register(["./main-80e32c674d54e3083df2.js","vue","./DetailsDialog-DiVcC3Fg-487ebbee41c3e5252082.js","single-spa","./VWidget-CGdM4sTw-729e8b3fcd6166b783f1.js","vue-router","vuex","vuetify","./Widget-C7ms_xDE-a17eef2ddcd666c67dc7.js"],function(S,T){"use strict";var h,a,u,c,i,d,p,l,g,f,v,w,y,x,C,V;return{setters:[t=>{h=t.s},t=>{a=t.resolveComponent,u=t.openBlock,c=t.createElementBlock,i=t.createVNode,d=t.normalizeClass,p=t.normalizeStyle,l=t.withCtx,g=t.Fragment,f=t.renderList,v=t.createBlock,w=t.withModifiers,y=t.createTextVNode,x=t.toDisplayString},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}}},_={class:"array-widget-container"};function B(e,r,s,k,D,o){const m=a("v-textarea"),M=a("v-list-item-title"),z=a("v-list-item"),L=a("v-list"),E=a("v-menu"),N=a("details-dialog");return u(),c("div",_,[i(m,{variant:"solo",density:"compact",readonly:"","no-resize":"","auto-grow":"",rows:"2","hide-details":"","model-value":e._value,class:d(e.valueClass),style:p([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(L,null,{default:l(()=>[(u(!0),c(g,null,f(e.contextMenuOptions,(n,P)=>(u(),v(z,{key:P,onClick:w(n.action,["stop"])},{default:l(()=>[i(M,null,{default:l(()=>[y(x(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 j=S("default",h(t,[["render",B],["__scopeId","data-v-62b9e9e1"]]))}}});
|
@@ -1 +1 @@
|
|
1
|
-
System.register(["./Widget-
|
1
|
+
System.register(["./Widget-C7ms_xDE-a17eef2ddcd666c67dc7.js","./main-80e32c674d54e3083df2.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(["./main-80e32c674d54e3083df2.js","vue","./DetailsDialog-DiVcC3Fg-487ebbee41c3e5252082.js","single-spa","./VWidget-CGdM4sTw-729e8b3fcd6166b783f1.js","vue-router","vuex","vuetify","./Widget-C7ms_xDE-a17eef2ddcd666c67dc7.js"],function(S,L){"use strict";var u,a,h,m,s,p,g,o,w,f,v,x,y,C,V,k;return{setters:[e=>{u=e.s},e=>{a=e.resolveComponent,h=e.openBlock,m=e.createElementBlock,s=e.createVNode,p=e.normalizeClass,g=e.normalizeStyle,o=e.withCtx,w=e.Fragment,f=e.renderList,v=e.createBlock,x=e.withModifiers,y=e.createTextVNode,C=e.toDisplayString},e=>{V=e.P},null,e=>{k=e.L},null,null,null,null],execute:function(){const e={components:{DetailsDialog:V},data:function(){return{width:400,height:400,bytesPerWord:4,wordsPerRow:4,addrFormat:null,formatter:"%02X"}},mixins:[k],computed:{aging(){return{"--aging":this.grayLevel}},rows:function(){return(this.height-16)/24}},created:function(){this.width=this.setWidth(this.parameters[3],"px",this.width),this.height=this.setHeight(this.parameters[4],"px",this.height),this.parameters[5]&&(this.formatter=this.parameters[5]),this.parameters[6]&&(this.bytesPerWord=parseInt(this.parameters[6])),this.parameters[7]&&(this.wordsPerRow=parseInt(this.parameters[7])),this.parameters[8]&&(this.addrFormat=this.parameters[8])},methods:{getType:function(){let t="RAW";return this.parameters[9]&&(t=this.parameters[9]),t},formatValue:function(t){let r="";if(t&&t.raw){let D=" ",P=`
|
2
|
+
`,i=0,l=0;const d=this.bytesPerWord*this.wordsPerRow;for(const c of t.raw)this.addrFormat&&i===0&&(r+=sprintf(this.addrFormat,l),l+=d),r+=sprintf(this.formatter,c),i+=1,i%d===0?(i=0,r+=P):i%this.bytesPerWord===0&&(r+=D)}else r=t;return r}}},M={class:"block-widget-container"};function W(t,r,D,P,i,l){const d=a("v-textarea"),c=a("v-list-item-title"),_=a("v-list-item"),F=a("v-list"),B=a("v-menu"),b=a("details-dialog");return h(),m("div",M,[s(d,{variant:"solo",density:"compact",readonly:"","no-resize":"","hide-details":"",rows:l.rows,width:t.width,"model-value":t._value,class:p(t.valueClass),style:g([t.computedStyle,l.aging]),"data-test":"valueText",onContextmenu:t.showContextMenu},null,8,["rows","width","model-value","class","style","onContextmenu"]),s(B,{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(w,null,f(t.contextMenuOptions,(n,z)=>(h(),v(_,{key:z,onClick:x(n.action,["stop"])},{default:o(()=>[s(c,null,{default:o(()=>[y(C(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 N=S("default",u(e,[["render",W],["__scopeId","data-v-4d4589c2"]]))}}});
|
@@ -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,r={}){let p=[];for(const a in r)p.push({key:a,value:r[a],readonly:!1});Ik.post(`/script-api/scripts/${e}/run`,{data:{environment:p}}).then(a=>{t&&window.open(`/tools/scriptrunner/${a.data}`,"_blank")})}}},_hoisted_1={class:"mx-1"};function _sfc_render(e,t,r,p,a,
|
1
|
+
System.register(["./main-80e32c674d54e3083df2.js","vue","single-spa","./Widget-C7ms_xDE-a17eef2ddcd666c67dc7.js","vue-router","vuex","vuetify"],function(exports,module){"use strict";var s,Ik,S$1,Fk,resolveComponent,openBlock,createBlock,withCtx,createVNode,createElementVNode,createTextVNode,toDisplayString,createCommentVNode,withModifiers,createElementBlock,normalizeStyle,o;return{setters:[e=>{s=e.s,Ik=e.I,S$1=e.S,Fk=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=>{o=e.o},null,null,null],execute:function(){const S={props:{uuid:String,cmdUser:String,cmdString:String,persistent:{type:Boolean,default:!1},modelValue:Boolean},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}},beforeUnmount(){clearInterval(this.updater),this.updater=null,this.canApprove=!1,this.username=null,this.password=null},watch:{modelValue:function(e,t){e?(Ik.get("/openc3-api/criticalcmd/canapprove/"+this.uuid).then(r=>{r.data.status==="ok"&&(this.canApprove=!0)}),this.updater=setInterval(()=>{this.uuid?Ik.get("/openc3-api/criticalcmd/status/"+this.uuid).then(r=>{r.data.status!=="WAITING"&&(this.$emit("status",r.data.status),this.show=!1)}):this.show=!1},1e3)):(clearInterval(this.updater),this.updater=null,this.canApprove=!1,this.username=null,this.password=null)}},methods:{async approve(){if(this.canApprove)await Ik.post("/openc3-api/criticalcmd/approve/"+this.uuid,{}).then(e=>{e.status==200&&(this.$emit("status","APPROVED"),this.show=!1,this.error=!1)});else{let e=await this.getKeycloakToken();S$1.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.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 Ik.post("/openc3-api/criticalcmd/reject/"+this.uuid,{}).then(e=>{e.status==200&&(this.$emit("status","REJECTED"),this.show=!1,this.error=!1)});else{let e=await this.getKeycloakToken();(await S$1.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.show=!1,this.error=!1)}},async getKeycloakToken(){return(await S$1.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,r,p,a,l){const c=resolveComponent("v-spacer"),V=resolveComponent("v-toolbar"),m=resolveComponent("v-alert"),n=resolveComponent("v-row"),h=resolveComponent("v-text-field"),C=resolveComponent("v-btn"),f=resolveComponent("v-container"),v=resolveComponent("v-card-text"),u=resolveComponent("v-card"),w=resolveComponent("v-dialog");return openBlock(),createBlock(w,{persistent:r.persistent,modelValue:l.show,"onUpdate:modelValue":t[3]||(t[3]=d=>l.show=d),width:"600"},{default:withCtx(()=>[createVNode(u,null,{default:withCtx(()=>[createVNode(V,{height:"24"},{default:withCtx(()=>[createVNode(c),t[4]||(t[4]=createElementVNode("span",null," Waiting for Critical Command Approval ",-1)),createVNode(c)]),_:1}),createVNode(v,null,{default:withCtx(()=>[createVNode(f,{fluid:""},{default:withCtx(()=>[createVNode(m,{type:"error",modelValue:a.error,"onUpdate:modelValue":t[0]||(t[0]=d=>a.error=d),dismissible:""},{default:withCtx(()=>[createTextVNode(toDisplayString(a.errorText),1)]),_:1},8,["modelValue"]),createVNode(n,{class:"pt-4",style:{color:"white"}},{default:withCtx(()=>[createTextVNode("User "+toDisplayString(r.cmdUser)+" is waiting for approval to execute: ",1)]),_:1}),createVNode(n,{class:"pa-4",style:{color:"white"}},{default:withCtx(()=>[createTextVNode(toDisplayString(r.cmdString),1)]),_:1}),createVNode(n,{class:"text-subtitle-2"},{default:withCtx(()=>[createTextVNode("UUID: "+toDisplayString(r.uuid),1)]),_:1}),a.canApprove?createCommentVNode("",!0):(openBlock(),createBlock(n,{key:0},{default:withCtx(()=>[createVNode(h,{modelValue:a.username,"onUpdate:modelValue":t[1]||(t[1]=d=>a.username=d),label:"Username","data-test":"username"},null,8,["modelValue"])]),_:1})),a.canApprove?createCommentVNode("",!0):(openBlock(),createBlock(n,{key:1},{default:withCtx(()=>[createVNode(h,{modelValue:a.password,"onUpdate:modelValue":t[2]||(t[2]=d=>a.password=d),type:"password",label:"Password","data-test":"password"},null,8,["modelValue"])]),_:1})),createVNode(n,{class:"pt-2"},{default:withCtx(()=>[createVNode(c),createVNode(C,{type:"submit",onClick:withModifiers(l.reject,["prevent"]),class:"mx-2",color:"secondary",outlined:"",disabled:l.disableButtons,"data-test":"reject"},{default:withCtx(()=>t[5]||(t[5]=[createTextVNode(" Reject ")])),_:1},8,["onClick","disabled"]),createVNode(C,{type:"submit",onClick:withModifiers(l.approve,["prevent"]),class:"mx-2",color:"primary",disabled:l.disableButtons,"data-test":"approve"},{default:withCtx(()=>t[6]||(t[6]=[createTextVNode(" Approve ")])),_:1},8,["onClick","disabled"])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["persistent","modelValue"])}const N=s(S,[["render",E],["__scopeId","data-v-edfbf188"]]),_sfc_main={mixins:[o],components:{CriticalCmdDialog:N},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 Fk},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,r={}){let p=[];for(const a in r)p.push({key:a,value:r[a],readonly:!1});Ik.post(`/script-api/scripts/${e}/run`,{data:{environment:p}}).then(a=>{t&&window.open(`/tools/scriptrunner/${a.data}`,"_blank")})}}},_hoisted_1={class:"mx-1"};function _sfc_render(e,t,r,p,a,l){const c=resolveComponent("v-btn"),V=resolveComponent("v-card-title"),m=resolveComponent("v-row"),n=resolveComponent("v-spacer"),h=resolveComponent("v-card-text"),C=resolveComponent("v-card"),f=resolveComponent("v-dialog"),v=resolveComponent("critical-cmd-dialog");return openBlock(),createElementBlock("div",null,[createVNode(c,{class:"ma-1",color:"primary",style:normalizeStyle(e.computedStyle),onClick:l.onClick},{default:withCtx(()=>[createTextVNode(toDisplayString(l.buttonText),1)]),_:1},8,["style","onClick"]),createVNode(f,{modelValue:a.displaySendHazardous,"onUpdate:modelValue":t[0]||(t[0]=u=>a.displaySendHazardous=u),"max-width":"300"},{default:withCtx(()=>[createVNode(C,null,{default:withCtx(()=>[createVNode(V,null,{default:withCtx(()=>t[2]||(t[2]=[createTextVNode("Hazardous")])),_:1}),createVNode(h,null,{default:withCtx(()=>[createElementVNode("div",_hoisted_1,[createVNode(m,{class:"my-2"},{default:withCtx(()=>t[3]||(t[3]=[createElementVNode("span",null," Warning: Command is Hazardous. Send? ",-1)])),_:1}),createVNode(m,null,{default:withCtx(()=>[createVNode(n),createVNode(c,{onClick:l.cancelHazardousCmd,variant:"outlined"},{default:withCtx(()=>t[4]||(t[4]=[createTextVNode(" Cancel ")])),_:1},8,["onClick"]),createVNode(c,{onClick:l.sendHazardousCmd,class:"bg-primary mx-1"},{default:withCtx(()=>t[5]||(t[5]=[createTextVNode(" Send ")])),_:1},8,["onClick"])]),_:1})])]),_:1})]),_:1})]),_:1},8,["modelValue"]),createVNode(v,{uuid:a.criticalCmdUuid,cmdString:a.criticalCmdString,cmdUser:a.criticalCmdUser,modelValue:a.displayCriticalCmd,"onUpdate:modelValue":t[1]||(t[1]=u=>a.displayCriticalCmd=u)},null,8,["uuid","cmdString","cmdUser","modelValue"])])}const ButtonWidget=exports("default",s(_sfc_main,[["render",_sfc_render]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./Layout-D4YBjuWs-9760d49d47be7ac41a9f.js","vue","./main-80e32c674d54e3083df2.js","./Widget-C7ms_xDE-a17eef2ddcd666c67dc7.js","vue-router","single-spa","vuex","vuetify"],function(p,f){"use strict";var i,n,s,a,l,c,u,m,o;return{setters:[e=>{i=e.r},e=>{n=e.openBlock,s=e.createElementBlock,a=e.Fragment,l=e.renderList,c=e.createBlock,u=e.resolveDynamicComponent,m=e.mergeProps},e=>{o=e.s},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 d(r,k,y,B,x,g){return n(),s("svg",{id:"canvas",width:g.width,height:g.height},[(n(!0),s(a,null,l(r.widgets,(t,v)=>(n(),c(u(t.type),m({ref_for:!0},r.listeners,{key:v,target:t.target,parameters:t.parameters,settings:t.settings,"screen-values":r.screenValues,"screen-time-zone":r.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))],8,h)}const w=p("default",o(e,[["render",d],["__scopeId","data-v-47bdfc3c"]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./Widget-C7ms_xDE-a17eef2ddcd666c67dc7.js","vue","./main-80e32c674d54e3083df2.js","vue-router","single-spa","vuex","vuetify"],function(c,a){"use strict";var t,l,n,s;return{setters:[e=>{t=e.o},e=>{l=e.openBlock,n=e.createElementBlock},e=>{s=e.s},null,null,null,null],execute:function(){const e={mixins:[t]},u=["cx","cy","r","fill"];function i(r,m,f,p,x,v){return l(),n("circle",{cx:r.parameters[0],cy:r.parameters[1],r:r.parameters[3],fill:r.parameters[2]},null,8,u)}const o=c("default",s(e,[["render",i]]))}}});
|
@@ -1 +1 @@
|
|
1
|
-
System.register(["./Widget-
|
1
|
+
System.register(["./Widget-C7ms_xDE-a17eef2ddcd666c67dc7.js","./ImageLoader-y6fAZe9P-c20cfe51413bd1cebe0b.js","vue","./main-80e32c674d54e3083df2.js","vue-router","single-spa","vuex","vuetify"],function(o,d){"use strict";var s,i,n,a,l,c,h;return{setters:[e=>{s=e.o},e=>{i=e.s},e=>{n=e.openBlock,a=e.createElementBlock,l=e.normalizeStyle,c=e.createCommentVNode},e=>{h=e.s},null,null,null,null],execute:function(){const e={mixins:[s,i],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 g(t,m,y,k,x,r){return t.imageUrl?(n(),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]=(...p)=>r.clickHandler&&r.clickHandler(...p))},null,12,u)):c("",!0)}const f=o("default",h(e,[["render",g]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./Widget-C7ms_xDE-a17eef2ddcd666c67dc7.js","./ImageLoader-y6fAZe9P-c20cfe51413bd1cebe0b.js","vue","./main-80e32c674d54e3083df2.js","vue-router","single-spa","vuex","vuetify"],function(v,S){"use strict";var m,d,l,n,g,o,h,u,c,f,p;return{setters:[t=>{m=t.o},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,f=t.createCommentVNode},t=>{p=t.s},null,null,null,null],execute:function(){const t={mixins:[m,d],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(r=>r.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 r=this.appliedSettings.filter(e=>e[0]==="IMAGE").map(async e=>{let i=e[2];return i.startsWith("http")||(i=await this.getPresignedUrl(i)),{url:i,value:e[1],x:e[3],y:e[4],width:e[5],height:e[6]}});if(Promise.all(r).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 i=this.parameters[4];i.startsWith("http")?this.defaultImage={...e,url:i}:this.getPresignedUrl(i).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)}}},I=["href","x","y","width","height"],w=["href","x","y","width","height"];function k(r,e,i,y,N,a){return l(),n("g",null,[(l(!0),n(g,null,o(r.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,I)),[[c,s.value==a.selectedValue]])),128)),r.defaultImage?h((l(),n("image",{key:0,href:r.defaultImage.url,x:r.defaultImage.x,y:r.defaultImage.y,width:r.defaultImage.width,height:r.defaultImage.height,style:u(a.pointerStyle),onClick:e[1]||(e[1]=(...s)=>a.clickHandler&&a.clickHandler(...s))},null,12,w)),[[c,a.showDefault]]):f("",!0)])}const $=v("default",p(t,[["render",k]]))}}});
|
@@ -1 +1 @@
|
|
1
|
-
System.register(["./Widget-
|
1
|
+
System.register(["./Widget-C7ms_xDE-a17eef2ddcd666c67dc7.js","vue","./main-80e32c674d54e3083df2.js","vue-router","single-spa","vuex","vuetify"],function(o,m){"use strict";var r,l,n,s,i;return{setters:[e=>{r=e.o},e=>{l=e.openBlock,n=e.createElementBlock,s=e.toDisplayString},e=>{i=e.s},null,null,null,null],execute:function(){const e={mixins:[r],computed:{fillColor(){return this.parameters[3]?this.parameters[3]:"black"}}},a=["x","y","fill"];function u(t,f,x,y,g,c){return l(),n("text",{x:t.parameters[0],y:t.parameters[1],fill:c.fillColor},s(t.parameters[2]),9,a)}const p=o("default",i(e,[["render",u]]))}}});
|
@@ -1 +1 @@
|
|
1
|
-
System.register(["./Widget-
|
1
|
+
System.register(["./Widget-C7ms_xDE-a17eef2ddcd666c67dc7.js","vue","./main-80e32c674d54e3083df2.js","vue-router","single-spa","vuex","vuetify"],function(u,p){"use strict";var s,a,i,l,n;return{setters:[e=>{s=e.o},e=>{a=e.openBlock,i=e.createElementBlock,l=e.toDisplayString},e=>{n=e.s},null,null,null,null],execute:function(){const e={mixins:[s],data(){return{valueId:null}},computed:{_value(){return 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 m(t,h,d,f,v,r){return a(),i("text",{x:t.parameters[3],y:t.parameters[4],"font-size":r.fontSize,fill:r.fillColor},l(r._value),9,o)}const c=u("default",n(e,[["render",m]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./Widget-C7ms_xDE-a17eef2ddcd666c67dc7.js","vue","./main-80e32c674d54e3083df2.js","vue-router","single-spa","vuex","vuetify"],function(i,p){"use strict";var s,l,n,a,c;return{setters:[e=>{s=e.o},e=>{l=e.openBlock,n=e.createElementBlock,a=e.normalizeStyle},e=>{c=e.s},null,null,null,null],execute:function(){const e={mixins:[s],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 o(t,r,x,k,f,m){return l(),n("line",{x1:t.parameters[0],y1:t.parameters[1],x2:t.parameters[2],y2:t.parameters[3],style:a(m.calcStyle)},null,12,u)}const y=i("default",c(e,[["render",o]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./Widget-C7ms_xDE-a17eef2ddcd666c67dc7.js","vue","./main-80e32c674d54e3083df2.js","vue-router","single-spa","vuex","vuetify"],function(u,o){"use strict";var a,r,l,i,n;return{setters:[t=>{a=t.o},t=>{r=t.openBlock,l=t.createElementBlock,i=t.normalizeStyle},t=>{n=t.s},null,null,null,null],execute:function(){const t={mixins:[a],data(){return{valueId:0,valueMap:{}}},computed:{calcStyle(){let e="black";this.screenValues[this.valueId]&&(e=this.valueMap[this.screenValues[this.valueId][0]]);let s=1;return this.parameters[7]&&(s=this.parameters[7]),"stroke:"+e+";stroke-width:"+s}},created(){this.appliedSettings.forEach(s=>{s[0]==="VALUE_EQ"&&(this.valueMap[s[1]]=s[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 c(e,s,d,v,y,h){return r(),l("line",{x1:e.parameters[3],y1:e.parameters[4],x2:e.parameters[5],y2:e.parameters[6],style:i(h.calcStyle)},null,12,m)}const p=u("default",n(t,[["render",c]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./Widget-C7ms_xDE-a17eef2ddcd666c67dc7.js","vue","./main-80e32c674d54e3083df2.js","vue-router","single-spa","vuex","vuetify"],function(c,h){"use strict";var t,s,a,n,o,r;return{setters:[e=>{t=e.o},e=>{s=e.resolveComponent,a=e.openBlock,n=e.createBlock,o=e.normalizeStyle},e=>{r=e.s},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 i(m,u,k,y,l,b){const d=s("v-checkbox");return a(),n(d,{"hide-details":"",density:"compact",label:l.label,modelValue:l.value,"onUpdate:modelValue":u[0]||(u[0]=v=>l.value=v),style:o(m.computedStyle)},null,8,["label","modelValue","style"])}const p=c("default",r(e,[["render",i]]))}}});
|
@@ -1 +1 @@
|
|
1
|
-
System.register(["./Widget-
|
1
|
+
System.register(["./Widget-C7ms_xDE-a17eef2ddcd666c67dc7.js","vue","./main-80e32c674d54e3083df2.js","vue-router","single-spa","vuex","vuetify"],function(i,p){"use strict";var l,s,n,o,r,u;return{setters:[e=>{l=e.o},e=>{s=e.resolveComponent,n=e.openBlock,o=e.createBlock,r=e.normalizeStyle},e=>{u=e.s},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,a,h,f,t,x){const v=s("v-select");return n(),o(v,{"hide-details":"",density:"compact",variant:"outlined",items:t.items,modelValue:t.value,"onUpdate:modelValue":a[0]||(a[0]=d=>t.value=d),style:r(m.computedStyle)},null,8,["items","modelValue","style"])}const y=i("default",u(e,[["render",c]]))}}});
|