x-runtime-lib 0.8.27 → 0.8.29
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/index.js +135 -123
- package/dist/types/kind.d.ts +15 -3
- package/dist/utils/name.d.ts +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as $, createElementBlock as Y, renderSlot as L, unref as n, openBlock as v, createElementVNode as ie, computed as k, normalizeStyle as Q, ref as ce, watchEffect as ue, watch as q, onBeforeMount as No, onUnmounted as
|
|
2
|
-
import { globalObjects as be, waitUtil as qi, eventBus as Qi, useViewStack as eo, messageInfo as Go, messageSuccess as Ho, messageWarning as to, messageError as no, createAxios as
|
|
1
|
+
import { defineComponent as $, createElementBlock as Y, renderSlot as L, unref as n, openBlock as v, createElementVNode as ie, computed as k, normalizeStyle as Q, ref as ce, watchEffect as ue, watch as q, onBeforeMount as No, onUnmounted as je, createBlock as V, withCtx as I, createCommentVNode as ee, useTemplateRef as Xi, onMounted as Yi, nextTick as Ji, h as ae, resolveComponent as z, createVNode as H, isRef as O, createSlots as Pn, renderList as Mo, useId as Zi, withModifiers as Ro, normalizeClass as Do, toDisplayString as Fo, inject as oe, provide as se, readonly as zn } from "vue";
|
|
2
|
+
import { globalObjects as be, waitUtil as qi, eventBus as Qi, useViewStack as eo, messageInfo as Go, messageSuccess as Ho, messageWarning as to, messageError as no, createAxios as Ko, openConfirmDlg as jo, openPromptDlg as Oo } from "x-essential-lib";
|
|
3
3
|
import { CameraHelper as io, DirectionalLightHelper as Uo, PointLightHelper as Xo, SpotLightHelper as Yo } from "three";
|
|
4
4
|
import { c as B, i as ne, q as Be, u as Jo, r as oo, e as so, a as Zo, b as qo, d as Qo, f as es, g as ts, h as ns, j as is, k as os, l as ro, X as ss, Y as rs, K as ls, m as as, n as us, o as cs, I as ms } from "./vendor.dd29fg1n.js";
|
|
5
5
|
import { getErrorMessage as ps } from "x-error-lib";
|
|
@@ -46,12 +46,16 @@ function Pc(t, e, i) {
|
|
|
46
46
|
return `${t}/${e}/${i}`;
|
|
47
47
|
}
|
|
48
48
|
function zc(t) {
|
|
49
|
-
const e = t.
|
|
50
|
-
return e <
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
49
|
+
const e = t.split("/");
|
|
50
|
+
return e.length < 3 ? (console.assert(!1, "invalid property id"), {
|
|
51
|
+
kind: "elementProperty",
|
|
52
|
+
nodeId: "",
|
|
53
|
+
propertyKey: ""
|
|
54
|
+
}) : {
|
|
55
|
+
kind: e[0],
|
|
56
|
+
nodeId: e[1],
|
|
57
|
+
propertyKey: e[2]
|
|
58
|
+
};
|
|
55
59
|
}
|
|
56
60
|
function gs(t) {
|
|
57
61
|
return t === "elementMethod" || t === "elementSlotMethod";
|
|
@@ -60,12 +64,16 @@ function Ac(t, e, i) {
|
|
|
60
64
|
return `${t}/${e}/${i}`;
|
|
61
65
|
}
|
|
62
66
|
function Lc(t) {
|
|
63
|
-
const e = t.
|
|
64
|
-
return e <
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
67
|
+
const e = t.split("/");
|
|
68
|
+
return e.length < 3 ? (console.assert(!1, "invalid method id"), {
|
|
69
|
+
kind: "elementMethod",
|
|
70
|
+
nodeId: "",
|
|
71
|
+
methodKey: ""
|
|
72
|
+
}) : {
|
|
73
|
+
kind: e[0],
|
|
74
|
+
nodeId: e[1],
|
|
75
|
+
methodKey: e[2]
|
|
76
|
+
};
|
|
69
77
|
}
|
|
70
78
|
function xs(t) {
|
|
71
79
|
return t === "elementEvent" || t === "elementPropertyChangeEvent";
|
|
@@ -74,12 +82,16 @@ function Ce(t, e, i) {
|
|
|
74
82
|
return `${t}/${e}/${i}`;
|
|
75
83
|
}
|
|
76
84
|
function Bc(t) {
|
|
77
|
-
const e = t.
|
|
78
|
-
return e <
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
85
|
+
const e = t.split("/");
|
|
86
|
+
return e.length < 3 ? (console.assert(!1, "invalid event id"), {
|
|
87
|
+
kind: "elementEvent",
|
|
88
|
+
nodeId: "",
|
|
89
|
+
eventKey: ""
|
|
90
|
+
}) : {
|
|
91
|
+
kind: e[0],
|
|
92
|
+
nodeId: e[1],
|
|
93
|
+
eventKey: e[2]
|
|
94
|
+
};
|
|
83
95
|
}
|
|
84
96
|
const Yn = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
|
|
85
97
|
function T(t) {
|
|
@@ -162,25 +174,25 @@ function ao(t, e, i) {
|
|
|
162
174
|
}
|
|
163
175
|
function Ln(t, e, i) {
|
|
164
176
|
const { i18n: o } = be;
|
|
165
|
-
let l =
|
|
166
|
-
return e.forEach((s, a) => {
|
|
177
|
+
let l = "";
|
|
178
|
+
return t && (l += t + " / "), e.forEach((s, a) => {
|
|
167
179
|
a > 0 && (l += " - "), i ? l += o.global.t(s) : l += s;
|
|
168
180
|
}), l;
|
|
169
181
|
}
|
|
170
182
|
function Ec(t, e) {
|
|
171
183
|
const { i18n: i } = be;
|
|
172
184
|
let o = "";
|
|
173
|
-
return
|
|
185
|
+
return t === "elementProperty" || (t === "refProperty" ? o = i.global.t("x-runtime-lib.ref") : t === "customProperty" ? o = i.global.t("x-runtime-lib.custom") : t === "elementSlotProperty" || t === "customSlotProperty" ? o = i.global.t("x-runtime-lib.slot") : console.assert(!1)), Ln(o, e, hs(t));
|
|
174
186
|
}
|
|
175
187
|
function Nc(t, e) {
|
|
176
188
|
const { i18n: i } = be;
|
|
177
189
|
let o = "";
|
|
178
|
-
return
|
|
190
|
+
return t === "elementMethod" || (t === "refMethod" ? o = i.global.t("x-runtime-lib.ref") : t === "customMethod" ? o = i.global.t("x-runtime-lib.custom") : t === "elementSlotMethod" || t === "customSlotMethod" ? o = i.global.t("x-runtime-lib.slot") : console.assert(!1)), Ln(o, e, gs(t));
|
|
179
191
|
}
|
|
180
192
|
function Mc(t, e) {
|
|
181
193
|
const { i18n: i } = be;
|
|
182
194
|
let o = "";
|
|
183
|
-
return
|
|
195
|
+
return t === "elementEvent" || (t === "refEvent" ? o = i.global.t("x-runtime-lib.ref") : t === "customEvent" ? o = i.global.t("x-runtime-lib.custom") : t === "elementPropertyChangeEvent" || t === "customPropertyChangeEvent" ? o = i.global.t("x-runtime-lib.propertyChange") : t === "stateChangeEvent" ? o = i.global.t("x-runtime-lib.stateChange") : console.assert(!1)), Ln(o, e, xs(t));
|
|
184
196
|
}
|
|
185
197
|
const Te = {}, _ = (t) => {
|
|
186
198
|
Te[t.key] = t;
|
|
@@ -312,7 +324,7 @@ function fo(t) {
|
|
|
312
324
|
}
|
|
313
325
|
return { show: e, position: i, type: o, data: l, applyYAxis: s };
|
|
314
326
|
}
|
|
315
|
-
function
|
|
327
|
+
function K(t) {
|
|
316
328
|
const { computedThemes: e } = ds(), i = We(), o = k(() => t.value?.mode), l = k(() => {
|
|
317
329
|
const b = t.value?.theme;
|
|
318
330
|
return b ? b === "background0" ? i.value ? "#2e2e2e" : "#bdbdbd" : b === "background1" ? i.value ? "#272727" : "#eeeeee" : b === "background2" ? i.value ? "#1e1e1e" : "#ffffff" : (i.value ? e.value.dark : e.value.light).colors[b] : void 0;
|
|
@@ -326,7 +338,7 @@ function j(t) {
|
|
|
326
338
|
return { color: a, rgb: p, alpha: d };
|
|
327
339
|
}
|
|
328
340
|
function Bn(t) {
|
|
329
|
-
const e = k(() => t.node.border?.style), i = k(() => t.node.border?.width), o = k(() => t.node.border?.color), { color: l } =
|
|
341
|
+
const e = k(() => t.node.border?.style), i = k(() => t.node.border?.width), o = k(() => t.node.border?.color), { color: l } = K(o), s = k(() => t.node.border?.roundRadius?.tl), a = k(() => t.node.border?.roundRadius?.tr), p = k(() => t.node.border?.roundRadius?.bl), d = k(() => t.node.border?.roundRadius?.br);
|
|
330
342
|
function b(m) {
|
|
331
343
|
e.value && (m.borderStyle = e.value), i.value && (m.borderWidth = i.value), l.value && (m.borderColor = l.value), s.value && (m.borderTopLeftRadius = s.value), a.value && (m.borderTopRightRadius = a.value), p.value && (m.borderBottomLeftRadius = p.value), d.value && (m.borderBottomRightRadius = d.value);
|
|
332
344
|
}
|
|
@@ -378,7 +390,7 @@ function bo(t, e, i) {
|
|
|
378
390
|
const o = k(() => e.node.basic.id), l = k(() => `callMethod@${o.value}`);
|
|
379
391
|
No(() => {
|
|
380
392
|
t.eventBus?.on(l.value, i);
|
|
381
|
-
}),
|
|
393
|
+
}), je(() => {
|
|
382
394
|
t.eventBus?.off(l.value, i);
|
|
383
395
|
});
|
|
384
396
|
}
|
|
@@ -520,7 +532,7 @@ const Vs = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
520
532
|
outer: { type: Boolean }
|
|
521
533
|
},
|
|
522
534
|
setup(t) {
|
|
523
|
-
const e = t, i = G(), { position: o, rotation: l, scale: s } = me(e), { prop: a } = r(e, ["settings", "color"]), { color: p } =
|
|
535
|
+
const e = t, i = G(), { position: o, rotation: l, scale: s } = me(e), { prop: a } = r(e, ["settings", "color"]), { color: p } = K(a), { prop: d } = r(e, ["settings", "intensity"]);
|
|
524
536
|
return (b, m) => (v(), V(n(he), {
|
|
525
537
|
position: n(o),
|
|
526
538
|
rotation: n(l),
|
|
@@ -547,7 +559,7 @@ const Vs = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
547
559
|
outer: { type: Boolean }
|
|
548
560
|
},
|
|
549
561
|
setup(t) {
|
|
550
|
-
const e = t, i = G(), { position: o, rotation: l, scale: s } = me(e), { prop: a } = r(e, ["settings", "color"]), { color: p } =
|
|
562
|
+
const e = t, i = G(), { position: o, rotation: l, scale: s } = me(e), { prop: a } = r(e, ["settings", "color"]), { color: p } = K(a), { prop: d } = r(e, ["settings", "intensity"]);
|
|
551
563
|
return (b, m) => (v(), V(n(he), {
|
|
552
564
|
position: n(o),
|
|
553
565
|
rotation: n(l),
|
|
@@ -578,7 +590,7 @@ const Vs = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
578
590
|
outer: { type: Boolean }
|
|
579
591
|
},
|
|
580
592
|
setup(t) {
|
|
581
|
-
const e = t, i = G(), { position: o, rotation: l, scale: s } = me(e), { prop: a } = r(e, ["settings", "color"]), { color: p } =
|
|
593
|
+
const e = t, i = G(), { position: o, rotation: l, scale: s } = me(e), { prop: a } = r(e, ["settings", "color"]), { color: p } = K(a), { prop: d } = r(e, ["settings", "decay"]), { prop: b } = r(e, ["settings", "distance"]), { prop: m } = r(e, ["settings", "intensity"]);
|
|
582
594
|
return (u, c) => (v(), V(n(he), {
|
|
583
595
|
position: n(o),
|
|
584
596
|
rotation: n(l),
|
|
@@ -611,7 +623,7 @@ const Vs = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
611
623
|
outer: { type: Boolean }
|
|
612
624
|
},
|
|
613
625
|
setup(t) {
|
|
614
|
-
const e = t, i = G(), { position: o, rotation: l, scale: s } = me(e), { prop: a } = r(e, ["settings", "angle"]), { prop: p } = r(e, ["settings", "color"]), { color: d } =
|
|
626
|
+
const e = t, i = G(), { position: o, rotation: l, scale: s } = me(e), { prop: a } = r(e, ["settings", "angle"]), { prop: p } = r(e, ["settings", "color"]), { color: d } = K(p), { prop: b } = r(e, ["settings", "decay"]), { prop: m } = r(e, ["settings", "distance"]), { prop: u } = r(e, ["settings", "intensity"]), { prop: c } = r(e, ["settings", "penumbra"]);
|
|
615
627
|
return (f, h) => (v(), V(n(he), {
|
|
616
628
|
position: n(o),
|
|
617
629
|
rotation: n(l),
|
|
@@ -643,7 +655,7 @@ const Vs = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
643
655
|
function Fs(t, e) {
|
|
644
656
|
return v(), Y("TresMeshBasicMaterial");
|
|
645
657
|
}
|
|
646
|
-
const Gs = /* @__PURE__ */ xe(Ds, [["render", Fs]]), Hs = ["position", "rotation", "scale"],
|
|
658
|
+
const Gs = /* @__PURE__ */ xe(Ds, [["render", Fs]]), Hs = ["position", "rotation", "scale"], Ks = /* @__PURE__ */ $({
|
|
647
659
|
__name: "index",
|
|
648
660
|
props: {
|
|
649
661
|
node: {},
|
|
@@ -668,7 +680,7 @@ const Gs = /* @__PURE__ */ xe(Ds, [["render", Fs]]), Hs = ["position", "rotation
|
|
|
668
680
|
_: 3
|
|
669
681
|
}, 8, ["position", "rotation", "scale"]));
|
|
670
682
|
}
|
|
671
|
-
}),
|
|
683
|
+
}), js = ["position", "rotation", "scale"], Os = /* @__PURE__ */ $({
|
|
672
684
|
__name: "index",
|
|
673
685
|
props: {
|
|
674
686
|
node: {},
|
|
@@ -682,7 +694,7 @@ const Gs = /* @__PURE__ */ xe(Ds, [["render", Fs]]), Hs = ["position", "rotation
|
|
|
682
694
|
scale: n(l)
|
|
683
695
|
}, [
|
|
684
696
|
L(s.$slots, "default")
|
|
685
|
-
], 8,
|
|
697
|
+
], 8, js));
|
|
686
698
|
}
|
|
687
699
|
}), Us = ["#dd6b66", "#759aa0", "#e69d87", "#8dc1a9", "#ea7e53", "#eedd78", "#73a373", "#73b9bc", "#7289ab", "#91ca8c", "#f49f42"], Xs = "#242424", Ys = {}, Js = { textStyle: { color: "#eeeeee" }, subtextStyle: { color: "#aaaaaa" } }, Zs = { itemStyle: { borderWidth: 1 }, lineStyle: { width: 2 }, symbolSize: 4, symbol: "circle", smooth: !1 }, qs = { itemStyle: { borderWidth: 1 }, lineStyle: { width: 2 }, symbolSize: 4, symbol: "circle", smooth: !1 }, Qs = { itemStyle: { barBorderWidth: 0, barBorderColor: "#ccc" } }, er = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, tr = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, nr = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, ir = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, or = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, sr = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, rr = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, lr = { itemStyle: { color: "#fd1050", color0: "#0cf49b", borderColor: "#fd1050", borderColor0: "#0cf49b", borderWidth: 1 } }, ar = { itemStyle: { borderWidth: 0, borderColor: "#ccc" }, lineStyle: { width: 1, color: "#aaa" }, symbolSize: 4, symbol: "circle", smooth: !1, color: ["#dd6b66", "#759aa0", "#e69d87", "#8dc1a9", "#ea7e53", "#eedd78", "#73a373", "#73b9bc", "#7289ab", "#91ca8c", "#f49f42"], label: { color: "#eee" } }, ur = { itemStyle: { areaColor: "#eee", borderColor: "#444", borderWidth: 0.5 }, label: { color: "#000" }, emphasis: { itemStyle: { areaColor: "rgba(255,215,0,0.8)", borderColor: "#444", borderWidth: 1 }, label: { color: "rgb(100,0,0)" } } }, cr = { itemStyle: { areaColor: "#eee", borderColor: "#444", borderWidth: 0.5 }, label: { color: "#000" }, emphasis: { itemStyle: { areaColor: "rgba(255,215,0,0.8)", borderColor: "#444", borderWidth: 1 }, label: { color: "rgb(100,0,0)" } } }, mr = { axisLine: { show: !0, lineStyle: { color: "#eeeeee" } }, axisTick: { show: !0, lineStyle: { color: "#eeeeee" } }, axisLabel: { show: !0, color: "#eeeeee" }, splitLine: { show: !0, lineStyle: { color: ["#aaaaaa"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } }, pr = { axisLine: { show: !0, lineStyle: { color: "#eeeeee" } }, axisTick: { show: !0, lineStyle: { color: "#eeeeee" } }, axisLabel: { show: !0, color: "#eeeeee" }, splitLine: { show: !0, lineStyle: { color: ["#aaaaaa"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } }, dr = { axisLine: { show: !0, lineStyle: { color: "#eeeeee" } }, axisTick: { show: !0, lineStyle: { color: "#eeeeee" } }, axisLabel: { show: !0, color: "#eeeeee" }, splitLine: { show: !0, lineStyle: { color: ["#aaaaaa"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } }, fr = { axisLine: { show: !0, lineStyle: { color: "#eeeeee" } }, axisTick: { show: !0, lineStyle: { color: "#eeeeee" } }, axisLabel: { show: !0, color: "#eeeeee" }, splitLine: { show: !0, lineStyle: { color: ["#aaaaaa"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } }, br = { iconStyle: { borderColor: "#999" }, emphasis: { iconStyle: { borderColor: "#666" } } }, yr = { textStyle: { color: "#eeeeee" } }, hr = { axisPointer: { lineStyle: { color: "#eeeeee", width: "1" }, crossStyle: { color: "#eeeeee", width: "1" } } }, gr = { lineStyle: { color: "#eeeeee", width: 1 }, itemStyle: { color: "#dd6b66", borderWidth: 1 }, controlStyle: { color: "#eeeeee", borderColor: "#eeeeee", borderWidth: 0.5 }, checkpointStyle: { color: "#e43c59", borderColor: "#c23531" }, label: { color: "#eeeeee" }, emphasis: { itemStyle: { color: "#a9334c" }, controlStyle: { color: "#eeeeee", borderColor: "#eeeeee", borderWidth: 0.5 }, label: { color: "#eeeeee" } } }, xr = { color: ["#bf444c", "#d88273", "#f6efa6"] }, vr = { backgroundColor: "rgba(47,69,84,0)", dataBackgroundColor: "rgba(255,255,255,0.3)", fillerColor: "rgba(167,183,204,0.4)", handleColor: "#a7b7cc", handleSize: "100%", textStyle: { color: "#eeeeee" } }, kr = { label: { color: "#eee" }, emphasis: { label: { color: "#eee" } } }, _r = {
|
|
688
700
|
color: Us,
|
|
@@ -714,7 +726,7 @@ const Gs = /* @__PURE__ */ xe(Ds, [["render", Fs]]), Hs = ["position", "rotation
|
|
|
714
726
|
visualMap: xr,
|
|
715
727
|
dataZoom: vr,
|
|
716
728
|
markPoint: kr
|
|
717
|
-
}, wr = ["#dd6b66", "#759aa0", "#e69d87", "#8dc1a9", "#ea7e53", "#eedd78", "#73a373", "#73b9bc", "#7289ab", "#91ca8c", "#f49f42"], Vr = "#f5f5f5", $r = {}, Ir = { textStyle: { color: "#464646" }, subtextStyle: { color: "#6e7079" } }, Sr = { itemStyle: { borderWidth: 1 }, lineStyle: { width: 2 }, symbolSize: 4, symbol: "circle", smooth: !1 }, Cr = { itemStyle: { borderWidth: 1 }, lineStyle: { width: 2 }, symbolSize: 4, symbol: "circle", smooth: !1 }, Tr = { itemStyle: { barBorderWidth: 0, barBorderColor: "#ccc" } }, Pr = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, zr = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Ar = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Lr = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Br = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Wr = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Er = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Nr = { itemStyle: { color: "#eb5454", color0: "#47b262", borderColor: "#eb5454", borderColor0: "#47b262", borderWidth: 1 } }, Mr = { itemStyle: { borderWidth: 0, borderColor: "#ccc" }, lineStyle: { width: 1, color: "#aaa" }, symbolSize: 4, symbol: "circle", smooth: !1, color: ["#dd6b66", "#759aa0", "#e69d87", "#8dc1a9", "#ea7e53", "#eedd78", "#73a373", "#73b9bc", "#7289ab", "#91ca8c", "#f49f42"], label: { color: "#eee" } }, Rr = { itemStyle: { areaColor: "#eee", borderColor: "#444", borderWidth: 0.5 }, label: { color: "#000" }, emphasis: { itemStyle: { areaColor: "rgba(255,215,0,0.8)", borderColor: "#444", borderWidth: 1 }, label: { color: "rgb(100,0,0)" } } }, Dr = { itemStyle: { areaColor: "#eee", borderColor: "#444", borderWidth: 0.5 }, label: { color: "#000" }, emphasis: { itemStyle: { areaColor: "rgba(255,215,0,0.8)", borderColor: "#444", borderWidth: 1 }, label: { color: "rgb(100,0,0)" } } }, Fr = { axisLine: { show: !0, lineStyle: { color: "#6e7079" } }, axisTick: { show: !0, lineStyle: { color: "#6e7079" } }, axisLabel: { show: !0, color: "#6e7079" }, splitLine: { show: !0, lineStyle: { color: ["#e0e6f1"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } }, Gr = { axisLine: { show: !0, lineStyle: { color: "#6e7079" } }, axisTick: { show: !0, lineStyle: { color: "#6e7079" } }, axisLabel: { show: !0, color: "#6e7079" }, splitLine: { show: !0, lineStyle: { color: ["#e0e6f1"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } }, Hr = { axisLine: { show: !0, lineStyle: { color: "#6e7079" } }, axisTick: { show: !0, lineStyle: { color: "#6e7079" } }, axisLabel: { show: !0, color: "#6e7079" }, splitLine: { show: !0, lineStyle: { color: ["#e0e6f1"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } },
|
|
729
|
+
}, wr = ["#dd6b66", "#759aa0", "#e69d87", "#8dc1a9", "#ea7e53", "#eedd78", "#73a373", "#73b9bc", "#7289ab", "#91ca8c", "#f49f42"], Vr = "#f5f5f5", $r = {}, Ir = { textStyle: { color: "#464646" }, subtextStyle: { color: "#6e7079" } }, Sr = { itemStyle: { borderWidth: 1 }, lineStyle: { width: 2 }, symbolSize: 4, symbol: "circle", smooth: !1 }, Cr = { itemStyle: { borderWidth: 1 }, lineStyle: { width: 2 }, symbolSize: 4, symbol: "circle", smooth: !1 }, Tr = { itemStyle: { barBorderWidth: 0, barBorderColor: "#ccc" } }, Pr = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, zr = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Ar = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Lr = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Br = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Wr = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Er = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Nr = { itemStyle: { color: "#eb5454", color0: "#47b262", borderColor: "#eb5454", borderColor0: "#47b262", borderWidth: 1 } }, Mr = { itemStyle: { borderWidth: 0, borderColor: "#ccc" }, lineStyle: { width: 1, color: "#aaa" }, symbolSize: 4, symbol: "circle", smooth: !1, color: ["#dd6b66", "#759aa0", "#e69d87", "#8dc1a9", "#ea7e53", "#eedd78", "#73a373", "#73b9bc", "#7289ab", "#91ca8c", "#f49f42"], label: { color: "#eee" } }, Rr = { itemStyle: { areaColor: "#eee", borderColor: "#444", borderWidth: 0.5 }, label: { color: "#000" }, emphasis: { itemStyle: { areaColor: "rgba(255,215,0,0.8)", borderColor: "#444", borderWidth: 1 }, label: { color: "rgb(100,0,0)" } } }, Dr = { itemStyle: { areaColor: "#eee", borderColor: "#444", borderWidth: 0.5 }, label: { color: "#000" }, emphasis: { itemStyle: { areaColor: "rgba(255,215,0,0.8)", borderColor: "#444", borderWidth: 1 }, label: { color: "rgb(100,0,0)" } } }, Fr = { axisLine: { show: !0, lineStyle: { color: "#6e7079" } }, axisTick: { show: !0, lineStyle: { color: "#6e7079" } }, axisLabel: { show: !0, color: "#6e7079" }, splitLine: { show: !0, lineStyle: { color: ["#e0e6f1"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } }, Gr = { axisLine: { show: !0, lineStyle: { color: "#6e7079" } }, axisTick: { show: !0, lineStyle: { color: "#6e7079" } }, axisLabel: { show: !0, color: "#6e7079" }, splitLine: { show: !0, lineStyle: { color: ["#e0e6f1"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } }, Hr = { axisLine: { show: !0, lineStyle: { color: "#6e7079" } }, axisTick: { show: !0, lineStyle: { color: "#6e7079" } }, axisLabel: { show: !0, color: "#6e7079" }, splitLine: { show: !0, lineStyle: { color: ["#e0e6f1"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } }, Kr = { axisLine: { show: !0, lineStyle: { color: "#6e7079" } }, axisTick: { show: !0, lineStyle: { color: "#6e7079" } }, axisLabel: { show: !0, color: "#6e7079" }, splitLine: { show: !0, lineStyle: { color: ["#e0e6f1"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } }, jr = { iconStyle: { borderColor: "#999" }, emphasis: { iconStyle: { borderColor: "#666" } } }, Or = { textStyle: { color: "#333333" } }, Ur = { axisPointer: { lineStyle: { color: "#cccccc", width: "1" }, crossStyle: { color: "#cccccc", width: "1" } } }, Xr = { lineStyle: { color: "#eeeeee", width: "2" }, itemStyle: { color: "#dd6b66", borderWidth: 1 }, controlStyle: { color: "#eeeeee", borderColor: "#eeeeee", borderWidth: "1" }, checkpointStyle: { color: "#e43c59", borderColor: "#c23531" }, label: { color: "#eeeeee" }, emphasis: { itemStyle: { color: "#a9334c" }, controlStyle: { color: "#eeeeee", borderColor: "#eeeeee", borderWidth: "1" }, label: { color: "#eeeeee" } } }, Yr = { color: ["#bf444c", "#d88273", "#f6efa6"] }, Jr = { backgroundColor: "rgba(47,69,84,0)", dataBackgroundColor: "rgba(255,255,255,0.3)", fillerColor: "rgba(167,183,204,0.4)", handleColor: "#a7b7cc", handleSize: "100%", textStyle: { color: "#eeeeee" } }, Zr = { label: { color: "#eee" }, emphasis: { label: { color: "#eee" } } }, qr = {
|
|
718
730
|
color: wr,
|
|
719
731
|
backgroundColor: Vr,
|
|
720
732
|
textStyle: $r,
|
|
@@ -736,8 +748,8 @@ const Gs = /* @__PURE__ */ xe(Ds, [["render", Fs]]), Hs = ["position", "rotation
|
|
|
736
748
|
categoryAxis: Fr,
|
|
737
749
|
valueAxis: Gr,
|
|
738
750
|
logAxis: Hr,
|
|
739
|
-
timeAxis:
|
|
740
|
-
toolbox:
|
|
751
|
+
timeAxis: Kr,
|
|
752
|
+
toolbox: jr,
|
|
741
753
|
legend: Or,
|
|
742
754
|
tooltip: Ur,
|
|
743
755
|
timeline: Xr,
|
|
@@ -781,7 +793,7 @@ const Qr = /* @__PURE__ */ $({
|
|
|
781
793
|
};
|
|
782
794
|
return Yi(async () => {
|
|
783
795
|
window.addEventListener("resize", R, !1), await qi(() => !!M.value), F(), E();
|
|
784
|
-
}),
|
|
796
|
+
}), je(() => {
|
|
785
797
|
window.removeEventListener("resize", R, !1), W?.dispose();
|
|
786
798
|
}), q(
|
|
787
799
|
[
|
|
@@ -834,7 +846,7 @@ const Qr = /* @__PURE__ */ $({
|
|
|
834
846
|
};
|
|
835
847
|
return Yi(async () => {
|
|
836
848
|
window.addEventListener("resize", R, !1), await qi(() => !!M.value), F(), E();
|
|
837
|
-
}),
|
|
849
|
+
}), je(() => {
|
|
838
850
|
window.removeEventListener("resize", R, !1), W?.dispose();
|
|
839
851
|
}), q(
|
|
840
852
|
[
|
|
@@ -966,13 +978,13 @@ const Qr = /* @__PURE__ */ $({
|
|
|
966
978
|
"settings",
|
|
967
979
|
"addIcon",
|
|
968
980
|
"append"
|
|
969
|
-
]), { prop: s } = r(e, ["settings", "block"]), { prop: a } = r(e, ["settings", "color"]), { color: p } =
|
|
981
|
+
]), { prop: s } = r(e, ["settings", "block"]), { prop: a } = r(e, ["settings", "color"]), { color: p } = K(a), { prop: d } = r(e, ["settings", "density"]), { prop: b } = r(e, ["settings", "disabled"]), { prop: m } = r(e, ["size", "height"]), { prop: u } = r(e, ["settings", "loading"]), { prop: c } = r(e, ["size", "maxHeight"]), { prop: f } = r(e, ["size", "maxWidth"]), { prop: h } = r(e, ["size", "minHeight"]), { prop: x } = r(e, ["size", "minWidth"]), { prop: g } = r(e, [
|
|
970
982
|
"settings",
|
|
971
983
|
"addIcon",
|
|
972
984
|
"prepend"
|
|
973
985
|
]), { prop: w } = r(e, ["settings", "readonly"]), { prop: C } = r(e, ["settings", "ripple"]), { prop: M } = r(e, ["settings", "size"]), { prop: W } = r(e, ["settings", "stacked"]), { prop: F } = r(e, ["settings", "text"]), { theme: R } = N(), { prop: E } = r(e, ["settings", "variant"]), { prop: S } = r(e, ["size", "width"]), D = (J) => {
|
|
974
986
|
i !== "runtime" && i !== "preview" || (o.setVariable("__pointerPosX__", J.clientX), o.setVariable("__pointerPosY__", J.clientY), o.callFunction("__triggerEventV1__", [
|
|
975
|
-
Ce("elementEvent",
|
|
987
|
+
Ce("elementEvent", e.node.basic.id, "click")
|
|
976
988
|
]));
|
|
977
989
|
};
|
|
978
990
|
return (J, te) => {
|
|
@@ -1104,7 +1116,7 @@ const sl = /* @__PURE__ */ xe(il, [["render", ol]]), rl = /* @__PURE__ */ $({
|
|
|
1104
1116
|
outer: { type: Boolean }
|
|
1105
1117
|
},
|
|
1106
1118
|
setup(t) {
|
|
1107
|
-
const e = t, { prop: i } = r(e, ["settings", "closable"]), { prop: o } = r(e, ["settings", "color"]), { color: l } =
|
|
1119
|
+
const e = t, { prop: i } = r(e, ["settings", "closable"]), { prop: o } = r(e, ["settings", "color"]), { color: l } = K(o), { prop: s } = r(e, ["settings", "density"]), { prop: a } = r(e, ["settings", "disabled"]), { prop: p } = r(e, ["settings", "draggable"]), { prop: d } = r(e, ["settings", "filter"]), { prop: b } = r(e, ["settings", "label"]), { prop: m } = r(e, ["settings", "size"]), { prop: u } = r(e, ["settings", "text"]), { theme: c } = N(), { prop: f } = r(e, ["settings", "tile"]), { prop: h } = r(e, ["settings", "value"]), { prop: x } = r(e, ["settings", "variant"]);
|
|
1108
1120
|
return (g, w) => {
|
|
1109
1121
|
const C = z("v-chip");
|
|
1110
1122
|
return v(), V(C, {
|
|
@@ -1219,7 +1231,7 @@ const sl = /* @__PURE__ */ xe(il, [["render", ol]]), rl = /* @__PURE__ */ $({
|
|
|
1219
1231
|
const e = t, i = pe(), o = de(), { prop: l } = r(e, [
|
|
1220
1232
|
"settings",
|
|
1221
1233
|
"backgroundColor"
|
|
1222
|
-
]), { color: s } =
|
|
1234
|
+
]), { color: s } = K(l), { applySize: a } = ge(e), { applyMargin: p } = Wn(e), { applyPadding: d } = En(e), { applyBorder: b } = Bn(e), m = k(() => {
|
|
1223
1235
|
const u = {}, c = o.value.type;
|
|
1224
1236
|
return i === "page" ? c === "common" ? (a(u), p(u), d(u), b(u), s.value && (u.backgroundColor = s.value)) : console.assert(!1) : i === "comp" && c === "common" ? (a(u), p(u), d(u), b(u), s.value && (u.backgroundColor = s.value)) : console.assert(!1), u;
|
|
1225
1237
|
});
|
|
@@ -1341,7 +1353,7 @@ const hl = /* @__PURE__ */ xe(bl, [["render", yl]]), gl = ["id"], xl = /* @__PUR
|
|
|
1341
1353
|
const e = t, i = $e(), o = pe(), l = de(), { applySize: s } = ge(e), { applyMargin: a } = Wn(e), { applyPadding: p } = En(e), { applyBorder: d } = Bn(e), { prop: b } = r(e, [
|
|
1342
1354
|
"settings",
|
|
1343
1355
|
"backgroundColor"
|
|
1344
|
-
]), { color: m } =
|
|
1356
|
+
]), { color: m } = K(b), u = (f) => {
|
|
1345
1357
|
m.value && (f.backgroundColor = m.value), f.display = "flex";
|
|
1346
1358
|
const h = Re(i.value.width), x = Ie(h, e.node.settings?.direction);
|
|
1347
1359
|
x === "row" ? f.flexDirection = "row" : x === "rowReverse" ? f.flexDirection = "row-reverse" : x === "column" ? f.flexDirection = "column" : x === "columnReverse" && (f.flexDirection = "column-reverse");
|
|
@@ -1388,12 +1400,12 @@ const hl = /* @__PURE__ */ xe(bl, [["render", yl]]), gl = ["id"], xl = /* @__PUR
|
|
|
1388
1400
|
const e = t, i = G(), o = pe(), l = de(), s = Ee(), { prop: a } = r(e, ["settings", "valid"]), { prop: p } = r(e, ["settings", "fastFail"]), { prop: d } = r(e, [
|
|
1389
1401
|
"settings",
|
|
1390
1402
|
"backgroundColor"
|
|
1391
|
-
]), { color: b } =
|
|
1403
|
+
]), { color: b } = K(d), { applySize: m } = ge(e), { applyMargin: u } = Wn(e), { applyPadding: c } = En(e), { applyBorder: f } = Bn(e), h = k(() => {
|
|
1392
1404
|
const g = {}, w = l.value.type;
|
|
1393
1405
|
return o === "page" ? w === "common" ? (m(g), u(g), c(g), f(g), b.value && (g.backgroundColor = b.value)) : console.assert(!1) : o === "comp" && w === "common" ? (m(g), u(g), c(g), f(g), b.value && (g.backgroundColor = b.value)) : console.assert(!1), g;
|
|
1394
1406
|
}), x = () => {
|
|
1395
1407
|
i !== "runtime" && i !== "preview" || s.callFunction("__triggerEventV1__", [
|
|
1396
|
-
Ce("elementEvent",
|
|
1408
|
+
Ce("elementEvent", e.node.basic.id, "submit")
|
|
1397
1409
|
]);
|
|
1398
1410
|
};
|
|
1399
1411
|
return (g, w) => {
|
|
@@ -1419,7 +1431,7 @@ const hl = /* @__PURE__ */ xe(bl, [["render", yl]]), gl = ["id"], xl = /* @__PUR
|
|
|
1419
1431
|
outer: { type: Boolean }
|
|
1420
1432
|
},
|
|
1421
1433
|
setup(t) {
|
|
1422
|
-
const e = t, { prop: i } = r(e, ["settings", "color"]), { color: o } =
|
|
1434
|
+
const e = t, { prop: i } = r(e, ["settings", "color"]), { color: o } = K(i), { prop: l } = r(e, ["settings", "disabled"]), { prop: s } = r(e, ["settings", "icon"]), { prop: a } = r(e, ["settings", "size"]), { theme: p } = N();
|
|
1423
1435
|
return (d, b) => {
|
|
1424
1436
|
const m = z("v-icon");
|
|
1425
1437
|
return v(), V(m, {
|
|
@@ -1571,7 +1583,7 @@ const hl = /* @__PURE__ */ xe(bl, [["render", yl]]), gl = ["id"], xl = /* @__PUR
|
|
|
1571
1583
|
outer: { type: Boolean }
|
|
1572
1584
|
},
|
|
1573
1585
|
setup(t) {
|
|
1574
|
-
const e = t, { prop: i } = r(e, ["settings", "color"]), { color: o } =
|
|
1586
|
+
const e = t, { prop: i } = r(e, ["settings", "color"]), { color: o } = K(i), { prop: l } = r(e, ["settings", "density"]), { prop: s } = r(e, ["settings", "disabled"]), { prop: a } = r(e, ["settings", "label"]), { prop: p } = r(e, ["settings", "readonly"]), { theme: d } = N(), { prop: b } = r(e, ["settings", "value"]);
|
|
1575
1587
|
return (m, u) => {
|
|
1576
1588
|
const c = z("v-radio");
|
|
1577
1589
|
return v(), V(c, {
|
|
@@ -1752,7 +1764,7 @@ const hl = /* @__PURE__ */ xe(bl, [["render", yl]]), gl = ["id"], xl = /* @__PUR
|
|
|
1752
1764
|
outer: { type: Boolean }
|
|
1753
1765
|
},
|
|
1754
1766
|
setup(t) {
|
|
1755
|
-
const e = t, { prop: i } = r(e, ["settings", "color"]), { color: o } =
|
|
1767
|
+
const e = t, { prop: i } = r(e, ["settings", "color"]), { color: o } = K(i), { prop: l } = r(e, ["settings", "direction"]), { prop: s } = r(e, ["settings", "disabled"]), { prop: a } = r(e, ["settings", "hideDetails"]), { prop: p } = r(e, ["settings", "label"]), { prop: d } = r(e, ["settings", "max"]), { prop: b } = r(e, ["settings", "min"]), { prop: m } = r(e, ["settings", "readonly"]), { prop: u } = r(e, ["settings", "reverse"]), { prop: c } = r(e, ["settings", "showTicks"]), f = k(() => {
|
|
1756
1768
|
if (c.value === "always")
|
|
1757
1769
|
return "always";
|
|
1758
1770
|
if (c.value === "show")
|
|
@@ -1760,7 +1772,7 @@ const hl = /* @__PURE__ */ xe(bl, [["render", yl]]), gl = ["id"], xl = /* @__PUR
|
|
|
1760
1772
|
}), { prop: h } = r(e, ["settings", "step"]), { theme: x } = N(), { prop: g } = r(e, [
|
|
1761
1773
|
"settings",
|
|
1762
1774
|
"thumbColor"
|
|
1763
|
-
]), { color: w } =
|
|
1775
|
+
]), { color: w } = K(g), { prop: C } = r(e, [
|
|
1764
1776
|
"settings",
|
|
1765
1777
|
"thumbLabel"
|
|
1766
1778
|
]), M = k(() => {
|
|
@@ -1779,7 +1791,7 @@ const hl = /* @__PURE__ */ xe(bl, [["render", yl]]), gl = ["id"], xl = /* @__PUR
|
|
|
1779
1791
|
}), { prop: E } = r(e, ["settings", "tickSize"]), { prop: S } = r(e, [
|
|
1780
1792
|
"settings",
|
|
1781
1793
|
"trackColor"
|
|
1782
|
-
]), { color: D } =
|
|
1794
|
+
]), { color: D } = K(S), { prop: J } = r(e, ["settings", "value"]), { prop: te } = r(e, ["slots", "append"]), { prop: re } = r(e, ["slots", "prepend"]);
|
|
1783
1795
|
return (le, Ne) => {
|
|
1784
1796
|
const Ut = z("v-slider");
|
|
1785
1797
|
return v(), V(n(Z), null, {
|
|
@@ -1911,7 +1923,7 @@ const Gl = /* @__PURE__ */ xe(Dl, [["render", Fl]]), Hl = /* @__PURE__ */ $({
|
|
|
1911
1923
|
}, 8, ["value"]);
|
|
1912
1924
|
};
|
|
1913
1925
|
}
|
|
1914
|
-
}),
|
|
1926
|
+
}), Kl = /* @__PURE__ */ $({
|
|
1915
1927
|
__name: "index",
|
|
1916
1928
|
props: {
|
|
1917
1929
|
node: {},
|
|
@@ -1945,7 +1957,7 @@ const Gl = /* @__PURE__ */ xe(Dl, [["render", Fl]]), Hl = /* @__PURE__ */ $({
|
|
|
1945
1957
|
});
|
|
1946
1958
|
};
|
|
1947
1959
|
}
|
|
1948
|
-
}),
|
|
1960
|
+
}), jl = /* @__PURE__ */ $({
|
|
1949
1961
|
__name: "index",
|
|
1950
1962
|
props: {
|
|
1951
1963
|
node: {},
|
|
@@ -1982,18 +1994,18 @@ const Gl = /* @__PURE__ */ xe(Dl, [["render", Fl]]), Hl = /* @__PURE__ */ $({
|
|
|
1982
1994
|
"settings",
|
|
1983
1995
|
"color",
|
|
1984
1996
|
"backgroundColor"
|
|
1985
|
-
]), { color: l } =
|
|
1997
|
+
]), { color: l } = K(o), { prop: s } = r(e, [
|
|
1986
1998
|
"settings",
|
|
1987
1999
|
"centerActive"
|
|
1988
2000
|
]), { prop: a } = r(e, [
|
|
1989
2001
|
"settings",
|
|
1990
2002
|
"color",
|
|
1991
2003
|
"selectedColor"
|
|
1992
|
-
]), { color: p } =
|
|
2004
|
+
]), { color: p } = K(a), { prop: d } = r(e, ["settings", "density"]), { prop: b } = r(e, ["settings", "direction"]), { prop: m } = r(e, ["settings", "disabled"]), { prop: u } = r(e, ["settings", "fixedTabs"]), { prop: c } = r(e, ["settings", "grow"]), { prop: f } = r(e, ["settings", "hideSlider"]), { prop: h } = r(e, ["settings", "items"]), { prop: x } = r(e, ["settings", "mandatory"]), { prop: g } = r(e, ["settings", "showArrows"]), { prop: w } = r(e, [
|
|
1993
2005
|
"settings",
|
|
1994
2006
|
"color",
|
|
1995
2007
|
"sliderColor"
|
|
1996
|
-
]), { color: C } =
|
|
2008
|
+
]), { color: C } = K(w), { prop: M } = r(e, ["settings", "stacked"]), { theme: W } = N(), { prop: F } = r(e, ["settings", "value"]);
|
|
1997
2009
|
return (R, E) => {
|
|
1998
2010
|
const S = z("v-tabs");
|
|
1999
2011
|
return v(), V(S, {
|
|
@@ -2177,14 +2189,14 @@ const Gl = /* @__PURE__ */ xe(Dl, [["render", Fl]]), Hl = /* @__PURE__ */ $({
|
|
|
2177
2189
|
"settings",
|
|
2178
2190
|
"dot",
|
|
2179
2191
|
"color"
|
|
2180
|
-
]), { color: a } =
|
|
2192
|
+
]), { color: a } = K(s), { prop: p } = r(e, ["settings", "dot", "fill"]), { prop: d } = r(e, [
|
|
2181
2193
|
"settings",
|
|
2182
2194
|
"hideOpposite"
|
|
2183
2195
|
]), { prop: b } = r(e, [
|
|
2184
2196
|
"settings",
|
|
2185
2197
|
"line",
|
|
2186
2198
|
"color"
|
|
2187
|
-
]), { color: m } =
|
|
2199
|
+
]), { color: m } = K(b), { prop: u } = r(e, ["settings", "line", "inset"]), { prop: c } = r(e, [
|
|
2188
2200
|
"settings",
|
|
2189
2201
|
"line",
|
|
2190
2202
|
"thickness"
|
|
@@ -2289,7 +2301,7 @@ const ia = /* @__PURE__ */ xe(ta, [["render", na]]), Ue = "ambient_light_v1", Xe
|
|
|
2289
2301
|
default: ""
|
|
2290
2302
|
}
|
|
2291
2303
|
]
|
|
2292
|
-
},
|
|
2304
|
+
}, j = {
|
|
2293
2305
|
key: "color",
|
|
2294
2306
|
name: "x-runtime-lib.color",
|
|
2295
2307
|
children: [
|
|
@@ -2326,7 +2338,7 @@ const ia = /* @__PURE__ */ xe(ta, [["render", na]]), Ue = "ambient_light_v1", Xe
|
|
|
2326
2338
|
]
|
|
2327
2339
|
}
|
|
2328
2340
|
]
|
|
2329
|
-
}, sa = B(
|
|
2341
|
+
}, sa = B(j), _e = {
|
|
2330
2342
|
key: "border",
|
|
2331
2343
|
name: "x-runtime-lib.border",
|
|
2332
2344
|
children: [
|
|
@@ -2660,7 +2672,7 @@ const ia = /* @__PURE__ */ xe(ta, [["render", na]]), Ue = "ambient_light_v1", Xe
|
|
|
2660
2672
|
defaultArray: []
|
|
2661
2673
|
}
|
|
2662
2674
|
]
|
|
2663
|
-
},
|
|
2675
|
+
}, Ke = {
|
|
2664
2676
|
key: "yAxis",
|
|
2665
2677
|
name: "x-runtime-lib.yAxis",
|
|
2666
2678
|
children: [
|
|
@@ -3138,7 +3150,7 @@ const ei = {
|
|
|
3138
3150
|
spawn: ha
|
|
3139
3151
|
};
|
|
3140
3152
|
_(on);
|
|
3141
|
-
const Gt = B(
|
|
3153
|
+
const Gt = B(j);
|
|
3142
3154
|
Gt.children[0].default = "custom";
|
|
3143
3155
|
Gt.children[2].children[0].default = "0xffffff";
|
|
3144
3156
|
Gt.children[2].children[1].default = "0xffffff";
|
|
@@ -3168,7 +3180,7 @@ const ti = {
|
|
|
3168
3180
|
slots: []
|
|
3169
3181
|
};
|
|
3170
3182
|
_(va);
|
|
3171
|
-
const Ht = B(
|
|
3183
|
+
const Ht = B(j);
|
|
3172
3184
|
Ht.children[0].default = "custom";
|
|
3173
3185
|
Ht.children[2].children[0].default = "0xffffff";
|
|
3174
3186
|
Ht.children[2].children[1].default = "0xffffff";
|
|
@@ -3198,15 +3210,15 @@ const ni = {
|
|
|
3198
3210
|
slots: []
|
|
3199
3211
|
};
|
|
3200
3212
|
_(ka);
|
|
3201
|
-
const
|
|
3202
|
-
|
|
3203
|
-
|
|
3204
|
-
|
|
3213
|
+
const Kt = B(j);
|
|
3214
|
+
Kt.children[0].default = "custom";
|
|
3215
|
+
Kt.children[2].children[0].default = "0xffffff";
|
|
3216
|
+
Kt.children[2].children[1].default = "0xffffff";
|
|
3205
3217
|
const ii = {
|
|
3206
3218
|
key: "settings",
|
|
3207
3219
|
name: "x-runtime-lib.settings",
|
|
3208
3220
|
children: [
|
|
3209
|
-
|
|
3221
|
+
Kt,
|
|
3210
3222
|
{
|
|
3211
3223
|
key: "intensity",
|
|
3212
3224
|
name: "x-runtime-lib.intensity",
|
|
@@ -3242,15 +3254,15 @@ const ii = {
|
|
|
3242
3254
|
slots: []
|
|
3243
3255
|
};
|
|
3244
3256
|
_(_a);
|
|
3245
|
-
const
|
|
3246
|
-
|
|
3247
|
-
|
|
3248
|
-
|
|
3257
|
+
const jt = B(j);
|
|
3258
|
+
jt.children[0].default = "custom";
|
|
3259
|
+
jt.children[2].children[0].default = "0xffffff";
|
|
3260
|
+
jt.children[2].children[1].default = "0xffffff";
|
|
3249
3261
|
const oi = {
|
|
3250
3262
|
key: "settings",
|
|
3251
3263
|
name: "x-runtime-lib.settings",
|
|
3252
3264
|
children: [
|
|
3253
|
-
|
|
3265
|
+
jt,
|
|
3254
3266
|
{
|
|
3255
3267
|
key: "intensity",
|
|
3256
3268
|
name: "x-runtime-lib.intensity",
|
|
@@ -3320,7 +3332,7 @@ _(Pe);
|
|
|
3320
3332
|
const Va = {
|
|
3321
3333
|
key: ft,
|
|
3322
3334
|
name: "x-runtime-lib.group",
|
|
3323
|
-
comp:
|
|
3335
|
+
comp: Ks,
|
|
3324
3336
|
props: {
|
|
3325
3337
|
pageScene: [y, X],
|
|
3326
3338
|
compScene: [y, X]
|
|
@@ -3388,8 +3400,8 @@ const si = {
|
|
|
3388
3400
|
name: "x-runtime-lib.barChart",
|
|
3389
3401
|
comp: Qr,
|
|
3390
3402
|
props: {
|
|
3391
|
-
pageCommon: [y, U, Ge, He,
|
|
3392
|
-
compCommon: [y, U, Ge, He,
|
|
3403
|
+
pageCommon: [y, U, Ge, He, Ke, Fe, si],
|
|
3404
|
+
compCommon: [y, U, Ge, He, Ke, Fe, si]
|
|
3393
3405
|
},
|
|
3394
3406
|
events: [],
|
|
3395
3407
|
methods: [],
|
|
@@ -3443,8 +3455,8 @@ const ri = {
|
|
|
3443
3455
|
name: "x-runtime-lib.lineChart",
|
|
3444
3456
|
comp: el,
|
|
3445
3457
|
props: {
|
|
3446
|
-
pageCommon: [y, U, Ge, He,
|
|
3447
|
-
compCommon: [y, U, Ge, He,
|
|
3458
|
+
pageCommon: [y, U, Ge, He, Ke, Fe, ri],
|
|
3459
|
+
compCommon: [y, U, Ge, He, Ke, Fe, ri]
|
|
3448
3460
|
},
|
|
3449
3461
|
events: [],
|
|
3450
3462
|
methods: [],
|
|
@@ -3453,7 +3465,7 @@ const ri = {
|
|
|
3453
3465
|
spawn: Ia
|
|
3454
3466
|
};
|
|
3455
3467
|
_(rn);
|
|
3456
|
-
const Ot = B(
|
|
3468
|
+
const Ot = B(j);
|
|
3457
3469
|
Ot.key = "backgroundColor";
|
|
3458
3470
|
Ot.name = "x-runtime-lib.backgroundColor";
|
|
3459
3471
|
const li = {
|
|
@@ -3574,7 +3586,7 @@ function Ca(t, e) {
|
|
|
3574
3586
|
const s = {};
|
|
3575
3587
|
return P(s, l), s.basic.id = T(16), s.basic.key = ln.key, s.settings.text = "button", s;
|
|
3576
3588
|
}
|
|
3577
|
-
const Ta = B(
|
|
3589
|
+
const Ta = B(j), ci = {
|
|
3578
3590
|
key: "settings",
|
|
3579
3591
|
name: "x-runtime-lib.settings",
|
|
3580
3592
|
children: [
|
|
@@ -3883,7 +3895,7 @@ const di = {
|
|
|
3883
3895
|
leaf: !0
|
|
3884
3896
|
};
|
|
3885
3897
|
_(La);
|
|
3886
|
-
const Ba = B(
|
|
3898
|
+
const Ba = B(j), fi = {
|
|
3887
3899
|
key: "settings",
|
|
3888
3900
|
name: "x-runtime-lib.settings",
|
|
3889
3901
|
children: [
|
|
@@ -4144,7 +4156,7 @@ const yi = {
|
|
|
4144
4156
|
leaf: !0
|
|
4145
4157
|
};
|
|
4146
4158
|
_(Na);
|
|
4147
|
-
const Fn = B(
|
|
4159
|
+
const Fn = B(j);
|
|
4148
4160
|
Fn.key = "backgroundColor";
|
|
4149
4161
|
Fn.name = "x-runtime-lib.backgroundColor";
|
|
4150
4162
|
const hi = {
|
|
@@ -4505,7 +4517,7 @@ function Ga(t, e) {
|
|
|
4505
4517
|
)
|
|
4506
4518
|
], s;
|
|
4507
4519
|
}
|
|
4508
|
-
const Gn = B(
|
|
4520
|
+
const Gn = B(j);
|
|
4509
4521
|
Gn.key = "backgroundColor";
|
|
4510
4522
|
Gn.name = "x-runtime-lib.backgroundColor";
|
|
4511
4523
|
const wi = {
|
|
@@ -4899,9 +4911,9 @@ function Ha(t, e) {
|
|
|
4899
4911
|
return;
|
|
4900
4912
|
}
|
|
4901
4913
|
const s = {};
|
|
4902
|
-
return P(s, l), s.basic.id = T(16), s.basic.key = fn.key, s.children = [
|
|
4914
|
+
return P(s, l), s.basic.id = T(16), s.basic.key = fn.key, s.children = [Ka(t, e)], s;
|
|
4903
4915
|
}
|
|
4904
|
-
function
|
|
4916
|
+
function Ka(t, e) {
|
|
4905
4917
|
const i = `type=${t} subtype=${e}`, o = A(t, e);
|
|
4906
4918
|
if (!o) {
|
|
4907
4919
|
console.error(`formV1/spawnTextField prop tag not found, ${i}`);
|
|
@@ -4953,7 +4965,7 @@ const Ii = {
|
|
|
4953
4965
|
spawn: Ha
|
|
4954
4966
|
};
|
|
4955
4967
|
_(fn);
|
|
4956
|
-
const
|
|
4968
|
+
const ja = B(j), Si = {
|
|
4957
4969
|
key: "settings",
|
|
4958
4970
|
name: "x-runtime-lib.settings",
|
|
4959
4971
|
children: [
|
|
@@ -4976,7 +4988,7 @@ const Ka = B(K), Si = {
|
|
|
4976
4988
|
items: "sizeItemsV1",
|
|
4977
4989
|
default: "default"
|
|
4978
4990
|
},
|
|
4979
|
-
|
|
4991
|
+
ja
|
|
4980
4992
|
]
|
|
4981
4993
|
}, Oa = {
|
|
4982
4994
|
key: bt,
|
|
@@ -5318,7 +5330,7 @@ const Pi = {
|
|
|
5318
5330
|
leaf: !0
|
|
5319
5331
|
};
|
|
5320
5332
|
_(Ya);
|
|
5321
|
-
const Ja = B(
|
|
5333
|
+
const Ja = B(j), zi = {
|
|
5322
5334
|
key: "settings",
|
|
5323
5335
|
name: "x-runtime-lib.settings",
|
|
5324
5336
|
children: [
|
|
@@ -5713,15 +5725,15 @@ const Wi = {
|
|
|
5713
5725
|
leaf: !0
|
|
5714
5726
|
};
|
|
5715
5727
|
_(eu);
|
|
5716
|
-
const Hn = B(
|
|
5728
|
+
const Hn = B(j);
|
|
5717
5729
|
Hn.key = "color";
|
|
5718
5730
|
Hn.name = "x-runtime-lib.color";
|
|
5719
|
-
const
|
|
5720
|
-
|
|
5721
|
-
|
|
5722
|
-
const
|
|
5723
|
-
|
|
5724
|
-
|
|
5731
|
+
const Kn = B(j);
|
|
5732
|
+
Kn.key = "trackColor";
|
|
5733
|
+
Kn.name = "x-runtime-lib.trackColor";
|
|
5734
|
+
const jn = B(j);
|
|
5735
|
+
jn.key = "thumbColor";
|
|
5736
|
+
jn.name = "x-runtime-lib.thumbColor";
|
|
5725
5737
|
const Ei = {
|
|
5726
5738
|
key: "settings",
|
|
5727
5739
|
name: "x-runtime-lib.settings",
|
|
@@ -5828,8 +5840,8 @@ const Ei = {
|
|
|
5828
5840
|
default: !1
|
|
5829
5841
|
},
|
|
5830
5842
|
Hn,
|
|
5831
|
-
|
|
5832
|
-
|
|
5843
|
+
Kn,
|
|
5844
|
+
jn
|
|
5833
5845
|
]
|
|
5834
5846
|
}, Ni = {
|
|
5835
5847
|
key: "slots",
|
|
@@ -6062,7 +6074,7 @@ _(_n);
|
|
|
6062
6074
|
const ru = {
|
|
6063
6075
|
key: Wt,
|
|
6064
6076
|
name: "x-runtime-lib.switch",
|
|
6065
|
-
comp:
|
|
6077
|
+
comp: Kl,
|
|
6066
6078
|
props: {
|
|
6067
6079
|
pageCommon: [y],
|
|
6068
6080
|
compCommon: [y]
|
|
@@ -6093,7 +6105,7 @@ const Fi = {
|
|
|
6093
6105
|
}, wn = {
|
|
6094
6106
|
key: _o,
|
|
6095
6107
|
name: "x-runtime-lib.tab",
|
|
6096
|
-
comp:
|
|
6108
|
+
comp: jl,
|
|
6097
6109
|
props: {
|
|
6098
6110
|
pageCommon: [y, Fi],
|
|
6099
6111
|
compCommon: [y, Fi]
|
|
@@ -6136,13 +6148,13 @@ function qt(t, e, i, o) {
|
|
|
6136
6148
|
const p = {};
|
|
6137
6149
|
return P(p, a), p.basic.id = T(16), p.basic.key = wn.key, p.settings.value = i, p.settings.text = o, p;
|
|
6138
6150
|
}
|
|
6139
|
-
const On = B(
|
|
6151
|
+
const On = B(j);
|
|
6140
6152
|
On.key = "backgroundColor";
|
|
6141
6153
|
On.name = "x-runtime-lib.backgroundColor";
|
|
6142
|
-
const Un = B(
|
|
6154
|
+
const Un = B(j);
|
|
6143
6155
|
Un.key = "selectedColor";
|
|
6144
6156
|
Un.name = "x-runtime-lib.selectedColor";
|
|
6145
|
-
const Xn = B(
|
|
6157
|
+
const Xn = B(j);
|
|
6146
6158
|
Xn.key = "sliderColor";
|
|
6147
6159
|
Xn.name = "x-runtime-lib.sliderColor";
|
|
6148
6160
|
const Gi = {
|
|
@@ -6367,7 +6379,7 @@ function uu(t, e) {
|
|
|
6367
6379
|
const s = {};
|
|
6368
6380
|
return P(s, l), s.basic.id = T(16), s.basic.key = $n.key, s.settings.label = "label", s;
|
|
6369
6381
|
}
|
|
6370
|
-
const
|
|
6382
|
+
const Ki = {
|
|
6371
6383
|
key: "settings",
|
|
6372
6384
|
name: "x-runtime-lib.settings",
|
|
6373
6385
|
children: [
|
|
@@ -6443,8 +6455,8 @@ const ji = {
|
|
|
6443
6455
|
name: "x-runtime-lib.textarea",
|
|
6444
6456
|
comp: Xl,
|
|
6445
6457
|
props: {
|
|
6446
|
-
pageCommon: [y,
|
|
6447
|
-
compCommon: [y,
|
|
6458
|
+
pageCommon: [y, Ki],
|
|
6459
|
+
compCommon: [y, Ki]
|
|
6448
6460
|
},
|
|
6449
6461
|
events: [],
|
|
6450
6462
|
methods: [],
|
|
@@ -6512,7 +6524,7 @@ function mu(t, e, i) {
|
|
|
6512
6524
|
const a = {};
|
|
6513
6525
|
return P(a, s), a.basic.id = T(16), a.basic.key = ye.key, a.settings.text = i, a;
|
|
6514
6526
|
}
|
|
6515
|
-
const pu = B(
|
|
6527
|
+
const pu = B(j), du = B(j), ji = {
|
|
6516
6528
|
key: "settings",
|
|
6517
6529
|
name: "x-runtime-lib.settings",
|
|
6518
6530
|
children: [
|
|
@@ -6595,8 +6607,8 @@ const pu = B(K), du = B(K), Ki = {
|
|
|
6595
6607
|
name: "x-runtime-lib.timeline",
|
|
6596
6608
|
comp: Jl,
|
|
6597
6609
|
props: {
|
|
6598
|
-
pageCommon: [y,
|
|
6599
|
-
compCommon: [y,
|
|
6610
|
+
pageCommon: [y, ji],
|
|
6611
|
+
compCommon: [y, ji]
|
|
6600
6612
|
},
|
|
6601
6613
|
events: [],
|
|
6602
6614
|
methods: [],
|
|
@@ -6955,7 +6967,7 @@ const hu = [
|
|
|
6955
6967
|
max: 1 / 0,
|
|
6956
6968
|
step: 1
|
|
6957
6969
|
}
|
|
6958
|
-
],
|
|
6970
|
+
], Ku = [
|
|
6959
6971
|
{
|
|
6960
6972
|
title: "x-runtime-lib.notSet",
|
|
6961
6973
|
value: "",
|
|
@@ -6977,7 +6989,7 @@ const hu = [
|
|
|
6977
6989
|
validator: (t) => t === "right",
|
|
6978
6990
|
default: "right"
|
|
6979
6991
|
}
|
|
6980
|
-
],
|
|
6992
|
+
], ju = [
|
|
6981
6993
|
{
|
|
6982
6994
|
title: "x-runtime-lib.notSet",
|
|
6983
6995
|
value: "",
|
|
@@ -7111,8 +7123,8 @@ const hu = [
|
|
|
7111
7123
|
], Ju = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
7112
7124
|
__proto__: null,
|
|
7113
7125
|
borderWidthTypesV1: Hu,
|
|
7114
|
-
leftRightTypesV1:
|
|
7115
|
-
marginTypesV1:
|
|
7126
|
+
leftRightTypesV1: Ku,
|
|
7127
|
+
marginTypesV1: ju,
|
|
7116
7128
|
paddingTypesV1: Ou,
|
|
7117
7129
|
sizeTypesV1: Uu,
|
|
7118
7130
|
tableColumnAlignTypesV1: Xu,
|
|
@@ -7537,13 +7549,13 @@ function Hc(t) {
|
|
|
7537
7549
|
}), e;
|
|
7538
7550
|
}
|
|
7539
7551
|
const Io = "runtimeOrg", So = "runtimeEnv", Co = "runtimeMode", To = "runtimeDevice", Po = "runtimeDark", zo = "runtimeType", Ao = "runtimeData", Lo = "runtimeDepends", Bo = "runtimeSandbox";
|
|
7540
|
-
function
|
|
7552
|
+
function Kc(t) {
|
|
7541
7553
|
se(Io, t);
|
|
7542
7554
|
}
|
|
7543
7555
|
function ic() {
|
|
7544
7556
|
return oe(Io);
|
|
7545
7557
|
}
|
|
7546
|
-
function
|
|
7558
|
+
function jc(t) {
|
|
7547
7559
|
se(So, t);
|
|
7548
7560
|
}
|
|
7549
7561
|
function oc() {
|
|
@@ -7759,7 +7771,7 @@ function lc(t, e) {
|
|
|
7759
7771
|
t.createAsyncFunction(b)
|
|
7760
7772
|
);
|
|
7761
7773
|
}
|
|
7762
|
-
const Wo =
|
|
7774
|
+
const Wo = Ko({
|
|
7763
7775
|
baseUrl: "http://localhost/computebase/",
|
|
7764
7776
|
onError: (t) => {
|
|
7765
7777
|
const { i18n: e } = be;
|
|
@@ -7851,7 +7863,7 @@ function cc(t, e, i) {
|
|
|
7851
7863
|
}
|
|
7852
7864
|
function b(u, c, f) {
|
|
7853
7865
|
const h = e.pseudoToNative(u), x = e.pseudoToNative(c);
|
|
7854
|
-
|
|
7866
|
+
jo({ title: h, text: x }).then((g) => {
|
|
7855
7867
|
f(e.nativeToPseudo(g)), e.run();
|
|
7856
7868
|
});
|
|
7857
7869
|
}
|
|
@@ -8098,7 +8110,7 @@ class hc {
|
|
|
8098
8110
|
mc(this, i, o);
|
|
8099
8111
|
}
|
|
8100
8112
|
), this.interpreter.appendCode(e), this.interpreter.run(), this.setVariable("__env__", this.env), this.setVariable("__mode__", this.mode), this.callFunction("__triggerEventV1__", [
|
|
8101
|
-
Ce("elementEvent", "
|
|
8113
|
+
Ce("elementEvent", "globality", "startup")
|
|
8102
8114
|
]);
|
|
8103
8115
|
}
|
|
8104
8116
|
destroyInterpreter() {
|
|
@@ -8195,14 +8207,14 @@ function gc(t) {
|
|
|
8195
8207
|
};
|
|
8196
8208
|
c(), q(t, () => {
|
|
8197
8209
|
c();
|
|
8198
|
-
}),
|
|
8210
|
+
}), je(() => {
|
|
8199
8211
|
u.destroyInterpreter();
|
|
8200
8212
|
}), (o === "runtime" || o === "preview") && q(
|
|
8201
8213
|
s,
|
|
8202
8214
|
(f, h) => {
|
|
8203
8215
|
const x = Re(f.width), g = Re(h?.width ?? f.width);
|
|
8204
8216
|
u.callFunction("__triggerEventV1__", [
|
|
8205
|
-
Ce("elementEvent", "
|
|
8217
|
+
Ce("elementEvent", "globality", "screenSizeChange"),
|
|
8206
8218
|
x,
|
|
8207
8219
|
g
|
|
8208
8220
|
]);
|
|
@@ -8212,7 +8224,7 @@ function gc(t) {
|
|
|
8212
8224
|
a,
|
|
8213
8225
|
(f) => {
|
|
8214
8226
|
u.callFunction("__triggerEventV1__", [
|
|
8215
|
-
Ce("elementEvent", "
|
|
8227
|
+
Ce("elementEvent", "globality", "darkModeChange"),
|
|
8216
8228
|
f
|
|
8217
8229
|
]);
|
|
8218
8230
|
},
|
|
@@ -8311,9 +8323,9 @@ export {
|
|
|
8311
8323
|
Jc as provideData,
|
|
8312
8324
|
Zc as provideDepends,
|
|
8313
8325
|
Uc as provideDevice,
|
|
8314
|
-
|
|
8326
|
+
jc as provideEnv,
|
|
8315
8327
|
Oc as provideMode,
|
|
8316
|
-
|
|
8328
|
+
Kc as provideOrg,
|
|
8317
8329
|
rc as provideSandbox,
|
|
8318
8330
|
Yc as provideType,
|
|
8319
8331
|
hn as radioGroupV1,
|
package/dist/types/kind.d.ts
CHANGED
|
@@ -1,12 +1,24 @@
|
|
|
1
1
|
export type PropertyKind = 'elementProperty' | 'refProperty' | 'customProperty' | 'elementSlotProperty' | 'customSlotProperty';
|
|
2
2
|
export declare function isLocaleOfPropertyKind(kind: PropertyKind): kind is "elementProperty" | "elementSlotProperty";
|
|
3
3
|
export declare function makePropertyId(kind: PropertyKind, nodeId: string, propertyKey: string): string;
|
|
4
|
-
export declare function unwrapPropertyId(id: string):
|
|
4
|
+
export declare function unwrapPropertyId(id: string): {
|
|
5
|
+
kind: PropertyKind;
|
|
6
|
+
nodeId: string;
|
|
7
|
+
propertyKey: string;
|
|
8
|
+
};
|
|
5
9
|
export type MethodKind = 'elementMethod' | 'refMethod' | 'customMethod' | 'elementSlotMethod' | 'customSlotMethod';
|
|
6
10
|
export declare function isLocaleOfMethodKind(kind: MethodKind): kind is "elementMethod" | "elementSlotMethod";
|
|
7
11
|
export declare function makeMethodId(kind: MethodKind, nodeId: string, methodKey: string): string;
|
|
8
|
-
export declare function unwrapMethodId(id: string):
|
|
12
|
+
export declare function unwrapMethodId(id: string): {
|
|
13
|
+
kind: MethodKind;
|
|
14
|
+
nodeId: string;
|
|
15
|
+
methodKey: string;
|
|
16
|
+
};
|
|
9
17
|
export type EventKind = 'elementEvent' | 'refEvent' | 'customEvent' | 'elementPropertyChangeEvent' | 'customPropertyChangeEvent' | 'stateChangeEvent';
|
|
10
18
|
export declare function isLocaleOfEventKind(kind: EventKind): kind is "elementEvent" | "elementPropertyChangeEvent";
|
|
11
19
|
export declare function makeEventId(kind: EventKind, nodeId: string, eventKey: string): string;
|
|
12
|
-
export declare function unwrapEventId(id: string):
|
|
20
|
+
export declare function unwrapEventId(id: string): {
|
|
21
|
+
kind: EventKind;
|
|
22
|
+
nodeId: string;
|
|
23
|
+
eventKey: string;
|
|
24
|
+
};
|
package/dist/utils/name.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { EventKind, MethodKind, PropertyKind } from '@/types';
|
|
2
|
-
export declare function toPropertyName(names: string[]
|
|
3
|
-
export declare function toMethodName(names: string[]
|
|
4
|
-
export declare function toEventName(names: string[]
|
|
2
|
+
export declare function toPropertyName(kind: PropertyKind, names: string[]): string;
|
|
3
|
+
export declare function toMethodName(kind: MethodKind, names: string[]): string;
|
|
4
|
+
export declare function toEventName(kind: EventKind, names: string[]): string;
|