x-runtime-lib 0.8.79 → 0.8.81
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var oi = (t, e) => (e = Symbol[t]) ? e : Symbol.for("Symbol." + t), ri = (t) => {
|
|
2
2
|
throw TypeError(t);
|
|
3
3
|
};
|
|
4
|
-
var
|
|
4
|
+
var we = (t, e, n) => {
|
|
5
5
|
if (e != null) {
|
|
6
6
|
typeof e != "object" && typeof e != "function" && ri("Object expected");
|
|
7
7
|
var o, s;
|
|
@@ -14,9 +14,9 @@ var Ve = (t, e, n) => {
|
|
|
14
14
|
}), t.push([n, o, e]);
|
|
15
15
|
} else n && t.push([n]);
|
|
16
16
|
return e;
|
|
17
|
-
},
|
|
18
|
-
var o = typeof SuppressedError == "function" ? SuppressedError : function(a, c, m,
|
|
19
|
-
return
|
|
17
|
+
}, Ve = (t, e, n) => {
|
|
18
|
+
var o = typeof SuppressedError == "function" ? SuppressedError : function(a, c, m, p) {
|
|
19
|
+
return p = Error(m), p.name = "SuppressedError", p.error = a, p.suppressed = c, p;
|
|
20
20
|
}, s = (a) => e = n ? new o(a, e, "An error was suppressed during disposal") : (n = !0, a), r = (a) => {
|
|
21
21
|
for (; a = t.pop(); )
|
|
22
22
|
try {
|
|
@@ -29,10 +29,10 @@ var Ve = (t, e, n) => {
|
|
|
29
29
|
};
|
|
30
30
|
return r();
|
|
31
31
|
};
|
|
32
|
-
import { defineComponent as $, createElementBlock as te, renderSlot as B, unref as i, openBlock as g, createElementVNode as Y, computed as v, normalizeStyle as ee, ref as oe, watchEffect as
|
|
33
|
-
import { globalObjects as
|
|
32
|
+
import { defineComponent as $, createElementBlock as te, renderSlot as B, unref as i, openBlock as g, createElementVNode as Y, computed as v, normalizeStyle as ee, ref as oe, watchEffect as me, watch as re, onBeforeMount as Zo, onUnmounted as Ge, createBlock as w, withCtx as _, createCommentVNode as ne, useTemplateRef as ao, onMounted as co, nextTick as uo, useAttrs as Qo, h as ae, resolveComponent as A, createVNode as W, isRef as J, createSlots as Wn, renderList as er, useId as mo, withModifiers as tr, normalizeClass as nr, toDisplayString as ir, inject as se, provide as le, readonly as Dn } from "vue";
|
|
33
|
+
import { globalObjects as ge, waitUtil as po, useViewStack as yo, eventBus as fo, messageInfo as or, messageSuccess as rr, messageWarning as bo, messageError as ho, createAxios as sr, openConfirmDlg as lr, openPromptDlg as ar } from "x-essential-lib";
|
|
34
34
|
import { CameraHelper as go, DirectionalLightHelper as cr, PointLightHelper as ur, SpotLightHelper as mr } from "three";
|
|
35
|
-
import { c as M, i as ce, q as
|
|
35
|
+
import { c as M, i as ce, q as Ne, u as pr, r as xo, e as vo, a as dr, b as yr, d as fr, f as br, g as hr, h as gr, j as xr, k as vr, l as ko, X as kr, Y as _r, K as wr, m as Vr, n as Sr, o as $r, p as Ir } from "./vendor.eh9kttp2.js";
|
|
36
36
|
import { useTheme as Cr } from "vuetify";
|
|
37
37
|
import { getErrorMessage as Pr } from "x-error-lib";
|
|
38
38
|
import { useI18n as _o } from "vue-i18n";
|
|
@@ -57,7 +57,7 @@ function Fn(t) {
|
|
|
57
57
|
const e = t.substring(0, t.length - 1), n = parseFloat(e);
|
|
58
58
|
return !isNaN(n);
|
|
59
59
|
}
|
|
60
|
-
function
|
|
60
|
+
function Ju(t) {
|
|
61
61
|
if (typeof t != "string" || !t.endsWith("px"))
|
|
62
62
|
return;
|
|
63
63
|
const e = t.substring(0, t.length - 2), n = parseFloat(e);
|
|
@@ -78,7 +78,7 @@ function Oe(t) {
|
|
|
78
78
|
function li(t) {
|
|
79
79
|
return wo.findIndex((e) => e === t);
|
|
80
80
|
}
|
|
81
|
-
function
|
|
81
|
+
function Ae(t, e) {
|
|
82
82
|
let n;
|
|
83
83
|
for (const o of Tr) {
|
|
84
84
|
if (li(o) < li(t))
|
|
@@ -87,7 +87,7 @@ function Le(t, e) {
|
|
|
87
87
|
}
|
|
88
88
|
return n;
|
|
89
89
|
}
|
|
90
|
-
function
|
|
90
|
+
function be(t, e) {
|
|
91
91
|
let n = t;
|
|
92
92
|
if (typeof n != "object")
|
|
93
93
|
return;
|
|
@@ -115,7 +115,7 @@ function Gn(t, e, n) {
|
|
|
115
115
|
const r = s[s.length - 1];
|
|
116
116
|
o[r] = n;
|
|
117
117
|
}
|
|
118
|
-
function
|
|
118
|
+
function qu(t, e = 2) {
|
|
119
119
|
const n = " ".repeat(e);
|
|
120
120
|
return t.split(`
|
|
121
121
|
`).map((r) => r.trim() === "" ? r : n + r).join(`
|
|
@@ -124,8 +124,8 @@ function Zu(t, e = 2) {
|
|
|
124
124
|
function Z(t) {
|
|
125
125
|
return t === "runtime" || t === "preview";
|
|
126
126
|
}
|
|
127
|
-
const
|
|
128
|
-
function
|
|
127
|
+
const Xu = ["string", "number", "boolean", "array", "object"];
|
|
128
|
+
function Yu(t) {
|
|
129
129
|
switch (t) {
|
|
130
130
|
case "string":
|
|
131
131
|
return "#5ba58c";
|
|
@@ -148,7 +148,7 @@ function Vo(t) {
|
|
|
148
148
|
}
|
|
149
149
|
return !1;
|
|
150
150
|
}
|
|
151
|
-
function
|
|
151
|
+
function Zu(t, e, n, o, s) {
|
|
152
152
|
let r = t;
|
|
153
153
|
for (let c = 0; c < e.length; c++)
|
|
154
154
|
if (r = r.children[e[c]], !r) {
|
|
@@ -202,31 +202,31 @@ function Br(t) {
|
|
|
202
202
|
}
|
|
203
203
|
return !0;
|
|
204
204
|
}
|
|
205
|
-
function
|
|
206
|
-
const { i18n: o } =
|
|
205
|
+
function Nn(t, e, n) {
|
|
206
|
+
const { i18n: o } = ge;
|
|
207
207
|
let s = "";
|
|
208
208
|
return t && (s += t + " / "), e.forEach((r, a) => {
|
|
209
209
|
a > 0 && (s += " - "), n ? s += o.global.t(r) : s += r;
|
|
210
210
|
}), s;
|
|
211
211
|
}
|
|
212
|
-
function
|
|
213
|
-
const { i18n: n } =
|
|
212
|
+
function Qu(t, e) {
|
|
213
|
+
const { i18n: n } = ge;
|
|
214
214
|
let o = "";
|
|
215
|
-
return t === "elementProperty" || (t === "referenceProperty" ? o = n.global.t("x-runtime-lib.reference") : t === "multipleRefProperty" ? o = n.global.t("x-runtime-lib.multipleRef") : t === "customProperty" ? o = n.global.t("x-runtime-lib.custom") : t === "elementSlotProperty" || t === "customSlotProperty" ? o = n.global.t("x-runtime-lib.slot") : console.assert(!1)),
|
|
215
|
+
return t === "elementProperty" || (t === "referenceProperty" ? o = n.global.t("x-runtime-lib.reference") : t === "multipleRefProperty" ? o = n.global.t("x-runtime-lib.multipleRef") : t === "customProperty" ? o = n.global.t("x-runtime-lib.custom") : t === "elementSlotProperty" || t === "customSlotProperty" ? o = n.global.t("x-runtime-lib.slot") : console.assert(!1)), Nn(o, e, Lr(t));
|
|
216
216
|
}
|
|
217
|
-
function
|
|
218
|
-
const { i18n: n } =
|
|
217
|
+
function em(t, e) {
|
|
218
|
+
const { i18n: n } = ge;
|
|
219
219
|
let o = "";
|
|
220
|
-
return t === "elementMethod" || (t === "referenceMethod" ? o = n.global.t("x-runtime-lib.reference") : t === "multipleRefMethod" ? o = n.global.t("x-runtime-lib.multipleRef") : t === "customMethod" ? o = n.global.t("x-runtime-lib.custom") : t === "elementSlotMethod" || t === "customSlotMethod" ? o = n.global.t("x-runtime-lib.slot") : console.assert(!1)),
|
|
220
|
+
return t === "elementMethod" || (t === "referenceMethod" ? o = n.global.t("x-runtime-lib.reference") : t === "multipleRefMethod" ? o = n.global.t("x-runtime-lib.multipleRef") : t === "customMethod" ? o = n.global.t("x-runtime-lib.custom") : t === "elementSlotMethod" || t === "customSlotMethod" ? o = n.global.t("x-runtime-lib.slot") : console.assert(!1)), Nn(o, e, Er(t));
|
|
221
221
|
}
|
|
222
|
-
function
|
|
223
|
-
const { i18n: n } =
|
|
222
|
+
function tm(t, e) {
|
|
223
|
+
const { i18n: n } = ge;
|
|
224
224
|
let o = "";
|
|
225
|
-
return t === "elementEvent" || (t === "referenceEvent" ? o = n.global.t("x-runtime-lib.reference") : t === "multipleRefEvent" ? o = n.global.t("x-runtime-lib.multipleRef") : t === "customEvent" ? o = n.global.t("x-runtime-lib.custom") : t === "elementSlotEvent" || t === "customSlotEvent" ? o = n.global.t("x-runtime-lib.slot") : t === "elementPropertyChangeEvent" ? o = n.global.t("x-runtime-lib.propertyChange") : t === "referencePropertyChangeEvent" ? o = n.global.t("x-runtime-lib.referencePropertyChange") : t === "multipleRefPropertyChangeEvent" ? o = n.global.t("x-runtime-lib.multipleRefPropertyChange") : t === "customPropertyChangeEvent" ? o = n.global.t("x-runtime-lib.customPropertyChange") : t === "elementSlotPropertyChangeEvent" || t === "customSlotPropertyChangeEvent" ? o = n.global.t("x-runtime-lib.slotPropertyChange") : t === "stateChangeEvent" ? o = n.global.t("x-runtime-lib.stateChange") : console.assert(!1)),
|
|
225
|
+
return t === "elementEvent" || (t === "referenceEvent" ? o = n.global.t("x-runtime-lib.reference") : t === "multipleRefEvent" ? o = n.global.t("x-runtime-lib.multipleRef") : t === "customEvent" ? o = n.global.t("x-runtime-lib.custom") : t === "elementSlotEvent" || t === "customSlotEvent" ? o = n.global.t("x-runtime-lib.slot") : t === "elementPropertyChangeEvent" ? o = n.global.t("x-runtime-lib.propertyChange") : t === "referencePropertyChangeEvent" ? o = n.global.t("x-runtime-lib.referencePropertyChange") : t === "multipleRefPropertyChangeEvent" ? o = n.global.t("x-runtime-lib.multipleRefPropertyChange") : t === "customPropertyChangeEvent" ? o = n.global.t("x-runtime-lib.customPropertyChange") : t === "elementSlotPropertyChangeEvent" || t === "customSlotPropertyChangeEvent" ? o = n.global.t("x-runtime-lib.slotPropertyChange") : t === "stateChangeEvent" ? o = n.global.t("x-runtime-lib.stateChange") : console.assert(!1)), Nn(o, e, Br(t));
|
|
226
226
|
}
|
|
227
|
-
const
|
|
228
|
-
|
|
229
|
-
}, Rr = ["position", "rotation", "scale"],
|
|
227
|
+
const Ee = {}, V = (t) => {
|
|
228
|
+
Ee[t.key] = t;
|
|
229
|
+
}, Rr = ["position", "rotation", "scale"], ve = /* @__PURE__ */ $({
|
|
230
230
|
__name: "index",
|
|
231
231
|
props: {
|
|
232
232
|
position: {},
|
|
@@ -279,7 +279,7 @@ const Be = {}, V = (t) => {
|
|
|
279
279
|
}
|
|
280
280
|
}), Mr = (t, e, n, o) => {
|
|
281
281
|
let s;
|
|
282
|
-
if (t ? s = t.getElementProperty(e.basic.id, n) : s =
|
|
282
|
+
if (t ? s = t.getElementProperty(e.basic.id, n) : s = be(e, n), o) {
|
|
283
283
|
if (typeof s == "string")
|
|
284
284
|
return JSON.parse(s);
|
|
285
285
|
console.assert(!1);
|
|
@@ -291,14 +291,14 @@ const Be = {}, V = (t) => {
|
|
|
291
291
|
s ? typeof o == "object" ? r = JSON.stringify(o, null, 2) : (console.assert(!1), r = "{}") : r = o, t ? t.setElementProperty(e.basic.id, n, r) : Gn(e, n, r);
|
|
292
292
|
};
|
|
293
293
|
function l(t, e, n) {
|
|
294
|
-
const o =
|
|
295
|
-
return
|
|
294
|
+
const o = fe(), s = oe();
|
|
295
|
+
return me(() => {
|
|
296
296
|
s.value = Mr(o, t.node, e, n);
|
|
297
297
|
}), re(s, (r, a) => {
|
|
298
298
|
ce(r, a) || Wr(o, t.node, e, s.value, n);
|
|
299
299
|
}), { property: s };
|
|
300
300
|
}
|
|
301
|
-
function
|
|
301
|
+
function pe(t) {
|
|
302
302
|
const { property: e } = l(t, [
|
|
303
303
|
"transform",
|
|
304
304
|
"position",
|
|
@@ -331,24 +331,24 @@ function de(t) {
|
|
|
331
331
|
"transform",
|
|
332
332
|
"scale",
|
|
333
333
|
"y"
|
|
334
|
-
]), { property:
|
|
334
|
+
]), { property: p } = l(t, [
|
|
335
335
|
"transform",
|
|
336
336
|
"scale",
|
|
337
337
|
"z"
|
|
338
|
-
]), u = oe([0, 0, 0]),
|
|
339
|
-
return
|
|
338
|
+
]), u = oe([0, 0, 0]), d = oe([0, 0, 0]), y = oe([1, 1, 1]);
|
|
339
|
+
return me(() => {
|
|
340
340
|
u.value = [e.value, n.value, o.value];
|
|
341
|
-
}),
|
|
341
|
+
}), me(() => {
|
|
342
342
|
e.value = u.value[0], n.value = u.value[1], o.value = u.value[2];
|
|
343
|
-
}),
|
|
344
|
-
|
|
345
|
-
}),
|
|
346
|
-
s.value =
|
|
347
|
-
}),
|
|
348
|
-
y.value = [c.value, m.value,
|
|
349
|
-
}),
|
|
350
|
-
c.value = y.value[0], m.value = y.value[1],
|
|
351
|
-
}), { position: u, rotation:
|
|
343
|
+
}), me(() => {
|
|
344
|
+
d.value = [s.value, r.value, a.value];
|
|
345
|
+
}), me(() => {
|
|
346
|
+
s.value = d.value[0], r.value = d.value[1], a.value = d.value[2];
|
|
347
|
+
}), me(() => {
|
|
348
|
+
y.value = [c.value, m.value, p.value];
|
|
349
|
+
}), me(() => {
|
|
350
|
+
c.value = y.value[0], m.value = y.value[1], p.value = y.value[2];
|
|
351
|
+
}), { position: u, rotation: d, scale: y };
|
|
352
352
|
}
|
|
353
353
|
function So(t) {
|
|
354
354
|
const e = v(() => t.node.legend?.show), n = v(() => t.node.legend?.data);
|
|
@@ -403,24 +403,24 @@ function Po(t) {
|
|
|
403
403
|
return { show: e, position: n, type: o, data: s, applyYAxis: r };
|
|
404
404
|
}
|
|
405
405
|
function K(t) {
|
|
406
|
-
const { computedThemes: e } = Cr(), n =
|
|
407
|
-
const
|
|
408
|
-
return
|
|
406
|
+
const { computedThemes: e } = Cr(), n = je(), o = v(() => t.value?.mode), s = v(() => {
|
|
407
|
+
const p = t.value?.theme;
|
|
408
|
+
return p ? p === "background0" ? n.value ? "#2e2e2e" : "#bdbdbd" : p === "background1" ? n.value ? "#272727" : "#eeeeee" : p === "background2" ? n.value ? "#1e1e1e" : "#ffffff" : (n.value ? e.value.dark : e.value.light).colors[p] : void 0;
|
|
409
409
|
}), r = v(() => n.value ? t.value.custom?.dark : t.value.custom?.light), a = v(() => o.value === "theme" ? s.value ?? "" : o.value === "custom" ? r.value ?? "" : ""), c = v(() => {
|
|
410
|
-
const
|
|
411
|
-
return !
|
|
410
|
+
const p = a.value;
|
|
411
|
+
return !p.startsWith("#") || p.length < 7 ? "" : p.substring(0, 7);
|
|
412
412
|
}), m = v(() => {
|
|
413
|
-
const
|
|
414
|
-
return
|
|
413
|
+
const p = a.value;
|
|
414
|
+
return p.startsWith("#") ? p.length < 9 ? 1 : parseInt(p.substring(7, 9)) / 255 : 0;
|
|
415
415
|
});
|
|
416
416
|
return { color: a, rgb: c, alpha: m };
|
|
417
417
|
}
|
|
418
|
-
function
|
|
418
|
+
function jn(t) {
|
|
419
419
|
const e = v(() => t.node.border?.style), n = v(() => t.node.border?.width), o = v(() => t.node.border?.color), { color: s } = K(o), r = v(() => t.node.border?.roundRadius?.tl), a = v(() => t.node.border?.roundRadius?.tr), c = v(() => t.node.border?.roundRadius?.bl), m = v(() => t.node.border?.roundRadius?.br);
|
|
420
|
-
function
|
|
420
|
+
function p(u) {
|
|
421
421
|
e.value && (u.borderStyle = e.value), n.value && (u.borderWidth = n.value), s.value && (u.borderColor = s.value), r.value && (u.borderTopLeftRadius = r.value), a.value && (u.borderTopRightRadius = a.value), c.value && (u.borderBottomLeftRadius = c.value), m.value && (u.borderBottomRightRadius = m.value);
|
|
422
422
|
}
|
|
423
|
-
return { borderStyle: e, borderWidth: n, borderColor: s, applyBorder:
|
|
423
|
+
return { borderStyle: e, borderWidth: n, borderColor: s, applyBorder: p };
|
|
424
424
|
}
|
|
425
425
|
function Hn(t) {
|
|
426
426
|
const e = v(() => t.node.margin?.top), n = v(() => t.node.margin?.left), o = v(() => t.node.margin?.bottom), s = v(() => t.node.margin?.right);
|
|
@@ -436,8 +436,8 @@ function Kn(t) {
|
|
|
436
436
|
}
|
|
437
437
|
return { paddingTop: e, paddingLeft: n, paddingBottom: o, paddingRight: s, applyPadding: r };
|
|
438
438
|
}
|
|
439
|
-
function
|
|
440
|
-
const e = H(), n =
|
|
439
|
+
function de(t) {
|
|
440
|
+
const e = H(), n = ze(), o = v(() => t.node.size?.width), s = v(() => t.node.size?.minWidth), r = v(() => t.node.size?.maxWidth), a = v(() => {
|
|
441
441
|
if (t.outer && e === "editor") {
|
|
442
442
|
const u = nn(t.node.size?.height);
|
|
443
443
|
if (u)
|
|
@@ -459,13 +459,13 @@ function ye(t) {
|
|
|
459
459
|
}
|
|
460
460
|
return t.node.size?.maxHeight;
|
|
461
461
|
});
|
|
462
|
-
function
|
|
462
|
+
function p(u) {
|
|
463
463
|
o.value && (u.width = o.value), s.value && (u.minWidth = s.value), r.value && (u.maxWidth = r.value), a.value && (u.height = a.value), c.value && (u.minHeight = c.value), m.value && (u.maxHeight = m.value);
|
|
464
464
|
}
|
|
465
|
-
return { width: o, minWidth: s, maxWidth: r, height: a, minHeight: c, maxHeight: m, applySize:
|
|
465
|
+
return { width: o, minWidth: s, maxWidth: r, height: a, minHeight: c, maxHeight: m, applySize: p };
|
|
466
466
|
}
|
|
467
467
|
function Ue(t, e, n) {
|
|
468
|
-
const o =
|
|
468
|
+
const o = fe();
|
|
469
469
|
if (o) {
|
|
470
470
|
const s = v(() => Cu("elementMethod", t.node.basic.id, e));
|
|
471
471
|
Zo(() => {
|
|
@@ -476,7 +476,7 @@ function Ue(t, e, n) {
|
|
|
476
476
|
}
|
|
477
477
|
}
|
|
478
478
|
function G() {
|
|
479
|
-
const t =
|
|
479
|
+
const t = je();
|
|
480
480
|
return { theme: v(() => t.value ? "dark" : "light") };
|
|
481
481
|
}
|
|
482
482
|
const Dr = ["bottom", "far", "left", "near", "position", "right", "rotation", "scale", "top"], Fr = /* @__PURE__ */ $({
|
|
@@ -486,8 +486,8 @@ const Dr = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
486
486
|
outer: { type: Boolean }
|
|
487
487
|
},
|
|
488
488
|
setup(t) {
|
|
489
|
-
const e = t, n = H(), { position: o, rotation: s, scale: r } =
|
|
490
|
-
return (y, b) => (g(), w(i(
|
|
489
|
+
const e = t, n = H(), { position: o, rotation: s, scale: r } = pe(e), { property: a } = l(e, ["settings", "bottom"]), { property: c } = l(e, ["settings", "far"]), { property: m } = l(e, ["settings", "left"]), { property: p } = l(e, ["settings", "near"]), { property: u } = l(e, ["settings", "right"]), { property: d } = l(e, ["settings", "top"]);
|
|
490
|
+
return (y, b) => (g(), w(i(ve), {
|
|
491
491
|
position: i(o),
|
|
492
492
|
rotation: i(s),
|
|
493
493
|
scale: i(r)
|
|
@@ -497,14 +497,14 @@ const Dr = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
497
497
|
bottom: i(a),
|
|
498
498
|
far: i(c),
|
|
499
499
|
left: i(m),
|
|
500
|
-
near: i(
|
|
500
|
+
near: i(p),
|
|
501
501
|
position: i(n) !== "editor" ? i(o) : [0, 0, 0],
|
|
502
502
|
right: i(u),
|
|
503
503
|
rotation: i(n) !== "editor" ? i(s) : [0, 0, 0],
|
|
504
504
|
scale: i(n) !== "editor" ? i(r) : [1, 1, 1],
|
|
505
|
-
top: i(
|
|
505
|
+
top: i(d)
|
|
506
506
|
}, [
|
|
507
|
-
i(n) === "editor" ? (g(), w(i(
|
|
507
|
+
i(n) === "editor" ? (g(), w(i(Ne), {
|
|
508
508
|
key: 0,
|
|
509
509
|
type: i(go)
|
|
510
510
|
}, null, 8, ["type"])) : ne("", !0),
|
|
@@ -514,15 +514,15 @@ const Dr = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
514
514
|
_: 3
|
|
515
515
|
}, 8, ["position", "rotation", "scale"]));
|
|
516
516
|
}
|
|
517
|
-
}), Gr = ["aspect", "far", "fov", "near", "position", "rotation", "scale"],
|
|
517
|
+
}), Gr = ["aspect", "far", "fov", "near", "position", "rotation", "scale"], Nr = /* @__PURE__ */ $({
|
|
518
518
|
__name: "index",
|
|
519
519
|
props: {
|
|
520
520
|
node: {},
|
|
521
521
|
outer: { type: Boolean }
|
|
522
522
|
},
|
|
523
523
|
setup(t) {
|
|
524
|
-
const e = t, n = H(), { position: o, rotation: s, scale: r } =
|
|
525
|
-
return (u,
|
|
524
|
+
const e = t, n = H(), { position: o, rotation: s, scale: r } = pe(e), { property: a } = l(e, ["settings", "aspect"]), { property: c } = l(e, ["settings", "far"]), { property: m } = l(e, ["settings", "fov"]), { property: p } = l(e, ["settings", "near"]);
|
|
525
|
+
return (u, d) => (g(), w(i(ve), {
|
|
526
526
|
position: i(o),
|
|
527
527
|
rotation: i(s),
|
|
528
528
|
scale: i(r)
|
|
@@ -532,12 +532,12 @@ const Dr = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
532
532
|
aspect: i(a),
|
|
533
533
|
far: i(c),
|
|
534
534
|
fov: i(m),
|
|
535
|
-
near: i(
|
|
535
|
+
near: i(p),
|
|
536
536
|
position: i(n) !== "editor" ? i(o) : [0, 0, 0],
|
|
537
537
|
rotation: i(n) !== "editor" ? i(s) : [0, 0, 0],
|
|
538
538
|
scale: i(n) !== "editor" ? i(r) : [1, 1, 1]
|
|
539
539
|
}, [
|
|
540
|
-
i(n) === "editor" ? (g(), w(i(
|
|
540
|
+
i(n) === "editor" ? (g(), w(i(Ne), {
|
|
541
541
|
key: 0,
|
|
542
542
|
type: i(go)
|
|
543
543
|
}, null, 8, ["type"])) : ne("", !0),
|
|
@@ -547,7 +547,7 @@ const Dr = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
547
547
|
_: 3
|
|
548
548
|
}, 8, ["position", "rotation", "scale"]));
|
|
549
549
|
}
|
|
550
|
-
}),
|
|
550
|
+
}), jr = ["args"], Hr = /* @__PURE__ */ $({
|
|
551
551
|
__name: "index",
|
|
552
552
|
props: {
|
|
553
553
|
node: {},
|
|
@@ -564,7 +564,7 @@ const Dr = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
564
564
|
"settings",
|
|
565
565
|
"widthSegements"
|
|
566
566
|
]);
|
|
567
|
-
return (m,
|
|
567
|
+
return (m, p) => (g(), te("TresBoxGeometry", {
|
|
568
568
|
args: [
|
|
569
569
|
i(a),
|
|
570
570
|
i(s),
|
|
@@ -573,9 +573,9 @@ const Dr = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
573
573
|
i(r),
|
|
574
574
|
i(o)
|
|
575
575
|
]
|
|
576
|
-
}, null, 8,
|
|
576
|
+
}, null, 8, jr));
|
|
577
577
|
}
|
|
578
|
-
}),
|
|
578
|
+
}), Te = (t, e) => {
|
|
579
579
|
const n = t.__vccOpts || t;
|
|
580
580
|
for (const [o, s] of e)
|
|
581
581
|
n[o] = s;
|
|
@@ -606,7 +606,7 @@ const Dr = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
606
606
|
"settings",
|
|
607
607
|
"widthSegments"
|
|
608
608
|
]);
|
|
609
|
-
return (
|
|
609
|
+
return (p, u) => (g(), te("TresSphereGeometry", {
|
|
610
610
|
args: [
|
|
611
611
|
i(r),
|
|
612
612
|
i(m),
|
|
@@ -618,18 +618,18 @@ const Dr = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
618
618
|
]
|
|
619
619
|
}, null, 8, Kr));
|
|
620
620
|
}
|
|
621
|
-
}), Ur = ["color", "intensity", "position", "rotation", "scale"],
|
|
621
|
+
}), Ur = ["color", "intensity", "position", "rotation", "scale"], Jr = /* @__PURE__ */ $({
|
|
622
622
|
__name: "index",
|
|
623
623
|
props: {
|
|
624
624
|
node: {},
|
|
625
625
|
outer: { type: Boolean }
|
|
626
626
|
},
|
|
627
627
|
setup(t) {
|
|
628
|
-
const e = t, n = H(), { position: o, rotation: s, scale: r } =
|
|
628
|
+
const e = t, n = H(), { position: o, rotation: s, scale: r } = pe(e), { property: a } = l(e, ["settings", "color"]), { color: c } = K(a), { property: m } = l(e, [
|
|
629
629
|
"settings",
|
|
630
630
|
"intensity"
|
|
631
631
|
]);
|
|
632
|
-
return (
|
|
632
|
+
return (p, u) => (g(), w(i(ve), {
|
|
633
633
|
position: i(o),
|
|
634
634
|
rotation: i(s),
|
|
635
635
|
scale: i(r)
|
|
@@ -642,24 +642,24 @@ const Dr = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
642
642
|
rotation: i(n) !== "editor" ? i(s) : [0, 0, 0],
|
|
643
643
|
scale: i(n) !== "editor" ? i(r) : [1, 1, 1]
|
|
644
644
|
}, [
|
|
645
|
-
B(
|
|
645
|
+
B(p.$slots, "default")
|
|
646
646
|
], 8, Ur)
|
|
647
647
|
]),
|
|
648
648
|
_: 3
|
|
649
649
|
}, 8, ["position", "rotation", "scale"]));
|
|
650
650
|
}
|
|
651
|
-
}),
|
|
651
|
+
}), qr = ["color", "intensity", "position", "rotation", "scale"], Xr = /* @__PURE__ */ $({
|
|
652
652
|
__name: "index",
|
|
653
653
|
props: {
|
|
654
654
|
node: {},
|
|
655
655
|
outer: { type: Boolean }
|
|
656
656
|
},
|
|
657
657
|
setup(t) {
|
|
658
|
-
const e = t, n = H(), { position: o, rotation: s, scale: r } =
|
|
658
|
+
const e = t, n = H(), { position: o, rotation: s, scale: r } = pe(e), { property: a } = l(e, ["settings", "color"]), { color: c } = K(a), { property: m } = l(e, [
|
|
659
659
|
"settings",
|
|
660
660
|
"intensity"
|
|
661
661
|
]);
|
|
662
|
-
return (
|
|
662
|
+
return (p, u) => (g(), w(i(ve), {
|
|
663
663
|
position: i(o),
|
|
664
664
|
rotation: i(s),
|
|
665
665
|
scale: i(r)
|
|
@@ -672,12 +672,12 @@ const Dr = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
672
672
|
rotation: i(n) !== "editor" ? i(s) : [0, 0, 0],
|
|
673
673
|
scale: i(n) !== "editor" ? i(r) : [1, 1, 1]
|
|
674
674
|
}, [
|
|
675
|
-
i(n) === "editor" ? (g(), w(i(
|
|
675
|
+
i(n) === "editor" ? (g(), w(i(Ne), {
|
|
676
676
|
key: 0,
|
|
677
677
|
type: i(cr)
|
|
678
678
|
}, null, 8, ["type"])) : ne("", !0),
|
|
679
|
-
B(
|
|
680
|
-
], 8,
|
|
679
|
+
B(p.$slots, "default")
|
|
680
|
+
], 8, qr)
|
|
681
681
|
]),
|
|
682
682
|
_: 3
|
|
683
683
|
}, 8, ["position", "rotation", "scale"]));
|
|
@@ -689,14 +689,14 @@ const Dr = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
689
689
|
outer: { type: Boolean }
|
|
690
690
|
},
|
|
691
691
|
setup(t) {
|
|
692
|
-
const e = t, n = H(), { position: o, rotation: s, scale: r } =
|
|
692
|
+
const e = t, n = H(), { position: o, rotation: s, scale: r } = pe(e), { property: a } = l(e, ["settings", "color"]), { color: c } = K(a), { property: m } = l(e, ["settings", "decay"]), { property: p } = l(e, [
|
|
693
693
|
"settings",
|
|
694
694
|
"distance"
|
|
695
695
|
]), { property: u } = l(e, [
|
|
696
696
|
"settings",
|
|
697
697
|
"intensity"
|
|
698
698
|
]);
|
|
699
|
-
return (
|
|
699
|
+
return (d, y) => (g(), w(i(ve), {
|
|
700
700
|
position: i(o),
|
|
701
701
|
rotation: i(s),
|
|
702
702
|
scale: i(r)
|
|
@@ -705,17 +705,17 @@ const Dr = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
705
705
|
Y("TresPointLight", {
|
|
706
706
|
color: i(c),
|
|
707
707
|
decay: i(m),
|
|
708
|
-
distance: i(
|
|
708
|
+
distance: i(p),
|
|
709
709
|
intensity: i(u),
|
|
710
710
|
position: i(n) !== "editor" ? i(o) : [0, 0, 0],
|
|
711
711
|
rotation: i(n) !== "editor" ? i(s) : [0, 0, 0],
|
|
712
712
|
scale: i(n) !== "editor" ? i(r) : [1, 1, 1]
|
|
713
713
|
}, [
|
|
714
|
-
i(n) === "editor" ? (g(), w(i(
|
|
714
|
+
i(n) === "editor" ? (g(), w(i(Ne), {
|
|
715
715
|
key: 0,
|
|
716
716
|
type: i(ur)
|
|
717
717
|
}, null, 8, ["type"])) : ne("", !0),
|
|
718
|
-
B(
|
|
718
|
+
B(d.$slots, "default")
|
|
719
719
|
], 8, Yr)
|
|
720
720
|
]),
|
|
721
721
|
_: 3
|
|
@@ -728,17 +728,17 @@ const Dr = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
728
728
|
outer: { type: Boolean }
|
|
729
729
|
},
|
|
730
730
|
setup(t) {
|
|
731
|
-
const e = t, n = H(), { position: o, rotation: s, scale: r } =
|
|
731
|
+
const e = t, n = H(), { position: o, rotation: s, scale: r } = pe(e), { property: a } = l(e, ["settings", "angle"]), { property: c } = l(e, ["settings", "color"]), { color: m } = K(c), { property: p } = l(e, ["settings", "decay"]), { property: u } = l(e, [
|
|
732
732
|
"settings",
|
|
733
733
|
"distance"
|
|
734
|
-
]), { property:
|
|
734
|
+
]), { property: d } = l(e, [
|
|
735
735
|
"settings",
|
|
736
736
|
"intensity"
|
|
737
737
|
]), { property: y } = l(e, [
|
|
738
738
|
"settings",
|
|
739
739
|
"penumbra"
|
|
740
740
|
]);
|
|
741
|
-
return (b, h) => (g(), w(i(
|
|
741
|
+
return (b, h) => (g(), w(i(ve), {
|
|
742
742
|
position: i(o),
|
|
743
743
|
rotation: i(s),
|
|
744
744
|
scale: i(r)
|
|
@@ -747,15 +747,15 @@ const Dr = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
747
747
|
Y("TresSpotLight", {
|
|
748
748
|
angle: i(a),
|
|
749
749
|
color: i(m),
|
|
750
|
-
decay: i(
|
|
750
|
+
decay: i(p),
|
|
751
751
|
distance: i(u),
|
|
752
|
-
intensity: i(
|
|
752
|
+
intensity: i(d),
|
|
753
753
|
penumbra: i(y),
|
|
754
754
|
position: i(n) !== "editor" ? i(o) : [0, 0, 0],
|
|
755
755
|
rotation: i(n) !== "editor" ? i(s) : [0, 0, 0],
|
|
756
756
|
scale: i(n) !== "editor" ? i(r) : [1, 1, 1]
|
|
757
757
|
}, [
|
|
758
|
-
i(n) === "editor" ? (g(), w(i(
|
|
758
|
+
i(n) === "editor" ? (g(), w(i(Ne), {
|
|
759
759
|
key: 0,
|
|
760
760
|
type: i(mr)
|
|
761
761
|
}, null, 8, ["type"])) : ne("", !0),
|
|
@@ -769,15 +769,15 @@ const Dr = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
769
769
|
function ns(t, e) {
|
|
770
770
|
return g(), te("TresMeshBasicMaterial");
|
|
771
771
|
}
|
|
772
|
-
const is = /* @__PURE__ */
|
|
772
|
+
const is = /* @__PURE__ */ Te(ts, [["render", ns]]), os = ["position", "rotation", "scale"], rs = /* @__PURE__ */ $({
|
|
773
773
|
__name: "index",
|
|
774
774
|
props: {
|
|
775
775
|
node: {},
|
|
776
776
|
outer: { type: Boolean }
|
|
777
777
|
},
|
|
778
778
|
setup(t) {
|
|
779
|
-
const e = t, n = H(), { position: o, rotation: s, scale: r } =
|
|
780
|
-
return (a, c) => (g(), w(i(
|
|
779
|
+
const e = t, n = H(), { position: o, rotation: s, scale: r } = pe(e);
|
|
780
|
+
return (a, c) => (g(), w(i(ve), {
|
|
781
781
|
position: i(o),
|
|
782
782
|
rotation: i(s),
|
|
783
783
|
scale: i(r)
|
|
@@ -801,7 +801,7 @@ const is = /* @__PURE__ */ ze(ts, [["render", ns]]), os = ["position", "rotation
|
|
|
801
801
|
outer: { type: Boolean }
|
|
802
802
|
},
|
|
803
803
|
setup(t) {
|
|
804
|
-
const e = t, { position: n, rotation: o, scale: s } =
|
|
804
|
+
const e = t, { position: n, rotation: o, scale: s } = pe(e);
|
|
805
805
|
return (r, a) => (g(), te("TresMesh", {
|
|
806
806
|
position: i(n),
|
|
807
807
|
rotation: i(o),
|
|
@@ -840,19 +840,19 @@ const is = /* @__PURE__ */ ze(ts, [["render", ns]]), os = ["position", "rotation
|
|
|
840
840
|
visualMap: Es,
|
|
841
841
|
dataZoom: Bs,
|
|
842
842
|
markPoint: Rs
|
|
843
|
-
}, Ws = ["#dd6b66", "#759aa0", "#e69d87", "#8dc1a9", "#ea7e53", "#eedd78", "#73a373", "#73b9bc", "#7289ab", "#91ca8c", "#f49f42"], Ds = "#f5f5f5", Fs = {}, Gs = { textStyle: { color: "#464646" }, subtextStyle: { color: "#6e7079" } },
|
|
843
|
+
}, Ws = ["#dd6b66", "#759aa0", "#e69d87", "#8dc1a9", "#ea7e53", "#eedd78", "#73a373", "#73b9bc", "#7289ab", "#91ca8c", "#f49f42"], Ds = "#f5f5f5", Fs = {}, Gs = { textStyle: { color: "#464646" }, subtextStyle: { color: "#6e7079" } }, Ns = { itemStyle: { borderWidth: 1 }, lineStyle: { width: 2 }, symbolSize: 4, symbol: "circle", smooth: !1 }, js = { itemStyle: { borderWidth: 1 }, lineStyle: { width: 2 }, symbolSize: 4, symbol: "circle", smooth: !1 }, Hs = { itemStyle: { barBorderWidth: 0, barBorderColor: "#ccc" } }, Ks = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Os = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Us = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Js = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, qs = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Xs = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Ys = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Zs = { itemStyle: { color: "#eb5454", color0: "#47b262", borderColor: "#eb5454", borderColor0: "#47b262", borderWidth: 1 } }, Qs = { 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" } }, el = { 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)" } } }, tl = { 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)" } } }, nl = { 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"] } } }, il = { 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"] } } }, ol = { 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"] } } }, rl = { 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"] } } }, sl = { iconStyle: { borderColor: "#999" }, emphasis: { iconStyle: { borderColor: "#666" } } }, ll = { textStyle: { color: "#333333" } }, al = { axisPointer: { lineStyle: { color: "#cccccc", width: "1" }, crossStyle: { color: "#cccccc", width: "1" } } }, cl = { 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" } } }, ul = { color: ["#bf444c", "#d88273", "#f6efa6"] }, ml = { 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" } }, pl = { label: { color: "#eee" }, emphasis: { label: { color: "#eee" } } }, dl = {
|
|
844
844
|
color: Ws,
|
|
845
845
|
backgroundColor: Ds,
|
|
846
846
|
textStyle: Fs,
|
|
847
847
|
title: Gs,
|
|
848
|
-
line:
|
|
849
|
-
radar:
|
|
848
|
+
line: Ns,
|
|
849
|
+
radar: js,
|
|
850
850
|
bar: Hs,
|
|
851
851
|
pie: Ks,
|
|
852
852
|
scatter: Os,
|
|
853
853
|
boxplot: Us,
|
|
854
|
-
parallel:
|
|
855
|
-
sankey:
|
|
854
|
+
parallel: Js,
|
|
855
|
+
sankey: qs,
|
|
856
856
|
funnel: Xs,
|
|
857
857
|
gauge: Ys,
|
|
858
858
|
candlestick: Zs,
|
|
@@ -890,25 +890,25 @@ const yl = /* @__PURE__ */ $({
|
|
|
890
890
|
outer: { type: Boolean }
|
|
891
891
|
},
|
|
892
892
|
setup(t) {
|
|
893
|
-
const e = t, n =
|
|
894
|
-
const C = {},
|
|
895
|
-
return s === "page" ?
|
|
893
|
+
const e = t, n = ze(), o = je(), s = ye(), r = ke(), { width: a, minWidth: c, maxWidth: m, height: p, minHeight: u, maxHeight: d, applySize: y } = de(e), { applyTitle: b } = Io(e), { applyXAxis: h } = Co(e), { applyYAxis: k } = Po(e), { applyLegend: x } = So(e), { applySeries: S } = $o(e), I = v(() => {
|
|
894
|
+
const C = {}, N = r.value.type;
|
|
895
|
+
return s === "page" ? N === "common" ? y(C) : console.assert(!1) : s === "comp" && N === "common" ? y(C) : console.assert(!1), C;
|
|
896
896
|
}), P = ao("chart");
|
|
897
897
|
let E;
|
|
898
898
|
const D = () => {
|
|
899
899
|
E?.dispose(), E = vo.init(P.value, o.value ? "dark" : "light");
|
|
900
900
|
const C = {};
|
|
901
901
|
E.setOption(C);
|
|
902
|
-
},
|
|
902
|
+
}, j = () => {
|
|
903
903
|
E?.resize();
|
|
904
904
|
}, R = () => {
|
|
905
905
|
const C = {};
|
|
906
906
|
b(C), h(C), k(C), x(C), S(C), E?.setOption(C, !0);
|
|
907
907
|
};
|
|
908
908
|
return co(async () => {
|
|
909
|
-
window.addEventListener("resize",
|
|
909
|
+
window.addEventListener("resize", j, !1), await po(() => !!P.value), D(), R();
|
|
910
910
|
}), Ge(() => {
|
|
911
|
-
window.removeEventListener("resize",
|
|
911
|
+
window.removeEventListener("resize", j, !1), E?.dispose();
|
|
912
912
|
}), re(
|
|
913
913
|
[
|
|
914
914
|
() => n.value.width,
|
|
@@ -916,12 +916,12 @@ const yl = /* @__PURE__ */ $({
|
|
|
916
916
|
a,
|
|
917
917
|
c,
|
|
918
918
|
m,
|
|
919
|
-
|
|
919
|
+
p,
|
|
920
920
|
u,
|
|
921
|
-
|
|
921
|
+
d
|
|
922
922
|
],
|
|
923
923
|
async () => {
|
|
924
|
-
await uo(),
|
|
924
|
+
await uo(), j();
|
|
925
925
|
}
|
|
926
926
|
), re([o], () => {
|
|
927
927
|
D(), R();
|
|
@@ -931,7 +931,7 @@ const yl = /* @__PURE__ */ $({
|
|
|
931
931
|
R();
|
|
932
932
|
},
|
|
933
933
|
{ deep: !0 }
|
|
934
|
-
), (C,
|
|
934
|
+
), (C, N) => (g(), w(i(F), { block: "" }, {
|
|
935
935
|
default: _(() => [
|
|
936
936
|
Y("div", {
|
|
937
937
|
ref: "chart",
|
|
@@ -948,25 +948,25 @@ const yl = /* @__PURE__ */ $({
|
|
|
948
948
|
outer: { type: Boolean }
|
|
949
949
|
},
|
|
950
950
|
setup(t) {
|
|
951
|
-
const e = t, n =
|
|
952
|
-
const C = {},
|
|
953
|
-
return s === "page" ?
|
|
951
|
+
const e = t, n = ze(), o = je(), s = ye(), r = ke(), { width: a, minWidth: c, maxWidth: m, height: p, minHeight: u, maxHeight: d, applySize: y } = de(e), { applyTitle: b } = Io(e), { applyXAxis: h } = Co(e), { applyYAxis: k } = Po(e), { applyLegend: x } = So(e), { applySeries: S } = $o(e), I = v(() => {
|
|
952
|
+
const C = {}, N = r.value.type;
|
|
953
|
+
return s === "page" ? N === "common" ? y(C) : console.assert(!1) : s === "comp" && N === "common" ? y(C) : console.assert(!1), C;
|
|
954
954
|
}), P = ao("chart");
|
|
955
955
|
let E;
|
|
956
956
|
const D = () => {
|
|
957
957
|
E?.dispose(), E = vo.init(P.value, o.value ? "dark" : "light");
|
|
958
958
|
const C = {};
|
|
959
959
|
E.setOption(C);
|
|
960
|
-
},
|
|
960
|
+
}, j = () => {
|
|
961
961
|
E?.resize();
|
|
962
962
|
}, R = () => {
|
|
963
963
|
const C = {};
|
|
964
964
|
b(C), h(C), k(C), x(C), S(C), E?.setOption(C, !0);
|
|
965
965
|
};
|
|
966
966
|
return co(async () => {
|
|
967
|
-
window.addEventListener("resize",
|
|
967
|
+
window.addEventListener("resize", j, !1), await po(() => !!P.value), D(), R();
|
|
968
968
|
}), Ge(() => {
|
|
969
|
-
window.removeEventListener("resize",
|
|
969
|
+
window.removeEventListener("resize", j, !1), E?.dispose();
|
|
970
970
|
}), re(
|
|
971
971
|
[
|
|
972
972
|
() => n.value.width,
|
|
@@ -974,12 +974,12 @@ const yl = /* @__PURE__ */ $({
|
|
|
974
974
|
a,
|
|
975
975
|
c,
|
|
976
976
|
m,
|
|
977
|
-
|
|
977
|
+
p,
|
|
978
978
|
u,
|
|
979
|
-
|
|
979
|
+
d
|
|
980
980
|
],
|
|
981
981
|
async () => {
|
|
982
|
-
await uo(),
|
|
982
|
+
await uo(), j();
|
|
983
983
|
}
|
|
984
984
|
), re([o], () => {
|
|
985
985
|
D(), R();
|
|
@@ -989,7 +989,7 @@ const yl = /* @__PURE__ */ $({
|
|
|
989
989
|
R();
|
|
990
990
|
},
|
|
991
991
|
{ deep: !0 }
|
|
992
|
-
), (C,
|
|
992
|
+
), (C, N) => (g(), w(i(F), { block: "" }, {
|
|
993
993
|
default: _(() => [
|
|
994
994
|
Y("div", {
|
|
995
995
|
ref: "chart",
|
|
@@ -1008,7 +1008,7 @@ const yl = /* @__PURE__ */ $({
|
|
|
1008
1008
|
},
|
|
1009
1009
|
setup(t) {
|
|
1010
1010
|
const e = t, n = oe(), o = H();
|
|
1011
|
-
return Z(o) && ii(n, "multipleRef", e.node.basic.id, "",
|
|
1011
|
+
return Z(o) && ii(n, "multipleRef", e.node.basic.id, "", fe()), ni(e.refContext.compId, n), (s, r) => (g(), te("div"));
|
|
1012
1012
|
}
|
|
1013
1013
|
}), hl = /* @__PURE__ */ $({
|
|
1014
1014
|
__name: "index",
|
|
@@ -1019,14 +1019,14 @@ const yl = /* @__PURE__ */ $({
|
|
|
1019
1019
|
},
|
|
1020
1020
|
setup(t) {
|
|
1021
1021
|
const { t: e } = _o(), n = t, o = oe(), s = H();
|
|
1022
|
-
Z(s) && ii(o, "reference", n.node.basic.id, "",
|
|
1023
|
-
const r = Qo(), { applySize: a } =
|
|
1022
|
+
Z(s) && ii(o, "reference", n.node.basic.id, "", fe()), ni(n.refContext.compId, o);
|
|
1023
|
+
const r = Qo(), { applySize: a } = de(n), c = v(() => {
|
|
1024
1024
|
const u = {};
|
|
1025
1025
|
return o.value?.type === "common" && a(u), u;
|
|
1026
1026
|
});
|
|
1027
1027
|
function m(u) {
|
|
1028
|
-
const
|
|
1029
|
-
if (!
|
|
1028
|
+
const d = Ee[u.basic.key];
|
|
1029
|
+
if (!d)
|
|
1030
1030
|
return console.assert(!1, `element not found key=${u.basic.key}`), ae("div", `element not found key=${u.basic.key}`);
|
|
1031
1031
|
const y = { node: u };
|
|
1032
1032
|
u.reference && u.reference.comp && (y.refContext = {
|
|
@@ -1034,11 +1034,11 @@ const yl = /* @__PURE__ */ $({
|
|
|
1034
1034
|
compId: u.reference.comp
|
|
1035
1035
|
});
|
|
1036
1036
|
const b = [];
|
|
1037
|
-
return
|
|
1037
|
+
return d.leaf || u.children?.forEach((h) => {
|
|
1038
1038
|
b.push(m(h));
|
|
1039
|
-
}), ae(
|
|
1039
|
+
}), ae(d.comp, y, { default: () => b });
|
|
1040
1040
|
}
|
|
1041
|
-
const
|
|
1041
|
+
const p = () => {
|
|
1042
1042
|
if (Vo(n.refContext))
|
|
1043
1043
|
return ae("div", e("x-runtime-lib.circularRef"));
|
|
1044
1044
|
if (!o.value)
|
|
@@ -1053,7 +1053,7 @@ const yl = /* @__PURE__ */ $({
|
|
|
1053
1053
|
{ default: () => u }
|
|
1054
1054
|
);
|
|
1055
1055
|
};
|
|
1056
|
-
return (u,
|
|
1056
|
+
return (u, d) => (g(), w(p));
|
|
1057
1057
|
}
|
|
1058
1058
|
}), gl = /* @__PURE__ */ $({
|
|
1059
1059
|
__name: "index",
|
|
@@ -1070,7 +1070,7 @@ const yl = /* @__PURE__ */ $({
|
|
|
1070
1070
|
_: 3
|
|
1071
1071
|
}));
|
|
1072
1072
|
}
|
|
1073
|
-
}),
|
|
1073
|
+
}), he = /* @__PURE__ */ $({
|
|
1074
1074
|
__name: "index",
|
|
1075
1075
|
props: {
|
|
1076
1076
|
id: {},
|
|
@@ -1079,20 +1079,20 @@ const yl = /* @__PURE__ */ $({
|
|
|
1079
1079
|
},
|
|
1080
1080
|
setup(t) {
|
|
1081
1081
|
const { t: e } = _o(), n = t, o = oe(), s = H();
|
|
1082
|
-
Z(s) && ii(o, "slot", n.id, "",
|
|
1082
|
+
Z(s) && ii(o, "slot", n.id, "", fe()), ni(n.refContext.compId, o);
|
|
1083
1083
|
function r(c) {
|
|
1084
|
-
const m =
|
|
1084
|
+
const m = Ee[c.basic.key];
|
|
1085
1085
|
if (!m)
|
|
1086
1086
|
return console.assert(!1, `element not found key=${c.basic.key}`), ae("div", `element not found key=${c.basic.key}`);
|
|
1087
|
-
const
|
|
1088
|
-
c.reference && c.reference.comp && (
|
|
1089
|
-
parent:
|
|
1087
|
+
const p = { node: c };
|
|
1088
|
+
c.reference && c.reference.comp && (p.refContext = {
|
|
1089
|
+
parent: p.refContext,
|
|
1090
1090
|
compId: c.reference.comp
|
|
1091
1091
|
});
|
|
1092
1092
|
const u = [];
|
|
1093
|
-
return m.leaf || c.children?.forEach((
|
|
1094
|
-
u.push(r(
|
|
1095
|
-
}), ae(m.comp,
|
|
1093
|
+
return m.leaf || c.children?.forEach((d) => {
|
|
1094
|
+
u.push(r(d));
|
|
1095
|
+
}), ae(m.comp, p, { default: () => u });
|
|
1096
1096
|
}
|
|
1097
1097
|
const a = () => {
|
|
1098
1098
|
if (Vo(n.refContext))
|
|
@@ -1123,10 +1123,10 @@ const yl = /* @__PURE__ */ $({
|
|
|
1123
1123
|
"y"
|
|
1124
1124
|
]);
|
|
1125
1125
|
return (c, m) => {
|
|
1126
|
-
const
|
|
1126
|
+
const p = A("v-badge");
|
|
1127
1127
|
return g(), w(i(F), null, {
|
|
1128
1128
|
default: _(() => [
|
|
1129
|
-
W(
|
|
1129
|
+
W(p, {
|
|
1130
1130
|
content: i(n),
|
|
1131
1131
|
dot: i(o),
|
|
1132
1132
|
"offset-x": i(r),
|
|
@@ -1150,30 +1150,30 @@ const yl = /* @__PURE__ */ $({
|
|
|
1150
1150
|
outer: { type: Boolean }
|
|
1151
1151
|
},
|
|
1152
1152
|
setup(t) {
|
|
1153
|
-
const e = t, n =
|
|
1153
|
+
const e = t, n = fe(), { property: o } = l(e, [
|
|
1154
1154
|
"settings",
|
|
1155
1155
|
"addIcon",
|
|
1156
1156
|
"append"
|
|
1157
1157
|
]), { property: s } = l(e, ["settings", "block"]), { property: r } = l(e, ["settings", "color"]), { color: a } = K(r), { property: c } = l(e, ["settings", "density"]), { property: m } = l(e, [
|
|
1158
1158
|
"settings",
|
|
1159
1159
|
"disabled"
|
|
1160
|
-
]), { property:
|
|
1160
|
+
]), { property: p } = l(e, ["size", "height"]), { property: u } = l(e, ["settings", "loading"]), { property: d } = l(e, ["size", "maxHeight"]), { property: y } = l(e, ["size", "maxWidth"]), { property: b } = l(e, ["size", "minHeight"]), { property: h } = l(e, ["size", "minWidth"]), { property: k } = l(e, [
|
|
1161
1161
|
"settings",
|
|
1162
1162
|
"addIcon",
|
|
1163
1163
|
"prepend"
|
|
1164
1164
|
]), { property: x } = l(e, [
|
|
1165
1165
|
"settings",
|
|
1166
1166
|
"readonly"
|
|
1167
|
-
]), { property: S } = l(e, ["settings", "ripple"]), { property: I } = l(e, ["settings", "size"]), { property: P } = l(e, ["settings", "stacked"]), { property: E } = l(e, ["settings", "text"]), { theme: D } = G(), { property:
|
|
1167
|
+
]), { property: S } = l(e, ["settings", "ripple"]), { property: I } = l(e, ["settings", "size"]), { property: P } = l(e, ["settings", "stacked"]), { property: E } = l(e, ["settings", "text"]), { theme: D } = G(), { property: j } = l(e, ["settings", "variant"]), { property: R } = l(e, ["size", "width"]), C = (N) => {
|
|
1168
1168
|
if (!n || !n.vm)
|
|
1169
1169
|
return;
|
|
1170
1170
|
const { vm: X } = n;
|
|
1171
|
-
X.setProp(X.global, "__pointerPosX__", X.newNumber(
|
|
1171
|
+
X.setProp(X.global, "__pointerPosX__", X.newNumber(N.clientX)), X.setProp(X.global, "__pointerPosY__", X.newNumber(N.clientY)), n.callFunction(
|
|
1172
1172
|
"__triggerEventV1__",
|
|
1173
1173
|
Q("elementEvent", e.node.basic.id, "click")
|
|
1174
1174
|
);
|
|
1175
1175
|
};
|
|
1176
|
-
return (
|
|
1176
|
+
return (N, X) => {
|
|
1177
1177
|
const ie = A("v-btn");
|
|
1178
1178
|
return g(), w(i(F), { block: i(s) }, {
|
|
1179
1179
|
default: _(() => [
|
|
@@ -1183,9 +1183,9 @@ const yl = /* @__PURE__ */ $({
|
|
|
1183
1183
|
color: i(a),
|
|
1184
1184
|
density: i(c),
|
|
1185
1185
|
disabled: i(m),
|
|
1186
|
-
height: i(
|
|
1186
|
+
height: i(p),
|
|
1187
1187
|
loading: i(u),
|
|
1188
|
-
"max-height": i(
|
|
1188
|
+
"max-height": i(d),
|
|
1189
1189
|
"max-width": i(y),
|
|
1190
1190
|
"min-height": i(b),
|
|
1191
1191
|
"min-width": i(h),
|
|
@@ -1196,7 +1196,7 @@ const yl = /* @__PURE__ */ $({
|
|
|
1196
1196
|
stacked: i(P),
|
|
1197
1197
|
text: i(E),
|
|
1198
1198
|
theme: i(D),
|
|
1199
|
-
variant: i(
|
|
1199
|
+
variant: i(j),
|
|
1200
1200
|
width: i(R),
|
|
1201
1201
|
onClick: C
|
|
1202
1202
|
}, null, 8, ["append-icon", "block", "color", "density", "disabled", "height", "loading", "max-height", "max-width", "min-height", "min-width", "prepend-icon", "readonly", "ripple", "size", "stacked", "text", "theme", "variant", "width"])
|
|
@@ -1215,7 +1215,7 @@ function _l(t, e) {
|
|
|
1215
1215
|
_: 3
|
|
1216
1216
|
});
|
|
1217
1217
|
}
|
|
1218
|
-
const wl = /* @__PURE__ */
|
|
1218
|
+
const wl = /* @__PURE__ */ Te(kl, [["render", _l]]), Vl = /* @__PURE__ */ $({
|
|
1219
1219
|
__name: "index",
|
|
1220
1220
|
props: {
|
|
1221
1221
|
node: {},
|
|
@@ -1234,7 +1234,7 @@ const wl = /* @__PURE__ */ ze(kl, [["render", _l]]), Vl = /* @__PURE__ */ $({
|
|
|
1234
1234
|
]), { property: c } = l(e, [
|
|
1235
1235
|
"settings",
|
|
1236
1236
|
"readonly"
|
|
1237
|
-
]), { property: m } = l(e, ["settings", "size"]), { property:
|
|
1237
|
+
]), { property: m } = l(e, ["settings", "size"]), { property: p } = l(e, ["settings", "stacked"]), { theme: u } = G(), { property: d } = l(e, ["settings", "tile"]), { property: y } = l(e, ["settings", "variant"]);
|
|
1238
1238
|
return (b, h) => {
|
|
1239
1239
|
const k = A("v-btn-toggle");
|
|
1240
1240
|
return g(), w(k, {
|
|
@@ -1245,9 +1245,9 @@ const wl = /* @__PURE__ */ ze(kl, [["render", _l]]), Vl = /* @__PURE__ */ $({
|
|
|
1245
1245
|
multiple: i(a),
|
|
1246
1246
|
readonly: i(c),
|
|
1247
1247
|
size: i(m),
|
|
1248
|
-
stacked: i(
|
|
1248
|
+
stacked: i(p),
|
|
1249
1249
|
theme: i(u),
|
|
1250
|
-
tile: i(
|
|
1250
|
+
tile: i(d),
|
|
1251
1251
|
variant: i(y)
|
|
1252
1252
|
}, {
|
|
1253
1253
|
default: _(() => [
|
|
@@ -1267,7 +1267,7 @@ const wl = /* @__PURE__ */ ze(kl, [["render", _l]]), Vl = /* @__PURE__ */ $({
|
|
|
1267
1267
|
const e = t, { property: n } = l(e, ["settings", "density"]), { property: o } = l(e, [
|
|
1268
1268
|
"settings",
|
|
1269
1269
|
"disabled"
|
|
1270
|
-
]), { property: s } = l(e, ["size", "height"]), { property: r } = l(e, ["settings", "hover"]), { property: a } = l(e, ["settings", "loading"]), { property: c } = l(e, ["size", "maxHeight"]), { property: m } = l(e, ["size", "maxWidth"]), { property:
|
|
1270
|
+
]), { property: s } = l(e, ["size", "height"]), { property: r } = l(e, ["settings", "hover"]), { property: a } = l(e, ["settings", "loading"]), { property: c } = l(e, ["size", "maxHeight"]), { property: m } = l(e, ["size", "maxWidth"]), { property: p } = l(e, ["size", "minHeight"]), { property: u } = l(e, ["size", "minWidth"]), { property: d } = l(e, [
|
|
1271
1271
|
"settings",
|
|
1272
1272
|
"subtitle"
|
|
1273
1273
|
]), { property: y } = l(e, ["settings", "text"]), { theme: b } = G(), { property: h } = l(e, ["settings", "title"]), { property: k } = l(e, ["settings", "variant"]), { property: x } = l(e, ["size", "width"]);
|
|
@@ -1283,9 +1283,9 @@ const wl = /* @__PURE__ */ ze(kl, [["render", _l]]), Vl = /* @__PURE__ */ $({
|
|
|
1283
1283
|
loading: i(a),
|
|
1284
1284
|
"max-height": i(c),
|
|
1285
1285
|
"max-width": i(m),
|
|
1286
|
-
"min-height": i(
|
|
1286
|
+
"min-height": i(p),
|
|
1287
1287
|
"min-width": i(u),
|
|
1288
|
-
subtitle: i(
|
|
1288
|
+
subtitle: i(d),
|
|
1289
1289
|
text: i(y),
|
|
1290
1290
|
theme: i(b),
|
|
1291
1291
|
title: i(h),
|
|
@@ -1345,7 +1345,7 @@ const wl = /* @__PURE__ */ ze(kl, [["render", _l]]), Vl = /* @__PURE__ */ $({
|
|
|
1345
1345
|
]), { property: c } = l(e, [
|
|
1346
1346
|
"settings",
|
|
1347
1347
|
"draggable"
|
|
1348
|
-
]), { property: m } = l(e, ["settings", "filter"]), { property:
|
|
1348
|
+
]), { property: m } = l(e, ["settings", "filter"]), { property: p } = l(e, ["settings", "label"]), { property: u } = l(e, ["settings", "size"]), { property: d } = l(e, ["settings", "text"]), { theme: y } = G(), { property: b } = l(e, ["settings", "tile"]), { property: h } = l(e, ["settings", "value"]), { property: k } = l(e, ["settings", "variant"]);
|
|
1349
1349
|
return (x, S) => {
|
|
1350
1350
|
const I = A("v-chip");
|
|
1351
1351
|
return g(), w(i(F), null, {
|
|
@@ -1357,9 +1357,9 @@ const wl = /* @__PURE__ */ ze(kl, [["render", _l]]), Vl = /* @__PURE__ */ $({
|
|
|
1357
1357
|
disabled: i(a),
|
|
1358
1358
|
draggable: i(c),
|
|
1359
1359
|
filter: i(m),
|
|
1360
|
-
label: i(
|
|
1360
|
+
label: i(p),
|
|
1361
1361
|
size: i(u),
|
|
1362
|
-
text: i(
|
|
1362
|
+
text: i(d),
|
|
1363
1363
|
theme: i(y),
|
|
1364
1364
|
tile: i(b),
|
|
1365
1365
|
value: i(h),
|
|
@@ -1392,12 +1392,12 @@ const wl = /* @__PURE__ */ ze(kl, [["render", _l]]), Vl = /* @__PURE__ */ $({
|
|
|
1392
1392
|
]), { property: m } = l(e, [
|
|
1393
1393
|
"settings",
|
|
1394
1394
|
"showArrows"
|
|
1395
|
-
]), { theme:
|
|
1396
|
-
return (
|
|
1395
|
+
]), { theme: p } = G(), { property: u } = l(e, ["settings", "value"]);
|
|
1396
|
+
return (d, y) => {
|
|
1397
1397
|
const b = A("v-chip-group");
|
|
1398
1398
|
return g(), w(b, {
|
|
1399
1399
|
modelValue: i(u),
|
|
1400
|
-
"onUpdate:modelValue": y[0] || (y[0] = (h) =>
|
|
1400
|
+
"onUpdate:modelValue": y[0] || (y[0] = (h) => J(u) ? u.value = h : null),
|
|
1401
1401
|
column: i(n),
|
|
1402
1402
|
direction: i(o),
|
|
1403
1403
|
disabled: i(s),
|
|
@@ -1405,10 +1405,10 @@ const wl = /* @__PURE__ */ ze(kl, [["render", _l]]), Vl = /* @__PURE__ */ $({
|
|
|
1405
1405
|
mandatory: i(a),
|
|
1406
1406
|
multiple: i(c),
|
|
1407
1407
|
"show-arrows": i(m),
|
|
1408
|
-
theme: i(
|
|
1408
|
+
theme: i(p)
|
|
1409
1409
|
}, {
|
|
1410
1410
|
default: _(() => [
|
|
1411
|
-
B(
|
|
1411
|
+
B(d.$slots, "default")
|
|
1412
1412
|
]),
|
|
1413
1413
|
_: 3
|
|
1414
1414
|
}, 8, ["modelValue", "column", "direction", "disabled", "filter", "mandatory", "multiple", "show-arrows", "theme"]);
|
|
@@ -1421,7 +1421,7 @@ const wl = /* @__PURE__ */ ze(kl, [["render", _l]]), Vl = /* @__PURE__ */ $({
|
|
|
1421
1421
|
outer: { type: Boolean }
|
|
1422
1422
|
},
|
|
1423
1423
|
setup(t) {
|
|
1424
|
-
const e = t, n =
|
|
1424
|
+
const e = t, n = ye(), o = ke(), { applySize: s } = de(e), r = v(() => {
|
|
1425
1425
|
const h = {}, k = o.value.type;
|
|
1426
1426
|
return n === "page" ? k === "common" ? s(h) : console.assert(!1) : n === "comp" && k === "common" ? s(h) : console.assert(!1), h;
|
|
1427
1427
|
}), { property: a } = l(e, [
|
|
@@ -1433,13 +1433,13 @@ const wl = /* @__PURE__ */ ze(kl, [["render", _l]]), Vl = /* @__PURE__ */ $({
|
|
|
1433
1433
|
]), { property: m } = l(e, [
|
|
1434
1434
|
"settings",
|
|
1435
1435
|
"hideHeader"
|
|
1436
|
-
]), { property:
|
|
1436
|
+
]), { property: p } = l(e, [
|
|
1437
1437
|
"settings",
|
|
1438
1438
|
"hideInputs"
|
|
1439
1439
|
]), { property: u } = l(e, [
|
|
1440
1440
|
"settings",
|
|
1441
1441
|
"hideSliders"
|
|
1442
|
-
]), { property:
|
|
1442
|
+
]), { property: d } = l(e, [
|
|
1443
1443
|
"settings",
|
|
1444
1444
|
"landscape"
|
|
1445
1445
|
]), { property: y } = l(e, [
|
|
@@ -1454,9 +1454,9 @@ const wl = /* @__PURE__ */ ze(kl, [["render", _l]]), Vl = /* @__PURE__ */ $({
|
|
|
1454
1454
|
disabled: i(a),
|
|
1455
1455
|
"hide-canvas": i(c),
|
|
1456
1456
|
"hide-header": i(m),
|
|
1457
|
-
"hide-inputs": i(
|
|
1457
|
+
"hide-inputs": i(p),
|
|
1458
1458
|
"hide-sliders": i(u),
|
|
1459
|
-
landscape: i(
|
|
1459
|
+
landscape: i(d),
|
|
1460
1460
|
"show-swatches": i(y),
|
|
1461
1461
|
style: ee(r.value),
|
|
1462
1462
|
theme: i(b)
|
|
@@ -1486,13 +1486,13 @@ const wl = /* @__PURE__ */ ze(kl, [["render", _l]]), Vl = /* @__PURE__ */ $({
|
|
|
1486
1486
|
"settings",
|
|
1487
1487
|
"singleLine"
|
|
1488
1488
|
]), { theme: c } = G(), { property: m } = l(e, ["settings", "value"]);
|
|
1489
|
-
return (
|
|
1490
|
-
const
|
|
1489
|
+
return (p, u) => {
|
|
1490
|
+
const d = A("v-combobox");
|
|
1491
1491
|
return g(), w(i(F), null, {
|
|
1492
1492
|
default: _(() => [
|
|
1493
|
-
W(
|
|
1493
|
+
W(d, {
|
|
1494
1494
|
modelValue: i(m),
|
|
1495
|
-
"onUpdate:modelValue": u[0] || (u[0] = (y) =>
|
|
1495
|
+
"onUpdate:modelValue": u[0] || (u[0] = (y) => J(m) ? m.value = y : null),
|
|
1496
1496
|
"hide-details": i(n),
|
|
1497
1497
|
label: i(o),
|
|
1498
1498
|
placeholder: i(s),
|
|
@@ -1512,19 +1512,19 @@ const wl = /* @__PURE__ */ ze(kl, [["render", _l]]), Vl = /* @__PURE__ */ $({
|
|
|
1512
1512
|
outer: { type: Boolean }
|
|
1513
1513
|
},
|
|
1514
1514
|
setup(t) {
|
|
1515
|
-
const e = t, n =
|
|
1515
|
+
const e = t, n = ye(), o = ke(), { property: s } = l(e, [
|
|
1516
1516
|
"settings",
|
|
1517
1517
|
"backgroundColor"
|
|
1518
|
-
]), { color: r } = K(s), { applySize: a } =
|
|
1519
|
-
const
|
|
1520
|
-
return n === "page" ? y === "common" ? (a(
|
|
1518
|
+
]), { color: r } = K(s), { applySize: a } = de(e), { applyMargin: c } = Hn(e), { applyPadding: m } = Kn(e), { applyBorder: p } = jn(e), u = v(() => {
|
|
1519
|
+
const d = {}, y = o.value.type;
|
|
1520
|
+
return n === "page" ? y === "common" ? (a(d), c(d), m(d), p(d), r.value && (d.backgroundColor = r.value)) : console.assert(!1) : n === "comp" && y === "common" ? (a(d), c(d), m(d), p(d), r.value && (d.backgroundColor = r.value)) : console.assert(!1), d;
|
|
1521
1521
|
});
|
|
1522
|
-
return (
|
|
1522
|
+
return (d, y) => (g(), w(i(F), { block: "" }, {
|
|
1523
1523
|
default: _(() => [
|
|
1524
1524
|
Y("div", {
|
|
1525
1525
|
style: ee(u.value)
|
|
1526
1526
|
}, [
|
|
1527
|
-
B(
|
|
1527
|
+
B(d.$slots, "default")
|
|
1528
1528
|
], 4)
|
|
1529
1529
|
]),
|
|
1530
1530
|
_: 3
|
|
@@ -1547,10 +1547,10 @@ const wl = /* @__PURE__ */ ze(kl, [["render", _l]]), Vl = /* @__PURE__ */ $({
|
|
|
1547
1547
|
e,
|
|
1548
1548
|
["settings", "data"],
|
|
1549
1549
|
!0
|
|
1550
|
-
), { property:
|
|
1550
|
+
), { property: p } = l(e, ["settings", "loading"]), { property: u } = l(e, [
|
|
1551
1551
|
"settings",
|
|
1552
1552
|
"multiSort"
|
|
1553
|
-
]), { theme:
|
|
1553
|
+
]), { theme: d } = G(), { property: y } = l(e, ["size", "width"]), b = v(() => {
|
|
1554
1554
|
const h = [];
|
|
1555
1555
|
return (e.node.slots?.items ?? []).forEach((x) => {
|
|
1556
1556
|
x.column && x.comp && h.push(x);
|
|
@@ -1568,15 +1568,15 @@ const wl = /* @__PURE__ */ ze(kl, [["render", _l]]), Vl = /* @__PURE__ */ $({
|
|
|
1568
1568
|
height: i(a),
|
|
1569
1569
|
hover: i(c),
|
|
1570
1570
|
items: i(m),
|
|
1571
|
-
loading: i(
|
|
1571
|
+
loading: i(p),
|
|
1572
1572
|
"multi-sort": i(u),
|
|
1573
|
-
theme: i(
|
|
1573
|
+
theme: i(d),
|
|
1574
1574
|
width: i(y)
|
|
1575
1575
|
}, Wn({ _: 2 }, [
|
|
1576
1576
|
er(b.value, (S) => ({
|
|
1577
1577
|
name: `item.${S.column}`,
|
|
1578
1578
|
fn: _(({ value: I }) => [
|
|
1579
|
-
W(i(
|
|
1579
|
+
W(i(he), {
|
|
1580
1580
|
id: S.column,
|
|
1581
1581
|
"ref-context": { compId: S.comp },
|
|
1582
1582
|
state: { value: I }
|
|
@@ -1618,7 +1618,7 @@ const wl = /* @__PURE__ */ ze(kl, [["render", _l]]), Vl = /* @__PURE__ */ $({
|
|
|
1618
1618
|
const c = A("v-dialog");
|
|
1619
1619
|
return g(), w(c, {
|
|
1620
1620
|
modelValue: i(s),
|
|
1621
|
-
"onUpdate:modelValue": a[0] || (a[0] = (m) =>
|
|
1621
|
+
"onUpdate:modelValue": a[0] || (a[0] = (m) => J(s) ? s.value = m : null),
|
|
1622
1622
|
attach: "#dialogContainer"
|
|
1623
1623
|
}, {
|
|
1624
1624
|
activator: _(() => [
|
|
@@ -1650,10 +1650,10 @@ const wl = /* @__PURE__ */ ze(kl, [["render", _l]]), Vl = /* @__PURE__ */ $({
|
|
|
1650
1650
|
]), { property: a } = l(e, ["settings", "label"]), { property: c } = l(e, ["settings", "loading"]), { property: m } = l(e, [
|
|
1651
1651
|
"settings",
|
|
1652
1652
|
"multiple"
|
|
1653
|
-
]), { property:
|
|
1653
|
+
]), { property: p } = l(e, [
|
|
1654
1654
|
"settings",
|
|
1655
1655
|
"readonly"
|
|
1656
|
-
]), { property: u } = l(e, ["settings", "reverse"]), { property:
|
|
1656
|
+
]), { property: u } = l(e, ["settings", "reverse"]), { property: d } = l(e, [
|
|
1657
1657
|
"settings",
|
|
1658
1658
|
"singleLine"
|
|
1659
1659
|
]);
|
|
@@ -1669,9 +1669,9 @@ const wl = /* @__PURE__ */ ze(kl, [["render", _l]]), Vl = /* @__PURE__ */ $({
|
|
|
1669
1669
|
label: i(a),
|
|
1670
1670
|
loading: i(c),
|
|
1671
1671
|
multiple: i(m),
|
|
1672
|
-
readonly: i(
|
|
1672
|
+
readonly: i(p),
|
|
1673
1673
|
reverse: i(u),
|
|
1674
|
-
"single-line": i(
|
|
1674
|
+
"single-line": i(d)
|
|
1675
1675
|
}, null, 8, ["chips", "density", "direction", "disabled", "label", "loading", "multiple", "readonly", "reverse", "single-line"])
|
|
1676
1676
|
]),
|
|
1677
1677
|
_: 1
|
|
@@ -1685,22 +1685,22 @@ const wl = /* @__PURE__ */ ze(kl, [["render", _l]]), Vl = /* @__PURE__ */ $({
|
|
|
1685
1685
|
outer: { type: Boolean }
|
|
1686
1686
|
},
|
|
1687
1687
|
setup(t) {
|
|
1688
|
-
const e = t, n =
|
|
1688
|
+
const e = t, n = ze(), o = ye(), s = ke(), { applySize: r } = de(e), { applyMargin: a } = Hn(e), { applyPadding: c } = Kn(e), { applyBorder: m } = jn(e), { property: p } = l(e, [
|
|
1689
1689
|
"settings",
|
|
1690
1690
|
"backgroundColor"
|
|
1691
|
-
]), { color: u } = K(
|
|
1691
|
+
]), { color: u } = K(p), d = (b) => {
|
|
1692
1692
|
u.value && (b.backgroundColor = u.value), b.display = "flex";
|
|
1693
|
-
const h = Oe(n.value.width), k =
|
|
1693
|
+
const h = Oe(n.value.width), k = Ae(h, e.node.settings?.direction);
|
|
1694
1694
|
k === "row" ? b.flexDirection = "row" : k === "rowReverse" ? b.flexDirection = "row-reverse" : k === "column" ? b.flexDirection = "column" : k === "columnReverse" && (b.flexDirection = "column-reverse");
|
|
1695
|
-
const x =
|
|
1695
|
+
const x = Ae(h, e.node.settings?.wrap);
|
|
1696
1696
|
x === "no" ? b.flexWrap = "nowrap" : x === "yes" ? b.flexWrap = "wrap" : x === "reverse" && (b.flexWrap = "wrap-reverse");
|
|
1697
|
-
const S =
|
|
1697
|
+
const S = Ae(h, e.node.settings?.mainAlign);
|
|
1698
1698
|
S === "start" ? b.justifyContent = "flex-start" : S === "end" ? b.justifyContent = "flex-end" : S === "center" ? b.justifyContent = "center" : S === "spaceBetween" ? b.justifyContent = "space-between" : S === "spaceAround" ? b.justifyContent = "space-around" : S === "spaceEvenly" && (b.justifyContent = "space-evenly");
|
|
1699
|
-
const I =
|
|
1699
|
+
const I = Ae(h, e.node.settings?.crossAlign);
|
|
1700
1700
|
I === "start" ? b.alignItems = "flex-start" : I === "end" ? b.alignItems = "flex-end" : I === "center" ? b.alignItems = "center" : I === "baseline" ? b.alignItems = "baseline" : I === "stretch" && (b.alignItems = "stretch");
|
|
1701
1701
|
}, y = v(() => {
|
|
1702
1702
|
const b = {}, h = s.value.type;
|
|
1703
|
-
return o === "page" ? h === "common" ? (r(b), a(b), c(b), m(b),
|
|
1703
|
+
return o === "page" ? h === "common" ? (r(b), a(b), c(b), m(b), d(b)) : console.assert(!1) : o === "comp" && h === "common" ? (r(b), a(b), c(b), m(b), d(b)) : console.assert(!1), b;
|
|
1704
1704
|
});
|
|
1705
1705
|
return (b, h) => (g(), te("div", {
|
|
1706
1706
|
style: ee(y.value)
|
|
@@ -1715,11 +1715,11 @@ const wl = /* @__PURE__ */ ze(kl, [["render", _l]]), Vl = /* @__PURE__ */ $({
|
|
|
1715
1715
|
outer: { type: Boolean }
|
|
1716
1716
|
},
|
|
1717
1717
|
setup(t) {
|
|
1718
|
-
const e = t, n =
|
|
1719
|
-
const m = {},
|
|
1720
|
-
return n === "page" ?
|
|
1718
|
+
const e = t, n = ye(), o = ke(), { applySize: s } = de(e), { property: r } = l(e, ["settings", "grow"]), { property: a } = l(e, ["settings", "shrink"]), c = v(() => {
|
|
1719
|
+
const m = {}, p = o.value.type;
|
|
1720
|
+
return n === "page" ? p === "common" ? (s(m), m.flexGrow = r.value ? 1 : 0, m.flexShrink = a.value ? 1 : 0) : console.assert(!1) : n === "comp" && p === "common" ? (s(m), m.flexGrow = r.value ? 1 : 0, m.flexShrink = a.value ? 1 : 0) : console.assert(!1), m;
|
|
1721
1721
|
});
|
|
1722
|
-
return (m,
|
|
1722
|
+
return (m, p) => (g(), te("div", {
|
|
1723
1723
|
style: ee(c.value)
|
|
1724
1724
|
}, [
|
|
1725
1725
|
B(m.$slots, "default")
|
|
@@ -1732,15 +1732,15 @@ const wl = /* @__PURE__ */ ze(kl, [["render", _l]]), Vl = /* @__PURE__ */ $({
|
|
|
1732
1732
|
outer: { type: Boolean }
|
|
1733
1733
|
},
|
|
1734
1734
|
setup(t) {
|
|
1735
|
-
const e = t, n =
|
|
1735
|
+
const e = t, n = ye(), o = ke(), s = fe(), { property: r } = l(e, ["settings", "valid"]), { property: a } = l(e, [
|
|
1736
1736
|
"settings",
|
|
1737
1737
|
"fastFail"
|
|
1738
1738
|
]), { property: c } = l(e, [
|
|
1739
1739
|
"settings",
|
|
1740
1740
|
"backgroundColor"
|
|
1741
|
-
]), { color: m } = K(c), { applySize:
|
|
1741
|
+
]), { color: m } = K(c), { applySize: p } = de(e), { applyMargin: u } = Hn(e), { applyPadding: d } = Kn(e), { applyBorder: y } = jn(e), b = v(() => {
|
|
1742
1742
|
const k = {}, x = o.value.type;
|
|
1743
|
-
return n === "page" ? x === "common" ? (
|
|
1743
|
+
return n === "page" ? x === "common" ? (p(k), u(k), d(k), y(k), m.value && (k.backgroundColor = m.value)) : console.assert(!1) : n === "comp" && x === "common" ? (p(k), u(k), d(k), y(k), m.value && (k.backgroundColor = m.value)) : console.assert(!1), k;
|
|
1744
1744
|
}), h = () => {
|
|
1745
1745
|
s && s.callFunction(
|
|
1746
1746
|
"__triggerEventV1__",
|
|
@@ -1751,7 +1751,7 @@ const wl = /* @__PURE__ */ ze(kl, [["render", _l]]), Vl = /* @__PURE__ */ $({
|
|
|
1751
1751
|
const S = A("v-form");
|
|
1752
1752
|
return g(), w(S, {
|
|
1753
1753
|
modelValue: i(r),
|
|
1754
|
-
"onUpdate:modelValue": x[0] || (x[0] = (I) =>
|
|
1754
|
+
"onUpdate:modelValue": x[0] || (x[0] = (I) => J(r) ? r.value = I : null),
|
|
1755
1755
|
"fast-fail": i(a),
|
|
1756
1756
|
style: ee(b.value),
|
|
1757
1757
|
onSubmit: tr(h, ["prevent"])
|
|
@@ -1774,7 +1774,7 @@ const wl = /* @__PURE__ */ ze(kl, [["render", _l]]), Vl = /* @__PURE__ */ $({
|
|
|
1774
1774
|
"settings",
|
|
1775
1775
|
"disabled"
|
|
1776
1776
|
]), { property: r } = l(e, ["settings", "icon"]), { property: a } = l(e, ["settings", "size"]), { theme: c } = G();
|
|
1777
|
-
return (m,
|
|
1777
|
+
return (m, p) => {
|
|
1778
1778
|
const u = A("v-icon");
|
|
1779
1779
|
return g(), w(u, {
|
|
1780
1780
|
color: i(o),
|
|
@@ -1785,26 +1785,26 @@ const wl = /* @__PURE__ */ ze(kl, [["render", _l]]), Vl = /* @__PURE__ */ $({
|
|
|
1785
1785
|
}, null, 8, ["color", "disabled", "icon", "size", "theme"]);
|
|
1786
1786
|
};
|
|
1787
1787
|
}
|
|
1788
|
-
}), Gl = ["id"],
|
|
1788
|
+
}), Gl = ["id"], Nl = /* @__PURE__ */ $({
|
|
1789
1789
|
__name: "index",
|
|
1790
1790
|
props: {
|
|
1791
1791
|
node: {},
|
|
1792
1792
|
outer: { type: Boolean }
|
|
1793
1793
|
},
|
|
1794
1794
|
setup(t) {
|
|
1795
|
-
const e = t, n = H(), o =
|
|
1795
|
+
const e = t, n = H(), o = fe(), s = oe(0), r = oe(0), a = v(() => [s.value, r.value]), c = v(() => e.node.basic?.id), { open: m } = yo(`runtimeMenu/${mo()}`);
|
|
1796
1796
|
return Ue(e, "open", () => {
|
|
1797
1797
|
if (!o || !o.vm)
|
|
1798
1798
|
return;
|
|
1799
|
-
const { vm:
|
|
1800
|
-
s.value =
|
|
1799
|
+
const { vm: p } = o, u = p.getProp(p.global, "__pointerPosX__"), d = p.getProp(p.global, "__pointerPosY__");
|
|
1800
|
+
s.value = p.getNumber(u), r.value = p.getNumber(d), u.dispose(), d.dispose(), m.value = !0;
|
|
1801
1801
|
}), Ue(e, "close", () => {
|
|
1802
1802
|
o && (m.value = !1);
|
|
1803
|
-
}), (
|
|
1804
|
-
const
|
|
1805
|
-
return g(), w(
|
|
1803
|
+
}), (p, u) => {
|
|
1804
|
+
const d = A("v-menu");
|
|
1805
|
+
return g(), w(d, {
|
|
1806
1806
|
modelValue: i(m),
|
|
1807
|
-
"onUpdate:modelValue": u[0] || (u[0] = (y) =>
|
|
1807
|
+
"onUpdate:modelValue": u[0] || (u[0] = (y) => J(m) ? m.value = y : null),
|
|
1808
1808
|
attach: "menuContainer",
|
|
1809
1809
|
"location-strategy": "connected",
|
|
1810
1810
|
scrim: "transparent",
|
|
@@ -1817,13 +1817,13 @@ const wl = /* @__PURE__ */ ze(kl, [["render", _l]]), Vl = /* @__PURE__ */ $({
|
|
|
1817
1817
|
}, null, 8, Gl)) : ne("", !0)
|
|
1818
1818
|
]),
|
|
1819
1819
|
default: _(() => [
|
|
1820
|
-
B(
|
|
1820
|
+
B(p.$slots, "default")
|
|
1821
1821
|
]),
|
|
1822
1822
|
_: 3
|
|
1823
1823
|
}, 8, ["modelValue", "target"]);
|
|
1824
1824
|
};
|
|
1825
1825
|
}
|
|
1826
|
-
}),
|
|
1826
|
+
}), jl = /* @__PURE__ */ $({
|
|
1827
1827
|
__name: "index",
|
|
1828
1828
|
props: {
|
|
1829
1829
|
node: {},
|
|
@@ -1844,7 +1844,7 @@ const wl = /* @__PURE__ */ ze(kl, [["render", _l]]), Vl = /* @__PURE__ */ $({
|
|
|
1844
1844
|
]), { property: r } = l(e, [
|
|
1845
1845
|
"settings",
|
|
1846
1846
|
"hideDetails"
|
|
1847
|
-
]), { property: a } = l(e, ["settings", "label"]), { property: c } = l(e, ["settings", "loading"]), { property: m } = l(e, ["settings", "max"]), { property:
|
|
1847
|
+
]), { property: a } = l(e, ["settings", "label"]), { property: c } = l(e, ["settings", "loading"]), { property: m } = l(e, ["settings", "max"]), { property: p } = l(e, ["size", "maxWidth"]), { property: u } = l(e, ["settings", "min"]), { property: d } = l(e, ["size", "minWidth"]), { property: y } = l(e, [
|
|
1848
1848
|
"settings",
|
|
1849
1849
|
"placeholder"
|
|
1850
1850
|
]), { property: b } = l(e, [
|
|
@@ -1864,14 +1864,14 @@ const wl = /* @__PURE__ */ ze(kl, [["render", _l]]), Vl = /* @__PURE__ */ $({
|
|
|
1864
1864
|
]), { property: I } = l(e, ["settings", "reverse"]), { property: P } = l(e, [
|
|
1865
1865
|
"settings",
|
|
1866
1866
|
"singleLine"
|
|
1867
|
-
]), { property: E } = l(e, ["settings", "step"]), { property: D } = l(e, ["settings", "suffix"]), { theme:
|
|
1867
|
+
]), { property: E } = l(e, ["settings", "step"]), { property: D } = l(e, ["settings", "suffix"]), { theme: j } = G(), { property: R } = l(e, ["settings", "value"]), { property: C } = l(e, ["settings", "variant"]), { property: N } = l(e, ["size", "width"]);
|
|
1868
1868
|
return (X, ie) => {
|
|
1869
|
-
const
|
|
1869
|
+
const _e = A("v-number-input");
|
|
1870
1870
|
return g(), w(i(F), { block: "" }, {
|
|
1871
1871
|
default: _(() => [
|
|
1872
|
-
W(
|
|
1872
|
+
W(_e, {
|
|
1873
1873
|
modelValue: i(R),
|
|
1874
|
-
"onUpdate:modelValue": ie[0] || (ie[0] = (
|
|
1874
|
+
"onUpdate:modelValue": ie[0] || (ie[0] = (ue) => J(R) ? R.value = ue : null),
|
|
1875
1875
|
"append-icon": i(n),
|
|
1876
1876
|
"append-inner-icon": i(o),
|
|
1877
1877
|
clearable: i(s),
|
|
@@ -1879,9 +1879,9 @@ const wl = /* @__PURE__ */ ze(kl, [["render", _l]]), Vl = /* @__PURE__ */ $({
|
|
|
1879
1879
|
label: i(a),
|
|
1880
1880
|
loading: i(c),
|
|
1881
1881
|
max: i(m),
|
|
1882
|
-
"max-width": i(
|
|
1882
|
+
"max-width": i(p),
|
|
1883
1883
|
min: i(u),
|
|
1884
|
-
"min-width": i(
|
|
1884
|
+
"min-width": i(d),
|
|
1885
1885
|
placeholder: i(y),
|
|
1886
1886
|
precision: i(b),
|
|
1887
1887
|
prefix: i(h),
|
|
@@ -1892,9 +1892,9 @@ const wl = /* @__PURE__ */ ze(kl, [["render", _l]]), Vl = /* @__PURE__ */ $({
|
|
|
1892
1892
|
"single-line": i(P),
|
|
1893
1893
|
step: i(E),
|
|
1894
1894
|
suffix: i(D),
|
|
1895
|
-
theme: i(
|
|
1895
|
+
theme: i(j),
|
|
1896
1896
|
variant: i(C),
|
|
1897
|
-
width: i(
|
|
1897
|
+
width: i(N)
|
|
1898
1898
|
}, null, 8, ["modelValue", "append-icon", "append-inner-icon", "clearable", "hide-details", "label", "loading", "max", "max-width", "min", "min-width", "placeholder", "precision", "prefix", "prepend-icon", "prepend-inner-icon", "readonly", "reverse", "single-line", "step", "suffix", "theme", "variant", "width"])
|
|
1899
1899
|
]),
|
|
1900
1900
|
_: 1
|
|
@@ -1914,7 +1914,7 @@ const wl = /* @__PURE__ */ ze(kl, [["render", _l]]), Vl = /* @__PURE__ */ $({
|
|
|
1914
1914
|
]), { property: r } = l(e, ["settings", "length"]), { property: a } = l(e, [
|
|
1915
1915
|
"settings",
|
|
1916
1916
|
"showFirstLastPage"
|
|
1917
|
-
]), { property: c } = l(e, ["settings", "size"]), { property: m } = l(e, ["settings", "start"]), { theme:
|
|
1917
|
+
]), { property: c } = l(e, ["settings", "size"]), { property: m } = l(e, ["settings", "start"]), { theme: p } = G(), { property: u } = l(e, ["settings", "tile"]), { property: d } = l(e, ["settings", "value"]), { property: y } = l(e, ["settings", "variant"]), b = v(() => {
|
|
1918
1918
|
const h = {};
|
|
1919
1919
|
return n === "editor" && (h.pointerEvents = "none"), h;
|
|
1920
1920
|
});
|
|
@@ -1923,8 +1923,8 @@ const wl = /* @__PURE__ */ ze(kl, [["render", _l]]), Vl = /* @__PURE__ */ $({
|
|
|
1923
1923
|
return g(), w(i(F), { block: "" }, {
|
|
1924
1924
|
default: _(() => [
|
|
1925
1925
|
W(x, {
|
|
1926
|
-
modelValue: i(
|
|
1927
|
-
"onUpdate:modelValue": k[0] || (k[0] = (S) =>
|
|
1926
|
+
modelValue: i(d),
|
|
1927
|
+
"onUpdate:modelValue": k[0] || (k[0] = (S) => J(d) ? d.value = S : null),
|
|
1928
1928
|
density: i(o),
|
|
1929
1929
|
disabled: i(s),
|
|
1930
1930
|
length: i(r),
|
|
@@ -1932,7 +1932,7 @@ const wl = /* @__PURE__ */ ze(kl, [["render", _l]]), Vl = /* @__PURE__ */ $({
|
|
|
1932
1932
|
size: i(c),
|
|
1933
1933
|
start: i(m),
|
|
1934
1934
|
style: ee(b.value),
|
|
1935
|
-
theme: i(
|
|
1935
|
+
theme: i(p),
|
|
1936
1936
|
tile: i(u),
|
|
1937
1937
|
variant: i(y)
|
|
1938
1938
|
}, null, 8, ["modelValue", "density", "disabled", "length", "show-first-last-page", "size", "start", "style", "theme", "tile", "variant"])
|
|
@@ -1954,8 +1954,8 @@ const wl = /* @__PURE__ */ ze(kl, [["render", _l]]), Vl = /* @__PURE__ */ $({
|
|
|
1954
1954
|
]), { property: a } = l(e, ["settings", "label"]), { property: c } = l(e, [
|
|
1955
1955
|
"settings",
|
|
1956
1956
|
"readonly"
|
|
1957
|
-
]), { theme: m } = G(), { property:
|
|
1958
|
-
return (u,
|
|
1957
|
+
]), { theme: m } = G(), { property: p } = l(e, ["settings", "value"]);
|
|
1958
|
+
return (u, d) => {
|
|
1959
1959
|
const y = A("v-radio");
|
|
1960
1960
|
return g(), w(y, {
|
|
1961
1961
|
color: i(o),
|
|
@@ -1964,7 +1964,7 @@ const wl = /* @__PURE__ */ ze(kl, [["render", _l]]), Vl = /* @__PURE__ */ $({
|
|
|
1964
1964
|
label: i(a),
|
|
1965
1965
|
readonly: i(c),
|
|
1966
1966
|
theme: i(m),
|
|
1967
|
-
value: i(
|
|
1967
|
+
value: i(p)
|
|
1968
1968
|
}, null, 8, ["color", "density", "disabled", "label", "readonly", "theme", "value"]);
|
|
1969
1969
|
};
|
|
1970
1970
|
}
|
|
@@ -1985,13 +1985,13 @@ const wl = /* @__PURE__ */ ze(kl, [["render", _l]]), Vl = /* @__PURE__ */ $({
|
|
|
1985
1985
|
"settings",
|
|
1986
1986
|
"readonly"
|
|
1987
1987
|
]), { theme: c } = G(), { property: m } = l(e, ["settings", "value"]);
|
|
1988
|
-
return (
|
|
1989
|
-
const
|
|
1988
|
+
return (p, u) => {
|
|
1989
|
+
const d = A("v-radio-group");
|
|
1990
1990
|
return g(), w(i(F), null, {
|
|
1991
1991
|
default: _(() => [
|
|
1992
|
-
W(
|
|
1992
|
+
W(d, {
|
|
1993
1993
|
modelValue: i(m),
|
|
1994
|
-
"onUpdate:modelValue": u[0] || (u[0] = (y) =>
|
|
1994
|
+
"onUpdate:modelValue": u[0] || (u[0] = (y) => J(m) ? m.value = y : null),
|
|
1995
1995
|
density: i(n),
|
|
1996
1996
|
direction: i(o),
|
|
1997
1997
|
disabled: i(s),
|
|
@@ -2000,7 +2000,7 @@ const wl = /* @__PURE__ */ ze(kl, [["render", _l]]), Vl = /* @__PURE__ */ $({
|
|
|
2000
2000
|
theme: i(c)
|
|
2001
2001
|
}, {
|
|
2002
2002
|
default: _(() => [
|
|
2003
|
-
B(
|
|
2003
|
+
B(p.$slots, "default")
|
|
2004
2004
|
]),
|
|
2005
2005
|
_: 3
|
|
2006
2006
|
}, 8, ["modelValue", "density", "direction", "disabled", "inline", "readonly", "theme"])
|
|
@@ -2025,13 +2025,13 @@ const wl = /* @__PURE__ */ ze(kl, [["render", _l]]), Vl = /* @__PURE__ */ $({
|
|
|
2025
2025
|
]), { property: r } = l(e, [
|
|
2026
2026
|
"settings",
|
|
2027
2027
|
"hideDetails"
|
|
2028
|
-
]), { property: a } = l(e, ["settings", "label"]), { property: c } = l(e, ["settings", "max"]), { property: m } = l(e, ["settings", "min"]), { property:
|
|
2028
|
+
]), { property: a } = l(e, ["settings", "label"]), { property: c } = l(e, ["settings", "max"]), { property: m } = l(e, ["settings", "min"]), { property: p } = l(e, [
|
|
2029
2029
|
"settings",
|
|
2030
2030
|
"readonly"
|
|
2031
2031
|
]), { property: u } = l(e, [
|
|
2032
2032
|
"settings",
|
|
2033
2033
|
"showTicks"
|
|
2034
|
-
]),
|
|
2034
|
+
]), d = v(() => {
|
|
2035
2035
|
if (u.value === "always")
|
|
2036
2036
|
return "always";
|
|
2037
2037
|
if (u.value === "show")
|
|
@@ -2051,8 +2051,8 @@ const wl = /* @__PURE__ */ ze(kl, [["render", _l]]), Vl = /* @__PURE__ */ $({
|
|
|
2051
2051
|
if (!S.value)
|
|
2052
2052
|
return;
|
|
2053
2053
|
const R = {};
|
|
2054
|
-
for (const { value: C, label:
|
|
2055
|
-
R[C] =
|
|
2054
|
+
for (const { value: C, label: N } of S.value)
|
|
2055
|
+
R[C] = N;
|
|
2056
2056
|
if (!ko(R))
|
|
2057
2057
|
return R;
|
|
2058
2058
|
}), { property: P } = l(e, [
|
|
@@ -2066,19 +2066,19 @@ const wl = /* @__PURE__ */ ze(kl, [["render", _l]]), Vl = /* @__PURE__ */ $({
|
|
|
2066
2066
|
"settings",
|
|
2067
2067
|
"value",
|
|
2068
2068
|
"end"
|
|
2069
|
-
]),
|
|
2069
|
+
]), j = v({
|
|
2070
2070
|
get: () => [E.value, D.value],
|
|
2071
2071
|
set: ([R, C]) => {
|
|
2072
2072
|
E.value = R, D.value = C;
|
|
2073
2073
|
}
|
|
2074
2074
|
});
|
|
2075
2075
|
return (R, C) => {
|
|
2076
|
-
const
|
|
2076
|
+
const N = A("v-range-slider");
|
|
2077
2077
|
return g(), w(i(F), { block: "" }, {
|
|
2078
2078
|
default: _(() => [
|
|
2079
|
-
W(
|
|
2080
|
-
modelValue:
|
|
2081
|
-
"onUpdate:modelValue": C[0] || (C[0] = (X) =>
|
|
2079
|
+
W(N, {
|
|
2080
|
+
modelValue: j.value,
|
|
2081
|
+
"onUpdate:modelValue": C[0] || (C[0] = (X) => j.value = X),
|
|
2082
2082
|
density: i(n),
|
|
2083
2083
|
direction: i(o),
|
|
2084
2084
|
disabled: i(s),
|
|
@@ -2086,8 +2086,8 @@ const wl = /* @__PURE__ */ ze(kl, [["render", _l]]), Vl = /* @__PURE__ */ $({
|
|
|
2086
2086
|
label: i(a),
|
|
2087
2087
|
max: i(c),
|
|
2088
2088
|
min: i(m),
|
|
2089
|
-
readonly: i(
|
|
2090
|
-
"show-ticks":
|
|
2089
|
+
readonly: i(p),
|
|
2090
|
+
"show-ticks": d.value,
|
|
2091
2091
|
step: i(y),
|
|
2092
2092
|
theme: i(b),
|
|
2093
2093
|
"thumb-label": k.value,
|
|
@@ -2100,7 +2100,7 @@ const wl = /* @__PURE__ */ ze(kl, [["render", _l]]), Vl = /* @__PURE__ */ $({
|
|
|
2100
2100
|
});
|
|
2101
2101
|
};
|
|
2102
2102
|
}
|
|
2103
|
-
}),
|
|
2103
|
+
}), Jl = /* @__PURE__ */ $({
|
|
2104
2104
|
__name: "index",
|
|
2105
2105
|
props: {
|
|
2106
2106
|
node: {},
|
|
@@ -2119,14 +2119,14 @@ const wl = /* @__PURE__ */ ze(kl, [["render", _l]]), Vl = /* @__PURE__ */ $({
|
|
|
2119
2119
|
]), { property: a } = l(e, ["settings", "hover"]), { property: c } = l(e, ["settings", "length"]), { property: m } = l(e, [
|
|
2120
2120
|
"settings",
|
|
2121
2121
|
"readonly"
|
|
2122
|
-
]), { theme:
|
|
2123
|
-
return (
|
|
2122
|
+
]), { theme: p } = G(), { property: u } = l(e, ["settings", "value"]);
|
|
2123
|
+
return (d, y) => {
|
|
2124
2124
|
const b = A("v-rating");
|
|
2125
2125
|
return g(), w(i(F), null, {
|
|
2126
2126
|
default: _(() => [
|
|
2127
2127
|
W(b, {
|
|
2128
2128
|
modelValue: i(u),
|
|
2129
|
-
"onUpdate:modelValue": y[0] || (y[0] = (h) =>
|
|
2129
|
+
"onUpdate:modelValue": y[0] || (y[0] = (h) => J(u) ? u.value = h : null),
|
|
2130
2130
|
clearable: i(n),
|
|
2131
2131
|
density: i(o),
|
|
2132
2132
|
disabled: i(s),
|
|
@@ -2134,14 +2134,14 @@ const wl = /* @__PURE__ */ ze(kl, [["render", _l]]), Vl = /* @__PURE__ */ $({
|
|
|
2134
2134
|
hover: i(a),
|
|
2135
2135
|
length: i(c),
|
|
2136
2136
|
readonly: i(m),
|
|
2137
|
-
theme: i(
|
|
2137
|
+
theme: i(p)
|
|
2138
2138
|
}, null, 8, ["modelValue", "clearable", "density", "disabled", "half-increments", "hover", "length", "readonly", "theme"])
|
|
2139
2139
|
]),
|
|
2140
2140
|
_: 1
|
|
2141
2141
|
});
|
|
2142
2142
|
};
|
|
2143
2143
|
}
|
|
2144
|
-
}),
|
|
2144
|
+
}), ql = /* @__PURE__ */ $({
|
|
2145
2145
|
__name: "index",
|
|
2146
2146
|
props: {
|
|
2147
2147
|
node: {},
|
|
@@ -2161,13 +2161,13 @@ const wl = /* @__PURE__ */ ze(kl, [["render", _l]]), Vl = /* @__PURE__ */ $({
|
|
|
2161
2161
|
"settings",
|
|
2162
2162
|
"singleLine"
|
|
2163
2163
|
]), { theme: c } = G(), { property: m } = l(e, ["settings", "value"]);
|
|
2164
|
-
return (
|
|
2165
|
-
const
|
|
2164
|
+
return (p, u) => {
|
|
2165
|
+
const d = A("v-select");
|
|
2166
2166
|
return g(), w(i(F), { block: "" }, {
|
|
2167
2167
|
default: _(() => [
|
|
2168
|
-
W(
|
|
2168
|
+
W(d, {
|
|
2169
2169
|
modelValue: i(m),
|
|
2170
|
-
"onUpdate:modelValue": u[0] || (u[0] = (y) =>
|
|
2170
|
+
"onUpdate:modelValue": u[0] || (u[0] = (y) => J(m) ? m.value = y : null),
|
|
2171
2171
|
"hide-details": i(n),
|
|
2172
2172
|
label: i(o),
|
|
2173
2173
|
placeholder: i(s),
|
|
@@ -2196,10 +2196,10 @@ const wl = /* @__PURE__ */ ze(kl, [["render", _l]]), Vl = /* @__PURE__ */ $({
|
|
|
2196
2196
|
]), { property: a } = l(e, [
|
|
2197
2197
|
"settings",
|
|
2198
2198
|
"hideDetails"
|
|
2199
|
-
]), { property: c } = l(e, ["settings", "label"]), { property: m } = l(e, ["settings", "max"]), { property:
|
|
2199
|
+
]), { property: c } = l(e, ["settings", "label"]), { property: m } = l(e, ["settings", "max"]), { property: p } = l(e, ["settings", "min"]), { property: u } = l(e, [
|
|
2200
2200
|
"settings",
|
|
2201
2201
|
"readonly"
|
|
2202
|
-
]), { property:
|
|
2202
|
+
]), { property: d } = l(e, ["settings", "reverse"]), { property: y } = l(e, [
|
|
2203
2203
|
"settings",
|
|
2204
2204
|
"showTicks"
|
|
2205
2205
|
]), b = v(() => {
|
|
@@ -2221,40 +2221,40 @@ const wl = /* @__PURE__ */ ze(kl, [["render", _l]]), Vl = /* @__PURE__ */ $({
|
|
|
2221
2221
|
}), { property: E } = l(e, [
|
|
2222
2222
|
"settings",
|
|
2223
2223
|
"thumbSize"
|
|
2224
|
-
]), { property: D } = l(e, ["settings", "ticks"]),
|
|
2224
|
+
]), { property: D } = l(e, ["settings", "ticks"]), j = v(() => {
|
|
2225
2225
|
if (!D.value)
|
|
2226
2226
|
return;
|
|
2227
|
-
const
|
|
2227
|
+
const ue = {};
|
|
2228
2228
|
for (const { value: He, label: tn } of D.value)
|
|
2229
|
-
|
|
2230
|
-
if (!ko(
|
|
2231
|
-
return
|
|
2229
|
+
ue[He] = tn;
|
|
2230
|
+
if (!ko(ue))
|
|
2231
|
+
return ue;
|
|
2232
2232
|
}), { property: R } = l(e, [
|
|
2233
2233
|
"settings",
|
|
2234
2234
|
"tickSize"
|
|
2235
2235
|
]), { property: C } = l(e, [
|
|
2236
2236
|
"settings",
|
|
2237
2237
|
"trackColor"
|
|
2238
|
-
]), { color:
|
|
2238
|
+
]), { color: N } = K(C), { property: X } = l(e, ["settings", "value"]), { property: ie } = l(e, ["slots", "append"]), { property: _e } = l(e, [
|
|
2239
2239
|
"slots",
|
|
2240
2240
|
"prepend"
|
|
2241
2241
|
]);
|
|
2242
|
-
return (
|
|
2242
|
+
return (ue, He) => {
|
|
2243
2243
|
const tn = A("v-slider");
|
|
2244
2244
|
return g(), w(i(F), { block: "" }, {
|
|
2245
2245
|
default: _(() => [
|
|
2246
2246
|
W(tn, {
|
|
2247
2247
|
modelValue: i(X),
|
|
2248
|
-
"onUpdate:modelValue": He[0] || (He[0] = (Yo) =>
|
|
2248
|
+
"onUpdate:modelValue": He[0] || (He[0] = (Yo) => J(X) ? X.value = Yo : null),
|
|
2249
2249
|
color: i(o),
|
|
2250
2250
|
direction: i(s),
|
|
2251
2251
|
disabled: i(r),
|
|
2252
2252
|
"hide-details": i(a),
|
|
2253
2253
|
label: i(c),
|
|
2254
2254
|
max: i(m),
|
|
2255
|
-
min: i(
|
|
2255
|
+
min: i(p),
|
|
2256
2256
|
readonly: i(u),
|
|
2257
|
-
reverse: i(
|
|
2257
|
+
reverse: i(d),
|
|
2258
2258
|
"show-ticks": b.value,
|
|
2259
2259
|
step: i(h),
|
|
2260
2260
|
theme: i(k),
|
|
@@ -2262,13 +2262,13 @@ const wl = /* @__PURE__ */ ze(kl, [["render", _l]]), Vl = /* @__PURE__ */ $({
|
|
|
2262
2262
|
"thumb-label": P.value,
|
|
2263
2263
|
"thumb-size": i(E),
|
|
2264
2264
|
"tick-size": i(R),
|
|
2265
|
-
ticks:
|
|
2266
|
-
"track-color": i(
|
|
2265
|
+
ticks: j.value,
|
|
2266
|
+
"track-color": i(N)
|
|
2267
2267
|
}, Wn({ _: 2 }, [
|
|
2268
2268
|
i(ie) ? {
|
|
2269
2269
|
name: "append",
|
|
2270
2270
|
fn: _(() => [
|
|
2271
|
-
W(i(
|
|
2271
|
+
W(i(he), {
|
|
2272
2272
|
id: "append",
|
|
2273
2273
|
"ref-context": { compId: i(ie) },
|
|
2274
2274
|
state: {}
|
|
@@ -2276,12 +2276,12 @@ const wl = /* @__PURE__ */ ze(kl, [["render", _l]]), Vl = /* @__PURE__ */ $({
|
|
|
2276
2276
|
]),
|
|
2277
2277
|
key: "0"
|
|
2278
2278
|
} : void 0,
|
|
2279
|
-
i(
|
|
2279
|
+
i(_e) ? {
|
|
2280
2280
|
name: "prepend",
|
|
2281
2281
|
fn: _(() => [
|
|
2282
|
-
W(i(
|
|
2282
|
+
W(i(he), {
|
|
2283
2283
|
id: "prepend",
|
|
2284
|
-
"ref-context": { compId: i(
|
|
2284
|
+
"ref-context": { compId: i(_e) },
|
|
2285
2285
|
state: {}
|
|
2286
2286
|
}, null, 8, ["ref-context"])
|
|
2287
2287
|
]),
|
|
@@ -2308,7 +2308,7 @@ const wl = /* @__PURE__ */ ze(kl, [["render", _l]]), Vl = /* @__PURE__ */ $({
|
|
|
2308
2308
|
const c = A("v-stepper");
|
|
2309
2309
|
return g(), w(c, {
|
|
2310
2310
|
modelValue: i(s),
|
|
2311
|
-
"onUpdate:modelValue": a[0] || (a[0] = (m) =>
|
|
2311
|
+
"onUpdate:modelValue": a[0] || (a[0] = (m) => J(s) ? s.value = m : null),
|
|
2312
2312
|
"hide-actions": i(n),
|
|
2313
2313
|
theme: i(o)
|
|
2314
2314
|
}, {
|
|
@@ -2329,7 +2329,7 @@ function Ql(t, e) {
|
|
|
2329
2329
|
_: 3
|
|
2330
2330
|
});
|
|
2331
2331
|
}
|
|
2332
|
-
const ea = /* @__PURE__ */
|
|
2332
|
+
const ea = /* @__PURE__ */ Te(Zl, [["render", Ql]]), ta = /* @__PURE__ */ $({
|
|
2333
2333
|
__name: "index",
|
|
2334
2334
|
props: {
|
|
2335
2335
|
node: {},
|
|
@@ -2357,7 +2357,7 @@ function ia(t, e) {
|
|
|
2357
2357
|
_: 3
|
|
2358
2358
|
});
|
|
2359
2359
|
}
|
|
2360
|
-
const oa = /* @__PURE__ */
|
|
2360
|
+
const oa = /* @__PURE__ */ Te(na, [["render", ia]]), ra = /* @__PURE__ */ $({
|
|
2361
2361
|
__name: "index",
|
|
2362
2362
|
props: {
|
|
2363
2363
|
node: {},
|
|
@@ -2394,14 +2394,14 @@ const oa = /* @__PURE__ */ ze(na, [["render", ia]]), ra = /* @__PURE__ */ $({
|
|
|
2394
2394
|
]), { property: a } = l(e, [
|
|
2395
2395
|
"settings",
|
|
2396
2396
|
"indeterminate"
|
|
2397
|
-
]), { property: c } = l(e, ["settings", "inline"]), { property: m } = l(e, ["settings", "inset"]), { property:
|
|
2397
|
+
]), { property: c } = l(e, ["settings", "inline"]), { property: m } = l(e, ["settings", "inset"]), { property: p } = l(e, ["settings", "label"]), { property: u } = l(e, ["settings", "loading"]), { theme: d } = G(), { property: y } = l(e, ["settings", "value"]);
|
|
2398
2398
|
return (b, h) => {
|
|
2399
2399
|
const k = A("v-switch");
|
|
2400
2400
|
return g(), w(i(F), { "fit-content": !0 }, {
|
|
2401
2401
|
default: _(() => [
|
|
2402
2402
|
W(k, {
|
|
2403
2403
|
modelValue: i(y),
|
|
2404
|
-
"onUpdate:modelValue": h[0] || (h[0] = (x) =>
|
|
2404
|
+
"onUpdate:modelValue": h[0] || (h[0] = (x) => J(y) ? y.value = x : null),
|
|
2405
2405
|
density: i(n),
|
|
2406
2406
|
direction: i(o),
|
|
2407
2407
|
disabled: i(s),
|
|
@@ -2409,9 +2409,9 @@ const oa = /* @__PURE__ */ ze(na, [["render", ia]]), ra = /* @__PURE__ */ $({
|
|
|
2409
2409
|
indeterminate: i(a),
|
|
2410
2410
|
inline: i(c),
|
|
2411
2411
|
inset: i(m),
|
|
2412
|
-
label: i(
|
|
2412
|
+
label: i(p),
|
|
2413
2413
|
loading: i(u),
|
|
2414
|
-
theme: i(
|
|
2414
|
+
theme: i(d)
|
|
2415
2415
|
}, null, 8, ["modelValue", "density", "direction", "disabled", "hide-details", "indeterminate", "inline", "inset", "label", "loading", "theme"])
|
|
2416
2416
|
]),
|
|
2417
2417
|
_: 1
|
|
@@ -2430,10 +2430,10 @@ const oa = /* @__PURE__ */ ze(na, [["render", ia]]), ra = /* @__PURE__ */ $({
|
|
|
2430
2430
|
return n === "editor" && (c.pointerEvents = "none"), c;
|
|
2431
2431
|
});
|
|
2432
2432
|
return (c, m) => {
|
|
2433
|
-
const
|
|
2433
|
+
const p = A("v-tab");
|
|
2434
2434
|
return g(), w(i(F), null, {
|
|
2435
2435
|
default: _(() => [
|
|
2436
|
-
W(
|
|
2436
|
+
W(p, {
|
|
2437
2437
|
style: ee(a.value),
|
|
2438
2438
|
text: i(o),
|
|
2439
2439
|
theme: i(s),
|
|
@@ -2465,13 +2465,13 @@ const oa = /* @__PURE__ */ ze(na, [["render", ia]]), ra = /* @__PURE__ */ $({
|
|
|
2465
2465
|
"settings",
|
|
2466
2466
|
"color",
|
|
2467
2467
|
"selectedColor"
|
|
2468
|
-
]), { color: c } = K(a), { property: m } = l(e, ["settings", "density"]), { property:
|
|
2468
|
+
]), { color: c } = K(a), { property: m } = l(e, ["settings", "density"]), { property: p } = l(e, [
|
|
2469
2469
|
"settings",
|
|
2470
2470
|
"direction"
|
|
2471
2471
|
]), { property: u } = l(e, [
|
|
2472
2472
|
"settings",
|
|
2473
2473
|
"disabled"
|
|
2474
|
-
]), { property:
|
|
2474
|
+
]), { property: d } = l(e, [
|
|
2475
2475
|
"settings",
|
|
2476
2476
|
"fixedTabs"
|
|
2477
2477
|
]), { property: y } = l(e, ["settings", "grow"]), { property: b } = l(e, [
|
|
@@ -2488,21 +2488,21 @@ const oa = /* @__PURE__ */ ze(na, [["render", ia]]), ra = /* @__PURE__ */ $({
|
|
|
2488
2488
|
"color",
|
|
2489
2489
|
"sliderColor"
|
|
2490
2490
|
]), { color: I } = K(S), { property: P } = l(e, ["settings", "stacked"]), { theme: E } = G(), { property: D } = l(e, ["settings", "value"]);
|
|
2491
|
-
return (
|
|
2491
|
+
return (j, R) => {
|
|
2492
2492
|
const C = A("v-tabs");
|
|
2493
2493
|
return g(), w(i(F), { block: "" }, {
|
|
2494
2494
|
default: _(() => [
|
|
2495
2495
|
W(C, {
|
|
2496
2496
|
modelValue: i(D),
|
|
2497
|
-
"onUpdate:modelValue": R[0] || (R[0] = (
|
|
2497
|
+
"onUpdate:modelValue": R[0] || (R[0] = (N) => J(D) ? D.value = N : null),
|
|
2498
2498
|
"align-tabs": i(n),
|
|
2499
2499
|
"bg-color": i(s),
|
|
2500
2500
|
"center-active": i(r),
|
|
2501
2501
|
color: i(c),
|
|
2502
2502
|
density: i(m),
|
|
2503
|
-
direction: i(
|
|
2503
|
+
direction: i(p),
|
|
2504
2504
|
disabled: i(u),
|
|
2505
|
-
"fixed-tabs": i(
|
|
2505
|
+
"fixed-tabs": i(d),
|
|
2506
2506
|
grow: i(y),
|
|
2507
2507
|
"hide-slider": i(b),
|
|
2508
2508
|
items: i(h),
|
|
@@ -2513,7 +2513,7 @@ const oa = /* @__PURE__ */ ze(na, [["render", ia]]), ra = /* @__PURE__ */ $({
|
|
|
2513
2513
|
theme: i(E)
|
|
2514
2514
|
}, {
|
|
2515
2515
|
default: _(() => [
|
|
2516
|
-
B(
|
|
2516
|
+
B(j.$slots, "default")
|
|
2517
2517
|
]),
|
|
2518
2518
|
_: 3
|
|
2519
2519
|
}, 8, ["modelValue", "align-tabs", "bg-color", "center-active", "color", "density", "direction", "disabled", "fixed-tabs", "grow", "hide-slider", "items", "mandatory", "show-arrows", "slider-color", "stacked", "theme"])
|
|
@@ -2529,20 +2529,20 @@ const oa = /* @__PURE__ */ ze(na, [["render", ia]]), ra = /* @__PURE__ */ $({
|
|
|
2529
2529
|
outer: { type: Boolean }
|
|
2530
2530
|
},
|
|
2531
2531
|
setup(t) {
|
|
2532
|
-
const e = t, n =
|
|
2532
|
+
const e = t, n = ze(), { property: o } = l(e, ["settings", "align"]), { property: s } = l(e, [
|
|
2533
2533
|
"settings",
|
|
2534
2534
|
"decoration"
|
|
2535
2535
|
]), { property: r } = l(e, [
|
|
2536
2536
|
"settings",
|
|
2537
2537
|
"emphasis"
|
|
2538
|
-
]), { property: a } = l(e, ["settings", "italic"]), { property: c } = l(e, ["settings", "text"]), { property: m } = l(e, ["settings", "weight"]),
|
|
2539
|
-
const u = [],
|
|
2538
|
+
]), { property: a } = l(e, ["settings", "italic"]), { property: c } = l(e, ["settings", "text"]), { property: m } = l(e, ["settings", "weight"]), p = v(() => {
|
|
2539
|
+
const u = [], d = Oe(n.value.width), y = Ae(d, e.node.settings?.style);
|
|
2540
2540
|
return y && u.push(`text-${y}`), r.value === "high" ? u.push("text-high-emphasis") : r.value === "medium" ? u.push("text-medium-emphasis") : r.value === "disabled" && u.push("text-disabled"), o.value && u.push(`font-${o.value}`), s.value && u.push(`text-decoration-${s.value}`), m.value && u.push(`font-weight-${m.value}`), a.value && u.push("font-italic"), u.join(" ");
|
|
2541
2541
|
});
|
|
2542
|
-
return (u,
|
|
2542
|
+
return (u, d) => (g(), w(i(F), null, {
|
|
2543
2543
|
default: _(() => [
|
|
2544
2544
|
Y("span", {
|
|
2545
|
-
class: nr(
|
|
2545
|
+
class: nr(p.value)
|
|
2546
2546
|
}, ir(i(c)), 3)
|
|
2547
2547
|
]),
|
|
2548
2548
|
_: 1
|
|
@@ -2564,13 +2564,13 @@ const oa = /* @__PURE__ */ ze(na, [["render", ia]]), ra = /* @__PURE__ */ $({
|
|
|
2564
2564
|
]), { property: s } = l(e, ["settings", "density"]), { property: r } = l(e, [
|
|
2565
2565
|
"settings",
|
|
2566
2566
|
"disabled"
|
|
2567
|
-
]), { property: a } = l(e, ["settings", "label"]), { property: c } = l(e, ["settings", "loading"]), { property: m } = l(e, ["settings", "maxRows"]), { property:
|
|
2567
|
+
]), { property: a } = l(e, ["settings", "label"]), { property: c } = l(e, ["settings", "loading"]), { property: m } = l(e, ["settings", "maxRows"]), { property: p } = l(e, [
|
|
2568
2568
|
"settings",
|
|
2569
2569
|
"placeholder"
|
|
2570
2570
|
]), { property: u } = l(e, [
|
|
2571
2571
|
"settings",
|
|
2572
2572
|
"readonly"
|
|
2573
|
-
]), { property:
|
|
2573
|
+
]), { property: d } = l(e, ["settings", "reverse"]), { property: y } = l(e, ["settings", "rows"]), { property: b } = l(e, [
|
|
2574
2574
|
"settings",
|
|
2575
2575
|
"singleLine"
|
|
2576
2576
|
]), { theme: h } = G(), { property: k } = l(e, ["settings", "value"]), { property: x } = l(e, ["settings", "variant"]);
|
|
@@ -2580,7 +2580,7 @@ const oa = /* @__PURE__ */ ze(na, [["render", ia]]), ra = /* @__PURE__ */ $({
|
|
|
2580
2580
|
default: _(() => [
|
|
2581
2581
|
W(P, {
|
|
2582
2582
|
modelValue: i(k),
|
|
2583
|
-
"onUpdate:modelValue": I[0] || (I[0] = (E) =>
|
|
2583
|
+
"onUpdate:modelValue": I[0] || (I[0] = (E) => J(k) ? k.value = E : null),
|
|
2584
2584
|
"auto-grow": i(n),
|
|
2585
2585
|
clearable: i(o),
|
|
2586
2586
|
density: i(s),
|
|
@@ -2588,9 +2588,9 @@ const oa = /* @__PURE__ */ ze(na, [["render", ia]]), ra = /* @__PURE__ */ $({
|
|
|
2588
2588
|
label: i(a),
|
|
2589
2589
|
loading: i(c),
|
|
2590
2590
|
"max-rows": i(m),
|
|
2591
|
-
placeholder: i(
|
|
2591
|
+
placeholder: i(p),
|
|
2592
2592
|
readonly: i(u),
|
|
2593
|
-
reverse: i(
|
|
2593
|
+
reverse: i(d),
|
|
2594
2594
|
rows: i(y),
|
|
2595
2595
|
"single-line": i(b),
|
|
2596
2596
|
theme: i(h),
|
|
@@ -2626,7 +2626,7 @@ const oa = /* @__PURE__ */ ze(na, [["render", ia]]), ra = /* @__PURE__ */ $({
|
|
|
2626
2626
|
]), { property: m } = l(e, [
|
|
2627
2627
|
"settings",
|
|
2628
2628
|
"hideDetails"
|
|
2629
|
-
]), { property:
|
|
2629
|
+
]), { property: p } = l(e, ["settings", "label"]), { property: u } = l(e, ["settings", "loading"]), { property: d } = l(e, [
|
|
2630
2630
|
"settings",
|
|
2631
2631
|
"placeholder"
|
|
2632
2632
|
]), { property: y } = l(e, ["settings", "prefix"]), { property: b } = l(e, [
|
|
@@ -2641,23 +2641,23 @@ const oa = /* @__PURE__ */ ze(na, [["render", ia]]), ra = /* @__PURE__ */ $({
|
|
|
2641
2641
|
]), { property: x } = l(e, ["settings", "reverse"]), { property: S } = l(e, [
|
|
2642
2642
|
"settings",
|
|
2643
2643
|
"singleLine"
|
|
2644
|
-
]), { property: I } = l(e, ["settings", "suffix"]), { theme: P } = G(), { property: E } = l(e, ["settings", "value"]), { property: D } = l(e, ["settings", "variant"]), { property:
|
|
2644
|
+
]), { property: I } = l(e, ["settings", "suffix"]), { theme: P } = G(), { property: E } = l(e, ["settings", "value"]), { property: D } = l(e, ["settings", "variant"]), { property: j } = l(e, ["slots", "append"]), { property: R } = l(e, [
|
|
2645
2645
|
"slots",
|
|
2646
2646
|
"appendInner"
|
|
2647
2647
|
]), { property: C } = l(e, [
|
|
2648
2648
|
"slots",
|
|
2649
2649
|
"prepend"
|
|
2650
|
-
]), { property:
|
|
2650
|
+
]), { property: N } = l(e, [
|
|
2651
2651
|
"slots",
|
|
2652
2652
|
"prependInner"
|
|
2653
2653
|
]);
|
|
2654
2654
|
return (X, ie) => {
|
|
2655
|
-
const
|
|
2655
|
+
const _e = A("v-text-field");
|
|
2656
2656
|
return g(), w(i(F), { block: "" }, {
|
|
2657
2657
|
default: _(() => [
|
|
2658
|
-
W(
|
|
2658
|
+
W(_e, {
|
|
2659
2659
|
modelValue: i(E),
|
|
2660
|
-
"onUpdate:modelValue": ie[0] || (ie[0] = (
|
|
2660
|
+
"onUpdate:modelValue": ie[0] || (ie[0] = (ue) => J(E) ? E.value = ue : null),
|
|
2661
2661
|
"append-icon": i(n),
|
|
2662
2662
|
"append-inner-icon": i(o),
|
|
2663
2663
|
autofocus: i(s),
|
|
@@ -2665,9 +2665,9 @@ const oa = /* @__PURE__ */ ze(na, [["render", ia]]), ra = /* @__PURE__ */ $({
|
|
|
2665
2665
|
density: i(a),
|
|
2666
2666
|
disabled: i(c),
|
|
2667
2667
|
"hide-details": i(m),
|
|
2668
|
-
label: i(
|
|
2668
|
+
label: i(p),
|
|
2669
2669
|
loading: i(u),
|
|
2670
|
-
placeholder: i(
|
|
2670
|
+
placeholder: i(d),
|
|
2671
2671
|
prefix: i(y),
|
|
2672
2672
|
"prepend-icon": i(b),
|
|
2673
2673
|
"prepend-inner-icon": i(h),
|
|
@@ -2678,12 +2678,12 @@ const oa = /* @__PURE__ */ ze(na, [["render", ia]]), ra = /* @__PURE__ */ $({
|
|
|
2678
2678
|
theme: i(P),
|
|
2679
2679
|
variant: i(D)
|
|
2680
2680
|
}, Wn({ _: 2 }, [
|
|
2681
|
-
i(
|
|
2681
|
+
i(j) ? {
|
|
2682
2682
|
name: "append",
|
|
2683
2683
|
fn: _(() => [
|
|
2684
|
-
W(i(
|
|
2684
|
+
W(i(he), {
|
|
2685
2685
|
id: "append",
|
|
2686
|
-
"ref-context": { compId: i(
|
|
2686
|
+
"ref-context": { compId: i(j) },
|
|
2687
2687
|
state: {}
|
|
2688
2688
|
}, null, 8, ["ref-context"])
|
|
2689
2689
|
]),
|
|
@@ -2692,7 +2692,7 @@ const oa = /* @__PURE__ */ ze(na, [["render", ia]]), ra = /* @__PURE__ */ $({
|
|
|
2692
2692
|
i(R) ? {
|
|
2693
2693
|
name: "append-inner",
|
|
2694
2694
|
fn: _(() => [
|
|
2695
|
-
W(i(
|
|
2695
|
+
W(i(he), {
|
|
2696
2696
|
id: "append-inner",
|
|
2697
2697
|
"ref-context": { compId: i(R) },
|
|
2698
2698
|
state: {}
|
|
@@ -2703,7 +2703,7 @@ const oa = /* @__PURE__ */ ze(na, [["render", ia]]), ra = /* @__PURE__ */ $({
|
|
|
2703
2703
|
i(C) ? {
|
|
2704
2704
|
name: "prepend",
|
|
2705
2705
|
fn: _(() => [
|
|
2706
|
-
W(i(
|
|
2706
|
+
W(i(he), {
|
|
2707
2707
|
id: "prepend",
|
|
2708
2708
|
"ref-context": { compId: i(C) },
|
|
2709
2709
|
state: {}
|
|
@@ -2711,12 +2711,12 @@ const oa = /* @__PURE__ */ ze(na, [["render", ia]]), ra = /* @__PURE__ */ $({
|
|
|
2711
2711
|
]),
|
|
2712
2712
|
key: "2"
|
|
2713
2713
|
} : void 0,
|
|
2714
|
-
i(
|
|
2714
|
+
i(N) ? {
|
|
2715
2715
|
name: "prepend-inner",
|
|
2716
2716
|
fn: _(() => [
|
|
2717
|
-
W(i(
|
|
2717
|
+
W(i(he), {
|
|
2718
2718
|
id: "prepend-inner",
|
|
2719
|
-
"ref-context": { compId: i(
|
|
2719
|
+
"ref-context": { compId: i(N) },
|
|
2720
2720
|
state: {}
|
|
2721
2721
|
}, null, 8, ["ref-context"])
|
|
2722
2722
|
]),
|
|
@@ -2749,11 +2749,11 @@ const oa = /* @__PURE__ */ ze(na, [["render", ia]]), ra = /* @__PURE__ */ $({
|
|
|
2749
2749
|
]), { property: m } = l(e, [
|
|
2750
2750
|
"settings",
|
|
2751
2751
|
"hideOpposite"
|
|
2752
|
-
]), { property:
|
|
2752
|
+
]), { property: p } = l(e, [
|
|
2753
2753
|
"settings",
|
|
2754
2754
|
"line",
|
|
2755
2755
|
"color"
|
|
2756
|
-
]), { color: u } = K(
|
|
2756
|
+
]), { color: u } = K(p), { property: d } = l(e, [
|
|
2757
2757
|
"settings",
|
|
2758
2758
|
"line",
|
|
2759
2759
|
"inset"
|
|
@@ -2776,7 +2776,7 @@ const oa = /* @__PURE__ */ ze(na, [["render", ia]]), ra = /* @__PURE__ */ $({
|
|
|
2776
2776
|
"fill-dot": i(c),
|
|
2777
2777
|
"hide-opposite": i(m),
|
|
2778
2778
|
"line-color": i(u),
|
|
2779
|
-
"line-inset": i(
|
|
2779
|
+
"line-inset": i(d),
|
|
2780
2780
|
"line-thickness": i(y),
|
|
2781
2781
|
side: i(b),
|
|
2782
2782
|
theme: i(k),
|
|
@@ -2799,7 +2799,7 @@ function ya(t, e) {
|
|
|
2799
2799
|
_: 3
|
|
2800
2800
|
});
|
|
2801
2801
|
}
|
|
2802
|
-
const fa = /* @__PURE__ */
|
|
2802
|
+
const fa = /* @__PURE__ */ Te(da, [["render", ya]]), ba = /* @__PURE__ */ $({
|
|
2803
2803
|
__name: "index",
|
|
2804
2804
|
props: {
|
|
2805
2805
|
node: {},
|
|
@@ -2818,12 +2818,12 @@ const fa = /* @__PURE__ */ ze(da, [["render", ya]]), ba = /* @__PURE__ */ $({
|
|
|
2818
2818
|
]), { property: r } = l(e, ["settings", "reverse"]), { property: a } = l(e, [
|
|
2819
2819
|
"settings",
|
|
2820
2820
|
"showArrows"
|
|
2821
|
-
]), { property: c } = l(e, ["settings", "touch"]), { theme: m } = G(), { property:
|
|
2822
|
-
return (u,
|
|
2821
|
+
]), { property: c } = l(e, ["settings", "touch"]), { theme: m } = G(), { property: p } = l(e, ["settings", "value"]);
|
|
2822
|
+
return (u, d) => {
|
|
2823
2823
|
const y = A("v-window");
|
|
2824
2824
|
return g(), w(y, {
|
|
2825
|
-
modelValue: i(
|
|
2826
|
-
"onUpdate:modelValue":
|
|
2825
|
+
modelValue: i(p),
|
|
2826
|
+
"onUpdate:modelValue": d[0] || (d[0] = (b) => J(p) ? p.value = b : null),
|
|
2827
2827
|
continuous: i(n),
|
|
2828
2828
|
direction: i(s),
|
|
2829
2829
|
disabled: i(o),
|
|
@@ -2849,7 +2849,7 @@ function ga(t, e) {
|
|
|
2849
2849
|
_: 3
|
|
2850
2850
|
});
|
|
2851
2851
|
}
|
|
2852
|
-
const xa = /* @__PURE__ */
|
|
2852
|
+
const xa = /* @__PURE__ */ Te(ha, [["render", ga]]), Qe = "ambient_light_v1", et = "badge_v1", On = "breadcrumbs_v1", tt = "bar_chart_v1", nt = "box_geometry_v1", it = "btn_v1", ot = "btn_group_v1", rt = "btn_toggle_v1", st = "card_v1", lt = "checkbox_v1", at = "chip_v1", ct = "chip_group_v1", ut = "color_picker_v1", mt = "combobox_v1", pt = "container_v1", dt = "data_table_v1", yt = "date_picker_v1", ft = "dialog_v1", bt = "directional_light_v1", ht = "file_input_v1", gt = "flex_layout_v1", To = "flex_layout_entry_v1", xt = "form_v1", un = "globality_v1", vt = "group_v1", kt = "icon_v1", _t = "keyboard_controls_v1", wt = "line_chart_v1", Vt = "map_controls_v1", St = "menu_v1", $t = "mesh_v1", va = "mesh_basic_material_v1", It = "multiple_ref_v1", Ct = "number_input_v1", Pt = "orbit_controls_v1", Tt = "orthographic_camera_v1", zt = "pagination_v1", At = "perspective_camera_v1", Lt = "point_light_v1", zo = "radio_v1", Et = "radio_group_v1", Bt = "range_slider_v1", Be = "reference_v1", Rt = "rating_v1", Mt = "render_switch_v1", Wt = "select_v1", Dt = "slider_v1", Ft = "sphere_geometry_v1", Gt = "spot_light_v1", Nt = "stepper_v1", Ao = "stepper_header_v1", Lo = "stepper_item_v1", Eo = "stepper_window_v1", Bo = "stepper_window_item_v1", jt = "switch_v1", Ro = "tab_v1", Un = "table_v1", Ht = "tabs_v1", Kt = "text_v1", Ot = "textarea_v1", Ut = "text_field_v1", Jt = "timeline_v1", Mo = "timeline_item_v1", qt = "window_v1", Wo = "window_item_v1", f = {
|
|
2853
2853
|
key: "basic",
|
|
2854
2854
|
name: "x-runtime-lib.basic",
|
|
2855
2855
|
children: [
|
|
@@ -2911,7 +2911,7 @@ const xa = /* @__PURE__ */ ze(ha, [["render", ga]]), Qe = "ambient_light_v1", et
|
|
|
2911
2911
|
]
|
|
2912
2912
|
}
|
|
2913
2913
|
]
|
|
2914
|
-
}, ka = M(O),
|
|
2914
|
+
}, ka = M(O), $e = {
|
|
2915
2915
|
key: "border",
|
|
2916
2916
|
name: "x-runtime-lib.border",
|
|
2917
2917
|
children: [
|
|
@@ -2965,7 +2965,7 @@ const xa = /* @__PURE__ */ ze(ha, [["render", ga]]), Qe = "ambient_light_v1", et
|
|
|
2965
2965
|
]
|
|
2966
2966
|
}
|
|
2967
2967
|
]
|
|
2968
|
-
},
|
|
2968
|
+
}, Je = {
|
|
2969
2969
|
key: "legend",
|
|
2970
2970
|
name: "x-runtime-lib.legend",
|
|
2971
2971
|
children: [
|
|
@@ -2990,7 +2990,7 @@ const xa = /* @__PURE__ */ ze(ha, [["render", ga]]), Qe = "ambient_light_v1", et
|
|
|
2990
2990
|
defaultArray: []
|
|
2991
2991
|
}
|
|
2992
2992
|
]
|
|
2993
|
-
},
|
|
2993
|
+
}, Ie = {
|
|
2994
2994
|
key: "margin",
|
|
2995
2995
|
name: "x-runtime-lib.margin",
|
|
2996
2996
|
children: [
|
|
@@ -3023,7 +3023,7 @@ const xa = /* @__PURE__ */ ze(ha, [["render", ga]]), Qe = "ambient_light_v1", et
|
|
|
3023
3023
|
default: ""
|
|
3024
3024
|
}
|
|
3025
3025
|
]
|
|
3026
|
-
},
|
|
3026
|
+
}, Ce = {
|
|
3027
3027
|
key: "padding",
|
|
3028
3028
|
name: "x-runtime-lib.padding",
|
|
3029
3029
|
children: [
|
|
@@ -3103,7 +3103,7 @@ const xa = /* @__PURE__ */ ze(ha, [["render", ga]]), Qe = "ambient_light_v1", et
|
|
|
3103
3103
|
default: ""
|
|
3104
3104
|
}
|
|
3105
3105
|
]
|
|
3106
|
-
},
|
|
3106
|
+
}, qe = {
|
|
3107
3107
|
key: "title",
|
|
3108
3108
|
name: "x-runtime-lib.title",
|
|
3109
3109
|
children: [
|
|
@@ -3126,7 +3126,7 @@ const xa = /* @__PURE__ */ ze(ha, [["render", ga]]), Qe = "ambient_light_v1", et
|
|
|
3126
3126
|
default: ""
|
|
3127
3127
|
}
|
|
3128
3128
|
]
|
|
3129
|
-
},
|
|
3129
|
+
}, q = {
|
|
3130
3130
|
key: "transform",
|
|
3131
3131
|
name: "x-runtime-lib.transform",
|
|
3132
3132
|
children: [
|
|
@@ -3330,8 +3330,8 @@ const xa = /* @__PURE__ */ ze(ha, [["render", ga]]), Qe = "ambient_light_v1", et
|
|
|
3330
3330
|
name: "x-runtime-lib.orthographicCamera",
|
|
3331
3331
|
comp: Fr,
|
|
3332
3332
|
properties: {
|
|
3333
|
-
pageScene: [f,
|
|
3334
|
-
compScene: [f,
|
|
3333
|
+
pageScene: [f, q, ai],
|
|
3334
|
+
compScene: [f, q, ai]
|
|
3335
3335
|
},
|
|
3336
3336
|
events: [],
|
|
3337
3337
|
methods: [],
|
|
@@ -3374,10 +3374,10 @@ const ci = {
|
|
|
3374
3374
|
}, wa = {
|
|
3375
3375
|
key: At,
|
|
3376
3376
|
name: "x-runtime-lib.perspectiveCamera",
|
|
3377
|
-
comp:
|
|
3377
|
+
comp: Nr,
|
|
3378
3378
|
properties: {
|
|
3379
|
-
pageScene: [f,
|
|
3380
|
-
compScene: [f,
|
|
3379
|
+
pageScene: [f, q, ci],
|
|
3380
|
+
compScene: [f, q, ci]
|
|
3381
3381
|
},
|
|
3382
3382
|
events: [],
|
|
3383
3383
|
methods: [],
|
|
@@ -3450,13 +3450,13 @@ function Ta(t, e) {
|
|
|
3450
3450
|
console.error(`boxGeometryV1/spawn property tag not found, ${n}`);
|
|
3451
3451
|
return;
|
|
3452
3452
|
}
|
|
3453
|
-
const s =
|
|
3453
|
+
const s = Me.properties[o];
|
|
3454
3454
|
if (!s) {
|
|
3455
3455
|
console.error(`boxGeometryV1/spawn properties not found, ${n}`);
|
|
3456
3456
|
return;
|
|
3457
3457
|
}
|
|
3458
3458
|
const r = {};
|
|
3459
|
-
return z(r, s), r.basic.id = T(16), r.basic.key =
|
|
3459
|
+
return z(r, s), r.basic.id = T(16), r.basic.key = Me.key, r.transform = {
|
|
3460
3460
|
position: {
|
|
3461
3461
|
x: 0,
|
|
3462
3462
|
y: 0,
|
|
@@ -3510,7 +3510,7 @@ function Aa(t, e) {
|
|
|
3510
3510
|
);
|
|
3511
3511
|
return;
|
|
3512
3512
|
}
|
|
3513
|
-
const s =
|
|
3513
|
+
const s = Re.properties[o];
|
|
3514
3514
|
if (!s) {
|
|
3515
3515
|
console.error(
|
|
3516
3516
|
`boxGeometryV1/spawnMeshBasicMaterial properties not found, ${n}`
|
|
@@ -3518,7 +3518,7 @@ function Aa(t, e) {
|
|
|
3518
3518
|
return;
|
|
3519
3519
|
}
|
|
3520
3520
|
const r = {};
|
|
3521
|
-
return z(r, s), r.basic.id = T(16), r.basic.key =
|
|
3521
|
+
return z(r, s), r.basic.id = T(16), r.basic.key = Re.key, r;
|
|
3522
3522
|
}
|
|
3523
3523
|
const ui = {
|
|
3524
3524
|
key: "settings",
|
|
@@ -3585,13 +3585,13 @@ function La(t, e) {
|
|
|
3585
3585
|
console.error(`sphereGeometryV1/spawn property tag not found, ${n}`);
|
|
3586
3586
|
return;
|
|
3587
3587
|
}
|
|
3588
|
-
const s =
|
|
3588
|
+
const s = Me.properties[o];
|
|
3589
3589
|
if (!s) {
|
|
3590
3590
|
console.error(`sphereGeometryV1/spawn properties not found, ${n}`);
|
|
3591
3591
|
return;
|
|
3592
3592
|
}
|
|
3593
3593
|
const r = {};
|
|
3594
|
-
return z(r, s), r.basic.id = T(16), r.basic.key =
|
|
3594
|
+
return z(r, s), r.basic.id = T(16), r.basic.key = Me.key, r.transform = {
|
|
3595
3595
|
position: {
|
|
3596
3596
|
x: 0,
|
|
3597
3597
|
y: 0,
|
|
@@ -3646,7 +3646,7 @@ function Ba(t, e) {
|
|
|
3646
3646
|
);
|
|
3647
3647
|
return;
|
|
3648
3648
|
}
|
|
3649
|
-
const s =
|
|
3649
|
+
const s = Re.properties[o];
|
|
3650
3650
|
if (!s) {
|
|
3651
3651
|
console.error(
|
|
3652
3652
|
`sphereGeometryV1/spawnMeshBasicMaterial properties not found, ${n}`
|
|
@@ -3654,7 +3654,7 @@ function Ba(t, e) {
|
|
|
3654
3654
|
return;
|
|
3655
3655
|
}
|
|
3656
3656
|
const r = {};
|
|
3657
|
-
return z(r, s), r.basic.id = T(16), r.basic.key =
|
|
3657
|
+
return z(r, s), r.basic.id = T(16), r.basic.key = Re.key, r;
|
|
3658
3658
|
}
|
|
3659
3659
|
const mi = {
|
|
3660
3660
|
key: "settings",
|
|
@@ -3743,10 +3743,10 @@ const pi = {
|
|
|
3743
3743
|
}, Ra = {
|
|
3744
3744
|
key: Qe,
|
|
3745
3745
|
name: "x-runtime-lib.ambientLight",
|
|
3746
|
-
comp:
|
|
3746
|
+
comp: Jr,
|
|
3747
3747
|
properties: {
|
|
3748
|
-
pageScene: [f,
|
|
3749
|
-
compScene: [f,
|
|
3748
|
+
pageScene: [f, q, pi],
|
|
3749
|
+
compScene: [f, q, pi]
|
|
3750
3750
|
},
|
|
3751
3751
|
events: [],
|
|
3752
3752
|
methods: [],
|
|
@@ -3775,8 +3775,8 @@ const di = {
|
|
|
3775
3775
|
name: "x-runtime-lib.directionalLight",
|
|
3776
3776
|
comp: Xr,
|
|
3777
3777
|
properties: {
|
|
3778
|
-
pageScene: [f,
|
|
3779
|
-
compScene: [f,
|
|
3778
|
+
pageScene: [f, q, di],
|
|
3779
|
+
compScene: [f, q, di]
|
|
3780
3780
|
},
|
|
3781
3781
|
events: [],
|
|
3782
3782
|
methods: [],
|
|
@@ -3819,8 +3819,8 @@ const yi = {
|
|
|
3819
3819
|
name: "x-runtime-lib.pointLight",
|
|
3820
3820
|
comp: Zr,
|
|
3821
3821
|
properties: {
|
|
3822
|
-
pageScene: [f,
|
|
3823
|
-
compScene: [f,
|
|
3822
|
+
pageScene: [f, q, yi],
|
|
3823
|
+
compScene: [f, q, yi]
|
|
3824
3824
|
},
|
|
3825
3825
|
events: [],
|
|
3826
3826
|
methods: [],
|
|
@@ -3880,15 +3880,15 @@ const fi = {
|
|
|
3880
3880
|
name: "x-runtime-lib.spotLight",
|
|
3881
3881
|
comp: es,
|
|
3882
3882
|
properties: {
|
|
3883
|
-
pageScene: [f,
|
|
3884
|
-
compScene: [f,
|
|
3883
|
+
pageScene: [f, q, fi],
|
|
3884
|
+
compScene: [f, q, fi]
|
|
3885
3885
|
},
|
|
3886
3886
|
events: [],
|
|
3887
3887
|
methods: [],
|
|
3888
3888
|
slots: []
|
|
3889
3889
|
};
|
|
3890
3890
|
V(Da);
|
|
3891
|
-
const
|
|
3891
|
+
const Re = {
|
|
3892
3892
|
key: va,
|
|
3893
3893
|
name: "x-runtime-lib.meshBasicMaterial",
|
|
3894
3894
|
comp: is,
|
|
@@ -3901,33 +3901,33 @@ const Me = {
|
|
|
3901
3901
|
slots: [],
|
|
3902
3902
|
leaf: !0
|
|
3903
3903
|
};
|
|
3904
|
-
V(
|
|
3904
|
+
V(Re);
|
|
3905
3905
|
const Fa = {
|
|
3906
3906
|
key: vt,
|
|
3907
3907
|
name: "x-runtime-lib.group",
|
|
3908
3908
|
comp: rs,
|
|
3909
3909
|
properties: {
|
|
3910
|
-
pageScene: [f,
|
|
3911
|
-
compScene: [f,
|
|
3910
|
+
pageScene: [f, q],
|
|
3911
|
+
compScene: [f, q]
|
|
3912
3912
|
},
|
|
3913
3913
|
events: [],
|
|
3914
3914
|
methods: [],
|
|
3915
3915
|
slots: []
|
|
3916
3916
|
};
|
|
3917
3917
|
V(Fa);
|
|
3918
|
-
const
|
|
3918
|
+
const Me = {
|
|
3919
3919
|
key: $t,
|
|
3920
3920
|
name: "x-runtime-lib.mesh",
|
|
3921
3921
|
comp: ls,
|
|
3922
3922
|
properties: {
|
|
3923
|
-
pageScene: [f,
|
|
3924
|
-
compScene: [f,
|
|
3923
|
+
pageScene: [f, q],
|
|
3924
|
+
compScene: [f, q]
|
|
3925
3925
|
},
|
|
3926
3926
|
events: [],
|
|
3927
3927
|
methods: [],
|
|
3928
3928
|
slots: []
|
|
3929
3929
|
};
|
|
3930
|
-
V(
|
|
3930
|
+
V(Me);
|
|
3931
3931
|
function Ga(t, e) {
|
|
3932
3932
|
const n = `type=${t} subtype=${e}`, o = L(t, e);
|
|
3933
3933
|
if (!o) {
|
|
@@ -3973,8 +3973,8 @@ const bi = {
|
|
|
3973
3973
|
name: "x-runtime-lib.barChart",
|
|
3974
3974
|
comp: yl,
|
|
3975
3975
|
properties: {
|
|
3976
|
-
pageCommon: [f, U,
|
|
3977
|
-
compCommon: [f, U,
|
|
3976
|
+
pageCommon: [f, U, qe, Xe, Ye, Je, bi],
|
|
3977
|
+
compCommon: [f, U, qe, Xe, Ye, Je, bi]
|
|
3978
3978
|
},
|
|
3979
3979
|
events: [],
|
|
3980
3980
|
methods: [],
|
|
@@ -3983,7 +3983,7 @@ const bi = {
|
|
|
3983
3983
|
spawn: Ga
|
|
3984
3984
|
};
|
|
3985
3985
|
V(dn);
|
|
3986
|
-
function
|
|
3986
|
+
function Na(t, e) {
|
|
3987
3987
|
const n = `type=${t} subtype=${e}`, o = L(t, e);
|
|
3988
3988
|
if (!o) {
|
|
3989
3989
|
console.error(`lineChartV1/spawn property tag not found, ${n}`);
|
|
@@ -4028,17 +4028,17 @@ const hi = {
|
|
|
4028
4028
|
name: "x-runtime-lib.lineChart",
|
|
4029
4029
|
comp: fl,
|
|
4030
4030
|
properties: {
|
|
4031
|
-
pageCommon: [f, U,
|
|
4032
|
-
compCommon: [f, U,
|
|
4031
|
+
pageCommon: [f, U, qe, Xe, Ye, Je, hi],
|
|
4032
|
+
compCommon: [f, U, qe, Xe, Ye, Je, hi]
|
|
4033
4033
|
},
|
|
4034
4034
|
events: [],
|
|
4035
4035
|
methods: [],
|
|
4036
4036
|
slots: [],
|
|
4037
4037
|
leaf: !0,
|
|
4038
|
-
spawn:
|
|
4038
|
+
spawn: Na
|
|
4039
4039
|
};
|
|
4040
4040
|
V(yn);
|
|
4041
|
-
const
|
|
4041
|
+
const ja = {
|
|
4042
4042
|
key: It,
|
|
4043
4043
|
name: "x-runtime-lib.multipleRef",
|
|
4044
4044
|
comp: bl,
|
|
@@ -4051,7 +4051,7 @@ const Na = {
|
|
|
4051
4051
|
slots: [],
|
|
4052
4052
|
leaf: !0
|
|
4053
4053
|
};
|
|
4054
|
-
V(
|
|
4054
|
+
V(ja);
|
|
4055
4055
|
const gi = {
|
|
4056
4056
|
key: "reference",
|
|
4057
4057
|
name: "x-runtime-lib.reference",
|
|
@@ -4064,7 +4064,7 @@ const gi = {
|
|
|
4064
4064
|
}
|
|
4065
4065
|
]
|
|
4066
4066
|
}, Ha = {
|
|
4067
|
-
key:
|
|
4067
|
+
key: Be,
|
|
4068
4068
|
name: "x-runtime-lib.reference",
|
|
4069
4069
|
comp: hl,
|
|
4070
4070
|
properties: {
|
|
@@ -4196,7 +4196,7 @@ const _i = {
|
|
|
4196
4196
|
default: !1
|
|
4197
4197
|
}
|
|
4198
4198
|
]
|
|
4199
|
-
},
|
|
4199
|
+
}, nm = {
|
|
4200
4200
|
key: et,
|
|
4201
4201
|
name: "x-runtime-lib.badge",
|
|
4202
4202
|
comp: xl,
|
|
@@ -4222,7 +4222,7 @@ function Ua(t, e) {
|
|
|
4222
4222
|
const r = {};
|
|
4223
4223
|
return z(r, s), r.basic.id = T(16), r.basic.key = fn.key, r.settings.text = "button", r;
|
|
4224
4224
|
}
|
|
4225
|
-
const
|
|
4225
|
+
const Ja = M(O), wi = {
|
|
4226
4226
|
key: "settings",
|
|
4227
4227
|
name: "x-runtime-lib.settings",
|
|
4228
4228
|
children: [
|
|
@@ -4301,7 +4301,7 @@ const qa = M(O), wi = {
|
|
|
4301
4301
|
ui: "switch",
|
|
4302
4302
|
default: !1
|
|
4303
4303
|
},
|
|
4304
|
-
|
|
4304
|
+
Ja,
|
|
4305
4305
|
{
|
|
4306
4306
|
key: "ripple",
|
|
4307
4307
|
name: "x-runtime-lib.ripple",
|
|
@@ -4330,7 +4330,7 @@ const qa = M(O), wi = {
|
|
|
4330
4330
|
spawn: Ua
|
|
4331
4331
|
};
|
|
4332
4332
|
V(fn);
|
|
4333
|
-
const
|
|
4333
|
+
const qa = {
|
|
4334
4334
|
key: ot,
|
|
4335
4335
|
name: "x-runtime-lib.buttonGroup",
|
|
4336
4336
|
comp: wl,
|
|
@@ -4342,7 +4342,7 @@ const Ja = {
|
|
|
4342
4342
|
methods: [],
|
|
4343
4343
|
slots: []
|
|
4344
4344
|
};
|
|
4345
|
-
V(
|
|
4345
|
+
V(qa);
|
|
4346
4346
|
const Vi = {
|
|
4347
4347
|
key: "settings",
|
|
4348
4348
|
name: "x-runtime-lib.settings",
|
|
@@ -4423,13 +4423,13 @@ function Ya(t, e) {
|
|
|
4423
4423
|
console.error(`cardV1/spawn property tag not found, ${n}`);
|
|
4424
4424
|
return;
|
|
4425
4425
|
}
|
|
4426
|
-
const s =
|
|
4426
|
+
const s = We.properties[o];
|
|
4427
4427
|
if (!s) {
|
|
4428
4428
|
console.error(`cardV1/spawn properties not found, ${n}`);
|
|
4429
4429
|
return;
|
|
4430
4430
|
}
|
|
4431
4431
|
const r = {};
|
|
4432
|
-
return z(r, s), r.basic.id = T(16), r.basic.key =
|
|
4432
|
+
return z(r, s), r.basic.id = T(16), r.basic.key = We.key, r.children = [], r.settings.title = "title", r.settings.subtitle = "subtitle", r.settings.text = "text", r;
|
|
4433
4433
|
}
|
|
4434
4434
|
const Si = {
|
|
4435
4435
|
key: "settings",
|
|
@@ -4486,7 +4486,7 @@ const Si = {
|
|
|
4486
4486
|
default: !1
|
|
4487
4487
|
}
|
|
4488
4488
|
]
|
|
4489
|
-
},
|
|
4489
|
+
}, We = {
|
|
4490
4490
|
key: st,
|
|
4491
4491
|
name: "x-runtime-lib.card",
|
|
4492
4492
|
comp: Sl,
|
|
@@ -4499,7 +4499,7 @@ const Si = {
|
|
|
4499
4499
|
slots: [],
|
|
4500
4500
|
spawn: Ya
|
|
4501
4501
|
};
|
|
4502
|
-
V(
|
|
4502
|
+
V(We);
|
|
4503
4503
|
const $i = {
|
|
4504
4504
|
key: "settings",
|
|
4505
4505
|
name: "x-runtime-lib.settings",
|
|
@@ -4633,15 +4633,15 @@ function ec(t, e) {
|
|
|
4633
4633
|
}
|
|
4634
4634
|
const r = {};
|
|
4635
4635
|
return z(r, s), r.basic.id = T(16), r.basic.key = hn.key, r.children = [
|
|
4636
|
-
|
|
4637
|
-
|
|
4638
|
-
|
|
4639
|
-
|
|
4640
|
-
|
|
4641
|
-
|
|
4636
|
+
Se(t, e, "chip1", "chip 1"),
|
|
4637
|
+
Se(t, e, "chip2", "chip 2"),
|
|
4638
|
+
Se(t, e, "chip3", "chip 3"),
|
|
4639
|
+
Se(t, e, "chip4", "chip 4"),
|
|
4640
|
+
Se(t, e, "chip5", "chip 5"),
|
|
4641
|
+
Se(t, e, "chip6", "chip 6")
|
|
4642
4642
|
], r;
|
|
4643
4643
|
}
|
|
4644
|
-
function
|
|
4644
|
+
function Se(t, e, n, o) {
|
|
4645
4645
|
const s = `type=${t} subtype=${e}`, r = L(t, e);
|
|
4646
4646
|
if (!r) {
|
|
4647
4647
|
console.error(`chipGroupV1/spawnChip property tag not found, ${s}`);
|
|
@@ -4792,20 +4792,20 @@ const Pi = {
|
|
|
4792
4792
|
leaf: !0
|
|
4793
4793
|
};
|
|
4794
4794
|
V(nc);
|
|
4795
|
-
const
|
|
4796
|
-
|
|
4797
|
-
|
|
4795
|
+
const Jn = M(O);
|
|
4796
|
+
Jn.key = "backgroundColor";
|
|
4797
|
+
Jn.name = "x-runtime-lib.backgroundColor";
|
|
4798
4798
|
const Ti = {
|
|
4799
4799
|
key: "settings",
|
|
4800
4800
|
name: "x-runtime-lib.settings",
|
|
4801
|
-
children: [
|
|
4801
|
+
children: [Jn]
|
|
4802
4802
|
}, gn = {
|
|
4803
4803
|
key: pt,
|
|
4804
4804
|
name: "x-runtime-lib.container",
|
|
4805
4805
|
comp: zl,
|
|
4806
4806
|
properties: {
|
|
4807
|
-
pageCommon: [f, U, Ie, Ce,
|
|
4808
|
-
compCommon: [f, U, Ie, Ce,
|
|
4807
|
+
pageCommon: [f, U, $e, Ie, Ce, Ti],
|
|
4808
|
+
compCommon: [f, U, $e, Ie, Ce, Ti]
|
|
4809
4809
|
},
|
|
4810
4810
|
events: [
|
|
4811
4811
|
{
|
|
@@ -5029,7 +5029,7 @@ const Ei = {
|
|
|
5029
5029
|
key: "settings",
|
|
5030
5030
|
name: "x-runtime-lib.settings",
|
|
5031
5031
|
children: []
|
|
5032
|
-
},
|
|
5032
|
+
}, im = {
|
|
5033
5033
|
key: ht,
|
|
5034
5034
|
name: "x-runtime-lib.fileInput",
|
|
5035
5035
|
comp: Rl,
|
|
@@ -5077,13 +5077,13 @@ function sc(t, e) {
|
|
|
5077
5077
|
console.error(`flexLayoutV1/spawn property tag not found, ${n}`);
|
|
5078
5078
|
return;
|
|
5079
5079
|
}
|
|
5080
|
-
const s =
|
|
5080
|
+
const s = De.properties[o];
|
|
5081
5081
|
if (!s) {
|
|
5082
5082
|
console.error(`flexLayoutV1/spawn properties not found, ${n}`);
|
|
5083
5083
|
return;
|
|
5084
5084
|
}
|
|
5085
5085
|
const r = {};
|
|
5086
|
-
return z(r, s), r.basic.id = T(16), r.basic.key =
|
|
5086
|
+
return z(r, s), r.basic.id = T(16), r.basic.key = De.key, r.children = [
|
|
5087
5087
|
vn(
|
|
5088
5088
|
t,
|
|
5089
5089
|
e,
|
|
@@ -5108,22 +5108,22 @@ function sc(t, e) {
|
|
|
5108
5108
|
], r;
|
|
5109
5109
|
}
|
|
5110
5110
|
function vn(t, e, n, o, s, r, a, c, m) {
|
|
5111
|
-
const
|
|
5111
|
+
const p = `type=${t} subtype=${e}`, u = L(t, e);
|
|
5112
5112
|
if (!u) {
|
|
5113
5113
|
console.error(
|
|
5114
|
-
`flexLayoutV1/spawnContainer property tag not found, ${
|
|
5114
|
+
`flexLayoutV1/spawnContainer property tag not found, ${p}`
|
|
5115
5115
|
);
|
|
5116
5116
|
return;
|
|
5117
5117
|
}
|
|
5118
|
-
const
|
|
5119
|
-
if (!
|
|
5118
|
+
const d = gn.properties[u];
|
|
5119
|
+
if (!d) {
|
|
5120
5120
|
console.error(
|
|
5121
|
-
`flexLayoutV1/spawnContainer properties not found, ${
|
|
5121
|
+
`flexLayoutV1/spawnContainer properties not found, ${p}`
|
|
5122
5122
|
);
|
|
5123
5123
|
return;
|
|
5124
5124
|
}
|
|
5125
5125
|
const y = {};
|
|
5126
|
-
return z(y,
|
|
5126
|
+
return z(y, d), y.basic.id = T(16), y.basic.key = gn.key, o && (y.size.width = o), s && (y.size.minWidth = s), a && (y.size.height = a), c && (y.size.minHeight = c), n && (y.settings.backgroundColor.mode = "custom", y.settings.backgroundColor.custom.light = n, y.settings.backgroundColor.custom.dark = n), y.children = [], y;
|
|
5127
5127
|
}
|
|
5128
5128
|
function lc(t, e) {
|
|
5129
5129
|
const n = `type=${t} subtype=${e}`, o = L(t, e);
|
|
@@ -5157,9 +5157,9 @@ function lc(t, e) {
|
|
|
5157
5157
|
)
|
|
5158
5158
|
], r;
|
|
5159
5159
|
}
|
|
5160
|
-
const
|
|
5161
|
-
|
|
5162
|
-
|
|
5160
|
+
const qn = M(O);
|
|
5161
|
+
qn.key = "backgroundColor";
|
|
5162
|
+
qn.name = "x-runtime-lib.backgroundColor";
|
|
5163
5163
|
const Ri = {
|
|
5164
5164
|
key: "settings",
|
|
5165
5165
|
name: "x-runtime-lib.settings",
|
|
@@ -5328,15 +5328,15 @@ const Ri = {
|
|
|
5328
5328
|
}
|
|
5329
5329
|
]
|
|
5330
5330
|
},
|
|
5331
|
-
|
|
5331
|
+
qn
|
|
5332
5332
|
]
|
|
5333
|
-
},
|
|
5333
|
+
}, De = {
|
|
5334
5334
|
key: gt,
|
|
5335
5335
|
name: "x-runtime-lib.flexLayout",
|
|
5336
5336
|
comp: Ml,
|
|
5337
5337
|
properties: {
|
|
5338
|
-
pageCommon: [f, U, Ie, Ce,
|
|
5339
|
-
compCommon: [f, U, Ie, Ce,
|
|
5338
|
+
pageCommon: [f, U, $e, Ie, Ce, Ri],
|
|
5339
|
+
compCommon: [f, U, $e, Ie, Ce, Ri]
|
|
5340
5340
|
},
|
|
5341
5341
|
events: [
|
|
5342
5342
|
{
|
|
@@ -5349,7 +5349,7 @@ const Ri = {
|
|
|
5349
5349
|
slots: [],
|
|
5350
5350
|
spawn: sc
|
|
5351
5351
|
};
|
|
5352
|
-
V(
|
|
5352
|
+
V(De);
|
|
5353
5353
|
const Mi = {
|
|
5354
5354
|
key: "settings",
|
|
5355
5355
|
name: "x-runtime-lib.settings",
|
|
@@ -5590,8 +5590,8 @@ const Di = {
|
|
|
5590
5590
|
name: "x-runtime-lib.form",
|
|
5591
5591
|
comp: Dl,
|
|
5592
5592
|
properties: {
|
|
5593
|
-
pageCommon: [f, U, Ie, Ce,
|
|
5594
|
-
compCommon: [f, U, Ie, Ce,
|
|
5593
|
+
pageCommon: [f, U, $e, Ie, Ce, Di],
|
|
5594
|
+
compCommon: [f, U, $e, Ie, Ce, Di]
|
|
5595
5595
|
},
|
|
5596
5596
|
events: [
|
|
5597
5597
|
{
|
|
@@ -5647,7 +5647,7 @@ V(mc);
|
|
|
5647
5647
|
const pc = {
|
|
5648
5648
|
key: St,
|
|
5649
5649
|
name: "x-runtime-lib.menu",
|
|
5650
|
-
comp:
|
|
5650
|
+
comp: Nl,
|
|
5651
5651
|
properties: {
|
|
5652
5652
|
pageCommon: [f],
|
|
5653
5653
|
compCommon: [f]
|
|
@@ -5711,7 +5711,7 @@ const Gi = {
|
|
|
5711
5711
|
default: ""
|
|
5712
5712
|
}
|
|
5713
5713
|
]
|
|
5714
|
-
},
|
|
5714
|
+
}, Ni = {
|
|
5715
5715
|
key: "settings",
|
|
5716
5716
|
name: "x-runtime-lib.settings",
|
|
5717
5717
|
children: [
|
|
@@ -5855,10 +5855,10 @@ const Gi = {
|
|
|
5855
5855
|
}, wn = {
|
|
5856
5856
|
key: Ct,
|
|
5857
5857
|
name: "x-runtime-lib.numberInput",
|
|
5858
|
-
comp:
|
|
5858
|
+
comp: jl,
|
|
5859
5859
|
properties: {
|
|
5860
|
-
pageCommon: [f, Gi,
|
|
5861
|
-
compCommon: [f, Gi,
|
|
5860
|
+
pageCommon: [f, Gi, Ni],
|
|
5861
|
+
compCommon: [f, Gi, Ni]
|
|
5862
5862
|
},
|
|
5863
5863
|
events: [
|
|
5864
5864
|
{
|
|
@@ -5893,7 +5893,7 @@ const Gi = {
|
|
|
5893
5893
|
spawn: dc
|
|
5894
5894
|
};
|
|
5895
5895
|
V(wn);
|
|
5896
|
-
const
|
|
5896
|
+
const ji = {
|
|
5897
5897
|
key: "settings",
|
|
5898
5898
|
name: "x-runtime-lib.settings",
|
|
5899
5899
|
children: [
|
|
@@ -5961,8 +5961,8 @@ const Ni = {
|
|
|
5961
5961
|
name: "x-runtime-lib.pagination",
|
|
5962
5962
|
comp: Hl,
|
|
5963
5963
|
properties: {
|
|
5964
|
-
pageCommon: [f,
|
|
5965
|
-
compCommon: [f,
|
|
5964
|
+
pageCommon: [f, ji],
|
|
5965
|
+
compCommon: [f, ji]
|
|
5966
5966
|
},
|
|
5967
5967
|
events: [],
|
|
5968
5968
|
methods: [],
|
|
@@ -6301,7 +6301,7 @@ const Ui = {
|
|
|
6301
6301
|
}, gc = {
|
|
6302
6302
|
key: Rt,
|
|
6303
6303
|
name: "x-runtime-lib.rating",
|
|
6304
|
-
comp:
|
|
6304
|
+
comp: Jl,
|
|
6305
6305
|
properties: {
|
|
6306
6306
|
pageCommon: [f, Ui],
|
|
6307
6307
|
compCommon: [f, Ui]
|
|
@@ -6312,7 +6312,7 @@ const Ui = {
|
|
|
6312
6312
|
leaf: !0
|
|
6313
6313
|
};
|
|
6314
6314
|
V(gc);
|
|
6315
|
-
const
|
|
6315
|
+
const Ji = {
|
|
6316
6316
|
key: "settings",
|
|
6317
6317
|
name: "x-runtime-lib.settings",
|
|
6318
6318
|
children: [
|
|
@@ -6356,10 +6356,10 @@ const qi = {
|
|
|
6356
6356
|
}, xc = {
|
|
6357
6357
|
key: Wt,
|
|
6358
6358
|
name: "x-runtime-lib.select",
|
|
6359
|
-
comp:
|
|
6359
|
+
comp: ql,
|
|
6360
6360
|
properties: {
|
|
6361
|
-
pageCommon: [f,
|
|
6362
|
-
compCommon: [f,
|
|
6361
|
+
pageCommon: [f, Ji],
|
|
6362
|
+
compCommon: [f, Ji]
|
|
6363
6363
|
},
|
|
6364
6364
|
events: [],
|
|
6365
6365
|
methods: [],
|
|
@@ -6376,7 +6376,7 @@ Yn.name = "x-runtime-lib.trackColor";
|
|
|
6376
6376
|
const Zn = M(O);
|
|
6377
6377
|
Zn.key = "thumbColor";
|
|
6378
6378
|
Zn.name = "x-runtime-lib.thumbColor";
|
|
6379
|
-
const
|
|
6379
|
+
const qi = {
|
|
6380
6380
|
key: "settings",
|
|
6381
6381
|
name: "x-runtime-lib.settings",
|
|
6382
6382
|
children: [
|
|
@@ -6507,8 +6507,8 @@ const Ji = {
|
|
|
6507
6507
|
name: "x-runtime-lib.slider",
|
|
6508
6508
|
comp: Xl,
|
|
6509
6509
|
properties: {
|
|
6510
|
-
pageCommon: [f,
|
|
6511
|
-
compCommon: [f,
|
|
6510
|
+
pageCommon: [f, qi, Xi],
|
|
6511
|
+
compCommon: [f, qi, Xi]
|
|
6512
6512
|
},
|
|
6513
6513
|
events: [],
|
|
6514
6514
|
methods: [],
|
|
@@ -6678,13 +6678,13 @@ function Vc(t, e, n) {
|
|
|
6678
6678
|
console.error(`stepperV1/spawnCard property tag not found, ${o}`);
|
|
6679
6679
|
return;
|
|
6680
6680
|
}
|
|
6681
|
-
const r =
|
|
6681
|
+
const r = We.properties[s];
|
|
6682
6682
|
if (!r) {
|
|
6683
6683
|
console.error(`stepperV1/spawnCard properties not found, ${o}`);
|
|
6684
6684
|
return;
|
|
6685
6685
|
}
|
|
6686
6686
|
const a = {};
|
|
6687
|
-
return z(a, r), a.basic.id = T(16), a.basic.key =
|
|
6687
|
+
return z(a, r), a.basic.id = T(16), a.basic.key = We.key, a.children = [], a.settings.title = n, a;
|
|
6688
6688
|
}
|
|
6689
6689
|
const Qi = {
|
|
6690
6690
|
key: "settings",
|
|
@@ -6704,7 +6704,7 @@ const Qi = {
|
|
|
6704
6704
|
}
|
|
6705
6705
|
]
|
|
6706
6706
|
}, Tn = {
|
|
6707
|
-
key:
|
|
6707
|
+
key: Nt,
|
|
6708
6708
|
name: "x-runtime-lib.stepper",
|
|
6709
6709
|
comp: Yl,
|
|
6710
6710
|
properties: {
|
|
@@ -6718,7 +6718,7 @@ const Qi = {
|
|
|
6718
6718
|
};
|
|
6719
6719
|
V(Tn);
|
|
6720
6720
|
const Sc = {
|
|
6721
|
-
key:
|
|
6721
|
+
key: jt,
|
|
6722
6722
|
name: "x-runtime-lib.switch",
|
|
6723
6723
|
comp: sa,
|
|
6724
6724
|
properties: {
|
|
@@ -6902,13 +6902,13 @@ function Ic(t, e) {
|
|
|
6902
6902
|
console.error(`textV1/spawn property tag not found, ${n}`);
|
|
6903
6903
|
return;
|
|
6904
6904
|
}
|
|
6905
|
-
const s =
|
|
6905
|
+
const s = xe.properties[o];
|
|
6906
6906
|
if (!s) {
|
|
6907
6907
|
console.error(`textV1/spawn properties not found, ${n}`);
|
|
6908
6908
|
return;
|
|
6909
6909
|
}
|
|
6910
6910
|
const r = {};
|
|
6911
|
-
return z(r, s), r.basic.id = T(16), r.basic.key =
|
|
6911
|
+
return z(r, s), r.basic.id = T(16), r.basic.key = xe.key, r.settings.text = "text", r;
|
|
6912
6912
|
}
|
|
6913
6913
|
const no = {
|
|
6914
6914
|
key: "settings",
|
|
@@ -6996,7 +6996,7 @@ const no = {
|
|
|
6996
6996
|
default: !1
|
|
6997
6997
|
}
|
|
6998
6998
|
]
|
|
6999
|
-
},
|
|
6999
|
+
}, xe = {
|
|
7000
7000
|
key: Kt,
|
|
7001
7001
|
name: "x-runtime-lib.text",
|
|
7002
7002
|
comp: ca,
|
|
@@ -7010,7 +7010,7 @@ const no = {
|
|
|
7010
7010
|
leaf: !0,
|
|
7011
7011
|
spawn: Ic
|
|
7012
7012
|
};
|
|
7013
|
-
V(
|
|
7013
|
+
V(xe);
|
|
7014
7014
|
function Cc(t, e) {
|
|
7015
7015
|
const n = `type=${t} subtype=${e}`, o = L(t, e);
|
|
7016
7016
|
if (!o) {
|
|
@@ -7162,13 +7162,13 @@ function Tc(t, e, n) {
|
|
|
7162
7162
|
console.error(`timelineV1/spawnText property tag not found, ${o}`);
|
|
7163
7163
|
return;
|
|
7164
7164
|
}
|
|
7165
|
-
const r =
|
|
7165
|
+
const r = xe.properties[s];
|
|
7166
7166
|
if (!r) {
|
|
7167
7167
|
console.error(`timelineV1/spawnText properties not found, ${o}`);
|
|
7168
7168
|
return;
|
|
7169
7169
|
}
|
|
7170
7170
|
const a = {};
|
|
7171
|
-
return z(a, r), a.basic.id = T(16), a.basic.key =
|
|
7171
|
+
return z(a, r), a.basic.id = T(16), a.basic.key = xe.key, a.settings.text = n, a;
|
|
7172
7172
|
}
|
|
7173
7173
|
const zc = M(O), Ac = M(O), oo = {
|
|
7174
7174
|
key: "settings",
|
|
@@ -7249,7 +7249,7 @@ const zc = M(O), Ac = M(O), oo = {
|
|
|
7249
7249
|
}
|
|
7250
7250
|
]
|
|
7251
7251
|
}, Bn = {
|
|
7252
|
-
key:
|
|
7252
|
+
key: Jt,
|
|
7253
7253
|
name: "x-runtime-lib.timeline",
|
|
7254
7254
|
comp: pa,
|
|
7255
7255
|
properties: {
|
|
@@ -7315,13 +7315,13 @@ function Ec(t, e, n) {
|
|
|
7315
7315
|
);
|
|
7316
7316
|
return;
|
|
7317
7317
|
}
|
|
7318
|
-
const r =
|
|
7318
|
+
const r = De.properties[s];
|
|
7319
7319
|
if (!r) {
|
|
7320
7320
|
console.error(`windowV1/spawnFlexLayout properties not found, ${o}`);
|
|
7321
7321
|
return;
|
|
7322
7322
|
}
|
|
7323
7323
|
const a = {};
|
|
7324
|
-
return z(a, r), a.basic.id = T(16), a.basic.key =
|
|
7324
|
+
return z(a, r), a.basic.id = T(16), a.basic.key = De.key, a.size.height = "200px", a.settings.mainAlign.xs = "center", a.settings.crossAlign.xs = "center", a.settings.backgroundColor.mode = "theme", a.settings.backgroundColor.theme = "background2", a.children = [Bc(t, e, n)], a;
|
|
7325
7325
|
}
|
|
7326
7326
|
function Bc(t, e, n) {
|
|
7327
7327
|
const o = `type=${t} subtype=${e}`, s = L(t, e);
|
|
@@ -7329,13 +7329,13 @@ function Bc(t, e, n) {
|
|
|
7329
7329
|
console.error(`windowV1/spawnText property tag not found, ${o}`);
|
|
7330
7330
|
return;
|
|
7331
7331
|
}
|
|
7332
|
-
const r =
|
|
7332
|
+
const r = xe.properties[s];
|
|
7333
7333
|
if (!r) {
|
|
7334
7334
|
console.error(`windowV1/spawnText properties not found, ${o}`);
|
|
7335
7335
|
return;
|
|
7336
7336
|
}
|
|
7337
7337
|
const a = {};
|
|
7338
|
-
return z(a, r), a.basic.id = T(16), a.basic.key =
|
|
7338
|
+
return z(a, r), a.basic.id = T(16), a.basic.key = xe.key, a.settings.text = n, a.settings.style.xs = "h6", a;
|
|
7339
7339
|
}
|
|
7340
7340
|
const ro = {
|
|
7341
7341
|
key: "settings",
|
|
@@ -7386,7 +7386,7 @@ const ro = {
|
|
|
7386
7386
|
}
|
|
7387
7387
|
]
|
|
7388
7388
|
}, Mn = {
|
|
7389
|
-
key:
|
|
7389
|
+
key: qt,
|
|
7390
7390
|
name: "x-runtime-lib.window",
|
|
7391
7391
|
comp: ba,
|
|
7392
7392
|
properties: {
|
|
@@ -7425,7 +7425,7 @@ const Rc = [
|
|
|
7425
7425
|
], Gc = [
|
|
7426
7426
|
{ title: "x-runtime-lib.horizontal", value: "horizontal" },
|
|
7427
7427
|
{ title: "x-runtime-lib.vertical", value: "vertical" }
|
|
7428
|
-
],
|
|
7428
|
+
], Nc = [
|
|
7429
7429
|
{ title: "x-runtime-lib.underlined", value: "underlined" },
|
|
7430
7430
|
{ title: "x-runtime-lib.outlined", value: "outlined" },
|
|
7431
7431
|
{ title: "x-runtime-lib.filled", value: "filled" },
|
|
@@ -7433,7 +7433,7 @@ const Rc = [
|
|
|
7433
7433
|
{ title: "x-runtime-lib.soloInverted", value: "solo-inverted" },
|
|
7434
7434
|
{ title: "x-runtime-lib.soloFilled", value: "solo-filled" },
|
|
7435
7435
|
{ title: "x-runtime-lib.plain", value: "plain" }
|
|
7436
|
-
],
|
|
7436
|
+
], jc = [
|
|
7437
7437
|
{ title: "x-runtime-lib.notSet", value: "" },
|
|
7438
7438
|
{ title: "x-runtime-lib.start", value: "start" },
|
|
7439
7439
|
{ title: "x-runtime-lib.end", value: "end" },
|
|
@@ -7467,14 +7467,14 @@ const Rc = [
|
|
|
7467
7467
|
{ title: "x-runtime-lib.regular", value: "regular" },
|
|
7468
7468
|
{ title: "x-runtime-lib.light", value: "light" },
|
|
7469
7469
|
{ title: "x-runtime-lib.thin", value: "thin" }
|
|
7470
|
-
],
|
|
7470
|
+
], Jc = [
|
|
7471
7471
|
{ title: "x-runtime-lib.elevated", value: "elevated" },
|
|
7472
7472
|
{ title: "x-runtime-lib.flat", value: "flat" },
|
|
7473
7473
|
{ title: "x-runtime-lib.tonal", value: "tonal" },
|
|
7474
7474
|
{ title: "x-runtime-lib.outlined", value: "outlined" },
|
|
7475
7475
|
{ title: "x-runtime-lib.text", value: "text" },
|
|
7476
7476
|
{ title: "x-runtime-lib.plain", value: "plain" }
|
|
7477
|
-
],
|
|
7477
|
+
], qc = [
|
|
7478
7478
|
{ title: "x-runtime-lib.notSet", value: "" },
|
|
7479
7479
|
{ title: "x-runtime-lib.show", value: "show" },
|
|
7480
7480
|
{ title: "x-runtime-lib.always", value: "always" }
|
|
@@ -7556,14 +7556,14 @@ const Rc = [
|
|
|
7556
7556
|
colorModeItemsV1: Dc,
|
|
7557
7557
|
densityItemsV1: Fc,
|
|
7558
7558
|
directionItemsV1: Gc,
|
|
7559
|
-
fieldVariantItemsV1:
|
|
7560
|
-
flexCrossAlignItemsV1:
|
|
7559
|
+
fieldVariantItemsV1: Nc,
|
|
7560
|
+
flexCrossAlignItemsV1: jc,
|
|
7561
7561
|
flexDirectionItemsV1: Hc,
|
|
7562
7562
|
flexMainAlignItemsV1: Kc,
|
|
7563
7563
|
flexWrapItemsV1: Oc,
|
|
7564
7564
|
fontWeightItemsV1: Uc,
|
|
7565
|
-
sheetVariantItemsV1:
|
|
7566
|
-
showTicksItemsV1:
|
|
7565
|
+
sheetVariantItemsV1: Jc,
|
|
7566
|
+
showTicksItemsV1: qc,
|
|
7567
7567
|
sizeItemsV1: Xc,
|
|
7568
7568
|
textAlignItemsV1: Yc,
|
|
7569
7569
|
textDecorationItemsV1: Zc,
|
|
@@ -7807,7 +7807,7 @@ const Rc = [
|
|
|
7807
7807
|
Ct,
|
|
7808
7808
|
Wt,
|
|
7809
7809
|
mt,
|
|
7810
|
-
|
|
7810
|
+
jt,
|
|
7811
7811
|
Et,
|
|
7812
7812
|
lt,
|
|
7813
7813
|
Dt,
|
|
@@ -7827,14 +7827,14 @@ const Rc = [
|
|
|
7827
7827
|
rt,
|
|
7828
7828
|
ot,
|
|
7829
7829
|
ct,
|
|
7830
|
-
|
|
7831
|
-
|
|
7830
|
+
Nt,
|
|
7831
|
+
qt
|
|
7832
7832
|
]
|
|
7833
7833
|
},
|
|
7834
7834
|
{
|
|
7835
7835
|
key: "feedback",
|
|
7836
7836
|
name: "x-runtime-lib.feedback",
|
|
7837
|
-
items: [et, Rt,
|
|
7837
|
+
items: [et, Rt, Jt]
|
|
7838
7838
|
},
|
|
7839
7839
|
{
|
|
7840
7840
|
key: "imagesAndIcons",
|
|
@@ -7849,7 +7849,7 @@ const Rc = [
|
|
|
7849
7849
|
{
|
|
7850
7850
|
key: "dynamic",
|
|
7851
7851
|
name: "x-runtime-lib.dynamic",
|
|
7852
|
-
items: [
|
|
7852
|
+
items: [Be, It, Mt]
|
|
7853
7853
|
}
|
|
7854
7854
|
], hu = [
|
|
7855
7855
|
{
|
|
@@ -7912,7 +7912,7 @@ const Rc = [
|
|
|
7912
7912
|
Ct,
|
|
7913
7913
|
Wt,
|
|
7914
7914
|
mt,
|
|
7915
|
-
|
|
7915
|
+
jt,
|
|
7916
7916
|
Et,
|
|
7917
7917
|
lt,
|
|
7918
7918
|
Dt,
|
|
@@ -7932,14 +7932,14 @@ const Rc = [
|
|
|
7932
7932
|
rt,
|
|
7933
7933
|
ot,
|
|
7934
7934
|
ct,
|
|
7935
|
-
|
|
7936
|
-
|
|
7935
|
+
Nt,
|
|
7936
|
+
qt
|
|
7937
7937
|
]
|
|
7938
7938
|
},
|
|
7939
7939
|
{
|
|
7940
7940
|
key: "feedback",
|
|
7941
7941
|
name: "x-runtime-lib.feedback",
|
|
7942
|
-
items: [et, Rt,
|
|
7942
|
+
items: [et, Rt, Jt]
|
|
7943
7943
|
},
|
|
7944
7944
|
{
|
|
7945
7945
|
key: "imagesAndIcons",
|
|
@@ -7954,7 +7954,7 @@ const Rc = [
|
|
|
7954
7954
|
{
|
|
7955
7955
|
key: "dynamic",
|
|
7956
7956
|
name: "x-runtime-lib.dynamic",
|
|
7957
|
-
items: [
|
|
7957
|
+
items: [Be, It, Mt]
|
|
7958
7958
|
}
|
|
7959
7959
|
], xu = [
|
|
7960
7960
|
{
|
|
@@ -7990,7 +7990,7 @@ const Rc = [
|
|
|
7990
7990
|
], vu = {
|
|
7991
7991
|
version: "v1",
|
|
7992
7992
|
globalityKey: un,
|
|
7993
|
-
refKey:
|
|
7993
|
+
refKey: Be,
|
|
7994
7994
|
items: { ...lu },
|
|
7995
7995
|
types: { ...fu },
|
|
7996
7996
|
elements: /* @__PURE__ */ new Set([
|
|
@@ -8036,27 +8036,27 @@ const Rc = [
|
|
|
8036
8036
|
Et,
|
|
8037
8037
|
Bt,
|
|
8038
8038
|
Rt,
|
|
8039
|
-
|
|
8039
|
+
Be,
|
|
8040
8040
|
Mt,
|
|
8041
8041
|
Wt,
|
|
8042
8042
|
Dt,
|
|
8043
8043
|
Ft,
|
|
8044
8044
|
Gt,
|
|
8045
|
-
|
|
8045
|
+
Nt,
|
|
8046
8046
|
Ao,
|
|
8047
8047
|
Lo,
|
|
8048
8048
|
Eo,
|
|
8049
8049
|
Bo,
|
|
8050
|
-
|
|
8050
|
+
jt,
|
|
8051
8051
|
Ro,
|
|
8052
8052
|
Un,
|
|
8053
8053
|
Ht,
|
|
8054
8054
|
Kt,
|
|
8055
8055
|
Ot,
|
|
8056
8056
|
Ut,
|
|
8057
|
-
qt,
|
|
8058
|
-
Mo,
|
|
8059
8057
|
Jt,
|
|
8058
|
+
Mo,
|
|
8059
|
+
qt,
|
|
8060
8060
|
Wo
|
|
8061
8061
|
]),
|
|
8062
8062
|
groups: {
|
|
@@ -8101,7 +8101,7 @@ function z(t, e) {
|
|
|
8101
8101
|
}
|
|
8102
8102
|
e.forEach((o) => n(t, o));
|
|
8103
8103
|
}
|
|
8104
|
-
function
|
|
8104
|
+
function om(t, e, n, o, s) {
|
|
8105
8105
|
const r = `type=${t} subtype=${e} version=${n} ref=${o} keyOrRefId=${s}`, a = L(t, e);
|
|
8106
8106
|
if (!a) {
|
|
8107
8107
|
console.error(`spawnNode property tag not found, ${r}`);
|
|
@@ -8113,18 +8113,18 @@ function lm(t, e, n, o, s) {
|
|
|
8113
8113
|
return;
|
|
8114
8114
|
}
|
|
8115
8115
|
if (o) {
|
|
8116
|
-
const m = c.refKey,
|
|
8116
|
+
const m = c.refKey, p = s;
|
|
8117
8117
|
if (!c.elements.has(m)) {
|
|
8118
8118
|
console.error(`spawnNode [ref] element not found in pkg, ${r}`);
|
|
8119
8119
|
return;
|
|
8120
8120
|
}
|
|
8121
|
-
const u =
|
|
8121
|
+
const u = Ee[m];
|
|
8122
8122
|
if (!u) {
|
|
8123
8123
|
console.error(`spawnNode [ref] element not found in global, ${r}`);
|
|
8124
8124
|
return;
|
|
8125
8125
|
}
|
|
8126
|
-
const
|
|
8127
|
-
if (!
|
|
8126
|
+
const d = u.properties[a];
|
|
8127
|
+
if (!d) {
|
|
8128
8128
|
console.error(`spawnNode [ref] properties not found, ${r}`);
|
|
8129
8129
|
return;
|
|
8130
8130
|
}
|
|
@@ -8134,8 +8134,8 @@ function lm(t, e, n, o, s) {
|
|
|
8134
8134
|
key: ""
|
|
8135
8135
|
}
|
|
8136
8136
|
};
|
|
8137
|
-
return z(y,
|
|
8138
|
-
comp:
|
|
8137
|
+
return z(y, d), y.basic.id = T(16), y.basic.key = m, y.reference = {
|
|
8138
|
+
comp: p
|
|
8139
8139
|
}, y;
|
|
8140
8140
|
} else {
|
|
8141
8141
|
const m = s;
|
|
@@ -8143,30 +8143,30 @@ function lm(t, e, n, o, s) {
|
|
|
8143
8143
|
console.error(`spawnNode [key] element not found in pkg, ${r}`);
|
|
8144
8144
|
return;
|
|
8145
8145
|
}
|
|
8146
|
-
const
|
|
8147
|
-
if (!
|
|
8146
|
+
const p = Ee[m];
|
|
8147
|
+
if (!p) {
|
|
8148
8148
|
console.error(`spawnNode [key] element not found in global, ${r}`);
|
|
8149
8149
|
return;
|
|
8150
8150
|
}
|
|
8151
|
-
if (
|
|
8152
|
-
return
|
|
8151
|
+
if (p.spawn)
|
|
8152
|
+
return p.spawn(t, e);
|
|
8153
8153
|
{
|
|
8154
|
-
const u =
|
|
8154
|
+
const u = p.properties[a];
|
|
8155
8155
|
if (!u) {
|
|
8156
8156
|
console.error(`spawnNode [key] properties not found, ${r}`);
|
|
8157
8157
|
return;
|
|
8158
8158
|
}
|
|
8159
|
-
const
|
|
8159
|
+
const d = {
|
|
8160
8160
|
basic: {
|
|
8161
8161
|
id: "",
|
|
8162
8162
|
key: ""
|
|
8163
8163
|
}
|
|
8164
8164
|
};
|
|
8165
|
-
return z(
|
|
8165
|
+
return z(d, u), d.basic.id = T(16), d.basic.key = m, p.leaf || (d.children = []), d;
|
|
8166
8166
|
}
|
|
8167
8167
|
}
|
|
8168
8168
|
}
|
|
8169
|
-
function
|
|
8169
|
+
function rm(t, e) {
|
|
8170
8170
|
function n(o) {
|
|
8171
8171
|
if (o.basic.id === e)
|
|
8172
8172
|
return o;
|
|
@@ -8190,74 +8190,74 @@ function _u(t) {
|
|
|
8190
8190
|
const n = M(t);
|
|
8191
8191
|
return e(n), n;
|
|
8192
8192
|
}
|
|
8193
|
-
function
|
|
8193
|
+
function sm(t) {
|
|
8194
8194
|
const e = [];
|
|
8195
8195
|
return t.forEach((n) => {
|
|
8196
8196
|
e.push(_u(n));
|
|
8197
8197
|
}), e;
|
|
8198
8198
|
}
|
|
8199
|
-
const Do = "runtimeOrg", Fo = "runtimeEnv", Go = "runtimeMode",
|
|
8200
|
-
function
|
|
8199
|
+
const Do = "runtimeOrg", Fo = "runtimeEnv", Go = "runtimeMode", No = "runtimeDevice", jo = "runtimeDark", Ho = "runtimeType", Ko = "runtimeData", Oo = "runtimeDepends", Uo = "runtimeRuntime", Jo = "runtimeSandbox";
|
|
8200
|
+
function lm(t) {
|
|
8201
8201
|
le(Do, t);
|
|
8202
8202
|
}
|
|
8203
8203
|
function wu() {
|
|
8204
8204
|
return se(Do);
|
|
8205
8205
|
}
|
|
8206
|
-
function
|
|
8206
|
+
function am(t) {
|
|
8207
8207
|
le(Fo, t);
|
|
8208
8208
|
}
|
|
8209
8209
|
function Vu() {
|
|
8210
8210
|
return se(Fo);
|
|
8211
8211
|
}
|
|
8212
|
-
function
|
|
8212
|
+
function cm(t) {
|
|
8213
8213
|
le(Go, t);
|
|
8214
8214
|
}
|
|
8215
8215
|
function H() {
|
|
8216
8216
|
return se(Go);
|
|
8217
8217
|
}
|
|
8218
|
-
function
|
|
8219
|
-
le(jo, Dn(t));
|
|
8220
|
-
}
|
|
8221
|
-
function Ae() {
|
|
8222
|
-
return se(jo);
|
|
8223
|
-
}
|
|
8224
|
-
function ym(t) {
|
|
8218
|
+
function um(t) {
|
|
8225
8219
|
le(No, Dn(t));
|
|
8226
8220
|
}
|
|
8227
|
-
function
|
|
8221
|
+
function ze() {
|
|
8228
8222
|
return se(No);
|
|
8229
8223
|
}
|
|
8230
|
-
function
|
|
8224
|
+
function mm(t) {
|
|
8225
|
+
le(jo, Dn(t));
|
|
8226
|
+
}
|
|
8227
|
+
function je() {
|
|
8228
|
+
return se(jo);
|
|
8229
|
+
}
|
|
8230
|
+
function pm(t) {
|
|
8231
8231
|
le(Ho, t);
|
|
8232
8232
|
}
|
|
8233
|
-
function
|
|
8233
|
+
function ye() {
|
|
8234
8234
|
return se(Ho);
|
|
8235
8235
|
}
|
|
8236
|
-
function
|
|
8236
|
+
function dm(t) {
|
|
8237
8237
|
le(Ko, t);
|
|
8238
8238
|
}
|
|
8239
|
-
function
|
|
8239
|
+
function ke() {
|
|
8240
8240
|
return se(Ko);
|
|
8241
8241
|
}
|
|
8242
|
-
function
|
|
8242
|
+
function ym(t) {
|
|
8243
8243
|
le(Oo, Dn(t));
|
|
8244
8244
|
}
|
|
8245
8245
|
function Su() {
|
|
8246
8246
|
return se(Oo);
|
|
8247
8247
|
}
|
|
8248
|
-
function
|
|
8248
|
+
function fm(t) {
|
|
8249
8249
|
le(Uo, t);
|
|
8250
8250
|
}
|
|
8251
8251
|
function $u() {
|
|
8252
8252
|
return se(Uo);
|
|
8253
8253
|
}
|
|
8254
8254
|
function Iu(t) {
|
|
8255
|
-
le(
|
|
8255
|
+
le(Jo, t);
|
|
8256
8256
|
}
|
|
8257
|
-
function
|
|
8258
|
-
return se(
|
|
8257
|
+
function fe() {
|
|
8258
|
+
return se(Jo, void 0);
|
|
8259
8259
|
}
|
|
8260
|
-
function
|
|
8260
|
+
function Le(t) {
|
|
8261
8261
|
const e = [t.type];
|
|
8262
8262
|
return t.type === "elementProperty" ? e.push(t.nodeId, t.propertyKeys) : t.type === "customProperty" || t.type === "adaptSlotProperty" ? e.push(t.propertyId) : t.type === "state" ? e.push(t.stateId) : console.assert(!1), e.join("/");
|
|
8263
8263
|
}
|
|
@@ -8275,81 +8275,81 @@ function Ke(t, e, n, o, s) {
|
|
|
8275
8275
|
console.assert(!1);
|
|
8276
8276
|
continue;
|
|
8277
8277
|
}
|
|
8278
|
-
let
|
|
8279
|
-
for (const
|
|
8280
|
-
if (n ===
|
|
8281
|
-
if (
|
|
8278
|
+
let p = null;
|
|
8279
|
+
for (const d of m)
|
|
8280
|
+
if (n === Le(d)) {
|
|
8281
|
+
if (d.subKeys) {
|
|
8282
8282
|
if (!ce(
|
|
8283
|
-
|
|
8284
|
-
|
|
8283
|
+
be(o, d.subKeys),
|
|
8284
|
+
be(s, d.subKeys)
|
|
8285
8285
|
)) {
|
|
8286
|
-
|
|
8286
|
+
p = d;
|
|
8287
8287
|
break;
|
|
8288
8288
|
}
|
|
8289
8289
|
} else if (!ce(o, s)) {
|
|
8290
|
-
|
|
8290
|
+
p = d;
|
|
8291
8291
|
break;
|
|
8292
8292
|
}
|
|
8293
8293
|
}
|
|
8294
|
-
if (!
|
|
8294
|
+
if (!p)
|
|
8295
8295
|
continue;
|
|
8296
8296
|
let u;
|
|
8297
|
-
|
|
8298
|
-
for (const
|
|
8299
|
-
if (
|
|
8297
|
+
p.subKeys ? u = be(o, p.subKeys) : u = o;
|
|
8298
|
+
for (const d of m)
|
|
8299
|
+
if (d.subKeys) {
|
|
8300
8300
|
let y;
|
|
8301
|
-
if (
|
|
8301
|
+
if (d.type === "elementProperty")
|
|
8302
8302
|
y = t.getElementProperty(
|
|
8303
|
-
|
|
8304
|
-
|
|
8303
|
+
d.nodeId,
|
|
8304
|
+
d.propertyKeys.split(".")
|
|
8305
8305
|
);
|
|
8306
|
-
else if (
|
|
8307
|
-
y = t.getCustomProperty(
|
|
8308
|
-
else if (
|
|
8309
|
-
y = t.getState(
|
|
8310
|
-
else if (
|
|
8311
|
-
y = t.getAdaptSlotProperty(
|
|
8306
|
+
else if (d.type === "customProperty")
|
|
8307
|
+
y = t.getCustomProperty(d.propertyId);
|
|
8308
|
+
else if (d.type === "state")
|
|
8309
|
+
y = t.getState(d.stateId);
|
|
8310
|
+
else if (d.type === "adaptSlotProperty")
|
|
8311
|
+
y = t.getAdaptSlotProperty(d.propertyId);
|
|
8312
8312
|
else {
|
|
8313
8313
|
console.assert(!1);
|
|
8314
8314
|
continue;
|
|
8315
8315
|
}
|
|
8316
|
-
const b =
|
|
8316
|
+
const b = be(y, d.subKeys);
|
|
8317
8317
|
if (ce(u, b))
|
|
8318
8318
|
continue;
|
|
8319
8319
|
const h = M(y);
|
|
8320
|
-
Gn(h,
|
|
8321
|
-
|
|
8322
|
-
|
|
8320
|
+
Gn(h, d.subKeys, M(u)), d.type === "elementProperty" ? t.setElementProperty(
|
|
8321
|
+
d.nodeId,
|
|
8322
|
+
d.propertyKeys.split("."),
|
|
8323
8323
|
h
|
|
8324
|
-
) :
|
|
8324
|
+
) : d.type === "customProperty" ? t.setCustomProperty(d.propertyId, h) : d.type === "state" ? t.setState(d.stateId, h) : d.type === "adaptSlotProperty" ? t.setAdaptSlotProperty(d.propertyId, h) : console.assert(!1);
|
|
8325
8325
|
} else {
|
|
8326
8326
|
let y;
|
|
8327
|
-
if (
|
|
8327
|
+
if (d.type === "elementProperty")
|
|
8328
8328
|
y = t.getElementProperty(
|
|
8329
|
-
|
|
8330
|
-
|
|
8329
|
+
d.nodeId,
|
|
8330
|
+
d.propertyKeys.split(".")
|
|
8331
8331
|
);
|
|
8332
|
-
else if (
|
|
8333
|
-
y = t.getCustomProperty(
|
|
8334
|
-
else if (
|
|
8335
|
-
y = t.getState(
|
|
8336
|
-
else if (
|
|
8337
|
-
y = t.getAdaptSlotProperty(
|
|
8332
|
+
else if (d.type === "customProperty")
|
|
8333
|
+
y = t.getCustomProperty(d.propertyId);
|
|
8334
|
+
else if (d.type === "state")
|
|
8335
|
+
y = t.getState(d.stateId);
|
|
8336
|
+
else if (d.type === "adaptSlotProperty")
|
|
8337
|
+
y = t.getAdaptSlotProperty(d.propertyId);
|
|
8338
8338
|
else {
|
|
8339
8339
|
console.assert(!1);
|
|
8340
8340
|
continue;
|
|
8341
8341
|
}
|
|
8342
8342
|
if (ce(u, y))
|
|
8343
8343
|
continue;
|
|
8344
|
-
|
|
8345
|
-
|
|
8346
|
-
|
|
8344
|
+
d.type === "elementProperty" ? t.setElementProperty(
|
|
8345
|
+
d.nodeId,
|
|
8346
|
+
d.propertyKeys.split("."),
|
|
8347
8347
|
M(u)
|
|
8348
|
-
) :
|
|
8348
|
+
) : d.type === "customProperty" ? t.setCustomProperty(d.propertyId, M(u)) : d.type === "state" ? t.setState(d.stateId, M(u)) : d.type === "adaptSlotProperty" ? t.setAdaptSlotProperty(d.propertyId, M(u)) : console.assert(!1);
|
|
8349
8349
|
}
|
|
8350
8350
|
}
|
|
8351
8351
|
}
|
|
8352
|
-
function
|
|
8352
|
+
function bm(t, e, n) {
|
|
8353
8353
|
return `${t}/${e}/${n}`;
|
|
8354
8354
|
}
|
|
8355
8355
|
function lo(t) {
|
|
@@ -8367,7 +8367,7 @@ function lo(t) {
|
|
|
8367
8367
|
function Cu(t, e, n) {
|
|
8368
8368
|
return `${t}/${e}/${n}`;
|
|
8369
8369
|
}
|
|
8370
|
-
function
|
|
8370
|
+
function qo(t) {
|
|
8371
8371
|
const e = t.split("/");
|
|
8372
8372
|
return e.length < 3 ? (console.assert(!1, "invalid method id"), {
|
|
8373
8373
|
kind: "elementMethod",
|
|
@@ -8396,7 +8396,7 @@ function Pu(t) {
|
|
|
8396
8396
|
}
|
|
8397
8397
|
function ni(t, e) {
|
|
8398
8398
|
const n = Su(), o = oe(-1);
|
|
8399
|
-
|
|
8399
|
+
me(() => {
|
|
8400
8400
|
const s = n.value[t];
|
|
8401
8401
|
if (!s) {
|
|
8402
8402
|
o.value = -1, e.value = void 0, fo.emit("compNotAvail", t);
|
|
@@ -8405,17 +8405,17 @@ function ni(t, e) {
|
|
|
8405
8405
|
o.value !== s.dataSeq && (o.value = s.dataSeq, e.value = M(s.data));
|
|
8406
8406
|
});
|
|
8407
8407
|
}
|
|
8408
|
-
function
|
|
8408
|
+
function hm() {
|
|
8409
8409
|
let t;
|
|
8410
8410
|
const e = async () => (t = (await $r()).newRuntime(), console.log("runtime created"), t);
|
|
8411
8411
|
return Ge(() => {
|
|
8412
8412
|
t && (t.dispose(), console.log("runtime dispose"));
|
|
8413
8413
|
}), { createRuntime: e };
|
|
8414
8414
|
}
|
|
8415
|
-
function
|
|
8415
|
+
function Pe(t) {
|
|
8416
8416
|
return !!t.vm;
|
|
8417
8417
|
}
|
|
8418
|
-
function
|
|
8418
|
+
function Fe(t, e) {
|
|
8419
8419
|
if (e === null)
|
|
8420
8420
|
return t.null;
|
|
8421
8421
|
if (e === !0)
|
|
@@ -8425,7 +8425,7 @@ function ue(t, e) {
|
|
|
8425
8425
|
if (Array.isArray(e)) {
|
|
8426
8426
|
const n = t.newArray();
|
|
8427
8427
|
for (let o = 0; o < e.length; o++) {
|
|
8428
|
-
const s =
|
|
8428
|
+
const s = Fe(t, e[o]);
|
|
8429
8429
|
t.setProp(n, o.toString(), s), s.dispose();
|
|
8430
8430
|
}
|
|
8431
8431
|
return n;
|
|
@@ -8438,7 +8438,7 @@ function ue(t, e) {
|
|
|
8438
8438
|
case "object": {
|
|
8439
8439
|
const n = t.newObject();
|
|
8440
8440
|
for (const o of Object.keys(e)) {
|
|
8441
|
-
const s =
|
|
8441
|
+
const s = Fe(t, e[o]);
|
|
8442
8442
|
t.setProp(n, o, s), s.dispose();
|
|
8443
8443
|
}
|
|
8444
8444
|
return n;
|
|
@@ -8454,65 +8454,63 @@ function Tu(t) {
|
|
|
8454
8454
|
}
|
|
8455
8455
|
const { vm: e } = t;
|
|
8456
8456
|
e.newFunction("__parseKeysV1__", (n) => {
|
|
8457
|
-
const o = e.getString(n), s =
|
|
8458
|
-
|
|
8459
|
-
|
|
8460
|
-
|
|
8461
|
-
|
|
8462
|
-
|
|
8463
|
-
|
|
8464
|
-
|
|
8465
|
-
|
|
8457
|
+
const o = e.getString(n), s = e.newArray(), r = o.split(".");
|
|
8458
|
+
let a = 0;
|
|
8459
|
+
for (let c = 0; c < r.length; c++) {
|
|
8460
|
+
const m = r[c].trim();
|
|
8461
|
+
if (m !== "")
|
|
8462
|
+
if (/^\[\d+\]$/.test(m)) {
|
|
8463
|
+
let p = parseInt(m.slice(1, -1), 10);
|
|
8464
|
+
p > 0 && p--;
|
|
8465
|
+
const u = e.newNumber(p);
|
|
8466
|
+
e.setProp(s, a.toString(), u), u.dispose(), a++;
|
|
8467
|
+
} else {
|
|
8468
|
+
const p = e.newString(m);
|
|
8469
|
+
e.setProp(s, a.toString(), p), p.dispose(), a++;
|
|
8470
|
+
}
|
|
8466
8471
|
}
|
|
8467
|
-
return
|
|
8472
|
+
return s;
|
|
8468
8473
|
}).consume((n) => e.setProp(e.global, "__parseKeysV1__", n)), e.newFunction("__parseJsonV1__", (n) => {
|
|
8469
8474
|
const o = e.getString(n);
|
|
8470
|
-
|
|
8471
|
-
const s = JSON.parse(o);
|
|
8472
|
-
return ue(e, s);
|
|
8473
|
-
} catch {
|
|
8474
|
-
return ue(e, {});
|
|
8475
|
-
}
|
|
8475
|
+
return e.evalCode(`JSON.parse('${o}')`).unwrap();
|
|
8476
8476
|
}).consume((n) => e.setProp(e.global, "__parseJsonV1__", n)), e.newFunction("__jsonStringifyV1__", (n) => {
|
|
8477
8477
|
const o = e.dump(n), s = JSON.stringify(o);
|
|
8478
8478
|
return e.newString(s);
|
|
8479
8479
|
}).consume((n) => e.setProp(e.global, "__jsonStringifyV1__", n)), e.newFunction("__consoleLogV1__", (n, ...o) => {
|
|
8480
|
-
const s = e.dump(n), r =
|
|
8481
|
-
for (const a of o)
|
|
8482
|
-
r.push(e.dump(a));
|
|
8480
|
+
const s = e.dump(n), r = o.map(e.dump);
|
|
8483
8481
|
console.log(s, ...r);
|
|
8484
8482
|
}).consume((n) => e.setProp(e.global, "__consoleLogV1__", n)), e.newFunction("__debugTraceV1__", (n) => {
|
|
8485
8483
|
const o = e.dump(n);
|
|
8486
8484
|
fo.emit("consoleAppend", o);
|
|
8487
8485
|
}).consume((n) => e.setProp(e.global, "__debugTraceV1__", n)), e.newFunction("__messageV1__", (n, o) => {
|
|
8488
|
-
const s = e.getString(n), r = e.
|
|
8486
|
+
const s = e.getString(n), r = JSON.stringify(e.dump(o));
|
|
8489
8487
|
s === "info" ? or(r) : s === "success" ? rr(r) : s === "warning" ? bo(r) : s === "error" && ho(r);
|
|
8490
8488
|
}).consume((n) => e.setProp(e.global, "__messageV1__", n)), e.newFunction("__timeoutV1__", (n, o) => {
|
|
8491
8489
|
const s = e.getNumber(n), r = e.getNumber(o);
|
|
8492
8490
|
window.setTimeout(() => {
|
|
8493
|
-
if (
|
|
8491
|
+
if (Pe(t)) {
|
|
8494
8492
|
var a = [];
|
|
8495
8493
|
try {
|
|
8496
|
-
const u =
|
|
8494
|
+
const u = we(a, e.getProp(e.global, "__timeoutCallback__"));
|
|
8497
8495
|
e.callFunction(u, e.global, e.newNumber(s));
|
|
8498
8496
|
} catch (c) {
|
|
8499
|
-
var m = c,
|
|
8497
|
+
var m = c, p = !0;
|
|
8500
8498
|
} finally {
|
|
8501
|
-
|
|
8499
|
+
Ve(a, m, p);
|
|
8502
8500
|
}
|
|
8503
8501
|
}
|
|
8504
8502
|
}, r);
|
|
8505
8503
|
}).consume((n) => e.setProp(e.global, "__timeoutV1__", n)), e.newFunction("__delayV1__", (n) => {
|
|
8506
8504
|
const o = e.getNumber(n), { id: s, promise: r } = t.promiseManager.acquire();
|
|
8507
8505
|
return window.setTimeout(() => {
|
|
8508
|
-
|
|
8506
|
+
Pe(t) && (r.resolve(), t.promiseManager.release(s));
|
|
8509
8507
|
}, o), r.settled.then(e.runtime.executePendingJobs), r.handle;
|
|
8510
8508
|
}).consume((n) => e.setProp(e.global, "__delayV1__", n));
|
|
8511
8509
|
}
|
|
8512
8510
|
const Xo = sr({
|
|
8513
8511
|
baseUrl: "http://localhost/computebase/",
|
|
8514
8512
|
onError: (t) => {
|
|
8515
|
-
const { i18n: e } =
|
|
8513
|
+
const { i18n: e } = ge;
|
|
8516
8514
|
ho(Pr(e, t));
|
|
8517
8515
|
}
|
|
8518
8516
|
});
|
|
@@ -8527,22 +8525,20 @@ function Au(t) {
|
|
|
8527
8525
|
}
|
|
8528
8526
|
const { vm: e } = t;
|
|
8529
8527
|
e.newFunction("__callFuncV1__", (n, o, s, r, a) => {
|
|
8530
|
-
const c = e.getString(n), m = e.getString(o),
|
|
8531
|
-
|
|
8532
|
-
|
|
8533
|
-
|
|
8534
|
-
|
|
8535
|
-
|
|
8536
|
-
|
|
8537
|
-
|
|
8538
|
-
|
|
8539
|
-
|
|
8540
|
-
|
|
8541
|
-
|
|
8542
|
-
|
|
8543
|
-
|
|
8544
|
-
}
|
|
8545
|
-
return b.settled.then(e.runtime.executePendingJobs), b.handle;
|
|
8528
|
+
const c = e.getString(n), m = e.getString(o), p = e.dump(s), u = e.getString(r), d = e.getString(a), { id: y, promise: b } = t.promiseManager.acquire(), h = JSON.stringify(p);
|
|
8529
|
+
return zu({
|
|
8530
|
+
spaceId: c,
|
|
8531
|
+
id: m,
|
|
8532
|
+
strInputs: h,
|
|
8533
|
+
env: u
|
|
8534
|
+
}).then(
|
|
8535
|
+
({ strOutputs: k }) => {
|
|
8536
|
+
Pe(t) && (b.resolve(e.evalCode(`JSON.parse('${k}')`).unwrap()), t.promiseManager.release(y));
|
|
8537
|
+
},
|
|
8538
|
+
(k) => {
|
|
8539
|
+
Pe(t) && (b.reject(e.newString(`call func <${d}> failed, ${k}`)), t.promiseManager.release(y));
|
|
8540
|
+
}
|
|
8541
|
+
), b.settled.then(e.runtime.executePendingJobs), b.handle;
|
|
8546
8542
|
}).consume((n) => e.setProp(e.global, "__callFuncV1__", n));
|
|
8547
8543
|
}
|
|
8548
8544
|
function Lu(t) {
|
|
@@ -8563,91 +8559,91 @@ function Eu(t) {
|
|
|
8563
8559
|
{
|
|
8564
8560
|
var c = [];
|
|
8565
8561
|
try {
|
|
8566
|
-
const R =
|
|
8562
|
+
const R = we(c, e.getProp(e.global, "__triggerEventInner__"));
|
|
8567
8563
|
e.callFunction(R, e.global, n, ...o);
|
|
8568
8564
|
} catch (m) {
|
|
8569
|
-
var
|
|
8565
|
+
var p = m, u = !0;
|
|
8570
8566
|
} finally {
|
|
8571
|
-
|
|
8567
|
+
Ve(c, p, u);
|
|
8572
8568
|
}
|
|
8573
8569
|
}
|
|
8574
8570
|
const s = e.getString(n), { kind: r, eventKey: a } = Pu(s);
|
|
8575
8571
|
if (r === "customEvent") {
|
|
8576
8572
|
var P = [];
|
|
8577
8573
|
try {
|
|
8578
|
-
const R =
|
|
8574
|
+
const R = we(P, e.getProp(e.global, "__triggerEventV1__"));
|
|
8579
8575
|
{
|
|
8580
|
-
var
|
|
8576
|
+
var d = [];
|
|
8581
8577
|
try {
|
|
8582
|
-
const C =
|
|
8578
|
+
const C = we(d, e.newString(
|
|
8583
8579
|
Q("referenceEvent", t.id, a)
|
|
8584
8580
|
));
|
|
8585
8581
|
e.callFunction(R, e.global, C, ...o);
|
|
8586
8582
|
} catch (y) {
|
|
8587
8583
|
var b = y, h = !0;
|
|
8588
8584
|
} finally {
|
|
8589
|
-
|
|
8585
|
+
Ve(d, b, h);
|
|
8590
8586
|
}
|
|
8591
8587
|
}
|
|
8592
8588
|
{
|
|
8593
8589
|
var k = [];
|
|
8594
8590
|
try {
|
|
8595
|
-
const C =
|
|
8591
|
+
const C = we(k, e.newString(
|
|
8596
8592
|
Q("multipleRefEvent", t.id, a)
|
|
8597
8593
|
));
|
|
8598
8594
|
e.callFunction(R, e.global, C, ...o);
|
|
8599
8595
|
} catch (x) {
|
|
8600
8596
|
var S = x, I = !0;
|
|
8601
8597
|
} finally {
|
|
8602
|
-
|
|
8598
|
+
Ve(k, S, I);
|
|
8603
8599
|
}
|
|
8604
8600
|
}
|
|
8605
8601
|
} catch (E) {
|
|
8606
|
-
var D = E,
|
|
8602
|
+
var D = E, j = !0;
|
|
8607
8603
|
} finally {
|
|
8608
|
-
|
|
8604
|
+
Ve(P, D, j);
|
|
8609
8605
|
}
|
|
8610
8606
|
}
|
|
8611
8607
|
}).consume((n) => e.setProp(e.global, "__triggerEventV1__", n)), e.newFunction("__getPropertyV1__", (n, o) => {
|
|
8612
8608
|
const s = e.getString(n), r = e.getString(o), { kind: a, nodeId: c, propertyKey: m } = lo(s);
|
|
8613
|
-
let
|
|
8609
|
+
let p;
|
|
8614
8610
|
if (a === "elementProperty")
|
|
8615
|
-
|
|
8611
|
+
p = t.getElementProperty(c, m.split("."));
|
|
8616
8612
|
else if (a === "referenceProperty") {
|
|
8617
8613
|
const u = t.children[c];
|
|
8618
|
-
u && (
|
|
8614
|
+
u && (p = u.getCustomProperty(m));
|
|
8619
8615
|
} else if (a === "multipleRefProperty") {
|
|
8620
8616
|
const u = t.children[c + "/" + r];
|
|
8621
|
-
u && (
|
|
8622
|
-
} else a === "customProperty" ?
|
|
8623
|
-
return
|
|
8617
|
+
u && (p = u.getCustomProperty(m));
|
|
8618
|
+
} else a === "customProperty" ? p = t.getCustomProperty(m) : a === "elementSlotProperty" || a === "customSlotProperty" ? p = t.getAdaptSlotProperty(m) : console.assert(!1);
|
|
8619
|
+
return Fe(e, p);
|
|
8624
8620
|
}).consume((n) => e.setProp(e.global, "__getPropertyV1__", n)), e.newFunction("__setPropertyV1__", (n, o, s) => {
|
|
8625
|
-
const r = e.getString(n), a = e.getString(o), c = e.dump(s), { kind: m, nodeId:
|
|
8621
|
+
const r = e.getString(n), a = e.getString(o), c = e.dump(s), { kind: m, nodeId: p, propertyKey: u } = lo(r);
|
|
8626
8622
|
if (m === "elementProperty")
|
|
8627
|
-
t.setElementProperty(
|
|
8623
|
+
t.setElementProperty(p, u.split("."), c);
|
|
8628
8624
|
else if (m === "referenceProperty") {
|
|
8629
|
-
const
|
|
8630
|
-
|
|
8625
|
+
const d = t.children[p];
|
|
8626
|
+
d && d.setCustomProperty(u, c);
|
|
8631
8627
|
} else if (m === "multipleRefProperty") {
|
|
8632
|
-
const
|
|
8633
|
-
|
|
8628
|
+
const d = t.children[p + "/" + a];
|
|
8629
|
+
d && d.setCustomProperty(u, c);
|
|
8634
8630
|
} else m === "customProperty" ? t.setCustomProperty(u, c) : m === "elementSlotProperty" || m === "customSlotProperty" ? t.setAdaptSlotProperty(u, c) : console.assert(!1);
|
|
8635
8631
|
}).consume((n) => e.setProp(e.global, "__setPropertyV1__", n)), e.newFunction("__callMethodV1__", (n, o, s) => {
|
|
8636
|
-
const r = e.getString(n), a = e.getString(o), c = e.dump(s), { kind: m, nodeId:
|
|
8637
|
-
let
|
|
8632
|
+
const r = e.getString(n), a = e.getString(o), c = e.dump(s), { kind: m, nodeId: p, methodKey: u } = qo(r);
|
|
8633
|
+
let d;
|
|
8638
8634
|
if (m === "elementMethod")
|
|
8639
|
-
|
|
8635
|
+
d = t.callElementMethod(r, c);
|
|
8640
8636
|
else if (m === "referenceMethod") {
|
|
8641
|
-
const y = t.children[
|
|
8642
|
-
y && (
|
|
8637
|
+
const y = t.children[p];
|
|
8638
|
+
y && (d = y.callCustomMethod(u, c));
|
|
8643
8639
|
} else if (m === "multipleRefMethod") {
|
|
8644
|
-
const y = t.children[
|
|
8645
|
-
y && (
|
|
8640
|
+
const y = t.children[p + "/" + a];
|
|
8641
|
+
y && (d = y.callCustomMethod(u, c));
|
|
8646
8642
|
} else m === "customMethod" || m === "customSlotMethod" || console.assert(!1);
|
|
8647
|
-
return
|
|
8643
|
+
return d;
|
|
8648
8644
|
}).consume((n) => e.setProp(e.global, "__callMethodV1__", n)), e.newFunction("__getStateV1__", (n) => {
|
|
8649
8645
|
const o = e.getString(n), s = t.getState(o);
|
|
8650
|
-
return
|
|
8646
|
+
return Fe(e, s);
|
|
8651
8647
|
}).consume((n) => e.setProp(e.global, "__getStateV1__", n)), e.newFunction("__setStateV1__", (n, o) => {
|
|
8652
8648
|
const s = e.getString(n), r = e.dump(o);
|
|
8653
8649
|
t.setState(s, r);
|
|
@@ -8659,22 +8655,22 @@ function Eu(t) {
|
|
|
8659
8655
|
appId: `${s}${t.env}`,
|
|
8660
8656
|
pageId: r
|
|
8661
8657
|
};
|
|
8662
|
-
|
|
8658
|
+
ge.router.replace({ path: a, query: c });
|
|
8663
8659
|
} else t.mode === "preview" && bo(
|
|
8664
|
-
|
|
8660
|
+
ge.i18n.global.t(
|
|
8665
8661
|
"x-runtime-lib.msg.takeEffectOnlyAfterReleased"
|
|
8666
8662
|
)
|
|
8667
8663
|
);
|
|
8668
8664
|
}).consume((n) => e.setProp(e.global, "__navigateToV1__", n)), e.newFunction("__openConfirmDlgV1__", (n, o) => {
|
|
8669
8665
|
const s = e.getString(n), r = e.getString(o), { id: a, promise: c } = t.promiseManager.acquire();
|
|
8670
8666
|
return lr({ title: s, text: r }).then((m) => {
|
|
8671
|
-
|
|
8667
|
+
Pe(t) && (m === void 0 ? c.resolve(e.undefined) : c.resolve(m ? e.true : e.false), t.promiseManager.release(a));
|
|
8672
8668
|
}), c.settled.then(e.runtime.executePendingJobs), c.handle;
|
|
8673
8669
|
}).consume((n) => e.setProp(e.global, "__openConfirmDlgV1__", n)), e.newFunction("__openPromptDlgV1__", (n, o, s) => {
|
|
8674
|
-
const r = e.getString(n), a = e.getString(o), c = e.dump(s), { id: m, promise:
|
|
8670
|
+
const r = e.getString(n), a = e.getString(o), c = e.dump(s), { id: m, promise: p } = t.promiseManager.acquire();
|
|
8675
8671
|
return ar({ title: r, label: a, value: c }).then((u) => {
|
|
8676
|
-
|
|
8677
|
-
}),
|
|
8672
|
+
Pe(t) && (u === void 0 ? p.resolve(e.undefined) : p.resolve(e.newString(u)), t.promiseManager.release(m));
|
|
8673
|
+
}), p.settled.then(e.runtime.executePendingJobs), p.handle;
|
|
8678
8674
|
}).consume((n) => e.setProp(e.global, "__openPromptDlgV1__", n));
|
|
8679
8675
|
}
|
|
8680
8676
|
function Bu(t) {
|
|
@@ -8717,7 +8713,7 @@ function __triggerEventInner__(id, ...params) {
|
|
|
8717
8713
|
callbacks[i](...params)
|
|
8718
8714
|
}
|
|
8719
8715
|
}
|
|
8720
|
-
|
|
8716
|
+
|
|
8721
8717
|
let __timers__ = {}
|
|
8722
8718
|
let __currTimerId__ = 0
|
|
8723
8719
|
|
|
@@ -8725,9 +8721,8 @@ function __createTimerV1__(interval, loop, count, immediate, callback) {
|
|
|
8725
8721
|
if (!loop && count <= 0) {
|
|
8726
8722
|
return
|
|
8727
8723
|
}
|
|
8728
|
-
__currTimerId__ = __currTimerId__ + 1
|
|
8729
8724
|
const timer = {}
|
|
8730
|
-
timer.id = __currTimerId__
|
|
8725
|
+
timer.id = __currTimerId__++
|
|
8731
8726
|
timer.interval = interval
|
|
8732
8727
|
timer.loop = loop
|
|
8733
8728
|
timer.count = count
|
|
@@ -8759,13 +8754,13 @@ function __timeoutCallback__(timerId) {
|
|
|
8759
8754
|
}
|
|
8760
8755
|
}
|
|
8761
8756
|
}
|
|
8762
|
-
|
|
8757
|
+
|
|
8763
8758
|
function __destroy__() {
|
|
8764
8759
|
__events__ = {}
|
|
8765
8760
|
__timers__ = {}
|
|
8766
8761
|
}
|
|
8767
|
-
|
|
8768
|
-
class
|
|
8762
|
+
`;
|
|
8763
|
+
class Mu {
|
|
8769
8764
|
vm;
|
|
8770
8765
|
promiseId = 0;
|
|
8771
8766
|
promises = {};
|
|
@@ -8783,7 +8778,7 @@ class Fu {
|
|
|
8783
8778
|
delete this.promises[e];
|
|
8784
8779
|
}
|
|
8785
8780
|
}
|
|
8786
|
-
class
|
|
8781
|
+
class Wu {
|
|
8787
8782
|
kind;
|
|
8788
8783
|
id;
|
|
8789
8784
|
refKey;
|
|
@@ -8795,8 +8790,8 @@ class Gu {
|
|
|
8795
8790
|
type;
|
|
8796
8791
|
eventBus = Ir();
|
|
8797
8792
|
hooks;
|
|
8798
|
-
constructor(e, n, o, s, r, a, c, m,
|
|
8799
|
-
this.kind = e, this.id = n, this.refKey = o, this.parent = s, this.org = r, this.env = a, this.mode = c, this.type = m, this.hooks =
|
|
8793
|
+
constructor(e, n, o, s, r, a, c, m, p) {
|
|
8794
|
+
this.kind = e, this.id = n, this.refKey = o, this.parent = s, this.org = r, this.env = a, this.mode = c, this.type = m, this.hooks = p, this.parent?.addChild(this), console.log(`Sandbox/constructor id='${this.id}'`);
|
|
8800
8795
|
}
|
|
8801
8796
|
dispose() {
|
|
8802
8797
|
this.parent?.removeChild(this.id), this.destroyVm(), console.log(`Sandbox/dispose id='${this.id}'`);
|
|
@@ -8813,7 +8808,7 @@ class Gu {
|
|
|
8813
8808
|
vm;
|
|
8814
8809
|
promiseManager;
|
|
8815
8810
|
async createVm(e, n) {
|
|
8816
|
-
this.vm = e.newContext(), this.promiseManager = new
|
|
8811
|
+
this.vm = e.newContext(), this.promiseManager = new Mu(this.vm), Bu(this), this.vm.evalCode(Ru), this.vm.setProp(this.vm.global, "__env__", this.vm.newString(this.env)), this.vm.evalCode(n), this.callFunction(
|
|
8817
8812
|
"__triggerEventV1__",
|
|
8818
8813
|
Q("elementEvent", "globality", "startup")
|
|
8819
8814
|
);
|
|
@@ -8827,7 +8822,7 @@ class Gu {
|
|
|
8827
8822
|
console.log(`callFunction ${e} ${[...n]}`);
|
|
8828
8823
|
const o = this.vm.getProp(this.vm.global, e), s = [];
|
|
8829
8824
|
for (const r of n)
|
|
8830
|
-
s.push(
|
|
8825
|
+
s.push(Fe(this.vm, r));
|
|
8831
8826
|
this.vm.callFunction(o, this.vm.global, ...s), o.dispose();
|
|
8832
8827
|
}
|
|
8833
8828
|
//--------------------------
|
|
@@ -8854,7 +8849,7 @@ class Gu {
|
|
|
8854
8849
|
);
|
|
8855
8850
|
return;
|
|
8856
8851
|
}
|
|
8857
|
-
return
|
|
8852
|
+
return be(o, n);
|
|
8858
8853
|
}
|
|
8859
8854
|
setElementProperty(e, n, o) {
|
|
8860
8855
|
const s = this.nodes[e];
|
|
@@ -8867,7 +8862,7 @@ class Gu {
|
|
|
8867
8862
|
);
|
|
8868
8863
|
return;
|
|
8869
8864
|
}
|
|
8870
|
-
const r =
|
|
8865
|
+
const r = be(s, n);
|
|
8871
8866
|
ce(o, r) || (Gn(s, n, o), this.hooks?.onElementPropertyChange(
|
|
8872
8867
|
s.basic.id,
|
|
8873
8868
|
n,
|
|
@@ -8909,7 +8904,7 @@ class Gu {
|
|
|
8909
8904
|
callElementMethod(e, n) {
|
|
8910
8905
|
if (!Z(this.mode))
|
|
8911
8906
|
return;
|
|
8912
|
-
const { methodKey: o } =
|
|
8907
|
+
const { methodKey: o } = qo(e), s = {};
|
|
8913
8908
|
return this.eventBus.emit(e, { key: o, inputs: n, outputs: s }), s;
|
|
8914
8909
|
}
|
|
8915
8910
|
callCustomMethod(e, n) {
|
|
@@ -8932,7 +8927,7 @@ class Gu {
|
|
|
8932
8927
|
}
|
|
8933
8928
|
}
|
|
8934
8929
|
function ii(t, e, n, o, s) {
|
|
8935
|
-
const r = wu(), a = Vu(), c = H(), m =
|
|
8930
|
+
const r = wu(), a = Vu(), c = H(), m = ye(), p = ze(), u = je(), d = $u(), y = (S, I, P, E) => {
|
|
8936
8931
|
if (Z(c) && (x.callFunction(
|
|
8937
8932
|
"__triggerEventV1__",
|
|
8938
8933
|
Q("elementPropertyChangeEvent", S, I.join(".")),
|
|
@@ -8943,7 +8938,7 @@ function ii(t, e, n, o, s) {
|
|
|
8943
8938
|
I instanceof Array ? D = I.join(".") : D = I, Ke(
|
|
8944
8939
|
x,
|
|
8945
8940
|
t.value.code.reactivity,
|
|
8946
|
-
|
|
8941
|
+
Le({
|
|
8947
8942
|
type: "elementProperty",
|
|
8948
8943
|
nodeId: S,
|
|
8949
8944
|
propertyKeys: D
|
|
@@ -8971,7 +8966,7 @@ function ii(t, e, n, o, s) {
|
|
|
8971
8966
|
), t.value?.code.reactivity && Ke(
|
|
8972
8967
|
x,
|
|
8973
8968
|
t.value.code.reactivity,
|
|
8974
|
-
|
|
8969
|
+
Le({ type: "customProperty", propertyId: S }),
|
|
8975
8970
|
I,
|
|
8976
8971
|
P
|
|
8977
8972
|
));
|
|
@@ -8979,7 +8974,7 @@ function ii(t, e, n, o, s) {
|
|
|
8979
8974
|
Z(c) && t.value?.code.reactivity && Ke(
|
|
8980
8975
|
x,
|
|
8981
8976
|
t.value.code.reactivity,
|
|
8982
|
-
|
|
8977
|
+
Le({ type: "adaptSlotProperty", propertyId: S }),
|
|
8983
8978
|
I,
|
|
8984
8979
|
P
|
|
8985
8980
|
);
|
|
@@ -8992,11 +8987,11 @@ function ii(t, e, n, o, s) {
|
|
|
8992
8987
|
), t.value?.code.reactivity && Ke(
|
|
8993
8988
|
x,
|
|
8994
8989
|
t.value.code.reactivity,
|
|
8995
|
-
|
|
8990
|
+
Le({ type: "state", stateId: S }),
|
|
8996
8991
|
I,
|
|
8997
8992
|
P
|
|
8998
8993
|
));
|
|
8999
|
-
}, x = new
|
|
8994
|
+
}, x = new Wu(e, n, o, s, r, a, c, m, {
|
|
9000
8995
|
onElementPropertyChange: y,
|
|
9001
8996
|
onCustomPropertyChange: b,
|
|
9002
8997
|
onAdaptSlotPropertyChange: h,
|
|
@@ -9006,14 +9001,14 @@ function ii(t, e, n, o, s) {
|
|
|
9006
9001
|
x.dispose();
|
|
9007
9002
|
}), Z(c)) {
|
|
9008
9003
|
const S = async () => {
|
|
9009
|
-
x.destroyVm(), x.syncNodes(t.value), x.resetCustomProperties(), x.resetAdaptSlotProperties(), x.resetStates(), !(!t.value || !t.value.code.script) && x.createVm(
|
|
9004
|
+
x.destroyVm(), x.syncNodes(t.value), x.resetCustomProperties(), x.resetAdaptSlotProperties(), x.resetStates(), !(!t.value || !t.value.code.script) && x.createVm(d, t.value.code.script);
|
|
9010
9005
|
};
|
|
9011
9006
|
S(), re(t, () => {
|
|
9012
9007
|
S();
|
|
9013
9008
|
});
|
|
9014
9009
|
}
|
|
9015
9010
|
Z(c) && re(
|
|
9016
|
-
|
|
9011
|
+
p,
|
|
9017
9012
|
(S, I) => {
|
|
9018
9013
|
const P = Oe(S.width), E = Oe(I?.width ?? S.width);
|
|
9019
9014
|
x.callFunction(
|
|
@@ -9036,27 +9031,27 @@ function ii(t, e, n, o, s) {
|
|
|
9036
9031
|
{ immediate: !0 }
|
|
9037
9032
|
);
|
|
9038
9033
|
}
|
|
9039
|
-
const
|
|
9034
|
+
const Du = (t, e, n) => {
|
|
9040
9035
|
const o = t[e];
|
|
9041
9036
|
return o ? typeof o == "function" ? o() : Promise.resolve(o) : new Promise((s, r) => {
|
|
9042
9037
|
(typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(r.bind(null, /* @__PURE__ */ new Error("Unknown variable dynamic import: " + e + (e.split("/").length !== n ? ". Note that variables only represent file names one level deep." : ""))));
|
|
9043
9038
|
});
|
|
9044
9039
|
};
|
|
9045
|
-
async function
|
|
9046
|
-
return (await
|
|
9040
|
+
async function gm(t) {
|
|
9041
|
+
return (await Du(/* @__PURE__ */ Object.assign({ "./locales/en/index.ts": () => import("./i18n-en.kb94vvdw.js"), "./locales/zhHans/index.ts": () => import("./i18n-zhHans.oqwexg4o.js") }), `./locales/${t}/index.ts`, 4)).default;
|
|
9047
9042
|
}
|
|
9048
9043
|
export {
|
|
9049
|
-
|
|
9044
|
+
qu as addIndent,
|
|
9050
9045
|
Ra as ambientLightV1,
|
|
9051
|
-
|
|
9046
|
+
nm as badgeV1,
|
|
9052
9047
|
dn as barChartV1,
|
|
9053
9048
|
mn as boxGeometryV1,
|
|
9054
9049
|
wo as breakpoints,
|
|
9055
|
-
|
|
9050
|
+
qa as btnGroupV1,
|
|
9056
9051
|
Xa as btnToggleV1,
|
|
9057
9052
|
fn as btnV1,
|
|
9058
9053
|
Oe as calcBreakpoint,
|
|
9059
|
-
|
|
9054
|
+
We as cardV1,
|
|
9060
9055
|
Za as checkboxV1,
|
|
9061
9056
|
hn as chipGroupV1,
|
|
9062
9057
|
bn as chipV1,
|
|
@@ -9069,35 +9064,35 @@ export {
|
|
|
9069
9064
|
rc as dialogV1,
|
|
9070
9065
|
Ma as directionalLightV1,
|
|
9071
9066
|
_u as duplicateNode,
|
|
9072
|
-
|
|
9073
|
-
|
|
9074
|
-
|
|
9075
|
-
|
|
9067
|
+
sm as duplicateNodes,
|
|
9068
|
+
Ee as elements,
|
|
9069
|
+
Zu as ensureContext,
|
|
9070
|
+
im as fileInputV1,
|
|
9076
9071
|
xn as flexLayoutEntryV1,
|
|
9077
|
-
|
|
9072
|
+
De as flexLayoutV1,
|
|
9078
9073
|
_n as formV1,
|
|
9079
9074
|
T as genId,
|
|
9080
|
-
|
|
9081
|
-
|
|
9075
|
+
Ae as getBreakpointProp,
|
|
9076
|
+
be as getField,
|
|
9082
9077
|
li as getIndexOfBreakpoint,
|
|
9083
|
-
|
|
9078
|
+
rm as getNode,
|
|
9084
9079
|
so as getPropertyDefault,
|
|
9085
9080
|
L as getPropertyTag,
|
|
9086
|
-
|
|
9081
|
+
Yu as getTypeColor,
|
|
9087
9082
|
Oa as globalityV1,
|
|
9088
9083
|
Fa as groupV1,
|
|
9089
9084
|
mc as iconV1,
|
|
9090
9085
|
z as initProperties,
|
|
9091
|
-
|
|
9092
|
-
|
|
9086
|
+
je as injectDark,
|
|
9087
|
+
ke as injectData,
|
|
9093
9088
|
Su as injectDepends,
|
|
9094
|
-
|
|
9089
|
+
ze as injectDevice,
|
|
9095
9090
|
Vu as injectEnv,
|
|
9096
9091
|
H as injectMode,
|
|
9097
9092
|
wu as injectOrg,
|
|
9098
9093
|
$u as injectRuntime,
|
|
9099
|
-
|
|
9100
|
-
|
|
9094
|
+
fe as injectSandbox,
|
|
9095
|
+
ye as injectType,
|
|
9101
9096
|
Vo as isCircularRef,
|
|
9102
9097
|
Z as isExecutableMode,
|
|
9103
9098
|
Br as isLocaleOfEventKind,
|
|
@@ -9107,36 +9102,36 @@ export {
|
|
|
9107
9102
|
Ze as isPixelStr,
|
|
9108
9103
|
Ia as keyboardControlsV1,
|
|
9109
9104
|
yn as lineChartV1,
|
|
9110
|
-
|
|
9105
|
+
gm as loadLocaleMessageRuntime,
|
|
9111
9106
|
Q as makeEventId,
|
|
9112
9107
|
Cu as makeMethodId,
|
|
9113
|
-
|
|
9114
|
-
|
|
9108
|
+
bm as makePropertyId,
|
|
9109
|
+
Le as makeTriggerId,
|
|
9115
9110
|
Ca as mapControlsV1,
|
|
9116
9111
|
pc as menuV1,
|
|
9117
|
-
|
|
9118
|
-
|
|
9119
|
-
|
|
9112
|
+
Re as meshBasicMaterialV1,
|
|
9113
|
+
Me as meshV1,
|
|
9114
|
+
ja as multipleRefV1,
|
|
9120
9115
|
wn as numberInputV1,
|
|
9121
9116
|
Pa as orbitControlsV1,
|
|
9122
9117
|
_a as orthographicCameraV1,
|
|
9123
9118
|
zr as pageTypes,
|
|
9124
9119
|
yc as paginationV1,
|
|
9125
9120
|
nn as parsePercentStr,
|
|
9126
|
-
|
|
9121
|
+
Ju as parsePixelStr,
|
|
9127
9122
|
wa as perspectiveCameraV1,
|
|
9128
9123
|
ku as pkgs,
|
|
9129
9124
|
Wa as pointLightV1,
|
|
9130
|
-
|
|
9131
|
-
|
|
9132
|
-
|
|
9133
|
-
|
|
9134
|
-
|
|
9135
|
-
|
|
9136
|
-
|
|
9137
|
-
|
|
9125
|
+
mm as provideDark,
|
|
9126
|
+
dm as provideData,
|
|
9127
|
+
ym as provideDepends,
|
|
9128
|
+
um as provideDevice,
|
|
9129
|
+
am as provideEnv,
|
|
9130
|
+
cm as provideMode,
|
|
9131
|
+
lm as provideOrg,
|
|
9132
|
+
fm as provideRuntime,
|
|
9138
9133
|
Iu as provideSandbox,
|
|
9139
|
-
|
|
9134
|
+
pm as provideType,
|
|
9140
9135
|
Sn as radioGroupV1,
|
|
9141
9136
|
Vn as radioV1,
|
|
9142
9137
|
hc as rangeSliderV1,
|
|
@@ -9147,7 +9142,7 @@ export {
|
|
|
9147
9142
|
xc as selectV1,
|
|
9148
9143
|
Gn as setField,
|
|
9149
9144
|
vc as sliderV1,
|
|
9150
|
-
|
|
9145
|
+
om as spawnNode,
|
|
9151
9146
|
pn as sphereGeometryV1,
|
|
9152
9147
|
Da as spotLightV1,
|
|
9153
9148
|
$n as stepperHeaderV1,
|
|
@@ -9159,20 +9154,20 @@ export {
|
|
|
9159
9154
|
zn as tabV1,
|
|
9160
9155
|
An as tabsV1,
|
|
9161
9156
|
kn as textFieldV1,
|
|
9162
|
-
|
|
9157
|
+
xe as textV1,
|
|
9163
9158
|
Ln as textareaV1,
|
|
9164
9159
|
En as timelineItemV1,
|
|
9165
9160
|
Bn as timelineV1,
|
|
9166
|
-
|
|
9167
|
-
|
|
9168
|
-
|
|
9161
|
+
tm as toEventName,
|
|
9162
|
+
em as toMethodName,
|
|
9163
|
+
Qu as toPropertyName,
|
|
9169
9164
|
Ke as triggerReactivity,
|
|
9170
|
-
|
|
9165
|
+
Xu as types,
|
|
9171
9166
|
Pu as unwrapEventId,
|
|
9172
|
-
|
|
9167
|
+
qo as unwrapMethodId,
|
|
9173
9168
|
lo as unwrapPropertyId,
|
|
9174
9169
|
ni as useDepend,
|
|
9175
|
-
|
|
9170
|
+
hm as useRuntime,
|
|
9176
9171
|
ii as useSandbox,
|
|
9177
9172
|
Rn as windowItemV1,
|
|
9178
9173
|
Mn as windowV1
|