x-runtime-lib 0.8.146 → 0.8.147

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,7 +1,7 @@
1
1
  var xn = (t, n) => (n = Symbol[t]) ? n : /* @__PURE__ */ Symbol.for("Symbol." + t), kn = (t) => {
2
2
  throw TypeError(t);
3
3
  };
4
- var $e = (t, n, e) => {
4
+ var ve = (t, n, e) => {
5
5
  if (n != null) {
6
6
  typeof n != "object" && typeof n != "function" && kn("Object expected");
7
7
  var o, s;
@@ -29,7 +29,7 @@ var $e = (t, n, e) => {
29
29
  };
30
30
  return i();
31
31
  };
32
- import { defineComponent as $, createElementBlock as te, createCommentVNode as se, unref as r, openBlock as k, createElementVNode as Re, computed as w, renderSlot as F, normalizeStyle as de, ref as ie, watch as pe, onUnmounted as we, onBeforeMount as ni, watchEffect as xe, createVNode as D, createBlock as C, useTemplateRef as wo, onMounted as Io, nextTick as on, withCtx as V, resolveComponent as B, isRef as ne, h as K, createSlots as sn, renderList as oi, useId as $o, withModifiers as ii, normalizeClass as si, toDisplayString as So, useAttrs as bt, inject as fe, provide as ye, readonly as rn } from "vue";
32
+ import { defineComponent as $, createElementBlock as te, createCommentVNode as se, unref as r, openBlock as k, createElementVNode as Re, computed as I, renderSlot as F, normalizeStyle as de, ref as ie, watch as pe, onUnmounted as Ie, onBeforeMount as ni, watchEffect as ke, createVNode as D, createBlock as C, useTemplateRef as wo, onMounted as Io, nextTick as on, withCtx as V, resolveComponent as B, isRef as ne, h as K, createSlots as sn, renderList as oi, useId as $o, withModifiers as ii, normalizeClass as si, toDisplayString as So, useAttrs as bt, inject as fe, provide as ye, readonly as rn } from "vue";
33
33
  import { globalObjects as he, waitUtil as Co, useViewStack as Vo, eventBus as Po, messageInfo as ri, messageSuccess as li, messageWarning as Lo, messageError as zo, createAxios as ai, openConfirmDlg as ci, openPromptDlg as ui } from "x-essential-lib";
34
34
  import { CameraHelper as To, DirectionalLightHelper as mi, PointLightHelper as pi, SpotLightHelper as di } from "three";
35
35
  import { i as me, c as qe, K as fi, M as yi, O as bi, u as gi, r as Eo, e as Ao, a as hi, b as _i, d as vi, f as xi, g as ki, h as wi, j as Ii, k as $i, l as Mo, m as O, H as Si, n as Ci, o as Vi, p as Pi, q as Li } from "./vendor.m8tdmh16.js";
@@ -312,7 +312,7 @@ const wu = [
312
312
  "scene_sphere_geometry_v1",
313
313
  "scene_spot_light_v1"
314
314
  ];
315
- function j(...t) {
315
+ function N(...t) {
316
316
  return t.map((n) => he.i18n.global.t(`x-runtime-lib.${n}`)).join(" - ");
317
317
  }
318
318
  function cn(t, n, e) {
@@ -324,15 +324,15 @@ function cn(t, n, e) {
324
324
  }
325
325
  function Iu(t, n) {
326
326
  let e = "";
327
- return t === "elementProperty" || (t === "refProperty" || t === "multipleRefProperty" ? e = j("reference") : t === "slotProperty" || t === "multipleSlotProperty" ? e = j("slot") : t === "customProperty" ? e = j("custom") : t === "adaptSlotElementProperty" || t === "adaptSlotCustomProperty" ? e = j("adaptSlot") : console.assert(!1)), cn(e, n, Wi(t));
327
+ return t === "elementProperty" || (t === "refProperty" || t === "multipleRefProperty" ? e = N("reference") : t === "slotProperty" || t === "multipleSlotProperty" ? e = N("slot") : t === "customProperty" ? e = N("custom") : t === "adaptSlotElementProperty" || t === "adaptSlotCustomProperty" ? e = N("adaptSlot") : console.assert(!1)), cn(e, n, Wi(t));
328
328
  }
329
329
  function $u(t, n) {
330
330
  let e = "";
331
- return t === "elementMethod" || (t === "refMethod" || t === "multipleRefMethod" ? e = j("reference") : t === "slotMethod" || t === "multipleSlotMethod" ? e = j("slot") : t === "customMethod" ? e = j("custom") : t === "adaptSlotElementMethod" || t === "adaptSlotCustomMethod" ? e = j("adaptSlot") : console.assert(!1)), cn(e, n, Bi(t));
331
+ return t === "elementMethod" || (t === "refMethod" || t === "multipleRefMethod" ? e = N("reference") : t === "slotMethod" || t === "multipleSlotMethod" ? e = N("slot") : t === "customMethod" ? e = N("custom") : t === "adaptSlotElementMethod" || t === "adaptSlotCustomMethod" ? e = N("adaptSlot") : console.assert(!1)), cn(e, n, Bi(t));
332
332
  }
333
333
  function Su(t, n) {
334
334
  let e = "";
335
- return t === "elementEvent" || (t === "elementPropertyChangeEvent" ? e = j("propertyChange") : t === "refEvent" ? e = j("reference") : t === "refPropertyChangeEvent" ? e = j("reference", "propertyChange") : t === "multipleRefEvent" ? e = j("reference") : t === "multipleRefPropertyChangeEvent" ? e = j("reference", "propertyChange") : t === "slotEvent" ? e = j("slot") : t === "slotPropertyChangeEvent" ? e = j("slot", "propertyChange") : t === "multipleSlotEvent" ? e = j("slot") : t === "multipleSlotPropertyChangeEvent" ? e = j("slot", "propertyChange") : t === "customEvent" ? e = j("custom") : t === "customPropertyChangeEvent" ? e = j("custom", "propertyChange") : t === "adaptSlotElementEvent" ? e = j("adaptSlot") : t === "adaptSlotElementPropertyChangeEvent" ? e = j("adaptSlot", "propertyChange") : t === "adaptSlotCustomEvent" ? e = j("adaptSlot") : t === "adaptSlotCustomPropertyChangeEvent" ? e = j("adaptSlot", "propertyChange") : t === "stateChangeEvent" ? e = j("state") : console.assert(!1)), cn(e, n, Ri(t));
335
+ return t === "elementEvent" || (t === "elementPropertyChangeEvent" ? e = N("propertyChange") : t === "refEvent" ? e = N("reference") : t === "refPropertyChangeEvent" ? e = N("reference", "propertyChange") : t === "multipleRefEvent" ? e = N("reference") : t === "multipleRefPropertyChangeEvent" ? e = N("reference", "propertyChange") : t === "slotEvent" ? e = N("slot") : t === "slotPropertyChangeEvent" ? e = N("slot", "propertyChange") : t === "multipleSlotEvent" ? e = N("slot") : t === "multipleSlotPropertyChangeEvent" ? e = N("slot", "propertyChange") : t === "customEvent" ? e = N("custom") : t === "customPropertyChangeEvent" ? e = N("custom", "propertyChange") : t === "adaptSlotElementEvent" ? e = N("adaptSlot") : t === "adaptSlotElementPropertyChangeEvent" ? e = N("adaptSlot", "propertyChange") : t === "adaptSlotCustomEvent" ? e = N("adaptSlot") : t === "adaptSlotCustomPropertyChangeEvent" ? e = N("adaptSlot", "propertyChange") : t === "stateChangeEvent" ? e = N("state") : console.assert(!1)), cn(e, n, Ri(t));
336
336
  }
337
337
  const Ki = ["position", "ratation", "scale"], Ke = /* @__PURE__ */ $({
338
338
  __name: "index",
@@ -356,19 +356,19 @@ const Ki = ["position", "ratation", "scale"], Ke = /* @__PURE__ */ $({
356
356
  Re("TresBoxGeometry", { args: [1, 1, 1] }, null, -1)
357
357
  ])], 8, Ki)) : se("", !0);
358
358
  }
359
- }), H = /* @__PURE__ */ $({
359
+ }), G = /* @__PURE__ */ $({
360
360
  __name: "index",
361
361
  props: {
362
362
  block: { type: Boolean, default: !1 },
363
363
  mask: { type: Boolean, default: !1 }
364
364
  },
365
365
  setup(t) {
366
- const n = Z(), e = w(() => {
366
+ const n = Z(), e = I(() => {
367
367
  const s = {
368
368
  position: "relative"
369
369
  };
370
370
  return t.block ? s.display = "block" : s.display = "inline-block", s;
371
- }), o = w(() => ({
371
+ }), o = I(() => ({
372
372
  position: "absolute",
373
373
  top: 0,
374
374
  left: 0,
@@ -401,17 +401,17 @@ function P(t) {
401
401
  e.value = n.value.view.nodes[t.nodeId];
402
402
  });
403
403
  const { debugTrace: o } = Di(e);
404
- return o("created"), we(() => {
404
+ return o("created"), Ie(() => {
405
405
  o("destroyed");
406
406
  }), { node: e };
407
407
  }
408
408
  function mt(t, n, e) {
409
409
  const o = _e();
410
410
  if (o) {
411
- const s = w(() => Jc("elementMethod", t, n));
411
+ const s = I(() => Jc("elementMethod", t, n));
412
412
  ni(() => {
413
413
  o.eventBus?.on(s.value, e);
414
- }), we(() => {
414
+ }), Ie(() => {
415
415
  o.eventBus?.off(s.value, e);
416
416
  });
417
417
  }
@@ -431,7 +431,7 @@ const Oi = (t, n, e, o) => {
431
431
  };
432
432
  function a(t, n, e) {
433
433
  const o = _e(), s = ie();
434
- return xe(() => {
434
+ return ke(() => {
435
435
  s.value = Oi(o, t.value, n, e);
436
436
  }), pe(s, (i, l) => {
437
437
  me(i, l) || Fi(o, t.value, n, s.value, e);
@@ -463,22 +463,22 @@ function ue(t) {
463
463
  "rotation",
464
464
  "z"
465
465
  ]), { property: c } = a(t, ["transform", "scale", "x"]), { property: m } = a(t, ["transform", "scale", "y"]), { property: u } = a(t, ["transform", "scale", "z"]), d = ie([0, 0, 0]), p = ie([0, 0, 0]), f = ie([1, 1, 1]);
466
- return xe(() => {
466
+ return ke(() => {
467
467
  d.value = [n.value, e.value, o.value];
468
- }), xe(() => {
468
+ }), ke(() => {
469
469
  n.value = d.value[0], e.value = d.value[1], o.value = d.value[2];
470
- }), xe(() => {
470
+ }), ke(() => {
471
471
  p.value = [s.value, i.value, l.value];
472
- }), xe(() => {
472
+ }), ke(() => {
473
473
  s.value = p.value[0], i.value = p.value[1], l.value = p.value[2];
474
- }), xe(() => {
474
+ }), ke(() => {
475
475
  f.value = [c.value, m.value, u.value];
476
- }), xe(() => {
476
+ }), ke(() => {
477
477
  c.value = f.value[0], m.value = f.value[1], u.value = f.value[2];
478
478
  }), { position: d, rotation: p, scale: f };
479
479
  }
480
480
  function Bo(t) {
481
- const n = w(() => t.value.legend?.show), e = w(() => t.value.legend?.data);
481
+ const n = I(() => t.value.legend?.show), e = I(() => t.value.legend?.data);
482
482
  function o(s) {
483
483
  s.legend = {
484
484
  show: n.value,
@@ -488,14 +488,14 @@ function Bo(t) {
488
488
  return { show: n, data: e, applyLegend: o };
489
489
  }
490
490
  function Ro(t) {
491
- const n = w(() => t.value.series);
491
+ const n = I(() => t.value.series);
492
492
  function e(o) {
493
493
  o.series = n.value;
494
494
  }
495
495
  return { series: n, applySeries: e };
496
496
  }
497
497
  function Ko(t) {
498
- const n = w(() => t.value.title?.show), e = w(() => t.value.title?.text), o = w(() => t.value.title?.subtext);
498
+ const n = I(() => t.value.title?.show), e = I(() => t.value.title?.text), o = I(() => t.value.title?.subtext);
499
499
  function s(i) {
500
500
  i.title = {
501
501
  show: n.value,
@@ -506,7 +506,7 @@ function Ko(t) {
506
506
  return { show: n, text: e, subtext: o, applyTitle: s };
507
507
  }
508
508
  function Do(t) {
509
- const n = w(() => t.value.xAxis?.show), e = w(() => t.value.xAxis?.position), o = w(() => t.value.xAxis?.type), s = w(() => t.value.xAxis?.data);
509
+ const n = I(() => t.value.xAxis?.show), e = I(() => t.value.xAxis?.position), o = I(() => t.value.xAxis?.type), s = I(() => t.value.xAxis?.data);
510
510
  function i(l) {
511
511
  l.xAxis = {
512
512
  show: n.value,
@@ -518,7 +518,7 @@ function Do(t) {
518
518
  return { show: n, position: e, type: o, data: s, applyXAxis: i };
519
519
  }
520
520
  function Oo(t) {
521
- const n = w(() => t.value.yAxis?.show), e = w(() => t.value.yAxis?.position), o = w(() => t.value.yAxis?.type), s = w(() => t.value.yAxis?.data);
521
+ const n = I(() => t.value.yAxis?.show), e = I(() => t.value.yAxis?.position), o = I(() => t.value.yAxis?.type), s = I(() => t.value.yAxis?.data);
522
522
  function i(l) {
523
523
  l.yAxis = {
524
524
  show: n.value,
@@ -530,55 +530,55 @@ function Oo(t) {
530
530
  return { show: n, position: e, type: o, data: s, applyYAxis: i };
531
531
  }
532
532
  function Q(t) {
533
- const { computedThemes: n } = zi(), e = Ze(), o = w(() => t.value?.mode), s = w(() => {
533
+ const { computedThemes: n } = zi(), e = Ze(), o = I(() => t.value?.mode), s = I(() => {
534
534
  const u = t.value?.theme;
535
535
  return u ? u === "background0" ? e.value ? "#2e2e2e" : "#bdbdbd" : u === "background1" ? e.value ? "#272727" : "#eeeeee" : u === "background2" ? e.value ? "#1e1e1e" : "#ffffff" : (e.value ? n.value.dark : n.value.light).colors[u] : void 0;
536
- }), i = w(() => e.value ? t.value.custom?.dark : t.value.custom?.light), l = w(() => o.value === "theme" ? s.value ?? "" : o.value === "custom" ? i.value ?? "" : ""), c = w(() => {
536
+ }), i = I(() => e.value ? t.value.custom?.dark : t.value.custom?.light), l = I(() => o.value === "theme" ? s.value ?? "" : o.value === "custom" ? i.value ?? "" : ""), c = I(() => {
537
537
  const u = l.value;
538
538
  return !u.startsWith("#") || u.length < 7 ? "" : u.substring(0, 7);
539
- }), m = w(() => {
539
+ }), m = I(() => {
540
540
  const u = l.value;
541
541
  return u.startsWith("#") ? u.length < 9 ? 1 : parseInt(u.substring(7, 9)) / 255 : 0;
542
542
  });
543
543
  return { color: l, rgb: c, alpha: m };
544
544
  }
545
545
  function un(t) {
546
- const n = w(() => t.value.border?.style), e = w(() => t.value.border?.width), o = w(() => t.value.border?.color), { color: s } = Q(o), i = w(() => t.value.border?.roundRadius?.tl), l = w(() => t.value.border?.roundRadius?.tr), c = w(() => t.value.border?.roundRadius?.bl), m = w(() => t.value.border?.roundRadius?.br);
546
+ const n = I(() => t.value.border?.style), e = I(() => t.value.border?.width), o = I(() => t.value.border?.color), { color: s } = Q(o), i = I(() => t.value.border?.roundRadius?.tl), l = I(() => t.value.border?.roundRadius?.tr), c = I(() => t.value.border?.roundRadius?.bl), m = I(() => t.value.border?.roundRadius?.br);
547
547
  function u(d) {
548
548
  n.value && (d.borderStyle = n.value), e.value && (d.borderWidth = e.value), s.value && (d.borderColor = s.value), i.value && (d.borderTopLeftRadius = i.value), l.value && (d.borderTopRightRadius = l.value), c.value && (d.borderBottomLeftRadius = c.value), m.value && (d.borderBottomRightRadius = m.value);
549
549
  }
550
550
  return { borderStyle: n, borderWidth: e, borderColor: s, applyBorder: u };
551
551
  }
552
552
  function mn(t) {
553
- const n = w(() => t.value.margin?.top), e = w(() => t.value.margin?.left), o = w(() => t.value.margin?.bottom), s = w(() => t.value.margin?.right);
553
+ const n = I(() => t.value.margin?.top), e = I(() => t.value.margin?.left), o = I(() => t.value.margin?.bottom), s = I(() => t.value.margin?.right);
554
554
  function i(l) {
555
555
  n.value && (l.marginTop = n.value), e.value && (l.marginLeft = e.value), o.value && (l.marginBottom = o.value), s.value && (l.marginRight = s.value);
556
556
  }
557
557
  return { marginTop: n, marginLeft: e, marginBottom: o, marginRight: s, applyMargin: i };
558
558
  }
559
559
  function pn(t) {
560
- const n = w(() => t.value.padding?.top), e = w(() => t.value.padding?.left), o = w(() => t.value.padding?.bottom), s = w(() => t.value.padding?.right);
560
+ const n = I(() => t.value.padding?.top), e = I(() => t.value.padding?.left), o = I(() => t.value.padding?.bottom), s = I(() => t.value.padding?.right);
561
561
  function i(l) {
562
562
  n.value && (l.paddingTop = n.value), e.value && (l.paddingLeft = e.value), o.value && (l.paddingBottom = o.value), s.value && (l.paddingRight = s.value);
563
563
  }
564
564
  return { paddingTop: n, paddingLeft: e, paddingBottom: o, paddingRight: s, applyPadding: i };
565
565
  }
566
566
  function be(t, n) {
567
- const e = Z(), o = Fe(), s = w(() => n.value.size?.width), i = w(() => n.value.size?.minWidth), l = w(() => n.value.size?.maxWidth), c = w(() => {
567
+ const e = Z(), o = Fe(), s = I(() => n.value.size?.width), i = I(() => n.value.size?.minWidth), l = I(() => n.value.size?.maxWidth), c = I(() => {
568
568
  if (t.outer && e === "editor") {
569
569
  const p = wt(n.value.size?.height);
570
570
  if (p)
571
571
  return p / 100 * o.value.height + "px";
572
572
  }
573
573
  return n.value.size?.height;
574
- }), m = w(() => {
574
+ }), m = I(() => {
575
575
  if (t.outer && e === "editor") {
576
576
  const p = wt(n.value.size?.minHeight);
577
577
  if (p)
578
578
  return p / 100 * o.value.height + "px";
579
579
  }
580
580
  return n.value.size?.minHeight;
581
- }), u = w(() => {
581
+ }), u = I(() => {
582
582
  if (t.outer && e === "editor") {
583
583
  const p = wt(n.value.size?.maxHeight);
584
584
  if (p)
@@ -600,7 +600,7 @@ const Ni = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
600
600
  },
601
601
  setup(t) {
602
602
  const n = t, { node: e } = P(n), o = Z(), { position: s, rotation: i, scale: l } = ue(e), { property: c } = a(e, ["settings", "bottom"]), { property: m } = a(e, ["settings", "far"]), { property: u } = a(e, ["settings", "left"]), { property: d } = a(e, ["settings", "near"]), { property: p } = a(e, ["settings", "right"]), { property: f } = a(e, ["settings", "top"]);
603
- return (g, _) => (k(), te("TresOrthographicCamera", {
603
+ return (g, v) => (k(), te("TresOrthographicCamera", {
604
604
  bottom: r(c),
605
605
  far: r(m),
606
606
  left: r(u),
@@ -836,7 +836,7 @@ const Ni = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
836
836
  "settings",
837
837
  "penumbra"
838
838
  ]);
839
- return (_, I) => (k(), te("TresSpotLight", {
839
+ return (v, w) => (k(), te("TresSpotLight", {
840
840
  angle: r(c),
841
841
  color: r(u),
842
842
  decay: r(d),
@@ -852,7 +852,7 @@ const Ni = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
852
852
  key: 0,
853
853
  type: r(di)
854
854
  }, null, 8, ["type"])) : se("", !0),
855
- F(_.$slots, "default")
855
+ F(v.$slots, "default")
856
856
  ], 8, rs));
857
857
  }
858
858
  }), as = {};
@@ -974,25 +974,25 @@ const xr = /* @__PURE__ */ $({
974
974
  refContext: {}
975
975
  },
976
976
  setup(t) {
977
- const n = t, { node: e } = P(n), o = Fe(), s = Ze(), i = Ie(), l = re(), { width: c, minWidth: m, maxWidth: u, height: d, minHeight: p, maxHeight: f, applySize: g } = be(n, e), { applyTitle: _ } = Ko(e), { applyXAxis: I } = Do(e), { applyYAxis: b } = Oo(e), { applyLegend: x } = Bo(e), { applySeries: h } = Ro(e), v = w(() => {
978
- const L = {}, q = l.value?.type;
979
- return i === "page" ? q === "common" ? g(L) : console.assert(!1) : i === "comp" && q === "common" ? g(L) : console.assert(!1), L;
977
+ const n = t, { node: e } = P(n), o = Fe(), s = Ze(), i = $e(), l = re(), { width: c, minWidth: m, maxWidth: u, height: d, minHeight: p, maxHeight: f, applySize: g } = be(n, e), { applyTitle: v } = Ko(e), { applyXAxis: w } = Do(e), { applyYAxis: b } = Oo(e), { applyLegend: x } = Bo(e), { applySeries: h } = Ro(e), _ = I(() => {
978
+ const L = {}, U = l.value?.type;
979
+ return i === "page" ? U === "common" ? g(L) : console.assert(!1) : i === "comp" && U === "common" ? g(L) : console.assert(!1), L;
980
980
  }), z = wo("chart");
981
981
  let T;
982
- const G = () => {
982
+ const J = () => {
983
983
  T?.dispose(), T = Ao.init(z.value, s.value ? "dark" : "light");
984
984
  const L = {};
985
985
  T.setOption(L);
986
- }, J = () => {
986
+ }, Y = () => {
987
987
  T?.resize();
988
- }, N = () => {
988
+ }, j = () => {
989
989
  const L = {};
990
- _(L), I(L), b(L), x(L), h(L), T?.setOption(L, !0);
990
+ v(L), w(L), b(L), x(L), h(L), T?.setOption(L, !0);
991
991
  };
992
992
  return Io(async () => {
993
- window.addEventListener("resize", J, !1), await Co(() => !!z.value), G(), N();
994
- }), we(() => {
995
- window.removeEventListener("resize", J, !1), T?.dispose();
993
+ window.addEventListener("resize", Y, !1), await Co(() => !!z.value), J(), j();
994
+ }), Ie(() => {
995
+ window.removeEventListener("resize", Y, !1), T?.dispose();
996
996
  }), pe(
997
997
  [
998
998
  () => o.value.width,
@@ -1005,24 +1005,24 @@ const xr = /* @__PURE__ */ $({
1005
1005
  f
1006
1006
  ],
1007
1007
  async () => {
1008
- await on(), J();
1008
+ await on(), Y();
1009
1009
  }
1010
1010
  ), pe([s], () => {
1011
- G(), N();
1011
+ J(), j();
1012
1012
  }), pe(
1013
1013
  [n],
1014
1014
  () => {
1015
- N();
1015
+ j();
1016
1016
  },
1017
1017
  { deep: !0 }
1018
- ), (L, q) => (k(), C(r(H), {
1018
+ ), (L, U) => (k(), C(r(G), {
1019
1019
  block: "",
1020
1020
  mask: ""
1021
1021
  }, {
1022
1022
  default: V(() => [
1023
1023
  Re("div", {
1024
1024
  ref: "chart",
1025
- style: de(v.value)
1025
+ style: de(_.value)
1026
1026
  }, null, 4)
1027
1027
  ]),
1028
1028
  _: 1
@@ -1036,25 +1036,25 @@ const xr = /* @__PURE__ */ $({
1036
1036
  refContext: {}
1037
1037
  },
1038
1038
  setup(t) {
1039
- const n = t, { node: e } = P(n), o = Fe(), s = Ze(), i = Ie(), l = re(), { width: c, minWidth: m, maxWidth: u, height: d, minHeight: p, maxHeight: f, applySize: g } = be(n, e), { applyTitle: _ } = Ko(e), { applyXAxis: I } = Do(e), { applyYAxis: b } = Oo(e), { applyLegend: x } = Bo(e), { applySeries: h } = Ro(e), v = w(() => {
1040
- const L = {}, q = l.value?.type;
1041
- return i === "page" ? q === "common" ? g(L) : console.assert(!1) : i === "comp" && q === "common" ? g(L) : console.assert(!1), L;
1039
+ const n = t, { node: e } = P(n), o = Fe(), s = Ze(), i = $e(), l = re(), { width: c, minWidth: m, maxWidth: u, height: d, minHeight: p, maxHeight: f, applySize: g } = be(n, e), { applyTitle: v } = Ko(e), { applyXAxis: w } = Do(e), { applyYAxis: b } = Oo(e), { applyLegend: x } = Bo(e), { applySeries: h } = Ro(e), _ = I(() => {
1040
+ const L = {}, U = l.value?.type;
1041
+ return i === "page" ? U === "common" ? g(L) : console.assert(!1) : i === "comp" && U === "common" ? g(L) : console.assert(!1), L;
1042
1042
  }), z = wo("chart");
1043
1043
  let T;
1044
- const G = () => {
1044
+ const J = () => {
1045
1045
  T?.dispose(), T = Ao.init(z.value, s.value ? "dark" : "light");
1046
1046
  const L = {};
1047
1047
  T.setOption(L);
1048
- }, J = () => {
1048
+ }, Y = () => {
1049
1049
  T?.resize();
1050
- }, N = () => {
1050
+ }, j = () => {
1051
1051
  const L = {};
1052
- _(L), I(L), b(L), x(L), h(L), T?.setOption(L, !0);
1052
+ v(L), w(L), b(L), x(L), h(L), T?.setOption(L, !0);
1053
1053
  };
1054
1054
  return Io(async () => {
1055
- window.addEventListener("resize", J, !1), await Co(() => !!z.value), G(), N();
1056
- }), we(() => {
1057
- window.removeEventListener("resize", J, !1), T?.dispose();
1055
+ window.addEventListener("resize", Y, !1), await Co(() => !!z.value), J(), j();
1056
+ }), Ie(() => {
1057
+ window.removeEventListener("resize", Y, !1), T?.dispose();
1058
1058
  }), pe(
1059
1059
  [
1060
1060
  () => o.value.width,
@@ -1067,24 +1067,24 @@ const xr = /* @__PURE__ */ $({
1067
1067
  f
1068
1068
  ],
1069
1069
  async () => {
1070
- await on(), J();
1070
+ await on(), Y();
1071
1071
  }
1072
1072
  ), pe([s], () => {
1073
- G(), N();
1073
+ J(), j();
1074
1074
  }), pe(
1075
1075
  [n],
1076
1076
  () => {
1077
- N();
1077
+ j();
1078
1078
  },
1079
1079
  { deep: !0 }
1080
- ), (L, q) => (k(), C(r(H), {
1080
+ ), (L, U) => (k(), C(r(G), {
1081
1081
  block: "",
1082
1082
  mask: ""
1083
1083
  }, {
1084
1084
  default: V(() => [
1085
1085
  Re("div", {
1086
1086
  ref: "chart",
1087
- style: de(v.value)
1087
+ style: de(_.value)
1088
1088
  }, null, 4)
1089
1089
  ]),
1090
1090
  _: 1
@@ -1098,7 +1098,7 @@ const xr = /* @__PURE__ */ $({
1098
1098
  refContext: {}
1099
1099
  },
1100
1100
  setup(t) {
1101
- const n = t, { node: e } = P(n), { property: o } = a(e, ["settings", "content"]), { property: s } = a(e, ["settings", "dot"]), { theme: i } = U(), { property: l } = a(e, [
1101
+ const n = t, { node: e } = P(n), { property: o } = a(e, ["settings", "content"]), { property: s } = a(e, ["settings", "dot"]), { theme: i } = H(), { property: l } = a(e, [
1102
1102
  "settings",
1103
1103
  "offset",
1104
1104
  "x"
@@ -1109,7 +1109,7 @@ const xr = /* @__PURE__ */ $({
1109
1109
  ]);
1110
1110
  return (m, u) => {
1111
1111
  const d = B("v-badge");
1112
- return k(), C(r(H), null, {
1112
+ return k(), C(r(G), null, {
1113
1113
  default: V(() => [
1114
1114
  D(d, {
1115
1115
  content: r(o),
@@ -1143,25 +1143,25 @@ const xr = /* @__PURE__ */ $({
1143
1143
  ]), { property: i } = a(e, ["settings", "block"]), { property: l } = a(e, ["settings", "color"]), { color: c } = Q(l), { property: m } = a(e, ["settings", "density"]), { property: u } = a(e, [
1144
1144
  "settings",
1145
1145
  "disabled"
1146
- ]), { property: d } = a(e, ["size", "height"]), { property: p } = a(e, ["settings", "loading"]), { property: f } = a(e, ["size", "maxHeight"]), { property: g } = a(e, ["size", "maxWidth"]), { property: _ } = a(e, ["size", "minHeight"]), { property: I } = a(e, ["size", "minWidth"]), { property: b } = a(e, [
1146
+ ]), { property: d } = a(e, ["size", "height"]), { property: p } = a(e, ["settings", "loading"]), { property: f } = a(e, ["size", "maxHeight"]), { property: g } = a(e, ["size", "maxWidth"]), { property: v } = a(e, ["size", "minHeight"]), { property: w } = a(e, ["size", "minWidth"]), { property: b } = a(e, [
1147
1147
  "settings",
1148
1148
  "addIcon",
1149
1149
  "prepend"
1150
1150
  ]), { property: x } = a(e, [
1151
1151
  "settings",
1152
1152
  "readonly"
1153
- ]), { property: h } = a(e, ["settings", "ripple"]), { property: v } = a(e, ["settings", "size"]), { property: z } = a(e, ["settings", "stacked"]), { property: T } = a(e, ["settings", "text"]), { theme: G } = U(), { property: J } = a(e, ["settings", "variant"]), { property: N } = a(e, ["size", "width"]), L = (q) => {
1153
+ ]), { property: h } = a(e, ["settings", "ripple"]), { property: _ } = a(e, ["settings", "size"]), { property: z } = a(e, ["settings", "stacked"]), { property: T } = a(e, ["settings", "text"]), { theme: J } = H(), { property: Y } = a(e, ["settings", "variant"]), { property: j } = a(e, ["size", "width"]), L = (U) => {
1154
1154
  if (!o || !o.vm)
1155
1155
  return;
1156
1156
  const { vm: oe } = o;
1157
- oe.setProp(oe.global, "__pointerPosX__", oe.newNumber(q.clientX)), oe.setProp(oe.global, "__pointerPosY__", oe.newNumber(q.clientY)), o.callFunction(
1157
+ oe.setProp(oe.global, "__pointerPosX__", oe.newNumber(U.clientX)), oe.setProp(oe.global, "__pointerPosY__", oe.newNumber(U.clientY)), o.callFunction(
1158
1158
  "__triggerEventV1__",
1159
1159
  ae("elementEvent", n.nodeId, "click")
1160
1160
  );
1161
1161
  };
1162
- return (q, oe) => {
1162
+ return (U, oe) => {
1163
1163
  const ge = B("v-btn");
1164
- return k(), C(r(H), {
1164
+ return k(), C(r(G), {
1165
1165
  block: r(i),
1166
1166
  mask: ""
1167
1167
  }, {
@@ -1176,17 +1176,17 @@ const xr = /* @__PURE__ */ $({
1176
1176
  loading: r(p),
1177
1177
  "max-height": r(f),
1178
1178
  "max-width": r(g),
1179
- "min-height": r(_),
1180
- "min-width": r(I),
1179
+ "min-height": r(v),
1180
+ "min-width": r(w),
1181
1181
  "prepend-icon": r(b),
1182
1182
  readonly: r(x),
1183
1183
  ripple: r(h),
1184
- size: r(v),
1184
+ size: r(_),
1185
1185
  stacked: r(z),
1186
1186
  text: r(T),
1187
- theme: r(G),
1188
- variant: r(J),
1189
- width: r(N),
1187
+ theme: r(J),
1188
+ variant: r(Y),
1189
+ width: r(j),
1190
1190
  onClick: L
1191
1191
  }, null, 8, ["append-icon", "block", "color", "density", "disabled", "height", "loading", "max-height", "max-width", "min-height", "min-width", "prepend-icon", "readonly", "ripple", "size", "stacked", "text", "theme", "variant", "width"])
1192
1192
  ]),
@@ -1224,8 +1224,8 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
1224
1224
  ]), { property: m } = a(e, [
1225
1225
  "settings",
1226
1226
  "readonly"
1227
- ]), { property: u } = a(e, ["settings", "size"]), { property: d } = a(e, ["settings", "stacked"]), { theme: p } = U(), { property: f } = a(e, ["settings", "tile"]), { property: g } = a(e, ["settings", "variant"]);
1228
- return (_, I) => {
1227
+ ]), { property: u } = a(e, ["settings", "size"]), { property: d } = a(e, ["settings", "stacked"]), { theme: p } = H(), { property: f } = a(e, ["settings", "tile"]), { property: g } = a(e, ["settings", "variant"]);
1228
+ return (v, w) => {
1229
1229
  const b = B("v-btn-toggle");
1230
1230
  return k(), C(b, {
1231
1231
  block: r(o),
@@ -1241,7 +1241,7 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
1241
1241
  variant: r(g)
1242
1242
  }, {
1243
1243
  default: V(() => [
1244
- F(_.$slots, "default")
1244
+ F(v.$slots, "default")
1245
1245
  ]),
1246
1246
  _: 3
1247
1247
  }, 8, ["block", "disabled", "divided", "mandatory", "multiple", "readonly", "size", "stacked", "theme", "tile", "variant"]);
@@ -1261,10 +1261,10 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
1261
1261
  ]), { property: i } = a(e, ["size", "height"]), { property: l } = a(e, ["settings", "hover"]), { property: c } = a(e, ["settings", "loading"]), { property: m } = a(e, ["size", "maxHeight"]), { property: u } = a(e, ["size", "maxWidth"]), { property: d } = a(e, ["size", "minHeight"]), { property: p } = a(e, ["size", "minWidth"]), { property: f } = a(e, [
1262
1262
  "settings",
1263
1263
  "subtitle"
1264
- ]), { property: g } = a(e, ["settings", "text"]), { theme: _ } = U(), { property: I } = a(e, ["settings", "title"]), { property: b } = a(e, ["settings", "variant"]), { property: x } = a(e, ["size", "width"]);
1265
- return (h, v) => {
1264
+ ]), { property: g } = a(e, ["settings", "text"]), { theme: v } = H(), { property: w } = a(e, ["settings", "title"]), { property: b } = a(e, ["settings", "variant"]), { property: x } = a(e, ["size", "width"]);
1265
+ return (h, _) => {
1266
1266
  const z = B("v-card");
1267
- return k(), C(r(H), { block: "" }, {
1267
+ return k(), C(r(G), { block: "" }, {
1268
1268
  default: V(() => [
1269
1269
  D(z, {
1270
1270
  density: r(o),
@@ -1278,8 +1278,8 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
1278
1278
  "min-width": r(p),
1279
1279
  subtitle: r(f),
1280
1280
  text: r(g),
1281
- theme: r(_),
1282
- title: r(I),
1281
+ theme: r(v),
1282
+ title: r(w),
1283
1283
  variant: r(b),
1284
1284
  width: r(x)
1285
1285
  }, {
@@ -1310,7 +1310,7 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
1310
1310
  ]);
1311
1311
  return (i, l) => {
1312
1312
  const c = B("v-checkbox");
1313
- return k(), C(r(H), { mask: "" }, {
1313
+ return k(), C(r(G), { mask: "" }, {
1314
1314
  default: V(() => [
1315
1315
  D(c, {
1316
1316
  disabled: r(o),
@@ -1338,12 +1338,12 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
1338
1338
  ]), { property: m } = a(e, [
1339
1339
  "settings",
1340
1340
  "draggable"
1341
- ]), { property: u } = a(e, ["settings", "filter"]), { property: d } = a(e, ["settings", "label"]), { property: p } = a(e, ["settings", "size"]), { property: f } = a(e, ["settings", "text"]), { theme: g } = U(), { property: _ } = a(e, ["settings", "tile"]), { property: I } = a(e, ["settings", "value"]), { property: b } = a(e, ["settings", "variant"]);
1341
+ ]), { property: u } = a(e, ["settings", "filter"]), { property: d } = a(e, ["settings", "label"]), { property: p } = a(e, ["settings", "size"]), { property: f } = a(e, ["settings", "text"]), { theme: g } = H(), { property: v } = a(e, ["settings", "tile"]), { property: w } = a(e, ["settings", "value"]), { property: b } = a(e, ["settings", "variant"]);
1342
1342
  return (x, h) => {
1343
- const v = B("v-chip");
1344
- return k(), C(r(H), { mask: "" }, {
1343
+ const _ = B("v-chip");
1344
+ return k(), C(r(G), { mask: "" }, {
1345
1345
  default: V(() => [
1346
- D(v, {
1346
+ D(_, {
1347
1347
  closable: r(o),
1348
1348
  color: r(i),
1349
1349
  density: r(l),
@@ -1354,8 +1354,8 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
1354
1354
  size: r(p),
1355
1355
  text: r(f),
1356
1356
  theme: r(g),
1357
- tile: r(_),
1358
- value: r(I),
1357
+ tile: r(v),
1358
+ value: r(w),
1359
1359
  variant: r(b)
1360
1360
  }, null, 8, ["closable", "color", "density", "disabled", "draggable", "filter", "label", "size", "text", "theme", "tile", "value", "variant"])
1361
1361
  ]),
@@ -1386,12 +1386,12 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
1386
1386
  ]), { property: u } = a(e, [
1387
1387
  "settings",
1388
1388
  "showArrows"
1389
- ]), { theme: d } = U(), { property: p } = a(e, ["settings", "value"]);
1389
+ ]), { theme: d } = H(), { property: p } = a(e, ["settings", "value"]);
1390
1390
  return (f, g) => {
1391
- const _ = B("v-chip-group");
1392
- return k(), C(_, {
1391
+ const v = B("v-chip-group");
1392
+ return k(), C(v, {
1393
1393
  modelValue: r(p),
1394
- "onUpdate:modelValue": g[0] || (g[0] = (I) => ne(p) ? p.value = I : null),
1394
+ "onUpdate:modelValue": g[0] || (g[0] = (w) => ne(p) ? p.value = w : null),
1395
1395
  column: r(o),
1396
1396
  direction: r(s),
1397
1397
  disabled: r(i),
@@ -1416,9 +1416,9 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
1416
1416
  refContext: {}
1417
1417
  },
1418
1418
  setup(t) {
1419
- const n = t, { node: e } = P(n), o = Ie(), s = re(), { applySize: i } = be(n, e), l = w(() => {
1420
- const I = {}, b = s.value?.type;
1421
- return o === "page" ? b === "common" ? i(I) : console.assert(!1) : o === "comp" && b === "common" ? i(I) : console.assert(!1), I;
1419
+ const n = t, { node: e } = P(n), o = $e(), s = re(), { applySize: i } = be(n, e), l = I(() => {
1420
+ const w = {}, b = s.value?.type;
1421
+ return o === "page" ? b === "common" ? i(w) : console.assert(!1) : o === "comp" && b === "common" ? i(w) : console.assert(!1), w;
1422
1422
  }), { property: c } = a(e, [
1423
1423
  "settings",
1424
1424
  "disabled"
@@ -1440,10 +1440,10 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
1440
1440
  ]), { property: g } = a(e, [
1441
1441
  "settings",
1442
1442
  "showSwatches"
1443
- ]), { theme: _ } = U();
1444
- return (I, b) => {
1443
+ ]), { theme: v } = H();
1444
+ return (w, b) => {
1445
1445
  const x = B("v-color-picker");
1446
- return k(), C(r(H), { mask: "" }, {
1446
+ return k(), C(r(G), { mask: "" }, {
1447
1447
  default: V(() => [
1448
1448
  D(x, {
1449
1449
  disabled: r(c),
@@ -1454,7 +1454,7 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
1454
1454
  landscape: r(f),
1455
1455
  "show-swatches": r(g),
1456
1456
  style: de(l.value),
1457
- theme: r(_)
1457
+ theme: r(v)
1458
1458
  }, null, 8, ["disabled", "hide-canvas", "hide-header", "hide-inputs", "hide-sliders", "landscape", "show-swatches", "style", "theme"])
1459
1459
  ]),
1460
1460
  _: 1
@@ -1481,10 +1481,10 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
1481
1481
  ]), { property: c } = a(e, [
1482
1482
  "settings",
1483
1483
  "singleLine"
1484
- ]), { theme: m } = U(), { property: u } = a(e, ["settings", "value"]);
1484
+ ]), { theme: m } = H(), { property: u } = a(e, ["settings", "value"]);
1485
1485
  return (d, p) => {
1486
1486
  const f = B("v-combobox");
1487
- return k(), C(r(H), { mask: "" }, {
1487
+ return k(), C(r(G), { mask: "" }, {
1488
1488
  default: V(() => [
1489
1489
  D(f, {
1490
1490
  modelValue: r(u),
@@ -1509,14 +1509,14 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
1509
1509
  refContext: {}
1510
1510
  },
1511
1511
  setup(t) {
1512
- const n = t, { node: e } = P(n), o = Ie(), s = re(), { property: i } = a(e, [
1512
+ const n = t, { node: e } = P(n), o = $e(), s = re(), { property: i } = a(e, [
1513
1513
  "settings",
1514
1514
  "backgroundColor"
1515
- ]), { color: l } = Q(i), { applySize: c } = be(n, e), { applyMargin: m } = mn(e), { applyPadding: u } = pn(e), { applyBorder: d } = un(e), p = w(() => {
1515
+ ]), { color: l } = Q(i), { applySize: c } = be(n, e), { applyMargin: m } = mn(e), { applyPadding: u } = pn(e), { applyBorder: d } = un(e), p = I(() => {
1516
1516
  const f = {}, g = s.value?.type;
1517
1517
  return o === "page" ? g === "common" ? (c(f), m(f), u(f), d(f), l.value && (f.backgroundColor = l.value)) : console.assert(!1) : o === "comp" && g === "common" ? (c(f), m(f), u(f), d(f), l.value && (f.backgroundColor = l.value)) : console.assert(!1), f;
1518
1518
  });
1519
- return (f, g) => (k(), C(r(H), { block: "" }, {
1519
+ return (f, g) => (k(), C(r(G), { block: "" }, {
1520
1520
  default: V(() => [
1521
1521
  Re("div", {
1522
1522
  style: de(p.value)
@@ -1537,10 +1537,10 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
1537
1537
  setup(t) {
1538
1538
  const n = t, e = Z(), o = Qe(), s = ie();
1539
1539
  Le(s);
1540
- const i = w(() => n.refContext.compId);
1540
+ const i = I(() => n.refContext.compId);
1541
1541
  et(i, s), le(e) && tt(s, "slot", "", "", _e());
1542
1542
  function l(m) {
1543
- const u = ke[m.key];
1543
+ const u = we[m.key];
1544
1544
  if (!u) {
1545
1545
  console.assert(!1, `element not found key=${m.key}`);
1546
1546
  return;
@@ -1597,10 +1597,10 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
1597
1597
  ]), { property: l } = a(e, ["settings", "headers"]), { property: c } = a(e, ["size", "height"]), { property: m } = a(e, ["settings", "hover"]), { property: u } = a(e, ["settings", "data"], !0), { property: d } = a(e, ["settings", "loading"]), { property: p } = a(e, [
1598
1598
  "settings",
1599
1599
  "multiSort"
1600
- ]), { theme: f } = U(), { property: g } = a(e, ["size", "width"]), { property: _ } = a(e, ["slots", "columns"]);
1601
- return (I, b) => {
1600
+ ]), { theme: f } = H(), { property: g } = a(e, ["size", "width"]), { property: v } = a(e, ["slots", "columns"]);
1601
+ return (w, b) => {
1602
1602
  const x = B("v-data-table");
1603
- return k(), C(r(H), {
1603
+ return k(), C(r(G), {
1604
1604
  block: "",
1605
1605
  mask: ""
1606
1606
  }, {
@@ -1618,14 +1618,14 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
1618
1618
  theme: r(f),
1619
1619
  width: r(g)
1620
1620
  }, sn({ _: 2 }, [
1621
- oi(r(_), ({ key: h, comp: v }) => ({
1621
+ oi(r(v), ({ key: h, comp: _ }) => ({
1622
1622
  name: `item.${h}`,
1623
1623
  fn: V(({ value: z }) => [
1624
1624
  D(Wr, {
1625
1625
  "node-id": n.nodeId,
1626
1626
  "ref-context": {
1627
1627
  parent: n.refContext,
1628
- compId: v
1628
+ compId: _
1629
1629
  },
1630
1630
  value: z
1631
1631
  }, null, 8, ["node-id", "ref-context", "value"])
@@ -1642,7 +1642,7 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
1642
1642
  setup(t) {
1643
1643
  return (n, e) => {
1644
1644
  const o = B("v-date-picker");
1645
- return k(), C(r(H), { mask: "" }, {
1645
+ return k(), C(r(G), { mask: "" }, {
1646
1646
  default: V(() => [
1647
1647
  D(o)
1648
1648
  ]),
@@ -1707,14 +1707,14 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
1707
1707
  "settings",
1708
1708
  "singleLine"
1709
1709
  ]);
1710
- return (g, _) => {
1711
- const I = B("v-file-input");
1712
- return k(), C(r(H), {
1710
+ return (g, v) => {
1711
+ const w = B("v-file-input");
1712
+ return k(), C(r(G), {
1713
1713
  block: "",
1714
1714
  mask: ""
1715
1715
  }, {
1716
1716
  default: V(() => [
1717
- D(I, {
1717
+ D(w, {
1718
1718
  chips: r(o),
1719
1719
  density: r(s),
1720
1720
  direction: r(i),
@@ -1739,27 +1739,27 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
1739
1739
  refContext: {}
1740
1740
  },
1741
1741
  setup(t) {
1742
- const n = t, { node: e } = P(n), o = Fe(), s = Ie(), i = re(), { applySize: l } = be(n, e), { applyMargin: c } = mn(e), { applyPadding: m } = pn(e), { applyBorder: u } = un(e), { property: d } = a(e, [
1742
+ const n = t, { node: e } = P(n), o = Fe(), s = $e(), i = re(), { applySize: l } = be(n, e), { applyMargin: c } = mn(e), { applyPadding: m } = pn(e), { applyBorder: u } = un(e), { property: d } = a(e, [
1743
1743
  "settings",
1744
1744
  "backgroundColor"
1745
- ]), { color: p } = Q(d), f = (_) => {
1746
- p.value && (_.backgroundColor = p.value), _.display = "flex";
1747
- const I = ut(o.value.width), b = Ne(I, e.value.settings?.direction);
1748
- b === "row" ? _.flexDirection = "row" : b === "rowReverse" ? _.flexDirection = "row-reverse" : b === "column" ? _.flexDirection = "column" : b === "columnReverse" && (_.flexDirection = "column-reverse");
1749
- const x = Ne(I, e.value.settings?.wrap);
1750
- x === "no" ? _.flexWrap = "nowrap" : x === "yes" ? _.flexWrap = "wrap" : x === "reverse" && (_.flexWrap = "wrap-reverse");
1751
- const h = Ne(I, e.value.settings?.mainAlign);
1752
- h === "start" ? _.justifyContent = "flex-start" : h === "end" ? _.justifyContent = "flex-end" : h === "center" ? _.justifyContent = "center" : h === "spaceBetween" ? _.justifyContent = "space-between" : h === "spaceAround" ? _.justifyContent = "space-around" : h === "spaceEvenly" && (_.justifyContent = "space-evenly");
1753
- const v = Ne(I, e.value.settings?.crossAlign);
1754
- v === "start" ? _.alignItems = "flex-start" : v === "end" ? _.alignItems = "flex-end" : v === "center" ? _.alignItems = "center" : v === "baseline" ? _.alignItems = "baseline" : v === "stretch" && (_.alignItems = "stretch");
1755
- }, g = w(() => {
1756
- const _ = {}, I = i.value?.type;
1757
- return s === "page" ? I === "common" ? (l(_), c(_), m(_), u(_), f(_)) : console.assert(!1) : s === "comp" && I === "common" ? (l(_), c(_), m(_), u(_), f(_)) : console.assert(!1), _;
1745
+ ]), { color: p } = Q(d), f = (v) => {
1746
+ p.value && (v.backgroundColor = p.value), v.display = "flex";
1747
+ const w = ut(o.value.width), b = Ne(w, e.value.settings?.direction);
1748
+ b === "row" ? v.flexDirection = "row" : b === "rowReverse" ? v.flexDirection = "row-reverse" : b === "column" ? v.flexDirection = "column" : b === "columnReverse" && (v.flexDirection = "column-reverse");
1749
+ const x = Ne(w, e.value.settings?.wrap);
1750
+ x === "no" ? v.flexWrap = "nowrap" : x === "yes" ? v.flexWrap = "wrap" : x === "reverse" && (v.flexWrap = "wrap-reverse");
1751
+ const h = Ne(w, e.value.settings?.mainAlign);
1752
+ h === "start" ? v.justifyContent = "flex-start" : h === "end" ? v.justifyContent = "flex-end" : h === "center" ? v.justifyContent = "center" : h === "spaceBetween" ? v.justifyContent = "space-between" : h === "spaceAround" ? v.justifyContent = "space-around" : h === "spaceEvenly" && (v.justifyContent = "space-evenly");
1753
+ const _ = Ne(w, e.value.settings?.crossAlign);
1754
+ _ === "start" ? v.alignItems = "flex-start" : _ === "end" ? v.alignItems = "flex-end" : _ === "center" ? v.alignItems = "center" : _ === "baseline" ? v.alignItems = "baseline" : _ === "stretch" && (v.alignItems = "stretch");
1755
+ }, g = I(() => {
1756
+ const v = {}, w = i.value?.type;
1757
+ return s === "page" ? w === "common" ? (l(v), c(v), m(v), u(v), f(v)) : console.assert(!1) : s === "comp" && w === "common" ? (l(v), c(v), m(v), u(v), f(v)) : console.assert(!1), v;
1758
1758
  });
1759
- return (_, I) => (k(), te("div", {
1759
+ return (v, w) => (k(), te("div", {
1760
1760
  style: de(g.value)
1761
1761
  }, [
1762
- F(_.$slots, "default")
1762
+ F(v.$slots, "default")
1763
1763
  ], 4));
1764
1764
  }
1765
1765
  }), Nr = /* @__PURE__ */ $({
@@ -1770,7 +1770,7 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
1770
1770
  refContext: {}
1771
1771
  },
1772
1772
  setup(t) {
1773
- const n = t, { node: e } = P(n), o = Ie(), s = re(), { applySize: i } = be(n, e), { property: l } = a(e, ["settings", "grow"]), { property: c } = a(e, ["settings", "shrink"]), m = w(() => {
1773
+ const n = t, { node: e } = P(n), o = $e(), s = re(), { applySize: i } = be(n, e), { property: l } = a(e, ["settings", "grow"]), { property: c } = a(e, ["settings", "shrink"]), m = I(() => {
1774
1774
  const u = {}, d = s.value?.type;
1775
1775
  return o === "page" ? d === "common" ? (i(u), u.flexGrow = l.value ? 1 : 0, u.flexShrink = c.value ? 1 : 0) : console.assert(!1) : o === "comp" && d === "common" ? (i(u), u.flexGrow = l.value ? 1 : 0, u.flexShrink = c.value ? 1 : 0) : console.assert(!1), u;
1776
1776
  });
@@ -1788,16 +1788,16 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
1788
1788
  refContext: {}
1789
1789
  },
1790
1790
  setup(t) {
1791
- const n = t, { node: e } = P(n), o = Ie(), s = re(), i = _e(), { property: l } = a(e, ["settings", "valid"]), { property: c } = a(e, [
1791
+ const n = t, { node: e } = P(n), o = $e(), s = re(), i = _e(), { property: l } = a(e, ["settings", "valid"]), { property: c } = a(e, [
1792
1792
  "settings",
1793
1793
  "fastFail"
1794
1794
  ]), { property: m } = a(e, [
1795
1795
  "settings",
1796
1796
  "backgroundColor"
1797
- ]), { color: u } = Q(m), { applySize: d } = be(n, e), { applyMargin: p } = mn(e), { applyPadding: f } = pn(e), { applyBorder: g } = un(e), _ = w(() => {
1797
+ ]), { color: u } = Q(m), { applySize: d } = be(n, e), { applyMargin: p } = mn(e), { applyPadding: f } = pn(e), { applyBorder: g } = un(e), v = I(() => {
1798
1798
  const b = {}, x = s.value?.type;
1799
1799
  return o === "page" ? x === "common" ? (d(b), p(b), f(b), g(b), u.value && (b.backgroundColor = u.value)) : console.assert(!1) : o === "comp" && x === "common" ? (d(b), p(b), f(b), g(b), u.value && (b.backgroundColor = u.value)) : console.assert(!1), b;
1800
- }), I = () => {
1800
+ }), w = () => {
1801
1801
  i && i.callFunction(
1802
1802
  "__triggerEventV1__",
1803
1803
  ae("elementEvent", n.nodeId, "submit")
@@ -1807,10 +1807,10 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
1807
1807
  const h = B("v-form");
1808
1808
  return k(), C(h, {
1809
1809
  modelValue: r(l),
1810
- "onUpdate:modelValue": x[0] || (x[0] = (v) => ne(l) ? l.value = v : null),
1810
+ "onUpdate:modelValue": x[0] || (x[0] = (_) => ne(l) ? l.value = _ : null),
1811
1811
  "fast-fail": r(c),
1812
- style: de(_.value),
1813
- onSubmit: ii(I, ["prevent"])
1812
+ style: de(v.value),
1813
+ onSubmit: ii(w, ["prevent"])
1814
1814
  }, {
1815
1815
  default: V(() => [
1816
1816
  F(b.$slots, "default")
@@ -1830,7 +1830,7 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
1830
1830
  const n = t, { node: e } = P(n), { property: o } = a(e, ["settings", "color"]), { color: s } = Q(o), { property: i } = a(e, [
1831
1831
  "settings",
1832
1832
  "disabled"
1833
- ]), { property: l } = a(e, ["settings", "icon"]), { property: c } = a(e, ["settings", "size"]), { theme: m } = U();
1833
+ ]), { property: l } = a(e, ["settings", "icon"]), { property: c } = a(e, ["settings", "size"]), { theme: m } = H();
1834
1834
  return (u, d) => {
1835
1835
  const p = B("v-icon");
1836
1836
  return k(), C(p, {
@@ -1850,7 +1850,7 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
1850
1850
  refContext: {}
1851
1851
  },
1852
1852
  setup(t) {
1853
- const n = t, e = Z(), o = _e(), s = ie(0), i = ie(0), l = w(() => [s.value, i.value]), { open: c } = Vo(`runtimeMenu/${$o()}`);
1853
+ const n = t, e = Z(), o = _e(), s = ie(0), i = ie(0), l = I(() => [s.value, i.value]), { open: c } = Vo(`runtimeMenu/${$o()}`);
1854
1854
  return mt(n.nodeId, "open", () => {
1855
1855
  if (!o || !o.vm)
1856
1856
  return;
@@ -1906,10 +1906,10 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
1906
1906
  ]), { property: c } = a(e, ["settings", "label"]), { property: m } = a(e, ["settings", "loading"]), { property: u } = a(e, ["settings", "max"]), { property: d } = a(e, ["size", "maxWidth"]), { property: p } = a(e, ["settings", "min"]), { property: f } = a(e, ["size", "minWidth"]), { property: g } = a(e, [
1907
1907
  "settings",
1908
1908
  "placeholder"
1909
- ]), { property: _ } = a(e, [
1909
+ ]), { property: v } = a(e, [
1910
1910
  "settings",
1911
1911
  "precision"
1912
- ]), { property: I } = a(e, ["settings", "prefix"]), { property: b } = a(e, [
1912
+ ]), { property: w } = a(e, ["settings", "prefix"]), { property: b } = a(e, [
1913
1913
  "settings",
1914
1914
  "addIcon",
1915
1915
  "prepend"
@@ -1920,20 +1920,20 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
1920
1920
  ]), { property: h } = a(e, [
1921
1921
  "settings",
1922
1922
  "readonly"
1923
- ]), { property: v } = a(e, ["settings", "reverse"]), { property: z } = a(e, [
1923
+ ]), { property: _ } = a(e, ["settings", "reverse"]), { property: z } = a(e, [
1924
1924
  "settings",
1925
1925
  "singleLine"
1926
- ]), { property: T } = a(e, ["settings", "step"]), { property: G } = a(e, ["settings", "suffix"]), { theme: J } = U(), { property: N } = a(e, ["settings", "value"]), { property: L } = a(e, ["settings", "variant"]), { property: q } = a(e, ["size", "width"]);
1926
+ ]), { property: T } = a(e, ["settings", "step"]), { property: J } = a(e, ["settings", "suffix"]), { theme: Y } = H(), { property: j } = a(e, ["settings", "value"]), { property: L } = a(e, ["settings", "variant"]), { property: U } = a(e, ["size", "width"]);
1927
1927
  return (oe, ge) => {
1928
1928
  const ze = B("v-number-input");
1929
- return k(), C(r(H), {
1929
+ return k(), C(r(G), {
1930
1930
  block: "",
1931
1931
  mask: ""
1932
1932
  }, {
1933
1933
  default: V(() => [
1934
1934
  D(ze, {
1935
- modelValue: r(N),
1936
- "onUpdate:modelValue": ge[0] || (ge[0] = (ve) => ne(N) ? N.value = ve : null),
1935
+ modelValue: r(j),
1936
+ "onUpdate:modelValue": ge[0] || (ge[0] = (xe) => ne(j) ? j.value = xe : null),
1937
1937
  "append-icon": r(o),
1938
1938
  "append-inner-icon": r(s),
1939
1939
  clearable: r(i),
@@ -1945,18 +1945,18 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
1945
1945
  min: r(p),
1946
1946
  "min-width": r(f),
1947
1947
  placeholder: r(g),
1948
- precision: r(_),
1949
- prefix: r(I),
1948
+ precision: r(v),
1949
+ prefix: r(w),
1950
1950
  "prepend-icon": r(b),
1951
1951
  "prepend-inner-icon": r(x),
1952
1952
  readonly: r(h),
1953
- reverse: r(v),
1953
+ reverse: r(_),
1954
1954
  "single-line": r(z),
1955
1955
  step: r(T),
1956
- suffix: r(G),
1957
- theme: r(J),
1956
+ suffix: r(J),
1957
+ theme: r(Y),
1958
1958
  variant: r(L),
1959
- width: r(q)
1959
+ width: r(U)
1960
1960
  }, null, 8, ["modelValue", "append-icon", "append-inner-icon", "clearable", "hide-details", "label", "loading", "max", "max-width", "min", "min-width", "placeholder", "precision", "prefix", "prepend-icon", "prepend-inner-icon", "readonly", "reverse", "single-line", "step", "suffix", "theme", "variant", "width"])
1961
1961
  ]),
1962
1962
  _: 1
@@ -1977,13 +1977,13 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
1977
1977
  ]), { property: l } = a(e, ["settings", "length"]), { property: c } = a(e, [
1978
1978
  "settings",
1979
1979
  "showFirstLastPage"
1980
- ]), { property: m } = a(e, ["settings", "size"]), { property: u } = a(e, ["settings", "start"]), { theme: d } = U(), { property: p } = a(e, ["settings", "tile"]), { property: f } = a(e, ["settings", "value"]), { property: g } = a(e, ["settings", "variant"]), _ = w(() => {
1981
- const I = {};
1982
- return o === "editor" && (I.pointerEvents = "none"), I;
1980
+ ]), { property: m } = a(e, ["settings", "size"]), { property: u } = a(e, ["settings", "start"]), { theme: d } = H(), { property: p } = a(e, ["settings", "tile"]), { property: f } = a(e, ["settings", "value"]), { property: g } = a(e, ["settings", "variant"]), v = I(() => {
1981
+ const w = {};
1982
+ return o === "editor" && (w.pointerEvents = "none"), w;
1983
1983
  });
1984
- return (I, b) => {
1984
+ return (w, b) => {
1985
1985
  const x = B("v-pagination");
1986
- return k(), C(r(H), {
1986
+ return k(), C(r(G), {
1987
1987
  block: "",
1988
1988
  mask: ""
1989
1989
  }, {
@@ -1997,7 +1997,7 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
1997
1997
  "show-first-last-page": r(c),
1998
1998
  size: r(m),
1999
1999
  start: r(u),
2000
- style: de(_.value),
2000
+ style: de(v.value),
2001
2001
  theme: r(d),
2002
2002
  tile: r(p),
2003
2003
  variant: r(g)
@@ -2021,7 +2021,7 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
2021
2021
  ]), { property: c } = a(e, ["settings", "label"]), { property: m } = a(e, [
2022
2022
  "settings",
2023
2023
  "readonly"
2024
- ]), { theme: u } = U(), { property: d } = a(e, ["settings", "value"]);
2024
+ ]), { theme: u } = H(), { property: d } = a(e, ["settings", "value"]);
2025
2025
  return (p, f) => {
2026
2026
  const g = B("v-radio");
2027
2027
  return k(), C(g, {
@@ -2052,10 +2052,10 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
2052
2052
  ]), { property: l } = a(e, ["settings", "inline"]), { property: c } = a(e, [
2053
2053
  "settings",
2054
2054
  "readonly"
2055
- ]), { theme: m } = U(), { property: u } = a(e, ["settings", "value"]);
2055
+ ]), { theme: m } = H(), { property: u } = a(e, ["settings", "value"]);
2056
2056
  return (d, p) => {
2057
2057
  const f = B("v-radio-group");
2058
- return k(), C(r(H), null, {
2058
+ return k(), C(r(G), null, {
2059
2059
  default: V(() => [
2060
2060
  D(f, {
2061
2061
  modelValue: r(u),
@@ -2100,30 +2100,30 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
2100
2100
  ]), { property: p } = a(e, [
2101
2101
  "settings",
2102
2102
  "showTicks"
2103
- ]), f = w(() => {
2103
+ ]), f = I(() => {
2104
2104
  if (p.value === "always")
2105
2105
  return "always";
2106
2106
  if (p.value === "show")
2107
2107
  return !0;
2108
- }), { property: g } = a(e, ["settings", "step"]), { theme: _ } = U(), { property: I } = a(e, [
2108
+ }), { property: g } = a(e, ["settings", "step"]), { theme: v } = H(), { property: w } = a(e, [
2109
2109
  "settings",
2110
2110
  "thumbLabel"
2111
- ]), b = w(() => {
2112
- if (I.value === "always")
2111
+ ]), b = I(() => {
2112
+ if (w.value === "always")
2113
2113
  return "always";
2114
- if (I.value === "show")
2114
+ if (w.value === "show")
2115
2115
  return !0;
2116
2116
  }), { property: x } = a(e, [
2117
2117
  "settings",
2118
2118
  "thumbSize"
2119
- ]), { property: h } = a(e, ["settings", "ticks"]), v = w(() => {
2119
+ ]), { property: h } = a(e, ["settings", "ticks"]), _ = I(() => {
2120
2120
  if (!h.value)
2121
2121
  return;
2122
- const N = {};
2123
- for (const { value: L, label: q } of h.value)
2124
- N[L] = q;
2125
- if (!Mo(N))
2126
- return N;
2122
+ const j = {};
2123
+ for (const { value: L, label: U } of h.value)
2124
+ j[L] = U;
2125
+ if (!Mo(j))
2126
+ return j;
2127
2127
  }), { property: z } = a(e, [
2128
2128
  "settings",
2129
2129
  "tickSize"
@@ -2131,26 +2131,26 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
2131
2131
  "settings",
2132
2132
  "value",
2133
2133
  "start"
2134
- ]), { property: G } = a(e, [
2134
+ ]), { property: J } = a(e, [
2135
2135
  "settings",
2136
2136
  "value",
2137
2137
  "end"
2138
- ]), J = w({
2139
- get: () => [T.value, G.value],
2140
- set: ([N, L]) => {
2141
- T.value = N, G.value = L;
2138
+ ]), Y = I({
2139
+ get: () => [T.value, J.value],
2140
+ set: ([j, L]) => {
2141
+ T.value = j, J.value = L;
2142
2142
  }
2143
2143
  });
2144
- return (N, L) => {
2145
- const q = B("v-range-slider");
2146
- return k(), C(r(H), {
2144
+ return (j, L) => {
2145
+ const U = B("v-range-slider");
2146
+ return k(), C(r(G), {
2147
2147
  block: "",
2148
2148
  mask: ""
2149
2149
  }, {
2150
2150
  default: V(() => [
2151
- D(q, {
2152
- modelValue: J.value,
2153
- "onUpdate:modelValue": L[0] || (L[0] = (oe) => J.value = oe),
2151
+ D(U, {
2152
+ modelValue: Y.value,
2153
+ "onUpdate:modelValue": L[0] || (L[0] = (oe) => Y.value = oe),
2154
2154
  density: r(o),
2155
2155
  direction: r(s),
2156
2156
  disabled: r(i),
@@ -2161,11 +2161,11 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
2161
2161
  readonly: r(d),
2162
2162
  "show-ticks": f.value,
2163
2163
  step: r(g),
2164
- theme: r(_),
2164
+ theme: r(v),
2165
2165
  "thumb-label": b.value,
2166
2166
  "thumb-size": r(x),
2167
2167
  "tick-size": r(z),
2168
- ticks: v.value
2168
+ ticks: _.value
2169
2169
  }, null, 8, ["modelValue", "density", "direction", "disabled", "hide-details", "label", "max", "min", "readonly", "show-ticks", "step", "theme", "thumb-label", "thumb-size", "tick-size", "ticks"])
2170
2170
  ]),
2171
2171
  _: 1
@@ -2192,14 +2192,14 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
2192
2192
  ]), { property: c } = a(e, ["settings", "hover"]), { property: m } = a(e, ["settings", "length"]), { property: u } = a(e, [
2193
2193
  "settings",
2194
2194
  "readonly"
2195
- ]), { theme: d } = U(), { property: p } = a(e, ["settings", "value"]);
2195
+ ]), { theme: d } = H(), { property: p } = a(e, ["settings", "value"]);
2196
2196
  return (f, g) => {
2197
- const _ = B("v-rating");
2198
- return k(), C(r(H), { mask: "" }, {
2197
+ const v = B("v-rating");
2198
+ return k(), C(r(G), { mask: "" }, {
2199
2199
  default: V(() => [
2200
- D(_, {
2200
+ D(v, {
2201
2201
  modelValue: r(p),
2202
- "onUpdate:modelValue": g[0] || (g[0] = (I) => ne(p) ? p.value = I : null),
2202
+ "onUpdate:modelValue": g[0] || (g[0] = (w) => ne(p) ? p.value = w : null),
2203
2203
  clearable: r(o),
2204
2204
  density: r(s),
2205
2205
  disabled: r(i),
@@ -2234,10 +2234,10 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
2234
2234
  ]), { property: c } = a(e, [
2235
2235
  "settings",
2236
2236
  "singleLine"
2237
- ]), { theme: m } = U(), { property: u } = a(e, ["settings", "value"]);
2237
+ ]), { theme: m } = H(), { property: u } = a(e, ["settings", "value"]);
2238
2238
  return (d, p) => {
2239
2239
  const f = B("v-select");
2240
- return k(), C(r(H), {
2240
+ return k(), C(r(G), {
2241
2241
  block: "",
2242
2242
  mask: ""
2243
2243
  }, {
@@ -2280,43 +2280,43 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
2280
2280
  ]), { property: f } = a(e, ["settings", "reverse"]), { property: g } = a(e, [
2281
2281
  "settings",
2282
2282
  "showTicks"
2283
- ]), _ = w(() => {
2283
+ ]), v = I(() => {
2284
2284
  if (g.value === "always")
2285
2285
  return "always";
2286
2286
  if (g.value === "show")
2287
2287
  return !0;
2288
- }), { property: I } = a(e, ["settings", "step"]), { theme: b } = U(), { property: x } = a(e, [
2288
+ }), { property: w } = a(e, ["settings", "step"]), { theme: b } = H(), { property: x } = a(e, [
2289
2289
  "settings",
2290
2290
  "thumbColor"
2291
- ]), { color: h } = Q(x), { property: v } = a(e, [
2291
+ ]), { color: h } = Q(x), { property: _ } = a(e, [
2292
2292
  "settings",
2293
2293
  "thumbLabel"
2294
- ]), z = w(() => {
2295
- if (v.value === "always")
2294
+ ]), z = I(() => {
2295
+ if (_.value === "always")
2296
2296
  return "always";
2297
- if (v.value === "show")
2297
+ if (_.value === "show")
2298
2298
  return !0;
2299
2299
  }), { property: T } = a(e, [
2300
2300
  "settings",
2301
2301
  "thumbSize"
2302
- ]), { property: G } = a(e, ["settings", "ticks"]), J = w(() => {
2303
- if (!G.value)
2302
+ ]), { property: J } = a(e, ["settings", "ticks"]), Y = I(() => {
2303
+ if (!J.value)
2304
2304
  return;
2305
- const ve = {};
2306
- for (const { value: nt, label: kt } of G.value)
2307
- ve[nt] = kt;
2308
- if (!Mo(ve))
2309
- return ve;
2310
- }), { property: N } = a(e, [
2305
+ const xe = {};
2306
+ for (const { value: nt, label: kt } of J.value)
2307
+ xe[nt] = kt;
2308
+ if (!Mo(xe))
2309
+ return xe;
2310
+ }), { property: j } = a(e, [
2311
2311
  "settings",
2312
2312
  "tickSize"
2313
2313
  ]), { property: L } = a(e, [
2314
2314
  "settings",
2315
2315
  "trackColor"
2316
- ]), { color: q } = Q(L), { property: oe } = a(e, ["settings", "value"]), { property: ge } = a(e, ["slots", "append"]), { property: ze } = a(e, ["slots", "prepend"]);
2317
- return (ve, nt) => {
2316
+ ]), { color: U } = Q(L), { property: oe } = a(e, ["settings", "value"]), { property: ge } = a(e, ["slots", "append"]), { property: ze } = a(e, ["slots", "prepend"]);
2317
+ return (xe, nt) => {
2318
2318
  const kt = B("v-slider");
2319
- return k(), C(r(H), {
2319
+ return k(), C(r(G), {
2320
2320
  block: "",
2321
2321
  mask: ""
2322
2322
  }, {
@@ -2333,15 +2333,15 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
2333
2333
  min: r(d),
2334
2334
  readonly: r(p),
2335
2335
  reverse: r(f),
2336
- "show-ticks": _.value,
2337
- step: r(I),
2336
+ "show-ticks": v.value,
2337
+ step: r(w),
2338
2338
  theme: r(b),
2339
2339
  "thumb-color": r(h),
2340
2340
  "thumb-label": z.value,
2341
2341
  "thumb-size": r(T),
2342
- "tick-size": r(N),
2343
- ticks: J.value,
2344
- "track-color": r(q)
2342
+ "tick-size": r(j),
2343
+ ticks: Y.value,
2344
+ "track-color": r(U)
2345
2345
  }, sn({ _: 2 }, [
2346
2346
  r(ge) ? {
2347
2347
  name: "append",
@@ -2382,7 +2382,7 @@ const Cr = /* @__PURE__ */ De($r, [["render", Sr]]), Vr = /* @__PURE__ */ $({
2382
2382
  const n = t, { node: e } = P(n), { property: o } = a(e, [
2383
2383
  "settings",
2384
2384
  "hideActions"
2385
- ]), { theme: s } = U(), { property: i } = a(e, ["settings", "value"]);
2385
+ ]), { theme: s } = H(), { property: i } = a(e, ["settings", "value"]);
2386
2386
  return (l, c) => {
2387
2387
  const m = B("v-stepper");
2388
2388
  return k(), C(m, {
@@ -2476,14 +2476,14 @@ const cl = /* @__PURE__ */ De(ll, [["render", al]]), ul = /* @__PURE__ */ $({
2476
2476
  ]), { property: c } = a(e, [
2477
2477
  "settings",
2478
2478
  "indeterminate"
2479
- ]), { property: m } = a(e, ["settings", "inline"]), { property: u } = a(e, ["settings", "inset"]), { property: d } = a(e, ["settings", "label"]), { property: p } = a(e, ["settings", "loading"]), { theme: f } = U(), { property: g } = a(e, ["settings", "value"]);
2480
- return (_, I) => {
2479
+ ]), { property: m } = a(e, ["settings", "inline"]), { property: u } = a(e, ["settings", "inset"]), { property: d } = a(e, ["settings", "label"]), { property: p } = a(e, ["settings", "loading"]), { theme: f } = H(), { property: g } = a(e, ["settings", "value"]);
2480
+ return (v, w) => {
2481
2481
  const b = B("v-switch");
2482
- return k(), C(r(H), { mask: "" }, {
2482
+ return k(), C(r(G), { mask: "" }, {
2483
2483
  default: V(() => [
2484
2484
  D(b, {
2485
2485
  modelValue: r(g),
2486
- "onUpdate:modelValue": I[0] || (I[0] = (x) => ne(g) ? g.value = x : null),
2486
+ "onUpdate:modelValue": w[0] || (w[0] = (x) => ne(g) ? g.value = x : null),
2487
2487
  density: r(o),
2488
2488
  direction: r(s),
2489
2489
  disabled: r(i),
@@ -2508,13 +2508,13 @@ const cl = /* @__PURE__ */ De(ll, [["render", al]]), ul = /* @__PURE__ */ $({
2508
2508
  refContext: {}
2509
2509
  },
2510
2510
  setup(t) {
2511
- const n = t, { node: e } = P(n), o = Z(), { property: s } = a(e, ["settings", "text"]), { theme: i } = U(), { property: l } = a(e, ["settings", "value"]), c = w(() => {
2511
+ const n = t, { node: e } = P(n), o = Z(), { property: s } = a(e, ["settings", "text"]), { theme: i } = H(), { property: l } = a(e, ["settings", "value"]), c = I(() => {
2512
2512
  const m = {};
2513
2513
  return o === "editor" && (m.pointerEvents = "none"), m;
2514
2514
  });
2515
2515
  return (m, u) => {
2516
2516
  const d = B("v-tab");
2517
- return k(), C(r(H), { mask: "" }, {
2517
+ return k(), C(r(G), { mask: "" }, {
2518
2518
  default: V(() => [
2519
2519
  D(d, {
2520
2520
  style: de(c.value),
@@ -2558,10 +2558,10 @@ const cl = /* @__PURE__ */ De(ll, [["render", al]]), ul = /* @__PURE__ */ $({
2558
2558
  ]), { property: f } = a(e, [
2559
2559
  "settings",
2560
2560
  "fixedTabs"
2561
- ]), { property: g } = a(e, ["settings", "grow"]), { property: _ } = a(e, [
2561
+ ]), { property: g } = a(e, ["settings", "grow"]), { property: v } = a(e, [
2562
2562
  "settings",
2563
2563
  "hideSlider"
2564
- ]), { property: I } = a(e, ["settings", "items"]), { property: b } = a(e, [
2564
+ ]), { property: w } = a(e, ["settings", "items"]), { property: b } = a(e, [
2565
2565
  "settings",
2566
2566
  "mandatory"
2567
2567
  ]), { property: x } = a(e, [
@@ -2571,17 +2571,17 @@ const cl = /* @__PURE__ */ De(ll, [["render", al]]), ul = /* @__PURE__ */ $({
2571
2571
  "settings",
2572
2572
  "color",
2573
2573
  "sliderColor"
2574
- ]), { color: v } = Q(h), { property: z } = a(e, ["settings", "stacked"]), { theme: T } = U(), { property: G } = a(e, ["settings", "value"]);
2575
- return (J, N) => {
2574
+ ]), { color: _ } = Q(h), { property: z } = a(e, ["settings", "stacked"]), { theme: T } = H(), { property: J } = a(e, ["settings", "value"]);
2575
+ return (Y, j) => {
2576
2576
  const L = B("v-tabs");
2577
- return k(), C(r(H), {
2577
+ return k(), C(r(G), {
2578
2578
  block: "",
2579
2579
  mask: ""
2580
2580
  }, {
2581
2581
  default: V(() => [
2582
2582
  D(L, {
2583
- modelValue: r(G),
2584
- "onUpdate:modelValue": N[0] || (N[0] = (q) => ne(G) ? G.value = q : null),
2583
+ modelValue: r(J),
2584
+ "onUpdate:modelValue": j[0] || (j[0] = (U) => ne(J) ? J.value = U : null),
2585
2585
  "align-tabs": r(o),
2586
2586
  "bg-color": r(i),
2587
2587
  "center-active": r(l),
@@ -2591,16 +2591,16 @@ const cl = /* @__PURE__ */ De(ll, [["render", al]]), ul = /* @__PURE__ */ $({
2591
2591
  disabled: r(p),
2592
2592
  "fixed-tabs": r(f),
2593
2593
  grow: r(g),
2594
- "hide-slider": r(_),
2595
- items: r(I),
2594
+ "hide-slider": r(v),
2595
+ items: r(w),
2596
2596
  mandatory: r(b),
2597
2597
  "show-arrows": r(x),
2598
- "slider-color": r(v),
2598
+ "slider-color": r(_),
2599
2599
  stacked: r(z),
2600
2600
  theme: r(T)
2601
2601
  }, {
2602
2602
  default: V(() => [
2603
- F(J.$slots, "default")
2603
+ F(Y.$slots, "default")
2604
2604
  ]),
2605
2605
  _: 3
2606
2606
  }, 8, ["modelValue", "align-tabs", "bg-color", "center-active", "color", "density", "direction", "disabled", "fixed-tabs", "grow", "hide-slider", "items", "mandatory", "show-arrows", "slider-color", "stacked", "theme"])
@@ -2623,11 +2623,11 @@ const cl = /* @__PURE__ */ De(ll, [["render", al]]), ul = /* @__PURE__ */ $({
2623
2623
  ]), { property: l } = a(e, [
2624
2624
  "settings",
2625
2625
  "emphasis"
2626
- ]), { property: c } = a(e, ["settings", "italic"]), { property: m } = a(e, ["settings", "text"]), { property: u } = a(e, ["settings", "weight"]), d = w(() => {
2626
+ ]), { property: c } = a(e, ["settings", "italic"]), { property: m } = a(e, ["settings", "text"]), { property: u } = a(e, ["settings", "weight"]), d = I(() => {
2627
2627
  const p = [], f = ut(o.value.width), g = Ne(f, e.value.settings?.style);
2628
2628
  return g && p.push(`text-${g}`), l.value === "high" ? p.push("text-high-emphasis") : l.value === "medium" ? p.push("text-medium-emphasis") : l.value === "disabled" && p.push("text-disabled"), s.value && p.push(`font-${s.value}`), i.value && p.push(`text-decoration-${i.value}`), u.value && p.push(`font-weight-${u.value}`), c.value && p.push("font-italic"), p.join(" ");
2629
2629
  });
2630
- return (p, f) => (k(), C(r(H), { mask: "" }, {
2630
+ return (p, f) => (k(), C(r(G), { mask: "" }, {
2631
2631
  default: V(() => [
2632
2632
  Re("span", {
2633
2633
  class: si(d.value)
@@ -2659,20 +2659,20 @@ const cl = /* @__PURE__ */ De(ll, [["render", al]]), ul = /* @__PURE__ */ $({
2659
2659
  ]), { property: p } = a(e, [
2660
2660
  "settings",
2661
2661
  "readonly"
2662
- ]), { property: f } = a(e, ["settings", "reverse"]), { property: g } = a(e, ["settings", "rows"]), { property: _ } = a(e, [
2662
+ ]), { property: f } = a(e, ["settings", "reverse"]), { property: g } = a(e, ["settings", "rows"]), { property: v } = a(e, [
2663
2663
  "settings",
2664
2664
  "singleLine"
2665
- ]), { theme: I } = U(), { property: b } = a(e, ["settings", "value"]), { property: x } = a(e, ["settings", "variant"]);
2666
- return (h, v) => {
2665
+ ]), { theme: w } = H(), { property: b } = a(e, ["settings", "value"]), { property: x } = a(e, ["settings", "variant"]);
2666
+ return (h, _) => {
2667
2667
  const z = B("v-textarea");
2668
- return k(), C(r(H), {
2668
+ return k(), C(r(G), {
2669
2669
  block: "",
2670
2670
  mask: ""
2671
2671
  }, {
2672
2672
  default: V(() => [
2673
2673
  D(z, {
2674
2674
  modelValue: r(b),
2675
- "onUpdate:modelValue": v[0] || (v[0] = (T) => ne(b) ? b.value = T : null),
2675
+ "onUpdate:modelValue": _[0] || (_[0] = (T) => ne(b) ? b.value = T : null),
2676
2676
  "auto-grow": r(o),
2677
2677
  clearable: r(s),
2678
2678
  density: r(i),
@@ -2684,8 +2684,8 @@ const cl = /* @__PURE__ */ De(ll, [["render", al]]), ul = /* @__PURE__ */ $({
2684
2684
  readonly: r(p),
2685
2685
  reverse: r(f),
2686
2686
  rows: r(g),
2687
- "single-line": r(_),
2688
- theme: r(I),
2687
+ "single-line": r(v),
2688
+ theme: r(w),
2689
2689
  variant: r(x)
2690
2690
  }, null, 8, ["modelValue", "auto-grow", "clearable", "density", "disabled", "label", "loading", "max-rows", "placeholder", "readonly", "reverse", "rows", "single-line", "theme", "variant"])
2691
2691
  ]),
@@ -2722,10 +2722,10 @@ const cl = /* @__PURE__ */ De(ll, [["render", al]]), ul = /* @__PURE__ */ $({
2722
2722
  ]), { property: d } = a(e, ["settings", "label"]), { property: p } = a(e, ["settings", "loading"]), { property: f } = a(e, [
2723
2723
  "settings",
2724
2724
  "placeholder"
2725
- ]), { property: g } = a(e, ["settings", "prefix"]), { property: _ } = a(e, [
2725
+ ]), { property: g } = a(e, ["settings", "prefix"]), { property: v } = a(e, [
2726
2726
  "settings",
2727
2727
  "prependIcon"
2728
- ]), { property: I } = a(e, [
2728
+ ]), { property: w } = a(e, [
2729
2729
  "settings",
2730
2730
  "prependInnerIcon"
2731
2731
  ]), { property: b } = a(e, [
@@ -2734,23 +2734,23 @@ const cl = /* @__PURE__ */ De(ll, [["render", al]]), ul = /* @__PURE__ */ $({
2734
2734
  ]), { property: x } = a(e, ["settings", "reverse"]), { property: h } = a(e, [
2735
2735
  "settings",
2736
2736
  "singleLine"
2737
- ]), { property: v } = a(e, ["settings", "suffix"]), { theme: z } = U(), { property: T } = a(e, ["settings", "value"]), { property: G } = a(e, ["settings", "variant"]), { property: J } = a(e, ["slots", "append"]), { property: N } = a(e, [
2737
+ ]), { property: _ } = a(e, ["settings", "suffix"]), { theme: z } = H(), { property: T } = a(e, ["settings", "value"]), { property: J } = a(e, ["settings", "variant"]), { property: Y } = a(e, ["slots", "append"]), { property: j } = a(e, [
2738
2738
  "slots",
2739
2739
  "appendInner"
2740
- ]), { property: L } = a(e, ["slots", "prepend"]), { property: q } = a(e, [
2740
+ ]), { property: L } = a(e, ["slots", "prepend"]), { property: U } = a(e, [
2741
2741
  "slots",
2742
2742
  "prependInner"
2743
2743
  ]);
2744
2744
  return (oe, ge) => {
2745
2745
  const ze = B("v-text-field");
2746
- return k(), C(r(H), {
2746
+ return k(), C(r(G), {
2747
2747
  block: "",
2748
2748
  mask: ""
2749
2749
  }, {
2750
2750
  default: V(() => [
2751
2751
  D(ze, {
2752
2752
  modelValue: r(T),
2753
- "onUpdate:modelValue": ge[0] || (ge[0] = (ve) => ne(T) ? T.value = ve : null),
2753
+ "onUpdate:modelValue": ge[0] || (ge[0] = (xe) => ne(T) ? T.value = xe : null),
2754
2754
  "append-icon": r(o),
2755
2755
  "append-inner-icon": r(s),
2756
2756
  autofocus: r(i),
@@ -2762,32 +2762,32 @@ const cl = /* @__PURE__ */ De(ll, [["render", al]]), ul = /* @__PURE__ */ $({
2762
2762
  loading: r(p),
2763
2763
  placeholder: r(f),
2764
2764
  prefix: r(g),
2765
- "prepend-icon": r(_),
2766
- "prepend-inner-icon": r(I),
2765
+ "prepend-icon": r(v),
2766
+ "prepend-inner-icon": r(w),
2767
2767
  readonly: r(b),
2768
2768
  reverse: r(x),
2769
2769
  "single-line": r(h),
2770
- suffix: r(v),
2770
+ suffix: r(_),
2771
2771
  theme: r(z),
2772
- variant: r(G)
2772
+ variant: r(J)
2773
2773
  }, sn({ _: 2 }, [
2774
- r(J) ? {
2774
+ r(Y) ? {
2775
2775
  name: "append",
2776
2776
  fn: V(() => [
2777
2777
  D(r(Ve), {
2778
2778
  "node-id": "append",
2779
- "ref-context": { compId: r(J) },
2779
+ "ref-context": { compId: r(Y) },
2780
2780
  state: {}
2781
2781
  }, null, 8, ["ref-context"])
2782
2782
  ]),
2783
2783
  key: "0"
2784
2784
  } : void 0,
2785
- r(N) ? {
2785
+ r(j) ? {
2786
2786
  name: "append-inner",
2787
2787
  fn: V(() => [
2788
2788
  D(r(Ve), {
2789
2789
  "node-id": "append-inner",
2790
- "ref-context": { compId: r(N) },
2790
+ "ref-context": { compId: r(j) },
2791
2791
  state: {}
2792
2792
  }, null, 8, ["ref-context"])
2793
2793
  ]),
@@ -2804,12 +2804,12 @@ const cl = /* @__PURE__ */ De(ll, [["render", al]]), ul = /* @__PURE__ */ $({
2804
2804
  ]),
2805
2805
  key: "2"
2806
2806
  } : void 0,
2807
- r(q) ? {
2807
+ r(U) ? {
2808
2808
  name: "prepend-inner",
2809
2809
  fn: V(() => [
2810
2810
  D(r(Ve), {
2811
2811
  "node-id": "prepend-inner",
2812
- "ref-context": { compId: r(q) },
2812
+ "ref-context": { compId: r(U) },
2813
2813
  state: {}
2814
2814
  }, null, 8, ["ref-context"])
2815
2815
  ]),
@@ -2855,14 +2855,14 @@ const cl = /* @__PURE__ */ De(ll, [["render", al]]), ul = /* @__PURE__ */ $({
2855
2855
  "settings",
2856
2856
  "line",
2857
2857
  "thickness"
2858
- ]), { property: _ } = a(e, ["settings", "side"]), { property: I } = a(e, [
2858
+ ]), { property: v } = a(e, ["settings", "side"]), { property: w } = a(e, [
2859
2859
  "settings",
2860
2860
  "line",
2861
2861
  "truncate"
2862
- ]), { theme: b } = U();
2862
+ ]), { theme: b } = H();
2863
2863
  return (x, h) => {
2864
- const v = B("v-timeline");
2865
- return k(), C(v, {
2864
+ const _ = B("v-timeline");
2865
+ return k(), C(_, {
2866
2866
  align: r(o),
2867
2867
  density: r(s),
2868
2868
  direction: r(i),
@@ -2872,9 +2872,9 @@ const cl = /* @__PURE__ */ De(ll, [["render", al]]), ul = /* @__PURE__ */ $({
2872
2872
  "line-color": r(p),
2873
2873
  "line-inset": r(f),
2874
2874
  "line-thickness": r(g),
2875
- side: r(_),
2875
+ side: r(v),
2876
2876
  theme: r(b),
2877
- "truncate-line": r(I)
2877
+ "truncate-line": r(w)
2878
2878
  }, {
2879
2879
  default: V(() => [
2880
2880
  F(x.$slots, "default")
@@ -2913,12 +2913,12 @@ const vl = /* @__PURE__ */ De(hl, [["render", _l]]), xl = /* @__PURE__ */ $({
2913
2913
  ]), { property: l } = a(e, ["settings", "reverse"]), { property: c } = a(e, [
2914
2914
  "settings",
2915
2915
  "showArrows"
2916
- ]), { property: m } = a(e, ["settings", "touch"]), { theme: u } = U(), { property: d } = a(e, ["settings", "value"]);
2916
+ ]), { property: m } = a(e, ["settings", "touch"]), { theme: u } = H(), { property: d } = a(e, ["settings", "value"]);
2917
2917
  return (p, f) => {
2918
2918
  const g = B("v-window");
2919
2919
  return k(), C(g, {
2920
2920
  modelValue: r(d),
2921
- "onUpdate:modelValue": f[0] || (f[0] = (_) => ne(d) ? d.value = _ : null),
2921
+ "onUpdate:modelValue": f[0] || (f[0] = (v) => ne(d) ? d.value = v : null),
2922
2922
  continuous: r(o),
2923
2923
  direction: r(i),
2924
2924
  disabled: r(s),
@@ -2953,13 +2953,13 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
2953
2953
  instance: {}
2954
2954
  },
2955
2955
  setup(t) {
2956
- console.log(`<element/${t.nodeId}/multiple_ref_v1/${t.instance}> created`), we(() => {
2956
+ console.log(`<element/${t.nodeId}/multiple_ref_v1/${t.instance}> created`), Ie(() => {
2957
2957
  console.log(`<element/${t.nodeId}/multiple_ref_v1/${t.instance}> destroyed`);
2958
2958
  });
2959
- const n = Z(), e = re(), o = w(() => O(e.value));
2959
+ const n = Z(), e = re(), o = I(() => O(e.value));
2960
2960
  Le(o), le(n) && tt(o, "multipleSlot", t.nodeId, t.instance, _e());
2961
2961
  const s = (l) => {
2962
- const c = ke[l.key];
2962
+ const c = we[l.key];
2963
2963
  if (!c) {
2964
2964
  console.assert(!1, `element not found key=${l.key}`);
2965
2965
  return;
@@ -3033,23 +3033,23 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
3033
3033
  setup(t) {
3034
3034
  const n = bt(), e = t, { node: o } = P(e), s = Qe(), i = re(), l = ie();
3035
3035
  Le(l);
3036
- const c = w(() => e.refContext?.compId);
3036
+ const c = I(() => e.refContext?.compId);
3037
3037
  et(c, l);
3038
- const { applySize: m } = be(e, o), u = w(() => {
3038
+ const { applySize: m } = be(e, o), u = I(() => {
3039
3039
  const h = {};
3040
3040
  return l.value?.type === "common" && m(h), h;
3041
- }), { position: d, rotation: p, scale: f } = ue(o), { property: g } = a(o, ["instances"]), _ = (h, v) => {
3042
- h.findIndex((z) => z === v) >= 0 || h.push(v);
3043
- }, I = w(() => {
3041
+ }), { position: d, rotation: p, scale: f } = ue(o), { property: g } = a(o, ["instances"]), v = (h, _) => {
3042
+ h.findIndex((z) => z === _) >= 0 || h.push(_);
3043
+ }, w = I(() => {
3044
3044
  const h = [];
3045
3045
  if (!Array.isArray(g.value))
3046
3046
  return h;
3047
- for (const v of g.value)
3048
- typeof v == "string" && v && _(h, v);
3047
+ for (const _ of g.value)
3048
+ typeof _ == "string" && _ && v(h, _);
3049
3049
  return h;
3050
- }), b = (h, v) => K($l, {
3050
+ }), b = (h, _) => K($l, {
3051
3051
  key: h,
3052
- subtype: v,
3052
+ subtype: _,
3053
3053
  nodeId: e.nodeId,
3054
3054
  refContext: e.refContext,
3055
3055
  instance: h
@@ -3086,8 +3086,8 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
3086
3086
  console.assert(!1, "subtype not match");
3087
3087
  return;
3088
3088
  }
3089
- const v = l.value.type;
3090
- if (v === "common")
3089
+ const _ = l.value.type;
3090
+ if (_ === "common")
3091
3091
  return K(
3092
3092
  "div",
3093
3093
  {
@@ -3095,10 +3095,10 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
3095
3095
  style: u.value
3096
3096
  },
3097
3097
  {
3098
- default: () => I.value.map((z) => b(z, v))
3098
+ default: () => w.value.map((z) => b(z, _))
3099
3099
  }
3100
3100
  );
3101
- if (v === "scene")
3101
+ if (_ === "scene")
3102
3102
  return K(
3103
3103
  ce,
3104
3104
  {
@@ -3108,11 +3108,11 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
3108
3108
  scale: f.value
3109
3109
  },
3110
3110
  {
3111
- default: () => I.value.map((z) => b(z, v))
3111
+ default: () => w.value.map((z) => b(z, _))
3112
3112
  }
3113
3113
  );
3114
3114
  };
3115
- return (h, v) => (k(), C(x));
3115
+ return (h, _) => (k(), C(x));
3116
3116
  }
3117
3117
  }), Pl = /* @__PURE__ */ $({
3118
3118
  __name: "entry",
@@ -3123,13 +3123,13 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
3123
3123
  instance: {}
3124
3124
  },
3125
3125
  setup(t) {
3126
- console.log(`<element/${t.nodeId}/multiple_slot_v1/${t.instance}> created`), we(() => {
3126
+ console.log(`<element/${t.nodeId}/multiple_slot_v1/${t.instance}> created`), Ie(() => {
3127
3127
  console.log(`<element/${t.nodeId}/multiple_slot_v1/${t.instance}> destroyed`);
3128
3128
  });
3129
- const n = Z(), e = re(), o = w(() => O(e.value));
3129
+ const n = Z(), e = re(), o = I(() => O(e.value));
3130
3130
  Le(o), le(n) && tt(o, "multipleSlot", t.nodeId, t.instance, _e());
3131
3131
  const s = (l) => {
3132
- const c = ke[l.key];
3132
+ const c = we[l.key];
3133
3133
  if (!c) {
3134
3134
  console.assert(!1, `element not found key=${l.key}`);
3135
3135
  return;
@@ -3175,23 +3175,23 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
3175
3175
  setup(t) {
3176
3176
  const n = bt(), e = t, { node: o } = P(e), s = Qe(), i = re(), l = ie();
3177
3177
  Le(l);
3178
- const c = w(() => e.refContext?.compId);
3178
+ const c = I(() => e.refContext?.compId);
3179
3179
  et(c, l);
3180
- const { applySize: m } = be(e, o), u = w(() => {
3180
+ const { applySize: m } = be(e, o), u = I(() => {
3181
3181
  const h = {};
3182
3182
  return l.value?.type === "common" && m(h), h;
3183
- }), { position: d, rotation: p, scale: f } = ue(o), { property: g } = a(o, ["instances"]), _ = (h, v) => {
3184
- h.findIndex((z) => z === v) >= 0 || h.push(v);
3185
- }, I = w(() => {
3183
+ }), { position: d, rotation: p, scale: f } = ue(o), { property: g } = a(o, ["instances"]), v = (h, _) => {
3184
+ h.findIndex((z) => z === _) >= 0 || h.push(_);
3185
+ }, w = I(() => {
3186
3186
  const h = [];
3187
3187
  if (!Array.isArray(g.value))
3188
3188
  return h;
3189
- for (const v of g.value)
3190
- typeof v == "string" && v && _(h, v);
3189
+ for (const _ of g.value)
3190
+ typeof _ == "string" && _ && v(h, _);
3191
3191
  return h;
3192
- }), b = (h, v) => K(Pl, {
3192
+ }), b = (h, _) => K(Pl, {
3193
3193
  key: h,
3194
- subtype: v,
3194
+ subtype: _,
3195
3195
  nodeId: e.nodeId,
3196
3196
  refContext: e.refContext,
3197
3197
  instance: h
@@ -3228,8 +3228,8 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
3228
3228
  console.assert(!1, "subtype not match");
3229
3229
  return;
3230
3230
  }
3231
- const v = l.value.type;
3232
- if (v === "common")
3231
+ const _ = l.value.type;
3232
+ if (_ === "common")
3233
3233
  return K(
3234
3234
  "div",
3235
3235
  {
@@ -3237,10 +3237,10 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
3237
3237
  style: u.value
3238
3238
  },
3239
3239
  {
3240
- default: () => I.value.map((z) => b(z, v))
3240
+ default: () => w.value.map((z) => b(z, _))
3241
3241
  }
3242
3242
  );
3243
- if (v === "scene")
3243
+ if (_ === "scene")
3244
3244
  return K(
3245
3245
  ce,
3246
3246
  {
@@ -3250,11 +3250,11 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
3250
3250
  scale: f.value
3251
3251
  },
3252
3252
  {
3253
- default: () => I.value.map((z) => b(z, v))
3253
+ default: () => w.value.map((z) => b(z, _))
3254
3254
  }
3255
3255
  );
3256
3256
  };
3257
- return (h, v) => (k(), C(x));
3257
+ return (h, _) => (k(), C(x));
3258
3258
  }
3259
3259
  }), zl = /* @__PURE__ */ $({
3260
3260
  __name: "index",
@@ -3266,13 +3266,13 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
3266
3266
  setup(t) {
3267
3267
  const n = bt(), e = t, { node: o } = P(e), s = Z(), i = Qe(), l = re(), c = ie();
3268
3268
  Le(c);
3269
- const m = w(() => e.refContext?.compId);
3269
+ const m = I(() => e.refContext?.compId);
3270
3270
  et(m, c), le(s) && tt(c, "ref", e.nodeId, "", _e());
3271
- const { applySize: u } = be(e, o), d = w(() => {
3271
+ const { applySize: u } = be(e, o), d = I(() => {
3272
3272
  const b = {};
3273
3273
  return l.value?.type === "common" && u(b), b;
3274
- }), { position: p, rotation: f, scale: g } = ue(o), _ = (b) => {
3275
- const x = ke[b.key];
3274
+ }), { position: p, rotation: f, scale: g } = ue(o), v = (b) => {
3275
+ const x = we[b.key];
3276
3276
  if (!x) {
3277
3277
  console.assert(!1, `element not found key=${b.key}`);
3278
3278
  return;
@@ -3292,11 +3292,11 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
3292
3292
  {
3293
3293
  default: () => {
3294
3294
  if (!x.leaf)
3295
- return b.children?.map((v) => _(v));
3295
+ return b.children?.map((_) => v(_));
3296
3296
  }
3297
3297
  }
3298
3298
  );
3299
- }, I = () => {
3299
+ }, w = () => {
3300
3300
  if (!e.refContext) {
3301
3301
  console.assert(!1, "invalid of ref context");
3302
3302
  return;
@@ -3338,7 +3338,7 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
3338
3338
  style: d.value
3339
3339
  },
3340
3340
  {
3341
- default: () => c.value?.view.nodeLites.map((h) => _(h))
3341
+ default: () => c.value?.view.nodeLites.map((h) => v(h))
3342
3342
  }
3343
3343
  );
3344
3344
  if (x === "scene")
@@ -3351,11 +3351,11 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
3351
3351
  scale: g.value
3352
3352
  },
3353
3353
  {
3354
- default: () => c.value?.view.nodeLites.map((h) => _(h))
3354
+ default: () => c.value?.view.nodeLites.map((h) => v(h))
3355
3355
  }
3356
3356
  );
3357
3357
  };
3358
- return (b, x) => (k(), C(I));
3358
+ return (b, x) => (k(), C(w));
3359
3359
  }
3360
3360
  }), Tl = /* @__PURE__ */ $({
3361
3361
  __name: "index",
@@ -3366,7 +3366,7 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
3366
3366
  },
3367
3367
  setup(t) {
3368
3368
  const n = t, { node: e } = P(n), { property: o } = a(e, ["settings", "open"]);
3369
- return (s, i) => (k(), C(r(H), null, {
3369
+ return (s, i) => (k(), C(r(G), null, {
3370
3370
  default: V(() => [
3371
3371
  r(o) ? F(s.$slots, "default", { key: 0 }) : se("", !0)
3372
3372
  ]),
@@ -3383,14 +3383,14 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
3383
3383
  setup(t) {
3384
3384
  const n = bt(), e = t, { node: o } = P(e), s = Z(), i = Qe(), l = re(), c = ie();
3385
3385
  Le(c);
3386
- const m = w(() => e.refContext?.compId);
3386
+ const m = I(() => e.refContext?.compId);
3387
3387
  et(m, c), le(s) && tt(c, "slot", e.nodeId, "", _e());
3388
- const { applySize: u } = be(e, o), d = w(() => {
3388
+ const { applySize: u } = be(e, o), d = I(() => {
3389
3389
  const b = {};
3390
3390
  return c.value?.type === "common" && u(b), b;
3391
3391
  }), { position: p, rotation: f, scale: g } = ue(o);
3392
- function _(b) {
3393
- const x = ke[b.key];
3392
+ function v(b) {
3393
+ const x = we[b.key];
3394
3394
  if (!x) {
3395
3395
  console.assert(!1, `element not found key=${b.key}`);
3396
3396
  return;
@@ -3410,12 +3410,12 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
3410
3410
  {
3411
3411
  default: () => {
3412
3412
  if (!x.leaf)
3413
- return b.children?.map((v) => _(v));
3413
+ return b.children?.map((_) => v(_));
3414
3414
  }
3415
3415
  }
3416
3416
  );
3417
3417
  }
3418
- const I = () => {
3418
+ const w = () => {
3419
3419
  if (!e.refContext) {
3420
3420
  console.assert(!1, "invalid of ref context");
3421
3421
  return;
@@ -3457,7 +3457,7 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
3457
3457
  style: d.value
3458
3458
  },
3459
3459
  {
3460
- default: () => c.value?.view.nodeLites.map((h) => _(h))
3460
+ default: () => c.value?.view.nodeLites.map((h) => v(h))
3461
3461
  }
3462
3462
  );
3463
3463
  if (x === "scene")
@@ -3470,11 +3470,11 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
3470
3470
  scale: g.value
3471
3471
  },
3472
3472
  {
3473
- default: () => c.value?.view.nodeLites.map((h) => _(h))
3473
+ default: () => c.value?.view.nodeLites.map((h) => v(h))
3474
3474
  }
3475
3475
  );
3476
3476
  };
3477
- return (b, x) => (k(), C(I));
3477
+ return (b, x) => (k(), C(w));
3478
3478
  }
3479
3479
  }), y = {
3480
3480
  key: "basic",
@@ -3683,7 +3683,7 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
3683
3683
  default: ""
3684
3684
  }
3685
3685
  ]
3686
- }, X = {
3686
+ }, q = {
3687
3687
  key: "size",
3688
3688
  name: "x-runtime-lib.size",
3689
3689
  children: [
@@ -3753,7 +3753,7 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
3753
3753
  default: ""
3754
3754
  }
3755
3755
  ]
3756
- }, Y = {
3756
+ }, X = {
3757
3757
  key: "transform",
3758
3758
  name: "x-runtime-lib.transform",
3759
3759
  children: [
@@ -3905,8 +3905,8 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
3905
3905
  defaultArray: []
3906
3906
  }
3907
3907
  ]
3908
- }, ke = {}, S = (t) => {
3909
- ke[t.key] = t;
3908
+ }, we = {}, S = (t) => {
3909
+ we[t.key] = t;
3910
3910
  }, $n = {
3911
3911
  key: "settings",
3912
3912
  name: "x-runtime-lib.settings",
@@ -3959,8 +3959,8 @@ const Il = /* @__PURE__ */ De(kl, [["render", wl]]), $l = /* @__PURE__ */ $({
3959
3959
  name: "x-runtime-lib.orthographicCamera",
3960
3960
  comp: ji,
3961
3961
  properties: {
3962
- pageScene: [y, Y, $n],
3963
- compScene: [y, Y, $n]
3962
+ pageScene: [y, X, $n],
3963
+ compScene: [y, X, $n]
3964
3964
  },
3965
3965
  events: [],
3966
3966
  methods: [],
@@ -4005,8 +4005,8 @@ const Sn = {
4005
4005
  name: "x-runtime-lib.perspectiveCamera",
4006
4006
  comp: Hi,
4007
4007
  properties: {
4008
- pageScene: [y, Y, Sn],
4009
- compScene: [y, Y, Sn]
4008
+ pageScene: [y, X, Sn],
4009
+ compScene: [y, X, Sn]
4010
4010
  },
4011
4011
  events: [],
4012
4012
  methods: [],
@@ -4388,8 +4388,8 @@ const Pn = {
4388
4388
  name: "x-runtime-lib.ambientLight",
4389
4389
  comp: ts,
4390
4390
  properties: {
4391
- pageScene: [y, Y, Pn],
4392
- compScene: [y, Y, Pn]
4391
+ pageScene: [y, X, Pn],
4392
+ compScene: [y, X, Pn]
4393
4393
  },
4394
4394
  events: [],
4395
4395
  methods: [],
@@ -4418,8 +4418,8 @@ const Ln = {
4418
4418
  name: "x-runtime-lib.directionalLight",
4419
4419
  comp: os,
4420
4420
  properties: {
4421
- pageScene: [y, Y, Ln],
4422
- compScene: [y, Y, Ln]
4421
+ pageScene: [y, X, Ln],
4422
+ compScene: [y, X, Ln]
4423
4423
  },
4424
4424
  events: [],
4425
4425
  methods: [],
@@ -4462,8 +4462,8 @@ const zn = {
4462
4462
  name: "x-runtime-lib.pointLight",
4463
4463
  comp: ss,
4464
4464
  properties: {
4465
- pageScene: [y, Y, zn],
4466
- compScene: [y, Y, zn]
4465
+ pageScene: [y, X, zn],
4466
+ compScene: [y, X, zn]
4467
4467
  },
4468
4468
  events: [],
4469
4469
  methods: [],
@@ -4523,8 +4523,8 @@ const Tn = {
4523
4523
  name: "x-runtime-lib.spotLight",
4524
4524
  comp: ls,
4525
4525
  properties: {
4526
- pageScene: [y, Y, Tn],
4527
- compScene: [y, Y, Tn]
4526
+ pageScene: [y, X, Tn],
4527
+ compScene: [y, X, Tn]
4528
4528
  },
4529
4529
  events: [],
4530
4530
  methods: [],
@@ -4550,8 +4550,8 @@ const ql = {
4550
4550
  name: "x-runtime-lib.group",
4551
4551
  comp: ps,
4552
4552
  properties: {
4553
- pageScene: [y, Y],
4554
- compScene: [y, Y]
4553
+ pageScene: [y, X],
4554
+ compScene: [y, X]
4555
4555
  },
4556
4556
  events: [],
4557
4557
  methods: [],
@@ -4563,8 +4563,8 @@ const He = {
4563
4563
  name: "x-runtime-lib.mesh",
4564
4564
  comp: fs,
4565
4565
  properties: {
4566
- pageScene: [y, Y],
4567
- compScene: [y, Y]
4566
+ pageScene: [y, X],
4567
+ compScene: [y, X]
4568
4568
  },
4569
4569
  events: [],
4570
4570
  methods: [],
@@ -4621,8 +4621,8 @@ const En = {
4621
4621
  name: "x-runtime-lib.barChart",
4622
4622
  comp: xr,
4623
4623
  properties: {
4624
- pageCommon: [y, X, dt, ft, yt, pt, En],
4625
- compCommon: [y, X, dt, ft, yt, pt, En]
4624
+ pageCommon: [y, q, dt, ft, yt, pt, En],
4625
+ compCommon: [y, q, dt, ft, yt, pt, En]
4626
4626
  },
4627
4627
  leaf: !0,
4628
4628
  spawn: Xl
@@ -4678,8 +4678,8 @@ const An = {
4678
4678
  name: "x-runtime-lib.lineChart",
4679
4679
  comp: kr,
4680
4680
  properties: {
4681
- pageCommon: [y, X, dt, ft, yt, pt, An],
4682
- compCommon: [y, X, dt, ft, yt, pt, An]
4681
+ pageCommon: [y, q, dt, ft, yt, pt, An],
4682
+ compCommon: [y, q, dt, ft, yt, pt, An]
4683
4683
  },
4684
4684
  leaf: !0,
4685
4685
  spawn: Yl
@@ -4841,8 +4841,8 @@ const ea = O(ee), Wn = {
4841
4841
  name: "x-runtime-lib.button",
4842
4842
  comp: Ir,
4843
4843
  properties: {
4844
- pageCommon: [y, X, Wn],
4845
- compCommon: [y, X, Wn]
4844
+ pageCommon: [y, q, Wn],
4845
+ compCommon: [y, q, Wn]
4846
4846
  },
4847
4847
  events: [
4848
4848
  {
@@ -5014,8 +5014,8 @@ const Rn = {
5014
5014
  name: "x-runtime-lib.card",
5015
5015
  comp: Pr,
5016
5016
  properties: {
5017
- pageCommon: [y, X, Rn],
5018
- compCommon: [y, X, Rn]
5017
+ pageCommon: [y, q, Rn],
5018
+ compCommon: [y, q, Rn]
5019
5019
  },
5020
5020
  spawn: oa
5021
5021
  };
@@ -5327,8 +5327,8 @@ const Nn = {
5327
5327
  name: "x-runtime-lib.container",
5328
5328
  comp: Mr,
5329
5329
  properties: {
5330
- pageCommon: [y, X, Ae, Me, We, Nn],
5331
- compCommon: [y, X, Ae, Me, We, Nn]
5330
+ pageCommon: [y, q, Ae, Me, We, Nn],
5331
+ compCommon: [y, q, Ae, Me, We, Nn]
5332
5332
  },
5333
5333
  events: [
5334
5334
  {
@@ -5568,8 +5568,8 @@ const Jn = {
5568
5568
  name: "x-runtime-lib.flexLayoutEntry",
5569
5569
  comp: Nr,
5570
5570
  properties: {
5571
- pageCommon: [y, X, Un],
5572
- compCommon: [y, X, Un]
5571
+ pageCommon: [y, q, Un],
5572
+ compCommon: [y, q, Un]
5573
5573
  }
5574
5574
  };
5575
5575
  S(Rt);
@@ -5849,8 +5849,8 @@ const qn = {
5849
5849
  name: "x-runtime-lib.flexLayout",
5850
5850
  comp: Fr,
5851
5851
  properties: {
5852
- pageCommon: [y, X, Ae, Me, We, qn],
5853
- compCommon: [y, X, Ae, Me, We, qn]
5852
+ pageCommon: [y, q, Ae, Me, We, qn],
5853
+ compCommon: [y, q, Ae, Me, We, qn]
5854
5854
  },
5855
5855
  events: [
5856
5856
  {
@@ -6106,8 +6106,8 @@ const Zn = {
6106
6106
  name: "x-runtime-lib.form",
6107
6107
  comp: jr,
6108
6108
  properties: {
6109
- pageCommon: [y, X, Ae, Me, We, Zn],
6110
- compCommon: [y, X, Ae, Me, We, Zn]
6109
+ pageCommon: [y, q, Ae, Me, We, Zn],
6110
+ compCommon: [y, q, Ae, Me, We, Zn]
6111
6111
  },
6112
6112
  events: [
6113
6113
  {
@@ -7982,10 +7982,10 @@ const ot = {
7982
7982
  name: "x-runtime-lib.multipleRef",
7983
7983
  comp: Vl,
7984
7984
  properties: {
7985
- pageCommon: [y, X, ot, it],
7986
- compCommon: [y, X, ot, it],
7987
- pageScene: [y, Y, ot, it],
7988
- compScene: [y, Y, ot, it]
7985
+ pageCommon: [y, q, ot, it],
7986
+ compCommon: [y, q, ot, it],
7987
+ pageScene: [y, X, ot, it],
7988
+ compScene: [y, X, ot, it]
7989
7989
  },
7990
7990
  leaf: !0
7991
7991
  };
@@ -8019,10 +8019,10 @@ const st = {
8019
8019
  name: "x-runtime-lib.multipleSlot",
8020
8020
  comp: Ll,
8021
8021
  properties: {
8022
- pageCommon: [y, X, st, rt],
8023
- compCommon: [y, X, st, rt],
8024
- pageScene: [y, Y, st, rt],
8025
- compScene: [y, Y, st, rt]
8022
+ pageCommon: [y, q, st, rt],
8023
+ compCommon: [y, q, st, rt],
8024
+ pageScene: [y, X, st, rt],
8025
+ compScene: [y, X, st, rt]
8026
8026
  },
8027
8027
  leaf: !0
8028
8028
  };
@@ -8043,10 +8043,10 @@ const lt = {
8043
8043
  name: "x-runtime-lib.reference",
8044
8044
  comp: zl,
8045
8045
  properties: {
8046
- pageCommon: [y, X, lt],
8047
- compCommon: [y, X, lt],
8048
- pageScene: [y, Y, lt],
8049
- compScene: [y, Y, lt]
8046
+ pageCommon: [y, q, lt],
8047
+ compCommon: [y, q, lt],
8048
+ pageScene: [y, X, lt],
8049
+ compScene: [y, X, lt]
8050
8050
  },
8051
8051
  leaf: !0
8052
8052
  };
@@ -8094,10 +8094,10 @@ const at = {
8094
8094
  name: "x-runtime-lib.slot",
8095
8095
  comp: Ve,
8096
8096
  properties: {
8097
- pageCommon: [y, X, at],
8098
- compCommon: [y, X, at],
8099
- pageScene: [y, Y, at],
8100
- compScene: [y, Y, at]
8097
+ pageCommon: [y, q, at],
8098
+ compCommon: [y, q, at],
8099
+ pageScene: [y, X, at],
8100
+ compScene: [y, X, at]
8101
8101
  },
8102
8102
  leaf: !0
8103
8103
  };
@@ -8944,7 +8944,7 @@ function Vu(t, n, e, o, s) {
8944
8944
  console.error(`spawnNode [ref] element not found in pkg, ${i}`);
8945
8945
  return;
8946
8946
  }
8947
- const d = ke[m];
8947
+ const d = we[m];
8948
8948
  if (!d) {
8949
8949
  console.error(`spawnNode [ref] element not found in global, ${i}`);
8950
8950
  return;
@@ -8967,7 +8967,7 @@ function Vu(t, n, e, o, s) {
8967
8967
  console.error(`spawnNode [key] element not found in pkg, ${i}`);
8968
8968
  return;
8969
8969
  }
8970
- const u = ke[m];
8970
+ const u = we[m];
8971
8971
  if (!u) {
8972
8972
  console.error(`spawnNode [key] element not found in global, ${i}`);
8973
8973
  return;
@@ -9064,7 +9064,7 @@ function Qe() {
9064
9064
  function Bu(t) {
9065
9065
  ye(qo, t);
9066
9066
  }
9067
- function Ie() {
9067
+ function $e() {
9068
9068
  return fe(qo);
9069
9069
  }
9070
9070
  function Le(t) {
@@ -9150,12 +9150,12 @@ function ct(t, n, e, o, s) {
9150
9150
  const g = Ce(f, p.subKeys);
9151
9151
  if (me(d, g))
9152
9152
  continue;
9153
- const _ = O(f);
9154
- an(_, p.subKeys, O(d)), p.type === "elementProperty" ? t.setElementProperty(
9153
+ const v = O(f);
9154
+ an(v, p.subKeys, O(d)), p.type === "elementProperty" ? t.setElementProperty(
9155
9155
  p.nodeId,
9156
9156
  p.propertyKeys.split("."),
9157
- _
9158
- ) : p.type === "customProperty" ? t.setCustomProperty(p.propertyId, _) : p.type === "customSlotProperty" ? t.setCustomSlotProperty(p.propertyId, _) : p.type === "state" ? t.setState(p.stateId, _) : console.assert(!1);
9157
+ v
9158
+ ) : p.type === "customProperty" ? t.setCustomProperty(p.propertyId, v) : p.type === "customSlotProperty" ? t.setCustomSlotProperty(p.propertyId, v) : p.type === "state" ? t.setState(p.stateId, v) : console.assert(!1);
9159
9159
  } else {
9160
9160
  let f;
9161
9161
  if (p.type === "elementProperty")
@@ -9313,7 +9313,7 @@ function em(t) {
9313
9313
  }
9314
9314
  function et(t, n) {
9315
9315
  const e = jc(), o = ie(-1);
9316
- xe(() => {
9316
+ ke(() => {
9317
9317
  if (!t.value) {
9318
9318
  o.value = -1, n.value = void 0;
9319
9319
  return;
@@ -9329,7 +9329,7 @@ function et(t, n) {
9329
9329
  function tm() {
9330
9330
  let t;
9331
9331
  const n = async () => (t = (await Pi()).newRuntime(), console.log("runtime created"), t);
9332
- return we(() => {
9332
+ return Ie(() => {
9333
9333
  t && (t.dispose(), console.log("runtime dispose"));
9334
9334
  }), { createRuntime: n };
9335
9335
  }
@@ -9413,8 +9413,9 @@ function Xc(t) {
9413
9413
  if (Be(t)) {
9414
9414
  var l = [];
9415
9415
  try {
9416
- const d = $e(l, n.getProp(n.global, "__timeoutCallback__"));
9417
- n.callFunction(d, n.global, n.newNumber(s));
9416
+ const d = ve(l, n.getProp(n.global, "__timeoutCallback__"));
9417
+ n.callFunction(d, n.undefined, n.newNumber(s)).unwrap().dispose();
9418
+ n.runtime.executePendingJobs();
9418
9419
  } catch (c) {
9419
9420
  var m = c, u = !0;
9420
9421
  } finally {
@@ -9449,18 +9450,18 @@ function Zc(t) {
9449
9450
  n.newFunction(
9450
9451
  "__callFuncV1__",
9451
9452
  (e, o, s, i, l) => {
9452
- const c = n.getString(e), m = n.getString(o), u = n.dump(s), d = n.getString(i), p = n.getString(l), { promiseId: f, promise: g } = t.promiseManager.acquire(), _ = JSON.stringify(u);
9453
+ const c = n.getString(e), m = n.getString(o), u = n.dump(s), d = n.getString(i), p = n.getString(l), { promiseId: f, promise: g } = t.promiseManager.acquire(), v = JSON.stringify(u);
9453
9454
  return Yc({
9454
9455
  spaceId: c,
9455
9456
  id: m,
9456
- strInputs: _,
9457
+ strInputs: v,
9457
9458
  env: d
9458
9459
  }).then(
9459
- ({ strOutputs: I }) => {
9460
- Be(t) && (g.resolve(n.evalCode(`JSON.parse('${I}')`).unwrap()), t.promiseManager.release(f));
9460
+ ({ strOutputs: w }) => {
9461
+ Be(t) && (g.resolve(n.evalCode(`JSON.parse('${w}')`).unwrap()), t.promiseManager.release(f));
9461
9462
  },
9462
- (I) => {
9463
- Be(t) && (g.reject(n.newString(`call func <${p}> failed, ${I}`)), t.promiseManager.release(f));
9463
+ (w) => {
9464
+ Be(t) && (g.reject(n.newString(`call func <${p}> failed, ${w}`)), t.promiseManager.release(f));
9464
9465
  }
9465
9466
  ), g.settled.then(n.runtime.executePendingJobs), g.handle;
9466
9467
  }
@@ -9484,8 +9485,9 @@ function eu(t) {
9484
9485
  {
9485
9486
  var c = [];
9486
9487
  try {
9487
- const J = $e(c, n.getProp(n.global, "__triggerEventInner__"));
9488
- n.callFunction(J, n.global, e, ...o);
9488
+ const _ = ve(c, n.getProp(n.global, "__triggerEventInner__"));
9489
+ n.callFunction(_, n.undefined, e, ...o).unwrap().dispose();
9490
+ n.runtime.executePendingJobs();
9489
9491
  } catch (m) {
9490
9492
  var u = m, d = !0;
9491
9493
  } finally {
@@ -9494,39 +9496,38 @@ function eu(t) {
9494
9496
  }
9495
9497
  const s = n.getString(e), { kind: i, eventKey: l } = qc(s);
9496
9498
  if (i === "customEvent") {
9497
- var v = [];
9498
- try {
9499
- const J = $e(v, n.getProp(n.global, "__triggerEventV1__"));
9499
+ const { vm: _ } = t.parent;
9500
+ if (_) {
9500
9501
  {
9501
9502
  var p = [];
9502
9503
  try {
9503
- const N = $e(p, n.newString(
9504
+ const z = ve(p, _.getProp(_.global, "__triggerEventV1__"));
9505
+ const T = ve(p, _.newString(
9504
9506
  ae("refEvent", t.nodeId, l)
9505
9507
  ));
9506
- n.callFunction(J, n.global, N, ...o);
9508
+ _.callFunction(z, _.undefined, T, ...o).unwrap().dispose();
9509
+ _.runtime.executePendingJobs();
9507
9510
  } catch (f) {
9508
- var g = f, _ = !0;
9511
+ var g = f, v = !0;
9509
9512
  } finally {
9510
- Se(p, g, _);
9513
+ Se(p, g, v);
9511
9514
  }
9512
9515
  }
9513
9516
  {
9514
- var I = [];
9517
+ var w = [];
9515
9518
  try {
9516
- const N = $e(I, n.newString(
9519
+ const z = ve(w, _.getProp(_.global, "__triggerEventV1__"));
9520
+ const T = ve(w, _.newString(
9517
9521
  ae("multipleRefEvent", t.nodeId, l)
9518
9522
  ));
9519
- n.callFunction(J, n.global, N, ...o);
9523
+ _.callFunction(z, _.undefined, T, ...o).unwrap().dispose();
9524
+ _.runtime.executePendingJobs();
9520
9525
  } catch (b) {
9521
9526
  var x = b, h = !0;
9522
9527
  } finally {
9523
- Se(I, x, h);
9528
+ Se(w, x, h);
9524
9529
  }
9525
9530
  }
9526
- } catch (z) {
9527
- var T = z, G = !0;
9528
- } finally {
9529
- Se(v, T, G);
9530
9531
  }
9531
9532
  }
9532
9533
  }).consume((e) => n.setProp(n.global, "__triggerEventV1__", e)), n.newFunction("__getPropertyV1__", (e, o) => {
@@ -9666,7 +9667,7 @@ function __onEventV1__(id, callback) {
9666
9667
  callbacks.push(callback)
9667
9668
  }
9668
9669
 
9669
- function __triggerEventInner__(id, ...params) {
9670
+ async function __triggerEventInner__(id, ...params) {
9670
9671
  if (typeof(id) !== 'string' || !id) {
9671
9672
  return
9672
9673
  }
@@ -9678,7 +9679,7 @@ function __triggerEventInner__(id, ...params) {
9678
9679
  return
9679
9680
  }
9680
9681
  for (let i = 0; i < callbacks.length; i++) {
9681
- callbacks[i](...params)
9682
+ await callbacks[i](...params)
9682
9683
  }
9683
9684
  }
9684
9685
 
@@ -9704,7 +9705,7 @@ function __createTimerV1__(interval, loop, count, immediate, callback) {
9704
9705
  }
9705
9706
  }
9706
9707
 
9707
- function __timeoutCallback__(timerId) {
9708
+ async function __timeoutCallback__(timerId) {
9708
9709
  const timer = __timers__[timerId]
9709
9710
  if (timer) {
9710
9711
  timer.callback()
@@ -9714,7 +9715,7 @@ function __timeoutCallback__(timerId) {
9714
9715
  }
9715
9716
  // 触发超时
9716
9717
  if (timer.loop || timer.count > 0) {
9717
- __timeoutV1__(timer.id, timer.interval)
9718
+ await __timeoutV1__(timer.id, timer.interval)
9718
9719
  }
9719
9720
  // 回收
9720
9721
  if (!timer.loop && timer.count <= 0) {
@@ -9795,23 +9796,26 @@ class iu {
9795
9796
  this.callFunction("__destroy__"), this.promiseManager && (this.promiseManager.dispose(), this.promiseManager = void 0), this.vm && (this.vm.dispose(), this.vm = void 0);
9796
9797
  }
9797
9798
  callFunction(n, ...e) {
9798
- if (!this.vm)
9799
- return;
9800
- let o = "";
9801
- for (const l of e)
9802
- o && (o += ", "), o += JSON.stringify(l);
9803
- this.debugTrace(`call ${n}(${o})`);
9804
- const s = this.vm.getProp(this.vm.global, n);
9805
- if (this.vm.typeof(s) !== "function") {
9806
- console.error(
9807
- `Sandbox/callFunction ${n}(${o}) not available`
9799
+ var i = [];
9800
+ try {
9801
+ if (!this.vm)
9802
+ return;
9803
+ this.debugTrace(
9804
+ `call ${n}(${e.map((u) => JSON.stringify(u)).join(", ")})`
9808
9805
  );
9809
- return;
9806
+ const o = ve(i, this.vm.getProp(this.vm.global, n));
9807
+ if (this.vm.typeof(o) !== "function") {
9808
+ console.error(`Sandbox/callFunction ${n} not available`);
9809
+ return;
9810
+ }
9811
+ const s = e.map((u) => Ee(this.vm, u));
9812
+ this.vm.callFunction(o, this.vm.undefined, ...s).unwrap().dispose();
9813
+ s.forEach((u) => u.dispose());
9814
+ } catch (l) {
9815
+ var c = l, m = !0;
9816
+ } finally {
9817
+ Se(i, c, m);
9810
9818
  }
9811
- const i = [];
9812
- for (const l of e)
9813
- i.push(Ee(this.vm, l));
9814
- this.vm.callFunction(s, this.vm.undefined, ...i).unwrap().dispose(), i.forEach((l) => l.dispose()), s.dispose();
9815
9819
  }
9816
9820
  //--------------------------
9817
9821
  // 元素属性
@@ -9893,7 +9897,7 @@ class iu {
9893
9897
  var c = [];
9894
9898
  try {
9895
9899
  const s = `__implementMethod$${n}__`;
9896
- const i = $e(c, this.vm.getProp(this.vm.global, s));
9900
+ const i = ve(c, this.vm.getProp(this.vm.global, s));
9897
9901
  if (this.vm.typeof(i) !== "function")
9898
9902
  return console.error(`Sandbox/callCustomMethod ${s} not available`), this.vm.undefined;
9899
9903
  const l = this.vm.callFunction(
@@ -9926,25 +9930,25 @@ class iu {
9926
9930
  }
9927
9931
  }
9928
9932
  function tt(t, n, e, o, s) {
9929
- const i = Fc(), l = Nc(), c = Z(), m = Ie(), u = Fe(), d = Ze(), p = Gc(), f = (x, h, v, z) => {
9933
+ const i = Fc(), l = Nc(), c = Z(), m = $e(), u = Fe(), d = Ze(), p = Gc(), f = (x, h, _, z) => {
9930
9934
  if (le(c)) {
9931
9935
  if (me(h, ["settings", "slot"])) {
9932
9936
  const T = t.value?.view.nodeLites.find(
9933
- (G) => G.id === x
9937
+ (J) => J.id === x
9934
9938
  );
9935
- T ? T.slotId = v : console.assert(!1);
9939
+ T ? T.slotId = _ : console.assert(!1);
9936
9940
  }
9937
9941
  if (me(h, ["settings", "comp"])) {
9938
9942
  const T = t.value?.view.nodeLites.find(
9939
- (G) => G.id === x
9943
+ (J) => J.id === x
9940
9944
  );
9941
- T ? T.compId = v : console.assert(!1);
9945
+ T ? T.compId = _ : console.assert(!1);
9942
9946
  }
9943
9947
  if (b.callFunction(
9944
9948
  "__triggerEventV1__",
9945
9949
  ae("elementPropertyChangeEvent", x, h.join(".")),
9946
- v,
9947
- z ?? v
9950
+ _,
9951
+ z ?? _
9948
9952
  ), t.value?.code.reactivity) {
9949
9953
  let T = "";
9950
9954
  h instanceof Array ? T = h.join(".") : T = h, ct(
@@ -9955,22 +9959,22 @@ function tt(t, n, e, o, s) {
9955
9959
  nodeId: x,
9956
9960
  propertyKeys: T
9957
9961
  }),
9958
- v,
9962
+ _,
9959
9963
  z
9960
9964
  );
9961
9965
  }
9962
9966
  }
9963
- }, g = (x, h, v) => {
9967
+ }, g = (x, h, _) => {
9964
9968
  le(c) && (b.callFunction(
9965
9969
  "__triggerEventV1__",
9966
9970
  ae("customPropertyChangeEvent", "globality", x),
9967
9971
  h,
9968
- v ?? h
9972
+ _ ?? h
9969
9973
  ), b.parent?.callFunction(
9970
9974
  "__triggerEventV1__",
9971
9975
  ae("refPropertyChangeEvent", b.nodeId, x),
9972
9976
  h,
9973
- v ?? h
9977
+ _ ?? h
9974
9978
  ), b.parent?.callFunction(
9975
9979
  "__triggerEventV1__",
9976
9980
  ae(
@@ -9979,34 +9983,34 @@ function tt(t, n, e, o, s) {
9979
9983
  x
9980
9984
  ),
9981
9985
  h,
9982
- v ?? h
9986
+ _ ?? h
9983
9987
  ), t.value?.code.reactivity && ct(
9984
9988
  b,
9985
9989
  t.value.code.reactivity,
9986
9990
  je({ type: "customProperty", propertyId: x }),
9987
9991
  h,
9988
- v
9992
+ _
9989
9993
  ));
9990
- }, _ = (x, h, v) => {
9994
+ }, v = (x, h, _) => {
9991
9995
  le(c) && t.value?.code.reactivity && ct(
9992
9996
  b,
9993
9997
  t.value.code.reactivity,
9994
9998
  je({ type: "customSlotProperty", propertyId: x }),
9995
9999
  h,
9996
- v
10000
+ _
9997
10001
  );
9998
- }, I = (x, h, v) => {
10002
+ }, w = (x, h, _) => {
9999
10003
  le(c) && (b.callFunction(
10000
10004
  "__triggerEventV1__",
10001
10005
  ae("stateChangeEvent", "globality", x),
10002
10006
  h,
10003
- v ?? h
10007
+ _ ?? h
10004
10008
  ), t.value?.code.reactivity && ct(
10005
10009
  b,
10006
10010
  t.value.code.reactivity,
10007
10011
  je({ type: "state", stateId: x }),
10008
10012
  h,
10009
- v
10013
+ _
10010
10014
  ));
10011
10015
  }, b = new iu(
10012
10016
  n,
@@ -10020,11 +10024,11 @@ function tt(t, n, e, o, s) {
10020
10024
  {
10021
10025
  onElementPropertyChange: f,
10022
10026
  onCustomPropertyChange: g,
10023
- onCustomSlotPropetyChange: _,
10024
- onStateChange: I
10027
+ onCustomSlotPropetyChange: v,
10028
+ onStateChange: w
10025
10029
  }
10026
10030
  );
10027
- if (Hc(b), we(() => {
10031
+ if (Hc(b), Ie(() => {
10028
10032
  b.dispose();
10029
10033
  }), le(c)) {
10030
10034
  const x = async () => {
@@ -10037,11 +10041,11 @@ function tt(t, n, e, o, s) {
10037
10041
  le(c) && pe(
10038
10042
  u,
10039
10043
  (x, h) => {
10040
- const v = ut(x.width), z = ut(h?.width ?? x.width);
10044
+ const _ = ut(x.width), z = ut(h?.width ?? x.width);
10041
10045
  b.callFunction(
10042
10046
  "__triggerEventV1__",
10043
10047
  ae("elementEvent", "globality", "screenSizeChange"),
10044
- v,
10048
+ _,
10045
10049
  z
10046
10050
  );
10047
10051
  },
@@ -10058,9 +10062,9 @@ function tt(t, n, e, o, s) {
10058
10062
  { immediate: !0 }
10059
10063
  );
10060
10064
  }
10061
- function U() {
10065
+ function H() {
10062
10066
  const t = Ze();
10063
- return { theme: w(() => t.value ? "dark" : "light") };
10067
+ return { theme: I(() => t.value ? "dark" : "light") };
10064
10068
  }
10065
10069
  const su = (t, n, e) => {
10066
10070
  const o = t[n];
@@ -10099,7 +10103,7 @@ export {
10099
10103
  Oc as duplicateNodePair,
10100
10104
  Lu as duplicateNodePairs,
10101
10105
  wu as elementKeys,
10102
- ke as elements,
10106
+ we as elements,
10103
10107
  Cu as fileInputV1,
10104
10108
  Rt as flexLayoutEntryV1,
10105
10109
  Ue as flexLayoutV1,
@@ -10128,7 +10132,7 @@ export {
10128
10132
  Fc as injectOrg,
10129
10133
  Gc as injectRuntime,
10130
10134
  _e as injectSandbox,
10131
- Ie as injectType,
10135
+ $e as injectType,
10132
10136
  Ye as isCircularReference,
10133
10137
  le as isExecutableMode,
10134
10138
  Ri as isLocaleOfEventKind,
@@ -10228,7 +10232,7 @@ export {
10228
10232
  et as useDepend,
10229
10233
  tm as useRuntime,
10230
10234
  tt as useSandbox,
10231
- U as useTheme,
10235
+ H as useTheme,
10232
10236
  tn as windowItemV1,
10233
10237
  nn as windowV1
10234
10238
  };