x-runtime-lib 0.8.165 → 0.8.167
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 +602 -564
- package/dist/sandbox/sandbox/index.d.ts +4 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var Vn = (t, n) => (n = Symbol[t]) ? n : /* @__PURE__ */ Symbol.for("Symbol." + t), Pn = (t) => {
|
|
2
2
|
throw TypeError(t);
|
|
3
3
|
};
|
|
4
|
-
var
|
|
4
|
+
var Ne = (t, n, e) => {
|
|
5
5
|
if (n != null) {
|
|
6
6
|
typeof n != "object" && typeof n != "function" && Pn("Object expected");
|
|
7
7
|
var o, i;
|
|
@@ -29,10 +29,10 @@ var je = (t, n, e) => {
|
|
|
29
29
|
};
|
|
30
30
|
return r();
|
|
31
31
|
};
|
|
32
|
-
import { defineComponent as I, createElementBlock as ee, createCommentVNode as le, unref as s, openBlock as x, createElementVNode as
|
|
33
|
-
import { globalObjects as ke, waitUtil as Mi, useViewStack as Bi, eventBus as Ri, messageInfo as ho, messageSuccess as go, messageWarning as Wi, messageError as
|
|
34
|
-
import { CameraHelper as
|
|
35
|
-
import { c as So, i as ye, a as Qe, K as Co, M as $o, O as Vo, u as Po, r as Di, e as Oi, b as Eo, d as zo, f as Lo, g as Ao, h as To, j as Uo, k as Mo, l as Bo, m as
|
|
32
|
+
import { defineComponent as I, createElementBlock as ee, createCommentVNode as le, unref as s, openBlock as x, createElementVNode as Ke, computed as k, renderSlot as D, normalizeStyle as he, ref as te, watch as ue, onUnmounted as we, onBeforeMount as dn, watchEffect as Ve, h as W, createVNode as K, createBlock as S, useTemplateRef as zi, onMounted as Li, nextTick as Me, withCtx as P, toDisplayString as Ai, useAttrs as xt, resolveComponent as B, isRef as ne, createSlots as pn, renderList as fo, useId as Ti, withModifiers as yo, normalizeClass as bo, mergeModels as Ui, useModel as mt, inject as de, provide as pe, readonly as mn } from "vue";
|
|
33
|
+
import { globalObjects as ke, waitUtil as Mi, useViewStack as Bi, eventBus as Ri, messageInfo as ho, messageSuccess as go, messageWarning as Wi, messageError as Ki, createAxios as vo, openConfirmDlg as _o, openPromptDlg as xo } from "x-essential-lib";
|
|
34
|
+
import { CameraHelper as Fi, DirectionalLightHelper as ko, PointLightHelper as wo, SpotLightHelper as Io } from "three";
|
|
35
|
+
import { c as So, i as ye, a as Qe, K as Co, M as $o, O as Vo, u as Po, r as Di, e as Oi, b as Eo, d as zo, f as Lo, g as Ao, h as To, j as Uo, k as Mo, l as Bo, m as F, H as Ro, n as ji, o as Wo, p as Ko, q as Fo } from "./vendor.ei4hhazo.js";
|
|
36
36
|
import { useTheme as Do } from "vuetify";
|
|
37
37
|
import { getErrorMessage as Oo } from "x-error-lib";
|
|
38
38
|
const En = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
|
|
@@ -70,23 +70,23 @@ function $t(t) {
|
|
|
70
70
|
if (!isNaN(e))
|
|
71
71
|
return e;
|
|
72
72
|
}
|
|
73
|
-
const
|
|
73
|
+
const Ni = ["xs", "sm", "md", "lg", "xl"], jo = [...Ni].reverse();
|
|
74
74
|
function ft(t) {
|
|
75
75
|
return t < 600 ? "xs" : t < 960 ? "sm" : t < 1280 ? "md" : t < 1920 ? "lg" : "xl";
|
|
76
76
|
}
|
|
77
77
|
function zn(t) {
|
|
78
|
-
return
|
|
78
|
+
return Ni.findIndex((n) => n === t);
|
|
79
79
|
}
|
|
80
80
|
function Ge(t, n) {
|
|
81
81
|
let e;
|
|
82
|
-
for (const o of
|
|
82
|
+
for (const o of jo) {
|
|
83
83
|
if (zn(o) < zn(t))
|
|
84
84
|
break;
|
|
85
85
|
n[o] && (e = n[o]);
|
|
86
86
|
}
|
|
87
87
|
return e;
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function ze(t, n) {
|
|
90
90
|
let e = t;
|
|
91
91
|
if (typeof e != "object")
|
|
92
92
|
return;
|
|
@@ -126,7 +126,7 @@ function Lc(t) {
|
|
|
126
126
|
function et(t) {
|
|
127
127
|
return t.startsWith("ref_v") || t.startsWith("multiple_ref_v") || t.startsWith("slot_v") || t.startsWith("multiple_slot_v");
|
|
128
128
|
}
|
|
129
|
-
function
|
|
129
|
+
function No(t) {
|
|
130
130
|
return t === "runtime" || t === "preview";
|
|
131
131
|
}
|
|
132
132
|
function tt(t, n) {
|
|
@@ -160,8 +160,8 @@ function U(t, n) {
|
|
|
160
160
|
function Ac({ type: t, version: n, view: e, code: o }) {
|
|
161
161
|
const i = (u, p) => {
|
|
162
162
|
const d = { id: p.id };
|
|
163
|
-
p.children && (d.children = [], p.children.forEach((
|
|
164
|
-
i(d.children,
|
|
163
|
+
p.children && (d.children = [], p.children.forEach((f) => {
|
|
164
|
+
i(d.children, f);
|
|
165
165
|
})), u.push(d);
|
|
166
166
|
}, r = [];
|
|
167
167
|
e.nodeLites.forEach((u) => {
|
|
@@ -252,7 +252,7 @@ function R(t, n) {
|
|
|
252
252
|
throw new Error("");
|
|
253
253
|
return `${t}${So(n)}`;
|
|
254
254
|
}
|
|
255
|
-
const
|
|
255
|
+
const Kc = [
|
|
256
256
|
"globality_v1",
|
|
257
257
|
"multiple_ref_v1",
|
|
258
258
|
"multiple_slot_v1",
|
|
@@ -323,7 +323,7 @@ const Fc = [
|
|
|
323
323
|
"3d_sphere_geometry_v1",
|
|
324
324
|
"3d_spot_light_v1"
|
|
325
325
|
];
|
|
326
|
-
function
|
|
326
|
+
function N(...t) {
|
|
327
327
|
return t.map((n) => ke.i18n.global.t(`x-runtime-lib.${n}`)).join(" - ");
|
|
328
328
|
}
|
|
329
329
|
function bn(t, n, e) {
|
|
@@ -333,19 +333,19 @@ function bn(t, n, e) {
|
|
|
333
333
|
l > 0 && (i += " - "), e ? i += o.global.t(r) : i += r;
|
|
334
334
|
}), i;
|
|
335
335
|
}
|
|
336
|
-
function
|
|
336
|
+
function Fc(t, n) {
|
|
337
337
|
let e = "";
|
|
338
|
-
return t === "elementProperty" || (t === "refProperty" || t === "multipleRefProperty" ? e =
|
|
338
|
+
return t === "elementProperty" || (t === "refProperty" || t === "multipleRefProperty" ? e = N("reference") : t === "customSlotProperty" || t === "multipleCustomSlotProperty" ? e = N("slot") : t === "customProperty" ? e = N("custom") : t === "adaptSlotElementProperty" || t === "adaptSlotCustomProperty" ? e = N("adaptSlot") : console.assert(!1)), bn(e, n, Ho(t));
|
|
339
339
|
}
|
|
340
340
|
function Dc(t, n) {
|
|
341
341
|
let e = "";
|
|
342
|
-
return t === "elementMethod" || (t === "refMethod" || t === "multipleRefMethod" ? e =
|
|
342
|
+
return t === "elementMethod" || (t === "refMethod" || t === "multipleRefMethod" ? e = N("reference") : t === "customSlotMethod" || t === "multipleCustomSlotMethod" ? e = N("slot") : t === "customMethod" ? e = N("custom") : t === "adaptSlotElementMethod" || t === "adaptSlotCustomMethod" ? e = N("adaptSlot") : console.assert(!1)), bn(e, n, Go(t));
|
|
343
343
|
}
|
|
344
344
|
function Oc(t, n) {
|
|
345
345
|
let e = "";
|
|
346
|
-
return t === "elementEvent" || (t === "elementPropertyChangeEvent" ? e =
|
|
346
|
+
return t === "elementEvent" || (t === "elementPropertyChangeEvent" ? e = N("propertyChange") : t === "refEvent" ? e = N("reference") : t === "refPropertyChangeEvent" ? e = N("reference", "propertyChange") : t === "multipleRefEvent" ? e = N("reference") : t === "multipleRefPropertyChangeEvent" ? e = N("reference", "propertyChange") : t === "customSlotEvent" ? e = N("slot") : t === "customSlotPropertyChangeEvent" ? e = N("slot", "propertyChange") : t === "multipleCustomSlotEvent" ? e = N("slot") : t === "multipleCustomSlotPropertyChangeEvent" ? e = N("slot", "propertyChange") : t === "customEvent" ? e = N("custom") : t === "customPropertyChangeEvent" ? e = N("custom", "propertyChange") : t === "adaptSlotElementEvent" ? e = N("adaptSlot") : t === "adaptSlotElementPropertyChangeEvent" ? e = N("adaptSlot", "propertyChange") : t === "adaptSlotCustomEvent" ? e = N("adaptSlot") : t === "adaptSlotCustomPropertyChangeEvent" ? e = N("adaptSlot", "propertyChange") : t === "stateChangeEvent" ? e = N("state") : console.assert(!1)), bn(e, n, Jo(t));
|
|
347
347
|
}
|
|
348
|
-
const Yo = ["position", "ratation", "scale"],
|
|
348
|
+
const Yo = ["position", "ratation", "scale"], Fe = /* @__PURE__ */ I({
|
|
349
349
|
__name: "index",
|
|
350
350
|
props: {
|
|
351
351
|
position: { default: () => {
|
|
@@ -364,7 +364,7 @@ const Yo = ["position", "ratation", "scale"], Ke = /* @__PURE__ */ I({
|
|
|
364
364
|
scale: t.scale ?? [1, 1, 1],
|
|
365
365
|
visible: !1
|
|
366
366
|
}, [...o[0] || (o[0] = [
|
|
367
|
-
|
|
367
|
+
Ke("TresBoxGeometry", { args: [1, 1, 1] }, null, -1)
|
|
368
368
|
])], 8, Yo)) : le("", !0);
|
|
369
369
|
}
|
|
370
370
|
}), G = /* @__PURE__ */ I({
|
|
@@ -424,25 +424,46 @@ function yt(t, n, e) {
|
|
|
424
424
|
o.eventBus.off(i, e);
|
|
425
425
|
}));
|
|
426
426
|
}
|
|
427
|
-
const Qo = (t, n, e, o) => {
|
|
427
|
+
const Qo = async (t, n, e, o) => {
|
|
428
428
|
let i;
|
|
429
|
-
if (t
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
429
|
+
if (t)
|
|
430
|
+
try {
|
|
431
|
+
i = await t.getElementProperty(n.basic.id, e);
|
|
432
|
+
} catch (r) {
|
|
433
|
+
console.error("getProperty get element property failed", r);
|
|
434
|
+
}
|
|
435
|
+
else
|
|
436
|
+
i = ze(n, e);
|
|
437
|
+
if (o)
|
|
438
|
+
if (typeof i == "string") {
|
|
439
|
+
let r;
|
|
440
|
+
try {
|
|
441
|
+
r = JSON.parse(i);
|
|
442
|
+
} catch (l) {
|
|
443
|
+
console.error("getProperty JSON.parse failed", l);
|
|
444
|
+
}
|
|
445
|
+
return r ?? {};
|
|
446
|
+
} else
|
|
447
|
+
return console.error("getProperty unexpected type"), {};
|
|
448
|
+
else
|
|
435
449
|
return i;
|
|
436
|
-
}, es = (t, n, e, o, i) => {
|
|
450
|
+
}, es = async (t, n, e, o, i) => {
|
|
437
451
|
let r;
|
|
438
|
-
i ? typeof o == "object" ? r = JSON.stringify(o, null, 2) : (console.
|
|
452
|
+
if (i ? typeof o == "object" ? r = JSON.stringify(o, null, 2) : (console.error("setProperty unexpected type"), r = "{}") : r = o, t)
|
|
453
|
+
try {
|
|
454
|
+
await t.setElementProperty(n.basic.id, e, r);
|
|
455
|
+
} catch (l) {
|
|
456
|
+
console.error("setProperty set element property failed", l);
|
|
457
|
+
}
|
|
458
|
+
else
|
|
459
|
+
yn(n, e, r);
|
|
439
460
|
};
|
|
440
461
|
function a(t, n, e) {
|
|
441
462
|
const o = oe(), i = te();
|
|
442
|
-
return Ve(() => {
|
|
443
|
-
i.value = Qo(o, t.value, n, e);
|
|
444
|
-
}), ue(i, (r, l) => {
|
|
445
|
-
ye(r, l) || es(o, t.value, n, i.value, e);
|
|
463
|
+
return Ve(async () => {
|
|
464
|
+
i.value = await Qo(o, t.value, n, e);
|
|
465
|
+
}), ue(i, async (r, l) => {
|
|
466
|
+
ye(r, l) || await es(o, t.value, n, i.value, e);
|
|
446
467
|
}), { property: i };
|
|
447
468
|
}
|
|
448
469
|
function be(t, n, e) {
|
|
@@ -486,7 +507,7 @@ function bt(t, n, e, o) {
|
|
|
486
507
|
}
|
|
487
508
|
function nt(t, n, e) {
|
|
488
509
|
function o(r) {
|
|
489
|
-
const l =
|
|
510
|
+
const l = Pe[r.key];
|
|
490
511
|
if (!l) {
|
|
491
512
|
console.assert(!1, `element not found key=${r.key}`);
|
|
492
513
|
return;
|
|
@@ -550,20 +571,20 @@ function me(t) {
|
|
|
550
571
|
"transform",
|
|
551
572
|
"rotation",
|
|
552
573
|
"z"
|
|
553
|
-
]), { property: u } = a(t, ["transform", "scale", "x"]), { property: p } = a(t, ["transform", "scale", "y"]), { property: d } = a(t, ["transform", "scale", "z"]),
|
|
574
|
+
]), { property: u } = a(t, ["transform", "scale", "x"]), { property: p } = a(t, ["transform", "scale", "y"]), { property: d } = a(t, ["transform", "scale", "z"]), f = te([0, 0, 0]), c = te([0, 0, 0]), m = te([1, 1, 1]);
|
|
554
575
|
return Ve(() => {
|
|
555
|
-
|
|
576
|
+
f.value = [n.value, e.value, o.value];
|
|
556
577
|
}), Ve(() => {
|
|
557
|
-
n.value =
|
|
578
|
+
n.value = f.value[0], e.value = f.value[1], o.value = f.value[2];
|
|
558
579
|
}), Ve(() => {
|
|
559
580
|
c.value = [i.value, r.value, l.value];
|
|
560
581
|
}), Ve(() => {
|
|
561
582
|
i.value = c.value[0], r.value = c.value[1], l.value = c.value[2];
|
|
562
583
|
}), Ve(() => {
|
|
563
|
-
|
|
584
|
+
m.value = [u.value, p.value, d.value];
|
|
564
585
|
}), Ve(() => {
|
|
565
|
-
u.value =
|
|
566
|
-
}), { position:
|
|
586
|
+
u.value = m.value[0], p.value = m.value[1], d.value = m.value[2];
|
|
587
|
+
}), { position: f, rotation: c, scale: m };
|
|
567
588
|
}
|
|
568
589
|
function Hi(t) {
|
|
569
590
|
const n = k(() => t.value.legend?.show), e = k(() => t.value.legend?.data);
|
|
@@ -632,8 +653,8 @@ function Z(t) {
|
|
|
632
653
|
}
|
|
633
654
|
function hn(t) {
|
|
634
655
|
const n = k(() => t.value.border?.style), e = k(() => t.value.border?.width), o = k(() => t.value.border?.color), { color: i } = Z(o), r = k(() => t.value.border?.roundRadius?.tl), l = k(() => t.value.border?.roundRadius?.tr), u = k(() => t.value.border?.roundRadius?.bl), p = k(() => t.value.border?.roundRadius?.br);
|
|
635
|
-
function d(
|
|
636
|
-
n.value && (
|
|
656
|
+
function d(f) {
|
|
657
|
+
n.value && (f.borderStyle = n.value), e.value && (f.borderWidth = e.value), i.value && (f.borderColor = i.value), r.value && (f.borderTopLeftRadius = r.value), l.value && (f.borderTopRightRadius = l.value), u.value && (f.borderBottomLeftRadius = u.value), p.value && (f.borderBottomRightRadius = p.value);
|
|
637
658
|
}
|
|
638
659
|
return { borderStyle: n, borderWidth: e, borderColor: i, applyBorder: d };
|
|
639
660
|
}
|
|
@@ -652,7 +673,7 @@ function vn(t) {
|
|
|
652
673
|
return { paddingTop: n, paddingLeft: e, paddingBottom: o, paddingRight: i, applyPadding: r };
|
|
653
674
|
}
|
|
654
675
|
function ge(t, n) {
|
|
655
|
-
const e = ie(), o =
|
|
676
|
+
const e = ie(), o = je(), i = k(() => n.value.size?.width), r = k(() => n.value.size?.minWidth), l = k(() => n.value.size?.maxWidth), u = k(() => {
|
|
656
677
|
if (t.outer && e === "editor") {
|
|
657
678
|
const c = $t(n.value.size?.height);
|
|
658
679
|
if (c)
|
|
@@ -674,10 +695,10 @@ function ge(t, n) {
|
|
|
674
695
|
}
|
|
675
696
|
return n.value.size?.maxHeight;
|
|
676
697
|
});
|
|
677
|
-
function
|
|
698
|
+
function f(c) {
|
|
678
699
|
i.value && (c.width = i.value), r.value && (c.minWidth = r.value), l.value && (c.maxWidth = l.value), u.value && (c.height = u.value), p.value && (c.minHeight = p.value), d.value && (c.maxHeight = d.value);
|
|
679
700
|
}
|
|
680
|
-
return { width: i, minWidth: r, maxWidth: l, height: u, minHeight: p, maxHeight: d, applySize:
|
|
701
|
+
return { width: i, minWidth: r, maxWidth: l, height: u, minHeight: p, maxHeight: d, applySize: f };
|
|
681
702
|
}
|
|
682
703
|
const ts = ["bottom", "far", "left", "near", "position", "right", "rotation", "scale", "top"], ns = /* @__PURE__ */ I({
|
|
683
704
|
__name: "index",
|
|
@@ -687,22 +708,22 @@ const ts = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
687
708
|
refContext: {}
|
|
688
709
|
},
|
|
689
710
|
setup(t) {
|
|
690
|
-
const n = t, { node: e } = E(n), o = ie(), { position: i, rotation: r, scale: l } = me(e), { property: u } = a(e, ["settings", "bottom"]), { property: p } = a(e, ["settings", "far"]), { property: d } = a(e, ["settings", "left"]), { property:
|
|
711
|
+
const n = t, { node: e } = E(n), o = ie(), { position: i, rotation: r, scale: l } = me(e), { property: u } = a(e, ["settings", "bottom"]), { property: p } = a(e, ["settings", "far"]), { property: d } = a(e, ["settings", "left"]), { property: f } = a(e, ["settings", "near"]), { property: c } = a(e, ["settings", "right"]), { property: m } = a(e, ["settings", "top"]);
|
|
691
712
|
return (h, y) => (x(), ee("TresOrthographicCamera", {
|
|
692
713
|
bottom: s(u),
|
|
693
714
|
far: s(p),
|
|
694
715
|
left: s(d),
|
|
695
|
-
near: s(
|
|
716
|
+
near: s(f),
|
|
696
717
|
position: s(i),
|
|
697
718
|
right: s(c),
|
|
698
719
|
rotation: s(r),
|
|
699
720
|
scale: s(l),
|
|
700
|
-
top: s(
|
|
721
|
+
top: s(m)
|
|
701
722
|
}, [
|
|
702
|
-
|
|
723
|
+
K(s(Fe)),
|
|
703
724
|
s(o) === "editor" ? (x(), S(s(Qe), {
|
|
704
725
|
key: 0,
|
|
705
|
-
type: s(
|
|
726
|
+
type: s(Fi)
|
|
706
727
|
}, null, 8, ["type"])) : le("", !0),
|
|
707
728
|
D(h.$slots, "default")
|
|
708
729
|
], 8, ts));
|
|
@@ -715,20 +736,20 @@ const ts = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
715
736
|
refContext: {}
|
|
716
737
|
},
|
|
717
738
|
setup(t) {
|
|
718
|
-
const n = t, { node: e } = E(n), o = ie(), { position: i, rotation: r, scale: l } = me(e), { property: u } = a(e, ["settings", "aspect"]), { property: p } = a(e, ["settings", "far"]), { property: d } = a(e, ["settings", "fov"]), { property:
|
|
719
|
-
return (c,
|
|
739
|
+
const n = t, { node: e } = E(n), o = ie(), { position: i, rotation: r, scale: l } = me(e), { property: u } = a(e, ["settings", "aspect"]), { property: p } = a(e, ["settings", "far"]), { property: d } = a(e, ["settings", "fov"]), { property: f } = a(e, ["settings", "near"]);
|
|
740
|
+
return (c, m) => (x(), ee("TresPerspectiveCamera", {
|
|
720
741
|
aspect: s(u),
|
|
721
742
|
far: s(p),
|
|
722
743
|
fov: s(d),
|
|
723
|
-
near: s(
|
|
744
|
+
near: s(f),
|
|
724
745
|
position: s(i),
|
|
725
746
|
rotation: s(r),
|
|
726
747
|
scale: s(l)
|
|
727
748
|
}, [
|
|
728
|
-
|
|
749
|
+
K(s(Fe)),
|
|
729
750
|
s(o) === "editor" ? (x(), S(s(Qe), {
|
|
730
751
|
key: 0,
|
|
731
|
-
type: s(
|
|
752
|
+
type: s(Fi)
|
|
732
753
|
}, null, 8, ["type"])) : le("", !0),
|
|
733
754
|
D(c.$slots, "default")
|
|
734
755
|
], 8, is));
|
|
@@ -769,7 +790,7 @@ const ts = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
769
790
|
"settings",
|
|
770
791
|
"widthSegements"
|
|
771
792
|
]);
|
|
772
|
-
return (d,
|
|
793
|
+
return (d, f) => (x(), ee("TresBoxGeometry", {
|
|
773
794
|
args: [
|
|
774
795
|
s(u),
|
|
775
796
|
s(r),
|
|
@@ -812,7 +833,7 @@ const ts = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
812
833
|
"settings",
|
|
813
834
|
"widthSegments"
|
|
814
835
|
]);
|
|
815
|
-
return (
|
|
836
|
+
return (f, c) => (x(), ee("TresSphereGeometry", {
|
|
816
837
|
args: [
|
|
817
838
|
s(l),
|
|
818
839
|
s(d),
|
|
@@ -836,14 +857,14 @@ const ts = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
836
857
|
"settings",
|
|
837
858
|
"intensity"
|
|
838
859
|
]);
|
|
839
|
-
return (d,
|
|
860
|
+
return (d, f) => (x(), ee("TresAmbientLight", {
|
|
840
861
|
color: s(u),
|
|
841
862
|
intensity: s(p),
|
|
842
863
|
position: s(o),
|
|
843
864
|
rotation: s(i),
|
|
844
865
|
scale: s(r)
|
|
845
866
|
}, [
|
|
846
|
-
|
|
867
|
+
K(s(Fe)),
|
|
847
868
|
D(d.$slots, "default")
|
|
848
869
|
], 8, ps));
|
|
849
870
|
}
|
|
@@ -859,19 +880,19 @@ const ts = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
859
880
|
"settings",
|
|
860
881
|
"intensity"
|
|
861
882
|
]);
|
|
862
|
-
return (
|
|
883
|
+
return (f, c) => (x(), ee("TresDirectionalLight", {
|
|
863
884
|
color: s(p),
|
|
864
885
|
intensity: s(d),
|
|
865
886
|
position: s(i),
|
|
866
887
|
rotation: s(r),
|
|
867
888
|
scale: s(l)
|
|
868
889
|
}, [
|
|
869
|
-
|
|
890
|
+
K(s(Fe)),
|
|
870
891
|
s(o) === "editor" ? (x(), S(s(Qe), {
|
|
871
892
|
key: 0,
|
|
872
893
|
type: s(ko)
|
|
873
894
|
}, null, 8, ["type"])) : le("", !0),
|
|
874
|
-
D(
|
|
895
|
+
D(f.$slots, "default")
|
|
875
896
|
], 8, fs));
|
|
876
897
|
}
|
|
877
898
|
}), bs = ["color", "decay", "distance", "intensity", "position", "rotation", "scale"], hs = /* @__PURE__ */ I({
|
|
@@ -882,28 +903,28 @@ const ts = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
882
903
|
refContext: {}
|
|
883
904
|
},
|
|
884
905
|
setup(t) {
|
|
885
|
-
const n = t, { node: e } = E(n), o = ie(), { position: i, rotation: r, scale: l } = me(e), { property: u } = a(e, ["settings", "color"]), { color: p } = Z(u), { property: d } = a(e, ["settings", "decay"]), { property:
|
|
906
|
+
const n = t, { node: e } = E(n), o = ie(), { position: i, rotation: r, scale: l } = me(e), { property: u } = a(e, ["settings", "color"]), { color: p } = Z(u), { property: d } = a(e, ["settings", "decay"]), { property: f } = a(e, [
|
|
886
907
|
"settings",
|
|
887
908
|
"distance"
|
|
888
909
|
]), { property: c } = a(e, [
|
|
889
910
|
"settings",
|
|
890
911
|
"intensity"
|
|
891
912
|
]);
|
|
892
|
-
return (
|
|
913
|
+
return (m, h) => (x(), ee("TresPointLight", {
|
|
893
914
|
color: s(p),
|
|
894
915
|
decay: s(d),
|
|
895
|
-
distance: s(
|
|
916
|
+
distance: s(f),
|
|
896
917
|
intensity: s(c),
|
|
897
918
|
position: s(i),
|
|
898
919
|
rotation: s(r),
|
|
899
920
|
scale: s(l)
|
|
900
921
|
}, [
|
|
901
|
-
|
|
922
|
+
K(s(Fe)),
|
|
902
923
|
s(o) === "editor" ? (x(), S(s(Qe), {
|
|
903
924
|
key: 0,
|
|
904
925
|
type: s(wo)
|
|
905
926
|
}, null, 8, ["type"])) : le("", !0),
|
|
906
|
-
D(
|
|
927
|
+
D(m.$slots, "default")
|
|
907
928
|
], 8, bs));
|
|
908
929
|
}
|
|
909
930
|
}), gs = ["angle", "color", "decay", "distance", "intensity", "penumbra", "position", "rotation", "scale"], vs = /* @__PURE__ */ I({
|
|
@@ -914,10 +935,10 @@ const ts = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
914
935
|
refContext: {}
|
|
915
936
|
},
|
|
916
937
|
setup(t) {
|
|
917
|
-
const n = t, { node: e } = E(n), o = ie(), { position: i, rotation: r, scale: l } = me(e), { property: u } = a(e, ["settings", "angle"]), { property: p } = a(e, ["settings", "color"]), { color: d } = Z(p), { property:
|
|
938
|
+
const n = t, { node: e } = E(n), o = ie(), { position: i, rotation: r, scale: l } = me(e), { property: u } = a(e, ["settings", "angle"]), { property: p } = a(e, ["settings", "color"]), { color: d } = Z(p), { property: f } = a(e, ["settings", "decay"]), { property: c } = a(e, [
|
|
918
939
|
"settings",
|
|
919
940
|
"distance"
|
|
920
|
-
]), { property:
|
|
941
|
+
]), { property: m } = a(e, [
|
|
921
942
|
"settings",
|
|
922
943
|
"intensity"
|
|
923
944
|
]), { property: h } = a(e, [
|
|
@@ -927,15 +948,15 @@ const ts = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
927
948
|
return (y, g) => (x(), ee("TresSpotLight", {
|
|
928
949
|
angle: s(u),
|
|
929
950
|
color: s(d),
|
|
930
|
-
decay: s(
|
|
951
|
+
decay: s(f),
|
|
931
952
|
distance: s(c),
|
|
932
|
-
intensity: s(
|
|
953
|
+
intensity: s(m),
|
|
933
954
|
penumbra: s(h),
|
|
934
955
|
position: s(o) !== "editor" ? s(i) : [0, 0, 0],
|
|
935
956
|
rotation: s(o) !== "editor" ? s(r) : [0, 0, 0],
|
|
936
957
|
scale: s(o) !== "editor" ? s(l) : [1, 1, 1]
|
|
937
958
|
}, [
|
|
938
|
-
|
|
959
|
+
K(s(Fe)),
|
|
939
960
|
s(o) === "editor" ? (x(), S(s(Qe), {
|
|
940
961
|
key: 0,
|
|
941
962
|
type: s(Io)
|
|
@@ -981,7 +1002,7 @@ const ks = /* @__PURE__ */ De(_s, [["render", xs]]), ws = ["position", "rotation
|
|
|
981
1002
|
D(l.$slots, "default")
|
|
982
1003
|
], 8, Ss));
|
|
983
1004
|
}
|
|
984
|
-
}), $s = ["#dd6b66", "#759aa0", "#e69d87", "#8dc1a9", "#ea7e53", "#eedd78", "#73a373", "#73b9bc", "#7289ab", "#91ca8c", "#f49f42"], Vs = "#242424", Ps = {}, Es = { textStyle: { color: "#eeeeee" }, subtextStyle: { color: "#aaaaaa" } }, zs = { itemStyle: { borderWidth: 1 }, lineStyle: { width: 2 }, symbolSize: 4, symbol: "circle", smooth: !1 }, Ls = { itemStyle: { borderWidth: 1 }, lineStyle: { width: 2 }, symbolSize: 4, symbol: "circle", smooth: !1 }, As = { itemStyle: { barBorderWidth: 0, barBorderColor: "#ccc" } }, Ts = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Us = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Ms = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Bs = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Rs = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Ws = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } },
|
|
1005
|
+
}), $s = ["#dd6b66", "#759aa0", "#e69d87", "#8dc1a9", "#ea7e53", "#eedd78", "#73a373", "#73b9bc", "#7289ab", "#91ca8c", "#f49f42"], Vs = "#242424", Ps = {}, Es = { textStyle: { color: "#eeeeee" }, subtextStyle: { color: "#aaaaaa" } }, zs = { itemStyle: { borderWidth: 1 }, lineStyle: { width: 2 }, symbolSize: 4, symbol: "circle", smooth: !1 }, Ls = { itemStyle: { borderWidth: 1 }, lineStyle: { width: 2 }, symbolSize: 4, symbol: "circle", smooth: !1 }, As = { itemStyle: { barBorderWidth: 0, barBorderColor: "#ccc" } }, Ts = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Us = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Ms = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Bs = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Rs = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Ws = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Ks = { itemStyle: { borderWidth: 0, borderColor: "#ccc" } }, Fs = { itemStyle: { color: "#fd1050", color0: "#0cf49b", borderColor: "#fd1050", borderColor0: "#0cf49b", borderWidth: 1 } }, Ds = { itemStyle: { borderWidth: 0, borderColor: "#ccc" }, lineStyle: { width: 1, color: "#aaa" }, symbolSize: 4, symbol: "circle", smooth: !1, color: ["#dd6b66", "#759aa0", "#e69d87", "#8dc1a9", "#ea7e53", "#eedd78", "#73a373", "#73b9bc", "#7289ab", "#91ca8c", "#f49f42"], label: { color: "#eee" } }, Os = { itemStyle: { areaColor: "#eee", borderColor: "#444", borderWidth: 0.5 }, label: { color: "#000" }, emphasis: { itemStyle: { areaColor: "rgba(255,215,0,0.8)", borderColor: "#444", borderWidth: 1 }, label: { color: "rgb(100,0,0)" } } }, js = { itemStyle: { areaColor: "#eee", borderColor: "#444", borderWidth: 0.5 }, label: { color: "#000" }, emphasis: { itemStyle: { areaColor: "rgba(255,215,0,0.8)", borderColor: "#444", borderWidth: 1 }, label: { color: "rgb(100,0,0)" } } }, Ns = { axisLine: { show: !0, lineStyle: { color: "#eeeeee" } }, axisTick: { show: !0, lineStyle: { color: "#eeeeee" } }, axisLabel: { show: !0, color: "#eeeeee" }, splitLine: { show: !0, lineStyle: { color: ["#aaaaaa"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } }, Hs = { axisLine: { show: !0, lineStyle: { color: "#eeeeee" } }, axisTick: { show: !0, lineStyle: { color: "#eeeeee" } }, axisLabel: { show: !0, color: "#eeeeee" }, splitLine: { show: !0, lineStyle: { color: ["#aaaaaa"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } }, Gs = { axisLine: { show: !0, lineStyle: { color: "#eeeeee" } }, axisTick: { show: !0, lineStyle: { color: "#eeeeee" } }, axisLabel: { show: !0, color: "#eeeeee" }, splitLine: { show: !0, lineStyle: { color: ["#aaaaaa"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } }, Js = { axisLine: { show: !0, lineStyle: { color: "#eeeeee" } }, axisTick: { show: !0, lineStyle: { color: "#eeeeee" } }, axisLabel: { show: !0, color: "#eeeeee" }, splitLine: { show: !0, lineStyle: { color: ["#aaaaaa"] } }, splitArea: { show: !1, areaStyle: { color: ["#eeeeee"] } } }, qs = { iconStyle: { borderColor: "#999" }, emphasis: { iconStyle: { borderColor: "#666" } } }, Xs = { textStyle: { color: "#eeeeee" } }, Ys = { axisPointer: { lineStyle: { color: "#eeeeee", width: "1" }, crossStyle: { color: "#eeeeee", width: "1" } } }, Zs = { lineStyle: { color: "#eeeeee", width: 1 }, itemStyle: { color: "#dd6b66", borderWidth: 1 }, controlStyle: { color: "#eeeeee", borderColor: "#eeeeee", borderWidth: 0.5 }, checkpointStyle: { color: "#e43c59", borderColor: "#c23531" }, label: { color: "#eeeeee" }, emphasis: { itemStyle: { color: "#a9334c" }, controlStyle: { color: "#eeeeee", borderColor: "#eeeeee", borderWidth: 0.5 }, label: { color: "#eeeeee" } } }, Qs = { color: ["#bf444c", "#d88273", "#f6efa6"] }, er = { backgroundColor: "rgba(47,69,84,0)", dataBackgroundColor: "rgba(255,255,255,0.3)", fillerColor: "rgba(167,183,204,0.4)", handleColor: "#a7b7cc", handleSize: "100%", textStyle: { color: "#eeeeee" } }, tr = { label: { color: "#eee" }, emphasis: { label: { color: "#eee" } } }, nr = {
|
|
985
1006
|
color: $s,
|
|
986
1007
|
backgroundColor: Vs,
|
|
987
1008
|
textStyle: Ps,
|
|
@@ -995,12 +1016,12 @@ const ks = /* @__PURE__ */ De(_s, [["render", xs]]), ws = ["position", "rotation
|
|
|
995
1016
|
parallel: Bs,
|
|
996
1017
|
sankey: Rs,
|
|
997
1018
|
funnel: Ws,
|
|
998
|
-
gauge:
|
|
999
|
-
candlestick:
|
|
1019
|
+
gauge: Ks,
|
|
1020
|
+
candlestick: Fs,
|
|
1000
1021
|
graph: Ds,
|
|
1001
1022
|
map: Os,
|
|
1002
|
-
geo:
|
|
1003
|
-
categoryAxis:
|
|
1023
|
+
geo: js,
|
|
1024
|
+
categoryAxis: Ns,
|
|
1004
1025
|
valueAxis: Hs,
|
|
1005
1026
|
logAxis: Gs,
|
|
1006
1027
|
timeAxis: Js,
|
|
@@ -1062,7 +1083,7 @@ const Ar = /* @__PURE__ */ I({
|
|
|
1062
1083
|
refContext: {}
|
|
1063
1084
|
},
|
|
1064
1085
|
setup(t) {
|
|
1065
|
-
const n = t, { node: e } = E(n), o =
|
|
1086
|
+
const n = t, { node: e } = E(n), o = je(), i = it(), r = Ee(), l = ae(), { width: u, minWidth: p, maxWidth: d, height: f, minHeight: c, maxHeight: m, applySize: h } = ge(n, e), { applyTitle: y } = Ji(e), { applyXAxis: g } = qi(e), { applyYAxis: _ } = Xi(e), { applyLegend: $ } = Hi(e), { applySeries: w } = Gi(e), v = k(() => {
|
|
1066
1087
|
const L = {}, q = l.value?.type;
|
|
1067
1088
|
return r === "page" ? q === "ui" ? h(L) : console.assert(!1) : r === "comp" && q === "ui" ? h(L) : console.assert(!1), L;
|
|
1068
1089
|
}), V = zi("chart");
|
|
@@ -1073,12 +1094,12 @@ const Ar = /* @__PURE__ */ I({
|
|
|
1073
1094
|
z.setOption(L);
|
|
1074
1095
|
}, O = () => {
|
|
1075
1096
|
z?.resize();
|
|
1076
|
-
},
|
|
1097
|
+
}, j = () => {
|
|
1077
1098
|
const L = {};
|
|
1078
1099
|
y(L), g(L), _(L), $(L), w(L), z?.setOption(L, !0);
|
|
1079
1100
|
};
|
|
1080
1101
|
return Li(async () => {
|
|
1081
|
-
window.addEventListener("resize", O, !1), await Mi(() => !!V.value), H(),
|
|
1102
|
+
window.addEventListener("resize", O, !1), await Mi(() => !!V.value), H(), j();
|
|
1082
1103
|
}), we(() => {
|
|
1083
1104
|
window.removeEventListener("resize", O, !1), z?.dispose();
|
|
1084
1105
|
}), ue(
|
|
@@ -1088,19 +1109,19 @@ const Ar = /* @__PURE__ */ I({
|
|
|
1088
1109
|
u,
|
|
1089
1110
|
p,
|
|
1090
1111
|
d,
|
|
1091
|
-
|
|
1112
|
+
f,
|
|
1092
1113
|
c,
|
|
1093
|
-
|
|
1114
|
+
m
|
|
1094
1115
|
],
|
|
1095
1116
|
async () => {
|
|
1096
1117
|
await Me(), O();
|
|
1097
1118
|
}
|
|
1098
1119
|
), ue([i], () => {
|
|
1099
|
-
H(),
|
|
1120
|
+
H(), j();
|
|
1100
1121
|
}), ue(
|
|
1101
1122
|
[n],
|
|
1102
1123
|
() => {
|
|
1103
|
-
|
|
1124
|
+
j();
|
|
1104
1125
|
},
|
|
1105
1126
|
{ deep: !0 }
|
|
1106
1127
|
), (L, q) => (x(), S(s(G), {
|
|
@@ -1108,7 +1129,7 @@ const Ar = /* @__PURE__ */ I({
|
|
|
1108
1129
|
mask: ""
|
|
1109
1130
|
}, {
|
|
1110
1131
|
default: P(() => [
|
|
1111
|
-
|
|
1132
|
+
Ke("div", {
|
|
1112
1133
|
ref: "chart",
|
|
1113
1134
|
style: he(v.value)
|
|
1114
1135
|
}, null, 4)
|
|
@@ -1124,7 +1145,7 @@ const Ar = /* @__PURE__ */ I({
|
|
|
1124
1145
|
refContext: {}
|
|
1125
1146
|
},
|
|
1126
1147
|
setup(t) {
|
|
1127
|
-
const n = t, { node: e } = E(n), o =
|
|
1148
|
+
const n = t, { node: e } = E(n), o = je(), i = it(), r = Ee(), l = ae(), { width: u, minWidth: p, maxWidth: d, height: f, minHeight: c, maxHeight: m, applySize: h } = ge(n, e), { applyTitle: y } = Ji(e), { applyXAxis: g } = qi(e), { applyYAxis: _ } = Xi(e), { applyLegend: $ } = Hi(e), { applySeries: w } = Gi(e), v = k(() => {
|
|
1128
1149
|
const L = {}, q = l.value?.type;
|
|
1129
1150
|
return r === "page" ? q === "ui" ? h(L) : console.assert(!1) : r === "comp" && q === "ui" ? h(L) : console.assert(!1), L;
|
|
1130
1151
|
}), V = zi("chart");
|
|
@@ -1135,12 +1156,12 @@ const Ar = /* @__PURE__ */ I({
|
|
|
1135
1156
|
z.setOption(L);
|
|
1136
1157
|
}, O = () => {
|
|
1137
1158
|
z?.resize();
|
|
1138
|
-
},
|
|
1159
|
+
}, j = () => {
|
|
1139
1160
|
const L = {};
|
|
1140
1161
|
y(L), g(L), _(L), $(L), w(L), z?.setOption(L, !0);
|
|
1141
1162
|
};
|
|
1142
1163
|
return Li(async () => {
|
|
1143
|
-
window.addEventListener("resize", O, !1), await Mi(() => !!V.value), H(),
|
|
1164
|
+
window.addEventListener("resize", O, !1), await Mi(() => !!V.value), H(), j();
|
|
1144
1165
|
}), we(() => {
|
|
1145
1166
|
window.removeEventListener("resize", O, !1), z?.dispose();
|
|
1146
1167
|
}), ue(
|
|
@@ -1150,19 +1171,19 @@ const Ar = /* @__PURE__ */ I({
|
|
|
1150
1171
|
u,
|
|
1151
1172
|
p,
|
|
1152
1173
|
d,
|
|
1153
|
-
|
|
1174
|
+
f,
|
|
1154
1175
|
c,
|
|
1155
|
-
|
|
1176
|
+
m
|
|
1156
1177
|
],
|
|
1157
1178
|
async () => {
|
|
1158
1179
|
await Me(), O();
|
|
1159
1180
|
}
|
|
1160
1181
|
), ue([i], () => {
|
|
1161
|
-
H(),
|
|
1182
|
+
H(), j();
|
|
1162
1183
|
}), ue(
|
|
1163
1184
|
[n],
|
|
1164
1185
|
() => {
|
|
1165
|
-
|
|
1186
|
+
j();
|
|
1166
1187
|
},
|
|
1167
1188
|
{ deep: !0 }
|
|
1168
1189
|
), (L, q) => (x(), S(s(G), {
|
|
@@ -1170,7 +1191,7 @@ const Ar = /* @__PURE__ */ I({
|
|
|
1170
1191
|
mask: ""
|
|
1171
1192
|
}, {
|
|
1172
1193
|
default: P(() => [
|
|
1173
|
-
|
|
1194
|
+
Ke("div", {
|
|
1174
1195
|
ref: "chart",
|
|
1175
1196
|
style: he(v.value)
|
|
1176
1197
|
}, null, 4)
|
|
@@ -1190,10 +1211,10 @@ const Ar = /* @__PURE__ */ I({
|
|
|
1190
1211
|
console.log(`<element/${t.nodeId}/multiple_ref_v1/${t.instance}> created`), we(() => {
|
|
1191
1212
|
console.log(`<element/${t.nodeId}/multiple_ref_v1/${t.instance}> destroyed`);
|
|
1192
1213
|
});
|
|
1193
|
-
const n = ae(), e = k(() =>
|
|
1214
|
+
const n = ae(), e = k(() => F(n.value));
|
|
1194
1215
|
ve(e), Ce(e, "multipleRef", t.nodeId, t.instance, oe());
|
|
1195
1216
|
const o = (r) => {
|
|
1196
|
-
const l =
|
|
1217
|
+
const l = Pe[r.key];
|
|
1197
1218
|
if (!l) {
|
|
1198
1219
|
console.assert(!1, `element not found key=${r.key}`);
|
|
1199
1220
|
return;
|
|
@@ -1250,7 +1271,7 @@ const Ar = /* @__PURE__ */ I({
|
|
|
1250
1271
|
transform: ""
|
|
1251
1272
|
}, {
|
|
1252
1273
|
default: P(() => [
|
|
1253
|
-
|
|
1274
|
+
Ke("div", Br, Ai(t.label), 1)
|
|
1254
1275
|
]),
|
|
1255
1276
|
_: 1
|
|
1256
1277
|
})) : le("", !0),
|
|
@@ -1272,7 +1293,7 @@ const Ar = /* @__PURE__ */ I({
|
|
|
1272
1293
|
const { applySize: p } = ge(e, o), d = k(() => {
|
|
1273
1294
|
const w = {};
|
|
1274
1295
|
return l.value?.type === "ui" && p(w), w;
|
|
1275
|
-
}), { position:
|
|
1296
|
+
}), { position: f, rotation: c, scale: m } = me(o), { property: h } = a(o, ["instances"]), y = (w, v) => {
|
|
1276
1297
|
w.findIndex((V) => V === v) >= 0 || w.push(v);
|
|
1277
1298
|
}, g = k(() => {
|
|
1278
1299
|
const w = [];
|
|
@@ -1304,17 +1325,17 @@ const Ar = /* @__PURE__ */ I({
|
|
|
1304
1325
|
w.global.t("x-runtime-lib.circularReference")
|
|
1305
1326
|
) : r.value.type === "3d" ? W(ce, {
|
|
1306
1327
|
name: n.name,
|
|
1307
|
-
position:
|
|
1328
|
+
position: f.value,
|
|
1308
1329
|
rotation: c.value,
|
|
1309
|
-
scale:
|
|
1330
|
+
scale: m.value,
|
|
1310
1331
|
label: w.global.t("x-runtime-lib.circularReference")
|
|
1311
1332
|
}) : void 0;
|
|
1312
1333
|
if (!l.value)
|
|
1313
1334
|
return r.value.type === "ui" ? W("div", { id: n.id, style: d.value }) : r.value.type === "3d" ? W(ce, {
|
|
1314
1335
|
name: n.name,
|
|
1315
|
-
position:
|
|
1336
|
+
position: f.value,
|
|
1316
1337
|
rotation: c.value,
|
|
1317
|
-
scale:
|
|
1338
|
+
scale: m.value
|
|
1318
1339
|
}) : void 0;
|
|
1319
1340
|
if (l.value.type !== r.value.type) {
|
|
1320
1341
|
console.assert(!1, "subtype not match");
|
|
@@ -1337,9 +1358,9 @@ const Ar = /* @__PURE__ */ I({
|
|
|
1337
1358
|
ce,
|
|
1338
1359
|
{
|
|
1339
1360
|
name: n.name,
|
|
1340
|
-
position:
|
|
1361
|
+
position: f.value,
|
|
1341
1362
|
rotation: c.value,
|
|
1342
|
-
scale:
|
|
1363
|
+
scale: m.value
|
|
1343
1364
|
},
|
|
1344
1365
|
{
|
|
1345
1366
|
default: () => g.value.map((V) => _(V, v))
|
|
@@ -1360,10 +1381,10 @@ const Ar = /* @__PURE__ */ I({
|
|
|
1360
1381
|
console.log(`<element/${t.nodeId}/multiple_slot_v1/${t.instance}> created`), we(() => {
|
|
1361
1382
|
console.log(`<element/${t.nodeId}/multiple_slot_v1/${t.instance}> destroyed`);
|
|
1362
1383
|
});
|
|
1363
|
-
const n = ae(), e = k(() =>
|
|
1384
|
+
const n = ae(), e = k(() => F(n.value));
|
|
1364
1385
|
ve(e), Ce(e, "multipleCustomSlot", t.nodeId, t.instance, oe());
|
|
1365
1386
|
const o = (r) => {
|
|
1366
|
-
const l =
|
|
1387
|
+
const l = Pe[r.key];
|
|
1367
1388
|
if (!l) {
|
|
1368
1389
|
console.assert(!1, `element not found key=${r.key}`);
|
|
1369
1390
|
return;
|
|
@@ -1399,7 +1420,7 @@ const Ar = /* @__PURE__ */ I({
|
|
|
1399
1420
|
};
|
|
1400
1421
|
return (r, l) => (x(), S(i));
|
|
1401
1422
|
}
|
|
1402
|
-
}),
|
|
1423
|
+
}), Kr = /* @__PURE__ */ I({
|
|
1403
1424
|
__name: "index",
|
|
1404
1425
|
props: {
|
|
1405
1426
|
nodeId: {},
|
|
@@ -1414,7 +1435,7 @@ const Ar = /* @__PURE__ */ I({
|
|
|
1414
1435
|
const { applySize: p } = ge(e, o), d = k(() => {
|
|
1415
1436
|
const w = {};
|
|
1416
1437
|
return l.value?.type === "ui" && p(w), w;
|
|
1417
|
-
}), { position:
|
|
1438
|
+
}), { position: f, rotation: c, scale: m } = me(o), { property: h } = a(o, ["instances"]), y = (w, v) => {
|
|
1418
1439
|
w.findIndex((V) => V === v) >= 0 || w.push(v);
|
|
1419
1440
|
}, g = k(() => {
|
|
1420
1441
|
const w = [];
|
|
@@ -1446,17 +1467,17 @@ const Ar = /* @__PURE__ */ I({
|
|
|
1446
1467
|
w.global.t("x-runtime-lib.circularReference")
|
|
1447
1468
|
) : r.value.type === "3d" ? W(ce, {
|
|
1448
1469
|
name: n.name,
|
|
1449
|
-
position:
|
|
1470
|
+
position: f.value,
|
|
1450
1471
|
rotation: c.value,
|
|
1451
|
-
scale:
|
|
1472
|
+
scale: m.value,
|
|
1452
1473
|
label: w.global.t("x-runtime-lib.circularReference")
|
|
1453
1474
|
}) : void 0;
|
|
1454
1475
|
if (!l.value)
|
|
1455
1476
|
return r.value.type === "ui" ? W("div", { id: n.id, style: d.value }) : r.value.type === "3d" ? W(ce, {
|
|
1456
1477
|
name: n.name,
|
|
1457
|
-
position:
|
|
1478
|
+
position: f.value,
|
|
1458
1479
|
rotation: c.value,
|
|
1459
|
-
scale:
|
|
1480
|
+
scale: m.value
|
|
1460
1481
|
}) : void 0;
|
|
1461
1482
|
if (l.value.type !== r.value.type) {
|
|
1462
1483
|
console.assert(!1, "subtype not match");
|
|
@@ -1479,9 +1500,9 @@ const Ar = /* @__PURE__ */ I({
|
|
|
1479
1500
|
ce,
|
|
1480
1501
|
{
|
|
1481
1502
|
name: n.name,
|
|
1482
|
-
position:
|
|
1503
|
+
position: f.value,
|
|
1483
1504
|
rotation: c.value,
|
|
1484
|
-
scale:
|
|
1505
|
+
scale: m.value
|
|
1485
1506
|
},
|
|
1486
1507
|
{
|
|
1487
1508
|
default: () => g.value.map((V) => _(V, v))
|
|
@@ -1490,7 +1511,7 @@ const Ar = /* @__PURE__ */ I({
|
|
|
1490
1511
|
};
|
|
1491
1512
|
return (w, v) => (x(), S($));
|
|
1492
1513
|
}
|
|
1493
|
-
}),
|
|
1514
|
+
}), Fr = /* @__PURE__ */ I({
|
|
1494
1515
|
__name: "index",
|
|
1495
1516
|
props: {
|
|
1496
1517
|
nodeId: {},
|
|
@@ -1505,8 +1526,8 @@ const Ar = /* @__PURE__ */ I({
|
|
|
1505
1526
|
const { applySize: p } = ge(e, o), d = k(() => {
|
|
1506
1527
|
const g = {};
|
|
1507
1528
|
return r.value?.type === "ui" && p(g), g;
|
|
1508
|
-
}), { position:
|
|
1509
|
-
const _ =
|
|
1529
|
+
}), { position: f, rotation: c, scale: m } = me(o), h = (g) => {
|
|
1530
|
+
const _ = Pe[g.key];
|
|
1510
1531
|
if (!_) {
|
|
1511
1532
|
console.assert(!1, `element not found key=${g.key}`);
|
|
1512
1533
|
return;
|
|
@@ -1547,17 +1568,17 @@ const Ar = /* @__PURE__ */ I({
|
|
|
1547
1568
|
g.global.t("x-runtime-lib.circularReference")
|
|
1548
1569
|
) : r.value.type === "3d" ? W(ce, {
|
|
1549
1570
|
name: n.name,
|
|
1550
|
-
position:
|
|
1571
|
+
position: f.value,
|
|
1551
1572
|
rotation: c.value,
|
|
1552
|
-
scale:
|
|
1573
|
+
scale: m.value,
|
|
1553
1574
|
label: g.global.t("x-runtime-lib.circularReference")
|
|
1554
1575
|
}) : void 0;
|
|
1555
1576
|
if (!l.value)
|
|
1556
1577
|
return r.value.type === "ui" ? W("div", { id: n.id, style: d.value }) : r.value.type === "3d" ? W(ce, {
|
|
1557
1578
|
name: n.name,
|
|
1558
|
-
position:
|
|
1579
|
+
position: f.value,
|
|
1559
1580
|
rotation: c.value,
|
|
1560
|
-
scale:
|
|
1581
|
+
scale: m.value
|
|
1561
1582
|
}) : void 0;
|
|
1562
1583
|
if (l.value.type !== r.value.type) {
|
|
1563
1584
|
console.assert(!1, "subtype not match");
|
|
@@ -1580,9 +1601,9 @@ const Ar = /* @__PURE__ */ I({
|
|
|
1580
1601
|
ce,
|
|
1581
1602
|
{
|
|
1582
1603
|
name: n.name,
|
|
1583
|
-
position:
|
|
1604
|
+
position: f.value,
|
|
1584
1605
|
rotation: c.value,
|
|
1585
|
-
scale:
|
|
1606
|
+
scale: m.value
|
|
1586
1607
|
},
|
|
1587
1608
|
{
|
|
1588
1609
|
default: () => l.value?.view.nodeLites.map(($) => h($))
|
|
@@ -1622,9 +1643,9 @@ const Ar = /* @__PURE__ */ I({
|
|
|
1622
1643
|
const { applySize: p } = ge(e, o), d = k(() => {
|
|
1623
1644
|
const g = {};
|
|
1624
1645
|
return l.value?.type === "ui" && p(g), g;
|
|
1625
|
-
}), { position:
|
|
1646
|
+
}), { position: f, rotation: c, scale: m } = me(o);
|
|
1626
1647
|
function h(g) {
|
|
1627
|
-
const _ =
|
|
1648
|
+
const _ = Pe[g.key];
|
|
1628
1649
|
if (!_) {
|
|
1629
1650
|
console.assert(!1, `element not found key=${g.key}`);
|
|
1630
1651
|
return;
|
|
@@ -1666,17 +1687,17 @@ const Ar = /* @__PURE__ */ I({
|
|
|
1666
1687
|
g.global.t("x-runtime-lib.circularReference")
|
|
1667
1688
|
) : r.value.type === "3d" ? W(ce, {
|
|
1668
1689
|
name: n.name,
|
|
1669
|
-
position:
|
|
1690
|
+
position: f.value,
|
|
1670
1691
|
rotation: c.value,
|
|
1671
|
-
scale:
|
|
1692
|
+
scale: m.value,
|
|
1672
1693
|
label: g.global.t("x-runtime-lib.circularReference")
|
|
1673
1694
|
}) : void 0;
|
|
1674
1695
|
if (!l.value)
|
|
1675
1696
|
return r.value.type === "ui" ? W("div", { id: n.id, style: d.value }) : r.value.type === "3d" ? W(ce, {
|
|
1676
1697
|
name: n.name,
|
|
1677
|
-
position:
|
|
1698
|
+
position: f.value,
|
|
1678
1699
|
rotation: c.value,
|
|
1679
|
-
scale:
|
|
1700
|
+
scale: m.value
|
|
1680
1701
|
}) : void 0;
|
|
1681
1702
|
if (l.value.type !== r.value.type) {
|
|
1682
1703
|
console.assert(!1, "subtype not match");
|
|
@@ -1699,9 +1720,9 @@ const Ar = /* @__PURE__ */ I({
|
|
|
1699
1720
|
ce,
|
|
1700
1721
|
{
|
|
1701
1722
|
name: n.name,
|
|
1702
|
-
position:
|
|
1723
|
+
position: f.value,
|
|
1703
1724
|
rotation: c.value,
|
|
1704
|
-
scale:
|
|
1725
|
+
scale: m.value
|
|
1705
1726
|
},
|
|
1706
1727
|
{
|
|
1707
1728
|
default: () => l.value?.view.nodeLites.map(($) => h($))
|
|
@@ -1728,10 +1749,10 @@ const Ar = /* @__PURE__ */ I({
|
|
|
1728
1749
|
"y"
|
|
1729
1750
|
]);
|
|
1730
1751
|
return (p, d) => {
|
|
1731
|
-
const
|
|
1752
|
+
const f = B("v-badge");
|
|
1732
1753
|
return x(), S(s(G), null, {
|
|
1733
1754
|
default: P(() => [
|
|
1734
|
-
|
|
1755
|
+
K(f, {
|
|
1735
1756
|
content: s(o),
|
|
1736
1757
|
dot: s(i),
|
|
1737
1758
|
"offset-x": s(l),
|
|
@@ -1748,7 +1769,7 @@ const Ar = /* @__PURE__ */ I({
|
|
|
1748
1769
|
});
|
|
1749
1770
|
};
|
|
1750
1771
|
}
|
|
1751
|
-
}),
|
|
1772
|
+
}), jr = /* @__PURE__ */ I({
|
|
1752
1773
|
__name: "index",
|
|
1753
1774
|
props: {
|
|
1754
1775
|
nodeId: {},
|
|
@@ -1763,14 +1784,14 @@ const Ar = /* @__PURE__ */ I({
|
|
|
1763
1784
|
]), { property: r } = a(e, ["settings", "block"]), { property: l } = a(e, ["settings", "color"]), { color: u } = Z(l), { property: p } = a(e, ["settings", "density"]), { property: d } = a(e, [
|
|
1764
1785
|
"settings",
|
|
1765
1786
|
"disabled"
|
|
1766
|
-
]), { property:
|
|
1787
|
+
]), { property: f } = a(e, ["size", "height"]), { property: c } = a(e, ["settings", "loading"]), { property: m } = a(e, ["size", "maxHeight"]), { property: h } = a(e, ["size", "maxWidth"]), { property: y } = a(e, ["size", "minHeight"]), { property: g } = a(e, ["size", "minWidth"]), { property: _ } = a(e, [
|
|
1767
1788
|
"settings",
|
|
1768
1789
|
"addIcon",
|
|
1769
1790
|
"prepend"
|
|
1770
1791
|
]), { property: $ } = a(e, [
|
|
1771
1792
|
"settings",
|
|
1772
1793
|
"readonly"
|
|
1773
|
-
]), { property: w } = a(e, ["settings", "ripple"]), { property: v } = a(e, ["settings", "size"]), { property: V } = a(e, ["settings", "stacked"]), { property: z } = a(e, ["settings", "text"]), { theme: H } = J(), { property: O } = a(e, ["settings", "variant"]), { property:
|
|
1794
|
+
]), { property: w } = a(e, ["settings", "ripple"]), { property: v } = a(e, ["settings", "size"]), { property: V } = a(e, ["settings", "stacked"]), { property: z } = a(e, ["settings", "text"]), { theme: H } = J(), { property: O } = a(e, ["settings", "variant"]), { property: j } = a(e, ["size", "width"]), L = async (q) => {
|
|
1774
1795
|
!o || !o.vm || (o.setGlobalVariable("__pointerPosX__", q.clientX), o.setGlobalVariable("__pointerPosY__", q.clientY), await o.callFunctionAsync(
|
|
1775
1796
|
"__triggerEventV1__",
|
|
1776
1797
|
re("elementEvent", n.nodeId, "click"),
|
|
@@ -1784,15 +1805,15 @@ const Ar = /* @__PURE__ */ I({
|
|
|
1784
1805
|
mask: ""
|
|
1785
1806
|
}, {
|
|
1786
1807
|
default: P(() => [
|
|
1787
|
-
|
|
1808
|
+
K(_e, {
|
|
1788
1809
|
"append-icon": s(i),
|
|
1789
1810
|
block: s(r),
|
|
1790
1811
|
color: s(u),
|
|
1791
1812
|
density: s(p),
|
|
1792
1813
|
disabled: s(d),
|
|
1793
|
-
height: s(
|
|
1814
|
+
height: s(f),
|
|
1794
1815
|
loading: s(c),
|
|
1795
|
-
"max-height": s(
|
|
1816
|
+
"max-height": s(m),
|
|
1796
1817
|
"max-width": s(h),
|
|
1797
1818
|
"min-height": s(y),
|
|
1798
1819
|
"min-width": s(g),
|
|
@@ -1804,7 +1825,7 @@ const Ar = /* @__PURE__ */ I({
|
|
|
1804
1825
|
text: s(z),
|
|
1805
1826
|
theme: s(H),
|
|
1806
1827
|
variant: s(O),
|
|
1807
|
-
width: s(
|
|
1828
|
+
width: s(j),
|
|
1808
1829
|
onClick: L
|
|
1809
1830
|
}, null, 8, ["append-icon", "block", "color", "density", "disabled", "height", "loading", "max-height", "max-width", "min-height", "min-width", "prepend-icon", "readonly", "ripple", "size", "stacked", "text", "theme", "variant", "width"])
|
|
1810
1831
|
]),
|
|
@@ -1812,7 +1833,7 @@ const Ar = /* @__PURE__ */ I({
|
|
|
1812
1833
|
}, 8, ["block"]);
|
|
1813
1834
|
};
|
|
1814
1835
|
}
|
|
1815
|
-
}),
|
|
1836
|
+
}), Nr = {};
|
|
1816
1837
|
function Hr(t, n) {
|
|
1817
1838
|
const e = B("v-btn-group");
|
|
1818
1839
|
return x(), S(e, null, {
|
|
@@ -1822,7 +1843,7 @@ function Hr(t, n) {
|
|
|
1822
1843
|
_: 3
|
|
1823
1844
|
});
|
|
1824
1845
|
}
|
|
1825
|
-
const Gr = /* @__PURE__ */ De(
|
|
1846
|
+
const Gr = /* @__PURE__ */ De(Nr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
1826
1847
|
__name: "index",
|
|
1827
1848
|
props: {
|
|
1828
1849
|
nodeId: {},
|
|
@@ -1842,7 +1863,7 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
1842
1863
|
]), { property: p } = a(e, [
|
|
1843
1864
|
"settings",
|
|
1844
1865
|
"readonly"
|
|
1845
|
-
]), { property: d } = a(e, ["settings", "size"]), { property:
|
|
1866
|
+
]), { property: d } = a(e, ["settings", "size"]), { property: f } = a(e, ["settings", "stacked"]), { theme: c } = J(), { property: m } = a(e, ["settings", "tile"]), { property: h } = a(e, ["settings", "variant"]);
|
|
1846
1867
|
return (y, g) => {
|
|
1847
1868
|
const _ = B("v-btn-toggle");
|
|
1848
1869
|
return x(), S(_, {
|
|
@@ -1853,9 +1874,9 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
1853
1874
|
multiple: s(u),
|
|
1854
1875
|
readonly: s(p),
|
|
1855
1876
|
size: s(d),
|
|
1856
|
-
stacked: s(
|
|
1877
|
+
stacked: s(f),
|
|
1857
1878
|
theme: s(c),
|
|
1858
|
-
tile: s(
|
|
1879
|
+
tile: s(m),
|
|
1859
1880
|
variant: s(h)
|
|
1860
1881
|
}, {
|
|
1861
1882
|
default: P(() => [
|
|
@@ -1876,7 +1897,7 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
1876
1897
|
const n = t, { node: e } = E(n), { property: o } = a(e, ["settings", "density"]), { property: i } = a(e, [
|
|
1877
1898
|
"settings",
|
|
1878
1899
|
"disabled"
|
|
1879
|
-
]), { property: r } = a(e, ["size", "height"]), { property: l } = a(e, ["settings", "hover"]), { property: u } = a(e, ["settings", "loading"]), { property: p } = a(e, ["size", "maxHeight"]), { property: d } = a(e, ["size", "maxWidth"]), { property:
|
|
1900
|
+
]), { property: r } = a(e, ["size", "height"]), { property: l } = a(e, ["settings", "hover"]), { property: u } = a(e, ["settings", "loading"]), { property: p } = a(e, ["size", "maxHeight"]), { property: d } = a(e, ["size", "maxWidth"]), { property: f } = a(e, ["size", "minHeight"]), { property: c } = a(e, ["size", "minWidth"]), { property: m } = a(e, [
|
|
1880
1901
|
"settings",
|
|
1881
1902
|
"subtitle"
|
|
1882
1903
|
]), { property: h } = a(e, ["settings", "text"]), { theme: y } = J(), { property: g } = a(e, ["settings", "title"]), { property: _ } = a(e, ["settings", "variant"]), { property: $ } = a(e, ["size", "width"]);
|
|
@@ -1884,7 +1905,7 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
1884
1905
|
const V = B("v-card");
|
|
1885
1906
|
return x(), S(s(G), { block: "" }, {
|
|
1886
1907
|
default: P(() => [
|
|
1887
|
-
|
|
1908
|
+
K(V, {
|
|
1888
1909
|
density: s(o),
|
|
1889
1910
|
disabled: s(i),
|
|
1890
1911
|
height: s(r),
|
|
@@ -1892,9 +1913,9 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
1892
1913
|
loading: s(u),
|
|
1893
1914
|
"max-height": s(p),
|
|
1894
1915
|
"max-width": s(d),
|
|
1895
|
-
"min-height": s(
|
|
1916
|
+
"min-height": s(f),
|
|
1896
1917
|
"min-width": s(c),
|
|
1897
|
-
subtitle: s(
|
|
1918
|
+
subtitle: s(m),
|
|
1898
1919
|
text: s(h),
|
|
1899
1920
|
theme: s(y),
|
|
1900
1921
|
title: s(g),
|
|
@@ -1930,7 +1951,7 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
1930
1951
|
const u = B("v-checkbox");
|
|
1931
1952
|
return x(), S(s(G), { mask: "" }, {
|
|
1932
1953
|
default: P(() => [
|
|
1933
|
-
|
|
1954
|
+
K(u, {
|
|
1934
1955
|
disabled: s(o),
|
|
1935
1956
|
readonly: s(i)
|
|
1936
1957
|
}, null, 8, ["disabled", "readonly"])
|
|
@@ -1956,21 +1977,21 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
1956
1977
|
]), { property: p } = a(e, [
|
|
1957
1978
|
"settings",
|
|
1958
1979
|
"draggable"
|
|
1959
|
-
]), { property: d } = a(e, ["settings", "filter"]), { property:
|
|
1980
|
+
]), { property: d } = a(e, ["settings", "filter"]), { property: f } = a(e, ["settings", "label"]), { property: c } = a(e, ["settings", "size"]), { property: m } = a(e, ["settings", "text"]), { theme: h } = J(), { property: y } = a(e, ["settings", "tile"]), { property: g } = a(e, ["settings", "value"]), { property: _ } = a(e, ["settings", "variant"]);
|
|
1960
1981
|
return ($, w) => {
|
|
1961
1982
|
const v = B("v-chip");
|
|
1962
1983
|
return x(), S(s(G), { mask: "" }, {
|
|
1963
1984
|
default: P(() => [
|
|
1964
|
-
|
|
1985
|
+
K(v, {
|
|
1965
1986
|
closable: s(o),
|
|
1966
1987
|
color: s(r),
|
|
1967
1988
|
density: s(l),
|
|
1968
1989
|
disabled: s(u),
|
|
1969
1990
|
draggable: s(p),
|
|
1970
1991
|
filter: s(d),
|
|
1971
|
-
label: s(
|
|
1992
|
+
label: s(f),
|
|
1972
1993
|
size: s(c),
|
|
1973
|
-
text: s(
|
|
1994
|
+
text: s(m),
|
|
1974
1995
|
theme: s(h),
|
|
1975
1996
|
tile: s(y),
|
|
1976
1997
|
value: s(g),
|
|
@@ -2004,8 +2025,8 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2004
2025
|
]), { property: d } = a(e, [
|
|
2005
2026
|
"settings",
|
|
2006
2027
|
"showArrows"
|
|
2007
|
-
]), { theme:
|
|
2008
|
-
return (
|
|
2028
|
+
]), { theme: f } = J(), { property: c } = a(e, ["settings", "value"]);
|
|
2029
|
+
return (m, h) => {
|
|
2009
2030
|
const y = B("v-chip-group");
|
|
2010
2031
|
return x(), S(y, {
|
|
2011
2032
|
modelValue: s(c),
|
|
@@ -2017,10 +2038,10 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2017
2038
|
mandatory: s(u),
|
|
2018
2039
|
multiple: s(p),
|
|
2019
2040
|
"show-arrows": s(d),
|
|
2020
|
-
theme: s(
|
|
2041
|
+
theme: s(f)
|
|
2021
2042
|
}, {
|
|
2022
2043
|
default: P(() => [
|
|
2023
|
-
D(
|
|
2044
|
+
D(m.$slots, "default")
|
|
2024
2045
|
]),
|
|
2025
2046
|
_: 3
|
|
2026
2047
|
}, 8, ["modelValue", "column", "direction", "disabled", "filter", "mandatory", "multiple", "show-arrows", "theme"]);
|
|
@@ -2034,7 +2055,7 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2034
2055
|
refContext: {}
|
|
2035
2056
|
},
|
|
2036
2057
|
setup(t) {
|
|
2037
|
-
const n = t, { node: e } = E(n), o =
|
|
2058
|
+
const n = t, { node: e } = E(n), o = Ee(), i = ae(), { applySize: r } = ge(n, e), l = k(() => {
|
|
2038
2059
|
const g = {}, _ = i.value?.type;
|
|
2039
2060
|
return o === "page" ? _ === "ui" ? r(g) : console.assert(!1) : o === "comp" && _ === "ui" ? r(g) : console.assert(!1), g;
|
|
2040
2061
|
}), { property: u } = a(e, [
|
|
@@ -2046,13 +2067,13 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2046
2067
|
]), { property: d } = a(e, [
|
|
2047
2068
|
"settings",
|
|
2048
2069
|
"hideHeader"
|
|
2049
|
-
]), { property:
|
|
2070
|
+
]), { property: f } = a(e, [
|
|
2050
2071
|
"settings",
|
|
2051
2072
|
"hideInputs"
|
|
2052
2073
|
]), { property: c } = a(e, [
|
|
2053
2074
|
"settings",
|
|
2054
2075
|
"hideSliders"
|
|
2055
|
-
]), { property:
|
|
2076
|
+
]), { property: m } = a(e, [
|
|
2056
2077
|
"settings",
|
|
2057
2078
|
"landscape"
|
|
2058
2079
|
]), { property: h } = a(e, [
|
|
@@ -2063,13 +2084,13 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2063
2084
|
const $ = B("v-color-picker");
|
|
2064
2085
|
return x(), S(s(G), { mask: "" }, {
|
|
2065
2086
|
default: P(() => [
|
|
2066
|
-
|
|
2087
|
+
K($, {
|
|
2067
2088
|
disabled: s(u),
|
|
2068
2089
|
"hide-canvas": s(p),
|
|
2069
2090
|
"hide-header": s(d),
|
|
2070
|
-
"hide-inputs": s(
|
|
2091
|
+
"hide-inputs": s(f),
|
|
2071
2092
|
"hide-sliders": s(c),
|
|
2072
|
-
landscape: s(
|
|
2093
|
+
landscape: s(m),
|
|
2073
2094
|
"show-swatches": s(h),
|
|
2074
2095
|
style: he(l.value),
|
|
2075
2096
|
theme: s(y)
|
|
@@ -2100,11 +2121,11 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2100
2121
|
"settings",
|
|
2101
2122
|
"singleLine"
|
|
2102
2123
|
]), { theme: p } = J(), { property: d } = a(e, ["settings", "value"]);
|
|
2103
|
-
return (
|
|
2104
|
-
const
|
|
2124
|
+
return (f, c) => {
|
|
2125
|
+
const m = B("v-combobox");
|
|
2105
2126
|
return x(), S(s(G), { mask: "" }, {
|
|
2106
2127
|
default: P(() => [
|
|
2107
|
-
|
|
2128
|
+
K(m, {
|
|
2108
2129
|
modelValue: s(d),
|
|
2109
2130
|
"onUpdate:modelValue": c[0] || (c[0] = (h) => ne(d) ? d.value = h : null),
|
|
2110
2131
|
"hide-details": s(o),
|
|
@@ -2127,19 +2148,19 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2127
2148
|
refContext: {}
|
|
2128
2149
|
},
|
|
2129
2150
|
setup(t) {
|
|
2130
|
-
const n = t, { node: e } = E(n), o =
|
|
2151
|
+
const n = t, { node: e } = E(n), o = Ee(), i = ae(), { property: r } = a(e, [
|
|
2131
2152
|
"settings",
|
|
2132
2153
|
"backgroundColor"
|
|
2133
|
-
]), { color: l } = Z(r), { applySize: u } = ge(n, e), { applyMargin: p } = gn(e), { applyPadding: d } = vn(e), { applyBorder:
|
|
2134
|
-
const
|
|
2135
|
-
return o === "page" ? h === "ui" ? (u(
|
|
2154
|
+
]), { color: l } = Z(r), { applySize: u } = ge(n, e), { applyMargin: p } = gn(e), { applyPadding: d } = vn(e), { applyBorder: f } = hn(e), c = k(() => {
|
|
2155
|
+
const m = {}, h = i.value?.type;
|
|
2156
|
+
return o === "page" ? h === "ui" ? (u(m), p(m), d(m), f(m), l.value && (m.backgroundColor = l.value)) : console.assert(!1) : o === "comp" && h === "ui" ? (u(m), p(m), d(m), f(m), l.value && (m.backgroundColor = l.value)) : console.assert(!1), m;
|
|
2136
2157
|
});
|
|
2137
|
-
return (
|
|
2158
|
+
return (m, h) => (x(), S(s(G), { block: "" }, {
|
|
2138
2159
|
default: P(() => [
|
|
2139
|
-
|
|
2160
|
+
Ke("div", {
|
|
2140
2161
|
style: he(c.value)
|
|
2141
2162
|
}, [
|
|
2142
|
-
D(
|
|
2163
|
+
D(m.$slots, "default")
|
|
2143
2164
|
], 4)
|
|
2144
2165
|
]),
|
|
2145
2166
|
_: 3
|
|
@@ -2178,10 +2199,10 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2178
2199
|
]), { property: r } = a(e, [
|
|
2179
2200
|
"settings",
|
|
2180
2201
|
"fixedHeader"
|
|
2181
|
-
]), { property: l } = a(e, ["settings", "headers"]), { property: u } = a(e, ["size", "height"]), { property: p } = a(e, ["settings", "hover"]), { property: d } = a(e, ["settings", "data"], !0), { property:
|
|
2202
|
+
]), { property: l } = a(e, ["settings", "headers"]), { property: u } = a(e, ["size", "height"]), { property: p } = a(e, ["settings", "hover"]), { property: d } = a(e, ["settings", "data"], !0), { property: f } = a(e, ["settings", "loading"]), { property: c } = a(e, [
|
|
2182
2203
|
"settings",
|
|
2183
2204
|
"multiSort"
|
|
2184
|
-
]), { theme:
|
|
2205
|
+
]), { theme: m } = J(), { property: h } = a(e, ["size", "width"]), { property: y } = a(e, ["slots", "columns"]);
|
|
2185
2206
|
return (g, _) => {
|
|
2186
2207
|
const $ = B("v-data-table");
|
|
2187
2208
|
return x(), S(s(G), {
|
|
@@ -2189,7 +2210,7 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2189
2210
|
mask: ""
|
|
2190
2211
|
}, {
|
|
2191
2212
|
default: P(() => [
|
|
2192
|
-
|
|
2213
|
+
K($, {
|
|
2193
2214
|
density: s(o),
|
|
2194
2215
|
"fixed-footer": s(i),
|
|
2195
2216
|
"fixed-header": s(r),
|
|
@@ -2197,15 +2218,15 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2197
2218
|
height: s(u),
|
|
2198
2219
|
hover: s(p),
|
|
2199
2220
|
items: s(d),
|
|
2200
|
-
loading: s(
|
|
2221
|
+
loading: s(f),
|
|
2201
2222
|
"multi-sort": s(c),
|
|
2202
|
-
theme: s(
|
|
2223
|
+
theme: s(m),
|
|
2203
2224
|
width: s(h)
|
|
2204
2225
|
}, pn({ _: 2 }, [
|
|
2205
2226
|
fo(s(y), ({ key: w, comp: v }) => ({
|
|
2206
2227
|
name: `item.${w}`,
|
|
2207
2228
|
fn: P(({ value: V }) => [
|
|
2208
|
-
|
|
2229
|
+
K(nl, {
|
|
2209
2230
|
"ref-context": {
|
|
2210
2231
|
parent: n.refContext,
|
|
2211
2232
|
compId: v
|
|
@@ -2227,7 +2248,7 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2227
2248
|
const o = B("v-date-picker");
|
|
2228
2249
|
return x(), S(s(G), { mask: "" }, {
|
|
2229
2250
|
default: P(() => [
|
|
2230
|
-
|
|
2251
|
+
K(o)
|
|
2231
2252
|
]),
|
|
2232
2253
|
_: 1
|
|
2233
2254
|
});
|
|
@@ -2283,10 +2304,10 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2283
2304
|
]), { property: u } = a(e, ["settings", "label"]), { property: p } = a(e, ["settings", "loading"]), { property: d } = a(e, [
|
|
2284
2305
|
"settings",
|
|
2285
2306
|
"multiple"
|
|
2286
|
-
]), { property:
|
|
2307
|
+
]), { property: f } = a(e, [
|
|
2287
2308
|
"settings",
|
|
2288
2309
|
"readonly"
|
|
2289
|
-
]), { property: c } = a(e, ["settings", "reverse"]), { property:
|
|
2310
|
+
]), { property: c } = a(e, ["settings", "reverse"]), { property: m } = a(e, [
|
|
2290
2311
|
"settings",
|
|
2291
2312
|
"singleLine"
|
|
2292
2313
|
]);
|
|
@@ -2297,7 +2318,7 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2297
2318
|
mask: ""
|
|
2298
2319
|
}, {
|
|
2299
2320
|
default: P(() => [
|
|
2300
|
-
|
|
2321
|
+
K(g, {
|
|
2301
2322
|
chips: s(o),
|
|
2302
2323
|
density: s(i),
|
|
2303
2324
|
direction: s(r),
|
|
@@ -2305,9 +2326,9 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2305
2326
|
label: s(u),
|
|
2306
2327
|
loading: s(p),
|
|
2307
2328
|
multiple: s(d),
|
|
2308
|
-
readonly: s(
|
|
2329
|
+
readonly: s(f),
|
|
2309
2330
|
reverse: s(c),
|
|
2310
|
-
"single-line": s(
|
|
2331
|
+
"single-line": s(m)
|
|
2311
2332
|
}, null, 8, ["chips", "density", "direction", "disabled", "label", "loading", "multiple", "readonly", "reverse", "single-line"])
|
|
2312
2333
|
]),
|
|
2313
2334
|
_: 1
|
|
@@ -2322,10 +2343,10 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2322
2343
|
refContext: {}
|
|
2323
2344
|
},
|
|
2324
2345
|
setup(t) {
|
|
2325
|
-
const n = t, { node: e } = E(n), o =
|
|
2346
|
+
const n = t, { node: e } = E(n), o = je(), i = Ee(), r = ae(), { applySize: l } = ge(n, e), { applyMargin: u } = gn(e), { applyPadding: p } = vn(e), { applyBorder: d } = hn(e), { property: f } = a(e, [
|
|
2326
2347
|
"settings",
|
|
2327
2348
|
"backgroundColor"
|
|
2328
|
-
]), { color: c } = Z(
|
|
2349
|
+
]), { color: c } = Z(f), m = (y) => {
|
|
2329
2350
|
c.value && (y.backgroundColor = c.value), y.display = "flex";
|
|
2330
2351
|
const g = ft(o.value.width), _ = Ge(g, e.value.settings?.direction);
|
|
2331
2352
|
_ === "row" ? y.flexDirection = "row" : _ === "rowReverse" ? y.flexDirection = "row-reverse" : _ === "column" ? y.flexDirection = "column" : _ === "columnReverse" && (y.flexDirection = "column-reverse");
|
|
@@ -2337,7 +2358,7 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2337
2358
|
v === "start" ? y.alignItems = "flex-start" : v === "end" ? y.alignItems = "flex-end" : v === "center" ? y.alignItems = "center" : v === "baseline" ? y.alignItems = "baseline" : v === "stretch" && (y.alignItems = "stretch");
|
|
2338
2359
|
}, h = k(() => {
|
|
2339
2360
|
const y = {}, g = r.value?.type;
|
|
2340
|
-
return i === "page" ? g === "ui" ? (l(y), u(y), p(y), d(y),
|
|
2361
|
+
return i === "page" ? g === "ui" ? (l(y), u(y), p(y), d(y), m(y)) : console.assert(!1) : i === "comp" && g === "ui" ? (l(y), u(y), p(y), d(y), m(y)) : console.assert(!1), y;
|
|
2341
2362
|
});
|
|
2342
2363
|
return (y, g) => (x(), ee("div", {
|
|
2343
2364
|
style: he(h.value)
|
|
@@ -2353,11 +2374,11 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2353
2374
|
refContext: {}
|
|
2354
2375
|
},
|
|
2355
2376
|
setup(t) {
|
|
2356
|
-
const n = t, { node: e } = E(n), o =
|
|
2357
|
-
const d = {},
|
|
2358
|
-
return o === "page" ?
|
|
2377
|
+
const n = t, { node: e } = E(n), o = Ee(), i = ae(), { applySize: r } = ge(n, e), { property: l } = a(e, ["settings", "grow"]), { property: u } = a(e, ["settings", "shrink"]), p = k(() => {
|
|
2378
|
+
const d = {}, f = i.value?.type;
|
|
2379
|
+
return o === "page" ? f === "ui" ? (r(d), d.flexGrow = l.value ? 1 : 0, d.flexShrink = u.value ? 1 : 0) : console.assert(!1) : o === "comp" && f === "ui" ? (r(d), d.flexGrow = l.value ? 1 : 0, d.flexShrink = u.value ? 1 : 0) : console.assert(!1), d;
|
|
2359
2380
|
});
|
|
2360
|
-
return (d,
|
|
2381
|
+
return (d, f) => (x(), ee("div", {
|
|
2361
2382
|
style: he(p.value)
|
|
2362
2383
|
}, [
|
|
2363
2384
|
D(d.$slots, "default")
|
|
@@ -2371,15 +2392,15 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2371
2392
|
refContext: {}
|
|
2372
2393
|
},
|
|
2373
2394
|
setup(t) {
|
|
2374
|
-
const n = t, { node: e } = E(n), o =
|
|
2395
|
+
const n = t, { node: e } = E(n), o = Ee(), i = ae(), r = oe(), { property: l } = a(e, ["settings", "valid"]), { property: u } = a(e, [
|
|
2375
2396
|
"settings",
|
|
2376
2397
|
"fastFail"
|
|
2377
2398
|
]), { property: p } = a(e, [
|
|
2378
2399
|
"settings",
|
|
2379
2400
|
"backgroundColor"
|
|
2380
|
-
]), { color: d } = Z(p), { applySize:
|
|
2401
|
+
]), { color: d } = Z(p), { applySize: f } = ge(n, e), { applyMargin: c } = gn(e), { applyPadding: m } = vn(e), { applyBorder: h } = hn(e), y = k(() => {
|
|
2381
2402
|
const _ = {}, $ = i.value?.type;
|
|
2382
|
-
return o === "page" ? $ === "ui" ? (
|
|
2403
|
+
return o === "page" ? $ === "ui" ? (f(_), c(_), m(_), h(_), d.value && (_.backgroundColor = d.value)) : console.assert(!1) : o === "comp" && $ === "ui" ? (f(_), c(_), m(_), h(_), d.value && (_.backgroundColor = d.value)) : console.assert(!1), _;
|
|
2383
2404
|
}), g = async () => {
|
|
2384
2405
|
await r?.callFunctionAsync(
|
|
2385
2406
|
"__triggerEventV1__",
|
|
@@ -2415,7 +2436,7 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2415
2436
|
"settings",
|
|
2416
2437
|
"disabled"
|
|
2417
2438
|
]), { property: l } = a(e, ["settings", "icon"]), { property: u } = a(e, ["settings", "size"]), { theme: p } = J();
|
|
2418
|
-
return (d,
|
|
2439
|
+
return (d, f) => {
|
|
2419
2440
|
const c = B("v-icon");
|
|
2420
2441
|
return x(), S(c, {
|
|
2421
2442
|
color: s(i),
|
|
@@ -2438,13 +2459,13 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2438
2459
|
return yt(n.nodeId, "open", () => {
|
|
2439
2460
|
if (!o || !o.vm)
|
|
2440
2461
|
return;
|
|
2441
|
-
const { vm: p } = o, d = p.getProp(p.global, "__pointerPosX__"),
|
|
2442
|
-
i.value = p.getNumber(d), r.value = p.getNumber(
|
|
2462
|
+
const { vm: p } = o, d = p.getProp(p.global, "__pointerPosX__"), f = p.getProp(p.global, "__pointerPosY__");
|
|
2463
|
+
i.value = p.getNumber(d), r.value = p.getNumber(f), d.dispose(), f.dispose(), u.value = !0;
|
|
2443
2464
|
}), yt(n.nodeId, "close", () => {
|
|
2444
2465
|
o && (u.value = !1);
|
|
2445
2466
|
}), (p, d) => {
|
|
2446
|
-
const
|
|
2447
|
-
return x(), S(
|
|
2467
|
+
const f = B("v-menu");
|
|
2468
|
+
return x(), S(f, {
|
|
2448
2469
|
modelValue: s(u),
|
|
2449
2470
|
"onUpdate:modelValue": d[0] || (d[0] = (c) => ne(u) ? u.value = c : null),
|
|
2450
2471
|
attach: "menuContainer",
|
|
@@ -2487,7 +2508,7 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2487
2508
|
]), { property: l } = a(e, [
|
|
2488
2509
|
"settings",
|
|
2489
2510
|
"hideDetails"
|
|
2490
|
-
]), { property: u } = a(e, ["settings", "label"]), { property: p } = a(e, ["settings", "loading"]), { property: d } = a(e, ["settings", "max"]), { property:
|
|
2511
|
+
]), { property: u } = a(e, ["settings", "label"]), { property: p } = a(e, ["settings", "loading"]), { property: d } = a(e, ["settings", "max"]), { property: f } = a(e, ["size", "maxWidth"]), { property: c } = a(e, ["settings", "min"]), { property: m } = a(e, ["size", "minWidth"]), { property: h } = a(e, [
|
|
2491
2512
|
"settings",
|
|
2492
2513
|
"placeholder"
|
|
2493
2514
|
]), { property: y } = a(e, [
|
|
@@ -2507,7 +2528,7 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2507
2528
|
]), { property: v } = a(e, ["settings", "reverse"]), { property: V } = a(e, [
|
|
2508
2529
|
"settings",
|
|
2509
2530
|
"singleLine"
|
|
2510
|
-
]), { property: z } = a(e, ["settings", "step"]), { property: H } = a(e, ["settings", "suffix"]), { theme: O } = J(), { property:
|
|
2531
|
+
]), { property: z } = a(e, ["settings", "step"]), { property: H } = a(e, ["settings", "suffix"]), { theme: O } = J(), { property: j } = a(e, ["settings", "value"]), { property: L } = a(e, ["settings", "variant"]), { property: q } = a(e, ["size", "width"]);
|
|
2511
2532
|
return ($e, _e) => {
|
|
2512
2533
|
const Te = B("v-number-input");
|
|
2513
2534
|
return x(), S(s(G), {
|
|
@@ -2515,9 +2536,9 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2515
2536
|
mask: ""
|
|
2516
2537
|
}, {
|
|
2517
2538
|
default: P(() => [
|
|
2518
|
-
|
|
2519
|
-
modelValue: s(
|
|
2520
|
-
"onUpdate:modelValue": _e[0] || (_e[0] = (se) => ne(
|
|
2539
|
+
K(Te, {
|
|
2540
|
+
modelValue: s(j),
|
|
2541
|
+
"onUpdate:modelValue": _e[0] || (_e[0] = (se) => ne(j) ? j.value = se : null),
|
|
2521
2542
|
"append-icon": s(o),
|
|
2522
2543
|
"append-inner-icon": s(i),
|
|
2523
2544
|
clearable: s(r),
|
|
@@ -2525,9 +2546,9 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2525
2546
|
label: s(u),
|
|
2526
2547
|
loading: s(p),
|
|
2527
2548
|
max: s(d),
|
|
2528
|
-
"max-width": s(
|
|
2549
|
+
"max-width": s(f),
|
|
2529
2550
|
min: s(c),
|
|
2530
|
-
"min-width": s(
|
|
2551
|
+
"min-width": s(m),
|
|
2531
2552
|
placeholder: s(h),
|
|
2532
2553
|
precision: s(y),
|
|
2533
2554
|
prefix: s(g),
|
|
@@ -2561,7 +2582,7 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2561
2582
|
]), { property: l } = a(e, ["settings", "length"]), { property: u } = a(e, [
|
|
2562
2583
|
"settings",
|
|
2563
2584
|
"showFirstLastPage"
|
|
2564
|
-
]), { property: p } = a(e, ["settings", "size"]), { property: d } = a(e, ["settings", "start"]), { theme:
|
|
2585
|
+
]), { property: p } = a(e, ["settings", "size"]), { property: d } = a(e, ["settings", "start"]), { theme: f } = J(), { property: c } = a(e, ["settings", "tile"]), { property: m } = a(e, ["settings", "value"]), { property: h } = a(e, ["settings", "variant"]), y = k(() => {
|
|
2565
2586
|
const g = {};
|
|
2566
2587
|
return o === "editor" && (g.pointerEvents = "none"), g;
|
|
2567
2588
|
});
|
|
@@ -2572,9 +2593,9 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2572
2593
|
mask: ""
|
|
2573
2594
|
}, {
|
|
2574
2595
|
default: P(() => [
|
|
2575
|
-
|
|
2576
|
-
modelValue: s(
|
|
2577
|
-
"onUpdate:modelValue": _[0] || (_[0] = (w) => ne(
|
|
2596
|
+
K($, {
|
|
2597
|
+
modelValue: s(m),
|
|
2598
|
+
"onUpdate:modelValue": _[0] || (_[0] = (w) => ne(m) ? m.value = w : null),
|
|
2578
2599
|
density: s(i),
|
|
2579
2600
|
disabled: s(r),
|
|
2580
2601
|
length: s(l),
|
|
@@ -2582,7 +2603,7 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2582
2603
|
size: s(p),
|
|
2583
2604
|
start: s(d),
|
|
2584
2605
|
style: he(y.value),
|
|
2585
|
-
theme: s(
|
|
2606
|
+
theme: s(f),
|
|
2586
2607
|
tile: s(c),
|
|
2587
2608
|
variant: s(h)
|
|
2588
2609
|
}, null, 8, ["modelValue", "density", "disabled", "length", "show-first-last-page", "size", "start", "style", "theme", "tile", "variant"])
|
|
@@ -2605,8 +2626,8 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2605
2626
|
]), { property: u } = a(e, ["settings", "label"]), { property: p } = a(e, [
|
|
2606
2627
|
"settings",
|
|
2607
2628
|
"readonly"
|
|
2608
|
-
]), { theme: d } = J(), { property:
|
|
2609
|
-
return (c,
|
|
2629
|
+
]), { theme: d } = J(), { property: f } = a(e, ["settings", "value"]);
|
|
2630
|
+
return (c, m) => {
|
|
2610
2631
|
const h = B("v-radio");
|
|
2611
2632
|
return x(), S(h, {
|
|
2612
2633
|
color: s(i),
|
|
@@ -2615,7 +2636,7 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2615
2636
|
label: s(u),
|
|
2616
2637
|
readonly: s(p),
|
|
2617
2638
|
theme: s(d),
|
|
2618
|
-
value: s(
|
|
2639
|
+
value: s(f)
|
|
2619
2640
|
}, null, 8, ["color", "density", "disabled", "label", "readonly", "theme", "value"]);
|
|
2620
2641
|
};
|
|
2621
2642
|
}
|
|
@@ -2637,11 +2658,11 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2637
2658
|
"settings",
|
|
2638
2659
|
"readonly"
|
|
2639
2660
|
]), { theme: p } = J(), { property: d } = a(e, ["settings", "value"]);
|
|
2640
|
-
return (
|
|
2641
|
-
const
|
|
2661
|
+
return (f, c) => {
|
|
2662
|
+
const m = B("v-radio-group");
|
|
2642
2663
|
return x(), S(s(G), null, {
|
|
2643
2664
|
default: P(() => [
|
|
2644
|
-
|
|
2665
|
+
K(m, {
|
|
2645
2666
|
modelValue: s(d),
|
|
2646
2667
|
"onUpdate:modelValue": c[0] || (c[0] = (h) => ne(d) ? d.value = h : null),
|
|
2647
2668
|
density: s(o),
|
|
@@ -2652,7 +2673,7 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2652
2673
|
theme: s(p)
|
|
2653
2674
|
}, {
|
|
2654
2675
|
default: P(() => [
|
|
2655
|
-
D(
|
|
2676
|
+
D(f.$slots, "default")
|
|
2656
2677
|
]),
|
|
2657
2678
|
_: 3
|
|
2658
2679
|
}, 8, ["modelValue", "density", "direction", "disabled", "inline", "readonly", "theme"])
|
|
@@ -2678,13 +2699,13 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2678
2699
|
]), { property: l } = a(e, [
|
|
2679
2700
|
"settings",
|
|
2680
2701
|
"hideDetails"
|
|
2681
|
-
]), { property: u } = a(e, ["settings", "label"]), { property: p } = a(e, ["settings", "max"]), { property: d } = a(e, ["settings", "min"]), { property:
|
|
2702
|
+
]), { property: u } = a(e, ["settings", "label"]), { property: p } = a(e, ["settings", "max"]), { property: d } = a(e, ["settings", "min"]), { property: f } = a(e, [
|
|
2682
2703
|
"settings",
|
|
2683
2704
|
"readonly"
|
|
2684
2705
|
]), { property: c } = a(e, [
|
|
2685
2706
|
"settings",
|
|
2686
2707
|
"showTicks"
|
|
2687
|
-
]),
|
|
2708
|
+
]), m = k(() => {
|
|
2688
2709
|
if (c.value === "always")
|
|
2689
2710
|
return "always";
|
|
2690
2711
|
if (c.value === "show")
|
|
@@ -2703,11 +2724,11 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2703
2724
|
]), { property: w } = a(e, ["settings", "ticks"]), v = k(() => {
|
|
2704
2725
|
if (!w.value)
|
|
2705
2726
|
return;
|
|
2706
|
-
const
|
|
2727
|
+
const j = {};
|
|
2707
2728
|
for (const { value: L, label: q } of w.value)
|
|
2708
|
-
|
|
2709
|
-
if (!
|
|
2710
|
-
return
|
|
2729
|
+
j[L] = q;
|
|
2730
|
+
if (!ji(j))
|
|
2731
|
+
return j;
|
|
2711
2732
|
}), { property: V } = a(e, [
|
|
2712
2733
|
"settings",
|
|
2713
2734
|
"tickSize"
|
|
@@ -2721,18 +2742,18 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2721
2742
|
"end"
|
|
2722
2743
|
]), O = k({
|
|
2723
2744
|
get: () => [z.value, H.value],
|
|
2724
|
-
set: ([
|
|
2725
|
-
z.value =
|
|
2745
|
+
set: ([j, L]) => {
|
|
2746
|
+
z.value = j, H.value = L;
|
|
2726
2747
|
}
|
|
2727
2748
|
});
|
|
2728
|
-
return (
|
|
2749
|
+
return (j, L) => {
|
|
2729
2750
|
const q = B("v-range-slider");
|
|
2730
2751
|
return x(), S(s(G), {
|
|
2731
2752
|
block: "",
|
|
2732
2753
|
mask: ""
|
|
2733
2754
|
}, {
|
|
2734
2755
|
default: P(() => [
|
|
2735
|
-
|
|
2756
|
+
K(q, {
|
|
2736
2757
|
modelValue: O.value,
|
|
2737
2758
|
"onUpdate:modelValue": L[0] || (L[0] = ($e) => O.value = $e),
|
|
2738
2759
|
density: s(o),
|
|
@@ -2742,8 +2763,8 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2742
2763
|
label: s(u),
|
|
2743
2764
|
max: s(p),
|
|
2744
2765
|
min: s(d),
|
|
2745
|
-
readonly: s(
|
|
2746
|
-
"show-ticks":
|
|
2766
|
+
readonly: s(f),
|
|
2767
|
+
"show-ticks": m.value,
|
|
2747
2768
|
step: s(h),
|
|
2748
2769
|
theme: s(y),
|
|
2749
2770
|
"thumb-label": _.value,
|
|
@@ -2776,12 +2797,12 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2776
2797
|
]), { property: u } = a(e, ["settings", "hover"]), { property: p } = a(e, ["settings", "length"]), { property: d } = a(e, [
|
|
2777
2798
|
"settings",
|
|
2778
2799
|
"readonly"
|
|
2779
|
-
]), { theme:
|
|
2780
|
-
return (
|
|
2800
|
+
]), { theme: f } = J(), { property: c } = a(e, ["settings", "value"]);
|
|
2801
|
+
return (m, h) => {
|
|
2781
2802
|
const y = B("v-rating");
|
|
2782
2803
|
return x(), S(s(G), { mask: "" }, {
|
|
2783
2804
|
default: P(() => [
|
|
2784
|
-
|
|
2805
|
+
K(y, {
|
|
2785
2806
|
modelValue: s(c),
|
|
2786
2807
|
"onUpdate:modelValue": h[0] || (h[0] = (g) => ne(c) ? c.value = g : null),
|
|
2787
2808
|
clearable: s(o),
|
|
@@ -2791,7 +2812,7 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2791
2812
|
hover: s(u),
|
|
2792
2813
|
length: s(p),
|
|
2793
2814
|
readonly: s(d),
|
|
2794
|
-
theme: s(
|
|
2815
|
+
theme: s(f)
|
|
2795
2816
|
}, null, 8, ["modelValue", "clearable", "density", "disabled", "half-increments", "hover", "length", "readonly", "theme"])
|
|
2796
2817
|
]),
|
|
2797
2818
|
_: 1
|
|
@@ -2819,14 +2840,14 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2819
2840
|
"settings",
|
|
2820
2841
|
"singleLine"
|
|
2821
2842
|
]), { theme: p } = J(), { property: d } = a(e, ["settings", "value"]);
|
|
2822
|
-
return (
|
|
2823
|
-
const
|
|
2843
|
+
return (f, c) => {
|
|
2844
|
+
const m = B("v-select");
|
|
2824
2845
|
return x(), S(s(G), {
|
|
2825
2846
|
block: "",
|
|
2826
2847
|
mask: ""
|
|
2827
2848
|
}, {
|
|
2828
2849
|
default: P(() => [
|
|
2829
|
-
|
|
2850
|
+
K(m, {
|
|
2830
2851
|
modelValue: s(d),
|
|
2831
2852
|
"onUpdate:modelValue": c[0] || (c[0] = (h) => ne(d) ? d.value = h : null),
|
|
2832
2853
|
"hide-details": s(o),
|
|
@@ -2858,10 +2879,10 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2858
2879
|
]), { property: u } = a(e, [
|
|
2859
2880
|
"settings",
|
|
2860
2881
|
"hideDetails"
|
|
2861
|
-
]), { property: p } = a(e, ["settings", "label"]), { property: d } = a(e, ["settings", "max"]), { property:
|
|
2882
|
+
]), { property: p } = a(e, ["settings", "label"]), { property: d } = a(e, ["settings", "max"]), { property: f } = a(e, ["settings", "min"]), { property: c } = a(e, [
|
|
2862
2883
|
"settings",
|
|
2863
2884
|
"readonly"
|
|
2864
|
-
]), { property:
|
|
2885
|
+
]), { property: m } = a(e, ["settings", "reverse"]), { property: h } = a(e, [
|
|
2865
2886
|
"settings",
|
|
2866
2887
|
"showTicks"
|
|
2867
2888
|
]), y = k(() => {
|
|
@@ -2889,9 +2910,9 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2889
2910
|
const se = {};
|
|
2890
2911
|
for (const { value: xe, label: fe } of H.value)
|
|
2891
2912
|
se[xe] = fe;
|
|
2892
|
-
if (!
|
|
2913
|
+
if (!ji(se))
|
|
2893
2914
|
return se;
|
|
2894
|
-
}), { property:
|
|
2915
|
+
}), { property: j } = a(e, [
|
|
2895
2916
|
"settings",
|
|
2896
2917
|
"tickSize"
|
|
2897
2918
|
]), { property: L } = a(e, [
|
|
@@ -2905,7 +2926,7 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2905
2926
|
mask: ""
|
|
2906
2927
|
}, {
|
|
2907
2928
|
default: P(() => [
|
|
2908
|
-
|
|
2929
|
+
K(fe, {
|
|
2909
2930
|
modelValue: s($e),
|
|
2910
2931
|
"onUpdate:modelValue": xe[0] || (xe[0] = (mo) => ne($e) ? $e.value = mo : null),
|
|
2911
2932
|
color: s(i),
|
|
@@ -2914,23 +2935,23 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2914
2935
|
"hide-details": s(u),
|
|
2915
2936
|
label: s(p),
|
|
2916
2937
|
max: s(d),
|
|
2917
|
-
min: s(
|
|
2938
|
+
min: s(f),
|
|
2918
2939
|
readonly: s(c),
|
|
2919
|
-
reverse: s(
|
|
2940
|
+
reverse: s(m),
|
|
2920
2941
|
"show-ticks": y.value,
|
|
2921
2942
|
step: s(g),
|
|
2922
2943
|
theme: s(_),
|
|
2923
2944
|
"thumb-color": s(w),
|
|
2924
2945
|
"thumb-label": V.value,
|
|
2925
2946
|
"thumb-size": s(z),
|
|
2926
|
-
"tick-size": s(
|
|
2947
|
+
"tick-size": s(j),
|
|
2927
2948
|
ticks: O.value,
|
|
2928
2949
|
"track-color": s(q)
|
|
2929
2950
|
}, pn({ _: 2 }, [
|
|
2930
2951
|
s(_e) ? {
|
|
2931
2952
|
name: "append",
|
|
2932
2953
|
fn: P(() => [
|
|
2933
|
-
|
|
2954
|
+
K(s(Tt), {
|
|
2934
2955
|
"node-id": "append",
|
|
2935
2956
|
"ref-context": { compId: s(_e) },
|
|
2936
2957
|
state: {}
|
|
@@ -2941,7 +2962,7 @@ const Gr = /* @__PURE__ */ De(jr, [["render", Hr]]), Jr = /* @__PURE__ */ I({
|
|
|
2941
2962
|
s(Te) ? {
|
|
2942
2963
|
name: "prepend",
|
|
2943
2964
|
fn: P(() => [
|
|
2944
|
-
|
|
2965
|
+
K(s(Tt), {
|
|
2945
2966
|
"node-id": "prepend",
|
|
2946
2967
|
"ref-context": { compId: s(Te) },
|
|
2947
2968
|
state: {}
|
|
@@ -3060,12 +3081,12 @@ const Pl = /* @__PURE__ */ De($l, [["render", Vl]]), El = /* @__PURE__ */ I({
|
|
|
3060
3081
|
]), { property: u } = a(e, [
|
|
3061
3082
|
"settings",
|
|
3062
3083
|
"indeterminate"
|
|
3063
|
-
]), { property: p } = a(e, ["settings", "inline"]), { property: d } = a(e, ["settings", "inset"]), { property:
|
|
3084
|
+
]), { property: p } = a(e, ["settings", "inline"]), { property: d } = a(e, ["settings", "inset"]), { property: f } = a(e, ["settings", "label"]), { property: c } = a(e, ["settings", "loading"]), { theme: m } = J(), { property: h } = a(e, ["settings", "value"]);
|
|
3064
3085
|
return (y, g) => {
|
|
3065
3086
|
const _ = B("v-switch");
|
|
3066
3087
|
return x(), S(s(G), { mask: "" }, {
|
|
3067
3088
|
default: P(() => [
|
|
3068
|
-
|
|
3089
|
+
K(_, {
|
|
3069
3090
|
modelValue: s(h),
|
|
3070
3091
|
"onUpdate:modelValue": g[0] || (g[0] = ($) => ne(h) ? h.value = $ : null),
|
|
3071
3092
|
density: s(o),
|
|
@@ -3075,9 +3096,9 @@ const Pl = /* @__PURE__ */ De($l, [["render", Vl]]), El = /* @__PURE__ */ I({
|
|
|
3075
3096
|
indeterminate: s(u),
|
|
3076
3097
|
inline: s(p),
|
|
3077
3098
|
inset: s(d),
|
|
3078
|
-
label: s(
|
|
3099
|
+
label: s(f),
|
|
3079
3100
|
loading: s(c),
|
|
3080
|
-
theme: s(
|
|
3101
|
+
theme: s(m)
|
|
3081
3102
|
}, null, 8, ["modelValue", "density", "direction", "disabled", "hide-details", "indeterminate", "inline", "inset", "label", "loading", "theme"])
|
|
3082
3103
|
]),
|
|
3083
3104
|
_: 1
|
|
@@ -3097,10 +3118,10 @@ const Pl = /* @__PURE__ */ De($l, [["render", Vl]]), El = /* @__PURE__ */ I({
|
|
|
3097
3118
|
return o === "editor" && (p.pointerEvents = "none"), p;
|
|
3098
3119
|
});
|
|
3099
3120
|
return (p, d) => {
|
|
3100
|
-
const
|
|
3121
|
+
const f = B("v-tab");
|
|
3101
3122
|
return x(), S(s(G), { mask: "" }, {
|
|
3102
3123
|
default: P(() => [
|
|
3103
|
-
|
|
3124
|
+
K(f, {
|
|
3104
3125
|
style: he(u.value),
|
|
3105
3126
|
text: s(i),
|
|
3106
3127
|
theme: s(r),
|
|
@@ -3133,13 +3154,13 @@ const Pl = /* @__PURE__ */ De($l, [["render", Vl]]), El = /* @__PURE__ */ I({
|
|
|
3133
3154
|
"settings",
|
|
3134
3155
|
"color",
|
|
3135
3156
|
"selectedColor"
|
|
3136
|
-
]), { color: p } = Z(u), { property: d } = a(e, ["settings", "density"]), { property:
|
|
3157
|
+
]), { color: p } = Z(u), { property: d } = a(e, ["settings", "density"]), { property: f } = a(e, [
|
|
3137
3158
|
"settings",
|
|
3138
3159
|
"direction"
|
|
3139
3160
|
]), { property: c } = a(e, [
|
|
3140
3161
|
"settings",
|
|
3141
3162
|
"disabled"
|
|
3142
|
-
]), { property:
|
|
3163
|
+
]), { property: m } = a(e, [
|
|
3143
3164
|
"settings",
|
|
3144
3165
|
"fixedTabs"
|
|
3145
3166
|
]), { property: h } = a(e, ["settings", "grow"]), { property: y } = a(e, [
|
|
@@ -3156,24 +3177,24 @@ const Pl = /* @__PURE__ */ De($l, [["render", Vl]]), El = /* @__PURE__ */ I({
|
|
|
3156
3177
|
"color",
|
|
3157
3178
|
"sliderColor"
|
|
3158
3179
|
]), { color: v } = Z(w), { property: V } = a(e, ["settings", "stacked"]), { theme: z } = J(), { property: H } = a(e, ["settings", "value"]);
|
|
3159
|
-
return (O,
|
|
3180
|
+
return (O, j) => {
|
|
3160
3181
|
const L = B("v-tabs");
|
|
3161
3182
|
return x(), S(s(G), {
|
|
3162
3183
|
block: "",
|
|
3163
3184
|
mask: ""
|
|
3164
3185
|
}, {
|
|
3165
3186
|
default: P(() => [
|
|
3166
|
-
|
|
3187
|
+
K(L, {
|
|
3167
3188
|
modelValue: s(H),
|
|
3168
|
-
"onUpdate:modelValue":
|
|
3189
|
+
"onUpdate:modelValue": j[0] || (j[0] = (q) => ne(H) ? H.value = q : null),
|
|
3169
3190
|
"align-tabs": s(o),
|
|
3170
3191
|
"bg-color": s(r),
|
|
3171
3192
|
"center-active": s(l),
|
|
3172
3193
|
color: s(p),
|
|
3173
3194
|
density: s(d),
|
|
3174
|
-
direction: s(
|
|
3195
|
+
direction: s(f),
|
|
3175
3196
|
disabled: s(c),
|
|
3176
|
-
"fixed-tabs": s(
|
|
3197
|
+
"fixed-tabs": s(m),
|
|
3177
3198
|
grow: s(h),
|
|
3178
3199
|
"hide-slider": s(y),
|
|
3179
3200
|
items: s(g),
|
|
@@ -3201,20 +3222,20 @@ const Pl = /* @__PURE__ */ De($l, [["render", Vl]]), El = /* @__PURE__ */ I({
|
|
|
3201
3222
|
refContext: {}
|
|
3202
3223
|
},
|
|
3203
3224
|
setup(t) {
|
|
3204
|
-
const n = t, { node: e } = E(n), o =
|
|
3225
|
+
const n = t, { node: e } = E(n), o = je(), { property: i } = a(e, ["settings", "align"]), { property: r } = a(e, [
|
|
3205
3226
|
"settings",
|
|
3206
3227
|
"decoration"
|
|
3207
3228
|
]), { property: l } = a(e, [
|
|
3208
3229
|
"settings",
|
|
3209
3230
|
"emphasis"
|
|
3210
|
-
]), { property: u } = a(e, ["settings", "italic"]), { property: p } = a(e, ["settings", "text"]), { property: d } = a(e, ["settings", "weight"]),
|
|
3211
|
-
const c = [],
|
|
3231
|
+
]), { property: u } = a(e, ["settings", "italic"]), { property: p } = a(e, ["settings", "text"]), { property: d } = a(e, ["settings", "weight"]), f = k(() => {
|
|
3232
|
+
const c = [], m = ft(o.value.width), h = Ge(m, e.value.settings?.style);
|
|
3212
3233
|
return h && c.push(`text-${h}`), l.value === "high" ? c.push("text-high-emphasis") : l.value === "medium" ? c.push("text-medium-emphasis") : l.value === "disabled" && c.push("text-disabled"), i.value && c.push(`font-${i.value}`), r.value && c.push(`text-decoration-${r.value}`), d.value && c.push(`font-weight-${d.value}`), u.value && c.push("font-italic"), c.join(" ");
|
|
3213
3234
|
});
|
|
3214
|
-
return (c,
|
|
3235
|
+
return (c, m) => (x(), S(s(G), { mask: "" }, {
|
|
3215
3236
|
default: P(() => [
|
|
3216
|
-
|
|
3217
|
-
class: bo(
|
|
3237
|
+
Ke("span", {
|
|
3238
|
+
class: bo(f.value)
|
|
3218
3239
|
}, Ai(s(p)), 3)
|
|
3219
3240
|
]),
|
|
3220
3241
|
_: 1
|
|
@@ -3237,13 +3258,13 @@ const Pl = /* @__PURE__ */ De($l, [["render", Vl]]), El = /* @__PURE__ */ I({
|
|
|
3237
3258
|
]), { property: r } = a(e, ["settings", "density"]), { property: l } = a(e, [
|
|
3238
3259
|
"settings",
|
|
3239
3260
|
"disabled"
|
|
3240
|
-
]), { property: u } = a(e, ["settings", "label"]), { property: p } = a(e, ["settings", "loading"]), { property: d } = a(e, ["settings", "maxRows"]), { property:
|
|
3261
|
+
]), { property: u } = a(e, ["settings", "label"]), { property: p } = a(e, ["settings", "loading"]), { property: d } = a(e, ["settings", "maxRows"]), { property: f } = a(e, [
|
|
3241
3262
|
"settings",
|
|
3242
3263
|
"placeholder"
|
|
3243
3264
|
]), { property: c } = a(e, [
|
|
3244
3265
|
"settings",
|
|
3245
3266
|
"readonly"
|
|
3246
|
-
]), { property:
|
|
3267
|
+
]), { property: m } = a(e, ["settings", "reverse"]), { property: h } = a(e, ["settings", "rows"]), { property: y } = a(e, [
|
|
3247
3268
|
"settings",
|
|
3248
3269
|
"singleLine"
|
|
3249
3270
|
]), { theme: g } = J(), { property: _ } = a(e, ["settings", "value"]), { property: $ } = a(e, ["settings", "variant"]);
|
|
@@ -3254,7 +3275,7 @@ const Pl = /* @__PURE__ */ De($l, [["render", Vl]]), El = /* @__PURE__ */ I({
|
|
|
3254
3275
|
mask: ""
|
|
3255
3276
|
}, {
|
|
3256
3277
|
default: P(() => [
|
|
3257
|
-
|
|
3278
|
+
K(V, {
|
|
3258
3279
|
modelValue: s(_),
|
|
3259
3280
|
"onUpdate:modelValue": v[0] || (v[0] = (z) => ne(_) ? _.value = z : null),
|
|
3260
3281
|
"auto-grow": s(o),
|
|
@@ -3264,9 +3285,9 @@ const Pl = /* @__PURE__ */ De($l, [["render", Vl]]), El = /* @__PURE__ */ I({
|
|
|
3264
3285
|
label: s(u),
|
|
3265
3286
|
loading: s(p),
|
|
3266
3287
|
"max-rows": s(d),
|
|
3267
|
-
placeholder: s(
|
|
3288
|
+
placeholder: s(f),
|
|
3268
3289
|
readonly: s(c),
|
|
3269
|
-
reverse: s(
|
|
3290
|
+
reverse: s(m),
|
|
3270
3291
|
rows: s(h),
|
|
3271
3292
|
"single-line": s(y),
|
|
3272
3293
|
theme: s(g),
|
|
@@ -3302,7 +3323,7 @@ const Pl = /* @__PURE__ */ De($l, [["render", Vl]]), El = /* @__PURE__ */ I({
|
|
|
3302
3323
|
}), be("appendInner", "blur", () => {
|
|
3303
3324
|
});
|
|
3304
3325
|
const { render: p } = nt(o.refContext, i, l);
|
|
3305
|
-
return (d,
|
|
3326
|
+
return (d, f) => (x(), S(s(p)));
|
|
3306
3327
|
}
|
|
3307
3328
|
}), Bl = /* @__PURE__ */ I({
|
|
3308
3329
|
__name: "appendSlot",
|
|
@@ -3345,7 +3366,7 @@ const Pl = /* @__PURE__ */ De($l, [["render", Vl]]), El = /* @__PURE__ */ I({
|
|
|
3345
3366
|
}), be("prependInner", "blur", () => {
|
|
3346
3367
|
});
|
|
3347
3368
|
const { render: p } = nt(o.refContext, i, l);
|
|
3348
|
-
return (d,
|
|
3369
|
+
return (d, f) => (x(), S(s(p)));
|
|
3349
3370
|
}
|
|
3350
3371
|
}), Wl = /* @__PURE__ */ I({
|
|
3351
3372
|
__name: "prependSlot",
|
|
@@ -3363,7 +3384,7 @@ const Pl = /* @__PURE__ */ De($l, [["render", Vl]]), El = /* @__PURE__ */ I({
|
|
|
3363
3384
|
const { render: l } = nt(n.refContext, e, i);
|
|
3364
3385
|
return (u, p) => (x(), S(s(l)));
|
|
3365
3386
|
}
|
|
3366
|
-
}),
|
|
3387
|
+
}), Kl = /* @__PURE__ */ I({
|
|
3367
3388
|
__name: "index",
|
|
3368
3389
|
props: {
|
|
3369
3390
|
nodeId: {},
|
|
@@ -3389,7 +3410,7 @@ const Pl = /* @__PURE__ */ De($l, [["render", Vl]]), El = /* @__PURE__ */ I({
|
|
|
3389
3410
|
]), { property: d } = a(e, [
|
|
3390
3411
|
"settings",
|
|
3391
3412
|
"hideDetails"
|
|
3392
|
-
]), { property:
|
|
3413
|
+
]), { property: f } = a(e, ["settings", "label"]), { property: c } = a(e, ["settings", "loading"]), { property: m } = a(e, [
|
|
3393
3414
|
"settings",
|
|
3394
3415
|
"placeholder"
|
|
3395
3416
|
]), { property: h } = a(e, ["settings", "prefix"]), { property: y } = a(e, [
|
|
@@ -3404,7 +3425,7 @@ const Pl = /* @__PURE__ */ De($l, [["render", Vl]]), El = /* @__PURE__ */ I({
|
|
|
3404
3425
|
]), { property: $ } = a(e, ["settings", "reverse"]), { property: w } = a(e, [
|
|
3405
3426
|
"settings",
|
|
3406
3427
|
"singleLine"
|
|
3407
|
-
]), { property: v } = a(e, ["settings", "suffix"]), { theme: V } = J(), { property: z } = a(e, ["settings", "value"]), { property: H } = a(e, ["settings", "variant"]), { property: O } = a(e, ["slots", "append"]), { property:
|
|
3428
|
+
]), { property: v } = a(e, ["settings", "suffix"]), { theme: V } = J(), { property: z } = a(e, ["settings", "value"]), { property: H } = a(e, ["settings", "variant"]), { property: O } = a(e, ["slots", "append"]), { property: j } = a(e, [
|
|
3408
3429
|
"slots",
|
|
3409
3430
|
"appendInner"
|
|
3410
3431
|
]), { property: L } = a(e, ["slots", "prepend"]), { property: q } = a(e, [
|
|
@@ -3418,7 +3439,7 @@ const Pl = /* @__PURE__ */ De($l, [["render", Vl]]), El = /* @__PURE__ */ I({
|
|
|
3418
3439
|
mask: ""
|
|
3419
3440
|
}, {
|
|
3420
3441
|
default: P(() => [
|
|
3421
|
-
|
|
3442
|
+
K(Te, {
|
|
3422
3443
|
modelValue: s(z),
|
|
3423
3444
|
"onUpdate:modelValue": _e[0] || (_e[0] = (se) => ne(z) ? z.value = se : null),
|
|
3424
3445
|
"append-icon": s(o),
|
|
@@ -3428,9 +3449,9 @@ const Pl = /* @__PURE__ */ De($l, [["render", Vl]]), El = /* @__PURE__ */ I({
|
|
|
3428
3449
|
density: s(u),
|
|
3429
3450
|
disabled: s(p),
|
|
3430
3451
|
"hide-details": s(d),
|
|
3431
|
-
label: s(
|
|
3452
|
+
label: s(f),
|
|
3432
3453
|
loading: s(c),
|
|
3433
|
-
placeholder: s(
|
|
3454
|
+
placeholder: s(m),
|
|
3434
3455
|
prefix: s(h),
|
|
3435
3456
|
"prepend-icon": s(y),
|
|
3436
3457
|
"prepend-inner-icon": s(g),
|
|
@@ -3444,7 +3465,7 @@ const Pl = /* @__PURE__ */ De($l, [["render", Vl]]), El = /* @__PURE__ */ I({
|
|
|
3444
3465
|
s(O) ? {
|
|
3445
3466
|
name: "append",
|
|
3446
3467
|
fn: P(() => [
|
|
3447
|
-
|
|
3468
|
+
K(Bl, {
|
|
3448
3469
|
"ref-context": {
|
|
3449
3470
|
parent: n.refContext,
|
|
3450
3471
|
compId: s(O)
|
|
@@ -3453,17 +3474,17 @@ const Pl = /* @__PURE__ */ De($l, [["render", Vl]]), El = /* @__PURE__ */ I({
|
|
|
3453
3474
|
]),
|
|
3454
3475
|
key: "0"
|
|
3455
3476
|
} : void 0,
|
|
3456
|
-
s(
|
|
3477
|
+
s(j) ? {
|
|
3457
3478
|
name: "append-inner",
|
|
3458
3479
|
fn: P(({ isActive: se, isFocused: xe }) => [
|
|
3459
|
-
|
|
3480
|
+
K(Ml, {
|
|
3460
3481
|
"is-active": se.value,
|
|
3461
3482
|
"onUpdate:isActive": (fe) => se.value = fe,
|
|
3462
3483
|
"is-focused": xe.value,
|
|
3463
3484
|
"onUpdate:isFocused": (fe) => xe.value = fe,
|
|
3464
3485
|
"ref-context": {
|
|
3465
3486
|
parent: n.refContext,
|
|
3466
|
-
compId: s(
|
|
3487
|
+
compId: s(j)
|
|
3467
3488
|
}
|
|
3468
3489
|
}, null, 8, ["is-active", "onUpdate:isActive", "is-focused", "onUpdate:isFocused", "ref-context"])
|
|
3469
3490
|
]),
|
|
@@ -3472,7 +3493,7 @@ const Pl = /* @__PURE__ */ De($l, [["render", Vl]]), El = /* @__PURE__ */ I({
|
|
|
3472
3493
|
s(L) ? {
|
|
3473
3494
|
name: "prepend",
|
|
3474
3495
|
fn: P(() => [
|
|
3475
|
-
|
|
3496
|
+
K(Wl, {
|
|
3476
3497
|
"ref-context": {
|
|
3477
3498
|
parent: n.refContext,
|
|
3478
3499
|
compId: s(L)
|
|
@@ -3484,7 +3505,7 @@ const Pl = /* @__PURE__ */ De($l, [["render", Vl]]), El = /* @__PURE__ */ I({
|
|
|
3484
3505
|
s(q) ? {
|
|
3485
3506
|
name: "prepend-inner",
|
|
3486
3507
|
fn: P(({ isActive: se, isFocused: xe }) => [
|
|
3487
|
-
|
|
3508
|
+
K(Rl, {
|
|
3488
3509
|
"is-active": se.value,
|
|
3489
3510
|
"onUpdate:isActive": (fe) => se.value = fe,
|
|
3490
3511
|
"is-focused": xe.value,
|
|
@@ -3503,7 +3524,7 @@ const Pl = /* @__PURE__ */ De($l, [["render", Vl]]), El = /* @__PURE__ */ I({
|
|
|
3503
3524
|
});
|
|
3504
3525
|
};
|
|
3505
3526
|
}
|
|
3506
|
-
}),
|
|
3527
|
+
}), Fl = /* @__PURE__ */ I({
|
|
3507
3528
|
__name: "index",
|
|
3508
3529
|
props: {
|
|
3509
3530
|
nodeId: {},
|
|
@@ -3525,11 +3546,11 @@ const Pl = /* @__PURE__ */ De($l, [["render", Vl]]), El = /* @__PURE__ */ I({
|
|
|
3525
3546
|
]), { property: d } = a(e, [
|
|
3526
3547
|
"settings",
|
|
3527
3548
|
"hideOpposite"
|
|
3528
|
-
]), { property:
|
|
3549
|
+
]), { property: f } = a(e, [
|
|
3529
3550
|
"settings",
|
|
3530
3551
|
"line",
|
|
3531
3552
|
"color"
|
|
3532
|
-
]), { color: c } = Z(
|
|
3553
|
+
]), { color: c } = Z(f), { property: m } = a(e, [
|
|
3533
3554
|
"settings",
|
|
3534
3555
|
"line",
|
|
3535
3556
|
"inset"
|
|
@@ -3552,7 +3573,7 @@ const Pl = /* @__PURE__ */ De($l, [["render", Vl]]), El = /* @__PURE__ */ I({
|
|
|
3552
3573
|
"fill-dot": s(p),
|
|
3553
3574
|
"hide-opposite": s(d),
|
|
3554
3575
|
"line-color": s(c),
|
|
3555
|
-
"line-inset": s(
|
|
3576
|
+
"line-inset": s(m),
|
|
3556
3577
|
"line-thickness": s(h),
|
|
3557
3578
|
side: s(y),
|
|
3558
3579
|
theme: s(_),
|
|
@@ -3575,7 +3596,7 @@ function Ol(t, n) {
|
|
|
3575
3596
|
_: 3
|
|
3576
3597
|
});
|
|
3577
3598
|
}
|
|
3578
|
-
const
|
|
3599
|
+
const jl = /* @__PURE__ */ De(Dl, [["render", Ol]]), Nl = /* @__PURE__ */ I({
|
|
3579
3600
|
__name: "index",
|
|
3580
3601
|
props: {
|
|
3581
3602
|
nodeId: {},
|
|
@@ -3595,12 +3616,12 @@ const Nl = /* @__PURE__ */ De(Dl, [["render", Ol]]), jl = /* @__PURE__ */ I({
|
|
|
3595
3616
|
]), { property: l } = a(e, ["settings", "reverse"]), { property: u } = a(e, [
|
|
3596
3617
|
"settings",
|
|
3597
3618
|
"showArrows"
|
|
3598
|
-
]), { property: p } = a(e, ["settings", "touch"]), { theme: d } = J(), { property:
|
|
3599
|
-
return (c,
|
|
3619
|
+
]), { property: p } = a(e, ["settings", "touch"]), { theme: d } = J(), { property: f } = a(e, ["settings", "value"]);
|
|
3620
|
+
return (c, m) => {
|
|
3600
3621
|
const h = B("v-window");
|
|
3601
3622
|
return x(), S(h, {
|
|
3602
|
-
modelValue: s(
|
|
3603
|
-
"onUpdate:modelValue":
|
|
3623
|
+
modelValue: s(f),
|
|
3624
|
+
"onUpdate:modelValue": m[0] || (m[0] = (y) => ne(f) ? f.value = y : null),
|
|
3604
3625
|
continuous: s(o),
|
|
3605
3626
|
direction: s(r),
|
|
3606
3627
|
disabled: s(i),
|
|
@@ -3688,7 +3709,7 @@ const Jl = /* @__PURE__ */ De(Hl, [["render", Gl]]), b = {
|
|
|
3688
3709
|
]
|
|
3689
3710
|
}
|
|
3690
3711
|
]
|
|
3691
|
-
}, ql =
|
|
3712
|
+
}, ql = F(Q), Be = {
|
|
3692
3713
|
key: "border",
|
|
3693
3714
|
name: "x-runtime-lib.border",
|
|
3694
3715
|
children: [
|
|
@@ -4055,8 +4076,8 @@ const Jl = /* @__PURE__ */ De(Hl, [["render", Gl]]), b = {
|
|
|
4055
4076
|
defaultArray: []
|
|
4056
4077
|
}
|
|
4057
4078
|
]
|
|
4058
|
-
},
|
|
4059
|
-
|
|
4079
|
+
}, Pe = {}, C = (t) => {
|
|
4080
|
+
Pe[t.key] = t;
|
|
4060
4081
|
}, Ln = {
|
|
4061
4082
|
key: "settings",
|
|
4062
4083
|
name: "x-runtime-lib.settings",
|
|
@@ -4440,7 +4461,7 @@ const Un = {
|
|
|
4440
4461
|
spawn: oa
|
|
4441
4462
|
};
|
|
4442
4463
|
C(Mt);
|
|
4443
|
-
const wt =
|
|
4464
|
+
const wt = F(Q);
|
|
4444
4465
|
wt.children[0].default = "custom";
|
|
4445
4466
|
wt.children[2].children[0].default = "0xffffff";
|
|
4446
4467
|
wt.children[2].children[1].default = "0xffffff";
|
|
@@ -4470,7 +4491,7 @@ const Mn = {
|
|
|
4470
4491
|
slots: []
|
|
4471
4492
|
};
|
|
4472
4493
|
C(la);
|
|
4473
|
-
const It =
|
|
4494
|
+
const It = F(Q);
|
|
4474
4495
|
It.children[0].default = "custom";
|
|
4475
4496
|
It.children[2].children[0].default = "0xffffff";
|
|
4476
4497
|
It.children[2].children[1].default = "0xffffff";
|
|
@@ -4500,7 +4521,7 @@ const Bn = {
|
|
|
4500
4521
|
slots: []
|
|
4501
4522
|
};
|
|
4502
4523
|
C(aa);
|
|
4503
|
-
const St =
|
|
4524
|
+
const St = F(Q);
|
|
4504
4525
|
St.children[0].default = "custom";
|
|
4505
4526
|
St.children[2].children[0].default = "0xffffff";
|
|
4506
4527
|
St.children[2].children[1].default = "0xffffff";
|
|
@@ -4544,7 +4565,7 @@ const Rn = {
|
|
|
4544
4565
|
slots: []
|
|
4545
4566
|
};
|
|
4546
4567
|
C(ua);
|
|
4547
|
-
const Ct =
|
|
4568
|
+
const Ct = F(Q);
|
|
4548
4569
|
Ct.children[0].default = "custom";
|
|
4549
4570
|
Ct.children[2].children[0].default = "0xffffff";
|
|
4550
4571
|
Ct.children[2].children[1].default = "0xffffff";
|
|
@@ -4659,7 +4680,7 @@ function pa(t, n) {
|
|
|
4659
4680
|
}
|
|
4660
4681
|
};
|
|
4661
4682
|
}
|
|
4662
|
-
const
|
|
4683
|
+
const Kn = {
|
|
4663
4684
|
key: "series",
|
|
4664
4685
|
name: "x-runtime-lib.series",
|
|
4665
4686
|
children: [
|
|
@@ -4685,8 +4706,8 @@ const Fn = {
|
|
|
4685
4706
|
name: "x-runtime-lib.barChart",
|
|
4686
4707
|
comp: Ar,
|
|
4687
4708
|
properties: {
|
|
4688
|
-
pageUi: [b, X, gt, vt, _t, ht,
|
|
4689
|
-
compUi: [b, X, gt, vt, _t, ht,
|
|
4709
|
+
pageUi: [b, X, gt, vt, _t, ht, Kn],
|
|
4710
|
+
compUi: [b, X, gt, vt, _t, ht, Kn]
|
|
4690
4711
|
},
|
|
4691
4712
|
leaf: !0,
|
|
4692
4713
|
spawn: pa
|
|
@@ -4706,7 +4727,7 @@ function ma(t, n) {
|
|
|
4706
4727
|
}
|
|
4707
4728
|
};
|
|
4708
4729
|
}
|
|
4709
|
-
const
|
|
4730
|
+
const Fn = {
|
|
4710
4731
|
key: "series",
|
|
4711
4732
|
name: "x-runtime-lib.series",
|
|
4712
4733
|
children: [
|
|
@@ -4732,8 +4753,8 @@ const Kn = {
|
|
|
4732
4753
|
name: "x-runtime-lib.lineChart",
|
|
4733
4754
|
comp: Tr,
|
|
4734
4755
|
properties: {
|
|
4735
|
-
pageUi: [b, X, gt, vt, _t, ht,
|
|
4736
|
-
compUi: [b, X, gt, vt, _t, ht,
|
|
4756
|
+
pageUi: [b, X, gt, vt, _t, ht, Fn],
|
|
4757
|
+
compUi: [b, X, gt, vt, _t, ht, Fn]
|
|
4737
4758
|
},
|
|
4738
4759
|
leaf: !0,
|
|
4739
4760
|
spawn: ma
|
|
@@ -4797,7 +4818,7 @@ const lt = {
|
|
|
4797
4818
|
}, ya = {
|
|
4798
4819
|
key: "multiple_slot_v1",
|
|
4799
4820
|
name: "x-runtime-lib.multipleSlot",
|
|
4800
|
-
comp:
|
|
4821
|
+
comp: Kr,
|
|
4801
4822
|
properties: {
|
|
4802
4823
|
pageUi: [b, X, lt, at],
|
|
4803
4824
|
compUi: [b, X, lt, at],
|
|
@@ -4821,7 +4842,7 @@ const ut = {
|
|
|
4821
4842
|
}, ba = {
|
|
4822
4843
|
key: "ref_v1",
|
|
4823
4844
|
name: "x-runtime-lib.reference",
|
|
4824
|
-
comp:
|
|
4845
|
+
comp: Fr,
|
|
4825
4846
|
properties: {
|
|
4826
4847
|
pageUi: [b, X, ut],
|
|
4827
4848
|
compUi: [b, X, ut],
|
|
@@ -4882,7 +4903,7 @@ const ct = {
|
|
|
4882
4903
|
leaf: !0
|
|
4883
4904
|
};
|
|
4884
4905
|
C(ga);
|
|
4885
|
-
const Oe =
|
|
4906
|
+
const Oe = F(Q);
|
|
4886
4907
|
Oe.key = "backgroundColor";
|
|
4887
4908
|
Oe.name = "x-runtime-lib.backgroundColor";
|
|
4888
4909
|
const Yi = {
|
|
@@ -5002,7 +5023,7 @@ function Va(t, n) {
|
|
|
5002
5023
|
}
|
|
5003
5024
|
};
|
|
5004
5025
|
}
|
|
5005
|
-
const Pa =
|
|
5026
|
+
const Pa = F(Q), jn = {
|
|
5006
5027
|
key: "settings",
|
|
5007
5028
|
name: "x-runtime-lib.settings",
|
|
5008
5029
|
children: [
|
|
@@ -5092,10 +5113,10 @@ const Pa = K(Q), Nn = {
|
|
|
5092
5113
|
}, Wt = {
|
|
5093
5114
|
key: "ui_btn_v1",
|
|
5094
5115
|
name: "x-runtime-lib.button",
|
|
5095
|
-
comp:
|
|
5116
|
+
comp: jr,
|
|
5096
5117
|
properties: {
|
|
5097
|
-
pageUi: [b, X,
|
|
5098
|
-
compUi: [b, X,
|
|
5118
|
+
pageUi: [b, X, jn],
|
|
5119
|
+
compUi: [b, X, jn]
|
|
5099
5120
|
},
|
|
5100
5121
|
events: [
|
|
5101
5122
|
{
|
|
@@ -5117,7 +5138,7 @@ const Ea = {
|
|
|
5117
5138
|
}
|
|
5118
5139
|
};
|
|
5119
5140
|
C(Ea);
|
|
5120
|
-
const
|
|
5141
|
+
const Nn = {
|
|
5121
5142
|
key: "settings",
|
|
5122
5143
|
name: "x-runtime-lib.settings",
|
|
5123
5144
|
children: [
|
|
@@ -5183,8 +5204,8 @@ const jn = {
|
|
|
5183
5204
|
name: "x-runtime-lib.buttonToggle",
|
|
5184
5205
|
comp: Jr,
|
|
5185
5206
|
properties: {
|
|
5186
|
-
pageUi: [b,
|
|
5187
|
-
compUi: [b,
|
|
5207
|
+
pageUi: [b, Nn],
|
|
5208
|
+
compUi: [b, Nn]
|
|
5188
5209
|
}
|
|
5189
5210
|
};
|
|
5190
5211
|
C(za);
|
|
@@ -5291,7 +5312,7 @@ const Gn = {
|
|
|
5291
5312
|
leaf: !0
|
|
5292
5313
|
};
|
|
5293
5314
|
C(Aa);
|
|
5294
|
-
const Ta =
|
|
5315
|
+
const Ta = F(Q), Jn = {
|
|
5295
5316
|
key: "settings",
|
|
5296
5317
|
name: "x-runtime-lib.settings",
|
|
5297
5318
|
children: [
|
|
@@ -5366,7 +5387,7 @@ const Ta = K(Q), Jn = {
|
|
|
5366
5387
|
},
|
|
5367
5388
|
Ta
|
|
5368
5389
|
]
|
|
5369
|
-
},
|
|
5390
|
+
}, Kt = {
|
|
5370
5391
|
key: "ui_chip_v1",
|
|
5371
5392
|
name: "x-runtime-lib.chip",
|
|
5372
5393
|
comp: Yr,
|
|
@@ -5376,11 +5397,11 @@ const Ta = K(Q), Jn = {
|
|
|
5376
5397
|
},
|
|
5377
5398
|
leaf: !0
|
|
5378
5399
|
};
|
|
5379
|
-
C(
|
|
5400
|
+
C(Kt);
|
|
5380
5401
|
function Ua(t, n) {
|
|
5381
|
-
const e = R(t, n), o =
|
|
5382
|
-
M(i, o), i.basic.id = A(16), i.basic.key =
|
|
5383
|
-
const r = Ue(t, n, "chip1", "chip 1"), l = Ue(t, n, "chip2", "chip 2"), u = Ue(t, n, "chip3", "chip 3"), p = Ue(t, n, "chip4", "chip 4"), d = Ue(t, n, "chip5", "chip 5"),
|
|
5402
|
+
const e = R(t, n), o = Ft.properties[e], i = T();
|
|
5403
|
+
M(i, o), i.basic.id = A(16), i.basic.key = Ft.key;
|
|
5404
|
+
const r = Ue(t, n, "chip1", "chip 1"), l = Ue(t, n, "chip2", "chip 2"), u = Ue(t, n, "chip3", "chip 3"), p = Ue(t, n, "chip4", "chip 4"), d = Ue(t, n, "chip5", "chip 5"), f = Ue(t, n, "chip6", "chip 6");
|
|
5384
5405
|
return {
|
|
5385
5406
|
nodeLite: U(i, [
|
|
5386
5407
|
r.nodeLite,
|
|
@@ -5388,7 +5409,7 @@ function Ua(t, n) {
|
|
|
5388
5409
|
u.nodeLite,
|
|
5389
5410
|
p.nodeLite,
|
|
5390
5411
|
d.nodeLite,
|
|
5391
|
-
|
|
5412
|
+
f.nodeLite
|
|
5392
5413
|
]),
|
|
5393
5414
|
nodes: {
|
|
5394
5415
|
[i.basic.id]: i,
|
|
@@ -5397,13 +5418,13 @@ function Ua(t, n) {
|
|
|
5397
5418
|
...u.nodes,
|
|
5398
5419
|
...p.nodes,
|
|
5399
5420
|
...d.nodes,
|
|
5400
|
-
...
|
|
5421
|
+
...f.nodes
|
|
5401
5422
|
}
|
|
5402
5423
|
};
|
|
5403
5424
|
}
|
|
5404
5425
|
function Ue(t, n, e, o) {
|
|
5405
|
-
const i = R(t, n), r =
|
|
5406
|
-
return M(l, r), l.basic.id = A(16), l.basic.key =
|
|
5426
|
+
const i = R(t, n), r = Kt.properties[i], l = T();
|
|
5427
|
+
return M(l, r), l.basic.id = A(16), l.basic.key = Kt.key, l.settings.value = e, l.settings.text = o, {
|
|
5407
5428
|
nodeLite: U(l),
|
|
5408
5429
|
nodes: {
|
|
5409
5430
|
[l.basic.id]: l
|
|
@@ -5464,7 +5485,7 @@ const qn = {
|
|
|
5464
5485
|
default: !1
|
|
5465
5486
|
}
|
|
5466
5487
|
]
|
|
5467
|
-
},
|
|
5488
|
+
}, Ft = {
|
|
5468
5489
|
key: "ui_chip_group_v1",
|
|
5469
5490
|
name: "x-runtime-lib.chipGroup",
|
|
5470
5491
|
comp: Zr,
|
|
@@ -5474,7 +5495,7 @@ const qn = {
|
|
|
5474
5495
|
},
|
|
5475
5496
|
spawn: Ua
|
|
5476
5497
|
};
|
|
5477
|
-
C(
|
|
5498
|
+
C(Ft);
|
|
5478
5499
|
const Ma = {
|
|
5479
5500
|
key: "ui_color_picker_v1",
|
|
5480
5501
|
name: "x-runtime-lib.colorPicker",
|
|
@@ -5538,7 +5559,7 @@ const Xn = {
|
|
|
5538
5559
|
leaf: !0
|
|
5539
5560
|
};
|
|
5540
5561
|
C(Ba);
|
|
5541
|
-
const _n =
|
|
5562
|
+
const _n = F(Q);
|
|
5542
5563
|
_n.key = "backgroundColor";
|
|
5543
5564
|
_n.name = "x-runtime-lib.backgroundColor";
|
|
5544
5565
|
const Yn = {
|
|
@@ -5735,7 +5756,7 @@ const Wa = {
|
|
|
5735
5756
|
leaf: !0
|
|
5736
5757
|
};
|
|
5737
5758
|
C(Wa);
|
|
5738
|
-
const
|
|
5759
|
+
const Ka = {
|
|
5739
5760
|
key: "ui_dialog_v1",
|
|
5740
5761
|
name: "x-runtime-lib.dialog",
|
|
5741
5762
|
comp: rl,
|
|
@@ -5755,12 +5776,12 @@ const Fa = {
|
|
|
5755
5776
|
],
|
|
5756
5777
|
teleport: !0
|
|
5757
5778
|
};
|
|
5758
|
-
C(
|
|
5779
|
+
C(Ka);
|
|
5759
5780
|
const ti = {
|
|
5760
5781
|
key: "settings",
|
|
5761
5782
|
name: "x-runtime-lib.settings",
|
|
5762
5783
|
children: []
|
|
5763
|
-
},
|
|
5784
|
+
}, jc = {
|
|
5764
5785
|
key: "ui_file_input_v1",
|
|
5765
5786
|
name: "x-runtime-lib.fileInput",
|
|
5766
5787
|
comp: ll,
|
|
@@ -5796,10 +5817,10 @@ const ti = {
|
|
|
5796
5817
|
}
|
|
5797
5818
|
};
|
|
5798
5819
|
C(Ot);
|
|
5799
|
-
function
|
|
5820
|
+
function Fa(t, n) {
|
|
5800
5821
|
const e = R(t, n), o = Ze.properties[e], i = T();
|
|
5801
5822
|
M(i, o), i.basic.id = A(16), i.basic.key = Ze.key;
|
|
5802
|
-
const r =
|
|
5823
|
+
const r = jt(
|
|
5803
5824
|
t,
|
|
5804
5825
|
n,
|
|
5805
5826
|
"#ff0000",
|
|
@@ -5808,7 +5829,7 @@ function Ka(t, n) {
|
|
|
5808
5829
|
void 0,
|
|
5809
5830
|
"40px",
|
|
5810
5831
|
void 0
|
|
5811
|
-
), l =
|
|
5832
|
+
), l = jt(
|
|
5812
5833
|
t,
|
|
5813
5834
|
n,
|
|
5814
5835
|
"#00ff00",
|
|
@@ -5831,7 +5852,7 @@ function Ka(t, n) {
|
|
|
5831
5852
|
function Da(t, n) {
|
|
5832
5853
|
const e = R(t, n), o = Ot.properties[e], i = T();
|
|
5833
5854
|
M(i, o), i.basic.id = A(16), i.basic.key = Ot.key;
|
|
5834
|
-
const r =
|
|
5855
|
+
const r = jt(
|
|
5835
5856
|
t,
|
|
5836
5857
|
n,
|
|
5837
5858
|
"#0000ff",
|
|
@@ -5849,16 +5870,16 @@ function Da(t, n) {
|
|
|
5849
5870
|
}
|
|
5850
5871
|
};
|
|
5851
5872
|
}
|
|
5852
|
-
function
|
|
5853
|
-
const d = R(t, n),
|
|
5854
|
-
return M(c,
|
|
5873
|
+
function jt(t, n, e, o, i, r, l, u, p) {
|
|
5874
|
+
const d = R(t, n), f = Dt.properties[d], c = T();
|
|
5875
|
+
return M(c, f), c.basic.id = A(16), c.basic.key = Dt.key, o && (c.size.width = o), i && (c.size.minWidth = i), l && (c.size.height = l), u && (c.size.minHeight = u), e && (c.settings.backgroundColor.mode = "custom", c.settings.backgroundColor.custom.light = e, c.settings.backgroundColor.custom.dark = e), {
|
|
5855
5876
|
nodeLite: U(c, []),
|
|
5856
5877
|
nodes: {
|
|
5857
5878
|
[c.basic.id]: c
|
|
5858
5879
|
}
|
|
5859
5880
|
};
|
|
5860
5881
|
}
|
|
5861
|
-
const xn =
|
|
5882
|
+
const xn = F(Q);
|
|
5862
5883
|
xn.key = "backgroundColor";
|
|
5863
5884
|
xn.name = "x-runtime-lib.backgroundColor";
|
|
5864
5885
|
const ii = {
|
|
@@ -6045,7 +6066,7 @@ const ii = {
|
|
|
6045
6066
|
name: "x-runtime-lib.click"
|
|
6046
6067
|
}
|
|
6047
6068
|
],
|
|
6048
|
-
spawn:
|
|
6069
|
+
spawn: Fa
|
|
6049
6070
|
};
|
|
6050
6071
|
C(Ze);
|
|
6051
6072
|
const oi = {
|
|
@@ -6198,10 +6219,10 @@ const oi = {
|
|
|
6198
6219
|
default: void 0
|
|
6199
6220
|
}
|
|
6200
6221
|
]
|
|
6201
|
-
},
|
|
6222
|
+
}, Nt = {
|
|
6202
6223
|
key: "ui_text_field_v1",
|
|
6203
6224
|
name: "x-runtime-lib.textField",
|
|
6204
|
-
comp:
|
|
6225
|
+
comp: Kl,
|
|
6205
6226
|
properties: {
|
|
6206
6227
|
pageUi: [b, oi, si],
|
|
6207
6228
|
compUi: [b, oi, si]
|
|
@@ -6300,11 +6321,11 @@ const oi = {
|
|
|
6300
6321
|
],
|
|
6301
6322
|
leaf: !0
|
|
6302
6323
|
};
|
|
6303
|
-
C(
|
|
6324
|
+
C(Nt);
|
|
6304
6325
|
function Oa(t, n) {
|
|
6305
6326
|
const e = R(t, n), o = Ht.properties[e], i = T();
|
|
6306
6327
|
M(i, o), i.basic.id = A(16), i.basic.key = Ht.key;
|
|
6307
|
-
const r =
|
|
6328
|
+
const r = ja(t, n);
|
|
6308
6329
|
return {
|
|
6309
6330
|
nodeLite: U(i, [r.nodeLite]),
|
|
6310
6331
|
nodes: {
|
|
@@ -6313,9 +6334,9 @@ function Oa(t, n) {
|
|
|
6313
6334
|
}
|
|
6314
6335
|
};
|
|
6315
6336
|
}
|
|
6316
|
-
function
|
|
6317
|
-
const e = R(t, n), o =
|
|
6318
|
-
return M(i, o), i.basic.id = A(16), i.basic.key =
|
|
6337
|
+
function ja(t, n) {
|
|
6338
|
+
const e = R(t, n), o = Nt.properties[e], i = T();
|
|
6339
|
+
return M(i, o), i.basic.id = A(16), i.basic.key = Nt.key, {
|
|
6319
6340
|
nodeLite: U(i),
|
|
6320
6341
|
nodes: {
|
|
6321
6342
|
[i.basic.id]: i
|
|
@@ -6357,7 +6378,7 @@ const ri = {
|
|
|
6357
6378
|
spawn: Oa
|
|
6358
6379
|
};
|
|
6359
6380
|
C(Ht);
|
|
6360
|
-
const
|
|
6381
|
+
const Na = F(Q), li = {
|
|
6361
6382
|
key: "settings",
|
|
6362
6383
|
name: "x-runtime-lib.settings",
|
|
6363
6384
|
children: [
|
|
@@ -6380,7 +6401,7 @@ const ja = K(Q), li = {
|
|
|
6380
6401
|
items: "sizeItemsV1",
|
|
6381
6402
|
default: "default"
|
|
6382
6403
|
},
|
|
6383
|
-
|
|
6404
|
+
Na
|
|
6384
6405
|
]
|
|
6385
6406
|
}, Ha = {
|
|
6386
6407
|
key: "ui_icon_v1",
|
|
@@ -6698,7 +6719,7 @@ const ci = {
|
|
|
6698
6719
|
leaf: !0
|
|
6699
6720
|
};
|
|
6700
6721
|
C(qa);
|
|
6701
|
-
const Xa =
|
|
6722
|
+
const Xa = F(Q), di = {
|
|
6702
6723
|
key: "settings",
|
|
6703
6724
|
name: "x-runtime-lib.settings",
|
|
6704
6725
|
children: [
|
|
@@ -7073,13 +7094,13 @@ const yi = {
|
|
|
7073
7094
|
leaf: !0
|
|
7074
7095
|
};
|
|
7075
7096
|
C(eu);
|
|
7076
|
-
const kn =
|
|
7097
|
+
const kn = F(Q);
|
|
7077
7098
|
kn.key = "color";
|
|
7078
7099
|
kn.name = "x-runtime-lib.color";
|
|
7079
|
-
const wn =
|
|
7100
|
+
const wn = F(Q);
|
|
7080
7101
|
wn.key = "trackColor";
|
|
7081
7102
|
wn.name = "x-runtime-lib.trackColor";
|
|
7082
|
-
const In =
|
|
7103
|
+
const In = F(Q);
|
|
7083
7104
|
In.key = "thumbColor";
|
|
7084
7105
|
In.name = "x-runtime-lib.thumbColor";
|
|
7085
7106
|
const bi = {
|
|
@@ -7442,13 +7463,13 @@ function zt(t, n, e, o) {
|
|
|
7442
7463
|
}
|
|
7443
7464
|
};
|
|
7444
7465
|
}
|
|
7445
|
-
const Sn =
|
|
7466
|
+
const Sn = F(Q);
|
|
7446
7467
|
Sn.key = "backgroundColor";
|
|
7447
7468
|
Sn.name = "x-runtime-lib.backgroundColor";
|
|
7448
|
-
const Cn =
|
|
7469
|
+
const Cn = F(Q);
|
|
7449
7470
|
Cn.key = "selectedColor";
|
|
7450
7471
|
Cn.name = "x-runtime-lib.selectedColor";
|
|
7451
|
-
const $n =
|
|
7472
|
+
const $n = F(Q);
|
|
7452
7473
|
$n.key = "sliderColor";
|
|
7453
7474
|
$n.name = "x-runtime-lib.sliderColor";
|
|
7454
7475
|
const ki = {
|
|
@@ -7743,7 +7764,7 @@ C(on);
|
|
|
7743
7764
|
const sn = {
|
|
7744
7765
|
key: "ui_timeline_item_v1",
|
|
7745
7766
|
name: "x-runtime-lib.timelineItem",
|
|
7746
|
-
comp:
|
|
7767
|
+
comp: jl,
|
|
7747
7768
|
properties: {
|
|
7748
7769
|
pageUi: [b],
|
|
7749
7770
|
compUi: [b]
|
|
@@ -7785,7 +7806,7 @@ function du(t, n, e) {
|
|
|
7785
7806
|
}
|
|
7786
7807
|
};
|
|
7787
7808
|
}
|
|
7788
|
-
const pu =
|
|
7809
|
+
const pu = F(Q), mu = F(Q), Si = {
|
|
7789
7810
|
key: "settings",
|
|
7790
7811
|
name: "x-runtime-lib.settings",
|
|
7791
7812
|
children: [
|
|
@@ -7866,7 +7887,7 @@ const pu = K(Q), mu = K(Q), Si = {
|
|
|
7866
7887
|
}, rn = {
|
|
7867
7888
|
key: "ui_timeline_v1",
|
|
7868
7889
|
name: "x-runtime-lib.timeline",
|
|
7869
|
-
comp:
|
|
7890
|
+
comp: Fl,
|
|
7870
7891
|
properties: {
|
|
7871
7892
|
pageUi: [b, Si],
|
|
7872
7893
|
compUi: [b, Si]
|
|
@@ -7982,7 +8003,7 @@ const Ci = {
|
|
|
7982
8003
|
}, an = {
|
|
7983
8004
|
key: "ui_window_v1",
|
|
7984
8005
|
name: "x-runtime-lib.window",
|
|
7985
|
-
comp:
|
|
8006
|
+
comp: Nl,
|
|
7986
8007
|
properties: {
|
|
7987
8008
|
pageUi: [b, Ci],
|
|
7988
8009
|
compUi: [b, Ci]
|
|
@@ -8130,11 +8151,11 @@ const hu = [
|
|
|
8130
8151
|
], Wu = [
|
|
8131
8152
|
{ title: "x-runtime-lib.horizontal", value: "horizontal" },
|
|
8132
8153
|
{ title: "x-runtime-lib.vertical", value: "vertical" }
|
|
8133
|
-
],
|
|
8154
|
+
], Ku = [
|
|
8134
8155
|
{ title: "x-runtime-lib.notSet", value: "" },
|
|
8135
8156
|
{ title: "x-runtime-lib.end", value: "end" },
|
|
8136
8157
|
{ title: "x-runtime-lib.start", value: "start" }
|
|
8137
|
-
],
|
|
8158
|
+
], Fu = [
|
|
8138
8159
|
{ title: "x-runtime-lib.notSet", value: "" },
|
|
8139
8160
|
{ title: "x-runtime-lib.end", value: "end" },
|
|
8140
8161
|
{ title: "x-runtime-lib.start", value: "start" },
|
|
@@ -8164,8 +8185,8 @@ const hu = [
|
|
|
8164
8185
|
thumbLabelItemsV1: Bu,
|
|
8165
8186
|
timelineAlignItemsV1: Ru,
|
|
8166
8187
|
timelineDirectionItemsV1: Wu,
|
|
8167
|
-
timelineSideItemsV1:
|
|
8168
|
-
timelineTruncateLineItemsV1:
|
|
8188
|
+
timelineSideItemsV1: Ku,
|
|
8189
|
+
timelineTruncateLineItemsV1: Fu
|
|
8169
8190
|
}, Symbol.toStringTag, { value: "Module" })), Ou = [
|
|
8170
8191
|
{
|
|
8171
8192
|
title: "x-runtime-lib.notSet",
|
|
@@ -8206,7 +8227,7 @@ const hu = [
|
|
|
8206
8227
|
max: 1 / 0,
|
|
8207
8228
|
step: 1
|
|
8208
8229
|
}
|
|
8209
|
-
],
|
|
8230
|
+
], ju = [
|
|
8210
8231
|
{
|
|
8211
8232
|
title: "x-runtime-lib.notSet",
|
|
8212
8233
|
value: "",
|
|
@@ -8228,7 +8249,7 @@ const hu = [
|
|
|
8228
8249
|
validator: (t) => t === "right",
|
|
8229
8250
|
default: "right"
|
|
8230
8251
|
}
|
|
8231
|
-
],
|
|
8252
|
+
], Nu = [
|
|
8232
8253
|
{
|
|
8233
8254
|
title: "x-runtime-lib.notSet",
|
|
8234
8255
|
value: "",
|
|
@@ -8362,8 +8383,8 @@ const hu = [
|
|
|
8362
8383
|
], Xu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8363
8384
|
__proto__: null,
|
|
8364
8385
|
borderWidthTypesV1: Ou,
|
|
8365
|
-
leftRightTypesV1:
|
|
8366
|
-
marginTypesV1:
|
|
8386
|
+
leftRightTypesV1: ju,
|
|
8387
|
+
marginTypesV1: Nu,
|
|
8367
8388
|
paddingTypesV1: Hu,
|
|
8368
8389
|
sizeTypesV1: Gu,
|
|
8369
8390
|
tableColumnAlignTypesV1: Ju,
|
|
@@ -8718,9 +8739,9 @@ const hu = [
|
|
|
8718
8739
|
};
|
|
8719
8740
|
function $i(t, n) {
|
|
8720
8741
|
if (t.array)
|
|
8721
|
-
return n ?
|
|
8742
|
+
return n ? F(t.default) : F(t.defaultArray);
|
|
8722
8743
|
{
|
|
8723
|
-
const e =
|
|
8744
|
+
const e = F(t.default);
|
|
8724
8745
|
return (t.ui === "switch" || t.ui === "select" || t.ui === "colorPicker" || t.ui === "multiTypes" || t.ui === "selectComp" || t.ui === "selectSlot" || t.ui === "selectAdaptSlot") && !e ? void 0 : e;
|
|
8725
8746
|
}
|
|
8726
8747
|
}
|
|
@@ -8737,7 +8758,7 @@ function M(t, n) {
|
|
|
8737
8758
|
}
|
|
8738
8759
|
n.forEach((o) => e(t, o));
|
|
8739
8760
|
}
|
|
8740
|
-
function
|
|
8761
|
+
function Nc(t, n, e, o, i) {
|
|
8741
8762
|
const r = `type=${t} subtype=${n} version=${e} ref=${o} keyOrRefId=${i}`, l = R(t, n), u = nc[e];
|
|
8742
8763
|
if (!u) {
|
|
8743
8764
|
console.error(`spawnNode pkg not found version, ${r}`);
|
|
@@ -8749,21 +8770,21 @@ function jc(t, n, e, o, i) {
|
|
|
8749
8770
|
console.error(`spawnNode [ref] element not found in pkg, ${r}`);
|
|
8750
8771
|
return;
|
|
8751
8772
|
}
|
|
8752
|
-
const
|
|
8753
|
-
if (!
|
|
8773
|
+
const f = Pe[p];
|
|
8774
|
+
if (!f) {
|
|
8754
8775
|
console.error(`spawnNode [ref] element not found in global, ${r}`);
|
|
8755
8776
|
return;
|
|
8756
8777
|
}
|
|
8757
|
-
const c =
|
|
8778
|
+
const c = f.properties[l];
|
|
8758
8779
|
if (!c) {
|
|
8759
8780
|
console.error(`spawnNode [ref] properties not found, ${r}`);
|
|
8760
8781
|
return;
|
|
8761
8782
|
}
|
|
8762
|
-
const
|
|
8763
|
-
return M(
|
|
8764
|
-
nodeLite: U(
|
|
8783
|
+
const m = T();
|
|
8784
|
+
return M(m, c), m.basic.id = A(16), m.basic.key = p, m.settings || (m.settings = {}), m.settings.comp = d, {
|
|
8785
|
+
nodeLite: U(m),
|
|
8765
8786
|
nodes: {
|
|
8766
|
-
[
|
|
8787
|
+
[m.basic.id]: m
|
|
8767
8788
|
}
|
|
8768
8789
|
};
|
|
8769
8790
|
} else {
|
|
@@ -8772,7 +8793,7 @@ function jc(t, n, e, o, i) {
|
|
|
8772
8793
|
console.error(`spawnNode [key] element not found in pkg, ${r}`);
|
|
8773
8794
|
return;
|
|
8774
8795
|
}
|
|
8775
|
-
const d =
|
|
8796
|
+
const d = Pe[p];
|
|
8776
8797
|
if (!d) {
|
|
8777
8798
|
console.error(`spawnNode [key] element not found in global, ${r}`);
|
|
8778
8799
|
return;
|
|
@@ -8780,16 +8801,16 @@ function jc(t, n, e, o, i) {
|
|
|
8780
8801
|
if (d.spawn)
|
|
8781
8802
|
return d.spawn(t, n);
|
|
8782
8803
|
{
|
|
8783
|
-
const
|
|
8784
|
-
if (!
|
|
8804
|
+
const f = d.properties[l];
|
|
8805
|
+
if (!f) {
|
|
8785
8806
|
console.error(`spawnNode [key] properties not found, ${r}`);
|
|
8786
8807
|
return;
|
|
8787
8808
|
}
|
|
8788
8809
|
const c = T();
|
|
8789
|
-
M(c,
|
|
8790
|
-
let
|
|
8791
|
-
return d.leaf || (
|
|
8792
|
-
nodeLite: U(c,
|
|
8810
|
+
M(c, f), c.basic.id = A(16), c.basic.key = p;
|
|
8811
|
+
let m;
|
|
8812
|
+
return d.leaf || (m = []), {
|
|
8813
|
+
nodeLite: U(c, m),
|
|
8793
8814
|
nodes: {
|
|
8794
8815
|
[c.basic.id]: c
|
|
8795
8816
|
}
|
|
@@ -8818,11 +8839,11 @@ function ic(t) {
|
|
|
8818
8839
|
const n = {}, e = (r) => {
|
|
8819
8840
|
const l = A(16);
|
|
8820
8841
|
n[r.id] = l, r.id = l, r.children?.map((u) => e(u));
|
|
8821
|
-
}, o =
|
|
8842
|
+
}, o = F(t.nodeLite);
|
|
8822
8843
|
e(o);
|
|
8823
8844
|
const i = {};
|
|
8824
8845
|
return Object.values(t.nodes).forEach((r) => {
|
|
8825
|
-
const l =
|
|
8846
|
+
const l = F(r);
|
|
8826
8847
|
l.basic.id = n[l.basic.id], i[l.basic.id] = l;
|
|
8827
8848
|
}), { nodeLite: o, nodes: i };
|
|
8828
8849
|
}
|
|
@@ -8851,7 +8872,7 @@ function ie() {
|
|
|
8851
8872
|
function Yc(t) {
|
|
8852
8873
|
pe(to, mn(t));
|
|
8853
8874
|
}
|
|
8854
|
-
function
|
|
8875
|
+
function je() {
|
|
8855
8876
|
return de(to);
|
|
8856
8877
|
}
|
|
8857
8878
|
function Zc(t) {
|
|
@@ -8869,7 +8890,7 @@ function Ie() {
|
|
|
8869
8890
|
function ed(t) {
|
|
8870
8891
|
pe(oo, t);
|
|
8871
8892
|
}
|
|
8872
|
-
function
|
|
8893
|
+
function Ee() {
|
|
8873
8894
|
return de(oo);
|
|
8874
8895
|
}
|
|
8875
8896
|
function ve(t) {
|
|
@@ -8925,8 +8946,8 @@ async function dt(t, n, e, o, i) {
|
|
|
8925
8946
|
if (e === Je(c)) {
|
|
8926
8947
|
if (c.subKeys) {
|
|
8927
8948
|
if (!ye(
|
|
8928
|
-
|
|
8929
|
-
|
|
8949
|
+
ze(o, c.subKeys),
|
|
8950
|
+
ze(i, c.subKeys)
|
|
8930
8951
|
)) {
|
|
8931
8952
|
d = c;
|
|
8932
8953
|
break;
|
|
@@ -8938,59 +8959,59 @@ async function dt(t, n, e, o, i) {
|
|
|
8938
8959
|
}
|
|
8939
8960
|
if (!d)
|
|
8940
8961
|
continue;
|
|
8941
|
-
let
|
|
8942
|
-
d.subKeys ?
|
|
8962
|
+
let f;
|
|
8963
|
+
d.subKeys ? f = ze(o, d.subKeys) : f = o;
|
|
8943
8964
|
for (const c of p)
|
|
8944
8965
|
if (c.subKeys) {
|
|
8945
|
-
let
|
|
8966
|
+
let m;
|
|
8946
8967
|
if (c.type === "elementProperty")
|
|
8947
|
-
|
|
8968
|
+
m = t.getElementProperty(
|
|
8948
8969
|
c.nodeId,
|
|
8949
8970
|
c.propertyKeys.split(".")
|
|
8950
8971
|
);
|
|
8951
8972
|
else if (c.type === "customProperty")
|
|
8952
|
-
|
|
8973
|
+
m = t.getCustomProperty(c.propertyId);
|
|
8953
8974
|
else if (c.type === "customSlotProperty")
|
|
8954
|
-
|
|
8975
|
+
m = t.getCustomSlotProperty(c.propertyId);
|
|
8955
8976
|
else if (c.type === "state")
|
|
8956
|
-
|
|
8977
|
+
m = t.getState(c.stateId);
|
|
8957
8978
|
else {
|
|
8958
8979
|
console.assert(!1);
|
|
8959
8980
|
continue;
|
|
8960
8981
|
}
|
|
8961
|
-
const h =
|
|
8962
|
-
if (ye(
|
|
8982
|
+
const h = ze(m, c.subKeys);
|
|
8983
|
+
if (ye(f, h))
|
|
8963
8984
|
continue;
|
|
8964
|
-
const y =
|
|
8965
|
-
yn(y, c.subKeys,
|
|
8985
|
+
const y = F(m);
|
|
8986
|
+
yn(y, c.subKeys, F(f)), c.type === "elementProperty" ? t.setElementProperty(
|
|
8966
8987
|
c.nodeId,
|
|
8967
8988
|
c.propertyKeys.split("."),
|
|
8968
8989
|
y
|
|
8969
8990
|
) : c.type === "customProperty" ? t.setCustomProperty(c.propertyId, y) : c.type === "customSlotProperty" ? t.setCustomSlotProperty(c.propertyId, y) : c.type === "state" ? t.setState(c.stateId, y) : console.assert(!1);
|
|
8970
8991
|
} else {
|
|
8971
|
-
let
|
|
8992
|
+
let m;
|
|
8972
8993
|
if (c.type === "elementProperty")
|
|
8973
|
-
|
|
8994
|
+
m = t.getElementProperty(
|
|
8974
8995
|
c.nodeId,
|
|
8975
8996
|
c.propertyKeys.split(".")
|
|
8976
8997
|
);
|
|
8977
8998
|
else if (c.type === "customProperty")
|
|
8978
|
-
|
|
8999
|
+
m = t.getCustomProperty(c.propertyId);
|
|
8979
9000
|
else if (c.type === "customSlotProperty")
|
|
8980
|
-
|
|
9001
|
+
m = t.getCustomSlotProperty(c.propertyId);
|
|
8981
9002
|
else if (c.type === "state")
|
|
8982
|
-
|
|
9003
|
+
m = t.getState(c.stateId);
|
|
8983
9004
|
else {
|
|
8984
9005
|
console.assert(!1);
|
|
8985
9006
|
continue;
|
|
8986
9007
|
}
|
|
8987
|
-
if (ye(
|
|
9008
|
+
if (ye(f, m))
|
|
8988
9009
|
continue;
|
|
8989
9010
|
c.type === "elementProperty" ? t.setElementProperty(
|
|
8990
9011
|
c.nodeId,
|
|
8991
9012
|
c.propertyKeys.split("."),
|
|
8992
|
-
|
|
8993
|
-
) : c.type === "customProperty" ? t.setCustomProperty(c.propertyId,
|
|
9013
|
+
F(f)
|
|
9014
|
+
) : c.type === "customProperty" ? t.setCustomProperty(c.propertyId, F(f)) : c.type === "customSlotProperty" ? t.setCustomSlotProperty(c.propertyId, F(f)) : c.type === "state" ? t.setState(c.stateId, F(f)) : console.assert(!1);
|
|
8994
9015
|
}
|
|
8995
9016
|
}
|
|
8996
9017
|
}
|
|
@@ -9138,12 +9159,12 @@ function Se(t, n) {
|
|
|
9138
9159
|
o.value = -1, n.value = void 0, Ri.emit("compNotAvail", t.value);
|
|
9139
9160
|
return;
|
|
9140
9161
|
}
|
|
9141
|
-
o.value !== i.dataSeq && (o.value = i.dataSeq, n.value =
|
|
9162
|
+
o.value !== i.dataSeq && (o.value = i.dataSeq, n.value = F(i.data));
|
|
9142
9163
|
});
|
|
9143
9164
|
}
|
|
9144
9165
|
function fd() {
|
|
9145
9166
|
let t;
|
|
9146
|
-
const n = async () => (t = (await
|
|
9167
|
+
const n = async () => (t = (await Ko()).newRuntime(), console.log("runtime created"), t);
|
|
9147
9168
|
return we(() => {
|
|
9148
9169
|
t && (t.dispose(), console.log("runtime dispose"));
|
|
9149
9170
|
}), { createRuntime: n };
|
|
@@ -9163,8 +9184,8 @@ function mc(t) {
|
|
|
9163
9184
|
if (/^\[\d+\]$/.test(p)) {
|
|
9164
9185
|
let d = parseInt(p.slice(1, -1), 10);
|
|
9165
9186
|
d > 0 && d--;
|
|
9166
|
-
const
|
|
9167
|
-
n.setProp(i, l.toString(),
|
|
9187
|
+
const f = n.newNumber(d);
|
|
9188
|
+
n.setProp(i, l.toString(), f), f.dispose(), l++;
|
|
9168
9189
|
} else {
|
|
9169
9190
|
const d = n.newString(p);
|
|
9170
9191
|
n.setProp(i, l.toString(), d), d.dispose(), l++;
|
|
@@ -9186,7 +9207,7 @@ function mc(t) {
|
|
|
9186
9207
|
}).consume((e) => n.setProp(n.global, "__debugTraceV1__", e)), n.newFunction("__messageV1__", (e, o) => {
|
|
9187
9208
|
const i = n.getString(e), r = n.dump(o);
|
|
9188
9209
|
let l = "";
|
|
9189
|
-
typeof r == "object" ? l = JSON.stringify(r) : l = String(r), i === "info" ? ho(l) : i === "success" ? go(l) : i === "warning" ? Wi(l) : i === "error" &&
|
|
9210
|
+
typeof r == "object" ? l = JSON.stringify(r) : l = String(r), i === "info" ? ho(l) : i === "success" ? go(l) : i === "warning" ? Wi(l) : i === "error" && Ki(l);
|
|
9190
9211
|
}).consume((e) => n.setProp(n.global, "__messageV1__", e)), n.newFunction("__timeoutV1__", (e, o) => {
|
|
9191
9212
|
const i = n.getNumber(e), r = n.getNumber(o);
|
|
9192
9213
|
window.setTimeout(() => {
|
|
@@ -9194,13 +9215,13 @@ function mc(t) {
|
|
|
9194
9215
|
try {
|
|
9195
9216
|
if (!t.vm)
|
|
9196
9217
|
return;
|
|
9197
|
-
const l =
|
|
9218
|
+
const l = Ne(u, n.getProp(n.global, "__timeoutCallback__"));
|
|
9198
9219
|
n.callFunction(l, n.undefined, n.newNumber(i)).unwrap().dispose();
|
|
9199
9220
|
n.runtime.executePendingJobs();
|
|
9200
9221
|
} catch (p) {
|
|
9201
|
-
var d = p,
|
|
9222
|
+
var d = p, f = !0;
|
|
9202
9223
|
} finally {
|
|
9203
|
-
He(u, d,
|
|
9224
|
+
He(u, d, f);
|
|
9204
9225
|
}
|
|
9205
9226
|
}, r);
|
|
9206
9227
|
}).consume((e) => n.setProp(n.global, "__timeoutV1__", e)), n.newFunction("__delayV1__", (e) => {
|
|
@@ -9214,7 +9235,7 @@ const po = vo({
|
|
|
9214
9235
|
baseUrl: "http://localhost/computebase/",
|
|
9215
9236
|
onError: (t) => {
|
|
9216
9237
|
const { i18n: n } = ke;
|
|
9217
|
-
|
|
9238
|
+
Ki(Oo(n, t));
|
|
9218
9239
|
}
|
|
9219
9240
|
});
|
|
9220
9241
|
window.API_URL && (po.defaults.baseURL = window.API_URL + "/computebase/");
|
|
@@ -9228,12 +9249,12 @@ function yc(t) {
|
|
|
9228
9249
|
}
|
|
9229
9250
|
const { vm: n } = t;
|
|
9230
9251
|
n.newFunction("__callFuncV1__", (e, o, i, r, l) => {
|
|
9231
|
-
const u = n.getString(e), p = n.getString(o), d = n.dump(i),
|
|
9252
|
+
const u = n.getString(e), p = n.getString(o), d = n.dump(i), f = n.getString(r), c = n.getString(l), { promise: m, resolve: h, reject: y } = t.promiseManager.create(), g = JSON.stringify(d);
|
|
9232
9253
|
return fc({
|
|
9233
9254
|
spaceId: u,
|
|
9234
9255
|
id: p,
|
|
9235
9256
|
strInputs: g,
|
|
9236
|
-
env:
|
|
9257
|
+
env: f
|
|
9237
9258
|
}).then(
|
|
9238
9259
|
({ strOutputs: _ }) => {
|
|
9239
9260
|
if (!t.vm)
|
|
@@ -9244,7 +9265,7 @@ function yc(t) {
|
|
|
9244
9265
|
(_) => {
|
|
9245
9266
|
t.vm && y(`call func<${c}> failed, error: ${_}`);
|
|
9246
9267
|
}
|
|
9247
|
-
),
|
|
9268
|
+
), m.settled.then(n.runtime.executePendingJobs), m.handle;
|
|
9248
9269
|
}).consume((e) => n.setProp(n.global, "__callFuncV1__", e));
|
|
9249
9270
|
}
|
|
9250
9271
|
function bc(t) {
|
|
@@ -9255,7 +9276,7 @@ function bc(t) {
|
|
|
9255
9276
|
const { vm: n } = t;
|
|
9256
9277
|
n.newFunction("__getEnvV1__", () => n.getProp(n.global, "__env__")).consume((e) => n.setProp(n.global, "__getEnvV1__", e));
|
|
9257
9278
|
}
|
|
9258
|
-
function
|
|
9279
|
+
function Le(t, n) {
|
|
9259
9280
|
if (n === void 0)
|
|
9260
9281
|
return t.undefined;
|
|
9261
9282
|
if (n === null)
|
|
@@ -9274,7 +9295,7 @@ function Pe(t, n) {
|
|
|
9274
9295
|
for (const u of Object.keys(n)) {
|
|
9275
9296
|
var e = [];
|
|
9276
9297
|
try {
|
|
9277
|
-
const p =
|
|
9298
|
+
const p = Ne(e, Le(t, n[u]));
|
|
9278
9299
|
t.setProp(l, u, p);
|
|
9279
9300
|
} catch (o) {
|
|
9280
9301
|
var i = o, r = !0;
|
|
@@ -9297,16 +9318,16 @@ function hc(t) {
|
|
|
9297
9318
|
n.newFunction("__triggerEventV1__", (e, o, ...i) => {
|
|
9298
9319
|
const r = n.getString(e), l = n.getString(o), u = i.map((c) => n.dump(c));
|
|
9299
9320
|
t.callFunctionAsync("__triggerEventInner__", r, l, ...u);
|
|
9300
|
-
const { kind: p, nodeId: d, eventKey:
|
|
9321
|
+
const { kind: p, nodeId: d, eventKey: f } = pc(r);
|
|
9301
9322
|
if (p === "customEvent")
|
|
9302
9323
|
t.parent && (t.parent.callFunctionAsync(
|
|
9303
9324
|
"__triggerEventV1__",
|
|
9304
|
-
re("refEvent", t.nodeId,
|
|
9325
|
+
re("refEvent", t.nodeId, f),
|
|
9305
9326
|
"",
|
|
9306
9327
|
...u
|
|
9307
9328
|
), t.parent.callFunctionAsync(
|
|
9308
9329
|
"__triggerEventV1__",
|
|
9309
|
-
re("multipleRefEvent", t.nodeId,
|
|
9330
|
+
re("multipleRefEvent", t.nodeId, f),
|
|
9310
9331
|
t.instance,
|
|
9311
9332
|
...u
|
|
9312
9333
|
));
|
|
@@ -9314,7 +9335,7 @@ function hc(t) {
|
|
|
9314
9335
|
const c = t.children[d];
|
|
9315
9336
|
c && c.callFunctionAsync(
|
|
9316
9337
|
"__triggerEventV1__",
|
|
9317
|
-
re("adaptSlotCustomEvent", "globality",
|
|
9338
|
+
re("adaptSlotCustomEvent", "globality", f),
|
|
9318
9339
|
"",
|
|
9319
9340
|
...u
|
|
9320
9341
|
);
|
|
@@ -9322,100 +9343,123 @@ function hc(t) {
|
|
|
9322
9343
|
const c = t.children[d];
|
|
9323
9344
|
c && c.callFunctionAsync(
|
|
9324
9345
|
"__triggerEventV1__",
|
|
9325
|
-
re("adaptSlotCustomEvent", "globality",
|
|
9346
|
+
re("adaptSlotCustomEvent", "globality", f),
|
|
9326
9347
|
"",
|
|
9327
9348
|
...u
|
|
9328
9349
|
);
|
|
9329
9350
|
}
|
|
9330
9351
|
}).consume((e) => n.setProp(n.global, "__triggerEventV1__", e)), n.newFunction("__getPropertyV1__", (e, o) => {
|
|
9331
|
-
const i = n.getString(e), r = n.getString(o), {
|
|
9332
|
-
|
|
9333
|
-
|
|
9334
|
-
|
|
9335
|
-
|
|
9336
|
-
|
|
9337
|
-
|
|
9338
|
-
|
|
9339
|
-
|
|
9340
|
-
|
|
9341
|
-
|
|
9342
|
-
|
|
9343
|
-
|
|
9344
|
-
|
|
9345
|
-
|
|
9346
|
-
|
|
9347
|
-
|
|
9348
|
-
|
|
9352
|
+
const i = n.getString(e), r = n.getString(o), { promise: l, resolve: u, reject: p } = t.promiseManager.create(), { kind: d, nodeId: f, propertyKey: c } = Vi(i);
|
|
9353
|
+
if (d === "elementProperty")
|
|
9354
|
+
t.getElementProperty(f, c.split(".")).then(
|
|
9355
|
+
(m) => u(m),
|
|
9356
|
+
(m) => p(m)
|
|
9357
|
+
);
|
|
9358
|
+
else if (d === "refProperty") {
|
|
9359
|
+
const m = t.children[f];
|
|
9360
|
+
m ? m.getCustomProperty(c).then(
|
|
9361
|
+
(h) => u(h),
|
|
9362
|
+
(h) => p(h)
|
|
9363
|
+
) : p("sandbox not found");
|
|
9364
|
+
} else if (d === "multipleRefProperty") {
|
|
9365
|
+
const m = t.children[`${f}/${r}`];
|
|
9366
|
+
m ? m.getCustomProperty(c).then(
|
|
9367
|
+
(h) => u(h),
|
|
9368
|
+
(h) => p(h)
|
|
9369
|
+
) : p("sandbox not found");
|
|
9370
|
+
} else if (d === "customSlotProperty") {
|
|
9371
|
+
const m = t.children[f];
|
|
9372
|
+
m ? m.getCustomSlotProperty(c).then(
|
|
9373
|
+
(h) => u(h),
|
|
9374
|
+
(h) => p(h)
|
|
9375
|
+
) : p("sandbox not found");
|
|
9376
|
+
} else if (d === "multipleCustomSlotProperty") {
|
|
9377
|
+
const m = t.children[`${f}/${r}`];
|
|
9378
|
+
m ? m.getCustomSlotProperty(c).then(
|
|
9379
|
+
(h) => u(h),
|
|
9380
|
+
(h) => p(h)
|
|
9381
|
+
) : p("sandbox not found");
|
|
9382
|
+
} else d === "customProperty" ? t.getCustomProperty(c).then(
|
|
9383
|
+
(m) => u(m),
|
|
9384
|
+
(m) => p(m)
|
|
9385
|
+
) : d === "adaptSlotElementProperty" ? t.parent ? t.parent.getElementSlotProperty(c).then(
|
|
9386
|
+
(m) => u(m),
|
|
9387
|
+
(m) => p(m)
|
|
9388
|
+
) : p("not in slot") : d === "adaptSlotCustomProperty" ? t.parent ? t.parent.getCustomSlotProperty(c).then(
|
|
9389
|
+
(m) => u(m),
|
|
9390
|
+
(m) => p(m)
|
|
9391
|
+
) : p("not in slot") : console.assert(!1);
|
|
9392
|
+
return l.settled.then(n.runtime.executePendingJobs), l.handle;
|
|
9349
9393
|
}).consume((e) => n.setProp(n.global, "__getPropertyV1__", e)), n.newFunction("__setPropertyV1__", (e, o, i) => {
|
|
9350
|
-
const r = n.getString(e), l = n.dump(o), u = n.getString(i), { promise: p, resolve: d, reject:
|
|
9394
|
+
const r = n.getString(e), l = n.dump(o), u = n.getString(i), { promise: p, resolve: d, reject: f } = t.promiseManager.create(), { kind: c, nodeId: m, propertyKey: h } = Vi(r);
|
|
9351
9395
|
if (c === "elementProperty")
|
|
9352
|
-
t.setElementProperty(
|
|
9396
|
+
t.setElementProperty(m, h.split("."), l).then(
|
|
9353
9397
|
(y) => d(y),
|
|
9354
|
-
(y) =>
|
|
9398
|
+
(y) => f(y)
|
|
9355
9399
|
);
|
|
9356
9400
|
else if (c === "refProperty") {
|
|
9357
|
-
const y = t.children[
|
|
9401
|
+
const y = t.children[m];
|
|
9358
9402
|
y ? y.setCustomProperty(h, l).then(
|
|
9359
9403
|
(g) => d(g),
|
|
9360
|
-
(g) =>
|
|
9361
|
-
) :
|
|
9404
|
+
(g) => f(g)
|
|
9405
|
+
) : f("sandbox not found");
|
|
9362
9406
|
} else if (c === "multipleRefProperty") {
|
|
9363
|
-
const y = t.children[`${
|
|
9407
|
+
const y = t.children[`${m}/${u}`];
|
|
9364
9408
|
y ? y.setCustomProperty(h, l).then(
|
|
9365
9409
|
(g) => d(g),
|
|
9366
|
-
(g) =>
|
|
9367
|
-
) :
|
|
9410
|
+
(g) => f(g)
|
|
9411
|
+
) : f("sandbox not found");
|
|
9368
9412
|
} else if (c === "customSlotProperty") {
|
|
9369
|
-
const y = t.children[
|
|
9413
|
+
const y = t.children[m];
|
|
9370
9414
|
y ? y.setCustomSlotProperty(h, l).then(
|
|
9371
9415
|
(g) => d(g),
|
|
9372
|
-
(g) =>
|
|
9373
|
-
) :
|
|
9416
|
+
(g) => f(g)
|
|
9417
|
+
) : f("sandbox not found");
|
|
9374
9418
|
} else if (c === "multipleCustomSlotProperty") {
|
|
9375
|
-
const y = t.children[`${
|
|
9419
|
+
const y = t.children[`${m}/${u}`];
|
|
9376
9420
|
y ? y.setCustomSlotProperty(h, l).then(
|
|
9377
9421
|
(g) => d(g),
|
|
9378
|
-
(g) =>
|
|
9379
|
-
) :
|
|
9422
|
+
(g) => f(g)
|
|
9423
|
+
) : f("sandbox not found");
|
|
9380
9424
|
} else c === "customProperty" ? t.setCustomProperty(h, l).then(
|
|
9381
9425
|
(y) => d(y),
|
|
9382
|
-
(y) =>
|
|
9426
|
+
(y) => f(y)
|
|
9383
9427
|
) : c === "adaptSlotElementProperty" ? t.parent ? t.parent.setElementSlotProperty(h, l).then(
|
|
9384
9428
|
(y) => d(y),
|
|
9385
|
-
(y) =>
|
|
9386
|
-
) :
|
|
9429
|
+
(y) => f(y)
|
|
9430
|
+
) : f("not in slot") : c === "adaptSlotCustomProperty" ? t.parent ? t.parent.setCustomSlotProperty(h, l).then(
|
|
9387
9431
|
(y) => d(y),
|
|
9388
|
-
(y) =>
|
|
9389
|
-
) :
|
|
9432
|
+
(y) => f(y)
|
|
9433
|
+
) : f("not in slot") : console.assert(!1);
|
|
9390
9434
|
return p.settled.then(n.runtime.executePendingJobs), p.handle;
|
|
9391
9435
|
}).consume((e) => n.setProp(n.global, "__setPropertyV1__", e)), n.newFunction("__callMethodV1__", (e, o, i) => {
|
|
9392
|
-
const r = n.getString(e), l = n.getString(o), u = n.dump(i), { promise: p, resolve: d, reject:
|
|
9436
|
+
const r = n.getString(e), l = n.getString(o), u = n.dump(i), { promise: p, resolve: d, reject: f } = t.promiseManager.create(), { kind: c, nodeId: m, methodKey: h } = cc(r);
|
|
9393
9437
|
if (c === "elementMethod")
|
|
9394
9438
|
t.callElementMethod(r, h, u).then(
|
|
9395
9439
|
(y) => d(y),
|
|
9396
|
-
(y) =>
|
|
9440
|
+
(y) => f(y)
|
|
9397
9441
|
);
|
|
9398
9442
|
else if (c === "refMethod") {
|
|
9399
|
-
const y = t.children[
|
|
9443
|
+
const y = t.children[m];
|
|
9400
9444
|
y ? y.callFunctionAsync(
|
|
9401
9445
|
pt("customMethod", "globality", h),
|
|
9402
9446
|
l,
|
|
9403
9447
|
u
|
|
9404
9448
|
).then(
|
|
9405
9449
|
(g) => d(g),
|
|
9406
|
-
(g) =>
|
|
9407
|
-
) :
|
|
9450
|
+
(g) => f(g)
|
|
9451
|
+
) : f("sandbox not found");
|
|
9408
9452
|
} else if (c === "multipleRefMethod") {
|
|
9409
|
-
const y = t.children[`${
|
|
9453
|
+
const y = t.children[`${m}/${l}`];
|
|
9410
9454
|
y ? y.callFunctionAsync(
|
|
9411
9455
|
pt("customMethod", "globality", h),
|
|
9412
9456
|
l,
|
|
9413
9457
|
u
|
|
9414
9458
|
).then(
|
|
9415
9459
|
(g) => d(g),
|
|
9416
|
-
(g) =>
|
|
9417
|
-
) :
|
|
9418
|
-
} else c === "customSlotMethod" || c === "multipleCustomSlotMethod" || c === "customMethod" ? console.assert(!1, "no need to implement") : c === "adaptSlotElementMethod" ? t.parent ||
|
|
9460
|
+
(g) => f(g)
|
|
9461
|
+
) : f("sandbox not found");
|
|
9462
|
+
} else c === "customSlotMethod" || c === "multipleCustomSlotMethod" || c === "customMethod" ? console.assert(!1, "no need to implement") : c === "adaptSlotElementMethod" ? t.parent || f("not in slot") : c === "adaptSlotCustomMethod" ? t.parent ? t.kind === "customSlot" ? t.parent.callFunctionAsync(
|
|
9419
9463
|
pt(
|
|
9420
9464
|
"customSlotMethod",
|
|
9421
9465
|
t.nodeId,
|
|
@@ -9425,7 +9469,7 @@ function hc(t) {
|
|
|
9425
9469
|
u
|
|
9426
9470
|
).then(
|
|
9427
9471
|
(y) => d(y),
|
|
9428
|
-
(y) =>
|
|
9472
|
+
(y) => f(y)
|
|
9429
9473
|
) : t.kind === "multipleCustomSlot" && t.parent.callFunctionAsync(
|
|
9430
9474
|
pt(
|
|
9431
9475
|
"multipleCustomSlotMethod",
|
|
@@ -9436,12 +9480,12 @@ function hc(t) {
|
|
|
9436
9480
|
u
|
|
9437
9481
|
).then(
|
|
9438
9482
|
(y) => d(y),
|
|
9439
|
-
(y) =>
|
|
9440
|
-
) :
|
|
9483
|
+
(y) => f(y)
|
|
9484
|
+
) : f("not in slot") : console.assert(!1, `not implemented kind=${c}`);
|
|
9441
9485
|
return p.settled.then(n.runtime.executePendingJobs), p.handle;
|
|
9442
9486
|
}).consume((e) => n.setProp(n.global, "__callMethodV1__", e)), n.newFunction("__getStateV1__", (e) => {
|
|
9443
9487
|
const o = n.getString(e), i = t.getState(o);
|
|
9444
|
-
return
|
|
9488
|
+
return Le(n, i);
|
|
9445
9489
|
}).consume((e) => n.setProp(n.global, "__getStateV1__", e)), n.newFunction("__setStateV1__", (e, o) => {
|
|
9446
9490
|
const i = n.getString(e), r = n.dump(o);
|
|
9447
9491
|
t.setState(i, r);
|
|
@@ -9466,8 +9510,8 @@ function hc(t) {
|
|
|
9466
9510
|
}), l.settled.then(n.runtime.executePendingJobs), l.handle;
|
|
9467
9511
|
}).consume((e) => n.setProp(n.global, "__openConfirmDlgV1__", e)), n.newFunction("__openPromptDlgV1__", (e, o, i) => {
|
|
9468
9512
|
const r = n.getString(e), l = n.getString(o), u = n.dump(i), { promise: p, resolve: d } = t.promiseManager.create();
|
|
9469
|
-
return xo({ title: r, label: l, value: u }).then((
|
|
9470
|
-
t.vm && d(
|
|
9513
|
+
return xo({ title: r, label: l, value: u }).then((f) => {
|
|
9514
|
+
t.vm && d(f === void 0 ? void 0 : f);
|
|
9471
9515
|
}), p.settled.then(n.runtime.executePendingJobs), p.handle;
|
|
9472
9516
|
}).consume((e) => n.setProp(n.global, "__openPromptDlgV1__", e));
|
|
9473
9517
|
}
|
|
@@ -9567,14 +9611,14 @@ class _c {
|
|
|
9567
9611
|
}
|
|
9568
9612
|
// 未响应的promise,需要手动回收
|
|
9569
9613
|
dispose() {
|
|
9570
|
-
Object.values(this.promises).forEach((n) => n.dispose());
|
|
9614
|
+
Object.values(this.promises).forEach((n) => n.dispose()), this.vm = void 0;
|
|
9571
9615
|
}
|
|
9572
9616
|
create() {
|
|
9573
9617
|
const n = this.currPromiseId++, e = this.vm.newPromise();
|
|
9574
9618
|
return this.promises[n] = e, { promise: e, resolve: (r) => {
|
|
9575
|
-
this.vm && (
|
|
9619
|
+
this.vm && (Le(this.vm, r).consume((l) => e.resolve(l)), delete this.promises[n]);
|
|
9576
9620
|
}, reject: (r) => {
|
|
9577
|
-
this.vm && (
|
|
9621
|
+
this.vm && (Le(this.vm, r).consume((l) => e.reject(l)), delete this.promises[n]);
|
|
9578
9622
|
} };
|
|
9579
9623
|
}
|
|
9580
9624
|
}
|
|
@@ -9592,7 +9636,7 @@ class xc {
|
|
|
9592
9636
|
mode;
|
|
9593
9637
|
type;
|
|
9594
9638
|
// 沙盒内事件总线
|
|
9595
|
-
eventBus =
|
|
9639
|
+
eventBus = Fo();
|
|
9596
9640
|
// 钩子
|
|
9597
9641
|
hooks;
|
|
9598
9642
|
constructor(n, e, o, i, r, l, u, p, d) {
|
|
@@ -9632,7 +9676,7 @@ class xc {
|
|
|
9632
9676
|
const { vm: o } = this;
|
|
9633
9677
|
if (!o)
|
|
9634
9678
|
throw new Error("Sandbox/setGlobalVariable vm not available");
|
|
9635
|
-
o.setProp(o.global, n,
|
|
9679
|
+
o.setProp(o.global, n, Le(o, e));
|
|
9636
9680
|
}
|
|
9637
9681
|
getGlobalVariable(n) {
|
|
9638
9682
|
const { vm: e } = this;
|
|
@@ -9645,22 +9689,20 @@ class xc {
|
|
|
9645
9689
|
try {
|
|
9646
9690
|
const { vm: o } = this;
|
|
9647
9691
|
if (!o)
|
|
9648
|
-
throw new Error("
|
|
9649
|
-
const i = `${n}(${e.map((
|
|
9692
|
+
throw new Error("vm not available");
|
|
9693
|
+
const i = `${n}(${e.map((m) => JSON.stringify(m)).join(", ")})`;
|
|
9650
9694
|
Ei.includes(n) || this.debugTrace(`${i}`);
|
|
9651
|
-
const r =
|
|
9652
|
-
if (!r)
|
|
9653
|
-
|
|
9654
|
-
|
|
9655
|
-
|
|
9656
|
-
|
|
9657
|
-
const u = o.unwrapResult(o.callFunction(r, o.undefined, ...l)).consume((f) => o.dump(f));
|
|
9658
|
-
l.forEach((f) => f.dispose());
|
|
9695
|
+
const r = Ne(p, o.getProp(o.global, n));
|
|
9696
|
+
if (!r)
|
|
9697
|
+
throw new Error(`function<${n}> not available`);
|
|
9698
|
+
const l = e.map((m) => Le(o, m));
|
|
9699
|
+
const u = o.unwrapResult(o.callFunction(r, o.undefined, ...l)).consume((m) => o.dump(m));
|
|
9700
|
+
l.forEach((m) => m.dispose());
|
|
9659
9701
|
return u;
|
|
9660
9702
|
} catch (d) {
|
|
9661
|
-
var
|
|
9703
|
+
var f = d, c = !0;
|
|
9662
9704
|
} finally {
|
|
9663
|
-
He(p,
|
|
9705
|
+
He(p, f, c);
|
|
9664
9706
|
}
|
|
9665
9707
|
}
|
|
9666
9708
|
async callFunctionAsync(n, ...e) {
|
|
@@ -9668,24 +9710,22 @@ class xc {
|
|
|
9668
9710
|
try {
|
|
9669
9711
|
const { vm: o } = this;
|
|
9670
9712
|
if (!o)
|
|
9671
|
-
throw new Error("
|
|
9713
|
+
throw new Error("vm not available");
|
|
9672
9714
|
const i = `${n}(${e.map((h) => JSON.stringify(h)).join(", ")})`;
|
|
9673
9715
|
Ei.includes(n) || this.debugTrace(`${i}`);
|
|
9674
|
-
const r =
|
|
9675
|
-
if (!r)
|
|
9676
|
-
|
|
9677
|
-
|
|
9678
|
-
}
|
|
9679
|
-
const l = e.map((h) => Pe(o, h));
|
|
9716
|
+
const r = Ne(d, o.getProp(o.global, n));
|
|
9717
|
+
if (!r)
|
|
9718
|
+
throw new Error(`function<${n}> not available`);
|
|
9719
|
+
const l = e.map((h) => Le(o, h));
|
|
9680
9720
|
const u = o.unwrapResult(o.callFunction(r, o.undefined, ...l)).consume((h) => o.resolvePromise(h));
|
|
9681
9721
|
o.runtime.executePendingJobs();
|
|
9682
9722
|
l.map((h) => h.dispose());
|
|
9683
9723
|
const p = o.unwrapResult(await u).consume((h) => o.dump(h));
|
|
9684
9724
|
return p;
|
|
9685
|
-
} catch (
|
|
9686
|
-
var c =
|
|
9725
|
+
} catch (f) {
|
|
9726
|
+
var c = f, m = !0;
|
|
9687
9727
|
} finally {
|
|
9688
|
-
He(d, c,
|
|
9728
|
+
He(d, c, m);
|
|
9689
9729
|
}
|
|
9690
9730
|
}
|
|
9691
9731
|
//--------------------------
|
|
@@ -9695,17 +9735,15 @@ class xc {
|
|
|
9695
9735
|
associateData(n) {
|
|
9696
9736
|
this.data.value = n.value;
|
|
9697
9737
|
}
|
|
9698
|
-
getElementProperty(n, e) {
|
|
9738
|
+
async getElementProperty(n, e) {
|
|
9699
9739
|
const o = this.data.value?.view.nodes[n];
|
|
9700
|
-
if (!o)
|
|
9701
|
-
console.warn(
|
|
9740
|
+
if (!o)
|
|
9741
|
+
throw console.warn(
|
|
9702
9742
|
"Sandbox/getElementProperty node not found",
|
|
9703
9743
|
n,
|
|
9704
9744
|
e
|
|
9705
|
-
);
|
|
9706
|
-
|
|
9707
|
-
}
|
|
9708
|
-
return Le(o, e);
|
|
9745
|
+
), new Error("node not found");
|
|
9746
|
+
return ze(o, e);
|
|
9709
9747
|
}
|
|
9710
9748
|
async setElementProperty(n, e, o) {
|
|
9711
9749
|
const i = this.data.value?.view.nodes[n];
|
|
@@ -9716,7 +9754,7 @@ class xc {
|
|
|
9716
9754
|
e,
|
|
9717
9755
|
o
|
|
9718
9756
|
), new Error("node not found");
|
|
9719
|
-
const r =
|
|
9757
|
+
const r = ze(i, e);
|
|
9720
9758
|
ye(o, r) || (yn(i, e, o), this.hooks.onElementPropertyChange(
|
|
9721
9759
|
i.basic.id,
|
|
9722
9760
|
e,
|
|
@@ -9727,7 +9765,7 @@ class xc {
|
|
|
9727
9765
|
//--------------------------
|
|
9728
9766
|
// 元素插槽属性
|
|
9729
9767
|
//--------------------------
|
|
9730
|
-
getElementSlotProperty(n) {
|
|
9768
|
+
async getElementSlotProperty(n) {
|
|
9731
9769
|
const { slotKey: e, propertyKey: o } = Pi(n), i = { value: void 0 };
|
|
9732
9770
|
return this.eventBus.emit(
|
|
9733
9771
|
un(
|
|
@@ -9756,7 +9794,7 @@ class xc {
|
|
|
9756
9794
|
resetCustomProperties() {
|
|
9757
9795
|
this.customProperties = {};
|
|
9758
9796
|
}
|
|
9759
|
-
getCustomProperty(n) {
|
|
9797
|
+
async getCustomProperty(n) {
|
|
9760
9798
|
return this.customProperties[n];
|
|
9761
9799
|
}
|
|
9762
9800
|
async setCustomProperty(n, e) {
|
|
@@ -9770,7 +9808,7 @@ class xc {
|
|
|
9770
9808
|
resetCustomSlotProperties() {
|
|
9771
9809
|
this.customSlotProperties = {};
|
|
9772
9810
|
}
|
|
9773
|
-
getCustomSlotProperty(n) {
|
|
9811
|
+
async getCustomSlotProperty(n) {
|
|
9774
9812
|
return this.customSlotProperties[n];
|
|
9775
9813
|
}
|
|
9776
9814
|
async setCustomSlotProperty(n, e) {
|
|
@@ -9805,10 +9843,10 @@ class xc {
|
|
|
9805
9843
|
}
|
|
9806
9844
|
}
|
|
9807
9845
|
function Ce(t, n, e, o, i) {
|
|
9808
|
-
const r = oc(), l = sc(), u = ie(), p =
|
|
9809
|
-
if (!
|
|
9846
|
+
const r = oc(), l = sc(), u = ie(), p = Ee(), d = je(), f = it(), c = lc();
|
|
9847
|
+
if (!No(u))
|
|
9810
9848
|
return;
|
|
9811
|
-
const
|
|
9849
|
+
const m = new xc(
|
|
9812
9850
|
n,
|
|
9813
9851
|
e,
|
|
9814
9852
|
o,
|
|
@@ -9825,21 +9863,21 @@ function Ce(t, n, e, o, i) {
|
|
|
9825
9863
|
onStateChange: w
|
|
9826
9864
|
}
|
|
9827
9865
|
);
|
|
9828
|
-
ac(
|
|
9829
|
-
|
|
9866
|
+
ac(m), we(() => {
|
|
9867
|
+
m.dispose();
|
|
9830
9868
|
});
|
|
9831
9869
|
const h = async () => {
|
|
9832
|
-
|
|
9870
|
+
m.destroyVm(), m.associateData(t), m.resetCustomProperties(), m.resetCustomSlotProperties(), m.resetStates(), !(!t.value || !t.value.code.script) && await m.createVm(c, t.value.code.script);
|
|
9833
9871
|
};
|
|
9834
9872
|
h(), ue(t, () => {
|
|
9835
9873
|
h();
|
|
9836
9874
|
}), ue(
|
|
9837
9875
|
d,
|
|
9838
9876
|
async (v, V) => {
|
|
9839
|
-
if (!
|
|
9877
|
+
if (!m.vm)
|
|
9840
9878
|
return;
|
|
9841
9879
|
const z = ft(v.width), H = ft(V?.width ?? v.width);
|
|
9842
|
-
await
|
|
9880
|
+
await m.callFunctionAsync(
|
|
9843
9881
|
"__triggerEventV1__",
|
|
9844
9882
|
re("elementEvent", "globality", "screenSizeChange"),
|
|
9845
9883
|
"",
|
|
@@ -9849,9 +9887,9 @@ function Ce(t, n, e, o, i) {
|
|
|
9849
9887
|
},
|
|
9850
9888
|
{ immediate: !0 }
|
|
9851
9889
|
), ue(
|
|
9852
|
-
|
|
9890
|
+
f,
|
|
9853
9891
|
async (v) => {
|
|
9854
|
-
|
|
9892
|
+
m.vm && await m.callFunctionAsync(
|
|
9855
9893
|
"__triggerEventV1__",
|
|
9856
9894
|
re("elementEvent", "globality", "darkModeChange"),
|
|
9857
9895
|
"",
|
|
@@ -9861,20 +9899,20 @@ function Ce(t, n, e, o, i) {
|
|
|
9861
9899
|
{ immediate: !0 }
|
|
9862
9900
|
);
|
|
9863
9901
|
async function y(v, V, z, H) {
|
|
9864
|
-
if (
|
|
9902
|
+
if (m.vm) {
|
|
9865
9903
|
if (ye(V, ["settings", "slot"])) {
|
|
9866
9904
|
const O = t.value?.view.nodeLites.find(
|
|
9867
|
-
(
|
|
9905
|
+
(j) => j.id === v
|
|
9868
9906
|
);
|
|
9869
9907
|
O ? O.slotId = z : console.assert(!1);
|
|
9870
9908
|
}
|
|
9871
9909
|
if (ye(V, ["settings", "comp"])) {
|
|
9872
9910
|
const O = t.value?.view.nodeLites.find(
|
|
9873
|
-
(
|
|
9911
|
+
(j) => j.id === v
|
|
9874
9912
|
);
|
|
9875
9913
|
O ? O.compId = z : console.assert(!1);
|
|
9876
9914
|
}
|
|
9877
|
-
if (await
|
|
9915
|
+
if (await m.callFunctionAsync(
|
|
9878
9916
|
"__triggerEventV1__",
|
|
9879
9917
|
re("elementPropertyChangeEvent", v, V.join(".")),
|
|
9880
9918
|
"",
|
|
@@ -9883,7 +9921,7 @@ function Ce(t, n, e, o, i) {
|
|
|
9883
9921
|
), t.value?.code.reactivity) {
|
|
9884
9922
|
let O = "";
|
|
9885
9923
|
V instanceof Array ? O = V.join(".") : O = V, dt(
|
|
9886
|
-
|
|
9924
|
+
m,
|
|
9887
9925
|
t.value.code.reactivity,
|
|
9888
9926
|
Je({
|
|
9889
9927
|
type: "elementProperty",
|
|
@@ -9897,7 +9935,7 @@ function Ce(t, n, e, o, i) {
|
|
|
9897
9935
|
}
|
|
9898
9936
|
}
|
|
9899
9937
|
async function g(v, V, z, H, O) {
|
|
9900
|
-
|
|
9938
|
+
m.vm && console.log(
|
|
9901
9939
|
"onElementSlotPropertyChange",
|
|
9902
9940
|
v,
|
|
9903
9941
|
V,
|
|
@@ -9907,30 +9945,30 @@ function Ce(t, n, e, o, i) {
|
|
|
9907
9945
|
);
|
|
9908
9946
|
}
|
|
9909
9947
|
async function _(v, V, z) {
|
|
9910
|
-
|
|
9948
|
+
m.vm && (await m.callFunctionAsync(
|
|
9911
9949
|
"__triggerEventV1__",
|
|
9912
9950
|
re("customPropertyChangeEvent", "globality", v),
|
|
9913
9951
|
"",
|
|
9914
9952
|
V,
|
|
9915
9953
|
z ?? V
|
|
9916
|
-
), await
|
|
9954
|
+
), await m.parent.callFunctionAsync(
|
|
9917
9955
|
"__triggerEventV1__",
|
|
9918
|
-
re("refPropertyChangeEvent",
|
|
9956
|
+
re("refPropertyChangeEvent", m.nodeId, v),
|
|
9919
9957
|
"",
|
|
9920
9958
|
V,
|
|
9921
9959
|
z ?? V
|
|
9922
|
-
), await
|
|
9960
|
+
), await m.parent.callFunctionAsync(
|
|
9923
9961
|
"__triggerEventV1__",
|
|
9924
9962
|
re(
|
|
9925
9963
|
"multipleRefPropertyChangeEvent",
|
|
9926
|
-
|
|
9964
|
+
m.nodeId,
|
|
9927
9965
|
v
|
|
9928
9966
|
),
|
|
9929
9967
|
"",
|
|
9930
9968
|
V,
|
|
9931
9969
|
z ?? V
|
|
9932
9970
|
), t.value?.code.reactivity && dt(
|
|
9933
|
-
|
|
9971
|
+
m,
|
|
9934
9972
|
t.value.code.reactivity,
|
|
9935
9973
|
Je({ type: "customProperty", propertyId: v }),
|
|
9936
9974
|
V,
|
|
@@ -9938,8 +9976,8 @@ function Ce(t, n, e, o, i) {
|
|
|
9938
9976
|
));
|
|
9939
9977
|
}
|
|
9940
9978
|
async function $(v, V, z) {
|
|
9941
|
-
|
|
9942
|
-
|
|
9979
|
+
m.vm && t.value?.code.reactivity && dt(
|
|
9980
|
+
m,
|
|
9943
9981
|
t.value.code.reactivity,
|
|
9944
9982
|
Je({ type: "customSlotProperty", propertyId: v }),
|
|
9945
9983
|
V,
|
|
@@ -9947,14 +9985,14 @@ function Ce(t, n, e, o, i) {
|
|
|
9947
9985
|
);
|
|
9948
9986
|
}
|
|
9949
9987
|
async function w(v, V, z) {
|
|
9950
|
-
|
|
9988
|
+
m.vm && (await m.callFunctionAsync(
|
|
9951
9989
|
"__triggerEventV1__",
|
|
9952
9990
|
re("stateChangeEvent", "globality", v),
|
|
9953
9991
|
"",
|
|
9954
9992
|
V,
|
|
9955
9993
|
z ?? V
|
|
9956
9994
|
), t.value?.code.reactivity && dt(
|
|
9957
|
-
|
|
9995
|
+
m,
|
|
9958
9996
|
t.value.code.reactivity,
|
|
9959
9997
|
Je({ type: "state", stateId: v }),
|
|
9960
9998
|
V,
|
|
@@ -9981,15 +10019,15 @@ export {
|
|
|
9981
10019
|
$a as badgeV1,
|
|
9982
10020
|
Bt as barChartV1,
|
|
9983
10021
|
Ut as boxGeometryV1,
|
|
9984
|
-
|
|
10022
|
+
Ni as breakpoints,
|
|
9985
10023
|
Ea as btnGroupV1,
|
|
9986
10024
|
za as btnToggleV1,
|
|
9987
10025
|
Wt as btnV1,
|
|
9988
10026
|
ft as calcBreakpoint,
|
|
9989
10027
|
Ye as cardV1,
|
|
9990
10028
|
Aa as checkboxV1,
|
|
9991
|
-
|
|
9992
|
-
|
|
10029
|
+
Ft as chipGroupV1,
|
|
10030
|
+
Kt as chipV1,
|
|
9993
10031
|
Ma as colorPickerV1,
|
|
9994
10032
|
Ba as comboboxV1,
|
|
9995
10033
|
Rc as compMetaStringify,
|
|
@@ -9998,19 +10036,19 @@ export {
|
|
|
9998
10036
|
Ac as dataStringify,
|
|
9999
10037
|
Ra as dataTableV1,
|
|
10000
10038
|
Wa as datePickerV1,
|
|
10001
|
-
|
|
10039
|
+
Ka as dialogV1,
|
|
10002
10040
|
aa as directionalLightV1,
|
|
10003
10041
|
ic as duplicateNodePair,
|
|
10004
10042
|
Gc as duplicateNodePairs,
|
|
10005
|
-
|
|
10006
|
-
|
|
10007
|
-
|
|
10043
|
+
Kc as elementKeys,
|
|
10044
|
+
Pe as elements,
|
|
10045
|
+
jc as fileInputV1,
|
|
10008
10046
|
Ot as flexLayoutEntryV1,
|
|
10009
10047
|
Ze as flexLayoutV1,
|
|
10010
10048
|
Ht as formV1,
|
|
10011
10049
|
A as genId,
|
|
10012
10050
|
Ge as getBreakpointProp,
|
|
10013
|
-
|
|
10051
|
+
ze as getField,
|
|
10014
10052
|
pt as getImplementMethodName,
|
|
10015
10053
|
zn as getIndexOfBreakpoint,
|
|
10016
10054
|
Hc as getNodeLite,
|
|
@@ -10026,7 +10064,7 @@ export {
|
|
|
10026
10064
|
it as injectDark,
|
|
10027
10065
|
ae as injectData,
|
|
10028
10066
|
rc as injectDepends,
|
|
10029
|
-
|
|
10067
|
+
je as injectDevice,
|
|
10030
10068
|
sc as injectEnv,
|
|
10031
10069
|
Ie as injectId,
|
|
10032
10070
|
ie as injectMode,
|
|
@@ -10034,9 +10072,9 @@ export {
|
|
|
10034
10072
|
oc as injectOrg,
|
|
10035
10073
|
lc as injectRuntime,
|
|
10036
10074
|
oe as injectSandbox,
|
|
10037
|
-
|
|
10075
|
+
Ee as injectType,
|
|
10038
10076
|
tt as isCircularReference,
|
|
10039
|
-
|
|
10077
|
+
No as isExecutableMode,
|
|
10040
10078
|
Jo as isLocaleOfEventKind,
|
|
10041
10079
|
Go as isLocaleOfMethodKind,
|
|
10042
10080
|
Ho as isLocaleOfPropertyKind,
|
|
@@ -10096,12 +10134,12 @@ export {
|
|
|
10096
10134
|
ba as referenceV1,
|
|
10097
10135
|
C as regElement,
|
|
10098
10136
|
ha as renderSwitchV1,
|
|
10099
|
-
|
|
10137
|
+
jo as reverseBreakpoints,
|
|
10100
10138
|
eu as selectV1,
|
|
10101
10139
|
yn as setField,
|
|
10102
10140
|
tu as sliderV1,
|
|
10103
10141
|
ga as slotV1,
|
|
10104
|
-
|
|
10142
|
+
Nc as spawnNode,
|
|
10105
10143
|
Mt as sphereGeometryV1,
|
|
10106
10144
|
ca as spotLightV1,
|
|
10107
10145
|
Xt as stepperHeaderV1,
|
|
@@ -10112,7 +10150,7 @@ export {
|
|
|
10112
10150
|
ru as switchV1,
|
|
10113
10151
|
tn as tabV1,
|
|
10114
10152
|
nn as tabsV1,
|
|
10115
|
-
|
|
10153
|
+
Nt as textFieldV1,
|
|
10116
10154
|
Ae as textV1,
|
|
10117
10155
|
on as textareaV1,
|
|
10118
10156
|
sn as timelineItemV1,
|
|
@@ -10120,7 +10158,7 @@ export {
|
|
|
10120
10158
|
Oc as toEventName,
|
|
10121
10159
|
Dc as toMethodName,
|
|
10122
10160
|
U as toNodeLite,
|
|
10123
|
-
|
|
10161
|
+
Fc as toPropertyName,
|
|
10124
10162
|
dt as triggerReactivity,
|
|
10125
10163
|
pc as unwrapEventId,
|
|
10126
10164
|
dd as unwrapEventKeyOfCustomSlot,
|