x-runtime-lib 0.8.165 → 0.8.166
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 +569 -552
- package/dist/sandbox/sandbox/index.d.ts +4 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var Vn = (t, n) => (n = Symbol[t]) ? n : /* @__PURE__ */ Symbol.for("Symbol." + t), Pn = (t) => {
|
|
2
2
|
throw TypeError(t);
|
|
3
3
|
};
|
|
4
|
-
var
|
|
4
|
+
var Ne = (t, n, e) => {
|
|
5
5
|
if (n != null) {
|
|
6
6
|
typeof n != "object" && typeof n != "function" && Pn("Object expected");
|
|
7
7
|
var o, i;
|
|
@@ -29,10 +29,10 @@ var je = (t, n, e) => {
|
|
|
29
29
|
};
|
|
30
30
|
return r();
|
|
31
31
|
};
|
|
32
|
-
import { defineComponent as I, createElementBlock as ee, createCommentVNode as le, unref as s, openBlock as x, createElementVNode as
|
|
33
|
-
import { globalObjects as ke, waitUtil as Mi, useViewStack as Bi, eventBus as Ri, messageInfo as ho, messageSuccess as go, messageWarning as Wi, messageError as
|
|
34
|
-
import { CameraHelper as
|
|
35
|
-
import { c as So, i as ye, a as Qe, K as Co, M as $o, O as Vo, u as Po, r as Di, e as Oi, b as Eo, d as zo, f as Lo, g as Ao, h as To, j as Uo, k as Mo, l as Bo, m as
|
|
32
|
+
import { defineComponent as I, createElementBlock as ee, createCommentVNode as le, unref as s, openBlock as x, createElementVNode as Ke, computed as k, renderSlot as D, normalizeStyle as he, ref as te, watch as ue, onUnmounted as we, onBeforeMount as dn, watchEffect as Ve, h as W, createVNode as K, createBlock as S, useTemplateRef as zi, onMounted as Li, nextTick as Me, withCtx as P, toDisplayString as Ai, useAttrs as xt, resolveComponent as B, isRef as ne, createSlots as pn, renderList as fo, useId as Ti, withModifiers as yo, normalizeClass as bo, mergeModels as Ui, useModel as mt, inject as de, provide as pe, readonly as mn } from "vue";
|
|
33
|
+
import { globalObjects as ke, waitUtil as Mi, useViewStack as Bi, eventBus as Ri, messageInfo as ho, messageSuccess as go, messageWarning as Wi, messageError as Ki, createAxios as vo, openConfirmDlg as _o, openPromptDlg as xo } from "x-essential-lib";
|
|
34
|
+
import { CameraHelper as Fi, DirectionalLightHelper as ko, PointLightHelper as wo, SpotLightHelper as Io } from "three";
|
|
35
|
+
import { c as So, i as ye, a as Qe, K as Co, M as $o, O as Vo, u as Po, r as Di, e as Oi, b as Eo, d as zo, f as Lo, g as Ao, h as To, j as Uo, k as Mo, l as Bo, m as F, H as Ro, n as ji, o as Wo, p as Ko, q as Fo } from "./vendor.ei4hhazo.js";
|
|
36
36
|
import { useTheme as Do } from "vuetify";
|
|
37
37
|
import { getErrorMessage as Oo } from "x-error-lib";
|
|
38
38
|
const En = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
|
|
@@ -70,23 +70,23 @@ function $t(t) {
|
|
|
70
70
|
if (!isNaN(e))
|
|
71
71
|
return e;
|
|
72
72
|
}
|
|
73
|
-
const
|
|
73
|
+
const Ni = ["xs", "sm", "md", "lg", "xl"], jo = [...Ni].reverse();
|
|
74
74
|
function ft(t) {
|
|
75
75
|
return t < 600 ? "xs" : t < 960 ? "sm" : t < 1280 ? "md" : t < 1920 ? "lg" : "xl";
|
|
76
76
|
}
|
|
77
77
|
function zn(t) {
|
|
78
|
-
return
|
|
78
|
+
return Ni.findIndex((n) => n === t);
|
|
79
79
|
}
|
|
80
80
|
function Ge(t, n) {
|
|
81
81
|
let e;
|
|
82
|
-
for (const o of
|
|
82
|
+
for (const o of jo) {
|
|
83
83
|
if (zn(o) < zn(t))
|
|
84
84
|
break;
|
|
85
85
|
n[o] && (e = n[o]);
|
|
86
86
|
}
|
|
87
87
|
return e;
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function ze(t, n) {
|
|
90
90
|
let e = t;
|
|
91
91
|
if (typeof e != "object")
|
|
92
92
|
return;
|
|
@@ -126,7 +126,7 @@ function Lc(t) {
|
|
|
126
126
|
function et(t) {
|
|
127
127
|
return t.startsWith("ref_v") || t.startsWith("multiple_ref_v") || t.startsWith("slot_v") || t.startsWith("multiple_slot_v");
|
|
128
128
|
}
|
|
129
|
-
function
|
|
129
|
+
function No(t) {
|
|
130
130
|
return t === "runtime" || t === "preview";
|
|
131
131
|
}
|
|
132
132
|
function tt(t, n) {
|
|
@@ -160,8 +160,8 @@ function U(t, n) {
|
|
|
160
160
|
function Ac({ type: t, version: n, view: e, code: o }) {
|
|
161
161
|
const i = (u, p) => {
|
|
162
162
|
const d = { id: p.id };
|
|
163
|
-
p.children && (d.children = [], p.children.forEach((
|
|
164
|
-
i(d.children,
|
|
163
|
+
p.children && (d.children = [], p.children.forEach((f) => {
|
|
164
|
+
i(d.children, f);
|
|
165
165
|
})), u.push(d);
|
|
166
166
|
}, r = [];
|
|
167
167
|
e.nodeLites.forEach((u) => {
|
|
@@ -252,7 +252,7 @@ function R(t, n) {
|
|
|
252
252
|
throw new Error("");
|
|
253
253
|
return `${t}${So(n)}`;
|
|
254
254
|
}
|
|
255
|
-
const
|
|
255
|
+
const Kc = [
|
|
256
256
|
"globality_v1",
|
|
257
257
|
"multiple_ref_v1",
|
|
258
258
|
"multiple_slot_v1",
|
|
@@ -323,7 +323,7 @@ const Fc = [
|
|
|
323
323
|
"3d_sphere_geometry_v1",
|
|
324
324
|
"3d_spot_light_v1"
|
|
325
325
|
];
|
|
326
|
-
function
|
|
326
|
+
function N(...t) {
|
|
327
327
|
return t.map((n) => ke.i18n.global.t(`x-runtime-lib.${n}`)).join(" - ");
|
|
328
328
|
}
|
|
329
329
|
function bn(t, n, e) {
|
|
@@ -333,19 +333,19 @@ function bn(t, n, e) {
|
|
|
333
333
|
l > 0 && (i += " - "), e ? i += o.global.t(r) : i += r;
|
|
334
334
|
}), i;
|
|
335
335
|
}
|
|
336
|
-
function
|
|
336
|
+
function Fc(t, n) {
|
|
337
337
|
let e = "";
|
|
338
|
-
return t === "elementProperty" || (t === "refProperty" || t === "multipleRefProperty" ? e =
|
|
338
|
+
return t === "elementProperty" || (t === "refProperty" || t === "multipleRefProperty" ? e = N("reference") : t === "customSlotProperty" || t === "multipleCustomSlotProperty" ? e = N("slot") : t === "customProperty" ? e = N("custom") : t === "adaptSlotElementProperty" || t === "adaptSlotCustomProperty" ? e = N("adaptSlot") : console.assert(!1)), bn(e, n, Ho(t));
|
|
339
339
|
}
|
|
340
340
|
function Dc(t, n) {
|
|
341
341
|
let e = "";
|
|
342
|
-
return t === "elementMethod" || (t === "refMethod" || t === "multipleRefMethod" ? e =
|
|
342
|
+
return t === "elementMethod" || (t === "refMethod" || t === "multipleRefMethod" ? e = N("reference") : t === "customSlotMethod" || t === "multipleCustomSlotMethod" ? e = N("slot") : t === "customMethod" ? e = N("custom") : t === "adaptSlotElementMethod" || t === "adaptSlotCustomMethod" ? e = N("adaptSlot") : console.assert(!1)), bn(e, n, Go(t));
|
|
343
343
|
}
|
|
344
344
|
function Oc(t, n) {
|
|
345
345
|
let e = "";
|
|
346
|
-
return t === "elementEvent" || (t === "elementPropertyChangeEvent" ? e =
|
|
346
|
+
return t === "elementEvent" || (t === "elementPropertyChangeEvent" ? e = N("propertyChange") : t === "refEvent" ? e = N("reference") : t === "refPropertyChangeEvent" ? e = N("reference", "propertyChange") : t === "multipleRefEvent" ? e = N("reference") : t === "multipleRefPropertyChangeEvent" ? e = N("reference", "propertyChange") : t === "customSlotEvent" ? e = N("slot") : t === "customSlotPropertyChangeEvent" ? e = N("slot", "propertyChange") : t === "multipleCustomSlotEvent" ? e = N("slot") : t === "multipleCustomSlotPropertyChangeEvent" ? e = N("slot", "propertyChange") : t === "customEvent" ? e = N("custom") : t === "customPropertyChangeEvent" ? e = N("custom", "propertyChange") : t === "adaptSlotElementEvent" ? e = N("adaptSlot") : t === "adaptSlotElementPropertyChangeEvent" ? e = N("adaptSlot", "propertyChange") : t === "adaptSlotCustomEvent" ? e = N("adaptSlot") : t === "adaptSlotCustomPropertyChangeEvent" ? e = N("adaptSlot", "propertyChange") : t === "stateChangeEvent" ? e = N("state") : console.assert(!1)), bn(e, n, Jo(t));
|
|
347
347
|
}
|
|
348
|
-
const Yo = ["position", "ratation", "scale"],
|
|
348
|
+
const Yo = ["position", "ratation", "scale"], Fe = /* @__PURE__ */ I({
|
|
349
349
|
__name: "index",
|
|
350
350
|
props: {
|
|
351
351
|
position: { default: () => {
|
|
@@ -364,7 +364,7 @@ const Yo = ["position", "ratation", "scale"], Ke = /* @__PURE__ */ I({
|
|
|
364
364
|
scale: t.scale ?? [1, 1, 1],
|
|
365
365
|
visible: !1
|
|
366
366
|
}, [...o[0] || (o[0] = [
|
|
367
|
-
|
|
367
|
+
Ke("TresBoxGeometry", { args: [1, 1, 1] }, null, -1)
|
|
368
368
|
])], 8, Yo)) : le("", !0);
|
|
369
369
|
}
|
|
370
370
|
}), G = /* @__PURE__ */ I({
|
|
@@ -426,7 +426,7 @@ function yt(t, n, e) {
|
|
|
426
426
|
}
|
|
427
427
|
const Qo = (t, n, e, o) => {
|
|
428
428
|
let i;
|
|
429
|
-
if (t ? i = t.getElementProperty(n.basic.id, e) : i =
|
|
429
|
+
if (t ? i = t.getElementProperty(n.basic.id, e) : i = ze(n, e), o) {
|
|
430
430
|
if (typeof i == "string")
|
|
431
431
|
return JSON.parse(i);
|
|
432
432
|
console.assert(!1);
|
|
@@ -486,7 +486,7 @@ function bt(t, n, e, o) {
|
|
|
486
486
|
}
|
|
487
487
|
function nt(t, n, e) {
|
|
488
488
|
function o(r) {
|
|
489
|
-
const l =
|
|
489
|
+
const l = Pe[r.key];
|
|
490
490
|
if (!l) {
|
|
491
491
|
console.assert(!1, `element not found key=${r.key}`);
|
|
492
492
|
return;
|
|
@@ -550,20 +550,20 @@ function me(t) {
|
|
|
550
550
|
"transform",
|
|
551
551
|
"rotation",
|
|
552
552
|
"z"
|
|
553
|
-
]), { property: u } = a(t, ["transform", "scale", "x"]), { property: p } = a(t, ["transform", "scale", "y"]), { property: d } = a(t, ["transform", "scale", "z"]),
|
|
553
|
+
]), { property: u } = a(t, ["transform", "scale", "x"]), { property: p } = a(t, ["transform", "scale", "y"]), { property: d } = a(t, ["transform", "scale", "z"]), f = te([0, 0, 0]), c = te([0, 0, 0]), m = te([1, 1, 1]);
|
|
554
554
|
return Ve(() => {
|
|
555
|
-
|
|
555
|
+
f.value = [n.value, e.value, o.value];
|
|
556
556
|
}), Ve(() => {
|
|
557
|
-
n.value =
|
|
557
|
+
n.value = f.value[0], e.value = f.value[1], o.value = f.value[2];
|
|
558
558
|
}), Ve(() => {
|
|
559
559
|
c.value = [i.value, r.value, l.value];
|
|
560
560
|
}), Ve(() => {
|
|
561
561
|
i.value = c.value[0], r.value = c.value[1], l.value = c.value[2];
|
|
562
562
|
}), Ve(() => {
|
|
563
|
-
|
|
563
|
+
m.value = [u.value, p.value, d.value];
|
|
564
564
|
}), Ve(() => {
|
|
565
|
-
u.value =
|
|
566
|
-
}), { position:
|
|
565
|
+
u.value = m.value[0], p.value = m.value[1], d.value = m.value[2];
|
|
566
|
+
}), { position: f, rotation: c, scale: m };
|
|
567
567
|
}
|
|
568
568
|
function Hi(t) {
|
|
569
569
|
const n = k(() => t.value.legend?.show), e = k(() => t.value.legend?.data);
|
|
@@ -632,8 +632,8 @@ function Z(t) {
|
|
|
632
632
|
}
|
|
633
633
|
function hn(t) {
|
|
634
634
|
const n = k(() => t.value.border?.style), e = k(() => t.value.border?.width), o = k(() => t.value.border?.color), { color: i } = Z(o), r = k(() => t.value.border?.roundRadius?.tl), l = k(() => t.value.border?.roundRadius?.tr), u = k(() => t.value.border?.roundRadius?.bl), p = k(() => t.value.border?.roundRadius?.br);
|
|
635
|
-
function d(
|
|
636
|
-
n.value && (
|
|
635
|
+
function d(f) {
|
|
636
|
+
n.value && (f.borderStyle = n.value), e.value && (f.borderWidth = e.value), i.value && (f.borderColor = i.value), r.value && (f.borderTopLeftRadius = r.value), l.value && (f.borderTopRightRadius = l.value), u.value && (f.borderBottomLeftRadius = u.value), p.value && (f.borderBottomRightRadius = p.value);
|
|
637
637
|
}
|
|
638
638
|
return { borderStyle: n, borderWidth: e, borderColor: i, applyBorder: d };
|
|
639
639
|
}
|
|
@@ -652,7 +652,7 @@ function vn(t) {
|
|
|
652
652
|
return { paddingTop: n, paddingLeft: e, paddingBottom: o, paddingRight: i, applyPadding: r };
|
|
653
653
|
}
|
|
654
654
|
function ge(t, n) {
|
|
655
|
-
const e = ie(), o =
|
|
655
|
+
const e = ie(), o = je(), i = k(() => n.value.size?.width), r = k(() => n.value.size?.minWidth), l = k(() => n.value.size?.maxWidth), u = k(() => {
|
|
656
656
|
if (t.outer && e === "editor") {
|
|
657
657
|
const c = $t(n.value.size?.height);
|
|
658
658
|
if (c)
|
|
@@ -674,10 +674,10 @@ function ge(t, n) {
|
|
|
674
674
|
}
|
|
675
675
|
return n.value.size?.maxHeight;
|
|
676
676
|
});
|
|
677
|
-
function
|
|
677
|
+
function f(c) {
|
|
678
678
|
i.value && (c.width = i.value), r.value && (c.minWidth = r.value), l.value && (c.maxWidth = l.value), u.value && (c.height = u.value), p.value && (c.minHeight = p.value), d.value && (c.maxHeight = d.value);
|
|
679
679
|
}
|
|
680
|
-
return { width: i, minWidth: r, maxWidth: l, height: u, minHeight: p, maxHeight: d, applySize:
|
|
680
|
+
return { width: i, minWidth: r, maxWidth: l, height: u, minHeight: p, maxHeight: d, applySize: f };
|
|
681
681
|
}
|
|
682
682
|
const ts = ["bottom", "far", "left", "near", "position", "right", "rotation", "scale", "top"], ns = /* @__PURE__ */ I({
|
|
683
683
|
__name: "index",
|
|
@@ -687,22 +687,22 @@ const ts = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
687
687
|
refContext: {}
|
|
688
688
|
},
|
|
689
689
|
setup(t) {
|
|
690
|
-
const n = t, { node: e } = E(n), o = ie(), { position: i, rotation: r, scale: l } = me(e), { property: u } = a(e, ["settings", "bottom"]), { property: p } = a(e, ["settings", "far"]), { property: d } = a(e, ["settings", "left"]), { property:
|
|
690
|
+
const n = t, { node: e } = E(n), o = ie(), { position: i, rotation: r, scale: l } = me(e), { property: u } = a(e, ["settings", "bottom"]), { property: p } = a(e, ["settings", "far"]), { property: d } = a(e, ["settings", "left"]), { property: f } = a(e, ["settings", "near"]), { property: c } = a(e, ["settings", "right"]), { property: m } = a(e, ["settings", "top"]);
|
|
691
691
|
return (h, y) => (x(), ee("TresOrthographicCamera", {
|
|
692
692
|
bottom: s(u),
|
|
693
693
|
far: s(p),
|
|
694
694
|
left: s(d),
|
|
695
|
-
near: s(
|
|
695
|
+
near: s(f),
|
|
696
696
|
position: s(i),
|
|
697
697
|
right: s(c),
|
|
698
698
|
rotation: s(r),
|
|
699
699
|
scale: s(l),
|
|
700
|
-
top: s(
|
|
700
|
+
top: s(m)
|
|
701
701
|
}, [
|
|
702
|
-
|
|
702
|
+
K(s(Fe)),
|
|
703
703
|
s(o) === "editor" ? (x(), S(s(Qe), {
|
|
704
704
|
key: 0,
|
|
705
|
-
type: s(
|
|
705
|
+
type: s(Fi)
|
|
706
706
|
}, null, 8, ["type"])) : le("", !0),
|
|
707
707
|
D(h.$slots, "default")
|
|
708
708
|
], 8, ts));
|
|
@@ -715,20 +715,20 @@ const ts = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
715
715
|
refContext: {}
|
|
716
716
|
},
|
|
717
717
|
setup(t) {
|
|
718
|
-
const n = t, { node: e } = E(n), o = ie(), { position: i, rotation: r, scale: l } = me(e), { property: u } = a(e, ["settings", "aspect"]), { property: p } = a(e, ["settings", "far"]), { property: d } = a(e, ["settings", "fov"]), { property:
|
|
719
|
-
return (c,
|
|
718
|
+
const n = t, { node: e } = E(n), o = ie(), { position: i, rotation: r, scale: l } = me(e), { property: u } = a(e, ["settings", "aspect"]), { property: p } = a(e, ["settings", "far"]), { property: d } = a(e, ["settings", "fov"]), { property: f } = a(e, ["settings", "near"]);
|
|
719
|
+
return (c, m) => (x(), ee("TresPerspectiveCamera", {
|
|
720
720
|
aspect: s(u),
|
|
721
721
|
far: s(p),
|
|
722
722
|
fov: s(d),
|
|
723
|
-
near: s(
|
|
723
|
+
near: s(f),
|
|
724
724
|
position: s(i),
|
|
725
725
|
rotation: s(r),
|
|
726
726
|
scale: s(l)
|
|
727
727
|
}, [
|
|
728
|
-
|
|
728
|
+
K(s(Fe)),
|
|
729
729
|
s(o) === "editor" ? (x(), S(s(Qe), {
|
|
730
730
|
key: 0,
|
|
731
|
-
type: s(
|
|
731
|
+
type: s(Fi)
|
|
732
732
|
}, null, 8, ["type"])) : le("", !0),
|
|
733
733
|
D(c.$slots, "default")
|
|
734
734
|
], 8, is));
|
|
@@ -769,7 +769,7 @@ const ts = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
769
769
|
"settings",
|
|
770
770
|
"widthSegements"
|
|
771
771
|
]);
|
|
772
|
-
return (d,
|
|
772
|
+
return (d, f) => (x(), ee("TresBoxGeometry", {
|
|
773
773
|
args: [
|
|
774
774
|
s(u),
|
|
775
775
|
s(r),
|
|
@@ -812,7 +812,7 @@ const ts = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
812
812
|
"settings",
|
|
813
813
|
"widthSegments"
|
|
814
814
|
]);
|
|
815
|
-
return (
|
|
815
|
+
return (f, c) => (x(), ee("TresSphereGeometry", {
|
|
816
816
|
args: [
|
|
817
817
|
s(l),
|
|
818
818
|
s(d),
|
|
@@ -836,14 +836,14 @@ const ts = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
836
836
|
"settings",
|
|
837
837
|
"intensity"
|
|
838
838
|
]);
|
|
839
|
-
return (d,
|
|
839
|
+
return (d, f) => (x(), ee("TresAmbientLight", {
|
|
840
840
|
color: s(u),
|
|
841
841
|
intensity: s(p),
|
|
842
842
|
position: s(o),
|
|
843
843
|
rotation: s(i),
|
|
844
844
|
scale: s(r)
|
|
845
845
|
}, [
|
|
846
|
-
|
|
846
|
+
K(s(Fe)),
|
|
847
847
|
D(d.$slots, "default")
|
|
848
848
|
], 8, ps));
|
|
849
849
|
}
|
|
@@ -859,19 +859,19 @@ const ts = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
859
859
|
"settings",
|
|
860
860
|
"intensity"
|
|
861
861
|
]);
|
|
862
|
-
return (
|
|
862
|
+
return (f, c) => (x(), ee("TresDirectionalLight", {
|
|
863
863
|
color: s(p),
|
|
864
864
|
intensity: s(d),
|
|
865
865
|
position: s(i),
|
|
866
866
|
rotation: s(r),
|
|
867
867
|
scale: s(l)
|
|
868
868
|
}, [
|
|
869
|
-
|
|
869
|
+
K(s(Fe)),
|
|
870
870
|
s(o) === "editor" ? (x(), S(s(Qe), {
|
|
871
871
|
key: 0,
|
|
872
872
|
type: s(ko)
|
|
873
873
|
}, null, 8, ["type"])) : le("", !0),
|
|
874
|
-
D(
|
|
874
|
+
D(f.$slots, "default")
|
|
875
875
|
], 8, fs));
|
|
876
876
|
}
|
|
877
877
|
}), bs = ["color", "decay", "distance", "intensity", "position", "rotation", "scale"], hs = /* @__PURE__ */ I({
|
|
@@ -882,28 +882,28 @@ const ts = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
882
882
|
refContext: {}
|
|
883
883
|
},
|
|
884
884
|
setup(t) {
|
|
885
|
-
const n = t, { node: e } = E(n), o = ie(), { position: i, rotation: r, scale: l } = me(e), { property: u } = a(e, ["settings", "color"]), { color: p } = Z(u), { property: d } = a(e, ["settings", "decay"]), { property:
|
|
885
|
+
const n = t, { node: e } = E(n), o = ie(), { position: i, rotation: r, scale: l } = me(e), { property: u } = a(e, ["settings", "color"]), { color: p } = Z(u), { property: d } = a(e, ["settings", "decay"]), { property: f } = a(e, [
|
|
886
886
|
"settings",
|
|
887
887
|
"distance"
|
|
888
888
|
]), { property: c } = a(e, [
|
|
889
889
|
"settings",
|
|
890
890
|
"intensity"
|
|
891
891
|
]);
|
|
892
|
-
return (
|
|
892
|
+
return (m, h) => (x(), ee("TresPointLight", {
|
|
893
893
|
color: s(p),
|
|
894
894
|
decay: s(d),
|
|
895
|
-
distance: s(
|
|
895
|
+
distance: s(f),
|
|
896
896
|
intensity: s(c),
|
|
897
897
|
position: s(i),
|
|
898
898
|
rotation: s(r),
|
|
899
899
|
scale: s(l)
|
|
900
900
|
}, [
|
|
901
|
-
|
|
901
|
+
K(s(Fe)),
|
|
902
902
|
s(o) === "editor" ? (x(), S(s(Qe), {
|
|
903
903
|
key: 0,
|
|
904
904
|
type: s(wo)
|
|
905
905
|
}, null, 8, ["type"])) : le("", !0),
|
|
906
|
-
D(
|
|
906
|
+
D(m.$slots, "default")
|
|
907
907
|
], 8, bs));
|
|
908
908
|
}
|
|
909
909
|
}), gs = ["angle", "color", "decay", "distance", "intensity", "penumbra", "position", "rotation", "scale"], vs = /* @__PURE__ */ I({
|
|
@@ -914,10 +914,10 @@ const ts = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
914
914
|
refContext: {}
|
|
915
915
|
},
|
|
916
916
|
setup(t) {
|
|
917
|
-
const n = t, { node: e } = E(n), o = ie(), { position: i, rotation: r, scale: l } = me(e), { property: u } = a(e, ["settings", "angle"]), { property: p } = a(e, ["settings", "color"]), { color: d } = Z(p), { property:
|
|
917
|
+
const n = t, { node: e } = E(n), o = ie(), { position: i, rotation: r, scale: l } = me(e), { property: u } = a(e, ["settings", "angle"]), { property: p } = a(e, ["settings", "color"]), { color: d } = Z(p), { property: f } = a(e, ["settings", "decay"]), { property: c } = a(e, [
|
|
918
918
|
"settings",
|
|
919
919
|
"distance"
|
|
920
|
-
]), { property:
|
|
920
|
+
]), { property: m } = a(e, [
|
|
921
921
|
"settings",
|
|
922
922
|
"intensity"
|
|
923
923
|
]), { property: h } = a(e, [
|
|
@@ -927,15 +927,15 @@ const ts = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
927
927
|
return (y, g) => (x(), ee("TresSpotLight", {
|
|
928
928
|
angle: s(u),
|
|
929
929
|
color: s(d),
|
|
930
|
-
decay: s(
|
|
930
|
+
decay: s(f),
|
|
931
931
|
distance: s(c),
|
|
932
|
-
intensity: s(
|
|
932
|
+
intensity: s(m),
|
|
933
933
|
penumbra: s(h),
|
|
934
934
|
position: s(o) !== "editor" ? s(i) : [0, 0, 0],
|
|
935
935
|
rotation: s(o) !== "editor" ? s(r) : [0, 0, 0],
|
|
936
936
|
scale: s(o) !== "editor" ? s(l) : [1, 1, 1]
|
|
937
937
|
}, [
|
|
938
|
-
|
|
938
|
+
K(s(Fe)),
|
|
939
939
|
s(o) === "editor" ? (x(), S(s(Qe), {
|
|
940
940
|
key: 0,
|
|
941
941
|
type: s(Io)
|
|
@@ -981,7 +981,7 @@ const ks = /* @__PURE__ */ De(_s, [["render", xs]]), ws = ["position", "rotation
|
|
|
981
981
|
D(l.$slots, "default")
|
|
982
982
|
], 8, Ss));
|
|
983
983
|
}
|
|
984
|
-
}), $s = ["#dd6b66", "#759aa0", "#e69d87", "#8dc1a9", "#ea7e53", "#eedd78", "#73a373", "#73b9bc", "#7289ab", "#91ca8c", "#f49f42"], Vs = "#242424", Ps = {}, Es = { textStyle: { color: "#eeeeee" }, subtextStyle: { color: "#aaaaaa" } }, zs = { itemStyle: { borderWidth: 1 }, lineStyle: { width: 2 }, symbolSize: 4, symbol: "circle", smooth: !1 }, Ls = { itemStyle: { borderWidth: 1 }, lineStyle: { width: 2 }, symbolSize: 4, symbol: "circle", smooth: !1 }, As = { itemStyle: { barBorderWidth: 0, barBorderColor: "#ccc" } }, Ts = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Us = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Ms = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Bs = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Rs = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Ws = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } },
|
|
984
|
+
}), $s = ["#dd6b66", "#759aa0", "#e69d87", "#8dc1a9", "#ea7e53", "#eedd78", "#73a373", "#73b9bc", "#7289ab", "#91ca8c", "#f49f42"], Vs = "#242424", Ps = {}, Es = { textStyle: { color: "#eeeeee" }, subtextStyle: { color: "#aaaaaa" } }, zs = { itemStyle: { borderWidth: 1 }, lineStyle: { width: 2 }, symbolSize: 4, symbol: "circle", smooth: !1 }, Ls = { itemStyle: { borderWidth: 1 }, lineStyle: { width: 2 }, symbolSize: 4, symbol: "circle", smooth: !1 }, As = { itemStyle: { barBorderWidth: 0, barBorderColor: "#ccc" } }, Ts = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Us = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Ms = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Bs = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Rs = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Ws = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Ks = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Fs = { itemStyle: { color: "#fd1050", color0: "#0cf49b", borderColor: "#fd1050", borderColor0: "#0cf49b", borderWidth: 1 } }, Ds = { itemStyle: { borderWidth: 0, borderColor: "#ccc" }, lineStyle: { width: 1, color: "#aaa" }, symbolSize: 4, symbol: "circle", smooth: !1, color: ["#dd6b66", "#759aa0", "#e69d87", "#8dc1a9", "#ea7e53", "#eedd78", "#73a373", "#73b9bc", "#7289ab", "#91ca8c", "#f49f42"], label: { color: "#eee" } }, Os = { itemStyle: { areaColor: "#eee", borderColor: "#444", borderWidth: 0.5 }, label: { color: "#000" }, emphasis: { itemStyle: { areaColor: "rgba(255,215,0,0.8)", borderColor: "#444", borderWidth: 1 }, label: { color: "rgb(100,0,0)" } } }, js = { 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)" } } }, Ns = { 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"] } } }, Hs = { 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"] } } }, Gs = { 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"] } } }, Js = { 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"] } } }, qs = { iconStyle: { borderColor: "#999" }, emphasis: { iconStyle: { borderColor: "#666" } } }, Xs = { textStyle: { color: "#eeeeee" } }, Ys = { axisPointer: { lineStyle: { color: "#eeeeee", width: "1" }, crossStyle: { color: "#eeeeee", width: "1" } } }, Zs = { 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" } } }, Qs = { color: ["#bf444c", "#d88273", "#f6efa6"] }, er = { 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" } }, tr = { label: { color: "#eee" }, emphasis: { label: { color: "#eee" } } }, nr = {
|
|
985
985
|
color: $s,
|
|
986
986
|
backgroundColor: Vs,
|
|
987
987
|
textStyle: Ps,
|
|
@@ -995,12 +995,12 @@ const ks = /* @__PURE__ */ De(_s, [["render", xs]]), ws = ["position", "rotation
|
|
|
995
995
|
parallel: Bs,
|
|
996
996
|
sankey: Rs,
|
|
997
997
|
funnel: Ws,
|
|
998
|
-
gauge:
|
|
999
|
-
candlestick:
|
|
998
|
+
gauge: Ks,
|
|
999
|
+
candlestick: Fs,
|
|
1000
1000
|
graph: Ds,
|
|
1001
1001
|
map: Os,
|
|
1002
|
-
geo:
|
|
1003
|
-
categoryAxis:
|
|
1002
|
+
geo: js,
|
|
1003
|
+
categoryAxis: Ns,
|
|
1004
1004
|
valueAxis: Hs,
|
|
1005
1005
|
logAxis: Gs,
|
|
1006
1006
|
timeAxis: Js,
|
|
@@ -1062,7 +1062,7 @@ const Ar = /* @__PURE__ */ I({
|
|
|
1062
1062
|
refContext: {}
|
|
1063
1063
|
},
|
|
1064
1064
|
setup(t) {
|
|
1065
|
-
const n = t, { node: e } = E(n), o =
|
|
1065
|
+
const n = t, { node: e } = E(n), o = je(), i = it(), r = Ee(), l = ae(), { width: u, minWidth: p, maxWidth: d, height: f, minHeight: c, maxHeight: m, applySize: h } = ge(n, e), { applyTitle: y } = Ji(e), { applyXAxis: g } = qi(e), { applyYAxis: _ } = Xi(e), { applyLegend: $ } = Hi(e), { applySeries: w } = Gi(e), v = k(() => {
|
|
1066
1066
|
const L = {}, q = l.value?.type;
|
|
1067
1067
|
return r === "page" ? q === "ui" ? h(L) : console.assert(!1) : r === "comp" && q === "ui" ? h(L) : console.assert(!1), L;
|
|
1068
1068
|
}), V = zi("chart");
|
|
@@ -1073,12 +1073,12 @@ const Ar = /* @__PURE__ */ I({
|
|
|
1073
1073
|
z.setOption(L);
|
|
1074
1074
|
}, O = () => {
|
|
1075
1075
|
z?.resize();
|
|
1076
|
-
},
|
|
1076
|
+
}, j = () => {
|
|
1077
1077
|
const L = {};
|
|
1078
1078
|
y(L), g(L), _(L), $(L), w(L), z?.setOption(L, !0);
|
|
1079
1079
|
};
|
|
1080
1080
|
return Li(async () => {
|
|
1081
|
-
window.addEventListener("resize", O, !1), await Mi(() => !!V.value), H(),
|
|
1081
|
+
window.addEventListener("resize", O, !1), await Mi(() => !!V.value), H(), j();
|
|
1082
1082
|
}), we(() => {
|
|
1083
1083
|
window.removeEventListener("resize", O, !1), z?.dispose();
|
|
1084
1084
|
}), ue(
|
|
@@ -1088,19 +1088,19 @@ const Ar = /* @__PURE__ */ I({
|
|
|
1088
1088
|
u,
|
|
1089
1089
|
p,
|
|
1090
1090
|
d,
|
|
1091
|
-
|
|
1091
|
+
f,
|
|
1092
1092
|
c,
|
|
1093
|
-
|
|
1093
|
+
m
|
|
1094
1094
|
],
|
|
1095
1095
|
async () => {
|
|
1096
1096
|
await Me(), O();
|
|
1097
1097
|
}
|
|
1098
1098
|
), ue([i], () => {
|
|
1099
|
-
H(),
|
|
1099
|
+
H(), j();
|
|
1100
1100
|
}), ue(
|
|
1101
1101
|
[n],
|
|
1102
1102
|
() => {
|
|
1103
|
-
|
|
1103
|
+
j();
|
|
1104
1104
|
},
|
|
1105
1105
|
{ deep: !0 }
|
|
1106
1106
|
), (L, q) => (x(), S(s(G), {
|
|
@@ -1108,7 +1108,7 @@ const Ar = /* @__PURE__ */ I({
|
|
|
1108
1108
|
mask: ""
|
|
1109
1109
|
}, {
|
|
1110
1110
|
default: P(() => [
|
|
1111
|
-
|
|
1111
|
+
Ke("div", {
|
|
1112
1112
|
ref: "chart",
|
|
1113
1113
|
style: he(v.value)
|
|
1114
1114
|
}, null, 4)
|
|
@@ -1124,7 +1124,7 @@ const Ar = /* @__PURE__ */ I({
|
|
|
1124
1124
|
refContext: {}
|
|
1125
1125
|
},
|
|
1126
1126
|
setup(t) {
|
|
1127
|
-
const n = t, { node: e } = E(n), o =
|
|
1127
|
+
const n = t, { node: e } = E(n), o = je(), i = it(), r = Ee(), l = ae(), { width: u, minWidth: p, maxWidth: d, height: f, minHeight: c, maxHeight: m, applySize: h } = ge(n, e), { applyTitle: y } = Ji(e), { applyXAxis: g } = qi(e), { applyYAxis: _ } = Xi(e), { applyLegend: $ } = Hi(e), { applySeries: w } = Gi(e), v = k(() => {
|
|
1128
1128
|
const L = {}, q = l.value?.type;
|
|
1129
1129
|
return r === "page" ? q === "ui" ? h(L) : console.assert(!1) : r === "comp" && q === "ui" ? h(L) : console.assert(!1), L;
|
|
1130
1130
|
}), V = zi("chart");
|
|
@@ -1135,12 +1135,12 @@ const Ar = /* @__PURE__ */ I({
|
|
|
1135
1135
|
z.setOption(L);
|
|
1136
1136
|
}, O = () => {
|
|
1137
1137
|
z?.resize();
|
|
1138
|
-
},
|
|
1138
|
+
}, j = () => {
|
|
1139
1139
|
const L = {};
|
|
1140
1140
|
y(L), g(L), _(L), $(L), w(L), z?.setOption(L, !0);
|
|
1141
1141
|
};
|
|
1142
1142
|
return Li(async () => {
|
|
1143
|
-
window.addEventListener("resize", O, !1), await Mi(() => !!V.value), H(),
|
|
1143
|
+
window.addEventListener("resize", O, !1), await Mi(() => !!V.value), H(), j();
|
|
1144
1144
|
}), we(() => {
|
|
1145
1145
|
window.removeEventListener("resize", O, !1), z?.dispose();
|
|
1146
1146
|
}), ue(
|
|
@@ -1150,19 +1150,19 @@ const Ar = /* @__PURE__ */ I({
|
|
|
1150
1150
|
u,
|
|
1151
1151
|
p,
|
|
1152
1152
|
d,
|
|
1153
|
-
|
|
1153
|
+
f,
|
|
1154
1154
|
c,
|
|
1155
|
-
|
|
1155
|
+
m
|
|
1156
1156
|
],
|
|
1157
1157
|
async () => {
|
|
1158
1158
|
await Me(), O();
|
|
1159
1159
|
}
|
|
1160
1160
|
), ue([i], () => {
|
|
1161
|
-
H(),
|
|
1161
|
+
H(), j();
|
|
1162
1162
|
}), ue(
|
|
1163
1163
|
[n],
|
|
1164
1164
|
() => {
|
|
1165
|
-
|
|
1165
|
+
j();
|
|
1166
1166
|
},
|
|
1167
1167
|
{ deep: !0 }
|
|
1168
1168
|
), (L, q) => (x(), S(s(G), {
|
|
@@ -1170,7 +1170,7 @@ const Ar = /* @__PURE__ */ I({
|
|
|
1170
1170
|
mask: ""
|
|
1171
1171
|
}, {
|
|
1172
1172
|
default: P(() => [
|
|
1173
|
-
|
|
1173
|
+
Ke("div", {
|
|
1174
1174
|
ref: "chart",
|
|
1175
1175
|
style: he(v.value)
|
|
1176
1176
|
}, null, 4)
|
|
@@ -1190,10 +1190,10 @@ const Ar = /* @__PURE__ */ I({
|
|
|
1190
1190
|
console.log(`<element/${t.nodeId}/multiple_ref_v1/${t.instance}> created`), we(() => {
|
|
1191
1191
|
console.log(`<element/${t.nodeId}/multiple_ref_v1/${t.instance}> destroyed`);
|
|
1192
1192
|
});
|
|
1193
|
-
const n = ae(), e = k(() =>
|
|
1193
|
+
const n = ae(), e = k(() => F(n.value));
|
|
1194
1194
|
ve(e), Ce(e, "multipleRef", t.nodeId, t.instance, oe());
|
|
1195
1195
|
const o = (r) => {
|
|
1196
|
-
const l =
|
|
1196
|
+
const l = Pe[r.key];
|
|
1197
1197
|
if (!l) {
|
|
1198
1198
|
console.assert(!1, `element not found key=${r.key}`);
|
|
1199
1199
|
return;
|
|
@@ -1250,7 +1250,7 @@ const Ar = /* @__PURE__ */ I({
|
|
|
1250
1250
|
transform: ""
|
|
1251
1251
|
}, {
|
|
1252
1252
|
default: P(() => [
|
|
1253
|
-
|
|
1253
|
+
Ke("div", Br, Ai(t.label), 1)
|
|
1254
1254
|
]),
|
|
1255
1255
|
_: 1
|
|
1256
1256
|
})) : le("", !0),
|
|
@@ -1272,7 +1272,7 @@ const Ar = /* @__PURE__ */ I({
|
|
|
1272
1272
|
const { applySize: p } = ge(e, o), d = k(() => {
|
|
1273
1273
|
const w = {};
|
|
1274
1274
|
return l.value?.type === "ui" && p(w), w;
|
|
1275
|
-
}), { position:
|
|
1275
|
+
}), { position: f, rotation: c, scale: m } = me(o), { property: h } = a(o, ["instances"]), y = (w, v) => {
|
|
1276
1276
|
w.findIndex((V) => V === v) >= 0 || w.push(v);
|
|
1277
1277
|
}, g = k(() => {
|
|
1278
1278
|
const w = [];
|
|
@@ -1304,17 +1304,17 @@ const Ar = /* @__PURE__ */ I({
|
|
|
1304
1304
|
w.global.t("x-runtime-lib.circularReference")
|
|
1305
1305
|
) : r.value.type === "3d" ? W(ce, {
|
|
1306
1306
|
name: n.name,
|
|
1307
|
-
position:
|
|
1307
|
+
position: f.value,
|
|
1308
1308
|
rotation: c.value,
|
|
1309
|
-
scale:
|
|
1309
|
+
scale: m.value,
|
|
1310
1310
|
label: w.global.t("x-runtime-lib.circularReference")
|
|
1311
1311
|
}) : void 0;
|
|
1312
1312
|
if (!l.value)
|
|
1313
1313
|
return r.value.type === "ui" ? W("div", { id: n.id, style: d.value }) : r.value.type === "3d" ? W(ce, {
|
|
1314
1314
|
name: n.name,
|
|
1315
|
-
position:
|
|
1315
|
+
position: f.value,
|
|
1316
1316
|
rotation: c.value,
|
|
1317
|
-
scale:
|
|
1317
|
+
scale: m.value
|
|
1318
1318
|
}) : void 0;
|
|
1319
1319
|
if (l.value.type !== r.value.type) {
|
|
1320
1320
|
console.assert(!1, "subtype not match");
|
|
@@ -1337,9 +1337,9 @@ const Ar = /* @__PURE__ */ I({
|
|
|
1337
1337
|
ce,
|
|
1338
1338
|
{
|
|
1339
1339
|
name: n.name,
|
|
1340
|
-
position:
|
|
1340
|
+
position: f.value,
|
|
1341
1341
|
rotation: c.value,
|
|
1342
|
-
scale:
|
|
1342
|
+
scale: m.value
|
|
1343
1343
|
},
|
|
1344
1344
|
{
|
|
1345
1345
|
default: () => g.value.map((V) => _(V, v))
|
|
@@ -1360,10 +1360,10 @@ const Ar = /* @__PURE__ */ I({
|
|
|
1360
1360
|
console.log(`<element/${t.nodeId}/multiple_slot_v1/${t.instance}> created`), we(() => {
|
|
1361
1361
|
console.log(`<element/${t.nodeId}/multiple_slot_v1/${t.instance}> destroyed`);
|
|
1362
1362
|
});
|
|
1363
|
-
const n = ae(), e = k(() =>
|
|
1363
|
+
const n = ae(), e = k(() => F(n.value));
|
|
1364
1364
|
ve(e), Ce(e, "multipleCustomSlot", t.nodeId, t.instance, oe());
|
|
1365
1365
|
const o = (r) => {
|
|
1366
|
-
const l =
|
|
1366
|
+
const l = Pe[r.key];
|
|
1367
1367
|
if (!l) {
|
|
1368
1368
|
console.assert(!1, `element not found key=${r.key}`);
|
|
1369
1369
|
return;
|
|
@@ -1399,7 +1399,7 @@ const Ar = /* @__PURE__ */ I({
|
|
|
1399
1399
|
};
|
|
1400
1400
|
return (r, l) => (x(), S(i));
|
|
1401
1401
|
}
|
|
1402
|
-
}),
|
|
1402
|
+
}), Kr = /* @__PURE__ */ I({
|
|
1403
1403
|
__name: "index",
|
|
1404
1404
|
props: {
|
|
1405
1405
|
nodeId: {},
|
|
@@ -1414,7 +1414,7 @@ const Ar = /* @__PURE__ */ I({
|
|
|
1414
1414
|
const { applySize: p } = ge(e, o), d = k(() => {
|
|
1415
1415
|
const w = {};
|
|
1416
1416
|
return l.value?.type === "ui" && p(w), w;
|
|
1417
|
-
}), { position:
|
|
1417
|
+
}), { position: f, rotation: c, scale: m } = me(o), { property: h } = a(o, ["instances"]), y = (w, v) => {
|
|
1418
1418
|
w.findIndex((V) => V === v) >= 0 || w.push(v);
|
|
1419
1419
|
}, g = k(() => {
|
|
1420
1420
|
const w = [];
|
|
@@ -1446,17 +1446,17 @@ const Ar = /* @__PURE__ */ I({
|
|
|
1446
1446
|
w.global.t("x-runtime-lib.circularReference")
|
|
1447
1447
|
) : r.value.type === "3d" ? W(ce, {
|
|
1448
1448
|
name: n.name,
|
|
1449
|
-
position:
|
|
1449
|
+
position: f.value,
|
|
1450
1450
|
rotation: c.value,
|
|
1451
|
-
scale:
|
|
1451
|
+
scale: m.value,
|
|
1452
1452
|
label: w.global.t("x-runtime-lib.circularReference")
|
|
1453
1453
|
}) : void 0;
|
|
1454
1454
|
if (!l.value)
|
|
1455
1455
|
return r.value.type === "ui" ? W("div", { id: n.id, style: d.value }) : r.value.type === "3d" ? W(ce, {
|
|
1456
1456
|
name: n.name,
|
|
1457
|
-
position:
|
|
1457
|
+
position: f.value,
|
|
1458
1458
|
rotation: c.value,
|
|
1459
|
-
scale:
|
|
1459
|
+
scale: m.value
|
|
1460
1460
|
}) : void 0;
|
|
1461
1461
|
if (l.value.type !== r.value.type) {
|
|
1462
1462
|
console.assert(!1, "subtype not match");
|
|
@@ -1479,9 +1479,9 @@ const Ar = /* @__PURE__ */ I({
|
|
|
1479
1479
|
ce,
|
|
1480
1480
|
{
|
|
1481
1481
|
name: n.name,
|
|
1482
|
-
position:
|
|
1482
|
+
position: f.value,
|
|
1483
1483
|
rotation: c.value,
|
|
1484
|
-
scale:
|
|
1484
|
+
scale: m.value
|
|
1485
1485
|
},
|
|
1486
1486
|
{
|
|
1487
1487
|
default: () => g.value.map((V) => _(V, v))
|
|
@@ -1490,7 +1490,7 @@ const Ar = /* @__PURE__ */ I({
|
|
|
1490
1490
|
};
|
|
1491
1491
|
return (w, v) => (x(), S($));
|
|
1492
1492
|
}
|
|
1493
|
-
}),
|
|
1493
|
+
}), Fr = /* @__PURE__ */ I({
|
|
1494
1494
|
__name: "index",
|
|
1495
1495
|
props: {
|
|
1496
1496
|
nodeId: {},
|
|
@@ -1505,8 +1505,8 @@ const Ar = /* @__PURE__ */ I({
|
|
|
1505
1505
|
const { applySize: p } = ge(e, o), d = k(() => {
|
|
1506
1506
|
const g = {};
|
|
1507
1507
|
return r.value?.type === "ui" && p(g), g;
|
|
1508
|
-
}), { position:
|
|
1509
|
-
const _ =
|
|
1508
|
+
}), { position: f, rotation: c, scale: m } = me(o), h = (g) => {
|
|
1509
|
+
const _ = Pe[g.key];
|
|
1510
1510
|
if (!_) {
|
|
1511
1511
|
console.assert(!1, `element not found key=${g.key}`);
|
|
1512
1512
|
return;
|
|
@@ -1547,17 +1547,17 @@ const Ar = /* @__PURE__ */ I({
|
|
|
1547
1547
|
g.global.t("x-runtime-lib.circularReference")
|
|
1548
1548
|
) : r.value.type === "3d" ? W(ce, {
|
|
1549
1549
|
name: n.name,
|
|
1550
|
-
position:
|
|
1550
|
+
position: f.value,
|
|
1551
1551
|
rotation: c.value,
|
|
1552
|
-
scale:
|
|
1552
|
+
scale: m.value,
|
|
1553
1553
|
label: g.global.t("x-runtime-lib.circularReference")
|
|
1554
1554
|
}) : void 0;
|
|
1555
1555
|
if (!l.value)
|
|
1556
1556
|
return r.value.type === "ui" ? W("div", { id: n.id, style: d.value }) : r.value.type === "3d" ? W(ce, {
|
|
1557
1557
|
name: n.name,
|
|
1558
|
-
position:
|
|
1558
|
+
position: f.value,
|
|
1559
1559
|
rotation: c.value,
|
|
1560
|
-
scale:
|
|
1560
|
+
scale: m.value
|
|
1561
1561
|
}) : void 0;
|
|
1562
1562
|
if (l.value.type !== r.value.type) {
|
|
1563
1563
|
console.assert(!1, "subtype not match");
|
|
@@ -1580,9 +1580,9 @@ const Ar = /* @__PURE__ */ I({
|
|
|
1580
1580
|
ce,
|
|
1581
1581
|
{
|
|
1582
1582
|
name: n.name,
|
|
1583
|
-
position:
|
|
1583
|
+
position: f.value,
|
|
1584
1584
|
rotation: c.value,
|
|
1585
|
-
scale:
|
|
1585
|
+
scale: m.value
|
|
1586
1586
|
},
|
|
1587
1587
|
{
|
|
1588
1588
|
default: () => l.value?.view.nodeLites.map(($) => h($))
|
|
@@ -1622,9 +1622,9 @@ const Ar = /* @__PURE__ */ I({
|
|
|
1622
1622
|
const { applySize: p } = ge(e, o), d = k(() => {
|
|
1623
1623
|
const g = {};
|
|
1624
1624
|
return l.value?.type === "ui" && p(g), g;
|
|
1625
|
-
}), { position:
|
|
1625
|
+
}), { position: f, rotation: c, scale: m } = me(o);
|
|
1626
1626
|
function h(g) {
|
|
1627
|
-
const _ =
|
|
1627
|
+
const _ = Pe[g.key];
|
|
1628
1628
|
if (!_) {
|
|
1629
1629
|
console.assert(!1, `element not found key=${g.key}`);
|
|
1630
1630
|
return;
|
|
@@ -1666,17 +1666,17 @@ const Ar = /* @__PURE__ */ I({
|
|
|
1666
1666
|
g.global.t("x-runtime-lib.circularReference")
|
|
1667
1667
|
) : r.value.type === "3d" ? W(ce, {
|
|
1668
1668
|
name: n.name,
|
|
1669
|
-
position:
|
|
1669
|
+
position: f.value,
|
|
1670
1670
|
rotation: c.value,
|
|
1671
|
-
scale:
|
|
1671
|
+
scale: m.value,
|
|
1672
1672
|
label: g.global.t("x-runtime-lib.circularReference")
|
|
1673
1673
|
}) : void 0;
|
|
1674
1674
|
if (!l.value)
|
|
1675
1675
|
return r.value.type === "ui" ? W("div", { id: n.id, style: d.value }) : r.value.type === "3d" ? W(ce, {
|
|
1676
1676
|
name: n.name,
|
|
1677
|
-
position:
|
|
1677
|
+
position: f.value,
|
|
1678
1678
|
rotation: c.value,
|
|
1679
|
-
scale:
|
|
1679
|
+
scale: m.value
|
|
1680
1680
|
}) : void 0;
|
|
1681
1681
|
if (l.value.type !== r.value.type) {
|
|
1682
1682
|
console.assert(!1, "subtype not match");
|
|
@@ -1699,9 +1699,9 @@ const Ar = /* @__PURE__ */ I({
|
|
|
1699
1699
|
ce,
|
|
1700
1700
|
{
|
|
1701
1701
|
name: n.name,
|
|
1702
|
-
position:
|
|
1702
|
+
position: f.value,
|
|
1703
1703
|
rotation: c.value,
|
|
1704
|
-
scale:
|
|
1704
|
+
scale: m.value
|
|
1705
1705
|
},
|
|
1706
1706
|
{
|
|
1707
1707
|
default: () => l.value?.view.nodeLites.map(($) => h($))
|
|
@@ -1728,10 +1728,10 @@ const Ar = /* @__PURE__ */ I({
|
|
|
1728
1728
|
"y"
|
|
1729
1729
|
]);
|
|
1730
1730
|
return (p, d) => {
|
|
1731
|
-
const
|
|
1731
|
+
const f = B("v-badge");
|
|
1732
1732
|
return x(), S(s(G), null, {
|
|
1733
1733
|
default: P(() => [
|
|
1734
|
-
|
|
1734
|
+
K(f, {
|
|
1735
1735
|
content: s(o),
|
|
1736
1736
|
dot: s(i),
|
|
1737
1737
|
"offset-x": s(l),
|
|
@@ -1748,7 +1748,7 @@ const Ar = /* @__PURE__ */ I({
|
|
|
1748
1748
|
});
|
|
1749
1749
|
};
|
|
1750
1750
|
}
|
|
1751
|
-
}),
|
|
1751
|
+
}), jr = /* @__PURE__ */ I({
|
|
1752
1752
|
__name: "index",
|
|
1753
1753
|
props: {
|
|
1754
1754
|
nodeId: {},
|
|
@@ -1763,14 +1763,14 @@ const Ar = /* @__PURE__ */ I({
|
|
|
1763
1763
|
]), { property: r } = a(e, ["settings", "block"]), { property: l } = a(e, ["settings", "color"]), { color: u } = Z(l), { property: p } = a(e, ["settings", "density"]), { property: d } = a(e, [
|
|
1764
1764
|
"settings",
|
|
1765
1765
|
"disabled"
|
|
1766
|
-
]), { property:
|
|
1766
|
+
]), { property: f } = a(e, ["size", "height"]), { property: c } = a(e, ["settings", "loading"]), { property: m } = a(e, ["size", "maxHeight"]), { property: h } = a(e, ["size", "maxWidth"]), { property: y } = a(e, ["size", "minHeight"]), { property: g } = a(e, ["size", "minWidth"]), { property: _ } = a(e, [
|
|
1767
1767
|
"settings",
|
|
1768
1768
|
"addIcon",
|
|
1769
1769
|
"prepend"
|
|
1770
1770
|
]), { property: $ } = a(e, [
|
|
1771
1771
|
"settings",
|
|
1772
1772
|
"readonly"
|
|
1773
|
-
]), { property: w } = a(e, ["settings", "ripple"]), { property: v } = a(e, ["settings", "size"]), { property: V } = a(e, ["settings", "stacked"]), { property: z } = a(e, ["settings", "text"]), { theme: H } = J(), { property: O } = a(e, ["settings", "variant"]), { property:
|
|
1773
|
+
]), { property: w } = a(e, ["settings", "ripple"]), { property: v } = a(e, ["settings", "size"]), { property: V } = a(e, ["settings", "stacked"]), { property: z } = a(e, ["settings", "text"]), { theme: H } = J(), { property: O } = a(e, ["settings", "variant"]), { property: j } = a(e, ["size", "width"]), L = async (q) => {
|
|
1774
1774
|
!o || !o.vm || (o.setGlobalVariable("__pointerPosX__", q.clientX), o.setGlobalVariable("__pointerPosY__", q.clientY), await o.callFunctionAsync(
|
|
1775
1775
|
"__triggerEventV1__",
|
|
1776
1776
|
re("elementEvent", n.nodeId, "click"),
|
|
@@ -1784,15 +1784,15 @@ const Ar = /* @__PURE__ */ I({
|
|
|
1784
1784
|
mask: ""
|
|
1785
1785
|
}, {
|
|
1786
1786
|
default: P(() => [
|
|
1787
|
-
|
|
1787
|
+
K(_e, {
|
|
1788
1788
|
"append-icon": s(i),
|
|
1789
1789
|
block: s(r),
|
|
1790
1790
|
color: s(u),
|
|
1791
1791
|
density: s(p),
|
|
1792
1792
|
disabled: s(d),
|
|
1793
|
-
height: s(
|
|
1793
|
+
height: s(f),
|
|
1794
1794
|
loading: s(c),
|
|
1795
|
-
"max-height": s(
|
|
1795
|
+
"max-height": s(m),
|
|
1796
1796
|
"max-width": s(h),
|
|
1797
1797
|
"min-height": s(y),
|
|
1798
1798
|
"min-width": s(g),
|
|
@@ -1804,7 +1804,7 @@ const Ar = /* @__PURE__ */ I({
|
|
|
1804
1804
|
text: s(z),
|
|
1805
1805
|
theme: s(H),
|
|
1806
1806
|
variant: s(O),
|
|
1807
|
-
width: s(
|
|
1807
|
+
width: s(j),
|
|
1808
1808
|
onClick: L
|
|
1809
1809
|
}, null, 8, ["append-icon", "block", "color", "density", "disabled", "height", "loading", "max-height", "max-width", "min-height", "min-width", "prepend-icon", "readonly", "ripple", "size", "stacked", "text", "theme", "variant", "width"])
|
|
1810
1810
|
]),
|
|
@@ -1812,7 +1812,7 @@ const Ar = /* @__PURE__ */ I({
|
|
|
1812
1812
|
}, 8, ["block"]);
|
|
1813
1813
|
};
|
|
1814
1814
|
}
|
|
1815
|
-
}),
|
|
1815
|
+
}), Nr = {};
|
|
1816
1816
|
function Hr(t, n) {
|
|
1817
1817
|
const e = B("v-btn-group");
|
|
1818
1818
|
return x(), S(e, null, {
|
|
@@ -1822,7 +1822,7 @@ function Hr(t, n) {
|
|
|
1822
1822
|
_: 3
|
|
1823
1823
|
});
|
|
1824
1824
|
}
|
|
1825
|
-
const Gr = /* @__PURE__ */ De(
|
|
1825
|
+
const Gr = /* @__PURE__ */ De(Nr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
1826
1826
|
__name: "index",
|
|
1827
1827
|
props: {
|
|
1828
1828
|
nodeId: {},
|
|
@@ -1842,7 +1842,7 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
1842
1842
|
]), { property: p } = a(e, [
|
|
1843
1843
|
"settings",
|
|
1844
1844
|
"readonly"
|
|
1845
|
-
]), { property: d } = a(e, ["settings", "size"]), { property:
|
|
1845
|
+
]), { property: d } = a(e, ["settings", "size"]), { property: f } = a(e, ["settings", "stacked"]), { theme: c } = J(), { property: m } = a(e, ["settings", "tile"]), { property: h } = a(e, ["settings", "variant"]);
|
|
1846
1846
|
return (y, g) => {
|
|
1847
1847
|
const _ = B("v-btn-toggle");
|
|
1848
1848
|
return x(), S(_, {
|
|
@@ -1853,9 +1853,9 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
1853
1853
|
multiple: s(u),
|
|
1854
1854
|
readonly: s(p),
|
|
1855
1855
|
size: s(d),
|
|
1856
|
-
stacked: s(
|
|
1856
|
+
stacked: s(f),
|
|
1857
1857
|
theme: s(c),
|
|
1858
|
-
tile: s(
|
|
1858
|
+
tile: s(m),
|
|
1859
1859
|
variant: s(h)
|
|
1860
1860
|
}, {
|
|
1861
1861
|
default: P(() => [
|
|
@@ -1876,7 +1876,7 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
1876
1876
|
const n = t, { node: e } = E(n), { property: o } = a(e, ["settings", "density"]), { property: i } = a(e, [
|
|
1877
1877
|
"settings",
|
|
1878
1878
|
"disabled"
|
|
1879
|
-
]), { property: r } = a(e, ["size", "height"]), { property: l } = a(e, ["settings", "hover"]), { property: u } = a(e, ["settings", "loading"]), { property: p } = a(e, ["size", "maxHeight"]), { property: d } = a(e, ["size", "maxWidth"]), { property:
|
|
1879
|
+
]), { property: r } = a(e, ["size", "height"]), { property: l } = a(e, ["settings", "hover"]), { property: u } = a(e, ["settings", "loading"]), { property: p } = a(e, ["size", "maxHeight"]), { property: d } = a(e, ["size", "maxWidth"]), { property: f } = a(e, ["size", "minHeight"]), { property: c } = a(e, ["size", "minWidth"]), { property: m } = a(e, [
|
|
1880
1880
|
"settings",
|
|
1881
1881
|
"subtitle"
|
|
1882
1882
|
]), { property: h } = a(e, ["settings", "text"]), { theme: y } = J(), { property: g } = a(e, ["settings", "title"]), { property: _ } = a(e, ["settings", "variant"]), { property: $ } = a(e, ["size", "width"]);
|
|
@@ -1884,7 +1884,7 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
1884
1884
|
const V = B("v-card");
|
|
1885
1885
|
return x(), S(s(G), { block: "" }, {
|
|
1886
1886
|
default: P(() => [
|
|
1887
|
-
|
|
1887
|
+
K(V, {
|
|
1888
1888
|
density: s(o),
|
|
1889
1889
|
disabled: s(i),
|
|
1890
1890
|
height: s(r),
|
|
@@ -1892,9 +1892,9 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
1892
1892
|
loading: s(u),
|
|
1893
1893
|
"max-height": s(p),
|
|
1894
1894
|
"max-width": s(d),
|
|
1895
|
-
"min-height": s(
|
|
1895
|
+
"min-height": s(f),
|
|
1896
1896
|
"min-width": s(c),
|
|
1897
|
-
subtitle: s(
|
|
1897
|
+
subtitle: s(m),
|
|
1898
1898
|
text: s(h),
|
|
1899
1899
|
theme: s(y),
|
|
1900
1900
|
title: s(g),
|
|
@@ -1930,7 +1930,7 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
1930
1930
|
const u = B("v-checkbox");
|
|
1931
1931
|
return x(), S(s(G), { mask: "" }, {
|
|
1932
1932
|
default: P(() => [
|
|
1933
|
-
|
|
1933
|
+
K(u, {
|
|
1934
1934
|
disabled: s(o),
|
|
1935
1935
|
readonly: s(i)
|
|
1936
1936
|
}, null, 8, ["disabled", "readonly"])
|
|
@@ -1956,21 +1956,21 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
1956
1956
|
]), { property: p } = a(e, [
|
|
1957
1957
|
"settings",
|
|
1958
1958
|
"draggable"
|
|
1959
|
-
]), { property: d } = a(e, ["settings", "filter"]), { property:
|
|
1959
|
+
]), { property: d } = a(e, ["settings", "filter"]), { property: f } = a(e, ["settings", "label"]), { property: c } = a(e, ["settings", "size"]), { property: m } = a(e, ["settings", "text"]), { theme: h } = J(), { property: y } = a(e, ["settings", "tile"]), { property: g } = a(e, ["settings", "value"]), { property: _ } = a(e, ["settings", "variant"]);
|
|
1960
1960
|
return ($, w) => {
|
|
1961
1961
|
const v = B("v-chip");
|
|
1962
1962
|
return x(), S(s(G), { mask: "" }, {
|
|
1963
1963
|
default: P(() => [
|
|
1964
|
-
|
|
1964
|
+
K(v, {
|
|
1965
1965
|
closable: s(o),
|
|
1966
1966
|
color: s(r),
|
|
1967
1967
|
density: s(l),
|
|
1968
1968
|
disabled: s(u),
|
|
1969
1969
|
draggable: s(p),
|
|
1970
1970
|
filter: s(d),
|
|
1971
|
-
label: s(
|
|
1971
|
+
label: s(f),
|
|
1972
1972
|
size: s(c),
|
|
1973
|
-
text: s(
|
|
1973
|
+
text: s(m),
|
|
1974
1974
|
theme: s(h),
|
|
1975
1975
|
tile: s(y),
|
|
1976
1976
|
value: s(g),
|
|
@@ -2004,8 +2004,8 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2004
2004
|
]), { property: d } = a(e, [
|
|
2005
2005
|
"settings",
|
|
2006
2006
|
"showArrows"
|
|
2007
|
-
]), { theme:
|
|
2008
|
-
return (
|
|
2007
|
+
]), { theme: f } = J(), { property: c } = a(e, ["settings", "value"]);
|
|
2008
|
+
return (m, h) => {
|
|
2009
2009
|
const y = B("v-chip-group");
|
|
2010
2010
|
return x(), S(y, {
|
|
2011
2011
|
modelValue: s(c),
|
|
@@ -2017,10 +2017,10 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2017
2017
|
mandatory: s(u),
|
|
2018
2018
|
multiple: s(p),
|
|
2019
2019
|
"show-arrows": s(d),
|
|
2020
|
-
theme: s(
|
|
2020
|
+
theme: s(f)
|
|
2021
2021
|
}, {
|
|
2022
2022
|
default: P(() => [
|
|
2023
|
-
D(
|
|
2023
|
+
D(m.$slots, "default")
|
|
2024
2024
|
]),
|
|
2025
2025
|
_: 3
|
|
2026
2026
|
}, 8, ["modelValue", "column", "direction", "disabled", "filter", "mandatory", "multiple", "show-arrows", "theme"]);
|
|
@@ -2034,7 +2034,7 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2034
2034
|
refContext: {}
|
|
2035
2035
|
},
|
|
2036
2036
|
setup(t) {
|
|
2037
|
-
const n = t, { node: e } = E(n), o =
|
|
2037
|
+
const n = t, { node: e } = E(n), o = Ee(), i = ae(), { applySize: r } = ge(n, e), l = k(() => {
|
|
2038
2038
|
const g = {}, _ = i.value?.type;
|
|
2039
2039
|
return o === "page" ? _ === "ui" ? r(g) : console.assert(!1) : o === "comp" && _ === "ui" ? r(g) : console.assert(!1), g;
|
|
2040
2040
|
}), { property: u } = a(e, [
|
|
@@ -2046,13 +2046,13 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2046
2046
|
]), { property: d } = a(e, [
|
|
2047
2047
|
"settings",
|
|
2048
2048
|
"hideHeader"
|
|
2049
|
-
]), { property:
|
|
2049
|
+
]), { property: f } = a(e, [
|
|
2050
2050
|
"settings",
|
|
2051
2051
|
"hideInputs"
|
|
2052
2052
|
]), { property: c } = a(e, [
|
|
2053
2053
|
"settings",
|
|
2054
2054
|
"hideSliders"
|
|
2055
|
-
]), { property:
|
|
2055
|
+
]), { property: m } = a(e, [
|
|
2056
2056
|
"settings",
|
|
2057
2057
|
"landscape"
|
|
2058
2058
|
]), { property: h } = a(e, [
|
|
@@ -2063,13 +2063,13 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2063
2063
|
const $ = B("v-color-picker");
|
|
2064
2064
|
return x(), S(s(G), { mask: "" }, {
|
|
2065
2065
|
default: P(() => [
|
|
2066
|
-
|
|
2066
|
+
K($, {
|
|
2067
2067
|
disabled: s(u),
|
|
2068
2068
|
"hide-canvas": s(p),
|
|
2069
2069
|
"hide-header": s(d),
|
|
2070
|
-
"hide-inputs": s(
|
|
2070
|
+
"hide-inputs": s(f),
|
|
2071
2071
|
"hide-sliders": s(c),
|
|
2072
|
-
landscape: s(
|
|
2072
|
+
landscape: s(m),
|
|
2073
2073
|
"show-swatches": s(h),
|
|
2074
2074
|
style: he(l.value),
|
|
2075
2075
|
theme: s(y)
|
|
@@ -2100,11 +2100,11 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2100
2100
|
"settings",
|
|
2101
2101
|
"singleLine"
|
|
2102
2102
|
]), { theme: p } = J(), { property: d } = a(e, ["settings", "value"]);
|
|
2103
|
-
return (
|
|
2104
|
-
const
|
|
2103
|
+
return (f, c) => {
|
|
2104
|
+
const m = B("v-combobox");
|
|
2105
2105
|
return x(), S(s(G), { mask: "" }, {
|
|
2106
2106
|
default: P(() => [
|
|
2107
|
-
|
|
2107
|
+
K(m, {
|
|
2108
2108
|
modelValue: s(d),
|
|
2109
2109
|
"onUpdate:modelValue": c[0] || (c[0] = (h) => ne(d) ? d.value = h : null),
|
|
2110
2110
|
"hide-details": s(o),
|
|
@@ -2127,19 +2127,19 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2127
2127
|
refContext: {}
|
|
2128
2128
|
},
|
|
2129
2129
|
setup(t) {
|
|
2130
|
-
const n = t, { node: e } = E(n), o =
|
|
2130
|
+
const n = t, { node: e } = E(n), o = Ee(), i = ae(), { property: r } = a(e, [
|
|
2131
2131
|
"settings",
|
|
2132
2132
|
"backgroundColor"
|
|
2133
|
-
]), { color: l } = Z(r), { applySize: u } = ge(n, e), { applyMargin: p } = gn(e), { applyPadding: d } = vn(e), { applyBorder:
|
|
2134
|
-
const
|
|
2135
|
-
return o === "page" ? h === "ui" ? (u(
|
|
2133
|
+
]), { color: l } = Z(r), { applySize: u } = ge(n, e), { applyMargin: p } = gn(e), { applyPadding: d } = vn(e), { applyBorder: f } = hn(e), c = k(() => {
|
|
2134
|
+
const m = {}, h = i.value?.type;
|
|
2135
|
+
return o === "page" ? h === "ui" ? (u(m), p(m), d(m), f(m), l.value && (m.backgroundColor = l.value)) : console.assert(!1) : o === "comp" && h === "ui" ? (u(m), p(m), d(m), f(m), l.value && (m.backgroundColor = l.value)) : console.assert(!1), m;
|
|
2136
2136
|
});
|
|
2137
|
-
return (
|
|
2137
|
+
return (m, h) => (x(), S(s(G), { block: "" }, {
|
|
2138
2138
|
default: P(() => [
|
|
2139
|
-
|
|
2139
|
+
Ke("div", {
|
|
2140
2140
|
style: he(c.value)
|
|
2141
2141
|
}, [
|
|
2142
|
-
D(
|
|
2142
|
+
D(m.$slots, "default")
|
|
2143
2143
|
], 4)
|
|
2144
2144
|
]),
|
|
2145
2145
|
_: 3
|
|
@@ -2178,10 +2178,10 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2178
2178
|
]), { property: r } = a(e, [
|
|
2179
2179
|
"settings",
|
|
2180
2180
|
"fixedHeader"
|
|
2181
|
-
]), { property: l } = a(e, ["settings", "headers"]), { property: u } = a(e, ["size", "height"]), { property: p } = a(e, ["settings", "hover"]), { property: d } = a(e, ["settings", "data"], !0), { property:
|
|
2181
|
+
]), { property: l } = a(e, ["settings", "headers"]), { property: u } = a(e, ["size", "height"]), { property: p } = a(e, ["settings", "hover"]), { property: d } = a(e, ["settings", "data"], !0), { property: f } = a(e, ["settings", "loading"]), { property: c } = a(e, [
|
|
2182
2182
|
"settings",
|
|
2183
2183
|
"multiSort"
|
|
2184
|
-
]), { theme:
|
|
2184
|
+
]), { theme: m } = J(), { property: h } = a(e, ["size", "width"]), { property: y } = a(e, ["slots", "columns"]);
|
|
2185
2185
|
return (g, _) => {
|
|
2186
2186
|
const $ = B("v-data-table");
|
|
2187
2187
|
return x(), S(s(G), {
|
|
@@ -2189,7 +2189,7 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2189
2189
|
mask: ""
|
|
2190
2190
|
}, {
|
|
2191
2191
|
default: P(() => [
|
|
2192
|
-
|
|
2192
|
+
K($, {
|
|
2193
2193
|
density: s(o),
|
|
2194
2194
|
"fixed-footer": s(i),
|
|
2195
2195
|
"fixed-header": s(r),
|
|
@@ -2197,15 +2197,15 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2197
2197
|
height: s(u),
|
|
2198
2198
|
hover: s(p),
|
|
2199
2199
|
items: s(d),
|
|
2200
|
-
loading: s(
|
|
2200
|
+
loading: s(f),
|
|
2201
2201
|
"multi-sort": s(c),
|
|
2202
|
-
theme: s(
|
|
2202
|
+
theme: s(m),
|
|
2203
2203
|
width: s(h)
|
|
2204
2204
|
}, pn({ _: 2 }, [
|
|
2205
2205
|
fo(s(y), ({ key: w, comp: v }) => ({
|
|
2206
2206
|
name: `item.${w}`,
|
|
2207
2207
|
fn: P(({ value: V }) => [
|
|
2208
|
-
|
|
2208
|
+
K(nl, {
|
|
2209
2209
|
"ref-context": {
|
|
2210
2210
|
parent: n.refContext,
|
|
2211
2211
|
compId: v
|
|
@@ -2227,7 +2227,7 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2227
2227
|
const o = B("v-date-picker");
|
|
2228
2228
|
return x(), S(s(G), { mask: "" }, {
|
|
2229
2229
|
default: P(() => [
|
|
2230
|
-
|
|
2230
|
+
K(o)
|
|
2231
2231
|
]),
|
|
2232
2232
|
_: 1
|
|
2233
2233
|
});
|
|
@@ -2283,10 +2283,10 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2283
2283
|
]), { property: u } = a(e, ["settings", "label"]), { property: p } = a(e, ["settings", "loading"]), { property: d } = a(e, [
|
|
2284
2284
|
"settings",
|
|
2285
2285
|
"multiple"
|
|
2286
|
-
]), { property:
|
|
2286
|
+
]), { property: f } = a(e, [
|
|
2287
2287
|
"settings",
|
|
2288
2288
|
"readonly"
|
|
2289
|
-
]), { property: c } = a(e, ["settings", "reverse"]), { property:
|
|
2289
|
+
]), { property: c } = a(e, ["settings", "reverse"]), { property: m } = a(e, [
|
|
2290
2290
|
"settings",
|
|
2291
2291
|
"singleLine"
|
|
2292
2292
|
]);
|
|
@@ -2297,7 +2297,7 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2297
2297
|
mask: ""
|
|
2298
2298
|
}, {
|
|
2299
2299
|
default: P(() => [
|
|
2300
|
-
|
|
2300
|
+
K(g, {
|
|
2301
2301
|
chips: s(o),
|
|
2302
2302
|
density: s(i),
|
|
2303
2303
|
direction: s(r),
|
|
@@ -2305,9 +2305,9 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2305
2305
|
label: s(u),
|
|
2306
2306
|
loading: s(p),
|
|
2307
2307
|
multiple: s(d),
|
|
2308
|
-
readonly: s(
|
|
2308
|
+
readonly: s(f),
|
|
2309
2309
|
reverse: s(c),
|
|
2310
|
-
"single-line": s(
|
|
2310
|
+
"single-line": s(m)
|
|
2311
2311
|
}, null, 8, ["chips", "density", "direction", "disabled", "label", "loading", "multiple", "readonly", "reverse", "single-line"])
|
|
2312
2312
|
]),
|
|
2313
2313
|
_: 1
|
|
@@ -2322,10 +2322,10 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2322
2322
|
refContext: {}
|
|
2323
2323
|
},
|
|
2324
2324
|
setup(t) {
|
|
2325
|
-
const n = t, { node: e } = E(n), o =
|
|
2325
|
+
const n = t, { node: e } = E(n), o = je(), i = Ee(), r = ae(), { applySize: l } = ge(n, e), { applyMargin: u } = gn(e), { applyPadding: p } = vn(e), { applyBorder: d } = hn(e), { property: f } = a(e, [
|
|
2326
2326
|
"settings",
|
|
2327
2327
|
"backgroundColor"
|
|
2328
|
-
]), { color: c } = Z(
|
|
2328
|
+
]), { color: c } = Z(f), m = (y) => {
|
|
2329
2329
|
c.value && (y.backgroundColor = c.value), y.display = "flex";
|
|
2330
2330
|
const g = ft(o.value.width), _ = Ge(g, e.value.settings?.direction);
|
|
2331
2331
|
_ === "row" ? y.flexDirection = "row" : _ === "rowReverse" ? y.flexDirection = "row-reverse" : _ === "column" ? y.flexDirection = "column" : _ === "columnReverse" && (y.flexDirection = "column-reverse");
|
|
@@ -2337,7 +2337,7 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2337
2337
|
v === "start" ? y.alignItems = "flex-start" : v === "end" ? y.alignItems = "flex-end" : v === "center" ? y.alignItems = "center" : v === "baseline" ? y.alignItems = "baseline" : v === "stretch" && (y.alignItems = "stretch");
|
|
2338
2338
|
}, h = k(() => {
|
|
2339
2339
|
const y = {}, g = r.value?.type;
|
|
2340
|
-
return i === "page" ? g === "ui" ? (l(y), u(y), p(y), d(y),
|
|
2340
|
+
return i === "page" ? g === "ui" ? (l(y), u(y), p(y), d(y), m(y)) : console.assert(!1) : i === "comp" && g === "ui" ? (l(y), u(y), p(y), d(y), m(y)) : console.assert(!1), y;
|
|
2341
2341
|
});
|
|
2342
2342
|
return (y, g) => (x(), ee("div", {
|
|
2343
2343
|
style: he(h.value)
|
|
@@ -2353,11 +2353,11 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2353
2353
|
refContext: {}
|
|
2354
2354
|
},
|
|
2355
2355
|
setup(t) {
|
|
2356
|
-
const n = t, { node: e } = E(n), o =
|
|
2357
|
-
const d = {},
|
|
2358
|
-
return o === "page" ?
|
|
2356
|
+
const n = t, { node: e } = E(n), o = Ee(), i = ae(), { applySize: r } = ge(n, e), { property: l } = a(e, ["settings", "grow"]), { property: u } = a(e, ["settings", "shrink"]), p = k(() => {
|
|
2357
|
+
const d = {}, f = i.value?.type;
|
|
2358
|
+
return o === "page" ? f === "ui" ? (r(d), d.flexGrow = l.value ? 1 : 0, d.flexShrink = u.value ? 1 : 0) : console.assert(!1) : o === "comp" && f === "ui" ? (r(d), d.flexGrow = l.value ? 1 : 0, d.flexShrink = u.value ? 1 : 0) : console.assert(!1), d;
|
|
2359
2359
|
});
|
|
2360
|
-
return (d,
|
|
2360
|
+
return (d, f) => (x(), ee("div", {
|
|
2361
2361
|
style: he(p.value)
|
|
2362
2362
|
}, [
|
|
2363
2363
|
D(d.$slots, "default")
|
|
@@ -2371,15 +2371,15 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2371
2371
|
refContext: {}
|
|
2372
2372
|
},
|
|
2373
2373
|
setup(t) {
|
|
2374
|
-
const n = t, { node: e } = E(n), o =
|
|
2374
|
+
const n = t, { node: e } = E(n), o = Ee(), i = ae(), r = oe(), { property: l } = a(e, ["settings", "valid"]), { property: u } = a(e, [
|
|
2375
2375
|
"settings",
|
|
2376
2376
|
"fastFail"
|
|
2377
2377
|
]), { property: p } = a(e, [
|
|
2378
2378
|
"settings",
|
|
2379
2379
|
"backgroundColor"
|
|
2380
|
-
]), { color: d } = Z(p), { applySize:
|
|
2380
|
+
]), { color: d } = Z(p), { applySize: f } = ge(n, e), { applyMargin: c } = gn(e), { applyPadding: m } = vn(e), { applyBorder: h } = hn(e), y = k(() => {
|
|
2381
2381
|
const _ = {}, $ = i.value?.type;
|
|
2382
|
-
return o === "page" ? $ === "ui" ? (
|
|
2382
|
+
return o === "page" ? $ === "ui" ? (f(_), c(_), m(_), h(_), d.value && (_.backgroundColor = d.value)) : console.assert(!1) : o === "comp" && $ === "ui" ? (f(_), c(_), m(_), h(_), d.value && (_.backgroundColor = d.value)) : console.assert(!1), _;
|
|
2383
2383
|
}), g = async () => {
|
|
2384
2384
|
await r?.callFunctionAsync(
|
|
2385
2385
|
"__triggerEventV1__",
|
|
@@ -2415,7 +2415,7 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2415
2415
|
"settings",
|
|
2416
2416
|
"disabled"
|
|
2417
2417
|
]), { property: l } = a(e, ["settings", "icon"]), { property: u } = a(e, ["settings", "size"]), { theme: p } = J();
|
|
2418
|
-
return (d,
|
|
2418
|
+
return (d, f) => {
|
|
2419
2419
|
const c = B("v-icon");
|
|
2420
2420
|
return x(), S(c, {
|
|
2421
2421
|
color: s(i),
|
|
@@ -2438,13 +2438,13 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2438
2438
|
return yt(n.nodeId, "open", () => {
|
|
2439
2439
|
if (!o || !o.vm)
|
|
2440
2440
|
return;
|
|
2441
|
-
const { vm: p } = o, d = p.getProp(p.global, "__pointerPosX__"),
|
|
2442
|
-
i.value = p.getNumber(d), r.value = p.getNumber(
|
|
2441
|
+
const { vm: p } = o, d = p.getProp(p.global, "__pointerPosX__"), f = p.getProp(p.global, "__pointerPosY__");
|
|
2442
|
+
i.value = p.getNumber(d), r.value = p.getNumber(f), d.dispose(), f.dispose(), u.value = !0;
|
|
2443
2443
|
}), yt(n.nodeId, "close", () => {
|
|
2444
2444
|
o && (u.value = !1);
|
|
2445
2445
|
}), (p, d) => {
|
|
2446
|
-
const
|
|
2447
|
-
return x(), S(
|
|
2446
|
+
const f = B("v-menu");
|
|
2447
|
+
return x(), S(f, {
|
|
2448
2448
|
modelValue: s(u),
|
|
2449
2449
|
"onUpdate:modelValue": d[0] || (d[0] = (c) => ne(u) ? u.value = c : null),
|
|
2450
2450
|
attach: "menuContainer",
|
|
@@ -2487,7 +2487,7 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2487
2487
|
]), { property: l } = a(e, [
|
|
2488
2488
|
"settings",
|
|
2489
2489
|
"hideDetails"
|
|
2490
|
-
]), { property: u } = a(e, ["settings", "label"]), { property: p } = a(e, ["settings", "loading"]), { property: d } = a(e, ["settings", "max"]), { property:
|
|
2490
|
+
]), { property: u } = a(e, ["settings", "label"]), { property: p } = a(e, ["settings", "loading"]), { property: d } = a(e, ["settings", "max"]), { property: f } = a(e, ["size", "maxWidth"]), { property: c } = a(e, ["settings", "min"]), { property: m } = a(e, ["size", "minWidth"]), { property: h } = a(e, [
|
|
2491
2491
|
"settings",
|
|
2492
2492
|
"placeholder"
|
|
2493
2493
|
]), { property: y } = a(e, [
|
|
@@ -2507,7 +2507,7 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2507
2507
|
]), { property: v } = a(e, ["settings", "reverse"]), { property: V } = a(e, [
|
|
2508
2508
|
"settings",
|
|
2509
2509
|
"singleLine"
|
|
2510
|
-
]), { property: z } = a(e, ["settings", "step"]), { property: H } = a(e, ["settings", "suffix"]), { theme: O } = J(), { property:
|
|
2510
|
+
]), { property: z } = a(e, ["settings", "step"]), { property: H } = a(e, ["settings", "suffix"]), { theme: O } = J(), { property: j } = a(e, ["settings", "value"]), { property: L } = a(e, ["settings", "variant"]), { property: q } = a(e, ["size", "width"]);
|
|
2511
2511
|
return ($e, _e) => {
|
|
2512
2512
|
const Te = B("v-number-input");
|
|
2513
2513
|
return x(), S(s(G), {
|
|
@@ -2515,9 +2515,9 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2515
2515
|
mask: ""
|
|
2516
2516
|
}, {
|
|
2517
2517
|
default: P(() => [
|
|
2518
|
-
|
|
2519
|
-
modelValue: s(
|
|
2520
|
-
"onUpdate:modelValue": _e[0] || (_e[0] = (se) => ne(
|
|
2518
|
+
K(Te, {
|
|
2519
|
+
modelValue: s(j),
|
|
2520
|
+
"onUpdate:modelValue": _e[0] || (_e[0] = (se) => ne(j) ? j.value = se : null),
|
|
2521
2521
|
"append-icon": s(o),
|
|
2522
2522
|
"append-inner-icon": s(i),
|
|
2523
2523
|
clearable: s(r),
|
|
@@ -2525,9 +2525,9 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2525
2525
|
label: s(u),
|
|
2526
2526
|
loading: s(p),
|
|
2527
2527
|
max: s(d),
|
|
2528
|
-
"max-width": s(
|
|
2528
|
+
"max-width": s(f),
|
|
2529
2529
|
min: s(c),
|
|
2530
|
-
"min-width": s(
|
|
2530
|
+
"min-width": s(m),
|
|
2531
2531
|
placeholder: s(h),
|
|
2532
2532
|
precision: s(y),
|
|
2533
2533
|
prefix: s(g),
|
|
@@ -2561,7 +2561,7 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2561
2561
|
]), { property: l } = a(e, ["settings", "length"]), { property: u } = a(e, [
|
|
2562
2562
|
"settings",
|
|
2563
2563
|
"showFirstLastPage"
|
|
2564
|
-
]), { property: p } = a(e, ["settings", "size"]), { property: d } = a(e, ["settings", "start"]), { theme:
|
|
2564
|
+
]), { property: p } = a(e, ["settings", "size"]), { property: d } = a(e, ["settings", "start"]), { theme: f } = J(), { property: c } = a(e, ["settings", "tile"]), { property: m } = a(e, ["settings", "value"]), { property: h } = a(e, ["settings", "variant"]), y = k(() => {
|
|
2565
2565
|
const g = {};
|
|
2566
2566
|
return o === "editor" && (g.pointerEvents = "none"), g;
|
|
2567
2567
|
});
|
|
@@ -2572,9 +2572,9 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2572
2572
|
mask: ""
|
|
2573
2573
|
}, {
|
|
2574
2574
|
default: P(() => [
|
|
2575
|
-
|
|
2576
|
-
modelValue: s(
|
|
2577
|
-
"onUpdate:modelValue": _[0] || (_[0] = (w) => ne(
|
|
2575
|
+
K($, {
|
|
2576
|
+
modelValue: s(m),
|
|
2577
|
+
"onUpdate:modelValue": _[0] || (_[0] = (w) => ne(m) ? m.value = w : null),
|
|
2578
2578
|
density: s(i),
|
|
2579
2579
|
disabled: s(r),
|
|
2580
2580
|
length: s(l),
|
|
@@ -2582,7 +2582,7 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2582
2582
|
size: s(p),
|
|
2583
2583
|
start: s(d),
|
|
2584
2584
|
style: he(y.value),
|
|
2585
|
-
theme: s(
|
|
2585
|
+
theme: s(f),
|
|
2586
2586
|
tile: s(c),
|
|
2587
2587
|
variant: s(h)
|
|
2588
2588
|
}, null, 8, ["modelValue", "density", "disabled", "length", "show-first-last-page", "size", "start", "style", "theme", "tile", "variant"])
|
|
@@ -2605,8 +2605,8 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2605
2605
|
]), { property: u } = a(e, ["settings", "label"]), { property: p } = a(e, [
|
|
2606
2606
|
"settings",
|
|
2607
2607
|
"readonly"
|
|
2608
|
-
]), { theme: d } = J(), { property:
|
|
2609
|
-
return (c,
|
|
2608
|
+
]), { theme: d } = J(), { property: f } = a(e, ["settings", "value"]);
|
|
2609
|
+
return (c, m) => {
|
|
2610
2610
|
const h = B("v-radio");
|
|
2611
2611
|
return x(), S(h, {
|
|
2612
2612
|
color: s(i),
|
|
@@ -2615,7 +2615,7 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2615
2615
|
label: s(u),
|
|
2616
2616
|
readonly: s(p),
|
|
2617
2617
|
theme: s(d),
|
|
2618
|
-
value: s(
|
|
2618
|
+
value: s(f)
|
|
2619
2619
|
}, null, 8, ["color", "density", "disabled", "label", "readonly", "theme", "value"]);
|
|
2620
2620
|
};
|
|
2621
2621
|
}
|
|
@@ -2637,11 +2637,11 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2637
2637
|
"settings",
|
|
2638
2638
|
"readonly"
|
|
2639
2639
|
]), { theme: p } = J(), { property: d } = a(e, ["settings", "value"]);
|
|
2640
|
-
return (
|
|
2641
|
-
const
|
|
2640
|
+
return (f, c) => {
|
|
2641
|
+
const m = B("v-radio-group");
|
|
2642
2642
|
return x(), S(s(G), null, {
|
|
2643
2643
|
default: P(() => [
|
|
2644
|
-
|
|
2644
|
+
K(m, {
|
|
2645
2645
|
modelValue: s(d),
|
|
2646
2646
|
"onUpdate:modelValue": c[0] || (c[0] = (h) => ne(d) ? d.value = h : null),
|
|
2647
2647
|
density: s(o),
|
|
@@ -2652,7 +2652,7 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2652
2652
|
theme: s(p)
|
|
2653
2653
|
}, {
|
|
2654
2654
|
default: P(() => [
|
|
2655
|
-
D(
|
|
2655
|
+
D(f.$slots, "default")
|
|
2656
2656
|
]),
|
|
2657
2657
|
_: 3
|
|
2658
2658
|
}, 8, ["modelValue", "density", "direction", "disabled", "inline", "readonly", "theme"])
|
|
@@ -2678,13 +2678,13 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2678
2678
|
]), { property: l } = a(e, [
|
|
2679
2679
|
"settings",
|
|
2680
2680
|
"hideDetails"
|
|
2681
|
-
]), { property: u } = a(e, ["settings", "label"]), { property: p } = a(e, ["settings", "max"]), { property: d } = a(e, ["settings", "min"]), { property:
|
|
2681
|
+
]), { property: u } = a(e, ["settings", "label"]), { property: p } = a(e, ["settings", "max"]), { property: d } = a(e, ["settings", "min"]), { property: f } = a(e, [
|
|
2682
2682
|
"settings",
|
|
2683
2683
|
"readonly"
|
|
2684
2684
|
]), { property: c } = a(e, [
|
|
2685
2685
|
"settings",
|
|
2686
2686
|
"showTicks"
|
|
2687
|
-
]),
|
|
2687
|
+
]), m = k(() => {
|
|
2688
2688
|
if (c.value === "always")
|
|
2689
2689
|
return "always";
|
|
2690
2690
|
if (c.value === "show")
|
|
@@ -2703,11 +2703,11 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2703
2703
|
]), { property: w } = a(e, ["settings", "ticks"]), v = k(() => {
|
|
2704
2704
|
if (!w.value)
|
|
2705
2705
|
return;
|
|
2706
|
-
const
|
|
2706
|
+
const j = {};
|
|
2707
2707
|
for (const { value: L, label: q } of w.value)
|
|
2708
|
-
|
|
2709
|
-
if (!
|
|
2710
|
-
return
|
|
2708
|
+
j[L] = q;
|
|
2709
|
+
if (!ji(j))
|
|
2710
|
+
return j;
|
|
2711
2711
|
}), { property: V } = a(e, [
|
|
2712
2712
|
"settings",
|
|
2713
2713
|
"tickSize"
|
|
@@ -2721,18 +2721,18 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2721
2721
|
"end"
|
|
2722
2722
|
]), O = k({
|
|
2723
2723
|
get: () => [z.value, H.value],
|
|
2724
|
-
set: ([
|
|
2725
|
-
z.value =
|
|
2724
|
+
set: ([j, L]) => {
|
|
2725
|
+
z.value = j, H.value = L;
|
|
2726
2726
|
}
|
|
2727
2727
|
});
|
|
2728
|
-
return (
|
|
2728
|
+
return (j, L) => {
|
|
2729
2729
|
const q = B("v-range-slider");
|
|
2730
2730
|
return x(), S(s(G), {
|
|
2731
2731
|
block: "",
|
|
2732
2732
|
mask: ""
|
|
2733
2733
|
}, {
|
|
2734
2734
|
default: P(() => [
|
|
2735
|
-
|
|
2735
|
+
K(q, {
|
|
2736
2736
|
modelValue: O.value,
|
|
2737
2737
|
"onUpdate:modelValue": L[0] || (L[0] = ($e) => O.value = $e),
|
|
2738
2738
|
density: s(o),
|
|
@@ -2742,8 +2742,8 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2742
2742
|
label: s(u),
|
|
2743
2743
|
max: s(p),
|
|
2744
2744
|
min: s(d),
|
|
2745
|
-
readonly: s(
|
|
2746
|
-
"show-ticks":
|
|
2745
|
+
readonly: s(f),
|
|
2746
|
+
"show-ticks": m.value,
|
|
2747
2747
|
step: s(h),
|
|
2748
2748
|
theme: s(y),
|
|
2749
2749
|
"thumb-label": _.value,
|
|
@@ -2776,12 +2776,12 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2776
2776
|
]), { property: u } = a(e, ["settings", "hover"]), { property: p } = a(e, ["settings", "length"]), { property: d } = a(e, [
|
|
2777
2777
|
"settings",
|
|
2778
2778
|
"readonly"
|
|
2779
|
-
]), { theme:
|
|
2780
|
-
return (
|
|
2779
|
+
]), { theme: f } = J(), { property: c } = a(e, ["settings", "value"]);
|
|
2780
|
+
return (m, h) => {
|
|
2781
2781
|
const y = B("v-rating");
|
|
2782
2782
|
return x(), S(s(G), { mask: "" }, {
|
|
2783
2783
|
default: P(() => [
|
|
2784
|
-
|
|
2784
|
+
K(y, {
|
|
2785
2785
|
modelValue: s(c),
|
|
2786
2786
|
"onUpdate:modelValue": h[0] || (h[0] = (g) => ne(c) ? c.value = g : null),
|
|
2787
2787
|
clearable: s(o),
|
|
@@ -2791,7 +2791,7 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2791
2791
|
hover: s(u),
|
|
2792
2792
|
length: s(p),
|
|
2793
2793
|
readonly: s(d),
|
|
2794
|
-
theme: s(
|
|
2794
|
+
theme: s(f)
|
|
2795
2795
|
}, null, 8, ["modelValue", "clearable", "density", "disabled", "half-increments", "hover", "length", "readonly", "theme"])
|
|
2796
2796
|
]),
|
|
2797
2797
|
_: 1
|
|
@@ -2819,14 +2819,14 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2819
2819
|
"settings",
|
|
2820
2820
|
"singleLine"
|
|
2821
2821
|
]), { theme: p } = J(), { property: d } = a(e, ["settings", "value"]);
|
|
2822
|
-
return (
|
|
2823
|
-
const
|
|
2822
|
+
return (f, c) => {
|
|
2823
|
+
const m = B("v-select");
|
|
2824
2824
|
return x(), S(s(G), {
|
|
2825
2825
|
block: "",
|
|
2826
2826
|
mask: ""
|
|
2827
2827
|
}, {
|
|
2828
2828
|
default: P(() => [
|
|
2829
|
-
|
|
2829
|
+
K(m, {
|
|
2830
2830
|
modelValue: s(d),
|
|
2831
2831
|
"onUpdate:modelValue": c[0] || (c[0] = (h) => ne(d) ? d.value = h : null),
|
|
2832
2832
|
"hide-details": s(o),
|
|
@@ -2858,10 +2858,10 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2858
2858
|
]), { property: u } = a(e, [
|
|
2859
2859
|
"settings",
|
|
2860
2860
|
"hideDetails"
|
|
2861
|
-
]), { property: p } = a(e, ["settings", "label"]), { property: d } = a(e, ["settings", "max"]), { property:
|
|
2861
|
+
]), { property: p } = a(e, ["settings", "label"]), { property: d } = a(e, ["settings", "max"]), { property: f } = a(e, ["settings", "min"]), { property: c } = a(e, [
|
|
2862
2862
|
"settings",
|
|
2863
2863
|
"readonly"
|
|
2864
|
-
]), { property:
|
|
2864
|
+
]), { property: m } = a(e, ["settings", "reverse"]), { property: h } = a(e, [
|
|
2865
2865
|
"settings",
|
|
2866
2866
|
"showTicks"
|
|
2867
2867
|
]), y = k(() => {
|
|
@@ -2889,9 +2889,9 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2889
2889
|
const se = {};
|
|
2890
2890
|
for (const { value: xe, label: fe } of H.value)
|
|
2891
2891
|
se[xe] = fe;
|
|
2892
|
-
if (!
|
|
2892
|
+
if (!ji(se))
|
|
2893
2893
|
return se;
|
|
2894
|
-
}), { property:
|
|
2894
|
+
}), { property: j } = a(e, [
|
|
2895
2895
|
"settings",
|
|
2896
2896
|
"tickSize"
|
|
2897
2897
|
]), { property: L } = a(e, [
|
|
@@ -2905,7 +2905,7 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2905
2905
|
mask: ""
|
|
2906
2906
|
}, {
|
|
2907
2907
|
default: P(() => [
|
|
2908
|
-
|
|
2908
|
+
K(fe, {
|
|
2909
2909
|
modelValue: s($e),
|
|
2910
2910
|
"onUpdate:modelValue": xe[0] || (xe[0] = (mo) => ne($e) ? $e.value = mo : null),
|
|
2911
2911
|
color: s(i),
|
|
@@ -2914,23 +2914,23 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2914
2914
|
"hide-details": s(u),
|
|
2915
2915
|
label: s(p),
|
|
2916
2916
|
max: s(d),
|
|
2917
|
-
min: s(
|
|
2917
|
+
min: s(f),
|
|
2918
2918
|
readonly: s(c),
|
|
2919
|
-
reverse: s(
|
|
2919
|
+
reverse: s(m),
|
|
2920
2920
|
"show-ticks": y.value,
|
|
2921
2921
|
step: s(g),
|
|
2922
2922
|
theme: s(_),
|
|
2923
2923
|
"thumb-color": s(w),
|
|
2924
2924
|
"thumb-label": V.value,
|
|
2925
2925
|
"thumb-size": s(z),
|
|
2926
|
-
"tick-size": s(
|
|
2926
|
+
"tick-size": s(j),
|
|
2927
2927
|
ticks: O.value,
|
|
2928
2928
|
"track-color": s(q)
|
|
2929
2929
|
}, pn({ _: 2 }, [
|
|
2930
2930
|
s(_e) ? {
|
|
2931
2931
|
name: "append",
|
|
2932
2932
|
fn: P(() => [
|
|
2933
|
-
|
|
2933
|
+
K(s(Tt), {
|
|
2934
2934
|
"node-id": "append",
|
|
2935
2935
|
"ref-context": { compId: s(_e) },
|
|
2936
2936
|
state: {}
|
|
@@ -2941,7 +2941,7 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2941
2941
|
s(Te) ? {
|
|
2942
2942
|
name: "prepend",
|
|
2943
2943
|
fn: P(() => [
|
|
2944
|
-
|
|
2944
|
+
K(s(Tt), {
|
|
2945
2945
|
"node-id": "prepend",
|
|
2946
2946
|
"ref-context": { compId: s(Te) },
|
|
2947
2947
|
state: {}
|
|
@@ -3060,12 +3060,12 @@ const Pl = /* @__PURE__ */ De($l, [["render", Vl]]), El = /* @__PURE__ */ I({
|
|
|
3060
3060
|
]), { property: u } = a(e, [
|
|
3061
3061
|
"settings",
|
|
3062
3062
|
"indeterminate"
|
|
3063
|
-
]), { property: p } = a(e, ["settings", "inline"]), { property: d } = a(e, ["settings", "inset"]), { property:
|
|
3063
|
+
]), { property: p } = a(e, ["settings", "inline"]), { property: d } = a(e, ["settings", "inset"]), { property: f } = a(e, ["settings", "label"]), { property: c } = a(e, ["settings", "loading"]), { theme: m } = J(), { property: h } = a(e, ["settings", "value"]);
|
|
3064
3064
|
return (y, g) => {
|
|
3065
3065
|
const _ = B("v-switch");
|
|
3066
3066
|
return x(), S(s(G), { mask: "" }, {
|
|
3067
3067
|
default: P(() => [
|
|
3068
|
-
|
|
3068
|
+
K(_, {
|
|
3069
3069
|
modelValue: s(h),
|
|
3070
3070
|
"onUpdate:modelValue": g[0] || (g[0] = ($) => ne(h) ? h.value = $ : null),
|
|
3071
3071
|
density: s(o),
|
|
@@ -3075,9 +3075,9 @@ const Pl = /* @__PURE__ */ De($l, [["render", Vl]]), El = /* @__PURE__ */ I({
|
|
|
3075
3075
|
indeterminate: s(u),
|
|
3076
3076
|
inline: s(p),
|
|
3077
3077
|
inset: s(d),
|
|
3078
|
-
label: s(
|
|
3078
|
+
label: s(f),
|
|
3079
3079
|
loading: s(c),
|
|
3080
|
-
theme: s(
|
|
3080
|
+
theme: s(m)
|
|
3081
3081
|
}, null, 8, ["modelValue", "density", "direction", "disabled", "hide-details", "indeterminate", "inline", "inset", "label", "loading", "theme"])
|
|
3082
3082
|
]),
|
|
3083
3083
|
_: 1
|
|
@@ -3097,10 +3097,10 @@ const Pl = /* @__PURE__ */ De($l, [["render", Vl]]), El = /* @__PURE__ */ I({
|
|
|
3097
3097
|
return o === "editor" && (p.pointerEvents = "none"), p;
|
|
3098
3098
|
});
|
|
3099
3099
|
return (p, d) => {
|
|
3100
|
-
const
|
|
3100
|
+
const f = B("v-tab");
|
|
3101
3101
|
return x(), S(s(G), { mask: "" }, {
|
|
3102
3102
|
default: P(() => [
|
|
3103
|
-
|
|
3103
|
+
K(f, {
|
|
3104
3104
|
style: he(u.value),
|
|
3105
3105
|
text: s(i),
|
|
3106
3106
|
theme: s(r),
|
|
@@ -3133,13 +3133,13 @@ const Pl = /* @__PURE__ */ De($l, [["render", Vl]]), El = /* @__PURE__ */ I({
|
|
|
3133
3133
|
"settings",
|
|
3134
3134
|
"color",
|
|
3135
3135
|
"selectedColor"
|
|
3136
|
-
]), { color: p } = Z(u), { property: d } = a(e, ["settings", "density"]), { property:
|
|
3136
|
+
]), { color: p } = Z(u), { property: d } = a(e, ["settings", "density"]), { property: f } = a(e, [
|
|
3137
3137
|
"settings",
|
|
3138
3138
|
"direction"
|
|
3139
3139
|
]), { property: c } = a(e, [
|
|
3140
3140
|
"settings",
|
|
3141
3141
|
"disabled"
|
|
3142
|
-
]), { property:
|
|
3142
|
+
]), { property: m } = a(e, [
|
|
3143
3143
|
"settings",
|
|
3144
3144
|
"fixedTabs"
|
|
3145
3145
|
]), { property: h } = a(e, ["settings", "grow"]), { property: y } = a(e, [
|
|
@@ -3156,24 +3156,24 @@ const Pl = /* @__PURE__ */ De($l, [["render", Vl]]), El = /* @__PURE__ */ I({
|
|
|
3156
3156
|
"color",
|
|
3157
3157
|
"sliderColor"
|
|
3158
3158
|
]), { color: v } = Z(w), { property: V } = a(e, ["settings", "stacked"]), { theme: z } = J(), { property: H } = a(e, ["settings", "value"]);
|
|
3159
|
-
return (O,
|
|
3159
|
+
return (O, j) => {
|
|
3160
3160
|
const L = B("v-tabs");
|
|
3161
3161
|
return x(), S(s(G), {
|
|
3162
3162
|
block: "",
|
|
3163
3163
|
mask: ""
|
|
3164
3164
|
}, {
|
|
3165
3165
|
default: P(() => [
|
|
3166
|
-
|
|
3166
|
+
K(L, {
|
|
3167
3167
|
modelValue: s(H),
|
|
3168
|
-
"onUpdate:modelValue":
|
|
3168
|
+
"onUpdate:modelValue": j[0] || (j[0] = (q) => ne(H) ? H.value = q : null),
|
|
3169
3169
|
"align-tabs": s(o),
|
|
3170
3170
|
"bg-color": s(r),
|
|
3171
3171
|
"center-active": s(l),
|
|
3172
3172
|
color: s(p),
|
|
3173
3173
|
density: s(d),
|
|
3174
|
-
direction: s(
|
|
3174
|
+
direction: s(f),
|
|
3175
3175
|
disabled: s(c),
|
|
3176
|
-
"fixed-tabs": s(
|
|
3176
|
+
"fixed-tabs": s(m),
|
|
3177
3177
|
grow: s(h),
|
|
3178
3178
|
"hide-slider": s(y),
|
|
3179
3179
|
items: s(g),
|
|
@@ -3201,20 +3201,20 @@ const Pl = /* @__PURE__ */ De($l, [["render", Vl]]), El = /* @__PURE__ */ I({
|
|
|
3201
3201
|
refContext: {}
|
|
3202
3202
|
},
|
|
3203
3203
|
setup(t) {
|
|
3204
|
-
const n = t, { node: e } = E(n), o =
|
|
3204
|
+
const n = t, { node: e } = E(n), o = je(), { property: i } = a(e, ["settings", "align"]), { property: r } = a(e, [
|
|
3205
3205
|
"settings",
|
|
3206
3206
|
"decoration"
|
|
3207
3207
|
]), { property: l } = a(e, [
|
|
3208
3208
|
"settings",
|
|
3209
3209
|
"emphasis"
|
|
3210
|
-
]), { property: u } = a(e, ["settings", "italic"]), { property: p } = a(e, ["settings", "text"]), { property: d } = a(e, ["settings", "weight"]),
|
|
3211
|
-
const c = [],
|
|
3210
|
+
]), { property: u } = a(e, ["settings", "italic"]), { property: p } = a(e, ["settings", "text"]), { property: d } = a(e, ["settings", "weight"]), f = k(() => {
|
|
3211
|
+
const c = [], m = ft(o.value.width), h = Ge(m, e.value.settings?.style);
|
|
3212
3212
|
return h && c.push(`text-${h}`), l.value === "high" ? c.push("text-high-emphasis") : l.value === "medium" ? c.push("text-medium-emphasis") : l.value === "disabled" && c.push("text-disabled"), i.value && c.push(`font-${i.value}`), r.value && c.push(`text-decoration-${r.value}`), d.value && c.push(`font-weight-${d.value}`), u.value && c.push("font-italic"), c.join(" ");
|
|
3213
3213
|
});
|
|
3214
|
-
return (c,
|
|
3214
|
+
return (c, m) => (x(), S(s(G), { mask: "" }, {
|
|
3215
3215
|
default: P(() => [
|
|
3216
|
-
|
|
3217
|
-
class: bo(
|
|
3216
|
+
Ke("span", {
|
|
3217
|
+
class: bo(f.value)
|
|
3218
3218
|
}, Ai(s(p)), 3)
|
|
3219
3219
|
]),
|
|
3220
3220
|
_: 1
|
|
@@ -3237,13 +3237,13 @@ const Pl = /* @__PURE__ */ De($l, [["render", Vl]]), El = /* @__PURE__ */ I({
|
|
|
3237
3237
|
]), { property: r } = a(e, ["settings", "density"]), { property: l } = a(e, [
|
|
3238
3238
|
"settings",
|
|
3239
3239
|
"disabled"
|
|
3240
|
-
]), { property: u } = a(e, ["settings", "label"]), { property: p } = a(e, ["settings", "loading"]), { property: d } = a(e, ["settings", "maxRows"]), { property:
|
|
3240
|
+
]), { property: u } = a(e, ["settings", "label"]), { property: p } = a(e, ["settings", "loading"]), { property: d } = a(e, ["settings", "maxRows"]), { property: f } = a(e, [
|
|
3241
3241
|
"settings",
|
|
3242
3242
|
"placeholder"
|
|
3243
3243
|
]), { property: c } = a(e, [
|
|
3244
3244
|
"settings",
|
|
3245
3245
|
"readonly"
|
|
3246
|
-
]), { property:
|
|
3246
|
+
]), { property: m } = a(e, ["settings", "reverse"]), { property: h } = a(e, ["settings", "rows"]), { property: y } = a(e, [
|
|
3247
3247
|
"settings",
|
|
3248
3248
|
"singleLine"
|
|
3249
3249
|
]), { theme: g } = J(), { property: _ } = a(e, ["settings", "value"]), { property: $ } = a(e, ["settings", "variant"]);
|
|
@@ -3254,7 +3254,7 @@ const Pl = /* @__PURE__ */ De($l, [["render", Vl]]), El = /* @__PURE__ */ I({
|
|
|
3254
3254
|
mask: ""
|
|
3255
3255
|
}, {
|
|
3256
3256
|
default: P(() => [
|
|
3257
|
-
|
|
3257
|
+
K(V, {
|
|
3258
3258
|
modelValue: s(_),
|
|
3259
3259
|
"onUpdate:modelValue": v[0] || (v[0] = (z) => ne(_) ? _.value = z : null),
|
|
3260
3260
|
"auto-grow": s(o),
|
|
@@ -3264,9 +3264,9 @@ const Pl = /* @__PURE__ */ De($l, [["render", Vl]]), El = /* @__PURE__ */ I({
|
|
|
3264
3264
|
label: s(u),
|
|
3265
3265
|
loading: s(p),
|
|
3266
3266
|
"max-rows": s(d),
|
|
3267
|
-
placeholder: s(
|
|
3267
|
+
placeholder: s(f),
|
|
3268
3268
|
readonly: s(c),
|
|
3269
|
-
reverse: s(
|
|
3269
|
+
reverse: s(m),
|
|
3270
3270
|
rows: s(h),
|
|
3271
3271
|
"single-line": s(y),
|
|
3272
3272
|
theme: s(g),
|
|
@@ -3302,7 +3302,7 @@ const Pl = /* @__PURE__ */ De($l, [["render", Vl]]), El = /* @__PURE__ */ I({
|
|
|
3302
3302
|
}), be("appendInner", "blur", () => {
|
|
3303
3303
|
});
|
|
3304
3304
|
const { render: p } = nt(o.refContext, i, l);
|
|
3305
|
-
return (d,
|
|
3305
|
+
return (d, f) => (x(), S(s(p)));
|
|
3306
3306
|
}
|
|
3307
3307
|
}), Bl = /* @__PURE__ */ I({
|
|
3308
3308
|
__name: "appendSlot",
|
|
@@ -3345,7 +3345,7 @@ const Pl = /* @__PURE__ */ De($l, [["render", Vl]]), El = /* @__PURE__ */ I({
|
|
|
3345
3345
|
}), be("prependInner", "blur", () => {
|
|
3346
3346
|
});
|
|
3347
3347
|
const { render: p } = nt(o.refContext, i, l);
|
|
3348
|
-
return (d,
|
|
3348
|
+
return (d, f) => (x(), S(s(p)));
|
|
3349
3349
|
}
|
|
3350
3350
|
}), Wl = /* @__PURE__ */ I({
|
|
3351
3351
|
__name: "prependSlot",
|
|
@@ -3363,7 +3363,7 @@ const Pl = /* @__PURE__ */ De($l, [["render", Vl]]), El = /* @__PURE__ */ I({
|
|
|
3363
3363
|
const { render: l } = nt(n.refContext, e, i);
|
|
3364
3364
|
return (u, p) => (x(), S(s(l)));
|
|
3365
3365
|
}
|
|
3366
|
-
}),
|
|
3366
|
+
}), Kl = /* @__PURE__ */ I({
|
|
3367
3367
|
__name: "index",
|
|
3368
3368
|
props: {
|
|
3369
3369
|
nodeId: {},
|
|
@@ -3389,7 +3389,7 @@ const Pl = /* @__PURE__ */ De($l, [["render", Vl]]), El = /* @__PURE__ */ I({
|
|
|
3389
3389
|
]), { property: d } = a(e, [
|
|
3390
3390
|
"settings",
|
|
3391
3391
|
"hideDetails"
|
|
3392
|
-
]), { property:
|
|
3392
|
+
]), { property: f } = a(e, ["settings", "label"]), { property: c } = a(e, ["settings", "loading"]), { property: m } = a(e, [
|
|
3393
3393
|
"settings",
|
|
3394
3394
|
"placeholder"
|
|
3395
3395
|
]), { property: h } = a(e, ["settings", "prefix"]), { property: y } = a(e, [
|
|
@@ -3404,7 +3404,7 @@ const Pl = /* @__PURE__ */ De($l, [["render", Vl]]), El = /* @__PURE__ */ I({
|
|
|
3404
3404
|
]), { property: $ } = a(e, ["settings", "reverse"]), { property: w } = a(e, [
|
|
3405
3405
|
"settings",
|
|
3406
3406
|
"singleLine"
|
|
3407
|
-
]), { property: v } = a(e, ["settings", "suffix"]), { theme: V } = J(), { property: z } = a(e, ["settings", "value"]), { property: H } = a(e, ["settings", "variant"]), { property: O } = a(e, ["slots", "append"]), { property:
|
|
3407
|
+
]), { property: v } = a(e, ["settings", "suffix"]), { theme: V } = J(), { property: z } = a(e, ["settings", "value"]), { property: H } = a(e, ["settings", "variant"]), { property: O } = a(e, ["slots", "append"]), { property: j } = a(e, [
|
|
3408
3408
|
"slots",
|
|
3409
3409
|
"appendInner"
|
|
3410
3410
|
]), { property: L } = a(e, ["slots", "prepend"]), { property: q } = a(e, [
|
|
@@ -3418,7 +3418,7 @@ const Pl = /* @__PURE__ */ De($l, [["render", Vl]]), El = /* @__PURE__ */ I({
|
|
|
3418
3418
|
mask: ""
|
|
3419
3419
|
}, {
|
|
3420
3420
|
default: P(() => [
|
|
3421
|
-
|
|
3421
|
+
K(Te, {
|
|
3422
3422
|
modelValue: s(z),
|
|
3423
3423
|
"onUpdate:modelValue": _e[0] || (_e[0] = (se) => ne(z) ? z.value = se : null),
|
|
3424
3424
|
"append-icon": s(o),
|
|
@@ -3428,9 +3428,9 @@ const Pl = /* @__PURE__ */ De($l, [["render", Vl]]), El = /* @__PURE__ */ I({
|
|
|
3428
3428
|
density: s(u),
|
|
3429
3429
|
disabled: s(p),
|
|
3430
3430
|
"hide-details": s(d),
|
|
3431
|
-
label: s(
|
|
3431
|
+
label: s(f),
|
|
3432
3432
|
loading: s(c),
|
|
3433
|
-
placeholder: s(
|
|
3433
|
+
placeholder: s(m),
|
|
3434
3434
|
prefix: s(h),
|
|
3435
3435
|
"prepend-icon": s(y),
|
|
3436
3436
|
"prepend-inner-icon": s(g),
|
|
@@ -3444,7 +3444,7 @@ const Pl = /* @__PURE__ */ De($l, [["render", Vl]]), El = /* @__PURE__ */ I({
|
|
|
3444
3444
|
s(O) ? {
|
|
3445
3445
|
name: "append",
|
|
3446
3446
|
fn: P(() => [
|
|
3447
|
-
|
|
3447
|
+
K(Bl, {
|
|
3448
3448
|
"ref-context": {
|
|
3449
3449
|
parent: n.refContext,
|
|
3450
3450
|
compId: s(O)
|
|
@@ -3453,17 +3453,17 @@ const Pl = /* @__PURE__ */ De($l, [["render", Vl]]), El = /* @__PURE__ */ I({
|
|
|
3453
3453
|
]),
|
|
3454
3454
|
key: "0"
|
|
3455
3455
|
} : void 0,
|
|
3456
|
-
s(
|
|
3456
|
+
s(j) ? {
|
|
3457
3457
|
name: "append-inner",
|
|
3458
3458
|
fn: P(({ isActive: se, isFocused: xe }) => [
|
|
3459
|
-
|
|
3459
|
+
K(Ml, {
|
|
3460
3460
|
"is-active": se.value,
|
|
3461
3461
|
"onUpdate:isActive": (fe) => se.value = fe,
|
|
3462
3462
|
"is-focused": xe.value,
|
|
3463
3463
|
"onUpdate:isFocused": (fe) => xe.value = fe,
|
|
3464
3464
|
"ref-context": {
|
|
3465
3465
|
parent: n.refContext,
|
|
3466
|
-
compId: s(
|
|
3466
|
+
compId: s(j)
|
|
3467
3467
|
}
|
|
3468
3468
|
}, null, 8, ["is-active", "onUpdate:isActive", "is-focused", "onUpdate:isFocused", "ref-context"])
|
|
3469
3469
|
]),
|
|
@@ -3472,7 +3472,7 @@ const Pl = /* @__PURE__ */ De($l, [["render", Vl]]), El = /* @__PURE__ */ I({
|
|
|
3472
3472
|
s(L) ? {
|
|
3473
3473
|
name: "prepend",
|
|
3474
3474
|
fn: P(() => [
|
|
3475
|
-
|
|
3475
|
+
K(Wl, {
|
|
3476
3476
|
"ref-context": {
|
|
3477
3477
|
parent: n.refContext,
|
|
3478
3478
|
compId: s(L)
|
|
@@ -3484,7 +3484,7 @@ const Pl = /* @__PURE__ */ De($l, [["render", Vl]]), El = /* @__PURE__ */ I({
|
|
|
3484
3484
|
s(q) ? {
|
|
3485
3485
|
name: "prepend-inner",
|
|
3486
3486
|
fn: P(({ isActive: se, isFocused: xe }) => [
|
|
3487
|
-
|
|
3487
|
+
K(Rl, {
|
|
3488
3488
|
"is-active": se.value,
|
|
3489
3489
|
"onUpdate:isActive": (fe) => se.value = fe,
|
|
3490
3490
|
"is-focused": xe.value,
|
|
@@ -3503,7 +3503,7 @@ const Pl = /* @__PURE__ */ De($l, [["render", Vl]]), El = /* @__PURE__ */ I({
|
|
|
3503
3503
|
});
|
|
3504
3504
|
};
|
|
3505
3505
|
}
|
|
3506
|
-
}),
|
|
3506
|
+
}), Fl = /* @__PURE__ */ I({
|
|
3507
3507
|
__name: "index",
|
|
3508
3508
|
props: {
|
|
3509
3509
|
nodeId: {},
|
|
@@ -3525,11 +3525,11 @@ const Pl = /* @__PURE__ */ De($l, [["render", Vl]]), El = /* @__PURE__ */ I({
|
|
|
3525
3525
|
]), { property: d } = a(e, [
|
|
3526
3526
|
"settings",
|
|
3527
3527
|
"hideOpposite"
|
|
3528
|
-
]), { property:
|
|
3528
|
+
]), { property: f } = a(e, [
|
|
3529
3529
|
"settings",
|
|
3530
3530
|
"line",
|
|
3531
3531
|
"color"
|
|
3532
|
-
]), { color: c } = Z(
|
|
3532
|
+
]), { color: c } = Z(f), { property: m } = a(e, [
|
|
3533
3533
|
"settings",
|
|
3534
3534
|
"line",
|
|
3535
3535
|
"inset"
|
|
@@ -3552,7 +3552,7 @@ const Pl = /* @__PURE__ */ De($l, [["render", Vl]]), El = /* @__PURE__ */ I({
|
|
|
3552
3552
|
"fill-dot": s(p),
|
|
3553
3553
|
"hide-opposite": s(d),
|
|
3554
3554
|
"line-color": s(c),
|
|
3555
|
-
"line-inset": s(
|
|
3555
|
+
"line-inset": s(m),
|
|
3556
3556
|
"line-thickness": s(h),
|
|
3557
3557
|
side: s(y),
|
|
3558
3558
|
theme: s(_),
|
|
@@ -3575,7 +3575,7 @@ function Ol(t, n) {
|
|
|
3575
3575
|
_: 3
|
|
3576
3576
|
});
|
|
3577
3577
|
}
|
|
3578
|
-
const
|
|
3578
|
+
const jl = /* @__PURE__ */ De(Dl, [["render", Ol]]), Nl = /* @__PURE__ */ I({
|
|
3579
3579
|
__name: "index",
|
|
3580
3580
|
props: {
|
|
3581
3581
|
nodeId: {},
|
|
@@ -3595,12 +3595,12 @@ const Nl = /* @__PURE__ */ De(Dl, [["render", Ol]]), jl = /* @__PURE__ */ I({
|
|
|
3595
3595
|
]), { property: l } = a(e, ["settings", "reverse"]), { property: u } = a(e, [
|
|
3596
3596
|
"settings",
|
|
3597
3597
|
"showArrows"
|
|
3598
|
-
]), { property: p } = a(e, ["settings", "touch"]), { theme: d } = J(), { property:
|
|
3599
|
-
return (c,
|
|
3598
|
+
]), { property: p } = a(e, ["settings", "touch"]), { theme: d } = J(), { property: f } = a(e, ["settings", "value"]);
|
|
3599
|
+
return (c, m) => {
|
|
3600
3600
|
const h = B("v-window");
|
|
3601
3601
|
return x(), S(h, {
|
|
3602
|
-
modelValue: s(
|
|
3603
|
-
"onUpdate:modelValue":
|
|
3602
|
+
modelValue: s(f),
|
|
3603
|
+
"onUpdate:modelValue": m[0] || (m[0] = (y) => ne(f) ? f.value = y : null),
|
|
3604
3604
|
continuous: s(o),
|
|
3605
3605
|
direction: s(r),
|
|
3606
3606
|
disabled: s(i),
|
|
@@ -3688,7 +3688,7 @@ const Jl = /* @__PURE__ */ De(Hl, [["render", Gl]]), b = {
|
|
|
3688
3688
|
]
|
|
3689
3689
|
}
|
|
3690
3690
|
]
|
|
3691
|
-
}, ql =
|
|
3691
|
+
}, ql = F(Q), Be = {
|
|
3692
3692
|
key: "border",
|
|
3693
3693
|
name: "x-runtime-lib.border",
|
|
3694
3694
|
children: [
|
|
@@ -4055,8 +4055,8 @@ const Jl = /* @__PURE__ */ De(Hl, [["render", Gl]]), b = {
|
|
|
4055
4055
|
defaultArray: []
|
|
4056
4056
|
}
|
|
4057
4057
|
]
|
|
4058
|
-
},
|
|
4059
|
-
|
|
4058
|
+
}, Pe = {}, C = (t) => {
|
|
4059
|
+
Pe[t.key] = t;
|
|
4060
4060
|
}, Ln = {
|
|
4061
4061
|
key: "settings",
|
|
4062
4062
|
name: "x-runtime-lib.settings",
|
|
@@ -4440,7 +4440,7 @@ const Un = {
|
|
|
4440
4440
|
spawn: oa
|
|
4441
4441
|
};
|
|
4442
4442
|
C(Mt);
|
|
4443
|
-
const wt =
|
|
4443
|
+
const wt = F(Q);
|
|
4444
4444
|
wt.children[0].default = "custom";
|
|
4445
4445
|
wt.children[2].children[0].default = "0xffffff";
|
|
4446
4446
|
wt.children[2].children[1].default = "0xffffff";
|
|
@@ -4470,7 +4470,7 @@ const Mn = {
|
|
|
4470
4470
|
slots: []
|
|
4471
4471
|
};
|
|
4472
4472
|
C(la);
|
|
4473
|
-
const It =
|
|
4473
|
+
const It = F(Q);
|
|
4474
4474
|
It.children[0].default = "custom";
|
|
4475
4475
|
It.children[2].children[0].default = "0xffffff";
|
|
4476
4476
|
It.children[2].children[1].default = "0xffffff";
|
|
@@ -4500,7 +4500,7 @@ const Bn = {
|
|
|
4500
4500
|
slots: []
|
|
4501
4501
|
};
|
|
4502
4502
|
C(aa);
|
|
4503
|
-
const St =
|
|
4503
|
+
const St = F(Q);
|
|
4504
4504
|
St.children[0].default = "custom";
|
|
4505
4505
|
St.children[2].children[0].default = "0xffffff";
|
|
4506
4506
|
St.children[2].children[1].default = "0xffffff";
|
|
@@ -4544,7 +4544,7 @@ const Rn = {
|
|
|
4544
4544
|
slots: []
|
|
4545
4545
|
};
|
|
4546
4546
|
C(ua);
|
|
4547
|
-
const Ct =
|
|
4547
|
+
const Ct = F(Q);
|
|
4548
4548
|
Ct.children[0].default = "custom";
|
|
4549
4549
|
Ct.children[2].children[0].default = "0xffffff";
|
|
4550
4550
|
Ct.children[2].children[1].default = "0xffffff";
|
|
@@ -4659,7 +4659,7 @@ function pa(t, n) {
|
|
|
4659
4659
|
}
|
|
4660
4660
|
};
|
|
4661
4661
|
}
|
|
4662
|
-
const
|
|
4662
|
+
const Kn = {
|
|
4663
4663
|
key: "series",
|
|
4664
4664
|
name: "x-runtime-lib.series",
|
|
4665
4665
|
children: [
|
|
@@ -4685,8 +4685,8 @@ const Fn = {
|
|
|
4685
4685
|
name: "x-runtime-lib.barChart",
|
|
4686
4686
|
comp: Ar,
|
|
4687
4687
|
properties: {
|
|
4688
|
-
pageUi: [b, X, gt, vt, _t, ht,
|
|
4689
|
-
compUi: [b, X, gt, vt, _t, ht,
|
|
4688
|
+
pageUi: [b, X, gt, vt, _t, ht, Kn],
|
|
4689
|
+
compUi: [b, X, gt, vt, _t, ht, Kn]
|
|
4690
4690
|
},
|
|
4691
4691
|
leaf: !0,
|
|
4692
4692
|
spawn: pa
|
|
@@ -4706,7 +4706,7 @@ function ma(t, n) {
|
|
|
4706
4706
|
}
|
|
4707
4707
|
};
|
|
4708
4708
|
}
|
|
4709
|
-
const
|
|
4709
|
+
const Fn = {
|
|
4710
4710
|
key: "series",
|
|
4711
4711
|
name: "x-runtime-lib.series",
|
|
4712
4712
|
children: [
|
|
@@ -4732,8 +4732,8 @@ const Kn = {
|
|
|
4732
4732
|
name: "x-runtime-lib.lineChart",
|
|
4733
4733
|
comp: Tr,
|
|
4734
4734
|
properties: {
|
|
4735
|
-
pageUi: [b, X, gt, vt, _t, ht,
|
|
4736
|
-
compUi: [b, X, gt, vt, _t, ht,
|
|
4735
|
+
pageUi: [b, X, gt, vt, _t, ht, Fn],
|
|
4736
|
+
compUi: [b, X, gt, vt, _t, ht, Fn]
|
|
4737
4737
|
},
|
|
4738
4738
|
leaf: !0,
|
|
4739
4739
|
spawn: ma
|
|
@@ -4797,7 +4797,7 @@ const lt = {
|
|
|
4797
4797
|
}, ya = {
|
|
4798
4798
|
key: "multiple_slot_v1",
|
|
4799
4799
|
name: "x-runtime-lib.multipleSlot",
|
|
4800
|
-
comp:
|
|
4800
|
+
comp: Kr,
|
|
4801
4801
|
properties: {
|
|
4802
4802
|
pageUi: [b, X, lt, at],
|
|
4803
4803
|
compUi: [b, X, lt, at],
|
|
@@ -4821,7 +4821,7 @@ const ut = {
|
|
|
4821
4821
|
}, ba = {
|
|
4822
4822
|
key: "ref_v1",
|
|
4823
4823
|
name: "x-runtime-lib.reference",
|
|
4824
|
-
comp:
|
|
4824
|
+
comp: Fr,
|
|
4825
4825
|
properties: {
|
|
4826
4826
|
pageUi: [b, X, ut],
|
|
4827
4827
|
compUi: [b, X, ut],
|
|
@@ -4882,7 +4882,7 @@ const ct = {
|
|
|
4882
4882
|
leaf: !0
|
|
4883
4883
|
};
|
|
4884
4884
|
C(ga);
|
|
4885
|
-
const Oe =
|
|
4885
|
+
const Oe = F(Q);
|
|
4886
4886
|
Oe.key = "backgroundColor";
|
|
4887
4887
|
Oe.name = "x-runtime-lib.backgroundColor";
|
|
4888
4888
|
const Yi = {
|
|
@@ -5002,7 +5002,7 @@ function Va(t, n) {
|
|
|
5002
5002
|
}
|
|
5003
5003
|
};
|
|
5004
5004
|
}
|
|
5005
|
-
const Pa =
|
|
5005
|
+
const Pa = F(Q), jn = {
|
|
5006
5006
|
key: "settings",
|
|
5007
5007
|
name: "x-runtime-lib.settings",
|
|
5008
5008
|
children: [
|
|
@@ -5092,10 +5092,10 @@ const Pa = K(Q), Nn = {
|
|
|
5092
5092
|
}, Wt = {
|
|
5093
5093
|
key: "ui_btn_v1",
|
|
5094
5094
|
name: "x-runtime-lib.button",
|
|
5095
|
-
comp:
|
|
5095
|
+
comp: jr,
|
|
5096
5096
|
properties: {
|
|
5097
|
-
pageUi: [b, X,
|
|
5098
|
-
compUi: [b, X,
|
|
5097
|
+
pageUi: [b, X, jn],
|
|
5098
|
+
compUi: [b, X, jn]
|
|
5099
5099
|
},
|
|
5100
5100
|
events: [
|
|
5101
5101
|
{
|
|
@@ -5117,7 +5117,7 @@ const Ea = {
|
|
|
5117
5117
|
}
|
|
5118
5118
|
};
|
|
5119
5119
|
C(Ea);
|
|
5120
|
-
const
|
|
5120
|
+
const Nn = {
|
|
5121
5121
|
key: "settings",
|
|
5122
5122
|
name: "x-runtime-lib.settings",
|
|
5123
5123
|
children: [
|
|
@@ -5183,8 +5183,8 @@ const jn = {
|
|
|
5183
5183
|
name: "x-runtime-lib.buttonToggle",
|
|
5184
5184
|
comp: Jr,
|
|
5185
5185
|
properties: {
|
|
5186
|
-
pageUi: [b,
|
|
5187
|
-
compUi: [b,
|
|
5186
|
+
pageUi: [b, Nn],
|
|
5187
|
+
compUi: [b, Nn]
|
|
5188
5188
|
}
|
|
5189
5189
|
};
|
|
5190
5190
|
C(za);
|
|
@@ -5291,7 +5291,7 @@ const Gn = {
|
|
|
5291
5291
|
leaf: !0
|
|
5292
5292
|
};
|
|
5293
5293
|
C(Aa);
|
|
5294
|
-
const Ta =
|
|
5294
|
+
const Ta = F(Q), Jn = {
|
|
5295
5295
|
key: "settings",
|
|
5296
5296
|
name: "x-runtime-lib.settings",
|
|
5297
5297
|
children: [
|
|
@@ -5366,7 +5366,7 @@ const Ta = K(Q), Jn = {
|
|
|
5366
5366
|
},
|
|
5367
5367
|
Ta
|
|
5368
5368
|
]
|
|
5369
|
-
},
|
|
5369
|
+
}, Kt = {
|
|
5370
5370
|
key: "ui_chip_v1",
|
|
5371
5371
|
name: "x-runtime-lib.chip",
|
|
5372
5372
|
comp: Yr,
|
|
@@ -5376,11 +5376,11 @@ const Ta = K(Q), Jn = {
|
|
|
5376
5376
|
},
|
|
5377
5377
|
leaf: !0
|
|
5378
5378
|
};
|
|
5379
|
-
C(
|
|
5379
|
+
C(Kt);
|
|
5380
5380
|
function Ua(t, n) {
|
|
5381
|
-
const e = R(t, n), o =
|
|
5382
|
-
M(i, o), i.basic.id = A(16), i.basic.key =
|
|
5383
|
-
const r = Ue(t, n, "chip1", "chip 1"), l = Ue(t, n, "chip2", "chip 2"), u = Ue(t, n, "chip3", "chip 3"), p = Ue(t, n, "chip4", "chip 4"), d = Ue(t, n, "chip5", "chip 5"),
|
|
5381
|
+
const e = R(t, n), o = Ft.properties[e], i = T();
|
|
5382
|
+
M(i, o), i.basic.id = A(16), i.basic.key = Ft.key;
|
|
5383
|
+
const r = Ue(t, n, "chip1", "chip 1"), l = Ue(t, n, "chip2", "chip 2"), u = Ue(t, n, "chip3", "chip 3"), p = Ue(t, n, "chip4", "chip 4"), d = Ue(t, n, "chip5", "chip 5"), f = Ue(t, n, "chip6", "chip 6");
|
|
5384
5384
|
return {
|
|
5385
5385
|
nodeLite: U(i, [
|
|
5386
5386
|
r.nodeLite,
|
|
@@ -5388,7 +5388,7 @@ function Ua(t, n) {
|
|
|
5388
5388
|
u.nodeLite,
|
|
5389
5389
|
p.nodeLite,
|
|
5390
5390
|
d.nodeLite,
|
|
5391
|
-
|
|
5391
|
+
f.nodeLite
|
|
5392
5392
|
]),
|
|
5393
5393
|
nodes: {
|
|
5394
5394
|
[i.basic.id]: i,
|
|
@@ -5397,13 +5397,13 @@ function Ua(t, n) {
|
|
|
5397
5397
|
...u.nodes,
|
|
5398
5398
|
...p.nodes,
|
|
5399
5399
|
...d.nodes,
|
|
5400
|
-
...
|
|
5400
|
+
...f.nodes
|
|
5401
5401
|
}
|
|
5402
5402
|
};
|
|
5403
5403
|
}
|
|
5404
5404
|
function Ue(t, n, e, o) {
|
|
5405
|
-
const i = R(t, n), r =
|
|
5406
|
-
return M(l, r), l.basic.id = A(16), l.basic.key =
|
|
5405
|
+
const i = R(t, n), r = Kt.properties[i], l = T();
|
|
5406
|
+
return M(l, r), l.basic.id = A(16), l.basic.key = Kt.key, l.settings.value = e, l.settings.text = o, {
|
|
5407
5407
|
nodeLite: U(l),
|
|
5408
5408
|
nodes: {
|
|
5409
5409
|
[l.basic.id]: l
|
|
@@ -5464,7 +5464,7 @@ const qn = {
|
|
|
5464
5464
|
default: !1
|
|
5465
5465
|
}
|
|
5466
5466
|
]
|
|
5467
|
-
},
|
|
5467
|
+
}, Ft = {
|
|
5468
5468
|
key: "ui_chip_group_v1",
|
|
5469
5469
|
name: "x-runtime-lib.chipGroup",
|
|
5470
5470
|
comp: Zr,
|
|
@@ -5474,7 +5474,7 @@ const qn = {
|
|
|
5474
5474
|
},
|
|
5475
5475
|
spawn: Ua
|
|
5476
5476
|
};
|
|
5477
|
-
C(
|
|
5477
|
+
C(Ft);
|
|
5478
5478
|
const Ma = {
|
|
5479
5479
|
key: "ui_color_picker_v1",
|
|
5480
5480
|
name: "x-runtime-lib.colorPicker",
|
|
@@ -5538,7 +5538,7 @@ const Xn = {
|
|
|
5538
5538
|
leaf: !0
|
|
5539
5539
|
};
|
|
5540
5540
|
C(Ba);
|
|
5541
|
-
const _n =
|
|
5541
|
+
const _n = F(Q);
|
|
5542
5542
|
_n.key = "backgroundColor";
|
|
5543
5543
|
_n.name = "x-runtime-lib.backgroundColor";
|
|
5544
5544
|
const Yn = {
|
|
@@ -5735,7 +5735,7 @@ const Wa = {
|
|
|
5735
5735
|
leaf: !0
|
|
5736
5736
|
};
|
|
5737
5737
|
C(Wa);
|
|
5738
|
-
const
|
|
5738
|
+
const Ka = {
|
|
5739
5739
|
key: "ui_dialog_v1",
|
|
5740
5740
|
name: "x-runtime-lib.dialog",
|
|
5741
5741
|
comp: rl,
|
|
@@ -5755,12 +5755,12 @@ const Fa = {
|
|
|
5755
5755
|
],
|
|
5756
5756
|
teleport: !0
|
|
5757
5757
|
};
|
|
5758
|
-
C(
|
|
5758
|
+
C(Ka);
|
|
5759
5759
|
const ti = {
|
|
5760
5760
|
key: "settings",
|
|
5761
5761
|
name: "x-runtime-lib.settings",
|
|
5762
5762
|
children: []
|
|
5763
|
-
},
|
|
5763
|
+
}, jc = {
|
|
5764
5764
|
key: "ui_file_input_v1",
|
|
5765
5765
|
name: "x-runtime-lib.fileInput",
|
|
5766
5766
|
comp: ll,
|
|
@@ -5796,10 +5796,10 @@ const ti = {
|
|
|
5796
5796
|
}
|
|
5797
5797
|
};
|
|
5798
5798
|
C(Ot);
|
|
5799
|
-
function
|
|
5799
|
+
function Fa(t, n) {
|
|
5800
5800
|
const e = R(t, n), o = Ze.properties[e], i = T();
|
|
5801
5801
|
M(i, o), i.basic.id = A(16), i.basic.key = Ze.key;
|
|
5802
|
-
const r =
|
|
5802
|
+
const r = jt(
|
|
5803
5803
|
t,
|
|
5804
5804
|
n,
|
|
5805
5805
|
"#ff0000",
|
|
@@ -5808,7 +5808,7 @@ function Ka(t, n) {
|
|
|
5808
5808
|
void 0,
|
|
5809
5809
|
"40px",
|
|
5810
5810
|
void 0
|
|
5811
|
-
), l =
|
|
5811
|
+
), l = jt(
|
|
5812
5812
|
t,
|
|
5813
5813
|
n,
|
|
5814
5814
|
"#00ff00",
|
|
@@ -5831,7 +5831,7 @@ function Ka(t, n) {
|
|
|
5831
5831
|
function Da(t, n) {
|
|
5832
5832
|
const e = R(t, n), o = Ot.properties[e], i = T();
|
|
5833
5833
|
M(i, o), i.basic.id = A(16), i.basic.key = Ot.key;
|
|
5834
|
-
const r =
|
|
5834
|
+
const r = jt(
|
|
5835
5835
|
t,
|
|
5836
5836
|
n,
|
|
5837
5837
|
"#0000ff",
|
|
@@ -5849,16 +5849,16 @@ function Da(t, n) {
|
|
|
5849
5849
|
}
|
|
5850
5850
|
};
|
|
5851
5851
|
}
|
|
5852
|
-
function
|
|
5853
|
-
const d = R(t, n),
|
|
5854
|
-
return M(c,
|
|
5852
|
+
function jt(t, n, e, o, i, r, l, u, p) {
|
|
5853
|
+
const d = R(t, n), f = Dt.properties[d], c = T();
|
|
5854
|
+
return M(c, f), c.basic.id = A(16), c.basic.key = Dt.key, o && (c.size.width = o), i && (c.size.minWidth = i), l && (c.size.height = l), u && (c.size.minHeight = u), e && (c.settings.backgroundColor.mode = "custom", c.settings.backgroundColor.custom.light = e, c.settings.backgroundColor.custom.dark = e), {
|
|
5855
5855
|
nodeLite: U(c, []),
|
|
5856
5856
|
nodes: {
|
|
5857
5857
|
[c.basic.id]: c
|
|
5858
5858
|
}
|
|
5859
5859
|
};
|
|
5860
5860
|
}
|
|
5861
|
-
const xn =
|
|
5861
|
+
const xn = F(Q);
|
|
5862
5862
|
xn.key = "backgroundColor";
|
|
5863
5863
|
xn.name = "x-runtime-lib.backgroundColor";
|
|
5864
5864
|
const ii = {
|
|
@@ -6045,7 +6045,7 @@ const ii = {
|
|
|
6045
6045
|
name: "x-runtime-lib.click"
|
|
6046
6046
|
}
|
|
6047
6047
|
],
|
|
6048
|
-
spawn:
|
|
6048
|
+
spawn: Fa
|
|
6049
6049
|
};
|
|
6050
6050
|
C(Ze);
|
|
6051
6051
|
const oi = {
|
|
@@ -6198,10 +6198,10 @@ const oi = {
|
|
|
6198
6198
|
default: void 0
|
|
6199
6199
|
}
|
|
6200
6200
|
]
|
|
6201
|
-
},
|
|
6201
|
+
}, Nt = {
|
|
6202
6202
|
key: "ui_text_field_v1",
|
|
6203
6203
|
name: "x-runtime-lib.textField",
|
|
6204
|
-
comp:
|
|
6204
|
+
comp: Kl,
|
|
6205
6205
|
properties: {
|
|
6206
6206
|
pageUi: [b, oi, si],
|
|
6207
6207
|
compUi: [b, oi, si]
|
|
@@ -6300,11 +6300,11 @@ const oi = {
|
|
|
6300
6300
|
],
|
|
6301
6301
|
leaf: !0
|
|
6302
6302
|
};
|
|
6303
|
-
C(
|
|
6303
|
+
C(Nt);
|
|
6304
6304
|
function Oa(t, n) {
|
|
6305
6305
|
const e = R(t, n), o = Ht.properties[e], i = T();
|
|
6306
6306
|
M(i, o), i.basic.id = A(16), i.basic.key = Ht.key;
|
|
6307
|
-
const r =
|
|
6307
|
+
const r = ja(t, n);
|
|
6308
6308
|
return {
|
|
6309
6309
|
nodeLite: U(i, [r.nodeLite]),
|
|
6310
6310
|
nodes: {
|
|
@@ -6313,9 +6313,9 @@ function Oa(t, n) {
|
|
|
6313
6313
|
}
|
|
6314
6314
|
};
|
|
6315
6315
|
}
|
|
6316
|
-
function
|
|
6317
|
-
const e = R(t, n), o =
|
|
6318
|
-
return M(i, o), i.basic.id = A(16), i.basic.key =
|
|
6316
|
+
function ja(t, n) {
|
|
6317
|
+
const e = R(t, n), o = Nt.properties[e], i = T();
|
|
6318
|
+
return M(i, o), i.basic.id = A(16), i.basic.key = Nt.key, {
|
|
6319
6319
|
nodeLite: U(i),
|
|
6320
6320
|
nodes: {
|
|
6321
6321
|
[i.basic.id]: i
|
|
@@ -6357,7 +6357,7 @@ const ri = {
|
|
|
6357
6357
|
spawn: Oa
|
|
6358
6358
|
};
|
|
6359
6359
|
C(Ht);
|
|
6360
|
-
const
|
|
6360
|
+
const Na = F(Q), li = {
|
|
6361
6361
|
key: "settings",
|
|
6362
6362
|
name: "x-runtime-lib.settings",
|
|
6363
6363
|
children: [
|
|
@@ -6380,7 +6380,7 @@ const ja = K(Q), li = {
|
|
|
6380
6380
|
items: "sizeItemsV1",
|
|
6381
6381
|
default: "default"
|
|
6382
6382
|
},
|
|
6383
|
-
|
|
6383
|
+
Na
|
|
6384
6384
|
]
|
|
6385
6385
|
}, Ha = {
|
|
6386
6386
|
key: "ui_icon_v1",
|
|
@@ -6698,7 +6698,7 @@ const ci = {
|
|
|
6698
6698
|
leaf: !0
|
|
6699
6699
|
};
|
|
6700
6700
|
C(qa);
|
|
6701
|
-
const Xa =
|
|
6701
|
+
const Xa = F(Q), di = {
|
|
6702
6702
|
key: "settings",
|
|
6703
6703
|
name: "x-runtime-lib.settings",
|
|
6704
6704
|
children: [
|
|
@@ -7073,13 +7073,13 @@ const yi = {
|
|
|
7073
7073
|
leaf: !0
|
|
7074
7074
|
};
|
|
7075
7075
|
C(eu);
|
|
7076
|
-
const kn =
|
|
7076
|
+
const kn = F(Q);
|
|
7077
7077
|
kn.key = "color";
|
|
7078
7078
|
kn.name = "x-runtime-lib.color";
|
|
7079
|
-
const wn =
|
|
7079
|
+
const wn = F(Q);
|
|
7080
7080
|
wn.key = "trackColor";
|
|
7081
7081
|
wn.name = "x-runtime-lib.trackColor";
|
|
7082
|
-
const In =
|
|
7082
|
+
const In = F(Q);
|
|
7083
7083
|
In.key = "thumbColor";
|
|
7084
7084
|
In.name = "x-runtime-lib.thumbColor";
|
|
7085
7085
|
const bi = {
|
|
@@ -7442,13 +7442,13 @@ function zt(t, n, e, o) {
|
|
|
7442
7442
|
}
|
|
7443
7443
|
};
|
|
7444
7444
|
}
|
|
7445
|
-
const Sn =
|
|
7445
|
+
const Sn = F(Q);
|
|
7446
7446
|
Sn.key = "backgroundColor";
|
|
7447
7447
|
Sn.name = "x-runtime-lib.backgroundColor";
|
|
7448
|
-
const Cn =
|
|
7448
|
+
const Cn = F(Q);
|
|
7449
7449
|
Cn.key = "selectedColor";
|
|
7450
7450
|
Cn.name = "x-runtime-lib.selectedColor";
|
|
7451
|
-
const $n =
|
|
7451
|
+
const $n = F(Q);
|
|
7452
7452
|
$n.key = "sliderColor";
|
|
7453
7453
|
$n.name = "x-runtime-lib.sliderColor";
|
|
7454
7454
|
const ki = {
|
|
@@ -7743,7 +7743,7 @@ C(on);
|
|
|
7743
7743
|
const sn = {
|
|
7744
7744
|
key: "ui_timeline_item_v1",
|
|
7745
7745
|
name: "x-runtime-lib.timelineItem",
|
|
7746
|
-
comp:
|
|
7746
|
+
comp: jl,
|
|
7747
7747
|
properties: {
|
|
7748
7748
|
pageUi: [b],
|
|
7749
7749
|
compUi: [b]
|
|
@@ -7785,7 +7785,7 @@ function du(t, n, e) {
|
|
|
7785
7785
|
}
|
|
7786
7786
|
};
|
|
7787
7787
|
}
|
|
7788
|
-
const pu =
|
|
7788
|
+
const pu = F(Q), mu = F(Q), Si = {
|
|
7789
7789
|
key: "settings",
|
|
7790
7790
|
name: "x-runtime-lib.settings",
|
|
7791
7791
|
children: [
|
|
@@ -7866,7 +7866,7 @@ const pu = K(Q), mu = K(Q), Si = {
|
|
|
7866
7866
|
}, rn = {
|
|
7867
7867
|
key: "ui_timeline_v1",
|
|
7868
7868
|
name: "x-runtime-lib.timeline",
|
|
7869
|
-
comp:
|
|
7869
|
+
comp: Fl,
|
|
7870
7870
|
properties: {
|
|
7871
7871
|
pageUi: [b, Si],
|
|
7872
7872
|
compUi: [b, Si]
|
|
@@ -7982,7 +7982,7 @@ const Ci = {
|
|
|
7982
7982
|
}, an = {
|
|
7983
7983
|
key: "ui_window_v1",
|
|
7984
7984
|
name: "x-runtime-lib.window",
|
|
7985
|
-
comp:
|
|
7985
|
+
comp: Nl,
|
|
7986
7986
|
properties: {
|
|
7987
7987
|
pageUi: [b, Ci],
|
|
7988
7988
|
compUi: [b, Ci]
|
|
@@ -8130,11 +8130,11 @@ const hu = [
|
|
|
8130
8130
|
], Wu = [
|
|
8131
8131
|
{ title: "x-runtime-lib.horizontal", value: "horizontal" },
|
|
8132
8132
|
{ title: "x-runtime-lib.vertical", value: "vertical" }
|
|
8133
|
-
],
|
|
8133
|
+
], Ku = [
|
|
8134
8134
|
{ title: "x-runtime-lib.notSet", value: "" },
|
|
8135
8135
|
{ title: "x-runtime-lib.end", value: "end" },
|
|
8136
8136
|
{ title: "x-runtime-lib.start", value: "start" }
|
|
8137
|
-
],
|
|
8137
|
+
], Fu = [
|
|
8138
8138
|
{ title: "x-runtime-lib.notSet", value: "" },
|
|
8139
8139
|
{ title: "x-runtime-lib.end", value: "end" },
|
|
8140
8140
|
{ title: "x-runtime-lib.start", value: "start" },
|
|
@@ -8164,8 +8164,8 @@ const hu = [
|
|
|
8164
8164
|
thumbLabelItemsV1: Bu,
|
|
8165
8165
|
timelineAlignItemsV1: Ru,
|
|
8166
8166
|
timelineDirectionItemsV1: Wu,
|
|
8167
|
-
timelineSideItemsV1:
|
|
8168
|
-
timelineTruncateLineItemsV1:
|
|
8167
|
+
timelineSideItemsV1: Ku,
|
|
8168
|
+
timelineTruncateLineItemsV1: Fu
|
|
8169
8169
|
}, Symbol.toStringTag, { value: "Module" })), Ou = [
|
|
8170
8170
|
{
|
|
8171
8171
|
title: "x-runtime-lib.notSet",
|
|
@@ -8206,7 +8206,7 @@ const hu = [
|
|
|
8206
8206
|
max: 1 / 0,
|
|
8207
8207
|
step: 1
|
|
8208
8208
|
}
|
|
8209
|
-
],
|
|
8209
|
+
], ju = [
|
|
8210
8210
|
{
|
|
8211
8211
|
title: "x-runtime-lib.notSet",
|
|
8212
8212
|
value: "",
|
|
@@ -8228,7 +8228,7 @@ const hu = [
|
|
|
8228
8228
|
validator: (t) => t === "right",
|
|
8229
8229
|
default: "right"
|
|
8230
8230
|
}
|
|
8231
|
-
],
|
|
8231
|
+
], Nu = [
|
|
8232
8232
|
{
|
|
8233
8233
|
title: "x-runtime-lib.notSet",
|
|
8234
8234
|
value: "",
|
|
@@ -8362,8 +8362,8 @@ const hu = [
|
|
|
8362
8362
|
], Xu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8363
8363
|
__proto__: null,
|
|
8364
8364
|
borderWidthTypesV1: Ou,
|
|
8365
|
-
leftRightTypesV1:
|
|
8366
|
-
marginTypesV1:
|
|
8365
|
+
leftRightTypesV1: ju,
|
|
8366
|
+
marginTypesV1: Nu,
|
|
8367
8367
|
paddingTypesV1: Hu,
|
|
8368
8368
|
sizeTypesV1: Gu,
|
|
8369
8369
|
tableColumnAlignTypesV1: Ju,
|
|
@@ -8718,9 +8718,9 @@ const hu = [
|
|
|
8718
8718
|
};
|
|
8719
8719
|
function $i(t, n) {
|
|
8720
8720
|
if (t.array)
|
|
8721
|
-
return n ?
|
|
8721
|
+
return n ? F(t.default) : F(t.defaultArray);
|
|
8722
8722
|
{
|
|
8723
|
-
const e =
|
|
8723
|
+
const e = F(t.default);
|
|
8724
8724
|
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;
|
|
8725
8725
|
}
|
|
8726
8726
|
}
|
|
@@ -8737,7 +8737,7 @@ function M(t, n) {
|
|
|
8737
8737
|
}
|
|
8738
8738
|
n.forEach((o) => e(t, o));
|
|
8739
8739
|
}
|
|
8740
|
-
function
|
|
8740
|
+
function Nc(t, n, e, o, i) {
|
|
8741
8741
|
const r = `type=${t} subtype=${n} version=${e} ref=${o} keyOrRefId=${i}`, l = R(t, n), u = nc[e];
|
|
8742
8742
|
if (!u) {
|
|
8743
8743
|
console.error(`spawnNode pkg not found version, ${r}`);
|
|
@@ -8749,21 +8749,21 @@ function jc(t, n, e, o, i) {
|
|
|
8749
8749
|
console.error(`spawnNode [ref] element not found in pkg, ${r}`);
|
|
8750
8750
|
return;
|
|
8751
8751
|
}
|
|
8752
|
-
const
|
|
8753
|
-
if (!
|
|
8752
|
+
const f = Pe[p];
|
|
8753
|
+
if (!f) {
|
|
8754
8754
|
console.error(`spawnNode [ref] element not found in global, ${r}`);
|
|
8755
8755
|
return;
|
|
8756
8756
|
}
|
|
8757
|
-
const c =
|
|
8757
|
+
const c = f.properties[l];
|
|
8758
8758
|
if (!c) {
|
|
8759
8759
|
console.error(`spawnNode [ref] properties not found, ${r}`);
|
|
8760
8760
|
return;
|
|
8761
8761
|
}
|
|
8762
|
-
const
|
|
8763
|
-
return M(
|
|
8764
|
-
nodeLite: U(
|
|
8762
|
+
const m = T();
|
|
8763
|
+
return M(m, c), m.basic.id = A(16), m.basic.key = p, m.settings || (m.settings = {}), m.settings.comp = d, {
|
|
8764
|
+
nodeLite: U(m),
|
|
8765
8765
|
nodes: {
|
|
8766
|
-
[
|
|
8766
|
+
[m.basic.id]: m
|
|
8767
8767
|
}
|
|
8768
8768
|
};
|
|
8769
8769
|
} else {
|
|
@@ -8772,7 +8772,7 @@ function jc(t, n, e, o, i) {
|
|
|
8772
8772
|
console.error(`spawnNode [key] element not found in pkg, ${r}`);
|
|
8773
8773
|
return;
|
|
8774
8774
|
}
|
|
8775
|
-
const d =
|
|
8775
|
+
const d = Pe[p];
|
|
8776
8776
|
if (!d) {
|
|
8777
8777
|
console.error(`spawnNode [key] element not found in global, ${r}`);
|
|
8778
8778
|
return;
|
|
@@ -8780,16 +8780,16 @@ function jc(t, n, e, o, i) {
|
|
|
8780
8780
|
if (d.spawn)
|
|
8781
8781
|
return d.spawn(t, n);
|
|
8782
8782
|
{
|
|
8783
|
-
const
|
|
8784
|
-
if (!
|
|
8783
|
+
const f = d.properties[l];
|
|
8784
|
+
if (!f) {
|
|
8785
8785
|
console.error(`spawnNode [key] properties not found, ${r}`);
|
|
8786
8786
|
return;
|
|
8787
8787
|
}
|
|
8788
8788
|
const c = T();
|
|
8789
|
-
M(c,
|
|
8790
|
-
let
|
|
8791
|
-
return d.leaf || (
|
|
8792
|
-
nodeLite: U(c,
|
|
8789
|
+
M(c, f), c.basic.id = A(16), c.basic.key = p;
|
|
8790
|
+
let m;
|
|
8791
|
+
return d.leaf || (m = []), {
|
|
8792
|
+
nodeLite: U(c, m),
|
|
8793
8793
|
nodes: {
|
|
8794
8794
|
[c.basic.id]: c
|
|
8795
8795
|
}
|
|
@@ -8818,11 +8818,11 @@ function ic(t) {
|
|
|
8818
8818
|
const n = {}, e = (r) => {
|
|
8819
8819
|
const l = A(16);
|
|
8820
8820
|
n[r.id] = l, r.id = l, r.children?.map((u) => e(u));
|
|
8821
|
-
}, o =
|
|
8821
|
+
}, o = F(t.nodeLite);
|
|
8822
8822
|
e(o);
|
|
8823
8823
|
const i = {};
|
|
8824
8824
|
return Object.values(t.nodes).forEach((r) => {
|
|
8825
|
-
const l =
|
|
8825
|
+
const l = F(r);
|
|
8826
8826
|
l.basic.id = n[l.basic.id], i[l.basic.id] = l;
|
|
8827
8827
|
}), { nodeLite: o, nodes: i };
|
|
8828
8828
|
}
|
|
@@ -8851,7 +8851,7 @@ function ie() {
|
|
|
8851
8851
|
function Yc(t) {
|
|
8852
8852
|
pe(to, mn(t));
|
|
8853
8853
|
}
|
|
8854
|
-
function
|
|
8854
|
+
function je() {
|
|
8855
8855
|
return de(to);
|
|
8856
8856
|
}
|
|
8857
8857
|
function Zc(t) {
|
|
@@ -8869,7 +8869,7 @@ function Ie() {
|
|
|
8869
8869
|
function ed(t) {
|
|
8870
8870
|
pe(oo, t);
|
|
8871
8871
|
}
|
|
8872
|
-
function
|
|
8872
|
+
function Ee() {
|
|
8873
8873
|
return de(oo);
|
|
8874
8874
|
}
|
|
8875
8875
|
function ve(t) {
|
|
@@ -8925,8 +8925,8 @@ async function dt(t, n, e, o, i) {
|
|
|
8925
8925
|
if (e === Je(c)) {
|
|
8926
8926
|
if (c.subKeys) {
|
|
8927
8927
|
if (!ye(
|
|
8928
|
-
|
|
8929
|
-
|
|
8928
|
+
ze(o, c.subKeys),
|
|
8929
|
+
ze(i, c.subKeys)
|
|
8930
8930
|
)) {
|
|
8931
8931
|
d = c;
|
|
8932
8932
|
break;
|
|
@@ -8938,59 +8938,59 @@ async function dt(t, n, e, o, i) {
|
|
|
8938
8938
|
}
|
|
8939
8939
|
if (!d)
|
|
8940
8940
|
continue;
|
|
8941
|
-
let
|
|
8942
|
-
d.subKeys ?
|
|
8941
|
+
let f;
|
|
8942
|
+
d.subKeys ? f = ze(o, d.subKeys) : f = o;
|
|
8943
8943
|
for (const c of p)
|
|
8944
8944
|
if (c.subKeys) {
|
|
8945
|
-
let
|
|
8945
|
+
let m;
|
|
8946
8946
|
if (c.type === "elementProperty")
|
|
8947
|
-
|
|
8947
|
+
m = t.getElementProperty(
|
|
8948
8948
|
c.nodeId,
|
|
8949
8949
|
c.propertyKeys.split(".")
|
|
8950
8950
|
);
|
|
8951
8951
|
else if (c.type === "customProperty")
|
|
8952
|
-
|
|
8952
|
+
m = t.getCustomProperty(c.propertyId);
|
|
8953
8953
|
else if (c.type === "customSlotProperty")
|
|
8954
|
-
|
|
8954
|
+
m = t.getCustomSlotProperty(c.propertyId);
|
|
8955
8955
|
else if (c.type === "state")
|
|
8956
|
-
|
|
8956
|
+
m = t.getState(c.stateId);
|
|
8957
8957
|
else {
|
|
8958
8958
|
console.assert(!1);
|
|
8959
8959
|
continue;
|
|
8960
8960
|
}
|
|
8961
|
-
const h =
|
|
8962
|
-
if (ye(
|
|
8961
|
+
const h = ze(m, c.subKeys);
|
|
8962
|
+
if (ye(f, h))
|
|
8963
8963
|
continue;
|
|
8964
|
-
const y =
|
|
8965
|
-
yn(y, c.subKeys,
|
|
8964
|
+
const y = F(m);
|
|
8965
|
+
yn(y, c.subKeys, F(f)), c.type === "elementProperty" ? t.setElementProperty(
|
|
8966
8966
|
c.nodeId,
|
|
8967
8967
|
c.propertyKeys.split("."),
|
|
8968
8968
|
y
|
|
8969
8969
|
) : c.type === "customProperty" ? t.setCustomProperty(c.propertyId, y) : c.type === "customSlotProperty" ? t.setCustomSlotProperty(c.propertyId, y) : c.type === "state" ? t.setState(c.stateId, y) : console.assert(!1);
|
|
8970
8970
|
} else {
|
|
8971
|
-
let
|
|
8971
|
+
let m;
|
|
8972
8972
|
if (c.type === "elementProperty")
|
|
8973
|
-
|
|
8973
|
+
m = t.getElementProperty(
|
|
8974
8974
|
c.nodeId,
|
|
8975
8975
|
c.propertyKeys.split(".")
|
|
8976
8976
|
);
|
|
8977
8977
|
else if (c.type === "customProperty")
|
|
8978
|
-
|
|
8978
|
+
m = t.getCustomProperty(c.propertyId);
|
|
8979
8979
|
else if (c.type === "customSlotProperty")
|
|
8980
|
-
|
|
8980
|
+
m = t.getCustomSlotProperty(c.propertyId);
|
|
8981
8981
|
else if (c.type === "state")
|
|
8982
|
-
|
|
8982
|
+
m = t.getState(c.stateId);
|
|
8983
8983
|
else {
|
|
8984
8984
|
console.assert(!1);
|
|
8985
8985
|
continue;
|
|
8986
8986
|
}
|
|
8987
|
-
if (ye(
|
|
8987
|
+
if (ye(f, m))
|
|
8988
8988
|
continue;
|
|
8989
8989
|
c.type === "elementProperty" ? t.setElementProperty(
|
|
8990
8990
|
c.nodeId,
|
|
8991
8991
|
c.propertyKeys.split("."),
|
|
8992
|
-
|
|
8993
|
-
) : c.type === "customProperty" ? t.setCustomProperty(c.propertyId,
|
|
8992
|
+
F(f)
|
|
8993
|
+
) : c.type === "customProperty" ? t.setCustomProperty(c.propertyId, F(f)) : c.type === "customSlotProperty" ? t.setCustomSlotProperty(c.propertyId, F(f)) : c.type === "state" ? t.setState(c.stateId, F(f)) : console.assert(!1);
|
|
8994
8994
|
}
|
|
8995
8995
|
}
|
|
8996
8996
|
}
|
|
@@ -9138,12 +9138,12 @@ function Se(t, n) {
|
|
|
9138
9138
|
o.value = -1, n.value = void 0, Ri.emit("compNotAvail", t.value);
|
|
9139
9139
|
return;
|
|
9140
9140
|
}
|
|
9141
|
-
o.value !== i.dataSeq && (o.value = i.dataSeq, n.value =
|
|
9141
|
+
o.value !== i.dataSeq && (o.value = i.dataSeq, n.value = F(i.data));
|
|
9142
9142
|
});
|
|
9143
9143
|
}
|
|
9144
9144
|
function fd() {
|
|
9145
9145
|
let t;
|
|
9146
|
-
const n = async () => (t = (await
|
|
9146
|
+
const n = async () => (t = (await Ko()).newRuntime(), console.log("runtime created"), t);
|
|
9147
9147
|
return we(() => {
|
|
9148
9148
|
t && (t.dispose(), console.log("runtime dispose"));
|
|
9149
9149
|
}), { createRuntime: n };
|
|
@@ -9163,8 +9163,8 @@ function mc(t) {
|
|
|
9163
9163
|
if (/^\[\d+\]$/.test(p)) {
|
|
9164
9164
|
let d = parseInt(p.slice(1, -1), 10);
|
|
9165
9165
|
d > 0 && d--;
|
|
9166
|
-
const
|
|
9167
|
-
n.setProp(i, l.toString(),
|
|
9166
|
+
const f = n.newNumber(d);
|
|
9167
|
+
n.setProp(i, l.toString(), f), f.dispose(), l++;
|
|
9168
9168
|
} else {
|
|
9169
9169
|
const d = n.newString(p);
|
|
9170
9170
|
n.setProp(i, l.toString(), d), d.dispose(), l++;
|
|
@@ -9186,7 +9186,7 @@ function mc(t) {
|
|
|
9186
9186
|
}).consume((e) => n.setProp(n.global, "__debugTraceV1__", e)), n.newFunction("__messageV1__", (e, o) => {
|
|
9187
9187
|
const i = n.getString(e), r = n.dump(o);
|
|
9188
9188
|
let l = "";
|
|
9189
|
-
typeof r == "object" ? l = JSON.stringify(r) : l = String(r), i === "info" ? ho(l) : i === "success" ? go(l) : i === "warning" ? Wi(l) : i === "error" &&
|
|
9189
|
+
typeof r == "object" ? l = JSON.stringify(r) : l = String(r), i === "info" ? ho(l) : i === "success" ? go(l) : i === "warning" ? Wi(l) : i === "error" && Ki(l);
|
|
9190
9190
|
}).consume((e) => n.setProp(n.global, "__messageV1__", e)), n.newFunction("__timeoutV1__", (e, o) => {
|
|
9191
9191
|
const i = n.getNumber(e), r = n.getNumber(o);
|
|
9192
9192
|
window.setTimeout(() => {
|
|
@@ -9194,13 +9194,13 @@ function mc(t) {
|
|
|
9194
9194
|
try {
|
|
9195
9195
|
if (!t.vm)
|
|
9196
9196
|
return;
|
|
9197
|
-
const l =
|
|
9197
|
+
const l = Ne(u, n.getProp(n.global, "__timeoutCallback__"));
|
|
9198
9198
|
n.callFunction(l, n.undefined, n.newNumber(i)).unwrap().dispose();
|
|
9199
9199
|
n.runtime.executePendingJobs();
|
|
9200
9200
|
} catch (p) {
|
|
9201
|
-
var d = p,
|
|
9201
|
+
var d = p, f = !0;
|
|
9202
9202
|
} finally {
|
|
9203
|
-
He(u, d,
|
|
9203
|
+
He(u, d, f);
|
|
9204
9204
|
}
|
|
9205
9205
|
}, r);
|
|
9206
9206
|
}).consume((e) => n.setProp(n.global, "__timeoutV1__", e)), n.newFunction("__delayV1__", (e) => {
|
|
@@ -9214,7 +9214,7 @@ const po = vo({
|
|
|
9214
9214
|
baseUrl: "http://localhost/computebase/",
|
|
9215
9215
|
onError: (t) => {
|
|
9216
9216
|
const { i18n: n } = ke;
|
|
9217
|
-
|
|
9217
|
+
Ki(Oo(n, t));
|
|
9218
9218
|
}
|
|
9219
9219
|
});
|
|
9220
9220
|
window.API_URL && (po.defaults.baseURL = window.API_URL + "/computebase/");
|
|
@@ -9228,12 +9228,12 @@ function yc(t) {
|
|
|
9228
9228
|
}
|
|
9229
9229
|
const { vm: n } = t;
|
|
9230
9230
|
n.newFunction("__callFuncV1__", (e, o, i, r, l) => {
|
|
9231
|
-
const u = n.getString(e), p = n.getString(o), d = n.dump(i),
|
|
9231
|
+
const u = n.getString(e), p = n.getString(o), d = n.dump(i), f = n.getString(r), c = n.getString(l), { promise: m, resolve: h, reject: y } = t.promiseManager.create(), g = JSON.stringify(d);
|
|
9232
9232
|
return fc({
|
|
9233
9233
|
spaceId: u,
|
|
9234
9234
|
id: p,
|
|
9235
9235
|
strInputs: g,
|
|
9236
|
-
env:
|
|
9236
|
+
env: f
|
|
9237
9237
|
}).then(
|
|
9238
9238
|
({ strOutputs: _ }) => {
|
|
9239
9239
|
if (!t.vm)
|
|
@@ -9244,7 +9244,7 @@ function yc(t) {
|
|
|
9244
9244
|
(_) => {
|
|
9245
9245
|
t.vm && y(`call func<${c}> failed, error: ${_}`);
|
|
9246
9246
|
}
|
|
9247
|
-
),
|
|
9247
|
+
), m.settled.then(n.runtime.executePendingJobs), m.handle;
|
|
9248
9248
|
}).consume((e) => n.setProp(n.global, "__callFuncV1__", e));
|
|
9249
9249
|
}
|
|
9250
9250
|
function bc(t) {
|
|
@@ -9255,7 +9255,7 @@ function bc(t) {
|
|
|
9255
9255
|
const { vm: n } = t;
|
|
9256
9256
|
n.newFunction("__getEnvV1__", () => n.getProp(n.global, "__env__")).consume((e) => n.setProp(n.global, "__getEnvV1__", e));
|
|
9257
9257
|
}
|
|
9258
|
-
function
|
|
9258
|
+
function Le(t, n) {
|
|
9259
9259
|
if (n === void 0)
|
|
9260
9260
|
return t.undefined;
|
|
9261
9261
|
if (n === null)
|
|
@@ -9274,7 +9274,7 @@ function Pe(t, n) {
|
|
|
9274
9274
|
for (const u of Object.keys(n)) {
|
|
9275
9275
|
var e = [];
|
|
9276
9276
|
try {
|
|
9277
|
-
const p =
|
|
9277
|
+
const p = Ne(e, Le(t, n[u]));
|
|
9278
9278
|
t.setProp(l, u, p);
|
|
9279
9279
|
} catch (o) {
|
|
9280
9280
|
var i = o, r = !0;
|
|
@@ -9297,16 +9297,16 @@ function hc(t) {
|
|
|
9297
9297
|
n.newFunction("__triggerEventV1__", (e, o, ...i) => {
|
|
9298
9298
|
const r = n.getString(e), l = n.getString(o), u = i.map((c) => n.dump(c));
|
|
9299
9299
|
t.callFunctionAsync("__triggerEventInner__", r, l, ...u);
|
|
9300
|
-
const { kind: p, nodeId: d, eventKey:
|
|
9300
|
+
const { kind: p, nodeId: d, eventKey: f } = pc(r);
|
|
9301
9301
|
if (p === "customEvent")
|
|
9302
9302
|
t.parent && (t.parent.callFunctionAsync(
|
|
9303
9303
|
"__triggerEventV1__",
|
|
9304
|
-
re("refEvent", t.nodeId,
|
|
9304
|
+
re("refEvent", t.nodeId, f),
|
|
9305
9305
|
"",
|
|
9306
9306
|
...u
|
|
9307
9307
|
), t.parent.callFunctionAsync(
|
|
9308
9308
|
"__triggerEventV1__",
|
|
9309
|
-
re("multipleRefEvent", t.nodeId,
|
|
9309
|
+
re("multipleRefEvent", t.nodeId, f),
|
|
9310
9310
|
t.instance,
|
|
9311
9311
|
...u
|
|
9312
9312
|
));
|
|
@@ -9314,7 +9314,7 @@ function hc(t) {
|
|
|
9314
9314
|
const c = t.children[d];
|
|
9315
9315
|
c && c.callFunctionAsync(
|
|
9316
9316
|
"__triggerEventV1__",
|
|
9317
|
-
re("adaptSlotCustomEvent", "globality",
|
|
9317
|
+
re("adaptSlotCustomEvent", "globality", f),
|
|
9318
9318
|
"",
|
|
9319
9319
|
...u
|
|
9320
9320
|
);
|
|
@@ -9322,100 +9322,123 @@ function hc(t) {
|
|
|
9322
9322
|
const c = t.children[d];
|
|
9323
9323
|
c && c.callFunctionAsync(
|
|
9324
9324
|
"__triggerEventV1__",
|
|
9325
|
-
re("adaptSlotCustomEvent", "globality",
|
|
9325
|
+
re("adaptSlotCustomEvent", "globality", f),
|
|
9326
9326
|
"",
|
|
9327
9327
|
...u
|
|
9328
9328
|
);
|
|
9329
9329
|
}
|
|
9330
9330
|
}).consume((e) => n.setProp(n.global, "__triggerEventV1__", e)), n.newFunction("__getPropertyV1__", (e, o) => {
|
|
9331
|
-
const i = n.getString(e), r = n.getString(o), {
|
|
9332
|
-
|
|
9333
|
-
|
|
9334
|
-
|
|
9335
|
-
|
|
9336
|
-
|
|
9337
|
-
|
|
9338
|
-
|
|
9339
|
-
|
|
9340
|
-
|
|
9341
|
-
|
|
9342
|
-
|
|
9343
|
-
|
|
9344
|
-
|
|
9345
|
-
|
|
9346
|
-
|
|
9347
|
-
|
|
9348
|
-
|
|
9331
|
+
const i = n.getString(e), r = n.getString(o), { promise: l, resolve: u, reject: p } = t.promiseManager.create(), { kind: d, nodeId: f, propertyKey: c } = Vi(i);
|
|
9332
|
+
if (d === "elementProperty")
|
|
9333
|
+
t.getElementProperty(f, c.split(".")).then(
|
|
9334
|
+
(m) => u(m),
|
|
9335
|
+
(m) => p(m)
|
|
9336
|
+
);
|
|
9337
|
+
else if (d === "refProperty") {
|
|
9338
|
+
const m = t.children[f];
|
|
9339
|
+
m ? m.getCustomProperty(c).then(
|
|
9340
|
+
(h) => u(h),
|
|
9341
|
+
(h) => p(h)
|
|
9342
|
+
) : p("sandbox not found");
|
|
9343
|
+
} else if (d === "multipleRefProperty") {
|
|
9344
|
+
const m = t.children[`${f}/${r}`];
|
|
9345
|
+
m ? m.getCustomProperty(c).then(
|
|
9346
|
+
(h) => u(h),
|
|
9347
|
+
(h) => p(h)
|
|
9348
|
+
) : p("sandbox not found");
|
|
9349
|
+
} else if (d === "customSlotProperty") {
|
|
9350
|
+
const m = t.children[f];
|
|
9351
|
+
m ? m.getCustomSlotProperty(c).then(
|
|
9352
|
+
(h) => u(h),
|
|
9353
|
+
(h) => p(h)
|
|
9354
|
+
) : p("sandbox not found");
|
|
9355
|
+
} else if (d === "multipleCustomSlotProperty") {
|
|
9356
|
+
const m = t.children[`${f}/${r}`];
|
|
9357
|
+
m ? m.getCustomSlotProperty(c).then(
|
|
9358
|
+
(h) => u(h),
|
|
9359
|
+
(h) => p(h)
|
|
9360
|
+
) : p("sandbox not found");
|
|
9361
|
+
} else d === "customProperty" ? t.getCustomProperty(c).then(
|
|
9362
|
+
(m) => u(m),
|
|
9363
|
+
(m) => p(m)
|
|
9364
|
+
) : d === "adaptSlotElementProperty" ? t.parent ? t.parent.getElementSlotProperty(c).then(
|
|
9365
|
+
(m) => u(m),
|
|
9366
|
+
(m) => p(m)
|
|
9367
|
+
) : p("not in slot") : d === "adaptSlotCustomProperty" ? t.parent ? t.parent.getCustomSlotProperty(c).then(
|
|
9368
|
+
(m) => u(m),
|
|
9369
|
+
(m) => p(m)
|
|
9370
|
+
) : p("not in slot") : console.assert(!1);
|
|
9371
|
+
return l.settled.then(n.runtime.executePendingJobs), l.handle;
|
|
9349
9372
|
}).consume((e) => n.setProp(n.global, "__getPropertyV1__", e)), n.newFunction("__setPropertyV1__", (e, o, i) => {
|
|
9350
|
-
const r = n.getString(e), l = n.dump(o), u = n.getString(i), { promise: p, resolve: d, reject:
|
|
9373
|
+
const r = n.getString(e), l = n.dump(o), u = n.getString(i), { promise: p, resolve: d, reject: f } = t.promiseManager.create(), { kind: c, nodeId: m, propertyKey: h } = Vi(r);
|
|
9351
9374
|
if (c === "elementProperty")
|
|
9352
|
-
t.setElementProperty(
|
|
9375
|
+
t.setElementProperty(m, h.split("."), l).then(
|
|
9353
9376
|
(y) => d(y),
|
|
9354
|
-
(y) =>
|
|
9377
|
+
(y) => f(y)
|
|
9355
9378
|
);
|
|
9356
9379
|
else if (c === "refProperty") {
|
|
9357
|
-
const y = t.children[
|
|
9380
|
+
const y = t.children[m];
|
|
9358
9381
|
y ? y.setCustomProperty(h, l).then(
|
|
9359
9382
|
(g) => d(g),
|
|
9360
|
-
(g) =>
|
|
9361
|
-
) :
|
|
9383
|
+
(g) => f(g)
|
|
9384
|
+
) : f("sandbox not found");
|
|
9362
9385
|
} else if (c === "multipleRefProperty") {
|
|
9363
|
-
const y = t.children[`${
|
|
9386
|
+
const y = t.children[`${m}/${u}`];
|
|
9364
9387
|
y ? y.setCustomProperty(h, l).then(
|
|
9365
9388
|
(g) => d(g),
|
|
9366
|
-
(g) =>
|
|
9367
|
-
) :
|
|
9389
|
+
(g) => f(g)
|
|
9390
|
+
) : f("sandbox not found");
|
|
9368
9391
|
} else if (c === "customSlotProperty") {
|
|
9369
|
-
const y = t.children[
|
|
9392
|
+
const y = t.children[m];
|
|
9370
9393
|
y ? y.setCustomSlotProperty(h, l).then(
|
|
9371
9394
|
(g) => d(g),
|
|
9372
|
-
(g) =>
|
|
9373
|
-
) :
|
|
9395
|
+
(g) => f(g)
|
|
9396
|
+
) : f("sandbox not found");
|
|
9374
9397
|
} else if (c === "multipleCustomSlotProperty") {
|
|
9375
|
-
const y = t.children[`${
|
|
9398
|
+
const y = t.children[`${m}/${u}`];
|
|
9376
9399
|
y ? y.setCustomSlotProperty(h, l).then(
|
|
9377
9400
|
(g) => d(g),
|
|
9378
|
-
(g) =>
|
|
9379
|
-
) :
|
|
9401
|
+
(g) => f(g)
|
|
9402
|
+
) : f("sandbox not found");
|
|
9380
9403
|
} else c === "customProperty" ? t.setCustomProperty(h, l).then(
|
|
9381
9404
|
(y) => d(y),
|
|
9382
|
-
(y) =>
|
|
9405
|
+
(y) => f(y)
|
|
9383
9406
|
) : c === "adaptSlotElementProperty" ? t.parent ? t.parent.setElementSlotProperty(h, l).then(
|
|
9384
9407
|
(y) => d(y),
|
|
9385
|
-
(y) =>
|
|
9386
|
-
) :
|
|
9408
|
+
(y) => f(y)
|
|
9409
|
+
) : f("not in slot") : c === "adaptSlotCustomProperty" ? t.parent ? t.parent.setCustomSlotProperty(h, l).then(
|
|
9387
9410
|
(y) => d(y),
|
|
9388
|
-
(y) =>
|
|
9389
|
-
) :
|
|
9411
|
+
(y) => f(y)
|
|
9412
|
+
) : f("not in slot") : console.assert(!1);
|
|
9390
9413
|
return p.settled.then(n.runtime.executePendingJobs), p.handle;
|
|
9391
9414
|
}).consume((e) => n.setProp(n.global, "__setPropertyV1__", e)), n.newFunction("__callMethodV1__", (e, o, i) => {
|
|
9392
|
-
const r = n.getString(e), l = n.getString(o), u = n.dump(i), { promise: p, resolve: d, reject:
|
|
9415
|
+
const r = n.getString(e), l = n.getString(o), u = n.dump(i), { promise: p, resolve: d, reject: f } = t.promiseManager.create(), { kind: c, nodeId: m, methodKey: h } = cc(r);
|
|
9393
9416
|
if (c === "elementMethod")
|
|
9394
9417
|
t.callElementMethod(r, h, u).then(
|
|
9395
9418
|
(y) => d(y),
|
|
9396
|
-
(y) =>
|
|
9419
|
+
(y) => f(y)
|
|
9397
9420
|
);
|
|
9398
9421
|
else if (c === "refMethod") {
|
|
9399
|
-
const y = t.children[
|
|
9422
|
+
const y = t.children[m];
|
|
9400
9423
|
y ? y.callFunctionAsync(
|
|
9401
9424
|
pt("customMethod", "globality", h),
|
|
9402
9425
|
l,
|
|
9403
9426
|
u
|
|
9404
9427
|
).then(
|
|
9405
9428
|
(g) => d(g),
|
|
9406
|
-
(g) =>
|
|
9407
|
-
) :
|
|
9429
|
+
(g) => f(g)
|
|
9430
|
+
) : f("sandbox not found");
|
|
9408
9431
|
} else if (c === "multipleRefMethod") {
|
|
9409
|
-
const y = t.children[`${
|
|
9432
|
+
const y = t.children[`${m}/${l}`];
|
|
9410
9433
|
y ? y.callFunctionAsync(
|
|
9411
9434
|
pt("customMethod", "globality", h),
|
|
9412
9435
|
l,
|
|
9413
9436
|
u
|
|
9414
9437
|
).then(
|
|
9415
9438
|
(g) => d(g),
|
|
9416
|
-
(g) =>
|
|
9417
|
-
) :
|
|
9418
|
-
} else c === "customSlotMethod" || c === "multipleCustomSlotMethod" || c === "customMethod" ? console.assert(!1, "no need to implement") : c === "adaptSlotElementMethod" ? t.parent ||
|
|
9439
|
+
(g) => f(g)
|
|
9440
|
+
) : f("sandbox not found");
|
|
9441
|
+
} else c === "customSlotMethod" || c === "multipleCustomSlotMethod" || c === "customMethod" ? console.assert(!1, "no need to implement") : c === "adaptSlotElementMethod" ? t.parent || f("not in slot") : c === "adaptSlotCustomMethod" ? t.parent ? t.kind === "customSlot" ? t.parent.callFunctionAsync(
|
|
9419
9442
|
pt(
|
|
9420
9443
|
"customSlotMethod",
|
|
9421
9444
|
t.nodeId,
|
|
@@ -9425,7 +9448,7 @@ function hc(t) {
|
|
|
9425
9448
|
u
|
|
9426
9449
|
).then(
|
|
9427
9450
|
(y) => d(y),
|
|
9428
|
-
(y) =>
|
|
9451
|
+
(y) => f(y)
|
|
9429
9452
|
) : t.kind === "multipleCustomSlot" && t.parent.callFunctionAsync(
|
|
9430
9453
|
pt(
|
|
9431
9454
|
"multipleCustomSlotMethod",
|
|
@@ -9436,12 +9459,12 @@ function hc(t) {
|
|
|
9436
9459
|
u
|
|
9437
9460
|
).then(
|
|
9438
9461
|
(y) => d(y),
|
|
9439
|
-
(y) =>
|
|
9440
|
-
) :
|
|
9462
|
+
(y) => f(y)
|
|
9463
|
+
) : f("not in slot") : console.assert(!1, `not implemented kind=${c}`);
|
|
9441
9464
|
return p.settled.then(n.runtime.executePendingJobs), p.handle;
|
|
9442
9465
|
}).consume((e) => n.setProp(n.global, "__callMethodV1__", e)), n.newFunction("__getStateV1__", (e) => {
|
|
9443
9466
|
const o = n.getString(e), i = t.getState(o);
|
|
9444
|
-
return
|
|
9467
|
+
return Le(n, i);
|
|
9445
9468
|
}).consume((e) => n.setProp(n.global, "__getStateV1__", e)), n.newFunction("__setStateV1__", (e, o) => {
|
|
9446
9469
|
const i = n.getString(e), r = n.dump(o);
|
|
9447
9470
|
t.setState(i, r);
|
|
@@ -9466,8 +9489,8 @@ function hc(t) {
|
|
|
9466
9489
|
}), l.settled.then(n.runtime.executePendingJobs), l.handle;
|
|
9467
9490
|
}).consume((e) => n.setProp(n.global, "__openConfirmDlgV1__", e)), n.newFunction("__openPromptDlgV1__", (e, o, i) => {
|
|
9468
9491
|
const r = n.getString(e), l = n.getString(o), u = n.dump(i), { promise: p, resolve: d } = t.promiseManager.create();
|
|
9469
|
-
return xo({ title: r, label: l, value: u }).then((
|
|
9470
|
-
t.vm && d(
|
|
9492
|
+
return xo({ title: r, label: l, value: u }).then((f) => {
|
|
9493
|
+
t.vm && d(f === void 0 ? void 0 : f);
|
|
9471
9494
|
}), p.settled.then(n.runtime.executePendingJobs), p.handle;
|
|
9472
9495
|
}).consume((e) => n.setProp(n.global, "__openPromptDlgV1__", e));
|
|
9473
9496
|
}
|
|
@@ -9567,14 +9590,14 @@ class _c {
|
|
|
9567
9590
|
}
|
|
9568
9591
|
// 未响应的promise,需要手动回收
|
|
9569
9592
|
dispose() {
|
|
9570
|
-
Object.values(this.promises).forEach((n) => n.dispose());
|
|
9593
|
+
Object.values(this.promises).forEach((n) => n.dispose()), this.vm = void 0;
|
|
9571
9594
|
}
|
|
9572
9595
|
create() {
|
|
9573
9596
|
const n = this.currPromiseId++, e = this.vm.newPromise();
|
|
9574
9597
|
return this.promises[n] = e, { promise: e, resolve: (r) => {
|
|
9575
|
-
this.vm && (
|
|
9598
|
+
this.vm && (Le(this.vm, r).consume((l) => e.resolve(l)), delete this.promises[n]);
|
|
9576
9599
|
}, reject: (r) => {
|
|
9577
|
-
this.vm && (
|
|
9600
|
+
this.vm && (Le(this.vm, r).consume((l) => e.reject(l)), delete this.promises[n]);
|
|
9578
9601
|
} };
|
|
9579
9602
|
}
|
|
9580
9603
|
}
|
|
@@ -9592,7 +9615,7 @@ class xc {
|
|
|
9592
9615
|
mode;
|
|
9593
9616
|
type;
|
|
9594
9617
|
// 沙盒内事件总线
|
|
9595
|
-
eventBus =
|
|
9618
|
+
eventBus = Fo();
|
|
9596
9619
|
// 钩子
|
|
9597
9620
|
hooks;
|
|
9598
9621
|
constructor(n, e, o, i, r, l, u, p, d) {
|
|
@@ -9632,7 +9655,7 @@ class xc {
|
|
|
9632
9655
|
const { vm: o } = this;
|
|
9633
9656
|
if (!o)
|
|
9634
9657
|
throw new Error("Sandbox/setGlobalVariable vm not available");
|
|
9635
|
-
o.setProp(o.global, n,
|
|
9658
|
+
o.setProp(o.global, n, Le(o, e));
|
|
9636
9659
|
}
|
|
9637
9660
|
getGlobalVariable(n) {
|
|
9638
9661
|
const { vm: e } = this;
|
|
@@ -9645,22 +9668,20 @@ class xc {
|
|
|
9645
9668
|
try {
|
|
9646
9669
|
const { vm: o } = this;
|
|
9647
9670
|
if (!o)
|
|
9648
|
-
throw new Error("
|
|
9649
|
-
const i = `${n}(${e.map((
|
|
9671
|
+
throw new Error("vm not available");
|
|
9672
|
+
const i = `${n}(${e.map((m) => JSON.stringify(m)).join(", ")})`;
|
|
9650
9673
|
Ei.includes(n) || this.debugTrace(`${i}`);
|
|
9651
|
-
const r =
|
|
9652
|
-
if (!r)
|
|
9653
|
-
|
|
9654
|
-
|
|
9655
|
-
|
|
9656
|
-
|
|
9657
|
-
const u = o.unwrapResult(o.callFunction(r, o.undefined, ...l)).consume((f) => o.dump(f));
|
|
9658
|
-
l.forEach((f) => f.dispose());
|
|
9674
|
+
const r = Ne(p, o.getProp(o.global, n));
|
|
9675
|
+
if (!r)
|
|
9676
|
+
throw new Error(`function<${n}> not available`);
|
|
9677
|
+
const l = e.map((m) => Le(o, m));
|
|
9678
|
+
const u = o.unwrapResult(o.callFunction(r, o.undefined, ...l)).consume((m) => o.dump(m));
|
|
9679
|
+
l.forEach((m) => m.dispose());
|
|
9659
9680
|
return u;
|
|
9660
9681
|
} catch (d) {
|
|
9661
|
-
var
|
|
9682
|
+
var f = d, c = !0;
|
|
9662
9683
|
} finally {
|
|
9663
|
-
He(p,
|
|
9684
|
+
He(p, f, c);
|
|
9664
9685
|
}
|
|
9665
9686
|
}
|
|
9666
9687
|
async callFunctionAsync(n, ...e) {
|
|
@@ -9668,24 +9689,22 @@ class xc {
|
|
|
9668
9689
|
try {
|
|
9669
9690
|
const { vm: o } = this;
|
|
9670
9691
|
if (!o)
|
|
9671
|
-
throw new Error("
|
|
9692
|
+
throw new Error("vm not available");
|
|
9672
9693
|
const i = `${n}(${e.map((h) => JSON.stringify(h)).join(", ")})`;
|
|
9673
9694
|
Ei.includes(n) || this.debugTrace(`${i}`);
|
|
9674
|
-
const r =
|
|
9675
|
-
if (!r)
|
|
9676
|
-
|
|
9677
|
-
|
|
9678
|
-
}
|
|
9679
|
-
const l = e.map((h) => Pe(o, h));
|
|
9695
|
+
const r = Ne(d, o.getProp(o.global, n));
|
|
9696
|
+
if (!r)
|
|
9697
|
+
throw new Error(`function<${n}> not available`);
|
|
9698
|
+
const l = e.map((h) => Le(o, h));
|
|
9680
9699
|
const u = o.unwrapResult(o.callFunction(r, o.undefined, ...l)).consume((h) => o.resolvePromise(h));
|
|
9681
9700
|
o.runtime.executePendingJobs();
|
|
9682
9701
|
l.map((h) => h.dispose());
|
|
9683
9702
|
const p = o.unwrapResult(await u).consume((h) => o.dump(h));
|
|
9684
9703
|
return p;
|
|
9685
|
-
} catch (
|
|
9686
|
-
var c =
|
|
9704
|
+
} catch (f) {
|
|
9705
|
+
var c = f, m = !0;
|
|
9687
9706
|
} finally {
|
|
9688
|
-
He(d, c,
|
|
9707
|
+
He(d, c, m);
|
|
9689
9708
|
}
|
|
9690
9709
|
}
|
|
9691
9710
|
//--------------------------
|
|
@@ -9695,17 +9714,15 @@ class xc {
|
|
|
9695
9714
|
associateData(n) {
|
|
9696
9715
|
this.data.value = n.value;
|
|
9697
9716
|
}
|
|
9698
|
-
getElementProperty(n, e) {
|
|
9717
|
+
async getElementProperty(n, e) {
|
|
9699
9718
|
const o = this.data.value?.view.nodes[n];
|
|
9700
|
-
if (!o)
|
|
9701
|
-
console.warn(
|
|
9719
|
+
if (!o)
|
|
9720
|
+
throw console.warn(
|
|
9702
9721
|
"Sandbox/getElementProperty node not found",
|
|
9703
9722
|
n,
|
|
9704
9723
|
e
|
|
9705
|
-
);
|
|
9706
|
-
|
|
9707
|
-
}
|
|
9708
|
-
return Le(o, e);
|
|
9724
|
+
), new Error("node not found");
|
|
9725
|
+
return ze(o, e);
|
|
9709
9726
|
}
|
|
9710
9727
|
async setElementProperty(n, e, o) {
|
|
9711
9728
|
const i = this.data.value?.view.nodes[n];
|
|
@@ -9716,7 +9733,7 @@ class xc {
|
|
|
9716
9733
|
e,
|
|
9717
9734
|
o
|
|
9718
9735
|
), new Error("node not found");
|
|
9719
|
-
const r =
|
|
9736
|
+
const r = ze(i, e);
|
|
9720
9737
|
ye(o, r) || (yn(i, e, o), this.hooks.onElementPropertyChange(
|
|
9721
9738
|
i.basic.id,
|
|
9722
9739
|
e,
|
|
@@ -9727,7 +9744,7 @@ class xc {
|
|
|
9727
9744
|
//--------------------------
|
|
9728
9745
|
// 元素插槽属性
|
|
9729
9746
|
//--------------------------
|
|
9730
|
-
getElementSlotProperty(n) {
|
|
9747
|
+
async getElementSlotProperty(n) {
|
|
9731
9748
|
const { slotKey: e, propertyKey: o } = Pi(n), i = { value: void 0 };
|
|
9732
9749
|
return this.eventBus.emit(
|
|
9733
9750
|
un(
|
|
@@ -9756,7 +9773,7 @@ class xc {
|
|
|
9756
9773
|
resetCustomProperties() {
|
|
9757
9774
|
this.customProperties = {};
|
|
9758
9775
|
}
|
|
9759
|
-
getCustomProperty(n) {
|
|
9776
|
+
async getCustomProperty(n) {
|
|
9760
9777
|
return this.customProperties[n];
|
|
9761
9778
|
}
|
|
9762
9779
|
async setCustomProperty(n, e) {
|
|
@@ -9770,7 +9787,7 @@ class xc {
|
|
|
9770
9787
|
resetCustomSlotProperties() {
|
|
9771
9788
|
this.customSlotProperties = {};
|
|
9772
9789
|
}
|
|
9773
|
-
getCustomSlotProperty(n) {
|
|
9790
|
+
async getCustomSlotProperty(n) {
|
|
9774
9791
|
return this.customSlotProperties[n];
|
|
9775
9792
|
}
|
|
9776
9793
|
async setCustomSlotProperty(n, e) {
|
|
@@ -9805,10 +9822,10 @@ class xc {
|
|
|
9805
9822
|
}
|
|
9806
9823
|
}
|
|
9807
9824
|
function Ce(t, n, e, o, i) {
|
|
9808
|
-
const r = oc(), l = sc(), u = ie(), p =
|
|
9809
|
-
if (!
|
|
9825
|
+
const r = oc(), l = sc(), u = ie(), p = Ee(), d = je(), f = it(), c = lc();
|
|
9826
|
+
if (!No(u))
|
|
9810
9827
|
return;
|
|
9811
|
-
const
|
|
9828
|
+
const m = new xc(
|
|
9812
9829
|
n,
|
|
9813
9830
|
e,
|
|
9814
9831
|
o,
|
|
@@ -9825,21 +9842,21 @@ function Ce(t, n, e, o, i) {
|
|
|
9825
9842
|
onStateChange: w
|
|
9826
9843
|
}
|
|
9827
9844
|
);
|
|
9828
|
-
ac(
|
|
9829
|
-
|
|
9845
|
+
ac(m), we(() => {
|
|
9846
|
+
m.dispose();
|
|
9830
9847
|
});
|
|
9831
9848
|
const h = async () => {
|
|
9832
|
-
|
|
9849
|
+
m.destroyVm(), m.associateData(t), m.resetCustomProperties(), m.resetCustomSlotProperties(), m.resetStates(), !(!t.value || !t.value.code.script) && await m.createVm(c, t.value.code.script);
|
|
9833
9850
|
};
|
|
9834
9851
|
h(), ue(t, () => {
|
|
9835
9852
|
h();
|
|
9836
9853
|
}), ue(
|
|
9837
9854
|
d,
|
|
9838
9855
|
async (v, V) => {
|
|
9839
|
-
if (!
|
|
9856
|
+
if (!m.vm)
|
|
9840
9857
|
return;
|
|
9841
9858
|
const z = ft(v.width), H = ft(V?.width ?? v.width);
|
|
9842
|
-
await
|
|
9859
|
+
await m.callFunctionAsync(
|
|
9843
9860
|
"__triggerEventV1__",
|
|
9844
9861
|
re("elementEvent", "globality", "screenSizeChange"),
|
|
9845
9862
|
"",
|
|
@@ -9849,9 +9866,9 @@ function Ce(t, n, e, o, i) {
|
|
|
9849
9866
|
},
|
|
9850
9867
|
{ immediate: !0 }
|
|
9851
9868
|
), ue(
|
|
9852
|
-
|
|
9869
|
+
f,
|
|
9853
9870
|
async (v) => {
|
|
9854
|
-
|
|
9871
|
+
m.vm && await m.callFunctionAsync(
|
|
9855
9872
|
"__triggerEventV1__",
|
|
9856
9873
|
re("elementEvent", "globality", "darkModeChange"),
|
|
9857
9874
|
"",
|
|
@@ -9861,20 +9878,20 @@ function Ce(t, n, e, o, i) {
|
|
|
9861
9878
|
{ immediate: !0 }
|
|
9862
9879
|
);
|
|
9863
9880
|
async function y(v, V, z, H) {
|
|
9864
|
-
if (
|
|
9881
|
+
if (m.vm) {
|
|
9865
9882
|
if (ye(V, ["settings", "slot"])) {
|
|
9866
9883
|
const O = t.value?.view.nodeLites.find(
|
|
9867
|
-
(
|
|
9884
|
+
(j) => j.id === v
|
|
9868
9885
|
);
|
|
9869
9886
|
O ? O.slotId = z : console.assert(!1);
|
|
9870
9887
|
}
|
|
9871
9888
|
if (ye(V, ["settings", "comp"])) {
|
|
9872
9889
|
const O = t.value?.view.nodeLites.find(
|
|
9873
|
-
(
|
|
9890
|
+
(j) => j.id === v
|
|
9874
9891
|
);
|
|
9875
9892
|
O ? O.compId = z : console.assert(!1);
|
|
9876
9893
|
}
|
|
9877
|
-
if (await
|
|
9894
|
+
if (await m.callFunctionAsync(
|
|
9878
9895
|
"__triggerEventV1__",
|
|
9879
9896
|
re("elementPropertyChangeEvent", v, V.join(".")),
|
|
9880
9897
|
"",
|
|
@@ -9883,7 +9900,7 @@ function Ce(t, n, e, o, i) {
|
|
|
9883
9900
|
), t.value?.code.reactivity) {
|
|
9884
9901
|
let O = "";
|
|
9885
9902
|
V instanceof Array ? O = V.join(".") : O = V, dt(
|
|
9886
|
-
|
|
9903
|
+
m,
|
|
9887
9904
|
t.value.code.reactivity,
|
|
9888
9905
|
Je({
|
|
9889
9906
|
type: "elementProperty",
|
|
@@ -9897,7 +9914,7 @@ function Ce(t, n, e, o, i) {
|
|
|
9897
9914
|
}
|
|
9898
9915
|
}
|
|
9899
9916
|
async function g(v, V, z, H, O) {
|
|
9900
|
-
|
|
9917
|
+
m.vm && console.log(
|
|
9901
9918
|
"onElementSlotPropertyChange",
|
|
9902
9919
|
v,
|
|
9903
9920
|
V,
|
|
@@ -9907,30 +9924,30 @@ function Ce(t, n, e, o, i) {
|
|
|
9907
9924
|
);
|
|
9908
9925
|
}
|
|
9909
9926
|
async function _(v, V, z) {
|
|
9910
|
-
|
|
9927
|
+
m.vm && (await m.callFunctionAsync(
|
|
9911
9928
|
"__triggerEventV1__",
|
|
9912
9929
|
re("customPropertyChangeEvent", "globality", v),
|
|
9913
9930
|
"",
|
|
9914
9931
|
V,
|
|
9915
9932
|
z ?? V
|
|
9916
|
-
), await
|
|
9933
|
+
), await m.parent.callFunctionAsync(
|
|
9917
9934
|
"__triggerEventV1__",
|
|
9918
|
-
re("refPropertyChangeEvent",
|
|
9935
|
+
re("refPropertyChangeEvent", m.nodeId, v),
|
|
9919
9936
|
"",
|
|
9920
9937
|
V,
|
|
9921
9938
|
z ?? V
|
|
9922
|
-
), await
|
|
9939
|
+
), await m.parent.callFunctionAsync(
|
|
9923
9940
|
"__triggerEventV1__",
|
|
9924
9941
|
re(
|
|
9925
9942
|
"multipleRefPropertyChangeEvent",
|
|
9926
|
-
|
|
9943
|
+
m.nodeId,
|
|
9927
9944
|
v
|
|
9928
9945
|
),
|
|
9929
9946
|
"",
|
|
9930
9947
|
V,
|
|
9931
9948
|
z ?? V
|
|
9932
9949
|
), t.value?.code.reactivity && dt(
|
|
9933
|
-
|
|
9950
|
+
m,
|
|
9934
9951
|
t.value.code.reactivity,
|
|
9935
9952
|
Je({ type: "customProperty", propertyId: v }),
|
|
9936
9953
|
V,
|
|
@@ -9938,8 +9955,8 @@ function Ce(t, n, e, o, i) {
|
|
|
9938
9955
|
));
|
|
9939
9956
|
}
|
|
9940
9957
|
async function $(v, V, z) {
|
|
9941
|
-
|
|
9942
|
-
|
|
9958
|
+
m.vm && t.value?.code.reactivity && dt(
|
|
9959
|
+
m,
|
|
9943
9960
|
t.value.code.reactivity,
|
|
9944
9961
|
Je({ type: "customSlotProperty", propertyId: v }),
|
|
9945
9962
|
V,
|
|
@@ -9947,14 +9964,14 @@ function Ce(t, n, e, o, i) {
|
|
|
9947
9964
|
);
|
|
9948
9965
|
}
|
|
9949
9966
|
async function w(v, V, z) {
|
|
9950
|
-
|
|
9967
|
+
m.vm && (await m.callFunctionAsync(
|
|
9951
9968
|
"__triggerEventV1__",
|
|
9952
9969
|
re("stateChangeEvent", "globality", v),
|
|
9953
9970
|
"",
|
|
9954
9971
|
V,
|
|
9955
9972
|
z ?? V
|
|
9956
9973
|
), t.value?.code.reactivity && dt(
|
|
9957
|
-
|
|
9974
|
+
m,
|
|
9958
9975
|
t.value.code.reactivity,
|
|
9959
9976
|
Je({ type: "state", stateId: v }),
|
|
9960
9977
|
V,
|
|
@@ -9981,15 +9998,15 @@ export {
|
|
|
9981
9998
|
$a as badgeV1,
|
|
9982
9999
|
Bt as barChartV1,
|
|
9983
10000
|
Ut as boxGeometryV1,
|
|
9984
|
-
|
|
10001
|
+
Ni as breakpoints,
|
|
9985
10002
|
Ea as btnGroupV1,
|
|
9986
10003
|
za as btnToggleV1,
|
|
9987
10004
|
Wt as btnV1,
|
|
9988
10005
|
ft as calcBreakpoint,
|
|
9989
10006
|
Ye as cardV1,
|
|
9990
10007
|
Aa as checkboxV1,
|
|
9991
|
-
|
|
9992
|
-
|
|
10008
|
+
Ft as chipGroupV1,
|
|
10009
|
+
Kt as chipV1,
|
|
9993
10010
|
Ma as colorPickerV1,
|
|
9994
10011
|
Ba as comboboxV1,
|
|
9995
10012
|
Rc as compMetaStringify,
|
|
@@ -9998,19 +10015,19 @@ export {
|
|
|
9998
10015
|
Ac as dataStringify,
|
|
9999
10016
|
Ra as dataTableV1,
|
|
10000
10017
|
Wa as datePickerV1,
|
|
10001
|
-
|
|
10018
|
+
Ka as dialogV1,
|
|
10002
10019
|
aa as directionalLightV1,
|
|
10003
10020
|
ic as duplicateNodePair,
|
|
10004
10021
|
Gc as duplicateNodePairs,
|
|
10005
|
-
|
|
10006
|
-
|
|
10007
|
-
|
|
10022
|
+
Kc as elementKeys,
|
|
10023
|
+
Pe as elements,
|
|
10024
|
+
jc as fileInputV1,
|
|
10008
10025
|
Ot as flexLayoutEntryV1,
|
|
10009
10026
|
Ze as flexLayoutV1,
|
|
10010
10027
|
Ht as formV1,
|
|
10011
10028
|
A as genId,
|
|
10012
10029
|
Ge as getBreakpointProp,
|
|
10013
|
-
|
|
10030
|
+
ze as getField,
|
|
10014
10031
|
pt as getImplementMethodName,
|
|
10015
10032
|
zn as getIndexOfBreakpoint,
|
|
10016
10033
|
Hc as getNodeLite,
|
|
@@ -10026,7 +10043,7 @@ export {
|
|
|
10026
10043
|
it as injectDark,
|
|
10027
10044
|
ae as injectData,
|
|
10028
10045
|
rc as injectDepends,
|
|
10029
|
-
|
|
10046
|
+
je as injectDevice,
|
|
10030
10047
|
sc as injectEnv,
|
|
10031
10048
|
Ie as injectId,
|
|
10032
10049
|
ie as injectMode,
|
|
@@ -10034,9 +10051,9 @@ export {
|
|
|
10034
10051
|
oc as injectOrg,
|
|
10035
10052
|
lc as injectRuntime,
|
|
10036
10053
|
oe as injectSandbox,
|
|
10037
|
-
|
|
10054
|
+
Ee as injectType,
|
|
10038
10055
|
tt as isCircularReference,
|
|
10039
|
-
|
|
10056
|
+
No as isExecutableMode,
|
|
10040
10057
|
Jo as isLocaleOfEventKind,
|
|
10041
10058
|
Go as isLocaleOfMethodKind,
|
|
10042
10059
|
Ho as isLocaleOfPropertyKind,
|
|
@@ -10096,12 +10113,12 @@ export {
|
|
|
10096
10113
|
ba as referenceV1,
|
|
10097
10114
|
C as regElement,
|
|
10098
10115
|
ha as renderSwitchV1,
|
|
10099
|
-
|
|
10116
|
+
jo as reverseBreakpoints,
|
|
10100
10117
|
eu as selectV1,
|
|
10101
10118
|
yn as setField,
|
|
10102
10119
|
tu as sliderV1,
|
|
10103
10120
|
ga as slotV1,
|
|
10104
|
-
|
|
10121
|
+
Nc as spawnNode,
|
|
10105
10122
|
Mt as sphereGeometryV1,
|
|
10106
10123
|
ca as spotLightV1,
|
|
10107
10124
|
Xt as stepperHeaderV1,
|
|
@@ -10112,7 +10129,7 @@ export {
|
|
|
10112
10129
|
ru as switchV1,
|
|
10113
10130
|
tn as tabV1,
|
|
10114
10131
|
nn as tabsV1,
|
|
10115
|
-
|
|
10132
|
+
Nt as textFieldV1,
|
|
10116
10133
|
Ae as textV1,
|
|
10117
10134
|
on as textareaV1,
|
|
10118
10135
|
sn as timelineItemV1,
|
|
@@ -10120,7 +10137,7 @@ export {
|
|
|
10120
10137
|
Oc as toEventName,
|
|
10121
10138
|
Dc as toMethodName,
|
|
10122
10139
|
U as toNodeLite,
|
|
10123
|
-
|
|
10140
|
+
Fc as toPropertyName,
|
|
10124
10141
|
dt as triggerReactivity,
|
|
10125
10142
|
pc as unwrapEventId,
|
|
10126
10143
|
dd as unwrapEventKeyOfCustomSlot,
|