x-prop-tree 0.5.12 → 0.5.13

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