x-prop-tree 0.6.8 → 0.6.9

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 CHANGED
@@ -1,11 +1,11 @@
1
- import { provide as Me, inject as Ue, defineComponent as q, ref as k, computed as G, resolveComponent as O, createBlock as R, openBlock as S, unref as E, isRef as Fe, withCtx as J, createVNode as B, createElementBlock as F, Fragment as He, renderList as Ht, createTextVNode as st, toDisplayString as ne, resolveDirective as ae, withDirectives as re, withModifiers as z, normalizeStyle as ie, createElementVNode as K, createCommentVNode as I, renderSlot as Un, h as _, mergeModels as X, useModel as oe, useId as Gt, onUnmounted as qt, withKeys as Vn, mergeProps as zt, watchEffect as mt, watch as ke, reactive as Ln, onMounted as Dn, onBeforeUnmount as jn } from "vue";
1
+ import { provide as Me, inject as Ue, defineComponent as K, ref as R, computed as G, resolveComponent as O, createBlock as k, openBlock as S, unref as E, isRef as Fe, withCtx as J, createVNode as B, createElementBlock as F, Fragment as He, renderList as Ht, createTextVNode as at, toDisplayString as ne, resolveDirective as ae, withDirectives as re, withModifiers as q, normalizeStyle as ie, createElementVNode as z, createCommentVNode as I, renderSlot as Un, h as _, mergeModels as X, useModel as oe, useId as Gt, onUnmounted as Kt, withKeys as Vn, mergeProps as qt, watchEffect as mt, watch as Re, reactive as Ln, onMounted as Dn, onBeforeUnmount as jn } from "vue";
2
2
  import { useI18n as ue } from "vue-i18n";
3
- import { useViewStack as at, useColor as Te, eventBus as _e, useSystem as En } from "x-essential-lib";
3
+ import { useViewStack as ut, useColor as Te, eventBus as _e, useSystem as En } from "x-essential-lib";
4
4
  import { getPropDefault as N, parsePixelStr as Nn, parsePercentStr as Bn } from "x-runtime-lib";
5
- import { useDisplay as kn } from "vuetify";
6
- import { globalState as Rn } from "x-state-lib";
7
- var Kt = typeof global == "object" && global && global.Object === Object && global, Fn = typeof self == "object" && self && self.Object === Object && self, Y = Kt || Fn || Function("return this")(), se = Y.Symbol, It = Object.prototype, Hn = It.hasOwnProperty, Gn = It.toString, we = se ? se.toStringTag : void 0;
8
- function qn(e) {
5
+ import { useDisplay as Rn } from "vuetify";
6
+ import { globalState as kn } from "x-state-lib";
7
+ var zt = typeof global == "object" && global && global.Object === Object && global, Fn = typeof self == "object" && self && self.Object === Object && self, Y = zt || Fn || Function("return this")(), se = Y.Symbol, It = Object.prototype, Hn = It.hasOwnProperty, Gn = It.toString, we = se ? se.toStringTag : void 0;
8
+ function Kn(e) {
9
9
  var t = Hn.call(e, we), n = e[we];
10
10
  try {
11
11
  e[we] = void 0;
@@ -15,31 +15,31 @@ function qn(e) {
15
15
  var l = Gn.call(e);
16
16
  return r && (t ? e[we] = n : delete e[we]), l;
17
17
  }
18
- var zn = Object.prototype, Kn = zn.toString;
18
+ var qn = Object.prototype, zn = qn.toString;
19
19
  function In(e) {
20
- return Kn.call(e);
20
+ return zn.call(e);
21
21
  }
22
22
  var Xn = "[object Null]", Zn = "[object Undefined]", gt = se ? se.toStringTag : void 0;
23
23
  function Ve(e) {
24
- return e == null ? e === void 0 ? Zn : Xn : gt && gt in Object(e) ? qn(e) : In(e);
24
+ return e == null ? e === void 0 ? Zn : Xn : gt && gt in Object(e) ? Kn(e) : In(e);
25
25
  }
26
26
  function de(e) {
27
27
  return e != null && typeof e == "object";
28
28
  }
29
29
  var Pe = Array.isArray;
30
- function Ke(e) {
30
+ function ze(e) {
31
31
  var t = typeof e;
32
32
  return e != null && (t == "object" || t == "function");
33
33
  }
34
34
  var Jn = "[object AsyncFunction]", Wn = "[object Function]", Yn = "[object GeneratorFunction]", Qn = "[object Proxy]";
35
35
  function Xt(e) {
36
- if (!Ke(e))
36
+ if (!ze(e))
37
37
  return !1;
38
38
  var t = Ve(e);
39
39
  return t == Wn || t == Yn || t == Jn || t == Qn;
40
40
  }
41
- var Ye = Y["__core-js_shared__"], yt = function() {
42
- var e = /[^.]+$/.exec(Ye && Ye.keys && Ye.keys.IE_PROTO || "");
41
+ var Qe = Y["__core-js_shared__"], yt = function() {
42
+ var e = /[^.]+$/.exec(Qe && Qe.keys && Qe.keys.IE_PROTO || "");
43
43
  return e ? "Symbol(src)_1." + e : "";
44
44
  }();
45
45
  function er(e) {
@@ -63,7 +63,7 @@ var rr = /[\\^$.*+?()[\]{}|]/g, or = /^\[object .+?Constructor\]$/, lr = Functio
63
63
  "^" + sr.call(ar).replace(rr, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
64
64
  );
65
65
  function cr(e) {
66
- if (!Ke(e) || er(e))
66
+ if (!ze(e) || er(e))
67
67
  return !1;
68
68
  var t = Xt(e) ? ur : or;
69
69
  return t.test(ve(e));
@@ -75,11 +75,11 @@ function me(e, t) {
75
75
  var n = fr(e, t);
76
76
  return cr(n) ? n : void 0;
77
77
  }
78
- var nt = me(Y, "WeakMap"), ht = Object.create, dr = /* @__PURE__ */ function() {
78
+ var rt = me(Y, "WeakMap"), ht = Object.create, dr = /* @__PURE__ */ function() {
79
79
  function e() {
80
80
  }
81
81
  return function(t) {
82
- if (!Ke(t))
82
+ if (!ze(t))
83
83
  return {};
84
84
  if (ht)
85
85
  return ht(t);
@@ -112,13 +112,13 @@ function yr(e, t, n) {
112
112
  writable: !0
113
113
  }) : e[t] = n;
114
114
  }
115
- function ut(e, t) {
115
+ function ct(e, t) {
116
116
  return e === t || e !== e && t !== t;
117
117
  }
118
118
  var hr = Object.prototype, _r = hr.hasOwnProperty;
119
119
  function br(e, t, n) {
120
120
  var r = e[t];
121
- (!(_r.call(e, t) && ut(r, n)) || n === void 0 && !(t in e)) && yr(e, t, n);
121
+ (!(_r.call(e, t) && ct(r, n)) || n === void 0 && !(t in e)) && yr(e, t, n);
122
122
  }
123
123
  var $r = 9007199254740991;
124
124
  function Zt(e) {
@@ -149,24 +149,24 @@ var Wt = Object.prototype, Cr = Wt.hasOwnProperty, Pr = Wt.propertyIsEnumerable,
149
149
  function xr() {
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, Mr = $t && $t.exports === Yt, Tt = Mr ? Y.Buffer : void 0, Ur = Tt ? Tt.isBuffer : void 0, Ge = Ur || xr, Vr = "[object Arguments]", Lr = "[object Array]", Dr = "[object Boolean]", jr = "[object Date]", Er = "[object Error]", Nr = "[object Function]", Br = "[object Map]", kr = "[object Number]", Rr = "[object Object]", Fr = "[object RegExp]", Hr = "[object Set]", Gr = "[object String]", qr = "[object WeakMap]", zr = "[object ArrayBuffer]", Kr = "[object DataView]", Ir = "[object Float32Array]", Xr = "[object Float64Array]", Zr = "[object Int8Array]", Jr = "[object Int16Array]", Wr = "[object Int32Array]", Yr = "[object Uint8Array]", Qr = "[object Uint8ClampedArray]", eo = "[object Uint16Array]", to = "[object Uint32Array]", x = {};
152
+ var Yt = typeof exports == "object" && exports && !exports.nodeType && exports, $t = Yt && typeof module == "object" && module && !module.nodeType && module, Mr = $t && $t.exports === Yt, Tt = Mr ? Y.Buffer : void 0, Ur = Tt ? Tt.isBuffer : void 0, Ge = Ur || xr, Vr = "[object Arguments]", Lr = "[object Array]", Dr = "[object Boolean]", jr = "[object Date]", Er = "[object Error]", Nr = "[object Function]", Br = "[object Map]", Rr = "[object Number]", kr = "[object Object]", Fr = "[object RegExp]", Hr = "[object Set]", Gr = "[object String]", Kr = "[object WeakMap]", qr = "[object ArrayBuffer]", zr = "[object DataView]", Ir = "[object Float32Array]", Xr = "[object Float64Array]", Zr = "[object Int8Array]", Jr = "[object Int16Array]", Wr = "[object Int32Array]", Yr = "[object Uint8Array]", Qr = "[object Uint8ClampedArray]", eo = "[object Uint16Array]", to = "[object Uint32Array]", x = {};
153
153
  x[Ir] = x[Xr] = x[Zr] = x[Jr] = x[Wr] = x[Yr] = x[Qr] = x[eo] = x[to] = !0;
154
- x[Vr] = x[Lr] = x[zr] = x[Dr] = x[Kr] = x[jr] = x[Er] = x[Nr] = x[Br] = x[kr] = x[Rr] = x[Fr] = x[Hr] = x[Gr] = x[qr] = !1;
154
+ x[Vr] = x[Lr] = x[qr] = x[Dr] = x[zr] = x[jr] = x[Er] = x[Nr] = x[Br] = x[Rr] = x[kr] = x[Fr] = x[Hr] = x[Gr] = x[Kr] = !1;
155
155
  function no(e) {
156
156
  return de(e) && Zt(e.length) && !!x[Ve(e)];
157
157
  }
158
- function ct(e) {
158
+ function ft(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, Ce = Qt && typeof module == "object" && module && !module.nodeType && module, ro = Ce && Ce.exports === Qt, Qe = ro && Kt.process, $e = function() {
163
+ var Qt = typeof exports == "object" && exports && !exports.nodeType && exports, Ce = Qt && typeof module == "object" && module && !module.nodeType && module, ro = Ce && Ce.exports === Qt, et = ro && zt.process, $e = function() {
164
164
  try {
165
165
  var e = Ce && Ce.require && Ce.require("util").types;
166
- return e || Qe && Qe.binding && Qe.binding("util");
166
+ return e || et && et.binding && et.binding("util");
167
167
  } catch {
168
168
  }
169
- }(), St = $e && $e.isTypedArray, en = St ? ct(St) : no, oo = Object.prototype, lo = oo.hasOwnProperty;
169
+ }(), St = $e && $e.isTypedArray, en = St ? ft(St) : no, oo = Object.prototype, lo = oo.hasOwnProperty;
170
170
  function io(e, t) {
171
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) : [], u = s.length;
172
172
  for (var a in e)
@@ -238,7 +238,7 @@ function wo() {
238
238
  }
239
239
  function Ie(e, t) {
240
240
  for (var n = e.length; n--; )
241
- if (ut(e[n][0], t))
241
+ if (ct(e[n][0], t))
242
242
  return n;
243
243
  return -1;
244
244
  }
@@ -321,10 +321,10 @@ function No(e, t) {
321
321
  return e;
322
322
  }
323
323
  var Bo = tn(Object.getPrototypeOf, Object);
324
- function ko() {
324
+ function Ro() {
325
325
  this.__data__ = new le(), this.size = 0;
326
326
  }
327
- function Ro(e) {
327
+ function ko(e) {
328
328
  var t = this.__data__, n = t.delete(e);
329
329
  return this.size = t.size, n;
330
330
  }
@@ -335,7 +335,7 @@ function Ho(e) {
335
335
  return this.__data__.has(e);
336
336
  }
337
337
  var Go = 200;
338
- function qo(e, t) {
338
+ function Ko(e, t) {
339
339
  var n = this.__data__;
340
340
  if (n instanceof le) {
341
341
  var r = n.__data__;
@@ -349,14 +349,14 @@ function te(e) {
349
349
  var t = this.__data__ = new le(e);
350
350
  this.size = t.size;
351
351
  }
352
- te.prototype.clear = ko;
353
- te.prototype.delete = Ro;
352
+ te.prototype.clear = Ro;
353
+ te.prototype.delete = ko;
354
354
  te.prototype.get = Fo;
355
355
  te.prototype.has = Ho;
356
- te.prototype.set = qo;
357
- var nn = typeof exports == "object" && exports && !exports.nodeType && exports, wt = nn && typeof module == "object" && module && !module.nodeType && module, zo = wt && wt.exports === nn, At = zo ? Y.Buffer : void 0;
356
+ te.prototype.set = Ko;
357
+ var nn = typeof exports == "object" && exports && !exports.nodeType && exports, wt = nn && typeof module == "object" && module && !module.nodeType && module, qo = wt && wt.exports === nn, At = qo ? Y.Buffer : void 0;
358
358
  At && At.allocUnsafe;
359
- function Ko(e, t) {
359
+ function zo(e, t) {
360
360
  return e.slice();
361
361
  }
362
362
  function Io(e, t) {
@@ -378,11 +378,11 @@ function Yo(e, t, n) {
378
378
  var r = t(e);
379
379
  return Pe(e) ? r : No(r, n(e));
380
380
  }
381
- function rt(e) {
381
+ function ot(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]", xt = "[object Set]", Mt = "[object WeakMap]", Ut = "[object DataView]", el = ve(ot), tl = ve(xe), nl = ve(lt), rl = ve(it), ol = ve(nt), Z = Ve;
385
- (ot && Z(new ot(new ArrayBuffer(1))) != Ut || xe && Z(new xe()) != Pt || lt && Z(lt.resolve()) != Ot || it && Z(new it()) != xt || nt && Z(new nt()) != Mt) && (Z = function(e) {
384
+ var lt = me(Y, "DataView"), it = me(Y, "Promise"), st = me(Y, "Set"), Pt = "[object Map]", Qo = "[object Object]", Ot = "[object Promise]", xt = "[object Set]", Mt = "[object WeakMap]", Ut = "[object DataView]", el = ve(lt), tl = ve(xe), nl = ve(it), rl = ve(st), ol = ve(rt), Z = Ve;
385
+ (lt && Z(new lt(new ArrayBuffer(1))) != Ut || xe && Z(new xe()) != Pt || it && Z(it.resolve()) != Ot || st && Z(new st()) != xt || rt && Z(new rt()) != Mt) && (Z = function(e) {
386
386
  var t = Ve(e), n = t == Qo ? e.constructor : void 0, r = n ? ve(n) : "";
387
387
  if (r)
388
388
  switch (r) {
@@ -404,13 +404,13 @@ function sl(e) {
404
404
  var t = e.length, n = new e.constructor(t);
405
405
  return t && typeof e[0] == "string" && il.call(e, "index") && (n.index = e.index, n.input = e.input), n;
406
406
  }
407
- var qe = Y.Uint8Array;
408
- function ft(e) {
407
+ var Ke = Y.Uint8Array;
408
+ function dt(e) {
409
409
  var t = new e.constructor(e.byteLength);
410
- return new qe(t).set(new qe(e)), t;
410
+ return new Ke(t).set(new Ke(e)), t;
411
411
  }
412
412
  function al(e, t) {
413
- var n = ft(e.buffer);
413
+ var n = dt(e.buffer);
414
414
  return new e.constructor(n, e.byteOffset, e.byteLength);
415
415
  }
416
416
  var ul = /\w*$/;
@@ -423,7 +423,7 @@ function fl(e) {
423
423
  return Lt ? Object(Lt.call(e)) : {};
424
424
  }
425
425
  function dl(e, t) {
426
- var n = ft(e.buffer);
426
+ var n = dt(e.buffer);
427
427
  return new e.constructor(n, e.byteOffset, e.length);
428
428
  }
429
429
  var pl = "[object Boolean]", vl = "[object Date]", ml = "[object Map]", gl = "[object Number]", yl = "[object RegExp]", hl = "[object Set]", _l = "[object String]", bl = "[object Symbol]", $l = "[object ArrayBuffer]", Tl = "[object DataView]", Sl = "[object Float32Array]", wl = "[object Float64Array]", Al = "[object Int8Array]", Cl = "[object Int16Array]", Pl = "[object Int32Array]", Ol = "[object Uint8Array]", xl = "[object Uint8ClampedArray]", Ml = "[object Uint16Array]", Ul = "[object Uint32Array]";
@@ -431,7 +431,7 @@ function Vl(e, t, n) {
431
431
  var r = e.constructor;
432
432
  switch (t) {
433
433
  case $l:
434
- return ft(e);
434
+ return dt(e);
435
435
  case pl:
436
436
  case vl:
437
437
  return new r(+e);
@@ -467,26 +467,26 @@ var Dl = "[object Map]";
467
467
  function jl(e) {
468
468
  return de(e) && Z(e) == Dl;
469
469
  }
470
- var Dt = $e && $e.isMap, El = Dt ? ct(Dt) : jl, Nl = "[object Set]";
470
+ var Dt = $e && $e.isMap, El = Dt ? ft(Dt) : jl, Nl = "[object Set]";
471
471
  function Bl(e) {
472
472
  return de(e) && Z(e) == Nl;
473
473
  }
474
- var jt = $e && $e.isSet, kl = jt ? ct(jt) : Bl, rn = "[object Arguments]", Rl = "[object Array]", Fl = "[object Boolean]", Hl = "[object Date]", Gl = "[object Error]", on = "[object Function]", ql = "[object GeneratorFunction]", zl = "[object Map]", Kl = "[object Number]", ln = "[object Object]", Il = "[object RegExp]", Xl = "[object Set]", Zl = "[object String]", Jl = "[object Symbol]", Wl = "[object WeakMap]", Yl = "[object ArrayBuffer]", Ql = "[object DataView]", ei = "[object Float32Array]", ti = "[object Float64Array]", ni = "[object Int8Array]", ri = "[object Int16Array]", oi = "[object Int32Array]", li = "[object Uint8Array]", ii = "[object Uint8ClampedArray]", si = "[object Uint16Array]", ai = "[object Uint32Array]", P = {};
475
- P[rn] = P[Rl] = P[Yl] = P[Ql] = P[Fl] = P[Hl] = P[ei] = P[ti] = P[ni] = P[ri] = P[oi] = P[zl] = P[Kl] = P[ln] = P[Il] = P[Xl] = P[Zl] = P[Jl] = P[li] = P[ii] = P[si] = P[ai] = !0;
474
+ var jt = $e && $e.isSet, Rl = jt ? ft(jt) : Bl, rn = "[object Arguments]", kl = "[object Array]", Fl = "[object Boolean]", Hl = "[object Date]", Gl = "[object Error]", on = "[object Function]", Kl = "[object GeneratorFunction]", ql = "[object Map]", zl = "[object Number]", ln = "[object Object]", Il = "[object RegExp]", Xl = "[object Set]", Zl = "[object String]", Jl = "[object Symbol]", Wl = "[object WeakMap]", Yl = "[object ArrayBuffer]", Ql = "[object DataView]", ei = "[object Float32Array]", ti = "[object Float64Array]", ni = "[object Int8Array]", ri = "[object Int16Array]", oi = "[object Int32Array]", li = "[object Uint8Array]", ii = "[object Uint8ClampedArray]", si = "[object Uint16Array]", ai = "[object Uint32Array]", P = {};
475
+ P[rn] = P[kl] = P[Yl] = P[Ql] = P[Fl] = P[Hl] = P[ei] = P[ti] = P[ni] = P[ri] = P[oi] = P[ql] = P[zl] = P[ln] = P[Il] = P[Xl] = P[Zl] = P[Jl] = P[li] = P[ii] = P[si] = P[ai] = !0;
476
476
  P[Gl] = P[on] = P[Wl] = !1;
477
- function Re(e, t, n, r, l, o) {
477
+ function ke(e, t, n, r, l, o) {
478
478
  var i;
479
479
  if (i !== void 0)
480
480
  return i;
481
- if (!Ke(e))
481
+ if (!ze(e))
482
482
  return e;
483
483
  var s = Pe(e);
484
484
  if (s)
485
485
  i = sl(e);
486
486
  else {
487
- var u = Z(e), a = u == on || u == ql;
487
+ var u = Z(e), a = u == on || u == Kl;
488
488
  if (Ge(e))
489
- return Ko(e);
489
+ return zo(e);
490
490
  if (u == ln || u == rn || a && !l)
491
491
  i = a ? {} : Ll(e);
492
492
  else {
@@ -499,19 +499,19 @@ function Re(e, t, n, r, l, o) {
499
499
  var d = o.get(e);
500
500
  if (d)
501
501
  return d;
502
- o.set(e, i), kl(e) ? e.forEach(function(y) {
503
- i.add(Re(y, t, n, y, e, o));
502
+ o.set(e, i), Rl(e) ? e.forEach(function(y) {
503
+ i.add(ke(y, t, n, y, e, o));
504
504
  }) : El(e) && e.forEach(function(y, h) {
505
- i.set(h, Re(y, t, n, h, e, o));
505
+ i.set(h, ke(y, t, n, h, e, o));
506
506
  });
507
- var f = rt, g = s ? void 0 : f(e);
507
+ var c = ot, g = s ? void 0 : c(e);
508
508
  return pr(g || e, function(y, h) {
509
- g && (h = y, y = e[h]), br(i, h, Re(y, t, n, h, e, o));
509
+ g && (h = y, y = e[h]), br(i, h, ke(y, t, n, h, e, o));
510
510
  }), i;
511
511
  }
512
512
  var ui = 1, ci = 4;
513
513
  function sn(e) {
514
- return Re(e, ui | ci);
514
+ return ke(e, ui | ci);
515
515
  }
516
516
  var fi = "__lodash_hash_undefined__";
517
517
  function di(e) {
@@ -520,13 +520,13 @@ function di(e) {
520
520
  function pi(e) {
521
521
  return this.__data__.has(e);
522
522
  }
523
- function ze(e) {
523
+ function qe(e) {
524
524
  var t = -1, n = e == null ? 0 : e.length;
525
525
  for (this.__data__ = new ge(); ++t < n; )
526
526
  this.add(e[t]);
527
527
  }
528
- ze.prototype.add = ze.prototype.push = di;
529
- ze.prototype.has = pi;
528
+ qe.prototype.add = qe.prototype.push = di;
529
+ qe.prototype.has = pi;
530
530
  function vi(e, t) {
531
531
  for (var n = -1, r = e == null ? 0 : e.length; ++n < r; )
532
532
  if (t(e[n], n, e))
@@ -544,11 +544,11 @@ function an(e, t, n, r, l, o) {
544
544
  var a = o.get(e), d = o.get(t);
545
545
  if (a && d)
546
546
  return a == t && d == e;
547
- var f = -1, g = !0, y = n & yi ? new ze() : void 0;
548
- for (o.set(e, t), o.set(t, e); ++f < s; ) {
549
- var h = e[f], M = t[f];
547
+ var c = -1, g = !0, y = n & yi ? new qe() : void 0;
548
+ for (o.set(e, t), o.set(t, e); ++c < s; ) {
549
+ var h = e[c], M = t[c];
550
550
  if (r)
551
- var b = i ? r(M, h, f, t, e, o) : r(h, M, f, e, t, o);
551
+ var b = i ? r(M, h, c, t, e, o) : r(h, M, c, e, t, o);
552
552
  if (b !== void 0) {
553
553
  if (b)
554
554
  continue;
@@ -582,7 +582,7 @@ function _i(e) {
582
582
  n[++t] = r;
583
583
  }), n;
584
584
  }
585
- var bi = 1, $i = 2, Ti = "[object Boolean]", Si = "[object Date]", wi = "[object Error]", Ai = "[object Map]", Ci = "[object Number]", Pi = "[object RegExp]", Oi = "[object Set]", xi = "[object String]", Mi = "[object Symbol]", Ui = "[object ArrayBuffer]", Vi = "[object DataView]", Et = se ? se.prototype : void 0, et = Et ? Et.valueOf : void 0;
585
+ var bi = 1, $i = 2, Ti = "[object Boolean]", Si = "[object Date]", wi = "[object Error]", Ai = "[object Map]", Ci = "[object Number]", Pi = "[object RegExp]", Oi = "[object Set]", xi = "[object String]", Mi = "[object Symbol]", Ui = "[object ArrayBuffer]", Vi = "[object DataView]", Et = se ? se.prototype : void 0, tt = Et ? Et.valueOf : void 0;
586
586
  function Li(e, t, n, r, l, o, i) {
587
587
  switch (n) {
588
588
  case Vi:
@@ -590,11 +590,11 @@ function Li(e, t, n, r, l, o, i) {
590
590
  return !1;
591
591
  e = e.buffer, t = t.buffer;
592
592
  case Ui:
593
- return !(e.byteLength != t.byteLength || !o(new qe(e), new qe(t)));
593
+ return !(e.byteLength != t.byteLength || !o(new Ke(e), new Ke(t)));
594
594
  case Ti:
595
595
  case Si:
596
596
  case Ci:
597
- return ut(+e, +t);
597
+ return ct(+e, +t);
598
598
  case wi:
599
599
  return e.name == t.name && e.message == t.message;
600
600
  case Pi:
@@ -613,18 +613,18 @@ function Li(e, t, n, r, l, o, i) {
613
613
  var d = an(s(e), s(t), r, l, o, i);
614
614
  return i.delete(e), d;
615
615
  case Mi:
616
- if (et)
617
- return et.call(e) == et.call(t);
616
+ if (tt)
617
+ return tt.call(e) == tt.call(t);
618
618
  }
619
619
  return !1;
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), u = s.length, a = rt(t), d = a.length;
623
+ var i = n & Di, s = ot(e), u = s.length, a = ot(t), d = a.length;
624
624
  if (u != d && !i)
625
625
  return !1;
626
- for (var f = u; f--; ) {
627
- var g = s[f];
626
+ for (var c = u; c--; ) {
627
+ var g = s[c];
628
628
  if (!(i ? g in t : Ei.call(t, g)))
629
629
  return !1;
630
630
  }
@@ -633,8 +633,8 @@ function Ni(e, t, n, r, l, o) {
633
633
  return y == t && h == e;
634
634
  var M = !0;
635
635
  o.set(e, t), o.set(t, e);
636
- for (var b = i; ++f < u; ) {
637
- g = s[f];
636
+ for (var b = i; ++c < u; ) {
637
+ g = s[c];
638
638
  var D = e[g], w = t[g];
639
639
  if (r)
640
640
  var U = i ? r(w, D, g, t, e, o) : r(D, w, g, e, t, o);
@@ -650,11 +650,11 @@ function Ni(e, t, n, r, l, o) {
650
650
  }
651
651
  return o.delete(e), o.delete(t), M;
652
652
  }
653
- var Bi = 1, Nt = "[object Arguments]", Bt = "[object Array]", Ee = "[object Object]", ki = Object.prototype, kt = ki.hasOwnProperty;
654
- function Ri(e, t, n, r, l, o) {
653
+ var Bi = 1, Nt = "[object Arguments]", Bt = "[object Array]", Ee = "[object Object]", Ri = Object.prototype, Rt = Ri.hasOwnProperty;
654
+ function ki(e, t, n, r, l, o) {
655
655
  var i = Pe(e), s = Pe(t), u = i ? Bt : Z(e), a = s ? Bt : Z(t);
656
656
  u = u == Nt ? Ee : u, a = a == Nt ? Ee : a;
657
- var d = u == Ee, f = a == Ee, g = u == a;
657
+ var d = u == Ee, c = a == Ee, g = u == a;
658
658
  if (g && Ge(e)) {
659
659
  if (!Ge(t))
660
660
  return !1;
@@ -663,7 +663,7 @@ function Ri(e, t, n, r, l, o) {
663
663
  if (g && !d)
664
664
  return o || (o = new te()), i || en(e) ? an(e, t, n, r, l, o) : Li(e, t, u, n, r, l, o);
665
665
  if (!(n & Bi)) {
666
- var y = d && kt.call(e, "__wrapped__"), h = f && kt.call(t, "__wrapped__");
666
+ var y = d && Rt.call(e, "__wrapped__"), h = c && Rt.call(t, "__wrapped__");
667
667
  if (y || h) {
668
668
  var M = y ? e.value() : e, b = h ? t.value() : t;
669
669
  return o || (o = new te()), l(M, b, n, r, o);
@@ -672,7 +672,7 @@ function Ri(e, t, n, r, l, o) {
672
672
  return g ? (o || (o = new te()), Ni(e, t, n, r, l, o)) : !1;
673
673
  }
674
674
  function un(e, t, n, r, l) {
675
- return e === t ? !0 : e == null || t == null || !de(e) && !de(t) ? e !== e && t !== t : Ri(e, t, n, r, un, l);
675
+ return e === t ? !0 : e == null || t == null || !de(e) && !de(t) ? e !== e && t !== t : ki(e, t, n, r, un, l);
676
676
  }
677
677
  function Ze(e, t) {
678
678
  return un(e, t);
@@ -736,7 +736,7 @@ const Ne = (e, t) => {
736
736
  }
737
737
  n = n[r];
738
738
  }), n;
739
- }, Rt = (e) => !(e instanceof Array), tt = (e) => e instanceof Array, Gi = (e, t) => {
739
+ }, kt = (e) => !(e instanceof Array), nt = (e) => e instanceof Array, Gi = (e, t) => {
740
740
  const n = (r, l) => {
741
741
  if (r.ui !== l.ui || r.array !== l.array)
742
742
  return !1;
@@ -750,10 +750,10 @@ const Ne = (e, t) => {
750
750
  return !0;
751
751
  };
752
752
  return n(e, t);
753
- }, dt = (e) => !(e instanceof Array), pt = (e) => e instanceof Array, qi = [
753
+ }, pt = (e) => !(e instanceof Array), Je = (e) => e instanceof Array, Ki = [
754
754
  ["basic", "id"],
755
755
  ["basic", "name"]
756
- ], zi = (e) => qi.find((t) => Ze(e, t)), Je = (e, t, n, r, l, o, i) => (e = sn(e), o !== void 0 ? (e.push(o), i && e.push(t.key)) : e.push(t.key), zi(e) ? (r.change = !1, r.change) : t.ui ? t.array && o === void 0 ? Xi(
756
+ ], qi = (e) => Ki.find((t) => Ze(e, t)), We = (e, t, n, r, l, o, i) => (e = sn(e), o !== void 0 ? (e.push(o), i && e.push(t.key)) : e.push(t.key), qi(e) ? (r.change = !1, r.change) : t.ui ? t.array && r.children && Je(r.children) ? Xi(
757
757
  e,
758
758
  t,
759
759
  n,
@@ -761,7 +761,7 @@ const Ne = (e, t) => {
761
761
  l,
762
762
  o,
763
763
  i
764
- ) : Zi(t, n, r, o, i) : t.array ? Ki(
764
+ ) : Zi(t, n, r, o, i) : t.array ? zi(
765
765
  e,
766
766
  t,
767
767
  n,
@@ -777,12 +777,12 @@ const Ne = (e, t) => {
777
777
  l,
778
778
  o,
779
779
  i
780
- )), Ki = (e, t, n, r, l, o, i) => {
780
+ )), zi = (e, t, n, r, l, o, i) => {
781
781
  if (t.ui)
782
782
  return console.assert(!1, "execPropBranchArray prop ui must be invalid"), !1;
783
783
  if (!t.array)
784
784
  return console.assert(!1, "execPropBranchArray prop array must be valid"), !1;
785
- if (!pt(r.children))
785
+ if (!r.children || !Je(r.children))
786
786
  return console.assert(!1, "execPropBranchArray state children must be array"), !1;
787
787
  let s;
788
788
  o !== void 0 && !i ? (n[o] instanceof Array || (n[o] = N(t), l == null || l(e, n[o])), s = n[o]) : (n[t.key] instanceof Array || (n[t.key] = N(t), l == null || l(e, n[t.key])), s = n[t.key]), r.change = !1;
@@ -793,14 +793,14 @@ const Ne = (e, t) => {
793
793
  });
794
794
  const a = r.children[u];
795
795
  t.children.forEach((d) => {
796
- if (!dt(a.children)) {
796
+ if (!a.children || !pt(a.children)) {
797
797
  console.assert(!1);
798
798
  return;
799
799
  }
800
800
  a.children[d.key] = {
801
801
  change: !1,
802
802
  children: d.array ? [] : {}
803
- }, Je(
803
+ }, We(
804
804
  e,
805
805
  d,
806
806
  s[u],
@@ -817,7 +817,7 @@ const Ne = (e, t) => {
817
817
  return console.assert(!1, "execPropBranchScalar prop ui must be invalid"), !1;
818
818
  if (t.array)
819
819
  return console.assert(!1, "execPropBranchScalar prop array must be invalid"), !1;
820
- if (!dt(r.children))
820
+ if (!r.children || !pt(r.children))
821
821
  return console.assert(!1, "execPropBranchScalar state children must be map"), !1;
822
822
  let s;
823
823
  o !== void 0 && !i ? (n[o] || (n[o] = {}), s = n[o]) : (n[t.key] || (n[t.key] = {}), s = n[t.key]), r.change = !1;
@@ -826,7 +826,7 @@ const Ne = (e, t) => {
826
826
  r.children[a.key] = {
827
827
  change: !1,
828
828
  children: a.array ? [] : {}
829
- }, Je(e, a, s, r.children[a.key], l) && (r.change = !0);
829
+ }, We(e, a, s, r.children[a.key], l) && (r.change = !0);
830
830
  }
831
831
  return r.change;
832
832
  }, Xi = (e, t, n, r, l, o, i) => {
@@ -834,7 +834,7 @@ const Ne = (e, t) => {
834
834
  return console.assert(!1, "execPropLeafArray prop ui must be valid"), !1;
835
835
  if (!t.array)
836
836
  return console.assert(!1, "execPropLeafArray prop aray must be valid"), !1;
837
- if (!pt(r.children))
837
+ if (!r.children || !Je(r.children))
838
838
  return console.assert(!1, "execPropLeafArray state children must be array"), !1;
839
839
  let s;
840
840
  o !== void 0 && !i ? (n[o] instanceof Array || (n[o] = N(t), l == null || l(e, n[o])), s = n[o]) : (n[t.key] instanceof Array || (n[t.key] = N(t), l == null || l(e, n[t.key])), s = n[t.key]), r.change = !1;
@@ -842,7 +842,7 @@ const Ne = (e, t) => {
842
842
  r.children[u] = {
843
843
  change: !1,
844
844
  children: {}
845
- }, Je(e, t, s, r.children[u], l, u, !1) && (r.change = !0);
845
+ }, We(e, t, s, r.children[u], l, u, !1) && (r.change = !0);
846
846
  return r.change || (r.change = !Ze(s, N(t))), r.change;
847
847
  }, Zi = (e, t, n, r, l) => {
848
848
  if (!e.ui)
@@ -859,14 +859,16 @@ const Ne = (e, t) => {
859
859
  l[o.key] = {
860
860
  change: !1,
861
861
  children: o.array ? [] : {}
862
- }, Je([], o, n, l[o.key], r);
862
+ }, We([], o, n, l[o.key], r);
863
863
  }), e.value = l;
864
864
  }, be = (e, t) => {
865
865
  let n = { change: !1, children: e };
866
866
  return t.forEach((r) => {
867
867
  if (!n)
868
868
  return console.assert(!1, `isPropChanged state must be valid keys=${t}`), !1;
869
- typeof r == "string" ? dt(n.children) && (n = n.children[r]) : pt(n.children) && (n = n.children[r]);
869
+ if (!n.children)
870
+ return console.assert(!1, `isPropChanged state must be valid keys=${t}`), !1;
871
+ typeof r == "string" ? pt(n.children) && (n = n.children[r]) : Je(n.children) && (n = n.children[r]);
870
872
  }), (n == null ? void 0 : n.change) ?? !1;
871
873
  }, fn = Symbol(), dn = Symbol(), pn = Symbol(), vn = Symbol(), mn = Symbol();
872
874
  function Ji(e) {
@@ -899,10 +901,10 @@ function os(e) {
899
901
  function gn() {
900
902
  return Ue(mn);
901
903
  }
902
- const ls = /* @__PURE__ */ q({
904
+ const ls = /* @__PURE__ */ K({
903
905
  __name: "menu",
904
906
  setup(e) {
905
- const { t } = ue(), n = Wi(), r = Qi(), l = ts(), o = rs(), i = k(0), s = k(0), u = k([]), a = G(() => [i.value, s.value]), d = (b) => {
907
+ const { t } = ue(), n = Wi(), r = Qi(), l = ts(), o = rs(), i = R(0), s = R(0), u = R([]), a = G(() => [i.value, s.value]), d = (b) => {
906
908
  const D = () => !(u.value.length <= 0 || !be(l.value, u.value)), w = () => {
907
909
  if (!D())
908
910
  return;
@@ -945,7 +947,7 @@ const ls = /* @__PURE__ */ q({
945
947
  title: t("x-prop-tree.reset"),
946
948
  func: w
947
949
  });
948
- }, f = (b) => {
950
+ }, c = (b) => {
949
951
  const D = () => {
950
952
  const w = Ne(n.value, u.value), U = Ae(r.value, u.value);
951
953
  localStorage.setItem("propTreeCopy", JSON.stringify({ prop: w, object: U }));
@@ -984,13 +986,13 @@ const ls = /* @__PURE__ */ q({
984
986
  });
985
987
  }, y = G(() => {
986
988
  const b = [];
987
- return d(b), f(b), g(b), b;
989
+ return d(b), c(b), g(b), b;
988
990
  }), h = (b) => {
989
991
  i.value = b.x, s.value = b.y, u.value = b.keys;
990
- }, { open: M } = at("propTreeMenu", h);
992
+ }, { open: M } = ut("propTreeMenu", h);
991
993
  return (b, D) => {
992
994
  const w = O("v-list-item-title"), U = O("v-list-item"), A = O("v-list"), V = O("v-menu");
993
- return S(), R(V, {
995
+ return S(), k(V, {
994
996
  modelValue: E(M),
995
997
  "onUpdate:modelValue": D[0] || (D[0] = (W) => Fe(M) ? M.value = W : null),
996
998
  "location-strategy": "connected",
@@ -1000,15 +1002,15 @@ const ls = /* @__PURE__ */ q({
1000
1002
  default: J(() => [
1001
1003
  B(A, null, {
1002
1004
  default: J(() => [
1003
- (S(!0), F(He, null, Ht(y.value, (W, We) => (S(), R(U, {
1004
- key: We,
1005
+ (S(!0), F(He, null, Ht(y.value, (W, Ye) => (S(), k(U, {
1006
+ key: Ye,
1005
1007
  link: "",
1006
1008
  onClick: W.func
1007
1009
  }, {
1008
1010
  default: J(() => [
1009
1011
  B(w, null, {
1010
1012
  default: J(() => [
1011
- st(ne(W.title), 1)
1013
+ at(ne(W.title), 1)
1012
1014
  ]),
1013
1015
  _: 2
1014
1016
  }, 1024)
@@ -1025,7 +1027,7 @@ const ls = /* @__PURE__ */ q({
1025
1027
  }
1026
1028
  });
1027
1029
  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", ye = "M19,13H5V11H19V13Z", ss = "M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z";
1028
- const Be = /* @__PURE__ */ q({
1030
+ const Be = /* @__PURE__ */ K({
1029
1031
  __name: "title",
1030
1032
  props: {
1031
1033
  title: {},
@@ -1036,7 +1038,7 @@ const Be = /* @__PURE__ */ q({
1036
1038
  },
1037
1039
  emits: ["collapse", "menu", "create", "delete"],
1038
1040
  setup(e, { emit: t }) {
1039
- const { backgroundColor2: n, highlightColor: r } = Te(), l = t, o = k(!1), i = G(() => ({
1041
+ const { backgroundColor2: n, highlightColor: r } = Te(), l = t, o = R(!1), i = G(() => ({
1040
1042
  background: o.value ? r.value : n.value,
1041
1043
  height: "36px",
1042
1044
  marginBottom: "1px",
@@ -1047,46 +1049,46 @@ const Be = /* @__PURE__ */ q({
1047
1049
  l("menu", a.clientX, a.clientY);
1048
1050
  };
1049
1051
  return (a, d) => {
1050
- const f = O("v-icon"), g = O("v-spacer"), y = ae("ripple");
1052
+ const c = O("v-icon"), g = O("v-spacer"), y = ae("ripple");
1051
1053
  return re((S(), F("div", {
1052
1054
  class: "d-flex align-center cursor-pointer",
1053
1055
  style: ie(i.value),
1054
1056
  onClick: s,
1055
- onContextmenu: z(u, ["prevent"]),
1057
+ onContextmenu: q(u, ["prevent"]),
1056
1058
  onMouseover: d[2] || (d[2] = (h) => o.value = !0),
1057
1059
  onMouseout: d[3] || (d[3] = (h) => o.value = !1)
1058
1060
  }, [
1059
- B(f, {
1061
+ B(c, {
1060
1062
  class: "mr-1",
1061
1063
  icon: a.collapse ? E(hn) : E(yn)
1062
1064
  }, null, 8, ["icon"]),
1063
- K("span", null, ne(a.title), 1),
1065
+ z("span", null, ne(a.title), 1),
1064
1066
  B(g),
1065
- a.hasCreate ? (S(), R(f, {
1067
+ a.hasCreate ? (S(), k(c, {
1066
1068
  key: 0,
1067
1069
  class: "mx-3",
1068
1070
  icon: E(ss),
1069
- onClick: d[0] || (d[0] = z((h) => l("create"), ["stop"]))
1071
+ onClick: d[0] || (d[0] = q((h) => l("create"), ["stop"]))
1070
1072
  }, null, 8, ["icon"])) : I("", !0),
1071
- a.hasDelete ? (S(), R(f, {
1073
+ a.hasDelete ? (S(), k(c, {
1072
1074
  key: 1,
1073
1075
  class: "mx-3",
1074
1076
  icon: E(ye),
1075
- onClick: d[1] || (d[1] = z((h) => l("delete", a.index), ["stop"]))
1077
+ onClick: d[1] || (d[1] = q((h) => l("delete", a.index), ["stop"]))
1076
1078
  }, null, 8, ["icon"])) : I("", !0)
1077
1079
  ], 36)), [
1078
1080
  [y]
1079
1081
  ]);
1080
1082
  };
1081
1083
  }
1082
- }), as = /* @__PURE__ */ q({
1084
+ }), as = /* @__PURE__ */ K({
1083
1085
  __name: "entry",
1084
1086
  props: {
1085
1087
  minHeight: {}
1086
1088
  },
1087
1089
  emits: ["menu"],
1088
1090
  setup(e, { emit: t }) {
1089
- const { backgroundColor2: n, highlightColor: r } = Te(), l = t, o = k(!1), i = G(() => ({
1091
+ const { backgroundColor2: n, highlightColor: r } = Te(), l = t, o = R(!1), i = G(() => ({
1090
1092
  background: o.value ? r.value : n.value,
1091
1093
  minHeight: e.minHeight,
1092
1094
  paddingRight: "4px",
@@ -1100,9 +1102,9 @@ const Be = /* @__PURE__ */ q({
1100
1102
  return re((S(), F("div", {
1101
1103
  class: "d-flex justify-space-between align-center cursor-pointer",
1102
1104
  style: ie(i.value),
1103
- onContextmenu: z(s, ["prevent"]),
1104
- onMouseover: a[0] || (a[0] = (f) => o.value = !0),
1105
- onMouseout: a[1] || (a[1] = (f) => o.value = !1)
1105
+ onContextmenu: q(s, ["prevent"]),
1106
+ onMouseover: a[0] || (a[0] = (c) => o.value = !0),
1107
+ onMouseout: a[1] || (a[1] = (c) => o.value = !1)
1106
1108
  }, [
1107
1109
  Un(u.$slots, "default")
1108
1110
  ], 36)), [
@@ -1114,17 +1116,18 @@ const Be = /* @__PURE__ */ q({
1114
1116
  function us(e, t, n) {
1115
1117
  const { t: r } = ue();
1116
1118
  return { renderProp: (o, i, s) => {
1117
- let u = r(i.name);
1118
- return be(e.value, o) && (u += " *"), _(
1119
+ const u = o.at(-1);
1120
+ let d = typeof u == "number" ? `[${u + 1}]` : r(i.name);
1121
+ return be(e.value, o) && (d += " *"), _(
1119
1122
  as,
1120
1123
  {
1121
1124
  minHeight: t.value,
1122
- onMenu: (a, d) => {
1123
- _e.emit("propTreeMenu", { x: a, y: d, keys: o });
1125
+ onMenu: (c, g) => {
1126
+ _e.emit("propTreeMenu", { x: c, y: g, keys: o });
1124
1127
  }
1125
1128
  },
1126
1129
  () => [
1127
- _("span", { class: "ml-1", innerHTML: u }),
1130
+ _("span", { class: "ml-1", innerHTML: d }),
1128
1131
  _("div", { style: { width: n.value } }, s)
1129
1132
  ]
1130
1133
  );
@@ -1156,7 +1159,7 @@ function cs(e) {
1156
1159
  ce(n, r, l, e, o, i);
1157
1160
  } };
1158
1161
  }
1159
- const fs = { class: "d-flex justify-space-between align-center" }, ds = /* @__PURE__ */ q({
1162
+ const fs = { class: "d-flex justify-space-between align-center" }, ds = /* @__PURE__ */ K({
1160
1163
  __name: "strInput",
1161
1164
  props: /* @__PURE__ */ X({
1162
1165
  hasDelete: { type: Boolean, default: !1 },
@@ -1186,11 +1189,11 @@ const fs = { class: "d-flex justify-space-between align-center" }, ds = /* @__PU
1186
1189
  { stop: !0 }
1187
1190
  ]
1188
1191
  ]),
1189
- l.hasDelete ? (S(), R(s, {
1192
+ l.hasDelete ? (S(), k(s, {
1190
1193
  key: 0,
1191
1194
  class: "mx-2",
1192
1195
  icon: E(ye),
1193
- onClick: o[1] || (o[1] = z((a) => r("delete"), ["stop"]))
1196
+ onClick: o[1] || (o[1] = q((a) => r("delete"), ["stop"]))
1194
1197
  }, null, 8, ["icon"])) : I("", !0)
1195
1198
  ]);
1196
1199
  };
@@ -1224,7 +1227,7 @@ function ps(e) {
1224
1227
  readonly: r.static || r.readonly
1225
1228
  }) };
1226
1229
  }
1227
- const vs = { class: "d-flex justify-space-between align-center" }, ms = /* @__PURE__ */ q({
1230
+ const vs = { class: "d-flex justify-space-between align-center" }, ms = /* @__PURE__ */ K({
1228
1231
  __name: "numInput",
1229
1232
  props: /* @__PURE__ */ X({
1230
1233
  hasDelete: { type: Boolean, default: !1 },
@@ -1264,11 +1267,11 @@ const vs = { class: "d-flex justify-space-between align-center" }, ms = /* @__PU
1264
1267
  { stop: !0 }
1265
1268
  ]
1266
1269
  ]),
1267
- l.hasDelete ? (S(), R(s, {
1270
+ l.hasDelete ? (S(), k(s, {
1268
1271
  key: 0,
1269
1272
  class: "mx-2",
1270
1273
  icon: E(ye),
1271
- onClick: o[1] || (o[1] = z((a) => r("delete"), ["stop"]))
1274
+ onClick: o[1] || (o[1] = q((a) => r("delete"), ["stop"]))
1272
1275
  }, null, 8, ["icon"])) : I("", !0)
1273
1276
  ]);
1274
1277
  };
@@ -1302,7 +1305,7 @@ function gs(e) {
1302
1305
  readonly: r.readonly
1303
1306
  }) };
1304
1307
  }
1305
- const ys = { class: "d-flex justify-space-between align-center" }, hs = /* @__PURE__ */ q({
1308
+ const ys = { class: "d-flex justify-space-between align-center" }, hs = /* @__PURE__ */ K({
1306
1309
  __name: "switch",
1307
1310
  props: /* @__PURE__ */ X({
1308
1311
  hasDelete: { type: Boolean, default: !1 },
@@ -1326,11 +1329,11 @@ const ys = { class: "d-flex justify-space-between align-center" }, hs = /* @__PU
1326
1329
  "hide-details": "",
1327
1330
  readonly: l.readonly
1328
1331
  }, null, 8, ["modelValue", "readonly"]),
1329
- l.hasDelete ? (S(), R(s, {
1332
+ l.hasDelete ? (S(), k(s, {
1330
1333
  key: 0,
1331
1334
  class: "mx-2",
1332
1335
  icon: E(ye),
1333
- onClick: o[1] || (o[1] = z((u) => r("delete"), ["stop"]))
1336
+ onClick: o[1] || (o[1] = q((u) => r("delete"), ["stop"]))
1334
1337
  }, null, 8, ["icon"])) : I("", !0)
1335
1338
  ]);
1336
1339
  };
@@ -1364,7 +1367,7 @@ function _s(e) {
1364
1367
  readonly: r.readonly
1365
1368
  }) };
1366
1369
  }
1367
- const bs = { class: "d-flex justify-space-between align-center" }, $s = /* @__PURE__ */ q({
1370
+ const bs = { class: "d-flex justify-space-between align-center" }, $s = /* @__PURE__ */ K({
1368
1371
  __name: "select",
1369
1372
  props: /* @__PURE__ */ X({
1370
1373
  hasDelete: { type: Boolean, default: !1 },
@@ -1396,11 +1399,11 @@ const bs = { class: "d-flex justify-space-between align-center" }, $s = /* @__PU
1396
1399
  { stop: !0 }
1397
1400
  ]
1398
1401
  ]),
1399
- l.hasDelete ? (S(), R(s, {
1402
+ l.hasDelete ? (S(), k(s, {
1400
1403
  key: 0,
1401
1404
  class: "mx-2",
1402
1405
  icon: E(ye),
1403
- onClick: o[1] || (o[1] = z((a) => r("delete"), ["stop"]))
1406
+ onClick: o[1] || (o[1] = q((a) => r("delete"), ["stop"]))
1404
1407
  }, null, 8, ["icon"])) : I("", !0)
1405
1408
  ]);
1406
1409
  };
@@ -1444,7 +1447,7 @@ function Ts(e) {
1444
1447
  readonly: l.readonly
1445
1448
  }) };
1446
1449
  }
1447
- const Ss = { class: "text-subtitle-2 ml-1" }, ws = { class: "text-caption text-grey ml-1" }, As = /* @__PURE__ */ q({
1450
+ const Ss = { class: "text-subtitle-2 ml-1" }, ws = { class: "text-caption text-grey ml-1" }, As = /* @__PURE__ */ K({
1448
1451
  __name: "group",
1449
1452
  props: {
1450
1453
  id: {},
@@ -1454,14 +1457,14 @@ const Ss = { class: "text-subtitle-2 ml-1" }, ws = { class: "text-caption text-g
1454
1457
  },
1455
1458
  emits: ["x-click"],
1456
1459
  setup(e, { emit: t }) {
1457
- const { backgroundColor2: n, highlightColor: r } = Te(), l = e, o = t, i = k(!1), s = G(() => ({
1460
+ const { backgroundColor2: n, highlightColor: r } = Te(), l = e, o = t, i = R(!1), s = G(() => ({
1458
1461
  background: i.value ? r.value : n.value,
1459
1462
  height: "30px",
1460
1463
  marginBottom: "1px",
1461
1464
  userSelect: "none"
1462
1465
  }));
1463
1466
  return (u, a) => {
1464
- const d = O("v-icon"), f = ae("ripple");
1467
+ const d = O("v-icon"), c = ae("ripple");
1465
1468
  return re((S(), F("div", {
1466
1469
  class: "d-flex align-center cursor-pointer",
1467
1470
  style: ie(s.value),
@@ -1473,14 +1476,14 @@ const Ss = { class: "text-subtitle-2 ml-1" }, ws = { class: "text-caption text-g
1473
1476
  icon: l.collapse ? E(hn) : E(yn),
1474
1477
  size: "small"
1475
1478
  }, null, 8, ["icon"]),
1476
- K("span", Ss, ne(l.title), 1),
1477
- K("span", ws, ne(l.count), 1)
1479
+ z("span", Ss, ne(l.title), 1),
1480
+ z("span", ws, ne(l.count), 1)
1478
1481
  ], 36)), [
1479
- [f]
1482
+ [c]
1480
1483
  ]);
1481
1484
  };
1482
1485
  }
1483
- }), Cs = { class: "text-subtitle-1 ml-6" }, Ps = /* @__PURE__ */ q({
1486
+ }), Cs = { class: "text-subtitle-1 ml-6" }, Ps = /* @__PURE__ */ K({
1484
1487
  __name: "item",
1485
1488
  props: {
1486
1489
  id: {},
@@ -1488,7 +1491,7 @@ const Ss = { class: "text-subtitle-2 ml-1" }, ws = { class: "text-caption text-g
1488
1491
  },
1489
1492
  emits: ["x-click"],
1490
1493
  setup(e, { emit: t }) {
1491
- const { backgroundColor2: n, highlightColor: r } = Te(), l = e, o = t, i = k(!1), s = G(() => ({
1494
+ const { backgroundColor2: n, highlightColor: r } = Te(), l = e, o = t, i = R(!1), s = G(() => ({
1492
1495
  background: i.value ? r.value : n.value,
1493
1496
  height: "48px",
1494
1497
  marginBottom: "1px",
@@ -1499,11 +1502,11 @@ const Ss = { class: "text-subtitle-2 ml-1" }, ws = { class: "text-caption text-g
1499
1502
  return re((S(), F("div", {
1500
1503
  class: "d-flex align-center cursor-pointer",
1501
1504
  style: ie(s.value),
1502
- onClick: a[0] || (a[0] = (f) => o("x-click", l.id)),
1503
- onMouseover: a[1] || (a[1] = (f) => i.value = !0),
1504
- onMouseout: a[2] || (a[2] = (f) => i.value = !1)
1505
+ onClick: a[0] || (a[0] = (c) => o("x-click", l.id)),
1506
+ onMouseover: a[1] || (a[1] = (c) => i.value = !0),
1507
+ onMouseout: a[2] || (a[2] = (c) => i.value = !1)
1505
1508
  }, [
1506
- K("span", Cs, ne(l.title), 1)
1509
+ z("span", Cs, ne(l.title), 1)
1507
1510
  ], 36)), [
1508
1511
  [d]
1509
1512
  ]);
@@ -1512,7 +1515,7 @@ const Ss = { class: "text-subtitle-2 ml-1" }, ws = { class: "text-caption text-g
1512
1515
  }), Os = { key: 0 }, xs = {
1513
1516
  key: 1,
1514
1517
  class: "text-body-2 text-grey ml-3"
1515
- }, Ms = /* @__PURE__ */ q({
1518
+ }, Ms = /* @__PURE__ */ K({
1516
1519
  __name: "index",
1517
1520
  props: {
1518
1521
  modelValue: {},
@@ -1532,7 +1535,7 @@ const Ss = { class: "text-subtitle-2 ml-1" }, ws = { class: "text-caption text-g
1532
1535
  (S(!0), F(He, null, Ht(E(l), (a) => (S(), F(He, {
1533
1536
  key: a.id
1534
1537
  }, [
1535
- a.type === 0 ? (S(), R(As, {
1538
+ a.type === 0 ? (S(), k(As, {
1536
1539
  key: 0,
1537
1540
  id: a.id,
1538
1541
  title: a.name,
@@ -1540,7 +1543,7 @@ const Ss = { class: "text-subtitle-2 ml-1" }, ws = { class: "text-caption text-g
1540
1543
  count: a.count ?? 0,
1541
1544
  onXClick: o
1542
1545
  }, null, 8, ["id", "title", "collapse", "count"])) : I("", !0),
1543
- a.type === 1 && a.show ? (S(), R(Ps, {
1546
+ a.type === 1 && a.show ? (S(), k(Ps, {
1544
1547
  key: 1,
1545
1548
  id: a.id,
1546
1549
  title: a.name,
@@ -1549,7 +1552,7 @@ const Ss = { class: "text-subtitle-2 ml-1" }, ws = { class: "text-caption text-g
1549
1552
  ], 64))), 128))
1550
1553
  ])) : (S(), F("div", xs, ne(E(t)("x-prop-tree.noComp")), 1));
1551
1554
  }
1552
- }), Us = { class: "text-subtitle-1 ml-3" }, Vs = /* @__PURE__ */ q({
1555
+ }), Us = { class: "text-subtitle-1 ml-3" }, Vs = /* @__PURE__ */ K({
1553
1556
  __name: "index",
1554
1557
  props: {
1555
1558
  modelValue: {},
@@ -1557,7 +1560,7 @@ const Ss = { class: "text-subtitle-2 ml-1" }, ws = { class: "text-caption text-g
1557
1560
  },
1558
1561
  emits: ["update:modelValue"],
1559
1562
  setup(e) {
1560
- const { t } = ue(), n = kn(), { sysBarAvail: r } = En(), { backgroundColor1: l } = Te(), o = oe(e, "modelValue"), i = gn(), s = G(() => {
1563
+ const { t } = ue(), n = Rn(), { sysBarAvail: r } = En(), { backgroundColor1: l } = Te(), o = oe(e, "modelValue"), i = gn(), s = G(() => {
1561
1564
  let g = "100%";
1562
1565
  return n.mdAndUp.value && (g = "400px"), {
1563
1566
  background: l.value,
@@ -1577,42 +1580,42 @@ const Ss = { class: "text-subtitle-2 ml-1" }, ws = { class: "text-caption text-g
1577
1580
  return t("x-prop-tree.notSet");
1578
1581
  const g = cn(i, o.value);
1579
1582
  return g ? g.name : t("x-runtime-lib.compNotAvail");
1580
- }), { open: f } = at(`propTreeCompSelectDlg${Gt()}`);
1581
- return qt(() => {
1582
- f.value = !1;
1583
+ }), { open: c } = ut(`propTreeCompSelectDlg${Gt()}`);
1584
+ return Kt(() => {
1585
+ c.value = !1;
1583
1586
  }), (g, y) => {
1584
1587
  const h = O("v-btn"), M = O("v-sheet"), b = O("v-icon"), D = O("v-dialog");
1585
- return S(), R(D, {
1586
- modelValue: E(f),
1587
- "onUpdate:modelValue": y[5] || (y[5] = (w) => Fe(f) ? f.value = w : null),
1588
+ return S(), k(D, {
1589
+ modelValue: E(c),
1590
+ "onUpdate:modelValue": y[5] || (y[5] = (w) => Fe(c) ? c.value = w : null),
1588
1591
  transition: "scroll-x-reverse-transition",
1589
1592
  persistent: "",
1590
1593
  "no-click-animation": "",
1591
1594
  fullscreen: "",
1592
- onKeydown: y[6] || (y[6] = Vn(z((w) => f.value = !1, ["stop", "prevent"]), ["esc"]))
1595
+ onKeydown: y[6] || (y[6] = Vn(q((w) => c.value = !1, ["stop", "prevent"]), ["esc"]))
1593
1596
  }, {
1594
1597
  activator: J(({ props: w }) => [
1595
- B(h, zt(w, {
1598
+ B(h, qt(w, {
1596
1599
  density: "comfortable",
1597
1600
  block: ""
1598
1601
  }), {
1599
1602
  default: J(() => [
1600
- st(ne(d.value), 1)
1603
+ at(ne(d.value), 1)
1601
1604
  ]),
1602
1605
  _: 2
1603
1606
  }, 1040)
1604
1607
  ]),
1605
1608
  default: J(() => [
1606
- K("div", {
1609
+ z("div", {
1607
1610
  class: "w-100 h-100 d-flex flex-row-reverse",
1608
- onClick: y[3] || (y[3] = z((w) => f.value = !1, ["self"])),
1609
- onContextmenu: y[4] || (y[4] = z((w) => f.value = !1, ["self", "prevent"]))
1611
+ onClick: y[3] || (y[3] = q((w) => c.value = !1, ["self"])),
1612
+ onContextmenu: y[4] || (y[4] = q((w) => c.value = !1, ["self", "prevent"]))
1610
1613
  }, [
1611
- K("div", {
1614
+ z("div", {
1612
1615
  class: "elevation-2",
1613
1616
  style: ie(s.value)
1614
1617
  }, [
1615
- E(r) ? (S(), R(M, {
1618
+ E(r) ? (S(), k(M, {
1616
1619
  key: 0,
1617
1620
  color: "transparent",
1618
1621
  height: 24
@@ -1625,23 +1628,23 @@ const Ss = { class: "text-subtitle-2 ml-1" }, ws = { class: "text-caption text-g
1625
1628
  default: J(() => [
1626
1629
  B(b, {
1627
1630
  icon: E(is),
1628
- onClick: y[0] || (y[0] = (w) => f.value = !1)
1631
+ onClick: y[0] || (y[0] = (w) => c.value = !1)
1629
1632
  }, null, 8, ["icon"]),
1630
- K("span", Us, ne(E(t)("x-prop-tree.dlg.compSelect.title")), 1)
1633
+ z("span", Us, ne(E(t)("x-prop-tree.dlg.compSelect.title")), 1)
1631
1634
  ]),
1632
1635
  _: 1
1633
1636
  }),
1634
- K("div", {
1637
+ z("div", {
1635
1638
  class: "overflow-y-auto",
1636
1639
  style: ie(u.value)
1637
1640
  }, [
1638
1641
  B(Ms, {
1639
1642
  modelValue: o.value,
1640
1643
  "onUpdate:modelValue": y[1] || (y[1] = (w) => o.value = w),
1641
- open: E(f),
1642
- "onUpdate:open": y[2] || (y[2] = (w) => Fe(f) ? f.value = w : null)
1644
+ open: E(c),
1645
+ "onUpdate:open": y[2] || (y[2] = (w) => Fe(c) ? c.value = w : null)
1643
1646
  }, null, 8, ["modelValue", "open"]),
1644
- K("div", {
1647
+ z("div", {
1645
1648
  style: ie(a.value)
1646
1649
  }, null, 4)
1647
1650
  ], 4)
@@ -1676,7 +1679,7 @@ function Ls(e) {
1676
1679
  }
1677
1680
  }) };
1678
1681
  }
1679
- const Ds = { class: "d-flex justify-space-between align-center" }, js = /* @__PURE__ */ q({
1682
+ const Ds = { class: "d-flex justify-space-between align-center" }, js = /* @__PURE__ */ K({
1680
1683
  __name: "colorPicker",
1681
1684
  props: /* @__PURE__ */ X({
1682
1685
  hasDelete: { type: Boolean, default: !1 },
@@ -1692,40 +1695,40 @@ const Ds = { class: "d-flex justify-space-between align-center" }, js = /* @__PU
1692
1695
  return e.hasDelete && (u = "calc(100% - 37px)"), {
1693
1696
  width: u
1694
1697
  };
1695
- }), i = G(() => e.readonly), { open: s } = at(`propTreeColorPickerMenu${Gt()}`);
1696
- return qt(() => {
1698
+ }), i = G(() => e.readonly), { open: s } = ut(`propTreeColorPickerMenu${Gt()}`);
1699
+ return Kt(() => {
1697
1700
  s.value = !1;
1698
1701
  }), (u, a) => {
1699
- const d = O("v-btn"), f = O("v-icon"), g = O("v-color-picker"), y = O("v-menu");
1700
- return S(), R(y, {
1702
+ const d = O("v-btn"), c = O("v-icon"), g = O("v-color-picker"), y = O("v-menu");
1703
+ return S(), k(y, {
1701
1704
  modelValue: E(s),
1702
1705
  "onUpdate:modelValue": a[2] || (a[2] = (h) => Fe(s) ? s.value = h : null),
1703
1706
  "close-on-content-click": !1,
1704
1707
  scrim: "transparent"
1705
1708
  }, {
1706
1709
  activator: J(({ props: h }) => [
1707
- K("div", Ds, [
1708
- K("div", {
1710
+ z("div", Ds, [
1711
+ z("div", {
1709
1712
  class: "flex-grow-1",
1710
1713
  style: ie(o.value)
1711
1714
  }, [
1712
- B(d, zt(h, {
1715
+ B(d, qt(h, {
1713
1716
  density: "comfortable",
1714
1717
  color: r.value,
1715
1718
  block: "",
1716
1719
  disabled: i.value
1717
1720
  }), {
1718
1721
  default: J(() => [
1719
- st(ne(r.value ? r.value : E(n)("x-runtime-lib.notSet")), 1)
1722
+ at(ne(r.value ? r.value : E(n)("x-runtime-lib.notSet")), 1)
1720
1723
  ]),
1721
1724
  _: 2
1722
1725
  }, 1040, ["color", "disabled"])
1723
1726
  ], 4),
1724
- u.hasDelete ? (S(), R(f, {
1727
+ u.hasDelete ? (S(), k(c, {
1725
1728
  key: 0,
1726
1729
  class: "mx-2",
1727
1730
  icon: E(ye),
1728
- onClick: a[0] || (a[0] = z((M) => l("delete"), ["stop"]))
1731
+ onClick: a[0] || (a[0] = q((M) => l("delete"), ["stop"]))
1729
1732
  }, null, 8, ["icon"])) : I("", !0)
1730
1733
  ])
1731
1734
  ]),
@@ -1771,7 +1774,7 @@ function Es(e) {
1771
1774
  readonly: r.readonly
1772
1775
  }) };
1773
1776
  }
1774
- const Ns = { class: "d-flex justify-space-between align-center my-2" }, Bs = { class: "flex-grow-1" }, ks = /* @__PURE__ */ q({
1777
+ const Ns = { class: "d-flex justify-space-between align-center my-2" }, Bs = { class: "flex-grow-1" }, Rs = /* @__PURE__ */ K({
1775
1778
  __name: "multiTypes",
1776
1779
  props: /* @__PURE__ */ X({
1777
1780
  hasDelete: { type: Boolean, default: !1 },
@@ -1782,33 +1785,33 @@ const Ns = { class: "d-flex justify-space-between align-center my-2" }, Bs = { c
1782
1785
  }),
1783
1786
  emits: /* @__PURE__ */ X(["delete"], ["update:modelValue"]),
1784
1787
  setup(e, { emit: t }) {
1785
- const { t: n } = ue(), r = oe(e, "modelValue"), l = t, o = k(0), i = G(() => {
1788
+ const { t: n } = ue(), r = oe(e, "modelValue"), l = t, o = R(0), i = G(() => {
1786
1789
  const d = [];
1787
- return e.types.forEach(({ name: f }, g) => {
1790
+ return e.types.forEach(({ name: c }, g) => {
1788
1791
  d.push({
1789
- title: n(f),
1792
+ title: n(c),
1790
1793
  value: g
1791
1794
  });
1792
1795
  }), d;
1793
1796
  });
1794
1797
  mt(() => {
1795
- e.types.some((d, f) => d.validator(r.value) ? (o.value = f, !0) : !1);
1798
+ e.types.some((d, c) => d.validator(r.value) ? (o.value = c, !0) : !1);
1796
1799
  });
1797
1800
  const s = G(() => e.types[o.value]), u = () => {
1798
1801
  r.value = s.value.default;
1799
- }, a = k(0);
1802
+ }, a = R(0);
1800
1803
  return mt(() => {
1801
1804
  s.value.ui === "pixelInput" ? a.value = Nn(r.value) : s.value.ui === "percentInput" && (a.value = Bn(r.value));
1802
- }), ke(a, (d) => {
1805
+ }), Re(a, (d) => {
1803
1806
  s.value.ui === "pixelInput" ? r.value = d + "px" : s.value.ui === "percentInput" && (r.value = d + "%");
1804
- }), (d, f) => {
1807
+ }), (d, c) => {
1805
1808
  const g = O("v-select"), y = O("v-number-input"), h = O("v-icon"), M = ae("ripple");
1806
1809
  return S(), F("div", Ns, [
1807
- K("div", Bs, [
1810
+ z("div", Bs, [
1808
1811
  re(B(g, {
1809
1812
  modelValue: o.value,
1810
1813
  "onUpdate:modelValue": [
1811
- f[0] || (f[0] = (b) => o.value = b),
1814
+ c[0] || (c[0] = (b) => o.value = b),
1812
1815
  u
1813
1816
  ],
1814
1817
  density: "compact",
@@ -1823,10 +1826,10 @@ const Ns = { class: "d-flex justify-space-between align-center my-2" }, Bs = { c
1823
1826
  { stop: !0 }
1824
1827
  ]
1825
1828
  ]),
1826
- s.value.ui === "pixelInput" || s.value.ui === "percentInput" ? re((S(), R(y, {
1829
+ s.value.ui === "pixelInput" || s.value.ui === "percentInput" ? re((S(), k(y, {
1827
1830
  key: 0,
1828
1831
  modelValue: a.value,
1829
- "onUpdate:modelValue": f[1] || (f[1] = (b) => a.value = b),
1832
+ "onUpdate:modelValue": c[1] || (c[1] = (b) => a.value = b),
1830
1833
  density: "compact",
1831
1834
  "control-variant": "stacked",
1832
1835
  precision: s.value.precision,
@@ -1844,18 +1847,18 @@ const Ns = { class: "d-flex justify-space-between align-center my-2" }, Bs = { c
1844
1847
  ]
1845
1848
  ]) : I("", !0)
1846
1849
  ]),
1847
- d.hasDelete ? (S(), R(h, {
1850
+ d.hasDelete ? (S(), k(h, {
1848
1851
  key: 0,
1849
1852
  class: "mx-2",
1850
1853
  icon: E(ye),
1851
- onClick: f[2] || (f[2] = z((b) => l("delete"), ["stop"]))
1854
+ onClick: c[2] || (c[2] = q((b) => l("delete"), ["stop"]))
1852
1855
  }, null, 8, ["icon"])) : I("", !0)
1853
1856
  ]);
1854
1857
  };
1855
1858
  }
1856
1859
  });
1857
- function Rs(e) {
1858
- return { renderUiMultiTypes: (n, r, l, o, i) => r.ui !== "multiTypes" ? (console.assert(!1), _("div", "renderUiMultiTypes prop ui must be multiTypes")) : _(ks, {
1860
+ function ks(e) {
1861
+ return { renderUiMultiTypes: (n, r, l, o, i) => r.ui !== "multiTypes" ? (console.assert(!1), _("div", "renderUiMultiTypes prop ui must be multiTypes")) : _(Rs, {
1859
1862
  modelValue: ce(
1860
1863
  n,
1861
1864
  r,
@@ -1882,7 +1885,7 @@ function Rs(e) {
1882
1885
  types: r.types
1883
1886
  }) };
1884
1887
  }
1885
- const Fs = /* @__PURE__ */ q({
1888
+ const Fs = /* @__PURE__ */ K({
1886
1889
  __name: "index",
1887
1890
  props: {
1888
1891
  unique: {},
@@ -1891,36 +1894,36 @@ const Fs = /* @__PURE__ */ q({
1891
1894
  },
1892
1895
  emits: ["change"],
1893
1896
  setup(e, { emit: t }) {
1894
- const { t: n } = ue(), { backgroundColor1: r } = Te(), l = e, o = t, i = k("20px"), s = k("56px"), u = k("200px"), a = Ln({}), d = k({}), f = (v, c) => {
1895
- Ft(d, l.config, l.object), o("change", v, c);
1897
+ const { t: n } = ue(), { backgroundColor1: r } = Te(), l = e, o = t, i = R("20px"), s = R("56px"), u = R("200px"), a = Ln({}), d = R({}), c = (v, f) => {
1898
+ Ft(d, l.config, l.object), o("change", v, f);
1896
1899
  };
1897
- ke(
1900
+ Re(
1898
1901
  [() => l.config, () => l.object],
1899
1902
  () => {
1900
- Ft(d, l.config, l.object, (v, c) => {
1901
- o("change", v, c);
1903
+ Ft(d, l.config, l.object, (v, f) => {
1904
+ o("change", v, f);
1902
1905
  });
1903
1906
  },
1904
1907
  { immediate: !0 }
1905
1908
  );
1906
- const g = k(l.config);
1907
- Ji(g), ke(
1909
+ const g = R(l.config);
1910
+ Ji(g), Re(
1908
1911
  () => l.config,
1909
1912
  () => {
1910
1913
  g.value = l.config;
1911
1914
  }
1912
1915
  );
1913
- const y = k(l.object);
1914
- Yi(y), ke(
1916
+ const y = R(l.object);
1917
+ Yi(y), Re(
1915
1918
  () => l.object,
1916
1919
  () => {
1917
1920
  y.value = l.object;
1918
1921
  }
1919
- ), es(d), ns(f);
1920
- const h = k([]);
1922
+ ), es(d), ns(c);
1923
+ const h = R([]);
1921
1924
  os(h);
1922
1925
  const M = () => {
1923
- const { compGroups: v, comps: c } = Rn.app.activeApp, m = [];
1926
+ const { compGroups: v, comps: f } = kn.app.activeApp, m = [];
1924
1927
  v.forEach(({ id: p, name: $, position: C }) => {
1925
1928
  const L = h.value.find((Q) => Q.id === p);
1926
1929
  m.push({
@@ -1930,7 +1933,7 @@ const Fs = /* @__PURE__ */ q({
1930
1933
  position: C,
1931
1934
  collapse: (L == null ? void 0 : L.collapse) ?? !0
1932
1935
  });
1933
- }), c.forEach(({ id: p, groupid: $, name: C, position: L }) => {
1936
+ }), f.forEach(({ id: p, groupid: $, name: C, position: L }) => {
1934
1937
  m.push({ id: p, type: 1, name: C, position: L, group: $ });
1935
1938
  }), Fi(m, !0), h.value = m;
1936
1939
  };
@@ -1947,23 +1950,23 @@ const Fs = /* @__PURE__ */ q({
1947
1950
  }), jn(() => {
1948
1951
  w();
1949
1952
  });
1950
- const { renderProp: U } = us(d, s, u), { renderUiDummy: A } = cs(f), { renderUiStrInput: V } = 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 = (v, c, m, p, $, C) => (v = sn(v), $ !== void 0 ? (v.push($), C && v.push(c.key)) : v.push(c.key), c.ui ? c.array && $ === void 0 ? An(v, c, m, p, $, C) : Cn(v, c, m, $, C) : c.array ? Sn(v, c, m, p, $, C) : wn(
1953
+ const { renderProp: U } = us(d, s, u), { renderUiDummy: A } = cs(c), { renderUiStrInput: V } = ps(c), { renderUiNumInput: W } = gs(c), { renderUiSwitch: Ye } = _s(c), { renderUiSelect: _n } = Ts(c), { renderUiColorPicker: bn } = Es(c), { renderUiMultiTypes: $n } = ks(c), { renderUiCompSelect: Tn } = Ls(c), Le = (v, f, m, p, $, C) => (v = sn(v), $ !== void 0 ? (v.push($), C && v.push(f.key)) : v.push(f.key), f.ui ? f.array && p ? An(v, f, m, p, $, C) : Cn(v, f, m, $, C) : f.array ? Sn(v, f, m, p, $, C) : wn(
1951
1954
  v,
1952
- c,
1955
+ f,
1953
1956
  m,
1954
1957
  p,
1955
1958
  $,
1956
1959
  C
1957
- )), Sn = (v, c, m, p, $, C) => {
1958
- if (c.ui)
1960
+ )), Sn = (v, f, m, p, $, C) => {
1961
+ if (f.ui)
1959
1962
  return console.assert(!1), _("div", "renderBranchArray prop ui must be invalid");
1960
- if (!c.array)
1963
+ if (!f.array)
1961
1964
  return console.assert(!1), _("div", "renderBranchArray prop array must be valid");
1962
1965
  if (!p)
1963
1966
  return console.assert(!1), _("div", "renderBranchArray branch must be valid");
1964
1967
  let L;
1965
- $ !== void 0 && !C ? (m[$] instanceof Array || (m[$] = N(c), f(v, m[c.key])), L = m[$]) : (m[c.key] instanceof Array || (m[c.key] = N(c), f(v, m[c.key])), L = m[c.key]);
1966
- let Q = n(c.name);
1968
+ $ !== void 0 && !C ? (m[$] instanceof Array || (m[$] = N(f), c(v, m[f.key])), L = m[$]) : (m[f.key] instanceof Array || (m[f.key] = N(f), c(v, m[f.key])), L = m[f.key]);
1969
+ let Q = n(f.name);
1967
1970
  p.collapse && be(d.value, v) && (Q += " *");
1968
1971
  const Se = _(Be, {
1969
1972
  title: Q,
@@ -1976,7 +1979,7 @@ const Fs = /* @__PURE__ */ q({
1976
1979
  _e.emit("propTreeMenu", { x: T, y: j, keys: v });
1977
1980
  },
1978
1981
  onCreate: () => {
1979
- L.push({}), f(v, L);
1982
+ L.push({}), c(v, L);
1980
1983
  }
1981
1984
  }), H = _(
1982
1985
  "div",
@@ -1988,7 +1991,7 @@ const Fs = /* @__PURE__ */ q({
1988
1991
  (() => {
1989
1992
  const T = [];
1990
1993
  for (let j = 0; j < L.length; j++) {
1991
- if (!tt(p.children)) {
1994
+ if (!nt(p.children)) {
1992
1995
  console.assert(!1);
1993
1996
  break;
1994
1997
  }
@@ -1997,7 +2000,7 @@ const Fs = /* @__PURE__ */ q({
1997
2000
  children: {}
1998
2001
  });
1999
2002
  const De = [...v, j], je = p.children[j];
2000
- let vt = n("x-prop-tree.entry", { index: j });
2003
+ let vt = `[${j + 1}]`;
2001
2004
  p.children[j].collapse && be(d.value, De) && (vt += " *");
2002
2005
  const On = _(Be, {
2003
2006
  title: vt,
@@ -2005,7 +2008,7 @@ const Fs = /* @__PURE__ */ q({
2005
2008
  hasDelete: !0,
2006
2009
  index: j,
2007
2010
  onCollapse: (ee) => {
2008
- if (!tt(p.children)) {
2011
+ if (!nt(p.children)) {
2009
2012
  console.assert(!1);
2010
2013
  return;
2011
2014
  }
@@ -2015,11 +2018,11 @@ const Fs = /* @__PURE__ */ q({
2015
2018
  _e.emit("propTreeMenu", { x: ee, y: fe, keys: De });
2016
2019
  },
2017
2020
  onDelete: (ee) => {
2018
- if (!tt(p.children)) {
2021
+ if (!nt(p.children)) {
2019
2022
  console.assert(!1);
2020
2023
  return;
2021
2024
  }
2022
- p.children.splice(ee, 1), L.splice(ee, 1), f(v, L);
2025
+ p.children.splice(ee, 1), L.splice(ee, 1), c(v, L);
2023
2026
  }
2024
2027
  });
2025
2028
  T.push(On);
@@ -2032,8 +2035,8 @@ const Fs = /* @__PURE__ */ q({
2032
2035
  },
2033
2036
  (() => {
2034
2037
  const ee = [];
2035
- return c.children.forEach((fe) => {
2036
- if (!Rt(je.children)) {
2038
+ return f.children.forEach((fe) => {
2039
+ if (!kt(je.children)) {
2037
2040
  console.assert(!1);
2038
2041
  return;
2039
2042
  }
@@ -2070,14 +2073,14 @@ const Fs = /* @__PURE__ */ q({
2070
2073
  return T.push(Se), p.collapse || T.push(H), T;
2071
2074
  })()
2072
2075
  );
2073
- }, wn = (v, c, m, p, $, C) => {
2074
- if (c.ui)
2076
+ }, wn = (v, f, m, p, $, C) => {
2077
+ if (f.ui)
2075
2078
  return console.assert(!1), _("div", "renderBranchScalar prop ui must be invalid");
2076
- if (c.array)
2079
+ if (f.array)
2077
2080
  return console.assert(!1), _("div", "renderBranchScalar prop array must be invalid");
2078
2081
  if (!p)
2079
2082
  return console.assert(!1), _("div", "renderBranchScalar branch must be valid");
2080
- let L = n(c.name);
2083
+ let L = n(f.name);
2081
2084
  p.collapse && be(d.value, v) && (L += " *");
2082
2085
  const Q = _(Be, {
2083
2086
  title: L,
@@ -2090,7 +2093,7 @@ const Fs = /* @__PURE__ */ q({
2090
2093
  _e.emit("propTreeMenu", { x: H, y: T, keys: v });
2091
2094
  },
2092
2095
  onDelete: () => {
2093
- $ === void 0 || C || (m.splice($, 1), f(v.slice(0, -1), m));
2096
+ $ === void 0 || C || (m.splice($, 1), c(v.slice(0, -1), m));
2094
2097
  }
2095
2098
  }), Se = _(
2096
2099
  "div",
@@ -2101,8 +2104,8 @@ const Fs = /* @__PURE__ */ q({
2101
2104
  },
2102
2105
  (() => {
2103
2106
  const H = [];
2104
- return c.children.forEach((T) => {
2105
- if (!Rt(p.children)) {
2107
+ return f.children.forEach((T) => {
2108
+ if (!kt(p.children)) {
2106
2109
  console.assert(!1);
2107
2110
  return;
2108
2111
  }
@@ -2113,7 +2116,7 @@ const Fs = /* @__PURE__ */ q({
2113
2116
  const j = Le(
2114
2117
  v,
2115
2118
  T,
2116
- (typeof m[c.key] != "object" && (m[c.key] = {}, f(v, m[c.key])), m[c.key]),
2119
+ (typeof m[f.key] != "object" && (m[f.key] = {}, c(v, m[f.key])), m[f.key]),
2117
2120
  p.children[T.key]
2118
2121
  );
2119
2122
  H.push(j);
@@ -2132,16 +2135,16 @@ const Fs = /* @__PURE__ */ q({
2132
2135
  return H.push(Q), p.collapse || H.push(Se), H;
2133
2136
  })()
2134
2137
  );
2135
- }, An = (v, c, m, p, $, C) => {
2136
- if (!c.ui)
2138
+ }, An = (v, f, m, p, $, C) => {
2139
+ if (!f.ui)
2137
2140
  return console.assert(!1), _("div", "renderLeafArray prop ui must be valid");
2138
- if (!c.array)
2141
+ if (!f.array)
2139
2142
  return console.assert(!1), _("div", "renderLeafArray prop array must be valid");
2140
2143
  if (!p)
2141
2144
  return console.assert(!1), _("div", "renderLeafArray branch must be valid");
2142
2145
  let L;
2143
- $ !== void 0 && !C ? (m[$] instanceof Array || (m[$] = N(c), f(v, m[$])), L = m[$]) : (m[c.key] instanceof Array || (m[c.key] = N(c), f(v, m[c.key])), L = m[c.key]);
2144
- let Q = n(c.name);
2146
+ $ !== void 0 && !C ? (m[$] instanceof Array || (m[$] = N(f), c(v, m[$])), L = m[$]) : (m[f.key] instanceof Array || (m[f.key] = N(f), c(v, m[f.key])), L = m[f.key]);
2147
+ let Q = n(f.name);
2145
2148
  p.collapse && be(d.value, v) && (Q += " *");
2146
2149
  const Se = _(Be, {
2147
2150
  title: Q,
@@ -2154,7 +2157,7 @@ const Fs = /* @__PURE__ */ q({
2154
2157
  _e.emit("propTreeMenu", { x: T, y: j, keys: v });
2155
2158
  },
2156
2159
  onCreate: () => {
2157
- L.push(N(c, !0)), f(v, L);
2160
+ L.push(N(f, !0)), c(v, L);
2158
2161
  }
2159
2162
  }), H = _(
2160
2163
  "div",
@@ -2166,7 +2169,7 @@ const Fs = /* @__PURE__ */ q({
2166
2169
  (() => {
2167
2170
  const T = [];
2168
2171
  for (let j = 0; j < L.length; j++) {
2169
- const De = Le(v, c, L, void 0, j, !1);
2172
+ const De = Le(v, f, L, void 0, j, !1);
2170
2173
  T.push(De);
2171
2174
  }
2172
2175
  return T;
@@ -2184,11 +2187,11 @@ const Fs = /* @__PURE__ */ q({
2184
2187
  return T.push(Se), p.collapse || T.push(H), T;
2185
2188
  })()
2186
2189
  );
2187
- }, Cn = (v, c, m, p, $) => {
2188
- if (!c.ui)
2190
+ }, Cn = (v, f, m, p, $) => {
2191
+ if (!f.ui)
2189
2192
  return console.assert(!1), _("div", "renderLeafScalar prop ui must be valid");
2190
2193
  let C;
2191
- return c.ui === "dummy" ? C = A(v, c, m, p, $) : c.ui === "strInput" ? C = V(v, c, m, p, $) : c.ui === "numInput" ? C = W(v, c, m, p, $) : c.ui === "switch" ? C = We(v, c, m, p, $) : c.ui === "select" ? C = _n(v, c, m, p, $) : c.ui === "colorPicker" ? C = bn(v, c, m, p, $) : c.ui === "multiTypes" ? C = $n(v, c, m, p, $) : c.ui === "compSelect" ? C = Tn(v, c, m, p, $) : console.assert(!1, "renderLeafScalar not implemented"), C ? U(v, c, C) : _("div");
2194
+ return f.ui === "dummy" ? C = A(v, f, m, p, $) : f.ui === "strInput" ? C = V(v, f, m, p, $) : f.ui === "numInput" ? C = W(v, f, m, p, $) : f.ui === "switch" ? C = Ye(v, f, m, p, $) : f.ui === "select" ? C = _n(v, f, m, p, $) : f.ui === "colorPicker" ? C = bn(v, f, m, p, $) : f.ui === "multiTypes" ? C = $n(v, f, m, p, $) : f.ui === "compSelect" ? C = Tn(v, f, m, p, $) : console.assert(!1, "renderLeafScalar not implemented"), C ? U(v, f, C) : _("div");
2192
2195
  }, Pn = () => _(
2193
2196
  "div",
2194
2197
  {
@@ -2201,20 +2204,20 @@ const Fs = /* @__PURE__ */ q({
2201
2204
  const v = [];
2202
2205
  if (l.unique && l.config.length > 0 && l.object) {
2203
2206
  a[l.unique] || (a[l.unique] = {});
2204
- const c = a[l.unique];
2207
+ const f = a[l.unique];
2205
2208
  l.config.forEach((m) => {
2206
- c[m.key] || (c[m.key] = {
2209
+ f[m.key] || (f[m.key] = {
2207
2210
  collapse: !0,
2208
2211
  children: !m.ui && m.array ? [] : {}
2209
2212
  });
2210
- const p = Le([], m, l.object, c[m.key]);
2213
+ const p = Le([], m, l.object, f[m.key]);
2211
2214
  v.push(p);
2212
2215
  });
2213
2216
  }
2214
2217
  return v;
2215
2218
  })()
2216
2219
  );
2217
- return (v, c) => (S(), F(He, null, [
2220
+ return (v, f) => (S(), F(He, null, [
2218
2221
  B(Pn),
2219
2222
  B(ls, {
2220
2223
  config: l.config,
@@ -2239,7 +2242,7 @@ const Fs = /* @__PURE__ */ q({
2239
2242
  });
2240
2243
  };
2241
2244
  async function Js(e) {
2242
- return (await Gs(/* @__PURE__ */ Object.assign({ "./locales/en/index.ts": () => import("./i18n-en-nonohi4u.js"), "./locales/zhHans/index.ts": () => import("./i18n-zhHans-gdfh4wwz.js") }), `./locales/${e}/index.ts`, 4)).default;
2245
+ return (await Gs(/* @__PURE__ */ Object.assign({ "./locales/en/index.ts": () => import("./i18n-en-g2bvdvq4.js"), "./locales/zhHans/index.ts": () => import("./i18n-zhHans-enket0x3.js") }), `./locales/${e}/index.ts`, 4)).default;
2243
2246
  }
2244
2247
  const Ws = { install: Hs };
2245
2248
  export {