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.
- checksums.yaml +4 -4
- data/tools/admin/{ArrayWidget-BxEO5hEG-5c784cf69c59ef56f770.js → ArrayWidget-BbsN1dzF-45b3f0b1b85d0816b4d6.js} +2 -2
- data/tools/admin/{ArrayplotWidget-B_VPoV4v-4c480a3fcc426de0cb30.js → ArrayplotWidget-CCKEyYIx-c2e9f297af8994f10499.js} +1 -1
- data/tools/admin/{BarColumn-C9dkpg2O-e489648e1026c2be35d5.js → BarColumn-C6p07yWK-7ae551032c38dd002d95.js} +1 -1
- data/tools/admin/BlockWidget-DlCHbqZX-d57a3ba05924d0dc73ce.js +2 -0
- data/tools/admin/{ButtonWidget-B6HM0Doo-668706e3573526170916.js → ButtonWidget-CtfJzCBR-15be1cfe08491243621a.js} +2 -2
- data/tools/admin/{CanvasWidget-DZQGG-yQ-9208dd10b8d9bf8fa386.js → CanvasWidget-CqRlXc4r-79ff690f6ab0548bac3b.js} +1 -1
- data/tools/admin/CanvasdotWidget--Xr_KsZs-5a996c74c5a7ef6bfffa.js +1 -0
- data/tools/admin/{CanvasimageWidget-mhcPpAuN-524715bd9e4a9c84bf1a.js → CanvasimageWidget-BPlj5QYK-d8e96ebe13755da5ca94.js} +1 -1
- data/tools/admin/{CanvasimagevalueWidget-Cx-dH8Gc-127608d7211ba8c85eee.js → CanvasimagevalueWidget-DVFGLt8f-382d16c4c919b192bb21.js} +1 -1
- data/tools/admin/CanvaslabelWidget-CYNqmyP0-d63731e0f2c639a94217.js +1 -0
- data/tools/admin/{CanvaslabelvalueWidget-CwmYDCjr-50109c3b06e5e4acd0e2.js → CanvaslabelvalueWidget-B7yIDmsn-da8a435cddcb14c4220d.js} +1 -1
- data/tools/admin/CanvaslineWidget-BICdxX0Q-e6d7b79766b82eb0aa5f.js +1 -0
- data/tools/admin/{CanvaslinevalueWidget-C3sJnjLQ-ffa8ee418ab1756d7518.js → CanvaslinevalueWidget-Cq-Ddh0P-dd25267d6fe776a0eb4d.js} +1 -1
- data/tools/admin/CheckbuttonWidget-B74AWeaW-e5eac04dabbe8e75a50f.js +1 -0
- data/tools/admin/ComboboxWidget-CtyKbEWb-a3645988bb8f618c30b7.js +1 -0
- data/tools/admin/DateWidget-BEVSczU8-a8f6e93811962f188e0e.js +1 -0
- data/tools/admin/{DetailsDialog-BvbziA7Y-ee21a12298c291aba619.js → DetailsDialog-DmEC5BTs-f202c65b40d62e0a0258.js} +1 -1
- data/tools/admin/{DynamicWidget-gFSYxzvT-1236326c70d40ef4d209.js → DynamicWidget-CfMtj7H8-5d1fe4151a3a13875e72.js} +1 -1
- data/tools/admin/{FormatvalueWidget-CGpnTqVH-1965b1425ac5713160a7.js → FormatvalueWidget-DN12xymS-a183974bad17bb7102f9.js} +1 -1
- data/tools/admin/Graph-Bgo0cjl3-b73fb6638f6aac6b1a30.js +1 -0
- data/tools/admin/{GraphWidget-Dycey-mj-a42606ece40c58355625.js → GraphWidget-DurWDmpg-ebee4b7d87defdaf5d8f.js} +1 -1
- data/tools/admin/{HorizontalWidget-D31NRWy5-f726d836b7dd777022b8.js → HorizontalWidget-Cd_wl1b3-fba8f18453014a0565ad.js} +1 -1
- data/tools/admin/HorizontalboxWidget-BcMTFBU--324c3dc4fd5e49eab722.js +1 -0
- data/tools/admin/HorizontallineWidget-CXFqHclf-7ca376904e3068703325.js +1 -0
- data/tools/admin/{IframeWidget-Ctj8OIcG-cc657bab62ca5f6f87d1.js → IframeWidget-BPerHCCa-3abc66888f871f2424e0.js} +1 -1
- data/tools/admin/{ImageLoader-BrNrCBvi-2b1da3a869462ca330c6.js → ImageLoader-4N-7Gj61-d96791fc6c7c24e20145.js} +1 -1
- data/tools/admin/ImageviewerWidget-Cw_H_HmZ-abc4b56b182850c2b4b0.js +1 -0
- data/tools/admin/InterfacesTab-B4glsR9Z-d5c7b16796e27515e044.js +1 -0
- data/tools/admin/{LabelWidget-t7I87dp7-152d5a9b96441cbd8510.js → LabelWidget-xrmcVeq8-894f83570ba8b552e75c.js} +1 -1
- data/tools/admin/LabelledWidget-D48QoyMk-9c821f58c796d7ea4c9b.js +1 -0
- data/tools/admin/LabelprogressbarWidget-C_950t6g-5966ce8bbecbd42abbc8.js +1 -0
- data/tools/admin/LabelsparklineWidget-0KXQyPoU-3930edb58cf690a58dd4.js +1 -0
- data/tools/admin/{LabelvalueWidget-Zx_yHCtl-381f386667d56a433fb9.js → LabelvalueWidget-CQ06wWDK-330aee93b235b971e95c.js} +1 -1
- data/tools/admin/{LabelvaluedescWidget-BBSBh4vI-f245b73d7fee8fc3c134.js → LabelvaluedescWidget-Bo8zT01X-e92f203c5cc5204caebd.js} +1 -1
- data/tools/admin/{LabelvaluelimitsbarWidget-CZueHYWG-ae89b48f0240d8c4b536.js → LabelvaluelimitsbarWidget-BucTw8Yk-ef66fe7faa51e1c7fc96.js} +1 -1
- data/tools/admin/LabelvaluelimitscolumnWidget-Dflb1hNd-bb82c73da598c7e933c6.js +1 -0
- data/tools/admin/{LabelvaluerangebarWidget-BhYTBgDq-7f89e5b9ff7b9b67c0f1.js → LabelvaluerangebarWidget-D8cbfXFM-92fab7f5051516ce528f.js} +1 -1
- data/tools/admin/{Layout-Bh7VzCZd-e80015c167b538416f2a.js → Layout-Tf--nruw-e15025d3ca9d03d87e1b.js} +1 -1
- data/tools/admin/LedWidget-qH_FthkK-a5e74d98a22307a883a8.js +1 -0
- data/tools/admin/{LimitsbarWidget-Djui0IpK-424433c6317281d1676d.js → LimitsbarWidget-B9lAB2RD-96157ffc116593888b48.js} +1 -1
- data/tools/admin/{LimitscolorWidget-DdmvKzmx-65f584394050c5139c9d.js → LimitscolorWidget-c6Qa6su7-c2b237b1468b716361cd.js} +1 -1
- data/tools/admin/{LimitscolumnWidget-Cc19IEjq-f2597f39e20f5fa18747.js → LimitscolumnWidget-CcLs_443-944fa38b9446f615b635.js} +1 -1
- data/tools/admin/LinegraphWidget-BSVYLFo1-27291b3efda84e682c36.js +1 -0
- data/tools/admin/{MatrixbycolumnsWidget-DnExVRF8-b4be1b437c0b336a1e23.js → MatrixbycolumnsWidget-DXFpZTre-1ca1fd46ec81aa27bdea.js} +1 -1
- data/tools/admin/{MicroservicesTab-IbTmbPxO-69cd3eeece33f36c8a8f.js → MicroservicesTab-mCdS0v39-72fa5667b8c938eb27e1.js} +1 -1
- data/tools/admin/OutputDialog-zVPZiZay-5273ae10027e2cc87949.js +1 -0
- data/tools/admin/{PackagesTab-BX8YP3H1-72f20ce8b559d7fcc13a.js → PackagesTab-SWcXumpK-e5ccc20003b13ccdbc6e.js} +1 -1
- data/tools/admin/{PluginsTab-Ds3jk64b-831383858209ff2c2d5e.js → PluginsTab-B64OvayB-be8b8a771af3d6802e37.js} +4 -4
- data/tools/admin/{ProgressbarWidget-DIfqhHRE-2775a9cde5a45b0de086.js → ProgressbarWidget-iYGw8-Dc-d9aad79edecffa90902a.js} +1 -1
- data/tools/admin/RadiobuttonWidget-ytmoVZ3u-3b94c9dfedbb30542025.js +1 -0
- data/tools/admin/{RadiogroupWidget-Ci9sCX39-e97afc1a22909e8b2b26.js → RadiogroupWidget-CusMBhKH-ee1c8dc1c59df58fd825.js} +1 -1
- data/tools/admin/{RangebarWidget-CN0YuHqy-e1cb05b7f6b1118dd2d0.js → RangebarWidget-D_zGTtCa-7d82a5779754daf85f09.js} +1 -1
- data/tools/admin/RedisTab-CyPo6ADN-aa1a495b5fb6171666f5.js +1 -0
- data/tools/admin/{RollupWidget-y4jBtJB2-bab638d154a5f2fd2c1e.js → RollupWidget-Dolsixyt-199f99293bbff747842b.js} +1 -1
- data/tools/admin/RoutersTab-Cs2dFVNA-aa50a4a447fca3f826bf.js +1 -0
- data/tools/admin/ScrollwindowWidget-DV2nZuNi-2918384639e5b480f5b0.js +1 -0
- data/tools/admin/{SecretsTab-BjviaTxh-33a36e028d57e1378d98.js → SecretsTab-DVyyyGlG-4344d670cf905ab60969.js} +1 -1
- data/tools/admin/SettingsTab-g29K6FyC-fc78aa7aefc9b0f48986.js +2 -0
- data/tools/admin/{SignalWidget-DQ5Uc2uV-1e83f917599853ee7901.js → SignalWidget-d9-6h85k-e129c862ab2e2862b245.js} +1 -1
- data/tools/admin/{SimpleTextDialog-CheuP_ls-d5f5a08e31cdf07b9a61.js → SimpleTextDialog-pwN8oRy1-2e2addd7ce31747515d9.js} +1 -1
- data/tools/admin/SpacerWidget-BH0p2OLi-b5ab05a35a2d859ed908.js +1 -0
- data/tools/admin/{SparklineWidget-CZtvu2ss-588212b5617f199fcd2e.js → SparklineWidget-coxi9r2g-8feb089ce863bd78d520.js} +1 -1
- data/tools/admin/TabbookWidget-B1XKplGH-73f77b706b86971b4ebc.js +1 -0
- data/tools/admin/{TargetsTab-Cd8U1aN_-968369f75aa684d02f9b.js → TargetsTab-BkBkXn9A-8425521e65f5456c008e.js} +1 -1
- data/tools/admin/TextboxWidget-C-_M2M4l-b9bef00f2cfe98fb3bf1.js +1 -0
- data/tools/admin/{TextfieldWidget-Df0ANSiU-766eb0d82b44a91ec200.js → TextfieldWidget-C08N4JE8-af5bb035574b2bdb1e55.js} +1 -1
- data/tools/admin/TimeWidget-DtwdEcFg-d89f9fbaa3072936e270.js +1 -0
- data/tools/admin/TitleWidget-CT-aLcNb-f3785ae131a4a7667761.js +1 -0
- data/tools/admin/{ToolsTab-Cgpb2nAW-5b5a3d23a36b0fdcce3c.js → ToolsTab-NveeVXz2-a2a58dfa69fac13c80e8.js} +2 -2
- data/tools/admin/{VWidget-C4spAawK-c884f9cea073da6d8ce9.js → VWidget-DQqb7NVW-878e082a9a9ab2278496.js} +1 -1
- data/tools/admin/ValueWidget-C6RanBj3-da5499cb68372d5227fc.js +1 -0
- data/tools/admin/ValuelimitsbarWidget-B3bvjfxc-fad1586e079efff45c2c.js +1 -0
- data/tools/admin/ValuelimitscolumnWidget-QvhI6EcE-b6e11e56e8ab9113b662.js +1 -0
- data/tools/admin/ValuerangebarWidget-Dt3K9BnC-4cb31018f254cafc9a8a.js +1 -0
- data/tools/admin/{VerticalWidget-D8jUFxjS-264cdd61b0515fa3092c.js → VerticalWidget-BIIViZgI-bbb379db718beaa2bc28.js} +1 -1
- data/tools/admin/VerticalboxWidget-DY72fLHW-69a1841223e1274653e7.js +1 -0
- data/tools/admin/{Widget-fRCERxGf-f53f0043a8d9f927971c.js → Widget-oyqWpFXJ-f34bf053b788271413fe.js} +1 -1
- data/tools/admin/main-fbb6d24d6c6c7aea815c.js +1508 -0
- data/tools/admin/main.js +1 -1
- metadata +81 -84
- data/tools/admin/BlockWidget-CuefOin6-b962c353c9f0eebc7117.js +0 -2
- data/tools/admin/CanvasdotWidget-6wuCSnw_-7a088d1c0dab274586f1.js +0 -1
- data/tools/admin/CanvaslabelWidget-CQZCeohU-e4296f8d11d95bf27acd.js +0 -1
- data/tools/admin/CanvaslineWidget-nTP3fJB4-9766cead6e6c429a7994.js +0 -1
- data/tools/admin/CheckbuttonWidget-5-8YDsQL-66299903b9cda3bd6623.js +0 -1
- data/tools/admin/ComboboxWidget-DzBL8h9f-f7b29907644dd0f506de.js +0 -1
- data/tools/admin/DateWidget-CW7Od7lB-adfa70f44dccea31a863.js +0 -1
- data/tools/admin/Graph-3rkhFP3G-6869b66611e6318604a7.js +0 -1
- data/tools/admin/HorizontalboxWidget-Br8dSVHD-d4aab2761ca77fa24390.js +0 -1
- data/tools/admin/HorizontallineWidget-CbxREBYI-ba4ec78147ff36e4335d.js +0 -1
- data/tools/admin/ImageviewerWidget-XrsqxmLo-9d5e7238e3c5ecd8748c.js +0 -1
- data/tools/admin/InterfacesTab-DAeNlGlB-e1c02697b38318186672.js +0 -1
- data/tools/admin/LabelledWidget-C7TDf92M-b20b3274d1d4e3403870.js +0 -1
- data/tools/admin/LabelprogressbarWidget-wwLURt1u-a3f647cb3382587c6885.js +0 -1
- data/tools/admin/LabelsparklineWidget-B3awLUyP-ef73c33807cdf20c1632.js +0 -1
- data/tools/admin/LabelvaluelimitscolumnWidget-BTvzyQMq-4ee9e762abc78c9e5e22.js +0 -1
- data/tools/admin/LedWidget-CxJjJBBS-956a4190d5e60484cfa9.js +0 -1
- data/tools/admin/LinegraphWidget-BtieJxeL-a423148ceca6c5ff74e5.js +0 -1
- data/tools/admin/OutputDialog-Ci5OT_fH-68240dca0ee2eb272d32.js +0 -1
- data/tools/admin/RadiobuttonWidget-QzIkNP7m-959594855f51f05f1572.js +0 -1
- data/tools/admin/RedisTab-CVimDkIE-975b87301f5a5bcafa9c.js +0 -1
- data/tools/admin/RoutersTab-Dki_66av-ce7a2a94f241858d86d6.js +0 -1
- data/tools/admin/ScrollwindowWidget-CBzYk4Y3-20a2b344d6594be94af9.js +0 -1
- data/tools/admin/SettingsTab-Bo_dYXgb-b0ac92a82847e85fa46f.js +0 -2
- data/tools/admin/SpacerWidget-6rsc_dSM-5d0821a4a5e5cc101d3a.js +0 -1
- data/tools/admin/TabbookWidget-DNALU0jl-cc4c87c03bc6b35b8920.js +0 -1
- data/tools/admin/TextboxWidget-5hqPj74D-603dfe11a4dc847120f1.js +0 -1
- data/tools/admin/TimeWidget-C6XQMUG2-3bd332a4cb0aac40e4ec.js +0 -1
- data/tools/admin/TitleWidget-B9SPUlbW-d60e09a2b1e080a21e01.js +0 -1
- data/tools/admin/ValueWidget-D4RrYVEK-c14156e71f8c70447418.js +0 -1
- data/tools/admin/ValuelimitsbarWidget-Bc9_Vj_f-5cefd3afaa0f3983b22f.js +0 -1
- data/tools/admin/ValuelimitscolumnWidget-DHKIL7sf-5f23f60b788a106ce9ac.js +0 -1
- data/tools/admin/ValuerangebarWidget-CecQRIok-c389d01eb001b34d9382.js +0 -1
- data/tools/admin/VerticalboxWidget-B4eGUSYH-8e7497fac1b85d79028a.js +0 -1
- data/tools/admin/main-89bee744bbd6e4811043.js +0 -1432
data/tools/admin/main.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
System.register(["vue","./main-
|
1
|
+
System.register(["vue","./main-fbb6d24d6c6c7aea815c.js","vue-router","single-spa","vuex","vuetify"],function(t,e){"use strict";return{setters:[null,u=>{t({bootstrap:u.f,mount:u.g,unmount:u.u})},null,null,null,null],execute:function(){}}});
|
metadata
CHANGED
@@ -1,15 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: openc3-cosmos-tool-admin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.
|
4
|
+
version: 6.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Melton
|
8
8
|
- Jason Thomas
|
9
|
-
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
13
12
|
dependencies: []
|
14
13
|
description: " This plugin adds the OpenC3 COSMOS Administrative interface tool\n"
|
15
14
|
email:
|
@@ -23,91 +22,90 @@ files:
|
|
23
22
|
- README.md
|
24
23
|
- Rakefile
|
25
24
|
- plugin.txt
|
26
|
-
- tools/admin/ArrayWidget-
|
27
|
-
- tools/admin/ArrayplotWidget-
|
28
|
-
- tools/admin/BarColumn-
|
29
|
-
- tools/admin/BlockWidget-
|
30
|
-
- tools/admin/ButtonWidget-
|
31
|
-
- tools/admin/CanvasWidget-
|
32
|
-
- tools/admin/CanvasdotWidget-
|
33
|
-
- tools/admin/CanvasimageWidget-
|
34
|
-
- tools/admin/CanvasimagevalueWidget-
|
35
|
-
- tools/admin/CanvaslabelWidget-
|
36
|
-
- tools/admin/CanvaslabelvalueWidget-
|
37
|
-
- tools/admin/CanvaslineWidget-
|
38
|
-
- tools/admin/CanvaslinevalueWidget-
|
39
|
-
- tools/admin/CheckbuttonWidget-
|
40
|
-
- tools/admin/ComboboxWidget-
|
41
|
-
- tools/admin/DateWidget-
|
42
|
-
- tools/admin/DetailsDialog-
|
43
|
-
- tools/admin/DynamicWidget-
|
44
|
-
- tools/admin/FormatvalueWidget-
|
45
|
-
- tools/admin/Graph-
|
46
|
-
- tools/admin/GraphWidget-
|
47
|
-
- tools/admin/HorizontalWidget-
|
48
|
-
- tools/admin/HorizontalboxWidget-
|
49
|
-
- tools/admin/HorizontallineWidget-
|
50
|
-
- tools/admin/IframeWidget-
|
51
|
-
- tools/admin/ImageLoader-
|
52
|
-
- tools/admin/ImageviewerWidget-
|
53
|
-
- tools/admin/InterfacesTab-
|
54
|
-
- tools/admin/LabelWidget-
|
55
|
-
- tools/admin/LabelledWidget-
|
56
|
-
- tools/admin/LabelprogressbarWidget-
|
57
|
-
- tools/admin/LabelsparklineWidget-
|
58
|
-
- tools/admin/LabelvalueWidget-
|
59
|
-
- tools/admin/LabelvaluedescWidget-
|
60
|
-
- tools/admin/LabelvaluelimitsbarWidget-
|
61
|
-
- tools/admin/LabelvaluelimitscolumnWidget-
|
62
|
-
- tools/admin/LabelvaluerangebarWidget-
|
63
|
-
- tools/admin/Layout-
|
64
|
-
- tools/admin/LedWidget-
|
65
|
-
- tools/admin/LimitsbarWidget-
|
66
|
-
- tools/admin/LimitscolorWidget-
|
67
|
-
- tools/admin/LimitscolumnWidget-
|
68
|
-
- tools/admin/LinegraphWidget-
|
69
|
-
- tools/admin/MatrixbycolumnsWidget-
|
70
|
-
- tools/admin/MicroservicesTab-
|
71
|
-
- tools/admin/OutputDialog-
|
72
|
-
- tools/admin/PackagesTab-
|
73
|
-
- tools/admin/PluginsTab-
|
74
|
-
- tools/admin/ProgressbarWidget-
|
75
|
-
- tools/admin/RadiobuttonWidget-
|
76
|
-
- tools/admin/RadiogroupWidget-
|
77
|
-
- tools/admin/RangebarWidget-
|
78
|
-
- tools/admin/RedisTab-
|
79
|
-
- tools/admin/RollupWidget-
|
80
|
-
- tools/admin/RoutersTab-
|
81
|
-
- tools/admin/ScrollwindowWidget-
|
82
|
-
- tools/admin/SecretsTab-
|
83
|
-
- tools/admin/SettingsTab-
|
84
|
-
- tools/admin/SignalWidget-
|
85
|
-
- tools/admin/SimpleTextDialog-
|
86
|
-
- tools/admin/SpacerWidget-
|
87
|
-
- tools/admin/SparklineWidget-
|
88
|
-
- tools/admin/TabbookWidget-
|
89
|
-
- tools/admin/TargetsTab-
|
90
|
-
- tools/admin/TextboxWidget-
|
91
|
-
- tools/admin/TextfieldWidget-
|
92
|
-
- tools/admin/TimeWidget-
|
93
|
-
- tools/admin/TitleWidget-
|
94
|
-
- tools/admin/ToolsTab-
|
95
|
-
- tools/admin/VWidget-
|
96
|
-
- tools/admin/ValueWidget-
|
97
|
-
- tools/admin/ValuelimitsbarWidget-
|
98
|
-
- tools/admin/ValuelimitscolumnWidget-
|
99
|
-
- tools/admin/ValuerangebarWidget-
|
100
|
-
- tools/admin/VerticalWidget-
|
101
|
-
- tools/admin/VerticalboxWidget-
|
102
|
-
- tools/admin/Widget-
|
103
|
-
- tools/admin/main-
|
25
|
+
- tools/admin/ArrayWidget-BbsN1dzF-45b3f0b1b85d0816b4d6.js
|
26
|
+
- tools/admin/ArrayplotWidget-CCKEyYIx-c2e9f297af8994f10499.js
|
27
|
+
- tools/admin/BarColumn-C6p07yWK-7ae551032c38dd002d95.js
|
28
|
+
- tools/admin/BlockWidget-DlCHbqZX-d57a3ba05924d0dc73ce.js
|
29
|
+
- tools/admin/ButtonWidget-CtfJzCBR-15be1cfe08491243621a.js
|
30
|
+
- tools/admin/CanvasWidget-CqRlXc4r-79ff690f6ab0548bac3b.js
|
31
|
+
- tools/admin/CanvasdotWidget--Xr_KsZs-5a996c74c5a7ef6bfffa.js
|
32
|
+
- tools/admin/CanvasimageWidget-BPlj5QYK-d8e96ebe13755da5ca94.js
|
33
|
+
- tools/admin/CanvasimagevalueWidget-DVFGLt8f-382d16c4c919b192bb21.js
|
34
|
+
- tools/admin/CanvaslabelWidget-CYNqmyP0-d63731e0f2c639a94217.js
|
35
|
+
- tools/admin/CanvaslabelvalueWidget-B7yIDmsn-da8a435cddcb14c4220d.js
|
36
|
+
- tools/admin/CanvaslineWidget-BICdxX0Q-e6d7b79766b82eb0aa5f.js
|
37
|
+
- tools/admin/CanvaslinevalueWidget-Cq-Ddh0P-dd25267d6fe776a0eb4d.js
|
38
|
+
- tools/admin/CheckbuttonWidget-B74AWeaW-e5eac04dabbe8e75a50f.js
|
39
|
+
- tools/admin/ComboboxWidget-CtyKbEWb-a3645988bb8f618c30b7.js
|
40
|
+
- tools/admin/DateWidget-BEVSczU8-a8f6e93811962f188e0e.js
|
41
|
+
- tools/admin/DetailsDialog-DmEC5BTs-f202c65b40d62e0a0258.js
|
42
|
+
- tools/admin/DynamicWidget-CfMtj7H8-5d1fe4151a3a13875e72.js
|
43
|
+
- tools/admin/FormatvalueWidget-DN12xymS-a183974bad17bb7102f9.js
|
44
|
+
- tools/admin/Graph-Bgo0cjl3-b73fb6638f6aac6b1a30.js
|
45
|
+
- tools/admin/GraphWidget-DurWDmpg-ebee4b7d87defdaf5d8f.js
|
46
|
+
- tools/admin/HorizontalWidget-Cd_wl1b3-fba8f18453014a0565ad.js
|
47
|
+
- tools/admin/HorizontalboxWidget-BcMTFBU--324c3dc4fd5e49eab722.js
|
48
|
+
- tools/admin/HorizontallineWidget-CXFqHclf-7ca376904e3068703325.js
|
49
|
+
- tools/admin/IframeWidget-BPerHCCa-3abc66888f871f2424e0.js
|
50
|
+
- tools/admin/ImageLoader-4N-7Gj61-d96791fc6c7c24e20145.js
|
51
|
+
- tools/admin/ImageviewerWidget-Cw_H_HmZ-abc4b56b182850c2b4b0.js
|
52
|
+
- tools/admin/InterfacesTab-B4glsR9Z-d5c7b16796e27515e044.js
|
53
|
+
- tools/admin/LabelWidget-xrmcVeq8-894f83570ba8b552e75c.js
|
54
|
+
- tools/admin/LabelledWidget-D48QoyMk-9c821f58c796d7ea4c9b.js
|
55
|
+
- tools/admin/LabelprogressbarWidget-C_950t6g-5966ce8bbecbd42abbc8.js
|
56
|
+
- tools/admin/LabelsparklineWidget-0KXQyPoU-3930edb58cf690a58dd4.js
|
57
|
+
- tools/admin/LabelvalueWidget-CQ06wWDK-330aee93b235b971e95c.js
|
58
|
+
- tools/admin/LabelvaluedescWidget-Bo8zT01X-e92f203c5cc5204caebd.js
|
59
|
+
- tools/admin/LabelvaluelimitsbarWidget-BucTw8Yk-ef66fe7faa51e1c7fc96.js
|
60
|
+
- tools/admin/LabelvaluelimitscolumnWidget-Dflb1hNd-bb82c73da598c7e933c6.js
|
61
|
+
- tools/admin/LabelvaluerangebarWidget-D8cbfXFM-92fab7f5051516ce528f.js
|
62
|
+
- tools/admin/Layout-Tf--nruw-e15025d3ca9d03d87e1b.js
|
63
|
+
- tools/admin/LedWidget-qH_FthkK-a5e74d98a22307a883a8.js
|
64
|
+
- tools/admin/LimitsbarWidget-B9lAB2RD-96157ffc116593888b48.js
|
65
|
+
- tools/admin/LimitscolorWidget-c6Qa6su7-c2b237b1468b716361cd.js
|
66
|
+
- tools/admin/LimitscolumnWidget-CcLs_443-944fa38b9446f615b635.js
|
67
|
+
- tools/admin/LinegraphWidget-BSVYLFo1-27291b3efda84e682c36.js
|
68
|
+
- tools/admin/MatrixbycolumnsWidget-DXFpZTre-1ca1fd46ec81aa27bdea.js
|
69
|
+
- tools/admin/MicroservicesTab-mCdS0v39-72fa5667b8c938eb27e1.js
|
70
|
+
- tools/admin/OutputDialog-zVPZiZay-5273ae10027e2cc87949.js
|
71
|
+
- tools/admin/PackagesTab-SWcXumpK-e5ccc20003b13ccdbc6e.js
|
72
|
+
- tools/admin/PluginsTab-B64OvayB-be8b8a771af3d6802e37.js
|
73
|
+
- tools/admin/ProgressbarWidget-iYGw8-Dc-d9aad79edecffa90902a.js
|
74
|
+
- tools/admin/RadiobuttonWidget-ytmoVZ3u-3b94c9dfedbb30542025.js
|
75
|
+
- tools/admin/RadiogroupWidget-CusMBhKH-ee1c8dc1c59df58fd825.js
|
76
|
+
- tools/admin/RangebarWidget-D_zGTtCa-7d82a5779754daf85f09.js
|
77
|
+
- tools/admin/RedisTab-CyPo6ADN-aa1a495b5fb6171666f5.js
|
78
|
+
- tools/admin/RollupWidget-Dolsixyt-199f99293bbff747842b.js
|
79
|
+
- tools/admin/RoutersTab-Cs2dFVNA-aa50a4a447fca3f826bf.js
|
80
|
+
- tools/admin/ScrollwindowWidget-DV2nZuNi-2918384639e5b480f5b0.js
|
81
|
+
- tools/admin/SecretsTab-DVyyyGlG-4344d670cf905ab60969.js
|
82
|
+
- tools/admin/SettingsTab-g29K6FyC-fc78aa7aefc9b0f48986.js
|
83
|
+
- tools/admin/SignalWidget-d9-6h85k-e129c862ab2e2862b245.js
|
84
|
+
- tools/admin/SimpleTextDialog-pwN8oRy1-2e2addd7ce31747515d9.js
|
85
|
+
- tools/admin/SpacerWidget-BH0p2OLi-b5ab05a35a2d859ed908.js
|
86
|
+
- tools/admin/SparklineWidget-coxi9r2g-8feb089ce863bd78d520.js
|
87
|
+
- tools/admin/TabbookWidget-B1XKplGH-73f77b706b86971b4ebc.js
|
88
|
+
- tools/admin/TargetsTab-BkBkXn9A-8425521e65f5456c008e.js
|
89
|
+
- tools/admin/TextboxWidget-C-_M2M4l-b9bef00f2cfe98fb3bf1.js
|
90
|
+
- tools/admin/TextfieldWidget-C08N4JE8-af5bb035574b2bdb1e55.js
|
91
|
+
- tools/admin/TimeWidget-DtwdEcFg-d89f9fbaa3072936e270.js
|
92
|
+
- tools/admin/TitleWidget-CT-aLcNb-f3785ae131a4a7667761.js
|
93
|
+
- tools/admin/ToolsTab-NveeVXz2-a2a58dfa69fac13c80e8.js
|
94
|
+
- tools/admin/VWidget-DQqb7NVW-878e082a9a9ab2278496.js
|
95
|
+
- tools/admin/ValueWidget-C6RanBj3-da5499cb68372d5227fc.js
|
96
|
+
- tools/admin/ValuelimitsbarWidget-B3bvjfxc-fad1586e079efff45c2c.js
|
97
|
+
- tools/admin/ValuelimitscolumnWidget-QvhI6EcE-b6e11e56e8ab9113b662.js
|
98
|
+
- tools/admin/ValuerangebarWidget-Dt3K9BnC-4cb31018f254cafc9a8a.js
|
99
|
+
- tools/admin/VerticalWidget-BIIViZgI-bbb379db718beaa2bc28.js
|
100
|
+
- tools/admin/VerticalboxWidget-DY72fLHW-69a1841223e1274653e7.js
|
101
|
+
- tools/admin/Widget-oyqWpFXJ-f34bf053b788271413fe.js
|
102
|
+
- tools/admin/main-fbb6d24d6c6c7aea815c.js
|
104
103
|
- tools/admin/main.js
|
105
104
|
homepage: https://github.com/OpenC3/cosmos
|
106
105
|
licenses:
|
107
106
|
- AGPL-3.0-only
|
108
107
|
- Nonstandard
|
109
108
|
metadata: {}
|
110
|
-
post_install_message:
|
111
109
|
rdoc_options: []
|
112
110
|
require_paths:
|
113
111
|
- lib
|
@@ -122,8 +120,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
122
120
|
- !ruby/object:Gem::Version
|
123
121
|
version: '0'
|
124
122
|
requirements: []
|
125
|
-
rubygems_version: 3.
|
126
|
-
signing_key:
|
123
|
+
rubygems_version: 3.6.7
|
127
124
|
specification_version: 4
|
128
125
|
summary: OpenC3 COSMOS Admin Tool
|
129
126
|
test_files: []
|
@@ -1,2 +0,0 @@
|
|
1
|
-
System.register(["./main-89bee744bbd6e4811043.js","vue","./DetailsDialog-BvbziA7Y-ee21a12298c291aba619.js","single-spa","./VWidget-C4spAawK-c884f9cea073da6d8ce9.js","vue-router","vuex","vuetify","./Widget-fRCERxGf-f53f0043a8d9f927971c.js"],function(D,F){"use strict";var u,r,m,h,s,p,g,o,w,f,v,x,y,C,k,V;return{setters:[e=>{u=e.s},e=>{r=e.resolveComponent,m=e.createElementBlock,h=e.openBlock,s=e.createVNode,p=e.normalizeStyle,g=e.normalizeClass,o=e.withCtx,w=e.Fragment,f=e.renderList,v=e.createBlock,x=e.withModifiers,y=e.createTextVNode,C=e.toDisplayString},e=>{k=e.P},null,e=>{V=e.L},null,null,null,null],execute:function(){const e={components:{DetailsDialog:k},data:function(){return{width:400,height:400,bytesPerWord:4,wordsPerRow:4,addrFormat:null,formatter:"%02X"}},mixins:[V],computed:{aging(){return{"--aging":this.grayLevel}},rows:function(){return(this.height-16)/24}},created:function(){this.width=this.setWidth(this.parameters[3],"px",this.width),this.height=this.setHeight(this.parameters[4],"px",this.height),this.parameters[5]&&(this.formatter=this.parameters[5]),this.parameters[6]&&(this.bytesPerWord=parseInt(this.parameters[6])),this.parameters[7]&&(this.wordsPerRow=parseInt(this.parameters[7])),this.parameters[8]&&(this.addrFormat=this.parameters[8])},methods:{getType:function(){let t="RAW";return this.parameters[9]&&(t=this.parameters[9]),t},formatValue:function(t){let a="";if(t&&t.raw){let P=" ",S=`
|
2
|
-
`,i=0,l=0;const d=this.bytesPerWord*this.wordsPerRow;for(const c of t.raw)this.addrFormat&&i===0&&(a+=sprintf(this.addrFormat,l),l+=d),a+=sprintf(this.formatter,c),i+=1,i%d===0?(i=0,a+=S):i%this.bytesPerWord===0&&(a+=P)}else a=t;return a}}},W={class:"block-widget-container"};function B(t,a,P,S,i,l){const d=r("v-textarea"),c=r("v-list-item-title"),M=r("v-list-item"),R=r("v-list"),_=r("v-menu"),b=r("details-dialog");return h(),m("div",W,[s(d,{variant:"solo",density:"compact",readonly:"","no-resize":"","hide-details":"",rows:l.rows,width:t.width,"model-value":t._value,class:g(t.valueClass),style:p([t.computedStyle,l.aging]),"data-test":"valueText",onContextmenu:t.showContextMenu},null,8,["rows","width","model-value","class","style","onContextmenu"]),s(_,{modelValue:t.contextMenuShown,"onUpdate:modelValue":a[0]||(a[0]=n=>t.contextMenuShown=n),target:[t.x,t.y]},{default:o(()=>[s(R,null,{default:o(()=>[(h(!0),m(w,null,f(t.contextMenuOptions,(n,z)=>(h(),v(M,{key:z,onClick:x(n.action,["stop"])},{default:o(()=>[s(c,null,{default:o(()=>[y(C(n.title),1)]),_:2},1024)]),_:2},1032,["onClick"]))),128))]),_:1})]),_:1},8,["modelValue","target"]),s(b,{"target-name":t.parameters[0],"packet-name":t.parameters[1],"item-name":t.parameters[2],modelValue:t.viewDetails,"onUpdate:modelValue":a[1]||(a[1]=n=>t.viewDetails=n)},null,8,["target-name","packet-name","item-name","modelValue"])])}const L=D("default",u(e,[["render",B],["__scopeId","data-v-4d4589c2"]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./Widget-fRCERxGf-f53f0043a8d9f927971c.js","vue","./main-89bee744bbd6e4811043.js","vue-router","single-spa","vuex","vuetify"],function(s,a){"use strict";var t,l,n,c;return{setters:[e=>{t=e.o},e=>{l=e.createElementBlock,n=e.openBlock},e=>{c=e.s},null,null,null,null],execute:function(){const e={mixins:[t]},u=["cx","cy","r","fill"];function i(r,f,m,p,x,v){return n(),l("circle",{cx:r.parameters[0],cy:r.parameters[1],r:r.parameters[3],fill:r.parameters[2]},null,8,u)}const o=s("default",c(e,[["render",i]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./Widget-fRCERxGf-f53f0043a8d9f927971c.js","vue","./main-89bee744bbd6e4811043.js","vue-router","single-spa","vuex","vuetify"],function(o,f){"use strict";var r,l,n,s,i;return{setters:[e=>{r=e.o},e=>{l=e.createElementBlock,n=e.openBlock,s=e.toDisplayString},e=>{i=e.s},null,null,null,null],execute:function(){const e={mixins:[r],computed:{fillColor(){return this.parameters[3]?this.parameters[3]:"black"}}},a=["x","y","fill"];function u(t,m,x,y,g,c){return n(),l("text",{x:t.parameters[0],y:t.parameters[1],fill:c.fillColor},s(t.parameters[2]),9,a)}const p=o("default",i(e,[["render",u]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./Widget-fRCERxGf-f53f0043a8d9f927971c.js","vue","./main-89bee744bbd6e4811043.js","vue-router","single-spa","vuex","vuetify"],function(i,p){"use strict";var l,s,n,a,c;return{setters:[e=>{l=e.o},e=>{s=e.createElementBlock,n=e.openBlock,a=e.normalizeStyle},e=>{c=e.s},null,null,null,null],execute:function(){const e={mixins:[l],computed:{calcStyle(){let t="black";this.parameters[4]&&(t=this.parameters[4]);let r=1;return this.parameters[5]&&(r=this.parameters[5]),"stroke:"+t+";stroke-width:"+r}}},u=["x1","y1","x2","y2"];function o(t,r,f,x,k,m){return n(),s("line",{x1:t.parameters[0],y1:t.parameters[1],x2:t.parameters[2],y2:t.parameters[3],style:a(m.calcStyle)},null,12,u)}const y=i("default",c(e,[["render",o]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./Widget-fRCERxGf-f53f0043a8d9f927971c.js","vue","./main-89bee744bbd6e4811043.js","vue-router","single-spa","vuex","vuetify"],function(c,h){"use strict";var t,a,n,s,o,r;return{setters:[e=>{t=e.o},e=>{a=e.resolveComponent,n=e.createBlock,s=e.openBlock,o=e.normalizeStyle},e=>{r=e.s},null,null,null,null],execute:function(){const e={mixins:[t],data(){return{items:[],label:"Checkbox",value:!1}},created(){this.label=this.parameters[0],this.parameters[1]&&(this.value=!0)},methods:{checked(){return this.value}}};function i(d,u,f,k,l,y){const m=a("v-checkbox");return s(),n(m,{"hide-details":"",density:"compact",label:l.label,modelValue:l.value,"onUpdate:modelValue":u[0]||(u[0]=v=>l.value=v),style:o(d.computedStyle)},null,8,["label","modelValue","style"])}const p=c("default",r(e,[["render",i]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./Widget-fRCERxGf-f53f0043a8d9f927971c.js","vue","./main-89bee744bbd6e4811043.js","vue-router","single-spa","vuex","vuetify"],function(i,p){"use strict";var l,s,n,o,r,u;return{setters:[e=>{l=e.o},e=>{s=e.resolveComponent,n=e.createBlock,o=e.openBlock,r=e.normalizeStyle},e=>{u=e.s},null,null,null,null],execute:function(){const e={mixins:[l],data(){return{items:[],value:null}},created(){this.value=this.parameters[0],this.items=this.parameters},methods:{text(){return this.value}}};function c(m,a,f,h,t,x){const v=s("v-select");return o(),n(v,{"hide-details":"",density:"compact",variant:"outlined",items:t.items,modelValue:t.value,"onUpdate:modelValue":a[0]||(a[0]=d=>t.value=d),style:r(m.computedStyle)},null,8,["items","modelValue","style"])}const y=i("default",u(e,[["render",c]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./Widget-fRCERxGf-f53f0043a8d9f927971c.js","./main-89bee744bbd6e4811043.js","vue","vue-router","single-spa","vuex","vuetify"],function(d,p){"use strict";var l,a,n,s,r,u,o;return{setters:[e=>{l=e.o},e=>{a=e.s,n=e.P},e=>{s=e.resolveComponent,r=e.createBlock,u=e.openBlock,o=e.normalizeStyle},null,null,null,null],execute:function(){const e={mixins:[l,n],data(){return{label:"Date",dateValue:""}},created(){this.parameters[0]&&(this.label=this.parameters[0]),this.dateValue=this.formatDate(new Date,this.screenTimeZone)},methods:{text(){return this.dateValue},date(){return this.dateValue}}};function c(m,i,v,y,t,x){const h=s("v-text-field");return u(),r(h,{modelValue:t.dateValue,"onUpdate:modelValue":i[0]||(i[0]=f=>t.dateValue=f),label:t.label,style:o(m.computedStyle),type:"date","hide-details":""},null,8,["modelValue","label","style"])}const V=d("default",a(e,[["render",c]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./main-89bee744bbd6e4811043.js","vue"],function(le,De){"use strict";var $,A,j,M,F,J,H,W,B,h,Y,w,Q,i,b,I,s,S,ee,x,T,m,N,E,te,ie,q,ae,se;return{setters:[p=>{$=p.s,A=p.P,j=p.N,M=p.A,F=p.R,J=p.O,H=p.l,W=p.$,B=p.e},p=>{h=p.resolveComponent,Y=p.createElementBlock,w=p.openBlock,Q=p.withModifiers,i=p.createVNode,b=p.createBlock,I=p.createCommentVNode,s=p.withCtx,S=p.withDirectives,ee=p.normalizeClass,x=p.createElementVNode,T=p.mergeProps,m=p.createTextVNode,N=p.vShow,E=p.toDisplayString,te=p.normalizeProps,ie=p.guardReactiveProps,q=p.withKeys,ae=p.Fragment,se=p.renderList}],execute:function(){const p={props:{modelValue:Boolean,title:{type:String,required:!0},legendPosition:{type:String,required:!0},items:{type:Array,required:!0},graphMinY:{type:Number},graphMaxY:{type:Number},lines:{type:Array,required:!0},colors:{type:Array,required:!0},startDateTime:{type:Number},endDateTime:{type:Number},timeZone:{type:String,required:!0}},mixins:[A],data:function(){return{tab:0,graph:{},legendPositions:["top","bottom","left","right"],startDate:null,startTime:null,endDate:null,endTime:null,lineHeaders:[{title:"Y Value",value:"yValue"},{title:"Color",value:"color"},{title:"Actions",value:"actions",sortable:!1}],itemHeaders:[{title:"Target Name",value:"targetName"},{title:"Packet Name",value:"packetName"},{title:"Item Name",value:"itemName"},{title:"Actions",value:"actions",sortable:!1}],rules:{date:t=>{if(!t)return!0;try{return W(B(t,"yyyy-MM-dd",new Date))||"Invalid date (YYYY-MM-DD)"}catch{return"Invalid date (YYYY-MM-DD)"}},time:t=>{if(!t)return!0;try{return W(B(t,"HH:mm:ss",new Date))||"Invalid time (HH:MM:SS)"}catch{return"Invalid time (HH:MM:SS)"}}}}},computed:{show:{get(){return this.modelValue},set(t){this.$emit("update:modelValue",t)}},editItems:function(){if(!this.items)return[];let t=0;return this.items.map(e=>(t+=1,{...e,itemId:t}))}},created(){if(this.graph={title:this.title,legendPosition:this.legendPosition,items:this.items,graphMinY:this.graphMinY,graphMaxY:this.graphMaxY,lines:[...this.lines]},this.startDateTime){let t=H(this.startDateTime/1e6);this.startDate=this.formatDate(t,this.timeZone),this.startTime=this.formatTimeHMS(t,this.timeZone)}else{let t=new Date-36e5;this.startDate=this.formatDate(t,this.timeZone),this.startTime=this.formatTimeHMS(t,this.timeZone)}if(this.endDateTime){let t=H(this.endDateTime/1e6);this.endDate=this.formatDate(t,this.timeZone),this.endTime=this.formatTimeHMS(t,this.timeZone)}},methods:{closeOk(){this.startDate&&this.startTime?this.graph.startDateTime=this.startDate+" "+this.startTime:this.graph.startDateTime=null,this.endDate&&this.endTime?this.graph.endDateTime=this.endDate+" "+this.endTime:this.graph.endDateTime=null,this.$emit("ok",this.graph)},addLine(){this.graph.lines.push({yValue:0,color:"white"})},removeLine(t){let e=this.graph.lines.indexOf(t);this.graph.lines.splice(e,1)}}},re={class:"edit-box"},oe={class:"edit-box"},ne={class:"edit-box"},de={class:"edit-box"};function he(t,e,a,u,l,r){const n=h("v-spacer"),o=h("v-toolbar"),v=h("v-tab"),g=h("v-tabs"),y=h("v-text-field"),D=h("v-card-text"),_=h("v-col"),V=h("v-select"),f=h("v-row"),z=h("v-tabs-window-item"),U=h("v-btn"),R=h("v-list-item"),k=h("v-icon"),C=h("v-tooltip"),G=h("v-list"),L=h("v-data-table"),Z=h("v-tabs-window"),K=h("v-card-actions"),d=h("v-card"),P=h("v-dialog");return w(),b(P,{modelValue:r.show,"onUpdate:modelValue":e[12]||(e[12]=c=>r.show=c),onKeydown:e[13]||(e[13]=q(c=>t.$emit("cancel"),["esc"])),"max-width":"700"},{default:s(()=>[i(o,{height:"24"},{default:s(()=>[i(n),e[14]||(e[14]=x("span",null," Edit Graph ",-1)),i(n)]),_:1}),i(d,{class:"pa-3"},{default:s(()=>[i(g,{modelValue:t.tab,"onUpdate:modelValue":e[0]||(e[0]=c=>t.tab=c),class:"ml-3"},{default:s(()=>[i(v,{value:"0"},{default:s(()=>e[15]||(e[15]=[m(" Settings ")])),_:1}),i(v,{value:"1"},{default:s(()=>e[16]||(e[16]=[m(" Scale / Lines ")])),_:1}),i(v,{value:"2"},{default:s(()=>e[17]||(e[17]=[m(" Items ")])),_:1})]),_:1},8,["modelValue"]),i(Z,{modelValue:t.tab,"onUpdate:modelValue":e[10]||(e[10]=c=>t.tab=c)},{default:s(()=>[i(z,{value:"0",eager:""},{default:s(()=>[x("div",re,[i(f,null,{default:s(()=>[i(_,null,{default:s(()=>[i(D,{class:"pa-0"},{default:s(()=>[i(y,{class:"pb-2",label:"Title",modelValue:t.graph.title,"onUpdate:modelValue":e[1]||(e[1]=c=>t.graph.title=c),"hide-details":""},null,8,["modelValue"])]),_:1})]),_:1}),i(_,null,{default:s(()=>[i(V,{label:"Legend Position","hide-details":"",items:t.legendPositions,modelValue:t.graph.legendPosition,"onUpdate:modelValue":e[2]||(e[2]=c=>t.graph.legendPosition=c),style:{"max-width":"280px"}},null,8,["items","modelValue"])]),_:1})]),_:1})]),x("div",oe,[i(D,{class:"pa-0"},{default:s(()=>e[18]||(e[18]=[m(" Select a start date/time for the graph. Leave blank for start now. ")])),_:1}),i(f,null,{default:s(()=>[i(_,null,{default:s(()=>[i(y,{label:"Start Date",name:`date${Date.now()}`,rules:[t.rules.date],modelValue:t.startDate,"onUpdate:modelValue":e[3]||(e[3]=c=>t.startDate=c),type:"date"},null,8,["name","rules","modelValue"])]),_:1}),i(_,null,{default:s(()=>[i(y,{label:"Start Time",name:`time${Date.now()}`,rules:[t.rules.time],modelValue:t.startTime,"onUpdate:modelValue":e[4]||(e[4]=c=>t.startTime=c),type:"time",step:"1"},null,8,["name","rules","modelValue"])]),_:1})]),_:1}),i(D,{class:"pa-0"},{default:s(()=>e[19]||(e[19]=[m(" Select a end date/time for the graph. Leave blank for continuous real-time graphing. ")])),_:1}),i(f,null,{default:s(()=>[i(_,null,{default:s(()=>[i(y,{label:"End Date",name:`date${Date.now()}`,rules:[t.rules.date],modelValue:t.endDate,"onUpdate:modelValue":e[5]||(e[5]=c=>t.endDate=c),type:"date"},null,8,["name","rules","modelValue"])]),_:1}),i(_,null,{default:s(()=>[i(y,{label:"End Time",name:`time${Date.now()}`,rules:[t.rules.time],modelValue:t.endTime,"onUpdate:modelValue":e[6]||(e[6]=c=>t.endTime=c),type:"time",step:"1"},null,8,["name","rules","modelValue"])]),_:1})]),_:1})])]),_:1}),i(z,{value:"1",eager:""},{default:s(()=>[x("div",ne,[i(D,{class:"pa-0"},{default:s(()=>e[20]||(e[20]=[m(" Set a min or max Y value to override automatic scaling ")])),_:1}),i(f,{dense:""},{default:s(()=>[i(_,{class:"px-2"},{default:s(()=>[i(y,{"hide-details":"",label:"Min Y Axis (Optional)",modelValue:t.graph.graphMinY,"onUpdate:modelValue":e[7]||(e[7]=c=>t.graph.graphMinY=c),type:"number"},null,8,["modelValue"])]),_:1}),i(_,{class:"px-2"},{default:s(()=>[i(y,{"hide-details":"",label:"Max Y Axis (Optional)",modelValue:t.graph.graphMaxY,"onUpdate:modelValue":e[8]||(e[8]=c=>t.graph.graphMaxY=c),type:"number"},null,8,["modelValue"])]),_:1})]),_:1})]),x("div",de,[i(G,{density:"compact",class:"horizontal-lines"},{default:s(()=>[i(R,null,{default:s(()=>[e[22]||(e[22]=x("span",{style:{"padding-top":"5px"}}," Add horizontal lines to the graph ",-1)),i(n),i(U,{onClick:e[9]||(e[9]=c=>r.addLine())},{default:s(()=>e[21]||(e[21]=[m(" New Line ")])),_:1})]),_:1}),(w(!0),Y(ae,null,se(t.graph.lines,(c,X)=>(w(),b(R,{key:X,value:c,color:"primary"},{default:s(()=>[i(f,null,{default:s(()=>[i(_,null,{default:s(()=>[i(y,{label:"Y Value",modelValue:c.yValue,"onUpdate:modelValue":O=>c.yValue=O},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),i(_,null,{default:s(()=>[i(V,{label:"Color","hide-details":"",items:a.colors,modelValue:c.color,"onUpdate:modelValue":O=>c.color=O},null,8,["items","modelValue","onUpdate:modelValue"])]),_:2},1024),i(_,null,{default:s(()=>[i(C,{text:"Remove",location:"top"},{activator:s(({props:O})=>[i(k,T({ref_for:!0},O,{style:{padding:"30px"},onClick:ke=>r.removeLine(c)}),{default:s(()=>e[23]||(e[23]=[m("mdi-delete")])),_:2},1040,["onClick"])]),_:2},1024)]),_:2},1024)]),_:2},1024)]),_:2},1032,["value"]))),128))]),_:1})])]),_:1}),i(z,{value:"2",eager:""},{default:s(()=>[i(L,{"item-key":"itemId",class:"elevation-1 my-2","data-test":"edit-graph-items",headers:t.itemHeaders,items:r.editItems,"items-per-page":5,"footer-props":{"items-per-page-options":[5]}},{"item.actions":s(({item:c})=>[i(C,{text:"Remove",location:"top"},{activator:s(({props:X})=>[i(k,T(X,{onClick:O=>t.$emit("remove",c)}),{default:s(()=>e[24]||(e[24]=[m(" mdi-delete ")])),_:2},1040,["onClick"])]),_:2},1024)]),"no-data":s(()=>e[25]||(e[25]=[x("span",null," Currently no items on this graph ",-1)])),_:1},8,["headers","items"])]),_:1})]),_:1},8,["modelValue"]),i(K,{class:"px-2"},{default:s(()=>[i(n),i(U,{variant:"outlined",onClick:e[11]||(e[11]=c=>t.$emit("cancel"))},{default:s(()=>e[26]||(e[26]=[m(" Cancel ")])),_:1}),i(U,{variant:"flat",onClick:r.closeOk},{default:s(()=>e[27]||(e[27]=[m(" Ok ")])),_:1},8,["onClick"])]),_:1})]),_:1})]),_:1},8,["modelValue"])}const ue=$(p,[["render",he]]),me={props:{modelValue:Boolean,item:{type:Object,required:!0},colors:{type:Array,required:!0}},data:function(){return{editItem:null,limitsName:"NONE",limits:{NONE:[]},valueTypes:["CONVERTED","RAW"],reduction:[{title:"NONE",value:"DECOM"},{title:"REDUCED_MINUTE",value:"REDUCED_MINUTE"},{title:"REDUCED_HOUR",value:"REDUCED_HOUR"},{title:"REDUCED_DAY",value:"REDUCED_DAY"}],reducedTypes:["MIN","MAX","AVG","STDDEV"]}},computed:{show:{get(){return this.modelValue},set(t){this.$emit("update:modelValue",t)}},limitsNames(){return Object.keys(this.limits)}},async created(){this.editItem={...this.item},new J().get_item(this.item.targetName,this.item.packetName,this.item.itemName).then(t=>{for(const[e,a]of Object.entries(t.limits))Object.keys(a).includes("red_low")&&(this.limits[e]=Object.values(a));this.limitsName=Object.keys(this.limits).find(e=>this.limits[e]+""==this.editItem.limits+"")})}},ce={key:0},pe={class:"pa-3"};function ge(t,e,a,u,l,r){const n=h("v-card-title"),o=h("v-select"),v=h("v-card-text"),g=h("v-spacer"),y=h("v-btn"),D=h("v-card-actions"),_=h("v-card"),V=h("v-dialog");return w(),b(V,{modelValue:r.show,"onUpdate:modelValue":e[9]||(e[9]=f=>r.show=f),width:"400",onKeydown:e[10]||(e[10]=q(f=>t.success(),["enter"]))},{default:s(()=>[i(_,null,{default:s(()=>[i(n,{class:"mb-2"},{default:s(()=>e[11]||(e[11]=[m("Edit Item")])),_:1}),i(v,null,{default:s(()=>[i(o,{variant:"outlined","hide-details":"",label:"Value Type",items:t.valueTypes,modelValue:t.editItem.valueType,"onUpdate:modelValue":e[0]||(e[0]=f=>t.editItem.valueType=f),class:"mb-2"},null,8,["items","modelValue"]),i(o,{variant:"outlined","hide-details":"",label:"Reduction",items:t.reduction,modelValue:t.editItem.reduced,"onUpdate:modelValue":e[1]||(e[1]=f=>t.editItem.reduced=f),class:"mb-2"},null,8,["items","modelValue"]),i(o,{variant:"outlined","hide-details":"",label:"Reduced Type",items:t.reducedTypes,disabled:t.editItem.reduced==="DECOM",modelValue:t.editItem.reducedType,"onUpdate:modelValue":e[2]||(e[2]=f=>t.editItem.reducedType=f),class:"mb-2"},null,8,["items","disabled","modelValue"]),i(o,{variant:"outlined","hide-details":"",label:"Color",items:a.colors,modelValue:t.editItem.color,"onUpdate:modelValue":[e[3]||(e[3]=f=>t.editItem.color=f),e[4]||(e[4]=f=>t.$emit("changeColor",f))],class:"mb-2"},null,8,["items","modelValue"]),r.limitsNames.length>1?(w(),Y("div",ce,[i(o,{variant:"outlined","hide-details":"",label:"Display Limits",items:r.limitsNames,modelValue:t.limitsName,"onUpdate:modelValue":[e[5]||(e[5]=f=>t.limitsName=f),e[6]||(e[6]=f=>t.$emit("changeLimits",t.limits[t.limitsName]))]},null,8,["items","modelValue"]),x("div",pe,E(t.limitsName)+": "+E(t.limits[t.limitsName]),1)])):I("",!0)]),_:1}),i(D,{class:"px-2"},{default:s(()=>[i(g),i(y,{variant:"outlined",onClick:e[7]||(e[7]=f=>t.$emit("cancel"))},{default:s(()=>e[12]||(e[12]=[m(" Cancel ")])),_:1}),i(y,{variant:"flat",onClick:e[8]||(e[8]=f=>t.$emit("close",t.editItem))},{default:s(()=>e[13]||(e[13]=[m(" Ok ")])),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue"])}const fe=$(me,[["render",ge]]),ve={components:{GraphEditDialog:ue,GraphEditItemDialog:fe},props:{id:{type:Number,required:!0},selectedGraphId:{type:Number},state:{type:String,required:!0},startTime:{type:Number},secondsGraphed:{type:Number,required:!0},pointsSaved:{type:Number,required:!0},pointsGraphed:{type:Number,required:!0},refreshIntervalMs:{type:Number,default:200},hideToolbar:{type:Boolean,default:!1},hideOverview:{type:Boolean,default:!1},sparkline:{type:Boolean,default:!1},initialItems:{type:Array},height:{type:Number},width:{type:Number},timeZone:{type:String,default:"local"}},mixins:[A],data(){return{lines:[],active:!0,expand:!0,fullWidth:!0,fullHeight:!0,graph:null,editGraph:!1,editGraphMenu:!1,editGraphMenuX:0,editGraphMenuY:0,editItem:!1,itemMenu:!1,itemMenuX:0,itemMenuY:0,legendMenu:!1,legendMenuX:0,legendMenuY:0,legendPosition:"bottom",selectedItem:null,hideToolbarData:this.hideToolbar,showOverview:!this.hideOverview,hideOverviewData:this.hideOverview,title:"",overview:null,data:[[]],dataChanged:!1,timeout:null,graphMinY:null,graphMaxY:null,graphStartDateTime:null,graphEndDateTime:null,indexes:{},items:this.initialItems||[],limitsValues:[],drawInterval:null,zoomChart:!1,zoomOverview:!1,cable:new F,subscription:null,needToUpdate:!1,errorDialog:!1,errors:[],colorIndex:0,colors:["#00c7cb","#938bdb","#4dacff","lime","darkorange","red","gold","hotpink","tan","cyan","maroon","blue","teal","purple","green","brown","lightblue","white","black"]}},computed:{calcFullSize:function(){return this.fullWidth||this.fullHeight},error:function(){return this.errorDialog&&this.errors.length>0?JSON.stringify(this.errors,null,4):null}},created(){this.title=`Graph ${this.id}`;for(const[t,e]of this.items.entries())this.data.push([]),this.indexes[this.subscriptionKey(e)]=t+1,e.color===void 0&&(e.color=this.colors[this.colorIndex]),this.colorIndex++,this.colorIndex===this.colors.length&&(this.colorIndex=0)},mounted(){const{chartSeries:t,overviewSeries:e}=this.items.reduce((u,l)=>{const r={spanGaps:!0};return u.chartSeries.push({...r,item:l,label:this.formatLabel(l),stroke:(n,o)=>this.items[o-1].color,width:2,value:(n,o)=>typeof o=="string"||isNaN(o)?"NaN":o==null?"--":o.toFixed(3)}),u.overviewSeries.push({...r}),u},{chartSeries:[],overviewSeries:[]});let a={};if(this.sparkline)this.hideToolbarData=!0,this.hideOverviewData=!0,this.showOverview=!1,a={width:this.width,height:this.height,pxAlign:!1,cursor:{show:!1},select:{show:!1},legend:{show:!1},scales:{x:{time:!1}},axes:[{show:!1},{show:!1}],series:[{},{stroke:"white"}]},this.graph=new M(a,this.data,document.getElementById(`chart${this.id}`));else{let u=Intl.DateTimeFormat().resolvedOptions().timeZone;this.timeZone&&this.timeZone!=="local"&&(u=this.timeZone),a={...this.getSize("chart"),...this.getScales(),...this.getAxes("chart"),plugins:[this.linesPlugin()],tzDate:r=>M.tzDate(new Date(r*1e3),u),series:[{label:"Time",value:(r,n)=>n==null?"--":this.formatSeconds(n,this.timeZone)},...t],cursor:{drag:{x:!0,y:!1},sync:{key:"openc3"},bind:{mouseup:(r,n,o)=>v=>{this.state==="pause"&&r.select.width===0&&this.$emit("start"),o(v)}}},hooks:{setScale:[(r,n)=>{if(n==="x"&&!this.zoomOverview&&this.overview){this.zoomChart=!0;let o=Math.round(this.overview.valToPos(r.scales.x.min,"x")),v=Math.round(this.overview.valToPos(r.scales.x.max,"x"));this.overview.setSelect({left:o,width:v-o}),this.zoomChart=!1}}],setSelect:[r=>{this.state==="start"&&r.select.width>0&&this.$emit("pause")}],ready:[r=>{r.root.querySelector(".u-over").addEventListener("contextmenu",o=>{o.preventDefault(),this.itemMenu=!1,this.legendMenu=!1,this.editGraphMenuX=o.clientX,this.editGraphMenuY=o.clientY,this.editGraphMenu=!0});let n=r.root.querySelector(".u-legend");n.addEventListener("contextmenu",o=>{o.preventDefault(),this.editGraphMenu=!1,this.legendMenu=!1,this.itemMenuX=o.clientX,this.itemMenuY=o.clientY;let v=o.target.closest(".u-series"),g=Array.prototype.slice.call(n.childNodes[0].childNodes).indexOf(v),y=r.series[g];y.item?(this.selectedItem=y.item,this.itemMenu=!0):(this.itemMenu=!1,this.legendMenuX=o.clientX,this.legendMenuY=o.clientY,this.legendMenu=!0)}),n.querySelector("tbody").appendChild(this.$refs.info)}]}},this.graph=new M(a,this.data,document.getElementById(`chart${this.id}`));const l={...this.getSize("overview"),...this.getScales(),...this.getAxes("overview"),tzDate:r=>M.tzDate(new Date(r*1e3),u),series:[...e],cursor:{y:!1,drag:{setScale:!1,x:!0,y:!1}},legend:{show:!1},hooks:{setSelect:[r=>{if(!this.zoomChart){this.state==="start"&&r.select.width>0&&this.$emit("pause"),this.zoomOverview=!0;let n=r.posToVal(r.select.left,"x"),o=r.posToVal(r.select.left+r.select.width,"x");this.graph.setScale("x",{min:n,max:o}),this.zoomOverview=!1}}]}};this.overview=new M(l,this.data,document.getElementById(`overview${this.id}`)),this.moveLegend(this.legendPosition),window.addEventListener("resize",this.resize)}this.state!=="stop"&&this.startGraph()},beforeUnmount:function(){this.stopGraph(),this.cable.disconnect(),window.removeEventListener("resize",this.resize)},watch:{state:function(t,e){switch(t){case"start":e==="stop"&&this.startGraph();break;case"stop":this.stopGraph();break}},data:function(t,e){this.dataChanged=!0},graphMinY:function(t,e){let a=parseFloat(t);isNaN(a)||(this.graphMinY=a),this.setGraphRange()},graphMaxY:function(t,e){let a=parseFloat(t);isNaN(a)||(this.graphMaxY=a),this.setGraphRange()},graphStartDateTime:function(t,e){t&&typeof t=="string"?(this.graphStartDateTime=this.parseDateTime(this.graphStartDateTime,this.timeZone)*1e6,this.graphStartDateTime!==e&&(this.needToUpdate=!0)):t===null&&e&&(this.graphStartDateTime=null,this.needToUpdate=!0)},graphEndDateTime:function(t,e){t&&typeof t=="string"?(this.graphEndDateTime=this.parseDateTime(this.graphEndDateTime,this.timeZone)*1e6,this.graphEndDateTime!==e&&(this.needToUpdate=!0)):t===null&&e&&(this.graphEndDateTime=null,this.needToUpdate=!0)}},methods:{startGraph:function(){this.subscribe(),this.timeout=setTimeout(()=>{this.updateTimeout()},this.refreshIntervalMs)},stopGraph:function(){this.subscription&&(this.subscription.unsubscribe(),this.subscription=null),this.timeout&&(clearTimeout(this.timeout),this.timeout=null)},updateTimeout:function(){this.updateGraphData(),this.timeout=setTimeout(()=>{this.updateTimeout()},this.refreshIntervalMs)},updateGraphData:function(){if(this.state==="pause"||!this.dataChanged)return;this.graph.setData(this.data),this.overview&&this.overview.setData(this.data);let t=this.data[0][this.data[0].length-1],e=this.data[0][this.data[0].length-this.pointsGraphed],a=this.data[0][0];a<t-this.secondsGraphed&&(a=t-this.secondsGraphed),e>a&&(a=e),this.graph.setScale("x",{min:a,max:t}),this.dataChanged=!1},formatLabel(t){if(t.valueType==="CONVERTED"&&t.reduced==="DECOM")return t.itemName;{let e="";return t.valueType!=="CONVERTED"&&(e+=t.valueType),t.reduced!=="DECOM"&&(e!==""&&(e+=" "),e+=`${t.reduced.split("_")[1]} ${t.reducedType}`),`${t.itemName} (${e})`}},moveLegend:function(t){switch(t){case"bottom":this.graph.root.classList.remove("side-legend"),this.graph.root.classList.remove("left-legend"),this.graph.root.classList.remove("top-legend");break;case"top":this.graph.root.classList.remove("side-legend"),this.graph.root.classList.remove("left-legend"),this.graph.root.classList.add("top-legend");break;case"left":this.graph.root.classList.remove("top-legend"),this.graph.root.classList.add("side-legend"),this.graph.root.classList.add("left-legend");break;case"right":this.graph.root.classList.remove("top-legend"),this.graph.root.classList.remove("left-legend"),this.graph.root.classList.add("side-legend");break}this.legendPosition=t,this.resize()},clearErrors:function(){this.errors=[]},editGraphClose:function(t){this.editGraph=!1,this.title=t.title,this.legendPosition=t.legendPosition,this.graphMinY=t.graphMinY,this.graphMaxY=t.graphMaxY,this.lines=[...t.lines],this.graphStartDateTime=t.startDateTime,this.graphEndDateTime=t.endDateTime,this.$nextTick(()=>{if(this.needToUpdate){if(this.subscription==null)this.startGraph();else{let e=JSON.parse(JSON.stringify(this.items));this.removeItems(e),setTimeout(()=>{this.addItems(e)},0)}this.needToUpdate=!1}}),this.moveLegend(this.legendPosition),this.$emit("edit")},resize:function(){this.graph.setSize(this.getSize("chart")),this.overview&&this.overview.setSize(this.getSize("overview")),this.$emit("resize",this.id)},expandAll:function(){this.fullWidth=!0,this.fullHeight=!0,this.resize()},collapseAll:function(){this.fullWidth=!1,this.fullHeight=!1,this.resize()},expandWidth:function(){this.fullWidth=!0,this.resize()},collapseWidth:function(){this.fullWidth=!1,this.resize()},expandHeight:function(){this.fullHeight=!0,this.resize()},collapseHeight:function(){this.fullHeight=!1,this.resize()},minMaxTransition:function(){this.expand=!this.expand,this.$emit("min-max-graph",this.id)},setGraphRange:function(){let t=.1;(this.graphMinY||this.graphMinY===0||this.graphMaxY||this.graphMaxY===0)&&(t=0),this.graph.scales.y.range=(e,a,u)=>{let l=a;(this.graphMinY||this.graphMinY===0)&&(l=this.graphMinY);let r=u;return(this.graphMaxY||this.graphMaxY===0)&&(r=this.graphMaxY),M.rangeNum(l,r,t,!0)}},subscribe:function(){this.cable.createSubscription("StreamingChannel",window.openc3Scope,{received:t=>this.received(t),connected:()=>{this.addItemsToSubscription(this.items)},disconnected:t=>{t.allowReconnect&&this.errors.push({type:"disconnected",message:"OpenC3 backend connection disconnected",time:new Date().getTime()})},rejected:()=>{this.errors.push({type:"rejected",message:"OpenC3 backend connection rejected",time:new Date().getTime()})}}).then(t=>{this.subscription=t})},getSize:function(t){let e=0;const a=document.getElementById("openc3-nav-drawer");a&&(e=a.classList.contains("v-navigation-drawer--active")?a.clientWidth:0);let u=0;(this.legendPosition==="right"||this.legendPosition==="left")&&(u=document.getElementsByClassName("u-legend")[0].clientWidth);const l=Math.max(document.documentElement.clientWidth,window.innerWidth||0)-e-u,r=Math.max(document.documentElement.clientHeight,window.innerHeight||0),n=document.getElementsByClassName("v-expansion-panel")[0];let o=100;t==="overview"?this.fullHeight&&!this.hideOverviewData?this.showOverview=!0:this.showOverview=!1:(o=r-n.clientHeight-o-250,this.fullHeight||(o=o/2+10));let v=l-70;return this.fullWidth||(v=v/2-12),{width:this.width||v,height:this.height||o}},getScales:function(){return{scales:{x:{range(t,e,a){return e==null?[1566453600,1566497660]:[e,a]}},y:{range(t,e,a){return e==null?[-100,100]:M.rangeNum(e,a,.1,!0)}}}}},getAxes:function(t){let e="rgba(255, 255, 255, .1)",a="white";return{axes:[{stroke:a,grid:{show:!0,stroke:e,width:2}},{size:80,stroke:a,grid:{show:t!=="overview",stroke:e,width:2},values(u,l){return(l.some(r=>r>=1e7)||l.every(r=>r<.01))&&(l=l.map(r=>r.toExponential(3))),l}}]}},closeEditItem:function(t){this.editItem=!1,(this.graphEndDateTime!==null&&this.selectedItem!==t||this.selectedItem.valueType!==t.valueType||this.selectedItem.reduced!==t.reduced||this.selectedItem.reducedType!==t.reducedType)&&this.changeItem(t)},changeColor:function(t){let e=this.subscriptionKey(this.selectedItem),a=this.indexes[e];this.items[a-1].color=t,this.selectedItem.color=t,this.graph.root.querySelectorAll(".u-marker")[a].style.borderColor=t},changeLimits:function(t){let e=this.subscriptionKey(this.selectedItem),a=this.indexes[e];this.items[a-1].limits=t,this.selectedItem.limits=t,this.limitsValues=t},linesPlugin:function(){return{hooks:{draw:t=>{const{ctx:e,bbox:a}=t,u=t.valToPos(t.scales.y.min,"y",!0),l=t.valToPos(t.scales.y.max,"y",!0),r=t.valToPos(this.limitsValues[0],"y",!0),n=t.valToPos(this.limitsValues[1],"y",!0),o=t.valToPos(this.limitsValues[2],"y",!0),v=t.valToPos(this.limitsValues[3],"y",!0);if(this.lines.forEach(g=>{t.scales.y.min<=g.yValue&&g.yValue<=t.scales.y.max&&(e.save(),e.beginPath(),e.strokeStyle=g.color,e.lineWidth=2,e.moveTo(a.left,t.valToPos(g.yValue,"y",!0)),e.lineTo(a.left+a.width,t.valToPos(g.yValue,"y",!0)),e.stroke(),e.restore())}),e.save(),e.beginPath(),e.fillStyle="rgba(255,0,0,0.15)",t.scales.y.min<this.limitsValues[0]){let g=r<l?l:r;e.fillRect(a.left,r,a.width,u-g)}if(t.scales.y.max>this.limitsValues[3]){let g=u<v?u:v;e.fillRect(a.left,l,a.width,g-l)}if(e.fillStyle="rgba(255,255,0,0.15)",t.scales.y.min<this.limitsValues[1]&&t.scales.y.max>this.limitsValues[0]){let g=n<l?l:n;e.fillRect(a.left,g,a.width,r-g)}if(t.scales.y.max>this.limitsValues[2]&&t.scales.y.min<this.limitsValues[3]){let g=u<v?u:v,y=u<o?u:o;e.fillRect(a.left,g,a.width,y-g)}if(e.fillStyle="rgba(0,255,0,0.15)",this.limitsValues.length===4){if(t.scales.y.min<this.limitsValues[2]&&t.scales.y.max>this.limitsValues[1]){let g=o<l?l:o,y=u<n?u:n;e.fillRect(a.left,g,a.width,y-g)}}else{const g=t.valToPos(this.limitsValues[4],"y",!0),y=t.valToPos(this.limitsValues[5],"y",!0);if(t.scales.y.min<this.limitsValues[4]&&t.scales.y.max>this.limitsValues[1]){let V=g<l?l:g;e.fillRect(a.left,V,a.width,n-V)}if(t.scales.y.max>this.limitsValues[5]&&t.scales.y.min<this.limitsValues[2]){let V=u<o?u:o,f=u<y?u:y;e.fillRect(a.left,V,a.width,f-V)}e.fillStyle="rgba(0,0,255,0.15)";let D=y<l?l:y,_=u<g?u:g;e.fillRect(a.left,D,a.width,_-D)}e.stroke(),e.restore()}}}},changeItem:function(t){this.removeItems([this.selectedItem]),this.selectedItem.valueType=t.valueType,this.selectedItem.reduced=t.reduced,this.selectedItem.reducedType=t.reducedType,setTimeout(()=>{this.addItems([this.selectedItem])},0)},addItems:function(t,e="CONVERTED"){t.forEach(a=>{a.valueType||(a.valueType=e),a.color||(a.color=this.colors[this.colorIndex]),a.limits||(a.limits=[]),a.limits.length>0&&(this.limitsValues=a.limits),this.colorIndex=(this.colorIndex+1)%this.colors.length,this.items.push(a);const u=this.data.length;this.graph.addSeries(this.createSeriesConfig(a),u),this.overview&&this.overview.addSeries(this.createOverviewSeriesConfig(),u),this.data.splice(u,0,Array(this.data[0].length)),this.indexes[this.subscriptionKey(a)]=u}),this.updateColorIndex(t),this.addItemsToSubscription(t),this.$emit("resize"),this.$emit("edit")},createSeriesConfig:function(t){return{spanGaps:!0,item:t,label:this.formatLabel(t),stroke:(e,a)=>this.items[a-1].color,width:2,value:(e,a)=>typeof a=="string"||isNaN(a)?"NaN":a==null?"--":Math.abs(a)<.01&&a!==0||Math.abs(a)>=1e7?a.toExponential(6):a.toFixed(6)}},createOverviewSeriesConfig:function(){return{spanGaps:!0,stroke:(t,e)=>this.items[e-1].color}},updateColorIndex:function(t){const e=t[t.length-1];if(e){const a=this.colors.indexOf(e.color);a!==-1&&(this.colorIndex=(a+1)%this.colors.length)}},addItemsToSubscription:function(t=this.items){let e=this.startTime;this.graphStartDateTime&&(e=this.graphStartDateTime),this.subscription&&OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity).then(a=>{a&&OpenC3Auth.setTokens(),this.subscription.perform("add",{scope:window.openc3Scope,token:localStorage.openc3Token,items:t.map(this.subscriptionKey),start_time:e,end_time:this.graphEndDateTime})})},clearAllData:function(){this.data[0]=[],this.clearData(this.items)},clearData:function(t){for(const e of t.map(this.subscriptionKey)){let a=this.indexes[e];this.data[a]=Array(this.data[0].length).fill(null),this.graph.setData(this.data),this.overview&&this.overview.setData(this.data)}this.data.length===2&&(this.data[0]=[],this.graph.setData(this.data),this.overview.setData(this.data))},removeItems:function(t){this.removeItemsFromSubscription(t);for(const e of t.map(this.subscriptionKey)){const a=this.reorderIndexes(e);this.items.splice(a-1,1),this.data.splice(a,1),this.graph.delSeries(a),this.graph.setData(this.data),this.overview&&(this.overview.delSeries(a),this.overview.setData(this.data))}this.data.length===1&&(this.data[0]=[],this.graph.setData(this.data),this.overview.setData(this.data)),this.$emit("resize"),this.$emit("edit")},removeItemsFromSubscription:function(t=this.items){this.subscription&&this.subscription.perform("remove",{scope:window.openc3Scope,token:localStorage.openc3Token,items:t.map(this.subscriptionKey)})},reorderIndexes:function(t){let e=this.indexes[t];delete this.indexes[t];for(let a in this.indexes)this.indexes[a]>e&&(this.indexes[a]-=1);return e},received:function(t){this.cable.recordPing();for(let e=0;e<t.length;e++){let a=t[e].__time/1e9,u=t[0].length;if(u===0||a>t[0][u-1]){for(let l=0;l<this.data.length;l++)this.data[l].push(null);this.set_data_at_index(this.data[0].length-1,a,t[e])}else{let l=j(this.data[0],a,this.bs_comparator);if(l>=0)this.set_data_at_index(l,a,t[e]);else{let r=-l-1;for(let n=0;n<this.data.length;n++)this.data[n].splice(r,0,null);this.set_data_at_index(r,a,t[e])}}}if(this.startTime==null&&this.data[0][0]){let e=this.data[0][0]*1e9;this.$emit("started",e)}this.dataChanged=!0},bs_comparator:function(t,e){return t-e},set_data_at_index:function(t,e,a){this.data[0][t]=e;for(const[u,l]of Object.entries(a)){if(u==="time")continue;let r=this.indexes[u];if(r){let n=this.data[r];if(l!=null&&l.raw)n[t]=null;else if(typeof l=="string"){if(n[t]=null,!u.includes("__RAW")){for(let o of this.items)if(this.subscriptionKey(o)===u){this.selectedItem=o;break}this.changeItem({valueType:"RAW",reduced:this.selectedItem.reduced,reducedType:this.selectedItem.reducedType})}}else n[t]=l}}},subscriptionKey:function(t){let e=`${t.reduced}__TLM__${t.targetName}__${t.packetName}__${t.itemName}__${t.valueType}`;return(t.reduced==="REDUCED_MINUTE"||t.reduced==="REDUCED_HOUR"||t.reduced==="REDUCED_DAY")&&(e+=`__${t.reducedType}`),e}}},ye={class:"mx-2"},we={class:"pa-1",id:"chart",ref:"chart"},xe=["id"],be=["id"],_e={key:5,class:"u-series",ref:"info"};function Te(t,e,a,u,l,r){const n=h("v-icon"),o=h("v-tooltip"),v=h("v-spacer"),g=h("v-toolbar"),y=h("v-expand-transition"),D=h("v-card"),_=h("graph-edit-dialog"),V=h("v-text-field"),f=h("v-row"),z=h("v-textarea"),U=h("v-btn"),R=h("v-dialog"),k=h("v-list-item-title"),C=h("v-list-item"),G=h("v-list"),L=h("v-menu"),Z=h("graph-edit-item-dialog"),K=h("v-list-subheader");return w(),Y("div",{onClick:e[21]||(e[21]=Q(d=>t.$emit("click"),["prevent"]))},[i(D,null,{default:s(()=>[S(i(g,{height:"24",class:ee(["pl-2 pr-2",a.selectedGraphId===a.id?"active":""])},{default:s(()=>[S(x("div",ye,[i(o,{text:"Errors",location:"top"},{activator:s(({props:d})=>[i(n,T(d,{onClick:e[0]||(e[0]=P=>l.errorDialog=!0)}),{default:s(()=>e[22]||(e[22]=[m(" mdi-alert ")])),_:2},1040)]),_:1})],512),[[N,l.errors.length!==0]]),i(o,{text:"Edit",location:"top"},{activator:s(({props:d})=>[i(n,T(d,{onClick:e[1]||(e[1]=P=>l.editGraph=!0),"data-test":"edit-graph-icon"}),{default:s(()=>e[23]||(e[23]=[m(" mdi-pencil ")])),_:2},1040)]),_:1}),i(v),x("span",null,E(l.title),1),i(v),S(x("div",null,[r.calcFullSize?(w(),b(o,{key:0,text:"Collapse",location:"top"},{activator:s(({props:d})=>[i(n,T(d,{onClick:r.collapseAll,"data-test":"collapse-all"}),{default:s(()=>e[24]||(e[24]=[m(" mdi-arrow-collapse ")])),_:2},1040,["onClick"])]),_:1})):(w(),b(o,{key:1,text:"Expand",location:"top"},{activator:s(({props:d})=>[i(n,T(d,{onClick:r.expandAll,"data-test":"expand-all"}),{default:s(()=>e[25]||(e[25]=[m(" mdi-arrow-expand ")])),_:2},1040,["onClick"])]),_:1}))],512),[[N,l.expand]]),S(x("div",null,[l.fullWidth?(w(),b(o,{key:0,text:"Collapse Width",location:"top"},{activator:s(({props:d})=>[i(n,T(d,{onClick:r.collapseWidth,"data-test":"collapse-width"}),{default:s(()=>e[26]||(e[26]=[m(" mdi-arrow-collapse-horizontal ")])),_:2},1040,["onClick"])]),_:1})):(w(),b(o,{key:1,text:"Expand Width",location:"top"},{activator:s(({props:d})=>[i(n,T(d,{onClick:r.expandWidth,"data-test":"expand-width"}),{default:s(()=>e[27]||(e[27]=[m(" mdi-arrow-expand-horizontal ")])),_:2},1040,["onClick"])]),_:1}))],512),[[N,l.expand]]),S(x("div",null,[l.fullHeight?(w(),b(o,{key:0,text:"Collapse Height",location:"top"},{activator:s(({props:d})=>[i(n,T(d,{onClick:r.collapseHeight,"data-test":"collapse-height"}),{default:s(()=>e[28]||(e[28]=[m(" mdi-arrow-collapse-vertical ")])),_:2},1040,["onClick"])]),_:1})):(w(),b(o,{key:1,text:"Expand Height",location:"top"},{activator:s(({props:d})=>[i(n,T(d,{onClick:r.expandHeight,"data-test":"expand-height"}),{default:s(()=>e[29]||(e[29]=[m(" mdi-arrow-expand-vertical ")])),_:2},1040,["onClick"])]),_:1}))],512),[[N,l.expand]]),l.expand?(w(),b(o,{key:0,text:"Minimize",location:"top"},{activator:s(({props:d})=>[i(n,T(d,{onClick:r.minMaxTransition,"data-test":"minimize-screen-icon"}),{default:s(()=>e[30]||(e[30]=[m(" mdi-window-minimize ")])),_:2},1040,["onClick"])]),_:1})):(w(),b(o,{key:1,text:"Maximize",location:"top"},{activator:s(({props:d})=>[i(n,T(d,{onClick:r.minMaxTransition,"data-test":"maximize-screen-icon"}),{default:s(()=>e[31]||(e[31]=[m(" mdi-window-maximize ")])),_:2},1040,["onClick"])]),_:1})),i(o,{text:"Close",location:"top"},{activator:s(({props:d})=>[i(n,T(d,{onClick:e[2]||(e[2]=P=>t.$emit("close-graph")),"data-test":"close-graph-icon"}),{default:s(()=>e[32]||(e[32]=[m(" mdi-close-box ")])),_:2},1040)]),_:1})]),_:1},8,["class"]),[[N,!l.hideToolbarData]]),i(y,null,{default:s(()=>[S(x("div",we,[x("div",{id:`chart${a.id}`},null,8,xe),e[33]||(e[33]=x("div",{id:"betweenCharts"},null,-1)),S(x("div",{id:`overview${a.id}`},null,8,be),[[N,l.showOverview]])],512),[[N,l.expand]])]),_:1})]),_:1}),l.editGraph?(w(),b(_,{key:0,modelValue:l.editGraph,"onUpdate:modelValue":e[3]||(e[3]=d=>l.editGraph=d),title:l.title,"legend-position":l.legendPosition,items:l.items,"graph-min-y":l.graphMinY,"graph-max-y":l.graphMaxY,lines:l.lines,colors:l.colors,"start-date-time":l.graphStartDateTime,"end-date-time":l.graphEndDateTime,"time-zone":a.timeZone,onRemove:e[4]||(e[4]=d=>r.removeItems([d])),onOk:r.editGraphClose,onCancel:e[5]||(e[5]=d=>l.editGraph=!1)},null,8,["modelValue","title","legend-position","items","graph-min-y","graph-max-y","lines","colors","start-date-time","end-date-time","time-zone","onOk"])):I("",!0),i(R,{modelValue:l.errorDialog,"onUpdate:modelValue":e[7]||(e[7]=d=>l.errorDialog=d),"max-width":"600"},{default:s(()=>[i(g,{height:"24"},{default:s(()=>[i(v),e[34]||(e[34]=x("span",null," Errors ",-1)),i(v)]),_:1}),i(D,{class:"pa-3"},{default:s(()=>[i(f,{dense:""},{default:s(()=>[i(V,{readonly:"","hide-details":"",modelValue:l.title,"onUpdate:modelValue":e[6]||(e[6]=d=>l.title=d),class:"pb-2",label:"Graph Title"},null,8,["modelValue"])]),_:1}),i(f,{class:"my-3"},{default:s(()=>[i(z,{readonly:"",rows:"8",value:r.error},null,8,["value"])]),_:1}),i(f,null,{default:s(()=>[i(U,{block:"",onClick:r.clearErrors},{default:s(()=>e[35]||(e[35]=[m(" Clear ")])),_:1},8,["onClick"])]),_:1})]),_:1})]),_:1},8,["modelValue"]),l.editGraphMenu?(w(),b(L,{key:1,modelValue:l.editGraphMenu,"onUpdate:modelValue":e[9]||(e[9]=d=>l.editGraphMenu=d),target:[l.editGraphMenuX,l.editGraphMenuY],absolute:"","offset-y":""},{default:s(()=>[i(G,null,{default:s(()=>[i(C,{onClick:e[8]||(e[8]=d=>l.editGraph=!0)},{default:s(()=>[i(k,{style:{cursor:"pointer"}},{default:s(()=>[m(" Edit "+E(l.title),1)]),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue","target"])):I("",!0),l.editItem?(w(),b(Z,{key:2,modelValue:l.editItem,"onUpdate:modelValue":e[10]||(e[10]=d=>l.editItem=d),colors:l.colors,item:l.selectedItem,onChangeColor:r.changeColor,onChangeLimits:r.changeLimits,onCancel:e[11]||(e[11]=d=>l.editItem=!1),onClose:r.closeEditItem},null,8,["modelValue","colors","item","onChangeColor","onChangeLimits","onClose"])):I("",!0),l.itemMenu?(w(),b(L,{key:3,modelValue:l.itemMenu,"onUpdate:modelValue":e[15]||(e[15]=d=>l.itemMenu=d),target:[l.itemMenuX,l.itemMenuY],absolute:"","offset-y":""},{default:s(()=>[i(G,{nav:"",density:"compact"},{default:s(()=>[i(K,null,{default:s(()=>[m(E(l.selectedItem.targetName)+" "+E(l.selectedItem.packetName)+" "+E(l.selectedItem.itemName),1)]),_:1}),i(C,{onClick:e[12]||(e[12]=d=>l.editItem=!0)},{prepend:s(()=>[i(n,{icon:"mdi-pencil"})]),default:s(()=>[i(k,null,{default:s(()=>e[36]||(e[36]=[m(" Edit ")])),_:1})]),_:1}),i(C,{onClick:e[13]||(e[13]=d=>r.clearData([l.selectedItem]))},{prepend:s(()=>[i(n,{icon:"mdi-eraser"})]),default:s(()=>[i(k,null,{default:s(()=>e[37]||(e[37]=[m(" Clear ")])),_:1})]),_:1}),i(C,{onClick:e[14]||(e[14]=d=>r.removeItems([l.selectedItem]))},{prepend:s(()=>[i(n,{icon:"mdi-delete"})]),default:s(()=>[i(k,null,{default:s(()=>e[38]||(e[38]=[m(" Delete ")])),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue","target"])):I("",!0),l.legendMenu?(w(),b(L,{key:4,modelValue:l.legendMenu,"onUpdate:modelValue":e[20]||(e[20]=d=>l.legendMenu=d),target:[l.legendMenuX,l.legendMenuY],absolute:"","offset-y":""},{default:s(()=>[i(G,null,{default:s(()=>[i(C,{onClick:e[16]||(e[16]=d=>r.moveLegend("top"))},{default:s(()=>[i(k,{style:{cursor:"pointer"}},{default:s(()=>e[39]||(e[39]=[m(" Legend Top ")])),_:1})]),_:1}),i(C,{onClick:e[17]||(e[17]=d=>r.moveLegend("bottom"))},{default:s(()=>[i(k,{style:{cursor:"pointer"}},{default:s(()=>e[40]||(e[40]=[m(" Legend Bottom ")])),_:1})]),_:1}),i(C,{onClick:e[18]||(e[18]=d=>r.moveLegend("left"))},{default:s(()=>[i(k,{style:{cursor:"pointer"}},{default:s(()=>e[41]||(e[41]=[m(" Legend Left ")])),_:1})]),_:1}),i(C,{onClick:e[19]||(e[19]=d=>r.moveLegend("right"))},{default:s(()=>[i(k,{style:{cursor:"pointer"}},{default:s(()=>e[42]||(e[42]=[m(" Legend RIght ")])),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue","target"])):I("",!0),a.sparkline?I("",!0):(w(),Y("div",_e,[i(o,{text:"Click item to toggle, Right click to edit",location:"top"},{activator:s(({props:d})=>[i(n,te(ie(d)),{default:s(()=>e[43]||(e[43]=[m(" mdi-information-variant-circle ")])),_:2},1040)]),_:1})],512))])}const Ve=le("S",$(ve,[["render",Te],["__scopeId","data-v-c22a9887"]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./HorizontalWidget-D31NRWy5-f726d836b7dd777022b8.js","./Layout-Bh7VzCZd-e80015c167b538416f2a.js","vue","./main-89bee744bbd6e4811043.js","./Widget-fRCERxGf-f53f0043a8d9f927971c.js","vue-router","single-spa","vuex","vuetify"],function(m,x){"use strict";var r,i,n,l,o,s,a,c,u,p,d,g;return{setters:[e=>{r=e.default},e=>{i=e.r},e=>{n=e.resolveComponent,l=e.createElementBlock,o=e.openBlock,s=e.createVNode,a=e.normalizeStyle,c=e.withCtx,u=e.createTextVNode,p=e.toDisplayString,d=e.mergeProps},e=>{g=e.s},null,null,null,null,null],execute:function(){const e={mixins:[i],components:{HorizontalWidget:r}};function v(t,w,S,b,C,N){const y=n("v-banner"),f=n("horizontal-widget");return o(),l("div",null,[s(y,{class:"boxbanner",style:a(t.computedStyle),"single-line":""},{default:c(()=>[u(p(t.parameters[0]),1)]),_:1},8,["style"]),s(f,d(t.listeners,{parameters:t.parameters.slice(1),settings:t.appliedSettings,widgets:t.widgets,"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone,"screen-id":t.screenId}),null,16,["parameters","settings","widgets","screen-values","screen-time-zone","screen-id"])])}const z=m("default",g(e,[["render",v],["__scopeId","data-v-e9e6c14b"]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["vue","./main-89bee744bbd6e4811043.js","vue-router","single-spa","vuex","vuetify"],function(l,c){"use strict";var n,t,u;return{setters:[e=>{n=e.createElementBlock,t=e.openBlock},e=>{u=e.s},null,null,null,null],execute:function(){const e={};function r(o,i){return t(),n("hr")}const s=l("default",u(e,[["render",r]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./Widget-fRCERxGf-f53f0043a8d9f927971c.js","vue","./main-89bee744bbd6e4811043.js","vue-router","single-spa","vuex","vuetify"],function(l,o){"use strict";var a,s,n,r,i;return{setters:[e=>{a=e.o},e=>{s=e.createElementBlock,n=e.openBlock,r=e.normalizeStyle},e=>{i=e.s},null,null,null,null],execute:function(){const e={mixins:[a],data:function(){return{valueId:null,imageData:""}},computed:{src:function(){return`data:image/${this.parameters[3]};base64, ${this.screenValues[this.valueId][0]}`}},created:function(){this.valueId=`${this.parameters[0]}__${this.parameters[1]}__${this.parameters[2]}__CONVERTED`,this.$emit("addItem",this.valueId)},unmounted:function(){this.$emit("deleteItem",this.valueId)}},u=["src","alt","width","height"];function c(t,h,f,p,v,m){return n(),s("img",{src:m.src,alt:t.valueId,width:t.parameters[4],height:t.parameters[5],style:r(t.computedStyle)},null,12,u)}const d=l("default",i(e,[["render",c]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./main-89bee744bbd6e4811043.js","vue","single-spa","./OutputDialog-Ci5OT_fH-68240dca0ee2eb272d32.js","vue-router","vuex","vuetify"],function(V,b){"use strict";var p,u,t,c,r,o,f,g,n,h,v,d,m,C,k,w;return{setters:[e=>{p=e.s,u=e.E},e=>{t=e.resolveComponent,c=e.createElementBlock,r=e.openBlock,o=e.createVNode,f=e.createBlock,g=e.createCommentVNode,n=e.withCtx,h=e.Fragment,v=e.renderList,d=e.createTextVNode,m=e.toDisplayString,C=e.createElementVNode,k=e.mergeProps},null,e=>{w=e.J},null,null,null],execute:function(){const e={components:{OutputDialog:w},data(){return{interfaces:[],jsonContent:"",dialogTitle:"",showDialog:!1}},mounted(){this.update()},methods:{update(){u.get("/openc3-api/interfaces").then(l=>{this.interfaces=l.data})},showInterface(l){u.get(`/openc3-api/interfaces/${l}`).then(a=>{this.jsonContent=JSON.stringify(a.data,null," "),this.dialogTitle=l,this.showDialog=!0})},dialogCallback(l){this.showDialog=!1}}};function _(l,a,O,J,i,D){const y=t("v-list-item-title"),N=t("v-icon"),S=t("v-tooltip"),B=t("v-list-item"),T=t("v-divider"),j=t("v-list"),x=t("output-dialog");return r(),c("div",null,[o(j,{class:"list","data-test":"interfaceList"},{default:n(()=>[(r(!0),c(h,null,v(i.interfaces,s=>(r(),c("div",{key:s},[o(B,null,{append:n(()=>[o(S,{location:"top"},{activator:n(({props:E})=>[o(N,k({ref_for:!0},E,{onClick:L=>D.showInterface(s)}),{default:n(()=>a[1]||(a[1]=[d(" mdi-eye ")])),_:2},1040,["onClick"])]),default:n(()=>[a[2]||(a[2]=C("span",null,"Show Interface Details",-1))]),_:2},1024)]),default:n(()=>[o(y,null,{default:n(()=>[d(m(s),1)]),_:2},1024)]),_:2},1024),o(T)]))),128))]),_:1}),i.showDialog?(r(),f(x,{key:0,content:i.jsonContent,type:"Interface",name:i.dialogTitle,modelValue:i.showDialog,"onUpdate:modelValue":a[0]||(a[0]=s=>i.showDialog=s),onSubmit:D.dialogCallback},null,8,["content","name","modelValue","onSubmit"])):g("",!0)])}const I=V("default",p(e,[["render",_],["__scopeId","data-v-c01188b0"]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./Widget-fRCERxGf-f53f0043a8d9f927971c.js","./LabelWidget-t7I87dp7-152d5a9b96441cbd8510.js","./LedWidget-CxJjJBBS-956a4190d5e60484cfa9.js","vue","./main-89bee744bbd6e4811043.js","vue-router","single-spa","vuex","vuetify"],function(p,x){"use strict";var r,l,a,s,i,o,c,n,u,d;return{setters:[e=>{r=e.o},e=>{l=e.default},e=>{a=e.default},e=>{s=e.resolveComponent,i=e.createElementBlock,o=e.openBlock,c=e.normalizeStyle,n=e.createVNode,u=e.mergeProps},e=>{d=e.s},null,null,null,null],execute:function(){const e={mixins:[r],components:{LabelWidget:l,LedWidget:a},computed:{labelName(){return[this.parameters[2]+":"]}}};function g(t,b,w,y,B,m){const f=s("label-widget"),v=s("led-widget");return o(),i("div",{ref:"container",class:"d-flex flex-row",style:c(t.computedStyle)},[n(f,{parameters:m.labelName,settings:[...t.appliedSettings],"widget-index":0},null,8,["parameters","settings"]),n(v,u(t.$attrs,{parameters:t.parameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"widget-index":1}),null,16,["parameters","settings","screen-values"])],4)}const S=p("default",d(e,[["render",g]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./Widget-fRCERxGf-f53f0043a8d9f927971c.js","./LabelWidget-t7I87dp7-152d5a9b96441cbd8510.js","./ProgressbarWidget-DIfqhHRE-2775a9cde5a45b0de086.js","vue","./main-89bee744bbd6e4811043.js","vue-router","single-spa","vuex","vuetify"],function(g,y){"use strict";var n,l,a,s,o,i,c,r,u,p;return{setters:[e=>{n=e.o},e=>{l=e.default},e=>{a=e.default},e=>{s=e.resolveComponent,o=e.createElementBlock,i=e.openBlock,c=e.normalizeStyle,r=e.createVNode,u=e.mergeProps},e=>{p=e.s},null,null,null,null],execute:function(){const e={mixins:[n],components:{LabelWidget:l,ProgressbarWidget:a},computed:{labelName(){return[this.parameters[2]+":"]}}};function d(t,x,S,w,W,m){const f=s("label-widget"),v=s("progressbar-widget");return i(),o("div",{ref:"container",class:"d-flex flex-row",style:c(t.computedStyle)},[r(f,{parameters:m.labelName,settings:[...t.appliedSettings],"widget-index":0},null,8,["parameters","settings"]),r(v,u(t.$attrs,{parameters:t.parameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,style:t.computedStyle,"widget-index":1}),null,16,["parameters","settings","screen-values","style"])],4)}const b=g("default",p(e,[["render",d]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./Widget-fRCERxGf-f53f0043a8d9f927971c.js","./LabelWidget-t7I87dp7-152d5a9b96441cbd8510.js","./SparklineWidget-CZtvu2ss-588212b5617f199fcd2e.js","vue","./main-89bee744bbd6e4811043.js","vue-router","single-spa","vuex","vuetify","./GraphWidget-Dycey-mj-a42606ece40c58355625.js","./Graph-3rkhFP3G-6869b66611e6318604a7.js"],function(d,y){"use strict";var r,i,a,l,o,u,n,s,p;return{setters:[e=>{r=e.o},e=>{i=e.default},e=>{a=e.default},e=>{l=e.resolveComponent,o=e.createElementBlock,u=e.openBlock,n=e.normalizeStyle,s=e.createVNode},e=>{p=e.s},null,null,null,null,null,null],execute:function(){const e={mixins:[r],components:{LabelWidget:i,SparklineWidget:a},computed:{labelName(){return[this.parameters[2]+":"]}}};function c(t,b,v,k,x,m){const g=l("label-widget"),f=l("sparkline-widget");return u(),o("div",{ref:"container",class:"d-flex flex-row",style:n(t.computedStyle)},[s(g,{parameters:m.labelName,settings:[...t.appliedSettings],line:t.line,lineNumber:t.lineNumber,"widget-index":0},null,8,["parameters","settings","line","lineNumber"]),s(f,{parameters:t.parameters,settings:[...t.appliedSettings],style:n(t.computedStyle),"widget-index":1},null,8,["parameters","settings","style"])],4)}const S=d("default",p(e,[["render",c]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./LabelWidget-t7I87dp7-152d5a9b96441cbd8510.js","./ValueWidget-D4RrYVEK-c14156e71f8c70447418.js","./LimitscolumnWidget-Cc19IEjq-f2597f39e20f5fa18747.js","./Widget-fRCERxGf-f53f0043a8d9f927971c.js","vue","./main-89bee744bbd6e4811043.js","vue-router","single-spa","vuex","vuetify","./DetailsDialog-BvbziA7Y-ee21a12298c291aba619.js","./VWidget-C4spAawK-c884f9cea073da6d8ce9.js","./BarColumn-C9dkpg2O-e489648e1026c2be35d5.js"],function(d,w){"use strict";var i,r,a,u,s,o,c,m,n,l,g;return{setters:[e=>{i=e.default},e=>{r=e.default},e=>{a=e.default},e=>{u=e.o},e=>{s=e.resolveComponent,o=e.createElementBlock,c=e.openBlock,m=e.normalizeStyle,n=e.createVNode,l=e.mergeProps},e=>{g=e.s},null,null,null,null,null,null,null],execute:function(){const e={mixins:[u],components:{LabelWidget:i,ValueWidget:r,LimitscolumnWidget:a}};function p(t,W,b,V,x,C){const v=s("label-widget"),f=s("limitscolumn-widget"),j=s("value-widget");return c(),o("div",{ref:"container",style:m(t.computedStyle)},[n(v,{parameters:[t.parameters[2]],settings:[...t.appliedSettings],"widget-index":0},null,8,["parameters","settings"]),n(f,l(t.$attrs,{parameters:t.parameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"widget-index":2,line:t.line,lineNumber:t.lineNumber}),null,16,["parameters","settings","screen-values","line","lineNumber"]),n(j,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 +0,0 @@
|
|
1
|
-
System.register(["./Widget-fRCERxGf-f53f0043a8d9f927971c.js","vue","./main-89bee744bbd6e4811043.js","vue-router","single-spa","vuex","vuetify"],function(m,I){"use strict";var l,n,o,p,r,a,h,c,u;return{setters:[e=>{l=e.o},e=>{n=e.resolveComponent,o=e.createBlock,p=e.openBlock,r=e.withCtx,a=e.createElementVNode,h=e.toDisplayString,c=e.mergeProps},e=>{u=e.s},null,null,null,null],execute:function(){const e={mixins:[l],data(){return{valueId:null,colors:{TRUE:"openc3-green",FALSE:"openc3-red"}}},computed:{width(){return this.parameters[4]?parseInt(this.parameters[4]):20},height(){return this.parameters[5]?parseInt(this.parameters[5]):20},cssProps(){let t=this.screenValues[this.valueId][0],s=this.colors[t];return s||(s=this.colors.ANY),s||(s="openc3-black"),{"--color":s}},fullName(){return this.parameters[0]+" "+this.parameters[1]+" "+this.parameters[2]},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)}};function d(t,s,E,_,C,i){const v=n("v-tooltip");return p(),o(v,{location:"top"},{activator:r(({props:g})=>[a("div",c({class:i.getClass,style:[i.cssProps,t.computedStyle]},g),null,16)]),default:r(()=>[a("span",null,h(i.fullName),1)]),_:1})}const f=m("default",u(e,[["render",d],["__scopeId","data-v-393f2726"]]))}}});
|
@@ -1 +0,0 @@
|
|
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(h,u){"use strict";var i,n,r,a,o,l,d;return{setters:[t=>{i=t._},t=>{n=t.s},t=>{r=t.resolveComponent,a=t.createBlock,o=t.openBlock,l=t.normalizeStyle},t=>{d=t.S},null,null,null,null,null],execute:function(){const t={components:{Graph:d},mixins:[i]};function p(e,s,g,v,f,y){const c=r("graph");return o(),a(c,{ref:"graph"+e.id,id:e.id,state:e.state,"selected-graph-id":e.id,startTime:e.startTime,"seconds-graphed":e.secondsGraphed,"points-saved":e.pointsSaved,"points-graphed":e.pointsGraphed,"initial-items":e.items,height:e.size.height,width:e.size.width,style:l(e.computedStyle),"time-zone":this.screenTimeZone,onPause:s[0]||(s[0]=()=>e.state="pause"),onStart:s[1]||(s[1]=()=>e.state="start"),"hide-toolbar":"","hide-overview":""},null,8,["id","state","selected-graph-id","startTime","seconds-graphed","points-saved","points-graphed","initial-items","height","width","style","time-zone"])}const m=h("default",n(t,[["render",p]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./main-89bee744bbd6e4811043.js","vue"],function(x,N){"use strict";var f,i,_,s,b,y,a,r,c,k,M,v,m;return{setters:[n=>{f=n.s,i=n.b,_=n.O},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={data:{configKey:""},methods:{buildLanguageMode(t,e){let o=i.require("ace/lib/oop"),h=Object.getOwnPropertyNames(_.prototype).filter(d=>d!=="constructor").filter(d=>d!=="exec").concat(["check","check_raw","check_formatted","check_with_units","check_exception","check_tolerance","check_expression","wait","wait_tolerance","wait_expression","wait_check","wait_check_tolerance","wait_check_expression","wait_packet","wait_check_packet","disable_instrumentation","set_line_delay","get_line_delay","set_max_output","get_max_output"]),p=new RegExp(`(\\b${h.join("\\b|\\b")}\\b)`),l=function(){t.call(this);for(let d in this.$rules)this.$rules[d].unshift({regex:p,token:"support.function"})};o.inherits(l,t);let u=i.require("ace/mode/matching_brace_outdent").MatchingBraceOutdent,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"),O=s("v-card-text"),j=s("v-btn"),B=s("v-card-actions"),P=s("v-card"),S=s("v-dialog");return y(),b(S,{modelValue:l.show,"onUpdate:modelValue":e[1]||(e[1]=g=>l.show=g),width:"85vw"},{default:a(()=>[r(P,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(O,null,{default:a(()=>[c("pre",V,null,512)]),_:1}),r(B,{class:"pr-6 pb-4 pt-0"},{default:a(()=>[r(u),r(j,{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 H=x("J",f(q,[["render",C],["__scopeId","data-v-35a62559"]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./Widget-fRCERxGf-f53f0043a8d9f927971c.js","vue","./main-89bee744bbd6e4811043.js","vue-router","single-spa","vuex","vuetify"],function(o,d){"use strict";var l,t,n,r,a,s;return{setters:[e=>{l=e.o},e=>{t=e.resolveComponent,n=e.createBlock,r=e.openBlock,a=e.normalizeStyle},e=>{s=e.s},null,null,null,null],execute:function(){const e={props:{value:{type:Number}},mixins:[l],data(){return{label:"Radio"}},created(){this.label=this.parameters[0]}};function u(i,y,c,f,v,b){const p=t("v-radio");return r(),n(p,{"hide-details":"",dense:"",label:v.label,style:a(i.computedStyle),value:c.value},null,8,["label","style","value"])}const m=o("default",s(e,[["render",u]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./main-89bee744bbd6e4811043.js","vue","vue-router","single-spa","vuex","vuetify"],function(y,S){"use strict";var u,p,s,r,c,n,d,l,i,h,x;return{setters:[e=>{u=e.s,p=e.E},e=>{s=e.resolveComponent,r=e.createElementBlock,c=e.openBlock,n=e.createVNode,d=e.withCtx,l=e.createTextVNode,i=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(o){o.key==="Enter"&&this.executeRaw()},executeRaw:function(){this.redisResponse=null,p.post(this.redisEndpoint,{data:this.redisCommandText,headers:{Accept:"application/json","Content-Type":"plain/text"}}).then(o=>{this.redisResponse=o.data.result;let t="Ephemeral";this.redisEndpoint==="/openc3-api/redis/exec"&&(t="Persistent"),this.commands.unshift({redis:t,command:this.redisCommandText,response:this.redisResponse})})}}},R={key:0,class:"monospace"};function C(o,t,B,K,a,v){const E=s("v-card-title"),V=s("v-card-subtitle"),b=s("v-text-field"),w=s("v-card-text"),g=s("v-btn"),f=s("v-radio"),T=s("v-radio-group"),_=s("v-card-actions"),k=s("v-data-table"),N=s("v-card");return c(),r("div",null,[n(N,null,{default:d(()=>[n(E,null,{default:d(()=>t[2]||(t[2]=[l(" Send Raw Redis Commands ")])),_:1}),n(V,null,{default:d(()=>t[3]||(t[3]=[l(" THIS IS DANGEROUS. This allows you to interact directly with the underlying Redis database, making it easy to modify or delete data. "),i("br",null,null,-1),i("br",null,null,-1),l(" Enter commands like you would at the Redis cli prompt: "),i("code",null,"ping",-1),l(" or "),i("code",null,"hget openc3__settings version",-1)])),_:1}),n(w,{class:"pb-0 ml-2"},{default:d(()=>[n(b,{label:"Redis command",class:"monospace",modelValue:a.redisCommandText,"onUpdate:modelValue":t[0]||(t[0]=m=>a.redisCommandText=m),onKeydown:v.commandKeydown},null,8,["modelValue","onKeydown"]),a.redisResponse?(c(),r("span",R," Response: "+x(a.redisResponse),1)):h("",!0)]),_:1}),n(_,{class:"px-2"},{default:d(()=>[n(g,{disabled:!a.redisCommandText.length,onClick:v.executeRaw,color:"success",variant:"text"},{default:d(()=>t[4]||(t[4]=[l(" Execute ")])),_:1},8,["disabled","onClick"]),n(T,{modelValue:a.redisEndpoint,"onUpdate:modelValue":t[1]||(t[1]=m=>a.redisEndpoint=m),inline:"","hide-details":"",class:"mt-0"},{default:d(()=>[n(f,{label:"Persistent",value:"/openc3-api/redis/exec","data-test":"persistent-radio"}),n(f,{label:"Ephemeral",value:"/openc3-api/redis/exec?ephemeral=1","data-test":"ephemeral-radio"})]),_:1},8,["modelValue"])]),_:1}),n(k,{headers:a.headers,items:a.commands,class:"monospace","items-per-page":-1,"hide-default-footer":"",density:"compact",height:"45vh"},null,8,["headers","items"])]),_:1})])}const A=y("default",u(e,[["render",C],["__scopeId","data-v-28716ab0"]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./main-89bee744bbd6e4811043.js","vue","single-spa","./OutputDialog-Ci5OT_fH-68240dca0ee2eb272d32.js","vue-router","vuex","vuetify"],function(V,O){"use strict";var p,c,t,s,l,a,g,h,o,v,f,d,m,C,k,w;return{setters:[e=>{p=e.s,c=e.E},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,f=e.renderList,d=e.createTextVNode,m=e.toDisplayString,C=e.createElementVNode,k=e.mergeProps},null,e=>{w=e.J},null,null,null],execute:function(){const e={components:{OutputDialog:w},data(){return{routers:[],jsonContent:"",dialogTitle:"",showDialog:!1}},mounted(){this.update()},methods:{update(){c.get("/openc3-api/routers").then(r=>{this.routers=r.data})},add(){},showRouter(r){c.get(`/openc3-api/routers/${r}`).then(n=>{this.jsonContent=JSON.stringify(n.data,null," "),this.dialogTitle=r,this.showDialog=!0})},dialogCallback(r){this.showDialog=!1}}};function _(r,n,J,L,i,D){const y=t("v-list-item-title"),N=t("v-icon"),B=t("v-tooltip"),E=t("v-list-item"),S=t("v-divider"),T=t("v-list"),j=t("output-dialog");return l(),s("div",null,[a(T,{class:"list","data-test":"routerList"},{default:o(()=>[(l(!0),s(v,null,f(i.routers,(u,x)=>(l(),s("div",{key:x},[a(E,null,{append:o(()=>[a(B,{location:"top"},{activator:o(({props:b})=>[a(N,k({ref_for:!0},b,{onClick:F=>D.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(y,null,{default:o(()=>[d(m(u),1)]),_:2},1024)]),_:2},1024),a(S)]))),128))]),_:1}),i.showDialog?(l(),g(j,{key:0,modelValue:i.showDialog,"onUpdate:modelValue":n[0]||(n[0]=u=>i.showDialog=u),content:i.jsonContent,type:"Router",name:i.dialogTitle,onSubmit:D.dialogCallback},null,8,["modelValue","content","name","onSubmit"])):h("",!0)])}const R=V("default",p(e,[["render",_],["__scopeId","data-v-82fc907b"]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./Layout-Bh7VzCZd-e80015c167b538416f2a.js","./VerticalWidget-D8jUFxjS-264cdd61b0515fa3092c.js","vue","./main-89bee744bbd6e4811043.js","./Widget-fRCERxGf-f53f0043a8d9f927971c.js","vue-router","single-spa","vuex","vuetify"],function(v,k){"use strict";var l,c,i,s,o,u,m,g,p,f,d;return{setters:[e=>{l=e.r},e=>{c=e.default},e=>{i=e.createElementBlock,s=e.openBlock,o=e.normalizeStyle,u=e.Fragment,m=e.renderList,g=e.createBlock,p=e.resolveDynamicComponent,f=e.mergeProps},e=>{d=e.s},null,null,null,null,null],execute:function(){const e={mixins:[l],components:{VerticalWidget:c},created:function(){if(this.setHeight(this.parameters[0],"px",200),this.parameters[1]){let n=this.parameters[1];this.widgets.forEach(a=>{a.settings.find(r=>r[0]==="MARGIN"||r[0]==="RAW"&&r[1].toUpperCase().includes("MARGIN"))===void 0&&a.settings.push(["MARGIN",n])})}}};function y(n,a,r,R,j,w){return s(),i("div",{ref:"container",style:o(n.computedStyle),class:"overflow-y-auto"},[(s(!0),i(u,null,m(n.widgets,(t,h)=>(s(),g(p(t.type),f({ref_for:!0},n.listeners,{key:h,target:t.target,parameters:t.parameters,settings:t.settings,"screen-values":n.screenValues,"screen-time-zone":n.screenTimeZone,widgets:t.widgets,name:t.name,line:t.line,"line-number":t.lineNumber}),null,16,["target","parameters","settings","screen-values","screen-time-zone","widgets","name","line","line-number"]))),128))],4)}const B=v("default",d(e,[["render",y]]))}}});
|
@@ -1,2 +0,0 @@
|
|
1
|
-
System.register(["vue","./main-89bee744bbd6e4811043.js","vue-router","single-spa","vuex","vuetify"],function(J,Ue){"use strict";var a,x,f,o,C,l,r,y,F,W,A,w,T,L,H,V,E;return{setters:[S=>{a=S.resolveComponent,x=S.createElementBlock,f=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,L=S.Fragment,H=S.renderList},S=>{V=S.s,E=S.O},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 M(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"),h=a("v-card");return f(),C(h,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?(f(),x(L,{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"]),(f(!0),x(L,null,H(s.suppressedWarnings,i=>(f(),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)):(f(),x(L,{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 G=V(S,[["render",M]]),$={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 Y(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"),h=a("v-card");return f(),C(h,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?(f(),x(L,{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"]),(f(!0),x(L,null,H(s.lastConfigs,i=>(f(),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)):(f(),x(L,{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 I=V($,[["render",Y]]),U={data(){return{api:new E,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){}}},N="astro",Q={mixins:[U],data(){return{hideClock:!1}},created(){this.loadSetting(N)},methods:{save(){this.saveSetting(N,JSON.stringify({hideClock:this.hideClock}))},parseSetting:function(t){if(t){let e=JSON.parse(t);this.hideClock=e.hideClock}}}};function X(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"),h=a("v-card");return f(),C(h,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 ee=V(Q,[["render",X]]),D="classification_banner",te={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(D)},methods:{save(){this.saveSetting(D,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 oe(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"),h=a("v-list-item"),i=a("v-select"),n=a("v-switch"),R=a("v-card-text"),O=a("v-btn"),ke=a("v-card-actions"),xe=a("v-card");return f(),C(xe,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(R,{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:B})=>[o(h,W(g,{value:B.text}),{prepend:l(()=>[B.value?(f(),C(p,{key:0,color:B.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:B})=>[o(h,W(g,{value:B.text}),{prepend:l(()=>[B.value?(f(),C(p,{key:0,color:B.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(ke,null,{default:l(()=>[o(O,{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 le=V(te,[["render",oe]]),Z="time_zone",ae={mixins:[U],data(){return{timeZones:["local","UTC"],timeZone:"local"}},created(){this.loadSetting(Z)},methods:{save(){this.saveSetting(Z,this.timeZone)},parseSetting:function(t){t&&(this.timeZone=t)}}};function se(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"),h=a("v-card-actions"),i=a("v-card");return f(),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(h,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 re=V(ae,[["render",se]]),q="news_feed",ne={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 ie(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"),h=a("v-card");return f(),C(h,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 de=V(ne,[["render",ie]]),P="subtitle",ue={mixins:[U],data(){return{subtitle:""}},created(){this.loadSetting(P)},methods:{save(){this.saveSetting(P,this.subtitle)},parseSetting:function(t){t&&(this.subtitle=t)}}};function ce(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"),h=a("v-card-actions"),i=a("v-card");return f(),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(h,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 ge=V(ue,[["render",ce]]),j="source_url",pe={mixins:[U],data(){return{sourceUrl:"https://github.com/OpenC3/cosmos"}},created(){this.loadSetting(j)},methods:{save(){this.saveSetting(j,this.sourceUrl)},parseSetting:function(t){t&&(this.sourceUrl=t)}}};function me(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"),h=a("v-card-actions"),i=a("v-card");return f(),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(h,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 fe=V(pe,[["render",me]]),z="rubygems_url",he={mixins:[U],data(){return{rubygemsUrl:"https://rubygems.org"}},created(){this.loadSetting(z)},methods:{save(){this.saveSetting(z,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"),h=a("v-card-actions"),i=a("v-card");return f(),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(h,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 be=V(he,[["render",ve]]),K="pypi_url",Se={mixins:[U],data(){return{pypiUrl:"https://pypi.org"}},created(){this.loadSetting(K)},methods:{save(){this.saveSetting(K,this.pypiUrl)},parseSetting:function(t){t&&(this.pypiUrl=t)}}};function ye(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"),h=a("v-card-actions"),i=a("v-card");return f(),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(h,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 Ce=V(Se,[["render",ye]]),Ve={components:{SuppressedSettings:G,DefaultConfigSettings:I,AstroSettings:ee,ClassificationBannerSettings:le,TimeZoneSettings:re,NewsFeedSettings:de,SubtitleSettings:ge,SourceCodeSettings:fe,RubyGemsSettings:be,PypiSettings:Ce}};function _e(t,e,_,k,s,v){const b=a("suppressed-settings"),u=a("v-divider"),d=a("default-config-settings"),c=a("astro-settings"),m=a("time-zone-settings"),p=a("news-feed-settings"),h=a("classification-banner-settings"),i=a("subtitle-settings"),n=a("source-code-settings"),R=a("ruby-gems-settings"),O=a("pypi-settings");return f(),x("div",null,[o(b),o(u),o(d),o(u),o(c),o(u),o(m),o(u),o(p),o(u),o(h),o(u),o(i),o(u),o(n),o(u),o(R),o(u),o(O)])}const Le=J("default",V(Ve,[["render",_e]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./Widget-fRCERxGf-f53f0043a8d9f927971c.js","vue","./main-89bee744bbd6e4811043.js","vue-router","single-spa","vuex","vuetify"],function(i,o){"use strict";var t,n,s,l,r;return{setters:[e=>{t=e.o},e=>{n=e.createElementBlock,s=e.openBlock,l=e.normalizeStyle},e=>{r=e.s},null,null,null,null],execute:function(){const e={mixins:[t],created(){this.settings.push(["WIDTH",this.parameters[0]]),this.settings.push(["HEIGHT",this.parameters[1]])}};function u(c,m,p,f,h,d){return s(),n("div",{style:l(c.computedStyle)},null,4)}const a=i("default",r(e,[["render",u]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./Layout-Bh7VzCZd-e80015c167b538416f2a.js","vue","./main-89bee744bbd6e4811043.js","./Widget-fRCERxGf-f53f0043a8d9f927971c.js","vue-router","single-spa","vuex","vuetify"],function(k,N){"use strict";var p,l,s,r,g,v,i,u,c,o,f,y,b,w,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,f=e.createTextVNode,y=e.toDisplayString,b=e.resolveDynamicComponent,w=e.mergeProps},e=>{V=e.s},null,null,null,null,null],execute:function(){const e={mixins:[p],data:function(){return{curTab:null}},watch:{curTab:function(){this.$emit("min-max-screen")}}};function x(t,m,_,D,L,j){const C=l("v-tab"),T=l("v-tabs"),B=l("v-window-item"),S=l("v-window");return r(),s("div",null,[g(T,{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(C,{key:d},{default:i(()=>[f(y(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(B,{key:d},{default:i(()=>[(r(!0),s(u,null,c(a.widgets,(n,z)=>(r(),o(b(n.type),w({ref_for:!0},t.listeners,{key:`${d}-${z}`,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 h=k("default",V(e,[["render",x]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./main-89bee744bbd6e4811043.js","vue","./DetailsDialog-BvbziA7Y-ee21a12298c291aba619.js","single-spa","./VWidget-C4spAawK-c884f9cea073da6d8ce9.js","vue-router","vuex","vuetify","./Widget-fRCERxGf-f53f0043a8d9f927971c.js"],function(y,N){"use strict";var c,a,o,s,n,u,d,l,m,h,p,g,v,x,f,w;return{setters:[e=>{c=e.s},e=>{a=e.resolveComponent,o=e.createElementBlock,s=e.openBlock,n=e.createVNode,u=e.normalizeStyle,d=e.normalizeClass,l=e.withCtx,m=e.Fragment,h=e.renderList,p=e.createBlock,g=e.withModifiers,v=e.createTextVNode,x=e.toDisplayString},e=>{f=e.P},null,e=>{w=e.L},null,null,null,null],execute:function(){const e={components:{DetailsDialog:f},data:function(){return{width:200,height:200}},mixins:[w],computed:{aging(){return{"--aging":this.grayLevel}}},created:function(){this.width=this.setWidth(this.parameters[3],"px",this.width),this.height=this.setHeight(this.parameters[4],"px",this.height)},methods:{getType:function(){let t="CONVERTED";return this.parameters[5]&&(t=this.parameters[5]),t}}},C={class:"textbox-widget-container"};function V(t,r,L,j,F,k){const D=a("v-textarea"),S=a("v-list-item-title"),B=a("v-list-item"),z=a("v-list"),_=a("v-menu"),E=a("details-dialog");return s(),o("div",C,[n(D,{variant:"solo",density:"compact",readonly:"","no-resize":"","auto-grow":"",rows:"2","hide-details":"","model-value":t._value,class:d(t.valueClass),style:u([t.computedStyle,k.aging]),"data-test":"valueText",onContextmenu:t.showContextMenu},null,8,["model-value","class","style","onContextmenu"]),n(_,{modelValue:t.contextMenuShown,"onUpdate:modelValue":r[0]||(r[0]=i=>t.contextMenuShown=i),target:[t.x,t.y]},{default:l(()=>[n(z,null,{default:l(()=>[(s(!0),o(m,null,h(t.contextMenuOptions,(i,M)=>(s(),p(B,{key:M,onClick:g(i.action,["stop"])},{default:l(()=>[n(S,null,{default:l(()=>[v(x(i.title),1)]),_:2},1024)]),_:2},1032,["onClick"]))),128))]),_:1})]),_:1},8,["modelValue","target"]),n(E,{"target-name":t.parameters[0],"packet-name":t.parameters[1],"item-name":t.parameters[2],modelValue:t.viewDetails,"onUpdate:modelValue":r[1]||(r[1]=i=>t.viewDetails=i)},null,8,["target-name","packet-name","item-name","modelValue"])])}const T=y("default",c(e,[["render",V],["__scopeId","data-v-10f560aa"]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./Widget-fRCERxGf-f53f0043a8d9f927971c.js","./main-89bee744bbd6e4811043.js","vue","vue-router","single-spa","vuex","vuetify"],function(m,p){"use strict";var l,i,n,a,s,r,o;return{setters:[e=>{l=e.o},e=>{i=e.s,n=e.P},e=>{a=e.resolveComponent,s=e.createBlock,r=e.openBlock,o=e.normalizeStyle},null,null,null,null],execute:function(){const e={mixins:[l,n],data(){return{label:"Time",timeValue:""}},created(){this.parameters[0]&&(this.label=this.parameters[0]),this.timeValue=this.formatTimeHMS(new Date,this.screenTimeZone)},methods:{text(){return this.timeValue},time(){return this.timeValue}}};function c(d,u,V,v,t,x){const h=a("v-text-field");return r(),s(h,{modelValue:t.timeValue,"onUpdate:modelValue":u[0]||(u[0]=f=>t.timeValue=f),label:t.label,style:o(d.computedStyle),type:"time","hide-details":""},null,8,["modelValue","label","style"])}const y=m("default",i(e,[["render",c]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./Widget-fRCERxGf-f53f0043a8d9f927971c.js","vue","./main-89bee744bbd6e4811043.js","vue-router","single-spa","vuex","vuetify"],function(a,m){"use strict";var t,r,n,l,s,o;return{setters:[e=>{t=e.o},e=>{r=e.createElementBlock,n=e.openBlock,l=e.normalizeStyle,s=e.toDisplayString},e=>{o=e.s},null,null,null,null],execute:function(){const e={mixins:[t],computed:{labelText(){return this.parameters[0]}},created(){if(this.parameters.length<1)throw new Error("Not enough parameters for TITLE.")}};function i(c,f,x,y,g,u){return n(),r("div",{class:"text-h5 text-center pa-1 mt-1 label",style:l(c.computedStyle)},s(u.labelText),5)}const p=a("default",o(e,[["render",i]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./main-89bee744bbd6e4811043.js","vue","./DetailsDialog-BvbziA7Y-ee21a12298c291aba619.js","single-spa","./VWidget-C4spAawK-c884f9cea073da6d8ce9.js","vue-router","vuex","vuetify","./Widget-fRCERxGf-f53f0043a8d9f927971c.js"],function(k,U){"use strict";var c,a,o,r,d,n,s,m,u,p,v,g,f,h,x,y,V,w;return{setters:[e=>{c=e.s},e=>{a=e.resolveComponent,o=e.createElementBlock,r=e.openBlock,d=e.normalizeStyle,n=e.createVNode,s=e.withCtx,m=e.createElementVNode,u=e.toDisplayString,p=e.mergeProps,v=e.createSlots,g=e.Fragment,f=e.renderList,h=e.createBlock,x=e.withModifiers,y=e.createTextVNode},e=>{V=e.P},null,e=>{w=e.L},null,null,null,null],execute:function(){const S={components:{DetailsDialog:V},mixins:[w],data:function(){return{width:16}},computed:{fullName(){return this.parameters[0]+" "+this.parameters[1]+" "+this.parameters[2]},aging(){return{"--aging":this.grayLevel}}},created(){this.verifyNumParams("VALUE",3,5,"VALUE <TARGET> <PACKET> <ITEM> <TYPE> <WIDTH>"),this.setWidth(parseInt(this.parameters[4])+4,"ch",this.width)}};function E(t,i,j,z,I,C){const _=a("rux-status"),D=a("v-text-field"),N=a("v-tooltip"),B=a("v-list-item-title"),L=a("v-list-item"),T=a("v-list"),A=a("v-menu"),M=a("details-dialog");return r(),o("div",{class:"value-widget-container",style:d([t.computedStyle,C.aging])},[n(N,{location:"top"},{activator:s(({props:l})=>[n(D,p({variant:"solo",density:"compact",flat:"",readonly:"","hide-details":"","model-value":t._value,class:t.valueClass,"data-test":"value",onContextmenu:t.showContextMenu},l),v({_:2},[t.astroStatus?{name:"prepend-inner",fn:s(()=>[n(_,{status:t.astroStatus},null,8,["status"])]),key:"0"}:void 0]),1040,["model-value","class","onContextmenu"])]),default:s(()=>[m("span",null,u(C.fullName),1)]),_:1}),n(A,{modelValue:t.contextMenuShown,"onUpdate:modelValue":i[0]||(i[0]=l=>t.contextMenuShown=l),target:[t.x,t.y],style:{"z-index":"3000"}},{default:s(()=>[n(T,null,{default:s(()=>[(r(!0),o(g,null,f(t.contextMenuOptions,(l,P)=>(r(),h(L,{key:P,onClick:x(l.action,["stop"])},{default:s(()=>[n(B,null,{default:s(()=>[y(u(l.title),1)]),_:2},1024)]),_:2},1032,["onClick"]))),128))]),_:1})]),_:1},8,["modelValue","target"]),n(M,{"target-name":t.parameters[0],"packet-name":t.parameters[1],"item-name":t.parameters[2],modelValue:t.viewDetails,"onUpdate:modelValue":i[1]||(i[1]=l=>t.viewDetails=l)},null,8,["target-name","packet-name","item-name","modelValue"])],4)}const W=k("default",c(S,[["render",E],["__scopeId","data-v-c21e4dde"]]))}}});
|