openc3-cosmos-tool-admin 6.0.1 → 6.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/tools/admin/{ArrayWidget-BTxChSds-e9bc6948cfc94ea6c8ea.js → ArrayWidget-DBpEoQ1y-51f8d58800a41ceb5965.js} +2 -2
- data/tools/admin/{BarColumn-Cdu3OoMa-6b9d231248e3c807a1ca.js → BarColumn-B6tCmNJm-9ca6a3b942d168ebcdb8.js} +1 -1
- data/tools/admin/BlockWidget-Bmi0UcUW-6e239a53a5ce4bba9c07.js +2 -0
- data/tools/admin/{ButtonWidget-nwDlOBJT-d16fb6a24cef7c5b624b.js → ButtonWidget-CHrHS_Bw-4dc21e7684ae5277a10c.js} +2 -2
- data/tools/admin/CanvasWidget-BqdyLbQz-8f0095f7e34d8c6f066f.js +1 -0
- data/tools/admin/CanvasdotWidget-YYwca104-3e6a9038614586babd1c.js +1 -0
- data/tools/admin/{CanvasimageWidget-BIw7Wbf2-675b82c793c05652c4e4.js → CanvasimageWidget-BrYlPQCf-99a2f7e1d841f8a80652.js} +1 -1
- data/tools/admin/CanvasimagevalueWidget-HnEOXmZy-f4c2e448abcd2dc9b369.js +1 -0
- data/tools/admin/{CanvaslabelWidget-DWmb356h-27386996b1e22521d68a.js → CanvaslabelWidget-BfMHNei--7bf566730263148d3f38.js} +1 -1
- data/tools/admin/{CanvaslabelvalueWidget-CI3yYwFs-106dd8676e7059142aeb.js → CanvaslabelvalueWidget-0zRDJav3-b25fde925a4dde4f4459.js} +1 -1
- data/tools/admin/CanvaslineWidget-BmOwJP_G-a4bfe595d4095ac8a656.js +1 -0
- data/tools/admin/CanvaslinevalueWidget-H3L1aUKM-ef990dd1d9d0093e3346.js +1 -0
- data/tools/admin/CheckbuttonWidget-BnT9X7wE-b6041611ca3a02a77f4f.js +1 -0
- data/tools/admin/{ComboboxWidget-BzsbOv54-19196e0faa887589be04.js → ComboboxWidget-BykAAoxH-df2f4da5632c7ac4d614.js} +1 -1
- data/tools/admin/{DateWidget-B5R_9rA8-6d87b2b38b75a9f194f0.js → DateWidget-FtYD86xW-ed78614e5361796e3247.js} +1 -1
- data/tools/admin/{DetailsDialog-DLRMqetn-55763452729cfe2e3307.js → DetailsDialog-DiVcC3Fg-7fd3988b243d50bf1e70.js} +1 -1
- data/tools/admin/{DynamicWidget-m9EliUR2-e3f3eb1367b6fc62b4f4.js → DynamicWidget-m9EliUR2-f9ce5441cacabbe60173.js} +1 -1
- data/tools/admin/FormatvalueWidget-OykwwCrw-5ee46e53f13ac3d6701e.js +1 -0
- data/tools/admin/{GraphWidget-amwxyH1r-ae1fe3465676228a4925.js → GraphWidget-BohHW-97-fd394110bcce6887c880.js} +1 -1
- data/tools/admin/{HorizontalWidget-CirtfuL8-981280ce431e3a0ea8a4.js → HorizontalWidget-B7YdcFVN-4a39cc6c6467fa45c8c9.js} +1 -1
- data/tools/admin/HorizontalboxWidget-D-kCNwI3-bf19c666513dd697768b.js +1 -0
- data/tools/admin/{HorizontallineWidget-BdlNB951-08181cb1762ec42b7083.js → HorizontallineWidget-BdlNB951-fcd3e7810f970240faa3.js} +1 -1
- data/tools/admin/IframeWidget-0C7GYEVc-e7376740a6235e4812db.js +1 -0
- data/tools/admin/{ImageLoader-CpcR6tPi-5519b9d946e6eeba9d6a.js → ImageLoader-y6fAZe9P-a0ef49044ad82975f403.js} +1 -1
- data/tools/admin/{ImageviewerWidget-DIkmb_C9-8346469a4ad561e7a78b.js → ImageviewerWidget-B4HbUIfR-a00a0d3b8fe6d84d7306.js} +1 -1
- data/tools/admin/InterfacesTab-Byu6IcaT-95abcb5574592a90078b.js +1 -0
- data/tools/admin/{LabelWidget-BDsypYho-e74513b75a138300eda4.js → LabelWidget-D1JhQAzR-3b197382850460b21e5a.js} +1 -1
- data/tools/admin/{LabelledWidget-DjturGl5-f58bc223d97e08fd542a.js → LabelledWidget-C2VGJ5OJ-df9b3b7fce21b2fd3c0c.js} +1 -1
- data/tools/admin/LabelprogressbarWidget-DN0cAeLK-cc27e24e29aff05d667d.js +1 -0
- data/tools/admin/LabelsparklineWidget--sxBENxs-cbe369d2ca5aa7df9b85.js +1 -0
- data/tools/admin/LabelvalueWidget-BWpP5KX6-ef5769b7ec88b403bcd2.js +1 -0
- data/tools/admin/{LabelvaluedescWidget-CsUP7J4U-c46a707153bfa07e40b3.js → LabelvaluedescWidget-DtJwggDu-8f5ffd383ebe39917112.js} +1 -1
- data/tools/admin/{LabelvaluelimitsbarWidget-Blj1QXV8-b2889d7dd9e0adb31527.js → LabelvaluelimitsbarWidget-Bj6UVK-5-3bc80d16b026ae53a8c3.js} +1 -1
- data/tools/admin/LabelvaluelimitscolumnWidget-BVcEEcUx-bca1e0a997b6558e0437.js +1 -0
- data/tools/admin/{LabelvaluerangebarWidget-DpcXhlfF-20dc9151170423e55774.js → LabelvaluerangebarWidget-DCJ42bmf-e52d8579650ec3d75800.js} +1 -1
- data/tools/admin/{Layout-C1HoM4Kl-417cd02a11d96e992d80.js → Layout-D4YBjuWs-3a490c22141994a23366.js} +1 -1
- data/tools/admin/{LedWidget-B_K2e5tq-e1a5d6fa7037166a47ef.js → LedWidget-hN9JHxjr-b0dea4cca417c25b5f03.js} +1 -1
- data/tools/admin/{LimitsbarWidget-DXbqsi4J-d4cab330a230750fd898.js → LimitsbarWidget-D-wfz_St-85844bd4c9a6e5782f57.js} +1 -1
- data/tools/admin/{LimitscolorWidget-Ckmuw0YX-9186aec847ec6a5bfc9e.js → LimitscolorWidget-B0AVGdkz-c473b45d46ee31cdfa59.js} +1 -1
- data/tools/admin/{LimitscolumnWidget-BfY4su5U-1c6e4848809e88a5260e.js → LimitscolumnWidget-Dt5ce4hN-391c67ae85d2fa51055e.js} +1 -1
- data/tools/admin/{LinegraphWidget-y-Qy9P0R-cd2f04586aef988a58a9.js → LinegraphWidget-CTjtvtPd-fe55f8974a605da0efa2.js} +1 -1
- data/tools/admin/MatrixbycolumnsWidget-wLx4NvXV-72377a621dc0bae83cdf.js +1 -0
- data/tools/admin/{MicroservicesTab-D8GGVvwc-c1bb51519a9905e693db.js → MicroservicesTab-CWf6UOgI-b4b60ecff4d31dae4aa8.js} +1 -1
- data/tools/admin/{OutputDialog-D7vLuueV-2204b36fc17e01c28df1.js → OutputDialog-BTG5GO0M-6c156d3831d7592cb837.js} +1 -1
- data/tools/admin/{PackagesTab-CkHqLuVL-a1723ff9378b042895e7.js → PackagesTab-_Sm5Sh1M-cf16003c47a30de4cc75.js} +1 -1
- data/tools/admin/{PluginsTab-Dli9v-0R-a1399af85f2fd990e133.js → PluginsTab-CJXN3NPm-dfd0735009f8867c79bc.js} +2 -2
- data/tools/admin/{ProgressbarWidget-DpA_-vy9-a9f80bf0377e829b78e4.js → ProgressbarWidget-B7l0BBiX-a5031b61d856a8da1127.js} +1 -1
- data/tools/admin/RadiobuttonWidget-B032jKIw-92c89dce8e32b5b77b86.js +1 -0
- data/tools/admin/RadiogroupWidget-Busjqikr-ccb5f63580cfa3a6669b.js +1 -0
- data/tools/admin/{RangebarWidget-DHS7S3vI-f79443d06bda1ec7b512.js → RangebarWidget-DbYrwEfC-80ec2d6bc7c71c951f35.js} +1 -1
- data/tools/admin/{RedisTab-B3fY9we7-760bc2333036ad71e6e2.js → RedisTab-BwSYwFqz-3119c9906a91eaf4d7be.js} +1 -1
- data/tools/admin/{RollupWidget-CTk9Kjwr-2b0cb75af9296f391f66.js → RollupWidget-rKxLXuCv-1c2837bf382916555b3c.js} +1 -1
- data/tools/admin/RoutersTab-DHNCXBbM-1a90a758680839afe5bd.js +1 -0
- data/tools/admin/{ScrollwindowWidget-DD0TOW6s-74997dd2355435e39c51.js → ScrollwindowWidget-D4NKIzQO-b14879101eba10ab2f0a.js} +1 -1
- data/tools/admin/{SecretsTab-BuC3n5C4-b50ed27afdc2414dc4e1.js → SecretsTab-Dn8_2IXp-734c000bb5e97fff6d7d.js} +1 -1
- data/tools/admin/{SettingsTab-CYb9hSNx-9497e6025bffab0bc5be.js → SettingsTab-BZBJZWtN-d8e376586fa303549fab.js} +1 -1
- data/tools/admin/{SignalWidget-CC33KMTW-b72d958b3093cc84c5a8.js → SignalWidget-h-oivReC-3878f2f049be552eda7d.js} +1 -1
- data/tools/admin/{SimpleTextDialog-3Tzc_snk-be80893bf7377e8a2b54.js → SimpleTextDialog-BQ0jrNW3-7bc1a75a274215196c98.js} +1 -1
- data/tools/admin/SpacerWidget-BSy9eOlB-b6eb70cd771cb8926322.js +1 -0
- data/tools/admin/{SparklineWidget-DMvMQCPm-8b9d64dc2d6f09e95fd3.js → SparklineWidget-C9vdxar--4f7468446f8ba99d20b2.js} +1 -1
- data/tools/admin/TabbookWidget-DTFTKURm-c15c659eae60d609ba8d.js +1 -0
- data/tools/admin/{TargetsTab-CxiGJ2P2-85a21e098266facf4e02.js → TargetsTab-LyhY8e5l-97cd8f57a37fbec3189a.js} +1 -1
- data/tools/admin/TextboxWidget-BZyYHmBq-a8684205e51e26d6f751.js +1 -0
- data/tools/admin/{TextfieldWidget-DXSdgqVP-ee0eeca9be6f669c081c.js → TextfieldWidget-aVRdXRsT-6406eef0f7234e3e3a8e.js} +1 -1
- data/tools/admin/TimeWidget-BE2rtMxg-cd22b9d2e868bc2ed385.js +1 -0
- data/tools/admin/{TitleWidget-DqViFQl--5330d5a64637d7951419.js → TitleWidget-BB29MZb2-56d767993d5f9646996a.js} +1 -1
- data/tools/admin/ToolsTab-jhSXe5zM-d0ac19c0d72366628752.js +6 -0
- data/tools/admin/{VWidget-02CG-3Av-a973337ad24b9f4eb395.js → VWidget-CGdM4sTw-893961bd6ccec05d16a7.js} +1 -1
- data/tools/admin/ValueWidget-h3905woQ-f35a0b783e2d2b53c1b7.js +1 -0
- data/tools/admin/{ValuelimitsbarWidget-SR8XNZFB-95640fde4e539f355d39.js → ValuelimitsbarWidget-LMXYjWtS-8830e5349c4443d13b06.js} +1 -1
- data/tools/admin/{ValuelimitscolumnWidget-xYZSp6YZ-6f04a114c777e09665dd.js → ValuelimitscolumnWidget-gA3ZcfAT-1c66306a40b51c6cba4c.js} +1 -1
- data/tools/admin/ValuerangebarWidget-DwZ9KQ0O-3ab0abfd6fa6e5124d25.js +1 -0
- data/tools/admin/VerticalWidget-DziyURNu-f2c65d60bc0e02f724a1.js +1 -0
- data/tools/admin/VerticalboxWidget-OcoZBsFU-a1bcd4a60d355e686386.js +1 -0
- data/tools/admin/{Widget-C4QVI4IH-80b859328e2c8ee53918.js → Widget-C7ms_xDE-6a246185f9a7a9c965ab.js} +1 -1
- data/tools/admin/{main-6d6b6148fd97f6dd73ae.js → main-ee4a4324250bb0ff8910.js} +84 -84
- data/tools/admin/main.js +1 -1
- metadata +78 -78
- data/tools/admin/BlockWidget-PmjzrkXF-c80c9d1c463d83528a3d.js +0 -2
- data/tools/admin/CanvasWidget-BL8930eT-7c425befd858deae2375.js +0 -1
- data/tools/admin/CanvasdotWidget-VCf1fL-G-175f4d8d2fe3d73133b7.js +0 -1
- data/tools/admin/CanvasimagevalueWidget-CE3Dj5bH-4c7da53208143de275fb.js +0 -1
- data/tools/admin/CanvaslineWidget-COeapH3P-454440a3cbef96b78149.js +0 -1
- data/tools/admin/CanvaslinevalueWidget-CI-Bbzfi-c196fded05e85ca64b76.js +0 -1
- data/tools/admin/CheckbuttonWidget-BQhggcZ2-fe79147a6042d06deb71.js +0 -1
- data/tools/admin/FormatvalueWidget-DZkRJce8-29bc510b6fee4be432b3.js +0 -1
- data/tools/admin/HorizontalboxWidget-CyTDt2nl-1db32d80217737537afb.js +0 -1
- data/tools/admin/IframeWidget-DnJmCrCA-669adff673891b6a1695.js +0 -1
- data/tools/admin/InterfacesTab-jtIK4SaM-d37991d03f54f16d4184.js +0 -1
- data/tools/admin/LabelprogressbarWidget-RADJGLj3-f059a9ff279f759d38fc.js +0 -1
- data/tools/admin/LabelsparklineWidget-BlJoICxu-13bf91cc93e846f7699e.js +0 -1
- data/tools/admin/LabelvalueWidget-DVWJqnlY-b0232700037d1bb6b7b6.js +0 -1
- data/tools/admin/LabelvaluelimitscolumnWidget-CvCo-uCe-1725d487ee051e88eeee.js +0 -1
- data/tools/admin/MatrixbycolumnsWidget-BTBColrs-fea73244eb707601aeea.js +0 -1
- data/tools/admin/RadiobuttonWidget-BO8zpgwW-84a3f731c673059c0393.js +0 -1
- data/tools/admin/RadiogroupWidget-Oy7V4S-V-b80e9e6044d42dbb6003.js +0 -1
- data/tools/admin/RoutersTab-DVCaPPmy-b9d80c9b1e7bdc67d92b.js +0 -1
- data/tools/admin/SpacerWidget-BnJe_Hq6-8227c31e3ee431aabe0b.js +0 -1
- data/tools/admin/TabbookWidget-B3w0JtWe-dc6cbcfea02b50002ecf.js +0 -1
- data/tools/admin/TextboxWidget-D2f0-eol-c677022753c77473b718.js +0 -1
- data/tools/admin/TimeWidget-DvrRaEMz-d4257dcc7dac23d0f759.js +0 -1
- data/tools/admin/ToolsTab-B3gDjVxE-e0c39fb43d32b4a57698.js +0 -6
- data/tools/admin/ValueWidget-KLYY8L8U-7e154a7868618ab3cca1.js +0 -1
- data/tools/admin/ValuerangebarWidget-B6M02a9d-51d2f42c3985e1d08101.js +0 -1
- data/tools/admin/VerticalWidget-z6xUM-ql-ae963987b8cf0c0e3f98.js +0 -1
- data/tools/admin/VerticalboxWidget-3a9cVsW--2471ab4dfbbe133b4e9b.js +0 -1
@@ -1 +1 @@
|
|
1
|
-
System.register(["./Widget-
|
1
|
+
System.register(["./Widget-C7ms_xDE-6a246185f9a7a9c965ab.js","vue","./main-ee4a4324250bb0ff8910.js","vue-router","single-spa","vuex","vuetify"],function(m,h){"use strict";var s,n,i,l,a,r;return{setters:[t=>{s=t.o},t=>{n=t.openBlock,i=t.createElementBlock,l=t.normalizeStyle,a=t.toDisplayString},t=>{r=t.s},null,null,null,null],execute:function(){const t={mixins:[s],data(){return{fontFamily:null,fontSize:null,fontWeight:"normal",fontStyle:"normal"}},computed:{labelText(){return this.parameters[0]},cssProps(){let e=null;return this.fontSize&&(e=this.fontSize+"px"),{"--font-family":this.fontFamily,"--font-size":e,"--font-weight":this.fontWeight,"--font-style":this.fontStyle}}},created(){this.verifyNumParams("LABEL",1,5,"LABEL <Text> <Font Family> <Font Size> <Font Weight> <Font Style>"),this.parameters[1]&&(this.fontFamily=this.parameters[1]),this.parameters[2]&&(this.fontSize=this.parameters[2]),this.parameters[3]&&(this.fontWeight=this.parameters[3]),this.parameters[4]&&(this.fontStyle=this.parameters[4])}};function f(e,p,c,y,S,o){return n(),i("div",{"data-test":"label",class:"pa-1 mt-1 label",style:l([o.cssProps,e.computedStyle])},a(o.labelText),5)}const u=m("default",r(t,[["render",f],["__scopeId","data-v-1d1d3128"]]))}}});
|
@@ -1 +1 @@
|
|
1
|
-
System.register(["./Widget-
|
1
|
+
System.register(["./Widget-C7ms_xDE-6a246185f9a7a9c965ab.js","./LabelWidget-D1JhQAzR-3b197382850460b21e5a.js","./LedWidget-hN9JHxjr-b0dea4cca417c25b5f03.js","vue","./main-ee4a4324250bb0ff8910.js","vue-router","single-spa","vuex","vuetify"],function(p,x){"use strict";var r,l,a,s,i,o,c,n,u,d;return{setters:[e=>{r=e.o},e=>{l=e.default},e=>{a=e.default},e=>{s=e.resolveComponent,i=e.openBlock,o=e.createElementBlock,c=e.normalizeStyle,n=e.createVNode,u=e.mergeProps},e=>{d=e.s},null,null,null,null],execute:function(){const e={mixins:[r],components:{LabelWidget:l,LedWidget:a},computed:{labelName(){return[this.parameters[2]+":"]}}};function g(t,w,b,y,N,m){const f=s("label-widget"),v=s("led-widget");return i(),o("div",{ref:"container",class:"d-flex flex-row",style:c(t.computedStyle)},[n(f,{parameters:m.labelName,settings:[...t.appliedSettings],"widget-index":0},null,8,["parameters","settings"]),n(v,u(t.$attrs,{parameters:t.parameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"widget-index":1}),null,16,["parameters","settings","screen-values"])],4)}const S=p("default",d(e,[["render",g]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./Widget-C7ms_xDE-6a246185f9a7a9c965ab.js","./LabelWidget-D1JhQAzR-3b197382850460b21e5a.js","./ProgressbarWidget-B7l0BBiX-a5031b61d856a8da1127.js","vue","./main-ee4a4324250bb0ff8910.js","vue-router","single-spa","vuex","vuetify"],function(p,y){"use strict";var n,l,a,s,i,o,c,r,u,g;return{setters:[e=>{n=e.o},e=>{l=e.default},e=>{a=e.default},e=>{s=e.resolveComponent,i=e.openBlock,o=e.createElementBlock,c=e.normalizeStyle,r=e.createVNode,u=e.mergeProps},e=>{g=e.s},null,null,null,null],execute:function(){const e={mixins:[n],components:{LabelWidget:l,ProgressbarWidget:a},computed:{labelName(){return[this.parameters[2]+":"]}}};function d(t,x,S,B,w,m){const f=s("label-widget"),v=s("progressbar-widget");return i(),o("div",{ref:"container",class:"d-flex flex-row",style:c(t.computedStyle)},[r(f,{parameters:m.labelName,settings:[...t.appliedSettings],"widget-index":0},null,8,["parameters","settings"]),r(v,u(t.$attrs,{parameters:t.parameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,style:t.computedStyle,"widget-index":1}),null,16,["parameters","settings","screen-values","style"])],4)}const b=p("default",g(e,[["render",d]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./Widget-C7ms_xDE-6a246185f9a7a9c965ab.js","./LabelWidget-D1JhQAzR-3b197382850460b21e5a.js","./SparklineWidget-C9vdxar--4f7468446f8ba99d20b2.js","vue","./main-ee4a4324250bb0ff8910.js","vue-router","single-spa","vuex","vuetify","./GraphWidget-BohHW-97-fd394110bcce6887c880.js"],function(p,b){"use strict";var r,i,a,l,o,u,n,s,d;return{setters:[e=>{r=e.o},e=>{i=e.default},e=>{a=e.default},e=>{l=e.resolveComponent,o=e.openBlock,u=e.createElementBlock,n=e.normalizeStyle,s=e.createVNode},e=>{d=e.s},null,null,null,null,null],execute:function(){const e={mixins:[r],components:{LabelWidget:i,SparklineWidget:a},computed:{labelName(){return[this.parameters[2]+":"]}}};function c(t,S,v,x,k,m){const g=l("label-widget"),f=l("sparkline-widget");return o(),u("div",{ref:"container",class:"d-flex flex-row",style:n(t.computedStyle)},[s(g,{parameters:m.labelName,settings:[...t.appliedSettings],line:t.line,lineNumber:t.lineNumber,"widget-index":0},null,8,["parameters","settings","line","lineNumber"]),s(f,{parameters:t.parameters,settings:[...t.appliedSettings],style:n(t.computedStyle),"widget-index":1},null,8,["parameters","settings","style"])],4)}const y=p("default",d(e,[["render",c]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./Widget-C7ms_xDE-6a246185f9a7a9c965ab.js","./LabelWidget-D1JhQAzR-3b197382850460b21e5a.js","./ValueWidget-h3905woQ-f35a0b783e2d2b53c1b7.js","vue","./main-ee4a4324250bb0ff8910.js","vue-router","single-spa","vuex","vuetify","./DetailsDialog-DiVcC3Fg-7fd3988b243d50bf1e70.js","./VWidget-CGdM4sTw-893961bd6ccec05d16a7.js"],function(g,f){"use strict";var r,l,a,n,i,u,m,s,o,c;return{setters:[e=>{r=e.o},e=>{l=e.default},e=>{a=e.default},e=>{n=e.resolveComponent,i=e.openBlock,u=e.createElementBlock,m=e.normalizeStyle,s=e.createVNode,o=e.mergeProps},e=>{c=e.s},null,null,null,null,null,null],execute:function(){const e={mixins:[r],components:{LabelWidget:l,ValueWidget:a},computed:{labelName(){let t=this.parameters[2];return t.includes("[[")&&(t=t.replace("[[","[").replace("]]","]")),[t+":"]},valueParameters(){return[this.parameters[0],this.parameters[1],this.parameters[2],this.parameters[3],this.parameters[4]]}}};function d(t,w,x,S,V,p){const v=n("label-widget"),b=n("value-widget");return i(),u("div",{ref:"container",class:"d-flex flex-row",style:m(t.computedStyle)},[s(v,{parameters:p.labelName,settings:[...t.appliedSettings],line:t.line,"line-number":t.lineNumber,"widget-index":0},null,8,["parameters","settings","line","line-number"]),s(b,o(t.$attrs,{parameters:p.valueParameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone,line:t.line,"line-number":t.lineNumber,"widget-index":1}),null,16,["parameters","settings","screen-values","screen-time-zone","line","line-number"])],4)}const h=g("default",c(e,[["render",d]]))}}});
|
@@ -1 +1 @@
|
|
1
|
-
System.register(["./Widget-
|
1
|
+
System.register(["./Widget-C7ms_xDE-6a246185f9a7a9c965ab.js","./LabelWidget-D1JhQAzR-3b197382850460b21e5a.js","./ValueWidget-h3905woQ-f35a0b783e2d2b53c1b7.js","./main-ee4a4324250bb0ff8910.js","vue","vue-router","single-spa","vuex","vuetify","./DetailsDialog-DiVcC3Fg-7fd3988b243d50bf1e70.js","./VWidget-CGdM4sTw-893961bd6ccec05d16a7.js"],function(d,w){"use strict";var n,i,a,l,u,s,m,o,c,r,p;return{setters:[e=>{n=e.o},e=>{i=e.default},e=>{a=e.default},e=>{l=e.s,u=e.F},e=>{s=e.resolveComponent,m=e.openBlock,o=e.createElementBlock,c=e.normalizeStyle,r=e.createVNode,p=e.mergeProps},null,null,null,null,null,null],execute:function(){const e={mixins:[n],data(){return{description:"",valueParameters:[]}},components:{LabelWidget:i,ValueWidget:a},computed:{labelName(){return[this.description]}},created(){this.valueParameters=this.parameters.slice(0,3),this.parameters[4]!=null&&this.valueParameters.push(this.parameters[4]),this.parameters[5]!=null&&this.valueParameters.push(this.parameters[5]),this.parameters.length>3?this.description=this.parameters[3]:new u().get_item(this.parameters[0],this.parameters[1],this.parameters[2]).then(t=>{this.description=t.description})}};function g(t,P,V,j,h,v){const b=s("label-widget"),f=s("value-widget");return m(),o("div",{ref:"container",class:"d-flex flex-row",style:c(t.computedStyle)},[r(b,{parameters:v.labelName,settings:[...t.settings],line:t.line,"line-number":t.lineNumber,"widget-index":0},null,8,["parameters","settings","line","line-number"]),r(f,p(t.$attrs,{parameters:h.valueParameters,settings:[...t.settings],"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone,line:t.line,"line-number":t.lineNumber,"widget-index":1}),null,16,["parameters","settings","screen-values","screen-time-zone","line","line-number"])],4)}const x=d("default",l(e,[["render",g]]))}}});
|
@@ -1 +1 @@
|
|
1
|
-
System.register(["./LabelvalueWidget-
|
1
|
+
System.register(["./LabelvalueWidget-BWpP5KX6-ef5769b7ec88b403bcd2.js","./LimitsbarWidget-D-wfz_St-85844bd4c9a6e5782f57.js","./Widget-C7ms_xDE-6a246185f9a7a9c965ab.js","vue","./main-ee4a4324250bb0ff8910.js","./LabelWidget-D1JhQAzR-3b197382850460b21e5a.js","vue-router","single-spa","vuex","vuetify","./ValueWidget-h3905woQ-f35a0b783e2d2b53c1b7.js","./DetailsDialog-DiVcC3Fg-7fd3988b243d50bf1e70.js","./VWidget-CGdM4sTw-893961bd6ccec05d16a7.js","./BarColumn-B6tCmNJm-9ca6a3b942d168ebcdb8.js"],function(g,b){"use strict";var r,i,a,s,u,o,c,l,n,m;return{setters:[e=>{r=e.default},e=>{i=e.default},e=>{a=e.o},e=>{s=e.resolveComponent,u=e.openBlock,o=e.createElementBlock,c=e.normalizeStyle,l=e.createVNode,n=e.mergeProps},e=>{m=e.s},null,null,null,null,null,null,null,null,null],execute:function(){const e={mixins:[a],components:{LabelvalueWidget:r,LimitsbarWidget:i},computed:{labelValueSettings(){return[...this.appliedSettings.filter(t=>t[0]==="__SCREEN_ID__"),...this.settings.filter(t=>parseInt(t[0])===0||parseInt(t[0])===1)]}}};function p(t,j,V,W,x,d){const v=s("labelvalue-widget"),f=s("limitsbar-widget");return u(),o("div",{ref:"container",class:"d-flex flex-row",style:c(t.computedStyle)},[l(v,n(t.$attrs,{parameters:t.parameters,settings:d.labelValueSettings,"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone}),null,16,["parameters","settings","screen-values","screen-time-zone"]),l(f,n(t.$attrs,{parameters:t.parameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"widget-index":2,line:t.line,lineNumber:t.lineNumber}),null,16,["parameters","settings","screen-values","line","lineNumber"])],4)}const S=g("default",m(e,[["render",p]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./LabelWidget-D1JhQAzR-3b197382850460b21e5a.js","./ValueWidget-h3905woQ-f35a0b783e2d2b53c1b7.js","./LimitscolumnWidget-Dt5ce4hN-391c67ae85d2fa51055e.js","./Widget-C7ms_xDE-6a246185f9a7a9c965ab.js","vue","./main-ee4a4324250bb0ff8910.js","vue-router","single-spa","vuex","vuetify","./DetailsDialog-DiVcC3Fg-7fd3988b243d50bf1e70.js","./VWidget-CGdM4sTw-893961bd6ccec05d16a7.js","./BarColumn-B6tCmNJm-9ca6a3b942d168ebcdb8.js"],function(d,S){"use strict";var i,r,a,u,s,o,c,m,n,l,g;return{setters:[e=>{i=e.default},e=>{r=e.default},e=>{a=e.default},e=>{u=e.o},e=>{s=e.resolveComponent,o=e.openBlock,c=e.createElementBlock,m=e.normalizeStyle,n=e.createVNode,l=e.mergeProps},e=>{g=e.s},null,null,null,null,null,null,null],execute:function(){const e={mixins:[u],components:{LabelWidget:i,ValueWidget:r,LimitscolumnWidget:a}};function p(t,j,V,b,x,C){const v=s("label-widget"),f=s("limitscolumn-widget"),w=s("value-widget");return o(),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,l(t.$attrs,{parameters:t.parameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"widget-index":2,line:t.line,lineNumber:t.lineNumber}),null,16,["parameters","settings","screen-values","line","lineNumber"]),n(w,l(t.$attrs,{parameters:t.parameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone,"widget-index":1}),null,16,["parameters","settings","screen-values","screen-time-zone"])],4)}const W=d("default",g(e,[["render",p]]))}}});
|
@@ -1 +1 @@
|
|
1
|
-
System.register(["./LabelvalueWidget-
|
1
|
+
System.register(["./LabelvalueWidget-BWpP5KX6-ef5769b7ec88b403bcd2.js","./RangebarWidget-DbYrwEfC-80ec2d6bc7c71c951f35.js","./Widget-C7ms_xDE-6a246185f9a7a9c965ab.js","vue","./main-ee4a4324250bb0ff8910.js","./LabelWidget-D1JhQAzR-3b197382850460b21e5a.js","vue-router","single-spa","vuex","vuetify","./ValueWidget-h3905woQ-f35a0b783e2d2b53c1b7.js","./DetailsDialog-DiVcC3Fg-7fd3988b243d50bf1e70.js","./VWidget-CGdM4sTw-893961bd6ccec05d16a7.js"],function(g,f){"use strict";var l,i,u,s,m,o,p,r,a,c;return{setters:[e=>{l=e.default},e=>{i=e.default},e=>{u=e.o},e=>{s=e.resolveComponent,m=e.openBlock,o=e.createElementBlock,p=e.normalizeStyle,r=e.createVNode,a=e.mergeProps},e=>{c=e.s},null,null,null,null,null,null,null,null],execute:function(){const e={mixins:[u],components:{LabelvalueWidget:l,RangebarWidget:i},computed:{labelValueSettings(){return[...this.settings.filter(t=>t[0]==="__SCREEN_ID__"),...this.settings.filter(t=>parseInt(t[0])===0||parseInt(t[0])===1)]},labelValueParameters(){return[this.parameters[0],this.parameters[1],this.parameters[2],this.parameters[5],this.parameters[6]]},rangeBarParameters(){return[this.parameters[0],this.parameters[1],this.parameters[2],this.parameters[3],this.parameters[4],this.parameters[5],this.parameters[7],this.parameters[8]]}}};function d(t,V,W,j,B,n){const h=s("labelvalue-widget"),v=s("rangebar-widget");return m(),o("div",{ref:"container",class:"d-flex flex-row",style:p(t.computedStyle)},[r(h,a(t.$attrs,{parameters:n.labelValueParameters,settings:n.labelValueSettings,"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone}),null,16,["parameters","settings","screen-values","screen-time-zone"]),r(v,a(t.$attrs,{parameters:n.rangeBarParameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"widget-index":2}),null,16,["parameters","settings","screen-values"])],4)}const b=g("default",c(e,[["render",d]]))}}});
|
data/tools/admin/{Layout-C1HoM4Kl-417cd02a11d96e992d80.js → Layout-D4YBjuWs-3a490c22141994a23366.js}
RENAMED
@@ -1 +1 @@
|
|
1
|
-
System.register(["./Widget-
|
1
|
+
System.register(["./Widget-C7ms_xDE-6a246185f9a7a9c965ab.js"],function(r,s){"use strict";var e;return{setters:[t=>{e=t.o}],execute:function(){const t=r("r",{mixins:[e],props:{widgets:{type:Array,default:()=>[]}}})}}});
|
@@ -1 +1 @@
|
|
1
|
-
System.register(["./Widget-
|
1
|
+
System.register(["./Widget-C7ms_xDE-6a246185f9a7a9c965ab.js","vue","./main-ee4a4324250bb0ff8910.js","vue-router","single-spa","vuex","vuetify"],function(m,I){"use strict";var i,n,l,o,r,a,p,h,c;return{setters:[e=>{i=e.o},e=>{n=e.resolveComponent,l=e.openBlock,o=e.createBlock,r=e.withCtx,a=e.createElementVNode,p=e.mergeProps,h=e.toDisplayString},e=>{c=e.s},null,null,null,null],execute:function(){const e={mixins:[i],data(){return{valueId:null,colors:{TRUE:"openc3-green",FALSE:"openc3-red"}}},computed:{width(){return this.parameters[4]?parseInt(this.parameters[4]):20},height(){return this.parameters[5]?parseInt(this.parameters[5]):20},cssProps(){let t=this.screenValues[this.valueId][0],s=this.colors[t];return s||(s=this.colors.ANY),s||(s="openc3-black"),{"--color":s}},fullName(){return this.parameters[0]+" "+this.parameters[1]+" "+this.parameters[2]}},created(){this.appliedSettings.forEach(t=>{switch(t[0]){case"LED_COLOR":this.colors[t[1]]=t[2];break}}),this.appliedSettings.push(["WIDTH",this.width]),this.appliedSettings.push(["HEIGHT",this.height]),this.parameters[3]||(this.parameters[3]="CONVERTED"),this.valueId=`${this.parameters[0]}__${this.parameters[1]}__${this.parameters[2]}__${this.parameters[3]}`,this.$emit("addItem",this.valueId)},unmounted(){this.$emit("deleteItem",this.valueId)}};function d(t,s,f,E,S,u){const v=n("v-tooltip");return l(),o(v,{location:"top"},{activator:r(({props:g})=>[a("div",p({class:"ledwidget mt-1",style:[u.cssProps,t.computedStyle]},g),null,16)]),default:r(()=>[a("span",null,h(u.fullName),1)]),_:1})}const _=m("default",c(e,[["render",d],["__scopeId","data-v-6a4513e5"]]))}}});
|
@@ -1 +1 @@
|
|
1
|
-
System.register(["./BarColumn-
|
1
|
+
System.register(["./BarColumn-B6tCmNJm-9ca6a3b942d168ebcdb8.js","vue","./main-ee4a4324250bb0ff8910.js","./Widget-C7ms_xDE-6a246185f9a7a9c965ab.js","vue-router","single-spa","vuex","vuetify"],function(_,p){"use strict";var l,r,a,n,s,t,o,c,m;return{setters:[i=>{l=i.l},i=>{r=i.resolveComponent,a=i.openBlock,n=i.createBlock,s=i.withCtx,t=i.createElementVNode,o=i.mergeProps,c=i.toDisplayString},i=>{m=i.s},null,null,null,null,null],execute:function(){const i={mixins:[l],data(){return{width:160,height:22}},computed:{limitsRange(){let e=this.limitsSettings[this.selectedLimitsSet];if(e)return e.length===4?`RL/${e[0]} YL/${e[1]} YH/${e[2]} RH/${e[3]}`:`RL/${e[0]} YL/${e[1]} YH/${e[2]} RH/${e[3]} GL/${e[4]} GH/${e[5]}`;throw{line:this.line,lineNumber:this.lineNumber,keyword:"LIMITSBAR",parameters:this.parameters,message:"Item has no limits settings",usage:"Only items with limits"}}},created(){this.verifyNumParams("LIMITSBAR",3,6,"LIMITSBAR <TARGET> <PACKET> <ITEM> <TYPE> <WIDTH> <HEIGHT>")}};function d(e,u,w,I,y,v){const h=r("v-tooltip");return a(),n(h,{location:"top"},{activator:s(({props:g})=>[t("div",o({class:"limitsbar",style:[e.cssProps,e.computedStyle]},g),u[0]||(u[0]=[t("div",{class:"limitsbar__container"},[t("div",{class:"limitsbar__redlow"}),t("div",{class:"limitsbar__redhigh"}),t("div",{class:"limitsbar__yellowlow"}),t("div",{class:"limitsbar__yellowhigh"}),t("div",{class:"limitsbar__greenlow"}),t("div",{class:"limitsbar__greenhigh"}),t("div",{class:"limitsbar__blue"}),t("div",{class:"limitsbar__line"}),t("div",{class:"limitsbar__arrow"})],-1)]),16)]),default:s(()=>[t("span",null,c(v.limitsRange),1)]),_:1})}const b=_("default",m(i,[["render",d],["__scopeId","data-v-9f79e720"]]))}}});
|
@@ -1 +1 @@
|
|
1
|
-
System.register(["./VWidget-
|
1
|
+
System.register(["./VWidget-CGdM4sTw-893961bd6ccec05d16a7.js","vue","./main-ee4a4324250bb0ff8910.js","./Widget-C7ms_xDE-6a246185f9a7a9c965ab.js","vue-router","single-spa","vuex","vuetify"],function(p,h){"use strict";var r,a,l,i,s,n,o,u;return{setters:[e=>{r=e.L},e=>{a=e.resolveComponent,l=e.openBlock,i=e.createElementBlock,s=e.normalizeStyle,n=e.createElementVNode,o=e.createVNode},e=>{u=e.s},null,null,null,null,null],execute:function(){const e={mixins:[r],data(){return{radius:15,fullLabelDisplay:!1}},created(){this.parameters[4]&&(this.radius=parseInt(this.parameters[4])),this.parameters[5]&&this.parameters[5].toLowerCase()==="true"&&(this.fullLabelDisplay=!0)},computed:{labelName(){return this.fullLabelDisplay?[this.parameters[0]+" "+this.parameters[1]+" "+this.parameters[2]]:[this.parameters[2]]},cssProps(){return{"--height":this.radius+"px","--width":this.radius+"px","--color":this.limitsColor}}},methods:{getType(){let t="CONVERTED";return this.parameters[3]&&(t=this.parameters[3]),t}}};function d(t,y,g,v,x,c){const m=a("label-widget");return l(),i("div",{ref:"container",class:"d-flex flex-row",style:s(t.computedStyle)},[n("div",{class:"led align-self-center",style:s(c.cssProps)},null,4),o(m,{parameters:c.labelName,settings:t.appliedSettings,style:s(t.computedStyle),"widget-index":1},null,8,["parameters","settings","style"])],4)}const f=p("default",u(e,[["render",d],["__scopeId","data-v-87ec8e4f"]]))}}});
|
@@ -1 +1 @@
|
|
1
|
-
System.register(["./BarColumn-
|
1
|
+
System.register(["./BarColumn-B6tCmNJm-9ca6a3b942d168ebcdb8.js","vue","./main-ee4a4324250bb0ff8910.js","./Widget-C7ms_xDE-6a246185f9a7a9c965ab.js","vue-router","single-spa","vuex","vuetify"],function(n,v){"use strict";var a,s,l,r,h,d;return{setters:[i=>{a=i.l},i=>{s=i.openBlock,l=i.createElementBlock,r=i.normalizeStyle,h=i.createStaticVNode},i=>{d=i.s},null,null,null,null,null],execute:function(){const i={mixins:[a],data(){return{width:22,height:120}},computed:{cssProps:function(){let e=this.screenValues[this.valueId][0],t=this.modifyLimits(this.limitsSettings[this.selectedLimitsSet]);if(t)return this.calcLimits(t),{"--height":this.height+"px","--width":this.width+"px","--container-width":this.width-5+"px","--position":this.calcPosition(e,t)+"%","--redlow-height":this.redLow+"%","--redhigh-height":this.redHigh+"%","--yellowlow-height":this.yellowLow+"%","--yellowhigh-height":this.yellowHigh+"%","--greenlow-height":this.greenLow+"%","--greenhigh-height":this.greenHigh+"%","--blue-height":this.blue+"%"};throw{line:this.line,lineNumber:this.lineNumber,keyword:"LIMITSCOLUMN",parameters:this.parameters,message:"Item has no limits settings",usage:"Only items with limits"}}},created(){this.verifyNumParams("LIMITSCOLUMN",3,6,"LIMITSCOLUMN <TARGET> <PACKET> <ITEM> <TYPE> <WIDTH> <HEIGHT>")}};function o(e,t,g,u,b,c){return s(),l("div",{class:"limitsbar",style:r([c.cssProps,e.computedStyle])},t[0]||(t[0]=[h('<div class="limitsbar__container" data-v-a4a8f4ab><div class="limitsbar__redlow" data-v-a4a8f4ab></div><div class="limitsbar__redhigh" data-v-a4a8f4ab></div><div class="limitsbar__yellowlow" data-v-a4a8f4ab></div><div class="limitsbar__yellowhigh" data-v-a4a8f4ab></div><div class="limitsbar__greenlow" data-v-a4a8f4ab></div><div class="limitsbar__greenhigh" data-v-a4a8f4ab></div><div class="limitsbar__blue" data-v-a4a8f4ab></div><div class="limitsbar__line" data-v-a4a8f4ab></div><div class="limitsbar__arrow" data-v-a4a8f4ab></div></div>',1)]),4)}const m=n("default",d(i,[["render",o],["__scopeId","data-v-a4a8f4ab"]]))}}});
|
@@ -1 +1 @@
|
|
1
|
-
System.register(["./GraphWidget-
|
1
|
+
System.register(["./GraphWidget-BohHW-97-fd394110bcce6887c880.js","./main-ee4a4324250bb0ff8910.js","vue","single-spa","./Widget-C7ms_xDE-6a246185f9a7a9c965ab.js","vue-router","vuex","vuetify"],function(h,u){"use strict";var i,n,r,o,a,l,d;return{setters:[t=>{i=t.S,n=t._},t=>{r=t.s},t=>{o=t.resolveComponent,a=t.openBlock,l=t.createBlock,d=t.normalizeStyle},null,null,null,null,null],execute:function(){const t={components:{Graph:i},mixins:[n]};function p(e,s,g,v,S,f){const c=o("graph");return a(),l(c,{ref:"graph"+e.id,id:e.id,state:e.state,"selected-graph-id":e.id,startTime:e.startTime,"seconds-graphed":e.secondsGraphed,"points-saved":e.pointsSaved,"points-graphed":e.pointsGraphed,"initial-items":e.items,height:e.size.height,width:e.size.width,style:d(e.computedStyle),"time-zone":this.screenTimeZone,onPause:s[0]||(s[0]=()=>e.state="pause"),onStart:s[1]||(s[1]=()=>e.state="start"),"hide-toolbar":"","hide-overview":""},null,8,["id","state","selected-graph-id","startTime","seconds-graphed","points-saved","points-graphed","initial-items","height","width","style","time-zone"])}const m=h("default",r(t,[["render",p]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./Layout-D4YBjuWs-3a490c22141994a23366.js","./main-ee4a4324250bb0ff8910.js","vue","./Widget-C7ms_xDE-6a246185f9a7a9c965ab.js","vue-router","single-spa","vuex","vuetify"],function(y,C){"use strict";var c,o,m,n,r,g,l,a,p,d,f;return{setters:[e=>{c=e.r},e=>{o=e.s,m=e.K},e=>{n=e.openBlock,r=e.createElementBlock,g=e.normalizeStyle,l=e.Fragment,a=e.renderList,p=e.createBlock,d=e.resolveDynamicComponent,f=e.mergeProps},null,null,null,null,null],execute:function(){const e={mixins:[c],computed:{columns(){return parseInt(this.parameters[0])},widgetChunks(){return m.chunk(this.widgets,this.columns)}},created:function(){if(this.parameters[1]){let s=this.parameters[1];this.widgets.forEach(u=>{u.settings.find(i=>i[0]==="MARGIN"||i[0]==="RAW"&&i[1].toUpperCase().includes("MARGIN"))===void 0&&u.settings.push(["MARGIN",s])})}}};function h(s,u,i,A,j,k){return n(),r("table",{style:g(s.computedStyle),role:"presentation"},[(n(!0),r(l,null,a(k.widgetChunks,(v,w)=>(n(),r("tr",{key:"r"+w},[(n(!0),r(l,null,a(v,(t,B)=>(n(),r("td",{key:"c"+B},[(n(),p(d(t.type),f({ref_for:!0},s.listeners,{target:t.target,parameters:t.parameters,settings:t.settings,"screen-values":s.screenValues,"screen-time-zone":s.screenTimeZone,widgets:t.widgets,name:t.name,line:t.line,"line-number":t.lineNumber}),null,16,["target","parameters","settings","screen-values","screen-time-zone","widgets","name","line","line-number"]))]))),128))]))),128))],4)}const b=y("default",o(e,[["render",h]]))}}});
|
@@ -1 +1 @@
|
|
1
|
-
System.register(["./main-
|
1
|
+
System.register(["./main-ee4a4324250bb0ff8910.js","vue","single-spa","./OutputDialog-BTG5GO0M-6c156d3831d7592cb837.js","vue-router","vuex","vuetify"],function(J,q){"use strict";var y,m,b,B,r,d,h,i,s,u,p,j,L,v,f,O,U,I,C,P,g,$;return{setters:[t=>{y=t.s,m=t.I,b=t.p,B=t.l},t=>{r=t.resolveComponent,d=t.openBlock,h=t.createBlock,i=t.withCtx,s=t.createVNode,u=t.createElementVNode,p=t.toDisplayString,j=t.normalizeProps,L=t.guardReactiveProps,v=t.createTextVNode,f=t.createElementBlock,O=t.Fragment,U=t.renderList,I=t.withDirectives,C=t.mergeProps,P=t.vShow,g=t.createCommentVNode},null,t=>{$=t.J},null,null,null],execute:function(){const t={props:{modelValue:Boolean,text:String,title:String},computed:{dialogText:function(){return this.text},show:{get(){return this.modelValue},set(o){this.$emit("update:modelValue",o)}}},methods:{download:function(){const o=new Blob([this.dialogText],{type:"text/plain"}),e=document.createElement("a");e.href=URL.createObjectURL(o),e.setAttribute("download",`${this.title}__error.txt`),e.click()}}},R={class:"mx-2"},A={class:"pa-2"};function F(o,e,w,x,a,n){const _=r("v-spacer"),D=r("v-icon"),V=r("v-tooltip"),k=r("v-toolbar"),S=r("v-textarea"),T=r("v-card-text"),E=r("v-btn"),M=r("v-card-actions"),N=r("v-card"),l=r("v-dialog");return d(),h(l,{modelValue:n.show,"onUpdate:modelValue":e[2]||(e[2]=c=>n.show=c),width:"600"},{default:i(()=>[s(N,null,{default:i(()=>[s(k,{height:"24"},{default:i(()=>[s(_),u("span",null,p(w.title),1),s(_),u("div",R,[s(V,{location:"top"},{activator:i(({props:c})=>[u("div",j(L(c)),[s(D,{"data-test":"downloadIcon",onClick:n.download},{default:i(()=>e[3]||(e[3]=[v(" mdi-download ")])),_:1},8,["onClick"])],16)]),default:i(()=>[e[4]||(e[4]=u("span",null," Download ",-1))]),_:1})])]),_:1}),u("div",A,[s(T,null,{default:i(()=>[s(S,{modelValue:n.dialogText,"onUpdate:modelValue":e[0]||(e[0]=c=>n.dialogText=c),readonly:"",rows:"15","data-test":"dialogText"},null,8,["modelValue"])]),_:1})]),s(M,{class:"px-2"},{default:i(()=>[s(_),s(E,{variant:"flat",onClick:e[1]||(e[1]=c=>n.show=!n.show)},{default:i(()=>e[5]||(e[5]=[v(" Ok ")])),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue"])}const z={components:{OutputDialog:$,TextBoxDialog:y(t,[["render",F]])},data(){return{microservices:[],microservice_status:{},microservice_id:null,jsonContent:"",dialogTitle:"",showDialog:!1,showError:!1}},mounted(){this.update()},methods:{update:function(){m.get("/openc3-api/microservice_status/all").then(o=>{this.microservice_status=o.data}),m.get("/openc3-api/microservices").then(o=>{this.microservices=o.data})},showMicroservice:function(o){m.get(`/openc3-api/microservices/${o}`).then(e=>{this.microservice_id=o,this.dialogTitle=o,this.jsonContent=JSON.stringify(e.data,null," "),this.showDialog=!0})},showMicroserviceError:function(o){this.dialogTitle=o;const e=this.microservice_status[o].error;this.jsonContent=JSON.stringify(e,null," "),this.showError=!0},formatDate(o){return b(B(parseInt(o)/1e6),"yyyy-MM-dd HH:mm:ss.SSS")},dialogCallback:function(o){if(this.showDialog=!1,o!==null){let e=JSON.parse(o),w="put",x=`/openc3-api/microservices/${this.microservice_id}`;e.name!==this.microservice_id&&(w="post",x="/openc3-api/microservices"),m[w](x,{data:{json:o}}).then(a=>{this.alert="Modified Microservice",this.alertType="success",this.showAlert=!0,setTimeout(()=>{this.showAlert=!1},5e3),this.update()})}}}},G={key:0};function H(o,e,w,x,a,n){const _=r("v-list-item-title"),D=r("v-list-item-subtitle"),V=r("v-icon"),k=r("v-tooltip"),S=r("v-list-item"),T=r("v-divider"),E=r("v-list"),M=r("output-dialog"),N=r("text-box-dialog");return d(),f("div",null,[s(E,{class:"list","data-test":"microserviceList"},{default:i(()=>[(d(!0),f(O,null,U(a.microservices,l=>(d(),f("div",{key:l},[s(S,null,{append:i(()=>[a.microservice_status[l]?(d(),f("div",G,[I(u("div",null,[s(k,{location:"top"},{activator:i(({props:c})=>[s(V,C({ref_for:!0},c,{onClick:W=>n.showMicroserviceError(l)}),{default:i(()=>e[2]||(e[2]=[v(" mdi-alert ")])),_:2},1040,["onClick"])]),default:i(()=>[e[3]||(e[3]=u("span",null,"View Error",-1))]),_:2},1024)],512),[[P,!!a.microservice_status[l].error]])])):g("",!0),s(k,{location:"top"},{activator:i(({props:c})=>[s(V,C({ref_for:!0},c,{onClick:W=>n.showMicroservice(l)}),{default:i(()=>e[4]||(e[4]=[v(" mdi-eye ")])),_:2},1040,["onClick"])]),default:i(()=>[e[5]||(e[5]=u("span",null,"View Microservice",-1))]),_:2},1024)]),default:i(()=>[s(_,null,{default:i(()=>[v(p(l),1)]),_:2},1024),a.microservice_status[l]?(d(),h(D,{key:0},{default:i(()=>[v(" Updated: "+p(n.formatDate(a.microservice_status[l].updated_at))+", State: "+p(a.microservice_status[l].state)+", Count: "+p(a.microservice_status[l].count),1)]),_:2},1024)):g("",!0)]),_:2},1024),s(T)]))),128))]),_:1}),a.showDialog?(d(),h(M,{key:0,modelValue:a.showDialog,"onUpdate:modelValue":e[0]||(e[0]=l=>a.showDialog=l),content:a.jsonContent,type:"Microservice",name:a.dialogTitle,onSubmit:n.dialogCallback},null,8,["modelValue","content","name","onSubmit"])):g("",!0),a.showError?(d(),h(N,{key:1,modelValue:a.showError,"onUpdate:modelValue":e[1]||(e[1]=l=>a.showError=l),text:a.jsonContent,title:a.dialogTitle},null,8,["modelValue","text","title"])):g("",!0)])}const Q=J("default",y(z,[["render",H],["__scopeId","data-v-ca119c16"]]))}}});
|
@@ -1 +1 @@
|
|
1
|
-
System.register(["./main-
|
1
|
+
System.register(["./main-ee4a4324250bb0ff8910.js","vue"],function(x,N){"use strict";var w,i,_,s,b,y,a,r,c,k,M,v,m;return{setters:[n=>{w=n.s,i=n.E,_=n.F},n=>{s=n.resolveComponent,b=n.openBlock,y=n.createBlock,a=n.withCtx,r=n.createVNode,c=n.createElementVNode,k=n.toDisplayString,M=n.normalizeProps,v=n.guardReactiveProps,m=n.createTextVNode}],execute:function(){const n={data:{configKey:""},methods:{buildLanguageMode(t,e){let o=i.require("ace/lib/oop"),h=Object.getOwnPropertyNames(_.prototype).filter(d=>d!=="constructor").filter(d=>d!=="exec").concat(["check","check_raw","check_formatted","check_with_units","check_exception","check_tolerance","check_expression","wait","wait_tolerance","wait_expression","wait_check","wait_check_tolerance","wait_check_expression","wait_packet","wait_check_packet","disable_instrumentation","set_line_delay","get_line_delay","set_max_output","get_max_output"]),p=new RegExp(`(\\b${h.join("\\b|\\b")}\\b)`),l=function(){t.call(this);for(let d in this.$rules)this.$rules[d].unshift({regex:p,token:"support.function"})};o.inherits(l,t);let u=i.require("ace/mode/matching_brace_outdent").MatchingBraceOutdent,f=i.require("ace/mode/behaviour/cstyle").CstyleBehaviour;return[o,function(){this.HighlightRules=l,this.$outdent=new u,this.$behaviour=new f,this.foldingRules=new e,this.indentKeywords=this.foldingRules.indentKeywords}]},buildRubyMode(){const[t,e]=this.buildLanguageMode(i.require("ace/mode/ruby_highlight_rules").RubyHighlightRules,i.require("ace/mode/folding/ruby").FoldMode);let o=i.require("ace/mode/ruby").Mode;return t.inherits(e,o),(function(){this.$id="ace/mode/openc3"}).call(e.prototype),e},buildPythonMode(){const[t,e]=this.buildLanguageMode(i.require("ace/mode/python_highlight_rules").PythonHighlightRules,i.require("ace/mode/folding/pythonic").FoldMode);let o=i.require("ace/mode/python").Mode;return t.inherits(e,o),(function(){this.$id="ace/mode/openc3"}).call(e.prototype),e},buildJsonMode(){const[t,e]=this.buildLanguageMode(i.require("ace/mode/json_highlight_rules").JsonHighlightRules,i.require("ace/mode/folding/ruby").FoldMode);let o=i.require("ace/mode/json").Mode;return t.inherits(e,o),(function(){this.$id="ace/mode/openc3"}).call(e.prototype),e},buildMarkdownMode(){const[t,e]=this.buildLanguageMode(i.require("ace/mode/markdown_highlight_rules").MarkdownHighlightRules,i.require("ace/mode/folding/markdown").FoldMode);let o=i.require("ace/mode/markdown").Mode;return t.inherits(e,o),(function(){this.$id="ace/mode/openc3"}).call(e.prototype),e}}},q={props:{content:{type:String,required:!0},type:String,name:String,modelValue:Boolean,filename:{type:String,required:!1}},mixins:[n],data(){return{editor:null,mode:null}},mounted(){this.editor=ace.edit(this.$refs.editor),this.editor.setTheme("ace/theme/twilight");let t=null;switch(this.filename?this.filename.split(".").pop():"txt"){case"json":const e=this.buildJsonMode();t=new e,this.editor.setOptions({useWorker:!1});case"py":case"pyi":const o=this.buildPythonMode();t=new o;break;case"md":const h=this.buildMarkdownMode();t=new h;break;default:const p=this.buildRubyMode();t=new p;break}this.editor.session.setMode(t),this.editor.session.setUseWrapMode(!0),this.editor.$blockScrolling=1/0,this.editor.setHighlightActiveLine(!1),this.editor.setValue(this.content),this.editor.clearSelection(),this.editor.focus(),this.editor.setReadOnly(!0)},beforeUnmount(){this.editor&&this.editor.destroy()},computed:{show:{get(){return this.modelValue},set(t){this.$emit("update:modelValue",t)}},title:function(){return`${this.type}: ${this.name}`}},methods:{close:function(){this.show=!this.show},download:function(){const t=new Blob([this.editor.getValue()],{type:"text/plain"});let e=`${this.type.toLowerCase()}_${this.name.toLowerCase()}.json`;this.filename&&(e=this.filename);const o=document.createElement("a");o.href=URL.createObjectURL(t),o.setAttribute("download",e),o.click()}}},R=["textContent"],$={class:"mx-2"},V={class:"editor",ref:"editor"};function C(t,e,o,h,p,l){const u=s("v-spacer"),f=s("v-icon"),d=s("v-tooltip"),L=s("v-toolbar"),j=s("v-card-text"),B=s("v-btn"),P=s("v-card-actions"),S=s("v-card"),O=s("v-dialog");return b(),y(O,{modelValue:l.show,"onUpdate:modelValue":e[1]||(e[1]=g=>l.show=g),width:"85vw"},{default:a(()=>[r(S,null,{default:a(()=>[r(L,{height:"24"},{default:a(()=>[r(u),c("span",{textContent:k(l.title)},null,8,R),r(u),c("div",$,[r(d,{location:"top"},{activator:a(({props:g})=>[c("div",M(v(g)),[r(f,{"data-test":"downloadIcon",onClick:l.download},{default:a(()=>e[2]||(e[2]=[m(" mdi-download ")])),_:1},8,["onClick"])],16)]),default:a(()=>[e[3]||(e[3]=c("span",null," Download ",-1))]),_:1})])]),_:1}),r(j,null,{default:a(()=>[c("pre",V,null,512)]),_:1}),r(P,{class:"pr-6 pb-4 pt-0"},{default:a(()=>[r(u),r(B,{variant:"flat",onClick:e[0]||(e[0]=g=>l.show=!l.show)},{default:a(()=>e[4]||(e[4]=[m(" Ok ")])),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue"])}const E=x("J",w(q,[["render",C],["__scopeId","data-v-b0c9f05d"]]))}}});
|
@@ -1 +1 @@
|
|
1
|
-
System.register(["./main-
|
1
|
+
System.register(["./main-ee4a4324250bb0ff8910.js","vue","single-spa","./SimpleTextDialog-BQ0jrNW3-7bc1a75a274215196c98.js","vue-router","vuex","vuetify"],function(E,W){"use strict";var O,S,g,b,A,n,c,p,s,t,i,d,f,$,k,y,N,I,_,B,L;return{setters:[a=>{O=a.s,S=a.b,g=a.I,b=a.p,A=a.l},a=>{n=a.resolveComponent,c=a.openBlock,p=a.createElementBlock,s=a.createVNode,t=a.withCtx,i=a.createTextVNode,d=a.createElementVNode,f=a.toDisplayString,$=a.createBlock,k=a.Fragment,y=a.renderList,N=a.createSlots,I=a.normalizeClass,_=a.mergeProps,B=a.createCommentVNode},null,a=>{L=a.O},null,null,null],execute:function(){const a={components:{DownloadDialog:S,SimpleTextDialog:L},data(){return{showDownloadDialog:!1,showProcessOutput:!1,processOutput:"",files:[],loadingPackage:!1,progress:0,gems:[],python:[],processes:{},alert:"",alertType:"success",showAlert:!1}},mounted(){this.update(),this.updateProcesses()},methods:{showOutput:function(r){this.processOutput=r.output,this.showProcessOutput=!0},update(){g.get("/openc3-api/packages").then(r=>{this.gems=r.data.ruby,this.python=r.data.python})},updateProcesses:function(){g.get("/openc3-api/process_status/package_?substr=true").then(r=>{this.processes=r.data,Object.keys(this.processes).length>0&&setTimeout(()=>{this.updateProcesses(),this.update()},1e4)})},formatDate(r){return b(A(parseInt(r)/1e6),"yyyy-MM-dd HH:mm:ss.SSS")},selectFile(){this.progress=0,this.$refs.fileInput.click()},fileChange(r){const e=r.target.files;if(e.length>0){this.loadingPackage=!0;let U=this;const F=[...e].map(o=>{const u=new FormData;return u.append("package",o,o.name),g.post("/openc3-api/packages",{data:u,headers:{"Content-Type":"multipart/form-data"},onUploadProgress:function(v){let h=Math.round(v.loaded*100/v.total);U.progress=h}})});Promise.all(F).then(o=>{this.progress=100,this.alert=`Uploaded ${o.length} package${o.length>1?"s":""}`,this.alertType="success",this.showAlert=!0,this.loadingPackage=!1,this.files=[],setTimeout(()=>{this.showAlert=!1,this.updateProcesses()},5e3),this.update()}).catch(o=>{this.loadingPackage=!1})}},deletePackage:function(r){this.$dialog.confirm(`Are you sure you want to remove: ${r}`,{okText:"Delete",cancelText:"Cancel"}).then(function(e){return g.delete(`/openc3-api/packages/${r}`)}).then(e=>{this.alert=`Removed package ${r}`,this.alertType="success",this.showAlert=!0,setTimeout(()=>{this.showAlert=!1},5e3),this.update()})}}},M=["textContent"],R=["textContent"];function z(r,e,U,F,o,u){const v=n("v-btn"),h=n("v-col"),H=n("rux-progress"),w=n("v-row"),Q=n("v-alert"),C=n("v-list-item-title"),q=n("v-list-item-subtitle"),x=n("v-icon"),V=n("v-tooltip"),D=n("v-list-item"),T=n("v-divider"),j=n("v-list"),G=n("download-dialog"),J=n("simple-text-dialog");return c(),p("div",null,[s(w,{"no-gutters":"",align:"center",class:"px-2"},{default:t(()=>[s(h,{class:"pa-2 mt-2"},{default:t(()=>[s(v,{onClick:u.selectFile},{default:t(()=>e[4]||(e[4]=[i("Install Package")])),_:1},8,["onClick"]),d("input",{style:{display:"none"},type:"file",ref:"fileInput",onChange:e[0]||(e[0]=(...l)=>u.fileChange&&u.fileChange(...l))},null,544)]),_:1}),s(h,{class:"ml-4 mr-2",cols:"4"},{default:t(()=>[s(H,{value:o.progress},null,8,["value"])]),_:1})]),_:1}),s(Q,{modelValue:o.showAlert,"onUpdate:modelValue":e[1]||(e[1]=l=>o.showAlert=l),closable:"",type:o.alertType},{default:t(()=>[i(f(o.alert),1)]),_:1},8,["modelValue","type"]),Object.keys(o.processes).length>0?(c(),$(j,{key:0,class:"list","data-test":"process-list"},{default:t(()=>[s(w,{"no-gutters":"",class:"px-4"},{default:t(()=>[s(h,{class:"text-h6"},{default:t(()=>e[5]||(e[5]=[i("Process List")])),_:1}),s(h,{align:"right"},{default:t(()=>e[6]||(e[6]=[d("div",null,"Showing last 10 min of activity",-1)])),_:1})]),_:1}),(c(!0),p(k,null,y(o.processes,l=>(c(),p("div",{key:l.name},[s(D,null,N({default:t(()=>[s(C,null,{default:t(()=>[d("span",{class:I(l.state.toLowerCase()),textContent:f(`Processing ${l.process_type}: ${l.detail} - ${l.state}`)},null,10,M)]),_:2},1024),s(q,null,{default:t(()=>[d("span",{textContent:f(" Updated At: "+u.formatDate(l.updated_at))},null,8,R)]),_:2},1024)]),_:2},[l.state!=="Running"?{name:"append",fn:t(()=>[s(V,{location:"top"},{activator:t(({props:m})=>[s(x,_({ref_for:!0},m,{onClick:P=>u.showOutput(l)}),{default:t(()=>e[7]||(e[7]=[i(" mdi-eye ")])),_:2},1040,["onClick"])]),default:t(()=>[e[8]||(e[8]=d("span",null,"Show Output",-1))]),_:2},1024)]),key:"0"}:void 0]),1024),s(T)]))),128))]),_:1})):B("",!0),s(j,{class:"list","data-test":"packageList"},{default:t(()=>[s(w,{class:"px-4"},{default:t(()=>[s(h,{class:"text-h6"},{default:t(()=>e[9]||(e[9]=[i("Ruby Gems")])),_:1})]),_:1}),(c(!0),p(k,null,y(o.gems,(l,m)=>(c(),p("div",{key:m},[s(D,null,{append:t(()=>[s(V,{location:"top"},{activator:t(({props:P})=>[s(x,_({ref_for:!0},P,{onClick:K=>u.deletePackage(l)}),{default:t(()=>e[10]||(e[10]=[i(" mdi-delete ")])),_:2},1040,["onClick"])]),default:t(()=>[e[11]||(e[11]=d("span",null,"Delete Package",-1))]),_:2},1024)]),default:t(()=>[s(C,null,{default:t(()=>[i(f(l),1)]),_:2},1024)]),_:2},1024),s(T)]))),128)),s(w,{class:"px-4"},{default:t(()=>[s(h,{class:"text-h6"},{default:t(()=>e[12]||(e[12]=[i("Python Packages")])),_:1})]),_:1}),(c(!0),p(k,null,y(o.python,(l,m)=>(c(),p("div",{key:m},[s(D,null,{append:t(()=>[s(V,{location:"top"},{activator:t(({props:P})=>[s(x,_({ref_for:!0},P,{onClick:K=>u.deletePackage(l)}),{default:t(()=>e[13]||(e[13]=[i(" mdi-delete ")])),_:2},1040,["onClick"])]),default:t(()=>[e[14]||(e[14]=d("span",null,"Delete Package",-1))]),_:2},1024)]),default:t(()=>[s(C,null,{default:t(()=>[i(f(l),1)]),_:2},1024)]),_:2},1024),s(T)]))),128))]),_:1}),s(G,{modelValue:o.showDownloadDialog,"onUpdate:modelValue":e[2]||(e[2]=l=>o.showDownloadDialog=l)},null,8,["modelValue"]),s(J,{modelValue:o.showProcessOutput,"onUpdate:modelValue":e[3]||(e[3]=l=>o.showProcessOutput=l),title:"Process Output",text:o.processOutput},null,8,["modelValue","text"])])}const X=E("default",O(a,[["render",z],["__scopeId","data-v-00d80d8f"]]))}}});
|
@@ -1,5 +1,5 @@
|
|
1
|
-
System.register(["./main-
|
1
|
+
System.register(["./main-ee4a4324250bb0ff8910.js","vue","single-spa","./SimpleTextDialog-BQ0jrNW3-7bc1a75a274215196c98.js","vue-router","vuex","vuetify"],function(H,ue){"use strict";var O,A,I,P,S,M,p,c,m,n,l,h,g,x,_,D,$,T,U,v,j,B;return{setters:[u=>{O=u.s,A=u.x,I=u.w,P=u.I,S=u.p,M=u.l},u=>{p=u.resolveComponent,c=u.openBlock,m=u.createElementBlock,n=u.createVNode,l=u.withCtx,h=u.createTextVNode,g=u.createElementVNode,x=u.toDisplayString,_=u.createBlock,D=u.Fragment,$=u.renderList,T=u.mergeProps,U=u.normalizeClass,v=u.createCommentVNode,j=u.withModifiers},null,u=>{B=u.O},null,null,null],execute:function(){const u={components:{PluginDialog:A,ModifiedPluginDialog:I,SimpleTextDialog:B},data(){return{file:null,currentPlugin:null,plugins:[],targets:[],processes:{},alert:"",alertType:"success",showAlert:!1,pluginName:null,variables:{},pluginTxt:"",pluginHashTmp:null,existingPluginTxt:null,showDownloadDialog:!1,showProcessOutput:!1,processOutput:"",showPluginDialog:!1,showModifiedPluginDialog:!1,showDefaultTools:!1,progress:0,pluginDelete:!1,defaultPlugins:["openc3-cosmos-tool-admin","openc3-cosmos-tool-bucketexplorer","openc3-cosmos-tool-cmdsender","openc3-cosmos-tool-cmdhistory","openc3-cosmos-tool-cmdtlmserver","openc3-cosmos-tool-dataextractor","openc3-cosmos-tool-dataviewer","openc3-cosmos-tool-docs","openc3-cosmos-tool-handbooks","openc3-cosmos-tool-iframe","openc3-cosmos-tool-limitsmonitor","openc3-cosmos-tool-packetviewer","openc3-cosmos-tool-scriptrunner","openc3-cosmos-tool-tablemanager","openc3-cosmos-tool-tlmgrapher","openc3-cosmos-tool-tlmviewer","openc3-cosmos-enterprise-tool-admin","openc3-cosmos-tool-autonomic","openc3-cosmos-tool-calendar","openc3-cosmos-tool-grafana","openc3-enterprise-tool-base","openc3-tool-base"]}},watch:{showPluginDialog:function(t,e){t===!1&&(this.file=null,this.$refs.fileInput.value=null)}},computed:{shownPlugins(){let t=[];for(let e of this.plugins){let o=e.split("__")[0].split("-");o=o.slice(0,-1);let d=o.join("-");(!this.defaultPlugins.includes(d)||this.showDefaultTools)&&t.push(e)}return t},pluginTargets(){return t=>{let e=[];for(const o in this.targets)this.targets[o].plugin===t&&e.push(this.targets[o]);return e}},isModified(){return t=>{let e=!1;for(const o in this.targets)if(this.targets[o].plugin===t&&this.targets[o].modified===!0){e=!0;break}return e}}},mounted(){this.update(),this.updateProcesses()},methods:{showOutput:function(t){this.processOutput=t.output,this.showProcessOutput=!0},update:function(){P.get("/openc3-api/plugins").then(t=>{this.plugins=t.data}),P.get("/openc3-api/targets_modified").then(t=>{this.targets=t.data})},updateProcesses:function(){P.get("openc3-api/process_status/plugin_?substr=true").then(t=>{this.processes=t.data,Object.keys(this.processes).length>0&&setTimeout(()=>{this.updateProcesses(),this.update()},5e3)})},formatDate(t){return S(M(parseInt(t)/1e6),"yyyy-MM-dd HH:mm:ss.SSS")},upload:function(t=null){const e=t?"put":"post",o=t?`/openc3-api/plugins/${t}`:"/openc3-api/plugins",d=new FormData;d.append("plugin",this.file,this.file.name);let s=this;P[e](o,{data:d,headers:{"Content-Type":"multipart/form-data"},onUploadProgress:function(i){let r=Math.round(i.loaded*100/i.total);s.progress=r}}).then(i=>{this.progress=100,this.alert="Uploaded file",this.alertType="success",this.showAlert=!0,setTimeout(()=>{this.showAlert=!1},5e3),this.update();let r=null;i.data.existing_plugin_txt_lines!==void 0&&(r=i.data.existing_plugin_txt_lines.join(`
|
2
2
|
`));let w=i.data.plugin_txt_lines.join(`
|
3
3
|
`);this.pluginName=i.data.name,this.variables=i.data.variables,this.pluginTxt=w,this.existingPluginTxt=r,this.showPluginDialog=!0,this.file=void 0}).catch(i=>{this.currentPlugin=null,this.file=void 0})},pluginCallback:function(t){this.showPluginDialog=!1,this.currentPlugin!==null&&(t.name=this.currentPlugin),this.pluginHashTmp=t,this.isModified(this.currentPlugin)?(this.pluginDelete=!1,this.showModifiedPluginDialog=!0):this.pluginInstall()},modifiedSubmit:async function(t){if(t===!0)for(let e of this.pluginTargets(this.currentPlugin))e.modified==!0&&await P.post(`/openc3-api/targets/${e.name}/delete_modified`);this.pluginDelete?this.deletePlugin(this.currentPlugin):this.pluginInstall()},pluginInstall:function(){P.post(`/openc3-api/plugins/install/${this.pluginName}`,{data:{plugin_hash:JSON.stringify(this.pluginHashTmp)}}).then(t=>{this.alert=`Started installing plugin ${this.pluginName} ...`,this.alertType="success",this.showAlert=!0,this.currentPlugin=null,this.file=void 0,this.variables={},this.pluginTxt="",this.existingPluginTxt=null,setTimeout(()=>{this.showAlert=!1,this.updateProcesses()},5e3),this.update()})},downloadTarget:function(t){P.post(`/openc3-api/targets/${t}/download`).then(e=>{const o=window.atob(e.data.contents),d=new Uint8Array(o.length);for(let r=0;r<o.length;++r)d[r]=o.charCodeAt(r);const s=new Blob([d],{type:"application/zip"}),i=document.createElement("a");i.href=URL.createObjectURL(s),i.setAttribute("download",e.data.filename),i.click()})},downloadPlugin:function(t){P.post(`/openc3-api/packages/${t}/download`).then(e=>{const o=window.atob(e.data.contents),d=new Uint8Array(o.length);for(let r=0;r<o.length;++r)d[r]=o.charCodeAt(r);const s=new Blob([d],{type:"application/zip"}),i=document.createElement("a");i.href=URL.createObjectURL(s),i.setAttribute("download",e.data.filename),i.click()})},editPlugin:function(t){P.get(`/openc3-api/plugins/${t}`).then(e=>{let o=null;e.data.existing_plugin_txt_lines!==void 0&&(o=e.data.existing_plugin_txt_lines.join(`
|
4
4
|
`));let d=e.data.plugin_txt_lines.join(`
|
5
|
-
`);this.pluginName=e.data.name,this.variables=e.data.variables,this.pluginTxt=d,this.existingPluginTxt=o,this.showPluginDialog=!0})},deletePrompt:function(t){this.$dialog.confirm(`Are you sure you want to remove: ${t}`,{okText:"Delete",cancelText:"Cancel"}).then(e=>{this.isModified(t)?(this.currentPlugin=t,this.pluginDelete=!0,this.showModifiedPluginDialog=!0):this.deletePlugin(t)})},deletePlugin:function(t){this.alert=`Removing plugin ${t} ...`,this.alertType="success",this.showAlert=!0,P.delete(`/openc3-api/plugins/${t}`).then(e=>{setTimeout(()=>{this.showAlert=!1,this.updateProcesses()},5e3)}),this.update()},upgradePlugin(t){this.file=null,this.currentPlugin=t,this.progress=0,this.$refs.fileInput.click()},selectFile(){this.file=null,this.currentPlugin=null,this.progress=0,this.$refs.fileInput.click()},fileChange(t){const e=t.target.files;if(e.length>0)if(this.file=e[0],this.currentPlugin!==null)if(this.file.name.split(".gem")[0]==this.currentPlugin.split(".gem")[0])this.$dialog.confirm(`The new gem ${this.file.name} appears to be identical to the existing ${this.currentPlugin}. Install?`,{okText:"Ok",cancelText:"Cancel"}).then(()=>{this.upload(this.currentPlugin)}).catch(o=>{});else{let o=this.file.name.split("-"),d=o.findIndex(r=>r.includes(".")),s=o.slice(0,d).join("-");o=this.currentPlugin.split("-"),d=o.findIndex(r=>r.includes("."));let i=o.slice(0,d).join("-");s!==i?this.$dialog.confirm(`The new gem base name ${s} doesn't match the existing ${i}. Install?`,{okText:"Ok",cancelText:"Cancel"}).then(()=>{this.upload(this.currentPlugin)}):this.upload(this.currentPlugin)}else this.upload();else this.$refs.fileInput.value=null}}},
|
5
|
+
`);this.pluginName=e.data.name,this.variables=e.data.variables,this.pluginTxt=d,this.existingPluginTxt=o,this.showPluginDialog=!0})},deletePrompt:function(t){this.$dialog.confirm(`Are you sure you want to remove: ${t}`,{okText:"Delete",cancelText:"Cancel"}).then(e=>{this.isModified(t)?(this.currentPlugin=t,this.pluginDelete=!0,this.showModifiedPluginDialog=!0):this.deletePlugin(t)})},deletePlugin:function(t){this.alert=`Removing plugin ${t} ...`,this.alertType="success",this.showAlert=!0,P.delete(`/openc3-api/plugins/${t}`).then(e=>{setTimeout(()=>{this.showAlert=!1,this.updateProcesses()},5e3)}),this.update()},upgradePlugin(t){this.file=null,this.currentPlugin=t,this.progress=0,this.$refs.fileInput.click()},selectFile(){this.file=null,this.currentPlugin=null,this.progress=0,this.$refs.fileInput.click()},fileChange(t){const e=t.target.files;if(e.length>0)if(this.file=e[0],this.currentPlugin!==null)if(this.file.name.split(".gem")[0]==this.currentPlugin.split(".gem")[0])this.$dialog.confirm(`The new gem ${this.file.name} appears to be identical to the existing ${this.currentPlugin}. Install?`,{okText:"Ok",cancelText:"Cancel"}).then(()=>{this.upload(this.currentPlugin)}).catch(o=>{});else{let o=this.file.name.split("-"),d=o.findIndex(r=>r.includes(".")),s=o.slice(0,d).join("-");o=this.currentPlugin.split("-"),d=o.findIndex(r=>r.includes("."));let i=o.slice(0,d).join("-");s!==i?this.$dialog.confirm(`The new gem base name ${s} doesn't match the existing ${i}. Install?`,{okText:"Ok",cancelText:"Cancel"}).then(()=>{this.upload(this.currentPlugin)}):this.upload(this.currentPlugin)}else this.upload();else this.$refs.fileInput.value=null}}},z=["textContent"],W=["textContent"],J={key:0},Q={key:0},X=["onClick"],Y={key:1},Z={class:"mx-3"},q={class:"mx-3"},G={class:"mx-3"},K={class:"mx-3"};function ee(t,e,o,d,s,i){const r=p("v-btn"),w=p("v-icon"),k=p("v-col"),te=p("rux-progress"),V=p("v-row"),le=p("v-checkbox"),N=p("v-divider"),ie=p("v-alert"),L=p("v-list-item-title"),E=p("v-list-item-subtitle"),ne=p("v-progress-circular"),y=p("v-tooltip"),R=p("v-list-item"),F=p("v-list"),se=p("plugin-dialog"),oe=p("modified-plugin-dialog"),ae=p("simple-text-dialog");return c(),m("div",null,[n(V,{"no-gutters":"",align:"center",class:"px-2"},{default:l(()=>[n(k,{class:"pa-2 mt-2"},{default:l(()=>[n(r,{onClick:i.selectFile},{default:l(()=>e[6]||(e[6]=[h("Install New Plugin")])),_:1},8,["onClick"]),g("input",{style:{display:"none"},type:"file",ref:"fileInput",onChange:e[0]||(e[0]=(...a)=>i.fileChange&&i.fileChange(...a))},null,544),e[8]||(e[8]=h(" Note: Use ")),n(w,null,{default:l(()=>e[7]||(e[7]=[h("mdi-update")])),_:1}),e[9]||(e[9]=h(" to upgrade existing plugins "))]),_:1}),n(k,{class:"ml-4 mr-2",cols:"4"},{default:l(()=>[n(te,{value:s.progress},null,8,["value"])]),_:1})]),_:1}),n(V,{"no-gutters":"",class:"px-2"},{default:l(()=>[n(k,null,{default:l(()=>[n(le,{modelValue:s.showDefaultTools,"onUpdate:modelValue":e[1]||(e[1]=a=>s.showDefaultTools=a),label:"Show Default Tools",class:"mt-0","data-test":"show-default-tools"},null,8,["modelValue"])]),_:1}),n(k,{align:"right",class:"mr-2"},{default:l(()=>e[10]||(e[10]=[g("div",null,"* indicates a modified plugin",-1),g("div",null,"Click target link to download modifications",-1)])),_:1})]),_:1}),n(N),n(ie,{closable:"",type:s.alertType,modelValue:s.showAlert,"onUpdate:modelValue":e[2]||(e[2]=a=>s.showAlert=a),"data-test":"plugin-alert"},{default:l(()=>[h(x(s.alert),1)]),_:1},8,["type","modelValue"]),Object.keys(s.processes).length>0?(c(),_(F,{key:0,class:"list","data-test":"process-list"},{default:l(()=>[n(V,{"no-gutters":"",class:"px-4"},{default:l(()=>[n(k,{class:"text-h6"},{default:l(()=>e[11]||(e[11]=[h("Process List")])),_:1}),n(k,{align:"right"},{default:l(()=>e[12]||(e[12]=[g("div",null,"Showing last 10 min of activity",-1)])),_:1})]),_:1}),(c(!0),m(D,null,$(s.processes,a=>(c(),m("div",{key:a.name},[n(R,null,{append:l(()=>[a.state==="Running"?(c(),m("div",J,[n(ne,{indeterminate:"",color:"primary"})])):(c(),_(y,{key:1,location:"top"},{activator:l(({props:b})=>[n(w,T({ref_for:!0},b,{onClick:f=>i.showOutput(a),"data-test":"show-output"}),{default:l(()=>e[13]||(e[13]=[h(" mdi-eye ")])),_:2},1040,["onClick"])]),default:l(()=>[e[14]||(e[14]=g("span",null,"Show Output",-1))]),_:2},1024))]),default:l(()=>[n(L,null,{default:l(()=>[g("span",{class:U(a.state.toLowerCase()),textContent:x(`Processing ${a.process_type}: ${a.detail} - ${a.state}`)},null,10,z)]),_:2},1024),n(E,null,{default:l(()=>[g("span",{textContent:x(" Updated At: "+i.formatDate(a.updated_at))},null,8,W)]),_:2},1024)]),_:2},1024),n(N)]))),128))]),_:1})):v("",!0),n(F,{class:"list","data-test":"plugin-list"},{default:l(()=>[n(V,{class:"px-4"},{default:l(()=>[n(k,{class:"text-h6"},{default:l(()=>e[15]||(e[15]=[h("Plugin List")])),_:1})]),_:1}),(c(!0),m(D,null,$(i.shownPlugins,(a,b)=>(c(),m("div",{key:b},[n(R,null,{append:l(()=>[g("div",Z,[n(y,{location:"top"},{activator:l(({props:f})=>[n(w,T({ref_for:!0},f,{onClick:C=>i.downloadPlugin(a),"data-test":"download-plugin"}),{default:l(()=>e[16]||(e[16]=[h(" mdi-download ")])),_:2},1040,["onClick"])]),default:l(()=>[e[17]||(e[17]=g("span",null,"Download Plugin",-1))]),_:2},1024)]),g("div",q,[n(y,{location:"top"},{activator:l(({props:f})=>[n(w,T({ref_for:!0},f,{onClick:C=>i.editPlugin(a),"data-test":"edit-plugin"}),{default:l(()=>e[18]||(e[18]=[h(" mdi-pencil ")])),_:2},1040,["onClick"])]),default:l(()=>[e[19]||(e[19]=g("span",null,"Edit Plugin Details",-1))]),_:2},1024)]),g("div",G,[n(y,{location:"top"},{activator:l(({props:f})=>[n(w,T({ref_for:!0},f,{onClick:C=>i.upgradePlugin(a),"data-test":"upgrade-plugin"}),{default:l(()=>e[20]||(e[20]=[h(" mdi-update ")])),_:2},1040,["onClick"])]),default:l(()=>[e[21]||(e[21]=g("span",null,"Upgrade Plugin",-1))]),_:2},1024)]),g("div",K,[n(y,{location:"top"},{activator:l(({props:f})=>[n(w,T({ref_for:!0},f,{onClick:C=>i.deletePrompt(a),"data-test":"delete-plugin"}),{default:l(()=>e[22]||(e[22]=[h(" mdi-delete ")])),_:2},1040,["onClick"])]),default:l(()=>[e[23]||(e[23]=g("span",null,"Delete Plugin",-1))]),_:2},1024)])]),default:l(()=>[n(L,null,{default:l(()=>[i.isModified(a)?(c(),m("span",Q,"* ")):v("",!0),h(x(a),1)]),_:2},1024),i.pluginTargets(a).length!==0?(c(),_(E,{key:0},{default:l(()=>[(c(!0),m(D,null,$(i.pluginTargets(a),(f,C)=>(c(),m("span",{key:C,class:"mr-2"},[f.modified?(c(),m("a",{key:0,onClick:j(pe=>i.downloadTarget(f.name),["prevent"])},x(f.name),9,X)):(c(),m("span",Y,x(f.name),1))]))),128))]),_:2},1024)):v("",!0)]),_:2},1024),b<s.plugins.length-1?(c(),_(N,{key:b})):v("",!0)]))),128))]),_:1}),s.showPluginDialog?(c(),_(se,{key:1,modelValue:s.showPluginDialog,"onUpdate:modelValue":e[3]||(e[3]=a=>s.showPluginDialog=a),pluginName:s.pluginName,variables:s.variables,pluginTxt:s.pluginTxt,existingPluginTxt:s.existingPluginTxt,onCallback:i.pluginCallback},null,8,["modelValue","pluginName","variables","pluginTxt","existingPluginTxt","onCallback"])):v("",!0),s.showModifiedPluginDialog?(c(),_(oe,{key:2,modelValue:s.showModifiedPluginDialog,"onUpdate:modelValue":e[4]||(e[4]=a=>s.showModifiedPluginDialog=a),pluginName:s.currentPlugin,targets:i.pluginTargets(s.currentPlugin),pluginDelete:s.pluginDelete,onSubmit:i.modifiedSubmit},null,8,["modelValue","pluginName","targets","pluginDelete","onSubmit"])):v("",!0),n(ae,{modelValue:s.showProcessOutput,"onUpdate:modelValue":e[5]||(e[5]=a=>s.showProcessOutput=a),title:"Process Output",text:s.processOutput},null,8,["modelValue","text"])])}const re=H("default",O(u,[["render",ee],["__scopeId","data-v-2515a7f9"]]))}}});
|
@@ -1 +1 @@
|
|
1
|
-
System.register(["./Widget-
|
1
|
+
System.register(["./Widget-C7ms_xDE-6a246185f9a7a9c965ab.js","vue","./main-ee4a4324250bb0ff8910.js","vue-router","single-spa","vuex","vuetify"],function(u,p){"use strict";var s,a,l,r,n,i;return{setters:[e=>{s=e.o},e=>{a=e.resolveComponent,l=e.openBlock,r=e.createBlock,n=e.normalizeStyle},e=>{i=e.s},null,null,null,null],execute:function(){const e={mixins:[s],props:{value:{default:null}},data:function(){return{valueId:null,scaleFactor:1,width:150}},computed:{_value:function(){let t=this.value;return t===null&&(t=this.screenValues[this.valueId][0]),parseInt(parseFloat(t)*this.scaleFactor)}},created:function(){if(this.parameters[3]&&(this.scaleFactor=parseFloat(this.parameters[3])),this.width=this.setWidth(this.parameters[4],"px",this.width),this.value===null){let t="CONVERTED";this.parameters[5]&&(t=this.parameters[5]),this.valueId=`${this.parameters[0]}__${this.parameters[1]}__${this.parameters[2]}__${t}`,this.$emit("addItem",this.valueId)}},unmounted:function(){this.$emit("deleteItem",this.valueId)}};function o(t,m,v,f,_,c){const h=a("rux-progress");return l(),r(h,{value:c._value,class:"progress",style:n(t.computedStyle)},null,8,["value","style"])}const d=u("default",i(e,[["render",o],["__scopeId","data-v-85bc2857"]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./Widget-C7ms_xDE-6a246185f9a7a9c965ab.js","vue","./main-ee4a4324250bb0ff8910.js","vue-router","single-spa","vuex","vuetify"],function(o,d){"use strict";var l,t,n,r,s,a;return{setters:[e=>{l=e.o},e=>{t=e.resolveComponent,n=e.openBlock,r=e.createBlock,s=e.normalizeStyle},e=>{a=e.s},null,null,null,null],execute:function(){const e={props:{value:{type:Number}},mixins:[l],data(){return{label:"Radio"}},created(){this.label=this.parameters[0]}};function u(i,y,c,b,v,f){const p=t("v-radio");return n(),r(p,{"hide-details":"",dense:"",label:v.label,style:s(i.computedStyle),value:c.value},null,8,["label","style","value"])}const m=o("default",a(e,[["render",u]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./Layout-D4YBjuWs-3a490c22141994a23366.js","vue","./main-ee4a4324250bb0ff8910.js","./Widget-C7ms_xDE-6a246185f9a7a9c965ab.js","vue-router","single-spa","vuex","vuetify"],function(h,C){"use strict";var a,l,r,s,c,o,i,u,m,d,p,g;return{setters:[e=>{a=e.r},e=>{l=e.resolveComponent,r=e.openBlock,s=e.createBlock,c=e.normalizeStyle,o=e.withCtx,i=e.createElementBlock,u=e.Fragment,m=e.renderList,d=e.resolveDynamicComponent,p=e.mergeProps},e=>{g=e.s},null,null,null,null,null],execute:function(){const e={mixins:[a],data(){return{selectedIndex:0}},created(){this.parameters[0]&&(this.selectedIndex=parseInt(this.parameters[0]))},methods:{selected(){return this.selectedIndex}}};function f(n,v,I,j,y,z){const k=l("v-radio-group");return r(),s(k,{"hide-details":"",density:"compact",modelValue:y.selectedIndex,"onUpdate:modelValue":v[0]||(v[0]=t=>y.selectedIndex=t),style:c(n.computedStyle)},{default:o(()=>[(r(!0),i(u,null,m(n.widgets,(t,x)=>(r(),s(d(t.type),p({ref_for:!0},n.listeners,{value:x,key:x,target:t.target,parameters:t.parameters,settings:t.settings,"screen-values":n.screenValues,"screen-time-zone":n.screenTimeZone,name:t.name}),null,16,["value","target","parameters","settings","screen-values","screen-time-zone","name"]))),128))]),_:1},8,["modelValue","style"])}const B=h("default",g(e,[["render",f]]))}}});
|
@@ -1 +1 @@
|
|
1
|
-
System.register(["./Widget-
|
1
|
+
System.register(["./Widget-C7ms_xDE-6a246185f9a7a9c965ab.js","vue","./main-ee4a4324250bb0ff8910.js","vue-router","single-spa","vuex","vuetify"],function(c,m){"use strict";var r,a,n,h,i,l;return{setters:[t=>{r=t.o},t=>{a=t.openBlock,n=t.createElementBlock,h=t.normalizeStyle,i=t.createElementVNode},t=>{l=t.s},null,null,null,null],execute:function(){const t={mixins:[r],data(){return{width:160,height:22}},computed:{cssProps(){return{"--height":this.height+"px","--width":this.width+"px","--container-height":this.height-5+"px","--position":this.calcPosition()+"%"}},min(){return parseInt(this.parameters[3])},max(){return parseInt(this.parameters[4])},range(){return this.max-this.min}},created(){const e=this.parameters[5]?this.parameters[5]:"CONVERTED";this.valueId=`${this.parameters[0]}__${this.parameters[1]}__${this.parameters[2]}__${e}`,this.$emit("addItem",this.valueId),this.width=this.setWidth(this.parameters[6],"px",this.width),this.height=this.setHeight(this.parameters[7],"px",this.height)},unmounted(){this.$emit("deleteItem",this.valueId)},methods:{calcPosition(){let e=this.screenValues[this.valueId][0];if(!e)return 0;if(e.raw)return e.raw==="-Infinity"?0:100;const s=(e-this.min)/this.range*100;return s>100?100:s<0?0:s}}};function o(e,s,p,g,_,u){return a(),n("div",{class:"rangebar",style:h([u.cssProps,e.computedStyle])},s[0]||(s[0]=[i("div",{class:"rangebar__container"},[i("div",{class:"rangebar__line"}),i("div",{class:"rangebar__arrow"})],-1)]),4)}const d=c("default",l(t,[["render",o],["__scopeId","data-v-34d37e7c"]]))}}});
|
@@ -1 +1 @@
|
|
1
|
-
System.register(["./main-
|
1
|
+
System.register(["./main-ee4a4324250bb0ff8910.js","vue","vue-router","single-spa","vuex","vuetify"],function(y,S){"use strict";var u,p,s,r,c,n,d,l,i,h,x;return{setters:[e=>{u=e.s,p=e.I},e=>{s=e.resolveComponent,r=e.openBlock,c=e.createElementBlock,n=e.createVNode,d=e.withCtx,l=e.createTextVNode,i=e.createElementVNode,h=e.toDisplayString,x=e.createCommentVNode},null,null,null,null],execute:function(){const e={data(){return{redisCommandText:"",redisResponse:null,redisEndpoint:"/openc3-api/redis/exec",headers:[{text:"Redis",value:"redis",width:150},{text:"Command",value:"command"},{text:"Response",value:"response"}],commands:[]}},methods:{commandKeydown:function(o){o.key==="Enter"&&this.executeRaw()},executeRaw:function(){this.redisResponse=null,p.post(this.redisEndpoint,{data:this.redisCommandText,headers:{Accept:"application/json","Content-Type":"plain/text"}}).then(o=>{this.redisResponse=o.data.result;let t="Ephemeral";this.redisEndpoint==="/openc3-api/redis/exec"&&(t="Persistent"),this.commands.unshift({redis:t,command:this.redisCommandText,response:this.redisResponse})})}}},R={key:0,class:"monospace"};function C(o,t,B,K,a,v){const E=s("v-card-title"),V=s("v-card-subtitle"),b=s("v-text-field"),w=s("v-card-text"),g=s("v-btn"),f=s("v-radio"),k=s("v-radio-group"),T=s("v-card-actions"),_=s("v-data-table"),N=s("v-card");return r(),c("div",null,[n(N,null,{default:d(()=>[n(E,null,{default:d(()=>t[2]||(t[2]=[l(" Send Raw Redis Commands ")])),_:1}),n(V,null,{default:d(()=>t[3]||(t[3]=[l(" THIS IS DANGEROUS. This allows you to interact directly with the underlying Redis database, making it easy to modify or delete data. "),i("br",null,null,-1),i("br",null,null,-1),l(" Enter commands like you would at the Redis cli prompt: "),i("code",null,"ping",-1),l(" or "),i("code",null,"hget openc3__settings version",-1)])),_:1}),n(w,{class:"pb-0 ml-2"},{default:d(()=>[n(b,{label:"Redis command",class:"monospace",modelValue:a.redisCommandText,"onUpdate:modelValue":t[0]||(t[0]=m=>a.redisCommandText=m),onKeydown:v.commandKeydown},null,8,["modelValue","onKeydown"]),a.redisResponse?(r(),c("span",R," Response: "+h(a.redisResponse),1)):x("",!0)]),_:1}),n(T,{class:"px-2"},{default:d(()=>[n(g,{disabled:!a.redisCommandText.length,onClick:v.executeRaw,color:"success",variant:"text"},{default:d(()=>t[4]||(t[4]=[l(" Execute ")])),_:1},8,["disabled","onClick"]),n(k,{modelValue:a.redisEndpoint,"onUpdate:modelValue":t[1]||(t[1]=m=>a.redisEndpoint=m),inline:"","hide-details":"",class:"mt-0"},{default:d(()=>[n(f,{label:"Persistent",value:"/openc3-api/redis/exec","data-test":"persistent-radio"}),n(f,{label:"Ephemeral",value:"/openc3-api/redis/exec?ephemeral=1","data-test":"ephemeral-radio"})]),_:1},8,["modelValue"])]),_:1}),n(_,{headers:a.headers,items:a.commands,class:"monospace","items-per-page":-1,"hide-default-footer":"",density:"compact",height:"45vh"},null,8,["headers","items"])]),_:1})])}const I=y("default",u(e,[["render",C],["__scopeId","data-v-28716ab0"]]))}}});
|
@@ -1 +1 @@
|
|
1
|
-
System.register(["./Widget-
|
1
|
+
System.register(["./Widget-C7ms_xDE-6a246185f9a7a9c965ab.js","vue","./main-ee4a4324250bb0ff8910.js","vue-router","single-spa","vuex","vuetify"],function(m,d){"use strict";var i,r,c,a,o,u;return{setters:[t=>{i=t.o},t=>{r=t.resolveComponent,c=t.openBlock,a=t.createBlock,o=t.normalizeStyle},t=>{u=t.s},null,null,null,null],execute:function(){const t={mixins:[i],props:{value:{default:null}},data:function(){return{valueId:null,icon:"",label:"",subLabel:"",items:[],screenTarget:null,screenName:null}},computed:{status:function(){let e="off";for(const n of this.items){let s=this.screenValues[n][1];s&&((s.includes("BLUE")||s.includes("GREEN"))&&e!="caution"&&e!="critical"&&(e="normal"),s.includes("YELLOW")&&e!="critical"&&(e="caution"),s.includes("RED")&&(e="critical"))}return e},pointerStyle(){return this.screenTarget&&this.screenName?{cursor:"pointer"}:{cursor:"default"}}},created:function(){this.icon=this.parameters[0],this.label=this.parameters[1],this.subLabel=this.parameters[2],this.appliedSettings.forEach(e=>{switch(e[0].toUpperCase()){case"SCREEN":this.screenTarget=e[1],this.screenName=e[2];break;case"TLM":let n="CONVERTED";e[4]&&(n=e[4]);let s=`${e[1]}__${e[2]}__${e[3]}__${n}`;this.items.push(s),this.$emit("addItem",s);break}})},unmounted:function(){this.items.forEach(e=>{this.$emit("deleteItem",e)})},methods:{clickHandler(){this.screenTarget&&this.screenName&&this.$emit("open",this.screenTarget,this.screenName)}}};function h(e,n,s,b,E,l){const p=r("rux-monitoring-icon");return c(),a(p,{class:"rux-icon",style:o([l.pointerStyle,e.computedStyle]),icon:e.icon,status:l.status,label:e.label,sublabel:e.subLabel,onClick:l.clickHandler},null,8,["style","icon","status","label","sublabel","onClick"])}const f=m("default",u(t,[["render",h]]))}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./main-ee4a4324250bb0ff8910.js","vue","single-spa","./OutputDialog-BTG5GO0M-6c156d3831d7592cb837.js","vue-router","vuex","vuetify"],function(V,O){"use strict";var p,c,t,i,s,a,o,g,h,v,d,m,f,k,C,w;return{setters:[e=>{p=e.s,c=e.I},e=>{t=e.resolveComponent,i=e.openBlock,s=e.createElementBlock,a=e.createVNode,o=e.withCtx,g=e.Fragment,h=e.renderList,v=e.mergeProps,d=e.createTextVNode,m=e.createElementVNode,f=e.toDisplayString,k=e.createBlock,C=e.createCommentVNode},null,e=>{w=e.J},null,null,null],execute:function(){const e={components:{OutputDialog:w},data(){return{routers:[],jsonContent:"",dialogTitle:"",showDialog:!1}},mounted(){this.update()},methods:{update(){c.get("/openc3-api/routers").then(r=>{this.routers=r.data})},add(){},showRouter(r){c.get(`/openc3-api/routers/${r}`).then(n=>{this.jsonContent=JSON.stringify(n.data,null," "),this.dialogTitle=r,this.showDialog=!0})},dialogCallback(r){this.showDialog=!1}}};function y(r,n,I,J,l,D){const N=t("v-list-item-title"),_=t("v-icon"),B=t("v-tooltip"),S=t("v-list-item"),T=t("v-divider"),j=t("v-list"),x=t("output-dialog");return i(),s("div",null,[a(j,{class:"list","data-test":"routerList"},{default:o(()=>[(i(!0),s(g,null,h(l.routers,(u,b)=>(i(),s("div",{key:b},[a(S,null,{append:o(()=>[a(B,{location:"top"},{activator:o(({props:E})=>[a(_,v({ref_for:!0},E,{onClick:L=>D.showRouter(u)}),{default:o(()=>n[1]||(n[1]=[d(" mdi-eye ")])),_:2},1040,["onClick"])]),default:o(()=>[n[2]||(n[2]=m("span",null,"Show Router Details",-1))]),_:2},1024)]),default:o(()=>[a(N,null,{default:o(()=>[d(f(u),1)]),_:2},1024)]),_:2},1024),a(T)]))),128))]),_:1}),l.showDialog?(i(),k(x,{key:0,modelValue:l.showDialog,"onUpdate:modelValue":n[0]||(n[0]=u=>l.showDialog=u),content:l.jsonContent,type:"Router",name:l.dialogTitle,onSubmit:D.dialogCallback},null,8,["modelValue","content","name","onSubmit"])):C("",!0)])}const R=V("default",p(e,[["render",y],["__scopeId","data-v-82fc907b"]]))}}});
|
@@ -1 +1 @@
|
|
1
|
-
System.register(["./Layout-
|
1
|
+
System.register(["./Layout-D4YBjuWs-3a490c22141994a23366.js","./VerticalWidget-DziyURNu-f2c65d60bc0e02f724a1.js","vue","./main-ee4a4324250bb0ff8910.js","./Widget-C7ms_xDE-6a246185f9a7a9c965ab.js","vue-router","single-spa","vuex","vuetify"],function(y,k){"use strict";var l,c,s,i,o,u,m,g,p,f,d;return{setters:[e=>{l=e.r},e=>{c=e.default},e=>{s=e.openBlock,i=e.createElementBlock,o=e.normalizeStyle,u=e.Fragment,m=e.renderList,g=e.createBlock,p=e.resolveDynamicComponent,f=e.mergeProps},e=>{d=e.s},null,null,null,null,null],execute:function(){const e={mixins:[l],components:{VerticalWidget:c},created:function(){if(this.setHeight(this.parameters[0],"px",200),this.parameters[1]){let n=this.parameters[1];this.widgets.forEach(a=>{a.settings.find(r=>r[0]==="MARGIN"||r[0]==="RAW"&&r[1].toUpperCase().includes("MARGIN"))===void 0&&a.settings.push(["MARGIN",n])})}}};function v(n,a,r,w,R,j){return s(),i("div",{ref:"container",style:o(n.computedStyle),class:"overflow-y-auto"},[(s(!0),i(u,null,m(n.widgets,(t,h)=>(s(),g(p(t.type),f({ref_for:!0},n.listeners,{key:h,target:t.target,parameters:t.parameters,settings:t.settings,"screen-values":n.screenValues,"screen-time-zone":n.screenTimeZone,widgets:t.widgets,name:t.name,line:t.line,"line-number":t.lineNumber}),null,16,["target","parameters","settings","screen-values","screen-time-zone","widgets","name","line","line-number"]))),128))],4)}const B=y("default",d(e,[["render",v]]))}}});
|
@@ -1 +1 @@
|
|
1
|
-
System.register(["./main-
|
1
|
+
System.register(["./main-ee4a4324250bb0ff8910.js","vue","vue-router","single-spa","vuex","vuetify"],function(C,L){"use strict";var v,c,r,i,d,t,l,p,u,m,V,g,y,N,k;return{setters:[a=>{v=a.s,c=a.I},a=>{r=a.resolveComponent,i=a.openBlock,d=a.createElementBlock,t=a.createVNode,l=a.withCtx,p=a.createElementVNode,u=a.createTextVNode,m=a.toDisplayString,V=a.Fragment,g=a.renderList,y=a.mergeProps,N=a.createBlock,k=a.createCommentVNode},null,null,null,null],execute:function(){const a={data(){return{file:null,loadingSecret:!1,secrets:[],secretName:"",secretValue:"",alert:"",alertType:"success",showAlert:!1}},mounted(){this.update()},methods:{update(){c.get("/openc3-api/secrets").then(o=>{this.secrets=o.data})},upload:function(){this.loadingSecret=!0;let o=null;if(this.file){const e=new FormData;e.append("file",this.file,this.file.name),o=c.post(`/openc3-api/secrets/${this.secretName}`,{data:e,headers:{"Content-Type":"multipart/form-data"}})}else o=c.post(`/openc3-api/secrets/${this.secretName}`,{data:{value:this.secretValue}});o.then(e=>{this.loadingSecret=!1,this.file=null,this.secretName="",this.secretValue="",this.update()}).catch(e=>{this.loadingSecret=!1})},deleteSecret:function(o){this.$dialog.confirm(`Are you sure you want to remove: ${o}`,{okText:"Delete",cancelText:"Cancel"}).then(function(e){return c.delete(`/openc3-api/secrets/${o}`)}).then(e=>{this.alert=`Removed secret ${o}`,this.alertType="success",this.showAlert=!0,setTimeout(()=>{this.showAlert=!1},5e3),this.update()})}}};function b(o,e,z,j,s,x){const T=r("v-file-input"),f=r("v-col"),_=r("v-row"),S=r("v-text-field"),w=r("v-icon"),A=r("v-btn"),B=r("v-alert"),$=r("v-list-item-title"),D=r("v-tooltip"),E=r("v-list-item"),U=r("v-divider"),F=r("v-list");return i(),d("div",null,[t(_,{"no-gutters":""},{default:l(()=>[t(f,null,{default:l(()=>[t(T,{modelValue:s.file,"onUpdate:modelValue":e[0]||(e[0]=n=>s.file=n),"show-size":"",accept:"*",class:"mx-2",label:"Click to select a file to create a secret from or enter a secret value",ref:"fileInput"},null,8,["modelValue"])]),_:1})]),_:1}),t(_,{"no-gutters":"",align:"center",style:{"padding-left":"10px"}},{default:l(()=>[t(f,{cols:"3"},{default:l(()=>[t(S,{modelValue:s.secretName,"onUpdate:modelValue":e[1]||(e[1]=n=>s.secretName=n),label:"Secret Name",class:"px-2"},null,8,["modelValue"])]),_:1}),t(f,{cols:"3",class:"px-2"},{default:l(()=>[t(S,{modelValue:s.secretValue,"onUpdate:modelValue":e[2]||(e[2]=n=>s.secretValue=n),disabled:s.file,label:"Secret Value"},null,8,["modelValue","disabled"])]),_:1}),t(f,{cols:"3",class:"px-2"},{default:l(()=>[t(A,{onClick:e[3]||(e[3]=n=>x.upload()),class:"mx-2",color:"primary","data-test":"secretUpload",disabled:s.secretName===""||s.file==null&&s.secretValue==="",loading:s.loadingSecret},{loader:l(()=>e[6]||(e[6]=[p("span",null,"Loading...",-1)])),default:l(()=>[t(w,{start:"",theme:"dark"},{default:l(()=>e[5]||(e[5]=[u("mdi-cloud-upload")])),_:1}),e[7]||(e[7]=p("span",null," Set ",-1))]),_:1},8,["disabled","loading"])]),_:1})]),_:1}),t(B,{modelValue:s.showAlert,"onUpdate:modelValue":e[4]||(e[4]=n=>s.showAlert=n),closable:"",type:s.alertType},{default:l(()=>[u(m(s.alert),1)]),_:1},8,["modelValue","type"]),t(F,{"data-test":"secretList"},{default:l(()=>[(i(!0),d(V,null,g(s.secrets,(n,h)=>(i(),d("div",{key:h},[t(E,null,{append:l(()=>[t(D,{location:"top"},{activator:l(({props:I})=>[t(w,y({ref_for:!0},I,{onClick:G=>x.deleteSecret(n)}),{default:l(()=>e[8]||(e[8]=[u(" mdi-delete ")])),_:2},1040,["onClick"])]),default:l(()=>[e[9]||(e[9]=p("span",null,"Delete Secret",-1))]),_:2},1024)]),default:l(()=>[t($,null,{default:l(()=>[u(m(n),1)]),_:2},1024)]),_:2},1024),h<s.secrets.length-1?(i(),N(U,{key:h})):k("",!0)]))),128))]),_:1})])}const P=C("default",v(a,[["render",b]]))}}});
|