x-prop-tree 0.8.9 → 0.8.11
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 +1215 -1040
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { a as e, i as t, n, r, t as i } from "./vendor.jothdq5o.js";
|
|
2
|
-
import { Fragment as a, computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createTextVNode as d, createVNode as f, defineComponent as p, h as m, inject as h, isRef as g, mergeModels as _, mergeProps as v, normalizeStyle as y, onBeforeUnmount as b, onMounted as x, onUnmounted as S, openBlock as C, provide as w, ref as T, renderList as E, renderSlot as
|
|
3
|
-
import { getElement as
|
|
4
|
-
import { useI18n as
|
|
5
|
-
import { eventBus as
|
|
2
|
+
import { Fragment as a, computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createTextVNode as d, createVNode as f, defineComponent as p, h as m, inject as h, isRef as g, mergeModels as _, mergeProps as v, normalizeStyle as y, onBeforeUnmount as b, onMounted as x, onUnmounted as S, openBlock as C, provide as w, ref as T, renderList as E, renderSlot as D, resolveComponent as O, resolveDirective as k, toDisplayString as A, unref as j, useId as M, useModel as N, useTemplateRef as ee, watch as P, watchEffect as F, withCtx as I, withDirectives as L, withKeys as R, withModifiers as z } from "vue";
|
|
3
|
+
import { getElement as te, getItems as ne, getPropertyDefault as B, getPropertyDefaultArray as re, getTag as ie, getTypes as ae, isHexColor as oe, isThemeColor as se, makeSlotId as ce, parsePercent as le, parsePixel as ue, pkgs as de, rules as fe, themeColors as pe } from "x-runtime-lib";
|
|
4
|
+
import { useI18n as V } from "vue-i18n";
|
|
5
|
+
import { eventBus as H, globalObjects as me, injectDark as he, injectLocale as ge, openNumberDlg as _e, openPromptDlg as ve, useColor as U, useSystem as W, useViewStack as G } from "x-essential-lib";
|
|
6
6
|
import { globalState as ye } from "x-state-lib";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
7
|
+
import { useDisplay as be } from "vuetify";
|
|
8
|
+
import { XBlockly as xe } from "x-block-lib";
|
|
9
9
|
//#region src/utils/common.ts
|
|
10
|
-
function
|
|
10
|
+
function K(e, t) {
|
|
11
11
|
let n = {
|
|
12
12
|
key: "",
|
|
13
13
|
name: "",
|
|
@@ -20,7 +20,7 @@ function G(e, t) {
|
|
|
20
20
|
}
|
|
21
21
|
return n;
|
|
22
22
|
}
|
|
23
|
-
function
|
|
23
|
+
function q(e, t) {
|
|
24
24
|
let n = e;
|
|
25
25
|
for (let e of t) {
|
|
26
26
|
if (!n) throw Error("target must be valid");
|
|
@@ -31,39 +31,39 @@ function K(e, t) {
|
|
|
31
31
|
function Se(e, n, r, i, a, o) {
|
|
32
32
|
if (i !== void 0 && !a) {
|
|
33
33
|
if (!(r[i] instanceof Array)) {
|
|
34
|
-
let a =
|
|
34
|
+
let a = re(n);
|
|
35
35
|
t(a, r[i]) || (r[i] = a, o(e, r[i]));
|
|
36
36
|
}
|
|
37
37
|
return r[i];
|
|
38
38
|
} else {
|
|
39
39
|
if (!(r[n.key] instanceof Array)) {
|
|
40
|
-
let i =
|
|
40
|
+
let i = re(n);
|
|
41
41
|
t(i, r[n.key]) || (r[n.key] = i, o(e, r[n.key]));
|
|
42
42
|
}
|
|
43
43
|
return r[n.key];
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
-
function
|
|
46
|
+
function J(e, n, r, i, a, o) {
|
|
47
47
|
if (i !== void 0 && !a) {
|
|
48
48
|
if (r[i] === void 0) {
|
|
49
|
-
let a =
|
|
49
|
+
let a = B(n);
|
|
50
50
|
t(a, r[i]) || (r[i] = a, o(e, r[i]));
|
|
51
51
|
}
|
|
52
52
|
return r[i];
|
|
53
53
|
} else {
|
|
54
54
|
if (r[n.key] === void 0) {
|
|
55
|
-
let i =
|
|
55
|
+
let i = B(n);
|
|
56
56
|
t(i, r[n.key]) || (r[n.key] = i, o(e, r[n.key]));
|
|
57
57
|
}
|
|
58
58
|
return r[n.key];
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
|
-
function
|
|
61
|
+
function Y(e, t, n, r, i, a, o) {
|
|
62
62
|
i !== void 0 && !a ? r !== n[i] && (n[i] = r, o(e, n[i])) : r !== n[t.key] && (n[t.key] = r, o(e, n[t.key]));
|
|
63
63
|
}
|
|
64
64
|
//#endregion
|
|
65
65
|
//#region src/utils/collapseState.ts
|
|
66
|
-
function
|
|
66
|
+
function X(e, t) {
|
|
67
67
|
let n = e.value;
|
|
68
68
|
for (let e of t) {
|
|
69
69
|
if (!n.children[e]) return !0;
|
|
@@ -71,7 +71,7 @@ function Y(e, t) {
|
|
|
71
71
|
}
|
|
72
72
|
return n.collapse;
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function Z(e, t, n) {
|
|
75
75
|
let r = e.value;
|
|
76
76
|
for (let e of t) r.children[e] || (r.children[e] = {
|
|
77
77
|
collapse: !0,
|
|
@@ -94,16 +94,16 @@ var Ce = (e, t) => {
|
|
|
94
94
|
function Te(e) {
|
|
95
95
|
return we.find((n) => t(e, n));
|
|
96
96
|
}
|
|
97
|
-
function
|
|
97
|
+
function Ee(t, n, r, i, a, o) {
|
|
98
98
|
return t = e(t), a === void 0 ? t.push(n.key) : (t.push(a), o && t.push(n.key)), t?.[0] === "runtime" ? {
|
|
99
99
|
change: !1,
|
|
100
100
|
warning: !1
|
|
101
101
|
} : Te(t) ? (i.change = !1, i.warning = !1, {
|
|
102
102
|
change: i.change,
|
|
103
103
|
warning: i.warning
|
|
104
|
-
}) : n.ui ? n.array && i.children ?
|
|
104
|
+
}) : n.ui ? n.array && i.children ? ke(t, n, r, i, a, o) : Ae(n, r, i, a, o) : n.array ? De(t, n, r, i, a, o) : Oe(t, n, r, i, a, o);
|
|
105
105
|
}
|
|
106
|
-
function
|
|
106
|
+
function De(e, n, r, i, a, o) {
|
|
107
107
|
if (n.ui) throw Error("execPropertyBranchArray property ui must be invalid");
|
|
108
108
|
if (!n.array) throw Error("execPropertyBranchArray property array must be valid");
|
|
109
109
|
let s;
|
|
@@ -124,16 +124,16 @@ function Ee(e, n, r, i, a, o) {
|
|
|
124
124
|
warning: !1,
|
|
125
125
|
children: {}
|
|
126
126
|
};
|
|
127
|
-
let { change: n, warning: o } =
|
|
127
|
+
let { change: n, warning: o } = Ee(e, a, s[t], r.children[a.key], t, !0);
|
|
128
128
|
!r.change && n && (r.change = n), !r.change && o && (r.warning = o), !i.change && r.change && (i.change = r.change), !i.warning && r.warning && (i.warning = r.warning);
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
|
-
return i.change ||= !t(s,
|
|
131
|
+
return i.change ||= !t(s, re(n)), {
|
|
132
132
|
change: i.change,
|
|
133
133
|
warning: i.warning
|
|
134
134
|
};
|
|
135
135
|
}
|
|
136
|
-
function
|
|
136
|
+
function Oe(e, t, n, r, i, a) {
|
|
137
137
|
if (t.ui) throw Error("execPropertyBranchScalar property ui must be invalid");
|
|
138
138
|
if (t.array) throw Error("execPropertyBranchScalar property array must be invalid");
|
|
139
139
|
let o;
|
|
@@ -148,7 +148,7 @@ function De(e, t, n, r, i, a) {
|
|
|
148
148
|
warning: !1,
|
|
149
149
|
children: {}
|
|
150
150
|
};
|
|
151
|
-
let { change: a, warning: s } =
|
|
151
|
+
let { change: a, warning: s } = Ee(e, i, o, r.children[i.key], void 0, !1);
|
|
152
152
|
!r.change && a && (r.change = a), !r.warning && s && (r.warning = s);
|
|
153
153
|
}
|
|
154
154
|
return {
|
|
@@ -156,7 +156,7 @@ function De(e, t, n, r, i, a) {
|
|
|
156
156
|
warning: r.change
|
|
157
157
|
};
|
|
158
158
|
}
|
|
159
|
-
function
|
|
159
|
+
function ke(e, n, r, i, a, o) {
|
|
160
160
|
if (!n.ui) throw Error("execPropertyLeafArray property ui must be valid");
|
|
161
161
|
if (!n.array) throw Error("execPropertyLeafArray property aray must be valid");
|
|
162
162
|
let s;
|
|
@@ -170,23 +170,23 @@ function Oe(e, n, r, i, a, o) {
|
|
|
170
170
|
warning: !1,
|
|
171
171
|
children: {}
|
|
172
172
|
};
|
|
173
|
-
let { change: r, warning: a } =
|
|
173
|
+
let { change: r, warning: a } = Ee(e, n, s, i.children[t], t, !1);
|
|
174
174
|
!i.change && r && (i.change = r), !i.warning && a && (i.warning = a);
|
|
175
175
|
}
|
|
176
|
-
return i.change ||= !t(s,
|
|
176
|
+
return i.change ||= !t(s, re(n)), {
|
|
177
177
|
change: i.change,
|
|
178
178
|
warning: i.warning
|
|
179
179
|
};
|
|
180
180
|
}
|
|
181
|
-
function
|
|
181
|
+
function Ae(e, n, r, i, a) {
|
|
182
182
|
if (!e.ui) throw Error("execPropertyLeafScalar property ui must be valid");
|
|
183
183
|
let o;
|
|
184
|
-
return o = i !== void 0 && !a ? n[i] : n[e.key], r.change = !t(o,
|
|
184
|
+
return o = i !== void 0 && !a ? n[i] : n[e.key], r.change = !t(o, B(e)), {
|
|
185
185
|
change: r.change,
|
|
186
186
|
warning: r.warning
|
|
187
187
|
};
|
|
188
188
|
}
|
|
189
|
-
function
|
|
189
|
+
function je(e, t, n) {
|
|
190
190
|
if (t.length <= 0 || !n) {
|
|
191
191
|
e.value = {
|
|
192
192
|
change: !1,
|
|
@@ -206,7 +206,7 @@ function Ae(e, t, n) {
|
|
|
206
206
|
warning: !1,
|
|
207
207
|
children: {}
|
|
208
208
|
};
|
|
209
|
-
r.children[e.key] = t,
|
|
209
|
+
r.children[e.key] = t, Ee([], e, n, t, void 0, !1);
|
|
210
210
|
}
|
|
211
211
|
e.value = r;
|
|
212
212
|
}
|
|
@@ -220,87 +220,87 @@ function Q(e, t) {
|
|
|
220
220
|
}
|
|
221
221
|
//#endregion
|
|
222
222
|
//#region src/utils/provideInject.ts
|
|
223
|
-
var
|
|
224
|
-
function
|
|
225
|
-
w(je, e);
|
|
226
|
-
}
|
|
227
|
-
function Ue() {
|
|
228
|
-
return h(je);
|
|
229
|
-
}
|
|
230
|
-
function We(e) {
|
|
223
|
+
var Me = Symbol(), Ne = Symbol(), Pe = Symbol(), Fe = Symbol(), Ie = Symbol(), Le = Symbol(), Re = Symbol(), ze = Symbol(), Be = Symbol(), Ve = Symbol(), He = Symbol();
|
|
224
|
+
function Ue(e) {
|
|
231
225
|
w(Me, e);
|
|
232
226
|
}
|
|
233
|
-
function
|
|
227
|
+
function We() {
|
|
234
228
|
return h(Me);
|
|
235
229
|
}
|
|
236
|
-
function
|
|
230
|
+
function Ge(e) {
|
|
237
231
|
w(Ne, e);
|
|
238
232
|
}
|
|
239
|
-
function
|
|
233
|
+
function Ke() {
|
|
240
234
|
return h(Ne);
|
|
241
235
|
}
|
|
242
|
-
function
|
|
236
|
+
function qe(e) {
|
|
243
237
|
w(Pe, e);
|
|
244
238
|
}
|
|
245
|
-
function
|
|
239
|
+
function Je() {
|
|
246
240
|
return h(Pe);
|
|
247
241
|
}
|
|
248
|
-
function
|
|
242
|
+
function Ye(e) {
|
|
249
243
|
w(Fe, e);
|
|
250
244
|
}
|
|
251
|
-
function
|
|
245
|
+
function Xe() {
|
|
252
246
|
return h(Fe);
|
|
253
247
|
}
|
|
254
|
-
function
|
|
248
|
+
function Ze(e) {
|
|
255
249
|
w(Ie, e);
|
|
256
250
|
}
|
|
257
|
-
function
|
|
251
|
+
function Qe() {
|
|
258
252
|
return h(Ie);
|
|
259
253
|
}
|
|
260
|
-
function
|
|
254
|
+
function $e(e) {
|
|
261
255
|
w(Le, e);
|
|
262
256
|
}
|
|
263
|
-
function
|
|
257
|
+
function et() {
|
|
264
258
|
return h(Le);
|
|
265
259
|
}
|
|
266
|
-
function
|
|
260
|
+
function tt(e) {
|
|
267
261
|
w(Re, e);
|
|
268
262
|
}
|
|
269
|
-
function
|
|
263
|
+
function nt() {
|
|
270
264
|
return h(Re);
|
|
271
265
|
}
|
|
272
266
|
function rt(e) {
|
|
273
267
|
w(ze, e);
|
|
274
268
|
}
|
|
275
|
-
function
|
|
269
|
+
function $() {
|
|
276
270
|
return h(ze);
|
|
277
271
|
}
|
|
278
|
-
function
|
|
272
|
+
function it(e) {
|
|
279
273
|
w(Be, e);
|
|
280
274
|
}
|
|
281
|
-
function
|
|
275
|
+
function at() {
|
|
282
276
|
return h(Be);
|
|
283
277
|
}
|
|
284
|
-
function
|
|
278
|
+
function ot(e) {
|
|
285
279
|
w(Ve, e);
|
|
286
280
|
}
|
|
287
|
-
function
|
|
281
|
+
function st() {
|
|
288
282
|
return h(Ve);
|
|
289
283
|
}
|
|
284
|
+
function ct(e) {
|
|
285
|
+
w(He, e);
|
|
286
|
+
}
|
|
287
|
+
function lt() {
|
|
288
|
+
return h(He);
|
|
289
|
+
}
|
|
290
290
|
//#endregion
|
|
291
291
|
//#region src/components/menu/index.vue
|
|
292
|
-
var
|
|
292
|
+
var ut = /* @__PURE__ */ p({
|
|
293
293
|
__name: "index",
|
|
294
294
|
setup(e) {
|
|
295
|
-
let { t } =
|
|
295
|
+
let { t } = V(), n = Xe(), r = Qe(), i = nt(), c = $(), u = T(0), p = T(0), m = T([]), h = o(() => [u.value, p.value]), _ = (e) => {
|
|
296
296
|
!(m.value.length <= 0 || !Q(i.value, m.value)) && e.push({
|
|
297
297
|
title: t("x-prop-tree.reset"),
|
|
298
298
|
func: () => {
|
|
299
|
-
let e =
|
|
299
|
+
let e = K(n.value, m.value);
|
|
300
300
|
if (e) if (e.ui) {
|
|
301
|
-
let t =
|
|
301
|
+
let t = q(r.value, m.value.slice(0, -1));
|
|
302
302
|
if (!t) return;
|
|
303
|
-
t[m.value[m.value.length - 1]] =
|
|
303
|
+
t[m.value[m.value.length - 1]] = B(e), c(m.value, t[m.value[m.value.length - 1]]);
|
|
304
304
|
} else if (e.array) {
|
|
305
305
|
let t = m.value[m.value.length - 1];
|
|
306
306
|
if (t === void 0) {
|
|
@@ -308,21 +308,21 @@ var lt = /* @__PURE__ */ p({
|
|
|
308
308
|
return;
|
|
309
309
|
}
|
|
310
310
|
if (typeof t == "string") {
|
|
311
|
-
let t =
|
|
311
|
+
let t = q(r.value, m.value.slice(0, -1));
|
|
312
312
|
if (!t) return;
|
|
313
|
-
t[m.value[m.value.length - 1]] =
|
|
313
|
+
t[m.value[m.value.length - 1]] = B(e), c(m.value, t[m.value[m.value.length - 1]]);
|
|
314
314
|
} else {
|
|
315
|
-
let t =
|
|
315
|
+
let t = q(r.value, m.value);
|
|
316
316
|
if (!t) return;
|
|
317
317
|
e.children.forEach((n) => {
|
|
318
|
-
t[n.key] =
|
|
318
|
+
t[n.key] = B(e), c([...m.value, n.key], t[n.key]);
|
|
319
319
|
});
|
|
320
320
|
}
|
|
321
321
|
} else {
|
|
322
|
-
let t =
|
|
322
|
+
let t = q(r.value, m.value);
|
|
323
323
|
if (!t) return;
|
|
324
324
|
e.children.forEach((n) => {
|
|
325
|
-
t[n.key] =
|
|
325
|
+
t[n.key] = B(e), c([...m.value, n.key], t[n.key]);
|
|
326
326
|
});
|
|
327
327
|
}
|
|
328
328
|
}
|
|
@@ -331,7 +331,7 @@ var lt = /* @__PURE__ */ p({
|
|
|
331
331
|
e.push({
|
|
332
332
|
title: t("x-prop-tree.copy"),
|
|
333
333
|
func: () => {
|
|
334
|
-
let e =
|
|
334
|
+
let e = K(n.value, m.value), t = q(r.value, m.value);
|
|
335
335
|
localStorage.setItem("propTreeCopy", JSON.stringify({
|
|
336
336
|
property: e,
|
|
337
337
|
object: t
|
|
@@ -345,7 +345,7 @@ var lt = /* @__PURE__ */ p({
|
|
|
345
345
|
try {
|
|
346
346
|
let { property: t } = JSON.parse(e);
|
|
347
347
|
if (!t) return !1;
|
|
348
|
-
let r =
|
|
348
|
+
let r = K(n.value, m.value);
|
|
349
349
|
return r ? Ce(t, r) : !1;
|
|
350
350
|
} catch (e) {
|
|
351
351
|
console.error(e);
|
|
@@ -358,7 +358,7 @@ var lt = /* @__PURE__ */ p({
|
|
|
358
358
|
if (!r()) return;
|
|
359
359
|
let e = localStorage.getItem("propTreeCopy");
|
|
360
360
|
if (e) try {
|
|
361
|
-
let { object: t } = JSON.parse(e), r =
|
|
361
|
+
let { object: t } = JSON.parse(e), r = K(n.value, m.value);
|
|
362
362
|
console.log(t, r);
|
|
363
363
|
} catch (e) {
|
|
364
364
|
console.error(e);
|
|
@@ -368,26 +368,26 @@ var lt = /* @__PURE__ */ p({
|
|
|
368
368
|
}, b = o(() => {
|
|
369
369
|
let e = [];
|
|
370
370
|
return _(e), v(e), y(e), e;
|
|
371
|
-
}), { open: x } =
|
|
371
|
+
}), { open: x } = G("propTreeMenu", (e) => {
|
|
372
372
|
u.value = e.x, p.value = e.y, m.value = e.keys;
|
|
373
373
|
});
|
|
374
374
|
return (e, t) => {
|
|
375
|
-
let n =
|
|
375
|
+
let n = O("v-list-item-title"), r = O("v-list-item"), i = O("v-list"), o = O("v-menu");
|
|
376
376
|
return C(), s(o, {
|
|
377
|
-
modelValue:
|
|
377
|
+
modelValue: j(x),
|
|
378
378
|
"onUpdate:modelValue": t[0] ||= (e) => g(x) ? x.value = e : null,
|
|
379
379
|
"location-strategy": "connected",
|
|
380
380
|
scrim: "transparent",
|
|
381
381
|
target: h.value
|
|
382
382
|
}, {
|
|
383
|
-
default:
|
|
384
|
-
default:
|
|
383
|
+
default: I(() => [f(i, null, {
|
|
384
|
+
default: I(() => [(C(!0), l(a, null, E(b.value, (e, t) => (C(), s(r, {
|
|
385
385
|
key: t,
|
|
386
386
|
link: "",
|
|
387
387
|
onClick: e.func
|
|
388
388
|
}, {
|
|
389
|
-
default:
|
|
390
|
-
default:
|
|
389
|
+
default: I(() => [f(n, null, {
|
|
390
|
+
default: I(() => [d(A(e.title), 1)]),
|
|
391
391
|
_: 2
|
|
392
392
|
}, 1024)]),
|
|
393
393
|
_: 2
|
|
@@ -398,7 +398,7 @@ var lt = /* @__PURE__ */ p({
|
|
|
398
398
|
}, 8, ["modelValue", "target"]);
|
|
399
399
|
};
|
|
400
400
|
}
|
|
401
|
-
}),
|
|
401
|
+
}), dt = { style: { pointerEvents: "none" } }, ft = /* @__PURE__ */ p({
|
|
402
402
|
__name: "index",
|
|
403
403
|
props: {
|
|
404
404
|
title: {},
|
|
@@ -420,7 +420,7 @@ var lt = /* @__PURE__ */ p({
|
|
|
420
420
|
"delete"
|
|
421
421
|
],
|
|
422
422
|
setup(e, { emit: t }) {
|
|
423
|
-
let { backgroundColor2: n, highlightColor: r } =
|
|
423
|
+
let { backgroundColor2: n, highlightColor: r } = U(), i = t, a = T(!1), d = o(() => ({
|
|
424
424
|
background: a.value ? r.value : n.value,
|
|
425
425
|
height: "36px",
|
|
426
426
|
marginBottom: "1px",
|
|
@@ -431,12 +431,12 @@ var lt = /* @__PURE__ */ p({
|
|
|
431
431
|
i("menu", e.clientX, e.clientY);
|
|
432
432
|
};
|
|
433
433
|
return (t, n) => {
|
|
434
|
-
let r =
|
|
435
|
-
return
|
|
434
|
+
let r = O("v-icon"), o = O("v-spacer"), h = O("v-btn"), g = k("ripple");
|
|
435
|
+
return L((C(), l("div", {
|
|
436
436
|
class: "d-flex align-center cursor-pointer",
|
|
437
437
|
style: y(d.value),
|
|
438
438
|
onClick: p,
|
|
439
|
-
onContextmenu:
|
|
439
|
+
onContextmenu: z(m, ["self", "prevent"]),
|
|
440
440
|
onMouseout: n[2] ||= (e) => a.value = !1,
|
|
441
441
|
onMouseover: n[3] ||= (e) => a.value = !0
|
|
442
442
|
}, [
|
|
@@ -444,7 +444,7 @@ var lt = /* @__PURE__ */ p({
|
|
|
444
444
|
class: "mr-1",
|
|
445
445
|
icon: e.collapse ? "mdi-chevron-right" : "mdi-chevron-down"
|
|
446
446
|
}, null, 8, ["icon"]),
|
|
447
|
-
u("span",
|
|
447
|
+
u("span", dt, A(e.title), 1),
|
|
448
448
|
f(o),
|
|
449
449
|
e.hasCreate ? (C(), s(h, {
|
|
450
450
|
key: 0,
|
|
@@ -452,7 +452,7 @@ var lt = /* @__PURE__ */ p({
|
|
|
452
452
|
density: "compact",
|
|
453
453
|
icon: "mdi-plus",
|
|
454
454
|
variant: "text",
|
|
455
|
-
onClick: n[0] ||=
|
|
455
|
+
onClick: n[0] ||= z((e) => i("create"), ["stop"])
|
|
456
456
|
})) : c("", !0),
|
|
457
457
|
e.hasDelete ? (C(), s(h, {
|
|
458
458
|
key: 1,
|
|
@@ -460,7 +460,7 @@ var lt = /* @__PURE__ */ p({
|
|
|
460
460
|
density: "compact",
|
|
461
461
|
icon: "mdi-minus",
|
|
462
462
|
variant: "text",
|
|
463
|
-
onClick: n[1] ||=
|
|
463
|
+
onClick: n[1] ||= z((t) => i("delete", e.index), ["stop"])
|
|
464
464
|
})) : c("", !0)
|
|
465
465
|
], 36)), [[g]]);
|
|
466
466
|
};
|
|
@@ -468,14 +468,14 @@ var lt = /* @__PURE__ */ p({
|
|
|
468
468
|
});
|
|
469
469
|
//#endregion
|
|
470
470
|
//#region src/composables/adaptSlotList/index.ts
|
|
471
|
-
function
|
|
472
|
-
let e =
|
|
473
|
-
|
|
471
|
+
function pt() {
|
|
472
|
+
let e = We(), t = Ke(), n = Je(), { i18n: a } = me, o = T([]);
|
|
473
|
+
ct(o);
|
|
474
474
|
let s = () => {
|
|
475
475
|
if (!e.value || !t.value || !n.value) return [];
|
|
476
|
-
let s =
|
|
476
|
+
let s = de[e.value];
|
|
477
477
|
if (!s) return console.assert(!1, `invalid version=${e.value}`), [];
|
|
478
|
-
let c =
|
|
478
|
+
let c = ie(t.value, n.value), l = [];
|
|
479
479
|
for (let e = 0; e < s.groups[c].length; e++) {
|
|
480
480
|
let t = s.groups[c][e], n = r(o, t.key);
|
|
481
481
|
l.push({
|
|
@@ -488,9 +488,9 @@ function ft() {
|
|
|
488
488
|
});
|
|
489
489
|
let i = 0;
|
|
490
490
|
for (let e of t.items) {
|
|
491
|
-
let n =
|
|
491
|
+
let n = te(e);
|
|
492
492
|
if (n && !n.internal && n.slots) for (let e of n.slots) {
|
|
493
|
-
let r =
|
|
493
|
+
let r = ce("elementSlot", n.key, e.key), o = `${a.global.t(n.name)} / ${a.global.t(e.name)}`;
|
|
494
494
|
l.push({
|
|
495
495
|
id: r,
|
|
496
496
|
type: 1,
|
|
@@ -516,7 +516,7 @@ function ft() {
|
|
|
516
516
|
for (let e of u.comps) {
|
|
517
517
|
let t = d[e.id];
|
|
518
518
|
if (t && t.meta.slots) for (let n of t.meta.slots) {
|
|
519
|
-
let t =
|
|
519
|
+
let t = ce("customSlot", e.id, n.id), r = `${e.name} / ${n.name}`;
|
|
520
520
|
l.push({
|
|
521
521
|
id: t,
|
|
522
522
|
type: 1,
|
|
@@ -540,7 +540,7 @@ function ft() {
|
|
|
540
540
|
u();
|
|
541
541
|
}), b(() => {
|
|
542
542
|
d();
|
|
543
|
-
}),
|
|
543
|
+
}), P([
|
|
544
544
|
e,
|
|
545
545
|
t,
|
|
546
546
|
n
|
|
@@ -550,9 +550,9 @@ function ft() {
|
|
|
550
550
|
}
|
|
551
551
|
//#endregion
|
|
552
552
|
//#region src/composables/compList/index.ts
|
|
553
|
-
function
|
|
553
|
+
function mt() {
|
|
554
554
|
let e = T([]);
|
|
555
|
-
|
|
555
|
+
it(e);
|
|
556
556
|
let t = () => {
|
|
557
557
|
let { activeApp: t, depends: n } = ye.app, r = [];
|
|
558
558
|
for (let { id: n, name: i, position: a } of t.compGroups) {
|
|
@@ -588,9 +588,9 @@ function pt() {
|
|
|
588
588
|
}
|
|
589
589
|
//#endregion
|
|
590
590
|
//#region src/composables/slotList/index.ts
|
|
591
|
-
function
|
|
591
|
+
function ht() {
|
|
592
592
|
let e = T([]);
|
|
593
|
-
|
|
593
|
+
ot(e);
|
|
594
594
|
let t = () => {
|
|
595
595
|
let { activeObject: e, activeComp: t } = ye.app;
|
|
596
596
|
if (e.type !== "comp" || !t.meta.slots) return [];
|
|
@@ -616,115 +616,112 @@ function mt() {
|
|
|
616
616
|
});
|
|
617
617
|
}
|
|
618
618
|
//#endregion
|
|
619
|
-
//#region src/components/values/
|
|
620
|
-
var
|
|
621
|
-
__name: "
|
|
622
|
-
props:
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
}
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
default: !1
|
|
630
|
-
}
|
|
631
|
-
}, {
|
|
632
|
-
modelValue: {},
|
|
633
|
-
modelModifiers: {}
|
|
634
|
-
}),
|
|
635
|
-
emits: /* @__PURE__ */ _(["delete"], ["update:modelValue"]),
|
|
619
|
+
//#region src/components/values/adaptSlot/adaptSlotList/group.vue?vue&type=script&setup=true&lang.ts
|
|
620
|
+
var gt = { class: "text-label-large ml-1" }, _t = { class: "text-body-small text-grey ml-1" }, vt = /* @__PURE__ */ p({
|
|
621
|
+
__name: "group",
|
|
622
|
+
props: {
|
|
623
|
+
id: {},
|
|
624
|
+
title: {},
|
|
625
|
+
collapse: { type: Boolean },
|
|
626
|
+
count: {}
|
|
627
|
+
},
|
|
628
|
+
emits: ["x-click"],
|
|
636
629
|
setup(e, { emit: t }) {
|
|
637
|
-
let {
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
let
|
|
645
|
-
return C(),
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
"
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
}), {
|
|
660
|
-
default: F(() => [d(k(r.value ? r.value : A(n)("x-runtime-lib.notSet")), 1)]),
|
|
661
|
-
_: 1
|
|
662
|
-
}, 16, ["color", "disabled"])], 4), e.hasDelete ? (C(), s(m, {
|
|
663
|
-
key: 0,
|
|
664
|
-
class: "mx-2",
|
|
665
|
-
density: "compact",
|
|
666
|
-
icon: "mdi-minus",
|
|
667
|
-
variant: "text",
|
|
668
|
-
onClick: o[0] ||= R((e) => i("delete"), ["stop"])
|
|
669
|
-
})) : c("", !0)])]),
|
|
670
|
-
default: F(() => [f(h, {
|
|
671
|
-
modelValue: r.value,
|
|
672
|
-
"onUpdate:modelValue": o[1] ||= (e) => r.value = e,
|
|
673
|
-
mode: "hexa",
|
|
674
|
-
"show-swatches": "",
|
|
675
|
-
"swatches-max-height": "150px"
|
|
676
|
-
}, null, 8, ["modelValue"])]),
|
|
677
|
-
_: 1
|
|
678
|
-
}, 8, ["modelValue"]);
|
|
630
|
+
let { backgroundColor2: n, highlightColor: r } = U(), i = e, a = t, s = T(!1), c = o(() => ({
|
|
631
|
+
background: s.value ? r.value : n.value,
|
|
632
|
+
height: "30px",
|
|
633
|
+
marginTop: "1px",
|
|
634
|
+
userSelect: "none"
|
|
635
|
+
}));
|
|
636
|
+
return (e, t) => {
|
|
637
|
+
let n = O("v-icon"), r = k("ripple");
|
|
638
|
+
return L((C(), l("div", {
|
|
639
|
+
class: "d-flex align-center cursor-pointer",
|
|
640
|
+
style: y(c.value),
|
|
641
|
+
onClick: t[0] ||= (e) => a("x-click", i.id),
|
|
642
|
+
onMouseout: t[1] ||= (e) => s.value = !1,
|
|
643
|
+
onMouseover: t[2] ||= (e) => s.value = !0
|
|
644
|
+
}, [
|
|
645
|
+
f(n, {
|
|
646
|
+
icon: i.collapse ? "mdi-chevron-right" : "mdi-chevron-down",
|
|
647
|
+
size: "small"
|
|
648
|
+
}, null, 8, ["icon"]),
|
|
649
|
+
u("span", gt, A(i.title), 1),
|
|
650
|
+
u("span", _t, A(i.count), 1)
|
|
651
|
+
], 36)), [[r]]);
|
|
679
652
|
};
|
|
680
653
|
}
|
|
681
|
-
}),
|
|
682
|
-
__name: "
|
|
654
|
+
}), yt = { class: "text-body-large ml-6" }, bt = /* @__PURE__ */ p({
|
|
655
|
+
__name: "item",
|
|
683
656
|
props: {
|
|
684
|
-
|
|
657
|
+
id: {},
|
|
658
|
+
title: {}
|
|
659
|
+
},
|
|
660
|
+
emits: ["x-click"],
|
|
661
|
+
setup(e, { emit: t }) {
|
|
662
|
+
let { backgroundColor2: n, highlightColor: r } = U(), i = t, a = T(!1), s = o(() => ({
|
|
663
|
+
background: a.value ? r.value : n.value,
|
|
664
|
+
height: "48px",
|
|
665
|
+
marginTop: "1px",
|
|
666
|
+
userSelect: "none"
|
|
667
|
+
}));
|
|
668
|
+
return (t, n) => {
|
|
669
|
+
let r = k("ripple");
|
|
670
|
+
return L((C(), l("div", {
|
|
671
|
+
class: "d-flex align-center cursor-pointer",
|
|
672
|
+
style: y(s.value),
|
|
673
|
+
onClick: n[0] ||= (t) => i("x-click", e.id),
|
|
674
|
+
onMouseout: n[1] ||= (e) => a.value = !1,
|
|
675
|
+
onMouseover: n[2] ||= (e) => a.value = !0
|
|
676
|
+
}, [u("span", yt, A(e.title), 1)], 36)), [[r]]);
|
|
677
|
+
};
|
|
678
|
+
}
|
|
679
|
+
}), xt = { key: 0 }, St = {
|
|
680
|
+
key: 1,
|
|
681
|
+
class: "text-body-medium text-grey ml-3"
|
|
682
|
+
}, Ct = /* @__PURE__ */ p({
|
|
683
|
+
__name: "index",
|
|
684
|
+
props: {
|
|
685
|
+
modelValue: {},
|
|
685
686
|
modelModifiers: {},
|
|
686
|
-
|
|
687
|
+
open: {
|
|
687
688
|
type: Boolean,
|
|
688
689
|
required: !0
|
|
689
690
|
},
|
|
690
|
-
|
|
691
|
-
scale: { required: !0 },
|
|
692
|
-
scaleModifiers: {}
|
|
691
|
+
openModifiers: {}
|
|
693
692
|
},
|
|
694
|
-
emits: [
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
let e = JSON.parse(n.value);
|
|
702
|
-
l.value?.load(e);
|
|
693
|
+
emits: ["update:modelValue", "update:open"],
|
|
694
|
+
setup(e) {
|
|
695
|
+
let { nameList: t } = W(), i = N(e, "modelValue"), o = N(e, "open"), u = lt(), d = (e) => {
|
|
696
|
+
let t = r(u, e);
|
|
697
|
+
t && n(u, e, !t.collapse);
|
|
698
|
+
}, f = (e) => {
|
|
699
|
+
i.value = e, o.value = !1;
|
|
703
700
|
};
|
|
704
|
-
return
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
"onUpdate:lock": t[0] ||= (e) => r.value = e,
|
|
712
|
-
scale: i.value,
|
|
713
|
-
"onUpdate:scale": t[1] ||= (e) => i.value = e,
|
|
714
|
-
dark: A(a),
|
|
715
|
-
locale: A(o),
|
|
716
|
-
type: "json",
|
|
717
|
-
version: A(c),
|
|
718
|
-
onReady: u
|
|
701
|
+
return (e, n) => j(u).length > 0 ? (C(), l("div", xt, [(C(!0), l(a, null, E(j(u), (e) => (C(), l(a, { key: e.id }, [e.type === 0 ? (C(), s(vt, {
|
|
702
|
+
key: 0,
|
|
703
|
+
id: e.id,
|
|
704
|
+
collapse: e.collapse,
|
|
705
|
+
count: e.count ?? 0,
|
|
706
|
+
title: e.name,
|
|
707
|
+
onXClick: d
|
|
719
708
|
}, null, 8, [
|
|
720
|
-
"
|
|
721
|
-
"
|
|
722
|
-
"
|
|
723
|
-
"
|
|
724
|
-
|
|
725
|
-
|
|
709
|
+
"id",
|
|
710
|
+
"collapse",
|
|
711
|
+
"count",
|
|
712
|
+
"title"
|
|
713
|
+
])) : c("", !0), e.type === 1 && e.show ? (C(), s(bt, {
|
|
714
|
+
key: 1,
|
|
715
|
+
id: e.id,
|
|
716
|
+
title: e.name,
|
|
717
|
+
onXClick: f
|
|
718
|
+
}, null, 8, ["id", "title"])) : c("", !0)], 64))), 128))])) : (C(), l("div", St, A(j(t)([
|
|
719
|
+
"x-prop-tree.no",
|
|
720
|
+
"x-prop-tree.adapt",
|
|
721
|
+
"x-prop-tree.slot"
|
|
722
|
+
])), 1));
|
|
726
723
|
}
|
|
727
|
-
}),
|
|
724
|
+
}), wt = { class: "text-body-large" }, Tt = /* @__PURE__ */ p({
|
|
728
725
|
__name: "index",
|
|
729
726
|
props: /* @__PURE__ */ _({
|
|
730
727
|
hasDelete: {
|
|
@@ -736,128 +733,595 @@ var ht = { class: "d-flex justify-space-between align-center" }, gt = /* @__PURE
|
|
|
736
733
|
default: !1
|
|
737
734
|
}
|
|
738
735
|
}, {
|
|
739
|
-
modelValue: {
|
|
736
|
+
modelValue: {},
|
|
740
737
|
modelModifiers: {}
|
|
741
738
|
}),
|
|
742
739
|
emits: /* @__PURE__ */ _(["delete"], ["update:modelValue"]),
|
|
743
740
|
setup(e, { emit: t }) {
|
|
744
|
-
let { t: n } =
|
|
741
|
+
let { t: n } = V(), i = be(), { sysBarAvail: a, nameList: l } = W(), { backgroundColor1: p } = U(), m = N(e, "modelValue"), h = t, _ = lt(), b = o(() => {
|
|
742
|
+
let e = "100%";
|
|
743
|
+
return i.mdAndUp.value && (e = "400px"), {
|
|
744
|
+
background: p.value,
|
|
745
|
+
width: e,
|
|
746
|
+
height: "100%"
|
|
747
|
+
};
|
|
748
|
+
}), x = o(() => {
|
|
745
749
|
let e = 48;
|
|
746
|
-
return
|
|
750
|
+
return a.value && (e += 24), {
|
|
747
751
|
position: "relative",
|
|
748
|
-
background: a.value,
|
|
749
752
|
height: `calc(100% - ${e}px)`
|
|
750
753
|
};
|
|
751
|
-
}),
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
return
|
|
757
|
-
|
|
754
|
+
}), w = o(() => ({ height: "60px" })), T = o(() => {
|
|
755
|
+
if (!m.value) return n("x-runtime-lib.notSet");
|
|
756
|
+
let e = r(_, m.value);
|
|
757
|
+
return e ? e.name : n("x-runtime-lib.slotNotAvail");
|
|
758
|
+
}), { open: E } = G(`propTreeAdaptSlotSelectDlg${M()}`);
|
|
759
|
+
return S(() => {
|
|
760
|
+
E.value = !1;
|
|
758
761
|
}), (t, n) => {
|
|
759
|
-
let
|
|
760
|
-
return C(), s(
|
|
761
|
-
modelValue:
|
|
762
|
-
"onUpdate:modelValue": n[
|
|
763
|
-
attach: "",
|
|
762
|
+
let r = O("v-btn"), i = O("v-sheet"), o = O("v-dialog");
|
|
763
|
+
return C(), s(o, {
|
|
764
|
+
modelValue: j(E),
|
|
765
|
+
"onUpdate:modelValue": n[6] ||= (e) => g(E) ? E.value = e : null,
|
|
764
766
|
fullscreen: "",
|
|
765
767
|
"no-click-animation": "",
|
|
766
768
|
persistent: "",
|
|
767
|
-
transition: "
|
|
768
|
-
onKeydown: n[
|
|
769
|
+
transition: "scroll-x-reverse-transition",
|
|
770
|
+
onKeydown: n[7] ||= R(z((e) => E.value = !1, ["stop", "prevent"]), ["esc"])
|
|
769
771
|
}, {
|
|
770
|
-
activator:
|
|
772
|
+
activator: I(({ props: t }) => [f(r, v(t, {
|
|
771
773
|
block: "",
|
|
772
774
|
density: "comfortable",
|
|
773
775
|
readonly: e.readonly
|
|
774
776
|
}), {
|
|
775
|
-
default:
|
|
777
|
+
default: I(() => [d(A(T.value), 1)]),
|
|
776
778
|
_: 1
|
|
777
|
-
}, 16, ["readonly"]), e.hasDelete ? (C(), s(
|
|
779
|
+
}, 16, ["readonly"]), e.hasDelete ? (C(), s(r, {
|
|
778
780
|
key: 0,
|
|
779
781
|
class: "mx-2",
|
|
780
782
|
density: "compact",
|
|
781
783
|
icon: "mdi-minus",
|
|
782
784
|
variant: "text",
|
|
783
|
-
onClick: n[0] ||=
|
|
785
|
+
onClick: n[0] ||= z((e) => h("delete"), ["stop"])
|
|
784
786
|
})) : c("", !0)]),
|
|
785
|
-
default:
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
}, {
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
}
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
}
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
787
|
+
default: I(() => [u("div", {
|
|
788
|
+
class: "w-100 h-100 d-flex flex-row-reverse",
|
|
789
|
+
onClick: n[4] ||= z((e) => E.value = !1, ["self"]),
|
|
790
|
+
onContextmenu: n[5] ||= z((e) => E.value = !1, ["self", "prevent"])
|
|
791
|
+
}, [u("div", {
|
|
792
|
+
class: "elevation-2",
|
|
793
|
+
style: y(b.value)
|
|
794
|
+
}, [
|
|
795
|
+
j(a) ? (C(), s(i, {
|
|
796
|
+
key: 0,
|
|
797
|
+
color: "transparent",
|
|
798
|
+
height: 24
|
|
799
|
+
})) : c("", !0),
|
|
800
|
+
f(i, {
|
|
801
|
+
class: "d-flex align-center px-3",
|
|
802
|
+
color: "transparent",
|
|
803
|
+
height: 48
|
|
804
|
+
}, {
|
|
805
|
+
default: I(() => [f(r, {
|
|
806
|
+
density: "comfortable",
|
|
807
|
+
icon: "mdi-close",
|
|
808
|
+
variant: "text",
|
|
809
|
+
onClick: n[1] ||= (e) => E.value = !1
|
|
810
|
+
}), u("span", wt, A(j(l)([
|
|
811
|
+
"x-prop-tree.select",
|
|
812
|
+
"x-prop-tree.adapt",
|
|
813
|
+
"x-prop-tree.slot"
|
|
814
|
+
])), 1)]),
|
|
815
|
+
_: 1
|
|
816
|
+
}),
|
|
817
|
+
u("div", {
|
|
818
|
+
class: "overflow-y-auto",
|
|
819
|
+
style: y(x.value)
|
|
820
|
+
}, [f(Ct, {
|
|
821
|
+
modelValue: m.value,
|
|
822
|
+
"onUpdate:modelValue": n[2] ||= (e) => m.value = e,
|
|
823
|
+
open: j(E),
|
|
824
|
+
"onUpdate:open": n[3] ||= (e) => g(E) ? E.value = e : null
|
|
825
|
+
}, null, 8, ["modelValue", "open"]), u("div", { style: y(w.value) }, null, 4)], 4)
|
|
826
|
+
], 4)], 32)]),
|
|
827
|
+
_: 1
|
|
828
|
+
}, 8, ["modelValue"]);
|
|
829
|
+
};
|
|
830
|
+
}
|
|
831
|
+
}), Et = { class: "text-label-large ml-1" }, Dt = { class: "text-body-small text-grey ml-1" }, Ot = /* @__PURE__ */ p({
|
|
832
|
+
__name: "group",
|
|
833
|
+
props: {
|
|
834
|
+
id: {},
|
|
835
|
+
title: {},
|
|
836
|
+
collapse: { type: Boolean },
|
|
837
|
+
count: {}
|
|
838
|
+
},
|
|
839
|
+
emits: ["x-click"],
|
|
840
|
+
setup(e, { emit: t }) {
|
|
841
|
+
let { backgroundColor2: n, highlightColor: r } = U(), i = e, a = t, s = T(!1), c = o(() => ({
|
|
842
|
+
background: s.value ? r.value : n.value,
|
|
843
|
+
height: "30px",
|
|
844
|
+
marginTop: "1px",
|
|
845
|
+
userSelect: "none"
|
|
846
|
+
}));
|
|
847
|
+
return (e, t) => {
|
|
848
|
+
let n = O("v-icon"), r = k("ripple");
|
|
849
|
+
return L((C(), l("div", {
|
|
850
|
+
class: "d-flex align-center cursor-pointer",
|
|
851
|
+
style: y(c.value),
|
|
852
|
+
onClick: t[0] ||= (e) => a("x-click", i.id),
|
|
853
|
+
onMouseout: t[1] ||= (e) => s.value = !1,
|
|
854
|
+
onMouseover: t[2] ||= (e) => s.value = !0
|
|
855
|
+
}, [
|
|
856
|
+
f(n, {
|
|
857
|
+
icon: i.collapse ? "mdi-chevron-right" : "mdi-chevron-down",
|
|
858
|
+
size: "small"
|
|
859
|
+
}, null, 8, ["icon"]),
|
|
860
|
+
u("span", Et, A(i.title), 1),
|
|
861
|
+
u("span", Dt, A(i.count), 1)
|
|
862
|
+
], 36)), [[r]]);
|
|
863
|
+
};
|
|
864
|
+
}
|
|
865
|
+
}), kt = { class: "text-body-large ml-6" }, At = /* @__PURE__ */ p({
|
|
866
|
+
__name: "item",
|
|
867
|
+
props: {
|
|
868
|
+
id: {},
|
|
869
|
+
title: {}
|
|
870
|
+
},
|
|
871
|
+
emits: ["x-click"],
|
|
872
|
+
setup(e, { emit: t }) {
|
|
873
|
+
let { backgroundColor2: n, highlightColor: r } = U(), i = e, a = t, s = T(!1), c = o(() => ({
|
|
874
|
+
background: s.value ? r.value : n.value,
|
|
875
|
+
height: "48px",
|
|
876
|
+
marginTop: "1px",
|
|
877
|
+
userSelect: "none"
|
|
878
|
+
}));
|
|
879
|
+
return (e, t) => {
|
|
880
|
+
let n = k("ripple");
|
|
881
|
+
return L((C(), l("div", {
|
|
882
|
+
class: "d-flex align-center cursor-pointer",
|
|
883
|
+
style: y(c.value),
|
|
884
|
+
onClick: t[0] ||= (e) => a("x-click", i.id),
|
|
885
|
+
onMouseout: t[1] ||= (e) => s.value = !1,
|
|
886
|
+
onMouseover: t[2] ||= (e) => s.value = !0
|
|
887
|
+
}, [u("span", kt, A(i.title), 1)], 36)), [[n]]);
|
|
888
|
+
};
|
|
889
|
+
}
|
|
890
|
+
}), jt = { key: 0 }, Mt = {
|
|
891
|
+
key: 1,
|
|
892
|
+
class: "text-body-medium text-grey ml-3"
|
|
893
|
+
}, Nt = /* @__PURE__ */ p({
|
|
894
|
+
__name: "index",
|
|
895
|
+
props: {
|
|
896
|
+
modelValue: {},
|
|
897
|
+
modelModifiers: {},
|
|
898
|
+
open: {
|
|
899
|
+
type: Boolean,
|
|
900
|
+
required: !0
|
|
901
|
+
},
|
|
902
|
+
openModifiers: {}
|
|
903
|
+
},
|
|
904
|
+
emits: ["update:modelValue", "update:open"],
|
|
905
|
+
setup(e) {
|
|
906
|
+
let { nameList: t } = W(), i = N(e, "modelValue"), o = N(e, "open"), u = at(), d = (e) => {
|
|
907
|
+
let t = r(u, e);
|
|
908
|
+
t && n(u, e, !t.collapse);
|
|
909
|
+
}, f = (e) => {
|
|
910
|
+
i.value = e, o.value = !1, H.emit("refreshDepends");
|
|
911
|
+
};
|
|
912
|
+
return (e, n) => j(u).length > 0 ? (C(), l("div", jt, [(C(!0), l(a, null, E(j(u), (e) => (C(), l(a, { key: e.id }, [e.type === 0 ? (C(), s(Ot, {
|
|
913
|
+
key: 0,
|
|
914
|
+
id: e.id,
|
|
915
|
+
collapse: e.collapse,
|
|
916
|
+
count: e.count ?? 0,
|
|
917
|
+
title: e.name,
|
|
918
|
+
onXClick: d
|
|
919
|
+
}, null, 8, [
|
|
920
|
+
"id",
|
|
921
|
+
"collapse",
|
|
922
|
+
"count",
|
|
923
|
+
"title"
|
|
924
|
+
])) : c("", !0), e.type === 1 && e.show ? (C(), s(At, {
|
|
925
|
+
key: 1,
|
|
926
|
+
id: e.id,
|
|
927
|
+
title: e.name,
|
|
928
|
+
onXClick: f
|
|
929
|
+
}, null, 8, ["id", "title"])) : c("", !0)], 64))), 128))])) : (C(), l("div", Mt, A(j(t)(["x-prop-tree.no", "x-prop-tree.comp"])), 1));
|
|
930
|
+
}
|
|
931
|
+
}), Pt = { class: "text-body-large" }, Ft = /* @__PURE__ */ p({
|
|
932
|
+
__name: "index",
|
|
933
|
+
props: /* @__PURE__ */ _({
|
|
934
|
+
hasDelete: {
|
|
935
|
+
type: Boolean,
|
|
936
|
+
default: !1
|
|
937
|
+
},
|
|
938
|
+
readonly: {
|
|
939
|
+
type: Boolean,
|
|
940
|
+
default: !1
|
|
941
|
+
}
|
|
942
|
+
}, {
|
|
943
|
+
modelValue: {},
|
|
944
|
+
modelModifiers: {}
|
|
945
|
+
}),
|
|
946
|
+
emits: /* @__PURE__ */ _(["delete"], ["update:modelValue"]),
|
|
947
|
+
setup(e, { emit: t }) {
|
|
948
|
+
let { t: n } = V(), i = be(), { sysBarAvail: a, nameList: l } = W(), { backgroundColor1: p } = U(), m = N(e, "modelValue"), h = t, _ = at(), b = o(() => {
|
|
949
|
+
let e = "100%";
|
|
950
|
+
return i.mdAndUp.value && (e = "400px"), {
|
|
951
|
+
background: p.value,
|
|
952
|
+
width: e,
|
|
953
|
+
height: "100%"
|
|
954
|
+
};
|
|
955
|
+
}), x = o(() => {
|
|
956
|
+
let e = 48;
|
|
957
|
+
return a.value && (e += 24), {
|
|
958
|
+
position: "relative",
|
|
959
|
+
height: `calc(100% - ${e}px)`
|
|
960
|
+
};
|
|
961
|
+
}), w = o(() => ({ height: "60px" })), T = o(() => {
|
|
962
|
+
if (!m.value) return n("x-runtime-lib.notSet");
|
|
963
|
+
let e = r(_, m.value);
|
|
964
|
+
return e ? e.name : n("x-runtime-lib.compNotAvail");
|
|
965
|
+
}), { open: E } = G(`propTreeCompSelectDlg${M()}`);
|
|
966
|
+
return S(() => {
|
|
967
|
+
E.value = !1;
|
|
968
|
+
}), (t, n) => {
|
|
969
|
+
let r = O("v-btn"), i = O("v-sheet"), o = O("v-dialog");
|
|
970
|
+
return C(), s(o, {
|
|
971
|
+
modelValue: j(E),
|
|
972
|
+
"onUpdate:modelValue": n[6] ||= (e) => g(E) ? E.value = e : null,
|
|
973
|
+
fullscreen: "",
|
|
974
|
+
"no-click-animation": "",
|
|
975
|
+
persistent: "",
|
|
976
|
+
transition: "scroll-x-reverse-transition",
|
|
977
|
+
onKeydown: n[7] ||= R(z((e) => E.value = !1, ["stop", "prevent"]), ["esc"])
|
|
978
|
+
}, {
|
|
979
|
+
activator: I(({ props: t }) => [f(r, v(t, {
|
|
980
|
+
block: "",
|
|
981
|
+
density: "comfortable",
|
|
982
|
+
readonly: e.readonly
|
|
983
|
+
}), {
|
|
984
|
+
default: I(() => [d(A(T.value), 1)]),
|
|
985
|
+
_: 1
|
|
986
|
+
}, 16, ["readonly"]), e.hasDelete ? (C(), s(r, {
|
|
987
|
+
key: 0,
|
|
988
|
+
class: "mx-2",
|
|
989
|
+
density: "compact",
|
|
990
|
+
icon: "mdi-minus",
|
|
991
|
+
variant: "text",
|
|
992
|
+
onClick: n[0] ||= z((e) => h("delete"), ["stop"])
|
|
993
|
+
})) : c("", !0)]),
|
|
994
|
+
default: I(() => [u("div", {
|
|
995
|
+
class: "w-100 h-100 d-flex flex-row-reverse",
|
|
996
|
+
onClick: n[4] ||= z((e) => E.value = !1, ["self"]),
|
|
997
|
+
onContextmenu: n[5] ||= z((e) => E.value = !1, ["self", "prevent"])
|
|
998
|
+
}, [u("div", {
|
|
999
|
+
class: "elevation-2",
|
|
1000
|
+
style: y(b.value)
|
|
1001
|
+
}, [
|
|
1002
|
+
j(a) ? (C(), s(i, {
|
|
1003
|
+
key: 0,
|
|
1004
|
+
color: "transparent",
|
|
1005
|
+
height: 24
|
|
1006
|
+
})) : c("", !0),
|
|
1007
|
+
f(i, {
|
|
1008
|
+
class: "d-flex align-center px-3",
|
|
1009
|
+
color: "transparent",
|
|
1010
|
+
height: 48
|
|
1011
|
+
}, {
|
|
1012
|
+
default: I(() => [f(r, {
|
|
1013
|
+
density: "comfortable",
|
|
1014
|
+
icon: "mdi-close",
|
|
1015
|
+
variant: "text",
|
|
1016
|
+
onClick: n[1] ||= (e) => E.value = !1
|
|
1017
|
+
}), u("span", Pt, A(j(l)(["x-prop-tree.select", "x-prop-tree.comp"])), 1)]),
|
|
1018
|
+
_: 1
|
|
1019
|
+
}),
|
|
1020
|
+
u("div", {
|
|
1021
|
+
class: "overflow-y-auto",
|
|
1022
|
+
style: y(x.value)
|
|
1023
|
+
}, [f(Nt, {
|
|
1024
|
+
modelValue: m.value,
|
|
1025
|
+
"onUpdate:modelValue": n[2] ||= (e) => m.value = e,
|
|
1026
|
+
open: j(E),
|
|
1027
|
+
"onUpdate:open": n[3] ||= (e) => g(E) ? E.value = e : null
|
|
1028
|
+
}, null, 8, ["modelValue", "open"]), u("div", { style: y(w.value) }, null, 4)], 4)
|
|
1029
|
+
], 4)], 32)]),
|
|
1030
|
+
_: 1
|
|
1031
|
+
}, 8, ["modelValue"]);
|
|
1032
|
+
};
|
|
1033
|
+
}
|
|
1034
|
+
}), It = { class: "d-flex justify-space-between align-center" }, Lt = /* @__PURE__ */ p({
|
|
1035
|
+
__name: "index",
|
|
1036
|
+
props: /* @__PURE__ */ _({
|
|
1037
|
+
hasDelete: {
|
|
1038
|
+
type: Boolean,
|
|
1039
|
+
default: !1
|
|
1040
|
+
},
|
|
1041
|
+
readonly: {
|
|
1042
|
+
type: Boolean,
|
|
1043
|
+
default: !1
|
|
1044
|
+
}
|
|
1045
|
+
}, {
|
|
1046
|
+
modelValue: { required: !0 },
|
|
1047
|
+
modelModifiers: {}
|
|
1048
|
+
}),
|
|
1049
|
+
emits: /* @__PURE__ */ _(["delete"], ["update:modelValue"]),
|
|
1050
|
+
setup(e, { emit: t }) {
|
|
1051
|
+
let { isMobile: n } = W(), r = N(e, "modelValue"), i = t, a = async (t) => {
|
|
1052
|
+
if (!t || e.readonly || !n()) return;
|
|
1053
|
+
let i = await ve({
|
|
1054
|
+
title: "",
|
|
1055
|
+
value: r.value
|
|
1056
|
+
});
|
|
1057
|
+
i !== void 0 && (r.value = i);
|
|
1058
|
+
};
|
|
1059
|
+
return (t, n) => {
|
|
1060
|
+
let o = O("v-text-field"), u = O("v-btn"), d = k("ripple");
|
|
1061
|
+
return C(), l("div", It, [L(f(o, {
|
|
1062
|
+
modelValue: r.value,
|
|
1063
|
+
"onUpdate:modelValue": n[0] ||= (e) => r.value = e,
|
|
1064
|
+
density: "compact",
|
|
1065
|
+
"hide-details": "",
|
|
1066
|
+
readonly: e.readonly,
|
|
1067
|
+
"single-line": "",
|
|
1068
|
+
"onUpdate:focused": a
|
|
1069
|
+
}, null, 8, ["modelValue", "readonly"]), [[
|
|
1070
|
+
d,
|
|
1071
|
+
void 0,
|
|
1072
|
+
void 0,
|
|
1073
|
+
{ stop: !0 }
|
|
1074
|
+
]]), e.hasDelete ? (C(), s(u, {
|
|
1075
|
+
key: 0,
|
|
1076
|
+
class: "mx-2",
|
|
1077
|
+
density: "compact",
|
|
1078
|
+
icon: "mdi-minus",
|
|
1079
|
+
variant: "text",
|
|
1080
|
+
onClick: n[1] ||= z((e) => i("delete"), ["stop"])
|
|
1081
|
+
})) : c("", !0)]);
|
|
1082
|
+
};
|
|
1083
|
+
}
|
|
1084
|
+
}), Rt = /* @__PURE__ */ p({
|
|
1085
|
+
__name: "editor",
|
|
1086
|
+
props: {
|
|
1087
|
+
modelValue: { required: !0 },
|
|
1088
|
+
modelModifiers: {},
|
|
1089
|
+
lock: {
|
|
1090
|
+
type: Boolean,
|
|
1091
|
+
required: !0
|
|
1092
|
+
},
|
|
1093
|
+
lockModifiers: {},
|
|
1094
|
+
scale: { required: !0 },
|
|
1095
|
+
scaleModifiers: {}
|
|
1096
|
+
},
|
|
1097
|
+
emits: [
|
|
1098
|
+
"update:modelValue",
|
|
1099
|
+
"update:lock",
|
|
1100
|
+
"update:scale"
|
|
1101
|
+
],
|
|
1102
|
+
setup(e, { expose: t }) {
|
|
1103
|
+
let n = N(e, "modelValue"), r = N(e, "lock"), i = N(e, "scale"), a = he(), o = ge(), c = We(), l = ee("target"), u = () => {
|
|
1104
|
+
let e = JSON.parse(n.value);
|
|
1105
|
+
l.value?.load(e);
|
|
1106
|
+
};
|
|
1107
|
+
return t({ save: () => {
|
|
1108
|
+
let e = l.value.save();
|
|
1109
|
+
n.value = JSON.stringify(e, null, 2);
|
|
1110
|
+
} }), (e, t) => (C(), s(j(xe), {
|
|
1111
|
+
ref_key: "target",
|
|
1112
|
+
ref: l,
|
|
1113
|
+
lock: r.value,
|
|
1114
|
+
"onUpdate:lock": t[0] ||= (e) => r.value = e,
|
|
1115
|
+
scale: i.value,
|
|
1116
|
+
"onUpdate:scale": t[1] ||= (e) => i.value = e,
|
|
1117
|
+
dark: j(a),
|
|
1118
|
+
locale: j(o),
|
|
1119
|
+
type: "json",
|
|
1120
|
+
version: j(c),
|
|
1121
|
+
onReady: u
|
|
1122
|
+
}, null, 8, [
|
|
1123
|
+
"lock",
|
|
1124
|
+
"scale",
|
|
1125
|
+
"dark",
|
|
1126
|
+
"locale",
|
|
1127
|
+
"version"
|
|
1128
|
+
]));
|
|
1129
|
+
}
|
|
1130
|
+
}), zt = { class: "text-body-large" }, Bt = /* @__PURE__ */ p({
|
|
1131
|
+
__name: "index",
|
|
1132
|
+
props: /* @__PURE__ */ _({
|
|
1133
|
+
hasDelete: {
|
|
1134
|
+
type: Boolean,
|
|
1135
|
+
default: !1
|
|
1136
|
+
},
|
|
1137
|
+
readonly: {
|
|
1138
|
+
type: Boolean,
|
|
1139
|
+
default: !1
|
|
1140
|
+
}
|
|
1141
|
+
}, {
|
|
1142
|
+
modelValue: { required: !0 },
|
|
1143
|
+
modelModifiers: {}
|
|
1144
|
+
}),
|
|
1145
|
+
emits: /* @__PURE__ */ _(["delete"], ["update:modelValue"]),
|
|
1146
|
+
setup(e, { emit: t }) {
|
|
1147
|
+
let { t: n } = V(), { sysBarAvail: r } = W(), { backgroundColor0: i, backgroundColor1: a, backgroundColor2: l } = U(), p = N(e, "modelValue"), m = t, h = T(!1), _ = T(1), b = o(() => {
|
|
1148
|
+
let e = 48;
|
|
1149
|
+
return r.value && (e += 24), {
|
|
1150
|
+
position: "relative",
|
|
1151
|
+
background: a.value,
|
|
1152
|
+
height: `calc(100% - ${e}px)`
|
|
1153
|
+
};
|
|
1154
|
+
}), x = o(() => n("x-prop-tree.jsonEditor")), { open: w } = G(`propTreejsonEditorDlg${M()}`);
|
|
1155
|
+
S(() => {
|
|
1156
|
+
w.value = !1;
|
|
1157
|
+
});
|
|
1158
|
+
let E = ee("editor");
|
|
1159
|
+
return P(w, (e) => {
|
|
1160
|
+
e || E.value?.save();
|
|
1161
|
+
}), (t, n) => {
|
|
1162
|
+
let a = O("v-btn"), o = O("v-sheet"), S = O("v-spacer"), T = O("v-dialog");
|
|
1163
|
+
return C(), s(T, {
|
|
1164
|
+
modelValue: j(w),
|
|
1165
|
+
"onUpdate:modelValue": n[5] ||= (e) => g(w) ? w.value = e : null,
|
|
1166
|
+
attach: "",
|
|
1167
|
+
fullscreen: "",
|
|
1168
|
+
"no-click-animation": "",
|
|
1169
|
+
persistent: "",
|
|
1170
|
+
transition: "dialog-bottom-transition",
|
|
1171
|
+
onKeydown: n[6] ||= R(z((e) => w.value = !1, ["stop", "prevent"]), ["esc"])
|
|
1172
|
+
}, {
|
|
1173
|
+
activator: I(({ props: t }) => [f(a, v(t, {
|
|
1174
|
+
block: "",
|
|
1175
|
+
density: "comfortable",
|
|
1176
|
+
readonly: e.readonly
|
|
1177
|
+
}), {
|
|
1178
|
+
default: I(() => [d(A(x.value), 1)]),
|
|
1179
|
+
_: 1
|
|
1180
|
+
}, 16, ["readonly"]), e.hasDelete ? (C(), s(a, {
|
|
1181
|
+
key: 0,
|
|
1182
|
+
class: "mx-2",
|
|
1183
|
+
density: "compact",
|
|
1184
|
+
icon: "mdi-minus",
|
|
1185
|
+
variant: "text",
|
|
1186
|
+
onClick: n[0] ||= z((e) => m("delete"), ["stop"])
|
|
1187
|
+
})) : c("", !0)]),
|
|
1188
|
+
default: I(() => [f(o, {
|
|
1189
|
+
color: j(i),
|
|
1190
|
+
height: "100%",
|
|
1191
|
+
width: "100%"
|
|
1192
|
+
}, {
|
|
1193
|
+
default: I(() => [
|
|
1194
|
+
j(r) ? (C(), s(o, {
|
|
1195
|
+
key: 0,
|
|
1196
|
+
color: j(l),
|
|
1197
|
+
height: 24
|
|
1198
|
+
}, null, 8, ["color"])) : c("", !0),
|
|
1199
|
+
f(o, {
|
|
1200
|
+
class: "d-flex align-center px-2",
|
|
1201
|
+
color: j(l),
|
|
1202
|
+
height: 48
|
|
1203
|
+
}, {
|
|
1204
|
+
default: I(() => [
|
|
1205
|
+
f(a, {
|
|
1206
|
+
density: "comfortable",
|
|
1207
|
+
icon: "mdi-close",
|
|
1208
|
+
variant: "text",
|
|
1209
|
+
onClick: n[1] ||= (e) => w.value = !1
|
|
1210
|
+
}),
|
|
1211
|
+
u("span", zt, A(x.value), 1),
|
|
1212
|
+
f(S)
|
|
1213
|
+
]),
|
|
1214
|
+
_: 1
|
|
1215
|
+
}, 8, ["color"]),
|
|
1216
|
+
u("div", { style: y(b.value) }, [f(Rt, {
|
|
1217
|
+
ref_key: "editor",
|
|
1218
|
+
ref: E,
|
|
1219
|
+
modelValue: p.value,
|
|
1220
|
+
"onUpdate:modelValue": n[2] ||= (e) => p.value = e,
|
|
1221
|
+
lock: h.value,
|
|
1222
|
+
"onUpdate:lock": n[3] ||= (e) => h.value = e,
|
|
1223
|
+
scale: _.value,
|
|
1224
|
+
"onUpdate:scale": n[4] ||= (e) => _.value = e
|
|
1225
|
+
}, null, 8, [
|
|
1226
|
+
"modelValue",
|
|
1227
|
+
"lock",
|
|
1228
|
+
"scale"
|
|
1229
|
+
])], 4)
|
|
1230
|
+
]),
|
|
1231
|
+
_: 1
|
|
1232
|
+
}, 8, ["color"])]),
|
|
1233
|
+
_: 1
|
|
1234
|
+
}, 8, ["modelValue"]);
|
|
1235
|
+
};
|
|
1236
|
+
}
|
|
1237
|
+
}), Vt = { class: "d-flex justify-space-between align-center" }, Ht = /* @__PURE__ */ p({
|
|
1238
|
+
__name: "color",
|
|
1239
|
+
props: /* @__PURE__ */ _({
|
|
1240
|
+
hasDelete: {
|
|
1241
|
+
type: Boolean,
|
|
1242
|
+
default: !1
|
|
1243
|
+
},
|
|
1244
|
+
readonly: {
|
|
1245
|
+
type: Boolean,
|
|
1246
|
+
default: !1
|
|
1247
|
+
}
|
|
1248
|
+
}, {
|
|
1249
|
+
modelValue: {},
|
|
1250
|
+
modelModifiers: {}
|
|
1251
|
+
}),
|
|
1252
|
+
emits: /* @__PURE__ */ _(["delete"], ["update:modelValue"]),
|
|
1253
|
+
setup(e, { emit: t }) {
|
|
1254
|
+
let { t: n } = V(), r = N(e, "modelValue"), i = t, a = o(() => {
|
|
1255
|
+
let t = "100%";
|
|
1256
|
+
return e.hasDelete && (t = "calc(100% - 37px)"), { width: t };
|
|
1257
|
+
}), l = o(() => e.readonly), { open: p } = G(`propTreeColorPickerMenu${M()}`);
|
|
1258
|
+
return S(() => {
|
|
1259
|
+
p.value = !1;
|
|
1260
|
+
}), (t, o) => {
|
|
1261
|
+
let m = O("v-btn"), h = O("v-color-picker"), _ = O("v-menu");
|
|
1262
|
+
return C(), s(_, {
|
|
1263
|
+
modelValue: j(p),
|
|
1264
|
+
"onUpdate:modelValue": o[2] ||= (e) => g(p) ? p.value = e : null,
|
|
1265
|
+
"close-on-content-click": !1,
|
|
1266
|
+
scrim: "transparent"
|
|
1267
|
+
}, {
|
|
1268
|
+
activator: I(({ props: t }) => [u("div", Vt, [u("div", {
|
|
1269
|
+
class: "flex-grow-1",
|
|
1270
|
+
style: y(a.value)
|
|
1271
|
+
}, [f(m, v(t, {
|
|
1272
|
+
block: "",
|
|
1273
|
+
color: r.value,
|
|
1274
|
+
density: "comfortable",
|
|
1275
|
+
disabled: l.value
|
|
1276
|
+
}), {
|
|
1277
|
+
default: I(() => [d(A(r.value ? r.value : j(n)("x-runtime-lib.notSet")), 1)]),
|
|
1278
|
+
_: 1
|
|
1279
|
+
}, 16, ["color", "disabled"])], 4), e.hasDelete ? (C(), s(m, {
|
|
1280
|
+
key: 0,
|
|
1281
|
+
class: "mx-2",
|
|
1282
|
+
density: "compact",
|
|
1283
|
+
icon: "mdi-minus",
|
|
1284
|
+
variant: "text",
|
|
1285
|
+
onClick: o[0] ||= z((e) => i("delete"), ["stop"])
|
|
1286
|
+
})) : c("", !0)])]),
|
|
1287
|
+
default: I(() => [f(h, {
|
|
1288
|
+
modelValue: r.value,
|
|
1289
|
+
"onUpdate:modelValue": o[1] ||= (e) => r.value = e,
|
|
1290
|
+
mode: "hexa",
|
|
1291
|
+
"show-swatches": "",
|
|
1292
|
+
"swatches-max-height": "150px"
|
|
1293
|
+
}, null, 8, ["modelValue"])]),
|
|
1294
|
+
_: 1
|
|
1295
|
+
}, 8, ["modelValue"]);
|
|
1296
|
+
};
|
|
1297
|
+
}
|
|
1298
|
+
}), Ut = { class: "d-flex justify-space-between align-center my-2" }, Wt = { class: "flex-grow-1" }, Gt = /* @__PURE__ */ p({
|
|
1299
|
+
__name: "index",
|
|
1300
|
+
props: /* @__PURE__ */ _({
|
|
1301
|
+
hasDelete: {
|
|
1302
|
+
type: Boolean,
|
|
1303
|
+
default: !1
|
|
1304
|
+
},
|
|
1305
|
+
readonly: {
|
|
1306
|
+
type: Boolean,
|
|
1307
|
+
default: !1
|
|
1308
|
+
},
|
|
1309
|
+
types: {}
|
|
1310
|
+
}, {
|
|
1311
|
+
modelValue: {},
|
|
1312
|
+
modelModifiers: {}
|
|
1313
|
+
}),
|
|
1314
|
+
emits: /* @__PURE__ */ _(["delete"], ["update:modelValue"]),
|
|
1315
|
+
setup(e, { emit: t }) {
|
|
1316
|
+
let { t: n } = V(), { isMobile: r } = W(), i = N(e, "modelValue"), a = t, d = o(() => ae(e.types)), p = T(""), m = o(() => {
|
|
1317
|
+
let e = [];
|
|
854
1318
|
for (let { value: t, title: r } of d.value) e.push({
|
|
855
1319
|
value: t,
|
|
856
1320
|
title: n(r)
|
|
857
1321
|
});
|
|
858
1322
|
return e;
|
|
859
1323
|
});
|
|
860
|
-
|
|
1324
|
+
F(() => {
|
|
861
1325
|
for (let { value: e, validator: t } of d.value) if (t(i.value)) {
|
|
862
1326
|
p.value = e;
|
|
863
1327
|
return;
|
|
@@ -878,15 +1342,15 @@ var ht = { class: "d-flex justify-space-between align-center" }, gt = /* @__PURE
|
|
|
878
1342
|
});
|
|
879
1343
|
t !== void 0 && (_.value = t);
|
|
880
1344
|
};
|
|
881
|
-
|
|
882
|
-
h.value?.trait === "pixel" ? _.value =
|
|
883
|
-
}),
|
|
1345
|
+
F(() => {
|
|
1346
|
+
h.value?.trait === "pixel" ? _.value = ue(i.value) : h.value?.trait === "percent" && (_.value = le(i.value));
|
|
1347
|
+
}), P(_, (e) => {
|
|
884
1348
|
h.value?.trait === "pixel" ? i.value = e + "px" : h.value?.trait === "percent" && (i.value = e + "%");
|
|
885
1349
|
});
|
|
886
1350
|
let y = T("#ff00ff");
|
|
887
|
-
|
|
888
|
-
h.value?.trait === "hexColor" &&
|
|
889
|
-
}),
|
|
1351
|
+
F(() => {
|
|
1352
|
+
h.value?.trait === "hexColor" && oe(i.value) && (y.value = i.value);
|
|
1353
|
+
}), P(y, (e) => {
|
|
890
1354
|
h.value?.trait === "hexColor" && (i.value = e);
|
|
891
1355
|
});
|
|
892
1356
|
let b = T("primary"), x = o(() => {
|
|
@@ -897,14 +1361,14 @@ var ht = { class: "d-flex justify-space-between align-center" }, gt = /* @__PURE
|
|
|
897
1361
|
});
|
|
898
1362
|
return e;
|
|
899
1363
|
});
|
|
900
|
-
return
|
|
901
|
-
h.value?.trait === "themeColor" &&
|
|
902
|
-
}),
|
|
1364
|
+
return F(() => {
|
|
1365
|
+
h.value?.trait === "themeColor" && se(i.value) && (b.value = i.value);
|
|
1366
|
+
}), P(b, (e) => {
|
|
903
1367
|
h.value?.trait === "themeColor" && (i.value = e);
|
|
904
1368
|
}), (t, n) => {
|
|
905
|
-
let r =
|
|
906
|
-
return C(), l("div",
|
|
907
|
-
|
|
1369
|
+
let r = O("v-select"), i = O("v-number-input"), o = O("v-btn"), d = k("ripple");
|
|
1370
|
+
return C(), l("div", Ut, [u("div", Wt, [
|
|
1371
|
+
L(f(r, {
|
|
908
1372
|
modelValue: p.value,
|
|
909
1373
|
"onUpdate:modelValue": [n[0] ||= (e) => p.value = e, g],
|
|
910
1374
|
density: "compact",
|
|
@@ -922,7 +1386,7 @@ var ht = { class: "d-flex justify-space-between align-center" }, gt = /* @__PURE
|
|
|
922
1386
|
void 0,
|
|
923
1387
|
{ stop: !0 }
|
|
924
1388
|
]]),
|
|
925
|
-
h.value?.trait === "pixel" || h.value?.trait === "percent" ?
|
|
1389
|
+
h.value?.trait === "pixel" || h.value?.trait === "percent" ? L((C(), s(i, {
|
|
926
1390
|
key: 0,
|
|
927
1391
|
modelValue: _.value,
|
|
928
1392
|
"onUpdate:modelValue": n[1] ||= (e) => _.value = e,
|
|
@@ -949,12 +1413,12 @@ var ht = { class: "d-flex justify-space-between align-center" }, gt = /* @__PURE
|
|
|
949
1413
|
void 0,
|
|
950
1414
|
{ stop: !0 }
|
|
951
1415
|
]]) : c("", !0),
|
|
952
|
-
h.value?.trait === "hexColor" ? (C(), s(
|
|
1416
|
+
h.value?.trait === "hexColor" ? (C(), s(Ht, {
|
|
953
1417
|
key: 1,
|
|
954
1418
|
modelValue: y.value,
|
|
955
1419
|
"onUpdate:modelValue": n[2] ||= (e) => y.value = e
|
|
956
1420
|
}, null, 8, ["modelValue"])) : c("", !0),
|
|
957
|
-
h.value?.trait === "themeColor" ?
|
|
1421
|
+
h.value?.trait === "themeColor" ? L((C(), s(r, {
|
|
958
1422
|
key: 2,
|
|
959
1423
|
modelValue: b.value,
|
|
960
1424
|
"onUpdate:modelValue": n[3] ||= (e) => b.value = e,
|
|
@@ -964,459 +1428,197 @@ var ht = { class: "d-flex justify-space-between align-center" }, gt = /* @__PURE
|
|
|
964
1428
|
"single-line": ""
|
|
965
1429
|
}, null, 8, ["modelValue", "items"])), [[
|
|
966
1430
|
d,
|
|
967
|
-
void 0,
|
|
968
|
-
void 0,
|
|
969
|
-
{ stop: !0 }
|
|
970
|
-
]]) : c("", !0)
|
|
971
|
-
]), e.hasDelete ? (C(), s(o, {
|
|
972
|
-
key: 0,
|
|
973
|
-
class: "mx-2",
|
|
974
|
-
density: "compact",
|
|
975
|
-
icon: "mdi-minus",
|
|
976
|
-
variant: "text",
|
|
977
|
-
onClick: n[4] ||=
|
|
978
|
-
})) : c("", !0)]);
|
|
979
|
-
};
|
|
980
|
-
}
|
|
981
|
-
}), Ct = { class: "d-flex justify-space-between align-center" }, wt = /* @__PURE__ */ p({
|
|
982
|
-
__name: "index",
|
|
983
|
-
props: /* @__PURE__ */ _({
|
|
984
|
-
hasDelete: {
|
|
985
|
-
type: Boolean,
|
|
986
|
-
default: !1
|
|
987
|
-
},
|
|
988
|
-
precision: { default: () => void 0 },
|
|
989
|
-
min: { default: () => -Infinity },
|
|
990
|
-
max: { default: () => Infinity },
|
|
991
|
-
step: { default: 1 },
|
|
992
|
-
readonly: {
|
|
993
|
-
type: Boolean,
|
|
994
|
-
default: !1
|
|
995
|
-
}
|
|
996
|
-
}, {
|
|
997
|
-
modelValue: { required: !0 },
|
|
998
|
-
modelModifiers: {}
|
|
999
|
-
}),
|
|
1000
|
-
emits: /* @__PURE__ */ _(["delete"], ["update:modelValue"]),
|
|
1001
|
-
setup(e, { emit: t }) {
|
|
1002
|
-
let { isMobile: n } = U(), r = M(e, "modelValue"), i = t, a = async (t) => {
|
|
1003
|
-
if (!t || e.readonly || !n()) return;
|
|
1004
|
-
let i = await _e({
|
|
1005
|
-
title: "",
|
|
1006
|
-
value: r.value,
|
|
1007
|
-
precision: e.precision,
|
|
1008
|
-
min: e.min,
|
|
1009
|
-
max: e.max,
|
|
1010
|
-
step: e.step
|
|
1011
|
-
});
|
|
1012
|
-
i !== void 0 && (r.value = i);
|
|
1013
|
-
};
|
|
1014
|
-
return (t, n) => {
|
|
1015
|
-
let o = D("v-number-input"), u = D("v-btn"), d = O("ripple");
|
|
1016
|
-
return C(), l("div", Ct, [I(f(o, {
|
|
1017
|
-
modelValue: r.value,
|
|
1018
|
-
"onUpdate:modelValue": n[0] ||= (e) => r.value = e,
|
|
1019
|
-
"control-variant": "stacked",
|
|
1020
|
-
density: "compact",
|
|
1021
|
-
"hide-details": "",
|
|
1022
|
-
max: e.max,
|
|
1023
|
-
min: e.min,
|
|
1024
|
-
precision: e.precision,
|
|
1025
|
-
readonly: e.readonly,
|
|
1026
|
-
"single-line": "",
|
|
1027
|
-
step: e.step,
|
|
1028
|
-
"onUpdate:focused": a
|
|
1029
|
-
}, null, 8, [
|
|
1030
|
-
"modelValue",
|
|
1031
|
-
"max",
|
|
1032
|
-
"min",
|
|
1033
|
-
"precision",
|
|
1034
|
-
"readonly",
|
|
1035
|
-
"step"
|
|
1036
|
-
]), [[
|
|
1037
|
-
d,
|
|
1038
|
-
void 0,
|
|
1039
|
-
void 0,
|
|
1040
|
-
{ stop: !0 }
|
|
1041
|
-
]]), e.hasDelete ? (C(), s(u, {
|
|
1042
|
-
key: 0,
|
|
1043
|
-
class: "mx-2",
|
|
1044
|
-
density: "compact",
|
|
1045
|
-
icon: "mdi-minus",
|
|
1046
|
-
variant: "text",
|
|
1047
|
-
onClick: n[1] ||= R((e) => i("delete"), ["stop"])
|
|
1048
|
-
})) : c("", !0)]);
|
|
1049
|
-
};
|
|
1050
|
-
}
|
|
1051
|
-
}), Tt = { class: "d-flex justify-space-between align-center" }, Et = /* @__PURE__ */ p({
|
|
1052
|
-
__name: "index",
|
|
1053
|
-
props: /* @__PURE__ */ _({
|
|
1054
|
-
hasDelete: {
|
|
1055
|
-
type: Boolean,
|
|
1056
|
-
default: !1
|
|
1057
|
-
},
|
|
1058
|
-
readonly: {
|
|
1059
|
-
type: Boolean,
|
|
1060
|
-
default: !1
|
|
1061
|
-
},
|
|
1062
|
-
items: {}
|
|
1063
|
-
}, {
|
|
1064
|
-
modelValue: {},
|
|
1065
|
-
modelModifiers: {}
|
|
1066
|
-
}),
|
|
1067
|
-
emits: /* @__PURE__ */ _(["delete"], ["update:modelValue"]),
|
|
1068
|
-
setup(e, { emit: t }) {
|
|
1069
|
-
let { t: n } = B(), r = M(e, "modelValue"), i = t, a = o(() => {
|
|
1070
|
-
let t = [];
|
|
1071
|
-
return re(e.items)?.forEach(({ value: e, title: r }) => {
|
|
1072
|
-
let i = e;
|
|
1073
|
-
r && (i = n(r)), t.push({
|
|
1074
|
-
value: e,
|
|
1075
|
-
title: i
|
|
1076
|
-
});
|
|
1077
|
-
}), t;
|
|
1078
|
-
});
|
|
1079
|
-
return (t, n) => {
|
|
1080
|
-
let o = D("v-select"), u = D("v-btn"), d = O("ripple");
|
|
1081
|
-
return C(), l("div", Tt, [I(f(o, {
|
|
1082
|
-
modelValue: r.value,
|
|
1083
|
-
"onUpdate:modelValue": n[0] ||= (e) => r.value = e,
|
|
1084
|
-
density: "compact",
|
|
1085
|
-
"hide-details": "",
|
|
1086
|
-
items: a.value,
|
|
1087
|
-
readonly: e.readonly,
|
|
1088
|
-
"single-line": ""
|
|
1089
|
-
}, null, 8, [
|
|
1090
|
-
"modelValue",
|
|
1091
|
-
"items",
|
|
1092
|
-
"readonly"
|
|
1093
|
-
]), [[
|
|
1094
|
-
d,
|
|
1095
|
-
void 0,
|
|
1096
|
-
void 0,
|
|
1097
|
-
{ stop: !0 }
|
|
1098
|
-
]]), e.hasDelete ? (C(), s(u, {
|
|
1099
|
-
key: 0,
|
|
1100
|
-
class: "mx-2",
|
|
1101
|
-
density: "compact",
|
|
1102
|
-
icon: "mdi-minus",
|
|
1103
|
-
variant: "text",
|
|
1104
|
-
onClick: n[1] ||= R((e) => i("delete"), ["stop"])
|
|
1105
|
-
})) : c("", !0)]);
|
|
1106
|
-
};
|
|
1107
|
-
}
|
|
1108
|
-
}), Dt = { class: "text-label-large ml-1" }, Ot = { class: "text-body-small text-grey ml-1" }, kt = /* @__PURE__ */ p({
|
|
1109
|
-
__name: "group",
|
|
1110
|
-
props: {
|
|
1111
|
-
id: {},
|
|
1112
|
-
title: {},
|
|
1113
|
-
collapse: { type: Boolean },
|
|
1114
|
-
count: {}
|
|
1115
|
-
},
|
|
1116
|
-
emits: ["x-click"],
|
|
1117
|
-
setup(e, { emit: t }) {
|
|
1118
|
-
let { backgroundColor2: n, highlightColor: r } = H(), i = e, a = t, s = T(!1), c = o(() => ({
|
|
1119
|
-
background: s.value ? r.value : n.value,
|
|
1120
|
-
height: "30px",
|
|
1121
|
-
marginTop: "1px",
|
|
1122
|
-
userSelect: "none"
|
|
1123
|
-
}));
|
|
1124
|
-
return (e, t) => {
|
|
1125
|
-
let n = D("v-icon"), r = O("ripple");
|
|
1126
|
-
return I((C(), l("div", {
|
|
1127
|
-
class: "d-flex align-center cursor-pointer",
|
|
1128
|
-
style: y(c.value),
|
|
1129
|
-
onClick: t[0] ||= (e) => a("x-click", i.id),
|
|
1130
|
-
onMouseout: t[1] ||= (e) => s.value = !1,
|
|
1131
|
-
onMouseover: t[2] ||= (e) => s.value = !0
|
|
1132
|
-
}, [
|
|
1133
|
-
f(n, {
|
|
1134
|
-
icon: i.collapse ? "mdi-chevron-right" : "mdi-chevron-down",
|
|
1135
|
-
size: "small"
|
|
1136
|
-
}, null, 8, ["icon"]),
|
|
1137
|
-
u("span", Dt, k(i.title), 1),
|
|
1138
|
-
u("span", Ot, k(i.count), 1)
|
|
1139
|
-
], 36)), [[r]]);
|
|
1140
|
-
};
|
|
1141
|
-
}
|
|
1142
|
-
}), At = { class: "text-body-large ml-6" }, jt = /* @__PURE__ */ p({
|
|
1143
|
-
__name: "item",
|
|
1144
|
-
props: {
|
|
1145
|
-
id: {},
|
|
1146
|
-
title: {}
|
|
1147
|
-
},
|
|
1148
|
-
emits: ["x-click"],
|
|
1149
|
-
setup(e, { emit: t }) {
|
|
1150
|
-
let { backgroundColor2: n, highlightColor: r } = H(), i = t, a = T(!1), s = o(() => ({
|
|
1151
|
-
background: a.value ? r.value : n.value,
|
|
1152
|
-
height: "48px",
|
|
1153
|
-
marginTop: "1px",
|
|
1154
|
-
userSelect: "none"
|
|
1155
|
-
}));
|
|
1156
|
-
return (t, n) => {
|
|
1157
|
-
let r = O("ripple");
|
|
1158
|
-
return I((C(), l("div", {
|
|
1159
|
-
class: "d-flex align-center cursor-pointer",
|
|
1160
|
-
style: y(s.value),
|
|
1161
|
-
onClick: n[0] ||= (t) => i("x-click", e.id),
|
|
1162
|
-
onMouseout: n[1] ||= (e) => a.value = !1,
|
|
1163
|
-
onMouseover: n[2] ||= (e) => a.value = !0
|
|
1164
|
-
}, [u("span", At, k(e.title), 1)], 36)), [[r]]);
|
|
1165
|
-
};
|
|
1166
|
-
}
|
|
1167
|
-
}), Mt = { key: 0 }, Nt = {
|
|
1168
|
-
key: 1,
|
|
1169
|
-
class: "text-body-medium text-grey ml-3"
|
|
1170
|
-
}, Pt = /* @__PURE__ */ p({
|
|
1171
|
-
__name: "index",
|
|
1172
|
-
props: {
|
|
1173
|
-
modelValue: {},
|
|
1174
|
-
modelModifiers: {},
|
|
1175
|
-
open: {
|
|
1176
|
-
type: Boolean,
|
|
1177
|
-
required: !0
|
|
1178
|
-
},
|
|
1179
|
-
openModifiers: {}
|
|
1180
|
-
},
|
|
1181
|
-
emits: ["update:modelValue", "update:open"],
|
|
1182
|
-
setup(e) {
|
|
1183
|
-
let { nameList: t } = U(), i = M(e, "modelValue"), o = M(e, "open"), u = ct(), d = (e) => {
|
|
1184
|
-
let t = r(u, e);
|
|
1185
|
-
t && n(u, e, !t.collapse);
|
|
1186
|
-
}, f = (e) => {
|
|
1187
|
-
i.value = e, o.value = !1;
|
|
1431
|
+
void 0,
|
|
1432
|
+
void 0,
|
|
1433
|
+
{ stop: !0 }
|
|
1434
|
+
]]) : c("", !0)
|
|
1435
|
+
]), e.hasDelete ? (C(), s(o, {
|
|
1436
|
+
key: 0,
|
|
1437
|
+
class: "mx-2",
|
|
1438
|
+
density: "compact",
|
|
1439
|
+
icon: "mdi-minus",
|
|
1440
|
+
variant: "text",
|
|
1441
|
+
onClick: n[4] ||= z((e) => a("delete"), ["stop"])
|
|
1442
|
+
})) : c("", !0)]);
|
|
1188
1443
|
};
|
|
1189
|
-
return (e, n) => A(u).length > 0 ? (C(), l("div", Mt, [(C(!0), l(a, null, E(A(u), (e) => (C(), l(a, { key: e.id }, [e.type === 0 ? (C(), s(kt, {
|
|
1190
|
-
key: 0,
|
|
1191
|
-
id: e.id,
|
|
1192
|
-
collapse: e.collapse,
|
|
1193
|
-
count: e.count ?? 0,
|
|
1194
|
-
title: e.name,
|
|
1195
|
-
onXClick: d
|
|
1196
|
-
}, null, 8, [
|
|
1197
|
-
"id",
|
|
1198
|
-
"collapse",
|
|
1199
|
-
"count",
|
|
1200
|
-
"title"
|
|
1201
|
-
])) : c("", !0), e.type === 1 && e.show ? (C(), s(jt, {
|
|
1202
|
-
key: 1,
|
|
1203
|
-
id: e.id,
|
|
1204
|
-
title: e.name,
|
|
1205
|
-
onXClick: f
|
|
1206
|
-
}, null, 8, ["id", "title"])) : c("", !0)], 64))), 128))])) : (C(), l("div", Nt, k(A(t)([
|
|
1207
|
-
"x-prop-tree.no",
|
|
1208
|
-
"x-prop-tree.adapt",
|
|
1209
|
-
"x-prop-tree.slot"
|
|
1210
|
-
])), 1));
|
|
1211
1444
|
}
|
|
1212
|
-
}),
|
|
1445
|
+
}), Kt = { class: "d-flex justify-space-between align-center" }, qt = /* @__PURE__ */ p({
|
|
1213
1446
|
__name: "index",
|
|
1214
1447
|
props: /* @__PURE__ */ _({
|
|
1215
1448
|
hasDelete: {
|
|
1216
1449
|
type: Boolean,
|
|
1217
1450
|
default: !1
|
|
1218
1451
|
},
|
|
1452
|
+
precision: { default: () => void 0 },
|
|
1453
|
+
min: { default: () => -Infinity },
|
|
1454
|
+
max: { default: () => Infinity },
|
|
1455
|
+
step: { default: 1 },
|
|
1219
1456
|
readonly: {
|
|
1220
1457
|
type: Boolean,
|
|
1221
1458
|
default: !1
|
|
1222
1459
|
}
|
|
1223
1460
|
}, {
|
|
1224
|
-
modelValue: {},
|
|
1461
|
+
modelValue: { required: !0 },
|
|
1225
1462
|
modelModifiers: {}
|
|
1226
1463
|
}),
|
|
1227
1464
|
emits: /* @__PURE__ */ _(["delete"], ["update:modelValue"]),
|
|
1228
1465
|
setup(e, { emit: t }) {
|
|
1229
|
-
let {
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
height: `calc(100% - ${e}px)`
|
|
1241
|
-
};
|
|
1242
|
-
}), w = o(() => ({ height: "60px" })), T = o(() => {
|
|
1243
|
-
if (!m.value) return n("x-runtime-lib.notSet");
|
|
1244
|
-
let e = r(_, m.value);
|
|
1245
|
-
return e ? e.name : n("x-runtime-lib.slotNotAvail");
|
|
1246
|
-
}), { open: E } = W(`propTreeAdaptSlotSelectDlg${j()}`);
|
|
1247
|
-
return S(() => {
|
|
1248
|
-
E.value = !1;
|
|
1249
|
-
}), (t, n) => {
|
|
1250
|
-
let r = D("v-btn"), i = D("v-sheet"), o = D("v-dialog");
|
|
1251
|
-
return C(), s(o, {
|
|
1252
|
-
modelValue: A(E),
|
|
1253
|
-
"onUpdate:modelValue": n[6] ||= (e) => g(E) ? E.value = e : null,
|
|
1254
|
-
fullscreen: "",
|
|
1255
|
-
"no-click-animation": "",
|
|
1256
|
-
persistent: "",
|
|
1257
|
-
transition: "scroll-x-reverse-transition",
|
|
1258
|
-
onKeydown: n[7] ||= L(R((e) => E.value = !1, ["stop", "prevent"]), ["esc"])
|
|
1259
|
-
}, {
|
|
1260
|
-
activator: F(({ props: t }) => [f(r, v(t, {
|
|
1261
|
-
block: "",
|
|
1262
|
-
density: "comfortable",
|
|
1263
|
-
readonly: e.readonly
|
|
1264
|
-
}), {
|
|
1265
|
-
default: F(() => [d(k(T.value), 1)]),
|
|
1266
|
-
_: 1
|
|
1267
|
-
}, 16, ["readonly"]), e.hasDelete ? (C(), s(r, {
|
|
1268
|
-
key: 0,
|
|
1269
|
-
class: "mx-2",
|
|
1270
|
-
density: "compact",
|
|
1271
|
-
icon: "mdi-minus",
|
|
1272
|
-
variant: "text",
|
|
1273
|
-
onClick: n[0] ||= R((e) => h("delete"), ["stop"])
|
|
1274
|
-
})) : c("", !0)]),
|
|
1275
|
-
default: F(() => [u("div", {
|
|
1276
|
-
class: "w-100 h-100 d-flex flex-row-reverse",
|
|
1277
|
-
onClick: n[4] ||= R((e) => E.value = !1, ["self"]),
|
|
1278
|
-
onContextmenu: n[5] ||= R((e) => E.value = !1, ["self", "prevent"])
|
|
1279
|
-
}, [u("div", {
|
|
1280
|
-
class: "elevation-2",
|
|
1281
|
-
style: y(b.value)
|
|
1282
|
-
}, [
|
|
1283
|
-
A(a) ? (C(), s(i, {
|
|
1284
|
-
key: 0,
|
|
1285
|
-
color: "transparent",
|
|
1286
|
-
height: 24
|
|
1287
|
-
})) : c("", !0),
|
|
1288
|
-
f(i, {
|
|
1289
|
-
class: "d-flex align-center px-3",
|
|
1290
|
-
color: "transparent",
|
|
1291
|
-
height: 48
|
|
1292
|
-
}, {
|
|
1293
|
-
default: F(() => [f(r, {
|
|
1294
|
-
density: "comfortable",
|
|
1295
|
-
icon: "mdi-close",
|
|
1296
|
-
variant: "text",
|
|
1297
|
-
onClick: n[1] ||= (e) => E.value = !1
|
|
1298
|
-
}), u("span", Ft, k(A(l)([
|
|
1299
|
-
"x-prop-tree.select",
|
|
1300
|
-
"x-prop-tree.adapt",
|
|
1301
|
-
"x-prop-tree.slot"
|
|
1302
|
-
])), 1)]),
|
|
1303
|
-
_: 1
|
|
1304
|
-
}),
|
|
1305
|
-
u("div", {
|
|
1306
|
-
class: "overflow-y-auto",
|
|
1307
|
-
style: y(x.value)
|
|
1308
|
-
}, [f(Pt, {
|
|
1309
|
-
modelValue: m.value,
|
|
1310
|
-
"onUpdate:modelValue": n[2] ||= (e) => m.value = e,
|
|
1311
|
-
open: A(E),
|
|
1312
|
-
"onUpdate:open": n[3] ||= (e) => g(E) ? E.value = e : null
|
|
1313
|
-
}, null, 8, ["modelValue", "open"]), u("div", { style: y(w.value) }, null, 4)], 4)
|
|
1314
|
-
], 4)], 32)]),
|
|
1315
|
-
_: 1
|
|
1316
|
-
}, 8, ["modelValue"]);
|
|
1317
|
-
};
|
|
1318
|
-
}
|
|
1319
|
-
}), Lt = { class: "text-label-large ml-1" }, Rt = { class: "text-body-small text-grey ml-1" }, zt = /* @__PURE__ */ p({
|
|
1320
|
-
__name: "group",
|
|
1321
|
-
props: {
|
|
1322
|
-
id: {},
|
|
1323
|
-
title: {},
|
|
1324
|
-
collapse: { type: Boolean },
|
|
1325
|
-
count: {}
|
|
1326
|
-
},
|
|
1327
|
-
emits: ["x-click"],
|
|
1328
|
-
setup(e, { emit: t }) {
|
|
1329
|
-
let { backgroundColor2: n, highlightColor: r } = H(), i = e, a = t, s = T(!1), c = o(() => ({
|
|
1330
|
-
background: s.value ? r.value : n.value,
|
|
1331
|
-
height: "30px",
|
|
1332
|
-
marginTop: "1px",
|
|
1333
|
-
userSelect: "none"
|
|
1334
|
-
}));
|
|
1335
|
-
return (e, t) => {
|
|
1336
|
-
let n = D("v-icon"), r = O("ripple");
|
|
1337
|
-
return I((C(), l("div", {
|
|
1338
|
-
class: "d-flex align-center cursor-pointer",
|
|
1339
|
-
style: y(c.value),
|
|
1340
|
-
onClick: t[0] ||= (e) => a("x-click", i.id),
|
|
1341
|
-
onMouseout: t[1] ||= (e) => s.value = !1,
|
|
1342
|
-
onMouseover: t[2] ||= (e) => s.value = !0
|
|
1343
|
-
}, [
|
|
1344
|
-
f(n, {
|
|
1345
|
-
icon: i.collapse ? "mdi-chevron-right" : "mdi-chevron-down",
|
|
1346
|
-
size: "small"
|
|
1347
|
-
}, null, 8, ["icon"]),
|
|
1348
|
-
u("span", Lt, k(i.title), 1),
|
|
1349
|
-
u("span", Rt, k(i.count), 1)
|
|
1350
|
-
], 36)), [[r]]);
|
|
1466
|
+
let { isMobile: n } = W(), r = N(e, "modelValue"), i = t, a = async (t) => {
|
|
1467
|
+
if (!t || e.readonly || !n()) return;
|
|
1468
|
+
let i = await _e({
|
|
1469
|
+
title: "",
|
|
1470
|
+
value: r.value,
|
|
1471
|
+
precision: e.precision,
|
|
1472
|
+
min: e.min,
|
|
1473
|
+
max: e.max,
|
|
1474
|
+
step: e.step
|
|
1475
|
+
});
|
|
1476
|
+
i !== void 0 && (r.value = i);
|
|
1351
1477
|
};
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1478
|
+
return (t, n) => {
|
|
1479
|
+
let o = O("v-number-input"), u = O("v-btn"), d = k("ripple");
|
|
1480
|
+
return C(), l("div", Kt, [L(f(o, {
|
|
1481
|
+
modelValue: r.value,
|
|
1482
|
+
"onUpdate:modelValue": n[0] ||= (e) => r.value = e,
|
|
1483
|
+
"control-variant": "stacked",
|
|
1484
|
+
density: "compact",
|
|
1485
|
+
"hide-details": "",
|
|
1486
|
+
max: e.max,
|
|
1487
|
+
min: e.min,
|
|
1488
|
+
precision: e.precision,
|
|
1489
|
+
readonly: e.readonly,
|
|
1490
|
+
"single-line": "",
|
|
1491
|
+
step: e.step,
|
|
1492
|
+
"onUpdate:focused": a
|
|
1493
|
+
}, null, 8, [
|
|
1494
|
+
"modelValue",
|
|
1495
|
+
"max",
|
|
1496
|
+
"min",
|
|
1497
|
+
"precision",
|
|
1498
|
+
"readonly",
|
|
1499
|
+
"step"
|
|
1500
|
+
]), [[
|
|
1501
|
+
d,
|
|
1502
|
+
void 0,
|
|
1503
|
+
void 0,
|
|
1504
|
+
{ stop: !0 }
|
|
1505
|
+
]]), e.hasDelete ? (C(), s(u, {
|
|
1506
|
+
key: 0,
|
|
1507
|
+
class: "mx-2",
|
|
1508
|
+
density: "compact",
|
|
1509
|
+
icon: "mdi-minus",
|
|
1510
|
+
variant: "text",
|
|
1511
|
+
onClick: n[1] ||= z((e) => i("delete"), ["stop"])
|
|
1512
|
+
})) : c("", !0)]);
|
|
1376
1513
|
};
|
|
1377
1514
|
}
|
|
1378
|
-
}),
|
|
1379
|
-
key: 1,
|
|
1380
|
-
class: "text-body-medium text-grey ml-3"
|
|
1381
|
-
}, Wt = /* @__PURE__ */ p({
|
|
1515
|
+
}), Jt = { class: "d-flex justify-space-between align-center my-2" }, Yt = { class: "flex-grow-1" }, Xt = /* @__PURE__ */ p({
|
|
1382
1516
|
__name: "index",
|
|
1383
|
-
props: {
|
|
1384
|
-
|
|
1385
|
-
modelModifiers: {},
|
|
1386
|
-
open: {
|
|
1517
|
+
props: /* @__PURE__ */ _({
|
|
1518
|
+
hasDelete: {
|
|
1387
1519
|
type: Boolean,
|
|
1388
|
-
|
|
1520
|
+
default: !1
|
|
1389
1521
|
},
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1522
|
+
readonly: {
|
|
1523
|
+
type: Boolean,
|
|
1524
|
+
default: !1
|
|
1525
|
+
}
|
|
1526
|
+
}, {
|
|
1527
|
+
modelValue: { required: !0 },
|
|
1528
|
+
modelModifiers: {}
|
|
1529
|
+
}),
|
|
1530
|
+
emits: /* @__PURE__ */ _(["delete"], ["update:modelValue"]),
|
|
1531
|
+
setup(e, { emit: t }) {
|
|
1532
|
+
let { t: n } = V(), { isMobile: r } = W(), i = N(e, "modelValue"), a = t, d = T(""), p = T(0);
|
|
1533
|
+
F(() => {
|
|
1534
|
+
let e = i.value.split(",");
|
|
1535
|
+
e.length < 1 || (d.value = e[0], (e[0] === "minLength" || e[1] === "maxLength" || e[2] === "length") && (e.length > 1 ? p.value = parseInt(e[1]) : p.value = 0));
|
|
1536
|
+
});
|
|
1537
|
+
function m() {
|
|
1538
|
+
d.value === "minLength" || d.value === "maxLength" || d.value === "length" ? i.value = `${d.value},${p.value}` : i.value = d.value;
|
|
1539
|
+
}
|
|
1540
|
+
let h = o(() => {
|
|
1541
|
+
let e = [{
|
|
1542
|
+
value: "",
|
|
1543
|
+
title: n("x-runtime-lib.notSet")
|
|
1544
|
+
}];
|
|
1545
|
+
for (let t of fe) e.push({
|
|
1546
|
+
value: t,
|
|
1547
|
+
title: n(`x-runtime-lib.${t}`)
|
|
1548
|
+
});
|
|
1549
|
+
return e;
|
|
1550
|
+
});
|
|
1551
|
+
function g() {
|
|
1552
|
+
p.value = 0, m();
|
|
1553
|
+
}
|
|
1554
|
+
F(() => {
|
|
1555
|
+
let e = i.value.split(",");
|
|
1556
|
+
e.length > 1 && (p.value = parseInt(e[1]));
|
|
1557
|
+
});
|
|
1558
|
+
async function _(e) {
|
|
1559
|
+
if (!e || !r()) return;
|
|
1560
|
+
let t = await _e({
|
|
1561
|
+
title: "",
|
|
1562
|
+
value: p.value,
|
|
1563
|
+
precision: 0,
|
|
1564
|
+
min: 0,
|
|
1565
|
+
max: Infinity,
|
|
1566
|
+
step: 1
|
|
1567
|
+
});
|
|
1568
|
+
t !== void 0 && (p.value = t, m());
|
|
1569
|
+
}
|
|
1570
|
+
function v() {
|
|
1571
|
+
m();
|
|
1572
|
+
}
|
|
1573
|
+
return (t, n) => {
|
|
1574
|
+
let r = O("v-select"), i = O("v-number-input"), o = O("v-btn"), m = k("ripple");
|
|
1575
|
+
return C(), l("div", Jt, [u("div", Yt, [L(f(r, {
|
|
1576
|
+
modelValue: d.value,
|
|
1577
|
+
"onUpdate:modelValue": [n[0] ||= (e) => d.value = e, g],
|
|
1578
|
+
density: "compact",
|
|
1579
|
+
"hide-details": "",
|
|
1580
|
+
items: h.value,
|
|
1581
|
+
readonly: e.readonly,
|
|
1582
|
+
"single-line": ""
|
|
1583
|
+
}, null, 8, [
|
|
1584
|
+
"modelValue",
|
|
1585
|
+
"items",
|
|
1586
|
+
"readonly"
|
|
1587
|
+
]), [[
|
|
1588
|
+
m,
|
|
1589
|
+
void 0,
|
|
1590
|
+
void 0,
|
|
1591
|
+
{ stop: !0 }
|
|
1592
|
+
]]), d.value === "minLength" || d.value === "maxLength" || d.value === "length" ? L((C(), s(i, {
|
|
1593
|
+
key: 0,
|
|
1594
|
+
modelValue: p.value,
|
|
1595
|
+
"onUpdate:modelValue": [n[1] ||= (e) => p.value = e, v],
|
|
1596
|
+
"control-variant": "stacked",
|
|
1597
|
+
density: "compact",
|
|
1598
|
+
"hide-details": "",
|
|
1599
|
+
max: Infinity,
|
|
1600
|
+
min: 0,
|
|
1601
|
+
precision: 0,
|
|
1602
|
+
readonly: e.readonly,
|
|
1603
|
+
"single-line": "",
|
|
1604
|
+
step: 1,
|
|
1605
|
+
"onUpdate:focused": _
|
|
1606
|
+
}, null, 8, ["modelValue", "readonly"])), [[
|
|
1607
|
+
m,
|
|
1608
|
+
void 0,
|
|
1609
|
+
void 0,
|
|
1610
|
+
{ stop: !0 }
|
|
1611
|
+
]]) : c("", !0)]), e.hasDelete ? (C(), s(o, {
|
|
1612
|
+
key: 0,
|
|
1613
|
+
class: "mx-2",
|
|
1614
|
+
density: "compact",
|
|
1615
|
+
icon: "mdi-minus",
|
|
1616
|
+
variant: "text",
|
|
1617
|
+
onClick: n[2] ||= z((e) => a("delete"), ["stop"])
|
|
1618
|
+
})) : c("", !0)]);
|
|
1399
1619
|
};
|
|
1400
|
-
return (e, n) => A(u).length > 0 ? (C(), l("div", Ht, [(C(!0), l(a, null, E(A(u), (e) => (C(), l(a, { key: e.id }, [e.type === 0 ? (C(), s(zt, {
|
|
1401
|
-
key: 0,
|
|
1402
|
-
id: e.id,
|
|
1403
|
-
collapse: e.collapse,
|
|
1404
|
-
count: e.count ?? 0,
|
|
1405
|
-
title: e.name,
|
|
1406
|
-
onXClick: d
|
|
1407
|
-
}, null, 8, [
|
|
1408
|
-
"id",
|
|
1409
|
-
"collapse",
|
|
1410
|
-
"count",
|
|
1411
|
-
"title"
|
|
1412
|
-
])) : c("", !0), e.type === 1 && e.show ? (C(), s(Vt, {
|
|
1413
|
-
key: 1,
|
|
1414
|
-
id: e.id,
|
|
1415
|
-
title: e.name,
|
|
1416
|
-
onXClick: f
|
|
1417
|
-
}, null, 8, ["id", "title"])) : c("", !0)], 64))), 128))])) : (C(), l("div", Ut, k(A(t)(["x-prop-tree.no", "x-prop-tree.comp"])), 1));
|
|
1418
1620
|
}
|
|
1419
|
-
}),
|
|
1621
|
+
}), Zt = { class: "d-flex justify-space-between align-center" }, Qt = /* @__PURE__ */ p({
|
|
1420
1622
|
__name: "index",
|
|
1421
1623
|
props: /* @__PURE__ */ _({
|
|
1422
1624
|
hasDelete: {
|
|
@@ -1426,100 +1628,54 @@ var ht = { class: "d-flex justify-space-between align-center" }, gt = /* @__PURE
|
|
|
1426
1628
|
readonly: {
|
|
1427
1629
|
type: Boolean,
|
|
1428
1630
|
default: !1
|
|
1429
|
-
}
|
|
1631
|
+
},
|
|
1632
|
+
items: {}
|
|
1430
1633
|
}, {
|
|
1431
1634
|
modelValue: {},
|
|
1432
1635
|
modelModifiers: {}
|
|
1433
1636
|
}),
|
|
1434
1637
|
emits: /* @__PURE__ */ _(["delete"], ["update:modelValue"]),
|
|
1435
1638
|
setup(e, { emit: t }) {
|
|
1436
|
-
let { t: n } =
|
|
1437
|
-
let
|
|
1438
|
-
return
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
_: 1
|
|
1474
|
-
}, 16, ["readonly"]), e.hasDelete ? (C(), s(r, {
|
|
1475
|
-
key: 0,
|
|
1476
|
-
class: "mx-2",
|
|
1477
|
-
density: "compact",
|
|
1478
|
-
icon: "mdi-minus",
|
|
1479
|
-
variant: "text",
|
|
1480
|
-
onClick: n[0] ||= R((e) => h("delete"), ["stop"])
|
|
1481
|
-
})) : c("", !0)]),
|
|
1482
|
-
default: F(() => [u("div", {
|
|
1483
|
-
class: "w-100 h-100 d-flex flex-row-reverse",
|
|
1484
|
-
onClick: n[4] ||= R((e) => E.value = !1, ["self"]),
|
|
1485
|
-
onContextmenu: n[5] ||= R((e) => E.value = !1, ["self", "prevent"])
|
|
1486
|
-
}, [u("div", {
|
|
1487
|
-
class: "elevation-2",
|
|
1488
|
-
style: y(b.value)
|
|
1489
|
-
}, [
|
|
1490
|
-
A(a) ? (C(), s(i, {
|
|
1491
|
-
key: 0,
|
|
1492
|
-
color: "transparent",
|
|
1493
|
-
height: 24
|
|
1494
|
-
})) : c("", !0),
|
|
1495
|
-
f(i, {
|
|
1496
|
-
class: "d-flex align-center px-3",
|
|
1497
|
-
color: "transparent",
|
|
1498
|
-
height: 48
|
|
1499
|
-
}, {
|
|
1500
|
-
default: F(() => [f(r, {
|
|
1501
|
-
density: "comfortable",
|
|
1502
|
-
icon: "mdi-close",
|
|
1503
|
-
variant: "text",
|
|
1504
|
-
onClick: n[1] ||= (e) => E.value = !1
|
|
1505
|
-
}), u("span", Gt, k(A(l)(["x-prop-tree.select", "x-prop-tree.comp"])), 1)]),
|
|
1506
|
-
_: 1
|
|
1507
|
-
}),
|
|
1508
|
-
u("div", {
|
|
1509
|
-
class: "overflow-y-auto",
|
|
1510
|
-
style: y(x.value)
|
|
1511
|
-
}, [f(Wt, {
|
|
1512
|
-
modelValue: m.value,
|
|
1513
|
-
"onUpdate:modelValue": n[2] ||= (e) => m.value = e,
|
|
1514
|
-
open: A(E),
|
|
1515
|
-
"onUpdate:open": n[3] ||= (e) => g(E) ? E.value = e : null
|
|
1516
|
-
}, null, 8, ["modelValue", "open"]), u("div", { style: y(w.value) }, null, 4)], 4)
|
|
1517
|
-
], 4)], 32)]),
|
|
1518
|
-
_: 1
|
|
1519
|
-
}, 8, ["modelValue"]);
|
|
1639
|
+
let { t: n } = V(), r = N(e, "modelValue"), i = t, a = o(() => {
|
|
1640
|
+
let t = [];
|
|
1641
|
+
return ne(e.items)?.forEach(({ value: e, title: r }) => {
|
|
1642
|
+
let i = e;
|
|
1643
|
+
r && (i = n(r)), t.push({
|
|
1644
|
+
value: e,
|
|
1645
|
+
title: i
|
|
1646
|
+
});
|
|
1647
|
+
}), t;
|
|
1648
|
+
});
|
|
1649
|
+
return (t, n) => {
|
|
1650
|
+
let o = O("v-select"), u = O("v-btn"), d = k("ripple");
|
|
1651
|
+
return C(), l("div", Zt, [L(f(o, {
|
|
1652
|
+
modelValue: r.value,
|
|
1653
|
+
"onUpdate:modelValue": n[0] ||= (e) => r.value = e,
|
|
1654
|
+
density: "compact",
|
|
1655
|
+
"hide-details": "",
|
|
1656
|
+
items: a.value,
|
|
1657
|
+
readonly: e.readonly,
|
|
1658
|
+
"single-line": ""
|
|
1659
|
+
}, null, 8, [
|
|
1660
|
+
"modelValue",
|
|
1661
|
+
"items",
|
|
1662
|
+
"readonly"
|
|
1663
|
+
]), [[
|
|
1664
|
+
d,
|
|
1665
|
+
void 0,
|
|
1666
|
+
void 0,
|
|
1667
|
+
{ stop: !0 }
|
|
1668
|
+
]]), e.hasDelete ? (C(), s(u, {
|
|
1669
|
+
key: 0,
|
|
1670
|
+
class: "mx-2",
|
|
1671
|
+
density: "compact",
|
|
1672
|
+
icon: "mdi-minus",
|
|
1673
|
+
variant: "text",
|
|
1674
|
+
onClick: n[1] ||= z((e) => i("delete"), ["stop"])
|
|
1675
|
+
})) : c("", !0)]);
|
|
1520
1676
|
};
|
|
1521
1677
|
}
|
|
1522
|
-
}),
|
|
1678
|
+
}), $t = { class: "text-body-large ml-6" }, en = /* @__PURE__ */ p({
|
|
1523
1679
|
__name: "item",
|
|
1524
1680
|
props: {
|
|
1525
1681
|
id: {},
|
|
@@ -1527,27 +1683,27 @@ var ht = { class: "d-flex justify-space-between align-center" }, gt = /* @__PURE
|
|
|
1527
1683
|
},
|
|
1528
1684
|
emits: ["x-click"],
|
|
1529
1685
|
setup(e, { emit: t }) {
|
|
1530
|
-
let { backgroundColor2: n, highlightColor: r } =
|
|
1686
|
+
let { backgroundColor2: n, highlightColor: r } = U(), i = t, a = T(!1), s = o(() => ({
|
|
1531
1687
|
background: a.value ? r.value : n.value,
|
|
1532
1688
|
height: "48px",
|
|
1533
1689
|
marginTop: "1px",
|
|
1534
1690
|
userSelect: "none"
|
|
1535
1691
|
}));
|
|
1536
1692
|
return (t, n) => {
|
|
1537
|
-
let r =
|
|
1538
|
-
return
|
|
1693
|
+
let r = k("ripple");
|
|
1694
|
+
return L((C(), l("div", {
|
|
1539
1695
|
class: "d-flex align-center cursor-pointer",
|
|
1540
1696
|
style: y(s.value),
|
|
1541
1697
|
onClick: n[0] ||= (t) => i("x-click", e.id),
|
|
1542
1698
|
onMouseout: n[1] ||= (e) => a.value = !1,
|
|
1543
1699
|
onMouseover: n[2] ||= (e) => a.value = !0
|
|
1544
|
-
}, [u("span",
|
|
1700
|
+
}, [u("span", $t, A(e.title), 1)], 36)), [[r]]);
|
|
1545
1701
|
};
|
|
1546
1702
|
}
|
|
1547
|
-
}),
|
|
1703
|
+
}), tn = { key: 0 }, nn = {
|
|
1548
1704
|
key: 1,
|
|
1549
1705
|
class: "text-body-medium text-grey ml-3"
|
|
1550
|
-
},
|
|
1706
|
+
}, rn = /* @__PURE__ */ p({
|
|
1551
1707
|
__name: "index",
|
|
1552
1708
|
props: {
|
|
1553
1709
|
modelValue: {},
|
|
@@ -1560,17 +1716,17 @@ var ht = { class: "d-flex justify-space-between align-center" }, gt = /* @__PURE
|
|
|
1560
1716
|
},
|
|
1561
1717
|
emits: ["update:modelValue", "update:open"],
|
|
1562
1718
|
setup(e) {
|
|
1563
|
-
let { nameList: t } =
|
|
1719
|
+
let { nameList: t } = W(), n = N(e, "modelValue"), r = N(e, "open"), i = st(), o = (e) => {
|
|
1564
1720
|
n.value = e, r.value = !1;
|
|
1565
1721
|
};
|
|
1566
|
-
return (e, n) =>
|
|
1722
|
+
return (e, n) => j(i).length > 0 ? (C(), l("div", tn, [(C(!0), l(a, null, E(j(i), (e) => (C(), s(en, {
|
|
1567
1723
|
key: e.id,
|
|
1568
1724
|
id: e.id,
|
|
1569
1725
|
title: e.name,
|
|
1570
1726
|
onXClick: o
|
|
1571
|
-
}, null, 8, ["id", "title"]))), 128))])) : (C(), l("div",
|
|
1727
|
+
}, null, 8, ["id", "title"]))), 128))])) : (C(), l("div", nn, A(j(t)(["x-prop-tree.no", "x-prop-tree.slot"])), 1));
|
|
1572
1728
|
}
|
|
1573
|
-
}),
|
|
1729
|
+
}), an = { class: "text-body-large" }, on = /* @__PURE__ */ p({
|
|
1574
1730
|
__name: "index",
|
|
1575
1731
|
props: /* @__PURE__ */ _({
|
|
1576
1732
|
hasDelete: {
|
|
@@ -1587,7 +1743,7 @@ var ht = { class: "d-flex justify-space-between align-center" }, gt = /* @__PURE
|
|
|
1587
1743
|
}),
|
|
1588
1744
|
emits: /* @__PURE__ */ _(["delete"], ["update:modelValue"]),
|
|
1589
1745
|
setup(e, { emit: t }) {
|
|
1590
|
-
let { t: n } =
|
|
1746
|
+
let { t: n } = V(), r = be(), { sysBarAvail: i, nameList: a } = W(), { backgroundColor1: l } = U(), p = N(e, "modelValue"), m = t, h = st(), _ = o(() => {
|
|
1591
1747
|
let e = "100%";
|
|
1592
1748
|
return r.mdAndUp.value && (e = "400px"), {
|
|
1593
1749
|
background: l.value,
|
|
@@ -1604,26 +1760,26 @@ var ht = { class: "d-flex justify-space-between align-center" }, gt = /* @__PURE
|
|
|
1604
1760
|
if (!p.value) return n("x-runtime-lib.notSet");
|
|
1605
1761
|
let e = h.value.find((e) => e.id === p.value);
|
|
1606
1762
|
return e ? e.name : n("x-runtime-lib.slotNotAvail");
|
|
1607
|
-
}), { open: T } =
|
|
1763
|
+
}), { open: T } = G(`propTreeSlotSelectDlg${M()}`);
|
|
1608
1764
|
return S(() => {
|
|
1609
1765
|
T.value = !1;
|
|
1610
1766
|
}), (t, n) => {
|
|
1611
|
-
let r =
|
|
1767
|
+
let r = O("v-btn"), o = O("v-sheet"), l = O("v-dialog");
|
|
1612
1768
|
return C(), s(l, {
|
|
1613
|
-
modelValue:
|
|
1769
|
+
modelValue: j(T),
|
|
1614
1770
|
"onUpdate:modelValue": n[6] ||= (e) => g(T) ? T.value = e : null,
|
|
1615
1771
|
fullscreen: "",
|
|
1616
1772
|
"no-click-animation": "",
|
|
1617
1773
|
persistent: "",
|
|
1618
1774
|
transition: "scroll-x-reverse-transition",
|
|
1619
|
-
onKeydown: n[7] ||=
|
|
1775
|
+
onKeydown: n[7] ||= R(z((e) => T.value = !1, ["stop", "prevent"]), ["esc"])
|
|
1620
1776
|
}, {
|
|
1621
|
-
activator:
|
|
1777
|
+
activator: I(({ props: t }) => [f(r, v(t, {
|
|
1622
1778
|
block: "",
|
|
1623
1779
|
density: "comfortable",
|
|
1624
1780
|
readonly: e.readonly
|
|
1625
1781
|
}), {
|
|
1626
|
-
default:
|
|
1782
|
+
default: I(() => [d(A(w.value), 1)]),
|
|
1627
1783
|
_: 1
|
|
1628
1784
|
}, 16, ["readonly"]), e.hasDelete ? (C(), s(r, {
|
|
1629
1785
|
key: 0,
|
|
@@ -1631,17 +1787,17 @@ var ht = { class: "d-flex justify-space-between align-center" }, gt = /* @__PURE
|
|
|
1631
1787
|
density: "compact",
|
|
1632
1788
|
icon: "mdi-minus",
|
|
1633
1789
|
variant: "text",
|
|
1634
|
-
onClick: n[0] ||=
|
|
1790
|
+
onClick: n[0] ||= z((e) => m("delete"), ["stop"])
|
|
1635
1791
|
})) : c("", !0)]),
|
|
1636
|
-
default:
|
|
1792
|
+
default: I(() => [u("div", {
|
|
1637
1793
|
class: "w-100 h-100 d-flex flex-row-reverse",
|
|
1638
|
-
onClick: n[4] ||=
|
|
1639
|
-
onContextmenu: n[5] ||=
|
|
1794
|
+
onClick: n[4] ||= z((e) => T.value = !1, ["self"]),
|
|
1795
|
+
onContextmenu: n[5] ||= z((e) => T.value = !1, ["self", "prevent"])
|
|
1640
1796
|
}, [u("div", {
|
|
1641
1797
|
class: "elevation-2",
|
|
1642
1798
|
style: y(_.value)
|
|
1643
1799
|
}, [
|
|
1644
|
-
|
|
1800
|
+
j(i) ? (C(), s(o, {
|
|
1645
1801
|
key: 0,
|
|
1646
1802
|
color: "transparent",
|
|
1647
1803
|
height: 24
|
|
@@ -1651,21 +1807,21 @@ var ht = { class: "d-flex justify-space-between align-center" }, gt = /* @__PURE
|
|
|
1651
1807
|
color: "transparent",
|
|
1652
1808
|
height: 48
|
|
1653
1809
|
}, {
|
|
1654
|
-
default:
|
|
1810
|
+
default: I(() => [f(r, {
|
|
1655
1811
|
density: "comfortable",
|
|
1656
1812
|
icon: "mdi-close",
|
|
1657
1813
|
variant: "text",
|
|
1658
1814
|
onClick: n[1] ||= (e) => T.value = !1
|
|
1659
|
-
}), u("span",
|
|
1815
|
+
}), u("span", an, A(j(a)(["x-prop-tree.select", "x-prop-tree.slot"])), 1)]),
|
|
1660
1816
|
_: 1
|
|
1661
1817
|
}),
|
|
1662
1818
|
u("div", {
|
|
1663
1819
|
class: "overflow-y-auto",
|
|
1664
1820
|
style: y(b.value)
|
|
1665
|
-
}, [f(
|
|
1821
|
+
}, [f(rn, {
|
|
1666
1822
|
modelValue: p.value,
|
|
1667
1823
|
"onUpdate:modelValue": n[2] ||= (e) => p.value = e,
|
|
1668
|
-
open:
|
|
1824
|
+
open: j(T),
|
|
1669
1825
|
"onUpdate:open": n[3] ||= (e) => g(T) ? T.value = e : null
|
|
1670
1826
|
}, null, 8, ["modelValue", "open"]), u("div", { style: y(x.value) }, null, 4)], 4)
|
|
1671
1827
|
], 4)], 32)]),
|
|
@@ -1673,7 +1829,7 @@ var ht = { class: "d-flex justify-space-between align-center" }, gt = /* @__PURE
|
|
|
1673
1829
|
}, 8, ["modelValue"]);
|
|
1674
1830
|
};
|
|
1675
1831
|
}
|
|
1676
|
-
}),
|
|
1832
|
+
}), sn = { class: "d-flex justify-space-between align-center" }, cn = /* @__PURE__ */ p({
|
|
1677
1833
|
__name: "index",
|
|
1678
1834
|
props: /* @__PURE__ */ _({
|
|
1679
1835
|
hasDelete: {
|
|
@@ -1685,45 +1841,33 @@ var ht = { class: "d-flex justify-space-between align-center" }, gt = /* @__PURE
|
|
|
1685
1841
|
default: !1
|
|
1686
1842
|
}
|
|
1687
1843
|
}, {
|
|
1688
|
-
modelValue: {
|
|
1844
|
+
modelValue: { type: Boolean },
|
|
1689
1845
|
modelModifiers: {}
|
|
1690
1846
|
}),
|
|
1691
1847
|
emits: /* @__PURE__ */ _(["delete"], ["update:modelValue"]),
|
|
1692
1848
|
setup(e, { emit: t }) {
|
|
1693
|
-
let
|
|
1694
|
-
|
|
1695
|
-
let
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
return (t, n) => {
|
|
1702
|
-
let o = D("v-text-field"), u = D("v-btn"), d = O("ripple");
|
|
1703
|
-
return C(), l("div", en, [I(f(o, {
|
|
1704
|
-
modelValue: r.value,
|
|
1705
|
-
"onUpdate:modelValue": n[0] ||= (e) => r.value = e,
|
|
1849
|
+
let n = N(e, "modelValue"), r = t;
|
|
1850
|
+
return (t, i) => {
|
|
1851
|
+
let a = O("v-switch"), o = O("v-btn");
|
|
1852
|
+
return C(), l("div", sn, [f(a, {
|
|
1853
|
+
modelValue: n.value,
|
|
1854
|
+
"onUpdate:modelValue": i[0] ||= (e) => n.value = e,
|
|
1855
|
+
class: "ml-1",
|
|
1856
|
+
color: "primary",
|
|
1706
1857
|
density: "compact",
|
|
1707
1858
|
"hide-details": "",
|
|
1708
|
-
readonly: e.readonly
|
|
1709
|
-
|
|
1710
|
-
"onUpdate:focused": a
|
|
1711
|
-
}, null, 8, ["modelValue", "readonly"]), [[
|
|
1712
|
-
d,
|
|
1713
|
-
void 0,
|
|
1714
|
-
void 0,
|
|
1715
|
-
{ stop: !0 }
|
|
1716
|
-
]]), e.hasDelete ? (C(), s(u, {
|
|
1859
|
+
readonly: e.readonly
|
|
1860
|
+
}, null, 8, ["modelValue", "readonly"]), e.hasDelete ? (C(), s(o, {
|
|
1717
1861
|
key: 0,
|
|
1718
1862
|
class: "mx-2",
|
|
1719
1863
|
density: "compact",
|
|
1720
1864
|
icon: "mdi-minus",
|
|
1721
1865
|
variant: "text",
|
|
1722
|
-
onClick:
|
|
1866
|
+
onClick: i[1] ||= z((e) => r("delete"), ["stop"])
|
|
1723
1867
|
})) : c("", !0)]);
|
|
1724
1868
|
};
|
|
1725
1869
|
}
|
|
1726
|
-
}),
|
|
1870
|
+
}), ln = { class: "d-flex justify-space-between align-center" }, un = /* @__PURE__ */ p({
|
|
1727
1871
|
__name: "index",
|
|
1728
1872
|
props: /* @__PURE__ */ _({
|
|
1729
1873
|
hasDelete: {
|
|
@@ -1735,43 +1879,74 @@ var ht = { class: "d-flex justify-space-between align-center" }, gt = /* @__PURE
|
|
|
1735
1879
|
default: !1
|
|
1736
1880
|
}
|
|
1737
1881
|
}, {
|
|
1738
|
-
modelValue: {
|
|
1882
|
+
modelValue: { required: !0 },
|
|
1739
1883
|
modelModifiers: {}
|
|
1740
1884
|
}),
|
|
1741
1885
|
emits: /* @__PURE__ */ _(["delete"], ["update:modelValue"]),
|
|
1742
1886
|
setup(e, { emit: t }) {
|
|
1743
|
-
let n =
|
|
1744
|
-
|
|
1745
|
-
let
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1887
|
+
let { isMobile: n } = W(), r = N(e, "modelValue"), i = t, a = async (t) => {
|
|
1888
|
+
if (!t || e.readonly || !n()) return;
|
|
1889
|
+
let i = await ve({
|
|
1890
|
+
title: "",
|
|
1891
|
+
value: r.value
|
|
1892
|
+
});
|
|
1893
|
+
i !== void 0 && (r.value = i);
|
|
1894
|
+
};
|
|
1895
|
+
return (t, n) => {
|
|
1896
|
+
let o = O("v-text-field"), u = O("v-btn"), d = k("ripple");
|
|
1897
|
+
return C(), l("div", ln, [L(f(o, {
|
|
1898
|
+
modelValue: r.value,
|
|
1899
|
+
"onUpdate:modelValue": n[0] ||= (e) => r.value = e,
|
|
1751
1900
|
density: "compact",
|
|
1752
1901
|
"hide-details": "",
|
|
1753
|
-
readonly: e.readonly
|
|
1754
|
-
|
|
1902
|
+
readonly: e.readonly,
|
|
1903
|
+
"single-line": "",
|
|
1904
|
+
"onUpdate:focused": a
|
|
1905
|
+
}, null, 8, ["modelValue", "readonly"]), [[
|
|
1906
|
+
d,
|
|
1907
|
+
void 0,
|
|
1908
|
+
void 0,
|
|
1909
|
+
{ stop: !0 }
|
|
1910
|
+
]]), e.hasDelete ? (C(), s(u, {
|
|
1755
1911
|
key: 0,
|
|
1756
1912
|
class: "mx-2",
|
|
1757
1913
|
density: "compact",
|
|
1758
1914
|
icon: "mdi-minus",
|
|
1759
1915
|
variant: "text",
|
|
1760
|
-
onClick:
|
|
1916
|
+
onClick: n[1] ||= z((e) => i("delete"), ["stop"])
|
|
1761
1917
|
})) : c("", !0)]);
|
|
1762
1918
|
};
|
|
1763
1919
|
}
|
|
1764
1920
|
});
|
|
1765
1921
|
//#endregion
|
|
1766
|
-
//#region src/composables/uis/
|
|
1767
|
-
function
|
|
1922
|
+
//#region src/composables/uis/uiAdaptSlot.ts
|
|
1923
|
+
function dn() {
|
|
1924
|
+
let e = $();
|
|
1925
|
+
return { renderUiAdaptSlot: (t, n, r, i, a) => {
|
|
1926
|
+
if (n.ui !== "adaptSlot") throw Error("useUiAdaptSlot property ui must be adaptSlot");
|
|
1927
|
+
return m(Tt, {
|
|
1928
|
+
modelValue: J(t, n, r, i, a, e),
|
|
1929
|
+
"onUpdate:modelValue": (o) => {
|
|
1930
|
+
Y(t, n, r, o, i, a, e);
|
|
1931
|
+
},
|
|
1932
|
+
hasDelete: i !== void 0 && !a,
|
|
1933
|
+
onDelete: () => {
|
|
1934
|
+
i === void 0 || a || (r.splice(i, 1), e(t.slice(0, -1), r));
|
|
1935
|
+
},
|
|
1936
|
+
readonly: n.readonly
|
|
1937
|
+
});
|
|
1938
|
+
} };
|
|
1939
|
+
}
|
|
1940
|
+
//#endregion
|
|
1941
|
+
//#region src/composables/uis/uiComp.ts
|
|
1942
|
+
function fn() {
|
|
1768
1943
|
let e = $();
|
|
1769
|
-
return {
|
|
1770
|
-
if (n.ui !== "
|
|
1771
|
-
return m(
|
|
1772
|
-
modelValue:
|
|
1944
|
+
return { renderUiComp: (t, n, r, i, a) => {
|
|
1945
|
+
if (n.ui !== "comp") throw Error("renderUiComp property ui must be comp");
|
|
1946
|
+
return m(Ft, {
|
|
1947
|
+
modelValue: J(t, n, r, i, a, e),
|
|
1773
1948
|
"onUpdate:modelValue": (o) => {
|
|
1774
|
-
|
|
1949
|
+
Y(t, n, r, o, i, a, e);
|
|
1775
1950
|
},
|
|
1776
1951
|
hasDelete: i !== void 0 && !a,
|
|
1777
1952
|
onDelete: () => {
|
|
@@ -1783,23 +1958,42 @@ function an() {
|
|
|
1783
1958
|
}
|
|
1784
1959
|
//#endregion
|
|
1785
1960
|
//#region src/composables/uis/uiDummy.ts
|
|
1786
|
-
function
|
|
1961
|
+
function pn() {
|
|
1787
1962
|
let e = $();
|
|
1788
1963
|
return { renderUiDummy: (t, n, r, i, a) => {
|
|
1789
1964
|
if (n.ui !== "dummy") throw Error("renderUiDummy property ui must be dummy");
|
|
1790
|
-
|
|
1965
|
+
J(t, n, r, i, a, e);
|
|
1966
|
+
} };
|
|
1967
|
+
}
|
|
1968
|
+
//#endregion
|
|
1969
|
+
//#region src/composables/uis/uiIcon.ts
|
|
1970
|
+
function mn() {
|
|
1971
|
+
let e = $();
|
|
1972
|
+
return { renderUiIcon: (t, n, r, i, a) => {
|
|
1973
|
+
if (n.ui !== "icon") throw Error("renderUiIcon property ui must be icon");
|
|
1974
|
+
return m(Lt, {
|
|
1975
|
+
modelValue: n.static ? n.value : J(t, n, r, i, a, e),
|
|
1976
|
+
"onUpdate:modelValue": (o) => {
|
|
1977
|
+
n.static || Y(t, n, r, o, i, a, e);
|
|
1978
|
+
},
|
|
1979
|
+
hasDelete: i !== void 0 && !a,
|
|
1980
|
+
onDelete: () => {
|
|
1981
|
+
i === void 0 || a || (r.splice(i, 1), e(t.slice(0, -1), r));
|
|
1982
|
+
},
|
|
1983
|
+
readonly: n.static || n.readonly
|
|
1984
|
+
});
|
|
1791
1985
|
} };
|
|
1792
1986
|
}
|
|
1793
1987
|
//#endregion
|
|
1794
|
-
//#region src/composables/uis/
|
|
1795
|
-
function
|
|
1988
|
+
//#region src/composables/uis/uiJson.ts
|
|
1989
|
+
function hn() {
|
|
1796
1990
|
let e = $();
|
|
1797
|
-
return {
|
|
1798
|
-
if (n.ui !== "
|
|
1799
|
-
return m(
|
|
1800
|
-
modelValue:
|
|
1991
|
+
return { renderUiJson: (t, n, r, i, a) => {
|
|
1992
|
+
if (n.ui !== "json") throw Error("renderUiJson property ui must be json");
|
|
1993
|
+
return m(Bt, {
|
|
1994
|
+
modelValue: J(t, n, r, i, a, e) ?? "{}",
|
|
1801
1995
|
"onUpdate:modelValue": (o) => {
|
|
1802
|
-
|
|
1996
|
+
Y(t, n, r, o, i, a, e);
|
|
1803
1997
|
},
|
|
1804
1998
|
hasDelete: i !== void 0 && !a,
|
|
1805
1999
|
onDelete: () => {
|
|
@@ -1811,14 +2005,14 @@ function sn() {
|
|
|
1811
2005
|
}
|
|
1812
2006
|
//#endregion
|
|
1813
2007
|
//#region src/composables/uis/uiMultiTypes.ts
|
|
1814
|
-
function
|
|
2008
|
+
function gn() {
|
|
1815
2009
|
let e = $();
|
|
1816
2010
|
return { renderUiMultiTypes: (t, n, r, i, a) => {
|
|
1817
2011
|
if (n.ui !== "multiTypes") throw Error("renderUiMultiTypes property ui must be multiTypes");
|
|
1818
|
-
return m(
|
|
1819
|
-
modelValue:
|
|
2012
|
+
return m(Gt, {
|
|
2013
|
+
modelValue: J(t, n, r, i, a, e) ?? "",
|
|
1820
2014
|
"onUpdate:modelValue": (o) => {
|
|
1821
|
-
|
|
2015
|
+
Y(t, n, r, o, i, a, e);
|
|
1822
2016
|
},
|
|
1823
2017
|
hasDelete: i !== void 0 && !a,
|
|
1824
2018
|
onDelete: () => {
|
|
@@ -1829,15 +2023,15 @@ function cn() {
|
|
|
1829
2023
|
} };
|
|
1830
2024
|
}
|
|
1831
2025
|
//#endregion
|
|
1832
|
-
//#region src/composables/uis/
|
|
1833
|
-
function
|
|
2026
|
+
//#region src/composables/uis/uiNumber.ts
|
|
2027
|
+
function _n() {
|
|
1834
2028
|
let e = $();
|
|
1835
|
-
return {
|
|
1836
|
-
if (n.ui !== "
|
|
1837
|
-
return m(
|
|
1838
|
-
modelValue:
|
|
2029
|
+
return { renderUiNumber: (t, n, r, i, a) => {
|
|
2030
|
+
if (n.ui !== "number") throw Error("renderUiNumber property ui must be number");
|
|
2031
|
+
return m(qt, {
|
|
2032
|
+
modelValue: J(t, n, r, i, a, e),
|
|
1839
2033
|
"onUpdate:modelValue": (o) => {
|
|
1840
|
-
|
|
2034
|
+
Y(t, n, r, o, i, a, e);
|
|
1841
2035
|
},
|
|
1842
2036
|
hasDelete: i !== void 0 && !a,
|
|
1843
2037
|
onDelete: () => {
|
|
@@ -1853,12 +2047,12 @@ function ln() {
|
|
|
1853
2047
|
}
|
|
1854
2048
|
//#endregion
|
|
1855
2049
|
//#region src/components/entry/index.vue
|
|
1856
|
-
var
|
|
2050
|
+
var vn = /* @__PURE__ */ p({
|
|
1857
2051
|
__name: "index",
|
|
1858
2052
|
props: { minHeight: {} },
|
|
1859
2053
|
emits: ["menu"],
|
|
1860
2054
|
setup(e, { emit: t }) {
|
|
1861
|
-
let { backgroundColor2: n, highlightColor: r } =
|
|
2055
|
+
let { backgroundColor2: n, highlightColor: r } = U(), i = t, a = T(!1), s = o(() => ({
|
|
1862
2056
|
background: a.value ? r.value : n.value,
|
|
1863
2057
|
minHeight: e.minHeight,
|
|
1864
2058
|
paddingRight: "4px",
|
|
@@ -1868,27 +2062,27 @@ var un = /* @__PURE__ */ p({
|
|
|
1868
2062
|
i("menu", e.clientX, e.clientY);
|
|
1869
2063
|
};
|
|
1870
2064
|
return (e, t) => {
|
|
1871
|
-
let n =
|
|
1872
|
-
return
|
|
2065
|
+
let n = k("ripple");
|
|
2066
|
+
return L((C(), l("div", {
|
|
1873
2067
|
class: "d-flex justify-space-between align-center cursor-pointer",
|
|
1874
2068
|
style: y(s.value),
|
|
1875
|
-
onContextmenu:
|
|
2069
|
+
onContextmenu: z(c, ["self", "prevent"]),
|
|
1876
2070
|
onMouseout: t[0] ||= (e) => a.value = !1,
|
|
1877
2071
|
onMouseover: t[1] ||= (e) => a.value = !0
|
|
1878
|
-
}, [
|
|
2072
|
+
}, [D(e.$slots, "default")], 36)), [[n]]);
|
|
1879
2073
|
};
|
|
1880
2074
|
}
|
|
1881
2075
|
});
|
|
1882
2076
|
//#endregion
|
|
1883
2077
|
//#region src/composables/uis/uiProperty.ts
|
|
1884
|
-
function
|
|
1885
|
-
let { t: e } =
|
|
2078
|
+
function yn() {
|
|
2079
|
+
let { t: e } = V(), t = nt();
|
|
1886
2080
|
return { renderProperty: (n, r, i) => {
|
|
1887
2081
|
let a = n[n.length - 1], o = typeof a == "number" ? `[${a + 1}]` : e(r.name);
|
|
1888
|
-
return Q(t.value, n) && (o += " *"), m(
|
|
2082
|
+
return Q(t.value, n) && (o += " *"), m(vn, {
|
|
1889
2083
|
minHeight: "56px",
|
|
1890
2084
|
onMenu: (e, t) => {
|
|
1891
|
-
|
|
2085
|
+
H.emit("propTreeMenu", {
|
|
1892
2086
|
x: e,
|
|
1893
2087
|
y: t,
|
|
1894
2088
|
keys: n
|
|
@@ -1904,54 +2098,54 @@ function dn() {
|
|
|
1904
2098
|
} };
|
|
1905
2099
|
}
|
|
1906
2100
|
//#endregion
|
|
1907
|
-
//#region src/composables/uis/
|
|
1908
|
-
function
|
|
2101
|
+
//#region src/composables/uis/uiRule.ts
|
|
2102
|
+
function bn() {
|
|
1909
2103
|
let e = $();
|
|
1910
|
-
|
|
1911
|
-
if (n.ui !== "
|
|
1912
|
-
return m(
|
|
1913
|
-
modelValue:
|
|
2104
|
+
function t(t, n, r, i, a) {
|
|
2105
|
+
if (n.ui !== "rule") throw Error("renderUiRule property ui must be rule");
|
|
2106
|
+
return m(Xt, {
|
|
2107
|
+
modelValue: J(t, n, r, i, a, e) ?? "",
|
|
1914
2108
|
"onUpdate:modelValue": (o) => {
|
|
1915
|
-
|
|
2109
|
+
Y(t, n, r, o, i, a, e);
|
|
1916
2110
|
},
|
|
1917
2111
|
hasDelete: i !== void 0 && !a,
|
|
1918
2112
|
onDelete: () => {
|
|
1919
2113
|
i === void 0 || a || (r.splice(i, 1), e(t.slice(0, -1), r));
|
|
1920
|
-
}
|
|
1921
|
-
items: n.items,
|
|
1922
|
-
readonly: n.readonly
|
|
2114
|
+
}
|
|
1923
2115
|
});
|
|
1924
|
-
}
|
|
2116
|
+
}
|
|
2117
|
+
return { renderUiRule: t };
|
|
1925
2118
|
}
|
|
1926
2119
|
//#endregion
|
|
1927
|
-
//#region src/composables/uis/
|
|
1928
|
-
function
|
|
2120
|
+
//#region src/composables/uis/uiSelect.ts
|
|
2121
|
+
function xn() {
|
|
1929
2122
|
let e = $();
|
|
1930
|
-
return {
|
|
1931
|
-
if (n.ui !== "
|
|
1932
|
-
return m(
|
|
1933
|
-
modelValue:
|
|
2123
|
+
return { renderUiSelect: (t, n, r, i, a) => {
|
|
2124
|
+
if (n.ui !== "select") throw Error("renderUiSelect property ui must be select");
|
|
2125
|
+
return m(Qt, {
|
|
2126
|
+
modelValue: J(t, n, r, i, a, e) ?? "",
|
|
1934
2127
|
"onUpdate:modelValue": (o) => {
|
|
1935
|
-
|
|
2128
|
+
Y(t, n, r, o, i, a, e);
|
|
1936
2129
|
},
|
|
1937
2130
|
hasDelete: i !== void 0 && !a,
|
|
1938
2131
|
onDelete: () => {
|
|
1939
2132
|
i === void 0 || a || (r.splice(i, 1), e(t.slice(0, -1), r));
|
|
1940
2133
|
},
|
|
2134
|
+
items: n.items,
|
|
1941
2135
|
readonly: n.readonly
|
|
1942
2136
|
});
|
|
1943
2137
|
} };
|
|
1944
2138
|
}
|
|
1945
2139
|
//#endregion
|
|
1946
|
-
//#region src/composables/uis/
|
|
1947
|
-
function
|
|
2140
|
+
//#region src/composables/uis/uiSlot.ts
|
|
2141
|
+
function Sn() {
|
|
1948
2142
|
let e = $();
|
|
1949
|
-
return {
|
|
1950
|
-
if (n.ui !== "
|
|
1951
|
-
return m(
|
|
1952
|
-
modelValue:
|
|
2143
|
+
return { renderUiSlot: (t, n, r, i, a) => {
|
|
2144
|
+
if (n.ui !== "slot") throw Error("renderUiSlot property ui must be slot");
|
|
2145
|
+
return m(on, {
|
|
2146
|
+
modelValue: J(t, n, r, i, a, e),
|
|
1953
2147
|
"onUpdate:modelValue": (o) => {
|
|
1954
|
-
|
|
2148
|
+
Y(t, n, r, o, i, a, e);
|
|
1955
2149
|
},
|
|
1956
2150
|
hasDelete: i !== void 0 && !a,
|
|
1957
2151
|
onDelete: () => {
|
|
@@ -1962,34 +2156,34 @@ function mn() {
|
|
|
1962
2156
|
} };
|
|
1963
2157
|
}
|
|
1964
2158
|
//#endregion
|
|
1965
|
-
//#region src/composables/uis/
|
|
1966
|
-
function
|
|
2159
|
+
//#region src/composables/uis/uiSwitch.ts
|
|
2160
|
+
function Cn() {
|
|
1967
2161
|
let e = $();
|
|
1968
|
-
return {
|
|
1969
|
-
if (n.ui !== "
|
|
1970
|
-
return m(
|
|
1971
|
-
modelValue:
|
|
2162
|
+
return { renderUiSwitch: (t, n, r, i, a) => {
|
|
2163
|
+
if (n.ui !== "switch") throw Error("renderUiSwitch property ui must be switch");
|
|
2164
|
+
return m(cn, {
|
|
2165
|
+
modelValue: J(t, n, r, i, a, e) ?? !1,
|
|
1972
2166
|
"onUpdate:modelValue": (o) => {
|
|
1973
|
-
|
|
2167
|
+
Y(t, n, r, o, i, a, e);
|
|
1974
2168
|
},
|
|
1975
2169
|
hasDelete: i !== void 0 && !a,
|
|
1976
2170
|
onDelete: () => {
|
|
1977
|
-
i === void 0 || a || (r.splice(i, 1), e(t.slice(0,
|
|
2171
|
+
i === void 0 || a || (r.splice(i, 1), e(t.slice(0, 1), r));
|
|
1978
2172
|
},
|
|
1979
2173
|
readonly: n.readonly
|
|
1980
2174
|
});
|
|
1981
2175
|
} };
|
|
1982
2176
|
}
|
|
1983
2177
|
//#endregion
|
|
1984
|
-
//#region src/composables/uis/
|
|
1985
|
-
function
|
|
2178
|
+
//#region src/composables/uis/uiText.ts
|
|
2179
|
+
function wn() {
|
|
1986
2180
|
let e = $();
|
|
1987
|
-
return {
|
|
1988
|
-
if (n.ui !== "
|
|
1989
|
-
return m(
|
|
1990
|
-
modelValue: n.static ? n.value :
|
|
2181
|
+
return { renderUiText: (t, n, r, i, a) => {
|
|
2182
|
+
if (n.ui !== "text") throw Error("renderUiText property ui must be text");
|
|
2183
|
+
return m(un, {
|
|
2184
|
+
modelValue: n.static ? n.value : J(t, n, r, i, a, e),
|
|
1991
2185
|
"onUpdate:modelValue": (o) => {
|
|
1992
|
-
n.static ||
|
|
2186
|
+
n.static || Y(t, n, r, o, i, a, e);
|
|
1993
2187
|
},
|
|
1994
2188
|
hasDelete: i !== void 0 && !a,
|
|
1995
2189
|
onDelete: () => {
|
|
@@ -2000,47 +2194,28 @@ function gn() {
|
|
|
2000
2194
|
} };
|
|
2001
2195
|
}
|
|
2002
2196
|
//#endregion
|
|
2003
|
-
//#region src/composables/uis/uiSwitch.ts
|
|
2004
|
-
function _n() {
|
|
2005
|
-
let e = $();
|
|
2006
|
-
return { renderUiSwitch: (t, n, r, i, a) => {
|
|
2007
|
-
if (n.ui !== "switch") throw Error("renderUiSwitch property ui must be switch");
|
|
2008
|
-
return m(rn, {
|
|
2009
|
-
modelValue: q(t, n, r, i, a, e) ?? !1,
|
|
2010
|
-
"onUpdate:modelValue": (o) => {
|
|
2011
|
-
J(t, n, r, o, i, a, e);
|
|
2012
|
-
},
|
|
2013
|
-
hasDelete: i !== void 0 && !a,
|
|
2014
|
-
onDelete: () => {
|
|
2015
|
-
i === void 0 || a || (r.splice(i, 1), e(t.slice(0, 1), r));
|
|
2016
|
-
},
|
|
2017
|
-
readonly: n.readonly
|
|
2018
|
-
});
|
|
2019
|
-
} };
|
|
2020
|
-
}
|
|
2021
|
-
//#endregion
|
|
2022
2197
|
//#region src/components/propTree/main.vue?vue&type=script&setup=true&lang.ts
|
|
2023
|
-
var
|
|
2198
|
+
var Tn = "20px", En = /* @__PURE__ */ p({
|
|
2024
2199
|
__name: "main",
|
|
2025
2200
|
setup(t) {
|
|
2026
|
-
let { t: n } =
|
|
2027
|
-
|
|
2028
|
-
let { renderProperty: d } =
|
|
2029
|
-
if (t = e(t), i === void 0 ? t.push(n.key) : (t.push(i), a && t.push(n.key)), t?.[0] !== "runtime") return n.ui ? n.array && !o ?
|
|
2030
|
-
},
|
|
2201
|
+
let { t: n } = V(), { backgroundColor1: r } = U(), i = Xe(), o = Qe(), s = et(), c = nt(), u = $();
|
|
2202
|
+
mt(), ht(), pt();
|
|
2203
|
+
let { renderProperty: d } = yn(), { renderUiDummy: p } = pn(), { renderUiText: h } = wn(), { renderUiNumber: g } = _n(), { renderUiSwitch: _ } = Cn(), { renderUiSelect: v } = xn(), { renderUiJson: y } = hn(), { renderUiIcon: b } = mn(), { renderUiComp: x } = fn(), { renderUiSlot: S } = Sn(), { renderUiAdaptSlot: w } = dn(), { renderUiRule: T } = bn(), { renderUiMultiTypes: E } = gn(), D = (t, n, r, i, a, o) => {
|
|
2204
|
+
if (t = e(t), i === void 0 ? t.push(n.key) : (t.push(i), a && t.push(n.key)), t?.[0] !== "runtime") return n.ui ? n.array && !o ? A(t, n, r, i, a) : j(t, n, r, i, a) : n.array ? O(t, n, r, i, a) : k(t, n, r, i, a);
|
|
2205
|
+
}, O = (e, t, r, i, a) => {
|
|
2031
2206
|
if (t.ui) throw Error("renderBranchArray property ui must be invalid");
|
|
2032
2207
|
if (!t.array) throw Error("renderBranchArray property array must be valid");
|
|
2033
2208
|
let o = Se(e, t, r, i, a, u), l = n(t.name);
|
|
2034
|
-
|
|
2035
|
-
let d = m(
|
|
2209
|
+
X(s, e) && Q(c.value, e) && (l += " *");
|
|
2210
|
+
let d = m(ft, {
|
|
2036
2211
|
title: l,
|
|
2037
|
-
collapse:
|
|
2212
|
+
collapse: X(s, e),
|
|
2038
2213
|
hasCreate: !0,
|
|
2039
2214
|
onCollapse: (t) => {
|
|
2040
|
-
|
|
2215
|
+
Z(s, e, t);
|
|
2041
2216
|
},
|
|
2042
2217
|
onMenu: (t, n) => {
|
|
2043
|
-
|
|
2218
|
+
H.emit("propTreeMenu", {
|
|
2044
2219
|
x: t,
|
|
2045
2220
|
y: n,
|
|
2046
2221
|
keys: e
|
|
@@ -2049,21 +2224,21 @@ var vn = "20px", yn = /* @__PURE__ */ p({
|
|
|
2049
2224
|
onCreate: () => {
|
|
2050
2225
|
o.push({}), u(e, o);
|
|
2051
2226
|
}
|
|
2052
|
-
}), f = m("div", { style: { paddingLeft:
|
|
2227
|
+
}), f = m("div", { style: { paddingLeft: Tn } }, (() => {
|
|
2053
2228
|
let n = [];
|
|
2054
2229
|
for (let r = 0; r < o.length; r++) {
|
|
2055
2230
|
let i = [...e, r], a = `[${r + 1}]`;
|
|
2056
|
-
|
|
2057
|
-
let l = m(
|
|
2231
|
+
X(s, [...e, r]) && Q(c.value, i) && (a += " *");
|
|
2232
|
+
let l = m(ft, {
|
|
2058
2233
|
title: a,
|
|
2059
|
-
collapse:
|
|
2234
|
+
collapse: X(s, [...e, r]),
|
|
2060
2235
|
hasDelete: !0,
|
|
2061
2236
|
index: r,
|
|
2062
2237
|
onCollapse: (t) => {
|
|
2063
|
-
|
|
2238
|
+
Z(s, [...e, r], t);
|
|
2064
2239
|
},
|
|
2065
2240
|
onMenu: (e, t) => {
|
|
2066
|
-
|
|
2241
|
+
H.emit("propTreeMenu", {
|
|
2067
2242
|
x: e,
|
|
2068
2243
|
y: t,
|
|
2069
2244
|
keys: i
|
|
@@ -2074,33 +2249,33 @@ var vn = "20px", yn = /* @__PURE__ */ p({
|
|
|
2074
2249
|
}
|
|
2075
2250
|
});
|
|
2076
2251
|
n.push(l);
|
|
2077
|
-
let d = m("div", { style: { paddingLeft:
|
|
2252
|
+
let d = m("div", { style: { paddingLeft: Tn } }, (() => {
|
|
2078
2253
|
let n = [];
|
|
2079
|
-
for (let i of t.children) n.push(
|
|
2254
|
+
for (let i of t.children) n.push(D(e, i, o[r], r, !0));
|
|
2080
2255
|
return n;
|
|
2081
2256
|
})());
|
|
2082
|
-
|
|
2257
|
+
X(s, [...e, r]) || n.push(d);
|
|
2083
2258
|
}
|
|
2084
2259
|
return n;
|
|
2085
2260
|
})());
|
|
2086
2261
|
return m("div", { style: { marginTop: "1px" } }, (() => {
|
|
2087
2262
|
let t = [];
|
|
2088
|
-
return t.push(d),
|
|
2263
|
+
return t.push(d), X(s, e) || t.push(f), t;
|
|
2089
2264
|
})());
|
|
2090
|
-
},
|
|
2265
|
+
}, k = (e, t, r, i, a) => {
|
|
2091
2266
|
if (t.ui) throw Error("renderBranchScalar property ui must be invalid");
|
|
2092
2267
|
if (t.array) throw Error("renderBranchScalar property array must be invalid");
|
|
2093
2268
|
let o = n(t.name);
|
|
2094
|
-
|
|
2095
|
-
let l = m(
|
|
2269
|
+
X(s, e) && Q(c.value, e) && (o += " *");
|
|
2270
|
+
let l = m(ft, {
|
|
2096
2271
|
title: o,
|
|
2097
|
-
collapse:
|
|
2272
|
+
collapse: X(s, e),
|
|
2098
2273
|
hasDelete: i !== void 0 && !a,
|
|
2099
2274
|
onCollapse: (t) => {
|
|
2100
|
-
|
|
2275
|
+
Z(s, e, t);
|
|
2101
2276
|
},
|
|
2102
2277
|
onMenu: (t, n) => {
|
|
2103
|
-
|
|
2278
|
+
H.emit("propTreeMenu", {
|
|
2104
2279
|
x: t,
|
|
2105
2280
|
y: n,
|
|
2106
2281
|
keys: e
|
|
@@ -2109,61 +2284,61 @@ var vn = "20px", yn = /* @__PURE__ */ p({
|
|
|
2109
2284
|
onDelete: () => {
|
|
2110
2285
|
i === void 0 || a || (r.splice(i, 1), u(e.slice(0, -1), r));
|
|
2111
2286
|
}
|
|
2112
|
-
}), d = m("div", { style: { paddingLeft:
|
|
2287
|
+
}), d = m("div", { style: { paddingLeft: Tn } }, (() => {
|
|
2113
2288
|
let n = [];
|
|
2114
|
-
for (let i of t.children) n.push(
|
|
2289
|
+
for (let i of t.children) n.push(D(e, i, (typeof r[t.key] != "object" && (r[t.key] = {}, u(e, r[t.key])), r[t.key]), void 0, !1));
|
|
2115
2290
|
return n;
|
|
2116
2291
|
})());
|
|
2117
2292
|
return m("div", { style: { marginTop: "1px" } }, (() => {
|
|
2118
2293
|
let t = [];
|
|
2119
|
-
return t.push(l),
|
|
2294
|
+
return t.push(l), X(s, e) || t.push(d), t;
|
|
2120
2295
|
})());
|
|
2121
|
-
},
|
|
2296
|
+
}, A = (e, t, r, i, a) => {
|
|
2122
2297
|
if (!t.ui) throw Error("renderLeafArray property ui must be valid");
|
|
2123
2298
|
if (!t.array) throw Error("renderLeafArray property array must be valid");
|
|
2124
2299
|
let o = Se(e, t, r, i, a, u), l = n(t.name);
|
|
2125
|
-
|
|
2126
|
-
let d = m(
|
|
2300
|
+
X(s, e) && Q(c.value, e) && (l += " *");
|
|
2301
|
+
let d = m(ft, {
|
|
2127
2302
|
title: l,
|
|
2128
|
-
collapse:
|
|
2303
|
+
collapse: X(s, e),
|
|
2129
2304
|
hasCreate: !0,
|
|
2130
2305
|
onCollapse: (t) => {
|
|
2131
|
-
|
|
2306
|
+
Z(s, e, t);
|
|
2132
2307
|
},
|
|
2133
2308
|
onMenu: (t, n) => {
|
|
2134
|
-
|
|
2309
|
+
H.emit("propTreeMenu", {
|
|
2135
2310
|
x: t,
|
|
2136
2311
|
y: n,
|
|
2137
2312
|
keys: e
|
|
2138
2313
|
});
|
|
2139
2314
|
},
|
|
2140
2315
|
onCreate: () => {
|
|
2141
|
-
o.push(
|
|
2316
|
+
o.push(B(t)), u(e, o);
|
|
2142
2317
|
}
|
|
2143
|
-
}), f = m("div", { style: { paddingLeft:
|
|
2318
|
+
}), f = m("div", { style: { paddingLeft: Tn } }, (() => {
|
|
2144
2319
|
let n = [];
|
|
2145
|
-
for (let r = 0; r < o.length; r++) n.push(
|
|
2320
|
+
for (let r = 0; r < o.length; r++) n.push(D(e, t, o, r, !1, !0));
|
|
2146
2321
|
return n;
|
|
2147
2322
|
})());
|
|
2148
2323
|
return m("div", { style: { marginTop: "1px" } }, (() => {
|
|
2149
2324
|
let t = [];
|
|
2150
|
-
return t.push(d),
|
|
2325
|
+
return t.push(d), X(s, e) || t.push(f), t;
|
|
2151
2326
|
})());
|
|
2152
|
-
},
|
|
2327
|
+
}, j = (e, t, n, r, i) => {
|
|
2153
2328
|
if (!t.ui) throw Error("renderLeafScalar property ui must be valid");
|
|
2154
2329
|
let a;
|
|
2155
|
-
return t.ui === "dummy" ? a = p(e, t, n, r, i) : t.ui === "
|
|
2156
|
-
},
|
|
2330
|
+
return t.ui === "dummy" ? a = p(e, t, n, r, i) : t.ui === "text" ? a = h(e, t, n, r, i) : t.ui === "number" ? a = g(e, t, n, r, i) : t.ui === "switch" ? a = _(e, t, n, r, i) : t.ui === "select" ? a = v(e, t, n, r, i) : t.ui === "json" ? a = y(e, t, n, r, i) : t.ui === "icon" ? a = b(e, t, n, r, i) : t.ui === "comp" ? a = x(e, t, n, r, i) : t.ui === "slot" ? a = S(e, t, n, r, i) : t.ui === "adaptSlot" ? a = w(e, t, n, r, i) : t.ui === "rule" ? a = T(e, t, n, r, i) : t.ui === "multiTypes" ? a = E(e, t, n, r, i) : console.assert(!1, "renderLeafScalar not implemented"), a ? d(e, t, a) : m("div");
|
|
2331
|
+
}, M = () => m("div", {
|
|
2157
2332
|
class: "text-body-medium",
|
|
2158
2333
|
style: { background: r.value }
|
|
2159
2334
|
}, (() => {
|
|
2160
2335
|
let e = [];
|
|
2161
|
-
if (i.value.length > 0 && o.value) for (let t of i.value) e.push(
|
|
2336
|
+
if (i.value.length > 0 && o.value) for (let t of i.value) e.push(D([], t, o.value, void 0, !1));
|
|
2162
2337
|
return e;
|
|
2163
2338
|
})());
|
|
2164
|
-
return (e, t) => (C(), l(a, null, [f(
|
|
2339
|
+
return (e, t) => (C(), l(a, null, [f(M), f(ut)], 64));
|
|
2165
2340
|
}
|
|
2166
|
-
}),
|
|
2341
|
+
}), Dn = /* @__PURE__ */ p({
|
|
2167
2342
|
__name: "index",
|
|
2168
2343
|
props: {
|
|
2169
2344
|
config: {},
|
|
@@ -2175,25 +2350,25 @@ var vn = "20px", yn = /* @__PURE__ */ p({
|
|
|
2175
2350
|
emits: ["change"],
|
|
2176
2351
|
setup(e, { emit: t }) {
|
|
2177
2352
|
let n = t, r = T([]);
|
|
2178
|
-
|
|
2353
|
+
Ye(r), F(() => {
|
|
2179
2354
|
r.value = e.config;
|
|
2180
2355
|
});
|
|
2181
2356
|
let i = T();
|
|
2182
|
-
|
|
2357
|
+
Ze(i), F(() => {
|
|
2183
2358
|
i.value = e.object;
|
|
2184
2359
|
});
|
|
2185
2360
|
let a = T("");
|
|
2186
|
-
|
|
2361
|
+
Ue(a), F(() => {
|
|
2187
2362
|
a.value = e.version;
|
|
2188
2363
|
});
|
|
2189
2364
|
let o = T(e.type);
|
|
2190
|
-
|
|
2365
|
+
Ge(o), F(() => {
|
|
2191
2366
|
o.value = e.type;
|
|
2192
2367
|
});
|
|
2193
2368
|
let c = T("");
|
|
2194
|
-
|
|
2369
|
+
qe(c), F(() => {
|
|
2195
2370
|
c.value = e.subtype;
|
|
2196
|
-
}),
|
|
2371
|
+
}), $e(T({
|
|
2197
2372
|
collapse: !0,
|
|
2198
2373
|
children: {}
|
|
2199
2374
|
}));
|
|
@@ -2202,15 +2377,15 @@ var vn = "20px", yn = /* @__PURE__ */ p({
|
|
|
2202
2377
|
warning: !1,
|
|
2203
2378
|
children: {}
|
|
2204
2379
|
});
|
|
2205
|
-
return
|
|
2206
|
-
|
|
2207
|
-
}),
|
|
2208
|
-
|
|
2209
|
-
}, { immediate: !0 }), (e, t) => (C(), s(
|
|
2380
|
+
return tt(l), rt((t, r) => {
|
|
2381
|
+
je(l, e.config, e.object), n("change", t, r);
|
|
2382
|
+
}), P([() => e.config, () => e.object], () => {
|
|
2383
|
+
je(l, e.config, e.object);
|
|
2384
|
+
}, { immediate: !0 }), (e, t) => (C(), s(En));
|
|
2210
2385
|
}
|
|
2211
|
-
}),
|
|
2212
|
-
e.component("XPropTree",
|
|
2213
|
-
},
|
|
2386
|
+
}), On = (e) => {
|
|
2387
|
+
e.component("XPropTree", Dn);
|
|
2388
|
+
}, kn = (e, t, n) => {
|
|
2214
2389
|
let r = t.lastIndexOf("?"), i = e[r === -1 || r < t.lastIndexOf("/") ? t : t.slice(0, r)];
|
|
2215
2390
|
return i ? typeof i == "function" ? i() : Promise.resolve(i) : new Promise((e, r) => {
|
|
2216
2391
|
(typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(r.bind(null, /* @__PURE__ */ Error("Unknown variable dynamic import: " + t + (t.split("/").length === n ? "" : ". Note that variables only represent file names one level deep."))));
|
|
@@ -2218,14 +2393,14 @@ var vn = "20px", yn = /* @__PURE__ */ p({
|
|
|
2218
2393
|
};
|
|
2219
2394
|
//#endregion
|
|
2220
2395
|
//#region src/i18n/index.ts
|
|
2221
|
-
async function
|
|
2222
|
-
return (await
|
|
2396
|
+
async function An(e) {
|
|
2397
|
+
return (await kn(/* @__PURE__ */ Object.assign({
|
|
2223
2398
|
"./locales/en/index.ts": () => import("./i18n-en.lvwojc1f.js").then((e) => e.t),
|
|
2224
2399
|
"./locales/zhHans/index.ts": () => import("./i18n-zhHans.u8lopwp1.js").then((e) => e.t)
|
|
2225
2400
|
}), `./locales/${e}/index.ts`, 4)).default;
|
|
2226
2401
|
}
|
|
2227
2402
|
//#endregion
|
|
2228
2403
|
//#region src/index.ts
|
|
2229
|
-
var
|
|
2404
|
+
var jn = { install: On };
|
|
2230
2405
|
//#endregion
|
|
2231
|
-
export {
|
|
2406
|
+
export { jn as default, An as loadLocaleMessagePropTree };
|