x-prop-tree 0.8.0 → 0.8.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +402 -358
  2. package/package.json +3 -3
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.kbufw3jy.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 ee, resolveComponent as D, resolveDirective as O, toDisplayString as k, unref as A, useId as j, useModel as M, useTemplateRef as te, watch as N, watchEffect as P, withCtx as F, withDirectives as I, withKeys as ne, withModifiers as L } from "vue";
3
- import { getElement as re, getPropertyDefault as R, getPropertyDefaultArray as ie, getTag as ae, makeSlotId as oe, parsePercent as se, parsePixel as ce, pkgs as le } from "x-runtime-lib";
4
- import { useI18n as z } from "vue-i18n";
5
- import { eventBus as B, globalObjects as ue, injectDark as de, injectLocale as fe, openNumberDlg as pe, openPromptDlg as me, useColor as V, useSystem as H, useViewStack as U } from "x-essential-lib";
6
- import { globalState as he } from "x-state-lib";
7
- import { useDisplay as ge } from "vuetify";
8
- import { XBlockly as _e } from "x-block-lib";
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 ee, resolveComponent as D, resolveDirective as O, toDisplayString as k, unref as A, useId as j, useModel as M, useTemplateRef as te, watch as N, watchEffect as P, withCtx as F, withDirectives as I, withKeys as L, withModifiers as R } from "vue";
3
+ import { getElement as ne, getPropertyDefault as z, getPropertyDefaultArray as B, getTag as re, isHexColor as ie, isThemeColor as ae, makeSlotId as oe, parsePercent as se, parsePixel as ce, pkgs as le, themeColors as ue } from "x-runtime-lib";
4
+ import { useI18n as V } from "vue-i18n";
5
+ import { eventBus as H, globalObjects as de, injectDark as fe, injectLocale as pe, openNumberDlg as me, openPromptDlg as he, useColor as U, useSystem as W, useViewStack as G } from "x-essential-lib";
6
+ import { globalState as ge } from "x-state-lib";
7
+ import { useDisplay as _e } from "vuetify";
8
+ import { XBlockly as ve } from "x-block-lib";
9
9
  //#region src/utils/collapseState.ts
10
- function W(e, t) {
10
+ function K(e, t) {
11
11
  let n = e.value;
12
12
  for (let e of t) {
13
13
  if (!n.children[e]) return !0;
@@ -15,7 +15,7 @@ function W(e, t) {
15
15
  }
16
16
  return n.collapse;
17
17
  }
18
- function G(e, t, n) {
18
+ function q(e, t, n) {
19
19
  let r = e.value;
20
20
  for (let e of t) r.children[e] || (r.children[e] = {
21
21
  collapse: !0,
@@ -25,7 +25,7 @@ function G(e, t, n) {
25
25
  }
26
26
  //#endregion
27
27
  //#region src/utils/common.ts
28
- function K(e, t) {
28
+ function J(e, t) {
29
29
  let n = {
30
30
  key: "",
31
31
  name: "",
@@ -38,7 +38,7 @@ function K(e, t) {
38
38
  }
39
39
  return n;
40
40
  }
41
- function q(e, t) {
41
+ function Y(e, t) {
42
42
  let n = e;
43
43
  for (let e of t) {
44
44
  if (!n) throw Error("target must be valid");
@@ -46,42 +46,42 @@ function q(e, t) {
46
46
  }
47
47
  return n;
48
48
  }
49
- function ve(e, n, r, i, a, o) {
49
+ function ye(e, n, r, i, a, o) {
50
50
  if (i !== void 0 && !a) {
51
51
  if (!(r[i] instanceof Array)) {
52
- let a = ie(n);
52
+ let a = B(n);
53
53
  t(a, r[i]) || (r[i] = a, o(e, r[i]));
54
54
  }
55
55
  return r[i];
56
56
  } else {
57
57
  if (!(r[n.key] instanceof Array)) {
58
- let i = ie(n);
58
+ let i = B(n);
59
59
  t(i, r[n.key]) || (r[n.key] = i, o(e, r[n.key]));
60
60
  }
61
61
  return r[n.key];
62
62
  }
63
63
  }
64
- function J(e, n, r, i, a, o) {
64
+ function X(e, n, r, i, a, o) {
65
65
  if (i !== void 0 && !a) {
66
66
  if (r[i] === void 0) {
67
- let a = R(n);
67
+ let a = z(n);
68
68
  t(a, r[i]) || (r[i] = a, o(e, r[i]));
69
69
  }
70
70
  return r[i];
71
71
  } else {
72
72
  if (r[n.key] === void 0) {
73
- let i = R(n);
73
+ let i = z(n);
74
74
  t(i, r[n.key]) || (r[n.key] = i, o(e, r[n.key]));
75
75
  }
76
76
  return r[n.key];
77
77
  }
78
78
  }
79
- function Y(e, t, n, r, i, a, o) {
79
+ function Z(e, t, n, r, i, a, o) {
80
80
  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]));
81
81
  }
82
82
  //#endregion
83
83
  //#region src/utils/copyPaste.ts
84
- var ye = (e, t) => {
84
+ var be = (e, t) => {
85
85
  let n = (e, t) => {
86
86
  if (e.ui !== t.ui || e.array !== t.array) return !1;
87
87
  if (e.ui || t.ui) return !0;
@@ -90,17 +90,17 @@ var ye = (e, t) => {
90
90
  return !0;
91
91
  };
92
92
  return n(e, t);
93
- }, be = [["basic", "id"], ["basic", "name"]];
94
- function xe(e) {
95
- return be.find((n) => t(e, n));
93
+ }, xe = [["basic", "id"], ["basic", "name"]];
94
+ function Se(e) {
95
+ return xe.find((n) => t(e, n));
96
96
  }
97
- function X(t, n, r, i, a, o) {
98
- return t = e(t), a === void 0 ? t.push(n.key) : (t.push(a), o && t.push(n.key)), xe(t) ? (i.change = !1, i.warning = !1, {
97
+ function Ce(t, n, r, i, a, o) {
98
+ return t = e(t), a === void 0 ? t.push(n.key) : (t.push(a), o && t.push(n.key)), Se(t) ? (i.change = !1, i.warning = !1, {
99
99
  change: i.change,
100
100
  warning: i.warning
101
- }) : n.ui ? n.array && i.children ? we(t, n, r, i, a, o) : Te(n, r, i, a, o) : n.array ? Se(t, n, r, i, a, o) : Ce(t, n, r, i, a, o);
101
+ }) : n.ui ? n.array && i.children ? Ee(t, n, r, i, a, o) : De(n, r, i, a, o) : n.array ? we(t, n, r, i, a, o) : Te(t, n, r, i, a, o);
102
102
  }
103
- function Se(e, n, r, i, a, o) {
103
+ function we(e, n, r, i, a, o) {
104
104
  if (n.ui) throw Error("execPropertyBranchArray property ui must be invalid");
105
105
  if (!n.array) throw Error("execPropertyBranchArray property array must be valid");
106
106
  let s;
@@ -121,16 +121,16 @@ function Se(e, n, r, i, a, o) {
121
121
  warning: !1,
122
122
  children: {}
123
123
  };
124
- let { change: n, warning: o } = X(e, a, s[t], r.children[a.key], t, !0);
124
+ let { change: n, warning: o } = Ce(e, a, s[t], r.children[a.key], t, !0);
125
125
  !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);
126
126
  }
127
127
  }
128
- return i.change ||= !t(s, ie(n)), {
128
+ return i.change ||= !t(s, B(n)), {
129
129
  change: i.change,
130
130
  warning: i.warning
131
131
  };
132
132
  }
133
- function Ce(e, t, n, r, i, a) {
133
+ function Te(e, t, n, r, i, a) {
134
134
  if (t.ui) throw Error("execPropertyBranchScalar property ui must be invalid");
135
135
  if (t.array) throw Error("execPropertyBranchScalar property array must be invalid");
136
136
  let o;
@@ -145,7 +145,7 @@ function Ce(e, t, n, r, i, a) {
145
145
  warning: !1,
146
146
  children: {}
147
147
  };
148
- let { change: a, warning: s } = X(e, i, o, r.children[i.key], void 0, !1);
148
+ let { change: a, warning: s } = Ce(e, i, o, r.children[i.key], void 0, !1);
149
149
  !r.change && a && (r.change = a), !r.warning && s && (r.warning = s);
150
150
  }
151
151
  return {
@@ -153,7 +153,7 @@ function Ce(e, t, n, r, i, a) {
153
153
  warning: r.change
154
154
  };
155
155
  }
156
- function we(e, n, r, i, a, o) {
156
+ function Ee(e, n, r, i, a, o) {
157
157
  if (!n.ui) throw Error("execPropertyLeafArray property ui must be valid");
158
158
  if (!n.array) throw Error("execPropertyLeafArray property aray must be valid");
159
159
  let s;
@@ -167,23 +167,23 @@ function we(e, n, r, i, a, o) {
167
167
  warning: !1,
168
168
  children: {}
169
169
  };
170
- let { change: r, warning: a } = X(e, n, s, i.children[t], t, !1);
170
+ let { change: r, warning: a } = Ce(e, n, s, i.children[t], t, !1);
171
171
  !i.change && r && (i.change = r), !i.warning && a && (i.warning = a);
172
172
  }
173
- return i.change ||= !t(s, ie(n)), {
173
+ return i.change ||= !t(s, B(n)), {
174
174
  change: i.change,
175
175
  warning: i.warning
176
176
  };
177
177
  }
178
- function Te(e, n, r, i, a) {
178
+ function De(e, n, r, i, a) {
179
179
  if (!e.ui) throw Error("execPropertyLeafScalar property ui must be valid");
180
180
  let o;
181
- return o = i !== void 0 && !a ? n[i] : n[e.key], r.change = !t(o, R(e)), {
181
+ return o = i !== void 0 && !a ? n[i] : n[e.key], r.change = !t(o, z(e)), {
182
182
  change: r.change,
183
183
  warning: r.warning
184
184
  };
185
185
  }
186
- function Ee(e, t, n) {
186
+ function Oe(e, t, n) {
187
187
  if (t.length <= 0 || !n) {
188
188
  e.value = {
189
189
  change: !1,
@@ -203,11 +203,11 @@ function Ee(e, t, n) {
203
203
  warning: !1,
204
204
  children: {}
205
205
  };
206
- r.children[e.key] = t, X([], e, n, t, void 0, !1);
206
+ r.children[e.key] = t, Ce([], e, n, t, void 0, !1);
207
207
  }
208
208
  e.value = r;
209
209
  }
210
- function Z(e, t) {
210
+ function Q(e, t) {
211
211
  let n = e;
212
212
  for (let e of t) {
213
213
  if (!n.children[e]) return !1;
@@ -217,53 +217,41 @@ function Z(e, t) {
217
217
  }
218
218
  //#endregion
219
219
  //#region src/utils/provideInject.ts
220
- var De = Symbol(), Oe = Symbol(), ke = Symbol(), Ae = Symbol(), je = Symbol(), Me = Symbol(), Ne = Symbol(), Pe = Symbol(), Fe = Symbol(), Ie = Symbol(), Le = Symbol();
221
- function Re(e) {
222
- w(De, e);
223
- }
224
- function Q() {
225
- return h(De);
226
- }
227
- function ze(e) {
228
- w(Oe, e);
229
- }
230
- function Be() {
231
- return h(Oe);
232
- }
233
- function Ve(e) {
220
+ var ke = Symbol(), Ae = Symbol(), je = Symbol(), Me = Symbol(), Ne = Symbol(), Pe = Symbol(), Fe = Symbol(), Ie = Symbol(), Le = Symbol(), Re = Symbol(), ze = Symbol();
221
+ function Be(e) {
234
222
  w(ke, e);
235
223
  }
236
- function He() {
224
+ function Ve() {
237
225
  return h(ke);
238
226
  }
239
- function Ue(e) {
227
+ function He(e) {
240
228
  w(Ae, e);
241
229
  }
242
- function We() {
230
+ function Ue() {
243
231
  return h(Ae);
244
232
  }
245
- function Ge(e) {
233
+ function We(e) {
246
234
  w(je, e);
247
235
  }
248
- function Ke() {
236
+ function Ge() {
249
237
  return h(je);
250
238
  }
251
- function qe(e) {
239
+ function Ke(e) {
252
240
  w(Me, e);
253
241
  }
254
- function Je() {
242
+ function qe() {
255
243
  return h(Me);
256
244
  }
257
- function Ye(e) {
245
+ function Je(e) {
258
246
  w(Ne, e);
259
247
  }
260
- function Xe() {
248
+ function Ye() {
261
249
  return h(Ne);
262
250
  }
263
- function Ze(e) {
251
+ function Xe(e) {
264
252
  w(Pe, e);
265
253
  }
266
- function $() {
254
+ function Ze() {
267
255
  return h(Pe);
268
256
  }
269
257
  function Qe(e) {
@@ -275,29 +263,41 @@ function $e() {
275
263
  function et(e) {
276
264
  w(Ie, e);
277
265
  }
278
- function tt() {
266
+ function $() {
279
267
  return h(Ie);
280
268
  }
281
- function nt(e) {
269
+ function tt(e) {
282
270
  w(Le, e);
283
271
  }
284
- function rt() {
272
+ function nt() {
285
273
  return h(Le);
286
274
  }
275
+ function rt(e) {
276
+ w(Re, e);
277
+ }
278
+ function it() {
279
+ return h(Re);
280
+ }
281
+ function at(e) {
282
+ w(ze, e);
283
+ }
284
+ function ot() {
285
+ return h(ze);
286
+ }
287
287
  //#endregion
288
288
  //#region src/components/menu/index.vue
289
- var it = /* @__PURE__ */ p({
289
+ var st = /* @__PURE__ */ p({
290
290
  __name: "index",
291
291
  setup(e) {
292
- let { t } = z(), n = We(), r = Ke(), i = Xe(), c = $(), u = T(0), p = T(0), m = T([]), h = o(() => [u.value, p.value]), _ = (e) => {
293
- !(m.value.length <= 0 || !Z(i.value, m.value)) && e.push({
292
+ let { t } = V(), n = qe(), r = Ye(), i = $e(), c = $(), u = T(0), p = T(0), m = T([]), h = o(() => [u.value, p.value]), _ = (e) => {
293
+ !(m.value.length <= 0 || !Q(i.value, m.value)) && e.push({
294
294
  title: t("x-prop-tree.reset"),
295
295
  func: () => {
296
- let e = K(n.value, m.value);
296
+ let e = J(n.value, m.value);
297
297
  if (e) if (e.ui) {
298
- let t = q(r.value, m.value.slice(0, -1));
298
+ let t = Y(r.value, m.value.slice(0, -1));
299
299
  if (!t) return;
300
- t[m.value[m.value.length - 1]] = R(e), c(m.value, t[m.value[m.value.length - 1]]);
300
+ t[m.value[m.value.length - 1]] = z(e), c(m.value, t[m.value[m.value.length - 1]]);
301
301
  } else if (e.array) {
302
302
  let t = m.value[m.value.length - 1];
303
303
  if (t === void 0) {
@@ -305,21 +305,21 @@ var it = /* @__PURE__ */ p({
305
305
  return;
306
306
  }
307
307
  if (typeof t == "string") {
308
- let t = q(r.value, m.value.slice(0, -1));
308
+ let t = Y(r.value, m.value.slice(0, -1));
309
309
  if (!t) return;
310
- t[m.value[m.value.length - 1]] = R(e), c(m.value, t[m.value[m.value.length - 1]]);
310
+ t[m.value[m.value.length - 1]] = z(e), c(m.value, t[m.value[m.value.length - 1]]);
311
311
  } else {
312
- let t = q(r.value, m.value);
312
+ let t = Y(r.value, m.value);
313
313
  if (!t) return;
314
314
  e.children.forEach((n) => {
315
- t[n.key] = R(e), c([...m.value, n.key], t[n.key]);
315
+ t[n.key] = z(e), c([...m.value, n.key], t[n.key]);
316
316
  });
317
317
  }
318
318
  } else {
319
- let t = q(r.value, m.value);
319
+ let t = Y(r.value, m.value);
320
320
  if (!t) return;
321
321
  e.children.forEach((n) => {
322
- t[n.key] = R(e), c([...m.value, n.key], t[n.key]);
322
+ t[n.key] = z(e), c([...m.value, n.key], t[n.key]);
323
323
  });
324
324
  }
325
325
  }
@@ -328,7 +328,7 @@ var it = /* @__PURE__ */ p({
328
328
  e.push({
329
329
  title: t("x-prop-tree.copy"),
330
330
  func: () => {
331
- let e = K(n.value, m.value), t = q(r.value, m.value);
331
+ let e = J(n.value, m.value), t = Y(r.value, m.value);
332
332
  localStorage.setItem("propTreeCopy", JSON.stringify({
333
333
  property: e,
334
334
  object: t
@@ -342,8 +342,8 @@ var it = /* @__PURE__ */ p({
342
342
  try {
343
343
  let { property: t } = JSON.parse(e);
344
344
  if (!t) return !1;
345
- let r = K(n.value, m.value);
346
- return r ? ye(t, r) : !1;
345
+ let r = J(n.value, m.value);
346
+ return r ? be(t, r) : !1;
347
347
  } catch (e) {
348
348
  console.error(e);
349
349
  }
@@ -355,7 +355,7 @@ var it = /* @__PURE__ */ p({
355
355
  if (!r()) return;
356
356
  let e = localStorage.getItem("propTreeCopy");
357
357
  if (e) try {
358
- let { object: t } = JSON.parse(e), r = K(n.value, m.value);
358
+ let { object: t } = JSON.parse(e), r = J(n.value, m.value);
359
359
  console.log(t, r);
360
360
  } catch (e) {
361
361
  console.error(e);
@@ -365,7 +365,7 @@ var it = /* @__PURE__ */ p({
365
365
  }, b = o(() => {
366
366
  let e = [];
367
367
  return _(e), v(e), y(e), e;
368
- }), { open: x } = U("propTreeMenu", (e) => {
368
+ }), { open: x } = G("propTreeMenu", (e) => {
369
369
  u.value = e.x, p.value = e.y, m.value = e.keys;
370
370
  });
371
371
  return (e, t) => {
@@ -395,7 +395,7 @@ var it = /* @__PURE__ */ p({
395
395
  }, 8, ["modelValue", "target"]);
396
396
  };
397
397
  }
398
- }), at = { style: { pointerEvents: "none" } }, ot = /* @__PURE__ */ p({
398
+ }), ct = { style: { pointerEvents: "none" } }, lt = /* @__PURE__ */ p({
399
399
  __name: "index",
400
400
  props: {
401
401
  title: {},
@@ -417,7 +417,7 @@ var it = /* @__PURE__ */ p({
417
417
  "delete"
418
418
  ],
419
419
  setup(e, { emit: t }) {
420
- let { backgroundColor2: n, highlightColor: r } = V(), i = t, a = T(!1), d = o(() => ({
420
+ let { backgroundColor2: n, highlightColor: r } = U(), i = t, a = T(!1), d = o(() => ({
421
421
  background: a.value ? r.value : n.value,
422
422
  height: "36px",
423
423
  marginBottom: "1px",
@@ -433,7 +433,7 @@ var it = /* @__PURE__ */ p({
433
433
  class: "d-flex align-center cursor-pointer",
434
434
  style: y(d.value),
435
435
  onClick: p,
436
- onContextmenu: L(m, ["self", "prevent"]),
436
+ onContextmenu: R(m, ["self", "prevent"]),
437
437
  onMouseout: n[2] ||= (e) => a.value = !1,
438
438
  onMouseover: n[3] ||= (e) => a.value = !0
439
439
  }, [
@@ -441,7 +441,7 @@ var it = /* @__PURE__ */ p({
441
441
  class: "mr-1",
442
442
  icon: e.collapse ? "mdi-chevron-right" : "mdi-chevron-down"
443
443
  }, null, 8, ["icon"]),
444
- u("span", at, k(e.title), 1),
444
+ u("span", ct, k(e.title), 1),
445
445
  f(o),
446
446
  e.hasCreate ? (C(), s(h, {
447
447
  key: 0,
@@ -449,7 +449,7 @@ var it = /* @__PURE__ */ p({
449
449
  density: "compact",
450
450
  icon: "mdi-plus",
451
451
  variant: "text",
452
- onClick: n[0] ||= L((e) => i("create"), ["stop"])
452
+ onClick: n[0] ||= R((e) => i("create"), ["stop"])
453
453
  })) : c("", !0),
454
454
  e.hasDelete ? (C(), s(h, {
455
455
  key: 1,
@@ -457,7 +457,7 @@ var it = /* @__PURE__ */ p({
457
457
  density: "compact",
458
458
  icon: "mdi-minus",
459
459
  variant: "text",
460
- onClick: n[1] ||= L((t) => i("delete", e.index), ["stop"])
460
+ onClick: n[1] ||= R((t) => i("delete", e.index), ["stop"])
461
461
  })) : c("", !0)
462
462
  ], 36)), [[g]]);
463
463
  };
@@ -465,14 +465,14 @@ var it = /* @__PURE__ */ p({
465
465
  });
466
466
  //#endregion
467
467
  //#region src/composables/adaptSlotList/index.ts
468
- function st() {
469
- let e = Q(), t = Be(), n = He(), { i18n: a } = ue, o = T([]);
470
- nt(o);
468
+ function ut() {
469
+ let e = Ve(), t = Ue(), n = Ge(), { i18n: a } = de, o = T([]);
470
+ at(o);
471
471
  let s = () => {
472
472
  if (!e.value || !t.value || !n.value) return [];
473
473
  let s = le[e.value];
474
474
  if (!s) return console.assert(!1, `invalid version=${e.value}`), [];
475
- let c = ae(t.value, n.value), l = [];
475
+ let c = re(t.value, n.value), l = [];
476
476
  for (let e = 0; e < s.groups[c].length; e++) {
477
477
  let t = s.groups[c][e], n = r(o, t.key);
478
478
  l.push({
@@ -485,7 +485,7 @@ function st() {
485
485
  });
486
486
  let i = 0;
487
487
  for (let e of t.items) {
488
- let n = re(e);
488
+ let n = ne(e);
489
489
  if (n && !n.internal && n.slots) for (let e of n.slots) {
490
490
  let r = oe("elementSlot", n.key, e.key), o = `${a.global.t(n.name)} / ${a.global.t(e.name)}`;
491
491
  l.push({
@@ -498,7 +498,7 @@ function st() {
498
498
  }
499
499
  }
500
500
  }
501
- let { activeApp: u, depends: d } = he.app;
501
+ let { activeApp: u, depends: d } = ge.app;
502
502
  for (let { id: e, name: t, position: n } of u.compGroups) {
503
503
  let i = r(o, e);
504
504
  l.push({
@@ -547,11 +547,11 @@ function st() {
547
547
  }
548
548
  //#endregion
549
549
  //#region src/composables/compList/index.ts
550
- function ct() {
550
+ function dt() {
551
551
  let e = T([]);
552
- Qe(e);
552
+ tt(e);
553
553
  let t = () => {
554
- let { activeApp: t, depends: n } = he.app, r = [];
554
+ let { activeApp: t, depends: n } = ge.app, r = [];
555
555
  for (let { id: n, name: i, position: a } of t.compGroups) {
556
556
  let t = e.value.find((e) => e.id === n);
557
557
  r.push({
@@ -585,11 +585,11 @@ function ct() {
585
585
  }
586
586
  //#endregion
587
587
  //#region src/composables/slotList/index.ts
588
- function lt() {
588
+ function ft() {
589
589
  let e = T([]);
590
- et(e);
590
+ rt(e);
591
591
  let t = () => {
592
- let { activeObject: e, activeComp: t } = he.app;
592
+ let { activeObject: e, activeComp: t } = ge.app;
593
593
  if (e.type !== "comp" || !t.meta.slots) return [];
594
594
  let n = [];
595
595
  for (let { id: e, name: r } of t.meta.slots) n.push({
@@ -614,7 +614,7 @@ function lt() {
614
614
  }
615
615
  //#endregion
616
616
  //#region src/components/values/adaptSlotSelect/adaptSlotList/group.vue?vue&type=script&setup=true&lang.ts
617
- var ut = { class: "text-label-large ml-1" }, dt = { class: "text-body-small text-grey ml-1" }, ft = /* @__PURE__ */ p({
617
+ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text-grey ml-1" }, ht = /* @__PURE__ */ p({
618
618
  __name: "group",
619
619
  props: {
620
620
  id: {},
@@ -624,7 +624,7 @@ var ut = { class: "text-label-large ml-1" }, dt = { class: "text-body-small text
624
624
  },
625
625
  emits: ["x-click"],
626
626
  setup(e, { emit: t }) {
627
- let { backgroundColor2: n, highlightColor: r } = V(), i = e, a = t, s = T(!1), c = o(() => ({
627
+ let { backgroundColor2: n, highlightColor: r } = U(), i = e, a = t, s = T(!1), c = o(() => ({
628
628
  background: s.value ? r.value : n.value,
629
629
  height: "30px",
630
630
  marginTop: "1px",
@@ -643,12 +643,12 @@ var ut = { class: "text-label-large ml-1" }, dt = { class: "text-body-small text
643
643
  icon: i.collapse ? "mdi-chevron-right" : "mdi-chevron-down",
644
644
  size: "small"
645
645
  }, null, 8, ["icon"]),
646
- u("span", ut, k(i.title), 1),
647
- u("span", dt, k(i.count), 1)
646
+ u("span", pt, k(i.title), 1),
647
+ u("span", mt, k(i.count), 1)
648
648
  ], 36)), [[r]]);
649
649
  };
650
650
  }
651
- }), pt = { class: "text-body-large ml-6" }, mt = /* @__PURE__ */ p({
651
+ }), gt = { class: "text-body-large ml-6" }, _t = /* @__PURE__ */ p({
652
652
  __name: "item",
653
653
  props: {
654
654
  id: {},
@@ -656,7 +656,7 @@ var ut = { class: "text-label-large ml-1" }, dt = { class: "text-body-small text
656
656
  },
657
657
  emits: ["x-click"],
658
658
  setup(e, { emit: t }) {
659
- let { backgroundColor2: n, highlightColor: r } = V(), i = t, a = T(!1), s = o(() => ({
659
+ let { backgroundColor2: n, highlightColor: r } = U(), i = t, a = T(!1), s = o(() => ({
660
660
  background: a.value ? r.value : n.value,
661
661
  height: "48px",
662
662
  marginTop: "1px",
@@ -670,13 +670,13 @@ var ut = { class: "text-label-large ml-1" }, dt = { class: "text-body-small text
670
670
  onClick: n[0] ||= (t) => i("x-click", e.id),
671
671
  onMouseout: n[1] ||= (e) => a.value = !1,
672
672
  onMouseover: n[2] ||= (e) => a.value = !0
673
- }, [u("span", pt, k(e.title), 1)], 36)), [[r]]);
673
+ }, [u("span", gt, k(e.title), 1)], 36)), [[r]]);
674
674
  };
675
675
  }
676
- }), ht = { key: 0 }, gt = {
676
+ }), vt = { key: 0 }, yt = {
677
677
  key: 1,
678
678
  class: "text-body-medium text-grey ml-3"
679
- }, _t = /* @__PURE__ */ p({
679
+ }, bt = /* @__PURE__ */ p({
680
680
  __name: "index",
681
681
  props: {
682
682
  modelValue: {},
@@ -689,13 +689,13 @@ var ut = { class: "text-label-large ml-1" }, dt = { class: "text-body-small text
689
689
  },
690
690
  emits: ["update:modelValue", "update:open"],
691
691
  setup(e) {
692
- let { nameList: t } = H(), i = M(e, "modelValue"), o = M(e, "open"), u = rt(), d = (e) => {
692
+ let { nameList: t } = W(), i = M(e, "modelValue"), o = M(e, "open"), u = ot(), d = (e) => {
693
693
  let t = r(u, e);
694
694
  t && n(u, e, !t.collapse);
695
695
  }, f = (e) => {
696
696
  i.value = e, o.value = !1;
697
697
  };
698
- 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(ft, {
698
+ return (e, n) => A(u).length > 0 ? (C(), l("div", vt, [(C(!0), l(a, null, E(A(u), (e) => (C(), l(a, { key: e.id }, [e.type === 0 ? (C(), s(ht, {
699
699
  key: 0,
700
700
  id: e.id,
701
701
  collapse: e.collapse,
@@ -707,18 +707,18 @@ var ut = { class: "text-label-large ml-1" }, dt = { class: "text-body-small text
707
707
  "collapse",
708
708
  "count",
709
709
  "title"
710
- ])) : c("", !0), e.type === 1 && e.show ? (C(), s(mt, {
710
+ ])) : c("", !0), e.type === 1 && e.show ? (C(), s(_t, {
711
711
  key: 1,
712
712
  id: e.id,
713
713
  title: e.name,
714
714
  onXClick: f
715
- }, null, 8, ["id", "title"])) : c("", !0)], 64))), 128))])) : (C(), l("div", gt, k(A(t)([
715
+ }, null, 8, ["id", "title"])) : c("", !0)], 64))), 128))])) : (C(), l("div", yt, k(A(t)([
716
716
  "x-prop-tree.no",
717
717
  "x-prop-tree.adapt",
718
718
  "x-prop-tree.slot"
719
719
  ])), 1));
720
720
  }
721
- }), vt = { class: "text-body-large" }, yt = /* @__PURE__ */ p({
721
+ }), xt = { class: "text-body-large" }, St = /* @__PURE__ */ p({
722
722
  __name: "index",
723
723
  props: /* @__PURE__ */ _({
724
724
  hasDelete: {
@@ -735,7 +735,7 @@ var ut = { class: "text-label-large ml-1" }, dt = { class: "text-body-small text
735
735
  }),
736
736
  emits: /* @__PURE__ */ _(["delete"], ["update:modelValue"]),
737
737
  setup(e, { emit: t }) {
738
- let { t: n } = z(), i = ge(), { sysBarAvail: a, nameList: l } = H(), { backgroundColor1: p } = V(), m = M(e, "modelValue"), h = t, _ = rt(), b = o(() => {
738
+ let { t: n } = V(), i = _e(), { sysBarAvail: a, nameList: l } = W(), { backgroundColor1: p } = U(), m = M(e, "modelValue"), h = t, _ = ot(), b = o(() => {
739
739
  let e = "100%";
740
740
  return i.mdAndUp.value && (e = "400px"), {
741
741
  background: p.value,
@@ -752,7 +752,7 @@ var ut = { class: "text-label-large ml-1" }, dt = { class: "text-body-small text
752
752
  if (!m.value) return n("x-runtime-lib.notSet");
753
753
  let e = r(_, m.value);
754
754
  return e ? e.name : n("x-runtime-lib.slotNotAvail");
755
- }), { open: E } = U(`propTreeAdaptSlotSelectDlg${j()}`);
755
+ }), { open: E } = G(`propTreeAdaptSlotSelectDlg${j()}`);
756
756
  return S(() => {
757
757
  E.value = !1;
758
758
  }), (t, n) => {
@@ -764,7 +764,7 @@ var ut = { class: "text-label-large ml-1" }, dt = { class: "text-body-small text
764
764
  "no-click-animation": "",
765
765
  persistent: "",
766
766
  transition: "scroll-x-reverse-transition",
767
- onKeydown: n[7] ||= ne(L((e) => E.value = !1, ["stop", "prevent"]), ["esc"])
767
+ onKeydown: n[7] ||= L(R((e) => E.value = !1, ["stop", "prevent"]), ["esc"])
768
768
  }, {
769
769
  activator: F(({ props: t }) => [f(r, v(t, {
770
770
  block: "",
@@ -779,12 +779,12 @@ var ut = { class: "text-label-large ml-1" }, dt = { class: "text-body-small text
779
779
  density: "compact",
780
780
  icon: "mdi-minus",
781
781
  variant: "text",
782
- onClick: n[0] ||= L((e) => h("delete"), ["stop"])
782
+ onClick: n[0] ||= R((e) => h("delete"), ["stop"])
783
783
  })) : c("", !0)]),
784
784
  default: F(() => [u("div", {
785
785
  class: "w-100 h-100 d-flex flex-row-reverse",
786
- onClick: n[4] ||= L((e) => E.value = !1, ["self"]),
787
- onContextmenu: n[5] ||= L((e) => E.value = !1, ["self", "prevent"])
786
+ onClick: n[4] ||= R((e) => E.value = !1, ["self"]),
787
+ onContextmenu: n[5] ||= R((e) => E.value = !1, ["self", "prevent"])
788
788
  }, [u("div", {
789
789
  class: "elevation-2",
790
790
  style: y(b.value)
@@ -804,7 +804,7 @@ var ut = { class: "text-label-large ml-1" }, dt = { class: "text-body-small text
804
804
  icon: "mdi-close",
805
805
  variant: "text",
806
806
  onClick: n[1] ||= (e) => E.value = !1
807
- }), u("span", vt, k(A(l)([
807
+ }), u("span", xt, k(A(l)([
808
808
  "x-prop-tree.select",
809
809
  "x-prop-tree.adapt",
810
810
  "x-prop-tree.slot"
@@ -814,7 +814,7 @@ var ut = { class: "text-label-large ml-1" }, dt = { class: "text-body-small text
814
814
  u("div", {
815
815
  class: "overflow-y-auto",
816
816
  style: y(x.value)
817
- }, [f(_t, {
817
+ }, [f(bt, {
818
818
  modelValue: m.value,
819
819
  "onUpdate:modelValue": n[2] ||= (e) => m.value = e,
820
820
  open: A(E),
@@ -825,7 +825,7 @@ var ut = { class: "text-label-large ml-1" }, dt = { class: "text-body-small text
825
825
  }, 8, ["modelValue"]);
826
826
  };
827
827
  }
828
- }), bt = { class: "d-flex justify-space-between align-center" }, xt = /* @__PURE__ */ p({
828
+ }), Ct = { class: "d-flex justify-space-between align-center" }, wt = /* @__PURE__ */ p({
829
829
  __name: "index",
830
830
  props: /* @__PURE__ */ _({
831
831
  hasDelete: {
@@ -842,10 +842,10 @@ var ut = { class: "text-label-large ml-1" }, dt = { class: "text-body-small text
842
842
  }),
843
843
  emits: /* @__PURE__ */ _(["delete"], ["update:modelValue"]),
844
844
  setup(e, { emit: t }) {
845
- let { t: n } = z(), r = M(e, "modelValue"), i = t, a = o(() => {
845
+ let { t: n } = V(), r = M(e, "modelValue"), i = t, a = o(() => {
846
846
  let t = "100%";
847
847
  return e.hasDelete && (t = "calc(100% - 37px)"), { width: t };
848
- }), l = o(() => e.readonly), { open: p } = U(`propTreeColorPickerMenu${j()}`);
848
+ }), l = o(() => e.readonly), { open: p } = G(`propTreeColorPickerMenu${j()}`);
849
849
  return S(() => {
850
850
  p.value = !1;
851
851
  }), (t, o) => {
@@ -856,7 +856,7 @@ var ut = { class: "text-label-large ml-1" }, dt = { class: "text-body-small text
856
856
  "close-on-content-click": !1,
857
857
  scrim: "transparent"
858
858
  }, {
859
- activator: F(({ props: t }) => [u("div", bt, [u("div", {
859
+ activator: F(({ props: t }) => [u("div", Ct, [u("div", {
860
860
  class: "flex-grow-1",
861
861
  style: y(a.value)
862
862
  }, [f(m, v(t, {
@@ -873,7 +873,7 @@ var ut = { class: "text-label-large ml-1" }, dt = { class: "text-body-small text
873
873
  density: "compact",
874
874
  icon: "mdi-minus",
875
875
  variant: "text",
876
- onClick: o[0] ||= L((e) => i("delete"), ["stop"])
876
+ onClick: o[0] ||= R((e) => i("delete"), ["stop"])
877
877
  })) : c("", !0)])]),
878
878
  default: F(() => [f(h, {
879
879
  modelValue: r.value,
@@ -886,7 +886,7 @@ var ut = { class: "text-label-large ml-1" }, dt = { class: "text-body-small text
886
886
  }, 8, ["modelValue"]);
887
887
  };
888
888
  }
889
- }), St = { class: "text-label-large ml-1" }, Ct = { class: "text-body-small text-grey ml-1" }, wt = /* @__PURE__ */ p({
889
+ }), Tt = { class: "text-label-large ml-1" }, Et = { class: "text-body-small text-grey ml-1" }, Dt = /* @__PURE__ */ p({
890
890
  __name: "group",
891
891
  props: {
892
892
  id: {},
@@ -896,7 +896,7 @@ var ut = { class: "text-label-large ml-1" }, dt = { class: "text-body-small text
896
896
  },
897
897
  emits: ["x-click"],
898
898
  setup(e, { emit: t }) {
899
- let { backgroundColor2: n, highlightColor: r } = V(), i = e, a = t, s = T(!1), c = o(() => ({
899
+ let { backgroundColor2: n, highlightColor: r } = U(), i = e, a = t, s = T(!1), c = o(() => ({
900
900
  background: s.value ? r.value : n.value,
901
901
  height: "30px",
902
902
  marginTop: "1px",
@@ -915,12 +915,12 @@ var ut = { class: "text-label-large ml-1" }, dt = { class: "text-body-small text
915
915
  icon: i.collapse ? "mdi-chevron-right" : "mdi-chevron-down",
916
916
  size: "small"
917
917
  }, null, 8, ["icon"]),
918
- u("span", St, k(i.title), 1),
919
- u("span", Ct, k(i.count), 1)
918
+ u("span", Tt, k(i.title), 1),
919
+ u("span", Et, k(i.count), 1)
920
920
  ], 36)), [[r]]);
921
921
  };
922
922
  }
923
- }), Tt = { class: "text-body-large ml-6" }, Et = /* @__PURE__ */ p({
923
+ }), Ot = { class: "text-body-large ml-6" }, kt = /* @__PURE__ */ p({
924
924
  __name: "item",
925
925
  props: {
926
926
  id: {},
@@ -928,7 +928,7 @@ var ut = { class: "text-label-large ml-1" }, dt = { class: "text-body-small text
928
928
  },
929
929
  emits: ["x-click"],
930
930
  setup(e, { emit: t }) {
931
- let { backgroundColor2: n, highlightColor: r } = V(), i = e, a = t, s = T(!1), c = o(() => ({
931
+ let { backgroundColor2: n, highlightColor: r } = U(), i = e, a = t, s = T(!1), c = o(() => ({
932
932
  background: s.value ? r.value : n.value,
933
933
  height: "48px",
934
934
  marginTop: "1px",
@@ -942,13 +942,13 @@ var ut = { class: "text-label-large ml-1" }, dt = { class: "text-body-small text
942
942
  onClick: t[0] ||= (e) => a("x-click", i.id),
943
943
  onMouseout: t[1] ||= (e) => s.value = !1,
944
944
  onMouseover: t[2] ||= (e) => s.value = !0
945
- }, [u("span", Tt, k(i.title), 1)], 36)), [[n]]);
945
+ }, [u("span", Ot, k(i.title), 1)], 36)), [[n]]);
946
946
  };
947
947
  }
948
- }), Dt = { key: 0 }, Ot = {
948
+ }), At = { key: 0 }, jt = {
949
949
  key: 1,
950
950
  class: "text-body-medium text-grey ml-3"
951
- }, kt = /* @__PURE__ */ p({
951
+ }, Mt = /* @__PURE__ */ p({
952
952
  __name: "index",
953
953
  props: {
954
954
  modelValue: {},
@@ -961,13 +961,13 @@ var ut = { class: "text-label-large ml-1" }, dt = { class: "text-body-small text
961
961
  },
962
962
  emits: ["update:modelValue", "update:open"],
963
963
  setup(e) {
964
- let { nameList: t } = H(), i = M(e, "modelValue"), o = M(e, "open"), u = $e(), d = (e) => {
964
+ let { nameList: t } = W(), i = M(e, "modelValue"), o = M(e, "open"), u = nt(), d = (e) => {
965
965
  let t = r(u, e);
966
966
  t && n(u, e, !t.collapse);
967
967
  }, f = (e) => {
968
- i.value = e, o.value = !1, B.emit("refreshDepends");
968
+ i.value = e, o.value = !1, H.emit("refreshDepends");
969
969
  };
970
- return (e, n) => A(u).length > 0 ? (C(), l("div", Dt, [(C(!0), l(a, null, E(A(u), (e) => (C(), l(a, { key: e.id }, [e.type === 0 ? (C(), s(wt, {
970
+ return (e, n) => A(u).length > 0 ? (C(), l("div", At, [(C(!0), l(a, null, E(A(u), (e) => (C(), l(a, { key: e.id }, [e.type === 0 ? (C(), s(Dt, {
971
971
  key: 0,
972
972
  id: e.id,
973
973
  collapse: e.collapse,
@@ -979,14 +979,14 @@ var ut = { class: "text-label-large ml-1" }, dt = { class: "text-body-small text
979
979
  "collapse",
980
980
  "count",
981
981
  "title"
982
- ])) : c("", !0), e.type === 1 && e.show ? (C(), s(Et, {
982
+ ])) : c("", !0), e.type === 1 && e.show ? (C(), s(kt, {
983
983
  key: 1,
984
984
  id: e.id,
985
985
  title: e.name,
986
986
  onXClick: f
987
- }, null, 8, ["id", "title"])) : c("", !0)], 64))), 128))])) : (C(), l("div", Ot, k(A(t)(["x-prop-tree.no", "x-prop-tree.comp"])), 1));
987
+ }, null, 8, ["id", "title"])) : c("", !0)], 64))), 128))])) : (C(), l("div", jt, k(A(t)(["x-prop-tree.no", "x-prop-tree.comp"])), 1));
988
988
  }
989
- }), At = { class: "text-body-large" }, jt = /* @__PURE__ */ p({
989
+ }), Nt = { class: "text-body-large" }, Pt = /* @__PURE__ */ p({
990
990
  __name: "index",
991
991
  props: /* @__PURE__ */ _({
992
992
  hasDelete: {
@@ -1003,7 +1003,7 @@ var ut = { class: "text-label-large ml-1" }, dt = { class: "text-body-small text
1003
1003
  }),
1004
1004
  emits: /* @__PURE__ */ _(["delete"], ["update:modelValue"]),
1005
1005
  setup(e, { emit: t }) {
1006
- let { t: n } = z(), i = ge(), { sysBarAvail: a, nameList: l } = H(), { backgroundColor1: p } = V(), m = M(e, "modelValue"), h = t, _ = $e(), b = o(() => {
1006
+ let { t: n } = V(), i = _e(), { sysBarAvail: a, nameList: l } = W(), { backgroundColor1: p } = U(), m = M(e, "modelValue"), h = t, _ = nt(), b = o(() => {
1007
1007
  let e = "100%";
1008
1008
  return i.mdAndUp.value && (e = "400px"), {
1009
1009
  background: p.value,
@@ -1020,7 +1020,7 @@ var ut = { class: "text-label-large ml-1" }, dt = { class: "text-body-small text
1020
1020
  if (!m.value) return n("x-runtime-lib.notSet");
1021
1021
  let e = r(_, m.value);
1022
1022
  return e ? e.name : n("x-runtime-lib.compNotAvail");
1023
- }), { open: E } = U(`propTreeCompSelectDlg${j()}`);
1023
+ }), { open: E } = G(`propTreeCompSelectDlg${j()}`);
1024
1024
  return S(() => {
1025
1025
  E.value = !1;
1026
1026
  }), (t, n) => {
@@ -1032,7 +1032,7 @@ var ut = { class: "text-label-large ml-1" }, dt = { class: "text-body-small text
1032
1032
  "no-click-animation": "",
1033
1033
  persistent: "",
1034
1034
  transition: "scroll-x-reverse-transition",
1035
- onKeydown: n[7] ||= ne(L((e) => E.value = !1, ["stop", "prevent"]), ["esc"])
1035
+ onKeydown: n[7] ||= L(R((e) => E.value = !1, ["stop", "prevent"]), ["esc"])
1036
1036
  }, {
1037
1037
  activator: F(({ props: t }) => [f(r, v(t, {
1038
1038
  block: "",
@@ -1047,12 +1047,12 @@ var ut = { class: "text-label-large ml-1" }, dt = { class: "text-body-small text
1047
1047
  density: "compact",
1048
1048
  icon: "mdi-minus",
1049
1049
  variant: "text",
1050
- onClick: n[0] ||= L((e) => h("delete"), ["stop"])
1050
+ onClick: n[0] ||= R((e) => h("delete"), ["stop"])
1051
1051
  })) : c("", !0)]),
1052
1052
  default: F(() => [u("div", {
1053
1053
  class: "w-100 h-100 d-flex flex-row-reverse",
1054
- onClick: n[4] ||= L((e) => E.value = !1, ["self"]),
1055
- onContextmenu: n[5] ||= L((e) => E.value = !1, ["self", "prevent"])
1054
+ onClick: n[4] ||= R((e) => E.value = !1, ["self"]),
1055
+ onContextmenu: n[5] ||= R((e) => E.value = !1, ["self", "prevent"])
1056
1056
  }, [u("div", {
1057
1057
  class: "elevation-2",
1058
1058
  style: y(b.value)
@@ -1072,13 +1072,13 @@ var ut = { class: "text-label-large ml-1" }, dt = { class: "text-body-small text
1072
1072
  icon: "mdi-close",
1073
1073
  variant: "text",
1074
1074
  onClick: n[1] ||= (e) => E.value = !1
1075
- }), u("span", At, k(A(l)(["x-prop-tree.select", "x-prop-tree.comp"])), 1)]),
1075
+ }), u("span", Nt, k(A(l)(["x-prop-tree.select", "x-prop-tree.comp"])), 1)]),
1076
1076
  _: 1
1077
1077
  }),
1078
1078
  u("div", {
1079
1079
  class: "overflow-y-auto",
1080
1080
  style: y(x.value)
1081
- }, [f(kt, {
1081
+ }, [f(Mt, {
1082
1082
  modelValue: m.value,
1083
1083
  "onUpdate:modelValue": n[2] ||= (e) => m.value = e,
1084
1084
  open: A(E),
@@ -1089,7 +1089,7 @@ var ut = { class: "text-label-large ml-1" }, dt = { class: "text-body-small text
1089
1089
  }, 8, ["modelValue"]);
1090
1090
  };
1091
1091
  }
1092
- }), Mt = /* @__PURE__ */ p({
1092
+ }), Ft = /* @__PURE__ */ p({
1093
1093
  __name: "editor",
1094
1094
  props: {
1095
1095
  modelValue: { required: !0 },
@@ -1108,14 +1108,14 @@ var ut = { class: "text-label-large ml-1" }, dt = { class: "text-body-small text
1108
1108
  "update:scale"
1109
1109
  ],
1110
1110
  setup(e, { expose: t }) {
1111
- let n = M(e, "modelValue"), r = M(e, "lock"), i = M(e, "scale"), a = de(), o = fe(), c = Q(), l = te("target"), u = () => {
1111
+ let n = M(e, "modelValue"), r = M(e, "lock"), i = M(e, "scale"), a = fe(), o = pe(), c = Ve(), l = te("target"), u = () => {
1112
1112
  let e = JSON.parse(n.value);
1113
1113
  l.value?.load(e);
1114
1114
  };
1115
1115
  return t({ save: () => {
1116
1116
  let e = l.value.save();
1117
1117
  n.value = JSON.stringify(e, null, 2);
1118
- } }), (e, t) => (C(), s(A(_e), {
1118
+ } }), (e, t) => (C(), s(A(ve), {
1119
1119
  ref_key: "target",
1120
1120
  ref: l,
1121
1121
  lock: r.value,
@@ -1135,7 +1135,7 @@ var ut = { class: "text-label-large ml-1" }, dt = { class: "text-body-small text
1135
1135
  "version"
1136
1136
  ]));
1137
1137
  }
1138
- }), Nt = { class: "text-body-large" }, Pt = /* @__PURE__ */ p({
1138
+ }), It = { class: "text-body-large" }, Lt = /* @__PURE__ */ p({
1139
1139
  __name: "index",
1140
1140
  props: /* @__PURE__ */ _({
1141
1141
  hasDelete: {
@@ -1152,14 +1152,14 @@ var ut = { class: "text-label-large ml-1" }, dt = { class: "text-body-small text
1152
1152
  }),
1153
1153
  emits: /* @__PURE__ */ _(["delete"], ["update:modelValue"]),
1154
1154
  setup(e, { emit: t }) {
1155
- let { t: n } = z(), { sysBarAvail: r } = H(), { backgroundColor0: i, backgroundColor1: a, backgroundColor2: l } = V(), p = M(e, "modelValue"), m = t, h = T(!1), _ = T(1), b = o(() => {
1155
+ let { t: n } = V(), { sysBarAvail: r } = W(), { backgroundColor0: i, backgroundColor1: a, backgroundColor2: l } = U(), p = M(e, "modelValue"), m = t, h = T(!1), _ = T(1), b = o(() => {
1156
1156
  let e = 48;
1157
1157
  return r.value && (e += 24), {
1158
1158
  position: "relative",
1159
1159
  background: a.value,
1160
1160
  height: `calc(100% - ${e}px)`
1161
1161
  };
1162
- }), x = o(() => n("x-prop-tree.jsonEditor")), { open: w } = U(`propTreejsonEditorDlg${j()}`);
1162
+ }), x = o(() => n("x-prop-tree.jsonEditor")), { open: w } = G(`propTreejsonEditorDlg${j()}`);
1163
1163
  S(() => {
1164
1164
  w.value = !1;
1165
1165
  });
@@ -1176,7 +1176,7 @@ var ut = { class: "text-label-large ml-1" }, dt = { class: "text-body-small text
1176
1176
  "no-click-animation": "",
1177
1177
  persistent: "",
1178
1178
  transition: "dialog-bottom-transition",
1179
- onKeydown: n[6] ||= ne(L((e) => w.value = !1, ["stop", "prevent"]), ["esc"])
1179
+ onKeydown: n[6] ||= L(R((e) => w.value = !1, ["stop", "prevent"]), ["esc"])
1180
1180
  }, {
1181
1181
  activator: F(({ props: t }) => [f(a, v(t, {
1182
1182
  block: "",
@@ -1191,7 +1191,7 @@ var ut = { class: "text-label-large ml-1" }, dt = { class: "text-body-small text
1191
1191
  density: "compact",
1192
1192
  icon: "mdi-minus",
1193
1193
  variant: "text",
1194
- onClick: n[0] ||= L((e) => m("delete"), ["stop"])
1194
+ onClick: n[0] ||= R((e) => m("delete"), ["stop"])
1195
1195
  })) : c("", !0)]),
1196
1196
  default: F(() => [f(o, {
1197
1197
  color: A(i),
@@ -1216,12 +1216,12 @@ var ut = { class: "text-label-large ml-1" }, dt = { class: "text-body-small text
1216
1216
  variant: "text",
1217
1217
  onClick: n[1] ||= (e) => w.value = !1
1218
1218
  }),
1219
- u("span", Nt, k(x.value), 1),
1219
+ u("span", It, k(x.value), 1),
1220
1220
  f(S)
1221
1221
  ]),
1222
1222
  _: 1
1223
1223
  }, 8, ["color"]),
1224
- u("div", { style: y(b.value) }, [f(Mt, {
1224
+ u("div", { style: y(b.value) }, [f(Ft, {
1225
1225
  ref_key: "editor",
1226
1226
  ref: E,
1227
1227
  modelValue: p.value,
@@ -1242,7 +1242,7 @@ var ut = { class: "text-label-large ml-1" }, dt = { class: "text-body-small text
1242
1242
  }, 8, ["modelValue"]);
1243
1243
  };
1244
1244
  }
1245
- }), Ft = { class: "d-flex justify-space-between align-center my-2" }, It = { class: "flex-grow-1" }, Lt = /* @__PURE__ */ p({
1245
+ }), Rt = { class: "d-flex justify-space-between align-center my-2" }, zt = { class: "flex-grow-1" }, Bt = /* @__PURE__ */ p({
1246
1246
  __name: "index",
1247
1247
  props: /* @__PURE__ */ _({
1248
1248
  hasDelete: {
@@ -1260,23 +1260,26 @@ var ut = { class: "text-label-large ml-1" }, dt = { class: "text-body-small text
1260
1260
  }),
1261
1261
  emits: /* @__PURE__ */ _(["delete"], ["update:modelValue"]),
1262
1262
  setup(e, { emit: t }) {
1263
- let { t: n } = z(), { isMobile: r } = H(), i = M(e, "modelValue"), a = t, d = Q(), p = o(() => le[d.value].types[e.types]), m = T(0), h = o(() => {
1263
+ let { t: n } = V(), { isMobile: r } = W(), i = M(e, "modelValue"), a = t, d = Ve(), p = o(() => le[d.value].types[e.types]), m = T(""), h = o(() => {
1264
1264
  let e = [];
1265
- return p.value?.forEach(({ title: t }, r) => {
1266
- e.push({
1267
- title: n(t),
1268
- value: r
1269
- });
1270
- }), e;
1265
+ for (let { value: t, title: r } of p.value) e.push({
1266
+ value: t,
1267
+ title: n(r)
1268
+ });
1269
+ return e;
1271
1270
  });
1272
1271
  P(() => {
1273
- p.value?.some((e, t) => e.validator(i.value) ? (m.value = t, !0) : !1);
1272
+ for (let { value: e, validator: t } of p.value) if (t(i.value)) {
1273
+ m.value = e;
1274
+ return;
1275
+ }
1276
+ m.value = "";
1274
1277
  });
1275
- let g = o(() => p.value?.[m.value]), _ = () => {
1278
+ let g = o(() => p.value.find((e) => e.value === m.value)), _ = () => {
1276
1279
  i.value = g.value?.default;
1277
1280
  }, v = T(0), y = async (e) => {
1278
- if (!e || !r() || g.value.value !== "pixel" && g.value.value !== "percent") return;
1279
- let t = await pe({
1281
+ if (!e || !r() || !g.value || g.value.trait !== "pixel" && g.value.trait !== "percent") return;
1282
+ let t = await me({
1280
1283
  title: "",
1281
1284
  value: v.value,
1282
1285
  precision: g.value.precision,
@@ -1286,66 +1289,107 @@ var ut = { class: "text-label-large ml-1" }, dt = { class: "text-body-small text
1286
1289
  });
1287
1290
  t !== void 0 && (v.value = t);
1288
1291
  };
1289
- return P(() => {
1290
- g.value?.value === "pixel" ? v.value = ce(i.value) : g.value?.value === "percent" && (v.value = se(i.value));
1292
+ P(() => {
1293
+ g.value?.trait === "pixel" ? v.value = ce(i.value) : g.value?.trait === "percent" && (v.value = se(i.value));
1291
1294
  }), N(v, (e) => {
1292
- g.value?.value === "pixel" ? i.value = e + "px" : g.value?.value === "percent" && (i.value = e + "%");
1295
+ g.value?.trait === "pixel" ? i.value = e + "px" : g.value?.trait === "percent" && (i.value = e + "%");
1296
+ });
1297
+ let b = T("#ff00ff");
1298
+ P(() => {
1299
+ g.value?.trait === "hexColor" && ie(i.value) && (b.value = i.value);
1300
+ }), N(b, (e) => {
1301
+ g.value?.trait === "hexColor" && (i.value = e);
1302
+ });
1303
+ let x = T("primary"), S = o(() => {
1304
+ let e = [];
1305
+ if (g.value?.trait === "themeColor") for (let { value: t, title: r } of ue) e.push({
1306
+ value: t,
1307
+ title: n(r)
1308
+ });
1309
+ return e;
1310
+ });
1311
+ return P(() => {
1312
+ g.value?.trait === "themeColor" && ae(i.value) && (x.value = i.value);
1313
+ }), N(x, (e) => {
1314
+ g.value?.trait === "themeColor" && (i.value = e);
1293
1315
  }), (t, n) => {
1294
1316
  let r = D("v-select"), i = D("v-number-input"), o = D("v-btn"), d = O("ripple");
1295
- return C(), l("div", Ft, [u("div", It, [I(f(r, {
1296
- modelValue: m.value,
1297
- "onUpdate:modelValue": [n[0] ||= (e) => m.value = e, _],
1298
- density: "compact",
1299
- "hide-details": "",
1300
- items: h.value,
1301
- readonly: e.readonly,
1302
- "single-line": ""
1303
- }, null, 8, [
1304
- "modelValue",
1305
- "items",
1306
- "readonly"
1307
- ]), [[
1308
- d,
1309
- void 0,
1310
- void 0,
1311
- { stop: !0 }
1312
- ]]), g.value?.value === "pixel" || g.value?.value === "percent" ? I((C(), s(i, {
1313
- key: 0,
1314
- modelValue: v.value,
1315
- "onUpdate:modelValue": n[1] ||= (e) => v.value = e,
1316
- "control-variant": "stacked",
1317
- density: "compact",
1318
- "hide-details": "",
1319
- max: g.value.max,
1320
- min: g.value.min,
1321
- precision: g.value.precision,
1322
- readonly: e.readonly,
1323
- "single-line": "",
1324
- step: g.value.step,
1325
- "onUpdate:focused": y
1326
- }, null, 8, [
1327
- "modelValue",
1328
- "max",
1329
- "min",
1330
- "precision",
1331
- "readonly",
1332
- "step"
1333
- ])), [[
1334
- d,
1335
- void 0,
1336
- void 0,
1337
- { stop: !0 }
1338
- ]]) : c("", !0)]), e.hasDelete ? (C(), s(o, {
1317
+ return C(), l("div", Rt, [u("div", zt, [
1318
+ I(f(r, {
1319
+ modelValue: m.value,
1320
+ "onUpdate:modelValue": [n[0] ||= (e) => m.value = e, _],
1321
+ density: "compact",
1322
+ "hide-details": "",
1323
+ items: h.value,
1324
+ readonly: e.readonly,
1325
+ "single-line": ""
1326
+ }, null, 8, [
1327
+ "modelValue",
1328
+ "items",
1329
+ "readonly"
1330
+ ]), [[
1331
+ d,
1332
+ void 0,
1333
+ void 0,
1334
+ { stop: !0 }
1335
+ ]]),
1336
+ g.value?.trait === "pixel" || g.value?.trait === "percent" ? I((C(), s(i, {
1337
+ key: 0,
1338
+ modelValue: v.value,
1339
+ "onUpdate:modelValue": n[1] ||= (e) => v.value = e,
1340
+ "control-variant": "stacked",
1341
+ density: "compact",
1342
+ "hide-details": "",
1343
+ max: g.value.max,
1344
+ min: g.value.min,
1345
+ precision: g.value.precision,
1346
+ readonly: e.readonly,
1347
+ "single-line": "",
1348
+ step: g.value.step,
1349
+ "onUpdate:focused": y
1350
+ }, null, 8, [
1351
+ "modelValue",
1352
+ "max",
1353
+ "min",
1354
+ "precision",
1355
+ "readonly",
1356
+ "step"
1357
+ ])), [[
1358
+ d,
1359
+ void 0,
1360
+ void 0,
1361
+ { stop: !0 }
1362
+ ]]) : c("", !0),
1363
+ g.value?.trait === "hexColor" ? (C(), s(wt, {
1364
+ key: 1,
1365
+ modelValue: b.value,
1366
+ "onUpdate:modelValue": n[2] ||= (e) => b.value = e
1367
+ }, null, 8, ["modelValue"])) : c("", !0),
1368
+ g.value?.trait === "themeColor" ? I((C(), s(r, {
1369
+ key: 2,
1370
+ modelValue: x.value,
1371
+ "onUpdate:modelValue": n[3] ||= (e) => x.value = e,
1372
+ density: "compact",
1373
+ "hide-details": "",
1374
+ items: S.value,
1375
+ "single-line": ""
1376
+ }, null, 8, ["modelValue", "items"])), [[
1377
+ d,
1378
+ void 0,
1379
+ void 0,
1380
+ { stop: !0 }
1381
+ ]]) : c("", !0)
1382
+ ]), e.hasDelete ? (C(), s(o, {
1339
1383
  key: 0,
1340
1384
  class: "mx-2",
1341
1385
  density: "compact",
1342
1386
  icon: "mdi-minus",
1343
1387
  variant: "text",
1344
- onClick: n[2] ||= L((e) => a("delete"), ["stop"])
1388
+ onClick: n[4] ||= R((e) => a("delete"), ["stop"])
1345
1389
  })) : c("", !0)]);
1346
1390
  };
1347
1391
  }
1348
- }), Rt = { class: "d-flex justify-space-between align-center" }, zt = /* @__PURE__ */ p({
1392
+ }), Vt = { class: "d-flex justify-space-between align-center" }, Ht = /* @__PURE__ */ p({
1349
1393
  __name: "index",
1350
1394
  props: /* @__PURE__ */ _({
1351
1395
  hasDelete: {
@@ -1366,9 +1410,9 @@ var ut = { class: "text-label-large ml-1" }, dt = { class: "text-body-small text
1366
1410
  }),
1367
1411
  emits: /* @__PURE__ */ _(["delete"], ["update:modelValue"]),
1368
1412
  setup(e, { emit: t }) {
1369
- let { isMobile: n } = H(), r = M(e, "modelValue"), i = t, a = async (t) => {
1413
+ let { isMobile: n } = W(), r = M(e, "modelValue"), i = t, a = async (t) => {
1370
1414
  if (!t || e.readonly || !n()) return;
1371
- let i = await pe({
1415
+ let i = await me({
1372
1416
  title: "",
1373
1417
  value: r.value,
1374
1418
  precision: e.precision,
@@ -1380,7 +1424,7 @@ var ut = { class: "text-label-large ml-1" }, dt = { class: "text-body-small text
1380
1424
  };
1381
1425
  return (t, n) => {
1382
1426
  let o = D("v-number-input"), u = D("v-btn"), d = O("ripple");
1383
- return C(), l("div", Rt, [I(f(o, {
1427
+ return C(), l("div", Vt, [I(f(o, {
1384
1428
  modelValue: r.value,
1385
1429
  "onUpdate:modelValue": n[0] ||= (e) => r.value = e,
1386
1430
  "control-variant": "stacked",
@@ -1411,11 +1455,11 @@ var ut = { class: "text-label-large ml-1" }, dt = { class: "text-body-small text
1411
1455
  density: "compact",
1412
1456
  icon: "mdi-minus",
1413
1457
  variant: "text",
1414
- onClick: n[1] ||= L((e) => i("delete"), ["stop"])
1458
+ onClick: n[1] ||= R((e) => i("delete"), ["stop"])
1415
1459
  })) : c("", !0)]);
1416
1460
  };
1417
1461
  }
1418
- }), Bt = { class: "d-flex justify-space-between align-center" }, Vt = /* @__PURE__ */ p({
1462
+ }), Ut = { class: "d-flex justify-space-between align-center" }, Wt = /* @__PURE__ */ p({
1419
1463
  __name: "index",
1420
1464
  props: /* @__PURE__ */ _({
1421
1465
  hasDelete: {
@@ -1433,7 +1477,7 @@ var ut = { class: "text-label-large ml-1" }, dt = { class: "text-body-small text
1433
1477
  }),
1434
1478
  emits: /* @__PURE__ */ _(["delete"], ["update:modelValue"]),
1435
1479
  setup(e, { emit: t }) {
1436
- let { t: n } = z(), r = M(e, "modelValue"), i = t, a = Q(), u = o(() => {
1480
+ let { t: n } = V(), r = M(e, "modelValue"), i = t, a = Ve(), u = o(() => {
1437
1481
  let t = [];
1438
1482
  return le[a.value].items[e.items].forEach(({ title: e, value: r }) => {
1439
1483
  t.push({
@@ -1444,7 +1488,7 @@ var ut = { class: "text-label-large ml-1" }, dt = { class: "text-body-small text
1444
1488
  });
1445
1489
  return (t, n) => {
1446
1490
  let a = D("v-select"), o = D("v-btn"), d = O("ripple");
1447
- return C(), l("div", Bt, [I(f(a, {
1491
+ return C(), l("div", Ut, [I(f(a, {
1448
1492
  modelValue: r.value,
1449
1493
  "onUpdate:modelValue": n[0] ||= (e) => r.value = e,
1450
1494
  density: "compact",
@@ -1467,11 +1511,11 @@ var ut = { class: "text-label-large ml-1" }, dt = { class: "text-body-small text
1467
1511
  density: "compact",
1468
1512
  icon: "mdi-minus",
1469
1513
  variant: "text",
1470
- onClick: n[1] ||= L((e) => i("delete"), ["stop"])
1514
+ onClick: n[1] ||= R((e) => i("delete"), ["stop"])
1471
1515
  })) : c("", !0)]);
1472
1516
  };
1473
1517
  }
1474
- }), Ht = { class: "text-body-large ml-6" }, Ut = /* @__PURE__ */ p({
1518
+ }), Gt = { class: "text-body-large ml-6" }, Kt = /* @__PURE__ */ p({
1475
1519
  __name: "item",
1476
1520
  props: {
1477
1521
  id: {},
@@ -1479,7 +1523,7 @@ var ut = { class: "text-label-large ml-1" }, dt = { class: "text-body-small text
1479
1523
  },
1480
1524
  emits: ["x-click"],
1481
1525
  setup(e, { emit: t }) {
1482
- let { backgroundColor2: n, highlightColor: r } = V(), i = t, a = T(!1), s = o(() => ({
1526
+ let { backgroundColor2: n, highlightColor: r } = U(), i = t, a = T(!1), s = o(() => ({
1483
1527
  background: a.value ? r.value : n.value,
1484
1528
  height: "48px",
1485
1529
  marginTop: "1px",
@@ -1493,13 +1537,13 @@ var ut = { class: "text-label-large ml-1" }, dt = { class: "text-body-small text
1493
1537
  onClick: n[0] ||= (t) => i("x-click", e.id),
1494
1538
  onMouseout: n[1] ||= (e) => a.value = !1,
1495
1539
  onMouseover: n[2] ||= (e) => a.value = !0
1496
- }, [u("span", Ht, k(e.title), 1)], 36)), [[r]]);
1540
+ }, [u("span", Gt, k(e.title), 1)], 36)), [[r]]);
1497
1541
  };
1498
1542
  }
1499
- }), Wt = { key: 0 }, Gt = {
1543
+ }), qt = { key: 0 }, Jt = {
1500
1544
  key: 1,
1501
1545
  class: "text-body-medium text-grey ml-3"
1502
- }, Kt = /* @__PURE__ */ p({
1546
+ }, Yt = /* @__PURE__ */ p({
1503
1547
  __name: "index",
1504
1548
  props: {
1505
1549
  modelValue: {},
@@ -1512,17 +1556,17 @@ var ut = { class: "text-label-large ml-1" }, dt = { class: "text-body-small text
1512
1556
  },
1513
1557
  emits: ["update:modelValue", "update:open"],
1514
1558
  setup(e) {
1515
- let { nameList: t } = H(), n = M(e, "modelValue"), r = M(e, "open"), i = tt(), o = (e) => {
1559
+ let { nameList: t } = W(), n = M(e, "modelValue"), r = M(e, "open"), i = it(), o = (e) => {
1516
1560
  n.value = e, r.value = !1;
1517
1561
  };
1518
- return (e, n) => A(i).length > 0 ? (C(), l("div", Wt, [(C(!0), l(a, null, E(A(i), (e) => (C(), s(Ut, {
1562
+ return (e, n) => A(i).length > 0 ? (C(), l("div", qt, [(C(!0), l(a, null, E(A(i), (e) => (C(), s(Kt, {
1519
1563
  key: e.id,
1520
1564
  id: e.id,
1521
1565
  title: e.name,
1522
1566
  onXClick: o
1523
- }, null, 8, ["id", "title"]))), 128))])) : (C(), l("div", Gt, k(A(t)(["x-prop-tree.no", "x-prop-tree.slot"])), 1));
1567
+ }, null, 8, ["id", "title"]))), 128))])) : (C(), l("div", Jt, k(A(t)(["x-prop-tree.no", "x-prop-tree.slot"])), 1));
1524
1568
  }
1525
- }), qt = { class: "text-body-large" }, Jt = /* @__PURE__ */ p({
1569
+ }), Xt = { class: "text-body-large" }, Zt = /* @__PURE__ */ p({
1526
1570
  __name: "index",
1527
1571
  props: /* @__PURE__ */ _({
1528
1572
  hasDelete: {
@@ -1539,7 +1583,7 @@ var ut = { class: "text-label-large ml-1" }, dt = { class: "text-body-small text
1539
1583
  }),
1540
1584
  emits: /* @__PURE__ */ _(["delete"], ["update:modelValue"]),
1541
1585
  setup(e, { emit: t }) {
1542
- let { t: n } = z(), r = ge(), { sysBarAvail: i, nameList: a } = H(), { backgroundColor1: l } = V(), p = M(e, "modelValue"), m = t, h = tt(), _ = o(() => {
1586
+ let { t: n } = V(), r = _e(), { sysBarAvail: i, nameList: a } = W(), { backgroundColor1: l } = U(), p = M(e, "modelValue"), m = t, h = it(), _ = o(() => {
1543
1587
  let e = "100%";
1544
1588
  return r.mdAndUp.value && (e = "400px"), {
1545
1589
  background: l.value,
@@ -1556,7 +1600,7 @@ var ut = { class: "text-label-large ml-1" }, dt = { class: "text-body-small text
1556
1600
  if (!p.value) return n("x-runtime-lib.notSet");
1557
1601
  let e = h.value.find((e) => e.id === p.value);
1558
1602
  return e ? e.name : n("x-runtime-lib.slotNotAvail");
1559
- }), { open: T } = U(`propTreeSlotSelectDlg${j()}`);
1603
+ }), { open: T } = G(`propTreeSlotSelectDlg${j()}`);
1560
1604
  return S(() => {
1561
1605
  T.value = !1;
1562
1606
  }), (t, n) => {
@@ -1568,7 +1612,7 @@ var ut = { class: "text-label-large ml-1" }, dt = { class: "text-body-small text
1568
1612
  "no-click-animation": "",
1569
1613
  persistent: "",
1570
1614
  transition: "scroll-x-reverse-transition",
1571
- onKeydown: n[7] ||= ne(L((e) => T.value = !1, ["stop", "prevent"]), ["esc"])
1615
+ onKeydown: n[7] ||= L(R((e) => T.value = !1, ["stop", "prevent"]), ["esc"])
1572
1616
  }, {
1573
1617
  activator: F(({ props: t }) => [f(r, v(t, {
1574
1618
  block: "",
@@ -1583,12 +1627,12 @@ var ut = { class: "text-label-large ml-1" }, dt = { class: "text-body-small text
1583
1627
  density: "compact",
1584
1628
  icon: "mdi-minus",
1585
1629
  variant: "text",
1586
- onClick: n[0] ||= L((e) => m("delete"), ["stop"])
1630
+ onClick: n[0] ||= R((e) => m("delete"), ["stop"])
1587
1631
  })) : c("", !0)]),
1588
1632
  default: F(() => [u("div", {
1589
1633
  class: "w-100 h-100 d-flex flex-row-reverse",
1590
- onClick: n[4] ||= L((e) => T.value = !1, ["self"]),
1591
- onContextmenu: n[5] ||= L((e) => T.value = !1, ["self", "prevent"])
1634
+ onClick: n[4] ||= R((e) => T.value = !1, ["self"]),
1635
+ onContextmenu: n[5] ||= R((e) => T.value = !1, ["self", "prevent"])
1592
1636
  }, [u("div", {
1593
1637
  class: "elevation-2",
1594
1638
  style: y(_.value)
@@ -1608,13 +1652,13 @@ var ut = { class: "text-label-large ml-1" }, dt = { class: "text-body-small text
1608
1652
  icon: "mdi-close",
1609
1653
  variant: "text",
1610
1654
  onClick: n[1] ||= (e) => T.value = !1
1611
- }), u("span", qt, k(A(a)(["x-prop-tree.select", "x-prop-tree.slot"])), 1)]),
1655
+ }), u("span", Xt, k(A(a)(["x-prop-tree.select", "x-prop-tree.slot"])), 1)]),
1612
1656
  _: 1
1613
1657
  }),
1614
1658
  u("div", {
1615
1659
  class: "overflow-y-auto",
1616
1660
  style: y(b.value)
1617
- }, [f(Kt, {
1661
+ }, [f(Yt, {
1618
1662
  modelValue: p.value,
1619
1663
  "onUpdate:modelValue": n[2] ||= (e) => p.value = e,
1620
1664
  open: A(T),
@@ -1625,7 +1669,7 @@ var ut = { class: "text-label-large ml-1" }, dt = { class: "text-body-small text
1625
1669
  }, 8, ["modelValue"]);
1626
1670
  };
1627
1671
  }
1628
- }), Yt = { class: "d-flex justify-space-between align-center" }, Xt = /* @__PURE__ */ p({
1672
+ }), Qt = { class: "d-flex justify-space-between align-center" }, $t = /* @__PURE__ */ p({
1629
1673
  __name: "index",
1630
1674
  props: /* @__PURE__ */ _({
1631
1675
  hasDelete: {
@@ -1642,9 +1686,9 @@ var ut = { class: "text-label-large ml-1" }, dt = { class: "text-body-small text
1642
1686
  }),
1643
1687
  emits: /* @__PURE__ */ _(["delete"], ["update:modelValue"]),
1644
1688
  setup(e, { emit: t }) {
1645
- let { isMobile: n } = H(), r = M(e, "modelValue"), i = t, a = async (t) => {
1689
+ let { isMobile: n } = W(), r = M(e, "modelValue"), i = t, a = async (t) => {
1646
1690
  if (!t || e.readonly || !n()) return;
1647
- let i = await me({
1691
+ let i = await he({
1648
1692
  title: "",
1649
1693
  value: r.value
1650
1694
  });
@@ -1652,7 +1696,7 @@ var ut = { class: "text-label-large ml-1" }, dt = { class: "text-body-small text
1652
1696
  };
1653
1697
  return (t, n) => {
1654
1698
  let o = D("v-text-field"), u = D("v-btn"), d = O("ripple");
1655
- return C(), l("div", Yt, [I(f(o, {
1699
+ return C(), l("div", Qt, [I(f(o, {
1656
1700
  modelValue: r.value,
1657
1701
  "onUpdate:modelValue": n[0] ||= (e) => r.value = e,
1658
1702
  density: "compact",
@@ -1671,11 +1715,11 @@ var ut = { class: "text-label-large ml-1" }, dt = { class: "text-body-small text
1671
1715
  density: "compact",
1672
1716
  icon: "mdi-minus",
1673
1717
  variant: "text",
1674
- onClick: n[1] ||= L((e) => i("delete"), ["stop"])
1718
+ onClick: n[1] ||= R((e) => i("delete"), ["stop"])
1675
1719
  })) : c("", !0)]);
1676
1720
  };
1677
1721
  }
1678
- }), Zt = { class: "d-flex justify-space-between align-center" }, Qt = /* @__PURE__ */ p({
1722
+ }), en = { class: "d-flex justify-space-between align-center" }, tn = /* @__PURE__ */ p({
1679
1723
  __name: "index",
1680
1724
  props: /* @__PURE__ */ _({
1681
1725
  hasDelete: {
@@ -1695,7 +1739,7 @@ var ut = { class: "text-label-large ml-1" }, dt = { class: "text-body-small text
1695
1739
  let n = M(e, "modelValue"), r = t;
1696
1740
  return (t, i) => {
1697
1741
  let a = D("v-switch"), o = D("v-btn");
1698
- return C(), l("div", Zt, [f(a, {
1742
+ return C(), l("div", en, [f(a, {
1699
1743
  modelValue: n.value,
1700
1744
  "onUpdate:modelValue": i[0] ||= (e) => n.value = e,
1701
1745
  class: "ml-1",
@@ -1709,21 +1753,21 @@ var ut = { class: "text-label-large ml-1" }, dt = { class: "text-body-small text
1709
1753
  density: "compact",
1710
1754
  icon: "mdi-minus",
1711
1755
  variant: "text",
1712
- onClick: i[1] ||= L((e) => r("delete"), ["stop"])
1756
+ onClick: i[1] ||= R((e) => r("delete"), ["stop"])
1713
1757
  })) : c("", !0)]);
1714
1758
  };
1715
1759
  }
1716
1760
  });
1717
1761
  //#endregion
1718
1762
  //#region src/composables/uis/uiAdaptSlotSelect.ts
1719
- function $t() {
1763
+ function nn() {
1720
1764
  let e = $();
1721
1765
  return { renderUiAdaptSlotSelect: (t, n, r, i, a) => {
1722
1766
  if (n.ui !== "selectAdaptSlot") throw Error("renderUiSlotSelect property ui must be selectAdaptSlot");
1723
- return m(yt, {
1724
- modelValue: J(t, n, r, i, a, e),
1767
+ return m(St, {
1768
+ modelValue: X(t, n, r, i, a, e),
1725
1769
  "onUpdate:modelValue": (o) => {
1726
- Y(t, n, r, o, i, a, e);
1770
+ Z(t, n, r, o, i, a, e);
1727
1771
  },
1728
1772
  hasDelete: i !== void 0 && !a,
1729
1773
  onDelete: () => {
@@ -1735,14 +1779,14 @@ function $t() {
1735
1779
  }
1736
1780
  //#endregion
1737
1781
  //#region src/composables/uis/uiColorPicker.ts
1738
- function en() {
1782
+ function rn() {
1739
1783
  let e = $();
1740
1784
  return { renderUiColorPicker: (t, n, r, i, a) => {
1741
1785
  if (n.ui !== "colorPicker") throw Error("renderUiColorPicker property ui must be colorPicker");
1742
- return m(xt, {
1743
- modelValue: J(t, n, r, i, a, e),
1786
+ return m(wt, {
1787
+ modelValue: X(t, n, r, i, a, e),
1744
1788
  "onUpdate:modelValue": (o) => {
1745
- Y(t, n, r, o, i, a, e);
1789
+ Z(t, n, r, o, i, a, e);
1746
1790
  },
1747
1791
  hasDelete: i !== void 0 && !a,
1748
1792
  onDelete: () => {
@@ -1754,14 +1798,14 @@ function en() {
1754
1798
  }
1755
1799
  //#endregion
1756
1800
  //#region src/composables/uis/uiCompSelect.ts
1757
- function tn() {
1801
+ function an() {
1758
1802
  let e = $();
1759
1803
  return { renderUiCompSelect: (t, n, r, i, a) => {
1760
1804
  if (n.ui !== "selectComp") throw Error("renderUiCompSelect property ui must be selectComp");
1761
- return m(jt, {
1762
- modelValue: J(t, n, r, i, a, e),
1805
+ return m(Pt, {
1806
+ modelValue: X(t, n, r, i, a, e),
1763
1807
  "onUpdate:modelValue": (o) => {
1764
- Y(t, n, r, o, i, a, e);
1808
+ Z(t, n, r, o, i, a, e);
1765
1809
  },
1766
1810
  hasDelete: i !== void 0 && !a,
1767
1811
  onDelete: () => {
@@ -1773,23 +1817,23 @@ function tn() {
1773
1817
  }
1774
1818
  //#endregion
1775
1819
  //#region src/composables/uis/uiDummy.ts
1776
- function nn() {
1820
+ function on() {
1777
1821
  let e = $();
1778
1822
  return { renderUiDummy: (t, n, r, i, a) => {
1779
1823
  if (n.ui !== "dummy") throw Error("renderUiDummy property ui must be dummy");
1780
- J(t, n, r, i, a, e);
1824
+ X(t, n, r, i, a, e);
1781
1825
  } };
1782
1826
  }
1783
1827
  //#endregion
1784
1828
  //#region src/composables/uis/uiJsonEditor.ts
1785
- function rn() {
1829
+ function sn() {
1786
1830
  let e = $();
1787
1831
  return { renderUiJsonEditor: (t, n, r, i, a) => {
1788
1832
  if (n.ui !== "jsonEditor") throw Error("renderUijsonEditor property ui must be jsonEditor");
1789
- return m(Pt, {
1790
- modelValue: J(t, n, r, i, a, e) ?? "{}",
1833
+ return m(Lt, {
1834
+ modelValue: X(t, n, r, i, a, e) ?? "{}",
1791
1835
  "onUpdate:modelValue": (o) => {
1792
- Y(t, n, r, o, i, a, e);
1836
+ Z(t, n, r, o, i, a, e);
1793
1837
  },
1794
1838
  hasDelete: i !== void 0 && !a,
1795
1839
  onDelete: () => {
@@ -1801,14 +1845,14 @@ function rn() {
1801
1845
  }
1802
1846
  //#endregion
1803
1847
  //#region src/composables/uis/uiMultiTypes.ts
1804
- function an() {
1848
+ function cn() {
1805
1849
  let e = $();
1806
1850
  return { renderUiMultiTypes: (t, n, r, i, a) => {
1807
1851
  if (n.ui !== "multiTypes") throw Error("renderUiMultiTypes property ui must be multiTypes");
1808
- return m(Lt, {
1809
- modelValue: J(t, n, r, i, a, e) ?? "",
1852
+ return m(Bt, {
1853
+ modelValue: X(t, n, r, i, a, e) ?? "",
1810
1854
  "onUpdate:modelValue": (o) => {
1811
- Y(t, n, r, o, i, a, e);
1855
+ Z(t, n, r, o, i, a, e);
1812
1856
  },
1813
1857
  hasDelete: i !== void 0 && !a,
1814
1858
  onDelete: () => {
@@ -1820,14 +1864,14 @@ function an() {
1820
1864
  }
1821
1865
  //#endregion
1822
1866
  //#region src/composables/uis/uiNumInput.ts
1823
- function on() {
1867
+ function ln() {
1824
1868
  let e = $();
1825
1869
  return { renderUiNumInput: (t, n, r, i, a) => {
1826
1870
  if (n.ui !== "numInput") throw Error("renderUiNumInput property ui must be numInput");
1827
- return m(zt, {
1828
- modelValue: J(t, n, r, i, a, e),
1871
+ return m(Ht, {
1872
+ modelValue: X(t, n, r, i, a, e),
1829
1873
  "onUpdate:modelValue": (o) => {
1830
- Y(t, n, r, o, i, a, e);
1874
+ Z(t, n, r, o, i, a, e);
1831
1875
  },
1832
1876
  hasDelete: i !== void 0 && !a,
1833
1877
  onDelete: () => {
@@ -1843,12 +1887,12 @@ function on() {
1843
1887
  }
1844
1888
  //#endregion
1845
1889
  //#region src/components/entry/index.vue
1846
- var sn = /* @__PURE__ */ p({
1890
+ var un = /* @__PURE__ */ p({
1847
1891
  __name: "index",
1848
1892
  props: { minHeight: {} },
1849
1893
  emits: ["menu"],
1850
1894
  setup(e, { emit: t }) {
1851
- let { backgroundColor2: n, highlightColor: r } = V(), i = t, a = T(!1), s = o(() => ({
1895
+ let { backgroundColor2: n, highlightColor: r } = U(), i = t, a = T(!1), s = o(() => ({
1852
1896
  background: a.value ? r.value : n.value,
1853
1897
  minHeight: e.minHeight,
1854
1898
  paddingRight: "4px",
@@ -1862,7 +1906,7 @@ var sn = /* @__PURE__ */ p({
1862
1906
  return I((C(), l("div", {
1863
1907
  class: "d-flex justify-space-between align-center cursor-pointer",
1864
1908
  style: y(s.value),
1865
- onContextmenu: L(c, ["self", "prevent"]),
1909
+ onContextmenu: R(c, ["self", "prevent"]),
1866
1910
  onMouseout: t[0] ||= (e) => a.value = !1,
1867
1911
  onMouseover: t[1] ||= (e) => a.value = !0
1868
1912
  }, [ee(e.$slots, "default")], 36)), [[n]]);
@@ -1871,14 +1915,14 @@ var sn = /* @__PURE__ */ p({
1871
1915
  });
1872
1916
  //#endregion
1873
1917
  //#region src/composables/uis/uiProperty.ts
1874
- function cn() {
1875
- let { t: e } = z(), t = Xe();
1918
+ function dn() {
1919
+ let { t: e } = V(), t = $e();
1876
1920
  return { renderProperty: (n, r, i) => {
1877
1921
  let a = n[n.length - 1], o = typeof a == "number" ? `[${a + 1}]` : e(r.name);
1878
- return Z(t.value, n) && (o += " *"), m(sn, {
1922
+ return Q(t.value, n) && (o += " *"), m(un, {
1879
1923
  minHeight: "56px",
1880
1924
  onMenu: (e, t) => {
1881
- B.emit("propTreeMenu", {
1925
+ H.emit("propTreeMenu", {
1882
1926
  x: e,
1883
1927
  y: t,
1884
1928
  keys: n
@@ -1895,14 +1939,14 @@ function cn() {
1895
1939
  }
1896
1940
  //#endregion
1897
1941
  //#region src/composables/uis/uiSelect.ts
1898
- function ln() {
1942
+ function fn() {
1899
1943
  let e = $();
1900
1944
  return { renderUiSelect: (t, n, r, i, a) => {
1901
1945
  if (n.ui !== "select") throw Error("renderUiSelect property ui must be select");
1902
- return m(Vt, {
1903
- modelValue: J(t, n, r, i, a, e) ?? "",
1946
+ return m(Wt, {
1947
+ modelValue: X(t, n, r, i, a, e) ?? "",
1904
1948
  "onUpdate:modelValue": (o) => {
1905
- Y(t, n, r, o, i, a, e);
1949
+ Z(t, n, r, o, i, a, e);
1906
1950
  },
1907
1951
  hasDelete: i !== void 0 && !a,
1908
1952
  onDelete: () => {
@@ -1915,14 +1959,14 @@ function ln() {
1915
1959
  }
1916
1960
  //#endregion
1917
1961
  //#region src/composables/uis/uiSlotSelect.ts
1918
- function un() {
1962
+ function pn() {
1919
1963
  let e = $();
1920
1964
  return { renderUiSlotSelect: (t, n, r, i, a) => {
1921
1965
  if (n.ui !== "selectSlot") throw Error("renderUiSlotSelect property ui must be selectSlot");
1922
- return m(Jt, {
1923
- modelValue: J(t, n, r, i, a, e),
1966
+ return m(Zt, {
1967
+ modelValue: X(t, n, r, i, a, e),
1924
1968
  "onUpdate:modelValue": (o) => {
1925
- Y(t, n, r, o, i, a, e);
1969
+ Z(t, n, r, o, i, a, e);
1926
1970
  },
1927
1971
  hasDelete: i !== void 0 && !a,
1928
1972
  onDelete: () => {
@@ -1934,14 +1978,14 @@ function un() {
1934
1978
  }
1935
1979
  //#endregion
1936
1980
  //#region src/composables/uis/uiStrInput.ts
1937
- function dn() {
1981
+ function mn() {
1938
1982
  let e = $();
1939
1983
  return { renderUiStrInput: (t, n, r, i, a) => {
1940
1984
  if (n.ui !== "strInput") throw Error("renderUiStrInput property ui must be strInput");
1941
- return m(Xt, {
1942
- modelValue: n.static ? n.value : J(t, n, r, i, a, e),
1985
+ return m($t, {
1986
+ modelValue: n.static ? n.value : X(t, n, r, i, a, e),
1943
1987
  "onUpdate:modelValue": (o) => {
1944
- n.static || Y(t, n, r, o, i, a, e);
1988
+ n.static || Z(t, n, r, o, i, a, e);
1945
1989
  },
1946
1990
  hasDelete: i !== void 0 && !a,
1947
1991
  onDelete: () => {
@@ -1953,14 +1997,14 @@ function dn() {
1953
1997
  }
1954
1998
  //#endregion
1955
1999
  //#region src/composables/uis/uiSwitch.ts
1956
- function fn() {
2000
+ function hn() {
1957
2001
  let e = $();
1958
2002
  return { renderUiSwitch: (t, n, r, i, a) => {
1959
2003
  if (n.ui !== "switch") throw Error("renderUiSwitch property ui must be switch");
1960
- return m(Qt, {
1961
- modelValue: J(t, n, r, i, a, e) ?? !1,
2004
+ return m(tn, {
2005
+ modelValue: X(t, n, r, i, a, e) ?? !1,
1962
2006
  "onUpdate:modelValue": (o) => {
1963
- Y(t, n, r, o, i, a, e);
2007
+ Z(t, n, r, o, i, a, e);
1964
2008
  },
1965
2009
  hasDelete: i !== void 0 && !a,
1966
2010
  onDelete: () => {
@@ -1972,25 +2016,25 @@ function fn() {
1972
2016
  }
1973
2017
  //#endregion
1974
2018
  //#region src/components/propTree/main.vue?vue&type=script&setup=true&lang.ts
1975
- var pn = "20px", mn = /* @__PURE__ */ p({
2019
+ var gn = "20px", _n = /* @__PURE__ */ p({
1976
2020
  __name: "main",
1977
2021
  setup(t) {
1978
- let { t: n } = z(), { backgroundColor1: r } = V(), i = We(), o = Ke(), s = Je(), c = Xe(), u = $();
1979
- ct(), lt(), st();
1980
- let { renderProperty: d } = cn(), { renderUiDummy: p } = nn(), { renderUiStrInput: h } = dn(), { renderUiNumInput: g } = on(), { renderUiSwitch: _ } = fn(), { renderUiSelect: v } = ln(), { renderUiColorPicker: y } = en(), { renderUiJsonEditor: b } = rn(), { renderUiMultiTypes: x } = an(), { renderUiCompSelect: S } = tn(), { renderUiSlotSelect: w } = un(), { renderUiAdaptSlotSelect: T } = $t(), E = (t, n, r, i, a, o) => (t = e(t), i === void 0 ? t.push(n.key) : (t.push(i), a && t.push(n.key)), n.ui ? n.array && !o ? O(t, n, r, i, a) : k(t, n, r, i, a) : n.array ? ee(t, n, r, i, a) : D(t, n, r, i, a)), ee = (e, t, r, i, a) => {
2022
+ let { t: n } = V(), { backgroundColor1: r } = U(), i = qe(), o = Ye(), s = Ze(), c = $e(), u = $();
2023
+ dt(), ft(), ut();
2024
+ let { renderProperty: d } = dn(), { renderUiDummy: p } = on(), { renderUiStrInput: h } = mn(), { renderUiNumInput: g } = ln(), { renderUiSwitch: _ } = hn(), { renderUiSelect: v } = fn(), { renderUiColorPicker: y } = rn(), { renderUiJsonEditor: b } = sn(), { renderUiMultiTypes: x } = cn(), { renderUiCompSelect: S } = an(), { renderUiSlotSelect: w } = pn(), { renderUiAdaptSlotSelect: T } = nn(), E = (t, n, r, i, a, o) => (t = e(t), i === void 0 ? t.push(n.key) : (t.push(i), a && t.push(n.key)), n.ui ? n.array && !o ? O(t, n, r, i, a) : k(t, n, r, i, a) : n.array ? ee(t, n, r, i, a) : D(t, n, r, i, a)), ee = (e, t, r, i, a) => {
1981
2025
  if (t.ui) throw Error("renderBranchArray property ui must be invalid");
1982
2026
  if (!t.array) throw Error("renderBranchArray property array must be valid");
1983
- let o = ve(e, t, r, i, a, u), l = n(t.name);
1984
- W(s, e) && Z(c.value, e) && (l += " *");
1985
- let d = m(ot, {
2027
+ let o = ye(e, t, r, i, a, u), l = n(t.name);
2028
+ K(s, e) && Q(c.value, e) && (l += " *");
2029
+ let d = m(lt, {
1986
2030
  title: l,
1987
- collapse: W(s, e),
2031
+ collapse: K(s, e),
1988
2032
  hasCreate: !0,
1989
2033
  onCollapse: (t) => {
1990
- G(s, e, t);
2034
+ q(s, e, t);
1991
2035
  },
1992
2036
  onMenu: (t, n) => {
1993
- B.emit("propTreeMenu", {
2037
+ H.emit("propTreeMenu", {
1994
2038
  x: t,
1995
2039
  y: n,
1996
2040
  keys: e
@@ -1999,21 +2043,21 @@ var pn = "20px", mn = /* @__PURE__ */ p({
1999
2043
  onCreate: () => {
2000
2044
  o.push({}), u(e, o);
2001
2045
  }
2002
- }), f = m("div", { style: { paddingLeft: pn } }, (() => {
2046
+ }), f = m("div", { style: { paddingLeft: gn } }, (() => {
2003
2047
  let n = [];
2004
2048
  for (let r = 0; r < o.length; r++) {
2005
2049
  let i = [...e, r], a = `[${r + 1}]`;
2006
- W(s, [...e, r]) && Z(c.value, i) && (a += " *");
2007
- let l = m(ot, {
2050
+ K(s, [...e, r]) && Q(c.value, i) && (a += " *");
2051
+ let l = m(lt, {
2008
2052
  title: a,
2009
- collapse: W(s, [...e, r]),
2053
+ collapse: K(s, [...e, r]),
2010
2054
  hasDelete: !0,
2011
2055
  index: r,
2012
2056
  onCollapse: (t) => {
2013
- G(s, [...e, r], t);
2057
+ q(s, [...e, r], t);
2014
2058
  },
2015
2059
  onMenu: (e, t) => {
2016
- B.emit("propTreeMenu", {
2060
+ H.emit("propTreeMenu", {
2017
2061
  x: e,
2018
2062
  y: t,
2019
2063
  keys: i
@@ -2024,33 +2068,33 @@ var pn = "20px", mn = /* @__PURE__ */ p({
2024
2068
  }
2025
2069
  });
2026
2070
  n.push(l);
2027
- let d = m("div", { style: { paddingLeft: pn } }, (() => {
2071
+ let d = m("div", { style: { paddingLeft: gn } }, (() => {
2028
2072
  let n = [];
2029
2073
  for (let i of t.children) n.push(E(e, i, o[r], r, !0));
2030
2074
  return n;
2031
2075
  })());
2032
- W(s, [...e, r]) || n.push(d);
2076
+ K(s, [...e, r]) || n.push(d);
2033
2077
  }
2034
2078
  return n;
2035
2079
  })());
2036
2080
  return m("div", { style: { marginTop: "1px" } }, (() => {
2037
2081
  let t = [];
2038
- return t.push(d), W(s, e) || t.push(f), t;
2082
+ return t.push(d), K(s, e) || t.push(f), t;
2039
2083
  })());
2040
2084
  }, D = (e, t, r, i, a) => {
2041
2085
  if (t.ui) throw Error("renderBranchScalar property ui must be invalid");
2042
2086
  if (t.array) throw Error("renderBranchScalar property array must be invalid");
2043
2087
  let o = n(t.name);
2044
- W(s, e) && Z(c.value, e) && (o += " *");
2045
- let l = m(ot, {
2088
+ K(s, e) && Q(c.value, e) && (o += " *");
2089
+ let l = m(lt, {
2046
2090
  title: o,
2047
- collapse: W(s, e),
2091
+ collapse: K(s, e),
2048
2092
  hasDelete: i !== void 0 && !a,
2049
2093
  onCollapse: (t) => {
2050
- G(s, e, t);
2094
+ q(s, e, t);
2051
2095
  },
2052
2096
  onMenu: (t, n) => {
2053
- B.emit("propTreeMenu", {
2097
+ H.emit("propTreeMenu", {
2054
2098
  x: t,
2055
2099
  y: n,
2056
2100
  keys: e
@@ -2059,45 +2103,45 @@ var pn = "20px", mn = /* @__PURE__ */ p({
2059
2103
  onDelete: () => {
2060
2104
  i === void 0 || a || (r.splice(i, 1), u(e.slice(0, -1), r));
2061
2105
  }
2062
- }), d = m("div", { style: { paddingLeft: pn } }, (() => {
2106
+ }), d = m("div", { style: { paddingLeft: gn } }, (() => {
2063
2107
  let n = [];
2064
2108
  for (let i of t.children) n.push(E(e, i, (typeof r[t.key] != "object" && (r[t.key] = {}, u(e, r[t.key])), r[t.key]), void 0, !1));
2065
2109
  return n;
2066
2110
  })());
2067
2111
  return m("div", { style: { marginTop: "1px" } }, (() => {
2068
2112
  let t = [];
2069
- return t.push(l), W(s, e) || t.push(d), t;
2113
+ return t.push(l), K(s, e) || t.push(d), t;
2070
2114
  })());
2071
2115
  }, O = (e, t, r, i, a) => {
2072
2116
  if (!t.ui) throw Error("renderLeafArray property ui must be valid");
2073
2117
  if (!t.array) throw Error("renderLeafArray property array must be valid");
2074
- let o = ve(e, t, r, i, a, u), l = n(t.name);
2075
- W(s, e) && Z(c.value, e) && (l += " *");
2076
- let d = m(ot, {
2118
+ let o = ye(e, t, r, i, a, u), l = n(t.name);
2119
+ K(s, e) && Q(c.value, e) && (l += " *");
2120
+ let d = m(lt, {
2077
2121
  title: l,
2078
- collapse: W(s, e),
2122
+ collapse: K(s, e),
2079
2123
  hasCreate: !0,
2080
2124
  onCollapse: (t) => {
2081
- G(s, e, t);
2125
+ q(s, e, t);
2082
2126
  },
2083
2127
  onMenu: (t, n) => {
2084
- B.emit("propTreeMenu", {
2128
+ H.emit("propTreeMenu", {
2085
2129
  x: t,
2086
2130
  y: n,
2087
2131
  keys: e
2088
2132
  });
2089
2133
  },
2090
2134
  onCreate: () => {
2091
- o.push(R(t)), u(e, o);
2135
+ o.push(z(t)), u(e, o);
2092
2136
  }
2093
- }), f = m("div", { style: { paddingLeft: pn } }, (() => {
2137
+ }), f = m("div", { style: { paddingLeft: gn } }, (() => {
2094
2138
  let n = [];
2095
2139
  for (let r = 0; r < o.length; r++) n.push(E(e, t, o, r, !1, !0));
2096
2140
  return n;
2097
2141
  })());
2098
2142
  return m("div", { style: { marginTop: "1px" } }, (() => {
2099
2143
  let t = [];
2100
- return t.push(d), W(s, e) || t.push(f), t;
2144
+ return t.push(d), K(s, e) || t.push(f), t;
2101
2145
  })());
2102
2146
  }, k = (e, t, n, r, i) => {
2103
2147
  if (!t.ui) throw Error("renderLeafScalar property ui must be valid");
@@ -2111,9 +2155,9 @@ var pn = "20px", mn = /* @__PURE__ */ p({
2111
2155
  if (i.value.length > 0 && o.value) for (let t of i.value) e.push(E([], t, o.value, void 0, !1));
2112
2156
  return e;
2113
2157
  })());
2114
- return (e, t) => (C(), l(a, null, [f(A), f(it)], 64));
2158
+ return (e, t) => (C(), l(a, null, [f(A), f(st)], 64));
2115
2159
  }
2116
- }), hn = /* @__PURE__ */ p({
2160
+ }), vn = /* @__PURE__ */ p({
2117
2161
  __name: "index",
2118
2162
  props: {
2119
2163
  config: {},
@@ -2125,25 +2169,25 @@ var pn = "20px", mn = /* @__PURE__ */ p({
2125
2169
  emits: ["change"],
2126
2170
  setup(e, { emit: t }) {
2127
2171
  let n = t, r = T([]);
2128
- Ue(r), P(() => {
2172
+ Ke(r), P(() => {
2129
2173
  r.value = e.config;
2130
2174
  });
2131
2175
  let i = T();
2132
- Ge(i), P(() => {
2176
+ Je(i), P(() => {
2133
2177
  i.value = e.object;
2134
2178
  });
2135
2179
  let a = T("");
2136
- Re(a), P(() => {
2180
+ Be(a), P(() => {
2137
2181
  a.value = e.version;
2138
2182
  });
2139
2183
  let o = T(e.type);
2140
- ze(o), P(() => {
2184
+ He(o), P(() => {
2141
2185
  o.value = e.type;
2142
2186
  });
2143
2187
  let c = T("");
2144
- Ve(c), P(() => {
2188
+ We(c), P(() => {
2145
2189
  c.value = e.subtype;
2146
- }), qe(T({
2190
+ }), Xe(T({
2147
2191
  collapse: !0,
2148
2192
  children: {}
2149
2193
  }));
@@ -2152,15 +2196,15 @@ var pn = "20px", mn = /* @__PURE__ */ p({
2152
2196
  warning: !1,
2153
2197
  children: {}
2154
2198
  });
2155
- return Ye(l), Ze((t, r) => {
2156
- Ee(l, e.config, e.object), n("change", t, r);
2199
+ return Qe(l), et((t, r) => {
2200
+ Oe(l, e.config, e.object), n("change", t, r);
2157
2201
  }), N([() => e.config, () => e.object], () => {
2158
- Ee(l, e.config, e.object);
2159
- }, { immediate: !0 }), (e, t) => (C(), s(mn));
2202
+ Oe(l, e.config, e.object);
2203
+ }, { immediate: !0 }), (e, t) => (C(), s(_n));
2160
2204
  }
2161
- }), gn = (e) => {
2162
- e.component("XPropTree", hn);
2163
- }, _n = (e, t, n) => {
2205
+ }), yn = (e) => {
2206
+ e.component("XPropTree", vn);
2207
+ }, bn = (e, t, n) => {
2164
2208
  let r = t.lastIndexOf("?"), i = e[r === -1 || r < t.lastIndexOf("/") ? t : t.slice(0, r)];
2165
2209
  return i ? typeof i == "function" ? i() : Promise.resolve(i) : new Promise((e, r) => {
2166
2210
  (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."))));
@@ -2168,14 +2212,14 @@ var pn = "20px", mn = /* @__PURE__ */ p({
2168
2212
  };
2169
2213
  //#endregion
2170
2214
  //#region src/i18n/index.ts
2171
- async function vn(e) {
2172
- return (await _n(/* @__PURE__ */ Object.assign({
2215
+ async function xn(e) {
2216
+ return (await bn(/* @__PURE__ */ Object.assign({
2173
2217
  "./locales/en/index.ts": () => import("./i18n-en.lvwojc1f.js").then((e) => e.t),
2174
2218
  "./locales/zhHans/index.ts": () => import("./i18n-zhHans.u8lopwp1.js").then((e) => e.t)
2175
2219
  }), `./locales/${e}/index.ts`, 4)).default;
2176
2220
  }
2177
2221
  //#endregion
2178
2222
  //#region src/index.ts
2179
- var yn = { install: gn };
2223
+ var Sn = { install: yn };
2180
2224
  //#endregion
2181
- export { yn as default, vn as loadLocaleMessagePropTree };
2225
+ export { Sn as default, xn as loadLocaleMessagePropTree };