x-runtime-lib 0.8.94 → 0.8.95
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
|
@@ -15,24 +15,24 @@ var we = (t, e, n) => {
|
|
|
15
15
|
} else n && t.push([n]);
|
|
16
16
|
return e;
|
|
17
17
|
}, Se = (t, e, n) => {
|
|
18
|
-
var i = typeof SuppressedError == "function" ? SuppressedError : function(a, c,
|
|
19
|
-
return m = Error(
|
|
18
|
+
var i = typeof SuppressedError == "function" ? SuppressedError : function(a, c, u, m) {
|
|
19
|
+
return m = Error(u), m.name = "SuppressedError", m.error = a, m.suppressed = c, m;
|
|
20
20
|
}, r = (a) => e = n ? new i(a, e, "An error was suppressed during disposal") : (n = !0, a), s = (a) => {
|
|
21
21
|
for (; a = t.pop(); )
|
|
22
22
|
try {
|
|
23
23
|
var c = a[1] && a[1].call(a[2]);
|
|
24
|
-
if (a[0]) return Promise.resolve(c).then(s, (
|
|
25
|
-
} catch (
|
|
26
|
-
r(
|
|
24
|
+
if (a[0]) return Promise.resolve(c).then(s, (u) => (r(u), s()));
|
|
25
|
+
} catch (u) {
|
|
26
|
+
r(u);
|
|
27
27
|
}
|
|
28
28
|
if (n) throw e;
|
|
29
29
|
};
|
|
30
30
|
return s();
|
|
31
31
|
};
|
|
32
|
-
import { defineComponent as $, createElementBlock as te, renderSlot as M, unref as o, openBlock as h, createElementVNode as Y, computed as v, normalizeStyle as ee, ref as oe, watchEffect as pe, watch as re, onBeforeMount as Yo, onUnmounted as Oe, createBlock as S, withCtx as _, createCommentVNode as ne, useTemplateRef as so, onMounted as lo, nextTick as ao, useAttrs as Zo, h as ae, resolveComponent as E, createVNode as
|
|
32
|
+
import { defineComponent as $, createElementBlock as te, renderSlot as M, unref as o, openBlock as h, createElementVNode as Y, computed as v, normalizeStyle as ee, ref as oe, watchEffect as pe, watch as re, onBeforeMount as Yo, onUnmounted as Oe, createBlock as S, withCtx as _, createCommentVNode as ne, useTemplateRef as so, onMounted as lo, nextTick as ao, useAttrs as Zo, h as ae, resolveComponent as E, createVNode as R, isRef as J, createSlots as Rn, renderList as Qo, useId as co, withModifiers as er, normalizeClass as tr, toDisplayString as nr, inject as se, provide as le, readonly as Kn } from "vue";
|
|
33
33
|
import { globalObjects as he, waitUtil as uo, useViewStack as po, eventBus as mo, messageInfo as ir, messageSuccess as or, messageWarning as yo, messageError as fo, createAxios as rr, openConfirmDlg as sr, openPromptDlg as lr } from "x-essential-lib";
|
|
34
34
|
import { CameraHelper as bo, DirectionalLightHelper as ar, PointLightHelper as cr, SpotLightHelper as ur } from "three";
|
|
35
|
-
import { c as
|
|
35
|
+
import { c as W, i as ce, q as Ge, u as pr, r as go, e as ho, a as mr, b as dr, d as yr, f as fr, g as br, h as gr, j as hr, k as xr, l as xo, X as vr, Y as kr, K as _r, m as wr, n as Sr, o as Vr, p as $r } from "./vendor.eh9kttp2.js";
|
|
36
36
|
import { useTheme as Ir } from "vuetify";
|
|
37
37
|
import { getErrorMessage as Cr } from "x-error-lib";
|
|
38
38
|
import { useI18n as vo } from "vue-i18n";
|
|
@@ -158,11 +158,11 @@ function rp(t, e, n, i, r) {
|
|
|
158
158
|
let a = s.children[n];
|
|
159
159
|
a ? a.dataSeq !== i && (a = {
|
|
160
160
|
dataSeq: i,
|
|
161
|
-
data:
|
|
161
|
+
data: W(r),
|
|
162
162
|
children: {}
|
|
163
163
|
}) : (a = {
|
|
164
164
|
dataSeq: i,
|
|
165
|
-
data:
|
|
165
|
+
data: W(r),
|
|
166
166
|
children: {}
|
|
167
167
|
}, s.children[n] = a);
|
|
168
168
|
}
|
|
@@ -173,6 +173,7 @@ function Er(t) {
|
|
|
173
173
|
case "multipleRefProperty":
|
|
174
174
|
case "customProperty":
|
|
175
175
|
case "customSlotProperty":
|
|
176
|
+
case "adaptSlotCustomProperty":
|
|
176
177
|
return !1;
|
|
177
178
|
}
|
|
178
179
|
return !0;
|
|
@@ -183,6 +184,7 @@ function Ar(t) {
|
|
|
183
184
|
case "multipleRefMethod":
|
|
184
185
|
case "customMethod":
|
|
185
186
|
case "customSlotMethod":
|
|
187
|
+
case "adaptSlotCustomMethod":
|
|
186
188
|
return !1;
|
|
187
189
|
}
|
|
188
190
|
return !0;
|
|
@@ -193,10 +195,12 @@ function Lr(t) {
|
|
|
193
195
|
case "multipleRefEvent":
|
|
194
196
|
case "customEvent":
|
|
195
197
|
case "customSlotEvent":
|
|
198
|
+
case "adaptSlotCustomEvent":
|
|
196
199
|
case "referencePropertyChangeEvent":
|
|
197
200
|
case "multipleRefPropertyChangeEvent":
|
|
198
201
|
case "customPropertyChangeEvent":
|
|
199
202
|
case "customSlotPropertyChangeEvent":
|
|
203
|
+
case "adaptSlotCustomPropertyChangeEvent":
|
|
200
204
|
case "stateChangeEvent":
|
|
201
205
|
return !1;
|
|
202
206
|
}
|
|
@@ -219,17 +223,17 @@ function On(t, e, n) {
|
|
|
219
223
|
function lp(t, e) {
|
|
220
224
|
const { i18n: n } = he;
|
|
221
225
|
let i = "";
|
|
222
|
-
return t === "elementProperty" || (t === "referenceProperty"
|
|
226
|
+
return t === "elementProperty" || (t === "referenceProperty" || t === "multipleRefProperty" || t === "customProperty" ? i = n.global.t("x-runtime-lib.custom") : t === "customSlotProperty" ? i = n.global.t("x-runtime-lib.customSlot") : t === "adaptSlotElementProperty" || t === "adaptSlotCustomProperty" ? i = n.global.t("x-runtime-lib.adaptSlot") : console.assert(!1)), On(i, e, Er(t));
|
|
223
227
|
}
|
|
224
228
|
function ap(t, e) {
|
|
225
229
|
const { i18n: n } = he;
|
|
226
230
|
let i = "";
|
|
227
|
-
return t === "elementMethod" || (t === "referenceMethod"
|
|
231
|
+
return t === "elementMethod" || (t === "referenceMethod" || t === "multipleRefMethod" || t === "customMethod" ? i = n.global.t("x-runtime-lib.custom") : t === "customSlotMethod" ? i = n.global.t("x-runtime-lib.customSlot") : t === "adaptSlotElementMethod" || t === "adaptSlotCustomMethod" ? i = n.global.t("x-runtime-lib.adaptSlot") : console.assert(!1)), On(i, e, Ar(t));
|
|
228
232
|
}
|
|
229
233
|
function cp(t, e) {
|
|
230
234
|
const { i18n: n } = he;
|
|
231
235
|
let i = "";
|
|
232
|
-
return t === "elementEvent" || (t === "referenceEvent"
|
|
236
|
+
return t === "elementEvent" || (t === "referenceEvent" || t === "multipleRefEvent" || t === "customEvent" ? i = n.global.t("x-runtime-lib.custom") : t === "customSlotEvent" ? i = n.global.t("x-runtime-lib.customSlot") : t === "adaptSlotElementEvent" || t === "adaptSlotCustomEvent" ? i = n.global.t("x-runtime-lib.adaptSlot") : t === "elementPropertyChangeEvent" ? i = n.global.t("x-runtime-lib.propertyChange") : t === "referencePropertyChangeEvent" ? i = n.global.t("x-runtime-lib.referencePropertyChange") : t === "multipleRefPropertyChangeEvent" ? i = n.global.t("x-runtime-lib.multipleRefPropertyChange") : t === "customPropertyChangeEvent" ? i = n.global.t("x-runtime-lib.customPropertyChange") : t === "customSlotPropertyChangeEvent" ? i = n.global.t("x-runtime-lib.customSlotPropertyChange") : t === "adaptSlotElementPropertyChangeEvent" || t === "adaptSlotCustomPropertyChangeEvent" ? i = n.global.t("x-runtime-lib.adaptSlotPropertyChange") : t === "stateChangeEvent" ? i = n.global.t("x-runtime-lib.stateChange") : console.assert(!1)), On(i, e, Lr(t));
|
|
233
237
|
}
|
|
234
238
|
const Me = {}, w = (t) => {
|
|
235
239
|
Me[t.key] = t;
|
|
@@ -293,7 +297,7 @@ const Me = {}, w = (t) => {
|
|
|
293
297
|
return;
|
|
294
298
|
} else
|
|
295
299
|
return r;
|
|
296
|
-
},
|
|
300
|
+
}, Wr = (t, e, n, i, r) => {
|
|
297
301
|
let s;
|
|
298
302
|
r ? typeof i == "object" ? s = JSON.stringify(i, null, 2) : (console.assert(!1), s = "{}") : s = i, t ? t.setElementProperty(e.basic.id, n, s) : Fn(e, n, s);
|
|
299
303
|
};
|
|
@@ -302,7 +306,7 @@ function l(t, e, n) {
|
|
|
302
306
|
return pe(() => {
|
|
303
307
|
r.value = Br(i, t.node, e, n);
|
|
304
308
|
}), re(r, (s, a) => {
|
|
305
|
-
ce(s, a) ||
|
|
309
|
+
ce(s, a) || Wr(i, t.node, e, r.value, n);
|
|
306
310
|
}), { property: r };
|
|
307
311
|
}
|
|
308
312
|
function me(t) {
|
|
@@ -334,7 +338,7 @@ function me(t) {
|
|
|
334
338
|
"transform",
|
|
335
339
|
"scale",
|
|
336
340
|
"x"
|
|
337
|
-
]), { property:
|
|
341
|
+
]), { property: u } = l(t, [
|
|
338
342
|
"transform",
|
|
339
343
|
"scale",
|
|
340
344
|
"y"
|
|
@@ -342,20 +346,20 @@ function me(t) {
|
|
|
342
346
|
"transform",
|
|
343
347
|
"scale",
|
|
344
348
|
"z"
|
|
345
|
-
]),
|
|
349
|
+
]), p = oe([0, 0, 0]), d = oe([0, 0, 0]), y = oe([1, 1, 1]);
|
|
346
350
|
return pe(() => {
|
|
347
|
-
|
|
351
|
+
p.value = [e.value, n.value, i.value];
|
|
348
352
|
}), pe(() => {
|
|
349
|
-
e.value =
|
|
353
|
+
e.value = p.value[0], n.value = p.value[1], i.value = p.value[2];
|
|
350
354
|
}), pe(() => {
|
|
351
355
|
d.value = [r.value, s.value, a.value];
|
|
352
356
|
}), pe(() => {
|
|
353
357
|
r.value = d.value[0], s.value = d.value[1], a.value = d.value[2];
|
|
354
358
|
}), pe(() => {
|
|
355
|
-
y.value = [c.value,
|
|
359
|
+
y.value = [c.value, u.value, m.value];
|
|
356
360
|
}), pe(() => {
|
|
357
|
-
c.value = y.value[0],
|
|
358
|
-
}), { position:
|
|
361
|
+
c.value = y.value[0], u.value = y.value[1], m.value = y.value[2];
|
|
362
|
+
}), { position: p, rotation: d, scale: y };
|
|
359
363
|
}
|
|
360
364
|
function wo(t) {
|
|
361
365
|
const e = v(() => t.node.legend?.show), n = v(() => t.node.legend?.data);
|
|
@@ -416,16 +420,16 @@ function j(t) {
|
|
|
416
420
|
}), s = v(() => n.value ? t.value.custom?.dark : t.value.custom?.light), a = v(() => i.value === "theme" ? r.value ?? "" : i.value === "custom" ? s.value ?? "" : ""), c = v(() => {
|
|
417
421
|
const m = a.value;
|
|
418
422
|
return !m.startsWith("#") || m.length < 7 ? "" : m.substring(0, 7);
|
|
419
|
-
}),
|
|
423
|
+
}), u = v(() => {
|
|
420
424
|
const m = a.value;
|
|
421
425
|
return m.startsWith("#") ? m.length < 9 ? 1 : parseInt(m.substring(7, 9)) / 255 : 0;
|
|
422
426
|
});
|
|
423
|
-
return { color: a, rgb: c, alpha:
|
|
427
|
+
return { color: a, rgb: c, alpha: u };
|
|
424
428
|
}
|
|
425
429
|
function Gn(t) {
|
|
426
|
-
const e = v(() => t.node.border?.style), n = v(() => t.node.border?.width), i = v(() => t.node.border?.color), { color: r } = j(i), s = v(() => t.node.border?.roundRadius?.tl), a = v(() => t.node.border?.roundRadius?.tr), c = v(() => t.node.border?.roundRadius?.bl),
|
|
427
|
-
function m(
|
|
428
|
-
e.value && (
|
|
430
|
+
const e = v(() => t.node.border?.style), n = v(() => t.node.border?.width), i = v(() => t.node.border?.color), { color: r } = j(i), s = v(() => t.node.border?.roundRadius?.tl), a = v(() => t.node.border?.roundRadius?.tr), c = v(() => t.node.border?.roundRadius?.bl), u = v(() => t.node.border?.roundRadius?.br);
|
|
431
|
+
function m(p) {
|
|
432
|
+
e.value && (p.borderStyle = e.value), n.value && (p.borderWidth = n.value), r.value && (p.borderColor = r.value), s.value && (p.borderTopLeftRadius = s.value), a.value && (p.borderTopRightRadius = a.value), c.value && (p.borderBottomLeftRadius = c.value), u.value && (p.borderBottomRightRadius = u.value);
|
|
429
433
|
}
|
|
430
434
|
return { borderStyle: e, borderWidth: n, borderColor: r, applyBorder: m };
|
|
431
435
|
}
|
|
@@ -446,30 +450,30 @@ function jn(t) {
|
|
|
446
450
|
function de(t) {
|
|
447
451
|
const e = N(), n = Ee(), i = v(() => t.node.size?.width), r = v(() => t.node.size?.minWidth), s = v(() => t.node.size?.maxWidth), a = v(() => {
|
|
448
452
|
if (t.outer && e === "editor") {
|
|
449
|
-
const
|
|
450
|
-
if (
|
|
451
|
-
return
|
|
453
|
+
const p = nn(t.node.size?.height);
|
|
454
|
+
if (p)
|
|
455
|
+
return p / 100 * n.value.height + "px";
|
|
452
456
|
}
|
|
453
457
|
return t.node.size?.height;
|
|
454
458
|
}), c = v(() => {
|
|
455
459
|
if (t.outer && e === "editor") {
|
|
456
|
-
const
|
|
457
|
-
if (
|
|
458
|
-
return
|
|
460
|
+
const p = nn(t.node.size?.minHeight);
|
|
461
|
+
if (p)
|
|
462
|
+
return p / 100 * n.value.height + "px";
|
|
459
463
|
}
|
|
460
464
|
return t.node.size?.minHeight;
|
|
461
|
-
}),
|
|
465
|
+
}), u = v(() => {
|
|
462
466
|
if (t.outer && e === "editor") {
|
|
463
|
-
const
|
|
464
|
-
if (
|
|
465
|
-
return
|
|
467
|
+
const p = nn(t.node.size?.maxHeight);
|
|
468
|
+
if (p)
|
|
469
|
+
return p / 100 * n.value.height + "px";
|
|
466
470
|
}
|
|
467
471
|
return t.node.size?.maxHeight;
|
|
468
472
|
});
|
|
469
|
-
function m(
|
|
470
|
-
i.value && (
|
|
473
|
+
function m(p) {
|
|
474
|
+
i.value && (p.width = i.value), r.value && (p.minWidth = r.value), s.value && (p.maxWidth = s.value), a.value && (p.height = a.value), c.value && (p.minHeight = c.value), u.value && (p.maxHeight = u.value);
|
|
471
475
|
}
|
|
472
|
-
return { width: i, minWidth: r, maxWidth: s, height: a, minHeight: c, maxHeight:
|
|
476
|
+
return { width: i, minWidth: r, maxWidth: s, height: a, minHeight: c, maxHeight: u, applySize: m };
|
|
473
477
|
}
|
|
474
478
|
function Je(t, e, n) {
|
|
475
479
|
const i = fe();
|
|
@@ -486,14 +490,14 @@ function F() {
|
|
|
486
490
|
const t = Ne();
|
|
487
491
|
return { theme: v(() => t.value ? "dark" : "light") };
|
|
488
492
|
}
|
|
489
|
-
const
|
|
493
|
+
const Rr = ["bottom", "far", "left", "near", "position", "right", "rotation", "scale", "top"], Kr = /* @__PURE__ */ $({
|
|
490
494
|
__name: "index",
|
|
491
495
|
props: {
|
|
492
496
|
node: {},
|
|
493
497
|
outer: { type: Boolean }
|
|
494
498
|
},
|
|
495
499
|
setup(t) {
|
|
496
|
-
const e = t, n = N(), { position: i, rotation: r, scale: s } = me(e), { property: a } = l(e, ["settings", "bottom"]), { property: c } = l(e, ["settings", "far"]), { property:
|
|
500
|
+
const e = t, n = N(), { position: i, rotation: r, scale: s } = me(e), { property: a } = l(e, ["settings", "bottom"]), { property: c } = l(e, ["settings", "far"]), { property: u } = l(e, ["settings", "left"]), { property: m } = l(e, ["settings", "near"]), { property: p } = l(e, ["settings", "right"]), { property: d } = l(e, ["settings", "top"]);
|
|
497
501
|
return (y, b) => (h(), S(o(ve), {
|
|
498
502
|
position: o(i),
|
|
499
503
|
rotation: o(r),
|
|
@@ -503,10 +507,10 @@ const Wr = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
503
507
|
Y("TresOrthographicCamera", {
|
|
504
508
|
bottom: o(a),
|
|
505
509
|
far: o(c),
|
|
506
|
-
left: o(
|
|
510
|
+
left: o(u),
|
|
507
511
|
near: o(m),
|
|
508
512
|
position: o(n) !== "editor" ? o(i) : [0, 0, 0],
|
|
509
|
-
right: o(
|
|
513
|
+
right: o(p),
|
|
510
514
|
rotation: o(n) !== "editor" ? o(r) : [0, 0, 0],
|
|
511
515
|
scale: o(n) !== "editor" ? o(s) : [1, 1, 1],
|
|
512
516
|
top: o(d)
|
|
@@ -516,7 +520,7 @@ const Wr = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
516
520
|
type: o(bo)
|
|
517
521
|
}, null, 8, ["type"])) : ne("", !0),
|
|
518
522
|
M(y.$slots, "default")
|
|
519
|
-
], 8,
|
|
523
|
+
], 8, Rr)
|
|
520
524
|
]),
|
|
521
525
|
_: 3
|
|
522
526
|
}, 8, ["position", "rotation", "scale"]));
|
|
@@ -528,8 +532,8 @@ const Wr = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
528
532
|
outer: { type: Boolean }
|
|
529
533
|
},
|
|
530
534
|
setup(t) {
|
|
531
|
-
const e = t, n = N(), { position: i, rotation: r, scale: s } = me(e), { property: a } = l(e, ["settings", "aspect"]), { property: c } = l(e, ["settings", "far"]), { property:
|
|
532
|
-
return (
|
|
535
|
+
const e = t, n = N(), { position: i, rotation: r, scale: s } = me(e), { property: a } = l(e, ["settings", "aspect"]), { property: c } = l(e, ["settings", "far"]), { property: u } = l(e, ["settings", "fov"]), { property: m } = l(e, ["settings", "near"]);
|
|
536
|
+
return (p, d) => (h(), S(o(ve), {
|
|
533
537
|
position: o(i),
|
|
534
538
|
rotation: o(r),
|
|
535
539
|
scale: o(s)
|
|
@@ -538,7 +542,7 @@ const Wr = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
538
542
|
Y("TresPerspectiveCamera", {
|
|
539
543
|
aspect: o(a),
|
|
540
544
|
far: o(c),
|
|
541
|
-
fov: o(
|
|
545
|
+
fov: o(u),
|
|
542
546
|
near: o(m),
|
|
543
547
|
position: o(n) !== "editor" ? o(i) : [0, 0, 0],
|
|
544
548
|
rotation: o(n) !== "editor" ? o(r) : [0, 0, 0],
|
|
@@ -548,7 +552,7 @@ const Wr = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
548
552
|
key: 0,
|
|
549
553
|
type: o(bo)
|
|
550
554
|
}, null, 8, ["type"])) : ne("", !0),
|
|
551
|
-
M(
|
|
555
|
+
M(p.$slots, "default")
|
|
552
556
|
], 8, Dr)
|
|
553
557
|
]),
|
|
554
558
|
_: 3
|
|
@@ -571,7 +575,7 @@ const Wr = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
571
575
|
"settings",
|
|
572
576
|
"widthSegements"
|
|
573
577
|
]);
|
|
574
|
-
return (
|
|
578
|
+
return (u, m) => (h(), te("TresBoxGeometry", {
|
|
575
579
|
args: [
|
|
576
580
|
o(a),
|
|
577
581
|
o(r),
|
|
@@ -609,14 +613,14 @@ const Wr = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
609
613
|
]), { property: c } = l(e, [
|
|
610
614
|
"settings",
|
|
611
615
|
"thetaStart"
|
|
612
|
-
]), { property:
|
|
616
|
+
]), { property: u } = l(e, [
|
|
613
617
|
"settings",
|
|
614
618
|
"widthSegments"
|
|
615
619
|
]);
|
|
616
|
-
return (m,
|
|
620
|
+
return (m, p) => (h(), te("TresSphereGeometry", {
|
|
617
621
|
args: [
|
|
618
622
|
o(s),
|
|
619
|
-
o(
|
|
623
|
+
o(u),
|
|
620
624
|
o(n),
|
|
621
625
|
o(r),
|
|
622
626
|
o(i),
|
|
@@ -632,11 +636,11 @@ const Wr = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
632
636
|
outer: { type: Boolean }
|
|
633
637
|
},
|
|
634
638
|
setup(t) {
|
|
635
|
-
const e = t, n = N(), { position: i, rotation: r, scale: s } = me(e), { property: a } = l(e, ["settings", "color"]), { color: c } = j(a), { property:
|
|
639
|
+
const e = t, n = N(), { position: i, rotation: r, scale: s } = me(e), { property: a } = l(e, ["settings", "color"]), { color: c } = j(a), { property: u } = l(e, [
|
|
636
640
|
"settings",
|
|
637
641
|
"intensity"
|
|
638
642
|
]);
|
|
639
|
-
return (m,
|
|
643
|
+
return (m, p) => (h(), S(o(ve), {
|
|
640
644
|
position: o(i),
|
|
641
645
|
rotation: o(r),
|
|
642
646
|
scale: o(s)
|
|
@@ -644,7 +648,7 @@ const Wr = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
644
648
|
default: _(() => [
|
|
645
649
|
Y("TresAmbientLight", {
|
|
646
650
|
color: o(c),
|
|
647
|
-
intensity: o(
|
|
651
|
+
intensity: o(u),
|
|
648
652
|
position: o(n) !== "editor" ? o(i) : [0, 0, 0],
|
|
649
653
|
rotation: o(n) !== "editor" ? o(r) : [0, 0, 0],
|
|
650
654
|
scale: o(n) !== "editor" ? o(s) : [1, 1, 1]
|
|
@@ -662,11 +666,11 @@ const Wr = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
662
666
|
outer: { type: Boolean }
|
|
663
667
|
},
|
|
664
668
|
setup(t) {
|
|
665
|
-
const e = t, n = N(), { position: i, rotation: r, scale: s } = me(e), { property: a } = l(e, ["settings", "color"]), { color: c } = j(a), { property:
|
|
669
|
+
const e = t, n = N(), { position: i, rotation: r, scale: s } = me(e), { property: a } = l(e, ["settings", "color"]), { color: c } = j(a), { property: u } = l(e, [
|
|
666
670
|
"settings",
|
|
667
671
|
"intensity"
|
|
668
672
|
]);
|
|
669
|
-
return (m,
|
|
673
|
+
return (m, p) => (h(), S(o(ve), {
|
|
670
674
|
position: o(i),
|
|
671
675
|
rotation: o(r),
|
|
672
676
|
scale: o(s)
|
|
@@ -674,7 +678,7 @@ const Wr = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
674
678
|
default: _(() => [
|
|
675
679
|
Y("TresDirectionalLight", {
|
|
676
680
|
color: o(c),
|
|
677
|
-
intensity: o(
|
|
681
|
+
intensity: o(u),
|
|
678
682
|
position: o(n) !== "editor" ? o(i) : [0, 0, 0],
|
|
679
683
|
rotation: o(n) !== "editor" ? o(r) : [0, 0, 0],
|
|
680
684
|
scale: o(n) !== "editor" ? o(s) : [1, 1, 1]
|
|
@@ -696,10 +700,10 @@ const Wr = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
696
700
|
outer: { type: Boolean }
|
|
697
701
|
},
|
|
698
702
|
setup(t) {
|
|
699
|
-
const e = t, n = N(), { position: i, rotation: r, scale: s } = me(e), { property: a } = l(e, ["settings", "color"]), { color: c } = j(a), { property:
|
|
703
|
+
const e = t, n = N(), { position: i, rotation: r, scale: s } = me(e), { property: a } = l(e, ["settings", "color"]), { color: c } = j(a), { property: u } = l(e, ["settings", "decay"]), { property: m } = l(e, [
|
|
700
704
|
"settings",
|
|
701
705
|
"distance"
|
|
702
|
-
]), { property:
|
|
706
|
+
]), { property: p } = l(e, [
|
|
703
707
|
"settings",
|
|
704
708
|
"intensity"
|
|
705
709
|
]);
|
|
@@ -711,9 +715,9 @@ const Wr = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
711
715
|
default: _(() => [
|
|
712
716
|
Y("TresPointLight", {
|
|
713
717
|
color: o(c),
|
|
714
|
-
decay: o(
|
|
718
|
+
decay: o(u),
|
|
715
719
|
distance: o(m),
|
|
716
|
-
intensity: o(
|
|
720
|
+
intensity: o(p),
|
|
717
721
|
position: o(n) !== "editor" ? o(i) : [0, 0, 0],
|
|
718
722
|
rotation: o(n) !== "editor" ? o(r) : [0, 0, 0],
|
|
719
723
|
scale: o(n) !== "editor" ? o(s) : [1, 1, 1]
|
|
@@ -735,7 +739,7 @@ const Wr = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
735
739
|
outer: { type: Boolean }
|
|
736
740
|
},
|
|
737
741
|
setup(t) {
|
|
738
|
-
const e = t, n = N(), { position: i, rotation: r, scale: s } = me(e), { property: a } = l(e, ["settings", "angle"]), { property: c } = l(e, ["settings", "color"]), { color:
|
|
742
|
+
const e = t, n = N(), { position: i, rotation: r, scale: s } = me(e), { property: a } = l(e, ["settings", "angle"]), { property: c } = l(e, ["settings", "color"]), { color: u } = j(c), { property: m } = l(e, ["settings", "decay"]), { property: p } = l(e, [
|
|
739
743
|
"settings",
|
|
740
744
|
"distance"
|
|
741
745
|
]), { property: d } = l(e, [
|
|
@@ -753,9 +757,9 @@ const Wr = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
753
757
|
default: _(() => [
|
|
754
758
|
Y("TresSpotLight", {
|
|
755
759
|
angle: o(a),
|
|
756
|
-
color: o(
|
|
760
|
+
color: o(u),
|
|
757
761
|
decay: o(m),
|
|
758
|
-
distance: o(
|
|
762
|
+
distance: o(p),
|
|
759
763
|
intensity: o(d),
|
|
760
764
|
penumbra: o(y),
|
|
761
765
|
position: o(n) !== "editor" ? o(i) : [0, 0, 0],
|
|
@@ -847,9 +851,9 @@ const ns = /* @__PURE__ */ ze(es, [["render", ts]]), is = ["position", "rotation
|
|
|
847
851
|
visualMap: As,
|
|
848
852
|
dataZoom: Ls,
|
|
849
853
|
markPoint: Ms
|
|
850
|
-
},
|
|
851
|
-
color:
|
|
852
|
-
backgroundColor:
|
|
854
|
+
}, Ws = ["#dd6b66", "#759aa0", "#e69d87", "#8dc1a9", "#ea7e53", "#eedd78", "#73a373", "#73b9bc", "#7289ab", "#91ca8c", "#f49f42"], Rs = "#f5f5f5", Ks = {}, Ds = { textStyle: { color: "#464646" }, subtextStyle: { color: "#6e7079" } }, Fs = { itemStyle: { borderWidth: 1 }, lineStyle: { width: 2 }, symbolSize: 4, symbol: "circle", smooth: !1 }, Os = { itemStyle: { borderWidth: 1 }, lineStyle: { width: 2 }, symbolSize: 4, symbol: "circle", smooth: !1 }, Gs = { itemStyle: { barBorderWidth: 0, barBorderColor: "#ccc" } }, Ns = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, js = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Hs = { 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: { color: "#eb5454", color0: "#47b262", borderColor: "#eb5454", borderColor0: "#47b262", borderWidth: 1 } }, Zs = { 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" } }, Qs = { 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)" } } }, 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 = { 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"] } } }, 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 = { iconStyle: { borderColor: "#999" }, emphasis: { iconStyle: { borderColor: "#666" } } }, sl = { textStyle: { color: "#333333" } }, ll = { axisPointer: { lineStyle: { color: "#cccccc", width: "1" }, crossStyle: { color: "#cccccc", width: "1" } } }, al = { 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" } } }, cl = { color: ["#bf444c", "#d88273", "#f6efa6"] }, ul = { 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" } } }, ml = {
|
|
855
|
+
color: Ws,
|
|
856
|
+
backgroundColor: Rs,
|
|
853
857
|
textStyle: Ks,
|
|
854
858
|
title: Ds,
|
|
855
859
|
line: Fs,
|
|
@@ -897,7 +901,7 @@ const dl = /* @__PURE__ */ $({
|
|
|
897
901
|
outer: { type: Boolean }
|
|
898
902
|
},
|
|
899
903
|
setup(t) {
|
|
900
|
-
const e = t, n = Ee(), i = Ne(), r = ye(), s = ke(), { width: a, minWidth: c, maxWidth:
|
|
904
|
+
const e = t, n = Ee(), i = Ne(), r = ye(), s = ke(), { width: a, minWidth: c, maxWidth: u, height: m, minHeight: p, maxHeight: d, applySize: y } = de(e), { applyTitle: b } = Vo(e), { applyXAxis: g } = $o(e), { applyYAxis: k } = Io(e), { applyLegend: x } = wo(e), { applySeries: V } = So(e), I = v(() => {
|
|
901
905
|
const C = {}, O = s.value.type;
|
|
902
906
|
return r === "page" ? O === "common" ? y(C) : console.assert(!1) : r === "comp" && O === "common" ? y(C) : console.assert(!1), C;
|
|
903
907
|
}), P = so("chart");
|
|
@@ -922,9 +926,9 @@ const dl = /* @__PURE__ */ $({
|
|
|
922
926
|
() => n.value.height,
|
|
923
927
|
a,
|
|
924
928
|
c,
|
|
925
|
-
p,
|
|
926
|
-
m,
|
|
927
929
|
u,
|
|
930
|
+
m,
|
|
931
|
+
p,
|
|
928
932
|
d
|
|
929
933
|
],
|
|
930
934
|
async () => {
|
|
@@ -955,7 +959,7 @@ const dl = /* @__PURE__ */ $({
|
|
|
955
959
|
outer: { type: Boolean }
|
|
956
960
|
},
|
|
957
961
|
setup(t) {
|
|
958
|
-
const e = t, n = Ee(), i = Ne(), r = ye(), s = ke(), { width: a, minWidth: c, maxWidth:
|
|
962
|
+
const e = t, n = Ee(), i = Ne(), r = ye(), s = ke(), { width: a, minWidth: c, maxWidth: u, height: m, minHeight: p, maxHeight: d, applySize: y } = de(e), { applyTitle: b } = Vo(e), { applyXAxis: g } = $o(e), { applyYAxis: k } = Io(e), { applyLegend: x } = wo(e), { applySeries: V } = So(e), I = v(() => {
|
|
959
963
|
const C = {}, O = s.value.type;
|
|
960
964
|
return r === "page" ? O === "common" ? y(C) : console.assert(!1) : r === "comp" && O === "common" ? y(C) : console.assert(!1), C;
|
|
961
965
|
}), P = so("chart");
|
|
@@ -980,9 +984,9 @@ const dl = /* @__PURE__ */ $({
|
|
|
980
984
|
() => n.value.height,
|
|
981
985
|
a,
|
|
982
986
|
c,
|
|
983
|
-
p,
|
|
984
|
-
m,
|
|
985
987
|
u,
|
|
988
|
+
m,
|
|
989
|
+
p,
|
|
986
990
|
d
|
|
987
991
|
],
|
|
988
992
|
async () => {
|
|
@@ -1028,21 +1032,21 @@ const dl = /* @__PURE__ */ $({
|
|
|
1028
1032
|
const { t: e } = vo(), n = t, i = oe(), r = N();
|
|
1029
1033
|
Z(r) && ii(i, "reference", n.node.basic.id, "", fe()), ni(n.refContext.compId, i);
|
|
1030
1034
|
const s = Zo(), { applySize: a } = de(n), c = v(() => {
|
|
1031
|
-
const
|
|
1032
|
-
return i.value?.type === "common" && a(
|
|
1035
|
+
const p = {};
|
|
1036
|
+
return i.value?.type === "common" && a(p), p;
|
|
1033
1037
|
});
|
|
1034
|
-
function p
|
|
1035
|
-
const d = Me[
|
|
1038
|
+
function u(p) {
|
|
1039
|
+
const d = Me[p.basic.key];
|
|
1036
1040
|
if (!d)
|
|
1037
|
-
return console.assert(!1, `element not found key=${
|
|
1038
|
-
const y = { node:
|
|
1039
|
-
|
|
1041
|
+
return console.assert(!1, `element not found key=${p.basic.key}`), ae("div", `element not found key=${p.basic.key}`);
|
|
1042
|
+
const y = { node: p };
|
|
1043
|
+
p.reference && p.reference.comp && (y.refContext = {
|
|
1040
1044
|
parent: y.refContext,
|
|
1041
|
-
compId:
|
|
1045
|
+
compId: p.reference.comp
|
|
1042
1046
|
});
|
|
1043
1047
|
const b = [];
|
|
1044
|
-
return d.leaf ||
|
|
1045
|
-
b.push(
|
|
1048
|
+
return d.leaf || p.children?.forEach((g) => {
|
|
1049
|
+
b.push(u(g));
|
|
1046
1050
|
}), ae(d.comp, y, { default: () => b });
|
|
1047
1051
|
}
|
|
1048
1052
|
const m = () => {
|
|
@@ -1050,17 +1054,17 @@ const dl = /* @__PURE__ */ $({
|
|
|
1050
1054
|
return ae("div", e("x-runtime-lib.circularRef"));
|
|
1051
1055
|
if (!i.value)
|
|
1052
1056
|
return ae("div");
|
|
1053
|
-
const
|
|
1057
|
+
const p = [];
|
|
1054
1058
|
if (i.value.view.nodes.forEach((y) => {
|
|
1055
|
-
|
|
1059
|
+
p.push(u(y));
|
|
1056
1060
|
}), i.value.type === "common")
|
|
1057
1061
|
return ae(
|
|
1058
1062
|
"div",
|
|
1059
1063
|
{ id: s.id, style: c.value },
|
|
1060
|
-
{ default: () =>
|
|
1064
|
+
{ default: () => p }
|
|
1061
1065
|
);
|
|
1062
1066
|
};
|
|
1063
|
-
return (
|
|
1067
|
+
return (p, d) => (h(), S(m));
|
|
1064
1068
|
}
|
|
1065
1069
|
}), gl = /* @__PURE__ */ $({
|
|
1066
1070
|
__name: "index",
|
|
@@ -1088,18 +1092,18 @@ const dl = /* @__PURE__ */ $({
|
|
|
1088
1092
|
const { t: e } = vo(), n = t, i = oe(), r = N();
|
|
1089
1093
|
Z(r) && ii(i, "slot", n.id, "", fe()), ni(n.refContext.compId, i);
|
|
1090
1094
|
function s(c) {
|
|
1091
|
-
const
|
|
1092
|
-
if (!
|
|
1095
|
+
const u = Me[c.basic.key];
|
|
1096
|
+
if (!u)
|
|
1093
1097
|
return console.assert(!1, `element not found key=${c.basic.key}`), ae("div", `element not found key=${c.basic.key}`);
|
|
1094
1098
|
const m = { node: c };
|
|
1095
1099
|
c.reference && c.reference.comp && (m.refContext = {
|
|
1096
1100
|
parent: m.refContext,
|
|
1097
1101
|
compId: c.reference.comp
|
|
1098
1102
|
});
|
|
1099
|
-
const
|
|
1100
|
-
return
|
|
1101
|
-
|
|
1102
|
-
}), ae(
|
|
1103
|
+
const p = [];
|
|
1104
|
+
return u.leaf || c.children?.forEach((d) => {
|
|
1105
|
+
p.push(s(d));
|
|
1106
|
+
}), ae(u.comp, m, { default: () => p });
|
|
1103
1107
|
}
|
|
1104
1108
|
const a = () => {
|
|
1105
1109
|
if (_o(n.refContext))
|
|
@@ -1107,11 +1111,11 @@ const dl = /* @__PURE__ */ $({
|
|
|
1107
1111
|
if (!i.value)
|
|
1108
1112
|
return ae("div");
|
|
1109
1113
|
const c = [];
|
|
1110
|
-
return i.value.view.nodes.forEach((
|
|
1111
|
-
c.push(s(
|
|
1114
|
+
return i.value.view.nodes.forEach((u) => {
|
|
1115
|
+
c.push(s(u));
|
|
1112
1116
|
}), c;
|
|
1113
1117
|
};
|
|
1114
|
-
return (c,
|
|
1118
|
+
return (c, u) => (h(), S(a));
|
|
1115
1119
|
}
|
|
1116
1120
|
}), hl = /* @__PURE__ */ $({
|
|
1117
1121
|
__name: "index",
|
|
@@ -1129,11 +1133,11 @@ const dl = /* @__PURE__ */ $({
|
|
|
1129
1133
|
"offset",
|
|
1130
1134
|
"y"
|
|
1131
1135
|
]);
|
|
1132
|
-
return (c,
|
|
1136
|
+
return (c, u) => {
|
|
1133
1137
|
const m = E("v-badge");
|
|
1134
1138
|
return h(), S(o(D), null, {
|
|
1135
1139
|
default: _(() => [
|
|
1136
|
-
|
|
1140
|
+
R(m, {
|
|
1137
1141
|
content: o(n),
|
|
1138
1142
|
dot: o(i),
|
|
1139
1143
|
"offset-x": o(s),
|
|
@@ -1161,10 +1165,10 @@ const dl = /* @__PURE__ */ $({
|
|
|
1161
1165
|
"settings",
|
|
1162
1166
|
"addIcon",
|
|
1163
1167
|
"append"
|
|
1164
|
-
]), { property: r } = l(e, ["settings", "block"]), { property: s } = l(e, ["settings", "color"]), { color: a } = j(s), { property: c } = l(e, ["settings", "density"]), { property:
|
|
1168
|
+
]), { property: r } = l(e, ["settings", "block"]), { property: s } = l(e, ["settings", "color"]), { color: a } = j(s), { property: c } = l(e, ["settings", "density"]), { property: u } = l(e, [
|
|
1165
1169
|
"settings",
|
|
1166
1170
|
"disabled"
|
|
1167
|
-
]), { property: m } = l(e, ["size", "height"]), { property:
|
|
1171
|
+
]), { property: m } = l(e, ["size", "height"]), { property: p } = l(e, ["settings", "loading"]), { property: d } = l(e, ["size", "maxHeight"]), { property: y } = l(e, ["size", "maxWidth"]), { property: b } = l(e, ["size", "minHeight"]), { property: g } = l(e, ["size", "minWidth"]), { property: k } = l(e, [
|
|
1168
1172
|
"settings",
|
|
1169
1173
|
"addIcon",
|
|
1170
1174
|
"prepend"
|
|
@@ -1184,14 +1188,14 @@ const dl = /* @__PURE__ */ $({
|
|
|
1184
1188
|
const ie = E("v-btn");
|
|
1185
1189
|
return h(), S(o(D), { block: o(r) }, {
|
|
1186
1190
|
default: _(() => [
|
|
1187
|
-
|
|
1191
|
+
R(ie, {
|
|
1188
1192
|
"append-icon": o(i),
|
|
1189
1193
|
block: o(r),
|
|
1190
1194
|
color: o(a),
|
|
1191
1195
|
density: o(c),
|
|
1192
|
-
disabled: o(
|
|
1196
|
+
disabled: o(u),
|
|
1193
1197
|
height: o(m),
|
|
1194
|
-
loading: o(
|
|
1198
|
+
loading: o(p),
|
|
1195
1199
|
"max-height": o(d),
|
|
1196
1200
|
"max-width": o(y),
|
|
1197
1201
|
"min-height": o(b),
|
|
@@ -1241,7 +1245,7 @@ const _l = /* @__PURE__ */ ze(vl, [["render", kl]]), wl = /* @__PURE__ */ $({
|
|
|
1241
1245
|
]), { property: c } = l(e, [
|
|
1242
1246
|
"settings",
|
|
1243
1247
|
"readonly"
|
|
1244
|
-
]), { property:
|
|
1248
|
+
]), { property: u } = l(e, ["settings", "size"]), { property: m } = l(e, ["settings", "stacked"]), { theme: p } = F(), { property: d } = l(e, ["settings", "tile"]), { property: y } = l(e, ["settings", "variant"]);
|
|
1245
1249
|
return (b, g) => {
|
|
1246
1250
|
const k = E("v-btn-toggle");
|
|
1247
1251
|
return h(), S(k, {
|
|
@@ -1251,9 +1255,9 @@ const _l = /* @__PURE__ */ ze(vl, [["render", kl]]), wl = /* @__PURE__ */ $({
|
|
|
1251
1255
|
mandatory: o(s),
|
|
1252
1256
|
multiple: o(a),
|
|
1253
1257
|
readonly: o(c),
|
|
1254
|
-
size: o(
|
|
1258
|
+
size: o(u),
|
|
1255
1259
|
stacked: o(m),
|
|
1256
|
-
theme: o(
|
|
1260
|
+
theme: o(p),
|
|
1257
1261
|
tile: o(d),
|
|
1258
1262
|
variant: o(y)
|
|
1259
1263
|
}, {
|
|
@@ -1274,7 +1278,7 @@ const _l = /* @__PURE__ */ ze(vl, [["render", kl]]), wl = /* @__PURE__ */ $({
|
|
|
1274
1278
|
const e = t, { property: n } = l(e, ["settings", "density"]), { property: i } = l(e, [
|
|
1275
1279
|
"settings",
|
|
1276
1280
|
"disabled"
|
|
1277
|
-
]), { property: r } = l(e, ["size", "height"]), { property: s } = l(e, ["settings", "hover"]), { property: a } = l(e, ["settings", "loading"]), { property: c } = l(e, ["size", "maxHeight"]), { property:
|
|
1281
|
+
]), { property: r } = l(e, ["size", "height"]), { property: s } = l(e, ["settings", "hover"]), { property: a } = l(e, ["settings", "loading"]), { property: c } = l(e, ["size", "maxHeight"]), { property: u } = l(e, ["size", "maxWidth"]), { property: m } = l(e, ["size", "minHeight"]), { property: p } = l(e, ["size", "minWidth"]), { property: d } = l(e, [
|
|
1278
1282
|
"settings",
|
|
1279
1283
|
"subtitle"
|
|
1280
1284
|
]), { property: y } = l(e, ["settings", "text"]), { theme: b } = F(), { property: g } = l(e, ["settings", "title"]), { property: k } = l(e, ["settings", "variant"]), { property: x } = l(e, ["size", "width"]);
|
|
@@ -1282,16 +1286,16 @@ const _l = /* @__PURE__ */ ze(vl, [["render", kl]]), wl = /* @__PURE__ */ $({
|
|
|
1282
1286
|
const P = E("v-card");
|
|
1283
1287
|
return h(), S(o(D), { block: "" }, {
|
|
1284
1288
|
default: _(() => [
|
|
1285
|
-
|
|
1289
|
+
R(P, {
|
|
1286
1290
|
density: o(n),
|
|
1287
1291
|
disabled: o(i),
|
|
1288
1292
|
height: o(r),
|
|
1289
1293
|
hover: o(s),
|
|
1290
1294
|
loading: o(a),
|
|
1291
1295
|
"max-height": o(c),
|
|
1292
|
-
"max-width": o(
|
|
1296
|
+
"max-width": o(u),
|
|
1293
1297
|
"min-height": o(m),
|
|
1294
|
-
"min-width": o(
|
|
1298
|
+
"min-width": o(p),
|
|
1295
1299
|
subtitle: o(d),
|
|
1296
1300
|
text: o(y),
|
|
1297
1301
|
theme: o(b),
|
|
@@ -1327,7 +1331,7 @@ const _l = /* @__PURE__ */ ze(vl, [["render", kl]]), wl = /* @__PURE__ */ $({
|
|
|
1327
1331
|
const a = E("v-checkbox");
|
|
1328
1332
|
return h(), S(o(D), null, {
|
|
1329
1333
|
default: _(() => [
|
|
1330
|
-
|
|
1334
|
+
R(a, {
|
|
1331
1335
|
disabled: o(n),
|
|
1332
1336
|
readonly: o(i)
|
|
1333
1337
|
}, null, 8, ["disabled", "readonly"])
|
|
@@ -1352,20 +1356,20 @@ const _l = /* @__PURE__ */ ze(vl, [["render", kl]]), wl = /* @__PURE__ */ $({
|
|
|
1352
1356
|
]), { property: c } = l(e, [
|
|
1353
1357
|
"settings",
|
|
1354
1358
|
"draggable"
|
|
1355
|
-
]), { property:
|
|
1359
|
+
]), { property: u } = l(e, ["settings", "filter"]), { property: m } = l(e, ["settings", "label"]), { property: p } = l(e, ["settings", "size"]), { property: d } = l(e, ["settings", "text"]), { theme: y } = F(), { property: b } = l(e, ["settings", "tile"]), { property: g } = l(e, ["settings", "value"]), { property: k } = l(e, ["settings", "variant"]);
|
|
1356
1360
|
return (x, V) => {
|
|
1357
1361
|
const I = E("v-chip");
|
|
1358
1362
|
return h(), S(o(D), null, {
|
|
1359
1363
|
default: _(() => [
|
|
1360
|
-
|
|
1364
|
+
R(I, {
|
|
1361
1365
|
closable: o(n),
|
|
1362
1366
|
color: o(r),
|
|
1363
1367
|
density: o(s),
|
|
1364
1368
|
disabled: o(a),
|
|
1365
1369
|
draggable: o(c),
|
|
1366
|
-
filter: o(
|
|
1370
|
+
filter: o(u),
|
|
1367
1371
|
label: o(m),
|
|
1368
|
-
size: o(
|
|
1372
|
+
size: o(p),
|
|
1369
1373
|
text: o(d),
|
|
1370
1374
|
theme: o(y),
|
|
1371
1375
|
tile: o(b),
|
|
@@ -1396,22 +1400,22 @@ const _l = /* @__PURE__ */ ze(vl, [["render", kl]]), wl = /* @__PURE__ */ $({
|
|
|
1396
1400
|
]), { property: c } = l(e, [
|
|
1397
1401
|
"settings",
|
|
1398
1402
|
"multiple"
|
|
1399
|
-
]), { property:
|
|
1403
|
+
]), { property: u } = l(e, [
|
|
1400
1404
|
"settings",
|
|
1401
1405
|
"showArrows"
|
|
1402
|
-
]), { theme: m } = F(), { property:
|
|
1406
|
+
]), { theme: m } = F(), { property: p } = l(e, ["settings", "value"]);
|
|
1403
1407
|
return (d, y) => {
|
|
1404
1408
|
const b = E("v-chip-group");
|
|
1405
1409
|
return h(), S(b, {
|
|
1406
|
-
modelValue: o(
|
|
1407
|
-
"onUpdate:modelValue": y[0] || (y[0] = (g) => J(
|
|
1410
|
+
modelValue: o(p),
|
|
1411
|
+
"onUpdate:modelValue": y[0] || (y[0] = (g) => J(p) ? p.value = g : null),
|
|
1408
1412
|
column: o(n),
|
|
1409
1413
|
direction: o(i),
|
|
1410
1414
|
disabled: o(r),
|
|
1411
1415
|
filter: o(s),
|
|
1412
1416
|
mandatory: o(a),
|
|
1413
1417
|
multiple: o(c),
|
|
1414
|
-
"show-arrows": o(
|
|
1418
|
+
"show-arrows": o(u),
|
|
1415
1419
|
theme: o(m)
|
|
1416
1420
|
}, {
|
|
1417
1421
|
default: _(() => [
|
|
@@ -1437,13 +1441,13 @@ const _l = /* @__PURE__ */ ze(vl, [["render", kl]]), wl = /* @__PURE__ */ $({
|
|
|
1437
1441
|
]), { property: c } = l(e, [
|
|
1438
1442
|
"settings",
|
|
1439
1443
|
"hideCanvas"
|
|
1440
|
-
]), { property:
|
|
1444
|
+
]), { property: u } = l(e, [
|
|
1441
1445
|
"settings",
|
|
1442
1446
|
"hideHeader"
|
|
1443
1447
|
]), { property: m } = l(e, [
|
|
1444
1448
|
"settings",
|
|
1445
1449
|
"hideInputs"
|
|
1446
|
-
]), { property:
|
|
1450
|
+
]), { property: p } = l(e, [
|
|
1447
1451
|
"settings",
|
|
1448
1452
|
"hideSliders"
|
|
1449
1453
|
]), { property: d } = l(e, [
|
|
@@ -1457,12 +1461,12 @@ const _l = /* @__PURE__ */ ze(vl, [["render", kl]]), wl = /* @__PURE__ */ $({
|
|
|
1457
1461
|
const x = E("v-color-picker");
|
|
1458
1462
|
return h(), S(o(D), null, {
|
|
1459
1463
|
default: _(() => [
|
|
1460
|
-
|
|
1464
|
+
R(x, {
|
|
1461
1465
|
disabled: o(a),
|
|
1462
1466
|
"hide-canvas": o(c),
|
|
1463
|
-
"hide-header": o(
|
|
1467
|
+
"hide-header": o(u),
|
|
1464
1468
|
"hide-inputs": o(m),
|
|
1465
|
-
"hide-sliders": o(
|
|
1469
|
+
"hide-sliders": o(p),
|
|
1466
1470
|
landscape: o(d),
|
|
1467
1471
|
"show-swatches": o(y),
|
|
1468
1472
|
style: ee(s.value),
|
|
@@ -1492,14 +1496,14 @@ const _l = /* @__PURE__ */ ze(vl, [["render", kl]]), wl = /* @__PURE__ */ $({
|
|
|
1492
1496
|
]), { property: a } = l(e, [
|
|
1493
1497
|
"settings",
|
|
1494
1498
|
"singleLine"
|
|
1495
|
-
]), { theme: c } = F(), { property:
|
|
1496
|
-
return (m,
|
|
1499
|
+
]), { theme: c } = F(), { property: u } = l(e, ["settings", "value"]);
|
|
1500
|
+
return (m, p) => {
|
|
1497
1501
|
const d = E("v-combobox");
|
|
1498
1502
|
return h(), S(o(D), null, {
|
|
1499
1503
|
default: _(() => [
|
|
1500
|
-
|
|
1501
|
-
modelValue: o(
|
|
1502
|
-
"onUpdate:modelValue":
|
|
1504
|
+
R(d, {
|
|
1505
|
+
modelValue: o(u),
|
|
1506
|
+
"onUpdate:modelValue": p[0] || (p[0] = (y) => J(u) ? u.value = y : null),
|
|
1503
1507
|
"hide-details": o(n),
|
|
1504
1508
|
label: o(i),
|
|
1505
1509
|
placeholder: o(r),
|
|
@@ -1522,14 +1526,14 @@ const _l = /* @__PURE__ */ ze(vl, [["render", kl]]), wl = /* @__PURE__ */ $({
|
|
|
1522
1526
|
const e = t, n = ye(), i = ke(), { property: r } = l(e, [
|
|
1523
1527
|
"settings",
|
|
1524
1528
|
"backgroundColor"
|
|
1525
|
-
]), { color: s } = j(r), { applySize: a } = de(e), { applyMargin: c } = Nn(e), { applyPadding:
|
|
1529
|
+
]), { color: s } = j(r), { applySize: a } = de(e), { applyMargin: c } = Nn(e), { applyPadding: u } = jn(e), { applyBorder: m } = Gn(e), p = v(() => {
|
|
1526
1530
|
const d = {}, y = i.value.type;
|
|
1527
|
-
return n === "page" ? y === "common" ? (a(d), c(d),
|
|
1531
|
+
return n === "page" ? y === "common" ? (a(d), c(d), u(d), m(d), s.value && (d.backgroundColor = s.value)) : console.assert(!1) : n === "comp" && y === "common" ? (a(d), c(d), u(d), m(d), s.value && (d.backgroundColor = s.value)) : console.assert(!1), d;
|
|
1528
1532
|
});
|
|
1529
1533
|
return (d, y) => (h(), S(o(D), { block: "" }, {
|
|
1530
1534
|
default: _(() => [
|
|
1531
1535
|
Y("div", {
|
|
1532
|
-
style: ee(
|
|
1536
|
+
style: ee(p.value)
|
|
1533
1537
|
}, [
|
|
1534
1538
|
M(d.$slots, "default")
|
|
1535
1539
|
], 4)
|
|
@@ -1550,11 +1554,11 @@ const _l = /* @__PURE__ */ ze(vl, [["render", kl]]), wl = /* @__PURE__ */ $({
|
|
|
1550
1554
|
]), { property: r } = l(e, [
|
|
1551
1555
|
"settings",
|
|
1552
1556
|
"fixedHeader"
|
|
1553
|
-
]), { property: s } = l(e, ["settings", "headers"]), { property: a } = l(e, ["size", "height"]), { property: c } = l(e, ["settings", "hover"]), { property:
|
|
1557
|
+
]), { property: s } = l(e, ["settings", "headers"]), { property: a } = l(e, ["size", "height"]), { property: c } = l(e, ["settings", "hover"]), { property: u } = l(
|
|
1554
1558
|
e,
|
|
1555
1559
|
["settings", "data"],
|
|
1556
1560
|
!0
|
|
1557
|
-
), { property: m } = l(e, ["settings", "loading"]), { property:
|
|
1561
|
+
), { property: m } = l(e, ["settings", "loading"]), { property: p } = l(e, [
|
|
1558
1562
|
"settings",
|
|
1559
1563
|
"multiSort"
|
|
1560
1564
|
]), { theme: d } = F(), { property: y } = l(e, ["size", "width"]), b = v(() => {
|
|
@@ -1567,23 +1571,23 @@ const _l = /* @__PURE__ */ ze(vl, [["render", kl]]), wl = /* @__PURE__ */ $({
|
|
|
1567
1571
|
const x = E("v-data-table");
|
|
1568
1572
|
return h(), S(o(D), { block: "" }, {
|
|
1569
1573
|
default: _(() => [
|
|
1570
|
-
|
|
1574
|
+
R(x, {
|
|
1571
1575
|
density: o(n),
|
|
1572
1576
|
"fixed-footer": o(i),
|
|
1573
1577
|
"fixed-header": o(r),
|
|
1574
1578
|
headers: o(s),
|
|
1575
1579
|
height: o(a),
|
|
1576
1580
|
hover: o(c),
|
|
1577
|
-
items: o(
|
|
1581
|
+
items: o(u),
|
|
1578
1582
|
loading: o(m),
|
|
1579
|
-
"multi-sort": o(
|
|
1583
|
+
"multi-sort": o(p),
|
|
1580
1584
|
theme: o(d),
|
|
1581
1585
|
width: o(y)
|
|
1582
|
-
},
|
|
1586
|
+
}, Rn({ _: 2 }, [
|
|
1583
1587
|
Qo(b.value, (V) => ({
|
|
1584
1588
|
name: `item.${V.column}`,
|
|
1585
1589
|
fn: _(({ value: I }) => [
|
|
1586
|
-
|
|
1590
|
+
R(o(ge), {
|
|
1587
1591
|
id: V.column,
|
|
1588
1592
|
"ref-context": { compId: V.comp },
|
|
1589
1593
|
state: { value: I }
|
|
@@ -1603,7 +1607,7 @@ const _l = /* @__PURE__ */ ze(vl, [["render", kl]]), wl = /* @__PURE__ */ $({
|
|
|
1603
1607
|
const i = E("v-date-picker");
|
|
1604
1608
|
return h(), S(o(D), null, {
|
|
1605
1609
|
default: _(() => [
|
|
1606
|
-
|
|
1610
|
+
R(i)
|
|
1607
1611
|
]),
|
|
1608
1612
|
_: 1
|
|
1609
1613
|
});
|
|
@@ -1625,7 +1629,7 @@ const _l = /* @__PURE__ */ ze(vl, [["render", kl]]), wl = /* @__PURE__ */ $({
|
|
|
1625
1629
|
const c = E("v-dialog");
|
|
1626
1630
|
return h(), S(c, {
|
|
1627
1631
|
modelValue: o(r),
|
|
1628
|
-
"onUpdate:modelValue": a[0] || (a[0] = (
|
|
1632
|
+
"onUpdate:modelValue": a[0] || (a[0] = (u) => J(r) ? r.value = u : null),
|
|
1629
1633
|
attach: "#dialogContainer"
|
|
1630
1634
|
}, {
|
|
1631
1635
|
activator: _(() => [
|
|
@@ -1654,13 +1658,13 @@ const _l = /* @__PURE__ */ ze(vl, [["render", kl]]), wl = /* @__PURE__ */ $({
|
|
|
1654
1658
|
]), { property: s } = l(e, [
|
|
1655
1659
|
"settings",
|
|
1656
1660
|
"disabled"
|
|
1657
|
-
]), { property: a } = l(e, ["settings", "label"]), { property: c } = l(e, ["settings", "loading"]), { property:
|
|
1661
|
+
]), { property: a } = l(e, ["settings", "label"]), { property: c } = l(e, ["settings", "loading"]), { property: u } = l(e, [
|
|
1658
1662
|
"settings",
|
|
1659
1663
|
"multiple"
|
|
1660
1664
|
]), { property: m } = l(e, [
|
|
1661
1665
|
"settings",
|
|
1662
1666
|
"readonly"
|
|
1663
|
-
]), { property:
|
|
1667
|
+
]), { property: p } = l(e, ["settings", "reverse"]), { property: d } = l(e, [
|
|
1664
1668
|
"settings",
|
|
1665
1669
|
"singleLine"
|
|
1666
1670
|
]);
|
|
@@ -1668,16 +1672,16 @@ const _l = /* @__PURE__ */ ze(vl, [["render", kl]]), wl = /* @__PURE__ */ $({
|
|
|
1668
1672
|
const g = E("v-file-input");
|
|
1669
1673
|
return h(), S(o(D), { block: "" }, {
|
|
1670
1674
|
default: _(() => [
|
|
1671
|
-
|
|
1675
|
+
R(g, {
|
|
1672
1676
|
chips: o(n),
|
|
1673
1677
|
density: o(i),
|
|
1674
1678
|
direction: o(r),
|
|
1675
1679
|
disabled: o(s),
|
|
1676
1680
|
label: o(a),
|
|
1677
1681
|
loading: o(c),
|
|
1678
|
-
multiple: o(
|
|
1682
|
+
multiple: o(u),
|
|
1679
1683
|
readonly: o(m),
|
|
1680
|
-
reverse: o(
|
|
1684
|
+
reverse: o(p),
|
|
1681
1685
|
"single-line": o(d)
|
|
1682
1686
|
}, null, 8, ["chips", "density", "direction", "disabled", "label", "loading", "multiple", "readonly", "reverse", "single-line"])
|
|
1683
1687
|
]),
|
|
@@ -1692,11 +1696,11 @@ const _l = /* @__PURE__ */ ze(vl, [["render", kl]]), wl = /* @__PURE__ */ $({
|
|
|
1692
1696
|
outer: { type: Boolean }
|
|
1693
1697
|
},
|
|
1694
1698
|
setup(t) {
|
|
1695
|
-
const e = t, n = Ee(), i = ye(), r = ke(), { applySize: s } = de(e), { applyMargin: a } = Nn(e), { applyPadding: c } = jn(e), { applyBorder:
|
|
1699
|
+
const e = t, n = Ee(), i = ye(), r = ke(), { applySize: s } = de(e), { applyMargin: a } = Nn(e), { applyPadding: c } = jn(e), { applyBorder: u } = Gn(e), { property: m } = l(e, [
|
|
1696
1700
|
"settings",
|
|
1697
1701
|
"backgroundColor"
|
|
1698
|
-
]), { color:
|
|
1699
|
-
|
|
1702
|
+
]), { color: p } = j(m), d = (b) => {
|
|
1703
|
+
p.value && (b.backgroundColor = p.value), b.display = "flex";
|
|
1700
1704
|
const g = Ue(n.value.width), k = Ae(g, e.node.settings?.direction);
|
|
1701
1705
|
k === "row" ? b.flexDirection = "row" : k === "rowReverse" ? b.flexDirection = "row-reverse" : k === "column" ? b.flexDirection = "column" : k === "columnReverse" && (b.flexDirection = "column-reverse");
|
|
1702
1706
|
const x = Ae(g, e.node.settings?.wrap);
|
|
@@ -1707,7 +1711,7 @@ const _l = /* @__PURE__ */ ze(vl, [["render", kl]]), wl = /* @__PURE__ */ $({
|
|
|
1707
1711
|
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");
|
|
1708
1712
|
}, y = v(() => {
|
|
1709
1713
|
const b = {}, g = r.value.type;
|
|
1710
|
-
return i === "page" ? g === "common" ? (s(b), a(b), c(b),
|
|
1714
|
+
return i === "page" ? g === "common" ? (s(b), a(b), c(b), u(b), d(b)) : console.assert(!1) : i === "comp" && g === "common" ? (s(b), a(b), c(b), u(b), d(b)) : console.assert(!1), b;
|
|
1711
1715
|
});
|
|
1712
1716
|
return (b, g) => (h(), te("div", {
|
|
1713
1717
|
style: ee(y.value)
|
|
@@ -1715,7 +1719,7 @@ const _l = /* @__PURE__ */ ze(vl, [["render", kl]]), wl = /* @__PURE__ */ $({
|
|
|
1715
1719
|
M(b.$slots, "default")
|
|
1716
1720
|
], 4));
|
|
1717
1721
|
}
|
|
1718
|
-
}),
|
|
1722
|
+
}), Wl = /* @__PURE__ */ $({
|
|
1719
1723
|
__name: "index",
|
|
1720
1724
|
props: {
|
|
1721
1725
|
node: {},
|
|
@@ -1723,16 +1727,16 @@ const _l = /* @__PURE__ */ ze(vl, [["render", kl]]), wl = /* @__PURE__ */ $({
|
|
|
1723
1727
|
},
|
|
1724
1728
|
setup(t) {
|
|
1725
1729
|
const e = t, n = ye(), i = ke(), { applySize: r } = de(e), { property: s } = l(e, ["settings", "grow"]), { property: a } = l(e, ["settings", "shrink"]), c = v(() => {
|
|
1726
|
-
const
|
|
1727
|
-
return n === "page" ? m === "common" ? (r(
|
|
1730
|
+
const u = {}, m = i.value.type;
|
|
1731
|
+
return n === "page" ? m === "common" ? (r(u), u.flexGrow = s.value ? 1 : 0, u.flexShrink = a.value ? 1 : 0) : console.assert(!1) : n === "comp" && m === "common" ? (r(u), u.flexGrow = s.value ? 1 : 0, u.flexShrink = a.value ? 1 : 0) : console.assert(!1), u;
|
|
1728
1732
|
});
|
|
1729
|
-
return (
|
|
1733
|
+
return (u, m) => (h(), te("div", {
|
|
1730
1734
|
style: ee(c.value)
|
|
1731
1735
|
}, [
|
|
1732
|
-
M(
|
|
1736
|
+
M(u.$slots, "default")
|
|
1733
1737
|
], 4));
|
|
1734
1738
|
}
|
|
1735
|
-
}),
|
|
1739
|
+
}), Rl = /* @__PURE__ */ $({
|
|
1736
1740
|
__name: "index",
|
|
1737
1741
|
props: {
|
|
1738
1742
|
node: {},
|
|
@@ -1745,9 +1749,9 @@ const _l = /* @__PURE__ */ ze(vl, [["render", kl]]), wl = /* @__PURE__ */ $({
|
|
|
1745
1749
|
]), { property: c } = l(e, [
|
|
1746
1750
|
"settings",
|
|
1747
1751
|
"backgroundColor"
|
|
1748
|
-
]), { color:
|
|
1752
|
+
]), { color: u } = j(c), { applySize: m } = de(e), { applyMargin: p } = Nn(e), { applyPadding: d } = jn(e), { applyBorder: y } = Gn(e), b = v(() => {
|
|
1749
1753
|
const k = {}, x = i.value.type;
|
|
1750
|
-
return n === "page" ? x === "common" ? (m(k),
|
|
1754
|
+
return n === "page" ? x === "common" ? (m(k), p(k), d(k), y(k), u.value && (k.backgroundColor = u.value)) : console.assert(!1) : n === "comp" && x === "common" ? (m(k), p(k), d(k), y(k), u.value && (k.backgroundColor = u.value)) : console.assert(!1), k;
|
|
1751
1755
|
}), g = () => {
|
|
1752
1756
|
r && r.callFunction(
|
|
1753
1757
|
"__triggerEventV1__",
|
|
@@ -1781,9 +1785,9 @@ const _l = /* @__PURE__ */ ze(vl, [["render", kl]]), wl = /* @__PURE__ */ $({
|
|
|
1781
1785
|
"settings",
|
|
1782
1786
|
"disabled"
|
|
1783
1787
|
]), { property: s } = l(e, ["settings", "icon"]), { property: a } = l(e, ["settings", "size"]), { theme: c } = F();
|
|
1784
|
-
return (
|
|
1785
|
-
const
|
|
1786
|
-
return h(), S(
|
|
1788
|
+
return (u, m) => {
|
|
1789
|
+
const p = E("v-icon");
|
|
1790
|
+
return h(), S(p, {
|
|
1787
1791
|
color: o(i),
|
|
1788
1792
|
disabled: o(r),
|
|
1789
1793
|
icon: o(s),
|
|
@@ -1799,19 +1803,19 @@ const _l = /* @__PURE__ */ ze(vl, [["render", kl]]), wl = /* @__PURE__ */ $({
|
|
|
1799
1803
|
outer: { type: Boolean }
|
|
1800
1804
|
},
|
|
1801
1805
|
setup(t) {
|
|
1802
|
-
const e = t, n = N(), i = fe(), r = oe(0), s = oe(0), a = v(() => [r.value, s.value]), c = v(() => e.node.basic?.id), { open:
|
|
1806
|
+
const e = t, n = N(), i = fe(), r = oe(0), s = oe(0), a = v(() => [r.value, s.value]), c = v(() => e.node.basic?.id), { open: u } = po(`runtimeMenu/${co()}`);
|
|
1803
1807
|
return Je(e, "open", () => {
|
|
1804
1808
|
if (!i || !i.vm)
|
|
1805
1809
|
return;
|
|
1806
|
-
const { vm: m } = i,
|
|
1807
|
-
r.value = m.getNumber(
|
|
1810
|
+
const { vm: m } = i, p = m.getProp(m.global, "__pointerPosX__"), d = m.getProp(m.global, "__pointerPosY__");
|
|
1811
|
+
r.value = m.getNumber(p), s.value = m.getNumber(d), p.dispose(), d.dispose(), u.value = !0;
|
|
1808
1812
|
}), Je(e, "close", () => {
|
|
1809
|
-
i && (
|
|
1810
|
-
}), (m,
|
|
1813
|
+
i && (u.value = !1);
|
|
1814
|
+
}), (m, p) => {
|
|
1811
1815
|
const d = E("v-menu");
|
|
1812
1816
|
return h(), S(d, {
|
|
1813
|
-
modelValue: o(
|
|
1814
|
-
"onUpdate:modelValue":
|
|
1817
|
+
modelValue: o(u),
|
|
1818
|
+
"onUpdate:modelValue": p[0] || (p[0] = (y) => J(u) ? u.value = y : null),
|
|
1815
1819
|
attach: "menuContainer",
|
|
1816
1820
|
"location-strategy": "connected",
|
|
1817
1821
|
scrim: "transparent",
|
|
@@ -1851,7 +1855,7 @@ const _l = /* @__PURE__ */ ze(vl, [["render", kl]]), wl = /* @__PURE__ */ $({
|
|
|
1851
1855
|
]), { property: s } = l(e, [
|
|
1852
1856
|
"settings",
|
|
1853
1857
|
"hideDetails"
|
|
1854
|
-
]), { property: a } = l(e, ["settings", "label"]), { property: c } = l(e, ["settings", "loading"]), { property:
|
|
1858
|
+
]), { property: a } = l(e, ["settings", "label"]), { property: c } = l(e, ["settings", "loading"]), { property: u } = l(e, ["settings", "max"]), { property: m } = l(e, ["size", "maxWidth"]), { property: p } = l(e, ["settings", "min"]), { property: d } = l(e, ["size", "minWidth"]), { property: y } = l(e, [
|
|
1855
1859
|
"settings",
|
|
1856
1860
|
"placeholder"
|
|
1857
1861
|
]), { property: b } = l(e, [
|
|
@@ -1876,7 +1880,7 @@ const _l = /* @__PURE__ */ ze(vl, [["render", kl]]), wl = /* @__PURE__ */ $({
|
|
|
1876
1880
|
const _e = E("v-number-input");
|
|
1877
1881
|
return h(), S(o(D), { block: "" }, {
|
|
1878
1882
|
default: _(() => [
|
|
1879
|
-
|
|
1883
|
+
R(_e, {
|
|
1880
1884
|
modelValue: o(B),
|
|
1881
1885
|
"onUpdate:modelValue": ie[0] || (ie[0] = (ue) => J(B) ? B.value = ue : null),
|
|
1882
1886
|
"append-icon": o(n),
|
|
@@ -1885,9 +1889,9 @@ const _l = /* @__PURE__ */ ze(vl, [["render", kl]]), wl = /* @__PURE__ */ $({
|
|
|
1885
1889
|
"hide-details": o(s),
|
|
1886
1890
|
label: o(a),
|
|
1887
1891
|
loading: o(c),
|
|
1888
|
-
max: o(
|
|
1892
|
+
max: o(u),
|
|
1889
1893
|
"max-width": o(m),
|
|
1890
|
-
min: o(
|
|
1894
|
+
min: o(p),
|
|
1891
1895
|
"min-width": o(d),
|
|
1892
1896
|
placeholder: o(y),
|
|
1893
1897
|
precision: o(b),
|
|
@@ -1921,7 +1925,7 @@ const _l = /* @__PURE__ */ ze(vl, [["render", kl]]), wl = /* @__PURE__ */ $({
|
|
|
1921
1925
|
]), { property: s } = l(e, ["settings", "length"]), { property: a } = l(e, [
|
|
1922
1926
|
"settings",
|
|
1923
1927
|
"showFirstLastPage"
|
|
1924
|
-
]), { property: c } = l(e, ["settings", "size"]), { property:
|
|
1928
|
+
]), { property: c } = l(e, ["settings", "size"]), { property: u } = l(e, ["settings", "start"]), { theme: m } = F(), { property: p } = l(e, ["settings", "tile"]), { property: d } = l(e, ["settings", "value"]), { property: y } = l(e, ["settings", "variant"]), b = v(() => {
|
|
1925
1929
|
const g = {};
|
|
1926
1930
|
return n === "editor" && (g.pointerEvents = "none"), g;
|
|
1927
1931
|
});
|
|
@@ -1929,7 +1933,7 @@ const _l = /* @__PURE__ */ ze(vl, [["render", kl]]), wl = /* @__PURE__ */ $({
|
|
|
1929
1933
|
const x = E("v-pagination");
|
|
1930
1934
|
return h(), S(o(D), { block: "" }, {
|
|
1931
1935
|
default: _(() => [
|
|
1932
|
-
|
|
1936
|
+
R(x, {
|
|
1933
1937
|
modelValue: o(d),
|
|
1934
1938
|
"onUpdate:modelValue": k[0] || (k[0] = (V) => J(d) ? d.value = V : null),
|
|
1935
1939
|
density: o(i),
|
|
@@ -1937,10 +1941,10 @@ const _l = /* @__PURE__ */ ze(vl, [["render", kl]]), wl = /* @__PURE__ */ $({
|
|
|
1937
1941
|
length: o(s),
|
|
1938
1942
|
"show-first-last-page": o(a),
|
|
1939
1943
|
size: o(c),
|
|
1940
|
-
start: o(
|
|
1944
|
+
start: o(u),
|
|
1941
1945
|
style: ee(b.value),
|
|
1942
1946
|
theme: o(m),
|
|
1943
|
-
tile: o(
|
|
1947
|
+
tile: o(p),
|
|
1944
1948
|
variant: o(y)
|
|
1945
1949
|
}, null, 8, ["modelValue", "density", "disabled", "length", "show-first-last-page", "size", "start", "style", "theme", "tile", "variant"])
|
|
1946
1950
|
]),
|
|
@@ -1961,8 +1965,8 @@ const _l = /* @__PURE__ */ ze(vl, [["render", kl]]), wl = /* @__PURE__ */ $({
|
|
|
1961
1965
|
]), { property: a } = l(e, ["settings", "label"]), { property: c } = l(e, [
|
|
1962
1966
|
"settings",
|
|
1963
1967
|
"readonly"
|
|
1964
|
-
]), { theme:
|
|
1965
|
-
return (
|
|
1968
|
+
]), { theme: u } = F(), { property: m } = l(e, ["settings", "value"]);
|
|
1969
|
+
return (p, d) => {
|
|
1966
1970
|
const y = E("v-radio");
|
|
1967
1971
|
return h(), S(y, {
|
|
1968
1972
|
color: o(i),
|
|
@@ -1970,7 +1974,7 @@ const _l = /* @__PURE__ */ ze(vl, [["render", kl]]), wl = /* @__PURE__ */ $({
|
|
|
1970
1974
|
disabled: o(s),
|
|
1971
1975
|
label: o(a),
|
|
1972
1976
|
readonly: o(c),
|
|
1973
|
-
theme: o(
|
|
1977
|
+
theme: o(u),
|
|
1974
1978
|
value: o(m)
|
|
1975
1979
|
}, null, 8, ["color", "density", "disabled", "label", "readonly", "theme", "value"]);
|
|
1976
1980
|
};
|
|
@@ -1991,14 +1995,14 @@ const _l = /* @__PURE__ */ ze(vl, [["render", kl]]), wl = /* @__PURE__ */ $({
|
|
|
1991
1995
|
]), { property: s } = l(e, ["settings", "inline"]), { property: a } = l(e, [
|
|
1992
1996
|
"settings",
|
|
1993
1997
|
"readonly"
|
|
1994
|
-
]), { theme: c } = F(), { property:
|
|
1995
|
-
return (m,
|
|
1998
|
+
]), { theme: c } = F(), { property: u } = l(e, ["settings", "value"]);
|
|
1999
|
+
return (m, p) => {
|
|
1996
2000
|
const d = E("v-radio-group");
|
|
1997
2001
|
return h(), S(o(D), null, {
|
|
1998
2002
|
default: _(() => [
|
|
1999
|
-
|
|
2000
|
-
modelValue: o(
|
|
2001
|
-
"onUpdate:modelValue":
|
|
2003
|
+
R(d, {
|
|
2004
|
+
modelValue: o(u),
|
|
2005
|
+
"onUpdate:modelValue": p[0] || (p[0] = (y) => J(u) ? u.value = y : null),
|
|
2002
2006
|
density: o(n),
|
|
2003
2007
|
direction: o(i),
|
|
2004
2008
|
disabled: o(r),
|
|
@@ -2032,16 +2036,16 @@ const _l = /* @__PURE__ */ ze(vl, [["render", kl]]), wl = /* @__PURE__ */ $({
|
|
|
2032
2036
|
]), { property: s } = l(e, [
|
|
2033
2037
|
"settings",
|
|
2034
2038
|
"hideDetails"
|
|
2035
|
-
]), { property: a } = l(e, ["settings", "label"]), { property: c } = l(e, ["settings", "max"]), { property:
|
|
2039
|
+
]), { property: a } = l(e, ["settings", "label"]), { property: c } = l(e, ["settings", "max"]), { property: u } = l(e, ["settings", "min"]), { property: m } = l(e, [
|
|
2036
2040
|
"settings",
|
|
2037
2041
|
"readonly"
|
|
2038
|
-
]), { property:
|
|
2042
|
+
]), { property: p } = l(e, [
|
|
2039
2043
|
"settings",
|
|
2040
2044
|
"showTicks"
|
|
2041
2045
|
]), d = v(() => {
|
|
2042
|
-
if (
|
|
2046
|
+
if (p.value === "always")
|
|
2043
2047
|
return "always";
|
|
2044
|
-
if (
|
|
2048
|
+
if (p.value === "show")
|
|
2045
2049
|
return !0;
|
|
2046
2050
|
}), { property: y } = l(e, ["settings", "step"]), { theme: b } = F(), { property: g } = l(e, [
|
|
2047
2051
|
"settings",
|
|
@@ -2083,7 +2087,7 @@ const _l = /* @__PURE__ */ ze(vl, [["render", kl]]), wl = /* @__PURE__ */ $({
|
|
|
2083
2087
|
const O = E("v-range-slider");
|
|
2084
2088
|
return h(), S(o(D), { block: "" }, {
|
|
2085
2089
|
default: _(() => [
|
|
2086
|
-
|
|
2090
|
+
R(O, {
|
|
2087
2091
|
modelValue: G.value,
|
|
2088
2092
|
"onUpdate:modelValue": C[0] || (C[0] = (X) => G.value = X),
|
|
2089
2093
|
density: o(n),
|
|
@@ -2092,7 +2096,7 @@ const _l = /* @__PURE__ */ ze(vl, [["render", kl]]), wl = /* @__PURE__ */ $({
|
|
|
2092
2096
|
"hide-details": o(s),
|
|
2093
2097
|
label: o(a),
|
|
2094
2098
|
max: o(c),
|
|
2095
|
-
min: o(
|
|
2099
|
+
min: o(u),
|
|
2096
2100
|
readonly: o(m),
|
|
2097
2101
|
"show-ticks": d.value,
|
|
2098
2102
|
step: o(y),
|
|
@@ -2123,24 +2127,24 @@ const _l = /* @__PURE__ */ ze(vl, [["render", kl]]), wl = /* @__PURE__ */ $({
|
|
|
2123
2127
|
]), { property: s } = l(e, [
|
|
2124
2128
|
"settings",
|
|
2125
2129
|
"halfIncrements"
|
|
2126
|
-
]), { property: a } = l(e, ["settings", "hover"]), { property: c } = l(e, ["settings", "length"]), { property:
|
|
2130
|
+
]), { property: a } = l(e, ["settings", "hover"]), { property: c } = l(e, ["settings", "length"]), { property: u } = l(e, [
|
|
2127
2131
|
"settings",
|
|
2128
2132
|
"readonly"
|
|
2129
|
-
]), { theme: m } = F(), { property:
|
|
2133
|
+
]), { theme: m } = F(), { property: p } = l(e, ["settings", "value"]);
|
|
2130
2134
|
return (d, y) => {
|
|
2131
2135
|
const b = E("v-rating");
|
|
2132
2136
|
return h(), S(o(D), null, {
|
|
2133
2137
|
default: _(() => [
|
|
2134
|
-
|
|
2135
|
-
modelValue: o(
|
|
2136
|
-
"onUpdate:modelValue": y[0] || (y[0] = (g) => J(
|
|
2138
|
+
R(b, {
|
|
2139
|
+
modelValue: o(p),
|
|
2140
|
+
"onUpdate:modelValue": y[0] || (y[0] = (g) => J(p) ? p.value = g : null),
|
|
2137
2141
|
clearable: o(n),
|
|
2138
2142
|
density: o(i),
|
|
2139
2143
|
disabled: o(r),
|
|
2140
2144
|
"half-increments": o(s),
|
|
2141
2145
|
hover: o(a),
|
|
2142
2146
|
length: o(c),
|
|
2143
|
-
readonly: o(
|
|
2147
|
+
readonly: o(u),
|
|
2144
2148
|
theme: o(m)
|
|
2145
2149
|
}, null, 8, ["modelValue", "clearable", "density", "disabled", "half-increments", "hover", "length", "readonly", "theme"])
|
|
2146
2150
|
]),
|
|
@@ -2167,14 +2171,14 @@ const _l = /* @__PURE__ */ ze(vl, [["render", kl]]), wl = /* @__PURE__ */ $({
|
|
|
2167
2171
|
]), { property: a } = l(e, [
|
|
2168
2172
|
"settings",
|
|
2169
2173
|
"singleLine"
|
|
2170
|
-
]), { theme: c } = F(), { property:
|
|
2171
|
-
return (m,
|
|
2174
|
+
]), { theme: c } = F(), { property: u } = l(e, ["settings", "value"]);
|
|
2175
|
+
return (m, p) => {
|
|
2172
2176
|
const d = E("v-select");
|
|
2173
2177
|
return h(), S(o(D), { block: "" }, {
|
|
2174
2178
|
default: _(() => [
|
|
2175
|
-
|
|
2176
|
-
modelValue: o(
|
|
2177
|
-
"onUpdate:modelValue":
|
|
2179
|
+
R(d, {
|
|
2180
|
+
modelValue: o(u),
|
|
2181
|
+
"onUpdate:modelValue": p[0] || (p[0] = (y) => J(u) ? u.value = y : null),
|
|
2178
2182
|
"hide-details": o(n),
|
|
2179
2183
|
label: o(i),
|
|
2180
2184
|
placeholder: o(r),
|
|
@@ -2203,7 +2207,7 @@ const _l = /* @__PURE__ */ ze(vl, [["render", kl]]), wl = /* @__PURE__ */ $({
|
|
|
2203
2207
|
]), { property: a } = l(e, [
|
|
2204
2208
|
"settings",
|
|
2205
2209
|
"hideDetails"
|
|
2206
|
-
]), { property: c } = l(e, ["settings", "label"]), { property:
|
|
2210
|
+
]), { property: c } = l(e, ["settings", "label"]), { property: u } = l(e, ["settings", "max"]), { property: m } = l(e, ["settings", "min"]), { property: p } = l(e, [
|
|
2207
2211
|
"settings",
|
|
2208
2212
|
"readonly"
|
|
2209
2213
|
]), { property: d } = l(e, ["settings", "reverse"]), { property: y } = l(e, [
|
|
@@ -2250,7 +2254,7 @@ const _l = /* @__PURE__ */ ze(vl, [["render", kl]]), wl = /* @__PURE__ */ $({
|
|
|
2250
2254
|
const tn = E("v-slider");
|
|
2251
2255
|
return h(), S(o(D), { block: "" }, {
|
|
2252
2256
|
default: _(() => [
|
|
2253
|
-
|
|
2257
|
+
R(tn, {
|
|
2254
2258
|
modelValue: o(X),
|
|
2255
2259
|
"onUpdate:modelValue": je[0] || (je[0] = (Xo) => J(X) ? X.value = Xo : null),
|
|
2256
2260
|
color: o(i),
|
|
@@ -2258,9 +2262,9 @@ const _l = /* @__PURE__ */ ze(vl, [["render", kl]]), wl = /* @__PURE__ */ $({
|
|
|
2258
2262
|
disabled: o(s),
|
|
2259
2263
|
"hide-details": o(a),
|
|
2260
2264
|
label: o(c),
|
|
2261
|
-
max: o(
|
|
2265
|
+
max: o(u),
|
|
2262
2266
|
min: o(m),
|
|
2263
|
-
readonly: o(
|
|
2267
|
+
readonly: o(p),
|
|
2264
2268
|
reverse: o(d),
|
|
2265
2269
|
"show-ticks": b.value,
|
|
2266
2270
|
step: o(g),
|
|
@@ -2271,11 +2275,11 @@ const _l = /* @__PURE__ */ ze(vl, [["render", kl]]), wl = /* @__PURE__ */ $({
|
|
|
2271
2275
|
"tick-size": o(B),
|
|
2272
2276
|
ticks: G.value,
|
|
2273
2277
|
"track-color": o(O)
|
|
2274
|
-
},
|
|
2278
|
+
}, Rn({ _: 2 }, [
|
|
2275
2279
|
o(ie) ? {
|
|
2276
2280
|
name: "append",
|
|
2277
2281
|
fn: _(() => [
|
|
2278
|
-
|
|
2282
|
+
R(o(ge), {
|
|
2279
2283
|
id: "append",
|
|
2280
2284
|
"ref-context": { compId: o(ie) },
|
|
2281
2285
|
state: {}
|
|
@@ -2286,7 +2290,7 @@ const _l = /* @__PURE__ */ ze(vl, [["render", kl]]), wl = /* @__PURE__ */ $({
|
|
|
2286
2290
|
o(_e) ? {
|
|
2287
2291
|
name: "prepend",
|
|
2288
2292
|
fn: _(() => [
|
|
2289
|
-
|
|
2293
|
+
R(o(ge), {
|
|
2290
2294
|
id: "prepend",
|
|
2291
2295
|
"ref-context": { compId: o(_e) },
|
|
2292
2296
|
state: {}
|
|
@@ -2315,7 +2319,7 @@ const _l = /* @__PURE__ */ ze(vl, [["render", kl]]), wl = /* @__PURE__ */ $({
|
|
|
2315
2319
|
const c = E("v-stepper");
|
|
2316
2320
|
return h(), S(c, {
|
|
2317
2321
|
modelValue: o(r),
|
|
2318
|
-
"onUpdate:modelValue": a[0] || (a[0] = (
|
|
2322
|
+
"onUpdate:modelValue": a[0] || (a[0] = (u) => J(r) ? r.value = u : null),
|
|
2319
2323
|
"hide-actions": o(n),
|
|
2320
2324
|
theme: o(i)
|
|
2321
2325
|
}, {
|
|
@@ -2401,12 +2405,12 @@ const ia = /* @__PURE__ */ ze(ta, [["render", na]]), oa = /* @__PURE__ */ $({
|
|
|
2401
2405
|
]), { property: a } = l(e, [
|
|
2402
2406
|
"settings",
|
|
2403
2407
|
"indeterminate"
|
|
2404
|
-
]), { property: c } = l(e, ["settings", "inline"]), { property:
|
|
2408
|
+
]), { property: c } = l(e, ["settings", "inline"]), { property: u } = l(e, ["settings", "inset"]), { property: m } = l(e, ["settings", "label"]), { property: p } = l(e, ["settings", "loading"]), { theme: d } = F(), { property: y } = l(e, ["settings", "value"]);
|
|
2405
2409
|
return (b, g) => {
|
|
2406
2410
|
const k = E("v-switch");
|
|
2407
2411
|
return h(), S(o(D), { "fit-content": !0 }, {
|
|
2408
2412
|
default: _(() => [
|
|
2409
|
-
|
|
2413
|
+
R(k, {
|
|
2410
2414
|
modelValue: o(y),
|
|
2411
2415
|
"onUpdate:modelValue": g[0] || (g[0] = (x) => J(y) ? y.value = x : null),
|
|
2412
2416
|
density: o(n),
|
|
@@ -2415,9 +2419,9 @@ const ia = /* @__PURE__ */ ze(ta, [["render", na]]), oa = /* @__PURE__ */ $({
|
|
|
2415
2419
|
"hide-details": o(s),
|
|
2416
2420
|
indeterminate: o(a),
|
|
2417
2421
|
inline: o(c),
|
|
2418
|
-
inset: o(
|
|
2422
|
+
inset: o(u),
|
|
2419
2423
|
label: o(m),
|
|
2420
|
-
loading: o(
|
|
2424
|
+
loading: o(p),
|
|
2421
2425
|
theme: o(d)
|
|
2422
2426
|
}, null, 8, ["modelValue", "density", "direction", "disabled", "hide-details", "indeterminate", "inline", "inset", "label", "loading", "theme"])
|
|
2423
2427
|
]),
|
|
@@ -2436,11 +2440,11 @@ const ia = /* @__PURE__ */ ze(ta, [["render", na]]), oa = /* @__PURE__ */ $({
|
|
|
2436
2440
|
const c = {};
|
|
2437
2441
|
return n === "editor" && (c.pointerEvents = "none"), c;
|
|
2438
2442
|
});
|
|
2439
|
-
return (c,
|
|
2443
|
+
return (c, u) => {
|
|
2440
2444
|
const m = E("v-tab");
|
|
2441
2445
|
return h(), S(o(D), null, {
|
|
2442
2446
|
default: _(() => [
|
|
2443
|
-
|
|
2447
|
+
R(m, {
|
|
2444
2448
|
style: ee(a.value),
|
|
2445
2449
|
text: o(i),
|
|
2446
2450
|
theme: o(r),
|
|
@@ -2472,10 +2476,10 @@ const ia = /* @__PURE__ */ ze(ta, [["render", na]]), oa = /* @__PURE__ */ $({
|
|
|
2472
2476
|
"settings",
|
|
2473
2477
|
"color",
|
|
2474
2478
|
"selectedColor"
|
|
2475
|
-
]), { color: c } = j(a), { property:
|
|
2479
|
+
]), { color: c } = j(a), { property: u } = l(e, ["settings", "density"]), { property: m } = l(e, [
|
|
2476
2480
|
"settings",
|
|
2477
2481
|
"direction"
|
|
2478
|
-
]), { property:
|
|
2482
|
+
]), { property: p } = l(e, [
|
|
2479
2483
|
"settings",
|
|
2480
2484
|
"disabled"
|
|
2481
2485
|
]), { property: d } = l(e, [
|
|
@@ -2499,16 +2503,16 @@ const ia = /* @__PURE__ */ ze(ta, [["render", na]]), oa = /* @__PURE__ */ $({
|
|
|
2499
2503
|
const C = E("v-tabs");
|
|
2500
2504
|
return h(), S(o(D), { block: "" }, {
|
|
2501
2505
|
default: _(() => [
|
|
2502
|
-
|
|
2506
|
+
R(C, {
|
|
2503
2507
|
modelValue: o(K),
|
|
2504
2508
|
"onUpdate:modelValue": B[0] || (B[0] = (O) => J(K) ? K.value = O : null),
|
|
2505
2509
|
"align-tabs": o(n),
|
|
2506
2510
|
"bg-color": o(r),
|
|
2507
2511
|
"center-active": o(s),
|
|
2508
2512
|
color: o(c),
|
|
2509
|
-
density: o(
|
|
2513
|
+
density: o(u),
|
|
2510
2514
|
direction: o(m),
|
|
2511
|
-
disabled: o(
|
|
2515
|
+
disabled: o(p),
|
|
2512
2516
|
"fixed-tabs": o(d),
|
|
2513
2517
|
grow: o(y),
|
|
2514
2518
|
"hide-slider": o(b),
|
|
@@ -2542,11 +2546,11 @@ const ia = /* @__PURE__ */ ze(ta, [["render", na]]), oa = /* @__PURE__ */ $({
|
|
|
2542
2546
|
]), { property: s } = l(e, [
|
|
2543
2547
|
"settings",
|
|
2544
2548
|
"emphasis"
|
|
2545
|
-
]), { property: a } = l(e, ["settings", "italic"]), { property: c } = l(e, ["settings", "text"]), { property:
|
|
2546
|
-
const
|
|
2547
|
-
return y &&
|
|
2549
|
+
]), { property: a } = l(e, ["settings", "italic"]), { property: c } = l(e, ["settings", "text"]), { property: u } = l(e, ["settings", "weight"]), m = v(() => {
|
|
2550
|
+
const p = [], d = Ue(n.value.width), y = Ae(d, e.node.settings?.style);
|
|
2551
|
+
return y && p.push(`text-${y}`), s.value === "high" ? p.push("text-high-emphasis") : s.value === "medium" ? p.push("text-medium-emphasis") : s.value === "disabled" && p.push("text-disabled"), i.value && p.push(`font-${i.value}`), r.value && p.push(`text-decoration-${r.value}`), u.value && p.push(`font-weight-${u.value}`), a.value && p.push("font-italic"), p.join(" ");
|
|
2548
2552
|
});
|
|
2549
|
-
return (
|
|
2553
|
+
return (p, d) => (h(), S(o(D), null, {
|
|
2550
2554
|
default: _(() => [
|
|
2551
2555
|
Y("span", {
|
|
2552
2556
|
class: tr(m.value)
|
|
@@ -2571,10 +2575,10 @@ const ia = /* @__PURE__ */ ze(ta, [["render", na]]), oa = /* @__PURE__ */ $({
|
|
|
2571
2575
|
]), { property: r } = l(e, ["settings", "density"]), { property: s } = l(e, [
|
|
2572
2576
|
"settings",
|
|
2573
2577
|
"disabled"
|
|
2574
|
-
]), { property: a } = l(e, ["settings", "label"]), { property: c } = l(e, ["settings", "loading"]), { property:
|
|
2578
|
+
]), { property: a } = l(e, ["settings", "label"]), { property: c } = l(e, ["settings", "loading"]), { property: u } = l(e, ["settings", "maxRows"]), { property: m } = l(e, [
|
|
2575
2579
|
"settings",
|
|
2576
2580
|
"placeholder"
|
|
2577
|
-
]), { property:
|
|
2581
|
+
]), { property: p } = l(e, [
|
|
2578
2582
|
"settings",
|
|
2579
2583
|
"readonly"
|
|
2580
2584
|
]), { property: d } = l(e, ["settings", "reverse"]), { property: y } = l(e, ["settings", "rows"]), { property: b } = l(e, [
|
|
@@ -2585,7 +2589,7 @@ const ia = /* @__PURE__ */ ze(ta, [["render", na]]), oa = /* @__PURE__ */ $({
|
|
|
2585
2589
|
const P = E("v-textarea");
|
|
2586
2590
|
return h(), S(o(D), { block: "" }, {
|
|
2587
2591
|
default: _(() => [
|
|
2588
|
-
|
|
2592
|
+
R(P, {
|
|
2589
2593
|
modelValue: o(k),
|
|
2590
2594
|
"onUpdate:modelValue": I[0] || (I[0] = (L) => J(k) ? k.value = L : null),
|
|
2591
2595
|
"auto-grow": o(n),
|
|
@@ -2594,9 +2598,9 @@ const ia = /* @__PURE__ */ ze(ta, [["render", na]]), oa = /* @__PURE__ */ $({
|
|
|
2594
2598
|
disabled: o(s),
|
|
2595
2599
|
label: o(a),
|
|
2596
2600
|
loading: o(c),
|
|
2597
|
-
"max-rows": o(
|
|
2601
|
+
"max-rows": o(u),
|
|
2598
2602
|
placeholder: o(m),
|
|
2599
|
-
readonly: o(
|
|
2603
|
+
readonly: o(p),
|
|
2600
2604
|
reverse: o(d),
|
|
2601
2605
|
rows: o(y),
|
|
2602
2606
|
"single-line": o(b),
|
|
@@ -2630,10 +2634,10 @@ const ia = /* @__PURE__ */ ze(ta, [["render", na]]), oa = /* @__PURE__ */ $({
|
|
|
2630
2634
|
]), { property: a } = l(e, ["settings", "density"]), { property: c } = l(e, [
|
|
2631
2635
|
"settings",
|
|
2632
2636
|
"disabled"
|
|
2633
|
-
]), { property:
|
|
2637
|
+
]), { property: u } = l(e, [
|
|
2634
2638
|
"settings",
|
|
2635
2639
|
"hideDetails"
|
|
2636
|
-
]), { property: m } = l(e, ["settings", "label"]), { property:
|
|
2640
|
+
]), { property: m } = l(e, ["settings", "label"]), { property: p } = l(e, ["settings", "loading"]), { property: d } = l(e, [
|
|
2637
2641
|
"settings",
|
|
2638
2642
|
"placeholder"
|
|
2639
2643
|
]), { property: y } = l(e, ["settings", "prefix"]), { property: b } = l(e, [
|
|
@@ -2662,7 +2666,7 @@ const ia = /* @__PURE__ */ ze(ta, [["render", na]]), oa = /* @__PURE__ */ $({
|
|
|
2662
2666
|
const _e = E("v-text-field");
|
|
2663
2667
|
return h(), S(o(D), { block: "" }, {
|
|
2664
2668
|
default: _(() => [
|
|
2665
|
-
|
|
2669
|
+
R(_e, {
|
|
2666
2670
|
modelValue: o(L),
|
|
2667
2671
|
"onUpdate:modelValue": ie[0] || (ie[0] = (ue) => J(L) ? L.value = ue : null),
|
|
2668
2672
|
"append-icon": o(n),
|
|
@@ -2671,9 +2675,9 @@ const ia = /* @__PURE__ */ ze(ta, [["render", na]]), oa = /* @__PURE__ */ $({
|
|
|
2671
2675
|
clearable: o(s),
|
|
2672
2676
|
density: o(a),
|
|
2673
2677
|
disabled: o(c),
|
|
2674
|
-
"hide-details": o(
|
|
2678
|
+
"hide-details": o(u),
|
|
2675
2679
|
label: o(m),
|
|
2676
|
-
loading: o(
|
|
2680
|
+
loading: o(p),
|
|
2677
2681
|
placeholder: o(d),
|
|
2678
2682
|
prefix: o(y),
|
|
2679
2683
|
"prepend-icon": o(b),
|
|
@@ -2684,11 +2688,11 @@ const ia = /* @__PURE__ */ ze(ta, [["render", na]]), oa = /* @__PURE__ */ $({
|
|
|
2684
2688
|
suffix: o(I),
|
|
2685
2689
|
theme: o(P),
|
|
2686
2690
|
variant: o(K)
|
|
2687
|
-
},
|
|
2691
|
+
}, Rn({ _: 2 }, [
|
|
2688
2692
|
o(G) ? {
|
|
2689
2693
|
name: "append",
|
|
2690
2694
|
fn: _(() => [
|
|
2691
|
-
|
|
2695
|
+
R(o(ge), {
|
|
2692
2696
|
id: "append",
|
|
2693
2697
|
"ref-context": { compId: o(G) },
|
|
2694
2698
|
state: {}
|
|
@@ -2699,7 +2703,7 @@ const ia = /* @__PURE__ */ ze(ta, [["render", na]]), oa = /* @__PURE__ */ $({
|
|
|
2699
2703
|
o(B) ? {
|
|
2700
2704
|
name: "append-inner",
|
|
2701
2705
|
fn: _(() => [
|
|
2702
|
-
|
|
2706
|
+
R(o(ge), {
|
|
2703
2707
|
id: "append-inner",
|
|
2704
2708
|
"ref-context": { compId: o(B) },
|
|
2705
2709
|
state: {}
|
|
@@ -2710,7 +2714,7 @@ const ia = /* @__PURE__ */ ze(ta, [["render", na]]), oa = /* @__PURE__ */ $({
|
|
|
2710
2714
|
o(C) ? {
|
|
2711
2715
|
name: "prepend",
|
|
2712
2716
|
fn: _(() => [
|
|
2713
|
-
|
|
2717
|
+
R(o(ge), {
|
|
2714
2718
|
id: "prepend",
|
|
2715
2719
|
"ref-context": { compId: o(C) },
|
|
2716
2720
|
state: {}
|
|
@@ -2721,7 +2725,7 @@ const ia = /* @__PURE__ */ ze(ta, [["render", na]]), oa = /* @__PURE__ */ $({
|
|
|
2721
2725
|
o(O) ? {
|
|
2722
2726
|
name: "prepend-inner",
|
|
2723
2727
|
fn: _(() => [
|
|
2724
|
-
|
|
2728
|
+
R(o(ge), {
|
|
2725
2729
|
id: "prepend-inner",
|
|
2726
2730
|
"ref-context": { compId: o(O) },
|
|
2727
2731
|
state: {}
|
|
@@ -2753,14 +2757,14 @@ const ia = /* @__PURE__ */ ze(ta, [["render", na]]), oa = /* @__PURE__ */ $({
|
|
|
2753
2757
|
"settings",
|
|
2754
2758
|
"dot",
|
|
2755
2759
|
"fill"
|
|
2756
|
-
]), { property:
|
|
2760
|
+
]), { property: u } = l(e, [
|
|
2757
2761
|
"settings",
|
|
2758
2762
|
"hideOpposite"
|
|
2759
2763
|
]), { property: m } = l(e, [
|
|
2760
2764
|
"settings",
|
|
2761
2765
|
"line",
|
|
2762
2766
|
"color"
|
|
2763
|
-
]), { color:
|
|
2767
|
+
]), { color: p } = j(m), { property: d } = l(e, [
|
|
2764
2768
|
"settings",
|
|
2765
2769
|
"line",
|
|
2766
2770
|
"inset"
|
|
@@ -2781,8 +2785,8 @@ const ia = /* @__PURE__ */ ze(ta, [["render", na]]), oa = /* @__PURE__ */ $({
|
|
|
2781
2785
|
direction: o(r),
|
|
2782
2786
|
"dot-color": o(a),
|
|
2783
2787
|
"fill-dot": o(c),
|
|
2784
|
-
"hide-opposite": o(
|
|
2785
|
-
"line-color": o(
|
|
2788
|
+
"hide-opposite": o(u),
|
|
2789
|
+
"line-color": o(p),
|
|
2786
2790
|
"line-inset": o(d),
|
|
2787
2791
|
"line-thickness": o(y),
|
|
2788
2792
|
side: o(b),
|
|
@@ -2825,8 +2829,8 @@ const ya = /* @__PURE__ */ ze(ma, [["render", da]]), fa = /* @__PURE__ */ $({
|
|
|
2825
2829
|
]), { property: s } = l(e, ["settings", "reverse"]), { property: a } = l(e, [
|
|
2826
2830
|
"settings",
|
|
2827
2831
|
"showArrows"
|
|
2828
|
-
]), { property: c } = l(e, ["settings", "touch"]), { theme:
|
|
2829
|
-
return (
|
|
2832
|
+
]), { property: c } = l(e, ["settings", "touch"]), { theme: u } = F(), { property: m } = l(e, ["settings", "value"]);
|
|
2833
|
+
return (p, d) => {
|
|
2830
2834
|
const y = E("v-window");
|
|
2831
2835
|
return h(), S(y, {
|
|
2832
2836
|
modelValue: o(m),
|
|
@@ -2836,11 +2840,11 @@ const ya = /* @__PURE__ */ ze(ma, [["render", da]]), fa = /* @__PURE__ */ $({
|
|
|
2836
2840
|
disabled: o(i),
|
|
2837
2841
|
reverse: o(s),
|
|
2838
2842
|
"show-arrows": o(a),
|
|
2839
|
-
theme: o(
|
|
2843
|
+
theme: o(u),
|
|
2840
2844
|
touch: o(c)
|
|
2841
2845
|
}, {
|
|
2842
2846
|
default: _(() => [
|
|
2843
|
-
M(
|
|
2847
|
+
M(p.$slots, "default")
|
|
2844
2848
|
]),
|
|
2845
2849
|
_: 3
|
|
2846
2850
|
}, 8, ["modelValue", "continuous", "direction", "disabled", "reverse", "show-arrows", "theme", "touch"]);
|
|
@@ -2856,7 +2860,7 @@ function ga(t, e) {
|
|
|
2856
2860
|
_: 3
|
|
2857
2861
|
});
|
|
2858
2862
|
}
|
|
2859
|
-
const ha = /* @__PURE__ */ ze(ba, [["render", ga]]), et = "ambient_light_v1", tt = "badge_v1", Hn = "breadcrumbs_v1", nt = "bar_chart_v1", it = "box_geometry_v1", ot = "btn_v1", rt = "btn_group_v1", st = "btn_toggle_v1", lt = "card_v1", at = "checkbox_v1", ct = "chip_v1", ut = "chip_group_v1", pt = "color_picker_v1", mt = "combobox_v1", dt = "container_v1", yt = "data_table_v1", ft = "date_picker_v1", bt = "dialog_v1", gt = "directional_light_v1", ht = "file_input_v1", xt = "flex_layout_v1", Co = "flex_layout_entry_v1", vt = "form_v1", un = "globality_v1", kt = "group_v1", _t = "icon_v1", wt = "keyboard_controls_v1", St = "line_chart_v1", Vt = "map_controls_v1", $t = "menu_v1", It = "mesh_v1", xa = "mesh_basic_material_v1", Ct = "multiple_ref_v1", Pt = "number_input_v1", zt = "orbit_controls_v1", Tt = "orthographic_camera_v1", Et = "pagination_v1", At = "perspective_camera_v1", Lt = "point_light_v1", Po = "radio_v1", Mt = "radio_group_v1", Bt = "range_slider_v1", Be = "reference_v1",
|
|
2863
|
+
const ha = /* @__PURE__ */ ze(ba, [["render", ga]]), et = "ambient_light_v1", tt = "badge_v1", Hn = "breadcrumbs_v1", nt = "bar_chart_v1", it = "box_geometry_v1", ot = "btn_v1", rt = "btn_group_v1", st = "btn_toggle_v1", lt = "card_v1", at = "checkbox_v1", ct = "chip_v1", ut = "chip_group_v1", pt = "color_picker_v1", mt = "combobox_v1", dt = "container_v1", yt = "data_table_v1", ft = "date_picker_v1", bt = "dialog_v1", gt = "directional_light_v1", ht = "file_input_v1", xt = "flex_layout_v1", Co = "flex_layout_entry_v1", vt = "form_v1", un = "globality_v1", kt = "group_v1", _t = "icon_v1", wt = "keyboard_controls_v1", St = "line_chart_v1", Vt = "map_controls_v1", $t = "menu_v1", It = "mesh_v1", xa = "mesh_basic_material_v1", Ct = "multiple_ref_v1", Pt = "number_input_v1", zt = "orbit_controls_v1", Tt = "orthographic_camera_v1", Et = "pagination_v1", At = "perspective_camera_v1", Lt = "point_light_v1", Po = "radio_v1", Mt = "radio_group_v1", Bt = "range_slider_v1", Be = "reference_v1", Wt = "rating_v1", Rt = "render_switch_v1", Kt = "select_v1", Dt = "slider_v1", Ft = "sphere_geometry_v1", Ot = "spot_light_v1", Gt = "stepper_v1", zo = "stepper_header_v1", To = "stepper_item_v1", Eo = "stepper_window_v1", Ao = "stepper_window_item_v1", Nt = "switch_v1", Lo = "tab_v1", Un = "table_v1", jt = "tabs_v1", Ht = "text_v1", Ut = "textarea_v1", Jt = "text_field_v1", qt = "timeline_v1", Mo = "timeline_item_v1", Xt = "window_v1", Bo = "window_item_v1", f = {
|
|
2860
2864
|
key: "basic",
|
|
2861
2865
|
name: "x-runtime-lib.basic",
|
|
2862
2866
|
children: [
|
|
@@ -2918,7 +2922,7 @@ const ha = /* @__PURE__ */ ze(ba, [["render", ga]]), et = "ambient_light_v1", tt
|
|
|
2918
2922
|
]
|
|
2919
2923
|
}
|
|
2920
2924
|
]
|
|
2921
|
-
}, va =
|
|
2925
|
+
}, va = W(H), $e = {
|
|
2922
2926
|
key: "border",
|
|
2923
2927
|
name: "x-runtime-lib.border",
|
|
2924
2928
|
children: [
|
|
@@ -3457,13 +3461,13 @@ function Pa(t, e) {
|
|
|
3457
3461
|
console.error(`boxGeometryV1/spawn property tag not found, ${n}`);
|
|
3458
3462
|
return;
|
|
3459
3463
|
}
|
|
3460
|
-
const r =
|
|
3464
|
+
const r = Re.properties[i];
|
|
3461
3465
|
if (!r) {
|
|
3462
3466
|
console.error(`boxGeometryV1/spawn properties not found, ${n}`);
|
|
3463
3467
|
return;
|
|
3464
3468
|
}
|
|
3465
3469
|
const s = {};
|
|
3466
|
-
return T(s, r), s.basic.id = z(16), s.basic.key =
|
|
3470
|
+
return T(s, r), s.basic.id = z(16), s.basic.key = Re.key, s.transform = {
|
|
3467
3471
|
position: {
|
|
3468
3472
|
x: 0,
|
|
3469
3473
|
y: 0,
|
|
@@ -3517,7 +3521,7 @@ function Ta(t, e) {
|
|
|
3517
3521
|
);
|
|
3518
3522
|
return;
|
|
3519
3523
|
}
|
|
3520
|
-
const r =
|
|
3524
|
+
const r = We.properties[i];
|
|
3521
3525
|
if (!r) {
|
|
3522
3526
|
console.error(
|
|
3523
3527
|
`boxGeometryV1/spawnMeshBasicMaterial properties not found, ${n}`
|
|
@@ -3525,7 +3529,7 @@ function Ta(t, e) {
|
|
|
3525
3529
|
return;
|
|
3526
3530
|
}
|
|
3527
3531
|
const s = {};
|
|
3528
|
-
return T(s, r), s.basic.id = z(16), s.basic.key =
|
|
3532
|
+
return T(s, r), s.basic.id = z(16), s.basic.key = We.key, s;
|
|
3529
3533
|
}
|
|
3530
3534
|
const ui = {
|
|
3531
3535
|
key: "settings",
|
|
@@ -3592,13 +3596,13 @@ function Ea(t, e) {
|
|
|
3592
3596
|
console.error(`sphereGeometryV1/spawn property tag not found, ${n}`);
|
|
3593
3597
|
return;
|
|
3594
3598
|
}
|
|
3595
|
-
const r =
|
|
3599
|
+
const r = Re.properties[i];
|
|
3596
3600
|
if (!r) {
|
|
3597
3601
|
console.error(`sphereGeometryV1/spawn properties not found, ${n}`);
|
|
3598
3602
|
return;
|
|
3599
3603
|
}
|
|
3600
3604
|
const s = {};
|
|
3601
|
-
return T(s, r), s.basic.id = z(16), s.basic.key =
|
|
3605
|
+
return T(s, r), s.basic.id = z(16), s.basic.key = Re.key, s.transform = {
|
|
3602
3606
|
position: {
|
|
3603
3607
|
x: 0,
|
|
3604
3608
|
y: 0,
|
|
@@ -3653,7 +3657,7 @@ function La(t, e) {
|
|
|
3653
3657
|
);
|
|
3654
3658
|
return;
|
|
3655
3659
|
}
|
|
3656
|
-
const r =
|
|
3660
|
+
const r = We.properties[i];
|
|
3657
3661
|
if (!r) {
|
|
3658
3662
|
console.error(
|
|
3659
3663
|
`sphereGeometryV1/spawnMeshBasicMaterial properties not found, ${n}`
|
|
@@ -3661,7 +3665,7 @@ function La(t, e) {
|
|
|
3661
3665
|
return;
|
|
3662
3666
|
}
|
|
3663
3667
|
const s = {};
|
|
3664
|
-
return T(s, r), s.basic.id = z(16), s.basic.key =
|
|
3668
|
+
return T(s, r), s.basic.id = z(16), s.basic.key = We.key, s;
|
|
3665
3669
|
}
|
|
3666
3670
|
const pi = {
|
|
3667
3671
|
key: "settings",
|
|
@@ -3730,7 +3734,7 @@ const pi = {
|
|
|
3730
3734
|
spawn: Ea
|
|
3731
3735
|
};
|
|
3732
3736
|
w(mn);
|
|
3733
|
-
const Yt =
|
|
3737
|
+
const Yt = W(H);
|
|
3734
3738
|
Yt.children[0].default = "custom";
|
|
3735
3739
|
Yt.children[2].children[0].default = "0xffffff";
|
|
3736
3740
|
Yt.children[2].children[1].default = "0xffffff";
|
|
@@ -3760,7 +3764,7 @@ const mi = {
|
|
|
3760
3764
|
slots: []
|
|
3761
3765
|
};
|
|
3762
3766
|
w(Ma);
|
|
3763
|
-
const Zt =
|
|
3767
|
+
const Zt = W(H);
|
|
3764
3768
|
Zt.children[0].default = "custom";
|
|
3765
3769
|
Zt.children[2].children[0].default = "0xffffff";
|
|
3766
3770
|
Zt.children[2].children[1].default = "0xffffff";
|
|
@@ -3790,7 +3794,7 @@ const di = {
|
|
|
3790
3794
|
slots: []
|
|
3791
3795
|
};
|
|
3792
3796
|
w(Ba);
|
|
3793
|
-
const Qt =
|
|
3797
|
+
const Qt = W(H);
|
|
3794
3798
|
Qt.children[0].default = "custom";
|
|
3795
3799
|
Qt.children[2].children[0].default = "0xffffff";
|
|
3796
3800
|
Qt.children[2].children[1].default = "0xffffff";
|
|
@@ -3821,7 +3825,7 @@ const yi = {
|
|
|
3821
3825
|
default: 2
|
|
3822
3826
|
}
|
|
3823
3827
|
]
|
|
3824
|
-
},
|
|
3828
|
+
}, Wa = {
|
|
3825
3829
|
key: Lt,
|
|
3826
3830
|
name: "x-runtime-lib.pointLight",
|
|
3827
3831
|
comp: Yr,
|
|
@@ -3833,8 +3837,8 @@ const yi = {
|
|
|
3833
3837
|
methods: [],
|
|
3834
3838
|
slots: []
|
|
3835
3839
|
};
|
|
3836
|
-
w(
|
|
3837
|
-
const en =
|
|
3840
|
+
w(Wa);
|
|
3841
|
+
const en = W(H);
|
|
3838
3842
|
en.children[0].default = "custom";
|
|
3839
3843
|
en.children[2].children[0].default = "0xffffff";
|
|
3840
3844
|
en.children[2].children[1].default = "0xffffff";
|
|
@@ -3882,7 +3886,7 @@ const fi = {
|
|
|
3882
3886
|
default: 0
|
|
3883
3887
|
}
|
|
3884
3888
|
]
|
|
3885
|
-
},
|
|
3889
|
+
}, Ra = {
|
|
3886
3890
|
key: Ot,
|
|
3887
3891
|
name: "x-runtime-lib.spotLight",
|
|
3888
3892
|
comp: Qr,
|
|
@@ -3894,8 +3898,8 @@ const fi = {
|
|
|
3894
3898
|
methods: [],
|
|
3895
3899
|
slots: []
|
|
3896
3900
|
};
|
|
3897
|
-
w(
|
|
3898
|
-
const
|
|
3901
|
+
w(Ra);
|
|
3902
|
+
const We = {
|
|
3899
3903
|
key: xa,
|
|
3900
3904
|
name: "x-runtime-lib.meshBasicMaterial",
|
|
3901
3905
|
comp: ns,
|
|
@@ -3908,7 +3912,7 @@ const Re = {
|
|
|
3908
3912
|
slots: [],
|
|
3909
3913
|
leaf: !0
|
|
3910
3914
|
};
|
|
3911
|
-
w(
|
|
3915
|
+
w(We);
|
|
3912
3916
|
const Ka = {
|
|
3913
3917
|
key: kt,
|
|
3914
3918
|
name: "x-runtime-lib.group",
|
|
@@ -3922,7 +3926,7 @@ const Ka = {
|
|
|
3922
3926
|
slots: []
|
|
3923
3927
|
};
|
|
3924
3928
|
w(Ka);
|
|
3925
|
-
const
|
|
3929
|
+
const Re = {
|
|
3926
3930
|
key: It,
|
|
3927
3931
|
name: "x-runtime-lib.mesh",
|
|
3928
3932
|
comp: ss,
|
|
@@ -3934,7 +3938,7 @@ const We = {
|
|
|
3934
3938
|
methods: [],
|
|
3935
3939
|
slots: []
|
|
3936
3940
|
};
|
|
3937
|
-
w(
|
|
3941
|
+
w(Re);
|
|
3938
3942
|
function Da(t, e) {
|
|
3939
3943
|
const n = `type=${t} subtype=${e}`, i = A(t, e);
|
|
3940
3944
|
if (!i) {
|
|
@@ -4096,7 +4100,7 @@ const xi = {
|
|
|
4096
4100
|
}
|
|
4097
4101
|
]
|
|
4098
4102
|
}, Na = {
|
|
4099
|
-
key:
|
|
4103
|
+
key: Rt,
|
|
4100
4104
|
name: "x-runtime-lib.renderSwitch",
|
|
4101
4105
|
comp: gl,
|
|
4102
4106
|
properties: {
|
|
@@ -4108,10 +4112,10 @@ const xi = {
|
|
|
4108
4112
|
slots: []
|
|
4109
4113
|
};
|
|
4110
4114
|
w(Na);
|
|
4111
|
-
const Te =
|
|
4115
|
+
const Te = W(H);
|
|
4112
4116
|
Te.key = "backgroundColor";
|
|
4113
4117
|
Te.name = "x-runtime-lib.backgroundColor";
|
|
4114
|
-
const
|
|
4118
|
+
const Wo = {
|
|
4115
4119
|
key: "adaptSlot",
|
|
4116
4120
|
name: "x-runtime-lib.adaptSlot",
|
|
4117
4121
|
ui: "slotSelect",
|
|
@@ -4123,7 +4127,7 @@ const Ro = {
|
|
|
4123
4127
|
}, Ha = {
|
|
4124
4128
|
key: "settings",
|
|
4125
4129
|
name: "x-runtime-lib.settings",
|
|
4126
|
-
children: [Te,
|
|
4130
|
+
children: [Te, Wo]
|
|
4127
4131
|
}, Ua = {
|
|
4128
4132
|
key: "settings",
|
|
4129
4133
|
name: "x-runtime-lib.settings",
|
|
@@ -4131,7 +4135,7 @@ const Ro = {
|
|
|
4131
4135
|
}, Ja = {
|
|
4132
4136
|
key: "settings",
|
|
4133
4137
|
name: "x-runtime-lib.settings",
|
|
4134
|
-
children: [Te,
|
|
4138
|
+
children: [Te, Wo]
|
|
4135
4139
|
}, qa = {
|
|
4136
4140
|
key: "startup",
|
|
4137
4141
|
name: "x-runtime-lib.startup"
|
|
@@ -4235,7 +4239,7 @@ function ec(t, e) {
|
|
|
4235
4239
|
const s = {};
|
|
4236
4240
|
return T(s, r), s.basic.id = z(16), s.basic.key = fn.key, s.settings.text = "button", s;
|
|
4237
4241
|
}
|
|
4238
|
-
const tc =
|
|
4242
|
+
const tc = W(H), ki = {
|
|
4239
4243
|
key: "settings",
|
|
4240
4244
|
name: "x-runtime-lib.settings",
|
|
4241
4245
|
children: [
|
|
@@ -4529,7 +4533,7 @@ const Si = {
|
|
|
4529
4533
|
leaf: !0
|
|
4530
4534
|
};
|
|
4531
4535
|
w(rc);
|
|
4532
|
-
const sc =
|
|
4536
|
+
const sc = W(H), Vi = {
|
|
4533
4537
|
key: "settings",
|
|
4534
4538
|
name: "x-runtime-lib.settings",
|
|
4535
4539
|
children: [
|
|
@@ -4778,7 +4782,7 @@ const Ii = {
|
|
|
4778
4782
|
leaf: !0
|
|
4779
4783
|
};
|
|
4780
4784
|
w(cc);
|
|
4781
|
-
const Jn =
|
|
4785
|
+
const Jn = W(H);
|
|
4782
4786
|
Jn.key = "backgroundColor";
|
|
4783
4787
|
Jn.name = "x-runtime-lib.backgroundColor";
|
|
4784
4788
|
const Ci = {
|
|
@@ -5029,7 +5033,7 @@ const Ei = {
|
|
|
5029
5033
|
}, xn = {
|
|
5030
5034
|
key: Co,
|
|
5031
5035
|
name: "x-runtime-lib.flexLayoutEntry",
|
|
5032
|
-
comp:
|
|
5036
|
+
comp: Wl,
|
|
5033
5037
|
properties: {
|
|
5034
5038
|
pageCommon: [f, U, Ai],
|
|
5035
5039
|
compCommon: [f, U, Ai]
|
|
@@ -5072,15 +5076,15 @@ function dc(t, e) {
|
|
|
5072
5076
|
yc(t, e)
|
|
5073
5077
|
], s;
|
|
5074
5078
|
}
|
|
5075
|
-
function vn(t, e, n, i, r, s, a, c,
|
|
5076
|
-
const m = `type=${t} subtype=${e}`,
|
|
5077
|
-
if (!
|
|
5079
|
+
function vn(t, e, n, i, r, s, a, c, u) {
|
|
5080
|
+
const m = `type=${t} subtype=${e}`, p = A(t, e);
|
|
5081
|
+
if (!p) {
|
|
5078
5082
|
console.error(
|
|
5079
5083
|
`flexLayoutV1/spawnContainer property tag not found, ${m}`
|
|
5080
5084
|
);
|
|
5081
5085
|
return;
|
|
5082
5086
|
}
|
|
5083
|
-
const d = hn.properties[
|
|
5087
|
+
const d = hn.properties[p];
|
|
5084
5088
|
if (!d) {
|
|
5085
5089
|
console.error(
|
|
5086
5090
|
`flexLayoutV1/spawnContainer properties not found, ${m}`
|
|
@@ -5122,7 +5126,7 @@ function yc(t, e) {
|
|
|
5122
5126
|
)
|
|
5123
5127
|
], s;
|
|
5124
5128
|
}
|
|
5125
|
-
const qn =
|
|
5129
|
+
const qn = W(H);
|
|
5126
5130
|
qn.key = "backgroundColor";
|
|
5127
5131
|
qn.name = "x-runtime-lib.backgroundColor";
|
|
5128
5132
|
const Li = {
|
|
@@ -5521,7 +5525,7 @@ function bc(t, e) {
|
|
|
5521
5525
|
const s = {};
|
|
5522
5526
|
return T(s, r), s.basic.id = z(16), s.basic.key = kn.key, s;
|
|
5523
5527
|
}
|
|
5524
|
-
const
|
|
5528
|
+
const Wi = {
|
|
5525
5529
|
key: "settings",
|
|
5526
5530
|
name: "x-runtime-lib.settings",
|
|
5527
5531
|
children: [
|
|
@@ -5542,10 +5546,10 @@ const Ri = {
|
|
|
5542
5546
|
}, _n = {
|
|
5543
5547
|
key: vt,
|
|
5544
5548
|
name: "x-runtime-lib.form",
|
|
5545
|
-
comp:
|
|
5549
|
+
comp: Rl,
|
|
5546
5550
|
properties: {
|
|
5547
|
-
pageCommon: [f, U, $e, Ie, Ce,
|
|
5548
|
-
compCommon: [f, U, $e, Ie, Ce,
|
|
5551
|
+
pageCommon: [f, U, $e, Ie, Ce, Wi],
|
|
5552
|
+
compCommon: [f, U, $e, Ie, Ce, Wi]
|
|
5549
5553
|
},
|
|
5550
5554
|
events: [
|
|
5551
5555
|
{
|
|
@@ -5556,7 +5560,7 @@ const Ri = {
|
|
|
5556
5560
|
spawn: fc
|
|
5557
5561
|
};
|
|
5558
5562
|
w(_n);
|
|
5559
|
-
const gc =
|
|
5563
|
+
const gc = W(H), Ri = {
|
|
5560
5564
|
key: "settings",
|
|
5561
5565
|
name: "x-runtime-lib.settings",
|
|
5562
5566
|
children: [
|
|
@@ -5586,8 +5590,8 @@ const gc = R(H), Wi = {
|
|
|
5586
5590
|
name: "x-runtime-lib.icon",
|
|
5587
5591
|
comp: Kl,
|
|
5588
5592
|
properties: {
|
|
5589
|
-
pageCommon: [f,
|
|
5590
|
-
compCommon: [f,
|
|
5593
|
+
pageCommon: [f, Ri],
|
|
5594
|
+
compCommon: [f, Ri]
|
|
5591
5595
|
},
|
|
5592
5596
|
leaf: !0
|
|
5593
5597
|
};
|
|
@@ -5902,7 +5906,7 @@ const Fi = {
|
|
|
5902
5906
|
leaf: !0
|
|
5903
5907
|
};
|
|
5904
5908
|
w(kc);
|
|
5905
|
-
const _c =
|
|
5909
|
+
const _c = W(H), Oi = {
|
|
5906
5910
|
key: "settings",
|
|
5907
5911
|
name: "x-runtime-lib.settings",
|
|
5908
5912
|
children: [
|
|
@@ -6222,7 +6226,7 @@ const ji = {
|
|
|
6222
6226
|
}
|
|
6223
6227
|
]
|
|
6224
6228
|
}, Vc = {
|
|
6225
|
-
key:
|
|
6229
|
+
key: Wt,
|
|
6226
6230
|
name: "x-runtime-lib.rating",
|
|
6227
6231
|
comp: Ul,
|
|
6228
6232
|
properties: {
|
|
@@ -6284,13 +6288,13 @@ const Hi = {
|
|
|
6284
6288
|
leaf: !0
|
|
6285
6289
|
};
|
|
6286
6290
|
w($c);
|
|
6287
|
-
const Xn =
|
|
6291
|
+
const Xn = W(H);
|
|
6288
6292
|
Xn.key = "color";
|
|
6289
6293
|
Xn.name = "x-runtime-lib.color";
|
|
6290
|
-
const Yn =
|
|
6294
|
+
const Yn = W(H);
|
|
6291
6295
|
Yn.key = "trackColor";
|
|
6292
6296
|
Yn.name = "x-runtime-lib.trackColor";
|
|
6293
|
-
const Zn =
|
|
6297
|
+
const Zn = W(H);
|
|
6294
6298
|
Zn.key = "thumbColor";
|
|
6295
6299
|
Zn.name = "x-runtime-lib.thumbColor";
|
|
6296
6300
|
const Ui = {
|
|
@@ -6687,13 +6691,13 @@ function ln(t, e, n, i) {
|
|
|
6687
6691
|
const c = {};
|
|
6688
6692
|
return T(c, a), c.basic.id = z(16), c.basic.key = Tn.key, c.settings.value = n, c.settings.text = i, c;
|
|
6689
6693
|
}
|
|
6690
|
-
const Qn =
|
|
6694
|
+
const Qn = W(H);
|
|
6691
6695
|
Qn.key = "backgroundColor";
|
|
6692
6696
|
Qn.name = "x-runtime-lib.backgroundColor";
|
|
6693
|
-
const ei =
|
|
6697
|
+
const ei = W(H);
|
|
6694
6698
|
ei.key = "selectedColor";
|
|
6695
6699
|
ei.name = "x-runtime-lib.selectedColor";
|
|
6696
|
-
const ti =
|
|
6700
|
+
const ti = W(H);
|
|
6697
6701
|
ti.key = "sliderColor";
|
|
6698
6702
|
ti.name = "x-runtime-lib.sliderColor";
|
|
6699
6703
|
const Qi = {
|
|
@@ -7035,9 +7039,9 @@ function an(t, e, n) {
|
|
|
7035
7039
|
return;
|
|
7036
7040
|
}
|
|
7037
7041
|
const a = {};
|
|
7038
|
-
return T(a, s), a.basic.id = z(16), a.basic.key = Ln.key, a.children = [
|
|
7042
|
+
return T(a, s), a.basic.id = z(16), a.basic.key = Ln.key, a.children = [Wc(t, e, n)], a;
|
|
7039
7043
|
}
|
|
7040
|
-
function
|
|
7044
|
+
function Wc(t, e, n) {
|
|
7041
7045
|
const i = `type=${t} subtype=${e}`, r = A(t, e);
|
|
7042
7046
|
if (!r) {
|
|
7043
7047
|
console.error(`timelineV1/spawnText property tag not found, ${i}`);
|
|
@@ -7051,7 +7055,7 @@ function Rc(t, e, n) {
|
|
|
7051
7055
|
const a = {};
|
|
7052
7056
|
return T(a, s), a.basic.id = z(16), a.basic.key = xe.key, a.settings.text = n, a;
|
|
7053
7057
|
}
|
|
7054
|
-
const
|
|
7058
|
+
const Rc = W(H), Kc = W(H), no = {
|
|
7055
7059
|
key: "settings",
|
|
7056
7060
|
name: "x-runtime-lib.settings",
|
|
7057
7061
|
children: [
|
|
@@ -7099,7 +7103,7 @@ const Wc = R(H), Kc = R(H), no = {
|
|
|
7099
7103
|
ui: "switch",
|
|
7100
7104
|
default: !1
|
|
7101
7105
|
},
|
|
7102
|
-
|
|
7106
|
+
Rc
|
|
7103
7107
|
]
|
|
7104
7108
|
},
|
|
7105
7109
|
{
|
|
@@ -7156,13 +7160,13 @@ function Dc(t, e) {
|
|
|
7156
7160
|
console.error(`windowV1/spawn property tag not found, ${n}`);
|
|
7157
7161
|
return;
|
|
7158
7162
|
}
|
|
7159
|
-
const r =
|
|
7163
|
+
const r = Wn.properties[i];
|
|
7160
7164
|
if (!r) {
|
|
7161
7165
|
console.error(`windowV1/spawn properties not found, ${n}`);
|
|
7162
7166
|
return;
|
|
7163
7167
|
}
|
|
7164
7168
|
const s = {};
|
|
7165
|
-
return T(s, r), s.basic.id = z(16), s.basic.key =
|
|
7169
|
+
return T(s, r), s.basic.id = z(16), s.basic.key = Wn.key, s.children = [
|
|
7166
7170
|
cn(t, e, "window 1"),
|
|
7167
7171
|
cn(t, e, "window 2"),
|
|
7168
7172
|
cn(t, e, "window 3")
|
|
@@ -7260,7 +7264,7 @@ const io = {
|
|
|
7260
7264
|
default: !1
|
|
7261
7265
|
}
|
|
7262
7266
|
]
|
|
7263
|
-
},
|
|
7267
|
+
}, Wn = {
|
|
7264
7268
|
key: Xt,
|
|
7265
7269
|
name: "x-runtime-lib.window",
|
|
7266
7270
|
comp: fa,
|
|
@@ -7270,7 +7274,7 @@ const io = {
|
|
|
7270
7274
|
},
|
|
7271
7275
|
spawn: Dc
|
|
7272
7276
|
};
|
|
7273
|
-
w(
|
|
7277
|
+
w(Wn);
|
|
7274
7278
|
const Gc = [
|
|
7275
7279
|
{ title: "x-runtime-lib.title", value: "title" },
|
|
7276
7280
|
{ title: "x-runtime-lib.end", value: "end" },
|
|
@@ -7706,7 +7710,7 @@ const Gc = [
|
|
|
7706
7710
|
{
|
|
7707
7711
|
key: "feedback",
|
|
7708
7712
|
name: "x-runtime-lib.feedback",
|
|
7709
|
-
items: [tt,
|
|
7713
|
+
items: [tt, Wt, qt]
|
|
7710
7714
|
},
|
|
7711
7715
|
{
|
|
7712
7716
|
key: "imagesAndIcons",
|
|
@@ -7721,7 +7725,7 @@ const Gc = [
|
|
|
7721
7725
|
{
|
|
7722
7726
|
key: "dynamic",
|
|
7723
7727
|
name: "x-runtime-lib.dynamic",
|
|
7724
|
-
items: [Be, Ct,
|
|
7728
|
+
items: [Be, Ct, Rt]
|
|
7725
7729
|
}
|
|
7726
7730
|
], Su = [
|
|
7727
7731
|
{
|
|
@@ -7811,7 +7815,7 @@ const Gc = [
|
|
|
7811
7815
|
{
|
|
7812
7816
|
key: "feedback",
|
|
7813
7817
|
name: "x-runtime-lib.feedback",
|
|
7814
|
-
items: [tt,
|
|
7818
|
+
items: [tt, Wt, qt]
|
|
7815
7819
|
},
|
|
7816
7820
|
{
|
|
7817
7821
|
key: "imagesAndIcons",
|
|
@@ -7826,7 +7830,7 @@ const Gc = [
|
|
|
7826
7830
|
{
|
|
7827
7831
|
key: "dynamic",
|
|
7828
7832
|
name: "x-runtime-lib.dynamic",
|
|
7829
|
-
items: [Be, Ct,
|
|
7833
|
+
items: [Be, Ct, Rt]
|
|
7830
7834
|
}
|
|
7831
7835
|
], $u = [
|
|
7832
7836
|
{
|
|
@@ -7907,9 +7911,9 @@ const Gc = [
|
|
|
7907
7911
|
Po,
|
|
7908
7912
|
Mt,
|
|
7909
7913
|
Bt,
|
|
7910
|
-
Rt,
|
|
7911
|
-
Be,
|
|
7912
7914
|
Wt,
|
|
7915
|
+
Be,
|
|
7916
|
+
Rt,
|
|
7913
7917
|
Kt,
|
|
7914
7918
|
Dt,
|
|
7915
7919
|
Ft,
|
|
@@ -7954,9 +7958,9 @@ function A(t, e) {
|
|
|
7954
7958
|
}
|
|
7955
7959
|
function oo(t, e) {
|
|
7956
7960
|
if (t.array)
|
|
7957
|
-
return e ?
|
|
7961
|
+
return e ? W(t.default) : W(t.defaultArray);
|
|
7958
7962
|
{
|
|
7959
|
-
const n =
|
|
7963
|
+
const n = W(t.default);
|
|
7960
7964
|
return (t.ui === "switch" || t.ui === "select" || t.ui === "colorPicker" || t.ui === "multiTypes" || t.ui === "compSelect") && !n ? void 0 : n;
|
|
7961
7965
|
}
|
|
7962
7966
|
}
|
|
@@ -7985,17 +7989,17 @@ function pp(t, e, n, i, r) {
|
|
|
7985
7989
|
return;
|
|
7986
7990
|
}
|
|
7987
7991
|
if (i) {
|
|
7988
|
-
const
|
|
7989
|
-
if (!c.elements.has(
|
|
7992
|
+
const u = c.refKey, m = r;
|
|
7993
|
+
if (!c.elements.has(u)) {
|
|
7990
7994
|
console.error(`spawnNode [ref] element not found in pkg, ${s}`);
|
|
7991
7995
|
return;
|
|
7992
7996
|
}
|
|
7993
|
-
const
|
|
7994
|
-
if (!
|
|
7997
|
+
const p = Me[u];
|
|
7998
|
+
if (!p) {
|
|
7995
7999
|
console.error(`spawnNode [ref] element not found in global, ${s}`);
|
|
7996
8000
|
return;
|
|
7997
8001
|
}
|
|
7998
|
-
const d =
|
|
8002
|
+
const d = p.properties[a];
|
|
7999
8003
|
if (!d) {
|
|
8000
8004
|
console.error(`spawnNode [ref] properties not found, ${s}`);
|
|
8001
8005
|
return;
|
|
@@ -8006,16 +8010,16 @@ function pp(t, e, n, i, r) {
|
|
|
8006
8010
|
key: ""
|
|
8007
8011
|
}
|
|
8008
8012
|
};
|
|
8009
|
-
return T(y, d), y.basic.id = z(16), y.basic.key =
|
|
8013
|
+
return T(y, d), y.basic.id = z(16), y.basic.key = u, y.reference = {
|
|
8010
8014
|
comp: m
|
|
8011
8015
|
}, y;
|
|
8012
8016
|
} else {
|
|
8013
|
-
const
|
|
8014
|
-
if (!c.elements.has(
|
|
8017
|
+
const u = r;
|
|
8018
|
+
if (!c.elements.has(u)) {
|
|
8015
8019
|
console.error(`spawnNode [key] element not found in pkg, ${s}`);
|
|
8016
8020
|
return;
|
|
8017
8021
|
}
|
|
8018
|
-
const m = Me[
|
|
8022
|
+
const m = Me[u];
|
|
8019
8023
|
if (!m) {
|
|
8020
8024
|
console.error(`spawnNode [key] element not found in global, ${s}`);
|
|
8021
8025
|
return;
|
|
@@ -8023,8 +8027,8 @@ function pp(t, e, n, i, r) {
|
|
|
8023
8027
|
if (m.spawn)
|
|
8024
8028
|
return m.spawn(t, e);
|
|
8025
8029
|
{
|
|
8026
|
-
const
|
|
8027
|
-
if (!
|
|
8030
|
+
const p = m.properties[a];
|
|
8031
|
+
if (!p) {
|
|
8028
8032
|
console.error(`spawnNode [key] properties not found, ${s}`);
|
|
8029
8033
|
return;
|
|
8030
8034
|
}
|
|
@@ -8034,7 +8038,7 @@ function pp(t, e, n, i, r) {
|
|
|
8034
8038
|
key: ""
|
|
8035
8039
|
}
|
|
8036
8040
|
};
|
|
8037
|
-
return T(d,
|
|
8041
|
+
return T(d, p), d.basic.id = z(16), d.basic.key = u, m.leaf || (d.children = []), d;
|
|
8038
8042
|
}
|
|
8039
8043
|
}
|
|
8040
8044
|
}
|
|
@@ -8059,7 +8063,7 @@ function Pu(t) {
|
|
|
8059
8063
|
function e(i) {
|
|
8060
8064
|
i.basic.id = z(16), i.children?.forEach((r) => e(r));
|
|
8061
8065
|
}
|
|
8062
|
-
const n =
|
|
8066
|
+
const n = W(t);
|
|
8063
8067
|
return e(n), n;
|
|
8064
8068
|
}
|
|
8065
8069
|
function dp(t) {
|
|
@@ -8068,12 +8072,12 @@ function dp(t) {
|
|
|
8068
8072
|
e.push(Pu(n));
|
|
8069
8073
|
}), e;
|
|
8070
8074
|
}
|
|
8071
|
-
const
|
|
8075
|
+
const Ro = "runtimeOrg", Ko = "runtimeEnv", Do = "runtimeMode", Fo = "runtimeDevice", Oo = "runtimeDark", Go = "runtimeType", No = "runtimeData", jo = "runtimeDepends", Ho = "runtimeRuntime", Uo = "runtimeSandbox";
|
|
8072
8076
|
function yp(t) {
|
|
8073
|
-
le(
|
|
8077
|
+
le(Ro, t);
|
|
8074
8078
|
}
|
|
8075
8079
|
function zu() {
|
|
8076
|
-
return se(
|
|
8080
|
+
return se(Ro);
|
|
8077
8081
|
}
|
|
8078
8082
|
function fp(t) {
|
|
8079
8083
|
le(Ko, t);
|
|
@@ -8137,18 +8141,18 @@ function He(t, e, n, i, r) {
|
|
|
8137
8141
|
const { watchEffect: s, bind: a } = e;
|
|
8138
8142
|
if (s[n])
|
|
8139
8143
|
for (const c of s[n]) {
|
|
8140
|
-
const
|
|
8141
|
-
t.callFunction(`__watchEffect$${
|
|
8144
|
+
const u = Sr(c);
|
|
8145
|
+
t.callFunction(`__watchEffect$${u}__`);
|
|
8142
8146
|
}
|
|
8143
8147
|
if (a.triggers[n])
|
|
8144
8148
|
for (const c of a.triggers[n]) {
|
|
8145
|
-
const
|
|
8146
|
-
if (!
|
|
8149
|
+
const u = a.sets[c];
|
|
8150
|
+
if (!u) {
|
|
8147
8151
|
console.assert(!1);
|
|
8148
8152
|
continue;
|
|
8149
8153
|
}
|
|
8150
8154
|
let m = null;
|
|
8151
|
-
for (const d of
|
|
8155
|
+
for (const d of u)
|
|
8152
8156
|
if (n === Le(d)) {
|
|
8153
8157
|
if (d.subKeys) {
|
|
8154
8158
|
if (!ce(
|
|
@@ -8165,9 +8169,9 @@ function He(t, e, n, i, r) {
|
|
|
8165
8169
|
}
|
|
8166
8170
|
if (!m)
|
|
8167
8171
|
continue;
|
|
8168
|
-
let
|
|
8169
|
-
m.subKeys ?
|
|
8170
|
-
for (const d of
|
|
8172
|
+
let p;
|
|
8173
|
+
m.subKeys ? p = be(i, m.subKeys) : p = i;
|
|
8174
|
+
for (const d of u)
|
|
8171
8175
|
if (d.subKeys) {
|
|
8172
8176
|
let y;
|
|
8173
8177
|
if (d.type === "elementProperty")
|
|
@@ -8186,10 +8190,10 @@ function He(t, e, n, i, r) {
|
|
|
8186
8190
|
continue;
|
|
8187
8191
|
}
|
|
8188
8192
|
const b = be(y, d.subKeys);
|
|
8189
|
-
if (ce(
|
|
8193
|
+
if (ce(p, b))
|
|
8190
8194
|
continue;
|
|
8191
|
-
const g =
|
|
8192
|
-
Fn(g, d.subKeys,
|
|
8195
|
+
const g = W(y);
|
|
8196
|
+
Fn(g, d.subKeys, W(p)), d.type === "elementProperty" ? t.setElementProperty(
|
|
8193
8197
|
d.nodeId,
|
|
8194
8198
|
d.propertyKeys.split("."),
|
|
8195
8199
|
g
|
|
@@ -8211,13 +8215,13 @@ function He(t, e, n, i, r) {
|
|
|
8211
8215
|
console.assert(!1);
|
|
8212
8216
|
continue;
|
|
8213
8217
|
}
|
|
8214
|
-
if (ce(
|
|
8218
|
+
if (ce(p, y))
|
|
8215
8219
|
continue;
|
|
8216
8220
|
d.type === "elementProperty" ? t.setElementProperty(
|
|
8217
8221
|
d.nodeId,
|
|
8218
8222
|
d.propertyKeys.split("."),
|
|
8219
|
-
|
|
8220
|
-
) : d.type === "customProperty" ? t.setCustomProperty(d.propertyId,
|
|
8223
|
+
W(p)
|
|
8224
|
+
) : d.type === "customProperty" ? t.setCustomProperty(d.propertyId, W(p)) : d.type === "state" ? t.setState(d.stateId, W(p)) : d.type === "adaptSlotProperty" ? t.setAdaptSlotProperty(d.propertyId, W(p)) : console.assert(!1);
|
|
8221
8225
|
}
|
|
8222
8226
|
}
|
|
8223
8227
|
}
|
|
@@ -8336,7 +8340,7 @@ function Mp(t) {
|
|
|
8336
8340
|
function Bp(t, e, n) {
|
|
8337
8341
|
return `${t}/${e}/${n}`;
|
|
8338
8342
|
}
|
|
8339
|
-
function
|
|
8343
|
+
function Wp(t) {
|
|
8340
8344
|
const e = t.split(".");
|
|
8341
8345
|
let n = "elementSlot";
|
|
8342
8346
|
e.length > 0 ? n = e[0] : console.error("unwrapSlotId invalid kind");
|
|
@@ -8353,10 +8357,10 @@ function ni(t, e) {
|
|
|
8353
8357
|
i.value = -1, e.value = void 0, mo.emit("compNotAvail", t);
|
|
8354
8358
|
return;
|
|
8355
8359
|
}
|
|
8356
|
-
i.value !== r.dataSeq && (i.value = r.dataSeq, e.value =
|
|
8360
|
+
i.value !== r.dataSeq && (i.value = r.dataSeq, e.value = W(r.data));
|
|
8357
8361
|
});
|
|
8358
8362
|
}
|
|
8359
|
-
function
|
|
8363
|
+
function Rp() {
|
|
8360
8364
|
let t;
|
|
8361
8365
|
const e = async () => (t = (await Vr()).newRuntime(), console.log("runtime created"), t);
|
|
8362
8366
|
return Oe(() => {
|
|
@@ -8398,7 +8402,7 @@ function Fe(t, e) {
|
|
|
8398
8402
|
return t.undefined;
|
|
8399
8403
|
}
|
|
8400
8404
|
}
|
|
8401
|
-
function
|
|
8405
|
+
function Wu(t) {
|
|
8402
8406
|
if (!t.vm) {
|
|
8403
8407
|
console.error("bindBase invalid sandbox vm");
|
|
8404
8408
|
return;
|
|
@@ -8408,15 +8412,15 @@ function Ru(t) {
|
|
|
8408
8412
|
const i = e.getString(n), r = e.newArray(), s = i.split(".");
|
|
8409
8413
|
let a = 0;
|
|
8410
8414
|
for (let c = 0; c < s.length; c++) {
|
|
8411
|
-
const
|
|
8412
|
-
if (
|
|
8413
|
-
if (/^\[\d+\]$/.test(
|
|
8414
|
-
let m = parseInt(
|
|
8415
|
+
const u = s[c].trim();
|
|
8416
|
+
if (u !== "")
|
|
8417
|
+
if (/^\[\d+\]$/.test(u)) {
|
|
8418
|
+
let m = parseInt(u.slice(1, -1), 10);
|
|
8415
8419
|
m > 0 && m--;
|
|
8416
|
-
const
|
|
8417
|
-
e.setProp(r, a.toString(),
|
|
8420
|
+
const p = e.newNumber(m);
|
|
8421
|
+
e.setProp(r, a.toString(), p), p.dispose(), a++;
|
|
8418
8422
|
} else {
|
|
8419
|
-
const m = e.newString(
|
|
8423
|
+
const m = e.newString(u);
|
|
8420
8424
|
e.setProp(r, a.toString(), m), m.dispose(), a++;
|
|
8421
8425
|
}
|
|
8422
8426
|
}
|
|
@@ -8443,12 +8447,12 @@ function Ru(t) {
|
|
|
8443
8447
|
if (Pe(t)) {
|
|
8444
8448
|
var a = [];
|
|
8445
8449
|
try {
|
|
8446
|
-
const
|
|
8447
|
-
e.callFunction(
|
|
8450
|
+
const p = we(a, e.getProp(e.global, "__timeoutCallback__"));
|
|
8451
|
+
e.callFunction(p, e.global, e.newNumber(r));
|
|
8448
8452
|
} catch (c) {
|
|
8449
|
-
var
|
|
8453
|
+
var u = c, m = !0;
|
|
8450
8454
|
} finally {
|
|
8451
|
-
Se(a,
|
|
8455
|
+
Se(a, u, m);
|
|
8452
8456
|
}
|
|
8453
8457
|
}
|
|
8454
8458
|
}, s);
|
|
@@ -8467,7 +8471,7 @@ const qo = rr({
|
|
|
8467
8471
|
}
|
|
8468
8472
|
});
|
|
8469
8473
|
window.API_URL && (qo.defaults.baseURL = window.API_URL + "/computebase/");
|
|
8470
|
-
function
|
|
8474
|
+
function Ru(t) {
|
|
8471
8475
|
return qo.post("callFunc", t);
|
|
8472
8476
|
}
|
|
8473
8477
|
function Ku(t) {
|
|
@@ -8477,12 +8481,12 @@ function Ku(t) {
|
|
|
8477
8481
|
}
|
|
8478
8482
|
const { vm: e } = t;
|
|
8479
8483
|
e.newFunction("__callFuncV1__", (n, i, r, s, a) => {
|
|
8480
|
-
const c = e.getString(n),
|
|
8481
|
-
return
|
|
8484
|
+
const c = e.getString(n), u = e.getString(i), m = e.dump(r), p = e.getString(s), d = e.getString(a), { id: y, promise: b } = t.promiseManager.acquire(), g = JSON.stringify(m);
|
|
8485
|
+
return Ru({
|
|
8482
8486
|
spaceId: c,
|
|
8483
|
-
id:
|
|
8487
|
+
id: u,
|
|
8484
8488
|
strInputs: g,
|
|
8485
|
-
env:
|
|
8489
|
+
env: p
|
|
8486
8490
|
}).then(
|
|
8487
8491
|
({ strOutputs: k }) => {
|
|
8488
8492
|
Pe(t) && (b.resolve(e.evalCode(`JSON.parse('${k}')`).unwrap()), t.promiseManager.release(y));
|
|
@@ -8513,10 +8517,10 @@ function Fu(t) {
|
|
|
8513
8517
|
try {
|
|
8514
8518
|
const B = we(c, e.getProp(e.global, "__triggerEventInner__"));
|
|
8515
8519
|
e.callFunction(B, e.global, n, ...i);
|
|
8516
|
-
} catch (
|
|
8517
|
-
var m =
|
|
8520
|
+
} catch (u) {
|
|
8521
|
+
var m = u, p = !0;
|
|
8518
8522
|
} finally {
|
|
8519
|
-
Se(c, m,
|
|
8523
|
+
Se(c, m, p);
|
|
8520
8524
|
}
|
|
8521
8525
|
}
|
|
8522
8526
|
const r = e.getString(n), { kind: s, eventKey: a } = Bu(r);
|
|
@@ -8557,41 +8561,41 @@ function Fu(t) {
|
|
|
8557
8561
|
}
|
|
8558
8562
|
}
|
|
8559
8563
|
}).consume((n) => e.setProp(e.global, "__triggerEventV1__", n)), e.newFunction("__getPropertyV1__", (n, i) => {
|
|
8560
|
-
const r = e.getString(n), s = e.getString(i), { kind: a, nodeId: c, propertyKey:
|
|
8564
|
+
const r = e.getString(n), s = e.getString(i), { kind: a, nodeId: c, propertyKey: u } = ro(r);
|
|
8561
8565
|
let m;
|
|
8562
8566
|
if (a === "elementProperty")
|
|
8563
|
-
m = t.getElementProperty(c,
|
|
8567
|
+
m = t.getElementProperty(c, u.split("."));
|
|
8564
8568
|
else if (a === "referenceProperty") {
|
|
8565
|
-
const
|
|
8566
|
-
|
|
8569
|
+
const p = t.children[c];
|
|
8570
|
+
p && (m = p.getCustomProperty(u));
|
|
8567
8571
|
} else if (a === "multipleRefProperty") {
|
|
8568
|
-
const
|
|
8569
|
-
|
|
8570
|
-
} else a === "customProperty" ? m = t.getCustomProperty(
|
|
8572
|
+
const p = t.children[c + "/" + s];
|
|
8573
|
+
p && (m = p.getCustomProperty(u));
|
|
8574
|
+
} else a === "customProperty" ? m = t.getCustomProperty(u) : a === "customSlotProperty" || (a === "adaptSlotElementProperty" || a === "adaptSlotCustomProperty" ? m = t.getAdaptSlotProperty(u) : console.assert(!1));
|
|
8571
8575
|
return Fe(e, m);
|
|
8572
8576
|
}).consume((n) => e.setProp(e.global, "__getPropertyV1__", n)), e.newFunction("__setPropertyV1__", (n, i, r) => {
|
|
8573
|
-
const s = e.getString(n), a = e.getString(i), c = e.dump(r), { kind:
|
|
8574
|
-
if (
|
|
8575
|
-
t.setElementProperty(m,
|
|
8576
|
-
else if (
|
|
8577
|
+
const s = e.getString(n), a = e.getString(i), c = e.dump(r), { kind: u, nodeId: m, propertyKey: p } = ro(s);
|
|
8578
|
+
if (u === "elementProperty")
|
|
8579
|
+
t.setElementProperty(m, p.split("."), c);
|
|
8580
|
+
else if (u === "referenceProperty") {
|
|
8577
8581
|
const d = t.children[m];
|
|
8578
|
-
d && d.setCustomProperty(
|
|
8579
|
-
} else if (
|
|
8582
|
+
d && d.setCustomProperty(p, c);
|
|
8583
|
+
} else if (u === "multipleRefProperty") {
|
|
8580
8584
|
const d = t.children[m + "/" + a];
|
|
8581
|
-
d && d.setCustomProperty(
|
|
8582
|
-
} else
|
|
8585
|
+
d && d.setCustomProperty(p, c);
|
|
8586
|
+
} else u === "customProperty" ? t.setCustomProperty(p, c) : u === "customSlotProperty" || (u === "adaptSlotElementProperty" || u === "adaptSlotCustomProperty" ? t.setAdaptSlotProperty(p, c) : console.assert(!1));
|
|
8583
8587
|
}).consume((n) => e.setProp(e.global, "__setPropertyV1__", n)), e.newFunction("__callMethodV1__", (n, i, r) => {
|
|
8584
|
-
const s = e.getString(n), a = e.getString(i), c = e.dump(r), { kind:
|
|
8588
|
+
const s = e.getString(n), a = e.getString(i), c = e.dump(r), { kind: u, nodeId: m, methodKey: p } = Jo(s);
|
|
8585
8589
|
let d;
|
|
8586
|
-
if (
|
|
8590
|
+
if (u === "elementMethod")
|
|
8587
8591
|
d = t.callElementMethod(s, c);
|
|
8588
|
-
else if (
|
|
8592
|
+
else if (u === "referenceMethod") {
|
|
8589
8593
|
const y = t.children[m];
|
|
8590
|
-
y && (d = y.callCustomMethod(
|
|
8591
|
-
} else if (
|
|
8594
|
+
y && (d = y.callCustomMethod(p, c));
|
|
8595
|
+
} else if (u === "multipleRefMethod") {
|
|
8592
8596
|
const y = t.children[m + "/" + a];
|
|
8593
|
-
y && (d = y.callCustomMethod(
|
|
8594
|
-
} else
|
|
8597
|
+
y && (d = y.callCustomMethod(p, c));
|
|
8598
|
+
} else u === "customMethod" || u === "customSlotMethod" || u === "adaptSlotElementMethod" || u === "adaptSlotCustomMethod" || console.assert(!1);
|
|
8595
8599
|
return d;
|
|
8596
8600
|
}).consume((n) => e.setProp(e.global, "__callMethodV1__", n)), e.newFunction("__getStateV1__", (n) => {
|
|
8597
8601
|
const i = e.getString(n), r = t.getState(i);
|
|
@@ -8615,18 +8619,18 @@ function Fu(t) {
|
|
|
8615
8619
|
);
|
|
8616
8620
|
}).consume((n) => e.setProp(e.global, "__navigateToV1__", n)), e.newFunction("__openConfirmDlgV1__", (n, i) => {
|
|
8617
8621
|
const r = e.getString(n), s = e.getString(i), { id: a, promise: c } = t.promiseManager.acquire();
|
|
8618
|
-
return sr({ title: r, text: s }).then((
|
|
8619
|
-
Pe(t) && (
|
|
8622
|
+
return sr({ title: r, text: s }).then((u) => {
|
|
8623
|
+
Pe(t) && (u === void 0 ? c.resolve(e.undefined) : c.resolve(u ? e.true : e.false), t.promiseManager.release(a));
|
|
8620
8624
|
}), c.settled.then(e.runtime.executePendingJobs), c.handle;
|
|
8621
8625
|
}).consume((n) => e.setProp(e.global, "__openConfirmDlgV1__", n)), e.newFunction("__openPromptDlgV1__", (n, i, r) => {
|
|
8622
|
-
const s = e.getString(n), a = e.getString(i), c = e.dump(r), { id:
|
|
8623
|
-
return lr({ title: s, label: a, value: c }).then((
|
|
8624
|
-
Pe(t) && (
|
|
8626
|
+
const s = e.getString(n), a = e.getString(i), c = e.dump(r), { id: u, promise: m } = t.promiseManager.acquire();
|
|
8627
|
+
return lr({ title: s, label: a, value: c }).then((p) => {
|
|
8628
|
+
Pe(t) && (p === void 0 ? m.resolve(e.undefined) : m.resolve(e.newString(p)), t.promiseManager.release(u));
|
|
8625
8629
|
}), m.settled.then(e.runtime.executePendingJobs), m.handle;
|
|
8626
8630
|
}).consume((n) => e.setProp(e.global, "__openPromptDlgV1__", n));
|
|
8627
8631
|
}
|
|
8628
8632
|
function Ou(t) {
|
|
8629
|
-
|
|
8633
|
+
Wu(t), Ku(t), Du(t), Fu(t);
|
|
8630
8634
|
}
|
|
8631
8635
|
const Gu = `
|
|
8632
8636
|
let __events__ = {}
|
|
@@ -8742,8 +8746,8 @@ class ju {
|
|
|
8742
8746
|
type;
|
|
8743
8747
|
eventBus = $r();
|
|
8744
8748
|
hooks;
|
|
8745
|
-
constructor(e, n, i, r, s, a, c,
|
|
8746
|
-
this.kind = e, this.id = n, this.refKey = i, this.parent = r, this.org = s, this.env = a, this.mode = c, this.type =
|
|
8749
|
+
constructor(e, n, i, r, s, a, c, u, m) {
|
|
8750
|
+
this.kind = e, this.id = n, this.refKey = i, this.parent = r, this.org = s, this.env = a, this.mode = c, this.type = u, this.hooks = m, this.parent?.addChild(this), console.log(`Sandbox/constructor id='${this.id}'`);
|
|
8747
8751
|
}
|
|
8748
8752
|
dispose() {
|
|
8749
8753
|
this.parent?.removeChild(this.id), this.destroyVm(), console.log(`Sandbox/dispose id='${this.id}'`);
|
|
@@ -8879,7 +8883,7 @@ class ju {
|
|
|
8879
8883
|
}
|
|
8880
8884
|
}
|
|
8881
8885
|
function ii(t, e, n, i, r) {
|
|
8882
|
-
const s = zu(), a = Tu(), c = N(),
|
|
8886
|
+
const s = zu(), a = Tu(), c = N(), u = ye(), m = Ee(), p = Ne(), d = Au(), y = (V, I, P, L) => {
|
|
8883
8887
|
if (Z(c) && (x.callFunction(
|
|
8884
8888
|
"__triggerEventV1__",
|
|
8885
8889
|
Q("elementPropertyChangeEvent", V, I.join(".")),
|
|
@@ -8943,7 +8947,7 @@ function ii(t, e, n, i, r) {
|
|
|
8943
8947
|
I,
|
|
8944
8948
|
P
|
|
8945
8949
|
));
|
|
8946
|
-
}, x = new ju(e, n, i, r, s, a, c,
|
|
8950
|
+
}, x = new ju(e, n, i, r, s, a, c, u, {
|
|
8947
8951
|
onElementPropertyChange: y,
|
|
8948
8952
|
onCustomPropertyChange: b,
|
|
8949
8953
|
onAdaptSlotPropertyChange: g,
|
|
@@ -8972,7 +8976,7 @@ function ii(t, e, n, i, r) {
|
|
|
8972
8976
|
},
|
|
8973
8977
|
{ immediate: !0 }
|
|
8974
8978
|
), Z(c) && re(
|
|
8975
|
-
|
|
8979
|
+
p,
|
|
8976
8980
|
(V) => {
|
|
8977
8981
|
x.callFunction(
|
|
8978
8982
|
"__triggerEventV1__",
|
|
@@ -8990,7 +8994,7 @@ const Hu = (t, e, n) => {
|
|
|
8990
8994
|
});
|
|
8991
8995
|
};
|
|
8992
8996
|
async function Kp(t) {
|
|
8993
|
-
return (await Hu(/* @__PURE__ */ Object.assign({ "./locales/en/index.ts": () => import("./i18n-en.
|
|
8997
|
+
return (await Hu(/* @__PURE__ */ Object.assign({ "./locales/en/index.ts": () => import("./i18n-en.fcu7dx2e.js"), "./locales/zhHans/index.ts": () => import("./i18n-zhHans.l3h6mxad.js") }), `./locales/${t}/index.ts`, 4)).default;
|
|
8994
8998
|
}
|
|
8995
8999
|
export {
|
|
8996
9000
|
np as addIndent,
|
|
@@ -9069,8 +9073,8 @@ export {
|
|
|
9069
9073
|
Le as makeTriggerId,
|
|
9070
9074
|
Ia as mapControlsV1,
|
|
9071
9075
|
xc as menuV1,
|
|
9072
|
-
|
|
9073
|
-
|
|
9076
|
+
We as meshBasicMaterialV1,
|
|
9077
|
+
Re as meshV1,
|
|
9074
9078
|
Oa as multipleRefV1,
|
|
9075
9079
|
wn as numberInputV1,
|
|
9076
9080
|
Ca as orbitControlsV1,
|
|
@@ -9081,7 +9085,7 @@ export {
|
|
|
9081
9085
|
tp as parsePixelStr,
|
|
9082
9086
|
_a as perspectiveCameraV1,
|
|
9083
9087
|
Cu as pkgs,
|
|
9084
|
-
|
|
9088
|
+
Wa as pointLightV1,
|
|
9085
9089
|
hp as provideDark,
|
|
9086
9090
|
vp as provideData,
|
|
9087
9091
|
kp as provideDepends,
|
|
@@ -9104,7 +9108,7 @@ export {
|
|
|
9104
9108
|
Ic as sliderV1,
|
|
9105
9109
|
pp as spawnNode,
|
|
9106
9110
|
mn as sphereGeometryV1,
|
|
9107
|
-
|
|
9111
|
+
Ra as spotLightV1,
|
|
9108
9112
|
$n as stepperHeaderV1,
|
|
9109
9113
|
In as stepperItemV1,
|
|
9110
9114
|
zn as stepperV1,
|
|
@@ -9132,10 +9136,10 @@ export {
|
|
|
9132
9136
|
ro as unwrapPropertyId,
|
|
9133
9137
|
Ip as unwrapPropertyKeyOfCustomSlot,
|
|
9134
9138
|
Vp as unwrapPropertyKeyOfElementSlot,
|
|
9135
|
-
|
|
9139
|
+
Wp as unwrapSlotId,
|
|
9136
9140
|
ni as useDepend,
|
|
9137
|
-
|
|
9141
|
+
Rp as useRuntime,
|
|
9138
9142
|
ii as useSandbox,
|
|
9139
9143
|
Bn as windowItemV1,
|
|
9140
|
-
|
|
9144
|
+
Wn as windowV1
|
|
9141
9145
|
};
|