openc3-cosmos-tool-admin 6.6.0 → 6.7.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-Ck6pzAyW-779601a040a8ed9276d2.js → ArrayWidget-BSG8KEtf-20ba46b888f4d0a2ab13.js} +2 -2
- data/tools/admin/ArrayplotWidget-WVu76Kqn-c5d631acd4826caf9a2b.js +1 -0
- data/tools/admin/{BarColumn-Bgz2YJ59-4353a43b097fda230751.js → BarColumn-Cflh9pUz-abe81b153e1d09452376.js} +1 -1
- data/tools/admin/BlockWidget-B7ryWGCq-14457dcee8d216a445db.js +2 -0
- data/tools/admin/{ButtonWidget-D_tupiPB-e56e03cfe8a69e89513e.js → ButtonWidget-BKih3ix9-d65410874af26ea05dda.js} +2 -2
- data/tools/admin/CanvasWidget-DT9xMSfb-7a50f1c52a3a5cc3b707.js +1 -0
- data/tools/admin/CanvasdotWidget-7H5Hvcn--5187351e1459e1dd6535.js +1 -0
- data/tools/admin/{CanvasimageWidget-CNJlzLqo-e2a7aa51bbf8312843e9.js → CanvasimageWidget-BbWYx6Gj-4460db11c86936417199.js} +1 -1
- data/tools/admin/{CanvasimagevalueWidget-DudwwOD6-31eaa8969a91d280b4db.js → CanvasimagevalueWidget-Blvoe2X4-2b419bf95c00863f1c4c.js} +1 -1
- data/tools/admin/CanvaslabelWidget-BPx_Rm4o-3d86097dc0bbe408cb4f.js +1 -0
- data/tools/admin/{CanvaslabelvalueWidget-CHS36Te9-3b266beb7707b9800b59.js → CanvaslabelvalueWidget-DzdWvL0W-89bf05a5d8c49efb0364.js} +1 -1
- data/tools/admin/CanvaslineWidget-CqskilGk-39d2192df486374badf7.js +1 -0
- data/tools/admin/{CanvaslinevalueWidget-DsyIDkJy-708fcfda62ae860bee49.js → CanvaslinevalueWidget-C0JIKdvZ-6d9007a1c241a73cc54e.js} +1 -1
- data/tools/admin/{CheckbuttonWidget-DCam7Jd0-86b0d9b7015e77ed91b2.js → CheckbuttonWidget-C9FbJx2v-e993f69eb1a426849691.js} +1 -1
- data/tools/admin/ComboboxWidget-BbNKT0s8-66e71387985b678f52e8.js +1 -0
- data/tools/admin/{DateWidget-DuJ5uC2t-c7adc2f9e6394f2d1bc8.js → DateWidget-CBMsdRUE-727a33589d5e4b7ee566.js} +1 -1
- data/tools/admin/DetailsDialog-DRVahE5z-2c0386cfe9009510e385.js +1 -0
- data/tools/admin/{DynamicWidget-CfMtj7H8-1b516670161e2b012bb0.js → DynamicWidget-CfMtj7H8-d2375e0b1602a30d4eea.js} +1 -1
- data/tools/admin/{FormatvalueWidget-DYICPNcx-24caf5b88530863af1a9.js → FormatvalueWidget-BLWsqhIZ-38e569045cd54673c7c7.js} +1 -1
- data/tools/admin/Graph-BiU56Qj2-3c747ad09b1edad1ae38.js +1 -0
- data/tools/admin/GraphWidget-Ga0AEfrJ-f76dc828c89b6471cbbf.js +1 -0
- data/tools/admin/HorizontalWidget-CsVhLwZO-da13a9c090bb08ec4344.js +1 -0
- data/tools/admin/HorizontalboxWidget-xC6PADl3-158bd779c176fcfddd01.js +1 -0
- data/tools/admin/{HorizontallineWidget-DEODVJCk-bc6a43e80f2c4b47468e.js → HorizontallineWidget-NZIxmRVN-78a8376fce4e57764ea9.js} +1 -1
- data/tools/admin/{IframeWidget-n8lNXrpt-6c46cfb47b60dbd50fdf.js → IframeWidget-BgzjSfag-6e48828428003053b380.js} +1 -1
- data/tools/admin/{ImageLoader-CfcErydq-7e23aa2cc25b26756dbb.js → ImageLoader-DbFVK1Ui-e772ff7585454a2b929e.js} +1 -1
- data/tools/admin/{ImageviewerWidget-DE8fj06Z-f7c319d7ab4cb139389c.js → ImageviewerWidget-BnT5m-nw-de9ac7dc8e5a5e863849.js} +1 -1
- data/tools/admin/{InterfacesTab-BF-Wx5gk-dae4d469b7c6636d2ee1.js → InterfacesTab-Cd_RITVP-24021c28c4cc79c2a89b.js} +1 -1
- data/tools/admin/{LabelWidget-iUIJLhdA-50afbcb5603618940ea4.js → LabelWidget-DSDYmz6X-55f1a88737f42055f2e2.js} +1 -1
- data/tools/admin/LabelledWidget-DMb-myxs-a6d38f4b7d122cb702fc.js +1 -0
- data/tools/admin/LabelprogressbarWidget-CkjDJBao-7fad8afe99f0f688153d.js +1 -0
- data/tools/admin/LabelsparklineWidget-DBYPFz3Y-b97bc67b908ad43ae84a.js +1 -0
- data/tools/admin/{LabelvalueWidget-oiW-JDw6-251dd3b42812012b92d2.js → LabelvalueWidget-DlTkJC4i-67a3d7f58536b7fdbe7b.js} +1 -1
- data/tools/admin/{LabelvaluedescWidget-Ck0AJ9g0-bf16d94c48d9560d765e.js → LabelvaluedescWidget-dRqnGZub-ae4ef207123b81d69970.js} +1 -1
- data/tools/admin/LabelvaluelimitsbarWidget-CS4NAPJ1-86985b928b42e358aea6.js +1 -0
- data/tools/admin/LabelvaluelimitscolumnWidget-D9x4Ppv8-df7cf77122322442bf4c.js +1 -0
- data/tools/admin/{LabelvaluerangebarWidget-Bs9locqu-7019cfc0c093901e0451.js → LabelvaluerangebarWidget-Dhyng4-n-48f8ed77e3ba71f6fd91.js} +1 -1
- data/tools/admin/{Layout-1z8iJV5--18c4292fcaf8fb39baf3.js → Layout-mWR35VAD-39a647edf3a2c7bcc7e0.js} +1 -1
- data/tools/admin/LedWidget-D8cq4pUv-bcd4f242b5818abad49f.js +1 -0
- data/tools/admin/{LimitsbarWidget-BxxoKTjp-d8242d9d65a9592bcbc5.js → LimitsbarWidget-VGJnDuVM-3cfca67d733b6bb6eece.js} +1 -1
- data/tools/admin/{LimitscolorWidget-DFDwf4In-6c4293f2156086cc5f68.js → LimitscolorWidget-CG6Pqi12-281b3f6397f79113407a.js} +1 -1
- data/tools/admin/{LimitscolumnWidget-CdBh2mJu-c928ad44fcb1a3114294.js → LimitscolumnWidget-DjovQdiT-18d5cd14232cb26ca07f.js} +1 -1
- data/tools/admin/LinegraphWidget-DSWAhXgZ-a316c027af373cbc6428.js +1 -0
- data/tools/admin/MatrixbycolumnsWidget-C3cuhRxz-bf95ff6809f55ee14c50.js +1 -0
- data/tools/admin/MicroservicesTab-Dbp02UlV-b2ad97d61b4e78b8f548.js +1 -0
- data/tools/admin/{OutputDialog-CcSp-Uqo-fbaabfae3953d9e070fa.js → OutputDialog-M5Xc_DqH-a239ed910e350ae7686f.js} +1 -1
- data/tools/admin/PackagesTab-HQCOIGZK-74801e7efb140e5b32a4.js +1 -0
- data/tools/admin/PluginsTab-CZApRILr-43a7620adfe4ff70420a.js +5 -0
- data/tools/admin/{ProgressbarWidget-Cdu5nJC3-ae5f918decd25909caad.js → ProgressbarWidget-oCgAEFBO-6d62d36197407a29ea26.js} +1 -1
- data/tools/admin/RadiobuttonWidget-D4Dak3lc-9af14f8876edfd7ee308.js +1 -0
- data/tools/admin/{RadiogroupWidget-CQN3v8Ip-168171fb0436b8c62d1a.js → RadiogroupWidget-Dbe9T4fp-205d20c3a3374a51efdf.js} +1 -1
- data/tools/admin/{RangebarWidget-dZN9WjoZ-6def4fdd1a80c9f7ee10.js → RangebarWidget-CIVrgqrW-a45b38d7062832440586.js} +1 -1
- data/tools/admin/RedisTab-B8U-vEQZ-b1dbbc4dc5eb84ea2f8e.js +1 -0
- data/tools/admin/{RollupWidget-i9DnNJl6-691c622c311716951642.js → RollupWidget-CH1-XNLV-3d1449d0398eab6eea3c.js} +1 -1
- data/tools/admin/RoutersTab-WKa6K7B8-36314d08dbea45e21fa0.js +1 -0
- data/tools/admin/ScrollwindowWidget-BwFG6Wn8-43d175b7375e2f894439.js +1 -0
- data/tools/admin/{SecretsTab-uWRVI1EE-a0f4a5e02672ea3353e9.js → SecretsTab-Vtvbb_1U-3bd2fd68c55d2e087118.js} +1 -1
- data/tools/admin/SettingsTab-DilFIQ3K-dda9d859454babe6c6a7.js +2 -0
- data/tools/admin/{SignalWidget-B_kA9eCJ-60707fbd726073ebad6d.js → SignalWidget-Gz2gHrUm-8a49663fba001cac4eff.js} +1 -1
- data/tools/admin/{SimpleTextDialog-BulqUrdH-76731d52443549a011a7.js → SimpleTextDialog-Cmtrmt79-9609170816297cb4f468.js} +1 -1
- data/tools/admin/{SpacerWidget-XoMPHak8-ea1faa6e28e899726b51.js → SpacerWidget-Bg7VDB0k-add14f816ad330e9a2e7.js} +1 -1
- data/tools/admin/{SparklineWidget-DQNsvEj9-967e0db01b37e23eb878.js → SparklineWidget-D_b5rfJv-cfc3f3094a4df93f1586.js} +1 -1
- data/tools/admin/TabbookWidget-C30f9B6z-310bff478662a78ca069.js +1 -0
- data/tools/admin/TargetsTab-CEPId9dL-794b06b3e676ea1d7946.js +1 -0
- data/tools/admin/TextboxWidget-CDqxsgys-9c634432e47faaebdb85.js +1 -0
- data/tools/admin/TextfieldWidget-CAyjKJs6-bc08ae97839d927befdb.js +1 -0
- data/tools/admin/{TimeWidget-C67uwMGH-e6a958538f751e9a3dd3.js → TimeWidget-BQsP0G2X-75f5f0b930c4e50dadf6.js} +1 -1
- data/tools/admin/TitleWidget-DXVba53S-71a6c71ac4cc39f3dae2.js +1 -0
- data/tools/admin/{ToolsTab-DKYeIlXu-900f24ca189c61db308a.js → ToolsTab-CSmjz1H7-4e604eb843eb46bf3af4.js} +2 -2
- data/tools/admin/{VWidget-j2GIGGSX-b209e54885cf666cf826.js → VWidget-CFTCukCL-72e7882a3fbfd94f549f.js} +1 -1
- data/tools/admin/ValueWidget-B-TWLPdM-1ba1d1bc65d10bcf55be.js +1 -0
- data/tools/admin/ValuelimitsbarWidget-jsDXdPdC-86cae1aabd46c33e233e.js +1 -0
- data/tools/admin/{ValuelimitscolumnWidget-HR1TNHwQ-792d41841e65195bb70f.js → ValuelimitscolumnWidget-I-uwnXM2-c3f763c94ccb0b86f320.js} +1 -1
- data/tools/admin/ValuerangebarWidget-OyhSTScu-4f4e30313ef6c4edcb85.js +1 -0
- data/tools/admin/VerticalWidget-CkFbX1Gq-585c58b950987b462cec.js +1 -0
- data/tools/admin/VerticalboxWidget-FEQgPM9r-9fe46aa217c5bff83355.js +1 -0
- data/tools/admin/{Widget-Bn_S-zBo-604800ad1a79f919b9ad.js → Widget-C3-TBgP7-607301ae75b96dae73bd.js} +1 -1
- data/tools/admin/main-27386b9493374f3ca41a.js +1508 -0
- data/tools/admin/main.js +1 -1
- data/tools/admin/settings-spKii1fI-96058b76a3ba925c4a2b.js +1 -0
- metadata +81 -80
- data/tools/admin/ArrayplotWidget-ntRLh6-B-4543404493b8d53f1ccc.js +0 -1
- data/tools/admin/BlockWidget-DGH3Zz5p-c60e945cedfcef240d20.js +0 -2
- data/tools/admin/CanvasWidget-CzG2jYQb-f18830408e350a8c5276.js +0 -1
- data/tools/admin/CanvasdotWidget-0FAaw4G2-354014b8b366b2fe00cb.js +0 -1
- data/tools/admin/CanvaslabelWidget-BZQp16dH-4272f8dbc6cf41abd6be.js +0 -1
- data/tools/admin/CanvaslineWidget-nhKEAGhs-ab32332da7b831906639.js +0 -1
- data/tools/admin/ComboboxWidget-ZX-k-_aK-c96fa5d26616c0100113.js +0 -1
- data/tools/admin/DetailsDialog-BQE0TraI-942c5fe1fc5290a1a532.js +0 -1
- data/tools/admin/Graph-DCihpnT0-6cf1bea3ce9c8656b5b7.js +0 -1
- data/tools/admin/GraphWidget-cTVq29cY-8e9eebb599d9153eeae6.js +0 -1
- data/tools/admin/HorizontalWidget-v1pfd94Z-cf50b3047ddc30468e5b.js +0 -1
- data/tools/admin/HorizontalboxWidget-B06-c_n4-9c7030525a698408d9a7.js +0 -1
- data/tools/admin/LabelledWidget-KI6fMlsr-82d50d76b2b125777605.js +0 -1
- data/tools/admin/LabelprogressbarWidget-C2lzmqBH-ed7b0b5cd24aa3cca775.js +0 -1
- data/tools/admin/LabelsparklineWidget-Ci6GGm29-ee5c9209312fe5ae94d0.js +0 -1
- data/tools/admin/LabelvaluelimitsbarWidget-aaVLaejn-41b2a62958740b4becb7.js +0 -1
- data/tools/admin/LabelvaluelimitscolumnWidget-Uur6aqOg-bde0b0e1d7328dcafe6a.js +0 -1
- data/tools/admin/LedWidget-BN8IgAxJ-9691a30e94927446da2a.js +0 -1
- data/tools/admin/LinegraphWidget-jXksfbPb-9b668649baa145b7e31f.js +0 -1
- data/tools/admin/MatrixbycolumnsWidget-DCwxPjwS-86de794317b78d392d0c.js +0 -1
- data/tools/admin/MicroservicesTab-B-SdMwek-bba8350c78bac3721298.js +0 -1
- data/tools/admin/PackagesTab-Dx25CfF0-21e4078acfb18f1e0892.js +0 -1
- data/tools/admin/PluginsTab-lHDR5v6S-b97df87eb009adc6aa8b.js +0 -5
- data/tools/admin/RadiobuttonWidget-CZZGbvdG-b9a9138e19e1bf3f76b5.js +0 -1
- data/tools/admin/RedisTab-CkSwEwTZ-b6fc0d9bb04904b7f0ea.js +0 -1
- data/tools/admin/RoutersTab-DiYEI1Nq-1069508501ed437c8433.js +0 -1
- data/tools/admin/ScrollwindowWidget-54GU96Ve-183b3cb6a98783f97789.js +0 -1
- data/tools/admin/SettingsTab-BVnr4OtU-7142a06b22e7c9f2d018.js +0 -2
- data/tools/admin/TabbookWidget-_HVA72t5-b92376861c537be9fa0f.js +0 -1
- data/tools/admin/TargetsTab-BfoRYnTP-eed4524a400e0cc4826a.js +0 -1
- data/tools/admin/TextboxWidget-0JXn4bMH-1f4f32fad873404e9838.js +0 -1
- data/tools/admin/TextfieldWidget-BXr9MkVW-e78f038fb85df8060a2a.js +0 -1
- data/tools/admin/TitleWidget-t_YLgUMB-695f37e785a8ae5bee94.js +0 -1
- data/tools/admin/ValueWidget-3jNtnh5i-74d2990510367ae00673.js +0 -1
- data/tools/admin/ValuelimitsbarWidget-JSceOzGS-b6763c7664dc00108304.js +0 -1
- data/tools/admin/ValuerangebarWidget-DnZrho8S-ce7c7bf62df762b7e4b0.js +0 -1
- data/tools/admin/VerticalWidget-DJvoxqLE-c9423678425ab88c12e4.js +0 -1
- data/tools/admin/VerticalboxWidget-CYYyLBoO-a7f9b35c7d31f5b66921.js +0 -1
- data/tools/admin/main-6ce07f8d99f937f91520.js +0 -1507
data/tools/admin/main.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
System.register(["vue","./main-
|
1
|
+
System.register(["vue","./main-27386b9493374f3ca41a.js","vue-router","single-spa","vuex","vuetify"],function(e,t){"use strict";return{setters:[null,u=>{e({bootstrap:u.e,mount:u.m,unmount:u.u})},null,null,null,null],execute:function(){}}});
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./main-27386b9493374f3ca41a.js"],function(n,a){"use strict";var i;return{setters:[r=>{i=r.P}],execute:function(){const r=n("n",{data(){return{api:new i,errorText:"",errorLoading:!1,errorSaving:!1,successSaving:!1}},methods:{loadSetting:function(e,s){this.api.get_setting(e,s).then(t=>{this.parseSetting(t)}).catch(t=>{this.parseSetting(null),this.errorText=t,this.errorLoading=!0})},saveSetting:function(e,s,t){this.api.set_setting(e,s,t).then(()=>{this.errorSaving=!1,this.successSaving=!0}).catch(()=>{this.errorSaving=!0,this.successSaving=!1})},parseSetting:function(e){}}})}}});
|
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.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Melton
|
@@ -22,85 +22,86 @@ 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-BSG8KEtf-20ba46b888f4d0a2ab13.js
|
26
|
+
- tools/admin/ArrayplotWidget-WVu76Kqn-c5d631acd4826caf9a2b.js
|
27
|
+
- tools/admin/BarColumn-Cflh9pUz-abe81b153e1d09452376.js
|
28
|
+
- tools/admin/BlockWidget-B7ryWGCq-14457dcee8d216a445db.js
|
29
|
+
- tools/admin/ButtonWidget-BKih3ix9-d65410874af26ea05dda.js
|
30
|
+
- tools/admin/CanvasWidget-DT9xMSfb-7a50f1c52a3a5cc3b707.js
|
31
|
+
- tools/admin/CanvasdotWidget-7H5Hvcn--5187351e1459e1dd6535.js
|
32
|
+
- tools/admin/CanvasimageWidget-BbWYx6Gj-4460db11c86936417199.js
|
33
|
+
- tools/admin/CanvasimagevalueWidget-Blvoe2X4-2b419bf95c00863f1c4c.js
|
34
|
+
- tools/admin/CanvaslabelWidget-BPx_Rm4o-3d86097dc0bbe408cb4f.js
|
35
|
+
- tools/admin/CanvaslabelvalueWidget-DzdWvL0W-89bf05a5d8c49efb0364.js
|
36
|
+
- tools/admin/CanvaslineWidget-CqskilGk-39d2192df486374badf7.js
|
37
|
+
- tools/admin/CanvaslinevalueWidget-C0JIKdvZ-6d9007a1c241a73cc54e.js
|
38
|
+
- tools/admin/CheckbuttonWidget-C9FbJx2v-e993f69eb1a426849691.js
|
39
|
+
- tools/admin/ComboboxWidget-BbNKT0s8-66e71387985b678f52e8.js
|
40
|
+
- tools/admin/DateWidget-CBMsdRUE-727a33589d5e4b7ee566.js
|
41
|
+
- tools/admin/DetailsDialog-DRVahE5z-2c0386cfe9009510e385.js
|
42
|
+
- tools/admin/DynamicWidget-CfMtj7H8-d2375e0b1602a30d4eea.js
|
43
|
+
- tools/admin/FormatvalueWidget-BLWsqhIZ-38e569045cd54673c7c7.js
|
44
|
+
- tools/admin/Graph-BiU56Qj2-3c747ad09b1edad1ae38.js
|
45
|
+
- tools/admin/GraphWidget-Ga0AEfrJ-f76dc828c89b6471cbbf.js
|
46
|
+
- tools/admin/HorizontalWidget-CsVhLwZO-da13a9c090bb08ec4344.js
|
47
|
+
- tools/admin/HorizontalboxWidget-xC6PADl3-158bd779c176fcfddd01.js
|
48
|
+
- tools/admin/HorizontallineWidget-NZIxmRVN-78a8376fce4e57764ea9.js
|
49
|
+
- tools/admin/IframeWidget-BgzjSfag-6e48828428003053b380.js
|
50
|
+
- tools/admin/ImageLoader-DbFVK1Ui-e772ff7585454a2b929e.js
|
51
|
+
- tools/admin/ImageviewerWidget-BnT5m-nw-de9ac7dc8e5a5e863849.js
|
52
|
+
- tools/admin/InterfacesTab-Cd_RITVP-24021c28c4cc79c2a89b.js
|
53
|
+
- tools/admin/LabelWidget-DSDYmz6X-55f1a88737f42055f2e2.js
|
54
|
+
- tools/admin/LabelledWidget-DMb-myxs-a6d38f4b7d122cb702fc.js
|
55
|
+
- tools/admin/LabelprogressbarWidget-CkjDJBao-7fad8afe99f0f688153d.js
|
56
|
+
- tools/admin/LabelsparklineWidget-DBYPFz3Y-b97bc67b908ad43ae84a.js
|
57
|
+
- tools/admin/LabelvalueWidget-DlTkJC4i-67a3d7f58536b7fdbe7b.js
|
58
|
+
- tools/admin/LabelvaluedescWidget-dRqnGZub-ae4ef207123b81d69970.js
|
59
|
+
- tools/admin/LabelvaluelimitsbarWidget-CS4NAPJ1-86985b928b42e358aea6.js
|
60
|
+
- tools/admin/LabelvaluelimitscolumnWidget-D9x4Ppv8-df7cf77122322442bf4c.js
|
61
|
+
- tools/admin/LabelvaluerangebarWidget-Dhyng4-n-48f8ed77e3ba71f6fd91.js
|
62
|
+
- tools/admin/Layout-mWR35VAD-39a647edf3a2c7bcc7e0.js
|
63
|
+
- tools/admin/LedWidget-D8cq4pUv-bcd4f242b5818abad49f.js
|
64
|
+
- tools/admin/LimitsbarWidget-VGJnDuVM-3cfca67d733b6bb6eece.js
|
65
|
+
- tools/admin/LimitscolorWidget-CG6Pqi12-281b3f6397f79113407a.js
|
66
|
+
- tools/admin/LimitscolumnWidget-DjovQdiT-18d5cd14232cb26ca07f.js
|
67
|
+
- tools/admin/LinegraphWidget-DSWAhXgZ-a316c027af373cbc6428.js
|
68
|
+
- tools/admin/MatrixbycolumnsWidget-C3cuhRxz-bf95ff6809f55ee14c50.js
|
69
|
+
- tools/admin/MicroservicesTab-Dbp02UlV-b2ad97d61b4e78b8f548.js
|
70
|
+
- tools/admin/OutputDialog-M5Xc_DqH-a239ed910e350ae7686f.js
|
71
|
+
- tools/admin/PackagesTab-HQCOIGZK-74801e7efb140e5b32a4.js
|
72
|
+
- tools/admin/PluginsTab-CZApRILr-43a7620adfe4ff70420a.js
|
73
|
+
- tools/admin/ProgressbarWidget-oCgAEFBO-6d62d36197407a29ea26.js
|
74
|
+
- tools/admin/RadiobuttonWidget-D4Dak3lc-9af14f8876edfd7ee308.js
|
75
|
+
- tools/admin/RadiogroupWidget-Dbe9T4fp-205d20c3a3374a51efdf.js
|
76
|
+
- tools/admin/RangebarWidget-CIVrgqrW-a45b38d7062832440586.js
|
77
|
+
- tools/admin/RedisTab-B8U-vEQZ-b1dbbc4dc5eb84ea2f8e.js
|
78
|
+
- tools/admin/RollupWidget-CH1-XNLV-3d1449d0398eab6eea3c.js
|
79
|
+
- tools/admin/RoutersTab-WKa6K7B8-36314d08dbea45e21fa0.js
|
80
|
+
- tools/admin/ScrollwindowWidget-BwFG6Wn8-43d175b7375e2f894439.js
|
81
|
+
- tools/admin/SecretsTab-Vtvbb_1U-3bd2fd68c55d2e087118.js
|
82
|
+
- tools/admin/SettingsTab-DilFIQ3K-dda9d859454babe6c6a7.js
|
83
|
+
- tools/admin/SignalWidget-Gz2gHrUm-8a49663fba001cac4eff.js
|
84
|
+
- tools/admin/SimpleTextDialog-Cmtrmt79-9609170816297cb4f468.js
|
85
|
+
- tools/admin/SpacerWidget-Bg7VDB0k-add14f816ad330e9a2e7.js
|
86
|
+
- tools/admin/SparklineWidget-D_b5rfJv-cfc3f3094a4df93f1586.js
|
87
|
+
- tools/admin/TabbookWidget-C30f9B6z-310bff478662a78ca069.js
|
88
|
+
- tools/admin/TargetsTab-CEPId9dL-794b06b3e676ea1d7946.js
|
89
|
+
- tools/admin/TextboxWidget-CDqxsgys-9c634432e47faaebdb85.js
|
90
|
+
- tools/admin/TextfieldWidget-CAyjKJs6-bc08ae97839d927befdb.js
|
91
|
+
- tools/admin/TimeWidget-BQsP0G2X-75f5f0b930c4e50dadf6.js
|
92
|
+
- tools/admin/TitleWidget-DXVba53S-71a6c71ac4cc39f3dae2.js
|
93
|
+
- tools/admin/ToolsTab-CSmjz1H7-4e604eb843eb46bf3af4.js
|
94
|
+
- tools/admin/VWidget-CFTCukCL-72e7882a3fbfd94f549f.js
|
95
|
+
- tools/admin/ValueWidget-B-TWLPdM-1ba1d1bc65d10bcf55be.js
|
96
|
+
- tools/admin/ValuelimitsbarWidget-jsDXdPdC-86cae1aabd46c33e233e.js
|
97
|
+
- tools/admin/ValuelimitscolumnWidget-I-uwnXM2-c3f763c94ccb0b86f320.js
|
98
|
+
- tools/admin/ValuerangebarWidget-OyhSTScu-4f4e30313ef6c4edcb85.js
|
99
|
+
- tools/admin/VerticalWidget-CkFbX1Gq-585c58b950987b462cec.js
|
100
|
+
- tools/admin/VerticalboxWidget-FEQgPM9r-9fe46aa217c5bff83355.js
|
101
|
+
- tools/admin/Widget-C3-TBgP7-607301ae75b96dae73bd.js
|
102
|
+
- tools/admin/main-27386b9493374f3ca41a.js
|
103
103
|
- tools/admin/main.js
|
104
|
+
- tools/admin/settings-spKii1fI-96058b76a3ba925c4a2b.js
|
104
105
|
homepage: https://github.com/OpenC3/cosmos
|
105
106
|
licenses:
|
106
107
|
- AGPL-3.0-only
|
@@ -120,7 +121,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
120
121
|
- !ruby/object:Gem::Version
|
121
122
|
version: '0'
|
122
123
|
requirements: []
|
123
|
-
rubygems_version: 3.
|
124
|
+
rubygems_version: 3.7.1
|
124
125
|
specification_version: 4
|
125
126
|
summary: OpenC3 COSMOS Admin Tool
|
126
127
|
test_files: []
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./main-6ce07f8d99f937f91520.js","./GraphWidget-cTVq29cY-8e9eebb599d9153eeae6.js","vue","vue-router","single-spa","vuex","vuetify","./Widget-Bn_S-zBo-604800ad1a79f919b9ad.js"],function(m,_){"use strict";var c,l,h,d,u,p;return{setters:[s=>{c=s.d,l=s.m,h=s.P},s=>{d=s._},s=>{u=s.createElementBlock,p=s.openBlock},null,null,null,null,null],execute:function(){const s={data:function(){return{items:[],indexes:{},data:[[]],cable:new h,subscription:null,graph:null,xAxis:null,title:"Array Plot",colorIndex:0,colors:["#00c7cb","#938bdb","#4dacff","lime","darkorange","red","gold","hotpink","tan","cyan","maroon","blue","teal","purple","green","brown","lightblue","white","black"]}},mixins:[d],created(){for(const[e,t]of this.items.entries())this.data.push([]),this.indexes[this.subscriptionKey(t)]=e+1,t.color=this.colors[this.colorIndex],this.colorIndex++;this.appliedSettings.forEach(e=>{switch(e[0]){case"TITLE":this.title=e[1];break;case"X_AXIS":this.xAxis={start:parseFloat(e[1]),step:parseFloat(e[2])};break}})},mounted(){let e=[];this.items.forEach(n=>{e.push({label:this.itemName(n),stroke:n.color,width:2,value:(r,i)=>typeof i=="string"||isNaN(i)?"NaN":i==null?"--":i.toFixed(3)})});let t={title:this.title,width:this.size.width,height:this.size.height,scales:{x:{time:!1},y:{time:!1,range:(n,r,i)=>[r,i]}},axes:[{stroke:"white",grid:{show:!0,stroke:"rgba(255, 255, 255, .1)",width:2}},{stroke:"white",grid:{show:!0,stroke:"rgba(255, 255, 255, .1)",width:2}}],series:[{label:"X Value"},...e]};this.graph=new l(t,this.data,document.getElementById(`chart${this.id}`)),this.subscribe()},beforeUnmount:function(){this.cable.disconnect()},computed:{dataOnly(){return this.data[1]}},watch:{dataOnly:function(){this.graph&&this.graph.setData(this.data)}},methods:{subscribe:function(){this.cable.createSubscription("StreamingChannel",window.openc3Scope,{received:e=>this.received(e),connected:()=>{this.addItemsToSubscription(this.items)},disconnected:e=>{e.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(e=>{this.subscription=e})},received:function(e){for(let t of e){let n=[];for(const[r,i]of Object.entries(t)){r==="__time"&&(this.xAxis?n=Array.from({length:this.data[1].length},(f,o)=>this.xAxis.start+o*this.xAxis.step):n.length===0&&(n=Array.from({length:this.data[1].length},(f,o)=>o)),this.data[0]=n);let a=this.indexes[r];a&&(Array.isArray(i[0])?(this.data[a]=i[1],n=i[0]):this.data[a]=i)}}},addItemsToSubscription:function(e=this.items){this.subscription&&OpenC3Auth.updateToken(OpenC3Auth.defaultMinValidity).then(t=>{t&&OpenC3Auth.setTokens(),this.subscription.perform("add",{scope:window.openc3Scope,token:localStorage.openc3Token,items:e.map(this.subscriptionKey),start_time:null,end_time:null})})},itemName:function(e){return`${e.targetName} ${e.packetName} ${e.itemName}`},subscriptionKey:function(e){let t=`${e.reduced}__TLM__${e.targetName}__${e.packetName}__${e.itemName}__${e.valueType}`;return(e.reduced==="REDUCED_MINUTE"||e.reduced==="REDUCED_HOUR"||e.reduced==="REDUCED_DAY")&&(t+=`__${e.reducedType}`),t}}},b=["id"];function g(e,t,n,r,i,a){return p(),u("div",{class:"pa-1",id:`chart${e.id}`},null,8,b)}const k=m("default",c(s,[["render",g]]))}}});
|
@@ -1,2 +0,0 @@
|
|
1
|
-
System.register(["./main-6ce07f8d99f937f91520.js","vue","./DetailsDialog-BQE0TraI-942c5fe1fc5290a1a532.js","single-spa","./VWidget-j2GIGGSX-b209e54885cf666cf826.js","vue-router","vuex","vuetify","./Widget-Bn_S-zBo-604800ad1a79f919b9ad.js"],function(P,j){"use strict";var u,a,m,h,s,p,g,o,w,f,v,y,x,k,C,V;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,k=e.toDisplayString},e=>{C=e.P},null,e=>{V=e.L},null,null,null,null],execute:function(){const e={components:{DetailsDialog:C},data:function(){return{width:400,height:400,bytesPerWord:4,wordsPerRow:4,addrFormat:null,formatter:"%02X"}},mixins:[V],computed:{aging(){return{"--aging":this.grayLevel}},rows:function(){return(this.height-16)/24}},created:function(){this.width=this.setWidth(this.parameters[3],"px",this.width),this.height=this.setHeight(this.parameters[4],"px",this.height),this.parameters[5]&&(this.formatter=this.parameters[5]),this.parameters[6]&&(this.bytesPerWord=parseInt(this.parameters[6])),this.parameters[7]&&(this.wordsPerRow=parseInt(this.parameters[7])),this.parameters[8]&&(this.addrFormat=this.parameters[8])},methods:{getType:function(){let t="RAW";return this.parameters[9]&&(t=this.parameters[9]),t},formatValue:function(t){let r="";if(t&&t.raw){let S=" ",B=`
|
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+=B):i%this.bytesPerWord===0&&(r+=S)}else r=t;return r}}},D={class:"block-widget-container"};function W(t,r,S,B,i,l){const d=a("v-textarea"),c=a("v-list-item-title"),_=a("v-list-item"),M=a("v-list"),z=a("v-menu"),F=a("details-dialog");return h(),m("div",D,[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(z,{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,b)=>(h(),v(_,{key:b,onClick:y(n.action,["stop"])},{default:o(()=>[s(c,null,{default:o(()=>[x(k(n.title),1)]),_:2},1024)]),_:2},1032,["onClick"]))),128))]),_:1})]),_:1},8,["modelValue","target"]),s(F,{"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 I=P("default",u(e,[["render",W],["__scopeId","data-v-4d4589c2"]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./Layout-1z8iJV5--18c4292fcaf8fb39baf3.js","vue","./main-6ce07f8d99f937f91520.js","./Widget-Bn_S-zBo-604800ad1a79f919b9ad.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,B,k,y,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-Bn_S-zBo-604800ad1a79f919b9ad.js","vue","./main-6ce07f8d99f937f91520.js","vue-router","single-spa","vuex","vuetify"],function(s,o){"use strict";var t,n,l,c;return{setters:[e=>{t=e.o},e=>{n=e.createElementBlock,l=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,f,p,B,d){return l(),n("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-Bn_S-zBo-604800ad1a79f919b9ad.js","vue","./main-6ce07f8d99f937f91520.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,d,y,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-Bn_S-zBo-604800ad1a79f919b9ad.js","vue","./main-6ce07f8d99f937f91520.js","vue-router","single-spa","vuex","vuetify"],function(i,p){"use strict";var l,n,s,a,c;return{setters:[e=>{l=e.o},e=>{n=e.createElementBlock,s=e.openBlock,a=e.normalizeStyle},e=>{c=e.d},null,null,null,null],execute:function(){const e={mixins:[l],computed:{calcStyle(){let t="black";this.parameters[4]&&(t=this.parameters[4]);let r=1;return this.parameters[5]&&(r=this.parameters[5]),"stroke:"+t+";stroke-width:"+r}}},o=["x1","y1","x2","y2"];function u(t,r,d,k,x,m){return s(),n("line",{x1:t.parameters[0],y1:t.parameters[1],x2:t.parameters[2],y2:t.parameters[3],style:a(m.calcStyle)},null,12,o)}const y=i("default",c(e,[["render",u]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./Widget-Bn_S-zBo-604800ad1a79f919b9ad.js","vue","./main-6ce07f8d99f937f91520.js","vue-router","single-spa","vuex","vuetify"],function(i,p){"use strict";var l,n,s,o,r,u;return{setters:[e=>{l=e.o},e=>{n=e.resolveComponent,s=e.createBlock,o=e.openBlock,r=e.normalizeStyle},e=>{u=e.d},null,null,null,null],execute:function(){const e={mixins:[l],data(){return{items:[],value:null}},created(){this.value=this.parameters[0],this.items=this.parameters},methods:{text(){return this.value}}};function c(m,a,h,B,t,f){const d=n("v-select");return o(),s(d,{"hide-details":"",density:"compact",variant:"outlined",items:t.items,modelValue:t.value,"onUpdate:modelValue":a[0]||(a[0]=v=>t.value=v),style:r(m.computedStyle)},null,8,["items","modelValue","style"])}const y=i("default",u(e,[["render",c]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./main-6ce07f8d99f937f91520.js","vue"],function(C,P){"use strict";var V,L,m,o,r,e,t,v,s,d,h,g,k,w;return{setters:[c=>{V=c.d,L=c.B},c=>{m=c.resolveComponent,o=c.createBlock,r=c.openBlock,e=c.withCtx,t=c.createVNode,v=c.createElementVNode,s=c.createTextVNode,d=c.toDisplayString,h=c.createCommentVNode,g=c.createElementBlock,k=c.Fragment,w=c.renderList}],execute:function(){const c={props:{type:{default:"tlm",validator:function(u){return["cmd","tlm"].indexOf(u)!==-1}},targetName:String,packetName:String,itemName:String,modelValue:Boolean},data(){return{details:Object,updater:null,rawValue:null,convertedValue:null,formattedValue:null,unitsValue:null}},computed:{show:{get(){return this.modelValue},set(u){this.$emit("update:modelValue",u)}}},watch:{modelValue:function(u,a){u?(this.requestDetails(),this.type==="tlm"&&(this.updater=setInterval(()=>{this.api.get_tlm_values([`${this.targetName}__${this.packetName}__${this.itemName}__RAW`,`${this.targetName}__${this.packetName}__${this.itemName}__CONVERTED`,`${this.targetName}__${this.packetName}__${this.itemName}__FORMATTED`,`${this.targetName}__${this.packetName}__${this.itemName}__WITH_UNITS`]).then(_=>{for(let p of _){let i=null;if(p[0].json_class==="String"&&p[0].raw!==void 0?i=p[0].raw:this.details.data_type==="BLOCK"&&(i=p[0]),i!==null){i=i.slice(0,parseInt(this.details.bit_size)/8);let b=!1;i.length>64&&(b=!0),p[0]=Array.from(i.slice(0,64),function(N){return N===" "?"20":("0"+(N&255).toString(16)).slice(-2)}).join(" ").toUpperCase(),b&&(p[0]+="...")}}this.details.data_type.includes("INT")&&!this.details.array_size?this.rawValue=`${_[0][0]} (0x${_[0][0].toString(16).toUpperCase()})`:this.rawValue=_[0][0],this.convertedValue=_[1][0],this.formattedValue=_[2][0],this.unitsValue=_[3][0]})},1e3))):(clearInterval(this.updater),this.updater=null)}},created(){this.api=new L},beforeUnmount(){clearInterval(this.updater),this.updater=null},methods:{hasLimits(u){let a=!1;return u.limits.DEFAULT&&(a=!0),u.states&&Object.getOwnPropertyNames(u.states).forEach(_=>{u.states[_].color&&(a=!0)}),a},async requestDetails(){this.type==="tlm"?await this.api.get_item(this.targetName,this.packetName,this.itemName).then(u=>{this.details=u,this.hasLimits(u)||(this.details.limits=null)}):await this.api.get_parameter(this.targetName,this.packetName,this.itemName).then(u=>{this.details=u})},async changeLimitsEnabled(){this.details.limits.enabled?await this.api.enable_limits(this.targetName,this.packetName,this.itemName):await this.api.disable_limits(this.targetName,this.packetName,this.itemName)},formatLimit(u){return u.hasOwnProperty("green_low")?"RL/"+u.red_low+" YL/"+u.yellow_low+" YH/"+u.yellow_high+" RH/"+u.red_high+" GL/"+u.green_low+" GH/"+u.green_high:u.hasOwnProperty("red_low")?"RL/"+u.red_low+" YL/"+u.yellow_low+" YH/"+u.yellow_high+" RH/"+u.red_high:u}}},S={key:5},$={key:7},E={key:3},B={key:9};function x(u,a,_,p,i,b){const N=m("v-spacer"),D=m("v-toolbar"),T=m("v-card-title"),U=m("v-card-subtitle"),l=m("v-col"),n=m("v-row"),I=m("v-switch"),O=m("v-container"),R=m("v-card-text"),z=m("v-card"),A=m("v-dialog");return r(),o(A,{modelValue:b.show,"onUpdate:modelValue":a[1]||(a[1]=y=>b.show=y),width:"700"},{default:e(()=>[t(z,null,{default:e(()=>[t(D,{height:24},{default:e(()=>[t(N),a[2]||(a[2]=v("span",null," Details ",-1)),t(N)]),_:1}),t(T,null,{default:e(()=>[s(d(_.targetName)+" "+d(_.packetName)+" "+d(_.itemName),1)]),_:1}),t(U,null,{default:e(()=>[s(d(i.details.description),1)]),_:1}),t(R,null,{default:e(()=>[t(O,{fluid:""},{default:e(()=>[_.type==="tlm"?(r(),o(n,{key:0,"no-gutters":""},{default:e(()=>[t(l,{cols:"5",class:"label"},{default:e(()=>a[3]||(a[3]=[s("Item Values")])),_:1}),t(l)]),_:1})):h("",!0),t(n,{"no-gutters":""},{default:e(()=>[t(l,{cols:"1"}),t(l,{cols:"4",class:"label"},{default:e(()=>a[4]||(a[4]=[s("Raw Value")])),_:1}),t(l,null,{default:e(()=>[s(d(i.rawValue),1)]),_:1})]),_:1}),t(n,{"no-gutters":""},{default:e(()=>[t(l,{cols:"1"}),t(l,{cols:"4",class:"label"},{default:e(()=>a[5]||(a[5]=[s("Converted Value")])),_:1}),t(l,null,{default:e(()=>[s(d(i.convertedValue),1)]),_:1})]),_:1}),t(n,{"no-gutters":""},{default:e(()=>[t(l,{cols:"1"}),t(l,{cols:"4",class:"label"},{default:e(()=>a[6]||(a[6]=[s("Formatted Value")])),_:1}),t(l,null,{default:e(()=>[s(d(i.formattedValue),1)]),_:1})]),_:1}),t(n,{"no-gutters":""},{default:e(()=>[t(l,{cols:"1"}),t(l,{cols:"4",class:"label"},{default:e(()=>a[7]||(a[7]=[s("With Units Value")])),_:1}),t(l,null,{default:e(()=>[s(d(i.unitsValue),1)]),_:1})]),_:1}),t(n,{"no-gutters":""},{default:e(()=>[t(l,{cols:"5",class:"label"},{default:e(()=>a[8]||(a[8]=[s("Bit Offset")])),_:1}),t(l,null,{default:e(()=>[s(d(i.details.bit_offset),1)]),_:1})]),_:1}),t(n,{"no-gutters":""},{default:e(()=>[t(l,{cols:"5",class:"label"},{default:e(()=>a[9]||(a[9]=[s("Bit Size")])),_:1}),t(l,null,{default:e(()=>[s(d(i.details.bit_size),1)]),_:1})]),_:1}),i.details.array_size?(r(),o(n,{key:1,"no-gutters":""},{default:e(()=>[t(l,{cols:"5",class:"label"},{default:e(()=>a[10]||(a[10]=[s("Array Size")])),_:1}),t(l,null,{default:e(()=>[s(d(i.details.array_size),1)]),_:1})]),_:1})):h("",!0),t(n,{"no-gutters":""},{default:e(()=>[t(l,{cols:"5",class:"label"},{default:e(()=>a[11]||(a[11]=[s("Data Type")])),_:1}),t(l,null,{default:e(()=>[s(d(i.details.data_type),1)]),_:1})]),_:1}),_.type==="cmd"?(r(),o(n,{key:2,"no-gutters":""},{default:e(()=>[t(l,{cols:"5",class:"label"},{default:e(()=>a[12]||(a[12]=[s("Minimum")])),_:1}),t(l,null,{default:e(()=>[s(d(i.details.minimum),1)]),_:1})]),_:1})):h("",!0),_.type==="cmd"?(r(),o(n,{key:3,"no-gutters":""},{default:e(()=>[t(l,{cols:"5",class:"label"},{default:e(()=>a[13]||(a[13]=[s("Maximum")])),_:1}),t(l,null,{default:e(()=>[s(d(i.details.maximum),1)]),_:1})]),_:1})):h("",!0),_.type==="cmd"?(r(),o(n,{key:4,"no-gutters":""},{default:e(()=>[t(l,{cols:"5",class:"label"},{default:e(()=>a[14]||(a[14]=[s("Default")])),_:1}),t(l,null,{default:e(()=>[s(d(i.details.default),1)]),_:1})]),_:1})):h("",!0),t(n,{"no-gutters":""},{default:e(()=>[t(l,{cols:"5",class:"label"},{default:e(()=>a[15]||(a[15]=[s("Format String")])),_:1}),t(l,null,{default:e(()=>[s(d(i.details.format_string),1)]),_:1})]),_:1}),t(n,{"no-gutters":""},{default:e(()=>[t(l,{cols:"5",class:"label"},{default:e(()=>a[16]||(a[16]=[s("Read Conversion")])),_:1}),i.details.read_conversion?(r(),o(l,{key:0},{default:e(()=>[s(" Class: "+d(i.details.read_conversion.class)+" ",1),a[17]||(a[17]=v("br",null,null,-1)),s(" Params: "+d(i.details.read_conversion.params),1)]),_:1})):(r(),o(l,{key:1}))]),_:1}),t(n,{"no-gutters":""},{default:e(()=>[t(l,{cols:"5",class:"label"},{default:e(()=>a[18]||(a[18]=[s("Write Conversion")])),_:1}),i.details.write_conversion?(r(),o(l,{key:0},{default:e(()=>[s(" Class: "+d(i.details.write_conversion.class)+" ",1),a[19]||(a[19]=v("br",null,null,-1)),s(" Params: "+d(i.details.write_conversion.params),1)]),_:1})):(r(),o(l,{key:1}))]),_:1}),t(n,{"no-gutters":""},{default:e(()=>[t(l,{cols:"5",class:"label"},{default:e(()=>a[20]||(a[20]=[s("Id Value")])),_:1}),t(l,null,{default:e(()=>[s(d(i.details.id_value),1)]),_:1})]),_:1}),t(n,{"no-gutters":""},{default:e(()=>[t(l,{cols:"5",class:"label"},{default:e(()=>a[21]||(a[21]=[s("Units Full")])),_:1}),t(l,null,{default:e(()=>[s(d(i.details.units_full),1)]),_:1})]),_:1}),t(n,{"no-gutters":""},{default:e(()=>[t(l,{cols:"5",class:"label"},{default:e(()=>a[22]||(a[22]=[s("Units Abbr")])),_:1}),t(l,null,{default:e(()=>[s(d(i.details.units),1)]),_:1})]),_:1}),t(n,{"no-gutters":""},{default:e(()=>[t(l,{cols:"5",class:"label"},{default:e(()=>a[23]||(a[23]=[s("Endianness")])),_:1}),t(l,null,{default:e(()=>[s(d(i.details.endianness),1)]),_:1})]),_:1}),i.details.states?(r(),g("div",S,[t(n,{"no-gutters":""},{default:e(()=>[t(l,{cols:"5",class:"label"},{default:e(()=>a[24]||(a[24]=[s("States")])),_:1}),t(l)]),_:1}),(r(!0),g(k,null,w(i.details.states,(y,f)=>(r(),o(n,{key:f,"no-gutters":""},{default:e(()=>[t(l,{cols:"1"}),t(l,{cols:"4",class:"label"},{default:e(()=>[s(d(f),1)]),_:2},1024),t(l,null,{default:e(()=>[s(d(y.value),1)]),_:2},1024)]),_:2},1024))),128))])):(r(),o(n,{key:6,"no-gutters":""},{default:e(()=>[t(l,{cols:"5",class:"label"},{default:e(()=>a[25]||(a[25]=[s("States")])),_:1}),t(l,null,{default:e(()=>a[26]||(a[26]=[s("None")])),_:1})]),_:1})),i.details.limits?(r(),g("div",$,[t(n,{"no-gutters":""},{default:e(()=>[t(l,{cols:"5",class:"label"},{default:e(()=>a[27]||(a[27]=[s("Limits")])),_:1}),t(l)]),_:1}),(r(!0),g(k,null,w(i.details.limits,(y,f)=>(r(),o(n,{key:f,"no-gutters":""},{default:e(()=>[t(l,{cols:"1"}),f==="enabled"?(r(),o(l,{key:0,cols:"4",class:"label"},{default:e(()=>a[28]||(a[28]=[s("Enabled")])),_:1})):h("",!0),f==="enabled"?(r(),o(I,{key:1,modelValue:i.details.limits.enabled,"onUpdate:modelValue":[a[0]||(a[0]=F=>i.details.limits.enabled=F),b.changeLimitsEnabled],density:"compact",color:"primary",class:"compact-switch","hide-details":""},null,8,["modelValue","onUpdate:modelValue"])):h("",!0),f!=="enabled"?(r(),o(l,{key:2,cols:"4",class:"label"},{default:e(()=>[s(d(f),1)]),_:2},1024)):h("",!0),f!=="enabled"?(r(),g("div",E,d(b.formatLimit(y)),1)):h("",!0),t(l)]),_:2},1024))),128))])):(r(),o(n,{key:8,"no-gutters":""},{default:e(()=>[t(l,{cols:"5",class:"label"},{default:e(()=>a[29]||(a[29]=[s("Limits")])),_:1}),t(l,null,{default:e(()=>a[30]||(a[30]=[s("None")])),_:1})]),_:1})),i.details.meta?(r(),g("div",B,[t(n,{"no-gutters":""},{default:e(()=>[t(l,{cols:"5",class:"label"},{default:e(()=>a[31]||(a[31]=[s("Meta")])),_:1}),t(l)]),_:1}),(r(!0),g(k,null,w(i.details.meta,(y,f)=>(r(),o(n,{key:f,"no-gutters":""},{default:e(()=>[t(l,{cols:"1"}),t(l,{cols:"4",class:"label"},{default:e(()=>[s(d(f),1)]),_:2},1024),t(l,null,{default:e(()=>[s(d(y.join(", ")),1)]),_:2},1024)]),_:2},1024))),128))])):(r(),o(n,{key:10,"no-gutters":""},{default:e(()=>[t(l,{cols:"5",class:"label"},{default:e(()=>a[32]||(a[32]=[s("Meta")])),_:1}),t(l,null,{default:e(()=>a[33]||(a[33]=[s("None")])),_:1})]),_:1}))]),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue"])}const j=C("P",V(c,[["render",x],["__scopeId","data-v-6065a19b"]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./main-6ce07f8d99f937f91520.js","vue"],function(ie,be){"use strict";var L,G,$,C,X,j,R,P,A,h,I,y,H,a,w,k,l,E,F,x,N,M,B,f,J,Q,W,ee;return{setters:[c=>{L=c.d,G=c.R,$=c.e,C=c.m,X=c.P,j=c.B,R=c.l,P=c.$,A=c.c},c=>{h=c.resolveComponent,I=c.createElementBlock,y=c.openBlock,H=c.withModifiers,a=c.createVNode,w=c.createBlock,k=c.createCommentVNode,l=c.withCtx,E=c.withDirectives,F=c.normalizeClass,x=c.createElementVNode,N=c.vShow,M=c.toDisplayString,B=c.Fragment,f=c.createTextVNode,J=c.normalizeProps,Q=c.guardReactiveProps,W=c.withKeys,ee=c.renderList}],execute:function(){const c={mixins:[G],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}},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 P(A(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 P(A(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=R(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=R(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)}}},ae={class:"edit-box"},se={class:"edit-box"},le={class:"edit-box"},re={class:"edit-box"};function ne(t,e,i,u,s,r){const o=h("v-spacer"),d=h("v-toolbar"),v=h("v-tab"),m=h("v-tabs"),g=h("v-text-field"),V=h("v-card-text"),b=h("v-col"),T=h("v-select"),p=h("v-row"),Y=h("v-tabs-window-item"),D=h("v-btn"),_=h("v-list-item"),O=h("v-list"),z=h("v-data-table"),q=h("v-tabs-window"),Z=h("v-card-actions"),S=h("v-card"),K=h("v-dialog");return y(),w(K,{modelValue:r.show,"onUpdate:modelValue":e[12]||(e[12]=n=>r.show=n),"max-width":"700",onKeydown:e[13]||(e[13]=W(n=>t.$emit("cancel"),["esc"]))},{default:l(()=>[a(d,{height:"24"},{default:l(()=>[a(o),e[14]||(e[14]=x("span",null," Edit Graph ",-1)),a(o)]),_:1}),a(S,{class:"pa-3"},{default:l(()=>[a(m,{modelValue:t.tab,"onUpdate:modelValue":e[0]||(e[0]=n=>t.tab=n),class:"ml-3"},{default:l(()=>[a(v,{value:"0"},{default:l(()=>e[15]||(e[15]=[f(" Settings ")])),_:1}),a(v,{value:"1"},{default:l(()=>e[16]||(e[16]=[f(" Scale / Lines ")])),_:1}),a(v,{value:"2"},{default:l(()=>e[17]||(e[17]=[f(" Items ")])),_:1})]),_:1},8,["modelValue"]),a(q,{modelValue:t.tab,"onUpdate:modelValue":e[10]||(e[10]=n=>t.tab=n)},{default:l(()=>[a(Y,{value:"0",eager:""},{default:l(()=>[x("div",ae,[a(p,null,{default:l(()=>[a(b,null,{default:l(()=>[a(V,{class:"pa-0"},{default:l(()=>[a(g,{modelValue:t.graph.title,"onUpdate:modelValue":e[1]||(e[1]=n=>t.graph.title=n),class:"pb-2",label:"Title","hide-details":""},null,8,["modelValue"])]),_:1})]),_:1}),a(b,null,{default:l(()=>[a(T,{modelValue:t.graph.legendPosition,"onUpdate:modelValue":e[2]||(e[2]=n=>t.graph.legendPosition=n),label:"Legend Position","hide-details":"",items:t.legendPositions,style:{"max-width":"280px"}},null,8,["modelValue","items"])]),_:1})]),_:1})]),x("div",se,[a(V,{class:"pa-0"},{default:l(()=>e[18]||(e[18]=[f(" Select a start date/time for the graph. Leave blank for start now. ")])),_:1}),a(p,null,{default:l(()=>[a(b,null,{default:l(()=>[a(g,{modelValue:t.startDate,"onUpdate:modelValue":e[3]||(e[3]=n=>t.startDate=n),label:"Start Date",name:`date${Date.now()}`,rules:[t.rules.date],type:"date"},null,8,["modelValue","name","rules"])]),_:1}),a(b,null,{default:l(()=>[a(g,{modelValue:t.startTime,"onUpdate:modelValue":e[4]||(e[4]=n=>t.startTime=n),label:"Start Time",name:`time${Date.now()}`,rules:[t.rules.time],type:"time",step:"1"},null,8,["modelValue","name","rules"])]),_:1})]),_:1}),a(V,{class:"pa-0"},{default:l(()=>e[19]||(e[19]=[f(" Select a end date/time for the graph. Leave blank for continuous real-time graphing. ")])),_:1}),a(p,null,{default:l(()=>[a(b,null,{default:l(()=>[a(g,{modelValue:t.endDate,"onUpdate:modelValue":e[5]||(e[5]=n=>t.endDate=n),label:"End Date",name:`date${Date.now()}`,rules:[t.rules.date],type:"date"},null,8,["modelValue","name","rules"])]),_:1}),a(b,null,{default:l(()=>[a(g,{modelValue:t.endTime,"onUpdate:modelValue":e[6]||(e[6]=n=>t.endTime=n),label:"End Time",name:`time${Date.now()}`,rules:[t.rules.time],type:"time",step:"1"},null,8,["modelValue","name","rules"])]),_:1})]),_:1})])]),_:1}),a(Y,{value:"1",eager:""},{default:l(()=>[x("div",le,[a(V,{class:"pa-0"},{default:l(()=>e[20]||(e[20]=[f(" Set a min or max Y value to override automatic scaling ")])),_:1}),a(p,{dense:""},{default:l(()=>[a(b,{class:"px-2"},{default:l(()=>[a(g,{modelValue:t.graph.graphMinY,"onUpdate:modelValue":e[7]||(e[7]=n=>t.graph.graphMinY=n),"hide-details":"",label:"Min Y Axis (Optional)",type:"number"},null,8,["modelValue"])]),_:1}),a(b,{class:"px-2"},{default:l(()=>[a(g,{modelValue:t.graph.graphMaxY,"onUpdate:modelValue":e[8]||(e[8]=n=>t.graph.graphMaxY=n),"hide-details":"",label:"Max Y Axis (Optional)",type:"number"},null,8,["modelValue"])]),_:1})]),_:1})]),x("div",re,[a(O,{density:"compact",class:"horizontal-lines"},{default:l(()=>[a(_,null,{default:l(()=>[e[22]||(e[22]=x("span",{style:{"padding-top":"5px"}}," Add horizontal lines to the graph ",-1)),a(o),a(D,{onClick:e[9]||(e[9]=n=>r.addLine())},{default:l(()=>e[21]||(e[21]=[f(" New Line ")])),_:1})]),_:1}),(y(!0),I(B,null,ee(t.graph.lines,(n,te)=>(y(),w(_,{key:te,value:n,color:"primary"},{default:l(()=>[a(p,null,{default:l(()=>[a(b,null,{default:l(()=>[a(g,{modelValue:n.yValue,"onUpdate:modelValue":U=>n.yValue=U,label:"Y Value"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),a(b,null,{default:l(()=>[a(T,{modelValue:n.color,"onUpdate:modelValue":U=>n.color=U,label:"Color","hide-details":"",items:i.colors},null,8,["modelValue","onUpdate:modelValue","items"])]),_:2},1024),a(b,null,{default:l(()=>[a(D,{style:{padding:"30px"},icon:"mdi-delete",variant:"text","aria-label":"Remove Line",onClick:U=>r.removeLine(n)},null,8,["onClick"])]),_:2},1024)]),_:2},1024)]),_:2},1032,["value"]))),128))]),_:1})])]),_:1}),a(Y,{value:"2",eager:""},{default:l(()=>[a(z,{"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":l(({item:n})=>[a(D,{icon:"mdi-delete",variant:"text","aria-label":"Remove Item",onClick:te=>t.$emit("remove",n)},null,8,["onClick"])]),"no-data":l(()=>e[23]||(e[23]=[x("span",null," Currently no items on this graph ",-1)])),_:1},8,["headers","items"])]),_:1})]),_:1},8,["modelValue"]),a(Z,{class:"px-2"},{default:l(()=>[a(o),a(D,{variant:"outlined",onClick:e[11]||(e[11]=n=>t.$emit("cancel"))},{default:l(()=>e[24]||(e[24]=[f(" Cancel ")])),_:1}),a(D,{variant:"flat",onClick:r.closeOk},{default:l(()=>e[25]||(e[25]=[f(" Ok ")])),_:1},8,["onClick"])]),_:1})]),_:1})]),_:1},8,["modelValue"])}const oe=L(c,[["render",ne]]),de={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,i]of Object.entries(t.limits))Object.keys(i).includes("red_low")&&(this.limits[e]=Object.values(i));this.limitsName=Object.keys(this.limits).find(e=>this.limits[e]+""==this.editItem.limits+"")})}},he={key:0},ue={class:"pa-3"};function ce(t,e,i,u,s,r){const o=h("v-card-title"),d=h("v-select"),v=h("v-card-text"),m=h("v-spacer"),g=h("v-btn"),V=h("v-card-actions"),b=h("v-card"),T=h("v-dialog");return y(),w(T,{modelValue:r.show,"onUpdate:modelValue":e[9]||(e[9]=p=>r.show=p),width:"400",onKeydown:e[10]||(e[10]=W(p=>t.success(),["enter"]))},{default:l(()=>[a(b,null,{default:l(()=>[a(o,{class:"mb-2"},{default:l(()=>e[11]||(e[11]=[f("Edit Item")])),_:1}),a(v,null,{default:l(()=>[a(d,{variant:"outlined","hide-details":"",label:"Value Type",items:t.valueTypes,modelValue:t.editItem.valueType,"onUpdate:modelValue":e[0]||(e[0]=p=>t.editItem.valueType=p),class:"mb-2"},null,8,["items","modelValue"]),a(d,{variant:"outlined","hide-details":"",label:"Reduction",items:t.reduction,modelValue:t.editItem.reduced,"onUpdate:modelValue":e[1]||(e[1]=p=>t.editItem.reduced=p),class:"mb-2"},null,8,["items","modelValue"]),a(d,{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]=p=>t.editItem.reducedType=p),class:"mb-2"},null,8,["items","disabled","modelValue"]),a(d,{variant:"outlined","hide-details":"",label:"Color",items:i.colors,modelValue:t.editItem.color,"onUpdate:modelValue":[e[3]||(e[3]=p=>t.editItem.color=p),e[4]||(e[4]=p=>t.$emit("changeColor",p))],class:"mb-2"},null,8,["items","modelValue"]),r.limitsNames.length>1?(y(),I("div",he,[a(d,{variant:"outlined","hide-details":"",label:"Display Limits",items:r.limitsNames,modelValue:t.limitsName,"onUpdate:modelValue":[e[5]||(e[5]=p=>t.limitsName=p),e[6]||(e[6]=p=>t.$emit("changeLimits",t.limits[t.limitsName]))]},null,8,["items","modelValue"]),x("div",ue,M(t.limitsName)+": "+M(t.limits[t.limitsName]),1)])):k("",!0)]),_:1}),a(V,{class:"px-2"},{default:l(()=>[a(m),a(g,{variant:"outlined",onClick:e[7]||(e[7]=p=>t.$emit("cancel"))},{default:l(()=>e[12]||(e[12]=[f(" Cancel ")])),_:1}),a(g,{variant:"flat",onClick:e[8]||(e[8]=p=>t.$emit("close",t.editItem))},{default:l(()=>e[13]||(e[13]=[f(" Ok ")])),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue"])}const me=L(de,[["render",ce]]),pe={components:{GraphEditDialog:oe,GraphEditItemDialog:me},mixins:[G],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"}},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 X,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}},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 i=parseFloat(t);isNaN(i)||(this.graphMinY=i),this.setGraphRange()},graphMaxY:function(t,e){let i=parseFloat(t);isNaN(i)||(this.graphMaxY=i),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)}},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,s)=>{const r={spanGaps:!0};return u.chartSeries.push({...r,item:s,label:this.formatLabel(s),stroke:(o,d)=>this.items[d-1].color,width:2,value:(o,d)=>typeof d=="string"||isNaN(d)?"NaN":d==null?"--":d.toFixed(3)}),u.overviewSeries.push({...r}),u},{chartSeries:[],overviewSeries:[]});let i={};if(this.sparkline)this.hideToolbarData=!0,this.hideOverviewData=!0,this.showOverview=!1,i={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 C(i,this.data,document.getElementById(`chart${this.id}`));else{let u=Intl.DateTimeFormat().resolvedOptions().timeZone;this.timeZone&&this.timeZone!=="local"&&(u=this.timeZone),i={...this.getSize("chart"),...this.getScales(),...this.getAxes("chart"),plugins:[this.linesPlugin()],tzDate:r=>C.tzDate(new Date(r*1e3),u),series:[{label:"Time",value:(r,o)=>o==null?"--":this.formatSeconds(o,this.timeZone)},...t],cursor:{drag:{x:!0,y:!1},sync:{key:"openc3"},bind:{mouseup:(r,o,d)=>v=>{this.state==="pause"&&r.select.width===0&&this.$emit("start"),d(v)}}},hooks:{setScale:[(r,o)=>{if(o==="x"&&!this.zoomOverview&&this.overview){this.zoomChart=!0;let d=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:d,width:v-d}),this.zoomChart=!1}}],setSelect:[r=>{this.state==="start"&&r.select.width>0&&this.$emit("pause")}],ready:[r=>{r.root.querySelector(".u-over").addEventListener("contextmenu",d=>{d.preventDefault(),this.itemMenu=!1,this.legendMenu=!1,this.editGraphMenuX=d.clientX,this.editGraphMenuY=d.clientY,this.editGraphMenu=!0});let o=r.root.querySelector(".u-legend");o.addEventListener("contextmenu",d=>{d.preventDefault(),this.editGraphMenu=!1,this.legendMenu=!1,this.itemMenuX=d.clientX,this.itemMenuY=d.clientY;let v=d.target.closest(".u-series"),m=Array.prototype.slice.call(o.childNodes[0].childNodes).indexOf(v),g=r.series[m];g.item?(this.selectedItem=g.item,this.itemMenu=!0):(this.itemMenu=!1,this.legendMenuX=d.clientX,this.legendMenuY=d.clientY,this.legendMenu=!0)}),o.querySelector("tbody").appendChild(this.$refs.info)}]}},this.graph=new C(i,this.data,document.getElementById(`chart${this.id}`));const s={...this.getSize("overview"),...this.getScales(),...this.getAxes("overview"),tzDate:r=>C.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 o=r.posToVal(r.select.left,"x"),d=r.posToVal(r.select.left+r.select.width,"x");this.graph.setScale("x",{min:o,max:d}),this.zoomOverview=!1}}]}};this.hideOverview||(this.overview=new C(s,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)},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],i=this.data[0][0];i<t-this.secondsGraphed&&(i=t-this.secondsGraphed),e>i&&(i=e),this.graph.setScale("x",{min:i,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,i,u)=>{let s=i;(this.graphMinY||this.graphMinY===0)&&(s=this.graphMinY);let r=u;return(this.graphMaxY||this.graphMaxY===0)&&(r=this.graphMaxY),C.rangeNum(s,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 i=document.getElementById("openc3-nav-drawer");i&&(e=i.classList.contains("v-navigation-drawer--active")?i.clientWidth:0);let u=0;(this.legendPosition==="right"||this.legendPosition==="left")&&(u=document.getElementsByClassName("u-legend")[0].clientWidth);const s=Math.max(document.documentElement.clientWidth,window.innerWidth||0)-e-u,r=Math.max(document.documentElement.clientHeight,window.innerHeight||0),o=document.getElementsByClassName("v-expansion-panel")[0];let d=100;t==="overview"?this.fullHeight&&!this.hideOverviewData?this.showOverview=!0:this.showOverview=!1:(d=r-o.clientHeight-d-250,this.fullHeight||(d=d/2+10));let v=s-70;return this.fullWidth||(v=v/2-12),{width:this.width||v,height:this.height||d}},getScales:function(){return{scales:{x:{range(t,e,i){return e==null?[1566453600,1566497660]:[e,i]}},y:{range(t,e,i){return e==null?[-100,100]:C.rangeNum(e,i,.1,!0)}}}}},getAxes:function(t){let e="rgba(255, 255, 255, .1)",i="white";return{axes:[{stroke:i,grid:{show:!0,stroke:e,width:2}},{size:80,stroke:i,grid:{show:t!=="overview",stroke:e,width:2},values(u,s){return(s.some(r=>r>=1e7)||s.every(r=>r<.01))&&(s=s.map(r=>r.toExponential(3))),s}}]}},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),i=this.indexes[e];this.items[i-1].color=t,this.selectedItem.color=t,this.graph.root.querySelectorAll(".u-marker")[i].style.borderColor=t},changeLimits:function(t){let e=this.subscriptionKey(this.selectedItem),i=this.indexes[e];this.items[i-1].limits=t,this.selectedItem.limits=t,this.limitsValues=t},linesPlugin:function(){return{hooks:{draw:t=>{const{ctx:e,bbox:i}=t,u=t.valToPos(t.scales.y.min,"y",!0),s=t.valToPos(t.scales.y.max,"y",!0),r=t.valToPos(this.limitsValues[0],"y",!0),o=t.valToPos(this.limitsValues[1],"y",!0),d=t.valToPos(this.limitsValues[2],"y",!0),v=t.valToPos(this.limitsValues[3],"y",!0);if(this.lines.forEach(m=>{t.scales.y.min<=m.yValue&&m.yValue<=t.scales.y.max&&(e.save(),e.beginPath(),e.strokeStyle=m.color,e.lineWidth=2,e.moveTo(i.left,t.valToPos(m.yValue,"y",!0)),e.lineTo(i.left+i.width,t.valToPos(m.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 m=r<s?s:r;e.fillRect(i.left,r,i.width,u-m)}if(t.scales.y.max>this.limitsValues[3]){let m=u<v?u:v;e.fillRect(i.left,s,i.width,m-s)}if(e.fillStyle="rgba(255,255,0,0.15)",t.scales.y.min<this.limitsValues[1]&&t.scales.y.max>this.limitsValues[0]){let m=o<s?s:o;e.fillRect(i.left,m,i.width,r-m)}if(t.scales.y.max>this.limitsValues[2]&&t.scales.y.min<this.limitsValues[3]){let m=u<v?u:v,g=u<d?u:d;e.fillRect(i.left,m,i.width,g-m)}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 m=d<s?s:d,g=u<o?u:o;e.fillRect(i.left,m,i.width,g-m)}}else{const m=t.valToPos(this.limitsValues[4],"y",!0),g=t.valToPos(this.limitsValues[5],"y",!0);if(t.scales.y.min<this.limitsValues[4]&&t.scales.y.max>this.limitsValues[1]){let T=m<s?s:m;e.fillRect(i.left,T,i.width,o-T)}if(t.scales.y.max>this.limitsValues[5]&&t.scales.y.min<this.limitsValues[2]){let T=u<d?u:d,p=u<g?u:g;e.fillRect(i.left,T,i.width,p-T)}e.fillStyle="rgba(0,0,255,0.15)";let V=g<s?s:g,b=u<m?u:m;e.fillRect(i.left,V,i.width,b-V)}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(i=>{i.valueType||(i.valueType=e),i.color||(i.color=this.colors[this.colorIndex]),i.limits||(i.limits=[]),i.limits.length>0&&(this.limitsValues=i.limits),this.colorIndex=(this.colorIndex+1)%this.colors.length,this.items.push(i);const u=this.data.length;this.graph.addSeries(this.createSeriesConfig(i),u),this.overview&&this.overview.addSeries(this.createOverviewSeriesConfig(),u),this.data.splice(u,0,Array(this.data[0].length)),this.indexes[this.subscriptionKey(i)]=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,i)=>this.items[i-1].color,width:2,value:(e,i)=>typeof i=="string"||isNaN(i)?"NaN":i==null?"--":Math.abs(i)<.01&&i!==0||Math.abs(i)>=1e7?i.toExponential(6):i.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 i=this.colors.indexOf(e.color);i!==-1&&(this.colorIndex=(i+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(i=>{i&&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 i=this.indexes[e];this.data[i]=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 i=this.reorderIndexes(e);this.items.splice(i-1,1),this.data.splice(i,1),this.graph.delSeries(i),this.graph.setData(this.data),this.overview&&(this.overview.delSeries(i),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 i in this.indexes)this.indexes[i]>e&&(this.indexes[i]-=1);return e},received:function(t){this.cable.recordPing();for(let e=0;e<t.length;e++){let i=t[e].__time/1e9,u=this.data[0].length;if(u===0||i>this.data[0][u-1]){for(let s=0;s<this.data.length;s++)this.data[s].push(null);this.set_data_at_index(this.data[0].length-1,i,t[e])}else{let s=$(this.data[0],i,this.bs_comparator);if(s>=0){for(;s>=0;)i-=1e-5,s=$(this.data[0],i,this.bs_comparator);let r=-s-1;for(let o=0;o<this.data.length;o++)this.data[o].splice(r,0,null);this.set_data_at_index(r,i,t[e])}else{let r=-s-1;for(let o=0;o<this.data.length;o++)this.data[o].splice(r,0,null);this.set_data_at_index(r,i,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,i){this.data[0][t]=e;for(const[u,s]of Object.entries(i)){if(u==="time")continue;let r=this.indexes[u];if(r){let o=this.data[r];if(s!=null&&s.raw)o[t]=null;else if(typeof s=="string"){if(o[t]=null,!u.includes("__RAW")){for(let d of this.items)if(this.subscriptionKey(d)===u){this.selectedItem=d;break}this.changeItem({valueType:"RAW",reduced:this.selectedItem.reduced,reducedType:this.selectedItem.reducedType})}}else o[t]=s}}},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}}},ge={id:"chart",ref:"chart",class:"pa-1"},fe=["id"],ve=["id"],ye={key:5,ref:"info",class:"u-series"};function we(t,e,i,u,s,r){const o=h("v-btn"),d=h("v-spacer"),v=h("v-toolbar"),m=h("v-expand-transition"),g=h("v-card"),V=h("graph-edit-dialog"),b=h("v-text-field"),T=h("v-row"),p=h("v-textarea"),Y=h("v-dialog"),D=h("v-list-item-title"),_=h("v-list-item"),O=h("v-list"),z=h("v-menu"),q=h("graph-edit-item-dialog"),Z=h("v-list-subheader"),S=h("v-icon"),K=h("v-tooltip");return y(),I("div",{onClick:e[21]||(e[21]=H(n=>t.$emit("click"),["prevent"]))},[a(g,null,{default:l(()=>[E(a(v,{height:"24",class:F(["pl-2 pr-2",i.selectedGraphId===i.id?"active":""])},{default:l(()=>[E(a(o,{class:"mx-2",icon:"mdi-alert",density:"compact",variant:"text","aria-label":"Show Errors",onClick:e[0]||(e[0]=()=>{s.errorDialog=!0})},null,512),[[N,s.errors.length!==0]]),a(o,{icon:"mdi-pencil",variant:"text",density:"compact","data-test":"edit-graph-icon","aria-label":"Edit Graph",onClick:e[1]||(e[1]=()=>{s.editGraph=!0})}),a(d),x("span",null,M(s.title),1),a(d),s.expand?(y(),I(B,{key:0},[r.calcFullSize?(y(),w(o,{key:0,icon:"mdi-arrow-collapse",variant:"text",density:"compact","data-test":"collapse-all",onClick:r.collapseAll},null,8,["onClick"])):(y(),w(o,{key:1,icon:"mdi-arrow-expand",variant:"text",density:"compact","data-test":"expand-all",onClick:r.expandAll},null,8,["onClick"])),s.fullWidth?(y(),w(o,{key:2,icon:"mdi-arrow-collapse-horizontal",variant:"text",density:"compact","data-test":"collapse-width",onClick:r.collapseWidth},null,8,["onClick"])):(y(),w(o,{key:3,icon:"mdi-arrow-expand-horizontal",variant:"text",density:"compact","data-test":"expand-width",onClick:r.expandWidth},null,8,["onClick"])),s.fullHeight?(y(),w(o,{key:4,icon:"mdi-arrow-collapse-vertical",variant:"text",density:"compact","data-test":"collapse-height",onClick:r.collapseHeight},null,8,["onClick"])):(y(),w(o,{key:5,icon:"mdi-arrow-expand-vertical",variant:"text",density:"compact","data-test":"expand-height",onClick:r.expandHeight},null,8,["onClick"]))],64)):k("",!0),s.expand?(y(),w(o,{key:1,icon:"mdi-window-minimize",variant:"text",density:"compact","data-test":"minimize-screen-icon",onClick:r.minMaxTransition},null,8,["onClick"])):(y(),w(o,{key:2,icon:"mdi-window-maximize",variant:"text",density:"compact","data-test":"maximize-screen-icon",onClick:r.minMaxTransition},null,8,["onClick"])),a(o,{icon:"mdi-close-box",variant:"text",density:"compact","data-test":"close-graph-icon",onClick:e[2]||(e[2]=H(n=>t.$emit("close-graph"),["stop"]))})]),_:1},8,["class"]),[[N,!s.hideToolbarData]]),a(m,null,{default:l(()=>[E(x("div",ge,[x("div",{id:`chart${i.id}`},null,8,fe),e[22]||(e[22]=x("div",{id:"betweenCharts"},null,-1)),E(x("div",{id:`overview${i.id}`},null,8,ve),[[N,s.showOverview]])],512),[[N,s.expand]])]),_:1})]),_:1}),s.editGraph?(y(),w(V,{key:0,modelValue:s.editGraph,"onUpdate:modelValue":e[3]||(e[3]=n=>s.editGraph=n),title:s.title,"legend-position":s.legendPosition,items:s.items,"graph-min-y":s.graphMinY,"graph-max-y":s.graphMaxY,lines:s.lines,colors:s.colors,"start-date-time":s.graphStartDateTime,"end-date-time":s.graphEndDateTime,"time-zone":i.timeZone,onRemove:e[4]||(e[4]=n=>r.removeItems([n])),onOk:r.editGraphClose,onCancel:e[5]||(e[5]=n=>s.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"])):k("",!0),a(Y,{modelValue:s.errorDialog,"onUpdate:modelValue":e[7]||(e[7]=n=>s.errorDialog=n),"max-width":"600"},{default:l(()=>[a(v,{height:"24"},{default:l(()=>[a(d),e[23]||(e[23]=x("span",null," Errors ",-1)),a(d)]),_:1}),a(g,{class:"pa-3"},{default:l(()=>[a(T,{dense:""},{default:l(()=>[a(b,{modelValue:s.title,"onUpdate:modelValue":e[6]||(e[6]=n=>s.title=n),readonly:"","hide-details":"",class:"pb-2",label:"Graph Title"},null,8,["modelValue"])]),_:1}),a(T,{class:"my-3"},{default:l(()=>[a(p,{readonly:"",rows:"8",value:r.error},null,8,["value"])]),_:1}),a(T,null,{default:l(()=>[a(o,{block:"",onClick:r.clearErrors},{default:l(()=>e[24]||(e[24]=[f(" Clear ")])),_:1},8,["onClick"])]),_:1})]),_:1})]),_:1},8,["modelValue"]),s.editGraphMenu?(y(),w(z,{key:1,modelValue:s.editGraphMenu,"onUpdate:modelValue":e[9]||(e[9]=n=>s.editGraphMenu=n),target:[s.editGraphMenuX,s.editGraphMenuY],absolute:"","offset-y":""},{default:l(()=>[a(O,null,{default:l(()=>[a(_,{onClick:e[8]||(e[8]=n=>s.editGraph=!0)},{default:l(()=>[a(D,{style:{cursor:"pointer"}},{default:l(()=>[f(" Edit "+M(s.title),1)]),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue","target"])):k("",!0),s.editItem?(y(),w(q,{key:2,modelValue:s.editItem,"onUpdate:modelValue":e[10]||(e[10]=n=>s.editItem=n),colors:s.colors,item:s.selectedItem,onChangeColor:r.changeColor,onChangeLimits:r.changeLimits,onCancel:e[11]||(e[11]=n=>s.editItem=!1),onClose:r.closeEditItem},null,8,["modelValue","colors","item","onChangeColor","onChangeLimits","onClose"])):k("",!0),s.itemMenu?(y(),w(z,{key:3,modelValue:s.itemMenu,"onUpdate:modelValue":e[15]||(e[15]=n=>s.itemMenu=n),target:[s.itemMenuX,s.itemMenuY],absolute:"","offset-y":""},{default:l(()=>[a(O,{nav:"",density:"compact"},{default:l(()=>[a(Z,null,{default:l(()=>[f(M(s.selectedItem.targetName)+" "+M(s.selectedItem.packetName)+" "+M(s.selectedItem.itemName),1)]),_:1}),a(_,{onClick:e[12]||(e[12]=n=>s.editItem=!0)},{prepend:l(()=>[a(S,{icon:"mdi-pencil"})]),default:l(()=>[a(D,null,{default:l(()=>e[25]||(e[25]=[f(" Edit ")])),_:1})]),_:1}),a(_,{onClick:e[13]||(e[13]=n=>r.clearData([s.selectedItem]))},{prepend:l(()=>[a(S,{icon:"mdi-eraser"})]),default:l(()=>[a(D,null,{default:l(()=>e[26]||(e[26]=[f(" Clear ")])),_:1})]),_:1}),a(_,{onClick:e[14]||(e[14]=n=>r.removeItems([s.selectedItem]))},{prepend:l(()=>[a(S,{icon:"mdi-delete"})]),default:l(()=>[a(D,null,{default:l(()=>e[27]||(e[27]=[f(" Delete ")])),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue","target"])):k("",!0),s.legendMenu?(y(),w(z,{key:4,modelValue:s.legendMenu,"onUpdate:modelValue":e[20]||(e[20]=n=>s.legendMenu=n),target:[s.legendMenuX,s.legendMenuY],absolute:"","offset-y":""},{default:l(()=>[a(O,null,{default:l(()=>[a(_,{onClick:e[16]||(e[16]=n=>r.moveLegend("top"))},{default:l(()=>[a(D,{style:{cursor:"pointer"}},{default:l(()=>e[28]||(e[28]=[f(" Legend Top ")])),_:1})]),_:1}),a(_,{onClick:e[17]||(e[17]=n=>r.moveLegend("bottom"))},{default:l(()=>[a(D,{style:{cursor:"pointer"}},{default:l(()=>e[29]||(e[29]=[f(" Legend Bottom ")])),_:1})]),_:1}),a(_,{onClick:e[18]||(e[18]=n=>r.moveLegend("left"))},{default:l(()=>[a(D,{style:{cursor:"pointer"}},{default:l(()=>e[30]||(e[30]=[f(" Legend Left ")])),_:1})]),_:1}),a(_,{onClick:e[19]||(e[19]=n=>r.moveLegend("right"))},{default:l(()=>[a(D,{style:{cursor:"pointer"}},{default:l(()=>e[31]||(e[31]=[f(" Legend RIght ")])),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue","target"])):k("",!0),i.sparkline?k("",!0):(y(),I("div",ye,[a(K,{text:"Click item to toggle, Right click to edit",location:"top"},{activator:l(({props:n})=>[a(S,J(Q(n)),{default:l(()=>e[32]||(e[32]=[f(" mdi-information-variant-circle ")])),_:2},1040)]),_:1})],512))])}const xe=ie("_",L(pe,[["render",we],["__scopeId","data-v-f455219c"]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./Widget-Bn_S-zBo-604800ad1a79f919b9ad.js","./main-6ce07f8d99f937f91520.js"],function(u,_){"use strict";var c,d,m,p,o;return{setters:[n=>{c=n.o},n=>{d=n.l,m=n.y,p=n.c,o=n.z}],execute:function(){function n(e,s,t){const a=d(e,void 0);if(isNaN(s))return m(e,NaN);if(!s)return a;const i=a.getDate(),r=m(e,a.getTime());r.setMonth(a.getMonth()+s+1,0);const h=r.getDate();return i>=h?r:(a.setFullYear(r.getFullYear(),r.getMonth(),i),a)}function l(e,s,t){return o(e,-s,t)}function N(e,s,t){return n(e,-s)}function T(e,s,t){const{years:a=0,months:i=0,weeks:r=0,days:h=0,hours:g=0,minutes:y=0,seconds:k=0}=s,f=N(e,i+a*12),I=l(f,h+r*7,t),S=y+g*60,E=(k+S*60)*1e3;return m(e,+I-E)}const D=u("_",{mixins:[c],data:function(){return{id:Math.floor(Math.random()*1e11),state:"start",items:[{targetName:this.parameters[0],packetName:this.parameters[1],itemName:this.parameters[2],valueType:this.parameters[3]||"CONVERTED",reduced:this.parameters[4]||"DECOM",reducedType:this.parameters[5]||null}],startTime:null,secondsGraphed:3600,pointsSaved:3600,pointsGraphed:3600,size:{height:300,width:400}}},created:function(){this.appliedSettings.forEach(e=>{switch(e[0]){case"ITEM":this.items.push({targetName:e[1],packetName:e[2],itemName:e[3],valueType:e[4]||"CONVERTED",reduced:e[5]||"DECOM",reducedType:e[6]||null});break;case"STARTTIME":let s=p(e[1],"yyyy/MM/dd HH:mm:ss",new Date);this.startTime=s.getTime()*1e6;break;case"HISTORY":let t=parseInt(e[1].slice(0,e[1].length-1)),a=null,i=1;switch(e[1][e[1].length-1]){case"d":a="days",i=3600*24;break;case"h":a="hours",i=3600;break;case"m":a="minutes",i=60;break;case"s":a="seconds";break;default:throw new Error(`Unknown time suffix: ${e[1]}!`)}let r={};r[a]=t,this.startTime=T(new Date,r).getTime()*1e6,t*i>this.secondsGraphed&&(this.secondsGraphed=t*i),t*i>this.pointsSaved&&(this.pointsSaved=t*i),t*i>this.pointsGraphed&&(this.pointsGraphed=t*i);break;case"SECONDSGRAPHED":this.secondsGraphed=parseInt(e[1]);break;case"POINTSSAVED":this.pointsSaved=parseInt(e[1]);break;case"POINTSGRAPHED":this.pointsGraphed=parseInt(e[1]);break;case"SIZE":this.size.width=parseInt(e[1]),this.size.height=parseInt(e[2]);break}}),this.items=this.items.map(e=>{let s=e.itemName;if(e.itemName.includes("[["))e.itemName=e.itemName.replace("[[","[").replace("]]","]"),s=e.itemName;else if(e.itemName.includes("[")){let t=e.itemName.match(/\[(\d+)\]/);this.arrayIndex=parseInt(t[1]),s=e.itemName.replace(t[0],"")}return this.$emit("addItem",`${e.targetName}__${e.packetName}__${s}__${e.valueType}`,!0),e})},destroyed(){this.items.map(e=>this.$emit("deleteItem",`${e.targetName}__${e.packetName}__${e.itemName}__${e.valueType}`))}})}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./Layout-1z8iJV5--18c4292fcaf8fb39baf3.js","vue","./main-6ce07f8d99f937f91520.js","./Widget-Bn_S-zBo-604800ad1a79f919b9ad.js","vue-router","single-spa","vuex","vuetify"],function(d,k){"use strict";var a,i,r,c,o,u,m,g,p,f;return{setters:[e=>{a=e.r},e=>{i=e.createElementBlock,r=e.openBlock,c=e.normalizeStyle,o=e.Fragment,u=e.renderList,m=e.createBlock,g=e.resolveDynamicComponent,p=e.mergeProps},e=>{f=e.d},null,null,null,null,null],execute:function(){const e={mixins:[a],created:function(){if(this.parameters[0]){let n=this.parameters[0];this.widgets.forEach(l=>{l.settings.find(s=>s[0]==="MARGIN"||s[0]==="RAW"&&s[1].toUpperCase().includes("MARGIN"))===void 0&&l.settings.push(["MARGIN",n])})}}};function y(n,l,s,h,w,z){return r(),i("div",{ref:"container",class:"d-flex flex-row",style:c(n.computedStyle)},[(r(!0),i(o,null,u(n.widgets,(t,v)=>(r(),m(g(t.type),p({ref_for:!0},n.listeners,{key:v,target:t.target,parameters:t.parameters,settings:t.settings,"screen-values":n.screenValues,"screen-time-zone":n.screenTimeZone,widgets:t.widgets,name:t.name,line:t.line,"line-number":t.lineNumber}),null,16,["target","parameters","settings","screen-values","screen-time-zone","widgets","name","line","line-number"]))),128))],4)}const B=d("default",f(e,[["render",y]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./LabelWidget-iUIJLhdA-50afbcb5603618940ea4.js","./HorizontallineWidget-DEODVJCk-bc6a43e80f2c4b47468e.js","./HorizontalWidget-v1pfd94Z-cf50b3047ddc30468e5b.js","./Layout-1z8iJV5--18c4292fcaf8fb39baf3.js","vue","./main-6ce07f8d99f937f91520.js","./Widget-Bn_S-zBo-604800ad1a79f919b9ad.js","vue-router","single-spa","vuex","vuetify"],function(m,z){"use strict";var r,l,a,o,n,c,s,d,g,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,d=e.createBlock,g=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,b,W,k,B,V){const h=n("label-widget"),v=n("horizontal-line-widget"),w=n("horizontal-widget");return s(),c("div",null,[t.parameters.length>0?(s(),d(h,{key:0,parameters:t.parameters.slice(0,1),settings:[...t.labelSettings],"widget-index":0},null,8,["parameters","settings"])):g("",!0),i(v,{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 S=m("default",p(e,[["render",f]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./Widget-Bn_S-zBo-604800ad1a79f919b9ad.js","./LabelWidget-iUIJLhdA-50afbcb5603618940ea4.js","./LedWidget-BN8IgAxJ-9691a30e94927446da2a.js","vue","./main-6ce07f8d99f937f91520.js","vue-router","single-spa","vuex","vuetify","./DetailsDialog-BQE0TraI-942c5fe1fc5290a1a532.js"],function(g,x){"use strict";var l,r,a,n,i,o,d,s,u,c;return{setters:[e=>{l=e.o},e=>{r=e.default},e=>{a=e.default},e=>{n=e.resolveComponent,i=e.createElementBlock,o=e.openBlock,d=e.normalizeStyle,s=e.createVNode,u=e.mergeProps},e=>{c=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 p(t,S,b,w,y,m){const f=n("label-widget"),v=n("led-widget");return o(),i("div",{ref:"container",class:"d-flex flex-row",style:d(t.computedStyle)},[s(f,{parameters:m.labelName,settings:[...t.appliedSettings],"widget-index":0},null,8,["parameters","settings"]),s(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 B=g("default",c(e,[["render",p]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./Widget-Bn_S-zBo-604800ad1a79f919b9ad.js","./LabelWidget-iUIJLhdA-50afbcb5603618940ea4.js","./ProgressbarWidget-Cdu5nJC3-ae5f918decd25909caad.js","vue","./main-6ce07f8d99f937f91520.js","vue-router","single-spa","vuex","vuetify"],function(g,y){"use strict";var n,l,a,s,o,i,u,r,c,d;return{setters:[e=>{n=e.o},e=>{l=e.default},e=>{a=e.default},e=>{s=e.resolveComponent,o=e.createElementBlock,i=e.openBlock,u=e.normalizeStyle,r=e.createVNode,c=e.mergeProps},e=>{d=e.d},null,null,null,null],execute:function(){const e={mixins:[n],components:{LabelWidget:l,ProgressbarWidget:a},computed:{labelName(){return[this.parameters[2]+":"]}}};function p(t,S,x,w,B,m){const f=s("label-widget"),v=s("progressbar-widget");return i(),o("div",{ref:"container",class:"d-flex flex-row",style:u(t.computedStyle)},[r(f,{parameters:m.labelName,settings:[...t.appliedSettings],"widget-index":0},null,8,["parameters","settings"]),r(v,c(t.$attrs,{parameters:t.parameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,style:t.computedStyle,"widget-index":1}),null,16,["parameters","settings","screen-values","style"])],4)}const b=g("default",d(e,[["render",p]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./Widget-Bn_S-zBo-604800ad1a79f919b9ad.js","./LabelWidget-iUIJLhdA-50afbcb5603618940ea4.js","./SparklineWidget-DQNsvEj9-967e0db01b37e23eb878.js","vue","./main-6ce07f8d99f937f91520.js","vue-router","single-spa","vuex","vuetify","./GraphWidget-cTVq29cY-8e9eebb599d9153eeae6.js","./Graph-DCihpnT0-6cf1bea3ce9c8656b5b7.js"],function(p,S){"use strict";var r,s,a,l,o,u,n,i,d;return{setters:[e=>{r=e.o},e=>{s=e.default},e=>{a=e.default},e=>{l=e.resolveComponent,o=e.createElementBlock,u=e.openBlock,n=e.normalizeStyle,i=e.createVNode},e=>{d=e.d},null,null,null,null,null,null],execute:function(){const e={mixins:[r],components:{LabelWidget:s,SparklineWidget:a},computed:{labelName(){return[this.parameters[2]+":"]}}};function c(t,b,v,N,j,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)},[i(g,{parameters:m.labelName,settings:[...t.appliedSettings],line:t.line,lineNumber:t.lineNumber,"widget-index":0},null,8,["parameters","settings","line","lineNumber"]),i(f,{parameters:t.parameters,settings:[...t.appliedSettings],style:n(t.computedStyle),"widget-index":1},null,8,["parameters","settings","style"])],4)}const y=p("default",d(e,[["render",c]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./LabelvalueWidget-oiW-JDw6-251dd3b42812012b92d2.js","./LimitsbarWidget-BxxoKTjp-d8242d9d65a9592bcbc5.js","./Widget-Bn_S-zBo-604800ad1a79f919b9ad.js","vue","./main-6ce07f8d99f937f91520.js","./LabelWidget-iUIJLhdA-50afbcb5603618940ea4.js","vue-router","single-spa","vuex","vuetify","./ValueWidget-3jNtnh5i-74d2990510367ae00673.js","./DetailsDialog-BQE0TraI-942c5fe1fc5290a1a532.js","./VWidget-j2GIGGSX-b209e54885cf666cf826.js","./BarColumn-Bgz2YJ59-4353a43b097fda230751.js"],function(m,f){"use strict";var r,i,a,s,u,o,c,l,n,g;return{setters:[e=>{r=e.default},e=>{i=e.default},e=>{a=e.o},e=>{s=e.resolveComponent,u=e.createElementBlock,o=e.openBlock,c=e.normalizeStyle,l=e.createVNode,n=e.mergeProps},e=>{g=e.d},null,null,null,null,null,null,null,null,null],execute:function(){const e={mixins:[a],components:{LabelvalueWidget:r,LimitsbarWidget:i},computed:{labelValueSettings(){return[...this.appliedSettings.filter(t=>t[0]==="__SCREEN_ID__"),...this.settings.filter(t=>parseInt(t[0])===0||parseInt(t[0])===1)]}}};function d(t,S,B,W,x,p){const v=s("labelvalue-widget"),b=s("limitsbar-widget");return o(),u("div",{ref:"container",class:"d-flex flex-row",style:c(t.computedStyle)},[l(v,n(t.$attrs,{parameters:t.parameters,settings:p.labelValueSettings,"screen-values":t.screenValues,"screen-time-zone":t.screenTimeZone}),null,16,["parameters","settings","screen-values","screen-time-zone"]),l(b,n(t.$attrs,{parameters:t.parameters,settings:[...t.appliedSettings],"screen-values":t.screenValues,"widget-index":2,line:t.line,lineNumber:t.lineNumber}),null,16,["parameters","settings","screen-values","line","lineNumber"])],4)}const j=m("default",g(e,[["render",d]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./LabelWidget-iUIJLhdA-50afbcb5603618940ea4.js","./ValueWidget-3jNtnh5i-74d2990510367ae00673.js","./LimitscolumnWidget-CdBh2mJu-c928ad44fcb1a3114294.js","./Widget-Bn_S-zBo-604800ad1a79f919b9ad.js","vue","./main-6ce07f8d99f937f91520.js","vue-router","single-spa","vuex","vuetify","./DetailsDialog-BQE0TraI-942c5fe1fc5290a1a532.js","./VWidget-j2GIGGSX-b209e54885cf666cf826.js","./BarColumn-Bgz2YJ59-4353a43b097fda230751.js"],function(g,j){"use strict";var i,r,a,u,n,o,m,c,s,l,d;return{setters:[e=>{i=e.default},e=>{r=e.default},e=>{a=e.default},e=>{u=e.o},e=>{n=e.resolveComponent,o=e.createElementBlock,m=e.openBlock,c=e.normalizeStyle,s=e.createVNode,l=e.mergeProps},e=>{d=e.d},null,null,null,null,null,null,null],execute:function(){const e={mixins:[u],components:{LabelWidget:i,ValueWidget:r,LimitscolumnWidget:a}};function p(t,W,w,b,V,x){const v=n("label-widget"),S=n("limitscolumn-widget"),f=n("value-widget");return m(),o("div",{ref:"container",style:c(t.computedStyle)},[s(v,{parameters:[t.parameters[2]],settings:[...t.appliedSettings],"widget-index":0},null,8,["parameters","settings"]),s(S,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 B=g("default",d(e,[["render",p]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./main-6ce07f8d99f937f91520.js","vue","./DetailsDialog-BQE0TraI-942c5fe1fc5290a1a532.js","single-spa","./Widget-Bn_S-zBo-604800ad1a79f919b9ad.js","vue-router","vuex","vuetify"],function(S,T){"use strict";var d,n,h,c,l,i,p,u,v,g,w,x,f,C,I,_;return{setters:[e=>{d=e.d},e=>{n=e.resolveComponent,h=e.createElementBlock,c=e.openBlock,l=e.createVNode,i=e.withCtx,p=e.createElementVNode,u=e.toDisplayString,v=e.mergeProps,g=e.Fragment,w=e.renderList,x=e.createBlock,f=e.withModifiers,C=e.createTextVNode},e=>{I=e.P},null,e=>{_=e.o},null,null,null],execute:function(){const e={components:{DetailsDialog:I},mixins:[_],data(){return{valueId:null,colors:{TRUE:"openc3-green",FALSE:"openc3-red"},viewDetails:!1,contextMenuShown:!1,x:0,y:0,contextMenuOptions:[{title:"Details",action:()=>{this.contextMenuShown=!1,this.viewDetails=!0}},{title:"Graph",action:()=>{window.open("/tools/tlmgrapher/"+encodeURIComponent(this.parameters[0])+"/"+encodeURIComponent(this.parameters[1])+"/"+encodeURIComponent(this.parameters[2]),"_blank")}}]}},computed:{width(){return this.parameters[4]?parseInt(this.parameters[4]):20},height(){return this.parameters[5]?parseInt(this.parameters[5]):20},cssProps(){let t=this.screenValues[this.valueId][0],s=this.colors[t];return s||(s=this.colors.ANY),s||(s="openc3-black"),{"--color":s}},fullName(){return this.parameters[0]+" "+this.parameters[1]+" "+this.parameters[2]},getClass(){let t="ledwidget mt-2";return this.screenValues[this.valueId][1]==="STALE"&&(t+=" stale"),t}},created(){this.appliedSettings.forEach(t=>{switch(t[0]){case"LED_COLOR":this.colors[t[1]]=t[2];break}}),this.appliedSettings.push(["WIDTH",this.width]),this.appliedSettings.push(["HEIGHT",this.height]),this.parameters[3]||(this.parameters[3]="CONVERTED"),this.valueId=`${this.parameters[0]}__${this.parameters[1]}__${this.parameters[2]}__${this.parameters[3]}`,this.$emit("addItem",this.valueId)},unmounted(){this.$emit("deleteItem",this.valueId)},methods:{showContextMenu(t){t.preventDefault(),this.contextMenuShown=!1,this.x=t.clientX,this.y=t.clientY,this.$nextTick(()=>{this.contextMenuShown=!0})}}};function k(t,s,$,L,r,o){const D=n("v-tooltip"),V=n("v-list-item-title"),E=n("v-list-item"),y=n("v-list"),M=n("v-menu"),N=n("details-dialog");return c(),h("div",null,[l(D,{"open-delay":600,location:"top"},{activator:i(({props:a})=>[p("div",v({class:o.getClass,style:[o.cssProps,t.computedStyle]},a,{onContextmenu:s[0]||(s[0]=(...m)=>o.showContextMenu&&o.showContextMenu(...m))}),null,16)]),default:i(()=>[p("span",null,u(o.fullName),1)]),_:1}),l(M,{modelValue:r.contextMenuShown,"onUpdate:modelValue":s[1]||(s[1]=a=>r.contextMenuShown=a),target:[r.x,r.y],style:{"z-index":"3000"}},{default:i(()=>[l(y,null,{default:i(()=>[(c(!0),h(g,null,w(r.contextMenuOptions,(a,m)=>(c(),x(E,{key:m,onClick:f(a.action,["stop"])},{default:i(()=>[l(V,null,{default:i(()=>[C(u(a.title),1)]),_:2},1024)]),_:2},1032,["onClick"]))),128))]),_:1})]),_:1},8,["modelValue","target"]),l(N,{modelValue:r.viewDetails,"onUpdate:modelValue":s[2]||(s[2]=a=>r.viewDetails=a),"target-name":t.parameters[0],"packet-name":t.parameters[1],"item-name":t.parameters[2]},null,8,["modelValue","target-name","packet-name","item-name"])])}const B=S("default",d(e,[["render",k],["__scopeId","data-v-cbb5a1e2"]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./GraphWidget-cTVq29cY-8e9eebb599d9153eeae6.js","./main-6ce07f8d99f937f91520.js","vue","./Graph-DCihpnT0-6cf1bea3ce9c8656b5b7.js","single-spa","./Widget-Bn_S-zBo-604800ad1a79f919b9ad.js","vue-router","vuex","vuetify"],function(p,u){"use strict";var s,n,r,a,o,d,l;return{setters:[t=>{s=t._},t=>{n=t.d},t=>{r=t.resolveComponent,a=t.createBlock,o=t.openBlock,d=t.normalizeStyle},t=>{l=t._},null,null,null,null,null],execute:function(){const t={components:{Graph:l},mixins:[s]};function h(e,i,g,v,f,y){const c=r("graph");return o(),a(c,{ref:"graph"+e.id,id:e.id,state:e.state,"selected-graph-id":e.id,startTime:e.startTime,"seconds-graphed":e.secondsGraphed,"points-saved":e.pointsSaved,"points-graphed":e.pointsGraphed,"initial-items":e.items,height:e.size.height,width:e.size.width,style: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 m=p("default",n(t,[["render",h]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./Layout-1z8iJV5--18c4292fcaf8fb39baf3.js","./main-6ce07f8d99f937f91520.js","vue","./Widget-Bn_S-zBo-604800ad1a79f919b9ad.js","vue-router","single-spa","vuex","vuetify"],function(f,b){"use strict";var c,o,m,r,n,g,l,a,p,d,y;return{setters:[e=>{c=e.r},e=>{o=e.d,m=e.O},e=>{r=e.createElementBlock,n=e.openBlock,g=e.normalizeStyle,l=e.Fragment,a=e.renderList,p=e.createBlock,d=e.resolveDynamicComponent,y=e.mergeProps},null,null,null,null,null],execute:function(){const e={mixins:[c],computed:{columns(){return parseInt(this.parameters[0])},widgetChunks(){return m.chunk(this.widgets,this.columns)}},created:function(){if(this.parameters[1]){let s=this.parameters[1];this.widgets.forEach(u=>{u.settings.find(i=>i[0]==="MARGIN"||i[0]==="RAW"&&i[1].toUpperCase().includes("MARGIN"))===void 0&&u.settings.push(["MARGIN",s])})}}};function h(s,u,i,C,S,k){return n(),r("table",{style:g(s.computedStyle),role:"presentation"},[(n(!0),r(l,null,a(k.widgetChunks,(v,B)=>(n(),r("tr",{key:"r"+B},[(n(!0),r(l,null,a(v,(t,w)=>(n(),r("td",{key:"c"+w},[(n(),p(d(t.type),y({ref_for:!0},s.listeners,{target:t.target,parameters:t.parameters,settings:t.settings,"screen-values":s.screenValues,"screen-time-zone":s.screenTimeZone,widgets:t.widgets,name:t.name,line:t.line,"line-number":t.lineNumber}),null,16,["target","parameters","settings","screen-values","screen-time-zone","widgets","name","line","line-number"]))]))),128))]))),128))],4)}const z=f("default",o(e,[["render",h]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./main-6ce07f8d99f937f91520.js","vue","single-spa","./OutputDialog-CcSp-Uqo-fbaabfae3953d9e070fa.js","vue-router","vuex","vuetify"],function(F,Q){"use strict";var T,m,E,A,s,f,u,l,o,x,d,w,y,C,$,N,j,B,U;return{setters:[i=>{T=i.d,m=i.F,E=i.p,A=i.l},i=>{s=i.resolveComponent,f=i.createBlock,u=i.openBlock,l=i.withCtx,o=i.createVNode,x=i.createElementVNode,d=i.toDisplayString,w=i.createTextVNode,y=i.createElementBlock,C=i.createCommentVNode,$=i.Fragment,N=i.renderList,j=i.withDirectives,B=i.vShow},null,i=>{U=i.E},null,null,null],execute:function(){const i={props:{modelValue:Boolean,text:String,title:String},computed:{dialogText:function(){return this.text},show:{get(){return this.modelValue},set(t){this.$emit("update:modelValue",t)}}},methods:{download:function(){const t=new Blob([this.dialogText],{type:"text/plain"}),e=document.createElement("a");e.href=URL.createObjectURL(t),e.setAttribute("download",`${this.title}__error.txt`),e.click()}}},I={class:"mx-2"},L={class:"pa-2"};function J(t,e,c,h,a,n){const g=s("v-spacer"),k=s("v-btn"),S=s("v-toolbar"),p=s("v-textarea"),_=s("v-card-text"),V=s("v-card-actions"),b=s("v-card"),D=s("v-dialog");return u(),f(D,{modelValue:n.show,"onUpdate:modelValue":e[2]||(e[2]=v=>n.show=v),width:"600"},{default:l(()=>[o(b,null,{default:l(()=>[o(S,{height:"24"},{default:l(()=>[o(g),x("span",null,d(c.title),1),o(g),x("div",I,[o(k,{icon:"mdi-download",variant:"text",density:"compact","data-test":"downloadIcon",onClick:n.download},null,8,["onClick"])])]),_:1}),x("div",L,[o(_,null,{default:l(()=>[o(p,{modelValue:n.dialogText,"onUpdate:modelValue":e[0]||(e[0]=v=>n.dialogText=v),readonly:"",rows:"15","data-test":"dialogText"},null,8,["modelValue"])]),_:1})]),o(V,{class:"px-2"},{default:l(()=>[o(g),o(k,{variant:"flat",onClick:e[1]||(e[1]=v=>n.show=!n.show)},{default:l(()=>e[3]||(e[3]=[w(" Ok ")])),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue"])}const H={components:{OutputDialog:U,TextBoxDialog:T(i,[["render",J]])},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(){m.get("/openc3-api/microservice_status/all").then(t=>{this.microservice_status=t.data}),m.get("/openc3-api/microservices/all").then(t=>{let e=[];for(const[c,h]of Object.entries(t.data))e.push(h);e.sort((c,h)=>c.name.localeCompare(h.name)),this.microservices=e})},startMicroservice:function(t){this.$dialog.confirm(`Are you sure you want to restart microservice: ${t}?`,{okText:"Start",cancelText:"Cancel"}).then(e=>{m.post(`/openc3-api/microservices/${t}/start`).then(c=>{this.alert=`Started ${t}`,this.alertType="success",this.showAlert=!0,setTimeout(()=>{this.showAlert=!1},5e3)}).then(()=>{this.update()})})},stopMicroservice:function(t){this.$dialog.confirm(`Are you sure you want to stop microservice: ${t}?`,{okText:"Stop",cancelText:"Cancel"}).then(e=>{m.post(`/openc3-api/microservices/${t}/stop`).then(c=>{this.alert=`Stopped ${t}`,this.alertType="success",this.showAlert=!0,setTimeout(()=>{this.showAlert=!1},5e3)}).then(()=>{this.update()})})},showMicroservice:function(t){m.get(`/openc3-api/microservices/${t}`).then(e=>{this.microservice_id=t,this.dialogTitle=t,this.jsonContent=JSON.stringify(e.data,null," "),this.showDialog=!0})},showMicroserviceError:function(t){this.dialogTitle=t;const e=this.microservice_status[t].error;this.jsonContent=JSON.stringify(e,null," "),this.showError=!0},formatDate(t){return E(A(parseInt(t)/1e6),"yyyy-MM-dd HH:mm:ss.SSS")},dialogCallback:function(t){if(this.showDialog=!1,t!==null){let e=JSON.parse(t),c="put",h=`/openc3-api/microservices/${this.microservice_id}`;e.name!==this.microservice_id&&(c="post",h="/openc3-api/microservices"),m[c](h,{data:{json:t}}).then(a=>{this.alert="Modified Microservice",this.alertType="success",this.showAlert=!0,setTimeout(()=>{this.showAlert=!1},5e3),this.update()})}}}};function R(t,e,c,h,a,n){const g=s("v-alert"),k=s("v-list-item-title"),S=s("v-list-item-subtitle"),p=s("v-btn"),_=s("v-list-item-icon"),V=s("v-list-item"),b=s("v-divider"),D=s("v-list"),v=s("output-dialog"),q=s("text-box-dialog");return u(),y("div",null,[o(g,{modelValue:a.showAlert,"onUpdate:modelValue":e[0]||(e[0]=r=>a.showAlert=r),dismissible:"",transition:"scale-transition",type:a.alertType},{default:l(()=>[w(d(a.alert),1)]),_:1},8,["modelValue","type"]),o(D,{class:"list","data-test":"microserviceList"},{default:l(()=>[(u(!0),y($,null,N(a.microservices,r=>(u(),y("div",{key:r},[o(V,null,{append:l(()=>{var O;return[j(o(p,{icon:"mdi-alert",variant:"text",onClick:M=>n.showMicroserviceError(r.name)},null,8,["onClick"]),[[B,(O=a.microservice_status[r.name])==null?void 0:O.error]]),o(_,null,{default:l(()=>[o(p,{"aria-label":"Start Microservice",icon:"mdi-play",variant:"text",onClick:M=>n.startMicroservice(r.name)},null,8,["onClick"])]),_:2},1024),o(_,null,{default:l(()=>[o(p,{"aria-label":"Stop Microservice",icon:"mdi-stop",variant:"text",onClick:M=>n.stopMicroservice(r.name)},null,8,["onClick"])]),_:2},1024),o(_,null,{default:l(()=>[o(p,{"aria-label":"Show Microservice Details",icon:"mdi-eye",variant:"text",onClick:M=>n.showMicroservice(r.name)},null,8,["onClick"])]),_:2},1024)]}),default:l(()=>[o(k,null,{default:l(()=>[w(d(r.name),1)]),_:2},1024),a.microservice_status[r.name]?(u(),f(S,{key:0},{default:l(()=>[w(" Updated: "+d(n.formatDate(a.microservice_status[r.name].updated_at))+", State: "+d(a.microservice_status[r.name].state)+", Enabled: "+d(r.enabled===!1?"False":"True")+", Count: "+d(a.microservice_status[r.name].count),1)]),_:2},1024)):C("",!0)]),_:2},1024),o(b)]))),128))]),_:1}),a.showDialog?(u(),f(v,{key:0,modelValue:a.showDialog,"onUpdate:modelValue":e[1]||(e[1]=r=>a.showDialog=r),content:a.jsonContent,type:"Microservice",name:a.dialogTitle,onSubmit:n.dialogCallback},null,8,["modelValue","content","name","onSubmit"])):C("",!0),a.showError?(u(),f(q,{key:1,modelValue:a.showError,"onUpdate:modelValue":e[2]||(e[2]=r=>a.showError=r),text:a.jsonContent,title:a.dialogTitle},null,8,["modelValue","text","title"])):C("",!0)])}const G=F("default",T(H,[["render",R],["__scopeId","data-v-61eec86a"]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./main-6ce07f8d99f937f91520.js","vue","single-spa","./SimpleTextDialog-BulqUrdH-76731d52443549a011a7.js","vue-router","vuex","vuetify"],function(L,q){"use strict";var w,D,f,b,O,i,u,c,e,V,$,t,h,d,y,v,S,m,T,F,N;return{setters:[a=>{w=a.d,D=a.K,f=a.F,b=a.p,O=a.l},a=>{i=a.resolveComponent,u=a.createElementBlock,c=a.openBlock,e=a.createVNode,V=a.createBlock,$=a.createCommentVNode,t=a.withCtx,h=a.createElementVNode,d=a.createTextVNode,y=a.Fragment,v=a.renderList,S=a.createSlots,m=a.toDisplayString,T=a.normalizeClass,F=a.mergeProps},null,a=>{N=a.E},null,null,null],execute:function(){const a={components:{DownloadDialog:D,SimpleTextDialog:N},data(){return{showDownloadDialog:!1,showProcessOutput:!1,processOutput:"",files:[],loadingPackage:!1,progress:0,gems:[],python:[],processes:{}}},mounted(){this.update(),this.updateProcesses()},methods:{showOutput:function(o){this.processOutput=o.output,this.showProcessOutput=!0},update(){f.get("/openc3-api/packages").then(o=>{this.gems=o.data.ruby,this.python=o.data.python})},updateProcesses:function(){f.get("/openc3-api/process_status/package_?substr=true").then(o=>{this.processes=o.data,Object.keys(this.processes).length>0&&setTimeout(()=>{this.updateProcesses(),this.update()},2500)})},formatDate(o){return b(O(parseInt(o)/1e6),"yyyy-MM-dd HH:mm:ss.SSS")},selectFile(){this.progress=0,this.$refs.fileInput.click()},fileChange(o){const s=o.target.files;if(s.length>0){this.loadingPackage=!0;let B=this;const E=[...s].map(n=>{const r=new FormData;return r.append("package",n,n.name),f.post("/openc3-api/packages",{data:r,headers:{"Content-Type":"multipart/form-data"},onUploadProgress:function(g){let p=Math.round(g.loaded*100/g.total);B.progress=p}})});Promise.all(E).then(n=>{this.$notify.normal({body:`Uploaded ${n.length} package${n.length>1?"s":""}`}),this.loadingPackage=!1,this.files=[],setTimeout(()=>{this.updateProcesses()},2500)}).catch(n=>{this.loadingPackage=!1})}},deletePackage(o){this.$dialog.confirm(`Are you sure you want to remove: ${o}`,{okText:"Delete",cancelText:"Cancel"}).then(s=>f.delete(`/openc3-api/packages/${o}`)).then(s=>{this.$notify.normal({body:`Removed package ${o}`}),setTimeout(()=>{this.updateProcesses()},2500)}).catch(s=>{this.$notify.serious({body:`Failed to remove package ${o}`})})}}},j=["textContent"],H=["textContent"];function R(o,s,B,E,n,r){const g=i("v-btn"),p=i("v-col"),z=i("rux-progress"),C=i("v-row"),_=i("v-list-item-title"),A=i("v-list-item-subtitle"),G=i("v-tooltip"),x=i("v-list-item"),P=i("v-divider"),U=i("v-list"),M=i("download-dialog"),K=i("simple-text-dialog");return c(),u("div",null,[e(C,{"no-gutters":"",align:"center",class:"px-2"},{default:t(()=>[e(p,{class:"pa-2 mt-2"},{default:t(()=>[e(g,{onClick:r.selectFile},{default:t(()=>s[3]||(s[3]=[d("Install Package")])),_:1},8,["onClick"]),h("input",{ref:"fileInput",style:{display:"none"},type:"file",onChange:s[0]||(s[0]=(...l)=>r.fileChange&&r.fileChange(...l))},null,544)]),_:1}),e(p,{class:"ml-4 mr-2",cols:"4"},{default:t(()=>[e(z,{value:n.progress},null,8,["value"])]),_:1})]),_:1}),Object.keys(n.processes).length>0?(c(),V(U,{key:0,class:"list","data-test":"process-list"},{default:t(()=>[e(C,{"no-gutters":"",class:"px-4"},{default:t(()=>[e(p,{class:"text-h6"},{default:t(()=>s[4]||(s[4]=[d("Process List")])),_:1}),e(p,{align:"right"},{default:t(()=>s[5]||(s[5]=[h("div",null,"Showing last 10 min of activity",-1)])),_:1})]),_:1}),(c(!0),u(y,null,v(n.processes,l=>(c(),u("div",{key:l.name},[e(x,null,S({default:t(()=>[e(_,null,{default:t(()=>[h("span",{class:T(l.state.toLowerCase()),textContent:m(`Processing ${l.process_type}: ${l.detail} - ${l.state}`)},null,10,j)]),_:2},1024),e(A,null,{default:t(()=>[h("span",{textContent:m(" Updated At: "+r.formatDate(l.updated_at))},null,8,H)]),_:2},1024)]),_:2},[l.state!=="Running"?{name:"append",fn:t(()=>[e(G,{"open-delay":600,location:"top"},{activator:t(({props:k})=>[e(g,F({ref_for:!0},k,{icon:"mdi-eye",variant:"text","aria-label":"Show Output",onClick:I=>r.showOutput(l)}),null,16,["onClick"])]),default:t(()=>[s[6]||(s[6]=h("span",null,"Show Output",-1))]),_:2},1024)]),key:"0"}:void 0]),1024),e(P)]))),128))]),_:1})):$("",!0),e(U,{class:"list","data-test":"packageList"},{default:t(()=>[e(C,{class:"px-4"},{default:t(()=>[e(p,{class:"text-h6"},{default:t(()=>s[7]||(s[7]=[d("Ruby Gems")])),_:1})]),_:1}),(c(!0),u(y,null,v(n.gems,(l,k)=>(c(),u("div",{key:k},[e(x,null,{append:t(()=>[e(g,{icon:"mdi-delete",variant:"text","aria-label":"Delete Ruby Gem",onClick:I=>r.deletePackage(l)},null,8,["onClick"])]),default:t(()=>[e(_,null,{default:t(()=>[d(m(l),1)]),_:2},1024)]),_:2},1024),e(P)]))),128)),e(C,{class:"px-4"},{default:t(()=>[e(p,{class:"text-h6"},{default:t(()=>s[8]||(s[8]=[d("Python Packages")])),_:1})]),_:1}),(c(!0),u(y,null,v(n.python,(l,k)=>(c(),u("div",{key:k},[e(x,null,{append:t(()=>[e(g,{icon:"mdi-delete",variant:"text","aria-label":"Delete Python Package",onClick:I=>r.deletePackage(l)},null,8,["onClick"])]),default:t(()=>[e(_,null,{default:t(()=>[d(m(l),1)]),_:2},1024)]),_:2},1024),e(P)]))),128))]),_:1}),e(M,{modelValue:n.showDownloadDialog,"onUpdate:modelValue":s[1]||(s[1]=l=>n.showDownloadDialog=l)},null,8,["modelValue"]),e(K,{modelValue:n.showProcessOutput,"onUpdate:modelValue":s[2]||(s[2]=l=>n.showProcessOutput=l),title:"Process Output",text:n.processOutput},null,8,["modelValue","text"])])}const Z=L("default",w(a,[["render",R],["__scopeId","data-v-e97741ba"]]))}}});
|
@@ -1,5 +0,0 @@
|
|
1
|
-
System.register(["./main-6ce07f8d99f937f91520.js","vue","single-spa","./SimpleTextDialog-BulqUrdH-76731d52443549a011a7.js","vue-router","vuex","vuetify"],function(H,ie){"use strict";var V,O,A,g,U,N,p,h,c,n,P,x,a,m,w,v,y,T,S,C,M,I;return{setters:[u=>{V=u.d,O=u.J,A=u.Z,g=u.F,U=u.p,N=u.l},u=>{p=u.resolveComponent,h=u.createElementBlock,c=u.openBlock,n=u.createVNode,P=u.createBlock,x=u.createCommentVNode,a=u.withCtx,m=u.createElementVNode,w=u.createTextVNode,v=u.toDisplayString,y=u.Fragment,T=u.renderList,S=u.normalizeClass,C=u.mergeProps,M=u.withModifiers},null,u=>{I=u.E},null,null,null],execute:function(){const u={components:{PluginDialog:A,ModifiedPluginDialog:O,SimpleTextDialog:I},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-cosmos-tool-systemhealth","openc3-enterprise-tool-base","openc3-tool-base"]}},computed:{shownPlugins(){let t=[];for(let e of this.plugins){let s=e.split("__")[0].split("-");s=s.slice(0,-1);let d=s.join("-");(!this.defaultPlugins.includes(d)||this.showDefaultTools)&&t.push(e)}return t},pluginTargets(){return t=>{let e=[];for(const s in this.targets)this.targets[s].plugin===t&&e.push(this.targets[s]);return e}},isModified(){return t=>{let e=!1;for(const s in this.targets)if(this.targets[s].plugin===t&&this.targets[s].modified===!0){e=!0;break}return e}}},watch:{showPluginDialog:function(t,e){t===!1&&(this.file=null,this.$refs.fileInput.value=null)}},mounted(){this.update(),this.updateProcesses()},methods:{showOutput:function(t){this.processOutput=t.output,this.showProcessOutput=!0},update:function(){g.get("/openc3-api/plugins").then(t=>{this.plugins=t.data}),g.get("/openc3-api/targets_modified").then(t=>{this.targets=t.data})},updateProcesses:function(){g.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 U(N(parseInt(t)/1e6),"yyyy-MM-dd HH:mm:ss.SSS")},upload:function(t=null){const e=t?"put":"post",s=t?`/openc3-api/plugins/${t}`:"/openc3-api/plugins",d=new FormData;d.append("plugin",this.file,this.file.name);let i=this;g[e](s,{data:d,headers:{"Content-Type":"multipart/form-data"},onUploadProgress:function(l){let r=Math.round(l.loaded*100/l.total);i.progress=r}}).then(l=>{this.progress=100,this.alert="Uploaded file",this.alertType="success",this.showAlert=!0,setTimeout(()=>{this.showAlert=!1},5e3),this.update();let r=null;l.data.existing_plugin_txt_lines!==void 0&&(r=l.data.existing_plugin_txt_lines.join(`
|
2
|
-
`));let D=l.data.plugin_txt_lines.join(`
|
3
|
-
`);this.pluginName=l.data.name,this.variables=l.data.variables,this.pluginTxt=D,this.existingPluginTxt=r,this.showPluginDialog=!0,this.file=void 0}).catch(l=>{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 g.post(`/openc3-api/targets/${e.name}/delete_modified`);this.pluginDelete?this.deletePlugin(this.currentPlugin):this.pluginInstall()},pluginInstall:function(){g.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){g.post(`/openc3-api/targets/${t}/download`).then(e=>{const s=window.atob(e.data.contents),d=new Uint8Array(s.length);for(let r=0;r<s.length;++r)d[r]=s.charCodeAt(r);const i=new Blob([d],{type:"application/zip"}),l=document.createElement("a");l.href=URL.createObjectURL(i),l.setAttribute("download",e.data.filename),l.click()})},downloadPlugin:function(t){g.post(`/openc3-api/packages/${t}/download`).then(e=>{const s=window.atob(e.data.contents),d=new Uint8Array(s.length);for(let r=0;r<s.length;++r)d[r]=s.charCodeAt(r);const i=new Blob([d],{type:"application/zip"}),l=document.createElement("a");l.href=URL.createObjectURL(i),l.setAttribute("download",e.data.filename),l.click()})},editPlugin:function(t){g.get(`/openc3-api/plugins/${t}`).then(e=>{let s=null;e.data.existing_plugin_txt_lines!==void 0&&(s=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=s,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,g.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(s=>{});else{let s=this.file.name.split("-"),d=s.findIndex(r=>r.includes(".")),i=s.slice(0,d).join("-");s=this.currentPlugin.split("-"),d=s.findIndex(r=>r.includes("."));let l=s.slice(0,d).join("-");i!==l?this.$dialog.confirm(`The new gem base name ${i} doesn't match the existing ${l}. 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"],Z={key:0},q=["onClick"],W={key:1};function X(t,e,s,d,i,l){const r=p("v-btn"),D=p("v-icon"),k=p("v-col"),Y=p("rux-progress"),b=p("v-row"),G=p("v-checkbox"),$=p("v-divider"),K=p("v-alert"),j=p("v-list-item-title"),B=p("v-list-item-subtitle"),Q=p("v-progress-circular"),L=p("v-tooltip"),E=p("v-list-item"),F=p("v-list"),ee=p("plugin-dialog"),te=p("modified-plugin-dialog"),le=p("simple-text-dialog");return c(),h("div",null,[n(b,{"no-gutters":"",align:"center",class:"px-2"},{default:a(()=>[n(k,{class:"pa-2 mt-2"},{default:a(()=>[n(r,{onClick:l.selectFile},{default:a(()=>e[6]||(e[6]=[w("Install New Plugin")])),_:1},8,["onClick"]),m("input",{ref:"fileInput",style:{display:"none"},type:"file",onChange:e[0]||(e[0]=(...o)=>l.fileChange&&l.fileChange(...o))},null,544),e[8]||(e[8]=w(" Note: Use ")),n(D,null,{default:a(()=>e[7]||(e[7]=[w("mdi-update")])),_:1}),e[9]||(e[9]=w(" to upgrade existing plugins "))]),_:1}),n(k,{class:"ml-4 mr-2",cols:"4"},{default:a(()=>[n(Y,{value:i.progress},null,8,["value"])]),_:1})]),_:1}),n(b,{"no-gutters":"",class:"px-2"},{default:a(()=>[n(k,null,{default:a(()=>[n(G,{modelValue:i.showDefaultTools,"onUpdate:modelValue":e[1]||(e[1]=o=>i.showDefaultTools=o),label:"Show Default Tools",class:"mt-0","data-test":"show-default-tools"},null,8,["modelValue"])]),_:1}),n(k,{align:"right",class:"mr-2"},{default:a(()=>e[10]||(e[10]=[m("div",null,"* indicates a modified plugin",-1),m("div",null,"Click target link to download modifications",-1)])),_:1})]),_:1}),n($),n(K,{modelValue:i.showAlert,"onUpdate:modelValue":e[2]||(e[2]=o=>i.showAlert=o),closable:"",type:i.alertType,"data-test":"plugin-alert"},{default:a(()=>[w(v(i.alert),1)]),_:1},8,["modelValue","type"]),Object.keys(i.processes).length>0?(c(),P(F,{key:0,class:"list","data-test":"process-list"},{default:a(()=>[n(b,{"no-gutters":"",class:"px-4"},{default:a(()=>[n(k,{class:"text-h6"},{default:a(()=>e[11]||(e[11]=[w("Process List")])),_:1}),n(k,{align:"right"},{default:a(()=>e[12]||(e[12]=[m("div",null,"Showing last 10 min of activity",-1)])),_:1})]),_:1}),(c(!0),h(y,null,T(i.processes,o=>(c(),h("div",{key:o.name},[n(E,null,{append:a(()=>[o.state==="Running"?(c(),P(Q,{key:0,indeterminate:"",color:"primary"})):(c(),P(L,{key:1,"open-delay":600,location:"top"},{activator:a(({props:_})=>[n(r,C({ref_for:!0},_,{icon:"mdi-eye",variant:"text","aria-label":"Show Output","data-test":"show-output",onClick:f=>l.showOutput(o)}),null,16,["onClick"])]),default:a(()=>[e[13]||(e[13]=m("span",null,"Show Output",-1))]),_:2},1024))]),default:a(()=>[n(j,null,{default:a(()=>[m("span",{class:S(o.state.toLowerCase()),textContent:v(`Processing ${o.process_type}: ${o.detail} - ${o.state}`)},null,10,z)]),_:2},1024),n(B,null,{default:a(()=>[m("span",{textContent:v(" Updated At: "+l.formatDate(o.updated_at))},null,8,J)]),_:2},1024)]),_:2},1024),n($)]))),128))]),_:1})):x("",!0),n(F,{class:"list","data-test":"plugin-list"},{default:a(()=>[n(b,{class:"px-4"},{default:a(()=>[n(k,{class:"text-h6"},{default:a(()=>e[14]||(e[14]=[w("Plugin List")])),_:1})]),_:1}),(c(!0),h(y,null,T(l.shownPlugins,(o,_)=>(c(),h("div",{key:_},[n(E,{"data-test":"plugin-list-item"},{append:a(()=>[n(r,{icon:"mdi-download",variant:"text","aria-label":"Download Plugin","data-test":"download-plugin",onClick:f=>l.downloadPlugin(o)},null,8,["onClick"]),n(r,{icon:"mdi-pencil",variant:"text","aria-label":"Edit Plugin","data-test":"edit-plugin",onClick:f=>l.editPlugin(o)},null,8,["onClick"]),n(L,{"open-delay":600,location:"top"},{activator:a(({props:f})=>[n(r,C({ref_for:!0},f,{icon:"mdi-update",variant:"text","aria-label":"Upgrade Plugin","data-test":"upgrade-plugin",onClick:R=>l.upgradePlugin(o)}),null,16,["onClick"])]),default:a(()=>[e[15]||(e[15]=m("span",null,"Upgrade Plugin",-1))]),_:2},1024),n(r,{icon:"mdi-delete",variant:"text","aria-label":"Delete Plugin","data-test":"delete-plugin",onClick:f=>l.deletePrompt(o)},null,8,["onClick"])]),default:a(()=>[n(j,null,{default:a(()=>[l.isModified(o)?(c(),h("span",Z,"* ")):x("",!0),w(v(o),1)]),_:2},1024),l.pluginTargets(o).length!==0?(c(),P(B,{key:0},{default:a(()=>[(c(!0),h(y,null,T(l.pluginTargets(o),(f,R)=>(c(),h("span",{key:R,class:"mr-2"},[f.modified?(c(),h("a",{key:0,onClick:M(se=>l.downloadTarget(f.name),["prevent"])},v(f.name),9,q)):(c(),h("span",W,v(f.name),1))]))),128))]),_:2},1024)):x("",!0)]),_:2},1024),_<i.plugins.length-1?(c(),P($,{key:_})):x("",!0)]))),128))]),_:1}),i.showPluginDialog?(c(),P(ee,{key:1,modelValue:i.showPluginDialog,"onUpdate:modelValue":e[3]||(e[3]=o=>i.showPluginDialog=o),"plugin-name":i.pluginName,variables:i.variables,"plugin-txt":i.pluginTxt,"existing-plugin-txt":i.existingPluginTxt,onCallback:l.pluginCallback},null,8,["modelValue","plugin-name","variables","plugin-txt","existing-plugin-txt","onCallback"])):x("",!0),i.showModifiedPluginDialog?(c(),P(te,{key:2,modelValue:i.showModifiedPluginDialog,"onUpdate:modelValue":e[4]||(e[4]=o=>i.showModifiedPluginDialog=o),"plugin-name":i.currentPlugin,targets:l.pluginTargets(i.currentPlugin),"plugin-delete":i.pluginDelete,onSubmit:l.modifiedSubmit},null,8,["modelValue","plugin-name","targets","plugin-delete","onSubmit"])):x("",!0),n(le,{modelValue:i.showProcessOutput,"onUpdate:modelValue":e[5]||(e[5]=o=>i.showProcessOutput=o),title:"Process Output",text:i.processOutput},null,8,["modelValue","text"])])}const ne=H("default",V(u,[["render",X],["__scopeId","data-v-73fe8603"]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./Widget-Bn_S-zBo-604800ad1a79f919b9ad.js","vue","./main-6ce07f8d99f937f91520.js","vue-router","single-spa","vuex","vuetify"],function(s,p){"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,y,c,b,d,B){const v=t("v-radio");return r(),n(v,{"hide-details":"",dense:"",label:d.label,style:a(i.computedStyle),value:c.value},null,8,["label","style","value"])}const m=s("default",o(e,[["render",u]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./main-6ce07f8d99f937f91520.js","vue","vue-router","single-spa","vuex","vuetify"],function(y,S){"use strict";var u,p,s,r,c,n,d,l,i,h,x;return{setters:[e=>{u=e.d,p=e.F},e=>{s=e.resolveComponent,r=e.createElementBlock,c=e.openBlock,n=e.createVNode,d=e.withCtx,l=e.createTextVNode,i=e.createElementVNode,h=e.createCommentVNode,x=e.toDisplayString},null,null,null,null],execute:function(){const e={data(){return{redisCommandText:"",redisResponse:null,redisEndpoint:"/openc3-api/redis/exec",headers:[{text:"Redis",value:"redis",width:150},{text:"Command",value:"command"},{text:"Response",value:"response"}],commands:[]}},methods:{commandKeydown:function(o){o.key==="Enter"&&this.executeRaw()},executeRaw:function(){this.redisResponse=null,p.post(this.redisEndpoint,{data:this.redisCommandText,headers:{Accept:"application/json","Content-Type":"plain/text"}}).then(o=>{this.redisResponse=o.data.result;let t="Ephemeral";this.redisEndpoint==="/openc3-api/redis/exec"&&(t="Persistent"),this.commands.unshift({redis:t,command:this.redisCommandText,response:this.redisResponse})})}}},R={key:0,class:"monospace"};function C(o,t,B,K,a,v){const E=s("v-card-title"),V=s("v-card-subtitle"),b=s("v-text-field"),w=s("v-card-text"),g=s("v-btn"),f=s("v-radio"),T=s("v-radio-group"),_=s("v-card-actions"),k=s("v-data-table"),N=s("v-card");return c(),r("div",null,[n(N,null,{default:d(()=>[n(E,null,{default:d(()=>t[2]||(t[2]=[l(" Send Raw Redis Commands ")])),_:1}),n(V,null,{default:d(()=>t[3]||(t[3]=[l(" THIS IS DANGEROUS. This allows you to interact directly with the underlying Redis database, making it easy to modify or delete data. "),i("br",null,null,-1),i("br",null,null,-1),l(" Enter commands like you would at the Redis cli prompt: "),i("code",null,"ping",-1),l(" or "),i("code",null,"hget openc3__settings version",-1)])),_:1}),n(w,{class:"pb-0 ml-2"},{default:d(()=>[n(b,{label:"Redis command",class:"monospace",modelValue:a.redisCommandText,"onUpdate:modelValue":t[0]||(t[0]=m=>a.redisCommandText=m),onKeydown:v.commandKeydown},null,8,["modelValue","onKeydown"]),a.redisResponse?(c(),r("span",R," Response: "+x(a.redisResponse),1)):h("",!0)]),_:1}),n(_,{class:"px-2"},{default:d(()=>[n(g,{disabled:!a.redisCommandText.length,onClick:v.executeRaw,color:"success",variant:"text"},{default:d(()=>t[4]||(t[4]=[l(" Execute ")])),_:1},8,["disabled","onClick"]),n(T,{modelValue:a.redisEndpoint,"onUpdate:modelValue":t[1]||(t[1]=m=>a.redisEndpoint=m),inline:"","hide-details":"",class:"mt-0"},{default:d(()=>[n(f,{label:"Persistent",value:"/openc3-api/redis/exec","data-test":"persistent-radio"}),n(f,{label:"Ephemeral",value:"/openc3-api/redis/exec?ephemeral=1","data-test":"ephemeral-radio"})]),_:1},8,["modelValue"])]),_:1}),n(k,{headers:a.headers,items:a.commands,class:"monospace","items-per-page":-1,"hide-default-footer":"",density:"compact",height:"45vh"},null,8,["headers","items"])]),_:1})])}const A=y("default",u(e,[["render",C],["__scopeId","data-v-28716ab0"]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./main-6ce07f8d99f937f91520.js","vue","single-spa","./OutputDialog-CcSp-Uqo-fbaabfae3953d9e070fa.js","vue-router","vuex","vuetify"],function(w,T){"use strict";var d,c,e,r,l,o,g,p,i,h,v,m,C,k;return{setters:[t=>{d=t.d,c=t.F},t=>{e=t.resolveComponent,r=t.createElementBlock,l=t.openBlock,o=t.createVNode,g=t.createBlock,p=t.createCommentVNode,i=t.withCtx,h=t.Fragment,v=t.renderList,m=t.createTextVNode,C=t.toDisplayString},null,t=>{k=t.E},null,null,null],execute:function(){const t={components:{OutputDialog:k},data(){return{routers:[],jsonContent:"",dialogTitle:"",showDialog:!1}},mounted(){this.update()},methods:{update(){c.get("/openc3-api/routers").then(n=>{this.routers=n.data})},add(){},showRouter(n){c.get(`/openc3-api/routers/${n}`).then(s=>{this.jsonContent=JSON.stringify(s.data,null," "),this.dialogTitle=n,this.showDialog=!0})},dialogCallback(n){this.showDialog=!1}}};function D(n,s,j,F,a,f){const V=e("v-list-item-title"),y=e("v-btn"),S=e("v-list-item"),N=e("v-divider"),b=e("v-list"),x=e("output-dialog");return l(),r("div",null,[o(b,{class:"list","data-test":"routerList"},{default:i(()=>[(l(!0),r(h,null,v(a.routers,(u,B)=>(l(),r("div",{key:B},[o(S,null,{append:i(()=>[o(y,{"aria-label":"Show Router Details",icon:"mdi-eye",variant:"text",onClick:R=>f.showRouter(u)},null,8,["onClick"])]),default:i(()=>[o(V,null,{default:i(()=>[m(C(u),1)]),_:2},1024)]),_:2},1024),o(N)]))),128))]),_:1}),a.showDialog?(l(),g(x,{key:0,modelValue:a.showDialog,"onUpdate:modelValue":s[0]||(s[0]=u=>a.showDialog=u),content:a.jsonContent,type:"Router",name:a.dialogTitle,onSubmit:f.dialogCallback},null,8,["modelValue","content","name","onSubmit"])):p("",!0)])}const _=w("default",d(t,[["render",D],["__scopeId","data-v-400627ab"]]))}}});
|
@@ -1 +0,0 @@
|
|
1
|
-
System.register(["./Layout-1z8iJV5--18c4292fcaf8fb39baf3.js","./VerticalWidget-DJvoxqLE-c9423678425ab88c12e4.js","vue","./main-6ce07f8d99f937f91520.js","./Widget-Bn_S-zBo-604800ad1a79f919b9ad.js","vue-router","single-spa","vuex","vuetify"],function(v,k){"use strict";var l,o,i,r,c,u,m,g,p,d,f;return{setters:[e=>{l=e.r},e=>{o=e.default},e=>{i=e.createElementBlock,r=e.openBlock,c=e.normalizeStyle,u=e.Fragment,m=e.renderList,g=e.createBlock,p=e.resolveDynamicComponent,d=e.mergeProps},e=>{f=e.d},null,null,null,null,null],execute:function(){const e={mixins:[l],components:{VerticalWidget:o},created:function(){if(this.setHeight(this.parameters[0],"px",200),this.parameters[1]){let n=this.parameters[1];this.widgets.forEach(a=>{a.settings.find(s=>s[0]==="MARGIN"||s[0]==="RAW"&&s[1].toUpperCase().includes("MARGIN"))===void 0&&a.settings.push(["MARGIN",n])})}}};function y(n,a,s,w,z,b){return r(),i("div",{ref:"container",style:c(n.computedStyle),class:"overflow-y-auto"},[(r(!0),i(u,null,m(n.widgets,(t,h)=>(r(),g(p(t.type),d({ref_for:!0},n.listeners,{key:h,target:t.target,parameters:t.parameters,settings:t.settings,"screen-values":n.screenValues,"screen-time-zone":n.screenTimeZone,widgets:t.widgets,name:t.name,line:t.line,"line-number":t.lineNumber}),null,16,["target","parameters","settings","screen-values","screen-time-zone","widgets","name","line","line-number"]))),128))],4)}const B=v("default",f(e,[["render",y]]))}}});
|