openc3-cosmos-tool-scriptrunner 5.20.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/plugin.txt +1 -1
- data/tools/scriptrunner/ArrayWidget-BTxChSds-b442fb0c83806f2a7155.js +2 -0
- data/tools/scriptrunner/BarColumn-Cdu3OoMa-5759d627d12ac570f7c2.js +1 -0
- data/tools/scriptrunner/BlockWidget-PmjzrkXF-66124d27fec936836764.js +2 -0
- data/tools/scriptrunner/ButtonWidget-nwDlOBJT-74b0307919435ba34bc0.js +2 -0
- data/tools/scriptrunner/CanvasWidget-BL8930eT-27842c7c22b339b98e51.js +1 -0
- data/tools/scriptrunner/CanvasdotWidget-VCf1fL-G-3222ffa0793edfcc58b9.js +1 -0
- data/tools/scriptrunner/CanvasimageWidget-BIw7Wbf2-da3e74a41067206c20c7.js +1 -0
- data/tools/scriptrunner/CanvasimagevalueWidget-CE3Dj5bH-402c7188c011ef3c6974.js +1 -0
- data/tools/scriptrunner/CanvaslabelWidget-DWmb356h-45266fb96c5c19e29535.js +1 -0
- data/tools/scriptrunner/CanvaslabelvalueWidget-CI3yYwFs-d47df2b589764613f819.js +1 -0
- data/tools/scriptrunner/CanvaslineWidget-COeapH3P-99c09c560599b697ce65.js +1 -0
- data/tools/scriptrunner/CanvaslinevalueWidget-CI-Bbzfi-1411f381997d7567aa3b.js +1 -0
- data/tools/scriptrunner/CheckbuttonWidget-BQhggcZ2-2c444bdd2fdec2093442.js +1 -0
- data/tools/scriptrunner/ComboboxWidget-BzsbOv54-625fab6cb3f3fac91459.js +1 -0
- data/tools/scriptrunner/CriticalCmdDialog-BjoqcWTu-baf2855f2bf6cdf762fb.js +1 -0
- data/tools/scriptrunner/DateWidget-B5R_9rA8-bf0e9b2c2d844495dd04.js +1 -0
- data/tools/scriptrunner/DetailsDialog-DLRMqetn-2b3771b90f4044ac6771.js +1 -0
- data/tools/scriptrunner/DynamicWidget-m9EliUR2-d64e51887657bfc4d03f.js +1 -0
- data/tools/scriptrunner/FormatvalueWidget-DZkRJce8-7421198bc6589347b0a4.js +1 -0
- data/tools/scriptrunner/GraphWidget-amwxyH1r-46f252ec6f59cf6dddd0.js +1 -0
- data/tools/scriptrunner/HorizontalWidget-CirtfuL8-dc699acf1b526f0a14c4.js +1 -0
- data/tools/scriptrunner/HorizontalboxWidget-CyTDt2nl-4e0a6393e5e21e54b369.js +1 -0
- data/tools/scriptrunner/HorizontallineWidget-BdlNB951-6bf4113b8d85559b4492.js +1 -0
- data/tools/scriptrunner/IframeWidget-DnJmCrCA-f3667cd357ba9a81dcc4.js +1 -0
- data/tools/scriptrunner/ImageLoader-CpcR6tPi-c4f247a819912f328147.js +1 -0
- data/tools/scriptrunner/ImageviewerWidget-DIkmb_C9-57e0b16d4cc3b0795a4e.js +1 -0
- data/tools/scriptrunner/LabelWidget-BDsypYho-82779e87dbb6e157d403.js +1 -0
- data/tools/scriptrunner/LabelledWidget-DjturGl5-ac54d7a82f0cf056bf05.js +1 -0
- data/tools/scriptrunner/LabelprogressbarWidget-RADJGLj3-ff7bcc6fbf5aed7ad6eb.js +1 -0
- data/tools/scriptrunner/LabelsparklineWidget-BlJoICxu-549dff62b17f07fa1a4d.js +1 -0
- data/tools/scriptrunner/LabelvalueWidget-DVWJqnlY-4b8678af8e6c3843f1af.js +1 -0
- data/tools/scriptrunner/LabelvaluedescWidget-CsUP7J4U-6425f7244247c5e8f75b.js +1 -0
- data/tools/scriptrunner/LabelvaluelimitsbarWidget-Blj1QXV8-8cf7ae38507f8066ee5d.js +1 -0
- data/tools/scriptrunner/LabelvaluelimitscolumnWidget-CvCo-uCe-9b7a1a45724b4dabdffb.js +1 -0
- data/tools/scriptrunner/LabelvaluerangebarWidget-DpcXhlfF-1b6fdabef37a98d952b9.js +1 -0
- data/tools/scriptrunner/Layout-C1HoM4Kl-d29c2656e1dc91cbadf0.js +1 -0
- data/tools/scriptrunner/LedWidget-B_K2e5tq-677c4976f93116291b06.js +1 -0
- data/tools/scriptrunner/LimitsbarWidget-DXbqsi4J-606f0852c745b1d75a71.js +1 -0
- data/tools/scriptrunner/LimitscolorWidget-Ckmuw0YX-2b83ce7b7afe3b4b87c2.js +1 -0
- data/tools/scriptrunner/LimitscolumnWidget-BfY4su5U-f683680d74b03d48214e.js +1 -0
- data/tools/scriptrunner/LinegraphWidget-y-Qy9P0R-c7ed03e2084fae4a0342.js +1 -0
- data/tools/scriptrunner/MatrixbycolumnsWidget-BTBColrs-a5637f85840ad0341e64.js +1 -0
- data/tools/scriptrunner/ProgressbarWidget-DpA_-vy9-5b5d66bee554250ddd13.js +1 -0
- data/tools/scriptrunner/RadiobuttonWidget-BO8zpgwW-5c50d2cff32ebf5ecae0.js +1 -0
- data/tools/scriptrunner/RadiogroupWidget-Oy7V4S-V-84b6b69f058ff364a77e.js +1 -0
- data/tools/scriptrunner/RangebarWidget-DHS7S3vI-831b1aa9bf7ada4c8982.js +1 -0
- data/tools/scriptrunner/RollupWidget-CTk9Kjwr-fee4b52c2d0ac0675fa1.js +1 -0
- data/tools/scriptrunner/ScriptRunner-b8a3addf4ef3e33ba3d1.js +96 -0
- data/tools/scriptrunner/ScrollwindowWidget-DD0TOW6s-d21f3e99b6007f66c57a.js +1 -0
- data/tools/scriptrunner/SignalWidget-CC33KMTW-25a228f34c6e80a7177b.js +1 -0
- data/tools/scriptrunner/SpacerWidget-BnJe_Hq6-37bfb1d7ec6d46304caa.js +1 -0
- data/tools/scriptrunner/SparklineWidget-DMvMQCPm-4332f55116114aa68aef.js +1 -0
- data/tools/scriptrunner/TabbookWidget-B3w0JtWe-a8d257e93d6ef21500c8.js +1 -0
- data/tools/scriptrunner/TextboxWidget-D2f0-eol-bb94d6677ee14cd32fcf.js +1 -0
- data/tools/scriptrunner/TextfieldWidget-DXSdgqVP-d6bcda166a9140bd23e6.js +1 -0
- data/tools/scriptrunner/TimeWidget-DvrRaEMz-a98384f80e069ba5d4bd.js +1 -0
- data/tools/scriptrunner/TitleWidget-DqViFQl--df54f3619e4f303b1373.js +1 -0
- data/tools/scriptrunner/VWidget-02CG-3Av-9579e154442a96ddbf76.js +1 -0
- data/tools/scriptrunner/ValueWidget-KLYY8L8U-96ee5f0706e36c6885e6.js +1 -0
- data/tools/scriptrunner/ValuelimitsbarWidget-SR8XNZFB-58ea8b55d6ece94d270a.js +1 -0
- data/tools/scriptrunner/ValuelimitscolumnWidget-xYZSp6YZ-906fdefa13c32c7e4d3c.js +1 -0
- data/tools/scriptrunner/ValuerangebarWidget-B6M02a9d-f4b7a4b9709d461258c0.js +1 -0
- data/tools/scriptrunner/VerticalWidget-z6xUM-ql-6daf5ea34d2f88e2414e.js +1 -0
- data/tools/scriptrunner/VerticalboxWidget-3a9cVsW--b38be144237c8662c1fd.js +1 -0
- data/tools/scriptrunner/Widget-C4QVI4IH-fe10a78e0f883ba2b0f8.js +1 -0
- data/tools/scriptrunner/addMonths-BdRI44Cs-495ddb75f786e4f5c19b.js +1 -0
- data/tools/scriptrunner/main-26581a6a2cf6f9faf01c.js +1425 -0
- data/tools/scriptrunner/main.js +1 -0
- metadata +70 -11
- data/tools/scriptrunner/index.html +0 -4
- data/tools/scriptrunner/js/272.js +0 -2
- data/tools/scriptrunner/js/272.js.map +0 -1
- data/tools/scriptrunner/js/705.js +0 -2
- data/tools/scriptrunner/js/705.js.map +0 -1
- data/tools/scriptrunner/js/729.js +0 -18
- data/tools/scriptrunner/js/729.js.map +0 -1
- data/tools/scriptrunner/js/app.js +0 -2
- data/tools/scriptrunner/js/app.js.map +0 -1
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./Layout-C1HoM4Kl-d29c2656e1dc91cbadf0.js","./VerticalWidget-z6xUM-ql-6daf5ea34d2f88e2414e.js","vue","./main-26581a6a2cf6f9faf01c.js","./Widget-C4QVI4IH-fe10a78e0f883ba2b0f8.js","vue-router","single-spa","vuex","vuetify"],function(v,k){"use strict";var l,c,s,i,o,u,m,g,p,f,d;return{setters:[e=>{l=e.r},e=>{c=e.default},e=>{s=e.openBlock,i=e.createElementBlock,o=e.normalizeStyle,u=e.Fragment,m=e.renderList,g=e.createBlock,p=e.resolveDynamicComponent,f=e.mergeProps},e=>{d=e.s},null,null,null,null,null],execute:function(){const e={mixins:[l],components:{VerticalWidget:c},created:function(){if(this.setHeight(this.parameters[0],"px",200),this.parameters[1]){let n=this.parameters[1];this.widgets.forEach(a=>{a.settings.find(r=>r[0]==="MARGIN"||r[0]==="RAW"&&r[1].toUpperCase().includes("MARGIN"))===void 0&&a.settings.push(["MARGIN",n])})}}};function y(n,a,r,B,x,z){return s(),i("div",{ref:"container",style:o(n.computedStyle),class:"overflow-y-auto"},[(s(!0),i(u,null,m(n.widgets,(t,h)=>(s(),g(p(t.type),f({ref_for:!0},n.listeners,{key:h,target:t.target,parameters:t.parameters,settings:t.settings,"screen-values":n.screenValues,"screen-time-zone":n.screenTimeZone,widgets:t.widgets,name:t.name,line:t.line,"line-number":t.lineNumber}),null,16,["target","parameters","settings","screen-values","screen-time-zone","widgets","name","line","line-number"]))),128))],4)}const w=v("default",d(e,[["render",y]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./VWidget-02CG-3Av-9579e154442a96ddbf76.js","vue","./main-26581a6a2cf6f9faf01c.js","./Widget-C4QVI4IH-fe10a78e0f883ba2b0f8.js","vue-router","single-spa","vuex","vuetify"],function(p,g){"use strict";var r,a,s,l,n,i,c,o,u;return{setters:[t=>{r=t.L},t=>{a=t.resolveComponent,s=t.openBlock,l=t.createBlock,n=t.normalizeStyle,i=t.withCtx,c=t.createTextVNode,o=t.toDisplayString},t=>{u=t.s},null,null,null,null,null],execute:function(){const t={mixins:[r],props:{value:{default:null}},data:function(){return{item:null,oneBar:30,twoBar:60,threeBar:90}},computed:{displayedIcon:function(){let e="mdi-signal-cellular-outline";return this._value>=this.oneBar&&(e="mdi-signal-cellular-1"),this._value>=this.twoBar&&(e="mdi-signal-cellular-2"),this._value>=this.threeBar&&(e="mdi-signal-cellular-3"),e}},created(){this.appliedSettings.forEach(e=>{switch(e[0].toUpperCase()){case"SCREEN":this.screenTarget=e[1],this.screenName=e[2];break;case"VALUES":this.oneBar=parseFloat(e[1]),this.twoBar=parseFloat(e[2]),this.threeBar=parseFloat(e[3]);break}})},methods:{getType(){let e="CONVERTED";return this.parameters[3]=="RAW"&&(e="RAW"),e},clickHandler(){this.screenTarget&&this.screenName&&this.$emit("open",this.screenTarget,this.screenName)}}};function d(e,B,y,f,C,h){const m=a("v-icon");return s(),l(m,{onClick:h.clickHandler,style:n(e.computedStyle)},{default:i(()=>[c(o(h.displayedIcon),1)]),_:1},8,["onClick","style"])}const v=p("default",u(t,[["render",d]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./Widget-C4QVI4IH-fe10a78e0f883ba2b0f8.js","vue","./main-26581a6a2cf6f9faf01c.js","vue-router","single-spa","vuex","vuetify"],function(i,o){"use strict";var t,n,s,l,r;return{setters:[e=>{t=e.o},e=>{n=e.openBlock,s=e.createElementBlock,l=e.normalizeStyle},e=>{r=e.s},null,null,null,null],execute:function(){const e={mixins:[t],created(){this.settings.push(["WIDTH",this.parameters[0]]),this.settings.push(["HEIGHT",this.parameters[1]])}};function u(c,m,p,h,d,v){return n(),s("div",{style:l(c.computedStyle)},null,4)}const a=i("default",r(e,[["render",u]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./GraphWidget-amwxyH1r-46f252ec6f59cf6dddd0.js","./main-26581a6a2cf6f9faf01c.js","vue","single-spa","./Widget-C4QVI4IH-fe10a78e0f883ba2b0f8.js","./addMonths-BdRI44Cs-495ddb75f786e4f5c19b.js","vue-router","vuex","vuetify"],function(l,c){"use strict";var s,i,n,r,a,d,o;return{setters:[t=>{s=t.S,i=t._},t=>{n=t.s},t=>{r=t.resolveComponent,a=t.openBlock,d=t.createBlock,o=t.normalizeStyle},null,null,null,null,null,null],execute:function(){const t={components:{Graph:s},mixins:[i],data:function(){return{secondsGraphed:300,pointsSaved:300,pointsGraphed:300,size:{height:30,width:130}}}};function p(e,g,m,v,y,f){const h=r("graph");return a(),d(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",n(t,[["render",p]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./Layout-C1HoM4Kl-d29c2656e1dc91cbadf0.js","vue","./main-26581a6a2cf6f9faf01c.js","./Widget-C4QVI4IH-fe10a78e0f883ba2b0f8.js","vue-router","single-spa","vuex","vuetify"],function(k,z){"use strict";var p,l,n,s,g,v,i,c,o,u,y,f,w,b,V;return{setters:[e=>{p=e.r},e=>{l=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 C(t,m,h,D,L,$){const T=l("v-tab"),x=l("v-tabs"),B=l("v-window-item"),S=l("v-window");return n(),s("div",null,[g(x,{modelValue:t.curTab,"onUpdate:modelValue":m[0]||(m[0]=a=>t.curTab=a),style:v(t.computedStyle)},{default:i(()=>[(n(!0),s(c,null,o(t.widgets,(a,d)=>(n(),u(T,{key:d},{default:i(()=>[y(f(a.parameters[0]),1)]),_:2},1024))),128))]),_:1},8,["modelValue","style"]),g(S,{modelValue:t.curTab,"onUpdate:modelValue":m[1]||(m[1]=a=>t.curTab=a)},{default:i(()=>[(n(!0),s(c,null,o(t.widgets,(a,d)=>(n(),u(B,{key:d},{default:i(()=>[(n(!0),s(c,null,o(a.widgets,(r,N)=>(n(),u(w(r.type),b({ref_for:!0},t.listeners,{key:`${d}-${N}`,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 _=k("default",V(e,[["render",C]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./main-26581a6a2cf6f9faf01c.js","vue","./DetailsDialog-DLRMqetn-2b3771b90f4044ac6771.js","single-spa","./VWidget-02CG-3Av-9579e154442a96ddbf76.js","vue-router","vuex","vuetify","./Widget-C4QVI4IH-fe10a78e0f883ba2b0f8.js"],function(y,N){"use strict";var c,a,s,r,n,u,d,l,m,h,g,p,v,x,f,w;return{setters:[e=>{c=e.s},e=>{a=e.resolveComponent,s=e.openBlock,r=e.createElementBlock,n=e.createVNode,u=e.normalizeClass,d=e.normalizeStyle,l=e.withCtx,m=e.Fragment,h=e.renderList,g=e.createBlock,p=e.withModifiers,v=e.createTextVNode,x=e.toDisplayString},e=>{f=e.P},null,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 V(t,o,E,j,F,k){const D=a("v-textarea"),S=a("v-list-item-title"),_=a("v-list-item"),B=a("v-list"),M=a("v-menu"),z=a("details-dialog");return s(),r("div",C,[n(D,{variant:"solo",density:"compact",readonly:"","no-resize":"","auto-grow":"",rows:"2","hide-details":"","model-value":t._value,class:u(t.valueClass),style:d([t.computedStyle,k.aging]),"data-test":"valueText",onContextmenu:t.showContextMenu},null,8,["model-value","class","style","onContextmenu"]),n(M,{modelValue:t.contextMenuShown,"onUpdate:modelValue":o[0]||(o[0]=i=>t.contextMenuShown=i),target:[t.x,t.y]},{default:l(()=>[n(B,null,{default:l(()=>[(s(!0),r(m,null,h(t.contextMenuOptions,(i,L)=>(s(),g(_,{key:L,onClick:p(i.action,["stop"])},{default:l(()=>[n(S,null,{default:l(()=>[v(x(i.title),1)]),_:2},1024)]),_:2},1032,["onClick"]))),128))]),_:1})]),_:1},8,["modelValue","target"]),n(z,{"target-name":t.parameters[0],"packet-name":t.parameters[1],"item-name":t.parameters[2],modelValue:t.viewDetails,"onUpdate:modelValue":o[1]||(o[1]=i=>t.viewDetails=i)},null,8,["target-name","packet-name","item-name","modelValue"])])}const T=y("default",c(e,[["render",V],["__scopeId","data-v-10f560aa"]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./Widget-C4QVI4IH-fe10a78e0f883ba2b0f8.js","vue","./main-26581a6a2cf6f9faf01c.js","vue-router","single-spa","vuex","vuetify"],function(i,h){"use strict";var t,l,n,s,a,o;return{setters:[e=>{t=e.o},e=>{l=e.resolveComponent,n=e.openBlock,s=e.createBlock,a=e.normalizeStyle},e=>{o=e.s},null,null,null,null],execute:function(){const e={mixins:[t],data(){return{value:null}},created(){this.setWidth(this.parameters[0],"ch",12),this.parameters[1]&&(this.value=this.parameters[1])},methods:{text(){return this.value}}};function c(d,r,y,f,u,x){const m=l("v-text-field");return n(),s(m,{variant:"solo",density:"compact","single-line":"","hide-no-data":"","hide-details":"",modelValue:u.value,"onUpdate:modelValue":r[0]||(r[0]=v=>u.value=v),style:a(d.computedStyle)},null,8,["modelValue","style"])}const p=i("default",o(e,[["render",c]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./Widget-C4QVI4IH-fe10a78e0f883ba2b0f8.js","./main-26581a6a2cf6f9faf01c.js","vue","vue-router","single-spa","vuex","vuetify"],function(m,V){"use strict";var l,i,n,a,s,r,o;return{setters:[e=>{l=e.o},e=>{i=e.s,n=e.P},e=>{a=e.resolveComponent,s=e.openBlock,r=e.createBlock,o=e.normalizeStyle},null,null,null,null],execute:function(){const e={mixins:[l,n],data(){return{label:"Time",timeValue:""}},created(){this.parameters[0]&&(this.label=this.parameters[0]),this.timeValue=this.formatTimeHMS(new Date,this.screenTimeZone)},methods:{text(){return this.timeValue},time(){return this.timeValue}}};function c(d,u,f,v,t,b){const h=a("v-text-field");return s(),r(h,{modelValue:t.timeValue,"onUpdate:modelValue":u[0]||(u[0]=p=>t.timeValue=p),label:t.label,style:o(d.computedStyle),type:"time","hide-details":""},null,8,["modelValue","label","style"])}const y=m("default",i(e,[["render",c]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./Widget-C4QVI4IH-fe10a78e0f883ba2b0f8.js","vue","./main-26581a6a2cf6f9faf01c.js","vue-router","single-spa","vuex","vuetify"],function(o,p){"use strict";var t,r,n,l,s,a;return{setters:[e=>{t=e.o},e=>{r=e.openBlock,n=e.createElementBlock,l=e.normalizeStyle,s=e.toDisplayString},e=>{a=e.s},null,null,null,null],execute:function(){const e={mixins:[t],computed:{labelText(){return this.parameters[0]}},created(){if(this.parameters.length<1)throw new Error("Not enough parameters for TITLE.")}};function i(c,f,x,y,g,u){return r(),n("span",{class:"text-h5 text-center pa-1 mt-1 label",style:l(c.computedStyle)},s(u.labelText),5)}const m=o("default",a(e,[["render",i]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./main-26581a6a2cf6f9faf01c.js","./Widget-C4QVI4IH-fe10a78e0f883ba2b0f8.js"],function(S,T){"use strict";var _,w;return{setters:[h=>{_=h.P},h=>{w=h.o}],execute:function(){var h={},I;function x(){return I||(I=1,function(t){(function(){var s={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function c(n){return k(E(n),arguments)}function b(n,u){return c.apply(null,[n].concat(u||[]))}function k(n,u){var i=1,p=n.length,e,o="",l,a,r,m,g,y,v,d;for(l=0;l<p;l++)if(typeof n[l]=="string")o+=n[l];else if(typeof n[l]=="object"){if(r=n[l],r.keys)for(e=u[i],a=0;a<r.keys.length;a++){if(e==null)throw new Error(c('[sprintf] Cannot access property "%s" of undefined value "%s"',r.keys[a],r.keys[a-1]));e=e[r.keys[a]]}else r.param_no?e=u[r.param_no]:e=u[i++];if(s.not_type.test(r.type)&&s.not_primitive.test(r.type)&&e instanceof Function&&(e=e()),s.numeric_arg.test(r.type)&&typeof e!="number"&&isNaN(e))throw new TypeError(c("[sprintf] expecting number but found %T",e));switch(s.number.test(r.type)&&(v=e>=0),r.type){case"b":e=parseInt(e,10).toString(2);break;case"c":e=String.fromCharCode(parseInt(e,10));break;case"d":case"i":e=parseInt(e,10);break;case"j":e=JSON.stringify(e,null,r.width?parseInt(r.width):0);break;case"e":e=r.precision?parseFloat(e).toExponential(r.precision):parseFloat(e).toExponential();break;case"f":e=r.precision?parseFloat(e).toFixed(r.precision):parseFloat(e);break;case"g":e=r.precision?String(Number(e.toPrecision(r.precision))):parseFloat(e);break;case"o":e=(parseInt(e,10)>>>0).toString(8);break;case"s":e=String(e),e=r.precision?e.substring(0,r.precision):e;break;case"t":e=String(!!e),e=r.precision?e.substring(0,r.precision):e;break;case"T":e=Object.prototype.toString.call(e).slice(8,-1).toLowerCase(),e=r.precision?e.substring(0,r.precision):e;break;case"u":e=parseInt(e,10)>>>0;break;case"v":e=e.valueOf(),e=r.precision?e.substring(0,r.precision):e;break;case"x":e=(parseInt(e,10)>>>0).toString(16);break;case"X":e=(parseInt(e,10)>>>0).toString(16).toUpperCase();break}s.json.test(r.type)?o+=e:(s.number.test(r.type)&&(!v||r.sign)?(d=v?"+":"-",e=e.toString().replace(s.sign,"")):d="",g=r.pad_char?r.pad_char==="0"?"0":r.pad_char.charAt(1):" ",y=r.width-(d+e).length,m=r.width&&y>0?g.repeat(y):"",o+=r.align?d+e+m:g==="0"?d+m+e:m+d+e)}return o}var f=Object.create(null);function E(n){if(f[n])return f[n];for(var u=n,i,p=[],e=0;u;){if((i=s.text.exec(u))!==null)p.push(i[0]);else if((i=s.modulo.exec(u))!==null)p.push("%");else if((i=s.placeholder.exec(u))!==null){if(i[2]){e|=1;var o=[],l=i[2],a=[];if((a=s.key.exec(l))!==null)for(o.push(a[1]);(l=l.substring(a[0].length))!=="";)if((a=s.key_access.exec(l))!==null)o.push(a[1]);else if((a=s.index_access.exec(l))!==null)o.push(a[1]);else throw new SyntaxError("[sprintf] failed to parse named argument key");else throw new SyntaxError("[sprintf] failed to parse named argument key");i[2]=o}else e|=2;if(e===3)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");p.push({placeholder:i[0],param_no:i[1],keys:i[2],sign:i[3],pad_char:i[4],align:i[5],width:i[6],precision:i[7],type:i[8]})}else throw new SyntaxError("[sprintf] unexpected placeholder");u=u.substring(i[0].length)}return f[n]=p}t.sprintf=c,t.vsprintf=b,typeof window<"u"&&(window.sprintf=c,window.vsprintf=b)})()}(h)),h}x();const V={methods:{formatValueBase(t,s){return this.isJsonString(t)?this.formatJsonString(t):Array.isArray(t)?this.formatArray(t):this.isObject(t)?"":s&&t?sprintf(s,t):String(t)},isJsonString(t){return t&&t.json_class==="String"&&t.raw!==void 0},formatJsonString(t){let s=Array.from(t.raw.slice(0,32),c=>("0"+(c&255).toString(16)).slice(-2)).join(" ").toUpperCase();return t.raw.length>32&&(s+="..."),s},formatArray(t){return"["+t.map(s=>typeof s=="string"?`"${s}"`:s).join(", ")+"]"},isObject(t){return Object.prototype.toString.call(t).slice(8,-1)==="Object"}}},L=S("L",{mixins:[w,_,V],props:{value:{default:null},limitsState:{type:String,default:null},counter:{default:null},formatString:null,timeZone:{type:String,default:"local"}},emits:["addItem","deleteItem","open"],data(){return{appliedTimeZone:"local",curValue:null,prevValue:null,grayLevel:80,grayRate:5,valueId:null,arrayIndex:null,viewDetails:!1,contextMenuShown:!1,x:0,y:0,contextMenuOptions:[{title:"Details",action:()=>{this.contextMenuShown=!1,this.viewDetails=!0}},{title:"Graph",action:()=>{window.open("/tools/tlmgrapher/"+encodeURIComponent(this.parameters[0])+"/"+encodeURIComponent(this.parameters[1])+"/"+encodeURIComponent(this.parameters[2]),"_blank")}}]}},watch:{_counter:function(t,s){this.curValue!==this.prevValue?this.grayLevel=80:(this.grayLevel-=this.grayRate,this.grayLevel<30&&(this.grayLevel=30)),this.prevValue=this.curValue}},computed:{_value:function(){return this.curValue=this.value,this.curValue===null&&(this.screenValues?this.screenValues[this.valueId]&&(this.arrayIndex!==null&&this.screenValues[this.valueId][0]?this.curValue=this.screenValues[this.valueId][0][this.arrayIndex]:this.curValue=this.screenValues[this.valueId][0]):this.curValue=null),this.curValue=this.formatValue(this.curValue),this.curValue},_limitsState:function(){let t=this.limitsState;return t===null&&(this.screenValues?this.screenValues[this.valueId]&&(t=this.screenValues[this.valueId][1]):t=null),t},_counter:function(){let t=this.counter;return t===null&&(this.screenValues?this.screenValues[this.valueId]&&(t=this.screenValues[this.valueId][2]):t=null),t},valueClass:function(){return"value shrink pa-1 openc3-"+this.limitsColor},astroStatus(){switch(this.limitsColor){case"green":return"normal";case"yellow":return"caution";case"red":return"critical";case"blue":return"standby";default:return null}},limitsColor(){let t=this._limitsState;if(t!=null)switch(t){case"GREEN":case"GREEN_HIGH":case"GREEN_LOW":return"green";case"YELLOW":case"YELLOW_HIGH":case"YELLOW_LOW":return"yellow";case"RED":case"RED_HIGH":case"RED_LOW":return"red";case"BLUE":return"blue";case"STALE":return"purple";default:return"white"}return""},limitsLetter(){let t=this._limitsState;if(t!=null){let s=t.charAt(0);return t.endsWith("_LOW")&&(s=s.toLowerCase()),s}return""}},created(){if(this.value===null||this.limitsState===null){if(this.parameters[2].includes("[["))this.parameters[2]=this.parameters[2].replace("[[","[").replace("]]","]");else if(this.parameters[2].includes("[")){let t=this.parameters[2].match(/\[(\d+)\]/);this.arrayIndex=parseInt(t[1]),this.parameters[2]=this.parameters[2].replace(t[0],"")}this.valueId=`${this.parameters[0]}__${this.parameters[1]}__${this.parameters[2]}__${this.getType()}`,this.$emit("addItem",this.valueId),this.screenTimeZone?this.appliedTimeZone=this.screenTimeZone:this.appliedTimeZone=this.timeZone}},destroyed(){(this.value===null||this.limitsState===null)&&this.$emit("deleteItem",this.valueId)},methods:{getType(){let t="WITH_UNITS";return this.parameters[3]&&(t=this.parameters[3]),t},formatValue(t){return t&&this.valueId&&(this.valueId.includes("PACKET_TIMEFORMATTED")||this.valueId.includes("RECEIVED_TIMEFORMATTED"))?(t=t.replaceAll("/","-"),this.formatUtcToLocal(new Date(t),this.appliedTimeZone)):this.formatValueBase(t,this.formatString)},showContextMenu(t){t.preventDefault(),this.contextMenuShown=!1,this.x=t.clientX,this.y=t.clientY,this.$nextTick(()=>{this.contextMenuShown=!0})}}})}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./main-26581a6a2cf6f9faf01c.js","vue","./DetailsDialog-DLRMqetn-2b3771b90f4044ac6771.js","single-spa","./VWidget-02CG-3Av-9579e154442a96ddbf76.js","vue-router","vuex","vuetify","./Widget-C4QVI4IH-fe10a78e0f883ba2b0f8.js"],function(w,I){"use strict";var c,a,r,o,d,n,l,m,p,v,u,g,h,f,x,y,V,C;return{setters:[e=>{c=e.s},e=>{a=e.resolveComponent,r=e.openBlock,o=e.createElementBlock,d=e.normalizeStyle,n=e.createVNode,l=e.withCtx,m=e.mergeProps,p=e.createSlots,v=e.createElementVNode,u=e.toDisplayString,g=e.Fragment,h=e.renderList,f=e.createBlock,x=e.withModifiers,y=e.createTextVNode},e=>{V=e.P},null,e=>{C=e.L},null,null,null,null],execute:function(){const S={components:{DetailsDialog:V},mixins:[C],data:function(){return{width:16}},computed:{fullName(){return this.parameters[0]+" "+this.parameters[1]+" "+this.parameters[2]},aging(){return{"--aging":this.grayLevel}}},created(){this.verifyNumParams("VALUE",3,5,"VALUE <TARGET> <PACKET> <ITEM> <TYPE> <WIDTH>"),this.setWidth(parseInt(this.parameters[4])+4,"ch",this.width)}};function _(t,i,W,j,z,k){const D=a("rux-status"),E=a("v-text-field"),L=a("v-tooltip"),N=a("v-list-item-title"),M=a("v-list-item"),T=a("v-list"),B=a("v-menu"),P=a("details-dialog");return r(),o("div",{class:"value-widget-container",style:d([t.computedStyle,k.aging])},[n(L,{location:"top"},{activator:l(({props:s})=>[n(E,m({variant:"solo",density:"compact",flat:"",readonly:"","hide-details":"","model-value":t._value,class:t.valueClass,"data-test":"value",onContextmenu:t.showContextMenu},s),p({_:2},[t.astroStatus?{name:"prepend-inner",fn:l(()=>[n(D,{status:t.astroStatus},null,8,["status"])]),key:"0"}:void 0]),1040,["model-value","class","onContextmenu"])]),default:l(()=>[v("span",null,u(k.fullName),1)]),_:1}),n(B,{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(T,null,{default:l(()=>[(r(!0),o(g,null,h(t.contextMenuOptions,(s,A)=>(r(),f(M,{key:A,onClick:x(s.action,["stop"])},{default:l(()=>[n(N,null,{default:l(()=>[y(u(s.title),1)]),_:2},1024)]),_:2},1032,["onClick"]))),128))]),_:1})]),_:1},8,["modelValue","target"]),n(P,{"target-name":t.parameters[0],"packet-name":t.parameters[1],"item-name":t.parameters[2],modelValue:t.viewDetails,"onUpdate:modelValue":i[1]||(i[1]=s=>t.viewDetails=s)},null,8,["target-name","packet-name","item-name","modelValue"])],4)}const U=w("default",c(S,[["render",_],["__scopeId","data-v-c21e4dde"]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./ValueWidget-KLYY8L8U-96ee5f0706e36c6885e6.js","./LimitsbarWidget-DXbqsi4J-606f0852c745b1d75a71.js","./Widget-C4QVI4IH-fe10a78e0f883ba2b0f8.js","vue","./main-26581a6a2cf6f9faf01c.js","./DetailsDialog-DLRMqetn-2b3771b90f4044ac6771.js","single-spa","./VWidget-02CG-3Av-9579e154442a96ddbf76.js","vue-router","vuex","vuetify","./BarColumn-Cdu3OoMa-5759d627d12ac570f7c2.js"],function(g,f){"use strict";var l,i,a,s,u,o,c,n,r,m;return{setters:[e=>{l=e.default},e=>{i=e.default},e=>{a=e.o},e=>{s=e.resolveComponent,u=e.openBlock,o=e.createElementBlock,c=e.normalizeStyle,n=e.createVNode,r=e.mergeProps},e=>{m=e.s},null,null,null,null,null,null,null],execute:function(){const e={mixins:[a],components:{ValueWidget:l,LimitsbarWidget:i}};function d(t,x,V,j,w,y){const p=s("value-widget"),v=s("limitsbar-widget");return u(),o("div",{ref:"container",class:"d-flex flex-row",style:c(t.computedStyle)},[n(p,r(t.$attrs,{parameters:t.parameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone,"widget-index":0}),null,16,["parameters","settings","screen-values","screen-time-zone"]),n(v,r(t.$attrs,{parameters:t.parameters.slice(0,3),settings:[...t.appliedSettings],"screen-values":t.screenValues,"widget-index":1,line:t.line,lineNumber:t.lineNumber}),null,16,["parameters","settings","screen-values","line","lineNumber"])],4)}const b=g("default",m(e,[["render",d]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./ValueWidget-KLYY8L8U-96ee5f0706e36c6885e6.js","./LimitscolumnWidget-BfY4su5U-f683680d74b03d48214e.js","./Widget-C4QVI4IH-fe10a78e0f883ba2b0f8.js","vue","./main-26581a6a2cf6f9faf01c.js","./DetailsDialog-DLRMqetn-2b3771b90f4044ac6771.js","single-spa","./VWidget-02CG-3Av-9579e154442a96ddbf76.js","vue-router","vuex","vuetify","./BarColumn-Cdu3OoMa-5759d627d12ac570f7c2.js"],function(g,f){"use strict";var r,i,a,n,u,o,c,s,l,m;return{setters:[e=>{r=e.default},e=>{i=e.default},e=>{a=e.o},e=>{n=e.resolveComponent,u=e.openBlock,o=e.createElementBlock,c=e.normalizeStyle,s=e.createVNode,l=e.mergeProps},e=>{m=e.s},null,null,null,null,null,null,null],execute:function(){const e={mixins:[a],components:{ValueWidget:r,LimitscolumnWidget:i}};function d(t,j,w,y,z,B){const p=n("limitscolumn-widget"),v=n("value-widget");return u(),o("div",{ref:"container",style:c(t.computedStyle)},[s(p,l(t.$attrs,{parameters:t.parameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"widget-index":1,line:t.line,lineNumber:t.lineNumber}),null,16,["parameters","settings","screen-values","line","lineNumber"]),s(v,l(t.$attrs,{parameters:t.parameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone,"widget-index":0}),null,16,["parameters","settings","screen-values","screen-time-zone"])],4)}const V=g("default",m(e,[["render",d]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./ValueWidget-KLYY8L8U-96ee5f0706e36c6885e6.js","./RangebarWidget-DHS7S3vI-831b1aa9bf7ada4c8982.js","./Widget-C4QVI4IH-fe10a78e0f883ba2b0f8.js","vue","./main-26581a6a2cf6f9faf01c.js","./DetailsDialog-DLRMqetn-2b3771b90f4044ac6771.js","single-spa","./VWidget-02CG-3Av-9579e154442a96ddbf76.js","vue-router","vuex","vuetify"],function(g,f){"use strict";var n,i,l,r,u,m,o,s,a,p;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=>{p=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,V,x,j,w,c){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:c.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:c.rangeBarParameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"widget-index":1}),null,16,["parameters","settings","screen-values"])],4)}const S=g("default",p(e,[["render",d]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./Layout-C1HoM4Kl-d29c2656e1dc91cbadf0.js","vue","./main-26581a6a2cf6f9faf01c.js","./Widget-C4QVI4IH-fe10a78e0f883ba2b0f8.js","vue-router","single-spa","vuex","vuetify"],function(y,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 v(n,l,s,B,w,C){return r(),i("div",{ref:"container",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=y("default",f(e,[["render",v]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./VerticalWidget-z6xUM-ql-6daf5ea34d2f88e2414e.js","./Layout-C1HoM4Kl-d29c2656e1dc91cbadf0.js","vue","./main-26581a6a2cf6f9faf01c.js","./Widget-C4QVI4IH-fe10a78e0f883ba2b0f8.js","vue-router","single-spa","vuex","vuetify"],function(d,V){"use strict";var r,l,n,i,a,s,c,o,u,g,p,v;return{setters:[e=>{r=e.default},e=>{l=e.r},e=>{n=e.resolveComponent,i=e.openBlock,a=e.createElementBlock,s=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:r}};function m(t,w,C,S,k,z){const y=n("v-banner"),x=n("vertical-widget");return i(),a("div",null,[s(y,{class:"boxbanner",style:c(t.computedStyle),"single-line":""},{default:o(()=>[u(g(t.parameters[0]),1)]),_:1},8,["style"]),s(x,p(t.listeners,{parameters:t.parameters.slice(1),settings:t.settings,widgets:t.widgets,"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone}),null,16,["parameters","settings","widgets","screen-values","screen-time-zone"])])}const f=d("default",v(e,[["render",m],["__scopeId","data-v-832aa5cd"]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./main-26581a6a2cf6f9faf01c.js"],function(o,d){"use strict";var p,r;return{setters:[n=>{p=n.B,r=n.a}],execute:function(){const n=o("o",{mixins:[p],props:{widgetIndex:{type:Number,default:null},parameters:{type:Array,default:()=>[]},settings:{type:Array,default:()=>[]},screenValues:{type:Object,default:()=>{}},screenTimeZone:{type:String,default:"local"},namedWidgets:{type:Object,default:{}},line:{type:String,default:""},lineNumber:{type:Number,default:0}},data(){return{appliedSettings:[],appliedStyle:{},widgetName:null,screenId:"NO_SCREEN"}},computed:{computedStyle:function(){return this.appliedSettings.forEach(t=>{this.applyStyleSetting(t)}),this.appliedStyle.width===void 0&&this.appliedStyle.height===void 0&&(this.appliedStyle.flex="0 10 100%"),this.appliedStyle},screen:function(){const t=this;return{getNamedWidget:function(e){return t.$store.getters.namedWidget(t.toQualifiedWidgetName(e))},open:function(e,i){t.$emit("open",e,i)},close:function(e,i){t.$emit("close",e,i)},closeAll:function(){t.$emit("closeAll")}}},listeners:function(){return Object.entries(this.$attrs).reduce((t,e)=>e[0].startsWith("on")?{...t,[e[0]]:e[1]}:t,{})}},watch:{widgetName:function(t,e){this.$store.commit("clearNamedWidget",this.toQualifiedWidgetName(e)),this.$store.commit("setNamedWidget",{[this.toQualifiedWidgetName(t)]:this})}},created(){var t,e;this.screenId=(t=this.settings.find(i=>i[0]==="__SCREEN_ID__"))==null?void 0:t.at(1),this.widgetName=(e=this.settings.find(i=>i[0]==="NAMED_WIDGET"))==null?void 0:e.at(1),this.appliedSettings=this.settings.map(i=>{const s=parseInt(i[0]);if(isNaN(s)||this.widgetIndex===null)return i;if(this.widgetIndex===s)return i.slice(1)}).filter(i=>i!==void 0)},beforeUnmount(){this.widgetName&&this.$store.commit("clearNamedWidget",this.toQualifiedWidgetName(this.widgetName))},methods:{applyStyleSetting(t){switch(t[0]){case"TEXTALIGN":this.appliedStyle["text-align"]=t[1].toLowerCase()+" !important",this.appliedStyle["--text-align"]=t[1].toLowerCase();break;case"PADDING":isNaN(Number(t[1]))||(t[1]+="px"),this.appliedStyle.padding=t[1]+" !important";break;case"MARGIN":isNaN(Number(t[1]))||(t[1]+="px"),this.appliedStyle.margin=t[1]+" !important";break;case"BACKCOLOR":this.appliedStyle["background-color"]=this.getColor(t.slice(1))+" !important";break;case"TEXTCOLOR":this.appliedStyle.color=this.getColor(t.slice(1))+" !important";break;case"BORDERCOLOR":this.appliedStyle["border-width"]="1px!important",this.appliedStyle["border-style"]="solid!important",this.appliedStyle["border-color"]=this.getColor(t.slice(1))+" !important";break;case"WIDTH":isNaN(Number(t[1]))||(t[1]+="px"),this.appliedStyle.width=t[1]+" !important";break;case"HEIGHT":isNaN(Number(t[1]))||(t[1]+="px"),this.appliedStyle.height=t[1]+" !important";break;case"RAW":this.appliedStyle[t[1].toLowerCase()]=t[2]+" !important";break}},verifyNumParams(t,e,i,s=""){let a={line:this.line,lineNumber:this.lineNumber,keyword:t,parameters:this.parameters};for(let l=1;l<=e;l++)if(this.parameters[l-1]===void 0)throw new r(a,`Not enough parameters for ${t}.`,s,"https://docs.openc3.com/docs/configuration");if(i!==null&&this.parameters.length>i)throw new r(a,`Too many parameters for ${t}.`,s,"https://docs.openc3.com/docs/configuration")},setWidth(t,e="px",i="120"){let s=this.appliedSettings.find(a=>a[0]==="WIDTH");return s?s.WIDTH:t?(this.appliedSettings.push(["WIDTH",`${t}${e}`]),parseInt(t)):(this.appliedSettings.push(["WIDTH",`${i}${e}`]),parseInt(i))},setHeight(t,e="px",i="20"){let s=null;return s=this.appliedSettings.find(a=>a[0]==="HEIGHT"),s?s.HEIGHT:t?(this.appliedSettings.push(["HEIGHT",`${t}${e}`]),parseInt(t)):(this.appliedSettings.push(["HEIGHT",`${i}${e}`]),parseInt(i))},getColor(t){switch(t.length){case 1:return t[0].toLowerCase();case 3:return`rgb(${t[0]},${t[1]},${t[2]})`}},toQualifiedWidgetName(t){return`${this.screenId}:${t}`}}})}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./main-26581a6a2cf6f9faf01c.js"],function(a,g){"use strict";var o,s;return{setters:[n=>{o=n.l,s=n.y}],execute:function(){a("M",n);function n(r,i,l){const t=o(r,void 0);if(isNaN(i))return s(r,NaN);if(!i)return t;const u=t.getDate(),e=s(r,t.getTime());e.setMonth(t.getMonth()+i+1,0);const c=e.getDate();return u>=c?e:(t.setFullYear(e.getFullYear(),e.getMonth(),u),t)}}}});
|