x-prop-tree 0.7.19 → 0.7.21
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 +188 -184
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { provide as ae, inject as ce, defineComponent as E, ref as T, computed as L, resolveComponent as $, createBlock as B, openBlock as _, unref as P, isRef as re, withCtx as R, createVNode as b, createElementBlock as K, Fragment as fe, renderList as Te, createTextVNode as he, toDisplayString as F, resolveDirective as ee, withDirectives as j, withModifiers as X, normalizeStyle as W, createElementVNode as q, createCommentVNode as G, mergeModels as Z, useModel as z, useId as
|
|
1
|
+
import { provide as ae, inject as ce, defineComponent as E, ref as T, computed as L, resolveComponent as $, createBlock as B, openBlock as _, unref as P, isRef as re, withCtx as R, createVNode as b, createElementBlock as K, Fragment as fe, renderList as Te, createTextVNode as he, toDisplayString as F, resolveDirective as ee, withDirectives as j, withModifiers as X, normalizeStyle as W, createElementVNode as q, createCommentVNode as G, mergeModels as Z, useModel as z, useId as $e, onUnmounted as we, mergeProps as Me, withKeys as Le, useTemplateRef as He, watch as oe, watchEffect as Ke, h as k, renderSlot as kt, onMounted as Xe, onBeforeUnmount as Fe, reactive as _t } from "vue";
|
|
2
2
|
import { useI18n as I } from "vue-i18n";
|
|
3
|
-
import { useViewStack as ke, useColor as te, eventBus as de, useSystem as ve, injectDark as
|
|
4
|
-
import { getPropertyDefault as J, pkgs as Ne, parsePixelStr as
|
|
5
|
-
import { c as
|
|
6
|
-
import { useDisplay as
|
|
7
|
-
import { XBlockly as
|
|
8
|
-
import { globalState as
|
|
9
|
-
const
|
|
3
|
+
import { useViewStack as ke, useColor as te, eventBus as de, useSystem as ve, injectDark as xt, injectLocale as St, openNumberDlg as ze, openPromptDlg as Vt, globalObjects as Ct } from "x-essential-lib";
|
|
4
|
+
import { getPropertyDefault as J, pkgs as Ne, parsePixelStr as Ut, parsePercentStr as $t, getPropertyTag as wt, elements as Mt, makeSlotId as Re } from "x-runtime-lib";
|
|
5
|
+
import { c as Ge, i as be, r as _e, v as Ye, d as We } from "./vendor.f0ug048x.js";
|
|
6
|
+
import { useDisplay as Qe } from "vuetify";
|
|
7
|
+
import { XBlockly as bt } from "x-block-lib";
|
|
8
|
+
import { globalState as Ze } from "x-state-lib";
|
|
9
|
+
const Ee = (t) => !(t instanceof Array), Ae = (t) => t instanceof Array, Pt = (t, s) => {
|
|
10
10
|
const n = (e, l) => {
|
|
11
11
|
if (e.ui !== l.ui || e.array !== l.array)
|
|
12
12
|
return !1;
|
|
@@ -80,10 +80,10 @@ const Re = (t) => !(t instanceof Array), Ae = (t) => t instanceof Array, bt = (t
|
|
|
80
80
|
let u = e;
|
|
81
81
|
(s.ui === "switch" || s.ui === "select" || s.ui === "colorPicker" || s.ui === "multiTypes" || s.ui === "compSelect") && (e || (u = void 0)), u !== n[s.key] && (n[s.key] = u, l(t, n[s.key]));
|
|
82
82
|
}
|
|
83
|
-
}, Be = (t) => !(t instanceof Array), Pe = (t) => t instanceof Array,
|
|
83
|
+
}, Be = (t) => !(t instanceof Array), Pe = (t) => t instanceof Array, Dt = [
|
|
84
84
|
["basic", "id"],
|
|
85
85
|
["basic", "name"]
|
|
86
|
-
],
|
|
86
|
+
], At = (t) => Dt.find((s) => be(t, s)), De = (t, s, n, e, l, o, i) => (t = Ge(t), o !== void 0 ? (t.push(o), i && t.push(s.key)) : t.push(s.key), At(t) ? (e.change = !1, e.change) : s.ui ? s.array && e.children && Pe(e.children) ? Nt(
|
|
87
87
|
t,
|
|
88
88
|
s,
|
|
89
89
|
n,
|
|
@@ -91,13 +91,13 @@ const Re = (t) => !(t instanceof Array), Ae = (t) => t instanceof Array, bt = (t
|
|
|
91
91
|
l,
|
|
92
92
|
o,
|
|
93
93
|
i
|
|
94
|
-
) :
|
|
94
|
+
) : Bt(
|
|
95
95
|
s,
|
|
96
96
|
n,
|
|
97
97
|
e,
|
|
98
98
|
o,
|
|
99
99
|
i
|
|
100
|
-
) : s.array ?
|
|
100
|
+
) : s.array ? Tt(
|
|
101
101
|
t,
|
|
102
102
|
s,
|
|
103
103
|
n,
|
|
@@ -105,7 +105,7 @@ const Re = (t) => !(t instanceof Array), Ae = (t) => t instanceof Array, bt = (t
|
|
|
105
105
|
l,
|
|
106
106
|
o,
|
|
107
107
|
i
|
|
108
|
-
) :
|
|
108
|
+
) : Lt(
|
|
109
109
|
t,
|
|
110
110
|
s,
|
|
111
111
|
n,
|
|
@@ -113,7 +113,7 @@ const Re = (t) => !(t instanceof Array), Ae = (t) => t instanceof Array, bt = (t
|
|
|
113
113
|
l,
|
|
114
114
|
o,
|
|
115
115
|
i
|
|
116
|
-
)),
|
|
116
|
+
)), Tt = (t, s, n, e, l, o, i) => {
|
|
117
117
|
if (s.ui)
|
|
118
118
|
return console.assert(!1, "execPropertyBranchArray property ui must be invalid"), !1;
|
|
119
119
|
if (!s.array)
|
|
@@ -154,7 +154,7 @@ const Re = (t) => !(t instanceof Array), Ae = (t) => t instanceof Array, bt = (t
|
|
|
154
154
|
});
|
|
155
155
|
}
|
|
156
156
|
return e.change || (e.change = !be(u, J(s))), e.change;
|
|
157
|
-
},
|
|
157
|
+
}, Lt = (t, s, n, e, l, o, i) => {
|
|
158
158
|
if (s.ui)
|
|
159
159
|
return console.assert(
|
|
160
160
|
!1,
|
|
@@ -177,7 +177,7 @@ const Re = (t) => !(t instanceof Array), Ae = (t) => t instanceof Array, bt = (t
|
|
|
177
177
|
}, De(t, a, u, e.children[a.key], l) && (e.change = !0);
|
|
178
178
|
}
|
|
179
179
|
return e.change;
|
|
180
|
-
},
|
|
180
|
+
}, Nt = (t, s, n, e, l, o, i) => {
|
|
181
181
|
if (!s.ui)
|
|
182
182
|
return console.assert(!1, "execPropertyLeafArray property ui must be valid"), !1;
|
|
183
183
|
if (!s.array)
|
|
@@ -200,12 +200,12 @@ const Re = (t) => !(t instanceof Array), Ae = (t) => t instanceof Array, bt = (t
|
|
|
200
200
|
!1
|
|
201
201
|
) && (e.change = !0);
|
|
202
202
|
return e.change || (e.change = !be(u, J(s))), e.change;
|
|
203
|
-
},
|
|
203
|
+
}, Bt = (t, s, n, e, l) => {
|
|
204
204
|
if (!t.ui)
|
|
205
205
|
return console.assert(!1, "execPropertyLeafScalar property ui must be valid"), !1;
|
|
206
206
|
let o;
|
|
207
207
|
return e !== void 0 && !l ? o = s[e] : o = s[t.key], n.change = !be(o, J(t, !0)), n.change;
|
|
208
|
-
},
|
|
208
|
+
}, Je = (t, s, n, e) => {
|
|
209
209
|
if (s.length <= 0 || !n) {
|
|
210
210
|
t.value = {};
|
|
211
211
|
return;
|
|
@@ -229,41 +229,35 @@ const Re = (t) => !(t instanceof Array), Ae = (t) => t instanceof Array, bt = (t
|
|
|
229
229
|
return console.assert(!1, `isPropChanged state must be valid keys=${s}`), !1;
|
|
230
230
|
typeof e == "string" ? Be(n.children) && (n = n.children[e]) : Pe(n.children) && (n = n.children[e]);
|
|
231
231
|
}), n?.change ?? !1;
|
|
232
|
-
},
|
|
233
|
-
function Bt(t) {
|
|
234
|
-
ae(Ze, t);
|
|
235
|
-
}
|
|
236
|
-
function Oe() {
|
|
237
|
-
return ce(Ze);
|
|
238
|
-
}
|
|
232
|
+
}, je = Symbol(), Ie = Symbol(), et = Symbol(), tt = Symbol(), nt = Symbol(), lt = Symbol(), ot = Symbol();
|
|
239
233
|
function Ot(t) {
|
|
240
234
|
ae(je, t);
|
|
241
235
|
}
|
|
242
|
-
function
|
|
236
|
+
function Oe() {
|
|
243
237
|
return ce(je);
|
|
244
238
|
}
|
|
245
|
-
function
|
|
239
|
+
function qt(t) {
|
|
246
240
|
ae(Ie, t);
|
|
247
241
|
}
|
|
248
|
-
function
|
|
242
|
+
function Kt() {
|
|
249
243
|
return ce(Ie);
|
|
250
244
|
}
|
|
251
|
-
function
|
|
245
|
+
function Rt(t) {
|
|
252
246
|
ae(et, t);
|
|
253
247
|
}
|
|
254
|
-
function
|
|
248
|
+
function Et() {
|
|
255
249
|
return ce(et);
|
|
256
250
|
}
|
|
257
|
-
function
|
|
251
|
+
function Jt(t) {
|
|
258
252
|
ae(tt, t);
|
|
259
253
|
}
|
|
260
|
-
function
|
|
254
|
+
function Ht() {
|
|
261
255
|
return ce(tt);
|
|
262
256
|
}
|
|
263
|
-
function
|
|
257
|
+
function Xt(t) {
|
|
264
258
|
ae(nt, t);
|
|
265
259
|
}
|
|
266
|
-
function
|
|
260
|
+
function Ft() {
|
|
267
261
|
return ce(nt);
|
|
268
262
|
}
|
|
269
263
|
function zt(t) {
|
|
@@ -272,10 +266,16 @@ function zt(t) {
|
|
|
272
266
|
function st() {
|
|
273
267
|
return ce(lt);
|
|
274
268
|
}
|
|
275
|
-
|
|
269
|
+
function Gt(t) {
|
|
270
|
+
ae(ot, t);
|
|
271
|
+
}
|
|
272
|
+
function it() {
|
|
273
|
+
return ce(ot);
|
|
274
|
+
}
|
|
275
|
+
const Yt = /* @__PURE__ */ E({
|
|
276
276
|
__name: "index",
|
|
277
277
|
setup(t) {
|
|
278
|
-
const { t: s } = I(), n =
|
|
278
|
+
const { t: s } = I(), n = Kt(), e = Et(), l = Ht(), o = Ft(), i = T(0), u = T(0), r = T([]), a = L(() => [i.value, u.value]), d = (V) => {
|
|
279
279
|
const D = () => !(r.value.length <= 0 || !me(l.value, r.value)), x = () => {
|
|
280
280
|
const S = Ce(n.value, r.value);
|
|
281
281
|
if (S)
|
|
@@ -330,9 +330,13 @@ const Gt = /* @__PURE__ */ E({
|
|
|
330
330
|
const S = localStorage.getItem("propTreeCopy");
|
|
331
331
|
if (!S)
|
|
332
332
|
return !1;
|
|
333
|
+
console.log(S);
|
|
333
334
|
try {
|
|
334
|
-
const { property: U } = JSON.parse(S)
|
|
335
|
-
|
|
335
|
+
const { property: U } = JSON.parse(S);
|
|
336
|
+
if (!U)
|
|
337
|
+
return !1;
|
|
338
|
+
const O = Ce(n.value, r.value);
|
|
339
|
+
return Pt(U, O);
|
|
336
340
|
} catch (U) {
|
|
337
341
|
console.error(U);
|
|
338
342
|
}
|
|
@@ -394,7 +398,7 @@ const Gt = /* @__PURE__ */ E({
|
|
|
394
398
|
}, 8, ["modelValue", "target"]);
|
|
395
399
|
};
|
|
396
400
|
}
|
|
397
|
-
}),
|
|
401
|
+
}), Wt = { style: { pointerEvents: "none" } }, Ue = /* @__PURE__ */ E({
|
|
398
402
|
__name: "index",
|
|
399
403
|
props: {
|
|
400
404
|
title: {},
|
|
@@ -429,7 +433,7 @@ const Gt = /* @__PURE__ */ E({
|
|
|
429
433
|
class: "mr-1",
|
|
430
434
|
icon: t.collapse ? "mdi-chevron-right" : "mdi-chevron-down"
|
|
431
435
|
}, null, 8, ["icon"]),
|
|
432
|
-
q("span",
|
|
436
|
+
q("span", Wt, F(t.title), 1),
|
|
433
437
|
b(f),
|
|
434
438
|
t.hasCreate ? (_(), B(v, {
|
|
435
439
|
key: 0,
|
|
@@ -452,7 +456,7 @@ const Gt = /* @__PURE__ */ E({
|
|
|
452
456
|
]);
|
|
453
457
|
};
|
|
454
458
|
}
|
|
455
|
-
}),
|
|
459
|
+
}), Qt = { class: "d-flex justify-space-between align-center" }, Zt = /* @__PURE__ */ E({
|
|
456
460
|
__name: "index",
|
|
457
461
|
props: /* @__PURE__ */ Z({
|
|
458
462
|
hasDelete: { type: Boolean, default: !1 },
|
|
@@ -468,7 +472,7 @@ const Gt = /* @__PURE__ */ E({
|
|
|
468
472
|
return t.hasDelete && (r = "calc(100% - 37px)"), {
|
|
469
473
|
width: r
|
|
470
474
|
};
|
|
471
|
-
}), i = L(() => t.readonly), { open: u } = ke(`propTreeColorPickerMenu${
|
|
475
|
+
}), i = L(() => t.readonly), { open: u } = ke(`propTreeColorPickerMenu${$e()}`);
|
|
472
476
|
return we(() => {
|
|
473
477
|
u.value = !1;
|
|
474
478
|
}), (r, a) => {
|
|
@@ -480,7 +484,7 @@ const Gt = /* @__PURE__ */ E({
|
|
|
480
484
|
scrim: "transparent"
|
|
481
485
|
}, {
|
|
482
486
|
activator: R(({ props: v }) => [
|
|
483
|
-
q("div",
|
|
487
|
+
q("div", Qt, [
|
|
484
488
|
q("div", {
|
|
485
489
|
class: "flex-grow-1",
|
|
486
490
|
style: W(o.value)
|
|
@@ -520,7 +524,7 @@ const Gt = /* @__PURE__ */ E({
|
|
|
520
524
|
}, 8, ["modelValue"]);
|
|
521
525
|
};
|
|
522
526
|
}
|
|
523
|
-
}),
|
|
527
|
+
}), jt = { class: "text-subtitle-2 ml-1" }, It = { class: "text-caption text-grey ml-1" }, en = /* @__PURE__ */ E({
|
|
524
528
|
__name: "group",
|
|
525
529
|
props: {
|
|
526
530
|
id: {},
|
|
@@ -549,14 +553,14 @@ const Gt = /* @__PURE__ */ E({
|
|
|
549
553
|
icon: l.collapse ? "mdi-chevron-right" : "mdi-chevron-down",
|
|
550
554
|
size: "small"
|
|
551
555
|
}, null, 8, ["icon"]),
|
|
552
|
-
q("span",
|
|
553
|
-
q("span",
|
|
556
|
+
q("span", jt, F(l.title), 1),
|
|
557
|
+
q("span", It, F(l.count), 1)
|
|
554
558
|
], 36)), [
|
|
555
559
|
[c]
|
|
556
560
|
]);
|
|
557
561
|
};
|
|
558
562
|
}
|
|
559
|
-
}),
|
|
563
|
+
}), tn = { class: "text-subtitle-1 ml-6" }, nn = /* @__PURE__ */ E({
|
|
560
564
|
__name: "item",
|
|
561
565
|
props: {
|
|
562
566
|
id: {},
|
|
@@ -579,16 +583,16 @@ const Gt = /* @__PURE__ */ E({
|
|
|
579
583
|
onMouseout: a[1] || (a[1] = (c) => i.value = !1),
|
|
580
584
|
onMouseover: a[2] || (a[2] = (c) => i.value = !0)
|
|
581
585
|
}, [
|
|
582
|
-
q("span",
|
|
586
|
+
q("span", tn, F(l.title), 1)
|
|
583
587
|
], 36)), [
|
|
584
588
|
[d]
|
|
585
589
|
]);
|
|
586
590
|
};
|
|
587
591
|
}
|
|
588
|
-
}),
|
|
592
|
+
}), ln = { key: 0 }, on = {
|
|
589
593
|
key: 1,
|
|
590
594
|
class: "text-body-2 text-grey ml-3"
|
|
591
|
-
},
|
|
595
|
+
}, sn = /* @__PURE__ */ E({
|
|
592
596
|
__name: "index",
|
|
593
597
|
props: {
|
|
594
598
|
modelValue: {},
|
|
@@ -598,17 +602,17 @@ const Gt = /* @__PURE__ */ E({
|
|
|
598
602
|
},
|
|
599
603
|
emits: ["update:modelValue", "update:open"],
|
|
600
604
|
setup(t) {
|
|
601
|
-
const { t: s } = I(), n = z(t, "modelValue"), e = z(t, "open"), l =
|
|
605
|
+
const { t: s } = I(), n = z(t, "modelValue"), e = z(t, "open"), l = st(), o = (u) => {
|
|
602
606
|
const r = _e(l, u);
|
|
603
|
-
r &&
|
|
607
|
+
r && Ye(l, u, !r.collapse);
|
|
604
608
|
}, i = (u) => {
|
|
605
609
|
n.value = u, e.value = !1, de.emit("refreshDepends");
|
|
606
610
|
};
|
|
607
|
-
return (u, r) => P(l).length > 0 ? (_(), K("div",
|
|
611
|
+
return (u, r) => P(l).length > 0 ? (_(), K("div", ln, [
|
|
608
612
|
(_(!0), K(fe, null, Te(P(l), (a) => (_(), K(fe, {
|
|
609
613
|
key: a.id
|
|
610
614
|
}, [
|
|
611
|
-
a.type === 0 ? (_(), B(
|
|
615
|
+
a.type === 0 ? (_(), B(en, {
|
|
612
616
|
key: 0,
|
|
613
617
|
id: a.id,
|
|
614
618
|
collapse: a.collapse,
|
|
@@ -616,16 +620,16 @@ const Gt = /* @__PURE__ */ E({
|
|
|
616
620
|
title: a.name,
|
|
617
621
|
onXClick: o
|
|
618
622
|
}, null, 8, ["id", "collapse", "count", "title"])) : G("", !0),
|
|
619
|
-
a.type === 1 && a.show ? (_(), B(
|
|
623
|
+
a.type === 1 && a.show ? (_(), B(nn, {
|
|
620
624
|
key: 1,
|
|
621
625
|
id: a.id,
|
|
622
626
|
title: a.name,
|
|
623
627
|
onXClick: i
|
|
624
628
|
}, null, 8, ["id", "title"])) : G("", !0)
|
|
625
629
|
], 64))), 128))
|
|
626
|
-
])) : (_(), K("div",
|
|
630
|
+
])) : (_(), K("div", on, F(P(s)("x-prop-tree.noComp")), 1));
|
|
627
631
|
}
|
|
628
|
-
}),
|
|
632
|
+
}), un = { class: "text-subtitle-1 ml-3" }, rn = /* @__PURE__ */ E({
|
|
629
633
|
__name: "index",
|
|
630
634
|
props: {
|
|
631
635
|
modelValue: {},
|
|
@@ -633,7 +637,7 @@ const Gt = /* @__PURE__ */ E({
|
|
|
633
637
|
},
|
|
634
638
|
emits: ["update:modelValue"],
|
|
635
639
|
setup(t) {
|
|
636
|
-
const { t: s } = I(), n =
|
|
640
|
+
const { t: s } = I(), n = Qe(), { sysBarAvail: e } = ve(), { backgroundColor1: l } = te(), o = z(t, "modelValue"), i = st(), u = L(() => {
|
|
637
641
|
let f = "100%";
|
|
638
642
|
return n.mdAndUp.value && (f = "400px"), {
|
|
639
643
|
background: l.value,
|
|
@@ -653,7 +657,7 @@ const Gt = /* @__PURE__ */ E({
|
|
|
653
657
|
return s("x-runtime-lib.notSet");
|
|
654
658
|
const f = _e(i, o.value);
|
|
655
659
|
return f ? f.name : s("x-runtime-lib.compNotAvail");
|
|
656
|
-
}), { open: c } = ke(`propTreeCompSelectDlg${
|
|
660
|
+
}), { open: c } = ke(`propTreeCompSelectDlg${$e()}`);
|
|
657
661
|
return we(() => {
|
|
658
662
|
c.value = !1;
|
|
659
663
|
}), (f, v) => {
|
|
@@ -703,7 +707,7 @@ const Gt = /* @__PURE__ */ E({
|
|
|
703
707
|
icon: "mdi-close",
|
|
704
708
|
onClick: v[0] || (v[0] = (x) => c.value = !1)
|
|
705
709
|
}),
|
|
706
|
-
q("span",
|
|
710
|
+
q("span", un, F(P(s)("x-prop-tree.dlg.compSelect.title")), 1)
|
|
707
711
|
]),
|
|
708
712
|
_: 1
|
|
709
713
|
}),
|
|
@@ -711,7 +715,7 @@ const Gt = /* @__PURE__ */ E({
|
|
|
711
715
|
class: "overflow-y-auto",
|
|
712
716
|
style: W(r.value)
|
|
713
717
|
}, [
|
|
714
|
-
b(
|
|
718
|
+
b(sn, {
|
|
715
719
|
modelValue: o.value,
|
|
716
720
|
"onUpdate:modelValue": v[1] || (v[1] = (x) => o.value = x),
|
|
717
721
|
open: P(c),
|
|
@@ -728,7 +732,7 @@ const Gt = /* @__PURE__ */ E({
|
|
|
728
732
|
}, 8, ["modelValue"]);
|
|
729
733
|
};
|
|
730
734
|
}
|
|
731
|
-
}),
|
|
735
|
+
}), an = /* @__PURE__ */ E({
|
|
732
736
|
__name: "editor",
|
|
733
737
|
props: {
|
|
734
738
|
modelValue: { required: !0 },
|
|
@@ -740,14 +744,14 @@ const Gt = /* @__PURE__ */ E({
|
|
|
740
744
|
},
|
|
741
745
|
emits: ["update:modelValue", "update:lock", "update:scale"],
|
|
742
746
|
setup(t, { expose: s }) {
|
|
743
|
-
const n = z(t, "modelValue"), e = z(t, "lock"), l = z(t, "scale"), o =
|
|
747
|
+
const n = z(t, "modelValue"), e = z(t, "lock"), l = z(t, "scale"), o = xt(), i = St(), u = Oe(), r = He("target"), a = () => {
|
|
744
748
|
const c = JSON.parse(n.value);
|
|
745
749
|
r.value?.load(c);
|
|
746
750
|
};
|
|
747
751
|
return s({ save: () => {
|
|
748
752
|
const c = r.value.save();
|
|
749
753
|
n.value = JSON.stringify(c, null, 2);
|
|
750
|
-
} }), (c, f) => (_(), B(P(
|
|
754
|
+
} }), (c, f) => (_(), B(P(bt), {
|
|
751
755
|
ref_key: "target",
|
|
752
756
|
ref: r,
|
|
753
757
|
lock: e.value,
|
|
@@ -761,7 +765,7 @@ const Gt = /* @__PURE__ */ E({
|
|
|
761
765
|
onReady: a
|
|
762
766
|
}, null, 8, ["lock", "scale", "dark", "locale", "version"]));
|
|
763
767
|
}
|
|
764
|
-
}),
|
|
768
|
+
}), cn = { class: "text-subtitle-1" }, dn = /* @__PURE__ */ E({
|
|
765
769
|
__name: "index",
|
|
766
770
|
props: {
|
|
767
771
|
modelValue: { required: !0 },
|
|
@@ -776,11 +780,11 @@ const Gt = /* @__PURE__ */ E({
|
|
|
776
780
|
background: l.value,
|
|
777
781
|
height: `calc(100% - ${v}px)`
|
|
778
782
|
};
|
|
779
|
-
}), d = L(() => s("x-prop-tree.dlg.jsonEditor.title")), { open: c } = ke(`propTreejsonEditorDlg${
|
|
783
|
+
}), d = L(() => s("x-prop-tree.dlg.jsonEditor.title")), { open: c } = ke(`propTreejsonEditorDlg${$e()}`);
|
|
780
784
|
we(() => {
|
|
781
785
|
c.value = !1;
|
|
782
786
|
});
|
|
783
|
-
const f =
|
|
787
|
+
const f = He("editor");
|
|
784
788
|
return oe(c, (v) => {
|
|
785
789
|
v || f.value?.save();
|
|
786
790
|
}), (v, C) => {
|
|
@@ -830,7 +834,7 @@ const Gt = /* @__PURE__ */ E({
|
|
|
830
834
|
variant: "text",
|
|
831
835
|
onClick: C[0] || (C[0] = (S) => c.value = !1)
|
|
832
836
|
}),
|
|
833
|
-
q("span",
|
|
837
|
+
q("span", cn, F(P(s)("x-prop-tree.dlg.jsonEditor.title")), 1),
|
|
834
838
|
b(D)
|
|
835
839
|
]),
|
|
836
840
|
_: 1
|
|
@@ -838,7 +842,7 @@ const Gt = /* @__PURE__ */ E({
|
|
|
838
842
|
q("div", {
|
|
839
843
|
style: W(a.value)
|
|
840
844
|
}, [
|
|
841
|
-
b(
|
|
845
|
+
b(an, {
|
|
842
846
|
ref_key: "editor",
|
|
843
847
|
ref: f,
|
|
844
848
|
modelValue: i.value,
|
|
@@ -857,7 +861,7 @@ const Gt = /* @__PURE__ */ E({
|
|
|
857
861
|
}, 8, ["modelValue"]);
|
|
858
862
|
};
|
|
859
863
|
}
|
|
860
|
-
}),
|
|
864
|
+
}), mn = { class: "d-flex justify-space-between align-center my-2" }, fn = { class: "flex-grow-1" }, vn = /* @__PURE__ */ E({
|
|
861
865
|
__name: "index",
|
|
862
866
|
props: /* @__PURE__ */ Z({
|
|
863
867
|
hasDelete: { type: Boolean, default: !1 },
|
|
@@ -885,7 +889,7 @@ const Gt = /* @__PURE__ */ E({
|
|
|
885
889
|
}, f = T(0), v = async (C) => {
|
|
886
890
|
if (!C || !e() || d.value.ui !== "pixelInput" && d.value.ui !== "percentInput")
|
|
887
891
|
return;
|
|
888
|
-
const h = await
|
|
892
|
+
const h = await ze({
|
|
889
893
|
title: "",
|
|
890
894
|
value: f.value,
|
|
891
895
|
precision: d.value.precision,
|
|
@@ -896,13 +900,13 @@ const Gt = /* @__PURE__ */ E({
|
|
|
896
900
|
h !== void 0 && (f.value = h);
|
|
897
901
|
};
|
|
898
902
|
return Ke(() => {
|
|
899
|
-
d.value?.ui === "pixelInput" ? f.value =
|
|
903
|
+
d.value?.ui === "pixelInput" ? f.value = Ut(l.value) : d.value?.ui === "percentInput" && (f.value = $t(l.value));
|
|
900
904
|
}), oe(f, (C) => {
|
|
901
905
|
d.value?.ui === "pixelInput" ? l.value = C + "px" : d.value?.ui === "percentInput" && (l.value = C + "%");
|
|
902
906
|
}), (C, h) => {
|
|
903
907
|
const V = $("v-select"), D = $("v-number-input"), x = $("v-btn"), S = ee("ripple");
|
|
904
|
-
return _(), K("div",
|
|
905
|
-
q("div",
|
|
908
|
+
return _(), K("div", mn, [
|
|
909
|
+
q("div", fn, [
|
|
906
910
|
j(b(V, {
|
|
907
911
|
modelValue: r.value,
|
|
908
912
|
"onUpdate:modelValue": [
|
|
@@ -954,7 +958,7 @@ const Gt = /* @__PURE__ */ E({
|
|
|
954
958
|
]);
|
|
955
959
|
};
|
|
956
960
|
}
|
|
957
|
-
}),
|
|
961
|
+
}), pn = { class: "d-flex justify-space-between align-center" }, gn = /* @__PURE__ */ E({
|
|
958
962
|
__name: "index",
|
|
959
963
|
props: /* @__PURE__ */ Z({
|
|
960
964
|
hasDelete: { type: Boolean, default: !1 },
|
|
@@ -973,7 +977,7 @@ const Gt = /* @__PURE__ */ E({
|
|
|
973
977
|
const { isMobile: n } = ve(), e = z(t, "modelValue"), l = s, o = async (i) => {
|
|
974
978
|
if (!i || t.readonly || !n())
|
|
975
979
|
return;
|
|
976
|
-
const u = await
|
|
980
|
+
const u = await ze({
|
|
977
981
|
title: "",
|
|
978
982
|
value: e.value,
|
|
979
983
|
precision: t.precision,
|
|
@@ -985,7 +989,7 @@ const Gt = /* @__PURE__ */ E({
|
|
|
985
989
|
};
|
|
986
990
|
return (i, u) => {
|
|
987
991
|
const r = $("v-number-input"), a = $("v-btn"), d = ee("ripple");
|
|
988
|
-
return _(), K("div",
|
|
992
|
+
return _(), K("div", pn, [
|
|
989
993
|
j(b(r, {
|
|
990
994
|
modelValue: e.value,
|
|
991
995
|
"onUpdate:modelValue": u[0] || (u[0] = (c) => e.value = c),
|
|
@@ -1018,7 +1022,7 @@ const Gt = /* @__PURE__ */ E({
|
|
|
1018
1022
|
]);
|
|
1019
1023
|
};
|
|
1020
1024
|
}
|
|
1021
|
-
}),
|
|
1025
|
+
}), yn = { class: "d-flex justify-space-between align-center" }, hn = /* @__PURE__ */ E({
|
|
1022
1026
|
__name: "index",
|
|
1023
1027
|
props: /* @__PURE__ */ Z({
|
|
1024
1028
|
hasDelete: { type: Boolean, default: !1 },
|
|
@@ -1038,7 +1042,7 @@ const Gt = /* @__PURE__ */ E({
|
|
|
1038
1042
|
});
|
|
1039
1043
|
return (u, r) => {
|
|
1040
1044
|
const a = $("v-select"), d = $("v-btn"), c = ee("ripple");
|
|
1041
|
-
return _(), K("div",
|
|
1045
|
+
return _(), K("div", yn, [
|
|
1042
1046
|
j(b(a, {
|
|
1043
1047
|
modelValue: e.value,
|
|
1044
1048
|
"onUpdate:modelValue": r[0] || (r[0] = (f) => e.value = f),
|
|
@@ -1066,7 +1070,7 @@ const Gt = /* @__PURE__ */ E({
|
|
|
1066
1070
|
]);
|
|
1067
1071
|
};
|
|
1068
1072
|
}
|
|
1069
|
-
}),
|
|
1073
|
+
}), kn = { class: "text-subtitle-2 ml-1" }, _n = { class: "text-caption text-grey ml-1" }, xn = /* @__PURE__ */ E({
|
|
1070
1074
|
__name: "group",
|
|
1071
1075
|
props: {
|
|
1072
1076
|
id: {},
|
|
@@ -1095,14 +1099,14 @@ const Gt = /* @__PURE__ */ E({
|
|
|
1095
1099
|
icon: l.collapse ? "mdi-chevron-right" : "mdi-chevron-down",
|
|
1096
1100
|
size: "small"
|
|
1097
1101
|
}, null, 8, ["icon"]),
|
|
1098
|
-
q("span",
|
|
1099
|
-
q("span",
|
|
1102
|
+
q("span", kn, F(l.title), 1),
|
|
1103
|
+
q("span", _n, F(l.count), 1)
|
|
1100
1104
|
], 36)), [
|
|
1101
1105
|
[c]
|
|
1102
1106
|
]);
|
|
1103
1107
|
};
|
|
1104
1108
|
}
|
|
1105
|
-
}),
|
|
1109
|
+
}), Sn = { class: "text-subtitle-1 ml-6" }, Vn = /* @__PURE__ */ E({
|
|
1106
1110
|
__name: "item",
|
|
1107
1111
|
props: {
|
|
1108
1112
|
id: {},
|
|
@@ -1125,13 +1129,13 @@ const Gt = /* @__PURE__ */ E({
|
|
|
1125
1129
|
onMouseout: a[1] || (a[1] = (c) => i.value = !1),
|
|
1126
1130
|
onMouseover: a[2] || (a[2] = (c) => i.value = !0)
|
|
1127
1131
|
}, [
|
|
1128
|
-
q("span",
|
|
1132
|
+
q("span", Sn, F(l.title), 1)
|
|
1129
1133
|
], 36)), [
|
|
1130
1134
|
[d]
|
|
1131
1135
|
]);
|
|
1132
1136
|
};
|
|
1133
1137
|
}
|
|
1134
|
-
}),
|
|
1138
|
+
}), Cn = { key: 0 }, Un = {
|
|
1135
1139
|
key: 1,
|
|
1136
1140
|
class: "text-body-2 text-grey ml-3"
|
|
1137
1141
|
}, $n = /* @__PURE__ */ E({
|
|
@@ -1144,17 +1148,17 @@ const Gt = /* @__PURE__ */ E({
|
|
|
1144
1148
|
},
|
|
1145
1149
|
emits: ["update:modelValue", "update:open"],
|
|
1146
1150
|
setup(t) {
|
|
1147
|
-
const { t: s } = I(), n = z(t, "modelValue"), e = z(t, "open"), l =
|
|
1151
|
+
const { t: s } = I(), n = z(t, "modelValue"), e = z(t, "open"), l = it(), o = (u) => {
|
|
1148
1152
|
const r = _e(l, u);
|
|
1149
|
-
r &&
|
|
1153
|
+
r && Ye(l, u, !r.collapse);
|
|
1150
1154
|
}, i = (u) => {
|
|
1151
1155
|
n.value = u, e.value = !1;
|
|
1152
1156
|
};
|
|
1153
|
-
return (u, r) => P(l).length > 0 ? (_(), K("div",
|
|
1157
|
+
return (u, r) => P(l).length > 0 ? (_(), K("div", Cn, [
|
|
1154
1158
|
(_(!0), K(fe, null, Te(P(l), (a) => (_(), K(fe, {
|
|
1155
1159
|
key: a.id
|
|
1156
1160
|
}, [
|
|
1157
|
-
a.type === 0 ? (_(), B(
|
|
1161
|
+
a.type === 0 ? (_(), B(xn, {
|
|
1158
1162
|
key: 0,
|
|
1159
1163
|
id: a.id,
|
|
1160
1164
|
collapse: a.collapse,
|
|
@@ -1169,9 +1173,9 @@ const Gt = /* @__PURE__ */ E({
|
|
|
1169
1173
|
onXClick: i
|
|
1170
1174
|
}, null, 8, ["id", "title"])) : G("", !0)
|
|
1171
1175
|
], 64))), 128))
|
|
1172
|
-
])) : (_(), K("div",
|
|
1176
|
+
])) : (_(), K("div", Un, F(P(s)("x-prop-tree.noSlot")), 1));
|
|
1173
1177
|
}
|
|
1174
|
-
}),
|
|
1178
|
+
}), wn = { class: "text-subtitle-1 ml-3" }, Mn = /* @__PURE__ */ E({
|
|
1175
1179
|
__name: "index",
|
|
1176
1180
|
props: {
|
|
1177
1181
|
modelValue: {},
|
|
@@ -1179,7 +1183,7 @@ const Gt = /* @__PURE__ */ E({
|
|
|
1179
1183
|
},
|
|
1180
1184
|
emits: ["update:modelValue"],
|
|
1181
1185
|
setup(t) {
|
|
1182
|
-
const { t: s } = I(), n =
|
|
1186
|
+
const { t: s } = I(), n = Qe(), { sysBarAvail: e } = ve(), { backgroundColor1: l } = te(), o = z(t, "modelValue"), i = it(), u = L(() => {
|
|
1183
1187
|
let f = "100%";
|
|
1184
1188
|
return n.mdAndUp.value && (f = "400px"), {
|
|
1185
1189
|
background: l.value,
|
|
@@ -1199,7 +1203,7 @@ const Gt = /* @__PURE__ */ E({
|
|
|
1199
1203
|
return s("x-runtime-lib.notSet");
|
|
1200
1204
|
const f = _e(i, o.value);
|
|
1201
1205
|
return f ? f.name : s("x-runtime-lib.slotNotAvail");
|
|
1202
|
-
}), { open: c } = ke(`propTreeSlotSelectDlg${
|
|
1206
|
+
}), { open: c } = ke(`propTreeSlotSelectDlg${$e()}`);
|
|
1203
1207
|
return we(() => {
|
|
1204
1208
|
c.value = !1;
|
|
1205
1209
|
}), (f, v) => {
|
|
@@ -1249,7 +1253,7 @@ const Gt = /* @__PURE__ */ E({
|
|
|
1249
1253
|
icon: "mdi-close",
|
|
1250
1254
|
onClick: v[0] || (v[0] = (x) => c.value = !1)
|
|
1251
1255
|
}),
|
|
1252
|
-
q("span",
|
|
1256
|
+
q("span", wn, F(P(s)("x-prop-tree.dlg.slotSelect.title")), 1)
|
|
1253
1257
|
]),
|
|
1254
1258
|
_: 1
|
|
1255
1259
|
}),
|
|
@@ -1274,7 +1278,7 @@ const Gt = /* @__PURE__ */ E({
|
|
|
1274
1278
|
}, 8, ["modelValue"]);
|
|
1275
1279
|
};
|
|
1276
1280
|
}
|
|
1277
|
-
}),
|
|
1281
|
+
}), bn = { class: "d-flex justify-space-between align-center" }, Pn = /* @__PURE__ */ E({
|
|
1278
1282
|
__name: "index",
|
|
1279
1283
|
props: /* @__PURE__ */ Z({
|
|
1280
1284
|
hasDelete: { type: Boolean, default: !1 },
|
|
@@ -1296,7 +1300,7 @@ const Gt = /* @__PURE__ */ E({
|
|
|
1296
1300
|
};
|
|
1297
1301
|
return (i, u) => {
|
|
1298
1302
|
const r = $("v-text-field"), a = $("v-btn"), d = ee("ripple");
|
|
1299
|
-
return _(), K("div",
|
|
1303
|
+
return _(), K("div", bn, [
|
|
1300
1304
|
j(b(r, {
|
|
1301
1305
|
modelValue: e.value,
|
|
1302
1306
|
"onUpdate:modelValue": u[0] || (u[0] = (c) => e.value = c),
|
|
@@ -1324,7 +1328,7 @@ const Gt = /* @__PURE__ */ E({
|
|
|
1324
1328
|
]);
|
|
1325
1329
|
};
|
|
1326
1330
|
}
|
|
1327
|
-
}),
|
|
1331
|
+
}), Dn = { class: "d-flex justify-space-between align-center" }, An = /* @__PURE__ */ E({
|
|
1328
1332
|
__name: "index",
|
|
1329
1333
|
props: /* @__PURE__ */ Z({
|
|
1330
1334
|
hasDelete: { type: Boolean, default: !1 },
|
|
@@ -1338,7 +1342,7 @@ const Gt = /* @__PURE__ */ E({
|
|
|
1338
1342
|
const n = z(t, "modelValue"), e = s;
|
|
1339
1343
|
return (l, o) => {
|
|
1340
1344
|
const i = $("v-switch"), u = $("v-btn");
|
|
1341
|
-
return _(), K("div",
|
|
1345
|
+
return _(), K("div", Dn, [
|
|
1342
1346
|
b(i, {
|
|
1343
1347
|
modelValue: n.value,
|
|
1344
1348
|
"onUpdate:modelValue": o[0] || (o[0] = (r) => n.value = r),
|
|
@@ -1360,8 +1364,8 @@ const Gt = /* @__PURE__ */ E({
|
|
|
1360
1364
|
};
|
|
1361
1365
|
}
|
|
1362
1366
|
});
|
|
1363
|
-
function
|
|
1364
|
-
return { renderUiColorPicker: (n, e, l, o, i) => e.ui !== "colorPicker" ? (console.assert(!1), k("div", "renderUiColorPicker property ui must be colorPicker")) : k(
|
|
1367
|
+
function Tn(t) {
|
|
1368
|
+
return { renderUiColorPicker: (n, e, l, o, i) => e.ui !== "colorPicker" ? (console.assert(!1), k("div", "renderUiColorPicker property ui must be colorPicker")) : k(Zt, {
|
|
1365
1369
|
modelValue: ne(
|
|
1366
1370
|
n,
|
|
1367
1371
|
e,
|
|
@@ -1388,8 +1392,8 @@ function An(t) {
|
|
|
1388
1392
|
readonly: e.readonly
|
|
1389
1393
|
}) };
|
|
1390
1394
|
}
|
|
1391
|
-
function
|
|
1392
|
-
return { renderUiCompSelect: (n, e, l, o, i) => e.ui !== "compSelect" ? (console.assert(!1), k("div", "renderUiCompSelect property ui must be compSelect")) : k(
|
|
1395
|
+
function Ln(t) {
|
|
1396
|
+
return { renderUiCompSelect: (n, e, l, o, i) => e.ui !== "compSelect" ? (console.assert(!1), k("div", "renderUiCompSelect property ui must be compSelect")) : k(rn, {
|
|
1393
1397
|
modelValue: ne(
|
|
1394
1398
|
n,
|
|
1395
1399
|
e,
|
|
@@ -1411,7 +1415,7 @@ function Tn(t) {
|
|
|
1411
1415
|
}
|
|
1412
1416
|
}) };
|
|
1413
1417
|
}
|
|
1414
|
-
function
|
|
1418
|
+
function Nn(t) {
|
|
1415
1419
|
return { renderUiDummy: (n, e, l, o, i) => {
|
|
1416
1420
|
if (e.ui !== "dummy") {
|
|
1417
1421
|
console.assert(!1, "renderUiDummy property ui must be dummy");
|
|
@@ -1420,8 +1424,8 @@ function Ln(t) {
|
|
|
1420
1424
|
ne(n, e, l, t, o, i);
|
|
1421
1425
|
} };
|
|
1422
1426
|
}
|
|
1423
|
-
function
|
|
1424
|
-
return { renderUiJsonEditor: (n, e, l, o, i) => e.ui !== "jsonEditor" ? k("div", "renderUijsonEditor property ui must be jsonEditor") : k(
|
|
1427
|
+
function Bn(t) {
|
|
1428
|
+
return { renderUiJsonEditor: (n, e, l, o, i) => e.ui !== "jsonEditor" ? k("div", "renderUijsonEditor property ui must be jsonEditor") : k(dn, {
|
|
1425
1429
|
modelValue: ne(
|
|
1426
1430
|
n,
|
|
1427
1431
|
e,
|
|
@@ -1443,8 +1447,8 @@ function Nn(t) {
|
|
|
1443
1447
|
}
|
|
1444
1448
|
}) };
|
|
1445
1449
|
}
|
|
1446
|
-
function
|
|
1447
|
-
return { renderUiMultiTypes: (n, e, l, o, i) => e.ui !== "multiTypes" ? (console.assert(!1), k("div", "renderUiMultiTypes property ui must be multiTypes")) : k(
|
|
1450
|
+
function On(t) {
|
|
1451
|
+
return { renderUiMultiTypes: (n, e, l, o, i) => e.ui !== "multiTypes" ? (console.assert(!1), k("div", "renderUiMultiTypes property ui must be multiTypes")) : k(vn, {
|
|
1448
1452
|
modelValue: ne(
|
|
1449
1453
|
n,
|
|
1450
1454
|
e,
|
|
@@ -1471,8 +1475,8 @@ function Bn(t) {
|
|
|
1471
1475
|
types: e.types
|
|
1472
1476
|
}) };
|
|
1473
1477
|
}
|
|
1474
|
-
function
|
|
1475
|
-
return { renderUiNumInput: (n, e, l, o, i) => e.ui !== "numInput" ? (console.assert(!1), k("div", "renderUiNumInput property ui must be numInput")) : k(
|
|
1478
|
+
function qn(t) {
|
|
1479
|
+
return { renderUiNumInput: (n, e, l, o, i) => e.ui !== "numInput" ? (console.assert(!1), k("div", "renderUiNumInput property ui must be numInput")) : k(gn, {
|
|
1476
1480
|
modelValue: ne(
|
|
1477
1481
|
n,
|
|
1478
1482
|
e,
|
|
@@ -1503,7 +1507,7 @@ function On(t) {
|
|
|
1503
1507
|
readonly: e.readonly
|
|
1504
1508
|
}) };
|
|
1505
1509
|
}
|
|
1506
|
-
const
|
|
1510
|
+
const Kn = /* @__PURE__ */ E({
|
|
1507
1511
|
__name: "index",
|
|
1508
1512
|
props: {
|
|
1509
1513
|
minHeight: {}
|
|
@@ -1528,20 +1532,20 @@ const qn = /* @__PURE__ */ E({
|
|
|
1528
1532
|
onMouseout: a[0] || (a[0] = (c) => o.value = !1),
|
|
1529
1533
|
onMouseover: a[1] || (a[1] = (c) => o.value = !0)
|
|
1530
1534
|
}, [
|
|
1531
|
-
|
|
1535
|
+
kt(r.$slots, "default")
|
|
1532
1536
|
], 36)), [
|
|
1533
1537
|
[d]
|
|
1534
1538
|
]);
|
|
1535
1539
|
};
|
|
1536
1540
|
}
|
|
1537
1541
|
});
|
|
1538
|
-
function
|
|
1542
|
+
function Rn(t, s, n) {
|
|
1539
1543
|
const { t: e } = I();
|
|
1540
1544
|
return { renderProperty: (o, i, u) => {
|
|
1541
1545
|
const r = o[o.length - 1];
|
|
1542
1546
|
let d = typeof r == "number" ? `[${r + 1}]` : e(i.name);
|
|
1543
1547
|
return me(t.value, o) && (d += " *"), k(
|
|
1544
|
-
|
|
1548
|
+
Kn,
|
|
1545
1549
|
{
|
|
1546
1550
|
minHeight: s.value,
|
|
1547
1551
|
onMenu: (c, f) => {
|
|
@@ -1558,8 +1562,8 @@ function Kn(t, s, n) {
|
|
|
1558
1562
|
);
|
|
1559
1563
|
} };
|
|
1560
1564
|
}
|
|
1561
|
-
function
|
|
1562
|
-
return { renderUiSelect: (n, e, l, o, i) => e.ui !== "select" ? (console.assert(!1), k("div", "renderUiSelect property ui must be select")) : k(
|
|
1565
|
+
function En(t) {
|
|
1566
|
+
return { renderUiSelect: (n, e, l, o, i) => e.ui !== "select" ? (console.assert(!1), k("div", "renderUiSelect property ui must be select")) : k(hn, {
|
|
1563
1567
|
modelValue: ne(
|
|
1564
1568
|
n,
|
|
1565
1569
|
e,
|
|
@@ -1587,8 +1591,8 @@ function Rn(t) {
|
|
|
1587
1591
|
readonly: e.readonly
|
|
1588
1592
|
}) };
|
|
1589
1593
|
}
|
|
1590
|
-
function
|
|
1591
|
-
return { renderUiSlotSelect: (n, e, l, o, i) => e.ui !== "slotSelect" ? (console.assert(!1), k("div", "renderUiSlotSelect property ui must be slotSelect")) : k(
|
|
1594
|
+
function Jn(t) {
|
|
1595
|
+
return { renderUiSlotSelect: (n, e, l, o, i) => e.ui !== "slotSelect" ? (console.assert(!1), k("div", "renderUiSlotSelect property ui must be slotSelect")) : k(Mn, {
|
|
1592
1596
|
modelValue: ne(
|
|
1593
1597
|
n,
|
|
1594
1598
|
e,
|
|
@@ -1610,8 +1614,8 @@ function En(t) {
|
|
|
1610
1614
|
}
|
|
1611
1615
|
}) };
|
|
1612
1616
|
}
|
|
1613
|
-
function
|
|
1614
|
-
return { renderUiStrInput: (n, e, l, o, i) => e.ui !== "strInput" ? (console.assert(!1), k("div", "renderUiStrInput property ui must be strInput")) : k(
|
|
1617
|
+
function Hn(t) {
|
|
1618
|
+
return { renderUiStrInput: (n, e, l, o, i) => e.ui !== "strInput" ? (console.assert(!1), k("div", "renderUiStrInput property ui must be strInput")) : k(Pn, {
|
|
1615
1619
|
modelValue: e.static ? e.value : ne(
|
|
1616
1620
|
n,
|
|
1617
1621
|
e,
|
|
@@ -1638,8 +1642,8 @@ function Jn(t) {
|
|
|
1638
1642
|
readonly: e.static || e.readonly
|
|
1639
1643
|
}) };
|
|
1640
1644
|
}
|
|
1641
|
-
function
|
|
1642
|
-
return { renderUiSwitch: (n, e, l, o, i) => e.ui !== "switch" ? (console.assert(!1), k("div", "renderUiSwitch property ui must be switch")) : k(
|
|
1645
|
+
function Xn(t) {
|
|
1646
|
+
return { renderUiSwitch: (n, e, l, o, i) => e.ui !== "switch" ? (console.assert(!1), k("div", "renderUiSwitch property ui must be switch")) : k(An, {
|
|
1643
1647
|
modelValue: ne(
|
|
1644
1648
|
n,
|
|
1645
1649
|
e,
|
|
@@ -1666,11 +1670,11 @@ function Hn(t) {
|
|
|
1666
1670
|
readonly: e.readonly
|
|
1667
1671
|
}) };
|
|
1668
1672
|
}
|
|
1669
|
-
function
|
|
1673
|
+
function Fn() {
|
|
1670
1674
|
const t = T([]);
|
|
1671
|
-
|
|
1675
|
+
zt(t);
|
|
1672
1676
|
const s = () => {
|
|
1673
|
-
const { activeApp: o, depends: i } =
|
|
1677
|
+
const { activeApp: o, depends: i } = Ze.app, u = [];
|
|
1674
1678
|
for (const { id: r, name: a, position: d } of o.compGroups) {
|
|
1675
1679
|
const c = t.value.find((f) => f.id === r);
|
|
1676
1680
|
u.push({
|
|
@@ -1683,7 +1687,7 @@ function Xn() {
|
|
|
1683
1687
|
}
|
|
1684
1688
|
for (const { id: r, groupId: a, name: d, position: c } of o.comps)
|
|
1685
1689
|
i[r] && u.push({ id: r, type: 1, name: d, position: c, group: a });
|
|
1686
|
-
|
|
1690
|
+
We(u, !0), t.value = u;
|
|
1687
1691
|
};
|
|
1688
1692
|
let n;
|
|
1689
1693
|
const e = () => {
|
|
@@ -1693,15 +1697,15 @@ function Xn() {
|
|
|
1693
1697
|
}, l = () => {
|
|
1694
1698
|
clearTimeout(n), n = void 0;
|
|
1695
1699
|
};
|
|
1696
|
-
|
|
1700
|
+
Xe(() => {
|
|
1697
1701
|
e();
|
|
1698
|
-
}),
|
|
1702
|
+
}), Fe(() => {
|
|
1699
1703
|
l();
|
|
1700
1704
|
});
|
|
1701
1705
|
}
|
|
1702
|
-
function
|
|
1703
|
-
const { i18n: e } =
|
|
1704
|
-
|
|
1706
|
+
function zn(t, s, n) {
|
|
1707
|
+
const { i18n: e } = Ct, l = T([]);
|
|
1708
|
+
Gt(l);
|
|
1705
1709
|
const o = () => {
|
|
1706
1710
|
if (!t.value || !s.value || !n.value)
|
|
1707
1711
|
return;
|
|
@@ -1710,7 +1714,7 @@ function Fn(t, s, n) {
|
|
|
1710
1714
|
console.assert(!1, `invalid version=${t.value}`);
|
|
1711
1715
|
return;
|
|
1712
1716
|
}
|
|
1713
|
-
const d =
|
|
1717
|
+
const d = wt(s.value, n.value), c = [];
|
|
1714
1718
|
for (let h = 0; h < a.groups[d].length; h++) {
|
|
1715
1719
|
const V = a.groups[d][h], D = _e(l, V.key);
|
|
1716
1720
|
c.push({
|
|
@@ -1723,10 +1727,10 @@ function Fn(t, s, n) {
|
|
|
1723
1727
|
});
|
|
1724
1728
|
let x = 0;
|
|
1725
1729
|
for (const S of V.items) {
|
|
1726
|
-
const U =
|
|
1730
|
+
const U = Mt[S];
|
|
1727
1731
|
if (U && !U.internal && U.slots)
|
|
1728
1732
|
for (const O of U.slots) {
|
|
1729
|
-
const Q =
|
|
1733
|
+
const Q = Re("elementSlot", U.key, O.key), pe = `${e.global.t(U.name)} / ${e.global.t(O.name)}`;
|
|
1730
1734
|
c.push({
|
|
1731
1735
|
id: Q,
|
|
1732
1736
|
type: 1,
|
|
@@ -1737,7 +1741,7 @@ function Fn(t, s, n) {
|
|
|
1737
1741
|
}
|
|
1738
1742
|
}
|
|
1739
1743
|
}
|
|
1740
|
-
const { activeApp: f, depends: v } =
|
|
1744
|
+
const { activeApp: f, depends: v } = Ze.app;
|
|
1741
1745
|
for (const { id: h, name: V, position: D } of f.compGroups) {
|
|
1742
1746
|
const x = l.value.find((S) => S.id);
|
|
1743
1747
|
c.push({
|
|
@@ -1753,7 +1757,7 @@ function Fn(t, s, n) {
|
|
|
1753
1757
|
const V = v[h.id];
|
|
1754
1758
|
if (V && V.meta.slots)
|
|
1755
1759
|
for (const D of V.meta.slots) {
|
|
1756
|
-
const x =
|
|
1760
|
+
const x = Re("customSlot", h.id, D.id), S = `${h.name} / ${D.name}`;
|
|
1757
1761
|
c.push({
|
|
1758
1762
|
id: x,
|
|
1759
1763
|
type: 1,
|
|
@@ -1763,7 +1767,7 @@ function Fn(t, s, n) {
|
|
|
1763
1767
|
});
|
|
1764
1768
|
}
|
|
1765
1769
|
}
|
|
1766
|
-
|
|
1770
|
+
We(c, !0), l.value = c;
|
|
1767
1771
|
};
|
|
1768
1772
|
let i;
|
|
1769
1773
|
const u = () => {
|
|
@@ -1773,15 +1777,15 @@ function Fn(t, s, n) {
|
|
|
1773
1777
|
}, r = () => {
|
|
1774
1778
|
clearTimeout(i), i = void 0;
|
|
1775
1779
|
};
|
|
1776
|
-
|
|
1780
|
+
Xe(() => {
|
|
1777
1781
|
u();
|
|
1778
|
-
}),
|
|
1782
|
+
}), Fe(() => {
|
|
1779
1783
|
r();
|
|
1780
1784
|
}), oe([t, s, n], () => {
|
|
1781
1785
|
o(), u();
|
|
1782
1786
|
});
|
|
1783
1787
|
}
|
|
1784
|
-
const
|
|
1788
|
+
const Gn = /* @__PURE__ */ E({
|
|
1785
1789
|
__name: "index",
|
|
1786
1790
|
props: {
|
|
1787
1791
|
unique: {},
|
|
@@ -1793,13 +1797,13 @@ const zn = /* @__PURE__ */ E({
|
|
|
1793
1797
|
},
|
|
1794
1798
|
emits: ["change"],
|
|
1795
1799
|
setup(t, { emit: s }) {
|
|
1796
|
-
const { t: n } = I(), { backgroundColor1: e } = te(), l = t, o = s, i = T("20px"), u = T("56px"), r = T("200px"), a =
|
|
1797
|
-
|
|
1800
|
+
const { t: n } = I(), { backgroundColor1: e } = te(), l = t, o = s, i = T("20px"), u = T("56px"), r = T("200px"), a = _t({}), d = T({}), c = (p, m) => {
|
|
1801
|
+
Je(d, l.config, l.object), o("change", p, m);
|
|
1798
1802
|
};
|
|
1799
1803
|
oe(
|
|
1800
1804
|
[() => l.config, () => l.object],
|
|
1801
1805
|
() => {
|
|
1802
|
-
|
|
1806
|
+
Je(
|
|
1803
1807
|
d,
|
|
1804
1808
|
l.config,
|
|
1805
1809
|
l.object,
|
|
@@ -1811,7 +1815,7 @@ const zn = /* @__PURE__ */ E({
|
|
|
1811
1815
|
{ immediate: !0 }
|
|
1812
1816
|
);
|
|
1813
1817
|
const f = T(l.version);
|
|
1814
|
-
|
|
1818
|
+
Ot(f), oe(
|
|
1815
1819
|
() => l.version,
|
|
1816
1820
|
() => {
|
|
1817
1821
|
f.value = l.version;
|
|
@@ -1832,45 +1836,45 @@ const zn = /* @__PURE__ */ E({
|
|
|
1832
1836
|
}
|
|
1833
1837
|
);
|
|
1834
1838
|
const h = T(l.config);
|
|
1835
|
-
|
|
1839
|
+
qt(h), oe(
|
|
1836
1840
|
() => l.config,
|
|
1837
1841
|
() => {
|
|
1838
1842
|
h.value = l.config;
|
|
1839
1843
|
}
|
|
1840
1844
|
);
|
|
1841
1845
|
const V = T(l.object);
|
|
1842
|
-
|
|
1846
|
+
Rt(V), oe(
|
|
1843
1847
|
() => l.object,
|
|
1844
1848
|
() => {
|
|
1845
1849
|
V.value = l.object;
|
|
1846
1850
|
}
|
|
1847
|
-
),
|
|
1848
|
-
const { renderProperty: D } =
|
|
1851
|
+
), Jt(d), Xt(c), Fn(), zn(f, v, C);
|
|
1852
|
+
const { renderProperty: D } = Rn(
|
|
1849
1853
|
d,
|
|
1850
1854
|
u,
|
|
1851
1855
|
r
|
|
1852
|
-
), { renderUiDummy: x } =
|
|
1856
|
+
), { renderUiDummy: x } = Nn(c), { renderUiStrInput: S } = Hn(c), { renderUiNumInput: U } = qn(c), { renderUiSwitch: O } = Xn(c), { renderUiSelect: Q } = En(c), { renderUiColorPicker: pe } = Tn(c), { renderUiJsonEditor: ut } = Bn(c), { renderUiMultiTypes: rt } = On(c), { renderUiCompSelect: at } = Ln(c), { renderUiSlotSelect: ct } = Jn(c), xe = (p, m, y, g, w, A) => (p = Ge(p), w !== void 0 ? (p.push(w), A && p.push(m.key)) : p.push(m.key), m.ui ? m.array && g ? ft(
|
|
1853
1857
|
p,
|
|
1854
1858
|
m,
|
|
1855
1859
|
y,
|
|
1856
1860
|
g,
|
|
1857
1861
|
w,
|
|
1858
1862
|
A
|
|
1859
|
-
) :
|
|
1863
|
+
) : vt(p, m, y, w, A) : m.array ? dt(
|
|
1860
1864
|
p,
|
|
1861
1865
|
m,
|
|
1862
1866
|
y,
|
|
1863
1867
|
g,
|
|
1864
1868
|
w,
|
|
1865
1869
|
A
|
|
1866
|
-
) :
|
|
1870
|
+
) : mt(
|
|
1867
1871
|
p,
|
|
1868
1872
|
m,
|
|
1869
1873
|
y,
|
|
1870
1874
|
g,
|
|
1871
1875
|
w,
|
|
1872
1876
|
A
|
|
1873
|
-
)),
|
|
1877
|
+
)), dt = (p, m, y, g, w, A) => {
|
|
1874
1878
|
if (m.ui)
|
|
1875
1879
|
return console.assert(!1), k("div", "renderBranchArray property ui must be invalid");
|
|
1876
1880
|
if (!m.array)
|
|
@@ -1881,7 +1885,7 @@ const zn = /* @__PURE__ */ E({
|
|
|
1881
1885
|
w !== void 0 && !A ? (y[w] instanceof Array || (y[w] = J(m), c(p, y[m.key])), H = y[w]) : (y[m.key] instanceof Array || (y[m.key] = J(m), c(p, y[m.key])), H = y[m.key]);
|
|
1882
1886
|
let ie = n(m.name);
|
|
1883
1887
|
g.collapse && me(d.value, p) && (ie += " *");
|
|
1884
|
-
const ge = k(
|
|
1888
|
+
const ge = k(Ue, {
|
|
1885
1889
|
title: ie,
|
|
1886
1890
|
collapse: g.collapse,
|
|
1887
1891
|
hasCreate: !0,
|
|
@@ -1912,10 +1916,10 @@ const zn = /* @__PURE__ */ E({
|
|
|
1912
1916
|
collapse: !0,
|
|
1913
1917
|
children: {}
|
|
1914
1918
|
});
|
|
1915
|
-
const
|
|
1919
|
+
const Se = [...p, N], Ve = g.children[N];
|
|
1916
1920
|
let qe = `[${N + 1}]`;
|
|
1917
|
-
g.children[N].collapse && me(d.value,
|
|
1918
|
-
const
|
|
1921
|
+
g.children[N].collapse && me(d.value, Se) && (qe += " *");
|
|
1922
|
+
const gt = k(Ue, {
|
|
1919
1923
|
title: qe,
|
|
1920
1924
|
collapse: g.children[N].collapse,
|
|
1921
1925
|
hasDelete: !0,
|
|
@@ -1928,7 +1932,7 @@ const zn = /* @__PURE__ */ E({
|
|
|
1928
1932
|
g.children[N].collapse = le;
|
|
1929
1933
|
},
|
|
1930
1934
|
onMenu: (le, ue) => {
|
|
1931
|
-
de.emit("propTreeMenu", { x: le, y: ue, keys:
|
|
1935
|
+
de.emit("propTreeMenu", { x: le, y: ue, keys: Se });
|
|
1932
1936
|
},
|
|
1933
1937
|
onDelete: (le) => {
|
|
1934
1938
|
if (!Ae(g.children)) {
|
|
@@ -1938,8 +1942,8 @@ const zn = /* @__PURE__ */ E({
|
|
|
1938
1942
|
g.children.splice(le, 1), H.splice(le, 1), c(p, H);
|
|
1939
1943
|
}
|
|
1940
1944
|
});
|
|
1941
|
-
M.push(
|
|
1942
|
-
const
|
|
1945
|
+
M.push(gt);
|
|
1946
|
+
const yt = k(
|
|
1943
1947
|
"div",
|
|
1944
1948
|
{
|
|
1945
1949
|
style: {
|
|
@@ -1949,27 +1953,27 @@ const zn = /* @__PURE__ */ E({
|
|
|
1949
1953
|
(() => {
|
|
1950
1954
|
const le = [];
|
|
1951
1955
|
return m.children.forEach((ue) => {
|
|
1952
|
-
if (!
|
|
1956
|
+
if (!Ee(Ve.children)) {
|
|
1953
1957
|
console.assert(!1);
|
|
1954
1958
|
return;
|
|
1955
1959
|
}
|
|
1956
|
-
|
|
1960
|
+
Ve.children[ue.key] || (Ve.children[ue.key] = {
|
|
1957
1961
|
collapse: !0,
|
|
1958
1962
|
children: ue.array ? [] : {}
|
|
1959
1963
|
});
|
|
1960
|
-
const
|
|
1964
|
+
const ht = xe(
|
|
1961
1965
|
p,
|
|
1962
1966
|
ue,
|
|
1963
1967
|
H[N],
|
|
1964
|
-
|
|
1968
|
+
Ve.children[ue.key],
|
|
1965
1969
|
N,
|
|
1966
1970
|
!0
|
|
1967
1971
|
);
|
|
1968
|
-
le.push(
|
|
1972
|
+
le.push(ht);
|
|
1969
1973
|
}), le;
|
|
1970
1974
|
})()
|
|
1971
1975
|
);
|
|
1972
|
-
g.children[N].collapse || M.push(
|
|
1976
|
+
g.children[N].collapse || M.push(yt);
|
|
1973
1977
|
}
|
|
1974
1978
|
return M;
|
|
1975
1979
|
})()
|
|
@@ -1986,7 +1990,7 @@ const zn = /* @__PURE__ */ E({
|
|
|
1986
1990
|
return M.push(ge), g.collapse || M.push(Y), M;
|
|
1987
1991
|
})()
|
|
1988
1992
|
);
|
|
1989
|
-
},
|
|
1993
|
+
}, mt = (p, m, y, g, w, A) => {
|
|
1990
1994
|
if (m.ui)
|
|
1991
1995
|
return console.assert(!1), k("div", "renderBranchScalar property ui must be invalid");
|
|
1992
1996
|
if (m.array)
|
|
@@ -1995,7 +1999,7 @@ const zn = /* @__PURE__ */ E({
|
|
|
1995
1999
|
return console.assert(!1), k("div", "renderBranchScalar branch must be valid");
|
|
1996
2000
|
let H = n(m.name);
|
|
1997
2001
|
g.collapse && me(d.value, p) && (H += " *");
|
|
1998
|
-
const ie = k(
|
|
2002
|
+
const ie = k(Ue, {
|
|
1999
2003
|
title: H,
|
|
2000
2004
|
collapse: g.collapse,
|
|
2001
2005
|
hasDelete: w !== void 0 && !A,
|
|
@@ -2018,7 +2022,7 @@ const zn = /* @__PURE__ */ E({
|
|
|
2018
2022
|
(() => {
|
|
2019
2023
|
const Y = [];
|
|
2020
2024
|
return m.children.forEach((M) => {
|
|
2021
|
-
if (!
|
|
2025
|
+
if (!Ee(g.children)) {
|
|
2022
2026
|
console.assert(!1);
|
|
2023
2027
|
return;
|
|
2024
2028
|
}
|
|
@@ -2048,7 +2052,7 @@ const zn = /* @__PURE__ */ E({
|
|
|
2048
2052
|
return Y.push(ie), g.collapse || Y.push(ge), Y;
|
|
2049
2053
|
})()
|
|
2050
2054
|
);
|
|
2051
|
-
},
|
|
2055
|
+
}, ft = (p, m, y, g, w, A) => {
|
|
2052
2056
|
if (!m.ui)
|
|
2053
2057
|
return console.assert(!1), k("div", "renderLeafArray property ui must be valid");
|
|
2054
2058
|
if (!m.array)
|
|
@@ -2059,7 +2063,7 @@ const zn = /* @__PURE__ */ E({
|
|
|
2059
2063
|
w !== void 0 && !A ? (y[w] instanceof Array || (y[w] = J(m), c(p, y[w])), H = y[w]) : (y[m.key] instanceof Array || (y[m.key] = J(m), c(p, y[m.key])), H = y[m.key]);
|
|
2060
2064
|
let ie = n(m.name);
|
|
2061
2065
|
g.collapse && me(d.value, p) && (ie += " *");
|
|
2062
|
-
const ge = k(
|
|
2066
|
+
const ge = k(Ue, {
|
|
2063
2067
|
title: ie,
|
|
2064
2068
|
collapse: g.collapse,
|
|
2065
2069
|
hasCreate: !0,
|
|
@@ -2082,8 +2086,8 @@ const zn = /* @__PURE__ */ E({
|
|
|
2082
2086
|
(() => {
|
|
2083
2087
|
const M = [];
|
|
2084
2088
|
for (let N = 0; N < H.length; N++) {
|
|
2085
|
-
const
|
|
2086
|
-
M.push(
|
|
2089
|
+
const Se = xe(p, m, H, void 0, N, !1);
|
|
2090
|
+
M.push(Se);
|
|
2087
2091
|
}
|
|
2088
2092
|
return M;
|
|
2089
2093
|
})()
|
|
@@ -2100,12 +2104,12 @@ const zn = /* @__PURE__ */ E({
|
|
|
2100
2104
|
return M.push(ge), g.collapse || M.push(Y), M;
|
|
2101
2105
|
})()
|
|
2102
2106
|
);
|
|
2103
|
-
},
|
|
2107
|
+
}, vt = (p, m, y, g, w) => {
|
|
2104
2108
|
if (!m.ui)
|
|
2105
2109
|
return console.assert(!1), k("div", "renderLeafScalar property ui must be valid");
|
|
2106
2110
|
let A;
|
|
2107
|
-
return m.ui === "dummy" ? A = x(p, m, y, g, w) : m.ui === "strInput" ? A = S(p, m, y, g, w) : m.ui === "numInput" ? A = U(p, m, y, g, w) : m.ui === "switch" ? A = O(p, m, y, g, w) : m.ui === "select" ? A = Q(p, m, y, g, w) : m.ui === "colorPicker" ? A = pe(p, m, y, g, w) : m.ui === "jsonEditor" ? A =
|
|
2108
|
-
},
|
|
2111
|
+
return m.ui === "dummy" ? A = x(p, m, y, g, w) : m.ui === "strInput" ? A = S(p, m, y, g, w) : m.ui === "numInput" ? A = U(p, m, y, g, w) : m.ui === "switch" ? A = O(p, m, y, g, w) : m.ui === "select" ? A = Q(p, m, y, g, w) : m.ui === "colorPicker" ? A = pe(p, m, y, g, w) : m.ui === "jsonEditor" ? A = ut(p, m, y, g, w) : m.ui === "multiTypes" ? A = rt(p, m, y, g, w) : m.ui === "compSelect" ? A = at(p, m, y, g, w) : m.ui === "slotSelect" ? A = ct(p, m, y, g, w) : console.assert(!1, "renderLeafScalar not implemented"), A ? D(p, m, A) : k("div");
|
|
2112
|
+
}, pt = () => k(
|
|
2109
2113
|
"div",
|
|
2110
2114
|
{
|
|
2111
2115
|
class: "text-body-2",
|
|
@@ -2136,27 +2140,27 @@ const zn = /* @__PURE__ */ E({
|
|
|
2136
2140
|
})()
|
|
2137
2141
|
);
|
|
2138
2142
|
return (p, m) => (_(), K(fe, null, [
|
|
2139
|
-
b(
|
|
2140
|
-
b(
|
|
2143
|
+
b(pt),
|
|
2144
|
+
b(Yt, {
|
|
2141
2145
|
config: l.config,
|
|
2142
2146
|
object: l.object,
|
|
2143
2147
|
"property-states": d.value
|
|
2144
2148
|
}, null, 8, ["config", "object", "property-states"])
|
|
2145
2149
|
], 64));
|
|
2146
2150
|
}
|
|
2147
|
-
}),
|
|
2148
|
-
t.component("XPropTree",
|
|
2149
|
-
},
|
|
2151
|
+
}), Yn = (t) => {
|
|
2152
|
+
t.component("XPropTree", Gn);
|
|
2153
|
+
}, Wn = (t, s, n) => {
|
|
2150
2154
|
const e = t[s];
|
|
2151
2155
|
return e ? typeof e == "function" ? e() : Promise.resolve(e) : new Promise((l, o) => {
|
|
2152
2156
|
(typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(o.bind(null, /* @__PURE__ */ new Error("Unknown variable dynamic import: " + s + (s.split("/").length !== n ? ". Note that variables only represent file names one level deep." : ""))));
|
|
2153
2157
|
});
|
|
2154
2158
|
};
|
|
2155
|
-
async function
|
|
2156
|
-
return (await
|
|
2159
|
+
async function ol(t) {
|
|
2160
|
+
return (await Wn(/* @__PURE__ */ Object.assign({ "./locales/en/index.ts": () => import("./i18n-en.fwi8tazn.js"), "./locales/zhHans/index.ts": () => import("./i18n-zhHans.ju37v3iz.js") }), `./locales/${t}/index.ts`, 4)).default;
|
|
2157
2161
|
}
|
|
2158
|
-
const
|
|
2162
|
+
const sl = { install: Yn };
|
|
2159
2163
|
export {
|
|
2160
|
-
|
|
2161
|
-
|
|
2164
|
+
sl as default,
|
|
2165
|
+
ol as loadLocaleMessagePropTree
|
|
2162
2166
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "x-prop-tree",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.7.
|
|
4
|
+
"version": "0.7.21",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -26,11 +26,11 @@
|
|
|
26
26
|
"vue": "^3.5.23",
|
|
27
27
|
"vue-i18n": "^11.1.12",
|
|
28
28
|
"vuetify": "^3.10.9",
|
|
29
|
-
"x-block-lib": "^0.8.
|
|
29
|
+
"x-block-lib": "^0.8.50",
|
|
30
30
|
"x-essential-lib": "^0.9.3",
|
|
31
31
|
"x-group-list": "^0.4.7",
|
|
32
|
-
"x-runtime-lib": "^0.8.
|
|
33
|
-
"x-state-lib": "^0.3.
|
|
32
|
+
"x-runtime-lib": "^0.8.97",
|
|
33
|
+
"x-state-lib": "^0.3.27"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
36
|
"@eslint/js": "^9.39.1",
|