x-prop-tree 0.7.13 → 0.7.15

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,21 +1,28 @@
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";
9
9
  const ke = (t, s) => {
10
- let n = { key: "", name: "", children: t };
10
+ let n = {
11
+ key: "",
12
+ name: "",
13
+ children: t
14
+ };
11
15
  return s.forEach((e) => {
12
16
  if (typeof e != "number") {
13
17
  if (!n) {
14
- console.assert(!1, `unpkgProp invalid prop keys=${s}`);
18
+ console.assert(!1, `unpkgProp invalid property keys=${s}`);
15
19
  return;
16
20
  }
17
21
  if (n.ui) {
18
- console.assert(!1, `unpkgProp prop ui must be invalid keys=${s}`);
22
+ console.assert(
23
+ !1,
24
+ `unpkgProp property ui must be invalid keys=${s}`
25
+ );
19
26
  return;
20
27
  }
21
28
  n = n.children.find((l) => l.key === e);
@@ -55,7 +62,13 @@ const ke = (t, s) => {
55
62
  l,
56
63
  o,
57
64
  i
58
- ) : At(s, n, e, o, i) : s.array ? wt(
65
+ ) : At(
66
+ s,
67
+ n,
68
+ e,
69
+ o,
70
+ i
71
+ ) : s.array ? wt(
59
72
  t,
60
73
  s,
61
74
  n,
@@ -73,19 +86,25 @@ const ke = (t, s) => {
73
86
  i
74
87
  )), wt = (t, s, n, e, l, o, i) => {
75
88
  if (s.ui)
76
- return console.assert(!1, "execPropBranchArray prop ui must be invalid"), !1;
89
+ return console.assert(!1, "execPropertyBranchArray property ui must be invalid"), !1;
77
90
  if (!s.array)
78
- return console.assert(!1, "execPropBranchArray prop array must be valid"), !1;
91
+ return console.assert(
92
+ !1,
93
+ "execPropertyBranchArray property array must be valid"
94
+ ), !1;
79
95
  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++) {
96
+ return console.assert(
97
+ !1,
98
+ "execPropertyBranchArray state children must be array"
99
+ ), !1;
100
+ let r;
101
+ 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;
102
+ for (let u = 0; u < r.length; u++) {
84
103
  e.children.push({
85
104
  change: !1,
86
105
  children: {}
87
106
  });
88
- const a = e.children[r];
107
+ const a = e.children[u];
89
108
  s.children.forEach((f) => {
90
109
  if (!a.children || !Ae(a.children)) {
91
110
  console.assert(!1);
@@ -97,50 +116,64 @@ const ke = (t, s) => {
97
116
  }, $e(
98
117
  t,
99
118
  f,
100
- u[r],
119
+ r[u],
101
120
  a.children[f.key],
102
121
  l,
103
- r,
122
+ u,
104
123
  !0
105
124
  ) && (a.change = !0), a.change && (e.change = !0);
106
125
  });
107
126
  }
108
- return e.change || (e.change = !Se(u, q(s))), e.change;
127
+ return e.change || (e.change = !Se(r, q(s))), e.change;
109
128
  }, Dt = (t, s, n, e, l, o, i) => {
110
129
  if (s.ui)
111
- return console.assert(!1, "execPropBranchScalar prop ui must be invalid"), !1;
130
+ return console.assert(
131
+ !1,
132
+ "execPropertyBranchScalar property ui must be invalid"
133
+ ), !1;
112
134
  if (s.array)
113
- return console.assert(!1, "execPropBranchScalar prop array must be invalid"), !1;
135
+ return console.assert(
136
+ !1,
137
+ "execPropertyBranchScalar property array must be invalid"
138
+ ), !1;
114
139
  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];
140
+ return console.assert(!1, "execPropertyBranchScalar state children must be map"), !1;
141
+ let r;
142
+ o !== void 0 && !i ? (n[o] || (n[o] = {}), r = n[o]) : (n[s.key] || (n[s.key] = {}), r = n[s.key]), e.change = !1;
143
+ for (let u = 0; u < s.children.length; u++) {
144
+ const a = s.children[u];
120
145
  e.children[a.key] = {
121
146
  change: !1,
122
147
  children: a.array ? [] : {}
123
- }, $e(t, a, u, e.children[a.key], l) && (e.change = !0);
148
+ }, $e(t, a, r, e.children[a.key], l) && (e.change = !0);
124
149
  }
125
150
  return e.change;
126
151
  }, bt = (t, s, n, e, l, o, i) => {
127
152
  if (!s.ui)
128
- return console.assert(!1, "execPropLeafArray prop ui must be valid"), !1;
153
+ return console.assert(!1, "execPropertyLeafArray property ui must be valid"), !1;
129
154
  if (!s.array)
130
- return console.assert(!1, "execPropLeafArray prop aray must be valid"), !1;
155
+ return console.assert(!1, "execPropertyLeafArray property aray must be valid"), !1;
131
156
  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] = {
157
+ return console.assert(!1, "execPropertyLeafArray state children must be array"), !1;
158
+ let r;
159
+ 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;
160
+ for (let u = 0; u < r.length; u++)
161
+ e.children[u] = {
137
162
  change: !1,
138
163
  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;
164
+ }, $e(
165
+ t,
166
+ s,
167
+ r,
168
+ e.children[u],
169
+ l,
170
+ u,
171
+ !1
172
+ ) && (e.change = !0);
173
+ return e.change || (e.change = !Se(r, q(s))), e.change;
141
174
  }, At = (t, s, n, e, l) => {
142
175
  if (!t.ui)
143
- return console.assert(!1, "execPropLeafScalar prop ui must be valid"), !1;
176
+ return console.assert(!1, "execPropertyLeafScalar property ui must be valid"), !1;
144
177
  let o;
145
178
  return e !== void 0 && !l ? o = s[e] : o = s[t.key], n.change = !Se(o, q(t, !0)), n.change;
146
179
  }, qe = (t, s, n, e) => {
@@ -156,7 +189,10 @@ const ke = (t, s) => {
156
189
  }, $e([], o, n, l[o.key], e);
157
190
  }), t.value = l;
158
191
  }, ae = (t, s) => {
159
- let n = { change: !1, children: t };
192
+ let n = {
193
+ change: !1,
194
+ children: t
195
+ };
160
196
  return s.forEach((e) => {
161
197
  if (!n)
162
198
  return console.assert(!1, `isPropChanged state must be valid keys=${s}`), !1;
@@ -204,40 +240,40 @@ function Ze() {
204
240
  const Ht = /* @__PURE__ */ R({
205
241
  __name: "menu",
206
242
  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);
243
+ 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) => {
244
+ const T = () => !(u.value.length <= 0 || !ae(l.value, u.value)), w = () => {
245
+ const k = ke(n.value, u.value);
210
246
  if (k)
211
247
  if (k.ui) {
212
- const M = me(e.value, r.value.slice(0, -1));
248
+ const M = me(e.value, u.value.slice(0, -1));
213
249
  if (!M)
214
250
  return;
215
- M[r.value[r.value.length - 1]] = q(k), o(r.value, M[r.value[r.value.length - 1]]);
251
+ M[u.value[u.value.length - 1]] = q(k), o(u.value, M[u.value[u.value.length - 1]]);
216
252
  } else if (k.array) {
217
- const M = r.value[r.value.length - 1];
253
+ const M = u.value[u.value.length - 1];
218
254
  if (M === void 0) {
219
255
  console.assert(!1, "invalid last key");
220
256
  return;
221
257
  }
222
258
  if (typeof M == "string") {
223
- const N = me(e.value, r.value.slice(0, -1));
259
+ const N = me(e.value, u.value.slice(0, -1));
224
260
  if (!N)
225
261
  return;
226
- N[r.value[r.value.length - 1]] = q(k), o(r.value, N[r.value[r.value.length - 1]]);
262
+ N[u.value[u.value.length - 1]] = q(k), o(u.value, N[u.value[u.value.length - 1]]);
227
263
  } else {
228
- const N = me(e.value, r.value);
264
+ const N = me(e.value, u.value);
229
265
  if (!N)
230
266
  return;
231
267
  k.children.forEach((Q) => {
232
- N[Q.key] = q(k), o([...r.value, Q.key], N[Q.key]);
268
+ N[Q.key] = q(k), o([...u.value, Q.key], N[Q.key]);
233
269
  });
234
270
  }
235
271
  } else {
236
- const M = me(e.value, r.value);
272
+ const M = me(e.value, u.value);
237
273
  if (!M)
238
274
  return;
239
275
  k.children.forEach((N) => {
240
- M[N.key] = q(k), o([...r.value, N.key], M[N.key]);
276
+ M[N.key] = q(k), o([...u.value, N.key], M[N.key]);
241
277
  });
242
278
  }
243
279
  };
@@ -247,20 +283,20 @@ const Ht = /* @__PURE__ */ R({
247
283
  });
248
284
  }, d = (P) => {
249
285
  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 }));
286
+ const w = ke(n.value, u.value), k = me(e.value, u.value);
287
+ localStorage.setItem("propTreeCopy", JSON.stringify({ property: w, object: k }));
252
288
  };
253
289
  P.push({
254
290
  title: s("x-prop-tree.copy"),
255
291
  func: T
256
292
  });
257
- }, y = (P) => {
293
+ }, g = (P) => {
258
294
  const T = () => {
259
295
  const k = localStorage.getItem("propTreeCopy");
260
296
  if (!k)
261
297
  return !1;
262
298
  try {
263
- const { prop: M } = JSON.parse(k), N = ke(n.value, r.value);
299
+ const { property: M } = JSON.parse(k), N = ke(n.value, u.value);
264
300
  return $t(M, N);
265
301
  } catch (M) {
266
302
  console.error(M);
@@ -272,7 +308,7 @@ const Ht = /* @__PURE__ */ R({
272
308
  const k = localStorage.getItem("propTreeCopy");
273
309
  if (k)
274
310
  try {
275
- const { object: M } = JSON.parse(k), N = ke(n.value, r.value);
311
+ const { object: M } = JSON.parse(k), N = ke(n.value, u.value);
276
312
  console.log(M, N);
277
313
  } catch (M) {
278
314
  console.error(M);
@@ -282,11 +318,11 @@ const Ht = /* @__PURE__ */ R({
282
318
  title: s("x-prop-tree.paste"),
283
319
  func: w
284
320
  });
285
- }, g = K(() => {
321
+ }, h = K(() => {
286
322
  const P = [];
287
- return f(P), d(P), y(P), P;
323
+ return f(P), d(P), g(P), P;
288
324
  }), V = (P) => {
289
- i.value = P.x, u.value = P.y, r.value = P.keys;
325
+ i.value = P.x, r.value = P.y, u.value = P.keys;
290
326
  }, { open: x } = xe("propTreeMenu", V);
291
327
  return (P, T) => {
292
328
  const w = U("v-list-item-title"), k = U("v-list-item"), M = U("v-list"), N = U("v-menu");
@@ -300,7 +336,7 @@ const Ht = /* @__PURE__ */ R({
300
336
  default: J(() => [
301
337
  D(M, null, {
302
338
  default: J(() => [
303
- (C(!0), E(Ve, null, Be(g.value, (Q, Pe) => (C(), B(k, {
339
+ (C(!0), E(Ve, null, Be(h.value, (Q, Pe) => (C(), B(k, {
304
340
  key: Pe,
305
341
  link: "",
306
342
  onClick: Q.func
@@ -339,18 +375,18 @@ const Ht = /* @__PURE__ */ R({
339
375
  height: "36px",
340
376
  marginBottom: "1px",
341
377
  userSelect: "none"
342
- })), u = () => {
378
+ })), r = () => {
343
379
  l("collapse", !t.collapse);
344
- }, r = (a) => {
380
+ }, u = (a) => {
345
381
  l("menu", a.clientX, a.clientY);
346
382
  };
347
383
  return (a, f) => {
348
- const d = U("v-icon"), y = U("v-spacer"), g = U("v-btn"), V = le("ripple");
384
+ const d = U("v-icon"), g = U("v-spacer"), h = U("v-btn"), V = le("ripple");
349
385
  return ee((C(), E("div", {
350
386
  class: "d-flex align-center cursor-pointer",
351
387
  style: I(i.value),
352
- onClick: u,
353
- onContextmenu: X(r, ["self", "prevent"]),
388
+ onClick: r,
389
+ onContextmenu: X(u, ["self", "prevent"]),
354
390
  onMouseout: f[2] || (f[2] = (x) => o.value = !1),
355
391
  onMouseover: f[3] || (f[3] = (x) => o.value = !0)
356
392
  }, [
@@ -359,8 +395,8 @@ const Ht = /* @__PURE__ */ R({
359
395
  icon: t.collapse ? "mdi-chevron-right" : "mdi-chevron-down"
360
396
  }, null, 8, ["icon"]),
361
397
  F("span", Ft, W(t.title), 1),
362
- D(y),
363
- t.hasCreate ? (C(), B(g, {
398
+ D(g),
399
+ t.hasCreate ? (C(), B(h, {
364
400
  key: 0,
365
401
  class: "mx-3",
366
402
  density: "compact",
@@ -368,7 +404,7 @@ const Ht = /* @__PURE__ */ R({
368
404
  variant: "text",
369
405
  onClick: f[0] || (f[0] = X((x) => l("create"), ["stop"]))
370
406
  })) : G("", !0),
371
- t.hasDelete ? (C(), B(g, {
407
+ t.hasDelete ? (C(), B(h, {
372
408
  key: 1,
373
409
  class: "mx-3",
374
410
  density: "compact",
@@ -394,19 +430,19 @@ const Ht = /* @__PURE__ */ R({
394
430
  paddingRight: "4px",
395
431
  marginBottom: "1px",
396
432
  userSelect: "none"
397
- })), u = (r) => {
398
- l("menu", r.clientX, r.clientY);
433
+ })), r = (u) => {
434
+ l("menu", u.clientX, u.clientY);
399
435
  };
400
- return (r, a) => {
436
+ return (u, a) => {
401
437
  const f = le("ripple");
402
438
  return ee((C(), E("div", {
403
439
  class: "d-flex justify-space-between align-center cursor-pointer",
404
440
  style: I(i.value),
405
- onContextmenu: X(u, ["self", "prevent"]),
441
+ onContextmenu: X(r, ["self", "prevent"]),
406
442
  onMouseout: a[0] || (a[0] = (d) => o.value = !1),
407
443
  onMouseover: a[1] || (a[1] = (d) => o.value = !0)
408
444
  }, [
409
- ft(r.$slots, "default")
445
+ ft(u.$slots, "default")
410
446
  ], 36)), [
411
447
  [f]
412
448
  ]);
@@ -415,23 +451,23 @@ const Ht = /* @__PURE__ */ R({
415
451
  });
416
452
  function zt(t, s, n) {
417
453
  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(
454
+ return { renderProp: (o, i, r) => {
455
+ const u = o[o.length - 1];
456
+ let f = typeof u == "number" ? `[${u + 1}]` : e(i.name);
457
+ return ae(t.value, o) && (f += " *"), y(
422
458
  Xt,
423
459
  {
424
460
  minHeight: s.value,
425
- onMenu: (d, y) => {
426
- ue.emit("propTreeMenu", { x: d, y, keys: o });
461
+ onMenu: (d, g) => {
462
+ re.emit("propTreeMenu", { x: d, y: g, keys: o });
427
463
  }
428
464
  },
429
465
  () => [
430
- h("span", {
466
+ y("span", {
431
467
  style: { marginLeft: "4px", pointerEvents: "none" },
432
468
  innerHTML: f
433
469
  }),
434
- h("div", { style: { width: n.value } }, u)
470
+ y("div", { style: { width: n.value } }, r)
435
471
  ]
436
472
  );
437
473
  } };
@@ -462,14 +498,14 @@ const ne = (t, s, n, e, l, o) => {
462
498
  if (o !== void 0)
463
499
  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
500
  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]));
501
+ let r = e;
502
+ (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
503
  }
468
504
  };
469
505
  function Gt(t) {
470
506
  return { renderUiDummy: (n, e, l, o, i) => {
471
507
  if (e.ui !== "dummy") {
472
- console.assert(!1, "renderUiDummy prop ui must be dummy");
508
+ console.assert(!1, "renderUiDummy property ui must be dummy");
473
509
  return;
474
510
  }
475
511
  ne(n, e, l, t, o, i);
@@ -489,18 +525,18 @@ const Yt = { class: "d-flex justify-space-between align-center" }, Wt = /* @__PU
489
525
  const { isMobile: n } = pe(), e = z(t, "modelValue"), l = s, o = async (i) => {
490
526
  if (!i || t.readonly || !n())
491
527
  return;
492
- const u = await yt({
528
+ const r = await gt({
493
529
  title: "",
494
530
  value: e.value
495
531
  });
496
- u !== void 0 && (e.value = u);
532
+ r !== void 0 && (e.value = r);
497
533
  };
498
- return (i, u) => {
499
- const r = U("v-text-field"), a = U("v-btn"), f = le("ripple");
534
+ return (i, r) => {
535
+ const u = U("v-text-field"), a = U("v-btn"), f = le("ripple");
500
536
  return C(), E("div", Yt, [
501
- ee(D(r, {
537
+ ee(D(u, {
502
538
  modelValue: e.value,
503
- "onUpdate:modelValue": u[0] || (u[0] = (d) => e.value = d),
539
+ "onUpdate:modelValue": r[0] || (r[0] = (d) => e.value = d),
504
540
  density: "compact",
505
541
  "hide-details": "",
506
542
  readonly: t.readonly,
@@ -520,14 +556,14 @@ const Yt = { class: "d-flex justify-space-between align-center" }, Wt = /* @__PU
520
556
  density: "compact",
521
557
  icon: "mdi-minus",
522
558
  variant: "text",
523
- onClick: u[1] || (u[1] = X((d) => l("delete"), ["stop"]))
559
+ onClick: r[1] || (r[1] = X((d) => l("delete"), ["stop"]))
524
560
  })) : G("", !0)
525
561
  ]);
526
562
  };
527
563
  }
528
564
  });
529
565
  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, {
566
+ return { renderUiStrInput: (n, e, l, o, i) => e.ui !== "strInput" ? (console.assert(!1), y("div", "renderUiStrInput property ui must be strInput")) : y(Wt, {
531
567
  modelValue: e.static ? e.value : ne(
532
568
  n,
533
569
  e,
@@ -536,12 +572,12 @@ function Qt(t) {
536
572
  o,
537
573
  i
538
574
  ),
539
- "onUpdate:modelValue": (u) => {
575
+ "onUpdate:modelValue": (r) => {
540
576
  e.static || oe(
541
577
  n,
542
578
  e,
543
579
  l,
544
- u,
580
+ r,
545
581
  t,
546
582
  o,
547
583
  i
@@ -573,7 +609,7 @@ const Zt = { class: "d-flex justify-space-between align-center" }, jt = /* @__PU
573
609
  const { isMobile: n } = pe(), e = z(t, "modelValue"), l = s, o = async (i) => {
574
610
  if (!i || t.readonly || !n())
575
611
  return;
576
- const u = await Re({
612
+ const r = await Re({
577
613
  title: "",
578
614
  value: e.value,
579
615
  precision: t.precision,
@@ -581,14 +617,14 @@ const Zt = { class: "d-flex justify-space-between align-center" }, jt = /* @__PU
581
617
  max: t.max,
582
618
  step: t.step
583
619
  });
584
- u !== void 0 && (e.value = u);
620
+ r !== void 0 && (e.value = r);
585
621
  };
586
- return (i, u) => {
587
- const r = U("v-number-input"), a = U("v-btn"), f = le("ripple");
622
+ return (i, r) => {
623
+ const u = U("v-number-input"), a = U("v-btn"), f = le("ripple");
588
624
  return C(), E("div", Zt, [
589
- ee(D(r, {
625
+ ee(D(u, {
590
626
  modelValue: e.value,
591
- "onUpdate:modelValue": u[0] || (u[0] = (d) => e.value = d),
627
+ "onUpdate:modelValue": r[0] || (r[0] = (d) => e.value = d),
592
628
  "control-variant": "stacked",
593
629
  density: "compact",
594
630
  "hide-details": "",
@@ -613,14 +649,14 @@ const Zt = { class: "d-flex justify-space-between align-center" }, jt = /* @__PU
613
649
  density: "compact",
614
650
  icon: "mdi-minus",
615
651
  variant: "text",
616
- onClick: u[1] || (u[1] = X((d) => l("delete"), ["stop"]))
652
+ onClick: r[1] || (r[1] = X((d) => l("delete"), ["stop"]))
617
653
  })) : G("", !0)
618
654
  ]);
619
655
  };
620
656
  }
621
657
  });
622
658
  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, {
659
+ return { renderUiNumInput: (n, e, l, o, i) => e.ui !== "numInput" ? (console.assert(!1), y("div", "renderUiNumInput property ui must be numInput")) : y(jt, {
624
660
  modelValue: ne(
625
661
  n,
626
662
  e,
@@ -629,12 +665,12 @@ function It(t) {
629
665
  o,
630
666
  i
631
667
  ),
632
- "onUpdate:modelValue": (u) => {
668
+ "onUpdate:modelValue": (r) => {
633
669
  oe(
634
670
  n,
635
671
  e,
636
672
  l,
637
- u,
673
+ r,
638
674
  t,
639
675
  o,
640
676
  i
@@ -664,31 +700,31 @@ const en = { class: "d-flex justify-space-between align-center" }, tn = /* @__PU
664
700
  setup(t, { emit: s }) {
665
701
  const n = z(t, "modelValue"), e = s;
666
702
  return (l, o) => {
667
- const i = U("v-switch"), u = U("v-btn");
703
+ const i = U("v-switch"), r = U("v-btn");
668
704
  return C(), E("div", en, [
669
705
  D(i, {
670
706
  modelValue: n.value,
671
- "onUpdate:modelValue": o[0] || (o[0] = (r) => n.value = r),
707
+ "onUpdate:modelValue": o[0] || (o[0] = (u) => n.value = u),
672
708
  class: "ml-1",
673
709
  color: "primary",
674
710
  density: "compact",
675
711
  "hide-details": "",
676
712
  readonly: t.readonly
677
713
  }, null, 8, ["modelValue", "readonly"]),
678
- t.hasDelete ? (C(), B(u, {
714
+ t.hasDelete ? (C(), B(r, {
679
715
  key: 0,
680
716
  class: "mx-2",
681
717
  density: "compact",
682
718
  icon: "mdi-minus",
683
719
  variant: "text",
684
- onClick: o[1] || (o[1] = X((r) => e("delete"), ["stop"]))
720
+ onClick: o[1] || (o[1] = X((u) => e("delete"), ["stop"]))
685
721
  })) : G("", !0)
686
722
  ]);
687
723
  };
688
724
  }
689
725
  });
690
726
  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, {
727
+ return { renderUiSwitch: (n, e, l, o, i) => e.ui !== "switch" ? (console.assert(!1), y("div", "renderUiSwitch property ui must be switch")) : y(tn, {
692
728
  modelValue: ne(
693
729
  n,
694
730
  e,
@@ -697,12 +733,12 @@ function nn(t) {
697
733
  o,
698
734
  i
699
735
  ) ?? !1,
700
- "onUpdate:modelValue": (u) => {
736
+ "onUpdate:modelValue": (r) => {
701
737
  oe(
702
738
  n,
703
739
  e,
704
740
  l,
705
- u,
741
+ r,
706
742
  t,
707
743
  o,
708
744
  i
@@ -728,17 +764,17 @@ const ln = { class: "d-flex justify-space-between align-center" }, on = /* @__PU
728
764
  emits: /* @__PURE__ */ Y(["delete"], ["update:modelValue"]),
729
765
  setup(t, { emit: s }) {
730
766
  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;
767
+ const r = [];
768
+ return Fe[o.value]?.items[t.items].forEach(({ title: u, value: a }) => {
769
+ r.push({ title: n(u), value: a });
770
+ }), r;
735
771
  });
736
- return (u, r) => {
772
+ return (r, u) => {
737
773
  const a = U("v-select"), f = U("v-btn"), d = le("ripple");
738
774
  return C(), E("div", ln, [
739
775
  ee(D(a, {
740
776
  modelValue: e.value,
741
- "onUpdate:modelValue": r[0] || (r[0] = (y) => e.value = y),
777
+ "onUpdate:modelValue": u[0] || (u[0] = (g) => e.value = g),
742
778
  density: "compact",
743
779
  "hide-details": "",
744
780
  items: i.value,
@@ -758,14 +794,14 @@ const ln = { class: "d-flex justify-space-between align-center" }, on = /* @__PU
758
794
  density: "compact",
759
795
  icon: "mdi-minus",
760
796
  variant: "text",
761
- onClick: r[1] || (r[1] = X((y) => l("delete"), ["stop"]))
797
+ onClick: u[1] || (u[1] = X((g) => l("delete"), ["stop"]))
762
798
  })) : G("", !0)
763
799
  ]);
764
800
  };
765
801
  }
766
802
  });
767
803
  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, {
804
+ return { renderUiSelect: (n, e, l, o, i) => e.ui !== "select" ? (console.assert(!1), y("div", "renderUiSelect property ui must be select")) : y(on, {
769
805
  modelValue: ne(
770
806
  n,
771
807
  e,
@@ -774,12 +810,12 @@ function sn(t) {
774
810
  o,
775
811
  i
776
812
  ) ?? "",
777
- "onUpdate:modelValue": (u) => {
813
+ "onUpdate:modelValue": (r) => {
778
814
  oe(
779
815
  n,
780
816
  e,
781
817
  l,
782
- u,
818
+ r,
783
819
  t,
784
820
  o,
785
821
  i
@@ -793,7 +829,7 @@ function sn(t) {
793
829
  readonly: e.readonly
794
830
  }) };
795
831
  }
796
- const rn = { class: "text-subtitle-2 ml-1" }, un = { class: "text-caption text-grey ml-1" }, an = /* @__PURE__ */ R({
832
+ const un = { class: "text-subtitle-2 ml-1" }, rn = { class: "text-caption text-grey ml-1" }, an = /* @__PURE__ */ R({
797
833
  __name: "group",
798
834
  props: {
799
835
  id: {},
@@ -803,27 +839,27 @@ const rn = { class: "text-subtitle-2 ml-1" }, un = { class: "text-caption text-g
803
839
  },
804
840
  emits: ["x-click"],
805
841
  setup(t, { emit: s }) {
806
- const { backgroundColor2: n, highlightColor: e } = ie(), l = t, o = s, i = O(!1), u = K(() => ({
842
+ const { backgroundColor2: n, highlightColor: e } = ie(), l = t, o = s, i = O(!1), r = K(() => ({
807
843
  background: i.value ? e.value : n.value,
808
844
  height: "30px",
809
845
  marginBottom: "1px",
810
846
  userSelect: "none"
811
847
  }));
812
- return (r, a) => {
848
+ return (u, a) => {
813
849
  const f = U("v-icon"), d = le("ripple");
814
850
  return ee((C(), E("div", {
815
851
  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)
852
+ style: I(r.value),
853
+ onClick: a[0] || (a[0] = (g) => o("x-click", l.id)),
854
+ onMouseout: a[1] || (a[1] = (g) => i.value = !1),
855
+ onMouseover: a[2] || (a[2] = (g) => i.value = !0)
820
856
  }, [
821
857
  D(f, {
822
858
  icon: l.collapse ? "mdi-chevron-right" : "mdi-chevron-down",
823
859
  size: "small"
824
860
  }, null, 8, ["icon"]),
825
- F("span", rn, W(l.title), 1),
826
- F("span", un, W(l.count), 1)
861
+ F("span", un, W(l.title), 1),
862
+ F("span", rn, W(l.count), 1)
827
863
  ], 36)), [
828
864
  [d]
829
865
  ]);
@@ -837,17 +873,17 @@ const rn = { class: "text-subtitle-2 ml-1" }, un = { class: "text-caption text-g
837
873
  },
838
874
  emits: ["x-click"],
839
875
  setup(t, { emit: s }) {
840
- const { backgroundColor2: n, highlightColor: e } = ie(), l = t, o = s, i = O(!1), u = K(() => ({
876
+ const { backgroundColor2: n, highlightColor: e } = ie(), l = t, o = s, i = O(!1), r = K(() => ({
841
877
  background: i.value ? e.value : n.value,
842
878
  height: "48px",
843
879
  marginBottom: "1px",
844
880
  userSelect: "none"
845
881
  }));
846
- return (r, a) => {
882
+ return (u, a) => {
847
883
  const f = le("ripple");
848
884
  return ee((C(), E("div", {
849
885
  class: "d-flex align-center cursor-pointer",
850
- style: I(u.value),
886
+ style: I(r.value),
851
887
  onClick: a[0] || (a[0] = (d) => o("x-click", l.id)),
852
888
  onMouseout: a[1] || (a[1] = (d) => i.value = !1),
853
889
  onMouseover: a[2] || (a[2] = (d) => i.value = !0)
@@ -871,13 +907,13 @@ const rn = { class: "text-subtitle-2 ml-1" }, un = { class: "text-caption text-g
871
907
  },
872
908
  emits: ["update:modelValue", "update:open"],
873
909
  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");
910
+ const { t: s } = te(), n = z(t, "modelValue"), e = z(t, "open"), l = Ze(), o = (r) => {
911
+ const u = He(l, r);
912
+ u && kt(l, r, !u.collapse);
913
+ }, i = (r) => {
914
+ n.value = r, e.value = !1, re.emit("refreshDepends");
879
915
  };
880
- return (u, r) => L(l).length > 0 ? (C(), E("div", fn, [
916
+ return (r, u) => L(l).length > 0 ? (C(), E("div", fn, [
881
917
  (C(!0), E(Ve, null, Be(L(l), (a) => (C(), E(Ve, {
882
918
  key: a.id
883
919
  }, [
@@ -898,7 +934,7 @@ const rn = { class: "text-subtitle-2 ml-1" }, un = { class: "text-caption text-g
898
934
  ], 64))), 128))
899
935
  ])) : (C(), E("div", mn, W(L(s)("x-prop-tree.noComp")), 1));
900
936
  }
901
- }), pn = { class: "text-subtitle-1 ml-3" }, yn = /* @__PURE__ */ R({
937
+ }), pn = { class: "text-subtitle-1 ml-3" }, gn = /* @__PURE__ */ R({
902
938
  __name: "index",
903
939
  props: {
904
940
  modelValue: {},
@@ -906,39 +942,39 @@ const rn = { class: "text-subtitle-2 ml-1" }, un = { class: "text-caption text-g
906
942
  },
907
943
  emits: ["update:modelValue"],
908
944
  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"), {
945
+ const { t: s } = te(), n = St(), { sysBarAvail: e } = pe(), { backgroundColor1: l } = ie(), o = z(t, "modelValue"), i = Ze(), r = K(() => {
946
+ let g = "100%";
947
+ return n.mdAndUp.value && (g = "400px"), {
912
948
  background: l.value,
913
- width: y,
949
+ width: g,
914
950
  height: "100%"
915
951
  };
916
- }), r = K(() => {
917
- let y = 48;
918
- return e.value && (y += 24), {
952
+ }), u = K(() => {
953
+ let g = 48;
954
+ return e.value && (g += 24), {
919
955
  position: "relative",
920
- height: `calc(100% - ${y}px)`
956
+ height: `calc(100% - ${g}px)`
921
957
  };
922
958
  }), a = K(() => ({
923
959
  height: "60px"
924
960
  })), f = K(() => {
925
961
  if (!o.value)
926
962
  return s("x-runtime-lib.notSet");
927
- const y = He(i, o.value);
928
- return y ? y.name : s("x-runtime-lib.compNotAvail");
963
+ const g = He(i, o.value);
964
+ return g ? g.name : s("x-runtime-lib.compNotAvail");
929
965
  }), { open: d } = xe(`propTreeCompSelectDlg${we()}`);
930
966
  return De(() => {
931
967
  d.value = !1;
932
- }), (y, g) => {
968
+ }), (g, h) => {
933
969
  const V = U("v-btn"), x = U("v-sheet"), P = U("v-icon"), T = U("v-dialog");
934
970
  return C(), B(T, {
935
971
  modelValue: L(d),
936
- "onUpdate:modelValue": g[5] || (g[5] = (w) => ve(d) ? d.value = w : null),
972
+ "onUpdate:modelValue": h[5] || (h[5] = (w) => ve(d) ? d.value = w : null),
937
973
  fullscreen: "",
938
974
  "no-click-animation": "",
939
975
  persistent: "",
940
976
  transition: "scroll-x-reverse-transition",
941
- onKeydown: g[6] || (g[6] = Ke(X((w) => d.value = !1, ["stop", "prevent"]), ["esc"]))
977
+ onKeydown: h[6] || (h[6] = Ke(X((w) => d.value = !1, ["stop", "prevent"]), ["esc"]))
942
978
  }, {
943
979
  activator: J(({ props: w }) => [
944
980
  D(V, be(w, {
@@ -954,12 +990,12 @@ const rn = { class: "text-subtitle-2 ml-1" }, un = { class: "text-caption text-g
954
990
  default: J(() => [
955
991
  F("div", {
956
992
  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"]))
993
+ onClick: h[3] || (h[3] = X((w) => d.value = !1, ["self"])),
994
+ onContextmenu: h[4] || (h[4] = X((w) => d.value = !1, ["self", "prevent"]))
959
995
  }, [
960
996
  F("div", {
961
997
  class: "elevation-2",
962
- style: I(u.value)
998
+ style: I(r.value)
963
999
  }, [
964
1000
  L(e) ? (C(), B(x, {
965
1001
  key: 0,
@@ -974,7 +1010,7 @@ const rn = { class: "text-subtitle-2 ml-1" }, un = { class: "text-caption text-g
974
1010
  default: J(() => [
975
1011
  D(P, {
976
1012
  icon: "mdi-close",
977
- onClick: g[0] || (g[0] = (w) => d.value = !1)
1013
+ onClick: h[0] || (h[0] = (w) => d.value = !1)
978
1014
  }),
979
1015
  F("span", pn, W(L(s)("x-prop-tree.dlg.compSelect.title")), 1)
980
1016
  ]),
@@ -982,13 +1018,13 @@ const rn = { class: "text-subtitle-2 ml-1" }, un = { class: "text-caption text-g
982
1018
  }),
983
1019
  F("div", {
984
1020
  class: "overflow-y-auto",
985
- style: I(r.value)
1021
+ style: I(u.value)
986
1022
  }, [
987
1023
  D(vn, {
988
1024
  modelValue: o.value,
989
- "onUpdate:modelValue": g[1] || (g[1] = (w) => o.value = w),
1025
+ "onUpdate:modelValue": h[1] || (h[1] = (w) => o.value = w),
990
1026
  open: L(d),
991
- "onUpdate:open": g[2] || (g[2] = (w) => ve(d) ? d.value = w : null)
1027
+ "onUpdate:open": h[2] || (h[2] = (w) => ve(d) ? d.value = w : null)
992
1028
  }, null, 8, ["modelValue", "open"]),
993
1029
  F("div", {
994
1030
  style: I(a.value)
@@ -1002,8 +1038,8 @@ const rn = { class: "text-subtitle-2 ml-1" }, un = { class: "text-caption text-g
1002
1038
  };
1003
1039
  }
1004
1040
  });
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, {
1041
+ function hn(t) {
1042
+ return { renderUiCompSelect: (n, e, l, o, i) => e.ui !== "compSelect" ? (console.assert(!1), y("div", "renderUiCompSelect property ui must be compSelect")) : y(gn, {
1007
1043
  modelValue: ne(
1008
1044
  n,
1009
1045
  e,
@@ -1012,12 +1048,12 @@ function gn(t) {
1012
1048
  o,
1013
1049
  i
1014
1050
  ),
1015
- "onUpdate:modelValue": (u) => {
1051
+ "onUpdate:modelValue": (r) => {
1016
1052
  oe(
1017
1053
  n,
1018
1054
  e,
1019
1055
  l,
1020
- u,
1056
+ r,
1021
1057
  t,
1022
1058
  o,
1023
1059
  i
@@ -1025,7 +1061,7 @@ function gn(t) {
1025
1061
  }
1026
1062
  }) };
1027
1063
  }
1028
- const hn = { class: "d-flex justify-space-between align-center" }, kn = /* @__PURE__ */ R({
1064
+ const yn = { class: "d-flex justify-space-between align-center" }, kn = /* @__PURE__ */ R({
1029
1065
  __name: "colorPicker",
1030
1066
  props: /* @__PURE__ */ Y({
1031
1067
  hasDelete: { type: Boolean, default: !1 },
@@ -1037,28 +1073,28 @@ const hn = { class: "d-flex justify-space-between align-center" }, kn = /* @__PU
1037
1073
  emits: /* @__PURE__ */ Y(["delete"], ["update:modelValue"]),
1038
1074
  setup(t, { emit: s }) {
1039
1075
  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
1076
+ let u = "100%";
1077
+ return t.hasDelete && (u = "calc(100% - 37px)"), {
1078
+ width: u
1043
1079
  };
1044
- }), i = K(() => t.readonly), { open: u } = xe(`propTreeColorPickerMenu${we()}`);
1080
+ }), i = K(() => t.readonly), { open: r } = xe(`propTreeColorPickerMenu${we()}`);
1045
1081
  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),
1082
+ r.value = !1;
1083
+ }), (u, a) => {
1084
+ const f = U("v-btn"), d = U("v-color-picker"), g = U("v-menu");
1085
+ return C(), B(g, {
1086
+ modelValue: L(r),
1087
+ "onUpdate:modelValue": a[2] || (a[2] = (h) => ve(r) ? r.value = h : null),
1052
1088
  "close-on-content-click": !1,
1053
1089
  scrim: "transparent"
1054
1090
  }, {
1055
- activator: J(({ props: g }) => [
1056
- F("div", hn, [
1091
+ activator: J(({ props: h }) => [
1092
+ F("div", yn, [
1057
1093
  F("div", {
1058
1094
  class: "flex-grow-1",
1059
1095
  style: I(o.value)
1060
1096
  }, [
1061
- D(f, be(g, {
1097
+ D(f, be(h, {
1062
1098
  block: "",
1063
1099
  color: e.value,
1064
1100
  density: "comfortable",
@@ -1083,7 +1119,7 @@ const hn = { class: "d-flex justify-space-between align-center" }, kn = /* @__PU
1083
1119
  default: J(() => [
1084
1120
  D(d, {
1085
1121
  modelValue: e.value,
1086
- "onUpdate:modelValue": a[1] || (a[1] = (g) => e.value = g),
1122
+ "onUpdate:modelValue": a[1] || (a[1] = (h) => e.value = h),
1087
1123
  mode: "hexa",
1088
1124
  "show-swatches": "",
1089
1125
  "swatches-max-height": "150px"
@@ -1095,7 +1131,7 @@ const hn = { class: "d-flex justify-space-between align-center" }, kn = /* @__PU
1095
1131
  }
1096
1132
  });
1097
1133
  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, {
1134
+ return { renderUiColorPicker: (n, e, l, o, i) => e.ui !== "colorPicker" ? (console.assert(!1), y("div", "renderUiColorPicker property ui must be colorPicker")) : y(kn, {
1099
1135
  modelValue: ne(
1100
1136
  n,
1101
1137
  e,
@@ -1104,12 +1140,12 @@ function _n(t) {
1104
1140
  o,
1105
1141
  i
1106
1142
  ),
1107
- "onUpdate:modelValue": (u) => {
1143
+ "onUpdate:modelValue": (r) => {
1108
1144
  oe(
1109
1145
  n,
1110
1146
  e,
1111
1147
  l,
1112
- u,
1148
+ r,
1113
1149
  t,
1114
1150
  o,
1115
1151
  i
@@ -1133,9 +1169,9 @@ const Vn = { class: "d-flex justify-space-between align-center my-2" }, Cn = { c
1133
1169
  }),
1134
1170
  emits: /* @__PURE__ */ Y(["delete"], ["update:modelValue"]),
1135
1171
  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(() => {
1172
+ 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
1173
  const V = [];
1138
- return u.value?.forEach(({ title: x }, P) => {
1174
+ return r.value?.forEach(({ title: x }, P) => {
1139
1175
  V.push({
1140
1176
  title: n(x),
1141
1177
  value: P
@@ -1143,35 +1179,35 @@ const Vn = { class: "d-flex justify-space-between align-center my-2" }, Cn = { c
1143
1179
  }), V;
1144
1180
  });
1145
1181
  Ne(() => {
1146
- u.value?.some((V, x) => V.validator(l.value) ? (r.value = x, !0) : !1);
1182
+ r.value?.some((V, x) => V.validator(l.value) ? (u.value = x, !0) : !1);
1147
1183
  });
1148
- const f = K(() => u.value?.[r.value]), d = () => {
1184
+ const f = K(() => r.value?.[u.value]), d = () => {
1149
1185
  l.value = f.value?.default;
1150
- }, y = O(0), g = async (V) => {
1186
+ }, g = O(0), h = async (V) => {
1151
1187
  if (!V || !e() || f.value.ui !== "pixelInput" && f.value.ui !== "percentInput")
1152
1188
  return;
1153
1189
  const x = await Re({
1154
1190
  title: "",
1155
- value: y.value,
1191
+ value: g.value,
1156
1192
  precision: f.value.precision,
1157
1193
  min: f.value.min,
1158
1194
  max: f.value.max,
1159
1195
  step: f.value.step
1160
1196
  });
1161
- x !== void 0 && (y.value = x);
1197
+ x !== void 0 && (g.value = x);
1162
1198
  };
1163
1199
  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) => {
1200
+ f.value?.ui === "pixelInput" ? g.value = Vt(l.value) : f.value?.ui === "percentInput" && (g.value = Ct(l.value));
1201
+ }), ue(g, (V) => {
1166
1202
  f.value?.ui === "pixelInput" ? l.value = V + "px" : f.value?.ui === "percentInput" && (l.value = V + "%");
1167
1203
  }), (V, x) => {
1168
1204
  const P = U("v-select"), T = U("v-number-input"), w = U("v-btn"), k = le("ripple");
1169
1205
  return C(), E("div", Vn, [
1170
1206
  F("div", Cn, [
1171
1207
  ee(D(P, {
1172
- modelValue: r.value,
1208
+ modelValue: u.value,
1173
1209
  "onUpdate:modelValue": [
1174
- x[0] || (x[0] = (M) => r.value = M),
1210
+ x[0] || (x[0] = (M) => u.value = M),
1175
1211
  d
1176
1212
  ],
1177
1213
  density: "compact",
@@ -1188,8 +1224,8 @@ const Vn = { class: "d-flex justify-space-between align-center my-2" }, Cn = { c
1188
1224
  ]),
1189
1225
  f.value?.ui === "pixelInput" || f.value?.ui === "percentInput" ? ee((C(), B(T, {
1190
1226
  key: 0,
1191
- modelValue: y.value,
1192
- "onUpdate:modelValue": x[1] || (x[1] = (M) => y.value = M),
1227
+ modelValue: g.value,
1228
+ "onUpdate:modelValue": x[1] || (x[1] = (M) => g.value = M),
1193
1229
  "control-variant": "stacked",
1194
1230
  density: "compact",
1195
1231
  "hide-details": "",
@@ -1198,7 +1234,7 @@ const Vn = { class: "d-flex justify-space-between align-center my-2" }, Cn = { c
1198
1234
  precision: f.value.precision,
1199
1235
  "single-line": "",
1200
1236
  step: f.value.step,
1201
- "onUpdate:focused": g
1237
+ "onUpdate:focused": h
1202
1238
  }, null, 8, ["modelValue", "max", "min", "precision", "step"])), [
1203
1239
  [
1204
1240
  k,
@@ -1221,7 +1257,7 @@ const Vn = { class: "d-flex justify-space-between align-center my-2" }, Cn = { c
1221
1257
  }
1222
1258
  });
1223
1259
  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, {
1260
+ return { renderUiMultiTypes: (n, e, l, o, i) => e.ui !== "multiTypes" ? (console.assert(!1), y("div", "renderUiMultiTypes property ui must be multiTypes")) : y(xn, {
1225
1261
  modelValue: ne(
1226
1262
  n,
1227
1263
  e,
@@ -1230,12 +1266,12 @@ function Sn(t) {
1230
1266
  o,
1231
1267
  i
1232
1268
  ) ?? "",
1233
- "onUpdate:modelValue": (u) => {
1269
+ "onUpdate:modelValue": (r) => {
1234
1270
  oe(
1235
1271
  n,
1236
1272
  e,
1237
1273
  l,
1238
- u,
1274
+ r,
1239
1275
  t,
1240
1276
  o,
1241
1277
  i
@@ -1260,24 +1296,24 @@ const Un = /* @__PURE__ */ R({
1260
1296
  },
1261
1297
  emits: ["update:modelValue", "update:lock", "update:scale"],
1262
1298
  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 = () => {
1299
+ const n = z(t, "modelValue"), e = z(t, "lock"), l = z(t, "scale"), o = ht(), i = yt(), r = Te(), u = Je("target"), a = () => {
1264
1300
  const d = JSON.parse(n.value);
1265
- r.value?.load(d);
1301
+ u.value?.load(d);
1266
1302
  };
1267
1303
  return s({ save: () => {
1268
- const d = r.value.save();
1304
+ const d = u.value.save();
1269
1305
  n.value = JSON.stringify(d, null, 2);
1270
- } }), (d, y) => (C(), B(L(Ut), {
1306
+ } }), (d, g) => (C(), B(L(Ut), {
1271
1307
  ref_key: "target",
1272
- ref: r,
1308
+ ref: u,
1273
1309
  lock: e.value,
1274
- "onUpdate:lock": y[0] || (y[0] = (g) => e.value = g),
1310
+ "onUpdate:lock": g[0] || (g[0] = (h) => e.value = h),
1275
1311
  scale: l.value,
1276
- "onUpdate:scale": y[1] || (y[1] = (g) => l.value = g),
1312
+ "onUpdate:scale": g[1] || (g[1] = (h) => l.value = h),
1277
1313
  dark: L(o),
1278
1314
  locale: L(i),
1279
1315
  type: "json",
1280
- version: L(u),
1316
+ version: L(r),
1281
1317
  onReady: a
1282
1318
  }, null, 8, ["lock", "scale", "dark", "locale", "version"]));
1283
1319
  }
@@ -1289,21 +1325,21 @@ const Un = /* @__PURE__ */ R({
1289
1325
  },
1290
1326
  emits: ["update:modelValue"],
1291
1327
  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), {
1328
+ 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(() => {
1329
+ let h = 48;
1330
+ return n.value && (h += 24), {
1295
1331
  position: "relative",
1296
1332
  background: l.value,
1297
- height: `calc(100% - ${g}px)`
1333
+ height: `calc(100% - ${h}px)`
1298
1334
  };
1299
1335
  }), f = K(() => s("x-prop-tree.dlg.jsonObject.title")), { open: d } = xe(`propTreeJsonObjectDlg${we()}`);
1300
1336
  De(() => {
1301
1337
  d.value = !1;
1302
1338
  });
1303
- const y = Je("editor");
1304
- return re(d, (g) => {
1305
- g || y.value?.save();
1306
- }), (g, V) => {
1339
+ const g = Je("editor");
1340
+ return ue(d, (h) => {
1341
+ h || g.value?.save();
1342
+ }), (h, V) => {
1307
1343
  const x = U("v-btn"), P = U("v-sheet"), T = U("v-spacer"), w = U("v-dialog");
1308
1344
  return C(), B(w, {
1309
1345
  modelValue: L(d),
@@ -1360,13 +1396,13 @@ const Un = /* @__PURE__ */ R({
1360
1396
  }, [
1361
1397
  D(Un, {
1362
1398
  ref_key: "editor",
1363
- ref: y,
1399
+ ref: g,
1364
1400
  modelValue: i.value,
1365
1401
  "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)
1402
+ lock: r.value,
1403
+ "onUpdate:lock": V[2] || (V[2] = (k) => r.value = k),
1404
+ scale: u.value,
1405
+ "onUpdate:scale": V[3] || (V[3] = (k) => u.value = k)
1370
1406
  }, null, 8, ["modelValue", "lock", "scale"])
1371
1407
  ], 4)
1372
1408
  ]),
@@ -1379,7 +1415,7 @@ const Un = /* @__PURE__ */ R({
1379
1415
  }
1380
1416
  });
1381
1417
  function Mn(t) {
1382
- return { renderUiJsonEditor: (n, e, l, o, i) => e.ui !== "jsonEditor" ? h("div", "renderUiJsonObject prop ui must be jsonEditor") : h(Pn, {
1418
+ return { renderUiJsonEditor: (n, e, l, o, i) => e.ui !== "jsonEditor" ? y("div", "renderUiJsonObject property ui must be jsonEditor") : y(Pn, {
1383
1419
  modelValue: ne(
1384
1420
  n,
1385
1421
  e,
@@ -1388,12 +1424,12 @@ function Mn(t) {
1388
1424
  o,
1389
1425
  i
1390
1426
  ) ?? "{}",
1391
- "onUpdate:modelValue": (u) => {
1427
+ "onUpdate:modelValue": (r) => {
1392
1428
  oe(
1393
1429
  n,
1394
1430
  e,
1395
1431
  l,
1396
- u,
1432
+ r,
1397
1433
  t,
1398
1434
  o,
1399
1435
  i
@@ -1411,34 +1447,39 @@ const wn = /* @__PURE__ */ R({
1411
1447
  },
1412
1448
  emits: ["change"],
1413
1449
  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) => {
1450
+ 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
1451
  qe(f, l.config, l.object), o("change", v, c);
1416
1452
  };
1417
- re(
1453
+ ue(
1418
1454
  [() => l.config, () => l.object],
1419
1455
  () => {
1420
- qe(f, l.config, l.object, (v, c) => {
1421
- o("change", v, c);
1422
- });
1456
+ qe(
1457
+ f,
1458
+ l.config,
1459
+ l.object,
1460
+ (v, c) => {
1461
+ o("change", v, c);
1462
+ }
1463
+ );
1423
1464
  },
1424
1465
  { immediate: !0 }
1425
1466
  );
1426
- const y = O(l.version);
1427
- Tt(y), re(
1467
+ const g = O(l.version);
1468
+ Tt(g), ue(
1428
1469
  () => l.version,
1429
1470
  () => {
1430
- y.value = l.version;
1471
+ g.value = l.version;
1431
1472
  }
1432
1473
  );
1433
- const g = O(l.config);
1434
- Lt(g), re(
1474
+ const h = O(l.config);
1475
+ Lt(h), ue(
1435
1476
  () => l.config,
1436
1477
  () => {
1437
- g.value = l.config;
1478
+ h.value = l.config;
1438
1479
  }
1439
1480
  );
1440
1481
  const V = O(l.object);
1441
- Ot(V), re(
1482
+ Ot(V), ue(
1442
1483
  () => l.object,
1443
1484
  () => {
1444
1485
  V.value = l.object;
@@ -1474,7 +1515,21 @@ const wn = /* @__PURE__ */ R({
1474
1515
  }), pt(() => {
1475
1516
  k();
1476
1517
  });
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(
1518
+ 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(
1519
+ v,
1520
+ c,
1521
+ p,
1522
+ m,
1523
+ _,
1524
+ $
1525
+ ) : ut(v, c, p, _, $) : c.array ? ot(
1526
+ v,
1527
+ c,
1528
+ p,
1529
+ m,
1530
+ _,
1531
+ $
1532
+ ) : st(
1478
1533
  v,
1479
1534
  c,
1480
1535
  p,
@@ -1483,16 +1538,16 @@ const wn = /* @__PURE__ */ R({
1483
1538
  $
1484
1539
  )), ot = (v, c, p, m, _, $) => {
1485
1540
  if (c.ui)
1486
- return console.assert(!1), h("div", "renderBranchArray prop ui must be invalid");
1541
+ return console.assert(!1), y("div", "renderBranchArray property ui must be invalid");
1487
1542
  if (!c.array)
1488
- return console.assert(!1), h("div", "renderBranchArray prop array must be valid");
1543
+ return console.assert(!1), y("div", "renderBranchArray property array must be valid");
1489
1544
  if (!m)
1490
- return console.assert(!1), h("div", "renderBranchArray branch must be valid");
1545
+ return console.assert(!1), y("div", "renderBranchArray branch must be valid");
1491
1546
  let A;
1492
1547
  _ !== 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
1548
  let Z = n(c.name);
1494
1549
  m.collapse && ae(f.value, v) && (Z += " *");
1495
- const fe = h(_e, {
1550
+ const fe = y(_e, {
1496
1551
  title: Z,
1497
1552
  collapse: m.collapse,
1498
1553
  hasCreate: !0,
@@ -1500,12 +1555,12 @@ const wn = /* @__PURE__ */ R({
1500
1555
  m.collapse = S;
1501
1556
  },
1502
1557
  onMenu: (S, b) => {
1503
- ue.emit("propTreeMenu", { x: S, y: b, keys: v });
1558
+ re.emit("propTreeMenu", { x: S, y: b, keys: v });
1504
1559
  },
1505
1560
  onCreate: () => {
1506
1561
  A.push({}), d(v, A);
1507
1562
  }
1508
- }), H = h(
1563
+ }), H = y(
1509
1564
  "div",
1510
1565
  {
1511
1566
  style: {
@@ -1523,10 +1578,10 @@ const wn = /* @__PURE__ */ R({
1523
1578
  collapse: !0,
1524
1579
  children: {}
1525
1580
  });
1526
- const ge = [...v, b], he = m.children[b];
1581
+ const he = [...v, b], ye = m.children[b];
1527
1582
  let Le = `[${b + 1}]`;
1528
- m.children[b].collapse && ae(f.value, ge) && (Le += " *");
1529
- const at = h(_e, {
1583
+ m.children[b].collapse && ae(f.value, he) && (Le += " *");
1584
+ const at = y(_e, {
1530
1585
  title: Le,
1531
1586
  collapse: m.children[b].collapse,
1532
1587
  hasDelete: !0,
@@ -1539,7 +1594,7 @@ const wn = /* @__PURE__ */ R({
1539
1594
  m.children[b].collapse = j;
1540
1595
  },
1541
1596
  onMenu: (j, se) => {
1542
- ue.emit("propTreeMenu", { x: j, y: se, keys: ge });
1597
+ re.emit("propTreeMenu", { x: j, y: se, keys: he });
1543
1598
  },
1544
1599
  onDelete: (j) => {
1545
1600
  if (!Me(m.children)) {
@@ -1550,7 +1605,7 @@ const wn = /* @__PURE__ */ R({
1550
1605
  }
1551
1606
  });
1552
1607
  S.push(at);
1553
- const ct = h(
1608
+ const ct = y(
1554
1609
  "div",
1555
1610
  {
1556
1611
  style: {
@@ -1560,19 +1615,19 @@ const wn = /* @__PURE__ */ R({
1560
1615
  (() => {
1561
1616
  const j = [];
1562
1617
  return c.children.forEach((se) => {
1563
- if (!Oe(he.children)) {
1618
+ if (!Oe(ye.children)) {
1564
1619
  console.assert(!1);
1565
1620
  return;
1566
1621
  }
1567
- he.children[se.key] || (he.children[se.key] = {
1622
+ ye.children[se.key] || (ye.children[se.key] = {
1568
1623
  collapse: !0,
1569
1624
  children: se.array ? [] : {}
1570
1625
  });
1571
- const dt = ye(
1626
+ const dt = ge(
1572
1627
  v,
1573
1628
  se,
1574
1629
  A[b],
1575
- he.children[se.key],
1630
+ ye.children[se.key],
1576
1631
  b,
1577
1632
  !0
1578
1633
  );
@@ -1585,7 +1640,7 @@ const wn = /* @__PURE__ */ R({
1585
1640
  return S;
1586
1641
  })()
1587
1642
  );
1588
- return h(
1643
+ return y(
1589
1644
  "div",
1590
1645
  {
1591
1646
  style: {
@@ -1599,14 +1654,14 @@ const wn = /* @__PURE__ */ R({
1599
1654
  );
1600
1655
  }, st = (v, c, p, m, _, $) => {
1601
1656
  if (c.ui)
1602
- return console.assert(!1), h("div", "renderBranchScalar prop ui must be invalid");
1657
+ return console.assert(!1), y("div", "renderBranchScalar property ui must be invalid");
1603
1658
  if (c.array)
1604
- return console.assert(!1), h("div", "renderBranchScalar prop array must be invalid");
1659
+ return console.assert(!1), y("div", "renderBranchScalar property array must be invalid");
1605
1660
  if (!m)
1606
- return console.assert(!1), h("div", "renderBranchScalar branch must be valid");
1661
+ return console.assert(!1), y("div", "renderBranchScalar branch must be valid");
1607
1662
  let A = n(c.name);
1608
1663
  m.collapse && ae(f.value, v) && (A += " *");
1609
- const Z = h(_e, {
1664
+ const Z = y(_e, {
1610
1665
  title: A,
1611
1666
  collapse: m.collapse,
1612
1667
  hasDelete: _ !== void 0 && !$,
@@ -1614,12 +1669,12 @@ const wn = /* @__PURE__ */ R({
1614
1669
  m.collapse = H;
1615
1670
  },
1616
1671
  onMenu: (H, S) => {
1617
- ue.emit("propTreeMenu", { x: H, y: S, keys: v });
1672
+ re.emit("propTreeMenu", { x: H, y: S, keys: v });
1618
1673
  },
1619
1674
  onDelete: () => {
1620
1675
  _ === void 0 || $ || (p.splice(_, 1), d(v.slice(0, -1), p));
1621
1676
  }
1622
- }), fe = h(
1677
+ }), fe = y(
1623
1678
  "div",
1624
1679
  {
1625
1680
  style: {
@@ -1637,7 +1692,7 @@ const wn = /* @__PURE__ */ R({
1637
1692
  collapse: !0,
1638
1693
  children: !S.ui && S.array ? [] : {}
1639
1694
  });
1640
- const b = ye(
1695
+ const b = ge(
1641
1696
  v,
1642
1697
  S,
1643
1698
  (typeof p[c.key] != "object" && (p[c.key] = {}, d(v, p[c.key])), p[c.key]),
@@ -1647,7 +1702,7 @@ const wn = /* @__PURE__ */ R({
1647
1702
  }), H;
1648
1703
  })()
1649
1704
  );
1650
- return h(
1705
+ return y(
1651
1706
  "div",
1652
1707
  {
1653
1708
  style: {
@@ -1661,16 +1716,16 @@ const wn = /* @__PURE__ */ R({
1661
1716
  );
1662
1717
  }, it = (v, c, p, m, _, $) => {
1663
1718
  if (!c.ui)
1664
- return console.assert(!1), h("div", "renderLeafArray prop ui must be valid");
1719
+ return console.assert(!1), y("div", "renderLeafArray property ui must be valid");
1665
1720
  if (!c.array)
1666
- return console.assert(!1), h("div", "renderLeafArray prop array must be valid");
1721
+ return console.assert(!1), y("div", "renderLeafArray property array must be valid");
1667
1722
  if (!m)
1668
- return console.assert(!1), h("div", "renderLeafArray branch must be valid");
1723
+ return console.assert(!1), y("div", "renderLeafArray branch must be valid");
1669
1724
  let A;
1670
1725
  _ !== 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
1726
  let Z = n(c.name);
1672
1727
  m.collapse && ae(f.value, v) && (Z += " *");
1673
- const fe = h(_e, {
1728
+ const fe = y(_e, {
1674
1729
  title: Z,
1675
1730
  collapse: m.collapse,
1676
1731
  hasCreate: !0,
@@ -1678,12 +1733,12 @@ const wn = /* @__PURE__ */ R({
1678
1733
  m.collapse = S;
1679
1734
  },
1680
1735
  onMenu: (S, b) => {
1681
- ue.emit("propTreeMenu", { x: S, y: b, keys: v });
1736
+ re.emit("propTreeMenu", { x: S, y: b, keys: v });
1682
1737
  },
1683
1738
  onCreate: () => {
1684
1739
  A.push(q(c, !0)), d(v, A);
1685
1740
  }
1686
- }), H = h(
1741
+ }), H = y(
1687
1742
  "div",
1688
1743
  {
1689
1744
  style: {
@@ -1693,13 +1748,13 @@ const wn = /* @__PURE__ */ R({
1693
1748
  (() => {
1694
1749
  const S = [];
1695
1750
  for (let b = 0; b < A.length; b++) {
1696
- const ge = ye(v, c, A, void 0, b, !1);
1697
- S.push(ge);
1751
+ const he = ge(v, c, A, void 0, b, !1);
1752
+ S.push(he);
1698
1753
  }
1699
1754
  return S;
1700
1755
  })()
1701
1756
  );
1702
- return h(
1757
+ return y(
1703
1758
  "div",
1704
1759
  {
1705
1760
  style: {
@@ -1711,12 +1766,12 @@ const wn = /* @__PURE__ */ R({
1711
1766
  return S.push(fe), m.collapse || S.push(H), S;
1712
1767
  })()
1713
1768
  );
1714
- }, rt = (v, c, p, m, _) => {
1769
+ }, ut = (v, c, p, m, _) => {
1715
1770
  if (!c.ui)
1716
- return console.assert(!1), h("div", "renderLeafScalar prop ui must be valid");
1771
+ return console.assert(!1), y("div", "renderLeafScalar property ui must be valid");
1717
1772
  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(
1773
+ 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");
1774
+ }, rt = () => y(
1720
1775
  "div",
1721
1776
  {
1722
1777
  class: "text-body-2",
@@ -1734,7 +1789,12 @@ const wn = /* @__PURE__ */ R({
1734
1789
  collapse: !0,
1735
1790
  children: !p.ui && p.array ? [] : {}
1736
1791
  });
1737
- const m = ye([], p, l.object, c[p.key]);
1792
+ const m = ge(
1793
+ [],
1794
+ p,
1795
+ l.object,
1796
+ c[p.key]
1797
+ );
1738
1798
  v.push(m);
1739
1799
  });
1740
1800
  }
@@ -1742,7 +1802,7 @@ const wn = /* @__PURE__ */ R({
1742
1802
  })()
1743
1803
  );
1744
1804
  return (v, c) => (C(), E(Ve, null, [
1745
- D(ut),
1805
+ D(rt),
1746
1806
  D(Ht, {
1747
1807
  config: l.config,
1748
1808
  object: l.object,