x-prop-tree 0.7.19 → 0.7.20

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 +275 -275
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -1,12 +1,12 @@
1
- import { provide as ae, inject as ce, defineComponent as E, ref as T, computed as L, resolveComponent as $, createBlock as B, openBlock as _, unref as P, isRef as re, withCtx as R, createVNode as b, createElementBlock as K, Fragment as fe, renderList as Te, createTextVNode as he, toDisplayString as F, resolveDirective as ee, withDirectives as j, withModifiers as X, normalizeStyle as W, createElementVNode as q, createCommentVNode as G, mergeModels as Z, useModel as z, useId as Ue, onUnmounted as we, mergeProps as Me, withKeys as Le, useTemplateRef as Je, watch as oe, watchEffect as Ke, h as k, renderSlot as ht, onMounted as He, onBeforeUnmount as Xe, reactive as kt } from "vue";
1
+ import { provide as ae, inject as ce, defineComponent as E, ref as T, computed as L, resolveComponent as U, createBlock as B, openBlock as _, unref as P, isRef as re, withCtx as R, createVNode as b, createElementBlock as K, Fragment as fe, renderList as Te, createTextVNode as he, toDisplayString as F, resolveDirective as ee, withDirectives as j, withModifiers as X, normalizeStyle as W, createElementVNode as q, createCommentVNode as G, mergeModels as Z, useModel as z, useId as $e, onUnmounted as we, mergeProps as Me, withKeys as Le, useTemplateRef as He, watch as oe, watchEffect as Ke, h as k, renderSlot as kt, onMounted as Xe, onBeforeUnmount as Fe, reactive as _t } from "vue";
2
2
  import { useI18n as I } from "vue-i18n";
3
- import { useViewStack as ke, useColor as te, eventBus as de, useSystem as ve, injectDark as _t, injectLocale as xt, openNumberDlg as Fe, openPromptDlg as Vt, globalObjects as St } from "x-essential-lib";
4
- import { getPropertyDefault as J, pkgs as Ne, parsePixelStr as Ct, parsePercentStr as $t, getPropertyTag as Ut, elements as wt } from "x-runtime-lib";
5
- import { c as ze, i as be, r as _e, v as Ge, d as Ye } from "./vendor.f0ug048x.js";
6
- import { useDisplay as We } from "vuetify";
7
- import { XBlockly as Mt } from "x-block-lib";
8
- import { globalState as Qe } from "x-state-lib";
9
- const Re = (t) => !(t instanceof Array), Ae = (t) => t instanceof Array, bt = (t, s) => {
3
+ import { useViewStack as ke, useColor as te, eventBus as de, useSystem as ve, injectDark as xt, injectLocale as St, openNumberDlg as ze, openPromptDlg as Vt, globalObjects as Ct } from "x-essential-lib";
4
+ import { getPropertyDefault as J, pkgs as Ne, parsePixelStr as Ut, parsePercentStr as $t, getPropertyTag as wt, elements as Mt, makeSlotId as Re } from "x-runtime-lib";
5
+ import { c as Ge, i as be, r as _e, v as Ye, d as We } from "./vendor.f0ug048x.js";
6
+ import { useDisplay as Qe } from "vuetify";
7
+ import { XBlockly as bt } from "x-block-lib";
8
+ import { globalState as Ze } from "x-state-lib";
9
+ const Ee = (t) => !(t instanceof Array), Ae = (t) => t instanceof Array, Pt = (t, s) => {
10
10
  const n = (e, l) => {
11
11
  if (e.ui !== l.ui || e.array !== l.array)
12
12
  return !1;
@@ -80,10 +80,10 @@ const Re = (t) => !(t instanceof Array), Ae = (t) => t instanceof Array, bt = (t
80
80
  let u = e;
81
81
  (s.ui === "switch" || s.ui === "select" || s.ui === "colorPicker" || s.ui === "multiTypes" || s.ui === "compSelect") && (e || (u = void 0)), u !== n[s.key] && (n[s.key] = u, l(t, n[s.key]));
82
82
  }
83
- }, Be = (t) => !(t instanceof Array), Pe = (t) => t instanceof Array, Pt = [
83
+ }, Be = (t) => !(t instanceof Array), Pe = (t) => t instanceof Array, Dt = [
84
84
  ["basic", "id"],
85
85
  ["basic", "name"]
86
- ], Dt = (t) => Pt.find((s) => be(t, s)), De = (t, s, n, e, l, o, i) => (t = ze(t), o !== void 0 ? (t.push(o), i && t.push(s.key)) : t.push(s.key), Dt(t) ? (e.change = !1, e.change) : s.ui ? s.array && e.children && Pe(e.children) ? Lt(
86
+ ], At = (t) => Dt.find((s) => be(t, s)), De = (t, s, n, e, l, o, i) => (t = Ge(t), o !== void 0 ? (t.push(o), i && t.push(s.key)) : t.push(s.key), At(t) ? (e.change = !1, e.change) : s.ui ? s.array && e.children && Pe(e.children) ? Nt(
87
87
  t,
88
88
  s,
89
89
  n,
@@ -91,13 +91,13 @@ const Re = (t) => !(t instanceof Array), Ae = (t) => t instanceof Array, bt = (t
91
91
  l,
92
92
  o,
93
93
  i
94
- ) : Nt(
94
+ ) : Bt(
95
95
  s,
96
96
  n,
97
97
  e,
98
98
  o,
99
99
  i
100
- ) : s.array ? At(
100
+ ) : s.array ? Tt(
101
101
  t,
102
102
  s,
103
103
  n,
@@ -105,7 +105,7 @@ const Re = (t) => !(t instanceof Array), Ae = (t) => t instanceof Array, bt = (t
105
105
  l,
106
106
  o,
107
107
  i
108
- ) : Tt(
108
+ ) : Lt(
109
109
  t,
110
110
  s,
111
111
  n,
@@ -113,7 +113,7 @@ const Re = (t) => !(t instanceof Array), Ae = (t) => t instanceof Array, bt = (t
113
113
  l,
114
114
  o,
115
115
  i
116
- )), At = (t, s, n, e, l, o, i) => {
116
+ )), Tt = (t, s, n, e, l, o, i) => {
117
117
  if (s.ui)
118
118
  return console.assert(!1, "execPropertyBranchArray property ui must be invalid"), !1;
119
119
  if (!s.array)
@@ -154,7 +154,7 @@ const Re = (t) => !(t instanceof Array), Ae = (t) => t instanceof Array, bt = (t
154
154
  });
155
155
  }
156
156
  return e.change || (e.change = !be(u, J(s))), e.change;
157
- }, Tt = (t, s, n, e, l, o, i) => {
157
+ }, Lt = (t, s, n, e, l, o, i) => {
158
158
  if (s.ui)
159
159
  return console.assert(
160
160
  !1,
@@ -177,7 +177,7 @@ const Re = (t) => !(t instanceof Array), Ae = (t) => t instanceof Array, bt = (t
177
177
  }, De(t, a, u, e.children[a.key], l) && (e.change = !0);
178
178
  }
179
179
  return e.change;
180
- }, Lt = (t, s, n, e, l, o, i) => {
180
+ }, Nt = (t, s, n, e, l, o, i) => {
181
181
  if (!s.ui)
182
182
  return console.assert(!1, "execPropertyLeafArray property ui must be valid"), !1;
183
183
  if (!s.array)
@@ -200,12 +200,12 @@ const Re = (t) => !(t instanceof Array), Ae = (t) => t instanceof Array, bt = (t
200
200
  !1
201
201
  ) && (e.change = !0);
202
202
  return e.change || (e.change = !be(u, J(s))), e.change;
203
- }, Nt = (t, s, n, e, l) => {
203
+ }, Bt = (t, s, n, e, l) => {
204
204
  if (!t.ui)
205
205
  return console.assert(!1, "execPropertyLeafScalar property ui must be valid"), !1;
206
206
  let o;
207
207
  return e !== void 0 && !l ? o = s[e] : o = s[t.key], n.change = !be(o, J(t, !0)), n.change;
208
- }, Ee = (t, s, n, e) => {
208
+ }, Je = (t, s, n, e) => {
209
209
  if (s.length <= 0 || !n) {
210
210
  t.value = {};
211
211
  return;
@@ -229,41 +229,35 @@ const Re = (t) => !(t instanceof Array), Ae = (t) => t instanceof Array, bt = (t
229
229
  return console.assert(!1, `isPropChanged state must be valid keys=${s}`), !1;
230
230
  typeof e == "string" ? Be(n.children) && (n = n.children[e]) : Pe(n.children) && (n = n.children[e]);
231
231
  }), n?.change ?? !1;
232
- }, Ze = Symbol(), je = Symbol(), Ie = Symbol(), et = Symbol(), tt = Symbol(), nt = Symbol(), lt = Symbol();
233
- function Bt(t) {
234
- ae(Ze, t);
235
- }
236
- function Oe() {
237
- return ce(Ze);
238
- }
232
+ }, je = Symbol(), Ie = Symbol(), et = Symbol(), tt = Symbol(), nt = Symbol(), lt = Symbol(), ot = Symbol();
239
233
  function Ot(t) {
240
234
  ae(je, t);
241
235
  }
242
- function qt() {
236
+ function Oe() {
243
237
  return ce(je);
244
238
  }
245
- function Kt(t) {
239
+ function qt(t) {
246
240
  ae(Ie, t);
247
241
  }
248
- function Rt() {
242
+ function Kt() {
249
243
  return ce(Ie);
250
244
  }
251
- function Et(t) {
245
+ function Rt(t) {
252
246
  ae(et, t);
253
247
  }
254
- function Jt() {
248
+ function Et() {
255
249
  return ce(et);
256
250
  }
257
- function Ht(t) {
251
+ function Jt(t) {
258
252
  ae(tt, t);
259
253
  }
260
- function Xt() {
254
+ function Ht() {
261
255
  return ce(tt);
262
256
  }
263
- function Ft(t) {
257
+ function Xt(t) {
264
258
  ae(nt, t);
265
259
  }
266
- function ot() {
260
+ function Ft() {
267
261
  return ce(nt);
268
262
  }
269
263
  function zt(t) {
@@ -272,95 +266,101 @@ function zt(t) {
272
266
  function st() {
273
267
  return ce(lt);
274
268
  }
275
- const Gt = /* @__PURE__ */ E({
269
+ function Gt(t) {
270
+ ae(ot, t);
271
+ }
272
+ function it() {
273
+ return ce(ot);
274
+ }
275
+ const Yt = /* @__PURE__ */ E({
276
276
  __name: "index",
277
277
  setup(t) {
278
- const { t: s } = I(), n = qt(), e = Rt(), l = Jt(), o = Xt(), i = T(0), u = T(0), r = T([]), a = L(() => [i.value, u.value]), d = (V) => {
278
+ const { t: s } = I(), n = Kt(), e = Et(), l = Ht(), o = Ft(), i = T(0), u = T(0), r = T([]), a = L(() => [i.value, u.value]), d = (S) => {
279
279
  const D = () => !(r.value.length <= 0 || !me(l.value, r.value)), x = () => {
280
- const S = Ce(n.value, r.value);
281
- if (S)
282
- if (S.ui) {
283
- const U = ye(e.value, r.value.slice(0, -1));
284
- if (!U)
280
+ const V = Ce(n.value, r.value);
281
+ if (V)
282
+ if (V.ui) {
283
+ const $ = ye(e.value, r.value.slice(0, -1));
284
+ if (!$)
285
285
  return;
286
- U[r.value[r.value.length - 1]] = J(S), o(r.value, U[r.value[r.value.length - 1]]);
287
- } else if (S.array) {
288
- const U = r.value[r.value.length - 1];
289
- if (U === void 0) {
286
+ $[r.value[r.value.length - 1]] = J(V), o(r.value, $[r.value[r.value.length - 1]]);
287
+ } else if (V.array) {
288
+ const $ = r.value[r.value.length - 1];
289
+ if ($ === void 0) {
290
290
  console.assert(!1, "invalid last key");
291
291
  return;
292
292
  }
293
- if (typeof U == "string") {
293
+ if (typeof $ == "string") {
294
294
  const O = ye(e.value, r.value.slice(0, -1));
295
295
  if (!O)
296
296
  return;
297
- O[r.value[r.value.length - 1]] = J(S), o(r.value, O[r.value[r.value.length - 1]]);
297
+ O[r.value[r.value.length - 1]] = J(V), o(r.value, O[r.value[r.value.length - 1]]);
298
298
  } else {
299
299
  const O = ye(e.value, r.value);
300
300
  if (!O)
301
301
  return;
302
- S.children.forEach((Q) => {
303
- O[Q.key] = J(S), o([...r.value, Q.key], O[Q.key]);
302
+ V.children.forEach((Q) => {
303
+ O[Q.key] = J(V), o([...r.value, Q.key], O[Q.key]);
304
304
  });
305
305
  }
306
306
  } else {
307
- const U = ye(e.value, r.value);
308
- if (!U)
307
+ const $ = ye(e.value, r.value);
308
+ if (!$)
309
309
  return;
310
- S.children.forEach((O) => {
311
- U[O.key] = J(S), o([...r.value, O.key], U[O.key]);
310
+ V.children.forEach((O) => {
311
+ $[O.key] = J(V), o([...r.value, O.key], $[O.key]);
312
312
  });
313
313
  }
314
314
  };
315
- D() && V.push({
315
+ D() && S.push({
316
316
  title: s("x-prop-tree.reset"),
317
317
  func: x
318
318
  });
319
- }, c = (V) => {
319
+ }, c = (S) => {
320
320
  const D = () => {
321
- const x = Ce(n.value, r.value), S = ye(e.value, r.value);
322
- localStorage.setItem("propTreeCopy", JSON.stringify({ property: x, object: S }));
321
+ const x = Ce(n.value, r.value), V = ye(e.value, r.value);
322
+ localStorage.setItem("propTreeCopy", JSON.stringify({ property: x, object: V }));
323
323
  };
324
- V.push({
324
+ S.push({
325
325
  title: s("x-prop-tree.copy"),
326
326
  func: D
327
327
  });
328
- }, f = (V) => {
328
+ }, f = (S) => {
329
329
  const D = () => {
330
- const S = localStorage.getItem("propTreeCopy");
331
- if (!S)
330
+ const V = localStorage.getItem("propTreeCopy");
331
+ if (!V)
332
332
  return !1;
333
333
  try {
334
- const { property: U } = JSON.parse(S), O = Ce(n.value, r.value);
335
- return bt(U, O);
336
- } catch (U) {
337
- console.error(U);
334
+ const { property: $ } = JSON.parse(V), O = Ce(n.value, r.value);
335
+ return Pt($, O);
336
+ } catch ($) {
337
+ console.error($);
338
338
  }
339
339
  return !1;
340
340
  }, x = () => {
341
341
  if (!D())
342
342
  return;
343
- const S = localStorage.getItem("propTreeCopy");
344
- if (S)
343
+ const V = localStorage.getItem("propTreeCopy");
344
+ if (V)
345
345
  try {
346
- const { object: U } = JSON.parse(S), O = Ce(n.value, r.value);
347
- console.log(U, O);
348
- } catch (U) {
349
- console.error(U);
346
+ const { object: $ } = JSON.parse(V), O = Ce(n.value, r.value);
347
+ console.log($, O);
348
+ } catch ($) {
349
+ console.error($);
350
350
  }
351
351
  };
352
- D() && V.push({
352
+ D() && S.push({
353
353
  title: s("x-prop-tree.paste"),
354
354
  func: x
355
355
  });
356
356
  }, v = L(() => {
357
- const V = [];
358
- return d(V), c(V), f(V), V;
359
- }), C = (V) => {
360
- i.value = V.x, u.value = V.y, r.value = V.keys;
357
+ const S = [];
358
+ return d(S), c(S), f(S), S;
359
+ }), C = (S) => {
360
+ i.value = S.x, u.value = S.y, r.value = S.keys;
361
361
  }, { open: h } = ke("propTreeMenu", C);
362
- return (V, D) => {
363
- const x = $("v-list-item-title"), S = $("v-list-item"), U = $("v-list"), O = $("v-menu");
362
+ return (S, D) => {
363
+ const x = U("v-list-item-title"), V = U("v-list-item"), $ = U("v-list"), O = U("v-menu");
364
364
  return _(), B(O, {
365
365
  modelValue: P(h),
366
366
  "onUpdate:modelValue": D[0] || (D[0] = (Q) => re(h) ? h.value = Q : null),
@@ -369,9 +369,9 @@ const Gt = /* @__PURE__ */ E({
369
369
  target: a.value
370
370
  }, {
371
371
  default: R(() => [
372
- b(U, null, {
372
+ b($, null, {
373
373
  default: R(() => [
374
- (_(!0), K(fe, null, Te(v.value, (Q, pe) => (_(), B(S, {
374
+ (_(!0), K(fe, null, Te(v.value, (Q, pe) => (_(), B(V, {
375
375
  key: pe,
376
376
  link: "",
377
377
  onClick: Q.func
@@ -394,7 +394,7 @@ const Gt = /* @__PURE__ */ E({
394
394
  }, 8, ["modelValue", "target"]);
395
395
  };
396
396
  }
397
- }), Yt = { style: { pointerEvents: "none" } }, $e = /* @__PURE__ */ E({
397
+ }), Wt = { style: { pointerEvents: "none" } }, Ue = /* @__PURE__ */ E({
398
398
  __name: "index",
399
399
  props: {
400
400
  title: {},
@@ -416,7 +416,7 @@ const Gt = /* @__PURE__ */ E({
416
416
  l("menu", a.clientX, a.clientY);
417
417
  };
418
418
  return (a, d) => {
419
- const c = $("v-icon"), f = $("v-spacer"), v = $("v-btn"), C = ee("ripple");
419
+ const c = U("v-icon"), f = U("v-spacer"), v = U("v-btn"), C = ee("ripple");
420
420
  return j((_(), K("div", {
421
421
  class: "d-flex align-center cursor-pointer",
422
422
  style: W(i.value),
@@ -429,7 +429,7 @@ const Gt = /* @__PURE__ */ E({
429
429
  class: "mr-1",
430
430
  icon: t.collapse ? "mdi-chevron-right" : "mdi-chevron-down"
431
431
  }, null, 8, ["icon"]),
432
- q("span", Yt, F(t.title), 1),
432
+ q("span", Wt, F(t.title), 1),
433
433
  b(f),
434
434
  t.hasCreate ? (_(), B(v, {
435
435
  key: 0,
@@ -452,7 +452,7 @@ const Gt = /* @__PURE__ */ E({
452
452
  ]);
453
453
  };
454
454
  }
455
- }), Wt = { class: "d-flex justify-space-between align-center" }, Qt = /* @__PURE__ */ E({
455
+ }), Qt = { class: "d-flex justify-space-between align-center" }, Zt = /* @__PURE__ */ E({
456
456
  __name: "index",
457
457
  props: /* @__PURE__ */ Z({
458
458
  hasDelete: { type: Boolean, default: !1 },
@@ -468,11 +468,11 @@ const Gt = /* @__PURE__ */ E({
468
468
  return t.hasDelete && (r = "calc(100% - 37px)"), {
469
469
  width: r
470
470
  };
471
- }), i = L(() => t.readonly), { open: u } = ke(`propTreeColorPickerMenu${Ue()}`);
471
+ }), i = L(() => t.readonly), { open: u } = ke(`propTreeColorPickerMenu${$e()}`);
472
472
  return we(() => {
473
473
  u.value = !1;
474
474
  }), (r, a) => {
475
- const d = $("v-btn"), c = $("v-color-picker"), f = $("v-menu");
475
+ const d = U("v-btn"), c = U("v-color-picker"), f = U("v-menu");
476
476
  return _(), B(f, {
477
477
  modelValue: P(u),
478
478
  "onUpdate:modelValue": a[2] || (a[2] = (v) => re(u) ? u.value = v : null),
@@ -480,7 +480,7 @@ const Gt = /* @__PURE__ */ E({
480
480
  scrim: "transparent"
481
481
  }, {
482
482
  activator: R(({ props: v }) => [
483
- q("div", Wt, [
483
+ q("div", Qt, [
484
484
  q("div", {
485
485
  class: "flex-grow-1",
486
486
  style: W(o.value)
@@ -520,7 +520,7 @@ const Gt = /* @__PURE__ */ E({
520
520
  }, 8, ["modelValue"]);
521
521
  };
522
522
  }
523
- }), Zt = { class: "text-subtitle-2 ml-1" }, jt = { class: "text-caption text-grey ml-1" }, It = /* @__PURE__ */ E({
523
+ }), jt = { class: "text-subtitle-2 ml-1" }, It = { class: "text-caption text-grey ml-1" }, en = /* @__PURE__ */ E({
524
524
  __name: "group",
525
525
  props: {
526
526
  id: {},
@@ -537,7 +537,7 @@ const Gt = /* @__PURE__ */ E({
537
537
  userSelect: "none"
538
538
  }));
539
539
  return (r, a) => {
540
- const d = $("v-icon"), c = ee("ripple");
540
+ const d = U("v-icon"), c = ee("ripple");
541
541
  return j((_(), K("div", {
542
542
  class: "d-flex align-center cursor-pointer",
543
543
  style: W(u.value),
@@ -549,14 +549,14 @@ const Gt = /* @__PURE__ */ E({
549
549
  icon: l.collapse ? "mdi-chevron-right" : "mdi-chevron-down",
550
550
  size: "small"
551
551
  }, null, 8, ["icon"]),
552
- q("span", Zt, F(l.title), 1),
553
- q("span", jt, F(l.count), 1)
552
+ q("span", jt, F(l.title), 1),
553
+ q("span", It, F(l.count), 1)
554
554
  ], 36)), [
555
555
  [c]
556
556
  ]);
557
557
  };
558
558
  }
559
- }), en = { class: "text-subtitle-1 ml-6" }, tn = /* @__PURE__ */ E({
559
+ }), tn = { class: "text-subtitle-1 ml-6" }, nn = /* @__PURE__ */ E({
560
560
  __name: "item",
561
561
  props: {
562
562
  id: {},
@@ -579,16 +579,16 @@ const Gt = /* @__PURE__ */ E({
579
579
  onMouseout: a[1] || (a[1] = (c) => i.value = !1),
580
580
  onMouseover: a[2] || (a[2] = (c) => i.value = !0)
581
581
  }, [
582
- q("span", en, F(l.title), 1)
582
+ q("span", tn, F(l.title), 1)
583
583
  ], 36)), [
584
584
  [d]
585
585
  ]);
586
586
  };
587
587
  }
588
- }), nn = { key: 0 }, ln = {
588
+ }), ln = { key: 0 }, on = {
589
589
  key: 1,
590
590
  class: "text-body-2 text-grey ml-3"
591
- }, on = /* @__PURE__ */ E({
591
+ }, sn = /* @__PURE__ */ E({
592
592
  __name: "index",
593
593
  props: {
594
594
  modelValue: {},
@@ -598,17 +598,17 @@ const Gt = /* @__PURE__ */ E({
598
598
  },
599
599
  emits: ["update:modelValue", "update:open"],
600
600
  setup(t) {
601
- const { t: s } = I(), n = z(t, "modelValue"), e = z(t, "open"), l = ot(), o = (u) => {
601
+ const { t: s } = I(), n = z(t, "modelValue"), e = z(t, "open"), l = st(), o = (u) => {
602
602
  const r = _e(l, u);
603
- r && Ge(l, u, !r.collapse);
603
+ r && Ye(l, u, !r.collapse);
604
604
  }, i = (u) => {
605
605
  n.value = u, e.value = !1, de.emit("refreshDepends");
606
606
  };
607
- return (u, r) => P(l).length > 0 ? (_(), K("div", nn, [
607
+ return (u, r) => P(l).length > 0 ? (_(), K("div", ln, [
608
608
  (_(!0), K(fe, null, Te(P(l), (a) => (_(), K(fe, {
609
609
  key: a.id
610
610
  }, [
611
- a.type === 0 ? (_(), B(It, {
611
+ a.type === 0 ? (_(), B(en, {
612
612
  key: 0,
613
613
  id: a.id,
614
614
  collapse: a.collapse,
@@ -616,16 +616,16 @@ const Gt = /* @__PURE__ */ E({
616
616
  title: a.name,
617
617
  onXClick: o
618
618
  }, null, 8, ["id", "collapse", "count", "title"])) : G("", !0),
619
- a.type === 1 && a.show ? (_(), B(tn, {
619
+ a.type === 1 && a.show ? (_(), B(nn, {
620
620
  key: 1,
621
621
  id: a.id,
622
622
  title: a.name,
623
623
  onXClick: i
624
624
  }, null, 8, ["id", "title"])) : G("", !0)
625
625
  ], 64))), 128))
626
- ])) : (_(), K("div", ln, F(P(s)("x-prop-tree.noComp")), 1));
626
+ ])) : (_(), K("div", on, F(P(s)("x-prop-tree.noComp")), 1));
627
627
  }
628
- }), sn = { class: "text-subtitle-1 ml-3" }, un = /* @__PURE__ */ E({
628
+ }), un = { class: "text-subtitle-1 ml-3" }, rn = /* @__PURE__ */ E({
629
629
  __name: "index",
630
630
  props: {
631
631
  modelValue: {},
@@ -633,7 +633,7 @@ const Gt = /* @__PURE__ */ E({
633
633
  },
634
634
  emits: ["update:modelValue"],
635
635
  setup(t) {
636
- const { t: s } = I(), n = We(), { sysBarAvail: e } = ve(), { backgroundColor1: l } = te(), o = z(t, "modelValue"), i = ot(), u = L(() => {
636
+ const { t: s } = I(), n = Qe(), { sysBarAvail: e } = ve(), { backgroundColor1: l } = te(), o = z(t, "modelValue"), i = st(), u = L(() => {
637
637
  let f = "100%";
638
638
  return n.mdAndUp.value && (f = "400px"), {
639
639
  background: l.value,
@@ -653,11 +653,11 @@ const Gt = /* @__PURE__ */ E({
653
653
  return s("x-runtime-lib.notSet");
654
654
  const f = _e(i, o.value);
655
655
  return f ? f.name : s("x-runtime-lib.compNotAvail");
656
- }), { open: c } = ke(`propTreeCompSelectDlg${Ue()}`);
656
+ }), { open: c } = ke(`propTreeCompSelectDlg${$e()}`);
657
657
  return we(() => {
658
658
  c.value = !1;
659
659
  }), (f, v) => {
660
- const C = $("v-btn"), h = $("v-sheet"), V = $("v-icon"), D = $("v-dialog");
660
+ const C = U("v-btn"), h = U("v-sheet"), S = U("v-icon"), D = U("v-dialog");
661
661
  return _(), B(D, {
662
662
  modelValue: P(c),
663
663
  "onUpdate:modelValue": v[5] || (v[5] = (x) => re(c) ? c.value = x : null),
@@ -699,11 +699,11 @@ const Gt = /* @__PURE__ */ E({
699
699
  height: 48
700
700
  }, {
701
701
  default: R(() => [
702
- b(V, {
702
+ b(S, {
703
703
  icon: "mdi-close",
704
704
  onClick: v[0] || (v[0] = (x) => c.value = !1)
705
705
  }),
706
- q("span", sn, F(P(s)("x-prop-tree.dlg.compSelect.title")), 1)
706
+ q("span", un, F(P(s)("x-prop-tree.dlg.compSelect.title")), 1)
707
707
  ]),
708
708
  _: 1
709
709
  }),
@@ -711,7 +711,7 @@ const Gt = /* @__PURE__ */ E({
711
711
  class: "overflow-y-auto",
712
712
  style: W(r.value)
713
713
  }, [
714
- b(on, {
714
+ b(sn, {
715
715
  modelValue: o.value,
716
716
  "onUpdate:modelValue": v[1] || (v[1] = (x) => o.value = x),
717
717
  open: P(c),
@@ -728,7 +728,7 @@ const Gt = /* @__PURE__ */ E({
728
728
  }, 8, ["modelValue"]);
729
729
  };
730
730
  }
731
- }), rn = /* @__PURE__ */ E({
731
+ }), an = /* @__PURE__ */ E({
732
732
  __name: "editor",
733
733
  props: {
734
734
  modelValue: { required: !0 },
@@ -740,14 +740,14 @@ const Gt = /* @__PURE__ */ E({
740
740
  },
741
741
  emits: ["update:modelValue", "update:lock", "update:scale"],
742
742
  setup(t, { expose: s }) {
743
- const n = z(t, "modelValue"), e = z(t, "lock"), l = z(t, "scale"), o = _t(), i = xt(), u = Oe(), r = Je("target"), a = () => {
743
+ const n = z(t, "modelValue"), e = z(t, "lock"), l = z(t, "scale"), o = xt(), i = St(), u = Oe(), r = He("target"), a = () => {
744
744
  const c = JSON.parse(n.value);
745
745
  r.value?.load(c);
746
746
  };
747
747
  return s({ save: () => {
748
748
  const c = r.value.save();
749
749
  n.value = JSON.stringify(c, null, 2);
750
- } }), (c, f) => (_(), B(P(Mt), {
750
+ } }), (c, f) => (_(), B(P(bt), {
751
751
  ref_key: "target",
752
752
  ref: r,
753
753
  lock: e.value,
@@ -761,7 +761,7 @@ const Gt = /* @__PURE__ */ E({
761
761
  onReady: a
762
762
  }, null, 8, ["lock", "scale", "dark", "locale", "version"]));
763
763
  }
764
- }), an = { class: "text-subtitle-1" }, cn = /* @__PURE__ */ E({
764
+ }), cn = { class: "text-subtitle-1" }, dn = /* @__PURE__ */ E({
765
765
  __name: "index",
766
766
  props: {
767
767
  modelValue: { required: !0 },
@@ -776,27 +776,27 @@ const Gt = /* @__PURE__ */ E({
776
776
  background: l.value,
777
777
  height: `calc(100% - ${v}px)`
778
778
  };
779
- }), d = L(() => s("x-prop-tree.dlg.jsonEditor.title")), { open: c } = ke(`propTreejsonEditorDlg${Ue()}`);
779
+ }), d = L(() => s("x-prop-tree.dlg.jsonEditor.title")), { open: c } = ke(`propTreejsonEditorDlg${$e()}`);
780
780
  we(() => {
781
781
  c.value = !1;
782
782
  });
783
- const f = Je("editor");
783
+ const f = He("editor");
784
784
  return oe(c, (v) => {
785
785
  v || f.value?.save();
786
786
  }), (v, C) => {
787
- const h = $("v-btn"), V = $("v-sheet"), D = $("v-spacer"), x = $("v-dialog");
787
+ const h = U("v-btn"), S = U("v-sheet"), D = U("v-spacer"), x = U("v-dialog");
788
788
  return _(), B(x, {
789
789
  modelValue: P(c),
790
- "onUpdate:modelValue": C[4] || (C[4] = (S) => re(c) ? c.value = S : null),
790
+ "onUpdate:modelValue": C[4] || (C[4] = (V) => re(c) ? c.value = V : null),
791
791
  attach: "",
792
792
  fullscreen: "",
793
793
  "no-click-animation": "",
794
794
  persistent: "",
795
795
  transition: "dialog-bottom-transition",
796
- onKeydown: C[5] || (C[5] = Le(X((S) => c.value = !1, ["stop", "prevent"]), ["esc"]))
796
+ onKeydown: C[5] || (C[5] = Le(X((V) => c.value = !1, ["stop", "prevent"]), ["esc"]))
797
797
  }, {
798
- activator: R(({ props: S }) => [
799
- b(h, Me(S, {
798
+ activator: R(({ props: V }) => [
799
+ b(h, Me(V, {
800
800
  block: "",
801
801
  density: "comfortable"
802
802
  }), {
@@ -807,18 +807,18 @@ const Gt = /* @__PURE__ */ E({
807
807
  }, 16)
808
808
  ]),
809
809
  default: R(() => [
810
- b(V, {
810
+ b(S, {
811
811
  color: P(e),
812
812
  height: "100%",
813
813
  width: "100%"
814
814
  }, {
815
815
  default: R(() => [
816
- P(n) ? (_(), B(V, {
816
+ P(n) ? (_(), B(S, {
817
817
  key: 0,
818
818
  color: P(o),
819
819
  height: 24
820
820
  }, null, 8, ["color"])) : G("", !0),
821
- b(V, {
821
+ b(S, {
822
822
  class: "d-flex align-center px-2",
823
823
  color: P(o),
824
824
  height: 48
@@ -828,9 +828,9 @@ const Gt = /* @__PURE__ */ E({
828
828
  density: "comfortable",
829
829
  icon: "mdi-close",
830
830
  variant: "text",
831
- onClick: C[0] || (C[0] = (S) => c.value = !1)
831
+ onClick: C[0] || (C[0] = (V) => c.value = !1)
832
832
  }),
833
- q("span", an, F(P(s)("x-prop-tree.dlg.jsonEditor.title")), 1),
833
+ q("span", cn, F(P(s)("x-prop-tree.dlg.jsonEditor.title")), 1),
834
834
  b(D)
835
835
  ]),
836
836
  _: 1
@@ -838,15 +838,15 @@ const Gt = /* @__PURE__ */ E({
838
838
  q("div", {
839
839
  style: W(a.value)
840
840
  }, [
841
- b(rn, {
841
+ b(an, {
842
842
  ref_key: "editor",
843
843
  ref: f,
844
844
  modelValue: i.value,
845
- "onUpdate:modelValue": C[1] || (C[1] = (S) => i.value = S),
845
+ "onUpdate:modelValue": C[1] || (C[1] = (V) => i.value = V),
846
846
  lock: u.value,
847
- "onUpdate:lock": C[2] || (C[2] = (S) => u.value = S),
847
+ "onUpdate:lock": C[2] || (C[2] = (V) => u.value = V),
848
848
  scale: r.value,
849
- "onUpdate:scale": C[3] || (C[3] = (S) => r.value = S)
849
+ "onUpdate:scale": C[3] || (C[3] = (V) => r.value = V)
850
850
  }, null, 8, ["modelValue", "lock", "scale"])
851
851
  ], 4)
852
852
  ]),
@@ -857,7 +857,7 @@ const Gt = /* @__PURE__ */ E({
857
857
  }, 8, ["modelValue"]);
858
858
  };
859
859
  }
860
- }), dn = { class: "d-flex justify-space-between align-center my-2" }, mn = { class: "flex-grow-1" }, fn = /* @__PURE__ */ E({
860
+ }), mn = { class: "d-flex justify-space-between align-center my-2" }, fn = { class: "flex-grow-1" }, vn = /* @__PURE__ */ E({
861
861
  __name: "index",
862
862
  props: /* @__PURE__ */ Z({
863
863
  hasDelete: { type: Boolean, default: !1 },
@@ -870,10 +870,10 @@ const Gt = /* @__PURE__ */ E({
870
870
  setup(t, { emit: s }) {
871
871
  const { t: n } = I(), { isMobile: e } = ve(), l = z(t, "modelValue"), o = s, i = Oe(), u = L(() => Ne[i.value]?.types[t.types]), r = T(0), a = L(() => {
872
872
  const C = [];
873
- return u.value?.forEach(({ title: h }, V) => {
873
+ return u.value?.forEach(({ title: h }, S) => {
874
874
  C.push({
875
875
  title: n(h),
876
- value: V
876
+ value: S
877
877
  });
878
878
  }), C;
879
879
  });
@@ -885,7 +885,7 @@ const Gt = /* @__PURE__ */ E({
885
885
  }, f = T(0), v = async (C) => {
886
886
  if (!C || !e() || d.value.ui !== "pixelInput" && d.value.ui !== "percentInput")
887
887
  return;
888
- const h = await Fe({
888
+ const h = await ze({
889
889
  title: "",
890
890
  value: f.value,
891
891
  precision: d.value.precision,
@@ -896,17 +896,17 @@ const Gt = /* @__PURE__ */ E({
896
896
  h !== void 0 && (f.value = h);
897
897
  };
898
898
  return Ke(() => {
899
- d.value?.ui === "pixelInput" ? f.value = Ct(l.value) : d.value?.ui === "percentInput" && (f.value = $t(l.value));
899
+ d.value?.ui === "pixelInput" ? f.value = Ut(l.value) : d.value?.ui === "percentInput" && (f.value = $t(l.value));
900
900
  }), oe(f, (C) => {
901
901
  d.value?.ui === "pixelInput" ? l.value = C + "px" : d.value?.ui === "percentInput" && (l.value = C + "%");
902
902
  }), (C, h) => {
903
- const V = $("v-select"), D = $("v-number-input"), x = $("v-btn"), S = ee("ripple");
904
- return _(), K("div", dn, [
905
- q("div", mn, [
906
- j(b(V, {
903
+ const S = U("v-select"), D = U("v-number-input"), x = U("v-btn"), V = ee("ripple");
904
+ return _(), K("div", mn, [
905
+ q("div", fn, [
906
+ j(b(S, {
907
907
  modelValue: r.value,
908
908
  "onUpdate:modelValue": [
909
- h[0] || (h[0] = (U) => r.value = U),
909
+ h[0] || (h[0] = ($) => r.value = $),
910
910
  c
911
911
  ],
912
912
  density: "compact",
@@ -915,7 +915,7 @@ const Gt = /* @__PURE__ */ E({
915
915
  "single-line": ""
916
916
  }, null, 8, ["modelValue", "items"]), [
917
917
  [
918
- S,
918
+ V,
919
919
  void 0,
920
920
  void 0,
921
921
  { stop: !0 }
@@ -924,7 +924,7 @@ const Gt = /* @__PURE__ */ E({
924
924
  d.value?.ui === "pixelInput" || d.value?.ui === "percentInput" ? j((_(), B(D, {
925
925
  key: 0,
926
926
  modelValue: f.value,
927
- "onUpdate:modelValue": h[1] || (h[1] = (U) => f.value = U),
927
+ "onUpdate:modelValue": h[1] || (h[1] = ($) => f.value = $),
928
928
  "control-variant": "stacked",
929
929
  density: "compact",
930
930
  "hide-details": "",
@@ -936,7 +936,7 @@ const Gt = /* @__PURE__ */ E({
936
936
  "onUpdate:focused": v
937
937
  }, null, 8, ["modelValue", "max", "min", "precision", "step"])), [
938
938
  [
939
- S,
939
+ V,
940
940
  void 0,
941
941
  void 0,
942
942
  { stop: !0 }
@@ -949,12 +949,12 @@ const Gt = /* @__PURE__ */ E({
949
949
  density: "compact",
950
950
  icon: "mdi-minus",
951
951
  variant: "text",
952
- onClick: h[2] || (h[2] = X((U) => o("delete"), ["stop"]))
952
+ onClick: h[2] || (h[2] = X(($) => o("delete"), ["stop"]))
953
953
  })) : G("", !0)
954
954
  ]);
955
955
  };
956
956
  }
957
- }), vn = { class: "d-flex justify-space-between align-center" }, pn = /* @__PURE__ */ E({
957
+ }), pn = { class: "d-flex justify-space-between align-center" }, gn = /* @__PURE__ */ E({
958
958
  __name: "index",
959
959
  props: /* @__PURE__ */ Z({
960
960
  hasDelete: { type: Boolean, default: !1 },
@@ -973,7 +973,7 @@ const Gt = /* @__PURE__ */ E({
973
973
  const { isMobile: n } = ve(), e = z(t, "modelValue"), l = s, o = async (i) => {
974
974
  if (!i || t.readonly || !n())
975
975
  return;
976
- const u = await Fe({
976
+ const u = await ze({
977
977
  title: "",
978
978
  value: e.value,
979
979
  precision: t.precision,
@@ -984,8 +984,8 @@ const Gt = /* @__PURE__ */ E({
984
984
  u !== void 0 && (e.value = u);
985
985
  };
986
986
  return (i, u) => {
987
- const r = $("v-number-input"), a = $("v-btn"), d = ee("ripple");
988
- return _(), K("div", vn, [
987
+ const r = U("v-number-input"), a = U("v-btn"), d = ee("ripple");
988
+ return _(), K("div", pn, [
989
989
  j(b(r, {
990
990
  modelValue: e.value,
991
991
  "onUpdate:modelValue": u[0] || (u[0] = (c) => e.value = c),
@@ -1018,7 +1018,7 @@ const Gt = /* @__PURE__ */ E({
1018
1018
  ]);
1019
1019
  };
1020
1020
  }
1021
- }), gn = { class: "d-flex justify-space-between align-center" }, yn = /* @__PURE__ */ E({
1021
+ }), yn = { class: "d-flex justify-space-between align-center" }, hn = /* @__PURE__ */ E({
1022
1022
  __name: "index",
1023
1023
  props: /* @__PURE__ */ Z({
1024
1024
  hasDelete: { type: Boolean, default: !1 },
@@ -1037,8 +1037,8 @@ const Gt = /* @__PURE__ */ E({
1037
1037
  }), u;
1038
1038
  });
1039
1039
  return (u, r) => {
1040
- const a = $("v-select"), d = $("v-btn"), c = ee("ripple");
1041
- return _(), K("div", gn, [
1040
+ const a = U("v-select"), d = U("v-btn"), c = ee("ripple");
1041
+ return _(), K("div", yn, [
1042
1042
  j(b(a, {
1043
1043
  modelValue: e.value,
1044
1044
  "onUpdate:modelValue": r[0] || (r[0] = (f) => e.value = f),
@@ -1066,7 +1066,7 @@ const Gt = /* @__PURE__ */ E({
1066
1066
  ]);
1067
1067
  };
1068
1068
  }
1069
- }), hn = { class: "text-subtitle-2 ml-1" }, kn = { class: "text-caption text-grey ml-1" }, _n = /* @__PURE__ */ E({
1069
+ }), kn = { class: "text-subtitle-2 ml-1" }, _n = { class: "text-caption text-grey ml-1" }, xn = /* @__PURE__ */ E({
1070
1070
  __name: "group",
1071
1071
  props: {
1072
1072
  id: {},
@@ -1083,7 +1083,7 @@ const Gt = /* @__PURE__ */ E({
1083
1083
  userSelect: "none"
1084
1084
  }));
1085
1085
  return (r, a) => {
1086
- const d = $("v-icon"), c = ee("ripple");
1086
+ const d = U("v-icon"), c = ee("ripple");
1087
1087
  return j((_(), K("div", {
1088
1088
  class: "d-flex align-center cursor-pointer",
1089
1089
  style: W(u.value),
@@ -1095,14 +1095,14 @@ const Gt = /* @__PURE__ */ E({
1095
1095
  icon: l.collapse ? "mdi-chevron-right" : "mdi-chevron-down",
1096
1096
  size: "small"
1097
1097
  }, null, 8, ["icon"]),
1098
- q("span", hn, F(l.title), 1),
1099
- q("span", kn, F(l.count), 1)
1098
+ q("span", kn, F(l.title), 1),
1099
+ q("span", _n, F(l.count), 1)
1100
1100
  ], 36)), [
1101
1101
  [c]
1102
1102
  ]);
1103
1103
  };
1104
1104
  }
1105
- }), xn = { class: "text-subtitle-1 ml-6" }, Vn = /* @__PURE__ */ E({
1105
+ }), Sn = { class: "text-subtitle-1 ml-6" }, Vn = /* @__PURE__ */ E({
1106
1106
  __name: "item",
1107
1107
  props: {
1108
1108
  id: {},
@@ -1125,13 +1125,13 @@ const Gt = /* @__PURE__ */ E({
1125
1125
  onMouseout: a[1] || (a[1] = (c) => i.value = !1),
1126
1126
  onMouseover: a[2] || (a[2] = (c) => i.value = !0)
1127
1127
  }, [
1128
- q("span", xn, F(l.title), 1)
1128
+ q("span", Sn, F(l.title), 1)
1129
1129
  ], 36)), [
1130
1130
  [d]
1131
1131
  ]);
1132
1132
  };
1133
1133
  }
1134
- }), Sn = { key: 0 }, Cn = {
1134
+ }), Cn = { key: 0 }, Un = {
1135
1135
  key: 1,
1136
1136
  class: "text-body-2 text-grey ml-3"
1137
1137
  }, $n = /* @__PURE__ */ E({
@@ -1144,17 +1144,17 @@ const Gt = /* @__PURE__ */ E({
1144
1144
  },
1145
1145
  emits: ["update:modelValue", "update:open"],
1146
1146
  setup(t) {
1147
- const { t: s } = I(), n = z(t, "modelValue"), e = z(t, "open"), l = st(), o = (u) => {
1147
+ const { t: s } = I(), n = z(t, "modelValue"), e = z(t, "open"), l = it(), o = (u) => {
1148
1148
  const r = _e(l, u);
1149
- r && Ge(l, u, !r.collapse);
1149
+ r && Ye(l, u, !r.collapse);
1150
1150
  }, i = (u) => {
1151
1151
  n.value = u, e.value = !1;
1152
1152
  };
1153
- return (u, r) => P(l).length > 0 ? (_(), K("div", Sn, [
1153
+ return (u, r) => P(l).length > 0 ? (_(), K("div", Cn, [
1154
1154
  (_(!0), K(fe, null, Te(P(l), (a) => (_(), K(fe, {
1155
1155
  key: a.id
1156
1156
  }, [
1157
- a.type === 0 ? (_(), B(_n, {
1157
+ a.type === 0 ? (_(), B(xn, {
1158
1158
  key: 0,
1159
1159
  id: a.id,
1160
1160
  collapse: a.collapse,
@@ -1169,9 +1169,9 @@ const Gt = /* @__PURE__ */ E({
1169
1169
  onXClick: i
1170
1170
  }, null, 8, ["id", "title"])) : G("", !0)
1171
1171
  ], 64))), 128))
1172
- ])) : (_(), K("div", Cn, F(P(s)("x-prop-tree.noSlot")), 1));
1172
+ ])) : (_(), K("div", Un, F(P(s)("x-prop-tree.noSlot")), 1));
1173
1173
  }
1174
- }), Un = { class: "text-subtitle-1 ml-3" }, wn = /* @__PURE__ */ E({
1174
+ }), wn = { class: "text-subtitle-1 ml-3" }, Mn = /* @__PURE__ */ E({
1175
1175
  __name: "index",
1176
1176
  props: {
1177
1177
  modelValue: {},
@@ -1179,7 +1179,7 @@ const Gt = /* @__PURE__ */ E({
1179
1179
  },
1180
1180
  emits: ["update:modelValue"],
1181
1181
  setup(t) {
1182
- const { t: s } = I(), n = We(), { sysBarAvail: e } = ve(), { backgroundColor1: l } = te(), o = z(t, "modelValue"), i = st(), u = L(() => {
1182
+ const { t: s } = I(), n = Qe(), { sysBarAvail: e } = ve(), { backgroundColor1: l } = te(), o = z(t, "modelValue"), i = it(), u = L(() => {
1183
1183
  let f = "100%";
1184
1184
  return n.mdAndUp.value && (f = "400px"), {
1185
1185
  background: l.value,
@@ -1199,11 +1199,11 @@ const Gt = /* @__PURE__ */ E({
1199
1199
  return s("x-runtime-lib.notSet");
1200
1200
  const f = _e(i, o.value);
1201
1201
  return f ? f.name : s("x-runtime-lib.slotNotAvail");
1202
- }), { open: c } = ke(`propTreeSlotSelectDlg${Ue()}`);
1202
+ }), { open: c } = ke(`propTreeSlotSelectDlg${$e()}`);
1203
1203
  return we(() => {
1204
1204
  c.value = !1;
1205
1205
  }), (f, v) => {
1206
- const C = $("v-btn"), h = $("v-sheet"), V = $("v-icon"), D = $("v-dialog");
1206
+ const C = U("v-btn"), h = U("v-sheet"), S = U("v-icon"), D = U("v-dialog");
1207
1207
  return _(), B(D, {
1208
1208
  modelValue: P(c),
1209
1209
  "onUpdate:modelValue": v[5] || (v[5] = (x) => re(c) ? c.value = x : null),
@@ -1245,11 +1245,11 @@ const Gt = /* @__PURE__ */ E({
1245
1245
  height: 48
1246
1246
  }, {
1247
1247
  default: R(() => [
1248
- b(V, {
1248
+ b(S, {
1249
1249
  icon: "mdi-close",
1250
1250
  onClick: v[0] || (v[0] = (x) => c.value = !1)
1251
1251
  }),
1252
- q("span", Un, F(P(s)("x-prop-tree.dlg.slotSelect.title")), 1)
1252
+ q("span", wn, F(P(s)("x-prop-tree.dlg.slotSelect.title")), 1)
1253
1253
  ]),
1254
1254
  _: 1
1255
1255
  }),
@@ -1274,7 +1274,7 @@ const Gt = /* @__PURE__ */ E({
1274
1274
  }, 8, ["modelValue"]);
1275
1275
  };
1276
1276
  }
1277
- }), Mn = { class: "d-flex justify-space-between align-center" }, bn = /* @__PURE__ */ E({
1277
+ }), bn = { class: "d-flex justify-space-between align-center" }, Pn = /* @__PURE__ */ E({
1278
1278
  __name: "index",
1279
1279
  props: /* @__PURE__ */ Z({
1280
1280
  hasDelete: { type: Boolean, default: !1 },
@@ -1295,8 +1295,8 @@ const Gt = /* @__PURE__ */ E({
1295
1295
  u !== void 0 && (e.value = u);
1296
1296
  };
1297
1297
  return (i, u) => {
1298
- const r = $("v-text-field"), a = $("v-btn"), d = ee("ripple");
1299
- return _(), K("div", Mn, [
1298
+ const r = U("v-text-field"), a = U("v-btn"), d = ee("ripple");
1299
+ return _(), K("div", bn, [
1300
1300
  j(b(r, {
1301
1301
  modelValue: e.value,
1302
1302
  "onUpdate:modelValue": u[0] || (u[0] = (c) => e.value = c),
@@ -1324,7 +1324,7 @@ const Gt = /* @__PURE__ */ E({
1324
1324
  ]);
1325
1325
  };
1326
1326
  }
1327
- }), Pn = { class: "d-flex justify-space-between align-center" }, Dn = /* @__PURE__ */ E({
1327
+ }), Dn = { class: "d-flex justify-space-between align-center" }, An = /* @__PURE__ */ E({
1328
1328
  __name: "index",
1329
1329
  props: /* @__PURE__ */ Z({
1330
1330
  hasDelete: { type: Boolean, default: !1 },
@@ -1337,8 +1337,8 @@ const Gt = /* @__PURE__ */ E({
1337
1337
  setup(t, { emit: s }) {
1338
1338
  const n = z(t, "modelValue"), e = s;
1339
1339
  return (l, o) => {
1340
- const i = $("v-switch"), u = $("v-btn");
1341
- return _(), K("div", Pn, [
1340
+ const i = U("v-switch"), u = U("v-btn");
1341
+ return _(), K("div", Dn, [
1342
1342
  b(i, {
1343
1343
  modelValue: n.value,
1344
1344
  "onUpdate:modelValue": o[0] || (o[0] = (r) => n.value = r),
@@ -1360,8 +1360,8 @@ const Gt = /* @__PURE__ */ E({
1360
1360
  };
1361
1361
  }
1362
1362
  });
1363
- function An(t) {
1364
- return { renderUiColorPicker: (n, e, l, o, i) => e.ui !== "colorPicker" ? (console.assert(!1), k("div", "renderUiColorPicker property ui must be colorPicker")) : k(Qt, {
1363
+ function Tn(t) {
1364
+ return { renderUiColorPicker: (n, e, l, o, i) => e.ui !== "colorPicker" ? (console.assert(!1), k("div", "renderUiColorPicker property ui must be colorPicker")) : k(Zt, {
1365
1365
  modelValue: ne(
1366
1366
  n,
1367
1367
  e,
@@ -1388,8 +1388,8 @@ function An(t) {
1388
1388
  readonly: e.readonly
1389
1389
  }) };
1390
1390
  }
1391
- function Tn(t) {
1392
- return { renderUiCompSelect: (n, e, l, o, i) => e.ui !== "compSelect" ? (console.assert(!1), k("div", "renderUiCompSelect property ui must be compSelect")) : k(un, {
1391
+ function Ln(t) {
1392
+ return { renderUiCompSelect: (n, e, l, o, i) => e.ui !== "compSelect" ? (console.assert(!1), k("div", "renderUiCompSelect property ui must be compSelect")) : k(rn, {
1393
1393
  modelValue: ne(
1394
1394
  n,
1395
1395
  e,
@@ -1411,7 +1411,7 @@ function Tn(t) {
1411
1411
  }
1412
1412
  }) };
1413
1413
  }
1414
- function Ln(t) {
1414
+ function Nn(t) {
1415
1415
  return { renderUiDummy: (n, e, l, o, i) => {
1416
1416
  if (e.ui !== "dummy") {
1417
1417
  console.assert(!1, "renderUiDummy property ui must be dummy");
@@ -1420,8 +1420,8 @@ function Ln(t) {
1420
1420
  ne(n, e, l, t, o, i);
1421
1421
  } };
1422
1422
  }
1423
- function Nn(t) {
1424
- return { renderUiJsonEditor: (n, e, l, o, i) => e.ui !== "jsonEditor" ? k("div", "renderUijsonEditor property ui must be jsonEditor") : k(cn, {
1423
+ function Bn(t) {
1424
+ return { renderUiJsonEditor: (n, e, l, o, i) => e.ui !== "jsonEditor" ? k("div", "renderUijsonEditor property ui must be jsonEditor") : k(dn, {
1425
1425
  modelValue: ne(
1426
1426
  n,
1427
1427
  e,
@@ -1443,8 +1443,8 @@ function Nn(t) {
1443
1443
  }
1444
1444
  }) };
1445
1445
  }
1446
- function Bn(t) {
1447
- return { renderUiMultiTypes: (n, e, l, o, i) => e.ui !== "multiTypes" ? (console.assert(!1), k("div", "renderUiMultiTypes property ui must be multiTypes")) : k(fn, {
1446
+ function On(t) {
1447
+ return { renderUiMultiTypes: (n, e, l, o, i) => e.ui !== "multiTypes" ? (console.assert(!1), k("div", "renderUiMultiTypes property ui must be multiTypes")) : k(vn, {
1448
1448
  modelValue: ne(
1449
1449
  n,
1450
1450
  e,
@@ -1471,8 +1471,8 @@ function Bn(t) {
1471
1471
  types: e.types
1472
1472
  }) };
1473
1473
  }
1474
- function On(t) {
1475
- return { renderUiNumInput: (n, e, l, o, i) => e.ui !== "numInput" ? (console.assert(!1), k("div", "renderUiNumInput property ui must be numInput")) : k(pn, {
1474
+ function qn(t) {
1475
+ return { renderUiNumInput: (n, e, l, o, i) => e.ui !== "numInput" ? (console.assert(!1), k("div", "renderUiNumInput property ui must be numInput")) : k(gn, {
1476
1476
  modelValue: ne(
1477
1477
  n,
1478
1478
  e,
@@ -1503,7 +1503,7 @@ function On(t) {
1503
1503
  readonly: e.readonly
1504
1504
  }) };
1505
1505
  }
1506
- const qn = /* @__PURE__ */ E({
1506
+ const Kn = /* @__PURE__ */ E({
1507
1507
  __name: "index",
1508
1508
  props: {
1509
1509
  minHeight: {}
@@ -1528,20 +1528,20 @@ const qn = /* @__PURE__ */ E({
1528
1528
  onMouseout: a[0] || (a[0] = (c) => o.value = !1),
1529
1529
  onMouseover: a[1] || (a[1] = (c) => o.value = !0)
1530
1530
  }, [
1531
- ht(r.$slots, "default")
1531
+ kt(r.$slots, "default")
1532
1532
  ], 36)), [
1533
1533
  [d]
1534
1534
  ]);
1535
1535
  };
1536
1536
  }
1537
1537
  });
1538
- function Kn(t, s, n) {
1538
+ function Rn(t, s, n) {
1539
1539
  const { t: e } = I();
1540
1540
  return { renderProperty: (o, i, u) => {
1541
1541
  const r = o[o.length - 1];
1542
1542
  let d = typeof r == "number" ? `[${r + 1}]` : e(i.name);
1543
1543
  return me(t.value, o) && (d += " *"), k(
1544
- qn,
1544
+ Kn,
1545
1545
  {
1546
1546
  minHeight: s.value,
1547
1547
  onMenu: (c, f) => {
@@ -1558,8 +1558,8 @@ function Kn(t, s, n) {
1558
1558
  );
1559
1559
  } };
1560
1560
  }
1561
- function Rn(t) {
1562
- return { renderUiSelect: (n, e, l, o, i) => e.ui !== "select" ? (console.assert(!1), k("div", "renderUiSelect property ui must be select")) : k(yn, {
1561
+ function En(t) {
1562
+ return { renderUiSelect: (n, e, l, o, i) => e.ui !== "select" ? (console.assert(!1), k("div", "renderUiSelect property ui must be select")) : k(hn, {
1563
1563
  modelValue: ne(
1564
1564
  n,
1565
1565
  e,
@@ -1587,8 +1587,8 @@ function Rn(t) {
1587
1587
  readonly: e.readonly
1588
1588
  }) };
1589
1589
  }
1590
- function En(t) {
1591
- return { renderUiSlotSelect: (n, e, l, o, i) => e.ui !== "slotSelect" ? (console.assert(!1), k("div", "renderUiSlotSelect property ui must be slotSelect")) : k(wn, {
1590
+ function Jn(t) {
1591
+ return { renderUiSlotSelect: (n, e, l, o, i) => e.ui !== "slotSelect" ? (console.assert(!1), k("div", "renderUiSlotSelect property ui must be slotSelect")) : k(Mn, {
1592
1592
  modelValue: ne(
1593
1593
  n,
1594
1594
  e,
@@ -1610,8 +1610,8 @@ function En(t) {
1610
1610
  }
1611
1611
  }) };
1612
1612
  }
1613
- function Jn(t) {
1614
- return { renderUiStrInput: (n, e, l, o, i) => e.ui !== "strInput" ? (console.assert(!1), k("div", "renderUiStrInput property ui must be strInput")) : k(bn, {
1613
+ function Hn(t) {
1614
+ return { renderUiStrInput: (n, e, l, o, i) => e.ui !== "strInput" ? (console.assert(!1), k("div", "renderUiStrInput property ui must be strInput")) : k(Pn, {
1615
1615
  modelValue: e.static ? e.value : ne(
1616
1616
  n,
1617
1617
  e,
@@ -1638,8 +1638,8 @@ function Jn(t) {
1638
1638
  readonly: e.static || e.readonly
1639
1639
  }) };
1640
1640
  }
1641
- function Hn(t) {
1642
- return { renderUiSwitch: (n, e, l, o, i) => e.ui !== "switch" ? (console.assert(!1), k("div", "renderUiSwitch property ui must be switch")) : k(Dn, {
1641
+ function Xn(t) {
1642
+ return { renderUiSwitch: (n, e, l, o, i) => e.ui !== "switch" ? (console.assert(!1), k("div", "renderUiSwitch property ui must be switch")) : k(An, {
1643
1643
  modelValue: ne(
1644
1644
  n,
1645
1645
  e,
@@ -1666,11 +1666,11 @@ function Hn(t) {
1666
1666
  readonly: e.readonly
1667
1667
  }) };
1668
1668
  }
1669
- function Xn() {
1669
+ function Fn() {
1670
1670
  const t = T([]);
1671
- Ft(t);
1671
+ zt(t);
1672
1672
  const s = () => {
1673
- const { activeApp: o, depends: i } = Qe.app, u = [];
1673
+ const { activeApp: o, depends: i } = Ze.app, u = [];
1674
1674
  for (const { id: r, name: a, position: d } of o.compGroups) {
1675
1675
  const c = t.value.find((f) => f.id === r);
1676
1676
  u.push({
@@ -1683,7 +1683,7 @@ function Xn() {
1683
1683
  }
1684
1684
  for (const { id: r, groupId: a, name: d, position: c } of o.comps)
1685
1685
  i[r] && u.push({ id: r, type: 1, name: d, position: c, group: a });
1686
- Ye(u, !0), t.value = u;
1686
+ We(u, !0), t.value = u;
1687
1687
  };
1688
1688
  let n;
1689
1689
  const e = () => {
@@ -1693,15 +1693,15 @@ function Xn() {
1693
1693
  }, l = () => {
1694
1694
  clearTimeout(n), n = void 0;
1695
1695
  };
1696
- He(() => {
1696
+ Xe(() => {
1697
1697
  e();
1698
- }), Xe(() => {
1698
+ }), Fe(() => {
1699
1699
  l();
1700
1700
  });
1701
1701
  }
1702
- function Fn(t, s, n) {
1703
- const { i18n: e } = St, l = T([]);
1704
- zt(l);
1702
+ function zn(t, s, n) {
1703
+ const { i18n: e } = Ct, l = T([]);
1704
+ Gt(l);
1705
1705
  const o = () => {
1706
1706
  if (!t.value || !s.value || !n.value)
1707
1707
  return;
@@ -1710,60 +1710,60 @@ function Fn(t, s, n) {
1710
1710
  console.assert(!1, `invalid version=${t.value}`);
1711
1711
  return;
1712
1712
  }
1713
- const d = Ut(s.value, n.value), c = [];
1713
+ const d = wt(s.value, n.value), c = [];
1714
1714
  for (let h = 0; h < a.groups[d].length; h++) {
1715
- const V = a.groups[d][h], D = _e(l, V.key);
1715
+ const S = a.groups[d][h], D = _e(l, S.key);
1716
1716
  c.push({
1717
- id: V.key,
1717
+ id: S.key,
1718
1718
  type: 0,
1719
- name: e.global.t(V.name),
1719
+ name: e.global.t(S.name),
1720
1720
  position: h,
1721
1721
  collapse: D?.collapse ?? !0,
1722
1722
  count: 0
1723
1723
  });
1724
1724
  let x = 0;
1725
- for (const S of V.items) {
1726
- const U = wt[S];
1727
- if (U && !U.internal && U.slots)
1728
- for (const O of U.slots) {
1729
- const Q = `element/${U.key}/${O.key}`, pe = `${e.global.t(U.name)} / ${e.global.t(O.name)}`;
1725
+ for (const V of S.items) {
1726
+ const $ = Mt[V];
1727
+ if ($ && !$.internal && $.slots)
1728
+ for (const O of $.slots) {
1729
+ const Q = Re("elementSlot", $.key, O.key), pe = `${e.global.t($.name)} / ${e.global.t(O.name)}`;
1730
1730
  c.push({
1731
1731
  id: Q,
1732
1732
  type: 1,
1733
1733
  name: pe,
1734
1734
  position: x++,
1735
- group: V.key
1735
+ group: S.key
1736
1736
  });
1737
1737
  }
1738
1738
  }
1739
1739
  }
1740
- const { activeApp: f, depends: v } = Qe.app;
1741
- for (const { id: h, name: V, position: D } of f.compGroups) {
1742
- const x = l.value.find((S) => S.id);
1740
+ const { activeApp: f, depends: v } = Ze.app;
1741
+ for (const { id: h, name: S, position: D } of f.compGroups) {
1742
+ const x = l.value.find((V) => V.id);
1743
1743
  c.push({
1744
1744
  id: h,
1745
1745
  type: 0,
1746
- name: V,
1746
+ name: S,
1747
1747
  position: D,
1748
1748
  collapse: x?.collapse ?? !0
1749
1749
  });
1750
1750
  }
1751
1751
  let C = 0;
1752
1752
  for (const h of f.comps) {
1753
- const V = v[h.id];
1754
- if (V && V.meta.slots)
1755
- for (const D of V.meta.slots) {
1756
- const x = `custom/${h.id}/${D.id}`, S = `${h.name} / ${D.name}`;
1753
+ const S = v[h.id];
1754
+ if (S && S.meta.slots)
1755
+ for (const D of S.meta.slots) {
1756
+ const x = Re("customSlot", h.id, D.id), V = `${h.name} / ${D.name}`;
1757
1757
  c.push({
1758
1758
  id: x,
1759
1759
  type: 1,
1760
- name: S,
1760
+ name: V,
1761
1761
  position: C++,
1762
1762
  group: h.groupId
1763
1763
  });
1764
1764
  }
1765
1765
  }
1766
- Ye(c, !0), l.value = c;
1766
+ We(c, !0), l.value = c;
1767
1767
  };
1768
1768
  let i;
1769
1769
  const u = () => {
@@ -1773,15 +1773,15 @@ function Fn(t, s, n) {
1773
1773
  }, r = () => {
1774
1774
  clearTimeout(i), i = void 0;
1775
1775
  };
1776
- He(() => {
1776
+ Xe(() => {
1777
1777
  u();
1778
- }), Xe(() => {
1778
+ }), Fe(() => {
1779
1779
  r();
1780
1780
  }), oe([t, s, n], () => {
1781
1781
  o(), u();
1782
1782
  });
1783
1783
  }
1784
- const zn = /* @__PURE__ */ E({
1784
+ const Gn = /* @__PURE__ */ E({
1785
1785
  __name: "index",
1786
1786
  props: {
1787
1787
  unique: {},
@@ -1793,13 +1793,13 @@ const zn = /* @__PURE__ */ E({
1793
1793
  },
1794
1794
  emits: ["change"],
1795
1795
  setup(t, { emit: s }) {
1796
- const { t: n } = I(), { backgroundColor1: e } = te(), l = t, o = s, i = T("20px"), u = T("56px"), r = T("200px"), a = kt({}), d = T({}), c = (p, m) => {
1797
- Ee(d, l.config, l.object), o("change", p, m);
1796
+ const { t: n } = I(), { backgroundColor1: e } = te(), l = t, o = s, i = T("20px"), u = T("56px"), r = T("200px"), a = _t({}), d = T({}), c = (p, m) => {
1797
+ Je(d, l.config, l.object), o("change", p, m);
1798
1798
  };
1799
1799
  oe(
1800
1800
  [() => l.config, () => l.object],
1801
1801
  () => {
1802
- Ee(
1802
+ Je(
1803
1803
  d,
1804
1804
  l.config,
1805
1805
  l.object,
@@ -1811,7 +1811,7 @@ const zn = /* @__PURE__ */ E({
1811
1811
  { immediate: !0 }
1812
1812
  );
1813
1813
  const f = T(l.version);
1814
- Bt(f), oe(
1814
+ Ot(f), oe(
1815
1815
  () => l.version,
1816
1816
  () => {
1817
1817
  f.value = l.version;
@@ -1832,45 +1832,45 @@ const zn = /* @__PURE__ */ E({
1832
1832
  }
1833
1833
  );
1834
1834
  const h = T(l.config);
1835
- Ot(h), oe(
1835
+ qt(h), oe(
1836
1836
  () => l.config,
1837
1837
  () => {
1838
1838
  h.value = l.config;
1839
1839
  }
1840
1840
  );
1841
- const V = T(l.object);
1842
- Kt(V), oe(
1841
+ const S = T(l.object);
1842
+ Rt(S), oe(
1843
1843
  () => l.object,
1844
1844
  () => {
1845
- V.value = l.object;
1845
+ S.value = l.object;
1846
1846
  }
1847
- ), Et(d), Ht(c), Xn(), Fn(f, v, C);
1848
- const { renderProperty: D } = Kn(
1847
+ ), Jt(d), Xt(c), Fn(), zn(f, v, C);
1848
+ const { renderProperty: D } = Rn(
1849
1849
  d,
1850
1850
  u,
1851
1851
  r
1852
- ), { renderUiDummy: x } = Ln(c), { renderUiStrInput: S } = Jn(c), { renderUiNumInput: U } = On(c), { renderUiSwitch: O } = Hn(c), { renderUiSelect: Q } = Rn(c), { renderUiColorPicker: pe } = An(c), { renderUiJsonEditor: it } = Nn(c), { renderUiMultiTypes: ut } = Bn(c), { renderUiCompSelect: rt } = Tn(c), { renderUiSlotSelect: at } = En(c), xe = (p, m, y, g, w, A) => (p = ze(p), w !== void 0 ? (p.push(w), A && p.push(m.key)) : p.push(m.key), m.ui ? m.array && g ? mt(
1852
+ ), { renderUiDummy: x } = Nn(c), { renderUiStrInput: V } = Hn(c), { renderUiNumInput: $ } = qn(c), { renderUiSwitch: O } = Xn(c), { renderUiSelect: Q } = En(c), { renderUiColorPicker: pe } = Tn(c), { renderUiJsonEditor: ut } = Bn(c), { renderUiMultiTypes: rt } = On(c), { renderUiCompSelect: at } = Ln(c), { renderUiSlotSelect: ct } = Jn(c), xe = (p, m, y, g, w, A) => (p = Ge(p), w !== void 0 ? (p.push(w), A && p.push(m.key)) : p.push(m.key), m.ui ? m.array && g ? ft(
1853
1853
  p,
1854
1854
  m,
1855
1855
  y,
1856
1856
  g,
1857
1857
  w,
1858
1858
  A
1859
- ) : ft(p, m, y, w, A) : m.array ? ct(
1859
+ ) : vt(p, m, y, w, A) : m.array ? dt(
1860
1860
  p,
1861
1861
  m,
1862
1862
  y,
1863
1863
  g,
1864
1864
  w,
1865
1865
  A
1866
- ) : dt(
1866
+ ) : mt(
1867
1867
  p,
1868
1868
  m,
1869
1869
  y,
1870
1870
  g,
1871
1871
  w,
1872
1872
  A
1873
- )), ct = (p, m, y, g, w, A) => {
1873
+ )), dt = (p, m, y, g, w, A) => {
1874
1874
  if (m.ui)
1875
1875
  return console.assert(!1), k("div", "renderBranchArray property ui must be invalid");
1876
1876
  if (!m.array)
@@ -1881,7 +1881,7 @@ const zn = /* @__PURE__ */ E({
1881
1881
  w !== void 0 && !A ? (y[w] instanceof Array || (y[w] = J(m), c(p, y[m.key])), H = y[w]) : (y[m.key] instanceof Array || (y[m.key] = J(m), c(p, y[m.key])), H = y[m.key]);
1882
1882
  let ie = n(m.name);
1883
1883
  g.collapse && me(d.value, p) && (ie += " *");
1884
- const ge = k($e, {
1884
+ const ge = k(Ue, {
1885
1885
  title: ie,
1886
1886
  collapse: g.collapse,
1887
1887
  hasCreate: !0,
@@ -1912,10 +1912,10 @@ const zn = /* @__PURE__ */ E({
1912
1912
  collapse: !0,
1913
1913
  children: {}
1914
1914
  });
1915
- const Ve = [...p, N], Se = g.children[N];
1915
+ const Se = [...p, N], Ve = g.children[N];
1916
1916
  let qe = `[${N + 1}]`;
1917
- g.children[N].collapse && me(d.value, Ve) && (qe += " *");
1918
- const pt = k($e, {
1917
+ g.children[N].collapse && me(d.value, Se) && (qe += " *");
1918
+ const gt = k(Ue, {
1919
1919
  title: qe,
1920
1920
  collapse: g.children[N].collapse,
1921
1921
  hasDelete: !0,
@@ -1928,7 +1928,7 @@ const zn = /* @__PURE__ */ E({
1928
1928
  g.children[N].collapse = le;
1929
1929
  },
1930
1930
  onMenu: (le, ue) => {
1931
- de.emit("propTreeMenu", { x: le, y: ue, keys: Ve });
1931
+ de.emit("propTreeMenu", { x: le, y: ue, keys: Se });
1932
1932
  },
1933
1933
  onDelete: (le) => {
1934
1934
  if (!Ae(g.children)) {
@@ -1938,8 +1938,8 @@ const zn = /* @__PURE__ */ E({
1938
1938
  g.children.splice(le, 1), H.splice(le, 1), c(p, H);
1939
1939
  }
1940
1940
  });
1941
- M.push(pt);
1942
- const gt = k(
1941
+ M.push(gt);
1942
+ const yt = k(
1943
1943
  "div",
1944
1944
  {
1945
1945
  style: {
@@ -1949,27 +1949,27 @@ const zn = /* @__PURE__ */ E({
1949
1949
  (() => {
1950
1950
  const le = [];
1951
1951
  return m.children.forEach((ue) => {
1952
- if (!Re(Se.children)) {
1952
+ if (!Ee(Ve.children)) {
1953
1953
  console.assert(!1);
1954
1954
  return;
1955
1955
  }
1956
- Se.children[ue.key] || (Se.children[ue.key] = {
1956
+ Ve.children[ue.key] || (Ve.children[ue.key] = {
1957
1957
  collapse: !0,
1958
1958
  children: ue.array ? [] : {}
1959
1959
  });
1960
- const yt = xe(
1960
+ const ht = xe(
1961
1961
  p,
1962
1962
  ue,
1963
1963
  H[N],
1964
- Se.children[ue.key],
1964
+ Ve.children[ue.key],
1965
1965
  N,
1966
1966
  !0
1967
1967
  );
1968
- le.push(yt);
1968
+ le.push(ht);
1969
1969
  }), le;
1970
1970
  })()
1971
1971
  );
1972
- g.children[N].collapse || M.push(gt);
1972
+ g.children[N].collapse || M.push(yt);
1973
1973
  }
1974
1974
  return M;
1975
1975
  })()
@@ -1986,7 +1986,7 @@ const zn = /* @__PURE__ */ E({
1986
1986
  return M.push(ge), g.collapse || M.push(Y), M;
1987
1987
  })()
1988
1988
  );
1989
- }, dt = (p, m, y, g, w, A) => {
1989
+ }, mt = (p, m, y, g, w, A) => {
1990
1990
  if (m.ui)
1991
1991
  return console.assert(!1), k("div", "renderBranchScalar property ui must be invalid");
1992
1992
  if (m.array)
@@ -1995,7 +1995,7 @@ const zn = /* @__PURE__ */ E({
1995
1995
  return console.assert(!1), k("div", "renderBranchScalar branch must be valid");
1996
1996
  let H = n(m.name);
1997
1997
  g.collapse && me(d.value, p) && (H += " *");
1998
- const ie = k($e, {
1998
+ const ie = k(Ue, {
1999
1999
  title: H,
2000
2000
  collapse: g.collapse,
2001
2001
  hasDelete: w !== void 0 && !A,
@@ -2018,7 +2018,7 @@ const zn = /* @__PURE__ */ E({
2018
2018
  (() => {
2019
2019
  const Y = [];
2020
2020
  return m.children.forEach((M) => {
2021
- if (!Re(g.children)) {
2021
+ if (!Ee(g.children)) {
2022
2022
  console.assert(!1);
2023
2023
  return;
2024
2024
  }
@@ -2048,7 +2048,7 @@ const zn = /* @__PURE__ */ E({
2048
2048
  return Y.push(ie), g.collapse || Y.push(ge), Y;
2049
2049
  })()
2050
2050
  );
2051
- }, mt = (p, m, y, g, w, A) => {
2051
+ }, ft = (p, m, y, g, w, A) => {
2052
2052
  if (!m.ui)
2053
2053
  return console.assert(!1), k("div", "renderLeafArray property ui must be valid");
2054
2054
  if (!m.array)
@@ -2059,7 +2059,7 @@ const zn = /* @__PURE__ */ E({
2059
2059
  w !== void 0 && !A ? (y[w] instanceof Array || (y[w] = J(m), c(p, y[w])), H = y[w]) : (y[m.key] instanceof Array || (y[m.key] = J(m), c(p, y[m.key])), H = y[m.key]);
2060
2060
  let ie = n(m.name);
2061
2061
  g.collapse && me(d.value, p) && (ie += " *");
2062
- const ge = k($e, {
2062
+ const ge = k(Ue, {
2063
2063
  title: ie,
2064
2064
  collapse: g.collapse,
2065
2065
  hasCreate: !0,
@@ -2082,8 +2082,8 @@ const zn = /* @__PURE__ */ E({
2082
2082
  (() => {
2083
2083
  const M = [];
2084
2084
  for (let N = 0; N < H.length; N++) {
2085
- const Ve = xe(p, m, H, void 0, N, !1);
2086
- M.push(Ve);
2085
+ const Se = xe(p, m, H, void 0, N, !1);
2086
+ M.push(Se);
2087
2087
  }
2088
2088
  return M;
2089
2089
  })()
@@ -2100,12 +2100,12 @@ const zn = /* @__PURE__ */ E({
2100
2100
  return M.push(ge), g.collapse || M.push(Y), M;
2101
2101
  })()
2102
2102
  );
2103
- }, ft = (p, m, y, g, w) => {
2103
+ }, vt = (p, m, y, g, w) => {
2104
2104
  if (!m.ui)
2105
2105
  return console.assert(!1), k("div", "renderLeafScalar property ui must be valid");
2106
2106
  let A;
2107
- return m.ui === "dummy" ? A = x(p, m, y, g, w) : m.ui === "strInput" ? A = S(p, m, y, g, w) : m.ui === "numInput" ? A = U(p, m, y, g, w) : m.ui === "switch" ? A = O(p, m, y, g, w) : m.ui === "select" ? A = Q(p, m, y, g, w) : m.ui === "colorPicker" ? A = pe(p, m, y, g, w) : m.ui === "jsonEditor" ? A = it(p, m, y, g, w) : m.ui === "multiTypes" ? A = ut(p, m, y, g, w) : m.ui === "compSelect" ? A = rt(p, m, y, g, w) : m.ui === "slotSelect" ? A = at(p, m, y, g, w) : console.assert(!1, "renderLeafScalar not implemented"), A ? D(p, m, A) : k("div");
2108
- }, vt = () => k(
2107
+ return m.ui === "dummy" ? A = x(p, m, y, g, w) : m.ui === "strInput" ? A = V(p, m, y, g, w) : m.ui === "numInput" ? A = $(p, m, y, g, w) : m.ui === "switch" ? A = O(p, m, y, g, w) : m.ui === "select" ? A = Q(p, m, y, g, w) : m.ui === "colorPicker" ? A = pe(p, m, y, g, w) : m.ui === "jsonEditor" ? A = ut(p, m, y, g, w) : m.ui === "multiTypes" ? A = rt(p, m, y, g, w) : m.ui === "compSelect" ? A = at(p, m, y, g, w) : m.ui === "slotSelect" ? A = ct(p, m, y, g, w) : console.assert(!1, "renderLeafScalar not implemented"), A ? D(p, m, A) : k("div");
2108
+ }, pt = () => k(
2109
2109
  "div",
2110
2110
  {
2111
2111
  class: "text-body-2",
@@ -2136,27 +2136,27 @@ const zn = /* @__PURE__ */ E({
2136
2136
  })()
2137
2137
  );
2138
2138
  return (p, m) => (_(), K(fe, null, [
2139
- b(vt),
2140
- b(Gt, {
2139
+ b(pt),
2140
+ b(Yt, {
2141
2141
  config: l.config,
2142
2142
  object: l.object,
2143
2143
  "property-states": d.value
2144
2144
  }, null, 8, ["config", "object", "property-states"])
2145
2145
  ], 64));
2146
2146
  }
2147
- }), Gn = (t) => {
2148
- t.component("XPropTree", zn);
2149
- }, Yn = (t, s, n) => {
2147
+ }), Yn = (t) => {
2148
+ t.component("XPropTree", Gn);
2149
+ }, Wn = (t, s, n) => {
2150
2150
  const e = t[s];
2151
2151
  return e ? typeof e == "function" ? e() : Promise.resolve(e) : new Promise((l, o) => {
2152
2152
  (typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(o.bind(null, /* @__PURE__ */ new Error("Unknown variable dynamic import: " + s + (s.split("/").length !== n ? ". Note that variables only represent file names one level deep." : ""))));
2153
2153
  });
2154
2154
  };
2155
- async function ll(t) {
2156
- return (await Yn(/* @__PURE__ */ Object.assign({ "./locales/en/index.ts": () => import("./i18n-en.fwi8tazn.js"), "./locales/zhHans/index.ts": () => import("./i18n-zhHans.ju37v3iz.js") }), `./locales/${t}/index.ts`, 4)).default;
2155
+ async function ol(t) {
2156
+ return (await Wn(/* @__PURE__ */ Object.assign({ "./locales/en/index.ts": () => import("./i18n-en.fwi8tazn.js"), "./locales/zhHans/index.ts": () => import("./i18n-zhHans.ju37v3iz.js") }), `./locales/${t}/index.ts`, 4)).default;
2157
2157
  }
2158
- const ol = { install: Gn };
2158
+ const sl = { install: Yn };
2159
2159
  export {
2160
- ol as default,
2161
- ll as loadLocaleMessagePropTree
2160
+ sl as default,
2161
+ ol as loadLocaleMessagePropTree
2162
2162
  };