openc3-cosmos-tool-admin 6.0.0 → 6.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (145) hide show
  1. checksums.yaml +4 -4
  2. data/tools/admin/ArrayWidget-BTxChSds-e9bc6948cfc94ea6c8ea.js +2 -0
  3. data/tools/admin/BarColumn-Cdu3OoMa-6b9d231248e3c807a1ca.js +1 -0
  4. data/tools/admin/BlockWidget-PmjzrkXF-c80c9d1c463d83528a3d.js +2 -0
  5. data/tools/admin/ButtonWidget-nwDlOBJT-d16fb6a24cef7c5b624b.js +2 -0
  6. data/tools/admin/CanvasWidget-BL8930eT-7c425befd858deae2375.js +1 -0
  7. data/tools/admin/CanvasdotWidget-VCf1fL-G-175f4d8d2fe3d73133b7.js +1 -0
  8. data/tools/admin/CanvasimageWidget-BIw7Wbf2-675b82c793c05652c4e4.js +1 -0
  9. data/tools/admin/CanvasimagevalueWidget-CE3Dj5bH-4c7da53208143de275fb.js +1 -0
  10. data/tools/admin/CanvaslabelWidget-DWmb356h-27386996b1e22521d68a.js +1 -0
  11. data/tools/admin/CanvaslabelvalueWidget-CI3yYwFs-106dd8676e7059142aeb.js +1 -0
  12. data/tools/admin/CanvaslineWidget-COeapH3P-454440a3cbef96b78149.js +1 -0
  13. data/tools/admin/CanvaslinevalueWidget-CI-Bbzfi-c196fded05e85ca64b76.js +1 -0
  14. data/tools/admin/CheckbuttonWidget-BQhggcZ2-fe79147a6042d06deb71.js +1 -0
  15. data/tools/admin/ComboboxWidget-BzsbOv54-19196e0faa887589be04.js +1 -0
  16. data/tools/admin/DateWidget-B5R_9rA8-6d87b2b38b75a9f194f0.js +1 -0
  17. data/tools/admin/{DetailsDialog-EWjtBjle-7990262e67902ac0252f.js → DetailsDialog-DLRMqetn-55763452729cfe2e3307.js} +1 -1
  18. data/tools/admin/DynamicWidget-m9EliUR2-e3f3eb1367b6fc62b4f4.js +1 -0
  19. data/tools/admin/FormatvalueWidget-DZkRJce8-29bc510b6fee4be432b3.js +1 -0
  20. data/tools/admin/GraphWidget-amwxyH1r-ae1fe3465676228a4925.js +1 -0
  21. data/tools/admin/HorizontalWidget-CirtfuL8-981280ce431e3a0ea8a4.js +1 -0
  22. data/tools/admin/HorizontalboxWidget-CyTDt2nl-1db32d80217737537afb.js +1 -0
  23. data/tools/admin/HorizontallineWidget-BdlNB951-08181cb1762ec42b7083.js +1 -0
  24. data/tools/admin/IframeWidget-DnJmCrCA-669adff673891b6a1695.js +1 -0
  25. data/tools/admin/{ImageLoader-CDLQopxJ-68194bc736f7cabded39.js → ImageLoader-CpcR6tPi-5519b9d946e6eeba9d6a.js} +1 -1
  26. data/tools/admin/ImageviewerWidget-DIkmb_C9-8346469a4ad561e7a78b.js +1 -0
  27. data/tools/admin/InterfacesTab-jtIK4SaM-d37991d03f54f16d4184.js +1 -0
  28. data/tools/admin/LabelWidget-BDsypYho-e74513b75a138300eda4.js +1 -0
  29. data/tools/admin/LabelledWidget-DjturGl5-f58bc223d97e08fd542a.js +1 -0
  30. data/tools/admin/LabelprogressbarWidget-RADJGLj3-f059a9ff279f759d38fc.js +1 -0
  31. data/tools/admin/LabelsparklineWidget-BlJoICxu-13bf91cc93e846f7699e.js +1 -0
  32. data/tools/admin/LabelvalueWidget-DVWJqnlY-b0232700037d1bb6b7b6.js +1 -0
  33. data/tools/admin/LabelvaluedescWidget-CsUP7J4U-c46a707153bfa07e40b3.js +1 -0
  34. data/tools/admin/LabelvaluelimitsbarWidget-Blj1QXV8-b2889d7dd9e0adb31527.js +1 -0
  35. data/tools/admin/LabelvaluelimitscolumnWidget-CvCo-uCe-1725d487ee051e88eeee.js +1 -0
  36. data/tools/admin/LabelvaluerangebarWidget-DpcXhlfF-20dc9151170423e55774.js +1 -0
  37. data/tools/admin/{Layout-klOVw-YN-57cdd4032a866948ae91.js → Layout-C1HoM4Kl-417cd02a11d96e992d80.js} +1 -1
  38. data/tools/admin/LedWidget-B_K2e5tq-e1a5d6fa7037166a47ef.js +1 -0
  39. data/tools/admin/LimitsbarWidget-DXbqsi4J-d4cab330a230750fd898.js +1 -0
  40. data/tools/admin/LimitscolorWidget-Ckmuw0YX-9186aec847ec6a5bfc9e.js +1 -0
  41. data/tools/admin/LimitscolumnWidget-BfY4su5U-1c6e4848809e88a5260e.js +1 -0
  42. data/tools/admin/LinegraphWidget-y-Qy9P0R-cd2f04586aef988a58a9.js +1 -0
  43. data/tools/admin/MatrixbycolumnsWidget-BTBColrs-fea73244eb707601aeea.js +1 -0
  44. data/tools/admin/MicroservicesTab-D8GGVvwc-c1bb51519a9905e693db.js +1 -0
  45. data/tools/admin/{OutputDialog-Cqz9_MPm-909bbcae633ec90197fa.js → OutputDialog-D7vLuueV-2204b36fc17e01c28df1.js} +1 -1
  46. data/tools/admin/PackagesTab-CkHqLuVL-a1723ff9378b042895e7.js +1 -0
  47. data/tools/admin/{PluginsTab-B0MIc4dP-8b7622c22378077aa0a6.js → PluginsTab-Dli9v-0R-a1399af85f2fd990e133.js} +2 -2
  48. data/tools/admin/ProgressbarWidget-DpA_-vy9-a9f80bf0377e829b78e4.js +1 -0
  49. data/tools/admin/RadiobuttonWidget-BO8zpgwW-84a3f731c673059c0393.js +1 -0
  50. data/tools/admin/RadiogroupWidget-Oy7V4S-V-b80e9e6044d42dbb6003.js +1 -0
  51. data/tools/admin/RangebarWidget-DHS7S3vI-f79443d06bda1ec7b512.js +1 -0
  52. data/tools/admin/RedisTab-B3fY9we7-760bc2333036ad71e6e2.js +1 -0
  53. data/tools/admin/RollupWidget-CTk9Kjwr-2b0cb75af9296f391f66.js +1 -0
  54. data/tools/admin/RoutersTab-DVCaPPmy-b9d80c9b1e7bdc67d92b.js +1 -0
  55. data/tools/admin/ScrollwindowWidget-DD0TOW6s-74997dd2355435e39c51.js +1 -0
  56. data/tools/admin/SecretsTab-BuC3n5C4-b50ed27afdc2414dc4e1.js +1 -0
  57. data/tools/admin/SettingsTab-CYb9hSNx-9497e6025bffab0bc5be.js +1 -0
  58. data/tools/admin/SignalWidget-CC33KMTW-b72d958b3093cc84c5a8.js +1 -0
  59. data/tools/admin/{SimpleTextDialog-BK3uXyK3-9cfb6b5adab2c61d0b30.js → SimpleTextDialog-3Tzc_snk-be80893bf7377e8a2b54.js} +1 -1
  60. data/tools/admin/SpacerWidget-BnJe_Hq6-8227c31e3ee431aabe0b.js +1 -0
  61. data/tools/admin/SparklineWidget-DMvMQCPm-8b9d64dc2d6f09e95fd3.js +1 -0
  62. data/tools/admin/TabbookWidget-B3w0JtWe-dc6cbcfea02b50002ecf.js +1 -0
  63. data/tools/admin/TargetsTab-CxiGJ2P2-85a21e098266facf4e02.js +1 -0
  64. data/tools/admin/TextboxWidget-D2f0-eol-c677022753c77473b718.js +1 -0
  65. data/tools/admin/TextfieldWidget-DXSdgqVP-ee0eeca9be6f669c081c.js +1 -0
  66. data/tools/admin/TimeWidget-DvrRaEMz-d4257dcc7dac23d0f759.js +1 -0
  67. data/tools/admin/TitleWidget-DqViFQl--5330d5a64637d7951419.js +1 -0
  68. data/tools/admin/{ToolsTab-CYjue5Jk-b74d99d2d2d48b4bb947.js → ToolsTab-B3gDjVxE-e0c39fb43d32b4a57698.js} +2 -2
  69. data/tools/admin/{VWidget-Dmqf_jKM-952e90273c0922ac7a4a.js → VWidget-02CG-3Av-a973337ad24b9f4eb395.js} +1 -1
  70. data/tools/admin/ValueWidget-KLYY8L8U-7e154a7868618ab3cca1.js +1 -0
  71. data/tools/admin/ValuelimitsbarWidget-SR8XNZFB-95640fde4e539f355d39.js +1 -0
  72. data/tools/admin/ValuelimitscolumnWidget-xYZSp6YZ-6f04a114c777e09665dd.js +1 -0
  73. data/tools/admin/ValuerangebarWidget-B6M02a9d-51d2f42c3985e1d08101.js +1 -0
  74. data/tools/admin/VerticalWidget-z6xUM-ql-ae963987b8cf0c0e3f98.js +1 -0
  75. data/tools/admin/VerticalboxWidget-3a9cVsW--2471ab4dfbbe133b4e9b.js +1 -0
  76. data/tools/admin/{Widget-orNSvnOh-a525c9c4a8704c6b360e.js → Widget-C4QVI4IH-80b859328e2c8ee53918.js} +1 -1
  77. data/tools/admin/{main-7b39afe9b1c97330416a.js → main-6d6b6148fd97f6dd73ae.js} +68 -68
  78. data/tools/admin/main.js +1 -1
  79. metadata +78 -78
  80. data/tools/admin/ArrayWidget-By62tXtU-ebd68b9b8b5b932d2445.js +0 -2
  81. data/tools/admin/BarColumn-Dm3D1Lhp-f155ed2f23338a0c8a15.js +0 -1
  82. data/tools/admin/BlockWidget-CrT45ode-543f86b8d3f1936515d7.js +0 -2
  83. data/tools/admin/ButtonWidget-CKyBBv6m-e6ea1d4c25739d5981c5.js +0 -2
  84. data/tools/admin/CanvasWidget-PqkppHC7-eeed57e2753786152aee.js +0 -1
  85. data/tools/admin/CanvasdotWidget-BUbJgM2d-7d9174696598f529b9dc.js +0 -1
  86. data/tools/admin/CanvasimageWidget-DPVBY7mi-3f2a8fb1b9ffdbc35d3e.js +0 -1
  87. data/tools/admin/CanvasimagevalueWidget-GX37zzNc-61fbee601180a5d4fe3b.js +0 -1
  88. data/tools/admin/CanvaslabelWidget-P2_Y6Edw-35653e66a7c8993fd0e3.js +0 -1
  89. data/tools/admin/CanvaslabelvalueWidget-Cuas1i9P-8496cddfaa402a64fe5e.js +0 -1
  90. data/tools/admin/CanvaslineWidget-BYOYgPya-2d8e19cc8da5fa24b06b.js +0 -1
  91. data/tools/admin/CanvaslinevalueWidget-3cVJMFo7-d23fc18e1f918da6ee97.js +0 -1
  92. data/tools/admin/CheckbuttonWidget-B3wgSMuB-a269c7fd7cc566239161.js +0 -1
  93. data/tools/admin/ComboboxWidget-Dzr4Scvf-260b017e67109e2fc026.js +0 -1
  94. data/tools/admin/DateWidget-BWh76Ibb-f1712ed35422a2a6596e.js +0 -1
  95. data/tools/admin/DynamicWidget-m9EliUR2-a665966c9316579084a8.js +0 -1
  96. data/tools/admin/FormatvalueWidget-Rk0_eeIm-5c2a5572ba50be1f6890.js +0 -1
  97. data/tools/admin/GraphWidget-LqekkNDr-6af23dd3125a8d7b39a9.js +0 -1
  98. data/tools/admin/HorizontalWidget-BcfJ24Zn-8dcef7c5de51dd325185.js +0 -1
  99. data/tools/admin/HorizontalboxWidget-CQy1Hv9E-6bb5d00229edfea21641.js +0 -1
  100. data/tools/admin/HorizontallineWidget-BdlNB951-770ebba29ef8ee1bd21c.js +0 -1
  101. data/tools/admin/IframeWidget-BBaDrRLo-44a78fa82ad12a1ee6c4.js +0 -1
  102. data/tools/admin/ImageviewerWidget-BgO3Pq6I-d1b099512b26e8adbd97.js +0 -1
  103. data/tools/admin/InterfacesTab-BzXbRnQw-80c9e1a00b588664f0d9.js +0 -1
  104. data/tools/admin/LabelWidget-B_C6lKOE-fa3eff00f1bae0754cc7.js +0 -1
  105. data/tools/admin/LabelledWidget-B_UGivhr-e113f6ce28bf94f51fee.js +0 -1
  106. data/tools/admin/LabelprogressbarWidget-BJWCmsYC-e98295c1bc5e4efb1c09.js +0 -1
  107. data/tools/admin/LabelsparklineWidget-DILCIh3q-f22a36373fc866a444dc.js +0 -1
  108. data/tools/admin/LabelvalueWidget-CCZd1NXE-cf7b93c65219cf160d57.js +0 -1
  109. data/tools/admin/LabelvaluedescWidget-Bsllq8W6-57b9cdcaaebdc309cc98.js +0 -1
  110. data/tools/admin/LabelvaluelimitsbarWidget-BV-cfaD--eecc71f35ce995845faa.js +0 -1
  111. data/tools/admin/LabelvaluelimitscolumnWidget-DwA0eRBw-8ee3644a2037b78c6d62.js +0 -1
  112. data/tools/admin/LabelvaluerangebarWidget-3GDJz3dj-4f27ce8b83e09eaf47f3.js +0 -1
  113. data/tools/admin/LedWidget-BAt02s0J-e049b22bdc18f7bf3f2d.js +0 -1
  114. data/tools/admin/LimitsbarWidget-JJiyzZjb-4b552af8e5470073ec05.js +0 -1
  115. data/tools/admin/LimitscolorWidget-CYzXKbYd-9afbb644c626ad1d6733.js +0 -1
  116. data/tools/admin/LimitscolumnWidget-Cd76tBo7-38462000de2efd18c479.js +0 -1
  117. data/tools/admin/LinegraphWidget-DWRtO6Ej-d0ae58480c116ffb64ef.js +0 -1
  118. data/tools/admin/MatrixbycolumnsWidget-cwsyjNV2-4fd3c3a24ebbb721b45a.js +0 -1
  119. data/tools/admin/MicroservicesTab-CXw9kdWT-5ce1be6883f4ad70a2c2.js +0 -1
  120. data/tools/admin/PackagesTab-wjl76tWL-949bca7c846419d282af.js +0 -1
  121. data/tools/admin/ProgressbarWidget-CYDziFej-d69f11ca427d49bb2ff1.js +0 -1
  122. data/tools/admin/RadiobuttonWidget-U6jcQZoD-e216011f2f6798b2477b.js +0 -1
  123. data/tools/admin/RadiogroupWidget-HTPJnsB0-f62fcea617a41aab7b3d.js +0 -1
  124. data/tools/admin/RangebarWidget-DW0FJK6y-95c451c431feda68a4aa.js +0 -1
  125. data/tools/admin/RedisTab-CO4P3kfJ-e1e822186e9ccbbaf7bd.js +0 -1
  126. data/tools/admin/RollupWidget-B2qrx55f-ab581ccfb8a7a5304da5.js +0 -1
  127. data/tools/admin/RoutersTab-90dfiqgI-592236d66eca1847cd22.js +0 -1
  128. data/tools/admin/ScrollwindowWidget-CwIDxgO6-d408ee37f84c83c69077.js +0 -1
  129. data/tools/admin/SecretsTab-Bt1QgQOO-b442f7cb6ca489679f10.js +0 -1
  130. data/tools/admin/SettingsTab-DcwV8AtY-ce18828e05af3c54b99e.js +0 -1
  131. data/tools/admin/SignalWidget-Bosa3AbW-653d8a9240989fcb6429.js +0 -1
  132. data/tools/admin/SpacerWidget-DYAlt5mt-4cb0a40fc30459d91514.js +0 -1
  133. data/tools/admin/SparklineWidget-CDrVXOFV-a103a847eb4b0ba73f28.js +0 -1
  134. data/tools/admin/TabbookWidget-DDdlzCkv-42afacb720eec281935d.js +0 -1
  135. data/tools/admin/TargetsTab-BCNMBoLQ-cf77d00bc09c263e509d.js +0 -1
  136. data/tools/admin/TextboxWidget-5euFelEq-670c34a45b0d8e0e6b17.js +0 -1
  137. data/tools/admin/TextfieldWidget-BFripYeh-ba16dac10a7b273f33bd.js +0 -1
  138. data/tools/admin/TimeWidget-BBSbsUYJ-66d7abc7bd9891d9f67c.js +0 -1
  139. data/tools/admin/TitleWidget-p8cjo-Bs-bd2c97a4ce86b3f7f776.js +0 -1
  140. data/tools/admin/ValueWidget-CZh7JWwT-2c2d67aef078b313f118.js +0 -1
  141. data/tools/admin/ValuelimitsbarWidget-DU7ybswC-e9df05dabfa41fcf9bd3.js +0 -1
  142. data/tools/admin/ValuelimitscolumnWidget-DMw-h5jM-f5941e50754c56bb03c0.js +0 -1
  143. data/tools/admin/ValuerangebarWidget-DPpofDpA-f1cd5777a9e29a9cb40c.js +0 -1
  144. data/tools/admin/VerticalWidget-Ch7VAEmz-ad9c1186ed7e5b3077e2.js +0 -1
  145. data/tools/admin/VerticalboxWidget-DYx-TFT4-eced75b5e33079f1f5ff.js +0 -1
@@ -1 +0,0 @@
1
- System.register(["./main-7b39afe9b1c97330416a.js","vue","./OutputDialog-Cqz9_MPm-909bbcae633ec90197fa.js","vue-router","vuex","vuetify"],function(J,K){"use strict";var C,m,b,j,r,d,h,i,s,u,p,B,O,v,g,L,U,P,y,R,f,$;return{setters:[t=>{C=t.s,m=t.O,b=t.p,j=t.l},t=>{r=t.resolveComponent,d=t.openBlock,h=t.createBlock,i=t.withCtx,s=t.createVNode,u=t.createElementVNode,p=t.toDisplayString,B=t.normalizeProps,O=t.guardReactiveProps,v=t.createTextVNode,g=t.createElementBlock,L=t.Fragment,U=t.renderList,P=t.withDirectives,y=t.mergeProps,R=t.vShow,f=t.createCommentVNode},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()}}},I={class:"mx-2"},z={class:"pa-2"};function A(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",I,[s(V,{location:"top"},{activator:i(({props:c})=>[u("div",B(O(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",z,[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 F={components:{OutputDialog:$,TextBoxDialog:C(t,[["render",A]])},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(j(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()})}}}},H={key:0};function q(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(),g("div",null,[s(E,{class:"list","data-test":"microserviceList"},{default:i(()=>[(d(!0),g(L,null,U(a.microservices,l=>(d(),g("div",{key:l},[s(S,null,{append:i(()=>[a.microservice_status[l]?(d(),g("div",H,[P(u("div",null,[s(k,{location:"top"},{activator:i(({props:c})=>[s(V,y({ref_for:!0},c,{onClick:G=>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),[[R,!!a.microservice_status[l].error]])])):f("",!0),s(k,{location:"top"},{activator:i(({props:c})=>[s(V,y({ref_for:!0},c,{onClick:G=>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)):f("",!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"])):f("",!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"])):f("",!0)])}const W=J("default",C(F,[["render",q],["__scopeId","data-v-ca119c16"]]))}}});
@@ -1 +0,0 @@
1
- System.register(["./main-7b39afe9b1c97330416a.js","vue","./SimpleTextDialog-BK3uXyK3-9cfb6b5adab2c61d0b30.js","vue-router","vuex","vuetify"],function(E,X){"use strict";var T,S,f,A,$,n,u,p,s,t,i,d,g,b,k,y,N,B,_,L,U;return{setters:[a=>{T=a.s,S=a._,f=a.O,A=a.p,$=a.l},a=>{n=a.resolveComponent,u=a.openBlock,p=a.createElementBlock,s=a.createVNode,t=a.withCtx,i=a.createTextVNode,d=a.createElementVNode,g=a.toDisplayString,b=a.createBlock,k=a.Fragment,y=a.renderList,N=a.createSlots,B=a.normalizeClass,_=a.mergeProps,L=a.createCommentVNode},a=>{U=a.O},null,null,null],execute:function(){const a={components:{DownloadDialog:S,SimpleTextDialog:U},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(){f.get("/openc3-api/packages").then(r=>{this.gems=r.data.ruby,this.python=r.data.python})},updateProcesses:function(){f.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 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 F=this;const I=[...e].map(o=>{const c=new FormData;return c.append("package",o,o.name),f.post("/openc3-api/packages",{data:c,headers:{"Content-Type":"multipart/form-data"},onUploadProgress:function(v){let h=Math.round(v.loaded*100/v.total);F.progress=h}})});Promise.all(I).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 f.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()})}}},K=["textContent"],M=["textContent"];function R(r,e,F,I,o,c){const v=n("v-btn"),h=n("v-col"),z=n("rux-progress"),w=n("v-row"),H=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"),O=n("v-divider"),j=n("v-list"),G=n("download-dialog"),J=n("simple-text-dialog");return u(),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:c.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)=>c.fileChange&&c.fileChange(...l))},null,544)]),_:1}),s(h,{class:"ml-4 mr-2",cols:"4"},{default:t(()=>[s(z,{value:o.progress},null,8,["value"])]),_:1})]),_:1}),s(H,{modelValue:o.showAlert,"onUpdate:modelValue":e[1]||(e[1]=l=>o.showAlert=l),closable:"",type:o.alertType},{default:t(()=>[i(g(o.alert),1)]),_:1},8,["modelValue","type"]),Object.keys(o.processes).length>0?(u(),b(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}),(u(!0),p(k,null,y(o.processes,l=>(u(),p("div",{key:l.name},[s(D,null,N({default:t(()=>[s(C,null,{default:t(()=>[d("span",{class:B(l.state.toLowerCase()),textContent:g(`Processing ${l.process_type}: ${l.detail} - ${l.state}`)},null,10,K)]),_:2},1024),s(q,null,{default:t(()=>[d("span",{textContent:g(" Updated At: "+c.formatDate(l.updated_at))},null,8,M)]),_: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=>c.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(O)]))),128))]),_:1})):L("",!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}),(u(!0),p(k,null,y(o.gems,(l,m)=>(u(),p("div",{key:m},[s(D,null,{append:t(()=>[s(V,{location:"top"},{activator:t(({props:P})=>[s(x,_({ref_for:!0},P,{onClick:Q=>c.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(g(l),1)]),_:2},1024)]),_:2},1024),s(O)]))),128)),s(w,{class:"px-4"},{default:t(()=>[s(h,{class:"text-h6"},{default:t(()=>e[12]||(e[12]=[i("Python Packages")])),_:1})]),_:1}),(u(!0),p(k,null,y(o.python,(l,m)=>(u(),p("div",{key:m},[s(D,null,{append:t(()=>[s(V,{location:"top"},{activator:t(({props:P})=>[s(x,_({ref_for:!0},P,{onClick:Q=>c.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(g(l),1)]),_:2},1024)]),_:2},1024),s(O)]))),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 W=E("default",T(a,[["render",R],["__scopeId","data-v-00d80d8f"]]))}}});
@@ -1 +0,0 @@
1
- System.register(["./Widget-orNSvnOh-a525c9c4a8704c6b360e.js","vue","./main-7b39afe9b1c97330416a.js","vue-router","vuex","vuetify"],function(u,p){"use strict";var s,a,r,l,n,i;return{setters:[e=>{s=e.o},e=>{a=e.resolveComponent,r=e.openBlock,l=e.createBlock,n=e.normalizeStyle},e=>{i=e.s},null,null,null],execute:function(){const e={mixins:[s],props:{value:{default:null}},data:function(){return{valueId:null,scaleFactor:1,width:150}},computed:{_value:function(){let t=this.value;return t===null&&(t=this.screenValues[this.valueId][0]),parseInt(parseFloat(t)*this.scaleFactor)}},created:function(){if(this.parameters[3]&&(this.scaleFactor=parseFloat(this.parameters[3])),this.width=this.setWidth(this.parameters[4],"px",this.width),this.value===null){let t="CONVERTED";this.parameters[5]&&(t=this.parameters[5]),this.valueId=`${this.parameters[0]}__${this.parameters[1]}__${this.parameters[2]}__${t}`,this.$emit("addItem",this.valueId)}},unmounted:function(){this.$emit("deleteItem",this.valueId)}};function o(t,m,v,f,I,c){const h=a("rux-progress");return r(),l(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"]]))}}});
@@ -1 +0,0 @@
1
- System.register(["./Widget-orNSvnOh-a525c9c4a8704c6b360e.js","vue","./main-7b39afe9b1c97330416a.js","vue-router","vuex","vuetify"],function(s,p){"use strict";var t,l,n,r,o,a;return{setters:[e=>{t=e.o},e=>{l=e.resolveComponent,n=e.openBlock,r=e.createBlock,o=e.normalizeStyle},e=>{a=e.s},null,null,null],execute:function(){const e={props:{value:{type:Number}},mixins:[t],data(){return{label:"Radio"}},created(){this.label=this.parameters[0]}};function u(i,y,c,b,v,f){const d=l("v-radio");return n(),r(d,{"hide-details":"",dense:"",label:v.label,style:o(i.computedStyle),value:c.value},null,8,["label","style","value"])}const m=s("default",a(e,[["render",u]]))}}});
@@ -1 +0,0 @@
1
- System.register(["./Layout-klOVw-YN-57cdd4032a866948ae91.js","vue","./main-7b39afe9b1c97330416a.js","./Widget-orNSvnOh-a525c9c4a8704c6b360e.js","vue-router","vuex","vuetify"],function(h,C){"use strict";var a,l,r,s,o,c,i,m,u,d,p,v;return{setters:[e=>{a=e.r},e=>{l=e.resolveComponent,r=e.openBlock,s=e.createBlock,o=e.normalizeStyle,c=e.withCtx,i=e.createElementBlock,m=e.Fragment,u=e.renderList,d=e.resolveDynamicComponent,p=e.mergeProps},e=>{v=e.s},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 k(n,g,B,S,y,V){const f=l("v-radio-group");return r(),s(f,{"hide-details":"",density:"compact",modelValue:y.selectedIndex,"onUpdate:modelValue":g[0]||(g[0]=t=>y.selectedIndex=t),style:o(n.computedStyle)},{default:c(()=>[(r(!0),i(m,null,u(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 I=h("default",v(e,[["render",k]]))}}});
@@ -1 +0,0 @@
1
- System.register(["./Widget-orNSvnOh-a525c9c4a8704c6b360e.js","vue","./main-7b39afe9b1c97330416a.js","vue-router","vuex","vuetify"],function(o,d){"use strict";var r,a,n,h,i,c;return{setters:[t=>{r=t.o},t=>{a=t.openBlock,n=t.createElementBlock,h=t.normalizeStyle,i=t.createElementVNode},t=>{c=t.s},null,null,null],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 l(e,s,p,g,v,u){return a(),n("div",{class:"rangebar",style:h([u.cssProps,e.computedStyle])},s[0]||(s[0]=[i("div",{class:"rangebar__container"},[i("div",{class:"rangebar__line"}),i("div",{class:"rangebar__arrow"})],-1)]),4)}const m=o("default",c(t,[["render",l],["__scopeId","data-v-34d37e7c"]]))}}});
@@ -1 +0,0 @@
1
- System.register(["./main-7b39afe9b1c97330416a.js","vue","vue-router","vuex","vuetify"],function(y,S){"use strict";var u,p,s,r,c,n,d,i,o,h,x;return{setters:[e=>{u=e.s,p=e.O},e=>{s=e.resolveComponent,r=e.openBlock,c=e.createElementBlock,n=e.createVNode,d=e.withCtx,i=e.createTextVNode,o=e.createElementVNode,h=e.toDisplayString,x=e.createCommentVNode},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(l){l.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(l=>{this.redisResponse=l.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(l,t,K,A,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]=[i(" Send Raw Redis Commands ")])),_:1}),n(V,null,{default:d(()=>t[3]||(t[3]=[i(" THIS IS DANGEROUS. This allows you to interact directly with the underlying Redis database, making it easy to modify or delete data. "),o("br",null,null,-1),o("br",null,null,-1),i(" Enter commands like you would at the Redis cli prompt: "),o("code",null,"ping",-1),i(" or "),o("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]=[i(" 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 B=y("default",u(e,[["render",C],["__scopeId","data-v-28716ab0"]]))}}});
@@ -1 +0,0 @@
1
- System.register(["./Widget-orNSvnOh-a525c9c4a8704c6b360e.js","vue","./main-7b39afe9b1c97330416a.js","vue-router","vuex","vuetify"],function(h,d){"use strict";var r,l,c,a,o,u;return{setters:[t=>{r=t.o},t=>{l=t.resolveComponent,c=t.openBlock,a=t.createBlock,o=t.normalizeStyle},t=>{u=t.s},null,null,null],execute:function(){const t={mixins:[r],props:{value:{default:null}},data:function(){return{valueId:null,icon:"",label:"",subLabel:"",items:[],screenTarget:null,screenName:null}},computed:{status:function(){let e="off";for(const n of this.items){let s=this.screenValues[n][1];s&&((s.includes("BLUE")||s.includes("GREEN"))&&e!="caution"&&e!="critical"&&(e="normal"),s.includes("YELLOW")&&e!="critical"&&(e="caution"),s.includes("RED")&&(e="critical"))}return e},pointerStyle(){return this.screenTarget&&this.screenName?{cursor:"pointer"}:{cursor:"default"}}},created:function(){this.icon=this.parameters[0],this.label=this.parameters[1],this.subLabel=this.parameters[2],this.appliedSettings.forEach(e=>{switch(e[0].toUpperCase()){case"SCREEN":this.screenTarget=e[1],this.screenName=e[2];break;case"TLM":let n="CONVERTED";e[4]&&(n=e[4]);let s=`${e[1]}__${e[2]}__${e[3]}__${n}`;this.items.push(s),this.$emit("addItem",s);break}})},unmounted:function(){this.items.forEach(e=>{this.$emit("deleteItem",e)})},methods:{clickHandler(){this.screenTarget&&this.screenName&&this.$emit("open",this.screenTarget,this.screenName)}}};function m(e,n,s,b,E,i){const p=l("rux-monitoring-icon");return c(),a(p,{class:"rux-icon",style:o(i.pointerStyle),icon:e.icon,status:i.status,label:e.label,sublabel:e.subLabel,onClick:i.clickHandler},null,8,["style","icon","status","label","sublabel","onClick"])}const f=h("default",u(t,[["render",m]]))}}});
@@ -1 +0,0 @@
1
- System.register(["./main-7b39afe9b1c97330416a.js","vue","./OutputDialog-Cqz9_MPm-909bbcae633ec90197fa.js","vue-router","vuex","vuetify"],function(V,E){"use strict";var p,u,t,l,s,a,o,g,h,m,d,v,f,C,k,w;return{setters:[e=>{p=e.s,u=e.O},e=>{t=e.resolveComponent,l=e.openBlock,s=e.createElementBlock,a=e.createVNode,o=e.withCtx,g=e.Fragment,h=e.renderList,m=e.mergeProps,d=e.createTextVNode,v=e.createElementVNode,f=e.toDisplayString,C=e.createBlock,k=e.createCommentVNode},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(){u.get("/openc3-api/routers").then(i=>{this.routers=i.data})},add(){},showRouter(i){u.get(`/openc3-api/routers/${i}`).then(n=>{this.jsonContent=JSON.stringify(n.data,null," "),this.dialogTitle=i,this.showDialog=!0})},dialogCallback(i){this.showDialog=!1}}};function _(i,n,R,J,r,D){const y=t("v-list-item-title"),N=t("v-icon"),B=t("v-tooltip"),S=t("v-list-item"),j=t("v-divider"),x=t("v-list"),O=t("output-dialog");return l(),s("div",null,[a(x,{class:"list","data-test":"routerList"},{default:o(()=>[(l(!0),s(g,null,h(r.routers,(c,T)=>(l(),s("div",{key:T},[a(S,null,{append:o(()=>[a(B,{location:"top"},{activator:o(({props:b})=>[a(N,m({ref_for:!0},b,{onClick:L=>D.showRouter(c)}),{default:o(()=>n[1]||(n[1]=[d(" mdi-eye ")])),_:2},1040,["onClick"])]),default:o(()=>[n[2]||(n[2]=v("span",null,"Show Router Details",-1))]),_:2},1024)]),default:o(()=>[a(y,null,{default:o(()=>[d(f(c),1)]),_:2},1024)]),_:2},1024),a(j)]))),128))]),_:1}),r.showDialog?(l(),C(O,{key:0,modelValue:r.showDialog,"onUpdate:modelValue":n[0]||(n[0]=c=>r.showDialog=c),content:r.jsonContent,type:"Router",name:r.dialogTitle,onSubmit:D.dialogCallback},null,8,["modelValue","content","name","onSubmit"])):k("",!0)])}const P=V("default",p(e,[["render",_],["__scopeId","data-v-82fc907b"]]))}}});
@@ -1 +0,0 @@
1
- System.register(["./Layout-klOVw-YN-57cdd4032a866948ae91.js","./VerticalWidget-Ch7VAEmz-ad9c1186ed7e5b3077e2.js","vue","./main-7b39afe9b1c97330416a.js","./Widget-orNSvnOh-a525c9c4a8704c6b360e.js","vue-router","vuex","vuetify"],function(d,k){"use strict";var l,c,r,i,o,m,u,g,p,f,v;return{setters:[e=>{l=e.r},e=>{c=e.default},e=>{r=e.openBlock,i=e.createElementBlock,o=e.normalizeStyle,m=e.Fragment,u=e.renderList,g=e.createBlock,p=e.resolveDynamicComponent,f=e.mergeProps},e=>{v=e.s},null,null,null,null],execute:function(){const e={mixins:[l],components:{VerticalWidget:c},created:function(){if(this.setHeight(this.parameters[0],"px",200),this.parameters[1]){let n=this.parameters[1];this.widgets.forEach(a=>{a.settings.find(s=>s[0]==="MARGIN"||s[0]==="RAW"&&s[1].toUpperCase().includes("MARGIN"))===void 0&&a.settings.push(["MARGIN",n])})}}};function y(n,a,s,B,N,z){return r(),i("div",{ref:"container",style:o(n.computedStyle),class:"overflow-y-auto"},[(r(!0),i(m,null,u(n.widgets,(t,h)=>(r(),g(p(t.type),f({ref_for:!0},n.listeners,{key:h,target:t.target,parameters:t.parameters,settings:t.settings,"screen-values":n.screenValues,"screen-time-zone":n.screenTimeZone,widgets:t.widgets,name:t.name,line:t.line,"line-number":t.lineNumber}),null,16,["target","parameters","settings","screen-values","screen-time-zone","widgets","name","line","line-number"]))),128))],4)}const w=d("default",v(e,[["render",y]]))}}});
@@ -1 +0,0 @@
1
- System.register(["./main-7b39afe9b1c97330416a.js","vue","vue-router","vuex","vuetify"],function(C,P){"use strict";var v,c,r,i,u,t,l,p,d,m,V,g,y,N,k;return{setters:[a=>{v=a.s,c=a.O},a=>{r=a.resolveComponent,i=a.openBlock,u=a.createElementBlock,t=a.createVNode,l=a.withCtx,p=a.createElementVNode,d=a.createTextVNode,m=a.toDisplayString,V=a.Fragment,g=a.renderList,y=a.mergeProps,N=a.createBlock,k=a.createCommentVNode},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(n=>{this.secrets=n.data})},upload:function(){this.loadingSecret=!0;let n=null;if(this.file){const e=new FormData;e.append("file",this.file,this.file.name),n=c.post(`/openc3-api/secrets/${this.secretName}`,{data:e,headers:{"Content-Type":"multipart/form-data"}})}else n=c.post(`/openc3-api/secrets/${this.secretName}`,{data:{value:this.secretValue}});n.then(e=>{this.loadingSecret=!1,this.file=null,this.secretName="",this.secretValue="",this.update()}).catch(e=>{this.loadingSecret=!1})},deleteSecret:function(n){this.$dialog.confirm(`Are you sure you want to remove: ${n}`,{okText:"Delete",cancelText:"Cancel"}).then(function(e){return c.delete(`/openc3-api/secrets/${n}`)}).then(e=>{this.alert=`Removed secret ${n}`,this.alertType="success",this.showAlert=!0,setTimeout(()=>{this.showAlert=!1},5e3),this.update()})}}};function b(n,e,I,O,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(),u("div",null,[t(_,{"no-gutters":""},{default:l(()=>[t(f,null,{default:l(()=>[t(T,{modelValue:s.file,"onUpdate:modelValue":e[0]||(e[0]=o=>s.file=o),"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]=o=>s.secretName=o),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]=o=>s.secretValue=o),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]=o=>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]=[d("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]=o=>s.showAlert=o),closable:"",type:s.alertType},{default:l(()=>[d(m(s.alert),1)]),_:1},8,["modelValue","type"]),t(F,{"data-test":"secretList"},{default:l(()=>[(i(!0),u(V,null,g(s.secrets,(o,h)=>(i(),u("div",{key:h},[t(E,null,{append:l(()=>[t(D,{location:"top"},{activator:l(({props:L})=>[t(w,y({ref_for:!0},L,{onClick:j=>x.deleteSecret(o)}),{default:l(()=>e[8]||(e[8]=[d(" 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(()=>[d(m(o),1)]),_:2},1024)]),_:2},1024),h<s.secrets.length-1?(i(),N(U,{key:h})):k("",!0)]))),128))]),_:1})])}const z=C("default",v(a,[["render",b]]))}}});
@@ -1 +0,0 @@
1
- System.register(["vue","./main-7b39afe9b1c97330416a.js","vue-router","vuex","vuetify"],function(P,Ce){"use strict";var a,m,x,o,V,l,r,U,w,S,F,H,A,T,W,_,E;return{setters:[h=>{a=h.resolveComponent,m=h.openBlock,x=h.createElementBlock,o=h.createVNode,V=h.createBlock,l=h.withCtx,r=h.createTextVNode,U=h.Fragment,w=h.renderList,S=h.toDisplayString,F=h.createSlots,H=h.mergeProps,A=h.createCommentVNode,T=h.withDirectives,W=h.vShow},h=>{_=h.s,E=h.W},null,null,null],execute:function(){const h={data(){return{suppressedWarnings:[],selectedSuppressedWarnings:[],selectAllSuppressedWarnings:!1}},watch:{selectAllSuppressedWarnings:function(t){t?this.selectedSuppressedWarnings=this.suppressedWarnings.map(e=>e.key):this.selectedSuppressedWarnings=[]}},created(){this.loadSuppressedWarnings()},methods:{loadSuppressedWarnings:function(){this.suppressedWarnings=Object.keys(localStorage).filter(t=>t.startsWith("suppresswarning__")).map(this.localStorageKeyToDisplayObject),this.selectedSuppressedWarnings=[]},localStorageKeyToDisplayObject:function(t){const e=t.split("__")[1].replaceAll("_"," ");return{key:t,text:e.charAt(0).toUpperCase()+e.slice(1),value:localStorage[t]}},resetSuppressedWarnings:function(){this.deleteLocalStorageKeys(this.selectedSuppressedWarnings),this.loadSuppressedWarnings()},deleteLocalStorageKeys:function(t){for(const e of t)delete localStorage[e]}}};function z(t,e,k,C,s,b){const y=a("v-card-title"),u=a("v-card-subtitle"),i=a("v-checkbox"),c=a("v-card-text"),f=a("v-btn"),p=a("v-card-actions"),v=a("v-card");return m(),V(v,null,{default:l(()=>[o(y,null,{default:l(()=>e[2]||(e[2]=[r("Reset suppressed warnings")])),_:1}),o(u,null,{default:l(()=>e[3]||(e[3]=[r(` This resets "don't show this again" dialogs on this browser `)])),_:1}),o(c,null,{default:l(()=>[s.suppressedWarnings.length?(m(),x(U,{key:0},[o(i,{modelValue:s.selectAllSuppressedWarnings,"onUpdate:modelValue":e[0]||(e[0]=d=>s.selectAllSuppressedWarnings=d),label:"Select All Warnings",desity:"compact"},null,8,["modelValue"]),(m(!0),x(U,null,w(s.suppressedWarnings,d=>(m(),V(i,{key:d.key,modelValue:s.selectedSuppressedWarnings,"onUpdate:modelValue":e[1]||(e[1]=n=>s.selectedSuppressedWarnings=n),label:d.text,value:d.key,density:"compact","hide-details":""},null,8,["modelValue","label","value"]))),128))],64)):(m(),x(U,{key:1},[r(" No warnings to reset ")],64))]),_:1}),o(p,{class:"px-2"},{default:l(()=>[o(f,{disabled:!s.selectedSuppressedWarnings.length,onClick:b.resetSuppressedWarnings,color:"warning",variant:"text","data-test":"reset-suppressed-warnings"},{default:l(()=>e[4]||(e[4]=[r(" Reset ")])),_:1},8,["disabled","onClick"])]),_:1})]),_:1})}const J=_(h,[["render",z]]),G={data(){return{lastConfigs:[],selectedLastConfigs:[],selectAllLastConfigs:!1}},watch:{selectAllLastConfigs:function(t){t?this.selectedLastConfigs=this.lastConfigs.map(e=>e.key):this.selectedLastConfigs=[]}},created(){this.loadLastConfigs()},methods:{loadLastConfigs:function(){this.lastConfigs=Object.keys(localStorage).filter(t=>t.endsWith("__default")).map(t=>{const e=t.split("__")[0].replaceAll("_"," ");return{key:t,text:e.charAt(0).toUpperCase()+e.slice(1)}}),this.selectedLastConfigs=[]},clearLastConfigs:function(){this.deleteLocalStorageKeys(this.selectedLastConfigs),this.loadLastConfigs()},deleteLocalStorageKeys:function(t){for(const e of t)delete localStorage[e]}}};function $(t,e,k,C,s,b){const y=a("v-card-title"),u=a("v-card-subtitle"),i=a("v-checkbox"),c=a("v-card-text"),f=a("v-btn"),p=a("v-card-actions"),v=a("v-card");return m(),V(v,null,{default:l(()=>[o(y,null,{default:l(()=>e[2]||(e[2]=[r(" Clear default configs ")])),_:1}),o(u,null,{default:l(()=>e[3]||(e[3]=[r(" This clears the default tool configs on this browser ")])),_:1}),o(c,null,{default:l(()=>[s.lastConfigs.length?(m(),x(U,{key:0},[o(i,{modelValue:s.selectAllLastConfigs,"onUpdate:modelValue":e[0]||(e[0]=d=>s.selectAllLastConfigs=d),label:"Select All Configs",density:"compact"},null,8,["modelValue"]),(m(!0),x(U,null,w(s.lastConfigs,d=>(m(),V(i,{key:d.key,modelValue:s.selectedLastConfigs,"onUpdate:modelValue":e[1]||(e[1]=n=>s.selectedLastConfigs=n),label:d.text,value:d.key,"hide-details":"",density:"compact"},null,8,["modelValue","label","value"]))),128))],64)):(m(),x(U,{key:1},[r(" No configs to clear ")],64))]),_:1}),o(p,{class:"px-2"},{default:l(()=>[o(f,{disabled:!s.selectedLastConfigs.length,onClick:b.clearLastConfigs,color:"warning",variant:"text","data-test":"clear-default-configs"},{default:l(()=>e[4]||(e[4]=[r(" Clear ")])),_:1},8,["disabled","onClick"])]),_:1})]),_:1})}const M=_(G,[["render",$]]),B={data(){return{api:new E,errorText:"",errorLoading:!1,errorSaving:!1,successSaving:!1}},methods:{loadSetting:function(t,e,k){this.api.get_setting(t).then(C=>{this.parseSetting(C)}).catch(C=>{this.parseSetting(null),this.errorText=C,this.errorLoading=!0})},saveSetting:function(t,e){this.api.set_setting(t,e).then(()=>{this.errorSaving=!1,this.successSaving=!0}).catch(()=>{this.errorSaving=!0,this.successSaving=!1})},parseSetting:function(t){}}},O="astro",Y={mixins:[B],data(){return{hideClock:!1}},created(){this.loadSetting(O)},methods:{save(){this.saveSetting(O,JSON.stringify({hideClock:this.hideClock}))},parseSetting:function(t){if(t){let e=JSON.parse(t);this.hideClock=e.hideClock}}}};function I(t,e,k,C,s,b){const y=a("v-card-title"),u=a("v-alert"),i=a("v-switch"),c=a("v-card-text"),f=a("v-btn"),p=a("v-card-actions"),v=a("v-card");return m(),V(v,null,{default:l(()=>[o(y,null,{default:l(()=>e[4]||(e[4]=[r("Astro Settings")])),_:1}),o(u,{modelValue:t.errorLoading,"onUpdate:modelValue":e[0]||(e[0]=d=>t.errorLoading=d),type:"error",closable:"",density:"compact"},{default:l(()=>[r(" Error loading previous configuration due to "+S(t.errorText),1)]),_:1},8,["modelValue"]),o(u,{modelValue:t.errorSaving,"onUpdate:modelValue":e[1]||(e[1]=d=>t.errorSaving=d),type:"error",closable:"",density:"compact"},{default:l(()=>[r(" Error saving due to "+S(t.errorText),1)]),_:1},8,["modelValue"]),o(u,{modelValue:t.successSaving,"onUpdate:modelValue":e[2]||(e[2]=d=>t.successSaving=d),type:"success",closable:"",density:"compact"},{default:l(()=>e[5]||(e[5]=[r(" Saved! (Refresh the page to see changes) ")])),_:1},8,["modelValue"]),o(c,{class:"pb-0"},{default:l(()=>[o(i,{label:"Hide Astro Clock",modelValue:s.hideClock,"onUpdate:modelValue":e[3]||(e[3]=d=>s.hideClock=d),color:"primary"},null,8,["modelValue"])]),_:1}),o(p,null,{default:l(()=>[o(f,{onClick:b.save,color:"success",variant:"text","data-test":"save-astro-settings"},{default:l(()=>e[6]||(e[6]=[r(" Save ")])),_:1},8,["onClick"])]),_:1})]),_:1})}const Q=_(Y,[["render",I]]),N="classification_banner",X={mixins:[B],data(){return{text:"",displayTopBanner:!1,displayBottomBanner:!1,topHeight:0,bottomHeight:0,selectedBackgroundColor:"red",customBackgroundColor:"",selectedFontColor:"white",customFontColor:"",customColorHint:"Enter a 3 or 6-digit hex color code",colors:[{text:"Yellow",value:"yellow"},{text:"Orange",value:"orange"},{text:"Red",value:"red"},{text:"Purple",value:"purple"},{text:"Blue",value:"blue"},{text:"Green",value:"green"},{text:"Black",value:"black"},{text:"White",value:"white"},{text:"Custom",value:!1}],rules:{customColor:t=>/^#(?:[0-9a-fA-F]{3}){1,2}$/.test(t)||this.customColorHint}}},computed:{saveObj:function(){return JSON.stringify({text:this.text,fontColor:this.selectedFontColor||this.customFontColor,backgroundColor:this.selectedBackgroundColor||this.customBackgroundColor,topHeight:this.displayTopBanner?this.topHeight:0,bottomHeight:this.displayBottomBanner?this.bottomHeight:0})},formValid:function(){return(this.selectedFontColor||this.rules.customColor(this.customFontColor)===!0)&&(this.selectedBackgroundColor||this.rules.customColor(this.customBackgroundColor)===!0)}},watch:{displayTopBanner:function(t){t?this.topHeight=20:this.topHeight=0},displayBottomBanner:function(t){t?this.bottomHeight=20:this.bottomHeight=0},customFontColor:function(t){t&&t.length&&!t.startsWith("#")&&(this.customFontColor=`#${t}`)},customBackgroundColor:function(t){t&&t.length&&!t.startsWith("#")&&(this.customBackgroundColor=`#${t}`)}},created(){this.loadSetting(N)},methods:{save(){this.saveSetting(N,this.saveObj)},parseSetting:function(t){if(t){const e=JSON.parse(t);this.text=e.text,this.topHeight=e.topHeight,this.bottomHeight=e.bottomHeight,this.displayTopBanner=e.topHeight!==0,this.displayBottomBanner=e.bottomHeight!==0,e.backgroundColor&&e.backgroundColor.startsWith("#")?(this.customBackgroundColor=e.backgroundColor,this.selectedBackgroundColor=!1):this.selectedBackgroundColor=e.backgroundColor,e.fontColor&&e.fontColor.startsWith("#")?(this.customFontColor=e.fontColor,this.selectedFontColor=!1):this.selectedFontColor=e.fontColor}}}};function ee(t,e,k,C,s,b){const y=a("v-card-title"),u=a("v-alert"),i=a("v-text-field"),c=a("v-col"),f=a("v-row"),p=a("v-icon"),v=a("v-list-item"),d=a("v-select"),n=a("v-switch"),R=a("v-card-text"),ye=a("v-btn"),Se=a("v-card-actions"),Ve=a("v-card");return m(),V(Ve,null,{default:l(()=>[o(y,null,{default:l(()=>e[12]||(e[12]=[r("Classification Banner Settings")])),_:1}),o(u,{modelValue:t.errorLoading,"onUpdate:modelValue":e[0]||(e[0]=g=>t.errorLoading=g),type:"error",closable:"",density:"compact"},{default:l(()=>[r(" Error loading previous configuration due to "+S(t.errorText),1)]),_:1},8,["modelValue"]),o(u,{modelValue:t.errorSaving,"onUpdate:modelValue":e[1]||(e[1]=g=>t.errorSaving=g),type:"error",closable:"",density:"compact"},{default:l(()=>[r(" Error saving due to "+S(t.errorText),1)]),_:1},8,["modelValue"]),o(u,{modelValue:t.successSaving,"onUpdate:modelValue":e[2]||(e[2]=g=>t.successSaving=g),type:"success",closable:"",density:"compact"},{default:l(()=>e[13]||(e[13]=[r(" Saved! (Refresh the page to see changes) ")])),_:1},8,["modelValue"]),o(R,{class:"pb-0"},{default:l(()=>[o(f,{dense:""},{default:l(()=>[o(c,null,{default:l(()=>[o(i,{label:"Text",modelValue:s.text,"onUpdate:modelValue":e[3]||(e[3]=g=>s.text=g),"data-test":"classification-banner-text"},null,8,["modelValue"])]),_:1})]),_:1}),o(f,{dense:""},{default:l(()=>[o(c,null,{default:l(()=>[o(d,{label:"Background color",items:s.colors,"item-title":"text",modelValue:s.selectedBackgroundColor,"onUpdate:modelValue":e[4]||(e[4]=g=>s.selectedBackgroundColor=g),"data-test":"classification-banner-background-color"},F({item:l(({props:g,item:L})=>[o(v,H(g,{value:L.text}),{prepend:l(()=>[L.value?(m(),V(p,{key:0,color:L.value},{default:l(()=>e[15]||(e[15]=[r(" mdi-square ")])),_:2},1032,["color"])):A("",!0)]),_:2},1040,["value"])]),_:2},[s.selectedBackgroundColor?{name:"prepend-inner",fn:l(()=>[o(p,{color:s.selectedBackgroundColor},{default:l(()=>e[14]||(e[14]=[r(" mdi-square ")])),_:1},8,["color"])]),key:"0"}:void 0]),1032,["items","modelValue"])]),_:1}),o(c,null,{default:l(()=>[o(i,{label:"Custom background color",hint:s.customColorHint,disabled:s.selectedBackgroundColor!==!1,modelValue:s.customBackgroundColor,"onUpdate:modelValue":e[5]||(e[5]=g=>s.customBackgroundColor=g),rules:[s.rules.customColor],"data-test":"classification-banner-custom-background-color"},{"prepend-inner":l(()=>[T(o(p,{color:s.customBackgroundColor},{default:l(()=>e[16]||(e[16]=[r(" mdi-square ")])),_:1},8,["color"]),[[W,!s.selectedBackgroundColor]])]),_:1},8,["hint","disabled","modelValue","rules"])]),_:1}),o(c,null,{default:l(()=>[o(d,{label:"Font color",items:s.colors,"item-title":"text",modelValue:s.selectedFontColor,"onUpdate:modelValue":e[6]||(e[6]=g=>s.selectedFontColor=g),"data-test":"classification-banner-font-color"},F({item:l(({props:g,item:L})=>[o(v,H(g,{value:L.text}),{prepend:l(()=>[L.value?(m(),V(p,{key:0,color:L.value},{default:l(()=>e[18]||(e[18]=[r(" mdi-square ")])),_:2},1032,["color"])):A("",!0)]),_:2},1040,["value"])]),_:2},[s.selectedFontColor?{name:"prepend-inner",fn:l(()=>[T(o(p,{color:s.selectedFontColor},{default:l(()=>e[17]||(e[17]=[r(" mdi-square ")])),_:1},8,["color"]),[[W,s.selectedFontColor]])]),key:"0"}:void 0]),1032,["items","modelValue"])]),_:1}),o(c,null,{default:l(()=>[o(i,{label:"Custom font color",hint:s.customColorHint,disabled:s.selectedFontColor!==!1,modelValue:s.customFontColor,"onUpdate:modelValue":e[7]||(e[7]=g=>s.customFontColor=g),rules:[s.rules.customColor],"data-test":"classification-banner-custom-font-color"},{"prepend-inner":l(()=>[T(o(p,{color:s.customFontColor},{default:l(()=>e[19]||(e[19]=[r(" mdi-square ")])),_:1},8,["color"]),[[W,!s.selectedFontColor]])]),_:1},8,["hint","disabled","modelValue","rules"])]),_:1})]),_:1}),o(f,{dense:""},{default:l(()=>[o(c,null,{default:l(()=>[o(n,{label:"Display top banner",modelValue:s.displayTopBanner,"onUpdate:modelValue":e[8]||(e[8]=g=>s.displayTopBanner=g),color:"primary","data-test":"display-top-banner"},null,8,["modelValue"])]),_:1}),o(c,null,{default:l(()=>[o(i,{label:"Top height",disabled:!s.displayTopBanner,type:"number",suffix:"px",modelValue:s.topHeight,"onUpdate:modelValue":e[9]||(e[9]=g=>s.topHeight=g),"data-test":"classification-banner-top-height"},null,8,["disabled","modelValue"])]),_:1}),o(c,null,{default:l(()=>[o(n,{label:"Display bottom banner",modelValue:s.displayBottomBanner,"onUpdate:modelValue":e[10]||(e[10]=g=>s.displayBottomBanner=g),color:"primary","data-test":"display-bottom-banner"},null,8,["modelValue"])]),_:1}),o(c,null,{default:l(()=>[o(i,{label:"Bottom height",disabled:!s.displayBottomBanner,type:"number",suffix:"px",modelValue:s.bottomHeight,"onUpdate:modelValue":e[11]||(e[11]=g=>s.bottomHeight=g),"data-test":"classification-banner-bottom-height"},null,8,["disabled","modelValue"])]),_:1})]),_:1})]),_:1}),o(Se,null,{default:l(()=>[o(ye,{disabled:!b.formValid,onClick:b.save,color:"success",variant:"text","data-test":"save-classification-banner"},{default:l(()=>e[20]||(e[20]=[r(" Save ")])),_:1},8,["disabled","onClick"])]),_:1})]),_:1})}const te=_(X,[["render",ee]]),Z="time_zone",oe={mixins:[B],data(){return{timeZones:["local","UTC"],timeZone:"local"}},created(){this.loadSetting(Z)},methods:{save(){this.saveSetting(Z,this.timeZone)},parseSetting:function(t){t&&(this.timeZone=t)}}};function le(t,e,k,C,s,b){const y=a("v-card-title"),u=a("v-card-subtitle"),i=a("v-alert"),c=a("v-select"),f=a("v-card-text"),p=a("v-btn"),v=a("v-card-actions"),d=a("v-card");return m(),V(d,null,{default:l(()=>[o(y,null,{default:l(()=>e[4]||(e[4]=[r("Time Zone")])),_:1}),o(u,null,{default:l(()=>e[5]||(e[5]=[r(" The time zone to display for all COSMOS tools. (Note: All timestamps are UTC in the backend). ")])),_:1}),o(i,{modelValue:t.errorLoading,"onUpdate:modelValue":e[0]||(e[0]=n=>t.errorLoading=n),type:"error",closable:"",density:"compact"},{default:l(()=>[r(" Error loading previous configuration due to "+S(t.errorText),1)]),_:1},8,["modelValue"]),o(i,{modelValue:t.errorSaving,"onUpdate:modelValue":e[1]||(e[1]=n=>t.errorSaving=n),type:"error",closable:"",density:"compact"},{default:l(()=>[r(" Error saving due to "+S(t.errorText),1)]),_:1},8,["modelValue"]),o(i,{modelValue:t.successSaving,"onUpdate:modelValue":e[2]||(e[2]=n=>t.successSaving=n),type:"success",closable:"",density:"compact"},{default:l(()=>e[6]||(e[6]=[r(" Saved! (Refresh the page to see changes) ")])),_:1},8,["modelValue"]),o(f,null,{default:l(()=>[o(c,{modelValue:s.timeZone,"onUpdate:modelValue":e[3]||(e[3]=n=>s.timeZone=n),items:s.timeZones,label:"Select time display","hide-details":"","prepend-icon":"mdi-map-clock","single-line":"","data-test":"time-zone"},null,8,["modelValue","items"])]),_:1}),o(v,null,{default:l(()=>[o(p,{onClick:b.save,color:"success",variant:"text","data-test":"save-time-zone"},{default:l(()=>e[7]||(e[7]=[r(" Save ")])),_:1},8,["onClick"])]),_:1})]),_:1})}const ae=_(oe,[["render",le]]),D="subtitle",se={mixins:[B],data(){return{subtitle:""}},created(){this.loadSetting(D)},methods:{save(){this.saveSetting(D,this.subtitle)},parseSetting:function(t){t&&(this.subtitle=t)}}};function re(t,e,k,C,s,b){const y=a("v-card-title"),u=a("v-card-subtitle"),i=a("v-alert"),c=a("v-text-field"),f=a("v-card-text"),p=a("v-btn"),v=a("v-card-actions"),d=a("v-card");return m(),V(d,null,{default:l(()=>[o(y,null,{default:l(()=>e[4]||(e[4]=[r("Subtitle")])),_:1}),o(u,null,{default:l(()=>e[5]||(e[5]=[r(" This sets a subtitle to display below the COSMOS logo in the Navigation bar. ")])),_:1}),o(i,{modelValue:t.errorLoading,"onUpdate:modelValue":e[0]||(e[0]=n=>t.errorLoading=n),type:"error",closable:"",density:"compact"},{default:l(()=>[r(" Error loading previous configuration due to "+S(t.errorText),1)]),_:1},8,["modelValue"]),o(i,{modelValue:t.errorSaving,"onUpdate:modelValue":e[1]||(e[1]=n=>t.errorSaving=n),type:"error",closable:"",density:"compact"},{default:l(()=>[r(" Error saving due to "+S(t.errorText),1)]),_:1},8,["modelValue"]),o(i,{modelValue:t.successSaving,"onUpdate:modelValue":e[2]||(e[2]=n=>t.successSaving=n),type:"success",closable:"",density:"compact"},{default:l(()=>e[6]||(e[6]=[r(" Saved! (Refresh the page to see changes) ")])),_:1},8,["modelValue"]),o(f,{class:"pb-0"},{default:l(()=>[o(c,{label:"Subtitle",modelValue:s.subtitle,"onUpdate:modelValue":e[3]||(e[3]=n=>s.subtitle=n),"data-test":"subtitle"},null,8,["modelValue"])]),_:1}),o(v,null,{default:l(()=>[o(p,{onClick:b.save,color:"success",variant:"text","data-test":"save-subtitle"},{default:l(()=>e[7]||(e[7]=[r(" Save ")])),_:1},8,["onClick"])]),_:1})]),_:1})}const ne=_(se,[["render",re]]),j="source_url",ie={mixins:[B],data(){return{sourceUrl:"https://github.com/OpenC3/cosmos"}},created(){this.loadSetting(j)},methods:{save(){this.saveSetting(j,this.sourceUrl)},parseSetting:function(t){t&&(this.sourceUrl=t)}}};function de(t,e,k,C,s,b){const y=a("v-card-title"),u=a("v-card-subtitle"),i=a("v-alert"),c=a("v-text-field"),f=a("v-card-text"),p=a("v-btn"),v=a("v-card-actions"),d=a("v-card");return m(),V(d,null,{default:l(()=>[o(y,null,{default:l(()=>e[4]||(e[4]=[r(" Source code URL ")])),_:1}),o(u,null,{default:l(()=>e[5]||(e[5]=[r(' This sets the URL for the "Source" link in the footer. This is required under the AGPL license. ')])),_:1}),o(i,{modelValue:t.errorLoading,"onUpdate:modelValue":e[0]||(e[0]=n=>t.errorLoading=n),type:"error",closable:"",density:"compact"},{default:l(()=>[r(" Error loading previous configuration due to "+S(t.errorText),1)]),_:1},8,["modelValue"]),o(i,{modelValue:t.errorSaving,"onUpdate:modelValue":e[1]||(e[1]=n=>t.errorSaving=n),type:"error",closable:"",density:"compact"},{default:l(()=>[r(" Error saving due to "+S(t.errorText),1)]),_:1},8,["modelValue"]),o(i,{modelValue:t.successSaving,"onUpdate:modelValue":e[2]||(e[2]=n=>t.successSaving=n),type:"success",closable:"",density:"compact"},{default:l(()=>e[6]||(e[6]=[r(" Saved! (Refresh the page to see changes) ")])),_:1},8,["modelValue"]),o(f,{class:"pb-0"},{default:l(()=>[o(c,{label:"Source URL",modelValue:s.sourceUrl,"onUpdate:modelValue":e[3]||(e[3]=n=>s.sourceUrl=n),"data-test":"source-url"},null,8,["modelValue"])]),_:1}),o(v,null,{default:l(()=>[o(p,{onClick:b.save,color:"success",variant:"text","data-test":"save-source-url"},{default:l(()=>e[7]||(e[7]=[r(" Save ")])),_:1},8,["onClick"])]),_:1})]),_:1})}const ue=_(ie,[["render",de]]),q="rubygems_url",ce={mixins:[B],data(){return{rubygemsUrl:"https://rubygems.org"}},created(){this.loadSetting(q)},methods:{save(){this.saveSetting(q,this.rubygemsUrl)},parseSetting:function(t){t&&(this.rubygemsUrl=t)}}};function ge(t,e,k,C,s,b){const y=a("v-card-title"),u=a("v-card-subtitle"),i=a("v-alert"),c=a("v-text-field"),f=a("v-card-text"),p=a("v-btn"),v=a("v-card-actions"),d=a("v-card");return m(),V(d,null,{default:l(()=>[o(y,null,{default:l(()=>e[4]||(e[4]=[r(" Rubygems URL ")])),_:1}),o(u,null,{default:l(()=>e[5]||(e[5]=[r(" This sets the URL for installing dependency rubygems. Also used for rubygem discovery. ")])),_:1}),o(i,{modelValue:t.errorLoading,"onUpdate:modelValue":e[0]||(e[0]=n=>t.errorLoading=n),type:"error",closable:"",density:"compact"},{default:l(()=>[r(" Error loading previous configuration due to "+S(t.errorText),1)]),_:1},8,["modelValue"]),o(i,{modelValue:t.errorSaving,"onUpdate:modelValue":e[1]||(e[1]=n=>t.errorSaving=n),type:"error",closable:"",density:"compact"},{default:l(()=>[r(" Error saving due to "+S(t.errorText),1)]),_:1},8,["modelValue"]),o(i,{modelValue:t.successSaving,"onUpdate:modelValue":e[2]||(e[2]=n=>t.successSaving=n),type:"success",closable:"",density:"compact"},{default:l(()=>e[6]||(e[6]=[r(" Saved! (Refresh the page to see changes) ")])),_:1},8,["modelValue"]),o(f,{class:"pb-0"},{default:l(()=>[o(c,{label:"Rubygems URL",modelValue:s.rubygemsUrl,"onUpdate:modelValue":e[3]||(e[3]=n=>s.rubygemsUrl=n),"data-test":"rubygems-url"},null,8,["modelValue"])]),_:1}),o(v,null,{default:l(()=>[o(p,{onClick:b.save,color:"success",variant:"text","data-test":"save-rubygems-url"},{default:l(()=>e[7]||(e[7]=[r(" Save ")])),_:1},8,["onClick"])]),_:1})]),_:1})}const pe=_(ce,[["render",ge]]),K="pypi_url",me={mixins:[B],data(){return{pypiUrl:"https://pypi.org"}},created(){this.loadSetting(K)},methods:{save(){this.saveSetting(K,this.pypiUrl)},parseSetting:function(t){t&&(this.pypiUrl=t)}}};function fe(t,e,k,C,s,b){const y=a("v-card-title"),u=a("v-card-subtitle"),i=a("v-alert"),c=a("v-text-field"),f=a("v-card-text"),p=a("v-btn"),v=a("v-card-actions"),d=a("v-card");return m(),V(d,null,{default:l(()=>[o(y,null,{default:l(()=>e[4]||(e[4]=[r(" Pypi URL ")])),_:1}),o(u,null,{default:l(()=>e[5]||(e[5]=[r(" This sets the URL for installing dependency python packages. Also used for package discovery. ")])),_:1}),o(i,{modelValue:t.errorLoading,"onUpdate:modelValue":e[0]||(e[0]=n=>t.errorLoading=n),type:"error",closable:"",density:"compact"},{default:l(()=>[r(" Error loading previous configuration due to "+S(t.errorText),1)]),_:1},8,["modelValue"]),o(i,{modelValue:t.errorSaving,"onUpdate:modelValue":e[1]||(e[1]=n=>t.errorSaving=n),type:"error",closable:"",density:"compact"},{default:l(()=>[r(" Error saving due to "+S(t.errorText),1)]),_:1},8,["modelValue"]),o(i,{modelValue:t.successSaving,"onUpdate:modelValue":e[2]||(e[2]=n=>t.successSaving=n),type:"success",closable:"",density:"compact"},{default:l(()=>e[6]||(e[6]=[r(" Saved! (Refresh the page to see changes) ")])),_:1},8,["modelValue"]),o(f,{class:"pb-0"},{default:l(()=>[o(c,{label:"Pypi URL",modelValue:s.pypiUrl,"onUpdate:modelValue":e[3]||(e[3]=n=>s.pypiUrl=n),"data-test":"pypi-url"},null,8,["modelValue"])]),_:1}),o(v,null,{default:l(()=>[o(p,{onClick:b.save,color:"success",variant:"text","data-test":"save-pypi-url"},{default:l(()=>e[7]||(e[7]=[r(" Save ")])),_:1},8,["onClick"])]),_:1})]),_:1})}const he=_(me,[["render",fe]]),ve={components:{SuppressedSettings:J,DefaultConfigSettings:M,AstroSettings:Q,ClassificationBannerSettings:te,TimeZoneSettings:ae,SubtitleSettings:ne,SourceCodeSettings:ue,RubyGemsSettings:pe,PypiSettings:he}};function be(t,e,k,C,s,b){const y=a("suppressed-settings"),u=a("v-divider"),i=a("default-config-settings"),c=a("astro-settings"),f=a("time-zone-settings"),p=a("classification-banner-settings"),v=a("subtitle-settings"),d=a("source-code-settings"),n=a("ruby-gems-settings"),R=a("pypi-settings");return m(),x("div",null,[o(y),o(u),o(i),o(u),o(c),o(u),o(f),o(u),o(p),o(u),o(v),o(u),o(d),o(u),o(n),o(u),o(R)])}const _e=P("default",_(ve,[["render",be]]))}}});
@@ -1 +0,0 @@
1
- System.register(["./VWidget-Dmqf_jKM-952e90273c0922ac7a4a.js","vue","./main-7b39afe9b1c97330416a.js","./Widget-orNSvnOh-a525c9c4a8704c6b360e.js","vue-router","vuex","vuetify"],function(h,m){"use strict";var r,a,s,n,i,l,c,o;return{setters:[t=>{r=t.L},t=>{a=t.resolveComponent,s=t.openBlock,n=t.createBlock,i=t.withCtx,l=t.createTextVNode,c=t.toDisplayString},t=>{o=t.s},null,null,null,null],execute:function(){const t={mixins:[r],props:{value:{default:null}},data:function(){return{item:null,oneBar:30,twoBar:60,threeBar:90}},computed:{displayedIcon:function(){let e="mdi-signal-cellular-outline";return this._value>=this.oneBar&&(e="mdi-signal-cellular-1"),this._value>=this.twoBar&&(e="mdi-signal-cellular-2"),this._value>=this.threeBar&&(e="mdi-signal-cellular-3"),e}},created(){this.appliedSettings.forEach(e=>{switch(e[0].toUpperCase()){case"SCREEN":this.screenTarget=e[1],this.screenName=e[2];break;case"VALUES":this.oneBar=parseFloat(e[1]),this.twoBar=parseFloat(e[2]),this.threeBar=parseFloat(e[3]);break}})},methods:{getType(){let e="CONVERTED";return this.parameters[3]=="RAW"&&(e="RAW"),e},clickHandler(){this.screenTarget&&this.screenName&&this.$emit("open",this.screenTarget,this.screenName)}}};function p(e,v,B,f,k,u){const d=a("v-icon");return s(),n(d,{onClick:u.clickHandler},{default:i(()=>[l(c(u.displayedIcon),1)]),_:1},8,["onClick"])}const g=h("default",o(t,[["render",p]]))}}});
@@ -1 +0,0 @@
1
- System.register(["./Widget-orNSvnOh-a525c9c4a8704c6b360e.js","vue","./main-7b39afe9b1c97330416a.js","vue-router","vuex","vuetify"],function(i,c){"use strict";var t,n,s,r,l;return{setters:[e=>{t=e.o},e=>{n=e.openBlock,s=e.createElementBlock,r=e.normalizeStyle},e=>{l=e.s},null,null,null],execute:function(){const e={mixins:[t],created(){this.settings.push(["WIDTH",this.parameters[0]]),this.settings.push(["HEIGHT",this.parameters[1]])}};function u(o,m,h,p,v,d){return n(),s("div",{style:r(o.computedStyle)},null,4)}const a=i("default",l(e,[["render",u]]))}}});
@@ -1 +0,0 @@
1
- System.register(["./GraphWidget-LqekkNDr-6af23dd3125a8d7b39a9.js","./main-7b39afe9b1c97330416a.js","vue","./Widget-orNSvnOh-a525c9c4a8704c6b360e.js","vue-router","vuex","vuetify"],function(p,c){"use strict";var i,s,n,r,a,o,d;return{setters:[t=>{i=t.S,s=t._},t=>{n=t.s},t=>{r=t.resolveComponent,a=t.openBlock,o=t.createBlock,d=t.normalizeStyle},null,null,null,null],execute:function(){const t={components:{Graph:i},mixins:[s],data:function(){return{secondsGraphed:300,pointsSaved:300,pointsGraphed:300,size:{height:30,width:130}}}};function h(e,g,m,v,S,f){const l=r("graph");return a(),o(l,{ref:"graph"+e.id,id:e.id,state:e.state,"selected-graph-id":e.id,startTime:e.startTime,"seconds-graphed":e.secondsGraphed,"points-saved":e.pointsSaved,"points-graphed":e.pointsGraphed,"initial-items":e.items,height:e.size.height,width:e.size.width,style:d(e.computedStyle),sparkline:""},null,8,["id","state","selected-graph-id","startTime","seconds-graphed","points-saved","points-graphed","initial-items","height","width","style"])}const u=p("default",n(t,[["render",h]]))}}});
@@ -1 +0,0 @@
1
- System.register(["./Layout-klOVw-YN-57cdd4032a866948ae91.js","vue","./main-7b39afe9b1c97330416a.js","./Widget-orNSvnOh-a525c9c4a8704c6b360e.js","vue-router","vuex","vuetify"],function(k,h){"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],execute:function(){const e={mixins:[p],data:function(){return{curTab:null}},watch:{curTab:function(){this.$emit("min-max-screen")}}};function T(t,m,_,D,L,j){const x=l("v-tab"),N=l("v-tabs"),S=l("v-window-item"),B=l("v-window");return n(),s("div",null,[g(N,{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(x,{key:d},{default:i(()=>[y(f(a.parameters[0]),1)]),_:2},1024))),128))]),_:1},8,["modelValue","style"]),g(B,{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(S,{key:d},{default:i(()=>[(n(!0),s(c,null,o(a.widgets,(r,C)=>(n(),u(w(r.type),b({ref_for:!0},t.listeners,{key:`${d}-${C}`,target:r.target,parameters:r.parameters,settings:r.settings,"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone,widgets:r.widgets,name:r.name,line:r.line,"line-number":r.lineNumber}),null,16,["target","parameters","settings","screen-values","screen-time-zone","widgets","name","line","line-number"]))),128))]),_:2},1024))),128))]),_:1},8,["modelValue"])])}const z=k("default",V(e,[["render",T]]))}}});
@@ -1 +0,0 @@
1
- System.register(["./main-7b39afe9b1c97330416a.js","vue","./OutputDialog-Cqz9_MPm-909bbcae633ec90197fa.js","vue-router","vuex","vuetify"],function(N,A){"use strict";var _,u,n,d,g,a,o,y,D,f,p,h,v,w,T,V;return{setters:[e=>{_=e.s,u=e.O},e=>{n=e.resolveComponent,d=e.openBlock,g=e.createElementBlock,a=e.createVNode,o=e.withCtx,y=e.Fragment,D=e.renderList,f=e.mergeProps,p=e.createTextVNode,h=e.createElementVNode,v=e.createCommentVNode,w=e.toDisplayString,T=e.createBlock},e=>{V=e.J},null,null,null],execute:function(){const e={components:{OutputDialog:V},data(){return{targets:[],jsonContent:"",dialogTitle:"",showDialog:!1}},mounted(){this.update()},methods:{update(){u.get("/openc3-api/targets_modified").then(l=>{this.targets=l.data})},showTarget(l){u.get(`/openc3-api/targets/${l}`).then(t=>{this.jsonContent=JSON.stringify(t.data,null," "),this.dialogTitle=l,this.showDialog=!0})},dialogCallback(l){this.showDialog=!1},downloadTarget:function(l){u.post(`/openc3-api/targets/${l}/download`).then(t=>{const m=window.atob(t.data.contents),C=new Uint8Array(m.length);for(let c=0;c<m.length;++c)C[c]=m.charCodeAt(c);const i=new Blob([C],{type:"application/zip"}),s=document.createElement("a");s.href=URL.createObjectURL(i),s.setAttribute("download",t.data.filename),s.click()})}}},B={key:0,class:"mx-3"};function O(l,t,m,C,i,s){const c=n("v-list-item-title"),S=n("v-list-item-subtitle"),b=n("v-icon"),x=n("v-tooltip"),j=n("v-list-item"),L=n("v-divider"),E=n("v-list"),U=n("output-dialog");return d(),g("div",null,[a(E,{class:"list","data-test":"targetList"},{default:o(()=>[(d(!0),g(y,null,D(i.targets,r=>(d(),g("div",{key:r},[a(j,null,{append:o(()=>[r.modified?(d(),g("div",B,[a(x,{location:"top"},{activator:o(({props:k})=>[a(b,f({ref_for:!0},k,{onClick:P=>s.downloadTarget(r.name)}),{default:o(()=>t[1]||(t[1]=[p(" mdi-download ")])),_:2},1040,["onClick"])]),default:o(()=>[t[2]||(t[2]=h("span",null,"Download Target Modified Files",-1))]),_:2},1024)])):v("",!0),a(x,{location:"top"},{activator:o(({props:k})=>[a(b,f({ref_for:!0},k,{onClick:P=>s.showTarget(r.name)}),{default:o(()=>t[3]||(t[3]=[p(" mdi-eye ")])),_:2},1040,["onClick"])]),default:o(()=>[t[4]||(t[4]=h("span",null,"Show Target Details",-1))]),_:2},1024)]),default:o(()=>[a(c,null,{default:o(()=>[p(w(r.name),1)]),_:2},1024),a(S,null,{default:o(()=>[p("Plugin: "+w(r.plugin),1)]),_:2},1024)]),_:2},1024),a(L)]))),128))]),_:1}),i.showDialog?(d(),T(U,{key:0,modelValue:i.showDialog,"onUpdate:modelValue":t[0]||(t[0]=r=>i.showDialog=r),content:i.jsonContent,type:"Target",name:i.dialogTitle,onSubmit:s.dialogCallback},null,8,["modelValue","content","name","onSubmit"])):v("",!0)])}const F=N("default",_(e,[["render",O],["__scopeId","data-v-6dc7b8d4"]]))}}});
@@ -1 +0,0 @@
1
- System.register(["./main-7b39afe9b1c97330416a.js","vue","./DetailsDialog-EWjtBjle-7990262e67902ac0252f.js","./VWidget-Dmqf_jKM-952e90273c0922ac7a4a.js","vue-router","vuex","vuetify","./Widget-orNSvnOh-a525c9c4a8704c6b360e.js"],function(y,z){"use strict";var c,a,s,r,n,u,m,l,d,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,m=e.normalizeStyle,l=e.withCtx,d=e.Fragment,h=e.renderList,g=e.createBlock,p=e.withModifiers,v=e.createTextVNode,x=e.toDisplayString},e=>{f=e.P},e=>{w=e.L},null,null,null,null],execute:function(){const e={components:{DetailsDialog:f},data:function(){return{width:200,height:200}},mixins:[w],computed:{aging(){return{"--aging":this.grayLevel}}},created:function(){this.width=this.setWidth(this.parameters[3],"px",this.width),this.height=this.setHeight(this.parameters[4],"px",this.height)},methods:{getType:function(){let t="CONVERTED";return this.parameters[5]&&(t=this.parameters[5]),t}}},C={class:"textbox-widget-container"};function V(t,o,T,L,W,k){const D=a("v-textarea"),S=a("v-list-item-title"),B=a("v-list-item"),_=a("v-list"),j=a("v-menu"),M=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:m([t.computedStyle,k.aging]),"data-test":"valueText",onContextmenu:t.showContextMenu},null,8,["model-value","class","style","onContextmenu"]),n(j,{modelValue:t.contextMenuShown,"onUpdate:modelValue":o[0]||(o[0]=i=>t.contextMenuShown=i),target:[t.x,t.y]},{default:l(()=>[n(_,null,{default:l(()=>[(s(!0),r(d,null,h(t.contextMenuOptions,(i,N)=>(s(),g(B,{key:N,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(M,{"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 E=y("default",c(e,[["render",V],["__scopeId","data-v-10f560aa"]]))}}});
@@ -1 +0,0 @@
1
- System.register(["./Widget-orNSvnOh-a525c9c4a8704c6b360e.js","vue","./main-7b39afe9b1c97330416a.js","vue-router","vuex","vuetify"],function(i,h){"use strict";var t,l,n,s,o,r;return{setters:[e=>{t=e.o},e=>{l=e.resolveComponent,n=e.openBlock,s=e.createBlock,o=e.normalizeStyle},e=>{r=e.s},null,null,null],execute:function(){const e={mixins:[t],data(){return{value:null}},created(){this.setWidth(this.parameters[0],"ch",12),this.parameters[1]&&(this.value=this.parameters[1])},methods:{text(){return this.value}}};function c(d,a,y,f,u,x){const v=l("v-text-field");return n(),s(v,{variant:"solo",density:"compact","single-line":"","hide-no-data":"","hide-details":"",modelValue:u.value,"onUpdate:modelValue":a[0]||(a[0]=m=>u.value=m),style:o(d.computedStyle)},null,8,["modelValue","style"])}const p=i("default",r(e,[["render",c]]))}}});
@@ -1 +0,0 @@
1
- System.register(["./Widget-orNSvnOh-a525c9c4a8704c6b360e.js","./main-7b39afe9b1c97330416a.js","vue","vue-router","vuex","vuetify"],function(m,v){"use strict";var l,i,n,r,a,s,o;return{setters:[e=>{l=e.o},e=>{i=e.s,n=e.P},e=>{r=e.resolveComponent,a=e.openBlock,s=e.createBlock,o=e.normalizeStyle},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,V,f,t,S){const h=r("v-text-field");return a(),s(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]]))}}});
@@ -1 +0,0 @@
1
- System.register(["./Widget-orNSvnOh-a525c9c4a8704c6b360e.js","vue","./main-7b39afe9b1c97330416a.js","vue-router","vuex","vuetify"],function(a,m){"use strict";var t,r,n,l,o,s;return{setters:[e=>{t=e.o},e=>{r=e.openBlock,n=e.createElementBlock,l=e.normalizeStyle,o=e.toDisplayString},e=>{s=e.s},null,null,null],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,h,u){return r(),n("span",{class:"text-h5 text-center pa-1 mt-1 label",style:l(c.computedStyle)},o(u.labelText),5)}const p=a("default",s(e,[["render",i]]))}}});
@@ -1 +0,0 @@
1
- System.register(["./main-7b39afe9b1c97330416a.js","vue","./DetailsDialog-EWjtBjle-7990262e67902ac0252f.js","./VWidget-Dmqf_jKM-952e90273c0922ac7a4a.js","vue-router","vuex","vuetify","./Widget-orNSvnOh-a525c9c4a8704c6b360e.js"],function(w,W){"use strict";var c,a,r,o,d,n,l,m,p,v,u,g,h,f,x,y,V,S;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},e=>{S=e.L},null,null,null,null],execute:function(){const C={components:{DetailsDialog:V},mixins:[S],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 E(t,i,U,I,z,k){const _=a("rux-status"),D=a("v-text-field"),N=a("v-tooltip"),B=a("v-list-item-title"),L=a("v-list-item"),M=a("v-list"),T=a("v-menu"),j=a("details-dialog");return r(),o("div",{class:"value-widget-container",style:d([t.computedStyle,k.aging])},[n(N,{location:"top"},{activator:l(({props:s})=>[n(D,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(_,{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(T,{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(M,null,{default:l(()=>[(r(!0),o(g,null,h(t.contextMenuOptions,(s,P)=>(r(),f(L,{key:P,onClick:x(s.action,["stop"])},{default:l(()=>[n(B,null,{default:l(()=>[y(u(s.title),1)]),_:2},1024)]),_:2},1032,["onClick"]))),128))]),_:1})]),_:1},8,["modelValue","target"]),n(j,{"target-name":t.parameters[0],"packet-name":t.parameters[1],"item-name":t.parameters[2],modelValue:t.viewDetails,"onUpdate:modelValue":i[1]||(i[1]=s=>t.viewDetails=s)},null,8,["target-name","packet-name","item-name","modelValue"])],4)}const A=w("default",c(C,[["render",E],["__scopeId","data-v-c21e4dde"]]))}}});
@@ -1 +0,0 @@
1
- System.register(["./ValueWidget-CZh7JWwT-2c2d67aef078b313f118.js","./LimitsbarWidget-JJiyzZjb-4b552af8e5470073ec05.js","./Widget-orNSvnOh-a525c9c4a8704c6b360e.js","vue","./main-7b39afe9b1c97330416a.js","./DetailsDialog-EWjtBjle-7990262e67902ac0252f.js","./VWidget-Dmqf_jKM-952e90273c0922ac7a4a.js","vue-router","vuex","vuetify","./BarColumn-Dm3D1Lhp-f155ed2f23338a0c8a15.js"],function(g,f){"use strict";var l,i,a,s,o,c,u,n,r,m;return{setters:[e=>{l=e.default},e=>{i=e.default},e=>{a=e.o},e=>{s=e.resolveComponent,o=e.openBlock,c=e.createElementBlock,u=e.normalizeStyle,n=e.createVNode,r=e.mergeProps},e=>{m=e.s},null,null,null,null,null,null],execute:function(){const e={mixins:[a],components:{ValueWidget:l,LimitsbarWidget:i}};function d(t,x,V,W,w,y){const p=s("value-widget"),v=s("limitsbar-widget");return o(),c("div",{ref:"container",class:"d-flex flex-row",style:u(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}),null,16,["parameters","settings","screen-values"])],4)}const j=g("default",m(e,[["render",d]]))}}});
@@ -1 +0,0 @@
1
- System.register(["./ValueWidget-CZh7JWwT-2c2d67aef078b313f118.js","./LimitscolumnWidget-Cd76tBo7-38462000de2efd18c479.js","./Widget-orNSvnOh-a525c9c4a8704c6b360e.js","vue","./main-7b39afe9b1c97330416a.js","./DetailsDialog-EWjtBjle-7990262e67902ac0252f.js","./VWidget-Dmqf_jKM-952e90273c0922ac7a4a.js","vue-router","vuex","vuetify","./BarColumn-Dm3D1Lhp-f155ed2f23338a0c8a15.js"],function(g,f){"use strict";var l,i,a,s,o,u,c,n,r,m;return{setters:[e=>{l=e.default},e=>{i=e.default},e=>{a=e.o},e=>{s=e.resolveComponent,o=e.openBlock,u=e.createElementBlock,c=e.normalizeStyle,n=e.createVNode,r=e.mergeProps},e=>{m=e.s},null,null,null,null,null,null],execute:function(){const e={mixins:[a],components:{ValueWidget:l,LimitscolumnWidget:i}};function d(t,V,W,B,S,w){const p=s("limitscolumn-widget"),v=s("value-widget");return o(),u("div",{ref:"container",style:c(t.computedStyle)},[n(p,r(t.$attrs,{parameters:t.parameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"widget-index":1}),null,16,["parameters","settings","screen-values"]),n(v,r(t.$attrs,{parameters:t.parameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone,"widget-index":0}),null,16,["parameters","settings","screen-values","screen-time-zone"])],4)}const j=g("default",m(e,[["render",d]]))}}});
@@ -1 +0,0 @@
1
- System.register(["./ValueWidget-CZh7JWwT-2c2d67aef078b313f118.js","./RangebarWidget-DW0FJK6y-95c451c431feda68a4aa.js","./Widget-orNSvnOh-a525c9c4a8704c6b360e.js","vue","./main-7b39afe9b1c97330416a.js","./DetailsDialog-EWjtBjle-7990262e67902ac0252f.js","./VWidget-Dmqf_jKM-952e90273c0922ac7a4a.js","vue-router","vuex","vuetify"],function(g,f){"use strict";var n,i,l,r,m,o,u,s,a,c;return{setters:[e=>{n=e.default},e=>{i=e.default},e=>{l=e.o},e=>{r=e.resolveComponent,m=e.openBlock,o=e.createElementBlock,u=e.normalizeStyle,s=e.createVNode,a=e.mergeProps},e=>{c=e.s},null,null,null,null,null],execute:function(){const e={mixins:[l],components:{ValueWidget:n,RangebarWidget:i},computed:{valueParameters(){return[this.parameters[0],this.parameters[1],this.parameters[2],this.parameters[5],this.parameters[6]]},rangeBarParameters(){return[this.parameters[0],this.parameters[1],this.parameters[2],this.parameters[3],this.parameters[4],this.parameters[5],this.parameters[7],this.parameters[8]]}}};function d(t,W,S,w,x,p){const v=r("value-widget"),h=r("rangebar-widget");return m(),o("div",{ref:"container",class:"d-flex flex-row",style:u(t.computedStyle)},[s(v,a(t.$attrs,{parameters:p.valueParameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone,"widget-index":0}),null,16,["parameters","settings","screen-values","screen-time-zone"]),s(h,a(t.$attrs,{parameters:p.rangeBarParameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"widget-index":1}),null,16,["parameters","settings","screen-values"])],4)}const j=g("default",c(e,[["render",d]]))}}});
@@ -1 +0,0 @@
1
- System.register(["./Layout-klOVw-YN-57cdd4032a866948ae91.js","vue","./main-7b39afe9b1c97330416a.js","./Widget-orNSvnOh-a525c9c4a8704c6b360e.js","vue-router","vuex","vuetify"],function(v,k){"use strict";var a,r,i,c,o,m,u,g,p,f;return{setters:[e=>{a=e.r},e=>{r=e.openBlock,i=e.createElementBlock,c=e.normalizeStyle,o=e.Fragment,m=e.renderList,u=e.createBlock,g=e.resolveDynamicComponent,p=e.mergeProps},e=>{f=e.s},null,null,null,null],execute:function(){const e={mixins:[a],created:function(){if(this.parameters[0]){let n=this.parameters[0];this.widgets.forEach(l=>{l.settings.find(s=>s[0]==="MARGIN"||s[0]==="RAW"&&s[1].toUpperCase().includes("MARGIN"))===void 0&&l.settings.push(["MARGIN",n])})}}};function y(n,l,s,w,B,N){return r(),i("div",{ref:"container",class:"d-flex flex-column",style:c(n.computedStyle)},[(r(!0),i(o,null,m(n.widgets,(t,d)=>(r(),u(g(t.type),p({ref_for:!0},n.listeners,{key:d,target:t.target,parameters:t.parameters,settings:t.settings,"screen-values":n.screenValues,"screen-time-zone":n.screenTimeZone,widgets:t.widgets,name:t.name,line:t.line,"line-number":t.lineNumber}),null,16,["target","parameters","settings","screen-values","screen-time-zone","widgets","name","line","line-number"]))),128))],4)}const h=v("default",f(e,[["render",y]]))}}});
@@ -1 +0,0 @@
1
- System.register(["./VerticalWidget-Ch7VAEmz-ad9c1186ed7e5b3077e2.js","./Layout-klOVw-YN-57cdd4032a866948ae91.js","vue","./main-7b39afe9b1c97330416a.js","./Widget-orNSvnOh-a525c9c4a8704c6b360e.js","vue-router","vuex","vuetify"],function(m,f){"use strict";var r,i,n,a,l,s,c,o,u,g,p,v;return{setters:[e=>{r=e.default},e=>{i=e.r},e=>{n=e.resolveComponent,a=e.openBlock,l=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],execute:function(){const e={mixins:[i],components:{VerticalWidget:r}};function d(t,x,S,k,N,z){const y=n("v-banner"),V=n("vertical-widget");return a(),l("div",null,[s(y,{class:"boxbanner",style:c(t.computedStyle),"single-line":""},{default:o(()=>[u(g(t.parameters[0]),1)]),_:1},8,["style"]),s(V,p(t.listeners,{parameters:t.parameters.slice(1),settings:t.settings,widgets:t.widgets,"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone}),null,16,["parameters","settings","widgets","screen-values","screen-time-zone"])])}const w=m("default",v(e,[["render",d],["__scopeId","data-v-832aa5cd"]]))}}});