x-prop-tree 0.6.10 → 0.6.11

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