x-runtime-lib 0.8.77 → 0.8.78
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 +278 -278
- package/dist/sandbox/sandbox/promiseManager.d.ts +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -15,15 +15,15 @@ var Se = (t, e, n) => {
|
|
|
15
15
|
} else n && t.push([n]);
|
|
16
16
|
return e;
|
|
17
17
|
}, $e = (t, e, n) => {
|
|
18
|
-
var o = typeof SuppressedError == "function" ? SuppressedError : function(a, c,
|
|
19
|
-
return d = Error(
|
|
18
|
+
var o = typeof SuppressedError == "function" ? SuppressedError : function(a, c, m, d) {
|
|
19
|
+
return d = Error(m), d.name = "SuppressedError", d.error = a, d.suppressed = c, d;
|
|
20
20
|
}, s = (a) => e = n ? new o(a, e, "An error was suppressed during disposal") : (n = !0, a), r = (a) => {
|
|
21
21
|
for (; a = t.pop(); )
|
|
22
22
|
try {
|
|
23
23
|
var c = a[1] && a[1].call(a[2]);
|
|
24
|
-
if (a[0]) return Promise.resolve(c).then(r, (
|
|
25
|
-
} catch (
|
|
26
|
-
s(
|
|
24
|
+
if (a[0]) return Promise.resolve(c).then(r, (m) => (s(m), r()));
|
|
25
|
+
} catch (m) {
|
|
26
|
+
s(m);
|
|
27
27
|
}
|
|
28
28
|
if (n) throw e;
|
|
29
29
|
};
|
|
@@ -328,7 +328,7 @@ function ye(t) {
|
|
|
328
328
|
"transform",
|
|
329
329
|
"scale",
|
|
330
330
|
"x"
|
|
331
|
-
]), { property:
|
|
331
|
+
]), { property: m } = l(t, [
|
|
332
332
|
"transform",
|
|
333
333
|
"scale",
|
|
334
334
|
"y"
|
|
@@ -336,20 +336,20 @@ function ye(t) {
|
|
|
336
336
|
"transform",
|
|
337
337
|
"scale",
|
|
338
338
|
"z"
|
|
339
|
-
]),
|
|
339
|
+
]), u = oe([0, 0, 0]), p = oe([0, 0, 0]), y = oe([1, 1, 1]);
|
|
340
340
|
return de(() => {
|
|
341
|
-
|
|
341
|
+
u.value = [e.value, n.value, o.value];
|
|
342
342
|
}), de(() => {
|
|
343
|
-
e.value =
|
|
343
|
+
e.value = u.value[0], n.value = u.value[1], o.value = u.value[2];
|
|
344
344
|
}), de(() => {
|
|
345
345
|
p.value = [s.value, r.value, a.value];
|
|
346
346
|
}), de(() => {
|
|
347
347
|
s.value = p.value[0], r.value = p.value[1], a.value = p.value[2];
|
|
348
348
|
}), de(() => {
|
|
349
|
-
y.value = [c.value,
|
|
349
|
+
y.value = [c.value, m.value, d.value];
|
|
350
350
|
}), de(() => {
|
|
351
|
-
c.value = y.value[0],
|
|
352
|
-
}), { position:
|
|
351
|
+
c.value = y.value[0], m.value = y.value[1], d.value = y.value[2];
|
|
352
|
+
}), { position: u, rotation: p, scale: y };
|
|
353
353
|
}
|
|
354
354
|
function $o(t) {
|
|
355
355
|
const e = v(() => t.node.legend?.show), n = v(() => t.node.legend?.data);
|
|
@@ -410,16 +410,16 @@ function K(t) {
|
|
|
410
410
|
}), r = v(() => n.value ? t.value.custom?.dark : t.value.custom?.light), a = v(() => o.value === "theme" ? s.value ?? "" : o.value === "custom" ? r.value ?? "" : ""), c = v(() => {
|
|
411
411
|
const d = a.value;
|
|
412
412
|
return !d.startsWith("#") || d.length < 7 ? "" : d.substring(0, 7);
|
|
413
|
-
}),
|
|
413
|
+
}), m = v(() => {
|
|
414
414
|
const d = a.value;
|
|
415
415
|
return d.startsWith("#") ? d.length < 9 ? 1 : parseInt(d.substring(7, 9)) / 255 : 0;
|
|
416
416
|
});
|
|
417
|
-
return { color: a, rgb: c, alpha:
|
|
417
|
+
return { color: a, rgb: c, alpha: m };
|
|
418
418
|
}
|
|
419
419
|
function Hn(t) {
|
|
420
|
-
const e = v(() => t.node.border?.style), n = v(() => t.node.border?.width), o = v(() => t.node.border?.color), { color: s } = K(o), r = v(() => t.node.border?.roundRadius?.tl), a = v(() => t.node.border?.roundRadius?.tr), c = v(() => t.node.border?.roundRadius?.bl),
|
|
421
|
-
function d(
|
|
422
|
-
e.value && (
|
|
420
|
+
const e = v(() => t.node.border?.style), n = v(() => t.node.border?.width), o = v(() => t.node.border?.color), { color: s } = K(o), r = v(() => t.node.border?.roundRadius?.tl), a = v(() => t.node.border?.roundRadius?.tr), c = v(() => t.node.border?.roundRadius?.bl), m = v(() => t.node.border?.roundRadius?.br);
|
|
421
|
+
function d(u) {
|
|
422
|
+
e.value && (u.borderStyle = e.value), n.value && (u.borderWidth = n.value), s.value && (u.borderColor = s.value), r.value && (u.borderTopLeftRadius = r.value), a.value && (u.borderTopRightRadius = a.value), c.value && (u.borderBottomLeftRadius = c.value), m.value && (u.borderBottomRightRadius = m.value);
|
|
423
423
|
}
|
|
424
424
|
return { borderStyle: e, borderWidth: n, borderColor: s, applyBorder: d };
|
|
425
425
|
}
|
|
@@ -440,30 +440,30 @@ function On(t) {
|
|
|
440
440
|
function fe(t) {
|
|
441
441
|
const e = H(), n = Le(), o = v(() => t.node.size?.width), s = v(() => t.node.size?.minWidth), r = v(() => t.node.size?.maxWidth), a = v(() => {
|
|
442
442
|
if (t.outer && e === "editor") {
|
|
443
|
-
const
|
|
444
|
-
if (
|
|
445
|
-
return
|
|
443
|
+
const u = on(t.node.size?.height);
|
|
444
|
+
if (u)
|
|
445
|
+
return u / 100 * n.value.height + "px";
|
|
446
446
|
}
|
|
447
447
|
return t.node.size?.height;
|
|
448
448
|
}), c = v(() => {
|
|
449
449
|
if (t.outer && e === "editor") {
|
|
450
|
-
const
|
|
451
|
-
if (
|
|
452
|
-
return
|
|
450
|
+
const u = on(t.node.size?.minHeight);
|
|
451
|
+
if (u)
|
|
452
|
+
return u / 100 * n.value.height + "px";
|
|
453
453
|
}
|
|
454
454
|
return t.node.size?.minHeight;
|
|
455
|
-
}),
|
|
455
|
+
}), m = v(() => {
|
|
456
456
|
if (t.outer && e === "editor") {
|
|
457
|
-
const
|
|
458
|
-
if (
|
|
459
|
-
return
|
|
457
|
+
const u = on(t.node.size?.maxHeight);
|
|
458
|
+
if (u)
|
|
459
|
+
return u / 100 * n.value.height + "px";
|
|
460
460
|
}
|
|
461
461
|
return t.node.size?.maxHeight;
|
|
462
462
|
});
|
|
463
|
-
function d(
|
|
464
|
-
o.value && (
|
|
463
|
+
function d(u) {
|
|
464
|
+
o.value && (u.width = o.value), s.value && (u.minWidth = s.value), r.value && (u.maxWidth = r.value), a.value && (u.height = a.value), c.value && (u.minHeight = c.value), m.value && (u.maxHeight = m.value);
|
|
465
465
|
}
|
|
466
|
-
return { width: o, minWidth: s, maxWidth: r, height: a, minHeight: c, maxHeight:
|
|
466
|
+
return { width: o, minWidth: s, maxWidth: r, height: a, minHeight: c, maxHeight: m, applySize: d };
|
|
467
467
|
}
|
|
468
468
|
function Je(t, e, n) {
|
|
469
469
|
const o = he();
|
|
@@ -487,7 +487,7 @@ const Fr = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
487
487
|
outer: { type: Boolean }
|
|
488
488
|
},
|
|
489
489
|
setup(t) {
|
|
490
|
-
const e = t, n = H(), { position: o, rotation: s, scale: r } = ye(e), { property: a } = l(e, ["settings", "bottom"]), { property: c } = l(e, ["settings", "far"]), { property:
|
|
490
|
+
const e = t, n = H(), { position: o, rotation: s, scale: r } = ye(e), { property: a } = l(e, ["settings", "bottom"]), { property: c } = l(e, ["settings", "far"]), { property: m } = l(e, ["settings", "left"]), { property: d } = l(e, ["settings", "near"]), { property: u } = l(e, ["settings", "right"]), { property: p } = l(e, ["settings", "top"]);
|
|
491
491
|
return (y, b) => (g(), w(i(_e), {
|
|
492
492
|
position: i(o),
|
|
493
493
|
rotation: i(s),
|
|
@@ -497,10 +497,10 @@ const Fr = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
497
497
|
Y("TresOrthographicCamera", {
|
|
498
498
|
bottom: i(a),
|
|
499
499
|
far: i(c),
|
|
500
|
-
left: i(
|
|
500
|
+
left: i(m),
|
|
501
501
|
near: i(d),
|
|
502
502
|
position: i(n) !== "editor" ? i(o) : [0, 0, 0],
|
|
503
|
-
right: i(
|
|
503
|
+
right: i(u),
|
|
504
504
|
rotation: i(n) !== "editor" ? i(s) : [0, 0, 0],
|
|
505
505
|
scale: i(n) !== "editor" ? i(r) : [1, 1, 1],
|
|
506
506
|
top: i(p)
|
|
@@ -522,8 +522,8 @@ const Fr = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
522
522
|
outer: { type: Boolean }
|
|
523
523
|
},
|
|
524
524
|
setup(t) {
|
|
525
|
-
const e = t, n = H(), { position: o, rotation: s, scale: r } = ye(e), { property: a } = l(e, ["settings", "aspect"]), { property: c } = l(e, ["settings", "far"]), { property:
|
|
526
|
-
return (
|
|
525
|
+
const e = t, n = H(), { position: o, rotation: s, scale: r } = ye(e), { property: a } = l(e, ["settings", "aspect"]), { property: c } = l(e, ["settings", "far"]), { property: m } = l(e, ["settings", "fov"]), { property: d } = l(e, ["settings", "near"]);
|
|
526
|
+
return (u, p) => (g(), w(i(_e), {
|
|
527
527
|
position: i(o),
|
|
528
528
|
rotation: i(s),
|
|
529
529
|
scale: i(r)
|
|
@@ -532,7 +532,7 @@ const Fr = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
532
532
|
Y("TresPerspectiveCamera", {
|
|
533
533
|
aspect: i(a),
|
|
534
534
|
far: i(c),
|
|
535
|
-
fov: i(
|
|
535
|
+
fov: i(m),
|
|
536
536
|
near: i(d),
|
|
537
537
|
position: i(n) !== "editor" ? i(o) : [0, 0, 0],
|
|
538
538
|
rotation: i(n) !== "editor" ? i(s) : [0, 0, 0],
|
|
@@ -542,7 +542,7 @@ const Fr = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
542
542
|
key: 0,
|
|
543
543
|
type: i(xo)
|
|
544
544
|
}, null, 8, ["type"])) : ne("", !0),
|
|
545
|
-
B(
|
|
545
|
+
B(u.$slots, "default")
|
|
546
546
|
], 8, Gr)
|
|
547
547
|
]),
|
|
548
548
|
_: 3
|
|
@@ -565,7 +565,7 @@ const Fr = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
565
565
|
"settings",
|
|
566
566
|
"widthSegements"
|
|
567
567
|
]);
|
|
568
|
-
return (
|
|
568
|
+
return (m, d) => (g(), te("TresBoxGeometry", {
|
|
569
569
|
args: [
|
|
570
570
|
i(a),
|
|
571
571
|
i(s),
|
|
@@ -603,14 +603,14 @@ const Fr = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
603
603
|
]), { property: c } = l(e, [
|
|
604
604
|
"settings",
|
|
605
605
|
"thetaStart"
|
|
606
|
-
]), { property:
|
|
606
|
+
]), { property: m } = l(e, [
|
|
607
607
|
"settings",
|
|
608
608
|
"widthSegments"
|
|
609
609
|
]);
|
|
610
|
-
return (d,
|
|
610
|
+
return (d, u) => (g(), te("TresSphereGeometry", {
|
|
611
611
|
args: [
|
|
612
612
|
i(r),
|
|
613
|
-
i(
|
|
613
|
+
i(m),
|
|
614
614
|
i(n),
|
|
615
615
|
i(s),
|
|
616
616
|
i(o),
|
|
@@ -626,11 +626,11 @@ const Fr = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
626
626
|
outer: { type: Boolean }
|
|
627
627
|
},
|
|
628
628
|
setup(t) {
|
|
629
|
-
const e = t, n = H(), { position: o, rotation: s, scale: r } = ye(e), { property: a } = l(e, ["settings", "color"]), { color: c } = K(a), { property:
|
|
629
|
+
const e = t, n = H(), { position: o, rotation: s, scale: r } = ye(e), { property: a } = l(e, ["settings", "color"]), { color: c } = K(a), { property: m } = l(e, [
|
|
630
630
|
"settings",
|
|
631
631
|
"intensity"
|
|
632
632
|
]);
|
|
633
|
-
return (d,
|
|
633
|
+
return (d, u) => (g(), w(i(_e), {
|
|
634
634
|
position: i(o),
|
|
635
635
|
rotation: i(s),
|
|
636
636
|
scale: i(r)
|
|
@@ -638,7 +638,7 @@ const Fr = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
638
638
|
default: _(() => [
|
|
639
639
|
Y("TresAmbientLight", {
|
|
640
640
|
color: i(c),
|
|
641
|
-
intensity: i(
|
|
641
|
+
intensity: i(m),
|
|
642
642
|
position: i(n) !== "editor" ? i(o) : [0, 0, 0],
|
|
643
643
|
rotation: i(n) !== "editor" ? i(s) : [0, 0, 0],
|
|
644
644
|
scale: i(n) !== "editor" ? i(r) : [1, 1, 1]
|
|
@@ -656,11 +656,11 @@ const Fr = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
656
656
|
outer: { type: Boolean }
|
|
657
657
|
},
|
|
658
658
|
setup(t) {
|
|
659
|
-
const e = t, n = H(), { position: o, rotation: s, scale: r } = ye(e), { property: a } = l(e, ["settings", "color"]), { color: c } = K(a), { property:
|
|
659
|
+
const e = t, n = H(), { position: o, rotation: s, scale: r } = ye(e), { property: a } = l(e, ["settings", "color"]), { color: c } = K(a), { property: m } = l(e, [
|
|
660
660
|
"settings",
|
|
661
661
|
"intensity"
|
|
662
662
|
]);
|
|
663
|
-
return (d,
|
|
663
|
+
return (d, u) => (g(), w(i(_e), {
|
|
664
664
|
position: i(o),
|
|
665
665
|
rotation: i(s),
|
|
666
666
|
scale: i(r)
|
|
@@ -668,7 +668,7 @@ const Fr = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
668
668
|
default: _(() => [
|
|
669
669
|
Y("TresDirectionalLight", {
|
|
670
670
|
color: i(c),
|
|
671
|
-
intensity: i(
|
|
671
|
+
intensity: i(m),
|
|
672
672
|
position: i(n) !== "editor" ? i(o) : [0, 0, 0],
|
|
673
673
|
rotation: i(n) !== "editor" ? i(s) : [0, 0, 0],
|
|
674
674
|
scale: i(n) !== "editor" ? i(r) : [1, 1, 1]
|
|
@@ -690,10 +690,10 @@ const Fr = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
690
690
|
outer: { type: Boolean }
|
|
691
691
|
},
|
|
692
692
|
setup(t) {
|
|
693
|
-
const e = t, n = H(), { position: o, rotation: s, scale: r } = ye(e), { property: a } = l(e, ["settings", "color"]), { color: c } = K(a), { property:
|
|
693
|
+
const e = t, n = H(), { position: o, rotation: s, scale: r } = ye(e), { property: a } = l(e, ["settings", "color"]), { color: c } = K(a), { property: m } = l(e, ["settings", "decay"]), { property: d } = l(e, [
|
|
694
694
|
"settings",
|
|
695
695
|
"distance"
|
|
696
|
-
]), { property:
|
|
696
|
+
]), { property: u } = l(e, [
|
|
697
697
|
"settings",
|
|
698
698
|
"intensity"
|
|
699
699
|
]);
|
|
@@ -705,9 +705,9 @@ const Fr = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
705
705
|
default: _(() => [
|
|
706
706
|
Y("TresPointLight", {
|
|
707
707
|
color: i(c),
|
|
708
|
-
decay: i(
|
|
708
|
+
decay: i(m),
|
|
709
709
|
distance: i(d),
|
|
710
|
-
intensity: i(
|
|
710
|
+
intensity: i(u),
|
|
711
711
|
position: i(n) !== "editor" ? i(o) : [0, 0, 0],
|
|
712
712
|
rotation: i(n) !== "editor" ? i(s) : [0, 0, 0],
|
|
713
713
|
scale: i(n) !== "editor" ? i(r) : [1, 1, 1]
|
|
@@ -729,7 +729,7 @@ const Fr = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
729
729
|
outer: { type: Boolean }
|
|
730
730
|
},
|
|
731
731
|
setup(t) {
|
|
732
|
-
const e = t, n = H(), { position: o, rotation: s, scale: r } = ye(e), { property: a } = l(e, ["settings", "angle"]), { property: c } = l(e, ["settings", "color"]), { color:
|
|
732
|
+
const e = t, n = H(), { position: o, rotation: s, scale: r } = ye(e), { property: a } = l(e, ["settings", "angle"]), { property: c } = l(e, ["settings", "color"]), { color: m } = K(c), { property: d } = l(e, ["settings", "decay"]), { property: u } = l(e, [
|
|
733
733
|
"settings",
|
|
734
734
|
"distance"
|
|
735
735
|
]), { property: p } = l(e, [
|
|
@@ -747,9 +747,9 @@ const Fr = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
|
|
|
747
747
|
default: _(() => [
|
|
748
748
|
Y("TresSpotLight", {
|
|
749
749
|
angle: i(a),
|
|
750
|
-
color: i(
|
|
750
|
+
color: i(m),
|
|
751
751
|
decay: i(d),
|
|
752
|
-
distance: i(
|
|
752
|
+
distance: i(u),
|
|
753
753
|
intensity: i(p),
|
|
754
754
|
penumbra: i(y),
|
|
755
755
|
position: i(n) !== "editor" ? i(o) : [0, 0, 0],
|
|
@@ -891,7 +891,7 @@ const fl = /* @__PURE__ */ $({
|
|
|
891
891
|
outer: { type: Boolean }
|
|
892
892
|
},
|
|
893
893
|
setup(t) {
|
|
894
|
-
const e = t, n = Le(), o = He(), s = be(), r = we(), { width: a, minWidth: c, maxWidth:
|
|
894
|
+
const e = t, n = Le(), o = He(), s = be(), r = we(), { width: a, minWidth: c, maxWidth: m, height: d, minHeight: u, maxHeight: p, applySize: y } = fe(e), { applyTitle: b } = Co(e), { applyXAxis: h } = Po(e), { applyYAxis: k } = To(e), { applyLegend: x } = $o(e), { applySeries: S } = Io(e), I = v(() => {
|
|
895
895
|
const C = {}, G = r.value.type;
|
|
896
896
|
return s === "page" ? G === "common" ? y(C) : console.assert(!1) : s === "comp" && G === "common" ? y(C) : console.assert(!1), C;
|
|
897
897
|
}), P = co("chart");
|
|
@@ -916,9 +916,9 @@ const fl = /* @__PURE__ */ $({
|
|
|
916
916
|
() => n.value.height,
|
|
917
917
|
a,
|
|
918
918
|
c,
|
|
919
|
-
u,
|
|
920
|
-
d,
|
|
921
919
|
m,
|
|
920
|
+
d,
|
|
921
|
+
u,
|
|
922
922
|
p
|
|
923
923
|
],
|
|
924
924
|
async () => {
|
|
@@ -949,7 +949,7 @@ const fl = /* @__PURE__ */ $({
|
|
|
949
949
|
outer: { type: Boolean }
|
|
950
950
|
},
|
|
951
951
|
setup(t) {
|
|
952
|
-
const e = t, n = Le(), o = He(), s = be(), r = we(), { width: a, minWidth: c, maxWidth:
|
|
952
|
+
const e = t, n = Le(), o = He(), s = be(), r = we(), { width: a, minWidth: c, maxWidth: m, height: d, minHeight: u, maxHeight: p, applySize: y } = fe(e), { applyTitle: b } = Co(e), { applyXAxis: h } = Po(e), { applyYAxis: k } = To(e), { applyLegend: x } = $o(e), { applySeries: S } = Io(e), I = v(() => {
|
|
953
953
|
const C = {}, G = r.value.type;
|
|
954
954
|
return s === "page" ? G === "common" ? y(C) : console.assert(!1) : s === "comp" && G === "common" ? y(C) : console.assert(!1), C;
|
|
955
955
|
}), P = co("chart");
|
|
@@ -974,9 +974,9 @@ const fl = /* @__PURE__ */ $({
|
|
|
974
974
|
() => n.value.height,
|
|
975
975
|
a,
|
|
976
976
|
c,
|
|
977
|
-
u,
|
|
978
|
-
d,
|
|
979
977
|
m,
|
|
978
|
+
d,
|
|
979
|
+
u,
|
|
980
980
|
p
|
|
981
981
|
],
|
|
982
982
|
async () => {
|
|
@@ -1022,21 +1022,21 @@ const fl = /* @__PURE__ */ $({
|
|
|
1022
1022
|
const { t: e } = wo(), n = t, o = oe(), s = H();
|
|
1023
1023
|
Z(s) && oi(o, "reference", n.node.basic.id, "", he()), ii(n.refContext.compId, o);
|
|
1024
1024
|
const r = er(), { applySize: a } = fe(n), c = v(() => {
|
|
1025
|
-
const
|
|
1026
|
-
return o.value?.type === "common" && a(
|
|
1025
|
+
const u = {};
|
|
1026
|
+
return o.value?.type === "common" && a(u), u;
|
|
1027
1027
|
});
|
|
1028
|
-
function u
|
|
1029
|
-
const p = Re[
|
|
1028
|
+
function m(u) {
|
|
1029
|
+
const p = Re[u.basic.key];
|
|
1030
1030
|
if (!p)
|
|
1031
|
-
return console.assert(!1, `element not found key=${
|
|
1032
|
-
const y = { node:
|
|
1033
|
-
|
|
1031
|
+
return console.assert(!1, `element not found key=${u.basic.key}`), ae("div", `element not found key=${u.basic.key}`);
|
|
1032
|
+
const y = { node: u };
|
|
1033
|
+
u.reference && u.reference.comp && (y.refContext = {
|
|
1034
1034
|
parent: y.refContext,
|
|
1035
|
-
compId:
|
|
1035
|
+
compId: u.reference.comp
|
|
1036
1036
|
});
|
|
1037
1037
|
const b = [];
|
|
1038
|
-
return p.leaf ||
|
|
1039
|
-
b.push(
|
|
1038
|
+
return p.leaf || u.children?.forEach((h) => {
|
|
1039
|
+
b.push(m(h));
|
|
1040
1040
|
}), ae(p.comp, y, { default: () => b });
|
|
1041
1041
|
}
|
|
1042
1042
|
const d = () => {
|
|
@@ -1044,17 +1044,17 @@ const fl = /* @__PURE__ */ $({
|
|
|
1044
1044
|
return ae("div", e("x-runtime-lib.circularRef"));
|
|
1045
1045
|
if (!o.value)
|
|
1046
1046
|
return ae("div");
|
|
1047
|
-
const
|
|
1047
|
+
const u = [];
|
|
1048
1048
|
if (o.value.view.nodes.forEach((y) => {
|
|
1049
|
-
|
|
1049
|
+
u.push(m(y));
|
|
1050
1050
|
}), o.value.type === "common")
|
|
1051
1051
|
return ae(
|
|
1052
1052
|
"div",
|
|
1053
1053
|
{ id: r.id, style: c.value },
|
|
1054
|
-
{ default: () =>
|
|
1054
|
+
{ default: () => u }
|
|
1055
1055
|
);
|
|
1056
1056
|
};
|
|
1057
|
-
return (
|
|
1057
|
+
return (u, p) => (g(), w(d));
|
|
1058
1058
|
}
|
|
1059
1059
|
}), xl = /* @__PURE__ */ $({
|
|
1060
1060
|
__name: "index",
|
|
@@ -1082,18 +1082,18 @@ const fl = /* @__PURE__ */ $({
|
|
|
1082
1082
|
const { t: e } = wo(), n = t, o = oe(), s = H();
|
|
1083
1083
|
Z(s) && oi(o, "slot", n.id, "", he()), ii(n.refContext.compId, o);
|
|
1084
1084
|
function r(c) {
|
|
1085
|
-
const
|
|
1086
|
-
if (!
|
|
1085
|
+
const m = Re[c.basic.key];
|
|
1086
|
+
if (!m)
|
|
1087
1087
|
return console.assert(!1, `element not found key=${c.basic.key}`), ae("div", `element not found key=${c.basic.key}`);
|
|
1088
1088
|
const d = { node: c };
|
|
1089
1089
|
c.reference && c.reference.comp && (d.refContext = {
|
|
1090
1090
|
parent: d.refContext,
|
|
1091
1091
|
compId: c.reference.comp
|
|
1092
1092
|
});
|
|
1093
|
-
const
|
|
1094
|
-
return
|
|
1095
|
-
|
|
1096
|
-
}), ae(
|
|
1093
|
+
const u = [];
|
|
1094
|
+
return m.leaf || c.children?.forEach((p) => {
|
|
1095
|
+
u.push(r(p));
|
|
1096
|
+
}), ae(m.comp, d, { default: () => u });
|
|
1097
1097
|
}
|
|
1098
1098
|
const a = () => {
|
|
1099
1099
|
if (So(n.refContext))
|
|
@@ -1101,11 +1101,11 @@ const fl = /* @__PURE__ */ $({
|
|
|
1101
1101
|
if (!o.value)
|
|
1102
1102
|
return ae("div");
|
|
1103
1103
|
const c = [];
|
|
1104
|
-
return o.value.view.nodes.forEach((
|
|
1105
|
-
c.push(r(
|
|
1104
|
+
return o.value.view.nodes.forEach((m) => {
|
|
1105
|
+
c.push(r(m));
|
|
1106
1106
|
}), c;
|
|
1107
1107
|
};
|
|
1108
|
-
return (c,
|
|
1108
|
+
return (c, m) => (g(), w(a));
|
|
1109
1109
|
}
|
|
1110
1110
|
}), vl = /* @__PURE__ */ $({
|
|
1111
1111
|
__name: "index",
|
|
@@ -1123,7 +1123,7 @@ const fl = /* @__PURE__ */ $({
|
|
|
1123
1123
|
"offset",
|
|
1124
1124
|
"y"
|
|
1125
1125
|
]);
|
|
1126
|
-
return (c,
|
|
1126
|
+
return (c, m) => {
|
|
1127
1127
|
const d = A("v-badge");
|
|
1128
1128
|
return g(), w(i(F), null, {
|
|
1129
1129
|
default: _(() => [
|
|
@@ -1155,10 +1155,10 @@ const fl = /* @__PURE__ */ $({
|
|
|
1155
1155
|
"settings",
|
|
1156
1156
|
"addIcon",
|
|
1157
1157
|
"append"
|
|
1158
|
-
]), { property: s } = l(e, ["settings", "block"]), { property: r } = l(e, ["settings", "color"]), { color: a } = K(r), { property: c } = l(e, ["settings", "density"]), { property:
|
|
1158
|
+
]), { property: s } = l(e, ["settings", "block"]), { property: r } = l(e, ["settings", "color"]), { color: a } = K(r), { property: c } = l(e, ["settings", "density"]), { property: m } = l(e, [
|
|
1159
1159
|
"settings",
|
|
1160
1160
|
"disabled"
|
|
1161
|
-
]), { property: d } = l(e, ["size", "height"]), { property:
|
|
1161
|
+
]), { property: d } = l(e, ["size", "height"]), { property: u } = l(e, ["settings", "loading"]), { property: p } = l(e, ["size", "maxHeight"]), { property: y } = l(e, ["size", "maxWidth"]), { property: b } = l(e, ["size", "minHeight"]), { property: h } = l(e, ["size", "minWidth"]), { property: k } = l(e, [
|
|
1162
1162
|
"settings",
|
|
1163
1163
|
"addIcon",
|
|
1164
1164
|
"prepend"
|
|
@@ -1183,9 +1183,9 @@ const fl = /* @__PURE__ */ $({
|
|
|
1183
1183
|
block: i(s),
|
|
1184
1184
|
color: i(a),
|
|
1185
1185
|
density: i(c),
|
|
1186
|
-
disabled: i(
|
|
1186
|
+
disabled: i(m),
|
|
1187
1187
|
height: i(d),
|
|
1188
|
-
loading: i(
|
|
1188
|
+
loading: i(u),
|
|
1189
1189
|
"max-height": i(p),
|
|
1190
1190
|
"max-width": i(y),
|
|
1191
1191
|
"min-height": i(b),
|
|
@@ -1235,7 +1235,7 @@ const Vl = /* @__PURE__ */ Ae(_l, [["render", wl]]), Sl = /* @__PURE__ */ $({
|
|
|
1235
1235
|
]), { property: c } = l(e, [
|
|
1236
1236
|
"settings",
|
|
1237
1237
|
"readonly"
|
|
1238
|
-
]), { property:
|
|
1238
|
+
]), { property: m } = l(e, ["settings", "size"]), { property: d } = l(e, ["settings", "stacked"]), { theme: u } = j(), { property: p } = l(e, ["settings", "tile"]), { property: y } = l(e, ["settings", "variant"]);
|
|
1239
1239
|
return (b, h) => {
|
|
1240
1240
|
const k = A("v-btn-toggle");
|
|
1241
1241
|
return g(), w(k, {
|
|
@@ -1245,9 +1245,9 @@ const Vl = /* @__PURE__ */ Ae(_l, [["render", wl]]), Sl = /* @__PURE__ */ $({
|
|
|
1245
1245
|
mandatory: i(r),
|
|
1246
1246
|
multiple: i(a),
|
|
1247
1247
|
readonly: i(c),
|
|
1248
|
-
size: i(
|
|
1248
|
+
size: i(m),
|
|
1249
1249
|
stacked: i(d),
|
|
1250
|
-
theme: i(
|
|
1250
|
+
theme: i(u),
|
|
1251
1251
|
tile: i(p),
|
|
1252
1252
|
variant: i(y)
|
|
1253
1253
|
}, {
|
|
@@ -1268,7 +1268,7 @@ const Vl = /* @__PURE__ */ Ae(_l, [["render", wl]]), Sl = /* @__PURE__ */ $({
|
|
|
1268
1268
|
const e = t, { property: n } = l(e, ["settings", "density"]), { property: o } = l(e, [
|
|
1269
1269
|
"settings",
|
|
1270
1270
|
"disabled"
|
|
1271
|
-
]), { property: s } = l(e, ["size", "height"]), { property: r } = l(e, ["settings", "hover"]), { property: a } = l(e, ["settings", "loading"]), { property: c } = l(e, ["size", "maxHeight"]), { property:
|
|
1271
|
+
]), { property: s } = l(e, ["size", "height"]), { property: r } = l(e, ["settings", "hover"]), { property: a } = l(e, ["settings", "loading"]), { property: c } = l(e, ["size", "maxHeight"]), { property: m } = l(e, ["size", "maxWidth"]), { property: d } = l(e, ["size", "minHeight"]), { property: u } = l(e, ["size", "minWidth"]), { property: p } = l(e, [
|
|
1272
1272
|
"settings",
|
|
1273
1273
|
"subtitle"
|
|
1274
1274
|
]), { property: y } = l(e, ["settings", "text"]), { theme: b } = j(), { property: h } = l(e, ["settings", "title"]), { property: k } = l(e, ["settings", "variant"]), { property: x } = l(e, ["size", "width"]);
|
|
@@ -1283,9 +1283,9 @@ const Vl = /* @__PURE__ */ Ae(_l, [["render", wl]]), Sl = /* @__PURE__ */ $({
|
|
|
1283
1283
|
hover: i(r),
|
|
1284
1284
|
loading: i(a),
|
|
1285
1285
|
"max-height": i(c),
|
|
1286
|
-
"max-width": i(
|
|
1286
|
+
"max-width": i(m),
|
|
1287
1287
|
"min-height": i(d),
|
|
1288
|
-
"min-width": i(
|
|
1288
|
+
"min-width": i(u),
|
|
1289
1289
|
subtitle: i(p),
|
|
1290
1290
|
text: i(y),
|
|
1291
1291
|
theme: i(b),
|
|
@@ -1346,7 +1346,7 @@ const Vl = /* @__PURE__ */ Ae(_l, [["render", wl]]), Sl = /* @__PURE__ */ $({
|
|
|
1346
1346
|
]), { property: c } = l(e, [
|
|
1347
1347
|
"settings",
|
|
1348
1348
|
"draggable"
|
|
1349
|
-
]), { property:
|
|
1349
|
+
]), { property: m } = l(e, ["settings", "filter"]), { property: d } = l(e, ["settings", "label"]), { property: u } = l(e, ["settings", "size"]), { property: p } = l(e, ["settings", "text"]), { theme: y } = j(), { property: b } = l(e, ["settings", "tile"]), { property: h } = l(e, ["settings", "value"]), { property: k } = l(e, ["settings", "variant"]);
|
|
1350
1350
|
return (x, S) => {
|
|
1351
1351
|
const I = A("v-chip");
|
|
1352
1352
|
return g(), w(i(F), null, {
|
|
@@ -1357,9 +1357,9 @@ const Vl = /* @__PURE__ */ Ae(_l, [["render", wl]]), Sl = /* @__PURE__ */ $({
|
|
|
1357
1357
|
density: i(r),
|
|
1358
1358
|
disabled: i(a),
|
|
1359
1359
|
draggable: i(c),
|
|
1360
|
-
filter: i(
|
|
1360
|
+
filter: i(m),
|
|
1361
1361
|
label: i(d),
|
|
1362
|
-
size: i(
|
|
1362
|
+
size: i(u),
|
|
1363
1363
|
text: i(p),
|
|
1364
1364
|
theme: i(y),
|
|
1365
1365
|
tile: i(b),
|
|
@@ -1390,22 +1390,22 @@ const Vl = /* @__PURE__ */ Ae(_l, [["render", wl]]), Sl = /* @__PURE__ */ $({
|
|
|
1390
1390
|
]), { property: c } = l(e, [
|
|
1391
1391
|
"settings",
|
|
1392
1392
|
"multiple"
|
|
1393
|
-
]), { property:
|
|
1393
|
+
]), { property: m } = l(e, [
|
|
1394
1394
|
"settings",
|
|
1395
1395
|
"showArrows"
|
|
1396
|
-
]), { theme: d } = j(), { property:
|
|
1396
|
+
]), { theme: d } = j(), { property: u } = l(e, ["settings", "value"]);
|
|
1397
1397
|
return (p, y) => {
|
|
1398
1398
|
const b = A("v-chip-group");
|
|
1399
1399
|
return g(), w(b, {
|
|
1400
|
-
modelValue: i(
|
|
1401
|
-
"onUpdate:modelValue": y[0] || (y[0] = (h) => J(
|
|
1400
|
+
modelValue: i(u),
|
|
1401
|
+
"onUpdate:modelValue": y[0] || (y[0] = (h) => J(u) ? u.value = h : null),
|
|
1402
1402
|
column: i(n),
|
|
1403
1403
|
direction: i(o),
|
|
1404
1404
|
disabled: i(s),
|
|
1405
1405
|
filter: i(r),
|
|
1406
1406
|
mandatory: i(a),
|
|
1407
1407
|
multiple: i(c),
|
|
1408
|
-
"show-arrows": i(
|
|
1408
|
+
"show-arrows": i(m),
|
|
1409
1409
|
theme: i(d)
|
|
1410
1410
|
}, {
|
|
1411
1411
|
default: _(() => [
|
|
@@ -1431,13 +1431,13 @@ const Vl = /* @__PURE__ */ Ae(_l, [["render", wl]]), Sl = /* @__PURE__ */ $({
|
|
|
1431
1431
|
]), { property: c } = l(e, [
|
|
1432
1432
|
"settings",
|
|
1433
1433
|
"hideCanvas"
|
|
1434
|
-
]), { property:
|
|
1434
|
+
]), { property: m } = l(e, [
|
|
1435
1435
|
"settings",
|
|
1436
1436
|
"hideHeader"
|
|
1437
1437
|
]), { property: d } = l(e, [
|
|
1438
1438
|
"settings",
|
|
1439
1439
|
"hideInputs"
|
|
1440
|
-
]), { property:
|
|
1440
|
+
]), { property: u } = l(e, [
|
|
1441
1441
|
"settings",
|
|
1442
1442
|
"hideSliders"
|
|
1443
1443
|
]), { property: p } = l(e, [
|
|
@@ -1454,9 +1454,9 @@ const Vl = /* @__PURE__ */ Ae(_l, [["render", wl]]), Sl = /* @__PURE__ */ $({
|
|
|
1454
1454
|
M(x, {
|
|
1455
1455
|
disabled: i(a),
|
|
1456
1456
|
"hide-canvas": i(c),
|
|
1457
|
-
"hide-header": i(
|
|
1457
|
+
"hide-header": i(m),
|
|
1458
1458
|
"hide-inputs": i(d),
|
|
1459
|
-
"hide-sliders": i(
|
|
1459
|
+
"hide-sliders": i(u),
|
|
1460
1460
|
landscape: i(p),
|
|
1461
1461
|
"show-swatches": i(y),
|
|
1462
1462
|
style: ee(r.value),
|
|
@@ -1486,14 +1486,14 @@ const Vl = /* @__PURE__ */ Ae(_l, [["render", wl]]), Sl = /* @__PURE__ */ $({
|
|
|
1486
1486
|
]), { property: a } = l(e, [
|
|
1487
1487
|
"settings",
|
|
1488
1488
|
"singleLine"
|
|
1489
|
-
]), { theme: c } = j(), { property:
|
|
1490
|
-
return (d,
|
|
1489
|
+
]), { theme: c } = j(), { property: m } = l(e, ["settings", "value"]);
|
|
1490
|
+
return (d, u) => {
|
|
1491
1491
|
const p = A("v-combobox");
|
|
1492
1492
|
return g(), w(i(F), null, {
|
|
1493
1493
|
default: _(() => [
|
|
1494
1494
|
M(p, {
|
|
1495
|
-
modelValue: i(
|
|
1496
|
-
"onUpdate:modelValue":
|
|
1495
|
+
modelValue: i(m),
|
|
1496
|
+
"onUpdate:modelValue": u[0] || (u[0] = (y) => J(m) ? m.value = y : null),
|
|
1497
1497
|
"hide-details": i(n),
|
|
1498
1498
|
label: i(o),
|
|
1499
1499
|
placeholder: i(s),
|
|
@@ -1516,14 +1516,14 @@ const Vl = /* @__PURE__ */ Ae(_l, [["render", wl]]), Sl = /* @__PURE__ */ $({
|
|
|
1516
1516
|
const e = t, n = be(), o = we(), { property: s } = l(e, [
|
|
1517
1517
|
"settings",
|
|
1518
1518
|
"backgroundColor"
|
|
1519
|
-
]), { color: r } = K(s), { applySize: a } = fe(e), { applyMargin: c } = Kn(e), { applyPadding:
|
|
1519
|
+
]), { color: r } = K(s), { applySize: a } = fe(e), { applyMargin: c } = Kn(e), { applyPadding: m } = On(e), { applyBorder: d } = Hn(e), u = v(() => {
|
|
1520
1520
|
const p = {}, y = o.value.type;
|
|
1521
|
-
return n === "page" ? y === "common" ? (a(p), c(p),
|
|
1521
|
+
return n === "page" ? y === "common" ? (a(p), c(p), m(p), d(p), r.value && (p.backgroundColor = r.value)) : console.assert(!1) : n === "comp" && y === "common" ? (a(p), c(p), m(p), d(p), r.value && (p.backgroundColor = r.value)) : console.assert(!1), p;
|
|
1522
1522
|
});
|
|
1523
1523
|
return (p, y) => (g(), w(i(F), { block: "" }, {
|
|
1524
1524
|
default: _(() => [
|
|
1525
1525
|
Y("div", {
|
|
1526
|
-
style: ee(
|
|
1526
|
+
style: ee(u.value)
|
|
1527
1527
|
}, [
|
|
1528
1528
|
B(p.$slots, "default")
|
|
1529
1529
|
], 4)
|
|
@@ -1544,11 +1544,11 @@ const Vl = /* @__PURE__ */ Ae(_l, [["render", wl]]), Sl = /* @__PURE__ */ $({
|
|
|
1544
1544
|
]), { property: s } = l(e, [
|
|
1545
1545
|
"settings",
|
|
1546
1546
|
"fixedHeader"
|
|
1547
|
-
]), { property: r } = l(e, ["settings", "headers"]), { property: a } = l(e, ["size", "height"]), { property: c } = l(e, ["settings", "hover"]), { property:
|
|
1547
|
+
]), { property: r } = l(e, ["settings", "headers"]), { property: a } = l(e, ["size", "height"]), { property: c } = l(e, ["settings", "hover"]), { property: m } = l(
|
|
1548
1548
|
e,
|
|
1549
1549
|
["settings", "data"],
|
|
1550
1550
|
!0
|
|
1551
|
-
), { property: d } = l(e, ["settings", "loading"]), { property:
|
|
1551
|
+
), { property: d } = l(e, ["settings", "loading"]), { property: u } = l(e, [
|
|
1552
1552
|
"settings",
|
|
1553
1553
|
"multiSort"
|
|
1554
1554
|
]), { theme: p } = j(), { property: y } = l(e, ["size", "width"]), b = v(() => {
|
|
@@ -1568,9 +1568,9 @@ const Vl = /* @__PURE__ */ Ae(_l, [["render", wl]]), Sl = /* @__PURE__ */ $({
|
|
|
1568
1568
|
headers: i(r),
|
|
1569
1569
|
height: i(a),
|
|
1570
1570
|
hover: i(c),
|
|
1571
|
-
items: i(
|
|
1571
|
+
items: i(m),
|
|
1572
1572
|
loading: i(d),
|
|
1573
|
-
"multi-sort": i(
|
|
1573
|
+
"multi-sort": i(u),
|
|
1574
1574
|
theme: i(p),
|
|
1575
1575
|
width: i(y)
|
|
1576
1576
|
}, Dn({ _: 2 }, [
|
|
@@ -1619,7 +1619,7 @@ const Vl = /* @__PURE__ */ Ae(_l, [["render", wl]]), Sl = /* @__PURE__ */ $({
|
|
|
1619
1619
|
const c = A("v-dialog");
|
|
1620
1620
|
return g(), w(c, {
|
|
1621
1621
|
modelValue: i(s),
|
|
1622
|
-
"onUpdate:modelValue": a[0] || (a[0] = (
|
|
1622
|
+
"onUpdate:modelValue": a[0] || (a[0] = (m) => J(s) ? s.value = m : null),
|
|
1623
1623
|
attach: "#dialogContainer"
|
|
1624
1624
|
}, {
|
|
1625
1625
|
activator: _(() => [
|
|
@@ -1648,13 +1648,13 @@ const Vl = /* @__PURE__ */ Ae(_l, [["render", wl]]), Sl = /* @__PURE__ */ $({
|
|
|
1648
1648
|
]), { property: r } = l(e, [
|
|
1649
1649
|
"settings",
|
|
1650
1650
|
"disabled"
|
|
1651
|
-
]), { property: a } = l(e, ["settings", "label"]), { property: c } = l(e, ["settings", "loading"]), { property:
|
|
1651
|
+
]), { property: a } = l(e, ["settings", "label"]), { property: c } = l(e, ["settings", "loading"]), { property: m } = l(e, [
|
|
1652
1652
|
"settings",
|
|
1653
1653
|
"multiple"
|
|
1654
1654
|
]), { property: d } = l(e, [
|
|
1655
1655
|
"settings",
|
|
1656
1656
|
"readonly"
|
|
1657
|
-
]), { property:
|
|
1657
|
+
]), { property: u } = l(e, ["settings", "reverse"]), { property: p } = l(e, [
|
|
1658
1658
|
"settings",
|
|
1659
1659
|
"singleLine"
|
|
1660
1660
|
]);
|
|
@@ -1669,9 +1669,9 @@ const Vl = /* @__PURE__ */ Ae(_l, [["render", wl]]), Sl = /* @__PURE__ */ $({
|
|
|
1669
1669
|
disabled: i(r),
|
|
1670
1670
|
label: i(a),
|
|
1671
1671
|
loading: i(c),
|
|
1672
|
-
multiple: i(
|
|
1672
|
+
multiple: i(m),
|
|
1673
1673
|
readonly: i(d),
|
|
1674
|
-
reverse: i(
|
|
1674
|
+
reverse: i(u),
|
|
1675
1675
|
"single-line": i(p)
|
|
1676
1676
|
}, null, 8, ["chips", "density", "direction", "disabled", "label", "loading", "multiple", "readonly", "reverse", "single-line"])
|
|
1677
1677
|
]),
|
|
@@ -1686,11 +1686,11 @@ const Vl = /* @__PURE__ */ Ae(_l, [["render", wl]]), Sl = /* @__PURE__ */ $({
|
|
|
1686
1686
|
outer: { type: Boolean }
|
|
1687
1687
|
},
|
|
1688
1688
|
setup(t) {
|
|
1689
|
-
const e = t, n = Le(), o = be(), s = we(), { applySize: r } = fe(e), { applyMargin: a } = Kn(e), { applyPadding: c } = On(e), { applyBorder:
|
|
1689
|
+
const e = t, n = Le(), o = be(), s = we(), { applySize: r } = fe(e), { applyMargin: a } = Kn(e), { applyPadding: c } = On(e), { applyBorder: m } = Hn(e), { property: d } = l(e, [
|
|
1690
1690
|
"settings",
|
|
1691
1691
|
"backgroundColor"
|
|
1692
|
-
]), { color:
|
|
1693
|
-
|
|
1692
|
+
]), { color: u } = K(d), p = (b) => {
|
|
1693
|
+
u.value && (b.backgroundColor = u.value), b.display = "flex";
|
|
1694
1694
|
const h = Ue(n.value.width), k = Ee(h, e.node.settings?.direction);
|
|
1695
1695
|
k === "row" ? b.flexDirection = "row" : k === "rowReverse" ? b.flexDirection = "row-reverse" : k === "column" ? b.flexDirection = "column" : k === "columnReverse" && (b.flexDirection = "column-reverse");
|
|
1696
1696
|
const x = Ee(h, e.node.settings?.wrap);
|
|
@@ -1701,7 +1701,7 @@ const Vl = /* @__PURE__ */ Ae(_l, [["render", wl]]), Sl = /* @__PURE__ */ $({
|
|
|
1701
1701
|
I === "start" ? b.alignItems = "flex-start" : I === "end" ? b.alignItems = "flex-end" : I === "center" ? b.alignItems = "center" : I === "baseline" ? b.alignItems = "baseline" : I === "stretch" && (b.alignItems = "stretch");
|
|
1702
1702
|
}, y = v(() => {
|
|
1703
1703
|
const b = {}, h = s.value.type;
|
|
1704
|
-
return o === "page" ? h === "common" ? (r(b), a(b), c(b),
|
|
1704
|
+
return o === "page" ? h === "common" ? (r(b), a(b), c(b), m(b), p(b)) : console.assert(!1) : o === "comp" && h === "common" ? (r(b), a(b), c(b), m(b), p(b)) : console.assert(!1), b;
|
|
1705
1705
|
});
|
|
1706
1706
|
return (b, h) => (g(), te("div", {
|
|
1707
1707
|
style: ee(y.value)
|
|
@@ -1717,13 +1717,13 @@ const Vl = /* @__PURE__ */ Ae(_l, [["render", wl]]), Sl = /* @__PURE__ */ $({
|
|
|
1717
1717
|
},
|
|
1718
1718
|
setup(t) {
|
|
1719
1719
|
const e = t, n = be(), o = we(), { applySize: s } = fe(e), { property: r } = l(e, ["settings", "grow"]), { property: a } = l(e, ["settings", "shrink"]), c = v(() => {
|
|
1720
|
-
const
|
|
1721
|
-
return n === "page" ? d === "common" ? (s(
|
|
1720
|
+
const m = {}, d = o.value.type;
|
|
1721
|
+
return n === "page" ? d === "common" ? (s(m), m.flexGrow = r.value ? 1 : 0, m.flexShrink = a.value ? 1 : 0) : console.assert(!1) : n === "comp" && d === "common" ? (s(m), m.flexGrow = r.value ? 1 : 0, m.flexShrink = a.value ? 1 : 0) : console.assert(!1), m;
|
|
1722
1722
|
});
|
|
1723
|
-
return (
|
|
1723
|
+
return (m, d) => (g(), te("div", {
|
|
1724
1724
|
style: ee(c.value)
|
|
1725
1725
|
}, [
|
|
1726
|
-
B(
|
|
1726
|
+
B(m.$slots, "default")
|
|
1727
1727
|
], 4));
|
|
1728
1728
|
}
|
|
1729
1729
|
}), Fl = /* @__PURE__ */ $({
|
|
@@ -1739,9 +1739,9 @@ const Vl = /* @__PURE__ */ Ae(_l, [["render", wl]]), Sl = /* @__PURE__ */ $({
|
|
|
1739
1739
|
]), { property: c } = l(e, [
|
|
1740
1740
|
"settings",
|
|
1741
1741
|
"backgroundColor"
|
|
1742
|
-
]), { color:
|
|
1742
|
+
]), { color: m } = K(c), { applySize: d } = fe(e), { applyMargin: u } = Kn(e), { applyPadding: p } = On(e), { applyBorder: y } = Hn(e), b = v(() => {
|
|
1743
1743
|
const k = {}, x = o.value.type;
|
|
1744
|
-
return n === "page" ? x === "common" ? (d(k),
|
|
1744
|
+
return n === "page" ? x === "common" ? (d(k), u(k), p(k), y(k), m.value && (k.backgroundColor = m.value)) : console.assert(!1) : n === "comp" && x === "common" ? (d(k), u(k), p(k), y(k), m.value && (k.backgroundColor = m.value)) : console.assert(!1), k;
|
|
1745
1745
|
}), h = () => {
|
|
1746
1746
|
s && s.callFunction(
|
|
1747
1747
|
"__triggerEventV1__",
|
|
@@ -1775,9 +1775,9 @@ const Vl = /* @__PURE__ */ Ae(_l, [["render", wl]]), Sl = /* @__PURE__ */ $({
|
|
|
1775
1775
|
"settings",
|
|
1776
1776
|
"disabled"
|
|
1777
1777
|
]), { property: r } = l(e, ["settings", "icon"]), { property: a } = l(e, ["settings", "size"]), { theme: c } = j();
|
|
1778
|
-
return (
|
|
1779
|
-
const
|
|
1780
|
-
return g(), w(
|
|
1778
|
+
return (m, d) => {
|
|
1779
|
+
const u = A("v-icon");
|
|
1780
|
+
return g(), w(u, {
|
|
1781
1781
|
color: i(o),
|
|
1782
1782
|
disabled: i(s),
|
|
1783
1783
|
icon: i(r),
|
|
@@ -1793,19 +1793,19 @@ const Vl = /* @__PURE__ */ Ae(_l, [["render", wl]]), Sl = /* @__PURE__ */ $({
|
|
|
1793
1793
|
outer: { type: Boolean }
|
|
1794
1794
|
},
|
|
1795
1795
|
setup(t) {
|
|
1796
|
-
const e = t, n = H(), o = he(), s = oe(0), r = oe(0), a = v(() => [s.value, r.value]), c = v(() => e.node.basic?.id), { open:
|
|
1796
|
+
const e = t, n = H(), o = he(), s = oe(0), r = oe(0), a = v(() => [s.value, r.value]), c = v(() => e.node.basic?.id), { open: m } = fo(`runtimeMenu/${po()}`);
|
|
1797
1797
|
return Je(e, "open", () => {
|
|
1798
1798
|
if (!o || !o.vm)
|
|
1799
1799
|
return;
|
|
1800
|
-
const { vm: d } = o,
|
|
1801
|
-
s.value = d.getNumber(
|
|
1800
|
+
const { vm: d } = o, u = d.getProp(d.global, "__pointerPosX__"), p = d.getProp(d.global, "__pointerPosY__");
|
|
1801
|
+
s.value = d.getNumber(u), r.value = d.getNumber(p), u.dispose(), p.dispose(), m.value = !0;
|
|
1802
1802
|
}), Je(e, "close", () => {
|
|
1803
|
-
o && (
|
|
1804
|
-
}), (d,
|
|
1803
|
+
o && (m.value = !1);
|
|
1804
|
+
}), (d, u) => {
|
|
1805
1805
|
const p = A("v-menu");
|
|
1806
1806
|
return g(), w(p, {
|
|
1807
|
-
modelValue: i(
|
|
1808
|
-
"onUpdate:modelValue":
|
|
1807
|
+
modelValue: i(m),
|
|
1808
|
+
"onUpdate:modelValue": u[0] || (u[0] = (y) => J(m) ? m.value = y : null),
|
|
1809
1809
|
attach: "menuContainer",
|
|
1810
1810
|
"location-strategy": "connected",
|
|
1811
1811
|
scrim: "transparent",
|
|
@@ -1845,7 +1845,7 @@ const Vl = /* @__PURE__ */ Ae(_l, [["render", wl]]), Sl = /* @__PURE__ */ $({
|
|
|
1845
1845
|
]), { property: r } = l(e, [
|
|
1846
1846
|
"settings",
|
|
1847
1847
|
"hideDetails"
|
|
1848
|
-
]), { property: a } = l(e, ["settings", "label"]), { property: c } = l(e, ["settings", "loading"]), { property:
|
|
1848
|
+
]), { property: a } = l(e, ["settings", "label"]), { property: c } = l(e, ["settings", "loading"]), { property: m } = l(e, ["settings", "max"]), { property: d } = l(e, ["size", "maxWidth"]), { property: u } = l(e, ["settings", "min"]), { property: p } = l(e, ["size", "minWidth"]), { property: y } = l(e, [
|
|
1849
1849
|
"settings",
|
|
1850
1850
|
"placeholder"
|
|
1851
1851
|
]), { property: b } = l(e, [
|
|
@@ -1879,9 +1879,9 @@ const Vl = /* @__PURE__ */ Ae(_l, [["render", wl]]), Sl = /* @__PURE__ */ $({
|
|
|
1879
1879
|
"hide-details": i(r),
|
|
1880
1880
|
label: i(a),
|
|
1881
1881
|
loading: i(c),
|
|
1882
|
-
max: i(
|
|
1882
|
+
max: i(m),
|
|
1883
1883
|
"max-width": i(d),
|
|
1884
|
-
min: i(
|
|
1884
|
+
min: i(u),
|
|
1885
1885
|
"min-width": i(p),
|
|
1886
1886
|
placeholder: i(y),
|
|
1887
1887
|
precision: i(b),
|
|
@@ -1915,7 +1915,7 @@ const Vl = /* @__PURE__ */ Ae(_l, [["render", wl]]), Sl = /* @__PURE__ */ $({
|
|
|
1915
1915
|
]), { property: r } = l(e, ["settings", "length"]), { property: a } = l(e, [
|
|
1916
1916
|
"settings",
|
|
1917
1917
|
"showFirstLastPage"
|
|
1918
|
-
]), { property: c } = l(e, ["settings", "size"]), { property:
|
|
1918
|
+
]), { property: c } = l(e, ["settings", "size"]), { property: m } = l(e, ["settings", "start"]), { theme: d } = j(), { property: u } = l(e, ["settings", "tile"]), { property: p } = l(e, ["settings", "value"]), { property: y } = l(e, ["settings", "variant"]), b = v(() => {
|
|
1919
1919
|
const h = {};
|
|
1920
1920
|
return n === "editor" && (h.pointerEvents = "none"), h;
|
|
1921
1921
|
});
|
|
@@ -1931,10 +1931,10 @@ const Vl = /* @__PURE__ */ Ae(_l, [["render", wl]]), Sl = /* @__PURE__ */ $({
|
|
|
1931
1931
|
length: i(r),
|
|
1932
1932
|
"show-first-last-page": i(a),
|
|
1933
1933
|
size: i(c),
|
|
1934
|
-
start: i(
|
|
1934
|
+
start: i(m),
|
|
1935
1935
|
style: ee(b.value),
|
|
1936
1936
|
theme: i(d),
|
|
1937
|
-
tile: i(
|
|
1937
|
+
tile: i(u),
|
|
1938
1938
|
variant: i(y)
|
|
1939
1939
|
}, null, 8, ["modelValue", "density", "disabled", "length", "show-first-last-page", "size", "start", "style", "theme", "tile", "variant"])
|
|
1940
1940
|
]),
|
|
@@ -1955,8 +1955,8 @@ const Vl = /* @__PURE__ */ Ae(_l, [["render", wl]]), Sl = /* @__PURE__ */ $({
|
|
|
1955
1955
|
]), { property: a } = l(e, ["settings", "label"]), { property: c } = l(e, [
|
|
1956
1956
|
"settings",
|
|
1957
1957
|
"readonly"
|
|
1958
|
-
]), { theme:
|
|
1959
|
-
return (
|
|
1958
|
+
]), { theme: m } = j(), { property: d } = l(e, ["settings", "value"]);
|
|
1959
|
+
return (u, p) => {
|
|
1960
1960
|
const y = A("v-radio");
|
|
1961
1961
|
return g(), w(y, {
|
|
1962
1962
|
color: i(o),
|
|
@@ -1964,7 +1964,7 @@ const Vl = /* @__PURE__ */ Ae(_l, [["render", wl]]), Sl = /* @__PURE__ */ $({
|
|
|
1964
1964
|
disabled: i(r),
|
|
1965
1965
|
label: i(a),
|
|
1966
1966
|
readonly: i(c),
|
|
1967
|
-
theme: i(
|
|
1967
|
+
theme: i(m),
|
|
1968
1968
|
value: i(d)
|
|
1969
1969
|
}, null, 8, ["color", "density", "disabled", "label", "readonly", "theme", "value"]);
|
|
1970
1970
|
};
|
|
@@ -1985,14 +1985,14 @@ const Vl = /* @__PURE__ */ Ae(_l, [["render", wl]]), Sl = /* @__PURE__ */ $({
|
|
|
1985
1985
|
]), { property: r } = l(e, ["settings", "inline"]), { property: a } = l(e, [
|
|
1986
1986
|
"settings",
|
|
1987
1987
|
"readonly"
|
|
1988
|
-
]), { theme: c } = j(), { property:
|
|
1989
|
-
return (d,
|
|
1988
|
+
]), { theme: c } = j(), { property: m } = l(e, ["settings", "value"]);
|
|
1989
|
+
return (d, u) => {
|
|
1990
1990
|
const p = A("v-radio-group");
|
|
1991
1991
|
return g(), w(i(F), null, {
|
|
1992
1992
|
default: _(() => [
|
|
1993
1993
|
M(p, {
|
|
1994
|
-
modelValue: i(
|
|
1995
|
-
"onUpdate:modelValue":
|
|
1994
|
+
modelValue: i(m),
|
|
1995
|
+
"onUpdate:modelValue": u[0] || (u[0] = (y) => J(m) ? m.value = y : null),
|
|
1996
1996
|
density: i(n),
|
|
1997
1997
|
direction: i(o),
|
|
1998
1998
|
disabled: i(s),
|
|
@@ -2026,16 +2026,16 @@ const Vl = /* @__PURE__ */ Ae(_l, [["render", wl]]), Sl = /* @__PURE__ */ $({
|
|
|
2026
2026
|
]), { property: r } = l(e, [
|
|
2027
2027
|
"settings",
|
|
2028
2028
|
"hideDetails"
|
|
2029
|
-
]), { property: a } = l(e, ["settings", "label"]), { property: c } = l(e, ["settings", "max"]), { property:
|
|
2029
|
+
]), { property: a } = l(e, ["settings", "label"]), { property: c } = l(e, ["settings", "max"]), { property: m } = l(e, ["settings", "min"]), { property: d } = l(e, [
|
|
2030
2030
|
"settings",
|
|
2031
2031
|
"readonly"
|
|
2032
|
-
]), { property:
|
|
2032
|
+
]), { property: u } = l(e, [
|
|
2033
2033
|
"settings",
|
|
2034
2034
|
"showTicks"
|
|
2035
2035
|
]), p = v(() => {
|
|
2036
|
-
if (
|
|
2036
|
+
if (u.value === "always")
|
|
2037
2037
|
return "always";
|
|
2038
|
-
if (
|
|
2038
|
+
if (u.value === "show")
|
|
2039
2039
|
return !0;
|
|
2040
2040
|
}), { property: y } = l(e, ["settings", "step"]), { theme: b } = j(), { property: h } = l(e, [
|
|
2041
2041
|
"settings",
|
|
@@ -2086,7 +2086,7 @@ const Vl = /* @__PURE__ */ Ae(_l, [["render", wl]]), Sl = /* @__PURE__ */ $({
|
|
|
2086
2086
|
"hide-details": i(r),
|
|
2087
2087
|
label: i(a),
|
|
2088
2088
|
max: i(c),
|
|
2089
|
-
min: i(
|
|
2089
|
+
min: i(m),
|
|
2090
2090
|
readonly: i(d),
|
|
2091
2091
|
"show-ticks": p.value,
|
|
2092
2092
|
step: i(y),
|
|
@@ -2117,24 +2117,24 @@ const Vl = /* @__PURE__ */ Ae(_l, [["render", wl]]), Sl = /* @__PURE__ */ $({
|
|
|
2117
2117
|
]), { property: r } = l(e, [
|
|
2118
2118
|
"settings",
|
|
2119
2119
|
"halfIncrements"
|
|
2120
|
-
]), { property: a } = l(e, ["settings", "hover"]), { property: c } = l(e, ["settings", "length"]), { property:
|
|
2120
|
+
]), { property: a } = l(e, ["settings", "hover"]), { property: c } = l(e, ["settings", "length"]), { property: m } = l(e, [
|
|
2121
2121
|
"settings",
|
|
2122
2122
|
"readonly"
|
|
2123
|
-
]), { theme: d } = j(), { property:
|
|
2123
|
+
]), { theme: d } = j(), { property: u } = l(e, ["settings", "value"]);
|
|
2124
2124
|
return (p, y) => {
|
|
2125
2125
|
const b = A("v-rating");
|
|
2126
2126
|
return g(), w(i(F), null, {
|
|
2127
2127
|
default: _(() => [
|
|
2128
2128
|
M(b, {
|
|
2129
|
-
modelValue: i(
|
|
2130
|
-
"onUpdate:modelValue": y[0] || (y[0] = (h) => J(
|
|
2129
|
+
modelValue: i(u),
|
|
2130
|
+
"onUpdate:modelValue": y[0] || (y[0] = (h) => J(u) ? u.value = h : null),
|
|
2131
2131
|
clearable: i(n),
|
|
2132
2132
|
density: i(o),
|
|
2133
2133
|
disabled: i(s),
|
|
2134
2134
|
"half-increments": i(r),
|
|
2135
2135
|
hover: i(a),
|
|
2136
2136
|
length: i(c),
|
|
2137
|
-
readonly: i(
|
|
2137
|
+
readonly: i(m),
|
|
2138
2138
|
theme: i(d)
|
|
2139
2139
|
}, null, 8, ["modelValue", "clearable", "density", "disabled", "half-increments", "hover", "length", "readonly", "theme"])
|
|
2140
2140
|
]),
|
|
@@ -2161,14 +2161,14 @@ const Vl = /* @__PURE__ */ Ae(_l, [["render", wl]]), Sl = /* @__PURE__ */ $({
|
|
|
2161
2161
|
]), { property: a } = l(e, [
|
|
2162
2162
|
"settings",
|
|
2163
2163
|
"singleLine"
|
|
2164
|
-
]), { theme: c } = j(), { property:
|
|
2165
|
-
return (d,
|
|
2164
|
+
]), { theme: c } = j(), { property: m } = l(e, ["settings", "value"]);
|
|
2165
|
+
return (d, u) => {
|
|
2166
2166
|
const p = A("v-select");
|
|
2167
2167
|
return g(), w(i(F), { block: "" }, {
|
|
2168
2168
|
default: _(() => [
|
|
2169
2169
|
M(p, {
|
|
2170
|
-
modelValue: i(
|
|
2171
|
-
"onUpdate:modelValue":
|
|
2170
|
+
modelValue: i(m),
|
|
2171
|
+
"onUpdate:modelValue": u[0] || (u[0] = (y) => J(m) ? m.value = y : null),
|
|
2172
2172
|
"hide-details": i(n),
|
|
2173
2173
|
label: i(o),
|
|
2174
2174
|
placeholder: i(s),
|
|
@@ -2197,7 +2197,7 @@ const Vl = /* @__PURE__ */ Ae(_l, [["render", wl]]), Sl = /* @__PURE__ */ $({
|
|
|
2197
2197
|
]), { property: a } = l(e, [
|
|
2198
2198
|
"settings",
|
|
2199
2199
|
"hideDetails"
|
|
2200
|
-
]), { property: c } = l(e, ["settings", "label"]), { property:
|
|
2200
|
+
]), { property: c } = l(e, ["settings", "label"]), { property: m } = l(e, ["settings", "max"]), { property: d } = l(e, ["settings", "min"]), { property: u } = l(e, [
|
|
2201
2201
|
"settings",
|
|
2202
2202
|
"readonly"
|
|
2203
2203
|
]), { property: p } = l(e, ["settings", "reverse"]), { property: y } = l(e, [
|
|
@@ -2252,9 +2252,9 @@ const Vl = /* @__PURE__ */ Ae(_l, [["render", wl]]), Sl = /* @__PURE__ */ $({
|
|
|
2252
2252
|
disabled: i(r),
|
|
2253
2253
|
"hide-details": i(a),
|
|
2254
2254
|
label: i(c),
|
|
2255
|
-
max: i(
|
|
2255
|
+
max: i(m),
|
|
2256
2256
|
min: i(d),
|
|
2257
|
-
readonly: i(
|
|
2257
|
+
readonly: i(u),
|
|
2258
2258
|
reverse: i(p),
|
|
2259
2259
|
"show-ticks": b.value,
|
|
2260
2260
|
step: i(h),
|
|
@@ -2309,7 +2309,7 @@ const Vl = /* @__PURE__ */ Ae(_l, [["render", wl]]), Sl = /* @__PURE__ */ $({
|
|
|
2309
2309
|
const c = A("v-stepper");
|
|
2310
2310
|
return g(), w(c, {
|
|
2311
2311
|
modelValue: i(s),
|
|
2312
|
-
"onUpdate:modelValue": a[0] || (a[0] = (
|
|
2312
|
+
"onUpdate:modelValue": a[0] || (a[0] = (m) => J(s) ? s.value = m : null),
|
|
2313
2313
|
"hide-actions": i(n),
|
|
2314
2314
|
theme: i(o)
|
|
2315
2315
|
}, {
|
|
@@ -2395,7 +2395,7 @@ const ra = /* @__PURE__ */ Ae(ia, [["render", oa]]), sa = /* @__PURE__ */ $({
|
|
|
2395
2395
|
]), { property: a } = l(e, [
|
|
2396
2396
|
"settings",
|
|
2397
2397
|
"indeterminate"
|
|
2398
|
-
]), { property: c } = l(e, ["settings", "inline"]), { property:
|
|
2398
|
+
]), { property: c } = l(e, ["settings", "inline"]), { property: m } = l(e, ["settings", "inset"]), { property: d } = l(e, ["settings", "label"]), { property: u } = l(e, ["settings", "loading"]), { theme: p } = j(), { property: y } = l(e, ["settings", "value"]);
|
|
2399
2399
|
return (b, h) => {
|
|
2400
2400
|
const k = A("v-switch");
|
|
2401
2401
|
return g(), w(i(F), { "fit-content": !0 }, {
|
|
@@ -2409,9 +2409,9 @@ const ra = /* @__PURE__ */ Ae(ia, [["render", oa]]), sa = /* @__PURE__ */ $({
|
|
|
2409
2409
|
"hide-details": i(r),
|
|
2410
2410
|
indeterminate: i(a),
|
|
2411
2411
|
inline: i(c),
|
|
2412
|
-
inset: i(
|
|
2412
|
+
inset: i(m),
|
|
2413
2413
|
label: i(d),
|
|
2414
|
-
loading: i(
|
|
2414
|
+
loading: i(u),
|
|
2415
2415
|
theme: i(p)
|
|
2416
2416
|
}, null, 8, ["modelValue", "density", "direction", "disabled", "hide-details", "indeterminate", "inline", "inset", "label", "loading", "theme"])
|
|
2417
2417
|
]),
|
|
@@ -2430,7 +2430,7 @@ const ra = /* @__PURE__ */ Ae(ia, [["render", oa]]), sa = /* @__PURE__ */ $({
|
|
|
2430
2430
|
const c = {};
|
|
2431
2431
|
return n === "editor" && (c.pointerEvents = "none"), c;
|
|
2432
2432
|
});
|
|
2433
|
-
return (c,
|
|
2433
|
+
return (c, m) => {
|
|
2434
2434
|
const d = A("v-tab");
|
|
2435
2435
|
return g(), w(i(F), null, {
|
|
2436
2436
|
default: _(() => [
|
|
@@ -2466,10 +2466,10 @@ const ra = /* @__PURE__ */ Ae(ia, [["render", oa]]), sa = /* @__PURE__ */ $({
|
|
|
2466
2466
|
"settings",
|
|
2467
2467
|
"color",
|
|
2468
2468
|
"selectedColor"
|
|
2469
|
-
]), { color: c } = K(a), { property:
|
|
2469
|
+
]), { color: c } = K(a), { property: m } = l(e, ["settings", "density"]), { property: d } = l(e, [
|
|
2470
2470
|
"settings",
|
|
2471
2471
|
"direction"
|
|
2472
|
-
]), { property:
|
|
2472
|
+
]), { property: u } = l(e, [
|
|
2473
2473
|
"settings",
|
|
2474
2474
|
"disabled"
|
|
2475
2475
|
]), { property: p } = l(e, [
|
|
@@ -2500,9 +2500,9 @@ const ra = /* @__PURE__ */ Ae(ia, [["render", oa]]), sa = /* @__PURE__ */ $({
|
|
|
2500
2500
|
"bg-color": i(s),
|
|
2501
2501
|
"center-active": i(r),
|
|
2502
2502
|
color: i(c),
|
|
2503
|
-
density: i(
|
|
2503
|
+
density: i(m),
|
|
2504
2504
|
direction: i(d),
|
|
2505
|
-
disabled: i(
|
|
2505
|
+
disabled: i(u),
|
|
2506
2506
|
"fixed-tabs": i(p),
|
|
2507
2507
|
grow: i(y),
|
|
2508
2508
|
"hide-slider": i(b),
|
|
@@ -2536,11 +2536,11 @@ const ra = /* @__PURE__ */ Ae(ia, [["render", oa]]), sa = /* @__PURE__ */ $({
|
|
|
2536
2536
|
]), { property: r } = l(e, [
|
|
2537
2537
|
"settings",
|
|
2538
2538
|
"emphasis"
|
|
2539
|
-
]), { property: a } = l(e, ["settings", "italic"]), { property: c } = l(e, ["settings", "text"]), { property:
|
|
2540
|
-
const
|
|
2541
|
-
return y &&
|
|
2539
|
+
]), { property: a } = l(e, ["settings", "italic"]), { property: c } = l(e, ["settings", "text"]), { property: m } = l(e, ["settings", "weight"]), d = v(() => {
|
|
2540
|
+
const u = [], p = Ue(n.value.width), y = Ee(p, e.node.settings?.style);
|
|
2541
|
+
return y && u.push(`text-${y}`), r.value === "high" ? u.push("text-high-emphasis") : r.value === "medium" ? u.push("text-medium-emphasis") : r.value === "disabled" && u.push("text-disabled"), o.value && u.push(`font-${o.value}`), s.value && u.push(`text-decoration-${s.value}`), m.value && u.push(`font-weight-${m.value}`), a.value && u.push("font-italic"), u.join(" ");
|
|
2542
2542
|
});
|
|
2543
|
-
return (
|
|
2543
|
+
return (u, p) => (g(), w(i(F), null, {
|
|
2544
2544
|
default: _(() => [
|
|
2545
2545
|
Y("span", {
|
|
2546
2546
|
class: ir(d.value)
|
|
@@ -2565,10 +2565,10 @@ const ra = /* @__PURE__ */ Ae(ia, [["render", oa]]), sa = /* @__PURE__ */ $({
|
|
|
2565
2565
|
]), { property: s } = l(e, ["settings", "density"]), { property: r } = l(e, [
|
|
2566
2566
|
"settings",
|
|
2567
2567
|
"disabled"
|
|
2568
|
-
]), { property: a } = l(e, ["settings", "label"]), { property: c } = l(e, ["settings", "loading"]), { property:
|
|
2568
|
+
]), { property: a } = l(e, ["settings", "label"]), { property: c } = l(e, ["settings", "loading"]), { property: m } = l(e, ["settings", "maxRows"]), { property: d } = l(e, [
|
|
2569
2569
|
"settings",
|
|
2570
2570
|
"placeholder"
|
|
2571
|
-
]), { property:
|
|
2571
|
+
]), { property: u } = l(e, [
|
|
2572
2572
|
"settings",
|
|
2573
2573
|
"readonly"
|
|
2574
2574
|
]), { property: p } = l(e, ["settings", "reverse"]), { property: y } = l(e, ["settings", "rows"]), { property: b } = l(e, [
|
|
@@ -2588,9 +2588,9 @@ const ra = /* @__PURE__ */ Ae(ia, [["render", oa]]), sa = /* @__PURE__ */ $({
|
|
|
2588
2588
|
disabled: i(r),
|
|
2589
2589
|
label: i(a),
|
|
2590
2590
|
loading: i(c),
|
|
2591
|
-
"max-rows": i(
|
|
2591
|
+
"max-rows": i(m),
|
|
2592
2592
|
placeholder: i(d),
|
|
2593
|
-
readonly: i(
|
|
2593
|
+
readonly: i(u),
|
|
2594
2594
|
reverse: i(p),
|
|
2595
2595
|
rows: i(y),
|
|
2596
2596
|
"single-line": i(b),
|
|
@@ -2624,10 +2624,10 @@ const ra = /* @__PURE__ */ Ae(ia, [["render", oa]]), sa = /* @__PURE__ */ $({
|
|
|
2624
2624
|
]), { property: a } = l(e, ["settings", "density"]), { property: c } = l(e, [
|
|
2625
2625
|
"settings",
|
|
2626
2626
|
"disabled"
|
|
2627
|
-
]), { property:
|
|
2627
|
+
]), { property: m } = l(e, [
|
|
2628
2628
|
"settings",
|
|
2629
2629
|
"hideDetails"
|
|
2630
|
-
]), { property: d } = l(e, ["settings", "label"]), { property:
|
|
2630
|
+
]), { property: d } = l(e, ["settings", "label"]), { property: u } = l(e, ["settings", "loading"]), { property: p } = l(e, [
|
|
2631
2631
|
"settings",
|
|
2632
2632
|
"placeholder"
|
|
2633
2633
|
]), { property: y } = l(e, ["settings", "prefix"]), { property: b } = l(e, [
|
|
@@ -2665,9 +2665,9 @@ const ra = /* @__PURE__ */ Ae(ia, [["render", oa]]), sa = /* @__PURE__ */ $({
|
|
|
2665
2665
|
clearable: i(r),
|
|
2666
2666
|
density: i(a),
|
|
2667
2667
|
disabled: i(c),
|
|
2668
|
-
"hide-details": i(
|
|
2668
|
+
"hide-details": i(m),
|
|
2669
2669
|
label: i(d),
|
|
2670
|
-
loading: i(
|
|
2670
|
+
loading: i(u),
|
|
2671
2671
|
placeholder: i(p),
|
|
2672
2672
|
prefix: i(y),
|
|
2673
2673
|
"prepend-icon": i(b),
|
|
@@ -2747,14 +2747,14 @@ const ra = /* @__PURE__ */ Ae(ia, [["render", oa]]), sa = /* @__PURE__ */ $({
|
|
|
2747
2747
|
"settings",
|
|
2748
2748
|
"dot",
|
|
2749
2749
|
"fill"
|
|
2750
|
-
]), { property:
|
|
2750
|
+
]), { property: m } = l(e, [
|
|
2751
2751
|
"settings",
|
|
2752
2752
|
"hideOpposite"
|
|
2753
2753
|
]), { property: d } = l(e, [
|
|
2754
2754
|
"settings",
|
|
2755
2755
|
"line",
|
|
2756
2756
|
"color"
|
|
2757
|
-
]), { color:
|
|
2757
|
+
]), { color: u } = K(d), { property: p } = l(e, [
|
|
2758
2758
|
"settings",
|
|
2759
2759
|
"line",
|
|
2760
2760
|
"inset"
|
|
@@ -2775,8 +2775,8 @@ const ra = /* @__PURE__ */ Ae(ia, [["render", oa]]), sa = /* @__PURE__ */ $({
|
|
|
2775
2775
|
direction: i(s),
|
|
2776
2776
|
"dot-color": i(a),
|
|
2777
2777
|
"fill-dot": i(c),
|
|
2778
|
-
"hide-opposite": i(
|
|
2779
|
-
"line-color": i(
|
|
2778
|
+
"hide-opposite": i(m),
|
|
2779
|
+
"line-color": i(u),
|
|
2780
2780
|
"line-inset": i(p),
|
|
2781
2781
|
"line-thickness": i(y),
|
|
2782
2782
|
side: i(b),
|
|
@@ -2819,8 +2819,8 @@ const ba = /* @__PURE__ */ Ae(ya, [["render", fa]]), ha = /* @__PURE__ */ $({
|
|
|
2819
2819
|
]), { property: r } = l(e, ["settings", "reverse"]), { property: a } = l(e, [
|
|
2820
2820
|
"settings",
|
|
2821
2821
|
"showArrows"
|
|
2822
|
-
]), { property: c } = l(e, ["settings", "touch"]), { theme:
|
|
2823
|
-
return (
|
|
2822
|
+
]), { property: c } = l(e, ["settings", "touch"]), { theme: m } = j(), { property: d } = l(e, ["settings", "value"]);
|
|
2823
|
+
return (u, p) => {
|
|
2824
2824
|
const y = A("v-window");
|
|
2825
2825
|
return g(), w(y, {
|
|
2826
2826
|
modelValue: i(d),
|
|
@@ -2830,11 +2830,11 @@ const ba = /* @__PURE__ */ Ae(ya, [["render", fa]]), ha = /* @__PURE__ */ $({
|
|
|
2830
2830
|
disabled: i(o),
|
|
2831
2831
|
reverse: i(r),
|
|
2832
2832
|
"show-arrows": i(a),
|
|
2833
|
-
theme: i(
|
|
2833
|
+
theme: i(m),
|
|
2834
2834
|
touch: i(c)
|
|
2835
2835
|
}, {
|
|
2836
2836
|
default: _(() => [
|
|
2837
|
-
B(
|
|
2837
|
+
B(u.$slots, "default")
|
|
2838
2838
|
]),
|
|
2839
2839
|
_: 3
|
|
2840
2840
|
}, 8, ["modelValue", "continuous", "direction", "disabled", "reverse", "show-arrows", "theme", "touch"]);
|
|
@@ -5108,15 +5108,15 @@ function lc(t, e) {
|
|
|
5108
5108
|
ac(t, e)
|
|
5109
5109
|
], r;
|
|
5110
5110
|
}
|
|
5111
|
-
function kn(t, e, n, o, s, r, a, c,
|
|
5112
|
-
const d = `type=${t} subtype=${e}`,
|
|
5113
|
-
if (!
|
|
5111
|
+
function kn(t, e, n, o, s, r, a, c, m) {
|
|
5112
|
+
const d = `type=${t} subtype=${e}`, u = L(t, e);
|
|
5113
|
+
if (!u) {
|
|
5114
5114
|
console.error(
|
|
5115
5115
|
`flexLayoutV1/spawnContainer property tag not found, ${d}`
|
|
5116
5116
|
);
|
|
5117
5117
|
return;
|
|
5118
5118
|
}
|
|
5119
|
-
const p = xn.properties[
|
|
5119
|
+
const p = xn.properties[u];
|
|
5120
5120
|
if (!p) {
|
|
5121
5121
|
console.error(
|
|
5122
5122
|
`flexLayoutV1/spawnContainer properties not found, ${d}`
|
|
@@ -8114,17 +8114,17 @@ function cm(t, e, n, o, s) {
|
|
|
8114
8114
|
return;
|
|
8115
8115
|
}
|
|
8116
8116
|
if (o) {
|
|
8117
|
-
const
|
|
8118
|
-
if (!c.elements.has(
|
|
8117
|
+
const m = c.refKey, d = s;
|
|
8118
|
+
if (!c.elements.has(m)) {
|
|
8119
8119
|
console.error(`spawnNode [ref] element not found in pkg, ${r}`);
|
|
8120
8120
|
return;
|
|
8121
8121
|
}
|
|
8122
|
-
const
|
|
8123
|
-
if (!
|
|
8122
|
+
const u = Re[m];
|
|
8123
|
+
if (!u) {
|
|
8124
8124
|
console.error(`spawnNode [ref] element not found in global, ${r}`);
|
|
8125
8125
|
return;
|
|
8126
8126
|
}
|
|
8127
|
-
const p =
|
|
8127
|
+
const p = u.properties[a];
|
|
8128
8128
|
if (!p) {
|
|
8129
8129
|
console.error(`spawnNode [ref] properties not found, ${r}`);
|
|
8130
8130
|
return;
|
|
@@ -8135,16 +8135,16 @@ function cm(t, e, n, o, s) {
|
|
|
8135
8135
|
key: ""
|
|
8136
8136
|
}
|
|
8137
8137
|
};
|
|
8138
|
-
return z(y, p), y.basic.id = T(16), y.basic.key =
|
|
8138
|
+
return z(y, p), y.basic.id = T(16), y.basic.key = m, y.reference = {
|
|
8139
8139
|
comp: d
|
|
8140
8140
|
}, y;
|
|
8141
8141
|
} else {
|
|
8142
|
-
const
|
|
8143
|
-
if (!c.elements.has(
|
|
8142
|
+
const m = s;
|
|
8143
|
+
if (!c.elements.has(m)) {
|
|
8144
8144
|
console.error(`spawnNode [key] element not found in pkg, ${r}`);
|
|
8145
8145
|
return;
|
|
8146
8146
|
}
|
|
8147
|
-
const d = Re[
|
|
8147
|
+
const d = Re[m];
|
|
8148
8148
|
if (!d) {
|
|
8149
8149
|
console.error(`spawnNode [key] element not found in global, ${r}`);
|
|
8150
8150
|
return;
|
|
@@ -8152,8 +8152,8 @@ function cm(t, e, n, o, s) {
|
|
|
8152
8152
|
if (d.spawn)
|
|
8153
8153
|
return d.spawn(t, e);
|
|
8154
8154
|
{
|
|
8155
|
-
const
|
|
8156
|
-
if (!
|
|
8155
|
+
const u = d.properties[a];
|
|
8156
|
+
if (!u) {
|
|
8157
8157
|
console.error(`spawnNode [key] properties not found, ${r}`);
|
|
8158
8158
|
return;
|
|
8159
8159
|
}
|
|
@@ -8163,7 +8163,7 @@ function cm(t, e, n, o, s) {
|
|
|
8163
8163
|
key: ""
|
|
8164
8164
|
}
|
|
8165
8165
|
};
|
|
8166
|
-
return z(p,
|
|
8166
|
+
return z(p, u), p.basic.id = T(16), p.basic.key = m, d.leaf || (p.children = []), p;
|
|
8167
8167
|
}
|
|
8168
8168
|
}
|
|
8169
8169
|
}
|
|
@@ -8266,18 +8266,18 @@ function Oe(t, e, n, o, s) {
|
|
|
8266
8266
|
const { watchEffect: r, bind: a } = e;
|
|
8267
8267
|
if (r[n])
|
|
8268
8268
|
for (const c of r[n]) {
|
|
8269
|
-
const
|
|
8270
|
-
t.callFunction(`__watchEffect$${
|
|
8269
|
+
const m = $r(c);
|
|
8270
|
+
t.callFunction(`__watchEffect$${m}__`);
|
|
8271
8271
|
}
|
|
8272
8272
|
if (a.triggers[n])
|
|
8273
8273
|
for (const c of a.triggers[n]) {
|
|
8274
|
-
const
|
|
8275
|
-
if (!
|
|
8274
|
+
const m = a.sets[c];
|
|
8275
|
+
if (!m) {
|
|
8276
8276
|
console.assert(!1);
|
|
8277
8277
|
continue;
|
|
8278
8278
|
}
|
|
8279
8279
|
let d = null;
|
|
8280
|
-
for (const p of
|
|
8280
|
+
for (const p of m)
|
|
8281
8281
|
if (n === Be(p)) {
|
|
8282
8282
|
if (p.subKeys) {
|
|
8283
8283
|
if (!ce(
|
|
@@ -8294,9 +8294,9 @@ function Oe(t, e, n, o, s) {
|
|
|
8294
8294
|
}
|
|
8295
8295
|
if (!d)
|
|
8296
8296
|
continue;
|
|
8297
|
-
let
|
|
8298
|
-
d.subKeys ?
|
|
8299
|
-
for (const p of
|
|
8297
|
+
let u;
|
|
8298
|
+
d.subKeys ? u = ge(o, d.subKeys) : u = o;
|
|
8299
|
+
for (const p of m)
|
|
8300
8300
|
if (p.subKeys) {
|
|
8301
8301
|
let y;
|
|
8302
8302
|
if (p.type === "elementProperty")
|
|
@@ -8315,10 +8315,10 @@ function Oe(t, e, n, o, s) {
|
|
|
8315
8315
|
continue;
|
|
8316
8316
|
}
|
|
8317
8317
|
const b = ge(y, p.subKeys);
|
|
8318
|
-
if (ce(
|
|
8318
|
+
if (ce(u, b))
|
|
8319
8319
|
continue;
|
|
8320
8320
|
const h = W(y);
|
|
8321
|
-
Gn(h, p.subKeys, W(
|
|
8321
|
+
Gn(h, p.subKeys, W(u)), p.type === "elementProperty" ? t.setElementProperty(
|
|
8322
8322
|
p.nodeId,
|
|
8323
8323
|
p.propertyKeys,
|
|
8324
8324
|
h
|
|
@@ -8340,13 +8340,13 @@ function Oe(t, e, n, o, s) {
|
|
|
8340
8340
|
console.assert(!1);
|
|
8341
8341
|
continue;
|
|
8342
8342
|
}
|
|
8343
|
-
if (ce(
|
|
8343
|
+
if (ce(u, y))
|
|
8344
8344
|
continue;
|
|
8345
8345
|
p.type === "elementProperty" ? t.setElementProperty(
|
|
8346
8346
|
p.nodeId,
|
|
8347
8347
|
p.propertyKeys,
|
|
8348
|
-
W(
|
|
8349
|
-
) : p.type === "customProperty" ? t.setCustomProperty(p.propertyId, W(
|
|
8348
|
+
W(u)
|
|
8349
|
+
) : p.type === "customProperty" ? t.setCustomProperty(p.propertyId, W(u)) : p.type === "state" ? t.setState(p.stateId, W(u)) : p.type === "adaptSlotProperty" ? t.setAdaptSlotProperty(p.propertyId, W(u)) : console.assert(!1);
|
|
8350
8350
|
}
|
|
8351
8351
|
}
|
|
8352
8352
|
}
|
|
@@ -8492,8 +8492,8 @@ function zu(t) {
|
|
|
8492
8492
|
const c = r[a].trim();
|
|
8493
8493
|
if (c !== "")
|
|
8494
8494
|
if (/^\[\d+\]$/.test(c)) {
|
|
8495
|
-
let
|
|
8496
|
-
|
|
8495
|
+
let m = parseInt(c.slice(1, -1), 10);
|
|
8496
|
+
m > 0 && m--, s.push(m);
|
|
8497
8497
|
} else
|
|
8498
8498
|
s.push(c);
|
|
8499
8499
|
}
|
|
@@ -8521,20 +8521,20 @@ function zu(t) {
|
|
|
8521
8521
|
const s = e.getString(n), r = e.getString(o);
|
|
8522
8522
|
s === "info" ? rr(r) : s === "success" ? sr(r) : s === "warning" ? ho(r) : s === "error" && go(r);
|
|
8523
8523
|
}).consume((n) => e.setProp(e.global, "__messageV1__", n)), e.newFunction("__timeoutV1__", (n, o) => {
|
|
8524
|
-
const s = e.getNumber(o);
|
|
8524
|
+
const s = e.getNumber(n), r = e.getNumber(o);
|
|
8525
8525
|
window.setTimeout(() => {
|
|
8526
8526
|
if (ze(t)) {
|
|
8527
|
-
var
|
|
8527
|
+
var a = [];
|
|
8528
8528
|
try {
|
|
8529
|
-
const
|
|
8530
|
-
e.callFunction(
|
|
8531
|
-
} catch (
|
|
8532
|
-
var
|
|
8529
|
+
const u = Se(a, e.getProp(e.global, "__timeoutCallback__"));
|
|
8530
|
+
e.callFunction(u, e.global, e.newNumber(s));
|
|
8531
|
+
} catch (c) {
|
|
8532
|
+
var m = c, d = !0;
|
|
8533
8533
|
} finally {
|
|
8534
|
-
$e(
|
|
8534
|
+
$e(a, m, d);
|
|
8535
8535
|
}
|
|
8536
8536
|
}
|
|
8537
|
-
},
|
|
8537
|
+
}, r);
|
|
8538
8538
|
}).consume((n) => e.setProp(e.global, "__timeoutV1__", n)), e.newFunction("__delayV1__", (n) => {
|
|
8539
8539
|
const o = e.getNumber(n), { id: s, promise: r } = t.promiseManager.acquire();
|
|
8540
8540
|
return window.setTimeout(() => {
|
|
@@ -8560,14 +8560,14 @@ function Lu(t) {
|
|
|
8560
8560
|
}
|
|
8561
8561
|
const { vm: e } = t;
|
|
8562
8562
|
e.newFunction("__callFuncV1__", (n, o, s, r, a) => {
|
|
8563
|
-
const c = e.getString(n),
|
|
8563
|
+
const c = e.getString(n), m = e.getString(o), d = me(e, s), u = e.getString(r), p = e.getString(a), y = e.newPromise();
|
|
8564
8564
|
try {
|
|
8565
8565
|
const b = JSON.stringify(d);
|
|
8566
8566
|
Au({
|
|
8567
8567
|
spaceId: c,
|
|
8568
|
-
id:
|
|
8568
|
+
id: m,
|
|
8569
8569
|
strInputs: b,
|
|
8570
|
-
env:
|
|
8570
|
+
env: u
|
|
8571
8571
|
}).then(({ strOutputs: h }) => {
|
|
8572
8572
|
ze(t) && y.resolve(ue(e, h));
|
|
8573
8573
|
});
|
|
@@ -8598,10 +8598,10 @@ function Bu(t) {
|
|
|
8598
8598
|
try {
|
|
8599
8599
|
const R = Se(c, e.getProp(e.global, "__triggerEventInner__"));
|
|
8600
8600
|
e.callFunction(R, e.global, n, ...o);
|
|
8601
|
-
} catch (
|
|
8602
|
-
var d =
|
|
8601
|
+
} catch (m) {
|
|
8602
|
+
var d = m, u = !0;
|
|
8603
8603
|
} finally {
|
|
8604
|
-
$e(c, d,
|
|
8604
|
+
$e(c, d, u);
|
|
8605
8605
|
}
|
|
8606
8606
|
}
|
|
8607
8607
|
const s = e.getString(n), { kind: r, eventKey: a } = Tu(s);
|
|
@@ -8642,41 +8642,41 @@ function Bu(t) {
|
|
|
8642
8642
|
}
|
|
8643
8643
|
}
|
|
8644
8644
|
}).consume((n) => e.setProp(e.global, "__triggerEventV1__", n)), e.newFunction("__getPropertyV1__", (n, o) => {
|
|
8645
|
-
const s = e.getString(n), r = e.getString(o), { kind: a, nodeId: c, propertyKey:
|
|
8645
|
+
const s = e.getString(n), r = e.getString(o), { kind: a, nodeId: c, propertyKey: m } = ao(s);
|
|
8646
8646
|
let d;
|
|
8647
8647
|
if (a === "elementProperty")
|
|
8648
|
-
d = t.getElementProperty(c,
|
|
8648
|
+
d = t.getElementProperty(c, m);
|
|
8649
8649
|
else if (a === "referenceProperty") {
|
|
8650
|
-
const
|
|
8651
|
-
|
|
8650
|
+
const u = t.children[c];
|
|
8651
|
+
u && (d = u.getCustomProperty(m));
|
|
8652
8652
|
} else if (a === "multipleRefProperty") {
|
|
8653
|
-
const
|
|
8654
|
-
|
|
8655
|
-
} else a === "customProperty" ? d = t.getCustomProperty(
|
|
8653
|
+
const u = t.children[c + "/" + r];
|
|
8654
|
+
u && (d = u.getCustomProperty(m));
|
|
8655
|
+
} else a === "customProperty" ? d = t.getCustomProperty(m) : a === "elementSlotProperty" || a === "customSlotProperty" ? d = t.getAdaptSlotProperty(m) : console.assert(!1);
|
|
8656
8656
|
return ue(e, d);
|
|
8657
8657
|
}).consume((n) => e.setProp(e.global, "__getPropertyV1__", n)), e.newFunction("__setPropertyV1__", (n, o, s) => {
|
|
8658
|
-
const r = e.getString(n), a = e.getString(o), c = me(e, s), { kind:
|
|
8659
|
-
if (
|
|
8660
|
-
t.setElementProperty(d,
|
|
8661
|
-
else if (
|
|
8658
|
+
const r = e.getString(n), a = e.getString(o), c = me(e, s), { kind: m, nodeId: d, propertyKey: u } = ao(r);
|
|
8659
|
+
if (m === "elementProperty")
|
|
8660
|
+
t.setElementProperty(d, u, c);
|
|
8661
|
+
else if (m === "referenceProperty") {
|
|
8662
8662
|
const p = t.children[d];
|
|
8663
|
-
p && p.setCustomProperty(
|
|
8664
|
-
} else if (
|
|
8663
|
+
p && p.setCustomProperty(u, c);
|
|
8664
|
+
} else if (m === "multipleRefProperty") {
|
|
8665
8665
|
const p = t.children[d + "/" + a];
|
|
8666
|
-
p && p.setCustomProperty(
|
|
8667
|
-
} else
|
|
8666
|
+
p && p.setCustomProperty(u, c);
|
|
8667
|
+
} else m === "customProperty" ? t.setCustomProperty(u, c) : m === "elementSlotProperty" || m === "customSlotProperty" ? t.setAdaptSlotProperty(u, c) : console.assert(!1);
|
|
8668
8668
|
}).consume((n) => e.setProp(e.global, "__setPropertyV1__", n)), e.newFunction("__callMethodV1__", (n, o, s) => {
|
|
8669
|
-
const r = e.getString(n), a = e.getString(o), c = me(e, s), { kind:
|
|
8669
|
+
const r = e.getString(n), a = e.getString(o), c = me(e, s), { kind: m, nodeId: d, methodKey: u } = Xo(r);
|
|
8670
8670
|
let p;
|
|
8671
|
-
if (
|
|
8671
|
+
if (m === "elementMethod")
|
|
8672
8672
|
p = t.callElementMethod(r, c);
|
|
8673
|
-
else if (
|
|
8673
|
+
else if (m === "referenceMethod") {
|
|
8674
8674
|
const y = t.children[d];
|
|
8675
|
-
y && (p = y.callCustomMethod(
|
|
8676
|
-
} else if (
|
|
8675
|
+
y && (p = y.callCustomMethod(u, c));
|
|
8676
|
+
} else if (m === "multipleRefMethod") {
|
|
8677
8677
|
const y = t.children[d + "/" + a];
|
|
8678
|
-
y && (p = y.callCustomMethod(
|
|
8679
|
-
} else
|
|
8678
|
+
y && (p = y.callCustomMethod(u, c));
|
|
8679
|
+
} else m === "customMethod" || m === "customSlotMethod" || console.assert(!1);
|
|
8680
8680
|
return p;
|
|
8681
8681
|
}).consume((n) => e.setProp(e.global, "__callMethodV1__", n)), e.newFunction("__getStateV1__", (n) => {
|
|
8682
8682
|
const o = e.getString(n), s = t.getState(o);
|
|
@@ -8700,13 +8700,13 @@ function Bu(t) {
|
|
|
8700
8700
|
);
|
|
8701
8701
|
}).consume((n) => e.setProp(e.global, "__navigateToV1__", n)), e.newFunction("__openConfirmDlgV1__", (n, o) => {
|
|
8702
8702
|
const s = e.getString(n), r = e.getString(o), { id: a, promise: c } = t.promiseManager.acquire();
|
|
8703
|
-
return ar({ title: s, text: r }).then((
|
|
8704
|
-
ze(t) && (
|
|
8703
|
+
return ar({ title: s, text: r }).then((m) => {
|
|
8704
|
+
ze(t) && (m === void 0 ? c.resolve(e.undefined) : c.resolve(m ? e.true : e.false), t.promiseManager.release(a));
|
|
8705
8705
|
}), c.settled.then(e.runtime.executePendingJobs), c.handle;
|
|
8706
8706
|
}).consume((n) => e.setProp(e.global, "__openConfirmDlgV1__", n)), e.newFunction("__openPromptDlgV1__", (n, o, s) => {
|
|
8707
|
-
const r = e.getString(n), a = e.getString(o), c = e.dump(s), { id:
|
|
8708
|
-
return cr({ title: r, label: a, value: c }).then((
|
|
8709
|
-
ze(t) && (
|
|
8707
|
+
const r = e.getString(n), a = e.getString(o), c = e.dump(s), { id: m, promise: d } = t.promiseManager.acquire();
|
|
8708
|
+
return cr({ title: r, label: a, value: c }).then((u) => {
|
|
8709
|
+
ze(t) && (u === void 0 ? d.resolve(e.undefined) : d.resolve(e.newString(u)), t.promiseManager.release(m));
|
|
8710
8710
|
}), d.settled.then(e.runtime.executePendingJobs), d.handle;
|
|
8711
8711
|
}).consume((n) => e.setProp(e.global, "__openPromptDlgV1__", n));
|
|
8712
8712
|
}
|
|
@@ -8831,8 +8831,8 @@ class Nu {
|
|
|
8831
8831
|
type;
|
|
8832
8832
|
eventBus = Cr();
|
|
8833
8833
|
hooks;
|
|
8834
|
-
constructor(e, n, o, s, r, a, c,
|
|
8835
|
-
this.kind = e, this.id = n, this.refKey = o, this.parent = s, this.org = r, this.env = a, this.mode = c, this.type =
|
|
8834
|
+
constructor(e, n, o, s, r, a, c, m, d) {
|
|
8835
|
+
this.kind = e, this.id = n, this.refKey = o, this.parent = s, this.org = r, this.env = a, this.mode = c, this.type = m, this.hooks = d, this.parent?.addChild(this), console.log(`Sandbox/constructor id='${this.id}'`);
|
|
8836
8836
|
}
|
|
8837
8837
|
dispose() {
|
|
8838
8838
|
this.parent?.removeChild(this.id), this.destroyVm(), console.log(`Sandbox/dispose id='${this.id}'`);
|
|
@@ -8974,7 +8974,7 @@ class Nu {
|
|
|
8974
8974
|
}
|
|
8975
8975
|
}
|
|
8976
8976
|
function oi(t, e, n, o, s) {
|
|
8977
|
-
const r = Vu(), a = Su(), c = H(),
|
|
8977
|
+
const r = Vu(), a = Su(), c = H(), m = be(), d = Le(), u = He(), p = Iu(), y = (S, I, P, E) => {
|
|
8978
8978
|
if (Z(c) && (x.callFunction(
|
|
8979
8979
|
"__triggerEventV1__",
|
|
8980
8980
|
Q(
|
|
@@ -9042,7 +9042,7 @@ function oi(t, e, n, o, s) {
|
|
|
9042
9042
|
I,
|
|
9043
9043
|
P
|
|
9044
9044
|
));
|
|
9045
|
-
}, x = new Nu(e, n, o, s, r, a, c,
|
|
9045
|
+
}, x = new Nu(e, n, o, s, r, a, c, m, {
|
|
9046
9046
|
onElementPropertyChange: y,
|
|
9047
9047
|
onCustomPropertyChange: b,
|
|
9048
9048
|
onAdaptSlotPropertyChange: h,
|
|
@@ -9071,7 +9071,7 @@ function oi(t, e, n, o, s) {
|
|
|
9071
9071
|
},
|
|
9072
9072
|
{ immediate: !0 }
|
|
9073
9073
|
), Z(c) && re(
|
|
9074
|
-
|
|
9074
|
+
u,
|
|
9075
9075
|
(S) => {
|
|
9076
9076
|
x.callFunction(
|
|
9077
9077
|
"__triggerEventV1__",
|