x-prop-tree 0.7.18 → 0.7.19

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 +445 -429
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -1,8 +1,8 @@
1
- import { provide as ae, inject as ce, defineComponent as R, ref as T, computed as L, resolveComponent as U, createBlock as B, openBlock as V, unref as D, isRef as re, withCtx as K, createVNode as M, createElementBlock as q, Fragment as fe, renderList as Te, createTextVNode as ye, toDisplayString as F, resolveDirective as ee, withDirectives as Z, withModifiers as X, normalizeStyle as W, createElementVNode as O, createCommentVNode as G, mergeModels as Q, useModel as z, useId as Ue, onUnmounted as $e, mergeProps as we, withKeys as Le, useTemplateRef as Je, watch as oe, watchEffect as Ke, h as x, renderSlot as ht, onMounted as He, onBeforeUnmount as Xe, reactive as kt } from "vue";
2
- import { useI18n as j } from "vue-i18n";
3
- import { useViewStack as he, 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 Ut, getPropertyTag as $t, elements as wt } from "x-runtime-lib";
5
- import { c as ze, i as Me, r as ke, v as Ge, d as Ye } from "./vendor.f0ug048x.js";
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";
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
6
  import { useDisplay as We } from "vuetify";
7
7
  import { XBlockly as Mt } from "x-block-lib";
8
8
  import { globalState as Qe } from "x-state-lib";
@@ -20,7 +20,7 @@ const Re = (t) => !(t instanceof Array), Ae = (t) => t instanceof Array, bt = (t
20
20
  return !0;
21
21
  };
22
22
  return n(t, s);
23
- }, Se = (t, s) => {
23
+ }, Ce = (t, s) => {
24
24
  let n = {
25
25
  key: "",
26
26
  name: "",
@@ -42,7 +42,7 @@ const Re = (t) => !(t instanceof Array), Ae = (t) => t instanceof Array, bt = (t
42
42
  n = n.children.find((l) => l.key === e);
43
43
  }
44
44
  }), n;
45
- }, ge = (t, s) => {
45
+ }, ye = (t, s) => {
46
46
  let n = t;
47
47
  return s.forEach((e) => {
48
48
  if (!n) {
@@ -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), be = (t) => t instanceof Array, Pt = [
83
+ }, Be = (t) => !(t instanceof Array), Pe = (t) => t instanceof Array, Pt = [
84
84
  ["basic", "id"],
85
85
  ["basic", "name"]
86
- ], Dt = (t) => Pt.find((s) => Me(t, s)), Pe = (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 && be(e.children) ? Lt(
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(
87
87
  t,
88
88
  s,
89
89
  n,
@@ -121,7 +121,7 @@ const Re = (t) => !(t instanceof Array), Ae = (t) => t instanceof Array, bt = (t
121
121
  !1,
122
122
  "execPropertyBranchArray property array must be valid"
123
123
  ), !1;
124
- if (!e.children || !be(e.children))
124
+ if (!e.children || !Pe(e.children))
125
125
  return console.assert(
126
126
  !1,
127
127
  "execPropertyBranchArray state children must be array"
@@ -142,7 +142,7 @@ const Re = (t) => !(t instanceof Array), Ae = (t) => t instanceof Array, bt = (t
142
142
  a.children[d.key] = {
143
143
  change: !1,
144
144
  children: d.array ? [] : {}
145
- }, Pe(
145
+ }, De(
146
146
  t,
147
147
  d,
148
148
  u[r],
@@ -153,7 +153,7 @@ const Re = (t) => !(t instanceof Array), Ae = (t) => t instanceof Array, bt = (t
153
153
  ) && (a.change = !0), a.change && (e.change = !0);
154
154
  });
155
155
  }
156
- return e.change || (e.change = !Me(u, J(s))), e.change;
156
+ return e.change || (e.change = !be(u, J(s))), e.change;
157
157
  }, Tt = (t, s, n, e, l, o, i) => {
158
158
  if (s.ui)
159
159
  return console.assert(
@@ -174,7 +174,7 @@ const Re = (t) => !(t instanceof Array), Ae = (t) => t instanceof Array, bt = (t
174
174
  e.children[a.key] = {
175
175
  change: !1,
176
176
  children: a.array ? [] : {}
177
- }, Pe(t, a, u, e.children[a.key], l) && (e.change = !0);
177
+ }, De(t, a, u, e.children[a.key], l) && (e.change = !0);
178
178
  }
179
179
  return e.change;
180
180
  }, Lt = (t, s, n, e, l, o, i) => {
@@ -182,7 +182,7 @@ const Re = (t) => !(t instanceof Array), Ae = (t) => t instanceof Array, bt = (t
182
182
  return console.assert(!1, "execPropertyLeafArray property ui must be valid"), !1;
183
183
  if (!s.array)
184
184
  return console.assert(!1, "execPropertyLeafArray property aray must be valid"), !1;
185
- if (!e.children || !be(e.children))
185
+ if (!e.children || !Pe(e.children))
186
186
  return console.assert(!1, "execPropertyLeafArray state children must be array"), !1;
187
187
  let u;
188
188
  o !== void 0 && !i ? (n[o] instanceof Array || (n[o] = J(s), l?.(t, n[o])), u = n[o]) : (n[s.key] instanceof Array || (n[s.key] = J(s), l?.(t, n[s.key])), u = n[s.key]), e.change = !1;
@@ -190,7 +190,7 @@ const Re = (t) => !(t instanceof Array), Ae = (t) => t instanceof Array, bt = (t
190
190
  e.children[r] = {
191
191
  change: !1,
192
192
  children: {}
193
- }, Pe(
193
+ }, De(
194
194
  t,
195
195
  s,
196
196
  u,
@@ -199,12 +199,12 @@ const Re = (t) => !(t instanceof Array), Ae = (t) => t instanceof Array, bt = (t
199
199
  r,
200
200
  !1
201
201
  ) && (e.change = !0);
202
- return e.change || (e.change = !Me(u, J(s))), e.change;
202
+ return e.change || (e.change = !be(u, J(s))), e.change;
203
203
  }, Nt = (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
- return e !== void 0 && !l ? o = s[e] : o = s[t.key], n.change = !Me(o, J(t, !0)), n.change;
207
+ return e !== void 0 && !l ? o = s[e] : o = s[t.key], n.change = !be(o, J(t, !0)), n.change;
208
208
  }, Ee = (t, s, n, e) => {
209
209
  if (s.length <= 0 || !n) {
210
210
  t.value = {};
@@ -215,7 +215,7 @@ const Re = (t) => !(t instanceof Array), Ae = (t) => t instanceof Array, bt = (t
215
215
  l[o.key] = {
216
216
  change: !1,
217
217
  children: o.array ? [] : {}
218
- }, Pe([], o, n, l[o.key], e);
218
+ }, De([], o, n, l[o.key], e);
219
219
  }), t.value = l;
220
220
  }, me = (t, s) => {
221
221
  let n = {
@@ -227,7 +227,7 @@ const Re = (t) => !(t instanceof Array), Ae = (t) => t instanceof Array, bt = (t
227
227
  return console.assert(!1, `isPropChanged state must be valid keys=${s}`), !1;
228
228
  if (!n.children)
229
229
  return console.assert(!1, `isPropChanged state must be valid keys=${s}`), !1;
230
- typeof e == "string" ? Be(n.children) && (n = n.children[e]) : be(n.children) && (n = n.children[e]);
230
+ typeof e == "string" ? Be(n.children) && (n = n.children[e]) : Pe(n.children) && (n = n.children[e]);
231
231
  }), n?.change ?? !1;
232
232
  }, Ze = Symbol(), je = Symbol(), Ie = Symbol(), et = Symbol(), tt = Symbol(), nt = Symbol(), lt = Symbol();
233
233
  function Bt(t) {
@@ -272,114 +272,114 @@ function zt(t) {
272
272
  function st() {
273
273
  return ce(lt);
274
274
  }
275
- const Gt = /* @__PURE__ */ R({
275
+ const Gt = /* @__PURE__ */ E({
276
276
  __name: "index",
277
277
  setup(t) {
278
- const { t: s } = j(), n = qt(), e = Rt(), l = Jt(), o = Xt(), i = T(0), u = T(0), r = T([]), a = L(() => [i.value, u.value]), d = (C) => {
279
- const b = () => !(r.value.length <= 0 || !me(l.value, r.value)), k = () => {
280
- const S = Se(n.value, r.value);
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) => {
279
+ const D = () => !(r.value.length <= 0 || !me(l.value, r.value)), x = () => {
280
+ const S = Ce(n.value, r.value);
281
281
  if (S)
282
282
  if (S.ui) {
283
- const P = ge(e.value, r.value.slice(0, -1));
284
- if (!P)
283
+ const U = ye(e.value, r.value.slice(0, -1));
284
+ if (!U)
285
285
  return;
286
- P[r.value[r.value.length - 1]] = J(S), o(r.value, P[r.value[r.value.length - 1]]);
286
+ U[r.value[r.value.length - 1]] = J(S), o(r.value, U[r.value[r.value.length - 1]]);
287
287
  } else if (S.array) {
288
- const P = r.value[r.value.length - 1];
289
- if (P === void 0) {
288
+ const U = r.value[r.value.length - 1];
289
+ if (U === void 0) {
290
290
  console.assert(!1, "invalid last key");
291
291
  return;
292
292
  }
293
- if (typeof P == "string") {
294
- const E = ge(e.value, r.value.slice(0, -1));
295
- if (!E)
293
+ if (typeof U == "string") {
294
+ const O = ye(e.value, r.value.slice(0, -1));
295
+ if (!O)
296
296
  return;
297
- E[r.value[r.value.length - 1]] = J(S), o(r.value, E[r.value[r.value.length - 1]]);
297
+ O[r.value[r.value.length - 1]] = J(S), o(r.value, O[r.value[r.value.length - 1]]);
298
298
  } else {
299
- const E = ge(e.value, r.value);
300
- if (!E)
299
+ const O = ye(e.value, r.value);
300
+ if (!O)
301
301
  return;
302
- S.children.forEach((I) => {
303
- E[I.key] = J(S), o([...r.value, I.key], E[I.key]);
302
+ S.children.forEach((Q) => {
303
+ O[Q.key] = J(S), o([...r.value, Q.key], O[Q.key]);
304
304
  });
305
305
  }
306
306
  } else {
307
- const P = ge(e.value, r.value);
308
- if (!P)
307
+ const U = ye(e.value, r.value);
308
+ if (!U)
309
309
  return;
310
- S.children.forEach((E) => {
311
- P[E.key] = J(S), o([...r.value, E.key], P[E.key]);
310
+ S.children.forEach((O) => {
311
+ U[O.key] = J(S), o([...r.value, O.key], U[O.key]);
312
312
  });
313
313
  }
314
314
  };
315
- b() && C.push({
315
+ D() && V.push({
316
316
  title: s("x-prop-tree.reset"),
317
- func: k
317
+ func: x
318
318
  });
319
- }, c = (C) => {
320
- const b = () => {
321
- const k = Se(n.value, r.value), S = ge(e.value, r.value);
322
- localStorage.setItem("propTreeCopy", JSON.stringify({ property: k, object: S }));
319
+ }, c = (V) => {
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 }));
323
323
  };
324
- C.push({
324
+ V.push({
325
325
  title: s("x-prop-tree.copy"),
326
- func: b
326
+ func: D
327
327
  });
328
- }, f = (C) => {
329
- const b = () => {
328
+ }, f = (V) => {
329
+ const D = () => {
330
330
  const S = localStorage.getItem("propTreeCopy");
331
331
  if (!S)
332
332
  return !1;
333
333
  try {
334
- const { property: P } = JSON.parse(S), E = Se(n.value, r.value);
335
- return bt(P, E);
336
- } catch (P) {
337
- console.error(P);
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);
338
338
  }
339
339
  return !1;
340
- }, k = () => {
341
- if (!b())
340
+ }, x = () => {
341
+ if (!D())
342
342
  return;
343
343
  const S = localStorage.getItem("propTreeCopy");
344
344
  if (S)
345
345
  try {
346
- const { object: P } = JSON.parse(S), E = Se(n.value, r.value);
347
- console.log(P, E);
348
- } catch (P) {
349
- console.error(P);
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);
350
350
  }
351
351
  };
352
- b() && C.push({
352
+ D() && V.push({
353
353
  title: s("x-prop-tree.paste"),
354
- func: k
354
+ func: x
355
355
  });
356
356
  }, v = L(() => {
357
- const C = [];
358
- return d(C), c(C), f(C), C;
359
- }), h = (C) => {
360
- i.value = C.x, u.value = C.y, r.value = C.keys;
361
- }, { open: _ } = he("propTreeMenu", h);
362
- return (C, b) => {
363
- const k = U("v-list-item-title"), S = U("v-list-item"), P = U("v-list"), E = U("v-menu");
364
- return V(), B(E, {
365
- modelValue: D(_),
366
- "onUpdate:modelValue": b[0] || (b[0] = (I) => re(_) ? _.value = I : null),
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;
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");
364
+ return _(), B(O, {
365
+ modelValue: P(h),
366
+ "onUpdate:modelValue": D[0] || (D[0] = (Q) => re(h) ? h.value = Q : null),
367
367
  "location-strategy": "connected",
368
368
  scrim: "transparent",
369
369
  target: a.value
370
370
  }, {
371
- default: K(() => [
372
- M(P, null, {
373
- default: K(() => [
374
- (V(!0), q(fe, null, Te(v.value, (I, De) => (V(), B(S, {
375
- key: De,
371
+ default: R(() => [
372
+ b(U, null, {
373
+ default: R(() => [
374
+ (_(!0), K(fe, null, Te(v.value, (Q, pe) => (_(), B(S, {
375
+ key: pe,
376
376
  link: "",
377
- onClick: I.func
377
+ onClick: Q.func
378
378
  }, {
379
- default: K(() => [
380
- M(k, null, {
381
- default: K(() => [
382
- ye(F(I.title), 1)
379
+ default: R(() => [
380
+ b(x, null, {
381
+ default: R(() => [
382
+ he(F(Q.title), 1)
383
383
  ]),
384
384
  _: 2
385
385
  }, 1024)
@@ -394,7 +394,7 @@ const Gt = /* @__PURE__ */ R({
394
394
  }, 8, ["modelValue", "target"]);
395
395
  };
396
396
  }
397
- }), Yt = { style: { pointerEvents: "none" } }, Ce = /* @__PURE__ */ R({
397
+ }), Yt = { style: { pointerEvents: "none" } }, $e = /* @__PURE__ */ E({
398
398
  __name: "index",
399
399
  props: {
400
400
  title: {},
@@ -416,99 +416,99 @@ const Gt = /* @__PURE__ */ R({
416
416
  l("menu", a.clientX, a.clientY);
417
417
  };
418
418
  return (a, d) => {
419
- const c = U("v-icon"), f = U("v-spacer"), v = U("v-btn"), h = ee("ripple");
420
- return Z((V(), q("div", {
419
+ const c = $("v-icon"), f = $("v-spacer"), v = $("v-btn"), C = ee("ripple");
420
+ return j((_(), K("div", {
421
421
  class: "d-flex align-center cursor-pointer",
422
422
  style: W(i.value),
423
423
  onClick: u,
424
424
  onContextmenu: X(r, ["self", "prevent"]),
425
- onMouseout: d[2] || (d[2] = (_) => o.value = !1),
426
- onMouseover: d[3] || (d[3] = (_) => o.value = !0)
425
+ onMouseout: d[2] || (d[2] = (h) => o.value = !1),
426
+ onMouseover: d[3] || (d[3] = (h) => o.value = !0)
427
427
  }, [
428
- M(c, {
428
+ b(c, {
429
429
  class: "mr-1",
430
430
  icon: t.collapse ? "mdi-chevron-right" : "mdi-chevron-down"
431
431
  }, null, 8, ["icon"]),
432
- O("span", Yt, F(t.title), 1),
433
- M(f),
434
- t.hasCreate ? (V(), B(v, {
432
+ q("span", Yt, F(t.title), 1),
433
+ b(f),
434
+ t.hasCreate ? (_(), B(v, {
435
435
  key: 0,
436
436
  class: "mx-3",
437
437
  density: "compact",
438
438
  icon: "mdi-plus",
439
439
  variant: "text",
440
- onClick: d[0] || (d[0] = X((_) => l("create"), ["stop"]))
440
+ onClick: d[0] || (d[0] = X((h) => l("create"), ["stop"]))
441
441
  })) : G("", !0),
442
- t.hasDelete ? (V(), B(v, {
442
+ t.hasDelete ? (_(), B(v, {
443
443
  key: 1,
444
444
  class: "mx-3",
445
445
  density: "compact",
446
446
  icon: "mdi-minus",
447
447
  variant: "text",
448
- onClick: d[1] || (d[1] = X((_) => l("delete", t.index), ["stop"]))
448
+ onClick: d[1] || (d[1] = X((h) => l("delete", t.index), ["stop"]))
449
449
  })) : G("", !0)
450
450
  ], 36)), [
451
- [h]
451
+ [C]
452
452
  ]);
453
453
  };
454
454
  }
455
- }), Wt = { class: "d-flex justify-space-between align-center" }, Qt = /* @__PURE__ */ R({
455
+ }), Wt = { class: "d-flex justify-space-between align-center" }, Qt = /* @__PURE__ */ E({
456
456
  __name: "index",
457
- props: /* @__PURE__ */ Q({
457
+ props: /* @__PURE__ */ Z({
458
458
  hasDelete: { type: Boolean, default: !1 },
459
459
  readonly: { type: Boolean, default: !1 }
460
460
  }, {
461
461
  modelValue: {},
462
462
  modelModifiers: {}
463
463
  }),
464
- emits: /* @__PURE__ */ Q(["delete"], ["update:modelValue"]),
464
+ emits: /* @__PURE__ */ Z(["delete"], ["update:modelValue"]),
465
465
  setup(t, { emit: s }) {
466
- const { t: n } = j(), e = z(t, "modelValue"), l = s, o = L(() => {
466
+ const { t: n } = I(), e = z(t, "modelValue"), l = s, o = L(() => {
467
467
  let r = "100%";
468
468
  return t.hasDelete && (r = "calc(100% - 37px)"), {
469
469
  width: r
470
470
  };
471
- }), i = L(() => t.readonly), { open: u } = he(`propTreeColorPickerMenu${Ue()}`);
472
- return $e(() => {
471
+ }), i = L(() => t.readonly), { open: u } = ke(`propTreeColorPickerMenu${Ue()}`);
472
+ return we(() => {
473
473
  u.value = !1;
474
474
  }), (r, a) => {
475
- const d = U("v-btn"), c = U("v-color-picker"), f = U("v-menu");
476
- return V(), B(f, {
477
- modelValue: D(u),
475
+ const d = $("v-btn"), c = $("v-color-picker"), f = $("v-menu");
476
+ return _(), B(f, {
477
+ modelValue: P(u),
478
478
  "onUpdate:modelValue": a[2] || (a[2] = (v) => re(u) ? u.value = v : null),
479
479
  "close-on-content-click": !1,
480
480
  scrim: "transparent"
481
481
  }, {
482
- activator: K(({ props: v }) => [
483
- O("div", Wt, [
484
- O("div", {
482
+ activator: R(({ props: v }) => [
483
+ q("div", Wt, [
484
+ q("div", {
485
485
  class: "flex-grow-1",
486
486
  style: W(o.value)
487
487
  }, [
488
- M(d, we(v, {
488
+ b(d, Me(v, {
489
489
  block: "",
490
490
  color: e.value,
491
491
  density: "comfortable",
492
492
  disabled: i.value
493
493
  }), {
494
- default: K(() => [
495
- ye(F(e.value ? e.value : D(n)("x-runtime-lib.notSet")), 1)
494
+ default: R(() => [
495
+ he(F(e.value ? e.value : P(n)("x-runtime-lib.notSet")), 1)
496
496
  ]),
497
497
  _: 1
498
498
  }, 16, ["color", "disabled"])
499
499
  ], 4),
500
- t.hasDelete ? (V(), B(d, {
500
+ t.hasDelete ? (_(), B(d, {
501
501
  key: 0,
502
502
  class: "mx-2",
503
503
  density: "compact",
504
504
  icon: "mdi-minus",
505
505
  variant: "text",
506
- onClick: a[0] || (a[0] = X((h) => l("delete"), ["stop"]))
506
+ onClick: a[0] || (a[0] = X((C) => l("delete"), ["stop"]))
507
507
  })) : G("", !0)
508
508
  ])
509
509
  ]),
510
- default: K(() => [
511
- M(c, {
510
+ default: R(() => [
511
+ b(c, {
512
512
  modelValue: e.value,
513
513
  "onUpdate:modelValue": a[1] || (a[1] = (v) => e.value = v),
514
514
  mode: "hexa",
@@ -520,7 +520,7 @@ const Gt = /* @__PURE__ */ R({
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__ */ R({
523
+ }), Zt = { class: "text-subtitle-2 ml-1" }, jt = { class: "text-caption text-grey ml-1" }, It = /* @__PURE__ */ E({
524
524
  __name: "group",
525
525
  props: {
526
526
  id: {},
@@ -537,26 +537,26 @@ const Gt = /* @__PURE__ */ R({
537
537
  userSelect: "none"
538
538
  }));
539
539
  return (r, a) => {
540
- const d = U("v-icon"), c = ee("ripple");
541
- return Z((V(), q("div", {
540
+ const d = $("v-icon"), c = ee("ripple");
541
+ return j((_(), K("div", {
542
542
  class: "d-flex align-center cursor-pointer",
543
543
  style: W(u.value),
544
544
  onClick: a[0] || (a[0] = (f) => o("x-click", l.id)),
545
545
  onMouseout: a[1] || (a[1] = (f) => i.value = !1),
546
546
  onMouseover: a[2] || (a[2] = (f) => i.value = !0)
547
547
  }, [
548
- M(d, {
548
+ b(d, {
549
549
  icon: l.collapse ? "mdi-chevron-right" : "mdi-chevron-down",
550
550
  size: "small"
551
551
  }, null, 8, ["icon"]),
552
- O("span", Zt, F(l.title), 1),
553
- O("span", jt, F(l.count), 1)
552
+ q("span", Zt, F(l.title), 1),
553
+ q("span", jt, 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__ */ R({
559
+ }), en = { class: "text-subtitle-1 ml-6" }, tn = /* @__PURE__ */ E({
560
560
  __name: "item",
561
561
  props: {
562
562
  id: {},
@@ -572,14 +572,14 @@ const Gt = /* @__PURE__ */ R({
572
572
  }));
573
573
  return (r, a) => {
574
574
  const d = ee("ripple");
575
- return Z((V(), q("div", {
575
+ return j((_(), K("div", {
576
576
  class: "d-flex align-center cursor-pointer",
577
577
  style: W(u.value),
578
578
  onClick: a[0] || (a[0] = (c) => o("x-click", l.id)),
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
- O("span", en, F(l.title), 1)
582
+ q("span", en, F(l.title), 1)
583
583
  ], 36)), [
584
584
  [d]
585
585
  ]);
@@ -588,7 +588,7 @@ const Gt = /* @__PURE__ */ R({
588
588
  }), nn = { key: 0 }, ln = {
589
589
  key: 1,
590
590
  class: "text-body-2 text-grey ml-3"
591
- }, on = /* @__PURE__ */ R({
591
+ }, on = /* @__PURE__ */ E({
592
592
  __name: "index",
593
593
  props: {
594
594
  modelValue: {},
@@ -598,17 +598,17 @@ const Gt = /* @__PURE__ */ R({
598
598
  },
599
599
  emits: ["update:modelValue", "update:open"],
600
600
  setup(t) {
601
- const { t: s } = j(), n = z(t, "modelValue"), e = z(t, "open"), l = ot(), o = (u) => {
602
- const r = ke(l, u);
601
+ const { t: s } = I(), n = z(t, "modelValue"), e = z(t, "open"), l = ot(), o = (u) => {
602
+ const r = _e(l, u);
603
603
  r && Ge(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) => D(l).length > 0 ? (V(), q("div", nn, [
608
- (V(!0), q(fe, null, Te(D(l), (a) => (V(), q(fe, {
607
+ return (u, r) => P(l).length > 0 ? (_(), K("div", nn, [
608
+ (_(!0), K(fe, null, Te(P(l), (a) => (_(), K(fe, {
609
609
  key: a.id
610
610
  }, [
611
- a.type === 0 ? (V(), B(It, {
611
+ a.type === 0 ? (_(), B(It, {
612
612
  key: 0,
613
613
  id: a.id,
614
614
  collapse: a.collapse,
@@ -616,16 +616,16 @@ const Gt = /* @__PURE__ */ R({
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 ? (V(), B(tn, {
619
+ a.type === 1 && a.show ? (_(), B(tn, {
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
- ])) : (V(), q("div", ln, F(D(s)("x-prop-tree.noComp")), 1));
626
+ ])) : (_(), K("div", ln, F(P(s)("x-prop-tree.noComp")), 1));
627
627
  }
628
- }), sn = { class: "text-subtitle-1 ml-3" }, un = /* @__PURE__ */ R({
628
+ }), sn = { class: "text-subtitle-1 ml-3" }, un = /* @__PURE__ */ E({
629
629
  __name: "index",
630
630
  props: {
631
631
  modelValue: {},
@@ -633,7 +633,7 @@ const Gt = /* @__PURE__ */ R({
633
633
  },
634
634
  emits: ["update:modelValue"],
635
635
  setup(t) {
636
- const { t: s } = j(), n = We(), { sysBarAvail: e } = ve(), { backgroundColor1: l } = te(), o = z(t, "modelValue"), i = ot(), u = L(() => {
636
+ const { t: s } = I(), n = We(), { sysBarAvail: e } = ve(), { backgroundColor1: l } = te(), o = z(t, "modelValue"), i = ot(), u = L(() => {
637
637
  let f = "100%";
638
638
  return n.mdAndUp.value && (f = "400px"), {
639
639
  background: l.value,
@@ -651,73 +651,73 @@ const Gt = /* @__PURE__ */ R({
651
651
  })), d = L(() => {
652
652
  if (!o.value)
653
653
  return s("x-runtime-lib.notSet");
654
- const f = ke(i, o.value);
654
+ const f = _e(i, o.value);
655
655
  return f ? f.name : s("x-runtime-lib.compNotAvail");
656
- }), { open: c } = he(`propTreeCompSelectDlg${Ue()}`);
657
- return $e(() => {
656
+ }), { open: c } = ke(`propTreeCompSelectDlg${Ue()}`);
657
+ return we(() => {
658
658
  c.value = !1;
659
659
  }), (f, v) => {
660
- const h = U("v-btn"), _ = U("v-sheet"), C = U("v-icon"), b = U("v-dialog");
661
- return V(), B(b, {
662
- modelValue: D(c),
663
- "onUpdate:modelValue": v[5] || (v[5] = (k) => re(c) ? c.value = k : null),
660
+ const C = $("v-btn"), h = $("v-sheet"), V = $("v-icon"), D = $("v-dialog");
661
+ return _(), B(D, {
662
+ modelValue: P(c),
663
+ "onUpdate:modelValue": v[5] || (v[5] = (x) => re(c) ? c.value = x : null),
664
664
  fullscreen: "",
665
665
  "no-click-animation": "",
666
666
  persistent: "",
667
667
  transition: "scroll-x-reverse-transition",
668
- onKeydown: v[6] || (v[6] = Le(X((k) => c.value = !1, ["stop", "prevent"]), ["esc"]))
668
+ onKeydown: v[6] || (v[6] = Le(X((x) => c.value = !1, ["stop", "prevent"]), ["esc"]))
669
669
  }, {
670
- activator: K(({ props: k }) => [
671
- M(h, we(k, {
670
+ activator: R(({ props: x }) => [
671
+ b(C, Me(x, {
672
672
  block: "",
673
673
  density: "comfortable"
674
674
  }), {
675
- default: K(() => [
676
- ye(F(d.value), 1)
675
+ default: R(() => [
676
+ he(F(d.value), 1)
677
677
  ]),
678
678
  _: 1
679
679
  }, 16)
680
680
  ]),
681
- default: K(() => [
682
- O("div", {
681
+ default: R(() => [
682
+ q("div", {
683
683
  class: "w-100 h-100 d-flex flex-row-reverse",
684
- onClick: v[3] || (v[3] = X((k) => c.value = !1, ["self"])),
685
- onContextmenu: v[4] || (v[4] = X((k) => c.value = !1, ["self", "prevent"]))
684
+ onClick: v[3] || (v[3] = X((x) => c.value = !1, ["self"])),
685
+ onContextmenu: v[4] || (v[4] = X((x) => c.value = !1, ["self", "prevent"]))
686
686
  }, [
687
- O("div", {
687
+ q("div", {
688
688
  class: "elevation-2",
689
689
  style: W(u.value)
690
690
  }, [
691
- D(e) ? (V(), B(_, {
691
+ P(e) ? (_(), B(h, {
692
692
  key: 0,
693
693
  color: "transparent",
694
694
  height: 24
695
695
  })) : G("", !0),
696
- M(_, {
696
+ b(h, {
697
697
  class: "d-flex align-center px-3",
698
698
  color: "transparent",
699
699
  height: 48
700
700
  }, {
701
- default: K(() => [
702
- M(C, {
701
+ default: R(() => [
702
+ b(V, {
703
703
  icon: "mdi-close",
704
- onClick: v[0] || (v[0] = (k) => c.value = !1)
704
+ onClick: v[0] || (v[0] = (x) => c.value = !1)
705
705
  }),
706
- O("span", sn, F(D(s)("x-prop-tree.dlg.compSelect.title")), 1)
706
+ q("span", sn, F(P(s)("x-prop-tree.dlg.compSelect.title")), 1)
707
707
  ]),
708
708
  _: 1
709
709
  }),
710
- O("div", {
710
+ q("div", {
711
711
  class: "overflow-y-auto",
712
712
  style: W(r.value)
713
713
  }, [
714
- M(on, {
714
+ b(on, {
715
715
  modelValue: o.value,
716
- "onUpdate:modelValue": v[1] || (v[1] = (k) => o.value = k),
717
- open: D(c),
718
- "onUpdate:open": v[2] || (v[2] = (k) => re(c) ? c.value = k : null)
716
+ "onUpdate:modelValue": v[1] || (v[1] = (x) => o.value = x),
717
+ open: P(c),
718
+ "onUpdate:open": v[2] || (v[2] = (x) => re(c) ? c.value = x : null)
719
719
  }, null, 8, ["modelValue", "open"]),
720
- O("div", {
720
+ q("div", {
721
721
  style: W(a.value)
722
722
  }, null, 4)
723
723
  ], 4)
@@ -728,7 +728,7 @@ const Gt = /* @__PURE__ */ R({
728
728
  }, 8, ["modelValue"]);
729
729
  };
730
730
  }
731
- }), rn = /* @__PURE__ */ R({
731
+ }), rn = /* @__PURE__ */ E({
732
732
  __name: "editor",
733
733
  props: {
734
734
  modelValue: { required: !0 },
@@ -747,21 +747,21 @@ const Gt = /* @__PURE__ */ R({
747
747
  return s({ save: () => {
748
748
  const c = r.value.save();
749
749
  n.value = JSON.stringify(c, null, 2);
750
- } }), (c, f) => (V(), B(D(Mt), {
750
+ } }), (c, f) => (_(), B(P(Mt), {
751
751
  ref_key: "target",
752
752
  ref: r,
753
753
  lock: e.value,
754
754
  "onUpdate:lock": f[0] || (f[0] = (v) => e.value = v),
755
755
  scale: l.value,
756
756
  "onUpdate:scale": f[1] || (f[1] = (v) => l.value = v),
757
- dark: D(o),
758
- locale: D(i),
757
+ dark: P(o),
758
+ locale: P(i),
759
759
  type: "json",
760
- version: D(u),
760
+ version: P(u),
761
761
  onReady: a
762
762
  }, null, 8, ["lock", "scale", "dark", "locale", "version"]));
763
763
  }
764
- }), an = { class: "text-subtitle-1" }, cn = /* @__PURE__ */ R({
764
+ }), an = { class: "text-subtitle-1" }, cn = /* @__PURE__ */ E({
765
765
  __name: "index",
766
766
  props: {
767
767
  modelValue: { required: !0 },
@@ -769,84 +769,84 @@ const Gt = /* @__PURE__ */ R({
769
769
  },
770
770
  emits: ["update:modelValue"],
771
771
  setup(t) {
772
- const { t: s } = j(), { sysBarAvail: n } = ve(), { backgroundColor0: e, backgroundColor1: l, backgroundColor2: o } = te(), i = z(t, "modelValue"), u = T(!1), r = T(1), a = L(() => {
772
+ const { t: s } = I(), { sysBarAvail: n } = ve(), { backgroundColor0: e, backgroundColor1: l, backgroundColor2: o } = te(), i = z(t, "modelValue"), u = T(!1), r = T(1), a = L(() => {
773
773
  let v = 48;
774
774
  return n.value && (v += 24), {
775
775
  position: "relative",
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 } = he(`propTreejsonEditorDlg${Ue()}`);
780
- $e(() => {
779
+ }), d = L(() => s("x-prop-tree.dlg.jsonEditor.title")), { open: c } = ke(`propTreejsonEditorDlg${Ue()}`);
780
+ we(() => {
781
781
  c.value = !1;
782
782
  });
783
783
  const f = Je("editor");
784
784
  return oe(c, (v) => {
785
785
  v || f.value?.save();
786
- }), (v, h) => {
787
- const _ = U("v-btn"), C = U("v-sheet"), b = U("v-spacer"), k = U("v-dialog");
788
- return V(), B(k, {
789
- modelValue: D(c),
790
- "onUpdate:modelValue": h[4] || (h[4] = (S) => re(c) ? c.value = S : null),
786
+ }), (v, C) => {
787
+ const h = $("v-btn"), V = $("v-sheet"), D = $("v-spacer"), x = $("v-dialog");
788
+ return _(), B(x, {
789
+ modelValue: P(c),
790
+ "onUpdate:modelValue": C[4] || (C[4] = (S) => re(c) ? c.value = S : null),
791
791
  attach: "",
792
792
  fullscreen: "",
793
793
  "no-click-animation": "",
794
794
  persistent: "",
795
795
  transition: "dialog-bottom-transition",
796
- onKeydown: h[5] || (h[5] = Le(X((S) => c.value = !1, ["stop", "prevent"]), ["esc"]))
796
+ onKeydown: C[5] || (C[5] = Le(X((S) => c.value = !1, ["stop", "prevent"]), ["esc"]))
797
797
  }, {
798
- activator: K(({ props: S }) => [
799
- M(_, we(S, {
798
+ activator: R(({ props: S }) => [
799
+ b(h, Me(S, {
800
800
  block: "",
801
801
  density: "comfortable"
802
802
  }), {
803
- default: K(() => [
804
- ye(F(d.value), 1)
803
+ default: R(() => [
804
+ he(F(d.value), 1)
805
805
  ]),
806
806
  _: 1
807
807
  }, 16)
808
808
  ]),
809
- default: K(() => [
810
- M(C, {
811
- color: D(e),
809
+ default: R(() => [
810
+ b(V, {
811
+ color: P(e),
812
812
  height: "100%",
813
813
  width: "100%"
814
814
  }, {
815
- default: K(() => [
816
- D(n) ? (V(), B(C, {
815
+ default: R(() => [
816
+ P(n) ? (_(), B(V, {
817
817
  key: 0,
818
- color: D(o),
818
+ color: P(o),
819
819
  height: 24
820
820
  }, null, 8, ["color"])) : G("", !0),
821
- M(C, {
821
+ b(V, {
822
822
  class: "d-flex align-center px-2",
823
- color: D(o),
823
+ color: P(o),
824
824
  height: 48
825
825
  }, {
826
- default: K(() => [
827
- M(_, {
826
+ default: R(() => [
827
+ b(h, {
828
828
  density: "comfortable",
829
829
  icon: "mdi-close",
830
830
  variant: "text",
831
- onClick: h[0] || (h[0] = (S) => c.value = !1)
831
+ onClick: C[0] || (C[0] = (S) => c.value = !1)
832
832
  }),
833
- O("span", an, F(D(s)("x-prop-tree.dlg.jsonEditor.title")), 1),
834
- M(b)
833
+ q("span", an, F(P(s)("x-prop-tree.dlg.jsonEditor.title")), 1),
834
+ b(D)
835
835
  ]),
836
836
  _: 1
837
837
  }, 8, ["color"]),
838
- O("div", {
838
+ q("div", {
839
839
  style: W(a.value)
840
840
  }, [
841
- M(rn, {
841
+ b(rn, {
842
842
  ref_key: "editor",
843
843
  ref: f,
844
844
  modelValue: i.value,
845
- "onUpdate:modelValue": h[1] || (h[1] = (S) => i.value = S),
845
+ "onUpdate:modelValue": C[1] || (C[1] = (S) => i.value = S),
846
846
  lock: u.value,
847
- "onUpdate:lock": h[2] || (h[2] = (S) => u.value = S),
847
+ "onUpdate:lock": C[2] || (C[2] = (S) => u.value = S),
848
848
  scale: r.value,
849
- "onUpdate:scale": h[3] || (h[3] = (S) => r.value = S)
849
+ "onUpdate:scale": C[3] || (C[3] = (S) => r.value = S)
850
850
  }, null, 8, ["modelValue", "lock", "scale"])
851
851
  ], 4)
852
852
  ]),
@@ -857,35 +857,35 @@ const Gt = /* @__PURE__ */ R({
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__ */ R({
860
+ }), dn = { class: "d-flex justify-space-between align-center my-2" }, mn = { class: "flex-grow-1" }, fn = /* @__PURE__ */ E({
861
861
  __name: "index",
862
- props: /* @__PURE__ */ Q({
862
+ props: /* @__PURE__ */ Z({
863
863
  hasDelete: { type: Boolean, default: !1 },
864
864
  types: {}
865
865
  }, {
866
866
  modelValue: {},
867
867
  modelModifiers: {}
868
868
  }),
869
- emits: /* @__PURE__ */ Q(["delete"], ["update:modelValue"]),
869
+ emits: /* @__PURE__ */ Z(["delete"], ["update:modelValue"]),
870
870
  setup(t, { emit: s }) {
871
- const { t: n } = j(), { 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
- const h = [];
873
- return u.value?.forEach(({ title: _ }, C) => {
874
- h.push({
875
- title: n(_),
876
- value: C
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
+ const C = [];
873
+ return u.value?.forEach(({ title: h }, V) => {
874
+ C.push({
875
+ title: n(h),
876
+ value: V
877
877
  });
878
- }), h;
878
+ }), C;
879
879
  });
880
880
  Ke(() => {
881
- u.value?.some((h, _) => h.validator(l.value) ? (r.value = _, !0) : !1);
881
+ u.value?.some((C, h) => C.validator(l.value) ? (r.value = h, !0) : !1);
882
882
  });
883
883
  const d = L(() => u.value?.[r.value]), c = () => {
884
884
  l.value = d.value?.default;
885
- }, f = T(0), v = async (h) => {
886
- if (!h || !e() || d.value.ui !== "pixelInput" && d.value.ui !== "percentInput")
885
+ }, f = T(0), v = async (C) => {
886
+ if (!C || !e() || d.value.ui !== "pixelInput" && d.value.ui !== "percentInput")
887
887
  return;
888
- const _ = await Fe({
888
+ const h = await Fe({
889
889
  title: "",
890
890
  value: f.value,
891
891
  precision: d.value.precision,
@@ -893,20 +893,20 @@ const Gt = /* @__PURE__ */ R({
893
893
  max: d.value.max,
894
894
  step: d.value.step
895
895
  });
896
- _ !== void 0 && (f.value = _);
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 = Ut(l.value));
900
- }), oe(f, (h) => {
901
- d.value?.ui === "pixelInput" ? l.value = h + "px" : d.value?.ui === "percentInput" && (l.value = h + "%");
902
- }), (h, _) => {
903
- const C = U("v-select"), b = U("v-number-input"), k = U("v-btn"), S = ee("ripple");
904
- return V(), q("div", dn, [
905
- O("div", mn, [
906
- Z(M(C, {
899
+ d.value?.ui === "pixelInput" ? f.value = Ct(l.value) : d.value?.ui === "percentInput" && (f.value = $t(l.value));
900
+ }), oe(f, (C) => {
901
+ d.value?.ui === "pixelInput" ? l.value = C + "px" : d.value?.ui === "percentInput" && (l.value = C + "%");
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, {
907
907
  modelValue: r.value,
908
908
  "onUpdate:modelValue": [
909
- _[0] || (_[0] = (P) => r.value = P),
909
+ h[0] || (h[0] = (U) => r.value = U),
910
910
  c
911
911
  ],
912
912
  density: "compact",
@@ -921,10 +921,10 @@ const Gt = /* @__PURE__ */ R({
921
921
  { stop: !0 }
922
922
  ]
923
923
  ]),
924
- d.value?.ui === "pixelInput" || d.value?.ui === "percentInput" ? Z((V(), B(b, {
924
+ d.value?.ui === "pixelInput" || d.value?.ui === "percentInput" ? j((_(), B(D, {
925
925
  key: 0,
926
926
  modelValue: f.value,
927
- "onUpdate:modelValue": _[1] || (_[1] = (P) => f.value = P),
927
+ "onUpdate:modelValue": h[1] || (h[1] = (U) => f.value = U),
928
928
  "control-variant": "stacked",
929
929
  density: "compact",
930
930
  "hide-details": "",
@@ -943,20 +943,20 @@ const Gt = /* @__PURE__ */ R({
943
943
  ]
944
944
  ]) : G("", !0)
945
945
  ]),
946
- t.hasDelete ? (V(), B(k, {
946
+ t.hasDelete ? (_(), B(x, {
947
947
  key: 0,
948
948
  class: "mx-2",
949
949
  density: "compact",
950
950
  icon: "mdi-minus",
951
951
  variant: "text",
952
- onClick: _[2] || (_[2] = X((P) => o("delete"), ["stop"]))
952
+ onClick: h[2] || (h[2] = X((U) => 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__ */ R({
957
+ }), vn = { class: "d-flex justify-space-between align-center" }, pn = /* @__PURE__ */ E({
958
958
  __name: "index",
959
- props: /* @__PURE__ */ Q({
959
+ props: /* @__PURE__ */ Z({
960
960
  hasDelete: { type: Boolean, default: !1 },
961
961
  precision: { default: () => {
962
962
  } },
@@ -968,7 +968,7 @@ const Gt = /* @__PURE__ */ R({
968
968
  modelValue: { required: !0 },
969
969
  modelModifiers: {}
970
970
  }),
971
- emits: /* @__PURE__ */ Q(["delete"], ["update:modelValue"]),
971
+ emits: /* @__PURE__ */ Z(["delete"], ["update:modelValue"]),
972
972
  setup(t, { emit: s }) {
973
973
  const { isMobile: n } = ve(), e = z(t, "modelValue"), l = s, o = async (i) => {
974
974
  if (!i || t.readonly || !n())
@@ -984,9 +984,9 @@ const Gt = /* @__PURE__ */ R({
984
984
  u !== void 0 && (e.value = u);
985
985
  };
986
986
  return (i, u) => {
987
- const r = U("v-number-input"), a = U("v-btn"), d = ee("ripple");
988
- return V(), q("div", vn, [
989
- Z(M(r, {
987
+ const r = $("v-number-input"), a = $("v-btn"), d = ee("ripple");
988
+ return _(), K("div", vn, [
989
+ j(b(r, {
990
990
  modelValue: e.value,
991
991
  "onUpdate:modelValue": u[0] || (u[0] = (c) => e.value = c),
992
992
  "control-variant": "stacked",
@@ -1007,7 +1007,7 @@ const Gt = /* @__PURE__ */ R({
1007
1007
  { stop: !0 }
1008
1008
  ]
1009
1009
  ]),
1010
- t.hasDelete ? (V(), B(a, {
1010
+ t.hasDelete ? (_(), B(a, {
1011
1011
  key: 0,
1012
1012
  class: "mx-2",
1013
1013
  density: "compact",
@@ -1018,9 +1018,9 @@ const Gt = /* @__PURE__ */ R({
1018
1018
  ]);
1019
1019
  };
1020
1020
  }
1021
- }), gn = { class: "d-flex justify-space-between align-center" }, yn = /* @__PURE__ */ R({
1021
+ }), gn = { class: "d-flex justify-space-between align-center" }, yn = /* @__PURE__ */ E({
1022
1022
  __name: "index",
1023
- props: /* @__PURE__ */ Q({
1023
+ props: /* @__PURE__ */ Z({
1024
1024
  hasDelete: { type: Boolean, default: !1 },
1025
1025
  readonly: { type: Boolean, default: !1 },
1026
1026
  items: {}
@@ -1028,18 +1028,18 @@ const Gt = /* @__PURE__ */ R({
1028
1028
  modelValue: {},
1029
1029
  modelModifiers: {}
1030
1030
  }),
1031
- emits: /* @__PURE__ */ Q(["delete"], ["update:modelValue"]),
1031
+ emits: /* @__PURE__ */ Z(["delete"], ["update:modelValue"]),
1032
1032
  setup(t, { emit: s }) {
1033
- const { t: n } = j(), e = z(t, "modelValue"), l = s, o = Oe(), i = L(() => {
1033
+ const { t: n } = I(), e = z(t, "modelValue"), l = s, o = Oe(), i = L(() => {
1034
1034
  const u = [];
1035
1035
  return Ne[o.value]?.items[t.items].forEach(({ title: r, value: a }) => {
1036
1036
  u.push({ title: n(r), value: a });
1037
1037
  }), u;
1038
1038
  });
1039
1039
  return (u, r) => {
1040
- const a = U("v-select"), d = U("v-btn"), c = ee("ripple");
1041
- return V(), q("div", gn, [
1042
- Z(M(a, {
1040
+ const a = $("v-select"), d = $("v-btn"), c = ee("ripple");
1041
+ return _(), K("div", gn, [
1042
+ j(b(a, {
1043
1043
  modelValue: e.value,
1044
1044
  "onUpdate:modelValue": r[0] || (r[0] = (f) => e.value = f),
1045
1045
  density: "compact",
@@ -1055,7 +1055,7 @@ const Gt = /* @__PURE__ */ R({
1055
1055
  { stop: !0 }
1056
1056
  ]
1057
1057
  ]),
1058
- t.hasDelete ? (V(), B(d, {
1058
+ t.hasDelete ? (_(), B(d, {
1059
1059
  key: 0,
1060
1060
  class: "mx-2",
1061
1061
  density: "compact",
@@ -1066,7 +1066,7 @@ const Gt = /* @__PURE__ */ R({
1066
1066
  ]);
1067
1067
  };
1068
1068
  }
1069
- }), hn = { class: "text-subtitle-2 ml-1" }, kn = { class: "text-caption text-grey ml-1" }, _n = /* @__PURE__ */ R({
1069
+ }), hn = { class: "text-subtitle-2 ml-1" }, kn = { class: "text-caption text-grey ml-1" }, _n = /* @__PURE__ */ E({
1070
1070
  __name: "group",
1071
1071
  props: {
1072
1072
  id: {},
@@ -1083,26 +1083,26 @@ const Gt = /* @__PURE__ */ R({
1083
1083
  userSelect: "none"
1084
1084
  }));
1085
1085
  return (r, a) => {
1086
- const d = U("v-icon"), c = ee("ripple");
1087
- return Z((V(), q("div", {
1086
+ const d = $("v-icon"), c = ee("ripple");
1087
+ return j((_(), K("div", {
1088
1088
  class: "d-flex align-center cursor-pointer",
1089
1089
  style: W(u.value),
1090
1090
  onClick: a[0] || (a[0] = (f) => o("x-click", l.id)),
1091
1091
  onMouseout: a[1] || (a[1] = (f) => i.value = !1),
1092
1092
  onMouseover: a[2] || (a[2] = (f) => i.value = !0)
1093
1093
  }, [
1094
- M(d, {
1094
+ b(d, {
1095
1095
  icon: l.collapse ? "mdi-chevron-right" : "mdi-chevron-down",
1096
1096
  size: "small"
1097
1097
  }, null, 8, ["icon"]),
1098
- O("span", hn, F(l.title), 1),
1099
- O("span", kn, F(l.count), 1)
1098
+ q("span", hn, F(l.title), 1),
1099
+ q("span", kn, 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__ */ R({
1105
+ }), xn = { class: "text-subtitle-1 ml-6" }, Vn = /* @__PURE__ */ E({
1106
1106
  __name: "item",
1107
1107
  props: {
1108
1108
  id: {},
@@ -1118,14 +1118,14 @@ const Gt = /* @__PURE__ */ R({
1118
1118
  }));
1119
1119
  return (r, a) => {
1120
1120
  const d = ee("ripple");
1121
- return Z((V(), q("div", {
1121
+ return j((_(), K("div", {
1122
1122
  class: "d-flex align-center cursor-pointer",
1123
1123
  style: W(u.value),
1124
1124
  onClick: a[0] || (a[0] = (c) => o("x-click", l.id)),
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
- O("span", xn, F(l.title), 1)
1128
+ q("span", xn, F(l.title), 1)
1129
1129
  ], 36)), [
1130
1130
  [d]
1131
1131
  ]);
@@ -1134,7 +1134,7 @@ const Gt = /* @__PURE__ */ R({
1134
1134
  }), Sn = { key: 0 }, Cn = {
1135
1135
  key: 1,
1136
1136
  class: "text-body-2 text-grey ml-3"
1137
- }, Un = /* @__PURE__ */ R({
1137
+ }, $n = /* @__PURE__ */ E({
1138
1138
  __name: "index",
1139
1139
  props: {
1140
1140
  modelValue: {},
@@ -1144,17 +1144,17 @@ const Gt = /* @__PURE__ */ R({
1144
1144
  },
1145
1145
  emits: ["update:modelValue", "update:open"],
1146
1146
  setup(t) {
1147
- const { t: s } = j(), n = z(t, "modelValue"), e = z(t, "open"), l = st(), o = (u) => {
1148
- const r = ke(l, u);
1147
+ const { t: s } = I(), n = z(t, "modelValue"), e = z(t, "open"), l = st(), o = (u) => {
1148
+ const r = _e(l, u);
1149
1149
  r && Ge(l, u, !r.collapse);
1150
1150
  }, i = (u) => {
1151
1151
  n.value = u, e.value = !1;
1152
1152
  };
1153
- return (u, r) => D(l).length > 0 ? (V(), q("div", Sn, [
1154
- (V(!0), q(fe, null, Te(D(l), (a) => (V(), q(fe, {
1153
+ return (u, r) => P(l).length > 0 ? (_(), K("div", Sn, [
1154
+ (_(!0), K(fe, null, Te(P(l), (a) => (_(), K(fe, {
1155
1155
  key: a.id
1156
1156
  }, [
1157
- a.type === 0 ? (V(), B(_n, {
1157
+ a.type === 0 ? (_(), B(_n, {
1158
1158
  key: 0,
1159
1159
  id: a.id,
1160
1160
  collapse: a.collapse,
@@ -1162,16 +1162,16 @@ const Gt = /* @__PURE__ */ R({
1162
1162
  title: a.name,
1163
1163
  onXClick: o
1164
1164
  }, null, 8, ["id", "collapse", "count", "title"])) : G("", !0),
1165
- a.type === 1 && a.show ? (V(), B(Vn, {
1165
+ a.type === 1 && a.show ? (_(), B(Vn, {
1166
1166
  key: 1,
1167
1167
  id: a.id,
1168
1168
  title: a.name,
1169
1169
  onXClick: i
1170
1170
  }, null, 8, ["id", "title"])) : G("", !0)
1171
1171
  ], 64))), 128))
1172
- ])) : (V(), q("div", Cn, F(D(s)("x-prop-tree.noSlot")), 1));
1172
+ ])) : (_(), K("div", Cn, F(P(s)("x-prop-tree.noSlot")), 1));
1173
1173
  }
1174
- }), $n = { class: "text-subtitle-1 ml-3" }, wn = /* @__PURE__ */ R({
1174
+ }), Un = { class: "text-subtitle-1 ml-3" }, wn = /* @__PURE__ */ E({
1175
1175
  __name: "index",
1176
1176
  props: {
1177
1177
  modelValue: {},
@@ -1179,7 +1179,7 @@ const Gt = /* @__PURE__ */ R({
1179
1179
  },
1180
1180
  emits: ["update:modelValue"],
1181
1181
  setup(t) {
1182
- const { t: s } = j(), n = We(), { sysBarAvail: e } = ve(), { backgroundColor1: l } = te(), o = z(t, "modelValue"), i = st(), u = L(() => {
1182
+ const { t: s } = I(), n = We(), { sysBarAvail: e } = ve(), { backgroundColor1: l } = te(), o = z(t, "modelValue"), i = st(), u = L(() => {
1183
1183
  let f = "100%";
1184
1184
  return n.mdAndUp.value && (f = "400px"), {
1185
1185
  background: l.value,
@@ -1197,73 +1197,73 @@ const Gt = /* @__PURE__ */ R({
1197
1197
  })), d = L(() => {
1198
1198
  if (!o.value)
1199
1199
  return s("x-runtime-lib.notSet");
1200
- const f = ke(i, o.value);
1200
+ const f = _e(i, o.value);
1201
1201
  return f ? f.name : s("x-runtime-lib.slotNotAvail");
1202
- }), { open: c } = he(`propTreeSlotSelectDlg${Ue()}`);
1203
- return $e(() => {
1202
+ }), { open: c } = ke(`propTreeSlotSelectDlg${Ue()}`);
1203
+ return we(() => {
1204
1204
  c.value = !1;
1205
1205
  }), (f, v) => {
1206
- const h = U("v-btn"), _ = U("v-sheet"), C = U("v-icon"), b = U("v-dialog");
1207
- return V(), B(b, {
1208
- modelValue: D(c),
1209
- "onUpdate:modelValue": v[5] || (v[5] = (k) => re(c) ? c.value = k : null),
1206
+ const C = $("v-btn"), h = $("v-sheet"), V = $("v-icon"), D = $("v-dialog");
1207
+ return _(), B(D, {
1208
+ modelValue: P(c),
1209
+ "onUpdate:modelValue": v[5] || (v[5] = (x) => re(c) ? c.value = x : null),
1210
1210
  fullscreen: "",
1211
1211
  "no-click-animation": "",
1212
1212
  persistent: "",
1213
1213
  transition: "scroll-x-reverse-transition",
1214
- onKeydown: v[6] || (v[6] = Le(X((k) => c.value = !1, ["stop", "prevent"]), ["esc"]))
1214
+ onKeydown: v[6] || (v[6] = Le(X((x) => c.value = !1, ["stop", "prevent"]), ["esc"]))
1215
1215
  }, {
1216
- activator: K(({ props: k }) => [
1217
- M(h, we(k, {
1216
+ activator: R(({ props: x }) => [
1217
+ b(C, Me(x, {
1218
1218
  block: "",
1219
1219
  density: "comfortable"
1220
1220
  }), {
1221
- default: K(() => [
1222
- ye(F(d.value), 1)
1221
+ default: R(() => [
1222
+ he(F(d.value), 1)
1223
1223
  ]),
1224
1224
  _: 1
1225
1225
  }, 16)
1226
1226
  ]),
1227
- default: K(() => [
1228
- O("div", {
1227
+ default: R(() => [
1228
+ q("div", {
1229
1229
  class: "w-100 h-100 d-flex flex-row-reverse",
1230
- onClick: v[3] || (v[3] = X((k) => c.value = !1, ["self"])),
1231
- onContextmenu: v[4] || (v[4] = X((k) => c.value = !1, ["self", "prevent"]))
1230
+ onClick: v[3] || (v[3] = X((x) => c.value = !1, ["self"])),
1231
+ onContextmenu: v[4] || (v[4] = X((x) => c.value = !1, ["self", "prevent"]))
1232
1232
  }, [
1233
- O("div", {
1233
+ q("div", {
1234
1234
  class: "elevation-2",
1235
1235
  style: W(u.value)
1236
1236
  }, [
1237
- D(e) ? (V(), B(_, {
1237
+ P(e) ? (_(), B(h, {
1238
1238
  key: 0,
1239
1239
  color: "transparent",
1240
1240
  height: 24
1241
1241
  })) : G("", !0),
1242
- M(_, {
1242
+ b(h, {
1243
1243
  class: "d-flex align-center px-3",
1244
1244
  color: "transparent",
1245
1245
  height: 48
1246
1246
  }, {
1247
- default: K(() => [
1248
- M(C, {
1247
+ default: R(() => [
1248
+ b(V, {
1249
1249
  icon: "mdi-close",
1250
- onClick: v[0] || (v[0] = (k) => c.value = !1)
1250
+ onClick: v[0] || (v[0] = (x) => c.value = !1)
1251
1251
  }),
1252
- O("span", $n, F(D(s)("x-prop-tree.dlg.slotSelect.title")), 1)
1252
+ q("span", Un, F(P(s)("x-prop-tree.dlg.slotSelect.title")), 1)
1253
1253
  ]),
1254
1254
  _: 1
1255
1255
  }),
1256
- O("div", {
1256
+ q("div", {
1257
1257
  class: "overflow-y-auto",
1258
1258
  style: W(r.value)
1259
1259
  }, [
1260
- M(Un, {
1260
+ b($n, {
1261
1261
  modelValue: o.value,
1262
- "onUpdate:modelValue": v[1] || (v[1] = (k) => o.value = k),
1263
- open: D(c),
1264
- "onUpdate:open": v[2] || (v[2] = (k) => re(c) ? c.value = k : null)
1262
+ "onUpdate:modelValue": v[1] || (v[1] = (x) => o.value = x),
1263
+ open: P(c),
1264
+ "onUpdate:open": v[2] || (v[2] = (x) => re(c) ? c.value = x : null)
1265
1265
  }, null, 8, ["modelValue", "open"]),
1266
- O("div", {
1266
+ q("div", {
1267
1267
  style: W(a.value)
1268
1268
  }, null, 4)
1269
1269
  ], 4)
@@ -1274,16 +1274,16 @@ const Gt = /* @__PURE__ */ R({
1274
1274
  }, 8, ["modelValue"]);
1275
1275
  };
1276
1276
  }
1277
- }), Mn = { class: "d-flex justify-space-between align-center" }, bn = /* @__PURE__ */ R({
1277
+ }), Mn = { class: "d-flex justify-space-between align-center" }, bn = /* @__PURE__ */ E({
1278
1278
  __name: "index",
1279
- props: /* @__PURE__ */ Q({
1279
+ props: /* @__PURE__ */ Z({
1280
1280
  hasDelete: { type: Boolean, default: !1 },
1281
1281
  readonly: { type: Boolean, default: !1 }
1282
1282
  }, {
1283
1283
  modelValue: { required: !0 },
1284
1284
  modelModifiers: {}
1285
1285
  }),
1286
- emits: /* @__PURE__ */ Q(["delete"], ["update:modelValue"]),
1286
+ emits: /* @__PURE__ */ Z(["delete"], ["update:modelValue"]),
1287
1287
  setup(t, { emit: s }) {
1288
1288
  const { isMobile: n } = ve(), e = z(t, "modelValue"), l = s, o = async (i) => {
1289
1289
  if (!i || t.readonly || !n())
@@ -1295,9 +1295,9 @@ const Gt = /* @__PURE__ */ R({
1295
1295
  u !== void 0 && (e.value = u);
1296
1296
  };
1297
1297
  return (i, u) => {
1298
- const r = U("v-text-field"), a = U("v-btn"), d = ee("ripple");
1299
- return V(), q("div", Mn, [
1300
- Z(M(r, {
1298
+ const r = $("v-text-field"), a = $("v-btn"), d = ee("ripple");
1299
+ return _(), K("div", Mn, [
1300
+ j(b(r, {
1301
1301
  modelValue: e.value,
1302
1302
  "onUpdate:modelValue": u[0] || (u[0] = (c) => e.value = c),
1303
1303
  density: "compact",
@@ -1313,7 +1313,7 @@ const Gt = /* @__PURE__ */ R({
1313
1313
  { stop: !0 }
1314
1314
  ]
1315
1315
  ]),
1316
- t.hasDelete ? (V(), B(a, {
1316
+ t.hasDelete ? (_(), B(a, {
1317
1317
  key: 0,
1318
1318
  class: "mx-2",
1319
1319
  density: "compact",
@@ -1324,22 +1324,22 @@ const Gt = /* @__PURE__ */ R({
1324
1324
  ]);
1325
1325
  };
1326
1326
  }
1327
- }), Pn = { class: "d-flex justify-space-between align-center" }, Dn = /* @__PURE__ */ R({
1327
+ }), Pn = { class: "d-flex justify-space-between align-center" }, Dn = /* @__PURE__ */ E({
1328
1328
  __name: "index",
1329
- props: /* @__PURE__ */ Q({
1329
+ props: /* @__PURE__ */ Z({
1330
1330
  hasDelete: { type: Boolean, default: !1 },
1331
1331
  readonly: { type: Boolean, default: !1 }
1332
1332
  }, {
1333
1333
  modelValue: { type: Boolean },
1334
1334
  modelModifiers: {}
1335
1335
  }),
1336
- emits: /* @__PURE__ */ Q(["delete"], ["update:modelValue"]),
1336
+ emits: /* @__PURE__ */ Z(["delete"], ["update:modelValue"]),
1337
1337
  setup(t, { emit: s }) {
1338
1338
  const n = z(t, "modelValue"), e = s;
1339
1339
  return (l, o) => {
1340
- const i = U("v-switch"), u = U("v-btn");
1341
- return V(), q("div", Pn, [
1342
- M(i, {
1340
+ const i = $("v-switch"), u = $("v-btn");
1341
+ return _(), K("div", Pn, [
1342
+ b(i, {
1343
1343
  modelValue: n.value,
1344
1344
  "onUpdate:modelValue": o[0] || (o[0] = (r) => n.value = r),
1345
1345
  class: "ml-1",
@@ -1348,7 +1348,7 @@ const Gt = /* @__PURE__ */ R({
1348
1348
  "hide-details": "",
1349
1349
  readonly: t.readonly
1350
1350
  }, null, 8, ["modelValue", "readonly"]),
1351
- t.hasDelete ? (V(), B(u, {
1351
+ t.hasDelete ? (_(), B(u, {
1352
1352
  key: 0,
1353
1353
  class: "mx-2",
1354
1354
  density: "compact",
@@ -1361,7 +1361,7 @@ const Gt = /* @__PURE__ */ R({
1361
1361
  }
1362
1362
  });
1363
1363
  function An(t) {
1364
- return { renderUiColorPicker: (n, e, l, o, i) => e.ui !== "colorPicker" ? (console.assert(!1), x("div", "renderUiColorPicker property ui must be colorPicker")) : x(Qt, {
1364
+ return { renderUiColorPicker: (n, e, l, o, i) => e.ui !== "colorPicker" ? (console.assert(!1), k("div", "renderUiColorPicker property ui must be colorPicker")) : k(Qt, {
1365
1365
  modelValue: ne(
1366
1366
  n,
1367
1367
  e,
@@ -1389,7 +1389,7 @@ function An(t) {
1389
1389
  }) };
1390
1390
  }
1391
1391
  function Tn(t) {
1392
- return { renderUiCompSelect: (n, e, l, o, i) => e.ui !== "compSelect" ? (console.assert(!1), x("div", "renderUiCompSelect property ui must be compSelect")) : x(un, {
1392
+ return { renderUiCompSelect: (n, e, l, o, i) => e.ui !== "compSelect" ? (console.assert(!1), k("div", "renderUiCompSelect property ui must be compSelect")) : k(un, {
1393
1393
  modelValue: ne(
1394
1394
  n,
1395
1395
  e,
@@ -1421,7 +1421,7 @@ function Ln(t) {
1421
1421
  } };
1422
1422
  }
1423
1423
  function Nn(t) {
1424
- return { renderUiJsonEditor: (n, e, l, o, i) => e.ui !== "jsonEditor" ? x("div", "renderUijsonEditor property ui must be jsonEditor") : x(cn, {
1424
+ return { renderUiJsonEditor: (n, e, l, o, i) => e.ui !== "jsonEditor" ? k("div", "renderUijsonEditor property ui must be jsonEditor") : k(cn, {
1425
1425
  modelValue: ne(
1426
1426
  n,
1427
1427
  e,
@@ -1444,7 +1444,7 @@ function Nn(t) {
1444
1444
  }) };
1445
1445
  }
1446
1446
  function Bn(t) {
1447
- return { renderUiMultiTypes: (n, e, l, o, i) => e.ui !== "multiTypes" ? (console.assert(!1), x("div", "renderUiMultiTypes property ui must be multiTypes")) : x(fn, {
1447
+ return { renderUiMultiTypes: (n, e, l, o, i) => e.ui !== "multiTypes" ? (console.assert(!1), k("div", "renderUiMultiTypes property ui must be multiTypes")) : k(fn, {
1448
1448
  modelValue: ne(
1449
1449
  n,
1450
1450
  e,
@@ -1472,7 +1472,7 @@ function Bn(t) {
1472
1472
  }) };
1473
1473
  }
1474
1474
  function On(t) {
1475
- return { renderUiNumInput: (n, e, l, o, i) => e.ui !== "numInput" ? (console.assert(!1), x("div", "renderUiNumInput property ui must be numInput")) : x(pn, {
1475
+ return { renderUiNumInput: (n, e, l, o, i) => e.ui !== "numInput" ? (console.assert(!1), k("div", "renderUiNumInput property ui must be numInput")) : k(pn, {
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__ */ R({
1506
+ const qn = /* @__PURE__ */ E({
1507
1507
  __name: "index",
1508
1508
  props: {
1509
1509
  minHeight: {}
@@ -1521,7 +1521,7 @@ const qn = /* @__PURE__ */ R({
1521
1521
  };
1522
1522
  return (r, a) => {
1523
1523
  const d = ee("ripple");
1524
- return Z((V(), q("div", {
1524
+ return j((_(), K("div", {
1525
1525
  class: "d-flex justify-space-between align-center cursor-pointer",
1526
1526
  style: W(i.value),
1527
1527
  onContextmenu: X(u, ["self", "prevent"]),
@@ -1536,11 +1536,11 @@ const qn = /* @__PURE__ */ R({
1536
1536
  }
1537
1537
  });
1538
1538
  function Kn(t, s, n) {
1539
- const { t: e } = j();
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
- return me(t.value, o) && (d += " *"), x(
1543
+ return me(t.value, o) && (d += " *"), k(
1544
1544
  qn,
1545
1545
  {
1546
1546
  minHeight: s.value,
@@ -1549,17 +1549,17 @@ function Kn(t, s, n) {
1549
1549
  }
1550
1550
  },
1551
1551
  () => [
1552
- x("span", {
1552
+ k("span", {
1553
1553
  style: { marginLeft: "4px", pointerEvents: "none" },
1554
1554
  innerHTML: d
1555
1555
  }),
1556
- x("div", { style: { width: n.value } }, u)
1556
+ k("div", { style: { width: n.value } }, u)
1557
1557
  ]
1558
1558
  );
1559
1559
  } };
1560
1560
  }
1561
1561
  function Rn(t) {
1562
- return { renderUiSelect: (n, e, l, o, i) => e.ui !== "select" ? (console.assert(!1), x("div", "renderUiSelect property ui must be select")) : x(yn, {
1562
+ return { renderUiSelect: (n, e, l, o, i) => e.ui !== "select" ? (console.assert(!1), k("div", "renderUiSelect property ui must be select")) : k(yn, {
1563
1563
  modelValue: ne(
1564
1564
  n,
1565
1565
  e,
@@ -1588,7 +1588,7 @@ function Rn(t) {
1588
1588
  }) };
1589
1589
  }
1590
1590
  function En(t) {
1591
- return { renderUiSlotSelect: (n, e, l, o, i) => e.ui !== "slotSelect" ? (console.assert(!1), x("div", "renderUiSlotSelect property ui must be slotSelect")) : x(wn, {
1591
+ return { renderUiSlotSelect: (n, e, l, o, i) => e.ui !== "slotSelect" ? (console.assert(!1), k("div", "renderUiSlotSelect property ui must be slotSelect")) : k(wn, {
1592
1592
  modelValue: ne(
1593
1593
  n,
1594
1594
  e,
@@ -1611,7 +1611,7 @@ function En(t) {
1611
1611
  }) };
1612
1612
  }
1613
1613
  function Jn(t) {
1614
- return { renderUiStrInput: (n, e, l, o, i) => e.ui !== "strInput" ? (console.assert(!1), x("div", "renderUiStrInput property ui must be strInput")) : x(bn, {
1614
+ return { renderUiStrInput: (n, e, l, o, i) => e.ui !== "strInput" ? (console.assert(!1), k("div", "renderUiStrInput property ui must be strInput")) : k(bn, {
1615
1615
  modelValue: e.static ? e.value : ne(
1616
1616
  n,
1617
1617
  e,
@@ -1639,7 +1639,7 @@ function Jn(t) {
1639
1639
  }) };
1640
1640
  }
1641
1641
  function Hn(t) {
1642
- return { renderUiSwitch: (n, e, l, o, i) => e.ui !== "switch" ? (console.assert(!1), x("div", "renderUiSwitch property ui must be switch")) : x(Dn, {
1642
+ return { renderUiSwitch: (n, e, l, o, i) => e.ui !== "switch" ? (console.assert(!1), k("div", "renderUiSwitch property ui must be switch")) : k(Dn, {
1643
1643
  modelValue: ne(
1644
1644
  n,
1645
1645
  e,
@@ -1710,42 +1710,58 @@ function Fn(t, s, n) {
1710
1710
  console.assert(!1, `invalid version=${t.value}`);
1711
1711
  return;
1712
1712
  }
1713
- const d = $t(s.value, n.value), c = [];
1713
+ const d = Ut(s.value, n.value), c = [];
1714
1714
  for (let h = 0; h < a.groups[d].length; h++) {
1715
- const _ = a.groups[d][h], C = ke(l, _.key);
1715
+ const V = a.groups[d][h], D = _e(l, V.key);
1716
1716
  c.push({
1717
- id: _.key,
1717
+ id: V.key,
1718
1718
  type: 0,
1719
- name: e.global.t(_.name),
1719
+ name: e.global.t(V.name),
1720
1720
  position: h,
1721
- collapse: C?.collapse ?? !0,
1721
+ collapse: D?.collapse ?? !0,
1722
1722
  count: 0
1723
1723
  });
1724
- for (let b = 0; b < _.items.length; b++) {
1725
- const k = _.items[b], S = wt[k];
1726
- S && (S.internal || !S.slots || S.slots.length <= 0 || c.push({
1727
- id: S.key,
1728
- type: 1,
1729
- name: e.global.t(S.name),
1730
- position: b,
1731
- group: _.key
1732
- }));
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)}`;
1730
+ c.push({
1731
+ id: Q,
1732
+ type: 1,
1733
+ name: pe,
1734
+ position: x++,
1735
+ group: V.key
1736
+ });
1737
+ }
1733
1738
  }
1734
1739
  }
1735
1740
  const { activeApp: f, depends: v } = Qe.app;
1736
- for (const { id: h, name: _, position: C } of f.compGroups) {
1737
- const b = l.value.find((k) => k.id);
1741
+ for (const { id: h, name: V, position: D } of f.compGroups) {
1742
+ const x = l.value.find((S) => S.id);
1738
1743
  c.push({
1739
1744
  id: h,
1740
1745
  type: 0,
1741
- name: _,
1742
- position: C,
1743
- collapse: b?.collapse ?? !0
1746
+ name: V,
1747
+ position: D,
1748
+ collapse: x?.collapse ?? !0
1744
1749
  });
1745
1750
  }
1746
- for (const { id: h, groupId: _, name: C, position: b } of f.comps) {
1747
- const k = v[h];
1748
- k && (!k.meta.slots || k.meta.slots.length <= 0 || c.push({ id: h, type: 1, name: C, position: b, group: _ }));
1751
+ let C = 0;
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}`;
1757
+ c.push({
1758
+ id: x,
1759
+ type: 1,
1760
+ name: S,
1761
+ position: C++,
1762
+ group: h.groupId
1763
+ });
1764
+ }
1749
1765
  }
1750
1766
  Ye(c, !0), l.value = c;
1751
1767
  };
@@ -1765,7 +1781,7 @@ function Fn(t, s, n) {
1765
1781
  o(), u();
1766
1782
  });
1767
1783
  }
1768
- const zn = /* @__PURE__ */ R({
1784
+ const zn = /* @__PURE__ */ E({
1769
1785
  __name: "index",
1770
1786
  props: {
1771
1787
  unique: {},
@@ -1777,7 +1793,7 @@ const zn = /* @__PURE__ */ R({
1777
1793
  },
1778
1794
  emits: ["change"],
1779
1795
  setup(t, { emit: s }) {
1780
- const { t: n } = j(), { backgroundColor1: e } = te(), l = t, o = s, i = T("20px"), u = T("56px"), r = T("200px"), a = kt({}), d = T({}), c = (p, m) => {
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) => {
1781
1797
  Ee(d, l.config, l.object), o("change", p, m);
1782
1798
  };
1783
1799
  oe(
@@ -1808,77 +1824,77 @@ const zn = /* @__PURE__ */ R({
1808
1824
  v.value = l.type;
1809
1825
  }
1810
1826
  );
1811
- const h = T(l.subtype);
1827
+ const C = T(l.subtype);
1812
1828
  oe(
1813
1829
  () => l.subtype,
1814
1830
  () => {
1815
- h.value = l.subtype;
1831
+ C.value = l.subtype;
1816
1832
  }
1817
1833
  );
1818
- const _ = T(l.config);
1819
- Ot(_), oe(
1834
+ const h = T(l.config);
1835
+ Ot(h), oe(
1820
1836
  () => l.config,
1821
1837
  () => {
1822
- _.value = l.config;
1838
+ h.value = l.config;
1823
1839
  }
1824
1840
  );
1825
- const C = T(l.object);
1826
- Kt(C), oe(
1841
+ const V = T(l.object);
1842
+ Kt(V), oe(
1827
1843
  () => l.object,
1828
1844
  () => {
1829
- C.value = l.object;
1845
+ V.value = l.object;
1830
1846
  }
1831
- ), Et(d), Ht(c), Xn(), Fn(f, v, h);
1832
- const { renderProperty: b } = Kn(
1847
+ ), Et(d), Ht(c), Xn(), Fn(f, v, C);
1848
+ const { renderProperty: D } = Kn(
1833
1849
  d,
1834
1850
  u,
1835
1851
  r
1836
- ), { renderUiDummy: k } = Ln(c), { renderUiStrInput: S } = Jn(c), { renderUiNumInput: P } = On(c), { renderUiSwitch: E } = Hn(c), { renderUiSelect: I } = Rn(c), { renderUiColorPicker: De } = An(c), { renderUiJsonEditor: it } = Nn(c), { renderUiMultiTypes: ut } = Bn(c), { renderUiCompSelect: rt } = Tn(c), { renderUiSlotSelect: at } = En(c), _e = (p, m, y, g, $, A) => (p = ze(p), $ !== void 0 ? (p.push($), A && p.push(m.key)) : p.push(m.key), m.ui ? m.array && g ? mt(
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(
1837
1853
  p,
1838
1854
  m,
1839
1855
  y,
1840
1856
  g,
1841
- $,
1857
+ w,
1842
1858
  A
1843
- ) : ft(p, m, y, $, A) : m.array ? ct(
1859
+ ) : ft(p, m, y, w, A) : m.array ? ct(
1844
1860
  p,
1845
1861
  m,
1846
1862
  y,
1847
1863
  g,
1848
- $,
1864
+ w,
1849
1865
  A
1850
1866
  ) : dt(
1851
1867
  p,
1852
1868
  m,
1853
1869
  y,
1854
1870
  g,
1855
- $,
1871
+ w,
1856
1872
  A
1857
- )), ct = (p, m, y, g, $, A) => {
1873
+ )), ct = (p, m, y, g, w, A) => {
1858
1874
  if (m.ui)
1859
- return console.assert(!1), x("div", "renderBranchArray property ui must be invalid");
1875
+ return console.assert(!1), k("div", "renderBranchArray property ui must be invalid");
1860
1876
  if (!m.array)
1861
- return console.assert(!1), x("div", "renderBranchArray property array must be valid");
1877
+ return console.assert(!1), k("div", "renderBranchArray property array must be valid");
1862
1878
  if (!g)
1863
- return console.assert(!1), x("div", "renderBranchArray branch must be valid");
1879
+ return console.assert(!1), k("div", "renderBranchArray branch must be valid");
1864
1880
  let H;
1865
- $ !== void 0 && !A ? (y[$] instanceof Array || (y[$] = J(m), c(p, y[m.key])), H = y[$]) : (y[m.key] instanceof Array || (y[m.key] = J(m), c(p, y[m.key])), H = y[m.key]);
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]);
1866
1882
  let ie = n(m.name);
1867
1883
  g.collapse && me(d.value, p) && (ie += " *");
1868
- const pe = x(Ce, {
1884
+ const ge = k($e, {
1869
1885
  title: ie,
1870
1886
  collapse: g.collapse,
1871
1887
  hasCreate: !0,
1872
- onCollapse: (w) => {
1873
- g.collapse = w;
1888
+ onCollapse: (M) => {
1889
+ g.collapse = M;
1874
1890
  },
1875
- onMenu: (w, N) => {
1876
- de.emit("propTreeMenu", { x: w, y: N, keys: p });
1891
+ onMenu: (M, N) => {
1892
+ de.emit("propTreeMenu", { x: M, y: N, keys: p });
1877
1893
  },
1878
1894
  onCreate: () => {
1879
1895
  H.push({}), c(p, H);
1880
1896
  }
1881
- }), Y = x(
1897
+ }), Y = k(
1882
1898
  "div",
1883
1899
  {
1884
1900
  style: {
@@ -1886,7 +1902,7 @@ const zn = /* @__PURE__ */ R({
1886
1902
  }
1887
1903
  },
1888
1904
  (() => {
1889
- const w = [];
1905
+ const M = [];
1890
1906
  for (let N = 0; N < H.length; N++) {
1891
1907
  if (!Ae(g.children)) {
1892
1908
  console.assert(!1);
@@ -1896,10 +1912,10 @@ const zn = /* @__PURE__ */ R({
1896
1912
  collapse: !0,
1897
1913
  children: {}
1898
1914
  });
1899
- const xe = [...p, N], Ve = g.children[N];
1915
+ const Ve = [...p, N], Se = g.children[N];
1900
1916
  let qe = `[${N + 1}]`;
1901
- g.children[N].collapse && me(d.value, xe) && (qe += " *");
1902
- const pt = x(Ce, {
1917
+ g.children[N].collapse && me(d.value, Ve) && (qe += " *");
1918
+ const pt = k($e, {
1903
1919
  title: qe,
1904
1920
  collapse: g.children[N].collapse,
1905
1921
  hasDelete: !0,
@@ -1912,7 +1928,7 @@ const zn = /* @__PURE__ */ R({
1912
1928
  g.children[N].collapse = le;
1913
1929
  },
1914
1930
  onMenu: (le, ue) => {
1915
- de.emit("propTreeMenu", { x: le, y: ue, keys: xe });
1931
+ de.emit("propTreeMenu", { x: le, y: ue, keys: Ve });
1916
1932
  },
1917
1933
  onDelete: (le) => {
1918
1934
  if (!Ae(g.children)) {
@@ -1922,8 +1938,8 @@ const zn = /* @__PURE__ */ R({
1922
1938
  g.children.splice(le, 1), H.splice(le, 1), c(p, H);
1923
1939
  }
1924
1940
  });
1925
- w.push(pt);
1926
- const gt = x(
1941
+ M.push(pt);
1942
+ const gt = k(
1927
1943
  "div",
1928
1944
  {
1929
1945
  style: {
@@ -1933,19 +1949,19 @@ const zn = /* @__PURE__ */ R({
1933
1949
  (() => {
1934
1950
  const le = [];
1935
1951
  return m.children.forEach((ue) => {
1936
- if (!Re(Ve.children)) {
1952
+ if (!Re(Se.children)) {
1937
1953
  console.assert(!1);
1938
1954
  return;
1939
1955
  }
1940
- Ve.children[ue.key] || (Ve.children[ue.key] = {
1956
+ Se.children[ue.key] || (Se.children[ue.key] = {
1941
1957
  collapse: !0,
1942
1958
  children: ue.array ? [] : {}
1943
1959
  });
1944
- const yt = _e(
1960
+ const yt = xe(
1945
1961
  p,
1946
1962
  ue,
1947
1963
  H[N],
1948
- Ve.children[ue.key],
1964
+ Se.children[ue.key],
1949
1965
  N,
1950
1966
  !0
1951
1967
  );
@@ -1953,12 +1969,12 @@ const zn = /* @__PURE__ */ R({
1953
1969
  }), le;
1954
1970
  })()
1955
1971
  );
1956
- g.children[N].collapse || w.push(gt);
1972
+ g.children[N].collapse || M.push(gt);
1957
1973
  }
1958
- return w;
1974
+ return M;
1959
1975
  })()
1960
1976
  );
1961
- return x(
1977
+ return k(
1962
1978
  "div",
1963
1979
  {
1964
1980
  style: {
@@ -1966,33 +1982,33 @@ const zn = /* @__PURE__ */ R({
1966
1982
  }
1967
1983
  },
1968
1984
  (() => {
1969
- const w = [];
1970
- return w.push(pe), g.collapse || w.push(Y), w;
1985
+ const M = [];
1986
+ return M.push(ge), g.collapse || M.push(Y), M;
1971
1987
  })()
1972
1988
  );
1973
- }, dt = (p, m, y, g, $, A) => {
1989
+ }, dt = (p, m, y, g, w, A) => {
1974
1990
  if (m.ui)
1975
- return console.assert(!1), x("div", "renderBranchScalar property ui must be invalid");
1991
+ return console.assert(!1), k("div", "renderBranchScalar property ui must be invalid");
1976
1992
  if (m.array)
1977
- return console.assert(!1), x("div", "renderBranchScalar property array must be invalid");
1993
+ return console.assert(!1), k("div", "renderBranchScalar property array must be invalid");
1978
1994
  if (!g)
1979
- return console.assert(!1), x("div", "renderBranchScalar branch must be valid");
1995
+ return console.assert(!1), k("div", "renderBranchScalar branch must be valid");
1980
1996
  let H = n(m.name);
1981
1997
  g.collapse && me(d.value, p) && (H += " *");
1982
- const ie = x(Ce, {
1998
+ const ie = k($e, {
1983
1999
  title: H,
1984
2000
  collapse: g.collapse,
1985
- hasDelete: $ !== void 0 && !A,
2001
+ hasDelete: w !== void 0 && !A,
1986
2002
  onCollapse: (Y) => {
1987
2003
  g.collapse = Y;
1988
2004
  },
1989
- onMenu: (Y, w) => {
1990
- de.emit("propTreeMenu", { x: Y, y: w, keys: p });
2005
+ onMenu: (Y, M) => {
2006
+ de.emit("propTreeMenu", { x: Y, y: M, keys: p });
1991
2007
  },
1992
2008
  onDelete: () => {
1993
- $ === void 0 || A || (y.splice($, 1), c(p.slice(0, -1), y));
2009
+ w === void 0 || A || (y.splice(w, 1), c(p.slice(0, -1), y));
1994
2010
  }
1995
- }), pe = x(
2011
+ }), ge = k(
1996
2012
  "div",
1997
2013
  {
1998
2014
  style: {
@@ -2001,26 +2017,26 @@ const zn = /* @__PURE__ */ R({
2001
2017
  },
2002
2018
  (() => {
2003
2019
  const Y = [];
2004
- return m.children.forEach((w) => {
2020
+ return m.children.forEach((M) => {
2005
2021
  if (!Re(g.children)) {
2006
2022
  console.assert(!1);
2007
2023
  return;
2008
2024
  }
2009
- g.children[w.key] || (g.children[w.key] = {
2025
+ g.children[M.key] || (g.children[M.key] = {
2010
2026
  collapse: !0,
2011
- children: !w.ui && w.array ? [] : {}
2027
+ children: !M.ui && M.array ? [] : {}
2012
2028
  });
2013
- const N = _e(
2029
+ const N = xe(
2014
2030
  p,
2015
- w,
2031
+ M,
2016
2032
  (typeof y[m.key] != "object" && (y[m.key] = {}, c(p, y[m.key])), y[m.key]),
2017
- g.children[w.key]
2033
+ g.children[M.key]
2018
2034
  );
2019
2035
  Y.push(N);
2020
2036
  }), Y;
2021
2037
  })()
2022
2038
  );
2023
- return x(
2039
+ return k(
2024
2040
  "div",
2025
2041
  {
2026
2042
  style: {
@@ -2029,34 +2045,34 @@ const zn = /* @__PURE__ */ R({
2029
2045
  },
2030
2046
  (() => {
2031
2047
  const Y = [];
2032
- return Y.push(ie), g.collapse || Y.push(pe), Y;
2048
+ return Y.push(ie), g.collapse || Y.push(ge), Y;
2033
2049
  })()
2034
2050
  );
2035
- }, mt = (p, m, y, g, $, A) => {
2051
+ }, mt = (p, m, y, g, w, A) => {
2036
2052
  if (!m.ui)
2037
- return console.assert(!1), x("div", "renderLeafArray property ui must be valid");
2053
+ return console.assert(!1), k("div", "renderLeafArray property ui must be valid");
2038
2054
  if (!m.array)
2039
- return console.assert(!1), x("div", "renderLeafArray property array must be valid");
2055
+ return console.assert(!1), k("div", "renderLeafArray property array must be valid");
2040
2056
  if (!g)
2041
- return console.assert(!1), x("div", "renderLeafArray branch must be valid");
2057
+ return console.assert(!1), k("div", "renderLeafArray branch must be valid");
2042
2058
  let H;
2043
- $ !== void 0 && !A ? (y[$] instanceof Array || (y[$] = J(m), c(p, y[$])), H = y[$]) : (y[m.key] instanceof Array || (y[m.key] = J(m), c(p, y[m.key])), H = y[m.key]);
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]);
2044
2060
  let ie = n(m.name);
2045
2061
  g.collapse && me(d.value, p) && (ie += " *");
2046
- const pe = x(Ce, {
2062
+ const ge = k($e, {
2047
2063
  title: ie,
2048
2064
  collapse: g.collapse,
2049
2065
  hasCreate: !0,
2050
- onCollapse: (w) => {
2051
- g.collapse = w;
2066
+ onCollapse: (M) => {
2067
+ g.collapse = M;
2052
2068
  },
2053
- onMenu: (w, N) => {
2054
- de.emit("propTreeMenu", { x: w, y: N, keys: p });
2069
+ onMenu: (M, N) => {
2070
+ de.emit("propTreeMenu", { x: M, y: N, keys: p });
2055
2071
  },
2056
2072
  onCreate: () => {
2057
2073
  H.push(J(m, !0)), c(p, H);
2058
2074
  }
2059
- }), Y = x(
2075
+ }), Y = k(
2060
2076
  "div",
2061
2077
  {
2062
2078
  style: {
@@ -2064,15 +2080,15 @@ const zn = /* @__PURE__ */ R({
2064
2080
  }
2065
2081
  },
2066
2082
  (() => {
2067
- const w = [];
2083
+ const M = [];
2068
2084
  for (let N = 0; N < H.length; N++) {
2069
- const xe = _e(p, m, H, void 0, N, !1);
2070
- w.push(xe);
2085
+ const Ve = xe(p, m, H, void 0, N, !1);
2086
+ M.push(Ve);
2071
2087
  }
2072
- return w;
2088
+ return M;
2073
2089
  })()
2074
2090
  );
2075
- return x(
2091
+ return k(
2076
2092
  "div",
2077
2093
  {
2078
2094
  style: {
@@ -2080,16 +2096,16 @@ const zn = /* @__PURE__ */ R({
2080
2096
  }
2081
2097
  },
2082
2098
  (() => {
2083
- const w = [];
2084
- return w.push(pe), g.collapse || w.push(Y), w;
2099
+ const M = [];
2100
+ return M.push(ge), g.collapse || M.push(Y), M;
2085
2101
  })()
2086
2102
  );
2087
- }, ft = (p, m, y, g, $) => {
2103
+ }, ft = (p, m, y, g, w) => {
2088
2104
  if (!m.ui)
2089
- return console.assert(!1), x("div", "renderLeafScalar property ui must be valid");
2105
+ return console.assert(!1), k("div", "renderLeafScalar property ui must be valid");
2090
2106
  let A;
2091
- return m.ui === "dummy" ? A = k(p, m, y, g, $) : m.ui === "strInput" ? A = S(p, m, y, g, $) : m.ui === "numInput" ? A = P(p, m, y, g, $) : m.ui === "switch" ? A = E(p, m, y, g, $) : m.ui === "select" ? A = I(p, m, y, g, $) : m.ui === "colorPicker" ? A = De(p, m, y, g, $) : m.ui === "jsonEditor" ? A = it(p, m, y, g, $) : m.ui === "multiTypes" ? A = ut(p, m, y, g, $) : m.ui === "compSelect" ? A = rt(p, m, y, g, $) : m.ui === "slotSelect" ? A = at(p, m, y, g, $) : console.assert(!1, "renderLeafScalar not implemented"), A ? b(p, m, A) : x("div");
2092
- }, vt = () => x(
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(
2093
2109
  "div",
2094
2110
  {
2095
2111
  class: "text-body-2",
@@ -2107,7 +2123,7 @@ const zn = /* @__PURE__ */ R({
2107
2123
  collapse: !0,
2108
2124
  children: !y.ui && y.array ? [] : {}
2109
2125
  });
2110
- const g = _e(
2126
+ const g = xe(
2111
2127
  [],
2112
2128
  y,
2113
2129
  l.object,
@@ -2119,9 +2135,9 @@ const zn = /* @__PURE__ */ R({
2119
2135
  return p;
2120
2136
  })()
2121
2137
  );
2122
- return (p, m) => (V(), q(fe, null, [
2123
- M(vt),
2124
- M(Gt, {
2138
+ return (p, m) => (_(), K(fe, null, [
2139
+ b(vt),
2140
+ b(Gt, {
2125
2141
  config: l.config,
2126
2142
  object: l.object,
2127
2143
  "property-states": d.value