x-prop-tree 0.6.4 → 0.6.6

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 Me, inject as Ue, 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 Ce, 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 B, computed as F, resolveComponent as O, createBlock as R, openBlock as S, unref as E, isRef as Fe, withCtx as J, createVNode as k, 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 Be, 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
4
  import { getPropDefault as N, parsePixelStr as Nn, parsePercentStr as kn } from "x-runtime-lib";
5
5
  import { useDisplay as Bn } 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,29 +16,29 @@ 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 Le(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 fe(e) {
27
27
  return e != null && typeof e == "object";
28
28
  }
29
- var Oe = Array.isArray;
29
+ var Pe = Array.isArray;
30
30
  function qe(e) {
31
31
  var t = typeof e;
32
32
  return e != null && (t == "object" || t == "function");
33
33
  }
34
34
  var Jn = "[object AsyncFunction]", Wn = "[object Function]", Yn = "[object GeneratorFunction]", Qn = "[object Proxy]";
35
- function It(e) {
35
+ function Xt(e) {
36
36
  if (!qe(e))
37
37
  return !1;
38
- var t = Le(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
  }();
@@ -65,17 +65,17 @@ 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;
68
+ var t = Xt(e) ? ur : or;
69
69
  return t.test(pe(e));
70
70
  }
71
71
  function fr(e, t) {
72
72
  return e == null ? void 0 : e[t];
73
73
  }
74
- function me(e, t) {
74
+ function ve(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 = ve(Q, "WeakMap"), ht = Object.create, dr = /* @__PURE__ */ function() {
79
79
  function e() {
80
80
  }
81
81
  return function(t) {
@@ -89,7 +89,7 @@ var nt = me(Y, "WeakMap"), ht = Object.create, dr = /* @__PURE__ */ function() {
89
89
  };
90
90
  }(), _t = function() {
91
91
  try {
92
- var e = me(Object, "defineProperty");
92
+ var e = ve(Object, "defineProperty");
93
93
  return e({}, "", {}), e;
94
94
  } catch {
95
95
  }
@@ -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,42 +139,42 @@ function wr(e, t) {
139
139
  }
140
140
  var Ar = "[object Arguments]";
141
141
  function bt(e) {
142
- return ce(e) && Le(e) == Ar;
142
+ return fe(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 fe(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]", x = {};
153
- x[Xr] = x[Ir] = x[Zr] = x[Jr] = x[Wr] = x[Yr] = x[Qr] = x[eo] = x[to] = !0;
154
- x[Ur] = x[Lr] = x[Kr] = x[Dr] = x[qr] = x[jr] = x[Er] = x[Nr] = x[kr] = x[Br] = x[Rr] = x[Fr] = x[Hr] = x[Gr] = x[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]", 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]", 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[kr] = x[Br] = x[Rr] = x[Fr] = x[Hr] = x[Gr] = x[zr] = !1;
155
155
  function no(e) {
156
- return ce(e) && Zt(e.length) && !!x[Le(e)];
156
+ return fe(e) && Zt(e.length) && !!x[Ve(e)];
157
157
  }
158
158
  function ct(e) {
159
159
  return function(t) {
160
160
  return e(t);
161
161
  };
162
162
  }
163
- var Qt = typeof exports == "object" && exports && !exports.nodeType && exports, Pe = Qt && typeof module == "object" && module && !module.nodeType && module, ro = Pe && Pe.exports === Qt, Qe = ro && qt.process, $e = function() {
163
+ var Qt = typeof exports == "object" && exports && !exports.nodeType && exports, Ce = Qt && typeof module == "object" && module && !module.nodeType && module, ro = Ce && Ce.exports === Qt, Qe = ro && qt.process, $e = function() {
164
164
  try {
165
- var e = Pe && Pe.require && Pe.require("util").types;
165
+ var e = Ce && Ce.require && Ce.require("util").types;
166
166
  return e || Qe && Qe.binding && Qe.binding("util");
167
167
  } catch {
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 = Oe(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) {
@@ -194,49 +194,49 @@ function co(e) {
194
194
  function fo(e) {
195
195
  return Tr(e) ? io(e) : co(e);
196
196
  }
197
- var Ve = me(Object, "create");
197
+ var Oe = ve(Object, "create");
198
198
  function po() {
199
- this.__data__ = Ve ? Ve(null) : {}, this.size = 0;
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
- if (Ve) {
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
  }
214
214
  var _o = Object.prototype, bo = _o.hasOwnProperty;
215
215
  function $o(e) {
216
216
  var t = this.__data__;
217
- return Ve ? t[e] !== void 0 : bo.call(t, e);
217
+ return Oe ? t[e] !== void 0 : bo.call(t, e);
218
218
  }
219
219
  var To = "__lodash_hash_undefined__";
220
220
  function So(e, t) {
221
221
  var n = this.__data__;
222
- return this.size += this.has(e) ? 0 : 1, n[e] = Ve && t === void 0 ? To : t, this;
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 de(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
+ de.prototype.clear = po;
232
+ de.prototype.delete = vo;
233
+ de.prototype.get = ho;
234
+ de.prototype.has = $o;
235
+ de.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,77 +244,77 @@ 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 xe = 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 = ve(Q, "Map");
277
+ function Uo() {
278
278
  this.size = 0, this.__data__ = {
279
- hash: new fe(),
280
- map: new (xe || le)(),
281
- string: new fe()
279
+ hash: new de(),
280
+ map: new (xe || se)(),
281
+ string: new de()
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 me(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
+ me.prototype.clear = Uo;
314
+ me.prototype.delete = Lo;
315
+ me.prototype.get = Do;
316
+ me.prototype.has = jo;
317
+ me.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];
@@ -322,7 +322,7 @@ function No(e, t) {
322
322
  }
323
323
  var ko = tn(Object.getPrototypeOf, Object);
324
324
  function Bo() {
325
- this.__data__ = new le(), this.size = 0;
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,65 +337,65 @@ 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
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 me(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 = Bo;
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
- return Oe(e) ? r : No(r, n(e));
379
+ return Pe(e) ? r : No(r, n(e));
380
380
  }
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(xe), nl = pe(lt), rl = pe(it), ol = pe(nt), Z = Le;
385
- (ot && Z(new ot(new ArrayBuffer(1))) != Mt || xe && Z(new xe()) != Pt || lt && Z(lt.resolve()) != Ot || it && Z(new it()) != Vt || nt && Z(new nt()) != xt) && (Z = function(e) {
386
- var t = Le(e), n = t == Qo ? e.constructor : void 0, r = n ? pe(n) : "";
384
+ var ot = ve(Q, "DataView"), lt = ve(Q, "Promise"), it = ve(Q, "Set"), Pt = "[object Map]", Qo = "[object Object]", Ot = "[object Promise]", xt = "[object Set]", Mt = "[object WeakMap]", Ut = "[object DataView]", el = pe(ot), tl = pe(xe), nl = pe(lt), rl = pe(it), ol = pe(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 ? pe(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:
@@ -465,14 +465,14 @@ function Ll(e) {
465
465
  }
466
466
  var Dl = "[object Map]";
467
467
  function jl(e) {
468
- return ce(e) && Z(e) == Dl;
468
+ return fe(e) && Z(e) == Dl;
469
469
  }
470
470
  var Dt = $e && $e.isMap, El = Dt ? ct(Dt) : jl, Nl = "[object Set]";
471
471
  function kl(e) {
472
- return ce(e) && Z(e) == Nl;
472
+ return fe(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, 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]", 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;
@@ -480,33 +480,33 @@ function Re(e, t, n, r, l, o) {
480
480
  return i;
481
481
  if (!qe(e))
482
482
  return e;
483
- var s = Oe(e);
483
+ var s = Pe(e);
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());
499
- var f = o.get(e);
500
- if (f)
501
- return f;
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, _) {
505
- i.set(_, Re(v, t, n, _, e, o));
498
+ o || (o = new ne());
499
+ var d = o.get(e);
500
+ if (d)
501
+ return d;
502
+ o.set(e, i), Bl(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 d = rt, y = s ? void 0 : d(e);
508
- return pr(y || e, function(v, _) {
509
- y && (_ = v, v = e[_]), br(i, _, Re(v, t, n, _, 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 me(); ++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), f = o.get(t);
545
- if (u && f)
546
- return u == t && f == e;
547
- var d = -1, y = !0, v = n & yi ? new Ke() : void 0;
548
- for (o.set(e, t), o.set(t, e); ++d < s; ) {
549
- var _ = e[d], V = t[d];
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(V, _, d, t, e, o) : r(_, V, d, 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) && (_ === D || l(_, 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 (!(_ === V || l(_, V, 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
- var f = an(s(e), s(t), r, l, o, i);
614
- return i.delete(e), f;
615
- case xi:
613
+ var d = an(s(e), s(t), r, l, o, i);
614
+ return i.delete(e), d;
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), f = u.length;
624
- if (a != f && !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 d = a; d--; ) {
627
- var y = s[d];
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), _ = o.get(t);
632
- if (v && _)
633
- return v == t && _ == e;
634
- var V = !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; ++d < a; ) {
637
- y = s[d];
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 M = i ? r(w, D, y, t, e, o) : r(D, w, y, e, t, o);
641
- if (!(M === void 0 ? D === w || l(D, w, n, r, o) : M)) {
642
- V = !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 (V && !$) {
648
- var A = e.constructor, U = t.constructor;
649
- A != U && "constructor" in e && "constructor" in t && !(typeof A == "function" && A instanceof A && typeof U == "function" && U instanceof U) && (V = !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), V;
651
+ return o.delete(e), o.delete(t), M;
652
652
  }
653
- var ki = 1, Nt = "[object Arguments]", kt = "[object Array]", Ne = "[object Object]", Bi = Object.prototype, Bt = Bi.hasOwnProperty;
653
+ var ki = 1, Nt = "[object Arguments]", kt = "[object Array]", Ee = "[object Object]", Bi = Object.prototype, Bt = Bi.hasOwnProperty;
654
654
  function Ri(e, t, n, r, l, o) {
655
- var i = Oe(e), s = Oe(t), a = i ? kt : Z(e), u = s ? kt : Z(t);
656
- a = a == Nt ? Ne : a, u = u == Nt ? Ne : u;
657
- var f = a == Ne, d = u == Ne, y = a == u;
658
- if (y && Ge(e)) {
655
+ var i = Pe(e), s = Pe(t), u = i ? kt : Z(e), a = s ? kt : 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
- i = !0, f = !1;
661
+ i = !0, d = !1;
662
662
  }
663
- if (y && !f)
664
- return o || (o = new te()), i || en(e) ? an(e, t, n, r, l, o) : Li(e, t, a, n, r, l, 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
665
  if (!(n & ki)) {
666
- var v = f && Bt.call(e, "__wrapped__"), _ = d && Bt.call(t, "__wrapped__");
667
- if (v || _) {
668
- var V = v ? e.value() : e, $ = _ ? t.value() : t;
669
- return o || (o = new te()), l(V, $, n, r, o);
666
+ var y = d && Bt.call(e, "__wrapped__"), h = c && Bt.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 || !fe(e) && !fe(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
  }
@@ -712,7 +712,7 @@ function Hi(e, t, n) {
712
712
  }
713
713
  }
714
714
  }
715
- const ke = (e, t) => {
715
+ const Ne = (e, t) => {
716
716
  let n = { key: "", name: "", children: e };
717
717
  return t.forEach((r) => {
718
718
  if (typeof r != "number") {
@@ -753,7 +753,7 @@ const ke = (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 ke = (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 ke = (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];
795
- t.children.forEach((f) => {
796
- if (!dt(u.children)) {
794
+ const a = r.children[u];
795
+ t.children.forEach((d) => {
796
+ if (!dt(a.children)) {
797
797
  console.assert(!1);
798
798
  return;
799
799
  }
800
- u.children[f.key] = {
800
+ a.children[d.key] = {
801
801
  change: !1,
802
- children: f.array ? [] : {}
802
+ children: d.array ? [] : {}
803
803
  }, Je(
804
804
  e,
805
- f,
806
- s[a],
807
- u.children[f.key],
805
+ d,
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 ke = (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 ke = (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,7 +868,7 @@ const ke = (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
873
  Me(fn, e);
874
874
  }
@@ -888,80 +888,80 @@ function ts() {
888
888
  return Ue(pn);
889
889
  }
890
890
  function ns(e) {
891
- Me(mn, e);
891
+ Me(vn, e);
892
892
  }
893
893
  function rs() {
894
- return Ue(mn);
894
+ return Ue(vn);
895
895
  }
896
896
  function os(e) {
897
- Me(vn, e);
897
+ Me(mn, e);
898
898
  }
899
899
  function gn() {
900
- return Ue(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]), f = ($) => {
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 = B(0), s = B(0), u = B([]), 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 M = ke(n.value, a.value);
910
- if (M)
911
- if (M.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(M), o(a.value, A[a.value.at(-1)]);
916
- } else if (M.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 U = Ae(r.value, a.value.slice(0, -1));
924
- if (!U)
923
+ const V = Ae(r.value, u.value.slice(0, -1));
924
+ if (!V)
925
925
  return;
926
- U[a.value.at(-1)] = N(M), o(a.value, U[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 U = Ae(r.value, a.value);
929
- if (!U)
928
+ const V = Ae(r.value, u.value);
929
+ if (!V)
930
930
  return;
931
- M.children.forEach((W) => {
932
- U[W.key] = N(M), o([...a.value, W.key], U[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
- M.children.forEach((U) => {
940
- A[U.key] = N(M), o([...a.value, U.key], A[U.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
- }, d = ($) => {
948
+ }, c = (b) => {
949
949
  const D = () => {
950
- const w = ke(n.value, a.value), M = Ae(r.value, a.value);
951
- localStorage.setItem("propTreeCopy", JSON.stringify({ prop: w, object: M }));
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 M = localStorage.getItem("propTreeCopy");
960
- if (!M)
959
+ const U = localStorage.getItem("propTreeCopy");
960
+ if (!U)
961
961
  return !1;
962
962
  try {
963
- const { prop: A } = JSON.parse(M), U = ke(n.value, a.value);
964
- return Gi(A, U);
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,38 +969,38 @@ const ls = /* @__PURE__ */ z({
969
969
  }, w = () => {
970
970
  if (!D())
971
971
  return;
972
- const M = localStorage.getItem("propTreeCopy");
973
- if (M)
972
+ const U = localStorage.getItem("propTreeCopy");
973
+ if (U)
974
974
  try {
975
- const { object: A } = JSON.parse(M), U = ke(n.value, a.value);
976
- console.log(A, U);
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 f($), d($), y($), $;
988
- }), _ = ($) => {
989
- i.value = $.x, s.value = $.y, a.value = $.keys;
990
- }, { open: V } = at("propTreeMenu", _);
991
- return ($, D) => {
992
- const w = O("v-list-item-title"), M = O("v-list-item"), A = O("v-list"), U = O("v-menu");
993
- return S(), R(U, {
994
- modelValue: E(V),
995
- "onUpdate:modelValue": D[0] || (D[0] = (W) => Fe(V) ? V.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
1001
  k(A, null, {
1002
1002
  default: J(() => [
1003
- (S(!0), F(He, null, Ht(v.value, (W, We) => (S(), R(M, {
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
@@ -1008,7 +1008,7 @@ const ls = /* @__PURE__ */ z({
1008
1008
  default: J(() => [
1009
1009
  k(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)
@@ -1025,7 +1025,7 @@ const ls = /* @__PURE__ */ z({
1025
1025
  }
1026
1026
  });
1027
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 Be = /* @__PURE__ */ z({
1028
+ const ke = /* @__PURE__ */ z({
1029
1029
  __name: "title",
1030
1030
  props: {
1031
1031
  title: {},
@@ -1036,46 +1036,46 @@ const Be = /* @__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 = B(!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, f) => {
1050
- const d = 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: f[2] || (f[2] = (_) => o.value = !0),
1057
- onMouseout: f[3] || (f[3] = (_) => 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(d, {
1059
+ k(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(d, {
1063
+ q("span", null, re(a.title), 1),
1064
+ k(g),
1065
+ a.hasCreate ? (S(), R(c, {
1066
1066
  key: 0,
1067
1067
  class: "mx-3",
1068
1068
  icon: E(ss),
1069
- onClick: f[0] || (f[0] = K((_) => l("create"), ["stop"]))
1070
- }, null, 8, ["icon"])) : X("", !0),
1071
- u.hasDelete ? (S(), R(d, {
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
1074
  icon: E(ge),
1075
- onClick: f[1] || (f[1] = K((_) => l("delete", u.index), ["stop"]))
1076
- }, null, 8, ["icon"])) : X("", !0)
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,46 +1086,46 @@ const Be = /* @__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 = B(!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 f = 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] = (d) => o.value = !0),
1105
- onMouseout: u[1] || (u[1] = (d) => 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
- [f]
1109
+ [d]
1110
1110
  ]);
1111
1111
  };
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, f) => {
1123
- _e.emit("propTreeMenu", { x: u, y: f, 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
  } };
@@ -1147,29 +1147,29 @@ function cs(e) {
1147
1147
  }
1148
1148
  const fs = { class: "d-flex justify-space-between align-center" }, ds = /* @__PURE__ */ z({
1149
1149
  __name: "strInput",
1150
- props: /* @__PURE__ */ I({
1150
+ props: /* @__PURE__ */ X({
1151
1151
  hasDelete: { type: Boolean, default: !1 },
1152
1152
  readonly: { type: Boolean, default: !1 }
1153
1153
  }, {
1154
1154
  modelValue: {},
1155
1155
  modelModifiers: {}
1156
1156
  }),
1157
- emits: /* @__PURE__ */ I(["delete"], ["update:modelValue"]),
1157
+ emits: /* @__PURE__ */ X(["delete"], ["update:modelValue"]),
1158
1158
  setup(e, { emit: t }) {
1159
1159
  const n = oe(e, "modelValue"), r = t;
1160
1160
  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, {
1161
+ const i = O("v-text-field"), s = O("v-icon"), u = le("ripple");
1162
+ return S(), H("div", fs, [
1163
+ Y(k(i, {
1164
1164
  modelValue: n.value,
1165
- "onUpdate:modelValue": o[0] || (o[0] = (u) => n.value = u),
1165
+ "onUpdate:modelValue": o[0] || (o[0] = (a) => n.value = a),
1166
1166
  density: "compact",
1167
1167
  "hide-details": "",
1168
1168
  "single-line": "",
1169
1169
  readonly: l.readonly
1170
1170
  }, null, 8, ["modelValue", "readonly"]), [
1171
1171
  [
1172
- a,
1172
+ u,
1173
1173
  void 0,
1174
1174
  void 0,
1175
1175
  { stop: !0 }
@@ -1179,15 +1179,12 @@ const fs = { class: "d-flex justify-space-between align-center" }, ds = /* @__PU
1179
1179
  key: 0,
1180
1180
  class: "mx-2",
1181
1181
  icon: E(ge),
1182
- onClick: o[1] || (o[1] = K((u) => r("delete"), ["stop"]))
1183
- }, null, 8, ["icon"])) : X("", !0)
1182
+ onClick: o[1] || (o[1] = K((a) => r("delete"), ["stop"]))
1183
+ }, null, 8, ["icon"])) : I("", !0)
1184
1184
  ]);
1185
1185
  };
1186
1186
  }
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) => {
1187
+ }), ye = (e, t, n, r, l, o) => l !== void 0 && !o ? n[l] : n[t.key], he = (e, t, n, r, l, o, i) => {
1191
1188
  const s = N(t, !0);
1192
1189
  if (typeof r != typeof s) {
1193
1190
  console.assert(!1);
@@ -1196,7 +1193,7 @@ const fs = { class: "d-flex justify-space-between align-center" }, ds = /* @__PU
1196
1193
  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
1194
  };
1198
1195
  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, {
1196
+ return { renderUiStrInput: (n, r, l, o, i) => r.ui !== "strInput" ? (console.assert(!1), _("div", "renderUiStrInput prop ui must be strInput")) : _(ds, {
1200
1197
  modelValue: r.static ? r.value : ye(
1201
1198
  n,
1202
1199
  r,
@@ -1223,9 +1220,9 @@ function ps(e) {
1223
1220
  readonly: r.static || r.readonly
1224
1221
  }) };
1225
1222
  }
1226
- const ms = { class: "d-flex justify-space-between align-center" }, vs = /* @__PURE__ */ z({
1223
+ const vs = { class: "d-flex justify-space-between align-center" }, ms = /* @__PURE__ */ z({
1227
1224
  __name: "numInput",
1228
- props: /* @__PURE__ */ I({
1225
+ props: /* @__PURE__ */ X({
1229
1226
  hasDelete: { type: Boolean, default: !1 },
1230
1227
  precision: { default: () => {
1231
1228
  } },
@@ -1237,15 +1234,15 @@ const ms = { class: "d-flex justify-space-between align-center" }, vs = /* @__PU
1237
1234
  modelValue: {},
1238
1235
  modelModifiers: {}
1239
1236
  }),
1240
- emits: /* @__PURE__ */ I(["delete"], ["update:modelValue"]),
1237
+ emits: /* @__PURE__ */ X(["delete"], ["update:modelValue"]),
1241
1238
  setup(e, { emit: t }) {
1242
1239
  const n = oe(e, "modelValue"), r = t;
1243
1240
  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, {
1241
+ const i = O("v-number-input"), s = O("v-icon"), u = le("ripple");
1242
+ return S(), H("div", vs, [
1243
+ Y(k(i, {
1247
1244
  modelValue: n.value,
1248
- "onUpdate:modelValue": o[0] || (o[0] = (u) => n.value = u),
1245
+ "onUpdate:modelValue": o[0] || (o[0] = (a) => n.value = a),
1249
1246
  density: "compact",
1250
1247
  "control-variant": "stacked",
1251
1248
  precision: l.precision,
@@ -1257,7 +1254,7 @@ const ms = { class: "d-flex justify-space-between align-center" }, vs = /* @__PU
1257
1254
  readonly: l.readonly
1258
1255
  }, null, 8, ["modelValue", "precision", "min", "max", "step", "readonly"]), [
1259
1256
  [
1260
- a,
1257
+ u,
1261
1258
  void 0,
1262
1259
  void 0,
1263
1260
  { stop: !0 }
@@ -1267,14 +1264,14 @@ const ms = { class: "d-flex justify-space-between align-center" }, vs = /* @__PU
1267
1264
  key: 0,
1268
1265
  class: "mx-2",
1269
1266
  icon: E(ge),
1270
- onClick: o[1] || (o[1] = K((u) => r("delete"), ["stop"]))
1271
- }, null, 8, ["icon"])) : X("", !0)
1267
+ onClick: o[1] || (o[1] = K((a) => r("delete"), ["stop"]))
1268
+ }, null, 8, ["icon"])) : I("", !0)
1272
1269
  ]);
1273
1270
  };
1274
1271
  }
1275
1272
  });
1276
1273
  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, {
1274
+ return { renderUiNumInput: (n, r, l, o, i) => r.ui !== "numInput" ? (console.assert(!1), _("div", "renderUiNumInput prop ui must be numInput")) : _(ms, {
1278
1275
  modelValue: ye(
1279
1276
  n,
1280
1277
  r,
@@ -1303,40 +1300,51 @@ function gs(e) {
1303
1300
  }
1304
1301
  const ys = { class: "d-flex justify-space-between align-center" }, hs = /* @__PURE__ */ z({
1305
1302
  __name: "switch",
1306
- props: /* @__PURE__ */ I({
1303
+ props: /* @__PURE__ */ X({
1307
1304
  hasDelete: { type: Boolean, default: !1 },
1308
1305
  readonly: { type: Boolean, default: !1 }
1309
1306
  }, {
1310
1307
  modelValue: { type: Boolean },
1311
1308
  modelModifiers: {}
1312
1309
  }),
1313
- emits: /* @__PURE__ */ I(["delete"], ["update:modelValue"]),
1310
+ emits: /* @__PURE__ */ X(["delete"], ["update:modelValue"]),
1314
1311
  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",
1312
+ const { t: n } = ie(), r = oe(e, "modelValue"), l = t, o = F(() => [
1313
+ { title: n("x-runtime-lib.notSet"), value: void 0 },
1314
+ { title: n("x-runtime-lib.true"), value: !0 },
1315
+ { title: n("x-runtime-lib.false"), value: !1 }
1316
+ ]);
1317
+ return (i, s) => {
1318
+ const u = O("v-select"), a = O("v-icon"), d = le("ripple");
1319
+ return S(), H("div", ys, [
1320
+ Y(k(u, {
1321
+ modelValue: r.value,
1322
+ "onUpdate:modelValue": s[0] || (s[0] = (c) => r.value = c),
1323
1323
  density: "compact",
1324
- color: "primary",
1324
+ items: o.value,
1325
1325
  "hide-details": "",
1326
- readonly: l.readonly
1327
- }, null, 8, ["modelValue", "readonly"]),
1328
- l.hasDelete ? (S(), R(s, {
1326
+ "single-line": "",
1327
+ readonly: i.readonly
1328
+ }, null, 8, ["modelValue", "items", "readonly"]), [
1329
+ [
1330
+ d,
1331
+ void 0,
1332
+ void 0,
1333
+ { stop: !0 }
1334
+ ]
1335
+ ]),
1336
+ i.hasDelete ? (S(), R(a, {
1329
1337
  key: 0,
1330
1338
  class: "mx-2",
1331
1339
  icon: E(ge),
1332
- onClick: o[1] || (o[1] = K((a) => r("delete"), ["stop"]))
1333
- }, null, 8, ["icon"])) : X("", !0)
1340
+ onClick: s[1] || (s[1] = K((c) => l("delete"), ["stop"]))
1341
+ }, null, 8, ["icon"])) : I("", !0)
1334
1342
  ]);
1335
1343
  };
1336
1344
  }
1337
1345
  });
1338
1346
  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, {
1347
+ return { renderUiSwitch: (n, r, l, o, i) => r.ui !== "switch" ? (console.assert(!1), _("div", "renderUiSwitch prop ui must be switch")) : _(hs, {
1340
1348
  modelValue: ye(
1341
1349
  n,
1342
1350
  r,
@@ -1365,7 +1373,7 @@ function _s(e) {
1365
1373
  }
1366
1374
  const bs = { class: "d-flex justify-space-between align-center" }, $s = /* @__PURE__ */ z({
1367
1375
  __name: "select",
1368
- props: /* @__PURE__ */ I({
1376
+ props: /* @__PURE__ */ X({
1369
1377
  hasDelete: { type: Boolean, default: !1 },
1370
1378
  readonly: { type: Boolean, default: !1 },
1371
1379
  items: {}
@@ -1373,15 +1381,15 @@ const bs = { class: "d-flex justify-space-between align-center" }, $s = /* @__PU
1373
1381
  modelValue: {},
1374
1382
  modelModifiers: {}
1375
1383
  }),
1376
- emits: /* @__PURE__ */ I(["delete"], ["update:modelValue"]),
1384
+ emits: /* @__PURE__ */ X(["delete"], ["update:modelValue"]),
1377
1385
  setup(e, { emit: t }) {
1378
1386
  const n = oe(e, "modelValue"), r = t;
1379
1387
  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, {
1388
+ const i = O("v-select"), s = O("v-icon"), u = le("ripple");
1389
+ return S(), H("div", bs, [
1390
+ Y(k(i, {
1383
1391
  modelValue: n.value,
1384
- "onUpdate:modelValue": o[0] || (o[0] = (u) => n.value = u),
1392
+ "onUpdate:modelValue": o[0] || (o[0] = (a) => n.value = a),
1385
1393
  density: "compact",
1386
1394
  items: l.items,
1387
1395
  "hide-details": "",
@@ -1389,7 +1397,7 @@ const bs = { class: "d-flex justify-space-between align-center" }, $s = /* @__PU
1389
1397
  readonly: l.readonly
1390
1398
  }, null, 8, ["modelValue", "items", "readonly"]), [
1391
1399
  [
1392
- a,
1400
+ u,
1393
1401
  void 0,
1394
1402
  void 0,
1395
1403
  { stop: !0 }
@@ -1399,15 +1407,15 @@ const bs = { class: "d-flex justify-space-between align-center" }, $s = /* @__PU
1399
1407
  key: 0,
1400
1408
  class: "mx-2",
1401
1409
  icon: E(ge),
1402
- onClick: o[1] || (o[1] = K((u) => r("delete"), ["stop"]))
1403
- }, null, 8, ["icon"])) : X("", !0)
1410
+ onClick: o[1] || (o[1] = K((a) => r("delete"), ["stop"]))
1411
+ }, null, 8, ["icon"])) : I("", !0)
1404
1412
  ]);
1405
1413
  };
1406
1414
  }
1407
1415
  });
1408
1416
  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, {
1417
+ const { t } = ie();
1418
+ return { renderUiSelect: (r, l, o, i, s) => l.ui !== "select" ? (console.assert(!1), _("div", "renderUiSelect prop ui must be select")) : _($s, {
1411
1419
  modelValue: ye(
1412
1420
  r,
1413
1421
  l,
@@ -1416,12 +1424,12 @@ function Ts(e) {
1416
1424
  i,
1417
1425
  s
1418
1426
  ),
1419
- "onUpdate:modelValue": (a) => {
1427
+ "onUpdate:modelValue": (u) => {
1420
1428
  he(
1421
1429
  r,
1422
1430
  l,
1423
1431
  o,
1424
- a,
1432
+ u,
1425
1433
  e,
1426
1434
  i,
1427
1435
  s
@@ -1432,13 +1440,13 @@ function Ts(e) {
1432
1440
  i === void 0 || s || (o.splice(i, 1), e(r.slice(0, -1), o));
1433
1441
  },
1434
1442
  items: (() => {
1435
- const a = [];
1436
- return l.items.forEach(({ title: u, value: f }) => {
1437
- a.push({
1438
- title: t(u),
1439
- value: f
1443
+ const u = [];
1444
+ return l.items.forEach(({ title: a, value: d }) => {
1445
+ u.push({
1446
+ title: t(a),
1447
+ value: d
1440
1448
  });
1441
- }), a;
1449
+ }), u;
1442
1450
  })(),
1443
1451
  readonly: l.readonly
1444
1452
  }) };
@@ -1453,29 +1461,29 @@ const Ss = { class: "text-subtitle-2 ml-1" }, ws = { class: "text-caption text-g
1453
1461
  },
1454
1462
  emits: ["x-click"],
1455
1463
  setup(e, { emit: t }) {
1456
- const { backgroundColor2: n, highlightColor: r } = Te(), l = e, o = t, i = B(!1), s = G(() => ({
1464
+ const { backgroundColor2: n, highlightColor: r } = Te(), l = e, o = t, i = B(!1), s = F(() => ({
1457
1465
  background: i.value ? r.value : n.value,
1458
1466
  height: "30px",
1459
1467
  marginBottom: "1px",
1460
1468
  userSelect: "none"
1461
1469
  }));
1462
- return (a, u) => {
1463
- const f = O("v-icon"), d = ae("ripple");
1464
- return re((S(), F("div", {
1470
+ return (u, a) => {
1471
+ const d = O("v-icon"), c = le("ripple");
1472
+ return Y((S(), H("div", {
1465
1473
  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)
1474
+ style: ae(s.value),
1475
+ onClick: a[0] || (a[0] = (g) => o("x-click", l.id)),
1476
+ onMouseover: a[1] || (a[1] = (g) => i.value = !0),
1477
+ onMouseout: a[2] || (a[2] = (g) => i.value = !1)
1470
1478
  }, [
1471
- k(f, {
1479
+ k(d, {
1472
1480
  icon: l.collapse ? E(hn) : E(yn),
1473
1481
  size: "small"
1474
1482
  }, null, 8, ["icon"]),
1475
- q("span", Ss, ne(l.title), 1),
1476
- q("span", ws, ne(l.count), 1)
1483
+ q("span", Ss, re(l.title), 1),
1484
+ q("span", ws, re(l.count), 1)
1477
1485
  ], 36)), [
1478
- [d]
1486
+ [c]
1479
1487
  ]);
1480
1488
  };
1481
1489
  }
@@ -1487,116 +1495,116 @@ const Ss = { class: "text-subtitle-2 ml-1" }, ws = { class: "text-caption text-g
1487
1495
  },
1488
1496
  emits: ["x-click"],
1489
1497
  setup(e, { emit: t }) {
1490
- const { backgroundColor2: n, highlightColor: r } = Te(), l = e, o = t, i = B(!1), s = G(() => ({
1498
+ const { backgroundColor2: n, highlightColor: r } = Te(), l = e, o = t, i = B(!1), s = F(() => ({
1491
1499
  background: i.value ? r.value : n.value,
1492
1500
  height: "48px",
1493
1501
  marginBottom: "1px",
1494
1502
  userSelect: "none"
1495
1503
  }));
1496
- return (a, u) => {
1497
- const f = ae("ripple");
1498
- return re((S(), F("div", {
1504
+ return (u, a) => {
1505
+ const d = le("ripple");
1506
+ return Y((S(), H("div", {
1499
1507
  class: "d-flex align-center cursor-pointer",
1500
- style: ie(s.value),
1501
- onClick: u[0] || (u[0] = (d) => o("x-click", l.id)),
1502
- onMouseover: u[1] || (u[1] = (d) => i.value = !0),
1503
- onMouseout: u[2] || (u[2] = (d) => i.value = !1)
1508
+ style: ae(s.value),
1509
+ onClick: a[0] || (a[0] = (c) => o("x-click", l.id)),
1510
+ onMouseover: a[1] || (a[1] = (c) => i.value = !0),
1511
+ onMouseout: a[2] || (a[2] = (c) => i.value = !1)
1504
1512
  }, [
1505
- q("span", Cs, ne(l.title), 1)
1513
+ q("span", Cs, re(l.title), 1)
1506
1514
  ], 36)), [
1507
- [f]
1515
+ [d]
1508
1516
  ]);
1509
1517
  };
1510
1518
  }
1511
- }), Os = { key: 0 }, Vs = {
1519
+ }), Os = { key: 0 }, xs = {
1512
1520
  key: 1,
1513
1521
  class: "text-body-2 text-grey ml-3"
1514
- }, xs = /* @__PURE__ */ z({
1522
+ }, Ms = /* @__PURE__ */ z({
1515
1523
  __name: "index",
1516
1524
  props: {
1517
- modelValue: { required: !0 },
1525
+ modelValue: {},
1518
1526
  modelModifiers: {},
1519
1527
  open: { type: Boolean, required: !0 },
1520
1528
  openModifiers: {}
1521
1529
  },
1522
1530
  emits: ["update:modelValue", "update:open"],
1523
1531
  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);
1532
+ const { t } = ie(), n = oe(e, "modelValue"), r = oe(e, "open"), l = gn(), o = (s) => {
1533
+ const u = cn(l, s);
1534
+ u && Hi(l, s, !u.collapse);
1527
1535
  }, i = (s) => {
1528
1536
  n.value = s, r.value = !1, _e.emit("refreshDepends");
1529
1537
  };
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
1538
+ return (s, u) => E(l).length > 0 ? (S(), H("div", Os, [
1539
+ (S(!0), H(He, null, Ht(E(l), (a) => (S(), H(He, {
1540
+ key: a.id
1533
1541
  }, [
1534
- u.type === 0 ? (S(), R(As, {
1542
+ a.type === 0 ? (S(), R(As, {
1535
1543
  key: 0,
1536
- id: u.id,
1537
- title: u.name,
1538
- collapse: u.collapse,
1539
- count: u.count ?? 0,
1544
+ id: a.id,
1545
+ title: a.name,
1546
+ collapse: a.collapse,
1547
+ count: a.count ?? 0,
1540
1548
  onXClick: o
1541
- }, null, 8, ["id", "title", "collapse", "count"])) : X("", !0),
1542
- u.type === 1 && u.show ? (S(), R(Ps, {
1549
+ }, null, 8, ["id", "title", "collapse", "count"])) : I("", !0),
1550
+ a.type === 1 && a.show ? (S(), R(Ps, {
1543
1551
  key: 1,
1544
- id: u.id,
1545
- title: u.name,
1552
+ id: a.id,
1553
+ title: a.name,
1546
1554
  onXClick: i
1547
- }, null, 8, ["id", "title"])) : X("", !0)
1555
+ }, null, 8, ["id", "title"])) : I("", !0)
1548
1556
  ], 64))), 128))
1549
- ])) : (S(), F("div", Vs, ne(E(t)("x-prop-tree.noComp")), 1));
1557
+ ])) : (S(), H("div", xs, re(E(t)("x-prop-tree.noComp")), 1));
1550
1558
  }
1551
- }), Ms = { class: "text-subtitle-1 ml-3" }, Us = /* @__PURE__ */ z({
1559
+ }), Us = { class: "text-subtitle-1 ml-3" }, Vs = /* @__PURE__ */ z({
1552
1560
  __name: "index",
1553
1561
  props: {
1554
- modelValue: { required: !0 },
1562
+ modelValue: {},
1555
1563
  modelModifiers: {}
1556
1564
  },
1557
1565
  emits: ["update:modelValue"],
1558
1566
  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"), {
1567
+ const { t } = ie(), n = Bn(), { sysBarAvail: r } = En(), { backgroundColor1: l } = Te(), o = oe(e, "modelValue"), i = gn(), s = F(() => {
1568
+ let g = "100%";
1569
+ return n.mdAndUp.value && (g = "400px"), {
1562
1570
  background: l.value,
1563
- width: y,
1571
+ width: g,
1564
1572
  height: "100%"
1565
1573
  };
1566
- }), a = G(() => {
1567
- let y = 48;
1568
- return r.value && (y += 24), {
1574
+ }), u = F(() => {
1575
+ let g = 48;
1576
+ return r.value && (g += 24), {
1569
1577
  position: "relative",
1570
- height: `calc(100% - ${y}px)`
1578
+ height: `calc(100% - ${g}px)`
1571
1579
  };
1572
- }), u = G(() => ({
1580
+ }), a = F(() => ({
1573
1581
  height: "60px"
1574
- })), f = G(() => {
1582
+ })), d = F(() => {
1575
1583
  if (!o.value)
1576
1584
  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: d } = at(`propTreeCompSelectDlg${Gt()}`);
1585
+ const g = cn(i, o.value);
1586
+ return g ? g.name : t("x-runtime-lib.compNotAvail");
1587
+ }), { open: c } = at(`propTreeCompSelectDlg${Gt()}`);
1580
1588
  return zt(() => {
1581
- d.value = !1;
1582
- }), (y, v) => {
1583
- const _ = O("v-btn"), V = O("v-sheet"), $ = O("v-icon"), D = O("v-dialog");
1589
+ c.value = !1;
1590
+ }), (g, y) => {
1591
+ const h = O("v-btn"), M = O("v-sheet"), b = O("v-icon"), D = O("v-dialog");
1584
1592
  return S(), R(D, {
1585
- modelValue: E(d),
1586
- "onUpdate:modelValue": v[5] || (v[5] = (w) => Fe(d) ? d.value = w : null),
1593
+ modelValue: E(c),
1594
+ "onUpdate:modelValue": y[5] || (y[5] = (w) => Fe(c) ? c.value = w : null),
1587
1595
  transition: "scroll-x-reverse-transition",
1588
1596
  persistent: "",
1589
1597
  "no-click-animation": "",
1590
1598
  fullscreen: "",
1591
- onKeydown: v[6] || (v[6] = Un(K((w) => d.value = !1, ["stop", "prevent"]), ["esc"]))
1599
+ onKeydown: y[6] || (y[6] = Vn(K((w) => c.value = !1, ["stop", "prevent"]), ["esc"]))
1592
1600
  }, {
1593
1601
  activator: J(({ props: w }) => [
1594
- k(_, Kt(w, {
1602
+ k(h, Kt(w, {
1595
1603
  density: "comfortable",
1596
1604
  block: ""
1597
1605
  }), {
1598
1606
  default: J(() => [
1599
- st(ne(f.value), 1)
1607
+ st(re(d.value), 1)
1600
1608
  ]),
1601
1609
  _: 2
1602
1610
  }, 1040)
@@ -1604,44 +1612,44 @@ const Ss = { class: "text-subtitle-2 ml-1" }, ws = { class: "text-caption text-g
1604
1612
  default: J(() => [
1605
1613
  q("div", {
1606
1614
  class: "w-100 h-100 d-flex flex-row-reverse",
1607
- onClick: v[3] || (v[3] = K((w) => d.value = !1, ["self"])),
1608
- onContextmenu: v[4] || (v[4] = K((w) => d.value = !1, ["self", "prevent"]))
1615
+ onClick: y[3] || (y[3] = K((w) => c.value = !1, ["self"])),
1616
+ onContextmenu: y[4] || (y[4] = K((w) => c.value = !1, ["self", "prevent"]))
1609
1617
  }, [
1610
1618
  q("div", {
1611
1619
  class: "elevation-2",
1612
- style: ie(s.value)
1620
+ style: ae(s.value)
1613
1621
  }, [
1614
- E(r) ? (S(), R(V, {
1622
+ E(r) ? (S(), R(M, {
1615
1623
  key: 0,
1616
1624
  color: "transparent",
1617
1625
  height: 24
1618
- })) : X("", !0),
1619
- k(V, {
1626
+ })) : I("", !0),
1627
+ k(M, {
1620
1628
  class: "d-flex align-center px-3",
1621
1629
  color: "transparent",
1622
1630
  height: 48
1623
1631
  }, {
1624
1632
  default: J(() => [
1625
- k($, {
1633
+ k(b, {
1626
1634
  icon: E(is),
1627
- onClick: v[0] || (v[0] = (w) => d.value = !1)
1635
+ onClick: y[0] || (y[0] = (w) => c.value = !1)
1628
1636
  }, null, 8, ["icon"]),
1629
- q("span", Ms, ne(E(t)("x-prop-tree.dlg.compSelect.title")), 1)
1637
+ q("span", Us, re(E(t)("x-prop-tree.dlg.compSelect.title")), 1)
1630
1638
  ]),
1631
1639
  _: 1
1632
1640
  }),
1633
1641
  q("div", {
1634
1642
  class: "overflow-y-auto",
1635
- style: ie(a.value)
1643
+ style: ae(u.value)
1636
1644
  }, [
1637
- k(xs, {
1645
+ k(Ms, {
1638
1646
  modelValue: o.value,
1639
- "onUpdate:modelValue": v[1] || (v[1] = (w) => o.value = w),
1640
- open: E(d),
1641
- "onUpdate:open": v[2] || (v[2] = (w) => Fe(d) ? d.value = w : null)
1647
+ "onUpdate:modelValue": y[1] || (y[1] = (w) => o.value = w),
1648
+ open: E(c),
1649
+ "onUpdate:open": y[2] || (y[2] = (w) => Fe(c) ? c.value = w : null)
1642
1650
  }, null, 8, ["modelValue", "open"]),
1643
1651
  q("div", {
1644
- style: ie(u.value)
1652
+ style: ae(a.value)
1645
1653
  }, null, 4)
1646
1654
  ], 4)
1647
1655
  ], 4)
@@ -1653,7 +1661,7 @@ const Ss = { class: "text-subtitle-2 ml-1" }, ws = { class: "text-caption text-g
1653
1661
  }
1654
1662
  });
1655
1663
  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, {
1664
+ return { renderUiCompSelect: (n, r, l, o, i) => r.ui !== "compSelect" ? (console.assert(!1), _("div", "renderUiCompSelect prop ui must be compSelect")) : _(Vs, {
1657
1665
  modelValue: ye(
1658
1666
  n,
1659
1667
  r,
@@ -1677,61 +1685,61 @@ function Ls(e) {
1677
1685
  }
1678
1686
  const Ds = { class: "d-flex justify-space-between align-center" }, js = /* @__PURE__ */ z({
1679
1687
  __name: "colorPicker",
1680
- props: /* @__PURE__ */ I({
1688
+ props: /* @__PURE__ */ X({
1681
1689
  hasDelete: { type: Boolean, default: !1 },
1682
1690
  readonly: { type: Boolean, default: !1 }
1683
1691
  }, {
1684
1692
  modelValue: {},
1685
1693
  modelModifiers: {}
1686
1694
  }),
1687
- emits: /* @__PURE__ */ I(["delete"], ["update:modelValue"]),
1695
+ emits: /* @__PURE__ */ X(["delete"], ["update:modelValue"]),
1688
1696
  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
1697
+ const { t: n } = ie(), r = oe(e, "modelValue"), l = t, o = F(() => {
1698
+ let u = "100%";
1699
+ return e.hasDelete && (u = "calc(100% - 37px)"), {
1700
+ width: u
1693
1701
  };
1694
- }), o = G(() => e.readonly), { open: i } = at(`propTreeColorPickerMenu${Gt()}`);
1702
+ }), i = F(() => e.readonly), { open: s } = at(`propTreeColorPickerMenu${Gt()}`);
1695
1703
  return zt(() => {
1696
- i.value = !1;
1697
- }), (s, a) => {
1698
- const u = O("v-btn"), f = O("v-icon"), d = O("v-color-picker"), y = O("v-menu");
1704
+ s.value = !1;
1705
+ }), (u, a) => {
1706
+ const d = O("v-btn"), c = O("v-icon"), g = O("v-color-picker"), y = O("v-menu");
1699
1707
  return S(), R(y, {
1700
- modelValue: E(i),
1701
- "onUpdate:modelValue": a[2] || (a[2] = (v) => Fe(i) ? i.value = v : null),
1708
+ modelValue: E(s),
1709
+ "onUpdate:modelValue": a[2] || (a[2] = (h) => Fe(s) ? s.value = h : null),
1702
1710
  "close-on-content-click": !1,
1703
1711
  scrim: "transparent"
1704
1712
  }, {
1705
- activator: J(({ props: v }) => [
1713
+ activator: J(({ props: h }) => [
1706
1714
  q("div", Ds, [
1707
1715
  q("div", {
1708
1716
  class: "flex-grow-1",
1709
- style: ie(l.value)
1717
+ style: ae(o.value)
1710
1718
  }, [
1711
- k(u, Kt(v, {
1719
+ k(d, Kt(h, {
1712
1720
  density: "comfortable",
1713
- color: n.value,
1721
+ color: r.value,
1714
1722
  block: "",
1715
- disabled: o.value
1723
+ disabled: i.value
1716
1724
  }), {
1717
1725
  default: J(() => [
1718
- st(ne(n.value), 1)
1726
+ st(re(r.value ? r.value : E(n)("x-runtime-lib.notSet")), 1)
1719
1727
  ]),
1720
1728
  _: 2
1721
1729
  }, 1040, ["color", "disabled"])
1722
1730
  ], 4),
1723
- s.hasDelete ? (S(), R(f, {
1731
+ u.hasDelete ? (S(), R(c, {
1724
1732
  key: 0,
1725
1733
  class: "mx-2",
1726
1734
  icon: E(ge),
1727
- onClick: a[0] || (a[0] = K((_) => r("delete"), ["stop"]))
1728
- }, null, 8, ["icon"])) : X("", !0)
1735
+ onClick: a[0] || (a[0] = K((M) => l("delete"), ["stop"]))
1736
+ }, null, 8, ["icon"])) : I("", !0)
1729
1737
  ])
1730
1738
  ]),
1731
1739
  default: J(() => [
1732
- k(d, {
1733
- modelValue: n.value,
1734
- "onUpdate:modelValue": a[1] || (a[1] = (v) => n.value = v),
1740
+ k(g, {
1741
+ modelValue: r.value,
1742
+ "onUpdate:modelValue": a[1] || (a[1] = (h) => r.value = h),
1735
1743
  mode: "hexa",
1736
1744
  "show-swatches": "",
1737
1745
  "swatches-max-height": "150px"
@@ -1743,7 +1751,7 @@ const Ds = { class: "d-flex justify-space-between align-center" }, js = /* @__PU
1743
1751
  }
1744
1752
  });
1745
1753
  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, {
1754
+ return { renderUiColorPicker: (n, r, l, o, i) => r.ui !== "colorPicker" ? (console.assert(!1), _("div", "renderUiColorPicker prop ui must be colorPicker")) : _(js, {
1747
1755
  modelValue: ye(
1748
1756
  n,
1749
1757
  r,
@@ -1772,59 +1780,60 @@ function Es(e) {
1772
1780
  }
1773
1781
  const Ns = { class: "d-flex justify-space-between align-center my-2" }, ks = { class: "flex-grow-1" }, Bs = /* @__PURE__ */ z({
1774
1782
  __name: "multiTypes",
1775
- props: /* @__PURE__ */ I({
1783
+ props: /* @__PURE__ */ X({
1776
1784
  hasDelete: { type: Boolean, default: !1 },
1777
1785
  types: {}
1778
1786
  }, {
1779
- modelValue: { default: "" },
1787
+ modelValue: {},
1780
1788
  modelModifiers: {}
1781
1789
  }),
1782
- emits: /* @__PURE__ */ I(["delete"], ["update:modelValue"]),
1790
+ emits: /* @__PURE__ */ X(["delete"], ["update:modelValue"]),
1783
1791
  setup(e, { emit: t }) {
1784
- const { t: n } = de(), r = oe(e, "modelValue"), l = t, o = B(0), i = G(() => {
1785
- const u = [];
1786
- return e.types.forEach(({ name: f }, d) => {
1787
- u.push({
1788
- title: n(f),
1789
- value: d
1792
+ const { t: n } = ie(), r = oe(e, "modelValue"), l = t, o = B(0), i = F(() => {
1793
+ const d = [];
1794
+ return e.types.forEach(({ name: c }, g) => {
1795
+ d.push({
1796
+ title: n(c),
1797
+ value: g
1790
1798
  });
1791
- }), u;
1792
- });
1793
- vt(() => {
1794
- e.types.some((u, f) => u.validator(r.value) ? (o.value = f, !0) : !1);
1799
+ }), d;
1795
1800
  });
1796
- const s = G(() => e.types[o.value]);
1797
- Ce(s, (u) => {
1798
- r.value = u.default;
1801
+ mt(() => {
1802
+ e.types.some((d, c) => d.validator(r.value) ? (o.value = c, !0) : !1);
1799
1803
  });
1800
- const a = B(0);
1801
- return vt(() => {
1804
+ const s = F(() => e.types[o.value]), u = () => {
1805
+ r.value = s.value.default;
1806
+ }, a = B(0);
1807
+ return mt(() => {
1802
1808
  s.value.ui === "pixelInput" ? a.value = Nn(r.value) : s.value.ui === "percentInput" && (a.value = kn(r.value));
1803
- }), Ce(a, (u) => {
1804
- s.value.ui === "pixelInput" ? r.value = u + "px" : s.value.ui === "percentInput" && (r.value = u + "%");
1805
- }), (u, f) => {
1806
- const d = O("v-select"), y = O("v-number-input"), v = O("v-icon"), _ = ae("ripple");
1807
- return S(), F("div", Ns, [
1809
+ }), Be(a, (d) => {
1810
+ s.value.ui === "pixelInput" ? r.value = d + "px" : s.value.ui === "percentInput" && (r.value = d + "%");
1811
+ }), (d, c) => {
1812
+ const g = O("v-select"), y = O("v-number-input"), h = O("v-icon"), M = le("ripple");
1813
+ return S(), H("div", Ns, [
1808
1814
  q("div", ks, [
1809
- re(k(d, {
1815
+ Y(k(g, {
1810
1816
  modelValue: o.value,
1811
- "onUpdate:modelValue": f[0] || (f[0] = (V) => o.value = V),
1817
+ "onUpdate:modelValue": [
1818
+ c[0] || (c[0] = (b) => o.value = b),
1819
+ u
1820
+ ],
1812
1821
  density: "compact",
1813
1822
  items: i.value,
1814
1823
  "hide-details": "",
1815
1824
  "single-line": ""
1816
1825
  }, null, 8, ["modelValue", "items"]), [
1817
1826
  [
1818
- _,
1827
+ M,
1819
1828
  void 0,
1820
1829
  void 0,
1821
1830
  { stop: !0 }
1822
1831
  ]
1823
1832
  ]),
1824
- s.value.ui === "pixelInput" || s.value.ui === "percentInput" ? re((S(), R(y, {
1833
+ s.value.ui === "pixelInput" || s.value.ui === "percentInput" ? Y((S(), R(y, {
1825
1834
  key: 0,
1826
1835
  modelValue: a.value,
1827
- "onUpdate:modelValue": f[1] || (f[1] = (V) => a.value = V),
1836
+ "onUpdate:modelValue": c[1] || (c[1] = (b) => a.value = b),
1828
1837
  density: "compact",
1829
1838
  "control-variant": "stacked",
1830
1839
  precision: s.value.precision,
@@ -1835,25 +1844,25 @@ const Ns = { class: "d-flex justify-space-between align-center my-2" }, ks = { c
1835
1844
  "single-line": ""
1836
1845
  }, null, 8, ["modelValue", "precision", "min", "max", "step"])), [
1837
1846
  [
1838
- _,
1847
+ M,
1839
1848
  void 0,
1840
1849
  void 0,
1841
1850
  { stop: !0 }
1842
1851
  ]
1843
- ]) : X("", !0)
1852
+ ]) : I("", !0)
1844
1853
  ]),
1845
- u.hasDelete ? (S(), R(v, {
1854
+ d.hasDelete ? (S(), R(h, {
1846
1855
  key: 0,
1847
1856
  class: "mx-2",
1848
1857
  icon: E(ge),
1849
- onClick: f[2] || (f[2] = K((V) => l("delete"), ["stop"]))
1850
- }, null, 8, ["icon"])) : X("", !0)
1858
+ onClick: c[2] || (c[2] = K((b) => l("delete"), ["stop"]))
1859
+ }, null, 8, ["icon"])) : I("", !0)
1851
1860
  ]);
1852
1861
  };
1853
1862
  }
1854
1863
  });
1855
1864
  function Rs(e) {
1856
- return { renderUiMultiTypes: (n, r, l, o, i) => r.ui !== "multiTypes" ? (console.assert(!1), h("div", "renderUiMultiTypes prop ui must be multiTypes")) : h(Bs, {
1865
+ return { renderUiMultiTypes: (n, r, l, o, i) => r.ui !== "multiTypes" ? (console.assert(!1), _("div", "renderUiMultiTypes prop ui must be multiTypes")) : _(Bs, {
1857
1866
  modelValue: ye(
1858
1867
  n,
1859
1868
  r,
@@ -1889,94 +1898,94 @@ const Fs = /* @__PURE__ */ z({
1889
1898
  },
1890
1899
  emits: ["change"],
1891
1900
  setup(e, { emit: t }) {
1892
- const { t: n } = de(), { backgroundColor1: r } = Te(), l = e, o = t, i = B("20px"), s = B("56px"), a = B("200px"), u = Ln({}), f = B({}), d = (m, c) => {
1893
- Ft(f, l.config, l.object), o("change", m, c);
1901
+ const { t: n } = ie(), { backgroundColor1: r } = Te(), l = e, o = t, i = B("20px"), s = B("56px"), u = B("200px"), a = Ln({}), d = B({}), c = (v, f) => {
1902
+ Ft(d, l.config, l.object), o("change", v, f);
1894
1903
  };
1895
- Ce(
1904
+ Be(
1896
1905
  [() => l.config, () => l.object],
1897
1906
  () => {
1898
- Ft(f, l.config, l.object, (m, c) => {
1899
- o("change", m, c);
1907
+ Ft(d, l.config, l.object, (v, f) => {
1908
+ o("change", v, f);
1900
1909
  });
1901
1910
  },
1902
1911
  { immediate: !0 }
1903
1912
  );
1904
- const y = B(l.config);
1905
- Ji(y), Ce(
1913
+ const g = B(l.config);
1914
+ Ji(g), Be(
1906
1915
  () => l.config,
1907
1916
  () => {
1908
- y.value = l.config;
1917
+ g.value = l.config;
1909
1918
  }
1910
1919
  );
1911
- const v = B(l.object);
1912
- Yi(v), Ce(
1920
+ const y = B(l.object);
1921
+ Yi(y), Be(
1913
1922
  () => l.object,
1914
1923
  () => {
1915
- v.value = l.object;
1924
+ y.value = l.object;
1916
1925
  }
1917
- ), es(f), ns(d);
1918
- const _ = B([]);
1919
- os(_);
1920
- const V = () => {
1921
- const { compGroups: m, comps: c } = Rn.app.activeApp, g = [];
1922
- m.forEach(({ id: p, name: b, position: C }) => {
1923
- const L = _.value.find((Q) => Q.id === p);
1924
- g.push({
1926
+ ), es(d), ns(c);
1927
+ const h = B([]);
1928
+ os(h);
1929
+ const M = () => {
1930
+ const { compGroups: v, comps: f } = Rn.app.activeApp, m = [];
1931
+ v.forEach(({ id: p, name: $, position: C }) => {
1932
+ const L = h.value.find((ee) => ee.id === p);
1933
+ m.push({
1925
1934
  id: p,
1926
1935
  type: 0,
1927
- name: b,
1936
+ name: $,
1928
1937
  position: C,
1929
1938
  collapse: (L == null ? void 0 : L.collapse) ?? !0
1930
1939
  });
1931
- }), c.forEach(({ id: p, groupid: b, name: C, position: L }) => {
1932
- g.push({ id: p, type: 1, name: C, position: L, group: b });
1933
- }), Fi(g, !0), _.value = g;
1940
+ }), f.forEach(({ id: p, groupid: $, name: C, position: L }) => {
1941
+ m.push({ id: p, type: 1, name: C, position: L, group: $ });
1942
+ }), Fi(m, !0), h.value = m;
1934
1943
  };
1935
- let $;
1944
+ let b;
1936
1945
  const D = () => {
1937
- clearTimeout($), $ = window.setTimeout(() => {
1938
- V(), $ && D();
1946
+ clearTimeout(b), b = window.setTimeout(() => {
1947
+ M(), b && D();
1939
1948
  }, 1e3);
1940
1949
  }, w = () => {
1941
- clearTimeout($), $ = void 0;
1950
+ clearTimeout(b), b = void 0;
1942
1951
  };
1943
1952
  Dn(() => {
1944
1953
  D();
1945
1954
  }), jn(() => {
1946
1955
  w();
1947
1956
  });
1948
- const { renderProp: M } = us(f, s, a), { renderUiDummy: A } = cs(d), { renderUiStrInput: U } = ps(d), { renderUiNumInput: W } = gs(d), { renderUiSwitch: We } = _s(d), { renderUiSelect: _n } = Ts(d), { renderUiColorPicker: bn } = Es(d), { renderUiMultiTypes: $n } = Rs(d), { renderUiCompSelect: Tn } = Ls(d), De = (m, c, g, p, b, C) => (m = sn(m), b !== void 0 ? (m.push(b), C && m.push(c.key)) : m.push(c.key), c.ui ? c.array && b === void 0 ? An(m, c, g, p, b, C) : Cn(m, c, g, b, C) : c.array ? Sn(m, c, g, p, b, C) : wn(
1957
+ 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(
1958
+ v,
1959
+ f,
1949
1960
  m,
1950
- c,
1951
- g,
1952
1961
  p,
1953
- b,
1962
+ $,
1954
1963
  C
1955
- )), Sn = (m, c, g, p, b, C) => {
1956
- if (c.ui)
1957
- return console.assert(!1), h("div", "renderBranchArray prop ui must be invalid");
1958
- if (!c.array)
1959
- return console.assert(!1), h("div", "renderBranchArray prop array must be valid");
1964
+ )), Sn = (v, f, m, p, $, C) => {
1965
+ if (f.ui)
1966
+ return console.assert(!1), _("div", "renderBranchArray prop ui must be invalid");
1967
+ if (!f.array)
1968
+ return console.assert(!1), _("div", "renderBranchArray prop array must be valid");
1960
1969
  if (!p)
1961
- return console.assert(!1), h("div", "renderBranchArray branch must be valid");
1970
+ return console.assert(!1), _("div", "renderBranchArray branch must be valid");
1962
1971
  let L;
1963
- b !== void 0 && !C ? (g[b] instanceof Array || (g[b] = N(c), d(m, g[c.key])), L = g[b]) : (g[c.key] instanceof Array || (g[c.key] = N(c), d(m, g[c.key])), L = g[c.key]);
1964
- let Q = n(c.name);
1965
- p.collapse && be(f.value, m) && (Q += " *");
1966
- const Se = h(Be, {
1967
- title: Q,
1972
+ $ !== 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]);
1973
+ let ee = n(f.name);
1974
+ p.collapse && be(d.value, v) && (ee += " *");
1975
+ const Se = _(ke, {
1976
+ title: ee,
1968
1977
  collapse: p.collapse,
1969
1978
  hasCreate: !0,
1970
1979
  onCollapse: (T) => {
1971
1980
  p.collapse = T;
1972
1981
  },
1973
1982
  onMenu: (T, j) => {
1974
- _e.emit("propTreeMenu", { x: T, y: j, keys: m });
1983
+ _e.emit("propTreeMenu", { x: T, y: j, keys: v });
1975
1984
  },
1976
1985
  onCreate: () => {
1977
- L.push({}), d(m, L);
1986
+ L.push({}), c(v, L);
1978
1987
  }
1979
- }), H = h(
1988
+ }), G = _(
1980
1989
  "div",
1981
1990
  {
1982
1991
  style: {
@@ -1994,34 +2003,34 @@ const Fs = /* @__PURE__ */ z({
1994
2003
  collapse: !0,
1995
2004
  children: {}
1996
2005
  });
1997
- const je = [...m, j], Ee = p.children[j];
1998
- let mt = n("x-prop-tree.entry", { index: j });
1999
- p.children[j].collapse && be(f.value, je) && (mt += " *");
2000
- const On = h(Be, {
2001
- title: mt,
2006
+ const De = [...v, j], je = p.children[j];
2007
+ let vt = n("x-prop-tree.entry", { index: j });
2008
+ p.children[j].collapse && be(d.value, De) && (vt += " *");
2009
+ const On = _(ke, {
2010
+ title: vt,
2002
2011
  collapse: p.children[j].collapse,
2003
2012
  hasDelete: !0,
2004
2013
  index: j,
2005
- onCollapse: (ee) => {
2014
+ onCollapse: (te) => {
2006
2015
  if (!tt(p.children)) {
2007
2016
  console.assert(!1);
2008
2017
  return;
2009
2018
  }
2010
- p.children[j].collapse = ee;
2019
+ p.children[j].collapse = te;
2011
2020
  },
2012
- onMenu: (ee, ue) => {
2013
- _e.emit("propTreeMenu", { x: ee, y: ue, keys: je });
2021
+ onMenu: (te, ce) => {
2022
+ _e.emit("propTreeMenu", { x: te, y: ce, keys: De });
2014
2023
  },
2015
- onDelete: (ee) => {
2024
+ onDelete: (te) => {
2016
2025
  if (!tt(p.children)) {
2017
2026
  console.assert(!1);
2018
2027
  return;
2019
2028
  }
2020
- p.children.splice(ee, 1), L.splice(ee, 1), d(m, L);
2029
+ p.children.splice(te, 1), L.splice(te, 1), c(v, L);
2021
2030
  }
2022
2031
  });
2023
2032
  T.push(On);
2024
- const Vn = h(
2033
+ const xn = _(
2025
2034
  "div",
2026
2035
  {
2027
2036
  style: {
@@ -2029,34 +2038,34 @@ const Fs = /* @__PURE__ */ z({
2029
2038
  }
2030
2039
  },
2031
2040
  (() => {
2032
- const ee = [];
2033
- return c.children.forEach((ue) => {
2034
- if (!Rt(Ee.children)) {
2041
+ const te = [];
2042
+ return f.children.forEach((ce) => {
2043
+ if (!Rt(je.children)) {
2035
2044
  console.assert(!1);
2036
2045
  return;
2037
2046
  }
2038
- Ee.children[ue.key] || (Ee.children[ue.key] = {
2047
+ je.children[ce.key] || (je.children[ce.key] = {
2039
2048
  collapse: !0,
2040
- children: ue.array ? [] : {}
2049
+ children: ce.array ? [] : {}
2041
2050
  });
2042
- const xn = De(
2043
- m,
2044
- ue,
2051
+ const Mn = Le(
2052
+ v,
2053
+ ce,
2045
2054
  L[j],
2046
- Ee.children[ue.key],
2055
+ je.children[ce.key],
2047
2056
  j,
2048
2057
  !0
2049
2058
  );
2050
- ee.push(xn);
2051
- }), ee;
2059
+ te.push(Mn);
2060
+ }), te;
2052
2061
  })()
2053
2062
  );
2054
- p.children[j].collapse || T.push(Vn);
2063
+ p.children[j].collapse || T.push(xn);
2055
2064
  }
2056
2065
  return T;
2057
2066
  })()
2058
2067
  );
2059
- return h(
2068
+ return _(
2060
2069
  "div",
2061
2070
  {
2062
2071
  style: {
@@ -2065,32 +2074,32 @@ const Fs = /* @__PURE__ */ z({
2065
2074
  },
2066
2075
  (() => {
2067
2076
  const T = [];
2068
- return T.push(Se), p.collapse || T.push(H), T;
2077
+ return T.push(Se), p.collapse || T.push(G), T;
2069
2078
  })()
2070
2079
  );
2071
- }, wn = (m, c, g, p, b, C) => {
2072
- if (c.ui)
2073
- return console.assert(!1), h("div", "renderBranchScalar prop ui must be invalid");
2074
- if (c.array)
2075
- return console.assert(!1), h("div", "renderBranchScalar prop array must be invalid");
2080
+ }, wn = (v, f, m, p, $, C) => {
2081
+ if (f.ui)
2082
+ return console.assert(!1), _("div", "renderBranchScalar prop ui must be invalid");
2083
+ if (f.array)
2084
+ return console.assert(!1), _("div", "renderBranchScalar prop array must be invalid");
2076
2085
  if (!p)
2077
- return console.assert(!1), h("div", "renderBranchScalar branch must be valid");
2078
- let L = n(c.name);
2079
- p.collapse && be(f.value, m) && (L += " *");
2080
- const Q = h(Be, {
2086
+ return console.assert(!1), _("div", "renderBranchScalar branch must be valid");
2087
+ let L = n(f.name);
2088
+ p.collapse && be(d.value, v) && (L += " *");
2089
+ const ee = _(ke, {
2081
2090
  title: L,
2082
2091
  collapse: p.collapse,
2083
- hasDelete: b !== void 0 && !C,
2084
- onCollapse: (H) => {
2085
- p.collapse = H;
2092
+ hasDelete: $ !== void 0 && !C,
2093
+ onCollapse: (G) => {
2094
+ p.collapse = G;
2086
2095
  },
2087
- onMenu: (H, T) => {
2088
- _e.emit("propTreeMenu", { x: H, y: T, keys: m });
2096
+ onMenu: (G, T) => {
2097
+ _e.emit("propTreeMenu", { x: G, y: T, keys: v });
2089
2098
  },
2090
2099
  onDelete: () => {
2091
- b === void 0 || C || (g.splice(b, 1), d(m.slice(0, -1), g));
2100
+ $ === void 0 || C || (m.splice($, 1), c(v.slice(0, -1), m));
2092
2101
  }
2093
- }), Se = h(
2102
+ }), Se = _(
2094
2103
  "div",
2095
2104
  {
2096
2105
  style: {
@@ -2098,8 +2107,8 @@ const Fs = /* @__PURE__ */ z({
2098
2107
  }
2099
2108
  },
2100
2109
  (() => {
2101
- const H = [];
2102
- return c.children.forEach((T) => {
2110
+ const G = [];
2111
+ return f.children.forEach((T) => {
2103
2112
  if (!Rt(p.children)) {
2104
2113
  console.assert(!1);
2105
2114
  return;
@@ -2108,17 +2117,17 @@ const Fs = /* @__PURE__ */ z({
2108
2117
  collapse: !0,
2109
2118
  children: !T.ui && T.array ? [] : {}
2110
2119
  });
2111
- const j = De(
2112
- m,
2120
+ const j = Le(
2121
+ v,
2113
2122
  T,
2114
- (typeof g[c.key] != "object" && (g[c.key] = {}, d(m, g[c.key])), g[c.key]),
2123
+ (typeof m[f.key] != "object" && (m[f.key] = {}, c(v, m[f.key])), m[f.key]),
2115
2124
  p.children[T.key]
2116
2125
  );
2117
- H.push(j);
2118
- }), H;
2126
+ G.push(j);
2127
+ }), G;
2119
2128
  })()
2120
2129
  );
2121
- return h(
2130
+ return _(
2122
2131
  "div",
2123
2132
  {
2124
2133
  style: {
@@ -2126,35 +2135,35 @@ const Fs = /* @__PURE__ */ z({
2126
2135
  }
2127
2136
  },
2128
2137
  (() => {
2129
- const H = [];
2130
- return H.push(Q), p.collapse || H.push(Se), H;
2138
+ const G = [];
2139
+ return G.push(ee), p.collapse || G.push(Se), G;
2131
2140
  })()
2132
2141
  );
2133
- }, An = (m, c, g, p, b, C) => {
2134
- if (!c.ui)
2135
- return console.assert(!1), h("div", "renderLeafArray prop ui must be valid");
2136
- if (!c.array)
2137
- return console.assert(!1), h("div", "renderLeafArray prop array must be valid");
2142
+ }, An = (v, f, m, p, $, C) => {
2143
+ if (!f.ui)
2144
+ return console.assert(!1), _("div", "renderLeafArray prop ui must be valid");
2145
+ if (!f.array)
2146
+ return console.assert(!1), _("div", "renderLeafArray prop array must be valid");
2138
2147
  if (!p)
2139
- return console.assert(!1), h("div", "renderLeafArray branch must be valid");
2148
+ return console.assert(!1), _("div", "renderLeafArray branch must be valid");
2140
2149
  let L;
2141
- b !== void 0 && !C ? (g[b] instanceof Array || (g[b] = N(c), d(m, g[b])), L = g[b]) : (g[c.key] instanceof Array || (g[c.key] = N(c), d(m, g[c.key])), L = g[c.key]);
2142
- let Q = n(c.name);
2143
- p.collapse && be(f.value, m) && (Q += " *");
2144
- const Se = h(Be, {
2145
- title: Q,
2150
+ $ !== 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]);
2151
+ let ee = n(f.name);
2152
+ p.collapse && be(d.value, v) && (ee += " *");
2153
+ const Se = _(ke, {
2154
+ title: ee,
2146
2155
  collapse: p.collapse,
2147
2156
  hasCreate: !0,
2148
2157
  onCollapse: (T) => {
2149
2158
  p.collapse = T;
2150
2159
  },
2151
2160
  onMenu: (T, j) => {
2152
- _e.emit("propTreeMenu", { x: T, y: j, keys: m });
2161
+ _e.emit("propTreeMenu", { x: T, y: j, keys: v });
2153
2162
  },
2154
2163
  onCreate: () => {
2155
- L.push(N(c, !0)), d(m, L);
2164
+ L.push(N(f, !0)), c(v, L);
2156
2165
  }
2157
- }), H = h(
2166
+ }), G = _(
2158
2167
  "div",
2159
2168
  {
2160
2169
  style: {
@@ -2164,13 +2173,13 @@ const Fs = /* @__PURE__ */ z({
2164
2173
  (() => {
2165
2174
  const T = [];
2166
2175
  for (let j = 0; j < L.length; j++) {
2167
- const je = De(m, c, L, void 0, j, !1);
2168
- T.push(je);
2176
+ const De = Le(v, f, L, void 0, j, !1);
2177
+ T.push(De);
2169
2178
  }
2170
2179
  return T;
2171
2180
  })()
2172
2181
  );
2173
- return h(
2182
+ return _(
2174
2183
  "div",
2175
2184
  {
2176
2185
  style: {
@@ -2179,15 +2188,15 @@ const Fs = /* @__PURE__ */ z({
2179
2188
  },
2180
2189
  (() => {
2181
2190
  const T = [];
2182
- return T.push(Se), p.collapse || T.push(H), T;
2191
+ return T.push(Se), p.collapse || T.push(G), T;
2183
2192
  })()
2184
2193
  );
2185
- }, Cn = (m, c, g, p, b) => {
2186
- if (!c.ui)
2187
- return console.assert(!1), h("div", "renderLeafScalar prop ui must be valid");
2194
+ }, Cn = (v, f, m, p, $) => {
2195
+ if (!f.ui)
2196
+ return console.assert(!1), _("div", "renderLeafScalar prop ui must be valid");
2188
2197
  let C;
2189
- return c.ui === "dummy" ? C = A(m, c, g, p, b) : c.ui === "strInput" ? C = U(m, c, g, p, b) : c.ui === "numInput" ? C = W(m, c, g, p, b) : c.ui === "switch" ? C = We(m, c, g, p, b) : c.ui === "select" ? C = _n(m, c, g, p, b) : c.ui === "colorPicker" ? C = bn(m, c, g, p, b) : c.ui === "multiTypes" ? C = $n(m, c, g, p, b) : c.ui === "compSelect" ? C = Tn(m, c, g, p, b) : console.assert(!1, "renderLeafScalar not implemented"), C ? M(m, c, C) : h("div");
2190
- }, Pn = () => h(
2198
+ 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");
2199
+ }, Pn = () => _(
2191
2200
  "div",
2192
2201
  {
2193
2202
  class: "text-body-2",
@@ -2196,28 +2205,28 @@ const Fs = /* @__PURE__ */ z({
2196
2205
  }
2197
2206
  },
2198
2207
  (() => {
2199
- const m = [];
2208
+ const v = [];
2200
2209
  if (l.unique && l.config.length > 0 && l.object) {
2201
- u[l.unique] || (u[l.unique] = {});
2202
- const c = u[l.unique];
2203
- l.config.forEach((g) => {
2204
- c[g.key] || (c[g.key] = {
2210
+ a[l.unique] || (a[l.unique] = {});
2211
+ const f = a[l.unique];
2212
+ l.config.forEach((m) => {
2213
+ f[m.key] || (f[m.key] = {
2205
2214
  collapse: !0,
2206
- children: !g.ui && g.array ? [] : {}
2215
+ children: !m.ui && m.array ? [] : {}
2207
2216
  });
2208
- const p = De([], g, l.object, c[g.key]);
2209
- m.push(p);
2217
+ const p = Le([], m, l.object, f[m.key]);
2218
+ v.push(p);
2210
2219
  });
2211
2220
  }
2212
- return m;
2221
+ return v;
2213
2222
  })()
2214
2223
  );
2215
- return (m, c) => (S(), F(He, null, [
2224
+ return (v, f) => (S(), H(He, null, [
2216
2225
  k(Pn),
2217
2226
  k(ls, {
2218
2227
  config: l.config,
2219
2228
  object: l.object,
2220
- "prop-states": f.value
2229
+ "prop-states": d.value
2221
2230
  }, null, 8, ["config", "object", "prop-states"])
2222
2231
  ], 64));
2223
2232
  }