x-prop-tree 0.8.1 → 0.8.4

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 +282 -293
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -1,11 +1,11 @@
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 z, getTag as ie, isHexColor as ae, isThemeColor as oe, makeSlotId as se, parsePercent as ce, parsePixel as le, pkgs as ue, themeColors as de } from "x-runtime-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, getItems as re, getPropertyDefault as z, getPropertyDefaultArray as ie, getTag as ae, getTypes as oe, isHexColor as se, isThemeColor as ce, makeSlotId as le, parsePercent as ue, parsePixel as de, pkgs as fe, themeColors as pe } from "x-runtime-lib";
4
4
  import { useI18n as B } from "vue-i18n";
5
- import { eventBus as V, globalObjects as fe, injectDark as pe, injectLocale as me, openNumberDlg as he, openPromptDlg as ge, useColor as H, useSystem as U, useViewStack as W } from "x-essential-lib";
6
- import { globalState as _e } from "x-state-lib";
7
- import { useDisplay as ve } from "vuetify";
8
- import { XBlockly as ye } from "x-block-lib";
5
+ import { eventBus as V, globalObjects as me, injectDark as he, injectLocale as ge, openNumberDlg as _e, openPromptDlg as ve, useColor as H, useSystem as U, useViewStack as W } from "x-essential-lib";
6
+ import { globalState as ye } from "x-state-lib";
7
+ import { useDisplay as be } from "vuetify";
8
+ import { XBlockly as xe } from "x-block-lib";
9
9
  //#region src/utils/collapseState.ts
10
10
  function G(e, t) {
11
11
  let n = e.value;
@@ -46,16 +46,16 @@ function J(e, t) {
46
46
  }
47
47
  return n;
48
48
  }
49
- function be(e, n, r, i, a, o) {
49
+ function Se(e, n, r, i, a, o) {
50
50
  if (i !== void 0 && !a) {
51
51
  if (!(r[i] instanceof Array)) {
52
- let a = z(n);
52
+ let a = ie(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 = z(n);
58
+ let i = ie(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];
@@ -64,13 +64,13 @@ function be(e, n, r, i, a, o) {
64
64
  function Y(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];
@@ -81,7 +81,7 @@ function X(e, t, n, r, i, a, o) {
81
81
  }
82
82
  //#endregion
83
83
  //#region src/utils/copyPaste.ts
84
- var xe = (e, t) => {
84
+ var Ce = (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 xe = (e, t) => {
90
90
  return !0;
91
91
  };
92
92
  return n(e, t);
93
- }, Se = [["basic", "id"], ["basic", "name"]];
94
- function Ce(e) {
95
- return Se.find((n) => t(e, n));
93
+ }, we = [["basic", "id"], ["basic", "name"]];
94
+ function Te(e) {
95
+ return we.find((n) => t(e, n));
96
96
  }
97
97
  function Z(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)), Ce(t) ? (i.change = !1, i.warning = !1, {
98
+ return t = e(t), a === void 0 ? t.push(n.key) : (t.push(a), o && t.push(n.key)), Te(t) ? (i.change = !1, i.warning = !1, {
99
99
  change: i.change,
100
100
  warning: i.warning
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);
101
+ }) : n.ui ? n.array && i.children ? Oe(t, n, r, i, a, o) : ke(n, r, i, a, o) : n.array ? Ee(t, n, r, i, a, o) : De(t, n, r, i, a, o);
102
102
  }
103
- function we(e, n, r, i, a, o) {
103
+ function Ee(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;
@@ -125,12 +125,12 @@ function we(e, n, r, i, a, o) {
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, z(n)), {
128
+ return i.change ||= !t(s, ie(n)), {
129
129
  change: i.change,
130
130
  warning: i.warning
131
131
  };
132
132
  }
133
- function Te(e, t, n, r, i, a) {
133
+ function De(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;
@@ -153,7 +153,7 @@ function Te(e, t, n, r, i, a) {
153
153
  warning: r.change
154
154
  };
155
155
  }
156
- function Ee(e, n, r, i, a, o) {
156
+ function Oe(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;
@@ -170,20 +170,20 @@ function Ee(e, n, r, i, a, o) {
170
170
  let { change: r, warning: a } = Z(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, z(n)), {
173
+ return i.change ||= !t(s, ie(n)), {
174
174
  change: i.change,
175
175
  warning: i.warning
176
176
  };
177
177
  }
178
- function De(e, n, r, i, a) {
178
+ function ke(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 Oe(e, t, n) {
186
+ function Ae(e, t, n) {
187
187
  if (t.length <= 0 || !n) {
188
188
  e.value = {
189
189
  change: !1,
@@ -217,79 +217,79 @@ function Q(e, t) {
217
217
  }
218
218
  //#endregion
219
219
  //#region src/utils/provideInject.ts
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) {
222
- w(ke, e);
223
- }
224
- function Ve() {
225
- return h(ke);
226
- }
220
+ var je = Symbol(), Me = Symbol(), Ne = Symbol(), Pe = Symbol(), Fe = Symbol(), Ie = Symbol(), Le = Symbol(), Re = Symbol(), ze = Symbol(), Be = Symbol(), Ve = Symbol();
227
221
  function He(e) {
228
- w(Ae, e);
229
- }
230
- function Ue() {
231
- return h(Ae);
232
- }
233
- function We(e) {
234
222
  w(je, e);
235
223
  }
236
- function Ge() {
224
+ function Ue() {
237
225
  return h(je);
238
226
  }
239
- function Ke(e) {
227
+ function We(e) {
240
228
  w(Me, e);
241
229
  }
242
- function qe() {
230
+ function Ge() {
243
231
  return h(Me);
244
232
  }
245
- function Je(e) {
233
+ function Ke(e) {
246
234
  w(Ne, e);
247
235
  }
248
- function Ye() {
236
+ function qe() {
249
237
  return h(Ne);
250
238
  }
251
- function Xe(e) {
239
+ function Je(e) {
252
240
  w(Pe, e);
253
241
  }
254
- function Ze() {
242
+ function Ye() {
255
243
  return h(Pe);
256
244
  }
257
- function Qe(e) {
245
+ function Xe(e) {
258
246
  w(Fe, e);
259
247
  }
260
- function $e() {
248
+ function Ze() {
261
249
  return h(Fe);
262
250
  }
263
- function et(e) {
251
+ function Qe(e) {
264
252
  w(Ie, e);
265
253
  }
266
- function $() {
254
+ function $e() {
267
255
  return h(Ie);
268
256
  }
269
- function tt(e) {
257
+ function et(e) {
270
258
  w(Le, e);
271
259
  }
272
- function nt() {
260
+ function tt() {
273
261
  return h(Le);
274
262
  }
275
- function rt(e) {
263
+ function nt(e) {
276
264
  w(Re, e);
277
265
  }
278
- function it() {
266
+ function $() {
279
267
  return h(Re);
280
268
  }
281
- function at(e) {
269
+ function rt(e) {
282
270
  w(ze, e);
283
271
  }
284
- function ot() {
272
+ function it() {
285
273
  return h(ze);
286
274
  }
275
+ function at(e) {
276
+ w(Be, e);
277
+ }
278
+ function ot() {
279
+ return h(Be);
280
+ }
281
+ function st(e) {
282
+ w(Ve, e);
283
+ }
284
+ function ct() {
285
+ return h(Ve);
286
+ }
287
287
  //#endregion
288
288
  //#region src/components/menu/index.vue
289
- var st = /* @__PURE__ */ p({
289
+ var lt = /* @__PURE__ */ p({
290
290
  __name: "index",
291
291
  setup(e) {
292
- let { t } = B(), n = qe(), r = Ye(), i = $e(), c = $(), u = T(0), p = T(0), m = T([]), h = o(() => [u.value, p.value]), _ = (e) => {
292
+ let { t } = B(), n = Ye(), r = Ze(), i = tt(), c = $(), u = T(0), p = T(0), m = T([]), h = o(() => [u.value, p.value]), _ = (e) => {
293
293
  !(m.value.length <= 0 || !Q(i.value, m.value)) && e.push({
294
294
  title: t("x-prop-tree.reset"),
295
295
  func: () => {
@@ -297,7 +297,7 @@ var st = /* @__PURE__ */ p({
297
297
  if (e) if (e.ui) {
298
298
  let t = J(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) {
@@ -307,19 +307,19 @@ var st = /* @__PURE__ */ p({
307
307
  if (typeof t == "string") {
308
308
  let t = J(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
312
  let t = J(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
319
  let t = J(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
  }
@@ -343,7 +343,7 @@ var st = /* @__PURE__ */ p({
343
343
  let { property: t } = JSON.parse(e);
344
344
  if (!t) return !1;
345
345
  let r = q(n.value, m.value);
346
- return r ? xe(t, r) : !1;
346
+ return r ? Ce(t, r) : !1;
347
347
  } catch (e) {
348
348
  console.error(e);
349
349
  }
@@ -395,7 +395,7 @@ var st = /* @__PURE__ */ p({
395
395
  }, 8, ["modelValue", "target"]);
396
396
  };
397
397
  }
398
- }), ct = { style: { pointerEvents: "none" } }, lt = /* @__PURE__ */ p({
398
+ }), ut = { style: { pointerEvents: "none" } }, dt = /* @__PURE__ */ p({
399
399
  __name: "index",
400
400
  props: {
401
401
  title: {},
@@ -433,7 +433,7 @@ var st = /* @__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 st = /* @__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", ct, k(e.title), 1),
444
+ u("span", ut, k(e.title), 1),
445
445
  f(o),
446
446
  e.hasCreate ? (C(), s(h, {
447
447
  key: 0,
@@ -449,7 +449,7 @@ var st = /* @__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 st = /* @__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 st = /* @__PURE__ */ p({
465
465
  });
466
466
  //#endregion
467
467
  //#region src/composables/adaptSlotList/index.ts
468
- function ut() {
469
- let e = Ve(), t = Ue(), n = Ge(), { i18n: a } = fe, o = T([]);
470
- at(o);
468
+ function ft() {
469
+ let e = Ue(), t = Ge(), n = qe(), { i18n: a } = me, o = T([]);
470
+ st(o);
471
471
  let s = () => {
472
472
  if (!e.value || !t.value || !n.value) return [];
473
- let s = ue[e.value];
473
+ let s = fe[e.value];
474
474
  if (!s) return console.assert(!1, `invalid version=${e.value}`), [];
475
- let c = ie(t.value, n.value), l = [];
475
+ let c = ae(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,9 +485,9 @@ function ut() {
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
- let r = se("elementSlot", n.key, e.key), o = `${a.global.t(n.name)} / ${a.global.t(e.name)}`;
490
+ let r = le("elementSlot", n.key, e.key), o = `${a.global.t(n.name)} / ${a.global.t(e.name)}`;
491
491
  l.push({
492
492
  id: r,
493
493
  type: 1,
@@ -498,7 +498,7 @@ function ut() {
498
498
  }
499
499
  }
500
500
  }
501
- let { activeApp: u, depends: d } = _e.app;
501
+ let { activeApp: u, depends: d } = ye.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({
@@ -513,7 +513,7 @@ function ut() {
513
513
  for (let e of u.comps) {
514
514
  let t = d[e.id];
515
515
  if (t && t.meta.slots) for (let n of t.meta.slots) {
516
- let t = se("customSlot", e.id, n.id), r = `${e.name} / ${n.name}`;
516
+ let t = le("customSlot", e.id, n.id), r = `${e.name} / ${n.name}`;
517
517
  l.push({
518
518
  id: t,
519
519
  type: 1,
@@ -547,11 +547,11 @@ function ut() {
547
547
  }
548
548
  //#endregion
549
549
  //#region src/composables/compList/index.ts
550
- function dt() {
550
+ function pt() {
551
551
  let e = T([]);
552
- tt(e);
552
+ rt(e);
553
553
  let t = () => {
554
- let { activeApp: t, depends: n } = _e.app, r = [];
554
+ let { activeApp: t, depends: n } = ye.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 dt() {
585
585
  }
586
586
  //#endregion
587
587
  //#region src/composables/slotList/index.ts
588
- function ft() {
588
+ function mt() {
589
589
  let e = T([]);
590
- rt(e);
590
+ at(e);
591
591
  let t = () => {
592
- let { activeObject: e, activeComp: t } = _e.app;
592
+ let { activeObject: e, activeComp: t } = ye.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 ft() {
614
614
  }
615
615
  //#endregion
616
616
  //#region src/components/values/adaptSlotSelect/adaptSlotList/group.vue?vue&type=script&setup=true&lang.ts
617
- var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text-grey ml-1" }, ht = /* @__PURE__ */ p({
617
+ var ht = { class: "text-label-large ml-1" }, gt = { class: "text-body-small text-grey ml-1" }, _t = /* @__PURE__ */ p({
618
618
  __name: "group",
619
619
  props: {
620
620
  id: {},
@@ -643,12 +643,12 @@ var pt = { class: "text-label-large ml-1" }, mt = { 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", pt, k(i.title), 1),
647
- u("span", mt, k(i.count), 1)
646
+ u("span", ht, k(i.title), 1),
647
+ u("span", gt, k(i.count), 1)
648
648
  ], 36)), [[r]]);
649
649
  };
650
650
  }
651
- }), gt = { class: "text-body-large ml-6" }, _t = /* @__PURE__ */ p({
651
+ }), vt = { class: "text-body-large ml-6" }, yt = /* @__PURE__ */ p({
652
652
  __name: "item",
653
653
  props: {
654
654
  id: {},
@@ -670,13 +670,13 @@ var pt = { class: "text-label-large ml-1" }, mt = { 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", gt, k(e.title), 1)], 36)), [[r]]);
673
+ }, [u("span", vt, k(e.title), 1)], 36)), [[r]]);
674
674
  };
675
675
  }
676
- }), vt = { key: 0 }, yt = {
676
+ }), bt = { key: 0 }, xt = {
677
677
  key: 1,
678
678
  class: "text-body-medium text-grey ml-3"
679
- }, bt = /* @__PURE__ */ p({
679
+ }, St = /* @__PURE__ */ p({
680
680
  __name: "index",
681
681
  props: {
682
682
  modelValue: {},
@@ -689,13 +689,13 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
689
689
  },
690
690
  emits: ["update:modelValue", "update:open"],
691
691
  setup(e) {
692
- let { nameList: t } = U(), i = M(e, "modelValue"), o = M(e, "open"), u = ot(), d = (e) => {
692
+ let { nameList: t } = U(), i = M(e, "modelValue"), o = M(e, "open"), u = ct(), 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", vt, [(C(!0), l(a, null, E(A(u), (e) => (C(), l(a, { key: e.id }, [e.type === 0 ? (C(), s(ht, {
698
+ return (e, n) => A(u).length > 0 ? (C(), l("div", bt, [(C(!0), l(a, null, E(A(u), (e) => (C(), l(a, { key: e.id }, [e.type === 0 ? (C(), s(_t, {
699
699
  key: 0,
700
700
  id: e.id,
701
701
  collapse: e.collapse,
@@ -707,18 +707,18 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
707
707
  "collapse",
708
708
  "count",
709
709
  "title"
710
- ])) : c("", !0), e.type === 1 && e.show ? (C(), s(_t, {
710
+ ])) : c("", !0), e.type === 1 && e.show ? (C(), s(yt, {
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", yt, k(A(t)([
715
+ }, null, 8, ["id", "title"])) : c("", !0)], 64))), 128))])) : (C(), l("div", xt, 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
- }), xt = { class: "text-body-large" }, St = /* @__PURE__ */ p({
721
+ }), Ct = { class: "text-body-large" }, wt = /* @__PURE__ */ p({
722
722
  __name: "index",
723
723
  props: /* @__PURE__ */ _({
724
724
  hasDelete: {
@@ -735,7 +735,7 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
735
735
  }),
736
736
  emits: /* @__PURE__ */ _(["delete"], ["update:modelValue"]),
737
737
  setup(e, { emit: t }) {
738
- let { t: n } = B(), i = ve(), { sysBarAvail: a, nameList: l } = U(), { backgroundColor1: p } = H(), m = M(e, "modelValue"), h = t, _ = ot(), b = o(() => {
738
+ let { t: n } = B(), i = be(), { sysBarAvail: a, nameList: l } = U(), { backgroundColor1: p } = H(), m = M(e, "modelValue"), h = t, _ = ct(), b = o(() => {
739
739
  let e = "100%";
740
740
  return i.mdAndUp.value && (e = "400px"), {
741
741
  background: p.value,
@@ -764,7 +764,7 @@ var pt = { class: "text-label-large ml-1" }, mt = { 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 pt = { class: "text-label-large ml-1" }, mt = { 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 pt = { class: "text-label-large ml-1" }, mt = { 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", xt, k(A(l)([
807
+ }), u("span", Ct, 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 pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
814
814
  u("div", {
815
815
  class: "overflow-y-auto",
816
816
  style: y(x.value)
817
- }, [f(bt, {
817
+ }, [f(St, {
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 pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
825
825
  }, 8, ["modelValue"]);
826
826
  };
827
827
  }
828
- }), Ct = { class: "d-flex justify-space-between align-center" }, wt = /* @__PURE__ */ p({
828
+ }), Tt = { class: "d-flex justify-space-between align-center" }, Et = /* @__PURE__ */ p({
829
829
  __name: "index",
830
830
  props: /* @__PURE__ */ _({
831
831
  hasDelete: {
@@ -856,7 +856,7 @@ var pt = { class: "text-label-large ml-1" }, mt = { 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", Ct, [u("div", {
859
+ activator: F(({ props: t }) => [u("div", Tt, [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 pt = { class: "text-label-large ml-1" }, mt = { 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 pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
886
886
  }, 8, ["modelValue"]);
887
887
  };
888
888
  }
889
- }), Tt = { class: "text-label-large ml-1" }, Et = { class: "text-body-small text-grey ml-1" }, Dt = /* @__PURE__ */ p({
889
+ }), Dt = { class: "text-label-large ml-1" }, Ot = { class: "text-body-small text-grey ml-1" }, kt = /* @__PURE__ */ p({
890
890
  __name: "group",
891
891
  props: {
892
892
  id: {},
@@ -915,12 +915,12 @@ var pt = { class: "text-label-large ml-1" }, mt = { 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", Tt, k(i.title), 1),
919
- u("span", Et, k(i.count), 1)
918
+ u("span", Dt, k(i.title), 1),
919
+ u("span", Ot, k(i.count), 1)
920
920
  ], 36)), [[r]]);
921
921
  };
922
922
  }
923
- }), Ot = { class: "text-body-large ml-6" }, kt = /* @__PURE__ */ p({
923
+ }), At = { class: "text-body-large ml-6" }, jt = /* @__PURE__ */ p({
924
924
  __name: "item",
925
925
  props: {
926
926
  id: {},
@@ -942,13 +942,13 @@ var pt = { class: "text-label-large ml-1" }, mt = { 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", Ot, k(i.title), 1)], 36)), [[n]]);
945
+ }, [u("span", At, k(i.title), 1)], 36)), [[n]]);
946
946
  };
947
947
  }
948
- }), At = { key: 0 }, jt = {
948
+ }), Mt = { key: 0 }, Nt = {
949
949
  key: 1,
950
950
  class: "text-body-medium text-grey ml-3"
951
- }, Mt = /* @__PURE__ */ p({
951
+ }, Pt = /* @__PURE__ */ p({
952
952
  __name: "index",
953
953
  props: {
954
954
  modelValue: {},
@@ -961,13 +961,13 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
961
961
  },
962
962
  emits: ["update:modelValue", "update:open"],
963
963
  setup(e) {
964
- let { nameList: t } = U(), i = M(e, "modelValue"), o = M(e, "open"), u = nt(), d = (e) => {
964
+ let { nameList: t } = U(), i = M(e, "modelValue"), o = M(e, "open"), u = it(), d = (e) => {
965
965
  let t = r(u, e);
966
966
  t && n(u, e, !t.collapse);
967
967
  }, f = (e) => {
968
968
  i.value = e, o.value = !1, V.emit("refreshDepends");
969
969
  };
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, {
970
+ 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, {
971
971
  key: 0,
972
972
  id: e.id,
973
973
  collapse: e.collapse,
@@ -979,14 +979,14 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
979
979
  "collapse",
980
980
  "count",
981
981
  "title"
982
- ])) : c("", !0), e.type === 1 && e.show ? (C(), s(kt, {
982
+ ])) : c("", !0), e.type === 1 && e.show ? (C(), s(jt, {
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", jt, k(A(t)(["x-prop-tree.no", "x-prop-tree.comp"])), 1));
987
+ }, null, 8, ["id", "title"])) : c("", !0)], 64))), 128))])) : (C(), l("div", Nt, k(A(t)(["x-prop-tree.no", "x-prop-tree.comp"])), 1));
988
988
  }
989
- }), Nt = { class: "text-body-large" }, Pt = /* @__PURE__ */ p({
989
+ }), Ft = { class: "text-body-large" }, It = /* @__PURE__ */ p({
990
990
  __name: "index",
991
991
  props: /* @__PURE__ */ _({
992
992
  hasDelete: {
@@ -1003,7 +1003,7 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
1003
1003
  }),
1004
1004
  emits: /* @__PURE__ */ _(["delete"], ["update:modelValue"]),
1005
1005
  setup(e, { emit: t }) {
1006
- let { t: n } = B(), i = ve(), { sysBarAvail: a, nameList: l } = U(), { backgroundColor1: p } = H(), m = M(e, "modelValue"), h = t, _ = nt(), b = o(() => {
1006
+ let { t: n } = B(), i = be(), { sysBarAvail: a, nameList: l } = U(), { backgroundColor1: p } = H(), m = M(e, "modelValue"), h = t, _ = it(), b = o(() => {
1007
1007
  let e = "100%";
1008
1008
  return i.mdAndUp.value && (e = "400px"), {
1009
1009
  background: p.value,
@@ -1032,7 +1032,7 @@ var pt = { class: "text-label-large ml-1" }, mt = { 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 pt = { class: "text-label-large ml-1" }, mt = { 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 pt = { class: "text-label-large ml-1" }, mt = { 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", Nt, k(A(l)(["x-prop-tree.select", "x-prop-tree.comp"])), 1)]),
1075
+ }), u("span", Ft, 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(Mt, {
1081
+ }, [f(Pt, {
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 pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
1089
1089
  }, 8, ["modelValue"]);
1090
1090
  };
1091
1091
  }
1092
- }), Ft = /* @__PURE__ */ p({
1092
+ }), Lt = /* @__PURE__ */ p({
1093
1093
  __name: "editor",
1094
1094
  props: {
1095
1095
  modelValue: { required: !0 },
@@ -1108,14 +1108,14 @@ var pt = { class: "text-label-large ml-1" }, mt = { 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 = pe(), o = me(), c = Ve(), l = te("target"), u = () => {
1111
+ let n = M(e, "modelValue"), r = M(e, "lock"), i = M(e, "scale"), a = he(), o = ge(), c = Ue(), 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(ye), {
1118
+ } }), (e, t) => (C(), s(A(xe), {
1119
1119
  ref_key: "target",
1120
1120
  ref: l,
1121
1121
  lock: r.value,
@@ -1135,7 +1135,7 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
1135
1135
  "version"
1136
1136
  ]));
1137
1137
  }
1138
- }), It = { class: "text-body-large" }, Lt = /* @__PURE__ */ p({
1138
+ }), Rt = { class: "text-body-large" }, zt = /* @__PURE__ */ p({
1139
1139
  __name: "index",
1140
1140
  props: /* @__PURE__ */ _({
1141
1141
  hasDelete: {
@@ -1176,7 +1176,7 @@ var pt = { class: "text-label-large ml-1" }, mt = { 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 pt = { class: "text-label-large ml-1" }, mt = { 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 pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
1216
1216
  variant: "text",
1217
1217
  onClick: n[1] ||= (e) => w.value = !1
1218
1218
  }),
1219
- u("span", It, k(x.value), 1),
1219
+ u("span", Rt, 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(Ft, {
1224
+ u("div", { style: y(b.value) }, [f(Lt, {
1225
1225
  ref_key: "editor",
1226
1226
  ref: E,
1227
1227
  modelValue: p.value,
@@ -1242,7 +1242,7 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
1242
1242
  }, 8, ["modelValue"]);
1243
1243
  };
1244
1244
  }
1245
- }), Rt = { class: "d-flex justify-space-between align-center my-2" }, zt = { class: "flex-grow-1" }, Bt = /* @__PURE__ */ p({
1245
+ }), Bt = { class: "d-flex justify-space-between align-center my-2" }, Vt = { class: "flex-grow-1" }, Ht = /* @__PURE__ */ p({
1246
1246
  __name: "index",
1247
1247
  props: /* @__PURE__ */ _({
1248
1248
  hasDelete: {
@@ -1260,67 +1260,67 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
1260
1260
  }),
1261
1261
  emits: /* @__PURE__ */ _(["delete"], ["update:modelValue"]),
1262
1262
  setup(e, { emit: t }) {
1263
- let { t: n } = B(), { isMobile: r } = U(), i = M(e, "modelValue"), a = t, d = Ve(), p = o(() => ue[d.value].types[e.types]), m = T(""), h = o(() => {
1263
+ let { t: n } = B(), { isMobile: r } = U(), i = M(e, "modelValue"), a = t, d = o(() => oe(e.types)), p = T(""), m = o(() => {
1264
1264
  let e = [];
1265
- for (let { value: t, title: r } of p.value) e.push({
1265
+ for (let { value: t, title: r } of d.value) e.push({
1266
1266
  value: t,
1267
1267
  title: n(r)
1268
1268
  });
1269
1269
  return e;
1270
1270
  });
1271
1271
  P(() => {
1272
- for (let { value: e, validator: t } of p.value) if (t(i.value)) {
1273
- m.value = e;
1272
+ for (let { value: e, validator: t } of d.value) if (t(i.value)) {
1273
+ p.value = e;
1274
1274
  return;
1275
1275
  }
1276
- m.value = "";
1276
+ p.value = "";
1277
1277
  });
1278
- let g = o(() => p.value.find((e) => e.value === m.value)), _ = () => {
1279
- i.value = g.value?.default;
1280
- }, v = T(0), y = async (e) => {
1281
- if (!e || !r() || !g.value || g.value.trait !== "pixel" && g.value.trait !== "percent") return;
1282
- let t = await he({
1278
+ let h = o(() => d.value.find((e) => e.value === p.value)), g = () => {
1279
+ i.value = h.value?.default;
1280
+ }, _ = T(0), v = async (e) => {
1281
+ if (!e || !r() || !h.value || h.value.trait !== "pixel" && h.value.trait !== "percent") return;
1282
+ let t = await _e({
1283
1283
  title: "",
1284
- value: v.value,
1285
- precision: g.value.precision,
1286
- min: g.value.min,
1287
- max: g.value.max,
1288
- step: g.value.step
1284
+ value: _.value,
1285
+ precision: h.value.precision,
1286
+ min: h.value.min,
1287
+ max: h.value.max,
1288
+ step: h.value.step
1289
1289
  });
1290
- t !== void 0 && (v.value = t);
1290
+ t !== void 0 && (_.value = t);
1291
1291
  };
1292
1292
  P(() => {
1293
- g.value?.trait === "pixel" ? v.value = le(i.value) : g.value?.trait === "percent" && (v.value = ce(i.value));
1294
- }), N(v, (e) => {
1295
- g.value?.trait === "pixel" ? i.value = e + "px" : g.value?.trait === "percent" && (i.value = e + "%");
1293
+ h.value?.trait === "pixel" ? _.value = de(i.value) : h.value?.trait === "percent" && (_.value = ue(i.value));
1294
+ }), N(_, (e) => {
1295
+ h.value?.trait === "pixel" ? i.value = e + "px" : h.value?.trait === "percent" && (i.value = e + "%");
1296
1296
  });
1297
- let b = T("#ff00ff");
1297
+ let y = T("#ff00ff");
1298
1298
  P(() => {
1299
- g.value?.trait === "hexColor" && ae(i.value) && (b.value = i.value);
1300
- }), N(b, (e) => {
1301
- g.value?.trait === "hexColor" && (i.value = e);
1299
+ h.value?.trait === "hexColor" && se(i.value) && (y.value = i.value);
1300
+ }), N(y, (e) => {
1301
+ h.value?.trait === "hexColor" && (i.value = e);
1302
1302
  });
1303
- let x = T("primary"), S = o(() => {
1303
+ let b = T("primary"), x = o(() => {
1304
1304
  let e = [];
1305
- if (g.value?.trait === "themeColor") for (let { value: t, title: r } of de) e.push({
1305
+ if (h.value?.trait === "themeColor") for (let { value: t, title: r } of pe) e.push({
1306
1306
  value: t,
1307
1307
  title: n(r)
1308
1308
  });
1309
1309
  return e;
1310
1310
  });
1311
1311
  return P(() => {
1312
- g.value?.trait === "themeColor" && oe(i.value) && (x.value = i.value);
1313
- }), N(x, (e) => {
1314
- g.value?.trait === "themeColor" && (i.value = e);
1312
+ h.value?.trait === "themeColor" && ce(i.value) && (b.value = i.value);
1313
+ }), N(b, (e) => {
1314
+ h.value?.trait === "themeColor" && (i.value = e);
1315
1315
  }), (t, n) => {
1316
- let r = D("v-select"), i = D("v-number-input"), o = D("v-color-input"), d = D("v-btn"), p = O("ripple");
1317
- return C(), l("div", Rt, [u("div", zt, [
1316
+ let r = D("v-select"), i = D("v-number-input"), o = D("v-btn"), d = O("ripple");
1317
+ return C(), l("div", Bt, [u("div", Vt, [
1318
1318
  I(f(r, {
1319
- modelValue: m.value,
1320
- "onUpdate:modelValue": [n[0] ||= (e) => m.value = e, _],
1319
+ modelValue: p.value,
1320
+ "onUpdate:modelValue": [n[0] ||= (e) => p.value = e, g],
1321
1321
  density: "compact",
1322
1322
  "hide-details": "",
1323
- items: h.value,
1323
+ items: m.value,
1324
1324
  readonly: e.readonly,
1325
1325
  "single-line": ""
1326
1326
  }, null, 8, [
@@ -1328,25 +1328,25 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
1328
1328
  "items",
1329
1329
  "readonly"
1330
1330
  ]), [[
1331
- p,
1331
+ d,
1332
1332
  void 0,
1333
1333
  void 0,
1334
1334
  { stop: !0 }
1335
1335
  ]]),
1336
- g.value?.trait === "pixel" || g.value?.trait === "percent" ? I((C(), s(i, {
1336
+ h.value?.trait === "pixel" || h.value?.trait === "percent" ? I((C(), s(i, {
1337
1337
  key: 0,
1338
- modelValue: v.value,
1339
- "onUpdate:modelValue": n[1] ||= (e) => v.value = e,
1338
+ modelValue: _.value,
1339
+ "onUpdate:modelValue": n[1] ||= (e) => _.value = e,
1340
1340
  "control-variant": "stacked",
1341
1341
  density: "compact",
1342
1342
  "hide-details": "",
1343
- max: g.value.max,
1344
- min: g.value.min,
1345
- precision: g.value.precision,
1343
+ max: h.value.max,
1344
+ min: h.value.min,
1345
+ precision: h.value.precision,
1346
1346
  readonly: e.readonly,
1347
1347
  "single-line": "",
1348
- step: g.value.step,
1349
- "onUpdate:focused": y
1348
+ step: h.value.step,
1349
+ "onUpdate:focused": v
1350
1350
  }, null, 8, [
1351
1351
  "modelValue",
1352
1352
  "max",
@@ -1355,52 +1355,41 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
1355
1355
  "readonly",
1356
1356
  "step"
1357
1357
  ])), [[
1358
- p,
1358
+ d,
1359
1359
  void 0,
1360
1360
  void 0,
1361
1361
  { stop: !0 }
1362
1362
  ]]) : c("", !0),
1363
- g.value?.trait === "hexColor" ? I((C(), s(o, {
1363
+ h.value?.trait === "hexColor" ? (C(), s(Et, {
1364
1364
  key: 1,
1365
- modelValue: b.value,
1366
- "onUpdate:modelValue": n[2] ||= (e) => b.value = e,
1367
- density: "compact",
1368
- "hide-details": "",
1369
- "hide-pip": "",
1370
- mode: "hexa",
1371
- "show-swatches": "",
1372
- "swatches-max-height": "150px"
1373
- }, null, 8, ["modelValue"])), [[
1374
- p,
1375
- void 0,
1376
- void 0,
1377
- { stop: !0 }
1378
- ]]) : c("", !0),
1379
- g.value?.trait === "themeColor" ? I((C(), s(r, {
1365
+ modelValue: y.value,
1366
+ "onUpdate:modelValue": n[2] ||= (e) => y.value = e
1367
+ }, null, 8, ["modelValue"])) : c("", !0),
1368
+ h.value?.trait === "themeColor" ? I((C(), s(r, {
1380
1369
  key: 2,
1381
- modelValue: x.value,
1382
- "onUpdate:modelValue": n[3] ||= (e) => x.value = e,
1383
- items: S.value,
1370
+ modelValue: b.value,
1371
+ "onUpdate:modelValue": n[3] ||= (e) => b.value = e,
1384
1372
  density: "compact",
1385
1373
  "hide-details": "",
1374
+ items: x.value,
1386
1375
  "single-line": ""
1387
1376
  }, null, 8, ["modelValue", "items"])), [[
1388
- p,
1377
+ d,
1389
1378
  void 0,
1390
1379
  void 0,
1391
1380
  { stop: !0 }
1392
1381
  ]]) : c("", !0)
1393
- ]), e.hasDelete ? (C(), s(d, {
1382
+ ]), e.hasDelete ? (C(), s(o, {
1394
1383
  key: 0,
1395
1384
  class: "mx-2",
1396
1385
  density: "compact",
1397
1386
  icon: "mdi-minus",
1398
1387
  variant: "text",
1399
- onClick: n[4] ||= L((e) => a("delete"), ["stop"])
1388
+ onClick: n[4] ||= R((e) => a("delete"), ["stop"])
1400
1389
  })) : c("", !0)]);
1401
1390
  };
1402
1391
  }
1403
- }), Vt = { class: "d-flex justify-space-between align-center" }, Ht = /* @__PURE__ */ p({
1392
+ }), Ut = { class: "d-flex justify-space-between align-center" }, Wt = /* @__PURE__ */ p({
1404
1393
  __name: "index",
1405
1394
  props: /* @__PURE__ */ _({
1406
1395
  hasDelete: {
@@ -1423,7 +1412,7 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
1423
1412
  setup(e, { emit: t }) {
1424
1413
  let { isMobile: n } = U(), r = M(e, "modelValue"), i = t, a = async (t) => {
1425
1414
  if (!t || e.readonly || !n()) return;
1426
- let i = await he({
1415
+ let i = await _e({
1427
1416
  title: "",
1428
1417
  value: r.value,
1429
1418
  precision: e.precision,
@@ -1435,7 +1424,7 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
1435
1424
  };
1436
1425
  return (t, n) => {
1437
1426
  let o = D("v-number-input"), u = D("v-btn"), d = O("ripple");
1438
- return C(), l("div", Vt, [I(f(o, {
1427
+ return C(), l("div", Ut, [I(f(o, {
1439
1428
  modelValue: r.value,
1440
1429
  "onUpdate:modelValue": n[0] ||= (e) => r.value = e,
1441
1430
  "control-variant": "stacked",
@@ -1466,11 +1455,11 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
1466
1455
  density: "compact",
1467
1456
  icon: "mdi-minus",
1468
1457
  variant: "text",
1469
- onClick: n[1] ||= L((e) => i("delete"), ["stop"])
1458
+ onClick: n[1] ||= R((e) => i("delete"), ["stop"])
1470
1459
  })) : c("", !0)]);
1471
1460
  };
1472
1461
  }
1473
- }), Ut = { class: "d-flex justify-space-between align-center" }, Wt = /* @__PURE__ */ p({
1462
+ }), Gt = { class: "d-flex justify-space-between align-center" }, Kt = /* @__PURE__ */ p({
1474
1463
  __name: "index",
1475
1464
  props: /* @__PURE__ */ _({
1476
1465
  hasDelete: {
@@ -1488,23 +1477,23 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
1488
1477
  }),
1489
1478
  emits: /* @__PURE__ */ _(["delete"], ["update:modelValue"]),
1490
1479
  setup(e, { emit: t }) {
1491
- let { t: n } = B(), r = M(e, "modelValue"), i = t, a = Ve(), u = o(() => {
1480
+ let { t: n } = B(), r = M(e, "modelValue"), i = t, a = o(() => {
1492
1481
  let t = [];
1493
- return ue[a.value].items[e.items].forEach(({ title: e, value: r }) => {
1482
+ return re(e.items)?.forEach(({ value: e, title: r }) => {
1494
1483
  t.push({
1495
- title: n(e),
1496
- value: r
1484
+ value: e,
1485
+ title: n(r)
1497
1486
  });
1498
1487
  }), t;
1499
1488
  });
1500
1489
  return (t, n) => {
1501
- let a = D("v-select"), o = D("v-btn"), d = O("ripple");
1502
- return C(), l("div", Ut, [I(f(a, {
1490
+ let o = D("v-select"), u = D("v-btn"), d = O("ripple");
1491
+ return C(), l("div", Gt, [I(f(o, {
1503
1492
  modelValue: r.value,
1504
1493
  "onUpdate:modelValue": n[0] ||= (e) => r.value = e,
1505
1494
  density: "compact",
1506
1495
  "hide-details": "",
1507
- items: u.value,
1496
+ items: a.value,
1508
1497
  readonly: e.readonly,
1509
1498
  "single-line": ""
1510
1499
  }, null, 8, [
@@ -1516,17 +1505,17 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
1516
1505
  void 0,
1517
1506
  void 0,
1518
1507
  { stop: !0 }
1519
- ]]), e.hasDelete ? (C(), s(o, {
1508
+ ]]), e.hasDelete ? (C(), s(u, {
1520
1509
  key: 0,
1521
1510
  class: "mx-2",
1522
1511
  density: "compact",
1523
1512
  icon: "mdi-minus",
1524
1513
  variant: "text",
1525
- onClick: n[1] ||= L((e) => i("delete"), ["stop"])
1514
+ onClick: n[1] ||= R((e) => i("delete"), ["stop"])
1526
1515
  })) : c("", !0)]);
1527
1516
  };
1528
1517
  }
1529
- }), Gt = { class: "text-body-large ml-6" }, Kt = /* @__PURE__ */ p({
1518
+ }), qt = { class: "text-body-large ml-6" }, Jt = /* @__PURE__ */ p({
1530
1519
  __name: "item",
1531
1520
  props: {
1532
1521
  id: {},
@@ -1548,13 +1537,13 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
1548
1537
  onClick: n[0] ||= (t) => i("x-click", e.id),
1549
1538
  onMouseout: n[1] ||= (e) => a.value = !1,
1550
1539
  onMouseover: n[2] ||= (e) => a.value = !0
1551
- }, [u("span", Gt, k(e.title), 1)], 36)), [[r]]);
1540
+ }, [u("span", qt, k(e.title), 1)], 36)), [[r]]);
1552
1541
  };
1553
1542
  }
1554
- }), qt = { key: 0 }, Jt = {
1543
+ }), Yt = { key: 0 }, Xt = {
1555
1544
  key: 1,
1556
1545
  class: "text-body-medium text-grey ml-3"
1557
- }, Yt = /* @__PURE__ */ p({
1546
+ }, Zt = /* @__PURE__ */ p({
1558
1547
  __name: "index",
1559
1548
  props: {
1560
1549
  modelValue: {},
@@ -1567,17 +1556,17 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
1567
1556
  },
1568
1557
  emits: ["update:modelValue", "update:open"],
1569
1558
  setup(e) {
1570
- let { nameList: t } = U(), n = M(e, "modelValue"), r = M(e, "open"), i = it(), o = (e) => {
1559
+ let { nameList: t } = U(), n = M(e, "modelValue"), r = M(e, "open"), i = ot(), o = (e) => {
1571
1560
  n.value = e, r.value = !1;
1572
1561
  };
1573
- return (e, n) => A(i).length > 0 ? (C(), l("div", qt, [(C(!0), l(a, null, E(A(i), (e) => (C(), s(Kt, {
1562
+ return (e, n) => A(i).length > 0 ? (C(), l("div", Yt, [(C(!0), l(a, null, E(A(i), (e) => (C(), s(Jt, {
1574
1563
  key: e.id,
1575
1564
  id: e.id,
1576
1565
  title: e.name,
1577
1566
  onXClick: o
1578
- }, null, 8, ["id", "title"]))), 128))])) : (C(), l("div", Jt, k(A(t)(["x-prop-tree.no", "x-prop-tree.slot"])), 1));
1567
+ }, null, 8, ["id", "title"]))), 128))])) : (C(), l("div", Xt, k(A(t)(["x-prop-tree.no", "x-prop-tree.slot"])), 1));
1579
1568
  }
1580
- }), Xt = { class: "text-body-large" }, Zt = /* @__PURE__ */ p({
1569
+ }), Qt = { class: "text-body-large" }, $t = /* @__PURE__ */ p({
1581
1570
  __name: "index",
1582
1571
  props: /* @__PURE__ */ _({
1583
1572
  hasDelete: {
@@ -1594,7 +1583,7 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
1594
1583
  }),
1595
1584
  emits: /* @__PURE__ */ _(["delete"], ["update:modelValue"]),
1596
1585
  setup(e, { emit: t }) {
1597
- let { t: n } = B(), r = ve(), { sysBarAvail: i, nameList: a } = U(), { backgroundColor1: l } = H(), p = M(e, "modelValue"), m = t, h = it(), _ = o(() => {
1586
+ let { t: n } = B(), r = be(), { sysBarAvail: i, nameList: a } = U(), { backgroundColor1: l } = H(), p = M(e, "modelValue"), m = t, h = ot(), _ = o(() => {
1598
1587
  let e = "100%";
1599
1588
  return r.mdAndUp.value && (e = "400px"), {
1600
1589
  background: l.value,
@@ -1623,7 +1612,7 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
1623
1612
  "no-click-animation": "",
1624
1613
  persistent: "",
1625
1614
  transition: "scroll-x-reverse-transition",
1626
- 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"])
1627
1616
  }, {
1628
1617
  activator: F(({ props: t }) => [f(r, v(t, {
1629
1618
  block: "",
@@ -1638,12 +1627,12 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
1638
1627
  density: "compact",
1639
1628
  icon: "mdi-minus",
1640
1629
  variant: "text",
1641
- onClick: n[0] ||= L((e) => m("delete"), ["stop"])
1630
+ onClick: n[0] ||= R((e) => m("delete"), ["stop"])
1642
1631
  })) : c("", !0)]),
1643
1632
  default: F(() => [u("div", {
1644
1633
  class: "w-100 h-100 d-flex flex-row-reverse",
1645
- onClick: n[4] ||= L((e) => T.value = !1, ["self"]),
1646
- 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"])
1647
1636
  }, [u("div", {
1648
1637
  class: "elevation-2",
1649
1638
  style: y(_.value)
@@ -1663,13 +1652,13 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
1663
1652
  icon: "mdi-close",
1664
1653
  variant: "text",
1665
1654
  onClick: n[1] ||= (e) => T.value = !1
1666
- }), u("span", Xt, k(A(a)(["x-prop-tree.select", "x-prop-tree.slot"])), 1)]),
1655
+ }), u("span", Qt, k(A(a)(["x-prop-tree.select", "x-prop-tree.slot"])), 1)]),
1667
1656
  _: 1
1668
1657
  }),
1669
1658
  u("div", {
1670
1659
  class: "overflow-y-auto",
1671
1660
  style: y(b.value)
1672
- }, [f(Yt, {
1661
+ }, [f(Zt, {
1673
1662
  modelValue: p.value,
1674
1663
  "onUpdate:modelValue": n[2] ||= (e) => p.value = e,
1675
1664
  open: A(T),
@@ -1680,7 +1669,7 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
1680
1669
  }, 8, ["modelValue"]);
1681
1670
  };
1682
1671
  }
1683
- }), Qt = { class: "d-flex justify-space-between align-center" }, $t = /* @__PURE__ */ p({
1672
+ }), en = { class: "d-flex justify-space-between align-center" }, tn = /* @__PURE__ */ p({
1684
1673
  __name: "index",
1685
1674
  props: /* @__PURE__ */ _({
1686
1675
  hasDelete: {
@@ -1699,7 +1688,7 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
1699
1688
  setup(e, { emit: t }) {
1700
1689
  let { isMobile: n } = U(), r = M(e, "modelValue"), i = t, a = async (t) => {
1701
1690
  if (!t || e.readonly || !n()) return;
1702
- let i = await ge({
1691
+ let i = await ve({
1703
1692
  title: "",
1704
1693
  value: r.value
1705
1694
  });
@@ -1707,7 +1696,7 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
1707
1696
  };
1708
1697
  return (t, n) => {
1709
1698
  let o = D("v-text-field"), u = D("v-btn"), d = O("ripple");
1710
- return C(), l("div", Qt, [I(f(o, {
1699
+ return C(), l("div", en, [I(f(o, {
1711
1700
  modelValue: r.value,
1712
1701
  "onUpdate:modelValue": n[0] ||= (e) => r.value = e,
1713
1702
  density: "compact",
@@ -1726,11 +1715,11 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
1726
1715
  density: "compact",
1727
1716
  icon: "mdi-minus",
1728
1717
  variant: "text",
1729
- onClick: n[1] ||= L((e) => i("delete"), ["stop"])
1718
+ onClick: n[1] ||= R((e) => i("delete"), ["stop"])
1730
1719
  })) : c("", !0)]);
1731
1720
  };
1732
1721
  }
1733
- }), en = { class: "d-flex justify-space-between align-center" }, tn = /* @__PURE__ */ p({
1722
+ }), nn = { class: "d-flex justify-space-between align-center" }, rn = /* @__PURE__ */ p({
1734
1723
  __name: "index",
1735
1724
  props: /* @__PURE__ */ _({
1736
1725
  hasDelete: {
@@ -1750,7 +1739,7 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
1750
1739
  let n = M(e, "modelValue"), r = t;
1751
1740
  return (t, i) => {
1752
1741
  let a = D("v-switch"), o = D("v-btn");
1753
- return C(), l("div", en, [f(a, {
1742
+ return C(), l("div", nn, [f(a, {
1754
1743
  modelValue: n.value,
1755
1744
  "onUpdate:modelValue": i[0] ||= (e) => n.value = e,
1756
1745
  class: "ml-1",
@@ -1764,18 +1753,18 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
1764
1753
  density: "compact",
1765
1754
  icon: "mdi-minus",
1766
1755
  variant: "text",
1767
- onClick: i[1] ||= L((e) => r("delete"), ["stop"])
1756
+ onClick: i[1] ||= R((e) => r("delete"), ["stop"])
1768
1757
  })) : c("", !0)]);
1769
1758
  };
1770
1759
  }
1771
1760
  });
1772
1761
  //#endregion
1773
1762
  //#region src/composables/uis/uiAdaptSlotSelect.ts
1774
- function nn() {
1763
+ function an() {
1775
1764
  let e = $();
1776
1765
  return { renderUiAdaptSlotSelect: (t, n, r, i, a) => {
1777
1766
  if (n.ui !== "selectAdaptSlot") throw Error("renderUiSlotSelect property ui must be selectAdaptSlot");
1778
- return m(St, {
1767
+ return m(wt, {
1779
1768
  modelValue: Y(t, n, r, i, a, e),
1780
1769
  "onUpdate:modelValue": (o) => {
1781
1770
  X(t, n, r, o, i, a, e);
@@ -1790,11 +1779,11 @@ function nn() {
1790
1779
  }
1791
1780
  //#endregion
1792
1781
  //#region src/composables/uis/uiColorPicker.ts
1793
- function rn() {
1782
+ function on() {
1794
1783
  let e = $();
1795
1784
  return { renderUiColorPicker: (t, n, r, i, a) => {
1796
1785
  if (n.ui !== "colorPicker") throw Error("renderUiColorPicker property ui must be colorPicker");
1797
- return m(wt, {
1786
+ return m(Et, {
1798
1787
  modelValue: Y(t, n, r, i, a, e),
1799
1788
  "onUpdate:modelValue": (o) => {
1800
1789
  X(t, n, r, o, i, a, e);
@@ -1809,11 +1798,11 @@ function rn() {
1809
1798
  }
1810
1799
  //#endregion
1811
1800
  //#region src/composables/uis/uiCompSelect.ts
1812
- function an() {
1801
+ function sn() {
1813
1802
  let e = $();
1814
1803
  return { renderUiCompSelect: (t, n, r, i, a) => {
1815
1804
  if (n.ui !== "selectComp") throw Error("renderUiCompSelect property ui must be selectComp");
1816
- return m(Pt, {
1805
+ return m(It, {
1817
1806
  modelValue: Y(t, n, r, i, a, e),
1818
1807
  "onUpdate:modelValue": (o) => {
1819
1808
  X(t, n, r, o, i, a, e);
@@ -1828,7 +1817,7 @@ function an() {
1828
1817
  }
1829
1818
  //#endregion
1830
1819
  //#region src/composables/uis/uiDummy.ts
1831
- function on() {
1820
+ function cn() {
1832
1821
  let e = $();
1833
1822
  return { renderUiDummy: (t, n, r, i, a) => {
1834
1823
  if (n.ui !== "dummy") throw Error("renderUiDummy property ui must be dummy");
@@ -1837,11 +1826,11 @@ function on() {
1837
1826
  }
1838
1827
  //#endregion
1839
1828
  //#region src/composables/uis/uiJsonEditor.ts
1840
- function sn() {
1829
+ function ln() {
1841
1830
  let e = $();
1842
1831
  return { renderUiJsonEditor: (t, n, r, i, a) => {
1843
1832
  if (n.ui !== "jsonEditor") throw Error("renderUijsonEditor property ui must be jsonEditor");
1844
- return m(Lt, {
1833
+ return m(zt, {
1845
1834
  modelValue: Y(t, n, r, i, a, e) ?? "{}",
1846
1835
  "onUpdate:modelValue": (o) => {
1847
1836
  X(t, n, r, o, i, a, e);
@@ -1856,11 +1845,11 @@ function sn() {
1856
1845
  }
1857
1846
  //#endregion
1858
1847
  //#region src/composables/uis/uiMultiTypes.ts
1859
- function cn() {
1848
+ function un() {
1860
1849
  let e = $();
1861
1850
  return { renderUiMultiTypes: (t, n, r, i, a) => {
1862
1851
  if (n.ui !== "multiTypes") throw Error("renderUiMultiTypes property ui must be multiTypes");
1863
- return m(Bt, {
1852
+ return m(Ht, {
1864
1853
  modelValue: Y(t, n, r, i, a, e) ?? "",
1865
1854
  "onUpdate:modelValue": (o) => {
1866
1855
  X(t, n, r, o, i, a, e);
@@ -1875,11 +1864,11 @@ function cn() {
1875
1864
  }
1876
1865
  //#endregion
1877
1866
  //#region src/composables/uis/uiNumInput.ts
1878
- function ln() {
1867
+ function dn() {
1879
1868
  let e = $();
1880
1869
  return { renderUiNumInput: (t, n, r, i, a) => {
1881
1870
  if (n.ui !== "numInput") throw Error("renderUiNumInput property ui must be numInput");
1882
- return m(Ht, {
1871
+ return m(Wt, {
1883
1872
  modelValue: Y(t, n, r, i, a, e),
1884
1873
  "onUpdate:modelValue": (o) => {
1885
1874
  X(t, n, r, o, i, a, e);
@@ -1898,7 +1887,7 @@ function ln() {
1898
1887
  }
1899
1888
  //#endregion
1900
1889
  //#region src/components/entry/index.vue
1901
- var un = /* @__PURE__ */ p({
1890
+ var fn = /* @__PURE__ */ p({
1902
1891
  __name: "index",
1903
1892
  props: { minHeight: {} },
1904
1893
  emits: ["menu"],
@@ -1917,7 +1906,7 @@ var un = /* @__PURE__ */ p({
1917
1906
  return I((C(), l("div", {
1918
1907
  class: "d-flex justify-space-between align-center cursor-pointer",
1919
1908
  style: y(s.value),
1920
- onContextmenu: L(c, ["self", "prevent"]),
1909
+ onContextmenu: R(c, ["self", "prevent"]),
1921
1910
  onMouseout: t[0] ||= (e) => a.value = !1,
1922
1911
  onMouseover: t[1] ||= (e) => a.value = !0
1923
1912
  }, [ee(e.$slots, "default")], 36)), [[n]]);
@@ -1926,11 +1915,11 @@ var un = /* @__PURE__ */ p({
1926
1915
  });
1927
1916
  //#endregion
1928
1917
  //#region src/composables/uis/uiProperty.ts
1929
- function dn() {
1930
- let { t: e } = B(), t = $e();
1918
+ function pn() {
1919
+ let { t: e } = B(), t = tt();
1931
1920
  return { renderProperty: (n, r, i) => {
1932
1921
  let a = n[n.length - 1], o = typeof a == "number" ? `[${a + 1}]` : e(r.name);
1933
- return Q(t.value, n) && (o += " *"), m(un, {
1922
+ return Q(t.value, n) && (o += " *"), m(fn, {
1934
1923
  minHeight: "56px",
1935
1924
  onMenu: (e, t) => {
1936
1925
  V.emit("propTreeMenu", {
@@ -1950,11 +1939,11 @@ function dn() {
1950
1939
  }
1951
1940
  //#endregion
1952
1941
  //#region src/composables/uis/uiSelect.ts
1953
- function fn() {
1942
+ function mn() {
1954
1943
  let e = $();
1955
1944
  return { renderUiSelect: (t, n, r, i, a) => {
1956
1945
  if (n.ui !== "select") throw Error("renderUiSelect property ui must be select");
1957
- return m(Wt, {
1946
+ return m(Kt, {
1958
1947
  modelValue: Y(t, n, r, i, a, e) ?? "",
1959
1948
  "onUpdate:modelValue": (o) => {
1960
1949
  X(t, n, r, o, i, a, e);
@@ -1970,11 +1959,11 @@ function fn() {
1970
1959
  }
1971
1960
  //#endregion
1972
1961
  //#region src/composables/uis/uiSlotSelect.ts
1973
- function pn() {
1962
+ function hn() {
1974
1963
  let e = $();
1975
1964
  return { renderUiSlotSelect: (t, n, r, i, a) => {
1976
1965
  if (n.ui !== "selectSlot") throw Error("renderUiSlotSelect property ui must be selectSlot");
1977
- return m(Zt, {
1966
+ return m($t, {
1978
1967
  modelValue: Y(t, n, r, i, a, e),
1979
1968
  "onUpdate:modelValue": (o) => {
1980
1969
  X(t, n, r, o, i, a, e);
@@ -1989,11 +1978,11 @@ function pn() {
1989
1978
  }
1990
1979
  //#endregion
1991
1980
  //#region src/composables/uis/uiStrInput.ts
1992
- function mn() {
1981
+ function gn() {
1993
1982
  let e = $();
1994
1983
  return { renderUiStrInput: (t, n, r, i, a) => {
1995
1984
  if (n.ui !== "strInput") throw Error("renderUiStrInput property ui must be strInput");
1996
- return m($t, {
1985
+ return m(tn, {
1997
1986
  modelValue: n.static ? n.value : Y(t, n, r, i, a, e),
1998
1987
  "onUpdate:modelValue": (o) => {
1999
1988
  n.static || X(t, n, r, o, i, a, e);
@@ -2008,11 +1997,11 @@ function mn() {
2008
1997
  }
2009
1998
  //#endregion
2010
1999
  //#region src/composables/uis/uiSwitch.ts
2011
- function hn() {
2000
+ function _n() {
2012
2001
  let e = $();
2013
2002
  return { renderUiSwitch: (t, n, r, i, a) => {
2014
2003
  if (n.ui !== "switch") throw Error("renderUiSwitch property ui must be switch");
2015
- return m(tn, {
2004
+ return m(rn, {
2016
2005
  modelValue: Y(t, n, r, i, a, e) ?? !1,
2017
2006
  "onUpdate:modelValue": (o) => {
2018
2007
  X(t, n, r, o, i, a, e);
@@ -2027,17 +2016,17 @@ function hn() {
2027
2016
  }
2028
2017
  //#endregion
2029
2018
  //#region src/components/propTree/main.vue?vue&type=script&setup=true&lang.ts
2030
- var gn = "20px", _n = /* @__PURE__ */ p({
2019
+ var vn = "20px", yn = /* @__PURE__ */ p({
2031
2020
  __name: "main",
2032
2021
  setup(t) {
2033
- let { t: n } = B(), { backgroundColor1: r } = H(), i = qe(), o = Ye(), s = Ze(), c = $e(), u = $();
2034
- dt(), ft(), ut();
2035
- 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) => {
2022
+ let { t: n } = B(), { backgroundColor1: r } = H(), i = Ye(), o = Ze(), s = $e(), c = tt(), u = $();
2023
+ pt(), mt(), ft();
2024
+ let { renderProperty: d } = pn(), { renderUiDummy: p } = cn(), { renderUiStrInput: h } = gn(), { renderUiNumInput: g } = dn(), { renderUiSwitch: _ } = _n(), { renderUiSelect: v } = mn(), { renderUiColorPicker: y } = on(), { renderUiJsonEditor: b } = ln(), { renderUiMultiTypes: x } = un(), { renderUiCompSelect: S } = sn(), { renderUiSlotSelect: w } = hn(), { renderUiAdaptSlotSelect: T } = an(), 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) => {
2036
2025
  if (t.ui) throw Error("renderBranchArray property ui must be invalid");
2037
2026
  if (!t.array) throw Error("renderBranchArray property array must be valid");
2038
- let o = be(e, t, r, i, a, u), l = n(t.name);
2027
+ let o = Se(e, t, r, i, a, u), l = n(t.name);
2039
2028
  G(s, e) && Q(c.value, e) && (l += " *");
2040
- let d = m(lt, {
2029
+ let d = m(dt, {
2041
2030
  title: l,
2042
2031
  collapse: G(s, e),
2043
2032
  hasCreate: !0,
@@ -2054,12 +2043,12 @@ var gn = "20px", _n = /* @__PURE__ */ p({
2054
2043
  onCreate: () => {
2055
2044
  o.push({}), u(e, o);
2056
2045
  }
2057
- }), f = m("div", { style: { paddingLeft: gn } }, (() => {
2046
+ }), f = m("div", { style: { paddingLeft: vn } }, (() => {
2058
2047
  let n = [];
2059
2048
  for (let r = 0; r < o.length; r++) {
2060
2049
  let i = [...e, r], a = `[${r + 1}]`;
2061
2050
  G(s, [...e, r]) && Q(c.value, i) && (a += " *");
2062
- let l = m(lt, {
2051
+ let l = m(dt, {
2063
2052
  title: a,
2064
2053
  collapse: G(s, [...e, r]),
2065
2054
  hasDelete: !0,
@@ -2079,7 +2068,7 @@ var gn = "20px", _n = /* @__PURE__ */ p({
2079
2068
  }
2080
2069
  });
2081
2070
  n.push(l);
2082
- let d = m("div", { style: { paddingLeft: gn } }, (() => {
2071
+ let d = m("div", { style: { paddingLeft: vn } }, (() => {
2083
2072
  let n = [];
2084
2073
  for (let i of t.children) n.push(E(e, i, o[r], r, !0));
2085
2074
  return n;
@@ -2097,7 +2086,7 @@ var gn = "20px", _n = /* @__PURE__ */ p({
2097
2086
  if (t.array) throw Error("renderBranchScalar property array must be invalid");
2098
2087
  let o = n(t.name);
2099
2088
  G(s, e) && Q(c.value, e) && (o += " *");
2100
- let l = m(lt, {
2089
+ let l = m(dt, {
2101
2090
  title: o,
2102
2091
  collapse: G(s, e),
2103
2092
  hasDelete: i !== void 0 && !a,
@@ -2114,7 +2103,7 @@ var gn = "20px", _n = /* @__PURE__ */ p({
2114
2103
  onDelete: () => {
2115
2104
  i === void 0 || a || (r.splice(i, 1), u(e.slice(0, -1), r));
2116
2105
  }
2117
- }), d = m("div", { style: { paddingLeft: gn } }, (() => {
2106
+ }), d = m("div", { style: { paddingLeft: vn } }, (() => {
2118
2107
  let n = [];
2119
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));
2120
2109
  return n;
@@ -2126,9 +2115,9 @@ var gn = "20px", _n = /* @__PURE__ */ p({
2126
2115
  }, O = (e, t, r, i, a) => {
2127
2116
  if (!t.ui) throw Error("renderLeafArray property ui must be valid");
2128
2117
  if (!t.array) throw Error("renderLeafArray property array must be valid");
2129
- let o = be(e, t, r, i, a, u), l = n(t.name);
2118
+ let o = Se(e, t, r, i, a, u), l = n(t.name);
2130
2119
  G(s, e) && Q(c.value, e) && (l += " *");
2131
- let d = m(lt, {
2120
+ let d = m(dt, {
2132
2121
  title: l,
2133
2122
  collapse: G(s, e),
2134
2123
  hasCreate: !0,
@@ -2143,9 +2132,9 @@ var gn = "20px", _n = /* @__PURE__ */ p({
2143
2132
  });
2144
2133
  },
2145
2134
  onCreate: () => {
2146
- o.push(R(t)), u(e, o);
2135
+ o.push(z(t)), u(e, o);
2147
2136
  }
2148
- }), f = m("div", { style: { paddingLeft: gn } }, (() => {
2137
+ }), f = m("div", { style: { paddingLeft: vn } }, (() => {
2149
2138
  let n = [];
2150
2139
  for (let r = 0; r < o.length; r++) n.push(E(e, t, o, r, !1, !0));
2151
2140
  return n;
@@ -2166,9 +2155,9 @@ var gn = "20px", _n = /* @__PURE__ */ p({
2166
2155
  if (i.value.length > 0 && o.value) for (let t of i.value) e.push(E([], t, o.value, void 0, !1));
2167
2156
  return e;
2168
2157
  })());
2169
- return (e, t) => (C(), l(a, null, [f(A), f(st)], 64));
2158
+ return (e, t) => (C(), l(a, null, [f(A), f(lt)], 64));
2170
2159
  }
2171
- }), vn = /* @__PURE__ */ p({
2160
+ }), bn = /* @__PURE__ */ p({
2172
2161
  __name: "index",
2173
2162
  props: {
2174
2163
  config: {},
@@ -2180,25 +2169,25 @@ var gn = "20px", _n = /* @__PURE__ */ p({
2180
2169
  emits: ["change"],
2181
2170
  setup(e, { emit: t }) {
2182
2171
  let n = t, r = T([]);
2183
- Ke(r), P(() => {
2172
+ Je(r), P(() => {
2184
2173
  r.value = e.config;
2185
2174
  });
2186
2175
  let i = T();
2187
- Je(i), P(() => {
2176
+ Xe(i), P(() => {
2188
2177
  i.value = e.object;
2189
2178
  });
2190
2179
  let a = T("");
2191
- Be(a), P(() => {
2180
+ He(a), P(() => {
2192
2181
  a.value = e.version;
2193
2182
  });
2194
2183
  let o = T(e.type);
2195
- He(o), P(() => {
2184
+ We(o), P(() => {
2196
2185
  o.value = e.type;
2197
2186
  });
2198
2187
  let c = T("");
2199
- We(c), P(() => {
2188
+ Ke(c), P(() => {
2200
2189
  c.value = e.subtype;
2201
- }), Xe(T({
2190
+ }), Qe(T({
2202
2191
  collapse: !0,
2203
2192
  children: {}
2204
2193
  }));
@@ -2207,15 +2196,15 @@ var gn = "20px", _n = /* @__PURE__ */ p({
2207
2196
  warning: !1,
2208
2197
  children: {}
2209
2198
  });
2210
- return Qe(l), et((t, r) => {
2211
- Oe(l, e.config, e.object), n("change", t, r);
2199
+ return et(l), nt((t, r) => {
2200
+ Ae(l, e.config, e.object), n("change", t, r);
2212
2201
  }), N([() => e.config, () => e.object], () => {
2213
- Oe(l, e.config, e.object);
2214
- }, { immediate: !0 }), (e, t) => (C(), s(_n));
2202
+ Ae(l, e.config, e.object);
2203
+ }, { immediate: !0 }), (e, t) => (C(), s(yn));
2215
2204
  }
2216
- }), yn = (e) => {
2217
- e.component("XPropTree", vn);
2218
- }, bn = (e, t, n) => {
2205
+ }), xn = (e) => {
2206
+ e.component("XPropTree", bn);
2207
+ }, Sn = (e, t, n) => {
2219
2208
  let r = t.lastIndexOf("?"), i = e[r === -1 || r < t.lastIndexOf("/") ? t : t.slice(0, r)];
2220
2209
  return i ? typeof i == "function" ? i() : Promise.resolve(i) : new Promise((e, r) => {
2221
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."))));
@@ -2223,14 +2212,14 @@ var gn = "20px", _n = /* @__PURE__ */ p({
2223
2212
  };
2224
2213
  //#endregion
2225
2214
  //#region src/i18n/index.ts
2226
- async function xn(e) {
2227
- return (await bn(/* @__PURE__ */ Object.assign({
2215
+ async function Cn(e) {
2216
+ return (await Sn(/* @__PURE__ */ Object.assign({
2228
2217
  "./locales/en/index.ts": () => import("./i18n-en.lvwojc1f.js").then((e) => e.t),
2229
2218
  "./locales/zhHans/index.ts": () => import("./i18n-zhHans.u8lopwp1.js").then((e) => e.t)
2230
2219
  }), `./locales/${e}/index.ts`, 4)).default;
2231
2220
  }
2232
2221
  //#endregion
2233
2222
  //#region src/index.ts
2234
- var Sn = { install: yn };
2223
+ var wn = { install: xn };
2235
2224
  //#endregion
2236
- export { Sn as default, xn as loadLocaleMessagePropTree };
2225
+ export { wn as default, Cn as loadLocaleMessagePropTree };