x-runtime-lib 0.7.18 → 0.7.19
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 +270 -259
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -77,9 +77,9 @@ function j(t, e) {
|
|
|
77
77
|
return { color: n(() => s.value === "theme" ? l.value : s.value === "custom" ? o.value : "") };
|
|
78
78
|
}
|
|
79
79
|
function Ut(t, e) {
|
|
80
|
-
const i = n(() => e.node.border?.style), s = n(() => e.node.border?.width), l = n(() => e.node.border?.color), { color: o } = j(t, l), r = n(() => e.node.border?.roundRadius?.tl), u = n(() => e.node.border?.roundRadius?.tr),
|
|
81
|
-
function a(
|
|
82
|
-
i.value && (
|
|
80
|
+
const i = n(() => e.node.border?.style), s = n(() => e.node.border?.width), l = n(() => e.node.border?.color), { color: o } = j(t, l), r = n(() => e.node.border?.roundRadius?.tl), u = n(() => e.node.border?.roundRadius?.tr), m = n(() => e.node.border?.roundRadius?.bl), p = n(() => e.node.border?.roundRadius?.br);
|
|
81
|
+
function a(d) {
|
|
82
|
+
i.value && (d.borderStyle = i.value), s.value && (d.borderWidth = s.value), o.value && (d.borderColor = o.value), r.value && (d.borderTopLeftRadius = r.value), u.value && (d.borderTopRightRadius = u.value), m.value && (d.borderBottomLeftRadius = m.value), p.value && (d.borderBottomRightRadius = p.value);
|
|
83
83
|
}
|
|
84
84
|
return { borderStyle: i, borderWidth: s, borderColor: o, applyBorder: a };
|
|
85
85
|
}
|
|
@@ -193,37 +193,37 @@ function wo(t, e, i, s, l) {
|
|
|
193
193
|
return;
|
|
194
194
|
}
|
|
195
195
|
if (s) {
|
|
196
|
-
const
|
|
197
|
-
if (!u.elements.has(
|
|
196
|
+
const m = u.refKey, p = l;
|
|
197
|
+
if (!u.elements.has(m)) {
|
|
198
198
|
console.error(`spawnNode [ref] element not found in pkg, ${o}`);
|
|
199
199
|
return;
|
|
200
200
|
}
|
|
201
|
-
const a = re[
|
|
201
|
+
const a = re[m];
|
|
202
202
|
if (!a) {
|
|
203
203
|
console.error(`spawnNode [ref] element not found in global, ${o}`);
|
|
204
204
|
return;
|
|
205
205
|
}
|
|
206
|
-
const
|
|
207
|
-
if (!
|
|
206
|
+
const d = a.props[r];
|
|
207
|
+
if (!d) {
|
|
208
208
|
console.error(`spawnNode [ref] props not found, ${o}`);
|
|
209
209
|
return;
|
|
210
210
|
}
|
|
211
|
-
const
|
|
211
|
+
const c = {
|
|
212
212
|
basic: {
|
|
213
213
|
id: "",
|
|
214
214
|
key: ""
|
|
215
215
|
}
|
|
216
216
|
};
|
|
217
|
-
return L(
|
|
217
|
+
return L(c, d), c.basic.id = N(16), c.basic.key = m, c.ref = {
|
|
218
218
|
id: p
|
|
219
|
-
},
|
|
219
|
+
}, c;
|
|
220
220
|
} else {
|
|
221
|
-
const
|
|
222
|
-
if (!u.elements.has(
|
|
221
|
+
const m = l;
|
|
222
|
+
if (!u.elements.has(m)) {
|
|
223
223
|
console.error(`spawnNode [key] element not found in pkg, ${o}`);
|
|
224
224
|
return;
|
|
225
225
|
}
|
|
226
|
-
const p = re[
|
|
226
|
+
const p = re[m];
|
|
227
227
|
if (!p) {
|
|
228
228
|
console.error(`spawnNode [key] element not found in global, ${o}`);
|
|
229
229
|
return;
|
|
@@ -236,13 +236,13 @@ function wo(t, e, i, s, l) {
|
|
|
236
236
|
console.error(`spawnNode [key] props not found, ${o}`);
|
|
237
237
|
return;
|
|
238
238
|
}
|
|
239
|
-
const
|
|
239
|
+
const d = {
|
|
240
240
|
basic: {
|
|
241
241
|
id: "",
|
|
242
242
|
key: ""
|
|
243
243
|
}
|
|
244
244
|
};
|
|
245
|
-
return L(
|
|
245
|
+
return L(d, a), d.basic.id = N(16), d.basic.key = m, p.slots.some((c) => c.key === "default") && (d.children = []), d;
|
|
246
246
|
}
|
|
247
247
|
}
|
|
248
248
|
}
|
|
@@ -346,7 +346,7 @@ function se(t, e, i) {
|
|
|
346
346
|
return a / 100 * e.value.height + "px";
|
|
347
347
|
}
|
|
348
348
|
return i.node.size?.minHeight;
|
|
349
|
-
}),
|
|
349
|
+
}), m = n(() => {
|
|
350
350
|
if (i.outer && t === "editor") {
|
|
351
351
|
const a = ze(i.node.size?.maxHeight);
|
|
352
352
|
if (a)
|
|
@@ -355,9 +355,9 @@ function se(t, e, i) {
|
|
|
355
355
|
return i.node.size?.maxHeight;
|
|
356
356
|
});
|
|
357
357
|
function p(a) {
|
|
358
|
-
s.value && (a.width = s.value), l.value && (a.minWidth = l.value), o.value && (a.maxWidth = o.value), r.value && (a.height = r.value), u.value && (a.minHeight = u.value),
|
|
358
|
+
s.value && (a.width = s.value), l.value && (a.minWidth = l.value), o.value && (a.maxWidth = o.value), r.value && (a.height = r.value), u.value && (a.minHeight = u.value), m.value && (a.maxHeight = m.value);
|
|
359
359
|
}
|
|
360
|
-
return { width: s, minWidth: l, maxWidth: o, height: r, minHeight: u, maxHeight:
|
|
360
|
+
return { width: s, minWidth: l, maxWidth: o, height: r, minHeight: u, maxHeight: m, applySize: p };
|
|
361
361
|
}
|
|
362
362
|
function Ei(t, e, i) {
|
|
363
363
|
const s = n(() => e.node.basic.id), l = n(() => `callMethod@${s.value}`);
|
|
@@ -447,7 +447,7 @@ const As = /* @__PURE__ */ T({
|
|
|
447
447
|
outer: { type: Boolean }
|
|
448
448
|
},
|
|
449
449
|
setup(t) {
|
|
450
|
-
const e = t, i = F(), s = te(), l = B(), o = ne(), r = ie(), { width: u, minWidth:
|
|
450
|
+
const e = t, i = F(), s = te(), l = B(), o = ne(), r = ie(), { width: u, minWidth: m, maxWidth: p, height: a, minHeight: d, maxHeight: c, applySize: b } = se(i, s, e), { applyTitle: y } = yi(e), { applyXAxis: f } = hi(e), { applyYAxis: _ } = gi(e), { applyLegend: k } = bi(e), { applySeries: x } = vi(e), h = n(() => {
|
|
451
451
|
const C = {}, G = r.value.type;
|
|
452
452
|
return o === "page" ? G === "common" ? b(C) : console.assert(!1) : o === "comp" && G === "common" ? b(C) : console.assert(!1), C;
|
|
453
453
|
}), w = ei("chart");
|
|
@@ -471,11 +471,11 @@ const As = /* @__PURE__ */ T({
|
|
|
471
471
|
() => s.value.width,
|
|
472
472
|
() => s.value.height,
|
|
473
473
|
u,
|
|
474
|
-
|
|
474
|
+
m,
|
|
475
475
|
p,
|
|
476
476
|
a,
|
|
477
|
-
|
|
478
|
-
|
|
477
|
+
d,
|
|
478
|
+
c
|
|
479
479
|
],
|
|
480
480
|
async () => {
|
|
481
481
|
await ni(), S();
|
|
@@ -500,7 +500,7 @@ const As = /* @__PURE__ */ T({
|
|
|
500
500
|
outer: { type: Boolean }
|
|
501
501
|
},
|
|
502
502
|
setup(t) {
|
|
503
|
-
const e = t, i = F(), s = te(), l = B(), o = ne(), r = ie(), { width: u, minWidth:
|
|
503
|
+
const e = t, i = F(), s = te(), l = B(), o = ne(), r = ie(), { width: u, minWidth: m, maxWidth: p, height: a, minHeight: d, maxHeight: c, applySize: b } = se(i, s, e), { applyTitle: y } = yi(e), { applyXAxis: f } = hi(e), { applyYAxis: _ } = gi(e), { applyLegend: k } = bi(e), { applySeries: x } = vi(e), h = n(() => {
|
|
504
504
|
const C = {}, G = r.value.type;
|
|
505
505
|
return o === "page" ? G === "common" ? b(C) : console.assert(!1) : o === "comp" && G === "common" ? b(C) : console.assert(!1), C;
|
|
506
506
|
}), w = ei("chart");
|
|
@@ -524,11 +524,11 @@ const As = /* @__PURE__ */ T({
|
|
|
524
524
|
() => s.value.width,
|
|
525
525
|
() => s.value.height,
|
|
526
526
|
u,
|
|
527
|
-
|
|
527
|
+
m,
|
|
528
528
|
p,
|
|
529
529
|
a,
|
|
530
|
-
|
|
531
|
-
|
|
530
|
+
d,
|
|
531
|
+
c
|
|
532
532
|
],
|
|
533
533
|
async () => {
|
|
534
534
|
await ni(), S();
|
|
@@ -548,45 +548,52 @@ const As = /* @__PURE__ */ T({
|
|
|
548
548
|
}
|
|
549
549
|
});
|
|
550
550
|
function Ps(t, e) {
|
|
551
|
-
function i(
|
|
552
|
-
const
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
let y = parseInt(b.slice(1, -1), 10);
|
|
560
|
-
y > 0 && y--, a.push(y);
|
|
551
|
+
function i(p) {
|
|
552
|
+
const a = t.pseudoToNative(p), d = [], c = a.split(".");
|
|
553
|
+
for (let b = 0; b < c.length; b++) {
|
|
554
|
+
const y = c[b].trim();
|
|
555
|
+
if (y !== "")
|
|
556
|
+
if (/^\[\d+\]$/.test(y)) {
|
|
557
|
+
let f = parseInt(y.slice(1, -1), 10);
|
|
558
|
+
f > 0 && f--, d.push(f);
|
|
561
559
|
} else
|
|
562
|
-
|
|
560
|
+
d.push(y);
|
|
563
561
|
}
|
|
564
|
-
return t.nativeToPseudo(
|
|
562
|
+
return t.nativeToPseudo(d);
|
|
565
563
|
}
|
|
566
|
-
function s(
|
|
567
|
-
const
|
|
568
|
-
|
|
564
|
+
function s(p) {
|
|
565
|
+
const a = t.pseudoToNative(p);
|
|
566
|
+
try {
|
|
567
|
+
const d = JSON.parse(a);
|
|
568
|
+
return t.nativeToPseudo(d);
|
|
569
|
+
} catch {
|
|
570
|
+
return t.nativeToPseudo({});
|
|
571
|
+
}
|
|
572
|
+
}
|
|
573
|
+
function l(p) {
|
|
574
|
+
const a = t.pseudoToNative(p);
|
|
575
|
+
console.log(a);
|
|
569
576
|
}
|
|
570
|
-
function
|
|
571
|
-
const
|
|
572
|
-
let
|
|
573
|
-
typeof
|
|
577
|
+
function o(p) {
|
|
578
|
+
const a = t.pseudoToNative(p);
|
|
579
|
+
let d = "";
|
|
580
|
+
typeof a == "object" ? d = JSON.stringify(a) : d = String(a), jt.emit("consoleAppend", d);
|
|
574
581
|
}
|
|
575
|
-
function
|
|
576
|
-
const
|
|
577
|
-
|
|
582
|
+
function r(p, a) {
|
|
583
|
+
const d = t.pseudoToNative(p), c = t.pseudoToNative(a);
|
|
584
|
+
d === "info" ? to(c) : d === "success" ? no(c) : d === "warning" ? ai(c) : d === "error" && ui(c);
|
|
578
585
|
}
|
|
579
|
-
function
|
|
580
|
-
const
|
|
586
|
+
function u(p, a) {
|
|
587
|
+
const d = t.pseudoToNative(p), c = t.pseudoToNative(a);
|
|
581
588
|
window.setTimeout(() => {
|
|
582
|
-
t.appendCode(`__timeoutCallbackV1__(${
|
|
589
|
+
t.appendCode(`__timeoutCallbackV1__(${d})`), t.run();
|
|
583
590
|
}, c);
|
|
584
591
|
}
|
|
585
|
-
function
|
|
586
|
-
const
|
|
592
|
+
function m(p, a) {
|
|
593
|
+
const d = t.pseudoToNative(p);
|
|
587
594
|
window.setTimeout(() => {
|
|
588
|
-
|
|
589
|
-
},
|
|
595
|
+
a(), t.run();
|
|
596
|
+
}, d);
|
|
590
597
|
}
|
|
591
598
|
t.setProperty(
|
|
592
599
|
e,
|
|
@@ -594,24 +601,28 @@ function Ps(t, e) {
|
|
|
594
601
|
t.createNativeFunction(i)
|
|
595
602
|
), t.setProperty(
|
|
596
603
|
e,
|
|
597
|
-
"
|
|
604
|
+
"__parseJsonV1__",
|
|
598
605
|
t.createNativeFunction(s)
|
|
599
606
|
), t.setProperty(
|
|
600
607
|
e,
|
|
601
|
-
"
|
|
608
|
+
"__consoleLogV1__",
|
|
602
609
|
t.createNativeFunction(l)
|
|
603
610
|
), t.setProperty(
|
|
604
611
|
e,
|
|
605
|
-
"
|
|
612
|
+
"__debugTraceV1__",
|
|
606
613
|
t.createNativeFunction(o)
|
|
607
614
|
), t.setProperty(
|
|
608
615
|
e,
|
|
609
|
-
"
|
|
616
|
+
"__messageV1__",
|
|
610
617
|
t.createNativeFunction(r)
|
|
618
|
+
), t.setProperty(
|
|
619
|
+
e,
|
|
620
|
+
"__timeoutV1__",
|
|
621
|
+
t.createNativeFunction(u)
|
|
611
622
|
), t.setProperty(
|
|
612
623
|
e,
|
|
613
624
|
"__delayV1__",
|
|
614
|
-
t.createAsyncFunction(
|
|
625
|
+
t.createAsyncFunction(m)
|
|
615
626
|
);
|
|
616
627
|
}
|
|
617
628
|
const Wi = io({
|
|
@@ -626,16 +637,16 @@ function Ls(t) {
|
|
|
626
637
|
return Wi.post("callFunc", t);
|
|
627
638
|
}
|
|
628
639
|
function Es(t, e) {
|
|
629
|
-
async function i(s, l, o, r, u,
|
|
630
|
-
const p = t.pseudoToNative(s), a = t.pseudoToNative(l),
|
|
640
|
+
async function i(s, l, o, r, u, m) {
|
|
641
|
+
const p = t.pseudoToNative(s), a = t.pseudoToNative(l), d = t.pseudoToNative(o), c = t.pseudoToNative(r), b = t.pseudoToNative(u);
|
|
631
642
|
try {
|
|
632
|
-
const y = JSON.stringify(
|
|
643
|
+
const y = JSON.stringify(d), { strOutputs: f } = await Ls({
|
|
633
644
|
spaceid: p,
|
|
634
645
|
id: a,
|
|
635
646
|
strInputs: y,
|
|
636
|
-
env:
|
|
647
|
+
env: c
|
|
637
648
|
}), _ = JSON.parse(f);
|
|
638
|
-
|
|
649
|
+
m(t.nativeToPseudo(_)), t.run();
|
|
639
650
|
} catch (y) {
|
|
640
651
|
console.error("callFuncV1 failed", b, y);
|
|
641
652
|
}
|
|
@@ -688,16 +699,16 @@ class Ws {
|
|
|
688
699
|
}
|
|
689
700
|
function Bs(t, e, i) {
|
|
690
701
|
const s = new Ws(t);
|
|
691
|
-
function l(
|
|
692
|
-
const f = e.pseudoToNative(
|
|
702
|
+
function l(c, b, y) {
|
|
703
|
+
const f = e.pseudoToNative(c), _ = e.pseudoToNative(b), k = e.pseudoToNative(y), x = s.addNode(f, _, k);
|
|
693
704
|
return e.nativeToPseudo(x);
|
|
694
705
|
}
|
|
695
|
-
function o(
|
|
696
|
-
const b = e.pseudoToNative(
|
|
706
|
+
function o(c) {
|
|
707
|
+
const b = e.pseudoToNative(c);
|
|
697
708
|
s.deleteNode(b);
|
|
698
709
|
}
|
|
699
|
-
function r(
|
|
700
|
-
const y = e.pseudoToNative(
|
|
710
|
+
function r(c, b) {
|
|
711
|
+
const y = e.pseudoToNative(c), f = e.pseudoToNative(b), _ = `id=${y} keys=${f}`;
|
|
701
712
|
let k;
|
|
702
713
|
if (y === "globality" ? k = t.data.view : k = s.getNode(y), !k) {
|
|
703
714
|
console.error(`getNodePropV1 node not found, ${_}`);
|
|
@@ -715,8 +726,8 @@ function Bs(t, e, i) {
|
|
|
715
726
|
k = k[g];
|
|
716
727
|
}
|
|
717
728
|
}
|
|
718
|
-
function u(
|
|
719
|
-
const f = e.pseudoToNative(
|
|
729
|
+
function u(c, b, y) {
|
|
730
|
+
const f = e.pseudoToNative(c), _ = e.pseudoToNative(b), k = e.pseudoToNative(y), x = `id=${f} keys=${_} value=${k}`;
|
|
720
731
|
let h;
|
|
721
732
|
if (f === "globality" ? h = t.data.view : h = s.getNode(f), !h) {
|
|
722
733
|
console.error(`setNodePropV1 node not found, ${x}`);
|
|
@@ -736,12 +747,12 @@ function Bs(t, e, i) {
|
|
|
736
747
|
}
|
|
737
748
|
}
|
|
738
749
|
}
|
|
739
|
-
function
|
|
740
|
-
const _ = e.pseudoToNative(
|
|
750
|
+
function m(c, b, y, f) {
|
|
751
|
+
const _ = e.pseudoToNative(c), k = e.pseudoToNative(b), x = e.pseudoToNative(y), h = { outputs: [] };
|
|
741
752
|
t.eventBus?.emit(`callMethod@${_}`, { name: k, inputs: x, result: h }), f(e.nativeToPseudo(h.outputs)), e.run();
|
|
742
753
|
}
|
|
743
|
-
function p(
|
|
744
|
-
const y = e.pseudoToNative(
|
|
754
|
+
function p(c, b) {
|
|
755
|
+
const y = e.pseudoToNative(c), f = e.pseudoToNative(b);
|
|
745
756
|
if (t.mode === "runtime") {
|
|
746
757
|
const _ = "/main/" + Date.now(), k = {
|
|
747
758
|
orgid: t.org,
|
|
@@ -755,14 +766,14 @@ function Bs(t, e, i) {
|
|
|
755
766
|
)
|
|
756
767
|
);
|
|
757
768
|
}
|
|
758
|
-
function a(
|
|
759
|
-
const f = e.pseudoToNative(
|
|
769
|
+
function a(c, b, y) {
|
|
770
|
+
const f = e.pseudoToNative(c), _ = e.pseudoToNative(b);
|
|
760
771
|
oo({ title: f, text: _ }).then((k) => {
|
|
761
772
|
y(e.nativeToPseudo(k)), e.run();
|
|
762
773
|
});
|
|
763
774
|
}
|
|
764
|
-
function c
|
|
765
|
-
const _ = e.pseudoToNative(
|
|
775
|
+
function d(c, b, y, f) {
|
|
776
|
+
const _ = e.pseudoToNative(c), k = e.pseudoToNative(b), x = e.pseudoToNative(y);
|
|
766
777
|
so({ title: _, label: k, value: x }).then((h) => {
|
|
767
778
|
f(e.nativeToPseudo(h)), e.run();
|
|
768
779
|
});
|
|
@@ -786,7 +797,7 @@ function Bs(t, e, i) {
|
|
|
786
797
|
), e.setProperty(
|
|
787
798
|
i,
|
|
788
799
|
"__callNodeMethodV1__",
|
|
789
|
-
e.createAsyncFunction(
|
|
800
|
+
e.createAsyncFunction(m)
|
|
790
801
|
), e.setProperty(
|
|
791
802
|
i,
|
|
792
803
|
"__navigateToV1__",
|
|
@@ -798,7 +809,7 @@ function Bs(t, e, i) {
|
|
|
798
809
|
), e.setProperty(
|
|
799
810
|
i,
|
|
800
811
|
"__openPromptDlgV1__",
|
|
801
|
-
e.createAsyncFunction(
|
|
812
|
+
e.createAsyncFunction(d)
|
|
802
813
|
);
|
|
803
814
|
}
|
|
804
815
|
function Ds(t, e, i) {
|
|
@@ -984,28 +995,28 @@ const Gs = /* @__PURE__ */ T({
|
|
|
984
995
|
outer: { type: Boolean }
|
|
985
996
|
},
|
|
986
997
|
setup(t) {
|
|
987
|
-
const { t: e } = fi(), i = t, s = Ai(), l = Ni(), o = F(), r = te(), u = ne(),
|
|
988
|
-
Li(
|
|
998
|
+
const { t: e } = fi(), i = t, s = Ai(), l = Ni(), o = F(), r = te(), u = ne(), m = ie(), p = Pi(), a = ce(-1), d = ce(), c = {};
|
|
999
|
+
Li(c);
|
|
989
1000
|
const b = () => {
|
|
990
|
-
|
|
1001
|
+
c.eventBus && (c.eventBus = void 0), c.interpreter && (Di(c.interpreter), c.interpreter = void 0);
|
|
991
1002
|
};
|
|
992
1003
|
ii(() => {
|
|
993
1004
|
if (!i.refContext.refid) {
|
|
994
|
-
a.value = -1,
|
|
1005
|
+
a.value = -1, d.value = void 0, b();
|
|
995
1006
|
return;
|
|
996
1007
|
}
|
|
997
1008
|
const g = p.value[i.refContext.refid];
|
|
998
1009
|
if (!g) {
|
|
999
|
-
a.value = -1,
|
|
1010
|
+
a.value = -1, d.value = null, b(), jt.emit("compNotAvail", i.refContext.refid);
|
|
1000
1011
|
return;
|
|
1001
1012
|
}
|
|
1002
|
-
if (a.value === g.dataSeq || (a.value = g.dataSeq,
|
|
1013
|
+
if (a.value === g.dataSeq || (a.value = g.dataSeq, d.value = R(g.data), o !== "runtime" && o !== "preview"))
|
|
1003
1014
|
return;
|
|
1004
1015
|
b();
|
|
1005
|
-
const $ =
|
|
1016
|
+
const $ = d.value, S = $.code.script;
|
|
1006
1017
|
if (S) {
|
|
1007
1018
|
const P = Ri();
|
|
1008
|
-
|
|
1019
|
+
c.eventBus = P, c.interpreter = Bi(
|
|
1009
1020
|
{ org: s, env: l, mode: o, type: u, data: $, eventBus: P },
|
|
1010
1021
|
S
|
|
1011
1022
|
);
|
|
@@ -1014,11 +1025,11 @@ const Gs = /* @__PURE__ */ T({
|
|
|
1014
1025
|
b();
|
|
1015
1026
|
});
|
|
1016
1027
|
const { applySize: y } = se(o, r, i), f = n(() => {
|
|
1017
|
-
const g = {}, $ =
|
|
1028
|
+
const g = {}, $ = m.value.type;
|
|
1018
1029
|
return u === "page" ? $ === "common" ? y(g) : console.assert(!1) : u === "comp" && $ === "common" ? y(g) : console.assert(!1), g;
|
|
1019
1030
|
});
|
|
1020
1031
|
function _(g) {
|
|
1021
|
-
const $ = rn[
|
|
1032
|
+
const $ = rn[m.value.version].refKey, S = re[$];
|
|
1022
1033
|
return S ? O(S.comp, {
|
|
1023
1034
|
refContext: {
|
|
1024
1035
|
parent: i.refContext,
|
|
@@ -1052,12 +1063,12 @@ const Gs = /* @__PURE__ */ T({
|
|
|
1052
1063
|
const w = () => {
|
|
1053
1064
|
if (h())
|
|
1054
1065
|
return O("div", { id: i.id }, e("x-runtime-lib.circularRef"));
|
|
1055
|
-
if (!
|
|
1056
|
-
return
|
|
1057
|
-
const g =
|
|
1066
|
+
if (!d.value)
|
|
1067
|
+
return d.value === void 0 ? O("div", { id: i.id }) : O("div", { id: i.id }, e("x-runtime-lib.compNotAvail"));
|
|
1068
|
+
const g = d.value.type;
|
|
1058
1069
|
if (g === "common") {
|
|
1059
1070
|
const $ = [];
|
|
1060
|
-
return
|
|
1071
|
+
return d.value.view.nodes.forEach((S) => {
|
|
1061
1072
|
$.push(x(S));
|
|
1062
1073
|
}), O("div", { id: i.id, style: f.value }, $);
|
|
1063
1074
|
} else
|
|
@@ -1072,34 +1083,34 @@ const Gs = /* @__PURE__ */ T({
|
|
|
1072
1083
|
state: {}
|
|
1073
1084
|
},
|
|
1074
1085
|
setup(t) {
|
|
1075
|
-
const { t: e } = fi(), i = t, s = Ai(), l = Ni(), o = F(), r = ne(), u = ie(),
|
|
1076
|
-
Li(
|
|
1077
|
-
const
|
|
1078
|
-
|
|
1086
|
+
const { t: e } = fi(), i = t, s = Ai(), l = Ni(), o = F(), r = ne(), u = ie(), m = Pi(), p = ce(-1), a = ce(), d = {};
|
|
1087
|
+
Li(d);
|
|
1088
|
+
const c = () => {
|
|
1089
|
+
d.eventBus && (d.eventBus = void 0), d.interpreter && (Di(d.interpreter), d.interpreter = void 0);
|
|
1079
1090
|
};
|
|
1080
1091
|
ii(() => {
|
|
1081
1092
|
if (!i.refContext.refid) {
|
|
1082
|
-
p.value = -1, a.value = void 0,
|
|
1093
|
+
p.value = -1, a.value = void 0, c();
|
|
1083
1094
|
return;
|
|
1084
1095
|
}
|
|
1085
|
-
const h =
|
|
1096
|
+
const h = m.value[i.refContext.refid];
|
|
1086
1097
|
if (!h) {
|
|
1087
|
-
p.value = -1, a.value = null,
|
|
1098
|
+
p.value = -1, a.value = null, c(), jt.emit("compNotAvail", i.refContext.refid);
|
|
1088
1099
|
return;
|
|
1089
1100
|
}
|
|
1090
1101
|
if (p.value === h.dataSeq || (p.value = h.dataSeq, a.value = R(h.data), o !== "runtime" && o !== "preview"))
|
|
1091
1102
|
return;
|
|
1092
|
-
|
|
1103
|
+
c();
|
|
1093
1104
|
const w = a.value, g = w.code.script;
|
|
1094
1105
|
if (g) {
|
|
1095
1106
|
const $ = Ri();
|
|
1096
|
-
|
|
1107
|
+
d.eventBus = $, d.interpreter = Bi(
|
|
1097
1108
|
{ org: s, env: l, mode: o, type: r, data: w, eventBus: $ },
|
|
1098
1109
|
g
|
|
1099
1110
|
);
|
|
1100
1111
|
}
|
|
1101
1112
|
}), ge(() => {
|
|
1102
|
-
|
|
1113
|
+
c();
|
|
1103
1114
|
});
|
|
1104
1115
|
const b = () => {
|
|
1105
1116
|
console.log("triggerUpdate");
|
|
@@ -1166,7 +1177,7 @@ const Gs = /* @__PURE__ */ T({
|
|
|
1166
1177
|
},
|
|
1167
1178
|
setup(t) {
|
|
1168
1179
|
const e = t, i = B(), s = n(() => e.node.settings?.content), l = n(() => e.node.settings?.dot), o = n(() => i.value ? "dark" : "light"), r = n(() => e.node.settings?.offset?.x), u = n(() => e.node.settings?.offset?.y);
|
|
1169
|
-
return (
|
|
1180
|
+
return (m, p) => {
|
|
1170
1181
|
const a = A("v-badge");
|
|
1171
1182
|
return V(), z(a, {
|
|
1172
1183
|
content: s.value,
|
|
@@ -1176,7 +1187,7 @@ const Gs = /* @__PURE__ */ T({
|
|
|
1176
1187
|
theme: o.value
|
|
1177
1188
|
}, {
|
|
1178
1189
|
default: W(() => [
|
|
1179
|
-
M(
|
|
1190
|
+
M(m.$slots, "default")
|
|
1180
1191
|
]),
|
|
1181
1192
|
_: 3
|
|
1182
1193
|
}, 8, ["content", "dot", "offset-x", "offset-y", "theme"]);
|
|
@@ -1189,7 +1200,7 @@ const Gs = /* @__PURE__ */ T({
|
|
|
1189
1200
|
outer: { type: Boolean }
|
|
1190
1201
|
},
|
|
1191
1202
|
setup(t) {
|
|
1192
|
-
const e = t, i = F(), s = B(), l = Te(), o = n(() => e.node.settings?.addIcon?.append), r = n(() => e.node.settings?.block), u = n(() => e.node.settings?.color), { color:
|
|
1203
|
+
const e = t, i = F(), s = B(), l = Te(), o = n(() => e.node.settings?.addIcon?.append), r = n(() => e.node.settings?.block), u = n(() => e.node.settings?.color), { color: m } = j(s, u), p = n(() => e.node.settings?.density), a = n(() => e.node.settings?.disabled), d = n(() => e.node.size?.height), c = n(() => e.node.settings?.loading), b = n(() => e.node.size?.maxHeight), y = n(() => e.node.size?.maxWidth), f = n(() => e.node.size?.minHeight), _ = n(() => e.node.size?.minWidth), k = n(() => e.node.settings?.addIcon?.prepend), x = n(() => e.node.settings?.readonly), h = n(() => e.node.settings?.ripple), w = n(() => e.node.settings?.size), g = n(() => e.node.settings?.stacked), $ = n(() => e.node.settings?.text), S = n(() => s.value ? "dark" : "light"), P = n(() => e.node.settings?.variant), C = n(() => e.node.size?.width), G = (Y) => {
|
|
1193
1204
|
if (i !== "runtime" && i !== "preview")
|
|
1194
1205
|
return;
|
|
1195
1206
|
const K = l.interpreter;
|
|
@@ -1203,11 +1214,11 @@ const Gs = /* @__PURE__ */ T({
|
|
|
1203
1214
|
return V(), z(X, {
|
|
1204
1215
|
"append-icon": o.value,
|
|
1205
1216
|
block: r.value,
|
|
1206
|
-
color: D(
|
|
1217
|
+
color: D(m),
|
|
1207
1218
|
density: p.value,
|
|
1208
1219
|
disabled: a.value,
|
|
1209
|
-
height:
|
|
1210
|
-
loading:
|
|
1220
|
+
height: d.value,
|
|
1221
|
+
loading: c.value,
|
|
1211
1222
|
"max-height": b.value,
|
|
1212
1223
|
"max-width": y.value,
|
|
1213
1224
|
"min-height": f.value,
|
|
@@ -1247,7 +1258,7 @@ const qs = /* @__PURE__ */ be(Us, [["render", Zs]]), Xs = /* @__PURE__ */ T({
|
|
|
1247
1258
|
outer: { type: Boolean }
|
|
1248
1259
|
},
|
|
1249
1260
|
setup(t) {
|
|
1250
|
-
const e = t, i = B(), s = n(() => e.node.settings?.block), l = n(() => e.node.settings?.disabled), o = n(() => e.node.settings?.divided), r = n(() => e.node.settings?.mandatory), u = n(() => e.node.settings?.multiple),
|
|
1261
|
+
const e = t, i = B(), s = n(() => e.node.settings?.block), l = n(() => e.node.settings?.disabled), o = n(() => e.node.settings?.divided), r = n(() => e.node.settings?.mandatory), u = n(() => e.node.settings?.multiple), m = n(() => e.node.settings?.readonly), p = n(() => e.node.settings?.size), a = n(() => e.node.settings?.stacked), d = n(() => i.value ? "dark" : "light"), c = n(() => e.node.settings?.tile), b = n(() => e.node.settings?.variant);
|
|
1251
1262
|
return (y, f) => {
|
|
1252
1263
|
const _ = A("v-btn-toggle");
|
|
1253
1264
|
return V(), z(_, {
|
|
@@ -1256,11 +1267,11 @@ const qs = /* @__PURE__ */ be(Us, [["render", Zs]]), Xs = /* @__PURE__ */ T({
|
|
|
1256
1267
|
divided: o.value,
|
|
1257
1268
|
mandatory: r.value,
|
|
1258
1269
|
multiple: u.value,
|
|
1259
|
-
readonly:
|
|
1270
|
+
readonly: m.value,
|
|
1260
1271
|
size: p.value,
|
|
1261
1272
|
stacked: a.value,
|
|
1262
|
-
theme:
|
|
1263
|
-
tile:
|
|
1273
|
+
theme: d.value,
|
|
1274
|
+
tile: c.value,
|
|
1264
1275
|
variant: b.value
|
|
1265
1276
|
}, {
|
|
1266
1277
|
default: W(() => [
|
|
@@ -1277,7 +1288,7 @@ const qs = /* @__PURE__ */ be(Us, [["render", Zs]]), Xs = /* @__PURE__ */ T({
|
|
|
1277
1288
|
outer: { type: Boolean }
|
|
1278
1289
|
},
|
|
1279
1290
|
setup(t) {
|
|
1280
|
-
const e = t, i = B(), s = n(() => e.node.settings?.density), l = n(() => e.node.settings?.disabled), o = n(() => e.node.size?.height), r = n(() => e.node.settings?.hover), u = n(() => e.node.settings?.loading),
|
|
1291
|
+
const e = t, i = B(), s = n(() => e.node.settings?.density), l = n(() => e.node.settings?.disabled), o = n(() => e.node.size?.height), r = n(() => e.node.settings?.hover), u = n(() => e.node.settings?.loading), m = n(() => e.node.size?.maxHeight), p = n(() => e.node.size?.maxWidth), a = n(() => e.node.size?.minHeight), d = n(() => e.node.size?.minWidth), c = n(() => e.node.settings?.subtitle), b = n(() => e.node.settings?.text), y = n(() => i.value ? "dark" : "light"), f = n(() => e.node.settings?.title), _ = n(() => e.node.settings?.variant), k = n(() => e.node.size?.width);
|
|
1281
1292
|
return (x, h) => {
|
|
1282
1293
|
const w = A("v-card");
|
|
1283
1294
|
return V(), z(w, {
|
|
@@ -1286,11 +1297,11 @@ const qs = /* @__PURE__ */ be(Us, [["render", Zs]]), Xs = /* @__PURE__ */ T({
|
|
|
1286
1297
|
height: o.value,
|
|
1287
1298
|
hover: r.value,
|
|
1288
1299
|
loading: u.value,
|
|
1289
|
-
"max-height":
|
|
1300
|
+
"max-height": m.value,
|
|
1290
1301
|
"max-width": p.value,
|
|
1291
1302
|
"min-height": a.value,
|
|
1292
|
-
"min-width":
|
|
1293
|
-
subtitle:
|
|
1303
|
+
"min-width": d.value,
|
|
1304
|
+
subtitle: c.value,
|
|
1294
1305
|
text: b.value,
|
|
1295
1306
|
theme: y.value,
|
|
1296
1307
|
title: f.value,
|
|
@@ -1327,7 +1338,7 @@ const qs = /* @__PURE__ */ be(Us, [["render", Zs]]), Xs = /* @__PURE__ */ T({
|
|
|
1327
1338
|
outer: { type: Boolean }
|
|
1328
1339
|
},
|
|
1329
1340
|
setup(t) {
|
|
1330
|
-
const e = t, i = B(), s = n(() => e.node.settings?.closable), l = n(() => e.node.settings?.color), { color: o } = j(i, l), r = n(() => e.node.settings?.density), u = n(() => e.node.settings?.disabled),
|
|
1341
|
+
const e = t, i = B(), s = n(() => e.node.settings?.closable), l = n(() => e.node.settings?.color), { color: o } = j(i, l), r = n(() => e.node.settings?.density), u = n(() => e.node.settings?.disabled), m = n(() => e.node.settings?.draggable), p = n(() => e.node.settings?.filter), a = n(() => e.node.settings?.label), d = n(() => e.node.settings?.size), c = n(() => e.node.settings?.text), b = n(() => i.value ? "dark" : "light"), y = n(() => e.node.settings?.tile), f = n(() => e.node.settings?.value), _ = n(() => e.node.settings?.variant);
|
|
1331
1342
|
return (k, x) => {
|
|
1332
1343
|
const h = A("v-chip");
|
|
1333
1344
|
return V(), z(h, {
|
|
@@ -1335,11 +1346,11 @@ const qs = /* @__PURE__ */ be(Us, [["render", Zs]]), Xs = /* @__PURE__ */ T({
|
|
|
1335
1346
|
color: D(o),
|
|
1336
1347
|
density: r.value,
|
|
1337
1348
|
disabled: u.value,
|
|
1338
|
-
draggable:
|
|
1349
|
+
draggable: m.value,
|
|
1339
1350
|
filter: p.value,
|
|
1340
1351
|
label: a.value,
|
|
1341
|
-
size:
|
|
1342
|
-
text:
|
|
1352
|
+
size: d.value,
|
|
1353
|
+
text: c.value,
|
|
1343
1354
|
theme: b.value,
|
|
1344
1355
|
tile: y.value,
|
|
1345
1356
|
value: f.value,
|
|
@@ -1354,12 +1365,12 @@ const qs = /* @__PURE__ */ be(Us, [["render", Zs]]), Xs = /* @__PURE__ */ T({
|
|
|
1354
1365
|
outer: { type: Boolean }
|
|
1355
1366
|
},
|
|
1356
1367
|
setup(t) {
|
|
1357
|
-
const e = t, i = B(), s = n(() => e.node.settings?.column), l = n(() => e.node.settings?.direction), o = n(() => e.node.settings?.disabled), r = n(() => e.node.settings?.filter), u = n(() => e.node.settings?.mandatory),
|
|
1368
|
+
const e = t, i = B(), s = n(() => e.node.settings?.column), l = n(() => e.node.settings?.direction), o = n(() => e.node.settings?.disabled), r = n(() => e.node.settings?.filter), u = n(() => e.node.settings?.mandatory), m = n(() => e.node.settings?.value), p = (b) => {
|
|
1358
1369
|
if (!e.node.settings)
|
|
1359
1370
|
return;
|
|
1360
1371
|
const { settings: y } = e.node;
|
|
1361
1372
|
y.value = b;
|
|
1362
|
-
}, a = n(() => e.node.settings?.multiple),
|
|
1373
|
+
}, a = n(() => e.node.settings?.multiple), d = n(() => e.node.settings?.showArrows), c = n(() => i.value ? "dark" : "light");
|
|
1363
1374
|
return (b, y) => {
|
|
1364
1375
|
const f = A("v-chip-group");
|
|
1365
1376
|
return V(), z(f, {
|
|
@@ -1368,10 +1379,10 @@ const qs = /* @__PURE__ */ be(Us, [["render", Zs]]), Xs = /* @__PURE__ */ T({
|
|
|
1368
1379
|
disabled: o.value,
|
|
1369
1380
|
filter: r.value,
|
|
1370
1381
|
mandatory: u.value,
|
|
1371
|
-
"model-value":
|
|
1382
|
+
"model-value": m.value,
|
|
1372
1383
|
multiple: a.value,
|
|
1373
|
-
"show-arrows":
|
|
1374
|
-
theme:
|
|
1384
|
+
"show-arrows": d.value,
|
|
1385
|
+
theme: c.value,
|
|
1375
1386
|
"onUpdate:modelValue": p
|
|
1376
1387
|
}, {
|
|
1377
1388
|
default: W(() => [
|
|
@@ -1388,21 +1399,21 @@ const qs = /* @__PURE__ */ be(Us, [["render", Zs]]), Xs = /* @__PURE__ */ T({
|
|
|
1388
1399
|
outer: { type: Boolean }
|
|
1389
1400
|
},
|
|
1390
1401
|
setup(t) {
|
|
1391
|
-
const e = t, i = F(), s = te(), l = B(), o = ne(), r = ie(), { applySize: u } = se(i, s, e),
|
|
1402
|
+
const e = t, i = F(), s = te(), l = B(), o = ne(), r = ie(), { applySize: u } = se(i, s, e), m = n(() => {
|
|
1392
1403
|
const k = {}, x = r.value.type;
|
|
1393
1404
|
return o === "page" ? x === "common" ? u(k) : console.assert(!1) : o === "comp" && x === "common" ? u(k) : console.assert(!1), k;
|
|
1394
|
-
}), p = n(() => e.node.settings?.disabled), a = n(() => e.node.settings?.hideCanvas),
|
|
1405
|
+
}), p = n(() => e.node.settings?.disabled), a = n(() => e.node.settings?.hideCanvas), d = n(() => e.node.settings?.hideHeader), c = n(() => e.node.settings?.hideInputs), b = n(() => e.node.settings?.hideSliders), y = n(() => e.node.settings?.landscape), f = n(() => e.node.settings?.showSwatches), _ = n(() => l.value ? "dark" : "light");
|
|
1395
1406
|
return (k, x) => {
|
|
1396
1407
|
const h = A("v-color-picker");
|
|
1397
1408
|
return V(), z(h, {
|
|
1398
1409
|
disabled: p.value,
|
|
1399
1410
|
"hide-canvas": a.value,
|
|
1400
|
-
"hide-header":
|
|
1401
|
-
"hide-inputs":
|
|
1411
|
+
"hide-header": d.value,
|
|
1412
|
+
"hide-inputs": c.value,
|
|
1402
1413
|
"hide-sliders": b.value,
|
|
1403
1414
|
landscape: y.value,
|
|
1404
1415
|
"show-swatches": f.value,
|
|
1405
|
-
style: ue(
|
|
1416
|
+
style: ue(m.value),
|
|
1406
1417
|
theme: _.value
|
|
1407
1418
|
}, null, 8, ["disabled", "hide-canvas", "hide-header", "hide-inputs", "hide-sliders", "landscape", "show-swatches", "style", "theme"]);
|
|
1408
1419
|
};
|
|
@@ -1414,8 +1425,8 @@ const qs = /* @__PURE__ */ be(Us, [["render", Zs]]), Xs = /* @__PURE__ */ T({
|
|
|
1414
1425
|
outer: { type: Boolean }
|
|
1415
1426
|
},
|
|
1416
1427
|
setup(t) {
|
|
1417
|
-
const e = t, i = F(), s = B(), l = n(() => e.node.settings?.hideDetails), o = n(() => e.node.settings?.label), r = n(() => e.node.settings?.value), u = n(() => e.node.settings?.placeholder),
|
|
1418
|
-
return (
|
|
1428
|
+
const e = t, i = F(), s = B(), l = n(() => e.node.settings?.hideDetails), o = n(() => e.node.settings?.label), r = n(() => e.node.settings?.value), u = n(() => e.node.settings?.placeholder), m = n(() => i !== "runtime" && i !== "preview" ? !0 : e.node.settings?.readonly), p = n(() => e.node.settings?.singleLine), a = n(() => s.value ? "dark" : "light");
|
|
1429
|
+
return (d, c) => {
|
|
1419
1430
|
const b = A("v-combobox");
|
|
1420
1431
|
return D(i) === "editor" ? (V(), q("div", nl, [
|
|
1421
1432
|
Z(b, {
|
|
@@ -1423,7 +1434,7 @@ const qs = /* @__PURE__ */ be(Us, [["render", Zs]]), Xs = /* @__PURE__ */ T({
|
|
|
1423
1434
|
label: o.value,
|
|
1424
1435
|
"model-value": r.value,
|
|
1425
1436
|
placeholder: u.value,
|
|
1426
|
-
readonly:
|
|
1437
|
+
readonly: m.value,
|
|
1427
1438
|
"single-line": p.value,
|
|
1428
1439
|
theme: a.value
|
|
1429
1440
|
}, null, 8, ["hide-details", "label", "model-value", "placeholder", "readonly", "single-line", "theme"])
|
|
@@ -1433,7 +1444,7 @@ const qs = /* @__PURE__ */ be(Us, [["render", Zs]]), Xs = /* @__PURE__ */ T({
|
|
|
1433
1444
|
label: o.value,
|
|
1434
1445
|
"model-value": r.value,
|
|
1435
1446
|
placeholder: u.value,
|
|
1436
|
-
readonly:
|
|
1447
|
+
readonly: m.value,
|
|
1437
1448
|
"single-line": p.value,
|
|
1438
1449
|
theme: a.value
|
|
1439
1450
|
}, null, 8, ["hide-details", "label", "model-value", "placeholder", "readonly", "single-line", "theme"]));
|
|
@@ -1446,9 +1457,9 @@ const qs = /* @__PURE__ */ be(Us, [["render", Zs]]), Xs = /* @__PURE__ */ T({
|
|
|
1446
1457
|
outer: { type: Boolean }
|
|
1447
1458
|
},
|
|
1448
1459
|
setup(t) {
|
|
1449
|
-
const e = t, i = F(), s = te(), l = B(), o = ne(), r = ie(), u = n(() => e.node.settings?.backgroundColor), { color:
|
|
1460
|
+
const e = t, i = F(), s = te(), l = B(), o = ne(), r = ie(), u = n(() => e.node.settings?.backgroundColor), { color: m } = j(l, u), { applySize: p } = se(i, s, e), { applyMargin: a } = Zt(e), { applyPadding: d } = qt(e), { applyBorder: c } = Ut(l, e), b = n(() => {
|
|
1450
1461
|
const y = {}, f = r.value.type;
|
|
1451
|
-
return o === "page" ? f === "common" ? (p(y), a(y),
|
|
1462
|
+
return o === "page" ? f === "common" ? (p(y), a(y), d(y), c(y), m.value && (y.backgroundColor = m.value)) : console.assert(!1) : o === "comp" && f === "common" ? (p(y), a(y), d(y), c(y), m.value && (y.backgroundColor = m.value)) : console.assert(!1), y;
|
|
1452
1463
|
});
|
|
1453
1464
|
return (y, f) => (V(), q("div", {
|
|
1454
1465
|
style: ue(b.value)
|
|
@@ -1463,10 +1474,10 @@ const qs = /* @__PURE__ */ be(Us, [["render", Zs]]), Xs = /* @__PURE__ */ T({
|
|
|
1463
1474
|
outer: { type: Boolean }
|
|
1464
1475
|
},
|
|
1465
1476
|
setup(t) {
|
|
1466
|
-
const e = t, i = B(), s = n(() => e.node.settings?.density), l = n(() => e.node.settings?.fixedFooter), o = n(() => e.node.settings?.fixedHeader), r = n(() => e.node.settings?.headers), u = n(() => e.node.size?.height),
|
|
1477
|
+
const e = t, i = B(), s = n(() => e.node.settings?.density), l = n(() => e.node.settings?.fixedFooter), o = n(() => e.node.settings?.fixedHeader), r = n(() => e.node.settings?.headers), u = n(() => e.node.size?.height), m = n(() => e.node.settings?.hover), p = n(() => {
|
|
1467
1478
|
const f = e.node.settings?.data;
|
|
1468
1479
|
return typeof f == "string" ? JSON.parse(f) : f;
|
|
1469
|
-
}), a = n(() => e.node.settings?.loading),
|
|
1480
|
+
}), a = n(() => e.node.settings?.loading), d = n(() => e.node.settings?.multiSort), c = n(() => i.value ? "dark" : "light"), b = n(() => e.node.size?.width), y = n(() => {
|
|
1470
1481
|
const f = [];
|
|
1471
1482
|
return (e.node.slots?.items ?? []).forEach((k) => {
|
|
1472
1483
|
k.column && k.comp && f.push(k);
|
|
@@ -1480,11 +1491,11 @@ const qs = /* @__PURE__ */ be(Us, [["render", Zs]]), Xs = /* @__PURE__ */ T({
|
|
|
1480
1491
|
"fixed-header": o.value,
|
|
1481
1492
|
headers: r.value,
|
|
1482
1493
|
height: u.value,
|
|
1483
|
-
hover:
|
|
1494
|
+
hover: m.value,
|
|
1484
1495
|
items: p.value,
|
|
1485
1496
|
loading: a.value,
|
|
1486
|
-
"multi-sort":
|
|
1487
|
-
theme:
|
|
1497
|
+
"multi-sort": d.value,
|
|
1498
|
+
theme: c.value,
|
|
1488
1499
|
width: b.value
|
|
1489
1500
|
}, we({ _: 2 }, [
|
|
1490
1501
|
Yi(y.value, (x) => ({
|
|
@@ -1517,11 +1528,11 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1517
1528
|
return;
|
|
1518
1529
|
const { name: p } = u;
|
|
1519
1530
|
p === "open" ? o.value = !0 : p === "close" && (o.value = !1);
|
|
1520
|
-
}), (u,
|
|
1531
|
+
}), (u, m) => {
|
|
1521
1532
|
const p = A("v-dialog");
|
|
1522
1533
|
return V(), z(p, {
|
|
1523
1534
|
modelValue: D(o),
|
|
1524
|
-
"onUpdate:modelValue":
|
|
1535
|
+
"onUpdate:modelValue": m[0] || (m[0] = (a) => si(o) ? o.value = a : null),
|
|
1525
1536
|
attach: "#dialogContainer"
|
|
1526
1537
|
}, {
|
|
1527
1538
|
activator: W(() => [
|
|
@@ -1544,7 +1555,7 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1544
1555
|
outer: { type: Boolean }
|
|
1545
1556
|
},
|
|
1546
1557
|
setup(t) {
|
|
1547
|
-
const e = t, i = F(), s = n(() => e.node.settings?.chips), l = n(() => e.node.settings?.density), o = n(() => e.node.settings?.direction), r = n(() => e.node.settings?.disabled), u = n(() => e.node.settings?.label),
|
|
1558
|
+
const e = t, i = F(), s = n(() => e.node.settings?.chips), l = n(() => e.node.settings?.density), o = n(() => e.node.settings?.direction), r = n(() => e.node.settings?.disabled), u = n(() => e.node.settings?.label), m = n(() => e.node.settings?.loading), p = n(() => e.node.settings?.multiple), a = n(() => i !== "runtime" && i !== "preview" ? !0 : e.node.settings?.readonly), d = n(() => e.node.settings?.reverse), c = n(() => e.node.settings?.singleLine);
|
|
1548
1559
|
return (b, y) => {
|
|
1549
1560
|
const f = A("v-file-input");
|
|
1550
1561
|
return V(), z(f, {
|
|
@@ -1553,11 +1564,11 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1553
1564
|
direction: o.value,
|
|
1554
1565
|
disabled: r.value,
|
|
1555
1566
|
label: u.value,
|
|
1556
|
-
loading:
|
|
1567
|
+
loading: m.value,
|
|
1557
1568
|
multiple: p.value,
|
|
1558
1569
|
readonly: a.value,
|
|
1559
|
-
reverse:
|
|
1560
|
-
"single-line":
|
|
1570
|
+
reverse: d.value,
|
|
1571
|
+
"single-line": c.value
|
|
1561
1572
|
}, null, 8, ["chips", "density", "direction", "disabled", "label", "loading", "multiple", "readonly", "reverse", "single-line"]);
|
|
1562
1573
|
};
|
|
1563
1574
|
}
|
|
@@ -1568,8 +1579,8 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1568
1579
|
outer: { type: Boolean }
|
|
1569
1580
|
},
|
|
1570
1581
|
setup(t) {
|
|
1571
|
-
const e = t, i = F(), s = te(), l = B(), o = ne(), r = ie(), { applySize: u } = se(i, s, e), { applyMargin:
|
|
1572
|
-
|
|
1582
|
+
const e = t, i = F(), s = te(), l = B(), o = ne(), r = ie(), { applySize: u } = se(i, s, e), { applyMargin: m } = Zt(e), { applyPadding: p } = qt(e), { applyBorder: a } = Ut(l, e), d = n(() => e.node.settings?.backgroundColor), { color: c } = j(l, d), b = (f) => {
|
|
1583
|
+
c.value && (f.backgroundColor = c.value), f.display = "flex";
|
|
1573
1584
|
const _ = ki(s.value.width), k = ve(_, e.node.settings?.direction);
|
|
1574
1585
|
k === "row" ? f.flexDirection = "row" : k === "rowReverse" ? f.flexDirection = "row-reverse" : k === "column" ? f.flexDirection = "column" : k === "columnReverse" && (f.flexDirection = "column-reverse");
|
|
1575
1586
|
const x = ve(_, e.node.settings?.wrap);
|
|
@@ -1580,7 +1591,7 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1580
1591
|
w === "start" ? f.alignItems = "flex-start" : w === "end" ? f.alignItems = "flex-end" : w === "center" ? f.alignItems = "center" : w === "baseline" ? f.alignItems = "baseline" : w === "stretch" && (f.alignItems = "stretch");
|
|
1581
1592
|
}, y = n(() => {
|
|
1582
1593
|
const f = {}, _ = r.value.type;
|
|
1583
|
-
return o === "page" ? _ === "common" ? (u(f),
|
|
1594
|
+
return o === "page" ? _ === "common" ? (u(f), m(f), p(f), a(f), b(f)) : console.assert(!1) : o === "comp" && _ === "common" ? (u(f), m(f), p(f), a(f), b(f)) : console.assert(!1), f;
|
|
1584
1595
|
});
|
|
1585
1596
|
return (f, _) => (V(), q("div", {
|
|
1586
1597
|
style: ue(y.value)
|
|
@@ -1595,11 +1606,11 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1595
1606
|
outer: { type: Boolean }
|
|
1596
1607
|
},
|
|
1597
1608
|
setup(t) {
|
|
1598
|
-
const e = t, i = F(), s = te(), l = ne(), o = ie(), { applySize: r } = se(i, s, e), u = n(() => e.node.settings?.grow),
|
|
1599
|
-
const a = {},
|
|
1600
|
-
return l === "page" ?
|
|
1609
|
+
const e = t, i = F(), s = te(), l = ne(), o = ie(), { applySize: r } = se(i, s, e), u = n(() => e.node.settings?.grow), m = n(() => e.node.settings?.shrink), p = n(() => {
|
|
1610
|
+
const a = {}, d = o.value.type;
|
|
1611
|
+
return l === "page" ? d === "common" ? (r(a), a.flexGrow = u.value ? 1 : 0, a.flexShrink = m.value ? 1 : 0) : console.assert(!1) : l === "comp" && d === "common" ? (r(a), a.flexGrow = u.value ? 1 : 0, a.flexShrink = m.value ? 1 : 0) : console.assert(!1), a;
|
|
1601
1612
|
});
|
|
1602
|
-
return (a,
|
|
1613
|
+
return (a, d) => (V(), q("div", {
|
|
1603
1614
|
style: ue(p.value)
|
|
1604
1615
|
}, [
|
|
1605
1616
|
M(a.$slots, "default")
|
|
@@ -1612,14 +1623,14 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1612
1623
|
outer: { type: Boolean }
|
|
1613
1624
|
},
|
|
1614
1625
|
setup(t) {
|
|
1615
|
-
const e = t, i = F(), s = te(), l = B(), o = ne(), r = ie(), u = Te(),
|
|
1626
|
+
const e = t, i = F(), s = te(), l = B(), o = ne(), r = ie(), u = Te(), m = n({
|
|
1616
1627
|
get: () => e.node.settings?.valid,
|
|
1617
1628
|
set: (x) => {
|
|
1618
1629
|
e.node.settings && (e.node.settings.valid = !!x);
|
|
1619
1630
|
}
|
|
1620
|
-
}), p = n(() => e.node.settings?.fastFail), { applySize: a } = se(i, s, e), { applyMargin:
|
|
1631
|
+
}), p = n(() => e.node.settings?.fastFail), { applySize: a } = se(i, s, e), { applyMargin: d } = Zt(e), { applyPadding: c } = qt(e), { applyBorder: b } = Ut(l, e), y = n(() => e.node.settings?.backgroundColor), { color: f } = j(l, y), _ = n(() => {
|
|
1621
1632
|
const x = {}, h = r.value.type;
|
|
1622
|
-
return o === "page" ? h === "common" ? (a(x),
|
|
1633
|
+
return o === "page" ? h === "common" ? (a(x), d(x), c(x), b(x), f.value && (x.backgroundColor = f.value)) : console.assert(!1) : o === "comp" && h === "common" ? (a(x), d(x), c(x), b(x), f.value && (x.backgroundColor = f.value)) : console.assert(!1), x;
|
|
1623
1634
|
}), k = () => {
|
|
1624
1635
|
if (i !== "runtime" && i !== "preview")
|
|
1625
1636
|
return;
|
|
@@ -1632,8 +1643,8 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1632
1643
|
return (x, h) => {
|
|
1633
1644
|
const w = A("v-form");
|
|
1634
1645
|
return V(), z(w, {
|
|
1635
|
-
modelValue:
|
|
1636
|
-
"onUpdate:modelValue": h[0] || (h[0] = (g) =>
|
|
1646
|
+
modelValue: m.value,
|
|
1647
|
+
"onUpdate:modelValue": h[0] || (h[0] = (g) => m.value = g),
|
|
1637
1648
|
"fast-fail": p.value,
|
|
1638
1649
|
style: ue(_.value),
|
|
1639
1650
|
onSubmit: Ji(k, ["prevent"])
|
|
@@ -1652,15 +1663,15 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1652
1663
|
outer: { type: Boolean }
|
|
1653
1664
|
},
|
|
1654
1665
|
setup(t) {
|
|
1655
|
-
const e = t, i = B(), s = n(() => e.node.settings?.color), { color: l } = j(i, s), o = n(() => e.node.settings?.disabled), r = n(() => e.node.settings?.icon), u = n(() => e.node.settings?.size),
|
|
1666
|
+
const e = t, i = B(), s = n(() => e.node.settings?.color), { color: l } = j(i, s), o = n(() => e.node.settings?.disabled), r = n(() => e.node.settings?.icon), u = n(() => e.node.settings?.size), m = n(() => i.value ? "dark" : "light");
|
|
1656
1667
|
return (p, a) => {
|
|
1657
|
-
const
|
|
1658
|
-
return V(), z(
|
|
1668
|
+
const d = A("v-icon");
|
|
1669
|
+
return V(), z(d, {
|
|
1659
1670
|
color: D(l),
|
|
1660
1671
|
disabled: o.value,
|
|
1661
1672
|
icon: r.value,
|
|
1662
1673
|
size: u.value,
|
|
1663
|
-
theme:
|
|
1674
|
+
theme: m.value
|
|
1664
1675
|
}, null, 8, ["color", "disabled", "icon", "size", "theme"]);
|
|
1665
1676
|
};
|
|
1666
1677
|
}
|
|
@@ -1671,20 +1682,20 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1671
1682
|
outer: { type: Boolean }
|
|
1672
1683
|
},
|
|
1673
1684
|
setup(t) {
|
|
1674
|
-
const e = t, i = F(), s = Te(), l = ce(0), o = ce(0), r = n(() => [l.value, o.value]), u = n(() => e.node.basic?.id), { open:
|
|
1685
|
+
const e = t, i = F(), s = Te(), l = ce(0), o = ce(0), r = n(() => [l.value, o.value]), u = n(() => e.node.basic?.id), { open: m } = di(`runtimeMenu/${oi()}`);
|
|
1675
1686
|
return Ei(s, e, (a) => {
|
|
1676
1687
|
if (i !== "runtime" && i !== "preview")
|
|
1677
1688
|
return;
|
|
1678
|
-
const
|
|
1679
|
-
if (!
|
|
1689
|
+
const d = s.interpreter;
|
|
1690
|
+
if (!d)
|
|
1680
1691
|
return;
|
|
1681
|
-
const { name:
|
|
1682
|
-
|
|
1683
|
-
}), (a,
|
|
1684
|
-
const
|
|
1685
|
-
return V(), z(
|
|
1686
|
-
modelValue: D(
|
|
1687
|
-
"onUpdate:modelValue":
|
|
1692
|
+
const { name: c } = a;
|
|
1693
|
+
c === "open" ? (l.value = d.getProperty(d.globalObject, "__pointerPosX__"), o.value = d.getProperty(d.globalObject, "__pointerPosY__"), m.value = !0) : c === "close" && (m.value = !1);
|
|
1694
|
+
}), (a, d) => {
|
|
1695
|
+
const c = A("v-menu");
|
|
1696
|
+
return V(), z(c, {
|
|
1697
|
+
modelValue: D(m),
|
|
1698
|
+
"onUpdate:modelValue": d[0] || (d[0] = (b) => si(m) ? m.value = b : null),
|
|
1688
1699
|
attach: "menuContainer",
|
|
1689
1700
|
"location-strategy": "connected",
|
|
1690
1701
|
scrim: "transparent",
|
|
@@ -1710,7 +1721,7 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1710
1721
|
outer: { type: Boolean }
|
|
1711
1722
|
},
|
|
1712
1723
|
setup(t) {
|
|
1713
|
-
const e = t, i = F(), s = B(), l = n(() => e.node.settings?.addIcon?.append), o = n(() => e.node.settings?.addIcon?.appendInner), r = n(() => e.node.settings?.clearable), u = n(() => e.node.settings?.hideDetails),
|
|
1724
|
+
const e = t, i = F(), s = B(), l = n(() => e.node.settings?.addIcon?.append), o = n(() => e.node.settings?.addIcon?.appendInner), r = n(() => e.node.settings?.clearable), u = n(() => e.node.settings?.hideDetails), m = n(() => e.node.settings?.label), p = n(() => e.node.settings?.loading), a = n(() => e.node.settings?.max), d = n(() => e.node.size?.maxWidth), c = n(() => e.node.settings?.min), b = n(() => e.node.size?.minWidth), y = n(() => e.node.settings?.value), f = n(() => e.node.settings?.placeholder), _ = n(() => e.node.settings?.precision), k = n(() => e.node.settings?.prefix), x = n(() => e.node.settings?.addIcon?.prepend), h = n(() => e.node.settings?.addIcon?.prependInner), w = n(() => i !== "runtime" && i !== "preview" ? !0 : e.node.settings?.readonly), g = n(() => e.node.settings?.reverse), $ = n(() => e.node.settings?.singleLine), S = n(() => e.node.settings?.step), P = n(() => e.node.settings?.suffix), C = n(() => s.value ? "dark" : "light"), G = n(() => e.node.settings?.variant), Y = n(() => e.node.size?.width);
|
|
1714
1725
|
return (K, X) => {
|
|
1715
1726
|
const oe = A("v-number-input");
|
|
1716
1727
|
return V(), z(oe, {
|
|
@@ -1718,11 +1729,11 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1718
1729
|
"append-inner-icon": o.value,
|
|
1719
1730
|
clearable: r.value,
|
|
1720
1731
|
"hide-details": u.value,
|
|
1721
|
-
label:
|
|
1732
|
+
label: m.value,
|
|
1722
1733
|
loading: p.value,
|
|
1723
1734
|
max: a.value,
|
|
1724
|
-
"max-width":
|
|
1725
|
-
min:
|
|
1735
|
+
"max-width": d.value,
|
|
1736
|
+
min: c.value,
|
|
1726
1737
|
"min-width": b.value,
|
|
1727
1738
|
"model-value": y.value,
|
|
1728
1739
|
placeholder: f.value,
|
|
@@ -1748,7 +1759,7 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1748
1759
|
outer: { type: Boolean }
|
|
1749
1760
|
},
|
|
1750
1761
|
setup(t) {
|
|
1751
|
-
const e = t, i = B(), s = n(() => e.node.settings?.density), l = n(() => e.node.settings?.disabled), o = n(() => e.node.settings?.length), r = n(() => e.node.settings?.value), u = n(() => e.node.settings?.showFirstLastPage),
|
|
1762
|
+
const e = t, i = B(), s = n(() => e.node.settings?.density), l = n(() => e.node.settings?.disabled), o = n(() => e.node.settings?.length), r = n(() => e.node.settings?.value), u = n(() => e.node.settings?.showFirstLastPage), m = n(() => e.node.settings?.size), p = n(() => e.node.settings?.start), a = n(() => i.value ? "dark" : "light"), d = n(() => e.node.settings?.tile), c = n(() => e.node.settings?.variant);
|
|
1752
1763
|
return (b, y) => {
|
|
1753
1764
|
const f = A("v-pagination");
|
|
1754
1765
|
return V(), z(f, {
|
|
@@ -1757,11 +1768,11 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1757
1768
|
length: o.value,
|
|
1758
1769
|
"model-value": r.value,
|
|
1759
1770
|
"show-first-last-page": u.value,
|
|
1760
|
-
size:
|
|
1771
|
+
size: m.value,
|
|
1761
1772
|
start: p.value,
|
|
1762
1773
|
theme: a.value,
|
|
1763
|
-
tile:
|
|
1764
|
-
variant:
|
|
1774
|
+
tile: d.value,
|
|
1775
|
+
variant: c.value
|
|
1765
1776
|
}, null, 8, ["density", "disabled", "length", "model-value", "show-first-last-page", "size", "start", "theme", "tile", "variant"]);
|
|
1766
1777
|
};
|
|
1767
1778
|
}
|
|
@@ -1772,15 +1783,15 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1772
1783
|
outer: { type: Boolean }
|
|
1773
1784
|
},
|
|
1774
1785
|
setup(t) {
|
|
1775
|
-
const e = t, i = B(), s = n(() => e.node.settings?.color), { color: l } = j(i, s), o = n(() => e.node.settings?.density), r = n(() => e.node.settings?.disabled), u = n(() => e.node.settings?.label),
|
|
1776
|
-
return (
|
|
1786
|
+
const e = t, i = B(), s = n(() => e.node.settings?.color), { color: l } = j(i, s), o = n(() => e.node.settings?.density), r = n(() => e.node.settings?.disabled), u = n(() => e.node.settings?.label), m = n(() => e.node.settings?.readonly), p = n(() => i.value ? "dark" : "light"), a = n(() => e.node.settings?.value);
|
|
1787
|
+
return (d, c) => {
|
|
1777
1788
|
const b = A("v-radio");
|
|
1778
1789
|
return V(), z(b, {
|
|
1779
1790
|
color: D(l),
|
|
1780
1791
|
density: o.value,
|
|
1781
1792
|
disabled: r.value,
|
|
1782
1793
|
label: u.value,
|
|
1783
|
-
readonly:
|
|
1794
|
+
readonly: m.value,
|
|
1784
1795
|
theme: p.value,
|
|
1785
1796
|
value: a.value
|
|
1786
1797
|
}, null, 8, ["color", "density", "disabled", "label", "readonly", "theme", "value"]);
|
|
@@ -1793,8 +1804,8 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1793
1804
|
outer: { type: Boolean }
|
|
1794
1805
|
},
|
|
1795
1806
|
setup(t) {
|
|
1796
|
-
const e = t, i = F(), s = B(), l = n(() => e.node.settings?.density), o = n(() => e.node.settings?.direction), r = n(() => e.node.settings?.disabled), u = n(() => e.node.settings?.inline),
|
|
1797
|
-
return (
|
|
1807
|
+
const e = t, i = F(), s = B(), l = n(() => e.node.settings?.density), o = n(() => e.node.settings?.direction), r = n(() => e.node.settings?.disabled), u = n(() => e.node.settings?.inline), m = n(() => e.node.settings?.value), p = n(() => e.node.settings?.readonly), a = n(() => s.value ? "dark" : "light");
|
|
1808
|
+
return (d, c) => {
|
|
1798
1809
|
const b = A("v-radio-group");
|
|
1799
1810
|
return D(i) === "editor" ? (V(), q("div", kl, [
|
|
1800
1811
|
Z(b, {
|
|
@@ -1802,12 +1813,12 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1802
1813
|
direction: o.value,
|
|
1803
1814
|
disabled: r.value,
|
|
1804
1815
|
inline: u.value,
|
|
1805
|
-
"model-value":
|
|
1816
|
+
"model-value": m.value,
|
|
1806
1817
|
readonly: p.value,
|
|
1807
1818
|
theme: a.value
|
|
1808
1819
|
}, {
|
|
1809
1820
|
default: W(() => [
|
|
1810
|
-
M(
|
|
1821
|
+
M(d.$slots, "default")
|
|
1811
1822
|
]),
|
|
1812
1823
|
_: 3
|
|
1813
1824
|
}, 8, ["density", "direction", "disabled", "inline", "model-value", "readonly", "theme"])
|
|
@@ -1817,12 +1828,12 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1817
1828
|
direction: o.value,
|
|
1818
1829
|
disabled: r.value,
|
|
1819
1830
|
inline: u.value,
|
|
1820
|
-
"model-value":
|
|
1831
|
+
"model-value": m.value,
|
|
1821
1832
|
readonly: p.value,
|
|
1822
1833
|
theme: a.value
|
|
1823
1834
|
}, {
|
|
1824
1835
|
default: W(() => [
|
|
1825
|
-
M(
|
|
1836
|
+
M(d.$slots, "default")
|
|
1826
1837
|
]),
|
|
1827
1838
|
_: 3
|
|
1828
1839
|
}, 8, ["density", "direction", "disabled", "inline", "model-value", "readonly", "theme"]));
|
|
@@ -1835,15 +1846,15 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1835
1846
|
outer: { type: Boolean }
|
|
1836
1847
|
},
|
|
1837
1848
|
setup(t) {
|
|
1838
|
-
const e = F(), i = B(), s = n(() => t.node.settings?.density), l = n(() => t.node.settings?.direction), o = n(() => t.node.settings?.disabled), r = n(() => t.node.settings?.hideDetails), u = n(() => t.node.settings?.label),
|
|
1849
|
+
const e = F(), i = B(), s = n(() => t.node.settings?.density), l = n(() => t.node.settings?.direction), o = n(() => t.node.settings?.disabled), r = n(() => t.node.settings?.hideDetails), u = n(() => t.node.settings?.label), m = n(() => t.node.settings?.max), p = n(() => t.node.settings?.min), a = n(() => {
|
|
1839
1850
|
const S = t.node.settings?.value?.start, P = t.node.settings?.value?.end;
|
|
1840
1851
|
return [S, P];
|
|
1841
|
-
}),
|
|
1852
|
+
}), d = ([S, P]) => {
|
|
1842
1853
|
if (!t.node.settings?.value)
|
|
1843
1854
|
return;
|
|
1844
1855
|
const { value: C } = t.node.settings;
|
|
1845
1856
|
C.start = S, C.end = P;
|
|
1846
|
-
},
|
|
1857
|
+
}, c = n(() => t.node.settings?.readonly), b = n(() => t.node.settings?.showTicks), y = n(() => {
|
|
1847
1858
|
if (b.value === "always")
|
|
1848
1859
|
return "always";
|
|
1849
1860
|
if (b.value === "show")
|
|
@@ -1871,10 +1882,10 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1871
1882
|
disabled: o.value,
|
|
1872
1883
|
"hide-details": r.value,
|
|
1873
1884
|
label: u.value,
|
|
1874
|
-
max:
|
|
1885
|
+
max: m.value,
|
|
1875
1886
|
min: p.value,
|
|
1876
1887
|
"model-value": a.value,
|
|
1877
|
-
readonly:
|
|
1888
|
+
readonly: c.value,
|
|
1878
1889
|
"show-ticks": y.value,
|
|
1879
1890
|
step: f.value,
|
|
1880
1891
|
theme: _.value,
|
|
@@ -1890,10 +1901,10 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1890
1901
|
disabled: o.value,
|
|
1891
1902
|
"hide-details": r.value,
|
|
1892
1903
|
label: u.value,
|
|
1893
|
-
max:
|
|
1904
|
+
max: m.value,
|
|
1894
1905
|
min: p.value,
|
|
1895
1906
|
"model-value": a.value,
|
|
1896
|
-
readonly:
|
|
1907
|
+
readonly: c.value,
|
|
1897
1908
|
"show-ticks": y.value,
|
|
1898
1909
|
step: f.value,
|
|
1899
1910
|
theme: _.value,
|
|
@@ -1901,7 +1912,7 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1901
1912
|
"thumb-size": h.value,
|
|
1902
1913
|
"tick-size": $.value,
|
|
1903
1914
|
ticks: g.value,
|
|
1904
|
-
"onUpdate:modelValue":
|
|
1915
|
+
"onUpdate:modelValue": d
|
|
1905
1916
|
}, null, 8, ["density", "direction", "disabled", "hide-details", "label", "max", "min", "model-value", "readonly", "show-ticks", "step", "theme", "thumb-label", "thumb-size", "tick-size", "ticks"]));
|
|
1906
1917
|
};
|
|
1907
1918
|
}
|
|
@@ -1912,13 +1923,13 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1912
1923
|
outer: { type: Boolean }
|
|
1913
1924
|
},
|
|
1914
1925
|
setup(t) {
|
|
1915
|
-
const e = B(), i = n(() => t.node.settings?.clearable), s = n(() => t.node.settings?.density), l = n(() => t.node.settings?.disabled), o = n(() => t.node.settings?.halfIncrements), r = n(() => t.node.settings?.hover), u = n(() => t.node.settings?.length),
|
|
1926
|
+
const e = B(), i = n(() => t.node.settings?.clearable), s = n(() => t.node.settings?.density), l = n(() => t.node.settings?.disabled), o = n(() => t.node.settings?.halfIncrements), r = n(() => t.node.settings?.hover), u = n(() => t.node.settings?.length), m = n(() => t.node.settings?.value), p = (c) => {
|
|
1916
1927
|
if (!t.node.settings)
|
|
1917
1928
|
return;
|
|
1918
1929
|
const { settings: b } = t.node;
|
|
1919
|
-
b.value =
|
|
1920
|
-
}, a = n(() => t.node.settings?.readonly),
|
|
1921
|
-
return (
|
|
1930
|
+
b.value = c;
|
|
1931
|
+
}, a = n(() => t.node.settings?.readonly), d = n(() => e.value ? "dark" : "light");
|
|
1932
|
+
return (c, b) => {
|
|
1922
1933
|
const y = A("v-rating");
|
|
1923
1934
|
return V(), z(y, {
|
|
1924
1935
|
clearable: i.value,
|
|
@@ -1927,9 +1938,9 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1927
1938
|
"half-increments": o.value,
|
|
1928
1939
|
hover: r.value,
|
|
1929
1940
|
length: u.value,
|
|
1930
|
-
"model-value":
|
|
1941
|
+
"model-value": m.value,
|
|
1931
1942
|
readonly: a.value,
|
|
1932
|
-
theme:
|
|
1943
|
+
theme: d.value,
|
|
1933
1944
|
"onUpdate:modelValue": p
|
|
1934
1945
|
}, null, 8, ["clearable", "density", "disabled", "half-increments", "hover", "length", "model-value", "readonly", "theme"]);
|
|
1935
1946
|
};
|
|
@@ -1941,8 +1952,8 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1941
1952
|
outer: { type: Boolean }
|
|
1942
1953
|
},
|
|
1943
1954
|
setup(t) {
|
|
1944
|
-
const e = t, i = F(), s = B(), l = n(() => e.node.settings?.hideDetails), o = n(() => e.node.settings?.label), r = n(() => e.node.settings?.value), u = n(() => e.node.settings?.placeholder),
|
|
1945
|
-
return (
|
|
1955
|
+
const e = t, i = F(), s = B(), l = n(() => e.node.settings?.hideDetails), o = n(() => e.node.settings?.label), r = n(() => e.node.settings?.value), u = n(() => e.node.settings?.placeholder), m = n(() => i !== "runtime" && i !== "preview" ? !0 : e.node.settings?.readonly), p = n(() => e.node.settings?.singleLine), a = n(() => s.value ? "dark" : "light");
|
|
1956
|
+
return (d, c) => {
|
|
1946
1957
|
const b = A("v-select");
|
|
1947
1958
|
return D(i) === "editor" ? (V(), q("div", Cl, [
|
|
1948
1959
|
Z(b, {
|
|
@@ -1950,7 +1961,7 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1950
1961
|
label: o.value,
|
|
1951
1962
|
"model-value": r.value,
|
|
1952
1963
|
placeholder: u.value,
|
|
1953
|
-
readonly:
|
|
1964
|
+
readonly: m.value,
|
|
1954
1965
|
"single-line": p.value,
|
|
1955
1966
|
theme: a.value
|
|
1956
1967
|
}, null, 8, ["hide-details", "label", "model-value", "placeholder", "readonly", "single-line", "theme"])
|
|
@@ -1960,7 +1971,7 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1960
1971
|
label: o.value,
|
|
1961
1972
|
"model-value": r.value,
|
|
1962
1973
|
placeholder: u.value,
|
|
1963
|
-
readonly:
|
|
1974
|
+
readonly: m.value,
|
|
1964
1975
|
"single-line": p.value,
|
|
1965
1976
|
theme: a.value
|
|
1966
1977
|
}, null, 8, ["hide-details", "label", "model-value", "placeholder", "readonly", "single-line", "theme"]));
|
|
@@ -1973,7 +1984,7 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
1973
1984
|
outer: { type: Boolean }
|
|
1974
1985
|
},
|
|
1975
1986
|
setup(t) {
|
|
1976
|
-
const e = F(), i = lo(), s = n(() => t.node.settings?.color), { color: l } = j(i, s), o = n(() => t.node.settings?.direction), r = n(() => t.node.settings?.disabled), u = n(() => t.node.settings?.hideDetails),
|
|
1987
|
+
const e = F(), i = lo(), s = n(() => t.node.settings?.color), { color: l } = j(i, s), o = n(() => t.node.settings?.direction), r = n(() => t.node.settings?.disabled), u = n(() => t.node.settings?.hideDetails), m = n(() => t.node.settings?.label), p = n(() => t.node.settings?.max), a = n(() => t.node.settings?.min), d = n(() => t.node.settings?.value), c = n(() => t.node.settings?.readonly), b = n(() => !!t.node.settings?.reverse), y = n(() => t.node.settings?.showTicks), f = n(() => {
|
|
1977
1988
|
if (y.value === "always")
|
|
1978
1989
|
return "always";
|
|
1979
1990
|
if (y.value === "show")
|
|
@@ -2000,11 +2011,11 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
2000
2011
|
direction: o.value,
|
|
2001
2012
|
disabled: r.value,
|
|
2002
2013
|
"hide-details": u.value,
|
|
2003
|
-
label:
|
|
2014
|
+
label: m.value,
|
|
2004
2015
|
max: p.value,
|
|
2005
2016
|
min: a.value,
|
|
2006
|
-
"model-value":
|
|
2007
|
-
readonly:
|
|
2017
|
+
"model-value": d.value,
|
|
2018
|
+
readonly: c.value,
|
|
2008
2019
|
reverse: b.value,
|
|
2009
2020
|
"show-ticks": f.value,
|
|
2010
2021
|
step: _.value,
|
|
@@ -2043,11 +2054,11 @@ const al = /* @__PURE__ */ be(ll, [["render", rl]]), ul = ["id"], dl = /* @__PUR
|
|
|
2043
2054
|
direction: o.value,
|
|
2044
2055
|
disabled: r.value,
|
|
2045
2056
|
"hide-details": u.value,
|
|
2046
|
-
label:
|
|
2057
|
+
label: m.value,
|
|
2047
2058
|
max: p.value,
|
|
2048
2059
|
min: a.value,
|
|
2049
|
-
"model-value":
|
|
2050
|
-
readonly:
|
|
2060
|
+
"model-value": d.value,
|
|
2061
|
+
readonly: c.value,
|
|
2051
2062
|
reverse: b.value,
|
|
2052
2063
|
"show-ticks": f.value,
|
|
2053
2064
|
step: _.value,
|
|
@@ -2166,8 +2177,8 @@ const Bl = /* @__PURE__ */ be(El, [["render", Wl]]), Dl = /* @__PURE__ */ T({
|
|
|
2166
2177
|
outer: { type: Boolean }
|
|
2167
2178
|
},
|
|
2168
2179
|
setup(t) {
|
|
2169
|
-
const e = t, i = F(), s = n(() => e.node.settings?.density), l = n(() => e.node.settings?.direction), o = n(() => e.node.settings?.disabled), r = n(() => e.node.settings?.hideDetails), u = n(() => e.node.settings?.indeterminate),
|
|
2170
|
-
return (
|
|
2180
|
+
const e = t, i = F(), s = n(() => e.node.settings?.density), l = n(() => e.node.settings?.direction), o = n(() => e.node.settings?.disabled), r = n(() => e.node.settings?.hideDetails), u = n(() => e.node.settings?.indeterminate), m = n(() => e.node.settings?.inline), p = n(() => e.node.settings?.inset), a = n(() => e.node.settings?.label), d = n(() => e.node.settings?.loading);
|
|
2181
|
+
return (c, b) => {
|
|
2171
2182
|
const y = A("v-switch");
|
|
2172
2183
|
return D(i) === "editor" ? (V(), q("div", Rl, [
|
|
2173
2184
|
Z(y, {
|
|
@@ -2176,10 +2187,10 @@ const Bl = /* @__PURE__ */ be(El, [["render", Wl]]), Dl = /* @__PURE__ */ T({
|
|
|
2176
2187
|
disabled: o.value,
|
|
2177
2188
|
"hide-details": r.value,
|
|
2178
2189
|
indeterminate: u.value,
|
|
2179
|
-
inline:
|
|
2190
|
+
inline: m.value,
|
|
2180
2191
|
inset: p.value,
|
|
2181
2192
|
label: a.value,
|
|
2182
|
-
loading:
|
|
2193
|
+
loading: d.value
|
|
2183
2194
|
}, null, 8, ["density", "direction", "disabled", "hide-details", "indeterminate", "inline", "inset", "label", "loading"])
|
|
2184
2195
|
])) : (V(), z(y, {
|
|
2185
2196
|
key: 1,
|
|
@@ -2188,10 +2199,10 @@ const Bl = /* @__PURE__ */ be(El, [["render", Wl]]), Dl = /* @__PURE__ */ T({
|
|
|
2188
2199
|
disabled: o.value,
|
|
2189
2200
|
"hide-details": r.value,
|
|
2190
2201
|
indeterminate: u.value,
|
|
2191
|
-
inline:
|
|
2202
|
+
inline: m.value,
|
|
2192
2203
|
inset: p.value,
|
|
2193
2204
|
label: a.value,
|
|
2194
|
-
loading:
|
|
2205
|
+
loading: d.value
|
|
2195
2206
|
}, null, 8, ["density", "direction", "disabled", "hide-details", "indeterminate", "inline", "inset", "label", "loading"]));
|
|
2196
2207
|
};
|
|
2197
2208
|
}
|
|
@@ -2204,8 +2215,8 @@ const Bl = /* @__PURE__ */ be(El, [["render", Wl]]), Dl = /* @__PURE__ */ T({
|
|
|
2204
2215
|
setup(t) {
|
|
2205
2216
|
const e = t, i = B(), s = n(() => e.node.settings?.text), l = n(() => i.value ? "dark" : "light"), o = n(() => e.node.settings?.value);
|
|
2206
2217
|
return (r, u) => {
|
|
2207
|
-
const
|
|
2208
|
-
return V(), z(
|
|
2218
|
+
const m = A("v-tab");
|
|
2219
|
+
return V(), z(m, {
|
|
2209
2220
|
text: s.value,
|
|
2210
2221
|
theme: l.value,
|
|
2211
2222
|
value: o.value
|
|
@@ -2219,18 +2230,18 @@ const Bl = /* @__PURE__ */ be(El, [["render", Wl]]), Dl = /* @__PURE__ */ T({
|
|
|
2219
2230
|
outer: { type: Boolean }
|
|
2220
2231
|
},
|
|
2221
2232
|
setup(t) {
|
|
2222
|
-
const e = t, i = B(), s = n(() => e.node.settings?.alignTabs), l = n(() => e.node.settings?.color?.backgroundColor), { color: o } = j(i, l), r = n(() => e.node.settings?.centerActive), u = n(() => e.node.settings?.color?.selectedColor), { color:
|
|
2233
|
+
const e = t, i = B(), s = n(() => e.node.settings?.alignTabs), l = n(() => e.node.settings?.color?.backgroundColor), { color: o } = j(i, l), r = n(() => e.node.settings?.centerActive), u = n(() => e.node.settings?.color?.selectedColor), { color: m } = j(i, u), p = n(() => e.node.settings?.density), a = n(() => e.node.settings?.direction), d = n(() => e.node.settings?.disabled), c = n(() => e.node.settings?.fixedTabs), b = n(() => e.node.settings?.grow), y = n(() => e.node.settings?.hideSlider), f = n(() => e.node.settings?.items), _ = n(() => e.node.settings?.mandatory), k = n(() => !!e.node.settings?.showArrows), x = n(() => e.node.settings?.color?.sliderColor), { color: h } = j(i, x), w = n(() => e.node.settings?.stacked), g = n(() => i.value ? "dark" : "light");
|
|
2223
2234
|
return ($, S) => {
|
|
2224
2235
|
const P = A("v-tabs");
|
|
2225
2236
|
return V(), z(P, {
|
|
2226
2237
|
"align-tabs": s.value,
|
|
2227
2238
|
"bg-color": D(o),
|
|
2228
2239
|
"center-active": r.value,
|
|
2229
|
-
color: D(
|
|
2240
|
+
color: D(m),
|
|
2230
2241
|
density: p.value,
|
|
2231
2242
|
direction: a.value,
|
|
2232
|
-
disabled:
|
|
2233
|
-
"fixed-tabs":
|
|
2243
|
+
disabled: d.value,
|
|
2244
|
+
"fixed-tabs": c.value,
|
|
2234
2245
|
grow: b.value,
|
|
2235
2246
|
"hide-slider": y.value,
|
|
2236
2247
|
items: f.value,
|
|
@@ -2254,11 +2265,11 @@ const Bl = /* @__PURE__ */ be(El, [["render", Wl]]), Dl = /* @__PURE__ */ T({
|
|
|
2254
2265
|
outer: { type: Boolean }
|
|
2255
2266
|
},
|
|
2256
2267
|
setup(t) {
|
|
2257
|
-
const e = t, i = te(), s = n(() => e.node.settings?.align), l = n(() => e.node.settings?.decoration), o = n(() => e.node.settings?.emphasis), r = n(() => e.node.settings?.italic), u = n(() => e.node.settings?.text),
|
|
2258
|
-
const a = [],
|
|
2259
|
-
return
|
|
2268
|
+
const e = t, i = te(), s = n(() => e.node.settings?.align), l = n(() => e.node.settings?.decoration), o = n(() => e.node.settings?.emphasis), r = n(() => e.node.settings?.italic), u = n(() => e.node.settings?.text), m = n(() => e.node.settings?.weight), p = n(() => {
|
|
2269
|
+
const a = [], d = ki(i.value.width), c = ve(d, e.node.settings?.style);
|
|
2270
|
+
return c && a.push(`text-${c}`), o.value === "high" ? a.push("text-high-emphasis") : o.value === "medium" ? a.push("text-medium-emphasis") : o.value === "disabled" && a.push("text-disabled"), s.value && a.push(`font-${s.value}`), l.value && a.push(`text-decoration-${l.value}`), m.value && a.push(`font-weight-${m.value}`), r.value && a.push("font-italic"), a.join(" ");
|
|
2260
2271
|
});
|
|
2261
|
-
return (a,
|
|
2272
|
+
return (a, d) => (V(), q("span", {
|
|
2262
2273
|
class: Qi(p.value)
|
|
2263
2274
|
}, eo(u.value), 3));
|
|
2264
2275
|
}
|
|
@@ -2269,7 +2280,7 @@ const Bl = /* @__PURE__ */ be(El, [["render", Wl]]), Dl = /* @__PURE__ */ T({
|
|
|
2269
2280
|
outer: { type: Boolean }
|
|
2270
2281
|
},
|
|
2271
2282
|
setup(t) {
|
|
2272
|
-
const e = t, i = B(), s = n(() => e.node.settings?.autoGrow), l = n(() => e.node.settings?.clearable), o = n(() => e.node.settings?.density), r = n(() => e.node.settings?.disabled), u = n(() => e.node.settings?.label),
|
|
2283
|
+
const e = t, i = B(), s = n(() => e.node.settings?.autoGrow), l = n(() => e.node.settings?.clearable), o = n(() => e.node.settings?.density), r = n(() => e.node.settings?.disabled), u = n(() => e.node.settings?.label), m = n(() => e.node.settings?.loading), p = n(() => e.node.settings?.maxRows), a = n(() => e.node.settings?.value), d = n(() => e.node.settings?.placeholder), c = n(() => e.node.settings?.readonly), b = n(() => e.node.settings?.reverse), y = n(() => e.node.settings?.rows), f = n(() => e.node.settings?.singleLine), _ = n(() => i.value ? "dark" : "light"), k = n(() => e.node.settings?.variant);
|
|
2273
2284
|
return (x, h) => {
|
|
2274
2285
|
const w = A("v-textarea");
|
|
2275
2286
|
return V(), z(w, {
|
|
@@ -2278,11 +2289,11 @@ const Bl = /* @__PURE__ */ be(El, [["render", Wl]]), Dl = /* @__PURE__ */ T({
|
|
|
2278
2289
|
density: o.value,
|
|
2279
2290
|
disabled: r.value,
|
|
2280
2291
|
label: u.value,
|
|
2281
|
-
loading:
|
|
2292
|
+
loading: m.value,
|
|
2282
2293
|
"max-rows": p.value,
|
|
2283
2294
|
"model-value": a.value,
|
|
2284
|
-
placeholder:
|
|
2285
|
-
readonly:
|
|
2295
|
+
placeholder: d.value,
|
|
2296
|
+
readonly: c.value,
|
|
2286
2297
|
reverse: b.value,
|
|
2287
2298
|
rows: y.value,
|
|
2288
2299
|
"single-line": f.value,
|
|
@@ -2298,7 +2309,7 @@ const Bl = /* @__PURE__ */ be(El, [["render", Wl]]), Dl = /* @__PURE__ */ T({
|
|
|
2298
2309
|
outer: { type: Boolean }
|
|
2299
2310
|
},
|
|
2300
2311
|
setup(t) {
|
|
2301
|
-
const e = t, i = F(), s = B(), l = n(() => e.node.settings?.appendIcon), o = n(() => e.node.settings?.appendInnerIcon), r = n(() => e.node.settings?.autofocus), u = n(() => e.node.settings?.clearable),
|
|
2312
|
+
const e = t, i = F(), s = B(), l = n(() => e.node.settings?.appendIcon), o = n(() => e.node.settings?.appendInnerIcon), r = n(() => e.node.settings?.autofocus), u = n(() => e.node.settings?.clearable), m = n(() => e.node.settings?.density), p = n(() => e.node.settings?.disabled), a = n(() => e.node.settings?.hideDetails), d = n(() => e.node.settings?.label), c = n(() => e.node.settings?.loading), b = n(() => e.node.settings?.placeholder), y = n(() => e.node.settings?.prefix), f = n(() => e.node.settings?.prependIcon), _ = n(() => e.node.settings?.prependInnerIcon), k = n(() => i !== "runtime" && i !== "preview" ? !0 : e.node.settings?.readonly), x = n(() => e.node.settings?.reverse), h = n(() => e.node.settings?.singleLine), w = n(() => e.node.settings?.suffix), g = n(() => s.value ? "dark" : "light"), $ = n(() => e.node.settings?.variant), S = n(() => e.node.slots?.append), P = n(() => e.node.slots?.appendInner), C = n(() => e.node.slots?.prepend), G = n(() => e.node.slots?.prependInner);
|
|
2302
2313
|
return (Y, K) => {
|
|
2303
2314
|
const X = A("v-text-field");
|
|
2304
2315
|
return V(), z(X, {
|
|
@@ -2306,11 +2317,11 @@ const Bl = /* @__PURE__ */ be(El, [["render", Wl]]), Dl = /* @__PURE__ */ T({
|
|
|
2306
2317
|
"append-inner-icon": o.value,
|
|
2307
2318
|
autofocus: r.value,
|
|
2308
2319
|
clearable: u.value,
|
|
2309
|
-
density:
|
|
2320
|
+
density: m.value,
|
|
2310
2321
|
disabled: p.value,
|
|
2311
2322
|
"hide-details": a.value,
|
|
2312
|
-
label:
|
|
2313
|
-
loading:
|
|
2323
|
+
label: d.value,
|
|
2324
|
+
loading: c.value,
|
|
2314
2325
|
placeholder: b.value,
|
|
2315
2326
|
prefix: y.value,
|
|
2316
2327
|
"prepend-icon": f.value,
|
|
@@ -2372,7 +2383,7 @@ const Bl = /* @__PURE__ */ be(El, [["render", Wl]]), Dl = /* @__PURE__ */ T({
|
|
|
2372
2383
|
outer: { type: Boolean }
|
|
2373
2384
|
},
|
|
2374
2385
|
setup(t) {
|
|
2375
|
-
const e = B(), i = n(() => t.node.settings?.align), s = n(() => t.node.settings?.density), l = n(() => t.node.settings?.direction), o = n(() => t.node.settings?.dot?.color), { color: r } = j(e, o), u = n(() => t.node.settings?.dot?.fill),
|
|
2386
|
+
const e = B(), i = n(() => t.node.settings?.align), s = n(() => t.node.settings?.density), l = n(() => t.node.settings?.direction), o = n(() => t.node.settings?.dot?.color), { color: r } = j(e, o), u = n(() => t.node.settings?.dot?.fill), m = n(() => t.node.settings?.hideOpposite), p = n(() => t.node.settings?.line?.color), { color: a } = j(e, p), d = n(() => t.node.settings?.line?.inset), c = n(() => t.node.settings?.line?.thickness), b = n(() => t.node.settings?.side), y = n(() => e.value ? "dark" : "light"), f = n(() => t.node.settings?.line.truncate);
|
|
2376
2387
|
return (_, k) => {
|
|
2377
2388
|
const x = A("v-timeline");
|
|
2378
2389
|
return V(), z(x, {
|
|
@@ -2381,10 +2392,10 @@ const Bl = /* @__PURE__ */ be(El, [["render", Wl]]), Dl = /* @__PURE__ */ T({
|
|
|
2381
2392
|
direction: l.value,
|
|
2382
2393
|
"dot-color": D(r),
|
|
2383
2394
|
"fill-dot": u.value,
|
|
2384
|
-
"hide-opposite":
|
|
2395
|
+
"hide-opposite": m.value,
|
|
2385
2396
|
"line-color": D(a),
|
|
2386
|
-
"line-inset":
|
|
2387
|
-
"line-thickness":
|
|
2397
|
+
"line-inset": d.value,
|
|
2398
|
+
"line-thickness": c.value,
|
|
2388
2399
|
side: b.value,
|
|
2389
2400
|
theme: y.value,
|
|
2390
2401
|
"truncate-line": f.value
|
|
@@ -2413,17 +2424,17 @@ const ql = /* @__PURE__ */ be(Ul, [["render", Zl]]), Xl = /* @__PURE__ */ T({
|
|
|
2413
2424
|
outer: { type: Boolean }
|
|
2414
2425
|
},
|
|
2415
2426
|
setup(t) {
|
|
2416
|
-
const e = B(), i = n(() => t.node.settings?.continuous), s = n(() => t.node.settings?.disabled), l = n(() => t.node.settings?.direction), o = n(() => t.node.settings?.value), r = n(() => t.node.settings?.reverse), u = n(() => t.node.settings?.showArrows),
|
|
2417
|
-
return (a,
|
|
2418
|
-
const
|
|
2419
|
-
return V(), z(
|
|
2427
|
+
const e = B(), i = n(() => t.node.settings?.continuous), s = n(() => t.node.settings?.disabled), l = n(() => t.node.settings?.direction), o = n(() => t.node.settings?.value), r = n(() => t.node.settings?.reverse), u = n(() => t.node.settings?.showArrows), m = n(() => e.value ? "dark" : "light"), p = n(() => t.node.settings?.touch);
|
|
2428
|
+
return (a, d) => {
|
|
2429
|
+
const c = A("v-window");
|
|
2430
|
+
return V(), z(c, {
|
|
2420
2431
|
continuous: i.value,
|
|
2421
2432
|
direction: l.value,
|
|
2422
2433
|
disabled: s.value,
|
|
2423
2434
|
"model-value": o.value,
|
|
2424
2435
|
reverse: r.value,
|
|
2425
2436
|
"show-arrows": u.value,
|
|
2426
|
-
theme:
|
|
2437
|
+
theme: m.value,
|
|
2427
2438
|
touch: p.value
|
|
2428
2439
|
}, {
|
|
2429
2440
|
default: W(() => [
|
|
@@ -3953,7 +3964,7 @@ function hr(t, e) {
|
|
|
3953
3964
|
gr(t, e)
|
|
3954
3965
|
], o;
|
|
3955
3966
|
}
|
|
3956
|
-
function It(t, e, i, s, l, o, r, u,
|
|
3967
|
+
function It(t, e, i, s, l, o, r, u, m) {
|
|
3957
3968
|
const p = `type=${t} subtype=${e}`, a = E(t, e);
|
|
3958
3969
|
if (!a) {
|
|
3959
3970
|
console.error(
|
|
@@ -3961,13 +3972,13 @@ function It(t, e, i, s, l, o, r, u, d) {
|
|
|
3961
3972
|
);
|
|
3962
3973
|
return;
|
|
3963
3974
|
}
|
|
3964
|
-
const
|
|
3965
|
-
if (!
|
|
3975
|
+
const d = $t.props[a];
|
|
3976
|
+
if (!d) {
|
|
3966
3977
|
console.error(`flexLayoutV1/spawnContainer props not found, ${p}`);
|
|
3967
3978
|
return;
|
|
3968
3979
|
}
|
|
3969
|
-
const
|
|
3970
|
-
return L(
|
|
3980
|
+
const c = {};
|
|
3981
|
+
return L(c, d), c.basic.id = N(16), c.basic.key = $t.key, s && (c.size.width = s), l && (c.size.minWidth = l), r && (c.size.height = r), u && (c.size.minHeight = u), console.log(c), i && (c.settings.backgroundColor.mode = "custom", c.settings.backgroundColor.custom.light = i, c.settings.backgroundColor.custom.dark = i), c.children = [], c;
|
|
3971
3982
|
}
|
|
3972
3983
|
function gr(t, e) {
|
|
3973
3984
|
const i = `type=${t} subtype=${e}`, s = E(t, e);
|