openc3-cosmos-tool-admin 6.3.0 → 6.4.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-BbsN1dzF-45b3f0b1b85d0816b4d6.js → ArrayWidget-DAZApfkV-278468a53d6dcd290939.js} +2 -2
- data/tools/admin/{ArrayplotWidget-CCKEyYIx-c2e9f297af8994f10499.js → ArrayplotWidget-BfsxDplv-e75768e19a78a755021f.js} +1 -1
- data/tools/admin/{BarColumn-C6p07yWK-7ae551032c38dd002d95.js → BarColumn-q0nAsvrd-83b968497a97f5a12a7a.js} +1 -1
- data/tools/admin/BlockWidget-SDCUWcMQ-2bc1ff795dd9b8289734.js +2 -0
- data/tools/admin/{ButtonWidget-CtfJzCBR-15be1cfe08491243621a.js → ButtonWidget-BVMjwC19-21d6311409e6295e5ff1.js} +2 -2
- data/tools/admin/CanvasWidget-bVkufjRQ-67d07bc7c7e068b64f55.js +1 -0
- data/tools/admin/CanvasdotWidget-DpniFfca-45fb1bde56856286c38d.js +1 -0
- data/tools/admin/{CanvasimageWidget-BPlj5QYK-d8e96ebe13755da5ca94.js → CanvasimageWidget-DHOSz-dJ-de800e86e1bee6f5a0ff.js} +1 -1
- data/tools/admin/{CanvasimagevalueWidget-DVFGLt8f-382d16c4c919b192bb21.js → CanvasimagevalueWidget-zrURWWUL-17057ebfab0467f8b7f5.js} +1 -1
- data/tools/admin/CanvaslabelWidget-D-XAMifp-41af33bdafdfcfaeca35.js +1 -0
- data/tools/admin/{CanvaslabelvalueWidget-B7yIDmsn-da8a435cddcb14c4220d.js → CanvaslabelvalueWidget-BsIdBtEb-963e3f40288b9cc769c9.js} +1 -1
- data/tools/admin/{CanvaslineWidget-BICdxX0Q-e6d7b79766b82eb0aa5f.js → CanvaslineWidget-CA2aPGRg-176c5b3f1d9009c13ce0.js} +1 -1
- data/tools/admin/{CanvaslinevalueWidget-Cq-Ddh0P-dd25267d6fe776a0eb4d.js → CanvaslinevalueWidget-J7epKRlo-c968b8847757e14bfb1c.js} +1 -1
- data/tools/admin/CheckbuttonWidget-ByH-PDRG-626ee1d1d84173983d50.js +1 -0
- data/tools/admin/{ComboboxWidget-CtyKbEWb-a3645988bb8f618c30b7.js → ComboboxWidget-Bdm_fMzW-cab3c8e434fe2c88bab1.js} +1 -1
- data/tools/admin/DateWidget-BaQqthC7-3d8a26b6aafc6de1b56a.js +1 -0
- data/tools/admin/{DetailsDialog-DmEC5BTs-f202c65b40d62e0a0258.js → DetailsDialog-C5jf8o0K-618733616700caa427d3.js} +1 -1
- data/tools/admin/{DynamicWidget-CfMtj7H8-5d1fe4151a3a13875e72.js → DynamicWidget-CfMtj7H8-28b5c02a544a8b721b2d.js} +1 -1
- data/tools/admin/FormatvalueWidget--H5B9i_Y-cca10587c6e1ab5b71a6.js +1 -0
- data/tools/admin/Graph-M382Zo8o-749b759d928f020bf06b.js +1 -0
- data/tools/admin/{GraphWidget-DurWDmpg-ebee4b7d87defdaf5d8f.js → GraphWidget-_YOGDD1U-16510f2fb4ff72f50671.js} +1 -1
- data/tools/admin/{HorizontalWidget-Cd_wl1b3-fba8f18453014a0565ad.js → HorizontalWidget-D_gzrOWs-bd70f9d52446f354a3ed.js} +1 -1
- data/tools/admin/HorizontalboxWidget-GDcjO-UB-e7a5b1d2df595dfa8528.js +1 -0
- data/tools/admin/HorizontallineWidget-DZvOYFxf-5f8d348b3e905046cbc4.js +1 -0
- data/tools/admin/{IframeWidget-BPerHCCa-3abc66888f871f2424e0.js → IframeWidget-CuUav9b3-4b58f427f7c7c3b092bc.js} +1 -1
- data/tools/admin/{ImageLoader-4N-7Gj61-d96791fc6c7c24e20145.js → ImageLoader-3KLKJ5mV-6e47a29f0a6ec0e7517b.js} +1 -1
- data/tools/admin/{ImageviewerWidget-Cw_H_HmZ-abc4b56b182850c2b4b0.js → ImageviewerWidget-BMZ6REN4-99508d60b2bf097a6732.js} +1 -1
- data/tools/admin/InterfacesTab-DTixVrGo-d1c54d784fb72d35a760.js +1 -0
- data/tools/admin/{LabelWidget-xrmcVeq8-894f83570ba8b552e75c.js → LabelWidget-oh6FIG6s-d868fb2bd26ce6d2f3d6.js} +1 -1
- data/tools/admin/LabelledWidget-Bic36les-b854193849403490d15f.js +1 -0
- data/tools/admin/LabelprogressbarWidget-CqIiGoDb-3253bfa6f16674c0a578.js +1 -0
- data/tools/admin/LabelsparklineWidget-DLhmqO02-5615de2dfe11c3bc1e0e.js +1 -0
- data/tools/admin/{LabelvalueWidget-CQ06wWDK-330aee93b235b971e95c.js → LabelvalueWidget-BefwSSVq-80d87143686ab5e22873.js} +1 -1
- data/tools/admin/{LabelvaluedescWidget-Bo8zT01X-e92f203c5cc5204caebd.js → LabelvaluedescWidget-NxrCzznm-1abe6e80871d0a1d3f62.js} +1 -1
- data/tools/admin/{LabelvaluelimitsbarWidget-BucTw8Yk-ef66fe7faa51e1c7fc96.js → LabelvaluelimitsbarWidget-pq7qoolL-799f04ee161ac207990e.js} +1 -1
- data/tools/admin/LabelvaluelimitscolumnWidget-edkpogsl-cc8cb37331d149620877.js +1 -0
- data/tools/admin/{LabelvaluerangebarWidget-D8cbfXFM-92fab7f5051516ce528f.js → LabelvaluerangebarWidget-DpJNv9dh-69d6c63a5b945223a268.js} +1 -1
- data/tools/admin/{Layout-Tf--nruw-e15025d3ca9d03d87e1b.js → Layout-B0hvhBQO-e6d9491c66fb7999ee9f.js} +1 -1
- data/tools/admin/{LedWidget-qH_FthkK-a5e74d98a22307a883a8.js → LedWidget--4eSxBnn-b23e9dba9fe8083fa005.js} +1 -1
- data/tools/admin/LimitsbarWidget-BQaumgRt-83eeb25d4b6e4e99b119.js +1 -0
- data/tools/admin/{LimitscolorWidget-c6Qa6su7-c2b237b1468b716361cd.js → LimitscolorWidget-BBF9sRtF-62a27f46ce7c054d150f.js} +1 -1
- data/tools/admin/{LimitscolumnWidget-CcLs_443-944fa38b9446f615b635.js → LimitscolumnWidget-DZZtSoXw-425281a88105e20ed3ba.js} +1 -1
- data/tools/admin/LinegraphWidget-DTLZmyWs-72c6387f595a0a4013be.js +1 -0
- data/tools/admin/{MatrixbycolumnsWidget-DXFpZTre-1ca1fd46ec81aa27bdea.js → MatrixbycolumnsWidget-dpgZz4wR-f0f3fdf10d49af904bf5.js} +1 -1
- data/tools/admin/MicroservicesTab-DbL48MBc-484871d8f774092c18ce.js +1 -0
- data/tools/admin/OutputDialog-B5qHVyck-5685928991e632d92ddf.js +1 -0
- data/tools/admin/PackagesTab-Bw34RkLc-a8bd901d60023aea57d0.js +1 -0
- data/tools/admin/PluginsTab-C9t0-QVm-6573a228c03271a9a721.js +5 -0
- data/tools/admin/{ProgressbarWidget-iYGw8-Dc-d9aad79edecffa90902a.js → ProgressbarWidget-7cYr8136-1c12582ce9d4ff413a55.js} +1 -1
- data/tools/admin/RadiobuttonWidget-DTfn-7F2-2fdf40f484b98c933b8e.js +1 -0
- data/tools/admin/RadiogroupWidget-DWvTpw94-72c898511170802d814f.js +1 -0
- data/tools/admin/{RangebarWidget-D_zGTtCa-7d82a5779754daf85f09.js → RangebarWidget-CG2Y7eYp-376805c2784826569f50.js} +1 -1
- data/tools/admin/RedisTab-CvPLS0Qe-5d4a932e4970ba3ca803.js +1 -0
- data/tools/admin/{RollupWidget-Dolsixyt-199f99293bbff747842b.js → RollupWidget-C6HKTfCR-2fee2f5abf13112784d3.js} +1 -1
- data/tools/admin/RoutersTab-D-ex_yMO-5fc215e92e7302a8075a.js +1 -0
- data/tools/admin/{ScrollwindowWidget-DV2nZuNi-2918384639e5b480f5b0.js → ScrollwindowWidget-DvhBCYd2-1ca5ef1549a42b7ea26c.js} +1 -1
- data/tools/admin/SecretsTab-CLkJfzf--d880a0e1441849be64f2.js +1 -0
- data/tools/admin/{SettingsTab-g29K6FyC-fc78aa7aefc9b0f48986.js → SettingsTab-CysOMBFu-96c27242035cd5ef53f0.js} +1 -1
- data/tools/admin/SignalWidget-BZIoGjam-517ce457178e055a0785.js +1 -0
- data/tools/admin/SimpleTextDialog-CGStqYvO-a8fcf03f2e92086fa44a.js +1 -0
- data/tools/admin/{SpacerWidget-BH0p2OLi-b5ab05a35a2d859ed908.js → SpacerWidget-YBS8RZIE-6f604070f76233e8abf6.js} +1 -1
- data/tools/admin/{SparklineWidget-coxi9r2g-8feb089ce863bd78d520.js → SparklineWidget-BMhY9vYe-330a5e7e3db2907e0b78.js} +1 -1
- data/tools/admin/TabbookWidget-RfET19pq-f131be0ee6a50775a079.js +1 -0
- data/tools/admin/TargetsTab-CfBt-dZW-af29d3abcec34f39d21d.js +1 -0
- data/tools/admin/TextboxWidget-M8vFBSxS-8d0b53e2f7eebf969abb.js +1 -0
- data/tools/admin/{TextfieldWidget-C08N4JE8-af5bb035574b2bdb1e55.js → TextfieldWidget-Dev7lCsT-b4e43b129c8b8b194dba.js} +1 -1
- data/tools/admin/{TimeWidget-DtwdEcFg-d89f9fbaa3072936e270.js → TimeWidget-CQzn13rQ-dde78e9108545bc47090.js} +1 -1
- data/tools/admin/TitleWidget-C4zbSian-f6fd7ad5542875ddd1c9.js +1 -0
- data/tools/admin/ToolsTab-CnhhRS3J-57d6ddffd01325622abb.js +6 -0
- data/tools/admin/{VWidget-DQqb7NVW-878e082a9a9ab2278496.js → VWidget-iASFPjdx-14bb7ec00b6bb0823126.js} +1 -1
- data/tools/admin/ValueWidget-BVI6uUVX-3d7edd0290c877d1cbb8.js +1 -0
- data/tools/admin/ValuelimitsbarWidget-BiIcery0-86e4d3b97524111adad6.js +1 -0
- data/tools/admin/{ValuelimitscolumnWidget-QvhI6EcE-b6e11e56e8ab9113b662.js → ValuelimitscolumnWidget-BiRI8GbI-2b9bd816bf467264a76d.js} +1 -1
- data/tools/admin/{ValuerangebarWidget-Dt3K9BnC-4cb31018f254cafc9a8a.js → ValuerangebarWidget-CtMFQu9--3192b0e9ed894b0a92c2.js} +1 -1
- data/tools/admin/{VerticalWidget-BIIViZgI-bbb379db718beaa2bc28.js → VerticalWidget-CRmcpQBn-52ff42eb62875348fc5a.js} +1 -1
- data/tools/admin/VerticalboxWidget-C-qChjug-a7cdc3ed315048ef8b50.js +1 -0
- data/tools/admin/Widget-CFEnOKms-b56cb1cdd01a85ba35b8.js +1 -0
- data/tools/admin/main-261a03f701466d100c9b.js +1512 -0
- data/tools/admin/main.js +1 -1
- metadata +80 -80
- data/tools/admin/BlockWidget-DlCHbqZX-d57a3ba05924d0dc73ce.js +0 -2
- data/tools/admin/CanvasWidget-CqRlXc4r-79ff690f6ab0548bac3b.js +0 -1
- data/tools/admin/CanvasdotWidget--Xr_KsZs-5a996c74c5a7ef6bfffa.js +0 -1
- data/tools/admin/CanvaslabelWidget-CYNqmyP0-d63731e0f2c639a94217.js +0 -1
- data/tools/admin/CheckbuttonWidget-B74AWeaW-e5eac04dabbe8e75a50f.js +0 -1
- data/tools/admin/DateWidget-BEVSczU8-a8f6e93811962f188e0e.js +0 -1
- data/tools/admin/FormatvalueWidget-DN12xymS-a183974bad17bb7102f9.js +0 -1
- data/tools/admin/Graph-Bgo0cjl3-b73fb6638f6aac6b1a30.js +0 -1
- data/tools/admin/HorizontalboxWidget-BcMTFBU--324c3dc4fd5e49eab722.js +0 -1
- data/tools/admin/HorizontallineWidget-CXFqHclf-7ca376904e3068703325.js +0 -1
- data/tools/admin/InterfacesTab-B4glsR9Z-d5c7b16796e27515e044.js +0 -1
- data/tools/admin/LabelledWidget-D48QoyMk-9c821f58c796d7ea4c9b.js +0 -1
- data/tools/admin/LabelprogressbarWidget-C_950t6g-5966ce8bbecbd42abbc8.js +0 -1
- data/tools/admin/LabelsparklineWidget-0KXQyPoU-3930edb58cf690a58dd4.js +0 -1
- data/tools/admin/LabelvaluelimitscolumnWidget-Dflb1hNd-bb82c73da598c7e933c6.js +0 -1
- data/tools/admin/LimitsbarWidget-B9lAB2RD-96157ffc116593888b48.js +0 -1
- data/tools/admin/LinegraphWidget-BSVYLFo1-27291b3efda84e682c36.js +0 -1
- data/tools/admin/MicroservicesTab-mCdS0v39-72fa5667b8c938eb27e1.js +0 -1
- data/tools/admin/OutputDialog-zVPZiZay-5273ae10027e2cc87949.js +0 -1
- data/tools/admin/PackagesTab-SWcXumpK-e5ccc20003b13ccdbc6e.js +0 -1
- data/tools/admin/PluginsTab-B64OvayB-be8b8a771af3d6802e37.js +0 -5
- data/tools/admin/RadiobuttonWidget-ytmoVZ3u-3b94c9dfedbb30542025.js +0 -1
- data/tools/admin/RadiogroupWidget-CusMBhKH-ee1c8dc1c59df58fd825.js +0 -1
- data/tools/admin/RedisTab-CyPo6ADN-aa1a495b5fb6171666f5.js +0 -1
- data/tools/admin/RoutersTab-Cs2dFVNA-aa50a4a447fca3f826bf.js +0 -1
- data/tools/admin/SecretsTab-DVyyyGlG-4344d670cf905ab60969.js +0 -1
- data/tools/admin/SignalWidget-d9-6h85k-e129c862ab2e2862b245.js +0 -1
- data/tools/admin/SimpleTextDialog-pwN8oRy1-2e2addd7ce31747515d9.js +0 -1
- data/tools/admin/TabbookWidget-B1XKplGH-73f77b706b86971b4ebc.js +0 -1
- data/tools/admin/TargetsTab-BkBkXn9A-8425521e65f5456c008e.js +0 -1
- data/tools/admin/TextboxWidget-C-_M2M4l-b9bef00f2cfe98fb3bf1.js +0 -1
- data/tools/admin/TitleWidget-CT-aLcNb-f3785ae131a4a7667761.js +0 -1
- data/tools/admin/ToolsTab-NveeVXz2-a2a58dfa69fac13c80e8.js +0 -6
- data/tools/admin/ValueWidget-C6RanBj3-da5499cb68372d5227fc.js +0 -1
- data/tools/admin/ValuelimitsbarWidget-B3bvjfxc-fad1586e079efff45c2c.js +0 -1
- data/tools/admin/VerticalboxWidget-DY72fLHW-69a1841223e1274653e7.js +0 -1
- data/tools/admin/Widget-oyqWpFXJ-f34bf053b788271413fe.js +0 -1
- data/tools/admin/main-fbb6d24d6c6c7aea815c.js +0 -1508
data/tools/admin/main.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
System.register(["vue","./main-
|
1
|
+
System.register(["vue","./main-261a03f701466d100c9b.js","vue-router","single-spa","vuex","vuetify"],function(t,e){"use strict";return{setters:[null,u=>{t({bootstrap:u.i,mount:u.j,unmount:u.u})},null,null,null,null],execute:function(){}}});
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
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.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Melton
|
@@ -22,84 +22,84 @@ files:
|
|
22
22
|
- README.md
|
23
23
|
- Rakefile
|
24
24
|
- plugin.txt
|
25
|
-
- tools/admin/ArrayWidget-
|
26
|
-
- tools/admin/ArrayplotWidget-
|
27
|
-
- tools/admin/BarColumn-
|
28
|
-
- tools/admin/BlockWidget-
|
29
|
-
- tools/admin/ButtonWidget-
|
30
|
-
- tools/admin/CanvasWidget-
|
31
|
-
- tools/admin/CanvasdotWidget
|
32
|
-
- tools/admin/CanvasimageWidget-
|
33
|
-
- tools/admin/CanvasimagevalueWidget-
|
34
|
-
- tools/admin/CanvaslabelWidget-
|
35
|
-
- tools/admin/CanvaslabelvalueWidget-
|
36
|
-
- tools/admin/CanvaslineWidget-
|
37
|
-
- tools/admin/CanvaslinevalueWidget-
|
38
|
-
- tools/admin/CheckbuttonWidget-
|
39
|
-
- tools/admin/ComboboxWidget-
|
40
|
-
- tools/admin/DateWidget-
|
41
|
-
- tools/admin/DetailsDialog-
|
42
|
-
- tools/admin/DynamicWidget-CfMtj7H8-
|
43
|
-
- tools/admin/FormatvalueWidget-
|
44
|
-
- tools/admin/Graph-
|
45
|
-
- tools/admin/GraphWidget-
|
46
|
-
- tools/admin/HorizontalWidget-
|
47
|
-
- tools/admin/HorizontalboxWidget-
|
48
|
-
- tools/admin/HorizontallineWidget-
|
49
|
-
- tools/admin/IframeWidget-
|
50
|
-
- tools/admin/ImageLoader-
|
51
|
-
- tools/admin/ImageviewerWidget-
|
52
|
-
- tools/admin/InterfacesTab-
|
53
|
-
- tools/admin/LabelWidget-
|
54
|
-
- tools/admin/LabelledWidget-
|
55
|
-
- tools/admin/LabelprogressbarWidget-
|
56
|
-
- tools/admin/LabelsparklineWidget-
|
57
|
-
- tools/admin/LabelvalueWidget-
|
58
|
-
- tools/admin/LabelvaluedescWidget-
|
59
|
-
- tools/admin/LabelvaluelimitsbarWidget-
|
60
|
-
- tools/admin/LabelvaluelimitscolumnWidget-
|
61
|
-
- tools/admin/LabelvaluerangebarWidget-
|
62
|
-
- tools/admin/Layout-
|
63
|
-
- tools/admin/LedWidget-
|
64
|
-
- tools/admin/LimitsbarWidget-
|
65
|
-
- tools/admin/LimitscolorWidget-
|
66
|
-
- tools/admin/LimitscolumnWidget-
|
67
|
-
- tools/admin/LinegraphWidget-
|
68
|
-
- tools/admin/MatrixbycolumnsWidget-
|
69
|
-
- tools/admin/MicroservicesTab-
|
70
|
-
- tools/admin/OutputDialog-
|
71
|
-
- tools/admin/PackagesTab-
|
72
|
-
- tools/admin/PluginsTab-
|
73
|
-
- tools/admin/ProgressbarWidget-
|
74
|
-
- tools/admin/RadiobuttonWidget-
|
75
|
-
- tools/admin/RadiogroupWidget-
|
76
|
-
- tools/admin/RangebarWidget-
|
77
|
-
- tools/admin/RedisTab-
|
78
|
-
- tools/admin/RollupWidget-
|
79
|
-
- tools/admin/RoutersTab-
|
80
|
-
- tools/admin/ScrollwindowWidget-
|
81
|
-
- tools/admin/SecretsTab-
|
82
|
-
- tools/admin/SettingsTab-
|
83
|
-
- tools/admin/SignalWidget-
|
84
|
-
- tools/admin/SimpleTextDialog-
|
85
|
-
- tools/admin/SpacerWidget-
|
86
|
-
- tools/admin/SparklineWidget-
|
87
|
-
- tools/admin/TabbookWidget-
|
88
|
-
- tools/admin/TargetsTab-
|
89
|
-
- tools/admin/TextboxWidget-
|
90
|
-
- tools/admin/TextfieldWidget-
|
91
|
-
- tools/admin/TimeWidget-
|
92
|
-
- tools/admin/TitleWidget-
|
93
|
-
- tools/admin/ToolsTab-
|
94
|
-
- tools/admin/VWidget-
|
95
|
-
- tools/admin/ValueWidget-
|
96
|
-
- tools/admin/ValuelimitsbarWidget-
|
97
|
-
- tools/admin/ValuelimitscolumnWidget-
|
98
|
-
- tools/admin/ValuerangebarWidget-
|
99
|
-
- tools/admin/VerticalWidget-
|
100
|
-
- tools/admin/VerticalboxWidget-
|
101
|
-
- tools/admin/Widget-
|
102
|
-
- tools/admin/main-
|
25
|
+
- tools/admin/ArrayWidget-DAZApfkV-278468a53d6dcd290939.js
|
26
|
+
- tools/admin/ArrayplotWidget-BfsxDplv-e75768e19a78a755021f.js
|
27
|
+
- tools/admin/BarColumn-q0nAsvrd-83b968497a97f5a12a7a.js
|
28
|
+
- tools/admin/BlockWidget-SDCUWcMQ-2bc1ff795dd9b8289734.js
|
29
|
+
- tools/admin/ButtonWidget-BVMjwC19-21d6311409e6295e5ff1.js
|
30
|
+
- tools/admin/CanvasWidget-bVkufjRQ-67d07bc7c7e068b64f55.js
|
31
|
+
- tools/admin/CanvasdotWidget-DpniFfca-45fb1bde56856286c38d.js
|
32
|
+
- tools/admin/CanvasimageWidget-DHOSz-dJ-de800e86e1bee6f5a0ff.js
|
33
|
+
- tools/admin/CanvasimagevalueWidget-zrURWWUL-17057ebfab0467f8b7f5.js
|
34
|
+
- tools/admin/CanvaslabelWidget-D-XAMifp-41af33bdafdfcfaeca35.js
|
35
|
+
- tools/admin/CanvaslabelvalueWidget-BsIdBtEb-963e3f40288b9cc769c9.js
|
36
|
+
- tools/admin/CanvaslineWidget-CA2aPGRg-176c5b3f1d9009c13ce0.js
|
37
|
+
- tools/admin/CanvaslinevalueWidget-J7epKRlo-c968b8847757e14bfb1c.js
|
38
|
+
- tools/admin/CheckbuttonWidget-ByH-PDRG-626ee1d1d84173983d50.js
|
39
|
+
- tools/admin/ComboboxWidget-Bdm_fMzW-cab3c8e434fe2c88bab1.js
|
40
|
+
- tools/admin/DateWidget-BaQqthC7-3d8a26b6aafc6de1b56a.js
|
41
|
+
- tools/admin/DetailsDialog-C5jf8o0K-618733616700caa427d3.js
|
42
|
+
- tools/admin/DynamicWidget-CfMtj7H8-28b5c02a544a8b721b2d.js
|
43
|
+
- tools/admin/FormatvalueWidget--H5B9i_Y-cca10587c6e1ab5b71a6.js
|
44
|
+
- tools/admin/Graph-M382Zo8o-749b759d928f020bf06b.js
|
45
|
+
- tools/admin/GraphWidget-_YOGDD1U-16510f2fb4ff72f50671.js
|
46
|
+
- tools/admin/HorizontalWidget-D_gzrOWs-bd70f9d52446f354a3ed.js
|
47
|
+
- tools/admin/HorizontalboxWidget-GDcjO-UB-e7a5b1d2df595dfa8528.js
|
48
|
+
- tools/admin/HorizontallineWidget-DZvOYFxf-5f8d348b3e905046cbc4.js
|
49
|
+
- tools/admin/IframeWidget-CuUav9b3-4b58f427f7c7c3b092bc.js
|
50
|
+
- tools/admin/ImageLoader-3KLKJ5mV-6e47a29f0a6ec0e7517b.js
|
51
|
+
- tools/admin/ImageviewerWidget-BMZ6REN4-99508d60b2bf097a6732.js
|
52
|
+
- tools/admin/InterfacesTab-DTixVrGo-d1c54d784fb72d35a760.js
|
53
|
+
- tools/admin/LabelWidget-oh6FIG6s-d868fb2bd26ce6d2f3d6.js
|
54
|
+
- tools/admin/LabelledWidget-Bic36les-b854193849403490d15f.js
|
55
|
+
- tools/admin/LabelprogressbarWidget-CqIiGoDb-3253bfa6f16674c0a578.js
|
56
|
+
- tools/admin/LabelsparklineWidget-DLhmqO02-5615de2dfe11c3bc1e0e.js
|
57
|
+
- tools/admin/LabelvalueWidget-BefwSSVq-80d87143686ab5e22873.js
|
58
|
+
- tools/admin/LabelvaluedescWidget-NxrCzznm-1abe6e80871d0a1d3f62.js
|
59
|
+
- tools/admin/LabelvaluelimitsbarWidget-pq7qoolL-799f04ee161ac207990e.js
|
60
|
+
- tools/admin/LabelvaluelimitscolumnWidget-edkpogsl-cc8cb37331d149620877.js
|
61
|
+
- tools/admin/LabelvaluerangebarWidget-DpJNv9dh-69d6c63a5b945223a268.js
|
62
|
+
- tools/admin/Layout-B0hvhBQO-e6d9491c66fb7999ee9f.js
|
63
|
+
- tools/admin/LedWidget--4eSxBnn-b23e9dba9fe8083fa005.js
|
64
|
+
- tools/admin/LimitsbarWidget-BQaumgRt-83eeb25d4b6e4e99b119.js
|
65
|
+
- tools/admin/LimitscolorWidget-BBF9sRtF-62a27f46ce7c054d150f.js
|
66
|
+
- tools/admin/LimitscolumnWidget-DZZtSoXw-425281a88105e20ed3ba.js
|
67
|
+
- tools/admin/LinegraphWidget-DTLZmyWs-72c6387f595a0a4013be.js
|
68
|
+
- tools/admin/MatrixbycolumnsWidget-dpgZz4wR-f0f3fdf10d49af904bf5.js
|
69
|
+
- tools/admin/MicroservicesTab-DbL48MBc-484871d8f774092c18ce.js
|
70
|
+
- tools/admin/OutputDialog-B5qHVyck-5685928991e632d92ddf.js
|
71
|
+
- tools/admin/PackagesTab-Bw34RkLc-a8bd901d60023aea57d0.js
|
72
|
+
- tools/admin/PluginsTab-C9t0-QVm-6573a228c03271a9a721.js
|
73
|
+
- tools/admin/ProgressbarWidget-7cYr8136-1c12582ce9d4ff413a55.js
|
74
|
+
- tools/admin/RadiobuttonWidget-DTfn-7F2-2fdf40f484b98c933b8e.js
|
75
|
+
- tools/admin/RadiogroupWidget-DWvTpw94-72c898511170802d814f.js
|
76
|
+
- tools/admin/RangebarWidget-CG2Y7eYp-376805c2784826569f50.js
|
77
|
+
- tools/admin/RedisTab-CvPLS0Qe-5d4a932e4970ba3ca803.js
|
78
|
+
- tools/admin/RollupWidget-C6HKTfCR-2fee2f5abf13112784d3.js
|
79
|
+
- tools/admin/RoutersTab-D-ex_yMO-5fc215e92e7302a8075a.js
|
80
|
+
- tools/admin/ScrollwindowWidget-DvhBCYd2-1ca5ef1549a42b7ea26c.js
|
81
|
+
- tools/admin/SecretsTab-CLkJfzf--d880a0e1441849be64f2.js
|
82
|
+
- tools/admin/SettingsTab-CysOMBFu-96c27242035cd5ef53f0.js
|
83
|
+
- tools/admin/SignalWidget-BZIoGjam-517ce457178e055a0785.js
|
84
|
+
- tools/admin/SimpleTextDialog-CGStqYvO-a8fcf03f2e92086fa44a.js
|
85
|
+
- tools/admin/SpacerWidget-YBS8RZIE-6f604070f76233e8abf6.js
|
86
|
+
- tools/admin/SparklineWidget-BMhY9vYe-330a5e7e3db2907e0b78.js
|
87
|
+
- tools/admin/TabbookWidget-RfET19pq-f131be0ee6a50775a079.js
|
88
|
+
- tools/admin/TargetsTab-CfBt-dZW-af29d3abcec34f39d21d.js
|
89
|
+
- tools/admin/TextboxWidget-M8vFBSxS-8d0b53e2f7eebf969abb.js
|
90
|
+
- tools/admin/TextfieldWidget-Dev7lCsT-b4e43b129c8b8b194dba.js
|
91
|
+
- tools/admin/TimeWidget-CQzn13rQ-dde78e9108545bc47090.js
|
92
|
+
- tools/admin/TitleWidget-C4zbSian-f6fd7ad5542875ddd1c9.js
|
93
|
+
- tools/admin/ToolsTab-CnhhRS3J-57d6ddffd01325622abb.js
|
94
|
+
- tools/admin/VWidget-iASFPjdx-14bb7ec00b6bb0823126.js
|
95
|
+
- tools/admin/ValueWidget-BVI6uUVX-3d7edd0290c877d1cbb8.js
|
96
|
+
- tools/admin/ValuelimitsbarWidget-BiIcery0-86e4d3b97524111adad6.js
|
97
|
+
- tools/admin/ValuelimitscolumnWidget-BiRI8GbI-2b9bd816bf467264a76d.js
|
98
|
+
- tools/admin/ValuerangebarWidget-CtMFQu9--3192b0e9ed894b0a92c2.js
|
99
|
+
- tools/admin/VerticalWidget-CRmcpQBn-52ff42eb62875348fc5a.js
|
100
|
+
- tools/admin/VerticalboxWidget-C-qChjug-a7cdc3ed315048ef8b50.js
|
101
|
+
- tools/admin/Widget-CFEnOKms-b56cb1cdd01a85ba35b8.js
|
102
|
+
- tools/admin/main-261a03f701466d100c9b.js
|
103
103
|
- tools/admin/main.js
|
104
104
|
homepage: https://github.com/OpenC3/cosmos
|
105
105
|
licenses:
|
@@ -120,7 +120,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
120
120
|
- !ruby/object:Gem::Version
|
121
121
|
version: '0'
|
122
122
|
requirements: []
|
123
|
-
rubygems_version: 3.6.
|
123
|
+
rubygems_version: 3.6.8
|
124
124
|
specification_version: 4
|
125
125
|
summary: OpenC3 COSMOS Admin Tool
|
126
126
|
test_files: []
|
@@ -1,2 +0,0 @@
|
|
1
|
-
System.register(["./main-fbb6d24d6c6c7aea815c.js","vue","./DetailsDialog-DmEC5BTs-f202c65b40d62e0a0258.js","single-spa","./VWidget-DQqb7NVW-878e082a9a9ab2278496.js","vue-router","vuex","vuetify","./Widget-oyqWpFXJ-f34bf053b788271413fe.js"],function(P,z){"use strict";var u,a,m,h,s,p,g,o,w,f,v,y,x,C,V,k;return{setters:[e=>{u=e.d},e=>{a=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,y=e.withModifiers,x=e.createTextVNode,C=e.toDisplayString},e=>{V=e.P},null,e=>{k=e.L},null,null,null,null],execute:function(){const e={components:{DetailsDialog:V},data:function(){return{width:400,height:400,bytesPerWord:4,wordsPerRow:4,addrFormat:null,formatter:"%02X"}},mixins:[k],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 r="";if(t&&t.raw){let D=" ",W=`
|
2
|
-
`,i=0,l=0;const d=this.bytesPerWord*this.wordsPerRow;for(const c of t.raw)this.addrFormat&&i===0&&(r+=sprintf(this.addrFormat,l),l+=d),r+=sprintf(this.formatter,c),i+=1,i%d===0?(i=0,r+=W):i%this.bytesPerWord===0&&(r+=D)}else r=t;return r}}},S={class:"block-widget-container"};function B(t,r,D,W,i,l){const d=a("v-textarea"),c=a("v-list-item-title"),F=a("v-list-item"),M=a("v-list"),_=a("v-menu"),b=a("details-dialog");return h(),m("div",S,[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":r[0]||(r[0]=n=>t.contextMenuShown=n),target:[t.x,t.y]},{default:o(()=>[s(M,null,{default:o(()=>[(h(!0),m(w,null,f(t.contextMenuOptions,(n,N)=>(h(),v(F,{key:N,onClick:y(n.action,["stop"])},{default:o(()=>[s(c,null,{default:o(()=>[x(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":r[1]||(r[1]=n=>t.viewDetails=n)},null,8,["target-name","packet-name","item-name","modelValue"])])}const L=P("default",u(e,[["render",B],["__scopeId","data-v-4d4589c2"]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./Layout-Tf--nruw-e15025d3ca9d03d87e1b.js","vue","./main-fbb6d24d6c6c7aea815c.js","./Widget-oyqWpFXJ-f34bf053b788271413fe.js","vue-router","single-spa","vuex","vuetify"],function(p,f){"use strict";var i,s,n,a,l,c,u,o,g;return{setters:[e=>{i=e.r},e=>{s=e.createElementBlock,n=e.openBlock,a=e.Fragment,l=e.renderList,c=e.createBlock,u=e.resolveDynamicComponent,o=e.mergeProps},e=>{g=e.d},null,null,null,null,null],execute:function(){const e={mixins:[i],computed:{width(){return this.parameters[0]+"px"},height(){return this.parameters[1]+"px"}}},d=["width","height"];function h(r,y,k,b,B,m){return n(),s("svg",{id:"canvas",width:m.width,height:m.height},[(n(!0),s(a,null,l(r.widgets,(t,v)=>(n(),c(u(t.type),o({ref_for:!0},r.listeners,{key:v,target:t.target,parameters:t.parameters,settings:t.settings,"screen-values":r.screenValues,"screen-time-zone":r.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))],8,d)}const w=p("default",g(e,[["render",h],["__scopeId","data-v-47bdfc3c"]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./Widget-oyqWpFXJ-f34bf053b788271413fe.js","vue","./main-fbb6d24d6c6c7aea815c.js","vue-router","single-spa","vuex","vuetify"],function(s,o){"use strict";var t,l,n,c;return{setters:[e=>{t=e.o},e=>{l=e.createElementBlock,n=e.openBlock},e=>{c=e.d},null,null,null,null],execute:function(){const e={mixins:[t]},u=["cx","cy","r","fill"];function i(r,m,p,f,d,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 a=s("default",c(e,[["render",i]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./Widget-oyqWpFXJ-f34bf053b788271413fe.js","vue","./main-fbb6d24d6c6c7aea815c.js","vue-router","single-spa","vuex","vuetify"],function(o,p){"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.d},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,f,x,y,d,c){return n(),l("text",{x:t.parameters[0],y:t.parameters[1],fill:c.fillColor},s(t.parameters[2]),9,a)}const m=o("default",i(e,[["render",u]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./Widget-oyqWpFXJ-f34bf053b788271413fe.js","vue","./main-fbb6d24d6c6c7aea815c.js","vue-router","single-spa","vuex","vuetify"],function(c,p){"use strict";var t,a,n,o,s,r;return{setters:[e=>{t=e.o},e=>{a=e.resolveComponent,n=e.createBlock,o=e.openBlock,s=e.normalizeStyle},e=>{r=e.d},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,y,k,l,b){const m=a("v-checkbox");return o(),n(m,{"hide-details":"",density:"compact",label:l.label,modelValue:l.value,"onUpdate:modelValue":u[0]||(u[0]=v=>l.value=v),style:s(d.computedStyle)},null,8,["label","modelValue","style"])}const h=c("default",r(e,[["render",i]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./Widget-oyqWpFXJ-f34bf053b788271413fe.js","./main-fbb6d24d6c6c7aea815c.js","vue","vue-router","single-spa","vuex","vuetify"],function(d,y){"use strict";var l,a,n,r,s,o,u;return{setters:[e=>{l=e.o},e=>{a=e.d,n=e.P},e=>{r=e.resolveComponent,s=e.createBlock,o=e.openBlock,u=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,f,v,t,b){const h=r("v-text-field");return o(),s(h,{modelValue:t.dateValue,"onUpdate:modelValue":i[0]||(i[0]=p=>t.dateValue=p),label:t.label,style:u(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(["./Widget-oyqWpFXJ-f34bf053b788271413fe.js","./ValueWidget-C6RanBj3-da5499cb68372d5227fc.js","vue","./main-fbb6d24d6c6c7aea815c.js","./DetailsDialog-DmEC5BTs-f202c65b40d62e0a0258.js","single-spa","./VWidget-DQqb7NVW-878e082a9a9ab2278496.js","vue-router","vuex","vuetify"],function(m,f){"use strict";var r,s,n,a,l,i,o,c,u;return{setters:[e=>{r=e.o},e=>{s=e.default},e=>{n=e.resolveComponent,a=e.createElementBlock,l=e.openBlock,i=e.normalizeStyle,o=e.createVNode,c=e.mergeProps},e=>{u=e.d},null,null,null,null,null,null],execute:function(){const e={mixins:[r],components:{ValueWidget:s},computed:{getParameters(){return[this.parameters[0],this.parameters[1],this.parameters[2],this.parameters[4]]}},created(){this.setWidth(this.parameters[5],"ch",12)}};function p(t,h,y,V,W,g){const d=n("value-widget");return l(),a("div",{ref:"container",class:"d-flex flex-row",style:i(t.computedStyle)},[o(d,c(t.$attrs,{parameters:g.getParameters,settings:t.appliedSettings,"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone,"format-string":t.parameters[3]}),null,16,["parameters","settings","screen-values","screen-time-zone","format-string"])],4)}const v=m("default",u(e,[["render",p]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./main-fbb6d24d6c6c7aea815c.js","vue"],function(le,De){"use strict";var $,A,H,M,j,J,W,B,q,h,O,w,Q,i,b,I,s,S,ee,x,T,m,E,N,te,ie,Z,ae,se;return{setters:[p=>{$=p.d,A=p.P,H=p.B,M=p.m,j=p.D,J=p.F,W=p.l,B=p.$,q=p.c},p=>{h=p.resolveComponent,O=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,E=p.vShow,N=p.toDisplayString,te=p.normalizeProps,ie=p.guardReactiveProps,Z=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 B(q(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 B(q(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=W(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=W(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"),P=h("v-list-item"),k=h("v-icon"),C=h("v-tooltip"),G=h("v-list"),L=h("v-data-table"),K=h("v-tabs-window"),F=h("v-card-actions"),d=h("v-card"),R=h("v-dialog");return w(),b(R,{modelValue:r.show,"onUpdate:modelValue":e[12]||(e[12]=c=>r.show=c),onKeydown:e[13]||(e[13]=Z(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(K,{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(P,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),O(ae,null,se(t.graph.lines,(c,X)=>(w(),b(P,{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":Y=>c.yValue=Y},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":Y=>c.color=Y},null,8,["items","modelValue","onUpdate:modelValue"])]),_:2},1024),i(_,null,{default:s(()=>[i(C,{text:"Remove",location:"top"},{activator:s(({props:Y})=>[i(k,T({ref_for:!0},Y,{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:Y=>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(F,{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]=Z(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(),O("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,N(t.limitsName)+": "+N(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 j,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.hideOverview||(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&&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&&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=this.data[0].length;if(u===0||a>this.data[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=H(this.data[0],a,this.bs_comparator);if(l>=0){for(;l>=0;)a-=1e-5,l=H(this.data[0],a,this.bs_comparator);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])}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"),P=h("v-dialog"),k=h("v-list-item-title"),C=h("v-list-item"),G=h("v-list"),L=h("v-menu"),K=h("graph-edit-item-dialog"),F=h("v-list-subheader");return w(),O("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]=R=>l.errorDialog=!0)}),{default:s(()=>e[22]||(e[22]=[m(" mdi-alert ")])),_:2},1040)]),_:1})],512),[[E,l.errors.length!==0]]),i(o,{text:"Edit",location:"top"},{activator:s(({props:d})=>[i(n,T(d,{onClick:e[1]||(e[1]=R=>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,N(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),[[E,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),[[E,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),[[E,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]=R=>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"]),[[E,!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),[[E,l.showOverview]])],512),[[E,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(P,{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 "+N(l.title),1)]),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue","target"])):I("",!0),l.editItem?(w(),b(K,{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(F,null,{default:s(()=>[m(N(l.selectedItem.targetName)+" "+N(l.selectedItem.packetName)+" "+N(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(),O("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-51bcc3ba"]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./LabelWidget-xrmcVeq8-894f83570ba8b552e75c.js","./HorizontallineWidget-CXFqHclf-7ca376904e3068703325.js","./HorizontalWidget-Cd_wl1b3-fba8f18453014a0565ad.js","./Layout-Tf--nruw-e15025d3ca9d03d87e1b.js","vue","./main-fbb6d24d6c6c7aea815c.js","./Widget-oyqWpFXJ-f34bf053b788271413fe.js","vue-router","single-spa","vuex","vuetify"],function(m,h){"use strict";var r,l,a,o,n,c,s,g,d,i,u,p;return{setters:[e=>{r=e.default},e=>{l=e.default},e=>{a=e.default},e=>{o=e.r},e=>{n=e.resolveComponent,c=e.createElementBlock,s=e.openBlock,g=e.createBlock,d=e.createCommentVNode,i=e.createVNode,u=e.mergeProps},e=>{p=e.d},null,null,null,null,null],execute:function(){const e={mixins:[o],components:{LabelWidget:r,HorizontalLineWidget:l,HorizontalWidget:a},created(){this.labelSettings=[...this.appliedSettings],this.labelSettings.find(t=>t[0]==="0"&&t[1]==="RAW"&&t[2]==="font-weight")||this.labelSettings.push(["0","RAW","font-weight","bold"])}};function f(t,S,z,j,k,V){const w=n("label-widget"),b=n("horizontal-line-widget"),W=n("horizontal-widget");return s(),c("div",null,[t.parameters.length>0?(s(),g(w,{key:0,parameters:t.parameters.slice(0,1),settings:[...t.labelSettings],"widget-index":0},null,8,["parameters","settings"])):d("",!0),i(b,{settings:[...t.appliedSettings],"widget-index":1},null,8,["settings"]),i(W,u(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 v=m("default",p(e,[["render",f]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./Widget-oyqWpFXJ-f34bf053b788271413fe.js","vue","./main-fbb6d24d6c6c7aea815c.js","vue-router","single-spa","vuex","vuetify"],function(o,i){"use strict";var t,n,l,r,u;return{setters:[e=>{t=e.o},e=>{n=e.createElementBlock,l=e.openBlock,r=e.normalizeStyle},e=>{u=e.d},null,null,null,null],execute:function(){const e={mixins:[t]};function c(s,m,y,f,p,d){return l(),n("hr",{style:r(s.computedStyle)},null,4)}const a=o("default",u(e,[["render",c]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./main-fbb6d24d6c6c7aea815c.js","vue","single-spa","./OutputDialog-zVPZiZay-5273ae10027e2cc87949.js","vue-router","vuex","vuetify"],function(D,b){"use strict";var p,u,t,c,r,o,f,g,n,h,v,d,m,C,k,V;return{setters:[e=>{p=e.d,u=e.O},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=>{V=e.J},null,null,null],execute:function(){const e={components:{OutputDialog:V},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 y(l,a,E,J,i,w){const N=t("v-list-item-title"),_=t("v-icon"),S=t("v-tooltip"),B=t("v-list-item"),j=t("v-divider"),x=t("v-list"),O=t("output-dialog");return r(),c("div",null,[o(x,{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:T})=>[o(_,k({ref_for:!0},T,{onClick:L=>w.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(N,null,{default:n(()=>[d(m(s),1)]),_:2},1024)]),_:2},1024),o(j)]))),128))]),_:1}),i.showDialog?(r(),f(O,{key:0,content:i.jsonContent,type:"Interface",name:i.dialogTitle,modelValue:i.showDialog,"onUpdate:modelValue":a[0]||(a[0]=s=>i.showDialog=s),onSubmit:w.dialogCallback},null,8,["content","name","modelValue","onSubmit"])):g("",!0)])}const I=D("default",p(e,[["render",y],["__scopeId","data-v-c01188b0"]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./Widget-oyqWpFXJ-f34bf053b788271413fe.js","./LabelWidget-xrmcVeq8-894f83570ba8b552e75c.js","./LedWidget-qH_FthkK-a5e74d98a22307a883a8.js","vue","./main-fbb6d24d6c6c7aea815c.js","vue-router","single-spa","vuex","vuetify","./DetailsDialog-DmEC5BTs-f202c65b40d62e0a0258.js"],function(p,x){"use strict";var l,r,a,s,i,o,c,n,u,d;return{setters:[e=>{l=e.o},e=>{r=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.d},null,null,null,null,null],execute:function(){const e={mixins:[l],components:{LabelWidget:r,LedWidget:a},computed:{labelName(){return[this.parameters[2]+":"]}}};function g(t,S,W,b,w,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 y=p("default",d(e,[["render",g]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./Widget-oyqWpFXJ-f34bf053b788271413fe.js","./LabelWidget-xrmcVeq8-894f83570ba8b552e75c.js","./ProgressbarWidget-iYGw8-Dc-d9aad79edecffa90902a.js","vue","./main-fbb6d24d6c6c7aea815c.js","vue-router","single-spa","vuex","vuetify"],function(d,v){"use strict";var n,l,a,r,o,i,c,s,u,p;return{setters:[e=>{n=e.o},e=>{l=e.default},e=>{a=e.default},e=>{r=e.resolveComponent,o=e.createElementBlock,i=e.openBlock,c=e.normalizeStyle,s=e.createVNode,u=e.mergeProps},e=>{p=e.d},null,null,null,null],execute:function(){const e={mixins:[n],components:{LabelWidget:l,ProgressbarWidget:a},computed:{labelName(){return[this.parameters[2]+":"]}}};function g(t,x,S,w,W,m){const f=r("label-widget"),y=r("progressbar-widget");return i(),o("div",{ref:"container",class:"d-flex flex-row",style:c(t.computedStyle)},[s(f,{parameters:m.labelName,settings:[...t.appliedSettings],"widget-index":0},null,8,["parameters","settings"]),s(y,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=d("default",p(e,[["render",g]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./Widget-oyqWpFXJ-f34bf053b788271413fe.js","./LabelWidget-xrmcVeq8-894f83570ba8b552e75c.js","./SparklineWidget-coxi9r2g-8feb089ce863bd78d520.js","vue","./main-fbb6d24d6c6c7aea815c.js","vue-router","single-spa","vuex","vuetify","./GraphWidget-DurWDmpg-ebee4b7d87defdaf5d8f.js","./Graph-Bgo0cjl3-b73fb6638f6aac6b1a30.js"],function(c,y){"use strict";var i,s,a,l,o,u,n,r,p;return{setters:[e=>{i=e.o},e=>{s=e.default},e=>{a=e.default},e=>{l=e.resolveComponent,o=e.createElementBlock,u=e.openBlock,n=e.normalizeStyle,r=e.createVNode},e=>{p=e.d},null,null,null,null,null,null],execute:function(){const e={mixins:[i],components:{LabelWidget:s,SparklineWidget:a},computed:{labelName(){return[this.parameters[2]+":"]}}};function d(t,b,x,v,W,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)},[r(g,{parameters:m.labelName,settings:[...t.appliedSettings],line:t.line,lineNumber:t.lineNumber,"widget-index":0},null,8,["parameters","settings","line","lineNumber"]),r(f,{parameters:t.parameters,settings:[...t.appliedSettings],style:n(t.computedStyle),"widget-index":1},null,8,["parameters","settings","style"])],4)}const S=c("default",p(e,[["render",d]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./LabelWidget-xrmcVeq8-894f83570ba8b552e75c.js","./ValueWidget-C6RanBj3-da5499cb68372d5227fc.js","./LimitscolumnWidget-CcLs_443-944fa38b9446f615b635.js","./Widget-oyqWpFXJ-f34bf053b788271413fe.js","vue","./main-fbb6d24d6c6c7aea815c.js","vue-router","single-spa","vuex","vuetify","./DetailsDialog-DmEC5BTs-f202c65b40d62e0a0258.js","./VWidget-DQqb7NVW-878e082a9a9ab2278496.js","./BarColumn-C6p07yWK-7ae551032c38dd002d95.js"],function(d,j){"use strict";var r,i,a,u,n,o,c,m,s,l,g;return{setters:[e=>{r=e.default},e=>{i=e.default},e=>{a=e.default},e=>{u=e.o},e=>{n=e.resolveComponent,o=e.createElementBlock,c=e.openBlock,m=e.normalizeStyle,s=e.createVNode,l=e.mergeProps},e=>{g=e.d},null,null,null,null,null,null,null],execute:function(){const e={mixins:[u],components:{LabelWidget:r,ValueWidget:i,LimitscolumnWidget:a}};function p(t,V,b,w,y,x){const v=n("label-widget"),W=n("limitscolumn-widget"),f=n("value-widget");return c(),o("div",{ref:"container",style:m(t.computedStyle)},[s(v,{parameters:[t.parameters[2]],settings:[...t.appliedSettings],"widget-index":0},null,8,["parameters","settings"]),s(W,l(t.$attrs,{parameters:t.parameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"widget-index":2,line:t.line,lineNumber:t.lineNumber}),null,16,["parameters","settings","screen-values","line","lineNumber"]),s(f,l(t.$attrs,{parameters:t.parameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone,"widget-index":1}),null,16,["parameters","settings","screen-values","screen-time-zone"])],4)}const S=d("default",g(e,[["render",p]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./BarColumn-C6p07yWK-7ae551032c38dd002d95.js","vue","./main-fbb6d24d6c6c7aea815c.js","./Widget-oyqWpFXJ-f34bf053b788271413fe.js","vue-router","single-spa","vuex","vuetify"],function(u,g){"use strict";var l,r,a,n,s,t,o,c,m;return{setters:[i=>{l=i.l},i=>{r=i.resolveComponent,a=i.createBlock,n=i.openBlock,s=i.withCtx,t=i.createElementVNode,o=i.toDisplayString,c=i.mergeProps},i=>{m=i.d},null,null,null,null,null],execute:function(){const i={mixins:[l],data(){return{width:160,height:22}},computed:{limitsRange(){let e=this.limitsSettings[this.selectedLimitsSet];if(e)return e.length===4?`RL/${e[0]} YL/${e[1]} YH/${e[2]} RH/${e[3]}`:`RL/${e[0]} YL/${e[1]} YH/${e[2]} RH/${e[3]} GL/${e[4]} GH/${e[5]}`;throw{line:this.line,lineNumber:this.lineNumber,keyword:"LIMITSBAR",parameters:this.parameters,message:"Item has no limits settings",usage:"Only items with limits"}}},created(){this.verifyNumParams("LIMITSBAR",3,6,"LIMITSBAR <TARGET> <PACKET> <ITEM> <TYPE> <WIDTH> <HEIGHT>")}};function v(e,d,y,w,I,_){const h=r("v-tooltip");return n(),a(h,{location:"top"},{activator:s(({props:p})=>[t("div",c({class:"limitsbar",style:[e.cssProps,e.computedStyle]},p),d[0]||(d[0]=[t("div",{class:"limitsbar__container"},[t("div",{class:"limitsbar__redlow"}),t("div",{class:"limitsbar__redhigh"}),t("div",{class:"limitsbar__yellowlow"}),t("div",{class:"limitsbar__yellowhigh"}),t("div",{class:"limitsbar__greenlow"}),t("div",{class:"limitsbar__greenhigh"}),t("div",{class:"limitsbar__blue"}),t("div",{class:"limitsbar__line"}),t("div",{class:"limitsbar__arrow"})],-1)]),16)]),default:s(()=>[t("span",null,o(_.limitsRange),1)]),_:1})}const b=u("default",m(i,[["render",v],["__scopeId","data-v-de501268"]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./GraphWidget-DurWDmpg-ebee4b7d87defdaf5d8f.js","./main-fbb6d24d6c6c7aea815c.js","vue","./Graph-Bgo0cjl3-b73fb6638f6aac6b1a30.js","single-spa","./Widget-oyqWpFXJ-f34bf053b788271413fe.js","vue-router","vuex","vuetify"],function(p,u){"use strict";var s,n,r,o,a,d,l;return{setters:[t=>{s=t._},t=>{n=t.d},t=>{r=t.resolveComponent,o=t.createBlock,a=t.openBlock,d=t.normalizeStyle},t=>{l=t.S},null,null,null,null,null],execute:function(){const t={components:{Graph:l},mixins:[s]};function h(e,i,m,v,y,S){const c=r("graph");return a(),o(c,{ref:"graph"+e.id,id:e.id,state:e.state,"selected-graph-id":e.id,startTime:e.startTime,"seconds-graphed":e.secondsGraphed,"points-saved":e.pointsSaved,"points-graphed":e.pointsGraphed,"initial-items":e.items,height:e.size.height,width:e.size.width,style:d(e.computedStyle),"time-zone":this.screenTimeZone,onPause:i[0]||(i[0]=()=>e.state="pause"),onStart:i[1]||(i[1]=()=>e.state="start"),"hide-toolbar":"","hide-overview":""},null,8,["id","state","selected-graph-id","startTime","seconds-graphed","points-saved","points-graphed","initial-items","height","width","style","time-zone"])}const g=p("default",n(t,[["render",h]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./main-fbb6d24d6c6c7aea815c.js","vue","single-spa","./OutputDialog-zVPZiZay-5273ae10027e2cc87949.js","vue-router","vuex","vuetify"],function(F,X){"use strict";var D,f,O,U,i,y,p,t,a,c,m,B,L,u,V,C,P,I,J,k,R,b,z;return{setters:[r=>{D=r.d,f=r.O,O=r.p,U=r.l},r=>{i=r.resolveComponent,y=r.createBlock,p=r.openBlock,t=r.withCtx,a=r.createVNode,c=r.createElementVNode,m=r.toDisplayString,B=r.normalizeProps,L=r.guardReactiveProps,u=r.createTextVNode,V=r.createElementBlock,C=r.createCommentVNode,P=r.Fragment,I=r.renderList,J=r.withDirectives,k=r.mergeProps,R=r.vShow,b=r.toHandlers},null,r=>{z=r.J},null,null,null],execute:function(){const r={props:{modelValue:Boolean,text:String,title:String},computed:{dialogText:function(){return this.text},show:{get(){return this.modelValue},set(o){this.$emit("update:modelValue",o)}}},methods:{download:function(){const o=new Blob([this.dialogText],{type:"text/plain"}),e=document.createElement("a");e.href=URL.createObjectURL(o),e.setAttribute("download",`${this.title}__error.txt`),e.click()}}},Z={class:"mx-2"},q={class:"pa-2"};function G(o,e,d,h,s,n){const T=i("v-spacer"),M=i("v-icon"),E=i("v-tooltip"),_=i("v-toolbar"),g=i("v-textarea"),S=i("v-card-text"),A=i("v-btn"),N=i("v-card-actions"),$=i("v-card"),j=i("v-dialog");return p(),y(j,{modelValue:n.show,"onUpdate:modelValue":e[2]||(e[2]=v=>n.show=v),width:"600"},{default:t(()=>[a($,null,{default:t(()=>[a(_,{height:"24"},{default:t(()=>[a(T),c("span",null,m(d.title),1),a(T),c("div",Z,[a(E,{location:"top"},{activator:t(({props:v})=>[c("div",B(L(v)),[a(M,{"data-test":"downloadIcon",onClick:n.download},{default:t(()=>e[3]||(e[3]=[u(" mdi-download ")])),_:1},8,["onClick"])],16)]),default:t(()=>[e[4]||(e[4]=c("span",null," Download ",-1))]),_:1})])]),_:1}),c("div",q,[a(S,null,{default:t(()=>[a(g,{modelValue:n.dialogText,"onUpdate:modelValue":e[0]||(e[0]=v=>n.dialogText=v),readonly:"",rows:"15","data-test":"dialogText"},null,8,["modelValue"])]),_:1})]),a(N,{class:"px-2"},{default:t(()=>[a(T),a(A,{variant:"flat",onClick:e[1]||(e[1]=v=>n.show=!n.show)},{default:t(()=>e[5]||(e[5]=[u(" Ok ")])),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue"])}const K={components:{OutputDialog:z,TextBoxDialog:D(r,[["render",G]])},data(){return{microservices:[],microservice_status:{},microservice_id:null,jsonContent:"",dialogTitle:"",showDialog:!1,showError:!1,alert:"",alertType:"success",showAlert:!1,updater:null}},mounted(){this.update(),this.updater=setInterval(()=>{this.update()},2e3)},beforeUnmount(){clearInterval(this.updater),this.updater=null},methods:{update:function(){f.get("/openc3-api/microservice_status/all").then(o=>{this.microservice_status=o.data}),f.get("/openc3-api/microservices/all").then(o=>{let e=[];for(const[d,h]of Object.entries(o.data))e.push(h);e.sort((d,h)=>d.name.localeCompare(h.name)),this.microservices=e})},startMicroservice:function(o){this.$dialog.confirm(`Are you sure you want to restart microservice: ${o}?`,{okText:"Start",cancelText:"Cancel"}).then(e=>{f.post(`/openc3-api/microservices/${o}/start`).then(d=>{this.alert=`Started ${o}`,this.alertType="success",this.showAlert=!0,setTimeout(()=>{this.showAlert=!1},5e3)}).then(()=>{this.update()})})},stopMicroservice:function(o){this.$dialog.confirm(`Are you sure you want to stop microservice: ${o}?`,{okText:"Stop",cancelText:"Cancel"}).then(e=>{f.post(`/openc3-api/microservices/${o}/stop`).then(d=>{this.alert=`Stopped ${o}`,this.alertType="success",this.showAlert=!0,setTimeout(()=>{this.showAlert=!1},5e3)}).then(()=>{this.update()})})},showMicroservice:function(o){f.get(`/openc3-api/microservices/${o}`).then(e=>{this.microservice_id=o,this.dialogTitle=o,this.jsonContent=JSON.stringify(e.data,null," "),this.showDialog=!0})},showMicroserviceError:function(o){this.dialogTitle=o;const e=this.microservice_status[o].error;this.jsonContent=JSON.stringify(e,null," "),this.showError=!0},formatDate(o){return O(U(parseInt(o)/1e6),"yyyy-MM-dd HH:mm:ss.SSS")},dialogCallback:function(o){if(this.showDialog=!1,o!==null){let e=JSON.parse(o),d="put",h=`/openc3-api/microservices/${this.microservice_id}`;e.name!==this.microservice_id&&(d="post",h="/openc3-api/microservices"),f[d](h,{data:{json:o}}).then(s=>{this.alert="Modified Microservice",this.alertType="success",this.showAlert=!0,setTimeout(()=>{this.showAlert=!1},5e3),this.update()})}}}},Q={key:0};function W(o,e,d,h,s,n){const T=i("v-alert"),M=i("v-list-item-title"),E=i("v-list-item-subtitle"),_=i("v-icon"),g=i("v-tooltip"),S=i("v-list-item-icon"),A=i("v-list-item"),N=i("v-divider"),$=i("v-list"),j=i("output-dialog"),v=i("text-box-dialog");return p(),V("div",null,[a(T,{modelValue:s.showAlert,"onUpdate:modelValue":e[0]||(e[0]=l=>s.showAlert=l),dismissible:"",transition:"scale-transition",type:s.alertType},{default:t(()=>[u(m(s.alert),1)]),_:1},8,["modelValue","type"]),a($,{class:"list","data-test":"microserviceList"},{default:t(()=>[(p(!0),V(P,null,I(s.microservices,l=>(p(),V("div",{key:l},[a(A,null,{append:t(()=>[s.microservice_status[l.name]?(p(),V("div",Q,[J(c("div",null,[a(g,{location:"top"},{activator:t(({props:w})=>[a(_,k({ref_for:!0},w,{onClick:x=>n.showMicroserviceError(l.name)}),{default:t(()=>e[3]||(e[3]=[u(" mdi-alert ")])),_:2},1040,["onClick"])]),default:t(()=>[e[4]||(e[4]=c("span",null,"View Error",-1))]),_:2},1024)],512),[[R,!!s.microservice_status[l.name].error]])])):C("",!0),a(S,{class:"mr-3"},{default:t(()=>[a(g,{bottom:""},{activator:t(({on:w,attrs:x})=>[a(_,k({onClick:H=>n.startMicroservice(l.name),ref_for:!0},x,b(w)),{default:t(()=>e[5]||(e[5]=[u(" mdi-play ")])),_:2},1040,["onClick"])]),default:t(()=>[e[6]||(e[6]=c("span",null,"Start Microservice",-1))]),_:2},1024)]),_:2},1024),a(S,{class:"mr-3"},{default:t(()=>[a(g,{bottom:""},{activator:t(({on:w,attrs:x})=>[a(_,k({onClick:H=>n.stopMicroservice(l.name),ref_for:!0},x,b(w)),{default:t(()=>e[7]||(e[7]=[u(" mdi-stop ")])),_:2},1040,["onClick"])]),default:t(()=>[e[8]||(e[8]=c("span",null,"Stop Microservice",-1))]),_:2},1024)]),_:2},1024),a(S,null,{default:t(()=>[a(g,{bottom:""},{activator:t(({on:w,attrs:x})=>[a(_,k({onClick:H=>n.showMicroservice(l.name),ref_for:!0},x,b(w)),{default:t(()=>e[9]||(e[9]=[u(" mdi-eye ")])),_:2},1040,["onClick"])]),default:t(()=>[e[10]||(e[10]=c("span",null,"View Microservice",-1))]),_:2},1024)]),_:2},1024)]),default:t(()=>[a(M,null,{default:t(()=>[u(m(l.name),1)]),_:2},1024),s.microservice_status[l.name]?(p(),y(E,{key:0},{default:t(()=>[u(" Updated: "+m(n.formatDate(s.microservice_status[l.name].updated_at))+", State: "+m(s.microservice_status[l.name].state)+", Enabled: "+m(l.enabled===!1?"False":"True")+", Count: "+m(s.microservice_status[l.name].count),1)]),_:2},1024)):C("",!0)]),_:2},1024),a(N)]))),128))]),_:1}),s.showDialog?(p(),y(j,{key:0,modelValue:s.showDialog,"onUpdate:modelValue":e[1]||(e[1]=l=>s.showDialog=l),content:s.jsonContent,type:"Microservice",name:s.dialogTitle,onSubmit:n.dialogCallback},null,8,["modelValue","content","name","onSubmit"])):C("",!0),s.showError?(p(),y(v,{key:1,modelValue:s.showError,"onUpdate:modelValue":e[2]||(e[2]=l=>s.showError=l),text:s.jsonContent,title:s.dialogTitle},null,8,["modelValue","text","title"])):C("",!0)])}const ee=F("default",D(K,[["render",W],["__scopeId","data-v-af1fc783"]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./main-fbb6d24d6c6c7aea815c.js","vue"],function(x,N){"use strict";var _,i,f,s,b,y,a,r,c,k,M,v,m;return{setters:[n=>{_=n.d,i=n.a,f=n.F},n=>{s=n.resolveComponent,b=n.createBlock,y=n.openBlock,a=n.withCtx,r=n.createVNode,c=n.createElementVNode,k=n.toDisplayString,M=n.normalizeProps,v=n.guardReactiveProps,m=n.createTextVNode}],execute:function(){const n={methods:{buildLanguageMode(t,e){let o=i.require("ace/lib/oop"),h=Object.getOwnPropertyNames(f.prototype).filter(d=>d!=="constructor").filter(d=>d!=="exec").concat(["check","check_raw","check_formatted","check_with_units","check_exception","check_tolerance","check_expression","wait","wait_tolerance","wait_expression","wait_check","wait_check_tolerance","wait_check_expression","wait_packet","wait_check_packet","disable_instrumentation","set_line_delay","get_line_delay","set_max_output","get_max_output"]),p=new RegExp(`(\\b${h.join("\\b|\\b")}\\b)`),l=function(){t.call(this);for(let d in this.$rules)this.$rules[d].unshift({regex:p,token:"support.function"})};o.inherits(l,t);let u=i.require("ace/mode/matching_brace_outdent").MatchingBraceOutdent,w=i.require("ace/mode/behaviour/cstyle").CstyleBehaviour;return[o,function(){this.HighlightRules=l,this.$outdent=new u,this.$behaviour=new w,this.foldingRules=new e,this.indentKeywords=this.foldingRules.indentKeywords}]},buildRubyMode(){const[t,e]=this.buildLanguageMode(i.require("ace/mode/ruby_highlight_rules").RubyHighlightRules,i.require("ace/mode/folding/ruby").FoldMode);let o=i.require("ace/mode/ruby").Mode;return t.inherits(e,o),(function(){this.$id="ace/mode/openc3"}).call(e.prototype),e},buildPythonMode(){const[t,e]=this.buildLanguageMode(i.require("ace/mode/python_highlight_rules").PythonHighlightRules,i.require("ace/mode/folding/pythonic").FoldMode);let o=i.require("ace/mode/python").Mode;return t.inherits(e,o),(function(){this.$id="ace/mode/openc3"}).call(e.prototype),e},buildJsonMode(){const[t,e]=this.buildLanguageMode(i.require("ace/mode/json_highlight_rules").JsonHighlightRules,i.require("ace/mode/folding/ruby").FoldMode);let o=i.require("ace/mode/json").Mode;return t.inherits(e,o),(function(){this.$id="ace/mode/openc3"}).call(e.prototype),e},buildMarkdownMode(){const[t,e]=this.buildLanguageMode(i.require("ace/mode/markdown_highlight_rules").MarkdownHighlightRules,i.require("ace/mode/folding/markdown").FoldMode);let o=i.require("ace/mode/markdown").Mode;return t.inherits(e,o),(function(){this.$id="ace/mode/openc3"}).call(e.prototype),e}}},q={props:{content:{type:String,required:!0},type:String,name:String,modelValue:Boolean,filename:{type:String,required:!1}},mixins:[n],data(){return{editor:null,mode:null}},mounted(){this.editor=ace.edit(this.$refs.editor),this.editor.setTheme("ace/theme/twilight");let t=null;switch(this.filename?this.filename.split(".").pop():"txt"){case"json":const e=this.buildJsonMode();t=new e,this.editor.setOptions({useWorker:!1});break;case"py":case"pyi":const o=this.buildPythonMode();t=new o;break;case"md":const h=this.buildMarkdownMode();t=new h;break;default:const p=this.buildRubyMode();t=new p;break}this.editor.session.setMode(t),this.editor.session.setUseWrapMode(!0),this.editor.$blockScrolling=1/0,this.editor.setHighlightActiveLine(!1),this.editor.setValue(this.content),this.editor.clearSelection(),this.editor.focus(),this.editor.setReadOnly(!0)},beforeUnmount(){this.editor&&this.editor.destroy()},computed:{show:{get(){return this.modelValue},set(t){this.$emit("update:modelValue",t)}},title:function(){return`${this.type}: ${this.name}`}},methods:{close:function(){this.show=!this.show},download:function(){const t=new Blob([this.editor.getValue()],{type:"text/plain"});let e=`${this.type.toLowerCase()}_${this.name.toLowerCase()}.json`;this.filename&&(e=this.filename);const o=document.createElement("a");o.href=URL.createObjectURL(t),o.setAttribute("download",e),o.click()}}},R=["textContent"],$={class:"mx-2"},V={class:"editor",ref:"editor"};function C(t,e,o,h,p,l){const u=s("v-spacer"),w=s("v-icon"),d=s("v-tooltip"),L=s("v-toolbar"),j=s("v-card-text"),B=s("v-btn"),P=s("v-card-actions"),S=s("v-card"),O=s("v-dialog");return y(),b(O,{modelValue:l.show,"onUpdate:modelValue":e[1]||(e[1]=g=>l.show=g),width:"85vw"},{default:a(()=>[r(S,null,{default:a(()=>[r(L,{height:"24"},{default:a(()=>[r(u),c("span",{textContent:k(l.title)},null,8,R),r(u),c("div",$,[r(d,{location:"top"},{activator:a(({props:g})=>[c("div",M(v(g)),[r(w,{"data-test":"downloadIcon",onClick:l.download},{default:a(()=>e[2]||(e[2]=[m(" mdi-download ")])),_:1},8,["onClick"])],16)]),default:a(()=>[e[3]||(e[3]=c("span",null," Download ",-1))]),_:1})])]),_:1}),r(j,null,{default:a(()=>[c("pre",V,null,512)]),_:1}),r(P,{class:"pr-6 pb-4 pt-0"},{default:a(()=>[r(u),r(B,{variant:"flat",onClick:e[0]||(e[0]=g=>l.show=!l.show)},{default:a(()=>e[4]||(e[4]=[m(" Ok ")])),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue"])}const F=x("J",_(q,[["render",C],["__scopeId","data-v-35a62559"]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./main-fbb6d24d6c6c7aea815c.js","vue","single-spa","./SimpleTextDialog-pwN8oRy1-2e2addd7ce31747515d9.js","vue-router","vuex","vuetify"],function(R,Q){"use strict";var $,S,f,b,T,i,p,u,a,L,N,t,d,r,k,y,F,h,B,_,I;return{setters:[s=>{$=s.d,S=s._,f=s.O,b=s.p,T=s.l},s=>{i=s.resolveComponent,p=s.createElementBlock,u=s.openBlock,a=s.createVNode,L=s.createBlock,N=s.createCommentVNode,t=s.withCtx,d=s.createElementVNode,r=s.createTextVNode,k=s.Fragment,y=s.renderList,F=s.createSlots,h=s.toDisplayString,B=s.normalizeClass,_=s.mergeProps},null,s=>{I=s.L},null,null,null],execute:function(){const s={components:{DownloadDialog:S,SimpleTextDialog:I},data(){return{showDownloadDialog:!1,showProcessOutput:!1,processOutput:"",files:[],loadingPackage:!1,progress:0,gems:[],python:[],processes:{}}},mounted(){this.update(),this.updateProcesses()},methods:{showOutput:function(n){this.processOutput=n.output,this.showProcessOutput=!0},update(){f.get("/openc3-api/packages").then(n=>{this.gems=n.data.ruby,this.python=n.data.python})},updateProcesses:function(){f.get("/openc3-api/process_status/package_?substr=true").then(n=>{this.processes=n.data,Object.keys(this.processes).length>0&&setTimeout(()=>{this.updateProcesses(),this.update()},2500)})},formatDate(n){return b(T(parseInt(n)/1e6),"yyyy-MM-dd HH:mm:ss.SSS")},selectFile(){this.progress=0,this.$refs.fileInput.click()},fileChange(n){const e=n.target.files;if(e.length>0){this.loadingPackage=!0;let U=this;const E=[...e].map(o=>{const c=new FormData;return c.append("package",o,o.name),f.post("/openc3-api/packages",{data:c,headers:{"Content-Type":"multipart/form-data"},onUploadProgress:function(v){let g=Math.round(v.loaded*100/v.total);U.progress=g}})});Promise.all(E).then(o=>{this.$notify.normal({body:`Uploaded ${o.length} package${o.length>1?"s":""}`}),this.loadingPackage=!1,this.files=[],setTimeout(()=>{this.updateProcesses()},2500)}).catch(o=>{this.loadingPackage=!1})}},deletePackage(n){this.$dialog.confirm(`Are you sure you want to remove: ${n}`,{okText:"Delete",cancelText:"Cancel"}).then(e=>f.delete(`/openc3-api/packages/${n}`)).then(e=>{this.$notify.normal({body:`Removed package ${n}`}),setTimeout(()=>{this.updateProcesses()},2500)}).catch(e=>{this.$notify.serious({body:`Failed to remove package ${n}`})})}}},A=["textContent"],M=["textContent"];function z(n,e,U,E,o,c){const v=i("v-btn"),g=i("v-col"),G=i("rux-progress"),P=i("v-row"),x=i("v-list-item-title"),H=i("v-list-item-subtitle"),w=i("v-icon"),D=i("v-tooltip"),O=i("v-list-item"),V=i("v-divider"),j=i("v-list"),q=i("download-dialog"),J=i("simple-text-dialog");return u(),p("div",null,[a(P,{"no-gutters":"",align:"center",class:"px-2"},{default:t(()=>[a(g,{class:"pa-2 mt-2"},{default:t(()=>[a(v,{onClick:c.selectFile},{default:t(()=>e[3]||(e[3]=[r("Install Package")])),_:1},8,["onClick"]),d("input",{style:{display:"none"},type:"file",ref:"fileInput",onChange:e[0]||(e[0]=(...l)=>c.fileChange&&c.fileChange(...l))},null,544)]),_:1}),a(g,{class:"ml-4 mr-2",cols:"4"},{default:t(()=>[a(G,{value:o.progress},null,8,["value"])]),_:1})]),_:1}),Object.keys(o.processes).length>0?(u(),L(j,{key:0,class:"list","data-test":"process-list"},{default:t(()=>[a(P,{"no-gutters":"",class:"px-4"},{default:t(()=>[a(g,{class:"text-h6"},{default:t(()=>e[4]||(e[4]=[r("Process List")])),_:1}),a(g,{align:"right"},{default:t(()=>e[5]||(e[5]=[d("div",null,"Showing last 10 min of activity",-1)])),_:1})]),_:1}),(u(!0),p(k,null,y(o.processes,l=>(u(),p("div",{key:l.name},[a(O,null,F({default:t(()=>[a(x,null,{default:t(()=>[d("span",{class:B(l.state.toLowerCase()),textContent:h(`Processing ${l.process_type}: ${l.detail} - ${l.state}`)},null,10,A)]),_:2},1024),a(H,null,{default:t(()=>[d("span",{textContent:h(" Updated At: "+c.formatDate(l.updated_at))},null,8,M)]),_:2},1024)]),_:2},[l.state!=="Running"?{name:"append",fn:t(()=>[a(D,{location:"top"},{activator:t(({props:m})=>[a(w,_({ref_for:!0},m,{onClick:C=>c.showOutput(l)}),{default:t(()=>e[6]||(e[6]=[r(" mdi-eye ")])),_:2},1040,["onClick"])]),default:t(()=>[e[7]||(e[7]=d("span",null,"Show Output",-1))]),_:2},1024)]),key:"0"}:void 0]),1024),a(V)]))),128))]),_:1})):N("",!0),a(j,{class:"list","data-test":"packageList"},{default:t(()=>[a(P,{class:"px-4"},{default:t(()=>[a(g,{class:"text-h6"},{default:t(()=>e[8]||(e[8]=[r("Ruby Gems")])),_:1})]),_:1}),(u(!0),p(k,null,y(o.gems,(l,m)=>(u(),p("div",{key:m},[a(O,null,{append:t(()=>[a(D,{location:"top"},{activator:t(({props:C})=>[a(w,_({ref_for:!0},C,{onClick:K=>c.deletePackage(l)}),{default:t(()=>e[9]||(e[9]=[r(" mdi-delete ")])),_:2},1040,["onClick"])]),default:t(()=>[e[10]||(e[10]=d("span",null,"Delete Package",-1))]),_:2},1024)]),default:t(()=>[a(x,null,{default:t(()=>[r(h(l),1)]),_:2},1024)]),_:2},1024),a(V)]))),128)),a(P,{class:"px-4"},{default:t(()=>[a(g,{class:"text-h6"},{default:t(()=>e[11]||(e[11]=[r("Python Packages")])),_:1})]),_:1}),(u(!0),p(k,null,y(o.python,(l,m)=>(u(),p("div",{key:m},[a(O,null,{append:t(()=>[a(D,{location:"top"},{activator:t(({props:C})=>[a(w,_({ref_for:!0},C,{onClick:K=>c.deletePackage(l)}),{default:t(()=>e[12]||(e[12]=[r(" mdi-delete ")])),_:2},1040,["onClick"])]),default:t(()=>[e[13]||(e[13]=d("span",null,"Delete Package",-1))]),_:2},1024)]),default:t(()=>[a(x,null,{default:t(()=>[r(h(l),1)]),_:2},1024)]),_:2},1024),a(V)]))),128))]),_:1}),a(q,{modelValue:o.showDownloadDialog,"onUpdate:modelValue":e[1]||(e[1]=l=>o.showDownloadDialog=l)},null,8,["modelValue"]),a(J,{modelValue:o.showProcessOutput,"onUpdate:modelValue":e[2]||(e[2]=l=>o.showProcessOutput=l),title:"Process Output",text:o.processOutput},null,8,["modelValue","text"])])}const W=R("default",$(s,[["render",z],["__scopeId","data-v-a9a7750b"]]))}}});
|
@@ -1,5 +0,0 @@
|
|
1
|
-
System.register(["./main-fbb6d24d6c6c7aea815c.js","vue","single-spa","./SimpleTextDialog-pwN8oRy1-2e2addd7ce31747515d9.js","vue-router","vuex","vuetify"],function(H,ue){"use strict";var O,A,S,w,M,U,p,m,c,s,x,v,l,g,h,_,D,$,I,T,j,L;return{setters:[u=>{O=u.d,A=u.w,S=u.v,w=u.O,M=u.p,U=u.l},u=>{p=u.resolveComponent,m=u.createElementBlock,c=u.openBlock,s=u.createVNode,x=u.createBlock,v=u.createCommentVNode,l=u.withCtx,g=u.createElementVNode,h=u.createTextVNode,_=u.toDisplayString,D=u.Fragment,$=u.renderList,I=u.normalizeClass,T=u.mergeProps,j=u.withModifiers},null,u=>{L=u.L},null,null,null],execute:function(){const u={components:{PluginDialog:S,ModifiedPluginDialog:A,SimpleTextDialog:L},data(){return{file:null,currentPlugin:null,plugins:[],targets:[],processes:{},alert:"",alertType:"success",showAlert:!1,pluginName:null,variables:{},pluginTxt:"",pluginHashTmp:null,existingPluginTxt:null,showDownloadDialog:!1,showProcessOutput:!1,processOutput:"",showPluginDialog:!1,showModifiedPluginDialog:!1,showDefaultTools:!1,progress:0,pluginDelete:!1,defaultPlugins:["openc3-cosmos-tool-admin","openc3-cosmos-tool-bucketexplorer","openc3-cosmos-tool-cmdsender","openc3-cosmos-tool-cmdhistory","openc3-cosmos-tool-cmdtlmserver","openc3-cosmos-tool-dataextractor","openc3-cosmos-tool-dataviewer","openc3-cosmos-tool-docs","openc3-cosmos-tool-handbooks","openc3-cosmos-tool-iframe","openc3-cosmos-tool-limitsmonitor","openc3-cosmos-tool-packetviewer","openc3-cosmos-tool-scriptrunner","openc3-cosmos-tool-tablemanager","openc3-cosmos-tool-tlmgrapher","openc3-cosmos-tool-tlmviewer","openc3-cosmos-enterprise-tool-admin","openc3-cosmos-tool-autonomic","openc3-cosmos-tool-calendar","openc3-cosmos-tool-grafana","openc3-enterprise-tool-base","openc3-tool-base"]}},watch:{showPluginDialog:function(t,e){t===!1&&(this.file=null,this.$refs.fileInput.value=null)}},computed:{shownPlugins(){let t=[];for(let e of this.plugins){let o=e.split("__")[0].split("-");o=o.slice(0,-1);let d=o.join("-");(!this.defaultPlugins.includes(d)||this.showDefaultTools)&&t.push(e)}return t},pluginTargets(){return t=>{let e=[];for(const o in this.targets)this.targets[o].plugin===t&&e.push(this.targets[o]);return e}},isModified(){return t=>{let e=!1;for(const o in this.targets)if(this.targets[o].plugin===t&&this.targets[o].modified===!0){e=!0;break}return e}}},mounted(){this.update(),this.updateProcesses()},methods:{showOutput:function(t){this.processOutput=t.output,this.showProcessOutput=!0},update:function(){w.get("/openc3-api/plugins").then(t=>{this.plugins=t.data}),w.get("/openc3-api/targets_modified").then(t=>{this.targets=t.data})},updateProcesses:function(){w.get("openc3-api/process_status/plugin_?substr=true").then(t=>{this.processes=t.data,Object.keys(this.processes).length>0&&setTimeout(()=>{this.updateProcesses(),this.update()},5e3)})},formatDate(t){return M(U(parseInt(t)/1e6),"yyyy-MM-dd HH:mm:ss.SSS")},upload:function(t=null){const e=t?"put":"post",o=t?`/openc3-api/plugins/${t}`:"/openc3-api/plugins",d=new FormData;d.append("plugin",this.file,this.file.name);let n=this;w[e](o,{data:d,headers:{"Content-Type":"multipart/form-data"},onUploadProgress:function(i){let r=Math.round(i.loaded*100/i.total);n.progress=r}}).then(i=>{this.progress=100,this.alert="Uploaded file",this.alertType="success",this.showAlert=!0,setTimeout(()=>{this.showAlert=!1},5e3),this.update();let r=null;i.data.existing_plugin_txt_lines!==void 0&&(r=i.data.existing_plugin_txt_lines.join(`
|
2
|
-
`));let P=i.data.plugin_txt_lines.join(`
|
3
|
-
`);this.pluginName=i.data.name,this.variables=i.data.variables,this.pluginTxt=P,this.existingPluginTxt=r,this.showPluginDialog=!0,this.file=void 0}).catch(i=>{this.currentPlugin=null,this.file=void 0})},pluginCallback:function(t){this.showPluginDialog=!1,this.currentPlugin!==null&&(t.name=this.currentPlugin),this.pluginHashTmp=t,this.isModified(this.currentPlugin)?(this.pluginDelete=!1,this.showModifiedPluginDialog=!0):this.pluginInstall()},modifiedSubmit:async function(t){if(t===!0)for(let e of this.pluginTargets(this.currentPlugin))e.modified==!0&&await w.post(`/openc3-api/targets/${e.name}/delete_modified`);this.pluginDelete?this.deletePlugin(this.currentPlugin):this.pluginInstall()},pluginInstall:function(){w.post(`/openc3-api/plugins/install/${this.pluginName}`,{data:{plugin_hash:JSON.stringify(this.pluginHashTmp)}}).then(t=>{this.alert=`Started installing plugin ${this.pluginName} ...`,this.alertType="success",this.showAlert=!0,this.currentPlugin=null,this.file=void 0,this.variables={},this.pluginTxt="",this.existingPluginTxt=null,setTimeout(()=>{this.showAlert=!1,this.updateProcesses()},5e3),this.update()})},downloadTarget:function(t){w.post(`/openc3-api/targets/${t}/download`).then(e=>{const o=window.atob(e.data.contents),d=new Uint8Array(o.length);for(let r=0;r<o.length;++r)d[r]=o.charCodeAt(r);const n=new Blob([d],{type:"application/zip"}),i=document.createElement("a");i.href=URL.createObjectURL(n),i.setAttribute("download",e.data.filename),i.click()})},downloadPlugin:function(t){w.post(`/openc3-api/packages/${t}/download`).then(e=>{const o=window.atob(e.data.contents),d=new Uint8Array(o.length);for(let r=0;r<o.length;++r)d[r]=o.charCodeAt(r);const n=new Blob([d],{type:"application/zip"}),i=document.createElement("a");i.href=URL.createObjectURL(n),i.setAttribute("download",e.data.filename),i.click()})},editPlugin:function(t){w.get(`/openc3-api/plugins/${t}`).then(e=>{let o=null;e.data.existing_plugin_txt_lines!==void 0&&(o=e.data.existing_plugin_txt_lines.join(`
|
4
|
-
`));let d=e.data.plugin_txt_lines.join(`
|
5
|
-
`);this.pluginName=e.data.name,this.variables=e.data.variables,this.pluginTxt=d,this.existingPluginTxt=o,this.showPluginDialog=!0})},deletePrompt:function(t){this.$dialog.confirm(`Are you sure you want to remove: ${t}`,{okText:"Delete",cancelText:"Cancel"}).then(e=>{this.isModified(t)?(this.currentPlugin=t,this.pluginDelete=!0,this.showModifiedPluginDialog=!0):this.deletePlugin(t)})},deletePlugin:function(t){this.alert=`Removing plugin ${t} ...`,this.alertType="success",this.showAlert=!0,w.delete(`/openc3-api/plugins/${t}`).then(e=>{setTimeout(()=>{this.showAlert=!1,this.updateProcesses()},5e3)}),this.update()},upgradePlugin(t){this.file=null,this.currentPlugin=t,this.progress=0,this.$refs.fileInput.click()},selectFile(){this.file=null,this.currentPlugin=null,this.progress=0,this.$refs.fileInput.click()},fileChange(t){const e=t.target.files;if(e.length>0)if(this.file=e[0],this.currentPlugin!==null)if(this.file.name.split(".gem")[0]==this.currentPlugin.split(".gem")[0])this.$dialog.confirm(`The new gem ${this.file.name} appears to be identical to the existing ${this.currentPlugin}. Install?`,{okText:"Ok",cancelText:"Cancel"}).then(()=>{this.upload(this.currentPlugin)}).catch(o=>{});else{let o=this.file.name.split("-"),d=o.findIndex(r=>r.includes(".")),n=o.slice(0,d).join("-");o=this.currentPlugin.split("-"),d=o.findIndex(r=>r.includes("."));let i=o.slice(0,d).join("-");n!==i?this.$dialog.confirm(`The new gem base name ${n} doesn't match the existing ${i}. Install?`,{okText:"Ok",cancelText:"Cancel"}).then(()=>{this.upload(this.currentPlugin)}):this.upload(this.currentPlugin)}else this.upload();else this.$refs.fileInput.value=null}}},z=["textContent"],J=["textContent"],W={key:0},X={key:0},Y=["onClick"],Z={key:1},q={class:"mx-3"},G={class:"mx-3"},K={class:"mx-3"},Q={class:"mx-3"};function ee(t,e,o,d,n,i){const r=p("v-btn"),P=p("v-icon"),k=p("v-col"),te=p("rux-progress"),V=p("v-row"),le=p("v-checkbox"),N=p("v-divider"),ie=p("v-alert"),B=p("v-list-item-title"),R=p("v-list-item-subtitle"),se=p("v-progress-circular"),y=p("v-tooltip"),E=p("v-list-item"),F=p("v-list"),ne=p("plugin-dialog"),oe=p("modified-plugin-dialog"),ae=p("simple-text-dialog");return c(),m("div",null,[s(V,{"no-gutters":"",align:"center",class:"px-2"},{default:l(()=>[s(k,{class:"pa-2 mt-2"},{default:l(()=>[s(r,{onClick:i.selectFile},{default:l(()=>e[6]||(e[6]=[h("Install New Plugin")])),_:1},8,["onClick"]),g("input",{style:{display:"none"},type:"file",ref:"fileInput",onChange:e[0]||(e[0]=(...a)=>i.fileChange&&i.fileChange(...a))},null,544),e[8]||(e[8]=h(" Note: Use ")),s(P,null,{default:l(()=>e[7]||(e[7]=[h("mdi-update")])),_:1}),e[9]||(e[9]=h(" to upgrade existing plugins "))]),_:1}),s(k,{class:"ml-4 mr-2",cols:"4"},{default:l(()=>[s(te,{value:n.progress},null,8,["value"])]),_:1})]),_:1}),s(V,{"no-gutters":"",class:"px-2"},{default:l(()=>[s(k,null,{default:l(()=>[s(le,{modelValue:n.showDefaultTools,"onUpdate:modelValue":e[1]||(e[1]=a=>n.showDefaultTools=a),label:"Show Default Tools",class:"mt-0","data-test":"show-default-tools"},null,8,["modelValue"])]),_:1}),s(k,{align:"right",class:"mr-2"},{default:l(()=>e[10]||(e[10]=[g("div",null,"* indicates a modified plugin",-1),g("div",null,"Click target link to download modifications",-1)])),_:1})]),_:1}),s(N),s(ie,{closable:"",type:n.alertType,modelValue:n.showAlert,"onUpdate:modelValue":e[2]||(e[2]=a=>n.showAlert=a),"data-test":"plugin-alert"},{default:l(()=>[h(_(n.alert),1)]),_:1},8,["type","modelValue"]),Object.keys(n.processes).length>0?(c(),x(F,{key:0,class:"list","data-test":"process-list"},{default:l(()=>[s(V,{"no-gutters":"",class:"px-4"},{default:l(()=>[s(k,{class:"text-h6"},{default:l(()=>e[11]||(e[11]=[h("Process List")])),_:1}),s(k,{align:"right"},{default:l(()=>e[12]||(e[12]=[g("div",null,"Showing last 10 min of activity",-1)])),_:1})]),_:1}),(c(!0),m(D,null,$(n.processes,a=>(c(),m("div",{key:a.name},[s(E,null,{append:l(()=>[a.state==="Running"?(c(),m("div",W,[s(se,{indeterminate:"",color:"primary"})])):(c(),x(y,{key:1,location:"top"},{activator:l(({props:b})=>[s(P,T({ref_for:!0},b,{onClick:f=>i.showOutput(a),"data-test":"show-output"}),{default:l(()=>e[13]||(e[13]=[h(" mdi-eye ")])),_:2},1040,["onClick"])]),default:l(()=>[e[14]||(e[14]=g("span",null,"Show Output",-1))]),_:2},1024))]),default:l(()=>[s(B,null,{default:l(()=>[g("span",{class:I(a.state.toLowerCase()),textContent:_(`Processing ${a.process_type}: ${a.detail} - ${a.state}`)},null,10,z)]),_:2},1024),s(R,null,{default:l(()=>[g("span",{textContent:_(" Updated At: "+i.formatDate(a.updated_at))},null,8,J)]),_:2},1024)]),_:2},1024),s(N)]))),128))]),_:1})):v("",!0),s(F,{class:"list","data-test":"plugin-list"},{default:l(()=>[s(V,{class:"px-4"},{default:l(()=>[s(k,{class:"text-h6"},{default:l(()=>e[15]||(e[15]=[h("Plugin List")])),_:1})]),_:1}),(c(!0),m(D,null,$(i.shownPlugins,(a,b)=>(c(),m("div",{key:b},[s(E,{"data-test":"plugin-list-item"},{append:l(()=>[g("div",q,[s(y,{location:"top"},{activator:l(({props:f})=>[s(P,T({ref_for:!0},f,{onClick:C=>i.downloadPlugin(a),"data-test":"download-plugin"}),{default:l(()=>e[16]||(e[16]=[h(" mdi-download ")])),_:2},1040,["onClick"])]),default:l(()=>[e[17]||(e[17]=g("span",null,"Download Plugin",-1))]),_:2},1024)]),g("div",G,[s(y,{location:"top"},{activator:l(({props:f})=>[s(P,T({ref_for:!0},f,{onClick:C=>i.editPlugin(a),"data-test":"edit-plugin"}),{default:l(()=>e[18]||(e[18]=[h(" mdi-pencil ")])),_:2},1040,["onClick"])]),default:l(()=>[e[19]||(e[19]=g("span",null,"Edit Plugin Details",-1))]),_:2},1024)]),g("div",K,[s(y,{location:"top"},{activator:l(({props:f})=>[s(P,T({ref_for:!0},f,{onClick:C=>i.upgradePlugin(a),"data-test":"upgrade-plugin"}),{default:l(()=>e[20]||(e[20]=[h(" mdi-update ")])),_:2},1040,["onClick"])]),default:l(()=>[e[21]||(e[21]=g("span",null,"Upgrade Plugin",-1))]),_:2},1024)]),g("div",Q,[s(y,{location:"top"},{activator:l(({props:f})=>[s(P,T({ref_for:!0},f,{onClick:C=>i.deletePrompt(a),"data-test":"delete-plugin"}),{default:l(()=>e[22]||(e[22]=[h(" mdi-delete ")])),_:2},1040,["onClick"])]),default:l(()=>[e[23]||(e[23]=g("span",null,"Delete Plugin",-1))]),_:2},1024)])]),default:l(()=>[s(B,null,{default:l(()=>[i.isModified(a)?(c(),m("span",X,"* ")):v("",!0),h(_(a),1)]),_:2},1024),i.pluginTargets(a).length!==0?(c(),x(R,{key:0},{default:l(()=>[(c(!0),m(D,null,$(i.pluginTargets(a),(f,C)=>(c(),m("span",{key:C,class:"mr-2"},[f.modified?(c(),m("a",{key:0,onClick:j(pe=>i.downloadTarget(f.name),["prevent"])},_(f.name),9,Y)):(c(),m("span",Z,_(f.name),1))]))),128))]),_:2},1024)):v("",!0)]),_:2},1024),b<n.plugins.length-1?(c(),x(N,{key:b})):v("",!0)]))),128))]),_:1}),n.showPluginDialog?(c(),x(ne,{key:1,modelValue:n.showPluginDialog,"onUpdate:modelValue":e[3]||(e[3]=a=>n.showPluginDialog=a),pluginName:n.pluginName,variables:n.variables,pluginTxt:n.pluginTxt,existingPluginTxt:n.existingPluginTxt,onCallback:i.pluginCallback},null,8,["modelValue","pluginName","variables","pluginTxt","existingPluginTxt","onCallback"])):v("",!0),n.showModifiedPluginDialog?(c(),x(oe,{key:2,modelValue:n.showModifiedPluginDialog,"onUpdate:modelValue":e[4]||(e[4]=a=>n.showModifiedPluginDialog=a),pluginName:n.currentPlugin,targets:i.pluginTargets(n.currentPlugin),pluginDelete:n.pluginDelete,onSubmit:i.modifiedSubmit},null,8,["modelValue","pluginName","targets","pluginDelete","onSubmit"])):v("",!0),s(ae,{modelValue:n.showProcessOutput,"onUpdate:modelValue":e[5]||(e[5]=a=>n.showProcessOutput=a),title:"Process Output",text:n.processOutput},null,8,["modelValue","text"])])}const re=H("default",O(u,[["render",ee],["__scopeId","data-v-f61368fa"]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./Widget-oyqWpFXJ-f34bf053b788271413fe.js","vue","./main-fbb6d24d6c6c7aea815c.js","vue-router","single-spa","vuex","vuetify"],function(s,v){"use strict";var l,t,n,r,a,o;return{setters:[e=>{l=e.o},e=>{t=e.resolveComponent,n=e.createBlock,r=e.openBlock,a=e.normalizeStyle},e=>{o=e.d},null,null,null,null],execute:function(){const e={props:{value:{type:Number}},mixins:[l],data(){return{label:"Radio"}},created(){this.label=this.parameters[0]}};function u(i,m,c,b,d,f){const p=t("v-radio");return r(),n(p,{"hide-details":"",dense:"",label:d.label,style:a(i.computedStyle),value:c.value},null,8,["label","style","value"])}const y=s("default",o(e,[["render",u]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./Layout-Tf--nruw-e15025d3ca9d03d87e1b.js","vue","./main-fbb6d24d6c6c7aea815c.js","./Widget-oyqWpFXJ-f34bf053b788271413fe.js","vue-router","single-spa","vuex","vuetify"],function(f,C){"use strict";var a,l,s,r,o,c,i,u,m,d,p,g;return{setters:[e=>{a=e.r},e=>{l=e.resolveComponent,s=e.createBlock,r=e.openBlock,o=e.normalizeStyle,c=e.withCtx,i=e.createElementBlock,u=e.Fragment,m=e.renderList,d=e.resolveDynamicComponent,p=e.mergeProps},e=>{g=e.d},null,null,null,null,null],execute:function(){const e={mixins:[a],data(){return{selectedIndex:0}},created(){this.parameters[0]&&(this.selectedIndex=parseInt(this.parameters[0]))},methods:{selected(){return this.selectedIndex}}};function h(n,v,B,w,y,z){const k=l("v-radio-group");return r(),s(k,{"hide-details":"",density:"compact",modelValue:y.selectedIndex,"onUpdate:modelValue":v[0]||(v[0]=t=>y.selectedIndex=t),style:o(n.computedStyle)},{default:c(()=>[(r(!0),i(u,null,m(n.widgets,(t,x)=>(r(),s(d(t.type),p({ref_for:!0},n.listeners,{value:x,key:x,target:t.target,parameters:t.parameters,settings:t.settings,"screen-values":n.screenValues,"screen-time-zone":n.screenTimeZone,name:t.name}),null,16,["value","target","parameters","settings","screen-values","screen-time-zone","name"]))),128))]),_:1},8,["modelValue","style"])}const I=f("default",g(e,[["render",h]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./main-fbb6d24d6c6c7aea815c.js","vue","vue-router","single-spa","vuex","vuetify"],function(y,S){"use strict";var u,p,a,r,c,s,d,o,l,h,x;return{setters:[e=>{u=e.d,p=e.O},e=>{a=e.resolveComponent,r=e.createElementBlock,c=e.openBlock,s=e.createVNode,d=e.withCtx,o=e.createTextVNode,l=e.createElementVNode,h=e.createCommentVNode,x=e.toDisplayString},null,null,null,null],execute:function(){const e={data(){return{redisCommandText:"",redisResponse:null,redisEndpoint:"/openc3-api/redis/exec",headers:[{text:"Redis",value:"redis",width:150},{text:"Command",value:"command"},{text:"Response",value:"response"}],commands:[]}},methods:{commandKeydown:function(i){i.key==="Enter"&&this.executeRaw()},executeRaw:function(){this.redisResponse=null,p.post(this.redisEndpoint,{data:this.redisCommandText,headers:{Accept:"application/json","Content-Type":"plain/text"}}).then(i=>{this.redisResponse=i.data.result;let t="Ephemeral";this.redisEndpoint==="/openc3-api/redis/exec"&&(t="Persistent"),this.commands.unshift({redis:t,command:this.redisCommandText,response:this.redisResponse})})}}},R={key:0,class:"monospace"};function C(i,t,B,K,n,v){const E=a("v-card-title"),V=a("v-card-subtitle"),b=a("v-text-field"),w=a("v-card-text"),g=a("v-btn"),f=a("v-radio"),T=a("v-radio-group"),_=a("v-card-actions"),k=a("v-data-table"),N=a("v-card");return c(),r("div",null,[s(N,null,{default:d(()=>[s(E,null,{default:d(()=>t[2]||(t[2]=[o(" Send Raw Redis Commands ")])),_:1}),s(V,null,{default:d(()=>t[3]||(t[3]=[o(" THIS IS DANGEROUS. This allows you to interact directly with the underlying Redis database, making it easy to modify or delete data. "),l("br",null,null,-1),l("br",null,null,-1),o(" Enter commands like you would at the Redis cli prompt: "),l("code",null,"ping",-1),o(" or "),l("code",null,"hget openc3__settings version",-1)])),_:1}),s(w,{class:"pb-0 ml-2"},{default:d(()=>[s(b,{label:"Redis command",class:"monospace",modelValue:n.redisCommandText,"onUpdate:modelValue":t[0]||(t[0]=m=>n.redisCommandText=m),onKeydown:v.commandKeydown},null,8,["modelValue","onKeydown"]),n.redisResponse?(c(),r("span",R," Response: "+x(n.redisResponse),1)):h("",!0)]),_:1}),s(_,{class:"px-2"},{default:d(()=>[s(g,{disabled:!n.redisCommandText.length,onClick:v.executeRaw,color:"success",variant:"text"},{default:d(()=>t[4]||(t[4]=[o(" Execute ")])),_:1},8,["disabled","onClick"]),s(T,{modelValue:n.redisEndpoint,"onUpdate:modelValue":t[1]||(t[1]=m=>n.redisEndpoint=m),inline:"","hide-details":"",class:"mt-0"},{default:d(()=>[s(f,{label:"Persistent",value:"/openc3-api/redis/exec","data-test":"persistent-radio"}),s(f,{label:"Ephemeral",value:"/openc3-api/redis/exec?ephemeral=1","data-test":"ephemeral-radio"})]),_:1},8,["modelValue"])]),_:1}),s(k,{headers:n.headers,items:n.commands,class:"monospace","items-per-page":-1,"hide-default-footer":"",density:"compact",height:"45vh"},null,8,["headers","items"])]),_:1})])}const A=y("default",u(e,[["render",C],["__scopeId","data-v-28716ab0"]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./main-fbb6d24d6c6c7aea815c.js","vue","single-spa","./OutputDialog-zVPZiZay-5273ae10027e2cc87949.js","vue-router","vuex","vuetify"],function(D,E){"use strict";var p,c,t,s,l,a,g,h,o,v,m,d,f,C,k,V;return{setters:[e=>{p=e.d,c=e.O},e=>{t=e.resolveComponent,s=e.createElementBlock,l=e.openBlock,a=e.createVNode,g=e.createBlock,h=e.createCommentVNode,o=e.withCtx,v=e.Fragment,m=e.renderList,d=e.createTextVNode,f=e.toDisplayString,C=e.createElementVNode,k=e.mergeProps},null,e=>{V=e.J},null,null,null],execute:function(){const e={components:{OutputDialog:V},data(){return{routers:[],jsonContent:"",dialogTitle:"",showDialog:!1}},mounted(){this.update()},methods:{update(){c.get("/openc3-api/routers").then(r=>{this.routers=r.data})},add(){},showRouter(r){c.get(`/openc3-api/routers/${r}`).then(n=>{this.jsonContent=JSON.stringify(n.data,null," "),this.dialogTitle=r,this.showDialog=!0})},dialogCallback(r){this.showDialog=!1}}};function y(r,n,J,L,i,w){const N=t("v-list-item-title"),_=t("v-icon"),B=t("v-tooltip"),S=t("v-list-item"),j=t("v-divider"),x=t("v-list"),O=t("output-dialog");return l(),s("div",null,[a(x,{class:"list","data-test":"routerList"},{default:o(()=>[(l(!0),s(v,null,m(i.routers,(u,T)=>(l(),s("div",{key:T},[a(S,null,{append:o(()=>[a(B,{location:"top"},{activator:o(({props:b})=>[a(_,k({ref_for:!0},b,{onClick:P=>w.showRouter(u)}),{default:o(()=>n[1]||(n[1]=[d(" mdi-eye ")])),_:2},1040,["onClick"])]),default:o(()=>[n[2]||(n[2]=C("span",null,"Show Router Details",-1))]),_:2},1024)]),default:o(()=>[a(N,null,{default:o(()=>[d(f(u),1)]),_:2},1024)]),_:2},1024),a(j)]))),128))]),_:1}),i.showDialog?(l(),g(O,{key:0,modelValue:i.showDialog,"onUpdate:modelValue":n[0]||(n[0]=u=>i.showDialog=u),content:i.jsonContent,type:"Router",name:i.dialogTitle,onSubmit:w.dialogCallback},null,8,["modelValue","content","name","onSubmit"])):h("",!0)])}const R=D("default",p(e,[["render",y],["__scopeId","data-v-82fc907b"]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./main-fbb6d24d6c6c7aea815c.js","vue","vue-router","single-spa","vuex","vuetify"],function(C,P){"use strict";var v,c,r,d,i,t,l,p,u,m,V,g,y,N,x;return{setters:[a=>{v=a.d,c=a.O},a=>{r=a.resolveComponent,d=a.createElementBlock,i=a.openBlock,t=a.createVNode,l=a.withCtx,p=a.createElementVNode,u=a.createTextVNode,m=a.toDisplayString,V=a.Fragment,g=a.renderList,y=a.createBlock,N=a.createCommentVNode,x=a.mergeProps},null,null,null,null],execute:function(){const a={data(){return{file:null,loadingSecret:!1,secrets:[],secretName:"",secretValue:"",alert:"",alertType:"success",showAlert:!1}},mounted(){this.update()},methods:{update(){c.get("/openc3-api/secrets").then(o=>{this.secrets=o.data})},upload:function(){this.loadingSecret=!0;let o=null;if(this.file){const e=new FormData;e.append("file",this.file,this.file.name),o=c.post(`/openc3-api/secrets/${this.secretName}`,{data:e,headers:{"Content-Type":"multipart/form-data"}})}else o=c.post(`/openc3-api/secrets/${this.secretName}`,{data:{value:this.secretValue}});o.then(e=>{this.loadingSecret=!1,this.file=null,this.secretName="",this.secretValue="",this.update()}).catch(e=>{this.loadingSecret=!1})},deleteSecret:function(o){this.$dialog.confirm(`Are you sure you want to remove: ${o}`,{okText:"Delete",cancelText:"Cancel"}).then(function(e){return c.delete(`/openc3-api/secrets/${o}`)}).then(e=>{this.alert=`Removed secret ${o}`,this.alertType="success",this.showAlert=!0,setTimeout(()=>{this.showAlert=!1},5e3),this.update()})}}};function b(o,e,I,O,s,_){const T=r("v-file-input"),f=r("v-col"),k=r("v-row"),S=r("v-text-field"),w=r("v-icon"),A=r("v-btn"),B=r("v-alert"),$=r("v-list-item-title"),D=r("v-tooltip"),E=r("v-list-item"),U=r("v-divider"),F=r("v-list");return i(),d("div",null,[t(k,{"no-gutters":""},{default:l(()=>[t(f,null,{default:l(()=>[t(T,{modelValue:s.file,"onUpdate:modelValue":e[0]||(e[0]=n=>s.file=n),"show-size":"",accept:"*",class:"mx-2",label:"Click to select a file to create a secret from or enter a secret value",ref:"fileInput"},null,8,["modelValue"])]),_:1})]),_:1}),t(k,{"no-gutters":"",align:"center",style:{"padding-left":"10px"}},{default:l(()=>[t(f,{cols:"3"},{default:l(()=>[t(S,{modelValue:s.secretName,"onUpdate:modelValue":e[1]||(e[1]=n=>s.secretName=n),label:"Secret Name",class:"px-2"},null,8,["modelValue"])]),_:1}),t(f,{cols:"3",class:"px-2"},{default:l(()=>[t(S,{modelValue:s.secretValue,"onUpdate:modelValue":e[2]||(e[2]=n=>s.secretValue=n),disabled:s.file,label:"Secret Value"},null,8,["modelValue","disabled"])]),_:1}),t(f,{cols:"3",class:"px-2"},{default:l(()=>[t(A,{onClick:e[3]||(e[3]=n=>_.upload()),class:"mx-2",color:"primary","data-test":"secretUpload",disabled:s.secretName===""||s.file==null&&s.secretValue==="",loading:s.loadingSecret},{loader:l(()=>e[6]||(e[6]=[p("span",null,"Loading...",-1)])),default:l(()=>[t(w,{start:"",theme:"dark"},{default:l(()=>e[5]||(e[5]=[u("mdi-cloud-upload")])),_:1}),e[7]||(e[7]=p("span",null," Set ",-1))]),_:1},8,["disabled","loading"])]),_:1})]),_:1}),t(B,{modelValue:s.showAlert,"onUpdate:modelValue":e[4]||(e[4]=n=>s.showAlert=n),closable:"",type:s.alertType},{default:l(()=>[u(m(s.alert),1)]),_:1},8,["modelValue","type"]),t(F,{"data-test":"secretList"},{default:l(()=>[(i(!0),d(V,null,g(s.secrets,(n,h)=>(i(),d("div",{key:h},[t(E,null,{append:l(()=>[t(D,{location:"top"},{activator:l(({props:L})=>[t(w,x({ref_for:!0},L,{onClick:j=>_.deleteSecret(n)}),{default:l(()=>e[8]||(e[8]=[u(" mdi-delete ")])),_:2},1040,["onClick"])]),default:l(()=>[e[9]||(e[9]=p("span",null,"Delete Secret",-1))]),_:2},1024)]),default:l(()=>[t($,null,{default:l(()=>[u(m(n),1)]),_:2},1024)]),_:2},1024),h<s.secrets.length-1?(i(),y(U,{key:h})):N("",!0)]))),128))]),_:1})])}const z=C("default",v(a,[["render",b]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./VWidget-DQqb7NVW-878e082a9a9ab2278496.js","vue","./main-fbb6d24d6c6c7aea815c.js","./Widget-oyqWpFXJ-f34bf053b788271413fe.js","vue-router","single-spa","vuex","vuetify"],function(p,g){"use strict";var r,a,l,n,s,i,o,c,u;return{setters:[t=>{r=t.L},t=>{a=t.resolveComponent,l=t.createBlock,n=t.openBlock,s=t.normalizeStyle,i=t.withCtx,o=t.createTextVNode,c=t.toDisplayString},t=>{u=t.d},null,null,null,null,null],execute:function(){const t={mixins:[r],props:{value:{default:null}},data:function(){return{item:null,oneBar:30,twoBar:60,threeBar:90}},computed:{displayedIcon:function(){let e="mdi-signal-cellular-outline";return this._value>=this.oneBar&&(e="mdi-signal-cellular-1"),this._value>=this.twoBar&&(e="mdi-signal-cellular-2"),this._value>=this.threeBar&&(e="mdi-signal-cellular-3"),e}},created(){this.appliedSettings.forEach(e=>{switch(e[0].toUpperCase()){case"SCREEN":this.screenTarget=e[1],this.screenName=e[2];break;case"VALUES":this.oneBar=parseFloat(e[1]),this.twoBar=parseFloat(e[2]),this.threeBar=parseFloat(e[3]);break}})},methods:{getType(){let e="CONVERTED";return this.parameters[3]=="RAW"&&(e="RAW"),e},clickHandler(){this.screenTarget&&this.screenName&&this.$emit("open",this.screenTarget,this.screenName)}}};function d(e,v,y,f,k,h){const m=a("v-icon");return n(),l(m,{onClick:h.clickHandler,style:s(e.computedStyle)},{default:i(()=>[o(c(h.displayedIcon),1)]),_:1},8,["onClick","style"])}const B=p("default",u(t,[["render",d]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["vue","./main-fbb6d24d6c6c7aea815c.js"],function(x,L){"use strict";var a,h,v,l,o,n,r,w,f,c,m;return{setters:[e=>{a=e.resolveComponent,h=e.createBlock,v=e.openBlock,l=e.withCtx,o=e.createVNode,n=e.createElementVNode,r=e.toDisplayString,w=e.normalizeProps,f=e.guardReactiveProps,c=e.createTextVNode},e=>{m=e.d}],execute:function(){const e={props:{modelValue:Boolean,text:String,title:String,width:{type:Number,default:800}},computed:{show:{get(){return this.modelValue},set(i){this.$emit("update:modelValue",i)}}},methods:{download:function(){const i=new Blob([this.text],{type:"text/plain"}),t=document.createElement("a");t.href=URL.createObjectURL(i),t.setAttribute("download",`${this.title}.txt`),t.click()}}},V={class:"mx-2"},g={class:"pa-3"},_={class:"text"};function k(i,t,p,U,E,d){const u=a("v-spacer"),N=a("v-icon"),b=a("v-tooltip"),y=a("v-toolbar"),B=a("v-card-text"),C=a("v-btn"),S=a("v-card-actions"),R=a("v-card"),D=a("v-dialog");return v(),h(D,{modelValue:d.show,"onUpdate:modelValue":t[1]||(t[1]=s=>d.show=s),width:p.width,scrollable:""},{default:l(()=>[o(R,null,{default:l(()=>[o(y,{height:"24"},{default:l(()=>[o(u),n("span",null,r(p.title),1),o(u),n("div",V,[o(b,{location:"top"},{activator:l(({props:s})=>[n("div",w(f(s)),[o(N,{"data-test":"downloadIcon",onClick:d.download},{default:l(()=>t[2]||(t[2]=[c(" mdi-download ")])),_:1},8,["onClick"])],16)]),default:l(()=>[t[3]||(t[3]=n("span",null," Download ",-1))]),_:1})])]),_:1}),o(B,{style:{"max-height":"80vh"}},{default:l(()=>[n("div",g,[n("span",_,r(p.text),1)])]),_:1}),o(S,{class:"px-2"},{default:l(()=>[o(u),o(C,{variant:"flat",onClick:t[0]||(t[0]=s=>d.show=!d.show)},{default:l(()=>t[4]||(t[4]=[c(" Ok ")])),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue","width"])}const P=x("L",m(e,[["render",k],["__scopeId","data-v-a60ace75"]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./Layout-Tf--nruw-e15025d3ca9d03d87e1b.js","vue","./main-fbb6d24d6c6c7aea815c.js","./Widget-oyqWpFXJ-f34bf053b788271413fe.js","vue-router","single-spa","vuex","vuetify"],function(T,z){"use strict";var p,l,s,r,g,v,i,u,c,o,y,f,w,b,V;return{setters:[e=>{p=e.r},e=>{l=e.resolveComponent,s=e.createElementBlock,r=e.openBlock,g=e.createVNode,v=e.normalizeStyle,i=e.withCtx,u=e.Fragment,c=e.renderList,o=e.createBlock,y=e.createTextVNode,f=e.toDisplayString,w=e.resolveDynamicComponent,b=e.mergeProps},e=>{V=e.d},null,null,null,null,null],execute:function(){const e={mixins:[p],data:function(){return{curTab:null}},watch:{curTab:function(){this.$emit("min-max-screen")}}};function k(t,m,h,D,F,L){const x=l("v-tab"),B=l("v-tabs"),C=l("v-window-item"),S=l("v-window");return r(),s("div",null,[g(B,{modelValue:t.curTab,"onUpdate:modelValue":m[0]||(m[0]=a=>t.curTab=a),style:v(t.computedStyle)},{default:i(()=>[(r(!0),s(u,null,c(t.widgets,(a,d)=>(r(),o(x,{key:d},{default:i(()=>[y(f(a.parameters[0]),1)]),_:2},1024))),128))]),_:1},8,["modelValue","style"]),g(S,{modelValue:t.curTab,"onUpdate:modelValue":m[1]||(m[1]=a=>t.curTab=a)},{default:i(()=>[(r(!0),s(u,null,c(t.widgets,(a,d)=>(r(),o(C,{key:d},{default:i(()=>[(r(!0),s(u,null,c(a.widgets,(n,N)=>(r(),o(w(n.type),b({ref_for:!0},t.listeners,{key:`${d}-${N}`,target:n.target,parameters:n.parameters,settings:n.settings,"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone,widgets:n.widgets,name:n.name,line:n.line,"line-number":n.lineNumber}),null,16,["target","parameters","settings","screen-values","screen-time-zone","widgets","name","line","line-number"]))),128))]),_:2},1024))),128))]),_:1},8,["modelValue"])])}const _=T("default",V(e,[["render",k]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./main-fbb6d24d6c6c7aea815c.js","vue","single-spa","./OutputDialog-zVPZiZay-5273ae10027e2cc87949.js","vue-router","vuex","vuetify"],function(N,P){"use strict";var y,p,n,u,d,o,D,m,a,T,V,g,h,v,w,_;return{setters:[e=>{y=e.d,p=e.O},e=>{n=e.resolveComponent,u=e.createElementBlock,d=e.openBlock,o=e.createVNode,D=e.createBlock,m=e.createCommentVNode,a=e.withCtx,T=e.Fragment,V=e.renderList,g=e.createTextVNode,h=e.toDisplayString,v=e.createElementVNode,w=e.mergeProps},null,e=>{_=e.J},null,null,null],execute:function(){const e={components:{OutputDialog:_},data(){return{targets:[],jsonContent:"",dialogTitle:"",showDialog:!1}},mounted(){this.update()},methods:{update(){p.get("/openc3-api/targets_modified").then(l=>{this.targets=l.data})},showTarget(l){p.get(`/openc3-api/targets/${l}`).then(t=>{this.jsonContent=JSON.stringify(t.data,null," "),this.dialogTitle=l,this.showDialog=!0})},dialogCallback(l){this.showDialog=!1},downloadTarget:function(l){p.post(`/openc3-api/targets/${l}/download`).then(t=>{const f=window.atob(t.data.contents),C=new Uint8Array(f.length);for(let c=0;c<f.length;++c)C[c]=f.charCodeAt(c);const i=new Blob([C],{type:"application/zip"}),s=document.createElement("a");s.href=URL.createObjectURL(i),s.setAttribute("download",t.data.filename),s.click()})}}},B={key:0,class:"mx-3"};function O(l,t,f,C,i,s){const c=n("v-list-item-title"),S=n("v-list-item-subtitle"),b=n("v-icon"),x=n("v-tooltip"),j=n("v-list-item"),L=n("v-divider"),E=n("v-list"),U=n("output-dialog");return d(),u("div",null,[o(E,{class:"list","data-test":"targetList"},{default:a(()=>[(d(!0),u(T,null,V(i.targets,r=>(d(),u("div",{key:r},[o(j,null,{append:a(()=>[r.modified?(d(),u("div",B,[o(x,{location:"top"},{activator:a(({props:k})=>[o(b,w({ref_for:!0},k,{onClick:A=>s.downloadTarget(r.name)}),{default:a(()=>t[1]||(t[1]=[g(" mdi-download ")])),_:2},1040,["onClick"])]),default:a(()=>[t[2]||(t[2]=v("span",null,"Download Target Modified Files",-1))]),_:2},1024)])):m("",!0),o(x,{location:"top"},{activator:a(({props:k})=>[o(b,w({ref_for:!0},k,{onClick:A=>s.showTarget(r.name)}),{default:a(()=>t[3]||(t[3]=[g(" mdi-eye ")])),_:2},1040,["onClick"])]),default:a(()=>[t[4]||(t[4]=v("span",null,"Show Target Details",-1))]),_:2},1024)]),default:a(()=>[o(c,null,{default:a(()=>[g(h(r.name),1)]),_:2},1024),o(S,null,{default:a(()=>[g("Plugin: "+h(r.plugin),1)]),_:2},1024)]),_:2},1024),o(L)]))),128))]),_:1}),i.showDialog?(d(),D(U,{key:0,modelValue:i.showDialog,"onUpdate:modelValue":t[0]||(t[0]=r=>i.showDialog=r),content:i.jsonContent,type:"Target",name:i.dialogTitle,onSubmit:s.dialogCallback},null,8,["modelValue","content","name","onSubmit"])):m("",!0)])}const z=N("default",y(e,[["render",O],["__scopeId","data-v-6dc7b8d4"]]))}}});
|