x-runtime-lib 0.8.147 → 0.8.149
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var xn = (t, n) => (n = Symbol[t]) ? n : /* @__PURE__ */ Symbol.for("Symbol." + t), kn = (t) => {
|
|
2
2
|
throw TypeError(t);
|
|
3
3
|
};
|
|
4
|
-
var
|
|
4
|
+
var ke = (t, n, e) => {
|
|
5
5
|
if (n != null) {
|
|
6
6
|
typeof n != "object" && typeof n != "function" && kn("Object expected");
|
|
7
7
|
var o, s;
|
|
@@ -14,7 +14,7 @@ var ve = (t, n, e) => {
|
|
|
14
14
|
}), t.push([e, o, n]);
|
|
15
15
|
} else e && t.push([e]);
|
|
16
16
|
return n;
|
|
17
|
-
},
|
|
17
|
+
}, we = (t, n, e) => {
|
|
18
18
|
var o = typeof SuppressedError == "function" ? SuppressedError : function(l, c, m, u) {
|
|
19
19
|
return u = Error(m), u.name = "SuppressedError", u.error = l, u.suppressed = c, u;
|
|
20
20
|
}, s = (l) => n = e ? new o(l, n, "An error was suppressed during disposal") : (e = !0, l), i = (l) => {
|
|
@@ -29,10 +29,10 @@ var ve = (t, n, e) => {
|
|
|
29
29
|
};
|
|
30
30
|
return i();
|
|
31
31
|
};
|
|
32
|
-
import { defineComponent as $, createElementBlock as te, createCommentVNode as se, unref as r, openBlock as
|
|
32
|
+
import { defineComponent as $, createElementBlock as te, createCommentVNode as se, unref as r, openBlock as w, createElementVNode as Re, computed as I, renderSlot as O, normalizeStyle as de, ref as ie, watch as pe, onUnmounted as Se, onBeforeMount as ni, watchEffect as Ie, createVNode as D, createBlock as C, useTemplateRef as wo, onMounted as Io, nextTick as on, withCtx as V, resolveComponent as B, isRef as ne, h as K, createSlots as sn, renderList as oi, useId as $o, withModifiers as ii, normalizeClass as si, toDisplayString as So, useAttrs as bt, inject as fe, provide as ye, readonly as rn } from "vue";
|
|
33
33
|
import { globalObjects as he, waitUtil as Co, useViewStack as Vo, eventBus as Po, messageInfo as ri, messageSuccess as li, messageWarning as Lo, messageError as zo, createAxios as ai, openConfirmDlg as ci, openPromptDlg as ui } from "x-essential-lib";
|
|
34
34
|
import { CameraHelper as To, DirectionalLightHelper as mi, PointLightHelper as pi, SpotLightHelper as di } from "three";
|
|
35
|
-
import { i as me, c as qe, K as fi, M as yi, O as bi, u as gi, r as Eo, e as Ao, a as hi, b as _i, d as vi, f as xi, g as ki, h as wi, j as Ii, k as $i, l as Mo, m as
|
|
35
|
+
import { i as me, c as qe, K as fi, M as yi, O as bi, u as gi, r as Eo, e as Ao, a as hi, b as _i, d as vi, f as xi, g as ki, h as wi, j as Ii, k as $i, l as Mo, m as F, H as Si, n as Ci, o as Vi, p as Pi, q as Li } from "./vendor.m8tdmh16.js";
|
|
36
36
|
import { useTheme as zi } from "vuetify";
|
|
37
37
|
import { getErrorMessage as Ti } from "x-error-lib";
|
|
38
38
|
const wn = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
|
|
@@ -86,7 +86,7 @@ function Ne(t, n) {
|
|
|
86
86
|
}
|
|
87
87
|
return e;
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function Ve(t, n) {
|
|
90
90
|
let e = t;
|
|
91
91
|
if (typeof e != "object")
|
|
92
92
|
return;
|
|
@@ -346,7 +346,7 @@ const Ki = ["position", "ratation", "scale"], Ke = /* @__PURE__ */ $({
|
|
|
346
346
|
},
|
|
347
347
|
setup(t) {
|
|
348
348
|
const n = Z();
|
|
349
|
-
return (e, o) => r(n) === "editor" ? (
|
|
349
|
+
return (e, o) => r(n) === "editor" ? (w(), te("TresMesh", {
|
|
350
350
|
key: 0,
|
|
351
351
|
position: t.position ?? [0, 0, 0],
|
|
352
352
|
ratation: t.ratation ?? [0, 0, 0],
|
|
@@ -356,7 +356,7 @@ const Ki = ["position", "ratation", "scale"], Ke = /* @__PURE__ */ $({
|
|
|
356
356
|
Re("TresBoxGeometry", { args: [1, 1, 1] }, null, -1)
|
|
357
357
|
])], 8, Ki)) : se("", !0);
|
|
358
358
|
}
|
|
359
|
-
}),
|
|
359
|
+
}), H = /* @__PURE__ */ $({
|
|
360
360
|
__name: "index",
|
|
361
361
|
props: {
|
|
362
362
|
block: { type: Boolean, default: !1 },
|
|
@@ -377,16 +377,16 @@ const Ki = ["position", "ratation", "scale"], Ke = /* @__PURE__ */ $({
|
|
|
377
377
|
pointerEvents: "auto",
|
|
378
378
|
userSelect: "none"
|
|
379
379
|
}));
|
|
380
|
-
return (s, i) => r(n) === "editor" ? (
|
|
380
|
+
return (s, i) => r(n) === "editor" ? (w(), te("div", {
|
|
381
381
|
key: 0,
|
|
382
382
|
style: de(e.value)
|
|
383
383
|
}, [
|
|
384
|
-
|
|
385
|
-
t.mask ? (
|
|
384
|
+
O(s.$slots, "default"),
|
|
385
|
+
t.mask ? (w(), te("div", {
|
|
386
386
|
key: 0,
|
|
387
387
|
style: de(o.value)
|
|
388
388
|
}, null, 4)) : se("", !0)
|
|
389
|
-
], 4)) :
|
|
389
|
+
], 4)) : O(s.$slots, "default", { key: 1 });
|
|
390
390
|
}
|
|
391
391
|
});
|
|
392
392
|
function Di(t) {
|
|
@@ -401,7 +401,7 @@ function P(t) {
|
|
|
401
401
|
e.value = n.value.view.nodes[t.nodeId];
|
|
402
402
|
});
|
|
403
403
|
const { debugTrace: o } = Di(e);
|
|
404
|
-
return o("created"),
|
|
404
|
+
return o("created"), Se(() => {
|
|
405
405
|
o("destroyed");
|
|
406
406
|
}), { node: e };
|
|
407
407
|
}
|
|
@@ -411,30 +411,30 @@ function mt(t, n, e) {
|
|
|
411
411
|
const s = I(() => Jc("elementMethod", t, n));
|
|
412
412
|
ni(() => {
|
|
413
413
|
o.eventBus?.on(s.value, e);
|
|
414
|
-
}),
|
|
414
|
+
}), Se(() => {
|
|
415
415
|
o.eventBus?.off(s.value, e);
|
|
416
416
|
});
|
|
417
417
|
}
|
|
418
418
|
}
|
|
419
|
-
const
|
|
419
|
+
const Fi = (t, n, e, o) => {
|
|
420
420
|
let s;
|
|
421
|
-
if (t ? s = t.getElementProperty(n.basic.id, e) : s =
|
|
421
|
+
if (t ? s = t.getElementProperty(n.basic.id, e) : s = Ve(n, e), o) {
|
|
422
422
|
if (typeof s == "string")
|
|
423
423
|
return JSON.parse(s);
|
|
424
424
|
console.assert(!1);
|
|
425
425
|
return;
|
|
426
426
|
} else
|
|
427
427
|
return s;
|
|
428
|
-
},
|
|
428
|
+
}, Oi = (t, n, e, o, s) => {
|
|
429
429
|
let i;
|
|
430
430
|
s ? typeof o == "object" ? i = JSON.stringify(o, null, 2) : (console.assert(!1), i = "{}") : i = o, t ? t.setElementProperty(n.basic.id, e, i) : an(n, e, i);
|
|
431
431
|
};
|
|
432
432
|
function a(t, n, e) {
|
|
433
433
|
const o = _e(), s = ie();
|
|
434
|
-
return
|
|
435
|
-
s.value =
|
|
434
|
+
return Ie(() => {
|
|
435
|
+
s.value = Fi(o, t.value, n, e);
|
|
436
436
|
}), pe(s, (i, l) => {
|
|
437
|
-
me(i, l) ||
|
|
437
|
+
me(i, l) || Oi(o, t.value, n, s.value, e);
|
|
438
438
|
}), { property: s };
|
|
439
439
|
}
|
|
440
440
|
function ue(t) {
|
|
@@ -463,17 +463,17 @@ function ue(t) {
|
|
|
463
463
|
"rotation",
|
|
464
464
|
"z"
|
|
465
465
|
]), { property: c } = a(t, ["transform", "scale", "x"]), { property: m } = a(t, ["transform", "scale", "y"]), { property: u } = a(t, ["transform", "scale", "z"]), d = ie([0, 0, 0]), p = ie([0, 0, 0]), f = ie([1, 1, 1]);
|
|
466
|
-
return
|
|
466
|
+
return Ie(() => {
|
|
467
467
|
d.value = [n.value, e.value, o.value];
|
|
468
|
-
}),
|
|
468
|
+
}), Ie(() => {
|
|
469
469
|
n.value = d.value[0], e.value = d.value[1], o.value = d.value[2];
|
|
470
|
-
}),
|
|
470
|
+
}), Ie(() => {
|
|
471
471
|
p.value = [s.value, i.value, l.value];
|
|
472
|
-
}),
|
|
472
|
+
}), Ie(() => {
|
|
473
473
|
s.value = p.value[0], i.value = p.value[1], l.value = p.value[2];
|
|
474
|
-
}),
|
|
474
|
+
}), Ie(() => {
|
|
475
475
|
f.value = [c.value, m.value, u.value];
|
|
476
|
-
}),
|
|
476
|
+
}), Ie(() => {
|
|
477
477
|
c.value = f.value[0], m.value = f.value[1], u.value = f.value[2];
|
|
478
478
|
}), { position: d, rotation: p, scale: f };
|
|
479
479
|
}
|
|
@@ -517,7 +517,7 @@ function Do(t) {
|
|
|
517
517
|
}
|
|
518
518
|
return { show: n, position: e, type: o, data: s, applyXAxis: i };
|
|
519
519
|
}
|
|
520
|
-
function
|
|
520
|
+
function Fo(t) {
|
|
521
521
|
const n = I(() => t.value.yAxis?.show), e = I(() => t.value.yAxis?.position), o = I(() => t.value.yAxis?.type), s = I(() => t.value.yAxis?.data);
|
|
522
522
|
function i(l) {
|
|
523
523
|
l.yAxis = {
|
|
@@ -564,7 +564,7 @@ function pn(t) {
|
|
|
564
564
|
return { paddingTop: n, paddingLeft: e, paddingBottom: o, paddingRight: s, applyPadding: i };
|
|
565
565
|
}
|
|
566
566
|
function be(t, n) {
|
|
567
|
-
const e = Z(), o =
|
|
567
|
+
const e = Z(), o = Oe(), s = I(() => n.value.size?.width), i = I(() => n.value.size?.minWidth), l = I(() => n.value.size?.maxWidth), c = I(() => {
|
|
568
568
|
if (t.outer && e === "editor") {
|
|
569
569
|
const p = wt(n.value.size?.height);
|
|
570
570
|
if (p)
|
|
@@ -600,7 +600,7 @@ const Ni = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
600
600
|
},
|
|
601
601
|
setup(t) {
|
|
602
602
|
const n = t, { node: e } = P(n), o = Z(), { position: s, rotation: i, scale: l } = ue(e), { property: c } = a(e, ["settings", "bottom"]), { property: m } = a(e, ["settings", "far"]), { property: u } = a(e, ["settings", "left"]), { property: d } = a(e, ["settings", "near"]), { property: p } = a(e, ["settings", "right"]), { property: f } = a(e, ["settings", "top"]);
|
|
603
|
-
return (
|
|
603
|
+
return (b, _) => (w(), te("TresOrthographicCamera", {
|
|
604
604
|
bottom: r(c),
|
|
605
605
|
far: r(m),
|
|
606
606
|
left: r(u),
|
|
@@ -612,14 +612,14 @@ const Ni = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
612
612
|
top: r(f)
|
|
613
613
|
}, [
|
|
614
614
|
D(r(Ke)),
|
|
615
|
-
r(o) === "editor" ? (
|
|
615
|
+
r(o) === "editor" ? (w(), C(r(qe), {
|
|
616
616
|
key: 0,
|
|
617
617
|
type: r(To)
|
|
618
618
|
}, null, 8, ["type"])) : se("", !0),
|
|
619
|
-
|
|
619
|
+
O(b.$slots, "default")
|
|
620
620
|
], 8, Ni));
|
|
621
621
|
}
|
|
622
|
-
}),
|
|
622
|
+
}), Hi = ["aspect", "far", "fov", "near", "position", "rotation", "scale"], Gi = /* @__PURE__ */ $({
|
|
623
623
|
__name: "index",
|
|
624
624
|
props: {
|
|
625
625
|
nodeId: {},
|
|
@@ -628,7 +628,7 @@ const Ni = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
628
628
|
},
|
|
629
629
|
setup(t) {
|
|
630
630
|
const n = t, { node: e } = P(n), o = Z(), { position: s, rotation: i, scale: l } = ue(e), { property: c } = a(e, ["settings", "aspect"]), { property: m } = a(e, ["settings", "far"]), { property: u } = a(e, ["settings", "fov"]), { property: d } = a(e, ["settings", "near"]);
|
|
631
|
-
return (p, f) => (
|
|
631
|
+
return (p, f) => (w(), te("TresPerspectiveCamera", {
|
|
632
632
|
aspect: r(c),
|
|
633
633
|
far: r(m),
|
|
634
634
|
fov: r(u),
|
|
@@ -638,30 +638,30 @@ const Ni = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
638
638
|
scale: r(l)
|
|
639
639
|
}, [
|
|
640
640
|
D(r(Ke)),
|
|
641
|
-
r(o) === "editor" ? (
|
|
641
|
+
r(o) === "editor" ? (w(), C(r(qe), {
|
|
642
642
|
key: 0,
|
|
643
643
|
type: r(To)
|
|
644
644
|
}, null, 8, ["type"])) : se("", !0),
|
|
645
|
-
|
|
646
|
-
], 8,
|
|
645
|
+
O(p.$slots, "default")
|
|
646
|
+
], 8, Hi));
|
|
647
647
|
}
|
|
648
648
|
}), Ji = /* @__PURE__ */ $({
|
|
649
649
|
__name: "index",
|
|
650
650
|
setup(t) {
|
|
651
651
|
const n = Z();
|
|
652
|
-
return (e, o) => r(n) !== "editor" ? (
|
|
652
|
+
return (e, o) => r(n) !== "editor" ? (w(), C(r(fi), { key: 0 })) : se("", !0);
|
|
653
653
|
}
|
|
654
654
|
}), Ui = /* @__PURE__ */ $({
|
|
655
655
|
__name: "index",
|
|
656
656
|
setup(t) {
|
|
657
657
|
const n = Z();
|
|
658
|
-
return (e, o) => r(n) !== "editor" ? (
|
|
658
|
+
return (e, o) => r(n) !== "editor" ? (w(), C(r(yi), { key: 0 })) : se("", !0);
|
|
659
659
|
}
|
|
660
660
|
}), qi = /* @__PURE__ */ $({
|
|
661
661
|
__name: "index",
|
|
662
662
|
setup(t) {
|
|
663
663
|
const n = Z();
|
|
664
|
-
return (e, o) => r(n) !== "editor" ? (
|
|
664
|
+
return (e, o) => r(n) !== "editor" ? (w(), C(r(bi), { key: 0 })) : se("", !0);
|
|
665
665
|
}
|
|
666
666
|
}), Xi = ["args"], Yi = /* @__PURE__ */ $({
|
|
667
667
|
__name: "index",
|
|
@@ -681,7 +681,7 @@ const Ni = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
681
681
|
"settings",
|
|
682
682
|
"widthSegements"
|
|
683
683
|
]);
|
|
684
|
-
return (u, d) => (
|
|
684
|
+
return (u, d) => (w(), te("TresBoxGeometry", {
|
|
685
685
|
args: [
|
|
686
686
|
r(c),
|
|
687
687
|
r(i),
|
|
@@ -724,7 +724,7 @@ const Ni = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
724
724
|
"settings",
|
|
725
725
|
"widthSegments"
|
|
726
726
|
]);
|
|
727
|
-
return (d, p) => (
|
|
727
|
+
return (d, p) => (w(), te("TresSphereGeometry", {
|
|
728
728
|
args: [
|
|
729
729
|
r(l),
|
|
730
730
|
r(u),
|
|
@@ -748,7 +748,7 @@ const Ni = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
748
748
|
"settings",
|
|
749
749
|
"intensity"
|
|
750
750
|
]);
|
|
751
|
-
return (u, d) => (
|
|
751
|
+
return (u, d) => (w(), te("TresAmbientLight", {
|
|
752
752
|
color: r(c),
|
|
753
753
|
intensity: r(m),
|
|
754
754
|
position: r(o),
|
|
@@ -756,7 +756,7 @@ const Ni = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
756
756
|
scale: r(i)
|
|
757
757
|
}, [
|
|
758
758
|
D(r(Ke)),
|
|
759
|
-
|
|
759
|
+
O(u.$slots, "default")
|
|
760
760
|
], 8, es));
|
|
761
761
|
}
|
|
762
762
|
}), ns = ["color", "intensity", "position", "rotation", "scale"], os = /* @__PURE__ */ $({
|
|
@@ -771,7 +771,7 @@ const Ni = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
771
771
|
"settings",
|
|
772
772
|
"intensity"
|
|
773
773
|
]);
|
|
774
|
-
return (d, p) => (
|
|
774
|
+
return (d, p) => (w(), te("TresDirectionalLight", {
|
|
775
775
|
color: r(m),
|
|
776
776
|
intensity: r(u),
|
|
777
777
|
position: r(s),
|
|
@@ -779,11 +779,11 @@ const Ni = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
779
779
|
scale: r(l)
|
|
780
780
|
}, [
|
|
781
781
|
D(r(Ke)),
|
|
782
|
-
r(o) === "editor" ? (
|
|
782
|
+
r(o) === "editor" ? (w(), C(r(qe), {
|
|
783
783
|
key: 0,
|
|
784
784
|
type: r(mi)
|
|
785
785
|
}, null, 8, ["type"])) : se("", !0),
|
|
786
|
-
|
|
786
|
+
O(d.$slots, "default")
|
|
787
787
|
], 8, ns));
|
|
788
788
|
}
|
|
789
789
|
}), is = ["color", "decay", "distance", "intensity", "position", "rotation", "scale"], ss = /* @__PURE__ */ $({
|
|
@@ -801,7 +801,7 @@ const Ni = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
801
801
|
"settings",
|
|
802
802
|
"intensity"
|
|
803
803
|
]);
|
|
804
|
-
return (f,
|
|
804
|
+
return (f, b) => (w(), te("TresPointLight", {
|
|
805
805
|
color: r(m),
|
|
806
806
|
decay: r(u),
|
|
807
807
|
distance: r(d),
|
|
@@ -811,11 +811,11 @@ const Ni = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
811
811
|
scale: r(l)
|
|
812
812
|
}, [
|
|
813
813
|
D(r(Ke)),
|
|
814
|
-
r(o) === "editor" ? (
|
|
814
|
+
r(o) === "editor" ? (w(), C(r(qe), {
|
|
815
815
|
key: 0,
|
|
816
816
|
type: r(pi)
|
|
817
817
|
}, null, 8, ["type"])) : se("", !0),
|
|
818
|
-
|
|
818
|
+
O(f.$slots, "default")
|
|
819
819
|
], 8, is));
|
|
820
820
|
}
|
|
821
821
|
}), rs = ["angle", "color", "decay", "distance", "intensity", "penumbra", "position", "rotation", "scale"], ls = /* @__PURE__ */ $({
|
|
@@ -832,32 +832,32 @@ const Ni = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
832
832
|
]), { property: f } = a(e, [
|
|
833
833
|
"settings",
|
|
834
834
|
"intensity"
|
|
835
|
-
]), { property:
|
|
835
|
+
]), { property: b } = a(e, [
|
|
836
836
|
"settings",
|
|
837
837
|
"penumbra"
|
|
838
838
|
]);
|
|
839
|
-
return (
|
|
839
|
+
return (_, k) => (w(), te("TresSpotLight", {
|
|
840
840
|
angle: r(c),
|
|
841
841
|
color: r(u),
|
|
842
842
|
decay: r(d),
|
|
843
843
|
distance: r(p),
|
|
844
844
|
intensity: r(f),
|
|
845
|
-
penumbra: r(
|
|
845
|
+
penumbra: r(b),
|
|
846
846
|
position: r(o) !== "editor" ? r(s) : [0, 0, 0],
|
|
847
847
|
rotation: r(o) !== "editor" ? r(i) : [0, 0, 0],
|
|
848
848
|
scale: r(o) !== "editor" ? r(l) : [1, 1, 1]
|
|
849
849
|
}, [
|
|
850
850
|
D(r(Ke)),
|
|
851
|
-
r(o) === "editor" ? (
|
|
851
|
+
r(o) === "editor" ? (w(), C(r(qe), {
|
|
852
852
|
key: 0,
|
|
853
853
|
type: r(di)
|
|
854
854
|
}, null, 8, ["type"])) : se("", !0),
|
|
855
|
-
|
|
855
|
+
O(_.$slots, "default")
|
|
856
856
|
], 8, rs));
|
|
857
857
|
}
|
|
858
858
|
}), as = {};
|
|
859
859
|
function cs(t, n) {
|
|
860
|
-
return
|
|
860
|
+
return w(), te("TresMeshBasicMaterial");
|
|
861
861
|
}
|
|
862
862
|
const us = /* @__PURE__ */ De(as, [["render", cs]]), ms = ["position", "rotation", "scale"], ps = /* @__PURE__ */ $({
|
|
863
863
|
__name: "index",
|
|
@@ -868,12 +868,12 @@ const us = /* @__PURE__ */ De(as, [["render", cs]]), ms = ["position", "rotation
|
|
|
868
868
|
},
|
|
869
869
|
setup(t) {
|
|
870
870
|
const n = t, { node: e } = P(n), { position: o, rotation: s, scale: i } = ue(e);
|
|
871
|
-
return (l, c) => (
|
|
871
|
+
return (l, c) => (w(), te("TresGroup", {
|
|
872
872
|
position: r(o),
|
|
873
873
|
rotation: r(s),
|
|
874
874
|
scale: r(i)
|
|
875
875
|
}, [
|
|
876
|
-
|
|
876
|
+
O(l.$slots, "default")
|
|
877
877
|
], 8, ms));
|
|
878
878
|
}
|
|
879
879
|
}), ds = ["position", "rotation", "scale"], fs = /* @__PURE__ */ $({
|
|
@@ -885,15 +885,15 @@ const us = /* @__PURE__ */ De(as, [["render", cs]]), ms = ["position", "rotation
|
|
|
885
885
|
},
|
|
886
886
|
setup(t) {
|
|
887
887
|
const n = t, { node: e } = P(n), { position: o, rotation: s, scale: i } = ue(e);
|
|
888
|
-
return (l, c) => (
|
|
888
|
+
return (l, c) => (w(), te("TresMesh", {
|
|
889
889
|
position: r(o),
|
|
890
890
|
rotation: r(s),
|
|
891
891
|
scale: r(i)
|
|
892
892
|
}, [
|
|
893
|
-
|
|
893
|
+
O(l.$slots, "default")
|
|
894
894
|
], 8, ds));
|
|
895
895
|
}
|
|
896
|
-
}), ys = ["#dd6b66", "#759aa0", "#e69d87", "#8dc1a9", "#ea7e53", "#eedd78", "#73a373", "#73b9bc", "#7289ab", "#91ca8c", "#f49f42"], bs = "#242424", gs = {}, hs = { textStyle: { color: "#eeeeee" }, subtextStyle: { color: "#aaaaaa" } }, _s = { itemStyle: { borderWidth: 1 }, lineStyle: { width: 2 }, symbolSize: 4, symbol: "circle", smooth: !1 }, vs = { itemStyle: { borderWidth: 1 }, lineStyle: { width: 2 }, symbolSize: 4, symbol: "circle", smooth: !1 }, xs = { itemStyle: { barBorderWidth: 0, barBorderColor: "#ccc" } }, ks = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, ws = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Is = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, $s = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Ss = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Cs = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Vs = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Ps = { itemStyle: { color: "#fd1050", color0: "#0cf49b", borderColor: "#fd1050", borderColor0: "#0cf49b", borderWidth: 1 } }, Ls = { 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" } }, zs = { 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)" } } }, Ts = { 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)" } } }, Es = { axisLine: { show: !0, lineStyle: { color: "#eeeeee" } }, axisTick: { show: !0, lineStyle: { color: "#eeeeee" } }, axisLabel: { show: !0, color: "#eeeeee" }, splitLine: { show: !0, lineStyle: { color: ["#aaaaaa"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } }, As = { axisLine: { show: !0, lineStyle: { color: "#eeeeee" } }, axisTick: { show: !0, lineStyle: { color: "#eeeeee" } }, axisLabel: { show: !0, color: "#eeeeee" }, splitLine: { show: !0, lineStyle: { color: ["#aaaaaa"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } }, Ms = { axisLine: { show: !0, lineStyle: { color: "#eeeeee" } }, axisTick: { show: !0, lineStyle: { color: "#eeeeee" } }, axisLabel: { show: !0, color: "#eeeeee" }, splitLine: { show: !0, lineStyle: { color: ["#aaaaaa"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } }, Ws = { axisLine: { show: !0, lineStyle: { color: "#eeeeee" } }, axisTick: { show: !0, lineStyle: { color: "#eeeeee" } }, axisLabel: { show: !0, color: "#eeeeee" }, splitLine: { show: !0, lineStyle: { color: ["#aaaaaa"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } }, Bs = { iconStyle: { borderColor: "#999" }, emphasis: { iconStyle: { borderColor: "#666" } } }, Rs = { textStyle: { color: "#eeeeee" } }, Ks = { axisPointer: { lineStyle: { color: "#eeeeee", width: "1" }, crossStyle: { color: "#eeeeee", width: "1" } } }, Ds = { lineStyle: { color: "#eeeeee", width: 1 }, itemStyle: { color: "#dd6b66", borderWidth: 1 }, controlStyle: { color: "#eeeeee", borderColor: "#eeeeee", borderWidth: 0.5 }, checkpointStyle: { color: "#e43c59", borderColor: "#c23531" }, label: { color: "#eeeeee" }, emphasis: { itemStyle: { color: "#a9334c" }, controlStyle: { color: "#eeeeee", borderColor: "#eeeeee", borderWidth: 0.5 }, label: { color: "#eeeeee" } } },
|
|
896
|
+
}), ys = ["#dd6b66", "#759aa0", "#e69d87", "#8dc1a9", "#ea7e53", "#eedd78", "#73a373", "#73b9bc", "#7289ab", "#91ca8c", "#f49f42"], bs = "#242424", gs = {}, hs = { textStyle: { color: "#eeeeee" }, subtextStyle: { color: "#aaaaaa" } }, _s = { itemStyle: { borderWidth: 1 }, lineStyle: { width: 2 }, symbolSize: 4, symbol: "circle", smooth: !1 }, vs = { itemStyle: { borderWidth: 1 }, lineStyle: { width: 2 }, symbolSize: 4, symbol: "circle", smooth: !1 }, xs = { itemStyle: { barBorderWidth: 0, barBorderColor: "#ccc" } }, ks = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, ws = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Is = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, $s = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Ss = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Cs = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Vs = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Ps = { itemStyle: { color: "#fd1050", color0: "#0cf49b", borderColor: "#fd1050", borderColor0: "#0cf49b", borderWidth: 1 } }, Ls = { 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" } }, zs = { 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)" } } }, Ts = { 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)" } } }, Es = { axisLine: { show: !0, lineStyle: { color: "#eeeeee" } }, axisTick: { show: !0, lineStyle: { color: "#eeeeee" } }, axisLabel: { show: !0, color: "#eeeeee" }, splitLine: { show: !0, lineStyle: { color: ["#aaaaaa"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } }, As = { axisLine: { show: !0, lineStyle: { color: "#eeeeee" } }, axisTick: { show: !0, lineStyle: { color: "#eeeeee" } }, axisLabel: { show: !0, color: "#eeeeee" }, splitLine: { show: !0, lineStyle: { color: ["#aaaaaa"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } }, Ms = { axisLine: { show: !0, lineStyle: { color: "#eeeeee" } }, axisTick: { show: !0, lineStyle: { color: "#eeeeee" } }, axisLabel: { show: !0, color: "#eeeeee" }, splitLine: { show: !0, lineStyle: { color: ["#aaaaaa"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } }, Ws = { axisLine: { show: !0, lineStyle: { color: "#eeeeee" } }, axisTick: { show: !0, lineStyle: { color: "#eeeeee" } }, axisLabel: { show: !0, color: "#eeeeee" }, splitLine: { show: !0, lineStyle: { color: ["#aaaaaa"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } }, Bs = { iconStyle: { borderColor: "#999" }, emphasis: { iconStyle: { borderColor: "#666" } } }, Rs = { textStyle: { color: "#eeeeee" } }, Ks = { axisPointer: { lineStyle: { color: "#eeeeee", width: "1" }, crossStyle: { color: "#eeeeee", width: "1" } } }, Ds = { lineStyle: { color: "#eeeeee", width: 1 }, itemStyle: { color: "#dd6b66", borderWidth: 1 }, controlStyle: { color: "#eeeeee", borderColor: "#eeeeee", borderWidth: 0.5 }, checkpointStyle: { color: "#e43c59", borderColor: "#c23531" }, label: { color: "#eeeeee" }, emphasis: { itemStyle: { color: "#a9334c" }, controlStyle: { color: "#eeeeee", borderColor: "#eeeeee", borderWidth: 0.5 }, label: { color: "#eeeeee" } } }, Fs = { color: ["#bf444c", "#d88273", "#f6efa6"] }, Os = { 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" } }, Ns = { label: { color: "#eee" }, emphasis: { label: { color: "#eee" } } }, js = {
|
|
897
897
|
color: ys,
|
|
898
898
|
backgroundColor: bs,
|
|
899
899
|
textStyle: gs,
|
|
@@ -920,12 +920,12 @@ const us = /* @__PURE__ */ De(as, [["render", cs]]), ms = ["position", "rotation
|
|
|
920
920
|
legend: Rs,
|
|
921
921
|
tooltip: Ks,
|
|
922
922
|
timeline: Ds,
|
|
923
|
-
visualMap:
|
|
924
|
-
dataZoom:
|
|
923
|
+
visualMap: Fs,
|
|
924
|
+
dataZoom: Os,
|
|
925
925
|
markPoint: Ns
|
|
926
|
-
},
|
|
927
|
-
color:
|
|
928
|
-
backgroundColor:
|
|
926
|
+
}, Hs = ["#dd6b66", "#759aa0", "#e69d87", "#8dc1a9", "#ea7e53", "#eedd78", "#73a373", "#73b9bc", "#7289ab", "#91ca8c", "#f49f42"], Gs = "#f5f5f5", Js = {}, Us = { textStyle: { color: "#464646" }, subtextStyle: { color: "#6e7079" } }, qs = { itemStyle: { borderWidth: 1 }, lineStyle: { width: 2 }, symbolSize: 4, symbol: "circle", smooth: !1 }, Xs = { itemStyle: { borderWidth: 1 }, lineStyle: { width: 2 }, symbolSize: 4, symbol: "circle", smooth: !1 }, Ys = { itemStyle: { barBorderWidth: 0, barBorderColor: "#ccc" } }, Zs = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Qs = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, er = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, tr = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, nr = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, or = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, ir = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, sr = { itemStyle: { color: "#eb5454", color0: "#47b262", borderColor: "#eb5454", borderColor0: "#47b262", borderWidth: 1 } }, rr = { 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" } }, lr = { 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)" } } }, ar = { itemStyle: { areaColor: "#eee", borderColor: "#444", borderWidth: 0.5 }, label: { color: "#000" }, emphasis: { itemStyle: { areaColor: "rgba(255,215,0,0.8)", borderColor: "#444", borderWidth: 1 }, label: { color: "rgb(100,0,0)" } } }, cr = { 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"] } } }, ur = { 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"] } } }, mr = { 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"] } } }, pr = { 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"] } } }, dr = { iconStyle: { borderColor: "#999" }, emphasis: { iconStyle: { borderColor: "#666" } } }, fr = { textStyle: { color: "#333333" } }, yr = { axisPointer: { lineStyle: { color: "#cccccc", width: "1" }, crossStyle: { color: "#cccccc", width: "1" } } }, br = { 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" } } }, gr = { color: ["#bf444c", "#d88273", "#f6efa6"] }, hr = { 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" } }, _r = { label: { color: "#eee" }, emphasis: { label: { color: "#eee" } } }, vr = {
|
|
927
|
+
color: Hs,
|
|
928
|
+
backgroundColor: Gs,
|
|
929
929
|
textStyle: Js,
|
|
930
930
|
title: Us,
|
|
931
931
|
line: qs,
|
|
@@ -974,9 +974,9 @@ const xr = /* @__PURE__ */ $({
|
|
|
974
974
|
refContext: {}
|
|
975
975
|
},
|
|
976
976
|
setup(t) {
|
|
977
|
-
const n = t, { node: e } = P(n), o =
|
|
977
|
+
const n = t, { node: e } = P(n), o = Oe(), s = Ze(), i = Ce(), l = re(), { width: c, minWidth: m, maxWidth: u, height: d, minHeight: p, maxHeight: f, applySize: b } = be(n, e), { applyTitle: _ } = Ko(e), { applyXAxis: k } = Do(e), { applyYAxis: g } = Fo(e), { applyLegend: x } = Bo(e), { applySeries: h } = Ro(e), v = I(() => {
|
|
978
978
|
const L = {}, U = l.value?.type;
|
|
979
|
-
return i === "page" ? U === "common" ?
|
|
979
|
+
return i === "page" ? U === "common" ? b(L) : console.assert(!1) : i === "comp" && U === "common" ? b(L) : console.assert(!1), L;
|
|
980
980
|
}), z = wo("chart");
|
|
981
981
|
let T;
|
|
982
982
|
const J = () => {
|
|
@@ -987,11 +987,11 @@ const xr = /* @__PURE__ */ $({
|
|
|
987
987
|
T?.resize();
|
|
988
988
|
}, j = () => {
|
|
989
989
|
const L = {};
|
|
990
|
-
|
|
990
|
+
_(L), k(L), g(L), x(L), h(L), T?.setOption(L, !0);
|
|
991
991
|
};
|
|
992
992
|
return Io(async () => {
|
|
993
993
|
window.addEventListener("resize", Y, !1), await Co(() => !!z.value), J(), j();
|
|
994
|
-
}),
|
|
994
|
+
}), Se(() => {
|
|
995
995
|
window.removeEventListener("resize", Y, !1), T?.dispose();
|
|
996
996
|
}), pe(
|
|
997
997
|
[
|
|
@@ -1015,14 +1015,14 @@ const xr = /* @__PURE__ */ $({
|
|
|
1015
1015
|
j();
|
|
1016
1016
|
},
|
|
1017
1017
|
{ deep: !0 }
|
|
1018
|
-
), (L, U) => (
|
|
1018
|
+
), (L, U) => (w(), C(r(H), {
|
|
1019
1019
|
block: "",
|
|
1020
1020
|
mask: ""
|
|
1021
1021
|
}, {
|
|
1022
1022
|
default: V(() => [
|
|
1023
1023
|
Re("div", {
|
|
1024
1024
|
ref: "chart",
|
|
1025
|
-
style: de(
|
|
1025
|
+
style: de(v.value)
|
|
1026
1026
|
}, null, 4)
|
|
1027
1027
|
]),
|
|
1028
1028
|
_: 1
|
|
@@ -1036,9 +1036,9 @@ const xr = /* @__PURE__ */ $({
|
|
|
1036
1036
|
refContext: {}
|
|
1037
1037
|
},
|
|
1038
1038
|
setup(t) {
|
|
1039
|
-
const n = t, { node: e } = P(n), o =
|
|
1039
|
+
const n = t, { node: e } = P(n), o = Oe(), s = Ze(), i = Ce(), l = re(), { width: c, minWidth: m, maxWidth: u, height: d, minHeight: p, maxHeight: f, applySize: b } = be(n, e), { applyTitle: _ } = Ko(e), { applyXAxis: k } = Do(e), { applyYAxis: g } = Fo(e), { applyLegend: x } = Bo(e), { applySeries: h } = Ro(e), v = I(() => {
|
|
1040
1040
|
const L = {}, U = l.value?.type;
|
|
1041
|
-
return i === "page" ? U === "common" ?
|
|
1041
|
+
return i === "page" ? U === "common" ? b(L) : console.assert(!1) : i === "comp" && U === "common" ? b(L) : console.assert(!1), L;
|
|
1042
1042
|
}), z = wo("chart");
|
|
1043
1043
|
let T;
|
|
1044
1044
|
const J = () => {
|
|
@@ -1049,11 +1049,11 @@ const xr = /* @__PURE__ */ $({
|
|
|
1049
1049
|
T?.resize();
|
|
1050
1050
|
}, j = () => {
|
|
1051
1051
|
const L = {};
|
|
1052
|
-
|
|
1052
|
+
_(L), k(L), g(L), x(L), h(L), T?.setOption(L, !0);
|
|
1053
1053
|
};
|
|
1054
1054
|
return Io(async () => {
|
|
1055
1055
|
window.addEventListener("resize", Y, !1), await Co(() => !!z.value), J(), j();
|
|
1056
|
-
}),
|
|
1056
|
+
}), Se(() => {
|
|
1057
1057
|
window.removeEventListener("resize", Y, !1), T?.dispose();
|
|
1058
1058
|
}), pe(
|
|
1059
1059
|
[
|
|
@@ -1077,14 +1077,14 @@ const xr = /* @__PURE__ */ $({
|
|
|
1077
1077
|
j();
|
|
1078
1078
|
},
|
|
1079
1079
|
{ deep: !0 }
|
|
1080
|
-
), (L, U) => (
|
|
1080
|
+
), (L, U) => (w(), C(r(H), {
|
|
1081
1081
|
block: "",
|
|
1082
1082
|
mask: ""
|
|
1083
1083
|
}, {
|
|
1084
1084
|
default: V(() => [
|
|
1085
1085
|
Re("div", {
|
|
1086
1086
|
ref: "chart",
|
|
1087
|
-
style: de(
|
|
1087
|
+
style: de(v.value)
|
|
1088
1088
|
}, null, 4)
|
|
1089
1089
|
]),
|
|
1090
1090
|
_: 1
|
|
@@ -1098,7 +1098,7 @@ const xr = /* @__PURE__ */ $({
|
|
|
1098
1098
|
refContext: {}
|
|
1099
1099
|
},
|
|
1100
1100
|
setup(t) {
|
|
1101
|
-
const n = t, { node: e } = P(n), { property: o } = a(e, ["settings", "content"]), { property: s } = a(e, ["settings", "dot"]), { theme: i } =
|
|
1101
|
+
const n = t, { node: e } = P(n), { property: o } = a(e, ["settings", "content"]), { property: s } = a(e, ["settings", "dot"]), { theme: i } = G(), { property: l } = a(e, [
|
|
1102
1102
|
"settings",
|
|
1103
1103
|
"offset",
|
|
1104
1104
|
"x"
|
|
@@ -1109,7 +1109,7 @@ const xr = /* @__PURE__ */ $({
|
|
|
1109
1109
|
]);
|
|
1110
1110
|
return (m, u) => {
|
|
1111
1111
|
const d = B("v-badge");
|
|
1112
|
-
return
|
|
1112
|
+
return w(), C(r(H), null, {
|
|
1113
1113
|
default: V(() => [
|
|
1114
1114
|
D(d, {
|
|
1115
1115
|
content: r(o),
|
|
@@ -1119,7 +1119,7 @@ const xr = /* @__PURE__ */ $({
|
|
|
1119
1119
|
theme: r(i)
|
|
1120
1120
|
}, {
|
|
1121
1121
|
default: V(() => [
|
|
1122
|
-
|
|
1122
|
+
O(m.$slots, "default")
|
|
1123
1123
|
]),
|
|
1124
1124
|
_: 3
|
|
1125
1125
|
}, 8, ["content", "dot", "offset-x", "offset-y", "theme"])
|
|
@@ -1143,25 +1143,26 @@ const xr = /* @__PURE__ */ $({
|
|
|
1143
1143
|
]), { property: i } = a(e, ["settings", "block"]), { property: l } = a(e, ["settings", "color"]), { color: c } = Q(l), { property: m } = a(e, ["settings", "density"]), { property: u } = a(e, [
|
|
1144
1144
|
"settings",
|
|
1145
1145
|
"disabled"
|
|
1146
|
-
]), { property: d } = a(e, ["size", "height"]), { property: p } = a(e, ["settings", "loading"]), { property: f } = a(e, ["size", "maxHeight"]), { property:
|
|
1146
|
+
]), { property: d } = a(e, ["size", "height"]), { property: p } = a(e, ["settings", "loading"]), { property: f } = a(e, ["size", "maxHeight"]), { property: b } = a(e, ["size", "maxWidth"]), { property: _ } = a(e, ["size", "minHeight"]), { property: k } = a(e, ["size", "minWidth"]), { property: g } = a(e, [
|
|
1147
1147
|
"settings",
|
|
1148
1148
|
"addIcon",
|
|
1149
1149
|
"prepend"
|
|
1150
1150
|
]), { property: x } = a(e, [
|
|
1151
1151
|
"settings",
|
|
1152
1152
|
"readonly"
|
|
1153
|
-
]), { property: h } = a(e, ["settings", "ripple"]), { property:
|
|
1153
|
+
]), { property: h } = a(e, ["settings", "ripple"]), { property: v } = a(e, ["settings", "size"]), { property: z } = a(e, ["settings", "stacked"]), { property: T } = a(e, ["settings", "text"]), { theme: J } = G(), { property: Y } = a(e, ["settings", "variant"]), { property: j } = a(e, ["size", "width"]), L = async (U) => {
|
|
1154
1154
|
if (!o || !o.vm)
|
|
1155
1155
|
return;
|
|
1156
1156
|
const { vm: oe } = o;
|
|
1157
|
-
oe.setProp(oe.global, "__pointerPosX__", oe.newNumber(U.clientX)), oe.setProp(oe.global, "__pointerPosY__", oe.newNumber(U.clientY)), o.
|
|
1157
|
+
oe.setProp(oe.global, "__pointerPosX__", oe.newNumber(U.clientX)), oe.setProp(oe.global, "__pointerPosY__", oe.newNumber(U.clientY)), await o.callFunctionAsync(
|
|
1158
1158
|
"__triggerEventV1__",
|
|
1159
|
-
ae("elementEvent", n.nodeId, "click")
|
|
1159
|
+
ae("elementEvent", n.nodeId, "click"),
|
|
1160
|
+
""
|
|
1160
1161
|
);
|
|
1161
1162
|
};
|
|
1162
1163
|
return (U, oe) => {
|
|
1163
1164
|
const ge = B("v-btn");
|
|
1164
|
-
return
|
|
1165
|
+
return w(), C(r(H), {
|
|
1165
1166
|
block: r(i),
|
|
1166
1167
|
mask: ""
|
|
1167
1168
|
}, {
|
|
@@ -1175,13 +1176,13 @@ const xr = /* @__PURE__ */ $({
|
|
|
1175
1176
|
height: r(d),
|
|
1176
1177
|
loading: r(p),
|
|
1177
1178
|
"max-height": r(f),
|
|
1178
|
-
"max-width": r(
|
|
1179
|
-
"min-height": r(
|
|
1180
|
-
"min-width": r(
|
|
1181
|
-
"prepend-icon": r(
|
|
1179
|
+
"max-width": r(b),
|
|
1180
|
+
"min-height": r(_),
|
|
1181
|
+
"min-width": r(k),
|
|
1182
|
+
"prepend-icon": r(g),
|
|
1182
1183
|
readonly: r(x),
|
|
1183
1184
|
ripple: r(h),
|
|
1184
|
-
size: r(
|
|
1185
|
+
size: r(v),
|
|
1185
1186
|
stacked: r(z),
|
|
1186
1187
|
text: r(T),
|
|
1187
1188
|
theme: r(J),
|
|
@@ -1197,9 +1198,9 @@ const xr = /* @__PURE__ */ $({
|
|
|
1197
1198
|
}), $r = {};
|
|
1198
1199
|
function Sr(t, n) {
|
|
1199
1200
|
const e = B("v-btn-group");
|
|
1200
|
-
return
|
|
1201
|
+
return w(), C(e, null, {
|
|
1201
1202
|
default: V(() => [
|
|
1202
|
-
|
|
1203
|
+
O(t.$slots, "default")
|
|
1203
1204
|
]),
|
|
1204
1205
|
_: 3
|
|
1205
1206
|
});
|
|
@@ -1224,10 +1225,10 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1224
1225
|
]), { property: m } = a(e, [
|
|
1225
1226
|
"settings",
|
|
1226
1227
|
"readonly"
|
|
1227
|
-
]), { property: u } = a(e, ["settings", "size"]), { property: d } = a(e, ["settings", "stacked"]), { theme: p } =
|
|
1228
|
-
return (
|
|
1229
|
-
const
|
|
1230
|
-
return
|
|
1228
|
+
]), { property: u } = a(e, ["settings", "size"]), { property: d } = a(e, ["settings", "stacked"]), { theme: p } = G(), { property: f } = a(e, ["settings", "tile"]), { property: b } = a(e, ["settings", "variant"]);
|
|
1229
|
+
return (_, k) => {
|
|
1230
|
+
const g = B("v-btn-toggle");
|
|
1231
|
+
return w(), C(g, {
|
|
1231
1232
|
block: r(o),
|
|
1232
1233
|
disabled: r(s),
|
|
1233
1234
|
divided: r(i),
|
|
@@ -1238,10 +1239,10 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1238
1239
|
stacked: r(d),
|
|
1239
1240
|
theme: r(p),
|
|
1240
1241
|
tile: r(f),
|
|
1241
|
-
variant: r(
|
|
1242
|
+
variant: r(b)
|
|
1242
1243
|
}, {
|
|
1243
1244
|
default: V(() => [
|
|
1244
|
-
|
|
1245
|
+
O(_.$slots, "default")
|
|
1245
1246
|
]),
|
|
1246
1247
|
_: 3
|
|
1247
1248
|
}, 8, ["block", "disabled", "divided", "mandatory", "multiple", "readonly", "size", "stacked", "theme", "tile", "variant"]);
|
|
@@ -1261,10 +1262,10 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1261
1262
|
]), { property: i } = a(e, ["size", "height"]), { property: l } = a(e, ["settings", "hover"]), { property: c } = a(e, ["settings", "loading"]), { property: m } = a(e, ["size", "maxHeight"]), { property: u } = a(e, ["size", "maxWidth"]), { property: d } = a(e, ["size", "minHeight"]), { property: p } = a(e, ["size", "minWidth"]), { property: f } = a(e, [
|
|
1262
1263
|
"settings",
|
|
1263
1264
|
"subtitle"
|
|
1264
|
-
]), { property:
|
|
1265
|
-
return (h,
|
|
1265
|
+
]), { property: b } = a(e, ["settings", "text"]), { theme: _ } = G(), { property: k } = a(e, ["settings", "title"]), { property: g } = a(e, ["settings", "variant"]), { property: x } = a(e, ["size", "width"]);
|
|
1266
|
+
return (h, v) => {
|
|
1266
1267
|
const z = B("v-card");
|
|
1267
|
-
return
|
|
1268
|
+
return w(), C(r(H), { block: "" }, {
|
|
1268
1269
|
default: V(() => [
|
|
1269
1270
|
D(z, {
|
|
1270
1271
|
density: r(o),
|
|
@@ -1277,14 +1278,14 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1277
1278
|
"min-height": r(d),
|
|
1278
1279
|
"min-width": r(p),
|
|
1279
1280
|
subtitle: r(f),
|
|
1280
|
-
text: r(
|
|
1281
|
-
theme: r(
|
|
1282
|
-
title: r(
|
|
1283
|
-
variant: r(
|
|
1281
|
+
text: r(b),
|
|
1282
|
+
theme: r(_),
|
|
1283
|
+
title: r(k),
|
|
1284
|
+
variant: r(g),
|
|
1284
1285
|
width: r(x)
|
|
1285
1286
|
}, {
|
|
1286
1287
|
default: V(() => [
|
|
1287
|
-
|
|
1288
|
+
O(h.$slots, "default")
|
|
1288
1289
|
]),
|
|
1289
1290
|
_: 3
|
|
1290
1291
|
}, 8, ["density", "disabled", "height", "hover", "loading", "max-height", "max-width", "min-height", "min-width", "subtitle", "text", "theme", "title", "variant", "width"])
|
|
@@ -1310,7 +1311,7 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1310
1311
|
]);
|
|
1311
1312
|
return (i, l) => {
|
|
1312
1313
|
const c = B("v-checkbox");
|
|
1313
|
-
return
|
|
1314
|
+
return w(), C(r(H), { mask: "" }, {
|
|
1314
1315
|
default: V(() => [
|
|
1315
1316
|
D(c, {
|
|
1316
1317
|
disabled: r(o),
|
|
@@ -1338,12 +1339,12 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1338
1339
|
]), { property: m } = a(e, [
|
|
1339
1340
|
"settings",
|
|
1340
1341
|
"draggable"
|
|
1341
|
-
]), { property: u } = a(e, ["settings", "filter"]), { property: d } = a(e, ["settings", "label"]), { property: p } = a(e, ["settings", "size"]), { property: f } = a(e, ["settings", "text"]), { theme:
|
|
1342
|
+
]), { property: u } = a(e, ["settings", "filter"]), { property: d } = a(e, ["settings", "label"]), { property: p } = a(e, ["settings", "size"]), { property: f } = a(e, ["settings", "text"]), { theme: b } = G(), { property: _ } = a(e, ["settings", "tile"]), { property: k } = a(e, ["settings", "value"]), { property: g } = a(e, ["settings", "variant"]);
|
|
1342
1343
|
return (x, h) => {
|
|
1343
|
-
const
|
|
1344
|
-
return
|
|
1344
|
+
const v = B("v-chip");
|
|
1345
|
+
return w(), C(r(H), { mask: "" }, {
|
|
1345
1346
|
default: V(() => [
|
|
1346
|
-
D(
|
|
1347
|
+
D(v, {
|
|
1347
1348
|
closable: r(o),
|
|
1348
1349
|
color: r(i),
|
|
1349
1350
|
density: r(l),
|
|
@@ -1353,10 +1354,10 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1353
1354
|
label: r(d),
|
|
1354
1355
|
size: r(p),
|
|
1355
1356
|
text: r(f),
|
|
1356
|
-
theme: r(
|
|
1357
|
-
tile: r(
|
|
1358
|
-
value: r(
|
|
1359
|
-
variant: r(
|
|
1357
|
+
theme: r(b),
|
|
1358
|
+
tile: r(_),
|
|
1359
|
+
value: r(k),
|
|
1360
|
+
variant: r(g)
|
|
1360
1361
|
}, null, 8, ["closable", "color", "density", "disabled", "draggable", "filter", "label", "size", "text", "theme", "tile", "value", "variant"])
|
|
1361
1362
|
]),
|
|
1362
1363
|
_: 1
|
|
@@ -1386,12 +1387,12 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1386
1387
|
]), { property: u } = a(e, [
|
|
1387
1388
|
"settings",
|
|
1388
1389
|
"showArrows"
|
|
1389
|
-
]), { theme: d } =
|
|
1390
|
-
return (f,
|
|
1391
|
-
const
|
|
1392
|
-
return
|
|
1390
|
+
]), { theme: d } = G(), { property: p } = a(e, ["settings", "value"]);
|
|
1391
|
+
return (f, b) => {
|
|
1392
|
+
const _ = B("v-chip-group");
|
|
1393
|
+
return w(), C(_, {
|
|
1393
1394
|
modelValue: r(p),
|
|
1394
|
-
"onUpdate:modelValue":
|
|
1395
|
+
"onUpdate:modelValue": b[0] || (b[0] = (k) => ne(p) ? p.value = k : null),
|
|
1395
1396
|
column: r(o),
|
|
1396
1397
|
direction: r(s),
|
|
1397
1398
|
disabled: r(i),
|
|
@@ -1402,7 +1403,7 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1402
1403
|
theme: r(d)
|
|
1403
1404
|
}, {
|
|
1404
1405
|
default: V(() => [
|
|
1405
|
-
|
|
1406
|
+
O(f.$slots, "default")
|
|
1406
1407
|
]),
|
|
1407
1408
|
_: 3
|
|
1408
1409
|
}, 8, ["modelValue", "column", "direction", "disabled", "filter", "mandatory", "multiple", "show-arrows", "theme"]);
|
|
@@ -1416,9 +1417,9 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1416
1417
|
refContext: {}
|
|
1417
1418
|
},
|
|
1418
1419
|
setup(t) {
|
|
1419
|
-
const n = t, { node: e } = P(n), o =
|
|
1420
|
-
const
|
|
1421
|
-
return o === "page" ?
|
|
1420
|
+
const n = t, { node: e } = P(n), o = Ce(), s = re(), { applySize: i } = be(n, e), l = I(() => {
|
|
1421
|
+
const k = {}, g = s.value?.type;
|
|
1422
|
+
return o === "page" ? g === "common" ? i(k) : console.assert(!1) : o === "comp" && g === "common" ? i(k) : console.assert(!1), k;
|
|
1422
1423
|
}), { property: c } = a(e, [
|
|
1423
1424
|
"settings",
|
|
1424
1425
|
"disabled"
|
|
@@ -1437,13 +1438,13 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1437
1438
|
]), { property: f } = a(e, [
|
|
1438
1439
|
"settings",
|
|
1439
1440
|
"landscape"
|
|
1440
|
-
]), { property:
|
|
1441
|
+
]), { property: b } = a(e, [
|
|
1441
1442
|
"settings",
|
|
1442
1443
|
"showSwatches"
|
|
1443
|
-
]), { theme:
|
|
1444
|
-
return (
|
|
1444
|
+
]), { theme: _ } = G();
|
|
1445
|
+
return (k, g) => {
|
|
1445
1446
|
const x = B("v-color-picker");
|
|
1446
|
-
return
|
|
1447
|
+
return w(), C(r(H), { mask: "" }, {
|
|
1447
1448
|
default: V(() => [
|
|
1448
1449
|
D(x, {
|
|
1449
1450
|
disabled: r(c),
|
|
@@ -1452,9 +1453,9 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1452
1453
|
"hide-inputs": r(d),
|
|
1453
1454
|
"hide-sliders": r(p),
|
|
1454
1455
|
landscape: r(f),
|
|
1455
|
-
"show-swatches": r(
|
|
1456
|
+
"show-swatches": r(b),
|
|
1456
1457
|
style: de(l.value),
|
|
1457
|
-
theme: r(
|
|
1458
|
+
theme: r(_)
|
|
1458
1459
|
}, null, 8, ["disabled", "hide-canvas", "hide-header", "hide-inputs", "hide-sliders", "landscape", "show-swatches", "style", "theme"])
|
|
1459
1460
|
]),
|
|
1460
1461
|
_: 1
|
|
@@ -1481,14 +1482,14 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1481
1482
|
]), { property: c } = a(e, [
|
|
1482
1483
|
"settings",
|
|
1483
1484
|
"singleLine"
|
|
1484
|
-
]), { theme: m } =
|
|
1485
|
+
]), { theme: m } = G(), { property: u } = a(e, ["settings", "value"]);
|
|
1485
1486
|
return (d, p) => {
|
|
1486
1487
|
const f = B("v-combobox");
|
|
1487
|
-
return
|
|
1488
|
+
return w(), C(r(H), { mask: "" }, {
|
|
1488
1489
|
default: V(() => [
|
|
1489
1490
|
D(f, {
|
|
1490
1491
|
modelValue: r(u),
|
|
1491
|
-
"onUpdate:modelValue": p[0] || (p[0] = (
|
|
1492
|
+
"onUpdate:modelValue": p[0] || (p[0] = (b) => ne(u) ? u.value = b : null),
|
|
1492
1493
|
"hide-details": r(o),
|
|
1493
1494
|
label: r(s),
|
|
1494
1495
|
placeholder: r(i),
|
|
@@ -1509,19 +1510,19 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1509
1510
|
refContext: {}
|
|
1510
1511
|
},
|
|
1511
1512
|
setup(t) {
|
|
1512
|
-
const n = t, { node: e } = P(n), o =
|
|
1513
|
+
const n = t, { node: e } = P(n), o = Ce(), s = re(), { property: i } = a(e, [
|
|
1513
1514
|
"settings",
|
|
1514
1515
|
"backgroundColor"
|
|
1515
1516
|
]), { color: l } = Q(i), { applySize: c } = be(n, e), { applyMargin: m } = mn(e), { applyPadding: u } = pn(e), { applyBorder: d } = un(e), p = I(() => {
|
|
1516
|
-
const f = {},
|
|
1517
|
-
return o === "page" ?
|
|
1517
|
+
const f = {}, b = s.value?.type;
|
|
1518
|
+
return o === "page" ? b === "common" ? (c(f), m(f), u(f), d(f), l.value && (f.backgroundColor = l.value)) : console.assert(!1) : o === "comp" && b === "common" ? (c(f), m(f), u(f), d(f), l.value && (f.backgroundColor = l.value)) : console.assert(!1), f;
|
|
1518
1519
|
});
|
|
1519
|
-
return (f,
|
|
1520
|
+
return (f, b) => (w(), C(r(H), { block: "" }, {
|
|
1520
1521
|
default: V(() => [
|
|
1521
1522
|
Re("div", {
|
|
1522
1523
|
style: de(p.value)
|
|
1523
1524
|
}, [
|
|
1524
|
-
|
|
1525
|
+
O(f.$slots, "default")
|
|
1525
1526
|
], 4)
|
|
1526
1527
|
]),
|
|
1527
1528
|
_: 3
|
|
@@ -1536,11 +1537,11 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1536
1537
|
},
|
|
1537
1538
|
setup(t) {
|
|
1538
1539
|
const n = t, e = Z(), o = Qe(), s = ie();
|
|
1539
|
-
|
|
1540
|
+
ze(s);
|
|
1540
1541
|
const i = I(() => n.refContext.compId);
|
|
1541
1542
|
et(i, s), le(e) && tt(s, "slot", "", "", _e());
|
|
1542
1543
|
function l(m) {
|
|
1543
|
-
const u =
|
|
1544
|
+
const u = $e[m.key];
|
|
1544
1545
|
if (!u) {
|
|
1545
1546
|
console.assert(!1, `element not found key=${m.key}`);
|
|
1546
1547
|
return;
|
|
@@ -1578,7 +1579,7 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1578
1579
|
{ default: () => s.value.view.nodeLites.map((d) => l(d)) }
|
|
1579
1580
|
);
|
|
1580
1581
|
};
|
|
1581
|
-
return (m, u) => (
|
|
1582
|
+
return (m, u) => (w(), C(c));
|
|
1582
1583
|
}
|
|
1583
1584
|
}), Br = /* @__PURE__ */ $({
|
|
1584
1585
|
__name: "index",
|
|
@@ -1597,10 +1598,10 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1597
1598
|
]), { property: l } = a(e, ["settings", "headers"]), { property: c } = a(e, ["size", "height"]), { property: m } = a(e, ["settings", "hover"]), { property: u } = a(e, ["settings", "data"], !0), { property: d } = a(e, ["settings", "loading"]), { property: p } = a(e, [
|
|
1598
1599
|
"settings",
|
|
1599
1600
|
"multiSort"
|
|
1600
|
-
]), { theme: f } =
|
|
1601
|
-
return (
|
|
1601
|
+
]), { theme: f } = G(), { property: b } = a(e, ["size", "width"]), { property: _ } = a(e, ["slots", "columns"]);
|
|
1602
|
+
return (k, g) => {
|
|
1602
1603
|
const x = B("v-data-table");
|
|
1603
|
-
return
|
|
1604
|
+
return w(), C(r(H), {
|
|
1604
1605
|
block: "",
|
|
1605
1606
|
mask: ""
|
|
1606
1607
|
}, {
|
|
@@ -1616,16 +1617,16 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1616
1617
|
loading: r(d),
|
|
1617
1618
|
"multi-sort": r(p),
|
|
1618
1619
|
theme: r(f),
|
|
1619
|
-
width: r(
|
|
1620
|
+
width: r(b)
|
|
1620
1621
|
}, sn({ _: 2 }, [
|
|
1621
|
-
oi(r(
|
|
1622
|
+
oi(r(_), ({ key: h, comp: v }) => ({
|
|
1622
1623
|
name: `item.${h}`,
|
|
1623
1624
|
fn: V(({ value: z }) => [
|
|
1624
1625
|
D(Wr, {
|
|
1625
1626
|
"node-id": n.nodeId,
|
|
1626
1627
|
"ref-context": {
|
|
1627
1628
|
parent: n.refContext,
|
|
1628
|
-
compId:
|
|
1629
|
+
compId: v
|
|
1629
1630
|
},
|
|
1630
1631
|
value: z
|
|
1631
1632
|
}, null, 8, ["node-id", "ref-context", "value"])
|
|
@@ -1642,7 +1643,7 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1642
1643
|
setup(t) {
|
|
1643
1644
|
return (n, e) => {
|
|
1644
1645
|
const o = B("v-date-picker");
|
|
1645
|
-
return
|
|
1646
|
+
return w(), C(r(H), { mask: "" }, {
|
|
1646
1647
|
default: V(() => [
|
|
1647
1648
|
D(o)
|
|
1648
1649
|
]),
|
|
@@ -1665,25 +1666,25 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1665
1666
|
o.value = !1;
|
|
1666
1667
|
}), (s, i) => {
|
|
1667
1668
|
const l = B("v-dialog");
|
|
1668
|
-
return
|
|
1669
|
+
return w(), C(l, {
|
|
1669
1670
|
modelValue: r(o),
|
|
1670
1671
|
"onUpdate:modelValue": i[0] || (i[0] = (c) => ne(o) ? o.value = c : null),
|
|
1671
1672
|
attach: "#dialogContainer"
|
|
1672
1673
|
}, {
|
|
1673
1674
|
activator: V(() => [
|
|
1674
|
-
r(e) === "editor" ? (
|
|
1675
|
+
r(e) === "editor" ? (w(), te("div", {
|
|
1675
1676
|
key: 0,
|
|
1676
1677
|
id: `__node__@${n.nodeId}`
|
|
1677
1678
|
}, null, 8, Kr)) : se("", !0)
|
|
1678
1679
|
]),
|
|
1679
1680
|
default: V(() => [
|
|
1680
|
-
|
|
1681
|
+
O(s.$slots, "default")
|
|
1681
1682
|
]),
|
|
1682
1683
|
_: 3
|
|
1683
1684
|
}, 8, ["modelValue"]);
|
|
1684
1685
|
};
|
|
1685
1686
|
}
|
|
1686
|
-
}),
|
|
1687
|
+
}), Fr = /* @__PURE__ */ $({
|
|
1687
1688
|
__name: "index",
|
|
1688
1689
|
props: {
|
|
1689
1690
|
nodeId: {},
|
|
@@ -1707,14 +1708,14 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1707
1708
|
"settings",
|
|
1708
1709
|
"singleLine"
|
|
1709
1710
|
]);
|
|
1710
|
-
return (
|
|
1711
|
-
const
|
|
1712
|
-
return
|
|
1711
|
+
return (b, _) => {
|
|
1712
|
+
const k = B("v-file-input");
|
|
1713
|
+
return w(), C(r(H), {
|
|
1713
1714
|
block: "",
|
|
1714
1715
|
mask: ""
|
|
1715
1716
|
}, {
|
|
1716
1717
|
default: V(() => [
|
|
1717
|
-
D(
|
|
1718
|
+
D(k, {
|
|
1718
1719
|
chips: r(o),
|
|
1719
1720
|
density: r(s),
|
|
1720
1721
|
direction: r(i),
|
|
@@ -1731,7 +1732,7 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1731
1732
|
});
|
|
1732
1733
|
};
|
|
1733
1734
|
}
|
|
1734
|
-
}),
|
|
1735
|
+
}), Or = /* @__PURE__ */ $({
|
|
1735
1736
|
__name: "index",
|
|
1736
1737
|
props: {
|
|
1737
1738
|
nodeId: {},
|
|
@@ -1739,27 +1740,27 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1739
1740
|
refContext: {}
|
|
1740
1741
|
},
|
|
1741
1742
|
setup(t) {
|
|
1742
|
-
const n = t, { node: e } = P(n), o =
|
|
1743
|
+
const n = t, { node: e } = P(n), o = Oe(), s = Ce(), i = re(), { applySize: l } = be(n, e), { applyMargin: c } = mn(e), { applyPadding: m } = pn(e), { applyBorder: u } = un(e), { property: d } = a(e, [
|
|
1743
1744
|
"settings",
|
|
1744
1745
|
"backgroundColor"
|
|
1745
|
-
]), { color: p } = Q(d), f = (
|
|
1746
|
-
p.value && (
|
|
1747
|
-
const
|
|
1748
|
-
|
|
1749
|
-
const x = Ne(
|
|
1750
|
-
x === "no" ?
|
|
1751
|
-
const h = Ne(
|
|
1752
|
-
h === "start" ?
|
|
1753
|
-
const
|
|
1754
|
-
|
|
1755
|
-
},
|
|
1756
|
-
const
|
|
1757
|
-
return s === "page" ?
|
|
1746
|
+
]), { color: p } = Q(d), f = (_) => {
|
|
1747
|
+
p.value && (_.backgroundColor = p.value), _.display = "flex";
|
|
1748
|
+
const k = ut(o.value.width), g = Ne(k, e.value.settings?.direction);
|
|
1749
|
+
g === "row" ? _.flexDirection = "row" : g === "rowReverse" ? _.flexDirection = "row-reverse" : g === "column" ? _.flexDirection = "column" : g === "columnReverse" && (_.flexDirection = "column-reverse");
|
|
1750
|
+
const x = Ne(k, e.value.settings?.wrap);
|
|
1751
|
+
x === "no" ? _.flexWrap = "nowrap" : x === "yes" ? _.flexWrap = "wrap" : x === "reverse" && (_.flexWrap = "wrap-reverse");
|
|
1752
|
+
const h = Ne(k, e.value.settings?.mainAlign);
|
|
1753
|
+
h === "start" ? _.justifyContent = "flex-start" : h === "end" ? _.justifyContent = "flex-end" : h === "center" ? _.justifyContent = "center" : h === "spaceBetween" ? _.justifyContent = "space-between" : h === "spaceAround" ? _.justifyContent = "space-around" : h === "spaceEvenly" && (_.justifyContent = "space-evenly");
|
|
1754
|
+
const v = Ne(k, e.value.settings?.crossAlign);
|
|
1755
|
+
v === "start" ? _.alignItems = "flex-start" : v === "end" ? _.alignItems = "flex-end" : v === "center" ? _.alignItems = "center" : v === "baseline" ? _.alignItems = "baseline" : v === "stretch" && (_.alignItems = "stretch");
|
|
1756
|
+
}, b = I(() => {
|
|
1757
|
+
const _ = {}, k = i.value?.type;
|
|
1758
|
+
return s === "page" ? k === "common" ? (l(_), c(_), m(_), u(_), f(_)) : console.assert(!1) : s === "comp" && k === "common" ? (l(_), c(_), m(_), u(_), f(_)) : console.assert(!1), _;
|
|
1758
1759
|
});
|
|
1759
|
-
return (
|
|
1760
|
-
style: de(
|
|
1760
|
+
return (_, k) => (w(), te("div", {
|
|
1761
|
+
style: de(b.value)
|
|
1761
1762
|
}, [
|
|
1762
|
-
|
|
1763
|
+
O(_.$slots, "default")
|
|
1763
1764
|
], 4));
|
|
1764
1765
|
}
|
|
1765
1766
|
}), Nr = /* @__PURE__ */ $({
|
|
@@ -1770,14 +1771,14 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1770
1771
|
refContext: {}
|
|
1771
1772
|
},
|
|
1772
1773
|
setup(t) {
|
|
1773
|
-
const n = t, { node: e } = P(n), o =
|
|
1774
|
+
const n = t, { node: e } = P(n), o = Ce(), s = re(), { applySize: i } = be(n, e), { property: l } = a(e, ["settings", "grow"]), { property: c } = a(e, ["settings", "shrink"]), m = I(() => {
|
|
1774
1775
|
const u = {}, d = s.value?.type;
|
|
1775
1776
|
return o === "page" ? d === "common" ? (i(u), u.flexGrow = l.value ? 1 : 0, u.flexShrink = c.value ? 1 : 0) : console.assert(!1) : o === "comp" && d === "common" ? (i(u), u.flexGrow = l.value ? 1 : 0, u.flexShrink = c.value ? 1 : 0) : console.assert(!1), u;
|
|
1776
1777
|
});
|
|
1777
|
-
return (u, d) => (
|
|
1778
|
+
return (u, d) => (w(), te("div", {
|
|
1778
1779
|
style: de(m.value)
|
|
1779
1780
|
}, [
|
|
1780
|
-
|
|
1781
|
+
O(u.$slots, "default")
|
|
1781
1782
|
], 4));
|
|
1782
1783
|
}
|
|
1783
1784
|
}), jr = /* @__PURE__ */ $({
|
|
@@ -1788,38 +1789,39 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1788
1789
|
refContext: {}
|
|
1789
1790
|
},
|
|
1790
1791
|
setup(t) {
|
|
1791
|
-
const n = t, { node: e } = P(n), o =
|
|
1792
|
+
const n = t, { node: e } = P(n), o = Ce(), s = re(), i = _e(), { property: l } = a(e, ["settings", "valid"]), { property: c } = a(e, [
|
|
1792
1793
|
"settings",
|
|
1793
1794
|
"fastFail"
|
|
1794
1795
|
]), { property: m } = a(e, [
|
|
1795
1796
|
"settings",
|
|
1796
1797
|
"backgroundColor"
|
|
1797
|
-
]), { color: u } = Q(m), { applySize: d } = be(n, e), { applyMargin: p } = mn(e), { applyPadding: f } = pn(e), { applyBorder:
|
|
1798
|
-
const
|
|
1799
|
-
return o === "page" ? x === "common" ? (d(
|
|
1800
|
-
}),
|
|
1801
|
-
|
|
1798
|
+
]), { color: u } = Q(m), { applySize: d } = be(n, e), { applyMargin: p } = mn(e), { applyPadding: f } = pn(e), { applyBorder: b } = un(e), _ = I(() => {
|
|
1799
|
+
const g = {}, x = s.value?.type;
|
|
1800
|
+
return o === "page" ? x === "common" ? (d(g), p(g), f(g), b(g), u.value && (g.backgroundColor = u.value)) : console.assert(!1) : o === "comp" && x === "common" ? (d(g), p(g), f(g), b(g), u.value && (g.backgroundColor = u.value)) : console.assert(!1), g;
|
|
1801
|
+
}), k = async () => {
|
|
1802
|
+
await i?.callFunctionAsync(
|
|
1802
1803
|
"__triggerEventV1__",
|
|
1803
|
-
ae("elementEvent", n.nodeId, "submit")
|
|
1804
|
+
ae("elementEvent", n.nodeId, "submit"),
|
|
1805
|
+
""
|
|
1804
1806
|
);
|
|
1805
1807
|
};
|
|
1806
|
-
return (
|
|
1808
|
+
return (g, x) => {
|
|
1807
1809
|
const h = B("v-form");
|
|
1808
|
-
return
|
|
1810
|
+
return w(), C(h, {
|
|
1809
1811
|
modelValue: r(l),
|
|
1810
|
-
"onUpdate:modelValue": x[0] || (x[0] = (
|
|
1812
|
+
"onUpdate:modelValue": x[0] || (x[0] = (v) => ne(l) ? l.value = v : null),
|
|
1811
1813
|
"fast-fail": r(c),
|
|
1812
|
-
style: de(
|
|
1813
|
-
onSubmit: ii(
|
|
1814
|
+
style: de(_.value),
|
|
1815
|
+
onSubmit: ii(k, ["prevent"])
|
|
1814
1816
|
}, {
|
|
1815
1817
|
default: V(() => [
|
|
1816
|
-
|
|
1818
|
+
O(g.$slots, "default")
|
|
1817
1819
|
]),
|
|
1818
1820
|
_: 3
|
|
1819
1821
|
}, 8, ["modelValue", "fast-fail", "style"]);
|
|
1820
1822
|
};
|
|
1821
1823
|
}
|
|
1822
|
-
}),
|
|
1824
|
+
}), Hr = /* @__PURE__ */ $({
|
|
1823
1825
|
__name: "index",
|
|
1824
1826
|
props: {
|
|
1825
1827
|
nodeId: {},
|
|
@@ -1830,10 +1832,10 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1830
1832
|
const n = t, { node: e } = P(n), { property: o } = a(e, ["settings", "color"]), { color: s } = Q(o), { property: i } = a(e, [
|
|
1831
1833
|
"settings",
|
|
1832
1834
|
"disabled"
|
|
1833
|
-
]), { property: l } = a(e, ["settings", "icon"]), { property: c } = a(e, ["settings", "size"]), { theme: m } =
|
|
1835
|
+
]), { property: l } = a(e, ["settings", "icon"]), { property: c } = a(e, ["settings", "size"]), { theme: m } = G();
|
|
1834
1836
|
return (u, d) => {
|
|
1835
1837
|
const p = B("v-icon");
|
|
1836
|
-
return
|
|
1838
|
+
return w(), C(p, {
|
|
1837
1839
|
color: r(s),
|
|
1838
1840
|
disabled: r(i),
|
|
1839
1841
|
icon: r(l),
|
|
@@ -1842,7 +1844,7 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1842
1844
|
}, null, 8, ["color", "disabled", "icon", "size", "theme"]);
|
|
1843
1845
|
};
|
|
1844
1846
|
}
|
|
1845
|
-
}),
|
|
1847
|
+
}), Gr = ["id"], Jr = /* @__PURE__ */ $({
|
|
1846
1848
|
__name: "index",
|
|
1847
1849
|
props: {
|
|
1848
1850
|
nodeId: {},
|
|
@@ -1860,7 +1862,7 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1860
1862
|
o && (c.value = !1);
|
|
1861
1863
|
}), (m, u) => {
|
|
1862
1864
|
const d = B("v-menu");
|
|
1863
|
-
return
|
|
1865
|
+
return w(), C(d, {
|
|
1864
1866
|
modelValue: r(c),
|
|
1865
1867
|
"onUpdate:modelValue": u[0] || (u[0] = (p) => ne(c) ? c.value = p : null),
|
|
1866
1868
|
attach: "menuContainer",
|
|
@@ -1869,13 +1871,13 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1869
1871
|
target: l.value
|
|
1870
1872
|
}, {
|
|
1871
1873
|
activator: V(() => [
|
|
1872
|
-
r(e) === "editor" ? (
|
|
1874
|
+
r(e) === "editor" ? (w(), te("div", {
|
|
1873
1875
|
key: 0,
|
|
1874
1876
|
id: `__node__@${n.nodeId}`
|
|
1875
|
-
}, null, 8,
|
|
1877
|
+
}, null, 8, Gr)) : se("", !0)
|
|
1876
1878
|
]),
|
|
1877
1879
|
default: V(() => [
|
|
1878
|
-
|
|
1880
|
+
O(m.$slots, "default")
|
|
1879
1881
|
]),
|
|
1880
1882
|
_: 3
|
|
1881
1883
|
}, 8, ["modelValue", "target"]);
|
|
@@ -1903,13 +1905,13 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1903
1905
|
]), { property: l } = a(e, [
|
|
1904
1906
|
"settings",
|
|
1905
1907
|
"hideDetails"
|
|
1906
|
-
]), { property: c } = a(e, ["settings", "label"]), { property: m } = a(e, ["settings", "loading"]), { property: u } = a(e, ["settings", "max"]), { property: d } = a(e, ["size", "maxWidth"]), { property: p } = a(e, ["settings", "min"]), { property: f } = a(e, ["size", "minWidth"]), { property:
|
|
1908
|
+
]), { property: c } = a(e, ["settings", "label"]), { property: m } = a(e, ["settings", "loading"]), { property: u } = a(e, ["settings", "max"]), { property: d } = a(e, ["size", "maxWidth"]), { property: p } = a(e, ["settings", "min"]), { property: f } = a(e, ["size", "minWidth"]), { property: b } = a(e, [
|
|
1907
1909
|
"settings",
|
|
1908
1910
|
"placeholder"
|
|
1909
|
-
]), { property:
|
|
1911
|
+
]), { property: _ } = a(e, [
|
|
1910
1912
|
"settings",
|
|
1911
1913
|
"precision"
|
|
1912
|
-
]), { property:
|
|
1914
|
+
]), { property: k } = a(e, ["settings", "prefix"]), { property: g } = a(e, [
|
|
1913
1915
|
"settings",
|
|
1914
1916
|
"addIcon",
|
|
1915
1917
|
"prepend"
|
|
@@ -1920,18 +1922,18 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1920
1922
|
]), { property: h } = a(e, [
|
|
1921
1923
|
"settings",
|
|
1922
1924
|
"readonly"
|
|
1923
|
-
]), { property:
|
|
1925
|
+
]), { property: v } = a(e, ["settings", "reverse"]), { property: z } = a(e, [
|
|
1924
1926
|
"settings",
|
|
1925
1927
|
"singleLine"
|
|
1926
|
-
]), { property: T } = a(e, ["settings", "step"]), { property: J } = a(e, ["settings", "suffix"]), { theme: Y } =
|
|
1928
|
+
]), { property: T } = a(e, ["settings", "step"]), { property: J } = a(e, ["settings", "suffix"]), { theme: Y } = G(), { property: j } = a(e, ["settings", "value"]), { property: L } = a(e, ["settings", "variant"]), { property: U } = a(e, ["size", "width"]);
|
|
1927
1929
|
return (oe, ge) => {
|
|
1928
|
-
const
|
|
1929
|
-
return
|
|
1930
|
+
const Te = B("v-number-input");
|
|
1931
|
+
return w(), C(r(H), {
|
|
1930
1932
|
block: "",
|
|
1931
1933
|
mask: ""
|
|
1932
1934
|
}, {
|
|
1933
1935
|
default: V(() => [
|
|
1934
|
-
D(
|
|
1936
|
+
D(Te, {
|
|
1935
1937
|
modelValue: r(j),
|
|
1936
1938
|
"onUpdate:modelValue": ge[0] || (ge[0] = (xe) => ne(j) ? j.value = xe : null),
|
|
1937
1939
|
"append-icon": r(o),
|
|
@@ -1944,13 +1946,13 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1944
1946
|
"max-width": r(d),
|
|
1945
1947
|
min: r(p),
|
|
1946
1948
|
"min-width": r(f),
|
|
1947
|
-
placeholder: r(
|
|
1948
|
-
precision: r(
|
|
1949
|
-
prefix: r(
|
|
1950
|
-
"prepend-icon": r(
|
|
1949
|
+
placeholder: r(b),
|
|
1950
|
+
precision: r(_),
|
|
1951
|
+
prefix: r(k),
|
|
1952
|
+
"prepend-icon": r(g),
|
|
1951
1953
|
"prepend-inner-icon": r(x),
|
|
1952
1954
|
readonly: r(h),
|
|
1953
|
-
reverse: r(
|
|
1955
|
+
reverse: r(v),
|
|
1954
1956
|
"single-line": r(z),
|
|
1955
1957
|
step: r(T),
|
|
1956
1958
|
suffix: r(J),
|
|
@@ -1977,30 +1979,30 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1977
1979
|
]), { property: l } = a(e, ["settings", "length"]), { property: c } = a(e, [
|
|
1978
1980
|
"settings",
|
|
1979
1981
|
"showFirstLastPage"
|
|
1980
|
-
]), { property: m } = a(e, ["settings", "size"]), { property: u } = a(e, ["settings", "start"]), { theme: d } =
|
|
1981
|
-
const
|
|
1982
|
-
return o === "editor" && (
|
|
1982
|
+
]), { property: m } = a(e, ["settings", "size"]), { property: u } = a(e, ["settings", "start"]), { theme: d } = G(), { property: p } = a(e, ["settings", "tile"]), { property: f } = a(e, ["settings", "value"]), { property: b } = a(e, ["settings", "variant"]), _ = I(() => {
|
|
1983
|
+
const k = {};
|
|
1984
|
+
return o === "editor" && (k.pointerEvents = "none"), k;
|
|
1983
1985
|
});
|
|
1984
|
-
return (
|
|
1986
|
+
return (k, g) => {
|
|
1985
1987
|
const x = B("v-pagination");
|
|
1986
|
-
return
|
|
1988
|
+
return w(), C(r(H), {
|
|
1987
1989
|
block: "",
|
|
1988
1990
|
mask: ""
|
|
1989
1991
|
}, {
|
|
1990
1992
|
default: V(() => [
|
|
1991
1993
|
D(x, {
|
|
1992
1994
|
modelValue: r(f),
|
|
1993
|
-
"onUpdate:modelValue":
|
|
1995
|
+
"onUpdate:modelValue": g[0] || (g[0] = (h) => ne(f) ? f.value = h : null),
|
|
1994
1996
|
density: r(s),
|
|
1995
1997
|
disabled: r(i),
|
|
1996
1998
|
length: r(l),
|
|
1997
1999
|
"show-first-last-page": r(c),
|
|
1998
2000
|
size: r(m),
|
|
1999
2001
|
start: r(u),
|
|
2000
|
-
style: de(
|
|
2002
|
+
style: de(_.value),
|
|
2001
2003
|
theme: r(d),
|
|
2002
2004
|
tile: r(p),
|
|
2003
|
-
variant: r(
|
|
2005
|
+
variant: r(b)
|
|
2004
2006
|
}, null, 8, ["modelValue", "density", "disabled", "length", "show-first-last-page", "size", "start", "style", "theme", "tile", "variant"])
|
|
2005
2007
|
]),
|
|
2006
2008
|
_: 1
|
|
@@ -2021,10 +2023,10 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
2021
2023
|
]), { property: c } = a(e, ["settings", "label"]), { property: m } = a(e, [
|
|
2022
2024
|
"settings",
|
|
2023
2025
|
"readonly"
|
|
2024
|
-
]), { theme: u } =
|
|
2026
|
+
]), { theme: u } = G(), { property: d } = a(e, ["settings", "value"]);
|
|
2025
2027
|
return (p, f) => {
|
|
2026
|
-
const
|
|
2027
|
-
return
|
|
2028
|
+
const b = B("v-radio");
|
|
2029
|
+
return w(), C(b, {
|
|
2028
2030
|
color: r(s),
|
|
2029
2031
|
density: r(i),
|
|
2030
2032
|
disabled: r(l),
|
|
@@ -2052,14 +2054,14 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
2052
2054
|
]), { property: l } = a(e, ["settings", "inline"]), { property: c } = a(e, [
|
|
2053
2055
|
"settings",
|
|
2054
2056
|
"readonly"
|
|
2055
|
-
]), { theme: m } =
|
|
2057
|
+
]), { theme: m } = G(), { property: u } = a(e, ["settings", "value"]);
|
|
2056
2058
|
return (d, p) => {
|
|
2057
2059
|
const f = B("v-radio-group");
|
|
2058
|
-
return
|
|
2060
|
+
return w(), C(r(H), null, {
|
|
2059
2061
|
default: V(() => [
|
|
2060
2062
|
D(f, {
|
|
2061
2063
|
modelValue: r(u),
|
|
2062
|
-
"onUpdate:modelValue": p[0] || (p[0] = (
|
|
2064
|
+
"onUpdate:modelValue": p[0] || (p[0] = (b) => ne(u) ? u.value = b : null),
|
|
2063
2065
|
density: r(o),
|
|
2064
2066
|
direction: r(s),
|
|
2065
2067
|
disabled: r(i),
|
|
@@ -2068,7 +2070,7 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
2068
2070
|
theme: r(m)
|
|
2069
2071
|
}, {
|
|
2070
2072
|
default: V(() => [
|
|
2071
|
-
|
|
2073
|
+
O(d.$slots, "default")
|
|
2072
2074
|
]),
|
|
2073
2075
|
_: 3
|
|
2074
2076
|
}, 8, ["modelValue", "density", "direction", "disabled", "inline", "readonly", "theme"])
|
|
@@ -2105,18 +2107,18 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
2105
2107
|
return "always";
|
|
2106
2108
|
if (p.value === "show")
|
|
2107
2109
|
return !0;
|
|
2108
|
-
}), { property:
|
|
2110
|
+
}), { property: b } = a(e, ["settings", "step"]), { theme: _ } = G(), { property: k } = a(e, [
|
|
2109
2111
|
"settings",
|
|
2110
2112
|
"thumbLabel"
|
|
2111
|
-
]),
|
|
2112
|
-
if (
|
|
2113
|
+
]), g = I(() => {
|
|
2114
|
+
if (k.value === "always")
|
|
2113
2115
|
return "always";
|
|
2114
|
-
if (
|
|
2116
|
+
if (k.value === "show")
|
|
2115
2117
|
return !0;
|
|
2116
2118
|
}), { property: x } = a(e, [
|
|
2117
2119
|
"settings",
|
|
2118
2120
|
"thumbSize"
|
|
2119
|
-
]), { property: h } = a(e, ["settings", "ticks"]),
|
|
2121
|
+
]), { property: h } = a(e, ["settings", "ticks"]), v = I(() => {
|
|
2120
2122
|
if (!h.value)
|
|
2121
2123
|
return;
|
|
2122
2124
|
const j = {};
|
|
@@ -2143,7 +2145,7 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
2143
2145
|
});
|
|
2144
2146
|
return (j, L) => {
|
|
2145
2147
|
const U = B("v-range-slider");
|
|
2146
|
-
return
|
|
2148
|
+
return w(), C(r(H), {
|
|
2147
2149
|
block: "",
|
|
2148
2150
|
mask: ""
|
|
2149
2151
|
}, {
|
|
@@ -2160,12 +2162,12 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
2160
2162
|
min: r(u),
|
|
2161
2163
|
readonly: r(d),
|
|
2162
2164
|
"show-ticks": f.value,
|
|
2163
|
-
step: r(
|
|
2164
|
-
theme: r(
|
|
2165
|
-
"thumb-label":
|
|
2165
|
+
step: r(b),
|
|
2166
|
+
theme: r(_),
|
|
2167
|
+
"thumb-label": g.value,
|
|
2166
2168
|
"thumb-size": r(x),
|
|
2167
2169
|
"tick-size": r(z),
|
|
2168
|
-
ticks:
|
|
2170
|
+
ticks: v.value
|
|
2169
2171
|
}, null, 8, ["modelValue", "density", "direction", "disabled", "hide-details", "label", "max", "min", "readonly", "show-ticks", "step", "theme", "thumb-label", "thumb-size", "tick-size", "ticks"])
|
|
2170
2172
|
]),
|
|
2171
2173
|
_: 1
|
|
@@ -2192,14 +2194,14 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
2192
2194
|
]), { property: c } = a(e, ["settings", "hover"]), { property: m } = a(e, ["settings", "length"]), { property: u } = a(e, [
|
|
2193
2195
|
"settings",
|
|
2194
2196
|
"readonly"
|
|
2195
|
-
]), { theme: d } =
|
|
2196
|
-
return (f,
|
|
2197
|
-
const
|
|
2198
|
-
return
|
|
2197
|
+
]), { theme: d } = G(), { property: p } = a(e, ["settings", "value"]);
|
|
2198
|
+
return (f, b) => {
|
|
2199
|
+
const _ = B("v-rating");
|
|
2200
|
+
return w(), C(r(H), { mask: "" }, {
|
|
2199
2201
|
default: V(() => [
|
|
2200
|
-
D(
|
|
2202
|
+
D(_, {
|
|
2201
2203
|
modelValue: r(p),
|
|
2202
|
-
"onUpdate:modelValue":
|
|
2204
|
+
"onUpdate:modelValue": b[0] || (b[0] = (k) => ne(p) ? p.value = k : null),
|
|
2203
2205
|
clearable: r(o),
|
|
2204
2206
|
density: r(s),
|
|
2205
2207
|
disabled: r(i),
|
|
@@ -2234,17 +2236,17 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
2234
2236
|
]), { property: c } = a(e, [
|
|
2235
2237
|
"settings",
|
|
2236
2238
|
"singleLine"
|
|
2237
|
-
]), { theme: m } =
|
|
2239
|
+
]), { theme: m } = G(), { property: u } = a(e, ["settings", "value"]);
|
|
2238
2240
|
return (d, p) => {
|
|
2239
2241
|
const f = B("v-select");
|
|
2240
|
-
return
|
|
2242
|
+
return w(), C(r(H), {
|
|
2241
2243
|
block: "",
|
|
2242
2244
|
mask: ""
|
|
2243
2245
|
}, {
|
|
2244
2246
|
default: V(() => [
|
|
2245
2247
|
D(f, {
|
|
2246
2248
|
modelValue: r(u),
|
|
2247
|
-
"onUpdate:modelValue": p[0] || (p[0] = (
|
|
2249
|
+
"onUpdate:modelValue": p[0] || (p[0] = (b) => ne(u) ? u.value = b : null),
|
|
2248
2250
|
"hide-details": r(o),
|
|
2249
2251
|
label: r(s),
|
|
2250
2252
|
placeholder: r(i),
|
|
@@ -2277,24 +2279,24 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
2277
2279
|
]), { property: m } = a(e, ["settings", "label"]), { property: u } = a(e, ["settings", "max"]), { property: d } = a(e, ["settings", "min"]), { property: p } = a(e, [
|
|
2278
2280
|
"settings",
|
|
2279
2281
|
"readonly"
|
|
2280
|
-
]), { property: f } = a(e, ["settings", "reverse"]), { property:
|
|
2282
|
+
]), { property: f } = a(e, ["settings", "reverse"]), { property: b } = a(e, [
|
|
2281
2283
|
"settings",
|
|
2282
2284
|
"showTicks"
|
|
2283
|
-
]),
|
|
2284
|
-
if (
|
|
2285
|
+
]), _ = I(() => {
|
|
2286
|
+
if (b.value === "always")
|
|
2285
2287
|
return "always";
|
|
2286
|
-
if (
|
|
2288
|
+
if (b.value === "show")
|
|
2287
2289
|
return !0;
|
|
2288
|
-
}), { property:
|
|
2290
|
+
}), { property: k } = a(e, ["settings", "step"]), { theme: g } = G(), { property: x } = a(e, [
|
|
2289
2291
|
"settings",
|
|
2290
2292
|
"thumbColor"
|
|
2291
|
-
]), { color: h } = Q(x), { property:
|
|
2293
|
+
]), { color: h } = Q(x), { property: v } = a(e, [
|
|
2292
2294
|
"settings",
|
|
2293
2295
|
"thumbLabel"
|
|
2294
2296
|
]), z = I(() => {
|
|
2295
|
-
if (
|
|
2297
|
+
if (v.value === "always")
|
|
2296
2298
|
return "always";
|
|
2297
|
-
if (
|
|
2299
|
+
if (v.value === "show")
|
|
2298
2300
|
return !0;
|
|
2299
2301
|
}), { property: T } = a(e, [
|
|
2300
2302
|
"settings",
|
|
@@ -2313,10 +2315,10 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
2313
2315
|
]), { property: L } = a(e, [
|
|
2314
2316
|
"settings",
|
|
2315
2317
|
"trackColor"
|
|
2316
|
-
]), { color: U } = Q(L), { property: oe } = a(e, ["settings", "value"]), { property: ge } = a(e, ["slots", "append"]), { property:
|
|
2318
|
+
]), { color: U } = Q(L), { property: oe } = a(e, ["settings", "value"]), { property: ge } = a(e, ["slots", "append"]), { property: Te } = a(e, ["slots", "prepend"]);
|
|
2317
2319
|
return (xe, nt) => {
|
|
2318
2320
|
const kt = B("v-slider");
|
|
2319
|
-
return
|
|
2321
|
+
return w(), C(r(H), {
|
|
2320
2322
|
block: "",
|
|
2321
2323
|
mask: ""
|
|
2322
2324
|
}, {
|
|
@@ -2333,9 +2335,9 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
2333
2335
|
min: r(d),
|
|
2334
2336
|
readonly: r(p),
|
|
2335
2337
|
reverse: r(f),
|
|
2336
|
-
"show-ticks":
|
|
2337
|
-
step: r(
|
|
2338
|
-
theme: r(
|
|
2338
|
+
"show-ticks": _.value,
|
|
2339
|
+
step: r(k),
|
|
2340
|
+
theme: r(g),
|
|
2339
2341
|
"thumb-color": r(h),
|
|
2340
2342
|
"thumb-label": z.value,
|
|
2341
2343
|
"thumb-size": r(T),
|
|
@@ -2346,7 +2348,7 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
2346
2348
|
r(ge) ? {
|
|
2347
2349
|
name: "append",
|
|
2348
2350
|
fn: V(() => [
|
|
2349
|
-
D(r(
|
|
2351
|
+
D(r(Pe), {
|
|
2350
2352
|
"node-id": "append",
|
|
2351
2353
|
"ref-context": { compId: r(ge) },
|
|
2352
2354
|
state: {}
|
|
@@ -2354,12 +2356,12 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
2354
2356
|
]),
|
|
2355
2357
|
key: "0"
|
|
2356
2358
|
} : void 0,
|
|
2357
|
-
r(
|
|
2359
|
+
r(Te) ? {
|
|
2358
2360
|
name: "prepend",
|
|
2359
2361
|
fn: V(() => [
|
|
2360
|
-
D(r(
|
|
2362
|
+
D(r(Pe), {
|
|
2361
2363
|
"node-id": "prepend",
|
|
2362
|
-
"ref-context": { compId: r(
|
|
2364
|
+
"ref-context": { compId: r(Te) },
|
|
2363
2365
|
state: {}
|
|
2364
2366
|
}, null, 8, ["ref-context"])
|
|
2365
2367
|
]),
|
|
@@ -2382,17 +2384,17 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
2382
2384
|
const n = t, { node: e } = P(n), { property: o } = a(e, [
|
|
2383
2385
|
"settings",
|
|
2384
2386
|
"hideActions"
|
|
2385
|
-
]), { theme: s } =
|
|
2387
|
+
]), { theme: s } = G(), { property: i } = a(e, ["settings", "value"]);
|
|
2386
2388
|
return (l, c) => {
|
|
2387
2389
|
const m = B("v-stepper");
|
|
2388
|
-
return
|
|
2390
|
+
return w(), C(m, {
|
|
2389
2391
|
modelValue: r(i),
|
|
2390
2392
|
"onUpdate:modelValue": c[0] || (c[0] = (u) => ne(i) ? i.value = u : null),
|
|
2391
2393
|
"hide-actions": r(o),
|
|
2392
2394
|
theme: r(s)
|
|
2393
2395
|
}, {
|
|
2394
2396
|
default: V(() => [
|
|
2395
|
-
|
|
2397
|
+
O(l.$slots, "default")
|
|
2396
2398
|
]),
|
|
2397
2399
|
_: 3
|
|
2398
2400
|
}, 8, ["modelValue", "hide-actions", "theme"]);
|
|
@@ -2401,9 +2403,9 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
2401
2403
|
}), ol = {};
|
|
2402
2404
|
function il(t, n) {
|
|
2403
2405
|
const e = B("v-stepper-header");
|
|
2404
|
-
return
|
|
2406
|
+
return w(), C(e, null, {
|
|
2405
2407
|
default: V(() => [
|
|
2406
|
-
|
|
2408
|
+
O(t.$slots, "default")
|
|
2407
2409
|
]),
|
|
2408
2410
|
_: 3
|
|
2409
2411
|
});
|
|
@@ -2419,9 +2421,9 @@ const sl = /* @__PURE__ */ De(ol, [["render", il]]), rl = /* @__PURE__ */ $({
|
|
|
2419
2421
|
const n = t, { node: e } = P(n), { property: o } = a(e, ["settings", "value"]);
|
|
2420
2422
|
return (s, i) => {
|
|
2421
2423
|
const l = B("v-stepper-item");
|
|
2422
|
-
return
|
|
2424
|
+
return w(), C(l, { value: r(o) }, {
|
|
2423
2425
|
default: V(() => [
|
|
2424
|
-
|
|
2426
|
+
O(s.$slots, "default")
|
|
2425
2427
|
]),
|
|
2426
2428
|
_: 3
|
|
2427
2429
|
}, 8, ["value"]);
|
|
@@ -2430,9 +2432,9 @@ const sl = /* @__PURE__ */ De(ol, [["render", il]]), rl = /* @__PURE__ */ $({
|
|
|
2430
2432
|
}), ll = {};
|
|
2431
2433
|
function al(t, n) {
|
|
2432
2434
|
const e = B("v-stepper-window");
|
|
2433
|
-
return
|
|
2435
|
+
return w(), C(e, null, {
|
|
2434
2436
|
default: V(() => [
|
|
2435
|
-
|
|
2437
|
+
O(t.$slots, "default")
|
|
2436
2438
|
]),
|
|
2437
2439
|
_: 3
|
|
2438
2440
|
});
|
|
@@ -2448,9 +2450,9 @@ const cl = /* @__PURE__ */ De(ll, [["render", al]]), ul = /* @__PURE__ */ $({
|
|
|
2448
2450
|
const n = t, { node: e } = P(n), { property: o } = a(e, ["settings", "value"]);
|
|
2449
2451
|
return (s, i) => {
|
|
2450
2452
|
const l = B("v-stepper-window-item");
|
|
2451
|
-
return
|
|
2453
|
+
return w(), C(l, { value: r(o) }, {
|
|
2452
2454
|
default: V(() => [
|
|
2453
|
-
|
|
2455
|
+
O(s.$slots, "default")
|
|
2454
2456
|
]),
|
|
2455
2457
|
_: 3
|
|
2456
2458
|
}, 8, ["value"]);
|
|
@@ -2476,14 +2478,14 @@ const cl = /* @__PURE__ */ De(ll, [["render", al]]), ul = /* @__PURE__ */ $({
|
|
|
2476
2478
|
]), { property: c } = a(e, [
|
|
2477
2479
|
"settings",
|
|
2478
2480
|
"indeterminate"
|
|
2479
|
-
]), { property: m } = a(e, ["settings", "inline"]), { property: u } = a(e, ["settings", "inset"]), { property: d } = a(e, ["settings", "label"]), { property: p } = a(e, ["settings", "loading"]), { theme: f } =
|
|
2480
|
-
return (
|
|
2481
|
-
const
|
|
2482
|
-
return
|
|
2481
|
+
]), { property: m } = a(e, ["settings", "inline"]), { property: u } = a(e, ["settings", "inset"]), { property: d } = a(e, ["settings", "label"]), { property: p } = a(e, ["settings", "loading"]), { theme: f } = G(), { property: b } = a(e, ["settings", "value"]);
|
|
2482
|
+
return (_, k) => {
|
|
2483
|
+
const g = B("v-switch");
|
|
2484
|
+
return w(), C(r(H), { mask: "" }, {
|
|
2483
2485
|
default: V(() => [
|
|
2484
|
-
D(
|
|
2485
|
-
modelValue: r(
|
|
2486
|
-
"onUpdate:modelValue":
|
|
2486
|
+
D(g, {
|
|
2487
|
+
modelValue: r(b),
|
|
2488
|
+
"onUpdate:modelValue": k[0] || (k[0] = (x) => ne(b) ? b.value = x : null),
|
|
2487
2489
|
density: r(o),
|
|
2488
2490
|
direction: r(s),
|
|
2489
2491
|
disabled: r(i),
|
|
@@ -2508,13 +2510,13 @@ const cl = /* @__PURE__ */ De(ll, [["render", al]]), ul = /* @__PURE__ */ $({
|
|
|
2508
2510
|
refContext: {}
|
|
2509
2511
|
},
|
|
2510
2512
|
setup(t) {
|
|
2511
|
-
const n = t, { node: e } = P(n), o = Z(), { property: s } = a(e, ["settings", "text"]), { theme: i } =
|
|
2513
|
+
const n = t, { node: e } = P(n), o = Z(), { property: s } = a(e, ["settings", "text"]), { theme: i } = G(), { property: l } = a(e, ["settings", "value"]), c = I(() => {
|
|
2512
2514
|
const m = {};
|
|
2513
2515
|
return o === "editor" && (m.pointerEvents = "none"), m;
|
|
2514
2516
|
});
|
|
2515
2517
|
return (m, u) => {
|
|
2516
2518
|
const d = B("v-tab");
|
|
2517
|
-
return
|
|
2519
|
+
return w(), C(r(H), { mask: "" }, {
|
|
2518
2520
|
default: V(() => [
|
|
2519
2521
|
D(d, {
|
|
2520
2522
|
style: de(c.value),
|
|
@@ -2558,10 +2560,10 @@ const cl = /* @__PURE__ */ De(ll, [["render", al]]), ul = /* @__PURE__ */ $({
|
|
|
2558
2560
|
]), { property: f } = a(e, [
|
|
2559
2561
|
"settings",
|
|
2560
2562
|
"fixedTabs"
|
|
2561
|
-
]), { property:
|
|
2563
|
+
]), { property: b } = a(e, ["settings", "grow"]), { property: _ } = a(e, [
|
|
2562
2564
|
"settings",
|
|
2563
2565
|
"hideSlider"
|
|
2564
|
-
]), { property:
|
|
2566
|
+
]), { property: k } = a(e, ["settings", "items"]), { property: g } = a(e, [
|
|
2565
2567
|
"settings",
|
|
2566
2568
|
"mandatory"
|
|
2567
2569
|
]), { property: x } = a(e, [
|
|
@@ -2571,10 +2573,10 @@ const cl = /* @__PURE__ */ De(ll, [["render", al]]), ul = /* @__PURE__ */ $({
|
|
|
2571
2573
|
"settings",
|
|
2572
2574
|
"color",
|
|
2573
2575
|
"sliderColor"
|
|
2574
|
-
]), { color:
|
|
2576
|
+
]), { color: v } = Q(h), { property: z } = a(e, ["settings", "stacked"]), { theme: T } = G(), { property: J } = a(e, ["settings", "value"]);
|
|
2575
2577
|
return (Y, j) => {
|
|
2576
2578
|
const L = B("v-tabs");
|
|
2577
|
-
return
|
|
2579
|
+
return w(), C(r(H), {
|
|
2578
2580
|
block: "",
|
|
2579
2581
|
mask: ""
|
|
2580
2582
|
}, {
|
|
@@ -2590,17 +2592,17 @@ const cl = /* @__PURE__ */ De(ll, [["render", al]]), ul = /* @__PURE__ */ $({
|
|
|
2590
2592
|
direction: r(d),
|
|
2591
2593
|
disabled: r(p),
|
|
2592
2594
|
"fixed-tabs": r(f),
|
|
2593
|
-
grow: r(
|
|
2594
|
-
"hide-slider": r(
|
|
2595
|
-
items: r(
|
|
2596
|
-
mandatory: r(
|
|
2595
|
+
grow: r(b),
|
|
2596
|
+
"hide-slider": r(_),
|
|
2597
|
+
items: r(k),
|
|
2598
|
+
mandatory: r(g),
|
|
2597
2599
|
"show-arrows": r(x),
|
|
2598
|
-
"slider-color": r(
|
|
2600
|
+
"slider-color": r(v),
|
|
2599
2601
|
stacked: r(z),
|
|
2600
2602
|
theme: r(T)
|
|
2601
2603
|
}, {
|
|
2602
2604
|
default: V(() => [
|
|
2603
|
-
|
|
2605
|
+
O(Y.$slots, "default")
|
|
2604
2606
|
]),
|
|
2605
2607
|
_: 3
|
|
2606
2608
|
}, 8, ["modelValue", "align-tabs", "bg-color", "center-active", "color", "density", "direction", "disabled", "fixed-tabs", "grow", "hide-slider", "items", "mandatory", "show-arrows", "slider-color", "stacked", "theme"])
|
|
@@ -2617,17 +2619,17 @@ const cl = /* @__PURE__ */ De(ll, [["render", al]]), ul = /* @__PURE__ */ $({
|
|
|
2617
2619
|
refContext: {}
|
|
2618
2620
|
},
|
|
2619
2621
|
setup(t) {
|
|
2620
|
-
const n = t, { node: e } = P(n), o =
|
|
2622
|
+
const n = t, { node: e } = P(n), o = Oe(), { property: s } = a(e, ["settings", "align"]), { property: i } = a(e, [
|
|
2621
2623
|
"settings",
|
|
2622
2624
|
"decoration"
|
|
2623
2625
|
]), { property: l } = a(e, [
|
|
2624
2626
|
"settings",
|
|
2625
2627
|
"emphasis"
|
|
2626
2628
|
]), { property: c } = a(e, ["settings", "italic"]), { property: m } = a(e, ["settings", "text"]), { property: u } = a(e, ["settings", "weight"]), d = I(() => {
|
|
2627
|
-
const p = [], f = ut(o.value.width),
|
|
2628
|
-
return
|
|
2629
|
+
const p = [], f = ut(o.value.width), b = Ne(f, e.value.settings?.style);
|
|
2630
|
+
return b && p.push(`text-${b}`), l.value === "high" ? p.push("text-high-emphasis") : l.value === "medium" ? p.push("text-medium-emphasis") : l.value === "disabled" && p.push("text-disabled"), s.value && p.push(`font-${s.value}`), i.value && p.push(`text-decoration-${i.value}`), u.value && p.push(`font-weight-${u.value}`), c.value && p.push("font-italic"), p.join(" ");
|
|
2629
2631
|
});
|
|
2630
|
-
return (p, f) => (
|
|
2632
|
+
return (p, f) => (w(), C(r(H), { mask: "" }, {
|
|
2631
2633
|
default: V(() => [
|
|
2632
2634
|
Re("span", {
|
|
2633
2635
|
class: si(d.value)
|
|
@@ -2659,20 +2661,20 @@ const cl = /* @__PURE__ */ De(ll, [["render", al]]), ul = /* @__PURE__ */ $({
|
|
|
2659
2661
|
]), { property: p } = a(e, [
|
|
2660
2662
|
"settings",
|
|
2661
2663
|
"readonly"
|
|
2662
|
-
]), { property: f } = a(e, ["settings", "reverse"]), { property:
|
|
2664
|
+
]), { property: f } = a(e, ["settings", "reverse"]), { property: b } = a(e, ["settings", "rows"]), { property: _ } = a(e, [
|
|
2663
2665
|
"settings",
|
|
2664
2666
|
"singleLine"
|
|
2665
|
-
]), { theme:
|
|
2666
|
-
return (h,
|
|
2667
|
+
]), { theme: k } = G(), { property: g } = a(e, ["settings", "value"]), { property: x } = a(e, ["settings", "variant"]);
|
|
2668
|
+
return (h, v) => {
|
|
2667
2669
|
const z = B("v-textarea");
|
|
2668
|
-
return
|
|
2670
|
+
return w(), C(r(H), {
|
|
2669
2671
|
block: "",
|
|
2670
2672
|
mask: ""
|
|
2671
2673
|
}, {
|
|
2672
2674
|
default: V(() => [
|
|
2673
2675
|
D(z, {
|
|
2674
|
-
modelValue: r(
|
|
2675
|
-
"onUpdate:modelValue":
|
|
2676
|
+
modelValue: r(g),
|
|
2677
|
+
"onUpdate:modelValue": v[0] || (v[0] = (T) => ne(g) ? g.value = T : null),
|
|
2676
2678
|
"auto-grow": r(o),
|
|
2677
2679
|
clearable: r(s),
|
|
2678
2680
|
density: r(i),
|
|
@@ -2683,9 +2685,9 @@ const cl = /* @__PURE__ */ De(ll, [["render", al]]), ul = /* @__PURE__ */ $({
|
|
|
2683
2685
|
placeholder: r(d),
|
|
2684
2686
|
readonly: r(p),
|
|
2685
2687
|
reverse: r(f),
|
|
2686
|
-
rows: r(
|
|
2687
|
-
"single-line": r(
|
|
2688
|
-
theme: r(
|
|
2688
|
+
rows: r(b),
|
|
2689
|
+
"single-line": r(_),
|
|
2690
|
+
theme: r(k),
|
|
2689
2691
|
variant: r(x)
|
|
2690
2692
|
}, null, 8, ["modelValue", "auto-grow", "clearable", "density", "disabled", "label", "loading", "max-rows", "placeholder", "readonly", "reverse", "rows", "single-line", "theme", "variant"])
|
|
2691
2693
|
]),
|
|
@@ -2722,19 +2724,19 @@ const cl = /* @__PURE__ */ De(ll, [["render", al]]), ul = /* @__PURE__ */ $({
|
|
|
2722
2724
|
]), { property: d } = a(e, ["settings", "label"]), { property: p } = a(e, ["settings", "loading"]), { property: f } = a(e, [
|
|
2723
2725
|
"settings",
|
|
2724
2726
|
"placeholder"
|
|
2725
|
-
]), { property:
|
|
2727
|
+
]), { property: b } = a(e, ["settings", "prefix"]), { property: _ } = a(e, [
|
|
2726
2728
|
"settings",
|
|
2727
2729
|
"prependIcon"
|
|
2728
|
-
]), { property:
|
|
2730
|
+
]), { property: k } = a(e, [
|
|
2729
2731
|
"settings",
|
|
2730
2732
|
"prependInnerIcon"
|
|
2731
|
-
]), { property:
|
|
2733
|
+
]), { property: g } = a(e, [
|
|
2732
2734
|
"settings",
|
|
2733
2735
|
"readonly"
|
|
2734
2736
|
]), { property: x } = a(e, ["settings", "reverse"]), { property: h } = a(e, [
|
|
2735
2737
|
"settings",
|
|
2736
2738
|
"singleLine"
|
|
2737
|
-
]), { property:
|
|
2739
|
+
]), { property: v } = a(e, ["settings", "suffix"]), { theme: z } = G(), { property: T } = a(e, ["settings", "value"]), { property: J } = a(e, ["settings", "variant"]), { property: Y } = a(e, ["slots", "append"]), { property: j } = a(e, [
|
|
2738
2740
|
"slots",
|
|
2739
2741
|
"appendInner"
|
|
2740
2742
|
]), { property: L } = a(e, ["slots", "prepend"]), { property: U } = a(e, [
|
|
@@ -2742,13 +2744,13 @@ const cl = /* @__PURE__ */ De(ll, [["render", al]]), ul = /* @__PURE__ */ $({
|
|
|
2742
2744
|
"prependInner"
|
|
2743
2745
|
]);
|
|
2744
2746
|
return (oe, ge) => {
|
|
2745
|
-
const
|
|
2746
|
-
return
|
|
2747
|
+
const Te = B("v-text-field");
|
|
2748
|
+
return w(), C(r(H), {
|
|
2747
2749
|
block: "",
|
|
2748
2750
|
mask: ""
|
|
2749
2751
|
}, {
|
|
2750
2752
|
default: V(() => [
|
|
2751
|
-
D(
|
|
2753
|
+
D(Te, {
|
|
2752
2754
|
modelValue: r(T),
|
|
2753
2755
|
"onUpdate:modelValue": ge[0] || (ge[0] = (xe) => ne(T) ? T.value = xe : null),
|
|
2754
2756
|
"append-icon": r(o),
|
|
@@ -2761,20 +2763,20 @@ const cl = /* @__PURE__ */ De(ll, [["render", al]]), ul = /* @__PURE__ */ $({
|
|
|
2761
2763
|
label: r(d),
|
|
2762
2764
|
loading: r(p),
|
|
2763
2765
|
placeholder: r(f),
|
|
2764
|
-
prefix: r(
|
|
2765
|
-
"prepend-icon": r(
|
|
2766
|
-
"prepend-inner-icon": r(
|
|
2767
|
-
readonly: r(
|
|
2766
|
+
prefix: r(b),
|
|
2767
|
+
"prepend-icon": r(_),
|
|
2768
|
+
"prepend-inner-icon": r(k),
|
|
2769
|
+
readonly: r(g),
|
|
2768
2770
|
reverse: r(x),
|
|
2769
2771
|
"single-line": r(h),
|
|
2770
|
-
suffix: r(
|
|
2772
|
+
suffix: r(v),
|
|
2771
2773
|
theme: r(z),
|
|
2772
2774
|
variant: r(J)
|
|
2773
2775
|
}, sn({ _: 2 }, [
|
|
2774
2776
|
r(Y) ? {
|
|
2775
2777
|
name: "append",
|
|
2776
2778
|
fn: V(() => [
|
|
2777
|
-
D(r(
|
|
2779
|
+
D(r(Pe), {
|
|
2778
2780
|
"node-id": "append",
|
|
2779
2781
|
"ref-context": { compId: r(Y) },
|
|
2780
2782
|
state: {}
|
|
@@ -2785,7 +2787,7 @@ const cl = /* @__PURE__ */ De(ll, [["render", al]]), ul = /* @__PURE__ */ $({
|
|
|
2785
2787
|
r(j) ? {
|
|
2786
2788
|
name: "append-inner",
|
|
2787
2789
|
fn: V(() => [
|
|
2788
|
-
D(r(
|
|
2790
|
+
D(r(Pe), {
|
|
2789
2791
|
"node-id": "append-inner",
|
|
2790
2792
|
"ref-context": { compId: r(j) },
|
|
2791
2793
|
state: {}
|
|
@@ -2796,7 +2798,7 @@ const cl = /* @__PURE__ */ De(ll, [["render", al]]), ul = /* @__PURE__ */ $({
|
|
|
2796
2798
|
r(L) ? {
|
|
2797
2799
|
name: "prepend",
|
|
2798
2800
|
fn: V(() => [
|
|
2799
|
-
D(r(
|
|
2801
|
+
D(r(Pe), {
|
|
2800
2802
|
"node-id": "prepend",
|
|
2801
2803
|
"ref-context": { compId: r(L) },
|
|
2802
2804
|
state: {}
|
|
@@ -2807,7 +2809,7 @@ const cl = /* @__PURE__ */ De(ll, [["render", al]]), ul = /* @__PURE__ */ $({
|
|
|
2807
2809
|
r(U) ? {
|
|
2808
2810
|
name: "prepend-inner",
|
|
2809
2811
|
fn: V(() => [
|
|
2810
|
-
D(r(
|
|
2812
|
+
D(r(Pe), {
|
|
2811
2813
|
"node-id": "prepend-inner",
|
|
2812
2814
|
"ref-context": { compId: r(U) },
|
|
2813
2815
|
state: {}
|
|
@@ -2851,18 +2853,18 @@ const cl = /* @__PURE__ */ De(ll, [["render", al]]), ul = /* @__PURE__ */ $({
|
|
|
2851
2853
|
"settings",
|
|
2852
2854
|
"line",
|
|
2853
2855
|
"inset"
|
|
2854
|
-
]), { property:
|
|
2856
|
+
]), { property: b } = a(e, [
|
|
2855
2857
|
"settings",
|
|
2856
2858
|
"line",
|
|
2857
2859
|
"thickness"
|
|
2858
|
-
]), { property:
|
|
2860
|
+
]), { property: _ } = a(e, ["settings", "side"]), { property: k } = a(e, [
|
|
2859
2861
|
"settings",
|
|
2860
2862
|
"line",
|
|
2861
2863
|
"truncate"
|
|
2862
|
-
]), { theme:
|
|
2864
|
+
]), { theme: g } = G();
|
|
2863
2865
|
return (x, h) => {
|
|
2864
|
-
const
|
|
2865
|
-
return
|
|
2866
|
+
const v = B("v-timeline");
|
|
2867
|
+
return w(), C(v, {
|
|
2866
2868
|
align: r(o),
|
|
2867
2869
|
density: r(s),
|
|
2868
2870
|
direction: r(i),
|
|
@@ -2871,13 +2873,13 @@ const cl = /* @__PURE__ */ De(ll, [["render", al]]), ul = /* @__PURE__ */ $({
|
|
|
2871
2873
|
"hide-opposite": r(u),
|
|
2872
2874
|
"line-color": r(p),
|
|
2873
2875
|
"line-inset": r(f),
|
|
2874
|
-
"line-thickness": r(
|
|
2875
|
-
side: r(
|
|
2876
|
-
theme: r(
|
|
2877
|
-
"truncate-line": r(
|
|
2876
|
+
"line-thickness": r(b),
|
|
2877
|
+
side: r(_),
|
|
2878
|
+
theme: r(g),
|
|
2879
|
+
"truncate-line": r(k)
|
|
2878
2880
|
}, {
|
|
2879
2881
|
default: V(() => [
|
|
2880
|
-
|
|
2882
|
+
O(x.$slots, "default")
|
|
2881
2883
|
]),
|
|
2882
2884
|
_: 3
|
|
2883
2885
|
}, 8, ["align", "density", "direction", "dot-color", "fill-dot", "hide-opposite", "line-color", "line-inset", "line-thickness", "side", "theme", "truncate-line"]);
|
|
@@ -2886,9 +2888,9 @@ const cl = /* @__PURE__ */ De(ll, [["render", al]]), ul = /* @__PURE__ */ $({
|
|
|
2886
2888
|
}), hl = {};
|
|
2887
2889
|
function _l(t, n) {
|
|
2888
2890
|
const e = B("v-timeline-item");
|
|
2889
|
-
return
|
|
2891
|
+
return w(), C(e, null, {
|
|
2890
2892
|
default: V(() => [
|
|
2891
|
-
|
|
2893
|
+
O(t.$slots, "default")
|
|
2892
2894
|
]),
|
|
2893
2895
|
_: 3
|
|
2894
2896
|
});
|
|
@@ -2913,12 +2915,12 @@ const vl = /* @__PURE__ */ De(hl, [["render", _l]]), xl = /* @__PURE__ */ $({
|
|
|
2913
2915
|
]), { property: l } = a(e, ["settings", "reverse"]), { property: c } = a(e, [
|
|
2914
2916
|
"settings",
|
|
2915
2917
|
"showArrows"
|
|
2916
|
-
]), { property: m } = a(e, ["settings", "touch"]), { theme: u } =
|
|
2918
|
+
]), { property: m } = a(e, ["settings", "touch"]), { theme: u } = G(), { property: d } = a(e, ["settings", "value"]);
|
|
2917
2919
|
return (p, f) => {
|
|
2918
|
-
const
|
|
2919
|
-
return
|
|
2920
|
+
const b = B("v-window");
|
|
2921
|
+
return w(), C(b, {
|
|
2920
2922
|
modelValue: r(d),
|
|
2921
|
-
"onUpdate:modelValue": f[0] || (f[0] = (
|
|
2923
|
+
"onUpdate:modelValue": f[0] || (f[0] = (_) => ne(d) ? d.value = _ : null),
|
|
2922
2924
|
continuous: r(o),
|
|
2923
2925
|
direction: r(i),
|
|
2924
2926
|
disabled: r(s),
|
|
@@ -2928,7 +2930,7 @@ const vl = /* @__PURE__ */ De(hl, [["render", _l]]), xl = /* @__PURE__ */ $({
|
|
|
2928
2930
|
touch: r(m)
|
|
2929
2931
|
}, {
|
|
2930
2932
|
default: V(() => [
|
|
2931
|
-
|
|
2933
|
+
O(p.$slots, "default")
|
|
2932
2934
|
]),
|
|
2933
2935
|
_: 3
|
|
2934
2936
|
}, 8, ["modelValue", "continuous", "direction", "disabled", "reverse", "show-arrows", "theme", "touch"]);
|
|
@@ -2937,9 +2939,9 @@ const vl = /* @__PURE__ */ De(hl, [["render", _l]]), xl = /* @__PURE__ */ $({
|
|
|
2937
2939
|
}), kl = {};
|
|
2938
2940
|
function wl(t, n) {
|
|
2939
2941
|
const e = B("v-window-item");
|
|
2940
|
-
return
|
|
2942
|
+
return w(), C(e, null, {
|
|
2941
2943
|
default: V(() => [
|
|
2942
|
-
|
|
2944
|
+
O(t.$slots, "default")
|
|
2943
2945
|
]),
|
|
2944
2946
|
_: 3
|
|
2945
2947
|
});
|
|
@@ -2953,13 +2955,13 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
|
|
|
2953
2955
|
instance: {}
|
|
2954
2956
|
},
|
|
2955
2957
|
setup(t) {
|
|
2956
|
-
console.log(`<element/${t.nodeId}/multiple_ref_v1/${t.instance}> created`),
|
|
2958
|
+
console.log(`<element/${t.nodeId}/multiple_ref_v1/${t.instance}> created`), Se(() => {
|
|
2957
2959
|
console.log(`<element/${t.nodeId}/multiple_ref_v1/${t.instance}> destroyed`);
|
|
2958
2960
|
});
|
|
2959
|
-
const n = Z(), e = re(), o = I(() =>
|
|
2960
|
-
|
|
2961
|
+
const n = Z(), e = re(), o = I(() => F(e.value));
|
|
2962
|
+
ze(o), le(n) && tt(o, "multipleSlot", t.nodeId, t.instance, _e());
|
|
2961
2963
|
const s = (l) => {
|
|
2962
|
-
const c =
|
|
2964
|
+
const c = $e[l.key];
|
|
2963
2965
|
if (!c) {
|
|
2964
2966
|
console.assert(!1, `element not found key=${l.key}`);
|
|
2965
2967
|
return;
|
|
@@ -2993,7 +2995,7 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
|
|
|
2993
2995
|
default: () => o.value?.view.nodeLites.map((l) => s(l))
|
|
2994
2996
|
});
|
|
2995
2997
|
};
|
|
2996
|
-
return (l, c) => (
|
|
2998
|
+
return (l, c) => (w(), C(i));
|
|
2997
2999
|
}
|
|
2998
3000
|
}), Sl = ["position", "rotation", "scale"], Cl = { style: { userSelect: "none" } }, ce = /* @__PURE__ */ $({
|
|
2999
3001
|
__name: "index",
|
|
@@ -3005,12 +3007,12 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
|
|
|
3005
3007
|
} }
|
|
3006
3008
|
},
|
|
3007
3009
|
setup(t) {
|
|
3008
|
-
return (n, e) => (
|
|
3010
|
+
return (n, e) => (w(), te("TresGroup", {
|
|
3009
3011
|
position: t.position,
|
|
3010
3012
|
rotation: t.rotation,
|
|
3011
3013
|
scale: t.scale
|
|
3012
3014
|
}, [
|
|
3013
|
-
t.label ? (
|
|
3015
|
+
t.label ? (w(), C(r(Si), {
|
|
3014
3016
|
key: 0,
|
|
3015
3017
|
center: "",
|
|
3016
3018
|
transform: ""
|
|
@@ -3020,7 +3022,7 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
|
|
|
3020
3022
|
]),
|
|
3021
3023
|
_: 1
|
|
3022
3024
|
})) : se("", !0),
|
|
3023
|
-
|
|
3025
|
+
O(n.$slots, "default")
|
|
3024
3026
|
], 8, Sl));
|
|
3025
3027
|
}
|
|
3026
3028
|
}), Vl = /* @__PURE__ */ $({
|
|
@@ -3032,24 +3034,24 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
|
|
|
3032
3034
|
},
|
|
3033
3035
|
setup(t) {
|
|
3034
3036
|
const n = bt(), e = t, { node: o } = P(e), s = Qe(), i = re(), l = ie();
|
|
3035
|
-
|
|
3037
|
+
ze(l);
|
|
3036
3038
|
const c = I(() => e.refContext?.compId);
|
|
3037
3039
|
et(c, l);
|
|
3038
3040
|
const { applySize: m } = be(e, o), u = I(() => {
|
|
3039
3041
|
const h = {};
|
|
3040
3042
|
return l.value?.type === "common" && m(h), h;
|
|
3041
|
-
}), { position: d, rotation: p, scale: f } = ue(o), { property:
|
|
3042
|
-
h.findIndex((z) => z ===
|
|
3043
|
-
},
|
|
3043
|
+
}), { position: d, rotation: p, scale: f } = ue(o), { property: b } = a(o, ["instances"]), _ = (h, v) => {
|
|
3044
|
+
h.findIndex((z) => z === v) >= 0 || h.push(v);
|
|
3045
|
+
}, k = I(() => {
|
|
3044
3046
|
const h = [];
|
|
3045
|
-
if (!Array.isArray(
|
|
3047
|
+
if (!Array.isArray(b.value))
|
|
3046
3048
|
return h;
|
|
3047
|
-
for (const
|
|
3048
|
-
typeof
|
|
3049
|
+
for (const v of b.value)
|
|
3050
|
+
typeof v == "string" && v && _(h, v);
|
|
3049
3051
|
return h;
|
|
3050
|
-
}),
|
|
3052
|
+
}), g = (h, v) => K($l, {
|
|
3051
3053
|
key: h,
|
|
3052
|
-
subtype:
|
|
3054
|
+
subtype: v,
|
|
3053
3055
|
nodeId: e.nodeId,
|
|
3054
3056
|
refContext: e.refContext,
|
|
3055
3057
|
instance: h
|
|
@@ -3086,8 +3088,8 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
|
|
|
3086
3088
|
console.assert(!1, "subtype not match");
|
|
3087
3089
|
return;
|
|
3088
3090
|
}
|
|
3089
|
-
const
|
|
3090
|
-
if (
|
|
3091
|
+
const v = l.value.type;
|
|
3092
|
+
if (v === "common")
|
|
3091
3093
|
return K(
|
|
3092
3094
|
"div",
|
|
3093
3095
|
{
|
|
@@ -3095,10 +3097,10 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
|
|
|
3095
3097
|
style: u.value
|
|
3096
3098
|
},
|
|
3097
3099
|
{
|
|
3098
|
-
default: () =>
|
|
3100
|
+
default: () => k.value.map((z) => g(z, v))
|
|
3099
3101
|
}
|
|
3100
3102
|
);
|
|
3101
|
-
if (
|
|
3103
|
+
if (v === "scene")
|
|
3102
3104
|
return K(
|
|
3103
3105
|
ce,
|
|
3104
3106
|
{
|
|
@@ -3108,11 +3110,11 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
|
|
|
3108
3110
|
scale: f.value
|
|
3109
3111
|
},
|
|
3110
3112
|
{
|
|
3111
|
-
default: () =>
|
|
3113
|
+
default: () => k.value.map((z) => g(z, v))
|
|
3112
3114
|
}
|
|
3113
3115
|
);
|
|
3114
3116
|
};
|
|
3115
|
-
return (h,
|
|
3117
|
+
return (h, v) => (w(), C(x));
|
|
3116
3118
|
}
|
|
3117
3119
|
}), Pl = /* @__PURE__ */ $({
|
|
3118
3120
|
__name: "entry",
|
|
@@ -3123,13 +3125,13 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
|
|
|
3123
3125
|
instance: {}
|
|
3124
3126
|
},
|
|
3125
3127
|
setup(t) {
|
|
3126
|
-
console.log(`<element/${t.nodeId}/multiple_slot_v1/${t.instance}> created`),
|
|
3128
|
+
console.log(`<element/${t.nodeId}/multiple_slot_v1/${t.instance}> created`), Se(() => {
|
|
3127
3129
|
console.log(`<element/${t.nodeId}/multiple_slot_v1/${t.instance}> destroyed`);
|
|
3128
3130
|
});
|
|
3129
|
-
const n = Z(), e = re(), o = I(() =>
|
|
3130
|
-
|
|
3131
|
+
const n = Z(), e = re(), o = I(() => F(e.value));
|
|
3132
|
+
ze(o), le(n) && tt(o, "multipleSlot", t.nodeId, t.instance, _e());
|
|
3131
3133
|
const s = (l) => {
|
|
3132
|
-
const c =
|
|
3134
|
+
const c = $e[l.key];
|
|
3133
3135
|
if (!c) {
|
|
3134
3136
|
console.assert(!1, `element not found key=${l.key}`);
|
|
3135
3137
|
return;
|
|
@@ -3163,7 +3165,7 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
|
|
|
3163
3165
|
default: () => o.value?.view.nodeLites.map((l) => s(l))
|
|
3164
3166
|
});
|
|
3165
3167
|
};
|
|
3166
|
-
return (l, c) => (
|
|
3168
|
+
return (l, c) => (w(), C(i));
|
|
3167
3169
|
}
|
|
3168
3170
|
}), Ll = /* @__PURE__ */ $({
|
|
3169
3171
|
__name: "index",
|
|
@@ -3174,24 +3176,24 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
|
|
|
3174
3176
|
},
|
|
3175
3177
|
setup(t) {
|
|
3176
3178
|
const n = bt(), e = t, { node: o } = P(e), s = Qe(), i = re(), l = ie();
|
|
3177
|
-
|
|
3179
|
+
ze(l);
|
|
3178
3180
|
const c = I(() => e.refContext?.compId);
|
|
3179
3181
|
et(c, l);
|
|
3180
3182
|
const { applySize: m } = be(e, o), u = I(() => {
|
|
3181
3183
|
const h = {};
|
|
3182
3184
|
return l.value?.type === "common" && m(h), h;
|
|
3183
|
-
}), { position: d, rotation: p, scale: f } = ue(o), { property:
|
|
3184
|
-
h.findIndex((z) => z ===
|
|
3185
|
-
},
|
|
3185
|
+
}), { position: d, rotation: p, scale: f } = ue(o), { property: b } = a(o, ["instances"]), _ = (h, v) => {
|
|
3186
|
+
h.findIndex((z) => z === v) >= 0 || h.push(v);
|
|
3187
|
+
}, k = I(() => {
|
|
3186
3188
|
const h = [];
|
|
3187
|
-
if (!Array.isArray(
|
|
3189
|
+
if (!Array.isArray(b.value))
|
|
3188
3190
|
return h;
|
|
3189
|
-
for (const
|
|
3190
|
-
typeof
|
|
3191
|
+
for (const v of b.value)
|
|
3192
|
+
typeof v == "string" && v && _(h, v);
|
|
3191
3193
|
return h;
|
|
3192
|
-
}),
|
|
3194
|
+
}), g = (h, v) => K(Pl, {
|
|
3193
3195
|
key: h,
|
|
3194
|
-
subtype:
|
|
3196
|
+
subtype: v,
|
|
3195
3197
|
nodeId: e.nodeId,
|
|
3196
3198
|
refContext: e.refContext,
|
|
3197
3199
|
instance: h
|
|
@@ -3228,8 +3230,8 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
|
|
|
3228
3230
|
console.assert(!1, "subtype not match");
|
|
3229
3231
|
return;
|
|
3230
3232
|
}
|
|
3231
|
-
const
|
|
3232
|
-
if (
|
|
3233
|
+
const v = l.value.type;
|
|
3234
|
+
if (v === "common")
|
|
3233
3235
|
return K(
|
|
3234
3236
|
"div",
|
|
3235
3237
|
{
|
|
@@ -3237,10 +3239,10 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
|
|
|
3237
3239
|
style: u.value
|
|
3238
3240
|
},
|
|
3239
3241
|
{
|
|
3240
|
-
default: () =>
|
|
3242
|
+
default: () => k.value.map((z) => g(z, v))
|
|
3241
3243
|
}
|
|
3242
3244
|
);
|
|
3243
|
-
if (
|
|
3245
|
+
if (v === "scene")
|
|
3244
3246
|
return K(
|
|
3245
3247
|
ce,
|
|
3246
3248
|
{
|
|
@@ -3250,11 +3252,11 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
|
|
|
3250
3252
|
scale: f.value
|
|
3251
3253
|
},
|
|
3252
3254
|
{
|
|
3253
|
-
default: () =>
|
|
3255
|
+
default: () => k.value.map((z) => g(z, v))
|
|
3254
3256
|
}
|
|
3255
3257
|
);
|
|
3256
3258
|
};
|
|
3257
|
-
return (h,
|
|
3259
|
+
return (h, v) => (w(), C(x));
|
|
3258
3260
|
}
|
|
3259
3261
|
}), zl = /* @__PURE__ */ $({
|
|
3260
3262
|
__name: "index",
|
|
@@ -3265,38 +3267,38 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
|
|
|
3265
3267
|
},
|
|
3266
3268
|
setup(t) {
|
|
3267
3269
|
const n = bt(), e = t, { node: o } = P(e), s = Z(), i = Qe(), l = re(), c = ie();
|
|
3268
|
-
|
|
3270
|
+
ze(c);
|
|
3269
3271
|
const m = I(() => e.refContext?.compId);
|
|
3270
3272
|
et(m, c), le(s) && tt(c, "ref", e.nodeId, "", _e());
|
|
3271
3273
|
const { applySize: u } = be(e, o), d = I(() => {
|
|
3272
|
-
const
|
|
3273
|
-
return l.value?.type === "common" && u(
|
|
3274
|
-
}), { position: p, rotation: f, scale:
|
|
3275
|
-
const x =
|
|
3274
|
+
const g = {};
|
|
3275
|
+
return l.value?.type === "common" && u(g), g;
|
|
3276
|
+
}), { position: p, rotation: f, scale: b } = ue(o), _ = (g) => {
|
|
3277
|
+
const x = $e[g.key];
|
|
3276
3278
|
if (!x) {
|
|
3277
|
-
console.assert(!1, `element not found key=${
|
|
3279
|
+
console.assert(!1, `element not found key=${g.key}`);
|
|
3278
3280
|
return;
|
|
3279
3281
|
}
|
|
3280
3282
|
const h = {
|
|
3281
|
-
nodeId:
|
|
3283
|
+
nodeId: g.id
|
|
3282
3284
|
};
|
|
3283
|
-
return Xe(
|
|
3285
|
+
return Xe(g.key) && (h.refContext = {
|
|
3284
3286
|
parent: e.refContext,
|
|
3285
|
-
compId:
|
|
3287
|
+
compId: g.compId
|
|
3286
3288
|
}), K(
|
|
3287
3289
|
x.comp,
|
|
3288
3290
|
{
|
|
3289
|
-
key:
|
|
3291
|
+
key: g.id,
|
|
3290
3292
|
...h
|
|
3291
3293
|
},
|
|
3292
3294
|
{
|
|
3293
3295
|
default: () => {
|
|
3294
3296
|
if (!x.leaf)
|
|
3295
|
-
return
|
|
3297
|
+
return g.children?.map((v) => _(v));
|
|
3296
3298
|
}
|
|
3297
3299
|
}
|
|
3298
3300
|
);
|
|
3299
|
-
},
|
|
3301
|
+
}, k = () => {
|
|
3300
3302
|
if (!e.refContext) {
|
|
3301
3303
|
console.assert(!1, "invalid of ref context");
|
|
3302
3304
|
return;
|
|
@@ -3305,25 +3307,25 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
|
|
|
3305
3307
|
console.assert(!1, "invalid of data");
|
|
3306
3308
|
return;
|
|
3307
3309
|
}
|
|
3308
|
-
const { i18n:
|
|
3310
|
+
const { i18n: g } = he;
|
|
3309
3311
|
if (Ye(e.refContext, i))
|
|
3310
3312
|
return l.value.type === "common" ? K(
|
|
3311
3313
|
"div",
|
|
3312
3314
|
{ id: n.id, style: d.value },
|
|
3313
|
-
|
|
3315
|
+
g.global.t("x-runtime-lib.circularReference")
|
|
3314
3316
|
) : l.value.type === "scene" ? K(ce, {
|
|
3315
3317
|
name: n.name,
|
|
3316
3318
|
position: p.value,
|
|
3317
3319
|
rotation: f.value,
|
|
3318
|
-
scale:
|
|
3319
|
-
label:
|
|
3320
|
+
scale: b.value,
|
|
3321
|
+
label: g.global.t("x-runtime-lib.circularReference")
|
|
3320
3322
|
}) : void 0;
|
|
3321
3323
|
if (!c.value)
|
|
3322
3324
|
return l.value.type === "common" ? K("div", { id: n.id, style: d.value }) : l.value.type === "scene" ? K(ce, {
|
|
3323
3325
|
name: n.name,
|
|
3324
3326
|
position: p.value,
|
|
3325
3327
|
rotation: f.value,
|
|
3326
|
-
scale:
|
|
3328
|
+
scale: b.value
|
|
3327
3329
|
}) : void 0;
|
|
3328
3330
|
if (c.value.type !== l.value.type) {
|
|
3329
3331
|
console.assert(!1, "subtype not match");
|
|
@@ -3338,7 +3340,7 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
|
|
|
3338
3340
|
style: d.value
|
|
3339
3341
|
},
|
|
3340
3342
|
{
|
|
3341
|
-
default: () => c.value?.view.nodeLites.map((h) =>
|
|
3343
|
+
default: () => c.value?.view.nodeLites.map((h) => _(h))
|
|
3342
3344
|
}
|
|
3343
3345
|
);
|
|
3344
3346
|
if (x === "scene")
|
|
@@ -3348,14 +3350,14 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
|
|
|
3348
3350
|
name: n.name,
|
|
3349
3351
|
position: p.value,
|
|
3350
3352
|
rotation: f.value,
|
|
3351
|
-
scale:
|
|
3353
|
+
scale: b.value
|
|
3352
3354
|
},
|
|
3353
3355
|
{
|
|
3354
|
-
default: () => c.value?.view.nodeLites.map((h) =>
|
|
3356
|
+
default: () => c.value?.view.nodeLites.map((h) => _(h))
|
|
3355
3357
|
}
|
|
3356
3358
|
);
|
|
3357
3359
|
};
|
|
3358
|
-
return (
|
|
3360
|
+
return (g, x) => (w(), C(k));
|
|
3359
3361
|
}
|
|
3360
3362
|
}), Tl = /* @__PURE__ */ $({
|
|
3361
3363
|
__name: "index",
|
|
@@ -3366,14 +3368,14 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
|
|
|
3366
3368
|
},
|
|
3367
3369
|
setup(t) {
|
|
3368
3370
|
const n = t, { node: e } = P(n), { property: o } = a(e, ["settings", "open"]);
|
|
3369
|
-
return (s, i) => (
|
|
3371
|
+
return (s, i) => (w(), C(r(H), null, {
|
|
3370
3372
|
default: V(() => [
|
|
3371
|
-
r(o) ?
|
|
3373
|
+
r(o) ? O(s.$slots, "default", { key: 0 }) : se("", !0)
|
|
3372
3374
|
]),
|
|
3373
3375
|
_: 3
|
|
3374
3376
|
}));
|
|
3375
3377
|
}
|
|
3376
|
-
}),
|
|
3378
|
+
}), Pe = /* @__PURE__ */ $({
|
|
3377
3379
|
__name: "index",
|
|
3378
3380
|
props: {
|
|
3379
3381
|
nodeId: {},
|
|
@@ -3382,40 +3384,40 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
|
|
|
3382
3384
|
},
|
|
3383
3385
|
setup(t) {
|
|
3384
3386
|
const n = bt(), e = t, { node: o } = P(e), s = Z(), i = Qe(), l = re(), c = ie();
|
|
3385
|
-
|
|
3387
|
+
ze(c);
|
|
3386
3388
|
const m = I(() => e.refContext?.compId);
|
|
3387
3389
|
et(m, c), le(s) && tt(c, "slot", e.nodeId, "", _e());
|
|
3388
3390
|
const { applySize: u } = be(e, o), d = I(() => {
|
|
3389
|
-
const
|
|
3390
|
-
return c.value?.type === "common" && u(
|
|
3391
|
-
}), { position: p, rotation: f, scale:
|
|
3392
|
-
function
|
|
3393
|
-
const x =
|
|
3391
|
+
const g = {};
|
|
3392
|
+
return c.value?.type === "common" && u(g), g;
|
|
3393
|
+
}), { position: p, rotation: f, scale: b } = ue(o);
|
|
3394
|
+
function _(g) {
|
|
3395
|
+
const x = $e[g.key];
|
|
3394
3396
|
if (!x) {
|
|
3395
|
-
console.assert(!1, `element not found key=${
|
|
3397
|
+
console.assert(!1, `element not found key=${g.key}`);
|
|
3396
3398
|
return;
|
|
3397
3399
|
}
|
|
3398
3400
|
const h = {
|
|
3399
|
-
nodeId:
|
|
3401
|
+
nodeId: g.id
|
|
3400
3402
|
};
|
|
3401
|
-
return Xe(
|
|
3403
|
+
return Xe(g.key) && (h.refContext = {
|
|
3402
3404
|
parent: e.refContext,
|
|
3403
|
-
compId:
|
|
3405
|
+
compId: g.compId
|
|
3404
3406
|
}), K(
|
|
3405
3407
|
x.comp,
|
|
3406
3408
|
{
|
|
3407
|
-
key:
|
|
3409
|
+
key: g.id,
|
|
3408
3410
|
...h
|
|
3409
3411
|
},
|
|
3410
3412
|
{
|
|
3411
3413
|
default: () => {
|
|
3412
3414
|
if (!x.leaf)
|
|
3413
|
-
return
|
|
3415
|
+
return g.children?.map((v) => _(v));
|
|
3414
3416
|
}
|
|
3415
3417
|
}
|
|
3416
3418
|
);
|
|
3417
3419
|
}
|
|
3418
|
-
const
|
|
3420
|
+
const k = () => {
|
|
3419
3421
|
if (!e.refContext) {
|
|
3420
3422
|
console.assert(!1, "invalid of ref context");
|
|
3421
3423
|
return;
|
|
@@ -3424,25 +3426,25 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
|
|
|
3424
3426
|
console.assert(!1, "invalid of data");
|
|
3425
3427
|
return;
|
|
3426
3428
|
}
|
|
3427
|
-
const { i18n:
|
|
3429
|
+
const { i18n: g } = he;
|
|
3428
3430
|
if (Ye(e.refContext, i))
|
|
3429
3431
|
return l.value.type === "common" ? K(
|
|
3430
3432
|
"div",
|
|
3431
3433
|
{ id: n.id, style: d.value },
|
|
3432
|
-
|
|
3434
|
+
g.global.t("x-runtime-lib.circularReference")
|
|
3433
3435
|
) : l.value.type === "scene" ? K(ce, {
|
|
3434
3436
|
name: n.name,
|
|
3435
3437
|
position: p.value,
|
|
3436
3438
|
rotation: f.value,
|
|
3437
|
-
scale:
|
|
3438
|
-
label:
|
|
3439
|
+
scale: b.value,
|
|
3440
|
+
label: g.global.t("x-runtime-lib.circularReference")
|
|
3439
3441
|
}) : void 0;
|
|
3440
3442
|
if (!c.value)
|
|
3441
3443
|
return l.value.type === "common" ? K("div", { id: n.id, style: d.value }) : l.value.type === "scene" ? K(ce, {
|
|
3442
3444
|
name: n.name,
|
|
3443
3445
|
position: p.value,
|
|
3444
3446
|
rotation: f.value,
|
|
3445
|
-
scale:
|
|
3447
|
+
scale: b.value
|
|
3446
3448
|
}) : void 0;
|
|
3447
3449
|
if (c.value.type !== l.value.type) {
|
|
3448
3450
|
console.assert(!1, "subtype not match");
|
|
@@ -3457,7 +3459,7 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
|
|
|
3457
3459
|
style: d.value
|
|
3458
3460
|
},
|
|
3459
3461
|
{
|
|
3460
|
-
default: () => c.value?.view.nodeLites.map((h) =>
|
|
3462
|
+
default: () => c.value?.view.nodeLites.map((h) => _(h))
|
|
3461
3463
|
}
|
|
3462
3464
|
);
|
|
3463
3465
|
if (x === "scene")
|
|
@@ -3467,14 +3469,14 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
|
|
|
3467
3469
|
name: n.name,
|
|
3468
3470
|
position: p.value,
|
|
3469
3471
|
rotation: f.value,
|
|
3470
|
-
scale:
|
|
3472
|
+
scale: b.value
|
|
3471
3473
|
},
|
|
3472
3474
|
{
|
|
3473
|
-
default: () => c.value?.view.nodeLites.map((h) =>
|
|
3475
|
+
default: () => c.value?.view.nodeLites.map((h) => _(h))
|
|
3474
3476
|
}
|
|
3475
3477
|
);
|
|
3476
3478
|
};
|
|
3477
|
-
return (
|
|
3479
|
+
return (g, x) => (w(), C(k));
|
|
3478
3480
|
}
|
|
3479
3481
|
}), y = {
|
|
3480
3482
|
key: "basic",
|
|
@@ -3538,7 +3540,7 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
|
|
|
3538
3540
|
]
|
|
3539
3541
|
}
|
|
3540
3542
|
]
|
|
3541
|
-
}, El =
|
|
3543
|
+
}, El = F(ee), Ae = {
|
|
3542
3544
|
key: "border",
|
|
3543
3545
|
name: "x-runtime-lib.border",
|
|
3544
3546
|
children: [
|
|
@@ -3905,8 +3907,8 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
|
|
|
3905
3907
|
defaultArray: []
|
|
3906
3908
|
}
|
|
3907
3909
|
]
|
|
3908
|
-
},
|
|
3909
|
-
|
|
3910
|
+
}, $e = {}, S = (t) => {
|
|
3911
|
+
$e[t.key] = t;
|
|
3910
3912
|
}, $n = {
|
|
3911
3913
|
key: "settings",
|
|
3912
3914
|
name: "x-runtime-lib.settings",
|
|
@@ -4003,7 +4005,7 @@ const Sn = {
|
|
|
4003
4005
|
}, Ml = {
|
|
4004
4006
|
key: "scene_perspective_camera_v1",
|
|
4005
4007
|
name: "x-runtime-lib.perspectiveCamera",
|
|
4006
|
-
comp:
|
|
4008
|
+
comp: Gi,
|
|
4007
4009
|
properties: {
|
|
4008
4010
|
pageScene: [y, X, Sn],
|
|
4009
4011
|
compScene: [y, X, Sn]
|
|
@@ -4061,13 +4063,13 @@ function Kl(t, n) {
|
|
|
4061
4063
|
console.error(`boxGeometryV1/spawn property tag not found, ${e}`);
|
|
4062
4064
|
return;
|
|
4063
4065
|
}
|
|
4064
|
-
const s =
|
|
4066
|
+
const s = Ge.properties[o];
|
|
4065
4067
|
if (!s) {
|
|
4066
4068
|
console.error(`boxGeometryV1/spawn properties not found, ${e}`);
|
|
4067
4069
|
return;
|
|
4068
4070
|
}
|
|
4069
4071
|
const i = A();
|
|
4070
|
-
W(i, s), i.basic.id = E(16), i.basic.key =
|
|
4072
|
+
W(i, s), i.basic.id = E(16), i.basic.key = Ge.key, i.transform = {
|
|
4071
4073
|
position: {
|
|
4072
4074
|
x: 0,
|
|
4073
4075
|
y: 0,
|
|
@@ -4084,7 +4086,7 @@ function Kl(t, n) {
|
|
|
4084
4086
|
z: 1
|
|
4085
4087
|
}
|
|
4086
4088
|
};
|
|
4087
|
-
const l = Dl(t, n), c =
|
|
4089
|
+
const l = Dl(t, n), c = Fl(t, n);
|
|
4088
4090
|
return {
|
|
4089
4091
|
nodeLite: M(i, [l.nodeLite, c.nodeLite]),
|
|
4090
4092
|
nodes: {
|
|
@@ -4124,7 +4126,7 @@ function Dl(t, n) {
|
|
|
4124
4126
|
}
|
|
4125
4127
|
};
|
|
4126
4128
|
}
|
|
4127
|
-
function
|
|
4129
|
+
function Fl(t, n) {
|
|
4128
4130
|
const e = `type=${t} subtype=${n}`, o = R(t, n);
|
|
4129
4131
|
if (!o) {
|
|
4130
4132
|
console.error(
|
|
@@ -4132,7 +4134,7 @@ function Ol(t, n) {
|
|
|
4132
4134
|
);
|
|
4133
4135
|
return;
|
|
4134
4136
|
}
|
|
4135
|
-
const s =
|
|
4137
|
+
const s = He.properties[o];
|
|
4136
4138
|
if (!s) {
|
|
4137
4139
|
console.error(
|
|
4138
4140
|
`boxGeometryV1/spawnMeshBasicMaterial properties not found, ${e}`
|
|
@@ -4140,7 +4142,7 @@ function Ol(t, n) {
|
|
|
4140
4142
|
return;
|
|
4141
4143
|
}
|
|
4142
4144
|
const i = A();
|
|
4143
|
-
return W(i, s), i.basic.id = E(16), i.basic.key =
|
|
4145
|
+
return W(i, s), i.basic.id = E(16), i.basic.key = He.key, {
|
|
4144
4146
|
nodeLite: M(i),
|
|
4145
4147
|
nodes: {
|
|
4146
4148
|
[i.basic.id]: i
|
|
@@ -4206,19 +4208,19 @@ const Cn = {
|
|
|
4206
4208
|
spawn: Kl
|
|
4207
4209
|
};
|
|
4208
4210
|
S(Lt);
|
|
4209
|
-
function
|
|
4211
|
+
function Ol(t, n) {
|
|
4210
4212
|
const e = `type=${t} subtype=${n}`, o = R(t, n);
|
|
4211
4213
|
if (!o) {
|
|
4212
4214
|
console.error(`sphereGeometryV1/spawn property tag not found, ${e}`);
|
|
4213
4215
|
return;
|
|
4214
4216
|
}
|
|
4215
|
-
const s =
|
|
4217
|
+
const s = Ge.properties[o];
|
|
4216
4218
|
if (!s) {
|
|
4217
4219
|
console.error(`sphereGeometryV1/spawn properties not found, ${e}`);
|
|
4218
4220
|
return;
|
|
4219
4221
|
}
|
|
4220
4222
|
const i = A();
|
|
4221
|
-
W(i, s), i.basic.id = E(16), i.basic.key =
|
|
4223
|
+
W(i, s), i.basic.id = E(16), i.basic.key = Ge.key, i.transform = {
|
|
4222
4224
|
position: {
|
|
4223
4225
|
x: 0,
|
|
4224
4226
|
y: 0,
|
|
@@ -4284,7 +4286,7 @@ function jl(t, n) {
|
|
|
4284
4286
|
);
|
|
4285
4287
|
return;
|
|
4286
4288
|
}
|
|
4287
|
-
const s =
|
|
4289
|
+
const s = He.properties[o];
|
|
4288
4290
|
if (!s) {
|
|
4289
4291
|
console.error(
|
|
4290
4292
|
`sphereGeometryV1/spawnMeshBasicMaterial properties not found, ${e}`
|
|
@@ -4292,7 +4294,7 @@ function jl(t, n) {
|
|
|
4292
4294
|
return;
|
|
4293
4295
|
}
|
|
4294
4296
|
const i = A();
|
|
4295
|
-
return W(i, s), i.basic.id = E(16), i.basic.key =
|
|
4297
|
+
return W(i, s), i.basic.id = E(16), i.basic.key = He.key, {
|
|
4296
4298
|
nodeLite: M(i),
|
|
4297
4299
|
nodes: {
|
|
4298
4300
|
[i.basic.id]: i
|
|
@@ -4363,10 +4365,10 @@ const Vn = {
|
|
|
4363
4365
|
methods: [],
|
|
4364
4366
|
slots: [],
|
|
4365
4367
|
leaf: !0,
|
|
4366
|
-
spawn:
|
|
4368
|
+
spawn: Ol
|
|
4367
4369
|
};
|
|
4368
4370
|
S(zt);
|
|
4369
|
-
const ht =
|
|
4371
|
+
const ht = F(ee);
|
|
4370
4372
|
ht.children[0].default = "custom";
|
|
4371
4373
|
ht.children[2].children[0].default = "0xffffff";
|
|
4372
4374
|
ht.children[2].children[1].default = "0xffffff";
|
|
@@ -4383,7 +4385,7 @@ const Pn = {
|
|
|
4383
4385
|
default: 1
|
|
4384
4386
|
}
|
|
4385
4387
|
]
|
|
4386
|
-
},
|
|
4388
|
+
}, Hl = {
|
|
4387
4389
|
key: "scene_ambient_light_v1",
|
|
4388
4390
|
name: "x-runtime-lib.ambientLight",
|
|
4389
4391
|
comp: ts,
|
|
@@ -4395,8 +4397,8 @@ const Pn = {
|
|
|
4395
4397
|
methods: [],
|
|
4396
4398
|
slots: []
|
|
4397
4399
|
};
|
|
4398
|
-
S(
|
|
4399
|
-
const _t =
|
|
4400
|
+
S(Hl);
|
|
4401
|
+
const _t = F(ee);
|
|
4400
4402
|
_t.children[0].default = "custom";
|
|
4401
4403
|
_t.children[2].children[0].default = "0xffffff";
|
|
4402
4404
|
_t.children[2].children[1].default = "0xffffff";
|
|
@@ -4413,7 +4415,7 @@ const Ln = {
|
|
|
4413
4415
|
default: 1
|
|
4414
4416
|
}
|
|
4415
4417
|
]
|
|
4416
|
-
},
|
|
4418
|
+
}, Gl = {
|
|
4417
4419
|
key: "scene_directional_light_v1",
|
|
4418
4420
|
name: "x-runtime-lib.directionalLight",
|
|
4419
4421
|
comp: os,
|
|
@@ -4425,8 +4427,8 @@ const Ln = {
|
|
|
4425
4427
|
methods: [],
|
|
4426
4428
|
slots: []
|
|
4427
4429
|
};
|
|
4428
|
-
S(
|
|
4429
|
-
const vt =
|
|
4430
|
+
S(Gl);
|
|
4431
|
+
const vt = F(ee);
|
|
4430
4432
|
vt.children[0].default = "custom";
|
|
4431
4433
|
vt.children[2].children[0].default = "0xffffff";
|
|
4432
4434
|
vt.children[2].children[1].default = "0xffffff";
|
|
@@ -4470,7 +4472,7 @@ const zn = {
|
|
|
4470
4472
|
slots: []
|
|
4471
4473
|
};
|
|
4472
4474
|
S(Jl);
|
|
4473
|
-
const xt =
|
|
4475
|
+
const xt = F(ee);
|
|
4474
4476
|
xt.children[0].default = "custom";
|
|
4475
4477
|
xt.children[2].children[0].default = "0xffffff";
|
|
4476
4478
|
xt.children[2].children[1].default = "0xffffff";
|
|
@@ -4531,7 +4533,7 @@ const Tn = {
|
|
|
4531
4533
|
slots: []
|
|
4532
4534
|
};
|
|
4533
4535
|
S(Ul);
|
|
4534
|
-
const
|
|
4536
|
+
const He = {
|
|
4535
4537
|
key: "scene_mesh_basic_material_v1",
|
|
4536
4538
|
name: "x-runtime-lib.meshBasicMaterial",
|
|
4537
4539
|
comp: us,
|
|
@@ -4544,7 +4546,7 @@ const Ge = {
|
|
|
4544
4546
|
slots: [],
|
|
4545
4547
|
leaf: !0
|
|
4546
4548
|
};
|
|
4547
|
-
S(
|
|
4549
|
+
S(He);
|
|
4548
4550
|
const ql = {
|
|
4549
4551
|
key: "scene_group_v1",
|
|
4550
4552
|
name: "x-runtime-lib.group",
|
|
@@ -4558,7 +4560,7 @@ const ql = {
|
|
|
4558
4560
|
slots: []
|
|
4559
4561
|
};
|
|
4560
4562
|
S(ql);
|
|
4561
|
-
const
|
|
4563
|
+
const Ge = {
|
|
4562
4564
|
key: "scene_mesh_v1",
|
|
4563
4565
|
name: "x-runtime-lib.mesh",
|
|
4564
4566
|
comp: fs,
|
|
@@ -4570,7 +4572,7 @@ const He = {
|
|
|
4570
4572
|
methods: [],
|
|
4571
4573
|
slots: []
|
|
4572
4574
|
};
|
|
4573
|
-
S(
|
|
4575
|
+
S(Ge);
|
|
4574
4576
|
function Xl(t, n) {
|
|
4575
4577
|
const e = `type=${t} subtype=${n}`, o = R(t, n);
|
|
4576
4578
|
if (!o) {
|
|
@@ -4749,7 +4751,7 @@ function Ql(t, n) {
|
|
|
4749
4751
|
}
|
|
4750
4752
|
};
|
|
4751
4753
|
}
|
|
4752
|
-
const ea =
|
|
4754
|
+
const ea = F(ee), Wn = {
|
|
4753
4755
|
key: "settings",
|
|
4754
4756
|
name: "x-runtime-lib.settings",
|
|
4755
4757
|
children: [
|
|
@@ -5048,7 +5050,7 @@ const Kn = {
|
|
|
5048
5050
|
leaf: !0
|
|
5049
5051
|
};
|
|
5050
5052
|
S(ia);
|
|
5051
|
-
const sa =
|
|
5053
|
+
const sa = F(ee), Dn = {
|
|
5052
5054
|
key: "settings",
|
|
5053
5055
|
name: "x-runtime-lib.settings",
|
|
5054
5056
|
children: [
|
|
@@ -5147,7 +5149,7 @@ function ra(t, n) {
|
|
|
5147
5149
|
}
|
|
5148
5150
|
const i = A();
|
|
5149
5151
|
W(i, s), i.basic.id = E(16), i.basic.key = Wt.key;
|
|
5150
|
-
const l =
|
|
5152
|
+
const l = Ee(t, n, "chip1", "chip 1"), c = Ee(t, n, "chip2", "chip 2"), m = Ee(t, n, "chip3", "chip 3"), u = Ee(t, n, "chip4", "chip 4"), d = Ee(t, n, "chip5", "chip 5"), p = Ee(t, n, "chip6", "chip 6");
|
|
5151
5153
|
return {
|
|
5152
5154
|
nodeLite: M(i, [
|
|
5153
5155
|
l.nodeLite,
|
|
@@ -5168,7 +5170,7 @@ function ra(t, n) {
|
|
|
5168
5170
|
}
|
|
5169
5171
|
};
|
|
5170
5172
|
}
|
|
5171
|
-
function
|
|
5173
|
+
function Ee(t, n, e, o) {
|
|
5172
5174
|
const s = `type=${t} subtype=${n}`, i = R(t, n);
|
|
5173
5175
|
if (!i) {
|
|
5174
5176
|
console.error(`chipGroupV1/spawnChip property tag not found, ${s}`);
|
|
@@ -5187,7 +5189,7 @@ function Te(t, n, e, o) {
|
|
|
5187
5189
|
}
|
|
5188
5190
|
};
|
|
5189
5191
|
}
|
|
5190
|
-
const
|
|
5192
|
+
const Fn = {
|
|
5191
5193
|
key: "settings",
|
|
5192
5194
|
name: "x-runtime-lib.settings",
|
|
5193
5195
|
children: [
|
|
@@ -5246,8 +5248,8 @@ const On = {
|
|
|
5246
5248
|
name: "x-runtime-lib.chipGroup",
|
|
5247
5249
|
comp: Tr,
|
|
5248
5250
|
properties: {
|
|
5249
|
-
pageCommon: [y,
|
|
5250
|
-
compCommon: [y,
|
|
5251
|
+
pageCommon: [y, Fn],
|
|
5252
|
+
compCommon: [y, Fn]
|
|
5251
5253
|
},
|
|
5252
5254
|
spawn: ra
|
|
5253
5255
|
};
|
|
@@ -5263,7 +5265,7 @@ const la = {
|
|
|
5263
5265
|
leaf: !0
|
|
5264
5266
|
};
|
|
5265
5267
|
S(la);
|
|
5266
|
-
const
|
|
5268
|
+
const On = {
|
|
5267
5269
|
key: "settings",
|
|
5268
5270
|
name: "x-runtime-lib.settings",
|
|
5269
5271
|
children: [
|
|
@@ -5309,13 +5311,13 @@ const Fn = {
|
|
|
5309
5311
|
name: "x-runtime-lib.combobox",
|
|
5310
5312
|
comp: Ar,
|
|
5311
5313
|
properties: {
|
|
5312
|
-
pageCommon: [y,
|
|
5313
|
-
compCommon: [y,
|
|
5314
|
+
pageCommon: [y, On],
|
|
5315
|
+
compCommon: [y, On]
|
|
5314
5316
|
},
|
|
5315
5317
|
leaf: !0
|
|
5316
5318
|
};
|
|
5317
5319
|
S(aa);
|
|
5318
|
-
const dn =
|
|
5320
|
+
const dn = F(ee);
|
|
5319
5321
|
dn.key = "backgroundColor";
|
|
5320
5322
|
dn.name = "x-runtime-lib.backgroundColor";
|
|
5321
5323
|
const Nn = {
|
|
@@ -5357,7 +5359,7 @@ const jn = {
|
|
|
5357
5359
|
default: ""
|
|
5358
5360
|
}
|
|
5359
5361
|
]
|
|
5360
|
-
},
|
|
5362
|
+
}, Hn = {
|
|
5361
5363
|
key: "settings",
|
|
5362
5364
|
name: "x-runtime-lib.settings",
|
|
5363
5365
|
children: [
|
|
@@ -5465,7 +5467,7 @@ const jn = {
|
|
|
5465
5467
|
default: !1
|
|
5466
5468
|
}
|
|
5467
5469
|
]
|
|
5468
|
-
},
|
|
5470
|
+
}, Gn = {
|
|
5469
5471
|
key: "slots",
|
|
5470
5472
|
name: "x-runtime-lib.slots",
|
|
5471
5473
|
children: [
|
|
@@ -5495,8 +5497,8 @@ const jn = {
|
|
|
5495
5497
|
name: "x-runtime-lib.dataTable",
|
|
5496
5498
|
comp: Br,
|
|
5497
5499
|
properties: {
|
|
5498
|
-
pageCommon: [y, jn,
|
|
5499
|
-
compCommon: [y, jn,
|
|
5500
|
+
pageCommon: [y, jn, Hn, Gn],
|
|
5501
|
+
compCommon: [y, jn, Hn, Gn]
|
|
5500
5502
|
},
|
|
5501
5503
|
leaf: !0
|
|
5502
5504
|
};
|
|
@@ -5540,7 +5542,7 @@ const Jn = {
|
|
|
5540
5542
|
}, Cu = {
|
|
5541
5543
|
key: "common_file_input_v1",
|
|
5542
5544
|
name: "x-runtime-lib.fileInput",
|
|
5543
|
-
comp:
|
|
5545
|
+
comp: Fr,
|
|
5544
5546
|
properties: {
|
|
5545
5547
|
pageCommon: [y, Jn],
|
|
5546
5548
|
compCommon: [y, Jn]
|
|
@@ -5671,7 +5673,7 @@ function Kt(t, n, e, o, s, i, l, c, m) {
|
|
|
5671
5673
|
}
|
|
5672
5674
|
};
|
|
5673
5675
|
}
|
|
5674
|
-
const fn =
|
|
5676
|
+
const fn = F(ee);
|
|
5675
5677
|
fn.key = "backgroundColor";
|
|
5676
5678
|
fn.name = "x-runtime-lib.backgroundColor";
|
|
5677
5679
|
const qn = {
|
|
@@ -5847,7 +5849,7 @@ const qn = {
|
|
|
5847
5849
|
}, Ue = {
|
|
5848
5850
|
key: "common_flex_layout_v1",
|
|
5849
5851
|
name: "x-runtime-lib.flexLayout",
|
|
5850
|
-
comp:
|
|
5852
|
+
comp: Or,
|
|
5851
5853
|
properties: {
|
|
5852
5854
|
pageCommon: [y, q, Ae, Me, We, qn],
|
|
5853
5855
|
compCommon: [y, q, Ae, Me, We, qn]
|
|
@@ -6048,13 +6050,13 @@ function fa(t, n) {
|
|
|
6048
6050
|
console.error(`formV1/spawn property tag not found, ${e}`);
|
|
6049
6051
|
return;
|
|
6050
6052
|
}
|
|
6051
|
-
const s =
|
|
6053
|
+
const s = Ft.properties[o];
|
|
6052
6054
|
if (!s) {
|
|
6053
6055
|
console.error(`formV1/spawn properties not found, ${e}`);
|
|
6054
6056
|
return;
|
|
6055
6057
|
}
|
|
6056
6058
|
const i = A();
|
|
6057
|
-
W(i, s), i.basic.id = E(16), i.basic.key =
|
|
6059
|
+
W(i, s), i.basic.id = E(16), i.basic.key = Ft.key;
|
|
6058
6060
|
const l = ya(t, n);
|
|
6059
6061
|
return {
|
|
6060
6062
|
nodeLite: M(i, [l.nodeLite]),
|
|
@@ -6101,7 +6103,7 @@ const Zn = {
|
|
|
6101
6103
|
default: !1
|
|
6102
6104
|
}
|
|
6103
6105
|
]
|
|
6104
|
-
},
|
|
6106
|
+
}, Ft = {
|
|
6105
6107
|
key: "common_form_v1",
|
|
6106
6108
|
name: "x-runtime-lib.form",
|
|
6107
6109
|
comp: jr,
|
|
@@ -6117,8 +6119,8 @@ const Zn = {
|
|
|
6117
6119
|
],
|
|
6118
6120
|
spawn: fa
|
|
6119
6121
|
};
|
|
6120
|
-
S(
|
|
6121
|
-
const ba =
|
|
6122
|
+
S(Ft);
|
|
6123
|
+
const ba = F(ee), Qn = {
|
|
6122
6124
|
key: "settings",
|
|
6123
6125
|
name: "x-runtime-lib.settings",
|
|
6124
6126
|
children: [
|
|
@@ -6146,7 +6148,7 @@ const ba = O(ee), Qn = {
|
|
|
6146
6148
|
}, ga = {
|
|
6147
6149
|
key: "common_icon_v1",
|
|
6148
6150
|
name: "x-runtime-lib.icon",
|
|
6149
|
-
comp:
|
|
6151
|
+
comp: Hr,
|
|
6150
6152
|
properties: {
|
|
6151
6153
|
pageCommon: [y, Qn],
|
|
6152
6154
|
compCommon: [y, Qn]
|
|
@@ -6181,13 +6183,13 @@ function _a(t, n) {
|
|
|
6181
6183
|
console.error(`numberInputV1/spawn property tag not found, ${e}`);
|
|
6182
6184
|
return;
|
|
6183
6185
|
}
|
|
6184
|
-
const s =
|
|
6186
|
+
const s = Ot.properties[o];
|
|
6185
6187
|
if (!s) {
|
|
6186
6188
|
console.error(`numberInputV1/spawn properties not found, ${e}`);
|
|
6187
6189
|
return;
|
|
6188
6190
|
}
|
|
6189
6191
|
const i = A();
|
|
6190
|
-
return W(i, s), i.basic.id = E(16), i.basic.key =
|
|
6192
|
+
return W(i, s), i.basic.id = E(16), i.basic.key = Ot.key, i.settings.label = "label", i.settings.placeholder = "placeholder", {
|
|
6191
6193
|
nodeLite: M(i),
|
|
6192
6194
|
nodes: {
|
|
6193
6195
|
[i.basic.id]: i
|
|
@@ -6361,7 +6363,7 @@ const eo = {
|
|
|
6361
6363
|
]
|
|
6362
6364
|
}
|
|
6363
6365
|
]
|
|
6364
|
-
},
|
|
6366
|
+
}, Ot = {
|
|
6365
6367
|
key: "common_number_input_v1",
|
|
6366
6368
|
name: "x-runtime-lib.numberInput",
|
|
6367
6369
|
comp: Ur,
|
|
@@ -6394,7 +6396,7 @@ const eo = {
|
|
|
6394
6396
|
leaf: !0,
|
|
6395
6397
|
spawn: _a
|
|
6396
6398
|
};
|
|
6397
|
-
S(
|
|
6399
|
+
S(Ot);
|
|
6398
6400
|
const no = {
|
|
6399
6401
|
key: "settings",
|
|
6400
6402
|
name: "x-runtime-lib.settings",
|
|
@@ -6469,7 +6471,7 @@ const no = {
|
|
|
6469
6471
|
leaf: !0
|
|
6470
6472
|
};
|
|
6471
6473
|
S(va);
|
|
6472
|
-
const xa =
|
|
6474
|
+
const xa = F(ee), oo = {
|
|
6473
6475
|
key: "settings",
|
|
6474
6476
|
name: "x-runtime-lib.settings",
|
|
6475
6477
|
children: [
|
|
@@ -6866,13 +6868,13 @@ const lo = {
|
|
|
6866
6868
|
leaf: !0
|
|
6867
6869
|
};
|
|
6868
6870
|
S($a);
|
|
6869
|
-
const yn =
|
|
6871
|
+
const yn = F(ee);
|
|
6870
6872
|
yn.key = "color";
|
|
6871
6873
|
yn.name = "x-runtime-lib.color";
|
|
6872
|
-
const bn =
|
|
6874
|
+
const bn = F(ee);
|
|
6873
6875
|
bn.key = "trackColor";
|
|
6874
6876
|
bn.name = "x-runtime-lib.trackColor";
|
|
6875
|
-
const gn =
|
|
6877
|
+
const gn = F(ee);
|
|
6876
6878
|
gn.key = "thumbColor";
|
|
6877
6879
|
gn.name = "x-runtime-lib.thumbColor";
|
|
6878
6880
|
const ao = {
|
|
@@ -7012,7 +7014,7 @@ const ao = {
|
|
|
7012
7014
|
leaf: !0
|
|
7013
7015
|
};
|
|
7014
7016
|
S(Sa);
|
|
7015
|
-
const
|
|
7017
|
+
const Ht = {
|
|
7016
7018
|
key: "common_stepper_header_v1",
|
|
7017
7019
|
name: "x-runtime-lib.stepperHeader",
|
|
7018
7020
|
comp: sl,
|
|
@@ -7021,7 +7023,7 @@ const Gt = {
|
|
|
7021
7023
|
compCommon: [y]
|
|
7022
7024
|
}
|
|
7023
7025
|
};
|
|
7024
|
-
S(
|
|
7026
|
+
S(Ht);
|
|
7025
7027
|
const uo = {
|
|
7026
7028
|
key: "settings",
|
|
7027
7029
|
name: "x-runtime-lib.settings",
|
|
@@ -7033,7 +7035,7 @@ const uo = {
|
|
|
7033
7035
|
default: ""
|
|
7034
7036
|
}
|
|
7035
7037
|
]
|
|
7036
|
-
},
|
|
7038
|
+
}, Gt = {
|
|
7037
7039
|
key: "common_stepper_item_v1",
|
|
7038
7040
|
name: "x-runtime-lib.stepperItem",
|
|
7039
7041
|
comp: rl,
|
|
@@ -7042,7 +7044,7 @@ const uo = {
|
|
|
7042
7044
|
compCommon: [y, uo]
|
|
7043
7045
|
}
|
|
7044
7046
|
};
|
|
7045
|
-
S(
|
|
7047
|
+
S(Gt);
|
|
7046
7048
|
const Jt = {
|
|
7047
7049
|
key: "common_stepper_window_v1",
|
|
7048
7050
|
name: "x-runtime-lib.stepperWindow",
|
|
@@ -7103,13 +7105,13 @@ function Va(t, n) {
|
|
|
7103
7105
|
console.error(`stepperV1/spawnHeader property tag not found, ${e}`);
|
|
7104
7106
|
return;
|
|
7105
7107
|
}
|
|
7106
|
-
const s =
|
|
7108
|
+
const s = Ht.properties[o];
|
|
7107
7109
|
if (!s) {
|
|
7108
7110
|
console.error(`stepperV1/spawnHeader properties not found, ${e}`);
|
|
7109
7111
|
return;
|
|
7110
7112
|
}
|
|
7111
7113
|
const i = A();
|
|
7112
|
-
W(i, s), i.basic.id = E(16), i.basic.key =
|
|
7114
|
+
W(i, s), i.basic.id = E(16), i.basic.key = Ht.key;
|
|
7113
7115
|
const l = $t(t, n, "step1"), c = $t(t, n, "step2"), m = $t(t, n, "step3");
|
|
7114
7116
|
return {
|
|
7115
7117
|
nodeLite: M(i, [l.nodeLite, c.nodeLite, m.nodeLite]),
|
|
@@ -7127,13 +7129,13 @@ function $t(t, n, e) {
|
|
|
7127
7129
|
console.error(`stepperV1/spawnItem property tag not found, ${o}`);
|
|
7128
7130
|
return;
|
|
7129
7131
|
}
|
|
7130
|
-
const i =
|
|
7132
|
+
const i = Gt.properties[s];
|
|
7131
7133
|
if (!i) {
|
|
7132
7134
|
console.error(`stepperV1/spawnItem properties not found, ${o}`);
|
|
7133
7135
|
return;
|
|
7134
7136
|
}
|
|
7135
7137
|
const l = A();
|
|
7136
|
-
return W(l, i), l.basic.id = E(16), l.basic.key =
|
|
7138
|
+
return W(l, i), l.basic.id = E(16), l.basic.key = Gt.key, l.settings.value = e, {
|
|
7137
7139
|
nodeLite: M(l, []),
|
|
7138
7140
|
nodes: {
|
|
7139
7141
|
[l.basic.id]: l
|
|
@@ -7319,13 +7321,13 @@ function Ct(t, n, e, o) {
|
|
|
7319
7321
|
}
|
|
7320
7322
|
};
|
|
7321
7323
|
}
|
|
7322
|
-
const hn =
|
|
7324
|
+
const hn = F(ee);
|
|
7323
7325
|
hn.key = "backgroundColor";
|
|
7324
7326
|
hn.name = "x-runtime-lib.backgroundColor";
|
|
7325
|
-
const _n =
|
|
7327
|
+
const _n = F(ee);
|
|
7326
7328
|
_n.key = "selectedColor";
|
|
7327
7329
|
_n.name = "x-runtime-lib.selectedColor";
|
|
7328
|
-
const vn =
|
|
7330
|
+
const vn = F(ee);
|
|
7329
7331
|
vn.key = "sliderColor";
|
|
7330
7332
|
vn.name = "x-runtime-lib.sliderColor";
|
|
7331
7333
|
const yo = {
|
|
@@ -7424,13 +7426,13 @@ function Ea(t, n) {
|
|
|
7424
7426
|
console.error(`textV1/spawn property tag not found, ${e}`);
|
|
7425
7427
|
return;
|
|
7426
7428
|
}
|
|
7427
|
-
const s =
|
|
7429
|
+
const s = Le.properties[o];
|
|
7428
7430
|
if (!s) {
|
|
7429
7431
|
console.error(`textV1/spawn properties not found, ${e}`);
|
|
7430
7432
|
return;
|
|
7431
7433
|
}
|
|
7432
7434
|
const i = A();
|
|
7433
|
-
return W(i, s), i.basic.id = E(16), i.basic.key =
|
|
7435
|
+
return W(i, s), i.basic.id = E(16), i.basic.key = Le.key, i.settings.text = "text", {
|
|
7434
7436
|
nodeLite: M(i),
|
|
7435
7437
|
nodes: {
|
|
7436
7438
|
[i.basic.id]: i
|
|
@@ -7523,7 +7525,7 @@ const bo = {
|
|
|
7523
7525
|
default: !1
|
|
7524
7526
|
}
|
|
7525
7527
|
]
|
|
7526
|
-
},
|
|
7528
|
+
}, Le = {
|
|
7527
7529
|
key: "common_text_v1",
|
|
7528
7530
|
name: "x-runtime-lib.text",
|
|
7529
7531
|
comp: fl,
|
|
@@ -7534,7 +7536,7 @@ const bo = {
|
|
|
7534
7536
|
leaf: !0,
|
|
7535
7537
|
spawn: Ea
|
|
7536
7538
|
};
|
|
7537
|
-
S(
|
|
7539
|
+
S(Le);
|
|
7538
7540
|
function Aa(t, n) {
|
|
7539
7541
|
const e = `type=${t} subtype=${n}`, o = R(t, n);
|
|
7540
7542
|
if (!o) {
|
|
@@ -7699,20 +7701,20 @@ function Wa(t, n, e) {
|
|
|
7699
7701
|
console.error(`timelineV1/spawnText property tag not found, ${o}`);
|
|
7700
7702
|
return;
|
|
7701
7703
|
}
|
|
7702
|
-
const i =
|
|
7704
|
+
const i = Le.properties[s];
|
|
7703
7705
|
if (!i) {
|
|
7704
7706
|
console.error(`timelineV1/spawnText properties not found, ${o}`);
|
|
7705
7707
|
return;
|
|
7706
7708
|
}
|
|
7707
7709
|
const l = A();
|
|
7708
|
-
return W(l, i), l.basic.id = E(16), l.basic.key =
|
|
7710
|
+
return W(l, i), l.basic.id = E(16), l.basic.key = Le.key, l.settings.text = e, {
|
|
7709
7711
|
nodeLite: M(l),
|
|
7710
7712
|
nodes: {
|
|
7711
7713
|
[l.basic.id]: l
|
|
7712
7714
|
}
|
|
7713
7715
|
};
|
|
7714
7716
|
}
|
|
7715
|
-
const Ba =
|
|
7717
|
+
const Ba = F(ee), Ra = F(ee), ho = {
|
|
7716
7718
|
key: "settings",
|
|
7717
7719
|
name: "x-runtime-lib.settings",
|
|
7718
7720
|
children: [
|
|
@@ -7872,7 +7874,7 @@ function Da(t, n, e) {
|
|
|
7872
7874
|
}
|
|
7873
7875
|
const l = A();
|
|
7874
7876
|
W(l, i), l.basic.id = E(16), l.basic.key = Ue.key, l.size.height = "200px", l.settings.mainAlign.xs = "center", l.settings.crossAlign.xs = "center", l.settings.backgroundColor.mode = "theme", l.settings.backgroundColor.theme = "background2";
|
|
7875
|
-
const c =
|
|
7877
|
+
const c = Fa(t, n, e);
|
|
7876
7878
|
return {
|
|
7877
7879
|
nodeLite: M(l, [c.nodeLite]),
|
|
7878
7880
|
nodes: {
|
|
@@ -7881,19 +7883,19 @@ function Da(t, n, e) {
|
|
|
7881
7883
|
}
|
|
7882
7884
|
};
|
|
7883
7885
|
}
|
|
7884
|
-
function
|
|
7886
|
+
function Fa(t, n, e) {
|
|
7885
7887
|
const o = `type=${t} subtype=${n}`, s = R(t, n);
|
|
7886
7888
|
if (!s) {
|
|
7887
7889
|
console.error(`windowV1/spawnText property tag not found, ${o}`);
|
|
7888
7890
|
return;
|
|
7889
7891
|
}
|
|
7890
|
-
const i =
|
|
7892
|
+
const i = Le.properties[s];
|
|
7891
7893
|
if (!i) {
|
|
7892
7894
|
console.error(`windowV1/spawnText properties not found, ${o}`);
|
|
7893
7895
|
return;
|
|
7894
7896
|
}
|
|
7895
7897
|
const l = A();
|
|
7896
|
-
return W(l, i), l.basic.id = E(16), l.basic.key =
|
|
7898
|
+
return W(l, i), l.basic.id = E(16), l.basic.key = Le.key, l.settings.text = e, l.settings.style.xs = "h6", {
|
|
7897
7899
|
nodeLite: M(l),
|
|
7898
7900
|
nodes: {
|
|
7899
7901
|
[l.basic.id]: l
|
|
@@ -7977,7 +7979,7 @@ const ot = {
|
|
|
7977
7979
|
default: "",
|
|
7978
7980
|
array: !0,
|
|
7979
7981
|
defaultArray: []
|
|
7980
|
-
},
|
|
7982
|
+
}, Oa = {
|
|
7981
7983
|
key: "multiple_ref_v1",
|
|
7982
7984
|
name: "x-runtime-lib.multipleRef",
|
|
7983
7985
|
comp: Vl,
|
|
@@ -7989,7 +7991,7 @@ const ot = {
|
|
|
7989
7991
|
},
|
|
7990
7992
|
leaf: !0
|
|
7991
7993
|
};
|
|
7992
|
-
S(
|
|
7994
|
+
S(Oa);
|
|
7993
7995
|
const st = {
|
|
7994
7996
|
key: "settings",
|
|
7995
7997
|
name: "x-runtime-lib.settings",
|
|
@@ -8062,7 +8064,7 @@ const vo = {
|
|
|
8062
8064
|
default: !1
|
|
8063
8065
|
}
|
|
8064
8066
|
]
|
|
8065
|
-
},
|
|
8067
|
+
}, Ha = {
|
|
8066
8068
|
key: "render_switch_v1",
|
|
8067
8069
|
name: "x-runtime-lib.renderSwitch",
|
|
8068
8070
|
comp: Tl,
|
|
@@ -8071,7 +8073,7 @@ const vo = {
|
|
|
8071
8073
|
compCommon: [y, vo]
|
|
8072
8074
|
}
|
|
8073
8075
|
};
|
|
8074
|
-
S(
|
|
8076
|
+
S(Ha);
|
|
8075
8077
|
const at = {
|
|
8076
8078
|
key: "settings",
|
|
8077
8079
|
name: "x-runtime-lib.settings",
|
|
@@ -8089,10 +8091,10 @@ const at = {
|
|
|
8089
8091
|
default: void 0
|
|
8090
8092
|
}
|
|
8091
8093
|
]
|
|
8092
|
-
},
|
|
8094
|
+
}, Ga = {
|
|
8093
8095
|
key: "slot_v1",
|
|
8094
8096
|
name: "x-runtime-lib.slot",
|
|
8095
|
-
comp:
|
|
8097
|
+
comp: Pe,
|
|
8096
8098
|
properties: {
|
|
8097
8099
|
pageCommon: [y, q, at],
|
|
8098
8100
|
compCommon: [y, q, at],
|
|
@@ -8101,11 +8103,11 @@ const at = {
|
|
|
8101
8103
|
},
|
|
8102
8104
|
leaf: !0
|
|
8103
8105
|
};
|
|
8104
|
-
S(
|
|
8105
|
-
const
|
|
8106
|
-
|
|
8107
|
-
|
|
8108
|
-
const
|
|
8106
|
+
S(Ga);
|
|
8107
|
+
const Fe = F(ee);
|
|
8108
|
+
Fe.key = "backgroundColor";
|
|
8109
|
+
Fe.name = "x-runtime-lib.backgroundColor";
|
|
8110
|
+
const Oo = {
|
|
8109
8111
|
key: "adaptSlot",
|
|
8110
8112
|
name: "x-runtime-lib.adaptSlot",
|
|
8111
8113
|
ui: "selectAdaptSlot",
|
|
@@ -8113,19 +8115,19 @@ const Fo = {
|
|
|
8113
8115
|
}, Ja = {
|
|
8114
8116
|
key: "settings",
|
|
8115
8117
|
name: "x-runtime-lib.settings",
|
|
8116
|
-
children: [
|
|
8118
|
+
children: [Fe]
|
|
8117
8119
|
}, Ua = {
|
|
8118
8120
|
key: "settings",
|
|
8119
8121
|
name: "x-runtime-lib.settings",
|
|
8120
|
-
children: [
|
|
8122
|
+
children: [Fe, Oo]
|
|
8121
8123
|
}, qa = {
|
|
8122
8124
|
key: "settings",
|
|
8123
8125
|
name: "x-runtime-lib.settings",
|
|
8124
|
-
children: [
|
|
8126
|
+
children: [Fe]
|
|
8125
8127
|
}, Xa = {
|
|
8126
8128
|
key: "settings",
|
|
8127
8129
|
name: "x-runtime-lib.settings",
|
|
8128
|
-
children: [
|
|
8130
|
+
children: [Fe, Oo]
|
|
8129
8131
|
}, Ya = {
|
|
8130
8132
|
key: "startup",
|
|
8131
8133
|
name: "x-runtime-lib.startup"
|
|
@@ -8908,9 +8910,9 @@ function R(t, n) {
|
|
|
8908
8910
|
}
|
|
8909
8911
|
function xo(t, n) {
|
|
8910
8912
|
if (t.array)
|
|
8911
|
-
return n ?
|
|
8913
|
+
return n ? F(t.default) : F(t.defaultArray);
|
|
8912
8914
|
{
|
|
8913
|
-
const e =
|
|
8915
|
+
const e = F(t.default);
|
|
8914
8916
|
return (t.ui === "switch" || t.ui === "select" || t.ui === "colorPicker" || t.ui === "multiTypes" || t.ui === "selectComp" || t.ui === "selectSlot" || t.ui === "selectAdaptSlot") && !e ? void 0 : e;
|
|
8915
8917
|
}
|
|
8916
8918
|
}
|
|
@@ -8944,7 +8946,7 @@ function Vu(t, n, e, o, s) {
|
|
|
8944
8946
|
console.error(`spawnNode [ref] element not found in pkg, ${i}`);
|
|
8945
8947
|
return;
|
|
8946
8948
|
}
|
|
8947
|
-
const d =
|
|
8949
|
+
const d = $e[m];
|
|
8948
8950
|
if (!d) {
|
|
8949
8951
|
console.error(`spawnNode [ref] element not found in global, ${i}`);
|
|
8950
8952
|
return;
|
|
@@ -8967,7 +8969,7 @@ function Vu(t, n, e, o, s) {
|
|
|
8967
8969
|
console.error(`spawnNode [key] element not found in pkg, ${i}`);
|
|
8968
8970
|
return;
|
|
8969
8971
|
}
|
|
8970
|
-
const u =
|
|
8972
|
+
const u = $e[m];
|
|
8971
8973
|
if (!u) {
|
|
8972
8974
|
console.error(`spawnNode [key] element not found in global, ${i}`);
|
|
8973
8975
|
return;
|
|
@@ -9009,26 +9011,26 @@ function Pu(t, n) {
|
|
|
9009
9011
|
return s;
|
|
9010
9012
|
}
|
|
9011
9013
|
}
|
|
9012
|
-
function
|
|
9014
|
+
function Fc(t) {
|
|
9013
9015
|
const n = {}, e = (i) => {
|
|
9014
9016
|
const l = E(16);
|
|
9015
9017
|
n[i.id] = l, i.id = l, i.children?.map((c) => e(c));
|
|
9016
|
-
}, o =
|
|
9018
|
+
}, o = F(t.nodeLite);
|
|
9017
9019
|
e(o);
|
|
9018
9020
|
const s = {};
|
|
9019
9021
|
return Object.values(t.nodes).forEach((i) => {
|
|
9020
|
-
const l =
|
|
9022
|
+
const l = F(i);
|
|
9021
9023
|
l.basic.id = n[l.basic.id], s[l.basic.id] = l;
|
|
9022
9024
|
}), { nodeLite: o, nodes: s };
|
|
9023
9025
|
}
|
|
9024
9026
|
function Lu(t) {
|
|
9025
|
-
return t.map((n) =>
|
|
9027
|
+
return t.map((n) => Fc(n));
|
|
9026
9028
|
}
|
|
9027
|
-
const No = "runtimeOrg", jo = "runtimeEnv",
|
|
9029
|
+
const No = "runtimeOrg", jo = "runtimeEnv", Ho = "runtimeMode", Go = "runtimeDevice", Jo = "runtimeDark", Uo = "runtimeId", qo = "runtimeType", Xo = "runtimeData", Yo = "runtimeDepends", Zo = "runtimeRuntime", Qo = "runtimeSandbox";
|
|
9028
9030
|
function zu(t) {
|
|
9029
9031
|
ye(No, t);
|
|
9030
9032
|
}
|
|
9031
|
-
function
|
|
9033
|
+
function Oc() {
|
|
9032
9034
|
return fe(No);
|
|
9033
9035
|
}
|
|
9034
9036
|
function Tu(t) {
|
|
@@ -9038,16 +9040,16 @@ function Nc() {
|
|
|
9038
9040
|
return fe(jo);
|
|
9039
9041
|
}
|
|
9040
9042
|
function Eu(t) {
|
|
9041
|
-
ye(
|
|
9043
|
+
ye(Ho, t);
|
|
9042
9044
|
}
|
|
9043
9045
|
function Z() {
|
|
9044
|
-
return fe(
|
|
9046
|
+
return fe(Ho);
|
|
9045
9047
|
}
|
|
9046
9048
|
function Au(t) {
|
|
9047
|
-
ye(
|
|
9049
|
+
ye(Go, rn(t));
|
|
9048
9050
|
}
|
|
9049
|
-
function
|
|
9050
|
-
return fe(
|
|
9051
|
+
function Oe() {
|
|
9052
|
+
return fe(Go);
|
|
9051
9053
|
}
|
|
9052
9054
|
function Mu(t) {
|
|
9053
9055
|
ye(Jo, rn(t));
|
|
@@ -9064,10 +9066,10 @@ function Qe() {
|
|
|
9064
9066
|
function Bu(t) {
|
|
9065
9067
|
ye(qo, t);
|
|
9066
9068
|
}
|
|
9067
|
-
function
|
|
9069
|
+
function Ce() {
|
|
9068
9070
|
return fe(qo);
|
|
9069
9071
|
}
|
|
9070
|
-
function
|
|
9072
|
+
function ze(t) {
|
|
9071
9073
|
ye(Xo, t);
|
|
9072
9074
|
}
|
|
9073
9075
|
function re() {
|
|
@@ -9082,10 +9084,10 @@ function jc() {
|
|
|
9082
9084
|
function Ku(t) {
|
|
9083
9085
|
ye(Zo, t);
|
|
9084
9086
|
}
|
|
9085
|
-
function
|
|
9087
|
+
function Hc() {
|
|
9086
9088
|
return fe(Zo);
|
|
9087
9089
|
}
|
|
9088
|
-
function
|
|
9090
|
+
function Gc(t) {
|
|
9089
9091
|
ye(Qo, t);
|
|
9090
9092
|
}
|
|
9091
9093
|
function _e() {
|
|
@@ -9095,12 +9097,12 @@ function je(t) {
|
|
|
9095
9097
|
const n = [t.type];
|
|
9096
9098
|
return t.type === "elementProperty" ? n.push(t.nodeId, t.propertyKeys) : t.type === "customProperty" || t.type === "customSlotProperty" ? n.push(t.propertyId) : t.type === "state" ? n.push(t.stateId) : console.assert(!1), n.join("/");
|
|
9097
9099
|
}
|
|
9098
|
-
function ct(t, n, e, o, s) {
|
|
9100
|
+
async function ct(t, n, e, o, s) {
|
|
9099
9101
|
const { watchEffect: i, bind: l } = n;
|
|
9100
9102
|
if (i[e])
|
|
9101
9103
|
for (const c of i[e]) {
|
|
9102
9104
|
const m = Vi(c);
|
|
9103
|
-
t.
|
|
9105
|
+
await t.callFunctionAsync(`__watchEffect$${m}__`);
|
|
9104
9106
|
}
|
|
9105
9107
|
if (l.triggers[e])
|
|
9106
9108
|
for (const c of l.triggers[e]) {
|
|
@@ -9114,8 +9116,8 @@ function ct(t, n, e, o, s) {
|
|
|
9114
9116
|
if (e === je(p)) {
|
|
9115
9117
|
if (p.subKeys) {
|
|
9116
9118
|
if (!me(
|
|
9117
|
-
|
|
9118
|
-
|
|
9119
|
+
Ve(o, p.subKeys),
|
|
9120
|
+
Ve(s, p.subKeys)
|
|
9119
9121
|
)) {
|
|
9120
9122
|
u = p;
|
|
9121
9123
|
break;
|
|
@@ -9128,7 +9130,7 @@ function ct(t, n, e, o, s) {
|
|
|
9128
9130
|
if (!u)
|
|
9129
9131
|
continue;
|
|
9130
9132
|
let d;
|
|
9131
|
-
u.subKeys ? d =
|
|
9133
|
+
u.subKeys ? d = Ve(o, u.subKeys) : d = o;
|
|
9132
9134
|
for (const p of m)
|
|
9133
9135
|
if (p.subKeys) {
|
|
9134
9136
|
let f;
|
|
@@ -9147,15 +9149,15 @@ function ct(t, n, e, o, s) {
|
|
|
9147
9149
|
console.assert(!1);
|
|
9148
9150
|
continue;
|
|
9149
9151
|
}
|
|
9150
|
-
const
|
|
9151
|
-
if (me(d,
|
|
9152
|
+
const b = Ve(f, p.subKeys);
|
|
9153
|
+
if (me(d, b))
|
|
9152
9154
|
continue;
|
|
9153
|
-
const
|
|
9154
|
-
an(
|
|
9155
|
+
const _ = F(f);
|
|
9156
|
+
an(_, p.subKeys, F(d)), p.type === "elementProperty" ? t.setElementProperty(
|
|
9155
9157
|
p.nodeId,
|
|
9156
9158
|
p.propertyKeys.split("."),
|
|
9157
|
-
|
|
9158
|
-
) : p.type === "customProperty" ? t.setCustomProperty(p.propertyId,
|
|
9159
|
+
_
|
|
9160
|
+
) : p.type === "customProperty" ? t.setCustomProperty(p.propertyId, _) : p.type === "customSlotProperty" ? t.setCustomSlotProperty(p.propertyId, _) : p.type === "state" ? t.setState(p.stateId, _) : console.assert(!1);
|
|
9159
9161
|
} else {
|
|
9160
9162
|
let f;
|
|
9161
9163
|
if (p.type === "elementProperty")
|
|
@@ -9178,8 +9180,8 @@ function ct(t, n, e, o, s) {
|
|
|
9178
9180
|
p.type === "elementProperty" ? t.setElementProperty(
|
|
9179
9181
|
p.nodeId,
|
|
9180
9182
|
p.propertyKeys.split("."),
|
|
9181
|
-
|
|
9182
|
-
) : p.type === "customProperty" ? t.setCustomProperty(p.propertyId,
|
|
9183
|
+
F(d)
|
|
9184
|
+
) : p.type === "customProperty" ? t.setCustomProperty(p.propertyId, F(d)) : p.type === "customSlotProperty" ? t.setCustomSlotProperty(p.propertyId, F(d)) : p.type === "state" ? t.setState(p.stateId, F(d)) : console.assert(!1);
|
|
9183
9185
|
}
|
|
9184
9186
|
}
|
|
9185
9187
|
}
|
|
@@ -9195,10 +9197,10 @@ function ko(t) {
|
|
|
9195
9197
|
let s = "";
|
|
9196
9198
|
return n.length > 2 ? s = n[2] : console.error(`unwrapPropertyId invalid propertyKey id=${t}`), { kind: e, nodeId: o, propertyKey: s };
|
|
9197
9199
|
}
|
|
9198
|
-
function
|
|
9200
|
+
function Fu(t, n, e) {
|
|
9199
9201
|
return `${t}.${n}.${e}`;
|
|
9200
9202
|
}
|
|
9201
|
-
function
|
|
9203
|
+
function Ou(t) {
|
|
9202
9204
|
const n = t.split(".");
|
|
9203
9205
|
let e = "";
|
|
9204
9206
|
n.length > 0 ? e = n[0] : console.error(
|
|
@@ -9239,10 +9241,10 @@ function Uc(t) {
|
|
|
9239
9241
|
let s = "";
|
|
9240
9242
|
return n.length > 2 ? s = n[2] : console.error(`unwrapMethodId invalid methodKey id=${t}`), { kind: e, nodeId: o, methodKey: s };
|
|
9241
9243
|
}
|
|
9242
|
-
function
|
|
9244
|
+
function Hu(t, n, e) {
|
|
9243
9245
|
return `${t}.${n}.${e}`;
|
|
9244
9246
|
}
|
|
9245
|
-
function
|
|
9247
|
+
function Gu(t) {
|
|
9246
9248
|
const n = t.split(".");
|
|
9247
9249
|
let e = "";
|
|
9248
9250
|
n.length > 0 ? e = n[0] : console.error(`unwrapMethodKeyOfElementSlot invalid elementKey key=${t}`);
|
|
@@ -9313,7 +9315,7 @@ function em(t) {
|
|
|
9313
9315
|
}
|
|
9314
9316
|
function et(t, n) {
|
|
9315
9317
|
const e = jc(), o = ie(-1);
|
|
9316
|
-
|
|
9318
|
+
Ie(() => {
|
|
9317
9319
|
if (!t.value) {
|
|
9318
9320
|
o.value = -1, n.value = void 0;
|
|
9319
9321
|
return;
|
|
@@ -9323,46 +9325,47 @@ function et(t, n) {
|
|
|
9323
9325
|
o.value = -1, n.value = void 0, Po.emit("compNotAvail", t.value);
|
|
9324
9326
|
return;
|
|
9325
9327
|
}
|
|
9326
|
-
o.value !== s.dataSeq && (o.value = s.dataSeq, n.value =
|
|
9328
|
+
o.value !== s.dataSeq && (o.value = s.dataSeq, n.value = F(s.data));
|
|
9327
9329
|
});
|
|
9328
9330
|
}
|
|
9329
9331
|
function tm() {
|
|
9330
9332
|
let t;
|
|
9331
9333
|
const n = async () => (t = (await Pi()).newRuntime(), console.log("runtime created"), t);
|
|
9332
|
-
return
|
|
9334
|
+
return Se(() => {
|
|
9333
9335
|
t && (t.dispose(), console.log("runtime dispose"));
|
|
9334
9336
|
}), { createRuntime: n };
|
|
9335
9337
|
}
|
|
9336
9338
|
function Be(t) {
|
|
9337
9339
|
return !!t.vm;
|
|
9338
9340
|
}
|
|
9339
|
-
function
|
|
9341
|
+
function ve(t, n) {
|
|
9342
|
+
if (n === void 0)
|
|
9343
|
+
return t.undefined;
|
|
9340
9344
|
if (n === null)
|
|
9341
9345
|
return t.null;
|
|
9342
9346
|
if (n === !0)
|
|
9343
9347
|
return t.true;
|
|
9344
9348
|
if (n === !1)
|
|
9345
9349
|
return t.false;
|
|
9346
|
-
if (Array.isArray(n)) {
|
|
9347
|
-
const e = t.newArray();
|
|
9348
|
-
for (let o = 0; o < n.length; o++) {
|
|
9349
|
-
const s = Ee(t, n[o]);
|
|
9350
|
-
t.setProp(e, o.toString(), s), s.dispose();
|
|
9351
|
-
}
|
|
9352
|
-
return e;
|
|
9353
|
-
}
|
|
9354
9350
|
switch (typeof n) {
|
|
9355
9351
|
case "string":
|
|
9356
9352
|
return t.newString(n);
|
|
9357
9353
|
case "number":
|
|
9358
9354
|
return t.newNumber(n);
|
|
9359
9355
|
case "object": {
|
|
9360
|
-
const
|
|
9361
|
-
for (const
|
|
9362
|
-
|
|
9363
|
-
|
|
9356
|
+
const l = t.newObject();
|
|
9357
|
+
for (const c of Object.keys(n)) {
|
|
9358
|
+
var e = [];
|
|
9359
|
+
try {
|
|
9360
|
+
const m = ke(e, ve(t, n[c]));
|
|
9361
|
+
t.setProp(l, c, m);
|
|
9362
|
+
} catch (o) {
|
|
9363
|
+
var s = o, i = !0;
|
|
9364
|
+
} finally {
|
|
9365
|
+
we(e, s, i);
|
|
9366
|
+
}
|
|
9364
9367
|
}
|
|
9365
|
-
return
|
|
9368
|
+
return l;
|
|
9366
9369
|
}
|
|
9367
9370
|
default:
|
|
9368
9371
|
return t.undefined;
|
|
@@ -9413,13 +9416,13 @@ function Xc(t) {
|
|
|
9413
9416
|
if (Be(t)) {
|
|
9414
9417
|
var l = [];
|
|
9415
9418
|
try {
|
|
9416
|
-
const d =
|
|
9419
|
+
const d = ke(l, n.getProp(n.global, "__timeoutCallback__"));
|
|
9417
9420
|
n.callFunction(d, n.undefined, n.newNumber(s)).unwrap().dispose();
|
|
9418
9421
|
n.runtime.executePendingJobs();
|
|
9419
9422
|
} catch (c) {
|
|
9420
9423
|
var m = c, u = !0;
|
|
9421
9424
|
} finally {
|
|
9422
|
-
|
|
9425
|
+
we(l, m, u);
|
|
9423
9426
|
}
|
|
9424
9427
|
}
|
|
9425
9428
|
}, i);
|
|
@@ -9447,25 +9450,22 @@ function Zc(t) {
|
|
|
9447
9450
|
return;
|
|
9448
9451
|
}
|
|
9449
9452
|
const { vm: n } = t;
|
|
9450
|
-
n.newFunction(
|
|
9451
|
-
|
|
9452
|
-
(
|
|
9453
|
-
|
|
9454
|
-
|
|
9455
|
-
|
|
9456
|
-
|
|
9457
|
-
|
|
9458
|
-
|
|
9459
|
-
|
|
9460
|
-
|
|
9461
|
-
|
|
9462
|
-
},
|
|
9463
|
-
|
|
9464
|
-
|
|
9465
|
-
|
|
9466
|
-
), g.settled.then(n.runtime.executePendingJobs), g.handle;
|
|
9467
|
-
}
|
|
9468
|
-
).consume((e) => n.setProp(n.global, "__callFuncV1__", e));
|
|
9453
|
+
n.newFunction("__callFuncV1__", (e, o, s, i, l) => {
|
|
9454
|
+
const c = n.getString(e), m = n.getString(o), u = n.dump(s), d = n.getString(i), p = n.getString(l), { promiseId: f, promise: b } = t.promiseManager.acquire(), _ = JSON.stringify(u);
|
|
9455
|
+
return Yc({
|
|
9456
|
+
spaceId: c,
|
|
9457
|
+
id: m,
|
|
9458
|
+
strInputs: _,
|
|
9459
|
+
env: d
|
|
9460
|
+
}).then(
|
|
9461
|
+
({ strOutputs: k }) => {
|
|
9462
|
+
Be(t) && (b.resolve(n.evalCode(`JSON.parse('${k}')`).unwrap()), t.promiseManager.release(f));
|
|
9463
|
+
},
|
|
9464
|
+
(k) => {
|
|
9465
|
+
Be(t) && (b.reject(n.newString(`call func <${p}> failed, ${k}`)), t.promiseManager.release(f));
|
|
9466
|
+
}
|
|
9467
|
+
), b.settled.then(n.runtime.executePendingJobs), b.handle;
|
|
9468
|
+
}).consume((e) => n.setProp(n.global, "__callFuncV1__", e));
|
|
9469
9469
|
}
|
|
9470
9470
|
function Qc(t) {
|
|
9471
9471
|
if (!t.vm) {
|
|
@@ -9481,55 +9481,21 @@ function eu(t) {
|
|
|
9481
9481
|
return;
|
|
9482
9482
|
}
|
|
9483
9483
|
const { vm: n } = t;
|
|
9484
|
-
n.newFunction("__triggerEventV1__", (e, ...
|
|
9485
|
-
|
|
9486
|
-
|
|
9487
|
-
|
|
9488
|
-
|
|
9489
|
-
|
|
9490
|
-
|
|
9491
|
-
|
|
9492
|
-
|
|
9493
|
-
|
|
9494
|
-
|
|
9495
|
-
|
|
9496
|
-
|
|
9497
|
-
|
|
9498
|
-
|
|
9499
|
-
const { vm: _ } = t.parent;
|
|
9500
|
-
if (_) {
|
|
9501
|
-
{
|
|
9502
|
-
var p = [];
|
|
9503
|
-
try {
|
|
9504
|
-
const z = ve(p, _.getProp(_.global, "__triggerEventV1__"));
|
|
9505
|
-
const T = ve(p, _.newString(
|
|
9506
|
-
ae("refEvent", t.nodeId, l)
|
|
9507
|
-
));
|
|
9508
|
-
_.callFunction(z, _.undefined, T, ...o).unwrap().dispose();
|
|
9509
|
-
_.runtime.executePendingJobs();
|
|
9510
|
-
} catch (f) {
|
|
9511
|
-
var g = f, v = !0;
|
|
9512
|
-
} finally {
|
|
9513
|
-
Se(p, g, v);
|
|
9514
|
-
}
|
|
9515
|
-
}
|
|
9516
|
-
{
|
|
9517
|
-
var w = [];
|
|
9518
|
-
try {
|
|
9519
|
-
const z = ve(w, _.getProp(_.global, "__triggerEventV1__"));
|
|
9520
|
-
const T = ve(w, _.newString(
|
|
9521
|
-
ae("multipleRefEvent", t.nodeId, l)
|
|
9522
|
-
));
|
|
9523
|
-
_.callFunction(z, _.undefined, T, ...o).unwrap().dispose();
|
|
9524
|
-
_.runtime.executePendingJobs();
|
|
9525
|
-
} catch (b) {
|
|
9526
|
-
var x = b, h = !0;
|
|
9527
|
-
} finally {
|
|
9528
|
-
Se(w, x, h);
|
|
9529
|
-
}
|
|
9530
|
-
}
|
|
9531
|
-
}
|
|
9532
|
-
}
|
|
9484
|
+
n.newFunction("__triggerEventV1__", (e, o, ...s) => {
|
|
9485
|
+
const i = n.getString(e), l = n.getString(o), c = s.map((d) => n.dump(d));
|
|
9486
|
+
t.callFunctionAsync("__triggerEventInner__", i, l, c);
|
|
9487
|
+
const { kind: m, eventKey: u } = qc(i);
|
|
9488
|
+
m === "customEvent" && t.parent && (t.parent.callFunctionAsync(
|
|
9489
|
+
"__triggerEventV1__",
|
|
9490
|
+
ae("refEvent", t.nodeId, u),
|
|
9491
|
+
"",
|
|
9492
|
+
...c
|
|
9493
|
+
), t.parent.callFunctionAsync(
|
|
9494
|
+
"__triggerEventV1__",
|
|
9495
|
+
ae("multipleRefEvent", t.nodeId, u),
|
|
9496
|
+
t.instance,
|
|
9497
|
+
...c
|
|
9498
|
+
));
|
|
9533
9499
|
}).consume((e) => n.setProp(n.global, "__triggerEventV1__", e)), n.newFunction("__getPropertyV1__", (e, o) => {
|
|
9534
9500
|
const s = n.getString(e), i = n.getString(o), { kind: l, nodeId: c, propertyKey: m } = ko(s);
|
|
9535
9501
|
let u;
|
|
@@ -9548,68 +9514,89 @@ function eu(t) {
|
|
|
9548
9514
|
const d = t.children[`${c}/${i}`];
|
|
9549
9515
|
d && (u = d.getCustomSlotProperty(m));
|
|
9550
9516
|
} else l === "customProperty" ? u = t.getCustomProperty(m) : l === "adaptSlotElementProperty" || l === "adaptSlotCustomProperty" ? u = t.parent?.getCustomSlotProperty(m) : console.assert(!1);
|
|
9551
|
-
return
|
|
9552
|
-
}).consume((e) => n.setProp(n.global, "__getPropertyV1__", e)), n.newFunction(
|
|
9553
|
-
|
|
9554
|
-
(
|
|
9555
|
-
|
|
9556
|
-
|
|
9557
|
-
|
|
9558
|
-
|
|
9559
|
-
|
|
9560
|
-
|
|
9561
|
-
|
|
9562
|
-
|
|
9563
|
-
|
|
9564
|
-
|
|
9565
|
-
|
|
9566
|
-
|
|
9567
|
-
|
|
9568
|
-
|
|
9569
|
-
|
|
9570
|
-
|
|
9571
|
-
|
|
9572
|
-
|
|
9573
|
-
|
|
9574
|
-
|
|
9575
|
-
|
|
9576
|
-
|
|
9577
|
-
|
|
9578
|
-
|
|
9579
|
-
|
|
9580
|
-
|
|
9581
|
-
|
|
9582
|
-
|
|
9583
|
-
|
|
9584
|
-
|
|
9585
|
-
|
|
9586
|
-
|
|
9587
|
-
|
|
9588
|
-
|
|
9589
|
-
|
|
9590
|
-
|
|
9591
|
-
|
|
9592
|
-
|
|
9593
|
-
|
|
9594
|
-
|
|
9595
|
-
|
|
9596
|
-
|
|
9597
|
-
|
|
9598
|
-
|
|
9599
|
-
|
|
9600
|
-
|
|
9601
|
-
|
|
9602
|
-
|
|
9603
|
-
|
|
9604
|
-
|
|
9605
|
-
|
|
9606
|
-
|
|
9607
|
-
|
|
9608
|
-
|
|
9609
|
-
|
|
9610
|
-
|
|
9517
|
+
return ve(n, u);
|
|
9518
|
+
}).consume((e) => n.setProp(n.global, "__getPropertyV1__", e)), n.newFunction("__setPropertyV1__", (e, o, s) => {
|
|
9519
|
+
const i = n.getString(e), l = n.dump(o), c = n.getString(s), { promiseId: m, promise: u } = t.promiseManager.acquire(), { kind: d, nodeId: p, propertyKey: f } = ko(i);
|
|
9520
|
+
if (d === "elementProperty")
|
|
9521
|
+
t.setElementProperty(p, f.split("."), l);
|
|
9522
|
+
else if (d === "refProperty") {
|
|
9523
|
+
const b = t.children[p];
|
|
9524
|
+
b && b.setCustomProperty(f, l);
|
|
9525
|
+
} else if (d === "multipleRefProperty") {
|
|
9526
|
+
const b = t.children[`${p}/${c}`];
|
|
9527
|
+
b && b.setCustomProperty(f, l);
|
|
9528
|
+
} else if (d === "slotProperty") {
|
|
9529
|
+
const b = t.children[p];
|
|
9530
|
+
b && b.setCustomSlotProperty(f, l);
|
|
9531
|
+
} else if (d === "multipleSlotProperty") {
|
|
9532
|
+
const b = t.children[`${p}/${c}`];
|
|
9533
|
+
b && b.setCustomSlotProperty(f, l);
|
|
9534
|
+
} else d === "customProperty" ? t.setCustomProperty(f, l) : d === "adaptSlotElementProperty" || d === "adaptSlotCustomProperty" ? t.parent.setCustomSlotProperty(f, l) : console.assert(!1);
|
|
9535
|
+
return on().then(() => {
|
|
9536
|
+
u.resolve(n.undefined), t.promiseManager.release(m);
|
|
9537
|
+
}), u.settled.then(n.runtime.executePendingJobs), u.handle;
|
|
9538
|
+
}).consume((e) => n.setProp(n.global, "__setPropertyV1__", e)), n.newFunction("__callMethodV1__", (e, o, s) => {
|
|
9539
|
+
const i = n.getString(e), l = n.getString(o), c = n.dump(s), { promiseId: m, promise: u } = t.promiseManager.acquire(), { kind: d, nodeId: p, methodKey: f } = Uc(i);
|
|
9540
|
+
if (d === "elementMethod")
|
|
9541
|
+
t.callElementMethod(i, f, c).then((b) => {
|
|
9542
|
+
u.resolve(ve(n, b)), t.promiseManager.release(m);
|
|
9543
|
+
});
|
|
9544
|
+
else if (d === "refMethod") {
|
|
9545
|
+
const b = t.children[p];
|
|
9546
|
+
b && b.callFunctionAsync(
|
|
9547
|
+
`__implementMethod$customMethod$globality$${f}__`,
|
|
9548
|
+
l,
|
|
9549
|
+
c
|
|
9550
|
+
).then((_) => {
|
|
9551
|
+
var g = [];
|
|
9552
|
+
try {
|
|
9553
|
+
const k = ke(g, ve(n, _));
|
|
9554
|
+
u.resolve(k);
|
|
9555
|
+
t.promiseManager.release(m);
|
|
9556
|
+
} catch (x) {
|
|
9557
|
+
var h = x, v = !0;
|
|
9558
|
+
} finally {
|
|
9559
|
+
we(g, h, v);
|
|
9560
|
+
}
|
|
9561
|
+
});
|
|
9562
|
+
} else if (d === "multipleRefMethod") {
|
|
9563
|
+
const b = t.children[`${p}/${l}`];
|
|
9564
|
+
b && b.callFunctionAsync(
|
|
9565
|
+
`__implementMethod$customMethod$globality$${f}__`,
|
|
9566
|
+
l,
|
|
9567
|
+
c
|
|
9568
|
+
).then((_) => {
|
|
9569
|
+
var g = [];
|
|
9570
|
+
try {
|
|
9571
|
+
const k = ke(g, ve(n, _));
|
|
9572
|
+
u.resolve(k);
|
|
9573
|
+
t.promiseManager.release(m);
|
|
9574
|
+
} catch (x) {
|
|
9575
|
+
var h = x, v = !0;
|
|
9576
|
+
} finally {
|
|
9577
|
+
we(g, h, v);
|
|
9578
|
+
}
|
|
9579
|
+
});
|
|
9580
|
+
} else d === "slotMethod" || d === "multipleSlotMethod" || d === "customMethod" || d === "adaptSlotElementMethod" || (d === "adaptSlotCustomMethod" ? t.parent && t.parent.callFunctionAsync(
|
|
9581
|
+
`__implementMethod$customMethod$globality$${f}__`,
|
|
9582
|
+
l,
|
|
9583
|
+
c
|
|
9584
|
+
).then((b) => {
|
|
9585
|
+
var k = [];
|
|
9586
|
+
try {
|
|
9587
|
+
const _ = ke(k, ve(n, b));
|
|
9588
|
+
u.resolve(_);
|
|
9589
|
+
t.promiseManager.release(m);
|
|
9590
|
+
} catch (g) {
|
|
9591
|
+
var x = g, h = !0;
|
|
9592
|
+
} finally {
|
|
9593
|
+
we(k, x, h);
|
|
9594
|
+
}
|
|
9595
|
+
}) : console.assert(!1));
|
|
9596
|
+
return u.settled.then(n.runtime.executePendingJobs), u.handle;
|
|
9597
|
+
}).consume((e) => n.setProp(n.global, "__callMethodV1__", e)), n.newFunction("__getStateV1__", (e) => {
|
|
9611
9598
|
const o = n.getString(e), s = t.getState(o);
|
|
9612
|
-
return
|
|
9599
|
+
return ve(n, s);
|
|
9613
9600
|
}).consume((e) => n.setProp(n.global, "__getStateV1__", e)), n.newFunction("__setStateV1__", (e, o) => {
|
|
9614
9601
|
const s = n.getString(e), i = n.dump(o);
|
|
9615
9602
|
t.setState(s, i);
|
|
@@ -9632,15 +9619,12 @@ function eu(t) {
|
|
|
9632
9619
|
return ci({ title: s, text: i }).then((m) => {
|
|
9633
9620
|
Be(t) && (m === void 0 ? c.resolve(n.undefined) : c.resolve(m ? n.true : n.false), t.promiseManager.release(l));
|
|
9634
9621
|
}), c.settled.then(n.runtime.executePendingJobs), c.handle;
|
|
9635
|
-
}).consume((e) => n.setProp(n.global, "__openConfirmDlgV1__", e)), n.newFunction(
|
|
9636
|
-
|
|
9637
|
-
(
|
|
9638
|
-
|
|
9639
|
-
|
|
9640
|
-
|
|
9641
|
-
}), u.settled.then(n.runtime.executePendingJobs), u.handle;
|
|
9642
|
-
}
|
|
9643
|
-
).consume((e) => n.setProp(n.global, "__openPromptDlgV1__", e));
|
|
9622
|
+
}).consume((e) => n.setProp(n.global, "__openConfirmDlgV1__", e)), n.newFunction("__openPromptDlgV1__", (e, o, s) => {
|
|
9623
|
+
const i = n.getString(e), l = n.getString(o), c = n.dump(s), { promiseId: m, promise: u } = t.promiseManager.acquire();
|
|
9624
|
+
return ui({ title: i, label: l, value: c }).then((d) => {
|
|
9625
|
+
Be(t) && (d === void 0 ? u.resolve(n.undefined) : u.resolve(n.newString(d)), t.promiseManager.release(m));
|
|
9626
|
+
}), u.settled.then(n.runtime.executePendingJobs), u.handle;
|
|
9627
|
+
}).consume((e) => n.setProp(n.global, "__openPromptDlgV1__", e));
|
|
9644
9628
|
}
|
|
9645
9629
|
function tu(t) {
|
|
9646
9630
|
Xc(t), Zc(t), Qc(t), eu(t);
|
|
@@ -9731,8 +9715,8 @@ function __destroy__() {
|
|
|
9731
9715
|
`;
|
|
9732
9716
|
class ou {
|
|
9733
9717
|
vm;
|
|
9734
|
-
promiseId = 0;
|
|
9735
9718
|
promises = {};
|
|
9719
|
+
currPromiseId = 0;
|
|
9736
9720
|
constructor(n) {
|
|
9737
9721
|
this.vm = n;
|
|
9738
9722
|
}
|
|
@@ -9740,7 +9724,7 @@ class ou {
|
|
|
9740
9724
|
Object.values(this.promises).forEach((n) => n.dispose());
|
|
9741
9725
|
}
|
|
9742
9726
|
acquire() {
|
|
9743
|
-
const n = this.
|
|
9727
|
+
const n = this.currPromiseId++, e = this.vm.newPromise();
|
|
9744
9728
|
return this.promises[n] = e, { promiseId: n, promise: e };
|
|
9745
9729
|
}
|
|
9746
9730
|
release(n) {
|
|
@@ -9787,34 +9771,63 @@ class iu {
|
|
|
9787
9771
|
vm;
|
|
9788
9772
|
promiseManager;
|
|
9789
9773
|
async createVm(n, e) {
|
|
9790
|
-
this.vm = n.newContext(), this.promiseManager = new ou(this.vm), tu(this), this.vm.evalCode(nu), this.vm.setProp(this.vm.global, "__env__", this.vm.newString(this.env)), this.vm.evalCode(e), this.
|
|
9774
|
+
this.vm = n.newContext(), this.promiseManager = new ou(this.vm), tu(this), this.vm.evalCode(nu), this.vm.setProp(this.vm.global, "__env__", this.vm.newString(this.env)), this.vm.evalCode(e), await this.callFunctionAsync(
|
|
9791
9775
|
"__triggerEventV1__",
|
|
9792
|
-
ae("elementEvent", "globality", "startup")
|
|
9776
|
+
ae("elementEvent", "globality", "startup"),
|
|
9777
|
+
""
|
|
9793
9778
|
);
|
|
9794
9779
|
}
|
|
9795
9780
|
destroyVm() {
|
|
9796
|
-
this.
|
|
9781
|
+
this.callFunctionSync("__destroy__"), this.promiseManager && (this.promiseManager.dispose(), this.promiseManager = void 0), this.vm && (this.vm.dispose(), this.vm = void 0);
|
|
9797
9782
|
}
|
|
9798
|
-
|
|
9799
|
-
var
|
|
9783
|
+
callFunctionSync(n, ...e) {
|
|
9784
|
+
var m = [];
|
|
9800
9785
|
try {
|
|
9801
|
-
|
|
9786
|
+
const { vm: o } = this;
|
|
9787
|
+
if (!o)
|
|
9802
9788
|
return;
|
|
9803
|
-
|
|
9804
|
-
|
|
9805
|
-
);
|
|
9806
|
-
|
|
9807
|
-
|
|
9808
|
-
|
|
9789
|
+
const s = `${n}(${e.map((f) => JSON.stringify(f)).join(", ")}`;
|
|
9790
|
+
this.debugTrace(`callFunctionSync <begin> ${s})`);
|
|
9791
|
+
const i = ke(m, o.getProp(o.global, n));
|
|
9792
|
+
if (!i) {
|
|
9793
|
+
console.error(`callFunctionSync function<${n}> not available`);
|
|
9794
|
+
return;
|
|
9795
|
+
}
|
|
9796
|
+
const l = e.map((f) => ve(o, f));
|
|
9797
|
+
const c = o.unwrapResult(o.callFunction(i, o.undefined, ...l)).consume((f) => o.dump(f));
|
|
9798
|
+
l.forEach((f) => f.dispose());
|
|
9799
|
+
this.debugTrace(`callFunctionSync <end> ${s})`);
|
|
9800
|
+
return c;
|
|
9801
|
+
} catch (u) {
|
|
9802
|
+
var d = u, p = !0;
|
|
9803
|
+
} finally {
|
|
9804
|
+
we(m, d, p);
|
|
9805
|
+
}
|
|
9806
|
+
}
|
|
9807
|
+
async callFunctionAsync(n, ...e) {
|
|
9808
|
+
var u = [];
|
|
9809
|
+
try {
|
|
9810
|
+
const { vm: o } = this;
|
|
9811
|
+
if (!o)
|
|
9812
|
+
return;
|
|
9813
|
+
const s = `${n}(${e.map((b) => JSON.stringify(b)).join(", ")}`;
|
|
9814
|
+
this.debugTrace(`callFunctionAsync <begin> ${s}`);
|
|
9815
|
+
const i = ke(u, o.getProp(o.global, n));
|
|
9816
|
+
if (!i) {
|
|
9817
|
+
console.error(`callFunctionAsync function<${n}> not available`);
|
|
9809
9818
|
return;
|
|
9810
9819
|
}
|
|
9811
|
-
const
|
|
9812
|
-
|
|
9813
|
-
|
|
9814
|
-
|
|
9815
|
-
|
|
9820
|
+
const l = e.map((b) => ve(o, b));
|
|
9821
|
+
const c = o.unwrapResult(o.callFunction(i, o.undefined, ...l)).consume((b) => o.resolvePromise(b));
|
|
9822
|
+
o.runtime.executePendingJobs();
|
|
9823
|
+
l.map((b) => b.dispose());
|
|
9824
|
+
const m = o.unwrapResult(await c).consume((b) => o.dump(b));
|
|
9825
|
+
this.debugTrace(`callFunctionAsync <end> ${s}`);
|
|
9826
|
+
return m;
|
|
9827
|
+
} catch (d) {
|
|
9828
|
+
var p = d, f = !0;
|
|
9816
9829
|
} finally {
|
|
9817
|
-
|
|
9830
|
+
we(u, p, f);
|
|
9818
9831
|
}
|
|
9819
9832
|
}
|
|
9820
9833
|
//--------------------------
|
|
@@ -9834,7 +9847,7 @@ class iu {
|
|
|
9834
9847
|
);
|
|
9835
9848
|
return;
|
|
9836
9849
|
}
|
|
9837
|
-
return
|
|
9850
|
+
return Ve(o, e);
|
|
9838
9851
|
}
|
|
9839
9852
|
setElementProperty(n, e, o) {
|
|
9840
9853
|
const s = this.data.value?.view.nodes[n];
|
|
@@ -9847,7 +9860,7 @@ class iu {
|
|
|
9847
9860
|
);
|
|
9848
9861
|
return;
|
|
9849
9862
|
}
|
|
9850
|
-
const i =
|
|
9863
|
+
const i = Ve(s, e);
|
|
9851
9864
|
me(o, i) || (an(s, e, o), this.hooks?.onElementPropertyChange(
|
|
9852
9865
|
s.basic.id,
|
|
9853
9866
|
e,
|
|
@@ -9891,30 +9904,6 @@ class iu {
|
|
|
9891
9904
|
return this.eventBus.emit(n, { key: e, inputs: o, outputs: s }), s;
|
|
9892
9905
|
}
|
|
9893
9906
|
//--------------------------
|
|
9894
|
-
// 自定义方法
|
|
9895
|
-
//--------------------------
|
|
9896
|
-
async callCustomMethod(n, e, o) {
|
|
9897
|
-
var c = [];
|
|
9898
|
-
try {
|
|
9899
|
-
const s = `__implementMethod$${n}__`;
|
|
9900
|
-
const i = ve(c, this.vm.getProp(this.vm.global, s));
|
|
9901
|
-
if (this.vm.typeof(i) !== "function")
|
|
9902
|
-
return console.error(`Sandbox/callCustomMethod ${s} not available`), this.vm.undefined;
|
|
9903
|
-
const l = this.vm.callFunction(
|
|
9904
|
-
i,
|
|
9905
|
-
this.vm.undefined,
|
|
9906
|
-
e,
|
|
9907
|
-
o
|
|
9908
|
-
).unwrap().consume((p) => this.vm.resolvePromise(p));
|
|
9909
|
-
this.vm.runtime.executePendingJobs();
|
|
9910
|
-
return this.vm.unwrapResult(await l);
|
|
9911
|
-
} catch (m) {
|
|
9912
|
-
var u = m, d = !0;
|
|
9913
|
-
} finally {
|
|
9914
|
-
Se(c, u, d);
|
|
9915
|
-
}
|
|
9916
|
-
}
|
|
9917
|
-
//--------------------------
|
|
9918
9907
|
// 状态
|
|
9919
9908
|
//--------------------------
|
|
9920
9909
|
states = {};
|
|
@@ -9930,89 +9919,94 @@ class iu {
|
|
|
9930
9919
|
}
|
|
9931
9920
|
}
|
|
9932
9921
|
function tt(t, n, e, o, s) {
|
|
9933
|
-
const i =
|
|
9922
|
+
const i = Oc(), l = Nc(), c = Z(), m = Ce(), u = Oe(), d = Ze(), p = Hc(), f = async (x, h, v, z) => {
|
|
9934
9923
|
if (le(c)) {
|
|
9935
9924
|
if (me(h, ["settings", "slot"])) {
|
|
9936
9925
|
const T = t.value?.view.nodeLites.find(
|
|
9937
9926
|
(J) => J.id === x
|
|
9938
9927
|
);
|
|
9939
|
-
T ? T.slotId =
|
|
9928
|
+
T ? T.slotId = v : console.assert(!1);
|
|
9940
9929
|
}
|
|
9941
9930
|
if (me(h, ["settings", "comp"])) {
|
|
9942
9931
|
const T = t.value?.view.nodeLites.find(
|
|
9943
9932
|
(J) => J.id === x
|
|
9944
9933
|
);
|
|
9945
|
-
T ? T.compId =
|
|
9934
|
+
T ? T.compId = v : console.assert(!1);
|
|
9946
9935
|
}
|
|
9947
|
-
if (
|
|
9936
|
+
if (await g.callFunctionAsync(
|
|
9948
9937
|
"__triggerEventV1__",
|
|
9949
9938
|
ae("elementPropertyChangeEvent", x, h.join(".")),
|
|
9950
|
-
|
|
9951
|
-
|
|
9939
|
+
"",
|
|
9940
|
+
v,
|
|
9941
|
+
z ?? v
|
|
9952
9942
|
), t.value?.code.reactivity) {
|
|
9953
9943
|
let T = "";
|
|
9954
9944
|
h instanceof Array ? T = h.join(".") : T = h, ct(
|
|
9955
|
-
|
|
9945
|
+
g,
|
|
9956
9946
|
t.value.code.reactivity,
|
|
9957
9947
|
je({
|
|
9958
9948
|
type: "elementProperty",
|
|
9959
9949
|
nodeId: x,
|
|
9960
9950
|
propertyKeys: T
|
|
9961
9951
|
}),
|
|
9962
|
-
|
|
9952
|
+
v,
|
|
9963
9953
|
z
|
|
9964
9954
|
);
|
|
9965
9955
|
}
|
|
9966
9956
|
}
|
|
9967
|
-
},
|
|
9968
|
-
le(c) && (
|
|
9957
|
+
}, b = async (x, h, v) => {
|
|
9958
|
+
le(c) && (await g.callFunctionAsync(
|
|
9969
9959
|
"__triggerEventV1__",
|
|
9970
9960
|
ae("customPropertyChangeEvent", "globality", x),
|
|
9961
|
+
"",
|
|
9971
9962
|
h,
|
|
9972
|
-
|
|
9973
|
-
),
|
|
9963
|
+
v ?? h
|
|
9964
|
+
), await g.parent.callFunctionAsync(
|
|
9974
9965
|
"__triggerEventV1__",
|
|
9975
|
-
ae("refPropertyChangeEvent",
|
|
9966
|
+
ae("refPropertyChangeEvent", g.nodeId, x),
|
|
9967
|
+
"",
|
|
9976
9968
|
h,
|
|
9977
|
-
|
|
9978
|
-
),
|
|
9969
|
+
v ?? h
|
|
9970
|
+
), await g.parent.callFunctionAsync(
|
|
9979
9971
|
"__triggerEventV1__",
|
|
9980
9972
|
ae(
|
|
9981
9973
|
"multipleRefPropertyChangeEvent",
|
|
9982
|
-
|
|
9974
|
+
g.nodeId,
|
|
9983
9975
|
x
|
|
9984
9976
|
),
|
|
9977
|
+
"",
|
|
9985
9978
|
h,
|
|
9986
|
-
|
|
9979
|
+
v ?? h
|
|
9987
9980
|
), t.value?.code.reactivity && ct(
|
|
9988
|
-
|
|
9981
|
+
g,
|
|
9989
9982
|
t.value.code.reactivity,
|
|
9990
9983
|
je({ type: "customProperty", propertyId: x }),
|
|
9991
9984
|
h,
|
|
9992
|
-
|
|
9985
|
+
v
|
|
9993
9986
|
));
|
|
9994
|
-
},
|
|
9987
|
+
}, _ = (x, h, v) => {
|
|
9995
9988
|
le(c) && t.value?.code.reactivity && ct(
|
|
9996
|
-
|
|
9989
|
+
g,
|
|
9997
9990
|
t.value.code.reactivity,
|
|
9998
9991
|
je({ type: "customSlotProperty", propertyId: x }),
|
|
9999
9992
|
h,
|
|
10000
|
-
|
|
9993
|
+
v
|
|
10001
9994
|
);
|
|
10002
|
-
},
|
|
10003
|
-
le(c) && (
|
|
9995
|
+
}, k = async (x, h, v) => {
|
|
9996
|
+
le(c) && (await g.callFunctionAsync(
|
|
10004
9997
|
"__triggerEventV1__",
|
|
10005
9998
|
ae("stateChangeEvent", "globality", x),
|
|
9999
|
+
"",
|
|
10006
10000
|
h,
|
|
10007
|
-
|
|
10001
|
+
v ?? h
|
|
10008
10002
|
), t.value?.code.reactivity && ct(
|
|
10009
|
-
|
|
10003
|
+
g,
|
|
10010
10004
|
t.value.code.reactivity,
|
|
10011
10005
|
je({ type: "state", stateId: x }),
|
|
10012
10006
|
h,
|
|
10013
|
-
|
|
10007
|
+
v
|
|
10014
10008
|
));
|
|
10015
|
-
},
|
|
10009
|
+
}, g = new iu(
|
|
10016
10010
|
n,
|
|
10017
10011
|
e,
|
|
10018
10012
|
o,
|
|
@@ -10023,16 +10017,16 @@ function tt(t, n, e, o, s) {
|
|
|
10023
10017
|
m,
|
|
10024
10018
|
{
|
|
10025
10019
|
onElementPropertyChange: f,
|
|
10026
|
-
onCustomPropertyChange:
|
|
10027
|
-
onCustomSlotPropetyChange:
|
|
10028
|
-
onStateChange:
|
|
10020
|
+
onCustomPropertyChange: b,
|
|
10021
|
+
onCustomSlotPropetyChange: _,
|
|
10022
|
+
onStateChange: k
|
|
10029
10023
|
}
|
|
10030
10024
|
);
|
|
10031
|
-
if (
|
|
10032
|
-
|
|
10025
|
+
if (Gc(g), Se(() => {
|
|
10026
|
+
g.dispose();
|
|
10033
10027
|
}), le(c)) {
|
|
10034
10028
|
const x = async () => {
|
|
10035
|
-
|
|
10029
|
+
g.destroyVm(), g.associateData(t), g.resetCustomProperties(), g.resetCustomSlotProperties(), g.resetStates(), !(!t.value || !t.value.code.script) && g.createVm(p, t.value.code.script);
|
|
10036
10030
|
};
|
|
10037
10031
|
x(), pe(t, () => {
|
|
10038
10032
|
x();
|
|
@@ -10040,29 +10034,31 @@ function tt(t, n, e, o, s) {
|
|
|
10040
10034
|
}
|
|
10041
10035
|
le(c) && pe(
|
|
10042
10036
|
u,
|
|
10043
|
-
(x, h) => {
|
|
10044
|
-
const
|
|
10045
|
-
|
|
10037
|
+
async (x, h) => {
|
|
10038
|
+
const v = ut(x.width), z = ut(h?.width ?? x.width);
|
|
10039
|
+
await g.callFunctionAsync(
|
|
10046
10040
|
"__triggerEventV1__",
|
|
10047
10041
|
ae("elementEvent", "globality", "screenSizeChange"),
|
|
10048
|
-
|
|
10042
|
+
"",
|
|
10043
|
+
v,
|
|
10049
10044
|
z
|
|
10050
10045
|
);
|
|
10051
10046
|
},
|
|
10052
10047
|
{ immediate: !0 }
|
|
10053
10048
|
), le(c) && pe(
|
|
10054
10049
|
d,
|
|
10055
|
-
(x) => {
|
|
10056
|
-
|
|
10050
|
+
async (x) => {
|
|
10051
|
+
await g.callFunctionAsync(
|
|
10057
10052
|
"__triggerEventV1__",
|
|
10058
10053
|
ae("elementEvent", "globality", "darkModeChange"),
|
|
10054
|
+
"",
|
|
10059
10055
|
x
|
|
10060
10056
|
);
|
|
10061
10057
|
},
|
|
10062
10058
|
{ immediate: !0 }
|
|
10063
10059
|
);
|
|
10064
10060
|
}
|
|
10065
|
-
function
|
|
10061
|
+
function G() {
|
|
10066
10062
|
const t = Ze();
|
|
10067
10063
|
return { theme: I(() => t.value ? "dark" : "light") };
|
|
10068
10064
|
}
|
|
@@ -10077,7 +10073,7 @@ async function nm(t) {
|
|
|
10077
10073
|
}
|
|
10078
10074
|
export {
|
|
10079
10075
|
fu as addIndent,
|
|
10080
|
-
|
|
10076
|
+
Hl as ambientLightV1,
|
|
10081
10077
|
Zl as badgeV1,
|
|
10082
10078
|
Tt as barChartV1,
|
|
10083
10079
|
Lt as boxGeometryV1,
|
|
@@ -10099,18 +10095,18 @@ export {
|
|
|
10099
10095
|
ca as dataTableV1,
|
|
10100
10096
|
ua as datePickerV1,
|
|
10101
10097
|
ma as dialogV1,
|
|
10102
|
-
|
|
10103
|
-
|
|
10098
|
+
Gl as directionalLightV1,
|
|
10099
|
+
Fc as duplicateNodePair,
|
|
10104
10100
|
Lu as duplicateNodePairs,
|
|
10105
10101
|
wu as elementKeys,
|
|
10106
|
-
|
|
10102
|
+
$e as elements,
|
|
10107
10103
|
Cu as fileInputV1,
|
|
10108
10104
|
Rt as flexLayoutEntryV1,
|
|
10109
10105
|
Ue as flexLayoutV1,
|
|
10110
|
-
|
|
10106
|
+
Ft as formV1,
|
|
10111
10107
|
E as genId,
|
|
10112
10108
|
Ne as getBreakpointProp,
|
|
10113
|
-
|
|
10109
|
+
Ve as getField,
|
|
10114
10110
|
In as getIndexOfBreakpoint,
|
|
10115
10111
|
Pu as getNodeLite,
|
|
10116
10112
|
xo as getPropertyDefault,
|
|
@@ -10125,14 +10121,14 @@ export {
|
|
|
10125
10121
|
Ze as injectDark,
|
|
10126
10122
|
re as injectData,
|
|
10127
10123
|
jc as injectDepends,
|
|
10128
|
-
|
|
10124
|
+
Oe as injectDevice,
|
|
10129
10125
|
Nc as injectEnv,
|
|
10130
10126
|
Qe as injectId,
|
|
10131
10127
|
Z as injectMode,
|
|
10132
|
-
|
|
10133
|
-
|
|
10128
|
+
Oc as injectOrg,
|
|
10129
|
+
Hc as injectRuntime,
|
|
10134
10130
|
_e as injectSandbox,
|
|
10135
|
-
|
|
10131
|
+
Ce as injectType,
|
|
10136
10132
|
Ye as isCircularReference,
|
|
10137
10133
|
le as isExecutableMode,
|
|
10138
10134
|
Ri as isLocaleOfEventKind,
|
|
@@ -10149,19 +10145,19 @@ export {
|
|
|
10149
10145
|
qu as makeEventKeyOfElementSlot,
|
|
10150
10146
|
Jc as makeMethodId,
|
|
10151
10147
|
Ju as makeMethodKeyOfCustomSlot,
|
|
10152
|
-
|
|
10148
|
+
Hu as makeMethodKeyOfElementSlot,
|
|
10153
10149
|
Du as makePropertyId,
|
|
10154
10150
|
Nu as makePropertyKeyOfCustomSlot,
|
|
10155
|
-
|
|
10151
|
+
Fu as makePropertyKeyOfElementSlot,
|
|
10156
10152
|
Qu as makeSlotId,
|
|
10157
10153
|
je as makeTriggerId,
|
|
10158
10154
|
Bl as mapControlsV1,
|
|
10159
10155
|
ha as menuV1,
|
|
10160
|
-
|
|
10161
|
-
|
|
10162
|
-
|
|
10156
|
+
He as meshBasicMaterialV1,
|
|
10157
|
+
Ge as meshV1,
|
|
10158
|
+
Oa as multipleRefV1,
|
|
10163
10159
|
Na as multipleSlotV1,
|
|
10164
|
-
|
|
10160
|
+
Ot as numberInputV1,
|
|
10165
10161
|
Rl as orbitControlsV1,
|
|
10166
10162
|
Al as orthographicCameraV1,
|
|
10167
10163
|
_u as pageMetaStringify,
|
|
@@ -10176,7 +10172,7 @@ export {
|
|
|
10176
10172
|
Dc as pkgs,
|
|
10177
10173
|
Jl as pointLightV1,
|
|
10178
10174
|
Mu as provideDark,
|
|
10179
|
-
|
|
10175
|
+
ze as provideData,
|
|
10180
10176
|
Ru as provideDepends,
|
|
10181
10177
|
Au as provideDevice,
|
|
10182
10178
|
Tu as provideEnv,
|
|
@@ -10184,7 +10180,7 @@ export {
|
|
|
10184
10180
|
Eu as provideMode,
|
|
10185
10181
|
zu as provideOrg,
|
|
10186
10182
|
Ku as provideRuntime,
|
|
10187
|
-
|
|
10183
|
+
Gc as provideSandbox,
|
|
10188
10184
|
Bu as provideType,
|
|
10189
10185
|
jt as radioGroupV1,
|
|
10190
10186
|
Nt as radioV1,
|
|
@@ -10192,17 +10188,17 @@ export {
|
|
|
10192
10188
|
Ia as ratingV1,
|
|
10193
10189
|
ja as referenceV1,
|
|
10194
10190
|
S as regElement,
|
|
10195
|
-
|
|
10191
|
+
Ha as renderSwitchV1,
|
|
10196
10192
|
Ei as reverseBreakpoints,
|
|
10197
10193
|
$a as selectV1,
|
|
10198
10194
|
an as setField,
|
|
10199
10195
|
Sa as sliderV1,
|
|
10200
|
-
|
|
10196
|
+
Ga as slotV1,
|
|
10201
10197
|
Vu as spawnNode,
|
|
10202
10198
|
zt as sphereGeometryV1,
|
|
10203
10199
|
Ul as spotLightV1,
|
|
10204
|
-
|
|
10205
|
-
|
|
10200
|
+
Ht as stepperHeaderV1,
|
|
10201
|
+
Gt as stepperItemV1,
|
|
10206
10202
|
qt as stepperV1,
|
|
10207
10203
|
Ut as stepperWindowItemV1,
|
|
10208
10204
|
Jt as stepperWindowV1,
|
|
@@ -10210,7 +10206,7 @@ export {
|
|
|
10210
10206
|
Xt as tabV1,
|
|
10211
10207
|
Yt as tabsV1,
|
|
10212
10208
|
Dt as textFieldV1,
|
|
10213
|
-
|
|
10209
|
+
Le as textV1,
|
|
10214
10210
|
Zt as textareaV1,
|
|
10215
10211
|
Qt as timelineItemV1,
|
|
10216
10212
|
en as timelineV1,
|
|
@@ -10224,15 +10220,15 @@ export {
|
|
|
10224
10220
|
Xu as unwrapEventKeyOfElementSlot,
|
|
10225
10221
|
Uc as unwrapMethodId,
|
|
10226
10222
|
Uu as unwrapMethodKeyOfCustomSlot,
|
|
10227
|
-
|
|
10223
|
+
Gu as unwrapMethodKeyOfElementSlot,
|
|
10228
10224
|
ko as unwrapPropertyId,
|
|
10229
10225
|
ju as unwrapPropertyKeyOfCustomSlot,
|
|
10230
|
-
|
|
10226
|
+
Ou as unwrapPropertyKeyOfElementSlot,
|
|
10231
10227
|
em as unwrapSlotId,
|
|
10232
10228
|
et as useDepend,
|
|
10233
10229
|
tm as useRuntime,
|
|
10234
10230
|
tt as useSandbox,
|
|
10235
|
-
|
|
10231
|
+
G as useTheme,
|
|
10236
10232
|
tn as windowItemV1,
|
|
10237
10233
|
nn as windowV1
|
|
10238
10234
|
};
|