x-prop-tree 0.6.15 → 0.6.17

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 +385 -372
  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 R, computed as k, resolveComponent as M, createBlock as F, openBlock as w, unref as E, isRef as Fe, withCtx as J, createVNode as B, createElementBlock as H, Fragment as He, renderList as Ht, createTextVNode as at, toDisplayString as ne, resolveDirective as ae, withDirectives as re, withModifiers as q, normalizeStyle as le, createElementVNode as z, createCommentVNode as I, renderSlot as jn, h as _, mergeModels as X, useModel as oe, useId as Gt, onUnmounted as Kt, withKeys as En, mergeProps as qt, watchEffect as mt, watch as Oe, reactive as Nn, onMounted as Bn, onBeforeUnmount as Rn } 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 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 q, normalizeStyle as le, createElementVNode as z, 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 qt, watchEffect as mt, watch as Oe, reactive as En, onMounted as Nn, onBeforeUnmount as Bn } from "vue";
2
2
  import { useI18n as ue } from "vue-i18n";
3
- import { useViewStack as ut, useColor as we, eventBus as _e, useSystem as kn } from "x-essential-lib";
4
- import { getPropDefault as N, pkgs as zt, parsePixelStr as Fn, parsePercentStr as Hn } from "x-runtime-lib";
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 zt, 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, qn = typeof self == "object" && self && self.Object === Object && self, Y = It || qn || Function("return this")(), se = Y.Symbol, Xt = Object.prototype, zn = Xt.hasOwnProperty, In = Xt.toString, Ce = se ? se.toStringTag : void 0;
@@ -19,14 +19,14 @@ 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";
28
28
  }
29
- var Ve = Array.isArray;
29
+ var Me = Array.isArray;
30
30
  function ze(e) {
31
31
  var t = typeof e;
32
32
  return e != null && (t == "object" || t == "function");
@@ -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;
@@ -141,17 +141,17 @@ var xr = "[object Arguments]";
141
141
  function bt(e) {
142
142
  return de(e) && Le(e) == xr;
143
143
  }
144
- var Yt = Object.prototype, Vr = Yt.hasOwnProperty, Mr = Yt.propertyIsEnumerable, Ur = bt(/* @__PURE__ */ function() {
144
+ var Yt = Object.prototype, Mr = Yt.hasOwnProperty, Vr = Yt.propertyIsEnumerable, Ur = bt(/* @__PURE__ */ function() {
145
145
  return arguments;
146
146
  }()) ? bt : function(e) {
147
- return de(e) && Vr.call(e, "callee") && !Mr.call(e, "callee");
147
+ return de(e) && Mr.call(e, "callee") && !Vr.call(e, "callee");
148
148
  };
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, Er = "[object Arguments]", Nr = "[object Array]", Br = "[object Boolean]", Rr = "[object Date]", kr = "[object Error]", Fr = "[object Function]", Hr = "[object Map]", Gr = "[object Number]", Kr = "[object Object]", qr = "[object RegExp]", zr = "[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, 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]", qr = "[object RegExp]", zr = "[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[Er] = U[Nr] = U[Zr] = U[Br] = U[Jr] = U[Rr] = U[kr] = U[Fr] = U[Hr] = U[Gr] = U[Kr] = U[qr] = U[zr] = U[Ir] = U[Xr] = !1;
154
+ U[kr] = U[Er] = U[Zr] = U[Nr] = U[Jr] = U[Br] = U[Rr] = U[Fr] = U[Hr] = U[Gr] = U[Kr] = U[qr] = U[zr] = U[Ir] = U[Xr] = !1;
155
155
  function lo(e) {
156
156
  return de(e) && Jt(e.length) && !!U[Le(e)];
157
157
  }
@@ -168,14 +168,14 @@ var en = typeof exports == "object" && exports && !exports.nodeType && exports,
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 = Ve(e), r = !n && Ur(e), i = !n && !r && Ge(e), o = !n && !r && !i && tn(e), l = n || r || i || o, u = l ? Or(e.length, String) : [], a = u.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 ? Or(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.
175
175
  i && (s == "offset" || s == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
176
176
  o && (s == "buffer" || s == "byteLength" || s == "byteOffset") || // Skip index properties.
177
- br(s, a))) && u.push(s);
178
- return u;
177
+ br(s, u))) && a.push(s);
178
+ return a;
179
179
  }
180
180
  function nn(e, t) {
181
181
  return function(n) {
@@ -191,12 +191,12 @@ 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
- var Me = me(Object, "create");
198
- function yo() {
199
- this.__data__ = Me ? Me(null) : {}, this.size = 0;
197
+ var Ve = me(Object, "create");
198
+ function go() {
199
+ this.__data__ = Ve ? Ve(null) : {}, this.size = 0;
200
200
  }
201
201
  function ho(e) {
202
202
  var t = this.has(e) && delete this.__data__[e];
@@ -205,7 +205,7 @@ function ho(e) {
205
205
  var _o = "__lodash_hash_undefined__", bo = Object.prototype, $o = bo.hasOwnProperty;
206
206
  function To(e) {
207
207
  var t = this.__data__;
208
- if (Me) {
208
+ if (Ve) {
209
209
  var n = t[e];
210
210
  return n === _o ? void 0 : n;
211
211
  }
@@ -214,12 +214,12 @@ function To(e) {
214
214
  var So = Object.prototype, wo = So.hasOwnProperty;
215
215
  function Ao(e) {
216
216
  var t = this.__data__;
217
- return Me ? t[e] !== void 0 : wo.call(t, e);
217
+ return Ve ? t[e] !== void 0 : wo.call(t, e);
218
218
  }
219
219
  var Co = "__lodash_hash_undefined__";
220
220
  function Po(e, t) {
221
221
  var n = this.__data__;
222
- return this.size += this.has(e) ? 0 : 1, n[e] = Me && t === void 0 ? Co : t, this;
222
+ return this.size += this.has(e) ? 0 : 1, n[e] = Ve && t === void 0 ? Co : t, this;
223
223
  }
224
224
  function pe(e) {
225
225
  var t = -1, n = e == null ? 0 : e.length;
@@ -228,7 +228,7 @@ 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;
@@ -242,13 +242,13 @@ function Ie(e, t) {
242
242
  return n;
243
243
  return -1;
244
244
  }
245
- var xo = Array.prototype, Vo = xo.splice;
246
- function Mo(e) {
245
+ var xo = Array.prototype, Mo = xo.splice;
246
+ function Vo(e) {
247
247
  var t = this.__data__, n = Ie(t, e);
248
248
  if (n < 0)
249
249
  return !1;
250
250
  var r = t.length - 1;
251
- return n == r ? t.pop() : Vo.call(t, n, 1), --this.size, !0;
251
+ return n == r ? t.pop() : Mo.call(t, n, 1), --this.size, !0;
252
252
  }
253
253
  function Uo(e) {
254
254
  var t = this.__data__, n = Ie(t, e);
@@ -269,7 +269,7 @@ function ie(e) {
269
269
  }
270
270
  }
271
271
  ie.prototype.clear = Oo;
272
- ie.prototype.delete = Mo;
272
+ ie.prototype.delete = Vo;
273
273
  ie.prototype.get = Uo;
274
274
  ie.prototype.has = Lo;
275
275
  ie.prototype.set = Do;
@@ -281,40 +281,40 @@ function jo() {
281
281
  string: new pe()
282
282
  };
283
283
  }
284
- function Eo(e) {
284
+ function ko(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 Eo(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
290
+ return ko(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
291
291
  }
292
- function No(e) {
292
+ function Eo(e) {
293
293
  var t = Xe(this, e).delete(e);
294
294
  return this.size -= t ? 1 : 0, t;
295
295
  }
296
- function Bo(e) {
296
+ function No(e) {
297
297
  return Xe(this, e).get(e);
298
298
  }
299
- function Ro(e) {
299
+ function Bo(e) {
300
300
  return Xe(this, e).has(e);
301
301
  }
302
- function ko(e, t) {
302
+ 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 = No;
315
- ge.prototype.get = Bo;
316
- ge.prototype.has = Ro;
317
- ge.prototype.set = ko;
313
+ ye.prototype.clear = jo;
314
+ ye.prototype.delete = Eo;
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
  }
@@ -376,18 +376,18 @@ var Qo = Object.prototype, ei = Qo.propertyIsEnumerable, Ct = Object.getOwnPrope
376
376
  } : Yo;
377
377
  function ni(e, t, n) {
378
378
  var r = t(e);
379
- return Ve(e) ? r : Fo(r, n(e));
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]", Vt = "[object WeakMap]", Mt = "[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))) != Mt || Ue && Z(new Ue()) != Pt || lt && Z(lt.resolve()) != Ot || st && Z(new st()) != xt || rt && Z(new rt()) != Vt) && (Z = function(e) {
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) {
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) {
389
389
  case oi:
390
- return Mt;
390
+ return Vt;
391
391
  case ii:
392
392
  return Pt;
393
393
  case li:
@@ -395,7 +395,7 @@ var it = me(Y, "DataView"), lt = me(Y, "Promise"), st = me(Y, "Set"), Pt = "[obj
395
395
  case si:
396
396
  return xt;
397
397
  case ai:
398
- return Vt;
398
+ return Mt;
399
399
  }
400
400
  return t;
401
401
  });
@@ -422,17 +422,17 @@ 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]", Vi = "[object Int16Array]", Mi = "[object Int32Array]", Ui = "[object Uint8Array]", Li = "[object Uint8ClampedArray]", Di = "[object Uint16Array]", ji = "[object Uint32Array]";
430
- function Ei(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]", 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) {
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:
@@ -440,13 +440,13 @@ function Ei(e, t, n) {
440
440
  case Pi:
441
441
  case Oi:
442
442
  case xi:
443
- case Vi:
444
443
  case Mi:
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,39 +460,39 @@ function Ei(e, t, n) {
460
460
  return mi(e);
461
461
  }
462
462
  }
463
- function Ni(e) {
464
- return typeof e.constructor == "function" && !Wt(e) ? gr(Ho(e)) : {};
463
+ function Ei(e) {
464
+ return typeof e.constructor == "function" && !Wt(e) ? yr(Ho(e)) : {};
465
465
  }
466
- var Bi = "[object Map]";
467
- function Ri(e) {
468
- return de(e) && Z(e) == Bi;
466
+ var Ni = "[object Map]";
467
+ function Bi(e) {
468
+ return de(e) && Z(e) == Ni;
469
469
  }
470
- var Dt = $e && $e.isMap, ki = Dt ? ft(Dt) : Ri, Fi = "[object Set]";
470
+ var Dt = $e && $e.isMap, Ri = Dt ? ft(Dt) : Bi, Fi = "[object Set]";
471
471
  function Hi(e) {
472
472
  return de(e) && Z(e) == Fi;
473
473
  }
474
- var jt = $e && $e.isSet, Gi = jt ? ft(jt) : Hi, on = "[object Arguments]", Ki = "[object Array]", qi = "[object Boolean]", zi = "[object Date]", Ii = "[object Error]", ln = "[object Function]", Xi = "[object GeneratorFunction]", Zi = "[object Map]", Ji = "[object Number]", sn = "[object Object]", Wi = "[object RegExp]", Yi = "[object Set]", Qi = "[object String]", el = "[object Symbol]", tl = "[object WeakMap]", nl = "[object ArrayBuffer]", rl = "[object DataView]", ol = "[object Float32Array]", il = "[object Float64Array]", ll = "[object Int8Array]", sl = "[object Int16Array]", al = "[object Int32Array]", ul = "[object Uint8Array]", cl = "[object Uint8ClampedArray]", fl = "[object Uint16Array]", dl = "[object Uint32Array]", V = {};
475
- V[on] = V[Ki] = V[nl] = V[rl] = V[qi] = V[zi] = V[ol] = V[il] = V[ll] = V[sl] = V[al] = V[Zi] = V[Ji] = V[sn] = V[Wi] = V[Yi] = V[Qi] = V[el] = V[ul] = V[cl] = V[fl] = V[dl] = !0;
476
- V[Ii] = V[ln] = V[tl] = !1;
477
- function ke(e, t, n, r, i, o) {
474
+ var jt = $e && $e.isSet, Gi = jt ? ft(jt) : Hi, on = "[object Arguments]", Ki = "[object Array]", qi = "[object Boolean]", zi = "[object Date]", Ii = "[object Error]", ln = "[object Function]", Xi = "[object GeneratorFunction]", Zi = "[object Map]", Ji = "[object Number]", sn = "[object Object]", Wi = "[object RegExp]", Yi = "[object Set]", Qi = "[object String]", el = "[object Symbol]", tl = "[object WeakMap]", nl = "[object ArrayBuffer]", rl = "[object DataView]", ol = "[object Float32Array]", il = "[object Float64Array]", ll = "[object Int8Array]", sl = "[object Int16Array]", al = "[object Int32Array]", ul = "[object Uint8Array]", cl = "[object Uint8ClampedArray]", fl = "[object Uint16Array]", dl = "[object Uint32Array]", M = {};
475
+ M[on] = M[Ki] = M[nl] = M[rl] = M[qi] = M[zi] = M[ol] = M[il] = M[ll] = M[sl] = M[al] = M[Zi] = M[Ji] = M[sn] = M[Wi] = M[Yi] = M[Qi] = M[el] = M[ul] = M[cl] = M[fl] = M[dl] = !0;
476
+ M[Ii] = M[ln] = M[tl] = !1;
477
+ function Re(e, t, n, r, i, o) {
478
478
  var l;
479
479
  if (l !== void 0)
480
480
  return l;
481
481
  if (!ze(e))
482
482
  return e;
483
- var u = Ve(e);
484
- if (u)
483
+ var a = Me(e);
484
+ if (a)
485
485
  l = fi(e);
486
486
  else {
487
- var a = Z(e), s = a == ln || a == Xi;
487
+ var u = Z(e), s = u == ln || u == Xi;
488
488
  if (Ge(e))
489
489
  return Jo(e);
490
- if (a == sn || a == on || s && !i)
491
- l = s ? {} : Ni(e);
490
+ if (u == sn || u == on || s && !i)
491
+ l = s ? {} : Ei(e);
492
492
  else {
493
- if (!V[a])
493
+ if (!M[u])
494
494
  return i ? e : {};
495
- l = Ei(e, a);
495
+ l = ki(e, u);
496
496
  }
497
497
  }
498
498
  o || (o = new te());
@@ -500,33 +500,33 @@ function ke(e, t, n, r, i, o) {
500
500
  if (v)
501
501
  return v;
502
502
  o.set(e, l), Gi(e) ? e.forEach(function(p) {
503
- l.add(ke(p, t, n, p, e, o));
504
- }) : ki(e) && e.forEach(function(p, h) {
505
- l.set(h, ke(p, t, n, h, e, o));
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));
506
506
  });
507
- var d = ot, f = u ? void 0 : d(e);
508
- return yr(f || e, function(p, h) {
509
- f && (h = p, p = e[h]), wr(l, h, ke(p, t, n, h, e, o));
507
+ var d = ot, f = a ? void 0 : d(e);
508
+ return gr(f || e, function(p, h) {
509
+ f && (h = p, p = e[h]), wr(l, h, Re(p, t, n, h, e, o));
510
510
  }), l;
511
511
  }
512
512
  var pl = 1, vl = 4;
513
513
  function an(e) {
514
- return ke(e, pl | vl);
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 qe(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
- qe.prototype.add = qe.prototype.push = gl;
529
- qe.prototype.has = yl;
528
+ qe.prototype.add = qe.prototype.push = yl;
529
+ qe.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))
@@ -538,14 +538,14 @@ function _l(e, t) {
538
538
  }
539
539
  var bl = 1, $l = 2;
540
540
  function un(e, t, n, r, i, o) {
541
- var l = n & bl, u = e.length, a = t.length;
542
- if (u != a && !(l && a > u))
541
+ var l = n & bl, a = e.length, u = t.length;
542
+ if (a != u && !(l && u > a))
543
543
  return !1;
544
544
  var s = o.get(e), v = o.get(t);
545
545
  if (s && v)
546
546
  return s == t && v == e;
547
547
  var d = -1, f = !0, p = n & $l ? new qe() : void 0;
548
- for (o.set(e, t), o.set(t, e); ++d < u; ) {
548
+ for (o.set(e, t), o.set(t, e); ++d < a; ) {
549
549
  var h = e[d], P = t[d];
550
550
  if (r)
551
551
  var A = l ? r(P, h, d, t, e, o) : r(h, P, d, e, t, o);
@@ -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]", Vl = "[object Number]", Ml = "[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 Nl(e, t, n, r, i, o, l) {
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) {
587
587
  switch (n) {
588
- case El:
588
+ case kl:
589
589
  if (e.byteLength != t.byteLength || e.byteOffset != t.byteOffset)
590
590
  return !1;
591
591
  e = e.buffer, t = t.buffer;
@@ -593,24 +593,24 @@ function Nl(e, t, n, r, i, o, l) {
593
593
  return !(e.byteLength != t.byteLength || !o(new Ke(e), new Ke(t)));
594
594
  case Cl:
595
595
  case Pl:
596
- case Vl:
596
+ case Ml:
597
597
  return ct(+e, +t);
598
598
  case Ol:
599
599
  return e.name == t.name && e.message == t.message;
600
- case Ml:
600
+ case Vl:
601
601
  case Ll:
602
602
  return e == t + "";
603
603
  case xl:
604
- var u = Tl;
604
+ var a = Tl;
605
605
  case Ul:
606
- var a = r & wl;
607
- if (u || (u = Sl), e.size != t.size && !a)
606
+ var u = r & wl;
607
+ if (a || (a = Sl), e.size != t.size && !u)
608
608
  return !1;
609
609
  var s = l.get(e);
610
610
  if (s)
611
611
  return s == t;
612
612
  r |= Al, l.set(e, t);
613
- var v = un(u(e), u(t), r, i, o, l);
613
+ var v = un(a(e), a(t), r, i, o, l);
614
614
  return l.delete(e), v;
615
615
  case Dl:
616
616
  if (tt)
@@ -618,14 +618,14 @@ function Nl(e, t, n, r, i, o, l) {
618
618
  }
619
619
  return !1;
620
620
  }
621
- var Bl = 1, Rl = Object.prototype, kl = Rl.hasOwnProperty;
621
+ var Nl = 1, Bl = Object.prototype, Rl = Bl.hasOwnProperty;
622
622
  function Fl(e, t, n, r, i, o) {
623
- var l = n & Bl, u = ot(e), a = u.length, s = ot(t), v = s.length;
624
- if (a != v && !l)
623
+ var l = n & Nl, a = ot(e), u = a.length, s = ot(t), v = s.length;
624
+ if (u != v && !l)
625
625
  return !1;
626
- for (var d = a; d--; ) {
627
- var f = u[d];
628
- if (!(l ? f in t : kl.call(t, f)))
626
+ for (var d = u; d--; ) {
627
+ var f = a[d];
628
+ if (!(l ? f in t : Rl.call(t, f)))
629
629
  return !1;
630
630
  }
631
631
  var p = o.get(e), h = o.get(t);
@@ -633,8 +633,8 @@ function Fl(e, t, n, r, i, o) {
633
633
  return p == t && h == e;
634
634
  var P = !0;
635
635
  o.set(e, t), o.set(t, e);
636
- for (var A = l; ++d < a; ) {
637
- f = u[d];
636
+ for (var A = l; ++d < u; ) {
637
+ f = a[d];
638
638
  var C = e[f], $ = t[f];
639
639
  if (r)
640
640
  var O = l ? r($, C, f, t, e, o) : r(C, $, f, e, t, o);
@@ -650,20 +650,20 @@ function Fl(e, t, n, r, i, o) {
650
650
  }
651
651
  return o.delete(e), o.delete(t), P;
652
652
  }
653
- var Hl = 1, Nt = "[object Arguments]", Bt = "[object Array]", Ne = "[object Object]", Gl = Object.prototype, Rt = Gl.hasOwnProperty;
653
+ var Hl = 1, Et = "[object Arguments]", Nt = "[object Array]", Ee = "[object Object]", Gl = Object.prototype, Bt = Gl.hasOwnProperty;
654
654
  function Kl(e, t, n, r, i, o) {
655
- var l = Ve(e), u = Ve(t), a = l ? Bt : Z(e), s = u ? Bt : Z(t);
656
- a = a == Nt ? Ne : a, s = s == Nt ? Ne : s;
657
- var v = a == Ne, d = s == Ne, f = a == s;
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;
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) : Nl(e, t, a, n, r, i, o);
664
+ return o || (o = new te()), l || tn(e) ? un(e, t, n, r, i, o) : El(e, t, u, n, r, i, o);
665
665
  if (!(n & Hl)) {
666
- var p = v && Rt.call(e, "__wrapped__"), h = d && Rt.call(t, "__wrapped__");
666
+ var p = v && Bt.call(e, "__wrapped__"), h = d && Bt.call(t, "__wrapped__");
667
667
  if (p || h) {
668
668
  var P = p ? e.value() : e, A = h ? t.value() : t;
669
669
  return o || (o = new te()), i(P, A, n, r, o);
@@ -682,17 +682,17 @@ function ql(e, t) {
682
682
  let r = [];
683
683
  e.forEach((l) => {
684
684
  l.type === 0 ? n.push(l) : l.type === 1 ? r.push(l) : console.assert(!1);
685
- }), n.sort((l, u) => l.position - u.position), r.sort((l, u) => l.position - u.position);
685
+ }), n.sort((l, a) => l.position - a.position), r.sort((l, a) => l.position - a.position);
686
686
  const i = [];
687
687
  r.forEach((l) => {
688
- n.find((u) => u.id === l.group) || i.push(l.id);
689
- }), r = r.filter((l) => !i.find((u) => u === l.id));
688
+ n.find((a) => a.id === l.group) || i.push(l.id);
689
+ }), r = r.filter((l) => !i.find((a) => a === l.id));
690
690
  const o = [];
691
691
  return n.forEach((l) => {
692
- const u = [];
693
- r.forEach((a) => {
694
- a.group === l.id && (a.show = !l.collapse, u.push(a));
695
- }), l.count = u.length, l.count > 0 && (o.push(l), o.push(...u));
692
+ const a = [];
693
+ r.forEach((u) => {
694
+ u.group === l.id && (u.show = !l.collapse, a.push(u));
695
+ }), l.count = a.length, l.count > 0 && (o.push(l), o.push(...a));
696
696
  }), o;
697
697
  }
698
698
  function fn(e, t) {
@@ -712,7 +712,7 @@ function zl(e, t, n) {
712
712
  }
713
713
  }
714
714
  }
715
- const Be = (e, t) => {
715
+ const Ne = (e, t) => {
716
716
  let n = { key: "", name: "", children: e };
717
717
  return t.forEach((r) => {
718
718
  if (typeof r != "number") {
@@ -736,7 +736,7 @@ const Be = (e, t) => {
736
736
  }
737
737
  n = n[r];
738
738
  }), n;
739
- }, kt = (e) => !(e instanceof Array), nt = (e) => e instanceof Array, Il = (e, t) => {
739
+ }, Rt = (e) => !(e instanceof Array), nt = (e) => e instanceof Array, Il = (e, t) => {
740
740
  const n = (r, i) => {
741
741
  if (r.ui !== i.ui || r.array !== i.array)
742
742
  return !1;
@@ -784,14 +784,14 @@ const Be = (e, t) => {
784
784
  return console.assert(!1, "execPropBranchArray prop array must be valid"), !1;
785
785
  if (!r.children || !Je(r.children))
786
786
  return console.assert(!1, "execPropBranchArray state children must be array"), !1;
787
- let u;
788
- o !== void 0 && !l ? (n[o] instanceof Array || (n[o] = N(t), i == null || i(e, n[o])), u = n[o]) : (n[t.key] instanceof Array || (n[t.key] = N(t), i == null || i(e, n[t.key])), u = n[t.key]), r.change = !1;
789
- for (let a = 0; a < u.length; a++) {
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;
789
+ for (let u = 0; u < a.length; u++) {
790
790
  r.children.push({
791
791
  change: !1,
792
792
  children: {}
793
793
  });
794
- const s = r.children[a];
794
+ const s = r.children[u];
795
795
  t.children.forEach((v) => {
796
796
  if (!s.children || !pt(s.children)) {
797
797
  console.assert(!1);
@@ -803,15 +803,15 @@ const Be = (e, t) => {
803
803
  }, We(
804
804
  e,
805
805
  v,
806
- u[a],
806
+ a[u],
807
807
  s.children[v.key],
808
808
  i,
809
- a,
809
+ u,
810
810
  !0
811
811
  ) && (s.change = !0), s.change && (r.change = !0);
812
812
  });
813
813
  }
814
- return r.change || (r.change = !Ze(u, N(t))), r.change;
814
+ return r.change || (r.change = !Ze(a, E(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;
@@ -819,14 +819,14 @@ const Be = (e, t) => {
819
819
  return console.assert(!1, "execPropBranchScalar prop array must be invalid"), !1;
820
820
  if (!r.children || !pt(r.children))
821
821
  return console.assert(!1, "execPropBranchScalar state children must be map"), !1;
822
- let u;
823
- o !== void 0 && !l ? (n[o] || (n[o] = {}), u = n[o]) : (n[t.key] || (n[t.key] = {}), u = n[t.key]), r.change = !1;
824
- for (let a = 0; a < t.children.length; a++) {
825
- const s = t.children[a];
822
+ let a;
823
+ o !== void 0 && !l ? (n[o] || (n[o] = {}), a = n[o]) : (n[t.key] || (n[t.key] = {}), a = n[t.key]), r.change = !1;
824
+ for (let u = 0; u < t.children.length; u++) {
825
+ const s = t.children[u];
826
826
  r.children[s.key] = {
827
827
  change: !1,
828
828
  children: s.array ? [] : {}
829
- }, We(e, s, u, r.children[s.key], i) && (r.change = !0);
829
+ }, We(e, s, a, r.children[s.key], i) && (r.change = !0);
830
830
  }
831
831
  return r.change;
832
832
  }, Yl = (e, t, n, r, i, o, l) => {
@@ -836,19 +836,19 @@ const Be = (e, t) => {
836
836
  return console.assert(!1, "execPropLeafArray prop aray must be valid"), !1;
837
837
  if (!r.children || !Je(r.children))
838
838
  return console.assert(!1, "execPropLeafArray state children must be array"), !1;
839
- let u;
840
- o !== void 0 && !l ? (n[o] instanceof Array || (n[o] = N(t), i == null || i(e, n[o])), u = n[o]) : (n[t.key] instanceof Array || (n[t.key] = N(t), i == null || i(e, n[t.key])), u = n[t.key]), r.change = !1;
841
- for (let a = 0; a < u.length; a++)
842
- r.children[a] = {
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;
841
+ for (let u = 0; u < a.length; u++)
842
+ r.children[u] = {
843
843
  change: !1,
844
844
  children: {}
845
- }, We(e, t, u, r.children[a], i, a, !1) && (r.change = !0);
846
- return r.change || (r.change = !Ze(u, N(t))), r.change;
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;
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, N(e, !0)), n.change;
851
+ return r !== void 0 && !i ? o = t[r] : o = t[e.key], n.change = !Ze(o, E(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 Be = (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,56 +896,56 @@ 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 = R(0), u = R(0), a = R([]), s = k(() => [l.value, u.value]), v = (A) => {
914
- const C = () => !(a.value.length <= 0 || !be(i.value, a.value)), $ = () => {
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
915
  if (!C())
916
916
  return;
917
- const O = Be(n.value, a.value);
917
+ const O = Ne(n.value, u.value);
918
918
  if (O)
919
919
  if (O.ui) {
920
- const T = Pe(r.value, a.value.slice(0, -1));
920
+ const T = Pe(r.value, u.value.slice(0, -1));
921
921
  if (!T)
922
922
  return;
923
- T[a.value.at(-1)] = N(O), o(a.value, T[a.value.at(-1)]);
923
+ T[u.value.at(-1)] = E(O), o(u.value, T[u.value.at(-1)]);
924
924
  } else if (O.array) {
925
- const T = a.value.at(-1);
925
+ const T = u.value.at(-1);
926
926
  if (T === void 0) {
927
927
  console.assert(!1, "invalid last key");
928
928
  return;
929
929
  }
930
930
  if (typeof T == "string") {
931
- const L = Pe(r.value, a.value.slice(0, -1));
931
+ const L = Pe(r.value, u.value.slice(0, -1));
932
932
  if (!L)
933
933
  return;
934
- L[a.value.at(-1)] = N(O), o(a.value, L[a.value.at(-1)]);
934
+ L[u.value.at(-1)] = E(O), o(u.value, L[u.value.at(-1)]);
935
935
  } else {
936
- const L = Pe(r.value, a.value);
936
+ const L = Pe(r.value, u.value);
937
937
  if (!L)
938
938
  return;
939
939
  O.children.forEach((W) => {
940
- L[W.key] = N(O), o([...a.value, W.key], L[W.key]);
940
+ L[W.key] = E(O), o([...u.value, W.key], L[W.key]);
941
941
  });
942
942
  }
943
943
  } else {
944
- const T = Pe(r.value, a.value);
944
+ const T = Pe(r.value, u.value);
945
945
  if (!T)
946
946
  return;
947
947
  O.children.forEach((L) => {
948
- T[L.key] = N(O), o([...a.value, L.key], T[L.key]);
948
+ T[L.key] = E(O), o([...u.value, L.key], T[L.key]);
949
949
  });
950
950
  }
951
951
  };
@@ -955,7 +955,7 @@ const cs = /* @__PURE__ */ K({
955
955
  });
956
956
  }, d = (A) => {
957
957
  const C = () => {
958
- const $ = Be(n.value, a.value), O = Pe(r.value, a.value);
958
+ const $ = Ne(n.value, u.value), O = Pe(r.value, u.value);
959
959
  localStorage.setItem("propTreeCopy", JSON.stringify({ prop: $, object: O }));
960
960
  };
961
961
  A.push({
@@ -968,7 +968,7 @@ const cs = /* @__PURE__ */ K({
968
968
  if (!O)
969
969
  return !1;
970
970
  try {
971
- const { prop: T } = JSON.parse(O), L = Be(n.value, a.value);
971
+ const { prop: T } = JSON.parse(O), L = Ne(n.value, u.value);
972
972
  return Il(T, L);
973
973
  } catch (T) {
974
974
  console.error(T);
@@ -980,7 +980,7 @@ const cs = /* @__PURE__ */ K({
980
980
  const O = localStorage.getItem("propTreeCopy");
981
981
  if (O)
982
982
  try {
983
- const { object: T } = JSON.parse(O), L = Be(n.value, a.value);
983
+ const { object: T } = JSON.parse(O), L = Ne(n.value, u.value);
984
984
  console.log(T, L);
985
985
  } catch (T) {
986
986
  console.error(T);
@@ -990,23 +990,23 @@ const cs = /* @__PURE__ */ K({
990
990
  title: t("x-prop-tree.paste"),
991
991
  func: $
992
992
  });
993
- }, p = k(() => {
993
+ }, p = R(() => {
994
994
  const A = [];
995
995
  return v(A), d(A), f(A), A;
996
996
  }), h = (A) => {
997
- l.value = A.x, u.value = A.y, a.value = A.keys;
997
+ l.value = A.x, a.value = A.y, u.value = A.keys;
998
998
  }, { open: P } = ut("propTreeMenu", h);
999
999
  return (A, C) => {
1000
- const $ = M("v-list-item-title"), O = M("v-list-item"), T = M("v-list"), L = M("v-menu");
1000
+ const $ = V("v-list-item-title"), O = V("v-list-item"), T = V("v-list"), L = V("v-menu");
1001
1001
  return w(), F(L, {
1002
- modelValue: E(P),
1002
+ modelValue: k(P),
1003
1003
  "onUpdate:modelValue": C[0] || (C[0] = (W) => Fe(P) ? P.value = W : null),
1004
1004
  "location-strategy": "connected",
1005
1005
  target: s.value,
1006
1006
  scrim: "transparent"
1007
1007
  }, {
1008
1008
  default: J(() => [
1009
- B(T, null, {
1009
+ N(T, null, {
1010
1010
  default: J(() => [
1011
1011
  (w(!0), H(He, null, Ht(p.value, (W, Ye) => (w(), F(O, {
1012
1012
  key: Ye,
@@ -1014,7 +1014,7 @@ const cs = /* @__PURE__ */ K({
1014
1014
  onClick: W.func
1015
1015
  }, {
1016
1016
  default: J(() => [
1017
- B($, null, {
1017
+ N($, null, {
1018
1018
  default: J(() => [
1019
1019
  at(ne(W.title), 1)
1020
1020
  ]),
@@ -1032,8 +1032,8 @@ 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";
1036
- const Re = /* @__PURE__ */ K({
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
+ const Be = /* @__PURE__ */ K({
1037
1037
  __name: "title",
1038
1038
  props: {
1039
1039
  title: {},
@@ -1044,42 +1044,42 @@ const Re = /* @__PURE__ */ K({
1044
1044
  },
1045
1045
  emits: ["collapse", "menu", "create", "delete"],
1046
1046
  setup(e, { emit: t }) {
1047
- const { backgroundColor2: n, highlightColor: r } = we(), i = t, o = R(!1), l = k(() => ({
1047
+ const { backgroundColor2: n, highlightColor: r } = we(), i = t, o = B(!1), l = R(() => ({
1048
1048
  background: o.value ? r.value : n.value,
1049
1049
  height: "36px",
1050
1050
  marginBottom: "1px",
1051
1051
  userSelect: "none"
1052
- })), u = () => {
1052
+ })), a = () => {
1053
1053
  i("collapse", !e.collapse);
1054
- }, a = (s) => {
1054
+ }, u = (s) => {
1055
1055
  i("menu", s.clientX, s.clientY);
1056
1056
  };
1057
1057
  return (s, v) => {
1058
- const d = M("v-icon"), f = M("v-spacer"), p = ae("ripple");
1058
+ const d = V("v-icon"), f = V("v-spacer"), p = 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
- onClick: u,
1063
- onContextmenu: q(a, ["prevent"]),
1062
+ onClick: a,
1063
+ onContextmenu: q(u, ["prevent"]),
1064
1064
  onMouseover: v[2] || (v[2] = (h) => o.value = !0),
1065
1065
  onMouseout: v[3] || (v[3] = (h) => o.value = !1)
1066
1066
  }, [
1067
- B(d, {
1067
+ N(d, {
1068
1068
  class: "mr-1",
1069
- icon: s.collapse ? E($n) : E(bn)
1069
+ icon: s.collapse ? k($n) : k(bn)
1070
1070
  }, null, 8, ["icon"]),
1071
1071
  z("span", null, ne(s.title), 1),
1072
- B(f),
1072
+ N(f),
1073
1073
  s.hasCreate ? (w(), F(d, {
1074
1074
  key: 0,
1075
1075
  class: "mx-3",
1076
- icon: E(ds),
1076
+ icon: k(ds),
1077
1077
  onClick: v[0] || (v[0] = q((h) => i("create"), ["stop"]))
1078
1078
  }, null, 8, ["icon"])) : I("", !0),
1079
1079
  s.hasDelete ? (w(), F(d, {
1080
1080
  key: 1,
1081
1081
  class: "mx-3",
1082
- icon: E(ye),
1082
+ icon: k(ge),
1083
1083
  onClick: v[1] || (v[1] = q((h) => i("delete", s.index), ["stop"]))
1084
1084
  }, null, 8, ["icon"])) : I("", !0)
1085
1085
  ], 36)), [
@@ -1094,25 +1094,25 @@ const Re = /* @__PURE__ */ K({
1094
1094
  },
1095
1095
  emits: ["menu"],
1096
1096
  setup(e, { emit: t }) {
1097
- const { backgroundColor2: n, highlightColor: r } = we(), i = t, o = R(!1), l = k(() => ({
1097
+ const { backgroundColor2: n, highlightColor: r } = we(), i = t, o = B(!1), l = R(() => ({
1098
1098
  background: o.value ? r.value : n.value,
1099
1099
  minHeight: e.minHeight,
1100
1100
  paddingRight: "4px",
1101
1101
  marginBottom: "1px",
1102
1102
  userSelect: "none"
1103
- })), u = (a) => {
1104
- i("menu", a.clientX, a.clientY);
1103
+ })), a = (u) => {
1104
+ i("menu", u.clientX, u.clientY);
1105
1105
  };
1106
- return (a, s) => {
1106
+ return (u, s) => {
1107
1107
  const v = ae("ripple");
1108
1108
  return re((w(), H("div", {
1109
1109
  class: "d-flex justify-space-between align-center cursor-pointer",
1110
1110
  style: le(l.value),
1111
- onContextmenu: q(u, ["prevent"]),
1111
+ onContextmenu: q(a, ["prevent"]),
1112
1112
  onMouseover: s[0] || (s[0] = (d) => o.value = !0),
1113
1113
  onMouseout: s[1] || (s[1] = (d) => o.value = !1)
1114
1114
  }, [
1115
- jn(a.$slots, "default")
1115
+ jn(u.$slots, "default")
1116
1116
  ], 36)), [
1117
1117
  [v]
1118
1118
  ]);
@@ -1121,9 +1121,9 @@ const Re = /* @__PURE__ */ K({
1121
1121
  });
1122
1122
  function vs(e, t, n) {
1123
1123
  const { t: r } = ue();
1124
- return { renderProp: (o, l, u) => {
1125
- const a = o.at(-1);
1126
- let v = typeof a == "number" ? `[${a + 1}]` : r(l.name);
1124
+ return { renderProp: (o, l, a) => {
1125
+ const u = o.at(-1);
1126
+ let v = typeof u == "number" ? `[${u + 1}]` : r(l.name);
1127
1127
  return be(e.value, o) && (v += " *"), _(
1128
1128
  ps,
1129
1129
  {
@@ -1134,27 +1134,40 @@ function vs(e, t, n) {
1134
1134
  },
1135
1135
  () => [
1136
1136
  _("span", { class: "ml-1", innerHTML: v }),
1137
- _("div", { style: { width: n.value } }, u)
1137
+ _("div", { style: { width: n.value } }, a)
1138
1138
  ]
1139
1139
  );
1140
1140
  } };
1141
1141
  }
1142
1142
  const ce = (e, t, n, r, i, o) => {
1143
- if (i !== void 0 && !o) {
1144
- if (n[i] === void 0) {
1145
- const l = N(t, !0);
1146
- l !== void 0 && (n[i] = l, r(e, n[i]));
1143
+ if (i !== void 0)
1144
+ if (o) {
1145
+ if (n[t.key] === void 0) {
1146
+ const l = E(t);
1147
+ l !== void 0 && (n[t.key] = l, r(e, n[t.key]));
1148
+ }
1149
+ return n[t.key];
1150
+ } else {
1151
+ if (n[i] === void 0) {
1152
+ const l = E(t, !0);
1153
+ l !== void 0 && (n[i] = l, r(e, n[i]));
1154
+ }
1155
+ return n[i];
1147
1156
  }
1148
- return n[i];
1149
- } else {
1157
+ else {
1150
1158
  if (n[t.key] === void 0) {
1151
- const l = N(t);
1152
- l !== void 0 && (n[t.key] = l, r(e, n[t.key]));
1159
+ const l = E(t);
1160
+ t.ui === "switch" ? l && (n[t.key] = !0, r(e, n[t.key])) : t.ui === "select" || t.ui === "multiTypes" ? l && (n[t.key] = l, r(e, n[t.key])) : l !== void 0 && (n[t.key] = l, r(e, n[t.key]));
1153
1161
  }
1154
1162
  return n[t.key];
1155
1163
  }
1156
1164
  }, he = (e, t, n, r, i, o, l) => {
1157
- o !== void 0 && !l ? r !== n[o] && (n[o] = r, i(e, n[o])) : r !== n[t.key] && (n[t.key] = r, i(e, n[t.key]));
1165
+ if (o !== void 0)
1166
+ l ? r !== n[t.key] && (n[t.key] = r, i(e, n[t.key])) : r !== n[o] && (n[o] = r, i(e, n[o]));
1167
+ else {
1168
+ let a = r;
1169
+ (t.ui === "switch" || t.ui === "select" || t.ui === "multiTypes") && (r || (a = void 0)), a !== n[t.key] && (n[t.key] = a, i(e, n[t.key]));
1170
+ }
1158
1171
  };
1159
1172
  function ms(e) {
1160
1173
  return { renderUiDummy: (n, r, i, o, l) => {
@@ -1165,7 +1178,7 @@ function ms(e) {
1165
1178
  ce(n, r, i, e, o, l);
1166
1179
  } };
1167
1180
  }
1168
- const gs = { class: "d-flex justify-space-between align-center" }, ys = /* @__PURE__ */ K({
1181
+ const ys = { class: "d-flex justify-space-between align-center" }, gs = /* @__PURE__ */ K({
1169
1182
  __name: "strInput",
1170
1183
  props: /* @__PURE__ */ X({
1171
1184
  hasDelete: { type: Boolean, default: !1 },
@@ -1178,9 +1191,9 @@ const gs = { class: "d-flex justify-space-between align-center" }, ys = /* @__PU
1178
1191
  setup(e, { emit: t }) {
1179
1192
  const n = oe(e, "modelValue"), r = t;
1180
1193
  return (i, o) => {
1181
- const l = M("v-text-field"), u = M("v-icon"), a = ae("ripple");
1182
- return w(), H("div", gs, [
1183
- re(B(l, {
1194
+ const l = V("v-text-field"), a = V("v-icon"), u = ae("ripple");
1195
+ return w(), H("div", ys, [
1196
+ re(N(l, {
1184
1197
  modelValue: n.value,
1185
1198
  "onUpdate:modelValue": o[0] || (o[0] = (s) => n.value = s),
1186
1199
  density: "compact",
@@ -1189,16 +1202,16 @@ const gs = { class: "d-flex justify-space-between align-center" }, ys = /* @__PU
1189
1202
  readonly: i.readonly
1190
1203
  }, null, 8, ["modelValue", "readonly"]), [
1191
1204
  [
1192
- a,
1205
+ u,
1193
1206
  void 0,
1194
1207
  void 0,
1195
1208
  { stop: !0 }
1196
1209
  ]
1197
1210
  ]),
1198
- i.hasDelete ? (w(), F(u, {
1211
+ i.hasDelete ? (w(), F(a, {
1199
1212
  key: 0,
1200
1213
  class: "mx-2",
1201
- icon: E(ye),
1214
+ icon: k(ge),
1202
1215
  onClick: o[1] || (o[1] = q((s) => r("delete"), ["stop"]))
1203
1216
  }, null, 8, ["icon"])) : I("", !0)
1204
1217
  ]);
@@ -1206,7 +1219,7 @@ const gs = { class: "d-flex justify-space-between align-center" }, ys = /* @__PU
1206
1219
  }
1207
1220
  });
1208
1221
  function hs(e) {
1209
- return { renderUiStrInput: (n, r, i, o, l) => r.ui !== "strInput" ? (console.assert(!1), _("div", "renderUiStrInput prop ui must be strInput")) : _(ys, {
1222
+ return { renderUiStrInput: (n, r, i, o, l) => r.ui !== "strInput" ? (console.assert(!1), _("div", "renderUiStrInput prop ui must be strInput")) : _(gs, {
1210
1223
  modelValue: r.static ? r.value : ce(
1211
1224
  n,
1212
1225
  r,
@@ -1215,12 +1228,12 @@ function hs(e) {
1215
1228
  o,
1216
1229
  l
1217
1230
  ),
1218
- "onUpdate:modelValue": (u) => {
1231
+ "onUpdate:modelValue": (a) => {
1219
1232
  r.static || he(
1220
1233
  n,
1221
1234
  r,
1222
1235
  i,
1223
- u,
1236
+ a,
1224
1237
  e,
1225
1238
  o,
1226
1239
  l
@@ -1251,9 +1264,9 @@ const _s = { class: "d-flex justify-space-between align-center" }, bs = /* @__PU
1251
1264
  setup(e, { emit: t }) {
1252
1265
  const n = oe(e, "modelValue"), r = t;
1253
1266
  return (i, o) => {
1254
- const l = M("v-number-input"), u = M("v-icon"), a = ae("ripple");
1267
+ const l = V("v-number-input"), a = V("v-icon"), u = ae("ripple");
1255
1268
  return w(), H("div", _s, [
1256
- re(B(l, {
1269
+ re(N(l, {
1257
1270
  modelValue: n.value,
1258
1271
  "onUpdate:modelValue": o[0] || (o[0] = (s) => n.value = s),
1259
1272
  density: "compact",
@@ -1267,16 +1280,16 @@ const _s = { class: "d-flex justify-space-between align-center" }, bs = /* @__PU
1267
1280
  readonly: i.readonly
1268
1281
  }, null, 8, ["modelValue", "precision", "min", "max", "step", "readonly"]), [
1269
1282
  [
1270
- a,
1283
+ u,
1271
1284
  void 0,
1272
1285
  void 0,
1273
1286
  { stop: !0 }
1274
1287
  ]
1275
1288
  ]),
1276
- i.hasDelete ? (w(), F(u, {
1289
+ i.hasDelete ? (w(), F(a, {
1277
1290
  key: 0,
1278
1291
  class: "mx-2",
1279
- icon: E(ye),
1292
+ icon: k(ge),
1280
1293
  onClick: o[1] || (o[1] = q((s) => r("delete"), ["stop"]))
1281
1294
  }, null, 8, ["icon"])) : I("", !0)
1282
1295
  ]);
@@ -1293,12 +1306,12 @@ function $s(e) {
1293
1306
  o,
1294
1307
  l
1295
1308
  ),
1296
- "onUpdate:modelValue": (u) => {
1309
+ "onUpdate:modelValue": (a) => {
1297
1310
  he(
1298
1311
  n,
1299
1312
  r,
1300
1313
  i,
1301
- u,
1314
+ a,
1302
1315
  e,
1303
1316
  o,
1304
1317
  l
@@ -1328,22 +1341,22 @@ const Ts = { class: "d-flex justify-space-between align-center" }, Ss = /* @__PU
1328
1341
  setup(e, { emit: t }) {
1329
1342
  const n = oe(e, "modelValue"), r = t;
1330
1343
  return (i, o) => {
1331
- const l = M("v-switch"), u = M("v-icon");
1344
+ const l = V("v-switch"), a = V("v-icon");
1332
1345
  return w(), H("div", Ts, [
1333
- B(l, {
1346
+ N(l, {
1334
1347
  modelValue: n.value,
1335
- "onUpdate:modelValue": o[0] || (o[0] = (a) => n.value = a),
1348
+ "onUpdate:modelValue": o[0] || (o[0] = (u) => n.value = u),
1336
1349
  class: "ml-1",
1337
1350
  density: "compact",
1338
1351
  color: "primary",
1339
1352
  "hide-details": "",
1340
1353
  readonly: i.readonly
1341
1354
  }, null, 8, ["modelValue", "readonly"]),
1342
- i.hasDelete ? (w(), F(u, {
1355
+ i.hasDelete ? (w(), F(a, {
1343
1356
  key: 0,
1344
1357
  class: "mx-2",
1345
- icon: E(ye),
1346
- onClick: o[1] || (o[1] = q((a) => r("delete"), ["stop"]))
1358
+ icon: k(ge),
1359
+ onClick: o[1] || (o[1] = q((u) => r("delete"), ["stop"]))
1347
1360
  }, null, 8, ["icon"])) : I("", !0)
1348
1361
  ]);
1349
1362
  };
@@ -1359,12 +1372,12 @@ function ws(e) {
1359
1372
  o,
1360
1373
  l
1361
1374
  ),
1362
- "onUpdate:modelValue": (u) => {
1375
+ "onUpdate:modelValue": (a) => {
1363
1376
  he(
1364
1377
  n,
1365
1378
  r,
1366
1379
  i,
1367
- u,
1380
+ a,
1368
1381
  e,
1369
1382
  o,
1370
1383
  l
@@ -1389,24 +1402,24 @@ const As = { class: "d-flex justify-space-between align-center" }, Cs = /* @__PU
1389
1402
  }),
1390
1403
  emits: /* @__PURE__ */ X(["delete"], ["update:modelValue"]),
1391
1404
  setup(e, { emit: t }) {
1392
- const { t: n } = ue(), r = oe(e, "modelValue"), i = t, o = hn(), l = k(() => {
1393
- var a;
1394
- const u = [];
1395
- return (a = zt[o.value]) == null || a.items[e.items].forEach(({ title: s, value: v }) => {
1396
- u.push({ title: n(s), value: v });
1397
- }), u;
1405
+ const { t: n } = ue(), r = oe(e, "modelValue"), i = t, o = hn(), l = R(() => {
1406
+ var u;
1407
+ const a = [];
1408
+ return (u = zt[o.value]) == null || u.items[e.items].forEach(({ title: s, value: v }) => {
1409
+ a.push({ title: n(s), value: v });
1410
+ }), a;
1398
1411
  });
1399
- return (u, a) => {
1400
- const s = M("v-select"), v = M("v-icon"), d = ae("ripple");
1412
+ return (a, u) => {
1413
+ const s = V("v-select"), v = V("v-icon"), d = ae("ripple");
1401
1414
  return w(), H("div", As, [
1402
- re(B(s, {
1415
+ re(N(s, {
1403
1416
  modelValue: r.value,
1404
- "onUpdate:modelValue": a[0] || (a[0] = (f) => r.value = f),
1417
+ "onUpdate:modelValue": u[0] || (u[0] = (f) => r.value = f),
1405
1418
  density: "compact",
1406
1419
  items: l.value,
1407
1420
  "hide-details": "",
1408
1421
  "single-line": "",
1409
- readonly: u.readonly
1422
+ readonly: a.readonly
1410
1423
  }, null, 8, ["modelValue", "items", "readonly"]), [
1411
1424
  [
1412
1425
  d,
@@ -1415,11 +1428,11 @@ const As = { class: "d-flex justify-space-between align-center" }, Cs = /* @__PU
1415
1428
  { stop: !0 }
1416
1429
  ]
1417
1430
  ]),
1418
- u.hasDelete ? (w(), F(v, {
1431
+ a.hasDelete ? (w(), F(v, {
1419
1432
  key: 0,
1420
1433
  class: "mx-2",
1421
- icon: E(ye),
1422
- onClick: a[1] || (a[1] = q((f) => i("delete"), ["stop"]))
1434
+ icon: k(ge),
1435
+ onClick: u[1] || (u[1] = q((f) => i("delete"), ["stop"]))
1423
1436
  }, null, 8, ["icon"])) : I("", !0)
1424
1437
  ]);
1425
1438
  };
@@ -1435,12 +1448,12 @@ function Ps(e) {
1435
1448
  o,
1436
1449
  l
1437
1450
  ),
1438
- "onUpdate:modelValue": (u) => {
1451
+ "onUpdate:modelValue": (a) => {
1439
1452
  he(
1440
1453
  n,
1441
1454
  r,
1442
1455
  i,
1443
- u,
1456
+ a,
1444
1457
  e,
1445
1458
  o,
1446
1459
  l
@@ -1454,7 +1467,7 @@ function Ps(e) {
1454
1467
  readonly: r.readonly
1455
1468
  }) };
1456
1469
  }
1457
- const Os = { class: "text-subtitle-2 ml-1" }, xs = { class: "text-caption text-grey ml-1" }, Vs = /* @__PURE__ */ K({
1470
+ const Os = { class: "text-subtitle-2 ml-1" }, xs = { class: "text-caption text-grey ml-1" }, Ms = /* @__PURE__ */ K({
1458
1471
  __name: "group",
1459
1472
  props: {
1460
1473
  id: {},
@@ -1464,23 +1477,23 @@ const Os = { class: "text-subtitle-2 ml-1" }, xs = { class: "text-caption text-g
1464
1477
  },
1465
1478
  emits: ["x-click"],
1466
1479
  setup(e, { emit: t }) {
1467
- const { backgroundColor2: n, highlightColor: r } = we(), i = e, o = t, l = R(!1), u = k(() => ({
1480
+ const { backgroundColor2: n, highlightColor: r } = we(), i = e, o = t, l = B(!1), a = R(() => ({
1468
1481
  background: l.value ? r.value : n.value,
1469
1482
  height: "30px",
1470
1483
  marginBottom: "1px",
1471
1484
  userSelect: "none"
1472
1485
  }));
1473
- return (a, s) => {
1474
- const v = M("v-icon"), d = ae("ripple");
1486
+ return (u, s) => {
1487
+ const v = V("v-icon"), d = ae("ripple");
1475
1488
  return re((w(), H("div", {
1476
1489
  class: "d-flex align-center cursor-pointer",
1477
- style: le(u.value),
1490
+ style: le(a.value),
1478
1491
  onClick: s[0] || (s[0] = (f) => o("x-click", i.id)),
1479
1492
  onMouseover: s[1] || (s[1] = (f) => l.value = !0),
1480
1493
  onMouseout: s[2] || (s[2] = (f) => l.value = !1)
1481
1494
  }, [
1482
- B(v, {
1483
- icon: i.collapse ? E($n) : E(bn),
1495
+ N(v, {
1496
+ icon: i.collapse ? k($n) : k(bn),
1484
1497
  size: "small"
1485
1498
  }, null, 8, ["icon"]),
1486
1499
  z("span", Os, ne(i.title), 1),
@@ -1490,7 +1503,7 @@ const Os = { class: "text-subtitle-2 ml-1" }, xs = { class: "text-caption text-g
1490
1503
  ]);
1491
1504
  };
1492
1505
  }
1493
- }), Ms = { class: "text-subtitle-1 ml-6" }, Us = /* @__PURE__ */ K({
1506
+ }), Vs = { class: "text-subtitle-1 ml-6" }, Us = /* @__PURE__ */ K({
1494
1507
  __name: "item",
1495
1508
  props: {
1496
1509
  id: {},
@@ -1498,22 +1511,22 @@ const Os = { class: "text-subtitle-2 ml-1" }, xs = { class: "text-caption text-g
1498
1511
  },
1499
1512
  emits: ["x-click"],
1500
1513
  setup(e, { emit: t }) {
1501
- const { backgroundColor2: n, highlightColor: r } = we(), i = e, o = t, l = R(!1), u = k(() => ({
1514
+ const { backgroundColor2: n, highlightColor: r } = we(), i = e, o = t, l = B(!1), a = R(() => ({
1502
1515
  background: l.value ? r.value : n.value,
1503
1516
  height: "48px",
1504
1517
  marginBottom: "1px",
1505
1518
  userSelect: "none"
1506
1519
  }));
1507
- return (a, s) => {
1520
+ return (u, s) => {
1508
1521
  const v = ae("ripple");
1509
1522
  return re((w(), H("div", {
1510
1523
  class: "d-flex align-center cursor-pointer",
1511
- style: le(u.value),
1524
+ style: le(a.value),
1512
1525
  onClick: s[0] || (s[0] = (d) => o("x-click", i.id)),
1513
1526
  onMouseover: s[1] || (s[1] = (d) => l.value = !0),
1514
1527
  onMouseout: s[2] || (s[2] = (d) => l.value = !1)
1515
1528
  }, [
1516
- z("span", Ms, ne(i.title), 1)
1529
+ z("span", Vs, ne(i.title), 1)
1517
1530
  ], 36)), [
1518
1531
  [v]
1519
1532
  ]);
@@ -1532,17 +1545,17 @@ const Os = { class: "text-subtitle-2 ml-1" }, xs = { class: "text-caption text-g
1532
1545
  },
1533
1546
  emits: ["update:modelValue", "update:open"],
1534
1547
  setup(e) {
1535
- const { t } = ue(), n = oe(e, "modelValue"), r = oe(e, "open"), i = _n(), o = (u) => {
1536
- const a = fn(i, u);
1537
- a && zl(i, u, !a.collapse);
1538
- }, l = (u) => {
1539
- n.value = u, r.value = !1, _e.emit("refreshDepends");
1548
+ const { t } = ue(), n = oe(e, "modelValue"), r = oe(e, "open"), i = _n(), o = (a) => {
1549
+ const u = fn(i, a);
1550
+ u && zl(i, a, !u.collapse);
1551
+ }, l = (a) => {
1552
+ n.value = a, r.value = !1, _e.emit("refreshDepends");
1540
1553
  };
1541
- return (u, a) => E(i).length > 0 ? (w(), H("div", Ls, [
1542
- (w(!0), H(He, null, Ht(E(i), (s) => (w(), H(He, {
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, {
1543
1556
  key: s.id
1544
1557
  }, [
1545
- s.type === 0 ? (w(), F(Vs, {
1558
+ s.type === 0 ? (w(), F(Ms, {
1546
1559
  key: 0,
1547
1560
  id: s.id,
1548
1561
  title: s.name,
@@ -1557,9 +1570,9 @@ const Os = { class: "text-subtitle-2 ml-1" }, xs = { class: "text-caption text-g
1557
1570
  onXClick: l
1558
1571
  }, null, 8, ["id", "title"])) : I("", !0)
1559
1572
  ], 64))), 128))
1560
- ])) : (w(), H("div", Ds, ne(E(t)("x-prop-tree.noComp")), 1));
1573
+ ])) : (w(), H("div", Ds, ne(k(t)("x-prop-tree.noComp")), 1));
1561
1574
  }
1562
- }), Es = { class: "text-subtitle-1 ml-3" }, Ns = /* @__PURE__ */ K({
1575
+ }), ks = { class: "text-subtitle-1 ml-3" }, Es = /* @__PURE__ */ K({
1563
1576
  __name: "index",
1564
1577
  props: {
1565
1578
  modelValue: {},
@@ -1567,22 +1580,22 @@ const Os = { class: "text-subtitle-2 ml-1" }, xs = { class: "text-caption text-g
1567
1580
  },
1568
1581
  emits: ["update:modelValue"],
1569
1582
  setup(e) {
1570
- const { t } = ue(), n = Kn(), { sysBarAvail: r } = kn(), { backgroundColor1: i } = we(), o = oe(e, "modelValue"), l = _n(), u = k(() => {
1583
+ const { t } = ue(), n = Kn(), { sysBarAvail: r } = Rn(), { backgroundColor1: i } = we(), o = oe(e, "modelValue"), l = _n(), a = R(() => {
1571
1584
  let f = "100%";
1572
1585
  return n.mdAndUp.value && (f = "400px"), {
1573
1586
  background: i.value,
1574
1587
  width: f,
1575
1588
  height: "100%"
1576
1589
  };
1577
- }), a = k(() => {
1590
+ }), u = R(() => {
1578
1591
  let f = 48;
1579
1592
  return r.value && (f += 24), {
1580
1593
  position: "relative",
1581
1594
  height: `calc(100% - ${f}px)`
1582
1595
  };
1583
- }), s = k(() => ({
1596
+ }), s = R(() => ({
1584
1597
  height: "60px"
1585
- })), v = k(() => {
1598
+ })), v = R(() => {
1586
1599
  if (!o.value)
1587
1600
  return t("x-runtime-lib.notSet");
1588
1601
  const f = fn(l, o.value);
@@ -1591,18 +1604,18 @@ const Os = { class: "text-subtitle-2 ml-1" }, xs = { class: "text-caption text-g
1591
1604
  return Kt(() => {
1592
1605
  d.value = !1;
1593
1606
  }), (f, p) => {
1594
- const h = M("v-btn"), P = M("v-sheet"), A = M("v-icon"), C = M("v-dialog");
1607
+ const h = V("v-btn"), P = V("v-sheet"), A = V("v-icon"), C = V("v-dialog");
1595
1608
  return w(), F(C, {
1596
- modelValue: E(d),
1609
+ modelValue: k(d),
1597
1610
  "onUpdate:modelValue": p[5] || (p[5] = ($) => Fe(d) ? d.value = $ : null),
1598
1611
  transition: "scroll-x-reverse-transition",
1599
1612
  persistent: "",
1600
1613
  "no-click-animation": "",
1601
1614
  fullscreen: "",
1602
- onKeydown: p[6] || (p[6] = En(q(($) => d.value = !1, ["stop", "prevent"]), ["esc"]))
1615
+ onKeydown: p[6] || (p[6] = kn(q(($) => d.value = !1, ["stop", "prevent"]), ["esc"]))
1603
1616
  }, {
1604
1617
  activator: J(({ props: $ }) => [
1605
- B(h, qt($, {
1618
+ N(h, qt($, {
1606
1619
  density: "comfortable",
1607
1620
  block: ""
1608
1621
  }), {
@@ -1620,35 +1633,35 @@ const Os = { class: "text-subtitle-2 ml-1" }, xs = { class: "text-caption text-g
1620
1633
  }, [
1621
1634
  z("div", {
1622
1635
  class: "elevation-2",
1623
- style: le(u.value)
1636
+ style: le(a.value)
1624
1637
  }, [
1625
- E(r) ? (w(), F(P, {
1638
+ k(r) ? (w(), F(P, {
1626
1639
  key: 0,
1627
1640
  color: "transparent",
1628
1641
  height: 24
1629
1642
  })) : I("", !0),
1630
- B(P, {
1643
+ N(P, {
1631
1644
  class: "d-flex align-center px-3",
1632
1645
  color: "transparent",
1633
1646
  height: 48
1634
1647
  }, {
1635
1648
  default: J(() => [
1636
- B(A, {
1637
- icon: E(fs),
1649
+ N(A, {
1650
+ icon: k(fs),
1638
1651
  onClick: p[0] || (p[0] = ($) => d.value = !1)
1639
1652
  }, null, 8, ["icon"]),
1640
- z("span", Es, ne(E(t)("x-prop-tree.dlg.compSelect.title")), 1)
1653
+ z("span", ks, ne(k(t)("x-prop-tree.dlg.compSelect.title")), 1)
1641
1654
  ]),
1642
1655
  _: 1
1643
1656
  }),
1644
1657
  z("div", {
1645
1658
  class: "overflow-y-auto",
1646
- style: le(a.value)
1659
+ style: le(u.value)
1647
1660
  }, [
1648
- B(js, {
1661
+ N(js, {
1649
1662
  modelValue: o.value,
1650
1663
  "onUpdate:modelValue": p[1] || (p[1] = ($) => o.value = $),
1651
- open: E(d),
1664
+ open: k(d),
1652
1665
  "onUpdate:open": p[2] || (p[2] = ($) => Fe(d) ? d.value = $ : null)
1653
1666
  }, null, 8, ["modelValue", "open"]),
1654
1667
  z("div", {
@@ -1663,8 +1676,8 @@ const Os = { class: "text-subtitle-2 ml-1" }, xs = { class: "text-caption text-g
1663
1676
  };
1664
1677
  }
1665
1678
  });
1666
- function Bs(e) {
1667
- return { renderUiCompSelect: (n, r, i, o, l) => r.ui !== "compSelect" ? (console.assert(!1), _("div", "renderUiCompSelect prop ui must be compSelect")) : _(Ns, {
1679
+ 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, {
1668
1681
  modelValue: ce(
1669
1682
  n,
1670
1683
  r,
@@ -1673,12 +1686,12 @@ function Bs(e) {
1673
1686
  o,
1674
1687
  l
1675
1688
  ),
1676
- "onUpdate:modelValue": (u) => {
1689
+ "onUpdate:modelValue": (a) => {
1677
1690
  he(
1678
1691
  n,
1679
1692
  r,
1680
1693
  i,
1681
- u,
1694
+ a,
1682
1695
  e,
1683
1696
  o,
1684
1697
  l
@@ -1686,7 +1699,7 @@ function Bs(e) {
1686
1699
  }
1687
1700
  }) };
1688
1701
  }
1689
- const Rs = { class: "d-flex justify-space-between align-center" }, ks = /* @__PURE__ */ K({
1702
+ const Bs = { class: "d-flex justify-space-between align-center" }, Rs = /* @__PURE__ */ K({
1690
1703
  __name: "colorPicker",
1691
1704
  props: /* @__PURE__ */ X({
1692
1705
  hasDelete: { type: Boolean, default: !1 },
@@ -1697,50 +1710,50 @@ const Rs = { class: "d-flex justify-space-between align-center" }, ks = /* @__PU
1697
1710
  }),
1698
1711
  emits: /* @__PURE__ */ X(["delete"], ["update:modelValue"]),
1699
1712
  setup(e, { emit: t }) {
1700
- const { t: n } = ue(), r = oe(e, "modelValue"), i = t, o = k(() => {
1701
- let a = "100%";
1702
- return e.hasDelete && (a = "calc(100% - 37px)"), {
1703
- width: a
1713
+ const { t: n } = ue(), r = oe(e, "modelValue"), i = t, o = R(() => {
1714
+ let u = "100%";
1715
+ return e.hasDelete && (u = "calc(100% - 37px)"), {
1716
+ width: u
1704
1717
  };
1705
- }), l = k(() => e.readonly), { open: u } = ut(`propTreeColorPickerMenu${Gt()}`);
1718
+ }), l = R(() => e.readonly), { open: a } = ut(`propTreeColorPickerMenu${Gt()}`);
1706
1719
  return Kt(() => {
1707
- u.value = !1;
1708
- }), (a, s) => {
1709
- const v = M("v-btn"), d = M("v-icon"), f = M("v-color-picker"), p = M("v-menu");
1720
+ a.value = !1;
1721
+ }), (u, s) => {
1722
+ const v = V("v-btn"), d = V("v-icon"), f = V("v-color-picker"), p = V("v-menu");
1710
1723
  return w(), F(p, {
1711
- modelValue: E(u),
1712
- "onUpdate:modelValue": s[2] || (s[2] = (h) => Fe(u) ? u.value = h : null),
1724
+ modelValue: k(a),
1725
+ "onUpdate:modelValue": s[2] || (s[2] = (h) => Fe(a) ? a.value = h : null),
1713
1726
  "close-on-content-click": !1,
1714
1727
  scrim: "transparent"
1715
1728
  }, {
1716
1729
  activator: J(({ props: h }) => [
1717
- z("div", Rs, [
1730
+ z("div", Bs, [
1718
1731
  z("div", {
1719
1732
  class: "flex-grow-1",
1720
1733
  style: le(o.value)
1721
1734
  }, [
1722
- B(v, qt(h, {
1735
+ N(v, qt(h, {
1723
1736
  density: "comfortable",
1724
1737
  color: r.value,
1725
1738
  block: "",
1726
1739
  disabled: l.value
1727
1740
  }), {
1728
1741
  default: J(() => [
1729
- at(ne(r.value ? r.value : E(n)("x-runtime-lib.notSet")), 1)
1742
+ at(ne(r.value ? r.value : k(n)("x-runtime-lib.notSet")), 1)
1730
1743
  ]),
1731
1744
  _: 2
1732
1745
  }, 1040, ["color", "disabled"])
1733
1746
  ], 4),
1734
- a.hasDelete ? (w(), F(d, {
1747
+ u.hasDelete ? (w(), F(d, {
1735
1748
  key: 0,
1736
1749
  class: "mx-2",
1737
- icon: E(ye),
1750
+ icon: k(ge),
1738
1751
  onClick: s[0] || (s[0] = q((P) => i("delete"), ["stop"]))
1739
1752
  }, null, 8, ["icon"])) : I("", !0)
1740
1753
  ])
1741
1754
  ]),
1742
1755
  default: J(() => [
1743
- B(f, {
1756
+ N(f, {
1744
1757
  modelValue: r.value,
1745
1758
  "onUpdate:modelValue": s[1] || (s[1] = (h) => r.value = h),
1746
1759
  mode: "hexa",
@@ -1754,7 +1767,7 @@ const Rs = { class: "d-flex justify-space-between align-center" }, ks = /* @__PU
1754
1767
  }
1755
1768
  });
1756
1769
  function Fs(e) {
1757
- return { renderUiColorPicker: (n, r, i, o, l) => r.ui !== "colorPicker" ? (console.assert(!1), _("div", "renderUiColorPicker prop ui must be colorPicker")) : _(ks, {
1770
+ return { renderUiColorPicker: (n, r, i, o, l) => r.ui !== "colorPicker" ? (console.assert(!1), _("div", "renderUiColorPicker prop ui must be colorPicker")) : _(Rs, {
1758
1771
  modelValue: ce(
1759
1772
  n,
1760
1773
  r,
@@ -1763,12 +1776,12 @@ function Fs(e) {
1763
1776
  o,
1764
1777
  l
1765
1778
  ),
1766
- "onUpdate:modelValue": (u) => {
1779
+ "onUpdate:modelValue": (a) => {
1767
1780
  he(
1768
1781
  n,
1769
1782
  r,
1770
1783
  i,
1771
- u,
1784
+ a,
1772
1785
  e,
1773
1786
  o,
1774
1787
  l
@@ -1792,10 +1805,10 @@ const Hs = { class: "d-flex justify-space-between align-center my-2" }, Gs = { c
1792
1805
  }),
1793
1806
  emits: /* @__PURE__ */ X(["delete"], ["update:modelValue"]),
1794
1807
  setup(e, { emit: t }) {
1795
- const { t: n } = ue(), r = oe(e, "modelValue"), i = t, o = hn(), l = k(() => {
1808
+ const { t: n } = ue(), r = oe(e, "modelValue"), i = t, o = hn(), l = R(() => {
1796
1809
  var f;
1797
1810
  return (f = zt[o.value]) == null ? void 0 : f.types[e.types];
1798
- }), u = R(0), a = k(() => {
1811
+ }), a = B(0), u = R(() => {
1799
1812
  var p;
1800
1813
  const f = [];
1801
1814
  return (p = l.value) == null || p.forEach(({ title: h }, P) => {
@@ -1807,15 +1820,15 @@ const Hs = { class: "d-flex justify-space-between align-center my-2" }, Gs = { c
1807
1820
  });
1808
1821
  mt(() => {
1809
1822
  var f;
1810
- (f = l.value) == null || f.some((p, h) => p.validator(r.value) ? (u.value = h, !0) : !1);
1823
+ (f = l.value) == null || f.some((p, h) => p.validator(r.value) ? (a.value = h, !0) : !1);
1811
1824
  });
1812
- const s = k(() => {
1825
+ const s = R(() => {
1813
1826
  var f;
1814
- return (f = l.value) == null ? void 0 : f[u.value];
1827
+ return (f = l.value) == null ? void 0 : f[a.value];
1815
1828
  }), v = () => {
1816
1829
  var f;
1817
1830
  r.value = (f = s.value) == null ? void 0 : f.default;
1818
- }, d = R(0);
1831
+ }, d = B(0);
1819
1832
  return mt(() => {
1820
1833
  var f, p;
1821
1834
  ((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));
@@ -1824,17 +1837,17 @@ const Hs = { class: "d-flex justify-space-between align-center my-2" }, Gs = { c
1824
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 + "%");
1825
1838
  }), (f, p) => {
1826
1839
  var $, O;
1827
- const h = M("v-select"), P = M("v-number-input"), A = M("v-icon"), C = ae("ripple");
1840
+ const h = V("v-select"), P = V("v-number-input"), A = V("v-icon"), C = ae("ripple");
1828
1841
  return w(), H("div", Hs, [
1829
1842
  z("div", Gs, [
1830
- re(B(h, {
1831
- modelValue: u.value,
1843
+ re(N(h, {
1844
+ modelValue: a.value,
1832
1845
  "onUpdate:modelValue": [
1833
- p[0] || (p[0] = (T) => u.value = T),
1846
+ p[0] || (p[0] = (T) => a.value = T),
1834
1847
  v
1835
1848
  ],
1836
1849
  density: "compact",
1837
- items: a.value,
1850
+ items: u.value,
1838
1851
  "hide-details": "",
1839
1852
  "single-line": ""
1840
1853
  }, null, 8, ["modelValue", "items"]), [
@@ -1869,7 +1882,7 @@ const Hs = { class: "d-flex justify-space-between align-center my-2" }, Gs = { c
1869
1882
  f.hasDelete ? (w(), F(A, {
1870
1883
  key: 0,
1871
1884
  class: "mx-2",
1872
- icon: E(ye),
1885
+ icon: k(ge),
1873
1886
  onClick: p[2] || (p[2] = q((T) => i("delete"), ["stop"]))
1874
1887
  }, null, 8, ["icon"])) : I("", !0)
1875
1888
  ]);
@@ -1886,12 +1899,12 @@ function qs(e) {
1886
1899
  o,
1887
1900
  l
1888
1901
  ),
1889
- "onUpdate:modelValue": (u) => {
1902
+ "onUpdate:modelValue": (a) => {
1890
1903
  he(
1891
1904
  n,
1892
1905
  r,
1893
1906
  i,
1894
- u,
1907
+ a,
1895
1908
  e,
1896
1909
  o,
1897
1910
  l
@@ -1914,46 +1927,46 @@ const zs = /* @__PURE__ */ K({
1914
1927
  },
1915
1928
  emits: ["change"],
1916
1929
  setup(e, { emit: t }) {
1917
- const { t: n } = ue(), { backgroundColor1: r } = we(), i = e, o = t, l = R("20px"), u = R("56px"), a = R("200px"), s = Nn({}), v = R({}), d = (g, c) => {
1918
- Ft(v, i.config, i.object), o("change", g, c);
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 = (y, c) => {
1931
+ Ft(v, i.config, i.object), o("change", y, c);
1919
1932
  };
1920
1933
  Oe(
1921
1934
  [() => i.config, () => i.object],
1922
1935
  () => {
1923
- Ft(v, i.config, i.object, (g, c) => {
1924
- o("change", g, c);
1936
+ Ft(v, i.config, i.object, (y, c) => {
1937
+ o("change", y, c);
1925
1938
  });
1926
1939
  },
1927
1940
  { immediate: !0 }
1928
1941
  );
1929
- const f = R(i.version);
1942
+ const f = B(i.version);
1930
1943
  es(f), Oe(
1931
1944
  () => i.version,
1932
1945
  () => {
1933
1946
  f.value = i.version;
1934
1947
  }
1935
1948
  );
1936
- const p = R(i.config);
1949
+ const p = B(i.config);
1937
1950
  ts(p), Oe(
1938
1951
  () => i.config,
1939
1952
  () => {
1940
1953
  p.value = i.config;
1941
1954
  }
1942
1955
  );
1943
- const h = R(i.object);
1956
+ const h = B(i.object);
1944
1957
  rs(h), Oe(
1945
1958
  () => i.object,
1946
1959
  () => {
1947
1960
  h.value = i.object;
1948
1961
  }
1949
1962
  ), is(v), ss(d);
1950
- const P = R([]);
1963
+ const P = B([]);
1951
1964
  us(P);
1952
1965
  const A = () => {
1953
- const { compGroups: g, comps: c } = Gn.app.activeApp, y = [];
1954
- g.forEach(({ id: m, name: b, position: x }) => {
1966
+ const { compGroups: y, comps: c } = Gn.app.activeApp, g = [];
1967
+ y.forEach(({ id: m, name: b, position: x }) => {
1955
1968
  const D = P.value.find((Q) => Q.id === m);
1956
- y.push({
1969
+ g.push({
1957
1970
  id: m,
1958
1971
  type: 0,
1959
1972
  name: b,
@@ -1961,8 +1974,8 @@ const zs = /* @__PURE__ */ K({
1961
1974
  collapse: (D == null ? void 0 : D.collapse) ?? !0
1962
1975
  });
1963
1976
  }), c.forEach(({ id: m, groupid: b, name: x, position: D }) => {
1964
- y.push({ id: m, type: 1, name: x, position: D, group: b });
1965
- }), ql(y, !0), P.value = y;
1977
+ g.push({ id: m, type: 1, name: x, position: D, group: b });
1978
+ }), ql(g, !0), P.value = g;
1966
1979
  };
1967
1980
  let C;
1968
1981
  const $ = () => {
@@ -1972,19 +1985,19 @@ const zs = /* @__PURE__ */ K({
1972
1985
  }, O = () => {
1973
1986
  clearTimeout(C), C = void 0;
1974
1987
  };
1975
- Bn(() => {
1988
+ Nn(() => {
1976
1989
  $();
1977
- }), Rn(() => {
1990
+ }), Bn(() => {
1978
1991
  O();
1979
1992
  });
1980
- const { renderProp: T } = vs(v, u, a), { 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 } = qs(d), { renderUiCompSelect: Cn } = Bs(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) : Vn(g, c, y, b, x) : c.array ? Pn(g, c, y, m, b, x) : On(
1981
- g,
1982
- c,
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 } = qs(d), { renderUiCompSelect: Cn } = Ns(d), De = (y, c, g, m, b, x) => (y = an(y), b !== void 0 ? (y.push(b), x && y.push(c.key)) : y.push(c.key), c.ui ? c.array && m ? xn(y, c, g, m, b, x) : Mn(y, c, g, b, x) : c.array ? Pn(y, c, g, m, b, x) : On(
1983
1994
  y,
1995
+ c,
1996
+ g,
1984
1997
  m,
1985
1998
  b,
1986
1999
  x
1987
- )), Pn = (g, c, y, m, b, x) => {
2000
+ )), Pn = (y, c, g, m, b, x) => {
1988
2001
  if (c.ui)
1989
2002
  return console.assert(!1), _("div", "renderBranchArray prop ui must be invalid");
1990
2003
  if (!c.array)
@@ -1992,10 +2005,10 @@ const zs = /* @__PURE__ */ K({
1992
2005
  if (!m)
1993
2006
  return console.assert(!1), _("div", "renderBranchArray branch must be valid");
1994
2007
  let D;
1995
- b !== void 0 && !x ? (y[b] instanceof Array || (y[b] = N(c), d(g, y[c.key])), D = y[b]) : (y[c.key] instanceof Array || (y[c.key] = N(c), d(g, y[c.key])), D = y[c.key]);
2008
+ b !== void 0 && !x ? (g[b] instanceof Array || (g[b] = E(c), d(y, g[c.key])), D = g[b]) : (g[c.key] instanceof Array || (g[c.key] = E(c), d(y, g[c.key])), D = g[c.key]);
1996
2009
  let Q = n(c.name);
1997
- m.collapse && be(v.value, g) && (Q += " *");
1998
- const Ae = _(Re, {
2010
+ m.collapse && be(v.value, y) && (Q += " *");
2011
+ const Ae = _(Be, {
1999
2012
  title: Q,
2000
2013
  collapse: m.collapse,
2001
2014
  hasCreate: !0,
@@ -2003,10 +2016,10 @@ const zs = /* @__PURE__ */ K({
2003
2016
  m.collapse = S;
2004
2017
  },
2005
2018
  onMenu: (S, j) => {
2006
- _e.emit("propTreeMenu", { x: S, y: j, keys: g });
2019
+ _e.emit("propTreeMenu", { x: S, y: j, keys: y });
2007
2020
  },
2008
2021
  onCreate: () => {
2009
- D.push({}), d(g, D);
2022
+ D.push({}), d(y, D);
2010
2023
  }
2011
2024
  }), G = _(
2012
2025
  "div",
@@ -2026,10 +2039,10 @@ const zs = /* @__PURE__ */ K({
2026
2039
  collapse: !0,
2027
2040
  children: {}
2028
2041
  });
2029
- const je = [...g, j], Ee = m.children[j];
2042
+ const je = [...y, j], ke = m.children[j];
2030
2043
  let vt = `[${j + 1}]`;
2031
2044
  m.children[j].collapse && be(v.value, je) && (vt += " *");
2032
- const Un = _(Re, {
2045
+ const Un = _(Be, {
2033
2046
  title: vt,
2034
2047
  collapse: m.children[j].collapse,
2035
2048
  hasDelete: !0,
@@ -2049,7 +2062,7 @@ const zs = /* @__PURE__ */ K({
2049
2062
  console.assert(!1);
2050
2063
  return;
2051
2064
  }
2052
- m.children.splice(ee, 1), D.splice(ee, 1), d(g, D);
2065
+ m.children.splice(ee, 1), D.splice(ee, 1), d(y, D);
2053
2066
  }
2054
2067
  });
2055
2068
  S.push(Un);
@@ -2063,19 +2076,19 @@ const zs = /* @__PURE__ */ K({
2063
2076
  (() => {
2064
2077
  const ee = [];
2065
2078
  return c.children.forEach((fe) => {
2066
- if (!kt(Ee.children)) {
2079
+ if (!Rt(ke.children)) {
2067
2080
  console.assert(!1);
2068
2081
  return;
2069
2082
  }
2070
- Ee.children[fe.key] || (Ee.children[fe.key] = {
2083
+ ke.children[fe.key] || (ke.children[fe.key] = {
2071
2084
  collapse: !0,
2072
2085
  children: fe.array ? [] : {}
2073
2086
  });
2074
2087
  const Dn = De(
2075
- g,
2088
+ y,
2076
2089
  fe,
2077
2090
  D[j],
2078
- Ee.children[fe.key],
2091
+ ke.children[fe.key],
2079
2092
  j,
2080
2093
  !0
2081
2094
  );
@@ -2100,7 +2113,7 @@ const zs = /* @__PURE__ */ K({
2100
2113
  return S.push(Ae), m.collapse || S.push(G), S;
2101
2114
  })()
2102
2115
  );
2103
- }, On = (g, c, y, m, b, x) => {
2116
+ }, On = (y, c, g, m, b, x) => {
2104
2117
  if (c.ui)
2105
2118
  return console.assert(!1), _("div", "renderBranchScalar prop ui must be invalid");
2106
2119
  if (c.array)
@@ -2108,8 +2121,8 @@ const zs = /* @__PURE__ */ K({
2108
2121
  if (!m)
2109
2122
  return console.assert(!1), _("div", "renderBranchScalar branch must be valid");
2110
2123
  let D = n(c.name);
2111
- m.collapse && be(v.value, g) && (D += " *");
2112
- const Q = _(Re, {
2124
+ m.collapse && be(v.value, y) && (D += " *");
2125
+ const Q = _(Be, {
2113
2126
  title: D,
2114
2127
  collapse: m.collapse,
2115
2128
  hasDelete: b !== void 0 && !x,
@@ -2117,10 +2130,10 @@ const zs = /* @__PURE__ */ K({
2117
2130
  m.collapse = G;
2118
2131
  },
2119
2132
  onMenu: (G, S) => {
2120
- _e.emit("propTreeMenu", { x: G, y: S, keys: g });
2133
+ _e.emit("propTreeMenu", { x: G, y: S, keys: y });
2121
2134
  },
2122
2135
  onDelete: () => {
2123
- b === void 0 || x || (y.splice(b, 1), d(g.slice(0, -1), y));
2136
+ b === void 0 || x || (g.splice(b, 1), d(y.slice(0, -1), g));
2124
2137
  }
2125
2138
  }), Ae = _(
2126
2139
  "div",
@@ -2132,7 +2145,7 @@ const zs = /* @__PURE__ */ K({
2132
2145
  (() => {
2133
2146
  const G = [];
2134
2147
  return c.children.forEach((S) => {
2135
- if (!kt(m.children)) {
2148
+ if (!Rt(m.children)) {
2136
2149
  console.assert(!1);
2137
2150
  return;
2138
2151
  }
@@ -2141,9 +2154,9 @@ const zs = /* @__PURE__ */ K({
2141
2154
  children: !S.ui && S.array ? [] : {}
2142
2155
  });
2143
2156
  const j = De(
2144
- g,
2157
+ y,
2145
2158
  S,
2146
- (typeof y[c.key] != "object" && (y[c.key] = {}, d(g, y[c.key])), y[c.key]),
2159
+ (typeof g[c.key] != "object" && (g[c.key] = {}, d(y, g[c.key])), g[c.key]),
2147
2160
  m.children[S.key]
2148
2161
  );
2149
2162
  G.push(j);
@@ -2162,7 +2175,7 @@ const zs = /* @__PURE__ */ K({
2162
2175
  return G.push(Q), m.collapse || G.push(Ae), G;
2163
2176
  })()
2164
2177
  );
2165
- }, xn = (g, c, y, m, b, x) => {
2178
+ }, xn = (y, c, g, m, b, x) => {
2166
2179
  if (!c.ui)
2167
2180
  return console.assert(!1), _("div", "renderLeafArray prop ui must be valid");
2168
2181
  if (!c.array)
@@ -2170,10 +2183,10 @@ const zs = /* @__PURE__ */ K({
2170
2183
  if (!m)
2171
2184
  return console.assert(!1), _("div", "renderLeafArray branch must be valid");
2172
2185
  let D;
2173
- b !== void 0 && !x ? (y[b] instanceof Array || (y[b] = N(c), d(g, y[b])), D = y[b]) : (y[c.key] instanceof Array || (y[c.key] = N(c), d(g, y[c.key])), D = y[c.key]);
2186
+ b !== void 0 && !x ? (g[b] instanceof Array || (g[b] = E(c), d(y, g[b])), D = g[b]) : (g[c.key] instanceof Array || (g[c.key] = E(c), d(y, g[c.key])), D = g[c.key]);
2174
2187
  let Q = n(c.name);
2175
- m.collapse && be(v.value, g) && (Q += " *");
2176
- const Ae = _(Re, {
2188
+ m.collapse && be(v.value, y) && (Q += " *");
2189
+ const Ae = _(Be, {
2177
2190
  title: Q,
2178
2191
  collapse: m.collapse,
2179
2192
  hasCreate: !0,
@@ -2181,10 +2194,10 @@ const zs = /* @__PURE__ */ K({
2181
2194
  m.collapse = S;
2182
2195
  },
2183
2196
  onMenu: (S, j) => {
2184
- _e.emit("propTreeMenu", { x: S, y: j, keys: g });
2197
+ _e.emit("propTreeMenu", { x: S, y: j, keys: y });
2185
2198
  },
2186
2199
  onCreate: () => {
2187
- D.push(N(c, !0)), d(g, D);
2200
+ D.push(E(c, !0)), d(y, D);
2188
2201
  }
2189
2202
  }), G = _(
2190
2203
  "div",
@@ -2196,7 +2209,7 @@ const zs = /* @__PURE__ */ K({
2196
2209
  (() => {
2197
2210
  const S = [];
2198
2211
  for (let j = 0; j < D.length; j++) {
2199
- const je = De(g, c, D, void 0, j, !1);
2212
+ const je = De(y, c, D, void 0, j, !1);
2200
2213
  S.push(je);
2201
2214
  }
2202
2215
  return S;
@@ -2214,12 +2227,12 @@ const zs = /* @__PURE__ */ K({
2214
2227
  return S.push(Ae), m.collapse || S.push(G), S;
2215
2228
  })()
2216
2229
  );
2217
- }, Vn = (g, c, y, m, b) => {
2230
+ }, Mn = (y, c, g, m, b) => {
2218
2231
  if (!c.ui)
2219
2232
  return console.assert(!1), _("div", "renderLeafScalar prop ui must be valid");
2220
2233
  let x;
2221
- 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");
2222
- }, Mn = () => _(
2234
+ return c.ui === "dummy" ? x = L(y, c, g, m, b) : c.ui === "strInput" ? x = W(y, c, g, m, b) : c.ui === "numInput" ? x = Ye(y, c, g, m, b) : c.ui === "switch" ? x = Tn(y, c, g, m, b) : c.ui === "select" ? x = Sn(y, c, g, m, b) : c.ui === "colorPicker" ? x = wn(y, c, g, m, b) : c.ui === "multiTypes" ? x = An(y, c, g, m, b) : c.ui === "compSelect" ? x = Cn(y, c, g, m, b) : console.assert(!1, "renderLeafScalar not implemented"), x ? T(y, c, x) : _("div");
2235
+ }, Vn = () => _(
2223
2236
  "div",
2224
2237
  {
2225
2238
  class: "text-body-2",
@@ -2228,25 +2241,25 @@ const zs = /* @__PURE__ */ K({
2228
2241
  }
2229
2242
  },
2230
2243
  (() => {
2231
- const g = [];
2244
+ const y = [];
2232
2245
  if (i.unique && i.config.length > 0 && i.object) {
2233
2246
  s[i.unique] || (s[i.unique] = {});
2234
2247
  const c = s[i.unique];
2235
- i.config.forEach((y) => {
2236
- c[y.key] || (c[y.key] = {
2248
+ i.config.forEach((g) => {
2249
+ c[g.key] || (c[g.key] = {
2237
2250
  collapse: !0,
2238
- children: !y.ui && y.array ? [] : {}
2251
+ children: !g.ui && g.array ? [] : {}
2239
2252
  });
2240
- const m = De([], y, i.object, c[y.key]);
2241
- g.push(m);
2253
+ const m = De([], g, i.object, c[g.key]);
2254
+ y.push(m);
2242
2255
  });
2243
2256
  }
2244
- return g;
2257
+ return y;
2245
2258
  })()
2246
2259
  );
2247
- return (g, c) => (w(), H(He, null, [
2248
- B(Mn),
2249
- B(cs, {
2260
+ return (y, c) => (w(), H(He, null, [
2261
+ N(Vn),
2262
+ N(cs, {
2250
2263
  config: i.config,
2251
2264
  object: i.object,
2252
2265
  "prop-states": v.value