x-prop-tree 0.8.3 → 0.8.5

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 +410 -405
  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 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";
2
+ import { Fragment as a, computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createTextVNode as d, createVNode as f, defineComponent as p, h as m, inject as h, isRef as g, mergeModels as _, mergeProps as v, normalizeStyle as y, onBeforeUnmount as b, onMounted as x, onUnmounted as S, openBlock as C, provide as w, ref as T, renderList as E, renderSlot as D, resolveComponent as O, resolveDirective as k, toDisplayString as A, unref as j, useId as M, useModel as N, useTemplateRef as ee, watch as P, watchEffect as F, withCtx as I, withDirectives as L, withKeys as R, withModifiers as z } from "vue";
3
+ import { getElement as te, getItems as ne, getPropertyDefault as B, getPropertyDefaultArray as re, getTag as ie, getTypes as ae, isHexColor as oe, isThemeColor as se, makeSlotId as ce, parsePercent as le, parsePixel as ue, pkgs as de, themeColors as fe } from "x-runtime-lib";
4
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";
5
+ import { eventBus as H, globalObjects as pe, injectDark as me, injectLocale as he, openNumberDlg as ge, openPromptDlg as _e, useColor as U, useSystem as W, useViewStack as G } from "x-essential-lib";
6
+ import { globalState as ve } from "x-state-lib";
7
+ import { useDisplay as ye } from "vuetify";
8
+ import { XBlockly as be } from "x-block-lib";
9
9
  //#region src/utils/collapseState.ts
10
10
  function K(e, t) {
11
11
  let n = e.value;
@@ -46,16 +46,16 @@ function Y(e, t) {
46
46
  }
47
47
  return n;
48
48
  }
49
- function ye(e, n, r, i, a, o) {
49
+ function xe(e, n, r, i, a, o) {
50
50
  if (i !== void 0 && !a) {
51
51
  if (!(r[i] instanceof Array)) {
52
- let a = B(n);
52
+ let a = re(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 = B(n);
58
+ let i = re(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 ye(e, n, r, i, a, o) {
64
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 = z(n);
67
+ let a = B(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 = z(n);
73
+ let i = B(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 Z(e, t, n, r, i, a, o) {
81
81
  }
82
82
  //#endregion
83
83
  //#region src/utils/copyPaste.ts
84
- var be = (e, t) => {
84
+ var Se = (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,20 @@ var be = (e, t) => {
90
90
  return !0;
91
91
  };
92
92
  return n(e, t);
93
- }, xe = [["basic", "id"], ["basic", "name"]];
94
- function Se(e) {
95
- return xe.find((n) => t(e, n));
93
+ }, Ce = [["basic", "id"], ["basic", "name"]];
94
+ function we(e) {
95
+ return Ce.find((n) => t(e, n));
96
96
  }
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
- change: i.change,
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);
97
+ function Te(n, r, i, a, o, s) {
98
+ return t(n, ["runtime"]) ? {
99
+ change: !1,
100
+ warning: !1
101
+ } : (n = e(n), o === void 0 ? n.push(r.key) : (n.push(o), s && n.push(r.key)), we(n) ? (a.change = !1, a.warning = !1, {
102
+ change: a.change,
103
+ warning: a.warning
104
+ }) : r.ui ? r.array && a.children ? Oe(n, r, i, a, o, s) : ke(r, i, a, o, s) : r.array ? Ee(n, r, i, a, o, s) : De(n, r, i, a, o, s));
102
105
  }
103
- function we(e, n, r, i, a, o) {
106
+ function Ee(e, n, r, i, a, o) {
104
107
  if (n.ui) throw Error("execPropertyBranchArray property ui must be invalid");
105
108
  if (!n.array) throw Error("execPropertyBranchArray property array must be valid");
106
109
  let s;
@@ -121,16 +124,16 @@ function we(e, n, r, i, a, o) {
121
124
  warning: !1,
122
125
  children: {}
123
126
  };
124
- let { change: n, warning: o } = Ce(e, a, s[t], r.children[a.key], t, !0);
127
+ let { change: n, warning: o } = Te(e, a, s[t], r.children[a.key], t, !0);
125
128
  !r.change && n && (r.change = n), !r.change && o && (r.warning = o), !i.change && r.change && (i.change = r.change), !i.warning && r.warning && (i.warning = r.warning);
126
129
  }
127
130
  }
128
- return i.change ||= !t(s, B(n)), {
131
+ return i.change ||= !t(s, re(n)), {
129
132
  change: i.change,
130
133
  warning: i.warning
131
134
  };
132
135
  }
133
- function Te(e, t, n, r, i, a) {
136
+ function De(e, t, n, r, i, a) {
134
137
  if (t.ui) throw Error("execPropertyBranchScalar property ui must be invalid");
135
138
  if (t.array) throw Error("execPropertyBranchScalar property array must be invalid");
136
139
  let o;
@@ -145,7 +148,7 @@ function Te(e, t, n, r, i, a) {
145
148
  warning: !1,
146
149
  children: {}
147
150
  };
148
- let { change: a, warning: s } = Ce(e, i, o, r.children[i.key], void 0, !1);
151
+ let { change: a, warning: s } = Te(e, i, o, r.children[i.key], void 0, !1);
149
152
  !r.change && a && (r.change = a), !r.warning && s && (r.warning = s);
150
153
  }
151
154
  return {
@@ -153,7 +156,7 @@ function Te(e, t, n, r, i, a) {
153
156
  warning: r.change
154
157
  };
155
158
  }
156
- function Ee(e, n, r, i, a, o) {
159
+ function Oe(e, n, r, i, a, o) {
157
160
  if (!n.ui) throw Error("execPropertyLeafArray property ui must be valid");
158
161
  if (!n.array) throw Error("execPropertyLeafArray property aray must be valid");
159
162
  let s;
@@ -167,23 +170,23 @@ function Ee(e, n, r, i, a, o) {
167
170
  warning: !1,
168
171
  children: {}
169
172
  };
170
- let { change: r, warning: a } = Ce(e, n, s, i.children[t], t, !1);
173
+ let { change: r, warning: a } = Te(e, n, s, i.children[t], t, !1);
171
174
  !i.change && r && (i.change = r), !i.warning && a && (i.warning = a);
172
175
  }
173
- return i.change ||= !t(s, B(n)), {
176
+ return i.change ||= !t(s, re(n)), {
174
177
  change: i.change,
175
178
  warning: i.warning
176
179
  };
177
180
  }
178
- function De(e, n, r, i, a) {
181
+ function ke(e, n, r, i, a) {
179
182
  if (!e.ui) throw Error("execPropertyLeafScalar property ui must be valid");
180
183
  let o;
181
- return o = i !== void 0 && !a ? n[i] : n[e.key], r.change = !t(o, z(e)), {
184
+ return o = i !== void 0 && !a ? n[i] : n[e.key], r.change = !t(o, B(e)), {
182
185
  change: r.change,
183
186
  warning: r.warning
184
187
  };
185
188
  }
186
- function Oe(e, t, n) {
189
+ function Ae(e, t, n) {
187
190
  if (t.length <= 0 || !n) {
188
191
  e.value = {
189
192
  change: !1,
@@ -203,7 +206,7 @@ function Oe(e, t, n) {
203
206
  warning: !1,
204
207
  children: {}
205
208
  };
206
- r.children[e.key] = t, Ce([], e, n, t, void 0, !1);
209
+ r.children[e.key] = t, Te([], e, n, t, void 0, !1);
207
210
  }
208
211
  e.value = r;
209
212
  }
@@ -217,79 +220,79 @@ function Q(e, t) {
217
220
  }
218
221
  //#endregion
219
222
  //#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
- }
223
+ var je = Symbol(), Me = Symbol(), Ne = Symbol(), Pe = Symbol(), Fe = Symbol(), Ie = Symbol(), Le = Symbol(), Re = Symbol(), ze = Symbol(), Be = Symbol(), Ve = Symbol();
227
224
  function He(e) {
228
- w(Ae, e);
229
- }
230
- function Ue() {
231
- return h(Ae);
232
- }
233
- function We(e) {
234
225
  w(je, e);
235
226
  }
236
- function Ge() {
227
+ function Ue() {
237
228
  return h(je);
238
229
  }
239
- function Ke(e) {
230
+ function We(e) {
240
231
  w(Me, e);
241
232
  }
242
- function qe() {
233
+ function Ge() {
243
234
  return h(Me);
244
235
  }
245
- function Je(e) {
236
+ function Ke(e) {
246
237
  w(Ne, e);
247
238
  }
248
- function Ye() {
239
+ function qe() {
249
240
  return h(Ne);
250
241
  }
251
- function Xe(e) {
242
+ function Je(e) {
252
243
  w(Pe, e);
253
244
  }
254
- function Ze() {
245
+ function Ye() {
255
246
  return h(Pe);
256
247
  }
257
- function Qe(e) {
248
+ function Xe(e) {
258
249
  w(Fe, e);
259
250
  }
260
- function $e() {
251
+ function Ze() {
261
252
  return h(Fe);
262
253
  }
263
- function et(e) {
254
+ function Qe(e) {
264
255
  w(Ie, e);
265
256
  }
266
- function $() {
257
+ function $e() {
267
258
  return h(Ie);
268
259
  }
269
- function tt(e) {
260
+ function et(e) {
270
261
  w(Le, e);
271
262
  }
272
- function nt() {
263
+ function tt() {
273
264
  return h(Le);
274
265
  }
275
- function rt(e) {
266
+ function nt(e) {
276
267
  w(Re, e);
277
268
  }
278
- function it() {
269
+ function $() {
279
270
  return h(Re);
280
271
  }
281
- function at(e) {
272
+ function rt(e) {
282
273
  w(ze, e);
283
274
  }
284
- function ot() {
275
+ function it() {
285
276
  return h(ze);
286
277
  }
278
+ function at(e) {
279
+ w(Be, e);
280
+ }
281
+ function ot() {
282
+ return h(Be);
283
+ }
284
+ function st(e) {
285
+ w(Ve, e);
286
+ }
287
+ function ct() {
288
+ return h(Ve);
289
+ }
287
290
  //#endregion
288
291
  //#region src/components/menu/index.vue
289
- var st = /* @__PURE__ */ p({
292
+ var lt = /* @__PURE__ */ p({
290
293
  __name: "index",
291
294
  setup(e) {
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) => {
295
+ let { t } = V(), n = Ye(), r = Ze(), i = tt(), c = $(), u = T(0), p = T(0), m = T([]), h = o(() => [u.value, p.value]), _ = (e) => {
293
296
  !(m.value.length <= 0 || !Q(i.value, m.value)) && e.push({
294
297
  title: t("x-prop-tree.reset"),
295
298
  func: () => {
@@ -297,7 +300,7 @@ var st = /* @__PURE__ */ p({
297
300
  if (e) if (e.ui) {
298
301
  let t = Y(r.value, m.value.slice(0, -1));
299
302
  if (!t) return;
300
- t[m.value[m.value.length - 1]] = z(e), c(m.value, t[m.value[m.value.length - 1]]);
303
+ t[m.value[m.value.length - 1]] = B(e), c(m.value, t[m.value[m.value.length - 1]]);
301
304
  } else if (e.array) {
302
305
  let t = m.value[m.value.length - 1];
303
306
  if (t === void 0) {
@@ -307,19 +310,19 @@ var st = /* @__PURE__ */ p({
307
310
  if (typeof t == "string") {
308
311
  let t = Y(r.value, m.value.slice(0, -1));
309
312
  if (!t) return;
310
- t[m.value[m.value.length - 1]] = z(e), c(m.value, t[m.value[m.value.length - 1]]);
313
+ t[m.value[m.value.length - 1]] = B(e), c(m.value, t[m.value[m.value.length - 1]]);
311
314
  } else {
312
315
  let t = Y(r.value, m.value);
313
316
  if (!t) return;
314
317
  e.children.forEach((n) => {
315
- t[n.key] = z(e), c([...m.value, n.key], t[n.key]);
318
+ t[n.key] = B(e), c([...m.value, n.key], t[n.key]);
316
319
  });
317
320
  }
318
321
  } else {
319
322
  let t = Y(r.value, m.value);
320
323
  if (!t) return;
321
324
  e.children.forEach((n) => {
322
- t[n.key] = z(e), c([...m.value, n.key], t[n.key]);
325
+ t[n.key] = B(e), c([...m.value, n.key], t[n.key]);
323
326
  });
324
327
  }
325
328
  }
@@ -343,7 +346,7 @@ var st = /* @__PURE__ */ p({
343
346
  let { property: t } = JSON.parse(e);
344
347
  if (!t) return !1;
345
348
  let r = J(n.value, m.value);
346
- return r ? be(t, r) : !1;
349
+ return r ? Se(t, r) : !1;
347
350
  } catch (e) {
348
351
  console.error(e);
349
352
  }
@@ -369,22 +372,22 @@ var st = /* @__PURE__ */ p({
369
372
  u.value = e.x, p.value = e.y, m.value = e.keys;
370
373
  });
371
374
  return (e, t) => {
372
- let n = D("v-list-item-title"), r = D("v-list-item"), i = D("v-list"), o = D("v-menu");
375
+ let n = O("v-list-item-title"), r = O("v-list-item"), i = O("v-list"), o = O("v-menu");
373
376
  return C(), s(o, {
374
- modelValue: A(x),
377
+ modelValue: j(x),
375
378
  "onUpdate:modelValue": t[0] ||= (e) => g(x) ? x.value = e : null,
376
379
  "location-strategy": "connected",
377
380
  scrim: "transparent",
378
381
  target: h.value
379
382
  }, {
380
- default: F(() => [f(i, null, {
381
- default: F(() => [(C(!0), l(a, null, E(b.value, (e, t) => (C(), s(r, {
383
+ default: I(() => [f(i, null, {
384
+ default: I(() => [(C(!0), l(a, null, E(b.value, (e, t) => (C(), s(r, {
382
385
  key: t,
383
386
  link: "",
384
387
  onClick: e.func
385
388
  }, {
386
- default: F(() => [f(n, null, {
387
- default: F(() => [d(k(e.title), 1)]),
389
+ default: I(() => [f(n, null, {
390
+ default: I(() => [d(A(e.title), 1)]),
388
391
  _: 2
389
392
  }, 1024)]),
390
393
  _: 2
@@ -395,7 +398,7 @@ var st = /* @__PURE__ */ p({
395
398
  }, 8, ["modelValue", "target"]);
396
399
  };
397
400
  }
398
- }), ct = { style: { pointerEvents: "none" } }, lt = /* @__PURE__ */ p({
401
+ }), ut = { style: { pointerEvents: "none" } }, dt = /* @__PURE__ */ p({
399
402
  __name: "index",
400
403
  props: {
401
404
  title: {},
@@ -428,12 +431,12 @@ var st = /* @__PURE__ */ p({
428
431
  i("menu", e.clientX, e.clientY);
429
432
  };
430
433
  return (t, n) => {
431
- let r = D("v-icon"), o = D("v-spacer"), h = D("v-btn"), g = O("ripple");
432
- return I((C(), l("div", {
434
+ let r = O("v-icon"), o = O("v-spacer"), h = O("v-btn"), g = k("ripple");
435
+ return L((C(), l("div", {
433
436
  class: "d-flex align-center cursor-pointer",
434
437
  style: y(d.value),
435
438
  onClick: p,
436
- onContextmenu: R(m, ["self", "prevent"]),
439
+ onContextmenu: z(m, ["self", "prevent"]),
437
440
  onMouseout: n[2] ||= (e) => a.value = !1,
438
441
  onMouseover: n[3] ||= (e) => a.value = !0
439
442
  }, [
@@ -441,7 +444,7 @@ var st = /* @__PURE__ */ p({
441
444
  class: "mr-1",
442
445
  icon: e.collapse ? "mdi-chevron-right" : "mdi-chevron-down"
443
446
  }, null, 8, ["icon"]),
444
- u("span", ct, k(e.title), 1),
447
+ u("span", ut, A(e.title), 1),
445
448
  f(o),
446
449
  e.hasCreate ? (C(), s(h, {
447
450
  key: 0,
@@ -449,7 +452,7 @@ var st = /* @__PURE__ */ p({
449
452
  density: "compact",
450
453
  icon: "mdi-plus",
451
454
  variant: "text",
452
- onClick: n[0] ||= R((e) => i("create"), ["stop"])
455
+ onClick: n[0] ||= z((e) => i("create"), ["stop"])
453
456
  })) : c("", !0),
454
457
  e.hasDelete ? (C(), s(h, {
455
458
  key: 1,
@@ -457,7 +460,7 @@ var st = /* @__PURE__ */ p({
457
460
  density: "compact",
458
461
  icon: "mdi-minus",
459
462
  variant: "text",
460
- onClick: n[1] ||= R((t) => i("delete", e.index), ["stop"])
463
+ onClick: n[1] ||= z((t) => i("delete", e.index), ["stop"])
461
464
  })) : c("", !0)
462
465
  ], 36)), [[g]]);
463
466
  };
@@ -465,14 +468,14 @@ var st = /* @__PURE__ */ p({
465
468
  });
466
469
  //#endregion
467
470
  //#region src/composables/adaptSlotList/index.ts
468
- function ut() {
469
- let e = Ve(), t = Ue(), n = Ge(), { i18n: a } = de, o = T([]);
470
- at(o);
471
+ function ft() {
472
+ let e = Ue(), t = Ge(), n = qe(), { i18n: a } = pe, o = T([]);
473
+ st(o);
471
474
  let s = () => {
472
475
  if (!e.value || !t.value || !n.value) return [];
473
- let s = le[e.value];
476
+ let s = de[e.value];
474
477
  if (!s) return console.assert(!1, `invalid version=${e.value}`), [];
475
- let c = re(t.value, n.value), l = [];
478
+ let c = ie(t.value, n.value), l = [];
476
479
  for (let e = 0; e < s.groups[c].length; e++) {
477
480
  let t = s.groups[c][e], n = r(o, t.key);
478
481
  l.push({
@@ -485,9 +488,9 @@ function ut() {
485
488
  });
486
489
  let i = 0;
487
490
  for (let e of t.items) {
488
- let n = ne(e);
491
+ let n = te(e);
489
492
  if (n && !n.internal && n.slots) for (let e of n.slots) {
490
- let r = oe("elementSlot", n.key, e.key), o = `${a.global.t(n.name)} / ${a.global.t(e.name)}`;
493
+ let r = ce("elementSlot", n.key, e.key), o = `${a.global.t(n.name)} / ${a.global.t(e.name)}`;
491
494
  l.push({
492
495
  id: r,
493
496
  type: 1,
@@ -498,7 +501,7 @@ function ut() {
498
501
  }
499
502
  }
500
503
  }
501
- let { activeApp: u, depends: d } = ge.app;
504
+ let { activeApp: u, depends: d } = ve.app;
502
505
  for (let { id: e, name: t, position: n } of u.compGroups) {
503
506
  let i = r(o, e);
504
507
  l.push({
@@ -513,7 +516,7 @@ function ut() {
513
516
  for (let e of u.comps) {
514
517
  let t = d[e.id];
515
518
  if (t && t.meta.slots) for (let n of t.meta.slots) {
516
- let t = oe("customSlot", e.id, n.id), r = `${e.name} / ${n.name}`;
519
+ let t = ce("customSlot", e.id, n.id), r = `${e.name} / ${n.name}`;
517
520
  l.push({
518
521
  id: t,
519
522
  type: 1,
@@ -537,7 +540,7 @@ function ut() {
537
540
  u();
538
541
  }), b(() => {
539
542
  d();
540
- }), N([
543
+ }), P([
541
544
  e,
542
545
  t,
543
546
  n
@@ -547,11 +550,11 @@ function ut() {
547
550
  }
548
551
  //#endregion
549
552
  //#region src/composables/compList/index.ts
550
- function dt() {
553
+ function pt() {
551
554
  let e = T([]);
552
- tt(e);
555
+ rt(e);
553
556
  let t = () => {
554
- let { activeApp: t, depends: n } = ge.app, r = [];
557
+ let { activeApp: t, depends: n } = ve.app, r = [];
555
558
  for (let { id: n, name: i, position: a } of t.compGroups) {
556
559
  let t = e.value.find((e) => e.id === n);
557
560
  r.push({
@@ -585,11 +588,11 @@ function dt() {
585
588
  }
586
589
  //#endregion
587
590
  //#region src/composables/slotList/index.ts
588
- function ft() {
591
+ function mt() {
589
592
  let e = T([]);
590
- rt(e);
593
+ at(e);
591
594
  let t = () => {
592
- let { activeObject: e, activeComp: t } = ge.app;
595
+ let { activeObject: e, activeComp: t } = ve.app;
593
596
  if (e.type !== "comp" || !t.meta.slots) return [];
594
597
  let n = [];
595
598
  for (let { id: e, name: r } of t.meta.slots) n.push({
@@ -614,7 +617,7 @@ function ft() {
614
617
  }
615
618
  //#endregion
616
619
  //#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({
620
+ var ht = { class: "text-label-large ml-1" }, gt = { class: "text-body-small text-grey ml-1" }, _t = /* @__PURE__ */ p({
618
621
  __name: "group",
619
622
  props: {
620
623
  id: {},
@@ -631,8 +634,8 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
631
634
  userSelect: "none"
632
635
  }));
633
636
  return (e, t) => {
634
- let n = D("v-icon"), r = O("ripple");
635
- return I((C(), l("div", {
637
+ let n = O("v-icon"), r = k("ripple");
638
+ return L((C(), l("div", {
636
639
  class: "d-flex align-center cursor-pointer",
637
640
  style: y(c.value),
638
641
  onClick: t[0] ||= (e) => a("x-click", i.id),
@@ -643,12 +646,12 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
643
646
  icon: i.collapse ? "mdi-chevron-right" : "mdi-chevron-down",
644
647
  size: "small"
645
648
  }, null, 8, ["icon"]),
646
- u("span", pt, k(i.title), 1),
647
- u("span", mt, k(i.count), 1)
649
+ u("span", ht, A(i.title), 1),
650
+ u("span", gt, A(i.count), 1)
648
651
  ], 36)), [[r]]);
649
652
  };
650
653
  }
651
- }), gt = { class: "text-body-large ml-6" }, _t = /* @__PURE__ */ p({
654
+ }), vt = { class: "text-body-large ml-6" }, yt = /* @__PURE__ */ p({
652
655
  __name: "item",
653
656
  props: {
654
657
  id: {},
@@ -663,20 +666,20 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
663
666
  userSelect: "none"
664
667
  }));
665
668
  return (t, n) => {
666
- let r = O("ripple");
667
- return I((C(), l("div", {
669
+ let r = k("ripple");
670
+ return L((C(), l("div", {
668
671
  class: "d-flex align-center cursor-pointer",
669
672
  style: y(s.value),
670
673
  onClick: n[0] ||= (t) => i("x-click", e.id),
671
674
  onMouseout: n[1] ||= (e) => a.value = !1,
672
675
  onMouseover: n[2] ||= (e) => a.value = !0
673
- }, [u("span", gt, k(e.title), 1)], 36)), [[r]]);
676
+ }, [u("span", vt, A(e.title), 1)], 36)), [[r]]);
674
677
  };
675
678
  }
676
- }), vt = { key: 0 }, yt = {
679
+ }), bt = { key: 0 }, xt = {
677
680
  key: 1,
678
681
  class: "text-body-medium text-grey ml-3"
679
- }, bt = /* @__PURE__ */ p({
682
+ }, St = /* @__PURE__ */ p({
680
683
  __name: "index",
681
684
  props: {
682
685
  modelValue: {},
@@ -689,13 +692,13 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
689
692
  },
690
693
  emits: ["update:modelValue", "update:open"],
691
694
  setup(e) {
692
- let { nameList: t } = W(), i = M(e, "modelValue"), o = M(e, "open"), u = ot(), d = (e) => {
695
+ let { nameList: t } = W(), i = N(e, "modelValue"), o = N(e, "open"), u = ct(), d = (e) => {
693
696
  let t = r(u, e);
694
697
  t && n(u, e, !t.collapse);
695
698
  }, f = (e) => {
696
699
  i.value = e, o.value = !1;
697
700
  };
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, {
701
+ return (e, n) => j(u).length > 0 ? (C(), l("div", bt, [(C(!0), l(a, null, E(j(u), (e) => (C(), l(a, { key: e.id }, [e.type === 0 ? (C(), s(_t, {
699
702
  key: 0,
700
703
  id: e.id,
701
704
  collapse: e.collapse,
@@ -707,18 +710,18 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
707
710
  "collapse",
708
711
  "count",
709
712
  "title"
710
- ])) : c("", !0), e.type === 1 && e.show ? (C(), s(_t, {
713
+ ])) : c("", !0), e.type === 1 && e.show ? (C(), s(yt, {
711
714
  key: 1,
712
715
  id: e.id,
713
716
  title: e.name,
714
717
  onXClick: f
715
- }, null, 8, ["id", "title"])) : c("", !0)], 64))), 128))])) : (C(), l("div", yt, k(A(t)([
718
+ }, null, 8, ["id", "title"])) : c("", !0)], 64))), 128))])) : (C(), l("div", xt, A(j(t)([
716
719
  "x-prop-tree.no",
717
720
  "x-prop-tree.adapt",
718
721
  "x-prop-tree.slot"
719
722
  ])), 1));
720
723
  }
721
- }), xt = { class: "text-body-large" }, St = /* @__PURE__ */ p({
724
+ }), Ct = { class: "text-body-large" }, wt = /* @__PURE__ */ p({
722
725
  __name: "index",
723
726
  props: /* @__PURE__ */ _({
724
727
  hasDelete: {
@@ -735,7 +738,7 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
735
738
  }),
736
739
  emits: /* @__PURE__ */ _(["delete"], ["update:modelValue"]),
737
740
  setup(e, { emit: t }) {
738
- let { t: n } = V(), i = _e(), { sysBarAvail: a, nameList: l } = W(), { backgroundColor1: p } = U(), m = M(e, "modelValue"), h = t, _ = ot(), b = o(() => {
741
+ let { t: n } = V(), i = ye(), { sysBarAvail: a, nameList: l } = W(), { backgroundColor1: p } = U(), m = N(e, "modelValue"), h = t, _ = ct(), b = o(() => {
739
742
  let e = "100%";
740
743
  return i.mdAndUp.value && (e = "400px"), {
741
744
  background: p.value,
@@ -752,26 +755,26 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
752
755
  if (!m.value) return n("x-runtime-lib.notSet");
753
756
  let e = r(_, m.value);
754
757
  return e ? e.name : n("x-runtime-lib.slotNotAvail");
755
- }), { open: E } = G(`propTreeAdaptSlotSelectDlg${j()}`);
758
+ }), { open: E } = G(`propTreeAdaptSlotSelectDlg${M()}`);
756
759
  return S(() => {
757
760
  E.value = !1;
758
761
  }), (t, n) => {
759
- let r = D("v-btn"), i = D("v-sheet"), o = D("v-dialog");
762
+ let r = O("v-btn"), i = O("v-sheet"), o = O("v-dialog");
760
763
  return C(), s(o, {
761
- modelValue: A(E),
764
+ modelValue: j(E),
762
765
  "onUpdate:modelValue": n[6] ||= (e) => g(E) ? E.value = e : null,
763
766
  fullscreen: "",
764
767
  "no-click-animation": "",
765
768
  persistent: "",
766
769
  transition: "scroll-x-reverse-transition",
767
- onKeydown: n[7] ||= L(R((e) => E.value = !1, ["stop", "prevent"]), ["esc"])
770
+ onKeydown: n[7] ||= R(z((e) => E.value = !1, ["stop", "prevent"]), ["esc"])
768
771
  }, {
769
- activator: F(({ props: t }) => [f(r, v(t, {
772
+ activator: I(({ props: t }) => [f(r, v(t, {
770
773
  block: "",
771
774
  density: "comfortable",
772
775
  readonly: e.readonly
773
776
  }), {
774
- default: F(() => [d(k(T.value), 1)]),
777
+ default: I(() => [d(A(T.value), 1)]),
775
778
  _: 1
776
779
  }, 16, ["readonly"]), e.hasDelete ? (C(), s(r, {
777
780
  key: 0,
@@ -779,17 +782,17 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
779
782
  density: "compact",
780
783
  icon: "mdi-minus",
781
784
  variant: "text",
782
- onClick: n[0] ||= R((e) => h("delete"), ["stop"])
785
+ onClick: n[0] ||= z((e) => h("delete"), ["stop"])
783
786
  })) : c("", !0)]),
784
- default: F(() => [u("div", {
787
+ default: I(() => [u("div", {
785
788
  class: "w-100 h-100 d-flex flex-row-reverse",
786
- onClick: n[4] ||= R((e) => E.value = !1, ["self"]),
787
- onContextmenu: n[5] ||= R((e) => E.value = !1, ["self", "prevent"])
789
+ onClick: n[4] ||= z((e) => E.value = !1, ["self"]),
790
+ onContextmenu: n[5] ||= z((e) => E.value = !1, ["self", "prevent"])
788
791
  }, [u("div", {
789
792
  class: "elevation-2",
790
793
  style: y(b.value)
791
794
  }, [
792
- A(a) ? (C(), s(i, {
795
+ j(a) ? (C(), s(i, {
793
796
  key: 0,
794
797
  color: "transparent",
795
798
  height: 24
@@ -799,12 +802,12 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
799
802
  color: "transparent",
800
803
  height: 48
801
804
  }, {
802
- default: F(() => [f(r, {
805
+ default: I(() => [f(r, {
803
806
  density: "comfortable",
804
807
  icon: "mdi-close",
805
808
  variant: "text",
806
809
  onClick: n[1] ||= (e) => E.value = !1
807
- }), u("span", xt, k(A(l)([
810
+ }), u("span", Ct, A(j(l)([
808
811
  "x-prop-tree.select",
809
812
  "x-prop-tree.adapt",
810
813
  "x-prop-tree.slot"
@@ -814,10 +817,10 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
814
817
  u("div", {
815
818
  class: "overflow-y-auto",
816
819
  style: y(x.value)
817
- }, [f(bt, {
820
+ }, [f(St, {
818
821
  modelValue: m.value,
819
822
  "onUpdate:modelValue": n[2] ||= (e) => m.value = e,
820
- open: A(E),
823
+ open: j(E),
821
824
  "onUpdate:open": n[3] ||= (e) => g(E) ? E.value = e : null
822
825
  }, null, 8, ["modelValue", "open"]), u("div", { style: y(w.value) }, null, 4)], 4)
823
826
  ], 4)], 32)]),
@@ -825,7 +828,7 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
825
828
  }, 8, ["modelValue"]);
826
829
  };
827
830
  }
828
- }), Ct = { class: "d-flex justify-space-between align-center" }, wt = /* @__PURE__ */ p({
831
+ }), Tt = { class: "d-flex justify-space-between align-center" }, Et = /* @__PURE__ */ p({
829
832
  __name: "index",
830
833
  props: /* @__PURE__ */ _({
831
834
  hasDelete: {
@@ -842,21 +845,21 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
842
845
  }),
843
846
  emits: /* @__PURE__ */ _(["delete"], ["update:modelValue"]),
844
847
  setup(e, { emit: t }) {
845
- let { t: n } = V(), r = M(e, "modelValue"), i = t, a = o(() => {
848
+ let { t: n } = V(), r = N(e, "modelValue"), i = t, a = o(() => {
846
849
  let t = "100%";
847
850
  return e.hasDelete && (t = "calc(100% - 37px)"), { width: t };
848
- }), l = o(() => e.readonly), { open: p } = G(`propTreeColorPickerMenu${j()}`);
851
+ }), l = o(() => e.readonly), { open: p } = G(`propTreeColorPickerMenu${M()}`);
849
852
  return S(() => {
850
853
  p.value = !1;
851
854
  }), (t, o) => {
852
- let m = D("v-btn"), h = D("v-color-picker"), _ = D("v-menu");
855
+ let m = O("v-btn"), h = O("v-color-picker"), _ = O("v-menu");
853
856
  return C(), s(_, {
854
- modelValue: A(p),
857
+ modelValue: j(p),
855
858
  "onUpdate:modelValue": o[2] ||= (e) => g(p) ? p.value = e : null,
856
859
  "close-on-content-click": !1,
857
860
  scrim: "transparent"
858
861
  }, {
859
- activator: F(({ props: t }) => [u("div", Ct, [u("div", {
862
+ activator: I(({ props: t }) => [u("div", Tt, [u("div", {
860
863
  class: "flex-grow-1",
861
864
  style: y(a.value)
862
865
  }, [f(m, v(t, {
@@ -865,7 +868,7 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
865
868
  density: "comfortable",
866
869
  disabled: l.value
867
870
  }), {
868
- default: F(() => [d(k(r.value ? r.value : A(n)("x-runtime-lib.notSet")), 1)]),
871
+ default: I(() => [d(A(r.value ? r.value : j(n)("x-runtime-lib.notSet")), 1)]),
869
872
  _: 1
870
873
  }, 16, ["color", "disabled"])], 4), e.hasDelete ? (C(), s(m, {
871
874
  key: 0,
@@ -873,9 +876,9 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
873
876
  density: "compact",
874
877
  icon: "mdi-minus",
875
878
  variant: "text",
876
- onClick: o[0] ||= R((e) => i("delete"), ["stop"])
879
+ onClick: o[0] ||= z((e) => i("delete"), ["stop"])
877
880
  })) : c("", !0)])]),
878
- default: F(() => [f(h, {
881
+ default: I(() => [f(h, {
879
882
  modelValue: r.value,
880
883
  "onUpdate:modelValue": o[1] ||= (e) => r.value = e,
881
884
  mode: "hexa",
@@ -886,7 +889,7 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
886
889
  }, 8, ["modelValue"]);
887
890
  };
888
891
  }
889
- }), Tt = { class: "text-label-large ml-1" }, Et = { class: "text-body-small text-grey ml-1" }, Dt = /* @__PURE__ */ p({
892
+ }), Dt = { class: "text-label-large ml-1" }, Ot = { class: "text-body-small text-grey ml-1" }, kt = /* @__PURE__ */ p({
890
893
  __name: "group",
891
894
  props: {
892
895
  id: {},
@@ -903,8 +906,8 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
903
906
  userSelect: "none"
904
907
  }));
905
908
  return (e, t) => {
906
- let n = D("v-icon"), r = O("ripple");
907
- return I((C(), l("div", {
909
+ let n = O("v-icon"), r = k("ripple");
910
+ return L((C(), l("div", {
908
911
  class: "d-flex align-center cursor-pointer",
909
912
  style: y(c.value),
910
913
  onClick: t[0] ||= (e) => a("x-click", i.id),
@@ -915,12 +918,12 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
915
918
  icon: i.collapse ? "mdi-chevron-right" : "mdi-chevron-down",
916
919
  size: "small"
917
920
  }, null, 8, ["icon"]),
918
- u("span", Tt, k(i.title), 1),
919
- u("span", Et, k(i.count), 1)
921
+ u("span", Dt, A(i.title), 1),
922
+ u("span", Ot, A(i.count), 1)
920
923
  ], 36)), [[r]]);
921
924
  };
922
925
  }
923
- }), Ot = { class: "text-body-large ml-6" }, kt = /* @__PURE__ */ p({
926
+ }), At = { class: "text-body-large ml-6" }, jt = /* @__PURE__ */ p({
924
927
  __name: "item",
925
928
  props: {
926
929
  id: {},
@@ -935,20 +938,20 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
935
938
  userSelect: "none"
936
939
  }));
937
940
  return (e, t) => {
938
- let n = O("ripple");
939
- return I((C(), l("div", {
941
+ let n = k("ripple");
942
+ return L((C(), l("div", {
940
943
  class: "d-flex align-center cursor-pointer",
941
944
  style: y(c.value),
942
945
  onClick: t[0] ||= (e) => a("x-click", i.id),
943
946
  onMouseout: t[1] ||= (e) => s.value = !1,
944
947
  onMouseover: t[2] ||= (e) => s.value = !0
945
- }, [u("span", Ot, k(i.title), 1)], 36)), [[n]]);
948
+ }, [u("span", At, A(i.title), 1)], 36)), [[n]]);
946
949
  };
947
950
  }
948
- }), At = { key: 0 }, jt = {
951
+ }), Mt = { key: 0 }, Nt = {
949
952
  key: 1,
950
953
  class: "text-body-medium text-grey ml-3"
951
- }, Mt = /* @__PURE__ */ p({
954
+ }, Pt = /* @__PURE__ */ p({
952
955
  __name: "index",
953
956
  props: {
954
957
  modelValue: {},
@@ -961,13 +964,13 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
961
964
  },
962
965
  emits: ["update:modelValue", "update:open"],
963
966
  setup(e) {
964
- let { nameList: t } = W(), i = M(e, "modelValue"), o = M(e, "open"), u = nt(), d = (e) => {
967
+ let { nameList: t } = W(), i = N(e, "modelValue"), o = N(e, "open"), u = it(), d = (e) => {
965
968
  let t = r(u, e);
966
969
  t && n(u, e, !t.collapse);
967
970
  }, f = (e) => {
968
971
  i.value = e, o.value = !1, H.emit("refreshDepends");
969
972
  };
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, {
973
+ return (e, n) => j(u).length > 0 ? (C(), l("div", Mt, [(C(!0), l(a, null, E(j(u), (e) => (C(), l(a, { key: e.id }, [e.type === 0 ? (C(), s(kt, {
971
974
  key: 0,
972
975
  id: e.id,
973
976
  collapse: e.collapse,
@@ -979,14 +982,14 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
979
982
  "collapse",
980
983
  "count",
981
984
  "title"
982
- ])) : c("", !0), e.type === 1 && e.show ? (C(), s(kt, {
985
+ ])) : c("", !0), e.type === 1 && e.show ? (C(), s(jt, {
983
986
  key: 1,
984
987
  id: e.id,
985
988
  title: e.name,
986
989
  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));
990
+ }, null, 8, ["id", "title"])) : c("", !0)], 64))), 128))])) : (C(), l("div", Nt, A(j(t)(["x-prop-tree.no", "x-prop-tree.comp"])), 1));
988
991
  }
989
- }), Nt = { class: "text-body-large" }, Pt = /* @__PURE__ */ p({
992
+ }), Ft = { class: "text-body-large" }, It = /* @__PURE__ */ p({
990
993
  __name: "index",
991
994
  props: /* @__PURE__ */ _({
992
995
  hasDelete: {
@@ -1003,7 +1006,7 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
1003
1006
  }),
1004
1007
  emits: /* @__PURE__ */ _(["delete"], ["update:modelValue"]),
1005
1008
  setup(e, { emit: t }) {
1006
- let { t: n } = V(), i = _e(), { sysBarAvail: a, nameList: l } = W(), { backgroundColor1: p } = U(), m = M(e, "modelValue"), h = t, _ = nt(), b = o(() => {
1009
+ let { t: n } = V(), i = ye(), { sysBarAvail: a, nameList: l } = W(), { backgroundColor1: p } = U(), m = N(e, "modelValue"), h = t, _ = it(), b = o(() => {
1007
1010
  let e = "100%";
1008
1011
  return i.mdAndUp.value && (e = "400px"), {
1009
1012
  background: p.value,
@@ -1020,26 +1023,26 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
1020
1023
  if (!m.value) return n("x-runtime-lib.notSet");
1021
1024
  let e = r(_, m.value);
1022
1025
  return e ? e.name : n("x-runtime-lib.compNotAvail");
1023
- }), { open: E } = G(`propTreeCompSelectDlg${j()}`);
1026
+ }), { open: E } = G(`propTreeCompSelectDlg${M()}`);
1024
1027
  return S(() => {
1025
1028
  E.value = !1;
1026
1029
  }), (t, n) => {
1027
- let r = D("v-btn"), i = D("v-sheet"), o = D("v-dialog");
1030
+ let r = O("v-btn"), i = O("v-sheet"), o = O("v-dialog");
1028
1031
  return C(), s(o, {
1029
- modelValue: A(E),
1032
+ modelValue: j(E),
1030
1033
  "onUpdate:modelValue": n[6] ||= (e) => g(E) ? E.value = e : null,
1031
1034
  fullscreen: "",
1032
1035
  "no-click-animation": "",
1033
1036
  persistent: "",
1034
1037
  transition: "scroll-x-reverse-transition",
1035
- onKeydown: n[7] ||= L(R((e) => E.value = !1, ["stop", "prevent"]), ["esc"])
1038
+ onKeydown: n[7] ||= R(z((e) => E.value = !1, ["stop", "prevent"]), ["esc"])
1036
1039
  }, {
1037
- activator: F(({ props: t }) => [f(r, v(t, {
1040
+ activator: I(({ props: t }) => [f(r, v(t, {
1038
1041
  block: "",
1039
1042
  density: "comfortable",
1040
1043
  readonly: e.readonly
1041
1044
  }), {
1042
- default: F(() => [d(k(T.value), 1)]),
1045
+ default: I(() => [d(A(T.value), 1)]),
1043
1046
  _: 1
1044
1047
  }, 16, ["readonly"]), e.hasDelete ? (C(), s(r, {
1045
1048
  key: 0,
@@ -1047,17 +1050,17 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
1047
1050
  density: "compact",
1048
1051
  icon: "mdi-minus",
1049
1052
  variant: "text",
1050
- onClick: n[0] ||= R((e) => h("delete"), ["stop"])
1053
+ onClick: n[0] ||= z((e) => h("delete"), ["stop"])
1051
1054
  })) : c("", !0)]),
1052
- default: F(() => [u("div", {
1055
+ default: I(() => [u("div", {
1053
1056
  class: "w-100 h-100 d-flex flex-row-reverse",
1054
- onClick: n[4] ||= R((e) => E.value = !1, ["self"]),
1055
- onContextmenu: n[5] ||= R((e) => E.value = !1, ["self", "prevent"])
1057
+ onClick: n[4] ||= z((e) => E.value = !1, ["self"]),
1058
+ onContextmenu: n[5] ||= z((e) => E.value = !1, ["self", "prevent"])
1056
1059
  }, [u("div", {
1057
1060
  class: "elevation-2",
1058
1061
  style: y(b.value)
1059
1062
  }, [
1060
- A(a) ? (C(), s(i, {
1063
+ j(a) ? (C(), s(i, {
1061
1064
  key: 0,
1062
1065
  color: "transparent",
1063
1066
  height: 24
@@ -1067,21 +1070,21 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
1067
1070
  color: "transparent",
1068
1071
  height: 48
1069
1072
  }, {
1070
- default: F(() => [f(r, {
1073
+ default: I(() => [f(r, {
1071
1074
  density: "comfortable",
1072
1075
  icon: "mdi-close",
1073
1076
  variant: "text",
1074
1077
  onClick: n[1] ||= (e) => E.value = !1
1075
- }), u("span", Nt, k(A(l)(["x-prop-tree.select", "x-prop-tree.comp"])), 1)]),
1078
+ }), u("span", Ft, A(j(l)(["x-prop-tree.select", "x-prop-tree.comp"])), 1)]),
1076
1079
  _: 1
1077
1080
  }),
1078
1081
  u("div", {
1079
1082
  class: "overflow-y-auto",
1080
1083
  style: y(x.value)
1081
- }, [f(Mt, {
1084
+ }, [f(Pt, {
1082
1085
  modelValue: m.value,
1083
1086
  "onUpdate:modelValue": n[2] ||= (e) => m.value = e,
1084
- open: A(E),
1087
+ open: j(E),
1085
1088
  "onUpdate:open": n[3] ||= (e) => g(E) ? E.value = e : null
1086
1089
  }, null, 8, ["modelValue", "open"]), u("div", { style: y(w.value) }, null, 4)], 4)
1087
1090
  ], 4)], 32)]),
@@ -1089,7 +1092,7 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
1089
1092
  }, 8, ["modelValue"]);
1090
1093
  };
1091
1094
  }
1092
- }), Ft = /* @__PURE__ */ p({
1095
+ }), Lt = /* @__PURE__ */ p({
1093
1096
  __name: "editor",
1094
1097
  props: {
1095
1098
  modelValue: { required: !0 },
@@ -1108,24 +1111,24 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
1108
1111
  "update:scale"
1109
1112
  ],
1110
1113
  setup(e, { expose: t }) {
1111
- let n = M(e, "modelValue"), r = M(e, "lock"), i = M(e, "scale"), a = fe(), o = pe(), c = Ve(), l = te("target"), u = () => {
1114
+ let n = N(e, "modelValue"), r = N(e, "lock"), i = N(e, "scale"), a = me(), o = he(), c = Ue(), l = ee("target"), u = () => {
1112
1115
  let e = JSON.parse(n.value);
1113
1116
  l.value?.load(e);
1114
1117
  };
1115
1118
  return t({ save: () => {
1116
1119
  let e = l.value.save();
1117
1120
  n.value = JSON.stringify(e, null, 2);
1118
- } }), (e, t) => (C(), s(A(ve), {
1121
+ } }), (e, t) => (C(), s(j(be), {
1119
1122
  ref_key: "target",
1120
1123
  ref: l,
1121
1124
  lock: r.value,
1122
1125
  "onUpdate:lock": t[0] ||= (e) => r.value = e,
1123
1126
  scale: i.value,
1124
1127
  "onUpdate:scale": t[1] ||= (e) => i.value = e,
1125
- dark: A(a),
1126
- locale: A(o),
1128
+ dark: j(a),
1129
+ locale: j(o),
1127
1130
  type: "json",
1128
- version: A(c),
1131
+ version: j(c),
1129
1132
  onReady: u
1130
1133
  }, null, 8, [
1131
1134
  "lock",
@@ -1135,7 +1138,7 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
1135
1138
  "version"
1136
1139
  ]));
1137
1140
  }
1138
- }), It = { class: "text-body-large" }, Lt = /* @__PURE__ */ p({
1141
+ }), Rt = { class: "text-body-large" }, zt = /* @__PURE__ */ p({
1139
1142
  __name: "index",
1140
1143
  props: /* @__PURE__ */ _({
1141
1144
  hasDelete: {
@@ -1152,38 +1155,38 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
1152
1155
  }),
1153
1156
  emits: /* @__PURE__ */ _(["delete"], ["update:modelValue"]),
1154
1157
  setup(e, { emit: t }) {
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(() => {
1158
+ let { t: n } = V(), { sysBarAvail: r } = W(), { backgroundColor0: i, backgroundColor1: a, backgroundColor2: l } = U(), p = N(e, "modelValue"), m = t, h = T(!1), _ = T(1), b = o(() => {
1156
1159
  let e = 48;
1157
1160
  return r.value && (e += 24), {
1158
1161
  position: "relative",
1159
1162
  background: a.value,
1160
1163
  height: `calc(100% - ${e}px)`
1161
1164
  };
1162
- }), x = o(() => n("x-prop-tree.jsonEditor")), { open: w } = G(`propTreejsonEditorDlg${j()}`);
1165
+ }), x = o(() => n("x-prop-tree.jsonEditor")), { open: w } = G(`propTreejsonEditorDlg${M()}`);
1163
1166
  S(() => {
1164
1167
  w.value = !1;
1165
1168
  });
1166
- let E = te("editor");
1167
- return N(w, (e) => {
1169
+ let E = ee("editor");
1170
+ return P(w, (e) => {
1168
1171
  e || E.value?.save();
1169
1172
  }), (t, n) => {
1170
- let a = D("v-btn"), o = D("v-sheet"), S = D("v-spacer"), T = D("v-dialog");
1173
+ let a = O("v-btn"), o = O("v-sheet"), S = O("v-spacer"), T = O("v-dialog");
1171
1174
  return C(), s(T, {
1172
- modelValue: A(w),
1175
+ modelValue: j(w),
1173
1176
  "onUpdate:modelValue": n[5] ||= (e) => g(w) ? w.value = e : null,
1174
1177
  attach: "",
1175
1178
  fullscreen: "",
1176
1179
  "no-click-animation": "",
1177
1180
  persistent: "",
1178
1181
  transition: "dialog-bottom-transition",
1179
- onKeydown: n[6] ||= L(R((e) => w.value = !1, ["stop", "prevent"]), ["esc"])
1182
+ onKeydown: n[6] ||= R(z((e) => w.value = !1, ["stop", "prevent"]), ["esc"])
1180
1183
  }, {
1181
- activator: F(({ props: t }) => [f(a, v(t, {
1184
+ activator: I(({ props: t }) => [f(a, v(t, {
1182
1185
  block: "",
1183
1186
  density: "comfortable",
1184
1187
  readonly: e.readonly
1185
1188
  }), {
1186
- default: F(() => [d(k(x.value), 1)]),
1189
+ default: I(() => [d(A(x.value), 1)]),
1187
1190
  _: 1
1188
1191
  }, 16, ["readonly"]), e.hasDelete ? (C(), s(a, {
1189
1192
  key: 0,
@@ -1191,37 +1194,37 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
1191
1194
  density: "compact",
1192
1195
  icon: "mdi-minus",
1193
1196
  variant: "text",
1194
- onClick: n[0] ||= R((e) => m("delete"), ["stop"])
1197
+ onClick: n[0] ||= z((e) => m("delete"), ["stop"])
1195
1198
  })) : c("", !0)]),
1196
- default: F(() => [f(o, {
1197
- color: A(i),
1199
+ default: I(() => [f(o, {
1200
+ color: j(i),
1198
1201
  height: "100%",
1199
1202
  width: "100%"
1200
1203
  }, {
1201
- default: F(() => [
1202
- A(r) ? (C(), s(o, {
1204
+ default: I(() => [
1205
+ j(r) ? (C(), s(o, {
1203
1206
  key: 0,
1204
- color: A(l),
1207
+ color: j(l),
1205
1208
  height: 24
1206
1209
  }, null, 8, ["color"])) : c("", !0),
1207
1210
  f(o, {
1208
1211
  class: "d-flex align-center px-2",
1209
- color: A(l),
1212
+ color: j(l),
1210
1213
  height: 48
1211
1214
  }, {
1212
- default: F(() => [
1215
+ default: I(() => [
1213
1216
  f(a, {
1214
1217
  density: "comfortable",
1215
1218
  icon: "mdi-close",
1216
1219
  variant: "text",
1217
1220
  onClick: n[1] ||= (e) => w.value = !1
1218
1221
  }),
1219
- u("span", It, k(x.value), 1),
1222
+ u("span", Rt, A(x.value), 1),
1220
1223
  f(S)
1221
1224
  ]),
1222
1225
  _: 1
1223
1226
  }, 8, ["color"]),
1224
- u("div", { style: y(b.value) }, [f(Ft, {
1227
+ u("div", { style: y(b.value) }, [f(Lt, {
1225
1228
  ref_key: "editor",
1226
1229
  ref: E,
1227
1230
  modelValue: p.value,
@@ -1242,7 +1245,7 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
1242
1245
  }, 8, ["modelValue"]);
1243
1246
  };
1244
1247
  }
1245
- }), Rt = { class: "d-flex justify-space-between align-center my-2" }, zt = { class: "flex-grow-1" }, Bt = /* @__PURE__ */ p({
1248
+ }), Bt = { class: "d-flex justify-space-between align-center my-2" }, Vt = { class: "flex-grow-1" }, Ht = /* @__PURE__ */ p({
1246
1249
  __name: "index",
1247
1250
  props: /* @__PURE__ */ _({
1248
1251
  hasDelete: {
@@ -1260,67 +1263,67 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
1260
1263
  }),
1261
1264
  emits: /* @__PURE__ */ _(["delete"], ["update:modelValue"]),
1262
1265
  setup(e, { emit: t }) {
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(() => {
1266
+ let { t: n } = V(), { isMobile: r } = W(), i = N(e, "modelValue"), a = t, d = o(() => ae(e.types)), p = T(""), m = o(() => {
1264
1267
  let e = [];
1265
- for (let { value: t, title: r } of p.value) e.push({
1268
+ for (let { value: t, title: r } of d.value) e.push({
1266
1269
  value: t,
1267
1270
  title: n(r)
1268
1271
  });
1269
1272
  return e;
1270
1273
  });
1271
- P(() => {
1272
- for (let { value: e, validator: t } of p.value) if (t(i.value)) {
1273
- m.value = e;
1274
+ F(() => {
1275
+ for (let { value: e, validator: t } of d.value) if (t(i.value)) {
1276
+ p.value = e;
1274
1277
  return;
1275
1278
  }
1276
- m.value = "";
1279
+ p.value = "";
1277
1280
  });
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 me({
1281
+ let h = o(() => d.value.find((e) => e.value === p.value)), g = () => {
1282
+ i.value = h.value?.default;
1283
+ }, _ = T(0), v = async (e) => {
1284
+ if (!e || !r() || !h.value || h.value.trait !== "pixel" && h.value.trait !== "percent") return;
1285
+ let t = await ge({
1283
1286
  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
1287
+ value: _.value,
1288
+ precision: h.value.precision,
1289
+ min: h.value.min,
1290
+ max: h.value.max,
1291
+ step: h.value.step
1289
1292
  });
1290
- t !== void 0 && (v.value = t);
1293
+ t !== void 0 && (_.value = t);
1291
1294
  };
1292
- P(() => {
1293
- g.value?.trait === "pixel" ? v.value = ce(i.value) : g.value?.trait === "percent" && (v.value = se(i.value));
1294
- }), N(v, (e) => {
1295
- g.value?.trait === "pixel" ? i.value = e + "px" : g.value?.trait === "percent" && (i.value = e + "%");
1295
+ F(() => {
1296
+ h.value?.trait === "pixel" ? _.value = ue(i.value) : h.value?.trait === "percent" && (_.value = le(i.value));
1297
+ }), P(_, (e) => {
1298
+ h.value?.trait === "pixel" ? i.value = e + "px" : h.value?.trait === "percent" && (i.value = e + "%");
1296
1299
  });
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);
1300
+ let y = T("#ff00ff");
1301
+ F(() => {
1302
+ h.value?.trait === "hexColor" && oe(i.value) && (y.value = i.value);
1303
+ }), P(y, (e) => {
1304
+ h.value?.trait === "hexColor" && (i.value = e);
1302
1305
  });
1303
- let x = T("primary"), S = o(() => {
1306
+ let b = T("primary"), x = o(() => {
1304
1307
  let e = [];
1305
- if (g.value?.trait === "themeColor") for (let { value: t, title: r } of ue) e.push({
1308
+ if (h.value?.trait === "themeColor") for (let { value: t, title: r } of fe) e.push({
1306
1309
  value: t,
1307
1310
  title: n(r)
1308
1311
  });
1309
1312
  return e;
1310
1313
  });
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);
1314
+ return F(() => {
1315
+ h.value?.trait === "themeColor" && se(i.value) && (b.value = i.value);
1316
+ }), P(b, (e) => {
1317
+ h.value?.trait === "themeColor" && (i.value = e);
1315
1318
  }), (t, n) => {
1316
- let r = D("v-select"), i = D("v-number-input"), o = D("v-btn"), d = O("ripple");
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, _],
1319
+ let r = O("v-select"), i = O("v-number-input"), o = O("v-btn"), d = k("ripple");
1320
+ return C(), l("div", Bt, [u("div", Vt, [
1321
+ L(f(r, {
1322
+ modelValue: p.value,
1323
+ "onUpdate:modelValue": [n[0] ||= (e) => p.value = e, g],
1321
1324
  density: "compact",
1322
1325
  "hide-details": "",
1323
- items: h.value,
1326
+ items: m.value,
1324
1327
  readonly: e.readonly,
1325
1328
  "single-line": ""
1326
1329
  }, null, 8, [
@@ -1333,20 +1336,20 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
1333
1336
  void 0,
1334
1337
  { stop: !0 }
1335
1338
  ]]),
1336
- g.value?.trait === "pixel" || g.value?.trait === "percent" ? I((C(), s(i, {
1339
+ h.value?.trait === "pixel" || h.value?.trait === "percent" ? L((C(), s(i, {
1337
1340
  key: 0,
1338
- modelValue: v.value,
1339
- "onUpdate:modelValue": n[1] ||= (e) => v.value = e,
1341
+ modelValue: _.value,
1342
+ "onUpdate:modelValue": n[1] ||= (e) => _.value = e,
1340
1343
  "control-variant": "stacked",
1341
1344
  density: "compact",
1342
1345
  "hide-details": "",
1343
- max: g.value.max,
1344
- min: g.value.min,
1345
- precision: g.value.precision,
1346
+ max: h.value.max,
1347
+ min: h.value.min,
1348
+ precision: h.value.precision,
1346
1349
  readonly: e.readonly,
1347
1350
  "single-line": "",
1348
- step: g.value.step,
1349
- "onUpdate:focused": y
1351
+ step: h.value.step,
1352
+ "onUpdate:focused": v
1350
1353
  }, null, 8, [
1351
1354
  "modelValue",
1352
1355
  "max",
@@ -1360,18 +1363,18 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
1360
1363
  void 0,
1361
1364
  { stop: !0 }
1362
1365
  ]]) : c("", !0),
1363
- g.value?.trait === "hexColor" ? (C(), s(wt, {
1366
+ h.value?.trait === "hexColor" ? (C(), s(Et, {
1364
1367
  key: 1,
1365
- modelValue: b.value,
1366
- "onUpdate:modelValue": n[2] ||= (e) => b.value = e
1368
+ modelValue: y.value,
1369
+ "onUpdate:modelValue": n[2] ||= (e) => y.value = e
1367
1370
  }, null, 8, ["modelValue"])) : c("", !0),
1368
- g.value?.trait === "themeColor" ? I((C(), s(r, {
1371
+ h.value?.trait === "themeColor" ? L((C(), s(r, {
1369
1372
  key: 2,
1370
- modelValue: x.value,
1371
- "onUpdate:modelValue": n[3] ||= (e) => x.value = e,
1373
+ modelValue: b.value,
1374
+ "onUpdate:modelValue": n[3] ||= (e) => b.value = e,
1372
1375
  density: "compact",
1373
1376
  "hide-details": "",
1374
- items: S.value,
1377
+ items: x.value,
1375
1378
  "single-line": ""
1376
1379
  }, null, 8, ["modelValue", "items"])), [[
1377
1380
  d,
@@ -1385,11 +1388,11 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
1385
1388
  density: "compact",
1386
1389
  icon: "mdi-minus",
1387
1390
  variant: "text",
1388
- onClick: n[4] ||= R((e) => a("delete"), ["stop"])
1391
+ onClick: n[4] ||= z((e) => a("delete"), ["stop"])
1389
1392
  })) : c("", !0)]);
1390
1393
  };
1391
1394
  }
1392
- }), Vt = { class: "d-flex justify-space-between align-center" }, Ht = /* @__PURE__ */ p({
1395
+ }), Ut = { class: "d-flex justify-space-between align-center" }, Wt = /* @__PURE__ */ p({
1393
1396
  __name: "index",
1394
1397
  props: /* @__PURE__ */ _({
1395
1398
  hasDelete: {
@@ -1410,9 +1413,9 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
1410
1413
  }),
1411
1414
  emits: /* @__PURE__ */ _(["delete"], ["update:modelValue"]),
1412
1415
  setup(e, { emit: t }) {
1413
- let { isMobile: n } = W(), r = M(e, "modelValue"), i = t, a = async (t) => {
1416
+ let { isMobile: n } = W(), r = N(e, "modelValue"), i = t, a = async (t) => {
1414
1417
  if (!t || e.readonly || !n()) return;
1415
- let i = await me({
1418
+ let i = await ge({
1416
1419
  title: "",
1417
1420
  value: r.value,
1418
1421
  precision: e.precision,
@@ -1423,8 +1426,8 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
1423
1426
  i !== void 0 && (r.value = i);
1424
1427
  };
1425
1428
  return (t, n) => {
1426
- let o = D("v-number-input"), u = D("v-btn"), d = O("ripple");
1427
- return C(), l("div", Vt, [I(f(o, {
1429
+ let o = O("v-number-input"), u = O("v-btn"), d = k("ripple");
1430
+ return C(), l("div", Ut, [L(f(o, {
1428
1431
  modelValue: r.value,
1429
1432
  "onUpdate:modelValue": n[0] ||= (e) => r.value = e,
1430
1433
  "control-variant": "stacked",
@@ -1455,11 +1458,11 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
1455
1458
  density: "compact",
1456
1459
  icon: "mdi-minus",
1457
1460
  variant: "text",
1458
- onClick: n[1] ||= R((e) => i("delete"), ["stop"])
1461
+ onClick: n[1] ||= z((e) => i("delete"), ["stop"])
1459
1462
  })) : c("", !0)]);
1460
1463
  };
1461
1464
  }
1462
- }), Ut = { class: "d-flex justify-space-between align-center" }, Wt = /* @__PURE__ */ p({
1465
+ }), Gt = { class: "d-flex justify-space-between align-center" }, Kt = /* @__PURE__ */ p({
1463
1466
  __name: "index",
1464
1467
  props: /* @__PURE__ */ _({
1465
1468
  hasDelete: {
@@ -1477,23 +1480,23 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
1477
1480
  }),
1478
1481
  emits: /* @__PURE__ */ _(["delete"], ["update:modelValue"]),
1479
1482
  setup(e, { emit: t }) {
1480
- let { t: n } = V(), r = M(e, "modelValue"), i = t, a = Ve(), u = o(() => {
1483
+ let { t: n } = V(), r = N(e, "modelValue"), i = t, a = o(() => {
1481
1484
  let t = [];
1482
- return le[a.value].items[e.items].forEach(({ title: e, value: r }) => {
1485
+ return ne(e.items)?.forEach(({ value: e, title: r }) => {
1483
1486
  t.push({
1484
- title: n(e),
1485
- value: r
1487
+ value: e,
1488
+ title: n(r)
1486
1489
  });
1487
1490
  }), t;
1488
1491
  });
1489
1492
  return (t, n) => {
1490
- let a = D("v-select"), o = D("v-btn"), d = O("ripple");
1491
- return C(), l("div", Ut, [I(f(a, {
1493
+ let o = O("v-select"), u = O("v-btn"), d = k("ripple");
1494
+ return C(), l("div", Gt, [L(f(o, {
1492
1495
  modelValue: r.value,
1493
1496
  "onUpdate:modelValue": n[0] ||= (e) => r.value = e,
1494
1497
  density: "compact",
1495
1498
  "hide-details": "",
1496
- items: u.value,
1499
+ items: a.value,
1497
1500
  readonly: e.readonly,
1498
1501
  "single-line": ""
1499
1502
  }, null, 8, [
@@ -1505,17 +1508,17 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
1505
1508
  void 0,
1506
1509
  void 0,
1507
1510
  { stop: !0 }
1508
- ]]), e.hasDelete ? (C(), s(o, {
1511
+ ]]), e.hasDelete ? (C(), s(u, {
1509
1512
  key: 0,
1510
1513
  class: "mx-2",
1511
1514
  density: "compact",
1512
1515
  icon: "mdi-minus",
1513
1516
  variant: "text",
1514
- onClick: n[1] ||= R((e) => i("delete"), ["stop"])
1517
+ onClick: n[1] ||= z((e) => i("delete"), ["stop"])
1515
1518
  })) : c("", !0)]);
1516
1519
  };
1517
1520
  }
1518
- }), Gt = { class: "text-body-large ml-6" }, Kt = /* @__PURE__ */ p({
1521
+ }), qt = { class: "text-body-large ml-6" }, Jt = /* @__PURE__ */ p({
1519
1522
  __name: "item",
1520
1523
  props: {
1521
1524
  id: {},
@@ -1530,20 +1533,20 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
1530
1533
  userSelect: "none"
1531
1534
  }));
1532
1535
  return (t, n) => {
1533
- let r = O("ripple");
1534
- return I((C(), l("div", {
1536
+ let r = k("ripple");
1537
+ return L((C(), l("div", {
1535
1538
  class: "d-flex align-center cursor-pointer",
1536
1539
  style: y(s.value),
1537
1540
  onClick: n[0] ||= (t) => i("x-click", e.id),
1538
1541
  onMouseout: n[1] ||= (e) => a.value = !1,
1539
1542
  onMouseover: n[2] ||= (e) => a.value = !0
1540
- }, [u("span", Gt, k(e.title), 1)], 36)), [[r]]);
1543
+ }, [u("span", qt, A(e.title), 1)], 36)), [[r]]);
1541
1544
  };
1542
1545
  }
1543
- }), qt = { key: 0 }, Jt = {
1546
+ }), Yt = { key: 0 }, Xt = {
1544
1547
  key: 1,
1545
1548
  class: "text-body-medium text-grey ml-3"
1546
- }, Yt = /* @__PURE__ */ p({
1549
+ }, Zt = /* @__PURE__ */ p({
1547
1550
  __name: "index",
1548
1551
  props: {
1549
1552
  modelValue: {},
@@ -1556,17 +1559,17 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
1556
1559
  },
1557
1560
  emits: ["update:modelValue", "update:open"],
1558
1561
  setup(e) {
1559
- let { nameList: t } = W(), n = M(e, "modelValue"), r = M(e, "open"), i = it(), o = (e) => {
1562
+ let { nameList: t } = W(), n = N(e, "modelValue"), r = N(e, "open"), i = ot(), o = (e) => {
1560
1563
  n.value = e, r.value = !1;
1561
1564
  };
1562
- return (e, n) => A(i).length > 0 ? (C(), l("div", qt, [(C(!0), l(a, null, E(A(i), (e) => (C(), s(Kt, {
1565
+ return (e, n) => j(i).length > 0 ? (C(), l("div", Yt, [(C(!0), l(a, null, E(j(i), (e) => (C(), s(Jt, {
1563
1566
  key: e.id,
1564
1567
  id: e.id,
1565
1568
  title: e.name,
1566
1569
  onXClick: o
1567
- }, null, 8, ["id", "title"]))), 128))])) : (C(), l("div", Jt, k(A(t)(["x-prop-tree.no", "x-prop-tree.slot"])), 1));
1570
+ }, null, 8, ["id", "title"]))), 128))])) : (C(), l("div", Xt, A(j(t)(["x-prop-tree.no", "x-prop-tree.slot"])), 1));
1568
1571
  }
1569
- }), Xt = { class: "text-body-large" }, Zt = /* @__PURE__ */ p({
1572
+ }), Qt = { class: "text-body-large" }, $t = /* @__PURE__ */ p({
1570
1573
  __name: "index",
1571
1574
  props: /* @__PURE__ */ _({
1572
1575
  hasDelete: {
@@ -1583,7 +1586,7 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
1583
1586
  }),
1584
1587
  emits: /* @__PURE__ */ _(["delete"], ["update:modelValue"]),
1585
1588
  setup(e, { emit: t }) {
1586
- let { t: n } = V(), r = _e(), { sysBarAvail: i, nameList: a } = W(), { backgroundColor1: l } = U(), p = M(e, "modelValue"), m = t, h = it(), _ = o(() => {
1589
+ let { t: n } = V(), r = ye(), { sysBarAvail: i, nameList: a } = W(), { backgroundColor1: l } = U(), p = N(e, "modelValue"), m = t, h = ot(), _ = o(() => {
1587
1590
  let e = "100%";
1588
1591
  return r.mdAndUp.value && (e = "400px"), {
1589
1592
  background: l.value,
@@ -1600,26 +1603,26 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
1600
1603
  if (!p.value) return n("x-runtime-lib.notSet");
1601
1604
  let e = h.value.find((e) => e.id === p.value);
1602
1605
  return e ? e.name : n("x-runtime-lib.slotNotAvail");
1603
- }), { open: T } = G(`propTreeSlotSelectDlg${j()}`);
1606
+ }), { open: T } = G(`propTreeSlotSelectDlg${M()}`);
1604
1607
  return S(() => {
1605
1608
  T.value = !1;
1606
1609
  }), (t, n) => {
1607
- let r = D("v-btn"), o = D("v-sheet"), l = D("v-dialog");
1610
+ let r = O("v-btn"), o = O("v-sheet"), l = O("v-dialog");
1608
1611
  return C(), s(l, {
1609
- modelValue: A(T),
1612
+ modelValue: j(T),
1610
1613
  "onUpdate:modelValue": n[6] ||= (e) => g(T) ? T.value = e : null,
1611
1614
  fullscreen: "",
1612
1615
  "no-click-animation": "",
1613
1616
  persistent: "",
1614
1617
  transition: "scroll-x-reverse-transition",
1615
- onKeydown: n[7] ||= L(R((e) => T.value = !1, ["stop", "prevent"]), ["esc"])
1618
+ onKeydown: n[7] ||= R(z((e) => T.value = !1, ["stop", "prevent"]), ["esc"])
1616
1619
  }, {
1617
- activator: F(({ props: t }) => [f(r, v(t, {
1620
+ activator: I(({ props: t }) => [f(r, v(t, {
1618
1621
  block: "",
1619
1622
  density: "comfortable",
1620
1623
  readonly: e.readonly
1621
1624
  }), {
1622
- default: F(() => [d(k(w.value), 1)]),
1625
+ default: I(() => [d(A(w.value), 1)]),
1623
1626
  _: 1
1624
1627
  }, 16, ["readonly"]), e.hasDelete ? (C(), s(r, {
1625
1628
  key: 0,
@@ -1627,17 +1630,17 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
1627
1630
  density: "compact",
1628
1631
  icon: "mdi-minus",
1629
1632
  variant: "text",
1630
- onClick: n[0] ||= R((e) => m("delete"), ["stop"])
1633
+ onClick: n[0] ||= z((e) => m("delete"), ["stop"])
1631
1634
  })) : c("", !0)]),
1632
- default: F(() => [u("div", {
1635
+ default: I(() => [u("div", {
1633
1636
  class: "w-100 h-100 d-flex flex-row-reverse",
1634
- onClick: n[4] ||= R((e) => T.value = !1, ["self"]),
1635
- onContextmenu: n[5] ||= R((e) => T.value = !1, ["self", "prevent"])
1637
+ onClick: n[4] ||= z((e) => T.value = !1, ["self"]),
1638
+ onContextmenu: n[5] ||= z((e) => T.value = !1, ["self", "prevent"])
1636
1639
  }, [u("div", {
1637
1640
  class: "elevation-2",
1638
1641
  style: y(_.value)
1639
1642
  }, [
1640
- A(i) ? (C(), s(o, {
1643
+ j(i) ? (C(), s(o, {
1641
1644
  key: 0,
1642
1645
  color: "transparent",
1643
1646
  height: 24
@@ -1647,21 +1650,21 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
1647
1650
  color: "transparent",
1648
1651
  height: 48
1649
1652
  }, {
1650
- default: F(() => [f(r, {
1653
+ default: I(() => [f(r, {
1651
1654
  density: "comfortable",
1652
1655
  icon: "mdi-close",
1653
1656
  variant: "text",
1654
1657
  onClick: n[1] ||= (e) => T.value = !1
1655
- }), u("span", Xt, k(A(a)(["x-prop-tree.select", "x-prop-tree.slot"])), 1)]),
1658
+ }), u("span", Qt, A(j(a)(["x-prop-tree.select", "x-prop-tree.slot"])), 1)]),
1656
1659
  _: 1
1657
1660
  }),
1658
1661
  u("div", {
1659
1662
  class: "overflow-y-auto",
1660
1663
  style: y(b.value)
1661
- }, [f(Yt, {
1664
+ }, [f(Zt, {
1662
1665
  modelValue: p.value,
1663
1666
  "onUpdate:modelValue": n[2] ||= (e) => p.value = e,
1664
- open: A(T),
1667
+ open: j(T),
1665
1668
  "onUpdate:open": n[3] ||= (e) => g(T) ? T.value = e : null
1666
1669
  }, null, 8, ["modelValue", "open"]), u("div", { style: y(x.value) }, null, 4)], 4)
1667
1670
  ], 4)], 32)]),
@@ -1669,7 +1672,7 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
1669
1672
  }, 8, ["modelValue"]);
1670
1673
  };
1671
1674
  }
1672
- }), Qt = { class: "d-flex justify-space-between align-center" }, $t = /* @__PURE__ */ p({
1675
+ }), en = { class: "d-flex justify-space-between align-center" }, tn = /* @__PURE__ */ p({
1673
1676
  __name: "index",
1674
1677
  props: /* @__PURE__ */ _({
1675
1678
  hasDelete: {
@@ -1686,17 +1689,17 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
1686
1689
  }),
1687
1690
  emits: /* @__PURE__ */ _(["delete"], ["update:modelValue"]),
1688
1691
  setup(e, { emit: t }) {
1689
- let { isMobile: n } = W(), r = M(e, "modelValue"), i = t, a = async (t) => {
1692
+ let { isMobile: n } = W(), r = N(e, "modelValue"), i = t, a = async (t) => {
1690
1693
  if (!t || e.readonly || !n()) return;
1691
- let i = await he({
1694
+ let i = await _e({
1692
1695
  title: "",
1693
1696
  value: r.value
1694
1697
  });
1695
1698
  i !== void 0 && (r.value = i);
1696
1699
  };
1697
1700
  return (t, n) => {
1698
- let o = D("v-text-field"), u = D("v-btn"), d = O("ripple");
1699
- return C(), l("div", Qt, [I(f(o, {
1701
+ let o = O("v-text-field"), u = O("v-btn"), d = k("ripple");
1702
+ return C(), l("div", en, [L(f(o, {
1700
1703
  modelValue: r.value,
1701
1704
  "onUpdate:modelValue": n[0] ||= (e) => r.value = e,
1702
1705
  density: "compact",
@@ -1715,11 +1718,11 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
1715
1718
  density: "compact",
1716
1719
  icon: "mdi-minus",
1717
1720
  variant: "text",
1718
- onClick: n[1] ||= R((e) => i("delete"), ["stop"])
1721
+ onClick: n[1] ||= z((e) => i("delete"), ["stop"])
1719
1722
  })) : c("", !0)]);
1720
1723
  };
1721
1724
  }
1722
- }), en = { class: "d-flex justify-space-between align-center" }, tn = /* @__PURE__ */ p({
1725
+ }), nn = { class: "d-flex justify-space-between align-center" }, rn = /* @__PURE__ */ p({
1723
1726
  __name: "index",
1724
1727
  props: /* @__PURE__ */ _({
1725
1728
  hasDelete: {
@@ -1736,10 +1739,10 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
1736
1739
  }),
1737
1740
  emits: /* @__PURE__ */ _(["delete"], ["update:modelValue"]),
1738
1741
  setup(e, { emit: t }) {
1739
- let n = M(e, "modelValue"), r = t;
1742
+ let n = N(e, "modelValue"), r = t;
1740
1743
  return (t, i) => {
1741
- let a = D("v-switch"), o = D("v-btn");
1742
- return C(), l("div", en, [f(a, {
1744
+ let a = O("v-switch"), o = O("v-btn");
1745
+ return C(), l("div", nn, [f(a, {
1743
1746
  modelValue: n.value,
1744
1747
  "onUpdate:modelValue": i[0] ||= (e) => n.value = e,
1745
1748
  class: "ml-1",
@@ -1753,18 +1756,18 @@ var pt = { class: "text-label-large ml-1" }, mt = { class: "text-body-small text
1753
1756
  density: "compact",
1754
1757
  icon: "mdi-minus",
1755
1758
  variant: "text",
1756
- onClick: i[1] ||= R((e) => r("delete"), ["stop"])
1759
+ onClick: i[1] ||= z((e) => r("delete"), ["stop"])
1757
1760
  })) : c("", !0)]);
1758
1761
  };
1759
1762
  }
1760
1763
  });
1761
1764
  //#endregion
1762
1765
  //#region src/composables/uis/uiAdaptSlotSelect.ts
1763
- function nn() {
1766
+ function an() {
1764
1767
  let e = $();
1765
1768
  return { renderUiAdaptSlotSelect: (t, n, r, i, a) => {
1766
1769
  if (n.ui !== "selectAdaptSlot") throw Error("renderUiSlotSelect property ui must be selectAdaptSlot");
1767
- return m(St, {
1770
+ return m(wt, {
1768
1771
  modelValue: X(t, n, r, i, a, e),
1769
1772
  "onUpdate:modelValue": (o) => {
1770
1773
  Z(t, n, r, o, i, a, e);
@@ -1779,11 +1782,11 @@ function nn() {
1779
1782
  }
1780
1783
  //#endregion
1781
1784
  //#region src/composables/uis/uiColorPicker.ts
1782
- function rn() {
1785
+ function on() {
1783
1786
  let e = $();
1784
1787
  return { renderUiColorPicker: (t, n, r, i, a) => {
1785
1788
  if (n.ui !== "colorPicker") throw Error("renderUiColorPicker property ui must be colorPicker");
1786
- return m(wt, {
1789
+ return m(Et, {
1787
1790
  modelValue: X(t, n, r, i, a, e),
1788
1791
  "onUpdate:modelValue": (o) => {
1789
1792
  Z(t, n, r, o, i, a, e);
@@ -1798,11 +1801,11 @@ function rn() {
1798
1801
  }
1799
1802
  //#endregion
1800
1803
  //#region src/composables/uis/uiCompSelect.ts
1801
- function an() {
1804
+ function sn() {
1802
1805
  let e = $();
1803
1806
  return { renderUiCompSelect: (t, n, r, i, a) => {
1804
1807
  if (n.ui !== "selectComp") throw Error("renderUiCompSelect property ui must be selectComp");
1805
- return m(Pt, {
1808
+ return m(It, {
1806
1809
  modelValue: X(t, n, r, i, a, e),
1807
1810
  "onUpdate:modelValue": (o) => {
1808
1811
  Z(t, n, r, o, i, a, e);
@@ -1817,7 +1820,7 @@ function an() {
1817
1820
  }
1818
1821
  //#endregion
1819
1822
  //#region src/composables/uis/uiDummy.ts
1820
- function on() {
1823
+ function cn() {
1821
1824
  let e = $();
1822
1825
  return { renderUiDummy: (t, n, r, i, a) => {
1823
1826
  if (n.ui !== "dummy") throw Error("renderUiDummy property ui must be dummy");
@@ -1826,11 +1829,11 @@ function on() {
1826
1829
  }
1827
1830
  //#endregion
1828
1831
  //#region src/composables/uis/uiJsonEditor.ts
1829
- function sn() {
1832
+ function ln() {
1830
1833
  let e = $();
1831
1834
  return { renderUiJsonEditor: (t, n, r, i, a) => {
1832
1835
  if (n.ui !== "jsonEditor") throw Error("renderUijsonEditor property ui must be jsonEditor");
1833
- return m(Lt, {
1836
+ return m(zt, {
1834
1837
  modelValue: X(t, n, r, i, a, e) ?? "{}",
1835
1838
  "onUpdate:modelValue": (o) => {
1836
1839
  Z(t, n, r, o, i, a, e);
@@ -1845,11 +1848,11 @@ function sn() {
1845
1848
  }
1846
1849
  //#endregion
1847
1850
  //#region src/composables/uis/uiMultiTypes.ts
1848
- function cn() {
1851
+ function un() {
1849
1852
  let e = $();
1850
1853
  return { renderUiMultiTypes: (t, n, r, i, a) => {
1851
1854
  if (n.ui !== "multiTypes") throw Error("renderUiMultiTypes property ui must be multiTypes");
1852
- return m(Bt, {
1855
+ return m(Ht, {
1853
1856
  modelValue: X(t, n, r, i, a, e) ?? "",
1854
1857
  "onUpdate:modelValue": (o) => {
1855
1858
  Z(t, n, r, o, i, a, e);
@@ -1864,11 +1867,11 @@ function cn() {
1864
1867
  }
1865
1868
  //#endregion
1866
1869
  //#region src/composables/uis/uiNumInput.ts
1867
- function ln() {
1870
+ function dn() {
1868
1871
  let e = $();
1869
1872
  return { renderUiNumInput: (t, n, r, i, a) => {
1870
1873
  if (n.ui !== "numInput") throw Error("renderUiNumInput property ui must be numInput");
1871
- return m(Ht, {
1874
+ return m(Wt, {
1872
1875
  modelValue: X(t, n, r, i, a, e),
1873
1876
  "onUpdate:modelValue": (o) => {
1874
1877
  Z(t, n, r, o, i, a, e);
@@ -1887,7 +1890,7 @@ function ln() {
1887
1890
  }
1888
1891
  //#endregion
1889
1892
  //#region src/components/entry/index.vue
1890
- var un = /* @__PURE__ */ p({
1893
+ var fn = /* @__PURE__ */ p({
1891
1894
  __name: "index",
1892
1895
  props: { minHeight: {} },
1893
1896
  emits: ["menu"],
@@ -1902,24 +1905,24 @@ var un = /* @__PURE__ */ p({
1902
1905
  i("menu", e.clientX, e.clientY);
1903
1906
  };
1904
1907
  return (e, t) => {
1905
- let n = O("ripple");
1906
- return I((C(), l("div", {
1908
+ let n = k("ripple");
1909
+ return L((C(), l("div", {
1907
1910
  class: "d-flex justify-space-between align-center cursor-pointer",
1908
1911
  style: y(s.value),
1909
- onContextmenu: R(c, ["self", "prevent"]),
1912
+ onContextmenu: z(c, ["self", "prevent"]),
1910
1913
  onMouseout: t[0] ||= (e) => a.value = !1,
1911
1914
  onMouseover: t[1] ||= (e) => a.value = !0
1912
- }, [ee(e.$slots, "default")], 36)), [[n]]);
1915
+ }, [D(e.$slots, "default")], 36)), [[n]]);
1913
1916
  };
1914
1917
  }
1915
1918
  });
1916
1919
  //#endregion
1917
1920
  //#region src/composables/uis/uiProperty.ts
1918
- function dn() {
1919
- let { t: e } = V(), t = $e();
1921
+ function pn() {
1922
+ let { t: e } = V(), t = tt();
1920
1923
  return { renderProperty: (n, r, i) => {
1921
1924
  let a = n[n.length - 1], o = typeof a == "number" ? `[${a + 1}]` : e(r.name);
1922
- return Q(t.value, n) && (o += " *"), m(un, {
1925
+ return Q(t.value, n) && (o += " *"), m(fn, {
1923
1926
  minHeight: "56px",
1924
1927
  onMenu: (e, t) => {
1925
1928
  H.emit("propTreeMenu", {
@@ -1939,11 +1942,11 @@ function dn() {
1939
1942
  }
1940
1943
  //#endregion
1941
1944
  //#region src/composables/uis/uiSelect.ts
1942
- function fn() {
1945
+ function mn() {
1943
1946
  let e = $();
1944
1947
  return { renderUiSelect: (t, n, r, i, a) => {
1945
1948
  if (n.ui !== "select") throw Error("renderUiSelect property ui must be select");
1946
- return m(Wt, {
1949
+ return m(Kt, {
1947
1950
  modelValue: X(t, n, r, i, a, e) ?? "",
1948
1951
  "onUpdate:modelValue": (o) => {
1949
1952
  Z(t, n, r, o, i, a, e);
@@ -1959,11 +1962,11 @@ function fn() {
1959
1962
  }
1960
1963
  //#endregion
1961
1964
  //#region src/composables/uis/uiSlotSelect.ts
1962
- function pn() {
1965
+ function hn() {
1963
1966
  let e = $();
1964
1967
  return { renderUiSlotSelect: (t, n, r, i, a) => {
1965
1968
  if (n.ui !== "selectSlot") throw Error("renderUiSlotSelect property ui must be selectSlot");
1966
- return m(Zt, {
1969
+ return m($t, {
1967
1970
  modelValue: X(t, n, r, i, a, e),
1968
1971
  "onUpdate:modelValue": (o) => {
1969
1972
  Z(t, n, r, o, i, a, e);
@@ -1978,11 +1981,11 @@ function pn() {
1978
1981
  }
1979
1982
  //#endregion
1980
1983
  //#region src/composables/uis/uiStrInput.ts
1981
- function mn() {
1984
+ function gn() {
1982
1985
  let e = $();
1983
1986
  return { renderUiStrInput: (t, n, r, i, a) => {
1984
1987
  if (n.ui !== "strInput") throw Error("renderUiStrInput property ui must be strInput");
1985
- return m($t, {
1988
+ return m(tn, {
1986
1989
  modelValue: n.static ? n.value : X(t, n, r, i, a, e),
1987
1990
  "onUpdate:modelValue": (o) => {
1988
1991
  n.static || Z(t, n, r, o, i, a, e);
@@ -1997,11 +2000,11 @@ function mn() {
1997
2000
  }
1998
2001
  //#endregion
1999
2002
  //#region src/composables/uis/uiSwitch.ts
2000
- function hn() {
2003
+ function _n() {
2001
2004
  let e = $();
2002
2005
  return { renderUiSwitch: (t, n, r, i, a) => {
2003
2006
  if (n.ui !== "switch") throw Error("renderUiSwitch property ui must be switch");
2004
- return m(tn, {
2007
+ return m(rn, {
2005
2008
  modelValue: X(t, n, r, i, a, e) ?? !1,
2006
2009
  "onUpdate:modelValue": (o) => {
2007
2010
  Z(t, n, r, o, i, a, e);
@@ -2016,22 +2019,24 @@ function hn() {
2016
2019
  }
2017
2020
  //#endregion
2018
2021
  //#region src/components/propTree/main.vue?vue&type=script&setup=true&lang.ts
2019
- var gn = "20px", _n = /* @__PURE__ */ p({
2022
+ var vn = "20px", yn = /* @__PURE__ */ p({
2020
2023
  __name: "main",
2021
- setup(t) {
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) => {
2024
+ setup(n) {
2025
+ let { t: r } = V(), { backgroundColor1: i } = U(), o = Ye(), s = Ze(), c = $e(), u = tt(), d = $();
2026
+ pt(), mt(), ft();
2027
+ let { renderProperty: p } = pn(), { renderUiDummy: h } = cn(), { renderUiStrInput: g } = gn(), { renderUiNumInput: _ } = dn(), { renderUiSwitch: v } = _n(), { renderUiSelect: y } = mn(), { renderUiColorPicker: b } = on(), { renderUiJsonEditor: x } = ln(), { renderUiMultiTypes: S } = un(), { renderUiCompSelect: w } = sn(), { renderUiSlotSelect: T } = hn(), { renderUiAdaptSlotSelect: E } = an(), D = (n, r, i, a, o, s) => {
2028
+ if (!t(n, ["runtime"])) return n = e(n), a === void 0 ? n.push(r.key) : (n.push(a), o && n.push(r.key)), r.ui ? r.array && !s ? A(n, r, i, a, o) : j(n, r, i, a, o) : r.array ? O(n, r, i, a, o) : k(n, r, i, a, o);
2029
+ }, O = (e, t, n, i, a) => {
2025
2030
  if (t.ui) throw Error("renderBranchArray property ui must be invalid");
2026
2031
  if (!t.array) throw Error("renderBranchArray property array must be valid");
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, {
2030
- title: l,
2031
- collapse: K(s, e),
2032
+ let o = xe(e, t, n, i, a, d), s = r(t.name);
2033
+ K(c, e) && Q(u.value, e) && (s += " *");
2034
+ let l = m(dt, {
2035
+ title: s,
2036
+ collapse: K(c, e),
2032
2037
  hasCreate: !0,
2033
2038
  onCollapse: (t) => {
2034
- q(s, e, t);
2039
+ q(c, e, t);
2035
2040
  },
2036
2041
  onMenu: (t, n) => {
2037
2042
  H.emit("propTreeMenu", {
@@ -2041,20 +2046,20 @@ var gn = "20px", _n = /* @__PURE__ */ p({
2041
2046
  });
2042
2047
  },
2043
2048
  onCreate: () => {
2044
- o.push({}), u(e, o);
2049
+ o.push({}), d(e, o);
2045
2050
  }
2046
- }), f = m("div", { style: { paddingLeft: gn } }, (() => {
2051
+ }), f = m("div", { style: { paddingLeft: vn } }, (() => {
2047
2052
  let n = [];
2048
2053
  for (let r = 0; r < o.length; r++) {
2049
2054
  let i = [...e, r], a = `[${r + 1}]`;
2050
- K(s, [...e, r]) && Q(c.value, i) && (a += " *");
2051
- let l = m(lt, {
2055
+ K(c, [...e, r]) && Q(u.value, i) && (a += " *");
2056
+ let s = m(dt, {
2052
2057
  title: a,
2053
- collapse: K(s, [...e, r]),
2058
+ collapse: K(c, [...e, r]),
2054
2059
  hasDelete: !0,
2055
2060
  index: r,
2056
2061
  onCollapse: (t) => {
2057
- q(s, [...e, r], t);
2062
+ q(c, [...e, r], t);
2058
2063
  },
2059
2064
  onMenu: (e, t) => {
2060
2065
  H.emit("propTreeMenu", {
@@ -2064,34 +2069,34 @@ var gn = "20px", _n = /* @__PURE__ */ p({
2064
2069
  });
2065
2070
  },
2066
2071
  onDelete: (t) => {
2067
- o.splice(t, 1), u(e, o);
2072
+ o.splice(t, 1), d(e, o);
2068
2073
  }
2069
2074
  });
2070
- n.push(l);
2071
- let d = m("div", { style: { paddingLeft: gn } }, (() => {
2075
+ n.push(s);
2076
+ let l = m("div", { style: { paddingLeft: vn } }, (() => {
2072
2077
  let n = [];
2073
- for (let i of t.children) n.push(E(e, i, o[r], r, !0));
2078
+ for (let i of t.children) n.push(D(e, i, o[r], r, !0));
2074
2079
  return n;
2075
2080
  })());
2076
- K(s, [...e, r]) || n.push(d);
2081
+ K(c, [...e, r]) || n.push(l);
2077
2082
  }
2078
2083
  return n;
2079
2084
  })());
2080
2085
  return m("div", { style: { marginTop: "1px" } }, (() => {
2081
2086
  let t = [];
2082
- return t.push(d), K(s, e) || t.push(f), t;
2087
+ return t.push(l), K(c, e) || t.push(f), t;
2083
2088
  })());
2084
- }, D = (e, t, r, i, a) => {
2089
+ }, k = (e, t, n, i, a) => {
2085
2090
  if (t.ui) throw Error("renderBranchScalar property ui must be invalid");
2086
2091
  if (t.array) throw Error("renderBranchScalar property array must be invalid");
2087
- let o = n(t.name);
2088
- K(s, e) && Q(c.value, e) && (o += " *");
2089
- let l = m(lt, {
2092
+ let o = r(t.name);
2093
+ K(c, e) && Q(u.value, e) && (o += " *");
2094
+ let s = m(dt, {
2090
2095
  title: o,
2091
- collapse: K(s, e),
2096
+ collapse: K(c, e),
2092
2097
  hasDelete: i !== void 0 && !a,
2093
2098
  onCollapse: (t) => {
2094
- q(s, e, t);
2099
+ q(c, e, t);
2095
2100
  },
2096
2101
  onMenu: (t, n) => {
2097
2102
  H.emit("propTreeMenu", {
@@ -2101,28 +2106,28 @@ var gn = "20px", _n = /* @__PURE__ */ p({
2101
2106
  });
2102
2107
  },
2103
2108
  onDelete: () => {
2104
- i === void 0 || a || (r.splice(i, 1), u(e.slice(0, -1), r));
2109
+ i === void 0 || a || (n.splice(i, 1), d(e.slice(0, -1), n));
2105
2110
  }
2106
- }), d = m("div", { style: { paddingLeft: gn } }, (() => {
2107
- let n = [];
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));
2109
- return n;
2111
+ }), l = m("div", { style: { paddingLeft: vn } }, (() => {
2112
+ let r = [];
2113
+ for (let i of t.children) r.push(D(e, i, (typeof n[t.key] != "object" && (n[t.key] = {}, d(e, n[t.key])), n[t.key]), void 0, !1));
2114
+ return r;
2110
2115
  })());
2111
2116
  return m("div", { style: { marginTop: "1px" } }, (() => {
2112
2117
  let t = [];
2113
- return t.push(l), K(s, e) || t.push(d), t;
2118
+ return t.push(s), K(c, e) || t.push(l), t;
2114
2119
  })());
2115
- }, O = (e, t, r, i, a) => {
2120
+ }, A = (e, t, n, i, a) => {
2116
2121
  if (!t.ui) throw Error("renderLeafArray property ui must be valid");
2117
2122
  if (!t.array) throw Error("renderLeafArray property array must be valid");
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, {
2121
- title: l,
2122
- collapse: K(s, e),
2123
+ let o = xe(e, t, n, i, a, d), s = r(t.name);
2124
+ K(c, e) && Q(u.value, e) && (s += " *");
2125
+ let l = m(dt, {
2126
+ title: s,
2127
+ collapse: K(c, e),
2123
2128
  hasCreate: !0,
2124
2129
  onCollapse: (t) => {
2125
- q(s, e, t);
2130
+ q(c, e, t);
2126
2131
  },
2127
2132
  onMenu: (t, n) => {
2128
2133
  H.emit("propTreeMenu", {
@@ -2132,32 +2137,32 @@ var gn = "20px", _n = /* @__PURE__ */ p({
2132
2137
  });
2133
2138
  },
2134
2139
  onCreate: () => {
2135
- o.push(z(t)), u(e, o);
2140
+ o.push(B(t)), d(e, o);
2136
2141
  }
2137
- }), f = m("div", { style: { paddingLeft: gn } }, (() => {
2142
+ }), f = m("div", { style: { paddingLeft: vn } }, (() => {
2138
2143
  let n = [];
2139
- for (let r = 0; r < o.length; r++) n.push(E(e, t, o, r, !1, !0));
2144
+ for (let r = 0; r < o.length; r++) n.push(D(e, t, o, r, !1, !0));
2140
2145
  return n;
2141
2146
  })());
2142
2147
  return m("div", { style: { marginTop: "1px" } }, (() => {
2143
2148
  let t = [];
2144
- return t.push(d), K(s, e) || t.push(f), t;
2149
+ return t.push(l), K(c, e) || t.push(f), t;
2145
2150
  })());
2146
- }, k = (e, t, n, r, i) => {
2151
+ }, j = (e, t, n, r, i) => {
2147
2152
  if (!t.ui) throw Error("renderLeafScalar property ui must be valid");
2148
2153
  let a;
2149
- return t.ui === "dummy" ? a = p(e, t, n, r, i) : t.ui === "strInput" ? a = h(e, t, n, r, i) : t.ui === "numInput" ? a = g(e, t, n, r, i) : t.ui === "switch" ? a = _(e, t, n, r, i) : t.ui === "select" ? a = v(e, t, n, r, i) : t.ui === "colorPicker" ? a = y(e, t, n, r, i) : t.ui === "jsonEditor" ? a = b(e, t, n, r, i) : t.ui === "multiTypes" ? a = x(e, t, n, r, i) : t.ui === "selectComp" ? a = S(e, t, n, r, i) : t.ui === "selectSlot" ? a = w(e, t, n, r, i) : t.ui === "selectAdaptSlot" ? a = T(e, t, n, r, i) : console.assert(!1, "renderLeafScalar not implemented"), a ? d(e, t, a) : m("div");
2150
- }, A = () => m("div", {
2154
+ return t.ui === "dummy" ? a = h(e, t, n, r, i) : t.ui === "strInput" ? a = g(e, t, n, r, i) : t.ui === "numInput" ? a = _(e, t, n, r, i) : t.ui === "switch" ? a = v(e, t, n, r, i) : t.ui === "select" ? a = y(e, t, n, r, i) : t.ui === "colorPicker" ? a = b(e, t, n, r, i) : t.ui === "jsonEditor" ? a = x(e, t, n, r, i) : t.ui === "multiTypes" ? a = S(e, t, n, r, i) : t.ui === "selectComp" ? a = w(e, t, n, r, i) : t.ui === "selectSlot" ? a = T(e, t, n, r, i) : t.ui === "selectAdaptSlot" ? a = E(e, t, n, r, i) : console.assert(!1, "renderLeafScalar not implemented"), a ? p(e, t, a) : m("div");
2155
+ }, M = () => m("div", {
2151
2156
  class: "text-body-medium",
2152
- style: { background: r.value }
2157
+ style: { background: i.value }
2153
2158
  }, (() => {
2154
2159
  let e = [];
2155
- if (i.value.length > 0 && o.value) for (let t of i.value) e.push(E([], t, o.value, void 0, !1));
2160
+ if (o.value.length > 0 && s.value) for (let t of o.value) e.push(D([], t, s.value, void 0, !1));
2156
2161
  return e;
2157
2162
  })());
2158
- return (e, t) => (C(), l(a, null, [f(A), f(st)], 64));
2163
+ return (e, t) => (C(), l(a, null, [f(M), f(lt)], 64));
2159
2164
  }
2160
- }), vn = /* @__PURE__ */ p({
2165
+ }), bn = /* @__PURE__ */ p({
2161
2166
  __name: "index",
2162
2167
  props: {
2163
2168
  config: {},
@@ -2169,25 +2174,25 @@ var gn = "20px", _n = /* @__PURE__ */ p({
2169
2174
  emits: ["change"],
2170
2175
  setup(e, { emit: t }) {
2171
2176
  let n = t, r = T([]);
2172
- Ke(r), P(() => {
2177
+ Je(r), F(() => {
2173
2178
  r.value = e.config;
2174
2179
  });
2175
2180
  let i = T();
2176
- Je(i), P(() => {
2181
+ Xe(i), F(() => {
2177
2182
  i.value = e.object;
2178
2183
  });
2179
2184
  let a = T("");
2180
- Be(a), P(() => {
2185
+ He(a), F(() => {
2181
2186
  a.value = e.version;
2182
2187
  });
2183
2188
  let o = T(e.type);
2184
- He(o), P(() => {
2189
+ We(o), F(() => {
2185
2190
  o.value = e.type;
2186
2191
  });
2187
2192
  let c = T("");
2188
- We(c), P(() => {
2193
+ Ke(c), F(() => {
2189
2194
  c.value = e.subtype;
2190
- }), Xe(T({
2195
+ }), Qe(T({
2191
2196
  collapse: !0,
2192
2197
  children: {}
2193
2198
  }));
@@ -2196,15 +2201,15 @@ var gn = "20px", _n = /* @__PURE__ */ p({
2196
2201
  warning: !1,
2197
2202
  children: {}
2198
2203
  });
2199
- return Qe(l), et((t, r) => {
2200
- Oe(l, e.config, e.object), n("change", t, r);
2201
- }), N([() => e.config, () => e.object], () => {
2202
- Oe(l, e.config, e.object);
2203
- }, { immediate: !0 }), (e, t) => (C(), s(_n));
2204
+ return et(l), nt((t, r) => {
2205
+ Ae(l, e.config, e.object), n("change", t, r);
2206
+ }), P([() => e.config, () => e.object], () => {
2207
+ Ae(l, e.config, e.object);
2208
+ }, { immediate: !0 }), (e, t) => (C(), s(yn));
2204
2209
  }
2205
- }), yn = (e) => {
2206
- e.component("XPropTree", vn);
2207
- }, bn = (e, t, n) => {
2210
+ }), xn = (e) => {
2211
+ e.component("XPropTree", bn);
2212
+ }, Sn = (e, t, n) => {
2208
2213
  let r = t.lastIndexOf("?"), i = e[r === -1 || r < t.lastIndexOf("/") ? t : t.slice(0, r)];
2209
2214
  return i ? typeof i == "function" ? i() : Promise.resolve(i) : new Promise((e, r) => {
2210
2215
  (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."))));
@@ -2212,14 +2217,14 @@ var gn = "20px", _n = /* @__PURE__ */ p({
2212
2217
  };
2213
2218
  //#endregion
2214
2219
  //#region src/i18n/index.ts
2215
- async function xn(e) {
2216
- return (await bn(/* @__PURE__ */ Object.assign({
2220
+ async function Cn(e) {
2221
+ return (await Sn(/* @__PURE__ */ Object.assign({
2217
2222
  "./locales/en/index.ts": () => import("./i18n-en.lvwojc1f.js").then((e) => e.t),
2218
2223
  "./locales/zhHans/index.ts": () => import("./i18n-zhHans.u8lopwp1.js").then((e) => e.t)
2219
2224
  }), `./locales/${e}/index.ts`, 4)).default;
2220
2225
  }
2221
2226
  //#endregion
2222
2227
  //#region src/index.ts
2223
- var Sn = { install: yn };
2228
+ var wn = { install: xn };
2224
2229
  //#endregion
2225
- export { Sn as default, xn as loadLocaleMessagePropTree };
2230
+ export { wn as default, Cn as loadLocaleMessagePropTree };