x-prop-tree 0.5.7 → 0.5.8

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 +311 -314
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -128,22 +128,22 @@ function qt(e, t, n) {
128
128
  function Ne(e, t, n, r) {
129
129
  var s = !n;
130
130
  n || (n = {});
131
- for (var a = -1, d = t.length; ++a < d; ) {
132
- var f = t[a], p = void 0;
131
+ for (var l = -1, d = t.length; ++l < d; ) {
132
+ var f = t[l], p = void 0;
133
133
  p === void 0 && (p = e[f]), s ? zt(n, f, p) : qt(n, f, p);
134
134
  }
135
135
  return n;
136
136
  }
137
- var ar = 9007199254740991;
137
+ var lr = 9007199254740991;
138
138
  function Kt(e) {
139
- return typeof e == "number" && e > -1 && e % 1 == 0 && e <= ar;
139
+ return typeof e == "number" && e > -1 && e % 1 == 0 && e <= lr;
140
140
  }
141
141
  function Xt(e) {
142
142
  return e != null && Kt(e.length) && !Gt(e);
143
143
  }
144
- var lr = Object.prototype;
144
+ var ar = Object.prototype;
145
145
  function tt(e) {
146
- var t = e && e.constructor, n = typeof t == "function" && t.prototype || lr;
146
+ var t = e && e.constructor, n = typeof t == "function" && t.prototype || ar;
147
147
  return e === n;
148
148
  }
149
149
  function or(e, t) {
@@ -182,12 +182,12 @@ var Wt = typeof exports == "object" && exports && !exports.nodeType && exports,
182
182
  }
183
183
  }(), mt = ce && ce.isTypedArray, It = mt ? nt(mt) : Rr, jr = Object.prototype, Gr = jr.hasOwnProperty;
184
184
  function Jt(e, t) {
185
- var n = ye(e), r = !n && fr(e), s = !n && !r && De(e), a = !n && !r && !s && It(e), d = n || r || s || a, f = d ? or(e.length, String) : [], p = f.length;
185
+ var n = ye(e), r = !n && fr(e), s = !n && !r && De(e), l = !n && !r && !s && It(e), d = n || r || s || l, f = d ? or(e.length, String) : [], p = f.length;
186
186
  for (var c in e)
187
187
  (t || Gr.call(e, c)) && !(d && // Safari 9 has enumerable `arguments.length` in strict mode.
188
188
  (c == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
189
189
  s && (c == "offset" || c == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
190
- a && (c == "buffer" || c == "byteLength" || c == "byteOffset") || // Skip index properties.
190
+ l && (c == "buffer" || c == "byteLength" || c == "byteOffset") || // Skip index properties.
191
191
  nr(c, p))) && f.push(c);
192
192
  return f;
193
193
  }
@@ -245,14 +245,14 @@ function ni(e) {
245
245
  return ti.call(t, e) ? t[e] : void 0;
246
246
  }
247
247
  var ri = Object.prototype, ii = ri.hasOwnProperty;
248
- function ai(e) {
248
+ function li(e) {
249
249
  var t = this.__data__;
250
250
  return _e ? t[e] !== void 0 : ii.call(t, e);
251
251
  }
252
- var li = "__lodash_hash_undefined__";
252
+ var ai = "__lodash_hash_undefined__";
253
253
  function oi(e, t) {
254
254
  var n = this.__data__;
255
- return this.size += this.has(e) ? 0 : 1, n[e] = _e && t === void 0 ? li : t, this;
255
+ return this.size += this.has(e) ? 0 : 1, n[e] = _e && t === void 0 ? ai : t, this;
256
256
  }
257
257
  function te(e) {
258
258
  var t = -1, n = e == null ? 0 : e.length;
@@ -264,7 +264,7 @@ function te(e) {
264
264
  te.prototype.clear = Jr;
265
265
  te.prototype.delete = Qr;
266
266
  te.prototype.get = ni;
267
- te.prototype.has = ai;
267
+ te.prototype.has = li;
268
268
  te.prototype.set = oi;
269
269
  function si() {
270
270
  this.__data__ = [], this.size = 0;
@@ -401,40 +401,40 @@ function Ei(e, t) {
401
401
  return e.copy(r), r;
402
402
  }
403
403
  function Di(e, t) {
404
- for (var n = -1, r = e == null ? 0 : e.length, s = 0, a = []; ++n < r; ) {
404
+ for (var n = -1, r = e == null ? 0 : e.length, s = 0, l = []; ++n < r; ) {
405
405
  var d = e[n];
406
- t(d, n, e) && (a[s++] = d);
406
+ t(d, n, e) && (l[s++] = d);
407
407
  }
408
- return a;
408
+ return l;
409
409
  }
410
410
  function nn() {
411
411
  return [];
412
412
  }
413
- var Li = Object.prototype, Mi = Li.propertyIsEnumerable, ht = Object.getOwnPropertySymbols, at = ht ? function(e) {
413
+ var Li = Object.prototype, Mi = Li.propertyIsEnumerable, ht = Object.getOwnPropertySymbols, lt = ht ? function(e) {
414
414
  return e == null ? [] : (e = Object(e), Di(ht(e), function(t) {
415
415
  return Mi.call(e, t);
416
416
  }));
417
417
  } : nn;
418
418
  function Ui(e, t) {
419
- return Ne(e, at(e), t);
419
+ return Ne(e, lt(e), t);
420
420
  }
421
421
  var xi = Object.getOwnPropertySymbols, rn = xi ? function(e) {
422
422
  for (var t = []; e; )
423
- kt(t, at(e)), e = en(e);
423
+ kt(t, lt(e)), e = en(e);
424
424
  return t;
425
425
  } : nn;
426
426
  function Ni(e, t) {
427
427
  return Ne(e, rn(e), t);
428
428
  }
429
- function an(e, t, n) {
429
+ function ln(e, t, n) {
430
430
  var r = t(e);
431
431
  return ye(e) ? r : kt(r, n(e));
432
432
  }
433
433
  function Xe(e) {
434
- return an(e, rt, at);
434
+ return ln(e, rt, lt);
435
435
  }
436
436
  function Fi(e) {
437
- return an(e, it, rn);
437
+ return ln(e, it, rn);
438
438
  }
439
439
  var Ye = re(G, "DataView"), Ze = re(G, "Promise"), We = re(G, "Set"), Tt = "[object Map]", Bi = "[object Object]", $t = "[object Promise]", bt = "[object Set]", At = "[object WeakMap]", wt = "[object DataView]", Ri = ne(Ye), Hi = ne(he), ji = ne(Ze), Gi = ne(We), zi = ne(Ke), B = Te;
440
440
  (Ye && B(new Ye(new ArrayBuffer(1))) != wt || he && B(new he()) != Tt || Ze && B(Ze.resolve()) != $t || We && B(new We()) != bt || Ke && B(new Ke()) != At) && (B = function(e) {
@@ -460,12 +460,12 @@ function Xi(e) {
460
460
  return t && typeof e[0] == "string" && Ki.call(e, "index") && (n.index = e.index, n.input = e.input), n;
461
461
  }
462
462
  var Le = G.Uint8Array;
463
- function lt(e) {
463
+ function at(e) {
464
464
  var t = new e.constructor(e.byteLength);
465
465
  return new Le(t).set(new Le(e)), t;
466
466
  }
467
467
  function Yi(e, t) {
468
- var n = t ? lt(e.buffer) : e.buffer;
468
+ var n = t ? at(e.buffer) : e.buffer;
469
469
  return new e.constructor(n, e.byteOffset, e.byteLength);
470
470
  }
471
471
  var Zi = /\w*$/;
@@ -478,59 +478,59 @@ function Ii(e) {
478
478
  return Pt ? Object(Pt.call(e)) : {};
479
479
  }
480
480
  function Ji(e, t) {
481
- var n = t ? lt(e.buffer) : e.buffer;
481
+ var n = t ? at(e.buffer) : e.buffer;
482
482
  return new e.constructor(n, e.byteOffset, e.length);
483
483
  }
484
- var Qi = "[object Boolean]", ki = "[object Date]", ea = "[object Map]", ta = "[object Number]", na = "[object RegExp]", ra = "[object Set]", ia = "[object String]", aa = "[object Symbol]", la = "[object ArrayBuffer]", oa = "[object DataView]", sa = "[object Float32Array]", ua = "[object Float64Array]", ca = "[object Int8Array]", fa = "[object Int16Array]", da = "[object Int32Array]", pa = "[object Uint8Array]", va = "[object Uint8ClampedArray]", ma = "[object Uint16Array]", ga = "[object Uint32Array]";
485
- function ya(e, t, n) {
484
+ var Qi = "[object Boolean]", ki = "[object Date]", el = "[object Map]", tl = "[object Number]", nl = "[object RegExp]", rl = "[object Set]", il = "[object String]", ll = "[object Symbol]", al = "[object ArrayBuffer]", ol = "[object DataView]", sl = "[object Float32Array]", ul = "[object Float64Array]", cl = "[object Int8Array]", fl = "[object Int16Array]", dl = "[object Int32Array]", pl = "[object Uint8Array]", vl = "[object Uint8ClampedArray]", ml = "[object Uint16Array]", gl = "[object Uint32Array]";
485
+ function yl(e, t, n) {
486
486
  var r = e.constructor;
487
487
  switch (t) {
488
- case la:
489
- return lt(e);
488
+ case al:
489
+ return at(e);
490
490
  case Qi:
491
491
  case ki:
492
492
  return new r(+e);
493
- case oa:
493
+ case ol:
494
494
  return Yi(e, n);
495
- case sa:
496
- case ua:
497
- case ca:
498
- case fa:
499
- case da:
500
- case pa:
501
- case va:
502
- case ma:
503
- case ga:
495
+ case sl:
496
+ case ul:
497
+ case cl:
498
+ case fl:
499
+ case dl:
500
+ case pl:
501
+ case vl:
502
+ case ml:
503
+ case gl:
504
504
  return Ji(e, n);
505
- case ea:
505
+ case el:
506
506
  return new r();
507
- case ta:
508
- case ia:
507
+ case tl:
508
+ case il:
509
509
  return new r(e);
510
- case na:
510
+ case nl:
511
511
  return Wi(e);
512
- case ra:
512
+ case rl:
513
513
  return new r();
514
- case aa:
514
+ case ll:
515
515
  return Ii(e);
516
516
  }
517
517
  }
518
- function _a(e) {
518
+ function _l(e) {
519
519
  return typeof e.constructor == "function" && !tt(e) ? Jn(en(e)) : {};
520
520
  }
521
- var ha = "[object Map]";
522
- function Ta(e) {
523
- return ee(e) && B(e) == ha;
521
+ var hl = "[object Map]";
522
+ function Tl(e) {
523
+ return ee(e) && B(e) == hl;
524
524
  }
525
- var Ot = ce && ce.isMap, $a = Ot ? nt(Ot) : Ta, ba = "[object Set]";
526
- function Aa(e) {
527
- return ee(e) && B(e) == ba;
525
+ var Ot = ce && ce.isMap, $l = Ot ? nt(Ot) : Tl, bl = "[object Set]";
526
+ function Al(e) {
527
+ return ee(e) && B(e) == bl;
528
528
  }
529
- var Ct = ce && ce.isSet, wa = Ct ? nt(Ct) : Aa, Sa = 1, Pa = 2, Oa = 4, ln = "[object Arguments]", Ca = "[object Array]", Va = "[object Boolean]", Ea = "[object Date]", Da = "[object Error]", on = "[object Function]", La = "[object GeneratorFunction]", Ma = "[object Map]", Ua = "[object Number]", sn = "[object Object]", xa = "[object RegExp]", Na = "[object Set]", Fa = "[object String]", Ba = "[object Symbol]", Ra = "[object WeakMap]", Ha = "[object ArrayBuffer]", ja = "[object DataView]", Ga = "[object Float32Array]", za = "[object Float64Array]", qa = "[object Int8Array]", Ka = "[object Int16Array]", Xa = "[object Int32Array]", Ya = "[object Uint8Array]", Za = "[object Uint8ClampedArray]", Wa = "[object Uint16Array]", Ia = "[object Uint32Array]", A = {};
530
- A[ln] = A[Ca] = A[Ha] = A[ja] = A[Va] = A[Ea] = A[Ga] = A[za] = A[qa] = A[Ka] = A[Xa] = A[Ma] = A[Ua] = A[sn] = A[xa] = A[Na] = A[Fa] = A[Ba] = A[Ya] = A[Za] = A[Wa] = A[Ia] = !0;
531
- A[Da] = A[on] = A[Ra] = !1;
532
- function Ve(e, t, n, r, s, a) {
533
- var d, f = t & Sa, p = t & Pa, c = t & Oa;
529
+ var Ct = ce && ce.isSet, wl = Ct ? nt(Ct) : Al, Sl = 1, Pl = 2, Ol = 4, an = "[object Arguments]", Cl = "[object Array]", Vl = "[object Boolean]", El = "[object Date]", Dl = "[object Error]", on = "[object Function]", Ll = "[object GeneratorFunction]", Ml = "[object Map]", Ul = "[object Number]", sn = "[object Object]", xl = "[object RegExp]", Nl = "[object Set]", Fl = "[object String]", Bl = "[object Symbol]", Rl = "[object WeakMap]", Hl = "[object ArrayBuffer]", jl = "[object DataView]", Gl = "[object Float32Array]", zl = "[object Float64Array]", ql = "[object Int8Array]", Kl = "[object Int16Array]", Xl = "[object Int32Array]", Yl = "[object Uint8Array]", Zl = "[object Uint8ClampedArray]", Wl = "[object Uint16Array]", Il = "[object Uint32Array]", A = {};
530
+ A[an] = A[Cl] = A[Hl] = A[jl] = A[Vl] = A[El] = A[Gl] = A[zl] = A[ql] = A[Kl] = A[Xl] = A[Ml] = A[Ul] = A[sn] = A[xl] = A[Nl] = A[Fl] = A[Bl] = A[Yl] = A[Zl] = A[Wl] = A[Il] = !0;
531
+ A[Dl] = A[on] = A[Rl] = !1;
532
+ function Ve(e, t, n, r, s, l) {
533
+ var d, f = t & Sl, p = t & Pl, c = t & Ol;
534
534
  if (d !== void 0)
535
535
  return d;
536
536
  if (!$e(e))
@@ -540,41 +540,41 @@ function Ve(e, t, n, r, s, a) {
540
540
  if (d = Xi(e), !f)
541
541
  return Qn(e, d);
542
542
  } else {
543
- var h = B(e), y = h == on || h == La;
543
+ var h = B(e), y = h == on || h == Ll;
544
544
  if (De(e))
545
545
  return Ei(e, f);
546
- if (h == sn || h == ln || y && !s) {
547
- if (d = p || y ? {} : _a(e), !f)
546
+ if (h == sn || h == an || y && !s) {
547
+ if (d = p || y ? {} : _l(e), !f)
548
548
  return p ? Ni(e, Ci(d, e)) : Ui(e, Oi(d, e));
549
549
  } else {
550
550
  if (!A[h])
551
551
  return s ? e : {};
552
- d = ya(e, h, f);
552
+ d = yl(e, h, f);
553
553
  }
554
554
  }
555
- a || (a = new X());
556
- var T = a.get(e);
555
+ l || (l = new X());
556
+ var T = l.get(e);
557
557
  if (T)
558
558
  return T;
559
- a.set(e, d), wa(e) ? e.forEach(function(V) {
560
- d.add(Ve(V, t, n, V, e, a));
561
- }) : $a(e) && e.forEach(function(V, E) {
562
- d.set(E, Ve(V, t, n, E, e, a));
559
+ l.set(e, d), wl(e) ? e.forEach(function(V) {
560
+ d.add(Ve(V, t, n, V, e, l));
561
+ }) : $l(e) && e.forEach(function(V, D) {
562
+ d.set(D, Ve(V, t, n, D, e, l));
563
563
  });
564
564
  var $ = c ? p ? Fi : Xe : p ? it : rt, b = g ? void 0 : $(e);
565
- return kn(b || e, function(V, E) {
566
- b && (E = V, V = e[E]), qt(d, E, Ve(V, t, n, E, e, a));
565
+ return kn(b || e, function(V, D) {
566
+ b && (D = V, V = e[D]), qt(d, D, Ve(V, t, n, D, e, l));
567
567
  }), d;
568
568
  }
569
- var Ja = 1, Qa = 4;
569
+ var Jl = 1, Ql = 4;
570
570
  function un(e) {
571
- return Ve(e, Ja | Qa);
571
+ return Ve(e, Jl | Ql);
572
572
  }
573
- var ka = "__lodash_hash_undefined__";
574
- function el(e) {
575
- return this.__data__.set(e, ka), this;
573
+ var kl = "__lodash_hash_undefined__";
574
+ function ea(e) {
575
+ return this.__data__.set(e, kl), this;
576
576
  }
577
- function tl(e) {
577
+ function ta(e) {
578
578
  return this.__data__.has(e);
579
579
  }
580
580
  function Me(e) {
@@ -582,30 +582,30 @@ function Me(e) {
582
582
  for (this.__data__ = new ie(); ++t < n; )
583
583
  this.add(e[t]);
584
584
  }
585
- Me.prototype.add = Me.prototype.push = el;
586
- Me.prototype.has = tl;
587
- function nl(e, t) {
585
+ Me.prototype.add = Me.prototype.push = ea;
586
+ Me.prototype.has = ta;
587
+ function na(e, t) {
588
588
  for (var n = -1, r = e == null ? 0 : e.length; ++n < r; )
589
589
  if (t(e[n], n, e))
590
590
  return !0;
591
591
  return !1;
592
592
  }
593
- function rl(e, t) {
593
+ function ra(e, t) {
594
594
  return e.has(t);
595
595
  }
596
- var il = 1, al = 2;
597
- function cn(e, t, n, r, s, a) {
598
- var d = n & il, f = e.length, p = t.length;
596
+ var ia = 1, la = 2;
597
+ function cn(e, t, n, r, s, l) {
598
+ var d = n & ia, f = e.length, p = t.length;
599
599
  if (f != p && !(d && p > f))
600
600
  return !1;
601
- var c = a.get(e), g = a.get(t);
601
+ var c = l.get(e), g = l.get(t);
602
602
  if (c && g)
603
603
  return c == t && g == e;
604
- var h = -1, y = !0, T = n & al ? new Me() : void 0;
605
- for (a.set(e, t), a.set(t, e); ++h < f; ) {
604
+ var h = -1, y = !0, T = n & la ? new Me() : void 0;
605
+ for (l.set(e, t), l.set(t, e); ++h < f; ) {
606
606
  var $ = e[h], b = t[h];
607
607
  if (r)
608
- var V = d ? r(b, $, h, t, e, a) : r($, b, h, e, t, a);
608
+ var V = d ? r(b, $, h, t, e, l) : r($, b, h, e, t, l);
609
609
  if (V !== void 0) {
610
610
  if (V)
611
611
  continue;
@@ -613,102 +613,102 @@ function cn(e, t, n, r, s, a) {
613
613
  break;
614
614
  }
615
615
  if (T) {
616
- if (!nl(t, function(E, z) {
617
- if (!rl(T, z) && ($ === E || s($, E, n, r, a)))
616
+ if (!na(t, function(D, z) {
617
+ if (!ra(T, z) && ($ === D || s($, D, n, r, l)))
618
618
  return T.push(z);
619
619
  })) {
620
620
  y = !1;
621
621
  break;
622
622
  }
623
- } else if (!($ === b || s($, b, n, r, a))) {
623
+ } else if (!($ === b || s($, b, n, r, l))) {
624
624
  y = !1;
625
625
  break;
626
626
  }
627
627
  }
628
- return a.delete(e), a.delete(t), y;
628
+ return l.delete(e), l.delete(t), y;
629
629
  }
630
- function ll(e) {
630
+ function aa(e) {
631
631
  var t = -1, n = Array(e.size);
632
632
  return e.forEach(function(r, s) {
633
633
  n[++t] = [s, r];
634
634
  }), n;
635
635
  }
636
- function ol(e) {
636
+ function oa(e) {
637
637
  var t = -1, n = Array(e.size);
638
638
  return e.forEach(function(r) {
639
639
  n[++t] = r;
640
640
  }), n;
641
641
  }
642
- var sl = 1, ul = 2, cl = "[object Boolean]", fl = "[object Date]", dl = "[object Error]", pl = "[object Map]", vl = "[object Number]", ml = "[object RegExp]", gl = "[object Set]", yl = "[object String]", _l = "[object Symbol]", hl = "[object ArrayBuffer]", Tl = "[object DataView]", Vt = J ? J.prototype : void 0, ze = Vt ? Vt.valueOf : void 0;
643
- function $l(e, t, n, r, s, a, d) {
642
+ var sa = 1, ua = 2, ca = "[object Boolean]", fa = "[object Date]", da = "[object Error]", pa = "[object Map]", va = "[object Number]", ma = "[object RegExp]", ga = "[object Set]", ya = "[object String]", _a = "[object Symbol]", ha = "[object ArrayBuffer]", Ta = "[object DataView]", Vt = J ? J.prototype : void 0, ze = Vt ? Vt.valueOf : void 0;
643
+ function $a(e, t, n, r, s, l, d) {
644
644
  switch (n) {
645
- case Tl:
645
+ case Ta:
646
646
  if (e.byteLength != t.byteLength || e.byteOffset != t.byteOffset)
647
647
  return !1;
648
648
  e = e.buffer, t = t.buffer;
649
- case hl:
650
- return !(e.byteLength != t.byteLength || !a(new Le(e), new Le(t)));
651
- case cl:
652
- case fl:
653
- case vl:
649
+ case ha:
650
+ return !(e.byteLength != t.byteLength || !l(new Le(e), new Le(t)));
651
+ case ca:
652
+ case fa:
653
+ case va:
654
654
  return et(+e, +t);
655
- case dl:
655
+ case da:
656
656
  return e.name == t.name && e.message == t.message;
657
- case ml:
658
- case yl:
657
+ case ma:
658
+ case ya:
659
659
  return e == t + "";
660
- case pl:
661
- var f = ll;
662
- case gl:
663
- var p = r & sl;
664
- if (f || (f = ol), e.size != t.size && !p)
660
+ case pa:
661
+ var f = aa;
662
+ case ga:
663
+ var p = r & sa;
664
+ if (f || (f = oa), e.size != t.size && !p)
665
665
  return !1;
666
666
  var c = d.get(e);
667
667
  if (c)
668
668
  return c == t;
669
- r |= ul, d.set(e, t);
670
- var g = cn(f(e), f(t), r, s, a, d);
669
+ r |= ua, d.set(e, t);
670
+ var g = cn(f(e), f(t), r, s, l, d);
671
671
  return d.delete(e), g;
672
- case _l:
672
+ case _a:
673
673
  if (ze)
674
674
  return ze.call(e) == ze.call(t);
675
675
  }
676
676
  return !1;
677
677
  }
678
- var bl = 1, Al = Object.prototype, wl = Al.hasOwnProperty;
679
- function Sl(e, t, n, r, s, a) {
680
- var d = n & bl, f = Xe(e), p = f.length, c = Xe(t), g = c.length;
678
+ var ba = 1, Aa = Object.prototype, wa = Aa.hasOwnProperty;
679
+ function Sa(e, t, n, r, s, l) {
680
+ var d = n & ba, f = Xe(e), p = f.length, c = Xe(t), g = c.length;
681
681
  if (p != g && !d)
682
682
  return !1;
683
683
  for (var h = p; h--; ) {
684
684
  var y = f[h];
685
- if (!(d ? y in t : wl.call(t, y)))
685
+ if (!(d ? y in t : wa.call(t, y)))
686
686
  return !1;
687
687
  }
688
- var T = a.get(e), $ = a.get(t);
688
+ var T = l.get(e), $ = l.get(t);
689
689
  if (T && $)
690
690
  return T == t && $ == e;
691
691
  var b = !0;
692
- a.set(e, t), a.set(t, e);
692
+ l.set(e, t), l.set(t, e);
693
693
  for (var V = d; ++h < p; ) {
694
694
  y = f[h];
695
- var E = e[y], z = t[y];
695
+ var D = e[y], z = t[y];
696
696
  if (r)
697
- var be = d ? r(z, E, y, t, e, a) : r(E, z, y, e, t, a);
698
- if (!(be === void 0 ? E === z || s(E, z, n, r, a) : be)) {
697
+ var be = d ? r(z, D, y, t, e, l) : r(D, z, y, e, t, l);
698
+ if (!(be === void 0 ? D === z || s(D, z, n, r, l) : be)) {
699
699
  b = !1;
700
700
  break;
701
701
  }
702
702
  V || (V = y == "constructor");
703
703
  }
704
704
  if (b && !V) {
705
- var le = e.constructor, oe = t.constructor;
706
- le != oe && "constructor" in e && "constructor" in t && !(typeof le == "function" && le instanceof le && typeof oe == "function" && oe instanceof oe) && (b = !1);
705
+ var ae = e.constructor, oe = t.constructor;
706
+ ae != oe && "constructor" in e && "constructor" in t && !(typeof ae == "function" && ae instanceof ae && typeof oe == "function" && oe instanceof oe) && (b = !1);
707
707
  }
708
- return a.delete(e), a.delete(t), b;
708
+ return l.delete(e), l.delete(t), b;
709
709
  }
710
- var Pl = 1, Et = "[object Arguments]", Dt = "[object Array]", Pe = "[object Object]", Ol = Object.prototype, Lt = Ol.hasOwnProperty;
711
- function Cl(e, t, n, r, s, a) {
710
+ var Pa = 1, Et = "[object Arguments]", Dt = "[object Array]", Pe = "[object Object]", Oa = Object.prototype, Lt = Oa.hasOwnProperty;
711
+ function Ca(e, t, n, r, s, l) {
712
712
  var d = ye(e), f = ye(t), p = d ? Dt : B(e), c = f ? Dt : B(t);
713
713
  p = p == Et ? Pe : p, c = c == Et ? Pe : c;
714
714
  var g = p == Pe, h = c == Pe, y = p == c;
@@ -718,23 +718,23 @@ function Cl(e, t, n, r, s, a) {
718
718
  d = !0, g = !1;
719
719
  }
720
720
  if (y && !g)
721
- return a || (a = new X()), d || It(e) ? cn(e, t, n, r, s, a) : $l(e, t, p, n, r, s, a);
722
- if (!(n & Pl)) {
721
+ return l || (l = new X()), d || It(e) ? cn(e, t, n, r, s, l) : $a(e, t, p, n, r, s, l);
722
+ if (!(n & Pa)) {
723
723
  var T = g && Lt.call(e, "__wrapped__"), $ = h && Lt.call(t, "__wrapped__");
724
724
  if (T || $) {
725
725
  var b = T ? e.value() : e, V = $ ? t.value() : t;
726
- return a || (a = new X()), s(b, V, n, r, a);
726
+ return l || (l = new X()), s(b, V, n, r, l);
727
727
  }
728
728
  }
729
- return y ? (a || (a = new X()), Sl(e, t, n, r, s, a)) : !1;
729
+ return y ? (l || (l = new X()), Sa(e, t, n, r, s, l)) : !1;
730
730
  }
731
731
  function fn(e, t, n, r, s) {
732
- return e === t ? !0 : e == null || t == null || !ee(e) && !ee(t) ? e !== e && t !== t : Cl(e, t, n, r, fn, s);
732
+ return e === t ? !0 : e == null || t == null || !ee(e) && !ee(t) ? e !== e && t !== t : Ca(e, t, n, r, fn, s);
733
733
  }
734
734
  function Re(e, t) {
735
735
  return fn(e, t);
736
736
  }
737
- const Vl = /* @__PURE__ */ H({
737
+ const Va = /* @__PURE__ */ H({
738
738
  __name: "entry",
739
739
  props: {
740
740
  minHeight: {}
@@ -746,7 +746,7 @@ const Vl = /* @__PURE__ */ H({
746
746
  paddingRight: "4px",
747
747
  marginBottom: "1px",
748
748
  userSelect: "none"
749
- })), a = (d) => {
749
+ })), l = (d) => {
750
750
  Bt.emit("propTreeMenu", {
751
751
  x: d.clientX,
752
752
  y: d.clientY
@@ -757,7 +757,7 @@ const Vl = /* @__PURE__ */ H({
757
757
  return k((C(), W("div", {
758
758
  class: "d-flex justify-space-between align-center cursor-pointer",
759
759
  style: Ie(s.value),
760
- onContextmenu: j(a, ["prevent"]),
760
+ onContextmenu: j(l, ["prevent"]),
761
761
  onMouseover: f[0] || (f[0] = (c) => r.value = !0),
762
762
  onMouseout: f[1] || (f[1] = (c) => r.value = !1)
763
763
  }, [
@@ -767,10 +767,10 @@ const Vl = /* @__PURE__ */ H({
767
767
  ]);
768
768
  };
769
769
  }
770
- }), El = /* @__PURE__ */ H({
770
+ }), Ea = /* @__PURE__ */ H({
771
771
  __name: "menu",
772
772
  setup(e) {
773
- const { t } = Qe(), n = R(0), r = R(0), s = Y(() => [n.value, r.value]), a = (c) => {
773
+ const { t } = Qe(), n = R(0), r = R(0), s = Y(() => [n.value, r.value]), l = (c) => {
774
774
  const g = () => {
775
775
  console.log("reset");
776
776
  };
@@ -780,7 +780,7 @@ const Vl = /* @__PURE__ */ H({
780
780
  });
781
781
  }, d = Y(() => {
782
782
  const c = [];
783
- return a(c), c;
783
+ return l(c), c;
784
784
  }), f = (c) => {
785
785
  n.value = c.x, r.value = c.y;
786
786
  }, { open: p } = Rt("propTreeMenu", f);
@@ -820,7 +820,7 @@ const Vl = /* @__PURE__ */ H({
820
820
  };
821
821
  }
822
822
  });
823
- var Dl = "M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z", Ll = "M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z", ae = "M19,13H5V11H19V13Z", Ml = "M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z";
823
+ var Da = "M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z", La = "M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z", le = "M19,13H5V11H19V13Z", Ma = "M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z";
824
824
  const Oe = /* @__PURE__ */ H({
825
825
  __name: "title",
826
826
  props: {
@@ -832,8 +832,8 @@ const Oe = /* @__PURE__ */ H({
832
832
  },
833
833
  emits: ["collapse", "create", "delete"],
834
834
  setup(e, { emit: t }) {
835
- const { backgroundColor2: n, highlightColor: r } = ke(), s = t, a = R(!1), d = Y(() => ({
836
- background: a.value ? r.value : n.value,
835
+ const { backgroundColor2: n, highlightColor: r } = ke(), s = t, l = R(!1), d = Y(() => ({
836
+ background: l.value ? r.value : n.value,
837
837
  height: "36px",
838
838
  marginBottom: "1px",
839
839
  userSelect: "none"
@@ -852,25 +852,25 @@ const Oe = /* @__PURE__ */ H({
852
852
  style: Ie(d.value),
853
853
  onClick: f,
854
854
  onContextmenu: j(p, ["prevent"]),
855
- onMouseover: g[2] || (g[2] = ($) => a.value = !0),
856
- onMouseout: g[3] || (g[3] = ($) => a.value = !1)
855
+ onMouseover: g[2] || (g[2] = ($) => l.value = !0),
856
+ onMouseout: g[3] || (g[3] = ($) => l.value = !1)
857
857
  }, [
858
858
  M(h, {
859
859
  class: "mr-1",
860
- icon: c.collapse ? N(Ll) : N(Dl)
860
+ icon: c.collapse ? N(La) : N(Da)
861
861
  }, null, 8, ["icon"]),
862
862
  Ee("span", null, xe(c.title), 1),
863
863
  M(y),
864
864
  c.hasCreate ? (C(), U(h, {
865
865
  key: 0,
866
866
  class: "mx-3",
867
- icon: N(Ml),
867
+ icon: N(Ma),
868
868
  onClick: g[0] || (g[0] = j(($) => s("create"), ["stop"]))
869
869
  }, null, 8, ["icon"])) : Z("", !0),
870
870
  c.hasDelete ? (C(), U(h, {
871
871
  key: 1,
872
872
  class: "mx-3",
873
- icon: N(ae),
873
+ icon: N(le),
874
874
  onClick: g[1] || (g[1] = j(($) => s("delete", c.index), ["stop"]))
875
875
  }, null, 8, ["icon"])) : Z("", !0)
876
876
  ], 36)), [
@@ -878,37 +878,34 @@ const Oe = /* @__PURE__ */ H({
878
878
  ]);
879
879
  };
880
880
  }
881
- }), Mt = (e) => !(e instanceof Array), Ce = (e) => e instanceof Array, ot = (e) => !(e instanceof Array), Ue = (e) => e instanceof Array, Ul = [
881
+ }), Mt = (e) => !(e instanceof Array), Ce = (e) => e instanceof Array, ot = (e) => !(e instanceof Array), Ue = (e) => e instanceof Array, Ua = [
882
882
  ["basic", "id"],
883
883
  ["basic", "name"]
884
- ], xl = (e) => (Ul.forEach((t) => {
885
- if (Re(e, t))
886
- return !0;
887
- }), !1), He = (e, t, n, r, s, a, d) => (e = un(e), a !== void 0 ? (e.push(a), d && e.push(t.key)) : e.push(t.key), xl(e), t.ui ? t.array && a === void 0 ? Bl(
884
+ ], xa = (e) => Ua.find((t) => Re(e, t)), He = (e, t, n, r, s, l, d) => (e = un(e), l !== void 0 ? (e.push(l), d && e.push(t.key)) : e.push(t.key), xa(e) ? (r.change = !1, r.change) : t.ui ? t.array && l === void 0 ? Ba(
888
885
  e,
889
886
  t,
890
887
  n,
891
888
  r,
892
889
  s,
893
- a,
890
+ l,
894
891
  d
895
- ) : Rl(t, n, r, a, d) : t.array ? Nl(
892
+ ) : Ra(t, n, r, l, d) : t.array ? Na(
896
893
  e,
897
894
  t,
898
895
  n,
899
896
  r,
900
897
  s,
901
- a,
898
+ l,
902
899
  d
903
- ) : Fl(
900
+ ) : Fa(
904
901
  e,
905
902
  t,
906
903
  n,
907
904
  r,
908
905
  s,
909
- a,
906
+ l,
910
907
  d
911
- )), Nl = (e, t, n, r, s, a, d) => {
908
+ )), Na = (e, t, n, r, s, l, d) => {
912
909
  if (t.ui)
913
910
  return console.assert(!1, "execPropBranchArray prop ui must be invalid"), !1;
914
911
  if (!t.array)
@@ -916,7 +913,7 @@ const Oe = /* @__PURE__ */ H({
916
913
  if (!Ue(r.children))
917
914
  return console.assert(!1, "execPropBranchArray state children must be array"), !1;
918
915
  let f;
919
- a !== void 0 && !d ? (n[a] instanceof Array || (n[a] = L(t), s == null || s(e, n[a])), f = n[a]) : (n[t.key] instanceof Array || (n[t.key] = L(t), s == null || s(e, n[t.key])), f = n[t.key]), r.change = !1;
916
+ l !== void 0 && !d ? (n[l] instanceof Array || (n[l] = L(t), s == null || s(e, n[l])), f = n[l]) : (n[t.key] instanceof Array || (n[t.key] = L(t), s == null || s(e, n[t.key])), f = n[t.key]), r.change = !1;
920
917
  for (let p = 0; p < f.length; p++)
921
918
  r.children.push({
922
919
  change: !1,
@@ -945,7 +942,7 @@ const Oe = /* @__PURE__ */ H({
945
942
  ) && (g.change = !0), g.change && (r.change = !0);
946
943
  });
947
944
  return r.change || (r.change = !Re(f, L(t))), r.change;
948
- }, Fl = (e, t, n, r, s, a, d) => {
945
+ }, Fa = (e, t, n, r, s, l, d) => {
949
946
  if (t.ui)
950
947
  return console.assert(!1, "execPropBranchScalar prop ui must be invalid"), !1;
951
948
  if (t.array)
@@ -953,7 +950,7 @@ const Oe = /* @__PURE__ */ H({
953
950
  if (!ot(r.children))
954
951
  return console.assert(!1, "execPropBranchScalar state children must be map"), !1;
955
952
  let f;
956
- a !== void 0 && !d ? (n[a] || (n[a] = {}), f = n[a]) : (n[t.key] || (n[t.key] = {}), f = n[t.key]), r.change = !1;
953
+ l !== void 0 && !d ? (n[l] || (n[l] = {}), f = n[l]) : (n[t.key] || (n[t.key] = {}), f = n[t.key]), r.change = !1;
957
954
  for (let p = 0; p < t.children.length; p++) {
958
955
  const c = t.children[p];
959
956
  r.children[c.key] = {
@@ -962,7 +959,7 @@ const Oe = /* @__PURE__ */ H({
962
959
  }, He(e, c, f, r.children[c.key], s) && (r.change = !0);
963
960
  }
964
961
  return r.change;
965
- }, Bl = (e, t, n, r, s, a, d) => {
962
+ }, Ba = (e, t, n, r, s, l, d) => {
966
963
  if (!t.ui)
967
964
  return console.assert(!1, "execPropLeafArray prop ui must be valid"), !1;
968
965
  if (!t.array)
@@ -970,18 +967,18 @@ const Oe = /* @__PURE__ */ H({
970
967
  if (!Ue(r.children))
971
968
  return console.assert(!1, "execPropLeafArray state children must be array"), !1;
972
969
  let f;
973
- a !== void 0 && !d ? (n[a] instanceof Array || (n[a] = L(t), s == null || s(e, n[a])), f = n[a]) : (n[t.key] instanceof Array || (n[t.key] = L(t), s == null || s(e, n[t.key])), f = n[t.key]), r.change = !1;
970
+ l !== void 0 && !d ? (n[l] instanceof Array || (n[l] = L(t), s == null || s(e, n[l])), f = n[l]) : (n[t.key] instanceof Array || (n[t.key] = L(t), s == null || s(e, n[t.key])), f = n[t.key]), r.change = !1;
974
971
  for (let p = 0; p < f.length; p++)
975
972
  r.children[p] = {
976
973
  change: !1,
977
974
  children: {}
978
975
  }, He(e, t, f, r.children[p], s, p, !1) && (r.change = !0);
979
976
  return r.change || (r.change = !Re(f, L(t))), r.change;
980
- }, Rl = (e, t, n, r, s) => {
977
+ }, Ra = (e, t, n, r, s) => {
981
978
  if (!e.ui)
982
979
  return console.assert(!1, "execPropLeafScalar prop ui must be valid"), !1;
983
- let a;
984
- return r !== void 0 && !s ? a = t[r] : a = t[e.key], n.change = !Re(a, L(e, !0)), n.change;
980
+ let l;
981
+ return r !== void 0 && !s ? l = t[r] : l = t[e.key], n.change = !Re(l, L(e, !0)), n.change;
985
982
  }, Ut = (e, t, n) => {
986
983
  if (e.length <= 0 || !t)
987
984
  return {};
@@ -992,7 +989,7 @@ const Oe = /* @__PURE__ */ H({
992
989
  children: s.array ? [] : {}
993
990
  }, He([], s, t, r[s.key], n);
994
991
  }), r;
995
- }, Hl = { class: "d-flex justify-space-between align-center" }, jl = /* @__PURE__ */ H({
992
+ }, Ha = { class: "d-flex justify-space-between align-center" }, ja = /* @__PURE__ */ H({
996
993
  __name: "colorPicker",
997
994
  props: /* @__PURE__ */ F({
998
995
  hasDelete: { type: Boolean, default: !1 },
@@ -1008,12 +1005,12 @@ const Oe = /* @__PURE__ */ H({
1008
1005
  return e.hasDelete && (f = "calc(100% - 37px)"), {
1009
1006
  width: f
1010
1007
  };
1011
- }), a = Y(() => e.readonly), d = R("hexa");
1008
+ }), l = Y(() => e.readonly), d = R("hexa");
1012
1009
  return (f, p) => {
1013
1010
  const c = P("v-btn"), g = P("v-icon"), h = P("v-color-picker"), y = P("v-menu");
1014
1011
  return C(), U(y, { "close-on-content-click": !1 }, {
1015
1012
  activator: K(({ props: T }) => [
1016
- Ee("div", Hl, [
1013
+ Ee("div", Ha, [
1017
1014
  Ee("div", {
1018
1015
  style: Ie(s.value)
1019
1016
  }, [
@@ -1021,7 +1018,7 @@ const Oe = /* @__PURE__ */ H({
1021
1018
  density: "comfortable",
1022
1019
  color: n.value,
1023
1020
  block: "",
1024
- disabled: a.value
1021
+ disabled: l.value
1025
1022
  }), {
1026
1023
  default: K(() => [
1027
1024
  Je(xe(n.value), 1)
@@ -1032,7 +1029,7 @@ const Oe = /* @__PURE__ */ H({
1032
1029
  f.hasDelete ? (C(), U(g, {
1033
1030
  key: 0,
1034
1031
  class: "mx-2",
1035
- icon: N(ae),
1032
+ icon: N(le),
1036
1033
  onClick: p[0] || (p[0] = j(($) => r("delete"), ["stop"]))
1037
1034
  }, null, 8, ["icon"])) : Z("", !0)
1038
1035
  ])
@@ -1051,16 +1048,16 @@ const Oe = /* @__PURE__ */ H({
1051
1048
  });
1052
1049
  };
1053
1050
  }
1054
- }), Gl = /* @__PURE__ */ H({
1051
+ }), Ga = /* @__PURE__ */ H({
1055
1052
  __name: "compSelect",
1056
1053
  setup(e) {
1057
1054
  const t = Y(() => "<n/a>"), n = () => {
1058
1055
  }, { open: r } = Rt("compSelectDlg", n);
1059
- return (s, a) => {
1056
+ return (s, l) => {
1060
1057
  const d = P("v-btn"), f = P("v-dialog");
1061
1058
  return C(), U(f, {
1062
1059
  modelValue: N(r),
1063
- "onUpdate:modelValue": a[0] || (a[0] = (p) => xt(r) ? r.value = p : null)
1060
+ "onUpdate:modelValue": l[0] || (l[0] = (p) => xt(r) ? r.value = p : null)
1064
1061
  }, {
1065
1062
  activator: K(({ props: p }) => [
1066
1063
  M(d, Ft(p, {
@@ -1077,7 +1074,7 @@ const Oe = /* @__PURE__ */ H({
1077
1074
  }, 8, ["modelValue"]);
1078
1075
  };
1079
1076
  }
1080
- }), zl = { class: "d-flex justify-space-between align-center my-2" }, ql = /* @__PURE__ */ H({
1077
+ }), za = { class: "d-flex justify-space-between align-center my-2" }, qa = /* @__PURE__ */ H({
1081
1078
  __name: "multiTypes",
1082
1079
  props: /* @__PURE__ */ F({
1083
1080
  hasDelete: { type: Boolean, default: !1 },
@@ -1088,7 +1085,7 @@ const Oe = /* @__PURE__ */ H({
1088
1085
  }),
1089
1086
  emits: /* @__PURE__ */ F(["delete"], ["update:modelValue"]),
1090
1087
  setup(e, { emit: t }) {
1091
- const { t: n } = Qe(), r = de(e, "modelValue"), s = t, a = R(0), d = Y(() => {
1088
+ const { t: n } = Qe(), r = de(e, "modelValue"), s = t, l = R(0), d = Y(() => {
1092
1089
  const c = [];
1093
1090
  return e.types.forEach((g, h) => {
1094
1091
  c.push({
@@ -1097,8 +1094,8 @@ const Oe = /* @__PURE__ */ H({
1097
1094
  });
1098
1095
  }), c;
1099
1096
  });
1100
- e.types.some((c, g) => c.validator(r.value) ? (a.value = g, !0) : !1);
1101
- const f = Y(() => e.types[a.value]);
1097
+ e.types.some((c, g) => c.validator(r.value) ? (l.value = g, !0) : !1);
1098
+ const f = Y(() => e.types[l.value]);
1102
1099
  qe(f, (c) => {
1103
1100
  r.value = c.default;
1104
1101
  });
@@ -1109,11 +1106,11 @@ const Oe = /* @__PURE__ */ H({
1109
1106
  f.value.ui === "pixelInput" ? r.value = c + "px" : f.value.ui === "percentInput" && (r.value = c + "%");
1110
1107
  }), (c, g) => {
1111
1108
  const h = P("v-select"), y = P("v-number-input"), T = P("v-icon"), $ = fe("ripple");
1112
- return C(), W("div", zl, [
1109
+ return C(), W("div", za, [
1113
1110
  Ee("div", null, [
1114
1111
  k(M(h, {
1115
- modelValue: a.value,
1116
- "onUpdate:modelValue": g[0] || (g[0] = (b) => a.value = b),
1112
+ modelValue: l.value,
1113
+ "onUpdate:modelValue": g[0] || (g[0] = (b) => l.value = b),
1117
1114
  density: "compact",
1118
1115
  items: d.value,
1119
1116
  "hide-details": "",
@@ -1150,13 +1147,13 @@ const Oe = /* @__PURE__ */ H({
1150
1147
  c.hasDelete ? (C(), U(T, {
1151
1148
  key: 0,
1152
1149
  class: "mx-2",
1153
- icon: N(ae),
1150
+ icon: N(le),
1154
1151
  onClick: g[2] || (g[2] = j((b) => s("delete"), ["stop"]))
1155
1152
  }, null, 8, ["icon"])) : Z("", !0)
1156
1153
  ]);
1157
1154
  };
1158
1155
  }
1159
- }), Kl = { class: "d-flex justify-space-between align-center" }, Xl = /* @__PURE__ */ H({
1156
+ }), Ka = { class: "d-flex justify-space-between align-center" }, Xa = /* @__PURE__ */ H({
1160
1157
  __name: "numInput",
1161
1158
  props: /* @__PURE__ */ F({
1162
1159
  hasDelete: { type: Boolean, default: !1 },
@@ -1172,12 +1169,12 @@ const Oe = /* @__PURE__ */ H({
1172
1169
  emits: /* @__PURE__ */ F(["delete"], ["update:modelValue"]),
1173
1170
  setup(e, { emit: t }) {
1174
1171
  const n = de(e, "modelValue"), r = t;
1175
- return (s, a) => {
1172
+ return (s, l) => {
1176
1173
  const d = P("v-number-input"), f = P("v-icon"), p = fe("ripple");
1177
- return C(), W("div", Kl, [
1174
+ return C(), W("div", Ka, [
1178
1175
  k(M(d, {
1179
1176
  modelValue: n.value,
1180
- "onUpdate:modelValue": a[0] || (a[0] = (c) => n.value = c),
1177
+ "onUpdate:modelValue": l[0] || (l[0] = (c) => n.value = c),
1181
1178
  density: "compact",
1182
1179
  "control-variant": "stacked",
1183
1180
  precision: s.precision,
@@ -1198,13 +1195,13 @@ const Oe = /* @__PURE__ */ H({
1198
1195
  s.hasDelete ? (C(), U(f, {
1199
1196
  key: 0,
1200
1197
  class: "mx-2",
1201
- icon: N(ae),
1202
- onClick: a[1] || (a[1] = j((c) => r("delete"), ["stop"]))
1198
+ icon: N(le),
1199
+ onClick: l[1] || (l[1] = j((c) => r("delete"), ["stop"]))
1203
1200
  }, null, 8, ["icon"])) : Z("", !0)
1204
1201
  ]);
1205
1202
  };
1206
1203
  }
1207
- }), Yl = { class: "d-flex justify-space-between align-center" }, Zl = /* @__PURE__ */ H({
1204
+ }), Ya = { class: "d-flex justify-space-between align-center" }, Za = /* @__PURE__ */ H({
1208
1205
  __name: "select",
1209
1206
  props: /* @__PURE__ */ F({
1210
1207
  hasDelete: { type: Boolean, default: !1 },
@@ -1217,12 +1214,12 @@ const Oe = /* @__PURE__ */ H({
1217
1214
  emits: /* @__PURE__ */ F(["delete"], ["update:modelValue"]),
1218
1215
  setup(e, { emit: t }) {
1219
1216
  const n = de(e, "modelValue"), r = t;
1220
- return (s, a) => {
1217
+ return (s, l) => {
1221
1218
  const d = P("v-select"), f = P("v-icon"), p = fe("ripple");
1222
- return C(), W("div", Yl, [
1219
+ return C(), W("div", Ya, [
1223
1220
  k(M(d, {
1224
1221
  modelValue: n.value,
1225
- "onUpdate:modelValue": a[0] || (a[0] = (c) => n.value = c),
1222
+ "onUpdate:modelValue": l[0] || (l[0] = (c) => n.value = c),
1226
1223
  density: "compact",
1227
1224
  items: s.items,
1228
1225
  "hide-details": "",
@@ -1239,13 +1236,13 @@ const Oe = /* @__PURE__ */ H({
1239
1236
  s.hasDelete ? (C(), U(f, {
1240
1237
  key: 0,
1241
1238
  class: "mx-2",
1242
- icon: N(ae),
1243
- onClick: a[1] || (a[1] = j((c) => r("delete"), ["stop"]))
1239
+ icon: N(le),
1240
+ onClick: l[1] || (l[1] = j((c) => r("delete"), ["stop"]))
1244
1241
  }, null, 8, ["icon"])) : Z("", !0)
1245
1242
  ]);
1246
1243
  };
1247
1244
  }
1248
- }), Wl = { class: "d-flex justify-space-between align-center" }, Il = /* @__PURE__ */ H({
1245
+ }), Wa = { class: "d-flex justify-space-between align-center" }, Ia = /* @__PURE__ */ H({
1249
1246
  __name: "strInput",
1250
1247
  props: /* @__PURE__ */ F({
1251
1248
  hasDelete: { type: Boolean, default: !1 },
@@ -1257,12 +1254,12 @@ const Oe = /* @__PURE__ */ H({
1257
1254
  emits: /* @__PURE__ */ F(["delete"], ["update:modelValue"]),
1258
1255
  setup(e, { emit: t }) {
1259
1256
  const n = de(e, "modelValue"), r = t;
1260
- return (s, a) => {
1257
+ return (s, l) => {
1261
1258
  const d = P("v-text-field"), f = P("v-icon"), p = fe("ripple");
1262
- return C(), W("div", Wl, [
1259
+ return C(), W("div", Wa, [
1263
1260
  k(M(d, {
1264
1261
  modelValue: n.value,
1265
- "onUpdate:modelValue": a[0] || (a[0] = (c) => n.value = c),
1262
+ "onUpdate:modelValue": l[0] || (l[0] = (c) => n.value = c),
1266
1263
  density: "compact",
1267
1264
  "hide-details": "",
1268
1265
  "single-line": "",
@@ -1278,13 +1275,13 @@ const Oe = /* @__PURE__ */ H({
1278
1275
  s.hasDelete ? (C(), U(f, {
1279
1276
  key: 0,
1280
1277
  class: "mx-2",
1281
- icon: N(ae),
1282
- onClick: a[1] || (a[1] = j((c) => r("delete"), ["stop"]))
1278
+ icon: N(le),
1279
+ onClick: l[1] || (l[1] = j((c) => r("delete"), ["stop"]))
1283
1280
  }, null, 8, ["icon"])) : Z("", !0)
1284
1281
  ]);
1285
1282
  };
1286
1283
  }
1287
- }), Jl = { class: "d-flex justify-space-between align-center" }, Ql = /* @__PURE__ */ H({
1284
+ }), Ja = { class: "d-flex justify-space-between align-center" }, Qa = /* @__PURE__ */ H({
1288
1285
  __name: "switch",
1289
1286
  props: /* @__PURE__ */ F({
1290
1287
  hasDelete: { type: Boolean, default: !1 },
@@ -1296,12 +1293,12 @@ const Oe = /* @__PURE__ */ H({
1296
1293
  emits: /* @__PURE__ */ F(["delete"], ["update:modelValue"]),
1297
1294
  setup(e, { emit: t }) {
1298
1295
  const n = de(e, "modelValue"), r = t;
1299
- return (s, a) => {
1296
+ return (s, l) => {
1300
1297
  const d = P("v-switch"), f = P("v-icon");
1301
- return C(), W("div", Jl, [
1298
+ return C(), W("div", Ja, [
1302
1299
  M(d, {
1303
1300
  modelValue: n.value,
1304
- "onUpdate:modelValue": a[0] || (a[0] = (p) => n.value = p),
1301
+ "onUpdate:modelValue": l[0] || (l[0] = (p) => n.value = p),
1305
1302
  class: "ml-1",
1306
1303
  density: "compact",
1307
1304
  color: "primary",
@@ -1311,13 +1308,13 @@ const Oe = /* @__PURE__ */ H({
1311
1308
  s.hasDelete ? (C(), U(f, {
1312
1309
  key: 0,
1313
1310
  class: "mx-2",
1314
- icon: N(ae),
1315
- onClick: a[1] || (a[1] = j((p) => r("delete"), ["stop"]))
1311
+ icon: N(le),
1312
+ onClick: l[1] || (l[1] = j((p) => r("delete"), ["stop"]))
1316
1313
  }, null, 8, ["icon"])) : Z("", !0)
1317
1314
  ]);
1318
1315
  };
1319
1316
  }
1320
- }), kl = /* @__PURE__ */ H({
1317
+ }), ka = /* @__PURE__ */ H({
1321
1318
  __name: "index",
1322
1319
  props: {
1323
1320
  unique: {},
@@ -1326,7 +1323,7 @@ const Oe = /* @__PURE__ */ H({
1326
1323
  },
1327
1324
  emits: ["change"],
1328
1325
  setup(e, { emit: t }) {
1329
- const { t: n } = Qe(), { backgroundColor1: r } = ke(), s = e, a = t, d = R("20px"), f = R("56px"), p = R("200px"), c = An({}), g = R({});
1326
+ const { t: n } = Qe(), { backgroundColor1: r } = ke(), s = e, l = t, d = R("20px"), f = R("56px"), p = R("200px"), c = An({}), g = R({});
1330
1327
  qe(
1331
1328
  [() => s.config, () => s.object],
1332
1329
  () => {
@@ -1334,82 +1331,82 @@ const Oe = /* @__PURE__ */ H({
1334
1331
  s.config,
1335
1332
  s.object,
1336
1333
  (u, i) => {
1337
- a("change", u, i);
1334
+ l("change", u, i);
1338
1335
  }
1339
1336
  );
1340
1337
  },
1341
1338
  { immediate: !0 }
1342
1339
  );
1343
1340
  const h = (u) => {
1344
- let i, l = g.value;
1345
- return u.forEach((o) => {
1341
+ let i, o = g.value;
1342
+ return u.forEach((a) => {
1346
1343
  let v;
1347
- if (typeof o == "string" ? ot(l) && (v = l[o]) : Ue(l) && (v = l[o]), !v)
1344
+ if (typeof a == "string" ? ot(o) && (v = o[a]) : Ue(o) && (v = o[a]), !v)
1348
1345
  return console.assert(!1, `isPropChanged unpkg failed keys=${u}`), !1;
1349
- i = v, l = v.children;
1346
+ i = v, o = v.children;
1350
1347
  }), (i == null ? void 0 : i.change) ?? !1;
1351
1348
  }, y = (u, i) => {
1352
- g.value = Ut(s.config, s.object), a("change", u, i);
1353
- }, T = (u, i, l) => {
1354
- let o = n(i.name);
1355
- return h(u) && (o += " *"), _(
1356
- Vl,
1349
+ g.value = Ut(s.config, s.object), l("change", u, i);
1350
+ }, T = (u, i, o) => {
1351
+ let a = n(i.name);
1352
+ return h(u) && (a += " *"), _(
1353
+ Va,
1357
1354
  {
1358
1355
  minHeight: f.value
1359
1356
  },
1360
1357
  () => [
1361
- _("span", { class: "ml-1", innerHTML: o }),
1362
- _("div", { style: { width: p.value } }, l)
1358
+ _("span", { class: "ml-1", innerHTML: a }),
1359
+ _("div", { style: { width: p.value } }, o)
1363
1360
  ]
1364
1361
  );
1365
- }, $ = (u, i, l, o, v) => {
1362
+ }, $ = (u, i, o, a, v) => {
1366
1363
  if (i.ui !== "dummy")
1367
1364
  return console.assert(!1), _("div", "renderUiDummy prop ui must be dummy");
1368
- if (o !== void 0 && !v) {
1365
+ if (a !== void 0 && !v) {
1369
1366
  const m = L(i, !0);
1370
- typeof l[o] != typeof m && (l[o] = m, y(u, l[o]));
1367
+ typeof o[a] != typeof m && (o[a] = m, y(u, o[a]));
1371
1368
  } else {
1372
1369
  const m = L(i);
1373
- typeof l[i.key] != typeof m && (l[i.key] = m, y(u, l[i.key]));
1370
+ typeof o[i.key] != typeof m && (o[i.key] = m, y(u, o[i.key]));
1374
1371
  }
1375
- }, b = (u, i, l, o, v) => i.ui !== "strInput" ? (console.assert(!1), _("div", "renderUiStrInput prop ui must be strInput")) : _(Il, {
1376
- modelValue: i.static ? i.value : se(u, i, l, o, v),
1372
+ }, b = (u, i, o, a, v) => i.ui !== "strInput" ? (console.assert(!1), _("div", "renderUiStrInput prop ui must be strInput")) : _(Ia, {
1373
+ modelValue: i.static ? i.value : se(u, i, o, a, v),
1377
1374
  "onUpdate:modelValue": (m) => {
1378
- i.static || ue(u, i, l, m, o, v);
1375
+ i.static || ue(u, i, o, m, a, v);
1379
1376
  },
1380
- hasDelete: o !== void 0 && !v,
1377
+ hasDelete: a !== void 0 && !v,
1381
1378
  onDelete: () => {
1382
- o === void 0 || v || (l.splice(o, 1), y(u.slice(0, -1), l));
1379
+ a === void 0 || v || (o.splice(a, 1), y(u.slice(0, -1), o));
1383
1380
  },
1384
1381
  readonly: i.static || i.readonly
1385
- }), V = (u, i, l, o, v) => i.ui !== "numInput" ? (console.assert(!1), _("div", "renderUiNumInput prop ui must be numInput")) : _(Xl, {
1386
- modelValue: se(u, i, l, o, v),
1382
+ }), V = (u, i, o, a, v) => i.ui !== "numInput" ? (console.assert(!1), _("div", "renderUiNumInput prop ui must be numInput")) : _(Xa, {
1383
+ modelValue: se(u, i, o, a, v),
1387
1384
  "onUpdate:modelValue": (m) => {
1388
- ue(u, i, l, m, o, v);
1385
+ ue(u, i, o, m, a, v);
1389
1386
  },
1390
- hasDelete: o !== void 0 && !v,
1387
+ hasDelete: a !== void 0 && !v,
1391
1388
  onDelete: () => {
1392
- o === void 0 || v || (l.splice(o, 1), y(u.slice(0, -1), l));
1389
+ a === void 0 || v || (o.splice(a, 1), y(u.slice(0, -1), o));
1393
1390
  },
1394
1391
  readonly: i.readonly
1395
- }), E = (u, i, l, o, v) => i.ui !== "switch" ? (console.assert(!1), _("div", "renderUiSwitch prop ui must be switch")) : _(Ql, {
1396
- modelValue: se(u, i, l, o, v),
1392
+ }), D = (u, i, o, a, v) => i.ui !== "switch" ? (console.assert(!1), _("div", "renderUiSwitch prop ui must be switch")) : _(Qa, {
1393
+ modelValue: se(u, i, o, a, v),
1397
1394
  "onUpdate:modelValue": (m) => {
1398
- ue(u, i, l, m, o, v);
1395
+ ue(u, i, o, m, a, v);
1399
1396
  },
1400
- hasDelete: o !== void 0 && !v,
1397
+ hasDelete: a !== void 0 && !v,
1401
1398
  onDelete: () => {
1402
- o === void 0 || v || (l.splice(o, 1), y(u.slice(0, 1), l));
1399
+ a === void 0 || v || (o.splice(a, 1), y(u.slice(0, 1), o));
1403
1400
  },
1404
1401
  readonly: i.readonly
1405
- }), z = (u, i, l, o, v) => i.ui !== "select" ? (console.assert(!1), _("div", "renderUiSelect prop ui must be select")) : _(Zl, {
1406
- modelValue: se(u, i, l, o, v),
1402
+ }), z = (u, i, o, a, v) => i.ui !== "select" ? (console.assert(!1), _("div", "renderUiSelect prop ui must be select")) : _(Za, {
1403
+ modelValue: se(u, i, o, a, v),
1407
1404
  "onUpdate:modelValue": (m) => {
1408
- ue(u, i, l, m, o, v);
1405
+ ue(u, i, o, m, a, v);
1409
1406
  },
1410
- hasDelete: o !== void 0 && !v,
1407
+ hasDelete: a !== void 0 && !v,
1411
1408
  onDelete: () => {
1412
- o === void 0 || v || (l.splice(o, 1), y(u.slice(0, -1), l));
1409
+ a === void 0 || v || (o.splice(a, 1), y(u.slice(0, -1), o));
1413
1410
  },
1414
1411
  items: (() => {
1415
1412
  const m = [];
@@ -1421,60 +1418,60 @@ const Oe = /* @__PURE__ */ H({
1421
1418
  }), m;
1422
1419
  })(),
1423
1420
  readonly: i.readonly
1424
- }), be = (u, i, l, o, v) => i.ui !== "colorPicker" ? (console.assert(!1), _("div", "renderUiColorPicker prop ui must be colorPicker")) : _(jl, {
1425
- modelValue: se(u, i, l, o, v),
1421
+ }), be = (u, i, o, a, v) => i.ui !== "colorPicker" ? (console.assert(!1), _("div", "renderUiColorPicker prop ui must be colorPicker")) : _(ja, {
1422
+ modelValue: se(u, i, o, a, v),
1426
1423
  "onUpdate:modelValue": (m) => {
1427
- ue(u, i, l, m, o, v);
1424
+ ue(u, i, o, m, a, v);
1428
1425
  },
1429
- hasDelete: o !== void 0 && !v,
1426
+ hasDelete: a !== void 0 && !v,
1430
1427
  onDelete: () => {
1431
- o === void 0 || v || (l.splice(o, 1), y(u.slice(0, -1), l));
1428
+ a === void 0 || v || (o.splice(a, 1), y(u.slice(0, -1), o));
1432
1429
  },
1433
1430
  readonly: i.readonly
1434
- }), le = (u, i, l, o, v) => i.ui !== "multiTypes" ? (console.assert(!1), _("div", "renderUiMultiTypes prop ui must be multiTypes")) : _(ql, {
1435
- modelValue: se(u, i, l, o, v),
1431
+ }), ae = (u, i, o, a, v) => i.ui !== "multiTypes" ? (console.assert(!1), _("div", "renderUiMultiTypes prop ui must be multiTypes")) : _(qa, {
1432
+ modelValue: se(u, i, o, a, v),
1436
1433
  "onUpdate:modelValue": (m) => {
1437
- ue(u, i, l, m, o, v);
1434
+ ue(u, i, o, m, a, v);
1438
1435
  },
1439
- hasDelete: o !== void 0 && !v,
1436
+ hasDelete: a !== void 0 && !v,
1440
1437
  onDelete: () => {
1441
- o === void 0 || v || (l.splice(o, 1), y(u.slice(0, -1), l));
1438
+ a === void 0 || v || (o.splice(a, 1), y(u.slice(0, -1), o));
1442
1439
  },
1443
1440
  types: i.types
1444
- }), oe = (u, i, l, o, v) => i.ui !== "compSelect" ? (console.assert(!1), _("div", "renderUiCompSelect prop ui must be compSelect")) : (console.log(u, i, l, o, v), _(Gl, {})), se = (u, i, l, o, v) => {
1441
+ }), oe = (u, i, o, a, v) => i.ui !== "compSelect" ? (console.assert(!1), _("div", "renderUiCompSelect prop ui must be compSelect")) : (console.log(u, i, o, a, v), _(Ga, {})), se = (u, i, o, a, v) => {
1445
1442
  const m = L(i, !0);
1446
- return o !== void 0 && !v ? (typeof l[o] != typeof m && (l[o] = m, y(u, l[o])), l[o]) : (typeof l[i.key] != typeof m && (l[i.key] = m, y(u, l[i.key])), l[i.key]);
1447
- }, ue = (u, i, l, o, v, m) => {
1443
+ return a !== void 0 && !v ? (typeof o[a] != typeof m && (o[a] = m, y(u, o[a])), o[a]) : (typeof o[i.key] != typeof m && (o[i.key] = m, y(u, o[i.key])), o[i.key]);
1444
+ }, ue = (u, i, o, a, v, m) => {
1448
1445
  const O = L(i, !0);
1449
- if (typeof o != typeof O) {
1446
+ if (typeof a != typeof O) {
1450
1447
  console.assert(!1);
1451
1448
  return;
1452
1449
  }
1453
- v !== void 0 && !m ? o !== l[v] && (l[v] = o, y(u, l[v])) : o !== l[i.key] && (l[i.key] = o, y(u, l[i.key]));
1454
- }, Ae = (u, i, l, o, v, m) => (u = un(u), v !== void 0 ? (u.push(v), m && u.push(i.key)) : u.push(i.key), i.ui ? i.array && v === void 0 ? vn(u, i, l, o, v, m) : mn(u, i, l, v, m) : i.array ? dn(u, i, l, o, v, m) : pn(
1450
+ v !== void 0 && !m ? a !== o[v] && (o[v] = a, y(u, o[v])) : a !== o[i.key] && (o[i.key] = a, y(u, o[i.key]));
1451
+ }, Ae = (u, i, o, a, v, m) => (u = un(u), v !== void 0 ? (u.push(v), m && u.push(i.key)) : u.push(i.key), i.ui ? i.array && v === void 0 ? vn(u, i, o, a, v, m) : mn(u, i, o, v, m) : i.array ? dn(u, i, o, a, v, m) : pn(
1455
1452
  u,
1456
1453
  i,
1457
- l,
1458
1454
  o,
1455
+ a,
1459
1456
  v,
1460
1457
  m
1461
- )), dn = (u, i, l, o, v, m) => {
1458
+ )), dn = (u, i, o, a, v, m) => {
1462
1459
  if (i.ui)
1463
1460
  return console.assert(!1), _("div", "renderBranchArray prop ui must be invalid");
1464
1461
  if (!i.array)
1465
1462
  return console.assert(!1), _("div", "renderBranchArray prop array must be valid");
1466
- if (!o)
1463
+ if (!a)
1467
1464
  return console.assert(!1), _("div", "renderBranchArray branch must be valid");
1468
1465
  let O;
1469
- v !== void 0 && !m ? (l[v] instanceof Array || (l[v] = L(i), y(u, l[i.key])), O = l[v]) : (l[i.key] instanceof Array || (l[i.key] = L(i), y(u, l[i.key])), O = l[i.key]);
1466
+ v !== void 0 && !m ? (o[v] instanceof Array || (o[v] = L(i), y(u, o[i.key])), O = o[v]) : (o[i.key] instanceof Array || (o[i.key] = L(i), y(u, o[i.key])), O = o[i.key]);
1470
1467
  let q = n(i.name);
1471
- h(u) && (q += " *");
1468
+ a.collapse && h(u) && (q += " *");
1472
1469
  const pe = _(Oe, {
1473
1470
  title: q,
1474
- collapse: o.collapse,
1471
+ collapse: a.collapse,
1475
1472
  hasCreate: !0,
1476
1473
  onCollapse: (w) => {
1477
- o.collapse = w;
1474
+ a.collapse = w;
1478
1475
  },
1479
1476
  onCreate: () => {
1480
1477
  O.push({}), y(u, O);
@@ -1488,35 +1485,35 @@ const Oe = /* @__PURE__ */ H({
1488
1485
  },
1489
1486
  (() => {
1490
1487
  const w = [];
1491
- for (let D = 0; D < O.length; D++) {
1492
- if (!Ce(o.children)) {
1488
+ for (let E = 0; E < O.length; E++) {
1489
+ if (!Ce(a.children)) {
1493
1490
  console.assert(!1);
1494
1491
  break;
1495
1492
  }
1496
- o.children[D] || o.children.push({
1493
+ a.children[E] || a.children.push({
1497
1494
  collapse: !0,
1498
1495
  children: {}
1499
1496
  });
1500
1497
  let we = n("x-prop-tree.entry");
1501
- h([...u, D]) && (we += " *");
1498
+ a.children[E].collapse && h([...u, E]) && (we += " *");
1502
1499
  const yn = _(Oe, {
1503
1500
  title: we,
1504
- collapse: o.children[D].collapse,
1501
+ collapse: a.children[E].collapse,
1505
1502
  hasDelete: !0,
1506
- index: D,
1503
+ index: E,
1507
1504
  onCollapse: (Q) => {
1508
- if (!Ce(o.children)) {
1505
+ if (!Ce(a.children)) {
1509
1506
  console.assert(!1);
1510
1507
  return;
1511
1508
  }
1512
- o.children[D].collapse = Q;
1509
+ a.children[E].collapse = Q;
1513
1510
  },
1514
1511
  onDelete: (Q) => {
1515
- if (!Ce(o.children)) {
1512
+ if (!Ce(a.children)) {
1516
1513
  console.assert(!1);
1517
1514
  return;
1518
1515
  }
1519
- o.children.splice(Q, 1), O.splice(Q, 1), y(u, O);
1516
+ a.children.splice(Q, 1), O.splice(Q, 1), y(u, O);
1520
1517
  }
1521
1518
  });
1522
1519
  w.push(yn);
@@ -1530,11 +1527,11 @@ const Oe = /* @__PURE__ */ H({
1530
1527
  (() => {
1531
1528
  const Q = [];
1532
1529
  return i.children.forEach((ve) => {
1533
- if (!Ce(o.children)) {
1530
+ if (!Ce(a.children)) {
1534
1531
  console.assert(!1);
1535
1532
  return;
1536
1533
  }
1537
- const Se = o.children[D];
1534
+ const Se = a.children[E];
1538
1535
  if (!Mt(Se.children)) {
1539
1536
  console.assert(!1);
1540
1537
  return;
@@ -1546,16 +1543,16 @@ const Oe = /* @__PURE__ */ H({
1546
1543
  const hn = Ae(
1547
1544
  u,
1548
1545
  ve,
1549
- O[D],
1546
+ O[E],
1550
1547
  Se.children[ve.key],
1551
- D,
1548
+ E,
1552
1549
  !0
1553
1550
  );
1554
1551
  Q.push(hn);
1555
1552
  }), Q;
1556
1553
  })()
1557
1554
  );
1558
- o.children[D].collapse || w.push(_n);
1555
+ a.children[E].collapse || w.push(_n);
1559
1556
  }
1560
1557
  return w;
1561
1558
  })()
@@ -1569,27 +1566,27 @@ const Oe = /* @__PURE__ */ H({
1569
1566
  },
1570
1567
  (() => {
1571
1568
  const w = [];
1572
- return w.push(pe), o.collapse || w.push(x), w;
1569
+ return w.push(pe), a.collapse || w.push(x), w;
1573
1570
  })()
1574
1571
  );
1575
- }, pn = (u, i, l, o, v, m) => {
1572
+ }, pn = (u, i, o, a, v, m) => {
1576
1573
  if (i.ui)
1577
1574
  return console.assert(!1), _("div", "renderBranchScalar prop ui must be invalid");
1578
1575
  if (i.array)
1579
1576
  return console.assert(!1), _("div", "renderBranchScalar prop array must be invalid");
1580
- if (!o)
1577
+ if (!a)
1581
1578
  return console.assert(!1), _("div", "renderBranchScalar branch must be valid");
1582
1579
  let O = n(i.name);
1583
- h(u) && (O += " *");
1580
+ a.collapse && h(u) && (O += " *");
1584
1581
  const q = _(Oe, {
1585
1582
  title: O,
1586
- collapse: o.collapse,
1583
+ collapse: a.collapse,
1587
1584
  onCollapse: (x) => {
1588
- o.collapse = x;
1585
+ a.collapse = x;
1589
1586
  },
1590
1587
  hasDelete: v !== void 0 && !m,
1591
1588
  onDelete: () => {
1592
- v === void 0 || m || (l.splice(v, 1), y(u.slice(0, -1), l));
1589
+ v === void 0 || m || (o.splice(v, 1), y(u.slice(0, -1), o));
1593
1590
  }
1594
1591
  }), pe = _(
1595
1592
  "div",
@@ -1601,21 +1598,21 @@ const Oe = /* @__PURE__ */ H({
1601
1598
  (() => {
1602
1599
  const x = [];
1603
1600
  return i.children.forEach((w) => {
1604
- if (!Mt(o.children)) {
1601
+ if (!Mt(a.children)) {
1605
1602
  console.assert(!1);
1606
1603
  return;
1607
1604
  }
1608
- o.children[w.key] || (o.children[w.key] = {
1605
+ a.children[w.key] || (a.children[w.key] = {
1609
1606
  collapse: !0,
1610
1607
  children: !w.ui && w.array ? [] : {}
1611
1608
  });
1612
- const D = Ae(
1609
+ const E = Ae(
1613
1610
  u,
1614
1611
  w,
1615
- (typeof l[i.key] != "object" && (l[i.key] = {}, y(u, l[i.key])), l[i.key]),
1616
- o.children[w.key]
1612
+ (typeof o[i.key] != "object" && (o[i.key] = {}, y(u, o[i.key])), o[i.key]),
1613
+ a.children[w.key]
1617
1614
  );
1618
- x.push(D);
1615
+ x.push(E);
1619
1616
  }), x;
1620
1617
  })()
1621
1618
  );
@@ -1628,26 +1625,26 @@ const Oe = /* @__PURE__ */ H({
1628
1625
  },
1629
1626
  (() => {
1630
1627
  const x = [];
1631
- return x.push(q), o.collapse || x.push(pe), x;
1628
+ return x.push(q), a.collapse || x.push(pe), x;
1632
1629
  })()
1633
1630
  );
1634
- }, vn = (u, i, l, o, v, m) => {
1631
+ }, vn = (u, i, o, a, v, m) => {
1635
1632
  if (!i.ui)
1636
1633
  return console.assert(!1), _("div", "renderLeafArray prop ui must be valid");
1637
1634
  if (!i.array)
1638
1635
  return console.assert(!1), _("div", "renderLeafArray prop array must be valid");
1639
- if (!o)
1636
+ if (!a)
1640
1637
  return console.assert(!1), _("div", "renderLeafArray branch must be valid");
1641
1638
  let O;
1642
- v !== void 0 && !m ? (l[v] instanceof Array || (l[v] = L(i), y(u, l[v])), O = l[v]) : (l[i.key] instanceof Array || (l[i.key] = L(i), y(u, l[i.key])), O = l[i.key]);
1639
+ v !== void 0 && !m ? (o[v] instanceof Array || (o[v] = L(i), y(u, o[v])), O = o[v]) : (o[i.key] instanceof Array || (o[i.key] = L(i), y(u, o[i.key])), O = o[i.key]);
1643
1640
  let q = n(i.name);
1644
- h(u) && (q += " *");
1641
+ a.collapse && h(u) && (q += " *");
1645
1642
  const pe = _(Oe, {
1646
1643
  title: q,
1647
- collapse: o.collapse,
1644
+ collapse: a.collapse,
1648
1645
  hasCreate: !0,
1649
1646
  onCollapse: (w) => {
1650
- o.collapse = w;
1647
+ a.collapse = w;
1651
1648
  },
1652
1649
  onCreate: () => {
1653
1650
  O.push(L(i, !0)), y(u, O);
@@ -1661,8 +1658,8 @@ const Oe = /* @__PURE__ */ H({
1661
1658
  },
1662
1659
  (() => {
1663
1660
  const w = [];
1664
- for (let D = 0; D < O.length; D++) {
1665
- const we = Ae(u, i, O, void 0, D, !1);
1661
+ for (let E = 0; E < O.length; E++) {
1662
+ const we = Ae(u, i, O, void 0, E, !1);
1666
1663
  w.push(we);
1667
1664
  }
1668
1665
  return w;
@@ -1677,14 +1674,14 @@ const Oe = /* @__PURE__ */ H({
1677
1674
  },
1678
1675
  (() => {
1679
1676
  const w = [];
1680
- return w.push(pe), o.collapse || w.push(x), w;
1677
+ return w.push(pe), a.collapse || w.push(x), w;
1681
1678
  })()
1682
1679
  );
1683
- }, mn = (u, i, l, o, v) => {
1680
+ }, mn = (u, i, o, a, v) => {
1684
1681
  if (!i.ui)
1685
1682
  return console.assert(!1), _("div", "renderLeafScalar prop ui must be valid");
1686
1683
  let m;
1687
- return i.ui === "dummy" ? m = $(u, i, l, o, v) : i.ui === "strInput" ? m = b(u, i, l, o, v) : i.ui === "numInput" ? m = V(u, i, l, o, v) : i.ui === "switch" ? m = E(u, i, l, o, v) : i.ui === "select" ? m = z(u, i, l, o, v) : i.ui === "colorPicker" ? m = be(u, i, l, o, v) : i.ui === "multiTypes" ? m = le(u, i, l, o, v) : i.ui === "compSelect" ? m = oe(u, i, l, o, v) : console.assert(!1, "renderLeafScalar not implemented"), T(u, i, m ? [m] : []);
1684
+ return i.ui === "dummy" ? m = $(u, i, o, a, v) : i.ui === "strInput" ? m = b(u, i, o, a, v) : i.ui === "numInput" ? m = V(u, i, o, a, v) : i.ui === "switch" ? m = D(u, i, o, a, v) : i.ui === "select" ? m = z(u, i, o, a, v) : i.ui === "colorPicker" ? m = be(u, i, o, a, v) : i.ui === "multiTypes" ? m = ae(u, i, o, a, v) : i.ui === "compSelect" ? m = oe(u, i, o, a, v) : console.assert(!1, "renderLeafScalar not implemented"), T(u, i, m ? [m] : []);
1688
1685
  }, gn = () => _(
1689
1686
  "div",
1690
1687
  {
@@ -1698,13 +1695,13 @@ const Oe = /* @__PURE__ */ H({
1698
1695
  if (s.unique && s.config.length > 0 && s.object) {
1699
1696
  c[s.unique] || (c[s.unique] = {});
1700
1697
  const i = c[s.unique];
1701
- s.config.forEach((l) => {
1702
- i[l.key] || (i[l.key] = {
1698
+ s.config.forEach((o) => {
1699
+ i[o.key] || (i[o.key] = {
1703
1700
  collapse: !0,
1704
- children: !l.ui && l.array ? [] : {}
1701
+ children: !o.ui && o.array ? [] : {}
1705
1702
  });
1706
- const o = Ae([], l, s.object, i[l.key]);
1707
- u.push(o);
1703
+ const a = Ae([], o, s.object, i[o.key]);
1704
+ u.push(a);
1708
1705
  });
1709
1706
  }
1710
1707
  return u;
@@ -1712,16 +1709,16 @@ const Oe = /* @__PURE__ */ H({
1712
1709
  );
1713
1710
  return (u, i) => (C(), W(Nt, null, [
1714
1711
  M(gn),
1715
- M(El)
1712
+ M(Ea)
1716
1713
  ], 64));
1717
1714
  }
1718
1715
  }), eo = (e) => {
1719
- e.component("XPropTree", kl);
1716
+ e.component("XPropTree", ka);
1720
1717
  }, to = (e, t, n) => {
1721
1718
  const r = e[t];
1722
- return r ? typeof r == "function" ? r() : Promise.resolve(r) : new Promise((s, a) => {
1719
+ return r ? typeof r == "function" ? r() : Promise.resolve(r) : new Promise((s, l) => {
1723
1720
  (typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(
1724
- a.bind(
1721
+ l.bind(
1725
1722
  null,
1726
1723
  new Error(
1727
1724
  "Unknown variable dynamic import: " + t + (t.split("/").length !== n ? ". Note that variables only represent file names one level deep." : "")
@@ -1730,11 +1727,11 @@ const Oe = /* @__PURE__ */ H({
1730
1727
  );
1731
1728
  });
1732
1729
  };
1733
- async function lo(e) {
1730
+ async function ao(e) {
1734
1731
  return (await to(/* @__PURE__ */ Object.assign({ "./locales/en/index.ts": () => import("./i18n-en-g17k76yy.js"), "./locales/zhHans/index.ts": () => import("./i18n-zhHans-f1nv26or.js") }), `./locales/${e}/index.ts`, 4)).default;
1735
1732
  }
1736
1733
  const oo = { install: eo };
1737
1734
  export {
1738
1735
  oo as default,
1739
- lo as loadLocaleMessagePropTree
1736
+ ao as loadLocaleMessagePropTree
1740
1737
  };