openc3-cosmos-tool-bucketexplorer 6.0.0 → 6.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/tools/bucketexplorer/ArrayWidget-BTxChSds-863ae72df606eb9d4300.js +2 -0
- data/tools/bucketexplorer/BarColumn-Cdu3OoMa-af88bac699d2bf5bef1b.js +1 -0
- data/tools/bucketexplorer/BlockWidget-PmjzrkXF-9f9c01bbaf9271d0a980.js +2 -0
- data/tools/bucketexplorer/{BucketExplorer-5b537808950cfdb2d967.js → BucketExplorer-ca34c0d27e0ad5bbe8a3.js} +58 -58
- data/tools/bucketexplorer/ButtonWidget-nwDlOBJT-5cf75ff872e011709203.js +2 -0
- data/tools/bucketexplorer/CanvasWidget-BL8930eT-73c56bb6932393423907.js +1 -0
- data/tools/bucketexplorer/CanvasdotWidget-VCf1fL-G-51436946fb9a77d4dd57.js +1 -0
- data/tools/bucketexplorer/CanvasimageWidget-BIw7Wbf2-31ebf968e4d323592f80.js +1 -0
- data/tools/bucketexplorer/CanvasimagevalueWidget-CE3Dj5bH-5acc4ce3d50a733a31e2.js +1 -0
- data/tools/bucketexplorer/CanvaslabelWidget-DWmb356h-e90f1900a20e4f2bd1da.js +1 -0
- data/tools/bucketexplorer/CanvaslabelvalueWidget-CI3yYwFs-ee933e5e6bbf01384963.js +1 -0
- data/tools/bucketexplorer/CanvaslineWidget-COeapH3P-e0c47c90f78b81c2ed97.js +1 -0
- data/tools/bucketexplorer/CanvaslinevalueWidget-CI-Bbzfi-ded1bd2057803054e8b0.js +1 -0
- data/tools/bucketexplorer/CheckbuttonWidget-BQhggcZ2-9d6ddd18672d2db4c41e.js +1 -0
- data/tools/bucketexplorer/ComboboxWidget-BzsbOv54-1a2e2a279bc5c21f2337.js +1 -0
- data/tools/bucketexplorer/DateWidget-B5R_9rA8-154f35d2d8d10f84f6e5.js +1 -0
- data/tools/bucketexplorer/{DetailsDialog-EWjtBjle-5ba775af5588b02a6ed6.js → DetailsDialog-DLRMqetn-5a84b59bfebf680c12a9.js} +1 -1
- data/tools/bucketexplorer/{DynamicWidget-m9EliUR2-83b4b626f38bce472413.js → DynamicWidget-m9EliUR2-58d23243c1a102ea29b9.js} +1 -1
- data/tools/bucketexplorer/FormatvalueWidget-DZkRJce8-2113a42e6eb77f82bc3f.js +1 -0
- data/tools/bucketexplorer/GraphWidget-amwxyH1r-dddfb666371baef7f67a.js +1 -0
- data/tools/bucketexplorer/HorizontalWidget-CirtfuL8-c98501e8a25f277378d9.js +1 -0
- data/tools/bucketexplorer/HorizontalboxWidget-CyTDt2nl-1e39f9bc753cd9b1d424.js +1 -0
- data/tools/bucketexplorer/{HorizontallineWidget-BdlNB951-7ae6b6e1b2ce5d970652.js → HorizontallineWidget-BdlNB951-e5a08e757c627c83cdb1.js} +1 -1
- data/tools/bucketexplorer/IframeWidget-DnJmCrCA-662bebc5d8e32763429e.js +1 -0
- data/tools/bucketexplorer/{ImageLoader-CDLQopxJ-e62f22afdfda9e31d682.js → ImageLoader-CpcR6tPi-deecbf2d731f6a55d962.js} +1 -1
- data/tools/bucketexplorer/ImageviewerWidget-DIkmb_C9-83cfbc94386769cffa1b.js +1 -0
- data/tools/bucketexplorer/LabelWidget-BDsypYho-87202b628eb4ed4b33dc.js +1 -0
- data/tools/bucketexplorer/LabelledWidget-DjturGl5-e517bfe9f699f8e9bab1.js +1 -0
- data/tools/bucketexplorer/LabelprogressbarWidget-RADJGLj3-47df67f537072a68eb4d.js +1 -0
- data/tools/bucketexplorer/LabelsparklineWidget-BlJoICxu-8f4bffddbef8903d84d5.js +1 -0
- data/tools/bucketexplorer/LabelvalueWidget-DVWJqnlY-9cc7dd06411c3794787f.js +1 -0
- data/tools/bucketexplorer/LabelvaluedescWidget-CsUP7J4U-a0b268def5593689db71.js +1 -0
- data/tools/bucketexplorer/LabelvaluelimitsbarWidget-Blj1QXV8-83fee6603947aaf14f19.js +1 -0
- data/tools/bucketexplorer/LabelvaluelimitscolumnWidget-CvCo-uCe-178065792a6108d15976.js +1 -0
- data/tools/bucketexplorer/LabelvaluerangebarWidget-DpcXhlfF-cc3416449084b053d162.js +1 -0
- data/tools/bucketexplorer/{Layout-klOVw-YN-36ded4f02b701947153d.js → Layout-C1HoM4Kl-e9cbf20bd9c6068ced4f.js} +1 -1
- data/tools/bucketexplorer/LedWidget-B_K2e5tq-b6e1c559e431c2d45ae6.js +1 -0
- data/tools/bucketexplorer/LimitsbarWidget-DXbqsi4J-7ad1787a9883a599f2b5.js +1 -0
- data/tools/bucketexplorer/LimitscolorWidget-Ckmuw0YX-07506fb06cb41ea914e0.js +1 -0
- data/tools/bucketexplorer/LimitscolumnWidget-BfY4su5U-a79b69e3dd34d14c2d40.js +1 -0
- data/tools/bucketexplorer/LinegraphWidget-y-Qy9P0R-6f9e7bcf28671c75f87c.js +1 -0
- data/tools/bucketexplorer/MatrixbycolumnsWidget-BTBColrs-eb1edc42399c66dfd587.js +1 -0
- data/tools/bucketexplorer/ProgressbarWidget-DpA_-vy9-578d146b82873aa2d27a.js +1 -0
- data/tools/bucketexplorer/RadiobuttonWidget-BO8zpgwW-bbdf6ead5d796ada3280.js +1 -0
- data/tools/bucketexplorer/RadiogroupWidget-Oy7V4S-V-cea900971c019aa7144b.js +1 -0
- data/tools/bucketexplorer/RangebarWidget-DHS7S3vI-bf731e4254c49fd394ac.js +1 -0
- data/tools/bucketexplorer/RollupWidget-CTk9Kjwr-11bbd5c31947eeefb8fb.js +1 -0
- data/tools/bucketexplorer/ScrollwindowWidget-DD0TOW6s-4f41dc900bd855d2f59e.js +1 -0
- data/tools/bucketexplorer/SignalWidget-CC33KMTW-24982614f04050c4644f.js +1 -0
- data/tools/bucketexplorer/SpacerWidget-BnJe_Hq6-36724e406716eafbb949.js +1 -0
- data/tools/bucketexplorer/SparklineWidget-DMvMQCPm-cad11960128f27cff475.js +1 -0
- data/tools/bucketexplorer/TabbookWidget-B3w0JtWe-75677686d23a47a8c01b.js +1 -0
- data/tools/bucketexplorer/TextboxWidget-D2f0-eol-052d034e7a0a2601f151.js +1 -0
- data/tools/bucketexplorer/TextfieldWidget-DXSdgqVP-4272cdce9ee740fb33b4.js +1 -0
- data/tools/bucketexplorer/TimeWidget-DvrRaEMz-9d5bbd6cafc9fe271080.js +1 -0
- data/tools/bucketexplorer/TitleWidget-DqViFQl--5f19c46f4334ae583d21.js +1 -0
- data/tools/bucketexplorer/{VWidget-Dmqf_jKM-9036168adfc98945614f.js → VWidget-02CG-3Av-8f58af932741638eb400.js} +1 -1
- data/tools/bucketexplorer/ValueWidget-KLYY8L8U-84e87d5eeff67ae24e4e.js +1 -0
- data/tools/bucketexplorer/ValuelimitsbarWidget-SR8XNZFB-bcd62458733e7b10c2b6.js +1 -0
- data/tools/bucketexplorer/ValuelimitscolumnWidget-xYZSp6YZ-725bf57a4a2af14363ec.js +1 -0
- data/tools/bucketexplorer/ValuerangebarWidget-B6M02a9d-f4b6cdaa152908947b07.js +1 -0
- data/tools/bucketexplorer/VerticalWidget-z6xUM-ql-38ddd70df71f79fc3160.js +1 -0
- data/tools/bucketexplorer/VerticalboxWidget-3a9cVsW--d44abe38176140c1cf9d.js +1 -0
- data/tools/bucketexplorer/{Widget-orNSvnOh-3bb7e80962cb50dfe65f.js → Widget-C4QVI4IH-7ece2725e081ecfaee00.js} +1 -1
- data/tools/bucketexplorer/{main-1e9165296521295ce8cd.js → main-60732a230373be3a696b.js} +1 -1
- data/tools/bucketexplorer/main.js +1 -1
- metadata +67 -67
- data/tools/bucketexplorer/ArrayWidget-By62tXtU-8f33e8321ef1d3fe7d37.js +0 -2
- data/tools/bucketexplorer/BarColumn-Dm3D1Lhp-c2c3ce1466eec0a3fe11.js +0 -1
- data/tools/bucketexplorer/BlockWidget-CrT45ode-2679087bb254510a1933.js +0 -2
- data/tools/bucketexplorer/ButtonWidget-CKyBBv6m-f0e78fd47ef48e139a32.js +0 -2
- data/tools/bucketexplorer/CanvasWidget-PqkppHC7-4e170504201c5d5da660.js +0 -1
- data/tools/bucketexplorer/CanvasdotWidget-BUbJgM2d-43ebb055d8dca6562047.js +0 -1
- data/tools/bucketexplorer/CanvasimageWidget-DPVBY7mi-373a581e892ee8d25151.js +0 -1
- data/tools/bucketexplorer/CanvasimagevalueWidget-GX37zzNc-bf3ecd8b0face0e8e57d.js +0 -1
- data/tools/bucketexplorer/CanvaslabelWidget-P2_Y6Edw-b3a96ce1ee07320799cc.js +0 -1
- data/tools/bucketexplorer/CanvaslabelvalueWidget-Cuas1i9P-e1d5a85ff01854b3ed2d.js +0 -1
- data/tools/bucketexplorer/CanvaslineWidget-BYOYgPya-a78c8160cccbbec9c086.js +0 -1
- data/tools/bucketexplorer/CanvaslinevalueWidget-3cVJMFo7-aa1a15f703557486b807.js +0 -1
- data/tools/bucketexplorer/CheckbuttonWidget-B3wgSMuB-940809ed24ffaf77baad.js +0 -1
- data/tools/bucketexplorer/ComboboxWidget-Dzr4Scvf-3901799f4c7b9538f037.js +0 -1
- data/tools/bucketexplorer/DateWidget-BWh76Ibb-20d6aafc770af85671ad.js +0 -1
- data/tools/bucketexplorer/FormatvalueWidget-Rk0_eeIm-1e274b4dc1511553b08d.js +0 -1
- data/tools/bucketexplorer/GraphWidget-LqekkNDr-da173601574048e1a1fc.js +0 -1
- data/tools/bucketexplorer/HorizontalWidget-BcfJ24Zn-f7660bcb488e69ef9c9c.js +0 -1
- data/tools/bucketexplorer/HorizontalboxWidget-CQy1Hv9E-9175f81379b610b7f6e0.js +0 -1
- data/tools/bucketexplorer/IframeWidget-BBaDrRLo-84cf059c641c1b6956e6.js +0 -1
- data/tools/bucketexplorer/ImageviewerWidget-BgO3Pq6I-70f67593e2a277b5380d.js +0 -1
- data/tools/bucketexplorer/LabelWidget-B_C6lKOE-4df235a597dafa77d277.js +0 -1
- data/tools/bucketexplorer/LabelledWidget-B_UGivhr-26b7aae3e3d1f17987ca.js +0 -1
- data/tools/bucketexplorer/LabelprogressbarWidget-BJWCmsYC-e102ec760120df1f31d3.js +0 -1
- data/tools/bucketexplorer/LabelsparklineWidget-DILCIh3q-861da511567c33a45af0.js +0 -1
- data/tools/bucketexplorer/LabelvalueWidget-CCZd1NXE-cec6c130ee113eab9a22.js +0 -1
- data/tools/bucketexplorer/LabelvaluedescWidget-Bsllq8W6-7ef06ad09ae65430e18a.js +0 -1
- data/tools/bucketexplorer/LabelvaluelimitsbarWidget-BV-cfaD--f3f911842b22632d7d18.js +0 -1
- data/tools/bucketexplorer/LabelvaluelimitscolumnWidget-DwA0eRBw-24b769bde34bd6ea7f6d.js +0 -1
- data/tools/bucketexplorer/LabelvaluerangebarWidget-3GDJz3dj-b8e8efd98495e4e74314.js +0 -1
- data/tools/bucketexplorer/LedWidget-BAt02s0J-675593ca2bd521e0b825.js +0 -1
- data/tools/bucketexplorer/LimitsbarWidget-JJiyzZjb-8e568c13daceebfafb30.js +0 -1
- data/tools/bucketexplorer/LimitscolorWidget-CYzXKbYd-f0a0a05a473d0f7b06b1.js +0 -1
- data/tools/bucketexplorer/LimitscolumnWidget-Cd76tBo7-506f3ee3bba6cb39bdfe.js +0 -1
- data/tools/bucketexplorer/LinegraphWidget-DWRtO6Ej-c5b90cf915cd6ed5d76d.js +0 -1
- data/tools/bucketexplorer/MatrixbycolumnsWidget-cwsyjNV2-9369719ed5db578a8d5c.js +0 -1
- data/tools/bucketexplorer/ProgressbarWidget-CYDziFej-f5d05b41e872fd03741c.js +0 -1
- data/tools/bucketexplorer/RadiobuttonWidget-U6jcQZoD-cee759169498f19f2f88.js +0 -1
- data/tools/bucketexplorer/RadiogroupWidget-HTPJnsB0-38beec3493bb72dd7e0c.js +0 -1
- data/tools/bucketexplorer/RangebarWidget-DW0FJK6y-c984a69595fe0bb8514d.js +0 -1
- data/tools/bucketexplorer/RollupWidget-B2qrx55f-5f145f0e8bd4e2ea657a.js +0 -1
- data/tools/bucketexplorer/ScrollwindowWidget-CwIDxgO6-3298f14b80a3ca255e72.js +0 -1
- data/tools/bucketexplorer/SignalWidget-Bosa3AbW-d7555d2f2bca8455dea8.js +0 -1
- data/tools/bucketexplorer/SpacerWidget-DYAlt5mt-9a223f8267dd8db957c0.js +0 -1
- data/tools/bucketexplorer/SparklineWidget-CDrVXOFV-cddc3cbe8e053f160dcc.js +0 -1
- data/tools/bucketexplorer/TabbookWidget-DDdlzCkv-270a99fbda6ea8535d33.js +0 -1
- data/tools/bucketexplorer/TextboxWidget-5euFelEq-11605b662c6d4f59775c.js +0 -1
- data/tools/bucketexplorer/TextfieldWidget-BFripYeh-9dfc598664182529c356.js +0 -1
- data/tools/bucketexplorer/TimeWidget-BBSbsUYJ-5800c5223fdaac181c42.js +0 -1
- data/tools/bucketexplorer/TitleWidget-p8cjo-Bs-4080e5e107d426060e14.js +0 -1
- data/tools/bucketexplorer/ValueWidget-CZh7JWwT-1b5cd369cb847f4db4e7.js +0 -1
- data/tools/bucketexplorer/ValuelimitsbarWidget-DU7ybswC-c952ab6d66ff7e5b17e2.js +0 -1
- data/tools/bucketexplorer/ValuelimitscolumnWidget-DMw-h5jM-c79abafbd299609b2887.js +0 -1
- data/tools/bucketexplorer/ValuerangebarWidget-DPpofDpA-c552ad527bd6a006445f.js +0 -1
- data/tools/bucketexplorer/VerticalWidget-Ch7VAEmz-ac356c2b467349921d10.js +0 -1
- data/tools/bucketexplorer/VerticalboxWidget-DYx-TFT4-fffa9647d711f819e877.js +0 -1
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./BucketExplorer-5b537808950cfdb2d967.js","vue","./main-1e9165296521295ce8cd.js","./Widget-orNSvnOh-3bb7e80962cb50dfe65f.js"],function(X,Se){"use strict";var B,J,M,Q,Z,L,R,ee,P,te,m,w,Y,ie,a,l,I,ae,x,T,u,N,S,_,E,se,le,q,oe,re,H,ne;return{setters:[c=>{B=c.P,J=c.D,M=c.$,Q=c.B,Z=c.b,L=c.c,R=c.l,ee=c.W,P=c.y,te=c.d},c=>{m=c.resolveComponent,w=c.openBlock,Y=c.createElementBlock,ie=c.withModifiers,a=c.createVNode,l=c.withCtx,I=c.withDirectives,ae=c.normalizeClass,x=c.createElementVNode,T=c.mergeProps,u=c.createTextVNode,N=c.vShow,S=c.toDisplayString,_=c.createBlock,E=c.createCommentVNode,se=c.normalizeProps,le=c.guardReactiveProps,q=c.withKeys,oe=c.Fragment,re=c.renderList},c=>{H=c.s},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(L(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(L(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"},me={class:"edit-box"},ue={class:"edit-box"};function ce(t,e,i,n,s,o){const d=m("v-spacer"),r=m("v-toolbar"),v=m("v-tab"),p=m("v-tabs"),y=m("v-text-field"),D=m("v-card-text"),b=m("v-col"),k=m("v-select"),f=m("v-row"),G=m("v-tabs-window-item"),$=m("v-btn"),A=m("v-list-item"),V=m("v-icon"),C=m("v-tooltip"),z=m("v-list"),U=m("v-data-table"),K=m("v-tabs-window"),j=m("v-card-actions"),h=m("v-card"),W=m("v-dialog");return w(),_(W,{modelValue:o.show,"onUpdate:modelValue":e[12]||(e[12]=g=>o.show=g),onKeydown:e[13]||(e[13]=q(g=>t.$emit("cancel"),["esc"])),"max-width":"700"},{default:l(()=>[a(r,{height:"24"},{default:l(()=>[a(d),e[14]||(e[14]=x("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]=[u(" Settings ")])),_:1}),a(v,{value:"1"},{default:l(()=>e[16]||(e[16]=[u(" Scale / Lines ")])),_:1}),a(v,{value:"2"},{default:l(()=>e[17]||(e[17]=[u(" Items ")])),_:1})]),_:1},8,["modelValue"]),a(K,{modelValue:t.tab,"onUpdate:modelValue":e[10]||(e[10]=g=>t.tab=g)},{default:l(()=>[a(G,{value:"0",eager:""},{default:l(()=>[x("div",de,[a(f,null,{default:l(()=>[a(b,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(b,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})]),x("div",he,[a(D,{class:"pa-0"},{default:l(()=>e[18]||(e[18]=[u(" Select a start date/time for the graph. Leave blank for start now. ")])),_:1}),a(f,null,{default:l(()=>[a(b,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(b,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]=[u(" Select a end date/time for the graph. Leave blank for continuous real-time graphing. ")])),_:1}),a(f,null,{default:l(()=>[a(b,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(b,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(()=>[x("div",me,[a(D,{class:"pa-0"},{default:l(()=>e[20]||(e[20]=[u(" Set a min or max Y value to override automatic scaling ")])),_:1}),a(f,{dense:""},{default:l(()=>[a(b,{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(b,{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})]),x("div",ue,[a(z,{density:"compact",class:"horizontal-lines"},{default:l(()=>[a(A,null,{default:l(()=>[e[22]||(e[22]=x("span",{style:{"padding-top":"5px"}}," Add horizontal lines to the graph ",-1)),a(d),a($,{onClick:e[9]||(e[9]=g=>o.addLine())},{default:l(()=>e[21]||(e[21]=[u(" New Line ")])),_:1})]),_:1}),(w(!0),Y(oe,null,re(t.graph.lines,(g,F)=>(w(),_(A,{key:F,value:g,color:"primary"},{default:l(()=>[a(f,null,{default:l(()=>[a(b,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(b,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(b,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=>o.removeLine(g)}),{default:l(()=>e[23]||(e[23]=[u("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:o.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:F})=>[a(V,T(F,{onClick:O=>t.$emit("remove",g)}),{default:l(()=>e[24]||(e[24]=[u(" mdi-delete ")])),_:2},1040,["onClick"])]),_:2},1024)]),"no-data":l(()=>e[25]||(e[25]=[x("span",null," Currently no items on this graph ",-1)])),_:1},8,["headers","items"])]),_:1})]),_:1},8,["modelValue"]),a(j,{class:"px-2"},{default:l(()=>[a(d),a($,{variant:"outlined",onClick:e[11]||(e[11]=g=>t.$emit("cancel"))},{default:l(()=>e[26]||(e[26]=[u(" Cancel ")])),_:1}),a($,{variant:"flat",onClick:o.closeOk},{default:l(()=>e[27]||(e[27]=[u(" Ok ")])),_:1},8,["onClick"])]),_:1})]),_:1})]),_:1},8,["modelValue"])}const pe=H(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:[{text:"NONE",value:"DECOM"},{text:"REDUCED_MINUTE",value:"REDUCED_MINUTE"},{text:"REDUCED_HOUR",value:"REDUCED_HOUR"},{text:"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},await this.api,this.api=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.$set(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,o){const d=m("v-card-title"),r=m("v-select"),v=m("v-card-text"),p=m("v-spacer"),y=m("v-btn"),D=m("v-card-actions"),b=m("v-card"),k=m("v-dialog");return w(),_(k,{modelValue:o.show,"onUpdate:modelValue":e[9]||(e[9]=f=>o.show=f),width:"400",onKeydown:e[10]||(e[10]=q(f=>t.success(),["enter"]))},{default:l(()=>[a(b,null,{default:l(()=>[a(d,{class:"mb-2"},{default:l(()=>e[11]||(e[11]=[u("Edit Item")])),_:1}),a(v,null,{default:l(()=>[a(r,{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(r,{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(r,{variant:"outlined","hide-details":"",label:"Reduced Type",items:t.reducedTypes,disabled:t.currentReduced==="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(r,{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"]),o.limitsNames.length>1?(w(),Y("div",fe,[a(r,{variant:"outlined","hide-details":"",label:"Display Limits",items:o.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"]),x("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]=[u(" Cancel ")])),_:1}),a(y,{variant:"flat",onClick:e[8]||(e[8]=f=>t.$emit("close",t.editItem))},{default:l(()=>e[13]||(e[13]=[u(" Ok ")])),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue"])}const we=H(ge,[["render",ye]]),xe={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 o={spanGaps:!0};return n.chartSeries.push({...o,item:s,label:this.formatLabel(s),stroke:(d,r)=>this.items[r-1].color,width:2,value:(d,r)=>typeof r=="string"||isNaN(r)?"NaN":r==null?"--":r.toFixed(3)}),n.overviewSeries.push({...o}),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:o=>M.tzDate(new Date(o*1e3),n),series:[{label:"Time",value:(o,d)=>d==null?"--":this.formatSeconds(d,this.timeZone)},...t],cursor:{drag:{x:!0,y:!1},sync:{key:"openc3"},bind:{mouseup:(o,d,r)=>v=>{this.state==="pause"&&o.select.width===0&&this.$emit("start"),r(v)}}},hooks:{setScale:[(o,d)=>{if(d==="x"&&!this.zoomOverview&&this.overview){this.zoomChart=!0;let r=Math.round(this.overview.valToPos(o.scales.x.min,"x")),v=Math.round(this.overview.valToPos(o.scales.x.max,"x"));this.overview.setSelect({left:r,width:v-r}),this.zoomChart=!1}}],setSelect:[o=>{this.state==="start"&&o.select.width>0&&this.$emit("pause")}],ready:[o=>{o.root.querySelector(".u-over").addEventListener("contextmenu",r=>{r.preventDefault(),this.itemMenu=!1,this.legendMenu=!1,this.editGraphMenuX=r.clientX,this.editGraphMenuY=r.clientY,this.editGraphMenu=!0});let d=o.root.querySelector(".u-legend");d.addEventListener("contextmenu",r=>{r.preventDefault(),this.editGraphMenu=!1,this.legendMenu=!1,this.itemMenuX=r.clientX,this.itemMenuY=r.clientY;let v=r.target.closest(".u-series"),p=Array.prototype.slice.call(d.childNodes[0].childNodes).indexOf(v),y=o.series[p];y.item?(this.selectedItem=y.item,this.itemMenu=!0):(this.itemMenu=!1,this.legendMenuX=r.clientX,this.legendMenuY=r.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:o=>M.tzDate(new Date(o*1e3),n),series:[...e],cursor:{y:!1,drag:{setScale:!1,x:!0,y:!1}},legend:{show:!1},hooks:{setSelect:[o=>{if(!this.zoomChart){this.state==="start"&&o.select.width>0&&this.$emit("pause"),this.zoomOverview=!0;let d=o.posToVal(o.select.left,"x"),r=o.posToVal(o.select.left+o.select.width,"x");this.graph.setScale("x",{min:d,max:r}),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 o=n;return(this.graphMaxY||this.graphMaxY===0)&&(o=this.graphMaxY),M.rangeNum(s,o,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,o=Math.max(document.documentElement.clientHeight,window.innerHeight||0),d=document.getElementsByClassName("v-expansion-panel")[0];let r=100;t==="overview"?this.fullHeight&&!this.hideOverviewData?this.showOverview=!0:this.showOverview=!1:(r=o-d.clientHeight-r-250,this.fullHeight||(r=r/2+10));let v=s-68;return this.fullWidth||(v=v/2-10),{width:this.width||v,height:this.height||r}},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(o=>o>=1e7)||s.every(o=>o<.01))&&(s=s.map(o=>o.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),o=t.valToPos(this.limitsValues[0],"y",!0),d=t.valToPos(this.limitsValues[1],"y",!0),r=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=o<s?s:o;e.fillRect(i.left,o,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,o-p)}if(t.scales.y.max>this.limitsValues[2]&&t.scales.y.min<this.limitsValues[3]){let p=n<v?n:v,y=n<r?n:r;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=r<s?s:r,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<r?n:r,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,b=n<p?n:p;e.fillRect(i.left,D,i.width,b-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 o=-s-1;for(let d=0;d<this.data.length;d++)this.data[d].splice(o,0,null);this.set_data_at_index(o,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 o=this.indexes[n];if(o){let d=this.data[o];if(s!=null&&s.raw)d[t]=null;else if(typeof s=="string"){if(d[t]=null,!n.includes("__RAW")){for(let r of this.items)if(this.subscriptionKey(r)===n){this.selectedItem=r;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}}},be={class:"mx-2"},_e={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,o){const d=m("v-icon"),r=m("v-tooltip"),v=m("v-spacer"),p=m("v-toolbar"),y=m("v-expand-transition"),D=m("v-card"),b=m("graph-edit-dialog"),k=m("v-text-field"),f=m("v-row"),G=m("v-textarea"),$=m("v-btn"),A=m("v-dialog"),V=m("v-list-item-title"),C=m("v-list-item"),z=m("v-list"),U=m("v-menu"),K=m("graph-edit-item-dialog"),j=m("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(x("div",be,[a(r,{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]=[u(" mdi-alert ")])),_:2},1040)]),_:1})],512),[[N,s.errors.length!==0]]),a(r,{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]=[u(" mdi-pencil ")])),_:2},1040)]),_:1}),a(v),x("span",null,S(s.title),1),a(v),I(x("div",null,[o.calcFullSize?(w(),_(r,{key:0,text:"Collapse",location:"top"},{activator:l(({props:h})=>[a(d,T(h,{onClick:o.collapseAll,"data-test":"collapse-all"}),{default:l(()=>e[24]||(e[24]=[u(" mdi-arrow-collapse ")])),_:2},1040,["onClick"])]),_:1})):(w(),_(r,{key:1,text:"Expand",location:"top"},{activator:l(({props:h})=>[a(d,T(h,{onClick:o.expandAll,"data-test":"expand-all"}),{default:l(()=>e[25]||(e[25]=[u(" mdi-arrow-expand ")])),_:2},1040,["onClick"])]),_:1}))],512),[[N,s.expand]]),I(x("div",null,[s.fullWidth?(w(),_(r,{key:0,text:"Collapse Width",location:"top"},{activator:l(({props:h})=>[a(d,T(h,{onClick:o.collapseWidth,"data-test":"collapse-width"}),{default:l(()=>e[26]||(e[26]=[u(" mdi-arrow-collapse-horizontal ")])),_:2},1040,["onClick"])]),_:1})):(w(),_(r,{key:1,text:"Expand Width",location:"top"},{activator:l(({props:h})=>[a(d,T(h,{onClick:o.expandWidth,"data-test":"expand-width"}),{default:l(()=>e[27]||(e[27]=[u(" mdi-arrow-expand-horizontal ")])),_:2},1040,["onClick"])]),_:1}))],512),[[N,s.expand]]),I(x("div",null,[s.fullHeight?(w(),_(r,{key:0,text:"Collapse Height",location:"top"},{activator:l(({props:h})=>[a(d,T(h,{onClick:o.collapseHeight,"data-test":"collapse-height"}),{default:l(()=>e[28]||(e[28]=[u(" mdi-arrow-collapse-vertical ")])),_:2},1040,["onClick"])]),_:1})):(w(),_(r,{key:1,text:"Expand Height",location:"top"},{activator:l(({props:h})=>[a(d,T(h,{onClick:o.expandHeight,"data-test":"expand-height"}),{default:l(()=>e[29]||(e[29]=[u(" mdi-arrow-expand-vertical ")])),_:2},1040,["onClick"])]),_:1}))],512),[[N,s.expand]]),s.expand?(w(),_(r,{key:0,text:"Minimize",location:"top"},{activator:l(({props:h})=>[a(d,T(h,{onClick:o.minMaxTransition,"data-test":"minimize-screen-icon"}),{default:l(()=>e[30]||(e[30]=[u(" mdi-window-minimize ")])),_:2},1040,["onClick"])]),_:1})):(w(),_(r,{key:1,text:"Maximize",location:"top"},{activator:l(({props:h})=>[a(d,T(h,{onClick:o.minMaxTransition,"data-test":"maximize-screen-icon"}),{default:l(()=>e[31]||(e[31]=[u(" mdi-window-maximize ")])),_:2},1040,["onClick"])]),_:1})),a(r,{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]=[u(" mdi-close-box ")])),_:2},1040)]),_:1})]),_:1},8,["class"]),[[N,!s.hideToolbarData]]),a(y,null,{default:l(()=>[I(x("div",_e,[x("div",{id:`chart${i.id}`},null,8,Te),e[33]||(e[33]=x("div",{id:"betweenCharts"},null,-1)),I(x("div",{id:`overview${i.id}`},null,8,De),[[N,s.showOverview]])],512),[[N,s.expand]])]),_:1})]),_:1}),s.editGraph?(w(),_(b,{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=>o.removeItems([h])),onOk:o.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]=x("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:o.error},null,8,["value"])]),_:1}),a(f,null,{default:l(()=>[a($,{block:"",onClick:o.clearErrors},{default:l(()=>e[35]||(e[35]=[u(" Clear ")])),_:1},8,["onClick"])]),_:1})]),_:1})]),_:1},8,["modelValue"]),s.editGraphMenu?(w(),_(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(z,null,{default:l(()=>[a(C,{onClick:e[8]||(e[8]=h=>s.editGraph=!0)},{default:l(()=>[a(V,{style:{cursor:"pointer"}},{default:l(()=>[u(" Edit "+S(s.title),1)]),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue","target"])):E("",!0),s.editItem?(w(),_(K,{key:2,modelValue:s.editItem,"onUpdate:modelValue":e[10]||(e[10]=h=>s.editItem=h),colors:s.colors,item:s.selectedItem,onChangeColor:o.changeColor,onChangeLimits:o.changeLimits,onCancel:e[11]||(e[11]=h=>s.editItem=!1),onClose:o.closeEditItem},null,8,["modelValue","colors","item","onChangeColor","onChangeLimits","onClose"])):E("",!0),s.itemMenu?(w(),_(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(z,{nav:"",density:"compact"},{default:l(()=>[a(j,null,{default:l(()=>[u(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]=[u(" Edit ")])),_:1})]),_:1}),a(C,{onClick:e[13]||(e[13]=h=>o.clearData([s.selectedItem]))},{prepend:l(()=>[a(d,{icon:"mdi-eraser"})]),default:l(()=>[a(V,null,{default:l(()=>e[37]||(e[37]=[u(" Clear ")])),_:1})]),_:1}),a(C,{onClick:e[14]||(e[14]=h=>o.removeItems([s.selectedItem]))},{prepend:l(()=>[a(d,{icon:"mdi-delete"})]),default:l(()=>[a(V,null,{default:l(()=>e[38]||(e[38]=[u(" Delete ")])),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue","target"])):E("",!0),s.legendMenu?(w(),_(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(z,null,{default:l(()=>[a(C,{onClick:e[16]||(e[16]=h=>o.moveLegend("top"))},{default:l(()=>[a(V,{style:{cursor:"pointer"}},{default:l(()=>e[39]||(e[39]=[u(" Legend Top ")])),_:1})]),_:1}),a(C,{onClick:e[17]||(e[17]=h=>o.moveLegend("bottom"))},{default:l(()=>[a(V,{style:{cursor:"pointer"}},{default:l(()=>e[40]||(e[40]=[u(" Legend Bottom ")])),_:1})]),_:1}),a(C,{onClick:e[18]||(e[18]=h=>o.moveLegend("left"))},{default:l(()=>[a(V,{style:{cursor:"pointer"}},{default:l(()=>e[41]||(e[41]=[u(" Legend Left ")])),_:1})]),_:1}),a(C,{onClick:e[19]||(e[19]=h=>o.moveLegend("right"))},{default:l(()=>[a(V,{style:{cursor:"pointer"}},{default:l(()=>e[42]||(e[42]=[u(" Legend RIght ")])),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue","target"])):E("",!0),i.sparkline?E("",!0):(w(),Y("div",ke,[a(r,{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]=[u(" mdi-information-variant-circle ")])),_:2},1040)]),_:1})],512))])}const Ee=X("S",H(xe,[["render",Ve],["__scopeId","data-v-485a5da2"]]));function Ce(t,e,i){const n=R(t,void 0);if(isNaN(e))return P(t,NaN);if(!e)return n;const s=n.getDate(),o=P(t,n.getTime());o.setMonth(n.getMonth()+e+1,0);const d=o.getDate();return s>=d?o:(n.setFullYear(o.getFullYear(),o.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:o=0,days:d=0,hours:r=0,minutes:v=0,seconds:p=0}=e,y=Ie(t,s+n*12),D=Me(y,d+o*7,i),b=v+r*60,k=(p+b*60)*1e3;return P(t,+D-k)}const Oe=X("_",{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=L(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 o={};o[n]=i,this.startTime=Ne(new Date,o).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}`))}})}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./Layout-klOVw-YN-36ded4f02b701947153d.js","vue","./main-1e9165296521295ce8cd.js","./Widget-orNSvnOh-3bb7e80962cb50dfe65f.js","./BucketExplorer-5b537808950cfdb2d967.js","vue-router","vuex","vuetify"],function(v,k){"use strict";var a,r,i,c,o,u,m,g,p,f;return{setters:[e=>{a=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:[a],created:function(){if(this.parameters[0]){let n=this.parameters[0];this.widgets.forEach(l=>{l.settings.find(s=>s[0]==="MARGIN"||s[0]==="RAW"&&s[1].toUpperCase().includes("MARGIN"))===void 0&&l.settings.push(["MARGIN",n])})}}};function y(n,l,s,w,B,N){return r(),i("div",{ref:"container",class:"d-flex flex-row",style:c(n.computedStyle)},[(r(!0),i(o,null,u(n.widgets,(t,d)=>(r(),m(g(t.type),p({ref_for:!0},n.listeners,{key:d,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 h=v("default",f(e,[["render",y]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./HorizontalWidget-BcfJ24Zn-f7660bcb488e69ef9c9c.js","./Layout-klOVw-YN-36ded4f02b701947153d.js","vue","./main-1e9165296521295ce8cd.js","./Widget-orNSvnOh-3bb7e80962cb50dfe65f.js","./BucketExplorer-5b537808950cfdb2d967.js","vue-router","vuex","vuetify"],function(v,x){"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 m(t,z,S,k,N,j){const y=n("v-banner"),f=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(f,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 w=v("default",g(e,[["render",m],["__scopeId","data-v-e9e6c14b"]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./Widget-orNSvnOh-3bb7e80962cb50dfe65f.js","vue","./main-1e9165296521295ce8cd.js","./BucketExplorer-5b537808950cfdb2d967.js","vue-router","vuex","vuetify"],function(l,o){"use strict";var i,r,n,s,h;return{setters:[e=>{i=e.o},e=>{r=e.openBlock,n=e.createElementBlock,s=e.normalizeStyle},e=>{h=e.s},null,null,null,null],execute:function(){const e={mixins:[i],data:function(){return{width:800,height:600}},created:function(){this.setWidth(this.parameters[1],"px",this.width),this.setHeight(this.parameters[2],"px",this.height)}},u=["src","width","height"];function c(t,d,m,p,f,g){return r(),n("iframe",{title:"IFrameWidget",src:t.parameters[0],width:t.width,height:t.height,style:s(t.computedStyle)},null,12,u)}const a=l("default",h(e,[["render",c]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./Widget-orNSvnOh-3bb7e80962cb50dfe65f.js","vue","./main-1e9165296521295ce8cd.js","./BucketExplorer-5b537808950cfdb2d967.js","vue-router","vuex","vuetify"],function(i,m){"use strict";var r,a,n,s,u;return{setters:[e=>{r=e.o},e=>{a=e.openBlock,n=e.createElementBlock,s=e.normalizeStyle},e=>{u=e.s},null,null,null,null],execute:function(){const e={mixins:[r],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)}},l=["src","alt","width","height"];function c(t,h,v,p,f,o){return a(),n("img",{src:o.src,alt:t.valueId,width:t.parameters[4],height:t.parameters[5],style:s(t.computedStyle)},null,12,l)}const d=i("default",u(e,[["render",c]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./Widget-orNSvnOh-3bb7e80962cb50dfe65f.js","vue","./main-1e9165296521295ce8cd.js","./BucketExplorer-5b537808950cfdb2d967.js","vue-router","vuex","vuetify"],function(m,f){"use strict";var s,n,i,r,l,a;return{setters:[t=>{s=t.o},t=>{n=t.openBlock,i=t.createElementBlock,r=t.normalizeStyle,l=t.toDisplayString},t=>{a=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 h(e,c,p,y,S,o){return n(),i("div",{"data-test":"label",class:"pa-1 mt-1 label",style:r([o.cssProps,e.computedStyle])},l(o.labelText),5)}const u=m("default",a(t,[["render",h],["__scopeId","data-v-1d1d3128"]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./Widget-orNSvnOh-3bb7e80962cb50dfe65f.js","./LabelWidget-B_C6lKOE-4df235a597dafa77d277.js","./LedWidget-BAt02s0J-675593ca2bd521e0b825.js","vue","./main-1e9165296521295ce8cd.js","./BucketExplorer-5b537808950cfdb2d967.js","vue-router","vuex","vuetify"],function(p,x){"use strict";var n,l,a,s,i,o,c,r,u,d;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=>{d=e.s},null,null,null,null],execute:function(){const e={mixins:[n],components:{LabelWidget:l,LedWidget:a},computed:{labelName(){return[this.parameters[2]+":"]}}};function g(t,B,b,w,y,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)},[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,"widget-index":1}),null,16,["parameters","settings","screen-values"])],4)}const S=p("default",d(e,[["render",g]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./Widget-orNSvnOh-3bb7e80962cb50dfe65f.js","./LabelWidget-B_C6lKOE-4df235a597dafa77d277.js","./ProgressbarWidget-CYDziFej-f5d05b41e872fd03741c.js","vue","./main-1e9165296521295ce8cd.js","./BucketExplorer-5b537808950cfdb2d967.js","vue-router","vuex","vuetify"],function(g,y){"use strict";var n,l,a,r,o,i,c,s,u,p;return{setters:[e=>{n=e.o},e=>{l=e.default},e=>{a=e.default},e=>{r=e.resolveComponent,o=e.openBlock,i=e.createElementBlock,c=e.normalizeStyle,s=e.createVNode,u=e.mergeProps},e=>{p=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,S,x,j,w,m){const f=r("label-widget"),v=r("progressbar-widget");return o(),i("div",{ref:"container",class:"d-flex flex-row",style:c(t.computedStyle)},[s(f,{parameters:m.labelName,settings:[...t.appliedSettings],"widget-index":0},null,8,["parameters","settings"]),s(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=g("default",p(e,[["render",d]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./Widget-orNSvnOh-3bb7e80962cb50dfe65f.js","./LabelWidget-B_C6lKOE-4df235a597dafa77d277.js","./SparklineWidget-CDrVXOFV-cddc3cbe8e053f160dcc.js","vue","./main-1e9165296521295ce8cd.js","./BucketExplorer-5b537808950cfdb2d967.js","./GraphWidget-LqekkNDr-da173601574048e1a1fc.js","vue-router","vuex","vuetify"],function(p,S){"use strict";var s,i,a,l,o,u,n,r,c;return{setters:[e=>{s=e.o},e=>{i=e.default},e=>{a=e.default},e=>{l=e.resolveComponent,o=e.openBlock,u=e.createElementBlock,n=e.normalizeStyle,r=e.createVNode},e=>{c=e.s},null,null,null,null,null],execute:function(){const e={mixins:[s],components:{LabelWidget:i,SparklineWidget:a},computed:{labelName(){return[this.parameters[2]+":"]}}};function d(t,b,v,y,N,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)},[r(g,{parameters:m.labelName,settings:[...t.appliedSettings],line:t.line,lineNumber:t.lineNumber,"widget-index":0},null,8,["parameters","settings","line","lineNumber"]),r(f,{parameters:t.parameters,settings:[...t.appliedSettings],style:n(t.computedStyle),"widget-index":1},null,8,["parameters","settings","style"])],4)}const k=p("default",c(e,[["render",d]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./Widget-orNSvnOh-3bb7e80962cb50dfe65f.js","./LabelWidget-B_C6lKOE-4df235a597dafa77d277.js","./ValueWidget-CZh7JWwT-1b5cd369cb847f4db4e7.js","vue","./main-1e9165296521295ce8cd.js","./BucketExplorer-5b537808950cfdb2d967.js","./DetailsDialog-EWjtBjle-5ba775af5588b02a6ed6.js","./VWidget-Dmqf_jKM-9036168adfc98945614f.js","vue-router","vuex","vuetify"],function(d,f){"use strict";var l,s,a,n,i,u,o,r,m,c;return{setters:[e=>{l=e.o},e=>{s=e.default},e=>{a=e.default},e=>{n=e.resolveComponent,i=e.openBlock,u=e.createElementBlock,o=e.normalizeStyle,r=e.createVNode,m=e.mergeProps},e=>{c=e.s},null,null,null,null,null,null],execute:function(){const e={mixins:[l],components:{LabelWidget:s,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 g(t,h,x,S,W,p){const v=n("label-widget"),b=n("value-widget");return i(),u("div",{ref:"container",class:"d-flex flex-row",style:o(t.computedStyle)},[r(v,{parameters:p.labelName,settings:[...t.appliedSettings],line:t.line,"line-number":t.lineNumber,"widget-index":0},null,8,["parameters","settings","line","line-number"]),r(b,m(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 j=d("default",c(e,[["render",g]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./Widget-orNSvnOh-3bb7e80962cb50dfe65f.js","./LabelWidget-B_C6lKOE-4df235a597dafa77d277.js","./ValueWidget-CZh7JWwT-1b5cd369cb847f4db4e7.js","./BucketExplorer-5b537808950cfdb2d967.js","vue","./main-1e9165296521295ce8cd.js","./DetailsDialog-EWjtBjle-5ba775af5588b02a6ed6.js","./VWidget-Dmqf_jKM-9036168adfc98945614f.js","vue-router","vuex","vuetify"],function(d,j){"use strict";var n,a,i,l,s,u,m,o,r,c,p;return{setters:[e=>{n=e.o},e=>{a=e.default},e=>{i=e.default},e=>{l=e.W},e=>{s=e.resolveComponent,u=e.openBlock,m=e.createElementBlock,o=e.normalizeStyle,r=e.createVNode,c=e.mergeProps},e=>{p=e.s},null,null,null,null,null],execute:function(){const e={mixins:[n],data(){return{description:"",valueParameters:[]}},components:{LabelWidget:a,ValueWidget:i},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 l().get_item(this.parameters[0],this.parameters[1],this.parameters[2]).then(t=>{this.description=t.description})}};function g(t,w,x,P,h,v){const b=s("label-widget"),f=s("value-widget");return u(),m("div",{ref:"container",class:"d-flex flex-row",style:o(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,c(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 W=d("default",p(e,[["render",g]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./LabelvalueWidget-CCZd1NXE-cec6c130ee113eab9a22.js","./LimitsbarWidget-JJiyzZjb-8e568c13daceebfafb30.js","./Widget-orNSvnOh-3bb7e80962cb50dfe65f.js","vue","./main-1e9165296521295ce8cd.js","./LabelWidget-B_C6lKOE-4df235a597dafa77d277.js","./ValueWidget-CZh7JWwT-1b5cd369cb847f4db4e7.js","./BucketExplorer-5b537808950cfdb2d967.js","./DetailsDialog-EWjtBjle-5ba775af5588b02a6ed6.js","./VWidget-Dmqf_jKM-9036168adfc98945614f.js","./BarColumn-Dm3D1Lhp-c2c3ce1466eec0a3fe11.js","vue-router","vuex","vuetify"],function(m,j){"use strict";var r,a,i,s,u,o,c,l,n,g;return{setters:[e=>{r=e.default},e=>{a=e.default},e=>{i=e.o},e=>{s=e.resolveComponent,u=e.openBlock,o=e.createElementBlock,c=e.normalizeStyle,l=e.createVNode,n=e.mergeProps},e=>{g=e.s},null,null,null,null,null,null,null,null,null],execute:function(){const e={mixins:[i],components:{LabelvalueWidget:r,LimitsbarWidget:a},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,S,W,y,B,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}),null,16,["parameters","settings","screen-values"])],4)}const b=m("default",g(e,[["render",p]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./LabelWidget-B_C6lKOE-4df235a597dafa77d277.js","./ValueWidget-CZh7JWwT-1b5cd369cb847f4db4e7.js","./LimitscolumnWidget-Cd76tBo7-506f3ee3bba6cb39bdfe.js","./Widget-orNSvnOh-3bb7e80962cb50dfe65f.js","vue","./main-1e9165296521295ce8cd.js","./BucketExplorer-5b537808950cfdb2d967.js","./DetailsDialog-EWjtBjle-5ba775af5588b02a6ed6.js","./VWidget-Dmqf_jKM-9036168adfc98945614f.js","./BarColumn-Dm3D1Lhp-c2c3ce1466eec0a3fe11.js","vue-router","vuex","vuetify"],function(d,W){"use strict";var l,i,a,o,s,u,c,m,n,r,g;return{setters:[e=>{l=e.default},e=>{i=e.default},e=>{a=e.default},e=>{o=e.o},e=>{s=e.resolveComponent,u=e.openBlock,c=e.createElementBlock,m=e.normalizeStyle,n=e.createVNode,r=e.mergeProps},e=>{g=e.s},null,null,null,null,null,null,null],execute:function(){const e={mixins:[o],components:{LabelWidget:l,ValueWidget:i,LimitscolumnWidget:a}};function p(t,S,w,x,V,y){const v=s("label-widget"),f=s("limitscolumn-widget"),j=s("value-widget");return u(),c("div",{ref:"container",style:m(t.computedStyle)},[n(v,{parameters:[t.parameters[2]],settings:[...t.appliedSettings],"widget-index":0},null,8,["parameters","settings"]),n(f,r(t.$attrs,{parameters:t.parameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"widget-index":2}),null,16,["parameters","settings","screen-values"]),n(j,r(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 B=d("default",g(e,[["render",p]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./LabelvalueWidget-CCZd1NXE-cec6c130ee113eab9a22.js","./RangebarWidget-DW0FJK6y-c984a69595fe0bb8514d.js","./Widget-orNSvnOh-3bb7e80962cb50dfe65f.js","vue","./main-1e9165296521295ce8cd.js","./LabelWidget-B_C6lKOE-4df235a597dafa77d277.js","./ValueWidget-CZh7JWwT-1b5cd369cb847f4db4e7.js","./BucketExplorer-5b537808950cfdb2d967.js","./DetailsDialog-EWjtBjle-5ba775af5588b02a6ed6.js","./VWidget-Dmqf_jKM-9036168adfc98945614f.js","vue-router","vuex","vuetify"],function(g,f){"use strict";var l,i,u,s,o,m,c,r,a,p;return{setters:[e=>{l=e.default},e=>{i=e.default},e=>{u=e.o},e=>{s=e.resolveComponent,o=e.openBlock,m=e.createElementBlock,c=e.normalizeStyle,r=e.createVNode,a=e.mergeProps},e=>{p=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,j,W,B,V,n){const h=s("labelvalue-widget"),v=s("rangebar-widget");return o(),m("div",{ref:"container",class:"d-flex flex-row",style:c(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",p(e,[["render",d]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./Widget-orNSvnOh-3bb7e80962cb50dfe65f.js","vue","./main-1e9165296521295ce8cd.js","./BucketExplorer-5b537808950cfdb2d967.js","vue-router","vuex","vuetify"],function(m,I){"use strict";var i,o,n,l,r,a,h,p,c;return{setters:[e=>{i=e.o},e=>{o=e.resolveComponent,n=e.openBlock,l=e.createBlock,r=e.withCtx,a=e.createElementVNode,h=e.mergeProps,p=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"),{"--height":this.height+"px","--width":this.width+"px","--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.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,x,u){const v=o("v-tooltip");return n(),l(v,{location:"top"},{activator:r(({props:g})=>[a("div",h({class:"led mt-1",style:u.cssProps},g),null,16)]),default:r(()=>[a("span",null,p(u.fullName),1)]),_:1})}const _=m("default",c(e,[["render",d],["__scopeId","data-v-8c5b4138"]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./BarColumn-Dm3D1Lhp-c2c3ce1466eec0a3fe11.js","vue","./main-1e9165296521295ce8cd.js","./Widget-orNSvnOh-3bb7e80962cb50dfe65f.js","./BucketExplorer-5b537808950cfdb2d967.js","vue-router","vuex","vuetify"],function(v,h){"use strict";var l,r,a,n,s,e,o,c,u;return{setters:[i=>{l=i.u},i=>{r=i.resolveComponent,a=i.openBlock,n=i.createBlock,s=i.withCtx,e=i.createElementVNode,o=i.mergeProps,c=i.toDisplayString},i=>{u=i.s},null,null,null,null,null],execute:function(){const i={mixins:[l],data(){return{width:160,height:22}},computed:{limitsRange(){let t=this.limitsSettings[this.selectedLimitsSet];return t.length===4?`RL/${t[0]} YL/${t[1]} YH/${t[2]} RH/${t[3]}`:`RL/${t[0]} YL/${t[1]} YH/${t[2]} RH/${t[3]} GL/${t[4]} GH/${t[5]}`}}};function _(t,m,$,w,y,d){const p=r("v-tooltip");return a(),n(p,{location:"top"},{activator:s(({props:g})=>[e("div",o({class:"limitsbar",style:[t.cssProps,t.computedStyle]},g),m[0]||(m[0]=[e("div",{class:"limitsbar__container"},[e("div",{class:"limitsbar__redlow"}),e("div",{class:"limitsbar__redhigh"}),e("div",{class:"limitsbar__yellowlow"}),e("div",{class:"limitsbar__yellowhigh"}),e("div",{class:"limitsbar__greenlow"}),e("div",{class:"limitsbar__greenhigh"}),e("div",{class:"limitsbar__blue"}),e("div",{class:"limitsbar__line"}),e("div",{class:"limitsbar__arrow"})],-1)]),16)]),default:s(()=>[e("span",null,c(d.limitsRange),1)]),_:1})}const b=v("default",u(i,[["render",_],["__scopeId","data-v-6677be5d"]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./VWidget-Dmqf_jKM-9036168adfc98945614f.js","vue","./main-1e9165296521295ce8cd.js","./BucketExplorer-5b537808950cfdb2d967.js","./Widget-orNSvnOh-3bb7e80962cb50dfe65f.js","vue-router","vuex","vuetify"],function(p,h){"use strict";var r,a,l,i,s,n,o,c;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=>{c=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 m(t,y,g,v,x,u){const d=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(u.cssProps)},null,4),o(d,{parameters:u.labelName,settings:t.appliedSettings,style:s(t.computedStyle),"widget-index":1},null,8,["parameters","settings","style"])],4)}const f=p("default",c(e,[["render",m],["__scopeId","data-v-87ec8e4f"]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./BarColumn-Dm3D1Lhp-c2c3ce1466eec0a3fe11.js","vue","./main-1e9165296521295ce8cd.js","./Widget-orNSvnOh-3bb7e80962cb50dfe65f.js","./BucketExplorer-5b537808950cfdb2d967.js","vue-router","vuex","vuetify"],function(r,v){"use strict";var s,a,l,c,d,h;return{setters:[i=>{s=i.u},i=>{a=i.openBlock,l=i.createElementBlock,c=i.normalizeStyle,d=i.createStaticVNode},i=>{h=i.s},null,null,null,null,null],execute:function(){const i={mixins:[s],data(){return{width:22,height:120}},computed:{cssProps:function(){let e=this.screenValues[this.valueId][0],t=this.modifyLimits(this.limitsSettings[this.selectedLimitsSet]);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+"%"}}}};function o(e,t,g,m,b,n){return a(),l("div",{class:"limitsbar",style:c([n.cssProps,e.computedStyle])},t[0]||(t[0]=[d('<div class="limitsbar__container" data-v-cadbf1c4><div class="limitsbar__redlow" data-v-cadbf1c4></div><div class="limitsbar__redhigh" data-v-cadbf1c4></div><div class="limitsbar__yellowlow" data-v-cadbf1c4></div><div class="limitsbar__yellowhigh" data-v-cadbf1c4></div><div class="limitsbar__greenlow" data-v-cadbf1c4></div><div class="limitsbar__greenhigh" data-v-cadbf1c4></div><div class="limitsbar__blue" data-v-cadbf1c4></div><div class="limitsbar__line" data-v-cadbf1c4></div><div class="limitsbar__arrow" data-v-cadbf1c4></div></div>',1)]),4)}const u=r("default",h(i,[["render",o],["__scopeId","data-v-cadbf1c4"]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./GraphWidget-LqekkNDr-da173601574048e1a1fc.js","./BucketExplorer-5b537808950cfdb2d967.js","vue","./main-1e9165296521295ce8cd.js","./Widget-orNSvnOh-3bb7e80962cb50dfe65f.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._},null,t=>{r=t.resolveComponent,o=t.openBlock,a=t.createBlock,l=t.normalizeStyle},t=>{d=t.s},null,null,null,null],execute:function(){const t={components:{Graph:i},mixins:[n]};function p(e,s,g,v,S,f){const c=r("graph");return o(),a(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:l(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",d(t,[["render",p]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./Layout-klOVw-YN-36ded4f02b701947153d.js","./BucketExplorer-5b537808950cfdb2d967.js","vue","./main-1e9165296521295ce8cd.js","./Widget-orNSvnOh-3bb7e80962cb50dfe65f.js","vue-router","vuex","vuetify"],function(h,C){"use strict";var o,u,n,r,m,l,a,g,p,d,k;return{setters:[e=>{o=e.r},e=>{u=e.K},e=>{n=e.openBlock,r=e.createElementBlock,m=e.normalizeStyle,l=e.Fragment,a=e.renderList,g=e.createBlock,p=e.resolveDynamicComponent,d=e.mergeProps},e=>{k=e.s},null,null,null,null],execute:function(){const e={mixins:[o],computed:{columns(){return parseInt(this.parameters[0])},widgetChunks(){return u.chunk(this.widgets,this.columns)}},created:function(){if(this.parameters[1]){let s=this.parameters[1];this.widgets.forEach(c=>{c.settings.find(i=>i[0]==="MARGIN"||i[0]==="RAW"&&i[1].toUpperCase().includes("MARGIN"))===void 0&&c.settings.push(["MARGIN",s])})}}};function v(s,c,i,b,A,y){return n(),r("table",{style:m(s.computedStyle),role:"presentation"},[(n(!0),r(l,null,a(y.widgetChunks,(f,w)=>(n(),r("tr",{key:"r"+w},[(n(!0),r(l,null,a(f,(t,B)=>(n(),r("td",{key:"c"+B},[(n(),g(p(t.type),d({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 N=h("default",k(e,[["render",v]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./Widget-orNSvnOh-3bb7e80962cb50dfe65f.js","vue","./main-1e9165296521295ce8cd.js","./BucketExplorer-5b537808950cfdb2d967.js","vue-router","vuex","vuetify"],function(i,p){"use strict";var s,r,a,l,n,u;return{setters:[e=>{s=e.o},e=>{r=e.resolveComponent,a=e.openBlock,l=e.createBlock,n=e.normalizeStyle},e=>{u=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,I,c){const h=r("rux-progress");return a(),l(h,{value:c._value,class:"progress",style:n(t.computedStyle)},null,8,["value","style"])}const d=i("default",u(e,[["render",o],["__scopeId","data-v-85bc2857"]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./Widget-orNSvnOh-3bb7e80962cb50dfe65f.js","vue","./main-1e9165296521295ce8cd.js","./BucketExplorer-5b537808950cfdb2d967.js","vue-router","vuex","vuetify"],function(s,d){"use strict";var l,t,n,r,o,a;return{setters:[e=>{l=e.o},e=>{t=e.resolveComponent,n=e.openBlock,r=e.createBlock,o=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:o(i.computedStyle),value:c.value},null,8,["label","style","value"])}const m=s("default",a(e,[["render",u]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./Layout-klOVw-YN-36ded4f02b701947153d.js","vue","./main-1e9165296521295ce8cd.js","./Widget-orNSvnOh-3bb7e80962cb50dfe65f.js","./BucketExplorer-5b537808950cfdb2d967.js","vue-router","vuex","vuetify"],function(h,B){"use strict";var l,a,n,s,o,c,i,u,m,d,p,v;return{setters:[e=>{l=e.r},e=>{a=e.resolveComponent,n=e.openBlock,s=e.createBlock,o=e.normalizeStyle,c=e.withCtx,i=e.createElementBlock,u=e.Fragment,m=e.renderList,d=e.resolveDynamicComponent,p=e.mergeProps},e=>{v=e.s},null,null,null,null,null],execute:function(){const e={mixins:[l],data(){return{selectedIndex:0}},created(){this.parameters[0]&&(this.selectedIndex=parseInt(this.parameters[0]))},methods:{selected(){return this.selectedIndex}}};function k(r,g,I,S,y,V){const f=a("v-radio-group");return n(),s(f,{"hide-details":"",density:"compact",modelValue:y.selectedIndex,"onUpdate:modelValue":g[0]||(g[0]=t=>y.selectedIndex=t),style:o(r.computedStyle)},{default:c(()=>[(n(!0),i(u,null,m(r.widgets,(t,x)=>(n(),s(d(t.type),p({ref_for:!0},r.listeners,{value:x,key:x,target:t.target,parameters:t.parameters,settings:t.settings,"screen-values":r.screenValues,"screen-time-zone":r.screenTimeZone,name:t.name}),null,16,["value","target","parameters","settings","screen-values","screen-time-zone","name"]))),128))]),_:1},8,["modelValue","style"])}const C=h("default",v(e,[["render",k]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./Widget-orNSvnOh-3bb7e80962cb50dfe65f.js","vue","./main-1e9165296521295ce8cd.js","./BucketExplorer-5b537808950cfdb2d967.js","vue-router","vuex","vuetify"],function(l,d){"use strict";var r,a,n,h,i,c;return{setters:[t=>{r=t.o},t=>{a=t.openBlock,n=t.createElementBlock,h=t.normalizeStyle,i=t.createElementVNode},t=>{c=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,v,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 m=l("default",c(t,[["render",o],["__scopeId","data-v-34d37e7c"]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./Widget-orNSvnOh-3bb7e80962cb50dfe65f.js","vue","./main-1e9165296521295ce8cd.js","./BucketExplorer-5b537808950cfdb2d967.js","vue-router","vuex","vuetify"],function(h,d){"use strict";var r,i,c,a,o,u;return{setters:[t=>{r=t.o},t=>{i=t.resolveComponent,c=t.openBlock,a=t.createBlock,o=t.normalizeStyle},t=>{u=t.s},null,null,null,null],execute:function(){const t={mixins:[r],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 m(e,n,s,b,E,l){const p=i("rux-monitoring-icon");return c(),a(p,{class:"rux-icon",style:o(l.pointerStyle),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=h("default",u(t,[["render",m]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./Layout-klOVw-YN-36ded4f02b701947153d.js","./VerticalWidget-Ch7VAEmz-ac356c2b467349921d10.js","vue","./main-1e9165296521295ce8cd.js","./Widget-orNSvnOh-3bb7e80962cb50dfe65f.js","./BucketExplorer-5b537808950cfdb2d967.js","vue-router","vuex","vuetify"],function(d,k){"use strict";var l,c,r,i,o,u,m,g,p,f,v;return{setters:[e=>{l=e.r},e=>{c=e.default},e=>{r=e.openBlock,i=e.createElementBlock,o=e.normalizeStyle,u=e.Fragment,m=e.renderList,g=e.createBlock,p=e.resolveDynamicComponent,f=e.mergeProps},e=>{v=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(s=>s[0]==="MARGIN"||s[0]==="RAW"&&s[1].toUpperCase().includes("MARGIN"))===void 0&&a.settings.push(["MARGIN",n])})}}};function y(n,a,s,B,N,V){return r(),i("div",{ref:"container",style:o(n.computedStyle),class:"overflow-y-auto"},[(r(!0),i(u,null,m(n.widgets,(t,h)=>(r(),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 w=d("default",v(e,[["render",y]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./VWidget-Dmqf_jKM-9036168adfc98945614f.js","vue","./main-1e9165296521295ce8cd.js","./BucketExplorer-5b537808950cfdb2d967.js","./Widget-orNSvnOh-3bb7e80962cb50dfe65f.js","vue-router","vuex","vuetify"],function(h,m){"use strict";var r,a,s,n,i,l,c,o;return{setters:[t=>{r=t.L},t=>{a=t.resolveComponent,s=t.openBlock,n=t.createBlock,i=t.withCtx,l=t.createTextVNode,c=t.toDisplayString},t=>{o=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 p(e,v,B,f,k,u){const d=a("v-icon");return s(),n(d,{onClick:u.clickHandler},{default:i(()=>[l(c(u.displayedIcon),1)]),_:1},8,["onClick"])}const g=h("default",o(t,[["render",p]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./Widget-orNSvnOh-3bb7e80962cb50dfe65f.js","vue","./main-1e9165296521295ce8cd.js","./BucketExplorer-5b537808950cfdb2d967.js","vue-router","vuex","vuetify"],function(u,c){"use strict";var t,n,s,r,l;return{setters:[e=>{t=e.o},e=>{n=e.openBlock,s=e.createElementBlock,r=e.normalizeStyle},e=>{l=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 i(o,m,p,h,v,d){return n(),s("div",{style:r(o.computedStyle)},null,4)}const a=u("default",l(e,[["render",i]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./GraphWidget-LqekkNDr-da173601574048e1a1fc.js","./BucketExplorer-5b537808950cfdb2d967.js","vue","./main-1e9165296521295ce8cd.js","./Widget-orNSvnOh-3bb7e80962cb50dfe65f.js","vue-router","vuex","vuetify"],function(l,c){"use strict";var i,s,n,r,a,o,d;return{setters:[t=>{i=t.S,s=t._},null,t=>{n=t.resolveComponent,r=t.openBlock,a=t.createBlock,o=t.normalizeStyle},t=>{d=t.s},null,null,null,null],execute:function(){const t={components:{Graph:i},mixins:[s],data:function(){return{secondsGraphed:300,pointsSaved:300,pointsGraphed:300,size:{height:30,width:130}}}};function p(e,g,m,v,S,f){const h=n("graph");return r(),a(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:o(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",d(t,[["render",p]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./Layout-klOVw-YN-36ded4f02b701947153d.js","vue","./main-1e9165296521295ce8cd.js","./Widget-orNSvnOh-3bb7e80962cb50dfe65f.js","./BucketExplorer-5b537808950cfdb2d967.js","vue-router","vuex","vuetify"],function(k,_){"use strict";var p,a,n,s,g,v,i,c,o,u,y,f,w,b,V;return{setters:[e=>{p=e.r},e=>{a=e.resolveComponent,n=e.openBlock,s=e.createElementBlock,g=e.createVNode,v=e.normalizeStyle,i=e.withCtx,c=e.Fragment,o=e.renderList,u=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,j,D,L){const T=a("v-tab"),B=a("v-tabs"),N=a("v-window-item"),S=a("v-window");return n(),s("div",null,[g(B,{modelValue:t.curTab,"onUpdate:modelValue":m[0]||(m[0]=l=>t.curTab=l),style:v(t.computedStyle)},{default:i(()=>[(n(!0),s(c,null,o(t.widgets,(l,d)=>(n(),u(T,{key:d},{default:i(()=>[y(f(l.parameters[0]),1)]),_:2},1024))),128))]),_:1},8,["modelValue","style"]),g(S,{modelValue:t.curTab,"onUpdate:modelValue":m[1]||(m[1]=l=>t.curTab=l)},{default:i(()=>[(n(!0),s(c,null,o(t.widgets,(l,d)=>(n(),u(N,{key:d},{default:i(()=>[(n(!0),s(c,null,o(l.widgets,(r,C)=>(n(),u(w(r.type),b({ref_for:!0},t.listeners,{key:`${d}-${C}`,target:r.target,parameters:r.parameters,settings:r.settings,"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone,widgets:r.widgets,name:r.name,line:r.line,"line-number":r.lineNumber}),null,16,["target","parameters","settings","screen-values","screen-time-zone","widgets","name","line","line-number"]))),128))]),_:2},1024))),128))]),_:1},8,["modelValue"])])}const h=k("default",V(e,[["render",x]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./BucketExplorer-5b537808950cfdb2d967.js","vue","./main-1e9165296521295ce8cd.js","./DetailsDialog-EWjtBjle-5ba775af5588b02a6ed6.js","./VWidget-Dmqf_jKM-9036168adfc98945614f.js","vue-router","vuex","vuetify","./Widget-orNSvnOh-3bb7e80962cb50dfe65f.js"],function(y,N){"use strict";var a,s,o,n,c,u,l,m,d,h,p,g,v,x,f,w;return{setters:[null,e=>{a=e.resolveComponent,s=e.openBlock,o=e.createElementBlock,n=e.createVNode,c=e.normalizeClass,u=e.normalizeStyle,l=e.withCtx,m=e.Fragment,d=e.renderList,h=e.createBlock,p=e.withModifiers,g=e.createTextVNode,v=e.toDisplayString},e=>{x=e.s},e=>{f=e.P},e=>{w=e.L},null,null,null,null],execute:function(){const e={components:{DetailsDialog:f},data:function(){return{width:200,height:200}},mixins:[w],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}}},C={class:"textbox-widget-container"};function k(t,r,T,L,W,V){const D=a("v-textarea"),S=a("v-list-item-title"),B=a("v-list-item"),j=a("v-list"),_=a("v-menu"),E=a("details-dialog");return s(),o("div",C,[n(D,{variant:"solo",density:"compact",readonly:"","no-resize":"","auto-grow":"",rows:"2","hide-details":"","model-value":t._value,class:c(t.valueClass),style:u([t.computedStyle,V.aging]),"data-test":"valueText",onContextmenu:t.showContextMenu},null,8,["model-value","class","style","onContextmenu"]),n(_,{modelValue:t.contextMenuShown,"onUpdate:modelValue":r[0]||(r[0]=i=>t.contextMenuShown=i),target:[t.x,t.y]},{default:l(()=>[n(j,null,{default:l(()=>[(s(!0),o(m,null,d(t.contextMenuOptions,(i,M)=>(s(),h(B,{key:M,onClick:p(i.action,["stop"])},{default:l(()=>[n(S,null,{default:l(()=>[g(v(i.title),1)]),_:2},1024)]),_:2},1032,["onClick"]))),128))]),_:1})]),_:1},8,["modelValue","target"]),n(E,{"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 z=y("default",x(e,[["render",k],["__scopeId","data-v-10f560aa"]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./Widget-orNSvnOh-3bb7e80962cb50dfe65f.js","vue","./main-1e9165296521295ce8cd.js","./BucketExplorer-5b537808950cfdb2d967.js","vue-router","vuex","vuetify"],function(i,h){"use strict";var t,l,n,r,s,o;return{setters:[e=>{t=e.o},e=>{l=e.resolveComponent,n=e.openBlock,r=e.createBlock,s=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,a,y,f,u,x){const v=l("v-text-field");return n(),r(v,{variant:"solo",density:"compact","single-line":"","hide-no-data":"","hide-details":"",modelValue:u.value,"onUpdate:modelValue":a[0]||(a[0]=m=>u.value=m),style:s(d.computedStyle)},null,8,["modelValue","style"])}const p=i("default",o(e,[["render",c]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./Widget-orNSvnOh-3bb7e80962cb50dfe65f.js","./BucketExplorer-5b537808950cfdb2d967.js","vue","./main-1e9165296521295ce8cd.js","vue-router","vuex","vuetify"],function(m,v){"use strict";var l,r,i,n,a,s,o;return{setters:[e=>{l=e.o},e=>{r=e.P},e=>{i=e.resolveComponent,n=e.openBlock,a=e.createBlock,s=e.normalizeStyle},e=>{o=e.s},null,null,null],execute:function(){const e={mixins:[l,r],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,V,f,t,x){const h=i("v-text-field");return n(),a(h,{modelValue:t.timeValue,"onUpdate:modelValue":u[0]||(u[0]=p=>t.timeValue=p),label:t.label,style:s(d.computedStyle),type:"time","hide-details":""},null,8,["modelValue","label","style"])}const y=m("default",o(e,[["render",c]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./Widget-orNSvnOh-3bb7e80962cb50dfe65f.js","vue","./main-1e9165296521295ce8cd.js","./BucketExplorer-5b537808950cfdb2d967.js","vue-router","vuex","vuetify"],function(a,p){"use strict";var t,r,n,l,o,s;return{setters:[e=>{t=e.o},e=>{r=e.openBlock,n=e.createElementBlock,l=e.normalizeStyle,o=e.toDisplayString},e=>{s=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 c(i,x,f,y,h,u){return r(),n("span",{class:"text-h5 text-center pa-1 mt-1 label",style:l(i.computedStyle)},o(u.labelText),5)}const m=a("default",s(e,[["render",c]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./BucketExplorer-5b537808950cfdb2d967.js","vue","./main-1e9165296521295ce8cd.js","./DetailsDialog-EWjtBjle-5ba775af5588b02a6ed6.js","./VWidget-Dmqf_jKM-9036168adfc98945614f.js","vue-router","vuex","vuetify","./Widget-orNSvnOh-3bb7e80962cb50dfe65f.js"],function(w,W){"use strict";var a,r,o,c,n,l,d,m,p,u,v,g,h,f,x,y,V,k;return{setters:[null,e=>{a=e.resolveComponent,r=e.openBlock,o=e.createElementBlock,c=e.normalizeStyle,n=e.createVNode,l=e.withCtx,d=e.mergeProps,m=e.createSlots,p=e.createElementVNode,u=e.toDisplayString,v=e.Fragment,g=e.renderList,h=e.createBlock,f=e.withModifiers,x=e.createTextVNode},e=>{y=e.s},e=>{V=e.P},e=>{k=e.L},null,null,null,null],execute:function(){const E={components:{DetailsDialog:V},mixins:[k],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 C(t,i,U,I,z,S){const _=a("rux-status"),D=a("v-text-field"),N=a("v-tooltip"),B=a("v-list-item-title"),j=a("v-list-item"),L=a("v-list"),M=a("v-menu"),T=a("details-dialog");return r(),o("div",{class:"value-widget-container",style:c([t.computedStyle,S.aging])},[n(N,{location:"top"},{activator:l(({props:s})=>[n(D,d({variant:"solo",density:"compact",flat:"",readonly:"","hide-details":"","model-value":t._value,class:t.valueClass,"data-test":"value",onContextmenu:t.showContextMenu},s),m({_:2},[t.astroStatus?{name:"prepend-inner",fn:l(()=>[n(_,{status:t.astroStatus},null,8,["status"])]),key:"0"}:void 0]),1040,["model-value","class","onContextmenu"])]),default:l(()=>[p("span",null,u(S.fullName),1)]),_:1}),n(M,{modelValue:t.contextMenuShown,"onUpdate:modelValue":i[0]||(i[0]=s=>t.contextMenuShown=s),target:[t.x,t.y],style:{"z-index":"3000"}},{default:l(()=>[n(L,null,{default:l(()=>[(r(!0),o(v,null,g(t.contextMenuOptions,(s,P)=>(r(),h(j,{key:P,onClick:f(s.action,["stop"])},{default:l(()=>[n(B,null,{default:l(()=>[x(u(s.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":i[1]||(i[1]=s=>t.viewDetails=s)},null,8,["target-name","packet-name","item-name","modelValue"])],4)}const A=w("default",y(E,[["render",C],["__scopeId","data-v-c21e4dde"]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./ValueWidget-CZh7JWwT-1b5cd369cb847f4db4e7.js","./LimitsbarWidget-JJiyzZjb-8e568c13daceebfafb30.js","./Widget-orNSvnOh-3bb7e80962cb50dfe65f.js","vue","./main-1e9165296521295ce8cd.js","./BucketExplorer-5b537808950cfdb2d967.js","./DetailsDialog-EWjtBjle-5ba775af5588b02a6ed6.js","./VWidget-Dmqf_jKM-9036168adfc98945614f.js","vue-router","vuex","vuetify","./BarColumn-Dm3D1Lhp-c2c3ce1466eec0a3fe11.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 p(t,x,y,V,W,w){const d=s("value-widget"),v=s("limitsbar-widget");return o(),u("div",{ref:"container",class:"d-flex flex-row",style:c(t.computedStyle)},[n(d,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}),null,16,["parameters","settings","screen-values"])],4)}const j=g("default",m(e,[["render",p]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./ValueWidget-CZh7JWwT-1b5cd369cb847f4db4e7.js","./LimitscolumnWidget-Cd76tBo7-506f3ee3bba6cb39bdfe.js","./Widget-orNSvnOh-3bb7e80962cb50dfe65f.js","vue","./main-1e9165296521295ce8cd.js","./BucketExplorer-5b537808950cfdb2d967.js","./DetailsDialog-EWjtBjle-5ba775af5588b02a6ed6.js","./VWidget-Dmqf_jKM-9036168adfc98945614f.js","vue-router","vuex","vuetify","./BarColumn-Dm3D1Lhp-c2c3ce1466eec0a3fe11.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,LimitscolumnWidget:i}};function p(t,B,V,W,S,k){const d=s("limitscolumn-widget"),v=s("value-widget");return o(),u("div",{ref:"container",style:c(t.computedStyle)},[n(d,r(t.$attrs,{parameters:t.parameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"widget-index":1}),null,16,["parameters","settings","screen-values"]),n(v,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"])],4)}const j=g("default",m(e,[["render",p]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./ValueWidget-CZh7JWwT-1b5cd369cb847f4db4e7.js","./RangebarWidget-DW0FJK6y-c984a69595fe0bb8514d.js","./Widget-orNSvnOh-3bb7e80962cb50dfe65f.js","vue","./main-1e9165296521295ce8cd.js","./BucketExplorer-5b537808950cfdb2d967.js","./DetailsDialog-EWjtBjle-5ba775af5588b02a6ed6.js","./VWidget-Dmqf_jKM-9036168adfc98945614f.js","vue-router","vuex","vuetify"],function(g,f){"use strict";var n,i,l,r,u,m,o,s,a,c;return{setters:[e=>{n=e.default},e=>{i=e.default},e=>{l=e.o},e=>{r=e.resolveComponent,u=e.openBlock,m=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,W,x,B,S,p){const v=r("value-widget"),h=r("rangebar-widget");return u(),m("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 j=g("default",c(e,[["render",d]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./Layout-klOVw-YN-36ded4f02b701947153d.js","vue","./main-1e9165296521295ce8cd.js","./Widget-orNSvnOh-3bb7e80962cb50dfe65f.js","./BucketExplorer-5b537808950cfdb2d967.js","vue-router","vuex","vuetify"],function(v,k){"use strict";var a,r,i,c,o,u,m,g,p,f;return{setters:[e=>{a=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:[a],created:function(){if(this.parameters[0]){let n=this.parameters[0];this.widgets.forEach(l=>{l.settings.find(s=>s[0]==="MARGIN"||s[0]==="RAW"&&s[1].toUpperCase().includes("MARGIN"))===void 0&&l.settings.push(["MARGIN",n])})}}};function y(n,l,s,B,w,x){return r(),i("div",{ref:"container",class:"d-flex flex-column",style:c(n.computedStyle)},[(r(!0),i(o,null,u(n.widgets,(t,d)=>(r(),m(g(t.type),p({ref_for:!0},n.listeners,{key:d,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 h=v("default",f(e,[["render",y]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./VerticalWidget-Ch7VAEmz-ac356c2b467349921d10.js","./Layout-klOVw-YN-36ded4f02b701947153d.js","vue","./main-1e9165296521295ce8cd.js","./Widget-orNSvnOh-3bb7e80962cb50dfe65f.js","./BucketExplorer-5b537808950cfdb2d967.js","vue-router","vuex","vuetify"],function(m,x){"use strict";var s,l,n,i,a,r,c,o,u,g,p,v;return{setters:[e=>{s=e.default},e=>{l=e.r},e=>{n=e.resolveComponent,i=e.openBlock,a=e.createElementBlock,r=e.createVNode,c=e.normalizeStyle,o=e.withCtx,u=e.createTextVNode,g=e.toDisplayString,p=e.mergeProps},e=>{v=e.s},null,null,null,null,null],execute:function(){const e={mixins:[l],components:{VerticalWidget:s}};function d(t,w,k,S,N,j){const y=n("v-banner"),V=n("vertical-widget");return i(),a("div",null,[r(y,{class:"boxbanner",style:c(t.computedStyle),"single-line":""},{default:o(()=>[u(g(t.parameters[0]),1)]),_:1},8,["style"]),r(V,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 f=m("default",v(e,[["render",d],["__scopeId","data-v-832aa5cd"]]))}}});
|