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