x-runtime-lib 0.8.43 → 0.8.44
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/composables/common/sandbox.d.ts +1 -1
- package/dist/composables/element/core/elementMethod.d.ts +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +263 -274
- package/dist/{interpreter → sandbox}/bind/base.d.ts +1 -1
- package/dist/{interpreter → sandbox}/bind/compute.d.ts +1 -1
- package/dist/sandbox/bind/index.d.ts +2 -0
- package/dist/{interpreter → sandbox}/bind/view.d.ts +1 -1
- package/dist/sandbox/index.d.ts +1 -0
- package/dist/sandbox/runtime/base.d.ts +1 -0
- package/dist/sandbox/runtime/event.d.ts +1 -0
- package/dist/sandbox/runtime/index.d.ts +1 -0
- package/dist/sandbox/runtime/timer.d.ts +1 -0
- package/dist/{utils/sandbox.d.ts → sandbox/sandbox/index.d.ts} +1 -1
- package/dist/utils/index.d.ts +0 -1
- package/dist/utils/provideInject.d.ts +1 -1
- package/dist/utils/reactivity.d.ts +1 -1
- package/package.json +1 -1
- package/dist/interpreter/bind/index.d.ts +0 -3
- package/dist/interpreter/index.d.ts +0 -3
- package/dist/interpreter/runtime/base.d.ts +0 -2
- package/dist/interpreter/runtime/event.d.ts +0 -2
- package/dist/interpreter/runtime/index.d.ts +0 -2
- package/dist/interpreter/runtime/timer.d.ts +0 -2
package/dist/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as w, createElementBlock as J, renderSlot as L, unref as n, openBlock as v, createElementVNode as ne, computed as k, normalizeStyle as Q, ref as se, watchEffect as pe, watch as te, onBeforeMount as
|
|
1
|
+
import { defineComponent as w, createElementBlock as J, renderSlot as L, unref as n, openBlock as v, createElementVNode as ne, computed as k, normalizeStyle as Q, ref as se, watchEffect as pe, watch as te, onBeforeMount as jo, onUnmounted as Ke, createBlock as V, withCtx as $, createCommentVNode as ee, useTemplateRef as Zi, onMounted as qi, nextTick as Qi, useAttrs as Ho, h as oe, resolveComponent as P, createVNode as D, isRef as U, createSlots as Ln, renderList as Oo, useId as eo, withModifiers as Ko, normalizeClass as Uo, toDisplayString as Xo, inject as le, provide as ae, readonly as Bn } from "vue";
|
|
2
2
|
import { globalObjects as he, waitUtil as to, useViewStack as no, eventBus as io, messageInfo as Yo, messageSuccess as Jo, messageWarning as oo, messageError as ro, createAxios as Zo, openConfirmDlg as qo, openPromptDlg as Qo } from "x-essential-lib";
|
|
3
3
|
import { CameraHelper as so, DirectionalLightHelper as er, PointLightHelper as tr, SpotLightHelper as nr } from "three";
|
|
4
4
|
import { c as B, i as re, q as Ne, u as ir, r as lo, e as ao, a as or, b as rr, d as sr, f as lr, g as ar, h as ur, j as cr, k as pr, l as uo, X as mr, Y as dr, K as yr, m as fr, n as br, o as hr, I as gr } from "./vendor.dd29fg1n.js";
|
|
5
|
-
import {
|
|
6
|
-
import { useTheme as vr } from "vuetify";
|
|
5
|
+
import { useTheme as xr } from "vuetify";
|
|
7
6
|
import { useI18n as co } from "vue-i18n";
|
|
7
|
+
import { getErrorMessage as vr } from "x-error-lib";
|
|
8
8
|
const Jn = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
|
|
9
9
|
function C(t) {
|
|
10
10
|
let e = "";
|
|
@@ -88,7 +88,7 @@ function q(t) {
|
|
|
88
88
|
return t === "runtime" || t === "preview";
|
|
89
89
|
}
|
|
90
90
|
const Fc = ["string", "number", "boolean", "array", "object"];
|
|
91
|
-
function
|
|
91
|
+
function Gc(t) {
|
|
92
92
|
switch (t) {
|
|
93
93
|
case "string":
|
|
94
94
|
return "#5ba58c";
|
|
@@ -111,7 +111,7 @@ function yo(t) {
|
|
|
111
111
|
}
|
|
112
112
|
return !1;
|
|
113
113
|
}
|
|
114
|
-
function
|
|
114
|
+
function jc(t, e, i, o, s) {
|
|
115
115
|
let r = t;
|
|
116
116
|
for (let p = 0; p < e.length; p++)
|
|
117
117
|
if (r = r.children[e[p]], !r) {
|
|
@@ -146,12 +146,12 @@ function En(t, e, i) {
|
|
|
146
146
|
a > 0 && (s += " - "), i ? s += o.global.t(r) : s += r;
|
|
147
147
|
}), s;
|
|
148
148
|
}
|
|
149
|
-
function
|
|
149
|
+
function Hc(t, e) {
|
|
150
150
|
const { i18n: i } = he;
|
|
151
151
|
let o = "";
|
|
152
152
|
return t === "elementProperty" || (t === "referenceProperty" ? o = i.global.t("x-runtime-lib.reference") : t === "multipleRefProperty" ? o = i.global.t("x-runtime-lib.multipleRef") : 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)), En(o, e, Vr(t));
|
|
153
153
|
}
|
|
154
|
-
function
|
|
154
|
+
function Oc(t, e) {
|
|
155
155
|
const { i18n: i } = he;
|
|
156
156
|
let o = "";
|
|
157
157
|
return t === "elementMethod" || (t === "referenceMethod" ? o = i.global.t("x-runtime-lib.reference") : t === "multipleRefMethod" ? o = i.global.t("x-runtime-lib.multipleRef") : 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)), En(o, e, $r(t));
|
|
@@ -171,7 +171,7 @@ const ze = {}, _ = (t) => {
|
|
|
171
171
|
scale: {}
|
|
172
172
|
},
|
|
173
173
|
setup(t) {
|
|
174
|
-
const e =
|
|
174
|
+
const e = j();
|
|
175
175
|
return (i, o) => n(e) === "editor" ? (v(), J("TresMesh", {
|
|
176
176
|
key: 0,
|
|
177
177
|
position: t.position,
|
|
@@ -190,7 +190,7 @@ const ze = {}, _ = (t) => {
|
|
|
190
190
|
fitContent: { type: Boolean, default: !1 }
|
|
191
191
|
},
|
|
192
192
|
setup(t) {
|
|
193
|
-
const e =
|
|
193
|
+
const e = j(), i = k(() => {
|
|
194
194
|
const s = {
|
|
195
195
|
position: "relative"
|
|
196
196
|
};
|
|
@@ -227,7 +227,7 @@ const ze = {}, _ = (t) => {
|
|
|
227
227
|
s ? typeof o == "object" ? r = JSON.stringify(o, null, 2) : (console.assert(!1), r = "{}") : r = o, t.setElementPropertyInner(e, i, r);
|
|
228
228
|
};
|
|
229
229
|
function l(t, e, i) {
|
|
230
|
-
const o =
|
|
230
|
+
const o = j(), s = _e(), r = se();
|
|
231
231
|
return pe(() => {
|
|
232
232
|
let a = Cr(s, t.node, e, i);
|
|
233
233
|
o === "editor" && e[e.length - 1] === "readonly" && (a = !0), r.value = a;
|
|
@@ -339,8 +339,8 @@ function xo(t) {
|
|
|
339
339
|
}
|
|
340
340
|
return { show: e, position: i, type: o, data: s, applyYAxis: r };
|
|
341
341
|
}
|
|
342
|
-
function
|
|
343
|
-
const { computedThemes: e } =
|
|
342
|
+
function H(t) {
|
|
343
|
+
const { computedThemes: e } = xr(), i = Re(), o = k(() => t.value?.mode), s = k(() => {
|
|
344
344
|
const m = t.value?.theme;
|
|
345
345
|
return m ? m === "background0" ? i.value ? "#2e2e2e" : "#bdbdbd" : m === "background1" ? i.value ? "#272727" : "#eeeeee" : m === "background2" ? i.value ? "#1e1e1e" : "#ffffff" : (i.value ? e.value.dark : e.value.light).colors[m] : void 0;
|
|
346
346
|
}), r = k(() => i.value ? t.value.custom?.dark : t.value.custom?.light), a = k(() => o.value === "theme" ? s.value ?? "" : o.value === "custom" ? r.value ?? "" : ""), p = k(() => {
|
|
@@ -353,7 +353,7 @@ function O(t) {
|
|
|
353
353
|
return { color: a, rgb: p, alpha: y };
|
|
354
354
|
}
|
|
355
355
|
function Nn(t) {
|
|
356
|
-
const e = k(() => t.node.border?.style), i = k(() => t.node.border?.width), o = k(() => t.node.border?.color), { color: s } =
|
|
356
|
+
const e = k(() => t.node.border?.style), i = k(() => t.node.border?.width), o = k(() => t.node.border?.color), { color: s } = H(o), r = k(() => t.node.border?.roundRadius?.tl), a = k(() => t.node.border?.roundRadius?.tr), p = k(() => t.node.border?.roundRadius?.bl), y = k(() => t.node.border?.roundRadius?.br);
|
|
357
357
|
function m(u) {
|
|
358
358
|
e.value && (u.borderStyle = e.value), i.value && (u.borderWidth = i.value), s.value && (u.borderColor = s.value), r.value && (u.borderTopLeftRadius = r.value), a.value && (u.borderTopRightRadius = a.value), p.value && (u.borderBottomLeftRadius = p.value), y.value && (u.borderBottomRightRadius = y.value);
|
|
359
359
|
}
|
|
@@ -374,7 +374,7 @@ function Mn(t) {
|
|
|
374
374
|
return { paddingTop: e, paddingLeft: i, paddingBottom: o, paddingRight: s, applyPadding: r };
|
|
375
375
|
}
|
|
376
376
|
function ye(t) {
|
|
377
|
-
const e =
|
|
377
|
+
const e = j(), i = Ce(), o = k(() => t.node.size?.width), s = k(() => t.node.size?.minWidth), r = k(() => t.node.size?.maxWidth), a = k(() => {
|
|
378
378
|
if (t.outer && e === "editor") {
|
|
379
379
|
const u = Zt(t.node.size?.height);
|
|
380
380
|
if (u)
|
|
@@ -403,7 +403,7 @@ function ye(t) {
|
|
|
403
403
|
}
|
|
404
404
|
function vo(t, e, i) {
|
|
405
405
|
const o = k(() => e.node.basic.id), s = k(() => `callMethod@${o.value}`);
|
|
406
|
-
|
|
406
|
+
jo(() => {
|
|
407
407
|
t.eventBus?.on(s.value, i);
|
|
408
408
|
}), Ke(() => {
|
|
409
409
|
t.eventBus?.off(s.value, i);
|
|
@@ -420,7 +420,7 @@ const Pr = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
420
420
|
outer: { type: Boolean }
|
|
421
421
|
},
|
|
422
422
|
setup(t) {
|
|
423
|
-
const e = t, i =
|
|
423
|
+
const e = t, i = j(), { position: o, rotation: s, scale: r } = de(e), { property: a } = l(e, ["settings", "bottom"]), { property: p } = l(e, ["settings", "far"]), { property: y } = l(e, ["settings", "left"]), { property: m } = l(e, ["settings", "near"]), { property: u } = l(e, ["settings", "right"]), { property: c } = l(e, ["settings", "top"]);
|
|
424
424
|
return (d, b) => (v(), V(n(xe), {
|
|
425
425
|
position: n(o),
|
|
426
426
|
rotation: n(s),
|
|
@@ -455,7 +455,7 @@ const Pr = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
455
455
|
outer: { type: Boolean }
|
|
456
456
|
},
|
|
457
457
|
setup(t) {
|
|
458
|
-
const e = t, i =
|
|
458
|
+
const e = t, i = j(), { position: o, rotation: s, scale: r } = de(e), { property: a } = l(e, ["settings", "aspect"]), { property: p } = l(e, ["settings", "far"]), { property: y } = l(e, ["settings", "fov"]), { property: m } = l(e, ["settings", "near"]);
|
|
459
459
|
return (u, c) => (v(), V(n(xe), {
|
|
460
460
|
position: n(o),
|
|
461
461
|
rotation: n(s),
|
|
@@ -559,7 +559,7 @@ const Pr = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
559
559
|
outer: { type: Boolean }
|
|
560
560
|
},
|
|
561
561
|
setup(t) {
|
|
562
|
-
const e = t, i =
|
|
562
|
+
const e = t, i = j(), { position: o, rotation: s, scale: r } = de(e), { property: a } = l(e, ["settings", "color"]), { color: p } = H(a), { property: y } = l(e, [
|
|
563
563
|
"settings",
|
|
564
564
|
"intensity"
|
|
565
565
|
]);
|
|
@@ -589,7 +589,7 @@ const Pr = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
589
589
|
outer: { type: Boolean }
|
|
590
590
|
},
|
|
591
591
|
setup(t) {
|
|
592
|
-
const e = t, i =
|
|
592
|
+
const e = t, i = j(), { position: o, rotation: s, scale: r } = de(e), { property: a } = l(e, ["settings", "color"]), { color: p } = H(a), { property: y } = l(e, [
|
|
593
593
|
"settings",
|
|
594
594
|
"intensity"
|
|
595
595
|
]);
|
|
@@ -616,14 +616,14 @@ const Pr = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
616
616
|
_: 3
|
|
617
617
|
}, 8, ["position", "rotation", "scale"]));
|
|
618
618
|
}
|
|
619
|
-
}),
|
|
619
|
+
}), Gr = ["color", "decay", "distance", "intensity", "position", "rotation", "scale"], jr = /* @__PURE__ */ w({
|
|
620
620
|
__name: "index",
|
|
621
621
|
props: {
|
|
622
622
|
node: {},
|
|
623
623
|
outer: { type: Boolean }
|
|
624
624
|
},
|
|
625
625
|
setup(t) {
|
|
626
|
-
const e = t, i =
|
|
626
|
+
const e = t, i = j(), { position: o, rotation: s, scale: r } = de(e), { property: a } = l(e, ["settings", "color"]), { color: p } = H(a), { property: y } = l(e, ["settings", "decay"]), { property: m } = l(e, [
|
|
627
627
|
"settings",
|
|
628
628
|
"distance"
|
|
629
629
|
]), { property: u } = l(e, [
|
|
@@ -650,19 +650,19 @@ const Pr = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
650
650
|
type: n(tr)
|
|
651
651
|
}, null, 8, ["type"])) : ee("", !0),
|
|
652
652
|
L(c.$slots, "default")
|
|
653
|
-
], 8,
|
|
653
|
+
], 8, Gr)
|
|
654
654
|
]),
|
|
655
655
|
_: 3
|
|
656
656
|
}, 8, ["position", "rotation", "scale"]));
|
|
657
657
|
}
|
|
658
|
-
}),
|
|
658
|
+
}), Hr = ["angle", "color", "decay", "distance", "intensity", "penumbra", "position", "rotation", "scale"], Or = /* @__PURE__ */ w({
|
|
659
659
|
__name: "index",
|
|
660
660
|
props: {
|
|
661
661
|
node: {},
|
|
662
662
|
outer: { type: Boolean }
|
|
663
663
|
},
|
|
664
664
|
setup(t) {
|
|
665
|
-
const e = t, i =
|
|
665
|
+
const e = t, i = j(), { position: o, rotation: s, scale: r } = de(e), { property: a } = l(e, ["settings", "angle"]), { property: p } = l(e, ["settings", "color"]), { color: y } = H(p), { property: m } = l(e, ["settings", "decay"]), { property: u } = l(e, [
|
|
666
666
|
"settings",
|
|
667
667
|
"distance"
|
|
668
668
|
]), { property: c } = l(e, [
|
|
@@ -694,7 +694,7 @@ const Pr = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
694
694
|
type: n(nr)
|
|
695
695
|
}, null, 8, ["type"])) : ee("", !0),
|
|
696
696
|
L(b.$slots, "default")
|
|
697
|
-
], 8,
|
|
697
|
+
], 8, Hr)
|
|
698
698
|
]),
|
|
699
699
|
_: 3
|
|
700
700
|
}, 8, ["position", "rotation", "scale"]));
|
|
@@ -710,7 +710,7 @@ const Xr = /* @__PURE__ */ ve(Kr, [["render", Ur]]), Yr = ["position", "rotation
|
|
|
710
710
|
outer: { type: Boolean }
|
|
711
711
|
},
|
|
712
712
|
setup(t) {
|
|
713
|
-
const e = t, i =
|
|
713
|
+
const e = t, i = j(), { position: o, rotation: s, scale: r } = de(e);
|
|
714
714
|
return (a, p) => (v(), V(n(xe), {
|
|
715
715
|
position: n(o),
|
|
716
716
|
rotation: n(s),
|
|
@@ -774,7 +774,7 @@ const Xr = /* @__PURE__ */ ve(Kr, [["render", Ur]]), Yr = ["position", "rotation
|
|
|
774
774
|
visualMap: $s,
|
|
775
775
|
dataZoom: Is,
|
|
776
776
|
markPoint: Ss
|
|
777
|
-
}, Ts = ["#dd6b66", "#759aa0", "#e69d87", "#8dc1a9", "#ea7e53", "#eedd78", "#73a373", "#73b9bc", "#7289ab", "#91ca8c", "#f49f42"], Ps = "#f5f5f5", zs = {}, As = { textStyle: { color: "#464646" }, subtextStyle: { color: "#6e7079" } }, Ls = { itemStyle: { borderWidth: 1 }, lineStyle: { width: 2 }, symbolSize: 4, symbol: "circle", smooth: !1 }, Bs = { itemStyle: { borderWidth: 1 }, lineStyle: { width: 2 }, symbolSize: 4, symbol: "circle", smooth: !1 }, Ws = { itemStyle: { barBorderWidth: 0, barBorderColor: "#ccc" } }, Es = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Ns = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Rs = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Ms = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Ds = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Fs = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } },
|
|
777
|
+
}, Ts = ["#dd6b66", "#759aa0", "#e69d87", "#8dc1a9", "#ea7e53", "#eedd78", "#73a373", "#73b9bc", "#7289ab", "#91ca8c", "#f49f42"], Ps = "#f5f5f5", zs = {}, As = { textStyle: { color: "#464646" }, subtextStyle: { color: "#6e7079" } }, Ls = { itemStyle: { borderWidth: 1 }, lineStyle: { width: 2 }, symbolSize: 4, symbol: "circle", smooth: !1 }, Bs = { itemStyle: { borderWidth: 1 }, lineStyle: { width: 2 }, symbolSize: 4, symbol: "circle", smooth: !1 }, Ws = { itemStyle: { barBorderWidth: 0, barBorderColor: "#ccc" } }, Es = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Ns = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Rs = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Ms = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Ds = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Fs = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Gs = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, js = { itemStyle: { color: "#eb5454", color0: "#47b262", borderColor: "#eb5454", borderColor0: "#47b262", borderWidth: 1 } }, Hs = { 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" } }, Os = { 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)" } } }, Ks = { 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)" } } }, Us = { 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"] } } }, Xs = { 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"] } } }, Ys = { 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"] } } }, Js = { 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"] } } }, Zs = { iconStyle: { borderColor: "#999" }, emphasis: { iconStyle: { borderColor: "#666" } } }, qs = { textStyle: { color: "#333333" } }, Qs = { axisPointer: { lineStyle: { color: "#cccccc", width: "1" }, crossStyle: { color: "#cccccc", width: "1" } } }, el = { 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" } } }, tl = { color: ["#bf444c", "#d88273", "#f6efa6"] }, nl = { 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" } }, il = { label: { color: "#eee" }, emphasis: { label: { color: "#eee" } } }, ol = {
|
|
778
778
|
color: Ts,
|
|
779
779
|
backgroundColor: Ps,
|
|
780
780
|
textStyle: zs,
|
|
@@ -788,10 +788,10 @@ const Xr = /* @__PURE__ */ ve(Kr, [["render", Ur]]), Yr = ["position", "rotation
|
|
|
788
788
|
parallel: Ms,
|
|
789
789
|
sankey: Ds,
|
|
790
790
|
funnel: Fs,
|
|
791
|
-
gauge:
|
|
792
|
-
candlestick:
|
|
793
|
-
graph:
|
|
794
|
-
map:
|
|
791
|
+
gauge: Gs,
|
|
792
|
+
candlestick: js,
|
|
793
|
+
graph: Hs,
|
|
794
|
+
map: Os,
|
|
795
795
|
geo: Ks,
|
|
796
796
|
categoryAxis: Us,
|
|
797
797
|
valueAxis: Xs,
|
|
@@ -829,7 +829,7 @@ const rl = /* @__PURE__ */ w({
|
|
|
829
829
|
return s === "page" ? F === "common" ? d(I) : console.assert(!1) : s === "comp" && F === "common" ? d(I) : console.assert(!1), I;
|
|
830
830
|
}), R = Zi("chart");
|
|
831
831
|
let W;
|
|
832
|
-
const
|
|
832
|
+
const G = () => {
|
|
833
833
|
W?.dispose(), W = ao.init(R.value, o.value ? "dark" : "light");
|
|
834
834
|
const I = {};
|
|
835
835
|
W.setOption(I);
|
|
@@ -840,7 +840,7 @@ const rl = /* @__PURE__ */ w({
|
|
|
840
840
|
b(I), h(I), g(I), x(I), S(I), W?.setOption(I, !0);
|
|
841
841
|
};
|
|
842
842
|
return qi(async () => {
|
|
843
|
-
window.addEventListener("resize", M, !1), await to(() => !!R.value),
|
|
843
|
+
window.addEventListener("resize", M, !1), await to(() => !!R.value), G(), E();
|
|
844
844
|
}), Ke(() => {
|
|
845
845
|
window.removeEventListener("resize", M, !1), W?.dispose();
|
|
846
846
|
}), te(
|
|
@@ -858,7 +858,7 @@ const rl = /* @__PURE__ */ w({
|
|
|
858
858
|
await Qi(), M();
|
|
859
859
|
}
|
|
860
860
|
), te([o], () => {
|
|
861
|
-
|
|
861
|
+
G(), E();
|
|
862
862
|
}), te(
|
|
863
863
|
[e],
|
|
864
864
|
() => {
|
|
@@ -882,7 +882,7 @@ const rl = /* @__PURE__ */ w({
|
|
|
882
882
|
return s === "page" ? F === "common" ? d(I) : console.assert(!1) : s === "comp" && F === "common" ? d(I) : console.assert(!1), I;
|
|
883
883
|
}), R = Zi("chart");
|
|
884
884
|
let W;
|
|
885
|
-
const
|
|
885
|
+
const G = () => {
|
|
886
886
|
W?.dispose(), W = ao.init(R.value, o.value ? "dark" : "light");
|
|
887
887
|
const I = {};
|
|
888
888
|
W.setOption(I);
|
|
@@ -893,7 +893,7 @@ const rl = /* @__PURE__ */ w({
|
|
|
893
893
|
b(I), h(I), g(I), x(I), S(I), W?.setOption(I, !0);
|
|
894
894
|
};
|
|
895
895
|
return qi(async () => {
|
|
896
|
-
window.addEventListener("resize", M, !1), await to(() => !!R.value),
|
|
896
|
+
window.addEventListener("resize", M, !1), await to(() => !!R.value), G(), E();
|
|
897
897
|
}), Ke(() => {
|
|
898
898
|
window.removeEventListener("resize", M, !1), W?.dispose();
|
|
899
899
|
}), te(
|
|
@@ -911,7 +911,7 @@ const rl = /* @__PURE__ */ w({
|
|
|
911
911
|
await Qi(), M();
|
|
912
912
|
}
|
|
913
913
|
), te([o], () => {
|
|
914
|
-
|
|
914
|
+
G(), E();
|
|
915
915
|
}), te(
|
|
916
916
|
[e],
|
|
917
917
|
() => {
|
|
@@ -936,8 +936,8 @@ const ul = /* @__PURE__ */ ve(ll, [["render", al]]), cl = /* @__PURE__ */ w({
|
|
|
936
936
|
},
|
|
937
937
|
setup(t) {
|
|
938
938
|
const { t: e } = co(), i = t, o = se(), s = _e();
|
|
939
|
-
Fo(o, s),
|
|
940
|
-
const r =
|
|
939
|
+
Fo(o, s), Mo(i.refContext.compId, o);
|
|
940
|
+
const r = Ho(), { applySize: a } = ye(i), p = k(() => {
|
|
941
941
|
const u = {};
|
|
942
942
|
return o.value?.type === "common" && a(u), u;
|
|
943
943
|
});
|
|
@@ -995,7 +995,7 @@ const ul = /* @__PURE__ */ ve(ll, [["render", al]]), cl = /* @__PURE__ */ w({
|
|
|
995
995
|
},
|
|
996
996
|
setup(t) {
|
|
997
997
|
const { t: e } = co(), i = t, o = se(), s = _e();
|
|
998
|
-
Fo(o, s),
|
|
998
|
+
Fo(o, s), Mo(i.refContext.compId, o);
|
|
999
999
|
function r(p) {
|
|
1000
1000
|
const y = ze[p.basic.key];
|
|
1001
1001
|
if (!y)
|
|
@@ -1061,11 +1061,11 @@ const ul = /* @__PURE__ */ ve(ll, [["render", al]]), cl = /* @__PURE__ */ w({
|
|
|
1061
1061
|
outer: { type: Boolean }
|
|
1062
1062
|
},
|
|
1063
1063
|
setup(t) {
|
|
1064
|
-
const e = t, i =
|
|
1064
|
+
const e = t, i = j(), o = _e(), { property: s } = l(e, [
|
|
1065
1065
|
"settings",
|
|
1066
1066
|
"addIcon",
|
|
1067
1067
|
"append"
|
|
1068
|
-
]), { property: r } = l(e, ["settings", "block"]), { property: a } = l(e, ["settings", "color"]), { color: p } =
|
|
1068
|
+
]), { property: r } = l(e, ["settings", "block"]), { property: a } = l(e, ["settings", "color"]), { color: p } = H(a), { property: y } = l(e, ["settings", "density"]), { property: m } = l(e, [
|
|
1069
1069
|
"settings",
|
|
1070
1070
|
"disabled"
|
|
1071
1071
|
]), { property: u } = l(e, ["size", "height"]), { property: c } = l(e, ["settings", "loading"]), { property: d } = l(e, ["size", "maxHeight"]), { property: b } = l(e, ["size", "maxWidth"]), { property: h } = l(e, ["size", "minHeight"]), { property: g } = l(e, ["size", "minWidth"]), { property: x } = l(e, [
|
|
@@ -1075,7 +1075,7 @@ const ul = /* @__PURE__ */ ve(ll, [["render", al]]), cl = /* @__PURE__ */ w({
|
|
|
1075
1075
|
]), { property: S } = l(e, [
|
|
1076
1076
|
"settings",
|
|
1077
1077
|
"readonly"
|
|
1078
|
-
]), { property: z } = l(e, ["settings", "ripple"]), { property: R } = l(e, ["settings", "size"]), { property: W } = l(e, ["settings", "stacked"]), { property:
|
|
1078
|
+
]), { property: z } = l(e, ["settings", "ripple"]), { property: R } = l(e, ["settings", "size"]), { property: W } = l(e, ["settings", "stacked"]), { property: G } = l(e, ["settings", "text"]), { theme: M } = N(), { property: E } = l(e, ["settings", "variant"]), { property: I } = l(e, ["size", "width"]), F = (Z) => {
|
|
1079
1079
|
q(i) && (o.setVariable("__pointerPosX__", Z.clientX), o.setVariable("__pointerPosY__", Z.clientY), o.callFunction("__triggerEventV1__", [
|
|
1080
1080
|
me("elementEvent", e.node.basic.id, "click")
|
|
1081
1081
|
]));
|
|
@@ -1101,7 +1101,7 @@ const ul = /* @__PURE__ */ ve(ll, [["render", al]]), cl = /* @__PURE__ */ w({
|
|
|
1101
1101
|
ripple: n(z),
|
|
1102
1102
|
size: n(R),
|
|
1103
1103
|
stacked: n(W),
|
|
1104
|
-
text: n(
|
|
1104
|
+
text: n(G),
|
|
1105
1105
|
theme: n(M),
|
|
1106
1106
|
variant: n(E),
|
|
1107
1107
|
width: n(I),
|
|
@@ -1236,7 +1236,7 @@ const bl = /* @__PURE__ */ ve(yl, [["render", fl]]), hl = /* @__PURE__ */ w({
|
|
|
1236
1236
|
const e = t, { property: i } = l(e, [
|
|
1237
1237
|
"settings",
|
|
1238
1238
|
"closable"
|
|
1239
|
-
]), { property: o } = l(e, ["settings", "color"]), { color: s } =
|
|
1239
|
+
]), { property: o } = l(e, ["settings", "color"]), { color: s } = H(o), { property: r } = l(e, ["settings", "density"]), { property: a } = l(e, [
|
|
1240
1240
|
"settings",
|
|
1241
1241
|
"disabled"
|
|
1242
1242
|
]), { property: p } = l(e, [
|
|
@@ -1407,7 +1407,7 @@ const bl = /* @__PURE__ */ ve(yl, [["render", fl]]), hl = /* @__PURE__ */ w({
|
|
|
1407
1407
|
const e = t, i = fe(), o = ke(), { property: s } = l(e, [
|
|
1408
1408
|
"settings",
|
|
1409
1409
|
"backgroundColor"
|
|
1410
|
-
]), { color: r } =
|
|
1410
|
+
]), { color: r } = H(s), { applySize: a } = ye(e), { applyMargin: p } = Rn(e), { applyPadding: y } = Mn(e), { applyBorder: m } = Nn(e), u = k(() => {
|
|
1411
1411
|
const c = {}, d = o.value.type;
|
|
1412
1412
|
return i === "page" ? d === "common" ? (a(c), p(c), y(c), m(c), r.value && (c.backgroundColor = r.value)) : console.assert(!1) : i === "comp" && d === "common" ? (a(c), p(c), y(c), m(c), r.value && (c.backgroundColor = r.value)) : console.assert(!1), c;
|
|
1413
1413
|
});
|
|
@@ -1460,7 +1460,7 @@ const bl = /* @__PURE__ */ ve(yl, [["render", fl]]), hl = /* @__PURE__ */ w({
|
|
|
1460
1460
|
theme: n(c),
|
|
1461
1461
|
width: n(d)
|
|
1462
1462
|
}, Ln({ _: 2 }, [
|
|
1463
|
-
|
|
1463
|
+
Oo(b.value, (S) => ({
|
|
1464
1464
|
name: `item.${S.column}`,
|
|
1465
1465
|
fn: $(({ value: z }) => [
|
|
1466
1466
|
D(n(be), {
|
|
@@ -1495,7 +1495,7 @@ const bl = /* @__PURE__ */ ve(yl, [["render", fl]]), hl = /* @__PURE__ */ w({
|
|
|
1495
1495
|
outer: { type: Boolean }
|
|
1496
1496
|
},
|
|
1497
1497
|
setup(t) {
|
|
1498
|
-
const e = t, i =
|
|
1498
|
+
const e = t, i = j(), o = _e(), s = k(() => e.node.basic?.id), { open: r } = no(`runtimeDlg/${eo()}`);
|
|
1499
1499
|
return vo(o, e, (p) => {
|
|
1500
1500
|
if (!q(i))
|
|
1501
1501
|
return;
|
|
@@ -1570,7 +1570,7 @@ const bl = /* @__PURE__ */ ve(yl, [["render", fl]]), hl = /* @__PURE__ */ w({
|
|
|
1570
1570
|
const e = t, i = Ce(), o = fe(), s = ke(), { applySize: r } = ye(e), { applyMargin: a } = Rn(e), { applyPadding: p } = Mn(e), { applyBorder: y } = Nn(e), { property: m } = l(e, [
|
|
1571
1571
|
"settings",
|
|
1572
1572
|
"backgroundColor"
|
|
1573
|
-
]), { color: u } =
|
|
1573
|
+
]), { color: u } = H(m), c = (b) => {
|
|
1574
1574
|
u.value && (b.backgroundColor = u.value), b.display = "flex";
|
|
1575
1575
|
const h = Fe(i.value.width), g = Te(h, e.node.settings?.direction);
|
|
1576
1576
|
g === "row" ? b.flexDirection = "row" : g === "rowReverse" ? b.flexDirection = "row-reverse" : g === "column" ? b.flexDirection = "column" : g === "columnReverse" && (b.flexDirection = "column-reverse");
|
|
@@ -1614,13 +1614,13 @@ const bl = /* @__PURE__ */ ve(yl, [["render", fl]]), hl = /* @__PURE__ */ w({
|
|
|
1614
1614
|
outer: { type: Boolean }
|
|
1615
1615
|
},
|
|
1616
1616
|
setup(t) {
|
|
1617
|
-
const e = t, i =
|
|
1617
|
+
const e = t, i = j(), o = fe(), s = ke(), r = _e(), { property: a } = l(e, ["settings", "valid"]), { property: p } = l(e, [
|
|
1618
1618
|
"settings",
|
|
1619
1619
|
"fastFail"
|
|
1620
1620
|
]), { property: y } = l(e, [
|
|
1621
1621
|
"settings",
|
|
1622
1622
|
"backgroundColor"
|
|
1623
|
-
]), { color: m } =
|
|
1623
|
+
]), { color: m } = H(y), { applySize: u } = ye(e), { applyMargin: c } = Rn(e), { applyPadding: d } = Mn(e), { applyBorder: b } = Nn(e), h = k(() => {
|
|
1624
1624
|
const x = {}, S = s.value.type;
|
|
1625
1625
|
return o === "page" ? S === "common" ? (u(x), c(x), d(x), b(x), m.value && (x.backgroundColor = m.value)) : console.assert(!1) : o === "comp" && S === "common" ? (u(x), c(x), d(x), b(x), m.value && (x.backgroundColor = m.value)) : console.assert(!1), x;
|
|
1626
1626
|
}), g = () => {
|
|
@@ -1651,7 +1651,7 @@ const bl = /* @__PURE__ */ ve(yl, [["render", fl]]), hl = /* @__PURE__ */ w({
|
|
|
1651
1651
|
outer: { type: Boolean }
|
|
1652
1652
|
},
|
|
1653
1653
|
setup(t) {
|
|
1654
|
-
const e = t, { property: i } = l(e, ["settings", "color"]), { color: o } =
|
|
1654
|
+
const e = t, { property: i } = l(e, ["settings", "color"]), { color: o } = H(i), { property: s } = l(e, [
|
|
1655
1655
|
"settings",
|
|
1656
1656
|
"disabled"
|
|
1657
1657
|
]), { property: r } = l(e, ["settings", "icon"]), { property: a } = l(e, ["settings", "size"]), { theme: p } = N();
|
|
@@ -1673,7 +1673,7 @@ const bl = /* @__PURE__ */ ve(yl, [["render", fl]]), hl = /* @__PURE__ */ w({
|
|
|
1673
1673
|
outer: { type: Boolean }
|
|
1674
1674
|
},
|
|
1675
1675
|
setup(t) {
|
|
1676
|
-
const e = t, i =
|
|
1676
|
+
const e = t, i = j(), o = _e(), s = se(0), r = se(0), a = k(() => [s.value, r.value]), p = k(() => e.node.basic?.id), { open: y } = no(`runtimeMenu/${eo()}`);
|
|
1677
1677
|
return vo(o, e, (u) => {
|
|
1678
1678
|
if (!q(i))
|
|
1679
1679
|
return;
|
|
@@ -1743,7 +1743,7 @@ const bl = /* @__PURE__ */ ve(yl, [["render", fl]]), hl = /* @__PURE__ */ w({
|
|
|
1743
1743
|
]), { property: z } = l(e, ["settings", "reverse"]), { property: R } = l(e, [
|
|
1744
1744
|
"settings",
|
|
1745
1745
|
"singleLine"
|
|
1746
|
-
]), { property: W } = l(e, ["settings", "step"]), { property:
|
|
1746
|
+
]), { property: W } = l(e, ["settings", "step"]), { property: G } = l(e, ["settings", "suffix"]), { theme: M } = N(), { property: E } = l(e, ["settings", "value"]), { property: I } = l(e, ["settings", "variant"]), { property: F } = l(e, ["size", "width"]);
|
|
1747
1747
|
return (Z, ie) => {
|
|
1748
1748
|
const ue = P("v-number-input");
|
|
1749
1749
|
return v(), V(n(X), null, {
|
|
@@ -1770,7 +1770,7 @@ const bl = /* @__PURE__ */ ve(yl, [["render", fl]]), hl = /* @__PURE__ */ w({
|
|
|
1770
1770
|
reverse: n(z),
|
|
1771
1771
|
"single-line": n(R),
|
|
1772
1772
|
step: n(W),
|
|
1773
|
-
suffix: n(
|
|
1773
|
+
suffix: n(G),
|
|
1774
1774
|
theme: n(M),
|
|
1775
1775
|
variant: n(I),
|
|
1776
1776
|
width: n(F)
|
|
@@ -1787,7 +1787,7 @@ const bl = /* @__PURE__ */ ve(yl, [["render", fl]]), hl = /* @__PURE__ */ w({
|
|
|
1787
1787
|
outer: { type: Boolean }
|
|
1788
1788
|
},
|
|
1789
1789
|
setup(t) {
|
|
1790
|
-
const e = t, i =
|
|
1790
|
+
const e = t, i = j(), { property: o } = l(e, ["settings", "density"]), { property: s } = l(e, [
|
|
1791
1791
|
"settings",
|
|
1792
1792
|
"disabled"
|
|
1793
1793
|
]), { property: r } = l(e, ["settings", "length"]), { property: a } = l(e, [
|
|
@@ -1827,7 +1827,7 @@ const bl = /* @__PURE__ */ ve(yl, [["render", fl]]), hl = /* @__PURE__ */ w({
|
|
|
1827
1827
|
outer: { type: Boolean }
|
|
1828
1828
|
},
|
|
1829
1829
|
setup(t) {
|
|
1830
|
-
const e = t, { property: i } = l(e, ["settings", "color"]), { color: o } =
|
|
1830
|
+
const e = t, { property: i } = l(e, ["settings", "color"]), { color: o } = H(i), { property: s } = l(e, ["settings", "density"]), { property: r } = l(e, [
|
|
1831
1831
|
"settings",
|
|
1832
1832
|
"disabled"
|
|
1833
1833
|
]), { property: a } = l(e, ["settings", "label"]), { property: p } = l(e, [
|
|
@@ -1941,14 +1941,14 @@ const bl = /* @__PURE__ */ ve(yl, [["render", fl]]), hl = /* @__PURE__ */ w({
|
|
|
1941
1941
|
"settings",
|
|
1942
1942
|
"value",
|
|
1943
1943
|
"start"
|
|
1944
|
-
]), { property:
|
|
1944
|
+
]), { property: G } = l(e, [
|
|
1945
1945
|
"settings",
|
|
1946
1946
|
"value",
|
|
1947
1947
|
"end"
|
|
1948
1948
|
]), M = k({
|
|
1949
|
-
get: () => [W.value,
|
|
1949
|
+
get: () => [W.value, G.value],
|
|
1950
1950
|
set: ([E, I]) => {
|
|
1951
|
-
W.value = E,
|
|
1951
|
+
W.value = E, G.value = I;
|
|
1952
1952
|
}
|
|
1953
1953
|
});
|
|
1954
1954
|
return (E, I) => {
|
|
@@ -2023,7 +2023,7 @@ const bl = /* @__PURE__ */ ve(yl, [["render", fl]]), hl = /* @__PURE__ */ w({
|
|
|
2023
2023
|
});
|
|
2024
2024
|
};
|
|
2025
2025
|
}
|
|
2026
|
-
}),
|
|
2026
|
+
}), Gl = /* @__PURE__ */ w({
|
|
2027
2027
|
__name: "index",
|
|
2028
2028
|
props: {
|
|
2029
2029
|
node: {},
|
|
@@ -2062,14 +2062,14 @@ const bl = /* @__PURE__ */ ve(yl, [["render", fl]]), hl = /* @__PURE__ */ w({
|
|
|
2062
2062
|
});
|
|
2063
2063
|
};
|
|
2064
2064
|
}
|
|
2065
|
-
}),
|
|
2065
|
+
}), jl = /* @__PURE__ */ w({
|
|
2066
2066
|
__name: "index",
|
|
2067
2067
|
props: {
|
|
2068
2068
|
node: {},
|
|
2069
2069
|
outer: { type: Boolean }
|
|
2070
2070
|
},
|
|
2071
2071
|
setup(t) {
|
|
2072
|
-
const e = t, { property: i } = l(e, ["settings", "color"]), { color: o } =
|
|
2072
|
+
const e = t, { property: i } = l(e, ["settings", "color"]), { color: o } = H(i), { property: s } = l(e, [
|
|
2073
2073
|
"settings",
|
|
2074
2074
|
"direction"
|
|
2075
2075
|
]), { property: r } = l(e, [
|
|
@@ -2092,7 +2092,7 @@ const bl = /* @__PURE__ */ ve(yl, [["render", fl]]), hl = /* @__PURE__ */ w({
|
|
|
2092
2092
|
}), { property: h } = l(e, ["settings", "step"]), { theme: g } = N(), { property: x } = l(e, [
|
|
2093
2093
|
"settings",
|
|
2094
2094
|
"thumbColor"
|
|
2095
|
-
]), { color: S } =
|
|
2095
|
+
]), { color: S } = H(x), { property: z } = l(e, [
|
|
2096
2096
|
"settings",
|
|
2097
2097
|
"thumbLabel"
|
|
2098
2098
|
]), R = k(() => {
|
|
@@ -2103,11 +2103,11 @@ const bl = /* @__PURE__ */ ve(yl, [["render", fl]]), hl = /* @__PURE__ */ w({
|
|
|
2103
2103
|
}), { property: W } = l(e, [
|
|
2104
2104
|
"settings",
|
|
2105
2105
|
"thumbSize"
|
|
2106
|
-
]), { property:
|
|
2107
|
-
if (!
|
|
2106
|
+
]), { property: G } = l(e, ["settings", "ticks"]), M = k(() => {
|
|
2107
|
+
if (!G.value)
|
|
2108
2108
|
return;
|
|
2109
2109
|
const ce = {};
|
|
2110
|
-
for (const { value: Me, label: Jt } of
|
|
2110
|
+
for (const { value: Me, label: Jt } of G.value)
|
|
2111
2111
|
ce[Me] = Jt;
|
|
2112
2112
|
if (!uo(ce))
|
|
2113
2113
|
return ce;
|
|
@@ -2117,7 +2117,7 @@ const bl = /* @__PURE__ */ ve(yl, [["render", fl]]), hl = /* @__PURE__ */ w({
|
|
|
2117
2117
|
]), { property: I } = l(e, [
|
|
2118
2118
|
"settings",
|
|
2119
2119
|
"trackColor"
|
|
2120
|
-
]), { color: F } =
|
|
2120
|
+
]), { color: F } = H(I), { property: Z } = l(e, ["settings", "value"]), { property: ie } = l(e, ["slots", "append"]), { property: ue } = l(e, [
|
|
2121
2121
|
"slots",
|
|
2122
2122
|
"prepend"
|
|
2123
2123
|
]);
|
|
@@ -2127,7 +2127,7 @@ const bl = /* @__PURE__ */ ve(yl, [["render", fl]]), hl = /* @__PURE__ */ w({
|
|
|
2127
2127
|
default: $(() => [
|
|
2128
2128
|
D(Jt, {
|
|
2129
2129
|
modelValue: n(Z),
|
|
2130
|
-
"onUpdate:modelValue": Me[0] || (Me[0] = (
|
|
2130
|
+
"onUpdate:modelValue": Me[0] || (Me[0] = (Go) => U(Z) ? Z.value = Go : null),
|
|
2131
2131
|
color: n(o),
|
|
2132
2132
|
direction: n(s),
|
|
2133
2133
|
disabled: n(r),
|
|
@@ -2173,7 +2173,7 @@ const bl = /* @__PURE__ */ ve(yl, [["render", fl]]), hl = /* @__PURE__ */ w({
|
|
|
2173
2173
|
});
|
|
2174
2174
|
};
|
|
2175
2175
|
}
|
|
2176
|
-
}),
|
|
2176
|
+
}), Hl = /* @__PURE__ */ w({
|
|
2177
2177
|
__name: "index",
|
|
2178
2178
|
props: {
|
|
2179
2179
|
node: {},
|
|
@@ -2199,7 +2199,7 @@ const bl = /* @__PURE__ */ ve(yl, [["render", fl]]), hl = /* @__PURE__ */ w({
|
|
|
2199
2199
|
}, 8, ["modelValue", "hide-actions", "theme"]);
|
|
2200
2200
|
};
|
|
2201
2201
|
}
|
|
2202
|
-
}),
|
|
2202
|
+
}), Ol = {};
|
|
2203
2203
|
function Kl(t, e) {
|
|
2204
2204
|
const i = P("v-stepper-header");
|
|
2205
2205
|
return v(), V(i, null, {
|
|
@@ -2209,7 +2209,7 @@ function Kl(t, e) {
|
|
|
2209
2209
|
_: 3
|
|
2210
2210
|
});
|
|
2211
2211
|
}
|
|
2212
|
-
const Ul = /* @__PURE__ */ ve(
|
|
2212
|
+
const Ul = /* @__PURE__ */ ve(Ol, [["render", Kl]]), Xl = /* @__PURE__ */ w({
|
|
2213
2213
|
__name: "index",
|
|
2214
2214
|
props: {
|
|
2215
2215
|
node: {},
|
|
@@ -2305,7 +2305,7 @@ const Zl = /* @__PURE__ */ ve(Yl, [["render", Jl]]), ql = /* @__PURE__ */ w({
|
|
|
2305
2305
|
outer: { type: Boolean }
|
|
2306
2306
|
},
|
|
2307
2307
|
setup(t) {
|
|
2308
|
-
const e = t, i =
|
|
2308
|
+
const e = t, i = j(), { property: o } = l(e, ["settings", "text"]), { theme: s } = N(), { property: r } = l(e, ["settings", "value"]), a = k(() => {
|
|
2309
2309
|
const p = {};
|
|
2310
2310
|
return i === "editor" && (p.pointerEvents = "none"), p;
|
|
2311
2311
|
});
|
|
@@ -2338,14 +2338,14 @@ const Zl = /* @__PURE__ */ ve(Yl, [["render", Jl]]), ql = /* @__PURE__ */ w({
|
|
|
2338
2338
|
"settings",
|
|
2339
2339
|
"color",
|
|
2340
2340
|
"backgroundColor"
|
|
2341
|
-
]), { color: s } =
|
|
2341
|
+
]), { color: s } = H(o), { property: r } = l(e, [
|
|
2342
2342
|
"settings",
|
|
2343
2343
|
"centerActive"
|
|
2344
2344
|
]), { property: a } = l(e, [
|
|
2345
2345
|
"settings",
|
|
2346
2346
|
"color",
|
|
2347
2347
|
"selectedColor"
|
|
2348
|
-
]), { color: p } =
|
|
2348
|
+
]), { color: p } = H(a), { property: y } = l(e, ["settings", "density"]), { property: m } = l(e, [
|
|
2349
2349
|
"settings",
|
|
2350
2350
|
"direction"
|
|
2351
2351
|
]), { property: u } = l(e, [
|
|
@@ -2367,12 +2367,12 @@ const Zl = /* @__PURE__ */ ve(Yl, [["render", Jl]]), ql = /* @__PURE__ */ w({
|
|
|
2367
2367
|
"settings",
|
|
2368
2368
|
"color",
|
|
2369
2369
|
"sliderColor"
|
|
2370
|
-
]), { color: z } =
|
|
2370
|
+
]), { color: z } = H(S), { property: R } = l(e, ["settings", "stacked"]), { theme: W } = N(), { property: G } = l(e, ["settings", "value"]);
|
|
2371
2371
|
return (M, E) => {
|
|
2372
2372
|
const I = P("v-tabs");
|
|
2373
2373
|
return v(), V(I, {
|
|
2374
|
-
modelValue: n(
|
|
2375
|
-
"onUpdate:modelValue": E[0] || (E[0] = (F) => U(
|
|
2374
|
+
modelValue: n(G),
|
|
2375
|
+
"onUpdate:modelValue": E[0] || (E[0] = (F) => U(G) ? G.value = F : null),
|
|
2376
2376
|
"align-tabs": n(i),
|
|
2377
2377
|
"bg-color": n(s),
|
|
2378
2378
|
"center-active": n(r),
|
|
@@ -2511,7 +2511,7 @@ const Zl = /* @__PURE__ */ ve(Yl, [["render", Jl]]), ql = /* @__PURE__ */ w({
|
|
|
2511
2511
|
]), { property: x } = l(e, ["settings", "reverse"]), { property: S } = l(e, [
|
|
2512
2512
|
"settings",
|
|
2513
2513
|
"singleLine"
|
|
2514
|
-
]), { property: z } = l(e, ["settings", "suffix"]), { theme: R } = N(), { property: W } = l(e, ["settings", "value"]), { property:
|
|
2514
|
+
]), { property: z } = l(e, ["settings", "suffix"]), { theme: R } = N(), { property: W } = l(e, ["settings", "value"]), { property: G } = l(e, ["settings", "variant"]), { property: M } = l(e, ["slots", "append"]), { property: E } = l(e, [
|
|
2515
2515
|
"slots",
|
|
2516
2516
|
"appendInner"
|
|
2517
2517
|
]), { property: I } = l(e, [
|
|
@@ -2546,7 +2546,7 @@ const Zl = /* @__PURE__ */ ve(Yl, [["render", Jl]]), ql = /* @__PURE__ */ w({
|
|
|
2546
2546
|
"single-line": n(S),
|
|
2547
2547
|
suffix: n(z),
|
|
2548
2548
|
theme: n(R),
|
|
2549
|
-
variant: n(
|
|
2549
|
+
variant: n(G)
|
|
2550
2550
|
}, Ln({ _: 2 }, [
|
|
2551
2551
|
n(M) ? {
|
|
2552
2552
|
name: "append",
|
|
@@ -2608,7 +2608,7 @@ const Zl = /* @__PURE__ */ ve(Yl, [["render", Jl]]), ql = /* @__PURE__ */ w({
|
|
|
2608
2608
|
"settings",
|
|
2609
2609
|
"dot",
|
|
2610
2610
|
"color"
|
|
2611
|
-
]), { color: a } =
|
|
2611
|
+
]), { color: a } = H(r), { property: p } = l(e, [
|
|
2612
2612
|
"settings",
|
|
2613
2613
|
"dot",
|
|
2614
2614
|
"fill"
|
|
@@ -2619,7 +2619,7 @@ const Zl = /* @__PURE__ */ ve(Yl, [["render", Jl]]), ql = /* @__PURE__ */ w({
|
|
|
2619
2619
|
"settings",
|
|
2620
2620
|
"line",
|
|
2621
2621
|
"color"
|
|
2622
|
-
]), { color: u } =
|
|
2622
|
+
]), { color: u } = H(m), { property: c } = l(e, [
|
|
2623
2623
|
"settings",
|
|
2624
2624
|
"line",
|
|
2625
2625
|
"inset"
|
|
@@ -2715,7 +2715,7 @@ function pa(t, e) {
|
|
|
2715
2715
|
_: 3
|
|
2716
2716
|
});
|
|
2717
2717
|
}
|
|
2718
|
-
const ma = /* @__PURE__ */ ve(ca, [["render", pa]]), Xe = "ambient_light_v1", Ye = "badge_v1", Dn = "breadcrumbs_v1", Je = "bar_chart_v1", Ze = "box_geometry_v1", qe = "btn_v1", Qe = "btn_group_v1", et = "btn_toggle_v1", tt = "card_v1", nt = "checkbox_v1", it = "chip_v1", ot = "chip_group_v1", rt = "color_picker_v1", st = "combobox_v1", lt = "container_v1", at = "data_table_v1", ut = "date_picker_v1", ct = "dialog_v1", pt = "directional_light_v1", mt = "file_input_v1", dt = "flex_layout_v1", ko = "flex_layout_entry_v1", yt = "form_v1", rn = "globality_v1", ft = "group_v1", bt = "icon_v1", ht = "keyboard_controls_v1", gt = "line_chart_v1", xt = "map_controls_v1", vt = "menu_v1", kt = "mesh_v1", da = "mesh_basic_material_v1", _t = "multiple_ref_v1", wt = "number_input_v1", Vt = "orbit_controls_v1", $t = "orthographic_camera_v1", It = "pagination_v1", St = "perspective_camera_v1", Ct = "point_light_v1", _o = "radio_v1", Tt = "radio_group_v1", Pt = "range_slider_v1", Ae = "reference_v1", zt = "rating_v1", At = "render_switch_v1", Lt = "select_v1", Bt = "slider_v1", Wt = "sphere_geometry_v1", Et = "spot_light_v1", Nt = "stepper_v1", wo = "stepper_header_v1", Vo = "stepper_item_v1", $o = "stepper_window_v1", Io = "stepper_window_item_v1", Rt = "switch_v1", So = "tab_v1", Fn = "table_v1", Mt = "tabs_v1", Dt = "text_v1", Ft = "textarea_v1",
|
|
2718
|
+
const ma = /* @__PURE__ */ ve(ca, [["render", pa]]), Xe = "ambient_light_v1", Ye = "badge_v1", Dn = "breadcrumbs_v1", Je = "bar_chart_v1", Ze = "box_geometry_v1", qe = "btn_v1", Qe = "btn_group_v1", et = "btn_toggle_v1", tt = "card_v1", nt = "checkbox_v1", it = "chip_v1", ot = "chip_group_v1", rt = "color_picker_v1", st = "combobox_v1", lt = "container_v1", at = "data_table_v1", ut = "date_picker_v1", ct = "dialog_v1", pt = "directional_light_v1", mt = "file_input_v1", dt = "flex_layout_v1", ko = "flex_layout_entry_v1", yt = "form_v1", rn = "globality_v1", ft = "group_v1", bt = "icon_v1", ht = "keyboard_controls_v1", gt = "line_chart_v1", xt = "map_controls_v1", vt = "menu_v1", kt = "mesh_v1", da = "mesh_basic_material_v1", _t = "multiple_ref_v1", wt = "number_input_v1", Vt = "orbit_controls_v1", $t = "orthographic_camera_v1", It = "pagination_v1", St = "perspective_camera_v1", Ct = "point_light_v1", _o = "radio_v1", Tt = "radio_group_v1", Pt = "range_slider_v1", Ae = "reference_v1", zt = "rating_v1", At = "render_switch_v1", Lt = "select_v1", Bt = "slider_v1", Wt = "sphere_geometry_v1", Et = "spot_light_v1", Nt = "stepper_v1", wo = "stepper_header_v1", Vo = "stepper_item_v1", $o = "stepper_window_v1", Io = "stepper_window_item_v1", Rt = "switch_v1", So = "tab_v1", Fn = "table_v1", Mt = "tabs_v1", Dt = "text_v1", Ft = "textarea_v1", Gt = "text_field_v1", jt = "timeline_v1", Co = "timeline_item_v1", Ht = "window_v1", To = "window_item_v1", f = {
|
|
2719
2719
|
key: "basic",
|
|
2720
2720
|
name: "x-runtime-lib.basic",
|
|
2721
2721
|
children: [
|
|
@@ -2740,7 +2740,7 @@ const ma = /* @__PURE__ */ ve(ca, [["render", pa]]), Xe = "ambient_light_v1", Ye
|
|
|
2740
2740
|
default: ""
|
|
2741
2741
|
}
|
|
2742
2742
|
]
|
|
2743
|
-
},
|
|
2743
|
+
}, O = {
|
|
2744
2744
|
key: "color",
|
|
2745
2745
|
name: "x-runtime-lib.color",
|
|
2746
2746
|
children: [
|
|
@@ -2777,7 +2777,7 @@ const ma = /* @__PURE__ */ ve(ca, [["render", pa]]), Xe = "ambient_light_v1", Ye
|
|
|
2777
2777
|
]
|
|
2778
2778
|
}
|
|
2779
2779
|
]
|
|
2780
|
-
}, ya = B(
|
|
2780
|
+
}, ya = B(O), $e = {
|
|
2781
2781
|
key: "border",
|
|
2782
2782
|
name: "x-runtime-lib.border",
|
|
2783
2783
|
children: [
|
|
@@ -2831,7 +2831,7 @@ const ma = /* @__PURE__ */ ve(ca, [["render", pa]]), Xe = "ambient_light_v1", Ye
|
|
|
2831
2831
|
]
|
|
2832
2832
|
}
|
|
2833
2833
|
]
|
|
2834
|
-
},
|
|
2834
|
+
}, Ge = {
|
|
2835
2835
|
key: "legend",
|
|
2836
2836
|
name: "x-runtime-lib.legend",
|
|
2837
2837
|
children: [
|
|
@@ -2969,7 +2969,7 @@ const ma = /* @__PURE__ */ ve(ca, [["render", pa]]), Xe = "ambient_light_v1", Ye
|
|
|
2969
2969
|
default: ""
|
|
2970
2970
|
}
|
|
2971
2971
|
]
|
|
2972
|
-
},
|
|
2972
|
+
}, je = {
|
|
2973
2973
|
key: "title",
|
|
2974
2974
|
name: "x-runtime-lib.title",
|
|
2975
2975
|
children: [
|
|
@@ -3078,7 +3078,7 @@ const ma = /* @__PURE__ */ ve(ca, [["render", pa]]), Xe = "ambient_light_v1", Ye
|
|
|
3078
3078
|
]
|
|
3079
3079
|
}
|
|
3080
3080
|
]
|
|
3081
|
-
},
|
|
3081
|
+
}, He = {
|
|
3082
3082
|
key: "xAxis",
|
|
3083
3083
|
name: "x-runtime-lib.xAxis",
|
|
3084
3084
|
children: [
|
|
@@ -3111,7 +3111,7 @@ const ma = /* @__PURE__ */ ve(ca, [["render", pa]]), Xe = "ambient_light_v1", Ye
|
|
|
3111
3111
|
defaultArray: []
|
|
3112
3112
|
}
|
|
3113
3113
|
]
|
|
3114
|
-
},
|
|
3114
|
+
}, Oe = {
|
|
3115
3115
|
key: "yAxis",
|
|
3116
3116
|
name: "x-runtime-lib.yAxis",
|
|
3117
3117
|
children: [
|
|
@@ -3253,19 +3253,19 @@ _(ba);
|
|
|
3253
3253
|
const ha = /* @__PURE__ */ w({
|
|
3254
3254
|
__name: "index",
|
|
3255
3255
|
setup(t) {
|
|
3256
|
-
const e =
|
|
3256
|
+
const e = j();
|
|
3257
3257
|
return (i, o) => n(e) !== "editor" ? (v(), V(n(mr), { key: 0 })) : ee("", !0);
|
|
3258
3258
|
}
|
|
3259
3259
|
}), ga = /* @__PURE__ */ w({
|
|
3260
3260
|
__name: "index",
|
|
3261
3261
|
setup(t) {
|
|
3262
|
-
const e =
|
|
3262
|
+
const e = j();
|
|
3263
3263
|
return (i, o) => n(e) !== "editor" ? (v(), V(n(dr), { key: 0 })) : ee("", !0);
|
|
3264
3264
|
}
|
|
3265
3265
|
}), xa = /* @__PURE__ */ w({
|
|
3266
3266
|
__name: "index",
|
|
3267
3267
|
setup(t) {
|
|
3268
|
-
const e =
|
|
3268
|
+
const e = j();
|
|
3269
3269
|
return (i, o) => n(e) !== "editor" ? (v(), V(n(yr), { key: 0 })) : ee("", !0);
|
|
3270
3270
|
}
|
|
3271
3271
|
}), va = {
|
|
@@ -3589,15 +3589,15 @@ const ti = {
|
|
|
3589
3589
|
spawn: Ia
|
|
3590
3590
|
};
|
|
3591
3591
|
_(ln);
|
|
3592
|
-
const
|
|
3593
|
-
|
|
3594
|
-
|
|
3595
|
-
|
|
3592
|
+
const Ot = B(O);
|
|
3593
|
+
Ot.children[0].default = "custom";
|
|
3594
|
+
Ot.children[2].children[0].default = "0xffffff";
|
|
3595
|
+
Ot.children[2].children[1].default = "0xffffff";
|
|
3596
3596
|
const ni = {
|
|
3597
3597
|
key: "settings",
|
|
3598
3598
|
name: "x-runtime-lib.settings",
|
|
3599
3599
|
children: [
|
|
3600
|
-
|
|
3600
|
+
Ot,
|
|
3601
3601
|
{
|
|
3602
3602
|
key: "intensity",
|
|
3603
3603
|
name: "x-runtime-lib.intensity",
|
|
@@ -3619,7 +3619,7 @@ const ni = {
|
|
|
3619
3619
|
slots: []
|
|
3620
3620
|
};
|
|
3621
3621
|
_(Ta);
|
|
3622
|
-
const Kt = B(
|
|
3622
|
+
const Kt = B(O);
|
|
3623
3623
|
Kt.children[0].default = "custom";
|
|
3624
3624
|
Kt.children[2].children[0].default = "0xffffff";
|
|
3625
3625
|
Kt.children[2].children[1].default = "0xffffff";
|
|
@@ -3649,7 +3649,7 @@ const ii = {
|
|
|
3649
3649
|
slots: []
|
|
3650
3650
|
};
|
|
3651
3651
|
_(Pa);
|
|
3652
|
-
const Ut = B(
|
|
3652
|
+
const Ut = B(O);
|
|
3653
3653
|
Ut.children[0].default = "custom";
|
|
3654
3654
|
Ut.children[2].children[0].default = "0xffffff";
|
|
3655
3655
|
Ut.children[2].children[1].default = "0xffffff";
|
|
@@ -3683,7 +3683,7 @@ const oi = {
|
|
|
3683
3683
|
}, za = {
|
|
3684
3684
|
key: Ct,
|
|
3685
3685
|
name: "x-runtime-lib.pointLight",
|
|
3686
|
-
comp:
|
|
3686
|
+
comp: jr,
|
|
3687
3687
|
properties: {
|
|
3688
3688
|
pageScene: [f, Y, oi],
|
|
3689
3689
|
compScene: [f, Y, oi]
|
|
@@ -3693,7 +3693,7 @@ const oi = {
|
|
|
3693
3693
|
slots: []
|
|
3694
3694
|
};
|
|
3695
3695
|
_(za);
|
|
3696
|
-
const Xt = B(
|
|
3696
|
+
const Xt = B(O);
|
|
3697
3697
|
Xt.children[0].default = "custom";
|
|
3698
3698
|
Xt.children[2].children[0].default = "0xffffff";
|
|
3699
3699
|
Xt.children[2].children[1].default = "0xffffff";
|
|
@@ -3744,7 +3744,7 @@ const ri = {
|
|
|
3744
3744
|
}, Aa = {
|
|
3745
3745
|
key: Et,
|
|
3746
3746
|
name: "x-runtime-lib.spotLight",
|
|
3747
|
-
comp:
|
|
3747
|
+
comp: Or,
|
|
3748
3748
|
properties: {
|
|
3749
3749
|
pageScene: [f, Y, ri],
|
|
3750
3750
|
compScene: [f, Y, ri]
|
|
@@ -3839,8 +3839,8 @@ const si = {
|
|
|
3839
3839
|
name: "x-runtime-lib.barChart",
|
|
3840
3840
|
comp: rl,
|
|
3841
3841
|
properties: {
|
|
3842
|
-
pageCommon: [f, K,
|
|
3843
|
-
compCommon: [f, K,
|
|
3842
|
+
pageCommon: [f, K, je, He, Oe, Ge, si],
|
|
3843
|
+
compCommon: [f, K, je, He, Oe, Ge, si]
|
|
3844
3844
|
},
|
|
3845
3845
|
events: [],
|
|
3846
3846
|
methods: [],
|
|
@@ -3894,8 +3894,8 @@ const li = {
|
|
|
3894
3894
|
name: "x-runtime-lib.lineChart",
|
|
3895
3895
|
comp: sl,
|
|
3896
3896
|
properties: {
|
|
3897
|
-
pageCommon: [f, K,
|
|
3898
|
-
compCommon: [f, K,
|
|
3897
|
+
pageCommon: [f, K, je, He, Oe, Ge, li],
|
|
3898
|
+
compCommon: [f, K, je, He, Oe, Ge, li]
|
|
3899
3899
|
},
|
|
3900
3900
|
events: [],
|
|
3901
3901
|
methods: [],
|
|
@@ -3967,7 +3967,7 @@ const ui = {
|
|
|
3967
3967
|
slots: []
|
|
3968
3968
|
};
|
|
3969
3969
|
_(Ra);
|
|
3970
|
-
const Yt = B(
|
|
3970
|
+
const Yt = B(O);
|
|
3971
3971
|
Yt.key = "backgroundColor";
|
|
3972
3972
|
Yt.name = "x-runtime-lib.backgroundColor";
|
|
3973
3973
|
const ci = {
|
|
@@ -4088,7 +4088,7 @@ function Da(t, e) {
|
|
|
4088
4088
|
const r = {};
|
|
4089
4089
|
return T(r, s), r.basic.id = C(16), r.basic.key = cn.key, r.settings.text = "button", r;
|
|
4090
4090
|
}
|
|
4091
|
-
const Fa = B(
|
|
4091
|
+
const Fa = B(O), di = {
|
|
4092
4092
|
key: "settings",
|
|
4093
4093
|
name: "x-runtime-lib.settings",
|
|
4094
4094
|
children: [
|
|
@@ -4196,7 +4196,7 @@ const Fa = B(H), di = {
|
|
|
4196
4196
|
spawn: Da
|
|
4197
4197
|
};
|
|
4198
4198
|
_(cn);
|
|
4199
|
-
const
|
|
4199
|
+
const Ga = {
|
|
4200
4200
|
key: Qe,
|
|
4201
4201
|
name: "x-runtime-lib.buttonGroup",
|
|
4202
4202
|
comp: bl,
|
|
@@ -4208,7 +4208,7 @@ const ja = {
|
|
|
4208
4208
|
methods: [],
|
|
4209
4209
|
slots: []
|
|
4210
4210
|
};
|
|
4211
|
-
_(
|
|
4211
|
+
_(Ga);
|
|
4212
4212
|
const yi = {
|
|
4213
4213
|
key: "settings",
|
|
4214
4214
|
name: "x-runtime-lib.settings",
|
|
@@ -4270,7 +4270,7 @@ const yi = {
|
|
|
4270
4270
|
default: !1
|
|
4271
4271
|
}
|
|
4272
4272
|
]
|
|
4273
|
-
},
|
|
4273
|
+
}, ja = {
|
|
4274
4274
|
key: et,
|
|
4275
4275
|
name: "x-runtime-lib.buttonToggle",
|
|
4276
4276
|
comp: hl,
|
|
@@ -4282,8 +4282,8 @@ const yi = {
|
|
|
4282
4282
|
methods: [],
|
|
4283
4283
|
slots: []
|
|
4284
4284
|
};
|
|
4285
|
-
_(
|
|
4286
|
-
function
|
|
4285
|
+
_(ja);
|
|
4286
|
+
function Ha(t, e) {
|
|
4287
4287
|
const i = `type=${t} subtype=${e}`, o = A(t, e);
|
|
4288
4288
|
if (!o) {
|
|
4289
4289
|
console.error(`cardV1/spawn property tag not found, ${i}`);
|
|
@@ -4363,7 +4363,7 @@ const fi = {
|
|
|
4363
4363
|
events: [],
|
|
4364
4364
|
methods: [],
|
|
4365
4365
|
slots: [],
|
|
4366
|
-
spawn:
|
|
4366
|
+
spawn: Ha
|
|
4367
4367
|
};
|
|
4368
4368
|
_(We);
|
|
4369
4369
|
const bi = {
|
|
@@ -4383,7 +4383,7 @@ const bi = {
|
|
|
4383
4383
|
default: ""
|
|
4384
4384
|
}
|
|
4385
4385
|
]
|
|
4386
|
-
},
|
|
4386
|
+
}, Oa = {
|
|
4387
4387
|
key: nt,
|
|
4388
4388
|
name: "x-runtime-lib.checkbox",
|
|
4389
4389
|
comp: xl,
|
|
@@ -4396,8 +4396,8 @@ const bi = {
|
|
|
4396
4396
|
slots: [],
|
|
4397
4397
|
leaf: !0
|
|
4398
4398
|
};
|
|
4399
|
-
_(
|
|
4400
|
-
const Ka = B(
|
|
4399
|
+
_(Oa);
|
|
4400
|
+
const Ka = B(O), hi = {
|
|
4401
4401
|
key: "settings",
|
|
4402
4402
|
name: "x-runtime-lib.settings",
|
|
4403
4403
|
children: [
|
|
@@ -4658,13 +4658,13 @@ const xi = {
|
|
|
4658
4658
|
leaf: !0
|
|
4659
4659
|
};
|
|
4660
4660
|
_(Ya);
|
|
4661
|
-
const
|
|
4662
|
-
|
|
4663
|
-
|
|
4661
|
+
const Gn = B(O);
|
|
4662
|
+
Gn.key = "backgroundColor";
|
|
4663
|
+
Gn.name = "x-runtime-lib.backgroundColor";
|
|
4664
4664
|
const vi = {
|
|
4665
4665
|
key: "settings",
|
|
4666
4666
|
name: "x-runtime-lib.settings",
|
|
4667
|
-
children: [
|
|
4667
|
+
children: [Gn]
|
|
4668
4668
|
}, dn = {
|
|
4669
4669
|
key: lt,
|
|
4670
4670
|
name: "x-runtime-lib.container",
|
|
@@ -5023,9 +5023,9 @@ function eu(t, e) {
|
|
|
5023
5023
|
)
|
|
5024
5024
|
], r;
|
|
5025
5025
|
}
|
|
5026
|
-
const
|
|
5027
|
-
|
|
5028
|
-
|
|
5026
|
+
const jn = B(O);
|
|
5027
|
+
jn.key = "backgroundColor";
|
|
5028
|
+
jn.name = "x-runtime-lib.backgroundColor";
|
|
5029
5029
|
const Ii = {
|
|
5030
5030
|
key: "settings",
|
|
5031
5031
|
name: "x-runtime-lib.settings",
|
|
@@ -5194,7 +5194,7 @@ const Ii = {
|
|
|
5194
5194
|
}
|
|
5195
5195
|
]
|
|
5196
5196
|
},
|
|
5197
|
-
|
|
5197
|
+
jn
|
|
5198
5198
|
]
|
|
5199
5199
|
}, Ee = {
|
|
5200
5200
|
key: dt,
|
|
@@ -5367,7 +5367,7 @@ const Si = {
|
|
|
5367
5367
|
}
|
|
5368
5368
|
]
|
|
5369
5369
|
}, bn = {
|
|
5370
|
-
key:
|
|
5370
|
+
key: Gt,
|
|
5371
5371
|
name: "x-runtime-lib.textField",
|
|
5372
5372
|
comp: oa,
|
|
5373
5373
|
properties: {
|
|
@@ -5471,7 +5471,7 @@ const Ti = {
|
|
|
5471
5471
|
spawn: tu
|
|
5472
5472
|
};
|
|
5473
5473
|
_(hn);
|
|
5474
|
-
const iu = B(
|
|
5474
|
+
const iu = B(O), Pi = {
|
|
5475
5475
|
key: "settings",
|
|
5476
5476
|
name: "x-runtime-lib.settings",
|
|
5477
5477
|
children: [
|
|
@@ -5836,7 +5836,7 @@ const Li = {
|
|
|
5836
5836
|
leaf: !0
|
|
5837
5837
|
};
|
|
5838
5838
|
_(lu);
|
|
5839
|
-
const au = B(
|
|
5839
|
+
const au = B(O), Bi = {
|
|
5840
5840
|
key: "settings",
|
|
5841
5841
|
name: "x-runtime-lib.settings",
|
|
5842
5842
|
children: [
|
|
@@ -6222,7 +6222,7 @@ const Ri = {
|
|
|
6222
6222
|
}, mu = {
|
|
6223
6223
|
key: Lt,
|
|
6224
6224
|
name: "x-runtime-lib.select",
|
|
6225
|
-
comp:
|
|
6225
|
+
comp: Gl,
|
|
6226
6226
|
properties: {
|
|
6227
6227
|
pageCommon: [f, Ri],
|
|
6228
6228
|
compCommon: [f, Ri]
|
|
@@ -6233,13 +6233,13 @@ const Ri = {
|
|
|
6233
6233
|
leaf: !0
|
|
6234
6234
|
};
|
|
6235
6235
|
_(mu);
|
|
6236
|
-
const
|
|
6237
|
-
|
|
6238
|
-
|
|
6239
|
-
const
|
|
6240
|
-
|
|
6241
|
-
|
|
6242
|
-
const Kn = B(
|
|
6236
|
+
const Hn = B(O);
|
|
6237
|
+
Hn.key = "color";
|
|
6238
|
+
Hn.name = "x-runtime-lib.color";
|
|
6239
|
+
const On = B(O);
|
|
6240
|
+
On.key = "trackColor";
|
|
6241
|
+
On.name = "x-runtime-lib.trackColor";
|
|
6242
|
+
const Kn = B(O);
|
|
6243
6243
|
Kn.key = "thumbColor";
|
|
6244
6244
|
Kn.name = "x-runtime-lib.thumbColor";
|
|
6245
6245
|
const Mi = {
|
|
@@ -6347,8 +6347,8 @@ const Mi = {
|
|
|
6347
6347
|
ui: "switch",
|
|
6348
6348
|
default: !1
|
|
6349
6349
|
},
|
|
6350
|
-
On,
|
|
6351
6350
|
Hn,
|
|
6351
|
+
On,
|
|
6352
6352
|
Kn
|
|
6353
6353
|
]
|
|
6354
6354
|
}, Di = {
|
|
@@ -6371,7 +6371,7 @@ const Mi = {
|
|
|
6371
6371
|
}, du = {
|
|
6372
6372
|
key: Bt,
|
|
6373
6373
|
name: "x-runtime-lib.slider",
|
|
6374
|
-
comp:
|
|
6374
|
+
comp: jl,
|
|
6375
6375
|
properties: {
|
|
6376
6376
|
pageCommon: [f, Mi, Di],
|
|
6377
6377
|
compCommon: [f, Mi, Di]
|
|
@@ -6432,7 +6432,7 @@ const wn = {
|
|
|
6432
6432
|
slots: []
|
|
6433
6433
|
};
|
|
6434
6434
|
_(wn);
|
|
6435
|
-
const
|
|
6435
|
+
const Gi = {
|
|
6436
6436
|
key: "settings",
|
|
6437
6437
|
name: "x-runtime-lib.settings",
|
|
6438
6438
|
children: [
|
|
@@ -6448,8 +6448,8 @@ const ji = {
|
|
|
6448
6448
|
name: "x-runtime-lib.stepperWindowItem",
|
|
6449
6449
|
comp: ql,
|
|
6450
6450
|
properties: {
|
|
6451
|
-
pageCommon: [f,
|
|
6452
|
-
compCommon: [f,
|
|
6451
|
+
pageCommon: [f, Gi],
|
|
6452
|
+
compCommon: [f, Gi]
|
|
6453
6453
|
},
|
|
6454
6454
|
events: [],
|
|
6455
6455
|
methods: [],
|
|
@@ -6552,7 +6552,7 @@ function hu(t, e, i) {
|
|
|
6552
6552
|
const a = {};
|
|
6553
6553
|
return T(a, r), a.basic.id = C(16), a.basic.key = We.key, a.children = [], a.settings.title = i, a;
|
|
6554
6554
|
}
|
|
6555
|
-
const
|
|
6555
|
+
const ji = {
|
|
6556
6556
|
key: "settings",
|
|
6557
6557
|
name: "x-runtime-lib.settings",
|
|
6558
6558
|
children: [
|
|
@@ -6572,10 +6572,10 @@ const Gi = {
|
|
|
6572
6572
|
}, $n = {
|
|
6573
6573
|
key: Nt,
|
|
6574
6574
|
name: "x-runtime-lib.stepper",
|
|
6575
|
-
comp:
|
|
6575
|
+
comp: Hl,
|
|
6576
6576
|
properties: {
|
|
6577
|
-
pageCommon: [f,
|
|
6578
|
-
compCommon: [f,
|
|
6577
|
+
pageCommon: [f, ji],
|
|
6578
|
+
compCommon: [f, ji]
|
|
6579
6579
|
},
|
|
6580
6580
|
events: [],
|
|
6581
6581
|
methods: [],
|
|
@@ -6597,7 +6597,7 @@ const gu = {
|
|
|
6597
6597
|
leaf: !0
|
|
6598
6598
|
};
|
|
6599
6599
|
_(gu);
|
|
6600
|
-
const
|
|
6600
|
+
const Hi = {
|
|
6601
6601
|
key: "settings",
|
|
6602
6602
|
name: "x-runtime-lib.settings",
|
|
6603
6603
|
children: [
|
|
@@ -6619,8 +6619,8 @@ const Oi = {
|
|
|
6619
6619
|
name: "x-runtime-lib.tab",
|
|
6620
6620
|
comp: ea,
|
|
6621
6621
|
properties: {
|
|
6622
|
-
pageCommon: [f,
|
|
6623
|
-
compCommon: [f,
|
|
6622
|
+
pageCommon: [f, Hi],
|
|
6623
|
+
compCommon: [f, Hi]
|
|
6624
6624
|
},
|
|
6625
6625
|
events: [],
|
|
6626
6626
|
methods: [],
|
|
@@ -6660,16 +6660,16 @@ function tn(t, e, i, o) {
|
|
|
6660
6660
|
const p = {};
|
|
6661
6661
|
return T(p, a), p.basic.id = C(16), p.basic.key = In.key, p.settings.value = i, p.settings.text = o, p;
|
|
6662
6662
|
}
|
|
6663
|
-
const Un = B(
|
|
6663
|
+
const Un = B(O);
|
|
6664
6664
|
Un.key = "backgroundColor";
|
|
6665
6665
|
Un.name = "x-runtime-lib.backgroundColor";
|
|
6666
|
-
const Xn = B(
|
|
6666
|
+
const Xn = B(O);
|
|
6667
6667
|
Xn.key = "selectedColor";
|
|
6668
6668
|
Xn.name = "x-runtime-lib.selectedColor";
|
|
6669
|
-
const Yn = B(
|
|
6669
|
+
const Yn = B(O);
|
|
6670
6670
|
Yn.key = "sliderColor";
|
|
6671
6671
|
Yn.name = "x-runtime-lib.sliderColor";
|
|
6672
|
-
const
|
|
6672
|
+
const Oi = {
|
|
6673
6673
|
key: "settings",
|
|
6674
6674
|
name: "x-runtime-lib.settings",
|
|
6675
6675
|
children: [
|
|
@@ -6753,8 +6753,8 @@ const Hi = {
|
|
|
6753
6753
|
name: "x-runtime-lib.tabs",
|
|
6754
6754
|
comp: ta,
|
|
6755
6755
|
properties: {
|
|
6756
|
-
pageCommon: [f,
|
|
6757
|
-
compCommon: [f,
|
|
6756
|
+
pageCommon: [f, Oi],
|
|
6757
|
+
compCommon: [f, Oi]
|
|
6758
6758
|
},
|
|
6759
6759
|
events: [],
|
|
6760
6760
|
methods: [],
|
|
@@ -7036,7 +7036,7 @@ function wu(t, e, i) {
|
|
|
7036
7036
|
const a = {};
|
|
7037
7037
|
return T(a, r), a.basic.id = C(16), a.basic.key = ge.key, a.settings.text = i, a;
|
|
7038
7038
|
}
|
|
7039
|
-
const Vu = B(
|
|
7039
|
+
const Vu = B(O), $u = B(O), Xi = {
|
|
7040
7040
|
key: "settings",
|
|
7041
7041
|
name: "x-runtime-lib.settings",
|
|
7042
7042
|
children: [
|
|
@@ -7115,7 +7115,7 @@ const Vu = B(H), $u = B(H), Xi = {
|
|
|
7115
7115
|
}
|
|
7116
7116
|
]
|
|
7117
7117
|
}, Pn = {
|
|
7118
|
-
key:
|
|
7118
|
+
key: jt,
|
|
7119
7119
|
name: "x-runtime-lib.timeline",
|
|
7120
7120
|
comp: ra,
|
|
7121
7121
|
properties: {
|
|
@@ -7252,7 +7252,7 @@ const Yi = {
|
|
|
7252
7252
|
}
|
|
7253
7253
|
]
|
|
7254
7254
|
}, An = {
|
|
7255
|
-
key:
|
|
7255
|
+
key: Ht,
|
|
7256
7256
|
name: "x-runtime-lib.window",
|
|
7257
7257
|
comp: ua,
|
|
7258
7258
|
properties: {
|
|
@@ -7340,17 +7340,17 @@ const Tu = [
|
|
|
7340
7340
|
{ title: "x-runtime-lib.outlined", value: "outlined" },
|
|
7341
7341
|
{ title: "x-runtime-lib.text", value: "text" },
|
|
7342
7342
|
{ title: "x-runtime-lib.plain", value: "plain" }
|
|
7343
|
-
],
|
|
7343
|
+
], Gu = [
|
|
7344
7344
|
{ title: "x-runtime-lib.notSet", value: "" },
|
|
7345
7345
|
{ title: "x-runtime-lib.show", value: "show" },
|
|
7346
7346
|
{ title: "x-runtime-lib.always", value: "always" }
|
|
7347
|
-
],
|
|
7347
|
+
], ju = [
|
|
7348
7348
|
{ title: "x-runtime-lib.xSmall", value: "x-small" },
|
|
7349
7349
|
{ title: "x-runtime-lib.small", value: "small" },
|
|
7350
7350
|
{ title: "x-runtime-lib.default", value: "default" },
|
|
7351
7351
|
{ title: "x-runtime-lib.large", value: "large" },
|
|
7352
7352
|
{ title: "x-runtime-lib.xLarge", value: "x-large" }
|
|
7353
|
-
],
|
|
7353
|
+
], Hu = [
|
|
7354
7354
|
{ title: "x-runtime-lib.notSet", value: "" },
|
|
7355
7355
|
{ title: "x-runtime-lib.start", value: "start" },
|
|
7356
7356
|
{ title: "x-runtime-lib.center", value: "center" },
|
|
@@ -7358,7 +7358,7 @@ const Tu = [
|
|
|
7358
7358
|
{ title: "x-runtime-lib.justify", value: "justify" },
|
|
7359
7359
|
{ title: "x-runtime-lib.left", value: "left" },
|
|
7360
7360
|
{ title: "x-runtime-lib.right", value: "right" }
|
|
7361
|
-
],
|
|
7361
|
+
], Ou = [
|
|
7362
7362
|
{ title: "x-runtime-lib.notSet", value: "" },
|
|
7363
7363
|
{ title: "x-runtime-lib.none", value: "none" },
|
|
7364
7364
|
{ title: "x-runtime-lib.overline", value: "overline" },
|
|
@@ -7429,10 +7429,10 @@ const Tu = [
|
|
|
7429
7429
|
flexWrapItemsV1: Mu,
|
|
7430
7430
|
fontWeightItemsV1: Du,
|
|
7431
7431
|
sheetVariantItemsV1: Fu,
|
|
7432
|
-
showTicksItemsV1:
|
|
7433
|
-
sizeItemsV1:
|
|
7434
|
-
textAlignItemsV1:
|
|
7435
|
-
textDecorationItemsV1:
|
|
7432
|
+
showTicksItemsV1: Gu,
|
|
7433
|
+
sizeItemsV1: ju,
|
|
7434
|
+
textAlignItemsV1: Hu,
|
|
7435
|
+
textDecorationItemsV1: Ou,
|
|
7436
7436
|
textEmphasisItemsV1: Ku,
|
|
7437
7437
|
textStyleItemsV1: Uu,
|
|
7438
7438
|
themeColorItemsV1: Xu,
|
|
@@ -7668,7 +7668,7 @@ const Tu = [
|
|
|
7668
7668
|
items: [
|
|
7669
7669
|
yt,
|
|
7670
7670
|
Dt,
|
|
7671
|
-
|
|
7671
|
+
Gt,
|
|
7672
7672
|
Ft,
|
|
7673
7673
|
wt,
|
|
7674
7674
|
Lt,
|
|
@@ -7694,13 +7694,13 @@ const Tu = [
|
|
|
7694
7694
|
Qe,
|
|
7695
7695
|
ot,
|
|
7696
7696
|
Nt,
|
|
7697
|
-
|
|
7697
|
+
Ht
|
|
7698
7698
|
]
|
|
7699
7699
|
},
|
|
7700
7700
|
{
|
|
7701
7701
|
key: "feedback",
|
|
7702
7702
|
name: "x-runtime-lib.feedback",
|
|
7703
|
-
items: [Ye, zt,
|
|
7703
|
+
items: [Ye, zt, jt]
|
|
7704
7704
|
},
|
|
7705
7705
|
{
|
|
7706
7706
|
key: "imagesAndIcons",
|
|
@@ -7773,7 +7773,7 @@ const Tu = [
|
|
|
7773
7773
|
items: [
|
|
7774
7774
|
yt,
|
|
7775
7775
|
Dt,
|
|
7776
|
-
|
|
7776
|
+
Gt,
|
|
7777
7777
|
Ft,
|
|
7778
7778
|
wt,
|
|
7779
7779
|
Lt,
|
|
@@ -7799,13 +7799,13 @@ const Tu = [
|
|
|
7799
7799
|
Qe,
|
|
7800
7800
|
ot,
|
|
7801
7801
|
Nt,
|
|
7802
|
-
|
|
7802
|
+
Ht
|
|
7803
7803
|
]
|
|
7804
7804
|
},
|
|
7805
7805
|
{
|
|
7806
7806
|
key: "feedback",
|
|
7807
7807
|
name: "x-runtime-lib.feedback",
|
|
7808
|
-
items: [Ye, zt,
|
|
7808
|
+
items: [Ye, zt, jt]
|
|
7809
7809
|
},
|
|
7810
7810
|
{
|
|
7811
7811
|
key: "imagesAndIcons",
|
|
@@ -7919,10 +7919,10 @@ const Tu = [
|
|
|
7919
7919
|
Mt,
|
|
7920
7920
|
Dt,
|
|
7921
7921
|
Ft,
|
|
7922
|
-
jt,
|
|
7923
7922
|
Gt,
|
|
7923
|
+
jt,
|
|
7924
7924
|
Co,
|
|
7925
|
-
|
|
7925
|
+
Ht,
|
|
7926
7926
|
To
|
|
7927
7927
|
]),
|
|
7928
7928
|
groups: {
|
|
@@ -8078,7 +8078,7 @@ function hc() {
|
|
|
8078
8078
|
function ep(t) {
|
|
8079
8079
|
ae(Ao, t);
|
|
8080
8080
|
}
|
|
8081
|
-
function
|
|
8081
|
+
function j() {
|
|
8082
8082
|
return le(Ao);
|
|
8083
8083
|
}
|
|
8084
8084
|
function tp(t) {
|
|
@@ -8209,6 +8209,62 @@ function De(t, e, i, o, s) {
|
|
|
8209
8209
|
}
|
|
8210
8210
|
}
|
|
8211
8211
|
}
|
|
8212
|
+
function sp(t, e, i) {
|
|
8213
|
+
return `${t}/${e}/${i}`;
|
|
8214
|
+
}
|
|
8215
|
+
function lp(t) {
|
|
8216
|
+
const e = t.split("/");
|
|
8217
|
+
return e.length < 3 ? (console.assert(!1, "invalid property id"), {
|
|
8218
|
+
kind: "elementProperty",
|
|
8219
|
+
nodeId: "",
|
|
8220
|
+
propertyKey: ""
|
|
8221
|
+
}) : {
|
|
8222
|
+
kind: e[0],
|
|
8223
|
+
nodeId: e[1],
|
|
8224
|
+
propertyKey: e[2]
|
|
8225
|
+
};
|
|
8226
|
+
}
|
|
8227
|
+
function ap(t, e, i) {
|
|
8228
|
+
return `${t}/${e}/${i}`;
|
|
8229
|
+
}
|
|
8230
|
+
function up(t) {
|
|
8231
|
+
const e = t.split("/");
|
|
8232
|
+
return e.length < 3 ? (console.assert(!1, "invalid method id"), {
|
|
8233
|
+
kind: "elementMethod",
|
|
8234
|
+
nodeId: "",
|
|
8235
|
+
methodKey: ""
|
|
8236
|
+
}) : {
|
|
8237
|
+
kind: e[0],
|
|
8238
|
+
nodeId: e[1],
|
|
8239
|
+
methodKey: e[2]
|
|
8240
|
+
};
|
|
8241
|
+
}
|
|
8242
|
+
function me(t, e, i) {
|
|
8243
|
+
return `${t}/${e}/${i}`;
|
|
8244
|
+
}
|
|
8245
|
+
function cp(t) {
|
|
8246
|
+
const e = t.split("/");
|
|
8247
|
+
return e.length < 3 ? (console.assert(!1, "invalid event id"), {
|
|
8248
|
+
kind: "elementEvent",
|
|
8249
|
+
nodeId: "",
|
|
8250
|
+
eventKey: ""
|
|
8251
|
+
}) : {
|
|
8252
|
+
kind: e[0],
|
|
8253
|
+
nodeId: e[1],
|
|
8254
|
+
eventKey: e[2]
|
|
8255
|
+
};
|
|
8256
|
+
}
|
|
8257
|
+
function Mo(t, e) {
|
|
8258
|
+
const i = gc(), o = se(-1);
|
|
8259
|
+
pe(() => {
|
|
8260
|
+
const s = i.value[t];
|
|
8261
|
+
if (!s) {
|
|
8262
|
+
o.value = -1, e.value = void 0, io.emit("compNotAvail", t);
|
|
8263
|
+
return;
|
|
8264
|
+
}
|
|
8265
|
+
o.value !== s.dataSeq && (o.value = s.dataSeq, e.value = B(s.data));
|
|
8266
|
+
});
|
|
8267
|
+
}
|
|
8212
8268
|
function vc(t) {
|
|
8213
8269
|
function e(m) {
|
|
8214
8270
|
const u = t.pseudoToNative(m), c = [], d = u.split(".");
|
|
@@ -8263,16 +8319,16 @@ function vc(t) {
|
|
|
8263
8319
|
}
|
|
8264
8320
|
t.bindNativeFunction("__parseKeysV1__", e), t.bindNativeFunction("__parseJsonV1__", i), t.bindNativeFunction("__jsonStringifyV1__", o), t.bindNativeFunction("__consoleLogV1__", s), t.bindNativeFunction("__debugTraceV1__", r), t.bindNativeFunction("__messageV1__", a), t.bindNativeFunction("__timeoutV1__", p), t.bindAsyncFunction("__delayV1__", y);
|
|
8265
8321
|
}
|
|
8266
|
-
const
|
|
8322
|
+
const Do = Zo({
|
|
8267
8323
|
baseUrl: "http://localhost/computebase/",
|
|
8268
8324
|
onError: (t) => {
|
|
8269
8325
|
const { i18n: e } = he;
|
|
8270
|
-
ro(
|
|
8326
|
+
ro(vr(e, t));
|
|
8271
8327
|
}
|
|
8272
8328
|
});
|
|
8273
|
-
window.API_URL && (
|
|
8329
|
+
window.API_URL && (Do.defaults.baseURL = window.API_URL + "/computebase/");
|
|
8274
8330
|
function kc(t) {
|
|
8275
|
-
return
|
|
8331
|
+
return Do.post("callFunc", t);
|
|
8276
8332
|
}
|
|
8277
8333
|
function _c(t) {
|
|
8278
8334
|
async function e(i, o, s, r, a, p) {
|
|
@@ -8440,51 +8496,6 @@ function __destroy__() {
|
|
|
8440
8496
|
__timers__ = {}
|
|
8441
8497
|
}
|
|
8442
8498
|
`, Tc = $c + Ic + Sc + Cc;
|
|
8443
|
-
function sp(t, e, i) {
|
|
8444
|
-
return `${t}/${e}/${i}`;
|
|
8445
|
-
}
|
|
8446
|
-
function lp(t) {
|
|
8447
|
-
const e = t.split("/");
|
|
8448
|
-
return e.length < 3 ? (console.assert(!1, "invalid property id"), {
|
|
8449
|
-
kind: "elementProperty",
|
|
8450
|
-
nodeId: "",
|
|
8451
|
-
propertyKey: ""
|
|
8452
|
-
}) : {
|
|
8453
|
-
kind: e[0],
|
|
8454
|
-
nodeId: e[1],
|
|
8455
|
-
propertyKey: e[2]
|
|
8456
|
-
};
|
|
8457
|
-
}
|
|
8458
|
-
function ap(t, e, i) {
|
|
8459
|
-
return `${t}/${e}/${i}`;
|
|
8460
|
-
}
|
|
8461
|
-
function up(t) {
|
|
8462
|
-
const e = t.split("/");
|
|
8463
|
-
return e.length < 3 ? (console.assert(!1, "invalid method id"), {
|
|
8464
|
-
kind: "elementMethod",
|
|
8465
|
-
nodeId: "",
|
|
8466
|
-
methodKey: ""
|
|
8467
|
-
}) : {
|
|
8468
|
-
kind: e[0],
|
|
8469
|
-
nodeId: e[1],
|
|
8470
|
-
methodKey: e[2]
|
|
8471
|
-
};
|
|
8472
|
-
}
|
|
8473
|
-
function me(t, e, i) {
|
|
8474
|
-
return `${t}/${e}/${i}`;
|
|
8475
|
-
}
|
|
8476
|
-
function cp(t) {
|
|
8477
|
-
const e = t.split("/");
|
|
8478
|
-
return e.length < 3 ? (console.assert(!1, "invalid event id"), {
|
|
8479
|
-
kind: "elementEvent",
|
|
8480
|
-
nodeId: "",
|
|
8481
|
-
eventKey: ""
|
|
8482
|
-
}) : {
|
|
8483
|
-
kind: e[0],
|
|
8484
|
-
nodeId: e[1],
|
|
8485
|
-
eventKey: e[2]
|
|
8486
|
-
};
|
|
8487
|
-
}
|
|
8488
8499
|
function Pc(t) {
|
|
8489
8500
|
return t instanceof Array ? t.join(".") : t;
|
|
8490
8501
|
}
|
|
@@ -8596,19 +8607,13 @@ class zc {
|
|
|
8596
8607
|
// 解释器
|
|
8597
8608
|
//--------------------------
|
|
8598
8609
|
interpreter;
|
|
8599
|
-
globalObject;
|
|
8600
8610
|
createInterpreter(e) {
|
|
8601
|
-
new gr(
|
|
8602
|
-
|
|
8603
|
-
|
|
8604
|
-
this.interpreter = i, this.globalObject = o, Vc(this), this.interpreter.appendCode(e), this.interpreter.run(), this.setVariable("__env__", this.env), this.setVariable("__mode__", this.mode), this.callFunction("__triggerEventV1__", [
|
|
8605
|
-
me("elementEvent", "globality", "startup")
|
|
8606
|
-
]);
|
|
8607
|
-
}
|
|
8608
|
-
);
|
|
8611
|
+
this.interpreter = new gr(Tc), Vc(this), this.runCode(e), this.setVariable("__env__", this.env), this.setVariable("__mode__", this.mode), this.callFunction("__triggerEventV1__", [
|
|
8612
|
+
me("elementEvent", "globality", "startup")
|
|
8613
|
+
]);
|
|
8609
8614
|
}
|
|
8610
8615
|
destroyInterpreter() {
|
|
8611
|
-
this.interpreter && (this.callFunction("__destroy__"), this.interpreter = void 0
|
|
8616
|
+
this.interpreter && (this.callFunction("__destroy__"), this.interpreter = void 0);
|
|
8612
8617
|
}
|
|
8613
8618
|
// eslint-disable-next-line
|
|
8614
8619
|
bindNativeFunction(e, i) {
|
|
@@ -8616,12 +8621,8 @@ class zc {
|
|
|
8616
8621
|
console.error("Sandbox/bindNativeFunction invalid interpreter");
|
|
8617
8622
|
return;
|
|
8618
8623
|
}
|
|
8619
|
-
if (!this.globalObject) {
|
|
8620
|
-
console.error("Sandbox/bindNativeFunction invalid globalObject");
|
|
8621
|
-
return;
|
|
8622
|
-
}
|
|
8623
8624
|
this.interpreter.setProperty(
|
|
8624
|
-
this.globalObject,
|
|
8625
|
+
this.interpreter.globalObject,
|
|
8625
8626
|
e,
|
|
8626
8627
|
this.interpreter.createNativeFunction(i)
|
|
8627
8628
|
);
|
|
@@ -8632,54 +8633,57 @@ class zc {
|
|
|
8632
8633
|
console.error("Sandbox/bindAsyncFunction invalid interpreter");
|
|
8633
8634
|
return;
|
|
8634
8635
|
}
|
|
8635
|
-
if (!this.globalObject) {
|
|
8636
|
-
console.error("Sandbox/bindAsyncFunction invalid globalObject");
|
|
8637
|
-
return;
|
|
8638
|
-
}
|
|
8639
8636
|
this.interpreter.setProperty(
|
|
8640
|
-
this.globalObject,
|
|
8637
|
+
this.interpreter.globalObject,
|
|
8641
8638
|
e,
|
|
8642
8639
|
this.interpreter.createAsyncFunction(i)
|
|
8643
8640
|
);
|
|
8644
8641
|
}
|
|
8645
8642
|
pseudoToNative(e) {
|
|
8646
8643
|
if (!this.interpreter) {
|
|
8647
|
-
console.
|
|
8644
|
+
console.error("Sandbox/pseudoToNative invalid interpreter");
|
|
8648
8645
|
return;
|
|
8649
8646
|
}
|
|
8650
8647
|
return this.interpreter.pseudoToNative(e);
|
|
8651
8648
|
}
|
|
8652
8649
|
nativeToPseudo(e) {
|
|
8653
8650
|
if (!this.interpreter) {
|
|
8654
|
-
console.
|
|
8651
|
+
console.error("Sandbox/nativeToPseudo invalid interpreter");
|
|
8655
8652
|
return;
|
|
8656
8653
|
}
|
|
8657
8654
|
return this.interpreter.nativeToPseudo(e);
|
|
8658
8655
|
}
|
|
8659
8656
|
run() {
|
|
8660
8657
|
if (!this.interpreter) {
|
|
8661
|
-
console.
|
|
8658
|
+
console.error("Sandbox/run invalid interpreter");
|
|
8662
8659
|
return;
|
|
8663
8660
|
}
|
|
8664
8661
|
this.interpreter.run();
|
|
8665
8662
|
}
|
|
8666
8663
|
getVariable(e) {
|
|
8667
8664
|
if (!this.interpreter) {
|
|
8668
|
-
console.
|
|
8665
|
+
console.error("Sandbox/getVariable invalid interpreter");
|
|
8669
8666
|
return;
|
|
8670
8667
|
}
|
|
8671
8668
|
return this.interpreter.getProperty(this.interpreter.globalObject, e);
|
|
8672
8669
|
}
|
|
8673
8670
|
setVariable(e, i) {
|
|
8674
8671
|
if (!this.interpreter) {
|
|
8675
|
-
console.
|
|
8672
|
+
console.error("Sandbox/setVariable invalid interpreter");
|
|
8676
8673
|
return;
|
|
8677
8674
|
}
|
|
8678
8675
|
this.interpreter.setProperty(this.interpreter.globalObject, e, i);
|
|
8679
8676
|
}
|
|
8677
|
+
runCode(e) {
|
|
8678
|
+
if (!this.interpreter) {
|
|
8679
|
+
console.error("Sandbox/runCode invalid interpreter");
|
|
8680
|
+
return;
|
|
8681
|
+
}
|
|
8682
|
+
this.interpreter.appendCode(e), this.interpreter.run();
|
|
8683
|
+
}
|
|
8680
8684
|
callFunction(e, i) {
|
|
8681
8685
|
if (!this.interpreter) {
|
|
8682
|
-
console.
|
|
8686
|
+
console.error("Sandbox/callFunction invalid interpreter");
|
|
8683
8687
|
return;
|
|
8684
8688
|
}
|
|
8685
8689
|
const o = [];
|
|
@@ -8690,19 +8694,8 @@ class zc {
|
|
|
8690
8694
|
console.log(s), this.interpreter.appendCode(s), this.interpreter.run();
|
|
8691
8695
|
}
|
|
8692
8696
|
}
|
|
8693
|
-
function Do(t, e) {
|
|
8694
|
-
const i = gc(), o = se(-1);
|
|
8695
|
-
pe(() => {
|
|
8696
|
-
const s = i.value[t];
|
|
8697
|
-
if (!s) {
|
|
8698
|
-
o.value = -1, e.value = void 0, io.emit("compNotAvail", t);
|
|
8699
|
-
return;
|
|
8700
|
-
}
|
|
8701
|
-
o.value !== s.dataSeq && (o.value = s.dataSeq, e.value = B(s.data));
|
|
8702
|
-
});
|
|
8703
|
-
}
|
|
8704
8697
|
function Fo(t, e) {
|
|
8705
|
-
const i = bc(), o = hc(), s =
|
|
8698
|
+
const i = bc(), o = hc(), s = j(), r = fe(), a = Ce(), p = Re(), y = (h, g, x, S) => {
|
|
8706
8699
|
if (q(s) && (d.callFunction("__triggerEventV1__", [
|
|
8707
8700
|
me(
|
|
8708
8701
|
"elementPropertyChangeEvent",
|
|
@@ -8803,19 +8796,17 @@ async function pp(t) {
|
|
|
8803
8796
|
return (await Ac(/* @__PURE__ */ Object.assign({ "./locales/en/index.ts": () => import("./i18n-en.iwe5dp7b.js"), "./locales/zhHans/index.ts": () => import("./i18n-zhHans.bcugsp8c.js") }), `./locales/${t}/index.ts`, 4)).default;
|
|
8804
8797
|
}
|
|
8805
8798
|
export {
|
|
8806
|
-
zc as Sandbox,
|
|
8807
8799
|
Ta as ambientLightV1,
|
|
8808
8800
|
Uc as badgeV1,
|
|
8809
8801
|
an as barChartV1,
|
|
8810
|
-
Vc as bind,
|
|
8811
8802
|
sn as boxGeometryV1,
|
|
8812
8803
|
po as breakpoints,
|
|
8813
|
-
|
|
8814
|
-
|
|
8804
|
+
Ga as btnGroupV1,
|
|
8805
|
+
ja as btnToggleV1,
|
|
8815
8806
|
cn as btnV1,
|
|
8816
8807
|
Fe as calcBreakpoint,
|
|
8817
8808
|
We as cardV1,
|
|
8818
|
-
|
|
8809
|
+
Oa as checkboxV1,
|
|
8819
8810
|
mn as chipGroupV1,
|
|
8820
8811
|
pn as chipV1,
|
|
8821
8812
|
Xa as colorPickerV1,
|
|
@@ -8826,11 +8817,10 @@ export {
|
|
|
8826
8817
|
Za as datePickerV1,
|
|
8827
8818
|
qa as dialogV1,
|
|
8828
8819
|
Pa as directionalLightV1,
|
|
8829
|
-
Pc as dotPropertyKeys,
|
|
8830
8820
|
fc as duplicateNode,
|
|
8831
8821
|
Zc as duplicateNodes,
|
|
8832
8822
|
ze as elements,
|
|
8833
|
-
|
|
8823
|
+
jc as ensureContext,
|
|
8834
8824
|
Xc as fileInputV1,
|
|
8835
8825
|
yn as flexLayoutEntryV1,
|
|
8836
8826
|
Ee as flexLayoutV1,
|
|
@@ -8842,7 +8832,7 @@ export {
|
|
|
8842
8832
|
Jc as getNode,
|
|
8843
8833
|
Ji as getPropertyDefault,
|
|
8844
8834
|
A as getPropertyTag,
|
|
8845
|
-
|
|
8835
|
+
Gc as getTypeColor,
|
|
8846
8836
|
Ma as globalityV1,
|
|
8847
8837
|
La as groupV1,
|
|
8848
8838
|
ou as iconV1,
|
|
@@ -8852,7 +8842,7 @@ export {
|
|
|
8852
8842
|
gc as injectDepends,
|
|
8853
8843
|
Ce as injectDevice,
|
|
8854
8844
|
hc as injectEnv,
|
|
8855
|
-
|
|
8845
|
+
j as injectMode,
|
|
8856
8846
|
bc as injectOrg,
|
|
8857
8847
|
_e as injectSandbox,
|
|
8858
8848
|
fe as injectType,
|
|
@@ -8901,7 +8891,6 @@ export {
|
|
|
8901
8891
|
Na as referenceV1,
|
|
8902
8892
|
Ra as renderSwitchV1,
|
|
8903
8893
|
kr as reverseBreakpoints,
|
|
8904
|
-
Tc as runtime,
|
|
8905
8894
|
mu as selectV1,
|
|
8906
8895
|
mo as setField,
|
|
8907
8896
|
du as sliderV1,
|
|
@@ -8922,14 +8911,14 @@ export {
|
|
|
8922
8911
|
Tn as timelineItemV1,
|
|
8923
8912
|
Pn as timelineV1,
|
|
8924
8913
|
Kc as toEventName,
|
|
8925
|
-
|
|
8926
|
-
|
|
8914
|
+
Oc as toMethodName,
|
|
8915
|
+
Hc as toPropertyName,
|
|
8927
8916
|
De as triggerReactivity,
|
|
8928
8917
|
Fc as types,
|
|
8929
8918
|
cp as unwrapEventId,
|
|
8930
8919
|
up as unwrapMethodId,
|
|
8931
8920
|
lp as unwrapPropertyId,
|
|
8932
|
-
|
|
8921
|
+
Mo as useDepend,
|
|
8933
8922
|
Fo as useSandbox,
|
|
8934
8923
|
zn as windowItemV1,
|
|
8935
8924
|
An as windowV1
|