x-prop-tree 0.6.1 → 0.6.3

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