x-prop-tree 0.6.4 → 0.6.5
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 +266 -265
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { provide as
|
|
1
|
+
import { provide as xe, inject as Me, defineComponent as z, ref as B, computed as G, resolveComponent as O, createBlock as R, openBlock as S, unref as E, isRef as Fe, withCtx as J, createVNode as k, createElementBlock as F, Fragment as He, renderList as Ht, createTextVNode as st, toDisplayString as ne, resolveDirective as ae, withDirectives as re, withModifiers as K, normalizeStyle as ie, createElementVNode as q, createCommentVNode as X, renderSlot as Mn, h, mergeModels as I, useModel as oe, useId as Gt, onUnmounted as zt, withKeys as Un, mergeProps as Kt, watchEffect as vt, watch as Be, reactive as Ln, onMounted as Dn, onBeforeUnmount as jn } from "vue";
|
|
2
2
|
import { useI18n as de } from "vue-i18n";
|
|
3
3
|
import { useViewStack as at, useColor as Te, eventBus as _e, useSystem as En } from "x-essential-lib";
|
|
4
4
|
import { getPropDefault as N, parsePixelStr as Nn, parsePercentStr as kn } from "x-runtime-lib";
|
|
@@ -20,13 +20,13 @@ function Xn(e) {
|
|
|
20
20
|
return qn.call(e);
|
|
21
21
|
}
|
|
22
22
|
var In = "[object Null]", Zn = "[object Undefined]", gt = se ? se.toStringTag : void 0;
|
|
23
|
-
function
|
|
23
|
+
function Ue(e) {
|
|
24
24
|
return e == null ? e === void 0 ? Zn : In : gt && gt in Object(e) ? zn(e) : Xn(e);
|
|
25
25
|
}
|
|
26
26
|
function ce(e) {
|
|
27
27
|
return e != null && typeof e == "object";
|
|
28
28
|
}
|
|
29
|
-
var
|
|
29
|
+
var Pe = Array.isArray;
|
|
30
30
|
function qe(e) {
|
|
31
31
|
var t = typeof e;
|
|
32
32
|
return e != null && (t == "object" || t == "function");
|
|
@@ -35,7 +35,7 @@ var Jn = "[object AsyncFunction]", Wn = "[object Function]", Yn = "[object Gener
|
|
|
35
35
|
function It(e) {
|
|
36
36
|
if (!qe(e))
|
|
37
37
|
return !1;
|
|
38
|
-
var t =
|
|
38
|
+
var t = Ue(e);
|
|
39
39
|
return t == Wn || t == Yn || t == Jn || t == Qn;
|
|
40
40
|
}
|
|
41
41
|
var Ye = Y["__core-js_shared__"], yt = function() {
|
|
@@ -139,7 +139,7 @@ function wr(e, t) {
|
|
|
139
139
|
}
|
|
140
140
|
var Ar = "[object Arguments]";
|
|
141
141
|
function bt(e) {
|
|
142
|
-
return ce(e) &&
|
|
142
|
+
return ce(e) && Ue(e) == Ar;
|
|
143
143
|
}
|
|
144
144
|
var Wt = Object.prototype, Cr = Wt.hasOwnProperty, Pr = Wt.propertyIsEnumerable, Or = bt(/* @__PURE__ */ function() {
|
|
145
145
|
return arguments;
|
|
@@ -149,26 +149,26 @@ var Wt = Object.prototype, Cr = Wt.hasOwnProperty, Pr = Wt.propertyIsEnumerable,
|
|
|
149
149
|
function Vr() {
|
|
150
150
|
return !1;
|
|
151
151
|
}
|
|
152
|
-
var Yt = typeof exports == "object" && exports && !exports.nodeType && exports, $t = Yt && typeof module == "object" && module && !module.nodeType && module, xr = $t && $t.exports === Yt, Tt = xr ? Y.Buffer : void 0, Mr = Tt ? Tt.isBuffer : void 0, Ge = Mr || Vr, Ur = "[object Arguments]", Lr = "[object Array]", Dr = "[object Boolean]", jr = "[object Date]", Er = "[object Error]", Nr = "[object Function]", kr = "[object Map]", Br = "[object Number]", Rr = "[object Object]", Fr = "[object RegExp]", Hr = "[object Set]", Gr = "[object String]", zr = "[object WeakMap]", Kr = "[object ArrayBuffer]", qr = "[object DataView]", Xr = "[object Float32Array]", Ir = "[object Float64Array]", Zr = "[object Int8Array]", Jr = "[object Int16Array]", Wr = "[object Int32Array]", Yr = "[object Uint8Array]", Qr = "[object Uint8ClampedArray]", eo = "[object Uint16Array]", to = "[object Uint32Array]",
|
|
153
|
-
|
|
154
|
-
|
|
152
|
+
var Yt = typeof exports == "object" && exports && !exports.nodeType && exports, $t = Yt && typeof module == "object" && module && !module.nodeType && module, xr = $t && $t.exports === Yt, Tt = xr ? Y.Buffer : void 0, Mr = Tt ? Tt.isBuffer : void 0, Ge = Mr || Vr, Ur = "[object Arguments]", Lr = "[object Array]", Dr = "[object Boolean]", jr = "[object Date]", Er = "[object Error]", Nr = "[object Function]", kr = "[object Map]", Br = "[object Number]", Rr = "[object Object]", Fr = "[object RegExp]", Hr = "[object Set]", Gr = "[object String]", zr = "[object WeakMap]", Kr = "[object ArrayBuffer]", qr = "[object DataView]", Xr = "[object Float32Array]", Ir = "[object Float64Array]", Zr = "[object Int8Array]", Jr = "[object Int16Array]", Wr = "[object Int32Array]", Yr = "[object Uint8Array]", Qr = "[object Uint8ClampedArray]", eo = "[object Uint16Array]", to = "[object Uint32Array]", V = {};
|
|
153
|
+
V[Xr] = V[Ir] = V[Zr] = V[Jr] = V[Wr] = V[Yr] = V[Qr] = V[eo] = V[to] = !0;
|
|
154
|
+
V[Ur] = V[Lr] = V[Kr] = V[Dr] = V[qr] = V[jr] = V[Er] = V[Nr] = V[kr] = V[Br] = V[Rr] = V[Fr] = V[Hr] = V[Gr] = V[zr] = !1;
|
|
155
155
|
function no(e) {
|
|
156
|
-
return ce(e) && Zt(e.length) && !!
|
|
156
|
+
return ce(e) && Zt(e.length) && !!V[Ue(e)];
|
|
157
157
|
}
|
|
158
158
|
function ct(e) {
|
|
159
159
|
return function(t) {
|
|
160
160
|
return e(t);
|
|
161
161
|
};
|
|
162
162
|
}
|
|
163
|
-
var Qt = typeof exports == "object" && exports && !exports.nodeType && exports,
|
|
163
|
+
var Qt = typeof exports == "object" && exports && !exports.nodeType && exports, Ce = Qt && typeof module == "object" && module && !module.nodeType && module, ro = Ce && Ce.exports === Qt, Qe = ro && qt.process, $e = function() {
|
|
164
164
|
try {
|
|
165
|
-
var e =
|
|
165
|
+
var e = Ce && Ce.require && Ce.require("util").types;
|
|
166
166
|
return e || Qe && Qe.binding && Qe.binding("util");
|
|
167
167
|
} catch {
|
|
168
168
|
}
|
|
169
169
|
}(), St = $e && $e.isTypedArray, en = St ? ct(St) : no, oo = Object.prototype, lo = oo.hasOwnProperty;
|
|
170
170
|
function io(e, t) {
|
|
171
|
-
var n =
|
|
171
|
+
var n = Pe(e), r = !n && Or(e), l = !n && !r && Ge(e), o = !n && !r && !l && en(e), i = n || r || l || o, s = i ? wr(e.length, String) : [], a = s.length;
|
|
172
172
|
for (var u in e)
|
|
173
173
|
lo.call(e, u) && !(i && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
174
174
|
(u == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
@@ -194,9 +194,9 @@ function co(e) {
|
|
|
194
194
|
function fo(e) {
|
|
195
195
|
return Tr(e) ? io(e) : co(e);
|
|
196
196
|
}
|
|
197
|
-
var
|
|
197
|
+
var Oe = me(Object, "create");
|
|
198
198
|
function po() {
|
|
199
|
-
this.__data__ =
|
|
199
|
+
this.__data__ = Oe ? Oe(null) : {}, this.size = 0;
|
|
200
200
|
}
|
|
201
201
|
function mo(e) {
|
|
202
202
|
var t = this.has(e) && delete this.__data__[e];
|
|
@@ -205,7 +205,7 @@ function mo(e) {
|
|
|
205
205
|
var vo = "__lodash_hash_undefined__", go = Object.prototype, yo = go.hasOwnProperty;
|
|
206
206
|
function ho(e) {
|
|
207
207
|
var t = this.__data__;
|
|
208
|
-
if (
|
|
208
|
+
if (Oe) {
|
|
209
209
|
var n = t[e];
|
|
210
210
|
return n === vo ? void 0 : n;
|
|
211
211
|
}
|
|
@@ -214,12 +214,12 @@ function ho(e) {
|
|
|
214
214
|
var _o = Object.prototype, bo = _o.hasOwnProperty;
|
|
215
215
|
function $o(e) {
|
|
216
216
|
var t = this.__data__;
|
|
217
|
-
return
|
|
217
|
+
return Oe ? t[e] !== void 0 : bo.call(t, e);
|
|
218
218
|
}
|
|
219
219
|
var To = "__lodash_hash_undefined__";
|
|
220
220
|
function So(e, t) {
|
|
221
221
|
var n = this.__data__;
|
|
222
|
-
return this.size += this.has(e) ? 0 : 1, n[e] =
|
|
222
|
+
return this.size += this.has(e) ? 0 : 1, n[e] = Oe && t === void 0 ? To : t, this;
|
|
223
223
|
}
|
|
224
224
|
function fe(e) {
|
|
225
225
|
var t = -1, n = e == null ? 0 : e.length;
|
|
@@ -273,11 +273,11 @@ le.prototype.delete = Po;
|
|
|
273
273
|
le.prototype.get = Oo;
|
|
274
274
|
le.prototype.has = Vo;
|
|
275
275
|
le.prototype.set = xo;
|
|
276
|
-
var
|
|
276
|
+
var Ve = me(Y, "Map");
|
|
277
277
|
function Mo() {
|
|
278
278
|
this.size = 0, this.__data__ = {
|
|
279
279
|
hash: new fe(),
|
|
280
|
-
map: new (
|
|
280
|
+
map: new (Ve || le)(),
|
|
281
281
|
string: new fe()
|
|
282
282
|
};
|
|
283
283
|
}
|
|
@@ -339,7 +339,7 @@ function zo(e, t) {
|
|
|
339
339
|
var n = this.__data__;
|
|
340
340
|
if (n instanceof le) {
|
|
341
341
|
var r = n.__data__;
|
|
342
|
-
if (!
|
|
342
|
+
if (!Ve || r.length < Go - 1)
|
|
343
343
|
return r.push([e, t]), this.size = ++n.size, this;
|
|
344
344
|
n = this.__data__ = new ve(r);
|
|
345
345
|
}
|
|
@@ -376,14 +376,14 @@ var Zo = Object.prototype, Jo = Zo.propertyIsEnumerable, Ct = Object.getOwnPrope
|
|
|
376
376
|
} : Io;
|
|
377
377
|
function Yo(e, t, n) {
|
|
378
378
|
var r = t(e);
|
|
379
|
-
return
|
|
379
|
+
return Pe(e) ? r : No(r, n(e));
|
|
380
380
|
}
|
|
381
381
|
function rt(e) {
|
|
382
382
|
return Yo(e, fo, Wo);
|
|
383
383
|
}
|
|
384
|
-
var ot = me(Y, "DataView"), lt = me(Y, "Promise"), it = me(Y, "Set"), Pt = "[object Map]", Qo = "[object Object]", Ot = "[object Promise]", Vt = "[object Set]", xt = "[object WeakMap]", Mt = "[object DataView]", el = pe(ot), tl = pe(
|
|
385
|
-
(ot && Z(new ot(new ArrayBuffer(1))) != Mt ||
|
|
386
|
-
var t =
|
|
384
|
+
var ot = me(Y, "DataView"), lt = me(Y, "Promise"), it = me(Y, "Set"), Pt = "[object Map]", Qo = "[object Object]", Ot = "[object Promise]", Vt = "[object Set]", xt = "[object WeakMap]", Mt = "[object DataView]", el = pe(ot), tl = pe(Ve), nl = pe(lt), rl = pe(it), ol = pe(nt), Z = Ue;
|
|
385
|
+
(ot && Z(new ot(new ArrayBuffer(1))) != Mt || Ve && Z(new Ve()) != Pt || lt && Z(lt.resolve()) != Ot || it && Z(new it()) != Vt || nt && Z(new nt()) != xt) && (Z = function(e) {
|
|
386
|
+
var t = Ue(e), n = t == Qo ? e.constructor : void 0, r = n ? pe(n) : "";
|
|
387
387
|
if (r)
|
|
388
388
|
switch (r) {
|
|
389
389
|
case el:
|
|
@@ -480,7 +480,7 @@ function Re(e, t, n, r, l, o) {
|
|
|
480
480
|
return i;
|
|
481
481
|
if (!qe(e))
|
|
482
482
|
return e;
|
|
483
|
-
var s =
|
|
483
|
+
var s = Pe(e);
|
|
484
484
|
if (s)
|
|
485
485
|
i = sl(e);
|
|
486
486
|
else {
|
|
@@ -496,17 +496,17 @@ function Re(e, t, n, r, l, o) {
|
|
|
496
496
|
}
|
|
497
497
|
}
|
|
498
498
|
o || (o = new te());
|
|
499
|
-
var
|
|
500
|
-
if (
|
|
501
|
-
return
|
|
499
|
+
var d = o.get(e);
|
|
500
|
+
if (d)
|
|
501
|
+
return d;
|
|
502
502
|
o.set(e, i), Bl(e) ? e.forEach(function(v) {
|
|
503
503
|
i.add(Re(v, t, n, v, e, o));
|
|
504
|
-
}) : El(e) && e.forEach(function(v,
|
|
505
|
-
i.set(
|
|
504
|
+
}) : El(e) && e.forEach(function(v, b) {
|
|
505
|
+
i.set(b, Re(v, t, n, b, e, o));
|
|
506
506
|
});
|
|
507
|
-
var
|
|
508
|
-
return pr(y || e, function(v,
|
|
509
|
-
y && (
|
|
507
|
+
var f = rt, y = s ? void 0 : f(e);
|
|
508
|
+
return pr(y || e, function(v, b) {
|
|
509
|
+
y && (b = v, v = e[b]), br(i, b, Re(v, t, n, b, e, o));
|
|
510
510
|
}), i;
|
|
511
511
|
}
|
|
512
512
|
var ui = 1, ci = 4;
|
|
@@ -541,29 +541,29 @@ function an(e, t, n, r, l, o) {
|
|
|
541
541
|
var i = n & gi, s = e.length, a = t.length;
|
|
542
542
|
if (s != a && !(i && a > s))
|
|
543
543
|
return !1;
|
|
544
|
-
var u = o.get(e),
|
|
545
|
-
if (u &&
|
|
546
|
-
return u == t &&
|
|
547
|
-
var
|
|
548
|
-
for (o.set(e, t), o.set(t, e); ++
|
|
549
|
-
var
|
|
544
|
+
var u = o.get(e), d = o.get(t);
|
|
545
|
+
if (u && d)
|
|
546
|
+
return u == t && d == e;
|
|
547
|
+
var f = -1, y = !0, v = n & yi ? new Ke() : void 0;
|
|
548
|
+
for (o.set(e, t), o.set(t, e); ++f < s; ) {
|
|
549
|
+
var b = e[f], L = t[f];
|
|
550
550
|
if (r)
|
|
551
|
-
var
|
|
552
|
-
if (
|
|
553
|
-
if (
|
|
551
|
+
var _ = i ? r(L, b, f, t, e, o) : r(b, L, f, e, t, o);
|
|
552
|
+
if (_ !== void 0) {
|
|
553
|
+
if (_)
|
|
554
554
|
continue;
|
|
555
555
|
y = !1;
|
|
556
556
|
break;
|
|
557
557
|
}
|
|
558
558
|
if (v) {
|
|
559
559
|
if (!mi(t, function(D, w) {
|
|
560
|
-
if (!vi(v, w) && (
|
|
560
|
+
if (!vi(v, w) && (b === D || l(b, D, n, r, o)))
|
|
561
561
|
return v.push(w);
|
|
562
562
|
})) {
|
|
563
563
|
y = !1;
|
|
564
564
|
break;
|
|
565
565
|
}
|
|
566
|
-
} else if (!(
|
|
566
|
+
} else if (!(b === L || l(b, L, n, r, o))) {
|
|
567
567
|
y = !1;
|
|
568
568
|
break;
|
|
569
569
|
}
|
|
@@ -610,8 +610,8 @@ function Li(e, t, n, r, l, o, i) {
|
|
|
610
610
|
if (u)
|
|
611
611
|
return u == t;
|
|
612
612
|
r |= $i, i.set(e, t);
|
|
613
|
-
var
|
|
614
|
-
return i.delete(e),
|
|
613
|
+
var d = an(s(e), s(t), r, l, o, i);
|
|
614
|
+
return i.delete(e), d;
|
|
615
615
|
case xi:
|
|
616
616
|
if (et)
|
|
617
617
|
return et.call(e) == et.call(t);
|
|
@@ -620,53 +620,53 @@ function Li(e, t, n, r, l, o, i) {
|
|
|
620
620
|
}
|
|
621
621
|
var Di = 1, ji = Object.prototype, Ei = ji.hasOwnProperty;
|
|
622
622
|
function Ni(e, t, n, r, l, o) {
|
|
623
|
-
var i = n & Di, s = rt(e), a = s.length, u = rt(t),
|
|
624
|
-
if (a !=
|
|
623
|
+
var i = n & Di, s = rt(e), a = s.length, u = rt(t), d = u.length;
|
|
624
|
+
if (a != d && !i)
|
|
625
625
|
return !1;
|
|
626
|
-
for (var
|
|
627
|
-
var y = s[
|
|
626
|
+
for (var f = a; f--; ) {
|
|
627
|
+
var y = s[f];
|
|
628
628
|
if (!(i ? y in t : Ei.call(t, y)))
|
|
629
629
|
return !1;
|
|
630
630
|
}
|
|
631
|
-
var v = o.get(e),
|
|
632
|
-
if (v &&
|
|
633
|
-
return v == t &&
|
|
634
|
-
var
|
|
631
|
+
var v = o.get(e), b = o.get(t);
|
|
632
|
+
if (v && b)
|
|
633
|
+
return v == t && b == e;
|
|
634
|
+
var L = !0;
|
|
635
635
|
o.set(e, t), o.set(t, e);
|
|
636
|
-
for (var
|
|
637
|
-
y = s[
|
|
636
|
+
for (var _ = i; ++f < a; ) {
|
|
637
|
+
y = s[f];
|
|
638
638
|
var D = e[y], w = t[y];
|
|
639
639
|
if (r)
|
|
640
|
-
var
|
|
641
|
-
if (!(
|
|
642
|
-
|
|
640
|
+
var x = i ? r(w, D, y, t, e, o) : r(D, w, y, e, t, o);
|
|
641
|
+
if (!(x === void 0 ? D === w || l(D, w, n, r, o) : x)) {
|
|
642
|
+
L = !1;
|
|
643
643
|
break;
|
|
644
644
|
}
|
|
645
|
-
|
|
645
|
+
_ || (_ = y == "constructor");
|
|
646
646
|
}
|
|
647
|
-
if (
|
|
648
|
-
var A = e.constructor,
|
|
649
|
-
A !=
|
|
647
|
+
if (L && !_) {
|
|
648
|
+
var A = e.constructor, M = t.constructor;
|
|
649
|
+
A != M && "constructor" in e && "constructor" in t && !(typeof A == "function" && A instanceof A && typeof M == "function" && M instanceof M) && (L = !1);
|
|
650
650
|
}
|
|
651
|
-
return o.delete(e), o.delete(t),
|
|
651
|
+
return o.delete(e), o.delete(t), L;
|
|
652
652
|
}
|
|
653
|
-
var ki = 1, Nt = "[object Arguments]", kt = "[object Array]",
|
|
653
|
+
var ki = 1, Nt = "[object Arguments]", kt = "[object Array]", Ee = "[object Object]", Bi = Object.prototype, Bt = Bi.hasOwnProperty;
|
|
654
654
|
function Ri(e, t, n, r, l, o) {
|
|
655
|
-
var i =
|
|
656
|
-
a = a == Nt ?
|
|
657
|
-
var
|
|
655
|
+
var i = Pe(e), s = Pe(t), a = i ? kt : Z(e), u = s ? kt : Z(t);
|
|
656
|
+
a = a == Nt ? Ee : a, u = u == Nt ? Ee : u;
|
|
657
|
+
var d = a == Ee, f = u == Ee, y = a == u;
|
|
658
658
|
if (y && Ge(e)) {
|
|
659
659
|
if (!Ge(t))
|
|
660
660
|
return !1;
|
|
661
|
-
i = !0,
|
|
661
|
+
i = !0, d = !1;
|
|
662
662
|
}
|
|
663
|
-
if (y && !
|
|
663
|
+
if (y && !d)
|
|
664
664
|
return o || (o = new te()), i || en(e) ? an(e, t, n, r, l, o) : Li(e, t, a, n, r, l, o);
|
|
665
665
|
if (!(n & ki)) {
|
|
666
|
-
var v =
|
|
667
|
-
if (v ||
|
|
668
|
-
var
|
|
669
|
-
return o || (o = new te()), l(
|
|
666
|
+
var v = d && Bt.call(e, "__wrapped__"), b = f && Bt.call(t, "__wrapped__");
|
|
667
|
+
if (v || b) {
|
|
668
|
+
var L = v ? e.value() : e, _ = b ? t.value() : t;
|
|
669
|
+
return o || (o = new te()), l(L, _, n, r, o);
|
|
670
670
|
}
|
|
671
671
|
}
|
|
672
672
|
return y ? (o || (o = new te()), Ni(e, t, n, r, l, o)) : !1;
|
|
@@ -712,7 +712,7 @@ function Hi(e, t, n) {
|
|
|
712
712
|
}
|
|
713
713
|
}
|
|
714
714
|
}
|
|
715
|
-
const
|
|
715
|
+
const Ne = (e, t) => {
|
|
716
716
|
let n = { key: "", name: "", children: e };
|
|
717
717
|
return t.forEach((r) => {
|
|
718
718
|
if (typeof r != "number") {
|
|
@@ -792,19 +792,19 @@ const ke = (e, t) => {
|
|
|
792
792
|
children: {}
|
|
793
793
|
});
|
|
794
794
|
const u = r.children[a];
|
|
795
|
-
t.children.forEach((
|
|
795
|
+
t.children.forEach((d) => {
|
|
796
796
|
if (!dt(u.children)) {
|
|
797
797
|
console.assert(!1);
|
|
798
798
|
return;
|
|
799
799
|
}
|
|
800
|
-
u.children[
|
|
800
|
+
u.children[d.key] = {
|
|
801
801
|
change: !1,
|
|
802
|
-
children:
|
|
802
|
+
children: d.array ? [] : {}
|
|
803
803
|
}, Je(
|
|
804
804
|
e,
|
|
805
|
-
|
|
805
|
+
d,
|
|
806
806
|
s[a],
|
|
807
|
-
u.children[
|
|
807
|
+
u.children[d.key],
|
|
808
808
|
l,
|
|
809
809
|
a,
|
|
810
810
|
!0
|
|
@@ -870,98 +870,98 @@ const ke = (e, t) => {
|
|
|
870
870
|
}), (n == null ? void 0 : n.change) ?? !1;
|
|
871
871
|
}, fn = Symbol(), dn = Symbol(), pn = Symbol(), mn = Symbol(), vn = Symbol();
|
|
872
872
|
function Ji(e) {
|
|
873
|
-
|
|
873
|
+
xe(fn, e);
|
|
874
874
|
}
|
|
875
875
|
function Wi() {
|
|
876
|
-
return
|
|
876
|
+
return Me(fn);
|
|
877
877
|
}
|
|
878
878
|
function Yi(e) {
|
|
879
|
-
|
|
879
|
+
xe(dn, e);
|
|
880
880
|
}
|
|
881
881
|
function Qi() {
|
|
882
|
-
return
|
|
882
|
+
return Me(dn);
|
|
883
883
|
}
|
|
884
884
|
function es(e) {
|
|
885
|
-
|
|
885
|
+
xe(pn, e);
|
|
886
886
|
}
|
|
887
887
|
function ts() {
|
|
888
|
-
return
|
|
888
|
+
return Me(pn);
|
|
889
889
|
}
|
|
890
890
|
function ns(e) {
|
|
891
|
-
|
|
891
|
+
xe(mn, e);
|
|
892
892
|
}
|
|
893
893
|
function rs() {
|
|
894
|
-
return
|
|
894
|
+
return Me(mn);
|
|
895
895
|
}
|
|
896
896
|
function os(e) {
|
|
897
|
-
|
|
897
|
+
xe(vn, e);
|
|
898
898
|
}
|
|
899
899
|
function gn() {
|
|
900
|
-
return
|
|
900
|
+
return Me(vn);
|
|
901
901
|
}
|
|
902
902
|
const ls = /* @__PURE__ */ z({
|
|
903
903
|
__name: "menu",
|
|
904
904
|
setup(e) {
|
|
905
|
-
const { t } = de(), n = Wi(), r = Qi(), l = ts(), o = rs(), i = B(0), s = B(0), a = B([]), u = G(() => [i.value, s.value]),
|
|
905
|
+
const { t } = de(), n = Wi(), r = Qi(), l = ts(), o = rs(), i = B(0), s = B(0), a = B([]), u = G(() => [i.value, s.value]), d = (_) => {
|
|
906
906
|
const D = () => !(a.value.length <= 0 || !be(l.value, a.value)), w = () => {
|
|
907
907
|
if (!D())
|
|
908
908
|
return;
|
|
909
|
-
const
|
|
910
|
-
if (
|
|
911
|
-
if (
|
|
909
|
+
const x = Ne(n.value, a.value);
|
|
910
|
+
if (x)
|
|
911
|
+
if (x.ui) {
|
|
912
912
|
const A = Ae(r.value, a.value.slice(0, -1));
|
|
913
913
|
if (!A)
|
|
914
914
|
return;
|
|
915
|
-
A[a.value.at(-1)] = N(
|
|
916
|
-
} else if (
|
|
915
|
+
A[a.value.at(-1)] = N(x), o(a.value, A[a.value.at(-1)]);
|
|
916
|
+
} else if (x.array) {
|
|
917
917
|
const A = a.value.at(-1);
|
|
918
918
|
if (A === void 0) {
|
|
919
919
|
console.assert(!1, "invalid last key");
|
|
920
920
|
return;
|
|
921
921
|
}
|
|
922
922
|
if (typeof A == "string") {
|
|
923
|
-
const
|
|
924
|
-
if (!
|
|
923
|
+
const M = Ae(r.value, a.value.slice(0, -1));
|
|
924
|
+
if (!M)
|
|
925
925
|
return;
|
|
926
|
-
|
|
926
|
+
M[a.value.at(-1)] = N(x), o(a.value, M[a.value.at(-1)]);
|
|
927
927
|
} else {
|
|
928
|
-
const
|
|
929
|
-
if (!
|
|
928
|
+
const M = Ae(r.value, a.value);
|
|
929
|
+
if (!M)
|
|
930
930
|
return;
|
|
931
|
-
|
|
932
|
-
|
|
931
|
+
x.children.forEach((W) => {
|
|
932
|
+
M[W.key] = N(x), o([...a.value, W.key], M[W.key]);
|
|
933
933
|
});
|
|
934
934
|
}
|
|
935
935
|
} else {
|
|
936
936
|
const A = Ae(r.value, a.value);
|
|
937
937
|
if (!A)
|
|
938
938
|
return;
|
|
939
|
-
|
|
940
|
-
A[
|
|
939
|
+
x.children.forEach((M) => {
|
|
940
|
+
A[M.key] = N(x), o([...a.value, M.key], A[M.key]);
|
|
941
941
|
});
|
|
942
942
|
}
|
|
943
943
|
};
|
|
944
|
-
D() &&
|
|
944
|
+
D() && _.push({
|
|
945
945
|
title: t("x-prop-tree.reset"),
|
|
946
946
|
func: w
|
|
947
947
|
});
|
|
948
|
-
},
|
|
948
|
+
}, f = (_) => {
|
|
949
949
|
const D = () => {
|
|
950
|
-
const w =
|
|
951
|
-
localStorage.setItem("propTreeCopy", JSON.stringify({ prop: w, object:
|
|
950
|
+
const w = Ne(n.value, a.value), x = Ae(r.value, a.value);
|
|
951
|
+
localStorage.setItem("propTreeCopy", JSON.stringify({ prop: w, object: x }));
|
|
952
952
|
};
|
|
953
|
-
|
|
953
|
+
_.push({
|
|
954
954
|
title: t("x-prop-tree.copy"),
|
|
955
955
|
func: D
|
|
956
956
|
});
|
|
957
|
-
}, y = (
|
|
957
|
+
}, y = (_) => {
|
|
958
958
|
const D = () => {
|
|
959
|
-
const
|
|
960
|
-
if (!
|
|
959
|
+
const x = localStorage.getItem("propTreeCopy");
|
|
960
|
+
if (!x)
|
|
961
961
|
return !1;
|
|
962
962
|
try {
|
|
963
|
-
const { prop: A } = JSON.parse(
|
|
964
|
-
return Gi(A,
|
|
963
|
+
const { prop: A } = JSON.parse(x), M = Ne(n.value, a.value);
|
|
964
|
+
return Gi(A, M);
|
|
965
965
|
} catch (A) {
|
|
966
966
|
console.error(A);
|
|
967
967
|
}
|
|
@@ -969,30 +969,30 @@ const ls = /* @__PURE__ */ z({
|
|
|
969
969
|
}, w = () => {
|
|
970
970
|
if (!D())
|
|
971
971
|
return;
|
|
972
|
-
const
|
|
973
|
-
if (
|
|
972
|
+
const x = localStorage.getItem("propTreeCopy");
|
|
973
|
+
if (x)
|
|
974
974
|
try {
|
|
975
|
-
const { object: A } = JSON.parse(
|
|
976
|
-
console.log(A,
|
|
975
|
+
const { object: A } = JSON.parse(x), M = Ne(n.value, a.value);
|
|
976
|
+
console.log(A, M);
|
|
977
977
|
} catch (A) {
|
|
978
978
|
console.error(A);
|
|
979
979
|
}
|
|
980
980
|
};
|
|
981
|
-
D() &&
|
|
981
|
+
D() && _.push({
|
|
982
982
|
title: t("x-prop-tree.paste"),
|
|
983
983
|
func: w
|
|
984
984
|
});
|
|
985
985
|
}, v = G(() => {
|
|
986
|
-
const
|
|
987
|
-
return
|
|
988
|
-
}),
|
|
989
|
-
i.value =
|
|
990
|
-
}, { open:
|
|
991
|
-
return (
|
|
992
|
-
const w = O("v-list-item-title"),
|
|
993
|
-
return S(), R(
|
|
994
|
-
modelValue: E(
|
|
995
|
-
"onUpdate:modelValue": D[0] || (D[0] = (W) => Fe(
|
|
986
|
+
const _ = [];
|
|
987
|
+
return d(_), f(_), y(_), _;
|
|
988
|
+
}), b = (_) => {
|
|
989
|
+
i.value = _.x, s.value = _.y, a.value = _.keys;
|
|
990
|
+
}, { open: L } = at("propTreeMenu", b);
|
|
991
|
+
return (_, D) => {
|
|
992
|
+
const w = O("v-list-item-title"), x = O("v-list-item"), A = O("v-list"), M = O("v-menu");
|
|
993
|
+
return S(), R(M, {
|
|
994
|
+
modelValue: E(L),
|
|
995
|
+
"onUpdate:modelValue": D[0] || (D[0] = (W) => Fe(L) ? L.value = W : null),
|
|
996
996
|
"location-strategy": "connected",
|
|
997
997
|
target: u.value,
|
|
998
998
|
scrim: "transparent"
|
|
@@ -1000,7 +1000,7 @@ const ls = /* @__PURE__ */ z({
|
|
|
1000
1000
|
default: J(() => [
|
|
1001
1001
|
k(A, null, {
|
|
1002
1002
|
default: J(() => [
|
|
1003
|
-
(S(!0), F(He, null, Ht(v.value, (W, We) => (S(), R(
|
|
1003
|
+
(S(!0), F(He, null, Ht(v.value, (W, We) => (S(), R(x, {
|
|
1004
1004
|
key: We,
|
|
1005
1005
|
link: "",
|
|
1006
1006
|
onClick: W.func
|
|
@@ -1025,7 +1025,7 @@ const ls = /* @__PURE__ */ z({
|
|
|
1025
1025
|
}
|
|
1026
1026
|
});
|
|
1027
1027
|
var yn = "M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z", hn = "M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z", is = "M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z", ge = "M19,13H5V11H19V13Z", ss = "M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z";
|
|
1028
|
-
const
|
|
1028
|
+
const ke = /* @__PURE__ */ z({
|
|
1029
1029
|
__name: "title",
|
|
1030
1030
|
props: {
|
|
1031
1031
|
title: {},
|
|
@@ -1046,33 +1046,33 @@ const Be = /* @__PURE__ */ z({
|
|
|
1046
1046
|
}, a = (u) => {
|
|
1047
1047
|
l("menu", u.clientX, u.clientY);
|
|
1048
1048
|
};
|
|
1049
|
-
return (u,
|
|
1050
|
-
const
|
|
1049
|
+
return (u, d) => {
|
|
1050
|
+
const f = O("v-icon"), y = O("v-spacer"), v = ae("ripple");
|
|
1051
1051
|
return re((S(), F("div", {
|
|
1052
1052
|
class: "d-flex align-center cursor-pointer",
|
|
1053
1053
|
style: ie(i.value),
|
|
1054
1054
|
onClick: s,
|
|
1055
1055
|
onContextmenu: K(a, ["prevent"]),
|
|
1056
|
-
onMouseover:
|
|
1057
|
-
onMouseout:
|
|
1056
|
+
onMouseover: d[2] || (d[2] = (b) => o.value = !0),
|
|
1057
|
+
onMouseout: d[3] || (d[3] = (b) => o.value = !1)
|
|
1058
1058
|
}, [
|
|
1059
|
-
k(
|
|
1059
|
+
k(f, {
|
|
1060
1060
|
class: "mr-1",
|
|
1061
1061
|
icon: u.collapse ? E(hn) : E(yn)
|
|
1062
1062
|
}, null, 8, ["icon"]),
|
|
1063
1063
|
q("span", null, ne(u.title), 1),
|
|
1064
1064
|
k(y),
|
|
1065
|
-
u.hasCreate ? (S(), R(
|
|
1065
|
+
u.hasCreate ? (S(), R(f, {
|
|
1066
1066
|
key: 0,
|
|
1067
1067
|
class: "mx-3",
|
|
1068
1068
|
icon: E(ss),
|
|
1069
|
-
onClick:
|
|
1069
|
+
onClick: d[0] || (d[0] = K((b) => l("create"), ["stop"]))
|
|
1070
1070
|
}, null, 8, ["icon"])) : X("", !0),
|
|
1071
|
-
u.hasDelete ? (S(), R(
|
|
1071
|
+
u.hasDelete ? (S(), R(f, {
|
|
1072
1072
|
key: 1,
|
|
1073
1073
|
class: "mx-3",
|
|
1074
1074
|
icon: E(ge),
|
|
1075
|
-
onClick:
|
|
1075
|
+
onClick: d[1] || (d[1] = K((b) => l("delete", u.index), ["stop"]))
|
|
1076
1076
|
}, null, 8, ["icon"])) : X("", !0)
|
|
1077
1077
|
], 36)), [
|
|
1078
1078
|
[v]
|
|
@@ -1096,17 +1096,17 @@ const Be = /* @__PURE__ */ z({
|
|
|
1096
1096
|
l("menu", a.clientX, a.clientY);
|
|
1097
1097
|
};
|
|
1098
1098
|
return (a, u) => {
|
|
1099
|
-
const
|
|
1099
|
+
const d = ae("ripple");
|
|
1100
1100
|
return re((S(), F("div", {
|
|
1101
1101
|
class: "d-flex justify-space-between align-center cursor-pointer",
|
|
1102
1102
|
style: ie(i.value),
|
|
1103
1103
|
onContextmenu: K(s, ["prevent"]),
|
|
1104
|
-
onMouseover: u[0] || (u[0] = (
|
|
1105
|
-
onMouseout: u[1] || (u[1] = (
|
|
1104
|
+
onMouseover: u[0] || (u[0] = (f) => o.value = !0),
|
|
1105
|
+
onMouseout: u[1] || (u[1] = (f) => o.value = !1)
|
|
1106
1106
|
}, [
|
|
1107
1107
|
Mn(a.$slots, "default")
|
|
1108
1108
|
], 36)), [
|
|
1109
|
-
[
|
|
1109
|
+
[d]
|
|
1110
1110
|
]);
|
|
1111
1111
|
};
|
|
1112
1112
|
}
|
|
@@ -1119,8 +1119,8 @@ function us(e, t, n) {
|
|
|
1119
1119
|
as,
|
|
1120
1120
|
{
|
|
1121
1121
|
minHeight: t.value,
|
|
1122
|
-
onMenu: (u,
|
|
1123
|
-
_e.emit("propTreeMenu", { x: u, y:
|
|
1122
|
+
onMenu: (u, d) => {
|
|
1123
|
+
_e.emit("propTreeMenu", { x: u, y: d, keys: o });
|
|
1124
1124
|
}
|
|
1125
1125
|
},
|
|
1126
1126
|
() => [
|
|
@@ -1433,10 +1433,10 @@ function Ts(e) {
|
|
|
1433
1433
|
},
|
|
1434
1434
|
items: (() => {
|
|
1435
1435
|
const a = [];
|
|
1436
|
-
return l.items.forEach(({ title: u, value:
|
|
1436
|
+
return l.items.forEach(({ title: u, value: d }) => {
|
|
1437
1437
|
a.push({
|
|
1438
1438
|
title: t(u),
|
|
1439
|
-
value:
|
|
1439
|
+
value: d
|
|
1440
1440
|
});
|
|
1441
1441
|
}), a;
|
|
1442
1442
|
})(),
|
|
@@ -1460,7 +1460,7 @@ const Ss = { class: "text-subtitle-2 ml-1" }, ws = { class: "text-caption text-g
|
|
|
1460
1460
|
userSelect: "none"
|
|
1461
1461
|
}));
|
|
1462
1462
|
return (a, u) => {
|
|
1463
|
-
const
|
|
1463
|
+
const d = O("v-icon"), f = ae("ripple");
|
|
1464
1464
|
return re((S(), F("div", {
|
|
1465
1465
|
class: "d-flex align-center cursor-pointer",
|
|
1466
1466
|
style: ie(s.value),
|
|
@@ -1468,14 +1468,14 @@ const Ss = { class: "text-subtitle-2 ml-1" }, ws = { class: "text-caption text-g
|
|
|
1468
1468
|
onMouseover: u[1] || (u[1] = (y) => i.value = !0),
|
|
1469
1469
|
onMouseout: u[2] || (u[2] = (y) => i.value = !1)
|
|
1470
1470
|
}, [
|
|
1471
|
-
k(
|
|
1471
|
+
k(d, {
|
|
1472
1472
|
icon: l.collapse ? E(hn) : E(yn),
|
|
1473
1473
|
size: "small"
|
|
1474
1474
|
}, null, 8, ["icon"]),
|
|
1475
1475
|
q("span", Ss, ne(l.title), 1),
|
|
1476
1476
|
q("span", ws, ne(l.count), 1)
|
|
1477
1477
|
], 36)), [
|
|
1478
|
-
[
|
|
1478
|
+
[f]
|
|
1479
1479
|
]);
|
|
1480
1480
|
};
|
|
1481
1481
|
}
|
|
@@ -1494,17 +1494,17 @@ const Ss = { class: "text-subtitle-2 ml-1" }, ws = { class: "text-caption text-g
|
|
|
1494
1494
|
userSelect: "none"
|
|
1495
1495
|
}));
|
|
1496
1496
|
return (a, u) => {
|
|
1497
|
-
const
|
|
1497
|
+
const d = ae("ripple");
|
|
1498
1498
|
return re((S(), F("div", {
|
|
1499
1499
|
class: "d-flex align-center cursor-pointer",
|
|
1500
1500
|
style: ie(s.value),
|
|
1501
|
-
onClick: u[0] || (u[0] = (
|
|
1502
|
-
onMouseover: u[1] || (u[1] = (
|
|
1503
|
-
onMouseout: u[2] || (u[2] = (
|
|
1501
|
+
onClick: u[0] || (u[0] = (f) => o("x-click", l.id)),
|
|
1502
|
+
onMouseover: u[1] || (u[1] = (f) => i.value = !0),
|
|
1503
|
+
onMouseout: u[2] || (u[2] = (f) => i.value = !1)
|
|
1504
1504
|
}, [
|
|
1505
1505
|
q("span", Cs, ne(l.title), 1)
|
|
1506
1506
|
], 36)), [
|
|
1507
|
-
[
|
|
1507
|
+
[d]
|
|
1508
1508
|
]);
|
|
1509
1509
|
};
|
|
1510
1510
|
}
|
|
@@ -1571,32 +1571,32 @@ const Ss = { class: "text-subtitle-2 ml-1" }, ws = { class: "text-caption text-g
|
|
|
1571
1571
|
};
|
|
1572
1572
|
}), u = G(() => ({
|
|
1573
1573
|
height: "60px"
|
|
1574
|
-
})),
|
|
1574
|
+
})), d = G(() => {
|
|
1575
1575
|
if (!o.value)
|
|
1576
1576
|
return t("x-prop-tree.notSet");
|
|
1577
1577
|
const y = cn(i, o.value);
|
|
1578
1578
|
return y ? y.name : t("x-runtime-lib.compNotAvail");
|
|
1579
|
-
}), { open:
|
|
1579
|
+
}), { open: f } = at(`propTreeCompSelectDlg${Gt()}`);
|
|
1580
1580
|
return zt(() => {
|
|
1581
|
-
|
|
1581
|
+
f.value = !1;
|
|
1582
1582
|
}), (y, v) => {
|
|
1583
|
-
const
|
|
1583
|
+
const b = O("v-btn"), L = O("v-sheet"), _ = O("v-icon"), D = O("v-dialog");
|
|
1584
1584
|
return S(), R(D, {
|
|
1585
|
-
modelValue: E(
|
|
1586
|
-
"onUpdate:modelValue": v[5] || (v[5] = (w) => Fe(
|
|
1585
|
+
modelValue: E(f),
|
|
1586
|
+
"onUpdate:modelValue": v[5] || (v[5] = (w) => Fe(f) ? f.value = w : null),
|
|
1587
1587
|
transition: "scroll-x-reverse-transition",
|
|
1588
1588
|
persistent: "",
|
|
1589
1589
|
"no-click-animation": "",
|
|
1590
1590
|
fullscreen: "",
|
|
1591
|
-
onKeydown: v[6] || (v[6] = Un(K((w) =>
|
|
1591
|
+
onKeydown: v[6] || (v[6] = Un(K((w) => f.value = !1, ["stop", "prevent"]), ["esc"]))
|
|
1592
1592
|
}, {
|
|
1593
1593
|
activator: J(({ props: w }) => [
|
|
1594
|
-
k(
|
|
1594
|
+
k(b, Kt(w, {
|
|
1595
1595
|
density: "comfortable",
|
|
1596
1596
|
block: ""
|
|
1597
1597
|
}), {
|
|
1598
1598
|
default: J(() => [
|
|
1599
|
-
st(ne(
|
|
1599
|
+
st(ne(d.value), 1)
|
|
1600
1600
|
]),
|
|
1601
1601
|
_: 2
|
|
1602
1602
|
}, 1040)
|
|
@@ -1604,27 +1604,27 @@ const Ss = { class: "text-subtitle-2 ml-1" }, ws = { class: "text-caption text-g
|
|
|
1604
1604
|
default: J(() => [
|
|
1605
1605
|
q("div", {
|
|
1606
1606
|
class: "w-100 h-100 d-flex flex-row-reverse",
|
|
1607
|
-
onClick: v[3] || (v[3] = K((w) =>
|
|
1608
|
-
onContextmenu: v[4] || (v[4] = K((w) =>
|
|
1607
|
+
onClick: v[3] || (v[3] = K((w) => f.value = !1, ["self"])),
|
|
1608
|
+
onContextmenu: v[4] || (v[4] = K((w) => f.value = !1, ["self", "prevent"]))
|
|
1609
1609
|
}, [
|
|
1610
1610
|
q("div", {
|
|
1611
1611
|
class: "elevation-2",
|
|
1612
1612
|
style: ie(s.value)
|
|
1613
1613
|
}, [
|
|
1614
|
-
E(r) ? (S(), R(
|
|
1614
|
+
E(r) ? (S(), R(L, {
|
|
1615
1615
|
key: 0,
|
|
1616
1616
|
color: "transparent",
|
|
1617
1617
|
height: 24
|
|
1618
1618
|
})) : X("", !0),
|
|
1619
|
-
k(
|
|
1619
|
+
k(L, {
|
|
1620
1620
|
class: "d-flex align-center px-3",
|
|
1621
1621
|
color: "transparent",
|
|
1622
1622
|
height: 48
|
|
1623
1623
|
}, {
|
|
1624
1624
|
default: J(() => [
|
|
1625
|
-
k(
|
|
1625
|
+
k(_, {
|
|
1626
1626
|
icon: E(is),
|
|
1627
|
-
onClick: v[0] || (v[0] = (w) =>
|
|
1627
|
+
onClick: v[0] || (v[0] = (w) => f.value = !1)
|
|
1628
1628
|
}, null, 8, ["icon"]),
|
|
1629
1629
|
q("span", Ms, ne(E(t)("x-prop-tree.dlg.compSelect.title")), 1)
|
|
1630
1630
|
]),
|
|
@@ -1637,8 +1637,8 @@ const Ss = { class: "text-subtitle-2 ml-1" }, ws = { class: "text-caption text-g
|
|
|
1637
1637
|
k(xs, {
|
|
1638
1638
|
modelValue: o.value,
|
|
1639
1639
|
"onUpdate:modelValue": v[1] || (v[1] = (w) => o.value = w),
|
|
1640
|
-
open: E(
|
|
1641
|
-
"onUpdate:open": v[2] || (v[2] = (w) => Fe(
|
|
1640
|
+
open: E(f),
|
|
1641
|
+
"onUpdate:open": v[2] || (v[2] = (w) => Fe(f) ? f.value = w : null)
|
|
1642
1642
|
}, null, 8, ["modelValue", "open"]),
|
|
1643
1643
|
q("div", {
|
|
1644
1644
|
style: ie(u.value)
|
|
@@ -1695,7 +1695,7 @@ const Ds = { class: "d-flex justify-space-between align-center" }, js = /* @__PU
|
|
|
1695
1695
|
return zt(() => {
|
|
1696
1696
|
i.value = !1;
|
|
1697
1697
|
}), (s, a) => {
|
|
1698
|
-
const u = O("v-btn"),
|
|
1698
|
+
const u = O("v-btn"), d = O("v-icon"), f = O("v-color-picker"), y = O("v-menu");
|
|
1699
1699
|
return S(), R(y, {
|
|
1700
1700
|
modelValue: E(i),
|
|
1701
1701
|
"onUpdate:modelValue": a[2] || (a[2] = (v) => Fe(i) ? i.value = v : null),
|
|
@@ -1720,16 +1720,16 @@ const Ds = { class: "d-flex justify-space-between align-center" }, js = /* @__PU
|
|
|
1720
1720
|
_: 2
|
|
1721
1721
|
}, 1040, ["color", "disabled"])
|
|
1722
1722
|
], 4),
|
|
1723
|
-
s.hasDelete ? (S(), R(
|
|
1723
|
+
s.hasDelete ? (S(), R(d, {
|
|
1724
1724
|
key: 0,
|
|
1725
1725
|
class: "mx-2",
|
|
1726
1726
|
icon: E(ge),
|
|
1727
|
-
onClick: a[0] || (a[0] = K((
|
|
1727
|
+
onClick: a[0] || (a[0] = K((b) => r("delete"), ["stop"]))
|
|
1728
1728
|
}, null, 8, ["icon"])) : X("", !0)
|
|
1729
1729
|
])
|
|
1730
1730
|
]),
|
|
1731
1731
|
default: J(() => [
|
|
1732
|
-
k(
|
|
1732
|
+
k(f, {
|
|
1733
1733
|
modelValue: n.value,
|
|
1734
1734
|
"onUpdate:modelValue": a[1] || (a[1] = (v) => n.value = v),
|
|
1735
1735
|
mode: "hexa",
|
|
@@ -1782,49 +1782,50 @@ const Ns = { class: "d-flex justify-space-between align-center my-2" }, ks = { c
|
|
|
1782
1782
|
emits: /* @__PURE__ */ I(["delete"], ["update:modelValue"]),
|
|
1783
1783
|
setup(e, { emit: t }) {
|
|
1784
1784
|
const { t: n } = de(), r = oe(e, "modelValue"), l = t, o = B(0), i = G(() => {
|
|
1785
|
-
const
|
|
1786
|
-
return e.types.forEach(({ name: f },
|
|
1787
|
-
|
|
1785
|
+
const d = [];
|
|
1786
|
+
return e.types.forEach(({ name: f }, y) => {
|
|
1787
|
+
d.push({
|
|
1788
1788
|
title: n(f),
|
|
1789
|
-
value:
|
|
1789
|
+
value: y
|
|
1790
1790
|
});
|
|
1791
|
-
}),
|
|
1791
|
+
}), d;
|
|
1792
1792
|
});
|
|
1793
1793
|
vt(() => {
|
|
1794
|
-
e.types.some((
|
|
1795
|
-
});
|
|
1796
|
-
const s = G(() => e.types[o.value]);
|
|
1797
|
-
Ce(s, (u) => {
|
|
1798
|
-
r.value = u.default;
|
|
1794
|
+
e.types.some((d, f) => d.validator(r.value) ? (o.value = f, !0) : !1);
|
|
1799
1795
|
});
|
|
1800
|
-
const a =
|
|
1796
|
+
const s = G(() => e.types[o.value]), a = () => {
|
|
1797
|
+
r.value = s.value.default;
|
|
1798
|
+
}, u = B(0);
|
|
1801
1799
|
return vt(() => {
|
|
1802
|
-
s.value.ui === "pixelInput" ?
|
|
1803
|
-
}),
|
|
1804
|
-
s.value.ui === "pixelInput" ? r.value =
|
|
1805
|
-
}), (
|
|
1806
|
-
const
|
|
1800
|
+
s.value.ui === "pixelInput" ? u.value = Nn(r.value) : s.value.ui === "percentInput" && (u.value = kn(r.value));
|
|
1801
|
+
}), Be(u, (d) => {
|
|
1802
|
+
s.value.ui === "pixelInput" ? r.value = d + "px" : s.value.ui === "percentInput" && (r.value = d + "%");
|
|
1803
|
+
}), (d, f) => {
|
|
1804
|
+
const y = O("v-select"), v = O("v-number-input"), b = O("v-icon"), L = ae("ripple");
|
|
1807
1805
|
return S(), F("div", Ns, [
|
|
1808
1806
|
q("div", ks, [
|
|
1809
|
-
re(k(
|
|
1807
|
+
re(k(y, {
|
|
1810
1808
|
modelValue: o.value,
|
|
1811
|
-
"onUpdate:modelValue":
|
|
1809
|
+
"onUpdate:modelValue": [
|
|
1810
|
+
f[0] || (f[0] = (_) => o.value = _),
|
|
1811
|
+
a
|
|
1812
|
+
],
|
|
1812
1813
|
density: "compact",
|
|
1813
1814
|
items: i.value,
|
|
1814
1815
|
"hide-details": "",
|
|
1815
1816
|
"single-line": ""
|
|
1816
1817
|
}, null, 8, ["modelValue", "items"]), [
|
|
1817
1818
|
[
|
|
1818
|
-
|
|
1819
|
+
L,
|
|
1819
1820
|
void 0,
|
|
1820
1821
|
void 0,
|
|
1821
1822
|
{ stop: !0 }
|
|
1822
1823
|
]
|
|
1823
1824
|
]),
|
|
1824
|
-
s.value.ui === "pixelInput" || s.value.ui === "percentInput" ? re((S(), R(
|
|
1825
|
+
s.value.ui === "pixelInput" || s.value.ui === "percentInput" ? re((S(), R(v, {
|
|
1825
1826
|
key: 0,
|
|
1826
|
-
modelValue:
|
|
1827
|
-
"onUpdate:modelValue": f[1] || (f[1] = (
|
|
1827
|
+
modelValue: u.value,
|
|
1828
|
+
"onUpdate:modelValue": f[1] || (f[1] = (_) => u.value = _),
|
|
1828
1829
|
density: "compact",
|
|
1829
1830
|
"control-variant": "stacked",
|
|
1830
1831
|
precision: s.value.precision,
|
|
@@ -1835,18 +1836,18 @@ const Ns = { class: "d-flex justify-space-between align-center my-2" }, ks = { c
|
|
|
1835
1836
|
"single-line": ""
|
|
1836
1837
|
}, null, 8, ["modelValue", "precision", "min", "max", "step"])), [
|
|
1837
1838
|
[
|
|
1838
|
-
|
|
1839
|
+
L,
|
|
1839
1840
|
void 0,
|
|
1840
1841
|
void 0,
|
|
1841
1842
|
{ stop: !0 }
|
|
1842
1843
|
]
|
|
1843
1844
|
]) : X("", !0)
|
|
1844
1845
|
]),
|
|
1845
|
-
|
|
1846
|
+
d.hasDelete ? (S(), R(b, {
|
|
1846
1847
|
key: 0,
|
|
1847
1848
|
class: "mx-2",
|
|
1848
1849
|
icon: E(ge),
|
|
1849
|
-
onClick: f[2] || (f[2] = K((
|
|
1850
|
+
onClick: f[2] || (f[2] = K((_) => l("delete"), ["stop"]))
|
|
1850
1851
|
}, null, 8, ["icon"])) : X("", !0)
|
|
1851
1852
|
]);
|
|
1852
1853
|
};
|
|
@@ -1889,81 +1890,81 @@ const Fs = /* @__PURE__ */ z({
|
|
|
1889
1890
|
},
|
|
1890
1891
|
emits: ["change"],
|
|
1891
1892
|
setup(e, { emit: t }) {
|
|
1892
|
-
const { t: n } = de(), { backgroundColor1: r } = Te(), l = e, o = t, i = B("20px"), s = B("56px"), a = B("200px"), u = Ln({}),
|
|
1893
|
-
Ft(
|
|
1893
|
+
const { t: n } = de(), { backgroundColor1: r } = Te(), l = e, o = t, i = B("20px"), s = B("56px"), a = B("200px"), u = Ln({}), d = B({}), f = (m, c) => {
|
|
1894
|
+
Ft(d, l.config, l.object), o("change", m, c);
|
|
1894
1895
|
};
|
|
1895
|
-
|
|
1896
|
+
Be(
|
|
1896
1897
|
[() => l.config, () => l.object],
|
|
1897
1898
|
() => {
|
|
1898
|
-
Ft(
|
|
1899
|
+
Ft(d, l.config, l.object, (m, c) => {
|
|
1899
1900
|
o("change", m, c);
|
|
1900
1901
|
});
|
|
1901
1902
|
},
|
|
1902
1903
|
{ immediate: !0 }
|
|
1903
1904
|
);
|
|
1904
1905
|
const y = B(l.config);
|
|
1905
|
-
Ji(y),
|
|
1906
|
+
Ji(y), Be(
|
|
1906
1907
|
() => l.config,
|
|
1907
1908
|
() => {
|
|
1908
1909
|
y.value = l.config;
|
|
1909
1910
|
}
|
|
1910
1911
|
);
|
|
1911
1912
|
const v = B(l.object);
|
|
1912
|
-
Yi(v),
|
|
1913
|
+
Yi(v), Be(
|
|
1913
1914
|
() => l.object,
|
|
1914
1915
|
() => {
|
|
1915
1916
|
v.value = l.object;
|
|
1916
1917
|
}
|
|
1917
|
-
), es(
|
|
1918
|
-
const
|
|
1919
|
-
os(
|
|
1920
|
-
const
|
|
1918
|
+
), es(d), ns(f);
|
|
1919
|
+
const b = B([]);
|
|
1920
|
+
os(b);
|
|
1921
|
+
const L = () => {
|
|
1921
1922
|
const { compGroups: m, comps: c } = Rn.app.activeApp, g = [];
|
|
1922
|
-
m.forEach(({ id: p, name:
|
|
1923
|
-
const
|
|
1923
|
+
m.forEach(({ id: p, name: $, position: C }) => {
|
|
1924
|
+
const U = b.value.find((Q) => Q.id === p);
|
|
1924
1925
|
g.push({
|
|
1925
1926
|
id: p,
|
|
1926
1927
|
type: 0,
|
|
1927
|
-
name:
|
|
1928
|
+
name: $,
|
|
1928
1929
|
position: C,
|
|
1929
|
-
collapse: (
|
|
1930
|
+
collapse: (U == null ? void 0 : U.collapse) ?? !0
|
|
1930
1931
|
});
|
|
1931
|
-
}), c.forEach(({ id: p, groupid:
|
|
1932
|
-
g.push({ id: p, type: 1, name: C, position:
|
|
1933
|
-
}), Fi(g, !0),
|
|
1932
|
+
}), c.forEach(({ id: p, groupid: $, name: C, position: U }) => {
|
|
1933
|
+
g.push({ id: p, type: 1, name: C, position: U, group: $ });
|
|
1934
|
+
}), Fi(g, !0), b.value = g;
|
|
1934
1935
|
};
|
|
1935
|
-
let
|
|
1936
|
+
let _;
|
|
1936
1937
|
const D = () => {
|
|
1937
|
-
clearTimeout(
|
|
1938
|
-
|
|
1938
|
+
clearTimeout(_), _ = window.setTimeout(() => {
|
|
1939
|
+
L(), _ && D();
|
|
1939
1940
|
}, 1e3);
|
|
1940
1941
|
}, w = () => {
|
|
1941
|
-
clearTimeout(
|
|
1942
|
+
clearTimeout(_), _ = void 0;
|
|
1942
1943
|
};
|
|
1943
1944
|
Dn(() => {
|
|
1944
1945
|
D();
|
|
1945
1946
|
}), jn(() => {
|
|
1946
1947
|
w();
|
|
1947
1948
|
});
|
|
1948
|
-
const { renderProp:
|
|
1949
|
+
const { renderProp: x } = us(d, s, a), { renderUiDummy: A } = cs(f), { renderUiStrInput: M } = ps(f), { renderUiNumInput: W } = gs(f), { renderUiSwitch: We } = _s(f), { renderUiSelect: _n } = Ts(f), { renderUiColorPicker: bn } = Es(f), { renderUiMultiTypes: $n } = Rs(f), { renderUiCompSelect: Tn } = Ls(f), Le = (m, c, g, p, $, C) => (m = sn(m), $ !== void 0 ? (m.push($), C && m.push(c.key)) : m.push(c.key), c.ui ? c.array && $ === void 0 ? An(m, c, g, p, $, C) : Cn(m, c, g, $, C) : c.array ? Sn(m, c, g, p, $, C) : wn(
|
|
1949
1950
|
m,
|
|
1950
1951
|
c,
|
|
1951
1952
|
g,
|
|
1952
1953
|
p,
|
|
1953
|
-
|
|
1954
|
+
$,
|
|
1954
1955
|
C
|
|
1955
|
-
)), Sn = (m, c, g, p,
|
|
1956
|
+
)), Sn = (m, c, g, p, $, C) => {
|
|
1956
1957
|
if (c.ui)
|
|
1957
1958
|
return console.assert(!1), h("div", "renderBranchArray prop ui must be invalid");
|
|
1958
1959
|
if (!c.array)
|
|
1959
1960
|
return console.assert(!1), h("div", "renderBranchArray prop array must be valid");
|
|
1960
1961
|
if (!p)
|
|
1961
1962
|
return console.assert(!1), h("div", "renderBranchArray branch must be valid");
|
|
1962
|
-
let
|
|
1963
|
-
|
|
1963
|
+
let U;
|
|
1964
|
+
$ !== void 0 && !C ? (g[$] instanceof Array || (g[$] = N(c), f(m, g[c.key])), U = g[$]) : (g[c.key] instanceof Array || (g[c.key] = N(c), f(m, g[c.key])), U = g[c.key]);
|
|
1964
1965
|
let Q = n(c.name);
|
|
1965
|
-
p.collapse && be(
|
|
1966
|
-
const Se = h(
|
|
1966
|
+
p.collapse && be(d.value, m) && (Q += " *");
|
|
1967
|
+
const Se = h(ke, {
|
|
1967
1968
|
title: Q,
|
|
1968
1969
|
collapse: p.collapse,
|
|
1969
1970
|
hasCreate: !0,
|
|
@@ -1974,7 +1975,7 @@ const Fs = /* @__PURE__ */ z({
|
|
|
1974
1975
|
_e.emit("propTreeMenu", { x: T, y: j, keys: m });
|
|
1975
1976
|
},
|
|
1976
1977
|
onCreate: () => {
|
|
1977
|
-
|
|
1978
|
+
U.push({}), f(m, U);
|
|
1978
1979
|
}
|
|
1979
1980
|
}), H = h(
|
|
1980
1981
|
"div",
|
|
@@ -1985,7 +1986,7 @@ const Fs = /* @__PURE__ */ z({
|
|
|
1985
1986
|
},
|
|
1986
1987
|
(() => {
|
|
1987
1988
|
const T = [];
|
|
1988
|
-
for (let j = 0; j <
|
|
1989
|
+
for (let j = 0; j < U.length; j++) {
|
|
1989
1990
|
if (!tt(p.children)) {
|
|
1990
1991
|
console.assert(!1);
|
|
1991
1992
|
break;
|
|
@@ -1994,10 +1995,10 @@ const Fs = /* @__PURE__ */ z({
|
|
|
1994
1995
|
collapse: !0,
|
|
1995
1996
|
children: {}
|
|
1996
1997
|
});
|
|
1997
|
-
const
|
|
1998
|
+
const De = [...m, j], je = p.children[j];
|
|
1998
1999
|
let mt = n("x-prop-tree.entry", { index: j });
|
|
1999
|
-
p.children[j].collapse && be(
|
|
2000
|
-
const On = h(
|
|
2000
|
+
p.children[j].collapse && be(d.value, De) && (mt += " *");
|
|
2001
|
+
const On = h(ke, {
|
|
2001
2002
|
title: mt,
|
|
2002
2003
|
collapse: p.children[j].collapse,
|
|
2003
2004
|
hasDelete: !0,
|
|
@@ -2010,14 +2011,14 @@ const Fs = /* @__PURE__ */ z({
|
|
|
2010
2011
|
p.children[j].collapse = ee;
|
|
2011
2012
|
},
|
|
2012
2013
|
onMenu: (ee, ue) => {
|
|
2013
|
-
_e.emit("propTreeMenu", { x: ee, y: ue, keys:
|
|
2014
|
+
_e.emit("propTreeMenu", { x: ee, y: ue, keys: De });
|
|
2014
2015
|
},
|
|
2015
2016
|
onDelete: (ee) => {
|
|
2016
2017
|
if (!tt(p.children)) {
|
|
2017
2018
|
console.assert(!1);
|
|
2018
2019
|
return;
|
|
2019
2020
|
}
|
|
2020
|
-
p.children.splice(ee, 1),
|
|
2021
|
+
p.children.splice(ee, 1), U.splice(ee, 1), f(m, U);
|
|
2021
2022
|
}
|
|
2022
2023
|
});
|
|
2023
2024
|
T.push(On);
|
|
@@ -2031,19 +2032,19 @@ const Fs = /* @__PURE__ */ z({
|
|
|
2031
2032
|
(() => {
|
|
2032
2033
|
const ee = [];
|
|
2033
2034
|
return c.children.forEach((ue) => {
|
|
2034
|
-
if (!Rt(
|
|
2035
|
+
if (!Rt(je.children)) {
|
|
2035
2036
|
console.assert(!1);
|
|
2036
2037
|
return;
|
|
2037
2038
|
}
|
|
2038
|
-
|
|
2039
|
+
je.children[ue.key] || (je.children[ue.key] = {
|
|
2039
2040
|
collapse: !0,
|
|
2040
2041
|
children: ue.array ? [] : {}
|
|
2041
2042
|
});
|
|
2042
|
-
const xn =
|
|
2043
|
+
const xn = Le(
|
|
2043
2044
|
m,
|
|
2044
2045
|
ue,
|
|
2045
|
-
|
|
2046
|
-
|
|
2046
|
+
U[j],
|
|
2047
|
+
je.children[ue.key],
|
|
2047
2048
|
j,
|
|
2048
2049
|
!0
|
|
2049
2050
|
);
|
|
@@ -2068,19 +2069,19 @@ const Fs = /* @__PURE__ */ z({
|
|
|
2068
2069
|
return T.push(Se), p.collapse || T.push(H), T;
|
|
2069
2070
|
})()
|
|
2070
2071
|
);
|
|
2071
|
-
}, wn = (m, c, g, p,
|
|
2072
|
+
}, wn = (m, c, g, p, $, C) => {
|
|
2072
2073
|
if (c.ui)
|
|
2073
2074
|
return console.assert(!1), h("div", "renderBranchScalar prop ui must be invalid");
|
|
2074
2075
|
if (c.array)
|
|
2075
2076
|
return console.assert(!1), h("div", "renderBranchScalar prop array must be invalid");
|
|
2076
2077
|
if (!p)
|
|
2077
2078
|
return console.assert(!1), h("div", "renderBranchScalar branch must be valid");
|
|
2078
|
-
let
|
|
2079
|
-
p.collapse && be(
|
|
2080
|
-
const Q = h(
|
|
2081
|
-
title:
|
|
2079
|
+
let U = n(c.name);
|
|
2080
|
+
p.collapse && be(d.value, m) && (U += " *");
|
|
2081
|
+
const Q = h(ke, {
|
|
2082
|
+
title: U,
|
|
2082
2083
|
collapse: p.collapse,
|
|
2083
|
-
hasDelete:
|
|
2084
|
+
hasDelete: $ !== void 0 && !C,
|
|
2084
2085
|
onCollapse: (H) => {
|
|
2085
2086
|
p.collapse = H;
|
|
2086
2087
|
},
|
|
@@ -2088,7 +2089,7 @@ const Fs = /* @__PURE__ */ z({
|
|
|
2088
2089
|
_e.emit("propTreeMenu", { x: H, y: T, keys: m });
|
|
2089
2090
|
},
|
|
2090
2091
|
onDelete: () => {
|
|
2091
|
-
|
|
2092
|
+
$ === void 0 || C || (g.splice($, 1), f(m.slice(0, -1), g));
|
|
2092
2093
|
}
|
|
2093
2094
|
}), Se = h(
|
|
2094
2095
|
"div",
|
|
@@ -2108,10 +2109,10 @@ const Fs = /* @__PURE__ */ z({
|
|
|
2108
2109
|
collapse: !0,
|
|
2109
2110
|
children: !T.ui && T.array ? [] : {}
|
|
2110
2111
|
});
|
|
2111
|
-
const j =
|
|
2112
|
+
const j = Le(
|
|
2112
2113
|
m,
|
|
2113
2114
|
T,
|
|
2114
|
-
(typeof g[c.key] != "object" && (g[c.key] = {},
|
|
2115
|
+
(typeof g[c.key] != "object" && (g[c.key] = {}, f(m, g[c.key])), g[c.key]),
|
|
2115
2116
|
p.children[T.key]
|
|
2116
2117
|
);
|
|
2117
2118
|
H.push(j);
|
|
@@ -2130,18 +2131,18 @@ const Fs = /* @__PURE__ */ z({
|
|
|
2130
2131
|
return H.push(Q), p.collapse || H.push(Se), H;
|
|
2131
2132
|
})()
|
|
2132
2133
|
);
|
|
2133
|
-
}, An = (m, c, g, p,
|
|
2134
|
+
}, An = (m, c, g, p, $, C) => {
|
|
2134
2135
|
if (!c.ui)
|
|
2135
2136
|
return console.assert(!1), h("div", "renderLeafArray prop ui must be valid");
|
|
2136
2137
|
if (!c.array)
|
|
2137
2138
|
return console.assert(!1), h("div", "renderLeafArray prop array must be valid");
|
|
2138
2139
|
if (!p)
|
|
2139
2140
|
return console.assert(!1), h("div", "renderLeafArray branch must be valid");
|
|
2140
|
-
let
|
|
2141
|
-
|
|
2141
|
+
let U;
|
|
2142
|
+
$ !== void 0 && !C ? (g[$] instanceof Array || (g[$] = N(c), f(m, g[$])), U = g[$]) : (g[c.key] instanceof Array || (g[c.key] = N(c), f(m, g[c.key])), U = g[c.key]);
|
|
2142
2143
|
let Q = n(c.name);
|
|
2143
|
-
p.collapse && be(
|
|
2144
|
-
const Se = h(
|
|
2144
|
+
p.collapse && be(d.value, m) && (Q += " *");
|
|
2145
|
+
const Se = h(ke, {
|
|
2145
2146
|
title: Q,
|
|
2146
2147
|
collapse: p.collapse,
|
|
2147
2148
|
hasCreate: !0,
|
|
@@ -2152,7 +2153,7 @@ const Fs = /* @__PURE__ */ z({
|
|
|
2152
2153
|
_e.emit("propTreeMenu", { x: T, y: j, keys: m });
|
|
2153
2154
|
},
|
|
2154
2155
|
onCreate: () => {
|
|
2155
|
-
|
|
2156
|
+
U.push(N(c, !0)), f(m, U);
|
|
2156
2157
|
}
|
|
2157
2158
|
}), H = h(
|
|
2158
2159
|
"div",
|
|
@@ -2163,9 +2164,9 @@ const Fs = /* @__PURE__ */ z({
|
|
|
2163
2164
|
},
|
|
2164
2165
|
(() => {
|
|
2165
2166
|
const T = [];
|
|
2166
|
-
for (let j = 0; j <
|
|
2167
|
-
const
|
|
2168
|
-
T.push(
|
|
2167
|
+
for (let j = 0; j < U.length; j++) {
|
|
2168
|
+
const De = Le(m, c, U, void 0, j, !1);
|
|
2169
|
+
T.push(De);
|
|
2169
2170
|
}
|
|
2170
2171
|
return T;
|
|
2171
2172
|
})()
|
|
@@ -2182,11 +2183,11 @@ const Fs = /* @__PURE__ */ z({
|
|
|
2182
2183
|
return T.push(Se), p.collapse || T.push(H), T;
|
|
2183
2184
|
})()
|
|
2184
2185
|
);
|
|
2185
|
-
}, Cn = (m, c, g, p,
|
|
2186
|
+
}, Cn = (m, c, g, p, $) => {
|
|
2186
2187
|
if (!c.ui)
|
|
2187
2188
|
return console.assert(!1), h("div", "renderLeafScalar prop ui must be valid");
|
|
2188
2189
|
let C;
|
|
2189
|
-
return c.ui === "dummy" ? C = A(m, c, g, p,
|
|
2190
|
+
return c.ui === "dummy" ? C = A(m, c, g, p, $) : c.ui === "strInput" ? C = M(m, c, g, p, $) : c.ui === "numInput" ? C = W(m, c, g, p, $) : c.ui === "switch" ? C = We(m, c, g, p, $) : c.ui === "select" ? C = _n(m, c, g, p, $) : c.ui === "colorPicker" ? C = bn(m, c, g, p, $) : c.ui === "multiTypes" ? C = $n(m, c, g, p, $) : c.ui === "compSelect" ? C = Tn(m, c, g, p, $) : console.assert(!1, "renderLeafScalar not implemented"), C ? x(m, c, C) : h("div");
|
|
2190
2191
|
}, Pn = () => h(
|
|
2191
2192
|
"div",
|
|
2192
2193
|
{
|
|
@@ -2205,7 +2206,7 @@ const Fs = /* @__PURE__ */ z({
|
|
|
2205
2206
|
collapse: !0,
|
|
2206
2207
|
children: !g.ui && g.array ? [] : {}
|
|
2207
2208
|
});
|
|
2208
|
-
const p =
|
|
2209
|
+
const p = Le([], g, l.object, c[g.key]);
|
|
2209
2210
|
m.push(p);
|
|
2210
2211
|
});
|
|
2211
2212
|
}
|
|
@@ -2217,7 +2218,7 @@ const Fs = /* @__PURE__ */ z({
|
|
|
2217
2218
|
k(ls, {
|
|
2218
2219
|
config: l.config,
|
|
2219
2220
|
object: l.object,
|
|
2220
|
-
"prop-states":
|
|
2221
|
+
"prop-states": d.value
|
|
2221
2222
|
}, null, 8, ["config", "object", "prop-states"])
|
|
2222
2223
|
], 64));
|
|
2223
2224
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "x-prop-tree",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.6.
|
|
4
|
+
"version": "0.6.5",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"vuetify": "^3.8.1",
|
|
29
29
|
"x-essential-lib": "^0.8.6",
|
|
30
30
|
"x-group-list": "^0.4.1",
|
|
31
|
-
"x-runtime-lib": "^0.6.
|
|
31
|
+
"x-runtime-lib": "^0.6.14",
|
|
32
32
|
"x-state-lib": "^0.2.1"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|