x-runtime-lib 0.8.146 → 0.8.148
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 +463 -436
- package/dist/sandbox/sandbox/index.d.ts +2 -2
- package/dist/sandbox/sandbox/initCode.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var xn = (t, n) => (n = Symbol[t]) ? n : /* @__PURE__ */ Symbol.for("Symbol." + t), kn = (t) => {
|
|
2
2
|
throw TypeError(t);
|
|
3
3
|
};
|
|
4
|
-
var
|
|
4
|
+
var me = (t, n, e) => {
|
|
5
5
|
if (n != null) {
|
|
6
6
|
typeof n != "object" && typeof n != "function" && kn("Object expected");
|
|
7
7
|
var o, s;
|
|
@@ -29,10 +29,10 @@ var $e = (t, n, e) => {
|
|
|
29
29
|
};
|
|
30
30
|
return i();
|
|
31
31
|
};
|
|
32
|
-
import { defineComponent as $, createElementBlock as te, createCommentVNode as se, unref as r, openBlock as k, createElementVNode as Re, computed as w, renderSlot as F, normalizeStyle as
|
|
33
|
-
import { globalObjects as
|
|
32
|
+
import { defineComponent as $, createElementBlock as te, createCommentVNode as se, unref as r, openBlock as k, createElementVNode as Re, computed as w, renderSlot as F, normalizeStyle as fe, ref as ie, watch as de, onUnmounted as Ie, onBeforeMount as ni, watchEffect as ke, createVNode as D, createBlock as C, useTemplateRef as wo, onMounted as Io, nextTick as on, withCtx as P, resolveComponent as B, isRef as ne, h as K, createSlots as sn, renderList as oi, useId as $o, withModifiers as ii, normalizeClass as si, toDisplayString as So, useAttrs as bt, inject as ye, provide as be, readonly as rn } from "vue";
|
|
33
|
+
import { globalObjects as _e, waitUtil as Co, useViewStack as Vo, eventBus as Po, messageInfo as ri, messageSuccess as li, messageWarning as Lo, messageError as zo, createAxios as ai, openConfirmDlg as ci, openPromptDlg as ui } from "x-essential-lib";
|
|
34
34
|
import { CameraHelper as To, DirectionalLightHelper as mi, PointLightHelper as pi, SpotLightHelper as di } from "three";
|
|
35
|
-
import { i as
|
|
35
|
+
import { i as pe, c as qe, K as fi, M as yi, O as bi, u as gi, r as Eo, e as Ao, a as hi, b as _i, d as vi, f as xi, g as ki, h as wi, j as Ii, k as $i, l as Mo, m as O, H as Si, n as Ci, o as Vi, p as Pi, q as Li } from "./vendor.m8tdmh16.js";
|
|
36
36
|
import { useTheme as zi } from "vuetify";
|
|
37
37
|
import { getErrorMessage as Ti } from "x-error-lib";
|
|
38
38
|
const wn = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
|
|
@@ -312,11 +312,11 @@ const wu = [
|
|
|
312
312
|
"scene_sphere_geometry_v1",
|
|
313
313
|
"scene_spot_light_v1"
|
|
314
314
|
];
|
|
315
|
-
function
|
|
316
|
-
return t.map((n) =>
|
|
315
|
+
function N(...t) {
|
|
316
|
+
return t.map((n) => _e.i18n.global.t(`x-runtime-lib.${n}`)).join(" - ");
|
|
317
317
|
}
|
|
318
318
|
function cn(t, n, e) {
|
|
319
|
-
const { i18n: o } =
|
|
319
|
+
const { i18n: o } = _e;
|
|
320
320
|
let s = "";
|
|
321
321
|
return t && (s += t + " / "), n.forEach((i, l) => {
|
|
322
322
|
l > 0 && (s += " - "), e ? s += o.global.t(i) : s += i;
|
|
@@ -324,15 +324,15 @@ function cn(t, n, e) {
|
|
|
324
324
|
}
|
|
325
325
|
function Iu(t, n) {
|
|
326
326
|
let e = "";
|
|
327
|
-
return t === "elementProperty" || (t === "refProperty" || t === "multipleRefProperty" ? e =
|
|
327
|
+
return t === "elementProperty" || (t === "refProperty" || t === "multipleRefProperty" ? e = N("reference") : t === "slotProperty" || t === "multipleSlotProperty" ? e = N("slot") : t === "customProperty" ? e = N("custom") : t === "adaptSlotElementProperty" || t === "adaptSlotCustomProperty" ? e = N("adaptSlot") : console.assert(!1)), cn(e, n, Wi(t));
|
|
328
328
|
}
|
|
329
329
|
function $u(t, n) {
|
|
330
330
|
let e = "";
|
|
331
|
-
return t === "elementMethod" || (t === "refMethod" || t === "multipleRefMethod" ? e =
|
|
331
|
+
return t === "elementMethod" || (t === "refMethod" || t === "multipleRefMethod" ? e = N("reference") : t === "slotMethod" || t === "multipleSlotMethod" ? e = N("slot") : t === "customMethod" ? e = N("custom") : t === "adaptSlotElementMethod" || t === "adaptSlotCustomMethod" ? e = N("adaptSlot") : console.assert(!1)), cn(e, n, Bi(t));
|
|
332
332
|
}
|
|
333
333
|
function Su(t, n) {
|
|
334
334
|
let e = "";
|
|
335
|
-
return t === "elementEvent" || (t === "elementPropertyChangeEvent" ? e =
|
|
335
|
+
return t === "elementEvent" || (t === "elementPropertyChangeEvent" ? e = N("propertyChange") : t === "refEvent" ? e = N("reference") : t === "refPropertyChangeEvent" ? e = N("reference", "propertyChange") : t === "multipleRefEvent" ? e = N("reference") : t === "multipleRefPropertyChangeEvent" ? e = N("reference", "propertyChange") : t === "slotEvent" ? e = N("slot") : t === "slotPropertyChangeEvent" ? e = N("slot", "propertyChange") : t === "multipleSlotEvent" ? e = N("slot") : t === "multipleSlotPropertyChangeEvent" ? 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)), cn(e, n, Ri(t));
|
|
336
336
|
}
|
|
337
337
|
const Ki = ["position", "ratation", "scale"], Ke = /* @__PURE__ */ $({
|
|
338
338
|
__name: "index",
|
|
@@ -379,12 +379,12 @@ const Ki = ["position", "ratation", "scale"], Ke = /* @__PURE__ */ $({
|
|
|
379
379
|
}));
|
|
380
380
|
return (s, i) => r(n) === "editor" ? (k(), te("div", {
|
|
381
381
|
key: 0,
|
|
382
|
-
style:
|
|
382
|
+
style: fe(e.value)
|
|
383
383
|
}, [
|
|
384
384
|
F(s.$slots, "default"),
|
|
385
385
|
t.mask ? (k(), te("div", {
|
|
386
386
|
key: 0,
|
|
387
|
-
style:
|
|
387
|
+
style: fe(o.value)
|
|
388
388
|
}, null, 4)) : se("", !0)
|
|
389
389
|
], 4)) : F(s.$slots, "default", { key: 1 });
|
|
390
390
|
}
|
|
@@ -395,23 +395,23 @@ function Di(t) {
|
|
|
395
395
|
console.log(`<${i}>`, ...e);
|
|
396
396
|
} };
|
|
397
397
|
}
|
|
398
|
-
function
|
|
398
|
+
function L(t) {
|
|
399
399
|
const n = re(), e = ie(n.value.view.nodes[t.nodeId]);
|
|
400
|
-
console.assert(!!e.value, `invalid node id=${t.nodeId}`),
|
|
400
|
+
console.assert(!!e.value, `invalid node id=${t.nodeId}`), de(n, () => {
|
|
401
401
|
e.value = n.value.view.nodes[t.nodeId];
|
|
402
402
|
});
|
|
403
403
|
const { debugTrace: o } = Di(e);
|
|
404
|
-
return o("created"),
|
|
404
|
+
return o("created"), Ie(() => {
|
|
405
405
|
o("destroyed");
|
|
406
406
|
}), { node: e };
|
|
407
407
|
}
|
|
408
408
|
function mt(t, n, e) {
|
|
409
|
-
const o =
|
|
409
|
+
const o = ve();
|
|
410
410
|
if (o) {
|
|
411
411
|
const s = w(() => Jc("elementMethod", t, n));
|
|
412
412
|
ni(() => {
|
|
413
413
|
o.eventBus?.on(s.value, e);
|
|
414
|
-
}),
|
|
414
|
+
}), Ie(() => {
|
|
415
415
|
o.eventBus?.off(s.value, e);
|
|
416
416
|
});
|
|
417
417
|
}
|
|
@@ -430,11 +430,11 @@ const Oi = (t, n, e, o) => {
|
|
|
430
430
|
s ? typeof o == "object" ? i = JSON.stringify(o, null, 2) : (console.assert(!1), i = "{}") : i = o, t ? t.setElementProperty(n.basic.id, e, i) : an(n, e, i);
|
|
431
431
|
};
|
|
432
432
|
function a(t, n, e) {
|
|
433
|
-
const o =
|
|
434
|
-
return
|
|
433
|
+
const o = ve(), s = ie();
|
|
434
|
+
return ke(() => {
|
|
435
435
|
s.value = Oi(o, t.value, n, e);
|
|
436
|
-
}),
|
|
437
|
-
|
|
436
|
+
}), de(s, (i, l) => {
|
|
437
|
+
pe(i, l) || Fi(o, t.value, n, s.value, e);
|
|
438
438
|
}), { property: s };
|
|
439
439
|
}
|
|
440
440
|
function ue(t) {
|
|
@@ -463,17 +463,17 @@ function ue(t) {
|
|
|
463
463
|
"rotation",
|
|
464
464
|
"z"
|
|
465
465
|
]), { property: c } = a(t, ["transform", "scale", "x"]), { property: m } = a(t, ["transform", "scale", "y"]), { property: u } = a(t, ["transform", "scale", "z"]), d = ie([0, 0, 0]), p = ie([0, 0, 0]), f = ie([1, 1, 1]);
|
|
466
|
-
return
|
|
466
|
+
return ke(() => {
|
|
467
467
|
d.value = [n.value, e.value, o.value];
|
|
468
|
-
}),
|
|
468
|
+
}), ke(() => {
|
|
469
469
|
n.value = d.value[0], e.value = d.value[1], o.value = d.value[2];
|
|
470
|
-
}),
|
|
470
|
+
}), ke(() => {
|
|
471
471
|
p.value = [s.value, i.value, l.value];
|
|
472
|
-
}),
|
|
472
|
+
}), ke(() => {
|
|
473
473
|
s.value = p.value[0], i.value = p.value[1], l.value = p.value[2];
|
|
474
|
-
}),
|
|
474
|
+
}), ke(() => {
|
|
475
475
|
f.value = [c.value, m.value, u.value];
|
|
476
|
-
}),
|
|
476
|
+
}), ke(() => {
|
|
477
477
|
c.value = f.value[0], m.value = f.value[1], u.value = f.value[2];
|
|
478
478
|
}), { position: d, rotation: p, scale: f };
|
|
479
479
|
}
|
|
@@ -563,7 +563,7 @@ function pn(t) {
|
|
|
563
563
|
}
|
|
564
564
|
return { paddingTop: n, paddingLeft: e, paddingBottom: o, paddingRight: s, applyPadding: i };
|
|
565
565
|
}
|
|
566
|
-
function
|
|
566
|
+
function ge(t, n) {
|
|
567
567
|
const e = Z(), o = Fe(), s = w(() => n.value.size?.width), i = w(() => n.value.size?.minWidth), l = w(() => n.value.size?.maxWidth), c = w(() => {
|
|
568
568
|
if (t.outer && e === "editor") {
|
|
569
569
|
const p = wt(n.value.size?.height);
|
|
@@ -599,7 +599,7 @@ const Ni = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
599
599
|
refContext: {}
|
|
600
600
|
},
|
|
601
601
|
setup(t) {
|
|
602
|
-
const n = t, { node: e } =
|
|
602
|
+
const n = t, { node: e } = L(n), o = Z(), { position: s, rotation: i, scale: l } = ue(e), { property: c } = a(e, ["settings", "bottom"]), { property: m } = a(e, ["settings", "far"]), { property: u } = a(e, ["settings", "left"]), { property: d } = a(e, ["settings", "near"]), { property: p } = a(e, ["settings", "right"]), { property: f } = a(e, ["settings", "top"]);
|
|
603
603
|
return (g, _) => (k(), te("TresOrthographicCamera", {
|
|
604
604
|
bottom: r(c),
|
|
605
605
|
far: r(m),
|
|
@@ -627,7 +627,7 @@ const Ni = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
627
627
|
refContext: {}
|
|
628
628
|
},
|
|
629
629
|
setup(t) {
|
|
630
|
-
const n = t, { node: e } =
|
|
630
|
+
const n = t, { node: e } = L(n), o = Z(), { position: s, rotation: i, scale: l } = ue(e), { property: c } = a(e, ["settings", "aspect"]), { property: m } = a(e, ["settings", "far"]), { property: u } = a(e, ["settings", "fov"]), { property: d } = a(e, ["settings", "near"]);
|
|
631
631
|
return (p, f) => (k(), te("TresPerspectiveCamera", {
|
|
632
632
|
aspect: r(c),
|
|
633
633
|
far: r(m),
|
|
@@ -671,7 +671,7 @@ const Ni = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
671
671
|
refContext: {}
|
|
672
672
|
},
|
|
673
673
|
setup(t) {
|
|
674
|
-
const n = t, { node: e } =
|
|
674
|
+
const n = t, { node: e } = L(n), { property: o } = a(e, ["settings", "depth"]), { property: s } = a(e, [
|
|
675
675
|
"settings",
|
|
676
676
|
"depthSegements"
|
|
677
677
|
]), { property: i } = a(e, ["settings", "height"]), { property: l } = a(e, [
|
|
@@ -705,7 +705,7 @@ const Ni = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
705
705
|
refContext: {}
|
|
706
706
|
},
|
|
707
707
|
setup(t) {
|
|
708
|
-
const n = t, { node: e } =
|
|
708
|
+
const n = t, { node: e } = L(n), { property: o } = a(e, [
|
|
709
709
|
"settings",
|
|
710
710
|
"heightSegments"
|
|
711
711
|
]), { property: s } = a(e, [
|
|
@@ -744,7 +744,7 @@ const Ni = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
744
744
|
refContext: {}
|
|
745
745
|
},
|
|
746
746
|
setup(t) {
|
|
747
|
-
const n = t, { node: e } =
|
|
747
|
+
const n = t, { node: e } = L(n), { position: o, rotation: s, scale: i } = ue(e), { property: l } = a(e, ["settings", "color"]), { color: c } = Q(l), { property: m } = a(e, [
|
|
748
748
|
"settings",
|
|
749
749
|
"intensity"
|
|
750
750
|
]);
|
|
@@ -767,7 +767,7 @@ const Ni = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
767
767
|
refContext: {}
|
|
768
768
|
},
|
|
769
769
|
setup(t) {
|
|
770
|
-
const n = t, { node: e } =
|
|
770
|
+
const n = t, { node: e } = L(n), o = Z(), { position: s, rotation: i, scale: l } = ue(e), { property: c } = a(e, ["settings", "color"]), { color: m } = Q(c), { property: u } = a(e, [
|
|
771
771
|
"settings",
|
|
772
772
|
"intensity"
|
|
773
773
|
]);
|
|
@@ -794,7 +794,7 @@ const Ni = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
794
794
|
refContext: {}
|
|
795
795
|
},
|
|
796
796
|
setup(t) {
|
|
797
|
-
const n = t, { node: e } =
|
|
797
|
+
const n = t, { node: e } = L(n), o = Z(), { position: s, rotation: i, scale: l } = ue(e), { property: c } = a(e, ["settings", "color"]), { color: m } = Q(c), { property: u } = a(e, ["settings", "decay"]), { property: d } = a(e, [
|
|
798
798
|
"settings",
|
|
799
799
|
"distance"
|
|
800
800
|
]), { property: p } = a(e, [
|
|
@@ -826,7 +826,7 @@ const Ni = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
826
826
|
refContext: {}
|
|
827
827
|
},
|
|
828
828
|
setup(t) {
|
|
829
|
-
const n = t, { node: e } =
|
|
829
|
+
const n = t, { node: e } = L(n), o = Z(), { position: s, rotation: i, scale: l } = ue(e), { property: c } = a(e, ["settings", "angle"]), { property: m } = a(e, ["settings", "color"]), { color: u } = Q(m), { property: d } = a(e, ["settings", "decay"]), { property: p } = a(e, [
|
|
830
830
|
"settings",
|
|
831
831
|
"distance"
|
|
832
832
|
]), { property: f } = a(e, [
|
|
@@ -867,7 +867,7 @@ const us = /* @__PURE__ */ De(as, [["render", cs]]), ms = ["position", "rotation
|
|
|
867
867
|
refContext: {}
|
|
868
868
|
},
|
|
869
869
|
setup(t) {
|
|
870
|
-
const n = t, { node: e } =
|
|
870
|
+
const n = t, { node: e } = L(n), { position: o, rotation: s, scale: i } = ue(e);
|
|
871
871
|
return (l, c) => (k(), te("TresGroup", {
|
|
872
872
|
position: r(o),
|
|
873
873
|
rotation: r(s),
|
|
@@ -884,7 +884,7 @@ const us = /* @__PURE__ */ De(as, [["render", cs]]), ms = ["position", "rotation
|
|
|
884
884
|
refContext: {}
|
|
885
885
|
},
|
|
886
886
|
setup(t) {
|
|
887
|
-
const n = t, { node: e } =
|
|
887
|
+
const n = t, { node: e } = L(n), { position: o, rotation: s, scale: i } = ue(e);
|
|
888
888
|
return (l, c) => (k(), te("TresMesh", {
|
|
889
889
|
position: r(o),
|
|
890
890
|
rotation: r(s),
|
|
@@ -974,26 +974,26 @@ const xr = /* @__PURE__ */ $({
|
|
|
974
974
|
refContext: {}
|
|
975
975
|
},
|
|
976
976
|
setup(t) {
|
|
977
|
-
const n = t, { node: e } =
|
|
978
|
-
const
|
|
979
|
-
return i === "page" ? q === "common" ? g(
|
|
980
|
-
}),
|
|
977
|
+
const n = t, { node: e } = L(n), o = Fe(), s = Ze(), i = $e(), l = re(), { width: c, minWidth: m, maxWidth: u, height: d, minHeight: p, maxHeight: f, applySize: g } = ge(n, e), { applyTitle: _ } = Ko(e), { applyXAxis: I } = Do(e), { applyYAxis: b } = Oo(e), { applyLegend: x } = Bo(e), { applySeries: h } = Ro(e), v = w(() => {
|
|
978
|
+
const z = {}, q = l.value?.type;
|
|
979
|
+
return i === "page" ? q === "common" ? g(z) : console.assert(!1) : i === "comp" && q === "common" ? g(z) : console.assert(!1), z;
|
|
980
|
+
}), V = wo("chart");
|
|
981
981
|
let T;
|
|
982
|
-
const
|
|
983
|
-
T?.dispose(), T = Ao.init(
|
|
984
|
-
const
|
|
985
|
-
T.setOption(
|
|
986
|
-
},
|
|
982
|
+
const j = () => {
|
|
983
|
+
T?.dispose(), T = Ao.init(V.value, s.value ? "dark" : "light");
|
|
984
|
+
const z = {};
|
|
985
|
+
T.setOption(z);
|
|
986
|
+
}, U = () => {
|
|
987
987
|
T?.resize();
|
|
988
|
-
},
|
|
989
|
-
const
|
|
990
|
-
_(
|
|
988
|
+
}, G = () => {
|
|
989
|
+
const z = {};
|
|
990
|
+
_(z), I(z), b(z), x(z), h(z), T?.setOption(z, !0);
|
|
991
991
|
};
|
|
992
992
|
return Io(async () => {
|
|
993
|
-
window.addEventListener("resize",
|
|
994
|
-
}),
|
|
995
|
-
window.removeEventListener("resize",
|
|
996
|
-
}),
|
|
993
|
+
window.addEventListener("resize", U, !1), await Co(() => !!V.value), j(), G();
|
|
994
|
+
}), Ie(() => {
|
|
995
|
+
window.removeEventListener("resize", U, !1), T?.dispose();
|
|
996
|
+
}), de(
|
|
997
997
|
[
|
|
998
998
|
() => o.value.width,
|
|
999
999
|
() => o.value.height,
|
|
@@ -1005,24 +1005,24 @@ const xr = /* @__PURE__ */ $({
|
|
|
1005
1005
|
f
|
|
1006
1006
|
],
|
|
1007
1007
|
async () => {
|
|
1008
|
-
await on(),
|
|
1008
|
+
await on(), U();
|
|
1009
1009
|
}
|
|
1010
|
-
),
|
|
1011
|
-
|
|
1012
|
-
}),
|
|
1010
|
+
), de([s], () => {
|
|
1011
|
+
j(), G();
|
|
1012
|
+
}), de(
|
|
1013
1013
|
[n],
|
|
1014
1014
|
() => {
|
|
1015
|
-
|
|
1015
|
+
G();
|
|
1016
1016
|
},
|
|
1017
1017
|
{ deep: !0 }
|
|
1018
|
-
), (
|
|
1018
|
+
), (z, q) => (k(), C(r(H), {
|
|
1019
1019
|
block: "",
|
|
1020
1020
|
mask: ""
|
|
1021
1021
|
}, {
|
|
1022
|
-
default:
|
|
1022
|
+
default: P(() => [
|
|
1023
1023
|
Re("div", {
|
|
1024
1024
|
ref: "chart",
|
|
1025
|
-
style:
|
|
1025
|
+
style: fe(v.value)
|
|
1026
1026
|
}, null, 4)
|
|
1027
1027
|
]),
|
|
1028
1028
|
_: 1
|
|
@@ -1036,26 +1036,26 @@ const xr = /* @__PURE__ */ $({
|
|
|
1036
1036
|
refContext: {}
|
|
1037
1037
|
},
|
|
1038
1038
|
setup(t) {
|
|
1039
|
-
const n = t, { node: e } =
|
|
1040
|
-
const
|
|
1041
|
-
return i === "page" ? q === "common" ? g(
|
|
1042
|
-
}),
|
|
1039
|
+
const n = t, { node: e } = L(n), o = Fe(), s = Ze(), i = $e(), l = re(), { width: c, minWidth: m, maxWidth: u, height: d, minHeight: p, maxHeight: f, applySize: g } = ge(n, e), { applyTitle: _ } = Ko(e), { applyXAxis: I } = Do(e), { applyYAxis: b } = Oo(e), { applyLegend: x } = Bo(e), { applySeries: h } = Ro(e), v = w(() => {
|
|
1040
|
+
const z = {}, q = l.value?.type;
|
|
1041
|
+
return i === "page" ? q === "common" ? g(z) : console.assert(!1) : i === "comp" && q === "common" ? g(z) : console.assert(!1), z;
|
|
1042
|
+
}), V = wo("chart");
|
|
1043
1043
|
let T;
|
|
1044
|
-
const
|
|
1045
|
-
T?.dispose(), T = Ao.init(
|
|
1046
|
-
const
|
|
1047
|
-
T.setOption(
|
|
1048
|
-
},
|
|
1044
|
+
const j = () => {
|
|
1045
|
+
T?.dispose(), T = Ao.init(V.value, s.value ? "dark" : "light");
|
|
1046
|
+
const z = {};
|
|
1047
|
+
T.setOption(z);
|
|
1048
|
+
}, U = () => {
|
|
1049
1049
|
T?.resize();
|
|
1050
|
-
},
|
|
1051
|
-
const
|
|
1052
|
-
_(
|
|
1050
|
+
}, G = () => {
|
|
1051
|
+
const z = {};
|
|
1052
|
+
_(z), I(z), b(z), x(z), h(z), T?.setOption(z, !0);
|
|
1053
1053
|
};
|
|
1054
1054
|
return Io(async () => {
|
|
1055
|
-
window.addEventListener("resize",
|
|
1056
|
-
}),
|
|
1057
|
-
window.removeEventListener("resize",
|
|
1058
|
-
}),
|
|
1055
|
+
window.addEventListener("resize", U, !1), await Co(() => !!V.value), j(), G();
|
|
1056
|
+
}), Ie(() => {
|
|
1057
|
+
window.removeEventListener("resize", U, !1), T?.dispose();
|
|
1058
|
+
}), de(
|
|
1059
1059
|
[
|
|
1060
1060
|
() => o.value.width,
|
|
1061
1061
|
() => o.value.height,
|
|
@@ -1067,24 +1067,24 @@ const xr = /* @__PURE__ */ $({
|
|
|
1067
1067
|
f
|
|
1068
1068
|
],
|
|
1069
1069
|
async () => {
|
|
1070
|
-
await on(),
|
|
1070
|
+
await on(), U();
|
|
1071
1071
|
}
|
|
1072
|
-
),
|
|
1073
|
-
|
|
1074
|
-
}),
|
|
1072
|
+
), de([s], () => {
|
|
1073
|
+
j(), G();
|
|
1074
|
+
}), de(
|
|
1075
1075
|
[n],
|
|
1076
1076
|
() => {
|
|
1077
|
-
|
|
1077
|
+
G();
|
|
1078
1078
|
},
|
|
1079
1079
|
{ deep: !0 }
|
|
1080
|
-
), (
|
|
1080
|
+
), (z, q) => (k(), C(r(H), {
|
|
1081
1081
|
block: "",
|
|
1082
1082
|
mask: ""
|
|
1083
1083
|
}, {
|
|
1084
|
-
default:
|
|
1084
|
+
default: P(() => [
|
|
1085
1085
|
Re("div", {
|
|
1086
1086
|
ref: "chart",
|
|
1087
|
-
style:
|
|
1087
|
+
style: fe(v.value)
|
|
1088
1088
|
}, null, 4)
|
|
1089
1089
|
]),
|
|
1090
1090
|
_: 1
|
|
@@ -1098,7 +1098,7 @@ const xr = /* @__PURE__ */ $({
|
|
|
1098
1098
|
refContext: {}
|
|
1099
1099
|
},
|
|
1100
1100
|
setup(t) {
|
|
1101
|
-
const n = t, { node: e } =
|
|
1101
|
+
const n = t, { node: e } = L(n), { property: o } = a(e, ["settings", "content"]), { property: s } = a(e, ["settings", "dot"]), { theme: i } = J(), { property: l } = a(e, [
|
|
1102
1102
|
"settings",
|
|
1103
1103
|
"offset",
|
|
1104
1104
|
"x"
|
|
@@ -1110,7 +1110,7 @@ const xr = /* @__PURE__ */ $({
|
|
|
1110
1110
|
return (m, u) => {
|
|
1111
1111
|
const d = B("v-badge");
|
|
1112
1112
|
return k(), C(r(H), null, {
|
|
1113
|
-
default:
|
|
1113
|
+
default: P(() => [
|
|
1114
1114
|
D(d, {
|
|
1115
1115
|
content: r(o),
|
|
1116
1116
|
dot: r(s),
|
|
@@ -1118,7 +1118,7 @@ const xr = /* @__PURE__ */ $({
|
|
|
1118
1118
|
"offset-y": r(c),
|
|
1119
1119
|
theme: r(i)
|
|
1120
1120
|
}, {
|
|
1121
|
-
default:
|
|
1121
|
+
default: P(() => [
|
|
1122
1122
|
F(m.$slots, "default")
|
|
1123
1123
|
]),
|
|
1124
1124
|
_: 3
|
|
@@ -1136,7 +1136,7 @@ const xr = /* @__PURE__ */ $({
|
|
|
1136
1136
|
refContext: {}
|
|
1137
1137
|
},
|
|
1138
1138
|
setup(t) {
|
|
1139
|
-
const n = t, { node: e } =
|
|
1139
|
+
const n = t, { node: e } = L(n), o = ve(), { property: s } = a(e, [
|
|
1140
1140
|
"settings",
|
|
1141
1141
|
"addIcon",
|
|
1142
1142
|
"append"
|
|
@@ -1150,7 +1150,7 @@ const xr = /* @__PURE__ */ $({
|
|
|
1150
1150
|
]), { property: x } = a(e, [
|
|
1151
1151
|
"settings",
|
|
1152
1152
|
"readonly"
|
|
1153
|
-
]), { property: h } = a(e, ["settings", "ripple"]), { property: v } = a(e, ["settings", "size"]), { property:
|
|
1153
|
+
]), { property: h } = a(e, ["settings", "ripple"]), { property: v } = a(e, ["settings", "size"]), { property: V } = a(e, ["settings", "stacked"]), { property: T } = a(e, ["settings", "text"]), { theme: j } = J(), { property: U } = a(e, ["settings", "variant"]), { property: G } = a(e, ["size", "width"]), z = (q) => {
|
|
1154
1154
|
if (!o || !o.vm)
|
|
1155
1155
|
return;
|
|
1156
1156
|
const { vm: oe } = o;
|
|
@@ -1160,13 +1160,13 @@ const xr = /* @__PURE__ */ $({
|
|
|
1160
1160
|
);
|
|
1161
1161
|
};
|
|
1162
1162
|
return (q, oe) => {
|
|
1163
|
-
const
|
|
1163
|
+
const he = B("v-btn");
|
|
1164
1164
|
return k(), C(r(H), {
|
|
1165
1165
|
block: r(i),
|
|
1166
1166
|
mask: ""
|
|
1167
1167
|
}, {
|
|
1168
|
-
default:
|
|
1169
|
-
D(
|
|
1168
|
+
default: P(() => [
|
|
1169
|
+
D(he, {
|
|
1170
1170
|
"append-icon": r(s),
|
|
1171
1171
|
block: r(i),
|
|
1172
1172
|
color: r(c),
|
|
@@ -1182,12 +1182,12 @@ const xr = /* @__PURE__ */ $({
|
|
|
1182
1182
|
readonly: r(x),
|
|
1183
1183
|
ripple: r(h),
|
|
1184
1184
|
size: r(v),
|
|
1185
|
-
stacked: r(
|
|
1185
|
+
stacked: r(V),
|
|
1186
1186
|
text: r(T),
|
|
1187
|
-
theme: r(
|
|
1188
|
-
variant: r(
|
|
1189
|
-
width: r(
|
|
1190
|
-
onClick:
|
|
1187
|
+
theme: r(j),
|
|
1188
|
+
variant: r(U),
|
|
1189
|
+
width: r(G),
|
|
1190
|
+
onClick: z
|
|
1191
1191
|
}, 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"])
|
|
1192
1192
|
]),
|
|
1193
1193
|
_: 1
|
|
@@ -1198,7 +1198,7 @@ const xr = /* @__PURE__ */ $({
|
|
|
1198
1198
|
function Sr(t, n) {
|
|
1199
1199
|
const e = B("v-btn-group");
|
|
1200
1200
|
return k(), C(e, null, {
|
|
1201
|
-
default:
|
|
1201
|
+
default: P(() => [
|
|
1202
1202
|
F(t.$slots, "default")
|
|
1203
1203
|
]),
|
|
1204
1204
|
_: 3
|
|
@@ -1212,7 +1212,7 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1212
1212
|
refContext: {}
|
|
1213
1213
|
},
|
|
1214
1214
|
setup(t) {
|
|
1215
|
-
const n = t, { node: e } =
|
|
1215
|
+
const n = t, { node: e } = L(n), { property: o } = a(e, ["settings", "block"]), { property: s } = a(e, [
|
|
1216
1216
|
"settings",
|
|
1217
1217
|
"disabled"
|
|
1218
1218
|
]), { property: i } = a(e, ["settings", "divided"]), { property: l } = a(e, [
|
|
@@ -1224,7 +1224,7 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1224
1224
|
]), { property: m } = a(e, [
|
|
1225
1225
|
"settings",
|
|
1226
1226
|
"readonly"
|
|
1227
|
-
]), { property: u } = a(e, ["settings", "size"]), { property: d } = a(e, ["settings", "stacked"]), { theme: p } =
|
|
1227
|
+
]), { property: u } = a(e, ["settings", "size"]), { property: d } = a(e, ["settings", "stacked"]), { theme: p } = J(), { property: f } = a(e, ["settings", "tile"]), { property: g } = a(e, ["settings", "variant"]);
|
|
1228
1228
|
return (_, I) => {
|
|
1229
1229
|
const b = B("v-btn-toggle");
|
|
1230
1230
|
return k(), C(b, {
|
|
@@ -1240,7 +1240,7 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1240
1240
|
tile: r(f),
|
|
1241
1241
|
variant: r(g)
|
|
1242
1242
|
}, {
|
|
1243
|
-
default:
|
|
1243
|
+
default: P(() => [
|
|
1244
1244
|
F(_.$slots, "default")
|
|
1245
1245
|
]),
|
|
1246
1246
|
_: 3
|
|
@@ -1255,18 +1255,18 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1255
1255
|
refContext: {}
|
|
1256
1256
|
},
|
|
1257
1257
|
setup(t) {
|
|
1258
|
-
const n = t, { node: e } =
|
|
1258
|
+
const n = t, { node: e } = L(n), { property: o } = a(e, ["settings", "density"]), { property: s } = a(e, [
|
|
1259
1259
|
"settings",
|
|
1260
1260
|
"disabled"
|
|
1261
1261
|
]), { property: i } = a(e, ["size", "height"]), { property: l } = a(e, ["settings", "hover"]), { property: c } = a(e, ["settings", "loading"]), { property: m } = a(e, ["size", "maxHeight"]), { property: u } = a(e, ["size", "maxWidth"]), { property: d } = a(e, ["size", "minHeight"]), { property: p } = a(e, ["size", "minWidth"]), { property: f } = a(e, [
|
|
1262
1262
|
"settings",
|
|
1263
1263
|
"subtitle"
|
|
1264
|
-
]), { property: g } = a(e, ["settings", "text"]), { theme: _ } =
|
|
1264
|
+
]), { property: g } = a(e, ["settings", "text"]), { theme: _ } = J(), { property: I } = a(e, ["settings", "title"]), { property: b } = a(e, ["settings", "variant"]), { property: x } = a(e, ["size", "width"]);
|
|
1265
1265
|
return (h, v) => {
|
|
1266
|
-
const
|
|
1266
|
+
const V = B("v-card");
|
|
1267
1267
|
return k(), C(r(H), { block: "" }, {
|
|
1268
|
-
default:
|
|
1269
|
-
D(
|
|
1268
|
+
default: P(() => [
|
|
1269
|
+
D(V, {
|
|
1270
1270
|
density: r(o),
|
|
1271
1271
|
disabled: r(s),
|
|
1272
1272
|
height: r(i),
|
|
@@ -1283,7 +1283,7 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1283
1283
|
variant: r(b),
|
|
1284
1284
|
width: r(x)
|
|
1285
1285
|
}, {
|
|
1286
|
-
default:
|
|
1286
|
+
default: P(() => [
|
|
1287
1287
|
F(h.$slots, "default")
|
|
1288
1288
|
]),
|
|
1289
1289
|
_: 3
|
|
@@ -1301,7 +1301,7 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1301
1301
|
refContext: {}
|
|
1302
1302
|
},
|
|
1303
1303
|
setup(t) {
|
|
1304
|
-
const n = t, { node: e } =
|
|
1304
|
+
const n = t, { node: e } = L(n), { property: o } = a(e, [
|
|
1305
1305
|
"settings",
|
|
1306
1306
|
"disabled"
|
|
1307
1307
|
]), { property: s } = a(e, [
|
|
@@ -1311,7 +1311,7 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1311
1311
|
return (i, l) => {
|
|
1312
1312
|
const c = B("v-checkbox");
|
|
1313
1313
|
return k(), C(r(H), { mask: "" }, {
|
|
1314
|
-
default:
|
|
1314
|
+
default: P(() => [
|
|
1315
1315
|
D(c, {
|
|
1316
1316
|
disabled: r(o),
|
|
1317
1317
|
readonly: r(s)
|
|
@@ -1329,7 +1329,7 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1329
1329
|
refContext: {}
|
|
1330
1330
|
},
|
|
1331
1331
|
setup(t) {
|
|
1332
|
-
const n = t, { node: e } =
|
|
1332
|
+
const n = t, { node: e } = L(n), { property: o } = a(e, [
|
|
1333
1333
|
"settings",
|
|
1334
1334
|
"closable"
|
|
1335
1335
|
]), { property: s } = a(e, ["settings", "color"]), { color: i } = Q(s), { property: l } = a(e, ["settings", "density"]), { property: c } = a(e, [
|
|
@@ -1338,11 +1338,11 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1338
1338
|
]), { property: m } = a(e, [
|
|
1339
1339
|
"settings",
|
|
1340
1340
|
"draggable"
|
|
1341
|
-
]), { property: u } = a(e, ["settings", "filter"]), { property: d } = a(e, ["settings", "label"]), { property: p } = a(e, ["settings", "size"]), { property: f } = a(e, ["settings", "text"]), { theme: g } =
|
|
1341
|
+
]), { property: u } = a(e, ["settings", "filter"]), { property: d } = a(e, ["settings", "label"]), { property: p } = a(e, ["settings", "size"]), { property: f } = a(e, ["settings", "text"]), { theme: g } = J(), { property: _ } = a(e, ["settings", "tile"]), { property: I } = a(e, ["settings", "value"]), { property: b } = a(e, ["settings", "variant"]);
|
|
1342
1342
|
return (x, h) => {
|
|
1343
1343
|
const v = B("v-chip");
|
|
1344
1344
|
return k(), C(r(H), { mask: "" }, {
|
|
1345
|
-
default:
|
|
1345
|
+
default: P(() => [
|
|
1346
1346
|
D(v, {
|
|
1347
1347
|
closable: r(o),
|
|
1348
1348
|
color: r(i),
|
|
@@ -1371,7 +1371,7 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1371
1371
|
refContext: {}
|
|
1372
1372
|
},
|
|
1373
1373
|
setup(t) {
|
|
1374
|
-
const n = t, { node: e } =
|
|
1374
|
+
const n = t, { node: e } = L(n), { property: o } = a(e, ["settings", "column"]), { property: s } = a(e, [
|
|
1375
1375
|
"settings",
|
|
1376
1376
|
"direction"
|
|
1377
1377
|
]), { property: i } = a(e, [
|
|
@@ -1386,7 +1386,7 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1386
1386
|
]), { property: u } = a(e, [
|
|
1387
1387
|
"settings",
|
|
1388
1388
|
"showArrows"
|
|
1389
|
-
]), { theme: d } =
|
|
1389
|
+
]), { theme: d } = J(), { property: p } = a(e, ["settings", "value"]);
|
|
1390
1390
|
return (f, g) => {
|
|
1391
1391
|
const _ = B("v-chip-group");
|
|
1392
1392
|
return k(), C(_, {
|
|
@@ -1401,7 +1401,7 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1401
1401
|
"show-arrows": r(u),
|
|
1402
1402
|
theme: r(d)
|
|
1403
1403
|
}, {
|
|
1404
|
-
default:
|
|
1404
|
+
default: P(() => [
|
|
1405
1405
|
F(f.$slots, "default")
|
|
1406
1406
|
]),
|
|
1407
1407
|
_: 3
|
|
@@ -1416,7 +1416,7 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1416
1416
|
refContext: {}
|
|
1417
1417
|
},
|
|
1418
1418
|
setup(t) {
|
|
1419
|
-
const n = t, { node: e } =
|
|
1419
|
+
const n = t, { node: e } = L(n), o = $e(), s = re(), { applySize: i } = ge(n, e), l = w(() => {
|
|
1420
1420
|
const I = {}, b = s.value?.type;
|
|
1421
1421
|
return o === "page" ? b === "common" ? i(I) : console.assert(!1) : o === "comp" && b === "common" ? i(I) : console.assert(!1), I;
|
|
1422
1422
|
}), { property: c } = a(e, [
|
|
@@ -1440,11 +1440,11 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1440
1440
|
]), { property: g } = a(e, [
|
|
1441
1441
|
"settings",
|
|
1442
1442
|
"showSwatches"
|
|
1443
|
-
]), { theme: _ } =
|
|
1443
|
+
]), { theme: _ } = J();
|
|
1444
1444
|
return (I, b) => {
|
|
1445
1445
|
const x = B("v-color-picker");
|
|
1446
1446
|
return k(), C(r(H), { mask: "" }, {
|
|
1447
|
-
default:
|
|
1447
|
+
default: P(() => [
|
|
1448
1448
|
D(x, {
|
|
1449
1449
|
disabled: r(c),
|
|
1450
1450
|
"hide-canvas": r(m),
|
|
@@ -1453,7 +1453,7 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1453
1453
|
"hide-sliders": r(p),
|
|
1454
1454
|
landscape: r(f),
|
|
1455
1455
|
"show-swatches": r(g),
|
|
1456
|
-
style:
|
|
1456
|
+
style: fe(l.value),
|
|
1457
1457
|
theme: r(_)
|
|
1458
1458
|
}, null, 8, ["disabled", "hide-canvas", "hide-header", "hide-inputs", "hide-sliders", "landscape", "show-swatches", "style", "theme"])
|
|
1459
1459
|
]),
|
|
@@ -1469,7 +1469,7 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1469
1469
|
refContext: {}
|
|
1470
1470
|
},
|
|
1471
1471
|
setup(t) {
|
|
1472
|
-
const n = t, { node: e } =
|
|
1472
|
+
const n = t, { node: e } = L(n), { property: o } = a(e, [
|
|
1473
1473
|
"settings",
|
|
1474
1474
|
"hideDetails"
|
|
1475
1475
|
]), { property: s } = a(e, ["settings", "label"]), { property: i } = a(e, [
|
|
@@ -1481,11 +1481,11 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1481
1481
|
]), { property: c } = a(e, [
|
|
1482
1482
|
"settings",
|
|
1483
1483
|
"singleLine"
|
|
1484
|
-
]), { theme: m } =
|
|
1484
|
+
]), { theme: m } = J(), { property: u } = a(e, ["settings", "value"]);
|
|
1485
1485
|
return (d, p) => {
|
|
1486
1486
|
const f = B("v-combobox");
|
|
1487
1487
|
return k(), C(r(H), { mask: "" }, {
|
|
1488
|
-
default:
|
|
1488
|
+
default: P(() => [
|
|
1489
1489
|
D(f, {
|
|
1490
1490
|
modelValue: r(u),
|
|
1491
1491
|
"onUpdate:modelValue": p[0] || (p[0] = (g) => ne(u) ? u.value = g : null),
|
|
@@ -1509,17 +1509,17 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1509
1509
|
refContext: {}
|
|
1510
1510
|
},
|
|
1511
1511
|
setup(t) {
|
|
1512
|
-
const n = t, { node: e } =
|
|
1512
|
+
const n = t, { node: e } = L(n), o = $e(), s = re(), { property: i } = a(e, [
|
|
1513
1513
|
"settings",
|
|
1514
1514
|
"backgroundColor"
|
|
1515
|
-
]), { color: l } = Q(i), { applySize: c } =
|
|
1515
|
+
]), { color: l } = Q(i), { applySize: c } = ge(n, e), { applyMargin: m } = mn(e), { applyPadding: u } = pn(e), { applyBorder: d } = un(e), p = w(() => {
|
|
1516
1516
|
const f = {}, g = s.value?.type;
|
|
1517
1517
|
return o === "page" ? g === "common" ? (c(f), m(f), u(f), d(f), l.value && (f.backgroundColor = l.value)) : console.assert(!1) : o === "comp" && g === "common" ? (c(f), m(f), u(f), d(f), l.value && (f.backgroundColor = l.value)) : console.assert(!1), f;
|
|
1518
1518
|
});
|
|
1519
1519
|
return (f, g) => (k(), C(r(H), { block: "" }, {
|
|
1520
|
-
default:
|
|
1520
|
+
default: P(() => [
|
|
1521
1521
|
Re("div", {
|
|
1522
|
-
style:
|
|
1522
|
+
style: fe(p.value)
|
|
1523
1523
|
}, [
|
|
1524
1524
|
F(f.$slots, "default")
|
|
1525
1525
|
], 4)
|
|
@@ -1538,9 +1538,9 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1538
1538
|
const n = t, e = Z(), o = Qe(), s = ie();
|
|
1539
1539
|
Le(s);
|
|
1540
1540
|
const i = w(() => n.refContext.compId);
|
|
1541
|
-
et(i, s), le(e) && tt(s, "slot", "", "",
|
|
1541
|
+
et(i, s), le(e) && tt(s, "slot", "", "", ve());
|
|
1542
1542
|
function l(m) {
|
|
1543
|
-
const u =
|
|
1543
|
+
const u = we[m.key];
|
|
1544
1544
|
if (!u) {
|
|
1545
1545
|
console.assert(!1, `element not found key=${m.key}`);
|
|
1546
1546
|
return;
|
|
@@ -1566,7 +1566,7 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1566
1566
|
);
|
|
1567
1567
|
}
|
|
1568
1568
|
const c = () => {
|
|
1569
|
-
const { i18n: m } =
|
|
1569
|
+
const { i18n: m } = _e;
|
|
1570
1570
|
if (Ye(n.refContext, o))
|
|
1571
1571
|
return K("div", null, m.global.t("x-runtime-lib.circularReference"));
|
|
1572
1572
|
if (!s.value)
|
|
@@ -1588,7 +1588,7 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1588
1588
|
refContext: {}
|
|
1589
1589
|
},
|
|
1590
1590
|
setup(t) {
|
|
1591
|
-
const n = t, { node: e } =
|
|
1591
|
+
const n = t, { node: e } = L(n), { property: o } = a(e, ["settings", "density"]), { property: s } = a(e, [
|
|
1592
1592
|
"settings",
|
|
1593
1593
|
"fixedFooter"
|
|
1594
1594
|
]), { property: i } = a(e, [
|
|
@@ -1597,14 +1597,14 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1597
1597
|
]), { property: l } = a(e, ["settings", "headers"]), { property: c } = a(e, ["size", "height"]), { property: m } = a(e, ["settings", "hover"]), { property: u } = a(e, ["settings", "data"], !0), { property: d } = a(e, ["settings", "loading"]), { property: p } = a(e, [
|
|
1598
1598
|
"settings",
|
|
1599
1599
|
"multiSort"
|
|
1600
|
-
]), { theme: f } =
|
|
1600
|
+
]), { theme: f } = J(), { property: g } = a(e, ["size", "width"]), { property: _ } = a(e, ["slots", "columns"]);
|
|
1601
1601
|
return (I, b) => {
|
|
1602
1602
|
const x = B("v-data-table");
|
|
1603
1603
|
return k(), C(r(H), {
|
|
1604
1604
|
block: "",
|
|
1605
1605
|
mask: ""
|
|
1606
1606
|
}, {
|
|
1607
|
-
default:
|
|
1607
|
+
default: P(() => [
|
|
1608
1608
|
D(x, {
|
|
1609
1609
|
density: r(o),
|
|
1610
1610
|
"fixed-footer": r(s),
|
|
@@ -1620,14 +1620,14 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1620
1620
|
}, sn({ _: 2 }, [
|
|
1621
1621
|
oi(r(_), ({ key: h, comp: v }) => ({
|
|
1622
1622
|
name: `item.${h}`,
|
|
1623
|
-
fn:
|
|
1623
|
+
fn: P(({ value: V }) => [
|
|
1624
1624
|
D(Wr, {
|
|
1625
1625
|
"node-id": n.nodeId,
|
|
1626
1626
|
"ref-context": {
|
|
1627
1627
|
parent: n.refContext,
|
|
1628
1628
|
compId: v
|
|
1629
1629
|
},
|
|
1630
|
-
value:
|
|
1630
|
+
value: V
|
|
1631
1631
|
}, null, 8, ["node-id", "ref-context", "value"])
|
|
1632
1632
|
])
|
|
1633
1633
|
}))
|
|
@@ -1643,7 +1643,7 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1643
1643
|
return (n, e) => {
|
|
1644
1644
|
const o = B("v-date-picker");
|
|
1645
1645
|
return k(), C(r(H), { mask: "" }, {
|
|
1646
|
-
default:
|
|
1646
|
+
default: P(() => [
|
|
1647
1647
|
D(o)
|
|
1648
1648
|
]),
|
|
1649
1649
|
_: 1
|
|
@@ -1670,13 +1670,13 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1670
1670
|
"onUpdate:modelValue": i[0] || (i[0] = (c) => ne(o) ? o.value = c : null),
|
|
1671
1671
|
attach: "#dialogContainer"
|
|
1672
1672
|
}, {
|
|
1673
|
-
activator:
|
|
1673
|
+
activator: P(() => [
|
|
1674
1674
|
r(e) === "editor" ? (k(), te("div", {
|
|
1675
1675
|
key: 0,
|
|
1676
1676
|
id: `__node__@${n.nodeId}`
|
|
1677
1677
|
}, null, 8, Kr)) : se("", !0)
|
|
1678
1678
|
]),
|
|
1679
|
-
default:
|
|
1679
|
+
default: P(() => [
|
|
1680
1680
|
F(s.$slots, "default")
|
|
1681
1681
|
]),
|
|
1682
1682
|
_: 3
|
|
@@ -1691,7 +1691,7 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1691
1691
|
refContext: {}
|
|
1692
1692
|
},
|
|
1693
1693
|
setup(t) {
|
|
1694
|
-
const n = t, { node: e } =
|
|
1694
|
+
const n = t, { node: e } = L(n), { property: o } = a(e, ["settings", "chips"]), { property: s } = a(e, ["settings", "density"]), { property: i } = a(e, [
|
|
1695
1695
|
"settings",
|
|
1696
1696
|
"direction"
|
|
1697
1697
|
]), { property: l } = a(e, [
|
|
@@ -1713,7 +1713,7 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1713
1713
|
block: "",
|
|
1714
1714
|
mask: ""
|
|
1715
1715
|
}, {
|
|
1716
|
-
default:
|
|
1716
|
+
default: P(() => [
|
|
1717
1717
|
D(I, {
|
|
1718
1718
|
chips: r(o),
|
|
1719
1719
|
density: r(s),
|
|
@@ -1739,7 +1739,7 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1739
1739
|
refContext: {}
|
|
1740
1740
|
},
|
|
1741
1741
|
setup(t) {
|
|
1742
|
-
const n = t, { node: e } =
|
|
1742
|
+
const n = t, { node: e } = L(n), o = Fe(), s = $e(), i = re(), { applySize: l } = ge(n, e), { applyMargin: c } = mn(e), { applyPadding: m } = pn(e), { applyBorder: u } = un(e), { property: d } = a(e, [
|
|
1743
1743
|
"settings",
|
|
1744
1744
|
"backgroundColor"
|
|
1745
1745
|
]), { color: p } = Q(d), f = (_) => {
|
|
@@ -1757,7 +1757,7 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1757
1757
|
return s === "page" ? I === "common" ? (l(_), c(_), m(_), u(_), f(_)) : console.assert(!1) : s === "comp" && I === "common" ? (l(_), c(_), m(_), u(_), f(_)) : console.assert(!1), _;
|
|
1758
1758
|
});
|
|
1759
1759
|
return (_, I) => (k(), te("div", {
|
|
1760
|
-
style:
|
|
1760
|
+
style: fe(g.value)
|
|
1761
1761
|
}, [
|
|
1762
1762
|
F(_.$slots, "default")
|
|
1763
1763
|
], 4));
|
|
@@ -1770,12 +1770,12 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1770
1770
|
refContext: {}
|
|
1771
1771
|
},
|
|
1772
1772
|
setup(t) {
|
|
1773
|
-
const n = t, { node: e } =
|
|
1773
|
+
const n = t, { node: e } = L(n), o = $e(), s = re(), { applySize: i } = ge(n, e), { property: l } = a(e, ["settings", "grow"]), { property: c } = a(e, ["settings", "shrink"]), m = w(() => {
|
|
1774
1774
|
const u = {}, d = s.value?.type;
|
|
1775
1775
|
return o === "page" ? d === "common" ? (i(u), u.flexGrow = l.value ? 1 : 0, u.flexShrink = c.value ? 1 : 0) : console.assert(!1) : o === "comp" && d === "common" ? (i(u), u.flexGrow = l.value ? 1 : 0, u.flexShrink = c.value ? 1 : 0) : console.assert(!1), u;
|
|
1776
1776
|
});
|
|
1777
1777
|
return (u, d) => (k(), te("div", {
|
|
1778
|
-
style:
|
|
1778
|
+
style: fe(m.value)
|
|
1779
1779
|
}, [
|
|
1780
1780
|
F(u.$slots, "default")
|
|
1781
1781
|
], 4));
|
|
@@ -1788,13 +1788,13 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1788
1788
|
refContext: {}
|
|
1789
1789
|
},
|
|
1790
1790
|
setup(t) {
|
|
1791
|
-
const n = t, { node: e } =
|
|
1791
|
+
const n = t, { node: e } = L(n), o = $e(), s = re(), i = ve(), { property: l } = a(e, ["settings", "valid"]), { property: c } = a(e, [
|
|
1792
1792
|
"settings",
|
|
1793
1793
|
"fastFail"
|
|
1794
1794
|
]), { property: m } = a(e, [
|
|
1795
1795
|
"settings",
|
|
1796
1796
|
"backgroundColor"
|
|
1797
|
-
]), { color: u } = Q(m), { applySize: d } =
|
|
1797
|
+
]), { color: u } = Q(m), { applySize: d } = ge(n, e), { applyMargin: p } = mn(e), { applyPadding: f } = pn(e), { applyBorder: g } = un(e), _ = w(() => {
|
|
1798
1798
|
const b = {}, x = s.value?.type;
|
|
1799
1799
|
return o === "page" ? x === "common" ? (d(b), p(b), f(b), g(b), u.value && (b.backgroundColor = u.value)) : console.assert(!1) : o === "comp" && x === "common" ? (d(b), p(b), f(b), g(b), u.value && (b.backgroundColor = u.value)) : console.assert(!1), b;
|
|
1800
1800
|
}), I = () => {
|
|
@@ -1809,10 +1809,10 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1809
1809
|
modelValue: r(l),
|
|
1810
1810
|
"onUpdate:modelValue": x[0] || (x[0] = (v) => ne(l) ? l.value = v : null),
|
|
1811
1811
|
"fast-fail": r(c),
|
|
1812
|
-
style:
|
|
1812
|
+
style: fe(_.value),
|
|
1813
1813
|
onSubmit: ii(I, ["prevent"])
|
|
1814
1814
|
}, {
|
|
1815
|
-
default:
|
|
1815
|
+
default: P(() => [
|
|
1816
1816
|
F(b.$slots, "default")
|
|
1817
1817
|
]),
|
|
1818
1818
|
_: 3
|
|
@@ -1827,10 +1827,10 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1827
1827
|
refContext: {}
|
|
1828
1828
|
},
|
|
1829
1829
|
setup(t) {
|
|
1830
|
-
const n = t, { node: e } =
|
|
1830
|
+
const n = t, { node: e } = L(n), { property: o } = a(e, ["settings", "color"]), { color: s } = Q(o), { property: i } = a(e, [
|
|
1831
1831
|
"settings",
|
|
1832
1832
|
"disabled"
|
|
1833
|
-
]), { property: l } = a(e, ["settings", "icon"]), { property: c } = a(e, ["settings", "size"]), { theme: m } =
|
|
1833
|
+
]), { property: l } = a(e, ["settings", "icon"]), { property: c } = a(e, ["settings", "size"]), { theme: m } = J();
|
|
1834
1834
|
return (u, d) => {
|
|
1835
1835
|
const p = B("v-icon");
|
|
1836
1836
|
return k(), C(p, {
|
|
@@ -1850,7 +1850,7 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1850
1850
|
refContext: {}
|
|
1851
1851
|
},
|
|
1852
1852
|
setup(t) {
|
|
1853
|
-
const n = t, e = Z(), o =
|
|
1853
|
+
const n = t, e = Z(), o = ve(), s = ie(0), i = ie(0), l = w(() => [s.value, i.value]), { open: c } = Vo(`runtimeMenu/${$o()}`);
|
|
1854
1854
|
return mt(n.nodeId, "open", () => {
|
|
1855
1855
|
if (!o || !o.vm)
|
|
1856
1856
|
return;
|
|
@@ -1868,13 +1868,13 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1868
1868
|
scrim: "transparent",
|
|
1869
1869
|
target: l.value
|
|
1870
1870
|
}, {
|
|
1871
|
-
activator:
|
|
1871
|
+
activator: P(() => [
|
|
1872
1872
|
r(e) === "editor" ? (k(), te("div", {
|
|
1873
1873
|
key: 0,
|
|
1874
1874
|
id: `__node__@${n.nodeId}`
|
|
1875
1875
|
}, null, 8, Hr)) : se("", !0)
|
|
1876
1876
|
]),
|
|
1877
|
-
default:
|
|
1877
|
+
default: P(() => [
|
|
1878
1878
|
F(m.$slots, "default")
|
|
1879
1879
|
]),
|
|
1880
1880
|
_: 3
|
|
@@ -1889,7 +1889,7 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1889
1889
|
refContext: {}
|
|
1890
1890
|
},
|
|
1891
1891
|
setup(t) {
|
|
1892
|
-
const n = t, { node: e } =
|
|
1892
|
+
const n = t, { node: e } = L(n), { property: o } = a(e, [
|
|
1893
1893
|
"settings",
|
|
1894
1894
|
"addIcon",
|
|
1895
1895
|
"append"
|
|
@@ -1920,20 +1920,20 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1920
1920
|
]), { property: h } = a(e, [
|
|
1921
1921
|
"settings",
|
|
1922
1922
|
"readonly"
|
|
1923
|
-
]), { property: v } = a(e, ["settings", "reverse"]), { property:
|
|
1923
|
+
]), { property: v } = a(e, ["settings", "reverse"]), { property: V } = a(e, [
|
|
1924
1924
|
"settings",
|
|
1925
1925
|
"singleLine"
|
|
1926
|
-
]), { property: T } = a(e, ["settings", "step"]), { property:
|
|
1927
|
-
return (oe,
|
|
1926
|
+
]), { property: T } = a(e, ["settings", "step"]), { property: j } = a(e, ["settings", "suffix"]), { theme: U } = J(), { property: G } = a(e, ["settings", "value"]), { property: z } = a(e, ["settings", "variant"]), { property: q } = a(e, ["size", "width"]);
|
|
1927
|
+
return (oe, he) => {
|
|
1928
1928
|
const ze = B("v-number-input");
|
|
1929
1929
|
return k(), C(r(H), {
|
|
1930
1930
|
block: "",
|
|
1931
1931
|
mask: ""
|
|
1932
1932
|
}, {
|
|
1933
|
-
default:
|
|
1933
|
+
default: P(() => [
|
|
1934
1934
|
D(ze, {
|
|
1935
|
-
modelValue: r(
|
|
1936
|
-
"onUpdate:modelValue":
|
|
1935
|
+
modelValue: r(G),
|
|
1936
|
+
"onUpdate:modelValue": he[0] || (he[0] = (xe) => ne(G) ? G.value = xe : null),
|
|
1937
1937
|
"append-icon": r(o),
|
|
1938
1938
|
"append-inner-icon": r(s),
|
|
1939
1939
|
clearable: r(i),
|
|
@@ -1951,11 +1951,11 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1951
1951
|
"prepend-inner-icon": r(x),
|
|
1952
1952
|
readonly: r(h),
|
|
1953
1953
|
reverse: r(v),
|
|
1954
|
-
"single-line": r(
|
|
1954
|
+
"single-line": r(V),
|
|
1955
1955
|
step: r(T),
|
|
1956
|
-
suffix: r(
|
|
1957
|
-
theme: r(
|
|
1958
|
-
variant: r(
|
|
1956
|
+
suffix: r(j),
|
|
1957
|
+
theme: r(U),
|
|
1958
|
+
variant: r(z),
|
|
1959
1959
|
width: r(q)
|
|
1960
1960
|
}, null, 8, ["modelValue", "append-icon", "append-inner-icon", "clearable", "hide-details", "label", "loading", "max", "max-width", "min", "min-width", "placeholder", "precision", "prefix", "prepend-icon", "prepend-inner-icon", "readonly", "reverse", "single-line", "step", "suffix", "theme", "variant", "width"])
|
|
1961
1961
|
]),
|
|
@@ -1971,13 +1971,13 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1971
1971
|
refContext: {}
|
|
1972
1972
|
},
|
|
1973
1973
|
setup(t) {
|
|
1974
|
-
const n = t, { node: e } =
|
|
1974
|
+
const n = t, { node: e } = L(n), o = Z(), { property: s } = a(e, ["settings", "density"]), { property: i } = a(e, [
|
|
1975
1975
|
"settings",
|
|
1976
1976
|
"disabled"
|
|
1977
1977
|
]), { property: l } = a(e, ["settings", "length"]), { property: c } = a(e, [
|
|
1978
1978
|
"settings",
|
|
1979
1979
|
"showFirstLastPage"
|
|
1980
|
-
]), { property: m } = a(e, ["settings", "size"]), { property: u } = a(e, ["settings", "start"]), { theme: d } =
|
|
1980
|
+
]), { property: m } = a(e, ["settings", "size"]), { property: u } = a(e, ["settings", "start"]), { theme: d } = J(), { property: p } = a(e, ["settings", "tile"]), { property: f } = a(e, ["settings", "value"]), { property: g } = a(e, ["settings", "variant"]), _ = w(() => {
|
|
1981
1981
|
const I = {};
|
|
1982
1982
|
return o === "editor" && (I.pointerEvents = "none"), I;
|
|
1983
1983
|
});
|
|
@@ -1987,7 +1987,7 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1987
1987
|
block: "",
|
|
1988
1988
|
mask: ""
|
|
1989
1989
|
}, {
|
|
1990
|
-
default:
|
|
1990
|
+
default: P(() => [
|
|
1991
1991
|
D(x, {
|
|
1992
1992
|
modelValue: r(f),
|
|
1993
1993
|
"onUpdate:modelValue": b[0] || (b[0] = (h) => ne(f) ? f.value = h : null),
|
|
@@ -1997,7 +1997,7 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1997
1997
|
"show-first-last-page": r(c),
|
|
1998
1998
|
size: r(m),
|
|
1999
1999
|
start: r(u),
|
|
2000
|
-
style:
|
|
2000
|
+
style: fe(_.value),
|
|
2001
2001
|
theme: r(d),
|
|
2002
2002
|
tile: r(p),
|
|
2003
2003
|
variant: r(g)
|
|
@@ -2015,13 +2015,13 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
2015
2015
|
refContext: {}
|
|
2016
2016
|
},
|
|
2017
2017
|
setup(t) {
|
|
2018
|
-
const n = t, { node: e } =
|
|
2018
|
+
const n = t, { node: e } = L(n), { property: o } = a(e, ["settings", "color"]), { color: s } = Q(o), { property: i } = a(e, ["settings", "density"]), { property: l } = a(e, [
|
|
2019
2019
|
"settings",
|
|
2020
2020
|
"disabled"
|
|
2021
2021
|
]), { property: c } = a(e, ["settings", "label"]), { property: m } = a(e, [
|
|
2022
2022
|
"settings",
|
|
2023
2023
|
"readonly"
|
|
2024
|
-
]), { theme: u } =
|
|
2024
|
+
]), { theme: u } = J(), { property: d } = a(e, ["settings", "value"]);
|
|
2025
2025
|
return (p, f) => {
|
|
2026
2026
|
const g = B("v-radio");
|
|
2027
2027
|
return k(), C(g, {
|
|
@@ -2043,7 +2043,7 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
2043
2043
|
refContext: {}
|
|
2044
2044
|
},
|
|
2045
2045
|
setup(t) {
|
|
2046
|
-
const n = t, { node: e } =
|
|
2046
|
+
const n = t, { node: e } = L(n), { property: o } = a(e, ["settings", "density"]), { property: s } = a(e, [
|
|
2047
2047
|
"settings",
|
|
2048
2048
|
"direction"
|
|
2049
2049
|
]), { property: i } = a(e, [
|
|
@@ -2052,11 +2052,11 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
2052
2052
|
]), { property: l } = a(e, ["settings", "inline"]), { property: c } = a(e, [
|
|
2053
2053
|
"settings",
|
|
2054
2054
|
"readonly"
|
|
2055
|
-
]), { theme: m } =
|
|
2055
|
+
]), { theme: m } = J(), { property: u } = a(e, ["settings", "value"]);
|
|
2056
2056
|
return (d, p) => {
|
|
2057
2057
|
const f = B("v-radio-group");
|
|
2058
2058
|
return k(), C(r(H), null, {
|
|
2059
|
-
default:
|
|
2059
|
+
default: P(() => [
|
|
2060
2060
|
D(f, {
|
|
2061
2061
|
modelValue: r(u),
|
|
2062
2062
|
"onUpdate:modelValue": p[0] || (p[0] = (g) => ne(u) ? u.value = g : null),
|
|
@@ -2067,7 +2067,7 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
2067
2067
|
readonly: r(c),
|
|
2068
2068
|
theme: r(m)
|
|
2069
2069
|
}, {
|
|
2070
|
-
default:
|
|
2070
|
+
default: P(() => [
|
|
2071
2071
|
F(d.$slots, "default")
|
|
2072
2072
|
]),
|
|
2073
2073
|
_: 3
|
|
@@ -2085,7 +2085,7 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
2085
2085
|
refContext: {}
|
|
2086
2086
|
},
|
|
2087
2087
|
setup(t) {
|
|
2088
|
-
const n = t, { node: e } =
|
|
2088
|
+
const n = t, { node: e } = L(n), { property: o } = a(e, ["settings", "density"]), { property: s } = a(e, [
|
|
2089
2089
|
"settings",
|
|
2090
2090
|
"direction"
|
|
2091
2091
|
]), { property: i } = a(e, [
|
|
@@ -2105,7 +2105,7 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
2105
2105
|
return "always";
|
|
2106
2106
|
if (p.value === "show")
|
|
2107
2107
|
return !0;
|
|
2108
|
-
}), { property: g } = a(e, ["settings", "step"]), { theme: _ } =
|
|
2108
|
+
}), { property: g } = a(e, ["settings", "step"]), { theme: _ } = J(), { property: I } = a(e, [
|
|
2109
2109
|
"settings",
|
|
2110
2110
|
"thumbLabel"
|
|
2111
2111
|
]), b = w(() => {
|
|
@@ -2119,38 +2119,38 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
2119
2119
|
]), { property: h } = a(e, ["settings", "ticks"]), v = w(() => {
|
|
2120
2120
|
if (!h.value)
|
|
2121
2121
|
return;
|
|
2122
|
-
const
|
|
2123
|
-
for (const { value:
|
|
2124
|
-
|
|
2125
|
-
if (!Mo(
|
|
2126
|
-
return
|
|
2127
|
-
}), { property:
|
|
2122
|
+
const G = {};
|
|
2123
|
+
for (const { value: z, label: q } of h.value)
|
|
2124
|
+
G[z] = q;
|
|
2125
|
+
if (!Mo(G))
|
|
2126
|
+
return G;
|
|
2127
|
+
}), { property: V } = a(e, [
|
|
2128
2128
|
"settings",
|
|
2129
2129
|
"tickSize"
|
|
2130
2130
|
]), { property: T } = a(e, [
|
|
2131
2131
|
"settings",
|
|
2132
2132
|
"value",
|
|
2133
2133
|
"start"
|
|
2134
|
-
]), { property:
|
|
2134
|
+
]), { property: j } = a(e, [
|
|
2135
2135
|
"settings",
|
|
2136
2136
|
"value",
|
|
2137
2137
|
"end"
|
|
2138
|
-
]),
|
|
2139
|
-
get: () => [T.value,
|
|
2140
|
-
set: ([
|
|
2141
|
-
T.value =
|
|
2138
|
+
]), U = w({
|
|
2139
|
+
get: () => [T.value, j.value],
|
|
2140
|
+
set: ([G, z]) => {
|
|
2141
|
+
T.value = G, j.value = z;
|
|
2142
2142
|
}
|
|
2143
2143
|
});
|
|
2144
|
-
return (
|
|
2144
|
+
return (G, z) => {
|
|
2145
2145
|
const q = B("v-range-slider");
|
|
2146
2146
|
return k(), C(r(H), {
|
|
2147
2147
|
block: "",
|
|
2148
2148
|
mask: ""
|
|
2149
2149
|
}, {
|
|
2150
|
-
default:
|
|
2150
|
+
default: P(() => [
|
|
2151
2151
|
D(q, {
|
|
2152
|
-
modelValue:
|
|
2153
|
-
"onUpdate:modelValue":
|
|
2152
|
+
modelValue: U.value,
|
|
2153
|
+
"onUpdate:modelValue": z[0] || (z[0] = (oe) => U.value = oe),
|
|
2154
2154
|
density: r(o),
|
|
2155
2155
|
direction: r(s),
|
|
2156
2156
|
disabled: r(i),
|
|
@@ -2164,7 +2164,7 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
2164
2164
|
theme: r(_),
|
|
2165
2165
|
"thumb-label": b.value,
|
|
2166
2166
|
"thumb-size": r(x),
|
|
2167
|
-
"tick-size": r(
|
|
2167
|
+
"tick-size": r(V),
|
|
2168
2168
|
ticks: v.value
|
|
2169
2169
|
}, null, 8, ["modelValue", "density", "direction", "disabled", "hide-details", "label", "max", "min", "readonly", "show-ticks", "step", "theme", "thumb-label", "thumb-size", "tick-size", "ticks"])
|
|
2170
2170
|
]),
|
|
@@ -2180,7 +2180,7 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
2180
2180
|
refContext: {}
|
|
2181
2181
|
},
|
|
2182
2182
|
setup(t) {
|
|
2183
|
-
const n = t, { node: e } =
|
|
2183
|
+
const n = t, { node: e } = L(n), { property: o } = a(e, [
|
|
2184
2184
|
"settings",
|
|
2185
2185
|
"clearable"
|
|
2186
2186
|
]), { property: s } = a(e, ["settings", "density"]), { property: i } = a(e, [
|
|
@@ -2192,11 +2192,11 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
2192
2192
|
]), { property: c } = a(e, ["settings", "hover"]), { property: m } = a(e, ["settings", "length"]), { property: u } = a(e, [
|
|
2193
2193
|
"settings",
|
|
2194
2194
|
"readonly"
|
|
2195
|
-
]), { theme: d } =
|
|
2195
|
+
]), { theme: d } = J(), { property: p } = a(e, ["settings", "value"]);
|
|
2196
2196
|
return (f, g) => {
|
|
2197
2197
|
const _ = B("v-rating");
|
|
2198
2198
|
return k(), C(r(H), { mask: "" }, {
|
|
2199
|
-
default:
|
|
2199
|
+
default: P(() => [
|
|
2200
2200
|
D(_, {
|
|
2201
2201
|
modelValue: r(p),
|
|
2202
2202
|
"onUpdate:modelValue": g[0] || (g[0] = (I) => ne(p) ? p.value = I : null),
|
|
@@ -2222,7 +2222,7 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
2222
2222
|
refContext: {}
|
|
2223
2223
|
},
|
|
2224
2224
|
setup(t) {
|
|
2225
|
-
const n = t, { node: e } =
|
|
2225
|
+
const n = t, { node: e } = L(n), { property: o } = a(e, [
|
|
2226
2226
|
"settings",
|
|
2227
2227
|
"hideDetails"
|
|
2228
2228
|
]), { property: s } = a(e, ["settings", "label"]), { property: i } = a(e, [
|
|
@@ -2234,14 +2234,14 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
2234
2234
|
]), { property: c } = a(e, [
|
|
2235
2235
|
"settings",
|
|
2236
2236
|
"singleLine"
|
|
2237
|
-
]), { theme: m } =
|
|
2237
|
+
]), { theme: m } = J(), { property: u } = a(e, ["settings", "value"]);
|
|
2238
2238
|
return (d, p) => {
|
|
2239
2239
|
const f = B("v-select");
|
|
2240
2240
|
return k(), C(r(H), {
|
|
2241
2241
|
block: "",
|
|
2242
2242
|
mask: ""
|
|
2243
2243
|
}, {
|
|
2244
|
-
default:
|
|
2244
|
+
default: P(() => [
|
|
2245
2245
|
D(f, {
|
|
2246
2246
|
modelValue: r(u),
|
|
2247
2247
|
"onUpdate:modelValue": p[0] || (p[0] = (g) => ne(u) ? u.value = g : null),
|
|
@@ -2265,7 +2265,7 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
2265
2265
|
refContext: {}
|
|
2266
2266
|
},
|
|
2267
2267
|
setup(t) {
|
|
2268
|
-
const n = t, { node: e } =
|
|
2268
|
+
const n = t, { node: e } = L(n), { property: o } = a(e, ["settings", "color"]), { color: s } = Q(o), { property: i } = a(e, [
|
|
2269
2269
|
"settings",
|
|
2270
2270
|
"direction"
|
|
2271
2271
|
]), { property: l } = a(e, [
|
|
@@ -2285,13 +2285,13 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
2285
2285
|
return "always";
|
|
2286
2286
|
if (g.value === "show")
|
|
2287
2287
|
return !0;
|
|
2288
|
-
}), { property: I } = a(e, ["settings", "step"]), { theme: b } =
|
|
2288
|
+
}), { property: I } = a(e, ["settings", "step"]), { theme: b } = J(), { property: x } = a(e, [
|
|
2289
2289
|
"settings",
|
|
2290
2290
|
"thumbColor"
|
|
2291
2291
|
]), { color: h } = Q(x), { property: v } = a(e, [
|
|
2292
2292
|
"settings",
|
|
2293
2293
|
"thumbLabel"
|
|
2294
|
-
]),
|
|
2294
|
+
]), V = w(() => {
|
|
2295
2295
|
if (v.value === "always")
|
|
2296
2296
|
return "always";
|
|
2297
2297
|
if (v.value === "show")
|
|
@@ -2299,28 +2299,28 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
2299
2299
|
}), { property: T } = a(e, [
|
|
2300
2300
|
"settings",
|
|
2301
2301
|
"thumbSize"
|
|
2302
|
-
]), { property:
|
|
2303
|
-
if (!
|
|
2302
|
+
]), { property: j } = a(e, ["settings", "ticks"]), U = w(() => {
|
|
2303
|
+
if (!j.value)
|
|
2304
2304
|
return;
|
|
2305
|
-
const
|
|
2306
|
-
for (const { value: nt, label: kt } of
|
|
2307
|
-
|
|
2308
|
-
if (!Mo(
|
|
2309
|
-
return
|
|
2310
|
-
}), { property:
|
|
2305
|
+
const xe = {};
|
|
2306
|
+
for (const { value: nt, label: kt } of j.value)
|
|
2307
|
+
xe[nt] = kt;
|
|
2308
|
+
if (!Mo(xe))
|
|
2309
|
+
return xe;
|
|
2310
|
+
}), { property: G } = a(e, [
|
|
2311
2311
|
"settings",
|
|
2312
2312
|
"tickSize"
|
|
2313
|
-
]), { property:
|
|
2313
|
+
]), { property: z } = a(e, [
|
|
2314
2314
|
"settings",
|
|
2315
2315
|
"trackColor"
|
|
2316
|
-
]), { color: q } = Q(
|
|
2317
|
-
return (
|
|
2316
|
+
]), { color: q } = Q(z), { property: oe } = a(e, ["settings", "value"]), { property: he } = a(e, ["slots", "append"]), { property: ze } = a(e, ["slots", "prepend"]);
|
|
2317
|
+
return (xe, nt) => {
|
|
2318
2318
|
const kt = B("v-slider");
|
|
2319
2319
|
return k(), C(r(H), {
|
|
2320
2320
|
block: "",
|
|
2321
2321
|
mask: ""
|
|
2322
2322
|
}, {
|
|
2323
|
-
default:
|
|
2323
|
+
default: P(() => [
|
|
2324
2324
|
D(kt, {
|
|
2325
2325
|
modelValue: r(oe),
|
|
2326
2326
|
"onUpdate:modelValue": nt[0] || (nt[0] = (ti) => ne(oe) ? oe.value = ti : null),
|
|
@@ -2337,18 +2337,18 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
2337
2337
|
step: r(I),
|
|
2338
2338
|
theme: r(b),
|
|
2339
2339
|
"thumb-color": r(h),
|
|
2340
|
-
"thumb-label":
|
|
2340
|
+
"thumb-label": V.value,
|
|
2341
2341
|
"thumb-size": r(T),
|
|
2342
|
-
"tick-size": r(
|
|
2343
|
-
ticks:
|
|
2342
|
+
"tick-size": r(G),
|
|
2343
|
+
ticks: U.value,
|
|
2344
2344
|
"track-color": r(q)
|
|
2345
2345
|
}, sn({ _: 2 }, [
|
|
2346
|
-
r(
|
|
2346
|
+
r(he) ? {
|
|
2347
2347
|
name: "append",
|
|
2348
|
-
fn:
|
|
2348
|
+
fn: P(() => [
|
|
2349
2349
|
D(r(Ve), {
|
|
2350
2350
|
"node-id": "append",
|
|
2351
|
-
"ref-context": { compId: r(
|
|
2351
|
+
"ref-context": { compId: r(he) },
|
|
2352
2352
|
state: {}
|
|
2353
2353
|
}, null, 8, ["ref-context"])
|
|
2354
2354
|
]),
|
|
@@ -2356,7 +2356,7 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
2356
2356
|
} : void 0,
|
|
2357
2357
|
r(ze) ? {
|
|
2358
2358
|
name: "prepend",
|
|
2359
|
-
fn:
|
|
2359
|
+
fn: P(() => [
|
|
2360
2360
|
D(r(Ve), {
|
|
2361
2361
|
"node-id": "prepend",
|
|
2362
2362
|
"ref-context": { compId: r(ze) },
|
|
@@ -2379,10 +2379,10 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
2379
2379
|
refContext: {}
|
|
2380
2380
|
},
|
|
2381
2381
|
setup(t) {
|
|
2382
|
-
const n = t, { node: e } =
|
|
2382
|
+
const n = t, { node: e } = L(n), { property: o } = a(e, [
|
|
2383
2383
|
"settings",
|
|
2384
2384
|
"hideActions"
|
|
2385
|
-
]), { theme: s } =
|
|
2385
|
+
]), { theme: s } = J(), { property: i } = a(e, ["settings", "value"]);
|
|
2386
2386
|
return (l, c) => {
|
|
2387
2387
|
const m = B("v-stepper");
|
|
2388
2388
|
return k(), C(m, {
|
|
@@ -2391,7 +2391,7 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
2391
2391
|
"hide-actions": r(o),
|
|
2392
2392
|
theme: r(s)
|
|
2393
2393
|
}, {
|
|
2394
|
-
default:
|
|
2394
|
+
default: P(() => [
|
|
2395
2395
|
F(l.$slots, "default")
|
|
2396
2396
|
]),
|
|
2397
2397
|
_: 3
|
|
@@ -2402,7 +2402,7 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
2402
2402
|
function il(t, n) {
|
|
2403
2403
|
const e = B("v-stepper-header");
|
|
2404
2404
|
return k(), C(e, null, {
|
|
2405
|
-
default:
|
|
2405
|
+
default: P(() => [
|
|
2406
2406
|
F(t.$slots, "default")
|
|
2407
2407
|
]),
|
|
2408
2408
|
_: 3
|
|
@@ -2416,11 +2416,11 @@ const sl = /* @__PURE__ */ De(ol, [["render", il]]), rl = /* @__PURE__ */ $({
|
|
|
2416
2416
|
refContext: {}
|
|
2417
2417
|
},
|
|
2418
2418
|
setup(t) {
|
|
2419
|
-
const n = t, { node: e } =
|
|
2419
|
+
const n = t, { node: e } = L(n), { property: o } = a(e, ["settings", "value"]);
|
|
2420
2420
|
return (s, i) => {
|
|
2421
2421
|
const l = B("v-stepper-item");
|
|
2422
2422
|
return k(), C(l, { value: r(o) }, {
|
|
2423
|
-
default:
|
|
2423
|
+
default: P(() => [
|
|
2424
2424
|
F(s.$slots, "default")
|
|
2425
2425
|
]),
|
|
2426
2426
|
_: 3
|
|
@@ -2431,7 +2431,7 @@ const sl = /* @__PURE__ */ De(ol, [["render", il]]), rl = /* @__PURE__ */ $({
|
|
|
2431
2431
|
function al(t, n) {
|
|
2432
2432
|
const e = B("v-stepper-window");
|
|
2433
2433
|
return k(), C(e, null, {
|
|
2434
|
-
default:
|
|
2434
|
+
default: P(() => [
|
|
2435
2435
|
F(t.$slots, "default")
|
|
2436
2436
|
]),
|
|
2437
2437
|
_: 3
|
|
@@ -2445,11 +2445,11 @@ const cl = /* @__PURE__ */ De(ll, [["render", al]]), ul = /* @__PURE__ */ $({
|
|
|
2445
2445
|
refContext: {}
|
|
2446
2446
|
},
|
|
2447
2447
|
setup(t) {
|
|
2448
|
-
const n = t, { node: e } =
|
|
2448
|
+
const n = t, { node: e } = L(n), { property: o } = a(e, ["settings", "value"]);
|
|
2449
2449
|
return (s, i) => {
|
|
2450
2450
|
const l = B("v-stepper-window-item");
|
|
2451
2451
|
return k(), C(l, { value: r(o) }, {
|
|
2452
|
-
default:
|
|
2452
|
+
default: P(() => [
|
|
2453
2453
|
F(s.$slots, "default")
|
|
2454
2454
|
]),
|
|
2455
2455
|
_: 3
|
|
@@ -2464,7 +2464,7 @@ const cl = /* @__PURE__ */ De(ll, [["render", al]]), ul = /* @__PURE__ */ $({
|
|
|
2464
2464
|
refContext: {}
|
|
2465
2465
|
},
|
|
2466
2466
|
setup(t) {
|
|
2467
|
-
const n = t, { node: e } =
|
|
2467
|
+
const n = t, { node: e } = L(n), { property: o } = a(e, ["settings", "density"]), { property: s } = a(e, [
|
|
2468
2468
|
"settings",
|
|
2469
2469
|
"direction"
|
|
2470
2470
|
]), { property: i } = a(e, [
|
|
@@ -2476,11 +2476,11 @@ const cl = /* @__PURE__ */ De(ll, [["render", al]]), ul = /* @__PURE__ */ $({
|
|
|
2476
2476
|
]), { property: c } = a(e, [
|
|
2477
2477
|
"settings",
|
|
2478
2478
|
"indeterminate"
|
|
2479
|
-
]), { property: m } = a(e, ["settings", "inline"]), { property: u } = a(e, ["settings", "inset"]), { property: d } = a(e, ["settings", "label"]), { property: p } = a(e, ["settings", "loading"]), { theme: f } =
|
|
2479
|
+
]), { property: m } = a(e, ["settings", "inline"]), { property: u } = a(e, ["settings", "inset"]), { property: d } = a(e, ["settings", "label"]), { property: p } = a(e, ["settings", "loading"]), { theme: f } = J(), { property: g } = a(e, ["settings", "value"]);
|
|
2480
2480
|
return (_, I) => {
|
|
2481
2481
|
const b = B("v-switch");
|
|
2482
2482
|
return k(), C(r(H), { mask: "" }, {
|
|
2483
|
-
default:
|
|
2483
|
+
default: P(() => [
|
|
2484
2484
|
D(b, {
|
|
2485
2485
|
modelValue: r(g),
|
|
2486
2486
|
"onUpdate:modelValue": I[0] || (I[0] = (x) => ne(g) ? g.value = x : null),
|
|
@@ -2508,16 +2508,16 @@ const cl = /* @__PURE__ */ De(ll, [["render", al]]), ul = /* @__PURE__ */ $({
|
|
|
2508
2508
|
refContext: {}
|
|
2509
2509
|
},
|
|
2510
2510
|
setup(t) {
|
|
2511
|
-
const n = t, { node: e } =
|
|
2511
|
+
const n = t, { node: e } = L(n), o = Z(), { property: s } = a(e, ["settings", "text"]), { theme: i } = J(), { property: l } = a(e, ["settings", "value"]), c = w(() => {
|
|
2512
2512
|
const m = {};
|
|
2513
2513
|
return o === "editor" && (m.pointerEvents = "none"), m;
|
|
2514
2514
|
});
|
|
2515
2515
|
return (m, u) => {
|
|
2516
2516
|
const d = B("v-tab");
|
|
2517
2517
|
return k(), C(r(H), { mask: "" }, {
|
|
2518
|
-
default:
|
|
2518
|
+
default: P(() => [
|
|
2519
2519
|
D(d, {
|
|
2520
|
-
style:
|
|
2520
|
+
style: fe(c.value),
|
|
2521
2521
|
text: r(s),
|
|
2522
2522
|
theme: r(i),
|
|
2523
2523
|
value: r(l)
|
|
@@ -2535,7 +2535,7 @@ const cl = /* @__PURE__ */ De(ll, [["render", al]]), ul = /* @__PURE__ */ $({
|
|
|
2535
2535
|
refContext: {}
|
|
2536
2536
|
},
|
|
2537
2537
|
setup(t) {
|
|
2538
|
-
const n = t, { node: e } =
|
|
2538
|
+
const n = t, { node: e } = L(n), { property: o } = a(e, [
|
|
2539
2539
|
"settings",
|
|
2540
2540
|
"alignTabs"
|
|
2541
2541
|
]), { property: s } = a(e, [
|
|
@@ -2571,17 +2571,17 @@ const cl = /* @__PURE__ */ De(ll, [["render", al]]), ul = /* @__PURE__ */ $({
|
|
|
2571
2571
|
"settings",
|
|
2572
2572
|
"color",
|
|
2573
2573
|
"sliderColor"
|
|
2574
|
-
]), { color: v } = Q(h), { property:
|
|
2575
|
-
return (
|
|
2576
|
-
const
|
|
2574
|
+
]), { color: v } = Q(h), { property: V } = a(e, ["settings", "stacked"]), { theme: T } = J(), { property: j } = a(e, ["settings", "value"]);
|
|
2575
|
+
return (U, G) => {
|
|
2576
|
+
const z = B("v-tabs");
|
|
2577
2577
|
return k(), C(r(H), {
|
|
2578
2578
|
block: "",
|
|
2579
2579
|
mask: ""
|
|
2580
2580
|
}, {
|
|
2581
|
-
default:
|
|
2582
|
-
D(
|
|
2583
|
-
modelValue: r(
|
|
2584
|
-
"onUpdate:modelValue":
|
|
2581
|
+
default: P(() => [
|
|
2582
|
+
D(z, {
|
|
2583
|
+
modelValue: r(j),
|
|
2584
|
+
"onUpdate:modelValue": G[0] || (G[0] = (q) => ne(j) ? j.value = q : null),
|
|
2585
2585
|
"align-tabs": r(o),
|
|
2586
2586
|
"bg-color": r(i),
|
|
2587
2587
|
"center-active": r(l),
|
|
@@ -2596,11 +2596,11 @@ const cl = /* @__PURE__ */ De(ll, [["render", al]]), ul = /* @__PURE__ */ $({
|
|
|
2596
2596
|
mandatory: r(b),
|
|
2597
2597
|
"show-arrows": r(x),
|
|
2598
2598
|
"slider-color": r(v),
|
|
2599
|
-
stacked: r(
|
|
2599
|
+
stacked: r(V),
|
|
2600
2600
|
theme: r(T)
|
|
2601
2601
|
}, {
|
|
2602
|
-
default:
|
|
2603
|
-
F(
|
|
2602
|
+
default: P(() => [
|
|
2603
|
+
F(U.$slots, "default")
|
|
2604
2604
|
]),
|
|
2605
2605
|
_: 3
|
|
2606
2606
|
}, 8, ["modelValue", "align-tabs", "bg-color", "center-active", "color", "density", "direction", "disabled", "fixed-tabs", "grow", "hide-slider", "items", "mandatory", "show-arrows", "slider-color", "stacked", "theme"])
|
|
@@ -2617,7 +2617,7 @@ const cl = /* @__PURE__ */ De(ll, [["render", al]]), ul = /* @__PURE__ */ $({
|
|
|
2617
2617
|
refContext: {}
|
|
2618
2618
|
},
|
|
2619
2619
|
setup(t) {
|
|
2620
|
-
const n = t, { node: e } =
|
|
2620
|
+
const n = t, { node: e } = L(n), o = Fe(), { property: s } = a(e, ["settings", "align"]), { property: i } = a(e, [
|
|
2621
2621
|
"settings",
|
|
2622
2622
|
"decoration"
|
|
2623
2623
|
]), { property: l } = a(e, [
|
|
@@ -2628,7 +2628,7 @@ const cl = /* @__PURE__ */ De(ll, [["render", al]]), ul = /* @__PURE__ */ $({
|
|
|
2628
2628
|
return g && p.push(`text-${g}`), l.value === "high" ? p.push("text-high-emphasis") : l.value === "medium" ? p.push("text-medium-emphasis") : l.value === "disabled" && p.push("text-disabled"), s.value && p.push(`font-${s.value}`), i.value && p.push(`text-decoration-${i.value}`), u.value && p.push(`font-weight-${u.value}`), c.value && p.push("font-italic"), p.join(" ");
|
|
2629
2629
|
});
|
|
2630
2630
|
return (p, f) => (k(), C(r(H), { mask: "" }, {
|
|
2631
|
-
default:
|
|
2631
|
+
default: P(() => [
|
|
2632
2632
|
Re("span", {
|
|
2633
2633
|
class: si(d.value)
|
|
2634
2634
|
}, So(r(m)), 3)
|
|
@@ -2644,7 +2644,7 @@ const cl = /* @__PURE__ */ De(ll, [["render", al]]), ul = /* @__PURE__ */ $({
|
|
|
2644
2644
|
refContext: {}
|
|
2645
2645
|
},
|
|
2646
2646
|
setup(t) {
|
|
2647
|
-
const n = t, { node: e } =
|
|
2647
|
+
const n = t, { node: e } = L(n), { property: o } = a(e, [
|
|
2648
2648
|
"settings",
|
|
2649
2649
|
"autoGrow"
|
|
2650
2650
|
]), { property: s } = a(e, [
|
|
@@ -2662,15 +2662,15 @@ const cl = /* @__PURE__ */ De(ll, [["render", al]]), ul = /* @__PURE__ */ $({
|
|
|
2662
2662
|
]), { property: f } = a(e, ["settings", "reverse"]), { property: g } = a(e, ["settings", "rows"]), { property: _ } = a(e, [
|
|
2663
2663
|
"settings",
|
|
2664
2664
|
"singleLine"
|
|
2665
|
-
]), { theme: I } =
|
|
2665
|
+
]), { theme: I } = J(), { property: b } = a(e, ["settings", "value"]), { property: x } = a(e, ["settings", "variant"]);
|
|
2666
2666
|
return (h, v) => {
|
|
2667
|
-
const
|
|
2667
|
+
const V = B("v-textarea");
|
|
2668
2668
|
return k(), C(r(H), {
|
|
2669
2669
|
block: "",
|
|
2670
2670
|
mask: ""
|
|
2671
2671
|
}, {
|
|
2672
|
-
default:
|
|
2673
|
-
D(
|
|
2672
|
+
default: P(() => [
|
|
2673
|
+
D(V, {
|
|
2674
2674
|
modelValue: r(b),
|
|
2675
2675
|
"onUpdate:modelValue": v[0] || (v[0] = (T) => ne(b) ? b.value = T : null),
|
|
2676
2676
|
"auto-grow": r(o),
|
|
@@ -2701,7 +2701,7 @@ const cl = /* @__PURE__ */ De(ll, [["render", al]]), ul = /* @__PURE__ */ $({
|
|
|
2701
2701
|
refContext: {}
|
|
2702
2702
|
},
|
|
2703
2703
|
setup(t) {
|
|
2704
|
-
const n = t, { node: e } =
|
|
2704
|
+
const n = t, { node: e } = L(n), { property: o } = a(e, [
|
|
2705
2705
|
"settings",
|
|
2706
2706
|
"appendIcon"
|
|
2707
2707
|
]), { property: s } = a(e, [
|
|
@@ -2734,23 +2734,23 @@ const cl = /* @__PURE__ */ De(ll, [["render", al]]), ul = /* @__PURE__ */ $({
|
|
|
2734
2734
|
]), { property: x } = a(e, ["settings", "reverse"]), { property: h } = a(e, [
|
|
2735
2735
|
"settings",
|
|
2736
2736
|
"singleLine"
|
|
2737
|
-
]), { property: v } = a(e, ["settings", "suffix"]), { theme:
|
|
2737
|
+
]), { property: v } = a(e, ["settings", "suffix"]), { theme: V } = J(), { property: T } = a(e, ["settings", "value"]), { property: j } = a(e, ["settings", "variant"]), { property: U } = a(e, ["slots", "append"]), { property: G } = a(e, [
|
|
2738
2738
|
"slots",
|
|
2739
2739
|
"appendInner"
|
|
2740
|
-
]), { property:
|
|
2740
|
+
]), { property: z } = a(e, ["slots", "prepend"]), { property: q } = a(e, [
|
|
2741
2741
|
"slots",
|
|
2742
2742
|
"prependInner"
|
|
2743
2743
|
]);
|
|
2744
|
-
return (oe,
|
|
2744
|
+
return (oe, he) => {
|
|
2745
2745
|
const ze = B("v-text-field");
|
|
2746
2746
|
return k(), C(r(H), {
|
|
2747
2747
|
block: "",
|
|
2748
2748
|
mask: ""
|
|
2749
2749
|
}, {
|
|
2750
|
-
default:
|
|
2750
|
+
default: P(() => [
|
|
2751
2751
|
D(ze, {
|
|
2752
2752
|
modelValue: r(T),
|
|
2753
|
-
"onUpdate:modelValue":
|
|
2753
|
+
"onUpdate:modelValue": he[0] || (he[0] = (xe) => ne(T) ? T.value = xe : null),
|
|
2754
2754
|
"append-icon": r(o),
|
|
2755
2755
|
"append-inner-icon": r(s),
|
|
2756
2756
|
autofocus: r(i),
|
|
@@ -2768,37 +2768,37 @@ const cl = /* @__PURE__ */ De(ll, [["render", al]]), ul = /* @__PURE__ */ $({
|
|
|
2768
2768
|
reverse: r(x),
|
|
2769
2769
|
"single-line": r(h),
|
|
2770
2770
|
suffix: r(v),
|
|
2771
|
-
theme: r(
|
|
2772
|
-
variant: r(
|
|
2771
|
+
theme: r(V),
|
|
2772
|
+
variant: r(j)
|
|
2773
2773
|
}, sn({ _: 2 }, [
|
|
2774
|
-
r(
|
|
2774
|
+
r(U) ? {
|
|
2775
2775
|
name: "append",
|
|
2776
|
-
fn:
|
|
2776
|
+
fn: P(() => [
|
|
2777
2777
|
D(r(Ve), {
|
|
2778
2778
|
"node-id": "append",
|
|
2779
|
-
"ref-context": { compId: r(
|
|
2779
|
+
"ref-context": { compId: r(U) },
|
|
2780
2780
|
state: {}
|
|
2781
2781
|
}, null, 8, ["ref-context"])
|
|
2782
2782
|
]),
|
|
2783
2783
|
key: "0"
|
|
2784
2784
|
} : void 0,
|
|
2785
|
-
r(
|
|
2785
|
+
r(G) ? {
|
|
2786
2786
|
name: "append-inner",
|
|
2787
|
-
fn:
|
|
2787
|
+
fn: P(() => [
|
|
2788
2788
|
D(r(Ve), {
|
|
2789
2789
|
"node-id": "append-inner",
|
|
2790
|
-
"ref-context": { compId: r(
|
|
2790
|
+
"ref-context": { compId: r(G) },
|
|
2791
2791
|
state: {}
|
|
2792
2792
|
}, null, 8, ["ref-context"])
|
|
2793
2793
|
]),
|
|
2794
2794
|
key: "1"
|
|
2795
2795
|
} : void 0,
|
|
2796
|
-
r(
|
|
2796
|
+
r(z) ? {
|
|
2797
2797
|
name: "prepend",
|
|
2798
|
-
fn:
|
|
2798
|
+
fn: P(() => [
|
|
2799
2799
|
D(r(Ve), {
|
|
2800
2800
|
"node-id": "prepend",
|
|
2801
|
-
"ref-context": { compId: r(
|
|
2801
|
+
"ref-context": { compId: r(z) },
|
|
2802
2802
|
state: {}
|
|
2803
2803
|
}, null, 8, ["ref-context"])
|
|
2804
2804
|
]),
|
|
@@ -2806,7 +2806,7 @@ const cl = /* @__PURE__ */ De(ll, [["render", al]]), ul = /* @__PURE__ */ $({
|
|
|
2806
2806
|
} : void 0,
|
|
2807
2807
|
r(q) ? {
|
|
2808
2808
|
name: "prepend-inner",
|
|
2809
|
-
fn:
|
|
2809
|
+
fn: P(() => [
|
|
2810
2810
|
D(r(Ve), {
|
|
2811
2811
|
"node-id": "prepend-inner",
|
|
2812
2812
|
"ref-context": { compId: r(q) },
|
|
@@ -2829,7 +2829,7 @@ const cl = /* @__PURE__ */ De(ll, [["render", al]]), ul = /* @__PURE__ */ $({
|
|
|
2829
2829
|
refContext: {}
|
|
2830
2830
|
},
|
|
2831
2831
|
setup(t) {
|
|
2832
|
-
const n = t, { node: e } =
|
|
2832
|
+
const n = t, { node: e } = L(n), { property: o } = a(e, ["settings", "align"]), { property: s } = a(e, ["settings", "density"]), { property: i } = a(e, [
|
|
2833
2833
|
"settings",
|
|
2834
2834
|
"direction"
|
|
2835
2835
|
]), { property: l } = a(e, [
|
|
@@ -2859,7 +2859,7 @@ const cl = /* @__PURE__ */ De(ll, [["render", al]]), ul = /* @__PURE__ */ $({
|
|
|
2859
2859
|
"settings",
|
|
2860
2860
|
"line",
|
|
2861
2861
|
"truncate"
|
|
2862
|
-
]), { theme: b } =
|
|
2862
|
+
]), { theme: b } = J();
|
|
2863
2863
|
return (x, h) => {
|
|
2864
2864
|
const v = B("v-timeline");
|
|
2865
2865
|
return k(), C(v, {
|
|
@@ -2876,7 +2876,7 @@ const cl = /* @__PURE__ */ De(ll, [["render", al]]), ul = /* @__PURE__ */ $({
|
|
|
2876
2876
|
theme: r(b),
|
|
2877
2877
|
"truncate-line": r(I)
|
|
2878
2878
|
}, {
|
|
2879
|
-
default:
|
|
2879
|
+
default: P(() => [
|
|
2880
2880
|
F(x.$slots, "default")
|
|
2881
2881
|
]),
|
|
2882
2882
|
_: 3
|
|
@@ -2887,7 +2887,7 @@ const cl = /* @__PURE__ */ De(ll, [["render", al]]), ul = /* @__PURE__ */ $({
|
|
|
2887
2887
|
function _l(t, n) {
|
|
2888
2888
|
const e = B("v-timeline-item");
|
|
2889
2889
|
return k(), C(e, null, {
|
|
2890
|
-
default:
|
|
2890
|
+
default: P(() => [
|
|
2891
2891
|
F(t.$slots, "default")
|
|
2892
2892
|
]),
|
|
2893
2893
|
_: 3
|
|
@@ -2901,7 +2901,7 @@ const vl = /* @__PURE__ */ De(hl, [["render", _l]]), xl = /* @__PURE__ */ $({
|
|
|
2901
2901
|
refContext: {}
|
|
2902
2902
|
},
|
|
2903
2903
|
setup(t) {
|
|
2904
|
-
const n = t, { node: e } =
|
|
2904
|
+
const n = t, { node: e } = L(n), { property: o } = a(e, [
|
|
2905
2905
|
"settings",
|
|
2906
2906
|
"continuous"
|
|
2907
2907
|
]), { property: s } = a(e, [
|
|
@@ -2913,7 +2913,7 @@ const vl = /* @__PURE__ */ De(hl, [["render", _l]]), xl = /* @__PURE__ */ $({
|
|
|
2913
2913
|
]), { property: l } = a(e, ["settings", "reverse"]), { property: c } = a(e, [
|
|
2914
2914
|
"settings",
|
|
2915
2915
|
"showArrows"
|
|
2916
|
-
]), { property: m } = a(e, ["settings", "touch"]), { theme: u } =
|
|
2916
|
+
]), { property: m } = a(e, ["settings", "touch"]), { theme: u } = J(), { property: d } = a(e, ["settings", "value"]);
|
|
2917
2917
|
return (p, f) => {
|
|
2918
2918
|
const g = B("v-window");
|
|
2919
2919
|
return k(), C(g, {
|
|
@@ -2927,7 +2927,7 @@ const vl = /* @__PURE__ */ De(hl, [["render", _l]]), xl = /* @__PURE__ */ $({
|
|
|
2927
2927
|
theme: r(u),
|
|
2928
2928
|
touch: r(m)
|
|
2929
2929
|
}, {
|
|
2930
|
-
default:
|
|
2930
|
+
default: P(() => [
|
|
2931
2931
|
F(p.$slots, "default")
|
|
2932
2932
|
]),
|
|
2933
2933
|
_: 3
|
|
@@ -2938,7 +2938,7 @@ const vl = /* @__PURE__ */ De(hl, [["render", _l]]), xl = /* @__PURE__ */ $({
|
|
|
2938
2938
|
function wl(t, n) {
|
|
2939
2939
|
const e = B("v-window-item");
|
|
2940
2940
|
return k(), C(e, null, {
|
|
2941
|
-
default:
|
|
2941
|
+
default: P(() => [
|
|
2942
2942
|
F(t.$slots, "default")
|
|
2943
2943
|
]),
|
|
2944
2944
|
_: 3
|
|
@@ -2953,13 +2953,13 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
|
|
|
2953
2953
|
instance: {}
|
|
2954
2954
|
},
|
|
2955
2955
|
setup(t) {
|
|
2956
|
-
console.log(`<element/${t.nodeId}/multiple_ref_v1/${t.instance}> created`),
|
|
2956
|
+
console.log(`<element/${t.nodeId}/multiple_ref_v1/${t.instance}> created`), Ie(() => {
|
|
2957
2957
|
console.log(`<element/${t.nodeId}/multiple_ref_v1/${t.instance}> destroyed`);
|
|
2958
2958
|
});
|
|
2959
2959
|
const n = Z(), e = re(), o = w(() => O(e.value));
|
|
2960
|
-
Le(o), le(n) && tt(o, "multipleSlot", t.nodeId, t.instance,
|
|
2960
|
+
Le(o), le(n) && tt(o, "multipleSlot", t.nodeId, t.instance, ve());
|
|
2961
2961
|
const s = (l) => {
|
|
2962
|
-
const c =
|
|
2962
|
+
const c = we[l.key];
|
|
2963
2963
|
if (!c) {
|
|
2964
2964
|
console.assert(!1, `element not found key=${l.key}`);
|
|
2965
2965
|
return;
|
|
@@ -3015,7 +3015,7 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
|
|
|
3015
3015
|
center: "",
|
|
3016
3016
|
transform: ""
|
|
3017
3017
|
}, {
|
|
3018
|
-
default:
|
|
3018
|
+
default: P(() => [
|
|
3019
3019
|
Re("div", Cl, So(t.label), 1)
|
|
3020
3020
|
]),
|
|
3021
3021
|
_: 1
|
|
@@ -3031,15 +3031,15 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
|
|
|
3031
3031
|
refContext: {}
|
|
3032
3032
|
},
|
|
3033
3033
|
setup(t) {
|
|
3034
|
-
const n = bt(), e = t, { node: o } =
|
|
3034
|
+
const n = bt(), e = t, { node: o } = L(e), s = Qe(), i = re(), l = ie();
|
|
3035
3035
|
Le(l);
|
|
3036
3036
|
const c = w(() => e.refContext?.compId);
|
|
3037
3037
|
et(c, l);
|
|
3038
|
-
const { applySize: m } =
|
|
3038
|
+
const { applySize: m } = ge(e, o), u = w(() => {
|
|
3039
3039
|
const h = {};
|
|
3040
3040
|
return l.value?.type === "common" && m(h), h;
|
|
3041
3041
|
}), { position: d, rotation: p, scale: f } = ue(o), { property: g } = a(o, ["instances"]), _ = (h, v) => {
|
|
3042
|
-
h.findIndex((
|
|
3042
|
+
h.findIndex((V) => V === v) >= 0 || h.push(v);
|
|
3043
3043
|
}, I = w(() => {
|
|
3044
3044
|
const h = [];
|
|
3045
3045
|
if (!Array.isArray(g.value))
|
|
@@ -3062,7 +3062,7 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
|
|
|
3062
3062
|
console.assert(!1, "invalid of data");
|
|
3063
3063
|
return;
|
|
3064
3064
|
}
|
|
3065
|
-
const { i18n: h } =
|
|
3065
|
+
const { i18n: h } = _e;
|
|
3066
3066
|
if (Ye(e.refContext, s))
|
|
3067
3067
|
return i.value.type === "common" ? K(
|
|
3068
3068
|
"div",
|
|
@@ -3095,7 +3095,7 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
|
|
|
3095
3095
|
style: u.value
|
|
3096
3096
|
},
|
|
3097
3097
|
{
|
|
3098
|
-
default: () => I.value.map((
|
|
3098
|
+
default: () => I.value.map((V) => b(V, v))
|
|
3099
3099
|
}
|
|
3100
3100
|
);
|
|
3101
3101
|
if (v === "scene")
|
|
@@ -3108,7 +3108,7 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
|
|
|
3108
3108
|
scale: f.value
|
|
3109
3109
|
},
|
|
3110
3110
|
{
|
|
3111
|
-
default: () => I.value.map((
|
|
3111
|
+
default: () => I.value.map((V) => b(V, v))
|
|
3112
3112
|
}
|
|
3113
3113
|
);
|
|
3114
3114
|
};
|
|
@@ -3123,13 +3123,13 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
|
|
|
3123
3123
|
instance: {}
|
|
3124
3124
|
},
|
|
3125
3125
|
setup(t) {
|
|
3126
|
-
console.log(`<element/${t.nodeId}/multiple_slot_v1/${t.instance}> created`),
|
|
3126
|
+
console.log(`<element/${t.nodeId}/multiple_slot_v1/${t.instance}> created`), Ie(() => {
|
|
3127
3127
|
console.log(`<element/${t.nodeId}/multiple_slot_v1/${t.instance}> destroyed`);
|
|
3128
3128
|
});
|
|
3129
3129
|
const n = Z(), e = re(), o = w(() => O(e.value));
|
|
3130
|
-
Le(o), le(n) && tt(o, "multipleSlot", t.nodeId, t.instance,
|
|
3130
|
+
Le(o), le(n) && tt(o, "multipleSlot", t.nodeId, t.instance, ve());
|
|
3131
3131
|
const s = (l) => {
|
|
3132
|
-
const c =
|
|
3132
|
+
const c = we[l.key];
|
|
3133
3133
|
if (!c) {
|
|
3134
3134
|
console.assert(!1, `element not found key=${l.key}`);
|
|
3135
3135
|
return;
|
|
@@ -3173,15 +3173,15 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
|
|
|
3173
3173
|
refContext: {}
|
|
3174
3174
|
},
|
|
3175
3175
|
setup(t) {
|
|
3176
|
-
const n = bt(), e = t, { node: o } =
|
|
3176
|
+
const n = bt(), e = t, { node: o } = L(e), s = Qe(), i = re(), l = ie();
|
|
3177
3177
|
Le(l);
|
|
3178
3178
|
const c = w(() => e.refContext?.compId);
|
|
3179
3179
|
et(c, l);
|
|
3180
|
-
const { applySize: m } =
|
|
3180
|
+
const { applySize: m } = ge(e, o), u = w(() => {
|
|
3181
3181
|
const h = {};
|
|
3182
3182
|
return l.value?.type === "common" && m(h), h;
|
|
3183
3183
|
}), { position: d, rotation: p, scale: f } = ue(o), { property: g } = a(o, ["instances"]), _ = (h, v) => {
|
|
3184
|
-
h.findIndex((
|
|
3184
|
+
h.findIndex((V) => V === v) >= 0 || h.push(v);
|
|
3185
3185
|
}, I = w(() => {
|
|
3186
3186
|
const h = [];
|
|
3187
3187
|
if (!Array.isArray(g.value))
|
|
@@ -3204,7 +3204,7 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
|
|
|
3204
3204
|
console.assert(!1, "invalid of data");
|
|
3205
3205
|
return;
|
|
3206
3206
|
}
|
|
3207
|
-
const { i18n: h } =
|
|
3207
|
+
const { i18n: h } = _e;
|
|
3208
3208
|
if (Ye(e.refContext, s))
|
|
3209
3209
|
return i.value.type === "common" ? K(
|
|
3210
3210
|
"div",
|
|
@@ -3237,7 +3237,7 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
|
|
|
3237
3237
|
style: u.value
|
|
3238
3238
|
},
|
|
3239
3239
|
{
|
|
3240
|
-
default: () => I.value.map((
|
|
3240
|
+
default: () => I.value.map((V) => b(V, v))
|
|
3241
3241
|
}
|
|
3242
3242
|
);
|
|
3243
3243
|
if (v === "scene")
|
|
@@ -3250,7 +3250,7 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
|
|
|
3250
3250
|
scale: f.value
|
|
3251
3251
|
},
|
|
3252
3252
|
{
|
|
3253
|
-
default: () => I.value.map((
|
|
3253
|
+
default: () => I.value.map((V) => b(V, v))
|
|
3254
3254
|
}
|
|
3255
3255
|
);
|
|
3256
3256
|
};
|
|
@@ -3264,15 +3264,15 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
|
|
|
3264
3264
|
refContext: {}
|
|
3265
3265
|
},
|
|
3266
3266
|
setup(t) {
|
|
3267
|
-
const n = bt(), e = t, { node: o } =
|
|
3267
|
+
const n = bt(), e = t, { node: o } = L(e), s = Z(), i = Qe(), l = re(), c = ie();
|
|
3268
3268
|
Le(c);
|
|
3269
3269
|
const m = w(() => e.refContext?.compId);
|
|
3270
|
-
et(m, c), le(s) && tt(c, "ref", e.nodeId, "",
|
|
3271
|
-
const { applySize: u } =
|
|
3270
|
+
et(m, c), le(s) && tt(c, "ref", e.nodeId, "", ve());
|
|
3271
|
+
const { applySize: u } = ge(e, o), d = w(() => {
|
|
3272
3272
|
const b = {};
|
|
3273
3273
|
return l.value?.type === "common" && u(b), b;
|
|
3274
3274
|
}), { position: p, rotation: f, scale: g } = ue(o), _ = (b) => {
|
|
3275
|
-
const x =
|
|
3275
|
+
const x = we[b.key];
|
|
3276
3276
|
if (!x) {
|
|
3277
3277
|
console.assert(!1, `element not found key=${b.key}`);
|
|
3278
3278
|
return;
|
|
@@ -3305,7 +3305,7 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
|
|
|
3305
3305
|
console.assert(!1, "invalid of data");
|
|
3306
3306
|
return;
|
|
3307
3307
|
}
|
|
3308
|
-
const { i18n: b } =
|
|
3308
|
+
const { i18n: b } = _e;
|
|
3309
3309
|
if (Ye(e.refContext, i))
|
|
3310
3310
|
return l.value.type === "common" ? K(
|
|
3311
3311
|
"div",
|
|
@@ -3365,9 +3365,9 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
|
|
|
3365
3365
|
refContext: {}
|
|
3366
3366
|
},
|
|
3367
3367
|
setup(t) {
|
|
3368
|
-
const n = t, { node: e } =
|
|
3368
|
+
const n = t, { node: e } = L(n), { property: o } = a(e, ["settings", "open"]);
|
|
3369
3369
|
return (s, i) => (k(), C(r(H), null, {
|
|
3370
|
-
default:
|
|
3370
|
+
default: P(() => [
|
|
3371
3371
|
r(o) ? F(s.$slots, "default", { key: 0 }) : se("", !0)
|
|
3372
3372
|
]),
|
|
3373
3373
|
_: 3
|
|
@@ -3381,16 +3381,16 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
|
|
|
3381
3381
|
refContext: {}
|
|
3382
3382
|
},
|
|
3383
3383
|
setup(t) {
|
|
3384
|
-
const n = bt(), e = t, { node: o } =
|
|
3384
|
+
const n = bt(), e = t, { node: o } = L(e), s = Z(), i = Qe(), l = re(), c = ie();
|
|
3385
3385
|
Le(c);
|
|
3386
3386
|
const m = w(() => e.refContext?.compId);
|
|
3387
|
-
et(m, c), le(s) && tt(c, "slot", e.nodeId, "",
|
|
3388
|
-
const { applySize: u } =
|
|
3387
|
+
et(m, c), le(s) && tt(c, "slot", e.nodeId, "", ve());
|
|
3388
|
+
const { applySize: u } = ge(e, o), d = w(() => {
|
|
3389
3389
|
const b = {};
|
|
3390
3390
|
return c.value?.type === "common" && u(b), b;
|
|
3391
3391
|
}), { position: p, rotation: f, scale: g } = ue(o);
|
|
3392
3392
|
function _(b) {
|
|
3393
|
-
const x =
|
|
3393
|
+
const x = we[b.key];
|
|
3394
3394
|
if (!x) {
|
|
3395
3395
|
console.assert(!1, `element not found key=${b.key}`);
|
|
3396
3396
|
return;
|
|
@@ -3424,7 +3424,7 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
|
|
|
3424
3424
|
console.assert(!1, "invalid of data");
|
|
3425
3425
|
return;
|
|
3426
3426
|
}
|
|
3427
|
-
const { i18n: b } =
|
|
3427
|
+
const { i18n: b } = _e;
|
|
3428
3428
|
if (Ye(e.refContext, i))
|
|
3429
3429
|
return l.value.type === "common" ? K(
|
|
3430
3430
|
"div",
|
|
@@ -3905,8 +3905,8 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
|
|
|
3905
3905
|
defaultArray: []
|
|
3906
3906
|
}
|
|
3907
3907
|
]
|
|
3908
|
-
},
|
|
3909
|
-
|
|
3908
|
+
}, we = {}, S = (t) => {
|
|
3909
|
+
we[t.key] = t;
|
|
3910
3910
|
}, $n = {
|
|
3911
3911
|
key: "settings",
|
|
3912
3912
|
name: "x-runtime-lib.settings",
|
|
@@ -8944,7 +8944,7 @@ function Vu(t, n, e, o, s) {
|
|
|
8944
8944
|
console.error(`spawnNode [ref] element not found in pkg, ${i}`);
|
|
8945
8945
|
return;
|
|
8946
8946
|
}
|
|
8947
|
-
const d =
|
|
8947
|
+
const d = we[m];
|
|
8948
8948
|
if (!d) {
|
|
8949
8949
|
console.error(`spawnNode [ref] element not found in global, ${i}`);
|
|
8950
8950
|
return;
|
|
@@ -8967,7 +8967,7 @@ function Vu(t, n, e, o, s) {
|
|
|
8967
8967
|
console.error(`spawnNode [key] element not found in pkg, ${i}`);
|
|
8968
8968
|
return;
|
|
8969
8969
|
}
|
|
8970
|
-
const u =
|
|
8970
|
+
const u = we[m];
|
|
8971
8971
|
if (!u) {
|
|
8972
8972
|
console.error(`spawnNode [key] element not found in global, ${i}`);
|
|
8973
8973
|
return;
|
|
@@ -9026,70 +9026,70 @@ function Lu(t) {
|
|
|
9026
9026
|
}
|
|
9027
9027
|
const No = "runtimeOrg", jo = "runtimeEnv", Go = "runtimeMode", Ho = "runtimeDevice", Jo = "runtimeDark", Uo = "runtimeId", qo = "runtimeType", Xo = "runtimeData", Yo = "runtimeDepends", Zo = "runtimeRuntime", Qo = "runtimeSandbox";
|
|
9028
9028
|
function zu(t) {
|
|
9029
|
-
|
|
9029
|
+
be(No, t);
|
|
9030
9030
|
}
|
|
9031
9031
|
function Fc() {
|
|
9032
|
-
return
|
|
9032
|
+
return ye(No);
|
|
9033
9033
|
}
|
|
9034
9034
|
function Tu(t) {
|
|
9035
|
-
|
|
9035
|
+
be(jo, t);
|
|
9036
9036
|
}
|
|
9037
9037
|
function Nc() {
|
|
9038
|
-
return
|
|
9038
|
+
return ye(jo);
|
|
9039
9039
|
}
|
|
9040
9040
|
function Eu(t) {
|
|
9041
|
-
|
|
9041
|
+
be(Go, t);
|
|
9042
9042
|
}
|
|
9043
9043
|
function Z() {
|
|
9044
|
-
return
|
|
9044
|
+
return ye(Go);
|
|
9045
9045
|
}
|
|
9046
9046
|
function Au(t) {
|
|
9047
|
-
|
|
9047
|
+
be(Ho, rn(t));
|
|
9048
9048
|
}
|
|
9049
9049
|
function Fe() {
|
|
9050
|
-
return
|
|
9050
|
+
return ye(Ho);
|
|
9051
9051
|
}
|
|
9052
9052
|
function Mu(t) {
|
|
9053
|
-
|
|
9053
|
+
be(Jo, rn(t));
|
|
9054
9054
|
}
|
|
9055
9055
|
function Ze() {
|
|
9056
|
-
return
|
|
9056
|
+
return ye(Jo);
|
|
9057
9057
|
}
|
|
9058
9058
|
function Wu(t) {
|
|
9059
|
-
|
|
9059
|
+
be(Uo, t);
|
|
9060
9060
|
}
|
|
9061
9061
|
function Qe() {
|
|
9062
|
-
return
|
|
9062
|
+
return ye(Uo);
|
|
9063
9063
|
}
|
|
9064
9064
|
function Bu(t) {
|
|
9065
|
-
|
|
9065
|
+
be(qo, t);
|
|
9066
9066
|
}
|
|
9067
|
-
function
|
|
9068
|
-
return
|
|
9067
|
+
function $e() {
|
|
9068
|
+
return ye(qo);
|
|
9069
9069
|
}
|
|
9070
9070
|
function Le(t) {
|
|
9071
|
-
|
|
9071
|
+
be(Xo, t);
|
|
9072
9072
|
}
|
|
9073
9073
|
function re() {
|
|
9074
|
-
return
|
|
9074
|
+
return ye(Xo);
|
|
9075
9075
|
}
|
|
9076
9076
|
function Ru(t) {
|
|
9077
|
-
|
|
9077
|
+
be(Yo, rn(t));
|
|
9078
9078
|
}
|
|
9079
9079
|
function jc() {
|
|
9080
|
-
return
|
|
9080
|
+
return ye(Yo);
|
|
9081
9081
|
}
|
|
9082
9082
|
function Ku(t) {
|
|
9083
|
-
|
|
9083
|
+
be(Zo, t);
|
|
9084
9084
|
}
|
|
9085
9085
|
function Gc() {
|
|
9086
|
-
return
|
|
9086
|
+
return ye(Zo);
|
|
9087
9087
|
}
|
|
9088
9088
|
function Hc(t) {
|
|
9089
|
-
|
|
9089
|
+
be(Qo, t);
|
|
9090
9090
|
}
|
|
9091
|
-
function
|
|
9092
|
-
return
|
|
9091
|
+
function ve() {
|
|
9092
|
+
return ye(Qo, void 0);
|
|
9093
9093
|
}
|
|
9094
9094
|
function je(t) {
|
|
9095
9095
|
const n = [t.type];
|
|
@@ -9113,14 +9113,14 @@ function ct(t, n, e, o, s) {
|
|
|
9113
9113
|
for (const p of m)
|
|
9114
9114
|
if (e === je(p)) {
|
|
9115
9115
|
if (p.subKeys) {
|
|
9116
|
-
if (!
|
|
9116
|
+
if (!pe(
|
|
9117
9117
|
Ce(o, p.subKeys),
|
|
9118
9118
|
Ce(s, p.subKeys)
|
|
9119
9119
|
)) {
|
|
9120
9120
|
u = p;
|
|
9121
9121
|
break;
|
|
9122
9122
|
}
|
|
9123
|
-
} else if (!
|
|
9123
|
+
} else if (!pe(o, s)) {
|
|
9124
9124
|
u = p;
|
|
9125
9125
|
break;
|
|
9126
9126
|
}
|
|
@@ -9148,7 +9148,7 @@ function ct(t, n, e, o, s) {
|
|
|
9148
9148
|
continue;
|
|
9149
9149
|
}
|
|
9150
9150
|
const g = Ce(f, p.subKeys);
|
|
9151
|
-
if (
|
|
9151
|
+
if (pe(d, g))
|
|
9152
9152
|
continue;
|
|
9153
9153
|
const _ = O(f);
|
|
9154
9154
|
an(_, p.subKeys, O(d)), p.type === "elementProperty" ? t.setElementProperty(
|
|
@@ -9173,7 +9173,7 @@ function ct(t, n, e, o, s) {
|
|
|
9173
9173
|
console.assert(!1);
|
|
9174
9174
|
continue;
|
|
9175
9175
|
}
|
|
9176
|
-
if (
|
|
9176
|
+
if (pe(d, f))
|
|
9177
9177
|
continue;
|
|
9178
9178
|
p.type === "elementProperty" ? t.setElementProperty(
|
|
9179
9179
|
p.nodeId,
|
|
@@ -9313,7 +9313,7 @@ function em(t) {
|
|
|
9313
9313
|
}
|
|
9314
9314
|
function et(t, n) {
|
|
9315
9315
|
const e = jc(), o = ie(-1);
|
|
9316
|
-
|
|
9316
|
+
ke(() => {
|
|
9317
9317
|
if (!t.value) {
|
|
9318
9318
|
o.value = -1, n.value = void 0;
|
|
9319
9319
|
return;
|
|
@@ -9329,7 +9329,7 @@ function et(t, n) {
|
|
|
9329
9329
|
function tm() {
|
|
9330
9330
|
let t;
|
|
9331
9331
|
const n = async () => (t = (await Pi()).newRuntime(), console.log("runtime created"), t);
|
|
9332
|
-
return
|
|
9332
|
+
return Ie(() => {
|
|
9333
9333
|
t && (t.dispose(), console.log("runtime dispose"));
|
|
9334
9334
|
}), { createRuntime: n };
|
|
9335
9335
|
}
|
|
@@ -9413,8 +9413,9 @@ function Xc(t) {
|
|
|
9413
9413
|
if (Be(t)) {
|
|
9414
9414
|
var l = [];
|
|
9415
9415
|
try {
|
|
9416
|
-
const d =
|
|
9417
|
-
n.callFunction(d, n.
|
|
9416
|
+
const d = me(l, n.getProp(n.global, "__timeoutCallback__"));
|
|
9417
|
+
n.callFunction(d, n.undefined, n.newNumber(s)).unwrap().dispose();
|
|
9418
|
+
n.runtime.executePendingJobs();
|
|
9418
9419
|
} catch (c) {
|
|
9419
9420
|
var m = c, u = !0;
|
|
9420
9421
|
} finally {
|
|
@@ -9432,7 +9433,7 @@ function Xc(t) {
|
|
|
9432
9433
|
const ei = ai({
|
|
9433
9434
|
baseUrl: "http://localhost/computebase/",
|
|
9434
9435
|
onError: (t) => {
|
|
9435
|
-
const { i18n: n } =
|
|
9436
|
+
const { i18n: n } = _e;
|
|
9436
9437
|
zo(Ti(n, t));
|
|
9437
9438
|
}
|
|
9438
9439
|
});
|
|
@@ -9480,56 +9481,79 @@ function eu(t) {
|
|
|
9480
9481
|
return;
|
|
9481
9482
|
}
|
|
9482
9483
|
const { vm: n } = t;
|
|
9483
|
-
n.newFunction(
|
|
9484
|
-
|
|
9485
|
-
|
|
9486
|
-
|
|
9487
|
-
|
|
9488
|
-
|
|
9489
|
-
|
|
9490
|
-
|
|
9491
|
-
|
|
9492
|
-
|
|
9484
|
+
n.newFunction(
|
|
9485
|
+
"__triggerEventV1__",
|
|
9486
|
+
(e, o, ...s) => {
|
|
9487
|
+
{
|
|
9488
|
+
var m = [];
|
|
9489
|
+
try {
|
|
9490
|
+
const V = me(m, n.getProp(n.global, "__triggerEventInner__"));
|
|
9491
|
+
n.callFunction(
|
|
9492
|
+
V,
|
|
9493
|
+
n.undefined,
|
|
9494
|
+
e,
|
|
9495
|
+
o,
|
|
9496
|
+
...s
|
|
9497
|
+
).unwrap().dispose();
|
|
9498
|
+
n.runtime.executePendingJobs();
|
|
9499
|
+
} catch (u) {
|
|
9500
|
+
var d = u, p = !0;
|
|
9501
|
+
} finally {
|
|
9502
|
+
Se(m, d, p);
|
|
9503
|
+
}
|
|
9493
9504
|
}
|
|
9494
|
-
|
|
9495
|
-
|
|
9496
|
-
|
|
9497
|
-
|
|
9498
|
-
|
|
9499
|
-
|
|
9500
|
-
|
|
9501
|
-
|
|
9502
|
-
|
|
9503
|
-
|
|
9504
|
-
|
|
9505
|
-
|
|
9506
|
-
|
|
9507
|
-
|
|
9508
|
-
|
|
9509
|
-
|
|
9510
|
-
|
|
9505
|
+
const i = n.getString(e), { kind: l, eventKey: c } = qc(i);
|
|
9506
|
+
if (l === "customEvent") {
|
|
9507
|
+
const { vm: V } = t.parent;
|
|
9508
|
+
if (V) {
|
|
9509
|
+
{
|
|
9510
|
+
var f = [];
|
|
9511
|
+
try {
|
|
9512
|
+
const T = me(f, V.getProp(V.global, "__triggerEventV1__"));
|
|
9513
|
+
const j = me(f, V.newString(
|
|
9514
|
+
ae("refEvent", t.nodeId, c)
|
|
9515
|
+
));
|
|
9516
|
+
const U = me(f, V.newString(""));
|
|
9517
|
+
V.callFunction(
|
|
9518
|
+
T,
|
|
9519
|
+
V.undefined,
|
|
9520
|
+
j,
|
|
9521
|
+
U,
|
|
9522
|
+
...s
|
|
9523
|
+
).unwrap().dispose();
|
|
9524
|
+
V.runtime.executePendingJobs();
|
|
9525
|
+
} catch (g) {
|
|
9526
|
+
var _ = g, I = !0;
|
|
9527
|
+
} finally {
|
|
9528
|
+
Se(f, _, I);
|
|
9529
|
+
}
|
|
9511
9530
|
}
|
|
9512
|
-
|
|
9513
|
-
|
|
9514
|
-
|
|
9515
|
-
|
|
9516
|
-
|
|
9517
|
-
|
|
9518
|
-
|
|
9519
|
-
|
|
9520
|
-
|
|
9521
|
-
|
|
9522
|
-
|
|
9523
|
-
|
|
9531
|
+
{
|
|
9532
|
+
var b = [];
|
|
9533
|
+
try {
|
|
9534
|
+
const T = me(b, V.getProp(V.global, "__triggerEventV1__"));
|
|
9535
|
+
const j = me(b, V.newString(
|
|
9536
|
+
ae("multipleRefEvent", t.nodeId, c)
|
|
9537
|
+
));
|
|
9538
|
+
const U = me(b, V.newString(t.instance));
|
|
9539
|
+
V.callFunction(
|
|
9540
|
+
T,
|
|
9541
|
+
V.undefined,
|
|
9542
|
+
j,
|
|
9543
|
+
U,
|
|
9544
|
+
...s
|
|
9545
|
+
).unwrap().dispose();
|
|
9546
|
+
V.runtime.executePendingJobs();
|
|
9547
|
+
} catch (x) {
|
|
9548
|
+
var h = x, v = !0;
|
|
9549
|
+
} finally {
|
|
9550
|
+
Se(b, h, v);
|
|
9551
|
+
}
|
|
9524
9552
|
}
|
|
9525
9553
|
}
|
|
9526
|
-
} catch (z) {
|
|
9527
|
-
var T = z, G = !0;
|
|
9528
|
-
} finally {
|
|
9529
|
-
Se(v, T, G);
|
|
9530
9554
|
}
|
|
9531
9555
|
}
|
|
9532
|
-
|
|
9556
|
+
).consume((e) => n.setProp(n.global, "__triggerEventV1__", e)), n.newFunction("__getPropertyV1__", (e, o) => {
|
|
9533
9557
|
const s = n.getString(e), i = n.getString(o), { kind: l, nodeId: c, propertyKey: m } = ko(s);
|
|
9534
9558
|
let u;
|
|
9535
9559
|
if (l === "elementProperty")
|
|
@@ -9620,9 +9644,9 @@ function eu(t) {
|
|
|
9620
9644
|
appId: `${s}${t.env}`,
|
|
9621
9645
|
pageId: i
|
|
9622
9646
|
};
|
|
9623
|
-
|
|
9647
|
+
_e.router.replace({ path: l, query: c });
|
|
9624
9648
|
} else t.mode === "preview" && Lo(
|
|
9625
|
-
|
|
9649
|
+
_e.i18n.global.t(
|
|
9626
9650
|
"x-runtime-lib.msg.takeEffectOnlyAfterReleased"
|
|
9627
9651
|
)
|
|
9628
9652
|
);
|
|
@@ -9666,7 +9690,7 @@ function __onEventV1__(id, callback) {
|
|
|
9666
9690
|
callbacks.push(callback)
|
|
9667
9691
|
}
|
|
9668
9692
|
|
|
9669
|
-
function __triggerEventInner__(id, ...params) {
|
|
9693
|
+
async function __triggerEventInner__(id, ...params) {
|
|
9670
9694
|
if (typeof(id) !== 'string' || !id) {
|
|
9671
9695
|
return
|
|
9672
9696
|
}
|
|
@@ -9678,7 +9702,7 @@ function __triggerEventInner__(id, ...params) {
|
|
|
9678
9702
|
return
|
|
9679
9703
|
}
|
|
9680
9704
|
for (let i = 0; i < callbacks.length; i++) {
|
|
9681
|
-
callbacks[i](...params)
|
|
9705
|
+
await callbacks[i](...params)
|
|
9682
9706
|
}
|
|
9683
9707
|
}
|
|
9684
9708
|
|
|
@@ -9704,7 +9728,7 @@ function __createTimerV1__(interval, loop, count, immediate, callback) {
|
|
|
9704
9728
|
}
|
|
9705
9729
|
}
|
|
9706
9730
|
|
|
9707
|
-
function __timeoutCallback__(timerId) {
|
|
9731
|
+
async function __timeoutCallback__(timerId) {
|
|
9708
9732
|
const timer = __timers__[timerId]
|
|
9709
9733
|
if (timer) {
|
|
9710
9734
|
timer.callback()
|
|
@@ -9714,7 +9738,7 @@ function __timeoutCallback__(timerId) {
|
|
|
9714
9738
|
}
|
|
9715
9739
|
// 触发超时
|
|
9716
9740
|
if (timer.loop || timer.count > 0) {
|
|
9717
|
-
__timeoutV1__(timer.id, timer.interval)
|
|
9741
|
+
await __timeoutV1__(timer.id, timer.interval)
|
|
9718
9742
|
}
|
|
9719
9743
|
// 回收
|
|
9720
9744
|
if (!timer.loop && timer.count <= 0) {
|
|
@@ -9795,23 +9819,26 @@ class iu {
|
|
|
9795
9819
|
this.callFunction("__destroy__"), this.promiseManager && (this.promiseManager.dispose(), this.promiseManager = void 0), this.vm && (this.vm.dispose(), this.vm = void 0);
|
|
9796
9820
|
}
|
|
9797
9821
|
callFunction(n, ...e) {
|
|
9798
|
-
|
|
9799
|
-
|
|
9800
|
-
|
|
9801
|
-
|
|
9802
|
-
|
|
9803
|
-
|
|
9804
|
-
const s = this.vm.getProp(this.vm.global, n);
|
|
9805
|
-
if (this.vm.typeof(s) !== "function") {
|
|
9806
|
-
console.error(
|
|
9807
|
-
`Sandbox/callFunction ${n}(${o}) not available`
|
|
9822
|
+
var i = [];
|
|
9823
|
+
try {
|
|
9824
|
+
if (!this.vm)
|
|
9825
|
+
return;
|
|
9826
|
+
this.debugTrace(
|
|
9827
|
+
`call ${n}(${e.map((u) => JSON.stringify(u)).join(", ")})`
|
|
9808
9828
|
);
|
|
9809
|
-
|
|
9829
|
+
const o = me(i, this.vm.getProp(this.vm.global, n));
|
|
9830
|
+
if (this.vm.typeof(o) !== "function") {
|
|
9831
|
+
console.error(`Sandbox/callFunction ${n} not available`);
|
|
9832
|
+
return;
|
|
9833
|
+
}
|
|
9834
|
+
const s = e.map((u) => Ee(this.vm, u));
|
|
9835
|
+
this.vm.callFunction(o, this.vm.undefined, ...s).unwrap().dispose();
|
|
9836
|
+
s.forEach((u) => u.dispose());
|
|
9837
|
+
} catch (l) {
|
|
9838
|
+
var c = l, m = !0;
|
|
9839
|
+
} finally {
|
|
9840
|
+
Se(i, c, m);
|
|
9810
9841
|
}
|
|
9811
|
-
const i = [];
|
|
9812
|
-
for (const l of e)
|
|
9813
|
-
i.push(Ee(this.vm, l));
|
|
9814
|
-
this.vm.callFunction(s, this.vm.undefined, ...i).unwrap().dispose(), i.forEach((l) => l.dispose()), s.dispose();
|
|
9815
9842
|
}
|
|
9816
9843
|
//--------------------------
|
|
9817
9844
|
// 元素属性
|
|
@@ -9844,7 +9871,7 @@ class iu {
|
|
|
9844
9871
|
return;
|
|
9845
9872
|
}
|
|
9846
9873
|
const i = Ce(s, e);
|
|
9847
|
-
|
|
9874
|
+
pe(o, i) || (an(s, e, o), this.hooks?.onElementPropertyChange(
|
|
9848
9875
|
s.basic.id,
|
|
9849
9876
|
e,
|
|
9850
9877
|
o,
|
|
@@ -9863,7 +9890,7 @@ class iu {
|
|
|
9863
9890
|
}
|
|
9864
9891
|
setCustomProperty(n, e) {
|
|
9865
9892
|
const o = this.customProperties[n];
|
|
9866
|
-
|
|
9893
|
+
pe(e, o) || (this.customProperties[n] = e, this.hooks?.onCustomPropertyChange(n, e, o));
|
|
9867
9894
|
}
|
|
9868
9895
|
//--------------------------
|
|
9869
9896
|
// 自定义插槽属性
|
|
@@ -9877,7 +9904,7 @@ class iu {
|
|
|
9877
9904
|
}
|
|
9878
9905
|
setCustomSlotProperty(n, e) {
|
|
9879
9906
|
const o = this.customSlotProperties[n];
|
|
9880
|
-
|
|
9907
|
+
pe(e, o) || (this.customSlotProperties[n] = e, this.hooks.onCustomSlotPropetyChange(n, e, o));
|
|
9881
9908
|
}
|
|
9882
9909
|
//--------------------------
|
|
9883
9910
|
// 元素方法
|
|
@@ -9893,7 +9920,7 @@ class iu {
|
|
|
9893
9920
|
var c = [];
|
|
9894
9921
|
try {
|
|
9895
9922
|
const s = `__implementMethod$${n}__`;
|
|
9896
|
-
const i =
|
|
9923
|
+
const i = me(c, this.vm.getProp(this.vm.global, s));
|
|
9897
9924
|
if (this.vm.typeof(i) !== "function")
|
|
9898
9925
|
return console.error(`Sandbox/callCustomMethod ${s} not available`), this.vm.undefined;
|
|
9899
9926
|
const l = this.vm.callFunction(
|
|
@@ -9922,21 +9949,21 @@ class iu {
|
|
|
9922
9949
|
}
|
|
9923
9950
|
setState(n, e) {
|
|
9924
9951
|
const o = this.states[n];
|
|
9925
|
-
|
|
9952
|
+
pe(e, o) || (this.states[n] = e, this.hooks?.onStateChange(n, e, o));
|
|
9926
9953
|
}
|
|
9927
9954
|
}
|
|
9928
9955
|
function tt(t, n, e, o, s) {
|
|
9929
|
-
const i = Fc(), l = Nc(), c = Z(), m =
|
|
9956
|
+
const i = Fc(), l = Nc(), c = Z(), m = $e(), u = Fe(), d = Ze(), p = Gc(), f = (x, h, v, V) => {
|
|
9930
9957
|
if (le(c)) {
|
|
9931
|
-
if (
|
|
9958
|
+
if (pe(h, ["settings", "slot"])) {
|
|
9932
9959
|
const T = t.value?.view.nodeLites.find(
|
|
9933
|
-
(
|
|
9960
|
+
(j) => j.id === x
|
|
9934
9961
|
);
|
|
9935
9962
|
T ? T.slotId = v : console.assert(!1);
|
|
9936
9963
|
}
|
|
9937
|
-
if (
|
|
9964
|
+
if (pe(h, ["settings", "comp"])) {
|
|
9938
9965
|
const T = t.value?.view.nodeLites.find(
|
|
9939
|
-
(
|
|
9966
|
+
(j) => j.id === x
|
|
9940
9967
|
);
|
|
9941
9968
|
T ? T.compId = v : console.assert(!1);
|
|
9942
9969
|
}
|
|
@@ -9944,7 +9971,7 @@ function tt(t, n, e, o, s) {
|
|
|
9944
9971
|
"__triggerEventV1__",
|
|
9945
9972
|
ae("elementPropertyChangeEvent", x, h.join(".")),
|
|
9946
9973
|
v,
|
|
9947
|
-
|
|
9974
|
+
V ?? v
|
|
9948
9975
|
), t.value?.code.reactivity) {
|
|
9949
9976
|
let T = "";
|
|
9950
9977
|
h instanceof Array ? T = h.join(".") : T = h, ct(
|
|
@@ -9956,7 +9983,7 @@ function tt(t, n, e, o, s) {
|
|
|
9956
9983
|
propertyKeys: T
|
|
9957
9984
|
}),
|
|
9958
9985
|
v,
|
|
9959
|
-
|
|
9986
|
+
V
|
|
9960
9987
|
);
|
|
9961
9988
|
}
|
|
9962
9989
|
}
|
|
@@ -10024,29 +10051,29 @@ function tt(t, n, e, o, s) {
|
|
|
10024
10051
|
onStateChange: I
|
|
10025
10052
|
}
|
|
10026
10053
|
);
|
|
10027
|
-
if (Hc(b),
|
|
10054
|
+
if (Hc(b), Ie(() => {
|
|
10028
10055
|
b.dispose();
|
|
10029
10056
|
}), le(c)) {
|
|
10030
10057
|
const x = async () => {
|
|
10031
10058
|
b.destroyVm(), b.associateData(t), b.resetCustomProperties(), b.resetCustomSlotProperties(), b.resetStates(), !(!t.value || !t.value.code.script) && b.createVm(p, t.value.code.script);
|
|
10032
10059
|
};
|
|
10033
|
-
x(),
|
|
10060
|
+
x(), de(t, () => {
|
|
10034
10061
|
x();
|
|
10035
10062
|
});
|
|
10036
10063
|
}
|
|
10037
|
-
le(c) &&
|
|
10064
|
+
le(c) && de(
|
|
10038
10065
|
u,
|
|
10039
10066
|
(x, h) => {
|
|
10040
|
-
const v = ut(x.width),
|
|
10067
|
+
const v = ut(x.width), V = ut(h?.width ?? x.width);
|
|
10041
10068
|
b.callFunction(
|
|
10042
10069
|
"__triggerEventV1__",
|
|
10043
10070
|
ae("elementEvent", "globality", "screenSizeChange"),
|
|
10044
10071
|
v,
|
|
10045
|
-
|
|
10072
|
+
V
|
|
10046
10073
|
);
|
|
10047
10074
|
},
|
|
10048
10075
|
{ immediate: !0 }
|
|
10049
|
-
), le(c) &&
|
|
10076
|
+
), le(c) && de(
|
|
10050
10077
|
d,
|
|
10051
10078
|
(x) => {
|
|
10052
10079
|
b.callFunction(
|
|
@@ -10058,7 +10085,7 @@ function tt(t, n, e, o, s) {
|
|
|
10058
10085
|
{ immediate: !0 }
|
|
10059
10086
|
);
|
|
10060
10087
|
}
|
|
10061
|
-
function
|
|
10088
|
+
function J() {
|
|
10062
10089
|
const t = Ze();
|
|
10063
10090
|
return { theme: w(() => t.value ? "dark" : "light") };
|
|
10064
10091
|
}
|
|
@@ -10099,7 +10126,7 @@ export {
|
|
|
10099
10126
|
Oc as duplicateNodePair,
|
|
10100
10127
|
Lu as duplicateNodePairs,
|
|
10101
10128
|
wu as elementKeys,
|
|
10102
|
-
|
|
10129
|
+
we as elements,
|
|
10103
10130
|
Cu as fileInputV1,
|
|
10104
10131
|
Rt as flexLayoutEntryV1,
|
|
10105
10132
|
Ue as flexLayoutV1,
|
|
@@ -10127,8 +10154,8 @@ export {
|
|
|
10127
10154
|
Z as injectMode,
|
|
10128
10155
|
Fc as injectOrg,
|
|
10129
10156
|
Gc as injectRuntime,
|
|
10130
|
-
|
|
10131
|
-
|
|
10157
|
+
ve as injectSandbox,
|
|
10158
|
+
$e as injectType,
|
|
10132
10159
|
Ye as isCircularReference,
|
|
10133
10160
|
le as isExecutableMode,
|
|
10134
10161
|
Ri as isLocaleOfEventKind,
|
|
@@ -10228,7 +10255,7 @@ export {
|
|
|
10228
10255
|
et as useDepend,
|
|
10229
10256
|
tm as useRuntime,
|
|
10230
10257
|
tt as useSandbox,
|
|
10231
|
-
|
|
10258
|
+
J as useTheme,
|
|
10232
10259
|
tn as windowItemV1,
|
|
10233
10260
|
nn as windowV1
|
|
10234
10261
|
};
|