x-prop-tree 0.5.11 → 0.5.13

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