x-runtime-lib 0.8.147 → 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 +666 -643
- 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 ve = (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
|
|
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";
|
|
@@ -313,10 +313,10 @@ const wu = [
|
|
|
313
313
|
"scene_spot_light_v1"
|
|
314
314
|
];
|
|
315
315
|
function N(...t) {
|
|
316
|
-
return t.map((n) =>
|
|
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;
|
|
@@ -356,19 +356,19 @@ const Ki = ["position", "ratation", "scale"], Ke = /* @__PURE__ */ $({
|
|
|
356
356
|
Re("TresBoxGeometry", { args: [1, 1, 1] }, null, -1)
|
|
357
357
|
])], 8, Ki)) : se("", !0);
|
|
358
358
|
}
|
|
359
|
-
}),
|
|
359
|
+
}), H = /* @__PURE__ */ $({
|
|
360
360
|
__name: "index",
|
|
361
361
|
props: {
|
|
362
362
|
block: { type: Boolean, default: !1 },
|
|
363
363
|
mask: { type: Boolean, default: !1 }
|
|
364
364
|
},
|
|
365
365
|
setup(t) {
|
|
366
|
-
const n = Z(), e =
|
|
366
|
+
const n = Z(), e = w(() => {
|
|
367
367
|
const s = {
|
|
368
368
|
position: "relative"
|
|
369
369
|
};
|
|
370
370
|
return t.block ? s.display = "block" : s.display = "inline-block", s;
|
|
371
|
-
}), o =
|
|
371
|
+
}), o = w(() => ({
|
|
372
372
|
position: "absolute",
|
|
373
373
|
top: 0,
|
|
374
374
|
left: 0,
|
|
@@ -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,9 +395,9 @@ 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);
|
|
@@ -406,9 +406,9 @@ function P(t) {
|
|
|
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
|
-
const s =
|
|
411
|
+
const s = w(() => Jc("elementMethod", t, n));
|
|
412
412
|
ni(() => {
|
|
413
413
|
o.eventBus?.on(s.value, e);
|
|
414
414
|
}), Ie(() => {
|
|
@@ -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 =
|
|
433
|
+
const o = ve(), s = ie();
|
|
434
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) {
|
|
@@ -478,7 +478,7 @@ function ue(t) {
|
|
|
478
478
|
}), { position: d, rotation: p, scale: f };
|
|
479
479
|
}
|
|
480
480
|
function Bo(t) {
|
|
481
|
-
const n =
|
|
481
|
+
const n = w(() => t.value.legend?.show), e = w(() => t.value.legend?.data);
|
|
482
482
|
function o(s) {
|
|
483
483
|
s.legend = {
|
|
484
484
|
show: n.value,
|
|
@@ -488,14 +488,14 @@ function Bo(t) {
|
|
|
488
488
|
return { show: n, data: e, applyLegend: o };
|
|
489
489
|
}
|
|
490
490
|
function Ro(t) {
|
|
491
|
-
const n =
|
|
491
|
+
const n = w(() => t.value.series);
|
|
492
492
|
function e(o) {
|
|
493
493
|
o.series = n.value;
|
|
494
494
|
}
|
|
495
495
|
return { series: n, applySeries: e };
|
|
496
496
|
}
|
|
497
497
|
function Ko(t) {
|
|
498
|
-
const n =
|
|
498
|
+
const n = w(() => t.value.title?.show), e = w(() => t.value.title?.text), o = w(() => t.value.title?.subtext);
|
|
499
499
|
function s(i) {
|
|
500
500
|
i.title = {
|
|
501
501
|
show: n.value,
|
|
@@ -506,7 +506,7 @@ function Ko(t) {
|
|
|
506
506
|
return { show: n, text: e, subtext: o, applyTitle: s };
|
|
507
507
|
}
|
|
508
508
|
function Do(t) {
|
|
509
|
-
const n =
|
|
509
|
+
const n = w(() => t.value.xAxis?.show), e = w(() => t.value.xAxis?.position), o = w(() => t.value.xAxis?.type), s = w(() => t.value.xAxis?.data);
|
|
510
510
|
function i(l) {
|
|
511
511
|
l.xAxis = {
|
|
512
512
|
show: n.value,
|
|
@@ -518,7 +518,7 @@ function Do(t) {
|
|
|
518
518
|
return { show: n, position: e, type: o, data: s, applyXAxis: i };
|
|
519
519
|
}
|
|
520
520
|
function Oo(t) {
|
|
521
|
-
const n =
|
|
521
|
+
const n = w(() => t.value.yAxis?.show), e = w(() => t.value.yAxis?.position), o = w(() => t.value.yAxis?.type), s = w(() => t.value.yAxis?.data);
|
|
522
522
|
function i(l) {
|
|
523
523
|
l.yAxis = {
|
|
524
524
|
show: n.value,
|
|
@@ -530,55 +530,55 @@ function Oo(t) {
|
|
|
530
530
|
return { show: n, position: e, type: o, data: s, applyYAxis: i };
|
|
531
531
|
}
|
|
532
532
|
function Q(t) {
|
|
533
|
-
const { computedThemes: n } = zi(), e = Ze(), o =
|
|
533
|
+
const { computedThemes: n } = zi(), e = Ze(), o = w(() => t.value?.mode), s = w(() => {
|
|
534
534
|
const u = t.value?.theme;
|
|
535
535
|
return u ? u === "background0" ? e.value ? "#2e2e2e" : "#bdbdbd" : u === "background1" ? e.value ? "#272727" : "#eeeeee" : u === "background2" ? e.value ? "#1e1e1e" : "#ffffff" : (e.value ? n.value.dark : n.value.light).colors[u] : void 0;
|
|
536
|
-
}), i =
|
|
536
|
+
}), i = w(() => e.value ? t.value.custom?.dark : t.value.custom?.light), l = w(() => o.value === "theme" ? s.value ?? "" : o.value === "custom" ? i.value ?? "" : ""), c = w(() => {
|
|
537
537
|
const u = l.value;
|
|
538
538
|
return !u.startsWith("#") || u.length < 7 ? "" : u.substring(0, 7);
|
|
539
|
-
}), m =
|
|
539
|
+
}), m = w(() => {
|
|
540
540
|
const u = l.value;
|
|
541
541
|
return u.startsWith("#") ? u.length < 9 ? 1 : parseInt(u.substring(7, 9)) / 255 : 0;
|
|
542
542
|
});
|
|
543
543
|
return { color: l, rgb: c, alpha: m };
|
|
544
544
|
}
|
|
545
545
|
function un(t) {
|
|
546
|
-
const n =
|
|
546
|
+
const n = w(() => t.value.border?.style), e = w(() => t.value.border?.width), o = w(() => t.value.border?.color), { color: s } = Q(o), i = w(() => t.value.border?.roundRadius?.tl), l = w(() => t.value.border?.roundRadius?.tr), c = w(() => t.value.border?.roundRadius?.bl), m = w(() => t.value.border?.roundRadius?.br);
|
|
547
547
|
function u(d) {
|
|
548
548
|
n.value && (d.borderStyle = n.value), e.value && (d.borderWidth = e.value), s.value && (d.borderColor = s.value), i.value && (d.borderTopLeftRadius = i.value), l.value && (d.borderTopRightRadius = l.value), c.value && (d.borderBottomLeftRadius = c.value), m.value && (d.borderBottomRightRadius = m.value);
|
|
549
549
|
}
|
|
550
550
|
return { borderStyle: n, borderWidth: e, borderColor: s, applyBorder: u };
|
|
551
551
|
}
|
|
552
552
|
function mn(t) {
|
|
553
|
-
const n =
|
|
553
|
+
const n = w(() => t.value.margin?.top), e = w(() => t.value.margin?.left), o = w(() => t.value.margin?.bottom), s = w(() => t.value.margin?.right);
|
|
554
554
|
function i(l) {
|
|
555
555
|
n.value && (l.marginTop = n.value), e.value && (l.marginLeft = e.value), o.value && (l.marginBottom = o.value), s.value && (l.marginRight = s.value);
|
|
556
556
|
}
|
|
557
557
|
return { marginTop: n, marginLeft: e, marginBottom: o, marginRight: s, applyMargin: i };
|
|
558
558
|
}
|
|
559
559
|
function pn(t) {
|
|
560
|
-
const n =
|
|
560
|
+
const n = w(() => t.value.padding?.top), e = w(() => t.value.padding?.left), o = w(() => t.value.padding?.bottom), s = w(() => t.value.padding?.right);
|
|
561
561
|
function i(l) {
|
|
562
562
|
n.value && (l.paddingTop = n.value), e.value && (l.paddingLeft = e.value), o.value && (l.paddingBottom = o.value), s.value && (l.paddingRight = s.value);
|
|
563
563
|
}
|
|
564
564
|
return { paddingTop: n, paddingLeft: e, paddingBottom: o, paddingRight: s, applyPadding: i };
|
|
565
565
|
}
|
|
566
|
-
function
|
|
567
|
-
const e = Z(), o = Fe(), s =
|
|
566
|
+
function ge(t, n) {
|
|
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);
|
|
570
570
|
if (p)
|
|
571
571
|
return p / 100 * o.value.height + "px";
|
|
572
572
|
}
|
|
573
573
|
return n.value.size?.height;
|
|
574
|
-
}), m =
|
|
574
|
+
}), m = w(() => {
|
|
575
575
|
if (t.outer && e === "editor") {
|
|
576
576
|
const p = wt(n.value.size?.minHeight);
|
|
577
577
|
if (p)
|
|
578
578
|
return p / 100 * o.value.height + "px";
|
|
579
579
|
}
|
|
580
580
|
return n.value.size?.minHeight;
|
|
581
|
-
}), u =
|
|
581
|
+
}), u = w(() => {
|
|
582
582
|
if (t.outer && e === "editor") {
|
|
583
583
|
const p = wt(n.value.size?.maxHeight);
|
|
584
584
|
if (p)
|
|
@@ -599,8 +599,8 @@ 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 } =
|
|
603
|
-
return (g,
|
|
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
|
+
return (g, _) => (k(), te("TresOrthographicCamera", {
|
|
604
604
|
bottom: r(c),
|
|
605
605
|
far: r(m),
|
|
606
606
|
left: r(u),
|
|
@@ -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, [
|
|
@@ -836,7 +836,7 @@ const Ni = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
836
836
|
"settings",
|
|
837
837
|
"penumbra"
|
|
838
838
|
]);
|
|
839
|
-
return (
|
|
839
|
+
return (_, I) => (k(), te("TresSpotLight", {
|
|
840
840
|
angle: r(c),
|
|
841
841
|
color: r(u),
|
|
842
842
|
decay: r(d),
|
|
@@ -852,7 +852,7 @@ const Ni = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
852
852
|
key: 0,
|
|
853
853
|
type: r(di)
|
|
854
854
|
}, null, 8, ["type"])) : se("", !0),
|
|
855
|
-
F(
|
|
855
|
+
F(_.$slots, "default")
|
|
856
856
|
], 8, rs));
|
|
857
857
|
}
|
|
858
858
|
}), as = {};
|
|
@@ -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" ?
|
|
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",
|
|
993
|
+
window.addEventListener("resize", U, !1), await Co(() => !!V.value), j(), G();
|
|
994
994
|
}), Ie(() => {
|
|
995
|
-
window.removeEventListener("resize",
|
|
996
|
-
}),
|
|
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" ?
|
|
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",
|
|
1055
|
+
window.addEventListener("resize", U, !1), await Co(() => !!V.value), j(), G();
|
|
1056
1056
|
}), Ie(() => {
|
|
1057
|
-
window.removeEventListener("resize",
|
|
1058
|
-
}),
|
|
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"
|
|
@@ -1109,8 +1109,8 @@ const xr = /* @__PURE__ */ $({
|
|
|
1109
1109
|
]);
|
|
1110
1110
|
return (m, u) => {
|
|
1111
1111
|
const d = B("v-badge");
|
|
1112
|
-
return k(), C(r(
|
|
1113
|
-
default:
|
|
1112
|
+
return k(), C(r(H), null, {
|
|
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,37 +1136,37 @@ 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"
|
|
1143
1143
|
]), { property: i } = a(e, ["settings", "block"]), { property: l } = a(e, ["settings", "color"]), { color: c } = Q(l), { property: m } = a(e, ["settings", "density"]), { property: u } = a(e, [
|
|
1144
1144
|
"settings",
|
|
1145
1145
|
"disabled"
|
|
1146
|
-
]), { property: d } = a(e, ["size", "height"]), { property: p } = a(e, ["settings", "loading"]), { property: f } = a(e, ["size", "maxHeight"]), { property: g } = a(e, ["size", "maxWidth"]), { property:
|
|
1146
|
+
]), { property: d } = a(e, ["size", "height"]), { property: p } = a(e, ["settings", "loading"]), { property: f } = a(e, ["size", "maxHeight"]), { property: g } = a(e, ["size", "maxWidth"]), { property: _ } = a(e, ["size", "minHeight"]), { property: I } = a(e, ["size", "minWidth"]), { property: b } = a(e, [
|
|
1147
1147
|
"settings",
|
|
1148
1148
|
"addIcon",
|
|
1149
1149
|
"prepend"
|
|
1150
1150
|
]), { property: x } = a(e, [
|
|
1151
1151
|
"settings",
|
|
1152
1152
|
"readonly"
|
|
1153
|
-
]), { property: h } = a(e, ["settings", "ripple"]), { 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;
|
|
1157
|
-
oe.setProp(oe.global, "__pointerPosX__", oe.newNumber(
|
|
1157
|
+
oe.setProp(oe.global, "__pointerPosX__", oe.newNumber(q.clientX)), oe.setProp(oe.global, "__pointerPosY__", oe.newNumber(q.clientY)), o.callFunction(
|
|
1158
1158
|
"__triggerEventV1__",
|
|
1159
1159
|
ae("elementEvent", n.nodeId, "click")
|
|
1160
1160
|
);
|
|
1161
1161
|
};
|
|
1162
|
-
return (
|
|
1163
|
-
const
|
|
1164
|
-
return k(), C(r(
|
|
1162
|
+
return (q, oe) => {
|
|
1163
|
+
const he = B("v-btn");
|
|
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),
|
|
@@ -1176,18 +1176,18 @@ const xr = /* @__PURE__ */ $({
|
|
|
1176
1176
|
loading: r(p),
|
|
1177
1177
|
"max-height": r(f),
|
|
1178
1178
|
"max-width": r(g),
|
|
1179
|
-
"min-height": r(
|
|
1180
|
-
"min-width": r(
|
|
1179
|
+
"min-height": r(_),
|
|
1180
|
+
"min-width": r(I),
|
|
1181
1181
|
"prepend-icon": r(b),
|
|
1182
1182
|
readonly: r(x),
|
|
1183
1183
|
ripple: r(h),
|
|
1184
|
-
size: r(
|
|
1185
|
-
stacked: r(
|
|
1184
|
+
size: r(v),
|
|
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,8 +1224,8 @@ 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 } =
|
|
1228
|
-
return (
|
|
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
|
+
return (_, I) => {
|
|
1229
1229
|
const b = B("v-btn-toggle");
|
|
1230
1230
|
return k(), C(b, {
|
|
1231
1231
|
block: r(o),
|
|
@@ -1240,8 +1240,8 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1240
1240
|
tile: r(f),
|
|
1241
1241
|
variant: r(g)
|
|
1242
1242
|
}, {
|
|
1243
|
-
default:
|
|
1244
|
-
F(
|
|
1243
|
+
default: P(() => [
|
|
1244
|
+
F(_.$slots, "default")
|
|
1245
1245
|
]),
|
|
1246
1246
|
_: 3
|
|
1247
1247
|
}, 8, ["block", "disabled", "divided", "mandatory", "multiple", "readonly", "size", "stacked", "theme", "tile", "variant"]);
|
|
@@ -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:
|
|
1265
|
-
return (h,
|
|
1266
|
-
const
|
|
1267
|
-
return k(), C(r(
|
|
1268
|
-
default:
|
|
1269
|
-
D(
|
|
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
|
+
return (h, v) => {
|
|
1266
|
+
const V = B("v-card");
|
|
1267
|
+
return k(), C(r(H), { block: "" }, {
|
|
1268
|
+
default: P(() => [
|
|
1269
|
+
D(V, {
|
|
1270
1270
|
density: r(o),
|
|
1271
1271
|
disabled: r(s),
|
|
1272
1272
|
height: r(i),
|
|
@@ -1278,12 +1278,12 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1278
1278
|
"min-width": r(p),
|
|
1279
1279
|
subtitle: r(f),
|
|
1280
1280
|
text: r(g),
|
|
1281
|
-
theme: r(
|
|
1282
|
-
title: r(
|
|
1281
|
+
theme: r(_),
|
|
1282
|
+
title: r(I),
|
|
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, [
|
|
@@ -1310,8 +1310,8 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1310
1310
|
]);
|
|
1311
1311
|
return (i, l) => {
|
|
1312
1312
|
const c = B("v-checkbox");
|
|
1313
|
-
return k(), C(r(
|
|
1314
|
-
default:
|
|
1313
|
+
return k(), C(r(H), { mask: "" }, {
|
|
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,12 +1338,12 @@ 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
|
-
const
|
|
1344
|
-
return k(), C(r(
|
|
1345
|
-
default:
|
|
1346
|
-
D(
|
|
1343
|
+
const v = B("v-chip");
|
|
1344
|
+
return k(), C(r(H), { mask: "" }, {
|
|
1345
|
+
default: P(() => [
|
|
1346
|
+
D(v, {
|
|
1347
1347
|
closable: r(o),
|
|
1348
1348
|
color: r(i),
|
|
1349
1349
|
density: r(l),
|
|
@@ -1354,8 +1354,8 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1354
1354
|
size: r(p),
|
|
1355
1355
|
text: r(f),
|
|
1356
1356
|
theme: r(g),
|
|
1357
|
-
tile: r(
|
|
1358
|
-
value: r(
|
|
1357
|
+
tile: r(_),
|
|
1358
|
+
value: r(I),
|
|
1359
1359
|
variant: r(b)
|
|
1360
1360
|
}, null, 8, ["closable", "color", "density", "disabled", "draggable", "filter", "label", "size", "text", "theme", "tile", "value", "variant"])
|
|
1361
1361
|
]),
|
|
@@ -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,12 +1386,12 @@ 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
|
-
const
|
|
1392
|
-
return k(), C(
|
|
1391
|
+
const _ = B("v-chip-group");
|
|
1392
|
+
return k(), C(_, {
|
|
1393
1393
|
modelValue: r(p),
|
|
1394
|
-
"onUpdate:modelValue": g[0] || (g[0] = (
|
|
1394
|
+
"onUpdate:modelValue": g[0] || (g[0] = (I) => ne(p) ? p.value = I : null),
|
|
1395
1395
|
column: r(o),
|
|
1396
1396
|
direction: r(s),
|
|
1397
1397
|
disabled: r(i),
|
|
@@ -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,9 +1416,9 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1416
1416
|
refContext: {}
|
|
1417
1417
|
},
|
|
1418
1418
|
setup(t) {
|
|
1419
|
-
const n = t, { node: e } =
|
|
1420
|
-
const
|
|
1421
|
-
return o === "page" ? b === "common" ? i(
|
|
1419
|
+
const n = t, { node: e } = L(n), o = $e(), s = re(), { applySize: i } = ge(n, e), l = w(() => {
|
|
1420
|
+
const I = {}, b = s.value?.type;
|
|
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, [
|
|
1423
1423
|
"settings",
|
|
1424
1424
|
"disabled"
|
|
@@ -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:
|
|
1444
|
-
return (
|
|
1443
|
+
]), { theme: _ } = J();
|
|
1444
|
+
return (I, b) => {
|
|
1445
1445
|
const x = B("v-color-picker");
|
|
1446
|
-
return k(), C(r(
|
|
1447
|
-
default:
|
|
1446
|
+
return k(), C(r(H), { mask: "" }, {
|
|
1447
|
+
default: P(() => [
|
|
1448
1448
|
D(x, {
|
|
1449
1449
|
disabled: r(c),
|
|
1450
1450
|
"hide-canvas": r(m),
|
|
@@ -1453,8 +1453,8 @@ 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:
|
|
1457
|
-
theme: r(
|
|
1456
|
+
style: fe(l.value),
|
|
1457
|
+
theme: r(_)
|
|
1458
1458
|
}, null, 8, ["disabled", "hide-canvas", "hide-header", "hide-inputs", "hide-sliders", "landscape", "show-swatches", "style", "theme"])
|
|
1459
1459
|
]),
|
|
1460
1460
|
_: 1
|
|
@@ -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
|
-
return k(), C(r(
|
|
1488
|
-
default:
|
|
1487
|
+
return k(), C(r(H), { mask: "" }, {
|
|
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
|
-
return (f, g) => (k(), C(r(
|
|
1520
|
-
default:
|
|
1519
|
+
return (f, g) => (k(), C(r(H), { block: "" }, {
|
|
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)
|
|
@@ -1537,8 +1537,8 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1537
1537
|
setup(t) {
|
|
1538
1538
|
const n = t, e = Z(), o = Qe(), s = ie();
|
|
1539
1539
|
Le(s);
|
|
1540
|
-
const i =
|
|
1541
|
-
et(i, s), le(e) && tt(s, "slot", "", "",
|
|
1540
|
+
const i = w(() => n.refContext.compId);
|
|
1541
|
+
et(i, s), le(e) && tt(s, "slot", "", "", ve());
|
|
1542
1542
|
function l(m) {
|
|
1543
1543
|
const u = we[m.key];
|
|
1544
1544
|
if (!u) {
|
|
@@ -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 } =
|
|
1601
|
-
return (
|
|
1600
|
+
]), { theme: f } = J(), { property: g } = a(e, ["size", "width"]), { property: _ } = a(e, ["slots", "columns"]);
|
|
1601
|
+
return (I, b) => {
|
|
1602
1602
|
const x = B("v-data-table");
|
|
1603
|
-
return k(), C(r(
|
|
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),
|
|
@@ -1618,16 +1618,16 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1618
1618
|
theme: r(f),
|
|
1619
1619
|
width: r(g)
|
|
1620
1620
|
}, sn({ _: 2 }, [
|
|
1621
|
-
oi(r(
|
|
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
|
-
compId:
|
|
1628
|
+
compId: v
|
|
1629
1629
|
},
|
|
1630
|
-
value:
|
|
1630
|
+
value: V
|
|
1631
1631
|
}, null, 8, ["node-id", "ref-context", "value"])
|
|
1632
1632
|
])
|
|
1633
1633
|
}))
|
|
@@ -1642,8 +1642,8 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1642
1642
|
setup(t) {
|
|
1643
1643
|
return (n, e) => {
|
|
1644
1644
|
const o = B("v-date-picker");
|
|
1645
|
-
return k(), C(r(
|
|
1646
|
-
default:
|
|
1645
|
+
return k(), C(r(H), { mask: "" }, {
|
|
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, [
|
|
@@ -1707,14 +1707,14 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1707
1707
|
"settings",
|
|
1708
1708
|
"singleLine"
|
|
1709
1709
|
]);
|
|
1710
|
-
return (g,
|
|
1711
|
-
const
|
|
1712
|
-
return k(), C(r(
|
|
1710
|
+
return (g, _) => {
|
|
1711
|
+
const I = B("v-file-input");
|
|
1712
|
+
return k(), C(r(H), {
|
|
1713
1713
|
block: "",
|
|
1714
1714
|
mask: ""
|
|
1715
1715
|
}, {
|
|
1716
|
-
default:
|
|
1717
|
-
D(
|
|
1716
|
+
default: P(() => [
|
|
1717
|
+
D(I, {
|
|
1718
1718
|
chips: r(o),
|
|
1719
1719
|
density: r(s),
|
|
1720
1720
|
direction: r(i),
|
|
@@ -1739,27 +1739,27 @@ 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
|
-
]), { color: p } = Q(d), f = (
|
|
1746
|
-
p.value && (
|
|
1747
|
-
const
|
|
1748
|
-
b === "row" ?
|
|
1749
|
-
const x = Ne(
|
|
1750
|
-
x === "no" ?
|
|
1751
|
-
const h = Ne(
|
|
1752
|
-
h === "start" ?
|
|
1753
|
-
const
|
|
1754
|
-
|
|
1755
|
-
}, g =
|
|
1756
|
-
const
|
|
1757
|
-
return s === "page" ?
|
|
1745
|
+
]), { color: p } = Q(d), f = (_) => {
|
|
1746
|
+
p.value && (_.backgroundColor = p.value), _.display = "flex";
|
|
1747
|
+
const I = ut(o.value.width), b = Ne(I, e.value.settings?.direction);
|
|
1748
|
+
b === "row" ? _.flexDirection = "row" : b === "rowReverse" ? _.flexDirection = "row-reverse" : b === "column" ? _.flexDirection = "column" : b === "columnReverse" && (_.flexDirection = "column-reverse");
|
|
1749
|
+
const x = Ne(I, e.value.settings?.wrap);
|
|
1750
|
+
x === "no" ? _.flexWrap = "nowrap" : x === "yes" ? _.flexWrap = "wrap" : x === "reverse" && (_.flexWrap = "wrap-reverse");
|
|
1751
|
+
const h = Ne(I, e.value.settings?.mainAlign);
|
|
1752
|
+
h === "start" ? _.justifyContent = "flex-start" : h === "end" ? _.justifyContent = "flex-end" : h === "center" ? _.justifyContent = "center" : h === "spaceBetween" ? _.justifyContent = "space-between" : h === "spaceAround" ? _.justifyContent = "space-around" : h === "spaceEvenly" && (_.justifyContent = "space-evenly");
|
|
1753
|
+
const v = Ne(I, e.value.settings?.crossAlign);
|
|
1754
|
+
v === "start" ? _.alignItems = "flex-start" : v === "end" ? _.alignItems = "flex-end" : v === "center" ? _.alignItems = "center" : v === "baseline" ? _.alignItems = "baseline" : v === "stretch" && (_.alignItems = "stretch");
|
|
1755
|
+
}, g = w(() => {
|
|
1756
|
+
const _ = {}, I = i.value?.type;
|
|
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
|
-
return (
|
|
1760
|
-
style:
|
|
1759
|
+
return (_, I) => (k(), te("div", {
|
|
1760
|
+
style: fe(g.value)
|
|
1761
1761
|
}, [
|
|
1762
|
-
F(
|
|
1762
|
+
F(_.$slots, "default")
|
|
1763
1763
|
], 4));
|
|
1764
1764
|
}
|
|
1765
1765
|
}), Nr = /* @__PURE__ */ $({
|
|
@@ -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,16 +1788,16 @@ 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 = () => {
|
|
1801
1801
|
i && i.callFunction(
|
|
1802
1802
|
"__triggerEventV1__",
|
|
1803
1803
|
ae("elementEvent", n.nodeId, "submit")
|
|
@@ -1807,12 +1807,12 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1807
1807
|
const h = B("v-form");
|
|
1808
1808
|
return k(), C(h, {
|
|
1809
1809
|
modelValue: r(l),
|
|
1810
|
-
"onUpdate:modelValue": x[0] || (x[0] = (
|
|
1810
|
+
"onUpdate:modelValue": x[0] || (x[0] = (v) => ne(l) ? l.value = v : null),
|
|
1811
1811
|
"fast-fail": r(c),
|
|
1812
|
-
style:
|
|
1813
|
-
onSubmit: ii(
|
|
1812
|
+
style: fe(_.value),
|
|
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"
|
|
@@ -1906,10 +1906,10 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1906
1906
|
]), { property: c } = a(e, ["settings", "label"]), { property: m } = a(e, ["settings", "loading"]), { property: u } = a(e, ["settings", "max"]), { property: d } = a(e, ["size", "maxWidth"]), { property: p } = a(e, ["settings", "min"]), { property: f } = a(e, ["size", "minWidth"]), { property: g } = a(e, [
|
|
1907
1907
|
"settings",
|
|
1908
1908
|
"placeholder"
|
|
1909
|
-
]), { property:
|
|
1909
|
+
]), { property: _ } = a(e, [
|
|
1910
1910
|
"settings",
|
|
1911
1911
|
"precision"
|
|
1912
|
-
]), { property:
|
|
1912
|
+
]), { property: I } = a(e, ["settings", "prefix"]), { property: b } = a(e, [
|
|
1913
1913
|
"settings",
|
|
1914
1914
|
"addIcon",
|
|
1915
1915
|
"prepend"
|
|
@@ -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:
|
|
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
|
-
return k(), C(r(
|
|
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),
|
|
@@ -1945,18 +1945,18 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
1945
1945
|
min: r(p),
|
|
1946
1946
|
"min-width": r(f),
|
|
1947
1947
|
placeholder: r(g),
|
|
1948
|
-
precision: r(
|
|
1949
|
-
prefix: r(
|
|
1948
|
+
precision: r(_),
|
|
1949
|
+
prefix: r(I),
|
|
1950
1950
|
"prepend-icon": r(b),
|
|
1951
1951
|
"prepend-inner-icon": r(x),
|
|
1952
1952
|
readonly: r(h),
|
|
1953
|
-
reverse: r(
|
|
1954
|
-
"single-line": r(
|
|
1953
|
+
reverse: r(v),
|
|
1954
|
+
"single-line": r(V),
|
|
1955
1955
|
step: r(T),
|
|
1956
|
-
suffix: r(
|
|
1957
|
-
theme: r(
|
|
1958
|
-
variant: r(
|
|
1959
|
-
width: r(
|
|
1956
|
+
suffix: r(j),
|
|
1957
|
+
theme: r(U),
|
|
1958
|
+
variant: r(z),
|
|
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
|
]),
|
|
1962
1962
|
_: 1
|
|
@@ -1971,23 +1971,23 @@ 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 } =
|
|
1981
|
-
const
|
|
1982
|
-
return o === "editor" && (
|
|
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
|
+
const I = {};
|
|
1982
|
+
return o === "editor" && (I.pointerEvents = "none"), I;
|
|
1983
1983
|
});
|
|
1984
|
-
return (
|
|
1984
|
+
return (I, b) => {
|
|
1985
1985
|
const x = B("v-pagination");
|
|
1986
|
-
return k(), C(r(
|
|
1986
|
+
return k(), C(r(H), {
|
|
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
|
-
return k(), C(r(
|
|
2059
|
-
default:
|
|
2058
|
+
return k(), C(r(H), null, {
|
|
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, [
|
|
@@ -2100,57 +2100,57 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
2100
2100
|
]), { property: p } = a(e, [
|
|
2101
2101
|
"settings",
|
|
2102
2102
|
"showTicks"
|
|
2103
|
-
]), f =
|
|
2103
|
+
]), f = w(() => {
|
|
2104
2104
|
if (p.value === "always")
|
|
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
|
-
]), b =
|
|
2112
|
-
if (
|
|
2111
|
+
]), b = w(() => {
|
|
2112
|
+
if (I.value === "always")
|
|
2113
2113
|
return "always";
|
|
2114
|
-
if (
|
|
2114
|
+
if (I.value === "show")
|
|
2115
2115
|
return !0;
|
|
2116
2116
|
}), { property: x } = a(e, [
|
|
2117
2117
|
"settings",
|
|
2118
2118
|
"thumbSize"
|
|
2119
|
-
]), { property: h } = a(e, ["settings", "ticks"]),
|
|
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 (
|
|
2145
|
-
const
|
|
2146
|
-
return k(), C(r(
|
|
2144
|
+
return (G, z) => {
|
|
2145
|
+
const q = B("v-range-slider");
|
|
2146
|
+
return k(), C(r(H), {
|
|
2147
2147
|
block: "",
|
|
2148
2148
|
mask: ""
|
|
2149
2149
|
}, {
|
|
2150
|
-
default:
|
|
2151
|
-
D(
|
|
2152
|
-
modelValue:
|
|
2153
|
-
"onUpdate:modelValue":
|
|
2150
|
+
default: P(() => [
|
|
2151
|
+
D(q, {
|
|
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),
|
|
@@ -2161,11 +2161,11 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
2161
2161
|
readonly: r(d),
|
|
2162
2162
|
"show-ticks": f.value,
|
|
2163
2163
|
step: r(g),
|
|
2164
|
-
theme: r(
|
|
2164
|
+
theme: r(_),
|
|
2165
2165
|
"thumb-label": b.value,
|
|
2166
2166
|
"thumb-size": r(x),
|
|
2167
|
-
"tick-size": r(
|
|
2168
|
-
ticks:
|
|
2167
|
+
"tick-size": r(V),
|
|
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
|
]),
|
|
2171
2171
|
_: 1
|
|
@@ -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,14 +2192,14 @@ 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
|
-
const
|
|
2198
|
-
return k(), C(r(
|
|
2199
|
-
default:
|
|
2200
|
-
D(
|
|
2197
|
+
const _ = B("v-rating");
|
|
2198
|
+
return k(), C(r(H), { mask: "" }, {
|
|
2199
|
+
default: P(() => [
|
|
2200
|
+
D(_, {
|
|
2201
2201
|
modelValue: r(p),
|
|
2202
|
-
"onUpdate:modelValue": g[0] || (g[0] = (
|
|
2202
|
+
"onUpdate:modelValue": g[0] || (g[0] = (I) => ne(p) ? p.value = I : null),
|
|
2203
2203
|
clearable: r(o),
|
|
2204
2204
|
density: r(s),
|
|
2205
2205
|
disabled: r(i),
|
|
@@ -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
|
-
return k(), C(r(
|
|
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, [
|
|
@@ -2280,47 +2280,47 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
2280
2280
|
]), { property: f } = a(e, ["settings", "reverse"]), { property: g } = a(e, [
|
|
2281
2281
|
"settings",
|
|
2282
2282
|
"showTicks"
|
|
2283
|
-
]),
|
|
2283
|
+
]), _ = w(() => {
|
|
2284
2284
|
if (g.value === "always")
|
|
2285
2285
|
return "always";
|
|
2286
2286
|
if (g.value === "show")
|
|
2287
2287
|
return !0;
|
|
2288
|
-
}), { property:
|
|
2288
|
+
}), { property: I } = a(e, ["settings", "step"]), { theme: b } = J(), { property: x } = a(e, [
|
|
2289
2289
|
"settings",
|
|
2290
2290
|
"thumbColor"
|
|
2291
|
-
]), { color: h } = Q(x), { property:
|
|
2291
|
+
]), { color: h } = Q(x), { property: v } = a(e, [
|
|
2292
2292
|
"settings",
|
|
2293
2293
|
"thumbLabel"
|
|
2294
|
-
]),
|
|
2295
|
-
if (
|
|
2294
|
+
]), V = w(() => {
|
|
2295
|
+
if (v.value === "always")
|
|
2296
2296
|
return "always";
|
|
2297
|
-
if (
|
|
2297
|
+
if (v.value === "show")
|
|
2298
2298
|
return !0;
|
|
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
2305
|
const xe = {};
|
|
2306
|
-
for (const { value: nt, label: kt } of
|
|
2306
|
+
for (const { value: nt, label: kt } of j.value)
|
|
2307
2307
|
xe[nt] = kt;
|
|
2308
2308
|
if (!Mo(xe))
|
|
2309
2309
|
return xe;
|
|
2310
|
-
}), { property:
|
|
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:
|
|
2316
|
+
]), { color: q } = Q(z), { property: oe } = a(e, ["settings", "value"]), { property: he } = a(e, ["slots", "append"]), { property: ze } = a(e, ["slots", "prepend"]);
|
|
2317
2317
|
return (xe, nt) => {
|
|
2318
2318
|
const kt = B("v-slider");
|
|
2319
|
-
return k(), C(r(
|
|
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),
|
|
@@ -2333,22 +2333,22 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
|
|
|
2333
2333
|
min: r(d),
|
|
2334
2334
|
readonly: r(p),
|
|
2335
2335
|
reverse: r(f),
|
|
2336
|
-
"show-ticks":
|
|
2337
|
-
step: r(
|
|
2336
|
+
"show-ticks": _.value,
|
|
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:
|
|
2344
|
-
"track-color": r(
|
|
2342
|
+
"tick-size": r(G),
|
|
2343
|
+
ticks: U.value,
|
|
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,14 +2476,14 @@ 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 } =
|
|
2480
|
-
return (
|
|
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
|
+
return (_, I) => {
|
|
2481
2481
|
const b = B("v-switch");
|
|
2482
|
-
return k(), C(r(
|
|
2483
|
-
default:
|
|
2482
|
+
return k(), C(r(H), { mask: "" }, {
|
|
2483
|
+
default: P(() => [
|
|
2484
2484
|
D(b, {
|
|
2485
2485
|
modelValue: r(g),
|
|
2486
|
-
"onUpdate:modelValue":
|
|
2486
|
+
"onUpdate:modelValue": I[0] || (I[0] = (x) => ne(g) ? g.value = x : null),
|
|
2487
2487
|
density: r(o),
|
|
2488
2488
|
direction: r(s),
|
|
2489
2489
|
disabled: r(i),
|
|
@@ -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
|
-
return k(), C(r(
|
|
2518
|
-
default:
|
|
2517
|
+
return k(), C(r(H), { mask: "" }, {
|
|
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, [
|
|
@@ -2558,10 +2558,10 @@ const cl = /* @__PURE__ */ De(ll, [["render", al]]), ul = /* @__PURE__ */ $({
|
|
|
2558
2558
|
]), { property: f } = a(e, [
|
|
2559
2559
|
"settings",
|
|
2560
2560
|
"fixedTabs"
|
|
2561
|
-
]), { property: g } = a(e, ["settings", "grow"]), { property:
|
|
2561
|
+
]), { property: g } = a(e, ["settings", "grow"]), { property: _ } = a(e, [
|
|
2562
2562
|
"settings",
|
|
2563
2563
|
"hideSlider"
|
|
2564
|
-
]), { property:
|
|
2564
|
+
]), { property: I } = a(e, ["settings", "items"]), { property: b } = a(e, [
|
|
2565
2565
|
"settings",
|
|
2566
2566
|
"mandatory"
|
|
2567
2567
|
]), { property: x } = 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:
|
|
2575
|
-
return (
|
|
2576
|
-
const
|
|
2577
|
-
return k(), C(r(
|
|
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
|
+
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),
|
|
@@ -2591,16 +2591,16 @@ const cl = /* @__PURE__ */ De(ll, [["render", al]]), ul = /* @__PURE__ */ $({
|
|
|
2591
2591
|
disabled: r(p),
|
|
2592
2592
|
"fixed-tabs": r(f),
|
|
2593
2593
|
grow: r(g),
|
|
2594
|
-
"hide-slider": r(
|
|
2595
|
-
items: r(
|
|
2594
|
+
"hide-slider": r(_),
|
|
2595
|
+
items: r(I),
|
|
2596
2596
|
mandatory: r(b),
|
|
2597
2597
|
"show-arrows": r(x),
|
|
2598
|
-
"slider-color": r(
|
|
2599
|
-
stacked: r(
|
|
2598
|
+
"slider-color": r(v),
|
|
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,18 +2617,18 @@ 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, [
|
|
2624
2624
|
"settings",
|
|
2625
2625
|
"emphasis"
|
|
2626
|
-
]), { property: c } = a(e, ["settings", "italic"]), { property: m } = a(e, ["settings", "text"]), { property: u } = a(e, ["settings", "weight"]), d =
|
|
2626
|
+
]), { property: c } = a(e, ["settings", "italic"]), { property: m } = a(e, ["settings", "text"]), { property: u } = a(e, ["settings", "weight"]), d = w(() => {
|
|
2627
2627
|
const p = [], f = ut(o.value.width), g = Ne(f, e.value.settings?.style);
|
|
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
|
-
return (p, f) => (k(), C(r(
|
|
2631
|
-
default:
|
|
2630
|
+
return (p, f) => (k(), C(r(H), { mask: "" }, {
|
|
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, [
|
|
@@ -2659,20 +2659,20 @@ const cl = /* @__PURE__ */ De(ll, [["render", al]]), ul = /* @__PURE__ */ $({
|
|
|
2659
2659
|
]), { property: p } = a(e, [
|
|
2660
2660
|
"settings",
|
|
2661
2661
|
"readonly"
|
|
2662
|
-
]), { property: f } = a(e, ["settings", "reverse"]), { property: g } = a(e, ["settings", "rows"]), { property:
|
|
2662
|
+
]), { property: f } = a(e, ["settings", "reverse"]), { property: g } = a(e, ["settings", "rows"]), { property: _ } = a(e, [
|
|
2663
2663
|
"settings",
|
|
2664
2664
|
"singleLine"
|
|
2665
|
-
]), { theme:
|
|
2666
|
-
return (h,
|
|
2667
|
-
const
|
|
2668
|
-
return k(), C(r(
|
|
2665
|
+
]), { theme: I } = J(), { property: b } = a(e, ["settings", "value"]), { property: x } = a(e, ["settings", "variant"]);
|
|
2666
|
+
return (h, v) => {
|
|
2667
|
+
const V = B("v-textarea");
|
|
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
|
-
"onUpdate:modelValue":
|
|
2675
|
+
"onUpdate:modelValue": v[0] || (v[0] = (T) => ne(b) ? b.value = T : null),
|
|
2676
2676
|
"auto-grow": r(o),
|
|
2677
2677
|
clearable: r(s),
|
|
2678
2678
|
density: r(i),
|
|
@@ -2684,8 +2684,8 @@ const cl = /* @__PURE__ */ De(ll, [["render", al]]), ul = /* @__PURE__ */ $({
|
|
|
2684
2684
|
readonly: r(p),
|
|
2685
2685
|
reverse: r(f),
|
|
2686
2686
|
rows: r(g),
|
|
2687
|
-
"single-line": r(
|
|
2688
|
-
theme: r(
|
|
2687
|
+
"single-line": r(_),
|
|
2688
|
+
theme: r(I),
|
|
2689
2689
|
variant: r(x)
|
|
2690
2690
|
}, null, 8, ["modelValue", "auto-grow", "clearable", "density", "disabled", "label", "loading", "max-rows", "placeholder", "readonly", "reverse", "rows", "single-line", "theme", "variant"])
|
|
2691
2691
|
]),
|
|
@@ -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, [
|
|
@@ -2722,10 +2722,10 @@ const cl = /* @__PURE__ */ De(ll, [["render", al]]), ul = /* @__PURE__ */ $({
|
|
|
2722
2722
|
]), { property: d } = a(e, ["settings", "label"]), { property: p } = a(e, ["settings", "loading"]), { property: f } = a(e, [
|
|
2723
2723
|
"settings",
|
|
2724
2724
|
"placeholder"
|
|
2725
|
-
]), { property: g } = a(e, ["settings", "prefix"]), { property:
|
|
2725
|
+
]), { property: g } = a(e, ["settings", "prefix"]), { property: _ } = a(e, [
|
|
2726
2726
|
"settings",
|
|
2727
2727
|
"prependIcon"
|
|
2728
|
-
]), { property:
|
|
2728
|
+
]), { property: I } = a(e, [
|
|
2729
2729
|
"settings",
|
|
2730
2730
|
"prependInnerIcon"
|
|
2731
2731
|
]), { property: b } = 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:
|
|
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
|
-
return k(), C(r(
|
|
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),
|
|
@@ -2762,54 +2762,54 @@ const cl = /* @__PURE__ */ De(ll, [["render", al]]), ul = /* @__PURE__ */ $({
|
|
|
2762
2762
|
loading: r(p),
|
|
2763
2763
|
placeholder: r(f),
|
|
2764
2764
|
prefix: r(g),
|
|
2765
|
-
"prepend-icon": r(
|
|
2766
|
-
"prepend-inner-icon": r(
|
|
2765
|
+
"prepend-icon": r(_),
|
|
2766
|
+
"prepend-inner-icon": r(I),
|
|
2767
2767
|
readonly: r(b),
|
|
2768
2768
|
reverse: r(x),
|
|
2769
2769
|
"single-line": r(h),
|
|
2770
|
-
suffix: r(
|
|
2771
|
-
theme: r(
|
|
2772
|
-
variant: r(
|
|
2770
|
+
suffix: r(v),
|
|
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
|
]),
|
|
2805
2805
|
key: "2"
|
|
2806
2806
|
} : void 0,
|
|
2807
|
-
r(
|
|
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
|
-
"ref-context": { compId: r(
|
|
2812
|
+
"ref-context": { compId: r(q) },
|
|
2813
2813
|
state: {}
|
|
2814
2814
|
}, null, 8, ["ref-context"])
|
|
2815
2815
|
]),
|
|
@@ -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, [
|
|
@@ -2855,14 +2855,14 @@ const cl = /* @__PURE__ */ De(ll, [["render", al]]), ul = /* @__PURE__ */ $({
|
|
|
2855
2855
|
"settings",
|
|
2856
2856
|
"line",
|
|
2857
2857
|
"thickness"
|
|
2858
|
-
]), { property:
|
|
2858
|
+
]), { property: _ } = a(e, ["settings", "side"]), { property: I } = a(e, [
|
|
2859
2859
|
"settings",
|
|
2860
2860
|
"line",
|
|
2861
2861
|
"truncate"
|
|
2862
|
-
]), { theme: b } =
|
|
2862
|
+
]), { theme: b } = J();
|
|
2863
2863
|
return (x, h) => {
|
|
2864
|
-
const
|
|
2865
|
-
return k(), C(
|
|
2864
|
+
const v = B("v-timeline");
|
|
2865
|
+
return k(), C(v, {
|
|
2866
2866
|
align: r(o),
|
|
2867
2867
|
density: r(s),
|
|
2868
2868
|
direction: r(i),
|
|
@@ -2872,11 +2872,11 @@ const cl = /* @__PURE__ */ De(ll, [["render", al]]), ul = /* @__PURE__ */ $({
|
|
|
2872
2872
|
"line-color": r(p),
|
|
2873
2873
|
"line-inset": r(f),
|
|
2874
2874
|
"line-thickness": r(g),
|
|
2875
|
-
side: r(
|
|
2875
|
+
side: r(_),
|
|
2876
2876
|
theme: r(b),
|
|
2877
|
-
"truncate-line": r(
|
|
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,12 +2913,12 @@ 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, {
|
|
2920
2920
|
modelValue: r(d),
|
|
2921
|
-
"onUpdate:modelValue": f[0] || (f[0] = (
|
|
2921
|
+
"onUpdate:modelValue": f[0] || (f[0] = (_) => ne(d) ? d.value = _ : null),
|
|
2922
2922
|
continuous: r(o),
|
|
2923
2923
|
direction: r(i),
|
|
2924
2924
|
disabled: r(s),
|
|
@@ -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
|
|
@@ -2956,8 +2956,8 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
|
|
|
2956
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
|
-
const n = Z(), e = re(), o =
|
|
2960
|
-
Le(o), le(n) && tt(o, "multipleSlot", t.nodeId, t.instance,
|
|
2959
|
+
const n = Z(), e = re(), o = w(() => O(e.value));
|
|
2960
|
+
Le(o), le(n) && tt(o, "multipleSlot", t.nodeId, t.instance, ve());
|
|
2961
2961
|
const s = (l) => {
|
|
2962
2962
|
const c = we[l.key];
|
|
2963
2963
|
if (!c) {
|
|
@@ -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,25 +3031,25 @@ 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
|
-
const c =
|
|
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
|
-
}), { position: d, rotation: p, scale: f } = ue(o), { property: g } = a(o, ["instances"]),
|
|
3042
|
-
h.findIndex((
|
|
3043
|
-
},
|
|
3041
|
+
}), { position: d, rotation: p, scale: f } = ue(o), { property: g } = a(o, ["instances"]), _ = (h, v) => {
|
|
3042
|
+
h.findIndex((V) => V === v) >= 0 || h.push(v);
|
|
3043
|
+
}, I = w(() => {
|
|
3044
3044
|
const h = [];
|
|
3045
3045
|
if (!Array.isArray(g.value))
|
|
3046
3046
|
return h;
|
|
3047
|
-
for (const
|
|
3048
|
-
typeof
|
|
3047
|
+
for (const v of g.value)
|
|
3048
|
+
typeof v == "string" && v && _(h, v);
|
|
3049
3049
|
return h;
|
|
3050
|
-
}), b = (h,
|
|
3050
|
+
}), b = (h, v) => K($l, {
|
|
3051
3051
|
key: h,
|
|
3052
|
-
subtype:
|
|
3052
|
+
subtype: v,
|
|
3053
3053
|
nodeId: e.nodeId,
|
|
3054
3054
|
refContext: e.refContext,
|
|
3055
3055
|
instance: h
|
|
@@ -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",
|
|
@@ -3086,8 +3086,8 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
|
|
|
3086
3086
|
console.assert(!1, "subtype not match");
|
|
3087
3087
|
return;
|
|
3088
3088
|
}
|
|
3089
|
-
const
|
|
3090
|
-
if (
|
|
3089
|
+
const v = l.value.type;
|
|
3090
|
+
if (v === "common")
|
|
3091
3091
|
return K(
|
|
3092
3092
|
"div",
|
|
3093
3093
|
{
|
|
@@ -3095,10 +3095,10 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
|
|
|
3095
3095
|
style: u.value
|
|
3096
3096
|
},
|
|
3097
3097
|
{
|
|
3098
|
-
default: () =>
|
|
3098
|
+
default: () => I.value.map((V) => b(V, v))
|
|
3099
3099
|
}
|
|
3100
3100
|
);
|
|
3101
|
-
if (
|
|
3101
|
+
if (v === "scene")
|
|
3102
3102
|
return K(
|
|
3103
3103
|
ce,
|
|
3104
3104
|
{
|
|
@@ -3108,11 +3108,11 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
|
|
|
3108
3108
|
scale: f.value
|
|
3109
3109
|
},
|
|
3110
3110
|
{
|
|
3111
|
-
default: () =>
|
|
3111
|
+
default: () => I.value.map((V) => b(V, v))
|
|
3112
3112
|
}
|
|
3113
3113
|
);
|
|
3114
3114
|
};
|
|
3115
|
-
return (h,
|
|
3115
|
+
return (h, v) => (k(), C(x));
|
|
3116
3116
|
}
|
|
3117
3117
|
}), Pl = /* @__PURE__ */ $({
|
|
3118
3118
|
__name: "entry",
|
|
@@ -3126,8 +3126,8 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
|
|
|
3126
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
|
-
const n = Z(), e = re(), o =
|
|
3130
|
-
Le(o), le(n) && tt(o, "multipleSlot", t.nodeId, t.instance,
|
|
3129
|
+
const n = Z(), e = re(), o = w(() => O(e.value));
|
|
3130
|
+
Le(o), le(n) && tt(o, "multipleSlot", t.nodeId, t.instance, ve());
|
|
3131
3131
|
const s = (l) => {
|
|
3132
3132
|
const c = we[l.key];
|
|
3133
3133
|
if (!c) {
|
|
@@ -3173,25 +3173,25 @@ 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
|
-
const c =
|
|
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
|
-
}), { position: d, rotation: p, scale: f } = ue(o), { property: g } = a(o, ["instances"]),
|
|
3184
|
-
h.findIndex((
|
|
3185
|
-
},
|
|
3183
|
+
}), { position: d, rotation: p, scale: f } = ue(o), { property: g } = a(o, ["instances"]), _ = (h, v) => {
|
|
3184
|
+
h.findIndex((V) => V === v) >= 0 || h.push(v);
|
|
3185
|
+
}, I = w(() => {
|
|
3186
3186
|
const h = [];
|
|
3187
3187
|
if (!Array.isArray(g.value))
|
|
3188
3188
|
return h;
|
|
3189
|
-
for (const
|
|
3190
|
-
typeof
|
|
3189
|
+
for (const v of g.value)
|
|
3190
|
+
typeof v == "string" && v && _(h, v);
|
|
3191
3191
|
return h;
|
|
3192
|
-
}), b = (h,
|
|
3192
|
+
}), b = (h, v) => K(Pl, {
|
|
3193
3193
|
key: h,
|
|
3194
|
-
subtype:
|
|
3194
|
+
subtype: v,
|
|
3195
3195
|
nodeId: e.nodeId,
|
|
3196
3196
|
refContext: e.refContext,
|
|
3197
3197
|
instance: h
|
|
@@ -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",
|
|
@@ -3228,8 +3228,8 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
|
|
|
3228
3228
|
console.assert(!1, "subtype not match");
|
|
3229
3229
|
return;
|
|
3230
3230
|
}
|
|
3231
|
-
const
|
|
3232
|
-
if (
|
|
3231
|
+
const v = l.value.type;
|
|
3232
|
+
if (v === "common")
|
|
3233
3233
|
return K(
|
|
3234
3234
|
"div",
|
|
3235
3235
|
{
|
|
@@ -3237,10 +3237,10 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
|
|
|
3237
3237
|
style: u.value
|
|
3238
3238
|
},
|
|
3239
3239
|
{
|
|
3240
|
-
default: () =>
|
|
3240
|
+
default: () => I.value.map((V) => b(V, v))
|
|
3241
3241
|
}
|
|
3242
3242
|
);
|
|
3243
|
-
if (
|
|
3243
|
+
if (v === "scene")
|
|
3244
3244
|
return K(
|
|
3245
3245
|
ce,
|
|
3246
3246
|
{
|
|
@@ -3250,11 +3250,11 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
|
|
|
3250
3250
|
scale: f.value
|
|
3251
3251
|
},
|
|
3252
3252
|
{
|
|
3253
|
-
default: () =>
|
|
3253
|
+
default: () => I.value.map((V) => b(V, v))
|
|
3254
3254
|
}
|
|
3255
3255
|
);
|
|
3256
3256
|
};
|
|
3257
|
-
return (h,
|
|
3257
|
+
return (h, v) => (k(), C(x));
|
|
3258
3258
|
}
|
|
3259
3259
|
}), zl = /* @__PURE__ */ $({
|
|
3260
3260
|
__name: "index",
|
|
@@ -3264,14 +3264,14 @@ 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
|
-
const m =
|
|
3270
|
-
et(m, c), le(s) && tt(c, "ref", e.nodeId, "",
|
|
3271
|
-
const { applySize: u } =
|
|
3269
|
+
const m = w(() => e.refContext?.compId);
|
|
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
|
-
}), { position: p, rotation: f, scale: g } = ue(o),
|
|
3274
|
+
}), { position: p, rotation: f, scale: g } = ue(o), _ = (b) => {
|
|
3275
3275
|
const x = we[b.key];
|
|
3276
3276
|
if (!x) {
|
|
3277
3277
|
console.assert(!1, `element not found key=${b.key}`);
|
|
@@ -3292,11 +3292,11 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
|
|
|
3292
3292
|
{
|
|
3293
3293
|
default: () => {
|
|
3294
3294
|
if (!x.leaf)
|
|
3295
|
-
return b.children?.map((
|
|
3295
|
+
return b.children?.map((v) => _(v));
|
|
3296
3296
|
}
|
|
3297
3297
|
}
|
|
3298
3298
|
);
|
|
3299
|
-
},
|
|
3299
|
+
}, I = () => {
|
|
3300
3300
|
if (!e.refContext) {
|
|
3301
3301
|
console.assert(!1, "invalid of ref context");
|
|
3302
3302
|
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",
|
|
@@ -3338,7 +3338,7 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
|
|
|
3338
3338
|
style: d.value
|
|
3339
3339
|
},
|
|
3340
3340
|
{
|
|
3341
|
-
default: () => c.value?.view.nodeLites.map((h) =>
|
|
3341
|
+
default: () => c.value?.view.nodeLites.map((h) => _(h))
|
|
3342
3342
|
}
|
|
3343
3343
|
);
|
|
3344
3344
|
if (x === "scene")
|
|
@@ -3351,11 +3351,11 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
|
|
|
3351
3351
|
scale: g.value
|
|
3352
3352
|
},
|
|
3353
3353
|
{
|
|
3354
|
-
default: () => c.value?.view.nodeLites.map((h) =>
|
|
3354
|
+
default: () => c.value?.view.nodeLites.map((h) => _(h))
|
|
3355
3355
|
}
|
|
3356
3356
|
);
|
|
3357
3357
|
};
|
|
3358
|
-
return (b, x) => (k(), C(
|
|
3358
|
+
return (b, x) => (k(), C(I));
|
|
3359
3359
|
}
|
|
3360
3360
|
}), Tl = /* @__PURE__ */ $({
|
|
3361
3361
|
__name: "index",
|
|
@@ -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 } =
|
|
3369
|
-
return (s, i) => (k(), C(r(
|
|
3370
|
-
default:
|
|
3368
|
+
const n = t, { node: e } = L(n), { property: o } = a(e, ["settings", "open"]);
|
|
3369
|
+
return (s, i) => (k(), C(r(H), null, {
|
|
3370
|
+
default: P(() => [
|
|
3371
3371
|
r(o) ? F(s.$slots, "default", { key: 0 }) : se("", !0)
|
|
3372
3372
|
]),
|
|
3373
3373
|
_: 3
|
|
@@ -3381,15 +3381,15 @@ 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
|
-
const m =
|
|
3387
|
-
et(m, c), le(s) && tt(c, "slot", e.nodeId, "",
|
|
3388
|
-
const { applySize: u } =
|
|
3386
|
+
const m = w(() => e.refContext?.compId);
|
|
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
|
-
function
|
|
3392
|
+
function _(b) {
|
|
3393
3393
|
const x = we[b.key];
|
|
3394
3394
|
if (!x) {
|
|
3395
3395
|
console.assert(!1, `element not found key=${b.key}`);
|
|
@@ -3410,12 +3410,12 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
|
|
|
3410
3410
|
{
|
|
3411
3411
|
default: () => {
|
|
3412
3412
|
if (!x.leaf)
|
|
3413
|
-
return b.children?.map((
|
|
3413
|
+
return b.children?.map((v) => _(v));
|
|
3414
3414
|
}
|
|
3415
3415
|
}
|
|
3416
3416
|
);
|
|
3417
3417
|
}
|
|
3418
|
-
const
|
|
3418
|
+
const I = () => {
|
|
3419
3419
|
if (!e.refContext) {
|
|
3420
3420
|
console.assert(!1, "invalid of ref context");
|
|
3421
3421
|
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",
|
|
@@ -3457,7 +3457,7 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
|
|
|
3457
3457
|
style: d.value
|
|
3458
3458
|
},
|
|
3459
3459
|
{
|
|
3460
|
-
default: () => c.value?.view.nodeLites.map((h) =>
|
|
3460
|
+
default: () => c.value?.view.nodeLites.map((h) => _(h))
|
|
3461
3461
|
}
|
|
3462
3462
|
);
|
|
3463
3463
|
if (x === "scene")
|
|
@@ -3470,11 +3470,11 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
|
|
|
3470
3470
|
scale: g.value
|
|
3471
3471
|
},
|
|
3472
3472
|
{
|
|
3473
|
-
default: () => c.value?.view.nodeLites.map((h) =>
|
|
3473
|
+
default: () => c.value?.view.nodeLites.map((h) => _(h))
|
|
3474
3474
|
}
|
|
3475
3475
|
);
|
|
3476
3476
|
};
|
|
3477
|
-
return (b, x) => (k(), C(
|
|
3477
|
+
return (b, x) => (k(), C(I));
|
|
3478
3478
|
}
|
|
3479
3479
|
}), y = {
|
|
3480
3480
|
key: "basic",
|
|
@@ -3683,7 +3683,7 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
|
|
|
3683
3683
|
default: ""
|
|
3684
3684
|
}
|
|
3685
3685
|
]
|
|
3686
|
-
},
|
|
3686
|
+
}, X = {
|
|
3687
3687
|
key: "size",
|
|
3688
3688
|
name: "x-runtime-lib.size",
|
|
3689
3689
|
children: [
|
|
@@ -3753,7 +3753,7 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
|
|
|
3753
3753
|
default: ""
|
|
3754
3754
|
}
|
|
3755
3755
|
]
|
|
3756
|
-
},
|
|
3756
|
+
}, Y = {
|
|
3757
3757
|
key: "transform",
|
|
3758
3758
|
name: "x-runtime-lib.transform",
|
|
3759
3759
|
children: [
|
|
@@ -3959,8 +3959,8 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
|
|
|
3959
3959
|
name: "x-runtime-lib.orthographicCamera",
|
|
3960
3960
|
comp: ji,
|
|
3961
3961
|
properties: {
|
|
3962
|
-
pageScene: [y,
|
|
3963
|
-
compScene: [y,
|
|
3962
|
+
pageScene: [y, Y, $n],
|
|
3963
|
+
compScene: [y, Y, $n]
|
|
3964
3964
|
},
|
|
3965
3965
|
events: [],
|
|
3966
3966
|
methods: [],
|
|
@@ -4005,8 +4005,8 @@ const Sn = {
|
|
|
4005
4005
|
name: "x-runtime-lib.perspectiveCamera",
|
|
4006
4006
|
comp: Hi,
|
|
4007
4007
|
properties: {
|
|
4008
|
-
pageScene: [y,
|
|
4009
|
-
compScene: [y,
|
|
4008
|
+
pageScene: [y, Y, Sn],
|
|
4009
|
+
compScene: [y, Y, Sn]
|
|
4010
4010
|
},
|
|
4011
4011
|
events: [],
|
|
4012
4012
|
methods: [],
|
|
@@ -4388,8 +4388,8 @@ const Pn = {
|
|
|
4388
4388
|
name: "x-runtime-lib.ambientLight",
|
|
4389
4389
|
comp: ts,
|
|
4390
4390
|
properties: {
|
|
4391
|
-
pageScene: [y,
|
|
4392
|
-
compScene: [y,
|
|
4391
|
+
pageScene: [y, Y, Pn],
|
|
4392
|
+
compScene: [y, Y, Pn]
|
|
4393
4393
|
},
|
|
4394
4394
|
events: [],
|
|
4395
4395
|
methods: [],
|
|
@@ -4418,8 +4418,8 @@ const Ln = {
|
|
|
4418
4418
|
name: "x-runtime-lib.directionalLight",
|
|
4419
4419
|
comp: os,
|
|
4420
4420
|
properties: {
|
|
4421
|
-
pageScene: [y,
|
|
4422
|
-
compScene: [y,
|
|
4421
|
+
pageScene: [y, Y, Ln],
|
|
4422
|
+
compScene: [y, Y, Ln]
|
|
4423
4423
|
},
|
|
4424
4424
|
events: [],
|
|
4425
4425
|
methods: [],
|
|
@@ -4462,8 +4462,8 @@ const zn = {
|
|
|
4462
4462
|
name: "x-runtime-lib.pointLight",
|
|
4463
4463
|
comp: ss,
|
|
4464
4464
|
properties: {
|
|
4465
|
-
pageScene: [y,
|
|
4466
|
-
compScene: [y,
|
|
4465
|
+
pageScene: [y, Y, zn],
|
|
4466
|
+
compScene: [y, Y, zn]
|
|
4467
4467
|
},
|
|
4468
4468
|
events: [],
|
|
4469
4469
|
methods: [],
|
|
@@ -4523,8 +4523,8 @@ const Tn = {
|
|
|
4523
4523
|
name: "x-runtime-lib.spotLight",
|
|
4524
4524
|
comp: ls,
|
|
4525
4525
|
properties: {
|
|
4526
|
-
pageScene: [y,
|
|
4527
|
-
compScene: [y,
|
|
4526
|
+
pageScene: [y, Y, Tn],
|
|
4527
|
+
compScene: [y, Y, Tn]
|
|
4528
4528
|
},
|
|
4529
4529
|
events: [],
|
|
4530
4530
|
methods: [],
|
|
@@ -4550,8 +4550,8 @@ const ql = {
|
|
|
4550
4550
|
name: "x-runtime-lib.group",
|
|
4551
4551
|
comp: ps,
|
|
4552
4552
|
properties: {
|
|
4553
|
-
pageScene: [y,
|
|
4554
|
-
compScene: [y,
|
|
4553
|
+
pageScene: [y, Y],
|
|
4554
|
+
compScene: [y, Y]
|
|
4555
4555
|
},
|
|
4556
4556
|
events: [],
|
|
4557
4557
|
methods: [],
|
|
@@ -4563,8 +4563,8 @@ const He = {
|
|
|
4563
4563
|
name: "x-runtime-lib.mesh",
|
|
4564
4564
|
comp: fs,
|
|
4565
4565
|
properties: {
|
|
4566
|
-
pageScene: [y,
|
|
4567
|
-
compScene: [y,
|
|
4566
|
+
pageScene: [y, Y],
|
|
4567
|
+
compScene: [y, Y]
|
|
4568
4568
|
},
|
|
4569
4569
|
events: [],
|
|
4570
4570
|
methods: [],
|
|
@@ -4621,8 +4621,8 @@ const En = {
|
|
|
4621
4621
|
name: "x-runtime-lib.barChart",
|
|
4622
4622
|
comp: xr,
|
|
4623
4623
|
properties: {
|
|
4624
|
-
pageCommon: [y,
|
|
4625
|
-
compCommon: [y,
|
|
4624
|
+
pageCommon: [y, X, dt, ft, yt, pt, En],
|
|
4625
|
+
compCommon: [y, X, dt, ft, yt, pt, En]
|
|
4626
4626
|
},
|
|
4627
4627
|
leaf: !0,
|
|
4628
4628
|
spawn: Xl
|
|
@@ -4678,8 +4678,8 @@ const An = {
|
|
|
4678
4678
|
name: "x-runtime-lib.lineChart",
|
|
4679
4679
|
comp: kr,
|
|
4680
4680
|
properties: {
|
|
4681
|
-
pageCommon: [y,
|
|
4682
|
-
compCommon: [y,
|
|
4681
|
+
pageCommon: [y, X, dt, ft, yt, pt, An],
|
|
4682
|
+
compCommon: [y, X, dt, ft, yt, pt, An]
|
|
4683
4683
|
},
|
|
4684
4684
|
leaf: !0,
|
|
4685
4685
|
spawn: Yl
|
|
@@ -4841,8 +4841,8 @@ const ea = O(ee), Wn = {
|
|
|
4841
4841
|
name: "x-runtime-lib.button",
|
|
4842
4842
|
comp: Ir,
|
|
4843
4843
|
properties: {
|
|
4844
|
-
pageCommon: [y,
|
|
4845
|
-
compCommon: [y,
|
|
4844
|
+
pageCommon: [y, X, Wn],
|
|
4845
|
+
compCommon: [y, X, Wn]
|
|
4846
4846
|
},
|
|
4847
4847
|
events: [
|
|
4848
4848
|
{
|
|
@@ -5014,8 +5014,8 @@ const Rn = {
|
|
|
5014
5014
|
name: "x-runtime-lib.card",
|
|
5015
5015
|
comp: Pr,
|
|
5016
5016
|
properties: {
|
|
5017
|
-
pageCommon: [y,
|
|
5018
|
-
compCommon: [y,
|
|
5017
|
+
pageCommon: [y, X, Rn],
|
|
5018
|
+
compCommon: [y, X, Rn]
|
|
5019
5019
|
},
|
|
5020
5020
|
spawn: oa
|
|
5021
5021
|
};
|
|
@@ -5327,8 +5327,8 @@ const Nn = {
|
|
|
5327
5327
|
name: "x-runtime-lib.container",
|
|
5328
5328
|
comp: Mr,
|
|
5329
5329
|
properties: {
|
|
5330
|
-
pageCommon: [y,
|
|
5331
|
-
compCommon: [y,
|
|
5330
|
+
pageCommon: [y, X, Ae, Me, We, Nn],
|
|
5331
|
+
compCommon: [y, X, Ae, Me, We, Nn]
|
|
5332
5332
|
},
|
|
5333
5333
|
events: [
|
|
5334
5334
|
{
|
|
@@ -5568,8 +5568,8 @@ const Jn = {
|
|
|
5568
5568
|
name: "x-runtime-lib.flexLayoutEntry",
|
|
5569
5569
|
comp: Nr,
|
|
5570
5570
|
properties: {
|
|
5571
|
-
pageCommon: [y,
|
|
5572
|
-
compCommon: [y,
|
|
5571
|
+
pageCommon: [y, X, Un],
|
|
5572
|
+
compCommon: [y, X, Un]
|
|
5573
5573
|
}
|
|
5574
5574
|
};
|
|
5575
5575
|
S(Rt);
|
|
@@ -5849,8 +5849,8 @@ const qn = {
|
|
|
5849
5849
|
name: "x-runtime-lib.flexLayout",
|
|
5850
5850
|
comp: Fr,
|
|
5851
5851
|
properties: {
|
|
5852
|
-
pageCommon: [y,
|
|
5853
|
-
compCommon: [y,
|
|
5852
|
+
pageCommon: [y, X, Ae, Me, We, qn],
|
|
5853
|
+
compCommon: [y, X, Ae, Me, We, qn]
|
|
5854
5854
|
},
|
|
5855
5855
|
events: [
|
|
5856
5856
|
{
|
|
@@ -6106,8 +6106,8 @@ const Zn = {
|
|
|
6106
6106
|
name: "x-runtime-lib.form",
|
|
6107
6107
|
comp: jr,
|
|
6108
6108
|
properties: {
|
|
6109
|
-
pageCommon: [y,
|
|
6110
|
-
compCommon: [y,
|
|
6109
|
+
pageCommon: [y, X, Ae, Me, We, Zn],
|
|
6110
|
+
compCommon: [y, X, Ae, Me, We, Zn]
|
|
6111
6111
|
},
|
|
6112
6112
|
events: [
|
|
6113
6113
|
{
|
|
@@ -7982,10 +7982,10 @@ const ot = {
|
|
|
7982
7982
|
name: "x-runtime-lib.multipleRef",
|
|
7983
7983
|
comp: Vl,
|
|
7984
7984
|
properties: {
|
|
7985
|
-
pageCommon: [y,
|
|
7986
|
-
compCommon: [y,
|
|
7987
|
-
pageScene: [y,
|
|
7988
|
-
compScene: [y,
|
|
7985
|
+
pageCommon: [y, X, ot, it],
|
|
7986
|
+
compCommon: [y, X, ot, it],
|
|
7987
|
+
pageScene: [y, Y, ot, it],
|
|
7988
|
+
compScene: [y, Y, ot, it]
|
|
7989
7989
|
},
|
|
7990
7990
|
leaf: !0
|
|
7991
7991
|
};
|
|
@@ -8019,10 +8019,10 @@ const st = {
|
|
|
8019
8019
|
name: "x-runtime-lib.multipleSlot",
|
|
8020
8020
|
comp: Ll,
|
|
8021
8021
|
properties: {
|
|
8022
|
-
pageCommon: [y,
|
|
8023
|
-
compCommon: [y,
|
|
8024
|
-
pageScene: [y,
|
|
8025
|
-
compScene: [y,
|
|
8022
|
+
pageCommon: [y, X, st, rt],
|
|
8023
|
+
compCommon: [y, X, st, rt],
|
|
8024
|
+
pageScene: [y, Y, st, rt],
|
|
8025
|
+
compScene: [y, Y, st, rt]
|
|
8026
8026
|
},
|
|
8027
8027
|
leaf: !0
|
|
8028
8028
|
};
|
|
@@ -8043,10 +8043,10 @@ const lt = {
|
|
|
8043
8043
|
name: "x-runtime-lib.reference",
|
|
8044
8044
|
comp: zl,
|
|
8045
8045
|
properties: {
|
|
8046
|
-
pageCommon: [y,
|
|
8047
|
-
compCommon: [y,
|
|
8048
|
-
pageScene: [y,
|
|
8049
|
-
compScene: [y,
|
|
8046
|
+
pageCommon: [y, X, lt],
|
|
8047
|
+
compCommon: [y, X, lt],
|
|
8048
|
+
pageScene: [y, Y, lt],
|
|
8049
|
+
compScene: [y, Y, lt]
|
|
8050
8050
|
},
|
|
8051
8051
|
leaf: !0
|
|
8052
8052
|
};
|
|
@@ -8094,10 +8094,10 @@ const at = {
|
|
|
8094
8094
|
name: "x-runtime-lib.slot",
|
|
8095
8095
|
comp: Ve,
|
|
8096
8096
|
properties: {
|
|
8097
|
-
pageCommon: [y,
|
|
8098
|
-
compCommon: [y,
|
|
8099
|
-
pageScene: [y,
|
|
8100
|
-
compScene: [y,
|
|
8097
|
+
pageCommon: [y, X, at],
|
|
8098
|
+
compCommon: [y, X, at],
|
|
8099
|
+
pageScene: [y, Y, at],
|
|
8100
|
+
compScene: [y, Y, at]
|
|
8101
8101
|
},
|
|
8102
8102
|
leaf: !0
|
|
8103
8103
|
};
|
|
@@ -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
9067
|
function $e() {
|
|
9068
|
-
return
|
|
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,14 +9148,14 @@ 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
|
-
const
|
|
9154
|
-
an(
|
|
9153
|
+
const _ = O(f);
|
|
9154
|
+
an(_, p.subKeys, O(d)), p.type === "elementProperty" ? t.setElementProperty(
|
|
9155
9155
|
p.nodeId,
|
|
9156
9156
|
p.propertyKeys.split("."),
|
|
9157
|
-
|
|
9158
|
-
) : p.type === "customProperty" ? t.setCustomProperty(p.propertyId,
|
|
9157
|
+
_
|
|
9158
|
+
) : p.type === "customProperty" ? t.setCustomProperty(p.propertyId, _) : p.type === "customSlotProperty" ? t.setCustomSlotProperty(p.propertyId, _) : p.type === "state" ? t.setState(p.stateId, _) : console.assert(!1);
|
|
9159
9159
|
} else {
|
|
9160
9160
|
let f;
|
|
9161
9161
|
if (p.type === "elementProperty")
|
|
@@ -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,
|
|
@@ -9413,7 +9413,7 @@ function Xc(t) {
|
|
|
9413
9413
|
if (Be(t)) {
|
|
9414
9414
|
var l = [];
|
|
9415
9415
|
try {
|
|
9416
|
-
const d =
|
|
9416
|
+
const d = me(l, n.getProp(n.global, "__timeoutCallback__"));
|
|
9417
9417
|
n.callFunction(d, n.undefined, n.newNumber(s)).unwrap().dispose();
|
|
9418
9418
|
n.runtime.executePendingJobs();
|
|
9419
9419
|
} catch (c) {
|
|
@@ -9433,7 +9433,7 @@ function Xc(t) {
|
|
|
9433
9433
|
const ei = ai({
|
|
9434
9434
|
baseUrl: "http://localhost/computebase/",
|
|
9435
9435
|
onError: (t) => {
|
|
9436
|
-
const { i18n: n } =
|
|
9436
|
+
const { i18n: n } = _e;
|
|
9437
9437
|
zo(Ti(n, t));
|
|
9438
9438
|
}
|
|
9439
9439
|
});
|
|
@@ -9450,18 +9450,18 @@ function Zc(t) {
|
|
|
9450
9450
|
n.newFunction(
|
|
9451
9451
|
"__callFuncV1__",
|
|
9452
9452
|
(e, o, s, i, l) => {
|
|
9453
|
-
const c = n.getString(e), m = n.getString(o), u = n.dump(s), d = n.getString(i), p = n.getString(l), { promiseId: f, promise: g } = t.promiseManager.acquire(),
|
|
9453
|
+
const c = n.getString(e), m = n.getString(o), u = n.dump(s), d = n.getString(i), p = n.getString(l), { promiseId: f, promise: g } = t.promiseManager.acquire(), _ = JSON.stringify(u);
|
|
9454
9454
|
return Yc({
|
|
9455
9455
|
spaceId: c,
|
|
9456
9456
|
id: m,
|
|
9457
|
-
strInputs:
|
|
9457
|
+
strInputs: _,
|
|
9458
9458
|
env: d
|
|
9459
9459
|
}).then(
|
|
9460
|
-
({ strOutputs:
|
|
9461
|
-
Be(t) && (g.resolve(n.evalCode(`JSON.parse('${
|
|
9460
|
+
({ strOutputs: I }) => {
|
|
9461
|
+
Be(t) && (g.resolve(n.evalCode(`JSON.parse('${I}')`).unwrap()), t.promiseManager.release(f));
|
|
9462
9462
|
},
|
|
9463
|
-
(
|
|
9464
|
-
Be(t) && (g.reject(n.newString(`call func <${p}> failed, ${
|
|
9463
|
+
(I) => {
|
|
9464
|
+
Be(t) && (g.reject(n.newString(`call func <${p}> failed, ${I}`)), t.promiseManager.release(f));
|
|
9465
9465
|
}
|
|
9466
9466
|
), g.settled.then(n.runtime.executePendingJobs), g.handle;
|
|
9467
9467
|
}
|
|
@@ -9481,56 +9481,79 @@ function eu(t) {
|
|
|
9481
9481
|
return;
|
|
9482
9482
|
}
|
|
9483
9483
|
const { vm: n } = t;
|
|
9484
|
-
n.newFunction(
|
|
9485
|
-
|
|
9486
|
-
|
|
9487
|
-
|
|
9488
|
-
|
|
9489
|
-
|
|
9490
|
-
|
|
9491
|
-
|
|
9492
|
-
|
|
9493
|
-
|
|
9494
|
-
|
|
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
|
+
}
|
|
9495
9504
|
}
|
|
9496
|
-
|
|
9497
|
-
|
|
9498
|
-
|
|
9499
|
-
|
|
9500
|
-
|
|
9501
|
-
|
|
9502
|
-
|
|
9503
|
-
|
|
9504
|
-
|
|
9505
|
-
|
|
9506
|
-
|
|
9507
|
-
|
|
9508
|
-
|
|
9509
|
-
|
|
9510
|
-
|
|
9511
|
-
|
|
9512
|
-
|
|
9513
|
-
|
|
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
|
+
}
|
|
9514
9530
|
}
|
|
9515
|
-
|
|
9516
|
-
|
|
9517
|
-
|
|
9518
|
-
|
|
9519
|
-
|
|
9520
|
-
|
|
9521
|
-
|
|
9522
|
-
|
|
9523
|
-
|
|
9524
|
-
|
|
9525
|
-
|
|
9526
|
-
|
|
9527
|
-
|
|
9528
|
-
|
|
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
|
+
}
|
|
9529
9552
|
}
|
|
9530
9553
|
}
|
|
9531
9554
|
}
|
|
9532
9555
|
}
|
|
9533
|
-
|
|
9556
|
+
).consume((e) => n.setProp(n.global, "__triggerEventV1__", e)), n.newFunction("__getPropertyV1__", (e, o) => {
|
|
9534
9557
|
const s = n.getString(e), i = n.getString(o), { kind: l, nodeId: c, propertyKey: m } = ko(s);
|
|
9535
9558
|
let u;
|
|
9536
9559
|
if (l === "elementProperty")
|
|
@@ -9621,9 +9644,9 @@ function eu(t) {
|
|
|
9621
9644
|
appId: `${s}${t.env}`,
|
|
9622
9645
|
pageId: i
|
|
9623
9646
|
};
|
|
9624
|
-
|
|
9647
|
+
_e.router.replace({ path: l, query: c });
|
|
9625
9648
|
} else t.mode === "preview" && Lo(
|
|
9626
|
-
|
|
9649
|
+
_e.i18n.global.t(
|
|
9627
9650
|
"x-runtime-lib.msg.takeEffectOnlyAfterReleased"
|
|
9628
9651
|
)
|
|
9629
9652
|
);
|
|
@@ -9803,7 +9826,7 @@ class iu {
|
|
|
9803
9826
|
this.debugTrace(
|
|
9804
9827
|
`call ${n}(${e.map((u) => JSON.stringify(u)).join(", ")})`
|
|
9805
9828
|
);
|
|
9806
|
-
const o =
|
|
9829
|
+
const o = me(i, this.vm.getProp(this.vm.global, n));
|
|
9807
9830
|
if (this.vm.typeof(o) !== "function") {
|
|
9808
9831
|
console.error(`Sandbox/callFunction ${n} not available`);
|
|
9809
9832
|
return;
|
|
@@ -9848,7 +9871,7 @@ class iu {
|
|
|
9848
9871
|
return;
|
|
9849
9872
|
}
|
|
9850
9873
|
const i = Ce(s, e);
|
|
9851
|
-
|
|
9874
|
+
pe(o, i) || (an(s, e, o), this.hooks?.onElementPropertyChange(
|
|
9852
9875
|
s.basic.id,
|
|
9853
9876
|
e,
|
|
9854
9877
|
o,
|
|
@@ -9867,7 +9890,7 @@ class iu {
|
|
|
9867
9890
|
}
|
|
9868
9891
|
setCustomProperty(n, e) {
|
|
9869
9892
|
const o = this.customProperties[n];
|
|
9870
|
-
|
|
9893
|
+
pe(e, o) || (this.customProperties[n] = e, this.hooks?.onCustomPropertyChange(n, e, o));
|
|
9871
9894
|
}
|
|
9872
9895
|
//--------------------------
|
|
9873
9896
|
// 自定义插槽属性
|
|
@@ -9881,7 +9904,7 @@ class iu {
|
|
|
9881
9904
|
}
|
|
9882
9905
|
setCustomSlotProperty(n, e) {
|
|
9883
9906
|
const o = this.customSlotProperties[n];
|
|
9884
|
-
|
|
9907
|
+
pe(e, o) || (this.customSlotProperties[n] = e, this.hooks.onCustomSlotPropetyChange(n, e, o));
|
|
9885
9908
|
}
|
|
9886
9909
|
//--------------------------
|
|
9887
9910
|
// 元素方法
|
|
@@ -9897,7 +9920,7 @@ class iu {
|
|
|
9897
9920
|
var c = [];
|
|
9898
9921
|
try {
|
|
9899
9922
|
const s = `__implementMethod$${n}__`;
|
|
9900
|
-
const i =
|
|
9923
|
+
const i = me(c, this.vm.getProp(this.vm.global, s));
|
|
9901
9924
|
if (this.vm.typeof(i) !== "function")
|
|
9902
9925
|
return console.error(`Sandbox/callCustomMethod ${s} not available`), this.vm.undefined;
|
|
9903
9926
|
const l = this.vm.callFunction(
|
|
@@ -9926,29 +9949,29 @@ class iu {
|
|
|
9926
9949
|
}
|
|
9927
9950
|
setState(n, e) {
|
|
9928
9951
|
const o = this.states[n];
|
|
9929
|
-
|
|
9952
|
+
pe(e, o) || (this.states[n] = e, this.hooks?.onStateChange(n, e, o));
|
|
9930
9953
|
}
|
|
9931
9954
|
}
|
|
9932
9955
|
function tt(t, n, e, o, s) {
|
|
9933
|
-
const i = Fc(), l = Nc(), c = Z(), m = $e(), u = Fe(), d = Ze(), p = Gc(), f = (x, h,
|
|
9956
|
+
const i = Fc(), l = Nc(), c = Z(), m = $e(), u = Fe(), d = Ze(), p = Gc(), f = (x, h, v, V) => {
|
|
9934
9957
|
if (le(c)) {
|
|
9935
|
-
if (
|
|
9958
|
+
if (pe(h, ["settings", "slot"])) {
|
|
9936
9959
|
const T = t.value?.view.nodeLites.find(
|
|
9937
|
-
(
|
|
9960
|
+
(j) => j.id === x
|
|
9938
9961
|
);
|
|
9939
|
-
T ? T.slotId =
|
|
9962
|
+
T ? T.slotId = v : console.assert(!1);
|
|
9940
9963
|
}
|
|
9941
|
-
if (
|
|
9964
|
+
if (pe(h, ["settings", "comp"])) {
|
|
9942
9965
|
const T = t.value?.view.nodeLites.find(
|
|
9943
|
-
(
|
|
9966
|
+
(j) => j.id === x
|
|
9944
9967
|
);
|
|
9945
|
-
T ? T.compId =
|
|
9968
|
+
T ? T.compId = v : console.assert(!1);
|
|
9946
9969
|
}
|
|
9947
9970
|
if (b.callFunction(
|
|
9948
9971
|
"__triggerEventV1__",
|
|
9949
9972
|
ae("elementPropertyChangeEvent", x, h.join(".")),
|
|
9950
|
-
|
|
9951
|
-
|
|
9973
|
+
v,
|
|
9974
|
+
V ?? v
|
|
9952
9975
|
), t.value?.code.reactivity) {
|
|
9953
9976
|
let T = "";
|
|
9954
9977
|
h instanceof Array ? T = h.join(".") : T = h, ct(
|
|
@@ -9959,22 +9982,22 @@ function tt(t, n, e, o, s) {
|
|
|
9959
9982
|
nodeId: x,
|
|
9960
9983
|
propertyKeys: T
|
|
9961
9984
|
}),
|
|
9962
|
-
|
|
9963
|
-
|
|
9985
|
+
v,
|
|
9986
|
+
V
|
|
9964
9987
|
);
|
|
9965
9988
|
}
|
|
9966
9989
|
}
|
|
9967
|
-
}, g = (x, h,
|
|
9990
|
+
}, g = (x, h, v) => {
|
|
9968
9991
|
le(c) && (b.callFunction(
|
|
9969
9992
|
"__triggerEventV1__",
|
|
9970
9993
|
ae("customPropertyChangeEvent", "globality", x),
|
|
9971
9994
|
h,
|
|
9972
|
-
|
|
9995
|
+
v ?? h
|
|
9973
9996
|
), b.parent?.callFunction(
|
|
9974
9997
|
"__triggerEventV1__",
|
|
9975
9998
|
ae("refPropertyChangeEvent", b.nodeId, x),
|
|
9976
9999
|
h,
|
|
9977
|
-
|
|
10000
|
+
v ?? h
|
|
9978
10001
|
), b.parent?.callFunction(
|
|
9979
10002
|
"__triggerEventV1__",
|
|
9980
10003
|
ae(
|
|
@@ -9983,34 +10006,34 @@ function tt(t, n, e, o, s) {
|
|
|
9983
10006
|
x
|
|
9984
10007
|
),
|
|
9985
10008
|
h,
|
|
9986
|
-
|
|
10009
|
+
v ?? h
|
|
9987
10010
|
), t.value?.code.reactivity && ct(
|
|
9988
10011
|
b,
|
|
9989
10012
|
t.value.code.reactivity,
|
|
9990
10013
|
je({ type: "customProperty", propertyId: x }),
|
|
9991
10014
|
h,
|
|
9992
|
-
|
|
10015
|
+
v
|
|
9993
10016
|
));
|
|
9994
|
-
},
|
|
10017
|
+
}, _ = (x, h, v) => {
|
|
9995
10018
|
le(c) && t.value?.code.reactivity && ct(
|
|
9996
10019
|
b,
|
|
9997
10020
|
t.value.code.reactivity,
|
|
9998
10021
|
je({ type: "customSlotProperty", propertyId: x }),
|
|
9999
10022
|
h,
|
|
10000
|
-
|
|
10023
|
+
v
|
|
10001
10024
|
);
|
|
10002
|
-
},
|
|
10025
|
+
}, I = (x, h, v) => {
|
|
10003
10026
|
le(c) && (b.callFunction(
|
|
10004
10027
|
"__triggerEventV1__",
|
|
10005
10028
|
ae("stateChangeEvent", "globality", x),
|
|
10006
10029
|
h,
|
|
10007
|
-
|
|
10030
|
+
v ?? h
|
|
10008
10031
|
), t.value?.code.reactivity && ct(
|
|
10009
10032
|
b,
|
|
10010
10033
|
t.value.code.reactivity,
|
|
10011
10034
|
je({ type: "state", stateId: x }),
|
|
10012
10035
|
h,
|
|
10013
|
-
|
|
10036
|
+
v
|
|
10014
10037
|
));
|
|
10015
10038
|
}, b = new iu(
|
|
10016
10039
|
n,
|
|
@@ -10024,8 +10047,8 @@ function tt(t, n, e, o, s) {
|
|
|
10024
10047
|
{
|
|
10025
10048
|
onElementPropertyChange: f,
|
|
10026
10049
|
onCustomPropertyChange: g,
|
|
10027
|
-
onCustomSlotPropetyChange:
|
|
10028
|
-
onStateChange:
|
|
10050
|
+
onCustomSlotPropetyChange: _,
|
|
10051
|
+
onStateChange: I
|
|
10029
10052
|
}
|
|
10030
10053
|
);
|
|
10031
10054
|
if (Hc(b), Ie(() => {
|
|
@@ -10034,23 +10057,23 @@ function tt(t, n, e, o, s) {
|
|
|
10034
10057
|
const x = async () => {
|
|
10035
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);
|
|
10036
10059
|
};
|
|
10037
|
-
x(),
|
|
10060
|
+
x(), de(t, () => {
|
|
10038
10061
|
x();
|
|
10039
10062
|
});
|
|
10040
10063
|
}
|
|
10041
|
-
le(c) &&
|
|
10064
|
+
le(c) && de(
|
|
10042
10065
|
u,
|
|
10043
10066
|
(x, h) => {
|
|
10044
|
-
const
|
|
10067
|
+
const v = ut(x.width), V = ut(h?.width ?? x.width);
|
|
10045
10068
|
b.callFunction(
|
|
10046
10069
|
"__triggerEventV1__",
|
|
10047
10070
|
ae("elementEvent", "globality", "screenSizeChange"),
|
|
10048
|
-
|
|
10049
|
-
|
|
10071
|
+
v,
|
|
10072
|
+
V
|
|
10050
10073
|
);
|
|
10051
10074
|
},
|
|
10052
10075
|
{ immediate: !0 }
|
|
10053
|
-
), le(c) &&
|
|
10076
|
+
), le(c) && de(
|
|
10054
10077
|
d,
|
|
10055
10078
|
(x) => {
|
|
10056
10079
|
b.callFunction(
|
|
@@ -10062,9 +10085,9 @@ function tt(t, n, e, o, s) {
|
|
|
10062
10085
|
{ immediate: !0 }
|
|
10063
10086
|
);
|
|
10064
10087
|
}
|
|
10065
|
-
function
|
|
10088
|
+
function J() {
|
|
10066
10089
|
const t = Ze();
|
|
10067
|
-
return { theme:
|
|
10090
|
+
return { theme: w(() => t.value ? "dark" : "light") };
|
|
10068
10091
|
}
|
|
10069
10092
|
const su = (t, n, e) => {
|
|
10070
10093
|
const o = t[n];
|
|
@@ -10131,7 +10154,7 @@ export {
|
|
|
10131
10154
|
Z as injectMode,
|
|
10132
10155
|
Fc as injectOrg,
|
|
10133
10156
|
Gc as injectRuntime,
|
|
10134
|
-
|
|
10157
|
+
ve as injectSandbox,
|
|
10135
10158
|
$e as injectType,
|
|
10136
10159
|
Ye as isCircularReference,
|
|
10137
10160
|
le as isExecutableMode,
|
|
@@ -10232,7 +10255,7 @@ export {
|
|
|
10232
10255
|
et as useDepend,
|
|
10233
10256
|
tm as useRuntime,
|
|
10234
10257
|
tt as useSandbox,
|
|
10235
|
-
|
|
10258
|
+
J as useTheme,
|
|
10236
10259
|
tn as windowItemV1,
|
|
10237
10260
|
nn as windowV1
|
|
10238
10261
|
};
|