@openc3/vue-common 6.2.0-fix0 → 6.2.1
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.
- package/dist/components.cjs +5 -5
- package/dist/components.cjs.map +1 -1
- package/dist/components.js +209 -207
- package/dist/components.js.map +1 -1
- package/package.json +2 -2
package/dist/components.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { A as lt, O as nt } from "./OutputDialog-Ci5OT_fH.js";
|
|
2
|
-
import { a as E, m as L, c as
|
|
2
|
+
import { a as E, m as L, c as F, f as Y, W as j, p as q, l as J } from "./UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_6fa47877_lang-iq-jp8dD.js";
|
|
3
3
|
import { D as ot, e as rt } from "./UpgradeToEnterpriseDialog.vue_vue_type_style_index_0_scoped_6fa47877_lang-iq-jp8dD.js";
|
|
4
|
-
import { resolveComponent as r, createBlock as
|
|
4
|
+
import { resolveComponent as r, createBlock as T, openBlock as w, withKeys as z, withCtx as n, createVNode as i, createElementVNode as d, withModifiers as U, withDirectives as A, toDisplayString as N, vShow as R, createTextVNode as y, normalizeProps as S, guardReactiveProps as D, createElementBlock as P, Fragment as H, renderList as Q, createCommentVNode as V, normalizeStyle as Z, normalizeClass as $ } from "vue";
|
|
5
5
|
import { _ as O } from "./CosmosRuxIcon.vue_vue_type_style_index_0_scoped_9af48e85_lang-CHgC5LLL.js";
|
|
6
6
|
import { C as ct } from "./CriticalCmdDialog-DLEasFsx.js";
|
|
7
7
|
import { D as mt } from "./DetailsDialog-BvbziA7Y.js";
|
|
@@ -23,41 +23,43 @@ class le {
|
|
|
23
23
|
}), this.api = new L();
|
|
24
24
|
}
|
|
25
25
|
async getCompletions(e, l, o, s, a) {
|
|
26
|
-
|
|
27
|
-
h.length > 1 && (
|
|
28
|
-
|
|
29
|
-
if (
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
if (
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} else if (k["Packet name"]) {
|
|
36
|
-
var T = h[h.length - 2], y = await this.api.get_all_tlm(T);
|
|
37
|
-
p = y.reduce(
|
|
38
|
-
(c, b) => (c[b.packet_name] = b.description, c),
|
|
26
|
+
let h = l.getLine(o.row).slice(0, o.column).trimStart().split(/ (?![^<]*>)/), v = this.autocompleteData;
|
|
27
|
+
h.length > 1 && (v = v.find((x) => x.caption === h[0]));
|
|
28
|
+
let _ = {}, f = !0;
|
|
29
|
+
if (v && v.params) {
|
|
30
|
+
v.params.length == h.length - 1 && (f = !1);
|
|
31
|
+
let x = v.params[h.length - 2];
|
|
32
|
+
if (x["Target name"])
|
|
33
|
+
v = (await this.api.get_target_names()).reduce(
|
|
34
|
+
(k, p) => (k[p] = 1, k),
|
|
39
35
|
{}
|
|
40
36
|
);
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
(
|
|
37
|
+
else if (x["Packet name"]) {
|
|
38
|
+
let b = h[h.length - 2];
|
|
39
|
+
v = (await this.api.get_all_tlm(b)).reduce(
|
|
40
|
+
(p, g) => (p[g.packet_name] = g.description, p),
|
|
41
|
+
{}
|
|
42
|
+
);
|
|
43
|
+
} else if (x["Item name"]) {
|
|
44
|
+
let b = h[h.length - 3], k = h[h.length - 2];
|
|
45
|
+
v = (await this.api.get_tlm(b, k)).items.reduce(
|
|
46
|
+
(g, c) => (g[c.name] = c.description, g),
|
|
45
47
|
{}
|
|
46
48
|
);
|
|
47
49
|
} else
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
value:
|
|
50
|
+
v = x;
|
|
51
|
+
_ = Object.keys(v || {}).map((b) => {
|
|
52
|
+
let k = {
|
|
53
|
+
value: b + (f ? " " : ""),
|
|
52
54
|
// We want the autoComplete to continue right up
|
|
53
55
|
// to the last parameter
|
|
54
56
|
command: f && "startAutocomplete"
|
|
55
57
|
};
|
|
56
|
-
return typeof
|
|
58
|
+
return typeof v[b] == "string" && (k.meta = v[b]), k;
|
|
57
59
|
});
|
|
58
60
|
} else
|
|
59
|
-
|
|
60
|
-
a(null,
|
|
61
|
+
_ = v;
|
|
62
|
+
a(null, _);
|
|
61
63
|
}
|
|
62
64
|
}
|
|
63
65
|
const Xe = {
|
|
@@ -191,18 +193,18 @@ const Xe = {
|
|
|
191
193
|
}
|
|
192
194
|
}, ae = { class: "mt-4 pa-3" }, oe = ["textContent"];
|
|
193
195
|
function re(t, e, l, o, s, a) {
|
|
194
|
-
const u = r("v-spacer"), m = r("v-toolbar"), h = r("v-text-field"),
|
|
195
|
-
return w(),
|
|
196
|
+
const u = r("v-spacer"), m = r("v-toolbar"), h = r("v-text-field"), v = r("v-row"), _ = r("v-btn"), f = r("v-data-table"), x = r("v-card-text"), b = r("v-card-actions"), k = r("v-card"), p = r("v-dialog");
|
|
197
|
+
return w(), T(p, {
|
|
196
198
|
modelValue: a.show,
|
|
197
|
-
"onUpdate:modelValue": e[4] || (e[4] = (
|
|
199
|
+
"onUpdate:modelValue": e[4] || (e[4] = (g) => a.show = g),
|
|
198
200
|
onKeydown: z(a.cancel, ["esc"]),
|
|
199
201
|
width: "600"
|
|
200
202
|
}, {
|
|
201
203
|
default: n(() => [
|
|
202
|
-
i(
|
|
204
|
+
i(k, null, {
|
|
203
205
|
default: n(() => [
|
|
204
206
|
d("form", {
|
|
205
|
-
onSubmit: e[3] || (e[3] = U((...
|
|
207
|
+
onSubmit: e[3] || (e[3] = U((...g) => a.success && a.success(...g), ["prevent"]))
|
|
206
208
|
}, [
|
|
207
209
|
i(m, { height: "24" }, {
|
|
208
210
|
default: n(() => [
|
|
@@ -212,15 +214,15 @@ function re(t, e, l, o, s, a) {
|
|
|
212
214
|
]),
|
|
213
215
|
_: 1
|
|
214
216
|
}),
|
|
215
|
-
i(
|
|
217
|
+
i(x, null, {
|
|
216
218
|
default: n(() => [
|
|
217
219
|
d("div", ae, [
|
|
218
|
-
i(
|
|
220
|
+
i(v, { dense: "" }, {
|
|
219
221
|
default: n(() => [
|
|
220
222
|
i(h, {
|
|
221
223
|
label: "search",
|
|
222
224
|
modelValue: s.search,
|
|
223
|
-
"onUpdate:modelValue": e[0] || (e[0] = (
|
|
225
|
+
"onUpdate:modelValue": e[0] || (e[0] = (g) => s.search = g),
|
|
224
226
|
type: "text",
|
|
225
227
|
"prepend-inner-icon": "mdi-magnify",
|
|
226
228
|
clearable: "",
|
|
@@ -237,7 +239,7 @@ function re(t, e, l, o, s, a) {
|
|
|
237
239
|
}),
|
|
238
240
|
i(f, {
|
|
239
241
|
modelValue: s.selectedRows,
|
|
240
|
-
"onUpdate:modelValue": e[1] || (e[1] = (
|
|
242
|
+
"onUpdate:modelValue": e[1] || (e[1] = (g) => s.selectedRows = g),
|
|
241
243
|
"show-select": "",
|
|
242
244
|
"select-strategy": "single",
|
|
243
245
|
"item-value": "configId",
|
|
@@ -246,20 +248,20 @@ function re(t, e, l, o, s, a) {
|
|
|
246
248
|
items: s.configs,
|
|
247
249
|
"items-per-page": 5,
|
|
248
250
|
"items-per-page-options": [5],
|
|
249
|
-
"onClick:row": e[2] || (e[2] = (
|
|
251
|
+
"onClick:row": e[2] || (e[2] = (g, c) => a.selectRow(c))
|
|
250
252
|
}, {
|
|
251
|
-
"item.actions": n(({ item:
|
|
252
|
-
i(
|
|
253
|
+
"item.actions": n(({ item: g }) => [
|
|
254
|
+
i(_, {
|
|
253
255
|
class: "mt-1",
|
|
254
256
|
icon: "mdi-delete",
|
|
255
257
|
variant: "text",
|
|
256
258
|
"data-test": "item-delete",
|
|
257
|
-
onClick: (c) => a.deleteConfig(
|
|
259
|
+
onClick: (c) => a.deleteConfig(g)
|
|
258
260
|
}, null, 8, ["onClick"])
|
|
259
261
|
]),
|
|
260
262
|
_: 1
|
|
261
263
|
}, 8, ["modelValue", "search", "headers", "items"]),
|
|
262
|
-
i(
|
|
264
|
+
i(v, { dense: "" }, {
|
|
263
265
|
default: n(() => [
|
|
264
266
|
A(d("span", {
|
|
265
267
|
class: "ma-2 text-red",
|
|
@@ -274,20 +276,20 @@ function re(t, e, l, o, s, a) {
|
|
|
274
276
|
]),
|
|
275
277
|
_: 1
|
|
276
278
|
}),
|
|
277
|
-
i(
|
|
279
|
+
i(b, { class: "px-2" }, {
|
|
278
280
|
default: n(() => [
|
|
279
281
|
i(u),
|
|
280
|
-
i(
|
|
282
|
+
i(_, {
|
|
281
283
|
variant: "outlined",
|
|
282
284
|
onClick: a.cancel,
|
|
283
285
|
"data-test": "open-config-cancel-btn"
|
|
284
286
|
}, {
|
|
285
287
|
default: n(() => e[6] || (e[6] = [
|
|
286
|
-
|
|
288
|
+
y(" Cancel ")
|
|
287
289
|
])),
|
|
288
290
|
_: 1
|
|
289
291
|
}, 8, ["onClick"]),
|
|
290
|
-
i(
|
|
292
|
+
i(_, {
|
|
291
293
|
variant: "flat",
|
|
292
294
|
onClick: U(a.success, ["prevent"]),
|
|
293
295
|
type: "submit",
|
|
@@ -295,7 +297,7 @@ function re(t, e, l, o, s, a) {
|
|
|
295
297
|
disabled: !!a.error
|
|
296
298
|
}, {
|
|
297
299
|
default: n(() => e[7] || (e[7] = [
|
|
298
|
-
|
|
300
|
+
y(" Ok ")
|
|
299
301
|
])),
|
|
300
302
|
_: 1
|
|
301
303
|
}, 8, ["onClick", "disabled"])
|
|
@@ -394,18 +396,18 @@ const Ye = /* @__PURE__ */ O(ne, [["render", re]]), de = {
|
|
|
394
396
|
}
|
|
395
397
|
}, ce = { class: "mt-4 pa-3" }, ue = ["textContent"];
|
|
396
398
|
function me(t, e, l, o, s, a) {
|
|
397
|
-
const u = r("v-spacer"), m = r("v-toolbar"), h = r("v-text-field"),
|
|
398
|
-
return w(),
|
|
399
|
+
const u = r("v-spacer"), m = r("v-toolbar"), h = r("v-text-field"), v = r("v-row"), _ = r("v-btn"), f = r("v-data-table"), x = r("v-card-text"), b = r("v-card-actions"), k = r("v-card"), p = r("v-dialog");
|
|
400
|
+
return w(), T(p, {
|
|
399
401
|
modelValue: a.show,
|
|
400
|
-
"onUpdate:modelValue": e[5] || (e[5] = (
|
|
402
|
+
"onUpdate:modelValue": e[5] || (e[5] = (g) => a.show = g),
|
|
401
403
|
onKeydown: z(a.cancel, ["esc"]),
|
|
402
404
|
width: "600"
|
|
403
405
|
}, {
|
|
404
406
|
default: n(() => [
|
|
405
|
-
i(
|
|
407
|
+
i(k, null, {
|
|
406
408
|
default: n(() => [
|
|
407
409
|
d("form", {
|
|
408
|
-
onSubmit: e[4] || (e[4] = U((...
|
|
410
|
+
onSubmit: e[4] || (e[4] = U((...g) => a.success && a.success(...g), ["prevent"]))
|
|
409
411
|
}, [
|
|
410
412
|
i(m, { height: "24" }, {
|
|
411
413
|
default: n(() => [
|
|
@@ -415,15 +417,15 @@ function me(t, e, l, o, s, a) {
|
|
|
415
417
|
]),
|
|
416
418
|
_: 1
|
|
417
419
|
}),
|
|
418
|
-
i(
|
|
420
|
+
i(x, null, {
|
|
419
421
|
default: n(() => [
|
|
420
422
|
d("div", ce, [
|
|
421
|
-
i(
|
|
423
|
+
i(v, { dense: "" }, {
|
|
422
424
|
default: n(() => [
|
|
423
425
|
i(h, {
|
|
424
426
|
label: "search",
|
|
425
427
|
modelValue: s.search,
|
|
426
|
-
"onUpdate:modelValue": e[0] || (e[0] = (
|
|
428
|
+
"onUpdate:modelValue": e[0] || (e[0] = (g) => s.search = g),
|
|
427
429
|
type: "text",
|
|
428
430
|
"prepend-inner-icon": "mdi-magnify",
|
|
429
431
|
clearable: "",
|
|
@@ -439,7 +441,7 @@ function me(t, e, l, o, s, a) {
|
|
|
439
441
|
}),
|
|
440
442
|
i(f, {
|
|
441
443
|
modelValue: s.selectedRows,
|
|
442
|
-
"onUpdate:modelValue": e[1] || (e[1] = (
|
|
444
|
+
"onUpdate:modelValue": e[1] || (e[1] = (g) => s.selectedRows = g),
|
|
443
445
|
"show-select": "",
|
|
444
446
|
"select-strategy": "single",
|
|
445
447
|
"item-value": "configId",
|
|
@@ -448,24 +450,24 @@ function me(t, e, l, o, s, a) {
|
|
|
448
450
|
items: s.configs,
|
|
449
451
|
"items-per-page": 5,
|
|
450
452
|
"items-per-page-options": [5],
|
|
451
|
-
"onClick:row": e[2] || (e[2] = (
|
|
453
|
+
"onClick:row": e[2] || (e[2] = (g, c) => a.selectRow(c))
|
|
452
454
|
}, {
|
|
453
|
-
"item.actions": n(({ item:
|
|
454
|
-
i(
|
|
455
|
+
"item.actions": n(({ item: g }) => [
|
|
456
|
+
i(_, {
|
|
455
457
|
class: "mt-1",
|
|
456
458
|
icon: "mdi-delete",
|
|
457
459
|
variant: "text",
|
|
458
460
|
"data-test": "item-delete",
|
|
459
|
-
onClick: (c) => a.deleteConfig(
|
|
461
|
+
onClick: (c) => a.deleteConfig(g)
|
|
460
462
|
}, null, 8, ["onClick"])
|
|
461
463
|
]),
|
|
462
464
|
_: 1
|
|
463
465
|
}, 8, ["modelValue", "search", "headers", "items"]),
|
|
464
|
-
i(
|
|
466
|
+
i(v, { dense: "" }, {
|
|
465
467
|
default: n(() => [
|
|
466
468
|
i(h, {
|
|
467
469
|
modelValue: s.configName,
|
|
468
|
-
"onUpdate:modelValue": e[3] || (e[3] = (
|
|
470
|
+
"onUpdate:modelValue": e[3] || (e[3] = (g) => s.configName = g),
|
|
469
471
|
"hide-details": "",
|
|
470
472
|
autofocus: "",
|
|
471
473
|
disabled: !!a.selectedItem,
|
|
@@ -475,7 +477,7 @@ function me(t, e, l, o, s, a) {
|
|
|
475
477
|
]),
|
|
476
478
|
_: 1
|
|
477
479
|
}),
|
|
478
|
-
i(
|
|
480
|
+
i(v, { dense: "" }, {
|
|
479
481
|
default: n(() => [
|
|
480
482
|
A(d("span", {
|
|
481
483
|
class: "ma-2 text-red",
|
|
@@ -490,19 +492,19 @@ function me(t, e, l, o, s, a) {
|
|
|
490
492
|
]),
|
|
491
493
|
_: 1
|
|
492
494
|
}),
|
|
493
|
-
i(
|
|
495
|
+
i(b, { class: "px-2" }, {
|
|
494
496
|
default: n(() => [
|
|
495
497
|
i(u),
|
|
496
|
-
i(
|
|
498
|
+
i(_, {
|
|
497
499
|
variant: "outlined",
|
|
498
500
|
onClick: a.cancel
|
|
499
501
|
}, {
|
|
500
502
|
default: n(() => e[7] || (e[7] = [
|
|
501
|
-
|
|
503
|
+
y(" Cancel ")
|
|
502
504
|
])),
|
|
503
505
|
_: 1
|
|
504
506
|
}, 8, ["onClick"]),
|
|
505
|
-
i(
|
|
507
|
+
i(_, {
|
|
506
508
|
variant: "flat",
|
|
507
509
|
onClick: U(a.success, ["prevent"]),
|
|
508
510
|
type: "submit",
|
|
@@ -510,7 +512,7 @@ function me(t, e, l, o, s, a) {
|
|
|
510
512
|
disabled: !!a.error
|
|
511
513
|
}, {
|
|
512
514
|
default: n(() => e[8] || (e[8] = [
|
|
513
|
-
|
|
515
|
+
y(" Ok ")
|
|
514
516
|
])),
|
|
515
517
|
_: 1
|
|
516
518
|
}, 8, ["onClick", "disabled"])
|
|
@@ -585,7 +587,7 @@ const je = /* @__PURE__ */ O(de, [["render", me]]), he = {
|
|
|
585
587
|
}
|
|
586
588
|
},
|
|
587
589
|
mounted: function() {
|
|
588
|
-
this.editor =
|
|
590
|
+
this.editor = F.edit(this.$refs.editor), this.editor.setTheme("ace/theme/twilight");
|
|
589
591
|
const t = this.buildScreenMode();
|
|
590
592
|
this.editor.session.setMode(new t()), this.editor.session.setTabSize(2), this.editor.session.setUseWrapMode(!0), this.editor.$blockScrolling = 1 / 0, this.editor.setOption("enableBasicAutocompletion", !0), this.editor.setOption("enableLiveAutocompletion", !0), this.editor.completers = [new le()], this.editor.setHighlightActiveLine(!1), this.editor.setValue(this.definition), this.editor.clearSelection(), this.editor.focus();
|
|
591
593
|
},
|
|
@@ -608,7 +610,7 @@ const je = /* @__PURE__ */ O(de, [["render", me]]), he = {
|
|
|
608
610
|
);
|
|
609
611
|
},
|
|
610
612
|
buildScreenMode() {
|
|
611
|
-
let t =
|
|
613
|
+
let t = F.require("ace/lib/oop"), e = F.require(
|
|
612
614
|
"ace/mode/text_highlight_rules"
|
|
613
615
|
).TextHighlightRules, l = this.keywords.join("|"), o = function() {
|
|
614
616
|
this.$rules = {
|
|
@@ -639,7 +641,7 @@ const je = /* @__PURE__ */ O(de, [["render", me]]), he = {
|
|
|
639
641
|
t.inherits(o, e);
|
|
640
642
|
let s = function() {
|
|
641
643
|
this.HighlightRules = o;
|
|
642
|
-
}, a =
|
|
644
|
+
}, a = F.require("ace/mode/text").Mode;
|
|
643
645
|
return t.inherits(s, a), (function() {
|
|
644
646
|
this.$id = "ace/mode/openc3";
|
|
645
647
|
}).call(s.prototype), s;
|
|
@@ -669,17 +671,17 @@ const je = /* @__PURE__ */ O(de, [["render", me]]), he = {
|
|
|
669
671
|
}
|
|
670
672
|
}, fe = { class: "mx-2" }, pe = { class: "mx-2" }, ge = ["textContent"];
|
|
671
673
|
function ve(t, e, l, o, s, a) {
|
|
672
|
-
const u = r("v-icon"), m = r("v-tooltip"), h = r("v-spacer"),
|
|
673
|
-
return w(),
|
|
674
|
+
const u = r("v-icon"), m = r("v-tooltip"), h = r("v-spacer"), v = r("v-toolbar"), _ = r("v-row"), f = r("v-btn"), x = r("v-file-input"), b = r("v-list-item-title"), k = r("v-list-item"), p = r("v-list"), g = r("v-menu"), c = r("v-card-text"), C = r("v-card"), M = r("v-dialog");
|
|
675
|
+
return w(), T(M, {
|
|
674
676
|
persistent: "",
|
|
675
677
|
modelValue: a.show,
|
|
676
678
|
"onUpdate:modelValue": e[5] || (e[5] = (I) => a.show = I),
|
|
677
679
|
width: "75vw"
|
|
678
680
|
}, {
|
|
679
681
|
default: n(() => [
|
|
680
|
-
i(
|
|
682
|
+
i(C, null, {
|
|
681
683
|
default: n(() => [
|
|
682
|
-
i(
|
|
684
|
+
i(v, { height: "24" }, {
|
|
683
685
|
default: n(() => [
|
|
684
686
|
d("div", fe, [
|
|
685
687
|
i(m, { location: "top" }, {
|
|
@@ -690,7 +692,7 @@ function ve(t, e, l, o, s, a) {
|
|
|
690
692
|
onClick: a.deleteScreen
|
|
691
693
|
}, {
|
|
692
694
|
default: n(() => e[6] || (e[6] = [
|
|
693
|
-
|
|
695
|
+
y(" mdi-delete ")
|
|
694
696
|
])),
|
|
695
697
|
_: 1
|
|
696
698
|
}, 8, ["onClick"])
|
|
@@ -714,7 +716,7 @@ function ve(t, e, l, o, s, a) {
|
|
|
714
716
|
onClick: a.downloadScreen
|
|
715
717
|
}, {
|
|
716
718
|
default: n(() => e[8] || (e[8] = [
|
|
717
|
-
|
|
719
|
+
y(" mdi-download ")
|
|
718
720
|
])),
|
|
719
721
|
_: 1
|
|
720
722
|
}, 8, ["onClick"])
|
|
@@ -731,13 +733,13 @@ function ve(t, e, l, o, s, a) {
|
|
|
731
733
|
}),
|
|
732
734
|
i(c, { style: { "max-height": "90vh" } }, {
|
|
733
735
|
default: n(() => [
|
|
734
|
-
i(
|
|
736
|
+
i(_, { class: "mt-3" }, {
|
|
735
737
|
default: n(() => e[10] || (e[10] = [
|
|
736
|
-
|
|
738
|
+
y(" Upload a screen file. ")
|
|
737
739
|
])),
|
|
738
740
|
_: 1
|
|
739
741
|
}),
|
|
740
|
-
i(
|
|
742
|
+
i(_, {
|
|
741
743
|
"no-gutters": "",
|
|
742
744
|
align: "center"
|
|
743
745
|
}, {
|
|
@@ -750,11 +752,11 @@ function ve(t, e, l, o, s, a) {
|
|
|
750
752
|
"data-test": "edit-screen-load"
|
|
751
753
|
}, {
|
|
752
754
|
default: n(() => e[11] || (e[11] = [
|
|
753
|
-
|
|
755
|
+
y(" Load ")
|
|
754
756
|
])),
|
|
755
757
|
_: 1
|
|
756
758
|
}, 8, ["onClick", "disabled"]),
|
|
757
|
-
i(
|
|
759
|
+
i(x, {
|
|
758
760
|
modelValue: s.file,
|
|
759
761
|
"onUpdate:modelValue": e[0] || (e[0] = (I) => s.file = I),
|
|
760
762
|
"truncate-length": "15",
|
|
@@ -764,32 +766,32 @@ function ve(t, e, l, o, s, a) {
|
|
|
764
766
|
]),
|
|
765
767
|
_: 1
|
|
766
768
|
}),
|
|
767
|
-
i(
|
|
769
|
+
i(_, { class: "mb-2" }, {
|
|
768
770
|
default: n(() => e[12] || (e[12] = [
|
|
769
|
-
|
|
771
|
+
y(" Edit the screen definition. ")
|
|
770
772
|
])),
|
|
771
773
|
_: 1
|
|
772
774
|
}),
|
|
773
|
-
i(
|
|
775
|
+
i(_, { class: "mb-2" }, {
|
|
774
776
|
default: n(() => [
|
|
775
777
|
d("pre", {
|
|
776
778
|
ref: "editor",
|
|
777
779
|
class: "editor",
|
|
778
780
|
onContextmenu: e[1] || (e[1] = U((...I) => a.showContextMenu && a.showContextMenu(...I), ["prevent"]))
|
|
779
781
|
}, null, 544),
|
|
780
|
-
i(
|
|
782
|
+
i(g, {
|
|
781
783
|
modelValue: s.contextMenu,
|
|
782
784
|
"onUpdate:modelValue": e[2] || (e[2] = (I) => s.contextMenu = I),
|
|
783
785
|
target: [s.menuX, s.menuY]
|
|
784
786
|
}, {
|
|
785
787
|
default: n(() => [
|
|
786
|
-
i(
|
|
788
|
+
i(p, null, {
|
|
787
789
|
default: n(() => [
|
|
788
|
-
i(
|
|
790
|
+
i(k, { link: "" }, {
|
|
789
791
|
default: n(() => [
|
|
790
|
-
i(
|
|
792
|
+
i(b, { onClick: a.openDocumentation }, {
|
|
791
793
|
default: n(() => [
|
|
792
|
-
|
|
794
|
+
y(N(s.docsKeyword) + " documentation ", 1)
|
|
793
795
|
]),
|
|
794
796
|
_: 1
|
|
795
797
|
}, 8, ["onClick"])
|
|
@@ -805,9 +807,9 @@ function ve(t, e, l, o, s, a) {
|
|
|
805
807
|
]),
|
|
806
808
|
_: 1
|
|
807
809
|
}),
|
|
808
|
-
i(
|
|
810
|
+
i(_, { style: { "max-height": "120px", "overflow-y": "auto" } }, {
|
|
809
811
|
default: n(() => [
|
|
810
|
-
(w(!0),
|
|
812
|
+
(w(!0), P(H, null, Q(a.editErrors, (I, X) => (w(), P("div", { key: X }, [
|
|
811
813
|
d("span", {
|
|
812
814
|
class: "text-red",
|
|
813
815
|
textContent: N(I)
|
|
@@ -816,7 +818,7 @@ function ve(t, e, l, o, s, a) {
|
|
|
816
818
|
]),
|
|
817
819
|
_: 1
|
|
818
820
|
}),
|
|
819
|
-
i(
|
|
821
|
+
i(_, { class: "mt-5" }, {
|
|
820
822
|
default: n(() => [
|
|
821
823
|
e[15] || (e[15] = d("span", null, "Ctrl-space brings up autocomplete. Right click keywords for documentation.", -1)),
|
|
822
824
|
i(h),
|
|
@@ -827,7 +829,7 @@ function ve(t, e, l, o, s, a) {
|
|
|
827
829
|
"data-test": "edit-screen-cancel"
|
|
828
830
|
}, {
|
|
829
831
|
default: n(() => e[13] || (e[13] = [
|
|
830
|
-
|
|
832
|
+
y(" Cancel ")
|
|
831
833
|
])),
|
|
832
834
|
_: 1
|
|
833
835
|
}),
|
|
@@ -838,7 +840,7 @@ function ve(t, e, l, o, s, a) {
|
|
|
838
840
|
"data-test": "edit-screen-save"
|
|
839
841
|
}, {
|
|
840
842
|
default: n(() => e[14] || (e[14] = [
|
|
841
|
-
|
|
843
|
+
y(" Save ")
|
|
842
844
|
])),
|
|
843
845
|
_: 1
|
|
844
846
|
})
|
|
@@ -946,14 +948,14 @@ const _e = /* @__PURE__ */ O(he, [["render", ve], ["__scopeId", "data-v-9c6e250e
|
|
|
946
948
|
}
|
|
947
949
|
}, be = { class: "pa-3" };
|
|
948
950
|
function we(t, e, l, o, s, a) {
|
|
949
|
-
const u = r("v-spacer"), m = r("v-toolbar"), h = r("v-text-field"),
|
|
950
|
-
return w(),
|
|
951
|
+
const u = r("v-spacer"), m = r("v-toolbar"), h = r("v-text-field"), v = r("v-row"), _ = r("v-icon"), f = r("v-btn"), x = r("v-data-table"), b = r("v-col"), k = r("v-card-text"), p = r("v-card"), g = r("v-dialog");
|
|
952
|
+
return w(), T(g, {
|
|
951
953
|
modelValue: a.show,
|
|
952
954
|
"onUpdate:modelValue": e[4] || (e[4] = (c) => a.show = c),
|
|
953
955
|
width: "600"
|
|
954
956
|
}, {
|
|
955
957
|
default: n(() => [
|
|
956
|
-
i(
|
|
958
|
+
i(p, null, {
|
|
957
959
|
default: n(() => [
|
|
958
960
|
d("form", {
|
|
959
961
|
onSubmit: e[3] || (e[3] = U((...c) => a.addEnvironment && a.addEnvironment(...c), ["prevent"]))
|
|
@@ -966,10 +968,10 @@ function we(t, e, l, o, s, a) {
|
|
|
966
968
|
]),
|
|
967
969
|
_: 1
|
|
968
970
|
}),
|
|
969
|
-
i(
|
|
971
|
+
i(k, null, {
|
|
970
972
|
default: n(() => [
|
|
971
973
|
d("div", be, [
|
|
972
|
-
i(
|
|
974
|
+
i(v, {
|
|
973
975
|
dense: "",
|
|
974
976
|
class: "mb-2"
|
|
975
977
|
}, {
|
|
@@ -992,7 +994,7 @@ function we(t, e, l, o, s, a) {
|
|
|
992
994
|
]),
|
|
993
995
|
_: 1
|
|
994
996
|
}),
|
|
995
|
-
i(
|
|
997
|
+
i(x, {
|
|
996
998
|
"item-key": "name",
|
|
997
999
|
"hide-default-header": "",
|
|
998
1000
|
"data-test": "env-table",
|
|
@@ -1004,15 +1006,15 @@ function we(t, e, l, o, s, a) {
|
|
|
1004
1006
|
}, {
|
|
1005
1007
|
"item.actions": n(({ item: c }) => [
|
|
1006
1008
|
i(f, {
|
|
1007
|
-
onClick: (
|
|
1009
|
+
onClick: (C) => a.deleteEnvironment(c),
|
|
1008
1010
|
icon: "",
|
|
1009
1011
|
class: "mt-1",
|
|
1010
1012
|
"data-test": "item-delete"
|
|
1011
1013
|
}, {
|
|
1012
1014
|
default: n(() => [
|
|
1013
|
-
i(
|
|
1015
|
+
i(_, null, {
|
|
1014
1016
|
default: n(() => e[6] || (e[6] = [
|
|
1015
|
-
|
|
1017
|
+
y("mdi-delete")
|
|
1016
1018
|
])),
|
|
1017
1019
|
_: 1
|
|
1018
1020
|
})
|
|
@@ -1022,9 +1024,9 @@ function we(t, e, l, o, s, a) {
|
|
|
1022
1024
|
]),
|
|
1023
1025
|
_: 1
|
|
1024
1026
|
}, 8, ["search", "headers", "items"]),
|
|
1025
|
-
i(
|
|
1027
|
+
i(v, { dense: "" }, {
|
|
1026
1028
|
default: n(() => [
|
|
1027
|
-
i(
|
|
1029
|
+
i(b, null, {
|
|
1028
1030
|
default: n(() => [
|
|
1029
1031
|
i(h, {
|
|
1030
1032
|
modelValue: s.key,
|
|
@@ -1035,7 +1037,7 @@ function we(t, e, l, o, s, a) {
|
|
|
1035
1037
|
]),
|
|
1036
1038
|
_: 1
|
|
1037
1039
|
}),
|
|
1038
|
-
i(
|
|
1040
|
+
i(b, null, {
|
|
1039
1041
|
default: n(() => [
|
|
1040
1042
|
i(h, {
|
|
1041
1043
|
modelValue: s.keyValue,
|
|
@@ -1049,7 +1051,7 @@ function we(t, e, l, o, s, a) {
|
|
|
1049
1051
|
]),
|
|
1050
1052
|
_: 1
|
|
1051
1053
|
}),
|
|
1052
|
-
i(
|
|
1054
|
+
i(v, { dense: "" }, {
|
|
1053
1055
|
default: n(() => [
|
|
1054
1056
|
i(f, {
|
|
1055
1057
|
onClick: U(a.addEnvironment, ["prevent"]),
|
|
@@ -1060,7 +1062,7 @@ function we(t, e, l, o, s, a) {
|
|
|
1060
1062
|
disabled: !s.key || !s.keyValue
|
|
1061
1063
|
}, {
|
|
1062
1064
|
default: n(() => e[7] || (e[7] = [
|
|
1063
|
-
|
|
1065
|
+
y(" Add ")
|
|
1064
1066
|
])),
|
|
1065
1067
|
_: 1
|
|
1066
1068
|
}, 8, ["onClick", "disabled"])
|
|
@@ -1261,16 +1263,16 @@ For example: TGT1/procedures/test.py or TGT2/lib/inst.rb`, t;
|
|
|
1261
1263
|
}
|
|
1262
1264
|
}, xe = { class: "pa-3" };
|
|
1263
1265
|
function ke(t, e, l, o, s, a) {
|
|
1264
|
-
const u = r("v-progress-circular"), m = r("v-overlay"), h = r("v-spacer"),
|
|
1265
|
-
return w(),
|
|
1266
|
+
const u = r("v-progress-circular"), m = r("v-overlay"), h = r("v-spacer"), v = r("v-toolbar"), _ = r("v-row"), f = r("v-text-field"), x = r("v-icon"), b = r("v-btn"), k = r("v-treeview"), p = r("v-card-text"), g = r("v-card"), c = r("v-dialog");
|
|
1267
|
+
return w(), T(c, {
|
|
1266
1268
|
modelValue: a.show,
|
|
1267
|
-
"onUpdate:modelValue": e[5] || (e[5] = (
|
|
1269
|
+
"onUpdate:modelValue": e[5] || (e[5] = (C) => a.show = C),
|
|
1268
1270
|
width: "600",
|
|
1269
1271
|
scrollable: "",
|
|
1270
|
-
onKeydown: e[6] || (e[6] = z((
|
|
1272
|
+
onKeydown: e[6] || (e[6] = z((C) => a.success(), ["enter"]))
|
|
1271
1273
|
}, {
|
|
1272
1274
|
default: n(() => [
|
|
1273
|
-
i(
|
|
1275
|
+
i(g, null, {
|
|
1274
1276
|
default: n(() => [
|
|
1275
1277
|
i(m, { "model-value": s.loading }, {
|
|
1276
1278
|
default: n(() => [
|
|
@@ -1283,9 +1285,9 @@ function ke(t, e, l, o, s, a) {
|
|
|
1283
1285
|
_: 1
|
|
1284
1286
|
}, 8, ["model-value"]),
|
|
1285
1287
|
d("form", {
|
|
1286
|
-
onSubmit: e[4] || (e[4] = U((...
|
|
1288
|
+
onSubmit: e[4] || (e[4] = U((...C) => a.success && a.success(...C), ["prevent"]))
|
|
1287
1289
|
}, [
|
|
1288
|
-
i(
|
|
1290
|
+
i(v, { height: "24" }, {
|
|
1289
1291
|
default: n(() => [
|
|
1290
1292
|
i(h),
|
|
1291
1293
|
d("span", null, N(a.title), 1),
|
|
@@ -1293,23 +1295,23 @@ function ke(t, e, l, o, s, a) {
|
|
|
1293
1295
|
]),
|
|
1294
1296
|
_: 1
|
|
1295
1297
|
}),
|
|
1296
|
-
i(
|
|
1298
|
+
i(p, null, {
|
|
1297
1299
|
default: n(() => [
|
|
1298
1300
|
d("div", xe, [
|
|
1299
|
-
i(
|
|
1301
|
+
i(_, null, {
|
|
1300
1302
|
default: n(() => [
|
|
1301
|
-
|
|
1303
|
+
y(N(a.helpText), 1)
|
|
1302
1304
|
]),
|
|
1303
1305
|
_: 1
|
|
1304
1306
|
}),
|
|
1305
|
-
i(
|
|
1307
|
+
i(_, {
|
|
1306
1308
|
dense: "",
|
|
1307
1309
|
class: "mt-5"
|
|
1308
1310
|
}, {
|
|
1309
1311
|
default: n(() => [
|
|
1310
1312
|
i(f, {
|
|
1311
1313
|
modelValue: s.search,
|
|
1312
|
-
"onUpdate:modelValue": e[0] || (e[0] = (
|
|
1314
|
+
"onUpdate:modelValue": e[0] || (e[0] = (C) => s.search = C),
|
|
1313
1315
|
flat: "",
|
|
1314
1316
|
autofocus: "",
|
|
1315
1317
|
"hide-details": "",
|
|
@@ -1322,14 +1324,14 @@ function ke(t, e, l, o, s, a) {
|
|
|
1322
1324
|
]),
|
|
1323
1325
|
_: 1
|
|
1324
1326
|
}),
|
|
1325
|
-
i(
|
|
1327
|
+
i(_, {
|
|
1326
1328
|
dense: "",
|
|
1327
1329
|
class: "mt-2"
|
|
1328
1330
|
}, {
|
|
1329
1331
|
default: n(() => [
|
|
1330
|
-
i(
|
|
1332
|
+
i(k, {
|
|
1331
1333
|
modelValue: s.tree,
|
|
1332
|
-
"onUpdate:modelValue": e[1] || (e[1] = (
|
|
1334
|
+
"onUpdate:modelValue": e[1] || (e[1] = (C) => s.tree = C),
|
|
1333
1335
|
"onUpdate:activated": a.activeFile,
|
|
1334
1336
|
density: "compact",
|
|
1335
1337
|
activatable: "",
|
|
@@ -1341,29 +1343,29 @@ function ke(t, e, l, o, s, a) {
|
|
|
1341
1343
|
"open-on-click": l.type === "open",
|
|
1342
1344
|
"open-all": !!s.search
|
|
1343
1345
|
}, {
|
|
1344
|
-
prepend: n(({ item:
|
|
1345
|
-
|
|
1346
|
+
prepend: n(({ item: C, open: M }) => [
|
|
1347
|
+
C.file ? (w(), T(x, { key: 1 }, {
|
|
1346
1348
|
default: n(() => [
|
|
1347
|
-
|
|
1349
|
+
y(N(a.calcIcon(C.title)), 1)
|
|
1348
1350
|
]),
|
|
1349
1351
|
_: 2
|
|
1350
|
-
}, 1024)) : (w(), x
|
|
1352
|
+
}, 1024)) : (w(), T(x, { key: 0 }, {
|
|
1351
1353
|
default: n(() => [
|
|
1352
|
-
|
|
1354
|
+
y(N(M ? "mdi-folder-open" : "mdi-folder"), 1)
|
|
1353
1355
|
]),
|
|
1354
1356
|
_: 2
|
|
1355
1357
|
}, 1024))
|
|
1356
1358
|
]),
|
|
1357
|
-
append: n(({ item:
|
|
1358
|
-
|
|
1359
|
+
append: n(({ item: C }) => [
|
|
1360
|
+
C.title === "__TEMP__" ? (w(), T(b, {
|
|
1359
1361
|
key: 0,
|
|
1360
1362
|
icon: "",
|
|
1361
1363
|
onClick: a.deleteTemp
|
|
1362
1364
|
}, {
|
|
1363
1365
|
default: n(() => [
|
|
1364
|
-
i(
|
|
1366
|
+
i(x, null, {
|
|
1365
1367
|
default: n(() => e[7] || (e[7] = [
|
|
1366
|
-
|
|
1368
|
+
y(" mdi-delete ")
|
|
1367
1369
|
])),
|
|
1368
1370
|
_: 1
|
|
1369
1371
|
})
|
|
@@ -1376,11 +1378,11 @@ function ke(t, e, l, o, s, a) {
|
|
|
1376
1378
|
]),
|
|
1377
1379
|
_: 1
|
|
1378
1380
|
}),
|
|
1379
|
-
i(
|
|
1381
|
+
i(_, { class: "my-2" }, {
|
|
1380
1382
|
default: n(() => [
|
|
1381
1383
|
i(f, {
|
|
1382
1384
|
modelValue: s.selectedFile,
|
|
1383
|
-
"onUpdate:modelValue": e[2] || (e[2] = (
|
|
1385
|
+
"onUpdate:modelValue": e[2] || (e[2] = (C) => s.selectedFile = C),
|
|
1384
1386
|
"hide-details": "",
|
|
1385
1387
|
label: "Filename",
|
|
1386
1388
|
"data-test": "file-open-save-filename",
|
|
@@ -1389,7 +1391,7 @@ function ke(t, e, l, o, s, a) {
|
|
|
1389
1391
|
]),
|
|
1390
1392
|
_: 1
|
|
1391
1393
|
}),
|
|
1392
|
-
i(
|
|
1394
|
+
i(_, { dense: "" }, {
|
|
1393
1395
|
default: n(() => [
|
|
1394
1396
|
A(d("div", {
|
|
1395
1397
|
class: "my-2 text-red",
|
|
@@ -1400,22 +1402,22 @@ function ke(t, e, l, o, s, a) {
|
|
|
1400
1402
|
]),
|
|
1401
1403
|
_: 1
|
|
1402
1404
|
}),
|
|
1403
|
-
i(
|
|
1405
|
+
i(_, { class: "mt-2" }, {
|
|
1404
1406
|
default: n(() => [
|
|
1405
1407
|
i(h),
|
|
1406
|
-
i(
|
|
1407
|
-
onClick: e[3] || (e[3] = (
|
|
1408
|
+
i(b, {
|
|
1409
|
+
onClick: e[3] || (e[3] = (C) => a.show = !1),
|
|
1408
1410
|
variant: "outlined",
|
|
1409
1411
|
class: "mx-2",
|
|
1410
1412
|
"data-test": "file-open-save-cancel-btn",
|
|
1411
1413
|
disabled: s.disableButtons
|
|
1412
1414
|
}, {
|
|
1413
1415
|
default: n(() => e[8] || (e[8] = [
|
|
1414
|
-
|
|
1416
|
+
y(" Cancel ")
|
|
1415
1417
|
])),
|
|
1416
1418
|
_: 1
|
|
1417
1419
|
}, 8, ["disabled"]),
|
|
1418
|
-
i(
|
|
1420
|
+
i(b, {
|
|
1419
1421
|
onClick: U(a.success, ["prevent"]),
|
|
1420
1422
|
ref: "submitBtn",
|
|
1421
1423
|
type: "submit",
|
|
@@ -1425,7 +1427,7 @@ function ke(t, e, l, o, s, a) {
|
|
|
1425
1427
|
disabled: s.disableButtons || !!a.error
|
|
1426
1428
|
}, {
|
|
1427
1429
|
default: n(() => [
|
|
1428
|
-
|
|
1430
|
+
y(N(a.submit), 1)
|
|
1429
1431
|
]),
|
|
1430
1432
|
_: 1
|
|
1431
1433
|
}, 8, ["onClick", "disabled"])
|
|
@@ -1585,15 +1587,15 @@ const Je = /* @__PURE__ */ O(Ne, [["render", ke]]), Ce = {
|
|
|
1585
1587
|
}
|
|
1586
1588
|
}, Te = { class: "d-flex align-baseline" }, Ie = ["title", "datetime"], Ve = { style: { "white-space": "pre-wrap" } };
|
|
1587
1589
|
function Se(t, e, l, o, s, a) {
|
|
1588
|
-
const u = r("v-btn"), m = r("v-tooltip"), h = r("v-spacer"),
|
|
1589
|
-
return w(),
|
|
1590
|
+
const u = r("v-btn"), m = r("v-tooltip"), h = r("v-spacer"), v = r("v-select"), _ = r("v-text-field"), f = r("v-card-title"), x = r("rux-status"), b = r("v-data-table"), k = r("v-card");
|
|
1591
|
+
return w(), T(k, null, {
|
|
1590
1592
|
default: n(() => [
|
|
1591
1593
|
i(f, { class: "d-flex align-center justify-content-space-between" }, {
|
|
1592
1594
|
default: n(() => [
|
|
1593
1595
|
d("div", Te, [
|
|
1594
1596
|
i(m, { location: "top" }, {
|
|
1595
|
-
activator: n(({ props:
|
|
1596
|
-
d("div", S(D(
|
|
1597
|
+
activator: n(({ props: p }) => [
|
|
1598
|
+
d("div", S(D(p)), [
|
|
1597
1599
|
i(u, {
|
|
1598
1600
|
icon: "mdi-download",
|
|
1599
1601
|
variant: "text",
|
|
@@ -1611,8 +1613,8 @@ function Se(t, e, l, o, s, a) {
|
|
|
1611
1613
|
}),
|
|
1612
1614
|
e[3] || (e[3] = d("span", null, " Log Messages ", -1)),
|
|
1613
1615
|
i(m, { location: "top" }, {
|
|
1614
|
-
activator: n(({ props:
|
|
1615
|
-
d("div", S(D(
|
|
1616
|
+
activator: n(({ props: p }) => [
|
|
1617
|
+
d("div", S(D(p)), [
|
|
1616
1618
|
i(u, {
|
|
1617
1619
|
icon: a.buttonIcon,
|
|
1618
1620
|
variant: "text",
|
|
@@ -1628,22 +1630,22 @@ function Se(t, e, l, o, s, a) {
|
|
|
1628
1630
|
})
|
|
1629
1631
|
]),
|
|
1630
1632
|
i(h),
|
|
1631
|
-
i(
|
|
1633
|
+
i(v, {
|
|
1632
1634
|
label: "Filter by log level",
|
|
1633
1635
|
"hide-details": "",
|
|
1634
1636
|
variant: "outlined",
|
|
1635
1637
|
density: "compact",
|
|
1636
1638
|
items: s.logLevels,
|
|
1637
1639
|
modelValue: s.logLevel,
|
|
1638
|
-
"onUpdate:modelValue": e[0] || (e[0] = (
|
|
1640
|
+
"onUpdate:modelValue": e[0] || (e[0] = (p) => s.logLevel = p),
|
|
1639
1641
|
class: "mr-2",
|
|
1640
1642
|
style: { "max-width": "150px" },
|
|
1641
1643
|
"data-test": "log-messages-level"
|
|
1642
1644
|
}, null, 8, ["items", "modelValue"]),
|
|
1643
1645
|
i(h),
|
|
1644
|
-
i(
|
|
1646
|
+
i(_, {
|
|
1645
1647
|
modelValue: s.search,
|
|
1646
|
-
"onUpdate:modelValue": e[1] || (e[1] = (
|
|
1648
|
+
"onUpdate:modelValue": e[1] || (e[1] = (p) => s.search = p),
|
|
1647
1649
|
label: "Search",
|
|
1648
1650
|
"prepend-inner-icon": "mdi-magnify",
|
|
1649
1651
|
clearable: "",
|
|
@@ -1656,8 +1658,8 @@ function Se(t, e, l, o, s, a) {
|
|
|
1656
1658
|
"data-test": "search-log-messages"
|
|
1657
1659
|
}, null, 8, ["modelValue"]),
|
|
1658
1660
|
i(m, { location: "top" }, {
|
|
1659
|
-
activator: n(({ props:
|
|
1660
|
-
d("div", S(D(
|
|
1661
|
+
activator: n(({ props: p }) => [
|
|
1662
|
+
d("div", S(D(p)), [
|
|
1661
1663
|
i(u, {
|
|
1662
1664
|
icon: "mdi-delete",
|
|
1663
1665
|
variant: "text",
|
|
@@ -1675,7 +1677,7 @@ function Se(t, e, l, o, s, a) {
|
|
|
1675
1677
|
]),
|
|
1676
1678
|
_: 1
|
|
1677
1679
|
}),
|
|
1678
|
-
i(
|
|
1680
|
+
i(b, {
|
|
1679
1681
|
headers: s.headers,
|
|
1680
1682
|
items: s.shownData,
|
|
1681
1683
|
search: s.search,
|
|
@@ -1687,25 +1689,25 @@ function Se(t, e, l, o, s, a) {
|
|
|
1687
1689
|
hover: "",
|
|
1688
1690
|
"data-test": "log-messages"
|
|
1689
1691
|
}, {
|
|
1690
|
-
"item.timestamp": n(({ item:
|
|
1692
|
+
"item.timestamp": n(({ item: p }) => [
|
|
1691
1693
|
d("time", {
|
|
1692
|
-
title:
|
|
1693
|
-
datetime:
|
|
1694
|
-
}, N(
|
|
1694
|
+
title: p.timestamp,
|
|
1695
|
+
datetime: p.timestamp
|
|
1696
|
+
}, N(p.timestamp), 9, Ie)
|
|
1695
1697
|
]),
|
|
1696
|
-
"item.level": n(({ item:
|
|
1698
|
+
"item.level": n(({ item: p }) => [
|
|
1697
1699
|
d("span", {
|
|
1698
|
-
style: Z("display: inline-flex; color:" + a.getColor(
|
|
1700
|
+
style: Z("display: inline-flex; color:" + a.getColor(p.level))
|
|
1699
1701
|
}, [
|
|
1700
|
-
i(
|
|
1702
|
+
i(x, {
|
|
1701
1703
|
class: "mr-1",
|
|
1702
|
-
status: a.getStatus(
|
|
1704
|
+
status: a.getStatus(p.level)
|
|
1703
1705
|
}, null, 8, ["status"]),
|
|
1704
|
-
|
|
1706
|
+
y(" " + N(p.level), 1)
|
|
1705
1707
|
], 4)
|
|
1706
1708
|
]),
|
|
1707
|
-
"item.message": n(({ item:
|
|
1708
|
-
d("div", Ve, N(
|
|
1709
|
+
"item.message": n(({ item: p }) => [
|
|
1710
|
+
d("div", Ve, N(p.message), 1)
|
|
1709
1711
|
]),
|
|
1710
1712
|
_: 1
|
|
1711
1713
|
}, 8, ["headers", "items", "search"])
|
|
@@ -1741,19 +1743,19 @@ const Qe = /* @__PURE__ */ O(Ce, [["render", Se], ["__scopeId", "data-v-d5f1f607
|
|
|
1741
1743
|
}, Ee = { class: "mx-1" };
|
|
1742
1744
|
function Ae(t, e, l, o, s, a) {
|
|
1743
1745
|
const u = r("v-card-title"), m = r("v-card-text"), h = r("v-card");
|
|
1744
|
-
return s.show ? (w(),
|
|
1746
|
+
return s.show ? (w(), T(h, { key: 0 }, {
|
|
1745
1747
|
default: n(() => [
|
|
1746
1748
|
i(u, null, {
|
|
1747
1749
|
default: n(() => e[0] || (e[0] = [
|
|
1748
|
-
|
|
1750
|
+
y(" 404 Not Found ")
|
|
1749
1751
|
])),
|
|
1750
1752
|
_: 1
|
|
1751
1753
|
}),
|
|
1752
1754
|
i(m, { class: "d-flex align-center mt-3" }, {
|
|
1753
1755
|
default: n(() => [
|
|
1754
|
-
e[1] || (e[1] =
|
|
1756
|
+
e[1] || (e[1] = y(" The requested URL ")),
|
|
1755
1757
|
d("code", Ee, N(t.$route.fullPath), 1),
|
|
1756
|
-
e[2] || (e[2] =
|
|
1758
|
+
e[2] || (e[2] = y(" was not routable. ")),
|
|
1757
1759
|
e[3] || (e[3] = d("span", { class: "text-h3 mx-1" }, " 🦄 ", -1))
|
|
1758
1760
|
]),
|
|
1759
1761
|
_: 1
|
|
@@ -2164,18 +2166,18 @@ const $e = /* @__PURE__ */ O(De, [["render", Ae]]), B = 20, Re = {
|
|
|
2164
2166
|
ref: "screen"
|
|
2165
2167
|
};
|
|
2166
2168
|
function Ue(t, e, l, o, s, a) {
|
|
2167
|
-
const u = r("v-icon"), m = r("v-tooltip"), h = r("v-spacer"),
|
|
2168
|
-
return w(),
|
|
2169
|
+
const u = r("v-icon"), m = r("v-tooltip"), h = r("v-spacer"), v = r("v-toolbar"), _ = r("v-overlay"), f = r("vertical-widget"), x = r("v-expand-transition"), b = r("v-card"), k = r("edit-screen-dialog"), p = r("v-textarea"), g = r("v-dialog");
|
|
2170
|
+
return w(), P("div", {
|
|
2169
2171
|
style: Z(a.computedStyle),
|
|
2170
2172
|
ref: "bar"
|
|
2171
2173
|
}, [
|
|
2172
|
-
i(
|
|
2174
|
+
i(b, {
|
|
2173
2175
|
"min-height": s.height,
|
|
2174
2176
|
"min-width": s.width,
|
|
2175
2177
|
style: { cursor: "default" }
|
|
2176
2178
|
}, {
|
|
2177
2179
|
default: n(() => [
|
|
2178
|
-
i(
|
|
2180
|
+
i(v, { height: "24" }, {
|
|
2179
2181
|
default: n(() => [
|
|
2180
2182
|
A(d("div", null, [
|
|
2181
2183
|
i(m, { location: "top" }, {
|
|
@@ -2183,10 +2185,10 @@ function Ue(t, e, l, o, s, a) {
|
|
|
2183
2185
|
d("div", S(D(c)), [
|
|
2184
2186
|
i(u, {
|
|
2185
2187
|
"data-test": "error-graph-icon",
|
|
2186
|
-
onClick: e[0] || (e[0] = (
|
|
2188
|
+
onClick: e[0] || (e[0] = (C) => s.errorDialog = !0)
|
|
2187
2189
|
}, {
|
|
2188
2190
|
default: n(() => e[7] || (e[7] = [
|
|
2189
|
-
|
|
2191
|
+
y(" mdi-alert ")
|
|
2190
2192
|
])),
|
|
2191
2193
|
_: 1
|
|
2192
2194
|
})
|
|
@@ -2208,7 +2210,7 @@ function Ue(t, e, l, o, s, a) {
|
|
|
2208
2210
|
onClick: a.openEdit
|
|
2209
2211
|
}, {
|
|
2210
2212
|
default: n(() => e[9] || (e[9] = [
|
|
2211
|
-
|
|
2213
|
+
y(" mdi-pencil ")
|
|
2212
2214
|
])),
|
|
2213
2215
|
_: 1
|
|
2214
2216
|
}, 8, ["onClick"])
|
|
@@ -2219,7 +2221,7 @@ function Ue(t, e, l, o, s, a) {
|
|
|
2219
2221
|
]),
|
|
2220
2222
|
_: 1
|
|
2221
2223
|
}),
|
|
2222
|
-
l.fixFloated ? V("", !0) : (w(),
|
|
2224
|
+
l.fixFloated ? V("", !0) : (w(), T(m, {
|
|
2223
2225
|
key: 0,
|
|
2224
2226
|
location: "top"
|
|
2225
2227
|
}, {
|
|
@@ -2230,7 +2232,7 @@ function Ue(t, e, l, o, s, a) {
|
|
|
2230
2232
|
onClick: a.floatScreen
|
|
2231
2233
|
}, {
|
|
2232
2234
|
default: n(() => [
|
|
2233
|
-
|
|
2235
|
+
y(N(s.floated ? "mdi-balloon" : "mdi-view-grid-outline"), 1)
|
|
2234
2236
|
]),
|
|
2235
2237
|
_: 1
|
|
2236
2238
|
}, 8, ["onClick"])
|
|
@@ -2241,7 +2243,7 @@ function Ue(t, e, l, o, s, a) {
|
|
|
2241
2243
|
]),
|
|
2242
2244
|
_: 1
|
|
2243
2245
|
})),
|
|
2244
|
-
s.floated ? (w(),
|
|
2246
|
+
s.floated ? (w(), T(m, {
|
|
2245
2247
|
key: 1,
|
|
2246
2248
|
location: "top"
|
|
2247
2249
|
}, {
|
|
@@ -2252,7 +2254,7 @@ function Ue(t, e, l, o, s, a) {
|
|
|
2252
2254
|
onClick: a.upScreen
|
|
2253
2255
|
}, {
|
|
2254
2256
|
default: n(() => e[11] || (e[11] = [
|
|
2255
|
-
|
|
2257
|
+
y(" mdi-arrow-up ")
|
|
2256
2258
|
])),
|
|
2257
2259
|
_: 1
|
|
2258
2260
|
}, 8, ["onClick"])
|
|
@@ -2263,7 +2265,7 @@ function Ue(t, e, l, o, s, a) {
|
|
|
2263
2265
|
]),
|
|
2264
2266
|
_: 1
|
|
2265
2267
|
})) : V("", !0),
|
|
2266
|
-
s.floated && s.zIndex > l.minZ ? (w(),
|
|
2268
|
+
s.floated && s.zIndex > l.minZ ? (w(), T(m, {
|
|
2267
2269
|
key: 2,
|
|
2268
2270
|
location: "top"
|
|
2269
2271
|
}, {
|
|
@@ -2274,7 +2276,7 @@ function Ue(t, e, l, o, s, a) {
|
|
|
2274
2276
|
onClick: a.downScreen
|
|
2275
2277
|
}, {
|
|
2276
2278
|
default: n(() => e[13] || (e[13] = [
|
|
2277
|
-
|
|
2279
|
+
y(" mdi-arrow-down ")
|
|
2278
2280
|
])),
|
|
2279
2281
|
_: 1
|
|
2280
2282
|
}, 8, ["onClick"])
|
|
@@ -2296,7 +2298,7 @@ function Ue(t, e, l, o, s, a) {
|
|
|
2296
2298
|
onClick: a.minMaxTransition
|
|
2297
2299
|
}, {
|
|
2298
2300
|
default: n(() => e[15] || (e[15] = [
|
|
2299
|
-
|
|
2301
|
+
y(" mdi-window-minimize ")
|
|
2300
2302
|
])),
|
|
2301
2303
|
_: 1
|
|
2302
2304
|
}, 8, ["onClick"]), [
|
|
@@ -2307,7 +2309,7 @@ function Ue(t, e, l, o, s, a) {
|
|
|
2307
2309
|
onClick: a.minMaxTransition
|
|
2308
2310
|
}, {
|
|
2309
2311
|
default: n(() => e[16] || (e[16] = [
|
|
2310
|
-
|
|
2312
|
+
y(" mdi-window-maximize ")
|
|
2311
2313
|
])),
|
|
2312
2314
|
_: 1
|
|
2313
2315
|
}, 8, ["onClick"]), [
|
|
@@ -2325,7 +2327,7 @@ function Ue(t, e, l, o, s, a) {
|
|
|
2325
2327
|
]),
|
|
2326
2328
|
_: 1
|
|
2327
2329
|
}),
|
|
2328
|
-
l.showClose ? (w(),
|
|
2330
|
+
l.showClose ? (w(), T(m, {
|
|
2329
2331
|
key: 3,
|
|
2330
2332
|
location: "top"
|
|
2331
2333
|
}, {
|
|
@@ -2333,10 +2335,10 @@ function Ue(t, e, l, o, s, a) {
|
|
|
2333
2335
|
d("div", S(D(c)), [
|
|
2334
2336
|
i(u, {
|
|
2335
2337
|
"data-test": "close-screen-icon",
|
|
2336
|
-
onClick: e[1] || (e[1] = (
|
|
2338
|
+
onClick: e[1] || (e[1] = (C) => t.$emit("close-screen"))
|
|
2337
2339
|
}, {
|
|
2338
2340
|
default: n(() => e[17] || (e[17] = [
|
|
2339
|
-
|
|
2341
|
+
y(" mdi-close-box ")
|
|
2340
2342
|
])),
|
|
2341
2343
|
_: 1
|
|
2342
2344
|
})
|
|
@@ -2350,17 +2352,17 @@ function Ue(t, e, l, o, s, a) {
|
|
|
2350
2352
|
]),
|
|
2351
2353
|
_: 1
|
|
2352
2354
|
}),
|
|
2353
|
-
s.editDialog ? V("", !0) : (w(), x
|
|
2355
|
+
s.editDialog ? V("", !0) : (w(), T(x, { key: 0 }, {
|
|
2354
2356
|
default: n(() => [
|
|
2355
2357
|
A(d("div", Le, [
|
|
2356
|
-
i(
|
|
2358
|
+
i(_, {
|
|
2357
2359
|
style: { "pointer-events": "none" },
|
|
2358
2360
|
"model-value": s.errors.length !== 0,
|
|
2359
2361
|
opacity: "0.8",
|
|
2360
2362
|
absolute: "",
|
|
2361
2363
|
attach: ""
|
|
2362
2364
|
}, null, 8, ["model-value"]),
|
|
2363
|
-
(w(),
|
|
2365
|
+
(w(), T(f, {
|
|
2364
2366
|
key: s.screenKey,
|
|
2365
2367
|
widgets: s.layoutStack[0].widgets,
|
|
2366
2368
|
"screen-values": s.screenValues,
|
|
@@ -2380,7 +2382,7 @@ function Ue(t, e, l, o, s, a) {
|
|
|
2380
2382
|
]),
|
|
2381
2383
|
_: 1
|
|
2382
2384
|
}, 8, ["min-height", "min-width"]),
|
|
2383
|
-
s.editDialog ? (w(),
|
|
2385
|
+
s.editDialog ? (w(), T(k, {
|
|
2384
2386
|
key: 0,
|
|
2385
2387
|
modelValue: s.editDialog,
|
|
2386
2388
|
"onUpdate:modelValue": e[2] || (e[2] = (c) => s.editDialog = c),
|
|
@@ -2393,13 +2395,13 @@ function Ue(t, e, l, o, s, a) {
|
|
|
2393
2395
|
onCancel: e[4] || (e[4] = (c) => a.cancelEdit()),
|
|
2394
2396
|
onDelete: e[5] || (e[5] = (c) => a.deleteScreen())
|
|
2395
2397
|
}, null, 8, ["modelValue", "target", "screen", "definition", "keywords", "errors"])) : V("", !0),
|
|
2396
|
-
i(
|
|
2398
|
+
i(g, {
|
|
2397
2399
|
modelValue: s.errorDialog,
|
|
2398
2400
|
"onUpdate:modelValue": e[6] || (e[6] = (c) => s.errorDialog = c),
|
|
2399
2401
|
width: "60vw"
|
|
2400
2402
|
}, {
|
|
2401
2403
|
default: n(() => [
|
|
2402
|
-
i(
|
|
2404
|
+
i(v, { height: "24" }, {
|
|
2403
2405
|
default: n(() => [
|
|
2404
2406
|
i(h),
|
|
2405
2407
|
d("span", null, " Screen: " + N(l.target) + " " + N(l.screen) + " Errors ", 1),
|
|
@@ -2407,9 +2409,9 @@ function Ue(t, e, l, o, s, a) {
|
|
|
2407
2409
|
]),
|
|
2408
2410
|
_: 1
|
|
2409
2411
|
}),
|
|
2410
|
-
i(
|
|
2412
|
+
i(b, null, {
|
|
2411
2413
|
default: n(() => [
|
|
2412
|
-
i(
|
|
2414
|
+
i(p, {
|
|
2413
2415
|
class: "errors",
|
|
2414
2416
|
readonly: "",
|
|
2415
2417
|
rows: "13",
|
|
@@ -2722,9 +2724,9 @@ const et = /* @__PURE__ */ O(Re, [["render", Ue], ["__scopeId", "data-v-8975e347
|
|
|
2722
2724
|
}
|
|
2723
2725
|
}, Pe = { class: "pt-4 pb-4" };
|
|
2724
2726
|
function Fe(t, e, l, o, s, a) {
|
|
2725
|
-
const u = r("v-autocomplete"), m = r("v-col"), h = r("v-combobox"),
|
|
2726
|
-
return w(),
|
|
2727
|
-
i(
|
|
2727
|
+
const u = r("v-autocomplete"), m = r("v-col"), h = r("v-combobox"), v = r("v-btn"), _ = r("v-row");
|
|
2728
|
+
return w(), P("div", Pe, [
|
|
2729
|
+
i(_, {
|
|
2728
2730
|
"no-gutters": !l.vertical
|
|
2729
2731
|
}, {
|
|
2730
2732
|
default: n(() => [
|
|
@@ -2775,7 +2777,7 @@ function Fe(t, e, l, o, s, a) {
|
|
|
2775
2777
|
]),
|
|
2776
2778
|
_: 1
|
|
2777
2779
|
}, 8, ["cols"]),
|
|
2778
|
-
l.chooseItem ? (w(),
|
|
2780
|
+
l.chooseItem ? (w(), T(m, {
|
|
2779
2781
|
key: 0,
|
|
2780
2782
|
cols: a.colSize,
|
|
2781
2783
|
class: "tpic-select pr-4",
|
|
@@ -2800,7 +2802,7 @@ function Fe(t, e, l, o, s, a) {
|
|
|
2800
2802
|
]),
|
|
2801
2803
|
_: 1
|
|
2802
2804
|
}, 8, ["cols"])) : V("", !0),
|
|
2803
|
-
l.chooseItem && a.itemIsArray() ? (w(),
|
|
2805
|
+
l.chooseItem && a.itemIsArray() ? (w(), T(m, {
|
|
2804
2806
|
key: 1,
|
|
2805
2807
|
cols: "1",
|
|
2806
2808
|
class: "tpic-select pr-4",
|
|
@@ -2826,20 +2828,20 @@ function Fe(t, e, l, o, s, a) {
|
|
|
2826
2828
|
]),
|
|
2827
2829
|
_: 1
|
|
2828
2830
|
})) : V("", !0),
|
|
2829
|
-
l.buttonText ? (w(),
|
|
2831
|
+
l.buttonText ? (w(), T(m, {
|
|
2830
2832
|
key: 2,
|
|
2831
2833
|
cols: a.colSize,
|
|
2832
2834
|
style: { "max-width": "140px" }
|
|
2833
2835
|
}, {
|
|
2834
2836
|
default: n(() => [
|
|
2835
|
-
i(
|
|
2837
|
+
i(v, {
|
|
2836
2838
|
disabled: a.buttonDisabled,
|
|
2837
2839
|
color: "primary",
|
|
2838
2840
|
"data-test": "select-send",
|
|
2839
2841
|
onClick: a.buttonPressed
|
|
2840
2842
|
}, {
|
|
2841
2843
|
default: n(() => [
|
|
2842
|
-
|
|
2844
|
+
y(N(a.actualButtonText), 1)
|
|
2843
2845
|
]),
|
|
2844
2846
|
_: 1
|
|
2845
2847
|
}, 8, ["disabled", "onClick"])
|
|
@@ -2849,7 +2851,7 @@ function Fe(t, e, l, o, s, a) {
|
|
|
2849
2851
|
]),
|
|
2850
2852
|
_: 1
|
|
2851
2853
|
}, 8, ["no-gutters"]),
|
|
2852
|
-
l.selectTypes ? (w(),
|
|
2854
|
+
l.selectTypes ? (w(), T(_, {
|
|
2853
2855
|
key: 0,
|
|
2854
2856
|
"no-gutters": "",
|
|
2855
2857
|
class: "pt-6"
|
|
@@ -2917,7 +2919,7 @@ function Fe(t, e, l, o, s, a) {
|
|
|
2917
2919
|
]),
|
|
2918
2920
|
_: 1
|
|
2919
2921
|
})) : V("", !0),
|
|
2920
|
-
i(
|
|
2922
|
+
i(_, {
|
|
2921
2923
|
"no-gutters": "",
|
|
2922
2924
|
class: "pa-3"
|
|
2923
2925
|
}, {
|
|
@@ -2927,9 +2929,9 @@ function Fe(t, e, l, o, s, a) {
|
|
|
2927
2929
|
class: $({ "openc3-yellow": s.hazardous })
|
|
2928
2930
|
}, {
|
|
2929
2931
|
default: n(() => [
|
|
2930
|
-
|
|
2931
|
-
s.hazardous ? (w(),
|
|
2932
|
-
|
|
2932
|
+
y(" Description: " + N(s.description) + " ", 1),
|
|
2933
|
+
s.hazardous ? (w(), P(H, { key: 0 }, [
|
|
2934
|
+
y(" (HAZARDOUS) ")
|
|
2933
2935
|
], 64)) : V("", !0)
|
|
2934
2936
|
]),
|
|
2935
2937
|
_: 1
|