x-prop-tree 0.7.13 → 0.7.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,8 +1,8 @@
1
- import { provide as ce, inject as de, defineComponent as R, ref as O, computed as K, resolveComponent as U, createBlock as B, openBlock as C, unref as L, isRef as ve, withCtx as J, createVNode as D, createElementBlock as E, Fragment as Ve, renderList as Be, createTextVNode as Ce, toDisplayString as W, resolveDirective as le, withDirectives as ee, withModifiers as X, normalizeStyle as I, createElementVNode as F, createCommentVNode as G, renderSlot as ft, h, mergeModels as Y, useModel as z, useId as we, onUnmounted as De, withKeys as Ke, mergeProps as be, watchEffect as Ne, watch as re, useTemplateRef as Je, reactive as mt, onMounted as vt, onBeforeUnmount as pt } from "vue";
1
+ import { provide as ce, inject as de, defineComponent as R, ref as O, computed as K, resolveComponent as U, createBlock as B, openBlock as C, unref as L, isRef as ve, withCtx as J, createVNode as D, createElementBlock as E, Fragment as Ve, renderList as Be, createTextVNode as Ce, toDisplayString as W, resolveDirective as le, withDirectives as ee, withModifiers as X, normalizeStyle as I, createElementVNode as F, createCommentVNode as G, renderSlot as ft, h as y, mergeModels as Y, useModel as z, useId as we, onUnmounted as De, withKeys as Ke, mergeProps as be, watchEffect as Ne, watch as ue, useTemplateRef as Je, reactive as mt, onMounted as vt, onBeforeUnmount as pt } from "vue";
2
2
  import { useI18n as te } from "vue-i18n";
3
- import { useViewStack as xe, useColor as ie, eventBus as ue, useSystem as pe, openPromptDlg as yt, openNumberDlg as Re, injectDark as gt, injectLocale as ht } from "x-essential-lib";
3
+ import { useViewStack as xe, useColor as ie, eventBus as re, useSystem as pe, openPromptDlg as gt, openNumberDlg as Re, injectDark as ht, injectLocale as yt } from "x-essential-lib";
4
4
  import { c as Ee, i as Se, r as He, v as kt, d as _t } from "./vendor.f0ug048x.js";
5
- import { getPropDefault as q, pkgs as Fe, parsePixelStr as Vt, parsePercentStr as Ct } from "x-runtime-lib";
5
+ import { getPropertyDefault as q, pkgs as Fe, parsePixelStr as Vt, parsePercentStr as Ct } from "x-runtime-lib";
6
6
  import { globalState as xt } from "x-state-lib";
7
7
  import { useDisplay as St } from "vuetify";
8
8
  import { XBlockly as Ut } from "x-block-lib";
@@ -11,11 +11,11 @@ const ke = (t, s) => {
11
11
  return s.forEach((e) => {
12
12
  if (typeof e != "number") {
13
13
  if (!n) {
14
- console.assert(!1, `unpkgProp invalid prop keys=${s}`);
14
+ console.assert(!1, `unpkgProp invalid property keys=${s}`);
15
15
  return;
16
16
  }
17
17
  if (n.ui) {
18
- console.assert(!1, `unpkgProp prop ui must be invalid keys=${s}`);
18
+ console.assert(!1, `unpkgProp property ui must be invalid keys=${s}`);
19
19
  return;
20
20
  }
21
21
  n = n.children.find((l) => l.key === e);
@@ -73,19 +73,19 @@ const ke = (t, s) => {
73
73
  i
74
74
  )), wt = (t, s, n, e, l, o, i) => {
75
75
  if (s.ui)
76
- return console.assert(!1, "execPropBranchArray prop ui must be invalid"), !1;
76
+ return console.assert(!1, "execPropertyBranchArray property ui must be invalid"), !1;
77
77
  if (!s.array)
78
- return console.assert(!1, "execPropBranchArray prop array must be valid"), !1;
78
+ return console.assert(!1, "execPropertyBranchArray property array must be valid"), !1;
79
79
  if (!e.children || !Ue(e.children))
80
- return console.assert(!1, "execPropBranchArray state children must be array"), !1;
81
- let u;
82
- o !== void 0 && !i ? (n[o] instanceof Array || (n[o] = q(s), l?.(t, n[o])), u = n[o]) : (n[s.key] instanceof Array || (n[s.key] = q(s), l?.(t, n[s.key])), u = n[s.key]), e.change = !1;
83
- for (let r = 0; r < u.length; r++) {
80
+ return console.assert(!1, "execPropertyBranchArray state children must be array"), !1;
81
+ let r;
82
+ o !== void 0 && !i ? (n[o] instanceof Array || (n[o] = q(s), l?.(t, n[o])), r = n[o]) : (n[s.key] instanceof Array || (n[s.key] = q(s), l?.(t, n[s.key])), r = n[s.key]), e.change = !1;
83
+ for (let u = 0; u < r.length; u++) {
84
84
  e.children.push({
85
85
  change: !1,
86
86
  children: {}
87
87
  });
88
- const a = e.children[r];
88
+ const a = e.children[u];
89
89
  s.children.forEach((f) => {
90
90
  if (!a.children || !Ae(a.children)) {
91
91
  console.assert(!1);
@@ -97,50 +97,50 @@ const ke = (t, s) => {
97
97
  }, $e(
98
98
  t,
99
99
  f,
100
- u[r],
100
+ r[u],
101
101
  a.children[f.key],
102
102
  l,
103
- r,
103
+ u,
104
104
  !0
105
105
  ) && (a.change = !0), a.change && (e.change = !0);
106
106
  });
107
107
  }
108
- return e.change || (e.change = !Se(u, q(s))), e.change;
108
+ return e.change || (e.change = !Se(r, q(s))), e.change;
109
109
  }, Dt = (t, s, n, e, l, o, i) => {
110
110
  if (s.ui)
111
- return console.assert(!1, "execPropBranchScalar prop ui must be invalid"), !1;
111
+ return console.assert(!1, "execPropertyBranchScalar property ui must be invalid"), !1;
112
112
  if (s.array)
113
- return console.assert(!1, "execPropBranchScalar prop array must be invalid"), !1;
113
+ return console.assert(!1, "execPropertyBranchScalar property array must be invalid"), !1;
114
114
  if (!e.children || !Ae(e.children))
115
- return console.assert(!1, "execPropBranchScalar state children must be map"), !1;
116
- let u;
117
- o !== void 0 && !i ? (n[o] || (n[o] = {}), u = n[o]) : (n[s.key] || (n[s.key] = {}), u = n[s.key]), e.change = !1;
118
- for (let r = 0; r < s.children.length; r++) {
119
- const a = s.children[r];
115
+ return console.assert(!1, "execPropertyBranchScalar state children must be map"), !1;
116
+ let r;
117
+ o !== void 0 && !i ? (n[o] || (n[o] = {}), r = n[o]) : (n[s.key] || (n[s.key] = {}), r = n[s.key]), e.change = !1;
118
+ for (let u = 0; u < s.children.length; u++) {
119
+ const a = s.children[u];
120
120
  e.children[a.key] = {
121
121
  change: !1,
122
122
  children: a.array ? [] : {}
123
- }, $e(t, a, u, e.children[a.key], l) && (e.change = !0);
123
+ }, $e(t, a, r, e.children[a.key], l) && (e.change = !0);
124
124
  }
125
125
  return e.change;
126
126
  }, bt = (t, s, n, e, l, o, i) => {
127
127
  if (!s.ui)
128
- return console.assert(!1, "execPropLeafArray prop ui must be valid"), !1;
128
+ return console.assert(!1, "execPropertyLeafArray property ui must be valid"), !1;
129
129
  if (!s.array)
130
- return console.assert(!1, "execPropLeafArray prop aray must be valid"), !1;
130
+ return console.assert(!1, "execPropertyLeafArray property aray must be valid"), !1;
131
131
  if (!e.children || !Ue(e.children))
132
- return console.assert(!1, "execPropLeafArray state children must be array"), !1;
133
- let u;
134
- o !== void 0 && !i ? (n[o] instanceof Array || (n[o] = q(s), l?.(t, n[o])), u = n[o]) : (n[s.key] instanceof Array || (n[s.key] = q(s), l?.(t, n[s.key])), u = n[s.key]), e.change = !1;
135
- for (let r = 0; r < u.length; r++)
136
- e.children[r] = {
132
+ return console.assert(!1, "execPropertyLeafArray state children must be array"), !1;
133
+ let r;
134
+ o !== void 0 && !i ? (n[o] instanceof Array || (n[o] = q(s), l?.(t, n[o])), r = n[o]) : (n[s.key] instanceof Array || (n[s.key] = q(s), l?.(t, n[s.key])), r = n[s.key]), e.change = !1;
135
+ for (let u = 0; u < r.length; u++)
136
+ e.children[u] = {
137
137
  change: !1,
138
138
  children: {}
139
- }, $e(t, s, u, e.children[r], l, r, !1) && (e.change = !0);
140
- return e.change || (e.change = !Se(u, q(s))), e.change;
139
+ }, $e(t, s, r, e.children[u], l, u, !1) && (e.change = !0);
140
+ return e.change || (e.change = !Se(r, q(s))), e.change;
141
141
  }, At = (t, s, n, e, l) => {
142
142
  if (!t.ui)
143
- return console.assert(!1, "execPropLeafScalar prop ui must be valid"), !1;
143
+ return console.assert(!1, "execPropertyLeafScalar property ui must be valid"), !1;
144
144
  let o;
145
145
  return e !== void 0 && !l ? o = s[e] : o = s[t.key], n.change = !Se(o, q(t, !0)), n.change;
146
146
  }, qe = (t, s, n, e) => {
@@ -204,40 +204,40 @@ function Ze() {
204
204
  const Ht = /* @__PURE__ */ R({
205
205
  __name: "menu",
206
206
  setup(t) {
207
- const { t: s } = te(), n = Nt(), e = qt(), l = Kt(), o = Rt(), i = O(0), u = O(0), r = O([]), a = K(() => [i.value, u.value]), f = (P) => {
208
- const T = () => !(r.value.length <= 0 || !ae(l.value, r.value)), w = () => {
209
- const k = ke(n.value, r.value);
207
+ const { t: s } = te(), n = Nt(), e = qt(), l = Kt(), o = Rt(), i = O(0), r = O(0), u = O([]), a = K(() => [i.value, r.value]), f = (P) => {
208
+ const T = () => !(u.value.length <= 0 || !ae(l.value, u.value)), w = () => {
209
+ const k = ke(n.value, u.value);
210
210
  if (k)
211
211
  if (k.ui) {
212
- const M = me(e.value, r.value.slice(0, -1));
212
+ const M = me(e.value, u.value.slice(0, -1));
213
213
  if (!M)
214
214
  return;
215
- M[r.value[r.value.length - 1]] = q(k), o(r.value, M[r.value[r.value.length - 1]]);
215
+ M[u.value[u.value.length - 1]] = q(k), o(u.value, M[u.value[u.value.length - 1]]);
216
216
  } else if (k.array) {
217
- const M = r.value[r.value.length - 1];
217
+ const M = u.value[u.value.length - 1];
218
218
  if (M === void 0) {
219
219
  console.assert(!1, "invalid last key");
220
220
  return;
221
221
  }
222
222
  if (typeof M == "string") {
223
- const N = me(e.value, r.value.slice(0, -1));
223
+ const N = me(e.value, u.value.slice(0, -1));
224
224
  if (!N)
225
225
  return;
226
- N[r.value[r.value.length - 1]] = q(k), o(r.value, N[r.value[r.value.length - 1]]);
226
+ N[u.value[u.value.length - 1]] = q(k), o(u.value, N[u.value[u.value.length - 1]]);
227
227
  } else {
228
- const N = me(e.value, r.value);
228
+ const N = me(e.value, u.value);
229
229
  if (!N)
230
230
  return;
231
231
  k.children.forEach((Q) => {
232
- N[Q.key] = q(k), o([...r.value, Q.key], N[Q.key]);
232
+ N[Q.key] = q(k), o([...u.value, Q.key], N[Q.key]);
233
233
  });
234
234
  }
235
235
  } else {
236
- const M = me(e.value, r.value);
236
+ const M = me(e.value, u.value);
237
237
  if (!M)
238
238
  return;
239
239
  k.children.forEach((N) => {
240
- M[N.key] = q(k), o([...r.value, N.key], M[N.key]);
240
+ M[N.key] = q(k), o([...u.value, N.key], M[N.key]);
241
241
  });
242
242
  }
243
243
  };
@@ -247,20 +247,20 @@ const Ht = /* @__PURE__ */ R({
247
247
  });
248
248
  }, d = (P) => {
249
249
  const T = () => {
250
- const w = ke(n.value, r.value), k = me(e.value, r.value);
251
- localStorage.setItem("propTreeCopy", JSON.stringify({ prop: w, object: k }));
250
+ const w = ke(n.value, u.value), k = me(e.value, u.value);
251
+ localStorage.setItem("propTreeCopy", JSON.stringify({ property: w, object: k }));
252
252
  };
253
253
  P.push({
254
254
  title: s("x-prop-tree.copy"),
255
255
  func: T
256
256
  });
257
- }, y = (P) => {
257
+ }, g = (P) => {
258
258
  const T = () => {
259
259
  const k = localStorage.getItem("propTreeCopy");
260
260
  if (!k)
261
261
  return !1;
262
262
  try {
263
- const { prop: M } = JSON.parse(k), N = ke(n.value, r.value);
263
+ const { property: M } = JSON.parse(k), N = ke(n.value, u.value);
264
264
  return $t(M, N);
265
265
  } catch (M) {
266
266
  console.error(M);
@@ -272,7 +272,7 @@ const Ht = /* @__PURE__ */ R({
272
272
  const k = localStorage.getItem("propTreeCopy");
273
273
  if (k)
274
274
  try {
275
- const { object: M } = JSON.parse(k), N = ke(n.value, r.value);
275
+ const { object: M } = JSON.parse(k), N = ke(n.value, u.value);
276
276
  console.log(M, N);
277
277
  } catch (M) {
278
278
  console.error(M);
@@ -282,11 +282,11 @@ const Ht = /* @__PURE__ */ R({
282
282
  title: s("x-prop-tree.paste"),
283
283
  func: w
284
284
  });
285
- }, g = K(() => {
285
+ }, h = K(() => {
286
286
  const P = [];
287
- return f(P), d(P), y(P), P;
287
+ return f(P), d(P), g(P), P;
288
288
  }), V = (P) => {
289
- i.value = P.x, u.value = P.y, r.value = P.keys;
289
+ i.value = P.x, r.value = P.y, u.value = P.keys;
290
290
  }, { open: x } = xe("propTreeMenu", V);
291
291
  return (P, T) => {
292
292
  const w = U("v-list-item-title"), k = U("v-list-item"), M = U("v-list"), N = U("v-menu");
@@ -300,7 +300,7 @@ const Ht = /* @__PURE__ */ R({
300
300
  default: J(() => [
301
301
  D(M, null, {
302
302
  default: J(() => [
303
- (C(!0), E(Ve, null, Be(g.value, (Q, Pe) => (C(), B(k, {
303
+ (C(!0), E(Ve, null, Be(h.value, (Q, Pe) => (C(), B(k, {
304
304
  key: Pe,
305
305
  link: "",
306
306
  onClick: Q.func
@@ -339,18 +339,18 @@ const Ht = /* @__PURE__ */ R({
339
339
  height: "36px",
340
340
  marginBottom: "1px",
341
341
  userSelect: "none"
342
- })), u = () => {
342
+ })), r = () => {
343
343
  l("collapse", !t.collapse);
344
- }, r = (a) => {
344
+ }, u = (a) => {
345
345
  l("menu", a.clientX, a.clientY);
346
346
  };
347
347
  return (a, f) => {
348
- const d = U("v-icon"), y = U("v-spacer"), g = U("v-btn"), V = le("ripple");
348
+ const d = U("v-icon"), g = U("v-spacer"), h = U("v-btn"), V = le("ripple");
349
349
  return ee((C(), E("div", {
350
350
  class: "d-flex align-center cursor-pointer",
351
351
  style: I(i.value),
352
- onClick: u,
353
- onContextmenu: X(r, ["self", "prevent"]),
352
+ onClick: r,
353
+ onContextmenu: X(u, ["self", "prevent"]),
354
354
  onMouseout: f[2] || (f[2] = (x) => o.value = !1),
355
355
  onMouseover: f[3] || (f[3] = (x) => o.value = !0)
356
356
  }, [
@@ -359,8 +359,8 @@ const Ht = /* @__PURE__ */ R({
359
359
  icon: t.collapse ? "mdi-chevron-right" : "mdi-chevron-down"
360
360
  }, null, 8, ["icon"]),
361
361
  F("span", Ft, W(t.title), 1),
362
- D(y),
363
- t.hasCreate ? (C(), B(g, {
362
+ D(g),
363
+ t.hasCreate ? (C(), B(h, {
364
364
  key: 0,
365
365
  class: "mx-3",
366
366
  density: "compact",
@@ -368,7 +368,7 @@ const Ht = /* @__PURE__ */ R({
368
368
  variant: "text",
369
369
  onClick: f[0] || (f[0] = X((x) => l("create"), ["stop"]))
370
370
  })) : G("", !0),
371
- t.hasDelete ? (C(), B(g, {
371
+ t.hasDelete ? (C(), B(h, {
372
372
  key: 1,
373
373
  class: "mx-3",
374
374
  density: "compact",
@@ -394,19 +394,19 @@ const Ht = /* @__PURE__ */ R({
394
394
  paddingRight: "4px",
395
395
  marginBottom: "1px",
396
396
  userSelect: "none"
397
- })), u = (r) => {
398
- l("menu", r.clientX, r.clientY);
397
+ })), r = (u) => {
398
+ l("menu", u.clientX, u.clientY);
399
399
  };
400
- return (r, a) => {
400
+ return (u, a) => {
401
401
  const f = le("ripple");
402
402
  return ee((C(), E("div", {
403
403
  class: "d-flex justify-space-between align-center cursor-pointer",
404
404
  style: I(i.value),
405
- onContextmenu: X(u, ["self", "prevent"]),
405
+ onContextmenu: X(r, ["self", "prevent"]),
406
406
  onMouseout: a[0] || (a[0] = (d) => o.value = !1),
407
407
  onMouseover: a[1] || (a[1] = (d) => o.value = !0)
408
408
  }, [
409
- ft(r.$slots, "default")
409
+ ft(u.$slots, "default")
410
410
  ], 36)), [
411
411
  [f]
412
412
  ]);
@@ -415,23 +415,23 @@ const Ht = /* @__PURE__ */ R({
415
415
  });
416
416
  function zt(t, s, n) {
417
417
  const { t: e } = te();
418
- return { renderProp: (o, i, u) => {
419
- const r = o[o.length - 1];
420
- let f = typeof r == "number" ? `[${r + 1}]` : e(i.name);
421
- return ae(t.value, o) && (f += " *"), h(
418
+ return { renderProp: (o, i, r) => {
419
+ const u = o[o.length - 1];
420
+ let f = typeof u == "number" ? `[${u + 1}]` : e(i.name);
421
+ return ae(t.value, o) && (f += " *"), y(
422
422
  Xt,
423
423
  {
424
424
  minHeight: s.value,
425
- onMenu: (d, y) => {
426
- ue.emit("propTreeMenu", { x: d, y, keys: o });
425
+ onMenu: (d, g) => {
426
+ re.emit("propTreeMenu", { x: d, y: g, keys: o });
427
427
  }
428
428
  },
429
429
  () => [
430
- h("span", {
430
+ y("span", {
431
431
  style: { marginLeft: "4px", pointerEvents: "none" },
432
432
  innerHTML: f
433
433
  }),
434
- h("div", { style: { width: n.value } }, u)
434
+ y("div", { style: { width: n.value } }, r)
435
435
  ]
436
436
  );
437
437
  } };
@@ -462,14 +462,14 @@ const ne = (t, s, n, e, l, o) => {
462
462
  if (o !== void 0)
463
463
  i ? e !== n[s.key] && (n[s.key] = e, l(t, n[s.key])) : e !== n[o] && (n[o] = e, l(t, n[o]));
464
464
  else {
465
- let u = e;
466
- (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]));
465
+ let r = e;
466
+ (s.ui === "switch" || s.ui === "select" || s.ui === "colorPicker" || s.ui === "multiTypes" || s.ui === "compSelect") && (e || (r = void 0)), r !== n[s.key] && (n[s.key] = r, l(t, n[s.key]));
467
467
  }
468
468
  };
469
469
  function Gt(t) {
470
470
  return { renderUiDummy: (n, e, l, o, i) => {
471
471
  if (e.ui !== "dummy") {
472
- console.assert(!1, "renderUiDummy prop ui must be dummy");
472
+ console.assert(!1, "renderUiDummy property ui must be dummy");
473
473
  return;
474
474
  }
475
475
  ne(n, e, l, t, o, i);
@@ -489,18 +489,18 @@ const Yt = { class: "d-flex justify-space-between align-center" }, Wt = /* @__PU
489
489
  const { isMobile: n } = pe(), e = z(t, "modelValue"), l = s, o = async (i) => {
490
490
  if (!i || t.readonly || !n())
491
491
  return;
492
- const u = await yt({
492
+ const r = await gt({
493
493
  title: "",
494
494
  value: e.value
495
495
  });
496
- u !== void 0 && (e.value = u);
496
+ r !== void 0 && (e.value = r);
497
497
  };
498
- return (i, u) => {
499
- const r = U("v-text-field"), a = U("v-btn"), f = le("ripple");
498
+ return (i, r) => {
499
+ const u = U("v-text-field"), a = U("v-btn"), f = le("ripple");
500
500
  return C(), E("div", Yt, [
501
- ee(D(r, {
501
+ ee(D(u, {
502
502
  modelValue: e.value,
503
- "onUpdate:modelValue": u[0] || (u[0] = (d) => e.value = d),
503
+ "onUpdate:modelValue": r[0] || (r[0] = (d) => e.value = d),
504
504
  density: "compact",
505
505
  "hide-details": "",
506
506
  readonly: t.readonly,
@@ -520,14 +520,14 @@ const Yt = { class: "d-flex justify-space-between align-center" }, Wt = /* @__PU
520
520
  density: "compact",
521
521
  icon: "mdi-minus",
522
522
  variant: "text",
523
- onClick: u[1] || (u[1] = X((d) => l("delete"), ["stop"]))
523
+ onClick: r[1] || (r[1] = X((d) => l("delete"), ["stop"]))
524
524
  })) : G("", !0)
525
525
  ]);
526
526
  };
527
527
  }
528
528
  });
529
529
  function Qt(t) {
530
- return { renderUiStrInput: (n, e, l, o, i) => e.ui !== "strInput" ? (console.assert(!1), h("div", "renderUiStrInput prop ui must be strInput")) : h(Wt, {
530
+ return { renderUiStrInput: (n, e, l, o, i) => e.ui !== "strInput" ? (console.assert(!1), y("div", "renderUiStrInput property ui must be strInput")) : y(Wt, {
531
531
  modelValue: e.static ? e.value : ne(
532
532
  n,
533
533
  e,
@@ -536,12 +536,12 @@ function Qt(t) {
536
536
  o,
537
537
  i
538
538
  ),
539
- "onUpdate:modelValue": (u) => {
539
+ "onUpdate:modelValue": (r) => {
540
540
  e.static || oe(
541
541
  n,
542
542
  e,
543
543
  l,
544
- u,
544
+ r,
545
545
  t,
546
546
  o,
547
547
  i
@@ -573,7 +573,7 @@ const Zt = { class: "d-flex justify-space-between align-center" }, jt = /* @__PU
573
573
  const { isMobile: n } = pe(), e = z(t, "modelValue"), l = s, o = async (i) => {
574
574
  if (!i || t.readonly || !n())
575
575
  return;
576
- const u = await Re({
576
+ const r = await Re({
577
577
  title: "",
578
578
  value: e.value,
579
579
  precision: t.precision,
@@ -581,14 +581,14 @@ const Zt = { class: "d-flex justify-space-between align-center" }, jt = /* @__PU
581
581
  max: t.max,
582
582
  step: t.step
583
583
  });
584
- u !== void 0 && (e.value = u);
584
+ r !== void 0 && (e.value = r);
585
585
  };
586
- return (i, u) => {
587
- const r = U("v-number-input"), a = U("v-btn"), f = le("ripple");
586
+ return (i, r) => {
587
+ const u = U("v-number-input"), a = U("v-btn"), f = le("ripple");
588
588
  return C(), E("div", Zt, [
589
- ee(D(r, {
589
+ ee(D(u, {
590
590
  modelValue: e.value,
591
- "onUpdate:modelValue": u[0] || (u[0] = (d) => e.value = d),
591
+ "onUpdate:modelValue": r[0] || (r[0] = (d) => e.value = d),
592
592
  "control-variant": "stacked",
593
593
  density: "compact",
594
594
  "hide-details": "",
@@ -613,14 +613,14 @@ const Zt = { class: "d-flex justify-space-between align-center" }, jt = /* @__PU
613
613
  density: "compact",
614
614
  icon: "mdi-minus",
615
615
  variant: "text",
616
- onClick: u[1] || (u[1] = X((d) => l("delete"), ["stop"]))
616
+ onClick: r[1] || (r[1] = X((d) => l("delete"), ["stop"]))
617
617
  })) : G("", !0)
618
618
  ]);
619
619
  };
620
620
  }
621
621
  });
622
622
  function It(t) {
623
- return { renderUiNumInput: (n, e, l, o, i) => e.ui !== "numInput" ? (console.assert(!1), h("div", "renderUiNumInput prop ui must be numInput")) : h(jt, {
623
+ return { renderUiNumInput: (n, e, l, o, i) => e.ui !== "numInput" ? (console.assert(!1), y("div", "renderUiNumInput property ui must be numInput")) : y(jt, {
624
624
  modelValue: ne(
625
625
  n,
626
626
  e,
@@ -629,12 +629,12 @@ function It(t) {
629
629
  o,
630
630
  i
631
631
  ),
632
- "onUpdate:modelValue": (u) => {
632
+ "onUpdate:modelValue": (r) => {
633
633
  oe(
634
634
  n,
635
635
  e,
636
636
  l,
637
- u,
637
+ r,
638
638
  t,
639
639
  o,
640
640
  i
@@ -664,31 +664,31 @@ const en = { class: "d-flex justify-space-between align-center" }, tn = /* @__PU
664
664
  setup(t, { emit: s }) {
665
665
  const n = z(t, "modelValue"), e = s;
666
666
  return (l, o) => {
667
- const i = U("v-switch"), u = U("v-btn");
667
+ const i = U("v-switch"), r = U("v-btn");
668
668
  return C(), E("div", en, [
669
669
  D(i, {
670
670
  modelValue: n.value,
671
- "onUpdate:modelValue": o[0] || (o[0] = (r) => n.value = r),
671
+ "onUpdate:modelValue": o[0] || (o[0] = (u) => n.value = u),
672
672
  class: "ml-1",
673
673
  color: "primary",
674
674
  density: "compact",
675
675
  "hide-details": "",
676
676
  readonly: t.readonly
677
677
  }, null, 8, ["modelValue", "readonly"]),
678
- t.hasDelete ? (C(), B(u, {
678
+ t.hasDelete ? (C(), B(r, {
679
679
  key: 0,
680
680
  class: "mx-2",
681
681
  density: "compact",
682
682
  icon: "mdi-minus",
683
683
  variant: "text",
684
- onClick: o[1] || (o[1] = X((r) => e("delete"), ["stop"]))
684
+ onClick: o[1] || (o[1] = X((u) => e("delete"), ["stop"]))
685
685
  })) : G("", !0)
686
686
  ]);
687
687
  };
688
688
  }
689
689
  });
690
690
  function nn(t) {
691
- return { renderUiSwitch: (n, e, l, o, i) => e.ui !== "switch" ? (console.assert(!1), h("div", "renderUiSwitch prop ui must be switch")) : h(tn, {
691
+ return { renderUiSwitch: (n, e, l, o, i) => e.ui !== "switch" ? (console.assert(!1), y("div", "renderUiSwitch property ui must be switch")) : y(tn, {
692
692
  modelValue: ne(
693
693
  n,
694
694
  e,
@@ -697,12 +697,12 @@ function nn(t) {
697
697
  o,
698
698
  i
699
699
  ) ?? !1,
700
- "onUpdate:modelValue": (u) => {
700
+ "onUpdate:modelValue": (r) => {
701
701
  oe(
702
702
  n,
703
703
  e,
704
704
  l,
705
- u,
705
+ r,
706
706
  t,
707
707
  o,
708
708
  i
@@ -728,17 +728,17 @@ const ln = { class: "d-flex justify-space-between align-center" }, on = /* @__PU
728
728
  emits: /* @__PURE__ */ Y(["delete"], ["update:modelValue"]),
729
729
  setup(t, { emit: s }) {
730
730
  const { t: n } = te(), e = z(t, "modelValue"), l = s, o = Te(), i = K(() => {
731
- const u = [];
732
- return Fe[o.value]?.items[t.items].forEach(({ title: r, value: a }) => {
733
- u.push({ title: n(r), value: a });
734
- }), u;
731
+ const r = [];
732
+ return Fe[o.value]?.items[t.items].forEach(({ title: u, value: a }) => {
733
+ r.push({ title: n(u), value: a });
734
+ }), r;
735
735
  });
736
- return (u, r) => {
736
+ return (r, u) => {
737
737
  const a = U("v-select"), f = U("v-btn"), d = le("ripple");
738
738
  return C(), E("div", ln, [
739
739
  ee(D(a, {
740
740
  modelValue: e.value,
741
- "onUpdate:modelValue": r[0] || (r[0] = (y) => e.value = y),
741
+ "onUpdate:modelValue": u[0] || (u[0] = (g) => e.value = g),
742
742
  density: "compact",
743
743
  "hide-details": "",
744
744
  items: i.value,
@@ -758,14 +758,14 @@ const ln = { class: "d-flex justify-space-between align-center" }, on = /* @__PU
758
758
  density: "compact",
759
759
  icon: "mdi-minus",
760
760
  variant: "text",
761
- onClick: r[1] || (r[1] = X((y) => l("delete"), ["stop"]))
761
+ onClick: u[1] || (u[1] = X((g) => l("delete"), ["stop"]))
762
762
  })) : G("", !0)
763
763
  ]);
764
764
  };
765
765
  }
766
766
  });
767
767
  function sn(t) {
768
- return { renderUiSelect: (n, e, l, o, i) => e.ui !== "select" ? (console.assert(!1), h("div", "renderUiSelect prop ui must be select")) : h(on, {
768
+ return { renderUiSelect: (n, e, l, o, i) => e.ui !== "select" ? (console.assert(!1), y("div", "renderUiSelect property ui must be select")) : y(on, {
769
769
  modelValue: ne(
770
770
  n,
771
771
  e,
@@ -774,12 +774,12 @@ function sn(t) {
774
774
  o,
775
775
  i
776
776
  ) ?? "",
777
- "onUpdate:modelValue": (u) => {
777
+ "onUpdate:modelValue": (r) => {
778
778
  oe(
779
779
  n,
780
780
  e,
781
781
  l,
782
- u,
782
+ r,
783
783
  t,
784
784
  o,
785
785
  i
@@ -793,7 +793,7 @@ function sn(t) {
793
793
  readonly: e.readonly
794
794
  }) };
795
795
  }
796
- const rn = { class: "text-subtitle-2 ml-1" }, un = { class: "text-caption text-grey ml-1" }, an = /* @__PURE__ */ R({
796
+ const un = { class: "text-subtitle-2 ml-1" }, rn = { class: "text-caption text-grey ml-1" }, an = /* @__PURE__ */ R({
797
797
  __name: "group",
798
798
  props: {
799
799
  id: {},
@@ -803,27 +803,27 @@ const rn = { class: "text-subtitle-2 ml-1" }, un = { class: "text-caption text-g
803
803
  },
804
804
  emits: ["x-click"],
805
805
  setup(t, { emit: s }) {
806
- const { backgroundColor2: n, highlightColor: e } = ie(), l = t, o = s, i = O(!1), u = K(() => ({
806
+ const { backgroundColor2: n, highlightColor: e } = ie(), l = t, o = s, i = O(!1), r = K(() => ({
807
807
  background: i.value ? e.value : n.value,
808
808
  height: "30px",
809
809
  marginBottom: "1px",
810
810
  userSelect: "none"
811
811
  }));
812
- return (r, a) => {
812
+ return (u, a) => {
813
813
  const f = U("v-icon"), d = le("ripple");
814
814
  return ee((C(), E("div", {
815
815
  class: "d-flex align-center cursor-pointer",
816
- style: I(u.value),
817
- onClick: a[0] || (a[0] = (y) => o("x-click", l.id)),
818
- onMouseout: a[1] || (a[1] = (y) => i.value = !1),
819
- onMouseover: a[2] || (a[2] = (y) => i.value = !0)
816
+ style: I(r.value),
817
+ onClick: a[0] || (a[0] = (g) => o("x-click", l.id)),
818
+ onMouseout: a[1] || (a[1] = (g) => i.value = !1),
819
+ onMouseover: a[2] || (a[2] = (g) => i.value = !0)
820
820
  }, [
821
821
  D(f, {
822
822
  icon: l.collapse ? "mdi-chevron-right" : "mdi-chevron-down",
823
823
  size: "small"
824
824
  }, null, 8, ["icon"]),
825
- F("span", rn, W(l.title), 1),
826
- F("span", un, W(l.count), 1)
825
+ F("span", un, W(l.title), 1),
826
+ F("span", rn, W(l.count), 1)
827
827
  ], 36)), [
828
828
  [d]
829
829
  ]);
@@ -837,17 +837,17 @@ const rn = { class: "text-subtitle-2 ml-1" }, un = { class: "text-caption text-g
837
837
  },
838
838
  emits: ["x-click"],
839
839
  setup(t, { emit: s }) {
840
- const { backgroundColor2: n, highlightColor: e } = ie(), l = t, o = s, i = O(!1), u = K(() => ({
840
+ const { backgroundColor2: n, highlightColor: e } = ie(), l = t, o = s, i = O(!1), r = K(() => ({
841
841
  background: i.value ? e.value : n.value,
842
842
  height: "48px",
843
843
  marginBottom: "1px",
844
844
  userSelect: "none"
845
845
  }));
846
- return (r, a) => {
846
+ return (u, a) => {
847
847
  const f = le("ripple");
848
848
  return ee((C(), E("div", {
849
849
  class: "d-flex align-center cursor-pointer",
850
- style: I(u.value),
850
+ style: I(r.value),
851
851
  onClick: a[0] || (a[0] = (d) => o("x-click", l.id)),
852
852
  onMouseout: a[1] || (a[1] = (d) => i.value = !1),
853
853
  onMouseover: a[2] || (a[2] = (d) => i.value = !0)
@@ -871,13 +871,13 @@ const rn = { class: "text-subtitle-2 ml-1" }, un = { class: "text-caption text-g
871
871
  },
872
872
  emits: ["update:modelValue", "update:open"],
873
873
  setup(t) {
874
- const { t: s } = te(), n = z(t, "modelValue"), e = z(t, "open"), l = Ze(), o = (u) => {
875
- const r = He(l, u);
876
- r && kt(l, u, !r.collapse);
877
- }, i = (u) => {
878
- n.value = u, e.value = !1, ue.emit("refreshDepends");
874
+ const { t: s } = te(), n = z(t, "modelValue"), e = z(t, "open"), l = Ze(), o = (r) => {
875
+ const u = He(l, r);
876
+ u && kt(l, r, !u.collapse);
877
+ }, i = (r) => {
878
+ n.value = r, e.value = !1, re.emit("refreshDepends");
879
879
  };
880
- return (u, r) => L(l).length > 0 ? (C(), E("div", fn, [
880
+ return (r, u) => L(l).length > 0 ? (C(), E("div", fn, [
881
881
  (C(!0), E(Ve, null, Be(L(l), (a) => (C(), E(Ve, {
882
882
  key: a.id
883
883
  }, [
@@ -898,7 +898,7 @@ const rn = { class: "text-subtitle-2 ml-1" }, un = { class: "text-caption text-g
898
898
  ], 64))), 128))
899
899
  ])) : (C(), E("div", mn, W(L(s)("x-prop-tree.noComp")), 1));
900
900
  }
901
- }), pn = { class: "text-subtitle-1 ml-3" }, yn = /* @__PURE__ */ R({
901
+ }), pn = { class: "text-subtitle-1 ml-3" }, gn = /* @__PURE__ */ R({
902
902
  __name: "index",
903
903
  props: {
904
904
  modelValue: {},
@@ -906,39 +906,39 @@ const rn = { class: "text-subtitle-2 ml-1" }, un = { class: "text-caption text-g
906
906
  },
907
907
  emits: ["update:modelValue"],
908
908
  setup(t) {
909
- const { t: s } = te(), n = St(), { sysBarAvail: e } = pe(), { backgroundColor1: l } = ie(), o = z(t, "modelValue"), i = Ze(), u = K(() => {
910
- let y = "100%";
911
- return n.mdAndUp.value && (y = "400px"), {
909
+ const { t: s } = te(), n = St(), { sysBarAvail: e } = pe(), { backgroundColor1: l } = ie(), o = z(t, "modelValue"), i = Ze(), r = K(() => {
910
+ let g = "100%";
911
+ return n.mdAndUp.value && (g = "400px"), {
912
912
  background: l.value,
913
- width: y,
913
+ width: g,
914
914
  height: "100%"
915
915
  };
916
- }), r = K(() => {
917
- let y = 48;
918
- return e.value && (y += 24), {
916
+ }), u = K(() => {
917
+ let g = 48;
918
+ return e.value && (g += 24), {
919
919
  position: "relative",
920
- height: `calc(100% - ${y}px)`
920
+ height: `calc(100% - ${g}px)`
921
921
  };
922
922
  }), a = K(() => ({
923
923
  height: "60px"
924
924
  })), f = K(() => {
925
925
  if (!o.value)
926
926
  return s("x-runtime-lib.notSet");
927
- const y = He(i, o.value);
928
- return y ? y.name : s("x-runtime-lib.compNotAvail");
927
+ const g = He(i, o.value);
928
+ return g ? g.name : s("x-runtime-lib.compNotAvail");
929
929
  }), { open: d } = xe(`propTreeCompSelectDlg${we()}`);
930
930
  return De(() => {
931
931
  d.value = !1;
932
- }), (y, g) => {
932
+ }), (g, h) => {
933
933
  const V = U("v-btn"), x = U("v-sheet"), P = U("v-icon"), T = U("v-dialog");
934
934
  return C(), B(T, {
935
935
  modelValue: L(d),
936
- "onUpdate:modelValue": g[5] || (g[5] = (w) => ve(d) ? d.value = w : null),
936
+ "onUpdate:modelValue": h[5] || (h[5] = (w) => ve(d) ? d.value = w : null),
937
937
  fullscreen: "",
938
938
  "no-click-animation": "",
939
939
  persistent: "",
940
940
  transition: "scroll-x-reverse-transition",
941
- onKeydown: g[6] || (g[6] = Ke(X((w) => d.value = !1, ["stop", "prevent"]), ["esc"]))
941
+ onKeydown: h[6] || (h[6] = Ke(X((w) => d.value = !1, ["stop", "prevent"]), ["esc"]))
942
942
  }, {
943
943
  activator: J(({ props: w }) => [
944
944
  D(V, be(w, {
@@ -954,12 +954,12 @@ const rn = { class: "text-subtitle-2 ml-1" }, un = { class: "text-caption text-g
954
954
  default: J(() => [
955
955
  F("div", {
956
956
  class: "w-100 h-100 d-flex flex-row-reverse",
957
- onClick: g[3] || (g[3] = X((w) => d.value = !1, ["self"])),
958
- onContextmenu: g[4] || (g[4] = X((w) => d.value = !1, ["self", "prevent"]))
957
+ onClick: h[3] || (h[3] = X((w) => d.value = !1, ["self"])),
958
+ onContextmenu: h[4] || (h[4] = X((w) => d.value = !1, ["self", "prevent"]))
959
959
  }, [
960
960
  F("div", {
961
961
  class: "elevation-2",
962
- style: I(u.value)
962
+ style: I(r.value)
963
963
  }, [
964
964
  L(e) ? (C(), B(x, {
965
965
  key: 0,
@@ -974,7 +974,7 @@ const rn = { class: "text-subtitle-2 ml-1" }, un = { class: "text-caption text-g
974
974
  default: J(() => [
975
975
  D(P, {
976
976
  icon: "mdi-close",
977
- onClick: g[0] || (g[0] = (w) => d.value = !1)
977
+ onClick: h[0] || (h[0] = (w) => d.value = !1)
978
978
  }),
979
979
  F("span", pn, W(L(s)("x-prop-tree.dlg.compSelect.title")), 1)
980
980
  ]),
@@ -982,13 +982,13 @@ const rn = { class: "text-subtitle-2 ml-1" }, un = { class: "text-caption text-g
982
982
  }),
983
983
  F("div", {
984
984
  class: "overflow-y-auto",
985
- style: I(r.value)
985
+ style: I(u.value)
986
986
  }, [
987
987
  D(vn, {
988
988
  modelValue: o.value,
989
- "onUpdate:modelValue": g[1] || (g[1] = (w) => o.value = w),
989
+ "onUpdate:modelValue": h[1] || (h[1] = (w) => o.value = w),
990
990
  open: L(d),
991
- "onUpdate:open": g[2] || (g[2] = (w) => ve(d) ? d.value = w : null)
991
+ "onUpdate:open": h[2] || (h[2] = (w) => ve(d) ? d.value = w : null)
992
992
  }, null, 8, ["modelValue", "open"]),
993
993
  F("div", {
994
994
  style: I(a.value)
@@ -1002,8 +1002,8 @@ const rn = { class: "text-subtitle-2 ml-1" }, un = { class: "text-caption text-g
1002
1002
  };
1003
1003
  }
1004
1004
  });
1005
- function gn(t) {
1006
- return { renderUiCompSelect: (n, e, l, o, i) => e.ui !== "compSelect" ? (console.assert(!1), h("div", "renderUiCompSelect prop ui must be compSelect")) : h(yn, {
1005
+ function hn(t) {
1006
+ return { renderUiCompSelect: (n, e, l, o, i) => e.ui !== "compSelect" ? (console.assert(!1), y("div", "renderUiCompSelect property ui must be compSelect")) : y(gn, {
1007
1007
  modelValue: ne(
1008
1008
  n,
1009
1009
  e,
@@ -1012,12 +1012,12 @@ function gn(t) {
1012
1012
  o,
1013
1013
  i
1014
1014
  ),
1015
- "onUpdate:modelValue": (u) => {
1015
+ "onUpdate:modelValue": (r) => {
1016
1016
  oe(
1017
1017
  n,
1018
1018
  e,
1019
1019
  l,
1020
- u,
1020
+ r,
1021
1021
  t,
1022
1022
  o,
1023
1023
  i
@@ -1025,7 +1025,7 @@ function gn(t) {
1025
1025
  }
1026
1026
  }) };
1027
1027
  }
1028
- const hn = { class: "d-flex justify-space-between align-center" }, kn = /* @__PURE__ */ R({
1028
+ const yn = { class: "d-flex justify-space-between align-center" }, kn = /* @__PURE__ */ R({
1029
1029
  __name: "colorPicker",
1030
1030
  props: /* @__PURE__ */ Y({
1031
1031
  hasDelete: { type: Boolean, default: !1 },
@@ -1037,28 +1037,28 @@ const hn = { class: "d-flex justify-space-between align-center" }, kn = /* @__PU
1037
1037
  emits: /* @__PURE__ */ Y(["delete"], ["update:modelValue"]),
1038
1038
  setup(t, { emit: s }) {
1039
1039
  const { t: n } = te(), e = z(t, "modelValue"), l = s, o = K(() => {
1040
- let r = "100%";
1041
- return t.hasDelete && (r = "calc(100% - 37px)"), {
1042
- width: r
1040
+ let u = "100%";
1041
+ return t.hasDelete && (u = "calc(100% - 37px)"), {
1042
+ width: u
1043
1043
  };
1044
- }), i = K(() => t.readonly), { open: u } = xe(`propTreeColorPickerMenu${we()}`);
1044
+ }), i = K(() => t.readonly), { open: r } = xe(`propTreeColorPickerMenu${we()}`);
1045
1045
  return De(() => {
1046
- u.value = !1;
1047
- }), (r, a) => {
1048
- const f = U("v-btn"), d = U("v-color-picker"), y = U("v-menu");
1049
- return C(), B(y, {
1050
- modelValue: L(u),
1051
- "onUpdate:modelValue": a[2] || (a[2] = (g) => ve(u) ? u.value = g : null),
1046
+ r.value = !1;
1047
+ }), (u, a) => {
1048
+ const f = U("v-btn"), d = U("v-color-picker"), g = U("v-menu");
1049
+ return C(), B(g, {
1050
+ modelValue: L(r),
1051
+ "onUpdate:modelValue": a[2] || (a[2] = (h) => ve(r) ? r.value = h : null),
1052
1052
  "close-on-content-click": !1,
1053
1053
  scrim: "transparent"
1054
1054
  }, {
1055
- activator: J(({ props: g }) => [
1056
- F("div", hn, [
1055
+ activator: J(({ props: h }) => [
1056
+ F("div", yn, [
1057
1057
  F("div", {
1058
1058
  class: "flex-grow-1",
1059
1059
  style: I(o.value)
1060
1060
  }, [
1061
- D(f, be(g, {
1061
+ D(f, be(h, {
1062
1062
  block: "",
1063
1063
  color: e.value,
1064
1064
  density: "comfortable",
@@ -1083,7 +1083,7 @@ const hn = { class: "d-flex justify-space-between align-center" }, kn = /* @__PU
1083
1083
  default: J(() => [
1084
1084
  D(d, {
1085
1085
  modelValue: e.value,
1086
- "onUpdate:modelValue": a[1] || (a[1] = (g) => e.value = g),
1086
+ "onUpdate:modelValue": a[1] || (a[1] = (h) => e.value = h),
1087
1087
  mode: "hexa",
1088
1088
  "show-swatches": "",
1089
1089
  "swatches-max-height": "150px"
@@ -1095,7 +1095,7 @@ const hn = { class: "d-flex justify-space-between align-center" }, kn = /* @__PU
1095
1095
  }
1096
1096
  });
1097
1097
  function _n(t) {
1098
- return { renderUiColorPicker: (n, e, l, o, i) => e.ui !== "colorPicker" ? (console.assert(!1), h("div", "renderUiColorPicker prop ui must be colorPicker")) : h(kn, {
1098
+ return { renderUiColorPicker: (n, e, l, o, i) => e.ui !== "colorPicker" ? (console.assert(!1), y("div", "renderUiColorPicker property ui must be colorPicker")) : y(kn, {
1099
1099
  modelValue: ne(
1100
1100
  n,
1101
1101
  e,
@@ -1104,12 +1104,12 @@ function _n(t) {
1104
1104
  o,
1105
1105
  i
1106
1106
  ),
1107
- "onUpdate:modelValue": (u) => {
1107
+ "onUpdate:modelValue": (r) => {
1108
1108
  oe(
1109
1109
  n,
1110
1110
  e,
1111
1111
  l,
1112
- u,
1112
+ r,
1113
1113
  t,
1114
1114
  o,
1115
1115
  i
@@ -1133,9 +1133,9 @@ const Vn = { class: "d-flex justify-space-between align-center my-2" }, Cn = { c
1133
1133
  }),
1134
1134
  emits: /* @__PURE__ */ Y(["delete"], ["update:modelValue"]),
1135
1135
  setup(t, { emit: s }) {
1136
- const { t: n } = te(), { isMobile: e } = pe(), l = z(t, "modelValue"), o = s, i = Te(), u = K(() => Fe[i.value]?.types[t.types]), r = O(0), a = K(() => {
1136
+ const { t: n } = te(), { isMobile: e } = pe(), l = z(t, "modelValue"), o = s, i = Te(), r = K(() => Fe[i.value]?.types[t.types]), u = O(0), a = K(() => {
1137
1137
  const V = [];
1138
- return u.value?.forEach(({ title: x }, P) => {
1138
+ return r.value?.forEach(({ title: x }, P) => {
1139
1139
  V.push({
1140
1140
  title: n(x),
1141
1141
  value: P
@@ -1143,35 +1143,35 @@ const Vn = { class: "d-flex justify-space-between align-center my-2" }, Cn = { c
1143
1143
  }), V;
1144
1144
  });
1145
1145
  Ne(() => {
1146
- u.value?.some((V, x) => V.validator(l.value) ? (r.value = x, !0) : !1);
1146
+ r.value?.some((V, x) => V.validator(l.value) ? (u.value = x, !0) : !1);
1147
1147
  });
1148
- const f = K(() => u.value?.[r.value]), d = () => {
1148
+ const f = K(() => r.value?.[u.value]), d = () => {
1149
1149
  l.value = f.value?.default;
1150
- }, y = O(0), g = async (V) => {
1150
+ }, g = O(0), h = async (V) => {
1151
1151
  if (!V || !e() || f.value.ui !== "pixelInput" && f.value.ui !== "percentInput")
1152
1152
  return;
1153
1153
  const x = await Re({
1154
1154
  title: "",
1155
- value: y.value,
1155
+ value: g.value,
1156
1156
  precision: f.value.precision,
1157
1157
  min: f.value.min,
1158
1158
  max: f.value.max,
1159
1159
  step: f.value.step
1160
1160
  });
1161
- x !== void 0 && (y.value = x);
1161
+ x !== void 0 && (g.value = x);
1162
1162
  };
1163
1163
  return Ne(() => {
1164
- f.value?.ui === "pixelInput" ? y.value = Vt(l.value) : f.value?.ui === "percentInput" && (y.value = Ct(l.value));
1165
- }), re(y, (V) => {
1164
+ f.value?.ui === "pixelInput" ? g.value = Vt(l.value) : f.value?.ui === "percentInput" && (g.value = Ct(l.value));
1165
+ }), ue(g, (V) => {
1166
1166
  f.value?.ui === "pixelInput" ? l.value = V + "px" : f.value?.ui === "percentInput" && (l.value = V + "%");
1167
1167
  }), (V, x) => {
1168
1168
  const P = U("v-select"), T = U("v-number-input"), w = U("v-btn"), k = le("ripple");
1169
1169
  return C(), E("div", Vn, [
1170
1170
  F("div", Cn, [
1171
1171
  ee(D(P, {
1172
- modelValue: r.value,
1172
+ modelValue: u.value,
1173
1173
  "onUpdate:modelValue": [
1174
- x[0] || (x[0] = (M) => r.value = M),
1174
+ x[0] || (x[0] = (M) => u.value = M),
1175
1175
  d
1176
1176
  ],
1177
1177
  density: "compact",
@@ -1188,8 +1188,8 @@ const Vn = { class: "d-flex justify-space-between align-center my-2" }, Cn = { c
1188
1188
  ]),
1189
1189
  f.value?.ui === "pixelInput" || f.value?.ui === "percentInput" ? ee((C(), B(T, {
1190
1190
  key: 0,
1191
- modelValue: y.value,
1192
- "onUpdate:modelValue": x[1] || (x[1] = (M) => y.value = M),
1191
+ modelValue: g.value,
1192
+ "onUpdate:modelValue": x[1] || (x[1] = (M) => g.value = M),
1193
1193
  "control-variant": "stacked",
1194
1194
  density: "compact",
1195
1195
  "hide-details": "",
@@ -1198,7 +1198,7 @@ const Vn = { class: "d-flex justify-space-between align-center my-2" }, Cn = { c
1198
1198
  precision: f.value.precision,
1199
1199
  "single-line": "",
1200
1200
  step: f.value.step,
1201
- "onUpdate:focused": g
1201
+ "onUpdate:focused": h
1202
1202
  }, null, 8, ["modelValue", "max", "min", "precision", "step"])), [
1203
1203
  [
1204
1204
  k,
@@ -1221,7 +1221,7 @@ const Vn = { class: "d-flex justify-space-between align-center my-2" }, Cn = { c
1221
1221
  }
1222
1222
  });
1223
1223
  function Sn(t) {
1224
- return { renderUiMultiTypes: (n, e, l, o, i) => e.ui !== "multiTypes" ? (console.assert(!1), h("div", "renderUiMultiTypes prop ui must be multiTypes")) : h(xn, {
1224
+ return { renderUiMultiTypes: (n, e, l, o, i) => e.ui !== "multiTypes" ? (console.assert(!1), y("div", "renderUiMultiTypes property ui must be multiTypes")) : y(xn, {
1225
1225
  modelValue: ne(
1226
1226
  n,
1227
1227
  e,
@@ -1230,12 +1230,12 @@ function Sn(t) {
1230
1230
  o,
1231
1231
  i
1232
1232
  ) ?? "",
1233
- "onUpdate:modelValue": (u) => {
1233
+ "onUpdate:modelValue": (r) => {
1234
1234
  oe(
1235
1235
  n,
1236
1236
  e,
1237
1237
  l,
1238
- u,
1238
+ r,
1239
1239
  t,
1240
1240
  o,
1241
1241
  i
@@ -1260,24 +1260,24 @@ const Un = /* @__PURE__ */ R({
1260
1260
  },
1261
1261
  emits: ["update:modelValue", "update:lock", "update:scale"],
1262
1262
  setup(t, { expose: s }) {
1263
- const n = z(t, "modelValue"), e = z(t, "lock"), l = z(t, "scale"), o = gt(), i = ht(), u = Te(), r = Je("target"), a = () => {
1263
+ const n = z(t, "modelValue"), e = z(t, "lock"), l = z(t, "scale"), o = ht(), i = yt(), r = Te(), u = Je("target"), a = () => {
1264
1264
  const d = JSON.parse(n.value);
1265
- r.value?.load(d);
1265
+ u.value?.load(d);
1266
1266
  };
1267
1267
  return s({ save: () => {
1268
- const d = r.value.save();
1268
+ const d = u.value.save();
1269
1269
  n.value = JSON.stringify(d, null, 2);
1270
- } }), (d, y) => (C(), B(L(Ut), {
1270
+ } }), (d, g) => (C(), B(L(Ut), {
1271
1271
  ref_key: "target",
1272
- ref: r,
1272
+ ref: u,
1273
1273
  lock: e.value,
1274
- "onUpdate:lock": y[0] || (y[0] = (g) => e.value = g),
1274
+ "onUpdate:lock": g[0] || (g[0] = (h) => e.value = h),
1275
1275
  scale: l.value,
1276
- "onUpdate:scale": y[1] || (y[1] = (g) => l.value = g),
1276
+ "onUpdate:scale": g[1] || (g[1] = (h) => l.value = h),
1277
1277
  dark: L(o),
1278
1278
  locale: L(i),
1279
1279
  type: "json",
1280
- version: L(u),
1280
+ version: L(r),
1281
1281
  onReady: a
1282
1282
  }, null, 8, ["lock", "scale", "dark", "locale", "version"]));
1283
1283
  }
@@ -1289,21 +1289,21 @@ const Un = /* @__PURE__ */ R({
1289
1289
  },
1290
1290
  emits: ["update:modelValue"],
1291
1291
  setup(t) {
1292
- const { t: s } = te(), { sysBarAvail: n } = pe(), { backgroundColor0: e, backgroundColor1: l, backgroundColor2: o } = ie(), i = z(t, "modelValue"), u = O(!1), r = O(1), a = K(() => {
1293
- let g = 48;
1294
- return n.value && (g += 24), {
1292
+ const { t: s } = te(), { sysBarAvail: n } = pe(), { backgroundColor0: e, backgroundColor1: l, backgroundColor2: o } = ie(), i = z(t, "modelValue"), r = O(!1), u = O(1), a = K(() => {
1293
+ let h = 48;
1294
+ return n.value && (h += 24), {
1295
1295
  position: "relative",
1296
1296
  background: l.value,
1297
- height: `calc(100% - ${g}px)`
1297
+ height: `calc(100% - ${h}px)`
1298
1298
  };
1299
1299
  }), f = K(() => s("x-prop-tree.dlg.jsonObject.title")), { open: d } = xe(`propTreeJsonObjectDlg${we()}`);
1300
1300
  De(() => {
1301
1301
  d.value = !1;
1302
1302
  });
1303
- const y = Je("editor");
1304
- return re(d, (g) => {
1305
- g || y.value?.save();
1306
- }), (g, V) => {
1303
+ const g = Je("editor");
1304
+ return ue(d, (h) => {
1305
+ h || g.value?.save();
1306
+ }), (h, V) => {
1307
1307
  const x = U("v-btn"), P = U("v-sheet"), T = U("v-spacer"), w = U("v-dialog");
1308
1308
  return C(), B(w, {
1309
1309
  modelValue: L(d),
@@ -1360,13 +1360,13 @@ const Un = /* @__PURE__ */ R({
1360
1360
  }, [
1361
1361
  D(Un, {
1362
1362
  ref_key: "editor",
1363
- ref: y,
1363
+ ref: g,
1364
1364
  modelValue: i.value,
1365
1365
  "onUpdate:modelValue": V[1] || (V[1] = (k) => i.value = k),
1366
- lock: u.value,
1367
- "onUpdate:lock": V[2] || (V[2] = (k) => u.value = k),
1368
- scale: r.value,
1369
- "onUpdate:scale": V[3] || (V[3] = (k) => r.value = k)
1366
+ lock: r.value,
1367
+ "onUpdate:lock": V[2] || (V[2] = (k) => r.value = k),
1368
+ scale: u.value,
1369
+ "onUpdate:scale": V[3] || (V[3] = (k) => u.value = k)
1370
1370
  }, null, 8, ["modelValue", "lock", "scale"])
1371
1371
  ], 4)
1372
1372
  ]),
@@ -1379,7 +1379,7 @@ const Un = /* @__PURE__ */ R({
1379
1379
  }
1380
1380
  });
1381
1381
  function Mn(t) {
1382
- return { renderUiJsonEditor: (n, e, l, o, i) => e.ui !== "jsonEditor" ? h("div", "renderUiJsonObject prop ui must be jsonEditor") : h(Pn, {
1382
+ return { renderUiJsonEditor: (n, e, l, o, i) => e.ui !== "jsonEditor" ? y("div", "renderUiJsonObject property ui must be jsonEditor") : y(Pn, {
1383
1383
  modelValue: ne(
1384
1384
  n,
1385
1385
  e,
@@ -1388,12 +1388,12 @@ function Mn(t) {
1388
1388
  o,
1389
1389
  i
1390
1390
  ) ?? "{}",
1391
- "onUpdate:modelValue": (u) => {
1391
+ "onUpdate:modelValue": (r) => {
1392
1392
  oe(
1393
1393
  n,
1394
1394
  e,
1395
1395
  l,
1396
- u,
1396
+ r,
1397
1397
  t,
1398
1398
  o,
1399
1399
  i
@@ -1411,10 +1411,10 @@ const wn = /* @__PURE__ */ R({
1411
1411
  },
1412
1412
  emits: ["change"],
1413
1413
  setup(t, { emit: s }) {
1414
- const { t: n } = te(), { backgroundColor1: e } = ie(), l = t, o = s, i = O("20px"), u = O("56px"), r = O("200px"), a = mt({}), f = O({}), d = (v, c) => {
1414
+ const { t: n } = te(), { backgroundColor1: e } = ie(), l = t, o = s, i = O("20px"), r = O("56px"), u = O("200px"), a = mt({}), f = O({}), d = (v, c) => {
1415
1415
  qe(f, l.config, l.object), o("change", v, c);
1416
1416
  };
1417
- re(
1417
+ ue(
1418
1418
  [() => l.config, () => l.object],
1419
1419
  () => {
1420
1420
  qe(f, l.config, l.object, (v, c) => {
@@ -1423,22 +1423,22 @@ const wn = /* @__PURE__ */ R({
1423
1423
  },
1424
1424
  { immediate: !0 }
1425
1425
  );
1426
- const y = O(l.version);
1427
- Tt(y), re(
1426
+ const g = O(l.version);
1427
+ Tt(g), ue(
1428
1428
  () => l.version,
1429
1429
  () => {
1430
- y.value = l.version;
1430
+ g.value = l.version;
1431
1431
  }
1432
1432
  );
1433
- const g = O(l.config);
1434
- Lt(g), re(
1433
+ const h = O(l.config);
1434
+ Lt(h), ue(
1435
1435
  () => l.config,
1436
1436
  () => {
1437
- g.value = l.config;
1437
+ h.value = l.config;
1438
1438
  }
1439
1439
  );
1440
1440
  const V = O(l.object);
1441
- Ot(V), re(
1441
+ Ot(V), ue(
1442
1442
  () => l.object,
1443
1443
  () => {
1444
1444
  V.value = l.object;
@@ -1474,7 +1474,7 @@ const wn = /* @__PURE__ */ R({
1474
1474
  }), pt(() => {
1475
1475
  k();
1476
1476
  });
1477
- const { renderProp: M } = zt(f, u, r), { renderUiDummy: N } = Gt(d), { renderUiStrInput: Q } = Qt(d), { renderUiNumInput: Pe } = It(d), { renderUiSwitch: je } = nn(d), { renderUiSelect: Ie } = sn(d), { renderUiColorPicker: et } = _n(d), { renderUiJsonEditor: tt } = Mn(d), { renderUiMultiTypes: nt } = Sn(d), { renderUiCompSelect: lt } = gn(d), ye = (v, c, p, m, _, $) => (v = Ee(v), _ !== void 0 ? (v.push(_), $ && v.push(c.key)) : v.push(c.key), c.ui ? c.array && m ? it(v, c, p, m, _, $) : rt(v, c, p, _, $) : c.array ? ot(v, c, p, m, _, $) : st(
1477
+ const { renderProp: M } = zt(f, r, u), { renderUiDummy: N } = Gt(d), { renderUiStrInput: Q } = Qt(d), { renderUiNumInput: Pe } = It(d), { renderUiSwitch: je } = nn(d), { renderUiSelect: Ie } = sn(d), { renderUiColorPicker: et } = _n(d), { renderUiJsonEditor: tt } = Mn(d), { renderUiMultiTypes: nt } = Sn(d), { renderUiCompSelect: lt } = hn(d), ge = (v, c, p, m, _, $) => (v = Ee(v), _ !== void 0 ? (v.push(_), $ && v.push(c.key)) : v.push(c.key), c.ui ? c.array && m ? it(v, c, p, m, _, $) : ut(v, c, p, _, $) : c.array ? ot(v, c, p, m, _, $) : st(
1478
1478
  v,
1479
1479
  c,
1480
1480
  p,
@@ -1483,16 +1483,16 @@ const wn = /* @__PURE__ */ R({
1483
1483
  $
1484
1484
  )), ot = (v, c, p, m, _, $) => {
1485
1485
  if (c.ui)
1486
- return console.assert(!1), h("div", "renderBranchArray prop ui must be invalid");
1486
+ return console.assert(!1), y("div", "renderBranchArray property ui must be invalid");
1487
1487
  if (!c.array)
1488
- return console.assert(!1), h("div", "renderBranchArray prop array must be valid");
1488
+ return console.assert(!1), y("div", "renderBranchArray property array must be valid");
1489
1489
  if (!m)
1490
- return console.assert(!1), h("div", "renderBranchArray branch must be valid");
1490
+ return console.assert(!1), y("div", "renderBranchArray branch must be valid");
1491
1491
  let A;
1492
1492
  _ !== void 0 && !$ ? (p[_] instanceof Array || (p[_] = q(c), d(v, p[c.key])), A = p[_]) : (p[c.key] instanceof Array || (p[c.key] = q(c), d(v, p[c.key])), A = p[c.key]);
1493
1493
  let Z = n(c.name);
1494
1494
  m.collapse && ae(f.value, v) && (Z += " *");
1495
- const fe = h(_e, {
1495
+ const fe = y(_e, {
1496
1496
  title: Z,
1497
1497
  collapse: m.collapse,
1498
1498
  hasCreate: !0,
@@ -1500,12 +1500,12 @@ const wn = /* @__PURE__ */ R({
1500
1500
  m.collapse = S;
1501
1501
  },
1502
1502
  onMenu: (S, b) => {
1503
- ue.emit("propTreeMenu", { x: S, y: b, keys: v });
1503
+ re.emit("propTreeMenu", { x: S, y: b, keys: v });
1504
1504
  },
1505
1505
  onCreate: () => {
1506
1506
  A.push({}), d(v, A);
1507
1507
  }
1508
- }), H = h(
1508
+ }), H = y(
1509
1509
  "div",
1510
1510
  {
1511
1511
  style: {
@@ -1523,10 +1523,10 @@ const wn = /* @__PURE__ */ R({
1523
1523
  collapse: !0,
1524
1524
  children: {}
1525
1525
  });
1526
- const ge = [...v, b], he = m.children[b];
1526
+ const he = [...v, b], ye = m.children[b];
1527
1527
  let Le = `[${b + 1}]`;
1528
- m.children[b].collapse && ae(f.value, ge) && (Le += " *");
1529
- const at = h(_e, {
1528
+ m.children[b].collapse && ae(f.value, he) && (Le += " *");
1529
+ const at = y(_e, {
1530
1530
  title: Le,
1531
1531
  collapse: m.children[b].collapse,
1532
1532
  hasDelete: !0,
@@ -1539,7 +1539,7 @@ const wn = /* @__PURE__ */ R({
1539
1539
  m.children[b].collapse = j;
1540
1540
  },
1541
1541
  onMenu: (j, se) => {
1542
- ue.emit("propTreeMenu", { x: j, y: se, keys: ge });
1542
+ re.emit("propTreeMenu", { x: j, y: se, keys: he });
1543
1543
  },
1544
1544
  onDelete: (j) => {
1545
1545
  if (!Me(m.children)) {
@@ -1550,7 +1550,7 @@ const wn = /* @__PURE__ */ R({
1550
1550
  }
1551
1551
  });
1552
1552
  S.push(at);
1553
- const ct = h(
1553
+ const ct = y(
1554
1554
  "div",
1555
1555
  {
1556
1556
  style: {
@@ -1560,19 +1560,19 @@ const wn = /* @__PURE__ */ R({
1560
1560
  (() => {
1561
1561
  const j = [];
1562
1562
  return c.children.forEach((se) => {
1563
- if (!Oe(he.children)) {
1563
+ if (!Oe(ye.children)) {
1564
1564
  console.assert(!1);
1565
1565
  return;
1566
1566
  }
1567
- he.children[se.key] || (he.children[se.key] = {
1567
+ ye.children[se.key] || (ye.children[se.key] = {
1568
1568
  collapse: !0,
1569
1569
  children: se.array ? [] : {}
1570
1570
  });
1571
- const dt = ye(
1571
+ const dt = ge(
1572
1572
  v,
1573
1573
  se,
1574
1574
  A[b],
1575
- he.children[se.key],
1575
+ ye.children[se.key],
1576
1576
  b,
1577
1577
  !0
1578
1578
  );
@@ -1585,7 +1585,7 @@ const wn = /* @__PURE__ */ R({
1585
1585
  return S;
1586
1586
  })()
1587
1587
  );
1588
- return h(
1588
+ return y(
1589
1589
  "div",
1590
1590
  {
1591
1591
  style: {
@@ -1599,14 +1599,14 @@ const wn = /* @__PURE__ */ R({
1599
1599
  );
1600
1600
  }, st = (v, c, p, m, _, $) => {
1601
1601
  if (c.ui)
1602
- return console.assert(!1), h("div", "renderBranchScalar prop ui must be invalid");
1602
+ return console.assert(!1), y("div", "renderBranchScalar property ui must be invalid");
1603
1603
  if (c.array)
1604
- return console.assert(!1), h("div", "renderBranchScalar prop array must be invalid");
1604
+ return console.assert(!1), y("div", "renderBranchScalar property array must be invalid");
1605
1605
  if (!m)
1606
- return console.assert(!1), h("div", "renderBranchScalar branch must be valid");
1606
+ return console.assert(!1), y("div", "renderBranchScalar branch must be valid");
1607
1607
  let A = n(c.name);
1608
1608
  m.collapse && ae(f.value, v) && (A += " *");
1609
- const Z = h(_e, {
1609
+ const Z = y(_e, {
1610
1610
  title: A,
1611
1611
  collapse: m.collapse,
1612
1612
  hasDelete: _ !== void 0 && !$,
@@ -1614,12 +1614,12 @@ const wn = /* @__PURE__ */ R({
1614
1614
  m.collapse = H;
1615
1615
  },
1616
1616
  onMenu: (H, S) => {
1617
- ue.emit("propTreeMenu", { x: H, y: S, keys: v });
1617
+ re.emit("propTreeMenu", { x: H, y: S, keys: v });
1618
1618
  },
1619
1619
  onDelete: () => {
1620
1620
  _ === void 0 || $ || (p.splice(_, 1), d(v.slice(0, -1), p));
1621
1621
  }
1622
- }), fe = h(
1622
+ }), fe = y(
1623
1623
  "div",
1624
1624
  {
1625
1625
  style: {
@@ -1637,7 +1637,7 @@ const wn = /* @__PURE__ */ R({
1637
1637
  collapse: !0,
1638
1638
  children: !S.ui && S.array ? [] : {}
1639
1639
  });
1640
- const b = ye(
1640
+ const b = ge(
1641
1641
  v,
1642
1642
  S,
1643
1643
  (typeof p[c.key] != "object" && (p[c.key] = {}, d(v, p[c.key])), p[c.key]),
@@ -1647,7 +1647,7 @@ const wn = /* @__PURE__ */ R({
1647
1647
  }), H;
1648
1648
  })()
1649
1649
  );
1650
- return h(
1650
+ return y(
1651
1651
  "div",
1652
1652
  {
1653
1653
  style: {
@@ -1661,16 +1661,16 @@ const wn = /* @__PURE__ */ R({
1661
1661
  );
1662
1662
  }, it = (v, c, p, m, _, $) => {
1663
1663
  if (!c.ui)
1664
- return console.assert(!1), h("div", "renderLeafArray prop ui must be valid");
1664
+ return console.assert(!1), y("div", "renderLeafArray property ui must be valid");
1665
1665
  if (!c.array)
1666
- return console.assert(!1), h("div", "renderLeafArray prop array must be valid");
1666
+ return console.assert(!1), y("div", "renderLeafArray property array must be valid");
1667
1667
  if (!m)
1668
- return console.assert(!1), h("div", "renderLeafArray branch must be valid");
1668
+ return console.assert(!1), y("div", "renderLeafArray branch must be valid");
1669
1669
  let A;
1670
1670
  _ !== void 0 && !$ ? (p[_] instanceof Array || (p[_] = q(c), d(v, p[_])), A = p[_]) : (p[c.key] instanceof Array || (p[c.key] = q(c), d(v, p[c.key])), A = p[c.key]);
1671
1671
  let Z = n(c.name);
1672
1672
  m.collapse && ae(f.value, v) && (Z += " *");
1673
- const fe = h(_e, {
1673
+ const fe = y(_e, {
1674
1674
  title: Z,
1675
1675
  collapse: m.collapse,
1676
1676
  hasCreate: !0,
@@ -1678,12 +1678,12 @@ const wn = /* @__PURE__ */ R({
1678
1678
  m.collapse = S;
1679
1679
  },
1680
1680
  onMenu: (S, b) => {
1681
- ue.emit("propTreeMenu", { x: S, y: b, keys: v });
1681
+ re.emit("propTreeMenu", { x: S, y: b, keys: v });
1682
1682
  },
1683
1683
  onCreate: () => {
1684
1684
  A.push(q(c, !0)), d(v, A);
1685
1685
  }
1686
- }), H = h(
1686
+ }), H = y(
1687
1687
  "div",
1688
1688
  {
1689
1689
  style: {
@@ -1693,13 +1693,13 @@ const wn = /* @__PURE__ */ R({
1693
1693
  (() => {
1694
1694
  const S = [];
1695
1695
  for (let b = 0; b < A.length; b++) {
1696
- const ge = ye(v, c, A, void 0, b, !1);
1697
- S.push(ge);
1696
+ const he = ge(v, c, A, void 0, b, !1);
1697
+ S.push(he);
1698
1698
  }
1699
1699
  return S;
1700
1700
  })()
1701
1701
  );
1702
- return h(
1702
+ return y(
1703
1703
  "div",
1704
1704
  {
1705
1705
  style: {
@@ -1711,12 +1711,12 @@ const wn = /* @__PURE__ */ R({
1711
1711
  return S.push(fe), m.collapse || S.push(H), S;
1712
1712
  })()
1713
1713
  );
1714
- }, rt = (v, c, p, m, _) => {
1714
+ }, ut = (v, c, p, m, _) => {
1715
1715
  if (!c.ui)
1716
- return console.assert(!1), h("div", "renderLeafScalar prop ui must be valid");
1716
+ return console.assert(!1), y("div", "renderLeafScalar property ui must be valid");
1717
1717
  let $;
1718
- return c.ui === "dummy" ? $ = N(v, c, p, m, _) : c.ui === "strInput" ? $ = Q(v, c, p, m, _) : c.ui === "numInput" ? $ = Pe(v, c, p, m, _) : c.ui === "switch" ? $ = je(v, c, p, m, _) : c.ui === "select" ? $ = Ie(v, c, p, m, _) : c.ui === "colorPicker" ? $ = et(v, c, p, m, _) : c.ui === "jsonEditor" ? $ = tt(v, c, p, m, _) : c.ui === "multiTypes" ? $ = nt(v, c, p, m, _) : c.ui === "compSelect" ? $ = lt(v, c, p, m, _) : console.assert(!1, "renderLeafScalar not implemented"), $ ? M(v, c, $) : h("div");
1719
- }, ut = () => h(
1718
+ return c.ui === "dummy" ? $ = N(v, c, p, m, _) : c.ui === "strInput" ? $ = Q(v, c, p, m, _) : c.ui === "numInput" ? $ = Pe(v, c, p, m, _) : c.ui === "switch" ? $ = je(v, c, p, m, _) : c.ui === "select" ? $ = Ie(v, c, p, m, _) : c.ui === "colorPicker" ? $ = et(v, c, p, m, _) : c.ui === "jsonEditor" ? $ = tt(v, c, p, m, _) : c.ui === "multiTypes" ? $ = nt(v, c, p, m, _) : c.ui === "compSelect" ? $ = lt(v, c, p, m, _) : console.assert(!1, "renderLeafScalar not implemented"), $ ? M(v, c, $) : y("div");
1719
+ }, rt = () => y(
1720
1720
  "div",
1721
1721
  {
1722
1722
  class: "text-body-2",
@@ -1734,7 +1734,7 @@ const wn = /* @__PURE__ */ R({
1734
1734
  collapse: !0,
1735
1735
  children: !p.ui && p.array ? [] : {}
1736
1736
  });
1737
- const m = ye([], p, l.object, c[p.key]);
1737
+ const m = ge([], p, l.object, c[p.key]);
1738
1738
  v.push(m);
1739
1739
  });
1740
1740
  }
@@ -1742,7 +1742,7 @@ const wn = /* @__PURE__ */ R({
1742
1742
  })()
1743
1743
  );
1744
1744
  return (v, c) => (C(), E(Ve, null, [
1745
- D(ut),
1745
+ D(rt),
1746
1746
  D(Ht, {
1747
1747
  config: l.config,
1748
1748
  object: l.object,