x-runtime-lib 0.8.124 → 0.8.126
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
|
@@ -29,7 +29,7 @@ var Ve = (t, n, e) => {
|
|
|
29
29
|
};
|
|
30
30
|
return r();
|
|
31
31
|
};
|
|
32
|
-
import { defineComponent as V, createElementBlock as
|
|
32
|
+
import { defineComponent as V, createElementBlock as oe, renderSlot as K, unref as i, openBlock as _, createElementVNode as ie, computed as x, normalizeStyle as ce, createCommentVNode as le, toRef as ti, onBeforeMount as ni, onUnmounted as Ge, ref as se, watchEffect as ge, watch as de, createBlock as w, withCtx as S, useTemplateRef as vo, onMounted as xo, nextTick as ko, resolveComponent as B, createVNode as N, isRef as Z, createSlots as qt, renderList as oi, useId as wo, withModifiers as ii, normalizeClass as ri, toDisplayString as si, useAttrs as nt, h as Q, inject as ue, provide as me, readonly as Xt } from "vue";
|
|
33
33
|
import { globalObjects as Ie, waitUtil as Io, useViewStack as So, eventBus as $o, messageInfo as li, messageSuccess as ai, messageWarning as Co, messageError as Vo, createAxios as ci, openConfirmDlg as ui, openPromptDlg as mi } from "x-essential-lib";
|
|
34
34
|
import { CameraHelper as Po, DirectionalLightHelper as pi, PointLightHelper as di, SpotLightHelper as fi } from "three";
|
|
35
35
|
import { i as ae, c as He, K as yi, M as bi, O as gi, u as hi, r as Lo, e as zo, a as _i, b as vi, d as xi, f as ki, g as wi, h as Ii, j as Si, k as $i, l as To, m as O, n as Ci, o as Vi, p as Pi, q as Li } from "./vendor.emk171rx.js";
|
|
@@ -122,9 +122,9 @@ function yu(t, n = 2) {
|
|
|
122
122
|
`);
|
|
123
123
|
}
|
|
124
124
|
function Ao(t) {
|
|
125
|
-
return t.startsWith("
|
|
125
|
+
return t.startsWith("ref_v") || t.startsWith("multiple_ref_v") || t.startsWith("slot_v") || t.startsWith("multiple_slot_v");
|
|
126
126
|
}
|
|
127
|
-
function
|
|
127
|
+
function ne(t) {
|
|
128
128
|
return t === "runtime" || t === "preview";
|
|
129
129
|
}
|
|
130
130
|
function E() {
|
|
@@ -346,15 +346,15 @@ const Ki = ["position", "rotation", "scale"], $e = /* @__PURE__ */ V({
|
|
|
346
346
|
},
|
|
347
347
|
setup(t) {
|
|
348
348
|
const n = J();
|
|
349
|
-
return (e, o) => i(n) === "editor" ? (
|
|
349
|
+
return (e, o) => i(n) === "editor" ? (_(), oe("TresMesh", {
|
|
350
350
|
key: 0,
|
|
351
351
|
position: t.position,
|
|
352
352
|
rotation: t.rotation,
|
|
353
353
|
scale: t.scale,
|
|
354
354
|
visible: !1
|
|
355
355
|
}, [
|
|
356
|
-
o[0] || (o[0] =
|
|
357
|
-
o[1] || (o[1] =
|
|
356
|
+
o[0] || (o[0] = ie("TresBoxGeometry", { args: [1, 1, 1] }, null, -1)),
|
|
357
|
+
o[1] || (o[1] = ie("TresMeshBasicMaterial", null, null, -1)),
|
|
358
358
|
K(e.$slots, "default")
|
|
359
359
|
], 8, Ki)) : K(e.$slots, "default", { key: 1 });
|
|
360
360
|
}
|
|
@@ -379,12 +379,12 @@ const Ki = ["position", "rotation", "scale"], $e = /* @__PURE__ */ V({
|
|
|
379
379
|
pointerEvents: "auto",
|
|
380
380
|
userSelect: "none"
|
|
381
381
|
}));
|
|
382
|
-
return (s, r) => i(n) === "editor" ? (
|
|
382
|
+
return (s, r) => i(n) === "editor" ? (_(), oe("div", {
|
|
383
383
|
key: 0,
|
|
384
384
|
style: ce(e.value)
|
|
385
385
|
}, [
|
|
386
386
|
K(s.$slots, "default"),
|
|
387
|
-
t.mask ? (
|
|
387
|
+
t.mask ? (_(), oe("div", {
|
|
388
388
|
key: 0,
|
|
389
389
|
style: ce(o.value)
|
|
390
390
|
}, null, 4)) : le("", !0)
|
|
@@ -428,7 +428,7 @@ const Oi = (t, n, e, o) => {
|
|
|
428
428
|
s ? typeof o == "object" ? r = JSON.stringify(o, null, 2) : (console.assert(!1), r = "{}") : r = o, t ? t.setElementProperty(n.basic.id, e, r) : Zt(n, e, r);
|
|
429
429
|
};
|
|
430
430
|
function l(t, n, e) {
|
|
431
|
-
const o = ye(), s =
|
|
431
|
+
const o = ye(), s = se();
|
|
432
432
|
return ge(() => {
|
|
433
433
|
s.value = Oi(o, t.value, n, e);
|
|
434
434
|
}), de(s, (r, a) => {
|
|
@@ -464,7 +464,7 @@ function _e(t) {
|
|
|
464
464
|
"transform",
|
|
465
465
|
"rotation",
|
|
466
466
|
"z"
|
|
467
|
-
]), { property: c } = l(t, ["transform", "scale", "x"]), { property: u } = l(t, ["transform", "scale", "y"]), { property: m } = l(t, ["transform", "scale", "z"]), f =
|
|
467
|
+
]), { property: c } = l(t, ["transform", "scale", "x"]), { property: u } = l(t, ["transform", "scale", "y"]), { property: m } = l(t, ["transform", "scale", "z"]), f = se([0, 0, 0]), p = se([0, 0, 0]), d = se([1, 1, 1]);
|
|
468
468
|
return ge(() => {
|
|
469
469
|
f.value = [n.value, e.value, o.value];
|
|
470
470
|
}), ge(() => {
|
|
@@ -602,13 +602,13 @@ const Ni = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
602
602
|
},
|
|
603
603
|
setup(t) {
|
|
604
604
|
const n = t, { node: e } = P(n), o = J(), { position: s, rotation: r, scale: a } = _e(e), { property: c } = l(e, ["settings", "bottom"]), { property: u } = l(e, ["settings", "far"]), { property: m } = l(e, ["settings", "left"]), { property: f } = l(e, ["settings", "near"]), { property: p } = l(e, ["settings", "right"]), { property: d } = l(e, ["settings", "top"]);
|
|
605
|
-
return (b, g) => (
|
|
605
|
+
return (b, g) => (_(), w(i($e), {
|
|
606
606
|
position: i(s),
|
|
607
607
|
rotation: i(r),
|
|
608
608
|
scale: i(a)
|
|
609
609
|
}, {
|
|
610
610
|
default: S(() => [
|
|
611
|
-
|
|
611
|
+
ie("TresOrthographicCamera", {
|
|
612
612
|
bottom: i(c),
|
|
613
613
|
far: i(u),
|
|
614
614
|
left: i(m),
|
|
@@ -619,7 +619,7 @@ const Ni = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
619
619
|
scale: i(o) !== "editor" ? i(a) : [1, 1, 1],
|
|
620
620
|
top: i(d)
|
|
621
621
|
}, [
|
|
622
|
-
i(o) === "editor" ? (
|
|
622
|
+
i(o) === "editor" ? (_(), w(i(He), {
|
|
623
623
|
key: 0,
|
|
624
624
|
type: i(Po)
|
|
625
625
|
}, null, 8, ["type"])) : le("", !0),
|
|
@@ -638,13 +638,13 @@ const Ni = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
638
638
|
},
|
|
639
639
|
setup(t) {
|
|
640
640
|
const n = t, { node: e } = P(n), o = J(), { position: s, rotation: r, scale: a } = _e(e), { property: c } = l(e, ["settings", "aspect"]), { property: u } = l(e, ["settings", "far"]), { property: m } = l(e, ["settings", "fov"]), { property: f } = l(e, ["settings", "near"]);
|
|
641
|
-
return (p, d) => (
|
|
641
|
+
return (p, d) => (_(), w(i($e), {
|
|
642
642
|
position: i(s),
|
|
643
643
|
rotation: i(r),
|
|
644
644
|
scale: i(a)
|
|
645
645
|
}, {
|
|
646
646
|
default: S(() => [
|
|
647
|
-
|
|
647
|
+
ie("TresPerspectiveCamera", {
|
|
648
648
|
aspect: i(c),
|
|
649
649
|
far: i(u),
|
|
650
650
|
fov: i(m),
|
|
@@ -653,7 +653,7 @@ const Ni = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
653
653
|
rotation: i(o) !== "editor" ? i(r) : [0, 0, 0],
|
|
654
654
|
scale: i(o) !== "editor" ? i(a) : [1, 1, 1]
|
|
655
655
|
}, [
|
|
656
|
-
i(o) === "editor" ? (
|
|
656
|
+
i(o) === "editor" ? (_(), w(i(He), {
|
|
657
657
|
key: 0,
|
|
658
658
|
type: i(Po)
|
|
659
659
|
}, null, 8, ["type"])) : le("", !0),
|
|
@@ -667,19 +667,19 @@ const Ni = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
667
667
|
__name: "index",
|
|
668
668
|
setup(t) {
|
|
669
669
|
const n = J();
|
|
670
|
-
return (e, o) => i(n) !== "editor" ? (
|
|
670
|
+
return (e, o) => i(n) !== "editor" ? (_(), w(i(yi), { key: 0 })) : le("", !0);
|
|
671
671
|
}
|
|
672
672
|
}), Ji = /* @__PURE__ */ V({
|
|
673
673
|
__name: "index",
|
|
674
674
|
setup(t) {
|
|
675
675
|
const n = J();
|
|
676
|
-
return (e, o) => i(n) !== "editor" ? (
|
|
676
|
+
return (e, o) => i(n) !== "editor" ? (_(), w(i(bi), { key: 0 })) : le("", !0);
|
|
677
677
|
}
|
|
678
678
|
}), qi = /* @__PURE__ */ V({
|
|
679
679
|
__name: "index",
|
|
680
680
|
setup(t) {
|
|
681
681
|
const n = J();
|
|
682
|
-
return (e, o) => i(n) !== "editor" ? (
|
|
682
|
+
return (e, o) => i(n) !== "editor" ? (_(), w(i(gi), { key: 0 })) : le("", !0);
|
|
683
683
|
}
|
|
684
684
|
}), Xi = ["args"], Yi = /* @__PURE__ */ V({
|
|
685
685
|
__name: "index",
|
|
@@ -699,7 +699,7 @@ const Ni = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
699
699
|
"settings",
|
|
700
700
|
"widthSegements"
|
|
701
701
|
]);
|
|
702
|
-
return (m, f) => (
|
|
702
|
+
return (m, f) => (_(), oe("TresBoxGeometry", {
|
|
703
703
|
args: [
|
|
704
704
|
i(c),
|
|
705
705
|
i(r),
|
|
@@ -742,7 +742,7 @@ const Ni = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
742
742
|
"settings",
|
|
743
743
|
"widthSegments"
|
|
744
744
|
]);
|
|
745
|
-
return (f, p) => (
|
|
745
|
+
return (f, p) => (_(), oe("TresSphereGeometry", {
|
|
746
746
|
args: [
|
|
747
747
|
i(a),
|
|
748
748
|
i(m),
|
|
@@ -766,13 +766,13 @@ const Ni = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
766
766
|
"settings",
|
|
767
767
|
"intensity"
|
|
768
768
|
]);
|
|
769
|
-
return (f, p) => (
|
|
769
|
+
return (f, p) => (_(), w(i($e), {
|
|
770
770
|
position: i(s),
|
|
771
771
|
rotation: i(r),
|
|
772
772
|
scale: i(a)
|
|
773
773
|
}, {
|
|
774
774
|
default: S(() => [
|
|
775
|
-
|
|
775
|
+
ie("TresAmbientLight", {
|
|
776
776
|
color: i(u),
|
|
777
777
|
intensity: i(m),
|
|
778
778
|
position: i(o) !== "editor" ? i(s) : [0, 0, 0],
|
|
@@ -797,20 +797,20 @@ const Ni = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
797
797
|
"settings",
|
|
798
798
|
"intensity"
|
|
799
799
|
]);
|
|
800
|
-
return (f, p) => (
|
|
800
|
+
return (f, p) => (_(), w(i($e), {
|
|
801
801
|
position: i(s),
|
|
802
802
|
rotation: i(r),
|
|
803
803
|
scale: i(a)
|
|
804
804
|
}, {
|
|
805
805
|
default: S(() => [
|
|
806
|
-
|
|
806
|
+
ie("TresDirectionalLight", {
|
|
807
807
|
color: i(u),
|
|
808
808
|
intensity: i(m),
|
|
809
809
|
position: i(o) !== "editor" ? i(s) : [0, 0, 0],
|
|
810
810
|
rotation: i(o) !== "editor" ? i(r) : [0, 0, 0],
|
|
811
811
|
scale: i(o) !== "editor" ? i(a) : [1, 1, 1]
|
|
812
812
|
}, [
|
|
813
|
-
i(o) === "editor" ? (
|
|
813
|
+
i(o) === "editor" ? (_(), w(i(He), {
|
|
814
814
|
key: 0,
|
|
815
815
|
type: i(pi)
|
|
816
816
|
}, null, 8, ["type"])) : le("", !0),
|
|
@@ -835,13 +835,13 @@ const Ni = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
835
835
|
"settings",
|
|
836
836
|
"intensity"
|
|
837
837
|
]);
|
|
838
|
-
return (d, b) => (
|
|
838
|
+
return (d, b) => (_(), w(i($e), {
|
|
839
839
|
position: i(s),
|
|
840
840
|
rotation: i(r),
|
|
841
841
|
scale: i(a)
|
|
842
842
|
}, {
|
|
843
843
|
default: S(() => [
|
|
844
|
-
|
|
844
|
+
ie("TresPointLight", {
|
|
845
845
|
color: i(u),
|
|
846
846
|
decay: i(m),
|
|
847
847
|
distance: i(f),
|
|
@@ -850,7 +850,7 @@ const Ni = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
850
850
|
rotation: i(o) !== "editor" ? i(r) : [0, 0, 0],
|
|
851
851
|
scale: i(o) !== "editor" ? i(a) : [1, 1, 1]
|
|
852
852
|
}, [
|
|
853
|
-
i(o) === "editor" ? (
|
|
853
|
+
i(o) === "editor" ? (_(), w(i(He), {
|
|
854
854
|
key: 0,
|
|
855
855
|
type: i(di)
|
|
856
856
|
}, null, 8, ["type"])) : le("", !0),
|
|
@@ -878,13 +878,13 @@ const Ni = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
878
878
|
"settings",
|
|
879
879
|
"penumbra"
|
|
880
880
|
]);
|
|
881
|
-
return (g,
|
|
881
|
+
return (g, h) => (_(), w(i($e), {
|
|
882
882
|
position: i(s),
|
|
883
883
|
rotation: i(r),
|
|
884
884
|
scale: i(a)
|
|
885
885
|
}, {
|
|
886
886
|
default: S(() => [
|
|
887
|
-
|
|
887
|
+
ie("TresSpotLight", {
|
|
888
888
|
angle: i(c),
|
|
889
889
|
color: i(m),
|
|
890
890
|
decay: i(f),
|
|
@@ -895,7 +895,7 @@ const Ni = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
895
895
|
rotation: i(o) !== "editor" ? i(r) : [0, 0, 0],
|
|
896
896
|
scale: i(o) !== "editor" ? i(a) : [1, 1, 1]
|
|
897
897
|
}, [
|
|
898
|
-
i(o) === "editor" ? (
|
|
898
|
+
i(o) === "editor" ? (_(), w(i(He), {
|
|
899
899
|
key: 0,
|
|
900
900
|
type: i(fi)
|
|
901
901
|
}, null, 8, ["type"])) : le("", !0),
|
|
@@ -907,7 +907,7 @@ const Ni = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
907
907
|
}
|
|
908
908
|
}), ar = {};
|
|
909
909
|
function cr(t, n) {
|
|
910
|
-
return
|
|
910
|
+
return _(), oe("TresMeshBasicMaterial");
|
|
911
911
|
}
|
|
912
912
|
const ur = /* @__PURE__ */ ve(ar, [["render", cr]]), mr = ["position", "rotation", "scale"], pr = /* @__PURE__ */ V({
|
|
913
913
|
__name: "index",
|
|
@@ -918,13 +918,13 @@ const ur = /* @__PURE__ */ ve(ar, [["render", cr]]), mr = ["position", "rotation
|
|
|
918
918
|
},
|
|
919
919
|
setup(t) {
|
|
920
920
|
const n = t, { node: e } = P(n), o = J(), { position: s, rotation: r, scale: a } = _e(e);
|
|
921
|
-
return (c, u) => (
|
|
921
|
+
return (c, u) => (_(), w(i($e), {
|
|
922
922
|
position: i(s),
|
|
923
923
|
rotation: i(r),
|
|
924
924
|
scale: i(a)
|
|
925
925
|
}, {
|
|
926
926
|
default: S(() => [
|
|
927
|
-
|
|
927
|
+
ie("TresGroup", {
|
|
928
928
|
position: i(o) !== "editor" ? i(s) : [0, 0, 0],
|
|
929
929
|
rotation: i(o) !== "editor" ? i(r) : [0, 0, 0],
|
|
930
930
|
scale: i(o) !== "editor" ? i(a) : [1, 1, 1]
|
|
@@ -944,7 +944,7 @@ const ur = /* @__PURE__ */ ve(ar, [["render", cr]]), mr = ["position", "rotation
|
|
|
944
944
|
},
|
|
945
945
|
setup(t) {
|
|
946
946
|
const n = t, { node: e } = P(n), { position: o, rotation: s, scale: r } = _e(e);
|
|
947
|
-
return (a, c) => (
|
|
947
|
+
return (a, c) => (_(), oe("TresMesh", {
|
|
948
948
|
position: i(o),
|
|
949
949
|
rotation: i(s),
|
|
950
950
|
scale: i(r)
|
|
@@ -1033,7 +1033,7 @@ const xs = /* @__PURE__ */ V({
|
|
|
1033
1033
|
refContext: {}
|
|
1034
1034
|
},
|
|
1035
1035
|
setup(t) {
|
|
1036
|
-
const n = t, { node: e } = P(n), o = Be(), s = Ue(), r = xe(), a = ke(), { width: c, minWidth: u, maxWidth: m, height: f, minHeight: p, maxHeight: d, applySize: b } = fe(n, e), { applyTitle: g } = Wo(e), { applyXAxis:
|
|
1036
|
+
const n = t, { node: e } = P(n), o = Be(), s = Ue(), r = xe(), a = ke(), { width: c, minWidth: u, maxWidth: m, height: f, minHeight: p, maxHeight: d, applySize: b } = fe(n, e), { applyTitle: g } = Wo(e), { applyXAxis: h } = Ro(e), { applyYAxis: $ } = Ko(e), { applyLegend: v } = Mo(e), { applySeries: I } = Bo(e), C = x(() => {
|
|
1037
1037
|
const L = {}, U = a.value?.type;
|
|
1038
1038
|
return r === "page" ? U === "common" ? b(L) : console.assert(!1) : r === "comp" && U === "common" ? b(L) : console.assert(!1), L;
|
|
1039
1039
|
}), z = vo("chart");
|
|
@@ -1046,7 +1046,7 @@ const xs = /* @__PURE__ */ V({
|
|
|
1046
1046
|
R?.resize();
|
|
1047
1047
|
}, D = () => {
|
|
1048
1048
|
const L = {};
|
|
1049
|
-
g(L),
|
|
1049
|
+
g(L), h(L), $(L), v(L), I(L), R?.setOption(L, !0);
|
|
1050
1050
|
};
|
|
1051
1051
|
return xo(async () => {
|
|
1052
1052
|
window.addEventListener("resize", j, !1), await Io(() => !!z.value), F(), D();
|
|
@@ -1074,12 +1074,12 @@ const xs = /* @__PURE__ */ V({
|
|
|
1074
1074
|
D();
|
|
1075
1075
|
},
|
|
1076
1076
|
{ deep: !0 }
|
|
1077
|
-
), (L, U) => (
|
|
1077
|
+
), (L, U) => (_(), w(i(G), {
|
|
1078
1078
|
block: "",
|
|
1079
1079
|
mask: ""
|
|
1080
1080
|
}, {
|
|
1081
1081
|
default: S(() => [
|
|
1082
|
-
|
|
1082
|
+
ie("div", {
|
|
1083
1083
|
ref: "chart",
|
|
1084
1084
|
style: ce(C.value)
|
|
1085
1085
|
}, null, 4)
|
|
@@ -1095,7 +1095,7 @@ const xs = /* @__PURE__ */ V({
|
|
|
1095
1095
|
refContext: {}
|
|
1096
1096
|
},
|
|
1097
1097
|
setup(t) {
|
|
1098
|
-
const n = t, { node: e } = P(n), o = Be(), s = Ue(), r = xe(), a = ke(), { width: c, minWidth: u, maxWidth: m, height: f, minHeight: p, maxHeight: d, applySize: b } = fe(n, e), { applyTitle: g } = Wo(e), { applyXAxis:
|
|
1098
|
+
const n = t, { node: e } = P(n), o = Be(), s = Ue(), r = xe(), a = ke(), { width: c, minWidth: u, maxWidth: m, height: f, minHeight: p, maxHeight: d, applySize: b } = fe(n, e), { applyTitle: g } = Wo(e), { applyXAxis: h } = Ro(e), { applyYAxis: $ } = Ko(e), { applyLegend: v } = Mo(e), { applySeries: I } = Bo(e), C = x(() => {
|
|
1099
1099
|
const L = {}, U = a.value?.type;
|
|
1100
1100
|
return r === "page" ? U === "common" ? b(L) : console.assert(!1) : r === "comp" && U === "common" ? b(L) : console.assert(!1), L;
|
|
1101
1101
|
}), z = vo("chart");
|
|
@@ -1108,7 +1108,7 @@ const xs = /* @__PURE__ */ V({
|
|
|
1108
1108
|
R?.resize();
|
|
1109
1109
|
}, D = () => {
|
|
1110
1110
|
const L = {};
|
|
1111
|
-
g(L),
|
|
1111
|
+
g(L), h(L), $(L), v(L), I(L), R?.setOption(L, !0);
|
|
1112
1112
|
};
|
|
1113
1113
|
return xo(async () => {
|
|
1114
1114
|
window.addEventListener("resize", j, !1), await Io(() => !!z.value), F(), D();
|
|
@@ -1136,12 +1136,12 @@ const xs = /* @__PURE__ */ V({
|
|
|
1136
1136
|
D();
|
|
1137
1137
|
},
|
|
1138
1138
|
{ deep: !0 }
|
|
1139
|
-
), (L, U) => (
|
|
1139
|
+
), (L, U) => (_(), w(i(G), {
|
|
1140
1140
|
block: "",
|
|
1141
1141
|
mask: ""
|
|
1142
1142
|
}, {
|
|
1143
1143
|
default: S(() => [
|
|
1144
|
-
|
|
1144
|
+
ie("div", {
|
|
1145
1145
|
ref: "chart",
|
|
1146
1146
|
style: ce(C.value)
|
|
1147
1147
|
}, null, 4)
|
|
@@ -1168,7 +1168,7 @@ const xs = /* @__PURE__ */ V({
|
|
|
1168
1168
|
]);
|
|
1169
1169
|
return (u, m) => {
|
|
1170
1170
|
const f = B("v-badge");
|
|
1171
|
-
return
|
|
1171
|
+
return _(), w(i(G), null, {
|
|
1172
1172
|
default: S(() => [
|
|
1173
1173
|
N(f, {
|
|
1174
1174
|
content: i(o),
|
|
@@ -1202,7 +1202,7 @@ const xs = /* @__PURE__ */ V({
|
|
|
1202
1202
|
]), { property: r } = l(e, ["settings", "block"]), { property: a } = l(e, ["settings", "color"]), { color: c } = q(a), { property: u } = l(e, ["settings", "density"]), { property: m } = l(e, [
|
|
1203
1203
|
"settings",
|
|
1204
1204
|
"disabled"
|
|
1205
|
-
]), { property: f } = l(e, ["size", "height"]), { property: p } = l(e, ["settings", "loading"]), { property: d } = l(e, ["size", "maxHeight"]), { property: b } = l(e, ["size", "maxWidth"]), { property: g } = l(e, ["size", "minHeight"]), { property:
|
|
1205
|
+
]), { property: f } = l(e, ["size", "height"]), { property: p } = l(e, ["settings", "loading"]), { property: d } = l(e, ["size", "maxHeight"]), { property: b } = l(e, ["size", "maxWidth"]), { property: g } = l(e, ["size", "minHeight"]), { property: h } = l(e, ["size", "minWidth"]), { property: $ } = l(e, [
|
|
1206
1206
|
"settings",
|
|
1207
1207
|
"addIcon",
|
|
1208
1208
|
"prepend"
|
|
@@ -1212,15 +1212,15 @@ const xs = /* @__PURE__ */ V({
|
|
|
1212
1212
|
]), { property: I } = l(e, ["settings", "ripple"]), { property: C } = l(e, ["settings", "size"]), { property: z } = l(e, ["settings", "stacked"]), { property: R } = l(e, ["settings", "text"]), { theme: F } = H(), { property: j } = l(e, ["settings", "variant"]), { property: D } = l(e, ["size", "width"]), L = (U) => {
|
|
1213
1213
|
if (!o || !o.vm)
|
|
1214
1214
|
return;
|
|
1215
|
-
const { vm:
|
|
1216
|
-
|
|
1215
|
+
const { vm: te } = o;
|
|
1216
|
+
te.setProp(te.global, "__pointerPosX__", te.newNumber(U.clientX)), te.setProp(te.global, "__pointerPosY__", te.newNumber(U.clientY)), o.callFunction(
|
|
1217
1217
|
"__triggerEventV1__",
|
|
1218
|
-
|
|
1218
|
+
re("elementEvent", n.nodeId, "click")
|
|
1219
1219
|
);
|
|
1220
1220
|
};
|
|
1221
|
-
return (U,
|
|
1221
|
+
return (U, te) => {
|
|
1222
1222
|
const pe = B("v-btn");
|
|
1223
|
-
return
|
|
1223
|
+
return _(), w(i(G), {
|
|
1224
1224
|
block: i(r),
|
|
1225
1225
|
mask: ""
|
|
1226
1226
|
}, {
|
|
@@ -1236,7 +1236,7 @@ const xs = /* @__PURE__ */ V({
|
|
|
1236
1236
|
"max-height": i(d),
|
|
1237
1237
|
"max-width": i(b),
|
|
1238
1238
|
"min-height": i(g),
|
|
1239
|
-
"min-width": i(
|
|
1239
|
+
"min-width": i(h),
|
|
1240
1240
|
"prepend-icon": i($),
|
|
1241
1241
|
readonly: i(v),
|
|
1242
1242
|
ripple: i(I),
|
|
@@ -1256,7 +1256,7 @@ const xs = /* @__PURE__ */ V({
|
|
|
1256
1256
|
}), Ss = {};
|
|
1257
1257
|
function $s(t, n) {
|
|
1258
1258
|
const e = B("v-btn-group");
|
|
1259
|
-
return
|
|
1259
|
+
return _(), w(e, null, {
|
|
1260
1260
|
default: S(() => [
|
|
1261
1261
|
K(t.$slots, "default")
|
|
1262
1262
|
]),
|
|
@@ -1284,9 +1284,9 @@ const Cs = /* @__PURE__ */ ve(Ss, [["render", $s]]), Vs = /* @__PURE__ */ V({
|
|
|
1284
1284
|
"settings",
|
|
1285
1285
|
"readonly"
|
|
1286
1286
|
]), { property: m } = l(e, ["settings", "size"]), { property: f } = l(e, ["settings", "stacked"]), { theme: p } = H(), { property: d } = l(e, ["settings", "tile"]), { property: b } = l(e, ["settings", "variant"]);
|
|
1287
|
-
return (g,
|
|
1287
|
+
return (g, h) => {
|
|
1288
1288
|
const $ = B("v-btn-toggle");
|
|
1289
|
-
return
|
|
1289
|
+
return _(), w($, {
|
|
1290
1290
|
block: i(o),
|
|
1291
1291
|
disabled: i(s),
|
|
1292
1292
|
divided: i(r),
|
|
@@ -1320,10 +1320,10 @@ const Cs = /* @__PURE__ */ ve(Ss, [["render", $s]]), Vs = /* @__PURE__ */ V({
|
|
|
1320
1320
|
]), { property: r } = l(e, ["size", "height"]), { property: a } = l(e, ["settings", "hover"]), { property: c } = l(e, ["settings", "loading"]), { property: u } = l(e, ["size", "maxHeight"]), { property: m } = l(e, ["size", "maxWidth"]), { property: f } = l(e, ["size", "minHeight"]), { property: p } = l(e, ["size", "minWidth"]), { property: d } = l(e, [
|
|
1321
1321
|
"settings",
|
|
1322
1322
|
"subtitle"
|
|
1323
|
-
]), { property: b } = l(e, ["settings", "text"]), { theme: g } = H(), { property:
|
|
1323
|
+
]), { property: b } = l(e, ["settings", "text"]), { theme: g } = H(), { property: h } = l(e, ["settings", "title"]), { property: $ } = l(e, ["settings", "variant"]), { property: v } = l(e, ["size", "width"]);
|
|
1324
1324
|
return (I, C) => {
|
|
1325
1325
|
const z = B("v-card");
|
|
1326
|
-
return
|
|
1326
|
+
return _(), w(i(G), { block: "" }, {
|
|
1327
1327
|
default: S(() => [
|
|
1328
1328
|
N(z, {
|
|
1329
1329
|
density: i(o),
|
|
@@ -1338,7 +1338,7 @@ const Cs = /* @__PURE__ */ ve(Ss, [["render", $s]]), Vs = /* @__PURE__ */ V({
|
|
|
1338
1338
|
subtitle: i(d),
|
|
1339
1339
|
text: i(b),
|
|
1340
1340
|
theme: i(g),
|
|
1341
|
-
title: i(
|
|
1341
|
+
title: i(h),
|
|
1342
1342
|
variant: i($),
|
|
1343
1343
|
width: i(v)
|
|
1344
1344
|
}, {
|
|
@@ -1369,7 +1369,7 @@ const Cs = /* @__PURE__ */ ve(Ss, [["render", $s]]), Vs = /* @__PURE__ */ V({
|
|
|
1369
1369
|
]);
|
|
1370
1370
|
return (r, a) => {
|
|
1371
1371
|
const c = B("v-checkbox");
|
|
1372
|
-
return
|
|
1372
|
+
return _(), w(i(G), { mask: "" }, {
|
|
1373
1373
|
default: S(() => [
|
|
1374
1374
|
N(c, {
|
|
1375
1375
|
disabled: i(o),
|
|
@@ -1397,10 +1397,10 @@ const Cs = /* @__PURE__ */ ve(Ss, [["render", $s]]), Vs = /* @__PURE__ */ V({
|
|
|
1397
1397
|
]), { property: u } = l(e, [
|
|
1398
1398
|
"settings",
|
|
1399
1399
|
"draggable"
|
|
1400
|
-
]), { property: m } = l(e, ["settings", "filter"]), { property: f } = l(e, ["settings", "label"]), { property: p } = l(e, ["settings", "size"]), { property: d } = l(e, ["settings", "text"]), { theme: b } = H(), { property: g } = l(e, ["settings", "tile"]), { property:
|
|
1400
|
+
]), { property: m } = l(e, ["settings", "filter"]), { property: f } = l(e, ["settings", "label"]), { property: p } = l(e, ["settings", "size"]), { property: d } = l(e, ["settings", "text"]), { theme: b } = H(), { property: g } = l(e, ["settings", "tile"]), { property: h } = l(e, ["settings", "value"]), { property: $ } = l(e, ["settings", "variant"]);
|
|
1401
1401
|
return (v, I) => {
|
|
1402
1402
|
const C = B("v-chip");
|
|
1403
|
-
return
|
|
1403
|
+
return _(), w(i(G), { mask: "" }, {
|
|
1404
1404
|
default: S(() => [
|
|
1405
1405
|
N(C, {
|
|
1406
1406
|
closable: i(o),
|
|
@@ -1414,7 +1414,7 @@ const Cs = /* @__PURE__ */ ve(Ss, [["render", $s]]), Vs = /* @__PURE__ */ V({
|
|
|
1414
1414
|
text: i(d),
|
|
1415
1415
|
theme: i(b),
|
|
1416
1416
|
tile: i(g),
|
|
1417
|
-
value: i(
|
|
1417
|
+
value: i(h),
|
|
1418
1418
|
variant: i($)
|
|
1419
1419
|
}, null, 8, ["closable", "color", "density", "disabled", "draggable", "filter", "label", "size", "text", "theme", "tile", "value", "variant"])
|
|
1420
1420
|
]),
|
|
@@ -1448,9 +1448,9 @@ const Cs = /* @__PURE__ */ ve(Ss, [["render", $s]]), Vs = /* @__PURE__ */ V({
|
|
|
1448
1448
|
]), { theme: f } = H(), { property: p } = l(e, ["settings", "value"]);
|
|
1449
1449
|
return (d, b) => {
|
|
1450
1450
|
const g = B("v-chip-group");
|
|
1451
|
-
return
|
|
1451
|
+
return _(), w(g, {
|
|
1452
1452
|
modelValue: i(p),
|
|
1453
|
-
"onUpdate:modelValue": b[0] || (b[0] = (
|
|
1453
|
+
"onUpdate:modelValue": b[0] || (b[0] = (h) => Z(p) ? p.value = h : null),
|
|
1454
1454
|
column: i(o),
|
|
1455
1455
|
direction: i(s),
|
|
1456
1456
|
disabled: i(r),
|
|
@@ -1476,8 +1476,8 @@ const Cs = /* @__PURE__ */ ve(Ss, [["render", $s]]), Vs = /* @__PURE__ */ V({
|
|
|
1476
1476
|
},
|
|
1477
1477
|
setup(t) {
|
|
1478
1478
|
const n = t, { node: e } = P(n), o = xe(), s = ke(), { applySize: r } = fe(n, e), a = x(() => {
|
|
1479
|
-
const
|
|
1480
|
-
return o === "page" ? $ === "common" ? r(
|
|
1479
|
+
const h = {}, $ = s.value?.type;
|
|
1480
|
+
return o === "page" ? $ === "common" ? r(h) : console.assert(!1) : o === "comp" && $ === "common" ? r(h) : console.assert(!1), h;
|
|
1481
1481
|
}), { property: c } = l(e, [
|
|
1482
1482
|
"settings",
|
|
1483
1483
|
"disabled"
|
|
@@ -1500,9 +1500,9 @@ const Cs = /* @__PURE__ */ ve(Ss, [["render", $s]]), Vs = /* @__PURE__ */ V({
|
|
|
1500
1500
|
"settings",
|
|
1501
1501
|
"showSwatches"
|
|
1502
1502
|
]), { theme: g } = H();
|
|
1503
|
-
return (
|
|
1503
|
+
return (h, $) => {
|
|
1504
1504
|
const v = B("v-color-picker");
|
|
1505
|
-
return
|
|
1505
|
+
return _(), w(i(G), { mask: "" }, {
|
|
1506
1506
|
default: S(() => [
|
|
1507
1507
|
N(v, {
|
|
1508
1508
|
disabled: i(c),
|
|
@@ -1543,7 +1543,7 @@ const Cs = /* @__PURE__ */ ve(Ss, [["render", $s]]), Vs = /* @__PURE__ */ V({
|
|
|
1543
1543
|
]), { theme: u } = H(), { property: m } = l(e, ["settings", "value"]);
|
|
1544
1544
|
return (f, p) => {
|
|
1545
1545
|
const d = B("v-combobox");
|
|
1546
|
-
return
|
|
1546
|
+
return _(), w(i(G), { mask: "" }, {
|
|
1547
1547
|
default: S(() => [
|
|
1548
1548
|
N(d, {
|
|
1549
1549
|
modelValue: i(m),
|
|
@@ -1575,9 +1575,9 @@ const Cs = /* @__PURE__ */ ve(Ss, [["render", $s]]), Vs = /* @__PURE__ */ V({
|
|
|
1575
1575
|
const d = {}, b = s.value?.type;
|
|
1576
1576
|
return o === "page" ? b === "common" ? (c(d), u(d), m(d), f(d), a.value && (d.backgroundColor = a.value)) : console.assert(!1) : o === "comp" && b === "common" ? (c(d), u(d), m(d), f(d), a.value && (d.backgroundColor = a.value)) : console.assert(!1), d;
|
|
1577
1577
|
});
|
|
1578
|
-
return (d, b) => (
|
|
1578
|
+
return (d, b) => (_(), w(i(G), { block: "" }, {
|
|
1579
1579
|
default: S(() => [
|
|
1580
|
-
|
|
1580
|
+
ie("div", {
|
|
1581
1581
|
style: ce(p.value)
|
|
1582
1582
|
}, [
|
|
1583
1583
|
K(d.$slots, "default")
|
|
@@ -1604,14 +1604,14 @@ const Cs = /* @__PURE__ */ ve(Ss, [["render", $s]]), Vs = /* @__PURE__ */ V({
|
|
|
1604
1604
|
"settings",
|
|
1605
1605
|
"multiSort"
|
|
1606
1606
|
]), { theme: d } = H(), { property: b } = l(e, ["size", "width"]), g = x(() => {
|
|
1607
|
-
const
|
|
1607
|
+
const h = [];
|
|
1608
1608
|
return (e.value.slots?.items ?? []).forEach((v) => {
|
|
1609
|
-
v.column && v.comp &&
|
|
1610
|
-
}),
|
|
1609
|
+
v.column && v.comp && h.push(v);
|
|
1610
|
+
}), h;
|
|
1611
1611
|
});
|
|
1612
|
-
return (
|
|
1612
|
+
return (h, $) => {
|
|
1613
1613
|
const v = B("v-data-table");
|
|
1614
|
-
return
|
|
1614
|
+
return _(), w(i(G), {
|
|
1615
1615
|
block: "",
|
|
1616
1616
|
mask: ""
|
|
1617
1617
|
}, {
|
|
@@ -1650,7 +1650,7 @@ const Cs = /* @__PURE__ */ ve(Ss, [["render", $s]]), Vs = /* @__PURE__ */ V({
|
|
|
1650
1650
|
setup(t) {
|
|
1651
1651
|
return (n, e) => {
|
|
1652
1652
|
const o = B("v-date-picker");
|
|
1653
|
-
return
|
|
1653
|
+
return _(), w(i(G), { mask: "" }, {
|
|
1654
1654
|
default: S(() => [
|
|
1655
1655
|
N(o)
|
|
1656
1656
|
]),
|
|
@@ -1673,13 +1673,13 @@ const Cs = /* @__PURE__ */ ve(Ss, [["render", $s]]), Vs = /* @__PURE__ */ V({
|
|
|
1673
1673
|
o.value = !1;
|
|
1674
1674
|
}), (s, r) => {
|
|
1675
1675
|
const a = B("v-dialog");
|
|
1676
|
-
return
|
|
1676
|
+
return _(), w(a, {
|
|
1677
1677
|
modelValue: i(o),
|
|
1678
1678
|
"onUpdate:modelValue": r[0] || (r[0] = (c) => Z(o) ? o.value = c : null),
|
|
1679
1679
|
attach: "#dialogContainer"
|
|
1680
1680
|
}, {
|
|
1681
1681
|
activator: S(() => [
|
|
1682
|
-
i(e) === "editor" ? (
|
|
1682
|
+
i(e) === "editor" ? (_(), oe("div", {
|
|
1683
1683
|
key: 0,
|
|
1684
1684
|
id: `__node__@${n.nodeId}`
|
|
1685
1685
|
}, null, 8, Rs)) : le("", !0)
|
|
@@ -1716,13 +1716,13 @@ const Cs = /* @__PURE__ */ ve(Ss, [["render", $s]]), Vs = /* @__PURE__ */ V({
|
|
|
1716
1716
|
"singleLine"
|
|
1717
1717
|
]);
|
|
1718
1718
|
return (b, g) => {
|
|
1719
|
-
const
|
|
1720
|
-
return
|
|
1719
|
+
const h = B("v-file-input");
|
|
1720
|
+
return _(), w(i(G), {
|
|
1721
1721
|
block: "",
|
|
1722
1722
|
mask: ""
|
|
1723
1723
|
}, {
|
|
1724
1724
|
default: S(() => [
|
|
1725
|
-
N(
|
|
1725
|
+
N(h, {
|
|
1726
1726
|
chips: i(o),
|
|
1727
1727
|
density: i(s),
|
|
1728
1728
|
direction: i(r),
|
|
@@ -1752,19 +1752,19 @@ const Cs = /* @__PURE__ */ ve(Ss, [["render", $s]]), Vs = /* @__PURE__ */ V({
|
|
|
1752
1752
|
"backgroundColor"
|
|
1753
1753
|
]), { color: p } = q(f), d = (g) => {
|
|
1754
1754
|
p.value && (g.backgroundColor = p.value), g.display = "flex";
|
|
1755
|
-
const
|
|
1755
|
+
const h = Xe(o.value.width), $ = We(h, e.value.settings?.direction);
|
|
1756
1756
|
$ === "row" ? g.flexDirection = "row" : $ === "rowReverse" ? g.flexDirection = "row-reverse" : $ === "column" ? g.flexDirection = "column" : $ === "columnReverse" && (g.flexDirection = "column-reverse");
|
|
1757
|
-
const v = We(
|
|
1757
|
+
const v = We(h, e.value.settings?.wrap);
|
|
1758
1758
|
v === "no" ? g.flexWrap = "nowrap" : v === "yes" ? g.flexWrap = "wrap" : v === "reverse" && (g.flexWrap = "wrap-reverse");
|
|
1759
|
-
const I = We(
|
|
1759
|
+
const I = We(h, e.value.settings?.mainAlign);
|
|
1760
1760
|
I === "start" ? g.justifyContent = "flex-start" : I === "end" ? g.justifyContent = "flex-end" : I === "center" ? g.justifyContent = "center" : I === "spaceBetween" ? g.justifyContent = "space-between" : I === "spaceAround" ? g.justifyContent = "space-around" : I === "spaceEvenly" && (g.justifyContent = "space-evenly");
|
|
1761
|
-
const C = We(
|
|
1761
|
+
const C = We(h, e.value.settings?.crossAlign);
|
|
1762
1762
|
C === "start" ? g.alignItems = "flex-start" : C === "end" ? g.alignItems = "flex-end" : C === "center" ? g.alignItems = "center" : C === "baseline" ? g.alignItems = "baseline" : C === "stretch" && (g.alignItems = "stretch");
|
|
1763
1763
|
}, b = x(() => {
|
|
1764
|
-
const g = {},
|
|
1765
|
-
return s === "page" ?
|
|
1764
|
+
const g = {}, h = r.value?.type;
|
|
1765
|
+
return s === "page" ? h === "common" ? (a(g), c(g), u(g), m(g), d(g)) : console.assert(!1) : s === "comp" && h === "common" ? (a(g), c(g), u(g), m(g), d(g)) : console.assert(!1), g;
|
|
1766
1766
|
});
|
|
1767
|
-
return (g,
|
|
1767
|
+
return (g, h) => (_(), oe("div", {
|
|
1768
1768
|
style: ce(b.value)
|
|
1769
1769
|
}, [
|
|
1770
1770
|
K(g.$slots, "default")
|
|
@@ -1782,7 +1782,7 @@ const Cs = /* @__PURE__ */ ve(Ss, [["render", $s]]), Vs = /* @__PURE__ */ V({
|
|
|
1782
1782
|
const m = {}, f = s.value?.type;
|
|
1783
1783
|
return o === "page" ? f === "common" ? (r(m), m.flexGrow = a.value ? 1 : 0, m.flexShrink = c.value ? 1 : 0) : console.assert(!1) : o === "comp" && f === "common" ? (r(m), m.flexGrow = a.value ? 1 : 0, m.flexShrink = c.value ? 1 : 0) : console.assert(!1), m;
|
|
1784
1784
|
});
|
|
1785
|
-
return (m, f) => (
|
|
1785
|
+
return (m, f) => (_(), oe("div", {
|
|
1786
1786
|
style: ce(u.value)
|
|
1787
1787
|
}, [
|
|
1788
1788
|
K(m.$slots, "default")
|
|
@@ -1805,20 +1805,20 @@ const Cs = /* @__PURE__ */ ve(Ss, [["render", $s]]), Vs = /* @__PURE__ */ V({
|
|
|
1805
1805
|
]), { color: m } = q(u), { applySize: f } = fe(n, e), { applyMargin: p } = tn(e), { applyPadding: d } = nn(e), { applyBorder: b } = en(e), g = x(() => {
|
|
1806
1806
|
const $ = {}, v = s.value?.type;
|
|
1807
1807
|
return o === "page" ? v === "common" ? (f($), p($), d($), b($), m.value && ($.backgroundColor = m.value)) : console.assert(!1) : o === "comp" && v === "common" ? (f($), p($), d($), b($), m.value && ($.backgroundColor = m.value)) : console.assert(!1), $;
|
|
1808
|
-
}),
|
|
1808
|
+
}), h = () => {
|
|
1809
1809
|
r && r.callFunction(
|
|
1810
1810
|
"__triggerEventV1__",
|
|
1811
|
-
|
|
1811
|
+
re("elementEvent", n.nodeId, "submit")
|
|
1812
1812
|
);
|
|
1813
1813
|
};
|
|
1814
1814
|
return ($, v) => {
|
|
1815
1815
|
const I = B("v-form");
|
|
1816
|
-
return
|
|
1816
|
+
return _(), w(I, {
|
|
1817
1817
|
modelValue: i(a),
|
|
1818
1818
|
"onUpdate:modelValue": v[0] || (v[0] = (C) => Z(a) ? a.value = C : null),
|
|
1819
1819
|
"fast-fail": i(c),
|
|
1820
1820
|
style: ce(g.value),
|
|
1821
|
-
onSubmit: ii(
|
|
1821
|
+
onSubmit: ii(h, ["prevent"])
|
|
1822
1822
|
}, {
|
|
1823
1823
|
default: S(() => [
|
|
1824
1824
|
K($.$slots, "default")
|
|
@@ -1841,7 +1841,7 @@ const Cs = /* @__PURE__ */ ve(Ss, [["render", $s]]), Vs = /* @__PURE__ */ V({
|
|
|
1841
1841
|
]), { property: a } = l(e, ["settings", "icon"]), { property: c } = l(e, ["settings", "size"]), { theme: u } = H();
|
|
1842
1842
|
return (m, f) => {
|
|
1843
1843
|
const p = B("v-icon");
|
|
1844
|
-
return
|
|
1844
|
+
return _(), w(p, {
|
|
1845
1845
|
color: i(s),
|
|
1846
1846
|
disabled: i(r),
|
|
1847
1847
|
icon: i(a),
|
|
@@ -1858,7 +1858,7 @@ const Cs = /* @__PURE__ */ ve(Ss, [["render", $s]]), Vs = /* @__PURE__ */ V({
|
|
|
1858
1858
|
refContext: {}
|
|
1859
1859
|
},
|
|
1860
1860
|
setup(t) {
|
|
1861
|
-
const n = t, e = J(), o = ye(), s =
|
|
1861
|
+
const n = t, e = J(), o = ye(), s = se(0), r = se(0), a = x(() => [s.value, r.value]), { open: c } = So(`runtimeMenu/${wo()}`);
|
|
1862
1862
|
return Ye(n, "open", () => {
|
|
1863
1863
|
if (!o || !o.vm)
|
|
1864
1864
|
return;
|
|
@@ -1868,7 +1868,7 @@ const Cs = /* @__PURE__ */ ve(Ss, [["render", $s]]), Vs = /* @__PURE__ */ V({
|
|
|
1868
1868
|
o && (c.value = !1);
|
|
1869
1869
|
}), (u, m) => {
|
|
1870
1870
|
const f = B("v-menu");
|
|
1871
|
-
return
|
|
1871
|
+
return _(), w(f, {
|
|
1872
1872
|
modelValue: i(c),
|
|
1873
1873
|
"onUpdate:modelValue": m[0] || (m[0] = (p) => Z(c) ? c.value = p : null),
|
|
1874
1874
|
attach: "menuContainer",
|
|
@@ -1877,7 +1877,7 @@ const Cs = /* @__PURE__ */ ve(Ss, [["render", $s]]), Vs = /* @__PURE__ */ V({
|
|
|
1877
1877
|
target: a.value
|
|
1878
1878
|
}, {
|
|
1879
1879
|
activator: S(() => [
|
|
1880
|
-
i(e) === "editor" ? (
|
|
1880
|
+
i(e) === "editor" ? (_(), oe("div", {
|
|
1881
1881
|
key: 0,
|
|
1882
1882
|
id: `__node__@${n.nodeId}`
|
|
1883
1883
|
}, null, 8, Gs)) : le("", !0)
|
|
@@ -1917,7 +1917,7 @@ const Cs = /* @__PURE__ */ ve(Ss, [["render", $s]]), Vs = /* @__PURE__ */ V({
|
|
|
1917
1917
|
]), { property: g } = l(e, [
|
|
1918
1918
|
"settings",
|
|
1919
1919
|
"precision"
|
|
1920
|
-
]), { property:
|
|
1920
|
+
]), { property: h } = l(e, ["settings", "prefix"]), { property: $ } = l(e, [
|
|
1921
1921
|
"settings",
|
|
1922
1922
|
"addIcon",
|
|
1923
1923
|
"prepend"
|
|
@@ -1932,9 +1932,9 @@ const Cs = /* @__PURE__ */ ve(Ss, [["render", $s]]), Vs = /* @__PURE__ */ V({
|
|
|
1932
1932
|
"settings",
|
|
1933
1933
|
"singleLine"
|
|
1934
1934
|
]), { property: R } = l(e, ["settings", "step"]), { property: F } = l(e, ["settings", "suffix"]), { theme: j } = H(), { property: D } = l(e, ["settings", "value"]), { property: L } = l(e, ["settings", "variant"]), { property: U } = l(e, ["size", "width"]);
|
|
1935
|
-
return (
|
|
1935
|
+
return (te, pe) => {
|
|
1936
1936
|
const Ce = B("v-number-input");
|
|
1937
|
-
return
|
|
1937
|
+
return _(), w(i(G), {
|
|
1938
1938
|
block: "",
|
|
1939
1939
|
mask: ""
|
|
1940
1940
|
}, {
|
|
@@ -1954,7 +1954,7 @@ const Cs = /* @__PURE__ */ ve(Ss, [["render", $s]]), Vs = /* @__PURE__ */ V({
|
|
|
1954
1954
|
"min-width": i(d),
|
|
1955
1955
|
placeholder: i(b),
|
|
1956
1956
|
precision: i(g),
|
|
1957
|
-
prefix: i(
|
|
1957
|
+
prefix: i(h),
|
|
1958
1958
|
"prepend-icon": i($),
|
|
1959
1959
|
"prepend-inner-icon": i(v),
|
|
1960
1960
|
readonly: i(I),
|
|
@@ -1986,12 +1986,12 @@ const Cs = /* @__PURE__ */ ve(Ss, [["render", $s]]), Vs = /* @__PURE__ */ V({
|
|
|
1986
1986
|
"settings",
|
|
1987
1987
|
"showFirstLastPage"
|
|
1988
1988
|
]), { property: u } = l(e, ["settings", "size"]), { property: m } = l(e, ["settings", "start"]), { theme: f } = H(), { property: p } = l(e, ["settings", "tile"]), { property: d } = l(e, ["settings", "value"]), { property: b } = l(e, ["settings", "variant"]), g = x(() => {
|
|
1989
|
-
const
|
|
1990
|
-
return o === "editor" && (
|
|
1989
|
+
const h = {};
|
|
1990
|
+
return o === "editor" && (h.pointerEvents = "none"), h;
|
|
1991
1991
|
});
|
|
1992
|
-
return (
|
|
1992
|
+
return (h, $) => {
|
|
1993
1993
|
const v = B("v-pagination");
|
|
1994
|
-
return
|
|
1994
|
+
return _(), w(i(G), {
|
|
1995
1995
|
block: "",
|
|
1996
1996
|
mask: ""
|
|
1997
1997
|
}, {
|
|
@@ -2032,7 +2032,7 @@ const Cs = /* @__PURE__ */ ve(Ss, [["render", $s]]), Vs = /* @__PURE__ */ V({
|
|
|
2032
2032
|
]), { theme: m } = H(), { property: f } = l(e, ["settings", "value"]);
|
|
2033
2033
|
return (p, d) => {
|
|
2034
2034
|
const b = B("v-radio");
|
|
2035
|
-
return
|
|
2035
|
+
return _(), w(b, {
|
|
2036
2036
|
color: i(s),
|
|
2037
2037
|
density: i(r),
|
|
2038
2038
|
disabled: i(a),
|
|
@@ -2063,7 +2063,7 @@ const Cs = /* @__PURE__ */ ve(Ss, [["render", $s]]), Vs = /* @__PURE__ */ V({
|
|
|
2063
2063
|
]), { theme: u } = H(), { property: m } = l(e, ["settings", "value"]);
|
|
2064
2064
|
return (f, p) => {
|
|
2065
2065
|
const d = B("v-radio-group");
|
|
2066
|
-
return
|
|
2066
|
+
return _(), w(i(G), null, {
|
|
2067
2067
|
default: S(() => [
|
|
2068
2068
|
N(d, {
|
|
2069
2069
|
modelValue: i(m),
|
|
@@ -2113,13 +2113,13 @@ const Cs = /* @__PURE__ */ ve(Ss, [["render", $s]]), Vs = /* @__PURE__ */ V({
|
|
|
2113
2113
|
return "always";
|
|
2114
2114
|
if (p.value === "show")
|
|
2115
2115
|
return !0;
|
|
2116
|
-
}), { property: b } = l(e, ["settings", "step"]), { theme: g } = H(), { property:
|
|
2116
|
+
}), { property: b } = l(e, ["settings", "step"]), { theme: g } = H(), { property: h } = l(e, [
|
|
2117
2117
|
"settings",
|
|
2118
2118
|
"thumbLabel"
|
|
2119
2119
|
]), $ = x(() => {
|
|
2120
|
-
if (
|
|
2120
|
+
if (h.value === "always")
|
|
2121
2121
|
return "always";
|
|
2122
|
-
if (
|
|
2122
|
+
if (h.value === "show")
|
|
2123
2123
|
return !0;
|
|
2124
2124
|
}), { property: v } = l(e, [
|
|
2125
2125
|
"settings",
|
|
@@ -2151,14 +2151,14 @@ const Cs = /* @__PURE__ */ ve(Ss, [["render", $s]]), Vs = /* @__PURE__ */ V({
|
|
|
2151
2151
|
});
|
|
2152
2152
|
return (D, L) => {
|
|
2153
2153
|
const U = B("v-range-slider");
|
|
2154
|
-
return
|
|
2154
|
+
return _(), w(i(G), {
|
|
2155
2155
|
block: "",
|
|
2156
2156
|
mask: ""
|
|
2157
2157
|
}, {
|
|
2158
2158
|
default: S(() => [
|
|
2159
2159
|
N(U, {
|
|
2160
2160
|
modelValue: j.value,
|
|
2161
|
-
"onUpdate:modelValue": L[0] || (L[0] = (
|
|
2161
|
+
"onUpdate:modelValue": L[0] || (L[0] = (te) => j.value = te),
|
|
2162
2162
|
density: i(o),
|
|
2163
2163
|
direction: i(s),
|
|
2164
2164
|
disabled: i(r),
|
|
@@ -2203,11 +2203,11 @@ const Cs = /* @__PURE__ */ ve(Ss, [["render", $s]]), Vs = /* @__PURE__ */ V({
|
|
|
2203
2203
|
]), { theme: f } = H(), { property: p } = l(e, ["settings", "value"]);
|
|
2204
2204
|
return (d, b) => {
|
|
2205
2205
|
const g = B("v-rating");
|
|
2206
|
-
return
|
|
2206
|
+
return _(), w(i(G), { mask: "" }, {
|
|
2207
2207
|
default: S(() => [
|
|
2208
2208
|
N(g, {
|
|
2209
2209
|
modelValue: i(p),
|
|
2210
|
-
"onUpdate:modelValue": b[0] || (b[0] = (
|
|
2210
|
+
"onUpdate:modelValue": b[0] || (b[0] = (h) => Z(p) ? p.value = h : null),
|
|
2211
2211
|
clearable: i(o),
|
|
2212
2212
|
density: i(s),
|
|
2213
2213
|
disabled: i(r),
|
|
@@ -2245,7 +2245,7 @@ const Cs = /* @__PURE__ */ ve(Ss, [["render", $s]]), Vs = /* @__PURE__ */ V({
|
|
|
2245
2245
|
]), { theme: u } = H(), { property: m } = l(e, ["settings", "value"]);
|
|
2246
2246
|
return (f, p) => {
|
|
2247
2247
|
const d = B("v-select");
|
|
2248
|
-
return
|
|
2248
|
+
return _(), w(i(G), {
|
|
2249
2249
|
block: "",
|
|
2250
2250
|
mask: ""
|
|
2251
2251
|
}, {
|
|
@@ -2293,7 +2293,7 @@ const Cs = /* @__PURE__ */ ve(Ss, [["render", $s]]), Vs = /* @__PURE__ */ V({
|
|
|
2293
2293
|
return "always";
|
|
2294
2294
|
if (b.value === "show")
|
|
2295
2295
|
return !0;
|
|
2296
|
-
}), { property:
|
|
2296
|
+
}), { property: h } = l(e, ["settings", "step"]), { theme: $ } = H(), { property: v } = l(e, [
|
|
2297
2297
|
"settings",
|
|
2298
2298
|
"thumbColor"
|
|
2299
2299
|
]), { color: I } = q(v), { property: C } = l(e, [
|
|
@@ -2321,17 +2321,17 @@ const Cs = /* @__PURE__ */ ve(Ss, [["render", $s]]), Vs = /* @__PURE__ */ V({
|
|
|
2321
2321
|
]), { property: L } = l(e, [
|
|
2322
2322
|
"settings",
|
|
2323
2323
|
"trackColor"
|
|
2324
|
-
]), { color: U } = q(L), { property:
|
|
2324
|
+
]), { color: U } = q(L), { property: te } = l(e, ["settings", "value"]), { property: pe } = l(e, ["slots", "append"]), { property: Ce } = l(e, ["slots", "prepend"]);
|
|
2325
2325
|
return (be, Je) => {
|
|
2326
2326
|
const ft = B("v-slider");
|
|
2327
|
-
return
|
|
2327
|
+
return _(), w(i(G), {
|
|
2328
2328
|
block: "",
|
|
2329
2329
|
mask: ""
|
|
2330
2330
|
}, {
|
|
2331
2331
|
default: S(() => [
|
|
2332
2332
|
N(ft, {
|
|
2333
|
-
modelValue: i(
|
|
2334
|
-
"onUpdate:modelValue": Je[0] || (Je[0] = (ei) => Z(
|
|
2333
|
+
modelValue: i(te),
|
|
2334
|
+
"onUpdate:modelValue": Je[0] || (Je[0] = (ei) => Z(te) ? te.value = ei : null),
|
|
2335
2335
|
color: i(s),
|
|
2336
2336
|
direction: i(r),
|
|
2337
2337
|
disabled: i(a),
|
|
@@ -2342,7 +2342,7 @@ const Cs = /* @__PURE__ */ ve(Ss, [["render", $s]]), Vs = /* @__PURE__ */ V({
|
|
|
2342
2342
|
readonly: i(p),
|
|
2343
2343
|
reverse: i(d),
|
|
2344
2344
|
"show-ticks": g.value,
|
|
2345
|
-
step: i(
|
|
2345
|
+
step: i(h),
|
|
2346
2346
|
theme: i($),
|
|
2347
2347
|
"thumb-color": i(I),
|
|
2348
2348
|
"thumb-label": z.value,
|
|
@@ -2393,7 +2393,7 @@ const Cs = /* @__PURE__ */ ve(Ss, [["render", $s]]), Vs = /* @__PURE__ */ V({
|
|
|
2393
2393
|
]), { theme: s } = H(), { property: r } = l(e, ["settings", "value"]);
|
|
2394
2394
|
return (a, c) => {
|
|
2395
2395
|
const u = B("v-stepper");
|
|
2396
|
-
return
|
|
2396
|
+
return _(), w(u, {
|
|
2397
2397
|
modelValue: i(r),
|
|
2398
2398
|
"onUpdate:modelValue": c[0] || (c[0] = (m) => Z(r) ? r.value = m : null),
|
|
2399
2399
|
"hide-actions": i(o),
|
|
@@ -2409,7 +2409,7 @@ const Cs = /* @__PURE__ */ ve(Ss, [["render", $s]]), Vs = /* @__PURE__ */ V({
|
|
|
2409
2409
|
}), nl = {};
|
|
2410
2410
|
function ol(t, n) {
|
|
2411
2411
|
const e = B("v-stepper-header");
|
|
2412
|
-
return
|
|
2412
|
+
return _(), w(e, null, {
|
|
2413
2413
|
default: S(() => [
|
|
2414
2414
|
K(t.$slots, "default")
|
|
2415
2415
|
]),
|
|
@@ -2427,7 +2427,7 @@ const il = /* @__PURE__ */ ve(nl, [["render", ol]]), rl = /* @__PURE__ */ V({
|
|
|
2427
2427
|
const n = t, { node: e } = P(n), { property: o } = l(e, ["settings", "value"]);
|
|
2428
2428
|
return (s, r) => {
|
|
2429
2429
|
const a = B("v-stepper-item");
|
|
2430
|
-
return
|
|
2430
|
+
return _(), w(a, { value: i(o) }, {
|
|
2431
2431
|
default: S(() => [
|
|
2432
2432
|
K(s.$slots, "default")
|
|
2433
2433
|
]),
|
|
@@ -2438,7 +2438,7 @@ const il = /* @__PURE__ */ ve(nl, [["render", ol]]), rl = /* @__PURE__ */ V({
|
|
|
2438
2438
|
}), sl = {};
|
|
2439
2439
|
function ll(t, n) {
|
|
2440
2440
|
const e = B("v-stepper-window");
|
|
2441
|
-
return
|
|
2441
|
+
return _(), w(e, null, {
|
|
2442
2442
|
default: S(() => [
|
|
2443
2443
|
K(t.$slots, "default")
|
|
2444
2444
|
]),
|
|
@@ -2456,7 +2456,7 @@ const al = /* @__PURE__ */ ve(sl, [["render", ll]]), cl = /* @__PURE__ */ V({
|
|
|
2456
2456
|
const n = t, { node: e } = P(n), { property: o } = l(e, ["settings", "value"]);
|
|
2457
2457
|
return (s, r) => {
|
|
2458
2458
|
const a = B("v-stepper-window-item");
|
|
2459
|
-
return
|
|
2459
|
+
return _(), w(a, { value: i(o) }, {
|
|
2460
2460
|
default: S(() => [
|
|
2461
2461
|
K(s.$slots, "default")
|
|
2462
2462
|
]),
|
|
@@ -2485,13 +2485,13 @@ const al = /* @__PURE__ */ ve(sl, [["render", ll]]), cl = /* @__PURE__ */ V({
|
|
|
2485
2485
|
"settings",
|
|
2486
2486
|
"indeterminate"
|
|
2487
2487
|
]), { property: u } = l(e, ["settings", "inline"]), { property: m } = l(e, ["settings", "inset"]), { property: f } = l(e, ["settings", "label"]), { property: p } = l(e, ["settings", "loading"]), { theme: d } = H(), { property: b } = l(e, ["settings", "value"]);
|
|
2488
|
-
return (g,
|
|
2488
|
+
return (g, h) => {
|
|
2489
2489
|
const $ = B("v-switch");
|
|
2490
|
-
return
|
|
2490
|
+
return _(), w(i(G), { mask: "" }, {
|
|
2491
2491
|
default: S(() => [
|
|
2492
2492
|
N($, {
|
|
2493
2493
|
modelValue: i(b),
|
|
2494
|
-
"onUpdate:modelValue":
|
|
2494
|
+
"onUpdate:modelValue": h[0] || (h[0] = (v) => Z(b) ? b.value = v : null),
|
|
2495
2495
|
density: i(o),
|
|
2496
2496
|
direction: i(s),
|
|
2497
2497
|
disabled: i(r),
|
|
@@ -2522,7 +2522,7 @@ const al = /* @__PURE__ */ ve(sl, [["render", ll]]), cl = /* @__PURE__ */ V({
|
|
|
2522
2522
|
});
|
|
2523
2523
|
return (u, m) => {
|
|
2524
2524
|
const f = B("v-tab");
|
|
2525
|
-
return
|
|
2525
|
+
return _(), w(i(G), { mask: "" }, {
|
|
2526
2526
|
default: S(() => [
|
|
2527
2527
|
N(f, {
|
|
2528
2528
|
style: ce(c.value),
|
|
@@ -2569,7 +2569,7 @@ const al = /* @__PURE__ */ ve(sl, [["render", ll]]), cl = /* @__PURE__ */ V({
|
|
|
2569
2569
|
]), { property: b } = l(e, ["settings", "grow"]), { property: g } = l(e, [
|
|
2570
2570
|
"settings",
|
|
2571
2571
|
"hideSlider"
|
|
2572
|
-
]), { property:
|
|
2572
|
+
]), { property: h } = l(e, ["settings", "items"]), { property: $ } = l(e, [
|
|
2573
2573
|
"settings",
|
|
2574
2574
|
"mandatory"
|
|
2575
2575
|
]), { property: v } = l(e, [
|
|
@@ -2582,7 +2582,7 @@ const al = /* @__PURE__ */ ve(sl, [["render", ll]]), cl = /* @__PURE__ */ V({
|
|
|
2582
2582
|
]), { color: C } = q(I), { property: z } = l(e, ["settings", "stacked"]), { theme: R } = H(), { property: F } = l(e, ["settings", "value"]);
|
|
2583
2583
|
return (j, D) => {
|
|
2584
2584
|
const L = B("v-tabs");
|
|
2585
|
-
return
|
|
2585
|
+
return _(), w(i(G), {
|
|
2586
2586
|
block: "",
|
|
2587
2587
|
mask: ""
|
|
2588
2588
|
}, {
|
|
@@ -2600,7 +2600,7 @@ const al = /* @__PURE__ */ ve(sl, [["render", ll]]), cl = /* @__PURE__ */ V({
|
|
|
2600
2600
|
"fixed-tabs": i(d),
|
|
2601
2601
|
grow: i(b),
|
|
2602
2602
|
"hide-slider": i(g),
|
|
2603
|
-
items: i(
|
|
2603
|
+
items: i(h),
|
|
2604
2604
|
mandatory: i($),
|
|
2605
2605
|
"show-arrows": i(v),
|
|
2606
2606
|
"slider-color": i(C),
|
|
@@ -2635,9 +2635,9 @@ const al = /* @__PURE__ */ ve(sl, [["render", ll]]), cl = /* @__PURE__ */ V({
|
|
|
2635
2635
|
const p = [], d = Xe(o.value.width), b = We(d, e.value.settings?.style);
|
|
2636
2636
|
return b && p.push(`text-${b}`), a.value === "high" ? p.push("text-high-emphasis") : a.value === "medium" ? p.push("text-medium-emphasis") : a.value === "disabled" && p.push("text-disabled"), s.value && p.push(`font-${s.value}`), r.value && p.push(`text-decoration-${r.value}`), m.value && p.push(`font-weight-${m.value}`), c.value && p.push("font-italic"), p.join(" ");
|
|
2637
2637
|
});
|
|
2638
|
-
return (p, d) => (
|
|
2638
|
+
return (p, d) => (_(), w(i(G), null, {
|
|
2639
2639
|
default: S(() => [
|
|
2640
|
-
|
|
2640
|
+
ie("span", {
|
|
2641
2641
|
class: ri(f.value)
|
|
2642
2642
|
}, si(i(u)), 3)
|
|
2643
2643
|
]),
|
|
@@ -2670,10 +2670,10 @@ const al = /* @__PURE__ */ ve(sl, [["render", ll]]), cl = /* @__PURE__ */ V({
|
|
|
2670
2670
|
]), { property: d } = l(e, ["settings", "reverse"]), { property: b } = l(e, ["settings", "rows"]), { property: g } = l(e, [
|
|
2671
2671
|
"settings",
|
|
2672
2672
|
"singleLine"
|
|
2673
|
-
]), { theme:
|
|
2673
|
+
]), { theme: h } = H(), { property: $ } = l(e, ["settings", "value"]), { property: v } = l(e, ["settings", "variant"]);
|
|
2674
2674
|
return (I, C) => {
|
|
2675
2675
|
const z = B("v-textarea");
|
|
2676
|
-
return
|
|
2676
|
+
return _(), w(i(G), {
|
|
2677
2677
|
block: "",
|
|
2678
2678
|
mask: ""
|
|
2679
2679
|
}, {
|
|
@@ -2693,7 +2693,7 @@ const al = /* @__PURE__ */ ve(sl, [["render", ll]]), cl = /* @__PURE__ */ V({
|
|
|
2693
2693
|
reverse: i(d),
|
|
2694
2694
|
rows: i(b),
|
|
2695
2695
|
"single-line": i(g),
|
|
2696
|
-
theme: i(
|
|
2696
|
+
theme: i(h),
|
|
2697
2697
|
variant: i(v)
|
|
2698
2698
|
}, null, 8, ["modelValue", "auto-grow", "clearable", "density", "disabled", "label", "loading", "max-rows", "placeholder", "readonly", "reverse", "rows", "single-line", "theme", "variant"])
|
|
2699
2699
|
]),
|
|
@@ -2733,7 +2733,7 @@ const al = /* @__PURE__ */ ve(sl, [["render", ll]]), cl = /* @__PURE__ */ V({
|
|
|
2733
2733
|
]), { property: b } = l(e, ["settings", "prefix"]), { property: g } = l(e, [
|
|
2734
2734
|
"settings",
|
|
2735
2735
|
"prependIcon"
|
|
2736
|
-
]), { property:
|
|
2736
|
+
]), { property: h } = l(e, [
|
|
2737
2737
|
"settings",
|
|
2738
2738
|
"prependInnerIcon"
|
|
2739
2739
|
]), { property: $ } = l(e, [
|
|
@@ -2749,9 +2749,9 @@ const al = /* @__PURE__ */ ve(sl, [["render", ll]]), cl = /* @__PURE__ */ V({
|
|
|
2749
2749
|
"slots",
|
|
2750
2750
|
"prependInner"
|
|
2751
2751
|
]);
|
|
2752
|
-
return (
|
|
2752
|
+
return (te, pe) => {
|
|
2753
2753
|
const Ce = B("v-text-field");
|
|
2754
|
-
return
|
|
2754
|
+
return _(), w(i(G), {
|
|
2755
2755
|
block: "",
|
|
2756
2756
|
mask: ""
|
|
2757
2757
|
}, {
|
|
@@ -2771,7 +2771,7 @@ const al = /* @__PURE__ */ ve(sl, [["render", ll]]), cl = /* @__PURE__ */ V({
|
|
|
2771
2771
|
placeholder: i(d),
|
|
2772
2772
|
prefix: i(b),
|
|
2773
2773
|
"prepend-icon": i(g),
|
|
2774
|
-
"prepend-inner-icon": i(
|
|
2774
|
+
"prepend-inner-icon": i(h),
|
|
2775
2775
|
readonly: i($),
|
|
2776
2776
|
reverse: i(v),
|
|
2777
2777
|
"single-line": i(I),
|
|
@@ -2863,14 +2863,14 @@ const al = /* @__PURE__ */ ve(sl, [["render", ll]]), cl = /* @__PURE__ */ V({
|
|
|
2863
2863
|
"settings",
|
|
2864
2864
|
"line",
|
|
2865
2865
|
"thickness"
|
|
2866
|
-
]), { property: g } = l(e, ["settings", "side"]), { property:
|
|
2866
|
+
]), { property: g } = l(e, ["settings", "side"]), { property: h } = l(e, [
|
|
2867
2867
|
"settings",
|
|
2868
2868
|
"line",
|
|
2869
2869
|
"truncate"
|
|
2870
2870
|
]), { theme: $ } = H();
|
|
2871
2871
|
return (v, I) => {
|
|
2872
2872
|
const C = B("v-timeline");
|
|
2873
|
-
return
|
|
2873
|
+
return _(), w(C, {
|
|
2874
2874
|
align: i(o),
|
|
2875
2875
|
density: i(s),
|
|
2876
2876
|
direction: i(r),
|
|
@@ -2882,7 +2882,7 @@ const al = /* @__PURE__ */ ve(sl, [["render", ll]]), cl = /* @__PURE__ */ V({
|
|
|
2882
2882
|
"line-thickness": i(b),
|
|
2883
2883
|
side: i(g),
|
|
2884
2884
|
theme: i($),
|
|
2885
|
-
"truncate-line": i(
|
|
2885
|
+
"truncate-line": i(h)
|
|
2886
2886
|
}, {
|
|
2887
2887
|
default: S(() => [
|
|
2888
2888
|
K(v.$slots, "default")
|
|
@@ -2894,7 +2894,7 @@ const al = /* @__PURE__ */ ve(sl, [["render", ll]]), cl = /* @__PURE__ */ V({
|
|
|
2894
2894
|
}), gl = {};
|
|
2895
2895
|
function hl(t, n) {
|
|
2896
2896
|
const e = B("v-timeline-item");
|
|
2897
|
-
return
|
|
2897
|
+
return _(), w(e, null, {
|
|
2898
2898
|
default: S(() => [
|
|
2899
2899
|
K(t.$slots, "default")
|
|
2900
2900
|
]),
|
|
@@ -2924,7 +2924,7 @@ const _l = /* @__PURE__ */ ve(gl, [["render", hl]]), vl = /* @__PURE__ */ V({
|
|
|
2924
2924
|
]), { property: u } = l(e, ["settings", "touch"]), { theme: m } = H(), { property: f } = l(e, ["settings", "value"]);
|
|
2925
2925
|
return (p, d) => {
|
|
2926
2926
|
const b = B("v-window");
|
|
2927
|
-
return
|
|
2927
|
+
return _(), w(b, {
|
|
2928
2928
|
modelValue: i(f),
|
|
2929
2929
|
"onUpdate:modelValue": d[0] || (d[0] = (g) => Z(f) ? f.value = g : null),
|
|
2930
2930
|
continuous: i(o),
|
|
@@ -2945,7 +2945,7 @@ const _l = /* @__PURE__ */ ve(gl, [["render", hl]]), vl = /* @__PURE__ */ V({
|
|
|
2945
2945
|
}), xl = {};
|
|
2946
2946
|
function kl(t, n) {
|
|
2947
2947
|
const e = B("v-window-item");
|
|
2948
|
-
return
|
|
2948
|
+
return _(), w(e, null, {
|
|
2949
2949
|
default: S(() => [
|
|
2950
2950
|
K(t.$slots, "default")
|
|
2951
2951
|
]),
|
|
@@ -2954,7 +2954,7 @@ function kl(t, n) {
|
|
|
2954
2954
|
}
|
|
2955
2955
|
const wl = /* @__PURE__ */ ve(xl, [["render", kl]]), Il = {};
|
|
2956
2956
|
function Sl(t, n) {
|
|
2957
|
-
return
|
|
2957
|
+
return _(), oe("div");
|
|
2958
2958
|
}
|
|
2959
2959
|
const $l = /* @__PURE__ */ ve(Il, [["render", Sl]]), Cl = /* @__PURE__ */ V({
|
|
2960
2960
|
__name: "index",
|
|
@@ -2964,34 +2964,42 @@ const $l = /* @__PURE__ */ ve(Il, [["render", Sl]]), Cl = /* @__PURE__ */ V({
|
|
|
2964
2964
|
refContext: {}
|
|
2965
2965
|
},
|
|
2966
2966
|
setup(t) {
|
|
2967
|
-
const { t: n } = ot(), e = nt(), o = t, { node: s } = P(o), r = J(), a = ut(), c =
|
|
2968
|
-
mt(c), pt(o, c),
|
|
2969
|
-
const { property: u } = l(s, ["instances"]), m = (
|
|
2970
|
-
|
|
2971
|
-
|
|
2972
|
-
|
|
2967
|
+
const { t: n } = ot(), e = nt(), o = t, { node: s } = P(o), r = J(), a = ut(), c = se();
|
|
2968
|
+
mt(c), pt(o, c), ne(r) && dt(c, "multipleRef", o.nodeId, "", ye());
|
|
2969
|
+
const { property: u } = l(s, ["instances"]), m = (b, g) => {
|
|
2970
|
+
b.findIndex((h) => h === g) >= 0 || b.push(g);
|
|
2971
|
+
}, f = x(() => {
|
|
2972
|
+
const b = [];
|
|
2973
|
+
if (!Array.isArray(u.value))
|
|
2974
|
+
return b;
|
|
2975
|
+
for (const g of u.value)
|
|
2976
|
+
typeof g == "string" && g && m(b, g);
|
|
2977
|
+
return b;
|
|
2978
|
+
}), p = (b) => Q($l, { key: b }), d = () => {
|
|
2973
2979
|
if (!o.refContext) {
|
|
2974
2980
|
console.assert(!1, "invalid of ref context");
|
|
2975
2981
|
return;
|
|
2976
2982
|
}
|
|
2977
2983
|
if (rt(o.refContext, a))
|
|
2978
|
-
return
|
|
2979
|
-
if (c.value
|
|
2980
|
-
return
|
|
2984
|
+
return Q("div", { id: e.id }, n("x-runtime-lib.circularReference"));
|
|
2985
|
+
if (!c.value)
|
|
2986
|
+
return Q("div", { id: e.id });
|
|
2987
|
+
if (c.value.type === "common")
|
|
2988
|
+
return Q(
|
|
2981
2989
|
"div",
|
|
2982
2990
|
{
|
|
2983
2991
|
id: e.id
|
|
2984
2992
|
},
|
|
2985
2993
|
{
|
|
2986
|
-
default: () => f()
|
|
2994
|
+
default: () => f.value.map((g) => p(g))
|
|
2987
2995
|
}
|
|
2988
2996
|
);
|
|
2989
2997
|
};
|
|
2990
|
-
return (
|
|
2998
|
+
return (b, g) => (_(), w(d));
|
|
2991
2999
|
}
|
|
2992
3000
|
}), Vl = {};
|
|
2993
3001
|
function Pl(t, n) {
|
|
2994
|
-
return
|
|
3002
|
+
return _(), oe("div");
|
|
2995
3003
|
}
|
|
2996
3004
|
const Ll = /* @__PURE__ */ ve(Vl, [["render", Pl]]), zl = /* @__PURE__ */ V({
|
|
2997
3005
|
__name: "index",
|
|
@@ -3001,30 +3009,38 @@ const Ll = /* @__PURE__ */ ve(Vl, [["render", Pl]]), zl = /* @__PURE__ */ V({
|
|
|
3001
3009
|
refContext: {}
|
|
3002
3010
|
},
|
|
3003
3011
|
setup(t) {
|
|
3004
|
-
const { t: n } = ot(), e = nt(), o = t, { node: s } = P(o), r = J(), a = ut(), c =
|
|
3005
|
-
mt(c), pt(o, c),
|
|
3006
|
-
const { property: u } = l(s, ["instances"]), m = (
|
|
3007
|
-
|
|
3008
|
-
|
|
3009
|
-
|
|
3012
|
+
const { t: n } = ot(), e = nt(), o = t, { node: s } = P(o), r = J(), a = ut(), c = se();
|
|
3013
|
+
mt(c), pt(o, c), ne(r) && dt(c, "multipleSlot", o.nodeId, "", ye());
|
|
3014
|
+
const { property: u } = l(s, ["instances"]), m = (b, g) => {
|
|
3015
|
+
b.findIndex((h) => h === g) >= 0 || b.push(g);
|
|
3016
|
+
}, f = x(() => {
|
|
3017
|
+
const b = [];
|
|
3018
|
+
if (!Array.isArray(u.value))
|
|
3019
|
+
return b;
|
|
3020
|
+
for (const g of u.value)
|
|
3021
|
+
typeof g == "string" && g && m(b, g);
|
|
3022
|
+
return b;
|
|
3023
|
+
}), p = (b) => Q(Ll, { key: b }), d = () => {
|
|
3010
3024
|
if (!o.refContext) {
|
|
3011
3025
|
console.assert(!1, "invalid of ref context");
|
|
3012
3026
|
return;
|
|
3013
3027
|
}
|
|
3014
3028
|
if (rt(o.refContext, a))
|
|
3015
|
-
return
|
|
3016
|
-
if (c.value
|
|
3017
|
-
return
|
|
3029
|
+
return Q("div", { id: e.id }, n("x-runtime-lib.circularReference"));
|
|
3030
|
+
if (!c.value)
|
|
3031
|
+
return Q("div", { id: e.id });
|
|
3032
|
+
if (c.value.type === "common")
|
|
3033
|
+
return Q(
|
|
3018
3034
|
"div",
|
|
3019
3035
|
{
|
|
3020
3036
|
id: e.id
|
|
3021
3037
|
},
|
|
3022
3038
|
{
|
|
3023
|
-
default: () => f()
|
|
3039
|
+
default: () => f.value.map((g) => p(g))
|
|
3024
3040
|
}
|
|
3025
3041
|
);
|
|
3026
3042
|
};
|
|
3027
|
-
return (
|
|
3043
|
+
return (b, g) => (_(), w(d));
|
|
3028
3044
|
}
|
|
3029
3045
|
}), Tl = /* @__PURE__ */ V({
|
|
3030
3046
|
__name: "index",
|
|
@@ -3034,8 +3050,8 @@ const Ll = /* @__PURE__ */ ve(Vl, [["render", Pl]]), zl = /* @__PURE__ */ V({
|
|
|
3034
3050
|
refContext: {}
|
|
3035
3051
|
},
|
|
3036
3052
|
setup(t) {
|
|
3037
|
-
const { t: n } = ot(), e = nt(), o = t, { node: s } = P(o), r = J(), a = ut(), c =
|
|
3038
|
-
mt(c), pt(o, c),
|
|
3053
|
+
const { t: n } = ot(), e = nt(), o = t, { node: s } = P(o), r = J(), a = ut(), c = se();
|
|
3054
|
+
mt(c), pt(o, c), ne(r) && dt(c, "ref", o.nodeId, "", ye());
|
|
3039
3055
|
const { applySize: u } = fe(o, s), m = x(() => {
|
|
3040
3056
|
const d = {};
|
|
3041
3057
|
return c.value?.type === "common" && u(d), d;
|
|
@@ -3052,7 +3068,7 @@ const Ll = /* @__PURE__ */ ve(Vl, [["render", Pl]]), zl = /* @__PURE__ */ V({
|
|
|
3052
3068
|
return Ao(d.key) && (g.refContext = {
|
|
3053
3069
|
parent: o.refContext,
|
|
3054
3070
|
compId: d.refId
|
|
3055
|
-
}),
|
|
3071
|
+
}), Q(
|
|
3056
3072
|
b.comp,
|
|
3057
3073
|
{
|
|
3058
3074
|
key: d.id,
|
|
@@ -3061,7 +3077,7 @@ const Ll = /* @__PURE__ */ ve(Vl, [["render", Pl]]), zl = /* @__PURE__ */ V({
|
|
|
3061
3077
|
{
|
|
3062
3078
|
default: () => {
|
|
3063
3079
|
if (!b.leaf)
|
|
3064
|
-
return d.children?.map((
|
|
3080
|
+
return d.children?.map((h) => f(h));
|
|
3065
3081
|
}
|
|
3066
3082
|
}
|
|
3067
3083
|
);
|
|
@@ -3072,9 +3088,11 @@ const Ll = /* @__PURE__ */ ve(Vl, [["render", Pl]]), zl = /* @__PURE__ */ V({
|
|
|
3072
3088
|
return;
|
|
3073
3089
|
}
|
|
3074
3090
|
if (rt(o.refContext, a))
|
|
3075
|
-
return
|
|
3076
|
-
if (c.value
|
|
3077
|
-
return
|
|
3091
|
+
return Q("div", { id: e.id }, n("x-runtime-lib.circularReference"));
|
|
3092
|
+
if (!c.value)
|
|
3093
|
+
return Q("div", { id: e.id });
|
|
3094
|
+
if (c.value.type === "common")
|
|
3095
|
+
return Q(
|
|
3078
3096
|
"div",
|
|
3079
3097
|
{
|
|
3080
3098
|
id: e.id,
|
|
@@ -3085,7 +3103,7 @@ const Ll = /* @__PURE__ */ ve(Vl, [["render", Pl]]), zl = /* @__PURE__ */ V({
|
|
|
3085
3103
|
}
|
|
3086
3104
|
);
|
|
3087
3105
|
};
|
|
3088
|
-
return (d, b) => (
|
|
3106
|
+
return (d, b) => (_(), w(p));
|
|
3089
3107
|
}
|
|
3090
3108
|
}), El = /* @__PURE__ */ V({
|
|
3091
3109
|
__name: "index",
|
|
@@ -3096,7 +3114,7 @@ const Ll = /* @__PURE__ */ ve(Vl, [["render", Pl]]), zl = /* @__PURE__ */ V({
|
|
|
3096
3114
|
},
|
|
3097
3115
|
setup(t) {
|
|
3098
3116
|
const n = t, { node: e } = P(n), { property: o } = l(e, ["settings", "open"]);
|
|
3099
|
-
return (s, r) => (
|
|
3117
|
+
return (s, r) => (_(), w(i(G), null, {
|
|
3100
3118
|
default: S(() => [
|
|
3101
3119
|
i(o) ? K(s.$slots, "default", { key: 0 }) : le("", !0)
|
|
3102
3120
|
]),
|
|
@@ -3111,8 +3129,8 @@ const Ll = /* @__PURE__ */ ve(Vl, [["render", Pl]]), zl = /* @__PURE__ */ V({
|
|
|
3111
3129
|
refContext: {}
|
|
3112
3130
|
},
|
|
3113
3131
|
setup(t) {
|
|
3114
|
-
const { t: n } = ot(), e = nt(), o = t, { node: s } = P(o), r = J(), a = ut(), c =
|
|
3115
|
-
mt(c), pt(o, c),
|
|
3132
|
+
const { t: n } = ot(), e = nt(), o = t, { node: s } = P(o), r = J(), a = ut(), c = se();
|
|
3133
|
+
mt(c), pt(o, c), ne(r) && dt(c, "slot", o.nodeId, "", ye());
|
|
3116
3134
|
const { applySize: u } = fe(o, s), m = x(() => {
|
|
3117
3135
|
const d = {};
|
|
3118
3136
|
return c.value?.type === "common" && u(d), d;
|
|
@@ -3129,7 +3147,7 @@ const Ll = /* @__PURE__ */ ve(Vl, [["render", Pl]]), zl = /* @__PURE__ */ V({
|
|
|
3129
3147
|
return Ao(d.key) && (g.refContext = {
|
|
3130
3148
|
parent: o.refContext,
|
|
3131
3149
|
compId: d.refId
|
|
3132
|
-
}),
|
|
3150
|
+
}), Q(
|
|
3133
3151
|
b.comp,
|
|
3134
3152
|
{
|
|
3135
3153
|
key: d.id,
|
|
@@ -3138,7 +3156,7 @@ const Ll = /* @__PURE__ */ ve(Vl, [["render", Pl]]), zl = /* @__PURE__ */ V({
|
|
|
3138
3156
|
{
|
|
3139
3157
|
default: () => {
|
|
3140
3158
|
if (!b.leaf)
|
|
3141
|
-
return d.children?.map((
|
|
3159
|
+
return d.children?.map((h) => f(h));
|
|
3142
3160
|
}
|
|
3143
3161
|
}
|
|
3144
3162
|
);
|
|
@@ -3149,9 +3167,11 @@ const Ll = /* @__PURE__ */ ve(Vl, [["render", Pl]]), zl = /* @__PURE__ */ V({
|
|
|
3149
3167
|
return;
|
|
3150
3168
|
}
|
|
3151
3169
|
if (rt(o.refContext, a))
|
|
3152
|
-
return
|
|
3153
|
-
if (c.value
|
|
3154
|
-
return
|
|
3170
|
+
return Q("div", { id: e.id }, n("x-runtime-lib.circularReference"));
|
|
3171
|
+
if (!c.value)
|
|
3172
|
+
return Q("div", { id: e.id });
|
|
3173
|
+
if (c.value.type === "common")
|
|
3174
|
+
return Q(
|
|
3155
3175
|
"div",
|
|
3156
3176
|
{
|
|
3157
3177
|
id: e.id,
|
|
@@ -3162,7 +3182,7 @@ const Ll = /* @__PURE__ */ ve(Vl, [["render", Pl]]), zl = /* @__PURE__ */ V({
|
|
|
3162
3182
|
}
|
|
3163
3183
|
);
|
|
3164
3184
|
};
|
|
3165
|
-
return (d, b) => (
|
|
3185
|
+
return (d, b) => (_(), w(p));
|
|
3166
3186
|
}
|
|
3167
3187
|
}), y = {
|
|
3168
3188
|
key: "basic",
|
|
@@ -3441,7 +3461,7 @@ const Ll = /* @__PURE__ */ ve(Vl, [["render", Pl]]), zl = /* @__PURE__ */ V({
|
|
|
3441
3461
|
default: ""
|
|
3442
3462
|
}
|
|
3443
3463
|
]
|
|
3444
|
-
},
|
|
3464
|
+
}, ee = {
|
|
3445
3465
|
key: "transform",
|
|
3446
3466
|
name: "x-runtime-lib.transform",
|
|
3447
3467
|
children: [
|
|
@@ -3647,8 +3667,8 @@ const Ll = /* @__PURE__ */ ve(Vl, [["render", Pl]]), zl = /* @__PURE__ */ V({
|
|
|
3647
3667
|
name: "x-runtime-lib.orthographicCamera",
|
|
3648
3668
|
comp: ji,
|
|
3649
3669
|
properties: {
|
|
3650
|
-
pageScene: [y,
|
|
3651
|
-
compScene: [y,
|
|
3670
|
+
pageScene: [y, ee, bn],
|
|
3671
|
+
compScene: [y, ee, bn]
|
|
3652
3672
|
},
|
|
3653
3673
|
events: [],
|
|
3654
3674
|
methods: [],
|
|
@@ -3693,8 +3713,8 @@ const gn = {
|
|
|
3693
3713
|
name: "x-runtime-lib.perspectiveCamera",
|
|
3694
3714
|
comp: Hi,
|
|
3695
3715
|
properties: {
|
|
3696
|
-
pageScene: [y,
|
|
3697
|
-
compScene: [y,
|
|
3716
|
+
pageScene: [y, ee, gn],
|
|
3717
|
+
compScene: [y, ee, gn]
|
|
3698
3718
|
},
|
|
3699
3719
|
events: [],
|
|
3700
3720
|
methods: [],
|
|
@@ -4076,8 +4096,8 @@ const vn = {
|
|
|
4076
4096
|
name: "x-runtime-lib.ambientLight",
|
|
4077
4097
|
comp: tr,
|
|
4078
4098
|
properties: {
|
|
4079
|
-
pageScene: [y,
|
|
4080
|
-
compScene: [y,
|
|
4099
|
+
pageScene: [y, ee, vn],
|
|
4100
|
+
compScene: [y, ee, vn]
|
|
4081
4101
|
},
|
|
4082
4102
|
events: [],
|
|
4083
4103
|
methods: [],
|
|
@@ -4106,8 +4126,8 @@ const xn = {
|
|
|
4106
4126
|
name: "x-runtime-lib.directionalLight",
|
|
4107
4127
|
comp: or,
|
|
4108
4128
|
properties: {
|
|
4109
|
-
pageScene: [y,
|
|
4110
|
-
compScene: [y,
|
|
4129
|
+
pageScene: [y, ee, xn],
|
|
4130
|
+
compScene: [y, ee, xn]
|
|
4111
4131
|
},
|
|
4112
4132
|
events: [],
|
|
4113
4133
|
methods: [],
|
|
@@ -4150,8 +4170,8 @@ const kn = {
|
|
|
4150
4170
|
name: "x-runtime-lib.pointLight",
|
|
4151
4171
|
comp: rr,
|
|
4152
4172
|
properties: {
|
|
4153
|
-
pageScene: [y,
|
|
4154
|
-
compScene: [y,
|
|
4173
|
+
pageScene: [y, ee, kn],
|
|
4174
|
+
compScene: [y, ee, kn]
|
|
4155
4175
|
},
|
|
4156
4176
|
events: [],
|
|
4157
4177
|
methods: [],
|
|
@@ -4211,8 +4231,8 @@ const wn = {
|
|
|
4211
4231
|
name: "x-runtime-lib.spotLight",
|
|
4212
4232
|
comp: lr,
|
|
4213
4233
|
properties: {
|
|
4214
|
-
pageScene: [y,
|
|
4215
|
-
compScene: [y,
|
|
4234
|
+
pageScene: [y, ee, wn],
|
|
4235
|
+
compScene: [y, ee, wn]
|
|
4216
4236
|
},
|
|
4217
4237
|
events: [],
|
|
4218
4238
|
methods: [],
|
|
@@ -4238,8 +4258,8 @@ const Xl = {
|
|
|
4238
4258
|
name: "x-runtime-lib.group",
|
|
4239
4259
|
comp: pr,
|
|
4240
4260
|
properties: {
|
|
4241
|
-
pageScene: [y,
|
|
4242
|
-
compScene: [y,
|
|
4261
|
+
pageScene: [y, ee],
|
|
4262
|
+
compScene: [y, ee]
|
|
4243
4263
|
},
|
|
4244
4264
|
events: [],
|
|
4245
4265
|
methods: [],
|
|
@@ -4251,8 +4271,8 @@ const Oe = {
|
|
|
4251
4271
|
name: "x-runtime-lib.mesh",
|
|
4252
4272
|
comp: fr,
|
|
4253
4273
|
properties: {
|
|
4254
|
-
pageScene: [y,
|
|
4255
|
-
compScene: [y,
|
|
4274
|
+
pageScene: [y, ee],
|
|
4275
|
+
compScene: [y, ee]
|
|
4256
4276
|
},
|
|
4257
4277
|
events: [],
|
|
4258
4278
|
methods: [],
|
|
@@ -7667,7 +7687,7 @@ const uo = {
|
|
|
7667
7687
|
defaultArray: []
|
|
7668
7688
|
}, Na = {
|
|
7669
7689
|
key: "multiple_ref_v1",
|
|
7670
|
-
name: "x-runtime-lib.
|
|
7690
|
+
name: "x-runtime-lib.multipleRef",
|
|
7671
7691
|
comp: Cl,
|
|
7672
7692
|
properties: {
|
|
7673
7693
|
pageCommon: [y, uo, mo],
|
|
@@ -8943,7 +8963,7 @@ function Ju(t) {
|
|
|
8943
8963
|
let s = "";
|
|
8944
8964
|
return n.length > 2 ? s = n[2] : console.error(`unwrapMethodKeyOfCustomSlot invalid methodId key=${t}`), { compId: e, slotId: o, methodId: s };
|
|
8945
8965
|
}
|
|
8946
|
-
function
|
|
8966
|
+
function re(t, n, e) {
|
|
8947
8967
|
return `${t}/${n}/${e}`;
|
|
8948
8968
|
}
|
|
8949
8969
|
function qc(t) {
|
|
@@ -8992,7 +9012,7 @@ function em(t) {
|
|
|
8992
9012
|
return n.length > 2 ? s = n[2] : console.error(`unwrapSlotId invalid slotKey id=${t}`), { kind: e, mainKey: o, slotKey: s };
|
|
8993
9013
|
}
|
|
8994
9014
|
function pt(t, n) {
|
|
8995
|
-
const e = Gc(), o =
|
|
9015
|
+
const e = Gc(), o = se(-1);
|
|
8996
9016
|
ge(() => {
|
|
8997
9017
|
if (!t.refContext?.compId) {
|
|
8998
9018
|
o.value = -1, n.value = void 0;
|
|
@@ -9134,11 +9154,11 @@ function Zc(t) {
|
|
|
9134
9154
|
strInputs: g,
|
|
9135
9155
|
env: f
|
|
9136
9156
|
}).then(
|
|
9137
|
-
({ strOutputs:
|
|
9138
|
-
Ae(t) && (b.resolve(n.evalCode(`JSON.parse('${
|
|
9157
|
+
({ strOutputs: h }) => {
|
|
9158
|
+
Ae(t) && (b.resolve(n.evalCode(`JSON.parse('${h}')`).unwrap()), t.promiseManager.release(d));
|
|
9139
9159
|
},
|
|
9140
|
-
(
|
|
9141
|
-
Ae(t) && (b.reject(n.newString(`call func <${p}> failed, ${
|
|
9160
|
+
(h) => {
|
|
9161
|
+
Ae(t) && (b.reject(n.newString(`call func <${p}> failed, ${h}`)), t.promiseManager.release(d));
|
|
9142
9162
|
}
|
|
9143
9163
|
), b.settled.then(n.runtime.executePendingJobs), b.handle;
|
|
9144
9164
|
}).consume((e) => n.setProp(n.global, "__callFuncV1__", e));
|
|
@@ -9177,7 +9197,7 @@ function eu(t) {
|
|
|
9177
9197
|
{
|
|
9178
9198
|
var p = [];
|
|
9179
9199
|
try {
|
|
9180
|
-
const D = Ve(p, n.newString(
|
|
9200
|
+
const D = Ve(p, n.newString(re("refEvent", t.id, a)));
|
|
9181
9201
|
n.callFunction(j, n.global, D, ...o);
|
|
9182
9202
|
} catch (d) {
|
|
9183
9203
|
var b = d, g = !0;
|
|
@@ -9186,16 +9206,16 @@ function eu(t) {
|
|
|
9186
9206
|
}
|
|
9187
9207
|
}
|
|
9188
9208
|
{
|
|
9189
|
-
var
|
|
9209
|
+
var h = [];
|
|
9190
9210
|
try {
|
|
9191
|
-
const D = Ve(
|
|
9192
|
-
|
|
9211
|
+
const D = Ve(h, n.newString(
|
|
9212
|
+
re("multipleRefEvent", t.id, a)
|
|
9193
9213
|
));
|
|
9194
9214
|
n.callFunction(j, n.global, D, ...o);
|
|
9195
9215
|
} catch ($) {
|
|
9196
9216
|
var v = $, I = !0;
|
|
9197
9217
|
} finally {
|
|
9198
|
-
Pe(
|
|
9218
|
+
Pe(h, v, I);
|
|
9199
9219
|
}
|
|
9200
9220
|
}
|
|
9201
9221
|
} catch (z) {
|
|
@@ -9418,7 +9438,7 @@ class iu {
|
|
|
9418
9438
|
async createVm(n, e) {
|
|
9419
9439
|
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.callFunction(
|
|
9420
9440
|
"__triggerEventV1__",
|
|
9421
|
-
|
|
9441
|
+
re("elementEvent", "globality", "startup")
|
|
9422
9442
|
);
|
|
9423
9443
|
}
|
|
9424
9444
|
destroyVm() {
|
|
@@ -9439,7 +9459,7 @@ class iu {
|
|
|
9439
9459
|
//--------------------------
|
|
9440
9460
|
// 元素属性
|
|
9441
9461
|
//--------------------------
|
|
9442
|
-
data =
|
|
9462
|
+
data = se();
|
|
9443
9463
|
associateData(n) {
|
|
9444
9464
|
this.data.value = n.value;
|
|
9445
9465
|
}
|
|
@@ -9492,7 +9512,7 @@ class iu {
|
|
|
9492
9512
|
// 元素方法
|
|
9493
9513
|
//--------------------------
|
|
9494
9514
|
callElementMethod(n, e) {
|
|
9495
|
-
if (!
|
|
9515
|
+
if (!ne(this.mode))
|
|
9496
9516
|
return;
|
|
9497
9517
|
const { methodKey: o } = Zo(n), s = {};
|
|
9498
9518
|
return this.eventBus.emit(n, { key: o, inputs: e, outputs: s }), s;
|
|
@@ -9501,7 +9521,7 @@ class iu {
|
|
|
9501
9521
|
// 自定义方法
|
|
9502
9522
|
//--------------------------
|
|
9503
9523
|
callCustomMethod(n, e) {
|
|
9504
|
-
if (
|
|
9524
|
+
if (ne(this.mode))
|
|
9505
9525
|
return this.callFunction(`__implementMethod$${n}__`, e);
|
|
9506
9526
|
}
|
|
9507
9527
|
//--------------------------
|
|
@@ -9549,7 +9569,7 @@ class iu {
|
|
|
9549
9569
|
}
|
|
9550
9570
|
function dt(t, n, e, o, s) {
|
|
9551
9571
|
const r = Nc(), a = jc(), c = J(), u = xe(), m = Be(), f = Ue(), p = Hc(), d = (I, C, z, R) => {
|
|
9552
|
-
if (
|
|
9572
|
+
if (ne(c)) {
|
|
9553
9573
|
if (ae(C, ["settings", "comp"])) {
|
|
9554
9574
|
const F = t.value?.view.nodeLites.find(
|
|
9555
9575
|
(j) => j.id === I
|
|
@@ -9558,7 +9578,7 @@ function dt(t, n, e, o, s) {
|
|
|
9558
9578
|
}
|
|
9559
9579
|
if (v.callFunction(
|
|
9560
9580
|
"__triggerEventV1__",
|
|
9561
|
-
|
|
9581
|
+
re("elementPropertyChangeEvent", I, C.join(".")),
|
|
9562
9582
|
z,
|
|
9563
9583
|
R ?? z
|
|
9564
9584
|
), t.value?.code.reactivity) {
|
|
@@ -9577,19 +9597,19 @@ function dt(t, n, e, o, s) {
|
|
|
9577
9597
|
}
|
|
9578
9598
|
}
|
|
9579
9599
|
}, b = (I, C, z) => {
|
|
9580
|
-
|
|
9600
|
+
ne(c) && (v.callFunction(
|
|
9581
9601
|
"__triggerEventV1__",
|
|
9582
|
-
|
|
9602
|
+
re("customPropertyChangeEvent", "globality", I),
|
|
9583
9603
|
C,
|
|
9584
9604
|
z ?? C
|
|
9585
9605
|
), v.parent?.callFunction(
|
|
9586
9606
|
"__triggerEventV1__",
|
|
9587
|
-
|
|
9607
|
+
re("refPropertyChangeEvent", v.id, I),
|
|
9588
9608
|
C,
|
|
9589
9609
|
z ?? C
|
|
9590
9610
|
), v.parent?.callFunction(
|
|
9591
9611
|
"__triggerEventV1__",
|
|
9592
|
-
|
|
9612
|
+
re("multipleRefPropertyChangeEvent", v.id, I),
|
|
9593
9613
|
C,
|
|
9594
9614
|
z ?? C
|
|
9595
9615
|
), t.value?.code.reactivity && qe(
|
|
@@ -9600,9 +9620,9 @@ function dt(t, n, e, o, s) {
|
|
|
9600
9620
|
z
|
|
9601
9621
|
));
|
|
9602
9622
|
}, g = (I, C, z) => {
|
|
9603
|
-
|
|
9604
|
-
},
|
|
9605
|
-
|
|
9623
|
+
ne(c) && console.log("onSlotPropetyChange", I, C, z);
|
|
9624
|
+
}, h = (I, C, z) => {
|
|
9625
|
+
ne(c) && t.value?.code.reactivity && qe(
|
|
9606
9626
|
v,
|
|
9607
9627
|
t.value.code.reactivity,
|
|
9608
9628
|
Re({ type: "adaptSlotProperty", propertyId: I }),
|
|
@@ -9610,9 +9630,9 @@ function dt(t, n, e, o, s) {
|
|
|
9610
9630
|
z
|
|
9611
9631
|
);
|
|
9612
9632
|
}, $ = (I, C, z) => {
|
|
9613
|
-
|
|
9633
|
+
ne(c) && (v.callFunction(
|
|
9614
9634
|
"__triggerEventV1__",
|
|
9615
|
-
|
|
9635
|
+
re("stateChangeEvent", "globality", I),
|
|
9616
9636
|
C,
|
|
9617
9637
|
z ?? C
|
|
9618
9638
|
), t.value?.code.reactivity && qe(
|
|
@@ -9626,12 +9646,12 @@ function dt(t, n, e, o, s) {
|
|
|
9626
9646
|
onElementPropertyChange: d,
|
|
9627
9647
|
onCustomPropertyChange: b,
|
|
9628
9648
|
onSlotPropetyChange: g,
|
|
9629
|
-
onAdaptSlotPropertyChange:
|
|
9649
|
+
onAdaptSlotPropertyChange: h,
|
|
9630
9650
|
onStateChange: $
|
|
9631
9651
|
});
|
|
9632
9652
|
if (Uc(v), Ge(() => {
|
|
9633
9653
|
v.dispose();
|
|
9634
|
-
}),
|
|
9654
|
+
}), ne(c)) {
|
|
9635
9655
|
const I = async () => {
|
|
9636
9656
|
v.destroyVm(), v.associateData(t), v.resetCustomProperties(), v.resetAdaptSlotProperties(), v.resetStates(), !(!t.value || !t.value.code.script) && v.createVm(p, t.value.code.script);
|
|
9637
9657
|
};
|
|
@@ -9639,24 +9659,24 @@ function dt(t, n, e, o, s) {
|
|
|
9639
9659
|
I();
|
|
9640
9660
|
});
|
|
9641
9661
|
}
|
|
9642
|
-
|
|
9662
|
+
ne(c) && de(
|
|
9643
9663
|
m,
|
|
9644
9664
|
(I, C) => {
|
|
9645
9665
|
const z = Xe(I.width), R = Xe(C?.width ?? I.width);
|
|
9646
9666
|
v.callFunction(
|
|
9647
9667
|
"__triggerEventV1__",
|
|
9648
|
-
|
|
9668
|
+
re("elementEvent", "globality", "screenSizeChange"),
|
|
9649
9669
|
z,
|
|
9650
9670
|
R
|
|
9651
9671
|
);
|
|
9652
9672
|
},
|
|
9653
9673
|
{ immediate: !0 }
|
|
9654
|
-
),
|
|
9674
|
+
), ne(c) && de(
|
|
9655
9675
|
f,
|
|
9656
9676
|
(I) => {
|
|
9657
9677
|
v.callFunction(
|
|
9658
9678
|
"__triggerEventV1__",
|
|
9659
|
-
|
|
9679
|
+
re("elementEvent", "globality", "darkModeChange"),
|
|
9660
9680
|
I
|
|
9661
9681
|
);
|
|
9662
9682
|
},
|
|
@@ -9670,7 +9690,7 @@ const ru = (t, n, e) => {
|
|
|
9670
9690
|
});
|
|
9671
9691
|
};
|
|
9672
9692
|
async function nm(t) {
|
|
9673
|
-
return (await ru(/* @__PURE__ */ Object.assign({ "./locales/en/index.ts": () => import("./i18n-en.
|
|
9693
|
+
return (await ru(/* @__PURE__ */ Object.assign({ "./locales/en/index.ts": () => import("./i18n-en.eapdxe8u.js"), "./locales/zhHans/index.ts": () => import("./i18n-zhHans.h6tloe69.js") }), `./locales/${t}/index.ts`, 4)).default;
|
|
9674
9694
|
}
|
|
9675
9695
|
export {
|
|
9676
9696
|
yu as addIndent,
|
|
@@ -9729,7 +9749,7 @@ export {
|
|
|
9729
9749
|
ye as injectSandbox,
|
|
9730
9750
|
xe as injectType,
|
|
9731
9751
|
rt as isCircularReference,
|
|
9732
|
-
|
|
9752
|
+
ne as isExecutableMode,
|
|
9733
9753
|
Ri as isLocaleOfEventKind,
|
|
9734
9754
|
Wi as isLocaleOfMethodKind,
|
|
9735
9755
|
Bi as isLocaleOfPropertyKind,
|
|
@@ -9740,7 +9760,7 @@ export {
|
|
|
9740
9760
|
Wl as keyboardControlsV1,
|
|
9741
9761
|
St as lineChartV1,
|
|
9742
9762
|
nm as loadLocaleMessageRuntime,
|
|
9743
|
-
|
|
9763
|
+
re as makeEventId,
|
|
9744
9764
|
Yu as makeEventKeyOfCustomSlot,
|
|
9745
9765
|
qu as makeEventKeyOfElementSlot,
|
|
9746
9766
|
Jc as makeMethodId,
|