openc3-cosmos-tool-dataviewer 6.0.0 → 6.0.2

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-DBpEoQ1y-e57330004da8cb685e77.js +2 -0
  3. data/tools/dataviewer/BarColumn-B6tCmNJm-bddec99a6c4f86df0493.js +1 -0
  4. data/tools/dataviewer/BlockWidget-Bmi0UcUW-84eaca8f6b4bde197f06.js +2 -0
  5. data/tools/dataviewer/ButtonWidget-CHrHS_Bw-e89a261c84a35302fbd5.js +2 -0
  6. data/tools/dataviewer/CanvasWidget-BqdyLbQz-f6410c5194f061c5cfd0.js +1 -0
  7. data/tools/dataviewer/CanvasdotWidget-YYwca104-88076c1efbac7f3e0397.js +1 -0
  8. data/tools/dataviewer/CanvasimageWidget-BrYlPQCf-61c939d4df13e63dd156.js +1 -0
  9. data/tools/dataviewer/CanvasimagevalueWidget-HnEOXmZy-b1ba33e838464ac051ca.js +1 -0
  10. data/tools/dataviewer/CanvaslabelWidget-BfMHNei--bfaf8a9b8f3923a99909.js +1 -0
  11. data/tools/dataviewer/CanvaslabelvalueWidget-0zRDJav3-da4ace7ee4cce65f240f.js +1 -0
  12. data/tools/dataviewer/CanvaslineWidget-BmOwJP_G-021516a32eb7558d6e4b.js +1 -0
  13. data/tools/dataviewer/CanvaslinevalueWidget-H3L1aUKM-e88aab43ca5ceb179e68.js +1 -0
  14. data/tools/dataviewer/CheckbuttonWidget-BnT9X7wE-5d319e9123f7a78d9129.js +1 -0
  15. data/tools/dataviewer/ComboboxWidget-BykAAoxH-ce68f95883365f7c0f88.js +1 -0
  16. data/tools/dataviewer/DataViewer-5c832e24cdc626939f59.js +39 -0
  17. data/tools/dataviewer/DateWidget-FtYD86xW-64b6e30798ba5c1dbf72.js +1 -0
  18. data/tools/dataviewer/{DetailsDialog-EWjtBjle-c05025117b8375d47378.js → DetailsDialog-DiVcC3Fg-e0e4821224ef47232595.js} +1 -1
  19. data/tools/dataviewer/DynamicWidget-m9EliUR2-46d9776cd2aa2800f5c9.js +1 -0
  20. data/tools/dataviewer/FormatvalueWidget-OykwwCrw-c00f2eda268d6c6bb349.js +1 -0
  21. data/tools/dataviewer/GraphWidget-BohHW-97-a4e8f2dfa3c093d4f9cf.js +1 -0
  22. data/tools/dataviewer/HorizontalWidget-B7YdcFVN-6e594ada088632f8f650.js +1 -0
  23. data/tools/dataviewer/HorizontalboxWidget-D-kCNwI3-5b64b0aec895dc738047.js +1 -0
  24. data/tools/dataviewer/HorizontallineWidget-BdlNB951-0c8496fc8100cee13196.js +1 -0
  25. data/tools/dataviewer/IframeWidget-0C7GYEVc-ac4dba4e17b49eead857.js +1 -0
  26. data/tools/dataviewer/{ImageLoader-CDLQopxJ-a623539e4fbe007660a4.js → ImageLoader-y6fAZe9P-910c33d74edb4ec77f24.js} +1 -1
  27. data/tools/dataviewer/ImageviewerWidget-B4HbUIfR-158fba4c8d56b935b08e.js +1 -0
  28. data/tools/dataviewer/LabelWidget-D1JhQAzR-5e622c13ba95e40e339f.js +1 -0
  29. data/tools/dataviewer/LabelledWidget-C2VGJ5OJ-1f1956051eea8e670eff.js +1 -0
  30. data/tools/dataviewer/LabelprogressbarWidget-DN0cAeLK-3f34dbb2a7754a3996e3.js +1 -0
  31. data/tools/dataviewer/LabelsparklineWidget--sxBENxs-403a8bf8246cc7599bce.js +1 -0
  32. data/tools/dataviewer/LabelvalueWidget-BWpP5KX6-2340ba7c2f502e85038d.js +1 -0
  33. data/tools/dataviewer/LabelvaluedescWidget-DtJwggDu-49e5cd2ff606ad8d59e4.js +1 -0
  34. data/tools/dataviewer/LabelvaluelimitsbarWidget-Bj6UVK-5-f055194f3e859e7a132e.js +1 -0
  35. data/tools/dataviewer/LabelvaluelimitscolumnWidget-BVcEEcUx-abe42ca8715e58c10804.js +1 -0
  36. data/tools/dataviewer/LabelvaluerangebarWidget-DCJ42bmf-2860fc0292c398fbb769.js +1 -0
  37. data/tools/dataviewer/{Layout-klOVw-YN-4b432d0aff9e2d4d3031.js → Layout-D4YBjuWs-1a7b819d30421d06a03c.js} +1 -1
  38. data/tools/dataviewer/LedWidget-hN9JHxjr-1fcf021d36bc67befe3e.js +1 -0
  39. data/tools/dataviewer/LimitsbarWidget-D-wfz_St-f0d2a65da1fe1eba698f.js +1 -0
  40. data/tools/dataviewer/LimitscolorWidget-B0AVGdkz-19ef2f55e95f82a454c8.js +1 -0
  41. data/tools/dataviewer/LimitscolumnWidget-Dt5ce4hN-5bcb5552c62ff449a030.js +1 -0
  42. data/tools/dataviewer/LinegraphWidget-CTjtvtPd-166ca9f75734b6820ed3.js +1 -0
  43. data/tools/dataviewer/MatrixbycolumnsWidget-wLx4NvXV-df787672221864363663.js +1 -0
  44. data/tools/dataviewer/ProgressbarWidget-B7l0BBiX-b9827f694a2dadcc8cba.js +1 -0
  45. data/tools/dataviewer/RadiobuttonWidget-B032jKIw-3c97094f4e2d432f9464.js +1 -0
  46. data/tools/dataviewer/RadiogroupWidget-Busjqikr-2f65c3120c15a7b75851.js +1 -0
  47. data/tools/dataviewer/RangebarWidget-DbYrwEfC-6f337baf7318ecb28cf8.js +1 -0
  48. data/tools/dataviewer/RollupWidget-rKxLXuCv-c14e80bc41fad752ff67.js +1 -0
  49. data/tools/dataviewer/ScrollwindowWidget-D4NKIzQO-7eda005433de4ebe9832.js +1 -0
  50. data/tools/dataviewer/SignalWidget-h-oivReC-be8627687ada72821621.js +1 -0
  51. data/tools/dataviewer/SpacerWidget-BSy9eOlB-1c64c889bb2305f899d3.js +1 -0
  52. data/tools/dataviewer/SparklineWidget-C9vdxar--61a49ca3d71d13f7e496.js +1 -0
  53. data/tools/dataviewer/TabbookWidget-DTFTKURm-2bd014acde1765e161e7.js +1 -0
  54. data/tools/dataviewer/TextboxWidget-BZyYHmBq-c63066d94d36e16d399d.js +1 -0
  55. data/tools/dataviewer/TextfieldWidget-aVRdXRsT-f5b76186511fb9fc6aa9.js +1 -0
  56. data/tools/dataviewer/TimeWidget-BE2rtMxg-527b00615b89fa04f6a1.js +1 -0
  57. data/tools/dataviewer/TitleWidget-BB29MZb2-e84422b6f29a3358b176.js +1 -0
  58. data/tools/dataviewer/{VWidget-Dmqf_jKM-65879a06e527ae1e3583.js → VWidget-CGdM4sTw-cc1a51984ca0616889a0.js} +1 -1
  59. data/tools/dataviewer/ValueWidget-h3905woQ-c49a0680229e3848bdfe.js +1 -0
  60. data/tools/dataviewer/ValuelimitsbarWidget-LMXYjWtS-f0beaf2b6177ef346c6b.js +1 -0
  61. data/tools/dataviewer/ValuelimitscolumnWidget-gA3ZcfAT-c1e1c4351f9ddbc2d066.js +1 -0
  62. data/tools/dataviewer/ValuerangebarWidget-DwZ9KQ0O-3b3c1d89f85899c23aa5.js +1 -0
  63. data/tools/dataviewer/VerticalWidget-DziyURNu-4e73e8c91650d314b5c1.js +1 -0
  64. data/tools/dataviewer/VerticalboxWidget-OcoZBsFU-4dbdf00d19363b6c0d78.js +1 -0
  65. data/tools/dataviewer/{Widget-orNSvnOh-c2a94ca25551f743ceef.js → Widget-C7ms_xDE-588badd8b9b27625a3ac.js} +1 -1
  66. data/tools/dataviewer/{main-e67fa93ee8ee2348fa86.js → main-ffc696a58eef5895606b.js} +80 -80
  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
@@ -0,0 +1 @@
1
+ System.register(["./main-ffc696a58eef5895606b.js","vue","./Widget-C7ms_xDE-588badd8b9b27625a3ac.js"],function(j,Se){"use strict";var L,B,J,M,Q,Z,P,R,ee,H,te,u,w,Y,ie,a,l,I,ae,b,T,m,N,S,x,E,se,le,q,re,oe,ne;return{setters:[c=>{L=c.s,B=c.P,J=c.O,M=c.$,Q=c.b,Z=c.c,P=c.d,R=c.l,ee=c.F,H=c.y,te=c.z},c=>{u=c.resolveComponent,w=c.openBlock,Y=c.createElementBlock,ie=c.withModifiers,a=c.createVNode,l=c.withCtx,I=c.withDirectives,ae=c.normalizeClass,b=c.createElementVNode,T=c.mergeProps,m=c.createTextVNode,N=c.vShow,S=c.toDisplayString,x=c.createBlock,E=c.createCommentVNode,se=c.normalizeProps,le=c.guardReactiveProps,q=c.withKeys,re=c.Fragment,oe=c.renderList},c=>{ne=c.o}],execute:function(){const c={props:{modelValue:Boolean,title:{type:String,required:!0},legendPosition:{type:String,required:!0},items:{type:Array,required:!0},graphMinY:{type:Number},graphMaxY:{type:Number},lines:{type:Array,required:!0},colors:{type:Array,required:!0},startDateTime:{type:Number},endDateTime:{type:Number},timeZone:{type:String,required:!0}},mixins:[B],data:function(){return{tab:0,graph:{},legendPositions:["top","bottom","left","right"],startDate:null,startTime:null,endDate:null,endTime:null,lineHeaders:[{title:"Y Value",value:"yValue"},{title:"Color",value:"color"},{title:"Actions",value:"actions",sortable:!1}],itemHeaders:[{title:"Target Name",value:"targetName"},{title:"Packet Name",value:"packetName"},{title:"Item Name",value:"itemName"},{title:"Actions",value:"actions",sortable:!1}],rules:{date:t=>{if(!t)return!0;try{return Z(P(t,"yyyy-MM-dd",new Date))||"Invalid date (YYYY-MM-DD)"}catch{return"Invalid date (YYYY-MM-DD)"}},time:t=>{if(!t)return!0;try{return Z(P(t,"HH:mm:ss",new Date))||"Invalid time (HH:MM:SS)"}catch{return"Invalid time (HH:MM:SS)"}}}}},computed:{show:{get(){return this.modelValue},set(t){this.$emit("update:modelValue",t)}},editItems:function(){if(!this.items)return[];let t=0;return this.items.map(e=>(t+=1,{...e,itemId:t}))}},created(){if(this.graph={title:this.title,legendPosition:this.legendPosition,items:this.items,graphMinY:this.graphMinY,graphMaxY:this.graphMaxY,lines:[...this.lines]},this.startDateTime){let t=R(this.startDateTime/1e6);this.startDate=this.formatDate(t,this.timeZone),this.startTime=this.formatTimeHMS(t,this.timeZone)}else{let t=new Date-36e5;this.startDate=this.formatDate(t,this.timeZone),this.startTime=this.formatTimeHMS(t,this.timeZone)}if(this.endDateTime){let t=R(this.endDateTime/1e6);this.endDate=this.formatDate(t,this.timeZone),this.endTime=this.formatTimeHMS(t,this.timeZone)}},methods:{closeOk(){this.startDate&&this.startTime?this.graph.startDateTime=this.startDate+" "+this.startTime:this.graph.startDateTime=null,this.endDate&&this.endTime?this.graph.endDateTime=this.endDate+" "+this.endTime:this.graph.endDateTime=null,this.$emit("ok",this.graph)},addLine(){this.graph.lines.push({yValue:0,color:"white"})},removeLine(t){let e=this.graph.lines.indexOf(t);this.graph.lines.splice(e,1)}}},de={class:"edit-box"},he={class:"edit-box"},ue={class:"edit-box"},me={class:"edit-box"};function ce(t,e,i,n,s,r){const d=u("v-spacer"),o=u("v-toolbar"),v=u("v-tab"),p=u("v-tabs"),y=u("v-text-field"),D=u("v-card-text"),_=u("v-col"),k=u("v-select"),f=u("v-row"),G=u("v-tabs-window-item"),z=u("v-btn"),A=u("v-list-item"),V=u("v-icon"),C=u("v-tooltip"),$=u("v-list"),U=u("v-data-table"),F=u("v-tabs-window"),K=u("v-card-actions"),h=u("v-card"),W=u("v-dialog");return w(),x(W,{modelValue:r.show,"onUpdate:modelValue":e[12]||(e[12]=g=>r.show=g),onKeydown:e[13]||(e[13]=q(g=>t.$emit("cancel"),["esc"])),"max-width":"700"},{default:l(()=>[a(o,{height:"24"},{default:l(()=>[a(d),e[14]||(e[14]=b("span",null," Edit Graph ",-1)),a(d)]),_:1}),a(h,{class:"pa-3"},{default:l(()=>[a(p,{modelValue:t.tab,"onUpdate:modelValue":e[0]||(e[0]=g=>t.tab=g),class:"ml-3"},{default:l(()=>[a(v,{value:"0"},{default:l(()=>e[15]||(e[15]=[m(" Settings ")])),_:1}),a(v,{value:"1"},{default:l(()=>e[16]||(e[16]=[m(" Scale / Lines ")])),_:1}),a(v,{value:"2"},{default:l(()=>e[17]||(e[17]=[m(" Items ")])),_:1})]),_:1},8,["modelValue"]),a(F,{modelValue:t.tab,"onUpdate:modelValue":e[10]||(e[10]=g=>t.tab=g)},{default:l(()=>[a(G,{value:"0",eager:""},{default:l(()=>[b("div",de,[a(f,null,{default:l(()=>[a(_,null,{default:l(()=>[a(D,{class:"pa-0"},{default:l(()=>[a(y,{class:"pb-2",label:"Title",modelValue:t.graph.title,"onUpdate:modelValue":e[1]||(e[1]=g=>t.graph.title=g),"hide-details":""},null,8,["modelValue"])]),_:1})]),_:1}),a(_,null,{default:l(()=>[a(k,{label:"Legend Position","hide-details":"",items:t.legendPositions,modelValue:t.graph.legendPosition,"onUpdate:modelValue":e[2]||(e[2]=g=>t.graph.legendPosition=g),style:{"max-width":"280px"}},null,8,["items","modelValue"])]),_:1})]),_:1})]),b("div",he,[a(D,{class:"pa-0"},{default:l(()=>e[18]||(e[18]=[m(" Select a start date/time for the graph. Leave blank for start now. ")])),_:1}),a(f,null,{default:l(()=>[a(_,null,{default:l(()=>[a(y,{label:"Start Date",name:`date${Date.now()}`,rules:[t.rules.date],modelValue:t.startDate,"onUpdate:modelValue":e[3]||(e[3]=g=>t.startDate=g),type:"date"},null,8,["name","rules","modelValue"])]),_:1}),a(_,null,{default:l(()=>[a(y,{label:"Start Time",name:`time${Date.now()}`,rules:[t.rules.time],modelValue:t.startTime,"onUpdate:modelValue":e[4]||(e[4]=g=>t.startTime=g),type:"time",step:"1"},null,8,["name","rules","modelValue"])]),_:1})]),_:1}),a(D,{class:"pa-0"},{default:l(()=>e[19]||(e[19]=[m(" Select a end date/time for the graph. Leave blank for continuous real-time graphing. ")])),_:1}),a(f,null,{default:l(()=>[a(_,null,{default:l(()=>[a(y,{label:"End Date",name:`date${Date.now()}`,rules:[t.rules.date],modelValue:t.endDate,"onUpdate:modelValue":e[5]||(e[5]=g=>t.endDate=g),type:"date"},null,8,["name","rules","modelValue"])]),_:1}),a(_,null,{default:l(()=>[a(y,{label:"End Time",name:`time${Date.now()}`,rules:[t.rules.time],modelValue:t.endTime,"onUpdate:modelValue":e[6]||(e[6]=g=>t.endTime=g),type:"time",step:"1"},null,8,["name","rules","modelValue"])]),_:1})]),_:1})])]),_:1}),a(G,{value:"1",eager:""},{default:l(()=>[b("div",ue,[a(D,{class:"pa-0"},{default:l(()=>e[20]||(e[20]=[m(" Set a min or max Y value to override automatic scaling ")])),_:1}),a(f,{dense:""},{default:l(()=>[a(_,{class:"px-2"},{default:l(()=>[a(y,{"hide-details":"",label:"Min Y Axis (Optional)",modelValue:t.graph.graphMinY,"onUpdate:modelValue":e[7]||(e[7]=g=>t.graph.graphMinY=g),type:"number"},null,8,["modelValue"])]),_:1}),a(_,{class:"px-2"},{default:l(()=>[a(y,{"hide-details":"",label:"Max Y Axis (Optional)",modelValue:t.graph.graphMaxY,"onUpdate:modelValue":e[8]||(e[8]=g=>t.graph.graphMaxY=g),type:"number"},null,8,["modelValue"])]),_:1})]),_:1})]),b("div",me,[a($,{density:"compact",class:"horizontal-lines"},{default:l(()=>[a(A,null,{default:l(()=>[e[22]||(e[22]=b("span",{style:{"padding-top":"5px"}}," Add horizontal lines to the graph ",-1)),a(d),a(z,{onClick:e[9]||(e[9]=g=>r.addLine())},{default:l(()=>e[21]||(e[21]=[m(" New Line ")])),_:1})]),_:1}),(w(!0),Y(re,null,oe(t.graph.lines,(g,X)=>(w(),x(A,{key:X,value:g,color:"primary"},{default:l(()=>[a(f,null,{default:l(()=>[a(_,null,{default:l(()=>[a(y,{label:"Y Value",modelValue:g.yValue,"onUpdate:modelValue":O=>g.yValue=O},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),a(_,null,{default:l(()=>[a(k,{label:"Color","hide-details":"",items:i.colors,modelValue:g.color,"onUpdate:modelValue":O=>g.color=O},null,8,["items","modelValue","onUpdate:modelValue"])]),_:2},1024),a(_,null,{default:l(()=>[a(C,{text:"Remove",location:"top"},{activator:l(({props:O})=>[a(V,T({ref_for:!0},O,{style:{padding:"30px"},onClick:Ye=>r.removeLine(g)}),{default:l(()=>e[23]||(e[23]=[m("mdi-delete")])),_:2},1040,["onClick"])]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1032,["value"]))),128))]),_:1})])]),_:1}),a(G,{value:"2",eager:""},{default:l(()=>[a(U,{"item-key":"itemId",class:"elevation-1 my-2","data-test":"edit-graph-items",headers:t.itemHeaders,items:r.editItems,"items-per-page":5,"footer-props":{"items-per-page-options":[5]}},{"item.actions":l(({item:g})=>[a(C,{text:"Remove",location:"top"},{activator:l(({props:X})=>[a(V,T(X,{onClick:O=>t.$emit("remove",g)}),{default:l(()=>e[24]||(e[24]=[m(" mdi-delete ")])),_:2},1040,["onClick"])]),_:2},1024)]),"no-data":l(()=>e[25]||(e[25]=[b("span",null," Currently no items on this graph ",-1)])),_:1},8,["headers","items"])]),_:1})]),_:1},8,["modelValue"]),a(K,{class:"px-2"},{default:l(()=>[a(d),a(z,{variant:"outlined",onClick:e[11]||(e[11]=g=>t.$emit("cancel"))},{default:l(()=>e[26]||(e[26]=[m(" Cancel ")])),_:1}),a(z,{variant:"flat",onClick:r.closeOk},{default:l(()=>e[27]||(e[27]=[m(" Ok ")])),_:1},8,["onClick"])]),_:1})]),_:1})]),_:1},8,["modelValue"])}const pe=L(c,[["render",ce]]),ge={props:{modelValue:Boolean,item:{type:Object,required:!0},colors:{type:Array,required:!0}},data:function(){return{editItem:null,limitsName:"NONE",limits:{NONE:[]},valueTypes:["CONVERTED","RAW"],reduction:[{title:"NONE",value:"DECOM"},{title:"REDUCED_MINUTE",value:"REDUCED_MINUTE"},{title:"REDUCED_HOUR",value:"REDUCED_HOUR"},{title:"REDUCED_DAY",value:"REDUCED_DAY"}],reducedTypes:["MIN","MAX","AVG","STDDEV"]}},computed:{show:{get(){return this.modelValue},set(t){this.$emit("update:modelValue",t)}},limitsNames(){return Object.keys(this.limits)}},async created(){this.editItem={...this.item},new ee().get_item(this.item.targetName,this.item.packetName,this.item.itemName).then(t=>{for(const[e,i]of Object.entries(t.limits))Object.keys(i).includes("red_low")&&(this.limits[e]=Object.values(i));this.limitsName=Object.keys(this.limits).find(e=>this.limits[e]+""==this.editItem.limits+"")})}},fe={key:0},ve={class:"pa-3"};function ye(t,e,i,n,s,r){const d=u("v-card-title"),o=u("v-select"),v=u("v-card-text"),p=u("v-spacer"),y=u("v-btn"),D=u("v-card-actions"),_=u("v-card"),k=u("v-dialog");return w(),x(k,{modelValue:r.show,"onUpdate:modelValue":e[9]||(e[9]=f=>r.show=f),width:"400",onKeydown:e[10]||(e[10]=q(f=>t.success(),["enter"]))},{default:l(()=>[a(_,null,{default:l(()=>[a(d,{class:"mb-2"},{default:l(()=>e[11]||(e[11]=[m("Edit Item")])),_:1}),a(v,null,{default:l(()=>[a(o,{variant:"outlined","hide-details":"",label:"Value Type",items:t.valueTypes,modelValue:t.editItem.valueType,"onUpdate:modelValue":e[0]||(e[0]=f=>t.editItem.valueType=f),class:"mb-2"},null,8,["items","modelValue"]),a(o,{variant:"outlined","hide-details":"",label:"Reduction",items:t.reduction,modelValue:t.editItem.reduced,"onUpdate:modelValue":e[1]||(e[1]=f=>t.editItem.reduced=f),class:"mb-2"},null,8,["items","modelValue"]),a(o,{variant:"outlined","hide-details":"",label:"Reduced Type",items:t.reducedTypes,disabled:t.editItem.reduced==="DECOM",modelValue:t.editItem.reducedType,"onUpdate:modelValue":e[2]||(e[2]=f=>t.editItem.reducedType=f),class:"mb-2"},null,8,["items","disabled","modelValue"]),a(o,{variant:"outlined","hide-details":"",label:"Color",items:i.colors,modelValue:t.editItem.color,"onUpdate:modelValue":[e[3]||(e[3]=f=>t.editItem.color=f),e[4]||(e[4]=f=>t.$emit("changeColor",f))],class:"mb-2"},null,8,["items","modelValue"]),r.limitsNames.length>1?(w(),Y("div",fe,[a(o,{variant:"outlined","hide-details":"",label:"Display Limits",items:r.limitsNames,modelValue:t.limitsName,"onUpdate:modelValue":[e[5]||(e[5]=f=>t.limitsName=f),e[6]||(e[6]=f=>t.$emit("changeLimits",t.limits[t.limitsName]))]},null,8,["items","modelValue"]),b("div",ve,S(t.limitsName)+": "+S(t.limits[t.limitsName]),1)])):E("",!0)]),_:1}),a(D,{class:"px-2"},{default:l(()=>[a(p),a(y,{variant:"outlined",onClick:e[7]||(e[7]=f=>t.$emit("cancel"))},{default:l(()=>e[12]||(e[12]=[m(" Cancel ")])),_:1}),a(y,{variant:"flat",onClick:e[8]||(e[8]=f=>t.$emit("close",t.editItem))},{default:l(()=>e[13]||(e[13]=[m(" Ok ")])),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue"])}const we=L(ge,[["render",ye]]),be={components:{GraphEditDialog:pe,GraphEditItemDialog:we},props:{id:{type:Number,required:!0},selectedGraphId:{type:Number},state:{type:String,required:!0},startTime:{type:Number},secondsGraphed:{type:Number,required:!0},pointsSaved:{type:Number,required:!0},pointsGraphed:{type:Number,required:!0},refreshIntervalMs:{type:Number,default:200},hideToolbar:{type:Boolean,default:!1},hideOverview:{type:Boolean,default:!1},sparkline:{type:Boolean,default:!1},initialItems:{type:Array},height:{type:Number},width:{type:Number},timeZone:{type:String,default:"local"}},mixins:[B],data(){return{lines:[],active:!0,expand:!0,fullWidth:!0,fullHeight:!0,graph:null,editGraph:!1,editGraphMenu:!1,editGraphMenuX:0,editGraphMenuY:0,editItem:!1,itemMenu:!1,itemMenuX:0,itemMenuY:0,legendMenu:!1,legendMenuX:0,legendMenuY:0,legendPosition:"bottom",selectedItem:null,hideToolbarData:this.hideToolbar,showOverview:!this.hideOverview,hideOverviewData:this.hideOverview,title:"",overview:null,data:[[]],dataChanged:!1,timeout:null,graphMinY:null,graphMaxY:null,graphStartDateTime:null,graphEndDateTime:null,indexes:{},items:this.initialItems||[],limitsValues:[],drawInterval:null,zoomChart:!1,zoomOverview:!1,cable:new J,subscription:null,needToUpdate:!1,errorDialog:!1,errors:[],colorIndex:0,colors:["#00c7cb","#938bdb","#4dacff","lime","darkorange","red","gold","hotpink","tan","cyan","maroon","blue","teal","purple","green","brown","lightblue","white","black"]}},computed:{calcFullSize:function(){return this.fullWidth||this.fullHeight},error:function(){return this.errorDialog&&this.errors.length>0?JSON.stringify(this.errors,null,4):null}},created(){this.title=`Graph ${this.id}`;for(const[t,e]of this.items.entries())this.data.push([]),this.indexes[this.subscriptionKey(e)]=t+1,e.color===void 0&&(e.color=this.colors[this.colorIndex]),this.colorIndex++,this.colorIndex===this.colors.length&&(this.colorIndex=0)},mounted(){const{chartSeries:t,overviewSeries:e}=this.items.reduce((n,s)=>{const r={spanGaps:!0};return n.chartSeries.push({...r,item:s,label:this.formatLabel(s),stroke:(d,o)=>this.items[o-1].color,width:2,value:(d,o)=>typeof o=="string"||isNaN(o)?"NaN":o==null?"--":o.toFixed(3)}),n.overviewSeries.push({...r}),n},{chartSeries:[],overviewSeries:[]});let i={};if(this.sparkline)this.hideToolbarData=!0,this.hideOverviewData=!0,this.showOverview=!1,i={width:this.width,height:this.height,pxAlign:!1,cursor:{show:!1},select:{show:!1},legend:{show:!1},scales:{x:{time:!1}},axes:[{show:!1},{show:!1}],series:[{},{stroke:"white"}]},this.graph=new M(i,this.data,document.getElementById(`chart${this.id}`));else{let n=Intl.DateTimeFormat().resolvedOptions().timeZone;this.timeZone&&this.timeZone!=="local"&&(n=this.timeZone),i={...this.getSize("chart"),...this.getScales(),...this.getAxes("chart"),plugins:[this.linesPlugin()],tzDate:r=>M.tzDate(new Date(r*1e3),n),series:[{label:"Time",value:(r,d)=>d==null?"--":this.formatSeconds(d,this.timeZone)},...t],cursor:{drag:{x:!0,y:!1},sync:{key:"openc3"},bind:{mouseup:(r,d,o)=>v=>{this.state==="pause"&&r.select.width===0&&this.$emit("start"),o(v)}}},hooks:{setScale:[(r,d)=>{if(d==="x"&&!this.zoomOverview&&this.overview){this.zoomChart=!0;let o=Math.round(this.overview.valToPos(r.scales.x.min,"x")),v=Math.round(this.overview.valToPos(r.scales.x.max,"x"));this.overview.setSelect({left:o,width:v-o}),this.zoomChart=!1}}],setSelect:[r=>{this.state==="start"&&r.select.width>0&&this.$emit("pause")}],ready:[r=>{r.root.querySelector(".u-over").addEventListener("contextmenu",o=>{o.preventDefault(),this.itemMenu=!1,this.legendMenu=!1,this.editGraphMenuX=o.clientX,this.editGraphMenuY=o.clientY,this.editGraphMenu=!0});let d=r.root.querySelector(".u-legend");d.addEventListener("contextmenu",o=>{o.preventDefault(),this.editGraphMenu=!1,this.legendMenu=!1,this.itemMenuX=o.clientX,this.itemMenuY=o.clientY;let v=o.target.closest(".u-series"),p=Array.prototype.slice.call(d.childNodes[0].childNodes).indexOf(v),y=r.series[p];y.item?(this.selectedItem=y.item,this.itemMenu=!0):(this.itemMenu=!1,this.legendMenuX=o.clientX,this.legendMenuY=o.clientY,this.legendMenu=!0)}),d.querySelector("tbody").appendChild(this.$refs.info)}]}},this.graph=new M(i,this.data,document.getElementById(`chart${this.id}`));const s={...this.getSize("overview"),...this.getScales(),...this.getAxes("overview"),tzDate:r=>M.tzDate(new Date(r*1e3),n),series:[...e],cursor:{y:!1,drag:{setScale:!1,x:!0,y:!1}},legend:{show:!1},hooks:{setSelect:[r=>{if(!this.zoomChart){this.state==="start"&&r.select.width>0&&this.$emit("pause"),this.zoomOverview=!0;let d=r.posToVal(r.select.left,"x"),o=r.posToVal(r.select.left+r.select.width,"x");this.graph.setScale("x",{min:d,max:o}),this.zoomOverview=!1}}]}};this.overview=new M(s,this.data,document.getElementById(`overview${this.id}`)),this.moveLegend(this.legendPosition),window.addEventListener("resize",this.resize)}this.state!=="stop"&&this.startGraph()},beforeUnmount:function(){this.stopGraph(),this.cable.disconnect(),window.removeEventListener("resize",this.resize)},watch:{state:function(t,e){switch(t){case"start":e==="stop"&&this.startGraph();break;case"stop":this.stopGraph();break}},data:function(t,e){this.dataChanged=!0},graphMinY:function(t,e){let i=parseFloat(t);isNaN(i)||(this.graphMinY=i),this.setGraphRange()},graphMaxY:function(t,e){let i=parseFloat(t);isNaN(i)||(this.graphMaxY=i),this.setGraphRange()},graphStartDateTime:function(t,e){t&&typeof t=="string"?(this.graphStartDateTime=this.parseDateTime(this.graphStartDateTime,this.timeZone)*1e6,this.graphStartDateTime!==e&&(this.needToUpdate=!0)):t===null&&e&&(this.graphStartDateTime=null,this.needToUpdate=!0)},graphEndDateTime:function(t,e){t&&typeof t=="string"?(this.graphEndDateTime=this.parseDateTime(this.graphEndDateTime,this.timeZone)*1e6,this.graphEndDateTime!==e&&(this.needToUpdate=!0)):t===null&&e&&(this.graphEndDateTime=null,this.needToUpdate=!0)}},methods:{startGraph:function(){this.subscribe(),this.timeout=setTimeout(()=>{this.updateTimeout()},this.refreshIntervalMs)},stopGraph:function(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=null),this.timeout&&(clearTimeout(this.timeout),this.timeout=null)},updateTimeout:function(){this.updateGraphData(),this.timeout=setTimeout(()=>{this.updateTimeout()},this.refreshIntervalMs)},updateGraphData:function(){if(this.state==="pause"||!this.dataChanged)return;this.graph.setData(this.data),this.overview&&this.overview.setData(this.data);let t=this.data[0][this.data[0].length-1],e=this.data[0][this.data[0].length-this.pointsGraphed],i=this.data[0][0];i<t-this.secondsGraphed&&(i=t-this.secondsGraphed),e>i&&(i=e),this.graph.setScale("x",{min:i,max:t}),this.dataChanged=!1},formatLabel(t){if(t.valueType==="CONVERTED"&&t.reduced==="DECOM")return t.itemName;{let e="";return t.valueType!=="CONVERTED"&&(e+=t.valueType),t.reduced!=="DECOM"&&(e!==""&&(e+=" "),e+=`${t.reduced.split("_")[1]} ${t.reducedType}`),`${t.itemName} (${e})`}},moveLegend:function(t){switch(t){case"bottom":this.graph.root.classList.remove("side-legend"),this.graph.root.classList.remove("left-legend"),this.graph.root.classList.remove("top-legend");break;case"top":this.graph.root.classList.remove("side-legend"),this.graph.root.classList.remove("left-legend"),this.graph.root.classList.add("top-legend");break;case"left":this.graph.root.classList.remove("top-legend"),this.graph.root.classList.add("side-legend"),this.graph.root.classList.add("left-legend");break;case"right":this.graph.root.classList.remove("top-legend"),this.graph.root.classList.remove("left-legend"),this.graph.root.classList.add("side-legend");break}this.legendPosition=t,this.resize()},clearErrors:function(){this.errors=[]},editGraphClose:function(t){this.editGraph=!1,this.title=t.title,this.legendPosition=t.legendPosition,this.graphMinY=t.graphMinY,this.graphMaxY=t.graphMaxY,this.lines=[...t.lines],this.graphStartDateTime=t.startDateTime,this.graphEndDateTime=t.endDateTime,this.$nextTick(()=>{if(this.needToUpdate){if(this.subscription==null)this.startGraph();else{let e=JSON.parse(JSON.stringify(this.items));this.removeItems(e),setTimeout(()=>{this.addItems(e)},0)}this.needToUpdate=!1}}),this.moveLegend(this.legendPosition),this.$emit("edit")},resize:function(){this.graph.setSize(this.getSize("chart")),this.overview&&this.overview.setSize(this.getSize("overview")),this.$emit("resize",this.id)},expandAll:function(){this.fullWidth=!0,this.fullHeight=!0,this.resize()},collapseAll:function(){this.fullWidth=!1,this.fullHeight=!1,this.resize()},expandWidth:function(){this.fullWidth=!0,this.resize()},collapseWidth:function(){this.fullWidth=!1,this.resize()},expandHeight:function(){this.fullHeight=!0,this.resize()},collapseHeight:function(){this.fullHeight=!1,this.resize()},minMaxTransition:function(){this.expand=!this.expand,this.$emit("min-max-graph",this.id)},setGraphRange:function(){let t=.1;(this.graphMinY||this.graphMinY===0||this.graphMaxY||this.graphMaxY===0)&&(t=0),this.graph.scales.y.range=(e,i,n)=>{let s=i;(this.graphMinY||this.graphMinY===0)&&(s=this.graphMinY);let r=n;return(this.graphMaxY||this.graphMaxY===0)&&(r=this.graphMaxY),M.rangeNum(s,r,t,!0)}},subscribe:function(){this.cable.createSubscription("StreamingChannel",window.openc3Scope,{received:t=>this.received(t),connected:()=>{this.addItemsToSubscription(this.items)},disconnected:()=>{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(t=>{this.subscription=t})},getSize:function(t){let e=0;const i=document.getElementById("openc3-nav-drawer");i&&(e=i.classList.contains("v-navigation-drawer--active")?i.clientWidth:0);let n=0;(this.legendPosition==="right"||this.legendPosition==="left")&&(n=document.getElementsByClassName("u-legend")[0].clientWidth);const s=Math.max(document.documentElement.clientWidth,window.innerWidth||0)-e-n,r=Math.max(document.documentElement.clientHeight,window.innerHeight||0),d=document.getElementsByClassName("v-expansion-panel")[0];let o=100;t==="overview"?this.fullHeight&&!this.hideOverviewData?this.showOverview=!0:this.showOverview=!1:(o=r-d.clientHeight-o-250,this.fullHeight||(o=o/2+10));let v=s-68;return this.fullWidth||(v=v/2-10),{width:this.width||v,height:this.height||o}},getScales:function(){return{scales:{x:{range(t,e,i){return e==null?[1566453600,1566497660]:[e,i]}},y:{range(t,e,i){return e==null?[-100,100]:M.rangeNum(e,i,.1,!0)}}}}},getAxes:function(t){let e="rgba(255, 255, 255, .1)",i="white";return{axes:[{stroke:i,grid:{show:!0,stroke:e,width:2}},{size:80,stroke:i,grid:{show:t!=="overview",stroke:e,width:2},values(n,s){return(s.some(r=>r>=1e7)||s.every(r=>r<.01))&&(s=s.map(r=>r.toExponential(3))),s}}]}},closeEditItem:function(t){this.editItem=!1,(this.graphEndDateTime!==null&&this.selectedItem!==t||this.selectedItem.valueType!==t.valueType||this.selectedItem.reduced!==t.reduced||this.selectedItem.reducedType!==t.reducedType)&&this.changeItem(t)},changeColor:function(t){let e=this.subscriptionKey(this.selectedItem),i=this.indexes[e];this.items[i-1].color=t,this.selectedItem.color=t,this.graph.root.querySelectorAll(".u-marker")[i].style.borderColor=t},changeLimits:function(t){let e=this.subscriptionKey(this.selectedItem),i=this.indexes[e];this.items[i-1].limits=t,this.selectedItem.limits=t,this.limitsValues=t},linesPlugin:function(){return{hooks:{draw:t=>{const{ctx:e,bbox:i}=t,n=t.valToPos(t.scales.y.min,"y",!0),s=t.valToPos(t.scales.y.max,"y",!0),r=t.valToPos(this.limitsValues[0],"y",!0),d=t.valToPos(this.limitsValues[1],"y",!0),o=t.valToPos(this.limitsValues[2],"y",!0),v=t.valToPos(this.limitsValues[3],"y",!0);if(this.lines.forEach(p=>{t.scales.y.min<=p.yValue&&p.yValue<=t.scales.y.max&&(e.save(),e.beginPath(),e.strokeStyle=p.color,e.lineWidth=2,e.moveTo(i.left,t.valToPos(p.yValue,"y",!0)),e.lineTo(i.left+i.width,t.valToPos(p.yValue,"y",!0)),e.stroke(),e.restore())}),e.save(),e.beginPath(),e.fillStyle="rgba(255,0,0,0.15)",t.scales.y.min<this.limitsValues[0]){let p=r<s?s:r;e.fillRect(i.left,r,i.width,n-p)}if(t.scales.y.max>this.limitsValues[3]){let p=n<v?n:v;e.fillRect(i.left,s,i.width,p-s)}if(e.fillStyle="rgba(255,255,0,0.15)",t.scales.y.min<this.limitsValues[1]&&t.scales.y.max>this.limitsValues[0]){let p=d<s?s:d;e.fillRect(i.left,p,i.width,r-p)}if(t.scales.y.max>this.limitsValues[2]&&t.scales.y.min<this.limitsValues[3]){let p=n<v?n:v,y=n<o?n:o;e.fillRect(i.left,p,i.width,y-p)}if(e.fillStyle="rgba(0,255,0,0.15)",this.limitsValues.length===4){if(t.scales.y.min<this.limitsValues[2]&&t.scales.y.max>this.limitsValues[1]){let p=o<s?s:o,y=n<d?n:d;e.fillRect(i.left,p,i.width,y-p)}}else{const p=t.valToPos(this.limitsValues[4],"y",!0),y=t.valToPos(this.limitsValues[5],"y",!0);if(t.scales.y.min<this.limitsValues[4]&&t.scales.y.max>this.limitsValues[1]){let k=p<s?s:p;e.fillRect(i.left,k,i.width,d-k)}if(t.scales.y.max>this.limitsValues[5]&&t.scales.y.min<this.limitsValues[2]){let k=n<o?n:o,f=n<y?n:y;e.fillRect(i.left,k,i.width,f-k)}e.fillStyle="rgba(0,0,255,0.15)";let D=y<s?s:y,_=n<p?n:p;e.fillRect(i.left,D,i.width,_-D)}e.stroke(),e.restore()}}}},changeItem:function(t){this.removeItems([this.selectedItem]),this.selectedItem.valueType=t.valueType,this.selectedItem.reduced=t.reduced,this.selectedItem.reducedType=t.reducedType,setTimeout(()=>{this.addItems([this.selectedItem])},0)},addItems:function(t,e="CONVERTED"){t.forEach(i=>{i.valueType||(i.valueType=e),i.color||(i.color=this.colors[this.colorIndex]),i.limits||(i.limits=[]),i.limits.length>0&&(this.limitsValues=i.limits),this.colorIndex=(this.colorIndex+1)%this.colors.length,this.items.push(i);const n=this.data.length;this.graph.addSeries(this.createSeriesConfig(i),n),this.overview&&this.overview.addSeries(this.createOverviewSeriesConfig(),n),this.data.splice(n,0,Array(this.data[0].length)),this.indexes[this.subscriptionKey(i)]=n}),this.updateColorIndex(t),this.addItemsToSubscription(t),this.$emit("resize"),this.$emit("edit")},createSeriesConfig:function(t){return{spanGaps:!0,item:t,label:this.formatLabel(t),stroke:(e,i)=>this.items[i-1].color,width:2,value:(e,i)=>typeof i=="string"||isNaN(i)?"NaN":i==null?"--":Math.abs(i)<.01&&i!==0||Math.abs(i)>=1e7?i.toExponential(6):i.toFixed(6)}},createOverviewSeriesConfig:function(){return{spanGaps:!0,stroke:(t,e)=>this.items[e-1].color}},updateColorIndex:function(t){const e=t[t.length-1];if(e){const i=this.colors.indexOf(e.color);i!==-1&&(this.colorIndex=(i+1)%this.colors.length)}},addItemsToSubscription:function(t=this.items){let e=this.startTime;this.graphStartDateTime&&(e=this.graphStartDateTime),this.subscription&&OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity).then(i=>{i&&OpenC3Auth.setTokens(),this.subscription.perform("add",{scope:window.openc3Scope,token:localStorage.openc3Token,items:t.map(this.subscriptionKey),start_time:e,end_time:this.graphEndDateTime})})},clearAllData:function(){this.data[0]=[],this.clearData(this.items)},clearData:function(t){for(const e of t.map(this.subscriptionKey)){let i=this.indexes[e];this.data[i]=Array(this.data[0].length).fill(null),this.graph.setData(this.data),this.overview&&this.overview.setData(this.data)}this.data.length===2&&(this.data[0]=[],this.graph.setData(this.data),this.overview.setData(this.data))},removeItems:function(t){this.removeItemsFromSubscription(t);for(const e of t.map(this.subscriptionKey)){const i=this.reorderIndexes(e);this.items.splice(i-1,1),this.data.splice(i,1),this.graph.delSeries(i),this.graph.setData(this.data),this.overview&&(this.overview.delSeries(i),this.overview.setData(this.data))}this.data.length===1&&(this.data[0]=[],this.graph.setData(this.data),this.overview.setData(this.data)),this.$emit("resize"),this.$emit("edit")},removeItemsFromSubscription:function(t=this.items){this.subscription&&this.subscription.perform("remove",{scope:window.openc3Scope,token:localStorage.openc3Token,items:t.map(this.subscriptionKey)})},reorderIndexes:function(t){let e=this.indexes[t];delete this.indexes[t];for(let i in this.indexes)this.indexes[i]>e&&(this.indexes[i]-=1);return e},received:function(t){this.cable.recordPing();for(let e=0;e<t.length;e++){let i=t[e].__time/1e9,n=t[0].length;if(n===0||i>t[0][n-1]){for(let s=0;s<this.data.length;s++)this.data[s].push(null);this.set_data_at_index(this.data[0].length-1,i,t[e])}else{let s=Q(this.data[0],i,this.bs_comparator);if(s>=0)this.set_data_at_index(s,i,t[e]);else{let r=-s-1;for(let d=0;d<this.data.length;d++)this.data[d].splice(r,0,null);this.set_data_at_index(r,i,t[e])}}}if(this.startTime==null&&this.data[0][0]){let e=this.data[0][0]*1e9;this.$emit("started",e)}this.dataChanged=!0},bs_comparator:function(t,e){return t-e},set_data_at_index:function(t,e,i){this.data[0][t]=e;for(const[n,s]of Object.entries(i)){if(n==="time")continue;let r=this.indexes[n];if(r){let d=this.data[r];if(s!=null&&s.raw)d[t]=null;else if(typeof s=="string"){if(d[t]=null,!n.includes("__RAW")){for(let o of this.items)if(this.subscriptionKey(o)===n){this.selectedItem=o;break}this.changeItem({valueType:"RAW",reduced:this.selectedItem.reduced,reducedType:this.selectedItem.reducedType})}}else d[t]=s}}},subscriptionKey:function(t){let e=`${t.reduced}__TLM__${t.targetName}__${t.packetName}__${t.itemName}__${t.valueType}`;return(t.reduced==="REDUCED_MINUTE"||t.reduced==="REDUCED_HOUR"||t.reduced==="REDUCED_DAY")&&(e+=`__${t.reducedType}`),e}}},_e={class:"mx-2"},xe={class:"pa-1",id:"chart",ref:"chart"},Te=["id"],De=["id"],ke={key:5,class:"u-series",ref:"info"};function Ve(t,e,i,n,s,r){const d=u("v-icon"),o=u("v-tooltip"),v=u("v-spacer"),p=u("v-toolbar"),y=u("v-expand-transition"),D=u("v-card"),_=u("graph-edit-dialog"),k=u("v-text-field"),f=u("v-row"),G=u("v-textarea"),z=u("v-btn"),A=u("v-dialog"),V=u("v-list-item-title"),C=u("v-list-item"),$=u("v-list"),U=u("v-menu"),F=u("graph-edit-item-dialog"),K=u("v-list-subheader");return w(),Y("div",{onClick:e[21]||(e[21]=ie(h=>t.$emit("click"),["prevent"]))},[a(D,null,{default:l(()=>[I(a(p,{height:"24",class:ae(["pl-2 pr-2",i.selectedGraphId===i.id?"active":""])},{default:l(()=>[I(b("div",_e,[a(o,{text:"Errors",location:"top"},{activator:l(({props:h})=>[a(d,T(h,{onClick:e[0]||(e[0]=W=>s.errorDialog=!0)}),{default:l(()=>e[22]||(e[22]=[m(" mdi-alert ")])),_:2},1040)]),_:1})],512),[[N,s.errors.length!==0]]),a(o,{text:"Edit",location:"top"},{activator:l(({props:h})=>[a(d,T(h,{onClick:e[1]||(e[1]=W=>s.editGraph=!0),"data-test":"edit-graph-icon"}),{default:l(()=>e[23]||(e[23]=[m(" mdi-pencil ")])),_:2},1040)]),_:1}),a(v),b("span",null,S(s.title),1),a(v),I(b("div",null,[r.calcFullSize?(w(),x(o,{key:0,text:"Collapse",location:"top"},{activator:l(({props:h})=>[a(d,T(h,{onClick:r.collapseAll,"data-test":"collapse-all"}),{default:l(()=>e[24]||(e[24]=[m(" mdi-arrow-collapse ")])),_:2},1040,["onClick"])]),_:1})):(w(),x(o,{key:1,text:"Expand",location:"top"},{activator:l(({props:h})=>[a(d,T(h,{onClick:r.expandAll,"data-test":"expand-all"}),{default:l(()=>e[25]||(e[25]=[m(" mdi-arrow-expand ")])),_:2},1040,["onClick"])]),_:1}))],512),[[N,s.expand]]),I(b("div",null,[s.fullWidth?(w(),x(o,{key:0,text:"Collapse Width",location:"top"},{activator:l(({props:h})=>[a(d,T(h,{onClick:r.collapseWidth,"data-test":"collapse-width"}),{default:l(()=>e[26]||(e[26]=[m(" mdi-arrow-collapse-horizontal ")])),_:2},1040,["onClick"])]),_:1})):(w(),x(o,{key:1,text:"Expand Width",location:"top"},{activator:l(({props:h})=>[a(d,T(h,{onClick:r.expandWidth,"data-test":"expand-width"}),{default:l(()=>e[27]||(e[27]=[m(" mdi-arrow-expand-horizontal ")])),_:2},1040,["onClick"])]),_:1}))],512),[[N,s.expand]]),I(b("div",null,[s.fullHeight?(w(),x(o,{key:0,text:"Collapse Height",location:"top"},{activator:l(({props:h})=>[a(d,T(h,{onClick:r.collapseHeight,"data-test":"collapse-height"}),{default:l(()=>e[28]||(e[28]=[m(" mdi-arrow-collapse-vertical ")])),_:2},1040,["onClick"])]),_:1})):(w(),x(o,{key:1,text:"Expand Height",location:"top"},{activator:l(({props:h})=>[a(d,T(h,{onClick:r.expandHeight,"data-test":"expand-height"}),{default:l(()=>e[29]||(e[29]=[m(" mdi-arrow-expand-vertical ")])),_:2},1040,["onClick"])]),_:1}))],512),[[N,s.expand]]),s.expand?(w(),x(o,{key:0,text:"Minimize",location:"top"},{activator:l(({props:h})=>[a(d,T(h,{onClick:r.minMaxTransition,"data-test":"minimize-screen-icon"}),{default:l(()=>e[30]||(e[30]=[m(" mdi-window-minimize ")])),_:2},1040,["onClick"])]),_:1})):(w(),x(o,{key:1,text:"Maximize",location:"top"},{activator:l(({props:h})=>[a(d,T(h,{onClick:r.minMaxTransition,"data-test":"maximize-screen-icon"}),{default:l(()=>e[31]||(e[31]=[m(" mdi-window-maximize ")])),_:2},1040,["onClick"])]),_:1})),a(o,{text:"Close",location:"top"},{activator:l(({props:h})=>[a(d,T(h,{onClick:e[2]||(e[2]=W=>t.$emit("close-graph")),"data-test":"close-graph-icon"}),{default:l(()=>e[32]||(e[32]=[m(" mdi-close-box ")])),_:2},1040)]),_:1})]),_:1},8,["class"]),[[N,!s.hideToolbarData]]),a(y,null,{default:l(()=>[I(b("div",xe,[b("div",{id:`chart${i.id}`},null,8,Te),e[33]||(e[33]=b("div",{id:"betweenCharts"},null,-1)),I(b("div",{id:`overview${i.id}`},null,8,De),[[N,s.showOverview]])],512),[[N,s.expand]])]),_:1})]),_:1}),s.editGraph?(w(),x(_,{key:0,modelValue:s.editGraph,"onUpdate:modelValue":e[3]||(e[3]=h=>s.editGraph=h),title:s.title,"legend-position":s.legendPosition,items:s.items,"graph-min-y":s.graphMinY,"graph-max-y":s.graphMaxY,lines:s.lines,colors:s.colors,"start-date-time":s.graphStartDateTime,"end-date-time":s.graphEndDateTime,"time-zone":i.timeZone,onRemove:e[4]||(e[4]=h=>r.removeItems([h])),onOk:r.editGraphClose,onCancel:e[5]||(e[5]=h=>s.editGraph=!1)},null,8,["modelValue","title","legend-position","items","graph-min-y","graph-max-y","lines","colors","start-date-time","end-date-time","time-zone","onOk"])):E("",!0),a(A,{modelValue:s.errorDialog,"onUpdate:modelValue":e[7]||(e[7]=h=>s.errorDialog=h),"max-width":"600"},{default:l(()=>[a(p,{height:"24"},{default:l(()=>[a(v),e[34]||(e[34]=b("span",null," Errors ",-1)),a(v)]),_:1}),a(D,{class:"pa-3"},{default:l(()=>[a(f,{dense:""},{default:l(()=>[a(k,{readonly:"","hide-details":"",modelValue:s.title,"onUpdate:modelValue":e[6]||(e[6]=h=>s.title=h),class:"pb-2",label:"Graph Title"},null,8,["modelValue"])]),_:1}),a(f,{class:"my-3"},{default:l(()=>[a(G,{readonly:"",rows:"8",value:r.error},null,8,["value"])]),_:1}),a(f,null,{default:l(()=>[a(z,{block:"",onClick:r.clearErrors},{default:l(()=>e[35]||(e[35]=[m(" Clear ")])),_:1},8,["onClick"])]),_:1})]),_:1})]),_:1},8,["modelValue"]),s.editGraphMenu?(w(),x(U,{key:1,modelValue:s.editGraphMenu,"onUpdate:modelValue":e[9]||(e[9]=h=>s.editGraphMenu=h),target:[s.editGraphMenuX,s.editGraphMenuY],absolute:"","offset-y":""},{default:l(()=>[a($,null,{default:l(()=>[a(C,{onClick:e[8]||(e[8]=h=>s.editGraph=!0)},{default:l(()=>[a(V,{style:{cursor:"pointer"}},{default:l(()=>[m(" Edit "+S(s.title),1)]),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue","target"])):E("",!0),s.editItem?(w(),x(F,{key:2,modelValue:s.editItem,"onUpdate:modelValue":e[10]||(e[10]=h=>s.editItem=h),colors:s.colors,item:s.selectedItem,onChangeColor:r.changeColor,onChangeLimits:r.changeLimits,onCancel:e[11]||(e[11]=h=>s.editItem=!1),onClose:r.closeEditItem},null,8,["modelValue","colors","item","onChangeColor","onChangeLimits","onClose"])):E("",!0),s.itemMenu?(w(),x(U,{key:3,modelValue:s.itemMenu,"onUpdate:modelValue":e[15]||(e[15]=h=>s.itemMenu=h),target:[s.itemMenuX,s.itemMenuY],absolute:"","offset-y":""},{default:l(()=>[a($,{nav:"",density:"compact"},{default:l(()=>[a(K,null,{default:l(()=>[m(S(s.selectedItem.targetName)+" "+S(s.selectedItem.packetName)+" "+S(s.selectedItem.itemName),1)]),_:1}),a(C,{onClick:e[12]||(e[12]=h=>s.editItem=!0)},{prepend:l(()=>[a(d,{icon:"mdi-pencil"})]),default:l(()=>[a(V,null,{default:l(()=>e[36]||(e[36]=[m(" Edit ")])),_:1})]),_:1}),a(C,{onClick:e[13]||(e[13]=h=>r.clearData([s.selectedItem]))},{prepend:l(()=>[a(d,{icon:"mdi-eraser"})]),default:l(()=>[a(V,null,{default:l(()=>e[37]||(e[37]=[m(" Clear ")])),_:1})]),_:1}),a(C,{onClick:e[14]||(e[14]=h=>r.removeItems([s.selectedItem]))},{prepend:l(()=>[a(d,{icon:"mdi-delete"})]),default:l(()=>[a(V,null,{default:l(()=>e[38]||(e[38]=[m(" Delete ")])),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue","target"])):E("",!0),s.legendMenu?(w(),x(U,{key:4,modelValue:s.legendMenu,"onUpdate:modelValue":e[20]||(e[20]=h=>s.legendMenu=h),target:[s.legendMenuX,s.legendMenuY],absolute:"","offset-y":""},{default:l(()=>[a($,null,{default:l(()=>[a(C,{onClick:e[16]||(e[16]=h=>r.moveLegend("top"))},{default:l(()=>[a(V,{style:{cursor:"pointer"}},{default:l(()=>e[39]||(e[39]=[m(" Legend Top ")])),_:1})]),_:1}),a(C,{onClick:e[17]||(e[17]=h=>r.moveLegend("bottom"))},{default:l(()=>[a(V,{style:{cursor:"pointer"}},{default:l(()=>e[40]||(e[40]=[m(" Legend Bottom ")])),_:1})]),_:1}),a(C,{onClick:e[18]||(e[18]=h=>r.moveLegend("left"))},{default:l(()=>[a(V,{style:{cursor:"pointer"}},{default:l(()=>e[41]||(e[41]=[m(" Legend Left ")])),_:1})]),_:1}),a(C,{onClick:e[19]||(e[19]=h=>r.moveLegend("right"))},{default:l(()=>[a(V,{style:{cursor:"pointer"}},{default:l(()=>e[42]||(e[42]=[m(" Legend RIght ")])),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue","target"])):E("",!0),i.sparkline?E("",!0):(w(),Y("div",ke,[a(o,{text:"Click item to toggle, Right click to edit",location:"top"},{activator:l(({props:h})=>[a(d,se(le(h)),{default:l(()=>e[43]||(e[43]=[m(" mdi-information-variant-circle ")])),_:2},1040)]),_:1})],512))])}const Ee=j("S",L(be,[["render",Ve],["__scopeId","data-v-485a5da2"]]));function Ce(t,e,i){const n=R(t,void 0);if(isNaN(e))return H(t,NaN);if(!e)return n;const s=n.getDate(),r=H(t,n.getTime());r.setMonth(n.getMonth()+e+1,0);const d=r.getDate();return s>=d?r:(n.setFullYear(r.getFullYear(),r.getMonth(),s),n)}function Me(t,e,i){return te(t,-e,i)}function Ie(t,e,i){return Ce(t,-e)}function Ne(t,e,i){const{years:n=0,months:s=0,weeks:r=0,days:d=0,hours:o=0,minutes:v=0,seconds:p=0}=e,y=Ie(t,s+n*12),D=Me(y,d+r*7,i),_=v+o*60,k=(p+_*60)*1e3;return H(t,+D-k)}const Oe=j("_",{mixins:[ne],data:function(){return{id:Math.floor(Math.random()*1e11),state:"start",items:[{targetName:this.parameters[0],packetName:this.parameters[1],itemName:this.parameters[2],valueType:this.parameters[3]||"CONVERTED",reduced:this.parameters[4]||"DECOM",reducedType:this.parameters[5]||null}],startTime:null,secondsGraphed:3600,pointsSaved:3600,pointsGraphed:3600,size:{height:300,width:400}}},created:function(){this.appliedSettings.forEach(t=>{switch(t[0]){case"ITEM":this.items.push({targetName:t[1],packetName:t[2],itemName:t[3],valueType:t[4]||"CONVERTED",reduced:t[5]||"DECOM",reducedType:t[6]||null});case"STARTTIME":let e=P(t[1],"yyyy/MM/dd HH:mm:ss",new Date);this.startTime=e.getTime()*1e6;break;case"HISTORY":let i=parseInt(t[1].slice(0,t[1].length-1)),n=null,s=1;switch(t[1][t[1].length-1]){case"d":n="days",s=3600*24;break;case"h":n="hours",s=3600;break;case"m":n="minutes",s=60;break;case"s":n="seconds";break;default:throw new Error(`Unknown time suffix: ${t[1]}!`)}let r={};r[n]=i,this.startTime=Ne(new Date,r).getTime()*1e6,i*s>this.secondsGraphed&&(this.secondsGraphed=i*s),i*s>this.pointsSaved&&(this.pointsSaved=i*s),i*s>this.pointsGraphed&&(this.pointsGraphed=i*s);break;case"SECONDSGRAPHED":this.secondsGraphed=parseInt(t[1]);break;case"POINTSSAVED":this.pointsSaved=parseInt(t[1]);break;case"POINTSGRAPHED":this.pointsGraphed=parseInt(t[1]);break;case"SIZE":this.size.width=parseInt(t[1]),this.size.height=parseInt(t[2]);break}}),this.items=this.items.map(t=>{let e=t.itemName;if(t.itemName.includes("[["))t.itemName=t.itemName.replace("[[","[").replace("]]","]"),e=t.itemName;else if(t.itemName.includes("[")){let i=t.itemName.match(/\[(\d+)\]/);this.arrayIndex=parseInt(i[1]),e=t.itemName.replace(i[0],"")}return this.$emit("addItem",`${t.targetName}__${t.packetName}__${e}__${t.valueType}`,!0),t})},destroyed(){this.items.map(t=>this.$emit("deleteItem",`${t.targetName}__${t.packetName}__${t.itemName}__${t.valueType}`))}})}}});
@@ -0,0 +1 @@
1
+ System.register(["./Layout-D4YBjuWs-1a7b819d30421d06a03c.js","vue","./main-ffc696a58eef5895606b.js","./Widget-C7ms_xDE-588badd8b9b27625a3ac.js","vue-router","single-spa","vuex","vuetify"],function(d,k){"use strict";var a,s,i,c,o,u,m,g,p,f;return{setters:[e=>{a=e.r},e=>{s=e.openBlock,i=e.createElementBlock,c=e.normalizeStyle,o=e.Fragment,u=e.renderList,m=e.createBlock,g=e.resolveDynamicComponent,p=e.mergeProps},e=>{f=e.s},null,null,null,null,null],execute:function(){const e={mixins:[a],created:function(){if(this.parameters[0]){let n=this.parameters[0];this.widgets.forEach(l=>{l.settings.find(r=>r[0]==="MARGIN"||r[0]==="RAW"&&r[1].toUpperCase().includes("MARGIN"))===void 0&&l.settings.push(["MARGIN",n])})}}};function y(n,l,r,h,w,x){return s(),i("div",{ref:"container",class:"d-flex flex-row",style:c(n.computedStyle)},[(s(!0),i(o,null,u(n.widgets,(t,v)=>(s(),m(g(t.type),p({ref_for:!0},n.listeners,{key:v,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))],4)}const B=d("default",f(e,[["render",y]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./HorizontalWidget-B7YdcFVN-6e594ada088632f8f650.js","./Layout-D4YBjuWs-1a7b819d30421d06a03c.js","vue","./main-ffc696a58eef5895606b.js","./Widget-C7ms_xDE-588badd8b9b27625a3ac.js","vue-router","single-spa","vuex","vuetify"],function(m,f){"use strict";var r,i,n,l,o,s,a,c,u,p,d,g;return{setters:[e=>{r=e.default},e=>{i=e.r},e=>{n=e.resolveComponent,l=e.openBlock,o=e.createElementBlock,s=e.createVNode,a=e.normalizeStyle,c=e.withCtx,u=e.createTextVNode,p=e.toDisplayString,d=e.mergeProps},e=>{g=e.s},null,null,null,null,null],execute:function(){const e={mixins:[i],components:{HorizontalWidget:r}};function v(t,w,S,B,N,V){const y=n("v-banner"),x=n("horizontal-widget");return l(),o("div",null,[s(y,{class:"boxbanner",style:a(t.computedStyle),"single-line":""},{default:c(()=>[u(p(t.parameters[0]),1)]),_:1},8,["style"]),s(x,d(t.listeners,{parameters:t.parameters.slice(1),settings:t.appliedSettings,widgets:t.widgets,"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone,"screen-id":t.screenId}),null,16,["parameters","settings","widgets","screen-values","screen-time-zone","screen-id"])])}const z=m("default",g(e,[["render",v],["__scopeId","data-v-e9e6c14b"]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["vue","./main-ffc696a58eef5895606b.js","vue-router","single-spa","vuex","vuetify"],function(l,c){"use strict";var n,t,u;return{setters:[e=>{n=e.openBlock,t=e.createElementBlock},e=>{u=e.s},null,null,null,null],execute:function(){const e={};function r(o,i){return n(),t("hr")}const s=l("default",u(e,[["render",r]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-C7ms_xDE-588badd8b9b27625a3ac.js","vue","./main-ffc696a58eef5895606b.js","vue-router","single-spa","vuex","vuetify"],function(y,b){"use strict";var o,g,m,p,R;return{setters:[r=>{o=r.o},r=>{g=r.openBlock,m=r.createElementBlock,p=r.normalizeStyle},r=>{R=r.s},null,null,null,null],execute:function(){var r={},t={},d;function U(){return d||(d=1,Object.defineProperty(t,"__esModule",{value:!0}),t.BLANK_URL=t.relativeFirstCharacters=t.whitespaceEscapeCharsRegex=t.urlSchemeRegex=t.ctrlCharactersRegex=t.htmlCtrlEntityRegex=t.htmlEntitiesRegex=t.invalidProtocolRegex=void 0,t.invalidProtocolRegex=/^([^\w]*)(javascript|data|vbscript)/im,t.htmlEntitiesRegex=/&#(\w+)(^\w|;)?/g,t.htmlCtrlEntityRegex=/&(newline|tab);/gi,t.ctrlCharactersRegex=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,t.urlSchemeRegex=/^.+(:|&colon;)/gim,t.whitespaceEscapeCharsRegex=/(\\|%5[cC])((%(6[eE]|72|74))|[nrt])/g,t.relativeFirstCharacters=[".","/"],t.BLANK_URL="about:blank"),t}var f;function _(){if(f)return r;f=1,Object.defineProperty(r,"__esModule",{value:!0}),r.sanitizeUrl=void 0;var e=U();function x(i){return e.relativeFirstCharacters.indexOf(i[0])>-1}function v(i){var l=i.replace(e.ctrlCharactersRegex,"");return l.replace(e.htmlEntitiesRegex,function(n,a){return String.fromCharCode(a)})}function C(i){return URL.canParse(i)}function h(i){try{return decodeURIComponent(i)}catch{return i}}function w(i){if(!i)return e.BLANK_URL;var l,n=h(i.trim());do n=v(n).replace(e.htmlCtrlEntityRegex,"").replace(e.ctrlCharactersRegex,"").replace(e.whitespaceEscapeCharsRegex,"").trim(),n=h(n),l=n.match(e.ctrlCharactersRegex)||n.match(e.htmlEntitiesRegex)||n.match(e.htmlCtrlEntityRegex)||n.match(e.whitespaceEscapeCharsRegex);while(l&&l.length>0);var a=n;if(!a)return e.BLANK_URL;if(x(a))return a;var E=a.trimStart(),L=E.match(e.urlSchemeRegex);if(!L)return a;var s=L[0].toLowerCase().trim();if(e.invalidProtocolRegex.test(s))return e.BLANK_URL;var u=E.replace(/\\/g,"/");if(s==="mailto:"||s.includes("://"))return u;if(s==="http:"||s==="https:"){if(!C(u))return e.BLANK_URL;var c=new URL(u);return c.protocol=c.protocol.toLowerCase(),c.hostname=c.hostname.toLowerCase(),c.toString()}return u}return r.sanitizeUrl=w,r}var B=_();const F={mixins:[o],data:function(){return{width:800,height:600,url:B.sanitizeUrl(this.parameters[0])}},created:function(){this.setWidth(this.parameters[1],"px",this.width),this.setHeight(this.parameters[2],"px",this.height)}},S=["src","width","height"];function N(e,x,v,C,h,w){return g(),m("iframe",{title:"IFrameWidget",src:e.url,width:e.width,height:e.height,style:p(e.computedStyle)},null,12,S)}const A=y("default",R(F,[["render",N]]))}}});
@@ -1 +1 @@
1
- System.register(["./main-e67fa93ee8ee2348fa86.js"],function(r,s){"use strict";var e;return{setters:[n=>{e=n.O}],execute:function(){const n=r("s",{props:{target:{type:String,require:!0}},methods:{getPresignedUrl:async function(o){let t="targets_modified";return await e.get(`/openc3-api/storage/exists/${encodeURIComponent(`${window.openc3Scope}/${t}/${this.target}/public/${o}`)}?bucket=OPENC3_CONFIG_BUCKET`,{headers:{Accept:"application/json","Ignore-Errors":"404"}}).catch(c=>{t="targets"}),(await e.get(`/openc3-api/storage/download/${encodeURIComponent(`${window.openc3Scope}/${t}/${this.target}/public/${o}`)}?bucket=OPENC3_CONFIG_BUCKET`)).data.url}}})}}});
1
+ System.register(["./main-ffc696a58eef5895606b.js"],function(r,s){"use strict";var e;return{setters:[n=>{e=n.I}],execute:function(){const n=r("s",{props:{target:{type:String,require:!0}},methods:{getPresignedUrl:async function(o){let t="targets_modified";return await e.get(`/openc3-api/storage/exists/${encodeURIComponent(`${window.openc3Scope}/${t}/${this.target}/public/${o}`)}?bucket=OPENC3_CONFIG_BUCKET`,{headers:{Accept:"application/json","Ignore-Errors":"404"}}).catch(c=>{t="targets"}),(await e.get(`/openc3-api/storage/download/${encodeURIComponent(`${window.openc3Scope}/${t}/${this.target}/public/${o}`)}?bucket=OPENC3_CONFIG_BUCKET`)).data.url}}})}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-C7ms_xDE-588badd8b9b27625a3ac.js","vue","./main-ffc696a58eef5895606b.js","vue-router","single-spa","vuex","vuetify"],function(l,o){"use strict";var s,a,n,r,i;return{setters:[e=>{s=e.o},e=>{a=e.openBlock,n=e.createElementBlock,r=e.normalizeStyle},e=>{i=e.s},null,null,null,null],execute:function(){const e={mixins:[s],data:function(){return{valueId:null,imageData:""}},computed:{src:function(){return`data:image/${this.parameters[3]};base64, ${this.screenValues[this.valueId][0]}`}},created:function(){this.valueId=`${this.parameters[0]}__${this.parameters[1]}__${this.parameters[2]}__CONVERTED`,this.$emit("addItem",this.valueId)},unmounted:function(){this.$emit("deleteItem",this.valueId)}},u=["src","alt","width","height"];function c(t,h,p,v,f,m){return a(),n("img",{src:m.src,alt:t.valueId,width:t.parameters[4],height:t.parameters[5],style:r(t.computedStyle)},null,12,u)}const d=l("default",i(e,[["render",c]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-C7ms_xDE-588badd8b9b27625a3ac.js","vue","./main-ffc696a58eef5895606b.js","vue-router","single-spa","vuex","vuetify"],function(m,h){"use strict";var s,n,i,l,a,r;return{setters:[t=>{s=t.o},t=>{n=t.openBlock,i=t.createElementBlock,l=t.normalizeStyle,a=t.toDisplayString},t=>{r=t.s},null,null,null,null],execute:function(){const t={mixins:[s],data(){return{fontFamily:null,fontSize:null,fontWeight:"normal",fontStyle:"normal"}},computed:{labelText(){return this.parameters[0]},cssProps(){let e=null;return this.fontSize&&(e=this.fontSize+"px"),{"--font-family":this.fontFamily,"--font-size":e,"--font-weight":this.fontWeight,"--font-style":this.fontStyle}}},created(){this.verifyNumParams("LABEL",1,5,"LABEL <Text> <Font Family> <Font Size> <Font Weight> <Font Style>"),this.parameters[1]&&(this.fontFamily=this.parameters[1]),this.parameters[2]&&(this.fontSize=this.parameters[2]),this.parameters[3]&&(this.fontWeight=this.parameters[3]),this.parameters[4]&&(this.fontStyle=this.parameters[4])}};function f(e,p,c,y,S,o){return n(),i("div",{"data-test":"label",class:"pa-1 mt-1 label",style:l([o.cssProps,e.computedStyle])},a(o.labelText),5)}const u=m("default",r(t,[["render",f],["__scopeId","data-v-1d1d3128"]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-C7ms_xDE-588badd8b9b27625a3ac.js","./LabelWidget-D1JhQAzR-5e622c13ba95e40e339f.js","./LedWidget-hN9JHxjr-1fcf021d36bc67befe3e.js","vue","./main-ffc696a58eef5895606b.js","vue-router","single-spa","vuex","vuetify"],function(p,x){"use strict";var r,l,a,s,i,o,c,n,u,d;return{setters:[e=>{r=e.o},e=>{l=e.default},e=>{a=e.default},e=>{s=e.resolveComponent,i=e.openBlock,o=e.createElementBlock,c=e.normalizeStyle,n=e.createVNode,u=e.mergeProps},e=>{d=e.s},null,null,null,null],execute:function(){const e={mixins:[r],components:{LabelWidget:l,LedWidget:a},computed:{labelName(){return[this.parameters[2]+":"]}}};function g(t,w,b,y,N,m){const f=s("label-widget"),v=s("led-widget");return i(),o("div",{ref:"container",class:"d-flex flex-row",style:c(t.computedStyle)},[n(f,{parameters:m.labelName,settings:[...t.appliedSettings],"widget-index":0},null,8,["parameters","settings"]),n(v,u(t.$attrs,{parameters:t.parameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"widget-index":1}),null,16,["parameters","settings","screen-values"])],4)}const S=p("default",d(e,[["render",g]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-C7ms_xDE-588badd8b9b27625a3ac.js","./LabelWidget-D1JhQAzR-5e622c13ba95e40e339f.js","./ProgressbarWidget-B7l0BBiX-b9827f694a2dadcc8cba.js","vue","./main-ffc696a58eef5895606b.js","vue-router","single-spa","vuex","vuetify"],function(p,y){"use strict";var n,l,a,s,i,o,c,r,u,g;return{setters:[e=>{n=e.o},e=>{l=e.default},e=>{a=e.default},e=>{s=e.resolveComponent,i=e.openBlock,o=e.createElementBlock,c=e.normalizeStyle,r=e.createVNode,u=e.mergeProps},e=>{g=e.s},null,null,null,null],execute:function(){const e={mixins:[n],components:{LabelWidget:l,ProgressbarWidget:a},computed:{labelName(){return[this.parameters[2]+":"]}}};function d(t,x,S,B,w,m){const f=s("label-widget"),v=s("progressbar-widget");return i(),o("div",{ref:"container",class:"d-flex flex-row",style:c(t.computedStyle)},[r(f,{parameters:m.labelName,settings:[...t.appliedSettings],"widget-index":0},null,8,["parameters","settings"]),r(v,u(t.$attrs,{parameters:t.parameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,style:t.computedStyle,"widget-index":1}),null,16,["parameters","settings","screen-values","style"])],4)}const b=p("default",g(e,[["render",d]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-C7ms_xDE-588badd8b9b27625a3ac.js","./LabelWidget-D1JhQAzR-5e622c13ba95e40e339f.js","./SparklineWidget-C9vdxar--61a49ca3d71d13f7e496.js","vue","./main-ffc696a58eef5895606b.js","./GraphWidget-BohHW-97-a4e8f2dfa3c093d4f9cf.js","single-spa","vue-router","vuex","vuetify"],function(p,y){"use strict";var r,i,a,l,o,u,n,s,d;return{setters:[e=>{r=e.o},e=>{i=e.default},e=>{a=e.default},e=>{l=e.resolveComponent,o=e.openBlock,u=e.createElementBlock,n=e.normalizeStyle,s=e.createVNode},e=>{d=e.s},null,null,null,null,null],execute:function(){const e={mixins:[r],components:{LabelWidget:i,SparklineWidget:a},computed:{labelName(){return[this.parameters[2]+":"]}}};function c(t,b,v,x,k,m){const g=l("label-widget"),f=l("sparkline-widget");return o(),u("div",{ref:"container",class:"d-flex flex-row",style:n(t.computedStyle)},[s(g,{parameters:m.labelName,settings:[...t.appliedSettings],line:t.line,lineNumber:t.lineNumber,"widget-index":0},null,8,["parameters","settings","line","lineNumber"]),s(f,{parameters:t.parameters,settings:[...t.appliedSettings],style:n(t.computedStyle),"widget-index":1},null,8,["parameters","settings","style"])],4)}const S=p("default",d(e,[["render",c]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-C7ms_xDE-588badd8b9b27625a3ac.js","./LabelWidget-D1JhQAzR-5e622c13ba95e40e339f.js","./ValueWidget-h3905woQ-c49a0680229e3848bdfe.js","vue","./main-ffc696a58eef5895606b.js","./DetailsDialog-DiVcC3Fg-e0e4821224ef47232595.js","single-spa","./VWidget-CGdM4sTw-cc1a51984ca0616889a0.js","vue-router","vuex","vuetify"],function(g,f){"use strict";var r,l,a,n,i,u,m,s,o,c;return{setters:[e=>{r=e.o},e=>{l=e.default},e=>{a=e.default},e=>{n=e.resolveComponent,i=e.openBlock,u=e.createElementBlock,m=e.normalizeStyle,s=e.createVNode,o=e.mergeProps},e=>{c=e.s},null,null,null,null,null,null],execute:function(){const e={mixins:[r],components:{LabelWidget:l,ValueWidget:a},computed:{labelName(){let t=this.parameters[2];return t.includes("[[")&&(t=t.replace("[[","[").replace("]]","]")),[t+":"]},valueParameters(){return[this.parameters[0],this.parameters[1],this.parameters[2],this.parameters[3],this.parameters[4]]}}};function d(t,w,x,S,V,p){const v=n("label-widget"),b=n("value-widget");return i(),u("div",{ref:"container",class:"d-flex flex-row",style:m(t.computedStyle)},[s(v,{parameters:p.labelName,settings:[...t.appliedSettings],line:t.line,"line-number":t.lineNumber,"widget-index":0},null,8,["parameters","settings","line","line-number"]),s(b,o(t.$attrs,{parameters:p.valueParameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone,line:t.line,"line-number":t.lineNumber,"widget-index":1}),null,16,["parameters","settings","screen-values","screen-time-zone","line","line-number"])],4)}const h=g("default",c(e,[["render",d]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-C7ms_xDE-588badd8b9b27625a3ac.js","./LabelWidget-D1JhQAzR-5e622c13ba95e40e339f.js","./ValueWidget-h3905woQ-c49a0680229e3848bdfe.js","./main-ffc696a58eef5895606b.js","vue","./DetailsDialog-DiVcC3Fg-e0e4821224ef47232595.js","single-spa","./VWidget-CGdM4sTw-cc1a51984ca0616889a0.js","vue-router","vuex","vuetify"],function(d,w){"use strict";var n,i,a,l,u,s,m,o,c,r,p;return{setters:[e=>{n=e.o},e=>{i=e.default},e=>{a=e.default},e=>{l=e.s,u=e.F},e=>{s=e.resolveComponent,m=e.openBlock,o=e.createElementBlock,c=e.normalizeStyle,r=e.createVNode,p=e.mergeProps},null,null,null,null,null,null],execute:function(){const e={mixins:[n],data(){return{description:"",valueParameters:[]}},components:{LabelWidget:i,ValueWidget:a},computed:{labelName(){return[this.description]}},created(){this.valueParameters=this.parameters.slice(0,3),this.parameters[4]!=null&&this.valueParameters.push(this.parameters[4]),this.parameters[5]!=null&&this.valueParameters.push(this.parameters[5]),this.parameters.length>3?this.description=this.parameters[3]:new u().get_item(this.parameters[0],this.parameters[1],this.parameters[2]).then(t=>{this.description=t.description})}};function g(t,P,V,j,h,v){const b=s("label-widget"),f=s("value-widget");return m(),o("div",{ref:"container",class:"d-flex flex-row",style:c(t.computedStyle)},[r(b,{parameters:v.labelName,settings:[...t.settings],line:t.line,"line-number":t.lineNumber,"widget-index":0},null,8,["parameters","settings","line","line-number"]),r(f,p(t.$attrs,{parameters:h.valueParameters,settings:[...t.settings],"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone,line:t.line,"line-number":t.lineNumber,"widget-index":1}),null,16,["parameters","settings","screen-values","screen-time-zone","line","line-number"])],4)}const x=d("default",l(e,[["render",g]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./LabelvalueWidget-BWpP5KX6-2340ba7c2f502e85038d.js","./LimitsbarWidget-D-wfz_St-f0d2a65da1fe1eba698f.js","./Widget-C7ms_xDE-588badd8b9b27625a3ac.js","vue","./main-ffc696a58eef5895606b.js","./LabelWidget-D1JhQAzR-5e622c13ba95e40e339f.js","./ValueWidget-h3905woQ-c49a0680229e3848bdfe.js","./DetailsDialog-DiVcC3Fg-e0e4821224ef47232595.js","single-spa","./VWidget-CGdM4sTw-cc1a51984ca0616889a0.js","./BarColumn-B6tCmNJm-bddec99a6c4f86df0493.js","vue-router","vuex","vuetify"],function(g,b){"use strict";var r,i,a,s,u,o,c,l,n,m;return{setters:[e=>{r=e.default},e=>{i=e.default},e=>{a=e.o},e=>{s=e.resolveComponent,u=e.openBlock,o=e.createElementBlock,c=e.normalizeStyle,l=e.createVNode,n=e.mergeProps},e=>{m=e.s},null,null,null,null,null,null,null,null,null],execute:function(){const e={mixins:[a],components:{LabelvalueWidget:r,LimitsbarWidget:i},computed:{labelValueSettings(){return[...this.appliedSettings.filter(t=>t[0]==="__SCREEN_ID__"),...this.settings.filter(t=>parseInt(t[0])===0||parseInt(t[0])===1)]}}};function p(t,j,V,W,x,d){const v=s("labelvalue-widget"),f=s("limitsbar-widget");return u(),o("div",{ref:"container",class:"d-flex flex-row",style:c(t.computedStyle)},[l(v,n(t.$attrs,{parameters:t.parameters,settings:d.labelValueSettings,"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone}),null,16,["parameters","settings","screen-values","screen-time-zone"]),l(f,n(t.$attrs,{parameters:t.parameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"widget-index":2,line:t.line,lineNumber:t.lineNumber}),null,16,["parameters","settings","screen-values","line","lineNumber"])],4)}const S=g("default",m(e,[["render",p]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./LabelWidget-D1JhQAzR-5e622c13ba95e40e339f.js","./ValueWidget-h3905woQ-c49a0680229e3848bdfe.js","./LimitscolumnWidget-Dt5ce4hN-5bcb5552c62ff449a030.js","./Widget-C7ms_xDE-588badd8b9b27625a3ac.js","vue","./main-ffc696a58eef5895606b.js","./DetailsDialog-DiVcC3Fg-e0e4821224ef47232595.js","single-spa","./VWidget-CGdM4sTw-cc1a51984ca0616889a0.js","./BarColumn-B6tCmNJm-bddec99a6c4f86df0493.js","vue-router","vuex","vuetify"],function(d,S){"use strict";var i,r,a,u,s,o,m,c,n,l,g;return{setters:[e=>{i=e.default},e=>{r=e.default},e=>{a=e.default},e=>{u=e.o},e=>{s=e.resolveComponent,o=e.openBlock,m=e.createElementBlock,c=e.normalizeStyle,n=e.createVNode,l=e.mergeProps},e=>{g=e.s},null,null,null,null,null,null,null],execute:function(){const e={mixins:[u],components:{LabelWidget:i,ValueWidget:r,LimitscolumnWidget:a}};function p(t,j,V,b,x,C){const v=s("label-widget"),f=s("limitscolumn-widget"),w=s("value-widget");return o(),m("div",{ref:"container",style:c(t.computedStyle)},[n(v,{parameters:[t.parameters[2]],settings:[...t.appliedSettings],"widget-index":0},null,8,["parameters","settings"]),n(f,l(t.$attrs,{parameters:t.parameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"widget-index":2,line:t.line,lineNumber:t.lineNumber}),null,16,["parameters","settings","screen-values","line","lineNumber"]),n(w,l(t.$attrs,{parameters:t.parameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone,"widget-index":1}),null,16,["parameters","settings","screen-values","screen-time-zone"])],4)}const W=d("default",g(e,[["render",p]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./LabelvalueWidget-BWpP5KX6-2340ba7c2f502e85038d.js","./RangebarWidget-DbYrwEfC-6f337baf7318ecb28cf8.js","./Widget-C7ms_xDE-588badd8b9b27625a3ac.js","vue","./main-ffc696a58eef5895606b.js","./LabelWidget-D1JhQAzR-5e622c13ba95e40e339f.js","./ValueWidget-h3905woQ-c49a0680229e3848bdfe.js","./DetailsDialog-DiVcC3Fg-e0e4821224ef47232595.js","single-spa","./VWidget-CGdM4sTw-cc1a51984ca0616889a0.js","vue-router","vuex","vuetify"],function(g,f){"use strict";var l,i,u,s,m,o,p,r,a,c;return{setters:[e=>{l=e.default},e=>{i=e.default},e=>{u=e.o},e=>{s=e.resolveComponent,m=e.openBlock,o=e.createElementBlock,p=e.normalizeStyle,r=e.createVNode,a=e.mergeProps},e=>{c=e.s},null,null,null,null,null,null,null,null],execute:function(){const e={mixins:[u],components:{LabelvalueWidget:l,RangebarWidget:i},computed:{labelValueSettings(){return[...this.settings.filter(t=>t[0]==="__SCREEN_ID__"),...this.settings.filter(t=>parseInt(t[0])===0||parseInt(t[0])===1)]},labelValueParameters(){return[this.parameters[0],this.parameters[1],this.parameters[2],this.parameters[5],this.parameters[6]]},rangeBarParameters(){return[this.parameters[0],this.parameters[1],this.parameters[2],this.parameters[3],this.parameters[4],this.parameters[5],this.parameters[7],this.parameters[8]]}}};function d(t,V,W,j,B,n){const h=s("labelvalue-widget"),v=s("rangebar-widget");return m(),o("div",{ref:"container",class:"d-flex flex-row",style:p(t.computedStyle)},[r(h,a(t.$attrs,{parameters:n.labelValueParameters,settings:n.labelValueSettings,"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone}),null,16,["parameters","settings","screen-values","screen-time-zone"]),r(v,a(t.$attrs,{parameters:n.rangeBarParameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"widget-index":2}),null,16,["parameters","settings","screen-values"])],4)}const b=g("default",c(e,[["render",d]]))}}});
@@ -1 +1 @@
1
- System.register(["./Widget-orNSvnOh-c2a94ca25551f743ceef.js"],function(r,s){"use strict";var e;return{setters:[t=>{e=t.o}],execute:function(){const t=r("r",{mixins:[e],props:{widgets:{type:Array,default:()=>[]}}})}}});
1
+ System.register(["./Widget-C7ms_xDE-588badd8b9b27625a3ac.js"],function(r,s){"use strict";var e;return{setters:[t=>{e=t.o}],execute:function(){const t=r("r",{mixins:[e],props:{widgets:{type:Array,default:()=>[]}}})}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-C7ms_xDE-588badd8b9b27625a3ac.js","vue","./main-ffc696a58eef5895606b.js","vue-router","single-spa","vuex","vuetify"],function(m,I){"use strict";var i,n,l,o,r,a,p,h,c;return{setters:[e=>{i=e.o},e=>{n=e.resolveComponent,l=e.openBlock,o=e.createBlock,r=e.withCtx,a=e.createElementVNode,p=e.mergeProps,h=e.toDisplayString},e=>{c=e.s},null,null,null,null],execute:function(){const e={mixins:[i],data(){return{valueId:null,colors:{TRUE:"openc3-green",FALSE:"openc3-red"}}},computed:{width(){return this.parameters[4]?parseInt(this.parameters[4]):20},height(){return this.parameters[5]?parseInt(this.parameters[5]):20},cssProps(){let t=this.screenValues[this.valueId][0],s=this.colors[t];return s||(s=this.colors.ANY),s||(s="openc3-black"),{"--color":s}},fullName(){return this.parameters[0]+" "+this.parameters[1]+" "+this.parameters[2]}},created(){this.appliedSettings.forEach(t=>{switch(t[0]){case"LED_COLOR":this.colors[t[1]]=t[2];break}}),this.appliedSettings.push(["WIDTH",this.width]),this.appliedSettings.push(["HEIGHT",this.height]),this.parameters[3]||(this.parameters[3]="CONVERTED"),this.valueId=`${this.parameters[0]}__${this.parameters[1]}__${this.parameters[2]}__${this.parameters[3]}`,this.$emit("addItem",this.valueId)},unmounted(){this.$emit("deleteItem",this.valueId)}};function d(t,s,f,E,S,u){const v=n("v-tooltip");return l(),o(v,{location:"top"},{activator:r(({props:g})=>[a("div",p({class:"ledwidget mt-1",style:[u.cssProps,t.computedStyle]},g),null,16)]),default:r(()=>[a("span",null,h(u.fullName),1)]),_:1})}const _=m("default",c(e,[["render",d],["__scopeId","data-v-6a4513e5"]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./BarColumn-B6tCmNJm-bddec99a6c4f86df0493.js","vue","./main-ffc696a58eef5895606b.js","./Widget-C7ms_xDE-588badd8b9b27625a3ac.js","vue-router","single-spa","vuex","vuetify"],function(_,p){"use strict";var l,r,a,n,s,t,o,c,m;return{setters:[i=>{l=i.l},i=>{r=i.resolveComponent,a=i.openBlock,n=i.createBlock,s=i.withCtx,t=i.createElementVNode,o=i.mergeProps,c=i.toDisplayString},i=>{m=i.s},null,null,null,null,null],execute:function(){const i={mixins:[l],data(){return{width:160,height:22}},computed:{limitsRange(){let e=this.limitsSettings[this.selectedLimitsSet];if(e)return e.length===4?`RL/${e[0]} YL/${e[1]} YH/${e[2]} RH/${e[3]}`:`RL/${e[0]} YL/${e[1]} YH/${e[2]} RH/${e[3]} GL/${e[4]} GH/${e[5]}`;throw{line:this.line,lineNumber:this.lineNumber,keyword:"LIMITSBAR",parameters:this.parameters,message:"Item has no limits settings",usage:"Only items with limits"}}},created(){this.verifyNumParams("LIMITSBAR",3,6,"LIMITSBAR <TARGET> <PACKET> <ITEM> <TYPE> <WIDTH> <HEIGHT>")}};function d(e,u,w,I,y,v){const h=r("v-tooltip");return a(),n(h,{location:"top"},{activator:s(({props:g})=>[t("div",o({class:"limitsbar",style:[e.cssProps,e.computedStyle]},g),u[0]||(u[0]=[t("div",{class:"limitsbar__container"},[t("div",{class:"limitsbar__redlow"}),t("div",{class:"limitsbar__redhigh"}),t("div",{class:"limitsbar__yellowlow"}),t("div",{class:"limitsbar__yellowhigh"}),t("div",{class:"limitsbar__greenlow"}),t("div",{class:"limitsbar__greenhigh"}),t("div",{class:"limitsbar__blue"}),t("div",{class:"limitsbar__line"}),t("div",{class:"limitsbar__arrow"})],-1)]),16)]),default:s(()=>[t("span",null,c(v.limitsRange),1)]),_:1})}const b=_("default",m(i,[["render",d],["__scopeId","data-v-9f79e720"]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./VWidget-CGdM4sTw-cc1a51984ca0616889a0.js","vue","./main-ffc696a58eef5895606b.js","./Widget-C7ms_xDE-588badd8b9b27625a3ac.js","vue-router","single-spa","vuex","vuetify"],function(p,h){"use strict";var r,a,l,i,s,n,o,u;return{setters:[e=>{r=e.L},e=>{a=e.resolveComponent,l=e.openBlock,i=e.createElementBlock,s=e.normalizeStyle,n=e.createElementVNode,o=e.createVNode},e=>{u=e.s},null,null,null,null,null],execute:function(){const e={mixins:[r],data(){return{radius:15,fullLabelDisplay:!1}},created(){this.parameters[4]&&(this.radius=parseInt(this.parameters[4])),this.parameters[5]&&this.parameters[5].toLowerCase()==="true"&&(this.fullLabelDisplay=!0)},computed:{labelName(){return this.fullLabelDisplay?[this.parameters[0]+" "+this.parameters[1]+" "+this.parameters[2]]:[this.parameters[2]]},cssProps(){return{"--height":this.radius+"px","--width":this.radius+"px","--color":this.limitsColor}}},methods:{getType(){let t="CONVERTED";return this.parameters[3]&&(t=this.parameters[3]),t}}};function d(t,y,g,v,x,c){const m=a("label-widget");return l(),i("div",{ref:"container",class:"d-flex flex-row",style:s(t.computedStyle)},[n("div",{class:"led align-self-center",style:s(c.cssProps)},null,4),o(m,{parameters:c.labelName,settings:t.appliedSettings,style:s(t.computedStyle),"widget-index":1},null,8,["parameters","settings","style"])],4)}const f=p("default",u(e,[["render",d],["__scopeId","data-v-87ec8e4f"]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./BarColumn-B6tCmNJm-bddec99a6c4f86df0493.js","vue","./main-ffc696a58eef5895606b.js","./Widget-C7ms_xDE-588badd8b9b27625a3ac.js","vue-router","single-spa","vuex","vuetify"],function(n,v){"use strict";var a,s,l,r,h,d;return{setters:[i=>{a=i.l},i=>{s=i.openBlock,l=i.createElementBlock,r=i.normalizeStyle,h=i.createStaticVNode},i=>{d=i.s},null,null,null,null,null],execute:function(){const i={mixins:[a],data(){return{width:22,height:120}},computed:{cssProps:function(){let e=this.screenValues[this.valueId][0],t=this.modifyLimits(this.limitsSettings[this.selectedLimitsSet]);if(t)return this.calcLimits(t),{"--height":this.height+"px","--width":this.width+"px","--container-width":this.width-5+"px","--position":this.calcPosition(e,t)+"%","--redlow-height":this.redLow+"%","--redhigh-height":this.redHigh+"%","--yellowlow-height":this.yellowLow+"%","--yellowhigh-height":this.yellowHigh+"%","--greenlow-height":this.greenLow+"%","--greenhigh-height":this.greenHigh+"%","--blue-height":this.blue+"%"};throw{line:this.line,lineNumber:this.lineNumber,keyword:"LIMITSCOLUMN",parameters:this.parameters,message:"Item has no limits settings",usage:"Only items with limits"}}},created(){this.verifyNumParams("LIMITSCOLUMN",3,6,"LIMITSCOLUMN <TARGET> <PACKET> <ITEM> <TYPE> <WIDTH> <HEIGHT>")}};function o(e,t,g,u,b,c){return s(),l("div",{class:"limitsbar",style:r([c.cssProps,e.computedStyle])},t[0]||(t[0]=[h('<div class="limitsbar__container" data-v-a4a8f4ab><div class="limitsbar__redlow" data-v-a4a8f4ab></div><div class="limitsbar__redhigh" data-v-a4a8f4ab></div><div class="limitsbar__yellowlow" data-v-a4a8f4ab></div><div class="limitsbar__yellowhigh" data-v-a4a8f4ab></div><div class="limitsbar__greenlow" data-v-a4a8f4ab></div><div class="limitsbar__greenhigh" data-v-a4a8f4ab></div><div class="limitsbar__blue" data-v-a4a8f4ab></div><div class="limitsbar__line" data-v-a4a8f4ab></div><div class="limitsbar__arrow" data-v-a4a8f4ab></div></div>',1)]),4)}const m=n("default",d(i,[["render",o],["__scopeId","data-v-a4a8f4ab"]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./GraphWidget-BohHW-97-a4e8f2dfa3c093d4f9cf.js","./main-ffc696a58eef5895606b.js","vue","single-spa","./Widget-C7ms_xDE-588badd8b9b27625a3ac.js","vue-router","vuex","vuetify"],function(h,u){"use strict";var i,n,r,o,a,l,d;return{setters:[t=>{i=t.S,n=t._},t=>{r=t.s},t=>{o=t.resolveComponent,a=t.openBlock,l=t.createBlock,d=t.normalizeStyle},null,null,null,null,null],execute:function(){const t={components:{Graph:i},mixins:[n]};function p(e,s,g,v,S,f){const c=o("graph");return a(),l(c,{ref:"graph"+e.id,id:e.id,state:e.state,"selected-graph-id":e.id,startTime:e.startTime,"seconds-graphed":e.secondsGraphed,"points-saved":e.pointsSaved,"points-graphed":e.pointsGraphed,"initial-items":e.items,height:e.size.height,width:e.size.width,style:d(e.computedStyle),"time-zone":this.screenTimeZone,onPause:s[0]||(s[0]=()=>e.state="pause"),onStart:s[1]||(s[1]=()=>e.state="start"),"hide-toolbar":"","hide-overview":""},null,8,["id","state","selected-graph-id","startTime","seconds-graphed","points-saved","points-graphed","initial-items","height","width","style","time-zone"])}const m=h("default",r(t,[["render",p]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Layout-D4YBjuWs-1a7b819d30421d06a03c.js","./main-ffc696a58eef5895606b.js","vue","./Widget-C7ms_xDE-588badd8b9b27625a3ac.js","vue-router","single-spa","vuex","vuetify"],function(y,C){"use strict";var c,o,m,n,r,g,l,a,p,d,f;return{setters:[e=>{c=e.r},e=>{o=e.s,m=e.K},e=>{n=e.openBlock,r=e.createElementBlock,g=e.normalizeStyle,l=e.Fragment,a=e.renderList,p=e.createBlock,d=e.resolveDynamicComponent,f=e.mergeProps},null,null,null,null,null],execute:function(){const e={mixins:[c],computed:{columns(){return parseInt(this.parameters[0])},widgetChunks(){return m.chunk(this.widgets,this.columns)}},created:function(){if(this.parameters[1]){let s=this.parameters[1];this.widgets.forEach(u=>{u.settings.find(i=>i[0]==="MARGIN"||i[0]==="RAW"&&i[1].toUpperCase().includes("MARGIN"))===void 0&&u.settings.push(["MARGIN",s])})}}};function h(s,u,i,A,j,k){return n(),r("table",{style:g(s.computedStyle),role:"presentation"},[(n(!0),r(l,null,a(k.widgetChunks,(v,w)=>(n(),r("tr",{key:"r"+w},[(n(!0),r(l,null,a(v,(t,B)=>(n(),r("td",{key:"c"+B},[(n(),p(d(t.type),f({ref_for:!0},s.listeners,{target:t.target,parameters:t.parameters,settings:t.settings,"screen-values":s.screenValues,"screen-time-zone":s.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))]))),128))],4)}const b=y("default",o(e,[["render",h]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-C7ms_xDE-588badd8b9b27625a3ac.js","vue","./main-ffc696a58eef5895606b.js","vue-router","single-spa","vuex","vuetify"],function(u,p){"use strict";var s,a,l,r,n,i;return{setters:[e=>{s=e.o},e=>{a=e.resolveComponent,l=e.openBlock,r=e.createBlock,n=e.normalizeStyle},e=>{i=e.s},null,null,null,null],execute:function(){const e={mixins:[s],props:{value:{default:null}},data:function(){return{valueId:null,scaleFactor:1,width:150}},computed:{_value:function(){let t=this.value;return t===null&&(t=this.screenValues[this.valueId][0]),parseInt(parseFloat(t)*this.scaleFactor)}},created:function(){if(this.parameters[3]&&(this.scaleFactor=parseFloat(this.parameters[3])),this.width=this.setWidth(this.parameters[4],"px",this.width),this.value===null){let t="CONVERTED";this.parameters[5]&&(t=this.parameters[5]),this.valueId=`${this.parameters[0]}__${this.parameters[1]}__${this.parameters[2]}__${t}`,this.$emit("addItem",this.valueId)}},unmounted:function(){this.$emit("deleteItem",this.valueId)}};function o(t,m,v,f,_,c){const h=a("rux-progress");return l(),r(h,{value:c._value,class:"progress",style:n(t.computedStyle)},null,8,["value","style"])}const d=u("default",i(e,[["render",o],["__scopeId","data-v-85bc2857"]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-C7ms_xDE-588badd8b9b27625a3ac.js","vue","./main-ffc696a58eef5895606b.js","vue-router","single-spa","vuex","vuetify"],function(o,d){"use strict";var l,t,n,r,s,a;return{setters:[e=>{l=e.o},e=>{t=e.resolveComponent,n=e.openBlock,r=e.createBlock,s=e.normalizeStyle},e=>{a=e.s},null,null,null,null],execute:function(){const e={props:{value:{type:Number}},mixins:[l],data(){return{label:"Radio"}},created(){this.label=this.parameters[0]}};function u(i,y,c,b,v,f){const p=t("v-radio");return n(),r(p,{"hide-details":"",dense:"",label:v.label,style:s(i.computedStyle),value:c.value},null,8,["label","style","value"])}const m=o("default",a(e,[["render",u]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Layout-D4YBjuWs-1a7b819d30421d06a03c.js","vue","./main-ffc696a58eef5895606b.js","./Widget-C7ms_xDE-588badd8b9b27625a3ac.js","vue-router","single-spa","vuex","vuetify"],function(h,C){"use strict";var a,l,r,s,c,o,i,u,m,d,p,g;return{setters:[e=>{a=e.r},e=>{l=e.resolveComponent,r=e.openBlock,s=e.createBlock,c=e.normalizeStyle,o=e.withCtx,i=e.createElementBlock,u=e.Fragment,m=e.renderList,d=e.resolveDynamicComponent,p=e.mergeProps},e=>{g=e.s},null,null,null,null,null],execute:function(){const e={mixins:[a],data(){return{selectedIndex:0}},created(){this.parameters[0]&&(this.selectedIndex=parseInt(this.parameters[0]))},methods:{selected(){return this.selectedIndex}}};function f(n,v,I,_,y,j){const k=l("v-radio-group");return r(),s(k,{"hide-details":"",density:"compact",modelValue:y.selectedIndex,"onUpdate:modelValue":v[0]||(v[0]=t=>y.selectedIndex=t),style:c(n.computedStyle)},{default:o(()=>[(r(!0),i(u,null,m(n.widgets,(t,x)=>(r(),s(d(t.type),p({ref_for:!0},n.listeners,{value:x,key:x,target:t.target,parameters:t.parameters,settings:t.settings,"screen-values":n.screenValues,"screen-time-zone":n.screenTimeZone,name:t.name}),null,16,["value","target","parameters","settings","screen-values","screen-time-zone","name"]))),128))]),_:1},8,["modelValue","style"])}const B=h("default",g(e,[["render",f]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-C7ms_xDE-588badd8b9b27625a3ac.js","vue","./main-ffc696a58eef5895606b.js","vue-router","single-spa","vuex","vuetify"],function(c,m){"use strict";var r,a,n,h,i,l;return{setters:[t=>{r=t.o},t=>{a=t.openBlock,n=t.createElementBlock,h=t.normalizeStyle,i=t.createElementVNode},t=>{l=t.s},null,null,null,null],execute:function(){const t={mixins:[r],data(){return{width:160,height:22}},computed:{cssProps(){return{"--height":this.height+"px","--width":this.width+"px","--container-height":this.height-5+"px","--position":this.calcPosition()+"%"}},min(){return parseInt(this.parameters[3])},max(){return parseInt(this.parameters[4])},range(){return this.max-this.min}},created(){const e=this.parameters[5]?this.parameters[5]:"CONVERTED";this.valueId=`${this.parameters[0]}__${this.parameters[1]}__${this.parameters[2]}__${e}`,this.$emit("addItem",this.valueId),this.width=this.setWidth(this.parameters[6],"px",this.width),this.height=this.setHeight(this.parameters[7],"px",this.height)},unmounted(){this.$emit("deleteItem",this.valueId)},methods:{calcPosition(){let e=this.screenValues[this.valueId][0];if(!e)return 0;if(e.raw)return e.raw==="-Infinity"?0:100;const s=(e-this.min)/this.range*100;return s>100?100:s<0?0:s}}};function o(e,s,p,g,_,u){return a(),n("div",{class:"rangebar",style:h([u.cssProps,e.computedStyle])},s[0]||(s[0]=[i("div",{class:"rangebar__container"},[i("div",{class:"rangebar__line"}),i("div",{class:"rangebar__arrow"})],-1)]),4)}const d=c("default",l(t,[["render",o],["__scopeId","data-v-34d37e7c"]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-C7ms_xDE-588badd8b9b27625a3ac.js","vue","./main-ffc696a58eef5895606b.js","vue-router","single-spa","vuex","vuetify"],function(m,d){"use strict";var i,r,c,a,o,u;return{setters:[t=>{i=t.o},t=>{r=t.resolveComponent,c=t.openBlock,a=t.createBlock,o=t.normalizeStyle},t=>{u=t.s},null,null,null,null],execute:function(){const t={mixins:[i],props:{value:{default:null}},data:function(){return{valueId:null,icon:"",label:"",subLabel:"",items:[],screenTarget:null,screenName:null}},computed:{status:function(){let e="off";for(const n of this.items){let s=this.screenValues[n][1];s&&((s.includes("BLUE")||s.includes("GREEN"))&&e!="caution"&&e!="critical"&&(e="normal"),s.includes("YELLOW")&&e!="critical"&&(e="caution"),s.includes("RED")&&(e="critical"))}return e},pointerStyle(){return this.screenTarget&&this.screenName?{cursor:"pointer"}:{cursor:"default"}}},created:function(){this.icon=this.parameters[0],this.label=this.parameters[1],this.subLabel=this.parameters[2],this.appliedSettings.forEach(e=>{switch(e[0].toUpperCase()){case"SCREEN":this.screenTarget=e[1],this.screenName=e[2];break;case"TLM":let n="CONVERTED";e[4]&&(n=e[4]);let s=`${e[1]}__${e[2]}__${e[3]}__${n}`;this.items.push(s),this.$emit("addItem",s);break}})},unmounted:function(){this.items.forEach(e=>{this.$emit("deleteItem",e)})},methods:{clickHandler(){this.screenTarget&&this.screenName&&this.$emit("open",this.screenTarget,this.screenName)}}};function h(e,n,s,b,E,l){const p=r("rux-monitoring-icon");return c(),a(p,{class:"rux-icon",style:o([l.pointerStyle,e.computedStyle]),icon:e.icon,status:l.status,label:e.label,sublabel:e.subLabel,onClick:l.clickHandler},null,8,["style","icon","status","label","sublabel","onClick"])}const f=m("default",u(t,[["render",h]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Layout-D4YBjuWs-1a7b819d30421d06a03c.js","./VerticalWidget-DziyURNu-4e73e8c91650d314b5c1.js","vue","./main-ffc696a58eef5895606b.js","./Widget-C7ms_xDE-588badd8b9b27625a3ac.js","vue-router","single-spa","vuex","vuetify"],function(y,k){"use strict";var l,c,s,i,o,u,m,g,p,f,d;return{setters:[e=>{l=e.r},e=>{c=e.default},e=>{s=e.openBlock,i=e.createElementBlock,o=e.normalizeStyle,u=e.Fragment,m=e.renderList,g=e.createBlock,p=e.resolveDynamicComponent,f=e.mergeProps},e=>{d=e.s},null,null,null,null,null],execute:function(){const e={mixins:[l],components:{VerticalWidget:c},created:function(){if(this.setHeight(this.parameters[0],"px",200),this.parameters[1]){let n=this.parameters[1];this.widgets.forEach(a=>{a.settings.find(r=>r[0]==="MARGIN"||r[0]==="RAW"&&r[1].toUpperCase().includes("MARGIN"))===void 0&&a.settings.push(["MARGIN",n])})}}};function v(n,a,r,w,R,j){return s(),i("div",{ref:"container",style:o(n.computedStyle),class:"overflow-y-auto"},[(s(!0),i(u,null,m(n.widgets,(t,h)=>(s(),g(p(t.type),f({ref_for:!0},n.listeners,{key:h,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))],4)}const B=y("default",d(e,[["render",v]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./VWidget-CGdM4sTw-cc1a51984ca0616889a0.js","vue","./main-ffc696a58eef5895606b.js","./Widget-C7ms_xDE-588badd8b9b27625a3ac.js","vue-router","single-spa","vuex","vuetify"],function(p,g){"use strict";var r,s,a,l,n,i,c,o,u;return{setters:[t=>{r=t.L},t=>{s=t.resolveComponent,a=t.openBlock,l=t.createBlock,n=t.normalizeStyle,i=t.withCtx,c=t.createTextVNode,o=t.toDisplayString},t=>{u=t.s},null,null,null,null,null],execute:function(){const t={mixins:[r],props:{value:{default:null}},data:function(){return{item:null,oneBar:30,twoBar:60,threeBar:90}},computed:{displayedIcon:function(){let e="mdi-signal-cellular-outline";return this._value>=this.oneBar&&(e="mdi-signal-cellular-1"),this._value>=this.twoBar&&(e="mdi-signal-cellular-2"),this._value>=this.threeBar&&(e="mdi-signal-cellular-3"),e}},created(){this.appliedSettings.forEach(e=>{switch(e[0].toUpperCase()){case"SCREEN":this.screenTarget=e[1],this.screenName=e[2];break;case"VALUES":this.oneBar=parseFloat(e[1]),this.twoBar=parseFloat(e[2]),this.threeBar=parseFloat(e[3]);break}})},methods:{getType(){let e="CONVERTED";return this.parameters[3]=="RAW"&&(e="RAW"),e},clickHandler(){this.screenTarget&&this.screenName&&this.$emit("open",this.screenTarget,this.screenName)}}};function d(e,v,y,f,C,h){const m=s("v-icon");return a(),l(m,{onClick:h.clickHandler,style:n(e.computedStyle)},{default:i(()=>[c(o(h.displayedIcon),1)]),_:1},8,["onClick","style"])}const B=p("default",u(t,[["render",d]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-C7ms_xDE-588badd8b9b27625a3ac.js","vue","./main-ffc696a58eef5895606b.js","vue-router","single-spa","vuex","vuetify"],function(i,o){"use strict";var t,s,n,l,r;return{setters:[e=>{t=e.o},e=>{s=e.openBlock,n=e.createElementBlock,l=e.normalizeStyle},e=>{r=e.s},null,null,null,null],execute:function(){const e={mixins:[t],created(){this.settings.push(["WIDTH",this.parameters[0]]),this.settings.push(["HEIGHT",this.parameters[1]])}};function u(c,m,p,h,d,v){return s(),n("div",{style:l(c.computedStyle)},null,4)}const a=i("default",r(e,[["render",u]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./GraphWidget-BohHW-97-a4e8f2dfa3c093d4f9cf.js","./main-ffc696a58eef5895606b.js","vue","single-spa","./Widget-C7ms_xDE-588badd8b9b27625a3ac.js","vue-router","vuex","vuetify"],function(l,c){"use strict";var s,i,n,r,a,o,d;return{setters:[t=>{s=t.S,i=t._},t=>{n=t.s},t=>{r=t.resolveComponent,a=t.openBlock,o=t.createBlock,d=t.normalizeStyle},null,null,null,null,null],execute:function(){const t={components:{Graph:s},mixins:[i],data:function(){return{secondsGraphed:300,pointsSaved:300,pointsGraphed:300,size:{height:30,width:130}}}};function p(e,g,m,v,f,y){const h=r("graph");return a(),o(h,{ref:"graph"+e.id,id:e.id,state:e.state,"selected-graph-id":e.id,startTime:e.startTime,"seconds-graphed":e.secondsGraphed,"points-saved":e.pointsSaved,"points-graphed":e.pointsGraphed,"initial-items":e.items,height:e.size.height,width:e.size.width,style:d(e.computedStyle),sparkline:""},null,8,["id","state","selected-graph-id","startTime","seconds-graphed","points-saved","points-graphed","initial-items","height","width","style"])}const u=l("default",n(t,[["render",p]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Layout-D4YBjuWs-1a7b819d30421d06a03c.js","vue","./main-ffc696a58eef5895606b.js","./Widget-C7ms_xDE-588badd8b9b27625a3ac.js","vue-router","single-spa","vuex","vuetify"],function(k,D){"use strict";var p,s,r,l,g,v,i,u,c,o,y,f,w,b,V;return{setters:[e=>{p=e.r},e=>{s=e.resolveComponent,r=e.openBlock,l=e.createElementBlock,g=e.createVNode,v=e.normalizeStyle,i=e.withCtx,u=e.Fragment,c=e.renderList,o=e.createBlock,y=e.createTextVNode,f=e.toDisplayString,w=e.resolveDynamicComponent,b=e.mergeProps},e=>{V=e.s},null,null,null,null,null],execute:function(){const e={mixins:[p],data:function(){return{curTab:null}},watch:{curTab:function(){this.$emit("min-max-screen")}}};function x(t,m,z,h,j,L){const T=s("v-tab"),B=s("v-tabs"),C=s("v-window-item"),S=s("v-window");return r(),l("div",null,[g(B,{modelValue:t.curTab,"onUpdate:modelValue":m[0]||(m[0]=a=>t.curTab=a),style:v(t.computedStyle)},{default:i(()=>[(r(!0),l(u,null,c(t.widgets,(a,d)=>(r(),o(T,{key:d},{default:i(()=>[y(f(a.parameters[0]),1)]),_:2},1024))),128))]),_:1},8,["modelValue","style"]),g(S,{modelValue:t.curTab,"onUpdate:modelValue":m[1]||(m[1]=a=>t.curTab=a)},{default:i(()=>[(r(!0),l(u,null,c(t.widgets,(a,d)=>(r(),o(C,{key:d},{default:i(()=>[(r(!0),l(u,null,c(a.widgets,(n,_)=>(r(),o(w(n.type),b({ref_for:!0},t.listeners,{key:`${d}-${_}`,target:n.target,parameters:n.parameters,settings:n.settings,"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone,widgets:n.widgets,name:n.name,line:n.line,"line-number":n.lineNumber}),null,16,["target","parameters","settings","screen-values","screen-time-zone","widgets","name","line","line-number"]))),128))]),_:2},1024))),128))]),_:1},8,["modelValue"])])}const N=k("default",V(e,[["render",x]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./main-ffc696a58eef5895606b.js","vue","./DetailsDialog-DiVcC3Fg-e0e4821224ef47232595.js","single-spa","./VWidget-CGdM4sTw-cc1a51984ca0616889a0.js","vue-router","vuex","vuetify","./Widget-C7ms_xDE-588badd8b9b27625a3ac.js"],function(f,E){"use strict";var c,a,l,o,n,u,d,s,m,h,g,p,v,x,w,C;return{setters:[e=>{c=e.s},e=>{a=e.resolveComponent,l=e.openBlock,o=e.createElementBlock,n=e.createVNode,u=e.normalizeClass,d=e.normalizeStyle,s=e.withCtx,m=e.Fragment,h=e.renderList,g=e.createBlock,p=e.withModifiers,v=e.createTextVNode,x=e.toDisplayString},e=>{w=e.P},null,e=>{C=e.L},null,null,null,null],execute:function(){const e={components:{DetailsDialog:w},data:function(){return{width:200,height:200}},mixins:[C],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)},methods:{getType:function(){let t="CONVERTED";return this.parameters[5]&&(t=this.parameters[5]),t}}},y={class:"textbox-widget-container"};function V(t,r,L,j,F,k){const D=a("v-textarea"),S=a("v-list-item-title"),_=a("v-list-item"),B=a("v-list"),M=a("v-menu"),T=a("details-dialog");return l(),o("div",y,[n(D,{variant:"solo",density:"compact",readonly:"","no-resize":"","auto-grow":"",rows:"2","hide-details":"","model-value":t._value,class:u(t.valueClass),style:d([t.computedStyle,k.aging]),"data-test":"valueText",onContextmenu:t.showContextMenu},null,8,["model-value","class","style","onContextmenu"]),n(M,{modelValue:t.contextMenuShown,"onUpdate:modelValue":r[0]||(r[0]=i=>t.contextMenuShown=i),target:[t.x,t.y]},{default:s(()=>[n(B,null,{default:s(()=>[(l(!0),o(m,null,h(t.contextMenuOptions,(i,z)=>(l(),g(_,{key:z,onClick:p(i.action,["stop"])},{default:s(()=>[n(S,null,{default:s(()=>[v(x(i.title),1)]),_:2},1024)]),_:2},1032,["onClick"]))),128))]),_:1})]),_:1},8,["modelValue","target"]),n(T,{"target-name":t.parameters[0],"packet-name":t.parameters[1],"item-name":t.parameters[2],modelValue:t.viewDetails,"onUpdate:modelValue":r[1]||(r[1]=i=>t.viewDetails=i)},null,8,["target-name","packet-name","item-name","modelValue"])])}const N=f("default",c(e,[["render",V],["__scopeId","data-v-10f560aa"]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-C7ms_xDE-588badd8b9b27625a3ac.js","vue","./main-ffc696a58eef5895606b.js","vue-router","single-spa","vuex","vuetify"],function(i,h){"use strict";var t,l,n,s,a,o;return{setters:[e=>{t=e.o},e=>{l=e.resolveComponent,n=e.openBlock,s=e.createBlock,a=e.normalizeStyle},e=>{o=e.s},null,null,null,null],execute:function(){const e={mixins:[t],data(){return{value:null}},created(){this.setWidth(this.parameters[0],"ch",12),this.parameters[1]&&(this.value=this.parameters[1])},methods:{text(){return this.value}}};function c(d,r,y,f,u,x){const m=l("v-text-field");return n(),s(m,{variant:"solo",density:"compact","single-line":"","hide-no-data":"","hide-details":"",modelValue:u.value,"onUpdate:modelValue":r[0]||(r[0]=v=>u.value=v),style:a(d.computedStyle)},null,8,["modelValue","style"])}const p=i("default",o(e,[["render",c]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-C7ms_xDE-588badd8b9b27625a3ac.js","./main-ffc696a58eef5895606b.js","vue","vue-router","single-spa","vuex","vuetify"],function(m,y){"use strict";var l,i,n,s,a,r,o;return{setters:[e=>{l=e.o},e=>{i=e.s,n=e.P},e=>{s=e.resolveComponent,a=e.openBlock,r=e.createBlock,o=e.normalizeStyle},null,null,null,null],execute:function(){const e={mixins:[l,n],data(){return{label:"Time",timeValue:""}},created(){this.parameters[0]&&(this.label=this.parameters[0]),this.timeValue=this.formatTimeHMS(new Date,this.screenTimeZone)},methods:{text(){return this.timeValue},time(){return this.timeValue}}};function c(d,u,f,v,t,x){const h=s("v-text-field");return a(),r(h,{modelValue:t.timeValue,"onUpdate:modelValue":u[0]||(u[0]=p=>t.timeValue=p),label:t.label,style:o(d.computedStyle),type:"time","hide-details":""},null,8,["modelValue","label","style"])}const V=m("default",i(e,[["render",c]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-C7ms_xDE-588badd8b9b27625a3ac.js","vue","./main-ffc696a58eef5895606b.js","vue-router","single-spa","vuex","vuetify"],function(o,m){"use strict";var t,r,n,l,s,a;return{setters:[e=>{t=e.o},e=>{r=e.openBlock,n=e.createElementBlock,l=e.normalizeStyle,s=e.toDisplayString},e=>{a=e.s},null,null,null,null],execute:function(){const e={mixins:[t],computed:{labelText(){return this.parameters[0]}},created(){if(this.parameters.length<1)throw new Error("Not enough parameters for TITLE.")}};function i(c,x,f,y,g,u){return r(),n("span",{class:"text-h5 text-center pa-1 mt-1 label",style:l(c.computedStyle)},s(u.labelText),5)}const p=o("default",a(e,[["render",i]]))}}});
@@ -1 +1 @@
1
- System.register(["./main-e67fa93ee8ee2348fa86.js","./Widget-orNSvnOh-c2a94ca25551f743ceef.js"],function(S,T){"use strict";var _,w;return{setters:[h=>{_=h.a},h=>{w=h.o}],execute:function(){var h={},b;function x(){return b||(b=1,function(t){(function(){var s={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function c(n){return V(E(n),arguments)}function I(n,u){return c.apply(null,[n].concat(u||[]))}function V(n,u){var i=1,p=n.length,e,o="",l,a,r,m,g,y,v,d;for(l=0;l<p;l++)if(typeof n[l]=="string")o+=n[l];else if(typeof n[l]=="object"){if(r=n[l],r.keys)for(e=u[i],a=0;a<r.keys.length;a++){if(e==null)throw new Error(c('[sprintf] Cannot access property "%s" of undefined value "%s"',r.keys[a],r.keys[a-1]));e=e[r.keys[a]]}else r.param_no?e=u[r.param_no]:e=u[i++];if(s.not_type.test(r.type)&&s.not_primitive.test(r.type)&&e instanceof Function&&(e=e()),s.numeric_arg.test(r.type)&&typeof e!="number"&&isNaN(e))throw new TypeError(c("[sprintf] expecting number but found %T",e));switch(s.number.test(r.type)&&(v=e>=0),r.type){case"b":e=parseInt(e,10).toString(2);break;case"c":e=String.fromCharCode(parseInt(e,10));break;case"d":case"i":e=parseInt(e,10);break;case"j":e=JSON.stringify(e,null,r.width?parseInt(r.width):0);break;case"e":e=r.precision?parseFloat(e).toExponential(r.precision):parseFloat(e).toExponential();break;case"f":e=r.precision?parseFloat(e).toFixed(r.precision):parseFloat(e);break;case"g":e=r.precision?String(Number(e.toPrecision(r.precision))):parseFloat(e);break;case"o":e=(parseInt(e,10)>>>0).toString(8);break;case"s":e=String(e),e=r.precision?e.substring(0,r.precision):e;break;case"t":e=String(!!e),e=r.precision?e.substring(0,r.precision):e;break;case"T":e=Object.prototype.toString.call(e).slice(8,-1).toLowerCase(),e=r.precision?e.substring(0,r.precision):e;break;case"u":e=parseInt(e,10)>>>0;break;case"v":e=e.valueOf(),e=r.precision?e.substring(0,r.precision):e;break;case"x":e=(parseInt(e,10)>>>0).toString(16);break;case"X":e=(parseInt(e,10)>>>0).toString(16).toUpperCase();break}s.json.test(r.type)?o+=e:(s.number.test(r.type)&&(!v||r.sign)?(d=v?"+":"-",e=e.toString().replace(s.sign,"")):d="",g=r.pad_char?r.pad_char==="0"?"0":r.pad_char.charAt(1):" ",y=r.width-(d+e).length,m=r.width&&y>0?g.repeat(y):"",o+=r.align?d+e+m:g==="0"?d+m+e:m+d+e)}return o}var f=Object.create(null);function E(n){if(f[n])return f[n];for(var u=n,i,p=[],e=0;u;){if((i=s.text.exec(u))!==null)p.push(i[0]);else if((i=s.modulo.exec(u))!==null)p.push("%");else if((i=s.placeholder.exec(u))!==null){if(i[2]){e|=1;var o=[],l=i[2],a=[];if((a=s.key.exec(l))!==null)for(o.push(a[1]);(l=l.substring(a[0].length))!=="";)if((a=s.key_access.exec(l))!==null)o.push(a[1]);else if((a=s.index_access.exec(l))!==null)o.push(a[1]);else throw new SyntaxError("[sprintf] failed to parse named argument key");else throw new SyntaxError("[sprintf] failed to parse named argument key");i[2]=o}else e|=2;if(e===3)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");p.push({placeholder:i[0],param_no:i[1],keys:i[2],sign:i[3],pad_char:i[4],align:i[5],width:i[6],precision:i[7],type:i[8]})}else throw new SyntaxError("[sprintf] unexpected placeholder");u=u.substring(i[0].length)}return f[n]=p}t.sprintf=c,t.vsprintf=I,typeof window<"u"&&(window.sprintf=c,window.vsprintf=I)})()}(h)),h}x();const k={methods:{formatValueBase(t,s){return this.isJsonString(t)?this.formatJsonString(t):Array.isArray(t)?this.formatArray(t):this.isObject(t)?"":s&&t?sprintf(s,t):String(t)},isJsonString(t){return t&&t.json_class==="String"&&t.raw!==void 0},formatJsonString(t){let s=Array.from(t.raw.slice(0,32),c=>("0"+(c&255).toString(16)).slice(-2)).join(" ").toUpperCase();return t.raw.length>32&&(s+="..."),s},formatArray(t){return"["+t.map(s=>typeof s=="string"?`"${s}"`:s).join(", ")+"]"},isObject(t){return Object.prototype.toString.call(t).slice(8,-1)==="Object"}}},L=S("L",{mixins:[w,_,k],props:{value:{default:null},limitsState:{type:String,default:null},counter:{default:null},formatString:null,timeZone:{type:String,default:"local"}},emits:["addItem","deleteItem","open"],data(){return{appliedTimeZone:"local",curValue:null,prevValue:null,grayLevel:80,grayRate:5,valueId:null,arrayIndex:null,viewDetails:!1,contextMenuShown:!1,x:0,y:0,contextMenuOptions:[{title:"Details",action:()=>{this.contextMenuShown=!1,this.viewDetails=!0}},{title:"Graph",action:()=>{window.open("/tools/tlmgrapher/"+encodeURIComponent(this.parameters[0])+"/"+encodeURIComponent(this.parameters[1])+"/"+encodeURIComponent(this.parameters[2]),"_blank")}}]}},watch:{_counter:function(t,s){this.curValue!==this.prevValue?this.grayLevel=80:(this.grayLevel-=this.grayRate,this.grayLevel<30&&(this.grayLevel=30)),this.prevValue=this.curValue}},computed:{_value:function(){return this.curValue=this.value,this.curValue===null&&(this.screenValues?this.screenValues[this.valueId]&&(this.arrayIndex!==null&&this.screenValues[this.valueId][0]?this.curValue=this.screenValues[this.valueId][0][this.arrayIndex]:this.curValue=this.screenValues[this.valueId][0]):this.curValue=null),this.curValue=this.formatValue(this.curValue),this.curValue},_limitsState:function(){let t=this.limitsState;return t===null&&(this.screenValues?this.screenValues[this.valueId]&&(t=this.screenValues[this.valueId][1]):t=null),t},_counter:function(){let t=this.counter;return t===null&&(this.screenValues?this.screenValues[this.valueId]&&(t=this.screenValues[this.valueId][2]):t=null),t},valueClass:function(){return"value shrink pa-1 openc3-"+this.limitsColor},astroStatus(){switch(this.limitsColor){case"green":return"normal";case"yellow":return"caution";case"red":return"critical";case"blue":return"standby";default:return null}},limitsColor(){let t=this._limitsState;if(t!=null)switch(t){case"GREEN":case"GREEN_HIGH":case"GREEN_LOW":return"green";case"YELLOW":case"YELLOW_HIGH":case"YELLOW_LOW":return"yellow";case"RED":case"RED_HIGH":case"RED_LOW":return"red";case"BLUE":return"blue";case"STALE":return"purple";default:return"white"}return""},limitsLetter(){let t=this._limitsState;if(t!=null){let s=t.charAt(0);return t.endsWith("_LOW")&&(s=s.toLowerCase()),s}return""}},created(){if(this.value===null||this.limitsState===null){if(this.parameters[2].includes("[["))this.parameters[2]=this.parameters[2].replace("[[","[").replace("]]","]");else if(this.parameters[2].includes("[")){let t=this.parameters[2].match(/\[(\d+)\]/);this.arrayIndex=parseInt(t[1]),this.parameters[2]=this.parameters[2].replace(t[0],"")}this.valueId=`${this.parameters[0]}__${this.parameters[1]}__${this.parameters[2]}__${this.getType()}`,this.$emit("addItem",this.valueId),this.screenTimeZone?this.appliedTimeZone=this.screenTimeZone:this.appliedTimeZone=this.timeZone}},destroyed(){(this.value===null||this.limitsState===null)&&this.$emit("deleteItem",this.valueId)},methods:{getType(){let t="WITH_UNITS";return this.parameters[3]&&(t=this.parameters[3]),t},formatValue(t){return t&&this.valueId&&(this.valueId.includes("PACKET_TIMEFORMATTED")||this.valueId.includes("RECEIVED_TIMEFORMATTED"))?(t=t.replaceAll("/","-"),this.formatUtcToLocal(new Date(t),this.appliedTimeZone)):this.formatValueBase(t,this.formatString)},showContextMenu(t){t.preventDefault(),this.contextMenuShown=!1,this.x=t.clientX,this.y=t.clientY,this.$nextTick(()=>{this.contextMenuShown=!0})}}})}}});
1
+ System.register(["./main-ffc696a58eef5895606b.js","./Widget-C7ms_xDE-588badd8b9b27625a3ac.js"],function(S,T){"use strict";var v,w;return{setters:[h=>{v=h.P},h=>{w=h.o}],execute:function(){var h={},b;function x(){return b||(b=1,function(t){(function(){var s={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function c(n){return E(V(n),arguments)}function I(n,u){return c.apply(null,[n].concat(u||[]))}function E(n,u){var i=1,p=n.length,e,o="",l,a,r,m,g,y,_,d;for(l=0;l<p;l++)if(typeof n[l]=="string")o+=n[l];else if(typeof n[l]=="object"){if(r=n[l],r.keys)for(e=u[i],a=0;a<r.keys.length;a++){if(e==null)throw new Error(c('[sprintf] Cannot access property "%s" of undefined value "%s"',r.keys[a],r.keys[a-1]));e=e[r.keys[a]]}else r.param_no?e=u[r.param_no]:e=u[i++];if(s.not_type.test(r.type)&&s.not_primitive.test(r.type)&&e instanceof Function&&(e=e()),s.numeric_arg.test(r.type)&&typeof e!="number"&&isNaN(e))throw new TypeError(c("[sprintf] expecting number but found %T",e));switch(s.number.test(r.type)&&(_=e>=0),r.type){case"b":e=parseInt(e,10).toString(2);break;case"c":e=String.fromCharCode(parseInt(e,10));break;case"d":case"i":e=parseInt(e,10);break;case"j":e=JSON.stringify(e,null,r.width?parseInt(r.width):0);break;case"e":e=r.precision?parseFloat(e).toExponential(r.precision):parseFloat(e).toExponential();break;case"f":e=r.precision?parseFloat(e).toFixed(r.precision):parseFloat(e);break;case"g":e=r.precision?String(Number(e.toPrecision(r.precision))):parseFloat(e);break;case"o":e=(parseInt(e,10)>>>0).toString(8);break;case"s":e=String(e),e=r.precision?e.substring(0,r.precision):e;break;case"t":e=String(!!e),e=r.precision?e.substring(0,r.precision):e;break;case"T":e=Object.prototype.toString.call(e).slice(8,-1).toLowerCase(),e=r.precision?e.substring(0,r.precision):e;break;case"u":e=parseInt(e,10)>>>0;break;case"v":e=e.valueOf(),e=r.precision?e.substring(0,r.precision):e;break;case"x":e=(parseInt(e,10)>>>0).toString(16);break;case"X":e=(parseInt(e,10)>>>0).toString(16).toUpperCase();break}s.json.test(r.type)?o+=e:(s.number.test(r.type)&&(!_||r.sign)?(d=_?"+":"-",e=e.toString().replace(s.sign,"")):d="",g=r.pad_char?r.pad_char==="0"?"0":r.pad_char.charAt(1):" ",y=r.width-(d+e).length,m=r.width&&y>0?g.repeat(y):"",o+=r.align?d+e+m:g==="0"?d+m+e:m+d+e)}return o}var f=Object.create(null);function V(n){if(f[n])return f[n];for(var u=n,i,p=[],e=0;u;){if((i=s.text.exec(u))!==null)p.push(i[0]);else if((i=s.modulo.exec(u))!==null)p.push("%");else if((i=s.placeholder.exec(u))!==null){if(i[2]){e|=1;var o=[],l=i[2],a=[];if((a=s.key.exec(l))!==null)for(o.push(a[1]);(l=l.substring(a[0].length))!=="";)if((a=s.key_access.exec(l))!==null)o.push(a[1]);else if((a=s.index_access.exec(l))!==null)o.push(a[1]);else throw new SyntaxError("[sprintf] failed to parse named argument key");else throw new SyntaxError("[sprintf] failed to parse named argument key");i[2]=o}else e|=2;if(e===3)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");p.push({placeholder:i[0],param_no:i[1],keys:i[2],sign:i[3],pad_char:i[4],align:i[5],width:i[6],precision:i[7],type:i[8]})}else throw new SyntaxError("[sprintf] unexpected placeholder");u=u.substring(i[0].length)}return f[n]=p}t.sprintf=c,t.vsprintf=I,typeof window<"u"&&(window.sprintf=c,window.vsprintf=I)})()}(h)),h}x();const k={methods:{formatValueBase(t,s){return this.isJsonString(t)?this.formatJsonString(t):Array.isArray(t)?this.formatArray(t):this.isObject(t)?"":s&&t?sprintf(s,t):String(t)},isJsonString(t){return t&&t.json_class==="String"&&t.raw!==void 0},formatJsonString(t){let s=Array.from(t.raw.slice(0,32),c=>("0"+(c&255).toString(16)).slice(-2)).join(" ").toUpperCase();return t.raw.length>32&&(s+="..."),s},formatArray(t){return"["+t.map(s=>typeof s=="string"?`"${s}"`:s).join(", ")+"]"},isObject(t){return Object.prototype.toString.call(t).slice(8,-1)==="Object"}}},L=S("L",{mixins:[w,v,k],props:{value:{default:null},limitsState:{type:String,default:null},counter:{default:null},formatString:null,timeZone:{type:String,default:"local"}},emits:["addItem","deleteItem","open"],data(){return{appliedTimeZone:"local",curValue:null,prevValue:null,grayLevel:80,grayRate:5,valueId:null,arrayIndex:null,viewDetails:!1,contextMenuShown:!1,x:0,y:0,contextMenuOptions:[{title:"Details",action:()=>{this.contextMenuShown=!1,this.viewDetails=!0}},{title:"Graph",action:()=>{window.open("/tools/tlmgrapher/"+encodeURIComponent(this.parameters[0])+"/"+encodeURIComponent(this.parameters[1])+"/"+encodeURIComponent(this.parameters[2]),"_blank")}}]}},watch:{_counter:function(t,s){this.curValue!==this.prevValue?this.grayLevel=80:(this.grayLevel-=this.grayRate,this.grayLevel<30&&(this.grayLevel=30)),this.prevValue=this.curValue}},computed:{_value:function(){return this.curValue=this.value,this.curValue===null&&(this.screenValues?this.screenValues[this.valueId]&&(this.arrayIndex!==null&&this.screenValues[this.valueId][0]?this.curValue=this.screenValues[this.valueId][0][this.arrayIndex]:this.curValue=this.screenValues[this.valueId][0]):this.curValue=null),this.curValue=this.formatValue(this.curValue),this.curValue},_limitsState:function(){let t=this.limitsState;return t===null&&(this.screenValues?this.screenValues[this.valueId]&&(t=this.screenValues[this.valueId][1]):t=null),t},_counter:function(){let t=this.counter;return t===null&&(this.screenValues?this.screenValues[this.valueId]&&(t=this.screenValues[this.valueId][2]):t=null),t},valueClass:function(){return"value shrink pa-1 openc3-"+this.limitsColor},astroStatus(){switch(this.limitsColor){case"green":return"normal";case"yellow":return"caution";case"red":return"critical";case"blue":return"standby";default:return null}},limitsColor(){let t=this._limitsState;if(t!=null)switch(t){case"GREEN":case"GREEN_HIGH":case"GREEN_LOW":return"green";case"YELLOW":case"YELLOW_HIGH":case"YELLOW_LOW":return"yellow";case"RED":case"RED_HIGH":case"RED_LOW":return"red";case"BLUE":return"blue";case"STALE":return"purple";default:return"white"}return""},limitsLetter(){let t=this._limitsState;if(t!=null){let s=t.charAt(0);return t.endsWith("_LOW")&&(s=s.toLowerCase()),s}return""}},created(){if(this.value===null||this.limitsState===null){if(this.parameters[2].includes("[["))this.parameters[2]=this.parameters[2].replace("[[","[").replace("]]","]");else if(this.parameters[2].includes("[")){let t=this.parameters[2].match(/\[(\d+)\]/);this.arrayIndex=parseInt(t[1]),this.parameters[2]=this.parameters[2].replace(t[0],"")}this.valueId=`${this.parameters[0]}__${this.parameters[1]}__${this.parameters[2]}__${this.getType()}`,this.$emit("addItem",this.valueId),this.screenTimeZone?this.appliedTimeZone=this.screenTimeZone:this.appliedTimeZone=this.timeZone}},destroyed(){(this.value===null||this.limitsState===null)&&this.$emit("deleteItem",this.valueId)},methods:{getType(){let t="WITH_UNITS";return this.parameters[3]&&(t=this.parameters[3]),t},formatValue(t){return t&&this.valueId&&(this.valueId.includes("PACKET_TIMEFORMATTED")||this.valueId.includes("RECEIVED_TIMEFORMATTED"))?(t=t.replaceAll("/","-"),this.formatUtcToLocal(new Date(t),this.appliedTimeZone)):this.formatValueBase(t,this.formatString)},showContextMenu(t){t.preventDefault(),this.contextMenuShown=!1,this.x=t.clientX,this.y=t.clientY,this.$nextTick(()=>{this.contextMenuShown=!0})}}})}}});
@@ -0,0 +1 @@
1
+ System.register(["./main-ffc696a58eef5895606b.js","vue","./DetailsDialog-DiVcC3Fg-e0e4821224ef47232595.js","single-spa","./VWidget-CGdM4sTw-cc1a51984ca0616889a0.js","vue-router","vuex","vuetify","./Widget-C7ms_xDE-588badd8b9b27625a3ac.js"],function(k,U){"use strict";var c,a,r,o,d,n,s,m,p,v,u,g,f,h,x,y,V,C;return{setters:[e=>{c=e.s},e=>{a=e.resolveComponent,r=e.openBlock,o=e.createElementBlock,d=e.normalizeStyle,n=e.createVNode,s=e.withCtx,m=e.mergeProps,p=e.createSlots,v=e.createElementVNode,u=e.toDisplayString,g=e.Fragment,f=e.renderList,h=e.createBlock,x=e.withModifiers,y=e.createTextVNode},e=>{V=e.P},null,e=>{C=e.L},null,null,null,null],execute:function(){const S={components:{DetailsDialog:V},mixins:[C],data:function(){return{width:16}},computed:{fullName(){return this.parameters[0]+" "+this.parameters[1]+" "+this.parameters[2]},aging(){return{"--aging":this.grayLevel}}},created(){this.verifyNumParams("VALUE",3,5,"VALUE <TARGET> <PACKET> <ITEM> <TYPE> <WIDTH>"),this.setWidth(parseInt(this.parameters[4])+4,"ch",this.width)}};function D(t,i,j,I,z,w){const E=a("rux-status"),_=a("v-text-field"),N=a("v-tooltip"),T=a("v-list-item-title"),L=a("v-list-item"),M=a("v-list"),B=a("v-menu"),P=a("details-dialog");return r(),o("div",{class:"value-widget-container",style:d([t.computedStyle,w.aging])},[n(N,{location:"top"},{activator:s(({props:l})=>[n(_,m({variant:"solo",density:"compact",flat:"",readonly:"","hide-details":"","model-value":t._value,class:t.valueClass,"data-test":"value",onContextmenu:t.showContextMenu},l),p({_:2},[t.astroStatus?{name:"prepend-inner",fn:s(()=>[n(E,{status:t.astroStatus},null,8,["status"])]),key:"0"}:void 0]),1040,["model-value","class","onContextmenu"])]),default:s(()=>[v("span",null,u(w.fullName),1)]),_:1}),n(B,{modelValue:t.contextMenuShown,"onUpdate:modelValue":i[0]||(i[0]=l=>t.contextMenuShown=l),target:[t.x,t.y],style:{"z-index":"3000"}},{default:s(()=>[n(M,null,{default:s(()=>[(r(!0),o(g,null,f(t.contextMenuOptions,(l,A)=>(r(),h(L,{key:A,onClick:x(l.action,["stop"])},{default:s(()=>[n(T,null,{default:s(()=>[y(u(l.title),1)]),_:2},1024)]),_:2},1032,["onClick"]))),128))]),_:1})]),_:1},8,["modelValue","target"]),n(P,{"target-name":t.parameters[0],"packet-name":t.parameters[1],"item-name":t.parameters[2],modelValue:t.viewDetails,"onUpdate:modelValue":i[1]||(i[1]=l=>t.viewDetails=l)},null,8,["target-name","packet-name","item-name","modelValue"])],4)}const W=k("default",c(S,[["render",D],["__scopeId","data-v-c21e4dde"]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./ValueWidget-h3905woQ-c49a0680229e3848bdfe.js","./LimitsbarWidget-D-wfz_St-f0d2a65da1fe1eba698f.js","./Widget-C7ms_xDE-588badd8b9b27625a3ac.js","vue","./main-ffc696a58eef5895606b.js","./DetailsDialog-DiVcC3Fg-e0e4821224ef47232595.js","single-spa","./VWidget-CGdM4sTw-cc1a51984ca0616889a0.js","vue-router","vuex","vuetify","./BarColumn-B6tCmNJm-bddec99a6c4f86df0493.js"],function(g,f){"use strict";var l,i,a,s,o,u,c,n,r,m;return{setters:[e=>{l=e.default},e=>{i=e.default},e=>{a=e.o},e=>{s=e.resolveComponent,o=e.openBlock,u=e.createElementBlock,c=e.normalizeStyle,n=e.createVNode,r=e.mergeProps},e=>{m=e.s},null,null,null,null,null,null,null],execute:function(){const e={mixins:[a],components:{ValueWidget:l,LimitsbarWidget:i}};function d(t,x,V,b,j,C){const p=s("value-widget"),v=s("limitsbar-widget");return o(),u("div",{ref:"container",class:"d-flex flex-row",style:c(t.computedStyle)},[n(p,r(t.$attrs,{parameters:t.parameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone,"widget-index":0}),null,16,["parameters","settings","screen-values","screen-time-zone"]),n(v,r(t.$attrs,{parameters:t.parameters.slice(0,3),settings:[...t.appliedSettings],"screen-values":t.screenValues,"widget-index":1,line:t.line,lineNumber:t.lineNumber}),null,16,["parameters","settings","screen-values","line","lineNumber"])],4)}const w=g("default",m(e,[["render",d]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./ValueWidget-h3905woQ-c49a0680229e3848bdfe.js","./LimitscolumnWidget-Dt5ce4hN-5bcb5552c62ff449a030.js","./Widget-C7ms_xDE-588badd8b9b27625a3ac.js","vue","./main-ffc696a58eef5895606b.js","./DetailsDialog-DiVcC3Fg-e0e4821224ef47232595.js","single-spa","./VWidget-CGdM4sTw-cc1a51984ca0616889a0.js","vue-router","vuex","vuetify","./BarColumn-B6tCmNJm-bddec99a6c4f86df0493.js"],function(g,f){"use strict";var r,i,a,n,u,o,c,s,l,m;return{setters:[e=>{r=e.default},e=>{i=e.default},e=>{a=e.o},e=>{n=e.resolveComponent,u=e.openBlock,o=e.createElementBlock,c=e.normalizeStyle,s=e.createVNode,l=e.mergeProps},e=>{m=e.s},null,null,null,null,null,null,null],execute:function(){const e={mixins:[a],components:{ValueWidget:r,LimitscolumnWidget:i}};function d(t,w,j,C,N,x){const p=n("limitscolumn-widget"),v=n("value-widget");return u(),o("div",{ref:"container",style:c(t.computedStyle)},[s(p,l(t.$attrs,{parameters:t.parameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"widget-index":1,line:t.line,lineNumber:t.lineNumber}),null,16,["parameters","settings","screen-values","line","lineNumber"]),s(v,l(t.$attrs,{parameters:t.parameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone,"widget-index":0}),null,16,["parameters","settings","screen-values","screen-time-zone"])],4)}const V=g("default",m(e,[["render",d]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./ValueWidget-h3905woQ-c49a0680229e3848bdfe.js","./RangebarWidget-DbYrwEfC-6f337baf7318ecb28cf8.js","./Widget-C7ms_xDE-588badd8b9b27625a3ac.js","vue","./main-ffc696a58eef5895606b.js","./DetailsDialog-DiVcC3Fg-e0e4821224ef47232595.js","single-spa","./VWidget-CGdM4sTw-cc1a51984ca0616889a0.js","vue-router","vuex","vuetify"],function(g,f){"use strict";var n,i,l,r,m,u,o,s,a,c;return{setters:[e=>{n=e.default},e=>{i=e.default},e=>{l=e.o},e=>{r=e.resolveComponent,m=e.openBlock,u=e.createElementBlock,o=e.normalizeStyle,s=e.createVNode,a=e.mergeProps},e=>{c=e.s},null,null,null,null,null,null],execute:function(){const e={mixins:[l],components:{ValueWidget:n,RangebarWidget:i},computed:{valueParameters(){return[this.parameters[0],this.parameters[1],this.parameters[2],this.parameters[5],this.parameters[6]]},rangeBarParameters(){return[this.parameters[0],this.parameters[1],this.parameters[2],this.parameters[3],this.parameters[4],this.parameters[5],this.parameters[7],this.parameters[8]]}}};function d(t,x,V,S,j,p){const v=r("value-widget"),h=r("rangebar-widget");return m(),u("div",{ref:"container",class:"d-flex flex-row",style:o(t.computedStyle)},[s(v,a(t.$attrs,{parameters:p.valueParameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone,"widget-index":0}),null,16,["parameters","settings","screen-values","screen-time-zone"]),s(h,a(t.$attrs,{parameters:p.rangeBarParameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"widget-index":1}),null,16,["parameters","settings","screen-values"])],4)}const w=g("default",c(e,[["render",d]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Layout-D4YBjuWs-1a7b819d30421d06a03c.js","vue","./main-ffc696a58eef5895606b.js","./Widget-C7ms_xDE-588badd8b9b27625a3ac.js","vue-router","single-spa","vuex","vuetify"],function(y,k){"use strict";var l,r,i,c,o,u,m,g,p,f;return{setters:[e=>{l=e.r},e=>{r=e.openBlock,i=e.createElementBlock,c=e.normalizeStyle,o=e.Fragment,u=e.renderList,m=e.createBlock,g=e.resolveDynamicComponent,p=e.mergeProps},e=>{f=e.s},null,null,null,null,null],execute:function(){const e={mixins:[l],created:function(){if(this.parameters[0]){let n=this.parameters[0];this.widgets.forEach(a=>{a.settings.find(s=>s[0]==="MARGIN"||s[0]==="RAW"&&s[1].toUpperCase().includes("MARGIN"))===void 0&&a.settings.push(["MARGIN",n])})}}};function d(n,a,s,h,w,R){return r(),i("div",{ref:"container",style:c(n.computedStyle)},[(r(!0),i(o,null,u(n.widgets,(t,v)=>(r(),m(g(t.type),p({ref_for:!0},n.listeners,{key:v,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))],4)}const B=y("default",f(e,[["render",d]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./VerticalWidget-DziyURNu-4e73e8c91650d314b5c1.js","./Layout-D4YBjuWs-1a7b819d30421d06a03c.js","vue","./main-ffc696a58eef5895606b.js","./Widget-C7ms_xDE-588badd8b9b27625a3ac.js","vue-router","single-spa","vuex","vuetify"],function(v,f){"use strict";var r,i,s,l,a,n,c,o,u,g,p,m;return{setters:[e=>{r=e.default},e=>{i=e.r},e=>{s=e.resolveComponent,l=e.openBlock,a=e.createElementBlock,n=e.createVNode,c=e.normalizeStyle,o=e.withCtx,u=e.createTextVNode,g=e.toDisplayString,p=e.mergeProps},e=>{m=e.s},null,null,null,null,null],execute:function(){const e={mixins:[i],components:{VerticalWidget:r}};function d(t,w,S,_,j,k){const y=s("v-banner"),x=s("vertical-widget");return l(),a("div",null,[n(y,{class:"boxbanner",style:c(t.computedStyle),"single-line":""},{default:o(()=>[u(g(t.parameters[0]),1)]),_:1},8,["style"]),n(x,p(t.listeners,{parameters:t.parameters.slice(1),settings:t.settings,widgets:t.widgets,"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone}),null,16,["parameters","settings","widgets","screen-values","screen-time-zone"])])}const V=v("default",m(e,[["render",d],["__scopeId","data-v-832aa5cd"]]))}}});
@@ -1 +1 @@
1
- System.register(["./main-e67fa93ee8ee2348fa86.js"],function(o,d){"use strict";var p,r;return{setters:[n=>{p=n.z,r=n.b}],execute:function(){const n=o("o",{mixins:[p],props:{widgetIndex:{type:Number,default:null},parameters:{type:Array,default:()=>[]},settings:{type:Array,default:()=>[]},screenValues:{type:Object,default:()=>{}},screenTimeZone:{type:String,default:"local"},namedWidgets:{type:Object,default:{}},line:{type:String,default:""},lineNumber:{type:Number,default:0}},data(){return{appliedSettings:[],appliedStyle:{},widgetName:null,screenId:"NO_SCREEN"}},computed:{computedStyle:function(){return this.appliedSettings.forEach(t=>{this.applyStyleSetting(t)}),this.appliedStyle.width===void 0&&this.appliedStyle.height===void 0&&(this.appliedStyle.flex="0 10 100%"),this.appliedStyle},screen:function(){const t=this;return{getNamedWidget:function(e){return t.$store.getters.namedWidget(t.toQualifiedWidgetName(e))},open:function(e,i){t.$emit("open",e,i)},close:function(e,i){t.$emit("close",e,i)},closeAll:function(){t.$emit("closeAll")}}},listeners:function(){return Object.entries(this.$attrs).reduce((t,e)=>e[0].startsWith("on")?{...t,[e[0]]:e[1]}:t,{})}},watch:{widgetName:function(t,e){this.$store.commit("clearNamedWidget",this.toQualifiedWidgetName(e)),this.$store.commit("setNamedWidget",{[this.toQualifiedWidgetName(t)]:this})}},created(){var t,e;this.screenId=(t=this.settings.find(i=>i[0]==="__SCREEN_ID__"))==null?void 0:t.at(1),this.widgetName=(e=this.settings.find(i=>i[0]==="NAMED_WIDGET"))==null?void 0:e.at(1),this.appliedSettings=this.settings.map(i=>{const s=parseInt(i[0]);if(isNaN(s)||this.widgetIndex===null)return i;if(this.widgetIndex===s)return i.slice(1)}).filter(i=>i!==void 0)},beforeUnmount(){this.widgetName&&this.$store.commit("clearNamedWidget",this.toQualifiedWidgetName(this.widgetName))},methods:{applyStyleSetting(t){switch(t[0]){case"TEXTALIGN":this.appliedStyle["text-align"]=t[1].toLowerCase()+" !important",this.appliedStyle["--text-align"]=t[1].toLowerCase();break;case"PADDING":isNaN(Number(t[1]))||(t[1]+="px"),this.appliedStyle.padding=t[1]+" !important";break;case"MARGIN":isNaN(Number(t[1]))||(t[1]+="px"),this.appliedStyle.margin=t[1]+" !important";break;case"BACKCOLOR":this.appliedStyle["background-color"]=this.getColor(t.slice(1))+" !important";break;case"TEXTCOLOR":this.appliedStyle.color=this.getColor(t.slice(1))+" !important";break;case"BORDERCOLOR":this.appliedStyle["border-width"]="1px!important",this.appliedStyle["border-style"]="solid!important",this.appliedStyle["border-color"]=this.getColor(t.slice(1))+" !important";break;case"WIDTH":isNaN(Number(t[1]))||(t[1]+="px"),this.appliedStyle.width=t[1]+" !important";break;case"HEIGHT":isNaN(Number(t[1]))||(t[1]+="px"),this.appliedStyle.height=t[1]+" !important";break;case"RAW":this.appliedStyle[t[1].toLowerCase()]=t[2]+" !important";break}},verifyNumParams(t,e,i,s=""){let a={line:this.line,lineNumber:this.lineNumber,keyword:t,parameters:this.parameters};for(let l=1;l<=e;l++)if(this.parameters[l-1]===void 0)throw new r(a,`Not enough parameters for ${t}.`,s,"https://docs.openc3.com/docs/configuration");if(i!==null&&this.parameters.length>i)throw new r(a,`Too many parameters for ${t}.`,s,"https://docs.openc3.com/docs/configuration")},setWidth(t,e="px",i="120"){let s=this.appliedSettings.find(a=>a[0]==="WIDTH");return s?s.WIDTH:t?(this.appliedSettings.push(["WIDTH",`${t}${e}`]),parseInt(t)):(this.appliedSettings.push(["WIDTH",`${i}${e}`]),parseInt(i))},setHeight(t,e="px",i="20"){let s=null;return s=this.appliedSettings.find(a=>a[0]==="HEIGHT"),s?s.HEIGHT:t?(this.appliedSettings.push(["HEIGHT",`${t}${e}`]),parseInt(t)):(this.appliedSettings.push(["HEIGHT",`${i}${e}`]),parseInt(i))},getColor(t){switch(t.length){case 1:return t[0].toLowerCase();case 3:return`rgb(${t[0]},${t[1]},${t[2]})`}},toQualifiedWidgetName(t){return`${this.screenId}:${t}`}}})}}});
1
+ System.register(["./main-ffc696a58eef5895606b.js"],function(d,o){"use strict";var p,r;return{setters:[n=>{p=n.B,r=n.a}],execute:function(){const n=d("o",{mixins:[p],props:{widgetIndex:{type:Number,default:null},parameters:{type:Array,default:()=>[]},settings:{type:Array,default:()=>[]},screenValues:{type:Object,default:()=>{}},screenTimeZone:{type:String,default:"local"},namedWidgets:{type:Object,default:{}},line:{type:String,default:""},lineNumber:{type:Number,default:0}},data(){return{appliedSettings:[],appliedStyle:{},widgetName:null,screenId:"NO_SCREEN"}},computed:{computedStyle:function(){return this.appliedSettings.forEach(t=>{this.applyStyleSetting(t)}),this.appliedStyle.width===void 0&&this.appliedStyle.height===void 0&&(this.appliedStyle.flex="0 10 100%"),this.appliedStyle},screen:function(){const t=this;return{getNamedWidget:function(e){return t.$store.getters.namedWidget(t.toQualifiedWidgetName(e))},open:function(e,i){t.$emit("open",e,i)},close:function(e,i){t.$emit("close",e,i)},closeAll:function(){t.$emit("closeAll")}}},listeners:function(){return Object.entries(this.$attrs).reduce((t,e)=>e[0].startsWith("on")?{...t,[e[0]]:e[1]}:t,{})}},watch:{widgetName:function(t,e){this.$store.commit("clearNamedWidget",this.toQualifiedWidgetName(e)),this.$store.commit("setNamedWidget",{[this.toQualifiedWidgetName(t)]:this})}},created(){var t,e;this.screenId=(t=this.settings.find(i=>i[0]==="__SCREEN_ID__"))==null?void 0:t.at(1),this.widgetName=(e=this.settings.find(i=>i[0]==="NAMED_WIDGET"))==null?void 0:e.at(1),this.appliedSettings=this.settings.map(i=>{const s=parseInt(i[0]);if(isNaN(s)||this.widgetIndex===null)return i;if(this.widgetIndex===s)return i.slice(1)}).filter(i=>i!==void 0)},beforeUnmount(){this.widgetName&&this.$store.commit("clearNamedWidget",this.toQualifiedWidgetName(this.widgetName))},methods:{applyStyleSetting(t){switch(t[0]){case"TEXTALIGN":this.appliedStyle["text-align"]=t[1].toLowerCase()+" !important",this.appliedStyle["--text-align"]=t[1].toLowerCase();break;case"PADDING":isNaN(Number(t[1]))||(t[1]+="px"),this.appliedStyle.padding=t[1]+" !important";break;case"MARGIN":isNaN(Number(t[1]))||(t[1]+="px"),this.appliedStyle.margin=t[1]+" !important";break;case"BACKCOLOR":this.appliedStyle["background-color"]=this.getColor(t.slice(1))+" !important";break;case"TEXTCOLOR":this.appliedStyle.color=this.getColor(t.slice(1))+" !important";break;case"BORDERCOLOR":this.appliedStyle["border-width"]="1px!important",this.appliedStyle["border-style"]="solid!important",this.appliedStyle["border-color"]=this.getColor(t.slice(1))+" !important";break;case"WIDTH":isNaN(Number(t[1]))||(t[1]+="px"),this.appliedStyle.width=t[1]+" !important";break;case"HEIGHT":isNaN(Number(t[1]))||(t[1]+="px"),this.appliedStyle.height=t[1]+" !important";break;case"RAW":this.appliedStyle[t[1].toLowerCase()]=t[2]+" !important";break}},verifyNumParams(t,e,i,s=""){let a={line:this.line,lineNumber:this.lineNumber,keyword:t,parameters:this.parameters};for(let l=1;l<=e;l++)if(this.parameters[l-1]===void 0)throw new r(a,`Not enough parameters for ${t}.`,s,"https://docs.openc3.com/docs/configuration");if(i!==null&&this.parameters.length>i)throw new r(a,`Too many parameters for ${t}.`,s,"https://docs.openc3.com/docs/configuration")},setWidth(t,e="px",i="120"){let s=this.appliedSettings.find(a=>a[0]==="WIDTH");return s?s.WIDTH:t?(this.appliedSettings.push(["WIDTH",`${t}${e}`]),parseInt(t)):(this.appliedSettings.push(["WIDTH",`${i}${e}`]),parseInt(i))},setHeight(t,e="px",i="20"){let s=null;return s=this.appliedSettings.find(a=>a[0]==="HEIGHT"),s?s.HEIGHT:t?(this.appliedSettings.push(["HEIGHT",`${t}${e}`]),parseInt(t)):(this.appliedSettings.push(["HEIGHT",`${i}${e}`]),parseInt(i))},getColor(t){switch(t.length){case 1:return t[0].toLowerCase();case 3:return`rgb(${t[0]},${t[1]},${t[2]})`}},toQualifiedWidgetName(t){return`${this.screenId}:${t}`}}})}}});