x-prop-tree 0.6.5 → 0.6.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,10 +1,10 @@
1
- import { provide as xe, inject as Me, defineComponent as z, ref as B, computed as G, resolveComponent as O, createBlock as R, openBlock as S, unref as E, isRef as Fe, withCtx as J, createVNode as k, createElementBlock as F, Fragment as He, renderList as Ht, createTextVNode as st, toDisplayString as ne, resolveDirective as ae, withDirectives as re, withModifiers as K, normalizeStyle as ie, createElementVNode as q, createCommentVNode as X, renderSlot as Mn, h, mergeModels as I, useModel as oe, useId as Gt, onUnmounted as zt, withKeys as Un, mergeProps as Kt, watchEffect as vt, watch as Be, reactive as Ln, onMounted as Dn, onBeforeUnmount as jn } from "vue";
2
- import { useI18n as de } from "vue-i18n";
1
+ import { provide as Me, inject as Ue, defineComponent as z, ref as k, computed as F, resolveComponent as O, createBlock as R, openBlock as S, unref as E, isRef as Fe, withCtx as J, createVNode as B, createElementBlock as H, Fragment as He, renderList as Ht, createTextVNode as st, toDisplayString as re, resolveDirective as le, withDirectives as Y, withModifiers as K, normalizeStyle as ae, createElementVNode as q, createCommentVNode as I, renderSlot as Un, h as _, mergeModels as X, useModel as oe, useId as Gt, onUnmounted as zt, withKeys as Vn, mergeProps as Kt, watchEffect as mt, watch as ke, reactive as Ln, onMounted as Dn, onBeforeUnmount as jn } from "vue";
2
+ import { useI18n as ie } from "vue-i18n";
3
3
  import { useViewStack as at, useColor as Te, eventBus as _e, useSystem as En } from "x-essential-lib";
4
- import { getPropDefault as N, parsePixelStr as Nn, parsePercentStr as kn } from "x-runtime-lib";
5
- import { useDisplay as Bn } from "vuetify";
4
+ import { getPropDefault as N, parsePixelStr as Nn, parsePercentStr as Bn } from "x-runtime-lib";
5
+ import { useDisplay as kn } from "vuetify";
6
6
  import { globalState as Rn } from "x-state-lib";
7
- var qt = typeof global == "object" && global && global.Object === Object && global, Fn = typeof self == "object" && self && self.Object === Object && self, Y = qt || Fn || Function("return this")(), se = Y.Symbol, Xt = Object.prototype, Hn = Xt.hasOwnProperty, Gn = Xt.toString, we = se ? se.toStringTag : void 0;
7
+ var qt = typeof global == "object" && global && global.Object === Object && global, Fn = typeof self == "object" && self && self.Object === Object && self, Q = qt || Fn || Function("return this")(), ue = Q.Symbol, It = Object.prototype, Hn = It.hasOwnProperty, Gn = It.toString, we = ue ? ue.toStringTag : void 0;
8
8
  function zn(e) {
9
9
  var t = Hn.call(e, we), n = e[we];
10
10
  try {
@@ -16,14 +16,14 @@ function zn(e) {
16
16
  return r && (t ? e[we] = n : delete e[we]), l;
17
17
  }
18
18
  var Kn = Object.prototype, qn = Kn.toString;
19
- function Xn(e) {
19
+ function In(e) {
20
20
  return qn.call(e);
21
21
  }
22
- var In = "[object Null]", Zn = "[object Undefined]", gt = se ? se.toStringTag : void 0;
23
- function Ue(e) {
24
- return e == null ? e === void 0 ? Zn : In : gt && gt in Object(e) ? zn(e) : Xn(e);
22
+ var Xn = "[object Null]", Zn = "[object Undefined]", gt = ue ? ue.toStringTag : void 0;
23
+ function Ve(e) {
24
+ return e == null ? e === void 0 ? Zn : Xn : gt && gt in Object(e) ? zn(e) : In(e);
25
25
  }
26
- function ce(e) {
26
+ function de(e) {
27
27
  return e != null && typeof e == "object";
28
28
  }
29
29
  var Pe = Array.isArray;
@@ -32,13 +32,13 @@ function qe(e) {
32
32
  return e != null && (t == "object" || t == "function");
33
33
  }
34
34
  var Jn = "[object AsyncFunction]", Wn = "[object Function]", Yn = "[object GeneratorFunction]", Qn = "[object Proxy]";
35
- function It(e) {
35
+ function Xt(e) {
36
36
  if (!qe(e))
37
37
  return !1;
38
- var t = Ue(e);
38
+ var t = Ve(e);
39
39
  return t == Wn || t == Yn || t == Jn || t == Qn;
40
40
  }
41
- var Ye = Y["__core-js_shared__"], yt = function() {
41
+ var Ye = Q["__core-js_shared__"], yt = function() {
42
42
  var e = /[^.]+$/.exec(Ye && Ye.keys && Ye.keys.IE_PROTO || "");
43
43
  return e ? "Symbol(src)_1." + e : "";
44
44
  }();
@@ -46,7 +46,7 @@ function er(e) {
46
46
  return !!yt && yt in e;
47
47
  }
48
48
  var tr = Function.prototype, nr = tr.toString;
49
- function pe(e) {
49
+ function ve(e) {
50
50
  if (e != null) {
51
51
  try {
52
52
  return nr.call(e);
@@ -65,8 +65,8 @@ var rr = /[\\^$.*+?()[\]{}|]/g, or = /^\[object .+?Constructor\]$/, lr = Functio
65
65
  function cr(e) {
66
66
  if (!qe(e) || er(e))
67
67
  return !1;
68
- var t = It(e) ? ur : or;
69
- return t.test(pe(e));
68
+ var t = Xt(e) ? ur : or;
69
+ return t.test(ve(e));
70
70
  }
71
71
  function fr(e, t) {
72
72
  return e == null ? void 0 : e[t];
@@ -75,7 +75,7 @@ function me(e, t) {
75
75
  var n = fr(e, t);
76
76
  return cr(n) ? n : void 0;
77
77
  }
78
- var nt = me(Y, "WeakMap"), ht = Object.create, dr = /* @__PURE__ */ function() {
78
+ var nt = me(Q, "WeakMap"), ht = Object.create, dr = /* @__PURE__ */ function() {
79
79
  function e() {
80
80
  }
81
81
  return function(t) {
@@ -99,10 +99,10 @@ function pr(e, t) {
99
99
  ;
100
100
  return e;
101
101
  }
102
- var mr = 9007199254740991, vr = /^(?:0|[1-9]\d*)$/;
102
+ var vr = 9007199254740991, mr = /^(?:0|[1-9]\d*)$/;
103
103
  function gr(e, t) {
104
104
  var n = typeof e;
105
- return t = t ?? mr, !!t && (n == "number" || n != "symbol" && vr.test(e)) && e > -1 && e % 1 == 0 && e < t;
105
+ return t = t ?? vr, !!t && (n == "number" || n != "symbol" && mr.test(e)) && e > -1 && e % 1 == 0 && e < t;
106
106
  }
107
107
  function yr(e, t, n) {
108
108
  t == "__proto__" && _t ? _t(e, t, {
@@ -125,7 +125,7 @@ function Zt(e) {
125
125
  return typeof e == "number" && e > -1 && e % 1 == 0 && e <= $r;
126
126
  }
127
127
  function Tr(e) {
128
- return e != null && Zt(e.length) && !It(e);
128
+ return e != null && Zt(e.length) && !Xt(e);
129
129
  }
130
130
  var Sr = Object.prototype;
131
131
  function Jt(e) {
@@ -139,21 +139,21 @@ function wr(e, t) {
139
139
  }
140
140
  var Ar = "[object Arguments]";
141
141
  function bt(e) {
142
- return ce(e) && Ue(e) == Ar;
142
+ return de(e) && Ve(e) == Ar;
143
143
  }
144
144
  var Wt = Object.prototype, Cr = Wt.hasOwnProperty, Pr = Wt.propertyIsEnumerable, Or = bt(/* @__PURE__ */ function() {
145
145
  return arguments;
146
146
  }()) ? bt : function(e) {
147
- return ce(e) && Cr.call(e, "callee") && !Pr.call(e, "callee");
147
+ return de(e) && Cr.call(e, "callee") && !Pr.call(e, "callee");
148
148
  };
149
- function Vr() {
149
+ function xr() {
150
150
  return !1;
151
151
  }
152
- var Yt = typeof exports == "object" && exports && !exports.nodeType && exports, $t = Yt && typeof module == "object" && module && !module.nodeType && module, xr = $t && $t.exports === Yt, Tt = xr ? Y.Buffer : void 0, Mr = Tt ? Tt.isBuffer : void 0, Ge = Mr || Vr, Ur = "[object Arguments]", Lr = "[object Array]", Dr = "[object Boolean]", jr = "[object Date]", Er = "[object Error]", Nr = "[object Function]", kr = "[object Map]", Br = "[object Number]", Rr = "[object Object]", Fr = "[object RegExp]", Hr = "[object Set]", Gr = "[object String]", zr = "[object WeakMap]", Kr = "[object ArrayBuffer]", qr = "[object DataView]", Xr = "[object Float32Array]", Ir = "[object Float64Array]", Zr = "[object Int8Array]", Jr = "[object Int16Array]", Wr = "[object Int32Array]", Yr = "[object Uint8Array]", Qr = "[object Uint8ClampedArray]", eo = "[object Uint16Array]", to = "[object Uint32Array]", V = {};
153
- V[Xr] = V[Ir] = V[Zr] = V[Jr] = V[Wr] = V[Yr] = V[Qr] = V[eo] = V[to] = !0;
154
- V[Ur] = V[Lr] = V[Kr] = V[Dr] = V[qr] = V[jr] = V[Er] = V[Nr] = V[kr] = V[Br] = V[Rr] = V[Fr] = V[Hr] = V[Gr] = V[zr] = !1;
152
+ var Yt = typeof exports == "object" && exports && !exports.nodeType && exports, $t = Yt && typeof module == "object" && module && !module.nodeType && module, Mr = $t && $t.exports === Yt, Tt = Mr ? Q.Buffer : void 0, Ur = Tt ? Tt.isBuffer : void 0, Ge = Ur || xr, Vr = "[object Arguments]", Lr = "[object Array]", Dr = "[object Boolean]", jr = "[object Date]", Er = "[object Error]", Nr = "[object Function]", Br = "[object Map]", kr = "[object Number]", Rr = "[object Object]", Fr = "[object RegExp]", Hr = "[object Set]", Gr = "[object String]", zr = "[object WeakMap]", Kr = "[object ArrayBuffer]", qr = "[object DataView]", Ir = "[object Float32Array]", Xr = "[object Float64Array]", Zr = "[object Int8Array]", Jr = "[object Int16Array]", Wr = "[object Int32Array]", Yr = "[object Uint8Array]", Qr = "[object Uint8ClampedArray]", eo = "[object Uint16Array]", to = "[object Uint32Array]", x = {};
153
+ x[Ir] = x[Xr] = x[Zr] = x[Jr] = x[Wr] = x[Yr] = x[Qr] = x[eo] = x[to] = !0;
154
+ x[Vr] = x[Lr] = x[Kr] = x[Dr] = x[qr] = x[jr] = x[Er] = x[Nr] = x[Br] = x[kr] = x[Rr] = x[Fr] = x[Hr] = x[Gr] = x[zr] = !1;
155
155
  function no(e) {
156
- return ce(e) && Zt(e.length) && !!V[Ue(e)];
156
+ return de(e) && Zt(e.length) && !!x[Ve(e)];
157
157
  }
158
158
  function ct(e) {
159
159
  return function(t) {
@@ -168,13 +168,13 @@ var Qt = typeof exports == "object" && exports && !exports.nodeType && exports,
168
168
  }
169
169
  }(), St = $e && $e.isTypedArray, en = St ? ct(St) : no, oo = Object.prototype, lo = oo.hasOwnProperty;
170
170
  function io(e, t) {
171
- var n = Pe(e), r = !n && Or(e), l = !n && !r && Ge(e), o = !n && !r && !l && en(e), i = n || r || l || o, s = i ? wr(e.length, String) : [], a = s.length;
172
- for (var u in e)
173
- lo.call(e, u) && !(i && // Safari 9 has enumerable `arguments.length` in strict mode.
174
- (u == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
175
- l && (u == "offset" || u == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
176
- o && (u == "buffer" || u == "byteLength" || u == "byteOffset") || // Skip index properties.
177
- gr(u, a))) && s.push(u);
171
+ var n = Pe(e), r = !n && Or(e), l = !n && !r && Ge(e), o = !n && !r && !l && en(e), i = n || r || l || o, s = i ? wr(e.length, String) : [], u = s.length;
172
+ for (var a in e)
173
+ lo.call(e, a) && !(i && // Safari 9 has enumerable `arguments.length` in strict mode.
174
+ (a == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
175
+ l && (a == "offset" || a == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
176
+ o && (a == "buffer" || a == "byteLength" || a == "byteOffset") || // Skip index properties.
177
+ gr(a, u))) && s.push(a);
178
178
  return s;
179
179
  }
180
180
  function tn(e, t) {
@@ -198,16 +198,16 @@ var Oe = me(Object, "create");
198
198
  function po() {
199
199
  this.__data__ = Oe ? Oe(null) : {}, this.size = 0;
200
200
  }
201
- function mo(e) {
201
+ function vo(e) {
202
202
  var t = this.has(e) && delete this.__data__[e];
203
203
  return this.size -= t ? 1 : 0, t;
204
204
  }
205
- var vo = "__lodash_hash_undefined__", go = Object.prototype, yo = go.hasOwnProperty;
205
+ var mo = "__lodash_hash_undefined__", go = Object.prototype, yo = go.hasOwnProperty;
206
206
  function ho(e) {
207
207
  var t = this.__data__;
208
208
  if (Oe) {
209
209
  var n = t[e];
210
- return n === vo ? void 0 : n;
210
+ return n === mo ? void 0 : n;
211
211
  }
212
212
  return yo.call(t, e) ? t[e] : void 0;
213
213
  }
@@ -221,22 +221,22 @@ function So(e, t) {
221
221
  var n = this.__data__;
222
222
  return this.size += this.has(e) ? 0 : 1, n[e] = Oe && t === void 0 ? To : t, this;
223
223
  }
224
- function fe(e) {
224
+ function pe(e) {
225
225
  var t = -1, n = e == null ? 0 : e.length;
226
226
  for (this.clear(); ++t < n; ) {
227
227
  var r = e[t];
228
228
  this.set(r[0], r[1]);
229
229
  }
230
230
  }
231
- fe.prototype.clear = po;
232
- fe.prototype.delete = mo;
233
- fe.prototype.get = ho;
234
- fe.prototype.has = $o;
235
- fe.prototype.set = So;
231
+ pe.prototype.clear = po;
232
+ pe.prototype.delete = vo;
233
+ pe.prototype.get = ho;
234
+ pe.prototype.has = $o;
235
+ pe.prototype.set = So;
236
236
  function wo() {
237
237
  this.__data__ = [], this.size = 0;
238
238
  }
239
- function Xe(e, t) {
239
+ function Ie(e, t) {
240
240
  for (var n = e.length; n--; )
241
241
  if (ut(e[n][0], t))
242
242
  return n;
@@ -244,85 +244,85 @@ function Xe(e, t) {
244
244
  }
245
245
  var Ao = Array.prototype, Co = Ao.splice;
246
246
  function Po(e) {
247
- var t = this.__data__, n = Xe(t, e);
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
251
  return n == r ? t.pop() : Co.call(t, n, 1), --this.size, !0;
252
252
  }
253
253
  function Oo(e) {
254
- var t = this.__data__, n = Xe(t, e);
254
+ var t = this.__data__, n = Ie(t, e);
255
255
  return n < 0 ? void 0 : t[n][1];
256
256
  }
257
- function Vo(e) {
258
- return Xe(this.__data__, e) > -1;
257
+ function xo(e) {
258
+ return Ie(this.__data__, e) > -1;
259
259
  }
260
- function xo(e, t) {
261
- var n = this.__data__, r = Xe(n, e);
260
+ function Mo(e, t) {
261
+ var n = this.__data__, r = Ie(n, e);
262
262
  return r < 0 ? (++this.size, n.push([e, t])) : n[r][1] = t, this;
263
263
  }
264
- function le(e) {
264
+ function se(e) {
265
265
  var t = -1, n = e == null ? 0 : e.length;
266
266
  for (this.clear(); ++t < n; ) {
267
267
  var r = e[t];
268
268
  this.set(r[0], r[1]);
269
269
  }
270
270
  }
271
- le.prototype.clear = wo;
272
- le.prototype.delete = Po;
273
- le.prototype.get = Oo;
274
- le.prototype.has = Vo;
275
- le.prototype.set = xo;
276
- var Ve = me(Y, "Map");
277
- function Mo() {
271
+ se.prototype.clear = wo;
272
+ se.prototype.delete = Po;
273
+ se.prototype.get = Oo;
274
+ se.prototype.has = xo;
275
+ se.prototype.set = Mo;
276
+ var xe = me(Q, "Map");
277
+ function Uo() {
278
278
  this.size = 0, this.__data__ = {
279
- hash: new fe(),
280
- map: new (Ve || le)(),
281
- string: new fe()
279
+ hash: new pe(),
280
+ map: new (xe || se)(),
281
+ string: new pe()
282
282
  };
283
283
  }
284
- function Uo(e) {
284
+ function Vo(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
- function Ie(e, t) {
288
+ function Xe(e, t) {
289
289
  var n = e.__data__;
290
- return Uo(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
290
+ return Vo(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
291
291
  }
292
292
  function Lo(e) {
293
- var t = Ie(this, e).delete(e);
293
+ var t = Xe(this, e).delete(e);
294
294
  return this.size -= t ? 1 : 0, t;
295
295
  }
296
296
  function Do(e) {
297
- return Ie(this, e).get(e);
297
+ return Xe(this, e).get(e);
298
298
  }
299
299
  function jo(e) {
300
- return Ie(this, e).has(e);
300
+ return Xe(this, e).has(e);
301
301
  }
302
302
  function Eo(e, t) {
303
- var n = Ie(this, e), r = n.size;
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 ve(e) {
306
+ function ge(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
- ve.prototype.clear = Mo;
314
- ve.prototype.delete = Lo;
315
- ve.prototype.get = Do;
316
- ve.prototype.has = jo;
317
- ve.prototype.set = Eo;
313
+ ge.prototype.clear = Uo;
314
+ ge.prototype.delete = Lo;
315
+ ge.prototype.get = Do;
316
+ ge.prototype.has = jo;
317
+ ge.prototype.set = Eo;
318
318
  function No(e, t) {
319
319
  for (var n = -1, r = t.length, l = e.length; ++n < r; )
320
320
  e[l + n] = t[n];
321
321
  return e;
322
322
  }
323
- var ko = tn(Object.getPrototypeOf, Object);
324
- function Bo() {
325
- this.__data__ = new le(), this.size = 0;
323
+ var Bo = tn(Object.getPrototypeOf, Object);
324
+ function ko() {
325
+ this.__data__ = new se(), this.size = 0;
326
326
  }
327
327
  function Ro(e) {
328
328
  var t = this.__data__, n = t.delete(e);
@@ -337,43 +337,43 @@ function Ho(e) {
337
337
  var Go = 200;
338
338
  function zo(e, t) {
339
339
  var n = this.__data__;
340
- if (n instanceof le) {
340
+ if (n instanceof se) {
341
341
  var r = n.__data__;
342
- if (!Ve || r.length < Go - 1)
342
+ if (!xe || r.length < Go - 1)
343
343
  return r.push([e, t]), this.size = ++n.size, this;
344
- n = this.__data__ = new ve(r);
344
+ n = this.__data__ = new ge(r);
345
345
  }
346
346
  return n.set(e, t), this.size = n.size, this;
347
347
  }
348
- function te(e) {
349
- var t = this.__data__ = new le(e);
348
+ function ne(e) {
349
+ var t = this.__data__ = new se(e);
350
350
  this.size = t.size;
351
351
  }
352
- te.prototype.clear = Bo;
353
- te.prototype.delete = Ro;
354
- te.prototype.get = Fo;
355
- te.prototype.has = Ho;
356
- te.prototype.set = zo;
357
- var nn = typeof exports == "object" && exports && !exports.nodeType && exports, wt = nn && typeof module == "object" && module && !module.nodeType && module, Ko = wt && wt.exports === nn, At = Ko ? Y.Buffer : void 0;
352
+ ne.prototype.clear = ko;
353
+ ne.prototype.delete = Ro;
354
+ ne.prototype.get = Fo;
355
+ ne.prototype.has = Ho;
356
+ ne.prototype.set = zo;
357
+ var nn = typeof exports == "object" && exports && !exports.nodeType && exports, wt = nn && typeof module == "object" && module && !module.nodeType && module, Ko = wt && wt.exports === nn, At = Ko ? Q.Buffer : void 0;
358
358
  At && At.allocUnsafe;
359
359
  function qo(e, t) {
360
360
  return e.slice();
361
361
  }
362
- function Xo(e, t) {
362
+ function Io(e, t) {
363
363
  for (var n = -1, r = e == null ? 0 : e.length, l = 0, o = []; ++n < r; ) {
364
364
  var i = e[n];
365
365
  t(i, n, e) && (o[l++] = i);
366
366
  }
367
367
  return o;
368
368
  }
369
- function Io() {
369
+ function Xo() {
370
370
  return [];
371
371
  }
372
372
  var Zo = Object.prototype, Jo = Zo.propertyIsEnumerable, Ct = Object.getOwnPropertySymbols, Wo = Ct ? function(e) {
373
- return e == null ? [] : (e = Object(e), Xo(Ct(e), function(t) {
373
+ return e == null ? [] : (e = Object(e), Io(Ct(e), function(t) {
374
374
  return Jo.call(e, t);
375
375
  }));
376
- } : Io;
376
+ } : Xo;
377
377
  function Yo(e, t, n) {
378
378
  var r = t(e);
379
379
  return Pe(e) ? r : No(r, n(e));
@@ -381,21 +381,21 @@ function Yo(e, t, n) {
381
381
  function rt(e) {
382
382
  return Yo(e, fo, Wo);
383
383
  }
384
- var ot = me(Y, "DataView"), lt = me(Y, "Promise"), it = me(Y, "Set"), Pt = "[object Map]", Qo = "[object Object]", Ot = "[object Promise]", Vt = "[object Set]", xt = "[object WeakMap]", Mt = "[object DataView]", el = pe(ot), tl = pe(Ve), nl = pe(lt), rl = pe(it), ol = pe(nt), Z = Ue;
385
- (ot && Z(new ot(new ArrayBuffer(1))) != Mt || Ve && Z(new Ve()) != Pt || lt && Z(lt.resolve()) != Ot || it && Z(new it()) != Vt || nt && Z(new nt()) != xt) && (Z = function(e) {
386
- var t = Ue(e), n = t == Qo ? e.constructor : void 0, r = n ? pe(n) : "";
384
+ var ot = me(Q, "DataView"), lt = me(Q, "Promise"), it = me(Q, "Set"), Pt = "[object Map]", Qo = "[object Object]", Ot = "[object Promise]", xt = "[object Set]", Mt = "[object WeakMap]", Ut = "[object DataView]", el = ve(ot), tl = ve(xe), nl = ve(lt), rl = ve(it), ol = ve(nt), Z = Ve;
385
+ (ot && Z(new ot(new ArrayBuffer(1))) != Ut || xe && Z(new xe()) != Pt || lt && Z(lt.resolve()) != Ot || it && Z(new it()) != xt || nt && Z(new nt()) != Mt) && (Z = function(e) {
386
+ var t = Ve(e), n = t == Qo ? e.constructor : void 0, r = n ? ve(n) : "";
387
387
  if (r)
388
388
  switch (r) {
389
389
  case el:
390
- return Mt;
390
+ return Ut;
391
391
  case tl:
392
392
  return Pt;
393
393
  case nl:
394
394
  return Ot;
395
395
  case rl:
396
- return Vt;
397
- case ol:
398
396
  return xt;
397
+ case ol:
398
+ return Mt;
399
399
  }
400
400
  return t;
401
401
  });
@@ -404,7 +404,7 @@ function sl(e) {
404
404
  var t = e.length, n = new e.constructor(t);
405
405
  return t && typeof e[0] == "string" && il.call(e, "index") && (n.index = e.index, n.input = e.input), n;
406
406
  }
407
- var ze = Y.Uint8Array;
407
+ var ze = Q.Uint8Array;
408
408
  function ft(e) {
409
409
  var t = new e.constructor(e.byteLength);
410
410
  return new ze(t).set(new ze(e)), t;
@@ -418,7 +418,7 @@ function cl(e) {
418
418
  var t = new e.constructor(e.source, ul.exec(e));
419
419
  return t.lastIndex = e.lastIndex, t;
420
420
  }
421
- var Ut = se ? se.prototype : void 0, Lt = Ut ? Ut.valueOf : void 0;
421
+ var Vt = ue ? ue.prototype : void 0, Lt = Vt ? Vt.valueOf : void 0;
422
422
  function fl(e) {
423
423
  return Lt ? Object(Lt.call(e)) : {};
424
424
  }
@@ -426,14 +426,14 @@ function dl(e, t) {
426
426
  var n = ft(e.buffer);
427
427
  return new e.constructor(n, e.byteOffset, e.length);
428
428
  }
429
- var pl = "[object Boolean]", ml = "[object Date]", vl = "[object Map]", gl = "[object Number]", yl = "[object RegExp]", hl = "[object Set]", _l = "[object String]", bl = "[object Symbol]", $l = "[object ArrayBuffer]", Tl = "[object DataView]", Sl = "[object Float32Array]", wl = "[object Float64Array]", Al = "[object Int8Array]", Cl = "[object Int16Array]", Pl = "[object Int32Array]", Ol = "[object Uint8Array]", Vl = "[object Uint8ClampedArray]", xl = "[object Uint16Array]", Ml = "[object Uint32Array]";
430
- function Ul(e, t, n) {
429
+ var pl = "[object Boolean]", vl = "[object Date]", ml = "[object Map]", gl = "[object Number]", yl = "[object RegExp]", hl = "[object Set]", _l = "[object String]", bl = "[object Symbol]", $l = "[object ArrayBuffer]", Tl = "[object DataView]", Sl = "[object Float32Array]", wl = "[object Float64Array]", Al = "[object Int8Array]", Cl = "[object Int16Array]", Pl = "[object Int32Array]", Ol = "[object Uint8Array]", xl = "[object Uint8ClampedArray]", Ml = "[object Uint16Array]", Ul = "[object Uint32Array]";
430
+ function Vl(e, t, n) {
431
431
  var r = e.constructor;
432
432
  switch (t) {
433
433
  case $l:
434
434
  return ft(e);
435
435
  case pl:
436
- case ml:
436
+ case vl:
437
437
  return new r(+e);
438
438
  case Tl:
439
439
  return al(e);
@@ -443,11 +443,11 @@ function Ul(e, t, n) {
443
443
  case Cl:
444
444
  case Pl:
445
445
  case Ol:
446
- case Vl:
447
446
  case xl:
448
447
  case Ml:
448
+ case Ul:
449
449
  return dl(e);
450
- case vl:
450
+ case ml:
451
451
  return new r();
452
452
  case gl:
453
453
  case _l:
@@ -461,18 +461,18 @@ function Ul(e, t, n) {
461
461
  }
462
462
  }
463
463
  function Ll(e) {
464
- return typeof e.constructor == "function" && !Jt(e) ? dr(ko(e)) : {};
464
+ return typeof e.constructor == "function" && !Jt(e) ? dr(Bo(e)) : {};
465
465
  }
466
466
  var Dl = "[object Map]";
467
467
  function jl(e) {
468
- return ce(e) && Z(e) == Dl;
468
+ return de(e) && Z(e) == Dl;
469
469
  }
470
470
  var Dt = $e && $e.isMap, El = Dt ? ct(Dt) : jl, Nl = "[object Set]";
471
- function kl(e) {
472
- return ce(e) && Z(e) == Nl;
471
+ function Bl(e) {
472
+ return de(e) && Z(e) == Nl;
473
473
  }
474
- var jt = $e && $e.isSet, Bl = jt ? ct(jt) : kl, rn = "[object Arguments]", Rl = "[object Array]", Fl = "[object Boolean]", Hl = "[object Date]", Gl = "[object Error]", on = "[object Function]", zl = "[object GeneratorFunction]", Kl = "[object Map]", ql = "[object Number]", ln = "[object Object]", Xl = "[object RegExp]", Il = "[object Set]", Zl = "[object String]", Jl = "[object Symbol]", Wl = "[object WeakMap]", Yl = "[object ArrayBuffer]", Ql = "[object DataView]", ei = "[object Float32Array]", ti = "[object Float64Array]", ni = "[object Int8Array]", ri = "[object Int16Array]", oi = "[object Int32Array]", li = "[object Uint8Array]", ii = "[object Uint8ClampedArray]", si = "[object Uint16Array]", ai = "[object Uint32Array]", P = {};
475
- P[rn] = P[Rl] = P[Yl] = P[Ql] = P[Fl] = P[Hl] = P[ei] = P[ti] = P[ni] = P[ri] = P[oi] = P[Kl] = P[ql] = P[ln] = P[Xl] = P[Il] = P[Zl] = P[Jl] = P[li] = P[ii] = P[si] = P[ai] = !0;
474
+ var jt = $e && $e.isSet, kl = jt ? ct(jt) : Bl, rn = "[object Arguments]", Rl = "[object Array]", Fl = "[object Boolean]", Hl = "[object Date]", Gl = "[object Error]", on = "[object Function]", zl = "[object GeneratorFunction]", Kl = "[object Map]", ql = "[object Number]", ln = "[object Object]", Il = "[object RegExp]", Xl = "[object Set]", Zl = "[object String]", Jl = "[object Symbol]", Wl = "[object WeakMap]", Yl = "[object ArrayBuffer]", Ql = "[object DataView]", ei = "[object Float32Array]", ti = "[object Float64Array]", ni = "[object Int8Array]", ri = "[object Int16Array]", oi = "[object Int32Array]", li = "[object Uint8Array]", ii = "[object Uint8ClampedArray]", si = "[object Uint16Array]", ai = "[object Uint32Array]", P = {};
475
+ P[rn] = P[Rl] = P[Yl] = P[Ql] = P[Fl] = P[Hl] = P[ei] = P[ti] = P[ni] = P[ri] = P[oi] = P[Kl] = P[ql] = P[ln] = P[Il] = P[Xl] = P[Zl] = P[Jl] = P[li] = P[ii] = P[si] = P[ai] = !0;
476
476
  P[Gl] = P[on] = P[Wl] = !1;
477
477
  function Re(e, t, n, r, l, o) {
478
478
  var i;
@@ -484,29 +484,29 @@ function Re(e, t, n, r, l, o) {
484
484
  if (s)
485
485
  i = sl(e);
486
486
  else {
487
- var a = Z(e), u = a == on || a == zl;
487
+ var u = Z(e), a = u == on || u == zl;
488
488
  if (Ge(e))
489
489
  return qo(e);
490
- if (a == ln || a == rn || u && !l)
491
- i = u ? {} : Ll(e);
490
+ if (u == ln || u == rn || a && !l)
491
+ i = a ? {} : Ll(e);
492
492
  else {
493
- if (!P[a])
493
+ if (!P[u])
494
494
  return l ? e : {};
495
- i = Ul(e, a);
495
+ i = Vl(e, u);
496
496
  }
497
497
  }
498
- o || (o = new te());
498
+ o || (o = new ne());
499
499
  var d = o.get(e);
500
500
  if (d)
501
501
  return d;
502
- o.set(e, i), Bl(e) ? e.forEach(function(v) {
503
- i.add(Re(v, t, n, v, e, o));
504
- }) : El(e) && e.forEach(function(v, b) {
505
- i.set(b, Re(v, t, n, b, e, o));
502
+ o.set(e, i), kl(e) ? e.forEach(function(y) {
503
+ i.add(Re(y, t, n, y, e, o));
504
+ }) : El(e) && e.forEach(function(y, h) {
505
+ i.set(h, Re(y, t, n, h, e, o));
506
506
  });
507
- var f = rt, y = s ? void 0 : f(e);
508
- return pr(y || e, function(v, b) {
509
- y && (b = v, v = e[b]), br(i, b, Re(v, t, n, b, e, o));
507
+ var c = rt, g = s ? void 0 : c(e);
508
+ return pr(g || e, function(y, h) {
509
+ g && (h = y, y = e[h]), br(i, h, Re(y, t, n, h, e, o));
510
510
  }), i;
511
511
  }
512
512
  var ui = 1, ci = 4;
@@ -522,53 +522,53 @@ function pi(e) {
522
522
  }
523
523
  function Ke(e) {
524
524
  var t = -1, n = e == null ? 0 : e.length;
525
- for (this.__data__ = new ve(); ++t < n; )
525
+ for (this.__data__ = new ge(); ++t < n; )
526
526
  this.add(e[t]);
527
527
  }
528
528
  Ke.prototype.add = Ke.prototype.push = di;
529
529
  Ke.prototype.has = pi;
530
- function mi(e, t) {
530
+ function vi(e, t) {
531
531
  for (var n = -1, r = e == null ? 0 : e.length; ++n < r; )
532
532
  if (t(e[n], n, e))
533
533
  return !0;
534
534
  return !1;
535
535
  }
536
- function vi(e, t) {
536
+ function mi(e, t) {
537
537
  return e.has(t);
538
538
  }
539
539
  var gi = 1, yi = 2;
540
540
  function an(e, t, n, r, l, o) {
541
- var i = n & gi, s = e.length, a = t.length;
542
- if (s != a && !(i && a > s))
541
+ var i = n & gi, s = e.length, u = t.length;
542
+ if (s != u && !(i && u > s))
543
543
  return !1;
544
- var u = o.get(e), d = o.get(t);
545
- if (u && d)
546
- return u == t && d == e;
547
- var f = -1, y = !0, v = n & yi ? new Ke() : void 0;
548
- for (o.set(e, t), o.set(t, e); ++f < s; ) {
549
- var b = e[f], L = t[f];
544
+ var a = o.get(e), d = o.get(t);
545
+ if (a && d)
546
+ return a == t && d == e;
547
+ var c = -1, g = !0, y = n & yi ? new Ke() : void 0;
548
+ for (o.set(e, t), o.set(t, e); ++c < s; ) {
549
+ var h = e[c], M = t[c];
550
550
  if (r)
551
- var _ = i ? r(L, b, f, t, e, o) : r(b, L, f, e, t, o);
552
- if (_ !== void 0) {
553
- if (_)
551
+ var b = i ? r(M, h, c, t, e, o) : r(h, M, c, e, t, o);
552
+ if (b !== void 0) {
553
+ if (b)
554
554
  continue;
555
- y = !1;
555
+ g = !1;
556
556
  break;
557
557
  }
558
- if (v) {
559
- if (!mi(t, function(D, w) {
560
- if (!vi(v, w) && (b === D || l(b, D, n, r, o)))
561
- return v.push(w);
558
+ if (y) {
559
+ if (!vi(t, function(D, w) {
560
+ if (!mi(y, w) && (h === D || l(h, D, n, r, o)))
561
+ return y.push(w);
562
562
  })) {
563
- y = !1;
563
+ g = !1;
564
564
  break;
565
565
  }
566
- } else if (!(b === L || l(b, L, n, r, o))) {
567
- y = !1;
566
+ } else if (!(h === M || l(h, M, n, r, o))) {
567
+ g = !1;
568
568
  break;
569
569
  }
570
570
  }
571
- return o.delete(e), o.delete(t), y;
571
+ return o.delete(e), o.delete(t), g;
572
572
  }
573
573
  function hi(e) {
574
574
  var t = -1, n = Array(e.size);
@@ -582,14 +582,14 @@ function _i(e) {
582
582
  n[++t] = r;
583
583
  }), n;
584
584
  }
585
- var bi = 1, $i = 2, Ti = "[object Boolean]", Si = "[object Date]", wi = "[object Error]", Ai = "[object Map]", Ci = "[object Number]", Pi = "[object RegExp]", Oi = "[object Set]", Vi = "[object String]", xi = "[object Symbol]", Mi = "[object ArrayBuffer]", Ui = "[object DataView]", Et = se ? se.prototype : void 0, et = Et ? Et.valueOf : void 0;
585
+ var bi = 1, $i = 2, Ti = "[object Boolean]", Si = "[object Date]", wi = "[object Error]", Ai = "[object Map]", Ci = "[object Number]", Pi = "[object RegExp]", Oi = "[object Set]", xi = "[object String]", Mi = "[object Symbol]", Ui = "[object ArrayBuffer]", Vi = "[object DataView]", Et = ue ? ue.prototype : void 0, et = Et ? Et.valueOf : void 0;
586
586
  function Li(e, t, n, r, l, o, i) {
587
587
  switch (n) {
588
- case Ui:
588
+ case Vi:
589
589
  if (e.byteLength != t.byteLength || e.byteOffset != t.byteOffset)
590
590
  return !1;
591
591
  e = e.buffer, t = t.buffer;
592
- case Mi:
592
+ case Ui:
593
593
  return !(e.byteLength != t.byteLength || !o(new ze(e), new ze(t)));
594
594
  case Ti:
595
595
  case Si:
@@ -598,21 +598,21 @@ function Li(e, t, n, r, l, o, i) {
598
598
  case wi:
599
599
  return e.name == t.name && e.message == t.message;
600
600
  case Pi:
601
- case Vi:
601
+ case xi:
602
602
  return e == t + "";
603
603
  case Ai:
604
604
  var s = hi;
605
605
  case Oi:
606
- var a = r & bi;
607
- if (s || (s = _i), e.size != t.size && !a)
606
+ var u = r & bi;
607
+ if (s || (s = _i), e.size != t.size && !u)
608
608
  return !1;
609
- var u = i.get(e);
610
- if (u)
611
- return u == t;
609
+ var a = i.get(e);
610
+ if (a)
611
+ return a == t;
612
612
  r |= $i, i.set(e, t);
613
613
  var d = an(s(e), s(t), r, l, o, i);
614
614
  return i.delete(e), d;
615
- case xi:
615
+ case Mi:
616
616
  if (et)
617
617
  return et.call(e) == et.call(t);
618
618
  }
@@ -620,59 +620,59 @@ function Li(e, t, n, r, l, o, i) {
620
620
  }
621
621
  var Di = 1, ji = Object.prototype, Ei = ji.hasOwnProperty;
622
622
  function Ni(e, t, n, r, l, o) {
623
- var i = n & Di, s = rt(e), a = s.length, u = rt(t), d = u.length;
624
- if (a != d && !i)
623
+ var i = n & Di, s = rt(e), u = s.length, a = rt(t), d = a.length;
624
+ if (u != d && !i)
625
625
  return !1;
626
- for (var f = a; f--; ) {
627
- var y = s[f];
628
- if (!(i ? y in t : Ei.call(t, y)))
626
+ for (var c = u; c--; ) {
627
+ var g = s[c];
628
+ if (!(i ? g in t : Ei.call(t, g)))
629
629
  return !1;
630
630
  }
631
- var v = o.get(e), b = o.get(t);
632
- if (v && b)
633
- return v == t && b == e;
634
- var L = !0;
631
+ var y = o.get(e), h = o.get(t);
632
+ if (y && h)
633
+ return y == t && h == e;
634
+ var M = !0;
635
635
  o.set(e, t), o.set(t, e);
636
- for (var _ = i; ++f < a; ) {
637
- y = s[f];
638
- var D = e[y], w = t[y];
636
+ for (var b = i; ++c < u; ) {
637
+ g = s[c];
638
+ var D = e[g], w = t[g];
639
639
  if (r)
640
- var x = i ? r(w, D, y, t, e, o) : r(D, w, y, e, t, o);
641
- if (!(x === void 0 ? D === w || l(D, w, n, r, o) : x)) {
642
- L = !1;
640
+ var U = i ? r(w, D, g, t, e, o) : r(D, w, g, e, t, o);
641
+ if (!(U === void 0 ? D === w || l(D, w, n, r, o) : U)) {
642
+ M = !1;
643
643
  break;
644
644
  }
645
- _ || (_ = y == "constructor");
645
+ b || (b = g == "constructor");
646
646
  }
647
- if (L && !_) {
648
- var A = e.constructor, M = t.constructor;
649
- A != M && "constructor" in e && "constructor" in t && !(typeof A == "function" && A instanceof A && typeof M == "function" && M instanceof M) && (L = !1);
647
+ if (M && !b) {
648
+ var A = e.constructor, V = t.constructor;
649
+ A != V && "constructor" in e && "constructor" in t && !(typeof A == "function" && A instanceof A && typeof V == "function" && V instanceof V) && (M = !1);
650
650
  }
651
- return o.delete(e), o.delete(t), L;
651
+ return o.delete(e), o.delete(t), M;
652
652
  }
653
- var ki = 1, Nt = "[object Arguments]", kt = "[object Array]", Ee = "[object Object]", Bi = Object.prototype, Bt = Bi.hasOwnProperty;
653
+ var Bi = 1, Nt = "[object Arguments]", Bt = "[object Array]", Ee = "[object Object]", ki = Object.prototype, kt = ki.hasOwnProperty;
654
654
  function Ri(e, t, n, r, l, o) {
655
- var i = Pe(e), s = Pe(t), a = i ? kt : Z(e), u = s ? kt : Z(t);
656
- a = a == Nt ? Ee : a, u = u == Nt ? Ee : u;
657
- var d = a == Ee, f = u == Ee, y = a == u;
658
- if (y && Ge(e)) {
655
+ var i = Pe(e), s = Pe(t), u = i ? Bt : Z(e), a = s ? Bt : Z(t);
656
+ u = u == Nt ? Ee : u, a = a == Nt ? Ee : a;
657
+ var d = u == Ee, c = a == Ee, g = u == a;
658
+ if (g && Ge(e)) {
659
659
  if (!Ge(t))
660
660
  return !1;
661
661
  i = !0, d = !1;
662
662
  }
663
- if (y && !d)
664
- return o || (o = new te()), i || en(e) ? an(e, t, n, r, l, o) : Li(e, t, a, n, r, l, o);
665
- if (!(n & ki)) {
666
- var v = d && Bt.call(e, "__wrapped__"), b = f && Bt.call(t, "__wrapped__");
667
- if (v || b) {
668
- var L = v ? e.value() : e, _ = b ? t.value() : t;
669
- return o || (o = new te()), l(L, _, n, r, o);
663
+ if (g && !d)
664
+ return o || (o = new ne()), i || en(e) ? an(e, t, n, r, l, o) : Li(e, t, u, n, r, l, o);
665
+ if (!(n & Bi)) {
666
+ var y = d && kt.call(e, "__wrapped__"), h = c && kt.call(t, "__wrapped__");
667
+ if (y || h) {
668
+ var M = y ? e.value() : e, b = h ? t.value() : t;
669
+ return o || (o = new ne()), l(M, b, n, r, o);
670
670
  }
671
671
  }
672
- return y ? (o || (o = new te()), Ni(e, t, n, r, l, o)) : !1;
672
+ return g ? (o || (o = new ne()), Ni(e, t, n, r, l, o)) : !1;
673
673
  }
674
674
  function un(e, t, n, r, l) {
675
- return e === t ? !0 : e == null || t == null || !ce(e) && !ce(t) ? e !== e && t !== t : Ri(e, t, n, r, un, l);
675
+ return e === t ? !0 : e == null || t == null || !de(e) && !de(t) ? e !== e && t !== t : Ri(e, t, n, r, un, l);
676
676
  }
677
677
  function Ze(e, t) {
678
678
  return un(e, t);
@@ -690,8 +690,8 @@ function Fi(e, t) {
690
690
  const o = [];
691
691
  return n.forEach((i) => {
692
692
  const s = [];
693
- r.forEach((a) => {
694
- a.group === i.id && (a.show = !i.collapse, s.push(a));
693
+ r.forEach((u) => {
694
+ u.group === i.id && (u.show = !i.collapse, s.push(u));
695
695
  }), i.count = s.length, i.count > 0 && (o.push(i), o.push(...s));
696
696
  }), o;
697
697
  }
@@ -753,7 +753,7 @@ const Ne = (e, t) => {
753
753
  }, dt = (e) => !(e instanceof Array), pt = (e) => e instanceof Array, zi = [
754
754
  ["basic", "id"],
755
755
  ["basic", "name"]
756
- ], Ki = (e) => zi.find((t) => Ze(e, t)), Je = (e, t, n, r, l, o, i) => (e = sn(e), o !== void 0 ? (e.push(o), i && e.push(t.key)) : e.push(t.key), Ki(e) ? (r.change = !1, r.change) : t.ui ? t.array && o === void 0 ? Ii(
756
+ ], Ki = (e) => zi.find((t) => Ze(e, t)), Je = (e, t, n, r, l, o, i) => (e = sn(e), o !== void 0 ? (e.push(o), i && e.push(t.key)) : e.push(t.key), Ki(e) ? (r.change = !1, r.change) : t.ui ? t.array && o === void 0 ? Xi(
757
757
  e,
758
758
  t,
759
759
  n,
@@ -769,7 +769,7 @@ const Ne = (e, t) => {
769
769
  l,
770
770
  o,
771
771
  i
772
- ) : Xi(
772
+ ) : Ii(
773
773
  e,
774
774
  t,
775
775
  n,
@@ -786,33 +786,33 @@ const Ne = (e, t) => {
786
786
  return console.assert(!1, "execPropBranchArray state children must be array"), !1;
787
787
  let s;
788
788
  o !== void 0 && !i ? (n[o] instanceof Array || (n[o] = N(t), l == null || l(e, n[o])), s = n[o]) : (n[t.key] instanceof Array || (n[t.key] = N(t), l == null || l(e, n[t.key])), s = n[t.key]), r.change = !1;
789
- for (let a = 0; a < s.length; a++) {
789
+ for (let u = 0; u < s.length; u++) {
790
790
  r.children.push({
791
791
  change: !1,
792
792
  children: {}
793
793
  });
794
- const u = r.children[a];
794
+ const a = r.children[u];
795
795
  t.children.forEach((d) => {
796
- if (!dt(u.children)) {
796
+ if (!dt(a.children)) {
797
797
  console.assert(!1);
798
798
  return;
799
799
  }
800
- u.children[d.key] = {
800
+ a.children[d.key] = {
801
801
  change: !1,
802
802
  children: d.array ? [] : {}
803
803
  }, Je(
804
804
  e,
805
805
  d,
806
- s[a],
807
- u.children[d.key],
806
+ s[u],
807
+ a.children[d.key],
808
808
  l,
809
- a,
809
+ u,
810
810
  !0
811
- ) && (u.change = !0), u.change && (r.change = !0);
811
+ ) && (a.change = !0), a.change && (r.change = !0);
812
812
  });
813
813
  }
814
814
  return r.change || (r.change = !Ze(s, N(t))), r.change;
815
- }, Xi = (e, t, n, r, l, o, i) => {
815
+ }, Ii = (e, t, n, r, l, o, i) => {
816
816
  if (t.ui)
817
817
  return console.assert(!1, "execPropBranchScalar prop ui must be invalid"), !1;
818
818
  if (t.array)
@@ -821,15 +821,15 @@ const Ne = (e, t) => {
821
821
  return console.assert(!1, "execPropBranchScalar state children must be map"), !1;
822
822
  let s;
823
823
  o !== void 0 && !i ? (n[o] || (n[o] = {}), s = n[o]) : (n[t.key] || (n[t.key] = {}), s = n[t.key]), r.change = !1;
824
- for (let a = 0; a < t.children.length; a++) {
825
- const u = t.children[a];
826
- r.children[u.key] = {
824
+ for (let u = 0; u < t.children.length; u++) {
825
+ const a = t.children[u];
826
+ r.children[a.key] = {
827
827
  change: !1,
828
- children: u.array ? [] : {}
829
- }, Je(e, u, s, r.children[u.key], l) && (r.change = !0);
828
+ children: a.array ? [] : {}
829
+ }, Je(e, a, s, r.children[a.key], l) && (r.change = !0);
830
830
  }
831
831
  return r.change;
832
- }, Ii = (e, t, n, r, l, o, i) => {
832
+ }, Xi = (e, t, n, r, l, o, i) => {
833
833
  if (!t.ui)
834
834
  return console.assert(!1, "execPropLeafArray prop ui must be valid"), !1;
835
835
  if (!t.array)
@@ -838,11 +838,11 @@ const Ne = (e, t) => {
838
838
  return console.assert(!1, "execPropLeafArray state children must be array"), !1;
839
839
  let s;
840
840
  o !== void 0 && !i ? (n[o] instanceof Array || (n[o] = N(t), l == null || l(e, n[o])), s = n[o]) : (n[t.key] instanceof Array || (n[t.key] = N(t), l == null || l(e, n[t.key])), s = n[t.key]), r.change = !1;
841
- for (let a = 0; a < s.length; a++)
842
- r.children[a] = {
841
+ for (let u = 0; u < s.length; u++)
842
+ r.children[u] = {
843
843
  change: !1,
844
844
  children: {}
845
- }, Je(e, t, s, r.children[a], l, a, !1) && (r.change = !0);
845
+ }, Je(e, t, s, r.children[u], l, u, !1) && (r.change = !0);
846
846
  return r.change || (r.change = !Ze(s, N(t))), r.change;
847
847
  }, Zi = (e, t, n, r, l) => {
848
848
  if (!e.ui)
@@ -868,100 +868,100 @@ const Ne = (e, t) => {
868
868
  return console.assert(!1, `isPropChanged state must be valid keys=${t}`), !1;
869
869
  typeof r == "string" ? dt(n.children) && (n = n.children[r]) : pt(n.children) && (n = n.children[r]);
870
870
  }), (n == null ? void 0 : n.change) ?? !1;
871
- }, fn = Symbol(), dn = Symbol(), pn = Symbol(), mn = Symbol(), vn = Symbol();
871
+ }, fn = Symbol(), dn = Symbol(), pn = Symbol(), vn = Symbol(), mn = Symbol();
872
872
  function Ji(e) {
873
- xe(fn, e);
873
+ Me(fn, e);
874
874
  }
875
875
  function Wi() {
876
- return Me(fn);
876
+ return Ue(fn);
877
877
  }
878
878
  function Yi(e) {
879
- xe(dn, e);
879
+ Me(dn, e);
880
880
  }
881
881
  function Qi() {
882
- return Me(dn);
882
+ return Ue(dn);
883
883
  }
884
884
  function es(e) {
885
- xe(pn, e);
885
+ Me(pn, e);
886
886
  }
887
887
  function ts() {
888
- return Me(pn);
888
+ return Ue(pn);
889
889
  }
890
890
  function ns(e) {
891
- xe(mn, e);
891
+ Me(vn, e);
892
892
  }
893
893
  function rs() {
894
- return Me(mn);
894
+ return Ue(vn);
895
895
  }
896
896
  function os(e) {
897
- xe(vn, e);
897
+ Me(mn, e);
898
898
  }
899
899
  function gn() {
900
- return Me(vn);
900
+ return Ue(mn);
901
901
  }
902
902
  const ls = /* @__PURE__ */ z({
903
903
  __name: "menu",
904
904
  setup(e) {
905
- const { t } = de(), n = Wi(), r = Qi(), l = ts(), o = rs(), i = B(0), s = B(0), a = B([]), u = G(() => [i.value, s.value]), d = (_) => {
906
- const D = () => !(a.value.length <= 0 || !be(l.value, a.value)), w = () => {
905
+ const { t } = ie(), n = Wi(), r = Qi(), l = ts(), o = rs(), i = k(0), s = k(0), u = k([]), a = F(() => [i.value, s.value]), d = (b) => {
906
+ const D = () => !(u.value.length <= 0 || !be(l.value, u.value)), w = () => {
907
907
  if (!D())
908
908
  return;
909
- const x = Ne(n.value, a.value);
910
- if (x)
911
- if (x.ui) {
912
- const A = Ae(r.value, a.value.slice(0, -1));
909
+ const U = Ne(n.value, u.value);
910
+ if (U)
911
+ if (U.ui) {
912
+ const A = Ae(r.value, u.value.slice(0, -1));
913
913
  if (!A)
914
914
  return;
915
- A[a.value.at(-1)] = N(x), o(a.value, A[a.value.at(-1)]);
916
- } else if (x.array) {
917
- const A = a.value.at(-1);
915
+ A[u.value.at(-1)] = N(U), o(u.value, A[u.value.at(-1)]);
916
+ } else if (U.array) {
917
+ const A = u.value.at(-1);
918
918
  if (A === void 0) {
919
919
  console.assert(!1, "invalid last key");
920
920
  return;
921
921
  }
922
922
  if (typeof A == "string") {
923
- const M = Ae(r.value, a.value.slice(0, -1));
924
- if (!M)
923
+ const V = Ae(r.value, u.value.slice(0, -1));
924
+ if (!V)
925
925
  return;
926
- M[a.value.at(-1)] = N(x), o(a.value, M[a.value.at(-1)]);
926
+ V[u.value.at(-1)] = N(U), o(u.value, V[u.value.at(-1)]);
927
927
  } else {
928
- const M = Ae(r.value, a.value);
929
- if (!M)
928
+ const V = Ae(r.value, u.value);
929
+ if (!V)
930
930
  return;
931
- x.children.forEach((W) => {
932
- M[W.key] = N(x), o([...a.value, W.key], M[W.key]);
931
+ U.children.forEach((W) => {
932
+ V[W.key] = N(U), o([...u.value, W.key], V[W.key]);
933
933
  });
934
934
  }
935
935
  } else {
936
- const A = Ae(r.value, a.value);
936
+ const A = Ae(r.value, u.value);
937
937
  if (!A)
938
938
  return;
939
- x.children.forEach((M) => {
940
- A[M.key] = N(x), o([...a.value, M.key], A[M.key]);
939
+ U.children.forEach((V) => {
940
+ A[V.key] = N(U), o([...u.value, V.key], A[V.key]);
941
941
  });
942
942
  }
943
943
  };
944
- D() && _.push({
944
+ D() && b.push({
945
945
  title: t("x-prop-tree.reset"),
946
946
  func: w
947
947
  });
948
- }, f = (_) => {
948
+ }, c = (b) => {
949
949
  const D = () => {
950
- const w = Ne(n.value, a.value), x = Ae(r.value, a.value);
951
- localStorage.setItem("propTreeCopy", JSON.stringify({ prop: w, object: x }));
950
+ const w = Ne(n.value, u.value), U = Ae(r.value, u.value);
951
+ localStorage.setItem("propTreeCopy", JSON.stringify({ prop: w, object: U }));
952
952
  };
953
- _.push({
953
+ b.push({
954
954
  title: t("x-prop-tree.copy"),
955
955
  func: D
956
956
  });
957
- }, y = (_) => {
957
+ }, g = (b) => {
958
958
  const D = () => {
959
- const x = localStorage.getItem("propTreeCopy");
960
- if (!x)
959
+ const U = localStorage.getItem("propTreeCopy");
960
+ if (!U)
961
961
  return !1;
962
962
  try {
963
- const { prop: A } = JSON.parse(x), M = Ne(n.value, a.value);
964
- return Gi(A, M);
963
+ const { prop: A } = JSON.parse(U), V = Ne(n.value, u.value);
964
+ return Gi(A, V);
965
965
  } catch (A) {
966
966
  console.error(A);
967
967
  }
@@ -969,46 +969,46 @@ const ls = /* @__PURE__ */ z({
969
969
  }, w = () => {
970
970
  if (!D())
971
971
  return;
972
- const x = localStorage.getItem("propTreeCopy");
973
- if (x)
972
+ const U = localStorage.getItem("propTreeCopy");
973
+ if (U)
974
974
  try {
975
- const { object: A } = JSON.parse(x), M = Ne(n.value, a.value);
976
- console.log(A, M);
975
+ const { object: A } = JSON.parse(U), V = Ne(n.value, u.value);
976
+ console.log(A, V);
977
977
  } catch (A) {
978
978
  console.error(A);
979
979
  }
980
980
  };
981
- D() && _.push({
981
+ D() && b.push({
982
982
  title: t("x-prop-tree.paste"),
983
983
  func: w
984
984
  });
985
- }, v = G(() => {
986
- const _ = [];
987
- return d(_), f(_), y(_), _;
988
- }), b = (_) => {
989
- i.value = _.x, s.value = _.y, a.value = _.keys;
990
- }, { open: L } = at("propTreeMenu", b);
991
- return (_, D) => {
992
- const w = O("v-list-item-title"), x = O("v-list-item"), A = O("v-list"), M = O("v-menu");
993
- return S(), R(M, {
994
- modelValue: E(L),
995
- "onUpdate:modelValue": D[0] || (D[0] = (W) => Fe(L) ? L.value = W : null),
985
+ }, y = F(() => {
986
+ const b = [];
987
+ return d(b), c(b), g(b), b;
988
+ }), h = (b) => {
989
+ i.value = b.x, s.value = b.y, u.value = b.keys;
990
+ }, { open: M } = at("propTreeMenu", h);
991
+ return (b, D) => {
992
+ const w = O("v-list-item-title"), U = O("v-list-item"), A = O("v-list"), V = O("v-menu");
993
+ return S(), R(V, {
994
+ modelValue: E(M),
995
+ "onUpdate:modelValue": D[0] || (D[0] = (W) => Fe(M) ? M.value = W : null),
996
996
  "location-strategy": "connected",
997
- target: u.value,
997
+ target: a.value,
998
998
  scrim: "transparent"
999
999
  }, {
1000
1000
  default: J(() => [
1001
- k(A, null, {
1001
+ B(A, null, {
1002
1002
  default: J(() => [
1003
- (S(!0), F(He, null, Ht(v.value, (W, We) => (S(), R(x, {
1003
+ (S(!0), H(He, null, Ht(y.value, (W, We) => (S(), R(U, {
1004
1004
  key: We,
1005
1005
  link: "",
1006
1006
  onClick: W.func
1007
1007
  }, {
1008
1008
  default: J(() => [
1009
- k(w, null, {
1009
+ B(w, null, {
1010
1010
  default: J(() => [
1011
- st(ne(W.title), 1)
1011
+ st(re(W.title), 1)
1012
1012
  ]),
1013
1013
  _: 2
1014
1014
  }, 1024)
@@ -1024,8 +1024,8 @@ const ls = /* @__PURE__ */ z({
1024
1024
  };
1025
1025
  }
1026
1026
  });
1027
- var yn = "M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z", hn = "M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z", is = "M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z", ge = "M19,13H5V11H19V13Z", ss = "M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z";
1028
- const ke = /* @__PURE__ */ z({
1027
+ var yn = "M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z", hn = "M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z", is = "M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z", ye = "M19,13H5V11H19V13Z", ss = "M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z";
1028
+ const Be = /* @__PURE__ */ z({
1029
1029
  __name: "title",
1030
1030
  props: {
1031
1031
  title: {},
@@ -1036,46 +1036,46 @@ const ke = /* @__PURE__ */ z({
1036
1036
  },
1037
1037
  emits: ["collapse", "menu", "create", "delete"],
1038
1038
  setup(e, { emit: t }) {
1039
- const { backgroundColor2: n, highlightColor: r } = Te(), l = t, o = B(!1), i = G(() => ({
1039
+ const { backgroundColor2: n, highlightColor: r } = Te(), l = t, o = k(!1), i = F(() => ({
1040
1040
  background: o.value ? r.value : n.value,
1041
1041
  height: "36px",
1042
1042
  marginBottom: "1px",
1043
1043
  userSelect: "none"
1044
1044
  })), s = () => {
1045
1045
  l("collapse", !e.collapse);
1046
- }, a = (u) => {
1047
- l("menu", u.clientX, u.clientY);
1046
+ }, u = (a) => {
1047
+ l("menu", a.clientX, a.clientY);
1048
1048
  };
1049
- return (u, d) => {
1050
- const f = O("v-icon"), y = O("v-spacer"), v = ae("ripple");
1051
- return re((S(), F("div", {
1049
+ return (a, d) => {
1050
+ const c = O("v-icon"), g = O("v-spacer"), y = le("ripple");
1051
+ return Y((S(), H("div", {
1052
1052
  class: "d-flex align-center cursor-pointer",
1053
- style: ie(i.value),
1053
+ style: ae(i.value),
1054
1054
  onClick: s,
1055
- onContextmenu: K(a, ["prevent"]),
1056
- onMouseover: d[2] || (d[2] = (b) => o.value = !0),
1057
- onMouseout: d[3] || (d[3] = (b) => o.value = !1)
1055
+ onContextmenu: K(u, ["prevent"]),
1056
+ onMouseover: d[2] || (d[2] = (h) => o.value = !0),
1057
+ onMouseout: d[3] || (d[3] = (h) => o.value = !1)
1058
1058
  }, [
1059
- k(f, {
1059
+ B(c, {
1060
1060
  class: "mr-1",
1061
- icon: u.collapse ? E(hn) : E(yn)
1061
+ icon: a.collapse ? E(hn) : E(yn)
1062
1062
  }, null, 8, ["icon"]),
1063
- q("span", null, ne(u.title), 1),
1064
- k(y),
1065
- u.hasCreate ? (S(), R(f, {
1063
+ q("span", null, re(a.title), 1),
1064
+ B(g),
1065
+ a.hasCreate ? (S(), R(c, {
1066
1066
  key: 0,
1067
1067
  class: "mx-3",
1068
1068
  icon: E(ss),
1069
- onClick: d[0] || (d[0] = K((b) => l("create"), ["stop"]))
1070
- }, null, 8, ["icon"])) : X("", !0),
1071
- u.hasDelete ? (S(), R(f, {
1069
+ onClick: d[0] || (d[0] = K((h) => l("create"), ["stop"]))
1070
+ }, null, 8, ["icon"])) : I("", !0),
1071
+ a.hasDelete ? (S(), R(c, {
1072
1072
  key: 1,
1073
1073
  class: "mx-3",
1074
- icon: E(ge),
1075
- onClick: d[1] || (d[1] = K((b) => l("delete", u.index), ["stop"]))
1076
- }, null, 8, ["icon"])) : X("", !0)
1074
+ icon: E(ye),
1075
+ onClick: d[1] || (d[1] = K((h) => l("delete", a.index), ["stop"]))
1076
+ }, null, 8, ["icon"])) : I("", !0)
1077
1077
  ], 36)), [
1078
- [v]
1078
+ [y]
1079
1079
  ]);
1080
1080
  };
1081
1081
  }
@@ -1086,25 +1086,25 @@ const ke = /* @__PURE__ */ z({
1086
1086
  },
1087
1087
  emits: ["menu"],
1088
1088
  setup(e, { emit: t }) {
1089
- const { backgroundColor2: n, highlightColor: r } = Te(), l = t, o = B(!1), i = G(() => ({
1089
+ const { backgroundColor2: n, highlightColor: r } = Te(), l = t, o = k(!1), i = F(() => ({
1090
1090
  background: o.value ? r.value : n.value,
1091
1091
  minHeight: e.minHeight,
1092
1092
  paddingRight: "4px",
1093
1093
  marginBottom: "1px",
1094
1094
  userSelect: "none"
1095
- })), s = (a) => {
1096
- l("menu", a.clientX, a.clientY);
1095
+ })), s = (u) => {
1096
+ l("menu", u.clientX, u.clientY);
1097
1097
  };
1098
- return (a, u) => {
1099
- const d = ae("ripple");
1100
- return re((S(), F("div", {
1098
+ return (u, a) => {
1099
+ const d = le("ripple");
1100
+ return Y((S(), H("div", {
1101
1101
  class: "d-flex justify-space-between align-center cursor-pointer",
1102
- style: ie(i.value),
1102
+ style: ae(i.value),
1103
1103
  onContextmenu: K(s, ["prevent"]),
1104
- onMouseover: u[0] || (u[0] = (f) => o.value = !0),
1105
- onMouseout: u[1] || (u[1] = (f) => o.value = !1)
1104
+ onMouseover: a[0] || (a[0] = (c) => o.value = !0),
1105
+ onMouseout: a[1] || (a[1] = (c) => o.value = !1)
1106
1106
  }, [
1107
- Mn(a.$slots, "default")
1107
+ Un(u.$slots, "default")
1108
1108
  ], 36)), [
1109
1109
  [d]
1110
1110
  ]);
@@ -1112,64 +1112,75 @@ const ke = /* @__PURE__ */ z({
1112
1112
  }
1113
1113
  });
1114
1114
  function us(e, t, n) {
1115
- const { t: r } = de();
1115
+ const { t: r } = ie();
1116
1116
  return { renderProp: (o, i, s) => {
1117
- let a = r(i.name);
1118
- return be(e.value, o) && (a += " *"), h(
1117
+ let u = r(i.name);
1118
+ return be(e.value, o) && (u += " *"), _(
1119
1119
  as,
1120
1120
  {
1121
1121
  minHeight: t.value,
1122
- onMenu: (u, d) => {
1123
- _e.emit("propTreeMenu", { x: u, y: d, keys: o });
1122
+ onMenu: (a, d) => {
1123
+ _e.emit("propTreeMenu", { x: a, y: d, keys: o });
1124
1124
  }
1125
1125
  },
1126
1126
  () => [
1127
- h("span", { class: "ml-1", innerHTML: a }),
1128
- h("div", { style: { width: n.value } }, s)
1127
+ _("span", { class: "ml-1", innerHTML: u }),
1128
+ _("div", { style: { width: n.value } }, s)
1129
1129
  ]
1130
1130
  );
1131
1131
  } };
1132
1132
  }
1133
+ const ce = (e, t, n, r, l, o) => {
1134
+ if (l !== void 0 && !o) {
1135
+ if (n[l] === void 0) {
1136
+ const i = N(t, !0);
1137
+ i !== void 0 && (n[l] = i, r(e, n[l]));
1138
+ }
1139
+ return n[l];
1140
+ } else {
1141
+ if (n[t.key] === void 0) {
1142
+ const i = N(t);
1143
+ i !== void 0 && (n[t.key] = i, r(e, n[t.key]));
1144
+ }
1145
+ return n[t.key];
1146
+ }
1147
+ }, he = (e, t, n, r, l, o, i) => {
1148
+ o !== void 0 && !i ? r !== n[o] && (n[o] = r, l(e, n[o])) : r !== n[t.key] && (n[t.key] = r, l(e, n[t.key]));
1149
+ };
1133
1150
  function cs(e) {
1134
1151
  return { renderUiDummy: (n, r, l, o, i) => {
1135
1152
  if (r.ui !== "dummy") {
1136
1153
  console.assert(!1, "renderUiDummy prop ui must be dummy");
1137
1154
  return;
1138
1155
  }
1139
- if (o !== void 0 && !i) {
1140
- const s = N(r, !0);
1141
- typeof l[o] != typeof s && (l[o] = s, e(n, l[o]));
1142
- } else {
1143
- const s = N(r);
1144
- typeof l[r.key] != typeof s && (l[r.key] = s, e(n, l[r.key]));
1145
- }
1156
+ ce(n, r, l, e, o, i);
1146
1157
  } };
1147
1158
  }
1148
1159
  const fs = { class: "d-flex justify-space-between align-center" }, ds = /* @__PURE__ */ z({
1149
1160
  __name: "strInput",
1150
- props: /* @__PURE__ */ I({
1161
+ props: /* @__PURE__ */ X({
1151
1162
  hasDelete: { type: Boolean, default: !1 },
1152
1163
  readonly: { type: Boolean, default: !1 }
1153
1164
  }, {
1154
1165
  modelValue: {},
1155
1166
  modelModifiers: {}
1156
1167
  }),
1157
- emits: /* @__PURE__ */ I(["delete"], ["update:modelValue"]),
1168
+ emits: /* @__PURE__ */ X(["delete"], ["update:modelValue"]),
1158
1169
  setup(e, { emit: t }) {
1159
1170
  const n = oe(e, "modelValue"), r = t;
1160
1171
  return (l, o) => {
1161
- const i = O("v-text-field"), s = O("v-icon"), a = ae("ripple");
1162
- return S(), F("div", fs, [
1163
- re(k(i, {
1172
+ const i = O("v-text-field"), s = O("v-icon"), u = le("ripple");
1173
+ return S(), H("div", fs, [
1174
+ Y(B(i, {
1164
1175
  modelValue: n.value,
1165
- "onUpdate:modelValue": o[0] || (o[0] = (u) => n.value = u),
1176
+ "onUpdate:modelValue": o[0] || (o[0] = (a) => n.value = a),
1166
1177
  density: "compact",
1167
1178
  "hide-details": "",
1168
1179
  "single-line": "",
1169
1180
  readonly: l.readonly
1170
1181
  }, null, 8, ["modelValue", "readonly"]), [
1171
1182
  [
1172
- a,
1183
+ u,
1173
1184
  void 0,
1174
1185
  void 0,
1175
1186
  { stop: !0 }
@@ -1178,26 +1189,16 @@ const fs = { class: "d-flex justify-space-between align-center" }, ds = /* @__PU
1178
1189
  l.hasDelete ? (S(), R(s, {
1179
1190
  key: 0,
1180
1191
  class: "mx-2",
1181
- icon: E(ge),
1182
- onClick: o[1] || (o[1] = K((u) => r("delete"), ["stop"]))
1183
- }, null, 8, ["icon"])) : X("", !0)
1192
+ icon: E(ye),
1193
+ onClick: o[1] || (o[1] = K((a) => r("delete"), ["stop"]))
1194
+ }, null, 8, ["icon"])) : I("", !0)
1184
1195
  ]);
1185
1196
  };
1186
1197
  }
1187
- }), ye = (e, t, n, r, l, o) => {
1188
- const i = N(t, !0);
1189
- return l !== void 0 && !o ? (typeof n[l] != typeof i && (n[l] = i, r(e, n[l])), n[l]) : (typeof n[t.key] != typeof i && (n[t.key] = i, r(e, n[t.key])), n[t.key]);
1190
- }, he = (e, t, n, r, l, o, i) => {
1191
- const s = N(t, !0);
1192
- if (typeof r != typeof s) {
1193
- console.assert(!1);
1194
- return;
1195
- }
1196
- o !== void 0 && !i ? r !== n[o] && (n[o] = r, l(e, n[o])) : r !== n[t.key] && (n[t.key] = r, l(e, n[t.key]));
1197
- };
1198
+ });
1198
1199
  function ps(e) {
1199
- return { renderUiStrInput: (n, r, l, o, i) => r.ui !== "strInput" ? (console.assert(!1), h("div", "renderUiStrInput prop ui must be strInput")) : h(ds, {
1200
- modelValue: r.static ? r.value : ye(
1200
+ return { renderUiStrInput: (n, r, l, o, i) => r.ui !== "strInput" ? (console.assert(!1), _("div", "renderUiStrInput prop ui must be strInput")) : _(ds, {
1201
+ modelValue: r.static ? r.value : ce(
1201
1202
  n,
1202
1203
  r,
1203
1204
  l,
@@ -1223,9 +1224,9 @@ function ps(e) {
1223
1224
  readonly: r.static || r.readonly
1224
1225
  }) };
1225
1226
  }
1226
- const ms = { class: "d-flex justify-space-between align-center" }, vs = /* @__PURE__ */ z({
1227
+ const vs = { class: "d-flex justify-space-between align-center" }, ms = /* @__PURE__ */ z({
1227
1228
  __name: "numInput",
1228
- props: /* @__PURE__ */ I({
1229
+ props: /* @__PURE__ */ X({
1229
1230
  hasDelete: { type: Boolean, default: !1 },
1230
1231
  precision: { default: () => {
1231
1232
  } },
@@ -1237,15 +1238,15 @@ const ms = { class: "d-flex justify-space-between align-center" }, vs = /* @__PU
1237
1238
  modelValue: {},
1238
1239
  modelModifiers: {}
1239
1240
  }),
1240
- emits: /* @__PURE__ */ I(["delete"], ["update:modelValue"]),
1241
+ emits: /* @__PURE__ */ X(["delete"], ["update:modelValue"]),
1241
1242
  setup(e, { emit: t }) {
1242
1243
  const n = oe(e, "modelValue"), r = t;
1243
1244
  return (l, o) => {
1244
- const i = O("v-number-input"), s = O("v-icon"), a = ae("ripple");
1245
- return S(), F("div", ms, [
1246
- re(k(i, {
1245
+ const i = O("v-number-input"), s = O("v-icon"), u = le("ripple");
1246
+ return S(), H("div", vs, [
1247
+ Y(B(i, {
1247
1248
  modelValue: n.value,
1248
- "onUpdate:modelValue": o[0] || (o[0] = (u) => n.value = u),
1249
+ "onUpdate:modelValue": o[0] || (o[0] = (a) => n.value = a),
1249
1250
  density: "compact",
1250
1251
  "control-variant": "stacked",
1251
1252
  precision: l.precision,
@@ -1257,7 +1258,7 @@ const ms = { class: "d-flex justify-space-between align-center" }, vs = /* @__PU
1257
1258
  readonly: l.readonly
1258
1259
  }, null, 8, ["modelValue", "precision", "min", "max", "step", "readonly"]), [
1259
1260
  [
1260
- a,
1261
+ u,
1261
1262
  void 0,
1262
1263
  void 0,
1263
1264
  { stop: !0 }
@@ -1266,16 +1267,16 @@ const ms = { class: "d-flex justify-space-between align-center" }, vs = /* @__PU
1266
1267
  l.hasDelete ? (S(), R(s, {
1267
1268
  key: 0,
1268
1269
  class: "mx-2",
1269
- icon: E(ge),
1270
- onClick: o[1] || (o[1] = K((u) => r("delete"), ["stop"]))
1271
- }, null, 8, ["icon"])) : X("", !0)
1270
+ icon: E(ye),
1271
+ onClick: o[1] || (o[1] = K((a) => r("delete"), ["stop"]))
1272
+ }, null, 8, ["icon"])) : I("", !0)
1272
1273
  ]);
1273
1274
  };
1274
1275
  }
1275
1276
  });
1276
1277
  function gs(e) {
1277
- return { renderUiNumInput: (n, r, l, o, i) => r.ui !== "numInput" ? (console.assert(!1), h("div", "renderUiNumInput prop ui must be numInput")) : h(vs, {
1278
- modelValue: ye(
1278
+ return { renderUiNumInput: (n, r, l, o, i) => r.ui !== "numInput" ? (console.assert(!1), _("div", "renderUiNumInput prop ui must be numInput")) : _(ms, {
1279
+ modelValue: ce(
1279
1280
  n,
1280
1281
  r,
1281
1282
  l,
@@ -1303,41 +1304,52 @@ function gs(e) {
1303
1304
  }
1304
1305
  const ys = { class: "d-flex justify-space-between align-center" }, hs = /* @__PURE__ */ z({
1305
1306
  __name: "switch",
1306
- props: /* @__PURE__ */ I({
1307
+ props: /* @__PURE__ */ X({
1307
1308
  hasDelete: { type: Boolean, default: !1 },
1308
1309
  readonly: { type: Boolean, default: !1 }
1309
1310
  }, {
1310
1311
  modelValue: { type: Boolean },
1311
1312
  modelModifiers: {}
1312
1313
  }),
1313
- emits: /* @__PURE__ */ I(["delete"], ["update:modelValue"]),
1314
+ emits: /* @__PURE__ */ X(["delete"], ["update:modelValue"]),
1314
1315
  setup(e, { emit: t }) {
1315
- const n = oe(e, "modelValue"), r = t;
1316
- return (l, o) => {
1317
- const i = O("v-switch"), s = O("v-icon");
1318
- return S(), F("div", ys, [
1319
- k(i, {
1320
- modelValue: n.value,
1321
- "onUpdate:modelValue": o[0] || (o[0] = (a) => n.value = a),
1322
- class: "ml-1",
1316
+ const { t: n } = ie(), r = oe(e, "modelValue"), l = t, o = F(() => [
1317
+ { title: n("x-runtime-lib.notSet"), value: void 0 },
1318
+ { title: n("x-runtime-lib.true"), value: !0 },
1319
+ { title: n("x-runtime-lib.false"), value: !1 }
1320
+ ]);
1321
+ return (i, s) => {
1322
+ const u = O("v-select"), a = O("v-icon"), d = le("ripple");
1323
+ return S(), H("div", ys, [
1324
+ Y(B(u, {
1325
+ modelValue: r.value,
1326
+ "onUpdate:modelValue": s[0] || (s[0] = (c) => r.value = c),
1323
1327
  density: "compact",
1324
- color: "primary",
1328
+ items: o.value,
1325
1329
  "hide-details": "",
1326
- readonly: l.readonly
1327
- }, null, 8, ["modelValue", "readonly"]),
1328
- l.hasDelete ? (S(), R(s, {
1330
+ "single-line": "",
1331
+ readonly: i.readonly
1332
+ }, null, 8, ["modelValue", "items", "readonly"]), [
1333
+ [
1334
+ d,
1335
+ void 0,
1336
+ void 0,
1337
+ { stop: !0 }
1338
+ ]
1339
+ ]),
1340
+ i.hasDelete ? (S(), R(a, {
1329
1341
  key: 0,
1330
1342
  class: "mx-2",
1331
- icon: E(ge),
1332
- onClick: o[1] || (o[1] = K((a) => r("delete"), ["stop"]))
1333
- }, null, 8, ["icon"])) : X("", !0)
1343
+ icon: E(ye),
1344
+ onClick: s[1] || (s[1] = K((c) => l("delete"), ["stop"]))
1345
+ }, null, 8, ["icon"])) : I("", !0)
1334
1346
  ]);
1335
1347
  };
1336
1348
  }
1337
1349
  });
1338
1350
  function _s(e) {
1339
- return { renderUiSwitch: (n, r, l, o, i) => r.ui !== "switch" ? (console.assert(!1), h("div", "renderUiSwitch prop ui must be switch")) : h(hs, {
1340
- modelValue: ye(
1351
+ return { renderUiSwitch: (n, r, l, o, i) => r.ui !== "switch" ? (console.assert(!1), _("div", "renderUiSwitch prop ui must be switch")) : _(hs, {
1352
+ modelValue: ce(
1341
1353
  n,
1342
1354
  r,
1343
1355
  l,
@@ -1365,7 +1377,7 @@ function _s(e) {
1365
1377
  }
1366
1378
  const bs = { class: "d-flex justify-space-between align-center" }, $s = /* @__PURE__ */ z({
1367
1379
  __name: "select",
1368
- props: /* @__PURE__ */ I({
1380
+ props: /* @__PURE__ */ X({
1369
1381
  hasDelete: { type: Boolean, default: !1 },
1370
1382
  readonly: { type: Boolean, default: !1 },
1371
1383
  items: {}
@@ -1373,15 +1385,15 @@ const bs = { class: "d-flex justify-space-between align-center" }, $s = /* @__PU
1373
1385
  modelValue: {},
1374
1386
  modelModifiers: {}
1375
1387
  }),
1376
- emits: /* @__PURE__ */ I(["delete"], ["update:modelValue"]),
1388
+ emits: /* @__PURE__ */ X(["delete"], ["update:modelValue"]),
1377
1389
  setup(e, { emit: t }) {
1378
1390
  const n = oe(e, "modelValue"), r = t;
1379
1391
  return (l, o) => {
1380
- const i = O("v-select"), s = O("v-icon"), a = ae("ripple");
1381
- return S(), F("div", bs, [
1382
- re(k(i, {
1392
+ const i = O("v-select"), s = O("v-icon"), u = le("ripple");
1393
+ return S(), H("div", bs, [
1394
+ Y(B(i, {
1383
1395
  modelValue: n.value,
1384
- "onUpdate:modelValue": o[0] || (o[0] = (u) => n.value = u),
1396
+ "onUpdate:modelValue": o[0] || (o[0] = (a) => n.value = a),
1385
1397
  density: "compact",
1386
1398
  items: l.items,
1387
1399
  "hide-details": "",
@@ -1389,7 +1401,7 @@ const bs = { class: "d-flex justify-space-between align-center" }, $s = /* @__PU
1389
1401
  readonly: l.readonly
1390
1402
  }, null, 8, ["modelValue", "items", "readonly"]), [
1391
1403
  [
1392
- a,
1404
+ u,
1393
1405
  void 0,
1394
1406
  void 0,
1395
1407
  { stop: !0 }
@@ -1398,17 +1410,17 @@ const bs = { class: "d-flex justify-space-between align-center" }, $s = /* @__PU
1398
1410
  l.hasDelete ? (S(), R(s, {
1399
1411
  key: 0,
1400
1412
  class: "mx-2",
1401
- icon: E(ge),
1402
- onClick: o[1] || (o[1] = K((u) => r("delete"), ["stop"]))
1403
- }, null, 8, ["icon"])) : X("", !0)
1413
+ icon: E(ye),
1414
+ onClick: o[1] || (o[1] = K((a) => r("delete"), ["stop"]))
1415
+ }, null, 8, ["icon"])) : I("", !0)
1404
1416
  ]);
1405
1417
  };
1406
1418
  }
1407
1419
  });
1408
1420
  function Ts(e) {
1409
- const { t } = de();
1410
- return { renderUiSelect: (r, l, o, i, s) => l.ui !== "select" ? (console.assert(!1), h("div", "renderUiSelect prop ui must be select")) : h($s, {
1411
- modelValue: ye(
1421
+ const { t } = ie();
1422
+ return { renderUiSelect: (r, l, o, i, s) => l.ui !== "select" ? (console.assert(!1), _("div", "renderUiSelect prop ui must be select")) : _($s, {
1423
+ modelValue: ce(
1412
1424
  r,
1413
1425
  l,
1414
1426
  o,
@@ -1416,12 +1428,12 @@ function Ts(e) {
1416
1428
  i,
1417
1429
  s
1418
1430
  ),
1419
- "onUpdate:modelValue": (a) => {
1431
+ "onUpdate:modelValue": (u) => {
1420
1432
  he(
1421
1433
  r,
1422
1434
  l,
1423
1435
  o,
1424
- a,
1436
+ u,
1425
1437
  e,
1426
1438
  i,
1427
1439
  s
@@ -1432,13 +1444,13 @@ function Ts(e) {
1432
1444
  i === void 0 || s || (o.splice(i, 1), e(r.slice(0, -1), o));
1433
1445
  },
1434
1446
  items: (() => {
1435
- const a = [];
1436
- return l.items.forEach(({ title: u, value: d }) => {
1437
- a.push({
1438
- title: t(u),
1447
+ const u = [];
1448
+ return l.items.forEach(({ title: a, value: d }) => {
1449
+ u.push({
1450
+ title: t(a),
1439
1451
  value: d
1440
1452
  });
1441
- }), a;
1453
+ }), u;
1442
1454
  })(),
1443
1455
  readonly: l.readonly
1444
1456
  }) };
@@ -1453,29 +1465,29 @@ const Ss = { class: "text-subtitle-2 ml-1" }, ws = { class: "text-caption text-g
1453
1465
  },
1454
1466
  emits: ["x-click"],
1455
1467
  setup(e, { emit: t }) {
1456
- const { backgroundColor2: n, highlightColor: r } = Te(), l = e, o = t, i = B(!1), s = G(() => ({
1468
+ const { backgroundColor2: n, highlightColor: r } = Te(), l = e, o = t, i = k(!1), s = F(() => ({
1457
1469
  background: i.value ? r.value : n.value,
1458
1470
  height: "30px",
1459
1471
  marginBottom: "1px",
1460
1472
  userSelect: "none"
1461
1473
  }));
1462
- return (a, u) => {
1463
- const d = O("v-icon"), f = ae("ripple");
1464
- return re((S(), F("div", {
1474
+ return (u, a) => {
1475
+ const d = O("v-icon"), c = le("ripple");
1476
+ return Y((S(), H("div", {
1465
1477
  class: "d-flex align-center cursor-pointer",
1466
- style: ie(s.value),
1467
- onClick: u[0] || (u[0] = (y) => o("x-click", l.id)),
1468
- onMouseover: u[1] || (u[1] = (y) => i.value = !0),
1469
- onMouseout: u[2] || (u[2] = (y) => i.value = !1)
1478
+ style: ae(s.value),
1479
+ onClick: a[0] || (a[0] = (g) => o("x-click", l.id)),
1480
+ onMouseover: a[1] || (a[1] = (g) => i.value = !0),
1481
+ onMouseout: a[2] || (a[2] = (g) => i.value = !1)
1470
1482
  }, [
1471
- k(d, {
1483
+ B(d, {
1472
1484
  icon: l.collapse ? E(hn) : E(yn),
1473
1485
  size: "small"
1474
1486
  }, null, 8, ["icon"]),
1475
- q("span", Ss, ne(l.title), 1),
1476
- q("span", ws, ne(l.count), 1)
1487
+ q("span", Ss, re(l.title), 1),
1488
+ q("span", ws, re(l.count), 1)
1477
1489
  ], 36)), [
1478
- [f]
1490
+ [c]
1479
1491
  ]);
1480
1492
  };
1481
1493
  }
@@ -1487,116 +1499,116 @@ const Ss = { class: "text-subtitle-2 ml-1" }, ws = { class: "text-caption text-g
1487
1499
  },
1488
1500
  emits: ["x-click"],
1489
1501
  setup(e, { emit: t }) {
1490
- const { backgroundColor2: n, highlightColor: r } = Te(), l = e, o = t, i = B(!1), s = G(() => ({
1502
+ const { backgroundColor2: n, highlightColor: r } = Te(), l = e, o = t, i = k(!1), s = F(() => ({
1491
1503
  background: i.value ? r.value : n.value,
1492
1504
  height: "48px",
1493
1505
  marginBottom: "1px",
1494
1506
  userSelect: "none"
1495
1507
  }));
1496
- return (a, u) => {
1497
- const d = ae("ripple");
1498
- return re((S(), F("div", {
1508
+ return (u, a) => {
1509
+ const d = le("ripple");
1510
+ return Y((S(), H("div", {
1499
1511
  class: "d-flex align-center cursor-pointer",
1500
- style: ie(s.value),
1501
- onClick: u[0] || (u[0] = (f) => o("x-click", l.id)),
1502
- onMouseover: u[1] || (u[1] = (f) => i.value = !0),
1503
- onMouseout: u[2] || (u[2] = (f) => i.value = !1)
1512
+ style: ae(s.value),
1513
+ onClick: a[0] || (a[0] = (c) => o("x-click", l.id)),
1514
+ onMouseover: a[1] || (a[1] = (c) => i.value = !0),
1515
+ onMouseout: a[2] || (a[2] = (c) => i.value = !1)
1504
1516
  }, [
1505
- q("span", Cs, ne(l.title), 1)
1517
+ q("span", Cs, re(l.title), 1)
1506
1518
  ], 36)), [
1507
1519
  [d]
1508
1520
  ]);
1509
1521
  };
1510
1522
  }
1511
- }), Os = { key: 0 }, Vs = {
1523
+ }), Os = { key: 0 }, xs = {
1512
1524
  key: 1,
1513
1525
  class: "text-body-2 text-grey ml-3"
1514
- }, xs = /* @__PURE__ */ z({
1526
+ }, Ms = /* @__PURE__ */ z({
1515
1527
  __name: "index",
1516
1528
  props: {
1517
- modelValue: { required: !0 },
1529
+ modelValue: {},
1518
1530
  modelModifiers: {},
1519
1531
  open: { type: Boolean, required: !0 },
1520
1532
  openModifiers: {}
1521
1533
  },
1522
1534
  emits: ["update:modelValue", "update:open"],
1523
1535
  setup(e) {
1524
- const { t } = de(), n = oe(e, "modelValue"), r = oe(e, "open"), l = gn(), o = (s) => {
1525
- const a = cn(l, s);
1526
- a && Hi(l, s, !a.collapse);
1536
+ const { t } = ie(), n = oe(e, "modelValue"), r = oe(e, "open"), l = gn(), o = (s) => {
1537
+ const u = cn(l, s);
1538
+ u && Hi(l, s, !u.collapse);
1527
1539
  }, i = (s) => {
1528
1540
  n.value = s, r.value = !1, _e.emit("refreshDepends");
1529
1541
  };
1530
- return (s, a) => E(l).length > 0 ? (S(), F("div", Os, [
1531
- (S(!0), F(He, null, Ht(E(l), (u) => (S(), F(He, {
1532
- key: u.id
1542
+ return (s, u) => E(l).length > 0 ? (S(), H("div", Os, [
1543
+ (S(!0), H(He, null, Ht(E(l), (a) => (S(), H(He, {
1544
+ key: a.id
1533
1545
  }, [
1534
- u.type === 0 ? (S(), R(As, {
1546
+ a.type === 0 ? (S(), R(As, {
1535
1547
  key: 0,
1536
- id: u.id,
1537
- title: u.name,
1538
- collapse: u.collapse,
1539
- count: u.count ?? 0,
1548
+ id: a.id,
1549
+ title: a.name,
1550
+ collapse: a.collapse,
1551
+ count: a.count ?? 0,
1540
1552
  onXClick: o
1541
- }, null, 8, ["id", "title", "collapse", "count"])) : X("", !0),
1542
- u.type === 1 && u.show ? (S(), R(Ps, {
1553
+ }, null, 8, ["id", "title", "collapse", "count"])) : I("", !0),
1554
+ a.type === 1 && a.show ? (S(), R(Ps, {
1543
1555
  key: 1,
1544
- id: u.id,
1545
- title: u.name,
1556
+ id: a.id,
1557
+ title: a.name,
1546
1558
  onXClick: i
1547
- }, null, 8, ["id", "title"])) : X("", !0)
1559
+ }, null, 8, ["id", "title"])) : I("", !0)
1548
1560
  ], 64))), 128))
1549
- ])) : (S(), F("div", Vs, ne(E(t)("x-prop-tree.noComp")), 1));
1561
+ ])) : (S(), H("div", xs, re(E(t)("x-prop-tree.noComp")), 1));
1550
1562
  }
1551
- }), Ms = { class: "text-subtitle-1 ml-3" }, Us = /* @__PURE__ */ z({
1563
+ }), Us = { class: "text-subtitle-1 ml-3" }, Vs = /* @__PURE__ */ z({
1552
1564
  __name: "index",
1553
1565
  props: {
1554
- modelValue: { required: !0 },
1566
+ modelValue: {},
1555
1567
  modelModifiers: {}
1556
1568
  },
1557
1569
  emits: ["update:modelValue"],
1558
1570
  setup(e) {
1559
- const { t } = de(), n = Bn(), { sysBarAvail: r } = En(), { backgroundColor1: l } = Te(), o = oe(e, "modelValue"), i = gn(), s = G(() => {
1560
- let y = "100%";
1561
- return n.mdAndUp.value && (y = "400px"), {
1571
+ const { t } = ie(), n = kn(), { sysBarAvail: r } = En(), { backgroundColor1: l } = Te(), o = oe(e, "modelValue"), i = gn(), s = F(() => {
1572
+ let g = "100%";
1573
+ return n.mdAndUp.value && (g = "400px"), {
1562
1574
  background: l.value,
1563
- width: y,
1575
+ width: g,
1564
1576
  height: "100%"
1565
1577
  };
1566
- }), a = G(() => {
1567
- let y = 48;
1568
- return r.value && (y += 24), {
1578
+ }), u = F(() => {
1579
+ let g = 48;
1580
+ return r.value && (g += 24), {
1569
1581
  position: "relative",
1570
- height: `calc(100% - ${y}px)`
1582
+ height: `calc(100% - ${g}px)`
1571
1583
  };
1572
- }), u = G(() => ({
1584
+ }), a = F(() => ({
1573
1585
  height: "60px"
1574
- })), d = G(() => {
1586
+ })), d = F(() => {
1575
1587
  if (!o.value)
1576
1588
  return t("x-prop-tree.notSet");
1577
- const y = cn(i, o.value);
1578
- return y ? y.name : t("x-runtime-lib.compNotAvail");
1579
- }), { open: f } = at(`propTreeCompSelectDlg${Gt()}`);
1589
+ const g = cn(i, o.value);
1590
+ return g ? g.name : t("x-runtime-lib.compNotAvail");
1591
+ }), { open: c } = at(`propTreeCompSelectDlg${Gt()}`);
1580
1592
  return zt(() => {
1581
- f.value = !1;
1582
- }), (y, v) => {
1583
- const b = O("v-btn"), L = O("v-sheet"), _ = O("v-icon"), D = O("v-dialog");
1593
+ c.value = !1;
1594
+ }), (g, y) => {
1595
+ const h = O("v-btn"), M = O("v-sheet"), b = O("v-icon"), D = O("v-dialog");
1584
1596
  return S(), R(D, {
1585
- modelValue: E(f),
1586
- "onUpdate:modelValue": v[5] || (v[5] = (w) => Fe(f) ? f.value = w : null),
1597
+ modelValue: E(c),
1598
+ "onUpdate:modelValue": y[5] || (y[5] = (w) => Fe(c) ? c.value = w : null),
1587
1599
  transition: "scroll-x-reverse-transition",
1588
1600
  persistent: "",
1589
1601
  "no-click-animation": "",
1590
1602
  fullscreen: "",
1591
- onKeydown: v[6] || (v[6] = Un(K((w) => f.value = !1, ["stop", "prevent"]), ["esc"]))
1603
+ onKeydown: y[6] || (y[6] = Vn(K((w) => c.value = !1, ["stop", "prevent"]), ["esc"]))
1592
1604
  }, {
1593
1605
  activator: J(({ props: w }) => [
1594
- k(b, Kt(w, {
1606
+ B(h, Kt(w, {
1595
1607
  density: "comfortable",
1596
1608
  block: ""
1597
1609
  }), {
1598
1610
  default: J(() => [
1599
- st(ne(d.value), 1)
1611
+ st(re(d.value), 1)
1600
1612
  ]),
1601
1613
  _: 2
1602
1614
  }, 1040)
@@ -1604,44 +1616,44 @@ const Ss = { class: "text-subtitle-2 ml-1" }, ws = { class: "text-caption text-g
1604
1616
  default: J(() => [
1605
1617
  q("div", {
1606
1618
  class: "w-100 h-100 d-flex flex-row-reverse",
1607
- onClick: v[3] || (v[3] = K((w) => f.value = !1, ["self"])),
1608
- onContextmenu: v[4] || (v[4] = K((w) => f.value = !1, ["self", "prevent"]))
1619
+ onClick: y[3] || (y[3] = K((w) => c.value = !1, ["self"])),
1620
+ onContextmenu: y[4] || (y[4] = K((w) => c.value = !1, ["self", "prevent"]))
1609
1621
  }, [
1610
1622
  q("div", {
1611
1623
  class: "elevation-2",
1612
- style: ie(s.value)
1624
+ style: ae(s.value)
1613
1625
  }, [
1614
- E(r) ? (S(), R(L, {
1626
+ E(r) ? (S(), R(M, {
1615
1627
  key: 0,
1616
1628
  color: "transparent",
1617
1629
  height: 24
1618
- })) : X("", !0),
1619
- k(L, {
1630
+ })) : I("", !0),
1631
+ B(M, {
1620
1632
  class: "d-flex align-center px-3",
1621
1633
  color: "transparent",
1622
1634
  height: 48
1623
1635
  }, {
1624
1636
  default: J(() => [
1625
- k(_, {
1637
+ B(b, {
1626
1638
  icon: E(is),
1627
- onClick: v[0] || (v[0] = (w) => f.value = !1)
1639
+ onClick: y[0] || (y[0] = (w) => c.value = !1)
1628
1640
  }, null, 8, ["icon"]),
1629
- q("span", Ms, ne(E(t)("x-prop-tree.dlg.compSelect.title")), 1)
1641
+ q("span", Us, re(E(t)("x-prop-tree.dlg.compSelect.title")), 1)
1630
1642
  ]),
1631
1643
  _: 1
1632
1644
  }),
1633
1645
  q("div", {
1634
1646
  class: "overflow-y-auto",
1635
- style: ie(a.value)
1647
+ style: ae(u.value)
1636
1648
  }, [
1637
- k(xs, {
1649
+ B(Ms, {
1638
1650
  modelValue: o.value,
1639
- "onUpdate:modelValue": v[1] || (v[1] = (w) => o.value = w),
1640
- open: E(f),
1641
- "onUpdate:open": v[2] || (v[2] = (w) => Fe(f) ? f.value = w : null)
1651
+ "onUpdate:modelValue": y[1] || (y[1] = (w) => o.value = w),
1652
+ open: E(c),
1653
+ "onUpdate:open": y[2] || (y[2] = (w) => Fe(c) ? c.value = w : null)
1642
1654
  }, null, 8, ["modelValue", "open"]),
1643
1655
  q("div", {
1644
- style: ie(u.value)
1656
+ style: ae(a.value)
1645
1657
  }, null, 4)
1646
1658
  ], 4)
1647
1659
  ], 4)
@@ -1653,8 +1665,8 @@ const Ss = { class: "text-subtitle-2 ml-1" }, ws = { class: "text-caption text-g
1653
1665
  }
1654
1666
  });
1655
1667
  function Ls(e) {
1656
- return { renderUiCompSelect: (n, r, l, o, i) => r.ui !== "compSelect" ? (console.assert(!1), h("div", "renderUiCompSelect prop ui must be compSelect")) : h(Us, {
1657
- modelValue: ye(
1668
+ return { renderUiCompSelect: (n, r, l, o, i) => r.ui !== "compSelect" ? (console.assert(!1), _("div", "renderUiCompSelect prop ui must be compSelect")) : _(Vs, {
1669
+ modelValue: ce(
1658
1670
  n,
1659
1671
  r,
1660
1672
  l,
@@ -1677,61 +1689,61 @@ function Ls(e) {
1677
1689
  }
1678
1690
  const Ds = { class: "d-flex justify-space-between align-center" }, js = /* @__PURE__ */ z({
1679
1691
  __name: "colorPicker",
1680
- props: /* @__PURE__ */ I({
1692
+ props: /* @__PURE__ */ X({
1681
1693
  hasDelete: { type: Boolean, default: !1 },
1682
1694
  readonly: { type: Boolean, default: !1 }
1683
1695
  }, {
1684
1696
  modelValue: {},
1685
1697
  modelModifiers: {}
1686
1698
  }),
1687
- emits: /* @__PURE__ */ I(["delete"], ["update:modelValue"]),
1699
+ emits: /* @__PURE__ */ X(["delete"], ["update:modelValue"]),
1688
1700
  setup(e, { emit: t }) {
1689
- const n = oe(e, "modelValue"), r = t, l = G(() => {
1690
- let s = "100%";
1691
- return e.hasDelete && (s = "calc(100% - 37px)"), {
1692
- width: s
1701
+ const { t: n } = ie(), r = oe(e, "modelValue"), l = t, o = F(() => {
1702
+ let u = "100%";
1703
+ return e.hasDelete && (u = "calc(100% - 37px)"), {
1704
+ width: u
1693
1705
  };
1694
- }), o = G(() => e.readonly), { open: i } = at(`propTreeColorPickerMenu${Gt()}`);
1706
+ }), i = F(() => e.readonly), { open: s } = at(`propTreeColorPickerMenu${Gt()}`);
1695
1707
  return zt(() => {
1696
- i.value = !1;
1697
- }), (s, a) => {
1698
- const u = O("v-btn"), d = O("v-icon"), f = O("v-color-picker"), y = O("v-menu");
1708
+ s.value = !1;
1709
+ }), (u, a) => {
1710
+ const d = O("v-btn"), c = O("v-icon"), g = O("v-color-picker"), y = O("v-menu");
1699
1711
  return S(), R(y, {
1700
- modelValue: E(i),
1701
- "onUpdate:modelValue": a[2] || (a[2] = (v) => Fe(i) ? i.value = v : null),
1712
+ modelValue: E(s),
1713
+ "onUpdate:modelValue": a[2] || (a[2] = (h) => Fe(s) ? s.value = h : null),
1702
1714
  "close-on-content-click": !1,
1703
1715
  scrim: "transparent"
1704
1716
  }, {
1705
- activator: J(({ props: v }) => [
1717
+ activator: J(({ props: h }) => [
1706
1718
  q("div", Ds, [
1707
1719
  q("div", {
1708
1720
  class: "flex-grow-1",
1709
- style: ie(l.value)
1721
+ style: ae(o.value)
1710
1722
  }, [
1711
- k(u, Kt(v, {
1723
+ B(d, Kt(h, {
1712
1724
  density: "comfortable",
1713
- color: n.value,
1725
+ color: r.value,
1714
1726
  block: "",
1715
- disabled: o.value
1727
+ disabled: i.value
1716
1728
  }), {
1717
1729
  default: J(() => [
1718
- st(ne(n.value), 1)
1730
+ st(re(r.value ? r.value : E(n)("x-runtime-lib.notSet")), 1)
1719
1731
  ]),
1720
1732
  _: 2
1721
1733
  }, 1040, ["color", "disabled"])
1722
1734
  ], 4),
1723
- s.hasDelete ? (S(), R(d, {
1735
+ u.hasDelete ? (S(), R(c, {
1724
1736
  key: 0,
1725
1737
  class: "mx-2",
1726
- icon: E(ge),
1727
- onClick: a[0] || (a[0] = K((b) => r("delete"), ["stop"]))
1728
- }, null, 8, ["icon"])) : X("", !0)
1738
+ icon: E(ye),
1739
+ onClick: a[0] || (a[0] = K((M) => l("delete"), ["stop"]))
1740
+ }, null, 8, ["icon"])) : I("", !0)
1729
1741
  ])
1730
1742
  ]),
1731
1743
  default: J(() => [
1732
- k(f, {
1733
- modelValue: n.value,
1734
- "onUpdate:modelValue": a[1] || (a[1] = (v) => n.value = v),
1744
+ B(g, {
1745
+ modelValue: r.value,
1746
+ "onUpdate:modelValue": a[1] || (a[1] = (h) => r.value = h),
1735
1747
  mode: "hexa",
1736
1748
  "show-swatches": "",
1737
1749
  "swatches-max-height": "150px"
@@ -1743,8 +1755,8 @@ const Ds = { class: "d-flex justify-space-between align-center" }, js = /* @__PU
1743
1755
  }
1744
1756
  });
1745
1757
  function Es(e) {
1746
- return { renderUiColorPicker: (n, r, l, o, i) => r.ui !== "colorPicker" ? (console.assert(!1), h("div", "renderUiColorPicker prop ui must be colorPicker")) : h(js, {
1747
- modelValue: ye(
1758
+ return { renderUiColorPicker: (n, r, l, o, i) => r.ui !== "colorPicker" ? (console.assert(!1), _("div", "renderUiColorPicker prop ui must be colorPicker")) : _(js, {
1759
+ modelValue: ce(
1748
1760
  n,
1749
1761
  r,
1750
1762
  l,
@@ -1770,45 +1782,45 @@ function Es(e) {
1770
1782
  readonly: r.readonly
1771
1783
  }) };
1772
1784
  }
1773
- const Ns = { class: "d-flex justify-space-between align-center my-2" }, ks = { class: "flex-grow-1" }, Bs = /* @__PURE__ */ z({
1785
+ const Ns = { class: "d-flex justify-space-between align-center my-2" }, Bs = { class: "flex-grow-1" }, ks = /* @__PURE__ */ z({
1774
1786
  __name: "multiTypes",
1775
- props: /* @__PURE__ */ I({
1787
+ props: /* @__PURE__ */ X({
1776
1788
  hasDelete: { type: Boolean, default: !1 },
1777
1789
  types: {}
1778
1790
  }, {
1779
- modelValue: { default: "" },
1791
+ modelValue: {},
1780
1792
  modelModifiers: {}
1781
1793
  }),
1782
- emits: /* @__PURE__ */ I(["delete"], ["update:modelValue"]),
1794
+ emits: /* @__PURE__ */ X(["delete"], ["update:modelValue"]),
1783
1795
  setup(e, { emit: t }) {
1784
- const { t: n } = de(), r = oe(e, "modelValue"), l = t, o = B(0), i = G(() => {
1796
+ const { t: n } = ie(), r = oe(e, "modelValue"), l = t, o = k(0), i = F(() => {
1785
1797
  const d = [];
1786
- return e.types.forEach(({ name: f }, y) => {
1798
+ return e.types.forEach(({ name: c }, g) => {
1787
1799
  d.push({
1788
- title: n(f),
1789
- value: y
1800
+ title: n(c),
1801
+ value: g
1790
1802
  });
1791
1803
  }), d;
1792
1804
  });
1793
- vt(() => {
1794
- e.types.some((d, f) => d.validator(r.value) ? (o.value = f, !0) : !1);
1805
+ mt(() => {
1806
+ e.types.some((d, c) => d.validator(r.value) ? (o.value = c, !0) : !1);
1795
1807
  });
1796
- const s = G(() => e.types[o.value]), a = () => {
1808
+ const s = F(() => e.types[o.value]), u = () => {
1797
1809
  r.value = s.value.default;
1798
- }, u = B(0);
1799
- return vt(() => {
1800
- s.value.ui === "pixelInput" ? u.value = Nn(r.value) : s.value.ui === "percentInput" && (u.value = kn(r.value));
1801
- }), Be(u, (d) => {
1810
+ }, a = k(0);
1811
+ return mt(() => {
1812
+ s.value.ui === "pixelInput" ? a.value = Nn(r.value) : s.value.ui === "percentInput" && (a.value = Bn(r.value));
1813
+ }), ke(a, (d) => {
1802
1814
  s.value.ui === "pixelInput" ? r.value = d + "px" : s.value.ui === "percentInput" && (r.value = d + "%");
1803
- }), (d, f) => {
1804
- const y = O("v-select"), v = O("v-number-input"), b = O("v-icon"), L = ae("ripple");
1805
- return S(), F("div", Ns, [
1806
- q("div", ks, [
1807
- re(k(y, {
1815
+ }), (d, c) => {
1816
+ const g = O("v-select"), y = O("v-number-input"), h = O("v-icon"), M = le("ripple");
1817
+ return S(), H("div", Ns, [
1818
+ q("div", Bs, [
1819
+ Y(B(g, {
1808
1820
  modelValue: o.value,
1809
1821
  "onUpdate:modelValue": [
1810
- f[0] || (f[0] = (_) => o.value = _),
1811
- a
1822
+ c[0] || (c[0] = (b) => o.value = b),
1823
+ u
1812
1824
  ],
1813
1825
  density: "compact",
1814
1826
  items: i.value,
@@ -1816,16 +1828,16 @@ const Ns = { class: "d-flex justify-space-between align-center my-2" }, ks = { c
1816
1828
  "single-line": ""
1817
1829
  }, null, 8, ["modelValue", "items"]), [
1818
1830
  [
1819
- L,
1831
+ M,
1820
1832
  void 0,
1821
1833
  void 0,
1822
1834
  { stop: !0 }
1823
1835
  ]
1824
1836
  ]),
1825
- s.value.ui === "pixelInput" || s.value.ui === "percentInput" ? re((S(), R(v, {
1837
+ s.value.ui === "pixelInput" || s.value.ui === "percentInput" ? Y((S(), R(y, {
1826
1838
  key: 0,
1827
- modelValue: u.value,
1828
- "onUpdate:modelValue": f[1] || (f[1] = (_) => u.value = _),
1839
+ modelValue: a.value,
1840
+ "onUpdate:modelValue": c[1] || (c[1] = (b) => a.value = b),
1829
1841
  density: "compact",
1830
1842
  "control-variant": "stacked",
1831
1843
  precision: s.value.precision,
@@ -1836,26 +1848,26 @@ const Ns = { class: "d-flex justify-space-between align-center my-2" }, ks = { c
1836
1848
  "single-line": ""
1837
1849
  }, null, 8, ["modelValue", "precision", "min", "max", "step"])), [
1838
1850
  [
1839
- L,
1851
+ M,
1840
1852
  void 0,
1841
1853
  void 0,
1842
1854
  { stop: !0 }
1843
1855
  ]
1844
- ]) : X("", !0)
1856
+ ]) : I("", !0)
1845
1857
  ]),
1846
- d.hasDelete ? (S(), R(b, {
1858
+ d.hasDelete ? (S(), R(h, {
1847
1859
  key: 0,
1848
1860
  class: "mx-2",
1849
- icon: E(ge),
1850
- onClick: f[2] || (f[2] = K((_) => l("delete"), ["stop"]))
1851
- }, null, 8, ["icon"])) : X("", !0)
1861
+ icon: E(ye),
1862
+ onClick: c[2] || (c[2] = K((b) => l("delete"), ["stop"]))
1863
+ }, null, 8, ["icon"])) : I("", !0)
1852
1864
  ]);
1853
1865
  };
1854
1866
  }
1855
1867
  });
1856
1868
  function Rs(e) {
1857
- return { renderUiMultiTypes: (n, r, l, o, i) => r.ui !== "multiTypes" ? (console.assert(!1), h("div", "renderUiMultiTypes prop ui must be multiTypes")) : h(Bs, {
1858
- modelValue: ye(
1869
+ return { renderUiMultiTypes: (n, r, l, o, i) => r.ui !== "multiTypes" ? (console.assert(!1), _("div", "renderUiMultiTypes prop ui must be multiTypes")) : _(ks, {
1870
+ modelValue: ce(
1859
1871
  n,
1860
1872
  r,
1861
1873
  l,
@@ -1890,94 +1902,94 @@ const Fs = /* @__PURE__ */ z({
1890
1902
  },
1891
1903
  emits: ["change"],
1892
1904
  setup(e, { emit: t }) {
1893
- const { t: n } = de(), { backgroundColor1: r } = Te(), l = e, o = t, i = B("20px"), s = B("56px"), a = B("200px"), u = Ln({}), d = B({}), f = (m, c) => {
1894
- Ft(d, l.config, l.object), o("change", m, c);
1905
+ const { t: n } = ie(), { backgroundColor1: r } = Te(), l = e, o = t, i = k("20px"), s = k("56px"), u = k("200px"), a = Ln({}), d = k({}), c = (v, f) => {
1906
+ Ft(d, l.config, l.object), o("change", v, f);
1895
1907
  };
1896
- Be(
1908
+ ke(
1897
1909
  [() => l.config, () => l.object],
1898
1910
  () => {
1899
- Ft(d, l.config, l.object, (m, c) => {
1900
- o("change", m, c);
1911
+ Ft(d, l.config, l.object, (v, f) => {
1912
+ o("change", v, f);
1901
1913
  });
1902
1914
  },
1903
1915
  { immediate: !0 }
1904
1916
  );
1905
- const y = B(l.config);
1906
- Ji(y), Be(
1917
+ const g = k(l.config);
1918
+ Ji(g), ke(
1907
1919
  () => l.config,
1908
1920
  () => {
1909
- y.value = l.config;
1921
+ g.value = l.config;
1910
1922
  }
1911
1923
  );
1912
- const v = B(l.object);
1913
- Yi(v), Be(
1924
+ const y = k(l.object);
1925
+ Yi(y), ke(
1914
1926
  () => l.object,
1915
1927
  () => {
1916
- v.value = l.object;
1928
+ y.value = l.object;
1917
1929
  }
1918
- ), es(d), ns(f);
1919
- const b = B([]);
1920
- os(b);
1921
- const L = () => {
1922
- const { compGroups: m, comps: c } = Rn.app.activeApp, g = [];
1923
- m.forEach(({ id: p, name: $, position: C }) => {
1924
- const U = b.value.find((Q) => Q.id === p);
1925
- g.push({
1930
+ ), es(d), ns(c);
1931
+ const h = k([]);
1932
+ os(h);
1933
+ const M = () => {
1934
+ const { compGroups: v, comps: f } = Rn.app.activeApp, m = [];
1935
+ v.forEach(({ id: p, name: $, position: C }) => {
1936
+ const L = h.value.find((ee) => ee.id === p);
1937
+ m.push({
1926
1938
  id: p,
1927
1939
  type: 0,
1928
1940
  name: $,
1929
1941
  position: C,
1930
- collapse: (U == null ? void 0 : U.collapse) ?? !0
1942
+ collapse: (L == null ? void 0 : L.collapse) ?? !0
1931
1943
  });
1932
- }), c.forEach(({ id: p, groupid: $, name: C, position: U }) => {
1933
- g.push({ id: p, type: 1, name: C, position: U, group: $ });
1934
- }), Fi(g, !0), b.value = g;
1944
+ }), f.forEach(({ id: p, groupid: $, name: C, position: L }) => {
1945
+ m.push({ id: p, type: 1, name: C, position: L, group: $ });
1946
+ }), Fi(m, !0), h.value = m;
1935
1947
  };
1936
- let _;
1948
+ let b;
1937
1949
  const D = () => {
1938
- clearTimeout(_), _ = window.setTimeout(() => {
1939
- L(), _ && D();
1950
+ clearTimeout(b), b = window.setTimeout(() => {
1951
+ M(), b && D();
1940
1952
  }, 1e3);
1941
1953
  }, w = () => {
1942
- clearTimeout(_), _ = void 0;
1954
+ clearTimeout(b), b = void 0;
1943
1955
  };
1944
1956
  Dn(() => {
1945
1957
  D();
1946
1958
  }), jn(() => {
1947
1959
  w();
1948
1960
  });
1949
- const { renderProp: x } = us(d, s, a), { renderUiDummy: A } = cs(f), { renderUiStrInput: M } = ps(f), { renderUiNumInput: W } = gs(f), { renderUiSwitch: We } = _s(f), { renderUiSelect: _n } = Ts(f), { renderUiColorPicker: bn } = Es(f), { renderUiMultiTypes: $n } = Rs(f), { renderUiCompSelect: Tn } = Ls(f), Le = (m, c, g, p, $, C) => (m = sn(m), $ !== void 0 ? (m.push($), C && m.push(c.key)) : m.push(c.key), c.ui ? c.array && $ === void 0 ? An(m, c, g, p, $, C) : Cn(m, c, g, $, C) : c.array ? Sn(m, c, g, p, $, C) : wn(
1961
+ const { renderProp: U } = us(d, s, u), { renderUiDummy: A } = cs(c), { renderUiStrInput: V } = ps(c), { renderUiNumInput: W } = gs(c), { renderUiSwitch: We } = _s(c), { renderUiSelect: _n } = Ts(c), { renderUiColorPicker: bn } = Es(c), { renderUiMultiTypes: $n } = Rs(c), { renderUiCompSelect: Tn } = Ls(c), Le = (v, f, m, p, $, C) => (v = sn(v), $ !== void 0 ? (v.push($), C && v.push(f.key)) : v.push(f.key), f.ui ? f.array && $ === void 0 ? An(v, f, m, p, $, C) : Cn(v, f, m, $, C) : f.array ? Sn(v, f, m, p, $, C) : wn(
1962
+ v,
1963
+ f,
1950
1964
  m,
1951
- c,
1952
- g,
1953
1965
  p,
1954
1966
  $,
1955
1967
  C
1956
- )), Sn = (m, c, g, p, $, C) => {
1957
- if (c.ui)
1958
- return console.assert(!1), h("div", "renderBranchArray prop ui must be invalid");
1959
- if (!c.array)
1960
- return console.assert(!1), h("div", "renderBranchArray prop array must be valid");
1968
+ )), Sn = (v, f, m, p, $, C) => {
1969
+ if (f.ui)
1970
+ return console.assert(!1), _("div", "renderBranchArray prop ui must be invalid");
1971
+ if (!f.array)
1972
+ return console.assert(!1), _("div", "renderBranchArray prop array must be valid");
1961
1973
  if (!p)
1962
- return console.assert(!1), h("div", "renderBranchArray branch must be valid");
1963
- let U;
1964
- $ !== void 0 && !C ? (g[$] instanceof Array || (g[$] = N(c), f(m, g[c.key])), U = g[$]) : (g[c.key] instanceof Array || (g[c.key] = N(c), f(m, g[c.key])), U = g[c.key]);
1965
- let Q = n(c.name);
1966
- p.collapse && be(d.value, m) && (Q += " *");
1967
- const Se = h(ke, {
1968
- title: Q,
1974
+ return console.assert(!1), _("div", "renderBranchArray branch must be valid");
1975
+ let L;
1976
+ $ !== void 0 && !C ? (m[$] instanceof Array || (m[$] = N(f), c(v, m[f.key])), L = m[$]) : (m[f.key] instanceof Array || (m[f.key] = N(f), c(v, m[f.key])), L = m[f.key]);
1977
+ let ee = n(f.name);
1978
+ p.collapse && be(d.value, v) && (ee += " *");
1979
+ const Se = _(Be, {
1980
+ title: ee,
1969
1981
  collapse: p.collapse,
1970
1982
  hasCreate: !0,
1971
1983
  onCollapse: (T) => {
1972
1984
  p.collapse = T;
1973
1985
  },
1974
1986
  onMenu: (T, j) => {
1975
- _e.emit("propTreeMenu", { x: T, y: j, keys: m });
1987
+ _e.emit("propTreeMenu", { x: T, y: j, keys: v });
1976
1988
  },
1977
1989
  onCreate: () => {
1978
- U.push({}), f(m, U);
1990
+ L.push({}), c(v, L);
1979
1991
  }
1980
- }), H = h(
1992
+ }), G = _(
1981
1993
  "div",
1982
1994
  {
1983
1995
  style: {
@@ -1986,7 +1998,7 @@ const Fs = /* @__PURE__ */ z({
1986
1998
  },
1987
1999
  (() => {
1988
2000
  const T = [];
1989
- for (let j = 0; j < U.length; j++) {
2001
+ for (let j = 0; j < L.length; j++) {
1990
2002
  if (!tt(p.children)) {
1991
2003
  console.assert(!1);
1992
2004
  break;
@@ -1995,34 +2007,34 @@ const Fs = /* @__PURE__ */ z({
1995
2007
  collapse: !0,
1996
2008
  children: {}
1997
2009
  });
1998
- const De = [...m, j], je = p.children[j];
1999
- let mt = n("x-prop-tree.entry", { index: j });
2000
- p.children[j].collapse && be(d.value, De) && (mt += " *");
2001
- const On = h(ke, {
2002
- title: mt,
2010
+ const De = [...v, j], je = p.children[j];
2011
+ let vt = n("x-prop-tree.entry", { index: j });
2012
+ p.children[j].collapse && be(d.value, De) && (vt += " *");
2013
+ const On = _(Be, {
2014
+ title: vt,
2003
2015
  collapse: p.children[j].collapse,
2004
2016
  hasDelete: !0,
2005
2017
  index: j,
2006
- onCollapse: (ee) => {
2018
+ onCollapse: (te) => {
2007
2019
  if (!tt(p.children)) {
2008
2020
  console.assert(!1);
2009
2021
  return;
2010
2022
  }
2011
- p.children[j].collapse = ee;
2023
+ p.children[j].collapse = te;
2012
2024
  },
2013
- onMenu: (ee, ue) => {
2014
- _e.emit("propTreeMenu", { x: ee, y: ue, keys: De });
2025
+ onMenu: (te, fe) => {
2026
+ _e.emit("propTreeMenu", { x: te, y: fe, keys: De });
2015
2027
  },
2016
- onDelete: (ee) => {
2028
+ onDelete: (te) => {
2017
2029
  if (!tt(p.children)) {
2018
2030
  console.assert(!1);
2019
2031
  return;
2020
2032
  }
2021
- p.children.splice(ee, 1), U.splice(ee, 1), f(m, U);
2033
+ p.children.splice(te, 1), L.splice(te, 1), c(v, L);
2022
2034
  }
2023
2035
  });
2024
2036
  T.push(On);
2025
- const Vn = h(
2037
+ const xn = _(
2026
2038
  "div",
2027
2039
  {
2028
2040
  style: {
@@ -2030,34 +2042,34 @@ const Fs = /* @__PURE__ */ z({
2030
2042
  }
2031
2043
  },
2032
2044
  (() => {
2033
- const ee = [];
2034
- return c.children.forEach((ue) => {
2045
+ const te = [];
2046
+ return f.children.forEach((fe) => {
2035
2047
  if (!Rt(je.children)) {
2036
2048
  console.assert(!1);
2037
2049
  return;
2038
2050
  }
2039
- je.children[ue.key] || (je.children[ue.key] = {
2051
+ je.children[fe.key] || (je.children[fe.key] = {
2040
2052
  collapse: !0,
2041
- children: ue.array ? [] : {}
2053
+ children: fe.array ? [] : {}
2042
2054
  });
2043
- const xn = Le(
2044
- m,
2045
- ue,
2046
- U[j],
2047
- je.children[ue.key],
2055
+ const Mn = Le(
2056
+ v,
2057
+ fe,
2058
+ L[j],
2059
+ je.children[fe.key],
2048
2060
  j,
2049
2061
  !0
2050
2062
  );
2051
- ee.push(xn);
2052
- }), ee;
2063
+ te.push(Mn);
2064
+ }), te;
2053
2065
  })()
2054
2066
  );
2055
- p.children[j].collapse || T.push(Vn);
2067
+ p.children[j].collapse || T.push(xn);
2056
2068
  }
2057
2069
  return T;
2058
2070
  })()
2059
2071
  );
2060
- return h(
2072
+ return _(
2061
2073
  "div",
2062
2074
  {
2063
2075
  style: {
@@ -2066,32 +2078,32 @@ const Fs = /* @__PURE__ */ z({
2066
2078
  },
2067
2079
  (() => {
2068
2080
  const T = [];
2069
- return T.push(Se), p.collapse || T.push(H), T;
2081
+ return T.push(Se), p.collapse || T.push(G), T;
2070
2082
  })()
2071
2083
  );
2072
- }, wn = (m, c, g, p, $, C) => {
2073
- if (c.ui)
2074
- return console.assert(!1), h("div", "renderBranchScalar prop ui must be invalid");
2075
- if (c.array)
2076
- return console.assert(!1), h("div", "renderBranchScalar prop array must be invalid");
2084
+ }, wn = (v, f, m, p, $, C) => {
2085
+ if (f.ui)
2086
+ return console.assert(!1), _("div", "renderBranchScalar prop ui must be invalid");
2087
+ if (f.array)
2088
+ return console.assert(!1), _("div", "renderBranchScalar prop array must be invalid");
2077
2089
  if (!p)
2078
- return console.assert(!1), h("div", "renderBranchScalar branch must be valid");
2079
- let U = n(c.name);
2080
- p.collapse && be(d.value, m) && (U += " *");
2081
- const Q = h(ke, {
2082
- title: U,
2090
+ return console.assert(!1), _("div", "renderBranchScalar branch must be valid");
2091
+ let L = n(f.name);
2092
+ p.collapse && be(d.value, v) && (L += " *");
2093
+ const ee = _(Be, {
2094
+ title: L,
2083
2095
  collapse: p.collapse,
2084
2096
  hasDelete: $ !== void 0 && !C,
2085
- onCollapse: (H) => {
2086
- p.collapse = H;
2097
+ onCollapse: (G) => {
2098
+ p.collapse = G;
2087
2099
  },
2088
- onMenu: (H, T) => {
2089
- _e.emit("propTreeMenu", { x: H, y: T, keys: m });
2100
+ onMenu: (G, T) => {
2101
+ _e.emit("propTreeMenu", { x: G, y: T, keys: v });
2090
2102
  },
2091
2103
  onDelete: () => {
2092
- $ === void 0 || C || (g.splice($, 1), f(m.slice(0, -1), g));
2104
+ $ === void 0 || C || (m.splice($, 1), c(v.slice(0, -1), m));
2093
2105
  }
2094
- }), Se = h(
2106
+ }), Se = _(
2095
2107
  "div",
2096
2108
  {
2097
2109
  style: {
@@ -2099,8 +2111,8 @@ const Fs = /* @__PURE__ */ z({
2099
2111
  }
2100
2112
  },
2101
2113
  (() => {
2102
- const H = [];
2103
- return c.children.forEach((T) => {
2114
+ const G = [];
2115
+ return f.children.forEach((T) => {
2104
2116
  if (!Rt(p.children)) {
2105
2117
  console.assert(!1);
2106
2118
  return;
@@ -2110,16 +2122,16 @@ const Fs = /* @__PURE__ */ z({
2110
2122
  children: !T.ui && T.array ? [] : {}
2111
2123
  });
2112
2124
  const j = Le(
2113
- m,
2125
+ v,
2114
2126
  T,
2115
- (typeof g[c.key] != "object" && (g[c.key] = {}, f(m, g[c.key])), g[c.key]),
2127
+ (typeof m[f.key] != "object" && (m[f.key] = {}, c(v, m[f.key])), m[f.key]),
2116
2128
  p.children[T.key]
2117
2129
  );
2118
- H.push(j);
2119
- }), H;
2130
+ G.push(j);
2131
+ }), G;
2120
2132
  })()
2121
2133
  );
2122
- return h(
2134
+ return _(
2123
2135
  "div",
2124
2136
  {
2125
2137
  style: {
@@ -2127,35 +2139,35 @@ const Fs = /* @__PURE__ */ z({
2127
2139
  }
2128
2140
  },
2129
2141
  (() => {
2130
- const H = [];
2131
- return H.push(Q), p.collapse || H.push(Se), H;
2142
+ const G = [];
2143
+ return G.push(ee), p.collapse || G.push(Se), G;
2132
2144
  })()
2133
2145
  );
2134
- }, An = (m, c, g, p, $, C) => {
2135
- if (!c.ui)
2136
- return console.assert(!1), h("div", "renderLeafArray prop ui must be valid");
2137
- if (!c.array)
2138
- return console.assert(!1), h("div", "renderLeafArray prop array must be valid");
2146
+ }, An = (v, f, m, p, $, C) => {
2147
+ if (!f.ui)
2148
+ return console.assert(!1), _("div", "renderLeafArray prop ui must be valid");
2149
+ if (!f.array)
2150
+ return console.assert(!1), _("div", "renderLeafArray prop array must be valid");
2139
2151
  if (!p)
2140
- return console.assert(!1), h("div", "renderLeafArray branch must be valid");
2141
- let U;
2142
- $ !== void 0 && !C ? (g[$] instanceof Array || (g[$] = N(c), f(m, g[$])), U = g[$]) : (g[c.key] instanceof Array || (g[c.key] = N(c), f(m, g[c.key])), U = g[c.key]);
2143
- let Q = n(c.name);
2144
- p.collapse && be(d.value, m) && (Q += " *");
2145
- const Se = h(ke, {
2146
- title: Q,
2152
+ return console.assert(!1), _("div", "renderLeafArray branch must be valid");
2153
+ let L;
2154
+ $ !== void 0 && !C ? (m[$] instanceof Array || (m[$] = N(f), c(v, m[$])), L = m[$]) : (m[f.key] instanceof Array || (m[f.key] = N(f), c(v, m[f.key])), L = m[f.key]);
2155
+ let ee = n(f.name);
2156
+ p.collapse && be(d.value, v) && (ee += " *");
2157
+ const Se = _(Be, {
2158
+ title: ee,
2147
2159
  collapse: p.collapse,
2148
2160
  hasCreate: !0,
2149
2161
  onCollapse: (T) => {
2150
2162
  p.collapse = T;
2151
2163
  },
2152
2164
  onMenu: (T, j) => {
2153
- _e.emit("propTreeMenu", { x: T, y: j, keys: m });
2165
+ _e.emit("propTreeMenu", { x: T, y: j, keys: v });
2154
2166
  },
2155
2167
  onCreate: () => {
2156
- U.push(N(c, !0)), f(m, U);
2168
+ L.push(N(f, !0)), c(v, L);
2157
2169
  }
2158
- }), H = h(
2170
+ }), G = _(
2159
2171
  "div",
2160
2172
  {
2161
2173
  style: {
@@ -2164,14 +2176,14 @@ const Fs = /* @__PURE__ */ z({
2164
2176
  },
2165
2177
  (() => {
2166
2178
  const T = [];
2167
- for (let j = 0; j < U.length; j++) {
2168
- const De = Le(m, c, U, void 0, j, !1);
2179
+ for (let j = 0; j < L.length; j++) {
2180
+ const De = Le(v, f, L, void 0, j, !1);
2169
2181
  T.push(De);
2170
2182
  }
2171
2183
  return T;
2172
2184
  })()
2173
2185
  );
2174
- return h(
2186
+ return _(
2175
2187
  "div",
2176
2188
  {
2177
2189
  style: {
@@ -2180,15 +2192,15 @@ const Fs = /* @__PURE__ */ z({
2180
2192
  },
2181
2193
  (() => {
2182
2194
  const T = [];
2183
- return T.push(Se), p.collapse || T.push(H), T;
2195
+ return T.push(Se), p.collapse || T.push(G), T;
2184
2196
  })()
2185
2197
  );
2186
- }, Cn = (m, c, g, p, $) => {
2187
- if (!c.ui)
2188
- return console.assert(!1), h("div", "renderLeafScalar prop ui must be valid");
2198
+ }, Cn = (v, f, m, p, $) => {
2199
+ if (!f.ui)
2200
+ return console.assert(!1), _("div", "renderLeafScalar prop ui must be valid");
2189
2201
  let C;
2190
- return c.ui === "dummy" ? C = A(m, c, g, p, $) : c.ui === "strInput" ? C = M(m, c, g, p, $) : c.ui === "numInput" ? C = W(m, c, g, p, $) : c.ui === "switch" ? C = We(m, c, g, p, $) : c.ui === "select" ? C = _n(m, c, g, p, $) : c.ui === "colorPicker" ? C = bn(m, c, g, p, $) : c.ui === "multiTypes" ? C = $n(m, c, g, p, $) : c.ui === "compSelect" ? C = Tn(m, c, g, p, $) : console.assert(!1, "renderLeafScalar not implemented"), C ? x(m, c, C) : h("div");
2191
- }, Pn = () => h(
2202
+ return f.ui === "dummy" ? C = A(v, f, m, p, $) : f.ui === "strInput" ? C = V(v, f, m, p, $) : f.ui === "numInput" ? C = W(v, f, m, p, $) : f.ui === "switch" ? C = We(v, f, m, p, $) : f.ui === "select" ? C = _n(v, f, m, p, $) : f.ui === "colorPicker" ? C = bn(v, f, m, p, $) : f.ui === "multiTypes" ? C = $n(v, f, m, p, $) : f.ui === "compSelect" ? C = Tn(v, f, m, p, $) : console.assert(!1, "renderLeafScalar not implemented"), C ? U(v, f, C) : _("div");
2203
+ }, Pn = () => _(
2192
2204
  "div",
2193
2205
  {
2194
2206
  class: "text-body-2",
@@ -2197,25 +2209,25 @@ const Fs = /* @__PURE__ */ z({
2197
2209
  }
2198
2210
  },
2199
2211
  (() => {
2200
- const m = [];
2212
+ const v = [];
2201
2213
  if (l.unique && l.config.length > 0 && l.object) {
2202
- u[l.unique] || (u[l.unique] = {});
2203
- const c = u[l.unique];
2204
- l.config.forEach((g) => {
2205
- c[g.key] || (c[g.key] = {
2214
+ a[l.unique] || (a[l.unique] = {});
2215
+ const f = a[l.unique];
2216
+ l.config.forEach((m) => {
2217
+ f[m.key] || (f[m.key] = {
2206
2218
  collapse: !0,
2207
- children: !g.ui && g.array ? [] : {}
2219
+ children: !m.ui && m.array ? [] : {}
2208
2220
  });
2209
- const p = Le([], g, l.object, c[g.key]);
2210
- m.push(p);
2221
+ const p = Le([], m, l.object, f[m.key]);
2222
+ v.push(p);
2211
2223
  });
2212
2224
  }
2213
- return m;
2225
+ return v;
2214
2226
  })()
2215
2227
  );
2216
- return (m, c) => (S(), F(He, null, [
2217
- k(Pn),
2218
- k(ls, {
2228
+ return (v, f) => (S(), H(He, null, [
2229
+ B(Pn),
2230
+ B(ls, {
2219
2231
  config: l.config,
2220
2232
  object: l.object,
2221
2233
  "prop-states": d.value