openc3-cosmos-tool-dataviewer 6.0.0 → 6.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (127) hide show
  1. checksums.yaml +4 -4
  2. data/tools/dataviewer/ArrayWidget-BTxChSds-729d960cfdc5cc610e36.js +2 -0
  3. data/tools/dataviewer/BarColumn-Cdu3OoMa-f6c6e26ea60505eded81.js +1 -0
  4. data/tools/dataviewer/BlockWidget-PmjzrkXF-cba5a98e5febe43a4e53.js +2 -0
  5. data/tools/dataviewer/ButtonWidget-nwDlOBJT-635e7452329728609016.js +2 -0
  6. data/tools/dataviewer/CanvasWidget-BL8930eT-c0dc35f83e2020b1a2d8.js +1 -0
  7. data/tools/dataviewer/CanvasdotWidget-VCf1fL-G-9ecb3a5db74cc9c67935.js +1 -0
  8. data/tools/dataviewer/CanvasimageWidget-BIw7Wbf2-f1352b515e2b88a6a73c.js +1 -0
  9. data/tools/dataviewer/CanvasimagevalueWidget-CE3Dj5bH-ac79c783af67d46f5b47.js +1 -0
  10. data/tools/dataviewer/CanvaslabelWidget-DWmb356h-3b1a90c192aece51ec1f.js +1 -0
  11. data/tools/dataviewer/CanvaslabelvalueWidget-CI3yYwFs-4c342d1601a75e800125.js +1 -0
  12. data/tools/dataviewer/CanvaslineWidget-COeapH3P-ce3fad277910fba2ca61.js +1 -0
  13. data/tools/dataviewer/CanvaslinevalueWidget-CI-Bbzfi-20d6088d739c787067d0.js +1 -0
  14. data/tools/dataviewer/CheckbuttonWidget-BQhggcZ2-872fe692dfd53c9d02e0.js +1 -0
  15. data/tools/dataviewer/ComboboxWidget-BzsbOv54-8b26861255458ab5820f.js +1 -0
  16. data/tools/dataviewer/DataViewer-413ff580439088fa437d.js +39 -0
  17. data/tools/dataviewer/DateWidget-B5R_9rA8-dbabc77b41062cd53025.js +1 -0
  18. data/tools/dataviewer/{DetailsDialog-EWjtBjle-c05025117b8375d47378.js → DetailsDialog-DLRMqetn-aaacd4f38a31b9d03623.js} +1 -1
  19. data/tools/dataviewer/DynamicWidget-m9EliUR2-8bca697b5d9d171b6d41.js +1 -0
  20. data/tools/dataviewer/FormatvalueWidget-DZkRJce8-42b595ab1529218d039e.js +1 -0
  21. data/tools/dataviewer/GraphWidget-amwxyH1r-dd3f319a2dc54c7a1506.js +1 -0
  22. data/tools/dataviewer/HorizontalWidget-CirtfuL8-4995cdc63f3b921ace50.js +1 -0
  23. data/tools/dataviewer/HorizontalboxWidget-CyTDt2nl-795b4cdc3bb3d16540e5.js +1 -0
  24. data/tools/dataviewer/HorizontallineWidget-BdlNB951-a0bfc5989c04ad91a5f8.js +1 -0
  25. data/tools/dataviewer/IframeWidget-DnJmCrCA-94ef2d4c20115de08932.js +1 -0
  26. data/tools/dataviewer/{ImageLoader-CDLQopxJ-a623539e4fbe007660a4.js → ImageLoader-CpcR6tPi-44ceeaf2b14a88757c4b.js} +1 -1
  27. data/tools/dataviewer/ImageviewerWidget-DIkmb_C9-36a25ca0482a3629c597.js +1 -0
  28. data/tools/dataviewer/LabelWidget-BDsypYho-681229896f8ec10f5332.js +1 -0
  29. data/tools/dataviewer/LabelledWidget-DjturGl5-9d20f8d8724e3d52e4d2.js +1 -0
  30. data/tools/dataviewer/LabelprogressbarWidget-RADJGLj3-d900ae201f53aa27d53c.js +1 -0
  31. data/tools/dataviewer/LabelsparklineWidget-BlJoICxu-9d6e7b928328d9b6faa4.js +1 -0
  32. data/tools/dataviewer/LabelvalueWidget-DVWJqnlY-7c73bc06324918673158.js +1 -0
  33. data/tools/dataviewer/LabelvaluedescWidget-CsUP7J4U-d36a1e64ddb2cd189973.js +1 -0
  34. data/tools/dataviewer/LabelvaluelimitsbarWidget-Blj1QXV8-fcbf1b7a09ba6fc2c9ae.js +1 -0
  35. data/tools/dataviewer/LabelvaluelimitscolumnWidget-CvCo-uCe-321f72c8a352d3d14fe1.js +1 -0
  36. data/tools/dataviewer/LabelvaluerangebarWidget-DpcXhlfF-c2f849b93273f25e8925.js +1 -0
  37. data/tools/dataviewer/{Layout-klOVw-YN-4b432d0aff9e2d4d3031.js → Layout-C1HoM4Kl-9468ed1ea3c6f828dafb.js} +1 -1
  38. data/tools/dataviewer/LedWidget-B_K2e5tq-a4cf7dd4c91bd9687edc.js +1 -0
  39. data/tools/dataviewer/LimitsbarWidget-DXbqsi4J-6f4947746fb14ece021c.js +1 -0
  40. data/tools/dataviewer/LimitscolorWidget-Ckmuw0YX-9d08a0c35288ab6437a4.js +1 -0
  41. data/tools/dataviewer/LimitscolumnWidget-BfY4su5U-723e911820532f1ac331.js +1 -0
  42. data/tools/dataviewer/LinegraphWidget-y-Qy9P0R-5f5705e25f9cd84669d8.js +1 -0
  43. data/tools/dataviewer/MatrixbycolumnsWidget-BTBColrs-e17854cc153744707907.js +1 -0
  44. data/tools/dataviewer/ProgressbarWidget-DpA_-vy9-24903741422cf1df54e4.js +1 -0
  45. data/tools/dataviewer/RadiobuttonWidget-BO8zpgwW-4f8ecf9cd90bdea325a8.js +1 -0
  46. data/tools/dataviewer/RadiogroupWidget-Oy7V4S-V-54cf81f3f5e3212e888e.js +1 -0
  47. data/tools/dataviewer/RangebarWidget-DHS7S3vI-ebfac3b63bbdba316dcf.js +1 -0
  48. data/tools/dataviewer/RollupWidget-CTk9Kjwr-270be1fdd5c1eb250ecb.js +1 -0
  49. data/tools/dataviewer/ScrollwindowWidget-DD0TOW6s-ec4a38cdf3bfd8e935cf.js +1 -0
  50. data/tools/dataviewer/SignalWidget-CC33KMTW-4256e058af9a2f5ffcf6.js +1 -0
  51. data/tools/dataviewer/SpacerWidget-BnJe_Hq6-67addc8b6c315643ed73.js +1 -0
  52. data/tools/dataviewer/SparklineWidget-DMvMQCPm-e78d9a86f5442934fabd.js +1 -0
  53. data/tools/dataviewer/TabbookWidget-B3w0JtWe-b2af8af0cf94eb9e516c.js +1 -0
  54. data/tools/dataviewer/TextboxWidget-D2f0-eol-5f337e38de949d5dab7f.js +1 -0
  55. data/tools/dataviewer/TextfieldWidget-DXSdgqVP-9045c2a185d013a4c13f.js +1 -0
  56. data/tools/dataviewer/TimeWidget-DvrRaEMz-c19be3754a0a61e180e8.js +1 -0
  57. data/tools/dataviewer/TitleWidget-DqViFQl--3e2765e9ec25f88228fe.js +1 -0
  58. data/tools/dataviewer/{VWidget-Dmqf_jKM-65879a06e527ae1e3583.js → VWidget-02CG-3Av-eabacc54e6e638532288.js} +1 -1
  59. data/tools/dataviewer/ValueWidget-KLYY8L8U-2f04753640b33d0d6695.js +1 -0
  60. data/tools/dataviewer/ValuelimitsbarWidget-SR8XNZFB-3b0499b09e0a5456f7f9.js +1 -0
  61. data/tools/dataviewer/ValuelimitscolumnWidget-xYZSp6YZ-3e38c9591b45b511e317.js +1 -0
  62. data/tools/dataviewer/ValuerangebarWidget-B6M02a9d-2e62f95f2859cf82f80c.js +1 -0
  63. data/tools/dataviewer/VerticalWidget-z6xUM-ql-764ba777a9e2b0036921.js +1 -0
  64. data/tools/dataviewer/VerticalboxWidget-3a9cVsW--53886da00cb04f9a6ddc.js +1 -0
  65. data/tools/dataviewer/{Widget-orNSvnOh-c2a94ca25551f743ceef.js → Widget-C4QVI4IH-6422d83069f2c7a43fcd.js} +1 -1
  66. data/tools/dataviewer/{main-e67fa93ee8ee2348fa86.js → main-c5225145687c4dce3ede.js} +37 -37
  67. data/tools/dataviewer/main.js +1 -1
  68. metadata +67 -67
  69. data/tools/dataviewer/ArrayWidget-By62tXtU-8bbe7298739e850bfe18.js +0 -2
  70. data/tools/dataviewer/BarColumn-Dm3D1Lhp-526e23f414fccd8d35d5.js +0 -1
  71. data/tools/dataviewer/BlockWidget-CrT45ode-eb1537386ed01b4ca7a8.js +0 -2
  72. data/tools/dataviewer/ButtonWidget-CKyBBv6m-6a1f5c30d09f366d825b.js +0 -2
  73. data/tools/dataviewer/CanvasWidget-PqkppHC7-7f4710a46315eb789c30.js +0 -1
  74. data/tools/dataviewer/CanvasdotWidget-BUbJgM2d-619fc40c8997d5d7fea5.js +0 -1
  75. data/tools/dataviewer/CanvasimageWidget-DPVBY7mi-8c255da15addff7cd7ed.js +0 -1
  76. data/tools/dataviewer/CanvasimagevalueWidget-GX37zzNc-a4c90ba174579915fa60.js +0 -1
  77. data/tools/dataviewer/CanvaslabelWidget-P2_Y6Edw-1889fff3520ccb2d591b.js +0 -1
  78. data/tools/dataviewer/CanvaslabelvalueWidget-Cuas1i9P-821d500ef5052bfa1f55.js +0 -1
  79. data/tools/dataviewer/CanvaslineWidget-BYOYgPya-fc952e856c2e641ff2c7.js +0 -1
  80. data/tools/dataviewer/CanvaslinevalueWidget-3cVJMFo7-36de6935166b89acf071.js +0 -1
  81. data/tools/dataviewer/CheckbuttonWidget-B3wgSMuB-921dfb41856b10f4e3d2.js +0 -1
  82. data/tools/dataviewer/ComboboxWidget-Dzr4Scvf-1c49930a72a457565f4f.js +0 -1
  83. data/tools/dataviewer/DataViewer-e7201855078bff6f415f.js +0 -39
  84. data/tools/dataviewer/DateWidget-BWh76Ibb-f4492b09e29ad6fcd3e4.js +0 -1
  85. data/tools/dataviewer/DynamicWidget-m9EliUR2-e07442aa62eb6c370e74.js +0 -1
  86. data/tools/dataviewer/FormatvalueWidget-Rk0_eeIm-f77ac321fe0ae2a1ae05.js +0 -1
  87. data/tools/dataviewer/GraphWidget-LqekkNDr-7c4bc2811e40f1a0eda4.js +0 -1
  88. data/tools/dataviewer/HorizontalWidget-BcfJ24Zn-d10969e9eb6b31981e5d.js +0 -1
  89. data/tools/dataviewer/HorizontalboxWidget-CQy1Hv9E-79bc168a39cf33b8fa77.js +0 -1
  90. data/tools/dataviewer/HorizontallineWidget-BdlNB951-97d1618f13f926c9fead.js +0 -1
  91. data/tools/dataviewer/IframeWidget-BBaDrRLo-f7c37244b988644f60e0.js +0 -1
  92. data/tools/dataviewer/ImageviewerWidget-BgO3Pq6I-39d91c1f56e433c223ff.js +0 -1
  93. data/tools/dataviewer/LabelWidget-B_C6lKOE-2262f31f6af2709eadef.js +0 -1
  94. data/tools/dataviewer/LabelledWidget-B_UGivhr-a856807b089199c04c48.js +0 -1
  95. data/tools/dataviewer/LabelprogressbarWidget-BJWCmsYC-ed2174ab83eec25a4932.js +0 -1
  96. data/tools/dataviewer/LabelsparklineWidget-DILCIh3q-d10dd6a1cee9e3f8ff09.js +0 -1
  97. data/tools/dataviewer/LabelvalueWidget-CCZd1NXE-7640f00f75429e54ac71.js +0 -1
  98. data/tools/dataviewer/LabelvaluedescWidget-Bsllq8W6-c70757e2c771b63eeaf3.js +0 -1
  99. data/tools/dataviewer/LabelvaluelimitsbarWidget-BV-cfaD--e70ddc36890234455fc8.js +0 -1
  100. data/tools/dataviewer/LabelvaluelimitscolumnWidget-DwA0eRBw-c29416bf4524ae556578.js +0 -1
  101. data/tools/dataviewer/LabelvaluerangebarWidget-3GDJz3dj-8a7718383ec6189eb810.js +0 -1
  102. data/tools/dataviewer/LedWidget-BAt02s0J-34e9cd8f31aa1d44ed32.js +0 -1
  103. data/tools/dataviewer/LimitsbarWidget-JJiyzZjb-1a3a9e7900b14a237016.js +0 -1
  104. data/tools/dataviewer/LimitscolorWidget-CYzXKbYd-b51bf7bd9f9140a5886d.js +0 -1
  105. data/tools/dataviewer/LimitscolumnWidget-Cd76tBo7-7cfdb6c29f7b363d998d.js +0 -1
  106. data/tools/dataviewer/LinegraphWidget-DWRtO6Ej-3c29ceb540e6c40ee56b.js +0 -1
  107. data/tools/dataviewer/MatrixbycolumnsWidget-cwsyjNV2-d96691fcc4322e9cc164.js +0 -1
  108. data/tools/dataviewer/ProgressbarWidget-CYDziFej-78bbd793fd448510d701.js +0 -1
  109. data/tools/dataviewer/RadiobuttonWidget-U6jcQZoD-b0547b7c8fb7a415c0b2.js +0 -1
  110. data/tools/dataviewer/RadiogroupWidget-HTPJnsB0-d3466645fc020b8f8c64.js +0 -1
  111. data/tools/dataviewer/RangebarWidget-DW0FJK6y-2513730abbade6224242.js +0 -1
  112. data/tools/dataviewer/RollupWidget-B2qrx55f-e10afdf560c4680b2f8d.js +0 -1
  113. data/tools/dataviewer/ScrollwindowWidget-CwIDxgO6-9a55ff533e3806746dbd.js +0 -1
  114. data/tools/dataviewer/SignalWidget-Bosa3AbW-2e3a2e8849456660ab78.js +0 -1
  115. data/tools/dataviewer/SpacerWidget-DYAlt5mt-9ad3440a97d08df18115.js +0 -1
  116. data/tools/dataviewer/SparklineWidget-CDrVXOFV-127f0c1510b33bbacc3a.js +0 -1
  117. data/tools/dataviewer/TabbookWidget-DDdlzCkv-a40f453adab909b9cff2.js +0 -1
  118. data/tools/dataviewer/TextboxWidget-5euFelEq-d779b87126b2e89c920c.js +0 -1
  119. data/tools/dataviewer/TextfieldWidget-BFripYeh-faeed76a09829f8d7aca.js +0 -1
  120. data/tools/dataviewer/TimeWidget-BBSbsUYJ-6a0511ab7401093febd0.js +0 -1
  121. data/tools/dataviewer/TitleWidget-p8cjo-Bs-7739c4b110fbadb842fa.js +0 -1
  122. data/tools/dataviewer/ValueWidget-CZh7JWwT-ca2b22c2a83b95a0a04a.js +0 -1
  123. data/tools/dataviewer/ValuelimitsbarWidget-DU7ybswC-d9cde71b24bef099532d.js +0 -1
  124. data/tools/dataviewer/ValuelimitscolumnWidget-DMw-h5jM-4fa6393b410f2c7703e8.js +0 -1
  125. data/tools/dataviewer/ValuerangebarWidget-DPpofDpA-73a5076a222f23f531f6.js +0 -1
  126. data/tools/dataviewer/VerticalWidget-Ch7VAEmz-93fef677e4f97f1afc2b.js +0 -1
  127. data/tools/dataviewer/VerticalboxWidget-DYx-TFT4-34d6019e2ca16d8addc9.js +0 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 04a941111d8b1407f8a19f308eb95aab4046f0d4f82b2d76cf2436a2a81ce293
4
- data.tar.gz: 4750928ab0265d677565368137e1b33291b8313001418e60b9e1af7ad3e076d2
3
+ metadata.gz: 0bc92385a008f9a32621b6bcc8167840760fb8911e5ae6f1f964c2c72e537c5c
4
+ data.tar.gz: 13fbc66ac429403656dc7ed12b553ebd48944c16683a72eb05b0ce85daf489e6
5
5
  SHA512:
6
- metadata.gz: 259c2affc1c43c315901cb503128b332d8bd6fac58a263c59312dc75b69f3681f0bddd9fd74177ded7c228fc6dd5d33206604bbd84adafe67dcac09d5ce9e9bd
7
- data.tar.gz: 887dbb2028a971f73fb44f319d3212a6b272c46ac1563ef9a00ae1f664cd41e8ec90675ef893e70a9f72b7e6c62a3c8b1eb72510754d88d66e5f2e4708b05f6d
6
+ metadata.gz: 61b34bca56b155fddea0d825b7ca72aa229647b4be2eaee113f1a6b75b4fe55b560a5dbedea266c23903da3c70e8f5538cdf2b7b7f4a7fa3ded958e5177a207a
7
+ data.tar.gz: 51d88feb5a7091d354cfa3085bd348f5a6c976807cedff72c9ccc567346392824b347db2f4a9b538e16c7ce2d34a1864e35ee26ba682d863a7b5c3d8874fd1e1
@@ -0,0 +1,2 @@
1
+ System.register(["./main-c5225145687c4dce3ede.js","vue","./DetailsDialog-DLRMqetn-aaacd4f38a31b9d03623.js","single-spa","./VWidget-02CG-3Av-eabacc54e6e638532288.js","vue-router","vuex","vuetify","./Widget-C4QVI4IH-6422d83069f2c7a43fcd.js"],function(S,R){"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}}},B={class:"array-widget-container"};function L(e,r,s,k,D,o){const m=a("v-textarea"),M=a("v-list-item-title"),_=a("v-list-item"),z=a("v-list"),I=a("v-menu"),N=a("details-dialog");return u(),c("div",B,[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(I,{modelValue:e.contextMenuShown,"onUpdate:modelValue":r[0]||(r[0]=n=>e.contextMenuShown=n),target:[e.x,e.y]},{default:l(()=>[i(z,null,{default:l(()=>[(u(!0),c(g,null,f(e.contextMenuOptions,(n,P)=>(u(),v(_,{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",L],["__scopeId","data-v-62b9e9e1"]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-C4QVI4IH-6422d83069f2c7a43fcd.js","./main-c5225145687c4dce3ede.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-c5225145687c4dce3ede.js","vue","./DetailsDialog-DLRMqetn-aaacd4f38a31b9d03623.js","single-spa","./VWidget-02CG-3Av-eabacc54e6e638532288.js","vue-router","vuex","vuetify","./Widget-C4QVI4IH-6422d83069f2c7a43fcd.js"],function(S,b){"use strict";var u,r,h,m,s,p,g,o,w,f,v,y,x,C,V,k;return{setters:[e=>{u=e.s},e=>{r=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,y=e.withModifiers,x=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 a="";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&&(a+=sprintf(this.addrFormat,l),l+=d),a+=sprintf(this.formatter,c),i+=1,i%d===0?(i=0,a+=P):i%this.bytesPerWord===0&&(a+=D)}else a=t;return a}}},M={class:"block-widget-container"};function W(t,a,D,P,i,l){const d=r("v-textarea"),c=r("v-list-item-title"),_=r("v-list-item"),B=r("v-list"),F=r("v-menu"),L=r("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(F,{modelValue:t.contextMenuShown,"onUpdate:modelValue":a[0]||(a[0]=n=>t.contextMenuShown=n),target:[t.x,t.y]},{default:o(()=>[s(B,null,{default:o(()=>[(h(!0),m(w,null,f(t.contextMenuOptions,(n,R)=>(h(),v(_,{key:R,onClick:y(n.action,["stop"])},{default:o(()=>[s(c,null,{default:o(()=>[x(C(n.title),1)]),_:2},1024)]),_:2},1032,["onClick"]))),128))]),_:1})]),_:1},8,["modelValue","target"]),s(L,{"target-name":t.parameters[0],"packet-name":t.parameters[1],"item-name":t.parameters[2],modelValue:t.viewDetails,"onUpdate:modelValue":a[1]||(a[1]=n=>t.viewDetails=n)},null,8,["target-name","packet-name","item-name","modelValue"])])}const z=S("default",u(e,[["render",W],["__scopeId","data-v-4d4589c2"]]))}}});
@@ -0,0 +1,2 @@
1
+ System.register(["./main-c5225145687c4dce3ede.js","vue","single-spa","./Widget-C4QVI4IH-6422d83069f2c7a43fcd.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,n){const c=resolveComponent("v-spacer"),V=resolveComponent("v-toolbar"),m=resolveComponent("v-alert"),l=resolveComponent("v-row"),h=resolveComponent("v-text-field"),C=resolveComponent("v-btn"),v=resolveComponent("v-container"),w=resolveComponent("v-card-text"),u=resolveComponent("v-card"),f=resolveComponent("v-dialog");return openBlock(),createBlock(f,{persistent:r.persistent,modelValue:n.show,"onUpdate:modelValue":t[3]||(t[3]=d=>n.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(w,null,{default:withCtx(()=>[createVNode(v,{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(l,{class:"pt-4",style:{color:"white"}},{default:withCtx(()=>[createTextVNode("User "+toDisplayString(r.cmdUser)+" is waiting for approval to execute: ",1)]),_:1}),createVNode(l,{class:"pa-4",style:{color:"white"}},{default:withCtx(()=>[createTextVNode(toDisplayString(r.cmdString),1)]),_:1}),createVNode(l,{class:"text-subtitle-2"},{default:withCtx(()=>[createTextVNode("UUID: "+toDisplayString(r.uuid),1)]),_:1}),a.canApprove?createCommentVNode("",!0):(openBlock(),createBlock(l,{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(l,{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(l,{class:"pt-2"},{default:withCtx(()=>[createVNode(c),createVNode(C,{type:"submit",onClick:withModifiers(n.reject,["prevent"]),class:"mx-2",color:"secondary",outlined:"",disabled:n.disableButtons,"data-test":"reject"},{default:withCtx(()=>t[5]||(t[5]=[createTextVNode(" Reject ")])),_:1},8,["onClick","disabled"]),createVNode(C,{type:"submit",onClick:withModifiers(n.approve,["prevent"]),class:"mx-2",color:"primary",disabled:n.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,n){const c=resolveComponent("v-btn"),V=resolveComponent("v-card-title"),m=resolveComponent("v-row"),l=resolveComponent("v-spacer"),h=resolveComponent("v-card-text"),C=resolveComponent("v-card"),v=resolveComponent("v-dialog"),w=resolveComponent("critical-cmd-dialog");return openBlock(),createElementBlock("div",null,[createVNode(c,{class:"ma-1",color:"primary",style:normalizeStyle(e.computedStyle),onClick:n.onClick},{default:withCtx(()=>[createTextVNode(toDisplayString(n.buttonText),1)]),_:1},8,["style","onClick"]),createVNode(v,{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(l),createVNode(c,{onClick:n.cancelHazardousCmd,variant:"outlined"},{default:withCtx(()=>t[4]||(t[4]=[createTextVNode(" Cancel ")])),_:1},8,["onClick"]),createVNode(c,{onClick:n.sendHazardousCmd,class:"bg-primary mx-1"},{default:withCtx(()=>t[5]||(t[5]=[createTextVNode(" Send ")])),_:1},8,["onClick"])]),_:1})])]),_:1})]),_:1})]),_:1},8,["modelValue"]),createVNode(w,{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-C1HoM4Kl-9468ed1ea3c6f828dafb.js","vue","./main-c5225145687c4dce3ede.js","./Widget-C4QVI4IH-6422d83069f2c7a43fcd.js","vue-router","single-spa","vuex","vuetify"],function(p,f){"use strict";var i,n,s,a,l,c,o,u,g;return{setters:[e=>{i=e.r},e=>{n=e.openBlock,s=e.createElementBlock,a=e.Fragment,l=e.renderList,c=e.createBlock,o=e.resolveDynamicComponent,u=e.mergeProps},e=>{g=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,b,m){return n(),s("svg",{id:"canvas",width:m.width,height:m.height},[(n(!0),s(a,null,l(r.widgets,(t,v)=>(n(),c(o(t.type),u({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",g(e,[["render",d],["__scopeId","data-v-47bdfc3c"]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-C4QVI4IH-6422d83069f2c7a43fcd.js","vue","./main-c5225145687c4dce3ede.js","vue-router","single-spa","vuex","vuetify"],function(s,a){"use strict";var t,l,n,c;return{setters:[e=>{t=e.o},e=>{l=e.openBlock,n=e.createElementBlock},e=>{c=e.s},null,null,null,null],execute:function(){const e={mixins:[t]},u=["cx","cy","r","fill"];function i(r,m,f,p,v,x){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=s("default",c(e,[["render",i]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-C4QVI4IH-6422d83069f2c7a43fcd.js","./ImageLoader-CpcR6tPi-44ceeaf2b14a88757c4b.js","vue","./main-c5225145687c4dce3ede.js","vue-router","single-spa","vuex","vuetify"],function(m,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 p(t,o,y,k,N,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:o[0]||(o[0]=(...g)=>r.clickHandler&&r.clickHandler(...g))},null,12,u)):c("",!0)}const f=m("default",h(e,[["render",p]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-C4QVI4IH-6422d83069f2c7a43fcd.js","./ImageLoader-CpcR6tPi-44ceeaf2b14a88757c4b.js","vue","./main-c5225145687c4dce3ede.js","vue-router","single-spa","vuex","vuetify"],function(I,S){"use strict";var m,d,l,n,g,o,h,u,c,p,f;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,p=t.createCommentVNode},t=>{f=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(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-C4QVI4IH-6422d83069f2c7a43fcd.js","vue","./main-c5225145687c4dce3ede.js","vue-router","single-spa","vuex","vuetify"],function(o,p){"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 m=o("default",i(e,[["render",u]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-C4QVI4IH-6422d83069f2c7a43fcd.js","vue","./main-c5225145687c4dce3ede.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-C4QVI4IH-6422d83069f2c7a43fcd.js","vue","./main-c5225145687c4dce3ede.js","vue-router","single-spa","vuex","vuetify"],function(i,p){"use strict";var l,s,n,a,c;return{setters:[e=>{l=e.o},e=>{s=e.openBlock,n=e.createElementBlock,a=e.normalizeStyle},e=>{c=e.s},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 o(t,r,k,x,f,m){return s(),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-C4QVI4IH-6422d83069f2c7a43fcd.js","vue","./main-c5225145687c4dce3ede.js","vue-router","single-spa","vuex","vuetify"],function(u,o){"use strict";var s,r,l,i,n;return{setters:[t=>{s=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:[s],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)}},c=["x1","y1","x2","y2"];function m(e,a,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,c)}const p=u("default",n(t,[["render",m]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-C4QVI4IH-6422d83069f2c7a43fcd.js","vue","./main-c5225145687c4dce3ede.js","vue-router","single-spa","vuex","vuetify"],function(c,h){"use strict";var t,n,a,s,o,r;return{setters:[e=>{t=e.o},e=>{n=e.resolveComponent,a=e.openBlock,s=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(d,u,k,y,l,b){const m=n("v-checkbox");return a(),s(m,{"hide-details":"",density:"compact",label:l.label,modelValue:l.value,"onUpdate:modelValue":u[0]||(u[0]=v=>l.value=v),style:o(d.computedStyle)},null,8,["label","modelValue","style"])}const p=c("default",r(e,[["render",i]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-C4QVI4IH-6422d83069f2c7a43fcd.js","vue","./main-c5225145687c4dce3ede.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,k){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]]))}}});