x-prop-tree 0.5.6 → 0.5.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,53 +1,53 @@
1
- import { defineComponent as B, ref as N, computed as K, resolveDirective as ue, withDirectives as k, openBlock as P, createElementBlock as X, normalizeStyle as Ge, withModifiers as R, renderSlot as dn, resolveComponent as C, createBlock as L, unref as M, isRef as Pt, withCtx as G, createVNode as x, Fragment as Vt, renderList as pn, createTextVNode as ze, toDisplayString as Pe, createElementVNode as we, createCommentVNode as q, mergeModels as U, useModel as ce, mergeProps as Et, watch as Fe, watchEffect as mn, reactive as vn, h as y } from "vue";
2
- import { useI18n as Ke } from "vue-i18n";
3
- import { useColor as qe, eventBus as Dt, useViewStack as xt } from "x-essential-lib";
4
- import { parsePixelStr as gn, parsePercentStr as yn, getPropDefault as j } from "x-runtime-lib";
5
- var Lt = typeof global == "object" && global && global.Object === Object && global, _n = typeof self == "object" && self && self.Object === Object && self, I = Lt || _n || Function("return this")(), Z = I.Symbol, Mt = Object.prototype, hn = Mt.hasOwnProperty, bn = Mt.toString, de = Z ? Z.toStringTag : void 0;
6
- function Tn(e) {
7
- var t = hn.call(e, de), n = e[de];
1
+ import { defineComponent as H, ref as R, computed as Y, resolveDirective as fe, withDirectives as k, openBlock as C, createElementBlock as W, normalizeStyle as Ie, withModifiers as j, renderSlot as Tn, resolveComponent as P, createBlock as U, unref as N, isRef as xt, withCtx as K, createVNode as M, Fragment as Nt, renderList as $n, createTextVNode as Je, toDisplayString as xe, createElementVNode as Ee, createCommentVNode as Z, mergeModels as F, useModel as de, mergeProps as Ft, watch as qe, watchEffect as bn, reactive as An, h as _ } from "vue";
2
+ import { useI18n as Qe } from "vue-i18n";
3
+ import { useColor as ke, eventBus as Bt, useViewStack as Rt } from "x-essential-lib";
4
+ import { getPropDefault as L, parsePixelStr as wn, parsePercentStr as Sn } from "x-runtime-lib";
5
+ var Ht = typeof global == "object" && global && global.Object === Object && global, Pn = typeof self == "object" && self && self.Object === Object && self, G = Ht || Pn || Function("return this")(), J = G.Symbol, jt = Object.prototype, On = jt.hasOwnProperty, Cn = jt.toString, me = J ? J.toStringTag : void 0;
6
+ function Vn(e) {
7
+ var t = On.call(e, me), n = e[me];
8
8
  try {
9
- e[de] = void 0;
10
- var o = !0;
9
+ e[me] = void 0;
10
+ var r = !0;
11
11
  } catch {
12
12
  }
13
- var f = bn.call(e);
14
- return o && (t ? e[de] = n : delete e[de]), f;
13
+ var s = Cn.call(e);
14
+ return r && (t ? e[me] = n : delete e[me]), s;
15
15
  }
16
- var $n = Object.prototype, An = $n.toString;
17
- function wn(e) {
18
- return An.call(e);
16
+ var En = Object.prototype, Dn = En.toString;
17
+ function Ln(e) {
18
+ return Dn.call(e);
19
19
  }
20
- var Sn = "[object Null]", On = "[object Undefined]", nt = Z ? Z.toStringTag : void 0;
21
- function ye(e) {
22
- return e == null ? e === void 0 ? On : Sn : nt && nt in Object(e) ? Tn(e) : wn(e);
20
+ var Mn = "[object Null]", Un = "[object Undefined]", st = J ? J.toStringTag : void 0;
21
+ function Te(e) {
22
+ return e == null ? e === void 0 ? Un : Mn : st && st in Object(e) ? Vn(e) : Ln(e);
23
23
  }
24
- function J(e) {
24
+ function ee(e) {
25
25
  return e != null && typeof e == "object";
26
26
  }
27
- var me = Array.isArray;
28
- function _e(e) {
27
+ var ye = Array.isArray;
28
+ function $e(e) {
29
29
  var t = typeof e;
30
30
  return e != null && (t == "object" || t == "function");
31
31
  }
32
- var Cn = "[object AsyncFunction]", Pn = "[object Function]", Vn = "[object GeneratorFunction]", En = "[object Proxy]";
33
- function Ut(e) {
34
- if (!_e(e))
32
+ var xn = "[object AsyncFunction]", Nn = "[object Function]", Fn = "[object GeneratorFunction]", Bn = "[object Proxy]";
33
+ function Gt(e) {
34
+ if (!$e(e))
35
35
  return !1;
36
- var t = ye(e);
37
- return t == Pn || t == Vn || t == Cn || t == En;
36
+ var t = Te(e);
37
+ return t == Nn || t == Fn || t == xn || t == Bn;
38
38
  }
39
- var Me = I["__core-js_shared__"], rt = function() {
40
- var e = /[^.]+$/.exec(Me && Me.keys && Me.keys.IE_PROTO || "");
39
+ var je = G["__core-js_shared__"], ut = function() {
40
+ var e = /[^.]+$/.exec(je && je.keys && je.keys.IE_PROTO || "");
41
41
  return e ? "Symbol(src)_1." + e : "";
42
42
  }();
43
- function Dn(e) {
44
- return !!rt && rt in e;
43
+ function Rn(e) {
44
+ return !!ut && ut in e;
45
45
  }
46
- var xn = Function.prototype, Ln = xn.toString;
47
- function ee(e) {
46
+ var Hn = Function.prototype, jn = Hn.toString;
47
+ function ne(e) {
48
48
  if (e != null) {
49
49
  try {
50
- return Ln.call(e);
50
+ return jn.call(e);
51
51
  } catch {
52
52
  }
53
53
  try {
@@ -57,754 +57,754 @@ function ee(e) {
57
57
  }
58
58
  return "";
59
59
  }
60
- var Mn = /[\\^$.*+?()[\]{}|]/g, Un = /^\[object .+?Constructor\]$/, jn = Function.prototype, Fn = Object.prototype, Nn = jn.toString, Bn = Fn.hasOwnProperty, Rn = RegExp(
61
- "^" + Nn.call(Bn).replace(Mn, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
60
+ var Gn = /[\\^$.*+?()[\]{}|]/g, zn = /^\[object .+?Constructor\]$/, qn = Function.prototype, Kn = Object.prototype, Xn = qn.toString, Yn = Kn.hasOwnProperty, Zn = RegExp(
61
+ "^" + Xn.call(Yn).replace(Gn, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
62
62
  );
63
- function In(e) {
64
- if (!_e(e) || Dn(e))
63
+ function Wn(e) {
64
+ if (!$e(e) || Rn(e))
65
65
  return !1;
66
- var t = Ut(e) ? Rn : Un;
67
- return t.test(ee(e));
66
+ var t = Gt(e) ? Zn : zn;
67
+ return t.test(ne(e));
68
68
  }
69
- function Hn(e, t) {
69
+ function In(e, t) {
70
70
  return e == null ? void 0 : e[t];
71
71
  }
72
- function te(e, t) {
73
- var n = Hn(e, t);
74
- return In(n) ? n : void 0;
72
+ function re(e, t) {
73
+ var n = In(e, t);
74
+ return Wn(n) ? n : void 0;
75
75
  }
76
- var Ne = te(I, "WeakMap"), at = Object.create, Gn = /* @__PURE__ */ function() {
76
+ var Ke = re(G, "WeakMap"), ct = Object.create, Jn = /* @__PURE__ */ function() {
77
77
  function e() {
78
78
  }
79
79
  return function(t) {
80
- if (!_e(t))
80
+ if (!$e(t))
81
81
  return {};
82
- if (at)
83
- return at(t);
82
+ if (ct)
83
+ return ct(t);
84
84
  e.prototype = t;
85
85
  var n = new e();
86
86
  return e.prototype = void 0, n;
87
87
  };
88
88
  }();
89
- function zn(e, t) {
90
- var n = -1, o = e.length;
91
- for (t || (t = Array(o)); ++n < o; )
89
+ function Qn(e, t) {
90
+ var n = -1, r = e.length;
91
+ for (t || (t = Array(r)); ++n < r; )
92
92
  t[n] = e[n];
93
93
  return t;
94
94
  }
95
- var ot = function() {
95
+ var ft = function() {
96
96
  try {
97
- var e = te(Object, "defineProperty");
97
+ var e = re(Object, "defineProperty");
98
98
  return e({}, "", {}), e;
99
99
  } catch {
100
100
  }
101
101
  }();
102
- function Kn(e, t) {
103
- for (var n = -1, o = e == null ? 0 : e.length; ++n < o && t(e[n], n, e) !== !1; )
102
+ function kn(e, t) {
103
+ for (var n = -1, r = e == null ? 0 : e.length; ++n < r && t(e[n], n, e) !== !1; )
104
104
  ;
105
105
  return e;
106
106
  }
107
- var qn = 9007199254740991, Xn = /^(?:0|[1-9]\d*)$/;
108
- function Yn(e, t) {
107
+ var er = 9007199254740991, tr = /^(?:0|[1-9]\d*)$/;
108
+ function nr(e, t) {
109
109
  var n = typeof e;
110
- return t = t ?? qn, !!t && (n == "number" || n != "symbol" && Xn.test(e)) && e > -1 && e % 1 == 0 && e < t;
110
+ return t = t ?? er, !!t && (n == "number" || n != "symbol" && tr.test(e)) && e > -1 && e % 1 == 0 && e < t;
111
111
  }
112
- function jt(e, t, n) {
113
- t == "__proto__" && ot ? ot(e, t, {
112
+ function zt(e, t, n) {
113
+ t == "__proto__" && ft ? ft(e, t, {
114
114
  configurable: !0,
115
115
  enumerable: !0,
116
116
  value: n,
117
117
  writable: !0
118
118
  }) : e[t] = n;
119
119
  }
120
- function Xe(e, t) {
120
+ function et(e, t) {
121
121
  return e === t || e !== e && t !== t;
122
122
  }
123
- var Zn = Object.prototype, Wn = Zn.hasOwnProperty;
124
- function Ft(e, t, n) {
125
- var o = e[t];
126
- (!(Wn.call(e, t) && Xe(o, n)) || n === void 0 && !(t in e)) && jt(e, t, n);
123
+ var rr = Object.prototype, ir = rr.hasOwnProperty;
124
+ function qt(e, t, n) {
125
+ var r = e[t];
126
+ (!(ir.call(e, t) && et(r, n)) || n === void 0 && !(t in e)) && zt(e, t, n);
127
127
  }
128
- function Ve(e, t, n, o) {
129
- var f = !n;
128
+ function Ne(e, t, n, r) {
129
+ var s = !n;
130
130
  n || (n = {});
131
- for (var s = -1, d = t.length; ++s < d; ) {
132
- var p = t[s], m = void 0;
133
- m === void 0 && (m = e[p]), f ? jt(n, p, m) : Ft(n, p, m);
131
+ for (var a = -1, d = t.length; ++a < d; ) {
132
+ var f = t[a], p = void 0;
133
+ p === void 0 && (p = e[f]), s ? zt(n, f, p) : qt(n, f, p);
134
134
  }
135
135
  return n;
136
136
  }
137
- var kn = 9007199254740991;
138
- function Nt(e) {
139
- return typeof e == "number" && e > -1 && e % 1 == 0 && e <= kn;
137
+ var ar = 9007199254740991;
138
+ function Kt(e) {
139
+ return typeof e == "number" && e > -1 && e % 1 == 0 && e <= ar;
140
140
  }
141
- function Bt(e) {
142
- return e != null && Nt(e.length) && !Ut(e);
141
+ function Xt(e) {
142
+ return e != null && Kt(e.length) && !Gt(e);
143
143
  }
144
- var Jn = Object.prototype;
145
- function Ye(e) {
146
- var t = e && e.constructor, n = typeof t == "function" && t.prototype || Jn;
144
+ var lr = Object.prototype;
145
+ function tt(e) {
146
+ var t = e && e.constructor, n = typeof t == "function" && t.prototype || lr;
147
147
  return e === n;
148
148
  }
149
- function Qn(e, t) {
150
- for (var n = -1, o = Array(e); ++n < e; )
151
- o[n] = t(n);
152
- return o;
149
+ function or(e, t) {
150
+ for (var n = -1, r = Array(e); ++n < e; )
151
+ r[n] = t(n);
152
+ return r;
153
153
  }
154
- var er = "[object Arguments]";
155
- function it(e) {
156
- return J(e) && ye(e) == er;
154
+ var sr = "[object Arguments]";
155
+ function dt(e) {
156
+ return ee(e) && Te(e) == sr;
157
157
  }
158
- var Rt = Object.prototype, tr = Rt.hasOwnProperty, nr = Rt.propertyIsEnumerable, rr = it(/* @__PURE__ */ function() {
158
+ var Yt = Object.prototype, ur = Yt.hasOwnProperty, cr = Yt.propertyIsEnumerable, fr = dt(/* @__PURE__ */ function() {
159
159
  return arguments;
160
- }()) ? it : function(e) {
161
- return J(e) && tr.call(e, "callee") && !nr.call(e, "callee");
160
+ }()) ? dt : function(e) {
161
+ return ee(e) && ur.call(e, "callee") && !cr.call(e, "callee");
162
162
  };
163
- function ar() {
163
+ function dr() {
164
164
  return !1;
165
165
  }
166
- var It = typeof exports == "object" && exports && !exports.nodeType && exports, lt = It && typeof module == "object" && module && !module.nodeType && module, or = lt && lt.exports === It, st = or ? I.Buffer : void 0, ir = st ? st.isBuffer : void 0, Se = ir || ar, lr = "[object Arguments]", sr = "[object Array]", ur = "[object Boolean]", cr = "[object Date]", fr = "[object Error]", dr = "[object Function]", pr = "[object Map]", mr = "[object Number]", vr = "[object Object]", gr = "[object RegExp]", yr = "[object Set]", _r = "[object String]", hr = "[object WeakMap]", br = "[object ArrayBuffer]", Tr = "[object DataView]", $r = "[object Float32Array]", Ar = "[object Float64Array]", wr = "[object Int8Array]", Sr = "[object Int16Array]", Or = "[object Int32Array]", Cr = "[object Uint8Array]", Pr = "[object Uint8ClampedArray]", Vr = "[object Uint16Array]", Er = "[object Uint32Array]", S = {};
167
- S[$r] = S[Ar] = S[wr] = S[Sr] = S[Or] = S[Cr] = S[Pr] = S[Vr] = S[Er] = !0;
168
- S[lr] = S[sr] = S[br] = S[ur] = S[Tr] = S[cr] = S[fr] = S[dr] = S[pr] = S[mr] = S[vr] = S[gr] = S[yr] = S[_r] = S[hr] = !1;
169
- function Dr(e) {
170
- return J(e) && Nt(e.length) && !!S[ye(e)];
166
+ var Zt = typeof exports == "object" && exports && !exports.nodeType && exports, pt = Zt && typeof module == "object" && module && !module.nodeType && module, pr = pt && pt.exports === Zt, vt = pr ? G.Buffer : void 0, vr = vt ? vt.isBuffer : void 0, De = vr || dr, mr = "[object Arguments]", gr = "[object Array]", yr = "[object Boolean]", _r = "[object Date]", hr = "[object Error]", Tr = "[object Function]", $r = "[object Map]", br = "[object Number]", Ar = "[object Object]", wr = "[object RegExp]", Sr = "[object Set]", Pr = "[object String]", Or = "[object WeakMap]", Cr = "[object ArrayBuffer]", Vr = "[object DataView]", Er = "[object Float32Array]", Dr = "[object Float64Array]", Lr = "[object Int8Array]", Mr = "[object Int16Array]", Ur = "[object Int32Array]", xr = "[object Uint8Array]", Nr = "[object Uint8ClampedArray]", Fr = "[object Uint16Array]", Br = "[object Uint32Array]", S = {};
167
+ S[Er] = S[Dr] = S[Lr] = S[Mr] = S[Ur] = S[xr] = S[Nr] = S[Fr] = S[Br] = !0;
168
+ S[mr] = S[gr] = S[Cr] = S[yr] = S[Vr] = S[_r] = S[hr] = S[Tr] = S[$r] = S[br] = S[Ar] = S[wr] = S[Sr] = S[Pr] = S[Or] = !1;
169
+ function Rr(e) {
170
+ return ee(e) && Kt(e.length) && !!S[Te(e)];
171
171
  }
172
- function Ze(e) {
172
+ function nt(e) {
173
173
  return function(t) {
174
174
  return e(t);
175
175
  };
176
176
  }
177
- var Ht = typeof exports == "object" && exports && !exports.nodeType && exports, pe = Ht && typeof module == "object" && module && !module.nodeType && module, xr = pe && pe.exports === Ht, Ue = xr && Lt.process, se = function() {
177
+ var Wt = typeof exports == "object" && exports && !exports.nodeType && exports, ge = Wt && typeof module == "object" && module && !module.nodeType && module, Hr = ge && ge.exports === Wt, Ge = Hr && Ht.process, ce = function() {
178
178
  try {
179
- var e = pe && pe.require && pe.require("util").types;
180
- return e || Ue && Ue.binding && Ue.binding("util");
179
+ var e = ge && ge.require && ge.require("util").types;
180
+ return e || Ge && Ge.binding && Ge.binding("util");
181
181
  } catch {
182
182
  }
183
- }(), ut = se && se.isTypedArray, Gt = ut ? Ze(ut) : Dr, Lr = Object.prototype, Mr = Lr.hasOwnProperty;
184
- function zt(e, t) {
185
- var n = me(e), o = !n && rr(e), f = !n && !o && Se(e), s = !n && !o && !f && Gt(e), d = n || o || f || s, p = d ? Qn(e.length, String) : [], m = p.length;
186
- for (var l in e)
187
- (t || Mr.call(e, l)) && !(d && // Safari 9 has enumerable `arguments.length` in strict mode.
188
- (l == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
189
- f && (l == "offset" || l == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
190
- s && (l == "buffer" || l == "byteLength" || l == "byteOffset") || // Skip index properties.
191
- Yn(l, m))) && p.push(l);
192
- return p;
193
- }
194
- function Kt(e, t) {
183
+ }(), mt = ce && ce.isTypedArray, It = mt ? nt(mt) : Rr, jr = Object.prototype, Gr = jr.hasOwnProperty;
184
+ function Jt(e, t) {
185
+ var n = ye(e), r = !n && fr(e), s = !n && !r && De(e), a = !n && !r && !s && It(e), d = n || r || s || a, f = d ? or(e.length, String) : [], p = f.length;
186
+ for (var c in e)
187
+ (t || Gr.call(e, c)) && !(d && // Safari 9 has enumerable `arguments.length` in strict mode.
188
+ (c == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
189
+ s && (c == "offset" || c == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
190
+ a && (c == "buffer" || c == "byteLength" || c == "byteOffset") || // Skip index properties.
191
+ nr(c, p))) && f.push(c);
192
+ return f;
193
+ }
194
+ function Qt(e, t) {
195
195
  return function(n) {
196
196
  return e(t(n));
197
197
  };
198
198
  }
199
- var Ur = Kt(Object.keys, Object), jr = Object.prototype, Fr = jr.hasOwnProperty;
200
- function Nr(e) {
201
- if (!Ye(e))
202
- return Ur(e);
199
+ var zr = Qt(Object.keys, Object), qr = Object.prototype, Kr = qr.hasOwnProperty;
200
+ function Xr(e) {
201
+ if (!tt(e))
202
+ return zr(e);
203
203
  var t = [];
204
204
  for (var n in Object(e))
205
- Fr.call(e, n) && n != "constructor" && t.push(n);
205
+ Kr.call(e, n) && n != "constructor" && t.push(n);
206
206
  return t;
207
207
  }
208
- function We(e) {
209
- return Bt(e) ? zt(e) : Nr(e);
208
+ function rt(e) {
209
+ return Xt(e) ? Jt(e) : Xr(e);
210
210
  }
211
- function Br(e) {
211
+ function Yr(e) {
212
212
  var t = [];
213
213
  if (e != null)
214
214
  for (var n in Object(e))
215
215
  t.push(n);
216
216
  return t;
217
217
  }
218
- var Rr = Object.prototype, Ir = Rr.hasOwnProperty;
219
- function Hr(e) {
220
- if (!_e(e))
221
- return Br(e);
222
- var t = Ye(e), n = [];
223
- for (var o in e)
224
- o == "constructor" && (t || !Ir.call(e, o)) || n.push(o);
218
+ var Zr = Object.prototype, Wr = Zr.hasOwnProperty;
219
+ function Ir(e) {
220
+ if (!$e(e))
221
+ return Yr(e);
222
+ var t = tt(e), n = [];
223
+ for (var r in e)
224
+ r == "constructor" && (t || !Wr.call(e, r)) || n.push(r);
225
225
  return n;
226
226
  }
227
- function ke(e) {
228
- return Bt(e) ? zt(e, !0) : Hr(e);
227
+ function it(e) {
228
+ return Xt(e) ? Jt(e, !0) : Ir(e);
229
229
  }
230
- var ve = te(Object, "create");
231
- function Gr() {
232
- this.__data__ = ve ? ve(null) : {}, this.size = 0;
230
+ var _e = re(Object, "create");
231
+ function Jr() {
232
+ this.__data__ = _e ? _e(null) : {}, this.size = 0;
233
233
  }
234
- function zr(e) {
234
+ function Qr(e) {
235
235
  var t = this.has(e) && delete this.__data__[e];
236
236
  return this.size -= t ? 1 : 0, t;
237
237
  }
238
- var Kr = "__lodash_hash_undefined__", qr = Object.prototype, Xr = qr.hasOwnProperty;
239
- function Yr(e) {
238
+ var kr = "__lodash_hash_undefined__", ei = Object.prototype, ti = ei.hasOwnProperty;
239
+ function ni(e) {
240
240
  var t = this.__data__;
241
- if (ve) {
241
+ if (_e) {
242
242
  var n = t[e];
243
- return n === Kr ? void 0 : n;
243
+ return n === kr ? void 0 : n;
244
244
  }
245
- return Xr.call(t, e) ? t[e] : void 0;
245
+ return ti.call(t, e) ? t[e] : void 0;
246
246
  }
247
- var Zr = Object.prototype, Wr = Zr.hasOwnProperty;
248
- function kr(e) {
247
+ var ri = Object.prototype, ii = ri.hasOwnProperty;
248
+ function ai(e) {
249
249
  var t = this.__data__;
250
- return ve ? t[e] !== void 0 : Wr.call(t, e);
250
+ return _e ? t[e] !== void 0 : ii.call(t, e);
251
251
  }
252
- var Jr = "__lodash_hash_undefined__";
253
- function Qr(e, t) {
252
+ var li = "__lodash_hash_undefined__";
253
+ function oi(e, t) {
254
254
  var n = this.__data__;
255
- return this.size += this.has(e) ? 0 : 1, n[e] = ve && t === void 0 ? Jr : t, this;
255
+ return this.size += this.has(e) ? 0 : 1, n[e] = _e && t === void 0 ? li : t, this;
256
256
  }
257
- function Q(e) {
257
+ function te(e) {
258
258
  var t = -1, n = e == null ? 0 : e.length;
259
259
  for (this.clear(); ++t < n; ) {
260
- var o = e[t];
261
- this.set(o[0], o[1]);
260
+ var r = e[t];
261
+ this.set(r[0], r[1]);
262
262
  }
263
263
  }
264
- Q.prototype.clear = Gr;
265
- Q.prototype.delete = zr;
266
- Q.prototype.get = Yr;
267
- Q.prototype.has = kr;
268
- Q.prototype.set = Qr;
269
- function ea() {
264
+ te.prototype.clear = Jr;
265
+ te.prototype.delete = Qr;
266
+ te.prototype.get = ni;
267
+ te.prototype.has = ai;
268
+ te.prototype.set = oi;
269
+ function si() {
270
270
  this.__data__ = [], this.size = 0;
271
271
  }
272
- function Ee(e, t) {
272
+ function Fe(e, t) {
273
273
  for (var n = e.length; n--; )
274
- if (Xe(e[n][0], t))
274
+ if (et(e[n][0], t))
275
275
  return n;
276
276
  return -1;
277
277
  }
278
- var ta = Array.prototype, na = ta.splice;
279
- function ra(e) {
280
- var t = this.__data__, n = Ee(t, e);
278
+ var ui = Array.prototype, ci = ui.splice;
279
+ function fi(e) {
280
+ var t = this.__data__, n = Fe(t, e);
281
281
  if (n < 0)
282
282
  return !1;
283
- var o = t.length - 1;
284
- return n == o ? t.pop() : na.call(t, n, 1), --this.size, !0;
283
+ var r = t.length - 1;
284
+ return n == r ? t.pop() : ci.call(t, n, 1), --this.size, !0;
285
285
  }
286
- function aa(e) {
287
- var t = this.__data__, n = Ee(t, e);
286
+ function di(e) {
287
+ var t = this.__data__, n = Fe(t, e);
288
288
  return n < 0 ? void 0 : t[n][1];
289
289
  }
290
- function oa(e) {
291
- return Ee(this.__data__, e) > -1;
290
+ function pi(e) {
291
+ return Fe(this.__data__, e) > -1;
292
292
  }
293
- function ia(e, t) {
294
- var n = this.__data__, o = Ee(n, e);
295
- return o < 0 ? (++this.size, n.push([e, t])) : n[o][1] = t, this;
293
+ function vi(e, t) {
294
+ var n = this.__data__, r = Fe(n, e);
295
+ return r < 0 ? (++this.size, n.push([e, t])) : n[r][1] = t, this;
296
296
  }
297
- function Y(e) {
297
+ function I(e) {
298
298
  var t = -1, n = e == null ? 0 : e.length;
299
299
  for (this.clear(); ++t < n; ) {
300
- var o = e[t];
301
- this.set(o[0], o[1]);
300
+ var r = e[t];
301
+ this.set(r[0], r[1]);
302
302
  }
303
303
  }
304
- Y.prototype.clear = ea;
305
- Y.prototype.delete = ra;
306
- Y.prototype.get = aa;
307
- Y.prototype.has = oa;
308
- Y.prototype.set = ia;
309
- var ge = te(I, "Map");
310
- function la() {
304
+ I.prototype.clear = si;
305
+ I.prototype.delete = fi;
306
+ I.prototype.get = di;
307
+ I.prototype.has = pi;
308
+ I.prototype.set = vi;
309
+ var he = re(G, "Map");
310
+ function mi() {
311
311
  this.size = 0, this.__data__ = {
312
- hash: new Q(),
313
- map: new (ge || Y)(),
314
- string: new Q()
312
+ hash: new te(),
313
+ map: new (he || I)(),
314
+ string: new te()
315
315
  };
316
316
  }
317
- function sa(e) {
317
+ function gi(e) {
318
318
  var t = typeof e;
319
319
  return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
320
320
  }
321
- function De(e, t) {
321
+ function Be(e, t) {
322
322
  var n = e.__data__;
323
- return sa(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
323
+ return gi(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
324
324
  }
325
- function ua(e) {
326
- var t = De(this, e).delete(e);
325
+ function yi(e) {
326
+ var t = Be(this, e).delete(e);
327
327
  return this.size -= t ? 1 : 0, t;
328
328
  }
329
- function ca(e) {
330
- return De(this, e).get(e);
329
+ function _i(e) {
330
+ return Be(this, e).get(e);
331
331
  }
332
- function fa(e) {
333
- return De(this, e).has(e);
332
+ function hi(e) {
333
+ return Be(this, e).has(e);
334
334
  }
335
- function da(e, t) {
336
- var n = De(this, e), o = n.size;
337
- return n.set(e, t), this.size += n.size == o ? 0 : 1, this;
335
+ function Ti(e, t) {
336
+ var n = Be(this, e), r = n.size;
337
+ return n.set(e, t), this.size += n.size == r ? 0 : 1, this;
338
338
  }
339
- function ne(e) {
339
+ function ie(e) {
340
340
  var t = -1, n = e == null ? 0 : e.length;
341
341
  for (this.clear(); ++t < n; ) {
342
- var o = e[t];
343
- this.set(o[0], o[1]);
342
+ var r = e[t];
343
+ this.set(r[0], r[1]);
344
344
  }
345
345
  }
346
- ne.prototype.clear = la;
347
- ne.prototype.delete = ua;
348
- ne.prototype.get = ca;
349
- ne.prototype.has = fa;
350
- ne.prototype.set = da;
351
- function qt(e, t) {
352
- for (var n = -1, o = t.length, f = e.length; ++n < o; )
353
- e[f + n] = t[n];
346
+ ie.prototype.clear = mi;
347
+ ie.prototype.delete = yi;
348
+ ie.prototype.get = _i;
349
+ ie.prototype.has = hi;
350
+ ie.prototype.set = Ti;
351
+ function kt(e, t) {
352
+ for (var n = -1, r = t.length, s = e.length; ++n < r; )
353
+ e[s + n] = t[n];
354
354
  return e;
355
355
  }
356
- var Xt = Kt(Object.getPrototypeOf, Object);
357
- function pa() {
358
- this.__data__ = new Y(), this.size = 0;
356
+ var en = Qt(Object.getPrototypeOf, Object);
357
+ function $i() {
358
+ this.__data__ = new I(), this.size = 0;
359
359
  }
360
- function ma(e) {
360
+ function bi(e) {
361
361
  var t = this.__data__, n = t.delete(e);
362
362
  return this.size = t.size, n;
363
363
  }
364
- function va(e) {
364
+ function Ai(e) {
365
365
  return this.__data__.get(e);
366
366
  }
367
- function ga(e) {
367
+ function wi(e) {
368
368
  return this.__data__.has(e);
369
369
  }
370
- var ya = 200;
371
- function _a(e, t) {
370
+ var Si = 200;
371
+ function Pi(e, t) {
372
372
  var n = this.__data__;
373
- if (n instanceof Y) {
374
- var o = n.__data__;
375
- if (!ge || o.length < ya - 1)
376
- return o.push([e, t]), this.size = ++n.size, this;
377
- n = this.__data__ = new ne(o);
373
+ if (n instanceof I) {
374
+ var r = n.__data__;
375
+ if (!he || r.length < Si - 1)
376
+ return r.push([e, t]), this.size = ++n.size, this;
377
+ n = this.__data__ = new ie(r);
378
378
  }
379
379
  return n.set(e, t), this.size = n.size, this;
380
380
  }
381
- function z(e) {
382
- var t = this.__data__ = new Y(e);
381
+ function X(e) {
382
+ var t = this.__data__ = new I(e);
383
383
  this.size = t.size;
384
384
  }
385
- z.prototype.clear = pa;
386
- z.prototype.delete = ma;
387
- z.prototype.get = va;
388
- z.prototype.has = ga;
389
- z.prototype.set = _a;
390
- function ha(e, t) {
391
- return e && Ve(t, We(t), e);
385
+ X.prototype.clear = $i;
386
+ X.prototype.delete = bi;
387
+ X.prototype.get = Ai;
388
+ X.prototype.has = wi;
389
+ X.prototype.set = Pi;
390
+ function Oi(e, t) {
391
+ return e && Ne(t, rt(t), e);
392
392
  }
393
- function ba(e, t) {
394
- return e && Ve(t, ke(t), e);
393
+ function Ci(e, t) {
394
+ return e && Ne(t, it(t), e);
395
395
  }
396
- var Yt = typeof exports == "object" && exports && !exports.nodeType && exports, ct = Yt && typeof module == "object" && module && !module.nodeType && module, Ta = ct && ct.exports === Yt, ft = Ta ? I.Buffer : void 0, dt = ft ? ft.allocUnsafe : void 0;
397
- function $a(e, t) {
396
+ var tn = typeof exports == "object" && exports && !exports.nodeType && exports, gt = tn && typeof module == "object" && module && !module.nodeType && module, Vi = gt && gt.exports === tn, yt = Vi ? G.Buffer : void 0, _t = yt ? yt.allocUnsafe : void 0;
397
+ function Ei(e, t) {
398
398
  if (t)
399
399
  return e.slice();
400
- var n = e.length, o = dt ? dt(n) : new e.constructor(n);
401
- return e.copy(o), o;
400
+ var n = e.length, r = _t ? _t(n) : new e.constructor(n);
401
+ return e.copy(r), r;
402
402
  }
403
- function Aa(e, t) {
404
- for (var n = -1, o = e == null ? 0 : e.length, f = 0, s = []; ++n < o; ) {
403
+ function Di(e, t) {
404
+ for (var n = -1, r = e == null ? 0 : e.length, s = 0, a = []; ++n < r; ) {
405
405
  var d = e[n];
406
- t(d, n, e) && (s[f++] = d);
406
+ t(d, n, e) && (a[s++] = d);
407
407
  }
408
- return s;
408
+ return a;
409
409
  }
410
- function Zt() {
410
+ function nn() {
411
411
  return [];
412
412
  }
413
- var wa = Object.prototype, Sa = wa.propertyIsEnumerable, pt = Object.getOwnPropertySymbols, Je = pt ? function(e) {
414
- return e == null ? [] : (e = Object(e), Aa(pt(e), function(t) {
415
- return Sa.call(e, t);
413
+ var Li = Object.prototype, Mi = Li.propertyIsEnumerable, ht = Object.getOwnPropertySymbols, at = ht ? function(e) {
414
+ return e == null ? [] : (e = Object(e), Di(ht(e), function(t) {
415
+ return Mi.call(e, t);
416
416
  }));
417
- } : Zt;
418
- function Oa(e, t) {
419
- return Ve(e, Je(e), t);
417
+ } : nn;
418
+ function Ui(e, t) {
419
+ return Ne(e, at(e), t);
420
420
  }
421
- var Ca = Object.getOwnPropertySymbols, Wt = Ca ? function(e) {
421
+ var xi = Object.getOwnPropertySymbols, rn = xi ? function(e) {
422
422
  for (var t = []; e; )
423
- qt(t, Je(e)), e = Xt(e);
423
+ kt(t, at(e)), e = en(e);
424
424
  return t;
425
- } : Zt;
426
- function Pa(e, t) {
427
- return Ve(e, Wt(e), t);
428
- }
429
- function kt(e, t, n) {
430
- var o = t(e);
431
- return me(e) ? o : qt(o, n(e));
432
- }
433
- function Be(e) {
434
- return kt(e, We, Je);
435
- }
436
- function Va(e) {
437
- return kt(e, ke, Wt);
438
- }
439
- var Re = te(I, "DataView"), Ie = te(I, "Promise"), He = te(I, "Set"), mt = "[object Map]", Ea = "[object Object]", vt = "[object Promise]", gt = "[object Set]", yt = "[object WeakMap]", _t = "[object DataView]", Da = ee(Re), xa = ee(ge), La = ee(Ie), Ma = ee(He), Ua = ee(Ne), F = ye;
440
- (Re && F(new Re(new ArrayBuffer(1))) != _t || ge && F(new ge()) != mt || Ie && F(Ie.resolve()) != vt || He && F(new He()) != gt || Ne && F(new Ne()) != yt) && (F = function(e) {
441
- var t = ye(e), n = t == Ea ? e.constructor : void 0, o = n ? ee(n) : "";
442
- if (o)
443
- switch (o) {
444
- case Da:
445
- return _t;
446
- case xa:
447
- return mt;
448
- case La:
449
- return vt;
450
- case Ma:
451
- return gt;
452
- case Ua:
453
- return yt;
425
+ } : nn;
426
+ function Ni(e, t) {
427
+ return Ne(e, rn(e), t);
428
+ }
429
+ function an(e, t, n) {
430
+ var r = t(e);
431
+ return ye(e) ? r : kt(r, n(e));
432
+ }
433
+ function Xe(e) {
434
+ return an(e, rt, at);
435
+ }
436
+ function Fi(e) {
437
+ return an(e, it, rn);
438
+ }
439
+ var Ye = re(G, "DataView"), Ze = re(G, "Promise"), We = re(G, "Set"), Tt = "[object Map]", Bi = "[object Object]", $t = "[object Promise]", bt = "[object Set]", At = "[object WeakMap]", wt = "[object DataView]", Ri = ne(Ye), Hi = ne(he), ji = ne(Ze), Gi = ne(We), zi = ne(Ke), B = Te;
440
+ (Ye && B(new Ye(new ArrayBuffer(1))) != wt || he && B(new he()) != Tt || Ze && B(Ze.resolve()) != $t || We && B(new We()) != bt || Ke && B(new Ke()) != At) && (B = function(e) {
441
+ var t = Te(e), n = t == Bi ? e.constructor : void 0, r = n ? ne(n) : "";
442
+ if (r)
443
+ switch (r) {
444
+ case Ri:
445
+ return wt;
446
+ case Hi:
447
+ return Tt;
448
+ case ji:
449
+ return $t;
450
+ case Gi:
451
+ return bt;
452
+ case zi:
453
+ return At;
454
454
  }
455
455
  return t;
456
456
  });
457
- var ja = Object.prototype, Fa = ja.hasOwnProperty;
458
- function Na(e) {
457
+ var qi = Object.prototype, Ki = qi.hasOwnProperty;
458
+ function Xi(e) {
459
459
  var t = e.length, n = new e.constructor(t);
460
- return t && typeof e[0] == "string" && Fa.call(e, "index") && (n.index = e.index, n.input = e.input), n;
460
+ return t && typeof e[0] == "string" && Ki.call(e, "index") && (n.index = e.index, n.input = e.input), n;
461
461
  }
462
- var Oe = I.Uint8Array;
463
- function Qe(e) {
462
+ var Le = G.Uint8Array;
463
+ function lt(e) {
464
464
  var t = new e.constructor(e.byteLength);
465
- return new Oe(t).set(new Oe(e)), t;
465
+ return new Le(t).set(new Le(e)), t;
466
466
  }
467
- function Ba(e, t) {
468
- var n = t ? Qe(e.buffer) : e.buffer;
467
+ function Yi(e, t) {
468
+ var n = t ? lt(e.buffer) : e.buffer;
469
469
  return new e.constructor(n, e.byteOffset, e.byteLength);
470
470
  }
471
- var Ra = /\w*$/;
472
- function Ia(e) {
473
- var t = new e.constructor(e.source, Ra.exec(e));
471
+ var Zi = /\w*$/;
472
+ function Wi(e) {
473
+ var t = new e.constructor(e.source, Zi.exec(e));
474
474
  return t.lastIndex = e.lastIndex, t;
475
475
  }
476
- var ht = Z ? Z.prototype : void 0, bt = ht ? ht.valueOf : void 0;
477
- function Ha(e) {
478
- return bt ? Object(bt.call(e)) : {};
476
+ var St = J ? J.prototype : void 0, Pt = St ? St.valueOf : void 0;
477
+ function Ii(e) {
478
+ return Pt ? Object(Pt.call(e)) : {};
479
479
  }
480
- function Ga(e, t) {
481
- var n = t ? Qe(e.buffer) : e.buffer;
480
+ function Ji(e, t) {
481
+ var n = t ? lt(e.buffer) : e.buffer;
482
482
  return new e.constructor(n, e.byteOffset, e.length);
483
483
  }
484
- var za = "[object Boolean]", Ka = "[object Date]", qa = "[object Map]", Xa = "[object Number]", Ya = "[object RegExp]", Za = "[object Set]", Wa = "[object String]", ka = "[object Symbol]", Ja = "[object ArrayBuffer]", Qa = "[object DataView]", eo = "[object Float32Array]", to = "[object Float64Array]", no = "[object Int8Array]", ro = "[object Int16Array]", ao = "[object Int32Array]", oo = "[object Uint8Array]", io = "[object Uint8ClampedArray]", lo = "[object Uint16Array]", so = "[object Uint32Array]";
485
- function uo(e, t, n) {
486
- var o = e.constructor;
484
+ var Qi = "[object Boolean]", ki = "[object Date]", ea = "[object Map]", ta = "[object Number]", na = "[object RegExp]", ra = "[object Set]", ia = "[object String]", aa = "[object Symbol]", la = "[object ArrayBuffer]", oa = "[object DataView]", sa = "[object Float32Array]", ua = "[object Float64Array]", ca = "[object Int8Array]", fa = "[object Int16Array]", da = "[object Int32Array]", pa = "[object Uint8Array]", va = "[object Uint8ClampedArray]", ma = "[object Uint16Array]", ga = "[object Uint32Array]";
485
+ function ya(e, t, n) {
486
+ var r = e.constructor;
487
487
  switch (t) {
488
- case Ja:
489
- return Qe(e);
490
- case za:
491
- case Ka:
492
- return new o(+e);
493
- case Qa:
494
- return Ba(e, n);
495
- case eo:
496
- case to:
497
- case no:
498
- case ro:
499
- case ao:
500
- case oo:
501
- case io:
502
- case lo:
503
- case so:
504
- return Ga(e, n);
505
- case qa:
506
- return new o();
507
- case Xa:
508
- case Wa:
509
- return new o(e);
510
- case Ya:
511
- return Ia(e);
512
- case Za:
513
- return new o();
514
- case ka:
515
- return Ha(e);
488
+ case la:
489
+ return lt(e);
490
+ case Qi:
491
+ case ki:
492
+ return new r(+e);
493
+ case oa:
494
+ return Yi(e, n);
495
+ case sa:
496
+ case ua:
497
+ case ca:
498
+ case fa:
499
+ case da:
500
+ case pa:
501
+ case va:
502
+ case ma:
503
+ case ga:
504
+ return Ji(e, n);
505
+ case ea:
506
+ return new r();
507
+ case ta:
508
+ case ia:
509
+ return new r(e);
510
+ case na:
511
+ return Wi(e);
512
+ case ra:
513
+ return new r();
514
+ case aa:
515
+ return Ii(e);
516
516
  }
517
517
  }
518
- function co(e) {
519
- return typeof e.constructor == "function" && !Ye(e) ? Gn(Xt(e)) : {};
518
+ function _a(e) {
519
+ return typeof e.constructor == "function" && !tt(e) ? Jn(en(e)) : {};
520
520
  }
521
- var fo = "[object Map]";
522
- function po(e) {
523
- return J(e) && F(e) == fo;
521
+ var ha = "[object Map]";
522
+ function Ta(e) {
523
+ return ee(e) && B(e) == ha;
524
524
  }
525
- var Tt = se && se.isMap, mo = Tt ? Ze(Tt) : po, vo = "[object Set]";
526
- function go(e) {
527
- return J(e) && F(e) == vo;
525
+ var Ot = ce && ce.isMap, $a = Ot ? nt(Ot) : Ta, ba = "[object Set]";
526
+ function Aa(e) {
527
+ return ee(e) && B(e) == ba;
528
528
  }
529
- var $t = se && se.isSet, yo = $t ? Ze($t) : go, _o = 1, ho = 2, bo = 4, Jt = "[object Arguments]", To = "[object Array]", $o = "[object Boolean]", Ao = "[object Date]", wo = "[object Error]", Qt = "[object Function]", So = "[object GeneratorFunction]", Oo = "[object Map]", Co = "[object Number]", en = "[object Object]", Po = "[object RegExp]", Vo = "[object Set]", Eo = "[object String]", Do = "[object Symbol]", xo = "[object WeakMap]", Lo = "[object ArrayBuffer]", Mo = "[object DataView]", Uo = "[object Float32Array]", jo = "[object Float64Array]", Fo = "[object Int8Array]", No = "[object Int16Array]", Bo = "[object Int32Array]", Ro = "[object Uint8Array]", Io = "[object Uint8ClampedArray]", Ho = "[object Uint16Array]", Go = "[object Uint32Array]", w = {};
530
- w[Jt] = w[To] = w[Lo] = w[Mo] = w[$o] = w[Ao] = w[Uo] = w[jo] = w[Fo] = w[No] = w[Bo] = w[Oo] = w[Co] = w[en] = w[Po] = w[Vo] = w[Eo] = w[Do] = w[Ro] = w[Io] = w[Ho] = w[Go] = !0;
531
- w[wo] = w[Qt] = w[xo] = !1;
532
- function Ae(e, t, n, o, f, s) {
533
- var d, p = t & _o, m = t & ho, l = t & bo;
529
+ var Ct = ce && ce.isSet, wa = Ct ? nt(Ct) : Aa, Sa = 1, Pa = 2, Oa = 4, ln = "[object Arguments]", Ca = "[object Array]", Va = "[object Boolean]", Ea = "[object Date]", Da = "[object Error]", on = "[object Function]", La = "[object GeneratorFunction]", Ma = "[object Map]", Ua = "[object Number]", sn = "[object Object]", xa = "[object RegExp]", Na = "[object Set]", Fa = "[object String]", Ba = "[object Symbol]", Ra = "[object WeakMap]", Ha = "[object ArrayBuffer]", ja = "[object DataView]", Ga = "[object Float32Array]", za = "[object Float64Array]", qa = "[object Int8Array]", Ka = "[object Int16Array]", Xa = "[object Int32Array]", Ya = "[object Uint8Array]", Za = "[object Uint8ClampedArray]", Wa = "[object Uint16Array]", Ia = "[object Uint32Array]", A = {};
530
+ A[ln] = A[Ca] = A[Ha] = A[ja] = A[Va] = A[Ea] = A[Ga] = A[za] = A[qa] = A[Ka] = A[Xa] = A[Ma] = A[Ua] = A[sn] = A[xa] = A[Na] = A[Fa] = A[Ba] = A[Ya] = A[Za] = A[Wa] = A[Ia] = !0;
531
+ A[Da] = A[on] = A[Ra] = !1;
532
+ function Ve(e, t, n, r, s, a) {
533
+ var d, f = t & Sa, p = t & Pa, c = t & Oa;
534
534
  if (d !== void 0)
535
535
  return d;
536
- if (!_e(e))
536
+ if (!$e(e))
537
537
  return e;
538
- var v = me(e);
539
- if (v) {
540
- if (d = Na(e), !p)
541
- return zn(e, d);
538
+ var g = ye(e);
539
+ if (g) {
540
+ if (d = Xi(e), !f)
541
+ return Qn(e, d);
542
542
  } else {
543
- var _ = F(e), h = _ == Qt || _ == So;
544
- if (Se(e))
545
- return $a(e, p);
546
- if (_ == en || _ == Jt || h && !f) {
547
- if (d = m || h ? {} : co(e), !p)
548
- return m ? Pa(e, ba(d, e)) : Oa(e, ha(d, e));
543
+ var h = B(e), y = h == on || h == La;
544
+ if (De(e))
545
+ return Ei(e, f);
546
+ if (h == sn || h == ln || y && !s) {
547
+ if (d = p || y ? {} : _a(e), !f)
548
+ return p ? Ni(e, Ci(d, e)) : Ui(e, Oi(d, e));
549
549
  } else {
550
- if (!w[_])
551
- return f ? e : {};
552
- d = uo(e, _, p);
550
+ if (!A[h])
551
+ return s ? e : {};
552
+ d = ya(e, h, f);
553
553
  }
554
554
  }
555
- s || (s = new z());
556
- var $ = s.get(e);
557
- if ($)
558
- return $;
559
- s.set(e, d), yo(e) ? e.forEach(function(V) {
560
- d.add(Ae(V, t, n, V, e, s));
561
- }) : mo(e) && e.forEach(function(V, E) {
562
- d.set(E, Ae(V, t, n, E, e, s));
555
+ a || (a = new X());
556
+ var T = a.get(e);
557
+ if (T)
558
+ return T;
559
+ a.set(e, d), wa(e) ? e.forEach(function(V) {
560
+ d.add(Ve(V, t, n, V, e, a));
561
+ }) : $a(e) && e.forEach(function(V, E) {
562
+ d.set(E, Ve(V, t, n, E, e, a));
563
563
  });
564
- var A = l ? m ? Va : Be : m ? ke : We, T = v ? void 0 : A(e);
565
- return Kn(T || e, function(V, E) {
566
- T && (E = V, V = e[E]), Ft(d, E, Ae(V, t, n, E, e, s));
564
+ var $ = c ? p ? Fi : Xe : p ? it : rt, b = g ? void 0 : $(e);
565
+ return kn(b || e, function(V, E) {
566
+ b && (E = V, V = e[E]), qt(d, E, Ve(V, t, n, E, e, a));
567
567
  }), d;
568
568
  }
569
- var zo = 1, Ko = 4;
570
- function At(e) {
571
- return Ae(e, zo | Ko);
569
+ var Ja = 1, Qa = 4;
570
+ function un(e) {
571
+ return Ve(e, Ja | Qa);
572
572
  }
573
- var qo = "__lodash_hash_undefined__";
574
- function Xo(e) {
575
- return this.__data__.set(e, qo), this;
573
+ var ka = "__lodash_hash_undefined__";
574
+ function el(e) {
575
+ return this.__data__.set(e, ka), this;
576
576
  }
577
- function Yo(e) {
577
+ function tl(e) {
578
578
  return this.__data__.has(e);
579
579
  }
580
- function Ce(e) {
580
+ function Me(e) {
581
581
  var t = -1, n = e == null ? 0 : e.length;
582
- for (this.__data__ = new ne(); ++t < n; )
582
+ for (this.__data__ = new ie(); ++t < n; )
583
583
  this.add(e[t]);
584
584
  }
585
- Ce.prototype.add = Ce.prototype.push = Xo;
586
- Ce.prototype.has = Yo;
587
- function Zo(e, t) {
588
- for (var n = -1, o = e == null ? 0 : e.length; ++n < o; )
585
+ Me.prototype.add = Me.prototype.push = el;
586
+ Me.prototype.has = tl;
587
+ function nl(e, t) {
588
+ for (var n = -1, r = e == null ? 0 : e.length; ++n < r; )
589
589
  if (t(e[n], n, e))
590
590
  return !0;
591
591
  return !1;
592
592
  }
593
- function Wo(e, t) {
593
+ function rl(e, t) {
594
594
  return e.has(t);
595
595
  }
596
- var ko = 1, Jo = 2;
597
- function tn(e, t, n, o, f, s) {
598
- var d = n & ko, p = e.length, m = t.length;
599
- if (p != m && !(d && m > p))
596
+ var il = 1, al = 2;
597
+ function cn(e, t, n, r, s, a) {
598
+ var d = n & il, f = e.length, p = t.length;
599
+ if (f != p && !(d && p > f))
600
600
  return !1;
601
- var l = s.get(e), v = s.get(t);
602
- if (l && v)
603
- return l == t && v == e;
604
- var _ = -1, h = !0, $ = n & Jo ? new Ce() : void 0;
605
- for (s.set(e, t), s.set(t, e); ++_ < p; ) {
606
- var A = e[_], T = t[_];
607
- if (o)
608
- var V = d ? o(T, A, _, t, e, s) : o(A, T, _, e, t, s);
601
+ var c = a.get(e), g = a.get(t);
602
+ if (c && g)
603
+ return c == t && g == e;
604
+ var h = -1, y = !0, T = n & al ? new Me() : void 0;
605
+ for (a.set(e, t), a.set(t, e); ++h < f; ) {
606
+ var $ = e[h], b = t[h];
607
+ if (r)
608
+ var V = d ? r(b, $, h, t, e, a) : r($, b, h, e, t, a);
609
609
  if (V !== void 0) {
610
610
  if (V)
611
611
  continue;
612
- h = !1;
612
+ y = !1;
613
613
  break;
614
614
  }
615
- if ($) {
616
- if (!Zo(t, function(E, H) {
617
- if (!Wo($, H) && (A === E || f(A, E, n, o, s)))
618
- return $.push(H);
615
+ if (T) {
616
+ if (!nl(t, function(E, z) {
617
+ if (!rl(T, z) && ($ === E || s($, E, n, r, a)))
618
+ return T.push(z);
619
619
  })) {
620
- h = !1;
620
+ y = !1;
621
621
  break;
622
622
  }
623
- } else if (!(A === T || f(A, T, n, o, s))) {
624
- h = !1;
623
+ } else if (!($ === b || s($, b, n, r, a))) {
624
+ y = !1;
625
625
  break;
626
626
  }
627
627
  }
628
- return s.delete(e), s.delete(t), h;
628
+ return a.delete(e), a.delete(t), y;
629
629
  }
630
- function Qo(e) {
630
+ function ll(e) {
631
631
  var t = -1, n = Array(e.size);
632
- return e.forEach(function(o, f) {
633
- n[++t] = [f, o];
632
+ return e.forEach(function(r, s) {
633
+ n[++t] = [s, r];
634
634
  }), n;
635
635
  }
636
- function ei(e) {
636
+ function ol(e) {
637
637
  var t = -1, n = Array(e.size);
638
- return e.forEach(function(o) {
639
- n[++t] = o;
638
+ return e.forEach(function(r) {
639
+ n[++t] = r;
640
640
  }), n;
641
641
  }
642
- var ti = 1, ni = 2, ri = "[object Boolean]", ai = "[object Date]", oi = "[object Error]", ii = "[object Map]", li = "[object Number]", si = "[object RegExp]", ui = "[object Set]", ci = "[object String]", fi = "[object Symbol]", di = "[object ArrayBuffer]", pi = "[object DataView]", wt = Z ? Z.prototype : void 0, je = wt ? wt.valueOf : void 0;
643
- function mi(e, t, n, o, f, s, d) {
642
+ var sl = 1, ul = 2, cl = "[object Boolean]", fl = "[object Date]", dl = "[object Error]", pl = "[object Map]", vl = "[object Number]", ml = "[object RegExp]", gl = "[object Set]", yl = "[object String]", _l = "[object Symbol]", hl = "[object ArrayBuffer]", Tl = "[object DataView]", Vt = J ? J.prototype : void 0, ze = Vt ? Vt.valueOf : void 0;
643
+ function $l(e, t, n, r, s, a, d) {
644
644
  switch (n) {
645
- case pi:
645
+ case Tl:
646
646
  if (e.byteLength != t.byteLength || e.byteOffset != t.byteOffset)
647
647
  return !1;
648
648
  e = e.buffer, t = t.buffer;
649
- case di:
650
- return !(e.byteLength != t.byteLength || !s(new Oe(e), new Oe(t)));
651
- case ri:
652
- case ai:
653
- case li:
654
- return Xe(+e, +t);
655
- case oi:
649
+ case hl:
650
+ return !(e.byteLength != t.byteLength || !a(new Le(e), new Le(t)));
651
+ case cl:
652
+ case fl:
653
+ case vl:
654
+ return et(+e, +t);
655
+ case dl:
656
656
  return e.name == t.name && e.message == t.message;
657
- case si:
658
- case ci:
657
+ case ml:
658
+ case yl:
659
659
  return e == t + "";
660
- case ii:
661
- var p = Qo;
662
- case ui:
663
- var m = o & ti;
664
- if (p || (p = ei), e.size != t.size && !m)
660
+ case pl:
661
+ var f = ll;
662
+ case gl:
663
+ var p = r & sl;
664
+ if (f || (f = ol), e.size != t.size && !p)
665
665
  return !1;
666
- var l = d.get(e);
667
- if (l)
668
- return l == t;
669
- o |= ni, d.set(e, t);
670
- var v = tn(p(e), p(t), o, f, s, d);
671
- return d.delete(e), v;
672
- case fi:
673
- if (je)
674
- return je.call(e) == je.call(t);
666
+ var c = d.get(e);
667
+ if (c)
668
+ return c == t;
669
+ r |= ul, d.set(e, t);
670
+ var g = cn(f(e), f(t), r, s, a, d);
671
+ return d.delete(e), g;
672
+ case _l:
673
+ if (ze)
674
+ return ze.call(e) == ze.call(t);
675
675
  }
676
676
  return !1;
677
677
  }
678
- var vi = 1, gi = Object.prototype, yi = gi.hasOwnProperty;
679
- function _i(e, t, n, o, f, s) {
680
- var d = n & vi, p = Be(e), m = p.length, l = Be(t), v = l.length;
681
- if (m != v && !d)
678
+ var bl = 1, Al = Object.prototype, wl = Al.hasOwnProperty;
679
+ function Sl(e, t, n, r, s, a) {
680
+ var d = n & bl, f = Xe(e), p = f.length, c = Xe(t), g = c.length;
681
+ if (p != g && !d)
682
682
  return !1;
683
- for (var _ = m; _--; ) {
684
- var h = p[_];
685
- if (!(d ? h in t : yi.call(t, h)))
683
+ for (var h = p; h--; ) {
684
+ var y = f[h];
685
+ if (!(d ? y in t : wl.call(t, y)))
686
686
  return !1;
687
687
  }
688
- var $ = s.get(e), A = s.get(t);
689
- if ($ && A)
690
- return $ == t && A == e;
691
- var T = !0;
692
- s.set(e, t), s.set(t, e);
693
- for (var V = d; ++_ < m; ) {
694
- h = p[_];
695
- var E = e[h], H = t[h];
696
- if (o)
697
- var he = d ? o(H, E, h, t, e, s) : o(E, H, h, e, t, s);
698
- if (!(he === void 0 ? E === H || f(E, H, n, o, s) : he)) {
699
- T = !1;
688
+ var T = a.get(e), $ = a.get(t);
689
+ if (T && $)
690
+ return T == t && $ == e;
691
+ var b = !0;
692
+ a.set(e, t), a.set(t, e);
693
+ for (var V = d; ++h < p; ) {
694
+ y = f[h];
695
+ var E = e[y], z = t[y];
696
+ if (r)
697
+ var be = d ? r(z, E, y, t, e, a) : r(E, z, y, e, t, a);
698
+ if (!(be === void 0 ? E === z || s(E, z, n, r, a) : be)) {
699
+ b = !1;
700
700
  break;
701
701
  }
702
- V || (V = h == "constructor");
702
+ V || (V = y == "constructor");
703
703
  }
704
- if (T && !V) {
705
- var ae = e.constructor, oe = t.constructor;
706
- ae != oe && "constructor" in e && "constructor" in t && !(typeof ae == "function" && ae instanceof ae && typeof oe == "function" && oe instanceof oe) && (T = !1);
704
+ if (b && !V) {
705
+ var le = e.constructor, oe = t.constructor;
706
+ le != oe && "constructor" in e && "constructor" in t && !(typeof le == "function" && le instanceof le && typeof oe == "function" && oe instanceof oe) && (b = !1);
707
707
  }
708
- return s.delete(e), s.delete(t), T;
709
- }
710
- var hi = 1, St = "[object Arguments]", Ot = "[object Array]", be = "[object Object]", bi = Object.prototype, Ct = bi.hasOwnProperty;
711
- function Ti(e, t, n, o, f, s) {
712
- var d = me(e), p = me(t), m = d ? Ot : F(e), l = p ? Ot : F(t);
713
- m = m == St ? be : m, l = l == St ? be : l;
714
- var v = m == be, _ = l == be, h = m == l;
715
- if (h && Se(e)) {
716
- if (!Se(t))
708
+ return a.delete(e), a.delete(t), b;
709
+ }
710
+ var Pl = 1, Et = "[object Arguments]", Dt = "[object Array]", Pe = "[object Object]", Ol = Object.prototype, Lt = Ol.hasOwnProperty;
711
+ function Cl(e, t, n, r, s, a) {
712
+ var d = ye(e), f = ye(t), p = d ? Dt : B(e), c = f ? Dt : B(t);
713
+ p = p == Et ? Pe : p, c = c == Et ? Pe : c;
714
+ var g = p == Pe, h = c == Pe, y = p == c;
715
+ if (y && De(e)) {
716
+ if (!De(t))
717
717
  return !1;
718
- d = !0, v = !1;
718
+ d = !0, g = !1;
719
719
  }
720
- if (h && !v)
721
- return s || (s = new z()), d || Gt(e) ? tn(e, t, n, o, f, s) : mi(e, t, m, n, o, f, s);
722
- if (!(n & hi)) {
723
- var $ = v && Ct.call(e, "__wrapped__"), A = _ && Ct.call(t, "__wrapped__");
724
- if ($ || A) {
725
- var T = $ ? e.value() : e, V = A ? t.value() : t;
726
- return s || (s = new z()), f(T, V, n, o, s);
720
+ if (y && !g)
721
+ return a || (a = new X()), d || It(e) ? cn(e, t, n, r, s, a) : $l(e, t, p, n, r, s, a);
722
+ if (!(n & Pl)) {
723
+ var T = g && Lt.call(e, "__wrapped__"), $ = h && Lt.call(t, "__wrapped__");
724
+ if (T || $) {
725
+ var b = T ? e.value() : e, V = $ ? t.value() : t;
726
+ return a || (a = new X()), s(b, V, n, r, a);
727
727
  }
728
728
  }
729
- return h ? (s || (s = new z()), _i(e, t, n, o, f, s)) : !1;
729
+ return y ? (a || (a = new X()), Sl(e, t, n, r, s, a)) : !1;
730
730
  }
731
- function nn(e, t, n, o, f) {
732
- return e === t ? !0 : e == null || t == null || !J(e) && !J(t) ? e !== e && t !== t : Ti(e, t, n, o, nn, f);
731
+ function fn(e, t, n, r, s) {
732
+ return e === t ? !0 : e == null || t == null || !ee(e) && !ee(t) ? e !== e && t !== t : Cl(e, t, n, r, fn, s);
733
733
  }
734
- function Te(e, t) {
735
- return nn(e, t);
734
+ function Re(e, t) {
735
+ return fn(e, t);
736
736
  }
737
- const $i = /* @__PURE__ */ B({
737
+ const Vl = /* @__PURE__ */ H({
738
738
  __name: "entry",
739
739
  props: {
740
740
  minHeight: {}
741
741
  },
742
742
  setup(e) {
743
- const { backgroundColor2: t, highlightColor: n } = qe(), o = N(!1), f = K(() => ({
744
- background: o.value ? n.value : t.value,
743
+ const { backgroundColor2: t, highlightColor: n } = ke(), r = R(!1), s = Y(() => ({
744
+ background: r.value ? n.value : t.value,
745
745
  minHeight: e.minHeight,
746
746
  paddingRight: "4px",
747
747
  marginBottom: "1px",
748
748
  userSelect: "none"
749
- })), s = (d) => {
750
- Dt.emit("propTreeMenu", {
749
+ })), a = (d) => {
750
+ Bt.emit("propTreeMenu", {
751
751
  x: d.clientX,
752
752
  y: d.clientY
753
753
  });
754
754
  };
755
- return (d, p) => {
756
- const m = ue("ripple");
757
- return k((P(), X("div", {
755
+ return (d, f) => {
756
+ const p = fe("ripple");
757
+ return k((C(), W("div", {
758
758
  class: "d-flex justify-space-between align-center cursor-pointer",
759
- style: Ge(f.value),
760
- onContextmenu: R(s, ["prevent"]),
761
- onMouseover: p[0] || (p[0] = (l) => o.value = !0),
762
- onMouseout: p[1] || (p[1] = (l) => o.value = !1)
759
+ style: Ie(s.value),
760
+ onContextmenu: j(a, ["prevent"]),
761
+ onMouseover: f[0] || (f[0] = (c) => r.value = !0),
762
+ onMouseout: f[1] || (f[1] = (c) => r.value = !1)
763
763
  }, [
764
- dn(d.$slots, "default")
764
+ Tn(d.$slots, "default")
765
765
  ], 36)), [
766
- [m]
766
+ [p]
767
767
  ]);
768
768
  };
769
769
  }
770
- }), Ai = /* @__PURE__ */ B({
770
+ }), El = /* @__PURE__ */ H({
771
771
  __name: "menu",
772
772
  setup(e) {
773
- const { t } = Ke(), n = N(0), o = N(0), f = K(() => [n.value, o.value]), s = (l) => {
774
- const v = () => {
773
+ const { t } = Qe(), n = R(0), r = R(0), s = Y(() => [n.value, r.value]), a = (c) => {
774
+ const g = () => {
775
775
  console.log("reset");
776
776
  };
777
- l.push({
777
+ c.push({
778
778
  title: t("x-prop-tree.reset"),
779
- func: v
779
+ func: g
780
780
  });
781
- }, d = K(() => {
782
- const l = [];
783
- return s(l), l;
784
- }), p = (l) => {
785
- n.value = l.x, o.value = l.y;
786
- }, { open: m } = xt("propTreeMenu", p);
787
- return (l, v) => {
788
- const _ = C("v-list-item-title"), h = C("v-list-item"), $ = C("v-list"), A = C("v-menu");
789
- return P(), L(A, {
790
- modelValue: M(m),
791
- "onUpdate:modelValue": v[0] || (v[0] = (T) => Pt(m) ? m.value = T : null),
781
+ }, d = Y(() => {
782
+ const c = [];
783
+ return a(c), c;
784
+ }), f = (c) => {
785
+ n.value = c.x, r.value = c.y;
786
+ }, { open: p } = Rt("propTreeMenu", f);
787
+ return (c, g) => {
788
+ const h = P("v-list-item-title"), y = P("v-list-item"), T = P("v-list"), $ = P("v-menu");
789
+ return C(), U($, {
790
+ modelValue: N(p),
791
+ "onUpdate:modelValue": g[0] || (g[0] = (b) => xt(p) ? p.value = b : null),
792
792
  "location-strategy": "connected",
793
- target: f.value,
793
+ target: s.value,
794
794
  scrim: "transparent"
795
795
  }, {
796
- default: G(() => [
797
- x($, null, {
798
- default: G(() => [
799
- (P(!0), X(Vt, null, pn(d.value, (T, V) => (P(), L(h, {
796
+ default: K(() => [
797
+ M(T, null, {
798
+ default: K(() => [
799
+ (C(!0), W(Nt, null, $n(d.value, (b, V) => (C(), U(y, {
800
800
  key: V,
801
801
  link: "",
802
- onClick: T.func
802
+ onClick: b.func
803
803
  }, {
804
- default: G(() => [
805
- x(_, null, {
806
- default: G(() => [
807
- ze(Pe(T.title), 1)
804
+ default: K(() => [
805
+ M(h, null, {
806
+ default: K(() => [
807
+ Je(xe(b.title), 1)
808
808
  ]),
809
809
  _: 2
810
810
  }, 1024)
@@ -820,8 +820,8 @@ const $i = /* @__PURE__ */ B({
820
820
  };
821
821
  }
822
822
  });
823
- var wi = "M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z", Si = "M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z", re = "M19,13H5V11H19V13Z", Oi = "M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z";
824
- const $e = /* @__PURE__ */ B({
823
+ var Dl = "M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z", Ll = "M8.59,16.58L13.17,12L8.59,7.41L10,6L16,12L10,18L8.59,16.58Z", ae = "M19,13H5V11H19V13Z", Ml = "M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z";
824
+ const Oe = /* @__PURE__ */ H({
825
825
  __name: "title",
826
826
  props: {
827
827
  title: {},
@@ -832,103 +832,217 @@ const $e = /* @__PURE__ */ B({
832
832
  },
833
833
  emits: ["collapse", "create", "delete"],
834
834
  setup(e, { emit: t }) {
835
- const { backgroundColor2: n, highlightColor: o } = qe(), f = t, s = N(!1), d = K(() => ({
836
- background: s.value ? o.value : n.value,
835
+ const { backgroundColor2: n, highlightColor: r } = ke(), s = t, a = R(!1), d = Y(() => ({
836
+ background: a.value ? r.value : n.value,
837
837
  height: "36px",
838
838
  marginBottom: "1px",
839
839
  userSelect: "none"
840
- })), p = () => {
841
- f("collapse", !e.collapse);
842
- }, m = (l) => {
843
- Dt.emit("propTreeMenu", {
844
- x: l.clientX,
845
- y: l.clientY
840
+ })), f = () => {
841
+ s("collapse", !e.collapse);
842
+ }, p = (c) => {
843
+ Bt.emit("propTreeMenu", {
844
+ x: c.clientX,
845
+ y: c.clientY
846
846
  });
847
847
  };
848
- return (l, v) => {
849
- const _ = C("v-icon"), h = C("v-spacer"), $ = ue("ripple");
850
- return k((P(), X("div", {
848
+ return (c, g) => {
849
+ const h = P("v-icon"), y = P("v-spacer"), T = fe("ripple");
850
+ return k((C(), W("div", {
851
851
  class: "d-flex align-center cursor-pointer",
852
- style: Ge(d.value),
853
- onClick: p,
854
- onContextmenu: R(m, ["prevent"]),
855
- onMouseover: v[2] || (v[2] = (A) => s.value = !0),
856
- onMouseout: v[3] || (v[3] = (A) => s.value = !1)
852
+ style: Ie(d.value),
853
+ onClick: f,
854
+ onContextmenu: j(p, ["prevent"]),
855
+ onMouseover: g[2] || (g[2] = ($) => a.value = !0),
856
+ onMouseout: g[3] || (g[3] = ($) => a.value = !1)
857
857
  }, [
858
- x(_, {
858
+ M(h, {
859
859
  class: "mr-1",
860
- icon: l.collapse ? M(Si) : M(wi)
860
+ icon: c.collapse ? N(Ll) : N(Dl)
861
861
  }, null, 8, ["icon"]),
862
- we("span", null, Pe(l.title), 1),
863
- x(h),
864
- l.hasCreate ? (P(), L(_, {
862
+ Ee("span", null, xe(c.title), 1),
863
+ M(y),
864
+ c.hasCreate ? (C(), U(h, {
865
865
  key: 0,
866
866
  class: "mx-3",
867
- icon: M(Oi),
868
- onClick: v[0] || (v[0] = R((A) => f("create"), ["stop"]))
869
- }, null, 8, ["icon"])) : q("", !0),
870
- l.hasDelete ? (P(), L(_, {
867
+ icon: N(Ml),
868
+ onClick: g[0] || (g[0] = j(($) => s("create"), ["stop"]))
869
+ }, null, 8, ["icon"])) : Z("", !0),
870
+ c.hasDelete ? (C(), U(h, {
871
871
  key: 1,
872
872
  class: "mx-3",
873
- icon: M(re),
874
- onClick: v[1] || (v[1] = R((A) => f("delete", l.index), ["stop"]))
875
- }, null, 8, ["icon"])) : q("", !0)
873
+ icon: N(ae),
874
+ onClick: g[1] || (g[1] = j(($) => s("delete", c.index), ["stop"]))
875
+ }, null, 8, ["icon"])) : Z("", !0)
876
876
  ], 36)), [
877
- [$]
877
+ [T]
878
878
  ]);
879
879
  };
880
880
  }
881
- }), Ci = { class: "d-flex justify-space-between align-center" }, Pi = /* @__PURE__ */ B({
881
+ }), Mt = (e) => !(e instanceof Array), Ce = (e) => e instanceof Array, ot = (e) => !(e instanceof Array), Ue = (e) => e instanceof Array, Ul = [
882
+ ["basic", "id"],
883
+ ["basic", "name"]
884
+ ], xl = (e) => (Ul.forEach((t) => {
885
+ if (Re(e, t))
886
+ return !0;
887
+ }), !1), He = (e, t, n, r, s, a, d) => (e = un(e), a !== void 0 ? (e.push(a), d && e.push(t.key)) : e.push(t.key), xl(e), t.ui ? t.array && a === void 0 ? Bl(
888
+ e,
889
+ t,
890
+ n,
891
+ r,
892
+ s,
893
+ a,
894
+ d
895
+ ) : Rl(t, n, r, a, d) : t.array ? Nl(
896
+ e,
897
+ t,
898
+ n,
899
+ r,
900
+ s,
901
+ a,
902
+ d
903
+ ) : Fl(
904
+ e,
905
+ t,
906
+ n,
907
+ r,
908
+ s,
909
+ a,
910
+ d
911
+ )), Nl = (e, t, n, r, s, a, d) => {
912
+ if (t.ui)
913
+ return console.assert(!1, "execPropBranchArray prop ui must be invalid"), !1;
914
+ if (!t.array)
915
+ return console.assert(!1, "execPropBranchArray prop array must be valid"), !1;
916
+ if (!Ue(r.children))
917
+ return console.assert(!1, "execPropBranchArray state children must be array"), !1;
918
+ let f;
919
+ a !== void 0 && !d ? (n[a] instanceof Array || (n[a] = L(t), s == null || s(e, n[a])), f = n[a]) : (n[t.key] instanceof Array || (n[t.key] = L(t), s == null || s(e, n[t.key])), f = n[t.key]), r.change = !1;
920
+ for (let p = 0; p < f.length; p++)
921
+ r.children.push({
922
+ change: !1,
923
+ children: {}
924
+ }), t.children.forEach((c) => {
925
+ if (!Ue(r.children)) {
926
+ console.assert(!1);
927
+ return;
928
+ }
929
+ const g = r.children[p];
930
+ if (!ot(g.children)) {
931
+ console.assert(!1);
932
+ return;
933
+ }
934
+ g.children[c.key] = {
935
+ change: !1,
936
+ children: c.array ? [] : {}
937
+ }, He(
938
+ e,
939
+ c,
940
+ f[p],
941
+ g.children[c.key],
942
+ s,
943
+ p,
944
+ !0
945
+ ) && (g.change = !0), g.change && (r.change = !0);
946
+ });
947
+ return r.change || (r.change = !Re(f, L(t))), r.change;
948
+ }, Fl = (e, t, n, r, s, a, d) => {
949
+ if (t.ui)
950
+ return console.assert(!1, "execPropBranchScalar prop ui must be invalid"), !1;
951
+ if (t.array)
952
+ return console.assert(!1, "execPropBranchScalar prop array must be invalid"), !1;
953
+ if (!ot(r.children))
954
+ return console.assert(!1, "execPropBranchScalar state children must be map"), !1;
955
+ let f;
956
+ a !== void 0 && !d ? (n[a] || (n[a] = {}), f = n[a]) : (n[t.key] || (n[t.key] = {}), f = n[t.key]), r.change = !1;
957
+ for (let p = 0; p < t.children.length; p++) {
958
+ const c = t.children[p];
959
+ r.children[c.key] = {
960
+ change: !1,
961
+ children: c.array ? [] : {}
962
+ }, He(e, c, f, r.children[c.key], s) && (r.change = !0);
963
+ }
964
+ return r.change;
965
+ }, Bl = (e, t, n, r, s, a, d) => {
966
+ if (!t.ui)
967
+ return console.assert(!1, "execPropLeafArray prop ui must be valid"), !1;
968
+ if (!t.array)
969
+ return console.assert(!1, "execPropLeafArray prop aray must be valid"), !1;
970
+ if (!Ue(r.children))
971
+ return console.assert(!1, "execPropLeafArray state children must be array"), !1;
972
+ let f;
973
+ a !== void 0 && !d ? (n[a] instanceof Array || (n[a] = L(t), s == null || s(e, n[a])), f = n[a]) : (n[t.key] instanceof Array || (n[t.key] = L(t), s == null || s(e, n[t.key])), f = n[t.key]), r.change = !1;
974
+ for (let p = 0; p < f.length; p++)
975
+ r.children[p] = {
976
+ change: !1,
977
+ children: {}
978
+ }, He(e, t, f, r.children[p], s, p, !1) && (r.change = !0);
979
+ return r.change || (r.change = !Re(f, L(t))), r.change;
980
+ }, Rl = (e, t, n, r, s) => {
981
+ if (!e.ui)
982
+ return console.assert(!1, "execPropLeafScalar prop ui must be valid"), !1;
983
+ let a;
984
+ return r !== void 0 && !s ? a = t[r] : a = t[e.key], n.change = !Re(a, L(e, !0)), n.change;
985
+ }, Ut = (e, t, n) => {
986
+ if (e.length <= 0 || !t)
987
+ return {};
988
+ const r = {};
989
+ return e.forEach((s) => {
990
+ r[s.key] = {
991
+ change: !1,
992
+ children: s.array ? [] : {}
993
+ }, He([], s, t, r[s.key], n);
994
+ }), r;
995
+ }, Hl = { class: "d-flex justify-space-between align-center" }, jl = /* @__PURE__ */ H({
882
996
  __name: "colorPicker",
883
- props: /* @__PURE__ */ U({
997
+ props: /* @__PURE__ */ F({
884
998
  hasDelete: { type: Boolean, default: !1 },
885
999
  readonly: { type: Boolean, default: !1 }
886
1000
  }, {
887
1001
  modelValue: {},
888
1002
  modelModifiers: {}
889
1003
  }),
890
- emits: /* @__PURE__ */ U(["delete"], ["update:modelValue"]),
1004
+ emits: /* @__PURE__ */ F(["delete"], ["update:modelValue"]),
891
1005
  setup(e, { emit: t }) {
892
- const n = ce(e, "modelValue"), o = t, f = K(() => {
893
- let p = "100%";
894
- return e.hasDelete && (p = "calc(100% - 37px)"), {
895
- width: p
1006
+ const n = de(e, "modelValue"), r = t, s = Y(() => {
1007
+ let f = "100%";
1008
+ return e.hasDelete && (f = "calc(100% - 37px)"), {
1009
+ width: f
896
1010
  };
897
- }), s = K(() => e.readonly), d = N("hexa");
898
- return (p, m) => {
899
- const l = C("v-btn"), v = C("v-icon"), _ = C("v-color-picker"), h = C("v-menu");
900
- return P(), L(h, { "close-on-content-click": !1 }, {
901
- activator: G(({ props: $ }) => [
902
- we("div", Ci, [
903
- we("div", {
904
- style: Ge(f.value)
1011
+ }), a = Y(() => e.readonly), d = R("hexa");
1012
+ return (f, p) => {
1013
+ const c = P("v-btn"), g = P("v-icon"), h = P("v-color-picker"), y = P("v-menu");
1014
+ return C(), U(y, { "close-on-content-click": !1 }, {
1015
+ activator: K(({ props: T }) => [
1016
+ Ee("div", Hl, [
1017
+ Ee("div", {
1018
+ style: Ie(s.value)
905
1019
  }, [
906
- x(l, Et($, {
1020
+ M(c, Ft(T, {
907
1021
  density: "comfortable",
908
1022
  color: n.value,
909
1023
  block: "",
910
- disabled: s.value
1024
+ disabled: a.value
911
1025
  }), {
912
- default: G(() => [
913
- ze(Pe(n.value), 1)
1026
+ default: K(() => [
1027
+ Je(xe(n.value), 1)
914
1028
  ]),
915
1029
  _: 2
916
1030
  }, 1040, ["color", "disabled"])
917
1031
  ], 4),
918
- p.hasDelete ? (P(), L(v, {
1032
+ f.hasDelete ? (C(), U(g, {
919
1033
  key: 0,
920
1034
  class: "mx-2",
921
- icon: M(re),
922
- onClick: m[0] || (m[0] = R((A) => o("delete"), ["stop"]))
923
- }, null, 8, ["icon"])) : q("", !0)
1035
+ icon: N(ae),
1036
+ onClick: p[0] || (p[0] = j(($) => r("delete"), ["stop"]))
1037
+ }, null, 8, ["icon"])) : Z("", !0)
924
1038
  ])
925
1039
  ]),
926
- default: G(() => [
927
- x(_, {
1040
+ default: K(() => [
1041
+ M(h, {
928
1042
  modelValue: n.value,
929
- "onUpdate:modelValue": m[1] || (m[1] = ($) => n.value = $),
1043
+ "onUpdate:modelValue": p[1] || (p[1] = (T) => n.value = T),
930
1044
  mode: d.value,
931
- "onUpdate:mode": m[2] || (m[2] = ($) => d.value = $),
1045
+ "onUpdate:mode": p[2] || (p[2] = (T) => d.value = T),
932
1046
  "show-swatches": "",
933
1047
  "swatches-max-height": "150px"
934
1048
  }, null, 8, ["modelValue", "mode"])
@@ -937,24 +1051,24 @@ const $e = /* @__PURE__ */ B({
937
1051
  });
938
1052
  };
939
1053
  }
940
- }), Vi = /* @__PURE__ */ B({
1054
+ }), Gl = /* @__PURE__ */ H({
941
1055
  __name: "compSelect",
942
1056
  setup(e) {
943
- const t = K(() => "<n/a>"), n = () => {
944
- }, { open: o } = xt("compSelectDlg", n);
945
- return (f, s) => {
946
- const d = C("v-btn"), p = C("v-dialog");
947
- return P(), L(p, {
948
- modelValue: M(o),
949
- "onUpdate:modelValue": s[0] || (s[0] = (m) => Pt(o) ? o.value = m : null)
1057
+ const t = Y(() => "<n/a>"), n = () => {
1058
+ }, { open: r } = Rt("compSelectDlg", n);
1059
+ return (s, a) => {
1060
+ const d = P("v-btn"), f = P("v-dialog");
1061
+ return C(), U(f, {
1062
+ modelValue: N(r),
1063
+ "onUpdate:modelValue": a[0] || (a[0] = (p) => xt(r) ? r.value = p : null)
950
1064
  }, {
951
- activator: G(({ props: m }) => [
952
- x(d, Et(m, {
1065
+ activator: K(({ props: p }) => [
1066
+ M(d, Ft(p, {
953
1067
  density: "comfortable",
954
1068
  block: ""
955
1069
  }), {
956
- default: G(() => [
957
- ze(Pe(t.value), 1)
1070
+ default: K(() => [
1071
+ Je(xe(t.value), 1)
958
1072
  ]),
959
1073
  _: 2
960
1074
  }, 1040)
@@ -963,88 +1077,88 @@ const $e = /* @__PURE__ */ B({
963
1077
  }, 8, ["modelValue"]);
964
1078
  };
965
1079
  }
966
- }), Ei = { class: "d-flex justify-space-between align-center my-2" }, Di = /* @__PURE__ */ B({
1080
+ }), zl = { class: "d-flex justify-space-between align-center my-2" }, ql = /* @__PURE__ */ H({
967
1081
  __name: "multiTypes",
968
- props: /* @__PURE__ */ U({
1082
+ props: /* @__PURE__ */ F({
969
1083
  hasDelete: { type: Boolean, default: !1 },
970
1084
  types: {}
971
1085
  }, {
972
1086
  modelValue: { default: "" },
973
1087
  modelModifiers: {}
974
1088
  }),
975
- emits: /* @__PURE__ */ U(["delete"], ["update:modelValue"]),
1089
+ emits: /* @__PURE__ */ F(["delete"], ["update:modelValue"]),
976
1090
  setup(e, { emit: t }) {
977
- const { t: n } = Ke(), o = ce(e, "modelValue"), f = t, s = N(0), d = K(() => {
978
- const l = [];
979
- return e.types.forEach((v, _) => {
980
- l.push({
981
- title: n(v.name),
982
- value: _
1091
+ const { t: n } = Qe(), r = de(e, "modelValue"), s = t, a = R(0), d = Y(() => {
1092
+ const c = [];
1093
+ return e.types.forEach((g, h) => {
1094
+ c.push({
1095
+ title: n(g.name),
1096
+ value: h
983
1097
  });
984
- }), l;
1098
+ }), c;
985
1099
  });
986
- e.types.some((l, v) => l.validator(o.value) ? (s.value = v, !0) : !1);
987
- const p = K(() => e.types[s.value]);
988
- Fe(p, (l) => {
989
- o.value = l.default;
1100
+ e.types.some((c, g) => c.validator(r.value) ? (a.value = g, !0) : !1);
1101
+ const f = Y(() => e.types[a.value]);
1102
+ qe(f, (c) => {
1103
+ r.value = c.default;
990
1104
  });
991
- const m = N(0);
992
- return mn(() => {
993
- p.value.ui === "pixelInput" ? m.value = gn(o.value) : p.value.ui === "percentInput" && (m.value = yn(o.value));
994
- }), Fe(m, (l) => {
995
- p.value.ui === "pixelInput" ? o.value = l + "px" : p.value.ui === "percentInput" && (o.value = l + "%");
996
- }), (l, v) => {
997
- const _ = C("v-select"), h = C("v-number-input"), $ = C("v-icon"), A = ue("ripple");
998
- return P(), X("div", Ei, [
999
- we("div", null, [
1000
- k(x(_, {
1001
- modelValue: s.value,
1002
- "onUpdate:modelValue": v[0] || (v[0] = (T) => s.value = T),
1105
+ const p = R(0);
1106
+ return bn(() => {
1107
+ f.value.ui === "pixelInput" ? p.value = wn(r.value) : f.value.ui === "percentInput" && (p.value = Sn(r.value));
1108
+ }), qe(p, (c) => {
1109
+ f.value.ui === "pixelInput" ? r.value = c + "px" : f.value.ui === "percentInput" && (r.value = c + "%");
1110
+ }), (c, g) => {
1111
+ const h = P("v-select"), y = P("v-number-input"), T = P("v-icon"), $ = fe("ripple");
1112
+ return C(), W("div", zl, [
1113
+ Ee("div", null, [
1114
+ k(M(h, {
1115
+ modelValue: a.value,
1116
+ "onUpdate:modelValue": g[0] || (g[0] = (b) => a.value = b),
1003
1117
  density: "compact",
1004
1118
  items: d.value,
1005
1119
  "hide-details": "",
1006
1120
  "single-line": ""
1007
1121
  }, null, 8, ["modelValue", "items"]), [
1008
1122
  [
1009
- A,
1123
+ $,
1010
1124
  void 0,
1011
1125
  void 0,
1012
1126
  { stop: !0 }
1013
1127
  ]
1014
1128
  ]),
1015
- p.value.ui === "pixelInput" || p.value.ui === "percentInput" ? k((P(), L(h, {
1129
+ f.value.ui === "pixelInput" || f.value.ui === "percentInput" ? k((C(), U(y, {
1016
1130
  key: 0,
1017
- modelValue: m.value,
1018
- "onUpdate:modelValue": v[1] || (v[1] = (T) => m.value = T),
1131
+ modelValue: p.value,
1132
+ "onUpdate:modelValue": g[1] || (g[1] = (b) => p.value = b),
1019
1133
  density: "compact",
1020
1134
  "control-variant": "stacked",
1021
- precision: p.value.precision,
1022
- min: p.value.min,
1023
- max: p.value.max,
1024
- step: p.value.step,
1135
+ precision: f.value.precision,
1136
+ min: f.value.min,
1137
+ max: f.value.max,
1138
+ step: f.value.step,
1025
1139
  "hide-details": "",
1026
1140
  "single-line": ""
1027
1141
  }, null, 8, ["modelValue", "precision", "min", "max", "step"])), [
1028
1142
  [
1029
- A,
1143
+ $,
1030
1144
  void 0,
1031
1145
  void 0,
1032
1146
  { stop: !0 }
1033
1147
  ]
1034
- ]) : q("", !0)
1148
+ ]) : Z("", !0)
1035
1149
  ]),
1036
- l.hasDelete ? (P(), L($, {
1150
+ c.hasDelete ? (C(), U(T, {
1037
1151
  key: 0,
1038
1152
  class: "mx-2",
1039
- icon: M(re),
1040
- onClick: v[2] || (v[2] = R((T) => f("delete"), ["stop"]))
1041
- }, null, 8, ["icon"])) : q("", !0)
1153
+ icon: N(ae),
1154
+ onClick: g[2] || (g[2] = j((b) => s("delete"), ["stop"]))
1155
+ }, null, 8, ["icon"])) : Z("", !0)
1042
1156
  ]);
1043
1157
  };
1044
1158
  }
1045
- }), xi = { class: "d-flex justify-space-between align-center" }, Li = /* @__PURE__ */ B({
1159
+ }), Kl = { class: "d-flex justify-space-between align-center" }, Xl = /* @__PURE__ */ H({
1046
1160
  __name: "numInput",
1047
- props: /* @__PURE__ */ U({
1161
+ props: /* @__PURE__ */ F({
1048
1162
  hasDelete: { type: Boolean, default: !1 },
1049
1163
  precision: { default: 4 },
1050
1164
  min: { default: () => -1 / 0 },
@@ -1055,44 +1169,44 @@ const $e = /* @__PURE__ */ B({
1055
1169
  modelValue: {},
1056
1170
  modelModifiers: {}
1057
1171
  }),
1058
- emits: /* @__PURE__ */ U(["delete"], ["update:modelValue"]),
1172
+ emits: /* @__PURE__ */ F(["delete"], ["update:modelValue"]),
1059
1173
  setup(e, { emit: t }) {
1060
- const n = ce(e, "modelValue"), o = t;
1061
- return (f, s) => {
1062
- const d = C("v-number-input"), p = C("v-icon"), m = ue("ripple");
1063
- return P(), X("div", xi, [
1064
- k(x(d, {
1174
+ const n = de(e, "modelValue"), r = t;
1175
+ return (s, a) => {
1176
+ const d = P("v-number-input"), f = P("v-icon"), p = fe("ripple");
1177
+ return C(), W("div", Kl, [
1178
+ k(M(d, {
1065
1179
  modelValue: n.value,
1066
- "onUpdate:modelValue": s[0] || (s[0] = (l) => n.value = l),
1180
+ "onUpdate:modelValue": a[0] || (a[0] = (c) => n.value = c),
1067
1181
  density: "compact",
1068
1182
  "control-variant": "stacked",
1069
- precision: f.precision,
1070
- min: f.min,
1071
- max: f.max,
1072
- step: f.step,
1183
+ precision: s.precision,
1184
+ min: s.min,
1185
+ max: s.max,
1186
+ step: s.step,
1073
1187
  "hide-details": "",
1074
1188
  "single-line": "",
1075
- readonly: f.readonly
1189
+ readonly: s.readonly
1076
1190
  }, null, 8, ["modelValue", "precision", "min", "max", "step", "readonly"]), [
1077
1191
  [
1078
- m,
1192
+ p,
1079
1193
  void 0,
1080
1194
  void 0,
1081
1195
  { stop: !0 }
1082
1196
  ]
1083
1197
  ]),
1084
- f.hasDelete ? (P(), L(p, {
1198
+ s.hasDelete ? (C(), U(f, {
1085
1199
  key: 0,
1086
1200
  class: "mx-2",
1087
- icon: M(re),
1088
- onClick: s[1] || (s[1] = R((l) => o("delete"), ["stop"]))
1089
- }, null, 8, ["icon"])) : q("", !0)
1201
+ icon: N(ae),
1202
+ onClick: a[1] || (a[1] = j((c) => r("delete"), ["stop"]))
1203
+ }, null, 8, ["icon"])) : Z("", !0)
1090
1204
  ]);
1091
1205
  };
1092
1206
  }
1093
- }), Mi = { class: "d-flex justify-space-between align-center" }, Ui = /* @__PURE__ */ B({
1207
+ }), Yl = { class: "d-flex justify-space-between align-center" }, Zl = /* @__PURE__ */ H({
1094
1208
  __name: "select",
1095
- props: /* @__PURE__ */ U({
1209
+ props: /* @__PURE__ */ F({
1096
1210
  hasDelete: { type: Boolean, default: !1 },
1097
1211
  readonly: { type: Boolean, default: !1 },
1098
1212
  items: {}
@@ -1100,110 +1214,110 @@ const $e = /* @__PURE__ */ B({
1100
1214
  modelValue: {},
1101
1215
  modelModifiers: {}
1102
1216
  }),
1103
- emits: /* @__PURE__ */ U(["delete"], ["update:modelValue"]),
1217
+ emits: /* @__PURE__ */ F(["delete"], ["update:modelValue"]),
1104
1218
  setup(e, { emit: t }) {
1105
- const n = ce(e, "modelValue"), o = t;
1106
- return (f, s) => {
1107
- const d = C("v-select"), p = C("v-icon"), m = ue("ripple");
1108
- return P(), X("div", Mi, [
1109
- k(x(d, {
1219
+ const n = de(e, "modelValue"), r = t;
1220
+ return (s, a) => {
1221
+ const d = P("v-select"), f = P("v-icon"), p = fe("ripple");
1222
+ return C(), W("div", Yl, [
1223
+ k(M(d, {
1110
1224
  modelValue: n.value,
1111
- "onUpdate:modelValue": s[0] || (s[0] = (l) => n.value = l),
1225
+ "onUpdate:modelValue": a[0] || (a[0] = (c) => n.value = c),
1112
1226
  density: "compact",
1113
- items: f.items,
1227
+ items: s.items,
1114
1228
  "hide-details": "",
1115
1229
  "single-line": "",
1116
- readonly: f.readonly
1230
+ readonly: s.readonly
1117
1231
  }, null, 8, ["modelValue", "items", "readonly"]), [
1118
1232
  [
1119
- m,
1233
+ p,
1120
1234
  void 0,
1121
1235
  void 0,
1122
1236
  { stop: !0 }
1123
1237
  ]
1124
1238
  ]),
1125
- f.hasDelete ? (P(), L(p, {
1239
+ s.hasDelete ? (C(), U(f, {
1126
1240
  key: 0,
1127
1241
  class: "mx-2",
1128
- icon: M(re),
1129
- onClick: s[1] || (s[1] = R((l) => o("delete"), ["stop"]))
1130
- }, null, 8, ["icon"])) : q("", !0)
1242
+ icon: N(ae),
1243
+ onClick: a[1] || (a[1] = j((c) => r("delete"), ["stop"]))
1244
+ }, null, 8, ["icon"])) : Z("", !0)
1131
1245
  ]);
1132
1246
  };
1133
1247
  }
1134
- }), ji = { class: "d-flex justify-space-between align-center" }, Fi = /* @__PURE__ */ B({
1248
+ }), Wl = { class: "d-flex justify-space-between align-center" }, Il = /* @__PURE__ */ H({
1135
1249
  __name: "strInput",
1136
- props: /* @__PURE__ */ U({
1250
+ props: /* @__PURE__ */ F({
1137
1251
  hasDelete: { type: Boolean, default: !1 },
1138
1252
  readonly: { type: Boolean, default: !1 }
1139
1253
  }, {
1140
1254
  modelValue: {},
1141
1255
  modelModifiers: {}
1142
1256
  }),
1143
- emits: /* @__PURE__ */ U(["delete"], ["update:modelValue"]),
1257
+ emits: /* @__PURE__ */ F(["delete"], ["update:modelValue"]),
1144
1258
  setup(e, { emit: t }) {
1145
- const n = ce(e, "modelValue"), o = t;
1146
- return (f, s) => {
1147
- const d = C("v-text-field"), p = C("v-icon"), m = ue("ripple");
1148
- return P(), X("div", ji, [
1149
- k(x(d, {
1259
+ const n = de(e, "modelValue"), r = t;
1260
+ return (s, a) => {
1261
+ const d = P("v-text-field"), f = P("v-icon"), p = fe("ripple");
1262
+ return C(), W("div", Wl, [
1263
+ k(M(d, {
1150
1264
  modelValue: n.value,
1151
- "onUpdate:modelValue": s[0] || (s[0] = (l) => n.value = l),
1265
+ "onUpdate:modelValue": a[0] || (a[0] = (c) => n.value = c),
1152
1266
  density: "compact",
1153
1267
  "hide-details": "",
1154
1268
  "single-line": "",
1155
- readonly: f.readonly
1269
+ readonly: s.readonly
1156
1270
  }, null, 8, ["modelValue", "readonly"]), [
1157
1271
  [
1158
- m,
1272
+ p,
1159
1273
  void 0,
1160
1274
  void 0,
1161
1275
  { stop: !0 }
1162
1276
  ]
1163
1277
  ]),
1164
- f.hasDelete ? (P(), L(p, {
1278
+ s.hasDelete ? (C(), U(f, {
1165
1279
  key: 0,
1166
1280
  class: "mx-2",
1167
- icon: M(re),
1168
- onClick: s[1] || (s[1] = R((l) => o("delete"), ["stop"]))
1169
- }, null, 8, ["icon"])) : q("", !0)
1281
+ icon: N(ae),
1282
+ onClick: a[1] || (a[1] = j((c) => r("delete"), ["stop"]))
1283
+ }, null, 8, ["icon"])) : Z("", !0)
1170
1284
  ]);
1171
1285
  };
1172
1286
  }
1173
- }), Ni = { class: "d-flex justify-space-between align-center" }, Bi = /* @__PURE__ */ B({
1287
+ }), Jl = { class: "d-flex justify-space-between align-center" }, Ql = /* @__PURE__ */ H({
1174
1288
  __name: "switch",
1175
- props: /* @__PURE__ */ U({
1289
+ props: /* @__PURE__ */ F({
1176
1290
  hasDelete: { type: Boolean, default: !1 },
1177
1291
  readonly: { type: Boolean, default: !1 }
1178
1292
  }, {
1179
1293
  modelValue: { type: Boolean },
1180
1294
  modelModifiers: {}
1181
1295
  }),
1182
- emits: /* @__PURE__ */ U(["delete"], ["update:modelValue"]),
1296
+ emits: /* @__PURE__ */ F(["delete"], ["update:modelValue"]),
1183
1297
  setup(e, { emit: t }) {
1184
- const n = ce(e, "modelValue"), o = t;
1185
- return (f, s) => {
1186
- const d = C("v-switch"), p = C("v-icon");
1187
- return P(), X("div", Ni, [
1188
- x(d, {
1298
+ const n = de(e, "modelValue"), r = t;
1299
+ return (s, a) => {
1300
+ const d = P("v-switch"), f = P("v-icon");
1301
+ return C(), W("div", Jl, [
1302
+ M(d, {
1189
1303
  modelValue: n.value,
1190
- "onUpdate:modelValue": s[0] || (s[0] = (m) => n.value = m),
1304
+ "onUpdate:modelValue": a[0] || (a[0] = (p) => n.value = p),
1191
1305
  class: "ml-1",
1192
1306
  density: "compact",
1193
1307
  color: "primary",
1194
1308
  "hide-details": "",
1195
- readonly: f.readonly
1309
+ readonly: s.readonly
1196
1310
  }, null, 8, ["modelValue", "readonly"]),
1197
- f.hasDelete ? (P(), L(p, {
1311
+ s.hasDelete ? (C(), U(f, {
1198
1312
  key: 0,
1199
1313
  class: "mx-2",
1200
- icon: M(re),
1201
- onClick: s[1] || (s[1] = R((m) => o("delete"), ["stop"]))
1202
- }, null, 8, ["icon"])) : q("", !0)
1314
+ icon: N(ae),
1315
+ onClick: a[1] || (a[1] = j((p) => r("delete"), ["stop"]))
1316
+ }, null, 8, ["icon"])) : Z("", !0)
1203
1317
  ]);
1204
1318
  };
1205
1319
  }
1206
- }), Ri = /* @__PURE__ */ B({
1320
+ }), kl = /* @__PURE__ */ H({
1207
1321
  __name: "index",
1208
1322
  props: {
1209
1323
  unique: {},
@@ -1212,178 +1326,160 @@ const $e = /* @__PURE__ */ B({
1212
1326
  },
1213
1327
  emits: ["change"],
1214
1328
  setup(e, { emit: t }) {
1215
- const { t: n } = Ke(), { backgroundColor1: o } = qe(), f = e, s = t, d = N("20px"), p = N("56px"), m = N("200px"), l = (u, r) => {
1216
- A(), s("change", u, r);
1217
- }, v = (u) => typeof u == "object", _ = (u) => u instanceof Array, h = vn({}), $ = N({}), A = () => {
1218
- if (!f.config || !f.object) {
1219
- $.value = {};
1220
- return;
1221
- }
1222
- const u = (a, i, c, g) => {
1223
- if (a = At(a), a.push(i.key), i.ui) {
1224
- if (Te(a, ["basic", "id"]) || Te(a, ["basic", "name"]))
1225
- return !1;
1226
- let D = !Te(j(i), c[i.key]);
1227
- return g.change = D, D;
1228
- } else if (i.array) {
1229
- let D = !Te(j(i), c[i.key]);
1230
- return g.change = D, D;
1231
- } else {
1232
- c[i.key] || (c[i.key] = {});
1233
- let D = !1;
1234
- return i.children.forEach((b) => {
1235
- const O = {
1236
- change: !1,
1237
- children: {}
1238
- };
1239
- g.children[b.key] = O, u(a, b, c[i.key], O) && (D = !0);
1240
- }), g.change = D, D;
1241
- }
1242
- }, r = {};
1243
- f.config.forEach((a) => {
1244
- const i = {
1245
- change: !1,
1246
- children: {}
1247
- };
1248
- r[a.key] = i, u([], a, f.object, i);
1249
- }), $.value = r;
1250
- };
1251
- Fe(
1252
- [() => f.config, () => f.object],
1329
+ const { t: n } = Qe(), { backgroundColor1: r } = ke(), s = e, a = t, d = R("20px"), f = R("56px"), p = R("200px"), c = An({}), g = R({});
1330
+ qe(
1331
+ [() => s.config, () => s.object],
1253
1332
  () => {
1254
- A();
1333
+ g.value = Ut(
1334
+ s.config,
1335
+ s.object,
1336
+ (u, i) => {
1337
+ a("change", u, i);
1338
+ }
1339
+ );
1255
1340
  },
1256
1341
  { immediate: !0 }
1257
1342
  );
1258
- const T = (u) => {
1259
- let r, a = $.value;
1260
- return u.forEach((i) => {
1261
- if (r = a[i], !r)
1262
- return console.assert(!1, "isPropChanged unpkg failed", u), !1;
1263
- a = r.children;
1264
- }), (r == null ? void 0 : r.change) ?? !1;
1265
- }, V = (u, r, a, i) => {
1266
- let c = n(r.name);
1267
- return i === void 0 && T(u) && (c += " *"), y(
1268
- $i,
1343
+ const h = (u) => {
1344
+ let i, l = g.value;
1345
+ return u.forEach((o) => {
1346
+ let v;
1347
+ if (typeof o == "string" ? ot(l) && (v = l[o]) : Ue(l) && (v = l[o]), !v)
1348
+ return console.assert(!1, `isPropChanged unpkg failed keys=${u}`), !1;
1349
+ i = v, l = v.children;
1350
+ }), (i == null ? void 0 : i.change) ?? !1;
1351
+ }, y = (u, i) => {
1352
+ g.value = Ut(s.config, s.object), a("change", u, i);
1353
+ }, T = (u, i, l) => {
1354
+ let o = n(i.name);
1355
+ return h(u) && (o += " *"), _(
1356
+ Vl,
1269
1357
  {
1270
- minHeight: p.value
1358
+ minHeight: f.value
1271
1359
  },
1272
1360
  () => [
1273
- y("span", { class: "ml-1", innerHTML: c }),
1274
- y("div", { style: { width: m.value } }, a)
1361
+ _("span", { class: "ml-1", innerHTML: o }),
1362
+ _("div", { style: { width: p.value } }, l)
1275
1363
  ]
1276
1364
  );
1277
- }, E = (u, r, a, i, c) => {
1278
- if (r.ui !== "dummy")
1279
- return console.assert(!1), y("div", "renderUiDummy prop ui must be dummy");
1280
- i ? (typeof a[r.key] != typeof r.default && (a[r.key] = j(r, !0)), l(c !== void 0 ? u.slice(0, -1) : u, a[r.key])) : c !== void 0 ? (typeof a[c] != typeof r.default && (a[c] = j(r, !0)), l(u, a[c])) : (typeof a[r.key] != typeof r.default && (a[r.key] = j(r, !0)), l(u, a[r.key]));
1281
- }, H = (u, r, a, i, c) => r.ui !== "strInput" ? (console.assert(!1), y("div", "renderUiStrInput prop ui must be strInput")) : y(Fi, {
1282
- modelValue: r.static ? r.value : ie(u, r, a, i, c),
1283
- "onUpdate:modelValue": (g) => {
1284
- r.static || le(u, r, a, g, i, c);
1365
+ }, $ = (u, i, l, o, v) => {
1366
+ if (i.ui !== "dummy")
1367
+ return console.assert(!1), _("div", "renderUiDummy prop ui must be dummy");
1368
+ if (o !== void 0 && !v) {
1369
+ const m = L(i, !0);
1370
+ typeof l[o] != typeof m && (l[o] = m, y(u, l[o]));
1371
+ } else {
1372
+ const m = L(i);
1373
+ typeof l[i.key] != typeof m && (l[i.key] = m, y(u, l[i.key]));
1374
+ }
1375
+ }, b = (u, i, l, o, v) => i.ui !== "strInput" ? (console.assert(!1), _("div", "renderUiStrInput prop ui must be strInput")) : _(Il, {
1376
+ modelValue: i.static ? i.value : se(u, i, l, o, v),
1377
+ "onUpdate:modelValue": (m) => {
1378
+ i.static || ue(u, i, l, m, o, v);
1285
1379
  },
1286
- hasDelete: !i && c !== void 0,
1380
+ hasDelete: o !== void 0 && !v,
1287
1381
  onDelete: () => {
1288
- i || c === void 0 || (a.splice(c, 1), l(u, a));
1382
+ o === void 0 || v || (l.splice(o, 1), y(u.slice(0, -1), l));
1289
1383
  },
1290
- readonly: r.static || r.readonly
1291
- }), he = (u, r, a, i, c) => r.ui !== "numInput" ? (console.assert(!1), y("div", "renderUiNumInput prop ui must be numInput")) : y(Li, {
1292
- modelValue: ie(u, r, a, i, c),
1293
- "onUpdate:modelValue": (g) => {
1294
- le(u, r, a, g, i, c);
1384
+ readonly: i.static || i.readonly
1385
+ }), V = (u, i, l, o, v) => i.ui !== "numInput" ? (console.assert(!1), _("div", "renderUiNumInput prop ui must be numInput")) : _(Xl, {
1386
+ modelValue: se(u, i, l, o, v),
1387
+ "onUpdate:modelValue": (m) => {
1388
+ ue(u, i, l, m, o, v);
1295
1389
  },
1296
- hasDelete: !i && c !== void 0,
1390
+ hasDelete: o !== void 0 && !v,
1297
1391
  onDelete: () => {
1298
- i || c === void 0 || (a.splice(c, 1), l(u, a));
1392
+ o === void 0 || v || (l.splice(o, 1), y(u.slice(0, -1), l));
1299
1393
  },
1300
- readonly: r.readonly
1301
- }), ae = (u, r, a, i, c) => r.ui !== "switch" ? (console.assert(!1), y("div", "renderUiSwitch prop ui must be switch")) : y(Bi, {
1302
- modelValue: ie(u, r, a, i, c),
1303
- "onUpdate:modelValue": (g) => {
1304
- le(u, r, a, g, i, c);
1394
+ readonly: i.readonly
1395
+ }), E = (u, i, l, o, v) => i.ui !== "switch" ? (console.assert(!1), _("div", "renderUiSwitch prop ui must be switch")) : _(Ql, {
1396
+ modelValue: se(u, i, l, o, v),
1397
+ "onUpdate:modelValue": (m) => {
1398
+ ue(u, i, l, m, o, v);
1305
1399
  },
1306
- hasDelete: !i && c !== void 0,
1400
+ hasDelete: o !== void 0 && !v,
1307
1401
  onDelete: () => {
1308
- i || c === void 0 || (a.splice(c, 1), l(u, a));
1402
+ o === void 0 || v || (l.splice(o, 1), y(u.slice(0, 1), l));
1309
1403
  },
1310
- readonly: r.readonly
1311
- }), oe = (u, r, a, i, c) => r.ui !== "select" ? (console.assert(!1), y("div", "renderUiSelect prop ui must be select")) : y(Ui, {
1312
- modelValue: ie(u, r, a, i, c),
1313
- "onUpdate:modelValue": (g) => {
1314
- le(u, r, a, g, i, c);
1404
+ readonly: i.readonly
1405
+ }), z = (u, i, l, o, v) => i.ui !== "select" ? (console.assert(!1), _("div", "renderUiSelect prop ui must be select")) : _(Zl, {
1406
+ modelValue: se(u, i, l, o, v),
1407
+ "onUpdate:modelValue": (m) => {
1408
+ ue(u, i, l, m, o, v);
1315
1409
  },
1316
- hasDelete: !i && c !== void 0,
1410
+ hasDelete: o !== void 0 && !v,
1317
1411
  onDelete: () => {
1318
- i || c === void 0 || (a.splice(c, 1), l(u, a));
1412
+ o === void 0 || v || (l.splice(o, 1), y(u.slice(0, -1), l));
1319
1413
  },
1320
1414
  items: (() => {
1321
- const g = [];
1322
- return r.items.forEach(({ title: D, value: b }) => {
1323
- g.push({
1324
- title: n(D),
1325
- value: b
1415
+ const m = [];
1416
+ return i.items.forEach(({ title: O, value: q }) => {
1417
+ m.push({
1418
+ title: n(O),
1419
+ value: q
1326
1420
  });
1327
- }), g;
1421
+ }), m;
1328
1422
  })(),
1329
- readonly: r.readonly
1330
- }), rn = (u, r, a, i, c) => r.ui !== "colorPicker" ? (console.assert(!1), y("div", "renderUiColorPicker prop ui must be colorPicker")) : y(Pi, {
1331
- modelValue: ie(u, r, a, i, c),
1332
- "onUpdate:modelValue": (g) => {
1333
- le(u, r, a, g, i, c);
1423
+ readonly: i.readonly
1424
+ }), be = (u, i, l, o, v) => i.ui !== "colorPicker" ? (console.assert(!1), _("div", "renderUiColorPicker prop ui must be colorPicker")) : _(jl, {
1425
+ modelValue: se(u, i, l, o, v),
1426
+ "onUpdate:modelValue": (m) => {
1427
+ ue(u, i, l, m, o, v);
1334
1428
  },
1335
- hasDelete: !i && c !== void 0,
1429
+ hasDelete: o !== void 0 && !v,
1336
1430
  onDelete: () => {
1337
- i || c === void 0 || (a.splice(c, 1), l(u, a));
1431
+ o === void 0 || v || (l.splice(o, 1), y(u.slice(0, -1), l));
1338
1432
  },
1339
- readonly: r.readonly
1340
- }), an = (u, r, a, i, c) => r.ui !== "multiTypes" ? (console.assert(!1), y("div", "renderUiMultiTypes prop ui must be multiTypes")) : y(Di, {
1341
- modelValue: ie(u, r, a, i, c),
1342
- "onUpdate:modelValue": (g) => {
1343
- le(u, r, a, g, i, c);
1433
+ readonly: i.readonly
1434
+ }), le = (u, i, l, o, v) => i.ui !== "multiTypes" ? (console.assert(!1), _("div", "renderUiMultiTypes prop ui must be multiTypes")) : _(ql, {
1435
+ modelValue: se(u, i, l, o, v),
1436
+ "onUpdate:modelValue": (m) => {
1437
+ ue(u, i, l, m, o, v);
1344
1438
  },
1345
- hasDelete: !i && c !== void 0,
1439
+ hasDelete: o !== void 0 && !v,
1346
1440
  onDelete: () => {
1347
- i || c === void 0 || (a.splice(c, 1), l(u, a));
1441
+ o === void 0 || v || (l.splice(o, 1), y(u.slice(0, -1), l));
1348
1442
  },
1349
- types: r.types
1350
- }), on = (u, r, a, i, c) => r.ui !== "compSelect" ? (console.assert(!1), y("div", "renderUiCompSelect prop ui must be compSelect")) : (console.log(u, r, a, i, c), y(Vi, {})), ie = (u, r, a, i, c) => i ? (typeof a[r.key] != typeof r.default && (a[r.key] = j(r, !0), l(c !== void 0 ? u.slice(0, -1) : u, a[r.key])), a[r.key]) : c !== void 0 ? (typeof a[c] != typeof r.default && (a[c] = j(r, !0), l(u, a[c])), a[c]) : (typeof a[r.key] != typeof r.default && (a[r.key] = j(r, !0), l(u, a[r.key])), a[r.key]), le = (u, r, a, i, c, g) => {
1351
- if (typeof i != typeof r.default) {
1443
+ types: i.types
1444
+ }), oe = (u, i, l, o, v) => i.ui !== "compSelect" ? (console.assert(!1), _("div", "renderUiCompSelect prop ui must be compSelect")) : (console.log(u, i, l, o, v), _(Gl, {})), se = (u, i, l, o, v) => {
1445
+ const m = L(i, !0);
1446
+ return o !== void 0 && !v ? (typeof l[o] != typeof m && (l[o] = m, y(u, l[o])), l[o]) : (typeof l[i.key] != typeof m && (l[i.key] = m, y(u, l[i.key])), l[i.key]);
1447
+ }, ue = (u, i, l, o, v, m) => {
1448
+ const O = L(i, !0);
1449
+ if (typeof o != typeof O) {
1352
1450
  console.assert(!1);
1353
1451
  return;
1354
1452
  }
1355
- if (c) {
1356
- if (i === a[r.key])
1357
- return;
1358
- a[r.key] = i, l(g !== void 0 ? u.slice(0, -1) : u, a[r.key]);
1359
- } else if (g !== void 0) {
1360
- if (i === a[g])
1361
- return;
1362
- a[g] = i, l(u, a[g]);
1363
- } else {
1364
- if (i === a[r.key])
1365
- return;
1366
- a[r.key] = i, l(u, a[r.key]);
1367
- }
1368
- }, et = (u, r, a, i) => (u = At(u), u.push(r.key), r.ui ? r.array ? un(u, r, a, i) : xe(u, r, a) : r.array ? ln(u, r, a, i) : sn(u, r, a, i)), ln = (u, r, a, i) => {
1369
- if (r.ui)
1370
- return console.assert(!1), y("div", "renderBranchArray prop ui must be invalid");
1371
- if (!r.array)
1372
- return console.assert(!1), y("div", "renderBranchArray prop array must be valid");
1373
- a[r.key] instanceof Array || (a[r.key] = j(r), l(u, a[r.key]));
1374
- let c = n(r.name);
1375
- T(u) && (c += " *");
1376
- const g = y($e, {
1377
- title: c,
1378
- collapse: i.collapse,
1453
+ v !== void 0 && !m ? o !== l[v] && (l[v] = o, y(u, l[v])) : o !== l[i.key] && (l[i.key] = o, y(u, l[i.key]));
1454
+ }, Ae = (u, i, l, o, v, m) => (u = un(u), v !== void 0 ? (u.push(v), m && u.push(i.key)) : u.push(i.key), i.ui ? i.array && v === void 0 ? vn(u, i, l, o, v, m) : mn(u, i, l, v, m) : i.array ? dn(u, i, l, o, v, m) : pn(
1455
+ u,
1456
+ i,
1457
+ l,
1458
+ o,
1459
+ v,
1460
+ m
1461
+ )), dn = (u, i, l, o, v, m) => {
1462
+ if (i.ui)
1463
+ return console.assert(!1), _("div", "renderBranchArray prop ui must be invalid");
1464
+ if (!i.array)
1465
+ return console.assert(!1), _("div", "renderBranchArray prop array must be valid");
1466
+ if (!o)
1467
+ return console.assert(!1), _("div", "renderBranchArray branch must be valid");
1468
+ let O;
1469
+ v !== void 0 && !m ? (l[v] instanceof Array || (l[v] = L(i), y(u, l[i.key])), O = l[v]) : (l[i.key] instanceof Array || (l[i.key] = L(i), y(u, l[i.key])), O = l[i.key]);
1470
+ let q = n(i.name);
1471
+ h(u) && (q += " *");
1472
+ const pe = _(Oe, {
1473
+ title: q,
1474
+ collapse: o.collapse,
1379
1475
  hasCreate: !0,
1380
- onCollapse: (b) => {
1381
- i.collapse = b;
1476
+ onCollapse: (w) => {
1477
+ o.collapse = w;
1382
1478
  },
1383
1479
  onCreate: () => {
1384
- a[r.key].push({}), l(u, a[r.key]);
1480
+ O.push({}), y(u, O);
1385
1481
  }
1386
- }), D = y(
1482
+ }), x = _(
1387
1483
  "div",
1388
1484
  {
1389
1485
  style: {
@@ -1391,44 +1487,40 @@ const $e = /* @__PURE__ */ B({
1391
1487
  }
1392
1488
  },
1393
1489
  (() => {
1394
- const b = [];
1395
- for (let O = 0; O < a[r.key].length; O++) {
1396
- if (!_(i.children)) {
1490
+ const w = [];
1491
+ for (let D = 0; D < O.length; D++) {
1492
+ if (!Ce(o.children)) {
1397
1493
  console.assert(!1);
1398
1494
  break;
1399
1495
  }
1400
- i.children[O] || i.children.push({
1496
+ o.children[D] || o.children.push({
1401
1497
  collapse: !0,
1402
1498
  children: {}
1403
1499
  });
1404
- const fe = y($e, {
1405
- title: n("x-prop-tree.entry"),
1406
- collapse: i.children[O].collapse,
1500
+ let we = n("x-prop-tree.entry");
1501
+ h([...u, D]) && (we += " *");
1502
+ const yn = _(Oe, {
1503
+ title: we,
1504
+ collapse: o.children[D].collapse,
1407
1505
  hasDelete: !0,
1408
- index: O,
1409
- onCollapse: (W) => {
1410
- if (!(i.children instanceof Array)) {
1411
- console.assert(
1412
- !1,
1413
- "renderBranchArray dir children must be Array"
1414
- );
1506
+ index: D,
1507
+ onCollapse: (Q) => {
1508
+ if (!Ce(o.children)) {
1509
+ console.assert(!1);
1415
1510
  return;
1416
1511
  }
1417
- i.children[O].collapse = W;
1512
+ o.children[D].collapse = Q;
1418
1513
  },
1419
- onDelete: (W) => {
1420
- if (!(i.children instanceof Array)) {
1421
- console.assert(
1422
- !1,
1423
- "renderBranchArray dir children must be Array"
1424
- );
1514
+ onDelete: (Q) => {
1515
+ if (!Ce(o.children)) {
1516
+ console.assert(!1);
1425
1517
  return;
1426
1518
  }
1427
- i.children.splice(W, 1), a[r.key].splice(W, 1), l(u, a[r.key]);
1519
+ o.children.splice(Q, 1), O.splice(Q, 1), y(u, O);
1428
1520
  }
1429
1521
  });
1430
- b.push(fe);
1431
- const Le = y(
1522
+ w.push(yn);
1523
+ const _n = _(
1432
1524
  "div",
1433
1525
  {
1434
1526
  style: {
@@ -1436,27 +1528,39 @@ const $e = /* @__PURE__ */ B({
1436
1528
  }
1437
1529
  },
1438
1530
  (() => {
1439
- const W = [];
1440
- return r.children.forEach((tt) => {
1441
- if (!tt.ui)
1531
+ const Q = [];
1532
+ return i.children.forEach((ve) => {
1533
+ if (!Ce(o.children)) {
1534
+ console.assert(!1);
1535
+ return;
1536
+ }
1537
+ const Se = o.children[D];
1538
+ if (!Mt(Se.children)) {
1539
+ console.assert(!1);
1442
1540
  return;
1443
- const fn = xe(
1541
+ }
1542
+ Se.children[ve.key] || (Se.children[ve.key] = {
1543
+ collapse: !0,
1544
+ children: ve.array ? [] : {}
1545
+ });
1546
+ const hn = Ae(
1444
1547
  u,
1445
- tt,
1446
- a[r.key][O],
1447
- !0,
1448
- O
1548
+ ve,
1549
+ O[D],
1550
+ Se.children[ve.key],
1551
+ D,
1552
+ !0
1449
1553
  );
1450
- W.push(fn);
1451
- }), W;
1554
+ Q.push(hn);
1555
+ }), Q;
1452
1556
  })()
1453
1557
  );
1454
- i.children[O].collapse || b.push(Le);
1558
+ o.children[D].collapse || w.push(_n);
1455
1559
  }
1456
- return b;
1560
+ return w;
1457
1561
  })()
1458
1562
  );
1459
- return y(
1563
+ return _(
1460
1564
  "div",
1461
1565
  {
1462
1566
  style: {
@@ -1464,24 +1568,30 @@ const $e = /* @__PURE__ */ B({
1464
1568
  }
1465
1569
  },
1466
1570
  (() => {
1467
- const b = [];
1468
- return b.push(g), i.collapse || b.push(D), b;
1571
+ const w = [];
1572
+ return w.push(pe), o.collapse || w.push(x), w;
1469
1573
  })()
1470
1574
  );
1471
- }, sn = (u, r, a, i) => {
1472
- if (r.ui)
1473
- return console.assert(!1), y("div", "renderBranchScalar prop ui must be invalid");
1474
- if (r.array)
1475
- return console.assert(!1), y("div", "renderBranchScalar prop array must be invalid");
1476
- let c = n(r.name);
1477
- T(u) && (c += " *");
1478
- const g = y($e, {
1479
- title: c,
1480
- collapse: i.collapse,
1481
- onCollapse: (b) => {
1482
- i.collapse = b;
1575
+ }, pn = (u, i, l, o, v, m) => {
1576
+ if (i.ui)
1577
+ return console.assert(!1), _("div", "renderBranchScalar prop ui must be invalid");
1578
+ if (i.array)
1579
+ return console.assert(!1), _("div", "renderBranchScalar prop array must be invalid");
1580
+ if (!o)
1581
+ return console.assert(!1), _("div", "renderBranchScalar branch must be valid");
1582
+ let O = n(i.name);
1583
+ h(u) && (O += " *");
1584
+ const q = _(Oe, {
1585
+ title: O,
1586
+ collapse: o.collapse,
1587
+ onCollapse: (x) => {
1588
+ o.collapse = x;
1589
+ },
1590
+ hasDelete: v !== void 0 && !m,
1591
+ onDelete: () => {
1592
+ v === void 0 || m || (l.splice(v, 1), y(u.slice(0, -1), l));
1483
1593
  }
1484
- }), D = y(
1594
+ }), pe = _(
1485
1595
  "div",
1486
1596
  {
1487
1597
  style: {
@@ -1489,30 +1599,27 @@ const $e = /* @__PURE__ */ B({
1489
1599
  }
1490
1600
  },
1491
1601
  (() => {
1492
- const b = [];
1493
- return r.children.forEach((O) => {
1494
- if (!v(i.children)) {
1602
+ const x = [];
1603
+ return i.children.forEach((w) => {
1604
+ if (!Mt(o.children)) {
1495
1605
  console.assert(!1);
1496
1606
  return;
1497
1607
  }
1498
- if (!i.children[O.key]) {
1499
- const Le = !O.ui && O.array;
1500
- i.children[O.key] = {
1501
- collapse: !0,
1502
- children: Le ? [] : {}
1503
- };
1504
- }
1505
- const fe = et(
1608
+ o.children[w.key] || (o.children[w.key] = {
1609
+ collapse: !0,
1610
+ children: !w.ui && w.array ? [] : {}
1611
+ });
1612
+ const D = Ae(
1506
1613
  u,
1507
- O,
1508
- (typeof a[r.key] != "object" && (a[r.key] = {}, l(u, a[r.key])), a[r.key]),
1509
- i.children[O.key]
1614
+ w,
1615
+ (typeof l[i.key] != "object" && (l[i.key] = {}, y(u, l[i.key])), l[i.key]),
1616
+ o.children[w.key]
1510
1617
  );
1511
- b.push(fe);
1512
- }), b;
1618
+ x.push(D);
1619
+ }), x;
1513
1620
  })()
1514
1621
  );
1515
- return y(
1622
+ return _(
1516
1623
  "div",
1517
1624
  {
1518
1625
  style: {
@@ -1520,29 +1627,32 @@ const $e = /* @__PURE__ */ B({
1520
1627
  }
1521
1628
  },
1522
1629
  (() => {
1523
- const b = [];
1524
- return b.push(g), i.collapse || b.push(D), b;
1630
+ const x = [];
1631
+ return x.push(q), o.collapse || x.push(pe), x;
1525
1632
  })()
1526
1633
  );
1527
- }, un = (u, r, a, i) => {
1528
- if (!r.ui)
1529
- return console.assert(!1), y("div", "renderLeafArray prop ui must be valid");
1530
- if (!r.array)
1531
- return console.assert(!1), y("div", "renderLeafArray prop array must be valid");
1532
- a[r.key] instanceof Array || (a[r.key] = j(r), l(u, a[r.key]));
1533
- let c = n(r.name);
1534
- T(u) && (c += " *");
1535
- const g = y($e, {
1536
- title: c,
1537
- collapse: i.collapse,
1634
+ }, vn = (u, i, l, o, v, m) => {
1635
+ if (!i.ui)
1636
+ return console.assert(!1), _("div", "renderLeafArray prop ui must be valid");
1637
+ if (!i.array)
1638
+ return console.assert(!1), _("div", "renderLeafArray prop array must be valid");
1639
+ if (!o)
1640
+ return console.assert(!1), _("div", "renderLeafArray branch must be valid");
1641
+ let O;
1642
+ v !== void 0 && !m ? (l[v] instanceof Array || (l[v] = L(i), y(u, l[v])), O = l[v]) : (l[i.key] instanceof Array || (l[i.key] = L(i), y(u, l[i.key])), O = l[i.key]);
1643
+ let q = n(i.name);
1644
+ h(u) && (q += " *");
1645
+ const pe = _(Oe, {
1646
+ title: q,
1647
+ collapse: o.collapse,
1538
1648
  hasCreate: !0,
1539
- onCollapse: (b) => {
1540
- i.collapse = b;
1649
+ onCollapse: (w) => {
1650
+ o.collapse = w;
1541
1651
  },
1542
1652
  onCreate: () => {
1543
- a[r.key].push(j(r, !0)), l(u, a[r.key]);
1653
+ O.push(L(i, !0)), y(u, O);
1544
1654
  }
1545
- }), D = y(
1655
+ }), x = _(
1546
1656
  "div",
1547
1657
  {
1548
1658
  style: {
@@ -1550,15 +1660,15 @@ const $e = /* @__PURE__ */ B({
1550
1660
  }
1551
1661
  },
1552
1662
  (() => {
1553
- const b = [];
1554
- for (let O = 0; O < a[r.key].length; O++) {
1555
- const fe = xe(u, r, a[r.key], !1, O);
1556
- b.push(fe);
1663
+ const w = [];
1664
+ for (let D = 0; D < O.length; D++) {
1665
+ const we = Ae(u, i, O, void 0, D, !1);
1666
+ w.push(we);
1557
1667
  }
1558
- return b;
1668
+ return w;
1559
1669
  })()
1560
1670
  );
1561
- return y(
1671
+ return _(
1562
1672
  "div",
1563
1673
  {
1564
1674
  style: {
@@ -1566,51 +1676,65 @@ const $e = /* @__PURE__ */ B({
1566
1676
  }
1567
1677
  },
1568
1678
  (() => {
1569
- const b = [];
1570
- return b.push(g), i.collapse || b.push(D), b;
1679
+ const w = [];
1680
+ return w.push(pe), o.collapse || w.push(x), w;
1571
1681
  })()
1572
1682
  );
1573
- }, xe = (u, r, a, i, c) => {
1574
- if (!r.ui)
1575
- return console.assert(!1), y("div", "renderLeafScalar prop ui must be valid");
1576
- let g;
1577
- return r.ui === "dummy" ? g = E(u, r, a, i, c) : r.ui === "strInput" ? g = H(u, r, a, i, c) : r.ui === "numInput" ? g = he(u, r, a, i, c) : r.ui === "switch" ? g = ae(u, r, a, i, c) : r.ui === "select" ? g = oe(u, r, a, i, c) : r.ui === "colorPicker" ? g = rn(u, r, a, i, c) : r.ui === "multiTypes" ? g = an(u, r, a, i, c) : r.ui === "compSelect" ? g = on(u, r, a, i, c) : console.assert(!1, "renderLeafScalar not implemented"), V(u, r, g ? [g] : [], c);
1578
- }, cn = () => y(
1683
+ }, mn = (u, i, l, o, v) => {
1684
+ if (!i.ui)
1685
+ return console.assert(!1), _("div", "renderLeafScalar prop ui must be valid");
1686
+ let m;
1687
+ return i.ui === "dummy" ? m = $(u, i, l, o, v) : i.ui === "strInput" ? m = b(u, i, l, o, v) : i.ui === "numInput" ? m = V(u, i, l, o, v) : i.ui === "switch" ? m = E(u, i, l, o, v) : i.ui === "select" ? m = z(u, i, l, o, v) : i.ui === "colorPicker" ? m = be(u, i, l, o, v) : i.ui === "multiTypes" ? m = le(u, i, l, o, v) : i.ui === "compSelect" ? m = oe(u, i, l, o, v) : console.assert(!1, "renderLeafScalar not implemented"), T(u, i, m ? [m] : []);
1688
+ }, gn = () => _(
1579
1689
  "div",
1580
1690
  {
1581
1691
  class: "text-body-2",
1582
1692
  style: {
1583
- background: o.value
1693
+ background: r.value
1584
1694
  }
1585
1695
  },
1586
1696
  (() => {
1587
1697
  const u = [];
1588
- if (f.unique && f.config && f.object) {
1589
- h[f.unique] || (h[f.unique] = {});
1590
- const r = h[f.unique];
1591
- f.config.forEach((a) => {
1592
- if (!r[a.key]) {
1593
- const c = !a.ui && a.array;
1594
- r[a.key] = {
1595
- collapse: !0,
1596
- children: c ? [] : {}
1597
- };
1598
- }
1599
- const i = et([], a, f.object, r[a.key]);
1600
- u.push(i);
1698
+ if (s.unique && s.config.length > 0 && s.object) {
1699
+ c[s.unique] || (c[s.unique] = {});
1700
+ const i = c[s.unique];
1701
+ s.config.forEach((l) => {
1702
+ i[l.key] || (i[l.key] = {
1703
+ collapse: !0,
1704
+ children: !l.ui && l.array ? [] : {}
1705
+ });
1706
+ const o = Ae([], l, s.object, i[l.key]);
1707
+ u.push(o);
1601
1708
  });
1602
1709
  }
1603
1710
  return u;
1604
1711
  })()
1605
1712
  );
1606
- return (u, r) => (P(), X(Vt, null, [
1607
- x(cn),
1608
- x(Ai)
1713
+ return (u, i) => (C(), W(Nt, null, [
1714
+ M(gn),
1715
+ M(El)
1609
1716
  ], 64));
1610
1717
  }
1611
- }), Ii = (e) => {
1612
- e.component("XPropTree", Ri);
1613
- }, qi = { install: Ii };
1718
+ }), eo = (e) => {
1719
+ e.component("XPropTree", kl);
1720
+ }, to = (e, t, n) => {
1721
+ const r = e[t];
1722
+ return r ? typeof r == "function" ? r() : Promise.resolve(r) : new Promise((s, a) => {
1723
+ (typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(
1724
+ a.bind(
1725
+ null,
1726
+ new Error(
1727
+ "Unknown variable dynamic import: " + t + (t.split("/").length !== n ? ". Note that variables only represent file names one level deep." : "")
1728
+ )
1729
+ )
1730
+ );
1731
+ });
1732
+ };
1733
+ async function lo(e) {
1734
+ return (await to(/* @__PURE__ */ Object.assign({ "./locales/en/index.ts": () => import("./i18n-en-g17k76yy.js"), "./locales/zhHans/index.ts": () => import("./i18n-zhHans-f1nv26or.js") }), `./locales/${e}/index.ts`, 4)).default;
1735
+ }
1736
+ const oo = { install: eo };
1614
1737
  export {
1615
- qi as default
1738
+ oo as default,
1739
+ lo as loadLocaleMessagePropTree
1616
1740
  };