x-prop-tree 0.7.1 → 0.7.3
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 +426 -423
- package/dist/{vendor.h3srogcv.js → vendor.ijoehq36.js} +205 -211
- package/package.json +6 -9
package/dist/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { provide as
|
|
1
|
+
import { provide as ce, inject as de, defineComponent as R, ref as O, computed as K, resolveComponent as U, createBlock as B, openBlock as C, unref as L, isRef as ve, withCtx as J, createVNode as D, createElementBlock as H, Fragment as ke, renderList as qe, createTextVNode as Ve, toDisplayString as Q, resolveDirective as le, withDirectives as ee, withModifiers as z, normalizeStyle as I, createElementVNode as F, createCommentVNode as Y, renderSlot as dt, h, mergeModels as W, useModel as G, useId as Me, onUnmounted as we, withKeys as Be, mergeProps as De, watchEffect as Le, watch as re, useTemplateRef as Ke, reactive as ft, onMounted as mt, onBeforeUnmount as vt } from "vue";
|
|
2
2
|
import { useI18n as te } from "vue-i18n";
|
|
3
|
-
import { useViewStack as
|
|
4
|
-
import { c as
|
|
5
|
-
import { getPropDefault as q, pkgs as
|
|
6
|
-
import { globalState as
|
|
7
|
-
import { useDisplay as
|
|
8
|
-
import { XBlockly as
|
|
9
|
-
const
|
|
3
|
+
import { useViewStack as Ce, useColor as ie, eventBus as ue, useSystem as Je, injectDark as pt, injectLocale as yt } from "x-essential-lib";
|
|
4
|
+
import { c as Re, i as Se, r as He, v as gt, d as ht } from "./vendor.ijoehq36.js";
|
|
5
|
+
import { getPropDefault as q, pkgs as Xe, parsePixelStr as _t, parsePercentStr as kt } from "x-runtime-lib";
|
|
6
|
+
import { globalState as Vt } from "x-state-lib";
|
|
7
|
+
import { useDisplay as Ct } from "vuetify";
|
|
8
|
+
import { XBlockly as St } from "x-block-lib";
|
|
9
|
+
const he = (o, s) => {
|
|
10
10
|
let t = { key: "", name: "", children: o };
|
|
11
11
|
return s.forEach((e) => {
|
|
12
12
|
if (typeof e != "number") {
|
|
@@ -21,7 +21,7 @@ const _e = (o, s) => {
|
|
|
21
21
|
t = t.children.find((n) => n.key === e);
|
|
22
22
|
}
|
|
23
23
|
}), t;
|
|
24
|
-
},
|
|
24
|
+
}, me = (o, s) => {
|
|
25
25
|
let t = o;
|
|
26
26
|
return s.forEach((e) => {
|
|
27
27
|
if (!t) {
|
|
@@ -30,7 +30,7 @@ const _e = (o, s) => {
|
|
|
30
30
|
}
|
|
31
31
|
t = t[e];
|
|
32
32
|
}), t;
|
|
33
|
-
},
|
|
33
|
+
}, Ne = (o) => !(o instanceof Array), Pe = (o) => o instanceof Array, Ut = (o, s) => {
|
|
34
34
|
const t = (e, n) => {
|
|
35
35
|
if (e.ui !== n.ui || e.array !== n.array)
|
|
36
36
|
return !1;
|
|
@@ -44,10 +44,10 @@ const _e = (o, s) => {
|
|
|
44
44
|
return !0;
|
|
45
45
|
};
|
|
46
46
|
return t(o, s);
|
|
47
|
-
}, Ae = (o) => !(o instanceof Array),
|
|
47
|
+
}, Ae = (o) => !(o instanceof Array), Ue = (o) => o instanceof Array, $t = [
|
|
48
48
|
["basic", "id"],
|
|
49
49
|
["basic", "name"]
|
|
50
|
-
],
|
|
50
|
+
], xt = (o) => $t.find((s) => Se(o, s)), $e = (o, s, t, e, n, l, i) => (o = Re(o), l !== void 0 ? (o.push(l), i && o.push(s.key)) : o.push(s.key), xt(o) ? (e.change = !1, e.change) : s.ui ? s.array && e.children && Ue(e.children) ? wt(
|
|
51
51
|
o,
|
|
52
52
|
s,
|
|
53
53
|
t,
|
|
@@ -55,7 +55,7 @@ const _e = (o, s) => {
|
|
|
55
55
|
n,
|
|
56
56
|
l,
|
|
57
57
|
i
|
|
58
|
-
) :
|
|
58
|
+
) : Dt(s, t, e, l, i) : s.array ? Pt(
|
|
59
59
|
o,
|
|
60
60
|
s,
|
|
61
61
|
t,
|
|
@@ -63,7 +63,7 @@ const _e = (o, s) => {
|
|
|
63
63
|
n,
|
|
64
64
|
l,
|
|
65
65
|
i
|
|
66
|
-
) :
|
|
66
|
+
) : Mt(
|
|
67
67
|
o,
|
|
68
68
|
s,
|
|
69
69
|
t,
|
|
@@ -71,12 +71,12 @@ const _e = (o, s) => {
|
|
|
71
71
|
n,
|
|
72
72
|
l,
|
|
73
73
|
i
|
|
74
|
-
)),
|
|
74
|
+
)), Pt = (o, s, t, e, n, l, i) => {
|
|
75
75
|
if (s.ui)
|
|
76
76
|
return console.assert(!1, "execPropBranchArray prop ui must be invalid"), !1;
|
|
77
77
|
if (!s.array)
|
|
78
78
|
return console.assert(!1, "execPropBranchArray prop array must be valid"), !1;
|
|
79
|
-
if (!e.children ||
|
|
79
|
+
if (!e.children || !Ue(e.children))
|
|
80
80
|
return console.assert(!1, "execPropBranchArray state children must be array"), !1;
|
|
81
81
|
let a;
|
|
82
82
|
l !== void 0 && !i ? (t[l] instanceof Array || (t[l] = q(s), n == null || n(o, t[l])), a = t[l]) : (t[s.key] instanceof Array || (t[s.key] = q(s), n == null || n(o, t[s.key])), a = t[s.key]), e.change = !1;
|
|
@@ -94,7 +94,7 @@ const _e = (o, s) => {
|
|
|
94
94
|
u.children[g.key] = {
|
|
95
95
|
change: !1,
|
|
96
96
|
children: g.array ? [] : {}
|
|
97
|
-
},
|
|
97
|
+
}, $e(
|
|
98
98
|
o,
|
|
99
99
|
g,
|
|
100
100
|
a[r],
|
|
@@ -105,8 +105,8 @@ const _e = (o, s) => {
|
|
|
105
105
|
) && (u.change = !0), u.change && (e.change = !0);
|
|
106
106
|
});
|
|
107
107
|
}
|
|
108
|
-
return e.change || (e.change = !
|
|
109
|
-
},
|
|
108
|
+
return e.change || (e.change = !Se(a, q(s))), e.change;
|
|
109
|
+
}, Mt = (o, s, t, e, n, l, i) => {
|
|
110
110
|
if (s.ui)
|
|
111
111
|
return console.assert(!1, "execPropBranchScalar prop ui must be invalid"), !1;
|
|
112
112
|
if (s.array)
|
|
@@ -120,15 +120,15 @@ const _e = (o, s) => {
|
|
|
120
120
|
e.children[u.key] = {
|
|
121
121
|
change: !1,
|
|
122
122
|
children: u.array ? [] : {}
|
|
123
|
-
},
|
|
123
|
+
}, $e(o, u, a, e.children[u.key], n) && (e.change = !0);
|
|
124
124
|
}
|
|
125
125
|
return e.change;
|
|
126
|
-
},
|
|
126
|
+
}, wt = (o, s, t, e, n, l, i) => {
|
|
127
127
|
if (!s.ui)
|
|
128
128
|
return console.assert(!1, "execPropLeafArray prop ui must be valid"), !1;
|
|
129
129
|
if (!s.array)
|
|
130
130
|
return console.assert(!1, "execPropLeafArray prop aray must be valid"), !1;
|
|
131
|
-
if (!e.children ||
|
|
131
|
+
if (!e.children || !Ue(e.children))
|
|
132
132
|
return console.assert(!1, "execPropLeafArray state children must be array"), !1;
|
|
133
133
|
let a;
|
|
134
134
|
l !== void 0 && !i ? (t[l] instanceof Array || (t[l] = q(s), n == null || n(o, t[l])), a = t[l]) : (t[s.key] instanceof Array || (t[s.key] = q(s), n == null || n(o, t[s.key])), a = t[s.key]), e.change = !1;
|
|
@@ -136,14 +136,14 @@ const _e = (o, s) => {
|
|
|
136
136
|
e.children[r] = {
|
|
137
137
|
change: !1,
|
|
138
138
|
children: {}
|
|
139
|
-
},
|
|
140
|
-
return e.change || (e.change = !
|
|
141
|
-
},
|
|
139
|
+
}, $e(o, s, a, e.children[r], n, r, !1) && (e.change = !0);
|
|
140
|
+
return e.change || (e.change = !Se(a, q(s))), e.change;
|
|
141
|
+
}, Dt = (o, s, t, e, n) => {
|
|
142
142
|
if (!o.ui)
|
|
143
143
|
return console.assert(!1, "execPropLeafScalar prop ui must be valid"), !1;
|
|
144
144
|
let l;
|
|
145
|
-
return e !== void 0 && !n ? l = s[e] : l = s[o.key], t.change = !
|
|
146
|
-
},
|
|
145
|
+
return e !== void 0 && !n ? l = s[e] : l = s[o.key], t.change = !Se(l, q(o, !0)), t.change;
|
|
146
|
+
}, Oe = (o, s, t, e) => {
|
|
147
147
|
if (s.length <= 0 || !t) {
|
|
148
148
|
o.value = {};
|
|
149
149
|
return;
|
|
@@ -153,79 +153,79 @@ const _e = (o, s) => {
|
|
|
153
153
|
n[l.key] = {
|
|
154
154
|
change: !1,
|
|
155
155
|
children: l.array ? [] : {}
|
|
156
|
-
},
|
|
156
|
+
}, $e([], l, t, n[l.key], e);
|
|
157
157
|
}), o.value = n;
|
|
158
|
-
},
|
|
158
|
+
}, ae = (o, s) => {
|
|
159
159
|
let t = { change: !1, children: o };
|
|
160
160
|
return s.forEach((e) => {
|
|
161
161
|
if (!t)
|
|
162
162
|
return console.assert(!1, `isPropChanged state must be valid keys=${s}`), !1;
|
|
163
163
|
if (!t.children)
|
|
164
164
|
return console.assert(!1, `isPropChanged state must be valid keys=${s}`), !1;
|
|
165
|
-
typeof e == "string" ? Ae(t.children) && (t = t.children[e]) :
|
|
165
|
+
typeof e == "string" ? Ae(t.children) && (t = t.children[e]) : Ue(t.children) && (t = t.children[e]);
|
|
166
166
|
}), (t == null ? void 0 : t.change) ?? !1;
|
|
167
|
-
},
|
|
168
|
-
function
|
|
169
|
-
|
|
167
|
+
}, Fe = Symbol(), ze = Symbol(), Ge = Symbol(), Ye = Symbol(), We = Symbol(), Qe = Symbol();
|
|
168
|
+
function At(o) {
|
|
169
|
+
ce(Fe, o);
|
|
170
170
|
}
|
|
171
|
-
function
|
|
172
|
-
return
|
|
171
|
+
function be() {
|
|
172
|
+
return de(Fe);
|
|
173
173
|
}
|
|
174
|
-
function
|
|
175
|
-
|
|
174
|
+
function bt(o) {
|
|
175
|
+
ce(ze, o);
|
|
176
176
|
}
|
|
177
|
-
function
|
|
178
|
-
return
|
|
177
|
+
function Tt() {
|
|
178
|
+
return de(ze);
|
|
179
179
|
}
|
|
180
|
-
function
|
|
181
|
-
|
|
180
|
+
function Lt(o) {
|
|
181
|
+
ce(Ge, o);
|
|
182
182
|
}
|
|
183
|
-
function
|
|
184
|
-
return
|
|
183
|
+
function Nt() {
|
|
184
|
+
return de(Ge);
|
|
185
185
|
}
|
|
186
|
-
function
|
|
187
|
-
|
|
186
|
+
function Ot(o) {
|
|
187
|
+
ce(Ye, o);
|
|
188
188
|
}
|
|
189
|
-
function
|
|
190
|
-
return
|
|
189
|
+
function qt() {
|
|
190
|
+
return de(Ye);
|
|
191
191
|
}
|
|
192
|
-
function
|
|
193
|
-
|
|
192
|
+
function Bt(o) {
|
|
193
|
+
ce(We, o);
|
|
194
194
|
}
|
|
195
|
-
function
|
|
196
|
-
return
|
|
195
|
+
function Kt() {
|
|
196
|
+
return de(We);
|
|
197
197
|
}
|
|
198
|
-
function
|
|
199
|
-
|
|
198
|
+
function Jt(o) {
|
|
199
|
+
ce(Qe, o);
|
|
200
200
|
}
|
|
201
|
-
function
|
|
202
|
-
return
|
|
201
|
+
function Ze() {
|
|
202
|
+
return de(Qe);
|
|
203
203
|
}
|
|
204
|
-
const
|
|
204
|
+
const Rt = /* @__PURE__ */ R({
|
|
205
205
|
__name: "menu",
|
|
206
206
|
setup(o) {
|
|
207
|
-
const { t: s } = te(), t =
|
|
208
|
-
const
|
|
209
|
-
const _ =
|
|
207
|
+
const { t: s } = te(), t = Tt(), e = Nt(), n = qt(), l = Kt(), i = O(0), a = O(0), r = O([]), u = K(() => [i.value, a.value]), g = (M) => {
|
|
208
|
+
const b = () => !(r.value.length <= 0 || !ae(n.value, r.value)), x = () => {
|
|
209
|
+
const _ = he(t.value, r.value);
|
|
210
210
|
if (_)
|
|
211
211
|
if (_.ui) {
|
|
212
|
-
const
|
|
213
|
-
if (!
|
|
212
|
+
const P = me(e.value, r.value.slice(0, -1));
|
|
213
|
+
if (!P)
|
|
214
214
|
return;
|
|
215
|
-
|
|
215
|
+
P[r.value[r.value.length - 1]] = q(_), l(r.value, P[r.value[r.value.length - 1]]);
|
|
216
216
|
} else if (_.array) {
|
|
217
|
-
const
|
|
218
|
-
if (
|
|
217
|
+
const P = r.value[r.value.length - 1];
|
|
218
|
+
if (P === void 0) {
|
|
219
219
|
console.assert(!1, "invalid last key");
|
|
220
220
|
return;
|
|
221
221
|
}
|
|
222
|
-
if (typeof
|
|
223
|
-
const N =
|
|
222
|
+
if (typeof P == "string") {
|
|
223
|
+
const N = me(e.value, r.value.slice(0, -1));
|
|
224
224
|
if (!N)
|
|
225
225
|
return;
|
|
226
226
|
N[r.value[r.value.length - 1]] = q(_), l(r.value, N[r.value[r.value.length - 1]]);
|
|
227
227
|
} else {
|
|
228
|
-
const N =
|
|
228
|
+
const N = me(e.value, r.value);
|
|
229
229
|
if (!N)
|
|
230
230
|
return;
|
|
231
231
|
_.children.forEach((Z) => {
|
|
@@ -233,82 +233,82 @@ const Gt = /* @__PURE__ */ J({
|
|
|
233
233
|
});
|
|
234
234
|
}
|
|
235
235
|
} else {
|
|
236
|
-
const
|
|
237
|
-
if (!
|
|
236
|
+
const P = me(e.value, r.value);
|
|
237
|
+
if (!P)
|
|
238
238
|
return;
|
|
239
239
|
_.children.forEach((N) => {
|
|
240
|
-
|
|
240
|
+
P[N.key] = q(_), l([...r.value, N.key], P[N.key]);
|
|
241
241
|
});
|
|
242
242
|
}
|
|
243
243
|
};
|
|
244
|
-
|
|
244
|
+
b() && M.push({
|
|
245
245
|
title: s("x-prop-tree.reset"),
|
|
246
|
-
func:
|
|
246
|
+
func: x
|
|
247
247
|
});
|
|
248
|
-
}, d = (
|
|
249
|
-
const
|
|
250
|
-
const
|
|
251
|
-
localStorage.setItem("propTreeCopy", JSON.stringify({ prop:
|
|
248
|
+
}, d = (M) => {
|
|
249
|
+
const b = () => {
|
|
250
|
+
const x = he(t.value, r.value), _ = me(e.value, r.value);
|
|
251
|
+
localStorage.setItem("propTreeCopy", JSON.stringify({ prop: x, object: _ }));
|
|
252
252
|
};
|
|
253
|
-
|
|
253
|
+
M.push({
|
|
254
254
|
title: s("x-prop-tree.copy"),
|
|
255
|
-
func:
|
|
255
|
+
func: b
|
|
256
256
|
});
|
|
257
|
-
}, f = (
|
|
258
|
-
const
|
|
257
|
+
}, f = (M) => {
|
|
258
|
+
const b = () => {
|
|
259
259
|
const _ = localStorage.getItem("propTreeCopy");
|
|
260
260
|
if (!_)
|
|
261
261
|
return !1;
|
|
262
262
|
try {
|
|
263
|
-
const { prop:
|
|
264
|
-
return
|
|
265
|
-
} catch (
|
|
266
|
-
console.error(
|
|
263
|
+
const { prop: P } = JSON.parse(_), N = he(t.value, r.value);
|
|
264
|
+
return Ut(P, N);
|
|
265
|
+
} catch (P) {
|
|
266
|
+
console.error(P);
|
|
267
267
|
}
|
|
268
268
|
return !1;
|
|
269
|
-
},
|
|
270
|
-
if (!
|
|
269
|
+
}, x = () => {
|
|
270
|
+
if (!b())
|
|
271
271
|
return;
|
|
272
272
|
const _ = localStorage.getItem("propTreeCopy");
|
|
273
273
|
if (_)
|
|
274
274
|
try {
|
|
275
|
-
const { object:
|
|
276
|
-
console.log(
|
|
277
|
-
} catch (
|
|
278
|
-
console.error(
|
|
275
|
+
const { object: P } = JSON.parse(_), N = he(t.value, r.value);
|
|
276
|
+
console.log(P, N);
|
|
277
|
+
} catch (P) {
|
|
278
|
+
console.error(P);
|
|
279
279
|
}
|
|
280
280
|
};
|
|
281
|
-
|
|
281
|
+
b() && M.push({
|
|
282
282
|
title: s("x-prop-tree.paste"),
|
|
283
|
-
func:
|
|
283
|
+
func: x
|
|
284
284
|
});
|
|
285
285
|
}, m = K(() => {
|
|
286
|
-
const
|
|
287
|
-
return g(
|
|
288
|
-
}), k = (
|
|
289
|
-
i.value =
|
|
290
|
-
}, { open:
|
|
291
|
-
return (
|
|
292
|
-
const
|
|
293
|
-
return
|
|
294
|
-
modelValue:
|
|
295
|
-
"onUpdate:modelValue":
|
|
286
|
+
const M = [];
|
|
287
|
+
return g(M), d(M), f(M), M;
|
|
288
|
+
}), k = (M) => {
|
|
289
|
+
i.value = M.x, a.value = M.y, r.value = M.keys;
|
|
290
|
+
}, { open: T } = Ce("propTreeMenu", k);
|
|
291
|
+
return (M, b) => {
|
|
292
|
+
const x = U("v-list-item-title"), _ = U("v-list-item"), P = U("v-list"), N = U("v-menu");
|
|
293
|
+
return C(), B(N, {
|
|
294
|
+
modelValue: L(T),
|
|
295
|
+
"onUpdate:modelValue": b[0] || (b[0] = (Z) => ve(T) ? T.value = Z : null),
|
|
296
296
|
"location-strategy": "connected",
|
|
297
297
|
target: u.value,
|
|
298
298
|
scrim: "transparent"
|
|
299
299
|
}, {
|
|
300
|
-
default:
|
|
301
|
-
|
|
302
|
-
default:
|
|
303
|
-
(
|
|
304
|
-
key:
|
|
300
|
+
default: J(() => [
|
|
301
|
+
D(P, null, {
|
|
302
|
+
default: J(() => [
|
|
303
|
+
(C(!0), H(ke, null, qe(m.value, (Z, xe) => (C(), B(_, {
|
|
304
|
+
key: xe,
|
|
305
305
|
link: "",
|
|
306
306
|
onClick: Z.func
|
|
307
307
|
}, {
|
|
308
|
-
default:
|
|
309
|
-
|
|
310
|
-
default:
|
|
311
|
-
|
|
308
|
+
default: J(() => [
|
|
309
|
+
D(x, null, {
|
|
310
|
+
default: J(() => [
|
|
311
|
+
Ve(Q(Z.title), 1)
|
|
312
312
|
]),
|
|
313
313
|
_: 2
|
|
314
314
|
}, 1024)
|
|
@@ -323,7 +323,7 @@ const Gt = /* @__PURE__ */ J({
|
|
|
323
323
|
}, 8, ["modelValue", "target"]);
|
|
324
324
|
};
|
|
325
325
|
}
|
|
326
|
-
}),
|
|
326
|
+
}), Ht = { style: { pointerEvents: "none" } }, _e = /* @__PURE__ */ R({
|
|
327
327
|
__name: "title",
|
|
328
328
|
props: {
|
|
329
329
|
title: {},
|
|
@@ -345,43 +345,43 @@ const Gt = /* @__PURE__ */ J({
|
|
|
345
345
|
n("menu", u.clientX, u.clientY);
|
|
346
346
|
};
|
|
347
347
|
return (u, g) => {
|
|
348
|
-
const d =
|
|
349
|
-
return ee((
|
|
348
|
+
const d = U("v-icon"), f = U("v-spacer"), m = U("v-btn"), k = le("ripple");
|
|
349
|
+
return ee((C(), H("div", {
|
|
350
350
|
class: "d-flex align-center cursor-pointer",
|
|
351
351
|
style: I(i.value),
|
|
352
352
|
onClick: a,
|
|
353
353
|
onContextmenu: z(r, ["self", "prevent"]),
|
|
354
|
-
onMouseover: g[2] || (g[2] = (
|
|
355
|
-
onMouseout: g[3] || (g[3] = (
|
|
354
|
+
onMouseover: g[2] || (g[2] = (T) => l.value = !0),
|
|
355
|
+
onMouseout: g[3] || (g[3] = (T) => l.value = !1)
|
|
356
356
|
}, [
|
|
357
|
-
|
|
357
|
+
D(d, {
|
|
358
358
|
class: "mr-1",
|
|
359
|
-
icon: u.collapse ?
|
|
359
|
+
icon: u.collapse ? "mdi-chevron-right" : "mdi-chevron-down"
|
|
360
360
|
}, null, 8, ["icon"]),
|
|
361
|
-
F("span",
|
|
362
|
-
|
|
363
|
-
u.hasCreate ? (
|
|
361
|
+
F("span", Ht, Q(u.title), 1),
|
|
362
|
+
D(f),
|
|
363
|
+
u.hasCreate ? (C(), B(m, {
|
|
364
364
|
key: 0,
|
|
365
365
|
class: "mx-3",
|
|
366
366
|
variant: "text",
|
|
367
367
|
density: "compact",
|
|
368
|
-
icon:
|
|
369
|
-
onClick: g[0] || (g[0] = z((
|
|
370
|
-
}
|
|
371
|
-
u.hasDelete ? (
|
|
368
|
+
icon: "mdi-plus",
|
|
369
|
+
onClick: g[0] || (g[0] = z((T) => n("create"), ["stop"]))
|
|
370
|
+
})) : Y("", !0),
|
|
371
|
+
u.hasDelete ? (C(), B(m, {
|
|
372
372
|
key: 1,
|
|
373
373
|
class: "mx-3",
|
|
374
374
|
variant: "text",
|
|
375
375
|
density: "compact",
|
|
376
|
-
icon:
|
|
377
|
-
onClick: g[1] || (g[1] = z((
|
|
378
|
-
}
|
|
376
|
+
icon: "mdi-minus",
|
|
377
|
+
onClick: g[1] || (g[1] = z((T) => n("delete", u.index), ["stop"]))
|
|
378
|
+
})) : Y("", !0)
|
|
379
379
|
], 36)), [
|
|
380
380
|
[k]
|
|
381
381
|
]);
|
|
382
382
|
};
|
|
383
383
|
}
|
|
384
|
-
}),
|
|
384
|
+
}), Xt = /* @__PURE__ */ R({
|
|
385
385
|
__name: "entry",
|
|
386
386
|
props: {
|
|
387
387
|
minHeight: {}
|
|
@@ -399,35 +399,38 @@ const Gt = /* @__PURE__ */ J({
|
|
|
399
399
|
};
|
|
400
400
|
return (r, u) => {
|
|
401
401
|
const g = le("ripple");
|
|
402
|
-
return ee((
|
|
402
|
+
return ee((C(), H("div", {
|
|
403
403
|
class: "d-flex justify-space-between align-center cursor-pointer",
|
|
404
404
|
style: I(i.value),
|
|
405
405
|
onContextmenu: z(a, ["self", "prevent"]),
|
|
406
406
|
onMouseover: u[0] || (u[0] = (d) => l.value = !0),
|
|
407
407
|
onMouseout: u[1] || (u[1] = (d) => l.value = !1)
|
|
408
408
|
}, [
|
|
409
|
-
|
|
409
|
+
dt(r.$slots, "default")
|
|
410
410
|
], 36)), [
|
|
411
411
|
[g]
|
|
412
412
|
]);
|
|
413
413
|
};
|
|
414
414
|
}
|
|
415
415
|
});
|
|
416
|
-
function
|
|
416
|
+
function Ft(o, s, t) {
|
|
417
417
|
const { t: e } = te();
|
|
418
418
|
return { renderProp: (l, i, a) => {
|
|
419
419
|
const r = l[l.length - 1];
|
|
420
420
|
let g = typeof r == "number" ? `[${r + 1}]` : e(i.name);
|
|
421
|
-
return
|
|
422
|
-
|
|
421
|
+
return ae(o.value, l) && (g += " *"), h(
|
|
422
|
+
Xt,
|
|
423
423
|
{
|
|
424
424
|
minHeight: s.value,
|
|
425
425
|
onMenu: (d, f) => {
|
|
426
|
-
|
|
426
|
+
ue.emit("propTreeMenu", { x: d, y: f, keys: l });
|
|
427
427
|
}
|
|
428
428
|
},
|
|
429
429
|
() => [
|
|
430
|
-
h("span", {
|
|
430
|
+
h("span", {
|
|
431
|
+
style: { marginLeft: "4px", pointerEvents: "none" },
|
|
432
|
+
innerHTML: g
|
|
433
|
+
}),
|
|
431
434
|
h("div", { style: { width: t.value } }, a)
|
|
432
435
|
]
|
|
433
436
|
);
|
|
@@ -463,7 +466,7 @@ const ne = (o, s, t, e, n, l) => {
|
|
|
463
466
|
(s.ui === "switch" || s.ui === "select" || s.ui === "colorPicker" || s.ui === "multiTypes" || s.ui === "compSelect") && (e || (a = void 0)), a !== t[s.key] && (t[s.key] = a, n(o, t[s.key]));
|
|
464
467
|
}
|
|
465
468
|
};
|
|
466
|
-
function
|
|
469
|
+
function zt(o) {
|
|
467
470
|
return { renderUiDummy: (t, e, n, l, i) => {
|
|
468
471
|
if (e.ui !== "dummy") {
|
|
469
472
|
console.assert(!1, "renderUiDummy prop ui must be dummy");
|
|
@@ -472,7 +475,7 @@ function Zt(o) {
|
|
|
472
475
|
ne(t, e, n, o, l, i);
|
|
473
476
|
} };
|
|
474
477
|
}
|
|
475
|
-
const
|
|
478
|
+
const Gt = { class: "d-flex justify-space-between align-center" }, Yt = /* @__PURE__ */ R({
|
|
476
479
|
__name: "strInput",
|
|
477
480
|
props: /* @__PURE__ */ W({
|
|
478
481
|
hasDelete: { type: Boolean, default: !1 },
|
|
@@ -485,9 +488,9 @@ const Et = { class: "d-flex justify-space-between align-center" }, jt = /* @__PU
|
|
|
485
488
|
setup(o, { emit: s }) {
|
|
486
489
|
const t = G(o, "modelValue"), e = s;
|
|
487
490
|
return (n, l) => {
|
|
488
|
-
const i =
|
|
489
|
-
return
|
|
490
|
-
ee(
|
|
491
|
+
const i = U("v-text-field"), a = U("v-btn"), r = le("ripple");
|
|
492
|
+
return C(), H("div", Gt, [
|
|
493
|
+
ee(D(i, {
|
|
491
494
|
modelValue: t.value,
|
|
492
495
|
"onUpdate:modelValue": l[0] || (l[0] = (u) => t.value = u),
|
|
493
496
|
density: "compact",
|
|
@@ -502,20 +505,20 @@ const Et = { class: "d-flex justify-space-between align-center" }, jt = /* @__PU
|
|
|
502
505
|
{ stop: !0 }
|
|
503
506
|
]
|
|
504
507
|
]),
|
|
505
|
-
n.hasDelete ? (
|
|
508
|
+
n.hasDelete ? (C(), B(a, {
|
|
506
509
|
key: 0,
|
|
507
510
|
class: "mx-2",
|
|
508
511
|
variant: "text",
|
|
509
512
|
density: "compact",
|
|
510
|
-
icon:
|
|
513
|
+
icon: "mdi-minus",
|
|
511
514
|
onClick: l[1] || (l[1] = z((u) => e("delete"), ["stop"]))
|
|
512
|
-
}
|
|
515
|
+
})) : Y("", !0)
|
|
513
516
|
]);
|
|
514
517
|
};
|
|
515
518
|
}
|
|
516
519
|
});
|
|
517
|
-
function
|
|
518
|
-
return { renderUiStrInput: (t, e, n, l, i) => e.ui !== "strInput" ? (console.assert(!1), h("div", "renderUiStrInput prop ui must be strInput")) : h(
|
|
520
|
+
function Wt(o) {
|
|
521
|
+
return { renderUiStrInput: (t, e, n, l, i) => e.ui !== "strInput" ? (console.assert(!1), h("div", "renderUiStrInput prop ui must be strInput")) : h(Yt, {
|
|
519
522
|
modelValue: e.static ? e.value : ne(
|
|
520
523
|
t,
|
|
521
524
|
e,
|
|
@@ -542,7 +545,7 @@ function It(o) {
|
|
|
542
545
|
readonly: e.static || e.readonly
|
|
543
546
|
}) };
|
|
544
547
|
}
|
|
545
|
-
const
|
|
548
|
+
const Qt = { class: "d-flex justify-space-between align-center" }, Zt = /* @__PURE__ */ R({
|
|
546
549
|
__name: "numInput",
|
|
547
550
|
props: /* @__PURE__ */ W({
|
|
548
551
|
hasDelete: { type: Boolean, default: !1 },
|
|
@@ -560,9 +563,9 @@ const en = { class: "d-flex justify-space-between align-center" }, tn = /* @__PU
|
|
|
560
563
|
setup(o, { emit: s }) {
|
|
561
564
|
const t = G(o, "modelValue"), e = s;
|
|
562
565
|
return (n, l) => {
|
|
563
|
-
const i =
|
|
564
|
-
return
|
|
565
|
-
ee(
|
|
566
|
+
const i = U("v-number-input"), a = U("v-btn"), r = le("ripple");
|
|
567
|
+
return C(), H("div", Qt, [
|
|
568
|
+
ee(D(i, {
|
|
566
569
|
modelValue: t.value,
|
|
567
570
|
"onUpdate:modelValue": l[0] || (l[0] = (u) => t.value = u),
|
|
568
571
|
density: "compact",
|
|
@@ -582,20 +585,20 @@ const en = { class: "d-flex justify-space-between align-center" }, tn = /* @__PU
|
|
|
582
585
|
{ stop: !0 }
|
|
583
586
|
]
|
|
584
587
|
]),
|
|
585
|
-
n.hasDelete ? (
|
|
588
|
+
n.hasDelete ? (C(), B(a, {
|
|
586
589
|
key: 0,
|
|
587
590
|
class: "mx-2",
|
|
588
591
|
variant: "text",
|
|
589
592
|
density: "compact",
|
|
590
|
-
icon:
|
|
593
|
+
icon: "mdi-minus",
|
|
591
594
|
onClick: l[1] || (l[1] = z((u) => e("delete"), ["stop"]))
|
|
592
|
-
}
|
|
595
|
+
})) : Y("", !0)
|
|
593
596
|
]);
|
|
594
597
|
};
|
|
595
598
|
}
|
|
596
599
|
});
|
|
597
|
-
function
|
|
598
|
-
return { renderUiNumInput: (t, e, n, l, i) => e.ui !== "numInput" ? (console.assert(!1), h("div", "renderUiNumInput prop ui must be numInput")) : h(
|
|
600
|
+
function Et(o) {
|
|
601
|
+
return { renderUiNumInput: (t, e, n, l, i) => e.ui !== "numInput" ? (console.assert(!1), h("div", "renderUiNumInput prop ui must be numInput")) : h(Zt, {
|
|
599
602
|
modelValue: ne(
|
|
600
603
|
t,
|
|
601
604
|
e,
|
|
@@ -626,7 +629,7 @@ function nn(o) {
|
|
|
626
629
|
readonly: e.readonly
|
|
627
630
|
}) };
|
|
628
631
|
}
|
|
629
|
-
const
|
|
632
|
+
const jt = { class: "d-flex justify-space-between align-center" }, It = /* @__PURE__ */ R({
|
|
630
633
|
__name: "switch",
|
|
631
634
|
props: /* @__PURE__ */ W({
|
|
632
635
|
hasDelete: { type: Boolean, default: !1 },
|
|
@@ -639,9 +642,9 @@ const ln = { class: "d-flex justify-space-between align-center" }, on = /* @__PU
|
|
|
639
642
|
setup(o, { emit: s }) {
|
|
640
643
|
const t = G(o, "modelValue"), e = s;
|
|
641
644
|
return (n, l) => {
|
|
642
|
-
const i =
|
|
643
|
-
return
|
|
644
|
-
|
|
645
|
+
const i = U("v-switch"), a = U("v-btn");
|
|
646
|
+
return C(), H("div", jt, [
|
|
647
|
+
D(i, {
|
|
645
648
|
modelValue: t.value,
|
|
646
649
|
"onUpdate:modelValue": l[0] || (l[0] = (r) => t.value = r),
|
|
647
650
|
class: "ml-1",
|
|
@@ -650,20 +653,20 @@ const ln = { class: "d-flex justify-space-between align-center" }, on = /* @__PU
|
|
|
650
653
|
"hide-details": "",
|
|
651
654
|
readonly: n.readonly
|
|
652
655
|
}, null, 8, ["modelValue", "readonly"]),
|
|
653
|
-
n.hasDelete ? (
|
|
656
|
+
n.hasDelete ? (C(), B(a, {
|
|
654
657
|
key: 0,
|
|
655
658
|
class: "mx-2",
|
|
656
659
|
variant: "text",
|
|
657
660
|
density: "compact",
|
|
658
|
-
icon:
|
|
661
|
+
icon: "mdi-minus",
|
|
659
662
|
onClick: l[1] || (l[1] = z((r) => e("delete"), ["stop"]))
|
|
660
|
-
}
|
|
663
|
+
})) : Y("", !0)
|
|
661
664
|
]);
|
|
662
665
|
};
|
|
663
666
|
}
|
|
664
667
|
});
|
|
665
|
-
function
|
|
666
|
-
return { renderUiSwitch: (t, e, n, l, i) => e.ui !== "switch" ? (console.assert(!1), h("div", "renderUiSwitch prop ui must be switch")) : h(
|
|
668
|
+
function en(o) {
|
|
669
|
+
return { renderUiSwitch: (t, e, n, l, i) => e.ui !== "switch" ? (console.assert(!1), h("div", "renderUiSwitch prop ui must be switch")) : h(It, {
|
|
667
670
|
modelValue: ne(
|
|
668
671
|
t,
|
|
669
672
|
e,
|
|
@@ -690,7 +693,7 @@ function sn(o) {
|
|
|
690
693
|
readonly: e.readonly
|
|
691
694
|
}) };
|
|
692
695
|
}
|
|
693
|
-
const
|
|
696
|
+
const tn = { class: "d-flex justify-space-between align-center" }, nn = /* @__PURE__ */ R({
|
|
694
697
|
__name: "select",
|
|
695
698
|
props: /* @__PURE__ */ W({
|
|
696
699
|
hasDelete: { type: Boolean, default: !1 },
|
|
@@ -702,17 +705,17 @@ const rn = { class: "d-flex justify-space-between align-center" }, un = /* @__PU
|
|
|
702
705
|
}),
|
|
703
706
|
emits: /* @__PURE__ */ W(["delete"], ["update:modelValue"]),
|
|
704
707
|
setup(o, { emit: s }) {
|
|
705
|
-
const { t } = te(), e = G(o, "modelValue"), n = s, l =
|
|
708
|
+
const { t } = te(), e = G(o, "modelValue"), n = s, l = be(), i = K(() => {
|
|
706
709
|
var r;
|
|
707
710
|
const a = [];
|
|
708
|
-
return (r =
|
|
711
|
+
return (r = Xe[l.value]) == null || r.items[o.items].forEach(({ title: u, value: g }) => {
|
|
709
712
|
a.push({ title: t(u), value: g });
|
|
710
713
|
}), a;
|
|
711
714
|
});
|
|
712
715
|
return (a, r) => {
|
|
713
|
-
const u =
|
|
714
|
-
return
|
|
715
|
-
ee(
|
|
716
|
+
const u = U("v-select"), g = U("v-btn"), d = le("ripple");
|
|
717
|
+
return C(), H("div", tn, [
|
|
718
|
+
ee(D(u, {
|
|
716
719
|
modelValue: e.value,
|
|
717
720
|
"onUpdate:modelValue": r[0] || (r[0] = (f) => e.value = f),
|
|
718
721
|
density: "compact",
|
|
@@ -728,20 +731,20 @@ const rn = { class: "d-flex justify-space-between align-center" }, un = /* @__PU
|
|
|
728
731
|
{ stop: !0 }
|
|
729
732
|
]
|
|
730
733
|
]),
|
|
731
|
-
a.hasDelete ? (
|
|
734
|
+
a.hasDelete ? (C(), B(g, {
|
|
732
735
|
key: 0,
|
|
733
736
|
class: "mx-2",
|
|
734
737
|
variant: "text",
|
|
735
738
|
density: "compact",
|
|
736
|
-
icon:
|
|
739
|
+
icon: "mdi-minus",
|
|
737
740
|
onClick: r[1] || (r[1] = z((f) => n("delete"), ["stop"]))
|
|
738
|
-
}
|
|
741
|
+
})) : Y("", !0)
|
|
739
742
|
]);
|
|
740
743
|
};
|
|
741
744
|
}
|
|
742
745
|
});
|
|
743
|
-
function
|
|
744
|
-
return { renderUiSelect: (t, e, n, l, i) => e.ui !== "select" ? (console.assert(!1), h("div", "renderUiSelect prop ui must be select")) : h(
|
|
746
|
+
function ln(o) {
|
|
747
|
+
return { renderUiSelect: (t, e, n, l, i) => e.ui !== "select" ? (console.assert(!1), h("div", "renderUiSelect prop ui must be select")) : h(nn, {
|
|
745
748
|
modelValue: ne(
|
|
746
749
|
t,
|
|
747
750
|
e,
|
|
@@ -769,7 +772,7 @@ function an(o) {
|
|
|
769
772
|
readonly: e.readonly
|
|
770
773
|
}) };
|
|
771
774
|
}
|
|
772
|
-
const
|
|
775
|
+
const on = { class: "text-subtitle-2 ml-1" }, sn = { class: "text-caption text-grey ml-1" }, rn = /* @__PURE__ */ R({
|
|
773
776
|
__name: "group",
|
|
774
777
|
props: {
|
|
775
778
|
id: {},
|
|
@@ -786,26 +789,26 @@ const cn = { class: "text-subtitle-2 ml-1" }, dn = { class: "text-caption text-g
|
|
|
786
789
|
userSelect: "none"
|
|
787
790
|
}));
|
|
788
791
|
return (r, u) => {
|
|
789
|
-
const g =
|
|
790
|
-
return ee((
|
|
792
|
+
const g = U("v-icon"), d = le("ripple");
|
|
793
|
+
return ee((C(), H("div", {
|
|
791
794
|
class: "d-flex align-center cursor-pointer",
|
|
792
795
|
style: I(a.value),
|
|
793
796
|
onClick: u[0] || (u[0] = (f) => l("x-click", n.id)),
|
|
794
797
|
onMouseover: u[1] || (u[1] = (f) => i.value = !0),
|
|
795
798
|
onMouseout: u[2] || (u[2] = (f) => i.value = !1)
|
|
796
799
|
}, [
|
|
797
|
-
|
|
798
|
-
icon: n.collapse ?
|
|
800
|
+
D(g, {
|
|
801
|
+
icon: n.collapse ? "mdi-chevron-right" : "mdi-chevron-down",
|
|
799
802
|
size: "small"
|
|
800
803
|
}, null, 8, ["icon"]),
|
|
801
|
-
F("span",
|
|
802
|
-
F("span",
|
|
804
|
+
F("span", on, Q(n.title), 1),
|
|
805
|
+
F("span", sn, Q(n.count), 1)
|
|
803
806
|
], 36)), [
|
|
804
807
|
[d]
|
|
805
808
|
]);
|
|
806
809
|
};
|
|
807
810
|
}
|
|
808
|
-
}),
|
|
811
|
+
}), un = { class: "text-subtitle-1 ml-6" }, an = /* @__PURE__ */ R({
|
|
809
812
|
__name: "item",
|
|
810
813
|
props: {
|
|
811
814
|
id: {},
|
|
@@ -821,23 +824,23 @@ const cn = { class: "text-subtitle-2 ml-1" }, dn = { class: "text-caption text-g
|
|
|
821
824
|
}));
|
|
822
825
|
return (r, u) => {
|
|
823
826
|
const g = le("ripple");
|
|
824
|
-
return ee((
|
|
827
|
+
return ee((C(), H("div", {
|
|
825
828
|
class: "d-flex align-center cursor-pointer",
|
|
826
829
|
style: I(a.value),
|
|
827
830
|
onClick: u[0] || (u[0] = (d) => l("x-click", n.id)),
|
|
828
831
|
onMouseover: u[1] || (u[1] = (d) => i.value = !0),
|
|
829
832
|
onMouseout: u[2] || (u[2] = (d) => i.value = !1)
|
|
830
833
|
}, [
|
|
831
|
-
F("span",
|
|
834
|
+
F("span", un, Q(n.title), 1)
|
|
832
835
|
], 36)), [
|
|
833
836
|
[g]
|
|
834
837
|
]);
|
|
835
838
|
};
|
|
836
839
|
}
|
|
837
|
-
}),
|
|
840
|
+
}), cn = { key: 0 }, dn = {
|
|
838
841
|
key: 1,
|
|
839
842
|
class: "text-body-2 text-grey ml-3"
|
|
840
|
-
},
|
|
843
|
+
}, fn = /* @__PURE__ */ R({
|
|
841
844
|
__name: "index",
|
|
842
845
|
props: {
|
|
843
846
|
modelValue: {},
|
|
@@ -847,17 +850,17 @@ const cn = { class: "text-subtitle-2 ml-1" }, dn = { class: "text-caption text-g
|
|
|
847
850
|
},
|
|
848
851
|
emits: ["update:modelValue", "update:open"],
|
|
849
852
|
setup(o) {
|
|
850
|
-
const { t: s } = te(), t = G(o, "modelValue"), e = G(o, "open"), n =
|
|
851
|
-
const r =
|
|
852
|
-
r &&
|
|
853
|
+
const { t: s } = te(), t = G(o, "modelValue"), e = G(o, "open"), n = Ze(), l = (a) => {
|
|
854
|
+
const r = He(n, a);
|
|
855
|
+
r && gt(n, a, !r.collapse);
|
|
853
856
|
}, i = (a) => {
|
|
854
|
-
t.value = a, e.value = !1,
|
|
857
|
+
t.value = a, e.value = !1, ue.emit("refreshDepends");
|
|
855
858
|
};
|
|
856
|
-
return (a, r) =>
|
|
857
|
-
(
|
|
859
|
+
return (a, r) => L(n).length > 0 ? (C(), H("div", cn, [
|
|
860
|
+
(C(!0), H(ke, null, qe(L(n), (u) => (C(), H(ke, {
|
|
858
861
|
key: u.id
|
|
859
862
|
}, [
|
|
860
|
-
u.type === 0 ? (
|
|
863
|
+
u.type === 0 ? (C(), B(rn, {
|
|
861
864
|
key: 0,
|
|
862
865
|
id: u.id,
|
|
863
866
|
title: u.name,
|
|
@@ -865,16 +868,16 @@ const cn = { class: "text-subtitle-2 ml-1" }, dn = { class: "text-caption text-g
|
|
|
865
868
|
count: u.count ?? 0,
|
|
866
869
|
onXClick: l
|
|
867
870
|
}, null, 8, ["id", "title", "collapse", "count"])) : Y("", !0),
|
|
868
|
-
u.type === 1 && u.show ? (
|
|
871
|
+
u.type === 1 && u.show ? (C(), B(an, {
|
|
869
872
|
key: 1,
|
|
870
873
|
id: u.id,
|
|
871
874
|
title: u.name,
|
|
872
875
|
onXClick: i
|
|
873
876
|
}, null, 8, ["id", "title"])) : Y("", !0)
|
|
874
877
|
], 64))), 128))
|
|
875
|
-
])) : (
|
|
878
|
+
])) : (C(), H("div", dn, Q(L(s)("x-prop-tree.noComp")), 1));
|
|
876
879
|
}
|
|
877
|
-
}),
|
|
880
|
+
}), mn = { class: "text-subtitle-1 ml-3" }, vn = /* @__PURE__ */ R({
|
|
878
881
|
__name: "index",
|
|
879
882
|
props: {
|
|
880
883
|
modelValue: {},
|
|
@@ -882,7 +885,7 @@ const cn = { class: "text-subtitle-2 ml-1" }, dn = { class: "text-caption text-g
|
|
|
882
885
|
},
|
|
883
886
|
emits: ["update:modelValue"],
|
|
884
887
|
setup(o) {
|
|
885
|
-
const { t: s } = te(), t =
|
|
888
|
+
const { t: s } = te(), t = Ct(), { sysBarAvail: e } = Je(), { backgroundColor1: n } = ie(), l = G(o, "modelValue"), i = Ze(), a = K(() => {
|
|
886
889
|
let f = "100%";
|
|
887
890
|
return t.mdAndUp.value && (f = "400px"), {
|
|
888
891
|
background: n.value,
|
|
@@ -900,59 +903,59 @@ const cn = { class: "text-subtitle-2 ml-1" }, dn = { class: "text-caption text-g
|
|
|
900
903
|
})), g = K(() => {
|
|
901
904
|
if (!l.value)
|
|
902
905
|
return s("x-runtime-lib.notSet");
|
|
903
|
-
const f =
|
|
906
|
+
const f = He(i, l.value);
|
|
904
907
|
return f ? f.name : s("x-runtime-lib.compNotAvail");
|
|
905
|
-
}), { open: d } =
|
|
906
|
-
return
|
|
908
|
+
}), { open: d } = Ce(`propTreeCompSelectDlg${Me()}`);
|
|
909
|
+
return we(() => {
|
|
907
910
|
d.value = !1;
|
|
908
911
|
}), (f, m) => {
|
|
909
|
-
const k =
|
|
910
|
-
return
|
|
911
|
-
modelValue:
|
|
912
|
-
"onUpdate:modelValue": m[5] || (m[5] = (
|
|
912
|
+
const k = U("v-btn"), T = U("v-sheet"), M = U("v-icon"), b = U("v-dialog");
|
|
913
|
+
return C(), B(b, {
|
|
914
|
+
modelValue: L(d),
|
|
915
|
+
"onUpdate:modelValue": m[5] || (m[5] = (x) => ve(d) ? d.value = x : null),
|
|
913
916
|
transition: "scroll-x-reverse-transition",
|
|
914
917
|
persistent: "",
|
|
915
918
|
"no-click-animation": "",
|
|
916
919
|
fullscreen: "",
|
|
917
|
-
onKeydown: m[6] || (m[6] =
|
|
920
|
+
onKeydown: m[6] || (m[6] = Be(z((x) => d.value = !1, ["stop", "prevent"]), ["esc"]))
|
|
918
921
|
}, {
|
|
919
|
-
activator:
|
|
920
|
-
|
|
922
|
+
activator: J(({ props: x }) => [
|
|
923
|
+
D(k, De(x, {
|
|
921
924
|
density: "comfortable",
|
|
922
925
|
block: ""
|
|
923
926
|
}), {
|
|
924
|
-
default:
|
|
925
|
-
|
|
927
|
+
default: J(() => [
|
|
928
|
+
Ve(Q(g.value), 1)
|
|
926
929
|
]),
|
|
927
930
|
_: 2
|
|
928
931
|
}, 1040)
|
|
929
932
|
]),
|
|
930
|
-
default:
|
|
933
|
+
default: J(() => [
|
|
931
934
|
F("div", {
|
|
932
935
|
class: "w-100 h-100 d-flex flex-row-reverse",
|
|
933
|
-
onClick: m[3] || (m[3] = z((
|
|
934
|
-
onContextmenu: m[4] || (m[4] = z((
|
|
936
|
+
onClick: m[3] || (m[3] = z((x) => d.value = !1, ["self"])),
|
|
937
|
+
onContextmenu: m[4] || (m[4] = z((x) => d.value = !1, ["self", "prevent"]))
|
|
935
938
|
}, [
|
|
936
939
|
F("div", {
|
|
937
940
|
class: "elevation-2",
|
|
938
941
|
style: I(a.value)
|
|
939
942
|
}, [
|
|
940
|
-
|
|
943
|
+
L(e) ? (C(), B(T, {
|
|
941
944
|
key: 0,
|
|
942
945
|
color: "transparent",
|
|
943
946
|
height: 24
|
|
944
947
|
})) : Y("", !0),
|
|
945
|
-
|
|
948
|
+
D(T, {
|
|
946
949
|
class: "d-flex align-center px-3",
|
|
947
950
|
color: "transparent",
|
|
948
951
|
height: 48
|
|
949
952
|
}, {
|
|
950
|
-
default:
|
|
951
|
-
|
|
952
|
-
icon:
|
|
953
|
-
onClick: m[0] || (m[0] = (
|
|
954
|
-
}
|
|
955
|
-
F("span",
|
|
953
|
+
default: J(() => [
|
|
954
|
+
D(M, {
|
|
955
|
+
icon: "mdi-close",
|
|
956
|
+
onClick: m[0] || (m[0] = (x) => d.value = !1)
|
|
957
|
+
}),
|
|
958
|
+
F("span", mn, Q(L(s)("x-prop-tree.dlg.compSelect.title")), 1)
|
|
956
959
|
]),
|
|
957
960
|
_: 1
|
|
958
961
|
}),
|
|
@@ -960,11 +963,11 @@ const cn = { class: "text-subtitle-2 ml-1" }, dn = { class: "text-caption text-g
|
|
|
960
963
|
class: "overflow-y-auto",
|
|
961
964
|
style: I(r.value)
|
|
962
965
|
}, [
|
|
963
|
-
|
|
966
|
+
D(fn, {
|
|
964
967
|
modelValue: l.value,
|
|
965
|
-
"onUpdate:modelValue": m[1] || (m[1] = (
|
|
966
|
-
open:
|
|
967
|
-
"onUpdate:open": m[2] || (m[2] = (
|
|
968
|
+
"onUpdate:modelValue": m[1] || (m[1] = (x) => l.value = x),
|
|
969
|
+
open: L(d),
|
|
970
|
+
"onUpdate:open": m[2] || (m[2] = (x) => ve(d) ? d.value = x : null)
|
|
968
971
|
}, null, 8, ["modelValue", "open"]),
|
|
969
972
|
F("div", {
|
|
970
973
|
style: I(u.value)
|
|
@@ -978,8 +981,8 @@ const cn = { class: "text-subtitle-2 ml-1" }, dn = { class: "text-caption text-g
|
|
|
978
981
|
};
|
|
979
982
|
}
|
|
980
983
|
});
|
|
981
|
-
function
|
|
982
|
-
return { renderUiCompSelect: (t, e, n, l, i) => e.ui !== "compSelect" ? (console.assert(!1), h("div", "renderUiCompSelect prop ui must be compSelect")) : h(
|
|
984
|
+
function pn(o) {
|
|
985
|
+
return { renderUiCompSelect: (t, e, n, l, i) => e.ui !== "compSelect" ? (console.assert(!1), h("div", "renderUiCompSelect prop ui must be compSelect")) : h(vn, {
|
|
983
986
|
modelValue: ne(
|
|
984
987
|
t,
|
|
985
988
|
e,
|
|
@@ -1001,7 +1004,7 @@ function kn(o) {
|
|
|
1001
1004
|
}
|
|
1002
1005
|
}) };
|
|
1003
1006
|
}
|
|
1004
|
-
const
|
|
1007
|
+
const yn = { class: "d-flex justify-space-between align-center" }, gn = /* @__PURE__ */ R({
|
|
1005
1008
|
__name: "colorPicker",
|
|
1006
1009
|
props: /* @__PURE__ */ W({
|
|
1007
1010
|
hasDelete: { type: Boolean, default: !1 },
|
|
@@ -1017,47 +1020,47 @@ const Vn = { class: "d-flex justify-space-between align-center" }, Cn = /* @__PU
|
|
|
1017
1020
|
return o.hasDelete && (r = "calc(100% - 37px)"), {
|
|
1018
1021
|
width: r
|
|
1019
1022
|
};
|
|
1020
|
-
}), i = K(() => o.readonly), { open: a } =
|
|
1021
|
-
return
|
|
1023
|
+
}), i = K(() => o.readonly), { open: a } = Ce(`propTreeColorPickerMenu${Me()}`);
|
|
1024
|
+
return we(() => {
|
|
1022
1025
|
a.value = !1;
|
|
1023
1026
|
}), (r, u) => {
|
|
1024
|
-
const g =
|
|
1025
|
-
return
|
|
1026
|
-
modelValue:
|
|
1027
|
-
"onUpdate:modelValue": u[2] || (u[2] = (m) =>
|
|
1027
|
+
const g = U("v-btn"), d = U("v-color-picker"), f = U("v-menu");
|
|
1028
|
+
return C(), B(f, {
|
|
1029
|
+
modelValue: L(a),
|
|
1030
|
+
"onUpdate:modelValue": u[2] || (u[2] = (m) => ve(a) ? a.value = m : null),
|
|
1028
1031
|
"close-on-content-click": !1,
|
|
1029
1032
|
scrim: "transparent"
|
|
1030
1033
|
}, {
|
|
1031
|
-
activator:
|
|
1032
|
-
F("div",
|
|
1034
|
+
activator: J(({ props: m }) => [
|
|
1035
|
+
F("div", yn, [
|
|
1033
1036
|
F("div", {
|
|
1034
1037
|
class: "flex-grow-1",
|
|
1035
1038
|
style: I(l.value)
|
|
1036
1039
|
}, [
|
|
1037
|
-
|
|
1040
|
+
D(g, De(m, {
|
|
1038
1041
|
density: "comfortable",
|
|
1039
1042
|
color: e.value,
|
|
1040
1043
|
block: "",
|
|
1041
1044
|
disabled: i.value
|
|
1042
1045
|
}), {
|
|
1043
|
-
default:
|
|
1044
|
-
|
|
1046
|
+
default: J(() => [
|
|
1047
|
+
Ve(Q(e.value ? e.value : L(t)("x-runtime-lib.notSet")), 1)
|
|
1045
1048
|
]),
|
|
1046
1049
|
_: 2
|
|
1047
1050
|
}, 1040, ["color", "disabled"])
|
|
1048
1051
|
], 4),
|
|
1049
|
-
r.hasDelete ? (
|
|
1052
|
+
r.hasDelete ? (C(), B(g, {
|
|
1050
1053
|
key: 0,
|
|
1051
1054
|
class: "mx-2",
|
|
1052
1055
|
variant: "text",
|
|
1053
1056
|
density: "compact",
|
|
1054
|
-
icon:
|
|
1057
|
+
icon: "mdi-minus",
|
|
1055
1058
|
onClick: u[0] || (u[0] = z((k) => n("delete"), ["stop"]))
|
|
1056
|
-
}
|
|
1059
|
+
})) : Y("", !0)
|
|
1057
1060
|
])
|
|
1058
1061
|
]),
|
|
1059
|
-
default:
|
|
1060
|
-
|
|
1062
|
+
default: J(() => [
|
|
1063
|
+
D(d, {
|
|
1061
1064
|
modelValue: e.value,
|
|
1062
1065
|
"onUpdate:modelValue": u[1] || (u[1] = (m) => e.value = m),
|
|
1063
1066
|
mode: "hexa",
|
|
@@ -1070,8 +1073,8 @@ const Vn = { class: "d-flex justify-space-between align-center" }, Cn = /* @__PU
|
|
|
1070
1073
|
};
|
|
1071
1074
|
}
|
|
1072
1075
|
});
|
|
1073
|
-
function
|
|
1074
|
-
return { renderUiColorPicker: (t, e, n, l, i) => e.ui !== "colorPicker" ? (console.assert(!1), h("div", "renderUiColorPicker prop ui must be colorPicker")) : h(
|
|
1076
|
+
function hn(o) {
|
|
1077
|
+
return { renderUiColorPicker: (t, e, n, l, i) => e.ui !== "colorPicker" ? (console.assert(!1), h("div", "renderUiColorPicker prop ui must be colorPicker")) : h(gn, {
|
|
1075
1078
|
modelValue: ne(
|
|
1076
1079
|
t,
|
|
1077
1080
|
e,
|
|
@@ -1098,7 +1101,7 @@ function Sn(o) {
|
|
|
1098
1101
|
readonly: e.readonly
|
|
1099
1102
|
}) };
|
|
1100
1103
|
}
|
|
1101
|
-
const
|
|
1104
|
+
const _n = { class: "d-flex justify-space-between align-center my-2" }, kn = { class: "flex-grow-1" }, Vn = /* @__PURE__ */ R({
|
|
1102
1105
|
__name: "multiTypes",
|
|
1103
1106
|
props: /* @__PURE__ */ W({
|
|
1104
1107
|
hasDelete: { type: Boolean, default: !1 },
|
|
@@ -1109,20 +1112,20 @@ const Un = { class: "d-flex justify-space-between align-center my-2" }, $n = { c
|
|
|
1109
1112
|
}),
|
|
1110
1113
|
emits: /* @__PURE__ */ W(["delete"], ["update:modelValue"]),
|
|
1111
1114
|
setup(o, { emit: s }) {
|
|
1112
|
-
const { t } = te(), e = G(o, "modelValue"), n = s, l =
|
|
1115
|
+
const { t } = te(), e = G(o, "modelValue"), n = s, l = be(), i = K(() => {
|
|
1113
1116
|
var f;
|
|
1114
|
-
return (f =
|
|
1117
|
+
return (f = Xe[l.value]) == null ? void 0 : f.types[o.types];
|
|
1115
1118
|
}), a = O(0), r = K(() => {
|
|
1116
1119
|
var m;
|
|
1117
1120
|
const f = [];
|
|
1118
|
-
return (m = i.value) == null || m.forEach(({ title: k },
|
|
1121
|
+
return (m = i.value) == null || m.forEach(({ title: k }, T) => {
|
|
1119
1122
|
f.push({
|
|
1120
1123
|
title: t(k),
|
|
1121
|
-
value:
|
|
1124
|
+
value: T
|
|
1122
1125
|
});
|
|
1123
1126
|
}), f;
|
|
1124
1127
|
});
|
|
1125
|
-
|
|
1128
|
+
Le(() => {
|
|
1126
1129
|
var f;
|
|
1127
1130
|
(f = i.value) == null || f.some((m, k) => m.validator(e.value) ? (a.value = k, !0) : !1);
|
|
1128
1131
|
});
|
|
@@ -1133,21 +1136,21 @@ const Un = { class: "d-flex justify-space-between align-center my-2" }, $n = { c
|
|
|
1133
1136
|
var f;
|
|
1134
1137
|
e.value = (f = u.value) == null ? void 0 : f.default;
|
|
1135
1138
|
}, d = O(0);
|
|
1136
|
-
return
|
|
1139
|
+
return Le(() => {
|
|
1137
1140
|
var f, m;
|
|
1138
|
-
((f = u.value) == null ? void 0 : f.ui) === "pixelInput" ? d.value =
|
|
1139
|
-
}),
|
|
1141
|
+
((f = u.value) == null ? void 0 : f.ui) === "pixelInput" ? d.value = _t(e.value) : ((m = u.value) == null ? void 0 : m.ui) === "percentInput" && (d.value = kt(e.value));
|
|
1142
|
+
}), re(d, (f) => {
|
|
1140
1143
|
var m, k;
|
|
1141
1144
|
((m = u.value) == null ? void 0 : m.ui) === "pixelInput" ? e.value = f + "px" : ((k = u.value) == null ? void 0 : k.ui) === "percentInput" && (e.value = f + "%");
|
|
1142
1145
|
}), (f, m) => {
|
|
1143
|
-
var
|
|
1144
|
-
const k =
|
|
1145
|
-
return
|
|
1146
|
-
F("div",
|
|
1147
|
-
ee(
|
|
1146
|
+
var x, _;
|
|
1147
|
+
const k = U("v-select"), T = U("v-number-input"), M = U("v-btn"), b = le("ripple");
|
|
1148
|
+
return C(), H("div", _n, [
|
|
1149
|
+
F("div", kn, [
|
|
1150
|
+
ee(D(k, {
|
|
1148
1151
|
modelValue: a.value,
|
|
1149
1152
|
"onUpdate:modelValue": [
|
|
1150
|
-
m[0] || (m[0] = (
|
|
1153
|
+
m[0] || (m[0] = (P) => a.value = P),
|
|
1151
1154
|
g
|
|
1152
1155
|
],
|
|
1153
1156
|
density: "compact",
|
|
@@ -1156,16 +1159,16 @@ const Un = { class: "d-flex justify-space-between align-center my-2" }, $n = { c
|
|
|
1156
1159
|
"single-line": ""
|
|
1157
1160
|
}, null, 8, ["modelValue", "items"]), [
|
|
1158
1161
|
[
|
|
1159
|
-
|
|
1162
|
+
b,
|
|
1160
1163
|
void 0,
|
|
1161
1164
|
void 0,
|
|
1162
1165
|
{ stop: !0 }
|
|
1163
1166
|
]
|
|
1164
1167
|
]),
|
|
1165
|
-
((
|
|
1168
|
+
((x = u.value) == null ? void 0 : x.ui) === "pixelInput" || ((_ = u.value) == null ? void 0 : _.ui) === "percentInput" ? ee((C(), B(T, {
|
|
1166
1169
|
key: 0,
|
|
1167
1170
|
modelValue: d.value,
|
|
1168
|
-
"onUpdate:modelValue": m[1] || (m[1] = (
|
|
1171
|
+
"onUpdate:modelValue": m[1] || (m[1] = (P) => d.value = P),
|
|
1169
1172
|
density: "compact",
|
|
1170
1173
|
"control-variant": "stacked",
|
|
1171
1174
|
precision: u.value.precision,
|
|
@@ -1176,27 +1179,27 @@ const Un = { class: "d-flex justify-space-between align-center my-2" }, $n = { c
|
|
|
1176
1179
|
"single-line": ""
|
|
1177
1180
|
}, null, 8, ["modelValue", "precision", "min", "max", "step"])), [
|
|
1178
1181
|
[
|
|
1179
|
-
|
|
1182
|
+
b,
|
|
1180
1183
|
void 0,
|
|
1181
1184
|
void 0,
|
|
1182
1185
|
{ stop: !0 }
|
|
1183
1186
|
]
|
|
1184
1187
|
]) : Y("", !0)
|
|
1185
1188
|
]),
|
|
1186
|
-
f.hasDelete ? (
|
|
1189
|
+
f.hasDelete ? (C(), B(M, {
|
|
1187
1190
|
key: 0,
|
|
1188
1191
|
class: "mx-2",
|
|
1189
1192
|
variant: "text",
|
|
1190
1193
|
density: "compact",
|
|
1191
|
-
icon:
|
|
1192
|
-
onClick: m[2] || (m[2] = z((
|
|
1193
|
-
}
|
|
1194
|
+
icon: "mdi-minus",
|
|
1195
|
+
onClick: m[2] || (m[2] = z((P) => n("delete"), ["stop"]))
|
|
1196
|
+
})) : Y("", !0)
|
|
1194
1197
|
]);
|
|
1195
1198
|
};
|
|
1196
1199
|
}
|
|
1197
1200
|
});
|
|
1198
|
-
function
|
|
1199
|
-
return { renderUiMultiTypes: (t, e, n, l, i) => e.ui !== "multiTypes" ? (console.assert(!1), h("div", "renderUiMultiTypes prop ui must be multiTypes")) : h(
|
|
1201
|
+
function Cn(o) {
|
|
1202
|
+
return { renderUiMultiTypes: (t, e, n, l, i) => e.ui !== "multiTypes" ? (console.assert(!1), h("div", "renderUiMultiTypes prop ui must be multiTypes")) : h(Vn, {
|
|
1200
1203
|
modelValue: ne(
|
|
1201
1204
|
t,
|
|
1202
1205
|
e,
|
|
@@ -1223,7 +1226,7 @@ function Pn(o) {
|
|
|
1223
1226
|
types: e.types
|
|
1224
1227
|
}) };
|
|
1225
1228
|
}
|
|
1226
|
-
const
|
|
1229
|
+
const Sn = /* @__PURE__ */ R({
|
|
1227
1230
|
__name: "editor",
|
|
1228
1231
|
props: {
|
|
1229
1232
|
modelValue: { required: !0 },
|
|
@@ -1235,7 +1238,7 @@ const Mn = /* @__PURE__ */ J({
|
|
|
1235
1238
|
},
|
|
1236
1239
|
emits: ["update:modelValue", "update:lock", "update:scale"],
|
|
1237
1240
|
setup(o, { expose: s }) {
|
|
1238
|
-
const t = G(o, "modelValue"), e = G(o, "lock"), n = G(o, "scale"), l =
|
|
1241
|
+
const t = G(o, "modelValue"), e = G(o, "lock"), n = G(o, "scale"), l = pt(), i = yt(), a = be(), r = Ke("target"), u = () => {
|
|
1239
1242
|
var f;
|
|
1240
1243
|
const d = JSON.parse(t.value);
|
|
1241
1244
|
(f = r.value) == null || f.load(d);
|
|
@@ -1243,7 +1246,7 @@ const Mn = /* @__PURE__ */ J({
|
|
|
1243
1246
|
return s({ save: () => {
|
|
1244
1247
|
const d = r.value.save();
|
|
1245
1248
|
t.value = JSON.stringify(d, null, 2);
|
|
1246
|
-
} }), (d, f) => (
|
|
1249
|
+
} }), (d, f) => (C(), B(L(St), {
|
|
1247
1250
|
ref_key: "target",
|
|
1248
1251
|
ref: r,
|
|
1249
1252
|
lock: e.value,
|
|
@@ -1251,13 +1254,13 @@ const Mn = /* @__PURE__ */ J({
|
|
|
1251
1254
|
scale: n.value,
|
|
1252
1255
|
"onUpdate:scale": f[1] || (f[1] = (m) => n.value = m),
|
|
1253
1256
|
type: "json",
|
|
1254
|
-
version:
|
|
1255
|
-
locale:
|
|
1256
|
-
dark:
|
|
1257
|
+
version: L(a),
|
|
1258
|
+
locale: L(i),
|
|
1259
|
+
dark: L(l),
|
|
1257
1260
|
onReady: u
|
|
1258
1261
|
}, null, 8, ["lock", "scale", "version", "locale", "dark"]));
|
|
1259
1262
|
}
|
|
1260
|
-
}),
|
|
1263
|
+
}), Un = { class: "text-subtitle-1" }, $n = /* @__PURE__ */ R({
|
|
1261
1264
|
__name: "index",
|
|
1262
1265
|
props: {
|
|
1263
1266
|
modelValue: { required: !0 },
|
|
@@ -1272,70 +1275,70 @@ const Mn = /* @__PURE__ */ J({
|
|
|
1272
1275
|
background: n.value,
|
|
1273
1276
|
height: `calc(100% - ${m}px)`
|
|
1274
1277
|
};
|
|
1275
|
-
}), g = K(() => s("x-prop-tree.dlg.jsonObject.title")), { open: d } =
|
|
1276
|
-
|
|
1278
|
+
}), g = K(() => s("x-prop-tree.dlg.jsonObject.title")), { open: d } = Ce(`propTreeJsonObjectDlg${Me()}`);
|
|
1279
|
+
we(() => {
|
|
1277
1280
|
d.value = !1;
|
|
1278
1281
|
});
|
|
1279
|
-
const f =
|
|
1280
|
-
return
|
|
1282
|
+
const f = Ke("editor");
|
|
1283
|
+
return re(d, (m) => {
|
|
1281
1284
|
var k;
|
|
1282
1285
|
m || (k = f.value) == null || k.save();
|
|
1283
1286
|
}), (m, k) => {
|
|
1284
|
-
const
|
|
1285
|
-
return
|
|
1286
|
-
modelValue:
|
|
1287
|
-
"onUpdate:modelValue": k[4] || (k[4] = (_) =>
|
|
1287
|
+
const T = U("v-btn"), M = U("v-sheet"), b = U("v-spacer"), x = U("v-dialog");
|
|
1288
|
+
return C(), B(x, {
|
|
1289
|
+
modelValue: L(d),
|
|
1290
|
+
"onUpdate:modelValue": k[4] || (k[4] = (_) => ve(d) ? d.value = _ : null),
|
|
1288
1291
|
transition: "dialog-bottom-transition",
|
|
1289
1292
|
persistent: "",
|
|
1290
1293
|
"no-click-animation": "",
|
|
1291
1294
|
fullscreen: "",
|
|
1292
1295
|
attach: "",
|
|
1293
|
-
onKeydown: k[5] || (k[5] =
|
|
1296
|
+
onKeydown: k[5] || (k[5] = Be(z((_) => d.value = !1, ["stop", "prevent"]), ["esc"]))
|
|
1294
1297
|
}, {
|
|
1295
|
-
activator:
|
|
1296
|
-
|
|
1298
|
+
activator: J(({ props: _ }) => [
|
|
1299
|
+
D(T, De(_, {
|
|
1297
1300
|
density: "comfortable",
|
|
1298
1301
|
block: ""
|
|
1299
1302
|
}), {
|
|
1300
|
-
default:
|
|
1301
|
-
|
|
1303
|
+
default: J(() => [
|
|
1304
|
+
Ve(Q(g.value), 1)
|
|
1302
1305
|
]),
|
|
1303
1306
|
_: 2
|
|
1304
1307
|
}, 1040)
|
|
1305
1308
|
]),
|
|
1306
|
-
default:
|
|
1307
|
-
|
|
1308
|
-
color:
|
|
1309
|
+
default: J(() => [
|
|
1310
|
+
D(M, {
|
|
1311
|
+
color: L(e),
|
|
1309
1312
|
width: "100%",
|
|
1310
1313
|
height: "100%"
|
|
1311
1314
|
}, {
|
|
1312
|
-
default:
|
|
1313
|
-
|
|
1315
|
+
default: J(() => [
|
|
1316
|
+
L(t) ? (C(), B(M, {
|
|
1314
1317
|
key: 0,
|
|
1315
|
-
color:
|
|
1318
|
+
color: L(l),
|
|
1316
1319
|
height: 24
|
|
1317
1320
|
}, null, 8, ["color"])) : Y("", !0),
|
|
1318
|
-
|
|
1321
|
+
D(M, {
|
|
1319
1322
|
class: "d-flex align-center px-2",
|
|
1320
|
-
color:
|
|
1323
|
+
color: L(l),
|
|
1321
1324
|
height: 48
|
|
1322
1325
|
}, {
|
|
1323
|
-
default:
|
|
1324
|
-
|
|
1326
|
+
default: J(() => [
|
|
1327
|
+
D(T, {
|
|
1325
1328
|
variant: "text",
|
|
1326
1329
|
density: "comfortable",
|
|
1327
|
-
icon:
|
|
1330
|
+
icon: "mdi-close",
|
|
1328
1331
|
onClick: k[0] || (k[0] = (_) => d.value = !1)
|
|
1329
|
-
}
|
|
1330
|
-
F("span",
|
|
1331
|
-
b
|
|
1332
|
+
}),
|
|
1333
|
+
F("span", Un, Q(L(s)("x-prop-tree.dlg.jsonObject.title")), 1),
|
|
1334
|
+
D(b)
|
|
1332
1335
|
]),
|
|
1333
1336
|
_: 1
|
|
1334
1337
|
}, 8, ["color"]),
|
|
1335
1338
|
F("div", {
|
|
1336
1339
|
style: I(u.value)
|
|
1337
1340
|
}, [
|
|
1338
|
-
|
|
1341
|
+
D(Sn, {
|
|
1339
1342
|
ref_key: "editor",
|
|
1340
1343
|
ref: f,
|
|
1341
1344
|
modelValue: i.value,
|
|
@@ -1355,8 +1358,8 @@ const Mn = /* @__PURE__ */ J({
|
|
|
1355
1358
|
};
|
|
1356
1359
|
}
|
|
1357
1360
|
});
|
|
1358
|
-
function
|
|
1359
|
-
return { renderUiJsonEditor: (t, e, n, l, i) => e.ui !== "jsonEditor" ? h("div", "renderUiJsonObject prop ui must be jsonEditor") : h(
|
|
1361
|
+
function xn(o) {
|
|
1362
|
+
return { renderUiJsonEditor: (t, e, n, l, i) => e.ui !== "jsonEditor" ? h("div", "renderUiJsonObject prop ui must be jsonEditor") : h($n, {
|
|
1360
1363
|
modelValue: ne(
|
|
1361
1364
|
t,
|
|
1362
1365
|
e,
|
|
@@ -1378,7 +1381,7 @@ function bn(o) {
|
|
|
1378
1381
|
}
|
|
1379
1382
|
}) };
|
|
1380
1383
|
}
|
|
1381
|
-
const
|
|
1384
|
+
const Pn = /* @__PURE__ */ R({
|
|
1382
1385
|
__name: "index",
|
|
1383
1386
|
props: {
|
|
1384
1387
|
unique: {},
|
|
@@ -1388,99 +1391,99 @@ const An = /* @__PURE__ */ J({
|
|
|
1388
1391
|
},
|
|
1389
1392
|
emits: ["change"],
|
|
1390
1393
|
setup(o, { emit: s }) {
|
|
1391
|
-
const { t } = te(), { backgroundColor1: e } = ie(), n = o, l = s, i = O("20px"), a = O("56px"), r = O("200px"), u =
|
|
1392
|
-
|
|
1394
|
+
const { t } = te(), { backgroundColor1: e } = ie(), n = o, l = s, i = O("20px"), a = O("56px"), r = O("200px"), u = ft({}), g = O({}), d = (p, c) => {
|
|
1395
|
+
Oe(g, n.config, n.object), l("change", p, c);
|
|
1393
1396
|
};
|
|
1394
|
-
|
|
1397
|
+
re(
|
|
1395
1398
|
[() => n.config, () => n.object],
|
|
1396
1399
|
() => {
|
|
1397
|
-
|
|
1400
|
+
Oe(g, n.config, n.object, (p, c) => {
|
|
1398
1401
|
l("change", p, c);
|
|
1399
1402
|
});
|
|
1400
1403
|
},
|
|
1401
1404
|
{ immediate: !0 }
|
|
1402
1405
|
);
|
|
1403
1406
|
const f = O(n.version);
|
|
1404
|
-
|
|
1407
|
+
At(f), re(
|
|
1405
1408
|
() => n.version,
|
|
1406
1409
|
() => {
|
|
1407
1410
|
f.value = n.version;
|
|
1408
1411
|
}
|
|
1409
1412
|
);
|
|
1410
1413
|
const m = O(n.config);
|
|
1411
|
-
|
|
1414
|
+
bt(m), re(
|
|
1412
1415
|
() => n.config,
|
|
1413
1416
|
() => {
|
|
1414
1417
|
m.value = n.config;
|
|
1415
1418
|
}
|
|
1416
1419
|
);
|
|
1417
1420
|
const k = O(n.object);
|
|
1418
|
-
|
|
1421
|
+
Lt(k), re(
|
|
1419
1422
|
() => n.object,
|
|
1420
1423
|
() => {
|
|
1421
1424
|
k.value = n.object;
|
|
1422
1425
|
}
|
|
1423
|
-
),
|
|
1424
|
-
const
|
|
1425
|
-
|
|
1426
|
-
const
|
|
1427
|
-
const { compGroups: p, comps: c } =
|
|
1428
|
-
p.forEach(({ id: v, name: V, position:
|
|
1429
|
-
const
|
|
1426
|
+
), Ot(g), Bt(d);
|
|
1427
|
+
const T = O([]);
|
|
1428
|
+
Jt(T);
|
|
1429
|
+
const M = () => {
|
|
1430
|
+
const { compGroups: p, comps: c } = Vt.app.activeApp, y = [];
|
|
1431
|
+
p.forEach(({ id: v, name: V, position: $ }) => {
|
|
1432
|
+
const w = T.value.find((E) => E.id === v);
|
|
1430
1433
|
y.push({
|
|
1431
1434
|
id: v,
|
|
1432
1435
|
type: 0,
|
|
1433
1436
|
name: V,
|
|
1434
|
-
position:
|
|
1435
|
-
collapse: (
|
|
1437
|
+
position: $,
|
|
1438
|
+
collapse: (w == null ? void 0 : w.collapse) ?? !0
|
|
1436
1439
|
});
|
|
1437
|
-
}), c.forEach(({ id: v, groupid: V, name:
|
|
1438
|
-
y.push({ id: v, type: 1, name:
|
|
1439
|
-
}),
|
|
1440
|
+
}), c.forEach(({ id: v, groupid: V, name: $, position: w }) => {
|
|
1441
|
+
y.push({ id: v, type: 1, name: $, position: w, group: V });
|
|
1442
|
+
}), ht(y, !0), T.value = y;
|
|
1440
1443
|
};
|
|
1441
|
-
let
|
|
1442
|
-
const
|
|
1443
|
-
clearTimeout(
|
|
1444
|
-
|
|
1444
|
+
let b;
|
|
1445
|
+
const x = () => {
|
|
1446
|
+
clearTimeout(b), b = window.setTimeout(() => {
|
|
1447
|
+
M(), b && x();
|
|
1445
1448
|
}, 1e3);
|
|
1446
1449
|
}, _ = () => {
|
|
1447
|
-
clearTimeout(
|
|
1450
|
+
clearTimeout(b), b = void 0;
|
|
1448
1451
|
};
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
}),
|
|
1452
|
+
mt(() => {
|
|
1453
|
+
x();
|
|
1454
|
+
}), vt(() => {
|
|
1452
1455
|
_();
|
|
1453
1456
|
});
|
|
1454
|
-
const { renderProp:
|
|
1457
|
+
const { renderProp: P } = Ft(g, a, r), { renderUiDummy: N } = zt(d), { renderUiStrInput: Z } = Wt(d), { renderUiNumInput: xe } = Et(d), { renderUiSwitch: Ee } = en(d), { renderUiSelect: je } = ln(d), { renderUiColorPicker: Ie } = hn(d), { renderUiJsonEditor: et } = xn(d), { renderUiMultiTypes: tt } = Cn(d), { renderUiCompSelect: nt } = pn(d), pe = (p, c, y, v, V, $) => (p = Re(p), V !== void 0 ? (p.push(V), $ && p.push(c.key)) : p.push(c.key), c.ui ? c.array && v ? st(p, c, y, v, V, $) : it(p, c, y, V, $) : c.array ? lt(p, c, y, v, V, $) : ot(
|
|
1455
1458
|
p,
|
|
1456
1459
|
c,
|
|
1457
1460
|
y,
|
|
1458
1461
|
v,
|
|
1459
1462
|
V,
|
|
1460
|
-
|
|
1461
|
-
)),
|
|
1463
|
+
$
|
|
1464
|
+
)), lt = (p, c, y, v, V, $) => {
|
|
1462
1465
|
if (c.ui)
|
|
1463
1466
|
return console.assert(!1), h("div", "renderBranchArray prop ui must be invalid");
|
|
1464
1467
|
if (!c.array)
|
|
1465
1468
|
return console.assert(!1), h("div", "renderBranchArray prop array must be valid");
|
|
1466
1469
|
if (!v)
|
|
1467
1470
|
return console.assert(!1), h("div", "renderBranchArray branch must be valid");
|
|
1468
|
-
let
|
|
1469
|
-
V !== void 0 &&
|
|
1471
|
+
let w;
|
|
1472
|
+
V !== void 0 && !$ ? (y[V] instanceof Array || (y[V] = q(c), d(p, y[c.key])), w = y[V]) : (y[c.key] instanceof Array || (y[c.key] = q(c), d(p, y[c.key])), w = y[c.key]);
|
|
1470
1473
|
let E = t(c.name);
|
|
1471
|
-
v.collapse &&
|
|
1472
|
-
const
|
|
1474
|
+
v.collapse && ae(g.value, p) && (E += " *");
|
|
1475
|
+
const fe = h(_e, {
|
|
1473
1476
|
title: E,
|
|
1474
1477
|
collapse: v.collapse,
|
|
1475
1478
|
hasCreate: !0,
|
|
1476
|
-
onCollapse: (
|
|
1477
|
-
v.collapse =
|
|
1479
|
+
onCollapse: (S) => {
|
|
1480
|
+
v.collapse = S;
|
|
1478
1481
|
},
|
|
1479
|
-
onMenu: (
|
|
1480
|
-
|
|
1482
|
+
onMenu: (S, A) => {
|
|
1483
|
+
ue.emit("propTreeMenu", { x: S, y: A, keys: p });
|
|
1481
1484
|
},
|
|
1482
1485
|
onCreate: () => {
|
|
1483
|
-
|
|
1486
|
+
w.push({}), d(p, w);
|
|
1484
1487
|
}
|
|
1485
1488
|
}), X = h(
|
|
1486
1489
|
"div",
|
|
@@ -1490,9 +1493,9 @@ const An = /* @__PURE__ */ J({
|
|
|
1490
1493
|
}
|
|
1491
1494
|
},
|
|
1492
1495
|
(() => {
|
|
1493
|
-
const
|
|
1494
|
-
for (let A = 0; A <
|
|
1495
|
-
if (!
|
|
1496
|
+
const S = [];
|
|
1497
|
+
for (let A = 0; A < w.length; A++) {
|
|
1498
|
+
if (!Pe(v.children)) {
|
|
1496
1499
|
console.assert(!1);
|
|
1497
1500
|
break;
|
|
1498
1501
|
}
|
|
@@ -1500,34 +1503,34 @@ const An = /* @__PURE__ */ J({
|
|
|
1500
1503
|
collapse: !0,
|
|
1501
1504
|
children: {}
|
|
1502
1505
|
});
|
|
1503
|
-
const
|
|
1504
|
-
let
|
|
1505
|
-
v.children[A].collapse &&
|
|
1506
|
-
const
|
|
1507
|
-
title:
|
|
1506
|
+
const ye = [...p, A], ge = v.children[A];
|
|
1507
|
+
let Te = `[${A + 1}]`;
|
|
1508
|
+
v.children[A].collapse && ae(g.value, ye) && (Te += " *");
|
|
1509
|
+
const ut = h(_e, {
|
|
1510
|
+
title: Te,
|
|
1508
1511
|
collapse: v.children[A].collapse,
|
|
1509
1512
|
hasDelete: !0,
|
|
1510
1513
|
index: A,
|
|
1511
1514
|
onCollapse: (j) => {
|
|
1512
|
-
if (!
|
|
1515
|
+
if (!Pe(v.children)) {
|
|
1513
1516
|
console.assert(!1);
|
|
1514
1517
|
return;
|
|
1515
1518
|
}
|
|
1516
1519
|
v.children[A].collapse = j;
|
|
1517
1520
|
},
|
|
1518
1521
|
onMenu: (j, se) => {
|
|
1519
|
-
|
|
1522
|
+
ue.emit("propTreeMenu", { x: j, y: se, keys: ye });
|
|
1520
1523
|
},
|
|
1521
1524
|
onDelete: (j) => {
|
|
1522
|
-
if (!
|
|
1525
|
+
if (!Pe(v.children)) {
|
|
1523
1526
|
console.assert(!1);
|
|
1524
1527
|
return;
|
|
1525
1528
|
}
|
|
1526
|
-
v.children.splice(j, 1),
|
|
1529
|
+
v.children.splice(j, 1), w.splice(j, 1), d(p, w);
|
|
1527
1530
|
}
|
|
1528
1531
|
});
|
|
1529
|
-
|
|
1530
|
-
const
|
|
1532
|
+
S.push(ut);
|
|
1533
|
+
const at = h(
|
|
1531
1534
|
"div",
|
|
1532
1535
|
{
|
|
1533
1536
|
style: {
|
|
@@ -1537,29 +1540,29 @@ const An = /* @__PURE__ */ J({
|
|
|
1537
1540
|
(() => {
|
|
1538
1541
|
const j = [];
|
|
1539
1542
|
return c.children.forEach((se) => {
|
|
1540
|
-
if (!
|
|
1543
|
+
if (!Ne(ge.children)) {
|
|
1541
1544
|
console.assert(!1);
|
|
1542
1545
|
return;
|
|
1543
1546
|
}
|
|
1544
|
-
|
|
1547
|
+
ge.children[se.key] || (ge.children[se.key] = {
|
|
1545
1548
|
collapse: !0,
|
|
1546
1549
|
children: se.array ? [] : {}
|
|
1547
1550
|
});
|
|
1548
|
-
const
|
|
1551
|
+
const ct = pe(
|
|
1549
1552
|
p,
|
|
1550
1553
|
se,
|
|
1551
|
-
|
|
1552
|
-
|
|
1554
|
+
w[A],
|
|
1555
|
+
ge.children[se.key],
|
|
1553
1556
|
A,
|
|
1554
1557
|
!0
|
|
1555
1558
|
);
|
|
1556
|
-
j.push(
|
|
1559
|
+
j.push(ct);
|
|
1557
1560
|
}), j;
|
|
1558
1561
|
})()
|
|
1559
1562
|
);
|
|
1560
|
-
v.children[A].collapse ||
|
|
1563
|
+
v.children[A].collapse || S.push(at);
|
|
1561
1564
|
}
|
|
1562
|
-
return
|
|
1565
|
+
return S;
|
|
1563
1566
|
})()
|
|
1564
1567
|
);
|
|
1565
1568
|
return h(
|
|
@@ -1570,33 +1573,33 @@ const An = /* @__PURE__ */ J({
|
|
|
1570
1573
|
}
|
|
1571
1574
|
},
|
|
1572
1575
|
(() => {
|
|
1573
|
-
const
|
|
1574
|
-
return
|
|
1576
|
+
const S = [];
|
|
1577
|
+
return S.push(fe), v.collapse || S.push(X), S;
|
|
1575
1578
|
})()
|
|
1576
1579
|
);
|
|
1577
|
-
},
|
|
1580
|
+
}, ot = (p, c, y, v, V, $) => {
|
|
1578
1581
|
if (c.ui)
|
|
1579
1582
|
return console.assert(!1), h("div", "renderBranchScalar prop ui must be invalid");
|
|
1580
1583
|
if (c.array)
|
|
1581
1584
|
return console.assert(!1), h("div", "renderBranchScalar prop array must be invalid");
|
|
1582
1585
|
if (!v)
|
|
1583
1586
|
return console.assert(!1), h("div", "renderBranchScalar branch must be valid");
|
|
1584
|
-
let
|
|
1585
|
-
v.collapse &&
|
|
1586
|
-
const E = h(
|
|
1587
|
-
title:
|
|
1587
|
+
let w = t(c.name);
|
|
1588
|
+
v.collapse && ae(g.value, p) && (w += " *");
|
|
1589
|
+
const E = h(_e, {
|
|
1590
|
+
title: w,
|
|
1588
1591
|
collapse: v.collapse,
|
|
1589
|
-
hasDelete: V !== void 0 &&
|
|
1592
|
+
hasDelete: V !== void 0 && !$,
|
|
1590
1593
|
onCollapse: (X) => {
|
|
1591
1594
|
v.collapse = X;
|
|
1592
1595
|
},
|
|
1593
|
-
onMenu: (X,
|
|
1594
|
-
|
|
1596
|
+
onMenu: (X, S) => {
|
|
1597
|
+
ue.emit("propTreeMenu", { x: X, y: S, keys: p });
|
|
1595
1598
|
},
|
|
1596
1599
|
onDelete: () => {
|
|
1597
|
-
V === void 0 ||
|
|
1600
|
+
V === void 0 || $ || (y.splice(V, 1), d(p.slice(0, -1), y));
|
|
1598
1601
|
}
|
|
1599
|
-
}),
|
|
1602
|
+
}), fe = h(
|
|
1600
1603
|
"div",
|
|
1601
1604
|
{
|
|
1602
1605
|
style: {
|
|
@@ -1605,20 +1608,20 @@ const An = /* @__PURE__ */ J({
|
|
|
1605
1608
|
},
|
|
1606
1609
|
(() => {
|
|
1607
1610
|
const X = [];
|
|
1608
|
-
return c.children.forEach((
|
|
1609
|
-
if (!
|
|
1611
|
+
return c.children.forEach((S) => {
|
|
1612
|
+
if (!Ne(v.children)) {
|
|
1610
1613
|
console.assert(!1);
|
|
1611
1614
|
return;
|
|
1612
1615
|
}
|
|
1613
|
-
v.children[
|
|
1616
|
+
v.children[S.key] || (v.children[S.key] = {
|
|
1614
1617
|
collapse: !0,
|
|
1615
|
-
children: !
|
|
1618
|
+
children: !S.ui && S.array ? [] : {}
|
|
1616
1619
|
});
|
|
1617
|
-
const A =
|
|
1620
|
+
const A = pe(
|
|
1618
1621
|
p,
|
|
1619
|
-
|
|
1622
|
+
S,
|
|
1620
1623
|
(typeof y[c.key] != "object" && (y[c.key] = {}, d(p, y[c.key])), y[c.key]),
|
|
1621
|
-
v.children[
|
|
1624
|
+
v.children[S.key]
|
|
1622
1625
|
);
|
|
1623
1626
|
X.push(A);
|
|
1624
1627
|
}), X;
|
|
@@ -1633,32 +1636,32 @@ const An = /* @__PURE__ */ J({
|
|
|
1633
1636
|
},
|
|
1634
1637
|
(() => {
|
|
1635
1638
|
const X = [];
|
|
1636
|
-
return X.push(E), v.collapse || X.push(
|
|
1639
|
+
return X.push(E), v.collapse || X.push(fe), X;
|
|
1637
1640
|
})()
|
|
1638
1641
|
);
|
|
1639
|
-
},
|
|
1642
|
+
}, st = (p, c, y, v, V, $) => {
|
|
1640
1643
|
if (!c.ui)
|
|
1641
1644
|
return console.assert(!1), h("div", "renderLeafArray prop ui must be valid");
|
|
1642
1645
|
if (!c.array)
|
|
1643
1646
|
return console.assert(!1), h("div", "renderLeafArray prop array must be valid");
|
|
1644
1647
|
if (!v)
|
|
1645
1648
|
return console.assert(!1), h("div", "renderLeafArray branch must be valid");
|
|
1646
|
-
let
|
|
1647
|
-
V !== void 0 &&
|
|
1649
|
+
let w;
|
|
1650
|
+
V !== void 0 && !$ ? (y[V] instanceof Array || (y[V] = q(c), d(p, y[V])), w = y[V]) : (y[c.key] instanceof Array || (y[c.key] = q(c), d(p, y[c.key])), w = y[c.key]);
|
|
1648
1651
|
let E = t(c.name);
|
|
1649
|
-
v.collapse &&
|
|
1650
|
-
const
|
|
1652
|
+
v.collapse && ae(g.value, p) && (E += " *");
|
|
1653
|
+
const fe = h(_e, {
|
|
1651
1654
|
title: E,
|
|
1652
1655
|
collapse: v.collapse,
|
|
1653
1656
|
hasCreate: !0,
|
|
1654
|
-
onCollapse: (
|
|
1655
|
-
v.collapse =
|
|
1657
|
+
onCollapse: (S) => {
|
|
1658
|
+
v.collapse = S;
|
|
1656
1659
|
},
|
|
1657
|
-
onMenu: (
|
|
1658
|
-
|
|
1660
|
+
onMenu: (S, A) => {
|
|
1661
|
+
ue.emit("propTreeMenu", { x: S, y: A, keys: p });
|
|
1659
1662
|
},
|
|
1660
1663
|
onCreate: () => {
|
|
1661
|
-
|
|
1664
|
+
w.push(q(c, !0)), d(p, w);
|
|
1662
1665
|
}
|
|
1663
1666
|
}), X = h(
|
|
1664
1667
|
"div",
|
|
@@ -1668,12 +1671,12 @@ const An = /* @__PURE__ */ J({
|
|
|
1668
1671
|
}
|
|
1669
1672
|
},
|
|
1670
1673
|
(() => {
|
|
1671
|
-
const
|
|
1672
|
-
for (let A = 0; A <
|
|
1673
|
-
const
|
|
1674
|
-
|
|
1674
|
+
const S = [];
|
|
1675
|
+
for (let A = 0; A < w.length; A++) {
|
|
1676
|
+
const ye = pe(p, c, w, void 0, A, !1);
|
|
1677
|
+
S.push(ye);
|
|
1675
1678
|
}
|
|
1676
|
-
return
|
|
1679
|
+
return S;
|
|
1677
1680
|
})()
|
|
1678
1681
|
);
|
|
1679
1682
|
return h(
|
|
@@ -1684,16 +1687,16 @@ const An = /* @__PURE__ */ J({
|
|
|
1684
1687
|
}
|
|
1685
1688
|
},
|
|
1686
1689
|
(() => {
|
|
1687
|
-
const
|
|
1688
|
-
return
|
|
1690
|
+
const S = [];
|
|
1691
|
+
return S.push(fe), v.collapse || S.push(X), S;
|
|
1689
1692
|
})()
|
|
1690
1693
|
);
|
|
1691
|
-
},
|
|
1694
|
+
}, it = (p, c, y, v, V) => {
|
|
1692
1695
|
if (!c.ui)
|
|
1693
1696
|
return console.assert(!1), h("div", "renderLeafScalar prop ui must be valid");
|
|
1694
|
-
let
|
|
1695
|
-
return c.ui === "dummy" ?
|
|
1696
|
-
},
|
|
1697
|
+
let $;
|
|
1698
|
+
return c.ui === "dummy" ? $ = N(p, c, y, v, V) : c.ui === "strInput" ? $ = Z(p, c, y, v, V) : c.ui === "numInput" ? $ = xe(p, c, y, v, V) : c.ui === "switch" ? $ = Ee(p, c, y, v, V) : c.ui === "select" ? $ = je(p, c, y, v, V) : c.ui === "colorPicker" ? $ = Ie(p, c, y, v, V) : c.ui === "jsonEditor" ? $ = et(p, c, y, v, V) : c.ui === "multiTypes" ? $ = tt(p, c, y, v, V) : c.ui === "compSelect" ? $ = nt(p, c, y, v, V) : console.assert(!1, "renderLeafScalar not implemented"), $ ? P(p, c, $) : h("div");
|
|
1699
|
+
}, rt = () => h(
|
|
1697
1700
|
"div",
|
|
1698
1701
|
{
|
|
1699
1702
|
class: "text-body-2",
|
|
@@ -1711,25 +1714,25 @@ const An = /* @__PURE__ */ J({
|
|
|
1711
1714
|
collapse: !0,
|
|
1712
1715
|
children: !y.ui && y.array ? [] : {}
|
|
1713
1716
|
});
|
|
1714
|
-
const v =
|
|
1717
|
+
const v = pe([], y, n.object, c[y.key]);
|
|
1715
1718
|
p.push(v);
|
|
1716
1719
|
});
|
|
1717
1720
|
}
|
|
1718
1721
|
return p;
|
|
1719
1722
|
})()
|
|
1720
1723
|
);
|
|
1721
|
-
return (p, c) => (
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
+
return (p, c) => (C(), H(ke, null, [
|
|
1725
|
+
D(rt),
|
|
1726
|
+
D(Rt, {
|
|
1724
1727
|
config: n.config,
|
|
1725
1728
|
object: n.object,
|
|
1726
1729
|
"prop-states": g.value
|
|
1727
1730
|
}, null, 8, ["config", "object", "prop-states"])
|
|
1728
1731
|
], 64));
|
|
1729
1732
|
}
|
|
1730
|
-
}),
|
|
1731
|
-
o.component("XPropTree",
|
|
1732
|
-
},
|
|
1733
|
+
}), Mn = (o) => {
|
|
1734
|
+
o.component("XPropTree", Pn);
|
|
1735
|
+
}, wn = (o, s, t) => {
|
|
1733
1736
|
const e = o[s];
|
|
1734
1737
|
return e ? typeof e == "function" ? e() : Promise.resolve(e) : new Promise((n, l) => {
|
|
1735
1738
|
(typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(
|
|
@@ -1742,11 +1745,11 @@ const An = /* @__PURE__ */ J({
|
|
|
1742
1745
|
);
|
|
1743
1746
|
});
|
|
1744
1747
|
};
|
|
1745
|
-
async function
|
|
1746
|
-
return (await
|
|
1748
|
+
async function Bn(o) {
|
|
1749
|
+
return (await wn(/* @__PURE__ */ Object.assign({ "./locales/en/index.ts": () => import("./i18n-en.n11iysmh.js"), "./locales/zhHans/index.ts": () => import("./i18n-zhHans.hr18mfah.js") }), `./locales/${o}/index.ts`, 4)).default;
|
|
1747
1750
|
}
|
|
1748
|
-
const
|
|
1751
|
+
const Kn = { install: Mn };
|
|
1749
1752
|
export {
|
|
1750
|
-
|
|
1751
|
-
|
|
1753
|
+
Kn as default,
|
|
1754
|
+
Bn as loadLocaleMessagePropTree
|
|
1752
1755
|
};
|