openc3-cosmos-tool-admin 6.2.1 → 6.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (116) hide show
  1. checksums.yaml +4 -4
  2. data/tools/admin/{ArrayWidget-BxEO5hEG-5c784cf69c59ef56f770.js → ArrayWidget-BbsN1dzF-45b3f0b1b85d0816b4d6.js} +2 -2
  3. data/tools/admin/{ArrayplotWidget-B_VPoV4v-4c480a3fcc426de0cb30.js → ArrayplotWidget-CCKEyYIx-c2e9f297af8994f10499.js} +1 -1
  4. data/tools/admin/{BarColumn-C9dkpg2O-e489648e1026c2be35d5.js → BarColumn-C6p07yWK-7ae551032c38dd002d95.js} +1 -1
  5. data/tools/admin/BlockWidget-DlCHbqZX-d57a3ba05924d0dc73ce.js +2 -0
  6. data/tools/admin/{ButtonWidget-B6HM0Doo-668706e3573526170916.js → ButtonWidget-CtfJzCBR-15be1cfe08491243621a.js} +2 -2
  7. data/tools/admin/{CanvasWidget-DZQGG-yQ-9208dd10b8d9bf8fa386.js → CanvasWidget-CqRlXc4r-79ff690f6ab0548bac3b.js} +1 -1
  8. data/tools/admin/CanvasdotWidget--Xr_KsZs-5a996c74c5a7ef6bfffa.js +1 -0
  9. data/tools/admin/{CanvasimageWidget-mhcPpAuN-524715bd9e4a9c84bf1a.js → CanvasimageWidget-BPlj5QYK-d8e96ebe13755da5ca94.js} +1 -1
  10. data/tools/admin/{CanvasimagevalueWidget-Cx-dH8Gc-127608d7211ba8c85eee.js → CanvasimagevalueWidget-DVFGLt8f-382d16c4c919b192bb21.js} +1 -1
  11. data/tools/admin/CanvaslabelWidget-CYNqmyP0-d63731e0f2c639a94217.js +1 -0
  12. data/tools/admin/{CanvaslabelvalueWidget-CwmYDCjr-50109c3b06e5e4acd0e2.js → CanvaslabelvalueWidget-B7yIDmsn-da8a435cddcb14c4220d.js} +1 -1
  13. data/tools/admin/CanvaslineWidget-BICdxX0Q-e6d7b79766b82eb0aa5f.js +1 -0
  14. data/tools/admin/{CanvaslinevalueWidget-C3sJnjLQ-ffa8ee418ab1756d7518.js → CanvaslinevalueWidget-Cq-Ddh0P-dd25267d6fe776a0eb4d.js} +1 -1
  15. data/tools/admin/CheckbuttonWidget-B74AWeaW-e5eac04dabbe8e75a50f.js +1 -0
  16. data/tools/admin/ComboboxWidget-CtyKbEWb-a3645988bb8f618c30b7.js +1 -0
  17. data/tools/admin/DateWidget-BEVSczU8-a8f6e93811962f188e0e.js +1 -0
  18. data/tools/admin/{DetailsDialog-BvbziA7Y-ee21a12298c291aba619.js → DetailsDialog-DmEC5BTs-f202c65b40d62e0a0258.js} +1 -1
  19. data/tools/admin/{DynamicWidget-gFSYxzvT-1236326c70d40ef4d209.js → DynamicWidget-CfMtj7H8-5d1fe4151a3a13875e72.js} +1 -1
  20. data/tools/admin/{FormatvalueWidget-CGpnTqVH-1965b1425ac5713160a7.js → FormatvalueWidget-DN12xymS-a183974bad17bb7102f9.js} +1 -1
  21. data/tools/admin/Graph-Bgo0cjl3-b73fb6638f6aac6b1a30.js +1 -0
  22. data/tools/admin/{GraphWidget-Dycey-mj-a42606ece40c58355625.js → GraphWidget-DurWDmpg-ebee4b7d87defdaf5d8f.js} +1 -1
  23. data/tools/admin/{HorizontalWidget-D31NRWy5-f726d836b7dd777022b8.js → HorizontalWidget-Cd_wl1b3-fba8f18453014a0565ad.js} +1 -1
  24. data/tools/admin/HorizontalboxWidget-BcMTFBU--324c3dc4fd5e49eab722.js +1 -0
  25. data/tools/admin/HorizontallineWidget-CXFqHclf-7ca376904e3068703325.js +1 -0
  26. data/tools/admin/{IframeWidget-Ctj8OIcG-cc657bab62ca5f6f87d1.js → IframeWidget-BPerHCCa-3abc66888f871f2424e0.js} +1 -1
  27. data/tools/admin/{ImageLoader-BrNrCBvi-2b1da3a869462ca330c6.js → ImageLoader-4N-7Gj61-d96791fc6c7c24e20145.js} +1 -1
  28. data/tools/admin/ImageviewerWidget-Cw_H_HmZ-abc4b56b182850c2b4b0.js +1 -0
  29. data/tools/admin/InterfacesTab-B4glsR9Z-d5c7b16796e27515e044.js +1 -0
  30. data/tools/admin/{LabelWidget-t7I87dp7-152d5a9b96441cbd8510.js → LabelWidget-xrmcVeq8-894f83570ba8b552e75c.js} +1 -1
  31. data/tools/admin/LabelledWidget-D48QoyMk-9c821f58c796d7ea4c9b.js +1 -0
  32. data/tools/admin/LabelprogressbarWidget-C_950t6g-5966ce8bbecbd42abbc8.js +1 -0
  33. data/tools/admin/LabelsparklineWidget-0KXQyPoU-3930edb58cf690a58dd4.js +1 -0
  34. data/tools/admin/{LabelvalueWidget-Zx_yHCtl-381f386667d56a433fb9.js → LabelvalueWidget-CQ06wWDK-330aee93b235b971e95c.js} +1 -1
  35. data/tools/admin/{LabelvaluedescWidget-BBSBh4vI-f245b73d7fee8fc3c134.js → LabelvaluedescWidget-Bo8zT01X-e92f203c5cc5204caebd.js} +1 -1
  36. data/tools/admin/{LabelvaluelimitsbarWidget-CZueHYWG-ae89b48f0240d8c4b536.js → LabelvaluelimitsbarWidget-BucTw8Yk-ef66fe7faa51e1c7fc96.js} +1 -1
  37. data/tools/admin/LabelvaluelimitscolumnWidget-Dflb1hNd-bb82c73da598c7e933c6.js +1 -0
  38. data/tools/admin/{LabelvaluerangebarWidget-BhYTBgDq-7f89e5b9ff7b9b67c0f1.js → LabelvaluerangebarWidget-D8cbfXFM-92fab7f5051516ce528f.js} +1 -1
  39. data/tools/admin/{Layout-Bh7VzCZd-e80015c167b538416f2a.js → Layout-Tf--nruw-e15025d3ca9d03d87e1b.js} +1 -1
  40. data/tools/admin/LedWidget-qH_FthkK-a5e74d98a22307a883a8.js +1 -0
  41. data/tools/admin/{LimitsbarWidget-Djui0IpK-424433c6317281d1676d.js → LimitsbarWidget-B9lAB2RD-96157ffc116593888b48.js} +1 -1
  42. data/tools/admin/{LimitscolorWidget-DdmvKzmx-65f584394050c5139c9d.js → LimitscolorWidget-c6Qa6su7-c2b237b1468b716361cd.js} +1 -1
  43. data/tools/admin/{LimitscolumnWidget-Cc19IEjq-f2597f39e20f5fa18747.js → LimitscolumnWidget-CcLs_443-944fa38b9446f615b635.js} +1 -1
  44. data/tools/admin/LinegraphWidget-BSVYLFo1-27291b3efda84e682c36.js +1 -0
  45. data/tools/admin/{MatrixbycolumnsWidget-DnExVRF8-b4be1b437c0b336a1e23.js → MatrixbycolumnsWidget-DXFpZTre-1ca1fd46ec81aa27bdea.js} +1 -1
  46. data/tools/admin/{MicroservicesTab-IbTmbPxO-69cd3eeece33f36c8a8f.js → MicroservicesTab-mCdS0v39-72fa5667b8c938eb27e1.js} +1 -1
  47. data/tools/admin/OutputDialog-zVPZiZay-5273ae10027e2cc87949.js +1 -0
  48. data/tools/admin/{PackagesTab-BX8YP3H1-72f20ce8b559d7fcc13a.js → PackagesTab-SWcXumpK-e5ccc20003b13ccdbc6e.js} +1 -1
  49. data/tools/admin/{PluginsTab-Ds3jk64b-831383858209ff2c2d5e.js → PluginsTab-B64OvayB-be8b8a771af3d6802e37.js} +4 -4
  50. data/tools/admin/{ProgressbarWidget-DIfqhHRE-2775a9cde5a45b0de086.js → ProgressbarWidget-iYGw8-Dc-d9aad79edecffa90902a.js} +1 -1
  51. data/tools/admin/RadiobuttonWidget-ytmoVZ3u-3b94c9dfedbb30542025.js +1 -0
  52. data/tools/admin/{RadiogroupWidget-Ci9sCX39-e97afc1a22909e8b2b26.js → RadiogroupWidget-CusMBhKH-ee1c8dc1c59df58fd825.js} +1 -1
  53. data/tools/admin/{RangebarWidget-CN0YuHqy-e1cb05b7f6b1118dd2d0.js → RangebarWidget-D_zGTtCa-7d82a5779754daf85f09.js} +1 -1
  54. data/tools/admin/RedisTab-CyPo6ADN-aa1a495b5fb6171666f5.js +1 -0
  55. data/tools/admin/{RollupWidget-y4jBtJB2-bab638d154a5f2fd2c1e.js → RollupWidget-Dolsixyt-199f99293bbff747842b.js} +1 -1
  56. data/tools/admin/RoutersTab-Cs2dFVNA-aa50a4a447fca3f826bf.js +1 -0
  57. data/tools/admin/ScrollwindowWidget-DV2nZuNi-2918384639e5b480f5b0.js +1 -0
  58. data/tools/admin/{SecretsTab-BjviaTxh-33a36e028d57e1378d98.js → SecretsTab-DVyyyGlG-4344d670cf905ab60969.js} +1 -1
  59. data/tools/admin/SettingsTab-g29K6FyC-fc78aa7aefc9b0f48986.js +2 -0
  60. data/tools/admin/{SignalWidget-DQ5Uc2uV-1e83f917599853ee7901.js → SignalWidget-d9-6h85k-e129c862ab2e2862b245.js} +1 -1
  61. data/tools/admin/{SimpleTextDialog-CheuP_ls-d5f5a08e31cdf07b9a61.js → SimpleTextDialog-pwN8oRy1-2e2addd7ce31747515d9.js} +1 -1
  62. data/tools/admin/SpacerWidget-BH0p2OLi-b5ab05a35a2d859ed908.js +1 -0
  63. data/tools/admin/{SparklineWidget-CZtvu2ss-588212b5617f199fcd2e.js → SparklineWidget-coxi9r2g-8feb089ce863bd78d520.js} +1 -1
  64. data/tools/admin/TabbookWidget-B1XKplGH-73f77b706b86971b4ebc.js +1 -0
  65. data/tools/admin/{TargetsTab-Cd8U1aN_-968369f75aa684d02f9b.js → TargetsTab-BkBkXn9A-8425521e65f5456c008e.js} +1 -1
  66. data/tools/admin/TextboxWidget-C-_M2M4l-b9bef00f2cfe98fb3bf1.js +1 -0
  67. data/tools/admin/{TextfieldWidget-Df0ANSiU-766eb0d82b44a91ec200.js → TextfieldWidget-C08N4JE8-af5bb035574b2bdb1e55.js} +1 -1
  68. data/tools/admin/TimeWidget-DtwdEcFg-d89f9fbaa3072936e270.js +1 -0
  69. data/tools/admin/TitleWidget-CT-aLcNb-f3785ae131a4a7667761.js +1 -0
  70. data/tools/admin/{ToolsTab-Cgpb2nAW-5b5a3d23a36b0fdcce3c.js → ToolsTab-NveeVXz2-a2a58dfa69fac13c80e8.js} +2 -2
  71. data/tools/admin/{VWidget-C4spAawK-c884f9cea073da6d8ce9.js → VWidget-DQqb7NVW-878e082a9a9ab2278496.js} +1 -1
  72. data/tools/admin/ValueWidget-C6RanBj3-da5499cb68372d5227fc.js +1 -0
  73. data/tools/admin/ValuelimitsbarWidget-B3bvjfxc-fad1586e079efff45c2c.js +1 -0
  74. data/tools/admin/ValuelimitscolumnWidget-QvhI6EcE-b6e11e56e8ab9113b662.js +1 -0
  75. data/tools/admin/ValuerangebarWidget-Dt3K9BnC-4cb31018f254cafc9a8a.js +1 -0
  76. data/tools/admin/{VerticalWidget-D8jUFxjS-264cdd61b0515fa3092c.js → VerticalWidget-BIIViZgI-bbb379db718beaa2bc28.js} +1 -1
  77. data/tools/admin/VerticalboxWidget-DY72fLHW-69a1841223e1274653e7.js +1 -0
  78. data/tools/admin/{Widget-fRCERxGf-f53f0043a8d9f927971c.js → Widget-oyqWpFXJ-f34bf053b788271413fe.js} +1 -1
  79. data/tools/admin/main-fbb6d24d6c6c7aea815c.js +1508 -0
  80. data/tools/admin/main.js +1 -1
  81. metadata +81 -84
  82. data/tools/admin/BlockWidget-CuefOin6-b962c353c9f0eebc7117.js +0 -2
  83. data/tools/admin/CanvasdotWidget-6wuCSnw_-7a088d1c0dab274586f1.js +0 -1
  84. data/tools/admin/CanvaslabelWidget-CQZCeohU-e4296f8d11d95bf27acd.js +0 -1
  85. data/tools/admin/CanvaslineWidget-nTP3fJB4-9766cead6e6c429a7994.js +0 -1
  86. data/tools/admin/CheckbuttonWidget-5-8YDsQL-66299903b9cda3bd6623.js +0 -1
  87. data/tools/admin/ComboboxWidget-DzBL8h9f-f7b29907644dd0f506de.js +0 -1
  88. data/tools/admin/DateWidget-CW7Od7lB-adfa70f44dccea31a863.js +0 -1
  89. data/tools/admin/Graph-3rkhFP3G-6869b66611e6318604a7.js +0 -1
  90. data/tools/admin/HorizontalboxWidget-Br8dSVHD-d4aab2761ca77fa24390.js +0 -1
  91. data/tools/admin/HorizontallineWidget-CbxREBYI-ba4ec78147ff36e4335d.js +0 -1
  92. data/tools/admin/ImageviewerWidget-XrsqxmLo-9d5e7238e3c5ecd8748c.js +0 -1
  93. data/tools/admin/InterfacesTab-DAeNlGlB-e1c02697b38318186672.js +0 -1
  94. data/tools/admin/LabelledWidget-C7TDf92M-b20b3274d1d4e3403870.js +0 -1
  95. data/tools/admin/LabelprogressbarWidget-wwLURt1u-a3f647cb3382587c6885.js +0 -1
  96. data/tools/admin/LabelsparklineWidget-B3awLUyP-ef73c33807cdf20c1632.js +0 -1
  97. data/tools/admin/LabelvaluelimitscolumnWidget-BTvzyQMq-4ee9e762abc78c9e5e22.js +0 -1
  98. data/tools/admin/LedWidget-CxJjJBBS-956a4190d5e60484cfa9.js +0 -1
  99. data/tools/admin/LinegraphWidget-BtieJxeL-a423148ceca6c5ff74e5.js +0 -1
  100. data/tools/admin/OutputDialog-Ci5OT_fH-68240dca0ee2eb272d32.js +0 -1
  101. data/tools/admin/RadiobuttonWidget-QzIkNP7m-959594855f51f05f1572.js +0 -1
  102. data/tools/admin/RedisTab-CVimDkIE-975b87301f5a5bcafa9c.js +0 -1
  103. data/tools/admin/RoutersTab-Dki_66av-ce7a2a94f241858d86d6.js +0 -1
  104. data/tools/admin/ScrollwindowWidget-CBzYk4Y3-20a2b344d6594be94af9.js +0 -1
  105. data/tools/admin/SettingsTab-Bo_dYXgb-b0ac92a82847e85fa46f.js +0 -2
  106. data/tools/admin/SpacerWidget-6rsc_dSM-5d0821a4a5e5cc101d3a.js +0 -1
  107. data/tools/admin/TabbookWidget-DNALU0jl-cc4c87c03bc6b35b8920.js +0 -1
  108. data/tools/admin/TextboxWidget-5hqPj74D-603dfe11a4dc847120f1.js +0 -1
  109. data/tools/admin/TimeWidget-C6XQMUG2-3bd332a4cb0aac40e4ec.js +0 -1
  110. data/tools/admin/TitleWidget-B9SPUlbW-d60e09a2b1e080a21e01.js +0 -1
  111. data/tools/admin/ValueWidget-D4RrYVEK-c14156e71f8c70447418.js +0 -1
  112. data/tools/admin/ValuelimitsbarWidget-Bc9_Vj_f-5cefd3afaa0f3983b22f.js +0 -1
  113. data/tools/admin/ValuelimitscolumnWidget-DHKIL7sf-5f23f60b788a106ce9ac.js +0 -1
  114. data/tools/admin/ValuerangebarWidget-CecQRIok-c389d01eb001b34d9382.js +0 -1
  115. data/tools/admin/VerticalboxWidget-B4eGUSYH-8e7497fac1b85d79028a.js +0 -1
  116. data/tools/admin/main-89bee744bbd6e4811043.js +0 -1432
@@ -1 +1 @@
1
- System.register(["./Widget-fRCERxGf-f53f0043a8d9f927971c.js","./LabelWidget-t7I87dp7-152d5a9b96441cbd8510.js","./ValueWidget-D4RrYVEK-c14156e71f8c70447418.js","./main-89bee744bbd6e4811043.js","vue","vue-router","single-spa","vuex","vuetify","./DetailsDialog-BvbziA7Y-ee21a12298c291aba619.js","./VWidget-C4spAawK-c884f9cea073da6d8ce9.js"],function(d,w){"use strict";var n,a,i,l,u,s,m,o,c,r,p;return{setters:[e=>{n=e.o},e=>{a=e.default},e=>{i=e.default},e=>{l=e.s,u=e.O},e=>{s=e.resolveComponent,m=e.createElementBlock,o=e.openBlock,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:a,ValueWidget:i},computed:{labelName(){return[this.description]}},created(){this.valueParameters=this.parameters.slice(0,3),this.parameters[4]!=null&&this.valueParameters.push(this.parameters[4]),this.parameters[5]!=null&&this.valueParameters.push(this.parameters[5]),this.parameters.length>3?this.description=this.parameters[3]:new 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 o(),m("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
+ System.register(["./Widget-oyqWpFXJ-f34bf053b788271413fe.js","./LabelWidget-xrmcVeq8-894f83570ba8b552e75c.js","./ValueWidget-C6RanBj3-da5499cb68372d5227fc.js","./main-fbb6d24d6c6c7aea815c.js","vue","vue-router","single-spa","vuex","vuetify","./DetailsDialog-DmEC5BTs-f202c65b40d62e0a0258.js","./VWidget-DQqb7NVW-878e082a9a9ab2278496.js"],function(d,x){"use strict";var n,a,i,l,u,s,m,o,c,r,p;return{setters:[e=>{n=e.o},e=>{a=e.default},e=>{i=e.default},e=>{l=e.d,u=e.F},e=>{s=e.resolveComponent,m=e.createElementBlock,o=e.openBlock,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:a,ValueWidget:i},computed:{labelName(){return[this.description]}},created(){this.valueParameters=this.parameters.slice(0,3),this.parameters[4]!=null&&this.valueParameters.push(this.parameters[4]),this.parameters[5]!=null&&this.valueParameters.push(this.parameters[5]),this.parameters.length>3?this.description=this.parameters[3]:new u().get_item(this.parameters[0],this.parameters[1],this.parameters[2]).then(t=>{this.description=t.description})}};function g(t,V,W,j,h,v){const b=s("label-widget"),f=s("value-widget");return o(),m("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 P=d("default",l(e,[["render",g]]))}}});
@@ -1 +1 @@
1
- System.register(["./LabelvalueWidget-Zx_yHCtl-381f386667d56a433fb9.js","./LimitsbarWidget-Djui0IpK-424433c6317281d1676d.js","./Widget-fRCERxGf-f53f0043a8d9f927971c.js","vue","./main-89bee744bbd6e4811043.js","./LabelWidget-t7I87dp7-152d5a9b96441cbd8510.js","vue-router","single-spa","vuex","vuetify","./ValueWidget-D4RrYVEK-c14156e71f8c70447418.js","./DetailsDialog-BvbziA7Y-ee21a12298c291aba619.js","./VWidget-C4spAawK-c884f9cea073da6d8ce9.js","./BarColumn-C9dkpg2O-e489648e1026c2be35d5.js"],function(m,b){"use strict";var r,i,a,s,u,o,c,l,n,g;return{setters:[e=>{r=e.default},e=>{i=e.default},e=>{a=e.o},e=>{s=e.resolveComponent,u=e.createElementBlock,o=e.openBlock,c=e.normalizeStyle,l=e.createVNode,n=e.mergeProps},e=>{g=e.s},null,null,null,null,null,null,null,null,null],execute:function(){const e={mixins:[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,S,V,x,y,d){const v=s("labelvalue-widget"),f=s("limitsbar-widget");return o(),u("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 j=m("default",g(e,[["render",p]]))}}});
1
+ System.register(["./LabelvalueWidget-CQ06wWDK-330aee93b235b971e95c.js","./LimitsbarWidget-B9lAB2RD-96157ffc116593888b48.js","./Widget-oyqWpFXJ-f34bf053b788271413fe.js","vue","./main-fbb6d24d6c6c7aea815c.js","./LabelWidget-xrmcVeq8-894f83570ba8b552e75c.js","vue-router","single-spa","vuex","vuetify","./ValueWidget-C6RanBj3-da5499cb68372d5227fc.js","./DetailsDialog-DmEC5BTs-f202c65b40d62e0a0258.js","./VWidget-DQqb7NVW-878e082a9a9ab2278496.js","./BarColumn-C6p07yWK-7ae551032c38dd002d95.js"],function(g,f){"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.createElementBlock,o=e.openBlock,c=e.normalizeStyle,l=e.createVNode,n=e.mergeProps},e=>{m=e.d},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,S,V,y,d){const v=s("labelvalue-widget"),b=s("limitsbar-widget");return o(),u("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(b,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 W=g("default",m(e,[["render",p]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./LabelWidget-xrmcVeq8-894f83570ba8b552e75c.js","./ValueWidget-C6RanBj3-da5499cb68372d5227fc.js","./LimitscolumnWidget-CcLs_443-944fa38b9446f615b635.js","./Widget-oyqWpFXJ-f34bf053b788271413fe.js","vue","./main-fbb6d24d6c6c7aea815c.js","vue-router","single-spa","vuex","vuetify","./DetailsDialog-DmEC5BTs-f202c65b40d62e0a0258.js","./VWidget-DQqb7NVW-878e082a9a9ab2278496.js","./BarColumn-C6p07yWK-7ae551032c38dd002d95.js"],function(d,j){"use strict";var r,i,a,u,n,o,c,m,s,l,g;return{setters:[e=>{r=e.default},e=>{i=e.default},e=>{a=e.default},e=>{u=e.o},e=>{n=e.resolveComponent,o=e.createElementBlock,c=e.openBlock,m=e.normalizeStyle,s=e.createVNode,l=e.mergeProps},e=>{g=e.d},null,null,null,null,null,null,null],execute:function(){const e={mixins:[u],components:{LabelWidget:r,ValueWidget:i,LimitscolumnWidget:a}};function p(t,V,b,w,y,x){const v=n("label-widget"),W=n("limitscolumn-widget"),f=n("value-widget");return c(),o("div",{ref:"container",style:m(t.computedStyle)},[s(v,{parameters:[t.parameters[2]],settings:[...t.appliedSettings],"widget-index":0},null,8,["parameters","settings"]),s(W,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"]),s(f,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 S=d("default",g(e,[["render",p]]))}}});
@@ -1 +1 @@
1
- System.register(["./LabelvalueWidget-Zx_yHCtl-381f386667d56a433fb9.js","./RangebarWidget-CN0YuHqy-e1cb05b7f6b1118dd2d0.js","./Widget-fRCERxGf-f53f0043a8d9f927971c.js","vue","./main-89bee744bbd6e4811043.js","./LabelWidget-t7I87dp7-152d5a9b96441cbd8510.js","vue-router","single-spa","vuex","vuetify","./ValueWidget-D4RrYVEK-c14156e71f8c70447418.js","./DetailsDialog-BvbziA7Y-ee21a12298c291aba619.js","./VWidget-C4spAawK-c884f9cea073da6d8ce9.js"],function(g,h){"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.createElementBlock,o=e.openBlock,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,j,x,y,n){const v=s("labelvalue-widget"),f=s("rangebar-widget");return o(),m("div",{ref:"container",class:"d-flex flex-row",style:p(t.computedStyle)},[r(v,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(f,a(t.$attrs,{parameters:n.rangeBarParameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"widget-index":2}),null,16,["parameters","settings","screen-values"])],4)}const b=g("default",c(e,[["render",d]]))}}});
1
+ System.register(["./LabelvalueWidget-CQ06wWDK-330aee93b235b971e95c.js","./RangebarWidget-D_zGTtCa-7d82a5779754daf85f09.js","./Widget-oyqWpFXJ-f34bf053b788271413fe.js","vue","./main-fbb6d24d6c6c7aea815c.js","./LabelWidget-xrmcVeq8-894f83570ba8b552e75c.js","vue-router","single-spa","vuex","vuetify","./ValueWidget-C6RanBj3-da5499cb68372d5227fc.js","./DetailsDialog-DmEC5BTs-f202c65b40d62e0a0258.js","./VWidget-DQqb7NVW-878e082a9a9ab2278496.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.createElementBlock,o=e.openBlock,p=e.normalizeStyle,r=e.createVNode,a=e.mergeProps},e=>{c=e.d},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 o(),m("div",{ref:"container",class:"d-flex flex-row",style:p(t.computedStyle)},[r(h,a(t.$attrs,{parameters:n.labelValueParameters,settings:n.labelValueSettings,"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone}),null,16,["parameters","settings","screen-values","screen-time-zone"]),r(v,a(t.$attrs,{parameters:n.rangeBarParameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"widget-index":2}),null,16,["parameters","settings","screen-values"])],4)}const b=g("default",c(e,[["render",d]]))}}});
@@ -1 +1 @@
1
- System.register(["./Widget-fRCERxGf-f53f0043a8d9f927971c.js"],function(r,s){"use strict";var e;return{setters:[t=>{e=t.o}],execute:function(){const t=r("r",{mixins:[e],props:{widgets:{type:Array,default:()=>[]}}})}}});
1
+ System.register(["./Widget-oyqWpFXJ-f34bf053b788271413fe.js"],function(r,s){"use strict";var e;return{setters:[t=>{e=t.o}],execute:function(){const t=r("r",{mixins:[e],props:{widgets:{type:Array,default:()=>[]}}})}}});
@@ -0,0 +1 @@
1
+ System.register(["./main-fbb6d24d6c6c7aea815c.js","vue","./DetailsDialog-DmEC5BTs-f202c65b40d62e0a0258.js","single-spa","./Widget-oyqWpFXJ-f34bf053b788271413fe.js","vue-router","vuex","vuetify"],function(_,T){"use strict";var d,n,h,c,l,i,p,u,v,g,w,x,f,C,D,I;return{setters:[e=>{d=e.d},e=>{n=e.resolveComponent,h=e.createElementBlock,c=e.openBlock,l=e.createVNode,i=e.withCtx,p=e.createElementVNode,u=e.toDisplayString,v=e.mergeProps,g=e.Fragment,w=e.renderList,x=e.createBlock,f=e.withModifiers,C=e.createTextVNode},e=>{D=e.P},null,e=>{I=e.o},null,null,null],execute:function(){const e={components:{DetailsDialog:D},mixins:[I],data(){return{valueId:null,colors:{TRUE:"openc3-green",FALSE:"openc3-red"},viewDetails:!1,contextMenuShown:!1,x:0,y:0,contextMenuOptions:[{title:"Details",action:()=>{this.contextMenuShown=!1,this.viewDetails=!0}},{title:"Graph",action:()=>{window.open("/tools/tlmgrapher/"+encodeURIComponent(this.parameters[0])+"/"+encodeURIComponent(this.parameters[1])+"/"+encodeURIComponent(this.parameters[2]),"_blank")}}]}},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]},getClass(){let t="ledwidget mt-2";return this.screenValues[this.valueId][1]==="STALE"&&(t+=" stale"),t}},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)},methods:{showContextMenu(t){t.preventDefault(),this.contextMenuShown=!1,this.x=t.clientX,this.y=t.clientY,this.$nextTick(()=>{this.contextMenuShown=!0})}}};function k(t,s,$,L,r,o){const S=n("v-tooltip"),V=n("v-list-item-title"),E=n("v-list-item"),y=n("v-list"),M=n("v-menu"),N=n("details-dialog");return c(),h("div",null,[l(S,{location:"top"},{activator:i(({props:a})=>[p("div",v({class:o.getClass,style:[o.cssProps,t.computedStyle]},a,{onContextmenu:s[0]||(s[0]=(...m)=>o.showContextMenu&&o.showContextMenu(...m))}),null,16)]),default:i(()=>[p("span",null,u(o.fullName),1)]),_:1}),l(M,{modelValue:r.contextMenuShown,"onUpdate:modelValue":s[1]||(s[1]=a=>r.contextMenuShown=a),target:[r.x,r.y],style:{"z-index":"3000"}},{default:i(()=>[l(y,null,{default:i(()=>[(c(!0),h(g,null,w(r.contextMenuOptions,(a,m)=>(c(),x(E,{key:m,onClick:f(a.action,["stop"])},{default:i(()=>[l(V,null,{default:i(()=>[C(u(a.title),1)]),_:2},1024)]),_:2},1032,["onClick"]))),128))]),_:1})]),_:1},8,["modelValue","target"]),l(N,{"target-name":t.parameters[0],"packet-name":t.parameters[1],"item-name":t.parameters[2],modelValue:r.viewDetails,"onUpdate:modelValue":s[2]||(s[2]=a=>r.viewDetails=a)},null,8,["target-name","packet-name","item-name","modelValue"])])}const B=_("default",d(e,[["render",k],["__scopeId","data-v-a468dd16"]]))}}});
@@ -1 +1 @@
1
- System.register(["./BarColumn-C9dkpg2O-e489648e1026c2be35d5.js","vue","./main-89bee744bbd6e4811043.js","./Widget-fRCERxGf-f53f0043a8d9f927971c.js","vue-router","single-spa","vuex","vuetify"],function(d,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.createBlock,n=i.openBlock,s=i.withCtx,t=i.createElementVNode,o=i.toDisplayString,c=i.mergeProps},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 v(e,u,w,I,R,_){const g=r("v-tooltip");return n(),a(g,{location:"top"},{activator:s(({props:h})=>[t("div",c({class:"limitsbar",style:[e.cssProps,e.computedStyle]},h),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,o(_.limitsRange),1)]),_:1})}const b=d("default",m(i,[["render",v],["__scopeId","data-v-de501268"]]))}}});
1
+ System.register(["./BarColumn-C6p07yWK-7ae551032c38dd002d95.js","vue","./main-fbb6d24d6c6c7aea815c.js","./Widget-oyqWpFXJ-f34bf053b788271413fe.js","vue-router","single-spa","vuex","vuetify"],function(u,g){"use strict";var l,r,a,n,s,t,o,c,m;return{setters:[i=>{l=i.l},i=>{r=i.resolveComponent,a=i.createBlock,n=i.openBlock,s=i.withCtx,t=i.createElementVNode,o=i.toDisplayString,c=i.mergeProps},i=>{m=i.d},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 v(e,d,y,w,I,_){const h=r("v-tooltip");return n(),a(h,{location:"top"},{activator:s(({props:p})=>[t("div",c({class:"limitsbar",style:[e.cssProps,e.computedStyle]},p),d[0]||(d[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,o(_.limitsRange),1)]),_:1})}const b=u("default",m(i,[["render",v],["__scopeId","data-v-de501268"]]))}}});
@@ -1 +1 @@
1
- System.register(["./VWidget-C4spAawK-c884f9cea073da6d8ce9.js","vue","./main-89bee744bbd6e4811043.js","./Widget-fRCERxGf-f53f0043a8d9f927971c.js","vue-router","single-spa","vuex","vuetify"],function(d,C){"use strict";var l,i,n,a,s,o,p,m,u,c;return{setters:[e=>{l=e.L},e=>{i=e.resolveComponent,n=e.createElementBlock,a=e.openBlock,s=e.normalizeStyle,o=e.createElementVNode,p=e.createBlock,m=e.createCommentVNode,u=e.normalizeClass},e=>{c=e.s},null,null,null,null,null],execute:function(){const e={mixins:[l],data(){return{radius:15,fullLabelDisplay:!1,displayLabel:!0}},created(){this.parameters[4]&&(this.radius=parseInt(this.parameters[4])),this.parameters[5]&&(this.parameters[5].toLowerCase()==="true"?this.fullLabelDisplay=!0:this.parameters[5].toLowerCase()==="nil"?this.displayLabel=!1:this.parameters[5].toLowerCase()==="none"&&(this.displayLabel=!1))},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"}},myComputedStyle(){return delete this.computedStyle.flex,this.computedStyle}},methods:{getType(){let t="CONVERTED";return this.parameters[3]&&(t=this.parameters[3]),t}}};function h(t,g,L,v,y,r){const f=i("label-widget");return a(),n("div",{ref:"container",class:"d-flex flex-row",style:s(r.myComputedStyle)},[o("div",{class:u(`led align-self-center ${this.limitsColor}`),style:s(r.cssProps)},null,6),y.displayLabel?(a(),p(f,{key:0,parameters:r.labelName,settings:t.appliedSettings,style:s(t.computedStyle),"widget-index":1},null,8,["parameters","settings","style"])):m("",!0)],4)}const b=d("default",c(e,[["render",h],["__scopeId","data-v-b106d59f"]]))}}});
1
+ System.register(["./VWidget-DQqb7NVW-878e082a9a9ab2278496.js","vue","./main-fbb6d24d6c6c7aea815c.js","./Widget-oyqWpFXJ-f34bf053b788271413fe.js","vue-router","single-spa","vuex","vuetify"],function(d,b){"use strict";var l,i,n,a,s,o,p,m,u,c;return{setters:[e=>{l=e.L},e=>{i=e.resolveComponent,n=e.createElementBlock,a=e.openBlock,s=e.normalizeStyle,o=e.createElementVNode,p=e.createBlock,m=e.createCommentVNode,u=e.normalizeClass},e=>{c=e.d},null,null,null,null,null],execute:function(){const e={mixins:[l],data(){return{radius:15,fullLabelDisplay:!1,displayLabel:!0}},created(){this.parameters[4]&&(this.radius=parseInt(this.parameters[4])),this.parameters[5]&&(this.parameters[5].toLowerCase()==="true"?this.fullLabelDisplay=!0:this.parameters[5].toLowerCase()==="nil"?this.displayLabel=!1:this.parameters[5].toLowerCase()==="none"&&(this.displayLabel=!1))},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"}},myComputedStyle(){return delete this.computedStyle.flex,this.computedStyle}},methods:{getType(){let t="CONVERTED";return this.parameters[3]&&(t=this.parameters[3]),t}}};function h(t,g,L,v,y,r){const f=i("label-widget");return a(),n("div",{ref:"container",class:"d-flex flex-row",style:s(r.myComputedStyle)},[o("div",{class:u(`led align-self-center ${this.limitsColor}`),style:s(r.cssProps)},null,6),y.displayLabel?(a(),p(f,{key:0,parameters:r.labelName,settings:t.appliedSettings,style:s(t.computedStyle),"widget-index":1},null,8,["parameters","settings","style"])):m("",!0)],4)}const C=d("default",c(e,[["render",h],["__scopeId","data-v-b106d59f"]]))}}});
@@ -1 +1 @@
1
- System.register(["./BarColumn-C9dkpg2O-e489648e1026c2be35d5.js","vue","./main-89bee744bbd6e4811043.js","./Widget-fRCERxGf-f53f0043a8d9f927971c.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.createElementBlock,l=i.openBlock,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 l(),s("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
+ System.register(["./BarColumn-C6p07yWK-7ae551032c38dd002d95.js","vue","./main-fbb6d24d6c6c7aea815c.js","./Widget-oyqWpFXJ-f34bf053b788271413fe.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.createElementBlock,l=i.openBlock,r=i.normalizeStyle,h=i.createStaticVNode},i=>{d=i.d},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 l(),s("div",{class:"limitsbar",style:r([c.cssProps,e.computedStyle])},t[0]||(t[0]=[h('<div class="limitsbar__container" data-v-a4a8f4ab><div class="limitsbar__redlow" data-v-a4a8f4ab></div><div class="limitsbar__redhigh" data-v-a4a8f4ab></div><div class="limitsbar__yellowlow" data-v-a4a8f4ab></div><div class="limitsbar__yellowhigh" data-v-a4a8f4ab></div><div class="limitsbar__greenlow" data-v-a4a8f4ab></div><div class="limitsbar__greenhigh" data-v-a4a8f4ab></div><div class="limitsbar__blue" data-v-a4a8f4ab></div><div class="limitsbar__line" data-v-a4a8f4ab></div><div class="limitsbar__arrow" data-v-a4a8f4ab></div></div>',1)]),4)}const m=n("default",d(i,[["render",o],["__scopeId","data-v-a4a8f4ab"]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./GraphWidget-DurWDmpg-ebee4b7d87defdaf5d8f.js","./main-fbb6d24d6c6c7aea815c.js","vue","./Graph-Bgo0cjl3-b73fb6638f6aac6b1a30.js","single-spa","./Widget-oyqWpFXJ-f34bf053b788271413fe.js","vue-router","vuex","vuetify"],function(p,u){"use strict";var s,n,r,o,a,d,l;return{setters:[t=>{s=t._},t=>{n=t.d},t=>{r=t.resolveComponent,o=t.createBlock,a=t.openBlock,d=t.normalizeStyle},t=>{l=t.S},null,null,null,null,null],execute:function(){const t={components:{Graph:l},mixins:[s]};function h(e,i,m,v,y,S){const c=r("graph");return a(),o(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:i[0]||(i[0]=()=>e.state="pause"),onStart:i[1]||(i[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 g=p("default",n(t,[["render",h]]))}}});
@@ -1 +1 @@
1
- System.register(["./Layout-Bh7VzCZd-e80015c167b538416f2a.js","./main-89bee744bbd6e4811043.js","vue","./Widget-fRCERxGf-f53f0043a8d9f927971c.js","vue-router","single-spa","vuex","vuetify"],function(h,B){"use strict";var c,o,m,r,n,g,l,a,p,d,f;return{setters:[e=>{c=e.r},e=>{o=e.s,m=e.T},e=>{r=e.createElementBlock,n=e.openBlock,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 y(s,u,i,R,z,k){return n(),r("table",{style:g(s.computedStyle),role:"presentation"},[(n(!0),r(l,null,a(k.widgetChunks,(v,C)=>(n(),r("tr",{key:"r"+C},[(n(!0),r(l,null,a(v,(t,w)=>(n(),r("td",{key:"c"+w},[(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=h("default",o(e,[["render",y]]))}}});
1
+ System.register(["./Layout-Tf--nruw-e15025d3ca9d03d87e1b.js","./main-fbb6d24d6c6c7aea815c.js","vue","./Widget-oyqWpFXJ-f34bf053b788271413fe.js","vue-router","single-spa","vuex","vuetify"],function(f,B){"use strict";var c,o,m,r,n,g,l,a,p,d,y;return{setters:[e=>{c=e.r},e=>{o=e.d,m=e.e},e=>{r=e.createElementBlock,n=e.openBlock,g=e.normalizeStyle,l=e.Fragment,a=e.renderList,p=e.createBlock,d=e.resolveDynamicComponent,y=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,z,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),y({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 C=f("default",o(e,[["render",h]]))}}});
@@ -1 +1 @@
1
- System.register(["./main-89bee744bbd6e4811043.js","vue","single-spa","./OutputDialog-Ci5OT_fH-68240dca0ee2eb272d32.js","vue-router","vuex","vuetify"],function(F,Y){"use strict";var D,f,U,B,i,y,p,t,r,c,m,O,L,u,C,V,P,H,I,k,J,b,R;return{setters:[a=>{D=a.s,f=a.E,U=a.p,B=a.l},a=>{i=a.resolveComponent,y=a.createBlock,p=a.openBlock,t=a.withCtx,r=a.createVNode,c=a.createElementVNode,m=a.toDisplayString,O=a.normalizeProps,L=a.guardReactiveProps,u=a.createTextVNode,C=a.createElementBlock,V=a.createCommentVNode,P=a.Fragment,H=a.renderList,I=a.withDirectives,k=a.mergeProps,J=a.vShow,b=a.toHandlers},null,a=>{R=a.J},null,null,null],execute:function(){const a={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()}}},q={class:"mx-2"},G={class:"pa-2"};function K(o,e,d,h,s,n){const T=i("v-spacer"),E=i("v-icon"),M=i("v-tooltip"),_=i("v-toolbar"),g=i("v-textarea"),S=i("v-card-text"),A=i("v-btn"),N=i("v-card-actions"),$=i("v-card"),j=i("v-dialog");return p(),y(j,{modelValue:n.show,"onUpdate:modelValue":e[2]||(e[2]=v=>n.show=v),width:"600"},{default:t(()=>[r($,null,{default:t(()=>[r(_,{height:"24"},{default:t(()=>[r(T),c("span",null,m(d.title),1),r(T),c("div",q,[r(M,{location:"top"},{activator:t(({props:v})=>[c("div",O(L(v)),[r(E,{"data-test":"downloadIcon",onClick:n.download},{default:t(()=>e[3]||(e[3]=[u(" mdi-download ")])),_:1},8,["onClick"])],16)]),default:t(()=>[e[4]||(e[4]=c("span",null," Download ",-1))]),_:1})])]),_:1}),c("div",G,[r(S,null,{default:t(()=>[r(g,{modelValue:n.dialogText,"onUpdate:modelValue":e[0]||(e[0]=v=>n.dialogText=v),readonly:"",rows:"15","data-test":"dialogText"},null,8,["modelValue"])]),_:1})]),r(N,{class:"px-2"},{default:t(()=>[r(T),r(A,{variant:"flat",onClick:e[1]||(e[1]=v=>n.show=!n.show)},{default:t(()=>e[5]||(e[5]=[u(" Ok ")])),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue"])}const Q={components:{OutputDialog:R,TextBoxDialog:D(a,[["render",K]])},data(){return{microservices:[],microservice_status:{},microservice_id:null,jsonContent:"",dialogTitle:"",showDialog:!1,showError:!1,alert:"",alertType:"success",showAlert:!1,updater:null}},mounted(){this.update(),this.updater=setInterval(()=>{this.update()},2e3)},beforeUnmount(){clearInterval(this.updater),this.updater=null},methods:{update:function(){f.get("/openc3-api/microservice_status/all").then(o=>{this.microservice_status=o.data}),f.get("/openc3-api/microservices/all").then(o=>{let e=[];for(const[d,h]of Object.entries(o.data))e.push(h);e.sort((d,h)=>d.name.localeCompare(h.name)),this.microservices=e})},startMicroservice:function(o){this.$dialog.confirm(`Are you sure you want to restart microservice: ${o}?`,{okText:"Start",cancelText:"Cancel"}).then(e=>{f.post(`/openc3-api/microservices/${o}/start`).then(d=>{this.alert=`Started ${o}`,this.alertType="success",this.showAlert=!0,setTimeout(()=>{this.showAlert=!1},5e3)}).then(()=>{this.update()})})},stopMicroservice:function(o){this.$dialog.confirm(`Are you sure you want to stop microservice: ${o}?`,{okText:"Stop",cancelText:"Cancel"}).then(e=>{f.post(`/openc3-api/microservices/${o}/stop`).then(d=>{this.alert=`Stopped ${o}`,this.alertType="success",this.showAlert=!0,setTimeout(()=>{this.showAlert=!1},5e3)}).then(()=>{this.update()})})},showMicroservice:function(o){f.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 U(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),d="put",h=`/openc3-api/microservices/${this.microservice_id}`;e.name!==this.microservice_id&&(d="post",h="/openc3-api/microservices"),f[d](h,{data:{json:o}}).then(s=>{this.alert="Modified Microservice",this.alertType="success",this.showAlert=!0,setTimeout(()=>{this.showAlert=!1},5e3),this.update()})}}}},W={key:0};function X(o,e,d,h,s,n){const T=i("v-alert"),E=i("v-list-item-title"),M=i("v-list-item-subtitle"),_=i("v-icon"),g=i("v-tooltip"),S=i("v-list-item-icon"),A=i("v-list-item"),N=i("v-divider"),$=i("v-list"),j=i("output-dialog"),v=i("text-box-dialog");return p(),C("div",null,[r(T,{modelValue:s.showAlert,"onUpdate:modelValue":e[0]||(e[0]=l=>s.showAlert=l),dismissible:"",transition:"scale-transition",type:s.alertType},{default:t(()=>[u(m(s.alert),1)]),_:1},8,["modelValue","type"]),r($,{class:"list","data-test":"microserviceList"},{default:t(()=>[(p(!0),C(P,null,H(s.microservices,l=>(p(),C("div",{key:l},[r(A,null,{append:t(()=>[s.microservice_status[l.name]?(p(),C("div",W,[I(c("div",null,[r(g,{location:"top"},{activator:t(({props:w})=>[r(_,k({ref_for:!0},w,{onClick:x=>n.showMicroserviceError(l.name)}),{default:t(()=>e[3]||(e[3]=[u(" mdi-alert ")])),_:2},1040,["onClick"])]),default:t(()=>[e[4]||(e[4]=c("span",null,"View Error",-1))]),_:2},1024)],512),[[J,!!s.microservice_status[l.name].error]])])):V("",!0),r(S,{class:"mr-3"},{default:t(()=>[r(g,{bottom:""},{activator:t(({on:w,attrs:x})=>[r(_,k({onClick:z=>n.startMicroservice(l.name),ref_for:!0},x,b(w)),{default:t(()=>e[5]||(e[5]=[u(" mdi-play ")])),_:2},1040,["onClick"])]),default:t(()=>[e[6]||(e[6]=c("span",null,"Start Microservice",-1))]),_:2},1024)]),_:2},1024),r(S,{class:"mr-3"},{default:t(()=>[r(g,{bottom:""},{activator:t(({on:w,attrs:x})=>[r(_,k({onClick:z=>n.stopMicroservice(l.name),ref_for:!0},x,b(w)),{default:t(()=>e[7]||(e[7]=[u(" mdi-stop ")])),_:2},1040,["onClick"])]),default:t(()=>[e[8]||(e[8]=c("span",null,"Stop Microservice",-1))]),_:2},1024)]),_:2},1024),r(S,null,{default:t(()=>[r(g,{bottom:""},{activator:t(({on:w,attrs:x})=>[r(_,k({onClick:z=>n.showMicroservice(l.name),ref_for:!0},x,b(w)),{default:t(()=>e[9]||(e[9]=[u(" mdi-eye ")])),_:2},1040,["onClick"])]),default:t(()=>[e[10]||(e[10]=c("span",null,"View Microservice",-1))]),_:2},1024)]),_:2},1024)]),default:t(()=>[r(E,null,{default:t(()=>[u(m(l.name),1)]),_:2},1024),s.microservice_status[l.name]?(p(),y(M,{key:0},{default:t(()=>[u(" Updated: "+m(n.formatDate(s.microservice_status[l.name].updated_at))+", State: "+m(s.microservice_status[l.name].state)+", Enabled: "+m(l.enabled===!1?"False":"True")+", Count: "+m(s.microservice_status[l.name].count),1)]),_:2},1024)):V("",!0)]),_:2},1024),r(N)]))),128))]),_:1}),s.showDialog?(p(),y(j,{key:0,modelValue:s.showDialog,"onUpdate:modelValue":e[1]||(e[1]=l=>s.showDialog=l),content:s.jsonContent,type:"Microservice",name:s.dialogTitle,onSubmit:n.dialogCallback},null,8,["modelValue","content","name","onSubmit"])):V("",!0),s.showError?(p(),y(v,{key:1,modelValue:s.showError,"onUpdate:modelValue":e[2]||(e[2]=l=>s.showError=l),text:s.jsonContent,title:s.dialogTitle},null,8,["modelValue","text","title"])):V("",!0)])}const ee=F("default",D(Q,[["render",X],["__scopeId","data-v-e31c4466"]]))}}});
1
+ System.register(["./main-fbb6d24d6c6c7aea815c.js","vue","single-spa","./OutputDialog-zVPZiZay-5273ae10027e2cc87949.js","vue-router","vuex","vuetify"],function(F,X){"use strict";var D,f,O,U,i,y,p,t,a,c,m,B,L,u,V,C,P,I,J,k,R,b,z;return{setters:[r=>{D=r.d,f=r.O,O=r.p,U=r.l},r=>{i=r.resolveComponent,y=r.createBlock,p=r.openBlock,t=r.withCtx,a=r.createVNode,c=r.createElementVNode,m=r.toDisplayString,B=r.normalizeProps,L=r.guardReactiveProps,u=r.createTextVNode,V=r.createElementBlock,C=r.createCommentVNode,P=r.Fragment,I=r.renderList,J=r.withDirectives,k=r.mergeProps,R=r.vShow,b=r.toHandlers},null,r=>{z=r.J},null,null,null],execute:function(){const r={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()}}},Z={class:"mx-2"},q={class:"pa-2"};function G(o,e,d,h,s,n){const T=i("v-spacer"),M=i("v-icon"),E=i("v-tooltip"),_=i("v-toolbar"),g=i("v-textarea"),S=i("v-card-text"),A=i("v-btn"),N=i("v-card-actions"),$=i("v-card"),j=i("v-dialog");return p(),y(j,{modelValue:n.show,"onUpdate:modelValue":e[2]||(e[2]=v=>n.show=v),width:"600"},{default:t(()=>[a($,null,{default:t(()=>[a(_,{height:"24"},{default:t(()=>[a(T),c("span",null,m(d.title),1),a(T),c("div",Z,[a(E,{location:"top"},{activator:t(({props:v})=>[c("div",B(L(v)),[a(M,{"data-test":"downloadIcon",onClick:n.download},{default:t(()=>e[3]||(e[3]=[u(" mdi-download ")])),_:1},8,["onClick"])],16)]),default:t(()=>[e[4]||(e[4]=c("span",null," Download ",-1))]),_:1})])]),_:1}),c("div",q,[a(S,null,{default:t(()=>[a(g,{modelValue:n.dialogText,"onUpdate:modelValue":e[0]||(e[0]=v=>n.dialogText=v),readonly:"",rows:"15","data-test":"dialogText"},null,8,["modelValue"])]),_:1})]),a(N,{class:"px-2"},{default:t(()=>[a(T),a(A,{variant:"flat",onClick:e[1]||(e[1]=v=>n.show=!n.show)},{default:t(()=>e[5]||(e[5]=[u(" Ok ")])),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue"])}const K={components:{OutputDialog:z,TextBoxDialog:D(r,[["render",G]])},data(){return{microservices:[],microservice_status:{},microservice_id:null,jsonContent:"",dialogTitle:"",showDialog:!1,showError:!1,alert:"",alertType:"success",showAlert:!1,updater:null}},mounted(){this.update(),this.updater=setInterval(()=>{this.update()},2e3)},beforeUnmount(){clearInterval(this.updater),this.updater=null},methods:{update:function(){f.get("/openc3-api/microservice_status/all").then(o=>{this.microservice_status=o.data}),f.get("/openc3-api/microservices/all").then(o=>{let e=[];for(const[d,h]of Object.entries(o.data))e.push(h);e.sort((d,h)=>d.name.localeCompare(h.name)),this.microservices=e})},startMicroservice:function(o){this.$dialog.confirm(`Are you sure you want to restart microservice: ${o}?`,{okText:"Start",cancelText:"Cancel"}).then(e=>{f.post(`/openc3-api/microservices/${o}/start`).then(d=>{this.alert=`Started ${o}`,this.alertType="success",this.showAlert=!0,setTimeout(()=>{this.showAlert=!1},5e3)}).then(()=>{this.update()})})},stopMicroservice:function(o){this.$dialog.confirm(`Are you sure you want to stop microservice: ${o}?`,{okText:"Stop",cancelText:"Cancel"}).then(e=>{f.post(`/openc3-api/microservices/${o}/stop`).then(d=>{this.alert=`Stopped ${o}`,this.alertType="success",this.showAlert=!0,setTimeout(()=>{this.showAlert=!1},5e3)}).then(()=>{this.update()})})},showMicroservice:function(o){f.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 O(U(parseInt(o)/1e6),"yyyy-MM-dd HH:mm:ss.SSS")},dialogCallback:function(o){if(this.showDialog=!1,o!==null){let e=JSON.parse(o),d="put",h=`/openc3-api/microservices/${this.microservice_id}`;e.name!==this.microservice_id&&(d="post",h="/openc3-api/microservices"),f[d](h,{data:{json:o}}).then(s=>{this.alert="Modified Microservice",this.alertType="success",this.showAlert=!0,setTimeout(()=>{this.showAlert=!1},5e3),this.update()})}}}},Q={key:0};function W(o,e,d,h,s,n){const T=i("v-alert"),M=i("v-list-item-title"),E=i("v-list-item-subtitle"),_=i("v-icon"),g=i("v-tooltip"),S=i("v-list-item-icon"),A=i("v-list-item"),N=i("v-divider"),$=i("v-list"),j=i("output-dialog"),v=i("text-box-dialog");return p(),V("div",null,[a(T,{modelValue:s.showAlert,"onUpdate:modelValue":e[0]||(e[0]=l=>s.showAlert=l),dismissible:"",transition:"scale-transition",type:s.alertType},{default:t(()=>[u(m(s.alert),1)]),_:1},8,["modelValue","type"]),a($,{class:"list","data-test":"microserviceList"},{default:t(()=>[(p(!0),V(P,null,I(s.microservices,l=>(p(),V("div",{key:l},[a(A,null,{append:t(()=>[s.microservice_status[l.name]?(p(),V("div",Q,[J(c("div",null,[a(g,{location:"top"},{activator:t(({props:w})=>[a(_,k({ref_for:!0},w,{onClick:x=>n.showMicroserviceError(l.name)}),{default:t(()=>e[3]||(e[3]=[u(" mdi-alert ")])),_:2},1040,["onClick"])]),default:t(()=>[e[4]||(e[4]=c("span",null,"View Error",-1))]),_:2},1024)],512),[[R,!!s.microservice_status[l.name].error]])])):C("",!0),a(S,{class:"mr-3"},{default:t(()=>[a(g,{bottom:""},{activator:t(({on:w,attrs:x})=>[a(_,k({onClick:H=>n.startMicroservice(l.name),ref_for:!0},x,b(w)),{default:t(()=>e[5]||(e[5]=[u(" mdi-play ")])),_:2},1040,["onClick"])]),default:t(()=>[e[6]||(e[6]=c("span",null,"Start Microservice",-1))]),_:2},1024)]),_:2},1024),a(S,{class:"mr-3"},{default:t(()=>[a(g,{bottom:""},{activator:t(({on:w,attrs:x})=>[a(_,k({onClick:H=>n.stopMicroservice(l.name),ref_for:!0},x,b(w)),{default:t(()=>e[7]||(e[7]=[u(" mdi-stop ")])),_:2},1040,["onClick"])]),default:t(()=>[e[8]||(e[8]=c("span",null,"Stop Microservice",-1))]),_:2},1024)]),_:2},1024),a(S,null,{default:t(()=>[a(g,{bottom:""},{activator:t(({on:w,attrs:x})=>[a(_,k({onClick:H=>n.showMicroservice(l.name),ref_for:!0},x,b(w)),{default:t(()=>e[9]||(e[9]=[u(" mdi-eye ")])),_:2},1040,["onClick"])]),default:t(()=>[e[10]||(e[10]=c("span",null,"View Microservice",-1))]),_:2},1024)]),_:2},1024)]),default:t(()=>[a(M,null,{default:t(()=>[u(m(l.name),1)]),_:2},1024),s.microservice_status[l.name]?(p(),y(E,{key:0},{default:t(()=>[u(" Updated: "+m(n.formatDate(s.microservice_status[l.name].updated_at))+", State: "+m(s.microservice_status[l.name].state)+", Enabled: "+m(l.enabled===!1?"False":"True")+", Count: "+m(s.microservice_status[l.name].count),1)]),_:2},1024)):C("",!0)]),_:2},1024),a(N)]))),128))]),_:1}),s.showDialog?(p(),y(j,{key:0,modelValue:s.showDialog,"onUpdate:modelValue":e[1]||(e[1]=l=>s.showDialog=l),content:s.jsonContent,type:"Microservice",name:s.dialogTitle,onSubmit:n.dialogCallback},null,8,["modelValue","content","name","onSubmit"])):C("",!0),s.showError?(p(),y(v,{key:1,modelValue:s.showError,"onUpdate:modelValue":e[2]||(e[2]=l=>s.showError=l),text:s.jsonContent,title:s.dialogTitle},null,8,["modelValue","text","title"])):C("",!0)])}const ee=F("default",D(K,[["render",W],["__scopeId","data-v-af1fc783"]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./main-fbb6d24d6c6c7aea815c.js","vue"],function(x,N){"use strict";var _,i,f,s,b,y,a,r,c,k,M,v,m;return{setters:[n=>{_=n.d,i=n.a,f=n.F},n=>{s=n.resolveComponent,b=n.createBlock,y=n.openBlock,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={methods:{buildLanguageMode(t,e){let o=i.require("ace/lib/oop"),h=Object.getOwnPropertyNames(f.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,w=i.require("ace/mode/behaviour/cstyle").CstyleBehaviour;return[o,function(){this.HighlightRules=l,this.$outdent=new u,this.$behaviour=new w,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});break;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"),w=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 y(),b(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(w,{"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 F=x("J",_(q,[["render",C],["__scopeId","data-v-35a62559"]]))}}});
@@ -1 +1 @@
1
- System.register(["./main-89bee744bbd6e4811043.js","vue","single-spa","./SimpleTextDialog-CheuP_ls-d5f5a08e31cdf07b9a61.js","vue-router","vuex","vuetify"],function(A,Q){"use strict";var $,S,f,b,T,i,p,c,a,N,E,t,d,r,k,y,F,h,L,_,B;return{setters:[s=>{$=s.s,S=s.a,f=s.E,b=s.p,T=s.l},s=>{i=s.resolveComponent,p=s.createElementBlock,c=s.openBlock,a=s.createVNode,N=s.createBlock,E=s.createCommentVNode,t=s.withCtx,d=s.createElementVNode,r=s.createTextVNode,k=s.Fragment,y=s.renderList,F=s.createSlots,h=s.toDisplayString,L=s.normalizeClass,_=s.mergeProps},null,s=>{B=s.O},null,null,null],execute:function(){const s={components:{DownloadDialog:S,SimpleTextDialog:B},data(){return{showDownloadDialog:!1,showProcessOutput:!1,processOutput:"",files:[],loadingPackage:!1,progress:0,gems:[],python:[],processes:{}}},mounted(){this.update(),this.updateProcesses()},methods:{showOutput:function(n){this.processOutput=n.output,this.showProcessOutput=!0},update(){f.get("/openc3-api/packages").then(n=>{this.gems=n.data.ruby,this.python=n.data.python})},updateProcesses:function(){f.get("/openc3-api/process_status/package_?substr=true").then(n=>{this.processes=n.data,Object.keys(this.processes).length>0&&setTimeout(()=>{this.updateProcesses(),this.update()},2500)})},formatDate(n){return b(T(parseInt(n)/1e6),"yyyy-MM-dd HH:mm:ss.SSS")},selectFile(){this.progress=0,this.$refs.fileInput.click()},fileChange(n){const e=n.target.files;if(e.length>0){this.loadingPackage=!0;let I=this;const U=[...e].map(o=>{const u=new FormData;return u.append("package",o,o.name),f.post("/openc3-api/packages",{data:u,headers:{"Content-Type":"multipart/form-data"},onUploadProgress:function(v){let g=Math.round(v.loaded*100/v.total);I.progress=g}})});Promise.all(U).then(o=>{this.$notify.normal({body:`Uploaded ${o.length} package${o.length>1?"s":""}`}),this.loadingPackage=!1,this.files=[],setTimeout(()=>{this.updateProcesses()},2500)}).catch(o=>{this.loadingPackage=!1})}},deletePackage(n){this.$dialog.confirm(`Are you sure you want to remove: ${n}`,{okText:"Delete",cancelText:"Cancel"}).then(e=>f.delete(`/openc3-api/packages/${n}`)).then(e=>{this.$notify.normal({body:`Removed package ${n}`}),setTimeout(()=>{this.updateProcesses()},2500)}).catch(e=>{this.$notify.serious({body:`Failed to remove package ${n}`})})}}},M=["textContent"],R=["textContent"];function z(n,e,I,U,o,u){const v=i("v-btn"),g=i("v-col"),G=i("rux-progress"),P=i("v-row"),x=i("v-list-item-title"),H=i("v-list-item-subtitle"),w=i("v-icon"),D=i("v-tooltip"),O=i("v-list-item"),V=i("v-divider"),j=i("v-list"),q=i("download-dialog"),J=i("simple-text-dialog");return c(),p("div",null,[a(P,{"no-gutters":"",align:"center",class:"px-2"},{default:t(()=>[a(g,{class:"pa-2 mt-2"},{default:t(()=>[a(v,{onClick:u.selectFile},{default:t(()=>e[3]||(e[3]=[r("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}),a(g,{class:"ml-4 mr-2",cols:"4"},{default:t(()=>[a(G,{value:o.progress},null,8,["value"])]),_:1})]),_:1}),Object.keys(o.processes).length>0?(c(),N(j,{key:0,class:"list","data-test":"process-list"},{default:t(()=>[a(P,{"no-gutters":"",class:"px-4"},{default:t(()=>[a(g,{class:"text-h6"},{default:t(()=>e[4]||(e[4]=[r("Process List")])),_:1}),a(g,{align:"right"},{default:t(()=>e[5]||(e[5]=[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},[a(O,null,F({default:t(()=>[a(x,null,{default:t(()=>[d("span",{class:L(l.state.toLowerCase()),textContent:h(`Processing ${l.process_type}: ${l.detail} - ${l.state}`)},null,10,M)]),_:2},1024),a(H,null,{default:t(()=>[d("span",{textContent:h(" Updated At: "+u.formatDate(l.updated_at))},null,8,R)]),_:2},1024)]),_:2},[l.state!=="Running"?{name:"append",fn:t(()=>[a(D,{location:"top"},{activator:t(({props:m})=>[a(w,_({ref_for:!0},m,{onClick:C=>u.showOutput(l)}),{default:t(()=>e[6]||(e[6]=[r(" mdi-eye ")])),_:2},1040,["onClick"])]),default:t(()=>[e[7]||(e[7]=d("span",null,"Show Output",-1))]),_:2},1024)]),key:"0"}:void 0]),1024),a(V)]))),128))]),_:1})):E("",!0),a(j,{class:"list","data-test":"packageList"},{default:t(()=>[a(P,{class:"px-4"},{default:t(()=>[a(g,{class:"text-h6"},{default:t(()=>e[8]||(e[8]=[r("Ruby Gems")])),_:1})]),_:1}),(c(!0),p(k,null,y(o.gems,(l,m)=>(c(),p("div",{key:m},[a(O,null,{append:t(()=>[a(D,{location:"top"},{activator:t(({props:C})=>[a(w,_({ref_for:!0},C,{onClick:K=>u.deletePackage(l)}),{default:t(()=>e[9]||(e[9]=[r(" mdi-delete ")])),_:2},1040,["onClick"])]),default:t(()=>[e[10]||(e[10]=d("span",null,"Delete Package",-1))]),_:2},1024)]),default:t(()=>[a(x,null,{default:t(()=>[r(h(l),1)]),_:2},1024)]),_:2},1024),a(V)]))),128)),a(P,{class:"px-4"},{default:t(()=>[a(g,{class:"text-h6"},{default:t(()=>e[11]||(e[11]=[r("Python Packages")])),_:1})]),_:1}),(c(!0),p(k,null,y(o.python,(l,m)=>(c(),p("div",{key:m},[a(O,null,{append:t(()=>[a(D,{location:"top"},{activator:t(({props:C})=>[a(w,_({ref_for:!0},C,{onClick:K=>u.deletePackage(l)}),{default:t(()=>e[12]||(e[12]=[r(" mdi-delete ")])),_:2},1040,["onClick"])]),default:t(()=>[e[13]||(e[13]=d("span",null,"Delete Package",-1))]),_:2},1024)]),default:t(()=>[a(x,null,{default:t(()=>[r(h(l),1)]),_:2},1024)]),_:2},1024),a(V)]))),128))]),_:1}),a(q,{modelValue:o.showDownloadDialog,"onUpdate:modelValue":e[1]||(e[1]=l=>o.showDownloadDialog=l)},null,8,["modelValue"]),a(J,{modelValue:o.showProcessOutput,"onUpdate:modelValue":e[2]||(e[2]=l=>o.showProcessOutput=l),title:"Process Output",text:o.processOutput},null,8,["modelValue","text"])])}const W=A("default",$(s,[["render",z],["__scopeId","data-v-a9a7750b"]]))}}});
1
+ System.register(["./main-fbb6d24d6c6c7aea815c.js","vue","single-spa","./SimpleTextDialog-pwN8oRy1-2e2addd7ce31747515d9.js","vue-router","vuex","vuetify"],function(R,Q){"use strict";var $,S,f,b,T,i,p,u,a,L,N,t,d,r,k,y,F,h,B,_,I;return{setters:[s=>{$=s.d,S=s._,f=s.O,b=s.p,T=s.l},s=>{i=s.resolveComponent,p=s.createElementBlock,u=s.openBlock,a=s.createVNode,L=s.createBlock,N=s.createCommentVNode,t=s.withCtx,d=s.createElementVNode,r=s.createTextVNode,k=s.Fragment,y=s.renderList,F=s.createSlots,h=s.toDisplayString,B=s.normalizeClass,_=s.mergeProps},null,s=>{I=s.L},null,null,null],execute:function(){const s={components:{DownloadDialog:S,SimpleTextDialog:I},data(){return{showDownloadDialog:!1,showProcessOutput:!1,processOutput:"",files:[],loadingPackage:!1,progress:0,gems:[],python:[],processes:{}}},mounted(){this.update(),this.updateProcesses()},methods:{showOutput:function(n){this.processOutput=n.output,this.showProcessOutput=!0},update(){f.get("/openc3-api/packages").then(n=>{this.gems=n.data.ruby,this.python=n.data.python})},updateProcesses:function(){f.get("/openc3-api/process_status/package_?substr=true").then(n=>{this.processes=n.data,Object.keys(this.processes).length>0&&setTimeout(()=>{this.updateProcesses(),this.update()},2500)})},formatDate(n){return b(T(parseInt(n)/1e6),"yyyy-MM-dd HH:mm:ss.SSS")},selectFile(){this.progress=0,this.$refs.fileInput.click()},fileChange(n){const e=n.target.files;if(e.length>0){this.loadingPackage=!0;let U=this;const E=[...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 g=Math.round(v.loaded*100/v.total);U.progress=g}})});Promise.all(E).then(o=>{this.$notify.normal({body:`Uploaded ${o.length} package${o.length>1?"s":""}`}),this.loadingPackage=!1,this.files=[],setTimeout(()=>{this.updateProcesses()},2500)}).catch(o=>{this.loadingPackage=!1})}},deletePackage(n){this.$dialog.confirm(`Are you sure you want to remove: ${n}`,{okText:"Delete",cancelText:"Cancel"}).then(e=>f.delete(`/openc3-api/packages/${n}`)).then(e=>{this.$notify.normal({body:`Removed package ${n}`}),setTimeout(()=>{this.updateProcesses()},2500)}).catch(e=>{this.$notify.serious({body:`Failed to remove package ${n}`})})}}},A=["textContent"],M=["textContent"];function z(n,e,U,E,o,c){const v=i("v-btn"),g=i("v-col"),G=i("rux-progress"),P=i("v-row"),x=i("v-list-item-title"),H=i("v-list-item-subtitle"),w=i("v-icon"),D=i("v-tooltip"),O=i("v-list-item"),V=i("v-divider"),j=i("v-list"),q=i("download-dialog"),J=i("simple-text-dialog");return u(),p("div",null,[a(P,{"no-gutters":"",align:"center",class:"px-2"},{default:t(()=>[a(g,{class:"pa-2 mt-2"},{default:t(()=>[a(v,{onClick:c.selectFile},{default:t(()=>e[3]||(e[3]=[r("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}),a(g,{class:"ml-4 mr-2",cols:"4"},{default:t(()=>[a(G,{value:o.progress},null,8,["value"])]),_:1})]),_:1}),Object.keys(o.processes).length>0?(u(),L(j,{key:0,class:"list","data-test":"process-list"},{default:t(()=>[a(P,{"no-gutters":"",class:"px-4"},{default:t(()=>[a(g,{class:"text-h6"},{default:t(()=>e[4]||(e[4]=[r("Process List")])),_:1}),a(g,{align:"right"},{default:t(()=>e[5]||(e[5]=[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},[a(O,null,F({default:t(()=>[a(x,null,{default:t(()=>[d("span",{class:B(l.state.toLowerCase()),textContent:h(`Processing ${l.process_type}: ${l.detail} - ${l.state}`)},null,10,A)]),_:2},1024),a(H,null,{default:t(()=>[d("span",{textContent:h(" Updated At: "+c.formatDate(l.updated_at))},null,8,M)]),_:2},1024)]),_:2},[l.state!=="Running"?{name:"append",fn:t(()=>[a(D,{location:"top"},{activator:t(({props:m})=>[a(w,_({ref_for:!0},m,{onClick:C=>c.showOutput(l)}),{default:t(()=>e[6]||(e[6]=[r(" mdi-eye ")])),_:2},1040,["onClick"])]),default:t(()=>[e[7]||(e[7]=d("span",null,"Show Output",-1))]),_:2},1024)]),key:"0"}:void 0]),1024),a(V)]))),128))]),_:1})):N("",!0),a(j,{class:"list","data-test":"packageList"},{default:t(()=>[a(P,{class:"px-4"},{default:t(()=>[a(g,{class:"text-h6"},{default:t(()=>e[8]||(e[8]=[r("Ruby Gems")])),_:1})]),_:1}),(u(!0),p(k,null,y(o.gems,(l,m)=>(u(),p("div",{key:m},[a(O,null,{append:t(()=>[a(D,{location:"top"},{activator:t(({props:C})=>[a(w,_({ref_for:!0},C,{onClick:K=>c.deletePackage(l)}),{default:t(()=>e[9]||(e[9]=[r(" mdi-delete ")])),_:2},1040,["onClick"])]),default:t(()=>[e[10]||(e[10]=d("span",null,"Delete Package",-1))]),_:2},1024)]),default:t(()=>[a(x,null,{default:t(()=>[r(h(l),1)]),_:2},1024)]),_:2},1024),a(V)]))),128)),a(P,{class:"px-4"},{default:t(()=>[a(g,{class:"text-h6"},{default:t(()=>e[11]||(e[11]=[r("Python Packages")])),_:1})]),_:1}),(u(!0),p(k,null,y(o.python,(l,m)=>(u(),p("div",{key:m},[a(O,null,{append:t(()=>[a(D,{location:"top"},{activator:t(({props:C})=>[a(w,_({ref_for:!0},C,{onClick:K=>c.deletePackage(l)}),{default:t(()=>e[12]||(e[12]=[r(" mdi-delete ")])),_:2},1040,["onClick"])]),default:t(()=>[e[13]||(e[13]=d("span",null,"Delete Package",-1))]),_:2},1024)]),default:t(()=>[a(x,null,{default:t(()=>[r(h(l),1)]),_:2},1024)]),_:2},1024),a(V)]))),128))]),_:1}),a(q,{modelValue:o.showDownloadDialog,"onUpdate:modelValue":e[1]||(e[1]=l=>o.showDownloadDialog=l)},null,8,["modelValue"]),a(J,{modelValue:o.showProcessOutput,"onUpdate:modelValue":e[2]||(e[2]=l=>o.showProcessOutput=l),title:"Process Output",text:o.processOutput},null,8,["modelValue","text"])])}const W=R("default",$(s,[["render",z],["__scopeId","data-v-a9a7750b"]]))}}});
@@ -1,5 +1,5 @@
1
- System.register(["./main-89bee744bbd6e4811043.js","vue","single-spa","./SimpleTextDialog-CheuP_ls-d5f5a08e31cdf07b9a61.js","vue-router","vuex","vuetify"],function(H,ue){"use strict";var O,A,S,P,M,U,p,m,c,s,x,_,l,g,h,v,D,$,I,T,j,L;return{setters:[u=>{O=u.s,A=u._,S=u.w,P=u.E,M=u.p,U=u.l},u=>{p=u.resolveComponent,m=u.createElementBlock,c=u.openBlock,s=u.createVNode,x=u.createBlock,_=u.createCommentVNode,l=u.withCtx,g=u.createElementVNode,h=u.createTextVNode,v=u.toDisplayString,D=u.Fragment,$=u.renderList,I=u.normalizeClass,T=u.mergeProps,j=u.withModifiers},null,u=>{L=u.O},null,null,null],execute:function(){const u={components:{PluginDialog:S,ModifiedPluginDialog:A,SimpleTextDialog:L},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 M(U(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 n=this;P[e](o,{data:d,headers:{"Content-Type":"multipart/form-data"},onUploadProgress:function(i){let r=Math.round(i.loaded*100/i.total);n.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
- `));let w=i.data.plugin_txt_lines.join(`
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 n=new Blob([d],{type:"application/zip"}),i=document.createElement("a");i.href=URL.createObjectURL(n),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 n=new Blob([d],{type:"application/zip"}),i=document.createElement("a");i.href=URL.createObjectURL(n),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(`
1
+ System.register(["./main-fbb6d24d6c6c7aea815c.js","vue","single-spa","./SimpleTextDialog-pwN8oRy1-2e2addd7ce31747515d9.js","vue-router","vuex","vuetify"],function(H,ue){"use strict";var O,A,S,w,M,U,p,m,c,s,x,v,l,g,h,_,D,$,I,T,j,L;return{setters:[u=>{O=u.d,A=u.w,S=u.v,w=u.O,M=u.p,U=u.l},u=>{p=u.resolveComponent,m=u.createElementBlock,c=u.openBlock,s=u.createVNode,x=u.createBlock,v=u.createCommentVNode,l=u.withCtx,g=u.createElementVNode,h=u.createTextVNode,_=u.toDisplayString,D=u.Fragment,$=u.renderList,I=u.normalizeClass,T=u.mergeProps,j=u.withModifiers},null,u=>{L=u.L},null,null,null],execute:function(){const u={components:{PluginDialog:S,ModifiedPluginDialog:A,SimpleTextDialog:L},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(){w.get("/openc3-api/plugins").then(t=>{this.plugins=t.data}),w.get("/openc3-api/targets_modified").then(t=>{this.targets=t.data})},updateProcesses:function(){w.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 M(U(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 n=this;w[e](o,{data:d,headers:{"Content-Type":"multipart/form-data"},onUploadProgress:function(i){let r=Math.round(i.loaded*100/i.total);n.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
+ `));let P=i.data.plugin_txt_lines.join(`
3
+ `);this.pluginName=i.data.name,this.variables=i.data.variables,this.pluginTxt=P,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 w.post(`/openc3-api/targets/${e.name}/delete_modified`);this.pluginDelete?this.deletePlugin(this.currentPlugin):this.pluginInstall()},pluginInstall:function(){w.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){w.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 n=new Blob([d],{type:"application/zip"}),i=document.createElement("a");i.href=URL.createObjectURL(n),i.setAttribute("download",e.data.filename),i.click()})},downloadPlugin:function(t){w.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 n=new Blob([d],{type:"application/zip"}),i=document.createElement("a");i.href=URL.createObjectURL(n),i.setAttribute("download",e.data.filename),i.click()})},editPlugin:function(t){w.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(".")),n=o.slice(0,d).join("-");o=this.currentPlugin.split("-"),d=o.findIndex(r=>r.includes("."));let i=o.slice(0,d).join("-");n!==i?this.$dialog.confirm(`The new gem base name ${n} 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"],J=["textContent"],W={key:0},X={key:0},Y=["onClick"],Z={key:1},q={class:"mx-3"},G={class:"mx-3"},K={class:"mx-3"},Q={class:"mx-3"};function ee(t,e,o,d,n,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"),B=p("v-list-item-title"),E=p("v-list-item-subtitle"),se=p("v-progress-circular"),y=p("v-tooltip"),R=p("v-list-item"),F=p("v-list"),ne=p("plugin-dialog"),oe=p("modified-plugin-dialog"),ae=p("simple-text-dialog");return c(),m("div",null,[s(V,{"no-gutters":"",align:"center",class:"px-2"},{default:l(()=>[s(k,{class:"pa-2 mt-2"},{default:l(()=>[s(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 ")),s(w,null,{default:l(()=>e[7]||(e[7]=[h("mdi-update")])),_:1}),e[9]||(e[9]=h(" to upgrade existing plugins "))]),_:1}),s(k,{class:"ml-4 mr-2",cols:"4"},{default:l(()=>[s(te,{value:n.progress},null,8,["value"])]),_:1})]),_:1}),s(V,{"no-gutters":"",class:"px-2"},{default:l(()=>[s(k,null,{default:l(()=>[s(le,{modelValue:n.showDefaultTools,"onUpdate:modelValue":e[1]||(e[1]=a=>n.showDefaultTools=a),label:"Show Default Tools",class:"mt-0","data-test":"show-default-tools"},null,8,["modelValue"])]),_:1}),s(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}),s(N),s(ie,{closable:"",type:n.alertType,modelValue:n.showAlert,"onUpdate:modelValue":e[2]||(e[2]=a=>n.showAlert=a),"data-test":"plugin-alert"},{default:l(()=>[h(v(n.alert),1)]),_:1},8,["type","modelValue"]),Object.keys(n.processes).length>0?(c(),x(F,{key:0,class:"list","data-test":"process-list"},{default:l(()=>[s(V,{"no-gutters":"",class:"px-4"},{default:l(()=>[s(k,{class:"text-h6"},{default:l(()=>e[11]||(e[11]=[h("Process List")])),_:1}),s(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,$(n.processes,a=>(c(),m("div",{key:a.name},[s(R,null,{append:l(()=>[a.state==="Running"?(c(),m("div",W,[s(se,{indeterminate:"",color:"primary"})])):(c(),x(y,{key:1,location:"top"},{activator:l(({props:b})=>[s(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(()=>[s(B,null,{default:l(()=>[g("span",{class:I(a.state.toLowerCase()),textContent:v(`Processing ${a.process_type}: ${a.detail} - ${a.state}`)},null,10,z)]),_:2},1024),s(E,null,{default:l(()=>[g("span",{textContent:v(" Updated At: "+i.formatDate(a.updated_at))},null,8,J)]),_:2},1024)]),_:2},1024),s(N)]))),128))]),_:1})):_("",!0),s(F,{class:"list","data-test":"plugin-list"},{default:l(()=>[s(V,{class:"px-4"},{default:l(()=>[s(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},[s(R,{"data-test":"plugin-list-item"},{append:l(()=>[g("div",q,[s(y,{location:"top"},{activator:l(({props:f})=>[s(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",G,[s(y,{location:"top"},{activator:l(({props:f})=>[s(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",K,[s(y,{location:"top"},{activator:l(({props:f})=>[s(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",Q,[s(y,{location:"top"},{activator:l(({props:f})=>[s(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(()=>[s(B,null,{default:l(()=>[i.isModified(a)?(c(),m("span",X,"* ")):_("",!0),h(v(a),1)]),_:2},1024),i.pluginTargets(a).length!==0?(c(),x(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"])},v(f.name),9,Y)):(c(),m("span",Z,v(f.name),1))]))),128))]),_:2},1024)):_("",!0)]),_:2},1024),b<n.plugins.length-1?(c(),x(N,{key:b})):_("",!0)]))),128))]),_:1}),n.showPluginDialog?(c(),x(ne,{key:1,modelValue:n.showPluginDialog,"onUpdate:modelValue":e[3]||(e[3]=a=>n.showPluginDialog=a),pluginName:n.pluginName,variables:n.variables,pluginTxt:n.pluginTxt,existingPluginTxt:n.existingPluginTxt,onCallback:i.pluginCallback},null,8,["modelValue","pluginName","variables","pluginTxt","existingPluginTxt","onCallback"])):_("",!0),n.showModifiedPluginDialog?(c(),x(oe,{key:2,modelValue:n.showModifiedPluginDialog,"onUpdate:modelValue":e[4]||(e[4]=a=>n.showModifiedPluginDialog=a),pluginName:n.currentPlugin,targets:i.pluginTargets(n.currentPlugin),pluginDelete:n.pluginDelete,onSubmit:i.modifiedSubmit},null,8,["modelValue","pluginName","targets","pluginDelete","onSubmit"])):_("",!0),s(ae,{modelValue:n.showProcessOutput,"onUpdate:modelValue":e[5]||(e[5]=a=>n.showProcessOutput=a),title:"Process Output",text:n.processOutput},null,8,["modelValue","text"])])}const re=H("default",O(u,[["render",ee],["__scopeId","data-v-f61368fa"]]))}}});
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,w.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(".")),n=o.slice(0,d).join("-");o=this.currentPlugin.split("-"),d=o.findIndex(r=>r.includes("."));let i=o.slice(0,d).join("-");n!==i?this.$dialog.confirm(`The new gem base name ${n} 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"],J=["textContent"],W={key:0},X={key:0},Y=["onClick"],Z={key:1},q={class:"mx-3"},G={class:"mx-3"},K={class:"mx-3"},Q={class:"mx-3"};function ee(t,e,o,d,n,i){const r=p("v-btn"),P=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"),B=p("v-list-item-title"),R=p("v-list-item-subtitle"),se=p("v-progress-circular"),y=p("v-tooltip"),E=p("v-list-item"),F=p("v-list"),ne=p("plugin-dialog"),oe=p("modified-plugin-dialog"),ae=p("simple-text-dialog");return c(),m("div",null,[s(V,{"no-gutters":"",align:"center",class:"px-2"},{default:l(()=>[s(k,{class:"pa-2 mt-2"},{default:l(()=>[s(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 ")),s(P,null,{default:l(()=>e[7]||(e[7]=[h("mdi-update")])),_:1}),e[9]||(e[9]=h(" to upgrade existing plugins "))]),_:1}),s(k,{class:"ml-4 mr-2",cols:"4"},{default:l(()=>[s(te,{value:n.progress},null,8,["value"])]),_:1})]),_:1}),s(V,{"no-gutters":"",class:"px-2"},{default:l(()=>[s(k,null,{default:l(()=>[s(le,{modelValue:n.showDefaultTools,"onUpdate:modelValue":e[1]||(e[1]=a=>n.showDefaultTools=a),label:"Show Default Tools",class:"mt-0","data-test":"show-default-tools"},null,8,["modelValue"])]),_:1}),s(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}),s(N),s(ie,{closable:"",type:n.alertType,modelValue:n.showAlert,"onUpdate:modelValue":e[2]||(e[2]=a=>n.showAlert=a),"data-test":"plugin-alert"},{default:l(()=>[h(_(n.alert),1)]),_:1},8,["type","modelValue"]),Object.keys(n.processes).length>0?(c(),x(F,{key:0,class:"list","data-test":"process-list"},{default:l(()=>[s(V,{"no-gutters":"",class:"px-4"},{default:l(()=>[s(k,{class:"text-h6"},{default:l(()=>e[11]||(e[11]=[h("Process List")])),_:1}),s(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,$(n.processes,a=>(c(),m("div",{key:a.name},[s(E,null,{append:l(()=>[a.state==="Running"?(c(),m("div",W,[s(se,{indeterminate:"",color:"primary"})])):(c(),x(y,{key:1,location:"top"},{activator:l(({props:b})=>[s(P,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(()=>[s(B,null,{default:l(()=>[g("span",{class:I(a.state.toLowerCase()),textContent:_(`Processing ${a.process_type}: ${a.detail} - ${a.state}`)},null,10,z)]),_:2},1024),s(R,null,{default:l(()=>[g("span",{textContent:_(" Updated At: "+i.formatDate(a.updated_at))},null,8,J)]),_:2},1024)]),_:2},1024),s(N)]))),128))]),_:1})):v("",!0),s(F,{class:"list","data-test":"plugin-list"},{default:l(()=>[s(V,{class:"px-4"},{default:l(()=>[s(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},[s(E,{"data-test":"plugin-list-item"},{append:l(()=>[g("div",q,[s(y,{location:"top"},{activator:l(({props:f})=>[s(P,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",G,[s(y,{location:"top"},{activator:l(({props:f})=>[s(P,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",K,[s(y,{location:"top"},{activator:l(({props:f})=>[s(P,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",Q,[s(y,{location:"top"},{activator:l(({props:f})=>[s(P,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(()=>[s(B,null,{default:l(()=>[i.isModified(a)?(c(),m("span",X,"* ")):v("",!0),h(_(a),1)]),_:2},1024),i.pluginTargets(a).length!==0?(c(),x(R,{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"])},_(f.name),9,Y)):(c(),m("span",Z,_(f.name),1))]))),128))]),_:2},1024)):v("",!0)]),_:2},1024),b<n.plugins.length-1?(c(),x(N,{key:b})):v("",!0)]))),128))]),_:1}),n.showPluginDialog?(c(),x(ne,{key:1,modelValue:n.showPluginDialog,"onUpdate:modelValue":e[3]||(e[3]=a=>n.showPluginDialog=a),pluginName:n.pluginName,variables:n.variables,pluginTxt:n.pluginTxt,existingPluginTxt:n.existingPluginTxt,onCallback:i.pluginCallback},null,8,["modelValue","pluginName","variables","pluginTxt","existingPluginTxt","onCallback"])):v("",!0),n.showModifiedPluginDialog?(c(),x(oe,{key:2,modelValue:n.showModifiedPluginDialog,"onUpdate:modelValue":e[4]||(e[4]=a=>n.showModifiedPluginDialog=a),pluginName:n.currentPlugin,targets:i.pluginTargets(n.currentPlugin),pluginDelete:n.pluginDelete,onSubmit:i.modifiedSubmit},null,8,["modelValue","pluginName","targets","pluginDelete","onSubmit"])):v("",!0),s(ae,{modelValue:n.showProcessOutput,"onUpdate:modelValue":e[5]||(e[5]=a=>n.showProcessOutput=a),title:"Process Output",text:n.processOutput},null,8,["modelValue","text"])])}const re=H("default",O(u,[["render",ee],["__scopeId","data-v-f61368fa"]]))}}});
@@ -1 +1 @@
1
- System.register(["./Widget-fRCERxGf-f53f0043a8d9f927971c.js","vue","./main-89bee744bbd6e4811043.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.createBlock,r=e.openBlock,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,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
+ System.register(["./Widget-oyqWpFXJ-f34bf053b788271413fe.js","vue","./main-fbb6d24d6c6c7aea815c.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.createBlock,r=e.openBlock,n=e.normalizeStyle},e=>{i=e.d},null,null,null,null],execute:function(){const e={mixins:[s],props:{value:{default:null}},data:function(){return{valueId:null,scaleFactor:1,width:150}},computed:{_value:function(){let t=this.value;return t===null&&(t=this.screenValues[this.valueId][0]),parseInt(parseFloat(t)*this.scaleFactor)}},created:function(){if(this.parameters[3]&&(this.scaleFactor=parseFloat(this.parameters[3])),this.width=this.setWidth(this.parameters[4],"px",this.width),this.value===null){let t="CONVERTED";this.parameters[5]&&(t=this.parameters[5]),this.valueId=`${this.parameters[0]}__${this.parameters[1]}__${this.parameters[2]}__${t}`,this.$emit("addItem",this.valueId)}},unmounted:function(){this.$emit("deleteItem",this.valueId)}};function o(t,m,v,f,I,c){const h=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"]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-oyqWpFXJ-f34bf053b788271413fe.js","vue","./main-fbb6d24d6c6c7aea815c.js","vue-router","single-spa","vuex","vuetify"],function(s,v){"use strict";var l,t,n,r,a,o;return{setters:[e=>{l=e.o},e=>{t=e.resolveComponent,n=e.createBlock,r=e.openBlock,a=e.normalizeStyle},e=>{o=e.d},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,m,c,b,d,f){const p=t("v-radio");return r(),n(p,{"hide-details":"",dense:"",label:d.label,style:a(i.computedStyle),value:c.value},null,8,["label","style","value"])}const y=s("default",o(e,[["render",u]]))}}});
@@ -1 +1 @@
1
- System.register(["./Layout-Bh7VzCZd-e80015c167b538416f2a.js","vue","./main-89bee744bbd6e4811043.js","./Widget-fRCERxGf-f53f0043a8d9f927971c.js","vue-router","single-spa","vuex","vuetify"],function(f,k){"use strict";var a,l,s,r,c,o,i,u,m,d,p,g;return{setters:[e=>{a=e.r},e=>{l=e.resolveComponent,s=e.createBlock,r=e.openBlock,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 h(n,v,I,z,y,V){const C=l("v-radio-group");return r(),s(C,{"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=f("default",g(e,[["render",h]]))}}});
1
+ System.register(["./Layout-Tf--nruw-e15025d3ca9d03d87e1b.js","vue","./main-fbb6d24d6c6c7aea815c.js","./Widget-oyqWpFXJ-f34bf053b788271413fe.js","vue-router","single-spa","vuex","vuetify"],function(f,C){"use strict";var a,l,s,r,o,c,i,u,m,d,p,g;return{setters:[e=>{a=e.r},e=>{l=e.resolveComponent,s=e.createBlock,r=e.openBlock,o=e.normalizeStyle,c=e.withCtx,i=e.createElementBlock,u=e.Fragment,m=e.renderList,d=e.resolveDynamicComponent,p=e.mergeProps},e=>{g=e.d},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 h(n,v,B,w,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:o(n.computedStyle)},{default:c(()=>[(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 I=f("default",g(e,[["render",h]]))}}});
@@ -1 +1 @@
1
- System.register(["./Widget-fRCERxGf-f53f0043a8d9f927971c.js","vue","./main-89bee744bbd6e4811043.js","vue-router","single-spa","vuex","vuetify"],function(c,d){"use strict";var r,a,n,h,i,l;return{setters:[t=>{r=t.o},t=>{a=t.createElementBlock,n=t.openBlock,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,v,u){return n(),a("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=c("default",l(t,[["render",o],["__scopeId","data-v-34d37e7c"]]))}}});
1
+ System.register(["./Widget-oyqWpFXJ-f34bf053b788271413fe.js","vue","./main-fbb6d24d6c6c7aea815c.js","vue-router","single-spa","vuex","vuetify"],function(c,u){"use strict";var r,a,n,h,i,l;return{setters:[t=>{r=t.o},t=>{a=t.createElementBlock,n=t.openBlock,h=t.normalizeStyle,i=t.createElementVNode},t=>{l=t.d},null,null,null,null],execute:function(){const t={mixins:[r],data(){return{width:160,height:22}},computed:{cssProps(){return{"--height":this.height+"px","--width":this.width+"px","--container-height":this.height-5+"px","--position":this.calcPosition()+"%"}},min(){return parseInt(this.parameters[3])},max(){return parseInt(this.parameters[4])},range(){return this.max-this.min}},created(){const e=this.parameters[5]?this.parameters[5]:"CONVERTED";this.valueId=`${this.parameters[0]}__${this.parameters[1]}__${this.parameters[2]}__${e}`,this.$emit("addItem",this.valueId),this.width=this.setWidth(this.parameters[6],"px",this.width),this.height=this.setHeight(this.parameters[7],"px",this.height)},unmounted(){this.$emit("deleteItem",this.valueId)},methods:{calcPosition(){let e=this.screenValues[this.valueId][0];if(!e)return 0;if(e.raw)return e.raw==="-Infinity"?0:100;const s=(e-this.min)/this.range*100;return s>100?100:s<0?0:s}}};function o(e,s,p,g,v,d){return n(),a("div",{class:"rangebar",style:h([d.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=c("default",l(t,[["render",o],["__scopeId","data-v-34d37e7c"]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./main-fbb6d24d6c6c7aea815c.js","vue","vue-router","single-spa","vuex","vuetify"],function(y,S){"use strict";var u,p,a,r,c,s,d,o,l,h,x;return{setters:[e=>{u=e.d,p=e.O},e=>{a=e.resolveComponent,r=e.createElementBlock,c=e.openBlock,s=e.createVNode,d=e.withCtx,o=e.createTextVNode,l=e.createElementVNode,h=e.createCommentVNode,x=e.toDisplayString},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(i){i.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(i=>{this.redisResponse=i.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(i,t,B,K,n,v){const E=a("v-card-title"),V=a("v-card-subtitle"),b=a("v-text-field"),w=a("v-card-text"),g=a("v-btn"),f=a("v-radio"),T=a("v-radio-group"),_=a("v-card-actions"),k=a("v-data-table"),N=a("v-card");return c(),r("div",null,[s(N,null,{default:d(()=>[s(E,null,{default:d(()=>t[2]||(t[2]=[o(" Send Raw Redis Commands ")])),_:1}),s(V,null,{default:d(()=>t[3]||(t[3]=[o(" THIS IS DANGEROUS. This allows you to interact directly with the underlying Redis database, making it easy to modify or delete data. "),l("br",null,null,-1),l("br",null,null,-1),o(" Enter commands like you would at the Redis cli prompt: "),l("code",null,"ping",-1),o(" or "),l("code",null,"hget openc3__settings version",-1)])),_:1}),s(w,{class:"pb-0 ml-2"},{default:d(()=>[s(b,{label:"Redis command",class:"monospace",modelValue:n.redisCommandText,"onUpdate:modelValue":t[0]||(t[0]=m=>n.redisCommandText=m),onKeydown:v.commandKeydown},null,8,["modelValue","onKeydown"]),n.redisResponse?(c(),r("span",R," Response: "+x(n.redisResponse),1)):h("",!0)]),_:1}),s(_,{class:"px-2"},{default:d(()=>[s(g,{disabled:!n.redisCommandText.length,onClick:v.executeRaw,color:"success",variant:"text"},{default:d(()=>t[4]||(t[4]=[o(" Execute ")])),_:1},8,["disabled","onClick"]),s(T,{modelValue:n.redisEndpoint,"onUpdate:modelValue":t[1]||(t[1]=m=>n.redisEndpoint=m),inline:"","hide-details":"",class:"mt-0"},{default:d(()=>[s(f,{label:"Persistent",value:"/openc3-api/redis/exec","data-test":"persistent-radio"}),s(f,{label:"Ephemeral",value:"/openc3-api/redis/exec?ephemeral=1","data-test":"ephemeral-radio"})]),_:1},8,["modelValue"])]),_:1}),s(k,{headers:n.headers,items:n.commands,class:"monospace","items-per-page":-1,"hide-default-footer":"",density:"compact",height:"45vh"},null,8,["headers","items"])]),_:1})])}const A=y("default",u(e,[["render",C],["__scopeId","data-v-28716ab0"]]))}}});
@@ -1 +1 @@
1
- System.register(["./Widget-fRCERxGf-f53f0043a8d9f927971c.js","vue","./main-89bee744bbd6e4811043.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.createBlock,a=t.openBlock,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 a(),c(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]]))}}});
1
+ System.register(["./Widget-oyqWpFXJ-f34bf053b788271413fe.js","vue","./main-fbb6d24d6c6c7aea815c.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.createBlock,a=t.openBlock,o=t.normalizeStyle},t=>{u=t.d},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 a(),c(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-fbb6d24d6c6c7aea815c.js","vue","single-spa","./OutputDialog-zVPZiZay-5273ae10027e2cc87949.js","vue-router","vuex","vuetify"],function(D,E){"use strict";var p,c,t,s,l,a,g,h,o,v,m,d,f,C,k,V;return{setters:[e=>{p=e.d,c=e.O},e=>{t=e.resolveComponent,s=e.createElementBlock,l=e.openBlock,a=e.createVNode,g=e.createBlock,h=e.createCommentVNode,o=e.withCtx,v=e.Fragment,m=e.renderList,d=e.createTextVNode,f=e.toDisplayString,C=e.createElementVNode,k=e.mergeProps},null,e=>{V=e.J},null,null,null],execute:function(){const e={components:{OutputDialog:V},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,J,L,i,w){const N=t("v-list-item-title"),_=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(v,null,m(i.routers,(u,T)=>(l(),s("div",{key:T},[a(S,null,{append:o(()=>[a(B,{location:"top"},{activator:o(({props:b})=>[a(_,k({ref_for:!0},b,{onClick:P=>w.showRouter(u)}),{default:o(()=>n[1]||(n[1]=[d(" mdi-eye ")])),_:2},1040,["onClick"])]),default:o(()=>[n[2]||(n[2]=C("span",null,"Show Router Details",-1))]),_:2},1024)]),default:o(()=>[a(N,null,{default:o(()=>[d(f(u),1)]),_:2},1024)]),_:2},1024),a(j)]))),128))]),_:1}),i.showDialog?(l(),g(O,{key:0,modelValue:i.showDialog,"onUpdate:modelValue":n[0]||(n[0]=u=>i.showDialog=u),content:i.jsonContent,type:"Router",name:i.dialogTitle,onSubmit:w.dialogCallback},null,8,["modelValue","content","name","onSubmit"])):h("",!0)])}const R=D("default",p(e,[["render",y],["__scopeId","data-v-82fc907b"]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Layout-Tf--nruw-e15025d3ca9d03d87e1b.js","./VerticalWidget-BIIViZgI-bbb379db718beaa2bc28.js","vue","./main-fbb6d24d6c6c7aea815c.js","./Widget-oyqWpFXJ-f34bf053b788271413fe.js","vue-router","single-spa","vuex","vuetify"],function(y,k){"use strict";var l,c,i,r,o,u,m,g,p,d,f;return{setters:[e=>{l=e.r},e=>{c=e.default},e=>{i=e.createElementBlock,r=e.openBlock,o=e.normalizeStyle,u=e.Fragment,m=e.renderList,g=e.createBlock,p=e.resolveDynamicComponent,d=e.mergeProps},e=>{f=e.d},null,null,null,null,null],execute:function(){const e={mixins:[l],components:{VerticalWidget:c},created:function(){if(this.setHeight(this.parameters[0],"px",200),this.parameters[1]){let n=this.parameters[1];this.widgets.forEach(a=>{a.settings.find(s=>s[0]==="MARGIN"||s[0]==="RAW"&&s[1].toUpperCase().includes("MARGIN"))===void 0&&a.settings.push(["MARGIN",n])})}}};function v(n,a,s,B,I,b){return r(),i("div",{ref:"container",style:o(n.computedStyle),class:"overflow-y-auto"},[(r(!0),i(u,null,m(n.widgets,(t,h)=>(r(),g(p(t.type),d({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=y("default",f(e,[["render",v]]))}}});
@@ -1 +1 @@
1
- System.register(["./main-89bee744bbd6e4811043.js","vue","vue-router","single-spa","vuex","vuetify"],function(C,P){"use strict";var v,c,r,d,i,t,l,p,u,m,V,g,y,N,x;return{setters:[a=>{v=a.s,c=a.E},a=>{r=a.resolveComponent,d=a.createElementBlock,i=a.openBlock,t=a.createVNode,l=a.withCtx,p=a.createElementVNode,u=a.createTextVNode,m=a.toDisplayString,V=a.Fragment,g=a.renderList,y=a.createBlock,N=a.createCommentVNode,x=a.mergeProps},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,I,j,s,_){const T=r("v-file-input"),f=r("v-col"),k=r("v-row"),S=r("v-text-field"),w=r("v-icon"),A=r("v-btn"),E=r("v-alert"),B=r("v-list-item-title"),$=r("v-tooltip"),D=r("v-list-item"),U=r("v-divider"),F=r("v-list");return i(),d("div",null,[t(k,{"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(k,{"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=>_.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(E,{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(D,null,{append:l(()=>[t($,{location:"top"},{activator:l(({props:L})=>[t(w,x({ref_for:!0},L,{onClick:G=>_.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(B,null,{default:l(()=>[u(m(n),1)]),_:2},1024)]),_:2},1024),h<s.secrets.length-1?(i(),y(U,{key:h})):N("",!0)]))),128))]),_:1})])}const z=C("default",v(a,[["render",b]]))}}});
1
+ System.register(["./main-fbb6d24d6c6c7aea815c.js","vue","vue-router","single-spa","vuex","vuetify"],function(C,P){"use strict";var v,c,r,d,i,t,l,p,u,m,V,g,y,N,x;return{setters:[a=>{v=a.d,c=a.O},a=>{r=a.resolveComponent,d=a.createElementBlock,i=a.openBlock,t=a.createVNode,l=a.withCtx,p=a.createElementVNode,u=a.createTextVNode,m=a.toDisplayString,V=a.Fragment,g=a.renderList,y=a.createBlock,N=a.createCommentVNode,x=a.mergeProps},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,I,O,s,_){const T=r("v-file-input"),f=r("v-col"),k=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(k,{"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(k,{"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=>_.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:L})=>[t(w,x({ref_for:!0},L,{onClick:j=>_.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(),y(U,{key:h})):N("",!0)]))),128))]),_:1})])}const z=C("default",v(a,[["render",b]]))}}});
@@ -0,0 +1,2 @@
1
+ System.register(["vue","./main-fbb6d24d6c6c7aea815c.js","vue-router","single-spa","vuex","vuetify"],function(G,Te){"use strict";var a,x,h,o,C,l,r,y,F,W,A,w,T,B,H,V,M,R;return{setters:[S=>{a=S.resolveComponent,x=S.createElementBlock,h=S.openBlock,o=S.createVNode,C=S.createBlock,l=S.withCtx,r=S.createTextVNode,y=S.toDisplayString,F=S.createSlots,W=S.mergeProps,A=S.createCommentVNode,w=S.withDirectives,T=S.vShow,B=S.Fragment,H=S.renderList},S=>{V=S.d,M=S.F,R=S.X},null,null,null,null],execute:function(){const S={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 J(t,e,_,k,s,v){const b=a("v-card-title"),u=a("v-card-subtitle"),d=a("v-checkbox"),c=a("v-card-text"),m=a("v-btn"),p=a("v-card-actions"),f=a("v-card");return h(),C(f,null,{default:l(()=>[o(b,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?(h(),x(B,{key:0},[o(d,{modelValue:s.selectAllSuppressedWarnings,"onUpdate:modelValue":e[0]||(e[0]=i=>s.selectAllSuppressedWarnings=i),label:"Select All Warnings",density:"compact"},null,8,["modelValue"]),(h(!0),x(B,null,H(s.suppressedWarnings,i=>(h(),C(d,{key:i.key,modelValue:s.selectedSuppressedWarnings,"onUpdate:modelValue":e[1]||(e[1]=n=>s.selectedSuppressedWarnings=n),label:i.text,value:i.key,density:"compact","hide-details":""},null,8,["modelValue","label","value"]))),128))],64)):(h(),x(B,{key:1},[r(" No warnings to reset ")],64))]),_:1}),o(p,{class:"px-2"},{default:l(()=>[o(m,{disabled:!s.selectedSuppressedWarnings.length,onClick:v.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 X=V(S,[["render",J]]),Y={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 I(t,e,_,k,s,v){const b=a("v-card-title"),u=a("v-card-subtitle"),d=a("v-checkbox"),c=a("v-card-text"),m=a("v-btn"),p=a("v-card-actions"),f=a("v-card");return h(),C(f,null,{default:l(()=>[o(b,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?(h(),x(B,{key:0},[o(d,{modelValue:s.selectAllLastConfigs,"onUpdate:modelValue":e[0]||(e[0]=i=>s.selectAllLastConfigs=i),label:"Select All Configs",density:"compact"},null,8,["modelValue"]),(h(!0),x(B,null,H(s.lastConfigs,i=>(h(),C(d,{key:i.key,modelValue:s.selectedLastConfigs,"onUpdate:modelValue":e[1]||(e[1]=n=>s.selectedLastConfigs=n),label:i.text,value:i.key,"hide-details":"",density:"compact"},null,8,["modelValue","label","value"]))),128))],64)):(h(),x(B,{key:1},[r(" No configs to clear ")],64))]),_:1}),o(p,{class:"px-2"},{default:l(()=>[o(m,{disabled:!s.selectedLastConfigs.length,onClick:v.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 Q=V(Y,[["render",I]]),ee={data(){return{vimMode:R.isVimModeEnabled()}},methods:{save:function(){R.setVimMode(this.vimMode)}}};function te(t,e,_,k,s,v){const b=a("v-card-title"),u=a("v-card-subtitle"),d=a("v-switch"),c=a("v-card-text"),m=a("v-btn"),p=a("v-card-actions"),f=a("v-card");return h(),C(f,null,{default:l(()=>[o(b,null,{default:l(()=>e[1]||(e[1]=[r(" Code Editor Settings ")])),_:1}),o(u,null,{default:l(()=>e[2]||(e[2]=[r(" Settings for the code editors built into COSMOS (e.g. in Script Runner) ")])),_:1}),o(c,{class:"pb-0"},{default:l(()=>[o(d,{label:"Vim mode",modelValue:s.vimMode,"onUpdate:modelValue":e[0]||(e[0]=i=>s.vimMode=i),color:"primary"},null,8,["modelValue"])]),_:1}),o(p,null,{default:l(()=>[o(m,{onClick:v.save,color:"success",variant:"text","data-test":"save-editor-settings"},{default:l(()=>e[3]||(e[3]=[r(" Save ")])),_:1},8,["onClick"])]),_:1})]),_:1})}const oe=V(ee,[["render",te]]),U={data(){return{api:new M,errorText:"",errorLoading:!1,errorSaving:!1,successSaving:!1}},methods:{loadSetting:function(t){this.api.get_setting(t).then(e=>{this.parseSetting(e)}).catch(e=>{this.parseSetting(null),this.errorText=e,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){}}},D="astro",le={mixins:[U],data(){return{hideClock:!1}},created(){this.loadSetting(D)},methods:{save(){this.saveSetting(D,JSON.stringify({hideClock:this.hideClock}))},parseSetting:function(t){if(t){let e=JSON.parse(t);this.hideClock=e.hideClock}}}};function ae(t,e,_,k,s,v){const b=a("v-card-title"),u=a("v-alert"),d=a("v-switch"),c=a("v-card-text"),m=a("v-btn"),p=a("v-card-actions"),f=a("v-card");return h(),C(f,null,{default:l(()=>[o(b,null,{default:l(()=>e[4]||(e[4]=[r("Astro Settings")])),_:1}),o(u,{modelValue:t.errorLoading,"onUpdate:modelValue":e[0]||(e[0]=i=>t.errorLoading=i),type:"error",closable:"",density:"compact"},{default:l(()=>[r(" Error loading previous configuration due to "+y(t.errorText),1)]),_:1},8,["modelValue"]),o(u,{modelValue:t.errorSaving,"onUpdate:modelValue":e[1]||(e[1]=i=>t.errorSaving=i),type:"error",closable:"",density:"compact"},{default:l(()=>[r(" Error saving due to "+y(t.errorText),1)]),_:1},8,["modelValue"]),o(u,{modelValue:t.successSaving,"onUpdate:modelValue":e[2]||(e[2]=i=>t.successSaving=i),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(d,{label:"Hide Astro Clock",modelValue:s.hideClock,"onUpdate:modelValue":e[3]||(e[3]=i=>s.hideClock=i),color:"primary"},null,8,["modelValue"])]),_:1}),o(p,null,{default:l(()=>[o(m,{onClick:v.save,color:"success",variant:"text","data-test":"save-astro-settings"},{default:l(()=>e[6]||(e[6]=[r(" Save ")])),_:1},8,["onClick"])]),_:1})]),_:1})}const se=V(le,[["render",ae]]),Z="classification_banner",re={mixins:[U],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(Z)},methods:{save(){this.saveSetting(Z,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 ne(t,e,_,k,s,v){const b=a("v-card-title"),u=a("v-alert"),d=a("v-text-field"),c=a("v-col"),m=a("v-row"),p=a("v-icon"),f=a("v-list-item"),i=a("v-select"),n=a("v-switch"),O=a("v-card-text"),E=a("v-btn"),N=a("v-card-actions"),we=a("v-card");return h(),C(we,null,{default:l(()=>[o(b,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 "+y(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 "+y(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(O,{class:"pb-0"},{default:l(()=>[o(m,{dense:""},{default:l(()=>[o(c,null,{default:l(()=>[o(d,{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(m,{dense:""},{default:l(()=>[o(c,null,{default:l(()=>[o(i,{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(f,W(g,{value:L.text}),{prepend:l(()=>[L.value?(h(),C(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(d,{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(()=>[w(o(p,{color:s.customBackgroundColor},{default:l(()=>e[16]||(e[16]=[r(" mdi-square ")])),_:1},8,["color"]),[[T,!s.selectedBackgroundColor]])]),_:1},8,["hint","disabled","modelValue","rules"])]),_:1}),o(c,null,{default:l(()=>[o(i,{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(f,W(g,{value:L.text}),{prepend:l(()=>[L.value?(h(),C(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(()=>[w(o(p,{color:s.selectedFontColor},{default:l(()=>e[17]||(e[17]=[r(" mdi-square ")])),_:1},8,["color"]),[[T,s.selectedFontColor]])]),key:"0"}:void 0]),1032,["items","modelValue"])]),_:1}),o(c,null,{default:l(()=>[o(d,{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(()=>[w(o(p,{color:s.customFontColor},{default:l(()=>e[19]||(e[19]=[r(" mdi-square ")])),_:1},8,["color"]),[[T,!s.selectedFontColor]])]),_:1},8,["hint","disabled","modelValue","rules"])]),_:1})]),_:1}),o(m,{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(d,{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(d,{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(N,null,{default:l(()=>[o(E,{disabled:!v.formValid,onClick:v.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 ie=V(re,[["render",ne]]),j="time_zone",de={mixins:[U],data(){return{timeZones:["local","UTC"],timeZone:"local"}},created(){this.loadSetting(j)},methods:{save(){this.saveSetting(j,this.timeZone)},parseSetting:function(t){t&&(this.timeZone=t)}}};function ue(t,e,_,k,s,v){const b=a("v-card-title"),u=a("v-card-subtitle"),d=a("v-alert"),c=a("v-select"),m=a("v-card-text"),p=a("v-btn"),f=a("v-card-actions"),i=a("v-card");return h(),C(i,null,{default:l(()=>[o(b,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 use in all COSMOS tools (graphs, time choosers, log messages, etc). Anywhere a date / time is displayed, it will be in the chosen time zone. (Note: All timestamps are UTC in the backend). ")])),_:1}),o(d,{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 "+y(t.errorText),1)]),_:1},8,["modelValue"]),o(d,{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 "+y(t.errorText),1)]),_:1},8,["modelValue"]),o(d,{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(m,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(f,null,{default:l(()=>[o(p,{onClick:v.save,color:"success",variant:"text","data-test":"save-time-zone"},{default:l(()=>e[7]||(e[7]=[r(" Save ")])),_:1},8,["onClick"])]),_:1})]),_:1})}const ce=V(de,[["render",ue]]),q="news_feed",pe={mixins:[U],data(){return{newsFeed:!0}},created(){this.loadSetting(q)},methods:{save(){this.saveSetting(q,this.newsFeed),this.newsFeed&&this.api.update_news()},parseSetting:function(t){this.newsFeed=t}}};function ge(t,e,_,k,s,v){const b=a("v-card-title"),u=a("v-alert"),d=a("v-switch"),c=a("v-card-text"),m=a("v-btn"),p=a("v-card-actions"),f=a("v-card");return h(),C(f,null,{default:l(()=>[o(b,null,{default:l(()=>e[4]||(e[4]=[r("News Feed Settings")])),_:1}),o(u,{modelValue:t.errorLoading,"onUpdate:modelValue":e[0]||(e[0]=i=>t.errorLoading=i),type:"error",closable:"",density:"compact"},{default:l(()=>[r(" Error loading previous configuration due to "+y(t.errorText),1)]),_:1},8,["modelValue"]),o(u,{modelValue:t.errorSaving,"onUpdate:modelValue":e[1]||(e[1]=i=>t.errorSaving=i),type:"error",closable:"",density:"compact"},{default:l(()=>[r(" Error saving due to "+y(t.errorText),1)]),_:1},8,["modelValue"]),o(u,{modelValue:t.successSaving,"onUpdate:modelValue":e[2]||(e[2]=i=>t.successSaving=i),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(d,{label:`Allow COSMOS backend to pull the news feed from the COSMOS external news site.
2
+ This is a low bandwidth poll which only happens every 12 hrs. To immediately update the news feed, click the 'Refresh' in the User Menu.`,modelValue:s.newsFeed,"onUpdate:modelValue":e[3]||(e[3]=i=>s.newsFeed=i),color:"primary"},null,8,["modelValue"])]),_:1}),o(p,null,{default:l(()=>[o(m,{onClick:v.save,color:"success",variant:"text","data-test":"save-news-feed"},{default:l(()=>e[6]||(e[6]=[r(" Save ")])),_:1},8,["onClick"])]),_:1})]),_:1})}const me=V(pe,[["render",ge]]),P="subtitle",fe={mixins:[U],data(){return{subtitle:""}},created(){this.loadSetting(P)},methods:{save(){this.saveSetting(P,this.subtitle)},parseSetting:function(t){t&&(this.subtitle=t)}}};function he(t,e,_,k,s,v){const b=a("v-card-title"),u=a("v-card-subtitle"),d=a("v-alert"),c=a("v-text-field"),m=a("v-card-text"),p=a("v-btn"),f=a("v-card-actions"),i=a("v-card");return h(),C(i,null,{default:l(()=>[o(b,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(d,{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 "+y(t.errorText),1)]),_:1},8,["modelValue"]),o(d,{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 "+y(t.errorText),1)]),_:1},8,["modelValue"]),o(d,{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(m,{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(f,null,{default:l(()=>[o(p,{onClick:v.save,color:"success",variant:"text","data-test":"save-subtitle"},{default:l(()=>e[7]||(e[7]=[r(" Save ")])),_:1},8,["onClick"])]),_:1})]),_:1})}const ve=V(fe,[["render",he]]),z="source_url",be={mixins:[U],data(){return{sourceUrl:"https://github.com/OpenC3/cosmos"}},created(){this.loadSetting(z)},methods:{save(){this.saveSetting(z,this.sourceUrl)},parseSetting:function(t){t&&(this.sourceUrl=t)}}};function Se(t,e,_,k,s,v){const b=a("v-card-title"),u=a("v-card-subtitle"),d=a("v-alert"),c=a("v-text-field"),m=a("v-card-text"),p=a("v-btn"),f=a("v-card-actions"),i=a("v-card");return h(),C(i,null,{default:l(()=>[o(b,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(d,{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 "+y(t.errorText),1)]),_:1},8,["modelValue"]),o(d,{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 "+y(t.errorText),1)]),_:1},8,["modelValue"]),o(d,{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(m,{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(f,null,{default:l(()=>[o(p,{onClick:v.save,color:"success",variant:"text","data-test":"save-source-url"},{default:l(()=>e[7]||(e[7]=[r(" Save ")])),_:1},8,["onClick"])]),_:1})]),_:1})}const ye=V(be,[["render",Se]]),K="rubygems_url",Ce={mixins:[U],data(){return{rubygemsUrl:"https://rubygems.org"}},created(){this.loadSetting(K)},methods:{save(){this.saveSetting(K,this.rubygemsUrl)},parseSetting:function(t){t&&(this.rubygemsUrl=t)}}};function Ve(t,e,_,k,s,v){const b=a("v-card-title"),u=a("v-card-subtitle"),d=a("v-alert"),c=a("v-text-field"),m=a("v-card-text"),p=a("v-btn"),f=a("v-card-actions"),i=a("v-card");return h(),C(i,null,{default:l(()=>[o(b,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(d,{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 "+y(t.errorText),1)]),_:1},8,["modelValue"]),o(d,{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 "+y(t.errorText),1)]),_:1},8,["modelValue"]),o(d,{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(m,{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(f,null,{default:l(()=>[o(p,{onClick:v.save,color:"success",variant:"text","data-test":"save-rubygems-url"},{default:l(()=>e[7]||(e[7]=[r(" Save ")])),_:1},8,["onClick"])]),_:1})]),_:1})}const _e=V(Ce,[["render",Ve]]),$="pypi_url",ke={mixins:[U],data(){return{pypiUrl:"https://pypi.org"}},created(){this.loadSetting($)},methods:{save(){this.saveSetting($,this.pypiUrl)},parseSetting:function(t){t&&(this.pypiUrl=t)}}};function xe(t,e,_,k,s,v){const b=a("v-card-title"),u=a("v-card-subtitle"),d=a("v-alert"),c=a("v-text-field"),m=a("v-card-text"),p=a("v-btn"),f=a("v-card-actions"),i=a("v-card");return h(),C(i,null,{default:l(()=>[o(b,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(d,{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 "+y(t.errorText),1)]),_:1},8,["modelValue"]),o(d,{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 "+y(t.errorText),1)]),_:1},8,["modelValue"]),o(d,{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(m,{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(f,null,{default:l(()=>[o(p,{onClick:v.save,color:"success",variant:"text","data-test":"save-pypi-url"},{default:l(()=>e[7]||(e[7]=[r(" Save ")])),_:1},8,["onClick"])]),_:1})]),_:1})}const Ue=V(ke,[["render",xe]]),Be={components:{SuppressedSettings:X,DefaultConfigSettings:Q,EditorSettings:oe,AstroSettings:se,ClassificationBannerSettings:ie,TimeZoneSettings:ce,NewsFeedSettings:me,SubtitleSettings:ve,SourceCodeSettings:ye,RubyGemsSettings:_e,PypiSettings:Ue}};function Le(t,e,_,k,s,v){const b=a("suppressed-settings"),u=a("v-divider"),d=a("default-config-settings"),c=a("editor-settings"),m=a("astro-settings"),p=a("time-zone-settings"),f=a("news-feed-settings"),i=a("classification-banner-settings"),n=a("subtitle-settings"),O=a("source-code-settings"),E=a("ruby-gems-settings"),N=a("pypi-settings");return h(),x("div",null,[o(b),o(u),o(d),o(u),o(c),o(u),o(m),o(u),o(p),o(u),o(f),o(u),o(i),o(u),o(n),o(u),o(O),o(u),o(E),o(u),o(N)])}const Fe=G("default",V(Be,[["render",Le]]))}}});
@@ -1 +1 @@
1
- System.register(["./VWidget-C4spAawK-c884f9cea073da6d8ce9.js","vue","./main-89bee744bbd6e4811043.js","./Widget-fRCERxGf-f53f0043a8d9f927971c.js","vue-router","single-spa","vuex","vuetify"],function(p,g){"use strict";var r,a,s,l,n,i,c,o,u;return{setters:[t=>{r=t.L},t=>{a=t.resolveComponent,s=t.createBlock,l=t.openBlock,n=t.normalizeStyle,i=t.withCtx,c=t.createTextVNode,o=t.toDisplayString},t=>{u=t.s},null,null,null,null,null],execute:function(){const t={mixins:[r],props:{value:{default:null}},data:function(){return{item:null,oneBar:30,twoBar:60,threeBar:90}},computed:{displayedIcon:function(){let e="mdi-signal-cellular-outline";return this._value>=this.oneBar&&(e="mdi-signal-cellular-1"),this._value>=this.twoBar&&(e="mdi-signal-cellular-2"),this._value>=this.threeBar&&(e="mdi-signal-cellular-3"),e}},created(){this.appliedSettings.forEach(e=>{switch(e[0].toUpperCase()){case"SCREEN":this.screenTarget=e[1],this.screenName=e[2];break;case"VALUES":this.oneBar=parseFloat(e[1]),this.twoBar=parseFloat(e[2]),this.threeBar=parseFloat(e[3]);break}})},methods:{getType(){let e="CONVERTED";return this.parameters[3]=="RAW"&&(e="RAW"),e},clickHandler(){this.screenTarget&&this.screenName&&this.$emit("open",this.screenTarget,this.screenName)}}};function d(e,f,v,y,C,h){const m=a("v-icon");return l(),s(m,{onClick:h.clickHandler,style:n(e.computedStyle)},{default:i(()=>[c(o(h.displayedIcon),1)]),_:1},8,["onClick","style"])}const B=p("default",u(t,[["render",d]]))}}});
1
+ System.register(["./VWidget-DQqb7NVW-878e082a9a9ab2278496.js","vue","./main-fbb6d24d6c6c7aea815c.js","./Widget-oyqWpFXJ-f34bf053b788271413fe.js","vue-router","single-spa","vuex","vuetify"],function(p,g){"use strict";var r,a,l,n,s,i,o,c,u;return{setters:[t=>{r=t.L},t=>{a=t.resolveComponent,l=t.createBlock,n=t.openBlock,s=t.normalizeStyle,i=t.withCtx,o=t.createTextVNode,c=t.toDisplayString},t=>{u=t.d},null,null,null,null,null],execute:function(){const t={mixins:[r],props:{value:{default:null}},data:function(){return{item:null,oneBar:30,twoBar:60,threeBar:90}},computed:{displayedIcon:function(){let e="mdi-signal-cellular-outline";return this._value>=this.oneBar&&(e="mdi-signal-cellular-1"),this._value>=this.twoBar&&(e="mdi-signal-cellular-2"),this._value>=this.threeBar&&(e="mdi-signal-cellular-3"),e}},created(){this.appliedSettings.forEach(e=>{switch(e[0].toUpperCase()){case"SCREEN":this.screenTarget=e[1],this.screenName=e[2];break;case"VALUES":this.oneBar=parseFloat(e[1]),this.twoBar=parseFloat(e[2]),this.threeBar=parseFloat(e[3]);break}})},methods:{getType(){let e="CONVERTED";return this.parameters[3]=="RAW"&&(e="RAW"),e},clickHandler(){this.screenTarget&&this.screenName&&this.$emit("open",this.screenTarget,this.screenName)}}};function d(e,v,y,f,k,h){const m=a("v-icon");return n(),l(m,{onClick:h.clickHandler,style:s(e.computedStyle)},{default:i(()=>[o(c(h.displayedIcon),1)]),_:1},8,["onClick","style"])}const B=p("default",u(t,[["render",d]]))}}});
@@ -1 +1 @@
1
- System.register(["vue","./main-89bee744bbd6e4811043.js"],function(x,O){"use strict";var a,h,v,l,o,n,d,w,f,c,m;return{setters:[e=>{a=e.resolveComponent,h=e.createBlock,v=e.openBlock,l=e.withCtx,o=e.createVNode,n=e.createElementVNode,d=e.toDisplayString,w=e.normalizeProps,f=e.guardReactiveProps,c=e.createTextVNode},e=>{m=e.s}],execute:function(){const e={props:{modelValue:Boolean,text:String,title:String,width:{type:Number,default:800}},computed:{show:{get(){return this.modelValue},set(i){this.$emit("update:modelValue",i)}}},methods:{download:function(){const i=new Blob([this.text],{type:"text/plain"}),t=document.createElement("a");t.href=URL.createObjectURL(i),t.setAttribute("download",`${this.title}.txt`),t.click()}}},V={class:"mx-2"},g={class:"pa-3"},_={class:"text"};function k(i,t,p,U,E,s){const u=a("v-spacer"),N=a("v-icon"),b=a("v-tooltip"),y=a("v-toolbar"),B=a("v-card-text"),C=a("v-btn"),S=a("v-card-actions"),R=a("v-card"),D=a("v-dialog");return v(),h(D,{modelValue:s.show,"onUpdate:modelValue":t[1]||(t[1]=r=>s.show=r),width:p.width,scrollable:""},{default:l(()=>[o(R,null,{default:l(()=>[o(y,{height:"24"},{default:l(()=>[o(u),n("span",null,d(p.title),1),o(u),n("div",V,[o(b,{location:"top"},{activator:l(({props:r})=>[n("div",w(f(r)),[o(N,{"data-test":"downloadIcon",onClick:s.download},{default:l(()=>t[2]||(t[2]=[c(" mdi-download ")])),_:1},8,["onClick"])],16)]),default:l(()=>[t[3]||(t[3]=n("span",null," Download ",-1))]),_:1})])]),_:1}),o(B,{style:{"max-height":"80vh"}},{default:l(()=>[n("div",g,[n("span",_,d(p.text),1)])]),_:1}),o(S,{class:"px-2"},{default:l(()=>[o(u),o(C,{variant:"flat",onClick:t[0]||(t[0]=r=>s.show=!s.show)},{default:l(()=>t[4]||(t[4]=[c(" Ok ")])),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue","width"])}const P=x("O",m(e,[["render",k],["__scopeId","data-v-a60ace75"]]))}}});
1
+ System.register(["vue","./main-fbb6d24d6c6c7aea815c.js"],function(x,L){"use strict";var a,h,v,l,o,n,r,w,f,c,m;return{setters:[e=>{a=e.resolveComponent,h=e.createBlock,v=e.openBlock,l=e.withCtx,o=e.createVNode,n=e.createElementVNode,r=e.toDisplayString,w=e.normalizeProps,f=e.guardReactiveProps,c=e.createTextVNode},e=>{m=e.d}],execute:function(){const e={props:{modelValue:Boolean,text:String,title:String,width:{type:Number,default:800}},computed:{show:{get(){return this.modelValue},set(i){this.$emit("update:modelValue",i)}}},methods:{download:function(){const i=new Blob([this.text],{type:"text/plain"}),t=document.createElement("a");t.href=URL.createObjectURL(i),t.setAttribute("download",`${this.title}.txt`),t.click()}}},V={class:"mx-2"},g={class:"pa-3"},_={class:"text"};function k(i,t,p,U,E,d){const u=a("v-spacer"),N=a("v-icon"),b=a("v-tooltip"),y=a("v-toolbar"),B=a("v-card-text"),C=a("v-btn"),S=a("v-card-actions"),R=a("v-card"),D=a("v-dialog");return v(),h(D,{modelValue:d.show,"onUpdate:modelValue":t[1]||(t[1]=s=>d.show=s),width:p.width,scrollable:""},{default:l(()=>[o(R,null,{default:l(()=>[o(y,{height:"24"},{default:l(()=>[o(u),n("span",null,r(p.title),1),o(u),n("div",V,[o(b,{location:"top"},{activator:l(({props:s})=>[n("div",w(f(s)),[o(N,{"data-test":"downloadIcon",onClick:d.download},{default:l(()=>t[2]||(t[2]=[c(" mdi-download ")])),_:1},8,["onClick"])],16)]),default:l(()=>[t[3]||(t[3]=n("span",null," Download ",-1))]),_:1})])]),_:1}),o(B,{style:{"max-height":"80vh"}},{default:l(()=>[n("div",g,[n("span",_,r(p.text),1)])]),_:1}),o(S,{class:"px-2"},{default:l(()=>[o(u),o(C,{variant:"flat",onClick:t[0]||(t[0]=s=>d.show=!d.show)},{default:l(()=>t[4]||(t[4]=[c(" Ok ")])),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue","width"])}const P=x("L",m(e,[["render",k],["__scopeId","data-v-a60ace75"]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Widget-oyqWpFXJ-f34bf053b788271413fe.js","vue","./main-fbb6d24d6c6c7aea815c.js","vue-router","single-spa","vuex","vuetify"],function(i,c){"use strict";var t,n,s,l,r;return{setters:[e=>{t=e.o},e=>{n=e.createElementBlock,s=e.openBlock,l=e.normalizeStyle},e=>{r=e.d},null,null,null,null],execute:function(){const e={mixins:[t],created(){this.settings.push(["WIDTH",this.parameters[0]]),this.settings.push(["HEIGHT",this.parameters[1]])}};function u(o,m,p,d,h,y){return s(),n("div",{style:l(o.computedStyle)},null,4)}const a=i("default",r(e,[["render",u]]))}}});
@@ -1 +1 @@
1
- System.register(["./GraphWidget-Dycey-mj-a42606ece40c58355625.js","./main-89bee744bbd6e4811043.js","vue","./Graph-3rkhFP3G-6869b66611e6318604a7.js","single-spa","./Widget-fRCERxGf-f53f0043a8d9f927971c.js","vue-router","vuex","vuetify"],function(l,c){"use strict";var s,i,n,r,a,d,o;return{setters:[e=>{s=e._},e=>{i=e.s},e=>{n=e.resolveComponent,r=e.createBlock,a=e.openBlock,d=e.normalizeStyle},e=>{o=e.S},null,null,null,null,null],execute:function(){const e={components:{Graph:o},mixins:[s],data:function(){return{secondsGraphed:300,pointsSaved:300,pointsGraphed:300,size:{height:30,width:130}}}};function p(t,g,m,v,f,y){const h=n("graph");return a(),r(h,{ref:"graph"+t.id,id:t.id,state:t.state,"selected-graph-id":t.id,startTime:t.startTime,"seconds-graphed":t.secondsGraphed,"points-saved":t.pointsSaved,"points-graphed":t.pointsGraphed,"initial-items":t.items,height:t.size.height,width:t.size.width,style:d(t.computedStyle),sparkline:""},null,8,["id","state","selected-graph-id","startTime","seconds-graphed","points-saved","points-graphed","initial-items","height","width","style"])}const u=l("default",i(e,[["render",p]]))}}});
1
+ System.register(["./GraphWidget-DurWDmpg-ebee4b7d87defdaf5d8f.js","./main-fbb6d24d6c6c7aea815c.js","vue","./Graph-Bgo0cjl3-b73fb6638f6aac6b1a30.js","single-spa","./Widget-oyqWpFXJ-f34bf053b788271413fe.js","vue-router","vuex","vuetify"],function(p,c){"use strict";var i,s,n,r,a,d,o;return{setters:[e=>{i=e._},e=>{s=e.d},e=>{n=e.resolveComponent,r=e.createBlock,a=e.openBlock,d=e.normalizeStyle},e=>{o=e.S},null,null,null,null,null],execute:function(){const e={components:{Graph:o},mixins:[i],data:function(){return{secondsGraphed:300,pointsSaved:300,pointsGraphed:300,size:{height:30,width:130}}}};function l(t,g,m,v,y,f){const h=n("graph");return a(),r(h,{ref:"graph"+t.id,id:t.id,state:t.state,"selected-graph-id":t.id,startTime:t.startTime,"seconds-graphed":t.secondsGraphed,"points-saved":t.pointsSaved,"points-graphed":t.pointsGraphed,"initial-items":t.items,height:t.size.height,width:t.size.width,style:d(t.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",s(e,[["render",l]]))}}});
@@ -0,0 +1 @@
1
+ System.register(["./Layout-Tf--nruw-e15025d3ca9d03d87e1b.js","vue","./main-fbb6d24d6c6c7aea815c.js","./Widget-oyqWpFXJ-f34bf053b788271413fe.js","vue-router","single-spa","vuex","vuetify"],function(T,z){"use strict";var p,l,s,r,g,v,i,u,c,o,y,f,w,b,V;return{setters:[e=>{p=e.r},e=>{l=e.resolveComponent,s=e.createElementBlock,r=e.openBlock,g=e.createVNode,v=e.normalizeStyle,i=e.withCtx,u=e.Fragment,c=e.renderList,o=e.createBlock,y=e.createTextVNode,f=e.toDisplayString,w=e.resolveDynamicComponent,b=e.mergeProps},e=>{V=e.d},null,null,null,null,null],execute:function(){const e={mixins:[p],data:function(){return{curTab:null}},watch:{curTab:function(){this.$emit("min-max-screen")}}};function k(t,m,h,D,F,L){const x=l("v-tab"),B=l("v-tabs"),C=l("v-window-item"),S=l("v-window");return r(),s("div",null,[g(B,{modelValue:t.curTab,"onUpdate:modelValue":m[0]||(m[0]=a=>t.curTab=a),style:v(t.computedStyle)},{default:i(()=>[(r(!0),s(u,null,c(t.widgets,(a,d)=>(r(),o(x,{key:d},{default:i(()=>[y(f(a.parameters[0]),1)]),_:2},1024))),128))]),_:1},8,["modelValue","style"]),g(S,{modelValue:t.curTab,"onUpdate:modelValue":m[1]||(m[1]=a=>t.curTab=a)},{default:i(()=>[(r(!0),s(u,null,c(t.widgets,(a,d)=>(r(),o(C,{key:d},{default:i(()=>[(r(!0),s(u,null,c(a.widgets,(n,N)=>(r(),o(w(n.type),b({ref_for:!0},t.listeners,{key:`${d}-${N}`,target:n.target,parameters:n.parameters,settings:n.settings,"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone,widgets:n.widgets,name:n.name,line:n.line,"line-number":n.lineNumber}),null,16,["target","parameters","settings","screen-values","screen-time-zone","widgets","name","line","line-number"]))),128))]),_:2},1024))),128))]),_:1},8,["modelValue"])])}const _=T("default",V(e,[["render",k]]))}}});