x-prop-tree 0.6.20 → 0.6.22

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.
Files changed (2) hide show
  1. package/dist/index.js +327 -311
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
- import { provide as Te, inject as Se, defineComponent as K, ref as B, computed as R, resolveComponent as V, createBlock as F, openBlock as w, unref as k, isRef as Fe, withCtx as J, createVNode as N, createElementBlock as H, Fragment as He, renderList as Ht, createTextVNode as at, toDisplayString as ne, resolveDirective as ae, withDirectives as re, withModifiers as z, normalizeStyle as le, createElementVNode as q, createCommentVNode as I, renderSlot as jn, h as _, mergeModels as X, useModel as oe, useId as Gt, onUnmounted as Kt, withKeys as kn, mergeProps as zt, watchEffect as mt, watch as Oe, reactive as En, onMounted as Nn, onBeforeUnmount as Bn } from "vue";
1
+ import { provide as Te, inject as Se, defineComponent as K, ref as B, computed as R, resolveComponent as V, createBlock as F, openBlock as w, unref as E, isRef as Fe, withCtx as J, createVNode as N, createElementBlock as H, Fragment as He, renderList as Ht, createTextVNode as at, toDisplayString as ne, resolveDirective as ae, withDirectives as re, withModifiers as z, normalizeStyle as le, createElementVNode as q, createCommentVNode as I, renderSlot as jn, h, mergeModels as X, useModel as oe, useId as Gt, onUnmounted as Kt, withKeys as En, mergeProps as zt, watchEffect as mt, watch as xe, reactive as kn, onMounted as Nn, onBeforeUnmount as Bn } from "vue";
2
2
  import { useI18n as ue } from "vue-i18n";
3
3
  import { useViewStack as ut, useColor as we, eventBus as _e, useSystem as Rn } from "x-essential-lib";
4
- import { getPropDefault as E, pkgs as qt, parsePixelStr as Fn, parsePercentStr as Hn } from "x-runtime-lib";
4
+ import { getPropDefault as k, pkgs as qt, parsePixelStr as Fn, parsePercentStr as Hn } from "x-runtime-lib";
5
5
  import { globalState as Gn } from "x-state-lib";
6
6
  import { useDisplay as Kn } from "vuetify";
7
7
  var It = typeof global == "object" && global && global.Object === Object && global, zn = typeof self == "object" && self && self.Object === Object && self, Y = It || zn || Function("return this")(), se = Y.Symbol, Xt = Object.prototype, qn = Xt.hasOwnProperty, In = Xt.toString, Ce = se ? se.toStringTag : void 0;
@@ -19,9 +19,9 @@ var Zn = Object.prototype, Jn = Zn.toString;
19
19
  function Wn(e) {
20
20
  return Jn.call(e);
21
21
  }
22
- var Yn = "[object Null]", Qn = "[object Undefined]", gt = se ? se.toStringTag : void 0;
22
+ var Yn = "[object Null]", Qn = "[object Undefined]", yt = se ? se.toStringTag : void 0;
23
23
  function Le(e) {
24
- return e == null ? e === void 0 ? Qn : Yn : gt && gt in Object(e) ? Xn(e) : Wn(e);
24
+ return e == null ? e === void 0 ? Qn : Yn : yt && yt in Object(e) ? Xn(e) : Wn(e);
25
25
  }
26
26
  function de(e) {
27
27
  return e != null && typeof e == "object";
@@ -38,12 +38,12 @@ function Zt(e) {
38
38
  var t = Le(e);
39
39
  return t == tr || t == nr || t == er || t == rr;
40
40
  }
41
- var Qe = Y["__core-js_shared__"], yt = function() {
41
+ var Qe = Y["__core-js_shared__"], gt = function() {
42
42
  var e = /[^.]+$/.exec(Qe && Qe.keys && Qe.keys.IE_PROTO || "");
43
43
  return e ? "Symbol(src)_1." + e : "";
44
44
  }();
45
45
  function or(e) {
46
- return !!yt && yt in e;
46
+ return !!gt && gt in e;
47
47
  }
48
48
  var ir = Function.prototype, lr = ir.toString;
49
49
  function ve(e) {
@@ -75,7 +75,7 @@ function me(e, t) {
75
75
  var n = mr(e, t);
76
76
  return vr(n) ? n : void 0;
77
77
  }
78
- var rt = me(Y, "WeakMap"), ht = Object.create, gr = /* @__PURE__ */ function() {
78
+ var rt = me(Y, "WeakMap"), ht = Object.create, yr = /* @__PURE__ */ function() {
79
79
  function e() {
80
80
  }
81
81
  return function(t) {
@@ -94,7 +94,7 @@ var rt = me(Y, "WeakMap"), ht = Object.create, gr = /* @__PURE__ */ function() {
94
94
  } catch {
95
95
  }
96
96
  }();
97
- function yr(e, t) {
97
+ function gr(e, t) {
98
98
  for (var n = -1, r = e == null ? 0 : e.length; ++n < r && t(e[n], n, e) !== !1; )
99
99
  ;
100
100
  return e;
@@ -132,14 +132,14 @@ function Wt(e) {
132
132
  var t = e && e.constructor, n = typeof t == "function" && t.prototype || Pr;
133
133
  return e === n;
134
134
  }
135
- function Or(e, t) {
135
+ function xr(e, t) {
136
136
  for (var n = -1, r = Array(e); ++n < e; )
137
137
  r[n] = t(n);
138
138
  return r;
139
139
  }
140
- var xr = "[object Arguments]";
140
+ var Or = "[object Arguments]";
141
141
  function bt(e) {
142
- return de(e) && Le(e) == xr;
142
+ return de(e) && Le(e) == Or;
143
143
  }
144
144
  var Yt = Object.prototype, Mr = Yt.hasOwnProperty, Vr = Yt.propertyIsEnumerable, Ur = bt(/* @__PURE__ */ function() {
145
145
  return arguments;
@@ -149,9 +149,9 @@ var Yt = Object.prototype, Mr = Yt.hasOwnProperty, Vr = Yt.propertyIsEnumerable,
149
149
  function Lr() {
150
150
  return !1;
151
151
  }
152
- var Qt = typeof exports == "object" && exports && !exports.nodeType && exports, $t = Qt && typeof module == "object" && module && !module.nodeType && module, Dr = $t && $t.exports === Qt, Tt = Dr ? Y.Buffer : void 0, jr = Tt ? Tt.isBuffer : void 0, Ge = jr || Lr, kr = "[object Arguments]", Er = "[object Array]", Nr = "[object Boolean]", Br = "[object Date]", Rr = "[object Error]", Fr = "[object Function]", Hr = "[object Map]", Gr = "[object Number]", Kr = "[object Object]", zr = "[object RegExp]", qr = "[object Set]", Ir = "[object String]", Xr = "[object WeakMap]", Zr = "[object ArrayBuffer]", Jr = "[object DataView]", Wr = "[object Float32Array]", Yr = "[object Float64Array]", Qr = "[object Int8Array]", eo = "[object Int16Array]", to = "[object Int32Array]", no = "[object Uint8Array]", ro = "[object Uint8ClampedArray]", oo = "[object Uint16Array]", io = "[object Uint32Array]", U = {};
152
+ var Qt = typeof exports == "object" && exports && !exports.nodeType && exports, $t = Qt && typeof module == "object" && module && !module.nodeType && module, Dr = $t && $t.exports === Qt, Tt = Dr ? Y.Buffer : void 0, jr = Tt ? Tt.isBuffer : void 0, Ge = jr || Lr, Er = "[object Arguments]", kr = "[object Array]", Nr = "[object Boolean]", Br = "[object Date]", Rr = "[object Error]", Fr = "[object Function]", Hr = "[object Map]", Gr = "[object Number]", Kr = "[object Object]", zr = "[object RegExp]", qr = "[object Set]", Ir = "[object String]", Xr = "[object WeakMap]", Zr = "[object ArrayBuffer]", Jr = "[object DataView]", Wr = "[object Float32Array]", Yr = "[object Float64Array]", Qr = "[object Int8Array]", eo = "[object Int16Array]", to = "[object Int32Array]", no = "[object Uint8Array]", ro = "[object Uint8ClampedArray]", oo = "[object Uint16Array]", io = "[object Uint32Array]", U = {};
153
153
  U[Wr] = U[Yr] = U[Qr] = U[eo] = U[to] = U[no] = U[ro] = U[oo] = U[io] = !0;
154
- U[kr] = U[Er] = U[Zr] = U[Nr] = U[Jr] = U[Br] = U[Rr] = U[Fr] = U[Hr] = U[Gr] = U[Kr] = U[zr] = U[qr] = U[Ir] = U[Xr] = !1;
154
+ U[Er] = U[kr] = U[Zr] = U[Nr] = U[Jr] = U[Br] = U[Rr] = U[Fr] = U[Hr] = U[Gr] = U[Kr] = U[zr] = U[qr] = U[Ir] = U[Xr] = !1;
155
155
  function lo(e) {
156
156
  return de(e) && Jt(e.length) && !!U[Le(e)];
157
157
  }
@@ -160,15 +160,15 @@ function ft(e) {
160
160
  return e(t);
161
161
  };
162
162
  }
163
- var en = typeof exports == "object" && exports && !exports.nodeType && exports, xe = en && typeof module == "object" && module && !module.nodeType && module, so = xe && xe.exports === en, et = so && It.process, $e = function() {
163
+ var en = typeof exports == "object" && exports && !exports.nodeType && exports, Oe = en && typeof module == "object" && module && !module.nodeType && module, so = Oe && Oe.exports === en, et = so && It.process, $e = function() {
164
164
  try {
165
- var e = xe && xe.require && xe.require("util").types;
165
+ var e = Oe && Oe.require && Oe.require("util").types;
166
166
  return e || et && et.binding && et.binding("util");
167
167
  } catch {
168
168
  }
169
169
  }(), St = $e && $e.isTypedArray, tn = St ? ft(St) : lo, ao = Object.prototype, uo = ao.hasOwnProperty;
170
170
  function co(e, t) {
171
- var n = Me(e), r = !n && Ur(e), i = !n && !r && Ge(e), o = !n && !r && !i && tn(e), l = n || r || i || o, a = l ? Or(e.length, String) : [], u = a.length;
171
+ var n = Me(e), r = !n && Ur(e), i = !n && !r && Ge(e), o = !n && !r && !i && tn(e), l = n || r || i || o, a = l ? xr(e.length, String) : [], u = a.length;
172
172
  for (var s in e)
173
173
  uo.call(e, s) && !(l && // Safari 9 has enumerable `arguments.length` in strict mode.
174
174
  (s == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
@@ -191,11 +191,11 @@ function mo(e) {
191
191
  vo.call(e, n) && n != "constructor" && t.push(n);
192
192
  return t;
193
193
  }
194
- function go(e) {
194
+ function yo(e) {
195
195
  return Cr(e) ? co(e) : mo(e);
196
196
  }
197
197
  var Ve = me(Object, "create");
198
- function yo() {
198
+ function go() {
199
199
  this.__data__ = Ve ? Ve(null) : {}, this.size = 0;
200
200
  }
201
201
  function ho(e) {
@@ -228,12 +228,12 @@ function pe(e) {
228
228
  this.set(r[0], r[1]);
229
229
  }
230
230
  }
231
- pe.prototype.clear = yo;
231
+ pe.prototype.clear = go;
232
232
  pe.prototype.delete = ho;
233
233
  pe.prototype.get = To;
234
234
  pe.prototype.has = Ao;
235
235
  pe.prototype.set = Po;
236
- function Oo() {
236
+ function xo() {
237
237
  this.__data__ = [], this.size = 0;
238
238
  }
239
239
  function Ie(e, t) {
@@ -242,7 +242,7 @@ function Ie(e, t) {
242
242
  return n;
243
243
  return -1;
244
244
  }
245
- var xo = Array.prototype, Mo = xo.splice;
245
+ var Oo = Array.prototype, Mo = Oo.splice;
246
246
  function Vo(e) {
247
247
  var t = this.__data__, n = Ie(t, e);
248
248
  if (n < 0)
@@ -268,7 +268,7 @@ function ie(e) {
268
268
  this.set(r[0], r[1]);
269
269
  }
270
270
  }
271
- ie.prototype.clear = Oo;
271
+ ie.prototype.clear = xo;
272
272
  ie.prototype.delete = Vo;
273
273
  ie.prototype.get = Uo;
274
274
  ie.prototype.has = Lo;
@@ -281,15 +281,15 @@ function jo() {
281
281
  string: new pe()
282
282
  };
283
283
  }
284
- function ko(e) {
284
+ function Eo(e) {
285
285
  var t = typeof e;
286
286
  return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
287
287
  }
288
288
  function Xe(e, t) {
289
289
  var n = e.__data__;
290
- return ko(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
290
+ return Eo(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
291
291
  }
292
- function Eo(e) {
292
+ function ko(e) {
293
293
  var t = Xe(this, e).delete(e);
294
294
  return this.size -= t ? 1 : 0, t;
295
295
  }
@@ -303,18 +303,18 @@ function Ro(e, t) {
303
303
  var n = Xe(this, e), r = n.size;
304
304
  return n.set(e, t), this.size += n.size == r ? 0 : 1, this;
305
305
  }
306
- function ge(e) {
306
+ function ye(e) {
307
307
  var t = -1, n = e == null ? 0 : e.length;
308
308
  for (this.clear(); ++t < n; ) {
309
309
  var r = e[t];
310
310
  this.set(r[0], r[1]);
311
311
  }
312
312
  }
313
- ge.prototype.clear = jo;
314
- ge.prototype.delete = Eo;
315
- ge.prototype.get = No;
316
- ge.prototype.has = Bo;
317
- ge.prototype.set = Ro;
313
+ ye.prototype.clear = jo;
314
+ ye.prototype.delete = ko;
315
+ ye.prototype.get = No;
316
+ ye.prototype.has = Bo;
317
+ ye.prototype.set = Ro;
318
318
  function Fo(e, t) {
319
319
  for (var n = -1, r = t.length, i = e.length; ++n < r; )
320
320
  e[i + n] = t[n];
@@ -341,7 +341,7 @@ function Xo(e, t) {
341
341
  var r = n.__data__;
342
342
  if (!Ue || r.length < Io - 1)
343
343
  return r.push([e, t]), this.size = ++n.size, this;
344
- n = this.__data__ = new ge(r);
344
+ n = this.__data__ = new ye(r);
345
345
  }
346
346
  return n.set(e, t), this.size = n.size, this;
347
347
  }
@@ -379,10 +379,10 @@ function ni(e, t, n) {
379
379
  return Me(e) ? r : Fo(r, n(e));
380
380
  }
381
381
  function ot(e) {
382
- return ni(e, go, ti);
382
+ return ni(e, yo, ti);
383
383
  }
384
- var it = me(Y, "DataView"), lt = me(Y, "Promise"), st = me(Y, "Set"), Pt = "[object Map]", ri = "[object Object]", Ot = "[object Promise]", xt = "[object Set]", Mt = "[object WeakMap]", Vt = "[object DataView]", oi = ve(it), ii = ve(Ue), li = ve(lt), si = ve(st), ai = ve(rt), Z = Le;
385
- (it && Z(new it(new ArrayBuffer(1))) != Vt || Ue && Z(new Ue()) != Pt || lt && Z(lt.resolve()) != Ot || st && Z(new st()) != xt || rt && Z(new rt()) != Mt) && (Z = function(e) {
384
+ var it = me(Y, "DataView"), lt = me(Y, "Promise"), st = me(Y, "Set"), Pt = "[object Map]", ri = "[object Object]", xt = "[object Promise]", Ot = "[object Set]", Mt = "[object WeakMap]", Vt = "[object DataView]", oi = ve(it), ii = ve(Ue), li = ve(lt), si = ve(st), ai = ve(rt), Z = Le;
385
+ (it && Z(new it(new ArrayBuffer(1))) != Vt || Ue && Z(new Ue()) != Pt || lt && Z(lt.resolve()) != xt || st && Z(new st()) != Ot || rt && Z(new rt()) != Mt) && (Z = function(e) {
386
386
  var t = Le(e), n = t == ri ? e.constructor : void 0, r = n ? ve(n) : "";
387
387
  if (r)
388
388
  switch (r) {
@@ -391,9 +391,9 @@ var it = me(Y, "DataView"), lt = me(Y, "Promise"), st = me(Y, "Set"), Pt = "[obj
391
391
  case ii:
392
392
  return Pt;
393
393
  case li:
394
- return Ot;
395
- case si:
396
394
  return xt;
395
+ case si:
396
+ return Ot;
397
397
  case ai:
398
398
  return Mt;
399
399
  }
@@ -422,31 +422,31 @@ var Ut = se ? se.prototype : void 0, Lt = Ut ? Ut.valueOf : void 0;
422
422
  function mi(e) {
423
423
  return Lt ? Object(Lt.call(e)) : {};
424
424
  }
425
- function gi(e, t) {
425
+ function yi(e, t) {
426
426
  var n = dt(e.buffer);
427
427
  return new e.constructor(n, e.byteOffset, e.length);
428
428
  }
429
- var yi = "[object Boolean]", hi = "[object Date]", _i = "[object Map]", bi = "[object Number]", $i = "[object RegExp]", Ti = "[object Set]", Si = "[object String]", wi = "[object Symbol]", Ai = "[object ArrayBuffer]", Ci = "[object DataView]", Pi = "[object Float32Array]", Oi = "[object Float64Array]", xi = "[object Int8Array]", Mi = "[object Int16Array]", Vi = "[object Int32Array]", Ui = "[object Uint8Array]", Li = "[object Uint8ClampedArray]", Di = "[object Uint16Array]", ji = "[object Uint32Array]";
430
- function ki(e, t, n) {
429
+ var gi = "[object Boolean]", hi = "[object Date]", _i = "[object Map]", bi = "[object Number]", $i = "[object RegExp]", Ti = "[object Set]", Si = "[object String]", wi = "[object Symbol]", Ai = "[object ArrayBuffer]", Ci = "[object DataView]", Pi = "[object Float32Array]", xi = "[object Float64Array]", Oi = "[object Int8Array]", Mi = "[object Int16Array]", Vi = "[object Int32Array]", Ui = "[object Uint8Array]", Li = "[object Uint8ClampedArray]", Di = "[object Uint16Array]", ji = "[object Uint32Array]";
430
+ function Ei(e, t, n) {
431
431
  var r = e.constructor;
432
432
  switch (t) {
433
433
  case Ai:
434
434
  return dt(e);
435
- case yi:
435
+ case gi:
436
436
  case hi:
437
437
  return new r(+e);
438
438
  case Ci:
439
439
  return di(e);
440
440
  case Pi:
441
- case Oi:
442
441
  case xi:
442
+ case Oi:
443
443
  case Mi:
444
444
  case Vi:
445
445
  case Ui:
446
446
  case Li:
447
447
  case Di:
448
448
  case ji:
449
- return gi(e);
449
+ return yi(e);
450
450
  case _i:
451
451
  return new r();
452
452
  case bi:
@@ -460,8 +460,8 @@ function ki(e, t, n) {
460
460
  return mi(e);
461
461
  }
462
462
  }
463
- function Ei(e) {
464
- return typeof e.constructor == "function" && !Wt(e) ? gr(Ho(e)) : {};
463
+ function ki(e) {
464
+ return typeof e.constructor == "function" && !Wt(e) ? yr(Ho(e)) : {};
465
465
  }
466
466
  var Ni = "[object Map]";
467
467
  function Bi(e) {
@@ -488,11 +488,11 @@ function Re(e, t, n, r, i, o) {
488
488
  if (Ge(e))
489
489
  return Jo(e);
490
490
  if (u == sn || u == on || s && !i)
491
- l = s ? {} : Ei(e);
491
+ l = s ? {} : ki(e);
492
492
  else {
493
493
  if (!M[u])
494
494
  return i ? e : {};
495
- l = ki(e, u);
495
+ l = Ei(e, u);
496
496
  }
497
497
  }
498
498
  o || (o = new te());
@@ -501,12 +501,12 @@ function Re(e, t, n, r, i, o) {
501
501
  return v;
502
502
  o.set(e, l), Gi(e) ? e.forEach(function(p) {
503
503
  l.add(Re(p, t, n, p, e, o));
504
- }) : Ri(e) && e.forEach(function(p, h) {
505
- l.set(h, Re(p, t, n, h, e, o));
504
+ }) : Ri(e) && e.forEach(function(p, _) {
505
+ l.set(_, Re(p, t, n, _, e, o));
506
506
  });
507
507
  var d = ot, f = a ? void 0 : d(e);
508
- return yr(f || e, function(p, h) {
509
- f && (h = p, p = e[h]), wr(l, h, Re(p, t, n, h, e, o));
508
+ return gr(f || e, function(p, _) {
509
+ f && (_ = p, p = e[_]), wr(l, _, Re(p, t, n, _, e, o));
510
510
  }), l;
511
511
  }
512
512
  var pl = 1, vl = 4;
@@ -514,19 +514,19 @@ function an(e) {
514
514
  return Re(e, pl | vl);
515
515
  }
516
516
  var ml = "__lodash_hash_undefined__";
517
- function gl(e) {
517
+ function yl(e) {
518
518
  return this.__data__.set(e, ml), this;
519
519
  }
520
- function yl(e) {
520
+ function gl(e) {
521
521
  return this.__data__.has(e);
522
522
  }
523
523
  function ze(e) {
524
524
  var t = -1, n = e == null ? 0 : e.length;
525
- for (this.__data__ = new ge(); ++t < n; )
525
+ for (this.__data__ = new ye(); ++t < n; )
526
526
  this.add(e[t]);
527
527
  }
528
- ze.prototype.add = ze.prototype.push = gl;
529
- ze.prototype.has = yl;
528
+ ze.prototype.add = ze.prototype.push = yl;
529
+ ze.prototype.has = gl;
530
530
  function hl(e, t) {
531
531
  for (var n = -1, r = e == null ? 0 : e.length; ++n < r; )
532
532
  if (t(e[n], n, e))
@@ -546,24 +546,24 @@ function un(e, t, n, r, i, o) {
546
546
  return s == t && v == e;
547
547
  var d = -1, f = !0, p = n & $l ? new ze() : void 0;
548
548
  for (o.set(e, t), o.set(t, e); ++d < a; ) {
549
- var h = e[d], P = t[d];
549
+ var _ = e[d], A = t[d];
550
550
  if (r)
551
- var A = l ? r(P, h, d, t, e, o) : r(h, P, d, e, t, o);
552
- if (A !== void 0) {
553
- if (A)
551
+ var C = l ? r(A, _, d, t, e, o) : r(_, A, d, e, t, o);
552
+ if (C !== void 0) {
553
+ if (C)
554
554
  continue;
555
555
  f = !1;
556
556
  break;
557
557
  }
558
558
  if (p) {
559
- if (!hl(t, function(C, $) {
560
- if (!_l(p, $) && (h === C || i(h, C, n, r, o)))
559
+ if (!hl(t, function(P, $) {
560
+ if (!_l(p, $) && (_ === P || i(_, P, n, r, o)))
561
561
  return p.push($);
562
562
  })) {
563
563
  f = !1;
564
564
  break;
565
565
  }
566
- } else if (!(h === P || i(h, P, n, r, o))) {
566
+ } else if (!(_ === A || i(_, A, n, r, o))) {
567
567
  f = !1;
568
568
  break;
569
569
  }
@@ -582,10 +582,10 @@ function Sl(e) {
582
582
  n[++t] = r;
583
583
  }), n;
584
584
  }
585
- var wl = 1, Al = 2, Cl = "[object Boolean]", Pl = "[object Date]", Ol = "[object Error]", xl = "[object Map]", Ml = "[object Number]", Vl = "[object RegExp]", Ul = "[object Set]", Ll = "[object String]", Dl = "[object Symbol]", jl = "[object ArrayBuffer]", kl = "[object DataView]", kt = se ? se.prototype : void 0, tt = kt ? kt.valueOf : void 0;
586
- function El(e, t, n, r, i, o, l) {
585
+ var wl = 1, Al = 2, Cl = "[object Boolean]", Pl = "[object Date]", xl = "[object Error]", Ol = "[object Map]", Ml = "[object Number]", Vl = "[object RegExp]", Ul = "[object Set]", Ll = "[object String]", Dl = "[object Symbol]", jl = "[object ArrayBuffer]", El = "[object DataView]", Et = se ? se.prototype : void 0, tt = Et ? Et.valueOf : void 0;
586
+ function kl(e, t, n, r, i, o, l) {
587
587
  switch (n) {
588
- case kl:
588
+ case El:
589
589
  if (e.byteLength != t.byteLength || e.byteOffset != t.byteOffset)
590
590
  return !1;
591
591
  e = e.buffer, t = t.buffer;
@@ -595,12 +595,12 @@ function El(e, t, n, r, i, o, l) {
595
595
  case Pl:
596
596
  case Ml:
597
597
  return ct(+e, +t);
598
- case Ol:
598
+ case xl:
599
599
  return e.name == t.name && e.message == t.message;
600
600
  case Vl:
601
601
  case Ll:
602
602
  return e == t + "";
603
- case xl:
603
+ case Ol:
604
604
  var a = Tl;
605
605
  case Ul:
606
606
  var u = r & wl;
@@ -628,45 +628,45 @@ function Fl(e, t, n, r, i, o) {
628
628
  if (!(l ? f in t : Rl.call(t, f)))
629
629
  return !1;
630
630
  }
631
- var p = o.get(e), h = o.get(t);
632
- if (p && h)
633
- return p == t && h == e;
634
- var P = !0;
631
+ var p = o.get(e), _ = o.get(t);
632
+ if (p && _)
633
+ return p == t && _ == e;
634
+ var A = !0;
635
635
  o.set(e, t), o.set(t, e);
636
- for (var A = l; ++d < u; ) {
636
+ for (var C = l; ++d < u; ) {
637
637
  f = a[d];
638
- var C = e[f], $ = t[f];
638
+ var P = e[f], $ = t[f];
639
639
  if (r)
640
- var O = l ? r($, C, f, t, e, o) : r(C, $, f, e, t, o);
641
- if (!(O === void 0 ? C === $ || i(C, $, n, r, o) : O)) {
642
- P = !1;
640
+ var x = l ? r($, P, f, t, e, o) : r(P, $, f, e, t, o);
641
+ if (!(x === void 0 ? P === $ || i(P, $, n, r, o) : x)) {
642
+ A = !1;
643
643
  break;
644
644
  }
645
- A || (A = f == "constructor");
645
+ C || (C = f == "constructor");
646
646
  }
647
- if (P && !A) {
647
+ if (A && !C) {
648
648
  var T = e.constructor, L = t.constructor;
649
- T != L && "constructor" in e && "constructor" in t && !(typeof T == "function" && T instanceof T && typeof L == "function" && L instanceof L) && (P = !1);
649
+ T != L && "constructor" in e && "constructor" in t && !(typeof T == "function" && T instanceof T && typeof L == "function" && L instanceof L) && (A = !1);
650
650
  }
651
- return o.delete(e), o.delete(t), P;
651
+ return o.delete(e), o.delete(t), A;
652
652
  }
653
- var Hl = 1, Et = "[object Arguments]", Nt = "[object Array]", Ee = "[object Object]", Gl = Object.prototype, Bt = Gl.hasOwnProperty;
653
+ var Hl = 1, kt = "[object Arguments]", Nt = "[object Array]", ke = "[object Object]", Gl = Object.prototype, Bt = Gl.hasOwnProperty;
654
654
  function Kl(e, t, n, r, i, o) {
655
655
  var l = Me(e), a = Me(t), u = l ? Nt : Z(e), s = a ? Nt : Z(t);
656
- u = u == Et ? Ee : u, s = s == Et ? Ee : s;
657
- var v = u == Ee, d = s == Ee, f = u == s;
656
+ u = u == kt ? ke : u, s = s == kt ? ke : s;
657
+ var v = u == ke, d = s == ke, f = u == s;
658
658
  if (f && Ge(e)) {
659
659
  if (!Ge(t))
660
660
  return !1;
661
661
  l = !0, v = !1;
662
662
  }
663
663
  if (f && !v)
664
- return o || (o = new te()), l || tn(e) ? un(e, t, n, r, i, o) : El(e, t, u, n, r, i, o);
664
+ return o || (o = new te()), l || tn(e) ? un(e, t, n, r, i, o) : kl(e, t, u, n, r, i, o);
665
665
  if (!(n & Hl)) {
666
- var p = v && Bt.call(e, "__wrapped__"), h = d && Bt.call(t, "__wrapped__");
667
- if (p || h) {
668
- var P = p ? e.value() : e, A = h ? t.value() : t;
669
- return o || (o = new te()), i(P, A, n, r, o);
666
+ var p = v && Bt.call(e, "__wrapped__"), _ = d && Bt.call(t, "__wrapped__");
667
+ if (p || _) {
668
+ var A = p ? e.value() : e, C = _ ? t.value() : t;
669
+ return o || (o = new te()), i(A, C, n, r, o);
670
670
  }
671
671
  }
672
672
  return f ? (o || (o = new te()), Fl(e, t, n, r, i, o)) : !1;
@@ -785,7 +785,7 @@ const Ne = (e, t) => {
785
785
  if (!r.children || !Je(r.children))
786
786
  return console.assert(!1, "execPropBranchArray state children must be array"), !1;
787
787
  let a;
788
- o !== void 0 && !l ? (n[o] instanceof Array || (n[o] = E(t), i == null || i(e, n[o])), a = n[o]) : (n[t.key] instanceof Array || (n[t.key] = E(t), i == null || i(e, n[t.key])), a = n[t.key]), r.change = !1;
788
+ o !== void 0 && !l ? (n[o] instanceof Array || (n[o] = k(t), i == null || i(e, n[o])), a = n[o]) : (n[t.key] instanceof Array || (n[t.key] = k(t), i == null || i(e, n[t.key])), a = n[t.key]), r.change = !1;
789
789
  for (let u = 0; u < a.length; u++) {
790
790
  r.children.push({
791
791
  change: !1,
@@ -811,7 +811,7 @@ const Ne = (e, t) => {
811
811
  ) && (s.change = !0), s.change && (r.change = !0);
812
812
  });
813
813
  }
814
- return r.change || (r.change = !Ze(a, E(t))), r.change;
814
+ return r.change || (r.change = !Ze(a, k(t))), r.change;
815
815
  }, Wl = (e, t, n, r, i, o, l) => {
816
816
  if (t.ui)
817
817
  return console.assert(!1, "execPropBranchScalar prop ui must be invalid"), !1;
@@ -837,18 +837,18 @@ const Ne = (e, t) => {
837
837
  if (!r.children || !Je(r.children))
838
838
  return console.assert(!1, "execPropLeafArray state children must be array"), !1;
839
839
  let a;
840
- o !== void 0 && !l ? (n[o] instanceof Array || (n[o] = E(t), i == null || i(e, n[o])), a = n[o]) : (n[t.key] instanceof Array || (n[t.key] = E(t), i == null || i(e, n[t.key])), a = n[t.key]), r.change = !1;
840
+ o !== void 0 && !l ? (n[o] instanceof Array || (n[o] = k(t), i == null || i(e, n[o])), a = n[o]) : (n[t.key] instanceof Array || (n[t.key] = k(t), i == null || i(e, n[t.key])), a = n[t.key]), r.change = !1;
841
841
  for (let u = 0; u < a.length; u++)
842
842
  r.children[u] = {
843
843
  change: !1,
844
844
  children: {}
845
845
  }, We(e, t, a, r.children[u], i, u, !1) && (r.change = !0);
846
- return r.change || (r.change = !Ze(a, E(t))), r.change;
846
+ return r.change || (r.change = !Ze(a, k(t))), r.change;
847
847
  }, Ql = (e, t, n, r, i) => {
848
848
  if (!e.ui)
849
849
  return console.assert(!1, "execPropLeafScalar prop ui must be valid"), !1;
850
850
  let o;
851
- return r !== void 0 && !i ? o = t[r] : o = t[e.key], n.change = !Ze(o, E(e, !0)), n.change;
851
+ return r !== void 0 && !i ? o = t[r] : o = t[e.key], n.change = !Ze(o, k(e, !0)), n.change;
852
852
  }, Ft = (e, t, n, r) => {
853
853
  if (t.length <= 0 || !n) {
854
854
  e.value = {};
@@ -870,7 +870,7 @@ const Ne = (e, t) => {
870
870
  return console.assert(!1, `isPropChanged state must be valid keys=${t}`), !1;
871
871
  typeof r == "string" ? pt(n.children) && (n = n.children[r]) : Je(n.children) && (n = n.children[r]);
872
872
  }), (n == null ? void 0 : n.change) ?? !1;
873
- }, dn = Symbol(), pn = Symbol(), vn = Symbol(), mn = Symbol(), gn = Symbol(), yn = Symbol();
873
+ }, dn = Symbol(), pn = Symbol(), vn = Symbol(), mn = Symbol(), yn = Symbol(), gn = Symbol();
874
874
  function es(e) {
875
875
  Te(dn, e);
876
876
  }
@@ -896,32 +896,32 @@ function ls() {
896
896
  return Se(mn);
897
897
  }
898
898
  function ss(e) {
899
- Te(gn, e);
899
+ Te(yn, e);
900
900
  }
901
901
  function as() {
902
- return Se(gn);
902
+ return Se(yn);
903
903
  }
904
904
  function us(e) {
905
- Te(yn, e);
905
+ Te(gn, e);
906
906
  }
907
907
  function _n() {
908
- return Se(yn);
908
+ return Se(gn);
909
909
  }
910
910
  const cs = /* @__PURE__ */ K({
911
911
  __name: "menu",
912
912
  setup(e) {
913
- const { t } = ue(), n = ns(), r = os(), i = ls(), o = as(), l = B(0), a = B(0), u = B([]), s = R(() => [l.value, a.value]), v = (A) => {
914
- const C = () => !(u.value.length <= 0 || !be(i.value, u.value)), $ = () => {
915
- if (!C())
913
+ const { t } = ue(), n = ns(), r = os(), i = ls(), o = as(), l = B(0), a = B(0), u = B([]), s = R(() => [l.value, a.value]), v = (C) => {
914
+ const P = () => !(u.value.length <= 0 || !be(i.value, u.value)), $ = () => {
915
+ if (!P())
916
916
  return;
917
- const O = Ne(n.value, u.value);
918
- if (O)
919
- if (O.ui) {
917
+ const x = Ne(n.value, u.value);
918
+ if (x)
919
+ if (x.ui) {
920
920
  const T = Pe(r.value, u.value.slice(0, -1));
921
921
  if (!T)
922
922
  return;
923
- T[u.value.at(-1)] = E(O), o(u.value, T[u.value.at(-1)]);
924
- } else if (O.array) {
923
+ T[u.value.at(-1)] = k(x), o(u.value, T[u.value.at(-1)]);
924
+ } else if (x.array) {
925
925
  const T = u.value.at(-1);
926
926
  if (T === void 0) {
927
927
  console.assert(!1, "invalid last key");
@@ -931,76 +931,76 @@ const cs = /* @__PURE__ */ K({
931
931
  const L = Pe(r.value, u.value.slice(0, -1));
932
932
  if (!L)
933
933
  return;
934
- L[u.value.at(-1)] = E(O), o(u.value, L[u.value.at(-1)]);
934
+ L[u.value.at(-1)] = k(x), o(u.value, L[u.value.at(-1)]);
935
935
  } else {
936
936
  const L = Pe(r.value, u.value);
937
937
  if (!L)
938
938
  return;
939
- O.children.forEach((W) => {
940
- L[W.key] = E(O), o([...u.value, W.key], L[W.key]);
939
+ x.children.forEach((W) => {
940
+ L[W.key] = k(x), o([...u.value, W.key], L[W.key]);
941
941
  });
942
942
  }
943
943
  } else {
944
944
  const T = Pe(r.value, u.value);
945
945
  if (!T)
946
946
  return;
947
- O.children.forEach((L) => {
948
- T[L.key] = E(O), o([...u.value, L.key], T[L.key]);
947
+ x.children.forEach((L) => {
948
+ T[L.key] = k(x), o([...u.value, L.key], T[L.key]);
949
949
  });
950
950
  }
951
951
  };
952
- C() && A.push({
952
+ P() && C.push({
953
953
  title: t("x-prop-tree.reset"),
954
954
  func: $
955
955
  });
956
- }, d = (A) => {
957
- const C = () => {
958
- const $ = Ne(n.value, u.value), O = Pe(r.value, u.value);
959
- localStorage.setItem("propTreeCopy", JSON.stringify({ prop: $, object: O }));
956
+ }, d = (C) => {
957
+ const P = () => {
958
+ const $ = Ne(n.value, u.value), x = Pe(r.value, u.value);
959
+ localStorage.setItem("propTreeCopy", JSON.stringify({ prop: $, object: x }));
960
960
  };
961
- A.push({
961
+ C.push({
962
962
  title: t("x-prop-tree.copy"),
963
- func: C
963
+ func: P
964
964
  });
965
- }, f = (A) => {
966
- const C = () => {
967
- const O = localStorage.getItem("propTreeCopy");
968
- if (!O)
965
+ }, f = (C) => {
966
+ const P = () => {
967
+ const x = localStorage.getItem("propTreeCopy");
968
+ if (!x)
969
969
  return !1;
970
970
  try {
971
- const { prop: T } = JSON.parse(O), L = Ne(n.value, u.value);
971
+ const { prop: T } = JSON.parse(x), L = Ne(n.value, u.value);
972
972
  return Il(T, L);
973
973
  } catch (T) {
974
974
  console.error(T);
975
975
  }
976
976
  return !1;
977
977
  }, $ = () => {
978
- if (!C())
978
+ if (!P())
979
979
  return;
980
- const O = localStorage.getItem("propTreeCopy");
981
- if (O)
980
+ const x = localStorage.getItem("propTreeCopy");
981
+ if (x)
982
982
  try {
983
- const { object: T } = JSON.parse(O), L = Ne(n.value, u.value);
983
+ const { object: T } = JSON.parse(x), L = Ne(n.value, u.value);
984
984
  console.log(T, L);
985
985
  } catch (T) {
986
986
  console.error(T);
987
987
  }
988
988
  };
989
- C() && A.push({
989
+ P() && C.push({
990
990
  title: t("x-prop-tree.paste"),
991
991
  func: $
992
992
  });
993
993
  }, p = R(() => {
994
- const A = [];
995
- return v(A), d(A), f(A), A;
996
- }), h = (A) => {
997
- l.value = A.x, a.value = A.y, u.value = A.keys;
998
- }, { open: P } = ut("propTreeMenu", h);
999
- return (A, C) => {
1000
- const $ = V("v-list-item-title"), O = V("v-list-item"), T = V("v-list"), L = V("v-menu");
994
+ const C = [];
995
+ return v(C), d(C), f(C), C;
996
+ }), _ = (C) => {
997
+ l.value = C.x, a.value = C.y, u.value = C.keys;
998
+ }, { open: A } = ut("propTreeMenu", _);
999
+ return (C, P) => {
1000
+ const $ = V("v-list-item-title"), x = V("v-list-item"), T = V("v-list"), L = V("v-menu");
1001
1001
  return w(), F(L, {
1002
- modelValue: k(P),
1003
- "onUpdate:modelValue": C[0] || (C[0] = (W) => Fe(P) ? P.value = W : null),
1002
+ modelValue: E(A),
1003
+ "onUpdate:modelValue": P[0] || (P[0] = (W) => Fe(A) ? A.value = W : null),
1004
1004
  "location-strategy": "connected",
1005
1005
  target: s.value,
1006
1006
  scrim: "transparent"
@@ -1008,7 +1008,7 @@ const cs = /* @__PURE__ */ K({
1008
1008
  default: J(() => [
1009
1009
  N(T, null, {
1010
1010
  default: J(() => [
1011
- (w(!0), H(He, null, Ht(p.value, (W, Ye) => (w(), F(O, {
1011
+ (w(!0), H(He, null, Ht(p.value, (W, Ye) => (w(), F(x, {
1012
1012
  key: Ye,
1013
1013
  link: "",
1014
1014
  onClick: W.func
@@ -1032,7 +1032,7 @@ const cs = /* @__PURE__ */ K({
1032
1032
  };
1033
1033
  }
1034
1034
  });
1035
- var bn = "M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z", $n = "M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z", fs = "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", ds = "M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z";
1035
+ var bn = "M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z", $n = "M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z", fs = "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", ds = "M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z";
1036
1036
  const Be = /* @__PURE__ */ K({
1037
1037
  __name: "title",
1038
1038
  props: {
@@ -1055,35 +1055,39 @@ const Be = /* @__PURE__ */ K({
1055
1055
  i("menu", s.clientX, s.clientY);
1056
1056
  };
1057
1057
  return (s, v) => {
1058
- const d = V("v-icon"), f = V("v-spacer"), p = ae("ripple");
1058
+ const d = V("v-icon"), f = V("v-spacer"), p = V("v-btn"), _ = ae("ripple");
1059
1059
  return re((w(), H("div", {
1060
1060
  class: "d-flex align-center cursor-pointer",
1061
1061
  style: le(l.value),
1062
1062
  onClick: a,
1063
1063
  onContextmenu: z(u, ["prevent"]),
1064
- onMouseover: v[2] || (v[2] = (h) => o.value = !0),
1065
- onMouseout: v[3] || (v[3] = (h) => o.value = !1)
1064
+ onMouseover: v[2] || (v[2] = (A) => o.value = !0),
1065
+ onMouseout: v[3] || (v[3] = (A) => o.value = !1)
1066
1066
  }, [
1067
1067
  N(d, {
1068
1068
  class: "mr-1",
1069
- icon: s.collapse ? k($n) : k(bn)
1069
+ icon: s.collapse ? E($n) : E(bn)
1070
1070
  }, null, 8, ["icon"]),
1071
1071
  q("span", null, ne(s.title), 1),
1072
1072
  N(f),
1073
- s.hasCreate ? (w(), F(d, {
1073
+ s.hasCreate ? (w(), F(p, {
1074
1074
  key: 0,
1075
- class: "mx-3",
1076
- icon: k(ds),
1077
- onClick: v[0] || (v[0] = z((h) => i("create"), ["stop"]))
1075
+ class: "mx-2",
1076
+ variant: "text",
1077
+ density: "compact",
1078
+ icon: E(ds),
1079
+ onClick: v[0] || (v[0] = z((A) => i("create"), ["stop"]))
1078
1080
  }, null, 8, ["icon"])) : I("", !0),
1079
- s.hasDelete ? (w(), F(d, {
1081
+ s.hasDelete ? (w(), F(p, {
1080
1082
  key: 1,
1081
- class: "mx-3",
1082
- icon: k(ye),
1083
- onClick: v[1] || (v[1] = z((h) => i("delete", s.index), ["stop"]))
1083
+ class: "mx-2",
1084
+ variant: "text",
1085
+ density: "compact",
1086
+ icon: E(ge),
1087
+ onClick: v[1] || (v[1] = z((A) => i("delete", s.index), ["stop"]))
1084
1088
  }, null, 8, ["icon"])) : I("", !0)
1085
1089
  ], 36)), [
1086
- [p]
1090
+ [_]
1087
1091
  ]);
1088
1092
  };
1089
1093
  }
@@ -1124,7 +1128,7 @@ function vs(e, t, n) {
1124
1128
  return { renderProp: (o, l, a) => {
1125
1129
  const u = o.at(-1);
1126
1130
  let v = typeof u == "number" ? `[${u + 1}]` : r(l.name);
1127
- return be(e.value, o) && (v += " *"), _(
1131
+ return be(e.value, o) && (v += " *"), h(
1128
1132
  ps,
1129
1133
  {
1130
1134
  minHeight: t.value,
@@ -1133,8 +1137,8 @@ function vs(e, t, n) {
1133
1137
  }
1134
1138
  },
1135
1139
  () => [
1136
- _("span", { class: "ml-1", innerHTML: v }),
1137
- _("div", { style: { width: n.value } }, a)
1140
+ h("span", { class: "ml-1", innerHTML: v }),
1141
+ h("div", { style: { width: n.value } }, a)
1138
1142
  ]
1139
1143
  );
1140
1144
  } };
@@ -1143,21 +1147,21 @@ const ce = (e, t, n, r, i, o) => {
1143
1147
  if (i !== void 0)
1144
1148
  if (o) {
1145
1149
  if (n[t.key] === void 0) {
1146
- const l = E(t);
1150
+ const l = k(t);
1147
1151
  l !== void 0 && (n[t.key] = l, r(e, n[t.key]));
1148
1152
  }
1149
1153
  return n[t.key];
1150
1154
  } else {
1151
1155
  if (n[i] === void 0) {
1152
- const l = E(t, !0);
1156
+ const l = k(t, !0);
1153
1157
  l !== void 0 && (n[i] = l, r(e, n[i]));
1154
1158
  }
1155
1159
  return n[i];
1156
1160
  }
1157
1161
  else {
1158
1162
  if (n[t.key] === void 0) {
1159
- const l = E(t);
1160
- t.ui === "switch" || t.ui === "select" || t.ui === "colorPicker" || t.ui === "multiTypes" || t.ui === "compSelect" ? l && (n[t.key] = l, r(e, n[t.key])) : l !== void 0 && (n[t.key] = l, r(e, n[t.key]));
1163
+ const l = k(t);
1164
+ l !== void 0 && (n[t.key] = l, r(e, n[t.key]));
1161
1165
  }
1162
1166
  return n[t.key];
1163
1167
  }
@@ -1178,7 +1182,7 @@ function ms(e) {
1178
1182
  ce(n, r, i, e, o, l);
1179
1183
  } };
1180
1184
  }
1181
- const gs = { class: "d-flex justify-space-between align-center" }, ys = /* @__PURE__ */ K({
1185
+ const ys = { class: "d-flex justify-space-between align-center" }, gs = /* @__PURE__ */ K({
1182
1186
  __name: "strInput",
1183
1187
  props: /* @__PURE__ */ X({
1184
1188
  hasDelete: { type: Boolean, default: !1 },
@@ -1191,8 +1195,8 @@ const gs = { class: "d-flex justify-space-between align-center" }, ys = /* @__PU
1191
1195
  setup(e, { emit: t }) {
1192
1196
  const n = oe(e, "modelValue"), r = t;
1193
1197
  return (i, o) => {
1194
- const l = V("v-text-field"), a = V("v-icon"), u = ae("ripple");
1195
- return w(), H("div", gs, [
1198
+ const l = V("v-text-field"), a = V("v-btn"), u = ae("ripple");
1199
+ return w(), H("div", ys, [
1196
1200
  re(N(l, {
1197
1201
  modelValue: n.value,
1198
1202
  "onUpdate:modelValue": o[0] || (o[0] = (s) => n.value = s),
@@ -1211,7 +1215,9 @@ const gs = { class: "d-flex justify-space-between align-center" }, ys = /* @__PU
1211
1215
  i.hasDelete ? (w(), F(a, {
1212
1216
  key: 0,
1213
1217
  class: "mx-2",
1214
- icon: k(ye),
1218
+ variant: "text",
1219
+ density: "compact",
1220
+ icon: E(ge),
1215
1221
  onClick: o[1] || (o[1] = z((s) => r("delete"), ["stop"]))
1216
1222
  }, null, 8, ["icon"])) : I("", !0)
1217
1223
  ]);
@@ -1219,7 +1225,7 @@ const gs = { class: "d-flex justify-space-between align-center" }, ys = /* @__PU
1219
1225
  }
1220
1226
  });
1221
1227
  function hs(e) {
1222
- return { renderUiStrInput: (n, r, i, o, l) => r.ui !== "strInput" ? (console.assert(!1), _("div", "renderUiStrInput prop ui must be strInput")) : _(ys, {
1228
+ return { renderUiStrInput: (n, r, i, o, l) => r.ui !== "strInput" ? (console.assert(!1), h("div", "renderUiStrInput prop ui must be strInput")) : h(gs, {
1223
1229
  modelValue: r.static ? r.value : ce(
1224
1230
  n,
1225
1231
  r,
@@ -1264,7 +1270,7 @@ const _s = { class: "d-flex justify-space-between align-center" }, bs = /* @__PU
1264
1270
  setup(e, { emit: t }) {
1265
1271
  const n = oe(e, "modelValue"), r = t;
1266
1272
  return (i, o) => {
1267
- const l = V("v-number-input"), a = V("v-icon"), u = ae("ripple");
1273
+ const l = V("v-number-input"), a = V("v-btn"), u = ae("ripple");
1268
1274
  return w(), H("div", _s, [
1269
1275
  re(N(l, {
1270
1276
  modelValue: n.value,
@@ -1289,7 +1295,9 @@ const _s = { class: "d-flex justify-space-between align-center" }, bs = /* @__PU
1289
1295
  i.hasDelete ? (w(), F(a, {
1290
1296
  key: 0,
1291
1297
  class: "mx-2",
1292
- icon: k(ye),
1298
+ variant: "text",
1299
+ density: "compact",
1300
+ icon: E(ge),
1293
1301
  onClick: o[1] || (o[1] = z((s) => r("delete"), ["stop"]))
1294
1302
  }, null, 8, ["icon"])) : I("", !0)
1295
1303
  ]);
@@ -1297,7 +1305,7 @@ const _s = { class: "d-flex justify-space-between align-center" }, bs = /* @__PU
1297
1305
  }
1298
1306
  });
1299
1307
  function $s(e) {
1300
- return { renderUiNumInput: (n, r, i, o, l) => r.ui !== "numInput" ? (console.assert(!1), _("div", "renderUiNumInput prop ui must be numInput")) : _(bs, {
1308
+ return { renderUiNumInput: (n, r, i, o, l) => r.ui !== "numInput" ? (console.assert(!1), h("div", "renderUiNumInput prop ui must be numInput")) : h(bs, {
1301
1309
  modelValue: ce(
1302
1310
  n,
1303
1311
  r,
@@ -1341,7 +1349,7 @@ const Ts = { class: "d-flex justify-space-between align-center" }, Ss = /* @__PU
1341
1349
  setup(e, { emit: t }) {
1342
1350
  const n = oe(e, "modelValue"), r = t;
1343
1351
  return (i, o) => {
1344
- const l = V("v-switch"), a = V("v-icon");
1352
+ const l = V("v-switch"), a = V("v-btn");
1345
1353
  return w(), H("div", Ts, [
1346
1354
  N(l, {
1347
1355
  modelValue: n.value,
@@ -1355,7 +1363,9 @@ const Ts = { class: "d-flex justify-space-between align-center" }, Ss = /* @__PU
1355
1363
  i.hasDelete ? (w(), F(a, {
1356
1364
  key: 0,
1357
1365
  class: "mx-2",
1358
- icon: k(ye),
1366
+ variant: "text",
1367
+ density: "compact",
1368
+ icon: E(ge),
1359
1369
  onClick: o[1] || (o[1] = z((u) => r("delete"), ["stop"]))
1360
1370
  }, null, 8, ["icon"])) : I("", !0)
1361
1371
  ]);
@@ -1363,7 +1373,7 @@ const Ts = { class: "d-flex justify-space-between align-center" }, Ss = /* @__PU
1363
1373
  }
1364
1374
  });
1365
1375
  function ws(e) {
1366
- return { renderUiSwitch: (n, r, i, o, l) => r.ui !== "switch" ? (console.assert(!1), _("div", "renderUiSwitch prop ui must be switch")) : _(Ss, {
1376
+ return { renderUiSwitch: (n, r, i, o, l) => r.ui !== "switch" ? (console.assert(!1), h("div", "renderUiSwitch prop ui must be switch")) : h(Ss, {
1367
1377
  modelValue: ce(
1368
1378
  n,
1369
1379
  r,
@@ -1410,7 +1420,7 @@ const As = { class: "d-flex justify-space-between align-center" }, Cs = /* @__PU
1410
1420
  }), a;
1411
1421
  });
1412
1422
  return (a, u) => {
1413
- const s = V("v-select"), v = V("v-icon"), d = ae("ripple");
1423
+ const s = V("v-select"), v = V("v-btn"), d = ae("ripple");
1414
1424
  return w(), H("div", As, [
1415
1425
  re(N(s, {
1416
1426
  modelValue: r.value,
@@ -1431,7 +1441,9 @@ const As = { class: "d-flex justify-space-between align-center" }, Cs = /* @__PU
1431
1441
  a.hasDelete ? (w(), F(v, {
1432
1442
  key: 0,
1433
1443
  class: "mx-2",
1434
- icon: k(ye),
1444
+ variant: "text",
1445
+ density: "compact",
1446
+ icon: E(ge),
1435
1447
  onClick: u[1] || (u[1] = z((f) => i("delete"), ["stop"]))
1436
1448
  }, null, 8, ["icon"])) : I("", !0)
1437
1449
  ]);
@@ -1439,7 +1451,7 @@ const As = { class: "d-flex justify-space-between align-center" }, Cs = /* @__PU
1439
1451
  }
1440
1452
  });
1441
1453
  function Ps(e) {
1442
- return { renderUiSelect: (n, r, i, o, l) => r.ui !== "select" ? (console.assert(!1), _("div", "renderUiSelect prop ui must be select")) : _(Cs, {
1454
+ return { renderUiSelect: (n, r, i, o, l) => r.ui !== "select" ? (console.assert(!1), h("div", "renderUiSelect prop ui must be select")) : h(Cs, {
1443
1455
  modelValue: ce(
1444
1456
  n,
1445
1457
  r,
@@ -1467,7 +1479,7 @@ function Ps(e) {
1467
1479
  readonly: r.readonly
1468
1480
  }) };
1469
1481
  }
1470
- const Os = { class: "text-subtitle-2 ml-1" }, xs = { class: "text-caption text-grey ml-1" }, Ms = /* @__PURE__ */ K({
1482
+ const xs = { class: "text-subtitle-2 ml-1" }, Os = { class: "text-caption text-grey ml-1" }, Ms = /* @__PURE__ */ K({
1471
1483
  __name: "group",
1472
1484
  props: {
1473
1485
  id: {},
@@ -1493,11 +1505,11 @@ const Os = { class: "text-subtitle-2 ml-1" }, xs = { class: "text-caption text-g
1493
1505
  onMouseout: s[2] || (s[2] = (f) => l.value = !1)
1494
1506
  }, [
1495
1507
  N(v, {
1496
- icon: i.collapse ? k($n) : k(bn),
1508
+ icon: i.collapse ? E($n) : E(bn),
1497
1509
  size: "small"
1498
1510
  }, null, 8, ["icon"]),
1499
- q("span", Os, ne(i.title), 1),
1500
- q("span", xs, ne(i.count), 1)
1511
+ q("span", xs, ne(i.title), 1),
1512
+ q("span", Os, ne(i.count), 1)
1501
1513
  ], 36)), [
1502
1514
  [d]
1503
1515
  ]);
@@ -1551,8 +1563,8 @@ const Os = { class: "text-subtitle-2 ml-1" }, xs = { class: "text-caption text-g
1551
1563
  }, l = (a) => {
1552
1564
  n.value = a, r.value = !1, _e.emit("refreshDepends");
1553
1565
  };
1554
- return (a, u) => k(i).length > 0 ? (w(), H("div", Ls, [
1555
- (w(!0), H(He, null, Ht(k(i), (s) => (w(), H(He, {
1566
+ return (a, u) => E(i).length > 0 ? (w(), H("div", Ls, [
1567
+ (w(!0), H(He, null, Ht(E(i), (s) => (w(), H(He, {
1556
1568
  key: s.id
1557
1569
  }, [
1558
1570
  s.type === 0 ? (w(), F(Ms, {
@@ -1570,9 +1582,9 @@ const Os = { class: "text-subtitle-2 ml-1" }, xs = { class: "text-caption text-g
1570
1582
  onXClick: l
1571
1583
  }, null, 8, ["id", "title"])) : I("", !0)
1572
1584
  ], 64))), 128))
1573
- ])) : (w(), H("div", Ds, ne(k(t)("x-prop-tree.noComp")), 1));
1585
+ ])) : (w(), H("div", Ds, ne(E(t)("x-prop-tree.noComp")), 1));
1574
1586
  }
1575
- }), ks = { class: "text-subtitle-1 ml-3" }, Es = /* @__PURE__ */ K({
1587
+ }), Es = { class: "text-subtitle-1 ml-3" }, ks = /* @__PURE__ */ K({
1576
1588
  __name: "index",
1577
1589
  props: {
1578
1590
  modelValue: {},
@@ -1604,18 +1616,18 @@ const Os = { class: "text-subtitle-2 ml-1" }, xs = { class: "text-caption text-g
1604
1616
  return Kt(() => {
1605
1617
  d.value = !1;
1606
1618
  }), (f, p) => {
1607
- const h = V("v-btn"), P = V("v-sheet"), A = V("v-icon"), C = V("v-dialog");
1608
- return w(), F(C, {
1609
- modelValue: k(d),
1619
+ const _ = V("v-btn"), A = V("v-sheet"), C = V("v-icon"), P = V("v-dialog");
1620
+ return w(), F(P, {
1621
+ modelValue: E(d),
1610
1622
  "onUpdate:modelValue": p[5] || (p[5] = ($) => Fe(d) ? d.value = $ : null),
1611
1623
  transition: "scroll-x-reverse-transition",
1612
1624
  persistent: "",
1613
1625
  "no-click-animation": "",
1614
1626
  fullscreen: "",
1615
- onKeydown: p[6] || (p[6] = kn(z(($) => d.value = !1, ["stop", "prevent"]), ["esc"]))
1627
+ onKeydown: p[6] || (p[6] = En(z(($) => d.value = !1, ["stop", "prevent"]), ["esc"]))
1616
1628
  }, {
1617
1629
  activator: J(({ props: $ }) => [
1618
- N(h, zt($, {
1630
+ N(_, zt($, {
1619
1631
  density: "comfortable",
1620
1632
  block: ""
1621
1633
  }), {
@@ -1635,22 +1647,22 @@ const Os = { class: "text-subtitle-2 ml-1" }, xs = { class: "text-caption text-g
1635
1647
  class: "elevation-2",
1636
1648
  style: le(a.value)
1637
1649
  }, [
1638
- k(r) ? (w(), F(P, {
1650
+ E(r) ? (w(), F(A, {
1639
1651
  key: 0,
1640
1652
  color: "transparent",
1641
1653
  height: 24
1642
1654
  })) : I("", !0),
1643
- N(P, {
1655
+ N(A, {
1644
1656
  class: "d-flex align-center px-3",
1645
1657
  color: "transparent",
1646
1658
  height: 48
1647
1659
  }, {
1648
1660
  default: J(() => [
1649
- N(A, {
1650
- icon: k(fs),
1661
+ N(C, {
1662
+ icon: E(fs),
1651
1663
  onClick: p[0] || (p[0] = ($) => d.value = !1)
1652
1664
  }, null, 8, ["icon"]),
1653
- q("span", ks, ne(k(t)("x-prop-tree.dlg.compSelect.title")), 1)
1665
+ q("span", Es, ne(E(t)("x-prop-tree.dlg.compSelect.title")), 1)
1654
1666
  ]),
1655
1667
  _: 1
1656
1668
  }),
@@ -1661,7 +1673,7 @@ const Os = { class: "text-subtitle-2 ml-1" }, xs = { class: "text-caption text-g
1661
1673
  N(js, {
1662
1674
  modelValue: o.value,
1663
1675
  "onUpdate:modelValue": p[1] || (p[1] = ($) => o.value = $),
1664
- open: k(d),
1676
+ open: E(d),
1665
1677
  "onUpdate:open": p[2] || (p[2] = ($) => Fe(d) ? d.value = $ : null)
1666
1678
  }, null, 8, ["modelValue", "open"]),
1667
1679
  q("div", {
@@ -1677,7 +1689,7 @@ const Os = { class: "text-subtitle-2 ml-1" }, xs = { class: "text-caption text-g
1677
1689
  }
1678
1690
  });
1679
1691
  function Ns(e) {
1680
- return { renderUiCompSelect: (n, r, i, o, l) => r.ui !== "compSelect" ? (console.assert(!1), _("div", "renderUiCompSelect prop ui must be compSelect")) : _(Es, {
1692
+ return { renderUiCompSelect: (n, r, i, o, l) => r.ui !== "compSelect" ? (console.assert(!1), h("div", "renderUiCompSelect prop ui must be compSelect")) : h(ks, {
1681
1693
  modelValue: ce(
1682
1694
  n,
1683
1695
  r,
@@ -1719,43 +1731,45 @@ const Bs = { class: "d-flex justify-space-between align-center" }, Rs = /* @__PU
1719
1731
  return Kt(() => {
1720
1732
  a.value = !1;
1721
1733
  }), (u, s) => {
1722
- const v = V("v-btn"), d = V("v-icon"), f = V("v-color-picker"), p = V("v-menu");
1723
- return w(), F(p, {
1724
- modelValue: k(a),
1725
- "onUpdate:modelValue": s[2] || (s[2] = (h) => Fe(a) ? a.value = h : null),
1734
+ const v = V("v-btn"), d = V("v-color-picker"), f = V("v-menu");
1735
+ return w(), F(f, {
1736
+ modelValue: E(a),
1737
+ "onUpdate:modelValue": s[2] || (s[2] = (p) => Fe(a) ? a.value = p : null),
1726
1738
  "close-on-content-click": !1,
1727
1739
  scrim: "transparent"
1728
1740
  }, {
1729
- activator: J(({ props: h }) => [
1741
+ activator: J(({ props: p }) => [
1730
1742
  q("div", Bs, [
1731
1743
  q("div", {
1732
1744
  class: "flex-grow-1",
1733
1745
  style: le(o.value)
1734
1746
  }, [
1735
- N(v, zt(h, {
1747
+ N(v, zt(p, {
1736
1748
  density: "comfortable",
1737
1749
  color: r.value,
1738
1750
  block: "",
1739
1751
  disabled: l.value
1740
1752
  }), {
1741
1753
  default: J(() => [
1742
- at(ne(r.value ? r.value : k(n)("x-runtime-lib.notSet")), 1)
1754
+ at(ne(r.value ? r.value : E(n)("x-runtime-lib.notSet")), 1)
1743
1755
  ]),
1744
1756
  _: 2
1745
1757
  }, 1040, ["color", "disabled"])
1746
1758
  ], 4),
1747
- u.hasDelete ? (w(), F(d, {
1759
+ u.hasDelete ? (w(), F(v, {
1748
1760
  key: 0,
1749
1761
  class: "mx-2",
1750
- icon: k(ye),
1751
- onClick: s[0] || (s[0] = z((P) => i("delete"), ["stop"]))
1762
+ variant: "text",
1763
+ density: "compact",
1764
+ icon: E(ge),
1765
+ onClick: s[0] || (s[0] = z((_) => i("delete"), ["stop"]))
1752
1766
  }, null, 8, ["icon"])) : I("", !0)
1753
1767
  ])
1754
1768
  ]),
1755
1769
  default: J(() => [
1756
- N(f, {
1770
+ N(d, {
1757
1771
  modelValue: r.value,
1758
- "onUpdate:modelValue": s[1] || (s[1] = (h) => r.value = h),
1772
+ "onUpdate:modelValue": s[1] || (s[1] = (p) => r.value = p),
1759
1773
  mode: "hexa",
1760
1774
  "show-swatches": "",
1761
1775
  "swatches-max-height": "150px"
@@ -1767,7 +1781,7 @@ const Bs = { class: "d-flex justify-space-between align-center" }, Rs = /* @__PU
1767
1781
  }
1768
1782
  });
1769
1783
  function Fs(e) {
1770
- return { renderUiColorPicker: (n, r, i, o, l) => r.ui !== "colorPicker" ? (console.assert(!1), _("div", "renderUiColorPicker prop ui must be colorPicker")) : _(Rs, {
1784
+ return { renderUiColorPicker: (n, r, i, o, l) => r.ui !== "colorPicker" ? (console.assert(!1), h("div", "renderUiColorPicker prop ui must be colorPicker")) : h(Rs, {
1771
1785
  modelValue: ce(
1772
1786
  n,
1773
1787
  r,
@@ -1811,16 +1825,16 @@ const Hs = { class: "d-flex justify-space-between align-center my-2" }, Gs = { c
1811
1825
  }), a = B(0), u = R(() => {
1812
1826
  var p;
1813
1827
  const f = [];
1814
- return (p = l.value) == null || p.forEach(({ title: h }, P) => {
1828
+ return (p = l.value) == null || p.forEach(({ title: _ }, A) => {
1815
1829
  f.push({
1816
- title: n(h),
1817
- value: P
1830
+ title: n(_),
1831
+ value: A
1818
1832
  });
1819
1833
  }), f;
1820
1834
  });
1821
1835
  mt(() => {
1822
1836
  var f;
1823
- (f = l.value) == null || f.some((p, h) => p.validator(r.value) ? (a.value = h, !0) : !1);
1837
+ (f = l.value) == null || f.some((p, _) => p.validator(r.value) ? (a.value = _, !0) : !1);
1824
1838
  });
1825
1839
  const s = R(() => {
1826
1840
  var f;
@@ -1832,15 +1846,15 @@ const Hs = { class: "d-flex justify-space-between align-center my-2" }, Gs = { c
1832
1846
  return mt(() => {
1833
1847
  var f, p;
1834
1848
  ((f = s.value) == null ? void 0 : f.ui) === "pixelInput" ? d.value = Fn(r.value) : ((p = s.value) == null ? void 0 : p.ui) === "percentInput" && (d.value = Hn(r.value));
1835
- }), Oe(d, (f) => {
1836
- var p, h;
1837
- ((p = s.value) == null ? void 0 : p.ui) === "pixelInput" ? r.value = f + "px" : ((h = s.value) == null ? void 0 : h.ui) === "percentInput" && (r.value = f + "%");
1849
+ }), xe(d, (f) => {
1850
+ var p, _;
1851
+ ((p = s.value) == null ? void 0 : p.ui) === "pixelInput" ? r.value = f + "px" : ((_ = s.value) == null ? void 0 : _.ui) === "percentInput" && (r.value = f + "%");
1838
1852
  }), (f, p) => {
1839
- var $, O;
1840
- const h = V("v-select"), P = V("v-number-input"), A = V("v-icon"), C = ae("ripple");
1853
+ var $, x;
1854
+ const _ = V("v-select"), A = V("v-number-input"), C = V("v-btn"), P = ae("ripple");
1841
1855
  return w(), H("div", Hs, [
1842
1856
  q("div", Gs, [
1843
- re(N(h, {
1857
+ re(N(_, {
1844
1858
  modelValue: a.value,
1845
1859
  "onUpdate:modelValue": [
1846
1860
  p[0] || (p[0] = (T) => a.value = T),
@@ -1852,13 +1866,13 @@ const Hs = { class: "d-flex justify-space-between align-center my-2" }, Gs = { c
1852
1866
  "single-line": ""
1853
1867
  }, null, 8, ["modelValue", "items"]), [
1854
1868
  [
1855
- C,
1869
+ P,
1856
1870
  void 0,
1857
1871
  void 0,
1858
1872
  { stop: !0 }
1859
1873
  ]
1860
1874
  ]),
1861
- (($ = s.value) == null ? void 0 : $.ui) === "pixelInput" || ((O = s.value) == null ? void 0 : O.ui) === "percentInput" ? re((w(), F(P, {
1875
+ (($ = s.value) == null ? void 0 : $.ui) === "pixelInput" || ((x = s.value) == null ? void 0 : x.ui) === "percentInput" ? re((w(), F(A, {
1862
1876
  key: 0,
1863
1877
  modelValue: d.value,
1864
1878
  "onUpdate:modelValue": p[1] || (p[1] = (T) => d.value = T),
@@ -1872,17 +1886,19 @@ const Hs = { class: "d-flex justify-space-between align-center my-2" }, Gs = { c
1872
1886
  "single-line": ""
1873
1887
  }, null, 8, ["modelValue", "precision", "min", "max", "step"])), [
1874
1888
  [
1875
- C,
1889
+ P,
1876
1890
  void 0,
1877
1891
  void 0,
1878
1892
  { stop: !0 }
1879
1893
  ]
1880
1894
  ]) : I("", !0)
1881
1895
  ]),
1882
- f.hasDelete ? (w(), F(A, {
1896
+ f.hasDelete ? (w(), F(C, {
1883
1897
  key: 0,
1884
1898
  class: "mx-2",
1885
- icon: k(ye),
1899
+ variant: "text",
1900
+ density: "compact",
1901
+ icon: E(ge),
1886
1902
  onClick: p[2] || (p[2] = z((T) => i("delete"), ["stop"]))
1887
1903
  }, null, 8, ["icon"])) : I("", !0)
1888
1904
  ]);
@@ -1890,7 +1906,7 @@ const Hs = { class: "d-flex justify-space-between align-center my-2" }, Gs = { c
1890
1906
  }
1891
1907
  });
1892
1908
  function zs(e) {
1893
- return { renderUiMultiTypes: (n, r, i, o, l) => r.ui !== "multiTypes" ? (console.assert(!1), _("div", "renderUiMultiTypes prop ui must be multiTypes")) : _(Ks, {
1909
+ return { renderUiMultiTypes: (n, r, i, o, l) => r.ui !== "multiTypes" ? (console.assert(!1), h("div", "renderUiMultiTypes prop ui must be multiTypes")) : h(Ks, {
1894
1910
  modelValue: ce(
1895
1911
  n,
1896
1912
  r,
@@ -1927,88 +1943,88 @@ const qs = /* @__PURE__ */ K({
1927
1943
  },
1928
1944
  emits: ["change"],
1929
1945
  setup(e, { emit: t }) {
1930
- const { t: n } = ue(), { backgroundColor1: r } = we(), i = e, o = t, l = B("20px"), a = B("56px"), u = B("200px"), s = En({}), v = B({}), d = (g, c) => {
1931
- Ft(v, i.config, i.object), o("change", g, c);
1946
+ const { t: n } = ue(), { backgroundColor1: r } = we(), i = e, o = t, l = B("20px"), a = B("56px"), u = B("200px"), s = kn({}), v = B({}), d = (y, c) => {
1947
+ Ft(v, i.config, i.object), o("change", y, c);
1932
1948
  };
1933
- Oe(
1949
+ xe(
1934
1950
  [() => i.config, () => i.object],
1935
1951
  () => {
1936
- Ft(v, i.config, i.object, (g, c) => {
1937
- o("change", g, c);
1952
+ Ft(v, i.config, i.object, (y, c) => {
1953
+ o("change", y, c);
1938
1954
  });
1939
1955
  },
1940
1956
  { immediate: !0 }
1941
1957
  );
1942
1958
  const f = B(i.version);
1943
- es(f), Oe(
1959
+ es(f), xe(
1944
1960
  () => i.version,
1945
1961
  () => {
1946
1962
  f.value = i.version;
1947
1963
  }
1948
1964
  );
1949
1965
  const p = B(i.config);
1950
- ts(p), Oe(
1966
+ ts(p), xe(
1951
1967
  () => i.config,
1952
1968
  () => {
1953
1969
  p.value = i.config;
1954
1970
  }
1955
1971
  );
1956
- const h = B(i.object);
1957
- rs(h), Oe(
1972
+ const _ = B(i.object);
1973
+ rs(_), xe(
1958
1974
  () => i.object,
1959
1975
  () => {
1960
- h.value = i.object;
1976
+ _.value = i.object;
1961
1977
  }
1962
1978
  ), is(v), ss(d);
1963
- const P = B([]);
1964
- us(P);
1965
- const A = () => {
1966
- const { compGroups: g, comps: c } = Gn.app.activeApp, y = [];
1967
- g.forEach(({ id: m, name: b, position: x }) => {
1968
- const D = P.value.find((Q) => Q.id === m);
1969
- y.push({
1979
+ const A = B([]);
1980
+ us(A);
1981
+ const C = () => {
1982
+ const { compGroups: y, comps: c } = Gn.app.activeApp, g = [];
1983
+ y.forEach(({ id: m, name: b, position: O }) => {
1984
+ const D = A.value.find((Q) => Q.id === m);
1985
+ g.push({
1970
1986
  id: m,
1971
1987
  type: 0,
1972
1988
  name: b,
1973
- position: x,
1989
+ position: O,
1974
1990
  collapse: (D == null ? void 0 : D.collapse) ?? !0
1975
1991
  });
1976
- }), c.forEach(({ id: m, groupid: b, name: x, position: D }) => {
1977
- y.push({ id: m, type: 1, name: x, position: D, group: b });
1978
- }), zl(y, !0), P.value = y;
1992
+ }), c.forEach(({ id: m, groupid: b, name: O, position: D }) => {
1993
+ g.push({ id: m, type: 1, name: O, position: D, group: b });
1994
+ }), zl(g, !0), A.value = g;
1979
1995
  };
1980
- let C;
1996
+ let P;
1981
1997
  const $ = () => {
1982
- clearTimeout(C), C = window.setTimeout(() => {
1983
- A(), C && $();
1998
+ clearTimeout(P), P = window.setTimeout(() => {
1999
+ C(), P && $();
1984
2000
  }, 1e3);
1985
- }, O = () => {
1986
- clearTimeout(C), C = void 0;
2001
+ }, x = () => {
2002
+ clearTimeout(P), P = void 0;
1987
2003
  };
1988
2004
  Nn(() => {
1989
2005
  $();
1990
2006
  }), Bn(() => {
1991
- O();
2007
+ x();
1992
2008
  });
1993
- const { renderProp: T } = vs(v, a, u), { renderUiDummy: L } = ms(d), { renderUiStrInput: W } = hs(d), { renderUiNumInput: Ye } = $s(d), { renderUiSwitch: Tn } = ws(d), { renderUiSelect: Sn } = Ps(d), { renderUiColorPicker: wn } = Fs(d), { renderUiMultiTypes: An } = zs(d), { renderUiCompSelect: Cn } = Ns(d), De = (g, c, y, m, b, x) => (g = an(g), b !== void 0 ? (g.push(b), x && g.push(c.key)) : g.push(c.key), c.ui ? c.array && m ? xn(g, c, y, m, b, x) : Mn(g, c, y, b, x) : c.array ? Pn(g, c, y, m, b, x) : On(
1994
- g,
1995
- c,
2009
+ const { renderProp: T } = vs(v, a, u), { renderUiDummy: L } = ms(d), { renderUiStrInput: W } = hs(d), { renderUiNumInput: Ye } = $s(d), { renderUiSwitch: Tn } = ws(d), { renderUiSelect: Sn } = Ps(d), { renderUiColorPicker: wn } = Fs(d), { renderUiMultiTypes: An } = zs(d), { renderUiCompSelect: Cn } = Ns(d), De = (y, c, g, m, b, O) => (y = an(y), b !== void 0 ? (y.push(b), O && y.push(c.key)) : y.push(c.key), c.ui ? c.array && m ? On(y, c, g, m, b, O) : Mn(y, c, g, b, O) : c.array ? Pn(y, c, g, m, b, O) : xn(
1996
2010
  y,
2011
+ c,
2012
+ g,
1997
2013
  m,
1998
2014
  b,
1999
- x
2000
- )), Pn = (g, c, y, m, b, x) => {
2015
+ O
2016
+ )), Pn = (y, c, g, m, b, O) => {
2001
2017
  if (c.ui)
2002
- return console.assert(!1), _("div", "renderBranchArray prop ui must be invalid");
2018
+ return console.assert(!1), h("div", "renderBranchArray prop ui must be invalid");
2003
2019
  if (!c.array)
2004
- return console.assert(!1), _("div", "renderBranchArray prop array must be valid");
2020
+ return console.assert(!1), h("div", "renderBranchArray prop array must be valid");
2005
2021
  if (!m)
2006
- return console.assert(!1), _("div", "renderBranchArray branch must be valid");
2022
+ return console.assert(!1), h("div", "renderBranchArray branch must be valid");
2007
2023
  let D;
2008
- b !== void 0 && !x ? (y[b] instanceof Array || (y[b] = E(c), d(g, y[c.key])), D = y[b]) : (y[c.key] instanceof Array || (y[c.key] = E(c), d(g, y[c.key])), D = y[c.key]);
2024
+ b !== void 0 && !O ? (g[b] instanceof Array || (g[b] = k(c), d(y, g[c.key])), D = g[b]) : (g[c.key] instanceof Array || (g[c.key] = k(c), d(y, g[c.key])), D = g[c.key]);
2009
2025
  let Q = n(c.name);
2010
- m.collapse && be(v.value, g) && (Q += " *");
2011
- const Ae = _(Be, {
2026
+ m.collapse && be(v.value, y) && (Q += " *");
2027
+ const Ae = h(Be, {
2012
2028
  title: Q,
2013
2029
  collapse: m.collapse,
2014
2030
  hasCreate: !0,
@@ -2016,12 +2032,12 @@ const qs = /* @__PURE__ */ K({
2016
2032
  m.collapse = S;
2017
2033
  },
2018
2034
  onMenu: (S, j) => {
2019
- _e.emit("propTreeMenu", { x: S, y: j, keys: g });
2035
+ _e.emit("propTreeMenu", { x: S, y: j, keys: y });
2020
2036
  },
2021
2037
  onCreate: () => {
2022
- D.push({}), d(g, D);
2038
+ D.push({}), d(y, D);
2023
2039
  }
2024
- }), G = _(
2040
+ }), G = h(
2025
2041
  "div",
2026
2042
  {
2027
2043
  style: {
@@ -2039,10 +2055,10 @@ const qs = /* @__PURE__ */ K({
2039
2055
  collapse: !0,
2040
2056
  children: {}
2041
2057
  });
2042
- const je = [...g, j], ke = m.children[j];
2058
+ const je = [...y, j], Ee = m.children[j];
2043
2059
  let vt = `[${j + 1}]`;
2044
2060
  m.children[j].collapse && be(v.value, je) && (vt += " *");
2045
- const Un = _(Be, {
2061
+ const Un = h(Be, {
2046
2062
  title: vt,
2047
2063
  collapse: m.children[j].collapse,
2048
2064
  hasDelete: !0,
@@ -2062,11 +2078,11 @@ const qs = /* @__PURE__ */ K({
2062
2078
  console.assert(!1);
2063
2079
  return;
2064
2080
  }
2065
- m.children.splice(ee, 1), D.splice(ee, 1), d(g, D);
2081
+ m.children.splice(ee, 1), D.splice(ee, 1), d(y, D);
2066
2082
  }
2067
2083
  });
2068
2084
  S.push(Un);
2069
- const Ln = _(
2085
+ const Ln = h(
2070
2086
  "div",
2071
2087
  {
2072
2088
  style: {
@@ -2076,19 +2092,19 @@ const qs = /* @__PURE__ */ K({
2076
2092
  (() => {
2077
2093
  const ee = [];
2078
2094
  return c.children.forEach((fe) => {
2079
- if (!Rt(ke.children)) {
2095
+ if (!Rt(Ee.children)) {
2080
2096
  console.assert(!1);
2081
2097
  return;
2082
2098
  }
2083
- ke.children[fe.key] || (ke.children[fe.key] = {
2099
+ Ee.children[fe.key] || (Ee.children[fe.key] = {
2084
2100
  collapse: !0,
2085
2101
  children: fe.array ? [] : {}
2086
2102
  });
2087
2103
  const Dn = De(
2088
- g,
2104
+ y,
2089
2105
  fe,
2090
2106
  D[j],
2091
- ke.children[fe.key],
2107
+ Ee.children[fe.key],
2092
2108
  j,
2093
2109
  !0
2094
2110
  );
@@ -2101,7 +2117,7 @@ const qs = /* @__PURE__ */ K({
2101
2117
  return S;
2102
2118
  })()
2103
2119
  );
2104
- return _(
2120
+ return h(
2105
2121
  "div",
2106
2122
  {
2107
2123
  style: {
@@ -2113,29 +2129,29 @@ const qs = /* @__PURE__ */ K({
2113
2129
  return S.push(Ae), m.collapse || S.push(G), S;
2114
2130
  })()
2115
2131
  );
2116
- }, On = (g, c, y, m, b, x) => {
2132
+ }, xn = (y, c, g, m, b, O) => {
2117
2133
  if (c.ui)
2118
- return console.assert(!1), _("div", "renderBranchScalar prop ui must be invalid");
2134
+ return console.assert(!1), h("div", "renderBranchScalar prop ui must be invalid");
2119
2135
  if (c.array)
2120
- return console.assert(!1), _("div", "renderBranchScalar prop array must be invalid");
2136
+ return console.assert(!1), h("div", "renderBranchScalar prop array must be invalid");
2121
2137
  if (!m)
2122
- return console.assert(!1), _("div", "renderBranchScalar branch must be valid");
2138
+ return console.assert(!1), h("div", "renderBranchScalar branch must be valid");
2123
2139
  let D = n(c.name);
2124
- m.collapse && be(v.value, g) && (D += " *");
2125
- const Q = _(Be, {
2140
+ m.collapse && be(v.value, y) && (D += " *");
2141
+ const Q = h(Be, {
2126
2142
  title: D,
2127
2143
  collapse: m.collapse,
2128
- hasDelete: b !== void 0 && !x,
2144
+ hasDelete: b !== void 0 && !O,
2129
2145
  onCollapse: (G) => {
2130
2146
  m.collapse = G;
2131
2147
  },
2132
2148
  onMenu: (G, S) => {
2133
- _e.emit("propTreeMenu", { x: G, y: S, keys: g });
2149
+ _e.emit("propTreeMenu", { x: G, y: S, keys: y });
2134
2150
  },
2135
2151
  onDelete: () => {
2136
- b === void 0 || x || (y.splice(b, 1), d(g.slice(0, -1), y));
2152
+ b === void 0 || O || (g.splice(b, 1), d(y.slice(0, -1), g));
2137
2153
  }
2138
- }), Ae = _(
2154
+ }), Ae = h(
2139
2155
  "div",
2140
2156
  {
2141
2157
  style: {
@@ -2154,16 +2170,16 @@ const qs = /* @__PURE__ */ K({
2154
2170
  children: !S.ui && S.array ? [] : {}
2155
2171
  });
2156
2172
  const j = De(
2157
- g,
2173
+ y,
2158
2174
  S,
2159
- (typeof y[c.key] != "object" && (y[c.key] = {}, d(g, y[c.key])), y[c.key]),
2175
+ (typeof g[c.key] != "object" && (g[c.key] = {}, d(y, g[c.key])), g[c.key]),
2160
2176
  m.children[S.key]
2161
2177
  );
2162
2178
  G.push(j);
2163
2179
  }), G;
2164
2180
  })()
2165
2181
  );
2166
- return _(
2182
+ return h(
2167
2183
  "div",
2168
2184
  {
2169
2185
  style: {
@@ -2175,18 +2191,18 @@ const qs = /* @__PURE__ */ K({
2175
2191
  return G.push(Q), m.collapse || G.push(Ae), G;
2176
2192
  })()
2177
2193
  );
2178
- }, xn = (g, c, y, m, b, x) => {
2194
+ }, On = (y, c, g, m, b, O) => {
2179
2195
  if (!c.ui)
2180
- return console.assert(!1), _("div", "renderLeafArray prop ui must be valid");
2196
+ return console.assert(!1), h("div", "renderLeafArray prop ui must be valid");
2181
2197
  if (!c.array)
2182
- return console.assert(!1), _("div", "renderLeafArray prop array must be valid");
2198
+ return console.assert(!1), h("div", "renderLeafArray prop array must be valid");
2183
2199
  if (!m)
2184
- return console.assert(!1), _("div", "renderLeafArray branch must be valid");
2200
+ return console.assert(!1), h("div", "renderLeafArray branch must be valid");
2185
2201
  let D;
2186
- b !== void 0 && !x ? (y[b] instanceof Array || (y[b] = E(c), d(g, y[b])), D = y[b]) : (y[c.key] instanceof Array || (y[c.key] = E(c), d(g, y[c.key])), D = y[c.key]);
2202
+ b !== void 0 && !O ? (g[b] instanceof Array || (g[b] = k(c), d(y, g[b])), D = g[b]) : (g[c.key] instanceof Array || (g[c.key] = k(c), d(y, g[c.key])), D = g[c.key]);
2187
2203
  let Q = n(c.name);
2188
- m.collapse && be(v.value, g) && (Q += " *");
2189
- const Ae = _(Be, {
2204
+ m.collapse && be(v.value, y) && (Q += " *");
2205
+ const Ae = h(Be, {
2190
2206
  title: Q,
2191
2207
  collapse: m.collapse,
2192
2208
  hasCreate: !0,
@@ -2194,12 +2210,12 @@ const qs = /* @__PURE__ */ K({
2194
2210
  m.collapse = S;
2195
2211
  },
2196
2212
  onMenu: (S, j) => {
2197
- _e.emit("propTreeMenu", { x: S, y: j, keys: g });
2213
+ _e.emit("propTreeMenu", { x: S, y: j, keys: y });
2198
2214
  },
2199
2215
  onCreate: () => {
2200
- D.push(E(c, !0)), d(g, D);
2216
+ D.push(k(c, !0)), d(y, D);
2201
2217
  }
2202
- }), G = _(
2218
+ }), G = h(
2203
2219
  "div",
2204
2220
  {
2205
2221
  style: {
@@ -2209,13 +2225,13 @@ const qs = /* @__PURE__ */ K({
2209
2225
  (() => {
2210
2226
  const S = [];
2211
2227
  for (let j = 0; j < D.length; j++) {
2212
- const je = De(g, c, D, void 0, j, !1);
2228
+ const je = De(y, c, D, void 0, j, !1);
2213
2229
  S.push(je);
2214
2230
  }
2215
2231
  return S;
2216
2232
  })()
2217
2233
  );
2218
- return _(
2234
+ return h(
2219
2235
  "div",
2220
2236
  {
2221
2237
  style: {
@@ -2227,12 +2243,12 @@ const qs = /* @__PURE__ */ K({
2227
2243
  return S.push(Ae), m.collapse || S.push(G), S;
2228
2244
  })()
2229
2245
  );
2230
- }, Mn = (g, c, y, m, b) => {
2246
+ }, Mn = (y, c, g, m, b) => {
2231
2247
  if (!c.ui)
2232
- return console.assert(!1), _("div", "renderLeafScalar prop ui must be valid");
2233
- let x;
2234
- return c.ui === "dummy" ? x = L(g, c, y, m, b) : c.ui === "strInput" ? x = W(g, c, y, m, b) : c.ui === "numInput" ? x = Ye(g, c, y, m, b) : c.ui === "switch" ? x = Tn(g, c, y, m, b) : c.ui === "select" ? x = Sn(g, c, y, m, b) : c.ui === "colorPicker" ? x = wn(g, c, y, m, b) : c.ui === "multiTypes" ? x = An(g, c, y, m, b) : c.ui === "compSelect" ? x = Cn(g, c, y, m, b) : console.assert(!1, "renderLeafScalar not implemented"), x ? T(g, c, x) : _("div");
2235
- }, Vn = () => _(
2248
+ return console.assert(!1), h("div", "renderLeafScalar prop ui must be valid");
2249
+ let O;
2250
+ return c.ui === "dummy" ? O = L(y, c, g, m, b) : c.ui === "strInput" ? O = W(y, c, g, m, b) : c.ui === "numInput" ? O = Ye(y, c, g, m, b) : c.ui === "switch" ? O = Tn(y, c, g, m, b) : c.ui === "select" ? O = Sn(y, c, g, m, b) : c.ui === "colorPicker" ? O = wn(y, c, g, m, b) : c.ui === "multiTypes" ? O = An(y, c, g, m, b) : c.ui === "compSelect" ? O = Cn(y, c, g, m, b) : console.assert(!1, "renderLeafScalar not implemented"), O ? T(y, c, O) : h("div");
2251
+ }, Vn = () => h(
2236
2252
  "div",
2237
2253
  {
2238
2254
  class: "text-body-2",
@@ -2241,23 +2257,23 @@ const qs = /* @__PURE__ */ K({
2241
2257
  }
2242
2258
  },
2243
2259
  (() => {
2244
- const g = [];
2260
+ const y = [];
2245
2261
  if (i.unique && i.config.length > 0 && i.object) {
2246
2262
  s[i.unique] || (s[i.unique] = {});
2247
2263
  const c = s[i.unique];
2248
- i.config.forEach((y) => {
2249
- c[y.key] || (c[y.key] = {
2264
+ i.config.forEach((g) => {
2265
+ c[g.key] || (c[g.key] = {
2250
2266
  collapse: !0,
2251
- children: !y.ui && y.array ? [] : {}
2267
+ children: !g.ui && g.array ? [] : {}
2252
2268
  });
2253
- const m = De([], y, i.object, c[y.key]);
2254
- g.push(m);
2269
+ const m = De([], g, i.object, c[g.key]);
2270
+ y.push(m);
2255
2271
  });
2256
2272
  }
2257
- return g;
2273
+ return y;
2258
2274
  })()
2259
2275
  );
2260
- return (g, c) => (w(), H(He, null, [
2276
+ return (y, c) => (w(), H(He, null, [
2261
2277
  N(Vn),
2262
2278
  N(cs, {
2263
2279
  config: i.config,