x-runtime-lib 0.8.155 → 0.8.157
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js
CHANGED
|
@@ -29,10 +29,10 @@ var Fe = (t, n, e) => {
|
|
|
29
29
|
};
|
|
30
30
|
return i();
|
|
31
31
|
};
|
|
32
|
-
import { defineComponent as S, createElementBlock as te, createCommentVNode as re, unref as r, openBlock as w, createElementVNode as We, computed as I, renderSlot as O, normalizeStyle as
|
|
33
|
-
import { globalObjects as
|
|
32
|
+
import { defineComponent as S, createElementBlock as te, createCommentVNode as re, unref as r, openBlock as w, createElementVNode as We, computed as I, renderSlot as O, normalizeStyle as de, ref as se, watch as pe, onUnmounted as Ie, onBeforeMount as oi, watchEffect as xe, createVNode as D, createBlock as C, useTemplateRef as Io, onMounted as So, nextTick as sn, withCtx as V, resolveComponent as R, isRef as ne, h as K, createSlots as rn, renderList as ii, useId as $o, withModifiers as si, normalizeClass as ri, toDisplayString as Co, useAttrs as gt, inject as fe, provide as ye, readonly as ln } from "vue";
|
|
33
|
+
import { globalObjects as he, waitUtil as Vo, useViewStack as Po, eventBus as Lo, messageInfo as li, messageSuccess as ai, messageWarning as zo, messageError as To, createAxios as ci, openConfirmDlg as ui, openPromptDlg as mi } from "x-essential-lib";
|
|
34
34
|
import { CameraHelper as Eo, DirectionalLightHelper as pi, PointLightHelper as di, SpotLightHelper as fi } from "three";
|
|
35
|
-
import { i as
|
|
35
|
+
import { i as me, c as qe, K as yi, M as bi, O as gi, u as hi, r as Ao, e as Mo, a as _i, b as vi, d as xi, f as ki, g as wi, h as Ii, j as Si, k as $i, l as Wo, m as F, H as Ci, n as Vi, o as Pi, p as Li, q as zi } from "./vendor.m8tdmh16.js";
|
|
36
36
|
import { useTheme as Ti } from "vuetify";
|
|
37
37
|
import { getErrorMessage as Ei } from "x-error-lib";
|
|
38
38
|
const In = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
|
|
@@ -70,12 +70,12 @@ function It(t) {
|
|
|
70
70
|
if (!isNaN(e))
|
|
71
71
|
return e;
|
|
72
72
|
}
|
|
73
|
-
const
|
|
73
|
+
const Ro = ["xs", "sm", "md", "lg", "xl"], Ai = [...Ro].reverse();
|
|
74
74
|
function mt(t) {
|
|
75
75
|
return t < 600 ? "xs" : t < 960 ? "sm" : t < 1280 ? "md" : t < 1920 ? "lg" : "xl";
|
|
76
76
|
}
|
|
77
77
|
function Sn(t) {
|
|
78
|
-
return
|
|
78
|
+
return Ro.findIndex((n) => n === t);
|
|
79
79
|
}
|
|
80
80
|
function Ne(t, n) {
|
|
81
81
|
let e;
|
|
@@ -126,7 +126,7 @@ function bu(t) {
|
|
|
126
126
|
function Xe(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 ke(t) {
|
|
130
130
|
return t === "runtime" || t === "preview";
|
|
131
131
|
}
|
|
132
132
|
function Ye(t, n) {
|
|
@@ -189,24 +189,24 @@ function hu(t) {
|
|
|
189
189
|
e(o, n.view.nodes[o.id]);
|
|
190
190
|
}), n;
|
|
191
191
|
}
|
|
192
|
-
function
|
|
192
|
+
function Ri(t) {
|
|
193
193
|
switch (t) {
|
|
194
194
|
case "refProperty":
|
|
195
195
|
case "multipleRefProperty":
|
|
196
|
-
case "
|
|
197
|
-
case "
|
|
196
|
+
case "customSlotProperty":
|
|
197
|
+
case "multipleCustomSlotProperty":
|
|
198
198
|
case "customProperty":
|
|
199
199
|
case "adaptSlotCustomProperty":
|
|
200
200
|
return !1;
|
|
201
201
|
}
|
|
202
202
|
return !0;
|
|
203
203
|
}
|
|
204
|
-
function
|
|
204
|
+
function Bi(t) {
|
|
205
205
|
switch (t) {
|
|
206
206
|
case "refMethod":
|
|
207
207
|
case "multipleRefMethod":
|
|
208
|
-
case "
|
|
209
|
-
case "
|
|
208
|
+
case "customSlotMethod":
|
|
209
|
+
case "multipleCustomSlotMethod":
|
|
210
210
|
case "customMethod":
|
|
211
211
|
case "adaptSlotCustomMethod":
|
|
212
212
|
return !1;
|
|
@@ -217,8 +217,8 @@ function Ki(t) {
|
|
|
217
217
|
switch (t) {
|
|
218
218
|
case "refEvent":
|
|
219
219
|
case "multipleRefEvent":
|
|
220
|
-
case "
|
|
221
|
-
case "
|
|
220
|
+
case "customSlotEvent":
|
|
221
|
+
case "multipleCustomSlotEvent":
|
|
222
222
|
case "customEvent":
|
|
223
223
|
case "adaptSlotCustomEvent":
|
|
224
224
|
case "stateChangeEvent":
|
|
@@ -313,10 +313,10 @@ const Iu = [
|
|
|
313
313
|
"scene_spot_light_v1"
|
|
314
314
|
];
|
|
315
315
|
function N(...t) {
|
|
316
|
-
return t.map((n) =>
|
|
316
|
+
return t.map((n) => he.i18n.global.t(`x-runtime-lib.${n}`)).join(" - ");
|
|
317
317
|
}
|
|
318
318
|
function un(t, n, e) {
|
|
319
|
-
const { i18n: o } =
|
|
319
|
+
const { i18n: o } = he;
|
|
320
320
|
let s = "";
|
|
321
321
|
return t && (s += t + " / "), n.forEach((i, l) => {
|
|
322
322
|
l > 0 && (s += " - "), e ? s += o.global.t(i) : s += i;
|
|
@@ -324,17 +324,17 @@ function un(t, n, e) {
|
|
|
324
324
|
}
|
|
325
325
|
function Su(t, n) {
|
|
326
326
|
let e = "";
|
|
327
|
-
return t === "elementProperty" || (t === "refProperty" || t === "multipleRefProperty" ? e = N("reference") : t === "
|
|
327
|
+
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)), un(e, n, Ri(t));
|
|
328
328
|
}
|
|
329
329
|
function $u(t, n) {
|
|
330
330
|
let e = "";
|
|
331
|
-
return t === "elementMethod" || (t === "refMethod" || t === "multipleRefMethod" ? e = N("reference") : t === "
|
|
331
|
+
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)), un(e, n, Bi(t));
|
|
332
332
|
}
|
|
333
333
|
function Cu(t, n) {
|
|
334
334
|
let e = "";
|
|
335
|
-
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 === "
|
|
335
|
+
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)), un(e, n, Ki(t));
|
|
336
336
|
}
|
|
337
|
-
const Di = ["position", "ratation", "scale"],
|
|
337
|
+
const Di = ["position", "ratation", "scale"], Re = /* @__PURE__ */ S({
|
|
338
338
|
__name: "index",
|
|
339
339
|
props: {
|
|
340
340
|
position: { default: () => {
|
|
@@ -379,12 +379,12 @@ const Di = ["position", "ratation", "scale"], Be = /* @__PURE__ */ S({
|
|
|
379
379
|
}));
|
|
380
380
|
return (s, i) => r(n) === "editor" ? (w(), te("div", {
|
|
381
381
|
key: 0,
|
|
382
|
-
style:
|
|
382
|
+
style: de(e.value)
|
|
383
383
|
}, [
|
|
384
384
|
O(s.$slots, "default"),
|
|
385
385
|
t.mask ? (w(), te("div", {
|
|
386
386
|
key: 0,
|
|
387
|
-
style:
|
|
387
|
+
style: de(o.value)
|
|
388
388
|
}, null, 4)) : re("", !0)
|
|
389
389
|
], 4)) : O(s.$slots, "default", { key: 1 });
|
|
390
390
|
}
|
|
@@ -397,7 +397,7 @@ function Fi(t) {
|
|
|
397
397
|
}
|
|
398
398
|
function P(t) {
|
|
399
399
|
const n = le(), e = se(n.value.view.nodes[t.nodeId]);
|
|
400
|
-
console.assert(!!e.value, `invalid node id=${t.nodeId}`),
|
|
400
|
+
console.assert(!!e.value, `invalid node id=${t.nodeId}`), pe(n, () => {
|
|
401
401
|
e.value = n.value.view.nodes[t.nodeId];
|
|
402
402
|
});
|
|
403
403
|
const { debugTrace: o } = Fi(e);
|
|
@@ -406,7 +406,7 @@ function P(t) {
|
|
|
406
406
|
}), { node: e };
|
|
407
407
|
}
|
|
408
408
|
function pt(t, n, e) {
|
|
409
|
-
const o =
|
|
409
|
+
const o = _e();
|
|
410
410
|
if (o) {
|
|
411
411
|
const s = I(() => Uc("elementMethod", t, n));
|
|
412
412
|
oi(() => {
|
|
@@ -430,14 +430,14 @@ const Oi = (t, n, e, o) => {
|
|
|
430
430
|
s ? typeof o == "object" ? i = JSON.stringify(o, null, 2) : (console.assert(!1), i = "{}") : i = o, t ? t.setElementProperty(n.basic.id, e, i) : cn(n, e, i);
|
|
431
431
|
};
|
|
432
432
|
function a(t, n, e) {
|
|
433
|
-
const o =
|
|
434
|
-
return
|
|
433
|
+
const o = _e(), s = se();
|
|
434
|
+
return xe(() => {
|
|
435
435
|
s.value = Oi(o, t.value, n, e);
|
|
436
|
-
}),
|
|
437
|
-
|
|
436
|
+
}), pe(s, (i, l) => {
|
|
437
|
+
me(i, l) || Ni(o, t.value, n, s.value, e);
|
|
438
438
|
}), { property: s };
|
|
439
439
|
}
|
|
440
|
-
function
|
|
440
|
+
function ue(t) {
|
|
441
441
|
const { property: n } = a(t, [
|
|
442
442
|
"transform",
|
|
443
443
|
"position",
|
|
@@ -463,21 +463,21 @@ function me(t) {
|
|
|
463
463
|
"rotation",
|
|
464
464
|
"z"
|
|
465
465
|
]), { property: c } = a(t, ["transform", "scale", "x"]), { property: u } = a(t, ["transform", "scale", "y"]), { property: m } = a(t, ["transform", "scale", "z"]), d = se([0, 0, 0]), p = se([0, 0, 0]), f = se([1, 1, 1]);
|
|
466
|
-
return
|
|
466
|
+
return xe(() => {
|
|
467
467
|
d.value = [n.value, e.value, o.value];
|
|
468
|
-
}),
|
|
468
|
+
}), xe(() => {
|
|
469
469
|
n.value = d.value[0], e.value = d.value[1], o.value = d.value[2];
|
|
470
|
-
}),
|
|
470
|
+
}), xe(() => {
|
|
471
471
|
p.value = [s.value, i.value, l.value];
|
|
472
|
-
}),
|
|
472
|
+
}), xe(() => {
|
|
473
473
|
s.value = p.value[0], i.value = p.value[1], l.value = p.value[2];
|
|
474
|
-
}),
|
|
474
|
+
}), xe(() => {
|
|
475
475
|
f.value = [c.value, u.value, m.value];
|
|
476
|
-
}),
|
|
476
|
+
}), xe(() => {
|
|
477
477
|
c.value = f.value[0], u.value = f.value[1], m.value = f.value[2];
|
|
478
478
|
}), { position: d, rotation: p, scale: f };
|
|
479
479
|
}
|
|
480
|
-
function
|
|
480
|
+
function Bo(t) {
|
|
481
481
|
const n = I(() => t.value.legend?.show), e = I(() => t.value.legend?.data);
|
|
482
482
|
function o(s) {
|
|
483
483
|
s.legend = {
|
|
@@ -563,7 +563,7 @@ function dn(t) {
|
|
|
563
563
|
}
|
|
564
564
|
return { paddingTop: n, paddingLeft: e, paddingBottom: o, paddingRight: s, applyPadding: i };
|
|
565
565
|
}
|
|
566
|
-
function
|
|
566
|
+
function be(t, n) {
|
|
567
567
|
const e = Z(), o = De(), s = I(() => n.value.size?.width), i = I(() => n.value.size?.minWidth), l = I(() => n.value.size?.maxWidth), c = I(() => {
|
|
568
568
|
if (t.outer && e === "editor") {
|
|
569
569
|
const p = It(n.value.size?.height);
|
|
@@ -599,7 +599,7 @@ const ji = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
599
599
|
refContext: {}
|
|
600
600
|
},
|
|
601
601
|
setup(t) {
|
|
602
|
-
const n = t, { node: e } = P(n), o = Z(), { position: s, rotation: i, scale: l } =
|
|
602
|
+
const n = t, { node: e } = P(n), o = Z(), { position: s, rotation: i, scale: l } = ue(e), { property: c } = a(e, ["settings", "bottom"]), { property: u } = a(e, ["settings", "far"]), { property: m } = a(e, ["settings", "left"]), { property: d } = a(e, ["settings", "near"]), { property: p } = a(e, ["settings", "right"]), { property: f } = a(e, ["settings", "top"]);
|
|
603
603
|
return (b, g) => (w(), te("TresOrthographicCamera", {
|
|
604
604
|
bottom: r(c),
|
|
605
605
|
far: r(u),
|
|
@@ -611,7 +611,7 @@ const ji = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
611
611
|
scale: r(l),
|
|
612
612
|
top: r(f)
|
|
613
613
|
}, [
|
|
614
|
-
D(r(
|
|
614
|
+
D(r(Re)),
|
|
615
615
|
r(o) === "editor" ? (w(), C(r(qe), {
|
|
616
616
|
key: 0,
|
|
617
617
|
type: r(Eo)
|
|
@@ -627,7 +627,7 @@ const ji = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
627
627
|
refContext: {}
|
|
628
628
|
},
|
|
629
629
|
setup(t) {
|
|
630
|
-
const n = t, { node: e } = P(n), o = Z(), { position: s, rotation: i, scale: l } =
|
|
630
|
+
const n = t, { node: e } = P(n), o = Z(), { position: s, rotation: i, scale: l } = ue(e), { property: c } = a(e, ["settings", "aspect"]), { property: u } = a(e, ["settings", "far"]), { property: m } = a(e, ["settings", "fov"]), { property: d } = a(e, ["settings", "near"]);
|
|
631
631
|
return (p, f) => (w(), te("TresPerspectiveCamera", {
|
|
632
632
|
aspect: r(c),
|
|
633
633
|
far: r(u),
|
|
@@ -637,7 +637,7 @@ const ji = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
637
637
|
rotation: r(i),
|
|
638
638
|
scale: r(l)
|
|
639
639
|
}, [
|
|
640
|
-
D(r(
|
|
640
|
+
D(r(Re)),
|
|
641
641
|
r(o) === "editor" ? (w(), C(r(qe), {
|
|
642
642
|
key: 0,
|
|
643
643
|
type: r(Eo)
|
|
@@ -692,7 +692,7 @@ const ji = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
692
692
|
]
|
|
693
693
|
}, null, 8, Yi));
|
|
694
694
|
}
|
|
695
|
-
}),
|
|
695
|
+
}), Be = (t, n) => {
|
|
696
696
|
const e = t.__vccOpts || t;
|
|
697
697
|
for (const [o, s] of n)
|
|
698
698
|
e[o] = s;
|
|
@@ -744,7 +744,7 @@ const ji = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
744
744
|
refContext: {}
|
|
745
745
|
},
|
|
746
746
|
setup(t) {
|
|
747
|
-
const n = t, { node: e } = P(n), { position: o, rotation: s, scale: i } =
|
|
747
|
+
const n = t, { node: e } = P(n), { position: o, rotation: s, scale: i } = ue(e), { property: l } = a(e, ["settings", "color"]), { color: c } = Q(l), { property: u } = a(e, [
|
|
748
748
|
"settings",
|
|
749
749
|
"intensity"
|
|
750
750
|
]);
|
|
@@ -755,7 +755,7 @@ const ji = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
755
755
|
rotation: r(s),
|
|
756
756
|
scale: r(i)
|
|
757
757
|
}, [
|
|
758
|
-
D(r(
|
|
758
|
+
D(r(Re)),
|
|
759
759
|
O(m.$slots, "default")
|
|
760
760
|
], 8, ts));
|
|
761
761
|
}
|
|
@@ -767,7 +767,7 @@ const ji = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
767
767
|
refContext: {}
|
|
768
768
|
},
|
|
769
769
|
setup(t) {
|
|
770
|
-
const n = t, { node: e } = P(n), o = Z(), { position: s, rotation: i, scale: l } =
|
|
770
|
+
const n = t, { node: e } = P(n), o = Z(), { position: s, rotation: i, scale: l } = ue(e), { property: c } = a(e, ["settings", "color"]), { color: u } = Q(c), { property: m } = a(e, [
|
|
771
771
|
"settings",
|
|
772
772
|
"intensity"
|
|
773
773
|
]);
|
|
@@ -778,7 +778,7 @@ const ji = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
778
778
|
rotation: r(i),
|
|
779
779
|
scale: r(l)
|
|
780
780
|
}, [
|
|
781
|
-
D(r(
|
|
781
|
+
D(r(Re)),
|
|
782
782
|
r(o) === "editor" ? (w(), C(r(qe), {
|
|
783
783
|
key: 0,
|
|
784
784
|
type: r(pi)
|
|
@@ -794,7 +794,7 @@ const ji = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
794
794
|
refContext: {}
|
|
795
795
|
},
|
|
796
796
|
setup(t) {
|
|
797
|
-
const n = t, { node: e } = P(n), o = Z(), { position: s, rotation: i, scale: l } =
|
|
797
|
+
const n = t, { node: e } = P(n), o = Z(), { position: s, rotation: i, scale: l } = ue(e), { property: c } = a(e, ["settings", "color"]), { color: u } = Q(c), { property: m } = a(e, ["settings", "decay"]), { property: d } = a(e, [
|
|
798
798
|
"settings",
|
|
799
799
|
"distance"
|
|
800
800
|
]), { property: p } = a(e, [
|
|
@@ -810,7 +810,7 @@ const ji = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
810
810
|
rotation: r(i),
|
|
811
811
|
scale: r(l)
|
|
812
812
|
}, [
|
|
813
|
-
D(r(
|
|
813
|
+
D(r(Re)),
|
|
814
814
|
r(o) === "editor" ? (w(), C(r(qe), {
|
|
815
815
|
key: 0,
|
|
816
816
|
type: r(di)
|
|
@@ -826,7 +826,7 @@ const ji = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
826
826
|
refContext: {}
|
|
827
827
|
},
|
|
828
828
|
setup(t) {
|
|
829
|
-
const n = t, { node: e } = P(n), o = Z(), { position: s, rotation: i, scale: l } =
|
|
829
|
+
const n = t, { node: e } = P(n), o = Z(), { position: s, rotation: i, scale: l } = ue(e), { property: c } = a(e, ["settings", "angle"]), { property: u } = a(e, ["settings", "color"]), { color: m } = Q(u), { property: d } = a(e, ["settings", "decay"]), { property: p } = a(e, [
|
|
830
830
|
"settings",
|
|
831
831
|
"distance"
|
|
832
832
|
]), { property: f } = a(e, [
|
|
@@ -847,7 +847,7 @@ const ji = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
847
847
|
rotation: r(o) !== "editor" ? r(i) : [0, 0, 0],
|
|
848
848
|
scale: r(o) !== "editor" ? r(l) : [1, 1, 1]
|
|
849
849
|
}, [
|
|
850
|
-
D(r(
|
|
850
|
+
D(r(Re)),
|
|
851
851
|
r(o) === "editor" ? (w(), C(r(qe), {
|
|
852
852
|
key: 0,
|
|
853
853
|
type: r(fi)
|
|
@@ -859,7 +859,7 @@ const ji = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
859
859
|
function us(t, n) {
|
|
860
860
|
return w(), te("TresMeshBasicMaterial");
|
|
861
861
|
}
|
|
862
|
-
const ms = /* @__PURE__ */
|
|
862
|
+
const ms = /* @__PURE__ */ Be(cs, [["render", us]]), ps = ["position", "rotation", "scale"], ds = /* @__PURE__ */ S({
|
|
863
863
|
__name: "index",
|
|
864
864
|
props: {
|
|
865
865
|
nodeId: {},
|
|
@@ -867,7 +867,7 @@ const ms = /* @__PURE__ */ Re(cs, [["render", us]]), ps = ["position", "rotation
|
|
|
867
867
|
refContext: {}
|
|
868
868
|
},
|
|
869
869
|
setup(t) {
|
|
870
|
-
const n = t, { node: e } = P(n), { position: o, rotation: s, scale: i } =
|
|
870
|
+
const n = t, { node: e } = P(n), { position: o, rotation: s, scale: i } = ue(e);
|
|
871
871
|
return (l, c) => (w(), te("TresGroup", {
|
|
872
872
|
position: r(o),
|
|
873
873
|
rotation: r(s),
|
|
@@ -884,7 +884,7 @@ const ms = /* @__PURE__ */ Re(cs, [["render", us]]), ps = ["position", "rotation
|
|
|
884
884
|
refContext: {}
|
|
885
885
|
},
|
|
886
886
|
setup(t) {
|
|
887
|
-
const n = t, { node: e } = P(n), { position: o, rotation: s, scale: i } =
|
|
887
|
+
const n = t, { node: e } = P(n), { position: o, rotation: s, scale: i } = ue(e);
|
|
888
888
|
return (l, c) => (w(), te("TresMesh", {
|
|
889
889
|
position: r(o),
|
|
890
890
|
rotation: r(s),
|
|
@@ -893,7 +893,7 @@ const ms = /* @__PURE__ */ Re(cs, [["render", us]]), ps = ["position", "rotation
|
|
|
893
893
|
O(l.$slots, "default")
|
|
894
894
|
], 8, fs));
|
|
895
895
|
}
|
|
896
|
-
}), bs = ["#dd6b66", "#759aa0", "#e69d87", "#8dc1a9", "#ea7e53", "#eedd78", "#73a373", "#73b9bc", "#7289ab", "#91ca8c", "#f49f42"], gs = "#242424", hs = {}, _s = { textStyle: { color: "#eeeeee" }, subtextStyle: { color: "#aaaaaa" } }, vs = { itemStyle: { borderWidth: 1 }, lineStyle: { width: 2 }, symbolSize: 4, symbol: "circle", smooth: !1 }, xs = { itemStyle: { borderWidth: 1 }, lineStyle: { width: 2 }, symbolSize: 4, symbol: "circle", smooth: !1 }, ks = { itemStyle: { barBorderWidth: 0, barBorderColor: "#ccc" } }, ws = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Is = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Ss = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, $s = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Cs = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Vs = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Ps = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Ls = { itemStyle: { color: "#fd1050", color0: "#0cf49b", borderColor: "#fd1050", borderColor0: "#0cf49b", borderWidth: 1 } }, zs = { itemStyle: { borderWidth: 0, borderColor: "#ccc" }, lineStyle: { width: 1, color: "#aaa" }, symbolSize: 4, symbol: "circle", smooth: !1, color: ["#dd6b66", "#759aa0", "#e69d87", "#8dc1a9", "#ea7e53", "#eedd78", "#73a373", "#73b9bc", "#7289ab", "#91ca8c", "#f49f42"], label: { color: "#eee" } }, Ts = { itemStyle: { areaColor: "#eee", borderColor: "#444", borderWidth: 0.5 }, label: { color: "#000" }, emphasis: { itemStyle: { areaColor: "rgba(255,215,0,0.8)", borderColor: "#444", borderWidth: 1 }, label: { color: "rgb(100,0,0)" } } }, Es = { 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)" } } }, As = { axisLine: { show: !0, lineStyle: { color: "#eeeeee" } }, axisTick: { show: !0, lineStyle: { color: "#eeeeee" } }, axisLabel: { show: !0, color: "#eeeeee" }, splitLine: { show: !0, lineStyle: { color: ["#aaaaaa"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } }, Ms = { axisLine: { show: !0, lineStyle: { color: "#eeeeee" } }, axisTick: { show: !0, lineStyle: { color: "#eeeeee" } }, axisLabel: { show: !0, color: "#eeeeee" }, splitLine: { show: !0, lineStyle: { color: ["#aaaaaa"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } }, Ws = { axisLine: { show: !0, lineStyle: { color: "#eeeeee" } }, axisTick: { show: !0, lineStyle: { color: "#eeeeee" } }, axisLabel: { show: !0, color: "#eeeeee" }, splitLine: { show: !0, lineStyle: { color: ["#aaaaaa"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } },
|
|
896
|
+
}), bs = ["#dd6b66", "#759aa0", "#e69d87", "#8dc1a9", "#ea7e53", "#eedd78", "#73a373", "#73b9bc", "#7289ab", "#91ca8c", "#f49f42"], gs = "#242424", hs = {}, _s = { textStyle: { color: "#eeeeee" }, subtextStyle: { color: "#aaaaaa" } }, vs = { itemStyle: { borderWidth: 1 }, lineStyle: { width: 2 }, symbolSize: 4, symbol: "circle", smooth: !1 }, xs = { itemStyle: { borderWidth: 1 }, lineStyle: { width: 2 }, symbolSize: 4, symbol: "circle", smooth: !1 }, ks = { itemStyle: { barBorderWidth: 0, barBorderColor: "#ccc" } }, ws = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Is = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Ss = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, $s = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Cs = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Vs = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Ps = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Ls = { itemStyle: { color: "#fd1050", color0: "#0cf49b", borderColor: "#fd1050", borderColor0: "#0cf49b", borderWidth: 1 } }, zs = { itemStyle: { borderWidth: 0, borderColor: "#ccc" }, lineStyle: { width: 1, color: "#aaa" }, symbolSize: 4, symbol: "circle", smooth: !1, color: ["#dd6b66", "#759aa0", "#e69d87", "#8dc1a9", "#ea7e53", "#eedd78", "#73a373", "#73b9bc", "#7289ab", "#91ca8c", "#f49f42"], label: { color: "#eee" } }, Ts = { itemStyle: { areaColor: "#eee", borderColor: "#444", borderWidth: 0.5 }, label: { color: "#000" }, emphasis: { itemStyle: { areaColor: "rgba(255,215,0,0.8)", borderColor: "#444", borderWidth: 1 }, label: { color: "rgb(100,0,0)" } } }, Es = { 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)" } } }, As = { axisLine: { show: !0, lineStyle: { color: "#eeeeee" } }, axisTick: { show: !0, lineStyle: { color: "#eeeeee" } }, axisLabel: { show: !0, color: "#eeeeee" }, splitLine: { show: !0, lineStyle: { color: ["#aaaaaa"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } }, Ms = { axisLine: { show: !0, lineStyle: { color: "#eeeeee" } }, axisTick: { show: !0, lineStyle: { color: "#eeeeee" } }, axisLabel: { show: !0, color: "#eeeeee" }, splitLine: { show: !0, lineStyle: { color: ["#aaaaaa"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } }, Ws = { axisLine: { show: !0, lineStyle: { color: "#eeeeee" } }, axisTick: { show: !0, lineStyle: { color: "#eeeeee" } }, axisLabel: { show: !0, color: "#eeeeee" }, splitLine: { show: !0, lineStyle: { color: ["#aaaaaa"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } }, Rs = { axisLine: { show: !0, lineStyle: { color: "#eeeeee" } }, axisTick: { show: !0, lineStyle: { color: "#eeeeee" } }, axisLabel: { show: !0, color: "#eeeeee" }, splitLine: { show: !0, lineStyle: { color: ["#aaaaaa"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } }, Bs = { iconStyle: { borderColor: "#999" }, emphasis: { iconStyle: { borderColor: "#666" } } }, Ks = { textStyle: { color: "#eeeeee" } }, Ds = { axisPointer: { lineStyle: { color: "#eeeeee", width: "1" }, crossStyle: { color: "#eeeeee", width: "1" } } }, Fs = { 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" } } }, Os = { color: ["#bf444c", "#d88273", "#f6efa6"] }, Ns = { 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" } }, js = { label: { color: "#eee" }, emphasis: { label: { color: "#eee" } } }, Gs = {
|
|
897
897
|
color: bs,
|
|
898
898
|
backgroundColor: gs,
|
|
899
899
|
textStyle: hs,
|
|
@@ -915,8 +915,8 @@ const ms = /* @__PURE__ */ Re(cs, [["render", us]]), ps = ["position", "rotation
|
|
|
915
915
|
categoryAxis: As,
|
|
916
916
|
valueAxis: Ms,
|
|
917
917
|
logAxis: Ws,
|
|
918
|
-
timeAxis:
|
|
919
|
-
toolbox:
|
|
918
|
+
timeAxis: Rs,
|
|
919
|
+
toolbox: Bs,
|
|
920
920
|
legend: Ks,
|
|
921
921
|
tooltip: Ds,
|
|
922
922
|
timeline: Fs,
|
|
@@ -974,7 +974,7 @@ const kr = /* @__PURE__ */ S({
|
|
|
974
974
|
refContext: {}
|
|
975
975
|
},
|
|
976
976
|
setup(t) {
|
|
977
|
-
const n = t, { node: e } = P(n), o = De(), s = Ze(), i = Se(), l = le(), { width: c, minWidth: u, maxWidth: m, height: d, minHeight: p, maxHeight: f, applySize: b } =
|
|
977
|
+
const n = t, { node: e } = P(n), o = De(), s = Ze(), i = Se(), l = le(), { width: c, minWidth: u, maxWidth: m, height: d, minHeight: p, maxHeight: f, applySize: b } = be(n, e), { applyTitle: g } = Do(e), { applyXAxis: k } = Fo(e), { applyYAxis: _ } = Oo(e), { applyLegend: x } = Bo(e), { applySeries: h } = Ko(e), v = I(() => {
|
|
978
978
|
const L = {}, U = l.value?.type;
|
|
979
979
|
return i === "page" ? U === "common" ? b(L) : console.assert(!1) : i === "comp" && U === "common" ? b(L) : console.assert(!1), L;
|
|
980
980
|
}), z = Io("chart");
|
|
@@ -987,13 +987,13 @@ const kr = /* @__PURE__ */ S({
|
|
|
987
987
|
T?.resize();
|
|
988
988
|
}, j = () => {
|
|
989
989
|
const L = {};
|
|
990
|
-
g(L), k(L),
|
|
990
|
+
g(L), k(L), _(L), x(L), h(L), T?.setOption(L, !0);
|
|
991
991
|
};
|
|
992
992
|
return So(async () => {
|
|
993
993
|
window.addEventListener("resize", Y, !1), await Vo(() => !!z.value), J(), j();
|
|
994
994
|
}), Ie(() => {
|
|
995
995
|
window.removeEventListener("resize", Y, !1), T?.dispose();
|
|
996
|
-
}),
|
|
996
|
+
}), pe(
|
|
997
997
|
[
|
|
998
998
|
() => o.value.width,
|
|
999
999
|
() => o.value.height,
|
|
@@ -1007,9 +1007,9 @@ const kr = /* @__PURE__ */ S({
|
|
|
1007
1007
|
async () => {
|
|
1008
1008
|
await sn(), Y();
|
|
1009
1009
|
}
|
|
1010
|
-
),
|
|
1010
|
+
), pe([s], () => {
|
|
1011
1011
|
J(), j();
|
|
1012
|
-
}),
|
|
1012
|
+
}), pe(
|
|
1013
1013
|
[n],
|
|
1014
1014
|
() => {
|
|
1015
1015
|
j();
|
|
@@ -1022,7 +1022,7 @@ const kr = /* @__PURE__ */ S({
|
|
|
1022
1022
|
default: V(() => [
|
|
1023
1023
|
We("div", {
|
|
1024
1024
|
ref: "chart",
|
|
1025
|
-
style:
|
|
1025
|
+
style: de(v.value)
|
|
1026
1026
|
}, null, 4)
|
|
1027
1027
|
]),
|
|
1028
1028
|
_: 1
|
|
@@ -1036,7 +1036,7 @@ const kr = /* @__PURE__ */ S({
|
|
|
1036
1036
|
refContext: {}
|
|
1037
1037
|
},
|
|
1038
1038
|
setup(t) {
|
|
1039
|
-
const n = t, { node: e } = P(n), o = De(), s = Ze(), i = Se(), l = le(), { width: c, minWidth: u, maxWidth: m, height: d, minHeight: p, maxHeight: f, applySize: b } =
|
|
1039
|
+
const n = t, { node: e } = P(n), o = De(), s = Ze(), i = Se(), l = le(), { width: c, minWidth: u, maxWidth: m, height: d, minHeight: p, maxHeight: f, applySize: b } = be(n, e), { applyTitle: g } = Do(e), { applyXAxis: k } = Fo(e), { applyYAxis: _ } = Oo(e), { applyLegend: x } = Bo(e), { applySeries: h } = Ko(e), v = I(() => {
|
|
1040
1040
|
const L = {}, U = l.value?.type;
|
|
1041
1041
|
return i === "page" ? U === "common" ? b(L) : console.assert(!1) : i === "comp" && U === "common" ? b(L) : console.assert(!1), L;
|
|
1042
1042
|
}), z = Io("chart");
|
|
@@ -1049,13 +1049,13 @@ const kr = /* @__PURE__ */ S({
|
|
|
1049
1049
|
T?.resize();
|
|
1050
1050
|
}, j = () => {
|
|
1051
1051
|
const L = {};
|
|
1052
|
-
g(L), k(L),
|
|
1052
|
+
g(L), k(L), _(L), x(L), h(L), T?.setOption(L, !0);
|
|
1053
1053
|
};
|
|
1054
1054
|
return So(async () => {
|
|
1055
1055
|
window.addEventListener("resize", Y, !1), await Vo(() => !!z.value), J(), j();
|
|
1056
1056
|
}), Ie(() => {
|
|
1057
1057
|
window.removeEventListener("resize", Y, !1), T?.dispose();
|
|
1058
|
-
}),
|
|
1058
|
+
}), pe(
|
|
1059
1059
|
[
|
|
1060
1060
|
() => o.value.width,
|
|
1061
1061
|
() => o.value.height,
|
|
@@ -1069,9 +1069,9 @@ const kr = /* @__PURE__ */ S({
|
|
|
1069
1069
|
async () => {
|
|
1070
1070
|
await sn(), Y();
|
|
1071
1071
|
}
|
|
1072
|
-
),
|
|
1072
|
+
), pe([s], () => {
|
|
1073
1073
|
J(), j();
|
|
1074
|
-
}),
|
|
1074
|
+
}), pe(
|
|
1075
1075
|
[n],
|
|
1076
1076
|
() => {
|
|
1077
1077
|
j();
|
|
@@ -1084,7 +1084,7 @@ const kr = /* @__PURE__ */ S({
|
|
|
1084
1084
|
default: V(() => [
|
|
1085
1085
|
We("div", {
|
|
1086
1086
|
ref: "chart",
|
|
1087
|
-
style:
|
|
1087
|
+
style: de(v.value)
|
|
1088
1088
|
}, null, 4)
|
|
1089
1089
|
]),
|
|
1090
1090
|
_: 1
|
|
@@ -1108,7 +1108,7 @@ const kr = /* @__PURE__ */ S({
|
|
|
1108
1108
|
"y"
|
|
1109
1109
|
]);
|
|
1110
1110
|
return (u, m) => {
|
|
1111
|
-
const d =
|
|
1111
|
+
const d = R("v-badge");
|
|
1112
1112
|
return w(), C(r(G), null, {
|
|
1113
1113
|
default: V(() => [
|
|
1114
1114
|
D(d, {
|
|
@@ -1136,21 +1136,21 @@ const kr = /* @__PURE__ */ S({
|
|
|
1136
1136
|
refContext: {}
|
|
1137
1137
|
},
|
|
1138
1138
|
setup(t) {
|
|
1139
|
-
const n = t, { node: e } = P(n), o =
|
|
1139
|
+
const n = t, { node: e } = P(n), o = _e(), { property: s } = a(e, [
|
|
1140
1140
|
"settings",
|
|
1141
1141
|
"addIcon",
|
|
1142
1142
|
"append"
|
|
1143
1143
|
]), { property: i } = a(e, ["settings", "block"]), { property: l } = a(e, ["settings", "color"]), { color: c } = Q(l), { property: u } = a(e, ["settings", "density"]), { property: m } = a(e, [
|
|
1144
1144
|
"settings",
|
|
1145
1145
|
"disabled"
|
|
1146
|
-
]), { property: d } = a(e, ["size", "height"]), { property: p } = a(e, ["settings", "loading"]), { property: f } = a(e, ["size", "maxHeight"]), { property: b } = a(e, ["size", "maxWidth"]), { property: g } = a(e, ["size", "minHeight"]), { property: k } = a(e, ["size", "minWidth"]), { property:
|
|
1146
|
+
]), { property: d } = a(e, ["size", "height"]), { property: p } = a(e, ["settings", "loading"]), { property: f } = a(e, ["size", "maxHeight"]), { property: b } = a(e, ["size", "maxWidth"]), { property: g } = a(e, ["size", "minHeight"]), { property: k } = a(e, ["size", "minWidth"]), { property: _ } = a(e, [
|
|
1147
1147
|
"settings",
|
|
1148
1148
|
"addIcon",
|
|
1149
1149
|
"prepend"
|
|
1150
1150
|
]), { property: x } = a(e, [
|
|
1151
1151
|
"settings",
|
|
1152
1152
|
"readonly"
|
|
1153
|
-
]), { property:
|
|
1153
|
+
]), { property: h } = a(e, ["settings", "ripple"]), { property: v } = a(e, ["settings", "size"]), { property: z } = a(e, ["settings", "stacked"]), { property: T } = a(e, ["settings", "text"]), { theme: J } = H(), { property: Y } = a(e, ["settings", "variant"]), { property: j } = a(e, ["size", "width"]), L = async (U) => {
|
|
1154
1154
|
if (!o || !o.vm)
|
|
1155
1155
|
return;
|
|
1156
1156
|
const { vm: oe } = o;
|
|
@@ -1161,13 +1161,13 @@ const kr = /* @__PURE__ */ S({
|
|
|
1161
1161
|
);
|
|
1162
1162
|
};
|
|
1163
1163
|
return (U, oe) => {
|
|
1164
|
-
const
|
|
1164
|
+
const ge = R("v-btn");
|
|
1165
1165
|
return w(), C(r(G), {
|
|
1166
1166
|
block: r(i),
|
|
1167
1167
|
mask: ""
|
|
1168
1168
|
}, {
|
|
1169
1169
|
default: V(() => [
|
|
1170
|
-
D(
|
|
1170
|
+
D(ge, {
|
|
1171
1171
|
"append-icon": r(s),
|
|
1172
1172
|
block: r(i),
|
|
1173
1173
|
color: r(c),
|
|
@@ -1179,9 +1179,9 @@ const kr = /* @__PURE__ */ S({
|
|
|
1179
1179
|
"max-width": r(b),
|
|
1180
1180
|
"min-height": r(g),
|
|
1181
1181
|
"min-width": r(k),
|
|
1182
|
-
"prepend-icon": r(
|
|
1182
|
+
"prepend-icon": r(_),
|
|
1183
1183
|
readonly: r(x),
|
|
1184
|
-
ripple: r(
|
|
1184
|
+
ripple: r(h),
|
|
1185
1185
|
size: r(v),
|
|
1186
1186
|
stacked: r(z),
|
|
1187
1187
|
text: r(T),
|
|
@@ -1197,7 +1197,7 @@ const kr = /* @__PURE__ */ S({
|
|
|
1197
1197
|
}
|
|
1198
1198
|
}), $r = {};
|
|
1199
1199
|
function Cr(t, n) {
|
|
1200
|
-
const e =
|
|
1200
|
+
const e = R("v-btn-group");
|
|
1201
1201
|
return w(), C(e, null, {
|
|
1202
1202
|
default: V(() => [
|
|
1203
1203
|
O(t.$slots, "default")
|
|
@@ -1205,7 +1205,7 @@ function Cr(t, n) {
|
|
|
1205
1205
|
_: 3
|
|
1206
1206
|
});
|
|
1207
1207
|
}
|
|
1208
|
-
const Vr = /* @__PURE__ */
|
|
1208
|
+
const Vr = /* @__PURE__ */ Be($r, [["render", Cr]]), Pr = /* @__PURE__ */ S({
|
|
1209
1209
|
__name: "index",
|
|
1210
1210
|
props: {
|
|
1211
1211
|
nodeId: {},
|
|
@@ -1227,8 +1227,8 @@ const Vr = /* @__PURE__ */ Re($r, [["render", Cr]]), Pr = /* @__PURE__ */ S({
|
|
|
1227
1227
|
"readonly"
|
|
1228
1228
|
]), { property: m } = a(e, ["settings", "size"]), { property: d } = a(e, ["settings", "stacked"]), { theme: p } = H(), { property: f } = a(e, ["settings", "tile"]), { property: b } = a(e, ["settings", "variant"]);
|
|
1229
1229
|
return (g, k) => {
|
|
1230
|
-
const
|
|
1231
|
-
return w(), C(
|
|
1230
|
+
const _ = R("v-btn-toggle");
|
|
1231
|
+
return w(), C(_, {
|
|
1232
1232
|
block: r(o),
|
|
1233
1233
|
disabled: r(s),
|
|
1234
1234
|
divided: r(i),
|
|
@@ -1262,9 +1262,9 @@ const Vr = /* @__PURE__ */ Re($r, [["render", Cr]]), Pr = /* @__PURE__ */ S({
|
|
|
1262
1262
|
]), { property: i } = a(e, ["size", "height"]), { property: l } = a(e, ["settings", "hover"]), { property: c } = a(e, ["settings", "loading"]), { property: u } = a(e, ["size", "maxHeight"]), { property: m } = a(e, ["size", "maxWidth"]), { property: d } = a(e, ["size", "minHeight"]), { property: p } = a(e, ["size", "minWidth"]), { property: f } = a(e, [
|
|
1263
1263
|
"settings",
|
|
1264
1264
|
"subtitle"
|
|
1265
|
-
]), { property: b } = a(e, ["settings", "text"]), { theme: g } = H(), { property: k } = a(e, ["settings", "title"]), { property:
|
|
1266
|
-
return (
|
|
1267
|
-
const z =
|
|
1265
|
+
]), { property: b } = a(e, ["settings", "text"]), { theme: g } = H(), { property: k } = a(e, ["settings", "title"]), { property: _ } = a(e, ["settings", "variant"]), { property: x } = a(e, ["size", "width"]);
|
|
1266
|
+
return (h, v) => {
|
|
1267
|
+
const z = R("v-card");
|
|
1268
1268
|
return w(), C(r(G), { block: "" }, {
|
|
1269
1269
|
default: V(() => [
|
|
1270
1270
|
D(z, {
|
|
@@ -1281,11 +1281,11 @@ const Vr = /* @__PURE__ */ Re($r, [["render", Cr]]), Pr = /* @__PURE__ */ S({
|
|
|
1281
1281
|
text: r(b),
|
|
1282
1282
|
theme: r(g),
|
|
1283
1283
|
title: r(k),
|
|
1284
|
-
variant: r(
|
|
1284
|
+
variant: r(_),
|
|
1285
1285
|
width: r(x)
|
|
1286
1286
|
}, {
|
|
1287
1287
|
default: V(() => [
|
|
1288
|
-
O(
|
|
1288
|
+
O(h.$slots, "default")
|
|
1289
1289
|
]),
|
|
1290
1290
|
_: 3
|
|
1291
1291
|
}, 8, ["density", "disabled", "height", "hover", "loading", "max-height", "max-width", "min-height", "min-width", "subtitle", "text", "theme", "title", "variant", "width"])
|
|
@@ -1310,7 +1310,7 @@ const Vr = /* @__PURE__ */ Re($r, [["render", Cr]]), Pr = /* @__PURE__ */ S({
|
|
|
1310
1310
|
"readonly"
|
|
1311
1311
|
]);
|
|
1312
1312
|
return (i, l) => {
|
|
1313
|
-
const c =
|
|
1313
|
+
const c = R("v-checkbox");
|
|
1314
1314
|
return w(), C(r(G), { mask: "" }, {
|
|
1315
1315
|
default: V(() => [
|
|
1316
1316
|
D(c, {
|
|
@@ -1339,9 +1339,9 @@ const Vr = /* @__PURE__ */ Re($r, [["render", Cr]]), Pr = /* @__PURE__ */ S({
|
|
|
1339
1339
|
]), { property: u } = a(e, [
|
|
1340
1340
|
"settings",
|
|
1341
1341
|
"draggable"
|
|
1342
|
-
]), { property: m } = a(e, ["settings", "filter"]), { property: d } = a(e, ["settings", "label"]), { property: p } = a(e, ["settings", "size"]), { property: f } = a(e, ["settings", "text"]), { theme: b } = H(), { property: g } = a(e, ["settings", "tile"]), { property: k } = a(e, ["settings", "value"]), { property:
|
|
1343
|
-
return (x,
|
|
1344
|
-
const v =
|
|
1342
|
+
]), { property: m } = a(e, ["settings", "filter"]), { property: d } = a(e, ["settings", "label"]), { property: p } = a(e, ["settings", "size"]), { property: f } = a(e, ["settings", "text"]), { theme: b } = H(), { property: g } = a(e, ["settings", "tile"]), { property: k } = a(e, ["settings", "value"]), { property: _ } = a(e, ["settings", "variant"]);
|
|
1343
|
+
return (x, h) => {
|
|
1344
|
+
const v = R("v-chip");
|
|
1345
1345
|
return w(), C(r(G), { mask: "" }, {
|
|
1346
1346
|
default: V(() => [
|
|
1347
1347
|
D(v, {
|
|
@@ -1357,7 +1357,7 @@ const Vr = /* @__PURE__ */ Re($r, [["render", Cr]]), Pr = /* @__PURE__ */ S({
|
|
|
1357
1357
|
theme: r(b),
|
|
1358
1358
|
tile: r(g),
|
|
1359
1359
|
value: r(k),
|
|
1360
|
-
variant: r(
|
|
1360
|
+
variant: r(_)
|
|
1361
1361
|
}, null, 8, ["closable", "color", "density", "disabled", "draggable", "filter", "label", "size", "text", "theme", "tile", "value", "variant"])
|
|
1362
1362
|
]),
|
|
1363
1363
|
_: 1
|
|
@@ -1389,7 +1389,7 @@ const Vr = /* @__PURE__ */ Re($r, [["render", Cr]]), Pr = /* @__PURE__ */ S({
|
|
|
1389
1389
|
"showArrows"
|
|
1390
1390
|
]), { theme: d } = H(), { property: p } = a(e, ["settings", "value"]);
|
|
1391
1391
|
return (f, b) => {
|
|
1392
|
-
const g =
|
|
1392
|
+
const g = R("v-chip-group");
|
|
1393
1393
|
return w(), C(g, {
|
|
1394
1394
|
modelValue: r(p),
|
|
1395
1395
|
"onUpdate:modelValue": b[0] || (b[0] = (k) => ne(p) ? p.value = k : null),
|
|
@@ -1417,9 +1417,9 @@ const Vr = /* @__PURE__ */ Re($r, [["render", Cr]]), Pr = /* @__PURE__ */ S({
|
|
|
1417
1417
|
refContext: {}
|
|
1418
1418
|
},
|
|
1419
1419
|
setup(t) {
|
|
1420
|
-
const n = t, { node: e } = P(n), o = Se(), s = le(), { applySize: i } =
|
|
1421
|
-
const k = {},
|
|
1422
|
-
return o === "page" ?
|
|
1420
|
+
const n = t, { node: e } = P(n), o = Se(), s = le(), { applySize: i } = be(n, e), l = I(() => {
|
|
1421
|
+
const k = {}, _ = s.value?.type;
|
|
1422
|
+
return o === "page" ? _ === "common" ? i(k) : console.assert(!1) : o === "comp" && _ === "common" ? i(k) : console.assert(!1), k;
|
|
1423
1423
|
}), { property: c } = a(e, [
|
|
1424
1424
|
"settings",
|
|
1425
1425
|
"disabled"
|
|
@@ -1442,8 +1442,8 @@ const Vr = /* @__PURE__ */ Re($r, [["render", Cr]]), Pr = /* @__PURE__ */ S({
|
|
|
1442
1442
|
"settings",
|
|
1443
1443
|
"showSwatches"
|
|
1444
1444
|
]), { theme: g } = H();
|
|
1445
|
-
return (k,
|
|
1446
|
-
const x =
|
|
1445
|
+
return (k, _) => {
|
|
1446
|
+
const x = R("v-color-picker");
|
|
1447
1447
|
return w(), C(r(G), { mask: "" }, {
|
|
1448
1448
|
default: V(() => [
|
|
1449
1449
|
D(x, {
|
|
@@ -1454,7 +1454,7 @@ const Vr = /* @__PURE__ */ Re($r, [["render", Cr]]), Pr = /* @__PURE__ */ S({
|
|
|
1454
1454
|
"hide-sliders": r(p),
|
|
1455
1455
|
landscape: r(f),
|
|
1456
1456
|
"show-swatches": r(b),
|
|
1457
|
-
style:
|
|
1457
|
+
style: de(l.value),
|
|
1458
1458
|
theme: r(g)
|
|
1459
1459
|
}, null, 8, ["disabled", "hide-canvas", "hide-header", "hide-inputs", "hide-sliders", "landscape", "show-swatches", "style", "theme"])
|
|
1460
1460
|
]),
|
|
@@ -1484,7 +1484,7 @@ const Vr = /* @__PURE__ */ Re($r, [["render", Cr]]), Pr = /* @__PURE__ */ S({
|
|
|
1484
1484
|
"singleLine"
|
|
1485
1485
|
]), { theme: u } = H(), { property: m } = a(e, ["settings", "value"]);
|
|
1486
1486
|
return (d, p) => {
|
|
1487
|
-
const f =
|
|
1487
|
+
const f = R("v-combobox");
|
|
1488
1488
|
return w(), C(r(G), { mask: "" }, {
|
|
1489
1489
|
default: V(() => [
|
|
1490
1490
|
D(f, {
|
|
@@ -1513,14 +1513,14 @@ const Vr = /* @__PURE__ */ Re($r, [["render", Cr]]), Pr = /* @__PURE__ */ S({
|
|
|
1513
1513
|
const n = t, { node: e } = P(n), o = Se(), s = le(), { property: i } = a(e, [
|
|
1514
1514
|
"settings",
|
|
1515
1515
|
"backgroundColor"
|
|
1516
|
-
]), { color: l } = Q(i), { applySize: c } =
|
|
1516
|
+
]), { color: l } = Q(i), { applySize: c } = be(n, e), { applyMargin: u } = pn(e), { applyPadding: m } = dn(e), { applyBorder: d } = mn(e), p = I(() => {
|
|
1517
1517
|
const f = {}, b = s.value?.type;
|
|
1518
1518
|
return o === "page" ? b === "common" ? (c(f), u(f), m(f), d(f), l.value && (f.backgroundColor = l.value)) : console.assert(!1) : o === "comp" && b === "common" ? (c(f), u(f), m(f), d(f), l.value && (f.backgroundColor = l.value)) : console.assert(!1), f;
|
|
1519
1519
|
});
|
|
1520
1520
|
return (f, b) => (w(), C(r(G), { block: "" }, {
|
|
1521
1521
|
default: V(() => [
|
|
1522
1522
|
We("div", {
|
|
1523
|
-
style:
|
|
1523
|
+
style: de(p.value)
|
|
1524
1524
|
}, [
|
|
1525
1525
|
O(f.$slots, "default")
|
|
1526
1526
|
], 4)
|
|
@@ -1528,7 +1528,7 @@ const Vr = /* @__PURE__ */ Re($r, [["render", Cr]]), Pr = /* @__PURE__ */ S({
|
|
|
1528
1528
|
_: 3
|
|
1529
1529
|
}));
|
|
1530
1530
|
}
|
|
1531
|
-
}),
|
|
1531
|
+
}), Rr = /* @__PURE__ */ S({
|
|
1532
1532
|
__name: "columnSlot",
|
|
1533
1533
|
props: {
|
|
1534
1534
|
nodeId: {},
|
|
@@ -1539,7 +1539,7 @@ const Vr = /* @__PURE__ */ Re($r, [["render", Cr]]), Pr = /* @__PURE__ */ S({
|
|
|
1539
1539
|
const n = t, e = Z(), o = Qe(), s = se();
|
|
1540
1540
|
Pe(s);
|
|
1541
1541
|
const i = I(() => n.refContext.compId);
|
|
1542
|
-
et(i, s),
|
|
1542
|
+
et(i, s), ke(e) && tt(s, "elementSlot", "", "", _e());
|
|
1543
1543
|
function l(u) {
|
|
1544
1544
|
const m = we[u.key];
|
|
1545
1545
|
if (!m) {
|
|
@@ -1567,7 +1567,7 @@ const Vr = /* @__PURE__ */ Re($r, [["render", Cr]]), Pr = /* @__PURE__ */ S({
|
|
|
1567
1567
|
);
|
|
1568
1568
|
}
|
|
1569
1569
|
const c = () => {
|
|
1570
|
-
const { i18n: u } =
|
|
1570
|
+
const { i18n: u } = he;
|
|
1571
1571
|
if (Ye(n.refContext, o))
|
|
1572
1572
|
return K("div", null, u.global.t("x-runtime-lib.circularReference"));
|
|
1573
1573
|
if (!s.value)
|
|
@@ -1581,7 +1581,7 @@ const Vr = /* @__PURE__ */ Re($r, [["render", Cr]]), Pr = /* @__PURE__ */ S({
|
|
|
1581
1581
|
};
|
|
1582
1582
|
return (u, m) => (w(), C(c));
|
|
1583
1583
|
}
|
|
1584
|
-
}),
|
|
1584
|
+
}), Br = /* @__PURE__ */ S({
|
|
1585
1585
|
__name: "index",
|
|
1586
1586
|
props: {
|
|
1587
1587
|
nodeId: {},
|
|
@@ -1599,8 +1599,8 @@ const Vr = /* @__PURE__ */ Re($r, [["render", Cr]]), Pr = /* @__PURE__ */ S({
|
|
|
1599
1599
|
"settings",
|
|
1600
1600
|
"multiSort"
|
|
1601
1601
|
]), { theme: f } = H(), { property: b } = a(e, ["size", "width"]), { property: g } = a(e, ["slots", "columns"]);
|
|
1602
|
-
return (k,
|
|
1603
|
-
const x =
|
|
1602
|
+
return (k, _) => {
|
|
1603
|
+
const x = R("v-data-table");
|
|
1604
1604
|
return w(), C(r(G), {
|
|
1605
1605
|
block: "",
|
|
1606
1606
|
mask: ""
|
|
@@ -1619,10 +1619,10 @@ const Vr = /* @__PURE__ */ Re($r, [["render", Cr]]), Pr = /* @__PURE__ */ S({
|
|
|
1619
1619
|
theme: r(f),
|
|
1620
1620
|
width: r(b)
|
|
1621
1621
|
}, rn({ _: 2 }, [
|
|
1622
|
-
ii(r(g), ({ key:
|
|
1623
|
-
name: `item.${
|
|
1622
|
+
ii(r(g), ({ key: h, comp: v }) => ({
|
|
1623
|
+
name: `item.${h}`,
|
|
1624
1624
|
fn: V(({ value: z }) => [
|
|
1625
|
-
D(
|
|
1625
|
+
D(Rr, {
|
|
1626
1626
|
"node-id": n.nodeId,
|
|
1627
1627
|
"ref-context": {
|
|
1628
1628
|
parent: n.refContext,
|
|
@@ -1642,7 +1642,7 @@ const Vr = /* @__PURE__ */ Re($r, [["render", Cr]]), Pr = /* @__PURE__ */ S({
|
|
|
1642
1642
|
__name: "index",
|
|
1643
1643
|
setup(t) {
|
|
1644
1644
|
return (n, e) => {
|
|
1645
|
-
const o =
|
|
1645
|
+
const o = R("v-date-picker");
|
|
1646
1646
|
return w(), C(r(G), { mask: "" }, {
|
|
1647
1647
|
default: V(() => [
|
|
1648
1648
|
D(o)
|
|
@@ -1665,7 +1665,7 @@ const Vr = /* @__PURE__ */ Re($r, [["render", Cr]]), Pr = /* @__PURE__ */ S({
|
|
|
1665
1665
|
}), pt(n.nodeId, "close", () => {
|
|
1666
1666
|
o.value = !1;
|
|
1667
1667
|
}), (s, i) => {
|
|
1668
|
-
const l =
|
|
1668
|
+
const l = R("v-dialog");
|
|
1669
1669
|
return w(), C(l, {
|
|
1670
1670
|
modelValue: r(o),
|
|
1671
1671
|
"onUpdate:modelValue": i[0] || (i[0] = (c) => ne(o) ? o.value = c : null),
|
|
@@ -1709,7 +1709,7 @@ const Vr = /* @__PURE__ */ Re($r, [["render", Cr]]), Pr = /* @__PURE__ */ S({
|
|
|
1709
1709
|
"singleLine"
|
|
1710
1710
|
]);
|
|
1711
1711
|
return (b, g) => {
|
|
1712
|
-
const k =
|
|
1712
|
+
const k = R("v-file-input");
|
|
1713
1713
|
return w(), C(r(G), {
|
|
1714
1714
|
block: "",
|
|
1715
1715
|
mask: ""
|
|
@@ -1740,17 +1740,17 @@ const Vr = /* @__PURE__ */ Re($r, [["render", Cr]]), Pr = /* @__PURE__ */ S({
|
|
|
1740
1740
|
refContext: {}
|
|
1741
1741
|
},
|
|
1742
1742
|
setup(t) {
|
|
1743
|
-
const n = t, { node: e } = P(n), o = De(), s = Se(), i = le(), { applySize: l } =
|
|
1743
|
+
const n = t, { node: e } = P(n), o = De(), s = Se(), i = le(), { applySize: l } = be(n, e), { applyMargin: c } = pn(e), { applyPadding: u } = dn(e), { applyBorder: m } = mn(e), { property: d } = a(e, [
|
|
1744
1744
|
"settings",
|
|
1745
1745
|
"backgroundColor"
|
|
1746
1746
|
]), { color: p } = Q(d), f = (g) => {
|
|
1747
1747
|
p.value && (g.backgroundColor = p.value), g.display = "flex";
|
|
1748
|
-
const k = mt(o.value.width),
|
|
1749
|
-
|
|
1748
|
+
const k = mt(o.value.width), _ = Ne(k, e.value.settings?.direction);
|
|
1749
|
+
_ === "row" ? g.flexDirection = "row" : _ === "rowReverse" ? g.flexDirection = "row-reverse" : _ === "column" ? g.flexDirection = "column" : _ === "columnReverse" && (g.flexDirection = "column-reverse");
|
|
1750
1750
|
const x = Ne(k, e.value.settings?.wrap);
|
|
1751
1751
|
x === "no" ? g.flexWrap = "nowrap" : x === "yes" ? g.flexWrap = "wrap" : x === "reverse" && (g.flexWrap = "wrap-reverse");
|
|
1752
|
-
const
|
|
1753
|
-
|
|
1752
|
+
const h = Ne(k, e.value.settings?.mainAlign);
|
|
1753
|
+
h === "start" ? g.justifyContent = "flex-start" : h === "end" ? g.justifyContent = "flex-end" : h === "center" ? g.justifyContent = "center" : h === "spaceBetween" ? g.justifyContent = "space-between" : h === "spaceAround" ? g.justifyContent = "space-around" : h === "spaceEvenly" && (g.justifyContent = "space-evenly");
|
|
1754
1754
|
const v = Ne(k, e.value.settings?.crossAlign);
|
|
1755
1755
|
v === "start" ? g.alignItems = "flex-start" : v === "end" ? g.alignItems = "flex-end" : v === "center" ? g.alignItems = "center" : v === "baseline" ? g.alignItems = "baseline" : v === "stretch" && (g.alignItems = "stretch");
|
|
1756
1756
|
}, b = I(() => {
|
|
@@ -1758,7 +1758,7 @@ const Vr = /* @__PURE__ */ Re($r, [["render", Cr]]), Pr = /* @__PURE__ */ S({
|
|
|
1758
1758
|
return s === "page" ? k === "common" ? (l(g), c(g), u(g), m(g), f(g)) : console.assert(!1) : s === "comp" && k === "common" ? (l(g), c(g), u(g), m(g), f(g)) : console.assert(!1), g;
|
|
1759
1759
|
});
|
|
1760
1760
|
return (g, k) => (w(), te("div", {
|
|
1761
|
-
style:
|
|
1761
|
+
style: de(b.value)
|
|
1762
1762
|
}, [
|
|
1763
1763
|
O(g.$slots, "default")
|
|
1764
1764
|
], 4));
|
|
@@ -1771,12 +1771,12 @@ const Vr = /* @__PURE__ */ Re($r, [["render", Cr]]), Pr = /* @__PURE__ */ S({
|
|
|
1771
1771
|
refContext: {}
|
|
1772
1772
|
},
|
|
1773
1773
|
setup(t) {
|
|
1774
|
-
const n = t, { node: e } = P(n), o = Se(), s = le(), { applySize: i } =
|
|
1774
|
+
const n = t, { node: e } = P(n), o = Se(), s = le(), { applySize: i } = be(n, e), { property: l } = a(e, ["settings", "grow"]), { property: c } = a(e, ["settings", "shrink"]), u = I(() => {
|
|
1775
1775
|
const m = {}, d = s.value?.type;
|
|
1776
1776
|
return o === "page" ? d === "common" ? (i(m), m.flexGrow = l.value ? 1 : 0, m.flexShrink = c.value ? 1 : 0) : console.assert(!1) : o === "comp" && d === "common" ? (i(m), m.flexGrow = l.value ? 1 : 0, m.flexShrink = c.value ? 1 : 0) : console.assert(!1), m;
|
|
1777
1777
|
});
|
|
1778
1778
|
return (m, d) => (w(), te("div", {
|
|
1779
|
-
style:
|
|
1779
|
+
style: de(u.value)
|
|
1780
1780
|
}, [
|
|
1781
1781
|
O(m.$slots, "default")
|
|
1782
1782
|
], 4));
|
|
@@ -1789,15 +1789,15 @@ const Vr = /* @__PURE__ */ Re($r, [["render", Cr]]), Pr = /* @__PURE__ */ S({
|
|
|
1789
1789
|
refContext: {}
|
|
1790
1790
|
},
|
|
1791
1791
|
setup(t) {
|
|
1792
|
-
const n = t, { node: e } = P(n), o = Se(), s = le(), i =
|
|
1792
|
+
const n = t, { node: e } = P(n), o = Se(), s = le(), i = _e(), { property: l } = a(e, ["settings", "valid"]), { property: c } = a(e, [
|
|
1793
1793
|
"settings",
|
|
1794
1794
|
"fastFail"
|
|
1795
1795
|
]), { property: u } = a(e, [
|
|
1796
1796
|
"settings",
|
|
1797
1797
|
"backgroundColor"
|
|
1798
|
-
]), { color: m } = Q(u), { applySize: d } =
|
|
1799
|
-
const
|
|
1800
|
-
return o === "page" ? x === "common" ? (d(
|
|
1798
|
+
]), { color: m } = Q(u), { applySize: d } = be(n, e), { applyMargin: p } = pn(e), { applyPadding: f } = dn(e), { applyBorder: b } = mn(e), g = I(() => {
|
|
1799
|
+
const _ = {}, x = s.value?.type;
|
|
1800
|
+
return o === "page" ? x === "common" ? (d(_), p(_), f(_), b(_), m.value && (_.backgroundColor = m.value)) : console.assert(!1) : o === "comp" && x === "common" ? (d(_), p(_), f(_), b(_), m.value && (_.backgroundColor = m.value)) : console.assert(!1), _;
|
|
1801
1801
|
}), k = async () => {
|
|
1802
1802
|
await i?.callFunctionAsync(
|
|
1803
1803
|
"__triggerEventV1__",
|
|
@@ -1805,17 +1805,17 @@ const Vr = /* @__PURE__ */ Re($r, [["render", Cr]]), Pr = /* @__PURE__ */ S({
|
|
|
1805
1805
|
""
|
|
1806
1806
|
);
|
|
1807
1807
|
};
|
|
1808
|
-
return (
|
|
1809
|
-
const
|
|
1810
|
-
return w(), C(
|
|
1808
|
+
return (_, x) => {
|
|
1809
|
+
const h = R("v-form");
|
|
1810
|
+
return w(), C(h, {
|
|
1811
1811
|
modelValue: r(l),
|
|
1812
1812
|
"onUpdate:modelValue": x[0] || (x[0] = (v) => ne(l) ? l.value = v : null),
|
|
1813
1813
|
"fast-fail": r(c),
|
|
1814
|
-
style:
|
|
1814
|
+
style: de(g.value),
|
|
1815
1815
|
onSubmit: si(k, ["prevent"])
|
|
1816
1816
|
}, {
|
|
1817
1817
|
default: V(() => [
|
|
1818
|
-
O(
|
|
1818
|
+
O(_.$slots, "default")
|
|
1819
1819
|
]),
|
|
1820
1820
|
_: 3
|
|
1821
1821
|
}, 8, ["modelValue", "fast-fail", "style"]);
|
|
@@ -1834,7 +1834,7 @@ const Vr = /* @__PURE__ */ Re($r, [["render", Cr]]), Pr = /* @__PURE__ */ S({
|
|
|
1834
1834
|
"disabled"
|
|
1835
1835
|
]), { property: l } = a(e, ["settings", "icon"]), { property: c } = a(e, ["settings", "size"]), { theme: u } = H();
|
|
1836
1836
|
return (m, d) => {
|
|
1837
|
-
const p =
|
|
1837
|
+
const p = R("v-icon");
|
|
1838
1838
|
return w(), C(p, {
|
|
1839
1839
|
color: r(s),
|
|
1840
1840
|
disabled: r(i),
|
|
@@ -1852,7 +1852,7 @@ const Vr = /* @__PURE__ */ Re($r, [["render", Cr]]), Pr = /* @__PURE__ */ S({
|
|
|
1852
1852
|
refContext: {}
|
|
1853
1853
|
},
|
|
1854
1854
|
setup(t) {
|
|
1855
|
-
const n = t, e = Z(), o =
|
|
1855
|
+
const n = t, e = Z(), o = _e(), s = se(0), i = se(0), l = I(() => [s.value, i.value]), { open: c } = Po(`runtimeMenu/${$o()}`);
|
|
1856
1856
|
return pt(n.nodeId, "open", () => {
|
|
1857
1857
|
if (!o || !o.vm)
|
|
1858
1858
|
return;
|
|
@@ -1861,7 +1861,7 @@ const Vr = /* @__PURE__ */ Re($r, [["render", Cr]]), Pr = /* @__PURE__ */ S({
|
|
|
1861
1861
|
}), pt(n.nodeId, "close", () => {
|
|
1862
1862
|
o && (c.value = !1);
|
|
1863
1863
|
}), (u, m) => {
|
|
1864
|
-
const d =
|
|
1864
|
+
const d = R("v-menu");
|
|
1865
1865
|
return w(), C(d, {
|
|
1866
1866
|
modelValue: r(c),
|
|
1867
1867
|
"onUpdate:modelValue": m[0] || (m[0] = (p) => ne(c) ? c.value = p : null),
|
|
@@ -1911,7 +1911,7 @@ const Vr = /* @__PURE__ */ Re($r, [["render", Cr]]), Pr = /* @__PURE__ */ S({
|
|
|
1911
1911
|
]), { property: g } = a(e, [
|
|
1912
1912
|
"settings",
|
|
1913
1913
|
"precision"
|
|
1914
|
-
]), { property: k } = a(e, ["settings", "prefix"]), { property:
|
|
1914
|
+
]), { property: k } = a(e, ["settings", "prefix"]), { property: _ } = a(e, [
|
|
1915
1915
|
"settings",
|
|
1916
1916
|
"addIcon",
|
|
1917
1917
|
"prepend"
|
|
@@ -1919,15 +1919,15 @@ const Vr = /* @__PURE__ */ Re($r, [["render", Cr]]), Pr = /* @__PURE__ */ S({
|
|
|
1919
1919
|
"settings",
|
|
1920
1920
|
"addIcon",
|
|
1921
1921
|
"prependInner"
|
|
1922
|
-
]), { property:
|
|
1922
|
+
]), { property: h } = a(e, [
|
|
1923
1923
|
"settings",
|
|
1924
1924
|
"readonly"
|
|
1925
1925
|
]), { property: v } = a(e, ["settings", "reverse"]), { property: z } = a(e, [
|
|
1926
1926
|
"settings",
|
|
1927
1927
|
"singleLine"
|
|
1928
1928
|
]), { property: T } = a(e, ["settings", "step"]), { property: J } = a(e, ["settings", "suffix"]), { theme: Y } = H(), { property: j } = a(e, ["settings", "value"]), { property: L } = a(e, ["settings", "variant"]), { property: U } = a(e, ["size", "width"]);
|
|
1929
|
-
return (oe,
|
|
1930
|
-
const Le =
|
|
1929
|
+
return (oe, ge) => {
|
|
1930
|
+
const Le = R("v-number-input");
|
|
1931
1931
|
return w(), C(r(G), {
|
|
1932
1932
|
block: "",
|
|
1933
1933
|
mask: ""
|
|
@@ -1935,7 +1935,7 @@ const Vr = /* @__PURE__ */ Re($r, [["render", Cr]]), Pr = /* @__PURE__ */ S({
|
|
|
1935
1935
|
default: V(() => [
|
|
1936
1936
|
D(Le, {
|
|
1937
1937
|
modelValue: r(j),
|
|
1938
|
-
"onUpdate:modelValue":
|
|
1938
|
+
"onUpdate:modelValue": ge[0] || (ge[0] = (ve) => ne(j) ? j.value = ve : null),
|
|
1939
1939
|
"append-icon": r(o),
|
|
1940
1940
|
"append-inner-icon": r(s),
|
|
1941
1941
|
clearable: r(i),
|
|
@@ -1949,9 +1949,9 @@ const Vr = /* @__PURE__ */ Re($r, [["render", Cr]]), Pr = /* @__PURE__ */ S({
|
|
|
1949
1949
|
placeholder: r(b),
|
|
1950
1950
|
precision: r(g),
|
|
1951
1951
|
prefix: r(k),
|
|
1952
|
-
"prepend-icon": r(
|
|
1952
|
+
"prepend-icon": r(_),
|
|
1953
1953
|
"prepend-inner-icon": r(x),
|
|
1954
|
-
readonly: r(
|
|
1954
|
+
readonly: r(h),
|
|
1955
1955
|
reverse: r(v),
|
|
1956
1956
|
"single-line": r(z),
|
|
1957
1957
|
step: r(T),
|
|
@@ -1983,8 +1983,8 @@ const Vr = /* @__PURE__ */ Re($r, [["render", Cr]]), Pr = /* @__PURE__ */ S({
|
|
|
1983
1983
|
const k = {};
|
|
1984
1984
|
return o === "editor" && (k.pointerEvents = "none"), k;
|
|
1985
1985
|
});
|
|
1986
|
-
return (k,
|
|
1987
|
-
const x =
|
|
1986
|
+
return (k, _) => {
|
|
1987
|
+
const x = R("v-pagination");
|
|
1988
1988
|
return w(), C(r(G), {
|
|
1989
1989
|
block: "",
|
|
1990
1990
|
mask: ""
|
|
@@ -1992,14 +1992,14 @@ const Vr = /* @__PURE__ */ Re($r, [["render", Cr]]), Pr = /* @__PURE__ */ S({
|
|
|
1992
1992
|
default: V(() => [
|
|
1993
1993
|
D(x, {
|
|
1994
1994
|
modelValue: r(f),
|
|
1995
|
-
"onUpdate:modelValue":
|
|
1995
|
+
"onUpdate:modelValue": _[0] || (_[0] = (h) => ne(f) ? f.value = h : null),
|
|
1996
1996
|
density: r(s),
|
|
1997
1997
|
disabled: r(i),
|
|
1998
1998
|
length: r(l),
|
|
1999
1999
|
"show-first-last-page": r(c),
|
|
2000
2000
|
size: r(u),
|
|
2001
2001
|
start: r(m),
|
|
2002
|
-
style:
|
|
2002
|
+
style: de(g.value),
|
|
2003
2003
|
theme: r(d),
|
|
2004
2004
|
tile: r(p),
|
|
2005
2005
|
variant: r(b)
|
|
@@ -2025,7 +2025,7 @@ const Vr = /* @__PURE__ */ Re($r, [["render", Cr]]), Pr = /* @__PURE__ */ S({
|
|
|
2025
2025
|
"readonly"
|
|
2026
2026
|
]), { theme: m } = H(), { property: d } = a(e, ["settings", "value"]);
|
|
2027
2027
|
return (p, f) => {
|
|
2028
|
-
const b =
|
|
2028
|
+
const b = R("v-radio");
|
|
2029
2029
|
return w(), C(b, {
|
|
2030
2030
|
color: r(s),
|
|
2031
2031
|
density: r(i),
|
|
@@ -2056,7 +2056,7 @@ const Vr = /* @__PURE__ */ Re($r, [["render", Cr]]), Pr = /* @__PURE__ */ S({
|
|
|
2056
2056
|
"readonly"
|
|
2057
2057
|
]), { theme: u } = H(), { property: m } = a(e, ["settings", "value"]);
|
|
2058
2058
|
return (d, p) => {
|
|
2059
|
-
const f =
|
|
2059
|
+
const f = R("v-radio-group");
|
|
2060
2060
|
return w(), C(r(G), null, {
|
|
2061
2061
|
default: V(() => [
|
|
2062
2062
|
D(f, {
|
|
@@ -2110,7 +2110,7 @@ const Vr = /* @__PURE__ */ Re($r, [["render", Cr]]), Pr = /* @__PURE__ */ S({
|
|
|
2110
2110
|
}), { property: b } = a(e, ["settings", "step"]), { theme: g } = H(), { property: k } = a(e, [
|
|
2111
2111
|
"settings",
|
|
2112
2112
|
"thumbLabel"
|
|
2113
|
-
]),
|
|
2113
|
+
]), _ = I(() => {
|
|
2114
2114
|
if (k.value === "always")
|
|
2115
2115
|
return "always";
|
|
2116
2116
|
if (k.value === "show")
|
|
@@ -2118,11 +2118,11 @@ const Vr = /* @__PURE__ */ Re($r, [["render", Cr]]), Pr = /* @__PURE__ */ S({
|
|
|
2118
2118
|
}), { property: x } = a(e, [
|
|
2119
2119
|
"settings",
|
|
2120
2120
|
"thumbSize"
|
|
2121
|
-
]), { property:
|
|
2122
|
-
if (!
|
|
2121
|
+
]), { property: h } = a(e, ["settings", "ticks"]), v = I(() => {
|
|
2122
|
+
if (!h.value)
|
|
2123
2123
|
return;
|
|
2124
2124
|
const j = {};
|
|
2125
|
-
for (const { value: L, label: U } of
|
|
2125
|
+
for (const { value: L, label: U } of h.value)
|
|
2126
2126
|
j[L] = U;
|
|
2127
2127
|
if (!Wo(j))
|
|
2128
2128
|
return j;
|
|
@@ -2144,7 +2144,7 @@ const Vr = /* @__PURE__ */ Re($r, [["render", Cr]]), Pr = /* @__PURE__ */ S({
|
|
|
2144
2144
|
}
|
|
2145
2145
|
});
|
|
2146
2146
|
return (j, L) => {
|
|
2147
|
-
const U =
|
|
2147
|
+
const U = R("v-range-slider");
|
|
2148
2148
|
return w(), C(r(G), {
|
|
2149
2149
|
block: "",
|
|
2150
2150
|
mask: ""
|
|
@@ -2164,7 +2164,7 @@ const Vr = /* @__PURE__ */ Re($r, [["render", Cr]]), Pr = /* @__PURE__ */ S({
|
|
|
2164
2164
|
"show-ticks": f.value,
|
|
2165
2165
|
step: r(b),
|
|
2166
2166
|
theme: r(g),
|
|
2167
|
-
"thumb-label":
|
|
2167
|
+
"thumb-label": _.value,
|
|
2168
2168
|
"thumb-size": r(x),
|
|
2169
2169
|
"tick-size": r(z),
|
|
2170
2170
|
ticks: v.value
|
|
@@ -2196,7 +2196,7 @@ const Vr = /* @__PURE__ */ Re($r, [["render", Cr]]), Pr = /* @__PURE__ */ S({
|
|
|
2196
2196
|
"readonly"
|
|
2197
2197
|
]), { theme: d } = H(), { property: p } = a(e, ["settings", "value"]);
|
|
2198
2198
|
return (f, b) => {
|
|
2199
|
-
const g =
|
|
2199
|
+
const g = R("v-rating");
|
|
2200
2200
|
return w(), C(r(G), { mask: "" }, {
|
|
2201
2201
|
default: V(() => [
|
|
2202
2202
|
D(g, {
|
|
@@ -2238,7 +2238,7 @@ const Vr = /* @__PURE__ */ Re($r, [["render", Cr]]), Pr = /* @__PURE__ */ S({
|
|
|
2238
2238
|
"singleLine"
|
|
2239
2239
|
]), { theme: u } = H(), { property: m } = a(e, ["settings", "value"]);
|
|
2240
2240
|
return (d, p) => {
|
|
2241
|
-
const f =
|
|
2241
|
+
const f = R("v-select");
|
|
2242
2242
|
return w(), C(r(G), {
|
|
2243
2243
|
block: "",
|
|
2244
2244
|
mask: ""
|
|
@@ -2287,10 +2287,10 @@ const Vr = /* @__PURE__ */ Re($r, [["render", Cr]]), Pr = /* @__PURE__ */ S({
|
|
|
2287
2287
|
return "always";
|
|
2288
2288
|
if (b.value === "show")
|
|
2289
2289
|
return !0;
|
|
2290
|
-
}), { property: k } = a(e, ["settings", "step"]), { theme:
|
|
2290
|
+
}), { property: k } = a(e, ["settings", "step"]), { theme: _ } = H(), { property: x } = a(e, [
|
|
2291
2291
|
"settings",
|
|
2292
2292
|
"thumbColor"
|
|
2293
|
-
]), { color:
|
|
2293
|
+
]), { color: h } = Q(x), { property: v } = a(e, [
|
|
2294
2294
|
"settings",
|
|
2295
2295
|
"thumbLabel"
|
|
2296
2296
|
]), z = I(() => {
|
|
@@ -2304,20 +2304,20 @@ const Vr = /* @__PURE__ */ Re($r, [["render", Cr]]), Pr = /* @__PURE__ */ S({
|
|
|
2304
2304
|
]), { property: J } = a(e, ["settings", "ticks"]), Y = I(() => {
|
|
2305
2305
|
if (!J.value)
|
|
2306
2306
|
return;
|
|
2307
|
-
const
|
|
2307
|
+
const ve = {};
|
|
2308
2308
|
for (const { value: nt, label: wt } of J.value)
|
|
2309
|
-
|
|
2310
|
-
if (!Wo(
|
|
2311
|
-
return
|
|
2309
|
+
ve[nt] = wt;
|
|
2310
|
+
if (!Wo(ve))
|
|
2311
|
+
return ve;
|
|
2312
2312
|
}), { property: j } = a(e, [
|
|
2313
2313
|
"settings",
|
|
2314
2314
|
"tickSize"
|
|
2315
2315
|
]), { property: L } = a(e, [
|
|
2316
2316
|
"settings",
|
|
2317
2317
|
"trackColor"
|
|
2318
|
-
]), { color: U } = Q(L), { property: oe } = a(e, ["settings", "value"]), { property:
|
|
2319
|
-
return (
|
|
2320
|
-
const wt =
|
|
2318
|
+
]), { color: U } = Q(L), { property: oe } = a(e, ["settings", "value"]), { property: ge } = a(e, ["slots", "append"]), { property: Le } = a(e, ["slots", "prepend"]);
|
|
2319
|
+
return (ve, nt) => {
|
|
2320
|
+
const wt = R("v-slider");
|
|
2321
2321
|
return w(), C(r(G), {
|
|
2322
2322
|
block: "",
|
|
2323
2323
|
mask: ""
|
|
@@ -2337,20 +2337,20 @@ const Vr = /* @__PURE__ */ Re($r, [["render", Cr]]), Pr = /* @__PURE__ */ S({
|
|
|
2337
2337
|
reverse: r(f),
|
|
2338
2338
|
"show-ticks": g.value,
|
|
2339
2339
|
step: r(k),
|
|
2340
|
-
theme: r(
|
|
2341
|
-
"thumb-color": r(
|
|
2340
|
+
theme: r(_),
|
|
2341
|
+
"thumb-color": r(h),
|
|
2342
2342
|
"thumb-label": z.value,
|
|
2343
2343
|
"thumb-size": r(T),
|
|
2344
2344
|
"tick-size": r(j),
|
|
2345
2345
|
ticks: Y.value,
|
|
2346
2346
|
"track-color": r(U)
|
|
2347
2347
|
}, rn({ _: 2 }, [
|
|
2348
|
-
r(
|
|
2348
|
+
r(ge) ? {
|
|
2349
2349
|
name: "append",
|
|
2350
2350
|
fn: V(() => [
|
|
2351
2351
|
D(r(Ce), {
|
|
2352
2352
|
"node-id": "append",
|
|
2353
|
-
"ref-context": { compId: r(
|
|
2353
|
+
"ref-context": { compId: r(ge) },
|
|
2354
2354
|
state: {}
|
|
2355
2355
|
}, null, 8, ["ref-context"])
|
|
2356
2356
|
]),
|
|
@@ -2386,7 +2386,7 @@ const Vr = /* @__PURE__ */ Re($r, [["render", Cr]]), Pr = /* @__PURE__ */ S({
|
|
|
2386
2386
|
"hideActions"
|
|
2387
2387
|
]), { theme: s } = H(), { property: i } = a(e, ["settings", "value"]);
|
|
2388
2388
|
return (l, c) => {
|
|
2389
|
-
const u =
|
|
2389
|
+
const u = R("v-stepper");
|
|
2390
2390
|
return w(), C(u, {
|
|
2391
2391
|
modelValue: r(i),
|
|
2392
2392
|
"onUpdate:modelValue": c[0] || (c[0] = (m) => ne(i) ? i.value = m : null),
|
|
@@ -2402,7 +2402,7 @@ const Vr = /* @__PURE__ */ Re($r, [["render", Cr]]), Pr = /* @__PURE__ */ S({
|
|
|
2402
2402
|
}
|
|
2403
2403
|
}), il = {};
|
|
2404
2404
|
function sl(t, n) {
|
|
2405
|
-
const e =
|
|
2405
|
+
const e = R("v-stepper-header");
|
|
2406
2406
|
return w(), C(e, null, {
|
|
2407
2407
|
default: V(() => [
|
|
2408
2408
|
O(t.$slots, "default")
|
|
@@ -2410,7 +2410,7 @@ function sl(t, n) {
|
|
|
2410
2410
|
_: 3
|
|
2411
2411
|
});
|
|
2412
2412
|
}
|
|
2413
|
-
const rl = /* @__PURE__ */
|
|
2413
|
+
const rl = /* @__PURE__ */ Be(il, [["render", sl]]), ll = /* @__PURE__ */ S({
|
|
2414
2414
|
__name: "index",
|
|
2415
2415
|
props: {
|
|
2416
2416
|
nodeId: {},
|
|
@@ -2420,7 +2420,7 @@ const rl = /* @__PURE__ */ Re(il, [["render", sl]]), ll = /* @__PURE__ */ S({
|
|
|
2420
2420
|
setup(t) {
|
|
2421
2421
|
const n = t, { node: e } = P(n), { property: o } = a(e, ["settings", "value"]);
|
|
2422
2422
|
return (s, i) => {
|
|
2423
|
-
const l =
|
|
2423
|
+
const l = R("v-stepper-item");
|
|
2424
2424
|
return w(), C(l, { value: r(o) }, {
|
|
2425
2425
|
default: V(() => [
|
|
2426
2426
|
O(s.$slots, "default")
|
|
@@ -2431,7 +2431,7 @@ const rl = /* @__PURE__ */ Re(il, [["render", sl]]), ll = /* @__PURE__ */ S({
|
|
|
2431
2431
|
}
|
|
2432
2432
|
}), al = {};
|
|
2433
2433
|
function cl(t, n) {
|
|
2434
|
-
const e =
|
|
2434
|
+
const e = R("v-stepper-window");
|
|
2435
2435
|
return w(), C(e, null, {
|
|
2436
2436
|
default: V(() => [
|
|
2437
2437
|
O(t.$slots, "default")
|
|
@@ -2439,7 +2439,7 @@ function cl(t, n) {
|
|
|
2439
2439
|
_: 3
|
|
2440
2440
|
});
|
|
2441
2441
|
}
|
|
2442
|
-
const ul = /* @__PURE__ */
|
|
2442
|
+
const ul = /* @__PURE__ */ Be(al, [["render", cl]]), ml = /* @__PURE__ */ S({
|
|
2443
2443
|
__name: "index",
|
|
2444
2444
|
props: {
|
|
2445
2445
|
nodeId: {},
|
|
@@ -2449,7 +2449,7 @@ const ul = /* @__PURE__ */ Re(al, [["render", cl]]), ml = /* @__PURE__ */ S({
|
|
|
2449
2449
|
setup(t) {
|
|
2450
2450
|
const n = t, { node: e } = P(n), { property: o } = a(e, ["settings", "value"]);
|
|
2451
2451
|
return (s, i) => {
|
|
2452
|
-
const l =
|
|
2452
|
+
const l = R("v-stepper-window-item");
|
|
2453
2453
|
return w(), C(l, { value: r(o) }, {
|
|
2454
2454
|
default: V(() => [
|
|
2455
2455
|
O(s.$slots, "default")
|
|
@@ -2480,10 +2480,10 @@ const ul = /* @__PURE__ */ Re(al, [["render", cl]]), ml = /* @__PURE__ */ S({
|
|
|
2480
2480
|
"indeterminate"
|
|
2481
2481
|
]), { property: u } = a(e, ["settings", "inline"]), { property: m } = a(e, ["settings", "inset"]), { property: d } = a(e, ["settings", "label"]), { property: p } = a(e, ["settings", "loading"]), { theme: f } = H(), { property: b } = a(e, ["settings", "value"]);
|
|
2482
2482
|
return (g, k) => {
|
|
2483
|
-
const
|
|
2483
|
+
const _ = R("v-switch");
|
|
2484
2484
|
return w(), C(r(G), { mask: "" }, {
|
|
2485
2485
|
default: V(() => [
|
|
2486
|
-
D(
|
|
2486
|
+
D(_, {
|
|
2487
2487
|
modelValue: r(b),
|
|
2488
2488
|
"onUpdate:modelValue": k[0] || (k[0] = (x) => ne(b) ? b.value = x : null),
|
|
2489
2489
|
density: r(o),
|
|
@@ -2515,11 +2515,11 @@ const ul = /* @__PURE__ */ Re(al, [["render", cl]]), ml = /* @__PURE__ */ S({
|
|
|
2515
2515
|
return o === "editor" && (u.pointerEvents = "none"), u;
|
|
2516
2516
|
});
|
|
2517
2517
|
return (u, m) => {
|
|
2518
|
-
const d =
|
|
2518
|
+
const d = R("v-tab");
|
|
2519
2519
|
return w(), C(r(G), { mask: "" }, {
|
|
2520
2520
|
default: V(() => [
|
|
2521
2521
|
D(d, {
|
|
2522
|
-
style:
|
|
2522
|
+
style: de(c.value),
|
|
2523
2523
|
text: r(s),
|
|
2524
2524
|
theme: r(i),
|
|
2525
2525
|
value: r(l)
|
|
@@ -2563,19 +2563,19 @@ const ul = /* @__PURE__ */ Re(al, [["render", cl]]), ml = /* @__PURE__ */ S({
|
|
|
2563
2563
|
]), { property: b } = a(e, ["settings", "grow"]), { property: g } = a(e, [
|
|
2564
2564
|
"settings",
|
|
2565
2565
|
"hideSlider"
|
|
2566
|
-
]), { property: k } = a(e, ["settings", "items"]), { property:
|
|
2566
|
+
]), { property: k } = a(e, ["settings", "items"]), { property: _ } = a(e, [
|
|
2567
2567
|
"settings",
|
|
2568
2568
|
"mandatory"
|
|
2569
2569
|
]), { property: x } = a(e, [
|
|
2570
2570
|
"settings",
|
|
2571
2571
|
"showArrows"
|
|
2572
|
-
]), { property:
|
|
2572
|
+
]), { property: h } = a(e, [
|
|
2573
2573
|
"settings",
|
|
2574
2574
|
"color",
|
|
2575
2575
|
"sliderColor"
|
|
2576
|
-
]), { color: v } = Q(
|
|
2576
|
+
]), { color: v } = Q(h), { property: z } = a(e, ["settings", "stacked"]), { theme: T } = H(), { property: J } = a(e, ["settings", "value"]);
|
|
2577
2577
|
return (Y, j) => {
|
|
2578
|
-
const L =
|
|
2578
|
+
const L = R("v-tabs");
|
|
2579
2579
|
return w(), C(r(G), {
|
|
2580
2580
|
block: "",
|
|
2581
2581
|
mask: ""
|
|
@@ -2595,7 +2595,7 @@ const ul = /* @__PURE__ */ Re(al, [["render", cl]]), ml = /* @__PURE__ */ S({
|
|
|
2595
2595
|
grow: r(b),
|
|
2596
2596
|
"hide-slider": r(g),
|
|
2597
2597
|
items: r(k),
|
|
2598
|
-
mandatory: r(
|
|
2598
|
+
mandatory: r(_),
|
|
2599
2599
|
"show-arrows": r(x),
|
|
2600
2600
|
"slider-color": r(v),
|
|
2601
2601
|
stacked: r(z),
|
|
@@ -2664,17 +2664,17 @@ const ul = /* @__PURE__ */ Re(al, [["render", cl]]), ml = /* @__PURE__ */ S({
|
|
|
2664
2664
|
]), { property: f } = a(e, ["settings", "reverse"]), { property: b } = a(e, ["settings", "rows"]), { property: g } = a(e, [
|
|
2665
2665
|
"settings",
|
|
2666
2666
|
"singleLine"
|
|
2667
|
-
]), { theme: k } = H(), { property:
|
|
2668
|
-
return (
|
|
2669
|
-
const z =
|
|
2667
|
+
]), { theme: k } = H(), { property: _ } = a(e, ["settings", "value"]), { property: x } = a(e, ["settings", "variant"]);
|
|
2668
|
+
return (h, v) => {
|
|
2669
|
+
const z = R("v-textarea");
|
|
2670
2670
|
return w(), C(r(G), {
|
|
2671
2671
|
block: "",
|
|
2672
2672
|
mask: ""
|
|
2673
2673
|
}, {
|
|
2674
2674
|
default: V(() => [
|
|
2675
2675
|
D(z, {
|
|
2676
|
-
modelValue: r(
|
|
2677
|
-
"onUpdate:modelValue": v[0] || (v[0] = (T) => ne(
|
|
2676
|
+
modelValue: r(_),
|
|
2677
|
+
"onUpdate:modelValue": v[0] || (v[0] = (T) => ne(_) ? _.value = T : null),
|
|
2678
2678
|
"auto-grow": r(o),
|
|
2679
2679
|
clearable: r(s),
|
|
2680
2680
|
density: r(i),
|
|
@@ -2730,10 +2730,10 @@ const ul = /* @__PURE__ */ Re(al, [["render", cl]]), ml = /* @__PURE__ */ S({
|
|
|
2730
2730
|
]), { property: k } = a(e, [
|
|
2731
2731
|
"settings",
|
|
2732
2732
|
"prependInnerIcon"
|
|
2733
|
-
]), { property:
|
|
2733
|
+
]), { property: _ } = a(e, [
|
|
2734
2734
|
"settings",
|
|
2735
2735
|
"readonly"
|
|
2736
|
-
]), { property: x } = a(e, ["settings", "reverse"]), { property:
|
|
2736
|
+
]), { property: x } = a(e, ["settings", "reverse"]), { property: h } = a(e, [
|
|
2737
2737
|
"settings",
|
|
2738
2738
|
"singleLine"
|
|
2739
2739
|
]), { property: v } = a(e, ["settings", "suffix"]), { theme: z } = H(), { property: T } = a(e, ["settings", "value"]), { property: J } = a(e, ["settings", "variant"]), { property: Y } = a(e, ["slots", "append"]), { property: j } = a(e, [
|
|
@@ -2743,8 +2743,8 @@ const ul = /* @__PURE__ */ Re(al, [["render", cl]]), ml = /* @__PURE__ */ S({
|
|
|
2743
2743
|
"slots",
|
|
2744
2744
|
"prependInner"
|
|
2745
2745
|
]);
|
|
2746
|
-
return (oe,
|
|
2747
|
-
const Le =
|
|
2746
|
+
return (oe, ge) => {
|
|
2747
|
+
const Le = R("v-text-field");
|
|
2748
2748
|
return w(), C(r(G), {
|
|
2749
2749
|
block: "",
|
|
2750
2750
|
mask: ""
|
|
@@ -2752,7 +2752,7 @@ const ul = /* @__PURE__ */ Re(al, [["render", cl]]), ml = /* @__PURE__ */ S({
|
|
|
2752
2752
|
default: V(() => [
|
|
2753
2753
|
D(Le, {
|
|
2754
2754
|
modelValue: r(T),
|
|
2755
|
-
"onUpdate:modelValue":
|
|
2755
|
+
"onUpdate:modelValue": ge[0] || (ge[0] = (ve) => ne(T) ? T.value = ve : null),
|
|
2756
2756
|
"append-icon": r(o),
|
|
2757
2757
|
"append-inner-icon": r(s),
|
|
2758
2758
|
autofocus: r(i),
|
|
@@ -2766,9 +2766,9 @@ const ul = /* @__PURE__ */ Re(al, [["render", cl]]), ml = /* @__PURE__ */ S({
|
|
|
2766
2766
|
prefix: r(b),
|
|
2767
2767
|
"prepend-icon": r(g),
|
|
2768
2768
|
"prepend-inner-icon": r(k),
|
|
2769
|
-
readonly: r(
|
|
2769
|
+
readonly: r(_),
|
|
2770
2770
|
reverse: r(x),
|
|
2771
|
-
"single-line": r(
|
|
2771
|
+
"single-line": r(h),
|
|
2772
2772
|
suffix: r(v),
|
|
2773
2773
|
theme: r(z),
|
|
2774
2774
|
variant: r(J)
|
|
@@ -2861,9 +2861,9 @@ const ul = /* @__PURE__ */ Re(al, [["render", cl]]), ml = /* @__PURE__ */ S({
|
|
|
2861
2861
|
"settings",
|
|
2862
2862
|
"line",
|
|
2863
2863
|
"truncate"
|
|
2864
|
-
]), { theme:
|
|
2865
|
-
return (x,
|
|
2866
|
-
const v =
|
|
2864
|
+
]), { theme: _ } = H();
|
|
2865
|
+
return (x, h) => {
|
|
2866
|
+
const v = R("v-timeline");
|
|
2867
2867
|
return w(), C(v, {
|
|
2868
2868
|
align: r(o),
|
|
2869
2869
|
density: r(s),
|
|
@@ -2875,7 +2875,7 @@ const ul = /* @__PURE__ */ Re(al, [["render", cl]]), ml = /* @__PURE__ */ S({
|
|
|
2875
2875
|
"line-inset": r(f),
|
|
2876
2876
|
"line-thickness": r(b),
|
|
2877
2877
|
side: r(g),
|
|
2878
|
-
theme: r(
|
|
2878
|
+
theme: r(_),
|
|
2879
2879
|
"truncate-line": r(k)
|
|
2880
2880
|
}, {
|
|
2881
2881
|
default: V(() => [
|
|
@@ -2887,7 +2887,7 @@ const ul = /* @__PURE__ */ Re(al, [["render", cl]]), ml = /* @__PURE__ */ S({
|
|
|
2887
2887
|
}
|
|
2888
2888
|
}), _l = {};
|
|
2889
2889
|
function vl(t, n) {
|
|
2890
|
-
const e =
|
|
2890
|
+
const e = R("v-timeline-item");
|
|
2891
2891
|
return w(), C(e, null, {
|
|
2892
2892
|
default: V(() => [
|
|
2893
2893
|
O(t.$slots, "default")
|
|
@@ -2895,7 +2895,7 @@ function vl(t, n) {
|
|
|
2895
2895
|
_: 3
|
|
2896
2896
|
});
|
|
2897
2897
|
}
|
|
2898
|
-
const xl = /* @__PURE__ */
|
|
2898
|
+
const xl = /* @__PURE__ */ Be(_l, [["render", vl]]), kl = /* @__PURE__ */ S({
|
|
2899
2899
|
__name: "index",
|
|
2900
2900
|
props: {
|
|
2901
2901
|
nodeId: {},
|
|
@@ -2917,7 +2917,7 @@ const xl = /* @__PURE__ */ Re(_l, [["render", vl]]), kl = /* @__PURE__ */ S({
|
|
|
2917
2917
|
"showArrows"
|
|
2918
2918
|
]), { property: u } = a(e, ["settings", "touch"]), { theme: m } = H(), { property: d } = a(e, ["settings", "value"]);
|
|
2919
2919
|
return (p, f) => {
|
|
2920
|
-
const b =
|
|
2920
|
+
const b = R("v-window");
|
|
2921
2921
|
return w(), C(b, {
|
|
2922
2922
|
modelValue: r(d),
|
|
2923
2923
|
"onUpdate:modelValue": f[0] || (f[0] = (g) => ne(d) ? d.value = g : null),
|
|
@@ -2938,7 +2938,7 @@ const xl = /* @__PURE__ */ Re(_l, [["render", vl]]), kl = /* @__PURE__ */ S({
|
|
|
2938
2938
|
}
|
|
2939
2939
|
}), wl = {};
|
|
2940
2940
|
function Il(t, n) {
|
|
2941
|
-
const e =
|
|
2941
|
+
const e = R("v-window-item");
|
|
2942
2942
|
return w(), C(e, null, {
|
|
2943
2943
|
default: V(() => [
|
|
2944
2944
|
O(t.$slots, "default")
|
|
@@ -2946,7 +2946,7 @@ function Il(t, n) {
|
|
|
2946
2946
|
_: 3
|
|
2947
2947
|
});
|
|
2948
2948
|
}
|
|
2949
|
-
const Sl = /* @__PURE__ */
|
|
2949
|
+
const Sl = /* @__PURE__ */ Be(wl, [["render", Il]]), $l = /* @__PURE__ */ S({
|
|
2950
2950
|
__name: "entry",
|
|
2951
2951
|
props: {
|
|
2952
2952
|
subtype: {},
|
|
@@ -2959,7 +2959,7 @@ const Sl = /* @__PURE__ */ Re(wl, [["render", Il]]), $l = /* @__PURE__ */ S({
|
|
|
2959
2959
|
console.log(`<element/${t.nodeId}/multiple_ref_v1/${t.instance}> destroyed`);
|
|
2960
2960
|
});
|
|
2961
2961
|
const n = Z(), e = le(), o = I(() => F(e.value));
|
|
2962
|
-
Pe(o),
|
|
2962
|
+
Pe(o), ke(n) && tt(o, "multipleRef", t.nodeId, t.instance, _e());
|
|
2963
2963
|
const s = (l) => {
|
|
2964
2964
|
const c = we[l.key];
|
|
2965
2965
|
if (!c) {
|
|
@@ -2997,7 +2997,7 @@ const Sl = /* @__PURE__ */ Re(wl, [["render", Il]]), $l = /* @__PURE__ */ S({
|
|
|
2997
2997
|
};
|
|
2998
2998
|
return (l, c) => (w(), C(i));
|
|
2999
2999
|
}
|
|
3000
|
-
}), Cl = ["position", "rotation", "scale"], Vl = { style: { userSelect: "none" } },
|
|
3000
|
+
}), Cl = ["position", "rotation", "scale"], Vl = { style: { userSelect: "none" } }, ce = /* @__PURE__ */ S({
|
|
3001
3001
|
__name: "index",
|
|
3002
3002
|
props: {
|
|
3003
3003
|
position: {},
|
|
@@ -3037,24 +3037,24 @@ const Sl = /* @__PURE__ */ Re(wl, [["render", Il]]), $l = /* @__PURE__ */ S({
|
|
|
3037
3037
|
Pe(l);
|
|
3038
3038
|
const c = I(() => e.refContext?.compId);
|
|
3039
3039
|
et(c, l);
|
|
3040
|
-
const { applySize: u } =
|
|
3041
|
-
const
|
|
3042
|
-
return l.value?.type === "common" && u(
|
|
3043
|
-
}), { position: d, rotation: p, scale: f } =
|
|
3044
|
-
|
|
3040
|
+
const { applySize: u } = be(e, o), m = I(() => {
|
|
3041
|
+
const h = {};
|
|
3042
|
+
return l.value?.type === "common" && u(h), h;
|
|
3043
|
+
}), { position: d, rotation: p, scale: f } = ue(o), { property: b } = a(o, ["instances"]), g = (h, v) => {
|
|
3044
|
+
h.findIndex((z) => z === v) >= 0 || h.push(v);
|
|
3045
3045
|
}, k = I(() => {
|
|
3046
|
-
const
|
|
3046
|
+
const h = [];
|
|
3047
3047
|
if (!Array.isArray(b.value))
|
|
3048
|
-
return
|
|
3048
|
+
return h;
|
|
3049
3049
|
for (const v of b.value)
|
|
3050
|
-
typeof v == "string" && v && g(
|
|
3051
|
-
return
|
|
3052
|
-
}),
|
|
3053
|
-
key:
|
|
3050
|
+
typeof v == "string" && v && g(h, v);
|
|
3051
|
+
return h;
|
|
3052
|
+
}), _ = (h, v) => K($l, {
|
|
3053
|
+
key: h,
|
|
3054
3054
|
subtype: v,
|
|
3055
3055
|
nodeId: e.nodeId,
|
|
3056
3056
|
refContext: e.refContext,
|
|
3057
|
-
instance:
|
|
3057
|
+
instance: h
|
|
3058
3058
|
}), x = () => {
|
|
3059
3059
|
if (!e.refContext) {
|
|
3060
3060
|
console.assert(!1, "invalid of ref context");
|
|
@@ -3064,21 +3064,21 @@ const Sl = /* @__PURE__ */ Re(wl, [["render", Il]]), $l = /* @__PURE__ */ S({
|
|
|
3064
3064
|
console.assert(!1, "invalid of data");
|
|
3065
3065
|
return;
|
|
3066
3066
|
}
|
|
3067
|
-
const { i18n:
|
|
3067
|
+
const { i18n: h } = he;
|
|
3068
3068
|
if (Ye(e.refContext, s))
|
|
3069
3069
|
return i.value.type === "common" ? K(
|
|
3070
3070
|
"div",
|
|
3071
3071
|
{ id: n.id, style: m.value },
|
|
3072
|
-
|
|
3073
|
-
) : i.value.type === "scene" ? K(
|
|
3072
|
+
h.global.t("x-runtime-lib.circularReference")
|
|
3073
|
+
) : i.value.type === "scene" ? K(ce, {
|
|
3074
3074
|
name: n.name,
|
|
3075
3075
|
position: d.value,
|
|
3076
3076
|
rotation: p.value,
|
|
3077
3077
|
scale: f.value,
|
|
3078
|
-
label:
|
|
3078
|
+
label: h.global.t("x-runtime-lib.circularReference")
|
|
3079
3079
|
}) : void 0;
|
|
3080
3080
|
if (!l.value)
|
|
3081
|
-
return i.value.type === "common" ? K("div", { id: n.id, style: m.value }) : i.value.type === "scene" ? K(
|
|
3081
|
+
return i.value.type === "common" ? K("div", { id: n.id, style: m.value }) : i.value.type === "scene" ? K(ce, {
|
|
3082
3082
|
name: n.name,
|
|
3083
3083
|
position: d.value,
|
|
3084
3084
|
rotation: p.value,
|
|
@@ -3097,12 +3097,12 @@ const Sl = /* @__PURE__ */ Re(wl, [["render", Il]]), $l = /* @__PURE__ */ S({
|
|
|
3097
3097
|
style: m.value
|
|
3098
3098
|
},
|
|
3099
3099
|
{
|
|
3100
|
-
default: () => k.value.map((z) =>
|
|
3100
|
+
default: () => k.value.map((z) => _(z, v))
|
|
3101
3101
|
}
|
|
3102
3102
|
);
|
|
3103
3103
|
if (v === "scene")
|
|
3104
3104
|
return K(
|
|
3105
|
-
|
|
3105
|
+
ce,
|
|
3106
3106
|
{
|
|
3107
3107
|
name: n.name,
|
|
3108
3108
|
position: d.value,
|
|
@@ -3110,11 +3110,11 @@ const Sl = /* @__PURE__ */ Re(wl, [["render", Il]]), $l = /* @__PURE__ */ S({
|
|
|
3110
3110
|
scale: f.value
|
|
3111
3111
|
},
|
|
3112
3112
|
{
|
|
3113
|
-
default: () => k.value.map((z) =>
|
|
3113
|
+
default: () => k.value.map((z) => _(z, v))
|
|
3114
3114
|
}
|
|
3115
3115
|
);
|
|
3116
3116
|
};
|
|
3117
|
-
return (
|
|
3117
|
+
return (h, v) => (w(), C(x));
|
|
3118
3118
|
}
|
|
3119
3119
|
}), Ll = /* @__PURE__ */ S({
|
|
3120
3120
|
__name: "entry",
|
|
@@ -3129,7 +3129,7 @@ const Sl = /* @__PURE__ */ Re(wl, [["render", Il]]), $l = /* @__PURE__ */ S({
|
|
|
3129
3129
|
console.log(`<element/${t.nodeId}/multiple_slot_v1/${t.instance}> destroyed`);
|
|
3130
3130
|
});
|
|
3131
3131
|
const n = Z(), e = le(), o = I(() => F(e.value));
|
|
3132
|
-
Pe(o),
|
|
3132
|
+
Pe(o), ke(n) && tt(o, "multipleCustomSlot", t.nodeId, t.instance, _e());
|
|
3133
3133
|
const s = (l) => {
|
|
3134
3134
|
const c = we[l.key];
|
|
3135
3135
|
if (!c) {
|
|
@@ -3179,24 +3179,24 @@ const Sl = /* @__PURE__ */ Re(wl, [["render", Il]]), $l = /* @__PURE__ */ S({
|
|
|
3179
3179
|
Pe(l);
|
|
3180
3180
|
const c = I(() => e.refContext?.compId);
|
|
3181
3181
|
et(c, l);
|
|
3182
|
-
const { applySize: u } =
|
|
3183
|
-
const
|
|
3184
|
-
return l.value?.type === "common" && u(
|
|
3185
|
-
}), { position: d, rotation: p, scale: f } =
|
|
3186
|
-
|
|
3182
|
+
const { applySize: u } = be(e, o), m = I(() => {
|
|
3183
|
+
const h = {};
|
|
3184
|
+
return l.value?.type === "common" && u(h), h;
|
|
3185
|
+
}), { position: d, rotation: p, scale: f } = ue(o), { property: b } = a(o, ["instances"]), g = (h, v) => {
|
|
3186
|
+
h.findIndex((z) => z === v) >= 0 || h.push(v);
|
|
3187
3187
|
}, k = I(() => {
|
|
3188
|
-
const
|
|
3188
|
+
const h = [];
|
|
3189
3189
|
if (!Array.isArray(b.value))
|
|
3190
|
-
return
|
|
3190
|
+
return h;
|
|
3191
3191
|
for (const v of b.value)
|
|
3192
|
-
typeof v == "string" && v && g(
|
|
3193
|
-
return
|
|
3194
|
-
}),
|
|
3195
|
-
key:
|
|
3192
|
+
typeof v == "string" && v && g(h, v);
|
|
3193
|
+
return h;
|
|
3194
|
+
}), _ = (h, v) => K(Ll, {
|
|
3195
|
+
key: h,
|
|
3196
3196
|
subtype: v,
|
|
3197
3197
|
nodeId: e.nodeId,
|
|
3198
3198
|
refContext: e.refContext,
|
|
3199
|
-
instance:
|
|
3199
|
+
instance: h
|
|
3200
3200
|
}), x = () => {
|
|
3201
3201
|
if (!e.refContext) {
|
|
3202
3202
|
console.assert(!1, "invalid of ref context");
|
|
@@ -3206,21 +3206,21 @@ const Sl = /* @__PURE__ */ Re(wl, [["render", Il]]), $l = /* @__PURE__ */ S({
|
|
|
3206
3206
|
console.assert(!1, "invalid of data");
|
|
3207
3207
|
return;
|
|
3208
3208
|
}
|
|
3209
|
-
const { i18n:
|
|
3209
|
+
const { i18n: h } = he;
|
|
3210
3210
|
if (Ye(e.refContext, s))
|
|
3211
3211
|
return i.value.type === "common" ? K(
|
|
3212
3212
|
"div",
|
|
3213
3213
|
{ id: n.id, style: m.value },
|
|
3214
|
-
|
|
3215
|
-
) : i.value.type === "scene" ? K(
|
|
3214
|
+
h.global.t("x-runtime-lib.circularReference")
|
|
3215
|
+
) : i.value.type === "scene" ? K(ce, {
|
|
3216
3216
|
name: n.name,
|
|
3217
3217
|
position: d.value,
|
|
3218
3218
|
rotation: p.value,
|
|
3219
3219
|
scale: f.value,
|
|
3220
|
-
label:
|
|
3220
|
+
label: h.global.t("x-runtime-lib.circularReference")
|
|
3221
3221
|
}) : void 0;
|
|
3222
3222
|
if (!l.value)
|
|
3223
|
-
return i.value.type === "common" ? K("div", { id: n.id, style: m.value }) : i.value.type === "scene" ? K(
|
|
3223
|
+
return i.value.type === "common" ? K("div", { id: n.id, style: m.value }) : i.value.type === "scene" ? K(ce, {
|
|
3224
3224
|
name: n.name,
|
|
3225
3225
|
position: d.value,
|
|
3226
3226
|
rotation: p.value,
|
|
@@ -3239,12 +3239,12 @@ const Sl = /* @__PURE__ */ Re(wl, [["render", Il]]), $l = /* @__PURE__ */ S({
|
|
|
3239
3239
|
style: m.value
|
|
3240
3240
|
},
|
|
3241
3241
|
{
|
|
3242
|
-
default: () => k.value.map((z) =>
|
|
3242
|
+
default: () => k.value.map((z) => _(z, v))
|
|
3243
3243
|
}
|
|
3244
3244
|
);
|
|
3245
3245
|
if (v === "scene")
|
|
3246
3246
|
return K(
|
|
3247
|
-
|
|
3247
|
+
ce,
|
|
3248
3248
|
{
|
|
3249
3249
|
name: n.name,
|
|
3250
3250
|
position: d.value,
|
|
@@ -3252,11 +3252,11 @@ const Sl = /* @__PURE__ */ Re(wl, [["render", Il]]), $l = /* @__PURE__ */ S({
|
|
|
3252
3252
|
scale: f.value
|
|
3253
3253
|
},
|
|
3254
3254
|
{
|
|
3255
|
-
default: () => k.value.map((z) =>
|
|
3255
|
+
default: () => k.value.map((z) => _(z, v))
|
|
3256
3256
|
}
|
|
3257
3257
|
);
|
|
3258
3258
|
};
|
|
3259
|
-
return (
|
|
3259
|
+
return (h, v) => (w(), C(x));
|
|
3260
3260
|
}
|
|
3261
3261
|
}), Tl = /* @__PURE__ */ S({
|
|
3262
3262
|
__name: "index",
|
|
@@ -3269,32 +3269,32 @@ const Sl = /* @__PURE__ */ Re(wl, [["render", Il]]), $l = /* @__PURE__ */ S({
|
|
|
3269
3269
|
const n = gt(), e = t, { node: o } = P(e), s = Z(), i = Qe(), l = le(), c = se();
|
|
3270
3270
|
Pe(c);
|
|
3271
3271
|
const u = I(() => e.refContext?.compId);
|
|
3272
|
-
et(u, c),
|
|
3273
|
-
const { applySize: m } =
|
|
3274
|
-
const
|
|
3275
|
-
return l.value?.type === "common" && m(
|
|
3276
|
-
}), { position: p, rotation: f, scale: b } =
|
|
3277
|
-
const x = we[
|
|
3272
|
+
et(u, c), ke(s) && tt(c, "ref", e.nodeId, "", _e());
|
|
3273
|
+
const { applySize: m } = be(e, o), d = I(() => {
|
|
3274
|
+
const _ = {};
|
|
3275
|
+
return l.value?.type === "common" && m(_), _;
|
|
3276
|
+
}), { position: p, rotation: f, scale: b } = ue(o), g = (_) => {
|
|
3277
|
+
const x = we[_.key];
|
|
3278
3278
|
if (!x) {
|
|
3279
|
-
console.assert(!1, `element not found key=${
|
|
3279
|
+
console.assert(!1, `element not found key=${_.key}`);
|
|
3280
3280
|
return;
|
|
3281
3281
|
}
|
|
3282
|
-
const
|
|
3283
|
-
nodeId:
|
|
3282
|
+
const h = {
|
|
3283
|
+
nodeId: _.id
|
|
3284
3284
|
};
|
|
3285
|
-
return Xe(
|
|
3285
|
+
return Xe(_.key) && (h.refContext = {
|
|
3286
3286
|
parent: e.refContext,
|
|
3287
|
-
compId:
|
|
3287
|
+
compId: _.compId
|
|
3288
3288
|
}), K(
|
|
3289
3289
|
x.comp,
|
|
3290
3290
|
{
|
|
3291
|
-
key:
|
|
3292
|
-
...
|
|
3291
|
+
key: _.id,
|
|
3292
|
+
...h
|
|
3293
3293
|
},
|
|
3294
3294
|
{
|
|
3295
3295
|
default: () => {
|
|
3296
3296
|
if (!x.leaf)
|
|
3297
|
-
return
|
|
3297
|
+
return _.children?.map((v) => g(v));
|
|
3298
3298
|
}
|
|
3299
3299
|
}
|
|
3300
3300
|
);
|
|
@@ -3307,21 +3307,21 @@ const Sl = /* @__PURE__ */ Re(wl, [["render", Il]]), $l = /* @__PURE__ */ S({
|
|
|
3307
3307
|
console.assert(!1, "invalid of data");
|
|
3308
3308
|
return;
|
|
3309
3309
|
}
|
|
3310
|
-
const { i18n:
|
|
3310
|
+
const { i18n: _ } = he;
|
|
3311
3311
|
if (Ye(e.refContext, i))
|
|
3312
3312
|
return l.value.type === "common" ? K(
|
|
3313
3313
|
"div",
|
|
3314
3314
|
{ id: n.id, style: d.value },
|
|
3315
|
-
|
|
3316
|
-
) : l.value.type === "scene" ? K(
|
|
3315
|
+
_.global.t("x-runtime-lib.circularReference")
|
|
3316
|
+
) : l.value.type === "scene" ? K(ce, {
|
|
3317
3317
|
name: n.name,
|
|
3318
3318
|
position: p.value,
|
|
3319
3319
|
rotation: f.value,
|
|
3320
3320
|
scale: b.value,
|
|
3321
|
-
label:
|
|
3321
|
+
label: _.global.t("x-runtime-lib.circularReference")
|
|
3322
3322
|
}) : void 0;
|
|
3323
3323
|
if (!c.value)
|
|
3324
|
-
return l.value.type === "common" ? K("div", { id: n.id, style: d.value }) : l.value.type === "scene" ? K(
|
|
3324
|
+
return l.value.type === "common" ? K("div", { id: n.id, style: d.value }) : l.value.type === "scene" ? K(ce, {
|
|
3325
3325
|
name: n.name,
|
|
3326
3326
|
position: p.value,
|
|
3327
3327
|
rotation: f.value,
|
|
@@ -3340,12 +3340,12 @@ const Sl = /* @__PURE__ */ Re(wl, [["render", Il]]), $l = /* @__PURE__ */ S({
|
|
|
3340
3340
|
style: d.value
|
|
3341
3341
|
},
|
|
3342
3342
|
{
|
|
3343
|
-
default: () => c.value?.view.nodeLites.map((
|
|
3343
|
+
default: () => c.value?.view.nodeLites.map((h) => g(h))
|
|
3344
3344
|
}
|
|
3345
3345
|
);
|
|
3346
3346
|
if (x === "scene")
|
|
3347
3347
|
return K(
|
|
3348
|
-
|
|
3348
|
+
ce,
|
|
3349
3349
|
{
|
|
3350
3350
|
name: n.name,
|
|
3351
3351
|
position: p.value,
|
|
@@ -3353,11 +3353,11 @@ const Sl = /* @__PURE__ */ Re(wl, [["render", Il]]), $l = /* @__PURE__ */ S({
|
|
|
3353
3353
|
scale: b.value
|
|
3354
3354
|
},
|
|
3355
3355
|
{
|
|
3356
|
-
default: () => c.value?.view.nodeLites.map((
|
|
3356
|
+
default: () => c.value?.view.nodeLites.map((h) => g(h))
|
|
3357
3357
|
}
|
|
3358
3358
|
);
|
|
3359
3359
|
};
|
|
3360
|
-
return (
|
|
3360
|
+
return (_, x) => (w(), C(k));
|
|
3361
3361
|
}
|
|
3362
3362
|
}), El = /* @__PURE__ */ S({
|
|
3363
3363
|
__name: "index",
|
|
@@ -3386,33 +3386,33 @@ const Sl = /* @__PURE__ */ Re(wl, [["render", Il]]), $l = /* @__PURE__ */ S({
|
|
|
3386
3386
|
const n = gt(), e = t, { node: o } = P(e), s = Z(), i = Qe(), l = le(), c = se();
|
|
3387
3387
|
Pe(c);
|
|
3388
3388
|
const u = I(() => e.refContext?.compId);
|
|
3389
|
-
et(u, c),
|
|
3390
|
-
const { applySize: m } =
|
|
3391
|
-
const
|
|
3392
|
-
return c.value?.type === "common" && m(
|
|
3393
|
-
}), { position: p, rotation: f, scale: b } =
|
|
3394
|
-
function g(
|
|
3395
|
-
const x = we[
|
|
3389
|
+
et(u, c), ke(s) && tt(c, "customSlot", e.nodeId, "", _e());
|
|
3390
|
+
const { applySize: m } = be(e, o), d = I(() => {
|
|
3391
|
+
const _ = {};
|
|
3392
|
+
return c.value?.type === "common" && m(_), _;
|
|
3393
|
+
}), { position: p, rotation: f, scale: b } = ue(o);
|
|
3394
|
+
function g(_) {
|
|
3395
|
+
const x = we[_.key];
|
|
3396
3396
|
if (!x) {
|
|
3397
|
-
console.assert(!1, `element not found key=${
|
|
3397
|
+
console.assert(!1, `element not found key=${_.key}`);
|
|
3398
3398
|
return;
|
|
3399
3399
|
}
|
|
3400
|
-
const
|
|
3401
|
-
nodeId:
|
|
3400
|
+
const h = {
|
|
3401
|
+
nodeId: _.id
|
|
3402
3402
|
};
|
|
3403
|
-
return Xe(
|
|
3403
|
+
return Xe(_.key) && (h.refContext = {
|
|
3404
3404
|
parent: e.refContext,
|
|
3405
|
-
compId:
|
|
3405
|
+
compId: _.compId
|
|
3406
3406
|
}), K(
|
|
3407
3407
|
x.comp,
|
|
3408
3408
|
{
|
|
3409
|
-
key:
|
|
3410
|
-
...
|
|
3409
|
+
key: _.id,
|
|
3410
|
+
...h
|
|
3411
3411
|
},
|
|
3412
3412
|
{
|
|
3413
3413
|
default: () => {
|
|
3414
3414
|
if (!x.leaf)
|
|
3415
|
-
return
|
|
3415
|
+
return _.children?.map((v) => g(v));
|
|
3416
3416
|
}
|
|
3417
3417
|
}
|
|
3418
3418
|
);
|
|
@@ -3426,21 +3426,21 @@ const Sl = /* @__PURE__ */ Re(wl, [["render", Il]]), $l = /* @__PURE__ */ S({
|
|
|
3426
3426
|
console.assert(!1, "invalid of data");
|
|
3427
3427
|
return;
|
|
3428
3428
|
}
|
|
3429
|
-
const { i18n:
|
|
3429
|
+
const { i18n: _ } = he;
|
|
3430
3430
|
if (Ye(e.refContext, i))
|
|
3431
3431
|
return l.value.type === "common" ? K(
|
|
3432
3432
|
"div",
|
|
3433
3433
|
{ id: n.id, style: d.value },
|
|
3434
|
-
|
|
3435
|
-
) : l.value.type === "scene" ? K(
|
|
3434
|
+
_.global.t("x-runtime-lib.circularReference")
|
|
3435
|
+
) : l.value.type === "scene" ? K(ce, {
|
|
3436
3436
|
name: n.name,
|
|
3437
3437
|
position: p.value,
|
|
3438
3438
|
rotation: f.value,
|
|
3439
3439
|
scale: b.value,
|
|
3440
|
-
label:
|
|
3440
|
+
label: _.global.t("x-runtime-lib.circularReference")
|
|
3441
3441
|
}) : void 0;
|
|
3442
3442
|
if (!c.value)
|
|
3443
|
-
return l.value.type === "common" ? K("div", { id: n.id, style: d.value }) : l.value.type === "scene" ? K(
|
|
3443
|
+
return l.value.type === "common" ? K("div", { id: n.id, style: d.value }) : l.value.type === "scene" ? K(ce, {
|
|
3444
3444
|
name: n.name,
|
|
3445
3445
|
position: p.value,
|
|
3446
3446
|
rotation: f.value,
|
|
@@ -3459,12 +3459,12 @@ const Sl = /* @__PURE__ */ Re(wl, [["render", Il]]), $l = /* @__PURE__ */ S({
|
|
|
3459
3459
|
style: d.value
|
|
3460
3460
|
},
|
|
3461
3461
|
{
|
|
3462
|
-
default: () => c.value?.view.nodeLites.map((
|
|
3462
|
+
default: () => c.value?.view.nodeLites.map((h) => g(h))
|
|
3463
3463
|
}
|
|
3464
3464
|
);
|
|
3465
3465
|
if (x === "scene")
|
|
3466
3466
|
return K(
|
|
3467
|
-
|
|
3467
|
+
ce,
|
|
3468
3468
|
{
|
|
3469
3469
|
name: n.name,
|
|
3470
3470
|
position: p.value,
|
|
@@ -3472,11 +3472,11 @@ const Sl = /* @__PURE__ */ Re(wl, [["render", Il]]), $l = /* @__PURE__ */ S({
|
|
|
3472
3472
|
scale: b.value
|
|
3473
3473
|
},
|
|
3474
3474
|
{
|
|
3475
|
-
default: () => c.value?.view.nodeLites.map((
|
|
3475
|
+
default: () => c.value?.view.nodeLites.map((h) => g(h))
|
|
3476
3476
|
}
|
|
3477
3477
|
);
|
|
3478
3478
|
};
|
|
3479
|
-
return (
|
|
3479
|
+
return (_, x) => (w(), C(k));
|
|
3480
3480
|
}
|
|
3481
3481
|
}), y = {
|
|
3482
3482
|
key: "basic",
|
|
@@ -4015,7 +4015,7 @@ const Cn = {
|
|
|
4015
4015
|
slots: []
|
|
4016
4016
|
};
|
|
4017
4017
|
$(Wl);
|
|
4018
|
-
const
|
|
4018
|
+
const Rl = {
|
|
4019
4019
|
key: "scene_keyboard_controls_v1",
|
|
4020
4020
|
name: "x-runtime-lib.keyboardControls",
|
|
4021
4021
|
comp: Ui,
|
|
@@ -4028,8 +4028,8 @@ const Bl = {
|
|
|
4028
4028
|
slots: [],
|
|
4029
4029
|
leaf: !0
|
|
4030
4030
|
};
|
|
4031
|
-
$(
|
|
4032
|
-
const
|
|
4031
|
+
$(Rl);
|
|
4032
|
+
const Bl = {
|
|
4033
4033
|
key: "scene_map_controls_v1",
|
|
4034
4034
|
name: "x-runtime-lib.mapControls",
|
|
4035
4035
|
comp: qi,
|
|
@@ -4042,7 +4042,7 @@ const Rl = {
|
|
|
4042
4042
|
slots: [],
|
|
4043
4043
|
leaf: !0
|
|
4044
4044
|
};
|
|
4045
|
-
$(
|
|
4045
|
+
$(Bl);
|
|
4046
4046
|
const Kl = {
|
|
4047
4047
|
key: "scene_orbit_controls_v1",
|
|
4048
4048
|
name: "x-runtime-lib.orbitControls",
|
|
@@ -4058,7 +4058,7 @@ const Kl = {
|
|
|
4058
4058
|
};
|
|
4059
4059
|
$(Kl);
|
|
4060
4060
|
function Dl(t, n) {
|
|
4061
|
-
const e = `type=${t} subtype=${n}`, o =
|
|
4061
|
+
const e = `type=${t} subtype=${n}`, o = B(t, n);
|
|
4062
4062
|
if (!o) {
|
|
4063
4063
|
console.error(`boxGeometryV1/spawn property tag not found, ${e}`);
|
|
4064
4064
|
return;
|
|
@@ -4097,7 +4097,7 @@ function Dl(t, n) {
|
|
|
4097
4097
|
};
|
|
4098
4098
|
}
|
|
4099
4099
|
function Fl(t, n) {
|
|
4100
|
-
const e = `type=${t} subtype=${n}`, o =
|
|
4100
|
+
const e = `type=${t} subtype=${n}`, o = B(t, n);
|
|
4101
4101
|
if (!o) {
|
|
4102
4102
|
console.error(
|
|
4103
4103
|
`boxGeometryV1/spawnBoxGeometry property tag not found, ${e}`
|
|
@@ -4127,7 +4127,7 @@ function Fl(t, n) {
|
|
|
4127
4127
|
};
|
|
4128
4128
|
}
|
|
4129
4129
|
function Ol(t, n) {
|
|
4130
|
-
const e = `type=${t} subtype=${n}`, o =
|
|
4130
|
+
const e = `type=${t} subtype=${n}`, o = B(t, n);
|
|
4131
4131
|
if (!o) {
|
|
4132
4132
|
console.error(
|
|
4133
4133
|
`boxGeometryV1/spawnMeshBasicMaterial property tag not found, ${e}`
|
|
@@ -4209,7 +4209,7 @@ const Vn = {
|
|
|
4209
4209
|
};
|
|
4210
4210
|
$(zt);
|
|
4211
4211
|
function Nl(t, n) {
|
|
4212
|
-
const e = `type=${t} subtype=${n}`, o =
|
|
4212
|
+
const e = `type=${t} subtype=${n}`, o = B(t, n);
|
|
4213
4213
|
if (!o) {
|
|
4214
4214
|
console.error(`sphereGeometryV1/spawn property tag not found, ${e}`);
|
|
4215
4215
|
return;
|
|
@@ -4248,7 +4248,7 @@ function Nl(t, n) {
|
|
|
4248
4248
|
};
|
|
4249
4249
|
}
|
|
4250
4250
|
function jl(t, n) {
|
|
4251
|
-
const e = `type=${t} subtype=${n}`, o =
|
|
4251
|
+
const e = `type=${t} subtype=${n}`, o = B(t, n);
|
|
4252
4252
|
if (!o) {
|
|
4253
4253
|
console.error(
|
|
4254
4254
|
`sphereGeometryV1/spawnSphereGeometry property tag not found, ${e}`
|
|
@@ -4279,7 +4279,7 @@ function jl(t, n) {
|
|
|
4279
4279
|
};
|
|
4280
4280
|
}
|
|
4281
4281
|
function Gl(t, n) {
|
|
4282
|
-
const e = `type=${t} subtype=${n}`, o =
|
|
4282
|
+
const e = `type=${t} subtype=${n}`, o = B(t, n);
|
|
4283
4283
|
if (!o) {
|
|
4284
4284
|
console.error(
|
|
4285
4285
|
`sphereGeometryV1/spawnMeshBasicMaterial property tag not found, ${e}`
|
|
@@ -4574,7 +4574,7 @@ const He = {
|
|
|
4574
4574
|
};
|
|
4575
4575
|
$(He);
|
|
4576
4576
|
function Yl(t, n) {
|
|
4577
|
-
const e = `type=${t} subtype=${n}`, o =
|
|
4577
|
+
const e = `type=${t} subtype=${n}`, o = B(t, n);
|
|
4578
4578
|
if (!o) {
|
|
4579
4579
|
console.error(`barChartV1/spawn property tag not found, ${e}`);
|
|
4580
4580
|
return;
|
|
@@ -4631,7 +4631,7 @@ const An = {
|
|
|
4631
4631
|
};
|
|
4632
4632
|
$(Et);
|
|
4633
4633
|
function Zl(t, n) {
|
|
4634
|
-
const e = `type=${t} subtype=${n}`, o =
|
|
4634
|
+
const e = `type=${t} subtype=${n}`, o = B(t, n);
|
|
4635
4635
|
if (!o) {
|
|
4636
4636
|
console.error(`lineChartV1/spawn property tag not found, ${e}`);
|
|
4637
4637
|
return;
|
|
@@ -4733,7 +4733,7 @@ const Wn = {
|
|
|
4733
4733
|
};
|
|
4734
4734
|
$(Ql);
|
|
4735
4735
|
function ea(t, n) {
|
|
4736
|
-
const e = `type=${t} subtype=${n}`, o =
|
|
4736
|
+
const e = `type=${t} subtype=${n}`, o = B(t, n);
|
|
4737
4737
|
if (!o) {
|
|
4738
4738
|
console.error(`btnV1/spawn property tag not found, ${e}`);
|
|
4739
4739
|
return;
|
|
@@ -4751,7 +4751,7 @@ function ea(t, n) {
|
|
|
4751
4751
|
}
|
|
4752
4752
|
};
|
|
4753
4753
|
}
|
|
4754
|
-
const ta = F(ee),
|
|
4754
|
+
const ta = F(ee), Rn = {
|
|
4755
4755
|
key: "settings",
|
|
4756
4756
|
name: "x-runtime-lib.settings",
|
|
4757
4757
|
children: [
|
|
@@ -4843,8 +4843,8 @@ const ta = F(ee), Bn = {
|
|
|
4843
4843
|
name: "x-runtime-lib.button",
|
|
4844
4844
|
comp: Sr,
|
|
4845
4845
|
properties: {
|
|
4846
|
-
pageCommon: [y, q,
|
|
4847
|
-
compCommon: [y, q,
|
|
4846
|
+
pageCommon: [y, q, Rn],
|
|
4847
|
+
compCommon: [y, q, Rn]
|
|
4848
4848
|
},
|
|
4849
4849
|
events: [
|
|
4850
4850
|
{
|
|
@@ -4866,7 +4866,7 @@ const na = {
|
|
|
4866
4866
|
}
|
|
4867
4867
|
};
|
|
4868
4868
|
$(na);
|
|
4869
|
-
const
|
|
4869
|
+
const Bn = {
|
|
4870
4870
|
key: "settings",
|
|
4871
4871
|
name: "x-runtime-lib.settings",
|
|
4872
4872
|
children: [
|
|
@@ -4932,13 +4932,13 @@ const Rn = {
|
|
|
4932
4932
|
name: "x-runtime-lib.buttonToggle",
|
|
4933
4933
|
comp: Pr,
|
|
4934
4934
|
properties: {
|
|
4935
|
-
pageCommon: [y,
|
|
4936
|
-
compCommon: [y,
|
|
4935
|
+
pageCommon: [y, Bn],
|
|
4936
|
+
compCommon: [y, Bn]
|
|
4937
4937
|
}
|
|
4938
4938
|
};
|
|
4939
4939
|
$(oa);
|
|
4940
4940
|
function ia(t, n) {
|
|
4941
|
-
const e = `type=${t} subtype=${n}`, o =
|
|
4941
|
+
const e = `type=${t} subtype=${n}`, o = B(t, n);
|
|
4942
4942
|
if (!o) {
|
|
4943
4943
|
console.error(`cardV1/spawn property tag not found, ${e}`);
|
|
4944
4944
|
return;
|
|
@@ -5137,18 +5137,18 @@ const ra = F(ee), Fn = {
|
|
|
5137
5137
|
};
|
|
5138
5138
|
$(Wt);
|
|
5139
5139
|
function la(t, n) {
|
|
5140
|
-
const e = `type=${t} subtype=${n}`, o =
|
|
5140
|
+
const e = `type=${t} subtype=${n}`, o = B(t, n);
|
|
5141
5141
|
if (!o) {
|
|
5142
5142
|
console.error(`chipGroupV1/spawn property tag not found, ${e}`);
|
|
5143
5143
|
return;
|
|
5144
5144
|
}
|
|
5145
|
-
const s =
|
|
5145
|
+
const s = Rt.properties[o];
|
|
5146
5146
|
if (!s) {
|
|
5147
5147
|
console.error(`chipGroupV1/spawn properties not found, ${e}`);
|
|
5148
5148
|
return;
|
|
5149
5149
|
}
|
|
5150
5150
|
const i = A();
|
|
5151
|
-
W(i, s), i.basic.id = E(16), i.basic.key =
|
|
5151
|
+
W(i, s), i.basic.id = E(16), i.basic.key = Rt.key;
|
|
5152
5152
|
const l = ze(t, n, "chip1", "chip 1"), c = ze(t, n, "chip2", "chip 2"), u = ze(t, n, "chip3", "chip 3"), m = ze(t, n, "chip4", "chip 4"), d = ze(t, n, "chip5", "chip 5"), p = ze(t, n, "chip6", "chip 6");
|
|
5153
5153
|
return {
|
|
5154
5154
|
nodeLite: M(i, [
|
|
@@ -5171,7 +5171,7 @@ function la(t, n) {
|
|
|
5171
5171
|
};
|
|
5172
5172
|
}
|
|
5173
5173
|
function ze(t, n, e, o) {
|
|
5174
|
-
const s = `type=${t} subtype=${n}`, i =
|
|
5174
|
+
const s = `type=${t} subtype=${n}`, i = B(t, n);
|
|
5175
5175
|
if (!i) {
|
|
5176
5176
|
console.error(`chipGroupV1/spawnChip property tag not found, ${s}`);
|
|
5177
5177
|
return;
|
|
@@ -5243,7 +5243,7 @@ const On = {
|
|
|
5243
5243
|
default: !1
|
|
5244
5244
|
}
|
|
5245
5245
|
]
|
|
5246
|
-
},
|
|
5246
|
+
}, Rt = {
|
|
5247
5247
|
key: "common_chip_group_v1",
|
|
5248
5248
|
name: "x-runtime-lib.chipGroup",
|
|
5249
5249
|
comp: Er,
|
|
@@ -5253,7 +5253,7 @@ const On = {
|
|
|
5253
5253
|
},
|
|
5254
5254
|
spawn: la
|
|
5255
5255
|
};
|
|
5256
|
-
$(
|
|
5256
|
+
$(Rt);
|
|
5257
5257
|
const aa = {
|
|
5258
5258
|
key: "common_color_picker_v1",
|
|
5259
5259
|
name: "x-runtime-lib.colorPicker",
|
|
@@ -5324,7 +5324,7 @@ const jn = {
|
|
|
5324
5324
|
key: "settings",
|
|
5325
5325
|
name: "x-runtime-lib.settings",
|
|
5326
5326
|
children: [fn]
|
|
5327
|
-
},
|
|
5327
|
+
}, Bt = {
|
|
5328
5328
|
key: "common_container_v1",
|
|
5329
5329
|
name: "x-runtime-lib.container",
|
|
5330
5330
|
comp: Wr,
|
|
@@ -5339,7 +5339,7 @@ const jn = {
|
|
|
5339
5339
|
}
|
|
5340
5340
|
]
|
|
5341
5341
|
};
|
|
5342
|
-
$(
|
|
5342
|
+
$(Bt);
|
|
5343
5343
|
const Gn = {
|
|
5344
5344
|
key: "size",
|
|
5345
5345
|
name: "x-runtime-lib.size",
|
|
@@ -5495,7 +5495,7 @@ const Gn = {
|
|
|
5495
5495
|
}, ua = {
|
|
5496
5496
|
key: "common_data_table_v1",
|
|
5497
5497
|
name: "x-runtime-lib.dataTable",
|
|
5498
|
-
comp:
|
|
5498
|
+
comp: Br,
|
|
5499
5499
|
properties: {
|
|
5500
5500
|
pageCommon: [y, Gn, Hn, Jn],
|
|
5501
5501
|
compCommon: [y, Gn, Hn, Jn]
|
|
@@ -5576,7 +5576,7 @@ const Un = {
|
|
|
5576
5576
|
};
|
|
5577
5577
|
$(Kt);
|
|
5578
5578
|
function da(t, n) {
|
|
5579
|
-
const e = `type=${t} subtype=${n}`, o =
|
|
5579
|
+
const e = `type=${t} subtype=${n}`, o = B(t, n);
|
|
5580
5580
|
if (!o) {
|
|
5581
5581
|
console.error(`flexLayoutV1/spawn property tag not found, ${e}`);
|
|
5582
5582
|
return;
|
|
@@ -5618,7 +5618,7 @@ function da(t, n) {
|
|
|
5618
5618
|
};
|
|
5619
5619
|
}
|
|
5620
5620
|
function fa(t, n) {
|
|
5621
|
-
const e = `type=${t} subtype=${n}`, o =
|
|
5621
|
+
const e = `type=${t} subtype=${n}`, o = B(t, n);
|
|
5622
5622
|
if (!o) {
|
|
5623
5623
|
console.error(
|
|
5624
5624
|
`flexLayoutV1/spawnEntry property tag not found, ${e}`
|
|
@@ -5651,14 +5651,14 @@ function fa(t, n) {
|
|
|
5651
5651
|
};
|
|
5652
5652
|
}
|
|
5653
5653
|
function Dt(t, n, e, o, s, i, l, c, u) {
|
|
5654
|
-
const m = `type=${t} subtype=${n}`, d =
|
|
5654
|
+
const m = `type=${t} subtype=${n}`, d = B(t, n);
|
|
5655
5655
|
if (!d) {
|
|
5656
5656
|
console.error(
|
|
5657
5657
|
`flexLayoutV1/spawnContainer property tag not found, ${m}`
|
|
5658
5658
|
);
|
|
5659
5659
|
return;
|
|
5660
5660
|
}
|
|
5661
|
-
const p =
|
|
5661
|
+
const p = Bt.properties[d];
|
|
5662
5662
|
if (!p) {
|
|
5663
5663
|
console.error(
|
|
5664
5664
|
`flexLayoutV1/spawnContainer properties not found, ${m}`
|
|
@@ -5666,7 +5666,7 @@ function Dt(t, n, e, o, s, i, l, c, u) {
|
|
|
5666
5666
|
return;
|
|
5667
5667
|
}
|
|
5668
5668
|
const f = A();
|
|
5669
|
-
return W(f, p), f.basic.id = E(16), f.basic.key =
|
|
5669
|
+
return W(f, p), f.basic.id = E(16), f.basic.key = Bt.key, o && (f.size.width = o), s && (f.size.minWidth = s), l && (f.size.height = l), c && (f.size.minHeight = c), e && (f.settings.backgroundColor.mode = "custom", f.settings.backgroundColor.custom.light = e, f.settings.backgroundColor.custom.dark = e), {
|
|
5670
5670
|
nodeLite: M(f, []),
|
|
5671
5671
|
nodes: {
|
|
5672
5672
|
[f.basic.id]: f
|
|
@@ -6045,7 +6045,7 @@ const Yn = {
|
|
|
6045
6045
|
};
|
|
6046
6046
|
$(Ft);
|
|
6047
6047
|
function ya(t, n) {
|
|
6048
|
-
const e = `type=${t} subtype=${n}`, o =
|
|
6048
|
+
const e = `type=${t} subtype=${n}`, o = B(t, n);
|
|
6049
6049
|
if (!o) {
|
|
6050
6050
|
console.error(`formV1/spawn property tag not found, ${e}`);
|
|
6051
6051
|
return;
|
|
@@ -6067,7 +6067,7 @@ function ya(t, n) {
|
|
|
6067
6067
|
};
|
|
6068
6068
|
}
|
|
6069
6069
|
function ba(t, n) {
|
|
6070
|
-
const e = `type=${t} subtype=${n}`, o =
|
|
6070
|
+
const e = `type=${t} subtype=${n}`, o = B(t, n);
|
|
6071
6071
|
if (!o) {
|
|
6072
6072
|
console.error(`formV1/spawnTextField property tag not found, ${e}`);
|
|
6073
6073
|
return;
|
|
@@ -6178,7 +6178,7 @@ const _a = {
|
|
|
6178
6178
|
};
|
|
6179
6179
|
$(_a);
|
|
6180
6180
|
function va(t, n) {
|
|
6181
|
-
const e = `type=${t} subtype=${n}`, o =
|
|
6181
|
+
const e = `type=${t} subtype=${n}`, o = B(t, n);
|
|
6182
6182
|
if (!o) {
|
|
6183
6183
|
console.error(`numberInputV1/spawn property tag not found, ${e}`);
|
|
6184
6184
|
return;
|
|
@@ -6520,7 +6520,7 @@ const ka = F(ee), io = {
|
|
|
6520
6520
|
};
|
|
6521
6521
|
$(jt);
|
|
6522
6522
|
function wa(t, n) {
|
|
6523
|
-
const e = `type=${t} subtype=${n}`, o =
|
|
6523
|
+
const e = `type=${t} subtype=${n}`, o = B(t, n);
|
|
6524
6524
|
if (!o) {
|
|
6525
6525
|
console.error(`radioGroupV1/spawn property tag not found, ${e}`);
|
|
6526
6526
|
return;
|
|
@@ -6548,7 +6548,7 @@ function wa(t, n) {
|
|
|
6548
6548
|
};
|
|
6549
6549
|
}
|
|
6550
6550
|
function St(t, n, e, o) {
|
|
6551
|
-
const s = `type=${t} subtype=${n}`, i =
|
|
6551
|
+
const s = `type=${t} subtype=${n}`, i = B(t, n);
|
|
6552
6552
|
if (!i) {
|
|
6553
6553
|
console.error(
|
|
6554
6554
|
`radioGroupV1/spawnEntry property tag not found, ${s}`
|
|
@@ -7077,7 +7077,7 @@ const po = {
|
|
|
7077
7077
|
};
|
|
7078
7078
|
$(qt);
|
|
7079
7079
|
function Va(t, n) {
|
|
7080
|
-
const e = `type=${t} subtype=${n}`, o =
|
|
7080
|
+
const e = `type=${t} subtype=${n}`, o = B(t, n);
|
|
7081
7081
|
if (!o) {
|
|
7082
7082
|
console.error(`stepperV1/spawn property tag not found, ${e}`);
|
|
7083
7083
|
return;
|
|
@@ -7100,7 +7100,7 @@ function Va(t, n) {
|
|
|
7100
7100
|
};
|
|
7101
7101
|
}
|
|
7102
7102
|
function Pa(t, n) {
|
|
7103
|
-
const e = `type=${t} subtype=${n}`, o =
|
|
7103
|
+
const e = `type=${t} subtype=${n}`, o = B(t, n);
|
|
7104
7104
|
if (!o) {
|
|
7105
7105
|
console.error(`stepperV1/spawnHeader property tag not found, ${e}`);
|
|
7106
7106
|
return;
|
|
@@ -7124,7 +7124,7 @@ function Pa(t, n) {
|
|
|
7124
7124
|
};
|
|
7125
7125
|
}
|
|
7126
7126
|
function $t(t, n, e) {
|
|
7127
|
-
const o = `type=${t} subtype=${n}`, s =
|
|
7127
|
+
const o = `type=${t} subtype=${n}`, s = B(t, n);
|
|
7128
7128
|
if (!s) {
|
|
7129
7129
|
console.error(`stepperV1/spawnItem property tag not found, ${o}`);
|
|
7130
7130
|
return;
|
|
@@ -7143,7 +7143,7 @@ function $t(t, n, e) {
|
|
|
7143
7143
|
};
|
|
7144
7144
|
}
|
|
7145
7145
|
function La(t, n) {
|
|
7146
|
-
const e = `type=${t} subtype=${n}`, o =
|
|
7146
|
+
const e = `type=${t} subtype=${n}`, o = B(t, n);
|
|
7147
7147
|
if (!o) {
|
|
7148
7148
|
console.error(`stepperV1/spawnWindow property tag not found, ${e}`);
|
|
7149
7149
|
return;
|
|
@@ -7167,7 +7167,7 @@ function La(t, n) {
|
|
|
7167
7167
|
};
|
|
7168
7168
|
}
|
|
7169
7169
|
function Ct(t, n, e, o) {
|
|
7170
|
-
const s = `type=${t} subtype=${n}`, i =
|
|
7170
|
+
const s = `type=${t} subtype=${n}`, i = B(t, n);
|
|
7171
7171
|
if (!i) {
|
|
7172
7172
|
console.error(
|
|
7173
7173
|
`stepperV1/spawnWindowItem property tag not found, ${s}`
|
|
@@ -7193,7 +7193,7 @@ function Ct(t, n, e, o) {
|
|
|
7193
7193
|
};
|
|
7194
7194
|
}
|
|
7195
7195
|
function za(t, n, e) {
|
|
7196
|
-
const o = `type=${t} subtype=${n}`, s =
|
|
7196
|
+
const o = `type=${t} subtype=${n}`, s = B(t, n);
|
|
7197
7197
|
if (!s) {
|
|
7198
7198
|
console.error(`stepperV1/spawnCard property tag not found, ${o}`);
|
|
7199
7199
|
return;
|
|
@@ -7279,7 +7279,7 @@ const yo = {
|
|
|
7279
7279
|
};
|
|
7280
7280
|
$(Yt);
|
|
7281
7281
|
function Ea(t, n) {
|
|
7282
|
-
const e = `type=${t} subtype=${n}`, o =
|
|
7282
|
+
const e = `type=${t} subtype=${n}`, o = B(t, n);
|
|
7283
7283
|
if (!o) {
|
|
7284
7284
|
console.error(`tabsV1/spawn property tag not found, ${e}`);
|
|
7285
7285
|
return;
|
|
@@ -7303,7 +7303,7 @@ function Ea(t, n) {
|
|
|
7303
7303
|
};
|
|
7304
7304
|
}
|
|
7305
7305
|
function Vt(t, n, e, o) {
|
|
7306
|
-
const s = `type=${t} subtype=${n}`, i =
|
|
7306
|
+
const s = `type=${t} subtype=${n}`, i = B(t, n);
|
|
7307
7307
|
if (!i) {
|
|
7308
7308
|
console.error(`tabsV1/spawnTab property tag not found, ${s}`);
|
|
7309
7309
|
return;
|
|
@@ -7421,7 +7421,7 @@ const bo = {
|
|
|
7421
7421
|
};
|
|
7422
7422
|
$(Zt);
|
|
7423
7423
|
function Aa(t, n) {
|
|
7424
|
-
const e = `type=${t} subtype=${n}`, o =
|
|
7424
|
+
const e = `type=${t} subtype=${n}`, o = B(t, n);
|
|
7425
7425
|
if (!o) {
|
|
7426
7426
|
console.error(`textV1/spawn property tag not found, ${e}`);
|
|
7427
7427
|
return;
|
|
@@ -7538,7 +7538,7 @@ const go = {
|
|
|
7538
7538
|
};
|
|
7539
7539
|
$(Ve);
|
|
7540
7540
|
function Ma(t, n) {
|
|
7541
|
-
const e = `type=${t} subtype=${n}`, o =
|
|
7541
|
+
const e = `type=${t} subtype=${n}`, o = B(t, n);
|
|
7542
7542
|
if (!o) {
|
|
7543
7543
|
console.error(`textareaV1/spawn property tag not found, ${e}`);
|
|
7544
7544
|
return;
|
|
@@ -7650,7 +7650,7 @@ const en = {
|
|
|
7650
7650
|
};
|
|
7651
7651
|
$(en);
|
|
7652
7652
|
function Wa(t, n) {
|
|
7653
|
-
const e = `type=${t} subtype=${n}`, o =
|
|
7653
|
+
const e = `type=${t} subtype=${n}`, o = B(t, n);
|
|
7654
7654
|
if (!o) {
|
|
7655
7655
|
console.error(`timelineV1/spawn property tag not found, ${e}`);
|
|
7656
7656
|
return;
|
|
@@ -7674,7 +7674,7 @@ function Wa(t, n) {
|
|
|
7674
7674
|
};
|
|
7675
7675
|
}
|
|
7676
7676
|
function Pt(t, n, e) {
|
|
7677
|
-
const o = `type=${t} subtype=${n}`, s =
|
|
7677
|
+
const o = `type=${t} subtype=${n}`, s = B(t, n);
|
|
7678
7678
|
if (!s) {
|
|
7679
7679
|
console.error(`timelineV1/spawnEntry property tag not found, ${o}`);
|
|
7680
7680
|
return;
|
|
@@ -7686,7 +7686,7 @@ function Pt(t, n, e) {
|
|
|
7686
7686
|
}
|
|
7687
7687
|
const l = A();
|
|
7688
7688
|
W(l, i), l.basic.id = E(16), l.basic.key = en.key;
|
|
7689
|
-
const c =
|
|
7689
|
+
const c = Ra(t, n, e);
|
|
7690
7690
|
return {
|
|
7691
7691
|
nodeLite: M(l, [c.nodeLite]),
|
|
7692
7692
|
nodes: {
|
|
@@ -7695,8 +7695,8 @@ function Pt(t, n, e) {
|
|
|
7695
7695
|
}
|
|
7696
7696
|
};
|
|
7697
7697
|
}
|
|
7698
|
-
function
|
|
7699
|
-
const o = `type=${t} subtype=${n}`, s =
|
|
7698
|
+
function Ra(t, n, e) {
|
|
7699
|
+
const o = `type=${t} subtype=${n}`, s = B(t, n);
|
|
7700
7700
|
if (!s) {
|
|
7701
7701
|
console.error(`timelineV1/spawnText property tag not found, ${o}`);
|
|
7702
7702
|
return;
|
|
@@ -7714,7 +7714,7 @@ function Ba(t, n, e) {
|
|
|
7714
7714
|
}
|
|
7715
7715
|
};
|
|
7716
7716
|
}
|
|
7717
|
-
const
|
|
7717
|
+
const Ba = F(ee), Ka = F(ee), _o = {
|
|
7718
7718
|
key: "settings",
|
|
7719
7719
|
name: "x-runtime-lib.settings",
|
|
7720
7720
|
children: [
|
|
@@ -7762,7 +7762,7 @@ const Ra = F(ee), Ka = F(ee), _o = {
|
|
|
7762
7762
|
ui: "switch",
|
|
7763
7763
|
default: !1
|
|
7764
7764
|
},
|
|
7765
|
-
|
|
7765
|
+
Ba
|
|
7766
7766
|
]
|
|
7767
7767
|
},
|
|
7768
7768
|
{
|
|
@@ -7814,7 +7814,7 @@ const nn = {
|
|
|
7814
7814
|
};
|
|
7815
7815
|
$(nn);
|
|
7816
7816
|
function Da(t, n) {
|
|
7817
|
-
const e = `type=${t} subtype=${n}`, o =
|
|
7817
|
+
const e = `type=${t} subtype=${n}`, o = B(t, n);
|
|
7818
7818
|
if (!o) {
|
|
7819
7819
|
console.error(`windowV1/spawn property tag not found, ${e}`);
|
|
7820
7820
|
return;
|
|
@@ -7838,7 +7838,7 @@ function Da(t, n) {
|
|
|
7838
7838
|
};
|
|
7839
7839
|
}
|
|
7840
7840
|
function Lt(t, n, e) {
|
|
7841
|
-
const o = `type=${t} subtype=${n}`, s =
|
|
7841
|
+
const o = `type=${t} subtype=${n}`, s = B(t, n);
|
|
7842
7842
|
if (!s) {
|
|
7843
7843
|
console.error(`windowV1/spawnEntry property tag not found, ${o}`);
|
|
7844
7844
|
return;
|
|
@@ -7860,7 +7860,7 @@ function Lt(t, n, e) {
|
|
|
7860
7860
|
};
|
|
7861
7861
|
}
|
|
7862
7862
|
function Fa(t, n, e) {
|
|
7863
|
-
const o = `type=${t} subtype=${n}`, s =
|
|
7863
|
+
const o = `type=${t} subtype=${n}`, s = B(t, n);
|
|
7864
7864
|
if (!s) {
|
|
7865
7865
|
console.error(
|
|
7866
7866
|
`windowV1/spawnFlexLayout property tag not found, ${o}`
|
|
@@ -7884,7 +7884,7 @@ function Fa(t, n, e) {
|
|
|
7884
7884
|
};
|
|
7885
7885
|
}
|
|
7886
7886
|
function Oa(t, n, e) {
|
|
7887
|
-
const o = `type=${t} subtype=${n}`, s =
|
|
7887
|
+
const o = `type=${t} subtype=${n}`, s = B(t, n);
|
|
7888
7888
|
if (!s) {
|
|
7889
7889
|
console.error(`windowV1/spawnText property tag not found, ${o}`);
|
|
7890
7890
|
return;
|
|
@@ -8633,7 +8633,7 @@ const nc = [
|
|
|
8633
8633
|
"multiple_slot_v1"
|
|
8634
8634
|
]
|
|
8635
8635
|
}
|
|
8636
|
-
],
|
|
8636
|
+
], Rc = [
|
|
8637
8637
|
{
|
|
8638
8638
|
key: "objects",
|
|
8639
8639
|
name: "x-runtime-lib.objects",
|
|
@@ -8679,7 +8679,7 @@ const nc = [
|
|
|
8679
8679
|
"multiple_slot_v1"
|
|
8680
8680
|
]
|
|
8681
8681
|
}
|
|
8682
|
-
],
|
|
8682
|
+
], Bc = [
|
|
8683
8683
|
{
|
|
8684
8684
|
key: "containment",
|
|
8685
8685
|
name: "x-runtime-lib.containment",
|
|
@@ -8888,15 +8888,15 @@ const nc = [
|
|
|
8888
8888
|
"scene_spot_light_v1"
|
|
8889
8889
|
]),
|
|
8890
8890
|
groups: {
|
|
8891
|
-
pageCommon:
|
|
8891
|
+
pageCommon: Bc,
|
|
8892
8892
|
pageScene: Kc,
|
|
8893
8893
|
compCommon: Wc,
|
|
8894
|
-
compScene:
|
|
8894
|
+
compScene: Rc
|
|
8895
8895
|
}
|
|
8896
8896
|
}, Fc = {
|
|
8897
8897
|
v1: Dc
|
|
8898
8898
|
};
|
|
8899
|
-
function
|
|
8899
|
+
function B(t, n) {
|
|
8900
8900
|
if (t === "page") {
|
|
8901
8901
|
if (!Mi.includes(n)) {
|
|
8902
8902
|
console.error(`get property tag failed type=${t} subtype=${n}`);
|
|
@@ -8930,7 +8930,7 @@ function W(t, n) {
|
|
|
8930
8930
|
n.forEach((o) => e(t, o));
|
|
8931
8931
|
}
|
|
8932
8932
|
function Pu(t, n, e, o, s) {
|
|
8933
|
-
const i = `type=${t} subtype=${n} version=${e} ref=${o} keyOrRefId=${s}`, l =
|
|
8933
|
+
const i = `type=${t} subtype=${n} version=${e} ref=${o} keyOrRefId=${s}`, l = B(t, n);
|
|
8934
8934
|
if (!l) {
|
|
8935
8935
|
console.error(`spawnNode property tag not found, ${i}`);
|
|
8936
8936
|
return;
|
|
@@ -9028,70 +9028,70 @@ function zu(t) {
|
|
|
9028
9028
|
}
|
|
9029
9029
|
const jo = "runtimeOrg", Go = "runtimeEnv", Ho = "runtimeMode", Jo = "runtimeDevice", Uo = "runtimeDark", qo = "runtimeId", Xo = "runtimeType", Yo = "runtimeData", Zo = "runtimeDepends", Qo = "runtimeRuntime", ei = "runtimeSandbox";
|
|
9030
9030
|
function Tu(t) {
|
|
9031
|
-
|
|
9031
|
+
ye(jo, t);
|
|
9032
9032
|
}
|
|
9033
9033
|
function Nc() {
|
|
9034
|
-
return
|
|
9034
|
+
return fe(jo);
|
|
9035
9035
|
}
|
|
9036
9036
|
function Eu(t) {
|
|
9037
|
-
|
|
9037
|
+
ye(Go, t);
|
|
9038
9038
|
}
|
|
9039
9039
|
function jc() {
|
|
9040
|
-
return
|
|
9040
|
+
return fe(Go);
|
|
9041
9041
|
}
|
|
9042
9042
|
function Au(t) {
|
|
9043
|
-
|
|
9043
|
+
ye(Ho, t);
|
|
9044
9044
|
}
|
|
9045
9045
|
function Z() {
|
|
9046
|
-
return
|
|
9046
|
+
return fe(Ho);
|
|
9047
9047
|
}
|
|
9048
9048
|
function Mu(t) {
|
|
9049
|
-
|
|
9049
|
+
ye(Jo, ln(t));
|
|
9050
9050
|
}
|
|
9051
9051
|
function De() {
|
|
9052
|
-
return
|
|
9052
|
+
return fe(Jo);
|
|
9053
9053
|
}
|
|
9054
9054
|
function Wu(t) {
|
|
9055
|
-
|
|
9055
|
+
ye(Uo, ln(t));
|
|
9056
9056
|
}
|
|
9057
9057
|
function Ze() {
|
|
9058
|
-
return
|
|
9058
|
+
return fe(Uo);
|
|
9059
9059
|
}
|
|
9060
|
-
function
|
|
9061
|
-
|
|
9060
|
+
function Ru(t) {
|
|
9061
|
+
ye(qo, t);
|
|
9062
9062
|
}
|
|
9063
9063
|
function Qe() {
|
|
9064
|
-
return
|
|
9064
|
+
return fe(qo);
|
|
9065
9065
|
}
|
|
9066
|
-
function
|
|
9067
|
-
|
|
9066
|
+
function Bu(t) {
|
|
9067
|
+
ye(Xo, t);
|
|
9068
9068
|
}
|
|
9069
9069
|
function Se() {
|
|
9070
|
-
return
|
|
9070
|
+
return fe(Xo);
|
|
9071
9071
|
}
|
|
9072
9072
|
function Pe(t) {
|
|
9073
|
-
|
|
9073
|
+
ye(Yo, t);
|
|
9074
9074
|
}
|
|
9075
9075
|
function le() {
|
|
9076
|
-
return
|
|
9076
|
+
return fe(Yo);
|
|
9077
9077
|
}
|
|
9078
9078
|
function Ku(t) {
|
|
9079
|
-
|
|
9079
|
+
ye(Zo, ln(t));
|
|
9080
9080
|
}
|
|
9081
9081
|
function Gc() {
|
|
9082
|
-
return
|
|
9082
|
+
return fe(Zo);
|
|
9083
9083
|
}
|
|
9084
9084
|
function Du(t) {
|
|
9085
|
-
|
|
9085
|
+
ye(Qo, t);
|
|
9086
9086
|
}
|
|
9087
9087
|
function Hc() {
|
|
9088
|
-
return
|
|
9088
|
+
return fe(Qo);
|
|
9089
9089
|
}
|
|
9090
9090
|
function Jc(t) {
|
|
9091
|
-
|
|
9091
|
+
ye(ei, t);
|
|
9092
9092
|
}
|
|
9093
|
-
function
|
|
9094
|
-
return
|
|
9093
|
+
function _e() {
|
|
9094
|
+
return fe(ei, void 0);
|
|
9095
9095
|
}
|
|
9096
9096
|
function je(t) {
|
|
9097
9097
|
const n = [t.type];
|
|
@@ -9115,14 +9115,14 @@ async function ct(t, n, e, o, s) {
|
|
|
9115
9115
|
for (const p of u)
|
|
9116
9116
|
if (e === je(p)) {
|
|
9117
9117
|
if (p.subKeys) {
|
|
9118
|
-
if (!
|
|
9118
|
+
if (!me(
|
|
9119
9119
|
$e(o, p.subKeys),
|
|
9120
9120
|
$e(s, p.subKeys)
|
|
9121
9121
|
)) {
|
|
9122
9122
|
m = p;
|
|
9123
9123
|
break;
|
|
9124
9124
|
}
|
|
9125
|
-
} else if (!
|
|
9125
|
+
} else if (!me(o, s)) {
|
|
9126
9126
|
m = p;
|
|
9127
9127
|
break;
|
|
9128
9128
|
}
|
|
@@ -9150,7 +9150,7 @@ async function ct(t, n, e, o, s) {
|
|
|
9150
9150
|
continue;
|
|
9151
9151
|
}
|
|
9152
9152
|
const b = $e(f, p.subKeys);
|
|
9153
|
-
if (
|
|
9153
|
+
if (me(d, b))
|
|
9154
9154
|
continue;
|
|
9155
9155
|
const g = F(f);
|
|
9156
9156
|
cn(g, p.subKeys, F(d)), p.type === "elementProperty" ? t.setElementProperty(
|
|
@@ -9175,7 +9175,7 @@ async function ct(t, n, e, o, s) {
|
|
|
9175
9175
|
console.assert(!1);
|
|
9176
9176
|
continue;
|
|
9177
9177
|
}
|
|
9178
|
-
if (
|
|
9178
|
+
if (me(d, f))
|
|
9179
9179
|
continue;
|
|
9180
9180
|
p.type === "elementProperty" ? t.setElementProperty(
|
|
9181
9181
|
p.nodeId,
|
|
@@ -9319,7 +9319,7 @@ function tm(t) {
|
|
|
9319
9319
|
}
|
|
9320
9320
|
function et(t, n) {
|
|
9321
9321
|
const e = Gc(), o = se(-1);
|
|
9322
|
-
|
|
9322
|
+
xe(() => {
|
|
9323
9323
|
if (!t.value) {
|
|
9324
9324
|
o.value = -1, n.value = void 0;
|
|
9325
9325
|
return;
|
|
@@ -9440,7 +9440,7 @@ function Yc(t) {
|
|
|
9440
9440
|
const ti = ci({
|
|
9441
9441
|
baseUrl: "http://localhost/computebase/",
|
|
9442
9442
|
onError: (t) => {
|
|
9443
|
-
const { i18n: n } =
|
|
9443
|
+
const { i18n: n } = he;
|
|
9444
9444
|
To(Ei(n, t));
|
|
9445
9445
|
}
|
|
9446
9446
|
});
|
|
@@ -9501,7 +9501,7 @@ function tu(t) {
|
|
|
9501
9501
|
t.instance,
|
|
9502
9502
|
...c
|
|
9503
9503
|
));
|
|
9504
|
-
else if (u === "
|
|
9504
|
+
else if (u === "customSlotEvent") {
|
|
9505
9505
|
const p = t.children[m];
|
|
9506
9506
|
p && p.callFunctionAsync(
|
|
9507
9507
|
"__triggerEventV1__",
|
|
@@ -9509,7 +9509,7 @@ function tu(t) {
|
|
|
9509
9509
|
"",
|
|
9510
9510
|
...c
|
|
9511
9511
|
);
|
|
9512
|
-
} else if (u === "
|
|
9512
|
+
} else if (u === "multipleCustomSlotEvent") {
|
|
9513
9513
|
const p = t.children[m];
|
|
9514
9514
|
p && p.callFunctionAsync(
|
|
9515
9515
|
"__triggerEventV1__",
|
|
@@ -9529,10 +9529,10 @@ function tu(t) {
|
|
|
9529
9529
|
} else if (l === "multipleRefProperty") {
|
|
9530
9530
|
const d = t.children[`${c}/${i}`];
|
|
9531
9531
|
d && (m = d.getCustomProperty(u));
|
|
9532
|
-
} else if (l === "
|
|
9532
|
+
} else if (l === "customSlotProperty") {
|
|
9533
9533
|
const d = t.children[c];
|
|
9534
9534
|
d && (m = d.getCustomSlotProperty(u));
|
|
9535
|
-
} else if (l === "
|
|
9535
|
+
} else if (l === "multipleCustomSlotProperty") {
|
|
9536
9536
|
const d = t.children[`${c}/${i}`];
|
|
9537
9537
|
d && (m = d.getCustomSlotProperty(u));
|
|
9538
9538
|
} else l === "customProperty" ? m = t.getCustomProperty(u) : l === "adaptSlotElementProperty" || l === "adaptSlotCustomProperty" ? m = t.parent?.getCustomSlotProperty(u) : console.assert(!1);
|
|
@@ -9547,10 +9547,10 @@ function tu(t) {
|
|
|
9547
9547
|
} else if (d === "multipleRefProperty") {
|
|
9548
9548
|
const b = t.children[`${p}/${c}`];
|
|
9549
9549
|
b && b.setCustomProperty(f, l);
|
|
9550
|
-
} else if (d === "
|
|
9550
|
+
} else if (d === "customSlotProperty") {
|
|
9551
9551
|
const b = t.children[p];
|
|
9552
9552
|
b && b.setCustomSlotProperty(f, l);
|
|
9553
|
-
} else if (d === "
|
|
9553
|
+
} else if (d === "multipleCustomSlotProperty") {
|
|
9554
9554
|
const b = t.children[`${p}/${c}`];
|
|
9555
9555
|
b && b.setCustomSlotProperty(f, l);
|
|
9556
9556
|
} else d === "customProperty" ? t.setCustomProperty(f, l) : d === "adaptSlotElementProperty" || d === "adaptSlotCustomProperty" ? t.parent.setCustomSlotProperty(f, l) : console.assert(!1);
|
|
@@ -9596,15 +9596,19 @@ function tu(t) {
|
|
|
9596
9596
|
ae(n, g).consume((k) => m.resolve(k)), t.promiseManager.release(u);
|
|
9597
9597
|
}
|
|
9598
9598
|
) : (n.newError("sandbox not found").consume((g) => m.reject(g)), t.promiseManager.release(u));
|
|
9599
|
-
} else d === "
|
|
9600
|
-
ut(
|
|
9599
|
+
} else d === "customSlotMethod" || d === "multipleCustomSlotMethod" || d === "customMethod" ? console.assert(!1, "no need to implement") : d === "adaptSlotElementMethod" || (d === "adaptSlotCustomMethod" ? t.parent ? t.kind === "customSlot" ? t.parent.callFunctionAsync(
|
|
9600
|
+
ut(
|
|
9601
|
+
"customSlotMethod",
|
|
9602
|
+
t.nodeId,
|
|
9603
|
+
f
|
|
9604
|
+
),
|
|
9601
9605
|
"",
|
|
9602
9606
|
c
|
|
9603
9607
|
).then((b) => {
|
|
9604
9608
|
ae(n, b).consume((g) => m.resolve(g)), t.promiseManager.release(u);
|
|
9605
|
-
}) : t.kind === "
|
|
9609
|
+
}) : t.kind === "multipleCustomSlot" && t.parent.callFunctionAsync(
|
|
9606
9610
|
ut(
|
|
9607
|
-
"
|
|
9611
|
+
"multipleCustomSlotMethod",
|
|
9608
9612
|
t.nodeId,
|
|
9609
9613
|
f
|
|
9610
9614
|
),
|
|
@@ -9630,9 +9634,9 @@ function tu(t) {
|
|
|
9630
9634
|
appId: `${s}${t.env}`,
|
|
9631
9635
|
pageId: i
|
|
9632
9636
|
};
|
|
9633
|
-
|
|
9637
|
+
he.router.replace({ path: l, query: c });
|
|
9634
9638
|
} else t.mode === "preview" && zo(
|
|
9635
|
-
|
|
9639
|
+
he.i18n.global.t(
|
|
9636
9640
|
"x-runtime-lib.msg.takeEffectOnlyAfterReleased"
|
|
9637
9641
|
)
|
|
9638
9642
|
);
|
|
@@ -9877,7 +9881,7 @@ class su {
|
|
|
9877
9881
|
return;
|
|
9878
9882
|
}
|
|
9879
9883
|
const i = $e(s, e);
|
|
9880
|
-
|
|
9884
|
+
me(o, i) || (cn(s, e, o), this.hooks?.onElementPropertyChange(
|
|
9881
9885
|
s.basic.id,
|
|
9882
9886
|
e,
|
|
9883
9887
|
o,
|
|
@@ -9896,7 +9900,7 @@ class su {
|
|
|
9896
9900
|
}
|
|
9897
9901
|
setCustomProperty(n, e) {
|
|
9898
9902
|
const o = this.customProperties[n];
|
|
9899
|
-
|
|
9903
|
+
me(e, o) || (this.customProperties[n] = e, this.hooks?.onCustomPropertyChange(n, e, o));
|
|
9900
9904
|
}
|
|
9901
9905
|
//--------------------------
|
|
9902
9906
|
// 自定义插槽属性
|
|
@@ -9910,7 +9914,7 @@ class su {
|
|
|
9910
9914
|
}
|
|
9911
9915
|
setCustomSlotProperty(n, e) {
|
|
9912
9916
|
const o = this.customSlotProperties[n];
|
|
9913
|
-
|
|
9917
|
+
me(e, o) || (this.customSlotProperties[n] = e, this.hooks.onCustomSlotPropetyChange(n, e, o));
|
|
9914
9918
|
}
|
|
9915
9919
|
//--------------------------
|
|
9916
9920
|
// 元素方法
|
|
@@ -9931,34 +9935,87 @@ class su {
|
|
|
9931
9935
|
}
|
|
9932
9936
|
setState(n, e) {
|
|
9933
9937
|
const o = this.states[n];
|
|
9934
|
-
|
|
9938
|
+
me(e, o) || (this.states[n] = e, this.hooks?.onStateChange(n, e, o));
|
|
9935
9939
|
}
|
|
9936
9940
|
}
|
|
9937
9941
|
function tt(t, n, e, o, s) {
|
|
9938
|
-
const i = Nc(), l = jc(), c = Z(), u = Se(), m = De(), d = Ze(), p = Hc(), f =
|
|
9939
|
-
|
|
9940
|
-
|
|
9942
|
+
const i = Nc(), l = jc(), c = Z(), u = Se(), m = De(), d = Ze(), p = Hc(), f = new su(
|
|
9943
|
+
n,
|
|
9944
|
+
e,
|
|
9945
|
+
o,
|
|
9946
|
+
s,
|
|
9947
|
+
i,
|
|
9948
|
+
l,
|
|
9949
|
+
c,
|
|
9950
|
+
u,
|
|
9951
|
+
{
|
|
9952
|
+
onElementPropertyChange: b,
|
|
9953
|
+
onCustomPropertyChange: g,
|
|
9954
|
+
onCustomSlotPropetyChange: k,
|
|
9955
|
+
onStateChange: _
|
|
9956
|
+
}
|
|
9957
|
+
);
|
|
9958
|
+
if (Jc(f), Ie(() => {
|
|
9959
|
+
f.dispose();
|
|
9960
|
+
}), ke(c)) {
|
|
9961
|
+
const x = async () => {
|
|
9962
|
+
f.destroyVm(), f.associateData(t), f.resetCustomProperties(), f.resetCustomSlotProperties(), f.resetStates(), !(!t.value || !t.value.code.script) && await f.createVm(p, t.value.code.script);
|
|
9963
|
+
};
|
|
9964
|
+
x(), pe(t, () => {
|
|
9965
|
+
x();
|
|
9966
|
+
});
|
|
9967
|
+
}
|
|
9968
|
+
ke(c) && pe(
|
|
9969
|
+
m,
|
|
9970
|
+
async (x, h) => {
|
|
9971
|
+
if (!f.vm)
|
|
9972
|
+
return;
|
|
9973
|
+
const v = mt(x.width), z = mt(h?.width ?? x.width);
|
|
9974
|
+
await f.callFunctionAsync(
|
|
9975
|
+
"__triggerEventV1__",
|
|
9976
|
+
ie("elementEvent", "globality", "screenSizeChange"),
|
|
9977
|
+
"",
|
|
9978
|
+
v,
|
|
9979
|
+
z
|
|
9980
|
+
);
|
|
9981
|
+
},
|
|
9982
|
+
{ immediate: !0 }
|
|
9983
|
+
), ke(c) && pe(
|
|
9984
|
+
d,
|
|
9985
|
+
async (x) => {
|
|
9986
|
+
f.vm && await f.callFunctionAsync(
|
|
9987
|
+
"__triggerEventV1__",
|
|
9988
|
+
ie("elementEvent", "globality", "darkModeChange"),
|
|
9989
|
+
"",
|
|
9990
|
+
x
|
|
9991
|
+
);
|
|
9992
|
+
},
|
|
9993
|
+
{ immediate: !0 }
|
|
9994
|
+
);
|
|
9995
|
+
async function b(x, h, v, z) {
|
|
9996
|
+
if (f.vm) {
|
|
9997
|
+
if (me(h, ["settings", "slot"])) {
|
|
9941
9998
|
const T = t.value?.view.nodeLites.find(
|
|
9942
9999
|
(J) => J.id === x
|
|
9943
10000
|
);
|
|
9944
10001
|
T ? T.slotId = v : console.assert(!1);
|
|
9945
10002
|
}
|
|
9946
|
-
if (
|
|
10003
|
+
if (me(h, ["settings", "comp"])) {
|
|
9947
10004
|
const T = t.value?.view.nodeLites.find(
|
|
9948
10005
|
(J) => J.id === x
|
|
9949
10006
|
);
|
|
9950
10007
|
T ? T.compId = v : console.assert(!1);
|
|
9951
10008
|
}
|
|
9952
|
-
if (await
|
|
10009
|
+
if (await f.callFunctionAsync(
|
|
9953
10010
|
"__triggerEventV1__",
|
|
9954
|
-
ie("elementPropertyChangeEvent", x,
|
|
10011
|
+
ie("elementPropertyChangeEvent", x, h.join(".")),
|
|
9955
10012
|
"",
|
|
9956
10013
|
v,
|
|
9957
10014
|
z ?? v
|
|
9958
10015
|
), t.value?.code.reactivity) {
|
|
9959
10016
|
let T = "";
|
|
9960
|
-
|
|
9961
|
-
|
|
10017
|
+
h instanceof Array ? T = h.join(".") : T = h, ct(
|
|
10018
|
+
f,
|
|
9962
10019
|
t.value.code.reactivity,
|
|
9963
10020
|
je({
|
|
9964
10021
|
type: "elementProperty",
|
|
@@ -9970,109 +10027,62 @@ function tt(t, n, e, o, s) {
|
|
|
9970
10027
|
);
|
|
9971
10028
|
}
|
|
9972
10029
|
}
|
|
9973
|
-
}
|
|
9974
|
-
|
|
10030
|
+
}
|
|
10031
|
+
async function g(x, h, v) {
|
|
10032
|
+
f.vm && (await f.callFunctionAsync(
|
|
9975
10033
|
"__triggerEventV1__",
|
|
9976
10034
|
ie("customPropertyChangeEvent", "globality", x),
|
|
9977
10035
|
"",
|
|
9978
|
-
|
|
9979
|
-
v ??
|
|
9980
|
-
), await
|
|
10036
|
+
h,
|
|
10037
|
+
v ?? h
|
|
10038
|
+
), await f.parent.callFunctionAsync(
|
|
9981
10039
|
"__triggerEventV1__",
|
|
9982
|
-
ie("refPropertyChangeEvent",
|
|
10040
|
+
ie("refPropertyChangeEvent", f.nodeId, x),
|
|
9983
10041
|
"",
|
|
9984
|
-
|
|
9985
|
-
v ??
|
|
9986
|
-
), await
|
|
10042
|
+
h,
|
|
10043
|
+
v ?? h
|
|
10044
|
+
), await f.parent.callFunctionAsync(
|
|
9987
10045
|
"__triggerEventV1__",
|
|
9988
10046
|
ie(
|
|
9989
10047
|
"multipleRefPropertyChangeEvent",
|
|
9990
|
-
|
|
10048
|
+
f.nodeId,
|
|
9991
10049
|
x
|
|
9992
10050
|
),
|
|
9993
10051
|
"",
|
|
9994
|
-
_,
|
|
9995
|
-
v ?? _
|
|
9996
|
-
), t.value?.code.reactivity && ct(
|
|
9997
10052
|
h,
|
|
10053
|
+
v ?? h
|
|
10054
|
+
), t.value?.code.reactivity && ct(
|
|
10055
|
+
f,
|
|
9998
10056
|
t.value.code.reactivity,
|
|
9999
10057
|
je({ type: "customProperty", propertyId: x }),
|
|
10000
|
-
|
|
10058
|
+
h,
|
|
10001
10059
|
v
|
|
10002
10060
|
));
|
|
10003
|
-
}
|
|
10004
|
-
|
|
10005
|
-
|
|
10061
|
+
}
|
|
10062
|
+
async function k(x, h, v) {
|
|
10063
|
+
f.vm && t.value?.code.reactivity && ct(
|
|
10064
|
+
f,
|
|
10006
10065
|
t.value.code.reactivity,
|
|
10007
10066
|
je({ type: "customSlotProperty", propertyId: x }),
|
|
10008
|
-
|
|
10067
|
+
h,
|
|
10009
10068
|
v
|
|
10010
10069
|
);
|
|
10011
|
-
}
|
|
10012
|
-
|
|
10070
|
+
}
|
|
10071
|
+
async function _(x, h, v) {
|
|
10072
|
+
f.vm && (await f.callFunctionAsync(
|
|
10013
10073
|
"__triggerEventV1__",
|
|
10014
10074
|
ie("stateChangeEvent", "globality", x),
|
|
10015
10075
|
"",
|
|
10016
|
-
_,
|
|
10017
|
-
v ?? _
|
|
10018
|
-
), t.value?.code.reactivity && ct(
|
|
10019
10076
|
h,
|
|
10077
|
+
v ?? h
|
|
10078
|
+
), t.value?.code.reactivity && ct(
|
|
10079
|
+
f,
|
|
10020
10080
|
t.value.code.reactivity,
|
|
10021
10081
|
je({ type: "state", stateId: x }),
|
|
10022
|
-
|
|
10082
|
+
h,
|
|
10023
10083
|
v
|
|
10024
10084
|
));
|
|
10025
|
-
}, h = new su(
|
|
10026
|
-
n,
|
|
10027
|
-
e,
|
|
10028
|
-
o,
|
|
10029
|
-
s,
|
|
10030
|
-
i,
|
|
10031
|
-
l,
|
|
10032
|
-
c,
|
|
10033
|
-
u,
|
|
10034
|
-
{
|
|
10035
|
-
onElementPropertyChange: f,
|
|
10036
|
-
onCustomPropertyChange: b,
|
|
10037
|
-
onCustomSlotPropetyChange: g,
|
|
10038
|
-
onStateChange: k
|
|
10039
|
-
}
|
|
10040
|
-
);
|
|
10041
|
-
if (Jc(h), Ie(() => {
|
|
10042
|
-
h.dispose();
|
|
10043
|
-
}), ce(c)) {
|
|
10044
|
-
const x = async () => {
|
|
10045
|
-
h.destroyVm(), h.associateData(t), h.resetCustomProperties(), h.resetCustomSlotProperties(), h.resetStates(), !(!t.value || !t.value.code.script) && await h.createVm(p, t.value.code.script);
|
|
10046
|
-
};
|
|
10047
|
-
x(), de(t, () => {
|
|
10048
|
-
x();
|
|
10049
|
-
});
|
|
10050
10085
|
}
|
|
10051
|
-
ce(c) && de(
|
|
10052
|
-
m,
|
|
10053
|
-
async (x, _) => {
|
|
10054
|
-
const v = mt(x.width), z = mt(_?.width ?? x.width);
|
|
10055
|
-
await h.callFunctionAsync(
|
|
10056
|
-
"__triggerEventV1__",
|
|
10057
|
-
ie("elementEvent", "globality", "screenSizeChange"),
|
|
10058
|
-
"",
|
|
10059
|
-
v,
|
|
10060
|
-
z
|
|
10061
|
-
);
|
|
10062
|
-
},
|
|
10063
|
-
{ immediate: !0 }
|
|
10064
|
-
), ce(c) && de(
|
|
10065
|
-
d,
|
|
10066
|
-
async (x) => {
|
|
10067
|
-
await h.callFunctionAsync(
|
|
10068
|
-
"__triggerEventV1__",
|
|
10069
|
-
ie("elementEvent", "globality", "darkModeChange"),
|
|
10070
|
-
"",
|
|
10071
|
-
x
|
|
10072
|
-
);
|
|
10073
|
-
},
|
|
10074
|
-
{ immediate: !0 }
|
|
10075
|
-
);
|
|
10076
10086
|
}
|
|
10077
10087
|
function H() {
|
|
10078
10088
|
const t = Ze();
|
|
@@ -10093,20 +10103,20 @@ export {
|
|
|
10093
10103
|
Ql as badgeV1,
|
|
10094
10104
|
Et as barChartV1,
|
|
10095
10105
|
zt as boxGeometryV1,
|
|
10096
|
-
|
|
10106
|
+
Ro as breakpoints,
|
|
10097
10107
|
na as btnGroupV1,
|
|
10098
10108
|
oa as btnToggleV1,
|
|
10099
10109
|
Mt as btnV1,
|
|
10100
10110
|
mt as calcBreakpoint,
|
|
10101
10111
|
Je as cardV1,
|
|
10102
10112
|
sa as checkboxV1,
|
|
10103
|
-
|
|
10113
|
+
Rt as chipGroupV1,
|
|
10104
10114
|
Wt as chipV1,
|
|
10105
10115
|
aa as colorPickerV1,
|
|
10106
10116
|
ca as comboboxV1,
|
|
10107
10117
|
ku as compMetaStringify,
|
|
10108
10118
|
Wi as compTypes,
|
|
10109
|
-
|
|
10119
|
+
Bt as containerV1,
|
|
10110
10120
|
gu as dataStringify,
|
|
10111
10121
|
ua as dataTableV1,
|
|
10112
10122
|
ma as datePickerV1,
|
|
@@ -10127,7 +10137,7 @@ export {
|
|
|
10127
10137
|
Sn as getIndexOfBreakpoint,
|
|
10128
10138
|
Lu as getNodeLite,
|
|
10129
10139
|
ko as getPropertyDefault,
|
|
10130
|
-
|
|
10140
|
+
B as getPropertyTag,
|
|
10131
10141
|
tc as globalityV1,
|
|
10132
10142
|
Xl as groupV1,
|
|
10133
10143
|
Xe as hasComp,
|
|
@@ -10144,17 +10154,17 @@ export {
|
|
|
10144
10154
|
Z as injectMode,
|
|
10145
10155
|
Nc as injectOrg,
|
|
10146
10156
|
Hc as injectRuntime,
|
|
10147
|
-
|
|
10157
|
+
_e as injectSandbox,
|
|
10148
10158
|
Se as injectType,
|
|
10149
10159
|
Ye as isCircularReference,
|
|
10150
|
-
|
|
10160
|
+
ke as isExecutableMode,
|
|
10151
10161
|
Ki as isLocaleOfEventKind,
|
|
10152
|
-
|
|
10153
|
-
|
|
10162
|
+
Bi as isLocaleOfMethodKind,
|
|
10163
|
+
Ri as isLocaleOfPropertyKind,
|
|
10154
10164
|
_u as isLocaleOfSlotKind,
|
|
10155
10165
|
an as isPercentStr,
|
|
10156
10166
|
ht as isPixelStr,
|
|
10157
|
-
|
|
10167
|
+
Rl as keyboardControlsV1,
|
|
10158
10168
|
At as lineChartV1,
|
|
10159
10169
|
om as loadLocaleMessageRuntime,
|
|
10160
10170
|
ie as makeEventId,
|
|
@@ -10168,7 +10178,7 @@ export {
|
|
|
10168
10178
|
Ou as makePropertyKeyOfElementSlot,
|
|
10169
10179
|
em as makeSlotId,
|
|
10170
10180
|
je as makeTriggerId,
|
|
10171
|
-
|
|
10181
|
+
Bl as mapControlsV1,
|
|
10172
10182
|
_a as menuV1,
|
|
10173
10183
|
Ge as meshBasicMaterialV1,
|
|
10174
10184
|
He as meshV1,
|
|
@@ -10193,12 +10203,12 @@ export {
|
|
|
10193
10203
|
Ku as provideDepends,
|
|
10194
10204
|
Mu as provideDevice,
|
|
10195
10205
|
Eu as provideEnv,
|
|
10196
|
-
|
|
10206
|
+
Ru as provideId,
|
|
10197
10207
|
Au as provideMode,
|
|
10198
10208
|
Tu as provideOrg,
|
|
10199
10209
|
Du as provideRuntime,
|
|
10200
10210
|
Jc as provideSandbox,
|
|
10201
|
-
|
|
10211
|
+
Bu as provideType,
|
|
10202
10212
|
Gt as radioGroupV1,
|
|
10203
10213
|
jt as radioV1,
|
|
10204
10214
|
Ia as rangeSliderV1,
|