x-runtime-lib 0.8.141 → 0.8.142

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
@@ -15,8 +15,8 @@ var Pe = (t, n, e) => {
15
15
  } else e && t.push([e]);
16
16
  return n;
17
17
  }, Le = (t, n, e) => {
18
- var o = typeof SuppressedError == "function" ? SuppressedError : function(l, c, u, m) {
19
- return m = Error(u), m.name = "SuppressedError", m.error = l, m.suppressed = c, m;
18
+ var o = typeof SuppressedError == "function" ? SuppressedError : function(l, c, u, p) {
19
+ return p = Error(u), p.name = "SuppressedError", p.error = l, p.suppressed = c, p;
20
20
  }, r = (l) => n = e ? new o(l, n, "An error was suppressed during disposal") : (e = !0, l), i = (l) => {
21
21
  for (; l = t.pop(); )
22
22
  try {
@@ -160,10 +160,10 @@ function A(t, n) {
160
160
  const Mi = ["common", "scene"], Wi = ["common", "scene"];
161
161
  function bu({ type: t, version: n, view: e, code: o }) {
162
162
  const r = (c, u) => {
163
- const m = { id: u.id };
164
- u.children && (m.children = [], u.children.forEach((d) => {
165
- r(m.children, d);
166
- })), c.push(m);
163
+ const p = { id: u.id };
164
+ u.children && (p.children = [], u.children.forEach((d) => {
165
+ r(p.children, d);
166
+ })), c.push(p);
167
167
  }, i = [];
168
168
  e.nodeLites.forEach((c) => {
169
169
  r(i, c);
@@ -468,20 +468,20 @@ function me(t) {
468
468
  "transform",
469
469
  "rotation",
470
470
  "z"
471
- ]), { property: c } = a(t, ["transform", "scale", "x"]), { property: u } = a(t, ["transform", "scale", "y"]), { property: m } = a(t, ["transform", "scale", "z"]), d = re([0, 0, 0]), p = re([0, 0, 0]), f = re([1, 1, 1]);
471
+ ]), { property: c } = a(t, ["transform", "scale", "x"]), { property: u } = a(t, ["transform", "scale", "y"]), { property: p } = a(t, ["transform", "scale", "z"]), d = re([0, 0, 0]), m = re([0, 0, 0]), f = re([1, 1, 1]);
472
472
  return xe(() => {
473
473
  d.value = [n.value, e.value, o.value];
474
474
  }), xe(() => {
475
475
  n.value = d.value[0], e.value = d.value[1], o.value = d.value[2];
476
476
  }), xe(() => {
477
- p.value = [r.value, i.value, l.value];
477
+ m.value = [r.value, i.value, l.value];
478
478
  }), xe(() => {
479
- r.value = p.value[0], i.value = p.value[1], l.value = p.value[2];
479
+ r.value = m.value[0], i.value = m.value[1], l.value = m.value[2];
480
480
  }), xe(() => {
481
- f.value = [c.value, u.value, m.value];
481
+ f.value = [c.value, u.value, p.value];
482
482
  }), xe(() => {
483
- c.value = f.value[0], u.value = f.value[1], m.value = f.value[2];
484
- }), { position: d, rotation: p, scale: f };
483
+ c.value = f.value[0], u.value = f.value[1], p.value = f.value[2];
484
+ }), { position: d, rotation: m, scale: f };
485
485
  }
486
486
  function Bo(t) {
487
487
  const n = w(() => t.value.legend?.show), e = w(() => t.value.legend?.data);
@@ -537,23 +537,23 @@ function Oo(t) {
537
537
  }
538
538
  function Q(t) {
539
539
  const { computedThemes: n } = Ti(), e = Ze(), o = w(() => t.value?.mode), r = w(() => {
540
- const m = t.value?.theme;
541
- return m ? m === "background0" ? e.value ? "#2e2e2e" : "#bdbdbd" : m === "background1" ? e.value ? "#272727" : "#eeeeee" : m === "background2" ? e.value ? "#1e1e1e" : "#ffffff" : (e.value ? n.value.dark : n.value.light).colors[m] : void 0;
540
+ const p = t.value?.theme;
541
+ return p ? p === "background0" ? e.value ? "#2e2e2e" : "#bdbdbd" : p === "background1" ? e.value ? "#272727" : "#eeeeee" : p === "background2" ? e.value ? "#1e1e1e" : "#ffffff" : (e.value ? n.value.dark : n.value.light).colors[p] : void 0;
542
542
  }), i = w(() => e.value ? t.value.custom?.dark : t.value.custom?.light), l = w(() => o.value === "theme" ? r.value ?? "" : o.value === "custom" ? i.value ?? "" : ""), c = w(() => {
543
- const m = l.value;
544
- return !m.startsWith("#") || m.length < 7 ? "" : m.substring(0, 7);
543
+ const p = l.value;
544
+ return !p.startsWith("#") || p.length < 7 ? "" : p.substring(0, 7);
545
545
  }), u = w(() => {
546
- const m = l.value;
547
- return m.startsWith("#") ? m.length < 9 ? 1 : parseInt(m.substring(7, 9)) / 255 : 0;
546
+ const p = l.value;
547
+ return p.startsWith("#") ? p.length < 9 ? 1 : parseInt(p.substring(7, 9)) / 255 : 0;
548
548
  });
549
549
  return { color: l, rgb: c, alpha: u };
550
550
  }
551
551
  function cn(t) {
552
552
  const n = w(() => t.value.border?.style), e = w(() => t.value.border?.width), o = w(() => t.value.border?.color), { color: r } = Q(o), i = w(() => t.value.border?.roundRadius?.tl), l = w(() => t.value.border?.roundRadius?.tr), c = w(() => t.value.border?.roundRadius?.bl), u = w(() => t.value.border?.roundRadius?.br);
553
- function m(d) {
553
+ function p(d) {
554
554
  n.value && (d.borderStyle = n.value), e.value && (d.borderWidth = e.value), r.value && (d.borderColor = r.value), i.value && (d.borderTopLeftRadius = i.value), l.value && (d.borderTopRightRadius = l.value), c.value && (d.borderBottomLeftRadius = c.value), u.value && (d.borderBottomRightRadius = u.value);
555
555
  }
556
- return { borderStyle: n, borderWidth: e, borderColor: r, applyBorder: m };
556
+ return { borderStyle: n, borderWidth: e, borderColor: r, applyBorder: p };
557
557
  }
558
558
  function un(t) {
559
559
  const n = w(() => t.value.margin?.top), e = w(() => t.value.margin?.left), o = w(() => t.value.margin?.bottom), r = w(() => t.value.margin?.right);
@@ -572,30 +572,30 @@ function mn(t) {
572
572
  function be(t, n) {
573
573
  const e = Z(), o = Oe(), r = w(() => n.value.size?.width), i = w(() => n.value.size?.minWidth), l = w(() => n.value.size?.maxWidth), c = w(() => {
574
574
  if (t.outer && e === "editor") {
575
- const p = wt(n.value.size?.height);
576
- if (p)
577
- return p / 100 * o.value.height + "px";
575
+ const m = wt(n.value.size?.height);
576
+ if (m)
577
+ return m / 100 * o.value.height + "px";
578
578
  }
579
579
  return n.value.size?.height;
580
580
  }), u = w(() => {
581
581
  if (t.outer && e === "editor") {
582
- const p = wt(n.value.size?.minHeight);
583
- if (p)
584
- return p / 100 * o.value.height + "px";
582
+ const m = wt(n.value.size?.minHeight);
583
+ if (m)
584
+ return m / 100 * o.value.height + "px";
585
585
  }
586
586
  return n.value.size?.minHeight;
587
- }), m = w(() => {
587
+ }), p = w(() => {
588
588
  if (t.outer && e === "editor") {
589
- const p = wt(n.value.size?.maxHeight);
590
- if (p)
591
- return p / 100 * o.value.height + "px";
589
+ const m = wt(n.value.size?.maxHeight);
590
+ if (m)
591
+ return m / 100 * o.value.height + "px";
592
592
  }
593
593
  return n.value.size?.maxHeight;
594
594
  });
595
- function d(p) {
596
- r.value && (p.width = r.value), i.value && (p.minWidth = i.value), l.value && (p.maxWidth = l.value), c.value && (p.height = c.value), u.value && (p.minHeight = u.value), m.value && (p.maxHeight = m.value);
595
+ function d(m) {
596
+ r.value && (m.width = r.value), i.value && (m.minWidth = i.value), l.value && (m.maxWidth = l.value), c.value && (m.height = c.value), u.value && (m.minHeight = u.value), p.value && (m.maxHeight = p.value);
597
597
  }
598
- return { width: r, minWidth: i, maxWidth: l, height: c, minHeight: u, maxHeight: m, applySize: d };
598
+ return { width: r, minWidth: i, maxWidth: l, height: c, minHeight: u, maxHeight: p, applySize: d };
599
599
  }
600
600
  const ji = ["bottom", "far", "left", "near", "position", "right", "rotation", "scale", "top"], Gi = /* @__PURE__ */ S({
601
601
  __name: "index",
@@ -605,14 +605,14 @@ const ji = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
605
605
  refContext: {}
606
606
  },
607
607
  setup(t) {
608
- const n = t, { node: e } = L(n), o = Z(), { position: r, rotation: i, scale: l } = me(e), { property: c } = a(e, ["settings", "bottom"]), { property: u } = a(e, ["settings", "far"]), { property: m } = a(e, ["settings", "left"]), { property: d } = a(e, ["settings", "near"]), { property: p } = a(e, ["settings", "right"]), { property: f } = a(e, ["settings", "top"]);
609
- return (_, g) => (k(), te("TresOrthographicCamera", {
608
+ const n = t, { node: e } = L(n), o = Z(), { position: r, rotation: i, scale: l } = me(e), { property: c } = a(e, ["settings", "bottom"]), { property: u } = a(e, ["settings", "far"]), { property: p } = a(e, ["settings", "left"]), { property: d } = a(e, ["settings", "near"]), { property: m } = a(e, ["settings", "right"]), { property: f } = a(e, ["settings", "top"]);
609
+ return (g, h) => (k(), te("TresOrthographicCamera", {
610
610
  bottom: s(c),
611
611
  far: s(u),
612
- left: s(m),
612
+ left: s(p),
613
613
  near: s(d),
614
614
  position: s(r),
615
- right: s(p),
615
+ right: s(m),
616
616
  rotation: s(i),
617
617
  scale: s(l),
618
618
  top: s(f)
@@ -622,7 +622,7 @@ const ji = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
622
622
  key: 0,
623
623
  type: s(To)
624
624
  }, null, 8, ["type"])) : se("", !0),
625
- F(_.$slots, "default")
625
+ F(g.$slots, "default")
626
626
  ], 8, ji));
627
627
  }
628
628
  }), Hi = ["aspect", "far", "fov", "near", "position", "rotation", "scale"], Ui = /* @__PURE__ */ S({
@@ -633,11 +633,11 @@ const ji = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
633
633
  refContext: {}
634
634
  },
635
635
  setup(t) {
636
- const n = t, { node: e } = L(n), o = Z(), { position: r, rotation: i, scale: l } = me(e), { property: c } = a(e, ["settings", "aspect"]), { property: u } = a(e, ["settings", "far"]), { property: m } = a(e, ["settings", "fov"]), { property: d } = a(e, ["settings", "near"]);
637
- return (p, f) => (k(), te("TresPerspectiveCamera", {
636
+ const n = t, { node: e } = L(n), o = Z(), { position: r, rotation: i, scale: l } = me(e), { property: c } = a(e, ["settings", "aspect"]), { property: u } = a(e, ["settings", "far"]), { property: p } = a(e, ["settings", "fov"]), { property: d } = a(e, ["settings", "near"]);
637
+ return (m, f) => (k(), te("TresPerspectiveCamera", {
638
638
  aspect: s(c),
639
639
  far: s(u),
640
- fov: s(m),
640
+ fov: s(p),
641
641
  near: s(d),
642
642
  position: s(r),
643
643
  rotation: s(i),
@@ -648,7 +648,7 @@ const ji = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
648
648
  key: 0,
649
649
  type: s(To)
650
650
  }, null, 8, ["type"])) : se("", !0),
651
- F(p.$slots, "default")
651
+ F(m.$slots, "default")
652
652
  ], 8, Hi));
653
653
  }
654
654
  }), Ji = /* @__PURE__ */ S({
@@ -687,7 +687,7 @@ const ji = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
687
687
  "settings",
688
688
  "widthSegements"
689
689
  ]);
690
- return (m, d) => (k(), te("TresBoxGeometry", {
690
+ return (p, d) => (k(), te("TresBoxGeometry", {
691
691
  args: [
692
692
  s(c),
693
693
  s(i),
@@ -726,14 +726,14 @@ const ji = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
726
726
  ]), { property: u } = a(e, [
727
727
  "settings",
728
728
  "thetaStart"
729
- ]), { property: m } = a(e, [
729
+ ]), { property: p } = a(e, [
730
730
  "settings",
731
731
  "widthSegments"
732
732
  ]);
733
- return (d, p) => (k(), te("TresSphereGeometry", {
733
+ return (d, m) => (k(), te("TresSphereGeometry", {
734
734
  args: [
735
735
  s(l),
736
- s(m),
736
+ s(p),
737
737
  s(o),
738
738
  s(i),
739
739
  s(r),
@@ -754,7 +754,7 @@ const ji = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
754
754
  "settings",
755
755
  "intensity"
756
756
  ]);
757
- return (m, d) => (k(), te("TresAmbientLight", {
757
+ return (p, d) => (k(), te("TresAmbientLight", {
758
758
  color: s(c),
759
759
  intensity: s(u),
760
760
  position: s(o),
@@ -762,7 +762,7 @@ const ji = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
762
762
  scale: s(i)
763
763
  }, [
764
764
  D(s(Re)),
765
- F(m.$slots, "default")
765
+ F(p.$slots, "default")
766
766
  ], 8, tr));
767
767
  }
768
768
  }), or = ["color", "intensity", "position", "rotation", "scale"], ir = /* @__PURE__ */ S({
@@ -773,13 +773,13 @@ const ji = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
773
773
  refContext: {}
774
774
  },
775
775
  setup(t) {
776
- const n = t, { node: e } = L(n), o = Z(), { position: r, rotation: i, scale: l } = me(e), { property: c } = a(e, ["settings", "color"]), { color: u } = Q(c), { property: m } = a(e, [
776
+ const n = t, { node: e } = L(n), o = Z(), { position: r, rotation: i, scale: l } = me(e), { property: c } = a(e, ["settings", "color"]), { color: u } = Q(c), { property: p } = a(e, [
777
777
  "settings",
778
778
  "intensity"
779
779
  ]);
780
- return (d, p) => (k(), te("TresDirectionalLight", {
780
+ return (d, m) => (k(), te("TresDirectionalLight", {
781
781
  color: s(u),
782
- intensity: s(m),
782
+ intensity: s(p),
783
783
  position: s(r),
784
784
  rotation: s(i),
785
785
  scale: s(l)
@@ -800,18 +800,18 @@ const ji = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
800
800
  refContext: {}
801
801
  },
802
802
  setup(t) {
803
- const n = t, { node: e } = L(n), o = Z(), { position: r, rotation: i, scale: l } = me(e), { property: c } = a(e, ["settings", "color"]), { color: u } = Q(c), { property: m } = a(e, ["settings", "decay"]), { property: d } = a(e, [
803
+ const n = t, { node: e } = L(n), o = Z(), { position: r, rotation: i, scale: l } = me(e), { property: c } = a(e, ["settings", "color"]), { color: u } = Q(c), { property: p } = a(e, ["settings", "decay"]), { property: d } = a(e, [
804
804
  "settings",
805
805
  "distance"
806
- ]), { property: p } = a(e, [
806
+ ]), { property: m } = a(e, [
807
807
  "settings",
808
808
  "intensity"
809
809
  ]);
810
- return (f, _) => (k(), te("TresPointLight", {
810
+ return (f, g) => (k(), te("TresPointLight", {
811
811
  color: s(u),
812
- decay: s(m),
812
+ decay: s(p),
813
813
  distance: s(d),
814
- intensity: s(p),
814
+ intensity: s(m),
815
815
  position: s(r),
816
816
  rotation: s(i),
817
817
  scale: s(l)
@@ -832,23 +832,23 @@ const ji = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
832
832
  refContext: {}
833
833
  },
834
834
  setup(t) {
835
- const n = t, { node: e } = L(n), o = Z(), { position: r, rotation: i, scale: l } = me(e), { property: c } = a(e, ["settings", "angle"]), { property: u } = a(e, ["settings", "color"]), { color: m } = Q(u), { property: d } = a(e, ["settings", "decay"]), { property: p } = a(e, [
835
+ const n = t, { node: e } = L(n), o = Z(), { position: r, rotation: i, scale: l } = me(e), { property: c } = a(e, ["settings", "angle"]), { property: u } = a(e, ["settings", "color"]), { color: p } = Q(u), { property: d } = a(e, ["settings", "decay"]), { property: m } = a(e, [
836
836
  "settings",
837
837
  "distance"
838
838
  ]), { property: f } = a(e, [
839
839
  "settings",
840
840
  "intensity"
841
- ]), { property: _ } = a(e, [
841
+ ]), { property: g } = a(e, [
842
842
  "settings",
843
843
  "penumbra"
844
844
  ]);
845
- return (g, I) => (k(), te("TresSpotLight", {
845
+ return (h, I) => (k(), te("TresSpotLight", {
846
846
  angle: s(c),
847
- color: s(m),
847
+ color: s(p),
848
848
  decay: s(d),
849
- distance: s(p),
849
+ distance: s(m),
850
850
  intensity: s(f),
851
- penumbra: s(_),
851
+ penumbra: s(g),
852
852
  position: s(o) !== "editor" ? s(r) : [0, 0, 0],
853
853
  rotation: s(o) !== "editor" ? s(i) : [0, 0, 0],
854
854
  scale: s(o) !== "editor" ? s(l) : [1, 1, 1]
@@ -858,7 +858,7 @@ const ji = ["bottom", "far", "left", "near", "position", "right", "rotation", "s
858
858
  key: 0,
859
859
  type: s(fi)
860
860
  }, null, 8, ["type"])) : se("", !0),
861
- F(g.$slots, "default")
861
+ F(h.$slots, "default")
862
862
  ], 8, lr));
863
863
  }
864
864
  }), cr = {};
@@ -980,9 +980,9 @@ const ks = /* @__PURE__ */ S({
980
980
  refContext: {}
981
981
  },
982
982
  setup(t) {
983
- const n = t, { node: e } = L(n), o = Oe(), r = Ze(), i = we(), l = le(), { width: c, minWidth: u, maxWidth: m, height: d, minHeight: p, maxHeight: f, applySize: _ } = be(n, e), { applyTitle: g } = Ko(e), { applyXAxis: I } = Do(e), { applyYAxis: v } = Oo(e), { applyLegend: x } = Bo(e), { applySeries: b } = Ro(e), h = w(() => {
983
+ const n = t, { node: e } = L(n), o = Oe(), r = Ze(), i = we(), l = le(), { width: c, minWidth: u, maxWidth: p, height: d, minHeight: m, maxHeight: f, applySize: g } = be(n, e), { applyTitle: h } = Ko(e), { applyXAxis: I } = Do(e), { applyYAxis: v } = Oo(e), { applyLegend: x } = Bo(e), { applySeries: b } = Ro(e), _ = w(() => {
984
984
  const z = {}, q = l.value?.type;
985
- return i === "page" ? q === "common" ? _(z) : console.assert(!1) : i === "comp" && q === "common" ? _(z) : console.assert(!1), z;
985
+ return i === "page" ? q === "common" ? g(z) : console.assert(!1) : i === "comp" && q === "common" ? g(z) : console.assert(!1), z;
986
986
  }), V = ko("chart");
987
987
  let R;
988
988
  const N = () => {
@@ -993,7 +993,7 @@ const ks = /* @__PURE__ */ S({
993
993
  R?.resize();
994
994
  }, j = () => {
995
995
  const z = {};
996
- g(z), I(z), v(z), x(z), b(z), R?.setOption(z, !0);
996
+ h(z), I(z), v(z), x(z), b(z), R?.setOption(z, !0);
997
997
  };
998
998
  return wo(async () => {
999
999
  window.addEventListener("resize", G, !1), await Co(() => !!V.value), N(), j();
@@ -1005,9 +1005,9 @@ const ks = /* @__PURE__ */ S({
1005
1005
  () => o.value.height,
1006
1006
  c,
1007
1007
  u,
1008
- m,
1009
- d,
1010
1008
  p,
1009
+ d,
1010
+ m,
1011
1011
  f
1012
1012
  ],
1013
1013
  async () => {
@@ -1028,7 +1028,7 @@ const ks = /* @__PURE__ */ S({
1028
1028
  default: P(() => [
1029
1029
  We("div", {
1030
1030
  ref: "chart",
1031
- style: de(h.value)
1031
+ style: de(_.value)
1032
1032
  }, null, 4)
1033
1033
  ]),
1034
1034
  _: 1
@@ -1042,9 +1042,9 @@ const ks = /* @__PURE__ */ S({
1042
1042
  refContext: {}
1043
1043
  },
1044
1044
  setup(t) {
1045
- const n = t, { node: e } = L(n), o = Oe(), r = Ze(), i = we(), l = le(), { width: c, minWidth: u, maxWidth: m, height: d, minHeight: p, maxHeight: f, applySize: _ } = be(n, e), { applyTitle: g } = Ko(e), { applyXAxis: I } = Do(e), { applyYAxis: v } = Oo(e), { applyLegend: x } = Bo(e), { applySeries: b } = Ro(e), h = w(() => {
1045
+ const n = t, { node: e } = L(n), o = Oe(), r = Ze(), i = we(), l = le(), { width: c, minWidth: u, maxWidth: p, height: d, minHeight: m, maxHeight: f, applySize: g } = be(n, e), { applyTitle: h } = Ko(e), { applyXAxis: I } = Do(e), { applyYAxis: v } = Oo(e), { applyLegend: x } = Bo(e), { applySeries: b } = Ro(e), _ = w(() => {
1046
1046
  const z = {}, q = l.value?.type;
1047
- return i === "page" ? q === "common" ? _(z) : console.assert(!1) : i === "comp" && q === "common" ? _(z) : console.assert(!1), z;
1047
+ return i === "page" ? q === "common" ? g(z) : console.assert(!1) : i === "comp" && q === "common" ? g(z) : console.assert(!1), z;
1048
1048
  }), V = ko("chart");
1049
1049
  let R;
1050
1050
  const N = () => {
@@ -1055,7 +1055,7 @@ const ks = /* @__PURE__ */ S({
1055
1055
  R?.resize();
1056
1056
  }, j = () => {
1057
1057
  const z = {};
1058
- g(z), I(z), v(z), x(z), b(z), R?.setOption(z, !0);
1058
+ h(z), I(z), v(z), x(z), b(z), R?.setOption(z, !0);
1059
1059
  };
1060
1060
  return wo(async () => {
1061
1061
  window.addEventListener("resize", G, !1), await Co(() => !!V.value), N(), j();
@@ -1067,9 +1067,9 @@ const ks = /* @__PURE__ */ S({
1067
1067
  () => o.value.height,
1068
1068
  c,
1069
1069
  u,
1070
- m,
1071
- d,
1072
1070
  p,
1071
+ d,
1072
+ m,
1073
1073
  f
1074
1074
  ],
1075
1075
  async () => {
@@ -1090,7 +1090,7 @@ const ks = /* @__PURE__ */ S({
1090
1090
  default: P(() => [
1091
1091
  We("div", {
1092
1092
  ref: "chart",
1093
- style: de(h.value)
1093
+ style: de(_.value)
1094
1094
  }, null, 4)
1095
1095
  ]),
1096
1096
  _: 1
@@ -1113,7 +1113,7 @@ const ks = /* @__PURE__ */ S({
1113
1113
  "offset",
1114
1114
  "y"
1115
1115
  ]);
1116
- return (u, m) => {
1116
+ return (u, p) => {
1117
1117
  const d = W("v-badge");
1118
1118
  return k(), C(s(U), null, {
1119
1119
  default: P(() => [
@@ -1146,17 +1146,17 @@ const ks = /* @__PURE__ */ S({
1146
1146
  "settings",
1147
1147
  "addIcon",
1148
1148
  "append"
1149
- ]), { property: i } = a(e, ["settings", "block"]), { property: l } = a(e, ["settings", "color"]), { color: c } = Q(l), { property: u } = a(e, ["settings", "density"]), { property: m } = a(e, [
1149
+ ]), { property: i } = a(e, ["settings", "block"]), { property: l } = a(e, ["settings", "color"]), { color: c } = Q(l), { property: u } = a(e, ["settings", "density"]), { property: p } = a(e, [
1150
1150
  "settings",
1151
1151
  "disabled"
1152
- ]), { property: d } = a(e, ["size", "height"]), { property: p } = a(e, ["settings", "loading"]), { property: f } = a(e, ["size", "maxHeight"]), { property: _ } = a(e, ["size", "maxWidth"]), { property: g } = a(e, ["size", "minHeight"]), { property: I } = a(e, ["size", "minWidth"]), { property: v } = a(e, [
1152
+ ]), { property: d } = a(e, ["size", "height"]), { property: m } = a(e, ["settings", "loading"]), { property: f } = a(e, ["size", "maxHeight"]), { property: g } = a(e, ["size", "maxWidth"]), { property: h } = a(e, ["size", "minHeight"]), { property: I } = a(e, ["size", "minWidth"]), { property: v } = a(e, [
1153
1153
  "settings",
1154
1154
  "addIcon",
1155
1155
  "prepend"
1156
1156
  ]), { property: x } = a(e, [
1157
1157
  "settings",
1158
1158
  "readonly"
1159
- ]), { property: b } = a(e, ["settings", "ripple"]), { property: h } = a(e, ["settings", "size"]), { property: V } = a(e, ["settings", "stacked"]), { property: R } = a(e, ["settings", "text"]), { theme: N } = J(), { property: G } = a(e, ["settings", "variant"]), { property: j } = a(e, ["size", "width"]), z = (q) => {
1159
+ ]), { property: b } = a(e, ["settings", "ripple"]), { property: _ } = a(e, ["settings", "size"]), { property: V } = a(e, ["settings", "stacked"]), { property: R } = a(e, ["settings", "text"]), { theme: N } = J(), { property: G } = a(e, ["settings", "variant"]), { property: j } = a(e, ["size", "width"]), z = (q) => {
1160
1160
  if (!o || !o.vm)
1161
1161
  return;
1162
1162
  const { vm: oe } = o;
@@ -1177,17 +1177,17 @@ const ks = /* @__PURE__ */ S({
1177
1177
  block: s(i),
1178
1178
  color: s(c),
1179
1179
  density: s(u),
1180
- disabled: s(m),
1180
+ disabled: s(p),
1181
1181
  height: s(d),
1182
- loading: s(p),
1182
+ loading: s(m),
1183
1183
  "max-height": s(f),
1184
- "max-width": s(_),
1185
- "min-height": s(g),
1184
+ "max-width": s(g),
1185
+ "min-height": s(h),
1186
1186
  "min-width": s(I),
1187
1187
  "prepend-icon": s(v),
1188
1188
  readonly: s(x),
1189
1189
  ripple: s(b),
1190
- size: s(h),
1190
+ size: s(_),
1191
1191
  stacked: s(V),
1192
1192
  text: s(R),
1193
1193
  theme: s(N),
@@ -1230,8 +1230,8 @@ const Vs = /* @__PURE__ */ Ke($s, [["render", Cs]]), Ps = /* @__PURE__ */ S({
1230
1230
  ]), { property: u } = a(e, [
1231
1231
  "settings",
1232
1232
  "readonly"
1233
- ]), { property: m } = a(e, ["settings", "size"]), { property: d } = a(e, ["settings", "stacked"]), { theme: p } = J(), { property: f } = a(e, ["settings", "tile"]), { property: _ } = a(e, ["settings", "variant"]);
1234
- return (g, I) => {
1233
+ ]), { property: p } = a(e, ["settings", "size"]), { property: d } = a(e, ["settings", "stacked"]), { theme: m } = J(), { property: f } = a(e, ["settings", "tile"]), { property: g } = a(e, ["settings", "variant"]);
1234
+ return (h, I) => {
1235
1235
  const v = W("v-btn-toggle");
1236
1236
  return k(), C(v, {
1237
1237
  block: s(o),
@@ -1240,14 +1240,14 @@ const Vs = /* @__PURE__ */ Ke($s, [["render", Cs]]), Ps = /* @__PURE__ */ S({
1240
1240
  mandatory: s(l),
1241
1241
  multiple: s(c),
1242
1242
  readonly: s(u),
1243
- size: s(m),
1243
+ size: s(p),
1244
1244
  stacked: s(d),
1245
- theme: s(p),
1245
+ theme: s(m),
1246
1246
  tile: s(f),
1247
- variant: s(_)
1247
+ variant: s(g)
1248
1248
  }, {
1249
1249
  default: P(() => [
1250
- F(g.$slots, "default")
1250
+ F(h.$slots, "default")
1251
1251
  ]),
1252
1252
  _: 3
1253
1253
  }, 8, ["block", "disabled", "divided", "mandatory", "multiple", "readonly", "size", "stacked", "theme", "tile", "variant"]);
@@ -1264,11 +1264,11 @@ const Vs = /* @__PURE__ */ Ke($s, [["render", Cs]]), Ps = /* @__PURE__ */ S({
1264
1264
  const n = t, { node: e } = L(n), { property: o } = a(e, ["settings", "density"]), { property: r } = a(e, [
1265
1265
  "settings",
1266
1266
  "disabled"
1267
- ]), { property: i } = a(e, ["size", "height"]), { property: l } = a(e, ["settings", "hover"]), { property: c } = a(e, ["settings", "loading"]), { property: u } = a(e, ["size", "maxHeight"]), { property: m } = a(e, ["size", "maxWidth"]), { property: d } = a(e, ["size", "minHeight"]), { property: p } = a(e, ["size", "minWidth"]), { property: f } = a(e, [
1267
+ ]), { property: i } = a(e, ["size", "height"]), { property: l } = a(e, ["settings", "hover"]), { property: c } = a(e, ["settings", "loading"]), { property: u } = a(e, ["size", "maxHeight"]), { property: p } = a(e, ["size", "maxWidth"]), { property: d } = a(e, ["size", "minHeight"]), { property: m } = a(e, ["size", "minWidth"]), { property: f } = a(e, [
1268
1268
  "settings",
1269
1269
  "subtitle"
1270
- ]), { property: _ } = a(e, ["settings", "text"]), { theme: g } = J(), { property: I } = a(e, ["settings", "title"]), { property: v } = a(e, ["settings", "variant"]), { property: x } = a(e, ["size", "width"]);
1271
- return (b, h) => {
1270
+ ]), { property: g } = a(e, ["settings", "text"]), { theme: h } = J(), { property: I } = a(e, ["settings", "title"]), { property: v } = a(e, ["settings", "variant"]), { property: x } = a(e, ["size", "width"]);
1271
+ return (b, _) => {
1272
1272
  const V = W("v-card");
1273
1273
  return k(), C(s(U), { block: "" }, {
1274
1274
  default: P(() => [
@@ -1279,12 +1279,12 @@ const Vs = /* @__PURE__ */ Ke($s, [["render", Cs]]), Ps = /* @__PURE__ */ S({
1279
1279
  hover: s(l),
1280
1280
  loading: s(c),
1281
1281
  "max-height": s(u),
1282
- "max-width": s(m),
1282
+ "max-width": s(p),
1283
1283
  "min-height": s(d),
1284
- "min-width": s(p),
1284
+ "min-width": s(m),
1285
1285
  subtitle: s(f),
1286
- text: s(_),
1287
- theme: s(g),
1286
+ text: s(g),
1287
+ theme: s(h),
1288
1288
  title: s(I),
1289
1289
  variant: s(v),
1290
1290
  width: s(x)
@@ -1344,23 +1344,23 @@ const Vs = /* @__PURE__ */ Ke($s, [["render", Cs]]), Ps = /* @__PURE__ */ S({
1344
1344
  ]), { property: u } = a(e, [
1345
1345
  "settings",
1346
1346
  "draggable"
1347
- ]), { property: m } = a(e, ["settings", "filter"]), { property: d } = a(e, ["settings", "label"]), { property: p } = a(e, ["settings", "size"]), { property: f } = a(e, ["settings", "text"]), { theme: _ } = J(), { property: g } = a(e, ["settings", "tile"]), { property: I } = a(e, ["settings", "value"]), { property: v } = a(e, ["settings", "variant"]);
1347
+ ]), { property: p } = a(e, ["settings", "filter"]), { property: d } = a(e, ["settings", "label"]), { property: m } = a(e, ["settings", "size"]), { property: f } = a(e, ["settings", "text"]), { theme: g } = J(), { property: h } = a(e, ["settings", "tile"]), { property: I } = a(e, ["settings", "value"]), { property: v } = a(e, ["settings", "variant"]);
1348
1348
  return (x, b) => {
1349
- const h = W("v-chip");
1349
+ const _ = W("v-chip");
1350
1350
  return k(), C(s(U), { mask: "" }, {
1351
1351
  default: P(() => [
1352
- D(h, {
1352
+ D(_, {
1353
1353
  closable: s(o),
1354
1354
  color: s(i),
1355
1355
  density: s(l),
1356
1356
  disabled: s(c),
1357
1357
  draggable: s(u),
1358
- filter: s(m),
1358
+ filter: s(p),
1359
1359
  label: s(d),
1360
- size: s(p),
1360
+ size: s(m),
1361
1361
  text: s(f),
1362
- theme: s(_),
1363
- tile: s(g),
1362
+ theme: s(g),
1363
+ tile: s(h),
1364
1364
  value: s(I),
1365
1365
  variant: s(v)
1366
1366
  }, null, 8, ["closable", "color", "density", "disabled", "draggable", "filter", "label", "size", "text", "theme", "tile", "value", "variant"])
@@ -1389,22 +1389,22 @@ const Vs = /* @__PURE__ */ Ke($s, [["render", Cs]]), Ps = /* @__PURE__ */ S({
1389
1389
  ]), { property: u } = a(e, [
1390
1390
  "settings",
1391
1391
  "multiple"
1392
- ]), { property: m } = a(e, [
1392
+ ]), { property: p } = a(e, [
1393
1393
  "settings",
1394
1394
  "showArrows"
1395
- ]), { theme: d } = J(), { property: p } = a(e, ["settings", "value"]);
1396
- return (f, _) => {
1397
- const g = W("v-chip-group");
1398
- return k(), C(g, {
1399
- modelValue: s(p),
1400
- "onUpdate:modelValue": _[0] || (_[0] = (I) => ne(p) ? p.value = I : null),
1395
+ ]), { theme: d } = J(), { property: m } = a(e, ["settings", "value"]);
1396
+ return (f, g) => {
1397
+ const h = W("v-chip-group");
1398
+ return k(), C(h, {
1399
+ modelValue: s(m),
1400
+ "onUpdate:modelValue": g[0] || (g[0] = (I) => ne(m) ? m.value = I : null),
1401
1401
  column: s(o),
1402
1402
  direction: s(r),
1403
1403
  disabled: s(i),
1404
1404
  filter: s(l),
1405
1405
  mandatory: s(c),
1406
1406
  multiple: s(u),
1407
- "show-arrows": s(m),
1407
+ "show-arrows": s(p),
1408
1408
  theme: s(d)
1409
1409
  }, {
1410
1410
  default: P(() => [
@@ -1431,22 +1431,22 @@ const Vs = /* @__PURE__ */ Ke($s, [["render", Cs]]), Ps = /* @__PURE__ */ S({
1431
1431
  ]), { property: u } = a(e, [
1432
1432
  "settings",
1433
1433
  "hideCanvas"
1434
- ]), { property: m } = a(e, [
1434
+ ]), { property: p } = a(e, [
1435
1435
  "settings",
1436
1436
  "hideHeader"
1437
1437
  ]), { property: d } = a(e, [
1438
1438
  "settings",
1439
1439
  "hideInputs"
1440
- ]), { property: p } = a(e, [
1440
+ ]), { property: m } = a(e, [
1441
1441
  "settings",
1442
1442
  "hideSliders"
1443
1443
  ]), { property: f } = a(e, [
1444
1444
  "settings",
1445
1445
  "landscape"
1446
- ]), { property: _ } = a(e, [
1446
+ ]), { property: g } = a(e, [
1447
1447
  "settings",
1448
1448
  "showSwatches"
1449
- ]), { theme: g } = J();
1449
+ ]), { theme: h } = J();
1450
1450
  return (I, v) => {
1451
1451
  const x = W("v-color-picker");
1452
1452
  return k(), C(s(U), { mask: "" }, {
@@ -1454,13 +1454,13 @@ const Vs = /* @__PURE__ */ Ke($s, [["render", Cs]]), Ps = /* @__PURE__ */ S({
1454
1454
  D(x, {
1455
1455
  disabled: s(c),
1456
1456
  "hide-canvas": s(u),
1457
- "hide-header": s(m),
1457
+ "hide-header": s(p),
1458
1458
  "hide-inputs": s(d),
1459
- "hide-sliders": s(p),
1459
+ "hide-sliders": s(m),
1460
1460
  landscape: s(f),
1461
- "show-swatches": s(_),
1461
+ "show-swatches": s(g),
1462
1462
  style: de(l.value),
1463
- theme: s(g)
1463
+ theme: s(h)
1464
1464
  }, null, 8, ["disabled", "hide-canvas", "hide-header", "hide-inputs", "hide-sliders", "landscape", "show-swatches", "style", "theme"])
1465
1465
  ]),
1466
1466
  _: 1
@@ -1487,14 +1487,14 @@ const Vs = /* @__PURE__ */ Ke($s, [["render", Cs]]), Ps = /* @__PURE__ */ S({
1487
1487
  ]), { property: c } = a(e, [
1488
1488
  "settings",
1489
1489
  "singleLine"
1490
- ]), { theme: u } = J(), { property: m } = a(e, ["settings", "value"]);
1491
- return (d, p) => {
1490
+ ]), { theme: u } = J(), { property: p } = a(e, ["settings", "value"]);
1491
+ return (d, m) => {
1492
1492
  const f = W("v-combobox");
1493
1493
  return k(), C(s(U), { mask: "" }, {
1494
1494
  default: P(() => [
1495
1495
  D(f, {
1496
- modelValue: s(m),
1497
- "onUpdate:modelValue": p[0] || (p[0] = (_) => ne(m) ? m.value = _ : null),
1496
+ modelValue: s(p),
1497
+ "onUpdate:modelValue": m[0] || (m[0] = (g) => ne(p) ? p.value = g : null),
1498
1498
  "hide-details": s(o),
1499
1499
  label: s(r),
1500
1500
  placeholder: s(i),
@@ -1518,14 +1518,14 @@ const Vs = /* @__PURE__ */ Ke($s, [["render", Cs]]), Ps = /* @__PURE__ */ S({
1518
1518
  const n = t, { node: e } = L(n), o = we(), r = le(), { property: i } = a(e, [
1519
1519
  "settings",
1520
1520
  "backgroundColor"
1521
- ]), { color: l } = Q(i), { applySize: c } = be(n, e), { applyMargin: u } = un(e), { applyPadding: m } = mn(e), { applyBorder: d } = cn(e), p = w(() => {
1522
- const f = {}, _ = r.value?.type;
1523
- return o === "page" ? _ === "common" ? (c(f), u(f), m(f), d(f), l.value && (f.backgroundColor = l.value)) : console.assert(!1) : o === "comp" && _ === "common" ? (c(f), u(f), m(f), d(f), l.value && (f.backgroundColor = l.value)) : console.assert(!1), f;
1521
+ ]), { color: l } = Q(i), { applySize: c } = be(n, e), { applyMargin: u } = un(e), { applyPadding: p } = mn(e), { applyBorder: d } = cn(e), m = w(() => {
1522
+ const f = {}, g = r.value?.type;
1523
+ return o === "page" ? g === "common" ? (c(f), u(f), p(f), d(f), l.value && (f.backgroundColor = l.value)) : console.assert(!1) : o === "comp" && g === "common" ? (c(f), u(f), p(f), d(f), l.value && (f.backgroundColor = l.value)) : console.assert(!1), f;
1524
1524
  });
1525
- return (f, _) => (k(), C(s(U), { block: "" }, {
1525
+ return (f, g) => (k(), C(s(U), { block: "" }, {
1526
1526
  default: P(() => [
1527
1527
  We("div", {
1528
- style: de(p.value)
1528
+ style: de(m.value)
1529
1529
  }, [
1530
1530
  F(f.$slots, "default")
1531
1531
  ], 4)
@@ -1546,8 +1546,8 @@ const Vs = /* @__PURE__ */ Ke($s, [["render", Cs]]), Ps = /* @__PURE__ */ S({
1546
1546
  const i = w(() => n.refContext.compId);
1547
1547
  et(i, r), ie(e) && tt(r, "slot", "", "", _e());
1548
1548
  function l(u) {
1549
- const m = ke[u.key];
1550
- if (!m) {
1549
+ const p = ke[u.key];
1550
+ if (!p) {
1551
1551
  console.assert(!1, `element not found key=${u.key}`);
1552
1552
  return;
1553
1553
  }
@@ -1558,15 +1558,15 @@ const Vs = /* @__PURE__ */ Ke($s, [["render", Cs]]), Ps = /* @__PURE__ */ S({
1558
1558
  parent: n.refContext,
1559
1559
  compId: u.compId
1560
1560
  }), K(
1561
- m.comp,
1561
+ p.comp,
1562
1562
  {
1563
1563
  key: u.id,
1564
1564
  ...d
1565
1565
  },
1566
1566
  {
1567
1567
  default: () => {
1568
- if (!m.leaf)
1569
- return u.children?.map((p) => l(p));
1568
+ if (!p.leaf)
1569
+ return u.children?.map((m) => l(m));
1570
1570
  }
1571
1571
  }
1572
1572
  );
@@ -1584,7 +1584,7 @@ const Vs = /* @__PURE__ */ Ke($s, [["render", Cs]]), Ps = /* @__PURE__ */ S({
1584
1584
  { default: () => r.value.view.nodeLites.map((d) => l(d)) }
1585
1585
  );
1586
1586
  };
1587
- return (u, m) => (k(), C(c));
1587
+ return (u, p) => (k(), C(c));
1588
1588
  }
1589
1589
  }), Rs = /* @__PURE__ */ S({
1590
1590
  __name: "index",
@@ -1600,10 +1600,10 @@ const Vs = /* @__PURE__ */ Ke($s, [["render", Cs]]), Ps = /* @__PURE__ */ S({
1600
1600
  ]), { property: i } = a(e, [
1601
1601
  "settings",
1602
1602
  "fixedHeader"
1603
- ]), { property: l } = a(e, ["settings", "headers"]), { property: c } = a(e, ["size", "height"]), { property: u } = a(e, ["settings", "hover"]), { property: m } = a(e, ["settings", "data"], !0), { property: d } = a(e, ["settings", "loading"]), { property: p } = a(e, [
1603
+ ]), { property: l } = a(e, ["settings", "headers"]), { property: c } = a(e, ["size", "height"]), { property: u } = a(e, ["settings", "hover"]), { property: p } = a(e, ["settings", "data"], !0), { property: d } = a(e, ["settings", "loading"]), { property: m } = a(e, [
1604
1604
  "settings",
1605
1605
  "multiSort"
1606
- ]), { theme: f } = J(), { property: _ } = a(e, ["size", "width"]), { property: g } = a(e, ["slots", "columns"]);
1606
+ ]), { theme: f } = J(), { property: g } = a(e, ["size", "width"]), { property: h } = a(e, ["slots", "columns"]);
1607
1607
  return (I, v) => {
1608
1608
  const x = W("v-data-table");
1609
1609
  return k(), C(s(U), {
@@ -1618,20 +1618,20 @@ const Vs = /* @__PURE__ */ Ke($s, [["render", Cs]]), Ps = /* @__PURE__ */ S({
1618
1618
  headers: s(l),
1619
1619
  height: s(c),
1620
1620
  hover: s(u),
1621
- items: s(m),
1621
+ items: s(p),
1622
1622
  loading: s(d),
1623
- "multi-sort": s(p),
1623
+ "multi-sort": s(m),
1624
1624
  theme: s(f),
1625
- width: s(_)
1625
+ width: s(g)
1626
1626
  }, on({ _: 2 }, [
1627
- ii(s(g), ({ key: b, comp: h }) => ({
1627
+ ii(s(h), ({ key: b, comp: _ }) => ({
1628
1628
  name: `item.${b}`,
1629
1629
  fn: P(({ value: V }) => [
1630
1630
  D(Bs, {
1631
1631
  "node-id": n.nodeId,
1632
1632
  "ref-context": {
1633
1633
  parent: n.refContext,
1634
- compId: h
1634
+ compId: _
1635
1635
  },
1636
1636
  value: V
1637
1637
  }, null, 8, ["node-id", "ref-context", "value"])
@@ -1703,17 +1703,17 @@ const Vs = /* @__PURE__ */ Ke($s, [["render", Cs]]), Ps = /* @__PURE__ */ S({
1703
1703
  ]), { property: l } = a(e, [
1704
1704
  "settings",
1705
1705
  "disabled"
1706
- ]), { property: c } = a(e, ["settings", "label"]), { property: u } = a(e, ["settings", "loading"]), { property: m } = a(e, [
1706
+ ]), { property: c } = a(e, ["settings", "label"]), { property: u } = a(e, ["settings", "loading"]), { property: p } = a(e, [
1707
1707
  "settings",
1708
1708
  "multiple"
1709
1709
  ]), { property: d } = a(e, [
1710
1710
  "settings",
1711
1711
  "readonly"
1712
- ]), { property: p } = a(e, ["settings", "reverse"]), { property: f } = a(e, [
1712
+ ]), { property: m } = a(e, ["settings", "reverse"]), { property: f } = a(e, [
1713
1713
  "settings",
1714
1714
  "singleLine"
1715
1715
  ]);
1716
- return (_, g) => {
1716
+ return (g, h) => {
1717
1717
  const I = W("v-file-input");
1718
1718
  return k(), C(s(U), {
1719
1719
  block: "",
@@ -1727,9 +1727,9 @@ const Vs = /* @__PURE__ */ Ke($s, [["render", Cs]]), Ps = /* @__PURE__ */ S({
1727
1727
  disabled: s(l),
1728
1728
  label: s(c),
1729
1729
  loading: s(u),
1730
- multiple: s(m),
1730
+ multiple: s(p),
1731
1731
  readonly: s(d),
1732
- reverse: s(p),
1732
+ reverse: s(m),
1733
1733
  "single-line": s(f)
1734
1734
  }, null, 8, ["chips", "density", "direction", "disabled", "label", "loading", "multiple", "readonly", "reverse", "single-line"])
1735
1735
  ]),
@@ -1745,27 +1745,27 @@ const Vs = /* @__PURE__ */ Ke($s, [["render", Cs]]), Ps = /* @__PURE__ */ S({
1745
1745
  refContext: {}
1746
1746
  },
1747
1747
  setup(t) {
1748
- const n = t, { node: e } = L(n), o = Oe(), r = we(), i = le(), { applySize: l } = be(n, e), { applyMargin: c } = un(e), { applyPadding: u } = mn(e), { applyBorder: m } = cn(e), { property: d } = a(e, [
1748
+ const n = t, { node: e } = L(n), o = Oe(), r = we(), i = le(), { applySize: l } = be(n, e), { applyMargin: c } = un(e), { applyPadding: u } = mn(e), { applyBorder: p } = cn(e), { property: d } = a(e, [
1749
1749
  "settings",
1750
1750
  "backgroundColor"
1751
- ]), { color: p } = Q(d), f = (g) => {
1752
- p.value && (g.backgroundColor = p.value), g.display = "flex";
1751
+ ]), { color: m } = Q(d), f = (h) => {
1752
+ m.value && (h.backgroundColor = m.value), h.display = "flex";
1753
1753
  const I = ut(o.value.width), v = Fe(I, e.value.settings?.direction);
1754
- v === "row" ? g.flexDirection = "row" : v === "rowReverse" ? g.flexDirection = "row-reverse" : v === "column" ? g.flexDirection = "column" : v === "columnReverse" && (g.flexDirection = "column-reverse");
1754
+ v === "row" ? h.flexDirection = "row" : v === "rowReverse" ? h.flexDirection = "row-reverse" : v === "column" ? h.flexDirection = "column" : v === "columnReverse" && (h.flexDirection = "column-reverse");
1755
1755
  const x = Fe(I, e.value.settings?.wrap);
1756
- x === "no" ? g.flexWrap = "nowrap" : x === "yes" ? g.flexWrap = "wrap" : x === "reverse" && (g.flexWrap = "wrap-reverse");
1756
+ x === "no" ? h.flexWrap = "nowrap" : x === "yes" ? h.flexWrap = "wrap" : x === "reverse" && (h.flexWrap = "wrap-reverse");
1757
1757
  const b = Fe(I, e.value.settings?.mainAlign);
1758
- b === "start" ? g.justifyContent = "flex-start" : b === "end" ? g.justifyContent = "flex-end" : b === "center" ? g.justifyContent = "center" : b === "spaceBetween" ? g.justifyContent = "space-between" : b === "spaceAround" ? g.justifyContent = "space-around" : b === "spaceEvenly" && (g.justifyContent = "space-evenly");
1759
- const h = Fe(I, e.value.settings?.crossAlign);
1760
- h === "start" ? g.alignItems = "flex-start" : h === "end" ? g.alignItems = "flex-end" : h === "center" ? g.alignItems = "center" : h === "baseline" ? g.alignItems = "baseline" : h === "stretch" && (g.alignItems = "stretch");
1761
- }, _ = w(() => {
1762
- const g = {}, I = i.value?.type;
1763
- return r === "page" ? I === "common" ? (l(g), c(g), u(g), m(g), f(g)) : console.assert(!1) : r === "comp" && I === "common" ? (l(g), c(g), u(g), m(g), f(g)) : console.assert(!1), g;
1758
+ b === "start" ? h.justifyContent = "flex-start" : b === "end" ? h.justifyContent = "flex-end" : b === "center" ? h.justifyContent = "center" : b === "spaceBetween" ? h.justifyContent = "space-between" : b === "spaceAround" ? h.justifyContent = "space-around" : b === "spaceEvenly" && (h.justifyContent = "space-evenly");
1759
+ const _ = Fe(I, e.value.settings?.crossAlign);
1760
+ _ === "start" ? h.alignItems = "flex-start" : _ === "end" ? h.alignItems = "flex-end" : _ === "center" ? h.alignItems = "center" : _ === "baseline" ? h.alignItems = "baseline" : _ === "stretch" && (h.alignItems = "stretch");
1761
+ }, g = w(() => {
1762
+ const h = {}, I = i.value?.type;
1763
+ return r === "page" ? I === "common" ? (l(h), c(h), u(h), p(h), f(h)) : console.assert(!1) : r === "comp" && I === "common" ? (l(h), c(h), u(h), p(h), f(h)) : console.assert(!1), h;
1764
1764
  });
1765
- return (g, I) => (k(), te("div", {
1766
- style: de(_.value)
1765
+ return (h, I) => (k(), te("div", {
1766
+ style: de(g.value)
1767
1767
  }, [
1768
- F(g.$slots, "default")
1768
+ F(h.$slots, "default")
1769
1769
  ], 4));
1770
1770
  }
1771
1771
  }), js = /* @__PURE__ */ S({
@@ -1777,13 +1777,13 @@ const Vs = /* @__PURE__ */ Ke($s, [["render", Cs]]), Ps = /* @__PURE__ */ S({
1777
1777
  },
1778
1778
  setup(t) {
1779
1779
  const n = t, { node: e } = L(n), o = we(), r = le(), { applySize: i } = be(n, e), { property: l } = a(e, ["settings", "grow"]), { property: c } = a(e, ["settings", "shrink"]), u = w(() => {
1780
- const m = {}, d = r.value?.type;
1781
- return o === "page" ? d === "common" ? (i(m), m.flexGrow = l.value ? 1 : 0, m.flexShrink = c.value ? 1 : 0) : console.assert(!1) : o === "comp" && d === "common" ? (i(m), m.flexGrow = l.value ? 1 : 0, m.flexShrink = c.value ? 1 : 0) : console.assert(!1), m;
1780
+ const p = {}, d = r.value?.type;
1781
+ return o === "page" ? d === "common" ? (i(p), p.flexGrow = l.value ? 1 : 0, p.flexShrink = c.value ? 1 : 0) : console.assert(!1) : o === "comp" && d === "common" ? (i(p), p.flexGrow = l.value ? 1 : 0, p.flexShrink = c.value ? 1 : 0) : console.assert(!1), p;
1782
1782
  });
1783
- return (m, d) => (k(), te("div", {
1783
+ return (p, d) => (k(), te("div", {
1784
1784
  style: de(u.value)
1785
1785
  }, [
1786
- F(m.$slots, "default")
1786
+ F(p.$slots, "default")
1787
1787
  ], 4));
1788
1788
  }
1789
1789
  }), Gs = /* @__PURE__ */ S({
@@ -1800,9 +1800,9 @@ const Vs = /* @__PURE__ */ Ke($s, [["render", Cs]]), Ps = /* @__PURE__ */ S({
1800
1800
  ]), { property: u } = a(e, [
1801
1801
  "settings",
1802
1802
  "backgroundColor"
1803
- ]), { color: m } = Q(u), { applySize: d } = be(n, e), { applyMargin: p } = un(e), { applyPadding: f } = mn(e), { applyBorder: _ } = cn(e), g = w(() => {
1803
+ ]), { color: p } = Q(u), { applySize: d } = be(n, e), { applyMargin: m } = un(e), { applyPadding: f } = mn(e), { applyBorder: g } = cn(e), h = w(() => {
1804
1804
  const v = {}, x = r.value?.type;
1805
- return o === "page" ? x === "common" ? (d(v), p(v), f(v), _(v), m.value && (v.backgroundColor = m.value)) : console.assert(!1) : o === "comp" && x === "common" ? (d(v), p(v), f(v), _(v), m.value && (v.backgroundColor = m.value)) : console.assert(!1), v;
1805
+ return o === "page" ? x === "common" ? (d(v), m(v), f(v), g(v), p.value && (v.backgroundColor = p.value)) : console.assert(!1) : o === "comp" && x === "common" ? (d(v), m(v), f(v), g(v), p.value && (v.backgroundColor = p.value)) : console.assert(!1), v;
1806
1806
  }), I = () => {
1807
1807
  i && i.callFunction(
1808
1808
  "__triggerEventV1__",
@@ -1813,9 +1813,9 @@ const Vs = /* @__PURE__ */ Ke($s, [["render", Cs]]), Ps = /* @__PURE__ */ S({
1813
1813
  const b = W("v-form");
1814
1814
  return k(), C(b, {
1815
1815
  modelValue: s(l),
1816
- "onUpdate:modelValue": x[0] || (x[0] = (h) => ne(l) ? l.value = h : null),
1816
+ "onUpdate:modelValue": x[0] || (x[0] = (_) => ne(l) ? l.value = _ : null),
1817
1817
  "fast-fail": s(c),
1818
- style: de(g.value),
1818
+ style: de(h.value),
1819
1819
  onSubmit: ri(I, ["prevent"])
1820
1820
  }, {
1821
1821
  default: P(() => [
@@ -1837,9 +1837,9 @@ const Vs = /* @__PURE__ */ Ke($s, [["render", Cs]]), Ps = /* @__PURE__ */ S({
1837
1837
  "settings",
1838
1838
  "disabled"
1839
1839
  ]), { property: l } = a(e, ["settings", "icon"]), { property: c } = a(e, ["settings", "size"]), { theme: u } = J();
1840
- return (m, d) => {
1841
- const p = W("v-icon");
1842
- return k(), C(p, {
1840
+ return (p, d) => {
1841
+ const m = W("v-icon");
1842
+ return k(), C(m, {
1843
1843
  color: s(r),
1844
1844
  disabled: s(i),
1845
1845
  icon: s(l),
@@ -1860,15 +1860,15 @@ const Vs = /* @__PURE__ */ Ke($s, [["render", Cs]]), Ps = /* @__PURE__ */ S({
1860
1860
  return mt(n.nodeId, "open", () => {
1861
1861
  if (!o || !o.vm)
1862
1862
  return;
1863
- const { vm: u } = o, m = u.getProp(u.global, "__pointerPosX__"), d = u.getProp(u.global, "__pointerPosY__");
1864
- r.value = u.getNumber(m), i.value = u.getNumber(d), m.dispose(), d.dispose(), c.value = !0;
1863
+ const { vm: u } = o, p = u.getProp(u.global, "__pointerPosX__"), d = u.getProp(u.global, "__pointerPosY__");
1864
+ r.value = u.getNumber(p), i.value = u.getNumber(d), p.dispose(), d.dispose(), c.value = !0;
1865
1865
  }), mt(n.nodeId, "close", () => {
1866
1866
  o && (c.value = !1);
1867
- }), (u, m) => {
1867
+ }), (u, p) => {
1868
1868
  const d = W("v-menu");
1869
1869
  return k(), C(d, {
1870
1870
  modelValue: s(c),
1871
- "onUpdate:modelValue": m[0] || (m[0] = (p) => ne(c) ? c.value = p : null),
1871
+ "onUpdate:modelValue": p[0] || (p[0] = (m) => ne(c) ? c.value = m : null),
1872
1872
  attach: "menuContainer",
1873
1873
  "location-strategy": "connected",
1874
1874
  scrim: "transparent",
@@ -1909,10 +1909,10 @@ const Vs = /* @__PURE__ */ Ke($s, [["render", Cs]]), Ps = /* @__PURE__ */ S({
1909
1909
  ]), { property: l } = a(e, [
1910
1910
  "settings",
1911
1911
  "hideDetails"
1912
- ]), { property: c } = a(e, ["settings", "label"]), { property: u } = a(e, ["settings", "loading"]), { property: m } = a(e, ["settings", "max"]), { property: d } = a(e, ["size", "maxWidth"]), { property: p } = a(e, ["settings", "min"]), { property: f } = a(e, ["size", "minWidth"]), { property: _ } = a(e, [
1912
+ ]), { property: c } = a(e, ["settings", "label"]), { property: u } = a(e, ["settings", "loading"]), { property: p } = a(e, ["settings", "max"]), { property: d } = a(e, ["size", "maxWidth"]), { property: m } = a(e, ["settings", "min"]), { property: f } = a(e, ["size", "minWidth"]), { property: g } = a(e, [
1913
1913
  "settings",
1914
1914
  "placeholder"
1915
- ]), { property: g } = a(e, [
1915
+ ]), { property: h } = a(e, [
1916
1916
  "settings",
1917
1917
  "precision"
1918
1918
  ]), { property: I } = a(e, ["settings", "prefix"]), { property: v } = a(e, [
@@ -1926,7 +1926,7 @@ const Vs = /* @__PURE__ */ Ke($s, [["render", Cs]]), Ps = /* @__PURE__ */ S({
1926
1926
  ]), { property: b } = a(e, [
1927
1927
  "settings",
1928
1928
  "readonly"
1929
- ]), { property: h } = a(e, ["settings", "reverse"]), { property: V } = a(e, [
1929
+ ]), { property: _ } = a(e, ["settings", "reverse"]), { property: V } = a(e, [
1930
1930
  "settings",
1931
1931
  "singleLine"
1932
1932
  ]), { property: R } = a(e, ["settings", "step"]), { property: N } = a(e, ["settings", "suffix"]), { theme: G } = J(), { property: j } = a(e, ["settings", "value"]), { property: z } = a(e, ["settings", "variant"]), { property: q } = a(e, ["size", "width"]);
@@ -1946,17 +1946,17 @@ const Vs = /* @__PURE__ */ Ke($s, [["render", Cs]]), Ps = /* @__PURE__ */ S({
1946
1946
  "hide-details": s(l),
1947
1947
  label: s(c),
1948
1948
  loading: s(u),
1949
- max: s(m),
1949
+ max: s(p),
1950
1950
  "max-width": s(d),
1951
- min: s(p),
1951
+ min: s(m),
1952
1952
  "min-width": s(f),
1953
- placeholder: s(_),
1954
- precision: s(g),
1953
+ placeholder: s(g),
1954
+ precision: s(h),
1955
1955
  prefix: s(I),
1956
1956
  "prepend-icon": s(v),
1957
1957
  "prepend-inner-icon": s(x),
1958
1958
  readonly: s(b),
1959
- reverse: s(h),
1959
+ reverse: s(_),
1960
1960
  "single-line": s(V),
1961
1961
  step: s(R),
1962
1962
  suffix: s(N),
@@ -1983,7 +1983,7 @@ const Vs = /* @__PURE__ */ Ke($s, [["render", Cs]]), Ps = /* @__PURE__ */ S({
1983
1983
  ]), { property: l } = a(e, ["settings", "length"]), { property: c } = a(e, [
1984
1984
  "settings",
1985
1985
  "showFirstLastPage"
1986
- ]), { property: u } = a(e, ["settings", "size"]), { property: m } = a(e, ["settings", "start"]), { theme: d } = J(), { property: p } = a(e, ["settings", "tile"]), { property: f } = a(e, ["settings", "value"]), { property: _ } = a(e, ["settings", "variant"]), g = w(() => {
1986
+ ]), { property: u } = a(e, ["settings", "size"]), { property: p } = a(e, ["settings", "start"]), { theme: d } = J(), { property: m } = a(e, ["settings", "tile"]), { property: f } = a(e, ["settings", "value"]), { property: g } = a(e, ["settings", "variant"]), h = w(() => {
1987
1987
  const I = {};
1988
1988
  return o === "editor" && (I.pointerEvents = "none"), I;
1989
1989
  });
@@ -2002,11 +2002,11 @@ const Vs = /* @__PURE__ */ Ke($s, [["render", Cs]]), Ps = /* @__PURE__ */ S({
2002
2002
  length: s(l),
2003
2003
  "show-first-last-page": s(c),
2004
2004
  size: s(u),
2005
- start: s(m),
2006
- style: de(g.value),
2005
+ start: s(p),
2006
+ style: de(h.value),
2007
2007
  theme: s(d),
2008
- tile: s(p),
2009
- variant: s(_)
2008
+ tile: s(m),
2009
+ variant: s(g)
2010
2010
  }, null, 8, ["modelValue", "density", "disabled", "length", "show-first-last-page", "size", "start", "style", "theme", "tile", "variant"])
2011
2011
  ]),
2012
2012
  _: 1
@@ -2027,16 +2027,16 @@ const Vs = /* @__PURE__ */ Ke($s, [["render", Cs]]), Ps = /* @__PURE__ */ S({
2027
2027
  ]), { property: c } = a(e, ["settings", "label"]), { property: u } = a(e, [
2028
2028
  "settings",
2029
2029
  "readonly"
2030
- ]), { theme: m } = J(), { property: d } = a(e, ["settings", "value"]);
2031
- return (p, f) => {
2032
- const _ = W("v-radio");
2033
- return k(), C(_, {
2030
+ ]), { theme: p } = J(), { property: d } = a(e, ["settings", "value"]);
2031
+ return (m, f) => {
2032
+ const g = W("v-radio");
2033
+ return k(), C(g, {
2034
2034
  color: s(r),
2035
2035
  density: s(i),
2036
2036
  disabled: s(l),
2037
2037
  label: s(c),
2038
2038
  readonly: s(u),
2039
- theme: s(m),
2039
+ theme: s(p),
2040
2040
  value: s(d)
2041
2041
  }, null, 8, ["color", "density", "disabled", "label", "readonly", "theme", "value"]);
2042
2042
  };
@@ -2058,14 +2058,14 @@ const Vs = /* @__PURE__ */ Ke($s, [["render", Cs]]), Ps = /* @__PURE__ */ S({
2058
2058
  ]), { property: l } = a(e, ["settings", "inline"]), { property: c } = a(e, [
2059
2059
  "settings",
2060
2060
  "readonly"
2061
- ]), { theme: u } = J(), { property: m } = a(e, ["settings", "value"]);
2062
- return (d, p) => {
2061
+ ]), { theme: u } = J(), { property: p } = a(e, ["settings", "value"]);
2062
+ return (d, m) => {
2063
2063
  const f = W("v-radio-group");
2064
2064
  return k(), C(s(U), null, {
2065
2065
  default: P(() => [
2066
2066
  D(f, {
2067
- modelValue: s(m),
2068
- "onUpdate:modelValue": p[0] || (p[0] = (_) => ne(m) ? m.value = _ : null),
2067
+ modelValue: s(p),
2068
+ "onUpdate:modelValue": m[0] || (m[0] = (g) => ne(p) ? p.value = g : null),
2069
2069
  density: s(o),
2070
2070
  direction: s(r),
2071
2071
  disabled: s(i),
@@ -2100,18 +2100,18 @@ const Vs = /* @__PURE__ */ Ke($s, [["render", Cs]]), Ps = /* @__PURE__ */ S({
2100
2100
  ]), { property: l } = a(e, [
2101
2101
  "settings",
2102
2102
  "hideDetails"
2103
- ]), { property: c } = a(e, ["settings", "label"]), { property: u } = a(e, ["settings", "max"]), { property: m } = a(e, ["settings", "min"]), { property: d } = a(e, [
2103
+ ]), { property: c } = a(e, ["settings", "label"]), { property: u } = a(e, ["settings", "max"]), { property: p } = a(e, ["settings", "min"]), { property: d } = a(e, [
2104
2104
  "settings",
2105
2105
  "readonly"
2106
- ]), { property: p } = a(e, [
2106
+ ]), { property: m } = a(e, [
2107
2107
  "settings",
2108
2108
  "showTicks"
2109
2109
  ]), f = w(() => {
2110
- if (p.value === "always")
2110
+ if (m.value === "always")
2111
2111
  return "always";
2112
- if (p.value === "show")
2112
+ if (m.value === "show")
2113
2113
  return !0;
2114
- }), { property: _ } = a(e, ["settings", "step"]), { theme: g } = J(), { property: I } = a(e, [
2114
+ }), { property: g } = a(e, ["settings", "step"]), { theme: h } = J(), { property: I } = a(e, [
2115
2115
  "settings",
2116
2116
  "thumbLabel"
2117
2117
  ]), v = w(() => {
@@ -2122,7 +2122,7 @@ const Vs = /* @__PURE__ */ Ke($s, [["render", Cs]]), Ps = /* @__PURE__ */ S({
2122
2122
  }), { property: x } = a(e, [
2123
2123
  "settings",
2124
2124
  "thumbSize"
2125
- ]), { property: b } = a(e, ["settings", "ticks"]), h = w(() => {
2125
+ ]), { property: b } = a(e, ["settings", "ticks"]), _ = w(() => {
2126
2126
  if (!b.value)
2127
2127
  return;
2128
2128
  const j = {};
@@ -2163,15 +2163,15 @@ const Vs = /* @__PURE__ */ Ke($s, [["render", Cs]]), Ps = /* @__PURE__ */ S({
2163
2163
  "hide-details": s(l),
2164
2164
  label: s(c),
2165
2165
  max: s(u),
2166
- min: s(m),
2166
+ min: s(p),
2167
2167
  readonly: s(d),
2168
2168
  "show-ticks": f.value,
2169
- step: s(_),
2170
- theme: s(g),
2169
+ step: s(g),
2170
+ theme: s(h),
2171
2171
  "thumb-label": v.value,
2172
2172
  "thumb-size": s(x),
2173
2173
  "tick-size": s(V),
2174
- ticks: h.value
2174
+ ticks: _.value
2175
2175
  }, null, 8, ["modelValue", "density", "direction", "disabled", "hide-details", "label", "max", "min", "readonly", "show-ticks", "step", "theme", "thumb-label", "thumb-size", "tick-size", "ticks"])
2176
2176
  ]),
2177
2177
  _: 1
@@ -2195,24 +2195,24 @@ const Vs = /* @__PURE__ */ Ke($s, [["render", Cs]]), Ps = /* @__PURE__ */ S({
2195
2195
  ]), { property: l } = a(e, [
2196
2196
  "settings",
2197
2197
  "halfIncrements"
2198
- ]), { property: c } = a(e, ["settings", "hover"]), { property: u } = a(e, ["settings", "length"]), { property: m } = a(e, [
2198
+ ]), { property: c } = a(e, ["settings", "hover"]), { property: u } = a(e, ["settings", "length"]), { property: p } = a(e, [
2199
2199
  "settings",
2200
2200
  "readonly"
2201
- ]), { theme: d } = J(), { property: p } = a(e, ["settings", "value"]);
2202
- return (f, _) => {
2203
- const g = W("v-rating");
2201
+ ]), { theme: d } = J(), { property: m } = a(e, ["settings", "value"]);
2202
+ return (f, g) => {
2203
+ const h = W("v-rating");
2204
2204
  return k(), C(s(U), { mask: "" }, {
2205
2205
  default: P(() => [
2206
- D(g, {
2207
- modelValue: s(p),
2208
- "onUpdate:modelValue": _[0] || (_[0] = (I) => ne(p) ? p.value = I : null),
2206
+ D(h, {
2207
+ modelValue: s(m),
2208
+ "onUpdate:modelValue": g[0] || (g[0] = (I) => ne(m) ? m.value = I : null),
2209
2209
  clearable: s(o),
2210
2210
  density: s(r),
2211
2211
  disabled: s(i),
2212
2212
  "half-increments": s(l),
2213
2213
  hover: s(c),
2214
2214
  length: s(u),
2215
- readonly: s(m),
2215
+ readonly: s(p),
2216
2216
  theme: s(d)
2217
2217
  }, null, 8, ["modelValue", "clearable", "density", "disabled", "half-increments", "hover", "length", "readonly", "theme"])
2218
2218
  ]),
@@ -2240,8 +2240,8 @@ const Vs = /* @__PURE__ */ Ke($s, [["render", Cs]]), Ps = /* @__PURE__ */ S({
2240
2240
  ]), { property: c } = a(e, [
2241
2241
  "settings",
2242
2242
  "singleLine"
2243
- ]), { theme: u } = J(), { property: m } = a(e, ["settings", "value"]);
2244
- return (d, p) => {
2243
+ ]), { theme: u } = J(), { property: p } = a(e, ["settings", "value"]);
2244
+ return (d, m) => {
2245
2245
  const f = W("v-select");
2246
2246
  return k(), C(s(U), {
2247
2247
  block: "",
@@ -2249,8 +2249,8 @@ const Vs = /* @__PURE__ */ Ke($s, [["render", Cs]]), Ps = /* @__PURE__ */ S({
2249
2249
  }, {
2250
2250
  default: P(() => [
2251
2251
  D(f, {
2252
- modelValue: s(m),
2253
- "onUpdate:modelValue": p[0] || (p[0] = (_) => ne(m) ? m.value = _ : null),
2252
+ modelValue: s(p),
2253
+ "onUpdate:modelValue": m[0] || (m[0] = (g) => ne(p) ? p.value = g : null),
2254
2254
  "hide-details": s(o),
2255
2255
  label: s(r),
2256
2256
  placeholder: s(i),
@@ -2280,27 +2280,27 @@ const Vs = /* @__PURE__ */ Ke($s, [["render", Cs]]), Ps = /* @__PURE__ */ S({
2280
2280
  ]), { property: c } = a(e, [
2281
2281
  "settings",
2282
2282
  "hideDetails"
2283
- ]), { property: u } = a(e, ["settings", "label"]), { property: m } = a(e, ["settings", "max"]), { property: d } = a(e, ["settings", "min"]), { property: p } = a(e, [
2283
+ ]), { property: u } = a(e, ["settings", "label"]), { property: p } = a(e, ["settings", "max"]), { property: d } = a(e, ["settings", "min"]), { property: m } = a(e, [
2284
2284
  "settings",
2285
2285
  "readonly"
2286
- ]), { property: f } = a(e, ["settings", "reverse"]), { property: _ } = a(e, [
2286
+ ]), { property: f } = a(e, ["settings", "reverse"]), { property: g } = a(e, [
2287
2287
  "settings",
2288
2288
  "showTicks"
2289
- ]), g = w(() => {
2290
- if (_.value === "always")
2289
+ ]), h = w(() => {
2290
+ if (g.value === "always")
2291
2291
  return "always";
2292
- if (_.value === "show")
2292
+ if (g.value === "show")
2293
2293
  return !0;
2294
2294
  }), { property: I } = a(e, ["settings", "step"]), { theme: v } = J(), { property: x } = a(e, [
2295
2295
  "settings",
2296
2296
  "thumbColor"
2297
- ]), { color: b } = Q(x), { property: h } = a(e, [
2297
+ ]), { color: b } = Q(x), { property: _ } = a(e, [
2298
2298
  "settings",
2299
2299
  "thumbLabel"
2300
2300
  ]), V = w(() => {
2301
- if (h.value === "always")
2301
+ if (_.value === "always")
2302
2302
  return "always";
2303
- if (h.value === "show")
2303
+ if (_.value === "show")
2304
2304
  return !0;
2305
2305
  }), { property: R } = a(e, [
2306
2306
  "settings",
@@ -2335,11 +2335,11 @@ const Vs = /* @__PURE__ */ Ke($s, [["render", Cs]]), Ps = /* @__PURE__ */ S({
2335
2335
  disabled: s(l),
2336
2336
  "hide-details": s(c),
2337
2337
  label: s(u),
2338
- max: s(m),
2338
+ max: s(p),
2339
2339
  min: s(d),
2340
- readonly: s(p),
2340
+ readonly: s(m),
2341
2341
  reverse: s(f),
2342
- "show-ticks": g.value,
2342
+ "show-ticks": h.value,
2343
2343
  step: s(I),
2344
2344
  theme: s(v),
2345
2345
  "thumb-color": s(b),
@@ -2393,7 +2393,7 @@ const Vs = /* @__PURE__ */ Ke($s, [["render", Cs]]), Ps = /* @__PURE__ */ S({
2393
2393
  const u = W("v-stepper");
2394
2394
  return k(), C(u, {
2395
2395
  modelValue: s(i),
2396
- "onUpdate:modelValue": c[0] || (c[0] = (m) => ne(i) ? i.value = m : null),
2396
+ "onUpdate:modelValue": c[0] || (c[0] = (p) => ne(i) ? i.value = p : null),
2397
2397
  "hide-actions": s(o),
2398
2398
  theme: s(r)
2399
2399
  }, {
@@ -2482,23 +2482,23 @@ const ul = /* @__PURE__ */ Ke(al, [["render", cl]]), ml = /* @__PURE__ */ S({
2482
2482
  ]), { property: c } = a(e, [
2483
2483
  "settings",
2484
2484
  "indeterminate"
2485
- ]), { property: u } = a(e, ["settings", "inline"]), { property: m } = a(e, ["settings", "inset"]), { property: d } = a(e, ["settings", "label"]), { property: p } = a(e, ["settings", "loading"]), { theme: f } = J(), { property: _ } = a(e, ["settings", "value"]);
2486
- return (g, I) => {
2485
+ ]), { property: u } = a(e, ["settings", "inline"]), { property: p } = a(e, ["settings", "inset"]), { property: d } = a(e, ["settings", "label"]), { property: m } = a(e, ["settings", "loading"]), { theme: f } = J(), { property: g } = a(e, ["settings", "value"]);
2486
+ return (h, I) => {
2487
2487
  const v = W("v-switch");
2488
2488
  return k(), C(s(U), { mask: "" }, {
2489
2489
  default: P(() => [
2490
2490
  D(v, {
2491
- modelValue: s(_),
2492
- "onUpdate:modelValue": I[0] || (I[0] = (x) => ne(_) ? _.value = x : null),
2491
+ modelValue: s(g),
2492
+ "onUpdate:modelValue": I[0] || (I[0] = (x) => ne(g) ? g.value = x : null),
2493
2493
  density: s(o),
2494
2494
  direction: s(r),
2495
2495
  disabled: s(i),
2496
2496
  "hide-details": s(l),
2497
2497
  indeterminate: s(c),
2498
2498
  inline: s(u),
2499
- inset: s(m),
2499
+ inset: s(p),
2500
2500
  label: s(d),
2501
- loading: s(p),
2501
+ loading: s(m),
2502
2502
  theme: s(f)
2503
2503
  }, null, 8, ["modelValue", "density", "direction", "disabled", "hide-details", "indeterminate", "inline", "inset", "label", "loading", "theme"])
2504
2504
  ]),
@@ -2518,7 +2518,7 @@ const ul = /* @__PURE__ */ Ke(al, [["render", cl]]), ml = /* @__PURE__ */ S({
2518
2518
  const u = {};
2519
2519
  return o === "editor" && (u.pointerEvents = "none"), u;
2520
2520
  });
2521
- return (u, m) => {
2521
+ return (u, p) => {
2522
2522
  const d = W("v-tab");
2523
2523
  return k(), C(s(U), { mask: "" }, {
2524
2524
  default: P(() => [
@@ -2555,16 +2555,16 @@ const ul = /* @__PURE__ */ Ke(al, [["render", cl]]), ml = /* @__PURE__ */ S({
2555
2555
  "settings",
2556
2556
  "color",
2557
2557
  "selectedColor"
2558
- ]), { color: u } = Q(c), { property: m } = a(e, ["settings", "density"]), { property: d } = a(e, [
2558
+ ]), { color: u } = Q(c), { property: p } = a(e, ["settings", "density"]), { property: d } = a(e, [
2559
2559
  "settings",
2560
2560
  "direction"
2561
- ]), { property: p } = a(e, [
2561
+ ]), { property: m } = a(e, [
2562
2562
  "settings",
2563
2563
  "disabled"
2564
2564
  ]), { property: f } = a(e, [
2565
2565
  "settings",
2566
2566
  "fixedTabs"
2567
- ]), { property: _ } = a(e, ["settings", "grow"]), { property: g } = a(e, [
2567
+ ]), { property: g } = a(e, ["settings", "grow"]), { property: h } = a(e, [
2568
2568
  "settings",
2569
2569
  "hideSlider"
2570
2570
  ]), { property: I } = a(e, ["settings", "items"]), { property: v } = a(e, [
@@ -2577,7 +2577,7 @@ const ul = /* @__PURE__ */ Ke(al, [["render", cl]]), ml = /* @__PURE__ */ S({
2577
2577
  "settings",
2578
2578
  "color",
2579
2579
  "sliderColor"
2580
- ]), { color: h } = Q(b), { property: V } = a(e, ["settings", "stacked"]), { theme: R } = J(), { property: N } = a(e, ["settings", "value"]);
2580
+ ]), { color: _ } = Q(b), { property: V } = a(e, ["settings", "stacked"]), { theme: R } = J(), { property: N } = a(e, ["settings", "value"]);
2581
2581
  return (G, j) => {
2582
2582
  const z = W("v-tabs");
2583
2583
  return k(), C(s(U), {
@@ -2592,16 +2592,16 @@ const ul = /* @__PURE__ */ Ke(al, [["render", cl]]), ml = /* @__PURE__ */ S({
2592
2592
  "bg-color": s(i),
2593
2593
  "center-active": s(l),
2594
2594
  color: s(u),
2595
- density: s(m),
2595
+ density: s(p),
2596
2596
  direction: s(d),
2597
- disabled: s(p),
2597
+ disabled: s(m),
2598
2598
  "fixed-tabs": s(f),
2599
- grow: s(_),
2600
- "hide-slider": s(g),
2599
+ grow: s(g),
2600
+ "hide-slider": s(h),
2601
2601
  items: s(I),
2602
2602
  mandatory: s(v),
2603
2603
  "show-arrows": s(x),
2604
- "slider-color": s(h),
2604
+ "slider-color": s(_),
2605
2605
  stacked: s(V),
2606
2606
  theme: s(R)
2607
2607
  }, {
@@ -2629,11 +2629,11 @@ const ul = /* @__PURE__ */ Ke(al, [["render", cl]]), ml = /* @__PURE__ */ S({
2629
2629
  ]), { property: l } = a(e, [
2630
2630
  "settings",
2631
2631
  "emphasis"
2632
- ]), { property: c } = a(e, ["settings", "italic"]), { property: u } = a(e, ["settings", "text"]), { property: m } = a(e, ["settings", "weight"]), d = w(() => {
2633
- const p = [], f = ut(o.value.width), _ = Fe(f, e.value.settings?.style);
2634
- return _ && p.push(`text-${_}`), l.value === "high" ? p.push("text-high-emphasis") : l.value === "medium" ? p.push("text-medium-emphasis") : l.value === "disabled" && p.push("text-disabled"), r.value && p.push(`font-${r.value}`), i.value && p.push(`text-decoration-${i.value}`), m.value && p.push(`font-weight-${m.value}`), c.value && p.push("font-italic"), p.join(" ");
2632
+ ]), { property: c } = a(e, ["settings", "italic"]), { property: u } = a(e, ["settings", "text"]), { property: p } = a(e, ["settings", "weight"]), d = w(() => {
2633
+ const m = [], f = ut(o.value.width), g = Fe(f, e.value.settings?.style);
2634
+ return g && m.push(`text-${g}`), l.value === "high" ? m.push("text-high-emphasis") : l.value === "medium" ? m.push("text-medium-emphasis") : l.value === "disabled" && m.push("text-disabled"), r.value && m.push(`font-${r.value}`), i.value && m.push(`text-decoration-${i.value}`), p.value && m.push(`font-weight-${p.value}`), c.value && m.push("font-italic"), m.join(" ");
2635
2635
  });
2636
- return (p, f) => (k(), C(s(U), null, {
2636
+ return (m, f) => (k(), C(s(U), { mask: "" }, {
2637
2637
  default: P(() => [
2638
2638
  We("span", {
2639
2639
  class: si(d.value)
@@ -2659,17 +2659,17 @@ const ul = /* @__PURE__ */ Ke(al, [["render", cl]]), ml = /* @__PURE__ */ S({
2659
2659
  ]), { property: i } = a(e, ["settings", "density"]), { property: l } = a(e, [
2660
2660
  "settings",
2661
2661
  "disabled"
2662
- ]), { property: c } = a(e, ["settings", "label"]), { property: u } = a(e, ["settings", "loading"]), { property: m } = a(e, ["settings", "maxRows"]), { property: d } = a(e, [
2662
+ ]), { property: c } = a(e, ["settings", "label"]), { property: u } = a(e, ["settings", "loading"]), { property: p } = a(e, ["settings", "maxRows"]), { property: d } = a(e, [
2663
2663
  "settings",
2664
2664
  "placeholder"
2665
- ]), { property: p } = a(e, [
2665
+ ]), { property: m } = a(e, [
2666
2666
  "settings",
2667
2667
  "readonly"
2668
- ]), { property: f } = a(e, ["settings", "reverse"]), { property: _ } = a(e, ["settings", "rows"]), { property: g } = a(e, [
2668
+ ]), { property: f } = a(e, ["settings", "reverse"]), { property: g } = a(e, ["settings", "rows"]), { property: h } = a(e, [
2669
2669
  "settings",
2670
2670
  "singleLine"
2671
2671
  ]), { theme: I } = J(), { property: v } = a(e, ["settings", "value"]), { property: x } = a(e, ["settings", "variant"]);
2672
- return (b, h) => {
2672
+ return (b, _) => {
2673
2673
  const V = W("v-textarea");
2674
2674
  return k(), C(s(U), {
2675
2675
  block: "",
@@ -2678,19 +2678,19 @@ const ul = /* @__PURE__ */ Ke(al, [["render", cl]]), ml = /* @__PURE__ */ S({
2678
2678
  default: P(() => [
2679
2679
  D(V, {
2680
2680
  modelValue: s(v),
2681
- "onUpdate:modelValue": h[0] || (h[0] = (R) => ne(v) ? v.value = R : null),
2681
+ "onUpdate:modelValue": _[0] || (_[0] = (R) => ne(v) ? v.value = R : null),
2682
2682
  "auto-grow": s(o),
2683
2683
  clearable: s(r),
2684
2684
  density: s(i),
2685
2685
  disabled: s(l),
2686
2686
  label: s(c),
2687
2687
  loading: s(u),
2688
- "max-rows": s(m),
2688
+ "max-rows": s(p),
2689
2689
  placeholder: s(d),
2690
- readonly: s(p),
2690
+ readonly: s(m),
2691
2691
  reverse: s(f),
2692
- rows: s(_),
2693
- "single-line": s(g),
2692
+ rows: s(g),
2693
+ "single-line": s(h),
2694
2694
  theme: s(I),
2695
2695
  variant: s(x)
2696
2696
  }, null, 8, ["modelValue", "auto-grow", "clearable", "density", "disabled", "label", "loading", "max-rows", "placeholder", "readonly", "reverse", "rows", "single-line", "theme", "variant"])
@@ -2722,13 +2722,13 @@ const ul = /* @__PURE__ */ Ke(al, [["render", cl]]), ml = /* @__PURE__ */ S({
2722
2722
  ]), { property: c } = a(e, ["settings", "density"]), { property: u } = a(e, [
2723
2723
  "settings",
2724
2724
  "disabled"
2725
- ]), { property: m } = a(e, [
2725
+ ]), { property: p } = a(e, [
2726
2726
  "settings",
2727
2727
  "hideDetails"
2728
- ]), { property: d } = a(e, ["settings", "label"]), { property: p } = a(e, ["settings", "loading"]), { property: f } = a(e, [
2728
+ ]), { property: d } = a(e, ["settings", "label"]), { property: m } = a(e, ["settings", "loading"]), { property: f } = a(e, [
2729
2729
  "settings",
2730
2730
  "placeholder"
2731
- ]), { property: _ } = a(e, ["settings", "prefix"]), { property: g } = a(e, [
2731
+ ]), { property: g } = a(e, ["settings", "prefix"]), { property: h } = a(e, [
2732
2732
  "settings",
2733
2733
  "prependIcon"
2734
2734
  ]), { property: I } = a(e, [
@@ -2740,7 +2740,7 @@ const ul = /* @__PURE__ */ Ke(al, [["render", cl]]), ml = /* @__PURE__ */ S({
2740
2740
  ]), { property: x } = a(e, ["settings", "reverse"]), { property: b } = a(e, [
2741
2741
  "settings",
2742
2742
  "singleLine"
2743
- ]), { property: h } = a(e, ["settings", "suffix"]), { theme: V } = J(), { property: R } = a(e, ["settings", "value"]), { property: N } = a(e, ["settings", "variant"]), { property: G } = a(e, ["slots", "append"]), { property: j } = a(e, [
2743
+ ]), { property: _ } = a(e, ["settings", "suffix"]), { theme: V } = J(), { property: R } = a(e, ["settings", "value"]), { property: N } = a(e, ["settings", "variant"]), { property: G } = a(e, ["slots", "append"]), { property: j } = a(e, [
2744
2744
  "slots",
2745
2745
  "appendInner"
2746
2746
  ]), { property: z } = a(e, ["slots", "prepend"]), { property: q } = a(e, [
@@ -2763,17 +2763,17 @@ const ul = /* @__PURE__ */ Ke(al, [["render", cl]]), ml = /* @__PURE__ */ S({
2763
2763
  clearable: s(l),
2764
2764
  density: s(c),
2765
2765
  disabled: s(u),
2766
- "hide-details": s(m),
2766
+ "hide-details": s(p),
2767
2767
  label: s(d),
2768
- loading: s(p),
2768
+ loading: s(m),
2769
2769
  placeholder: s(f),
2770
- prefix: s(_),
2771
- "prepend-icon": s(g),
2770
+ prefix: s(g),
2771
+ "prepend-icon": s(h),
2772
2772
  "prepend-inner-icon": s(I),
2773
2773
  readonly: s(v),
2774
2774
  reverse: s(x),
2775
2775
  "single-line": s(b),
2776
- suffix: s(h),
2776
+ suffix: s(_),
2777
2777
  theme: s(V),
2778
2778
  variant: s(N)
2779
2779
  }, on({ _: 2 }, [
@@ -2846,39 +2846,39 @@ const ul = /* @__PURE__ */ Ke(al, [["render", cl]]), ml = /* @__PURE__ */ S({
2846
2846
  "settings",
2847
2847
  "dot",
2848
2848
  "fill"
2849
- ]), { property: m } = a(e, [
2849
+ ]), { property: p } = a(e, [
2850
2850
  "settings",
2851
2851
  "hideOpposite"
2852
2852
  ]), { property: d } = a(e, [
2853
2853
  "settings",
2854
2854
  "line",
2855
2855
  "color"
2856
- ]), { color: p } = Q(d), { property: f } = a(e, [
2856
+ ]), { color: m } = Q(d), { property: f } = a(e, [
2857
2857
  "settings",
2858
2858
  "line",
2859
2859
  "inset"
2860
- ]), { property: _ } = a(e, [
2860
+ ]), { property: g } = a(e, [
2861
2861
  "settings",
2862
2862
  "line",
2863
2863
  "thickness"
2864
- ]), { property: g } = a(e, ["settings", "side"]), { property: I } = a(e, [
2864
+ ]), { property: h } = a(e, ["settings", "side"]), { property: I } = a(e, [
2865
2865
  "settings",
2866
2866
  "line",
2867
2867
  "truncate"
2868
2868
  ]), { theme: v } = J();
2869
2869
  return (x, b) => {
2870
- const h = W("v-timeline");
2871
- return k(), C(h, {
2870
+ const _ = W("v-timeline");
2871
+ return k(), C(_, {
2872
2872
  align: s(o),
2873
2873
  density: s(r),
2874
2874
  direction: s(i),
2875
2875
  "dot-color": s(c),
2876
2876
  "fill-dot": s(u),
2877
- "hide-opposite": s(m),
2878
- "line-color": s(p),
2877
+ "hide-opposite": s(p),
2878
+ "line-color": s(m),
2879
2879
  "line-inset": s(f),
2880
- "line-thickness": s(_),
2881
- side: s(g),
2880
+ "line-thickness": s(g),
2881
+ side: s(h),
2882
2882
  theme: s(v),
2883
2883
  "truncate-line": s(I)
2884
2884
  }, {
@@ -2919,22 +2919,22 @@ const xl = /* @__PURE__ */ Ke(_l, [["render", vl]]), kl = /* @__PURE__ */ S({
2919
2919
  ]), { property: l } = a(e, ["settings", "reverse"]), { property: c } = a(e, [
2920
2920
  "settings",
2921
2921
  "showArrows"
2922
- ]), { property: u } = a(e, ["settings", "touch"]), { theme: m } = J(), { property: d } = a(e, ["settings", "value"]);
2923
- return (p, f) => {
2924
- const _ = W("v-window");
2925
- return k(), C(_, {
2922
+ ]), { property: u } = a(e, ["settings", "touch"]), { theme: p } = J(), { property: d } = a(e, ["settings", "value"]);
2923
+ return (m, f) => {
2924
+ const g = W("v-window");
2925
+ return k(), C(g, {
2926
2926
  modelValue: s(d),
2927
- "onUpdate:modelValue": f[0] || (f[0] = (g) => ne(d) ? d.value = g : null),
2927
+ "onUpdate:modelValue": f[0] || (f[0] = (h) => ne(d) ? d.value = h : null),
2928
2928
  continuous: s(o),
2929
2929
  direction: s(i),
2930
2930
  disabled: s(r),
2931
2931
  reverse: s(l),
2932
2932
  "show-arrows": s(c),
2933
- theme: s(m),
2933
+ theme: s(p),
2934
2934
  touch: s(u)
2935
2935
  }, {
2936
2936
  default: P(() => [
2937
- F(p.$slots, "default")
2937
+ F(m.$slots, "default")
2938
2938
  ]),
2939
2939
  _: 3
2940
2940
  }, 8, ["modelValue", "continuous", "direction", "disabled", "reverse", "show-arrows", "theme", "touch"]);
@@ -2982,7 +2982,7 @@ const Sl = /* @__PURE__ */ Ke(wl, [["render", Il]]), $l = /* @__PURE__ */ S({
2982
2982
  {
2983
2983
  default: () => {
2984
2984
  if (!c.leaf)
2985
- return l.children?.map((m) => r(m));
2985
+ return l.children?.map((p) => r(p));
2986
2986
  }
2987
2987
  }
2988
2988
  );
@@ -3038,21 +3038,21 @@ const Sl = /* @__PURE__ */ Ke(wl, [["render", Il]]), $l = /* @__PURE__ */ S({
3038
3038
  Ce(l);
3039
3039
  const c = w(() => e.refContext?.compId);
3040
3040
  et(c, l);
3041
- const { applySize: u } = be(e, o), m = w(() => {
3041
+ const { applySize: u } = be(e, o), p = w(() => {
3042
3042
  const b = {};
3043
3043
  return l.value?.type === "common" && u(b), b;
3044
- }), { position: d, rotation: p, scale: f } = me(o), { property: _ } = a(o, ["instances"]), g = (b, h) => {
3045
- b.findIndex((V) => V === h) >= 0 || b.push(h);
3044
+ }), { position: d, rotation: m, scale: f } = me(o), { property: g } = a(o, ["instances"]), h = (b, _) => {
3045
+ b.findIndex((V) => V === _) >= 0 || b.push(_);
3046
3046
  }, I = w(() => {
3047
3047
  const b = [];
3048
- if (!Array.isArray(_.value))
3048
+ if (!Array.isArray(g.value))
3049
3049
  return b;
3050
- for (const h of _.value)
3051
- typeof h == "string" && h && g(b, h);
3050
+ for (const _ of g.value)
3051
+ typeof _ == "string" && _ && h(b, _);
3052
3052
  return b;
3053
- }), v = (b, h) => K($l, {
3053
+ }), v = (b, _) => K($l, {
3054
3054
  key: b,
3055
- subtype: h,
3055
+ subtype: _,
3056
3056
  nodeId: e.nodeId,
3057
3057
  refContext: e.refContext,
3058
3058
  refKey: b
@@ -3069,53 +3069,53 @@ const Sl = /* @__PURE__ */ Ke(wl, [["render", Il]]), $l = /* @__PURE__ */ S({
3069
3069
  if (Ye(e.refContext, r))
3070
3070
  return i.value.type === "common" ? K(
3071
3071
  "div",
3072
- { id: n.id, style: m.value },
3072
+ { id: n.id, style: p.value },
3073
3073
  b.global.t("x-runtime-lib.circularReference")
3074
3074
  ) : i.value.type === "scene" ? K(ue, {
3075
3075
  name: n.name,
3076
3076
  position: d.value,
3077
- rotation: p.value,
3077
+ rotation: m.value,
3078
3078
  scale: f.value,
3079
3079
  label: b.global.t("x-runtime-lib.circularReference")
3080
3080
  }) : void 0;
3081
3081
  if (!l.value)
3082
- return i.value.type === "common" ? K("div", { id: n.id, style: m.value }) : i.value.type === "scene" ? K(ue, {
3082
+ return i.value.type === "common" ? K("div", { id: n.id, style: p.value }) : i.value.type === "scene" ? K(ue, {
3083
3083
  name: n.name,
3084
3084
  position: d.value,
3085
- rotation: p.value,
3085
+ rotation: m.value,
3086
3086
  scale: f.value
3087
3087
  }) : void 0;
3088
3088
  if (l.value.type !== i.value.type) {
3089
3089
  console.assert(!1, "subtype not match");
3090
3090
  return;
3091
3091
  }
3092
- const h = l.value.type;
3093
- if (h === "common")
3092
+ const _ = l.value.type;
3093
+ if (_ === "common")
3094
3094
  return K(
3095
3095
  "div",
3096
3096
  {
3097
3097
  id: n.id,
3098
- style: m.value
3098
+ style: p.value
3099
3099
  },
3100
3100
  {
3101
- default: () => I.value.map((V) => v(V, h))
3101
+ default: () => I.value.map((V) => v(V, _))
3102
3102
  }
3103
3103
  );
3104
- if (h === "scene")
3104
+ if (_ === "scene")
3105
3105
  return K(
3106
3106
  ue,
3107
3107
  {
3108
3108
  name: n.name,
3109
3109
  position: d.value,
3110
- rotation: p.value,
3110
+ rotation: m.value,
3111
3111
  scale: f.value
3112
3112
  },
3113
3113
  {
3114
- default: () => I.value.map((V) => v(V, h))
3114
+ default: () => I.value.map((V) => v(V, _))
3115
3115
  }
3116
3116
  );
3117
3117
  };
3118
- return (b, h) => (k(), C(x));
3118
+ return (b, _) => (k(), C(x));
3119
3119
  }
3120
3120
  }), Ll = /* @__PURE__ */ S({
3121
3121
  __name: "entry",
@@ -3149,7 +3149,7 @@ const Sl = /* @__PURE__ */ Ke(wl, [["render", Il]]), $l = /* @__PURE__ */ S({
3149
3149
  {
3150
3150
  default: () => {
3151
3151
  if (!c.leaf)
3152
- return l.children?.map((m) => r(m));
3152
+ return l.children?.map((p) => r(p));
3153
3153
  }
3154
3154
  }
3155
3155
  );
@@ -3177,21 +3177,21 @@ const Sl = /* @__PURE__ */ Ke(wl, [["render", Il]]), $l = /* @__PURE__ */ S({
3177
3177
  Ce(l);
3178
3178
  const c = w(() => e.refContext?.compId);
3179
3179
  et(c, l);
3180
- const { applySize: u } = be(e, o), m = w(() => {
3180
+ const { applySize: u } = be(e, o), p = w(() => {
3181
3181
  const b = {};
3182
3182
  return l.value?.type === "common" && u(b), b;
3183
- }), { position: d, rotation: p, scale: f } = me(o), { property: _ } = a(o, ["instances"]), g = (b, h) => {
3184
- b.findIndex((V) => V === h) >= 0 || b.push(h);
3183
+ }), { position: d, rotation: m, scale: f } = me(o), { property: g } = a(o, ["instances"]), h = (b, _) => {
3184
+ b.findIndex((V) => V === _) >= 0 || b.push(_);
3185
3185
  }, I = w(() => {
3186
3186
  const b = [];
3187
- if (!Array.isArray(_.value))
3187
+ if (!Array.isArray(g.value))
3188
3188
  return b;
3189
- for (const h of _.value)
3190
- typeof h == "string" && h && g(b, h);
3189
+ for (const _ of g.value)
3190
+ typeof _ == "string" && _ && h(b, _);
3191
3191
  return b;
3192
- }), v = (b, h) => K(Ll, {
3192
+ }), v = (b, _) => K(Ll, {
3193
3193
  key: b,
3194
- subtype: h,
3194
+ subtype: _,
3195
3195
  nodeId: e.nodeId,
3196
3196
  refContext: e.refContext,
3197
3197
  refKey: b
@@ -3208,53 +3208,53 @@ const Sl = /* @__PURE__ */ Ke(wl, [["render", Il]]), $l = /* @__PURE__ */ S({
3208
3208
  if (Ye(e.refContext, r))
3209
3209
  return i.value.type === "common" ? K(
3210
3210
  "div",
3211
- { id: n.id, style: m.value },
3211
+ { id: n.id, style: p.value },
3212
3212
  b.global.t("x-runtime-lib.circularReference")
3213
3213
  ) : i.value.type === "scene" ? K(ue, {
3214
3214
  name: n.name,
3215
3215
  position: d.value,
3216
- rotation: p.value,
3216
+ rotation: m.value,
3217
3217
  scale: f.value,
3218
3218
  label: b.global.t("x-runtime-lib.circularReference")
3219
3219
  }) : void 0;
3220
3220
  if (!l.value)
3221
- return i.value.type === "common" ? K("div", { id: n.id, style: m.value }) : i.value.type === "scene" ? K(ue, {
3221
+ return i.value.type === "common" ? K("div", { id: n.id, style: p.value }) : i.value.type === "scene" ? K(ue, {
3222
3222
  name: n.name,
3223
3223
  position: d.value,
3224
- rotation: p.value,
3224
+ rotation: m.value,
3225
3225
  scale: f.value
3226
3226
  }) : void 0;
3227
3227
  if (l.value.type !== i.value.type) {
3228
3228
  console.assert(!1, "subtype not match");
3229
3229
  return;
3230
3230
  }
3231
- const h = l.value.type;
3232
- if (h === "common")
3231
+ const _ = l.value.type;
3232
+ if (_ === "common")
3233
3233
  return K(
3234
3234
  "div",
3235
3235
  {
3236
3236
  id: n.id,
3237
- style: m.value
3237
+ style: p.value
3238
3238
  },
3239
3239
  {
3240
- default: () => I.value.map((V) => v(V, h))
3240
+ default: () => I.value.map((V) => v(V, _))
3241
3241
  }
3242
3242
  );
3243
- if (h === "scene")
3243
+ if (_ === "scene")
3244
3244
  return K(
3245
3245
  ue,
3246
3246
  {
3247
3247
  name: n.name,
3248
3248
  position: d.value,
3249
- rotation: p.value,
3249
+ rotation: m.value,
3250
3250
  scale: f.value
3251
3251
  },
3252
3252
  {
3253
- default: () => I.value.map((V) => v(V, h))
3253
+ default: () => I.value.map((V) => v(V, _))
3254
3254
  }
3255
3255
  );
3256
3256
  };
3257
- return (b, h) => (k(), C(x));
3257
+ return (b, _) => (k(), C(x));
3258
3258
  }
3259
3259
  }), Tl = /* @__PURE__ */ S({
3260
3260
  __name: "index",
@@ -3268,10 +3268,10 @@ const Sl = /* @__PURE__ */ Ke(wl, [["render", Il]]), $l = /* @__PURE__ */ S({
3268
3268
  Ce(c);
3269
3269
  const u = w(() => e.refContext?.compId);
3270
3270
  et(u, c), ie(r) && tt(c, "ref", e.nodeId, "", _e());
3271
- const { applySize: m } = be(e, o), d = w(() => {
3271
+ const { applySize: p } = be(e, o), d = w(() => {
3272
3272
  const v = {};
3273
- return l.value?.type === "common" && m(v), v;
3274
- }), { position: p, rotation: f, scale: _ } = me(o), g = (v) => {
3273
+ return l.value?.type === "common" && p(v), v;
3274
+ }), { position: m, rotation: f, scale: g } = me(o), h = (v) => {
3275
3275
  const x = ke[v.key];
3276
3276
  if (!x) {
3277
3277
  console.assert(!1, `element not found key=${v.key}`);
@@ -3292,7 +3292,7 @@ const Sl = /* @__PURE__ */ Ke(wl, [["render", Il]]), $l = /* @__PURE__ */ S({
3292
3292
  {
3293
3293
  default: () => {
3294
3294
  if (!x.leaf)
3295
- return v.children?.map((h) => g(h));
3295
+ return v.children?.map((_) => h(_));
3296
3296
  }
3297
3297
  }
3298
3298
  );
@@ -3313,17 +3313,17 @@ const Sl = /* @__PURE__ */ Ke(wl, [["render", Il]]), $l = /* @__PURE__ */ S({
3313
3313
  v.global.t("x-runtime-lib.circularReference")
3314
3314
  ) : l.value.type === "scene" ? K(ue, {
3315
3315
  name: n.name,
3316
- position: p.value,
3316
+ position: m.value,
3317
3317
  rotation: f.value,
3318
- scale: _.value,
3318
+ scale: g.value,
3319
3319
  label: v.global.t("x-runtime-lib.circularReference")
3320
3320
  }) : void 0;
3321
3321
  if (!c.value)
3322
3322
  return l.value.type === "common" ? K("div", { id: n.id, style: d.value }) : l.value.type === "scene" ? K(ue, {
3323
3323
  name: n.name,
3324
- position: p.value,
3324
+ position: m.value,
3325
3325
  rotation: f.value,
3326
- scale: _.value
3326
+ scale: g.value
3327
3327
  }) : void 0;
3328
3328
  if (c.value.type !== l.value.type) {
3329
3329
  console.assert(!1, "subtype not match");
@@ -3338,7 +3338,7 @@ const Sl = /* @__PURE__ */ Ke(wl, [["render", Il]]), $l = /* @__PURE__ */ S({
3338
3338
  style: d.value
3339
3339
  },
3340
3340
  {
3341
- default: () => c.value?.view.nodeLites.map((b) => g(b))
3341
+ default: () => c.value?.view.nodeLites.map((b) => h(b))
3342
3342
  }
3343
3343
  );
3344
3344
  if (x === "scene")
@@ -3346,12 +3346,12 @@ const Sl = /* @__PURE__ */ Ke(wl, [["render", Il]]), $l = /* @__PURE__ */ S({
3346
3346
  ue,
3347
3347
  {
3348
3348
  name: n.name,
3349
- position: p.value,
3349
+ position: m.value,
3350
3350
  rotation: f.value,
3351
- scale: _.value
3351
+ scale: g.value
3352
3352
  },
3353
3353
  {
3354
- default: () => c.value?.view.nodeLites.map((b) => g(b))
3354
+ default: () => c.value?.view.nodeLites.map((b) => h(b))
3355
3355
  }
3356
3356
  );
3357
3357
  };
@@ -3385,11 +3385,11 @@ const Sl = /* @__PURE__ */ Ke(wl, [["render", Il]]), $l = /* @__PURE__ */ S({
3385
3385
  Ce(c);
3386
3386
  const u = w(() => e.refContext?.compId);
3387
3387
  et(u, c), ie(r) && tt(c, "slot", e.nodeId, "", _e());
3388
- const { applySize: m } = be(e, o), d = w(() => {
3388
+ const { applySize: p } = be(e, o), d = w(() => {
3389
3389
  const v = {};
3390
- return c.value?.type === "common" && m(v), v;
3391
- }), { position: p, rotation: f, scale: _ } = me(o);
3392
- function g(v) {
3390
+ return c.value?.type === "common" && p(v), v;
3391
+ }), { position: m, rotation: f, scale: g } = me(o);
3392
+ function h(v) {
3393
3393
  const x = ke[v.key];
3394
3394
  if (!x) {
3395
3395
  console.assert(!1, `element not found key=${v.key}`);
@@ -3410,7 +3410,7 @@ const Sl = /* @__PURE__ */ Ke(wl, [["render", Il]]), $l = /* @__PURE__ */ S({
3410
3410
  {
3411
3411
  default: () => {
3412
3412
  if (!x.leaf)
3413
- return v.children?.map((h) => g(h));
3413
+ return v.children?.map((_) => h(_));
3414
3414
  }
3415
3415
  }
3416
3416
  );
@@ -3432,17 +3432,17 @@ const Sl = /* @__PURE__ */ Ke(wl, [["render", Il]]), $l = /* @__PURE__ */ S({
3432
3432
  v.global.t("x-runtime-lib.circularReference")
3433
3433
  ) : l.value.type === "scene" ? K(ue, {
3434
3434
  name: n.name,
3435
- position: p.value,
3435
+ position: m.value,
3436
3436
  rotation: f.value,
3437
- scale: _.value,
3437
+ scale: g.value,
3438
3438
  label: v.global.t("x-runtime-lib.circularReference")
3439
3439
  }) : void 0;
3440
3440
  if (!c.value)
3441
3441
  return l.value.type === "common" ? K("div", { id: n.id, style: d.value }) : l.value.type === "scene" ? K(ue, {
3442
3442
  name: n.name,
3443
- position: p.value,
3443
+ position: m.value,
3444
3444
  rotation: f.value,
3445
- scale: _.value
3445
+ scale: g.value
3446
3446
  }) : void 0;
3447
3447
  if (c.value.type !== l.value.type) {
3448
3448
  console.assert(!1, "subtype not match");
@@ -3457,7 +3457,7 @@ const Sl = /* @__PURE__ */ Ke(wl, [["render", Il]]), $l = /* @__PURE__ */ S({
3457
3457
  style: d.value
3458
3458
  },
3459
3459
  {
3460
- default: () => c.value?.view.nodeLites.map((b) => g(b))
3460
+ default: () => c.value?.view.nodeLites.map((b) => h(b))
3461
3461
  }
3462
3462
  );
3463
3463
  if (x === "scene")
@@ -3465,12 +3465,12 @@ const Sl = /* @__PURE__ */ Ke(wl, [["render", Il]]), $l = /* @__PURE__ */ S({
3465
3465
  ue,
3466
3466
  {
3467
3467
  name: n.name,
3468
- position: p.value,
3468
+ position: m.value,
3469
3469
  rotation: f.value,
3470
- scale: _.value
3470
+ scale: g.value
3471
3471
  },
3472
3472
  {
3473
- default: () => c.value?.view.nodeLites.map((b) => g(b))
3473
+ default: () => c.value?.view.nodeLites.map((b) => h(b))
3474
3474
  }
3475
3475
  );
3476
3476
  };
@@ -5147,24 +5147,24 @@ function la(t, n) {
5147
5147
  }
5148
5148
  const i = E();
5149
5149
  M(i, r), i.basic.id = T(16), i.basic.key = Wt.key;
5150
- const l = ze(t, n, "chip1", "chip 1"), c = ze(t, n, "chip2", "chip 2"), u = ze(t, n, "chip3", "chip 3"), m = ze(t, n, "chip4", "chip 4"), d = ze(t, n, "chip5", "chip 5"), p = ze(t, n, "chip6", "chip 6");
5150
+ const l = ze(t, n, "chip1", "chip 1"), c = ze(t, n, "chip2", "chip 2"), u = ze(t, n, "chip3", "chip 3"), p = ze(t, n, "chip4", "chip 4"), d = ze(t, n, "chip5", "chip 5"), m = ze(t, n, "chip6", "chip 6");
5151
5151
  return {
5152
5152
  nodeLite: A(i, [
5153
5153
  l.nodeLite,
5154
5154
  c.nodeLite,
5155
5155
  u.nodeLite,
5156
- m.nodeLite,
5156
+ p.nodeLite,
5157
5157
  d.nodeLite,
5158
- p.nodeLite
5158
+ m.nodeLite
5159
5159
  ]),
5160
5160
  nodes: {
5161
5161
  [i.basic.id]: i,
5162
5162
  ...l.nodes,
5163
5163
  ...c.nodes,
5164
5164
  ...u.nodes,
5165
- ...m.nodes,
5165
+ ...p.nodes,
5166
5166
  ...d.nodes,
5167
- ...p.nodes
5167
+ ...m.nodes
5168
5168
  }
5169
5169
  };
5170
5170
  }
@@ -5649,22 +5649,22 @@ function fa(t, n) {
5649
5649
  };
5650
5650
  }
5651
5651
  function Kt(t, n, e, o, r, i, l, c, u) {
5652
- const m = `type=${t} subtype=${n}`, d = B(t, n);
5652
+ const p = `type=${t} subtype=${n}`, d = B(t, n);
5653
5653
  if (!d) {
5654
5654
  console.error(
5655
- `flexLayoutV1/spawnContainer property tag not found, ${m}`
5655
+ `flexLayoutV1/spawnContainer property tag not found, ${p}`
5656
5656
  );
5657
5657
  return;
5658
5658
  }
5659
- const p = Bt.properties[d];
5660
- if (!p) {
5659
+ const m = Bt.properties[d];
5660
+ if (!m) {
5661
5661
  console.error(
5662
- `flexLayoutV1/spawnContainer properties not found, ${m}`
5662
+ `flexLayoutV1/spawnContainer properties not found, ${p}`
5663
5663
  );
5664
5664
  return;
5665
5665
  }
5666
5666
  const f = E();
5667
- return M(f, p), f.basic.id = T(16), f.basic.key = Bt.key, o && (f.size.width = o), r && (f.size.minWidth = r), l && (f.size.height = l), c && (f.size.minHeight = c), e && (f.settings.backgroundColor.mode = "custom", f.settings.backgroundColor.custom.light = e, f.settings.backgroundColor.custom.dark = e), {
5667
+ return M(f, m), f.basic.id = T(16), f.basic.key = Bt.key, o && (f.size.width = o), r && (f.size.minWidth = r), l && (f.size.height = l), c && (f.size.minHeight = c), e && (f.settings.backgroundColor.mode = "custom", f.settings.backgroundColor.custom.light = e, f.settings.backgroundColor.custom.dark = e), {
5668
5668
  nodeLite: A(f, []),
5669
5669
  nodes: {
5670
5670
  [f.basic.id]: f
@@ -8939,7 +8939,7 @@ function Vu(t, n, e, o, r) {
8939
8939
  return;
8940
8940
  }
8941
8941
  if (o) {
8942
- const u = c.refKey, m = r;
8942
+ const u = c.refKey, p = r;
8943
8943
  if (!c.elements.has(u)) {
8944
8944
  console.error(`spawnNode [ref] element not found in pkg, ${i}`);
8945
8945
  return;
@@ -8949,13 +8949,13 @@ function Vu(t, n, e, o, r) {
8949
8949
  console.error(`spawnNode [ref] element not found in global, ${i}`);
8950
8950
  return;
8951
8951
  }
8952
- const p = d.properties[l];
8953
- if (!p) {
8952
+ const m = d.properties[l];
8953
+ if (!m) {
8954
8954
  console.error(`spawnNode [ref] properties not found, ${i}`);
8955
8955
  return;
8956
8956
  }
8957
8957
  const f = E();
8958
- return M(f, p), f.basic.id = T(16), f.basic.key = u, f.settings || (f.settings = {}), f.settings.comp = m, {
8958
+ return M(f, m), f.basic.id = T(16), f.basic.key = u, f.settings || (f.settings = {}), f.settings.comp = p, {
8959
8959
  nodeLite: A(f),
8960
8960
  nodes: {
8961
8961
  [f.basic.id]: f
@@ -8967,26 +8967,26 @@ function Vu(t, n, e, o, r) {
8967
8967
  console.error(`spawnNode [key] element not found in pkg, ${i}`);
8968
8968
  return;
8969
8969
  }
8970
- const m = ke[u];
8971
- if (!m) {
8970
+ const p = ke[u];
8971
+ if (!p) {
8972
8972
  console.error(`spawnNode [key] element not found in global, ${i}`);
8973
8973
  return;
8974
8974
  }
8975
- if (m.spawn)
8976
- return m.spawn(t, n);
8975
+ if (p.spawn)
8976
+ return p.spawn(t, n);
8977
8977
  {
8978
- const d = m.properties[l];
8978
+ const d = p.properties[l];
8979
8979
  if (!d) {
8980
8980
  console.error(`spawnNode [key] properties not found, ${i}`);
8981
8981
  return;
8982
8982
  }
8983
- const p = E();
8984
- M(p, d), p.basic.id = T(16), p.basic.key = u;
8983
+ const m = E();
8984
+ M(m, d), m.basic.id = T(16), m.basic.key = u;
8985
8985
  let f;
8986
- return m.leaf || (f = []), {
8987
- nodeLite: A(p, f),
8986
+ return p.leaf || (f = []), {
8987
+ nodeLite: A(m, f),
8988
8988
  nodes: {
8989
- [p.basic.id]: p
8989
+ [m.basic.id]: m
8990
8990
  }
8991
8991
  };
8992
8992
  }
@@ -9109,77 +9109,77 @@ function ct(t, n, e, o, r) {
9109
9109
  console.assert(!1);
9110
9110
  continue;
9111
9111
  }
9112
- let m = null;
9113
- for (const p of u)
9114
- if (e === Ne(p)) {
9115
- if (p.subKeys) {
9112
+ let p = null;
9113
+ for (const m of u)
9114
+ if (e === Ne(m)) {
9115
+ if (m.subKeys) {
9116
9116
  if (!ce(
9117
- Ie(o, p.subKeys),
9118
- Ie(r, p.subKeys)
9117
+ Ie(o, m.subKeys),
9118
+ Ie(r, m.subKeys)
9119
9119
  )) {
9120
- m = p;
9120
+ p = m;
9121
9121
  break;
9122
9122
  }
9123
9123
  } else if (!ce(o, r)) {
9124
- m = p;
9124
+ p = m;
9125
9125
  break;
9126
9126
  }
9127
9127
  }
9128
- if (!m)
9128
+ if (!p)
9129
9129
  continue;
9130
9130
  let d;
9131
- m.subKeys ? d = Ie(o, m.subKeys) : d = o;
9132
- for (const p of u)
9133
- if (p.subKeys) {
9131
+ p.subKeys ? d = Ie(o, p.subKeys) : d = o;
9132
+ for (const m of u)
9133
+ if (m.subKeys) {
9134
9134
  let f;
9135
- if (p.type === "elementProperty")
9135
+ if (m.type === "elementProperty")
9136
9136
  f = t.getElementProperty(
9137
- p.nodeId,
9138
- p.propertyKeys.split(".")
9137
+ m.nodeId,
9138
+ m.propertyKeys.split(".")
9139
9139
  );
9140
- else if (p.type === "customProperty")
9141
- f = t.getCustomProperty(p.propertyId);
9142
- else if (p.type === "state")
9143
- f = t.getState(p.stateId);
9144
- else if (p.type === "adaptSlotProperty")
9145
- f = t.getAdaptSlotProperty(p.propertyId);
9140
+ else if (m.type === "customProperty")
9141
+ f = t.getCustomProperty(m.propertyId);
9142
+ else if (m.type === "state")
9143
+ f = t.getState(m.stateId);
9144
+ else if (m.type === "adaptSlotProperty")
9145
+ f = t.getAdaptSlotProperty(m.propertyId);
9146
9146
  else {
9147
9147
  console.assert(!1);
9148
9148
  continue;
9149
9149
  }
9150
- const _ = Ie(f, p.subKeys);
9151
- if (ce(d, _))
9150
+ const g = Ie(f, m.subKeys);
9151
+ if (ce(d, g))
9152
9152
  continue;
9153
- const g = O(f);
9154
- ln(g, p.subKeys, O(d)), p.type === "elementProperty" ? t.setElementProperty(
9155
- p.nodeId,
9156
- p.propertyKeys.split("."),
9157
- g
9158
- ) : p.type === "customProperty" ? t.setCustomProperty(p.propertyId, g) : p.type === "state" ? t.setState(p.stateId, g) : p.type === "adaptSlotProperty" ? t.setAdaptSlotProperty(p.propertyId, g) : console.assert(!1);
9153
+ const h = O(f);
9154
+ ln(h, m.subKeys, O(d)), m.type === "elementProperty" ? t.setElementProperty(
9155
+ m.nodeId,
9156
+ m.propertyKeys.split("."),
9157
+ h
9158
+ ) : m.type === "customProperty" ? t.setCustomProperty(m.propertyId, h) : m.type === "state" ? t.setState(m.stateId, h) : m.type === "adaptSlotProperty" ? t.setAdaptSlotProperty(m.propertyId, h) : console.assert(!1);
9159
9159
  } else {
9160
9160
  let f;
9161
- if (p.type === "elementProperty")
9161
+ if (m.type === "elementProperty")
9162
9162
  f = t.getElementProperty(
9163
- p.nodeId,
9164
- p.propertyKeys.split(".")
9163
+ m.nodeId,
9164
+ m.propertyKeys.split(".")
9165
9165
  );
9166
- else if (p.type === "customProperty")
9167
- f = t.getCustomProperty(p.propertyId);
9168
- else if (p.type === "state")
9169
- f = t.getState(p.stateId);
9170
- else if (p.type === "adaptSlotProperty")
9171
- f = t.getAdaptSlotProperty(p.propertyId);
9166
+ else if (m.type === "customProperty")
9167
+ f = t.getCustomProperty(m.propertyId);
9168
+ else if (m.type === "state")
9169
+ f = t.getState(m.stateId);
9170
+ else if (m.type === "adaptSlotProperty")
9171
+ f = t.getAdaptSlotProperty(m.propertyId);
9172
9172
  else {
9173
9173
  console.assert(!1);
9174
9174
  continue;
9175
9175
  }
9176
9176
  if (ce(d, f))
9177
9177
  continue;
9178
- p.type === "elementProperty" ? t.setElementProperty(
9179
- p.nodeId,
9180
- p.propertyKeys.split("."),
9178
+ m.type === "elementProperty" ? t.setElementProperty(
9179
+ m.nodeId,
9180
+ m.propertyKeys.split("."),
9181
9181
  O(d)
9182
- ) : p.type === "customProperty" ? t.setCustomProperty(p.propertyId, O(d)) : p.type === "state" ? t.setState(p.stateId, O(d)) : p.type === "adaptSlotProperty" ? t.setAdaptSlotProperty(p.propertyId, O(d)) : console.assert(!1);
9182
+ ) : m.type === "customProperty" ? t.setCustomProperty(m.propertyId, O(d)) : m.type === "state" ? t.setState(m.stateId, O(d)) : m.type === "adaptSlotProperty" ? t.setAdaptSlotProperty(m.propertyId, O(d)) : console.assert(!1);
9183
9183
  }
9184
9184
  }
9185
9185
  }
@@ -9381,13 +9381,13 @@ function Xc(t) {
9381
9381
  const u = i[c].trim();
9382
9382
  if (u !== "")
9383
9383
  if (/^\[\d+\]$/.test(u)) {
9384
- let m = parseInt(u.slice(1, -1), 10);
9385
- m > 0 && m--;
9386
- const d = n.newNumber(m);
9384
+ let p = parseInt(u.slice(1, -1), 10);
9385
+ p > 0 && p--;
9386
+ const d = n.newNumber(p);
9387
9387
  n.setProp(r, l.toString(), d), d.dispose(), l++;
9388
9388
  } else {
9389
- const m = n.newString(u);
9390
- n.setProp(r, l.toString(), m), m.dispose(), l++;
9389
+ const p = n.newString(u);
9390
+ n.setProp(r, l.toString(), p), p.dispose(), l++;
9391
9391
  }
9392
9392
  }
9393
9393
  return r;
@@ -9416,9 +9416,9 @@ function Xc(t) {
9416
9416
  const d = Pe(l, n.getProp(n.global, "__timeoutCallback__"));
9417
9417
  n.callFunction(d, n.global, n.newNumber(r));
9418
9418
  } catch (c) {
9419
- var u = c, m = !0;
9419
+ var u = c, p = !0;
9420
9420
  } finally {
9421
- Le(l, u, m);
9421
+ Le(l, u, p);
9422
9422
  }
9423
9423
  }
9424
9424
  }, i);
@@ -9447,20 +9447,20 @@ function Zc(t) {
9447
9447
  }
9448
9448
  const { vm: n } = t;
9449
9449
  n.newFunction("__callFuncV1__", (e, o, r, i, l) => {
9450
- const c = n.getString(e), u = n.getString(o), m = n.dump(r), d = n.getString(i), p = n.getString(l), { id: f, promise: _ } = t.promiseManager.acquire(), g = JSON.stringify(m);
9450
+ const c = n.getString(e), u = n.getString(o), p = n.dump(r), d = n.getString(i), m = n.getString(l), { id: f, promise: g } = t.promiseManager.acquire(), h = JSON.stringify(p);
9451
9451
  return Yc({
9452
9452
  spaceId: c,
9453
9453
  id: u,
9454
- strInputs: g,
9454
+ strInputs: h,
9455
9455
  env: d
9456
9456
  }).then(
9457
9457
  ({ strOutputs: I }) => {
9458
- Me(t) && (_.resolve(n.evalCode(`JSON.parse('${I}')`).unwrap()), t.promiseManager.release(f));
9458
+ Me(t) && (g.resolve(n.evalCode(`JSON.parse('${I}')`).unwrap()), t.promiseManager.release(f));
9459
9459
  },
9460
9460
  (I) => {
9461
- Me(t) && (_.reject(n.newString(`call func <${p}> failed, ${I}`)), t.promiseManager.release(f));
9461
+ Me(t) && (g.reject(n.newString(`call func <${m}> failed, ${I}`)), t.promiseManager.release(f));
9462
9462
  }
9463
- ), _.settled.then(n.runtime.executePendingJobs), _.handle;
9463
+ ), g.settled.then(n.runtime.executePendingJobs), g.handle;
9464
9464
  }).consume((e) => n.setProp(n.global, "__callFuncV1__", e));
9465
9465
  }
9466
9466
  function Qc(t) {
@@ -9484,27 +9484,27 @@ function eu(t) {
9484
9484
  const G = Pe(c, n.getProp(n.global, "__triggerEventInner__"));
9485
9485
  n.callFunction(G, n.global, e, ...o);
9486
9486
  } catch (u) {
9487
- var m = u, d = !0;
9487
+ var p = u, d = !0;
9488
9488
  } finally {
9489
- Le(c, m, d);
9489
+ Le(c, p, d);
9490
9490
  }
9491
9491
  }
9492
9492
  const r = n.getString(e), { kind: i, eventKey: l } = qc(r);
9493
9493
  if (i === "customEvent") {
9494
- var h = [];
9494
+ var _ = [];
9495
9495
  try {
9496
- const G = Pe(h, n.getProp(n.global, "__triggerEventV1__"));
9496
+ const G = Pe(_, n.getProp(n.global, "__triggerEventV1__"));
9497
9497
  {
9498
- var p = [];
9498
+ var m = [];
9499
9499
  try {
9500
- const j = Pe(p, n.newString(
9500
+ const j = Pe(m, n.newString(
9501
9501
  ae("refEvent", t.nodeId, l)
9502
9502
  ));
9503
9503
  n.callFunction(G, n.global, j, ...o);
9504
9504
  } catch (f) {
9505
- var _ = f, g = !0;
9505
+ var g = f, h = !0;
9506
9506
  } finally {
9507
- Le(p, _, g);
9507
+ Le(m, g, h);
9508
9508
  }
9509
9509
  }
9510
9510
  {
@@ -9523,58 +9523,37 @@ function eu(t) {
9523
9523
  } catch (V) {
9524
9524
  var R = V, N = !0;
9525
9525
  } finally {
9526
- Le(h, R, N);
9526
+ Le(_, R, N);
9527
9527
  }
9528
9528
  }
9529
- }).consume((e) => n.setProp(n.global, "__triggerEventV1__", e)), n.newFunction("__getPropertyV1__", (e, o) => {
9530
- const r = n.getString(e), i = n.getString(o), { kind: l, nodeId: c, propertyKey: u } = xo(r);
9531
- let m;
9532
- if (l === "elementProperty")
9533
- m = t.getElementProperty(c, u.split("."));
9534
- else if (l === "refProperty") {
9535
- const d = t.children[c];
9536
- d && (m = d.getCustomProperty(u));
9537
- } else if (l === "multipleRefProperty") {
9538
- const d = t.children[`${c}/${i}`];
9539
- d && (m = d.getCustomProperty(u));
9540
- } else if (l === "slotProperty") {
9541
- const d = t.children[c];
9542
- d && (m = d.getSlotProperty(u));
9543
- } else if (l === "multipleSlotProperty") {
9544
- const d = t.children[`${c}/${i}`];
9545
- d && (m = d.getSlotProperty(u));
9546
- } else l === "customProperty" ? m = t.getCustomProperty(u) : l === "adaptSlotElementProperty" || l === "adaptSlotCustomProperty" ? m = t.getAdaptSlotProperty(u) : console.assert(!1);
9547
- return Je(n, m);
9548
- }).consume((e) => n.setProp(n.global, "__getPropertyV1__", e)), n.newFunction("__setPropertyV1__", (e, o, r) => {
9549
- const i = n.getString(e), l = n.getString(o), c = n.dump(r), { kind: u, nodeId: m, propertyKey: d } = xo(i);
9550
- if (u === "elementProperty")
9551
- t.setElementProperty(m, d.split("."), c);
9552
- else if (u === "refProperty") {
9553
- const p = t.children[m];
9554
- p && p.setCustomProperty(d, c);
9555
- } else if (u === "multipleRefProperty") {
9556
- const p = t.children[`${m}/${l}`];
9557
- p && p.setCustomProperty(d, c);
9558
- } else if (u === "slotProperty") {
9559
- const p = t.children[m];
9560
- p && p.setSlotProperty(d, c);
9561
- } else if (u === "multipleSlotProperty") {
9562
- const p = t.children[`${m}/${l}`];
9563
- p && p.setSlotProperty(d, c);
9564
- } else u === "customProperty" ? t.setCustomProperty(d, c) : u === "adaptSlotElementProperty" || u === "adaptSlotCustomProperty" ? t.setAdaptSlotProperty(d, c) : console.assert(!1);
9529
+ }).consume((e) => n.setProp(n.global, "__triggerEventV1__", e)), n.newFunction("__getPropertyV1__", (e, o, r) => {
9530
+ const i = n.getString(e), l = n.getString(o), c = n.getString(r);
9531
+ let u = t;
9532
+ if (l && (c ? u = t.children[`${l}/${c}`] : u = t.children[l]), !u)
9533
+ return;
9534
+ const { kind: p, nodeId: d, propertyKey: m } = xo(i);
9535
+ let f;
9536
+ return p === "elementProperty" ? f = u.getElementProperty(d, m.split(".")) : p === "refProperty" || p === "multipleRefProperty" ? f = u.getCustomProperty(m) : p === "slotProperty" || p === "multipleSlotProperty" ? f = u.getSlotProperty(m) : p === "customProperty" ? f = t.getCustomProperty(m) : p === "adaptSlotElementProperty" || p === "adaptSlotCustomProperty" ? f = t.getAdaptSlotProperty(m) : console.assert(!1), Je(n, f);
9537
+ }).consume((e) => n.setProp(n.global, "__getPropertyV1__", e)), n.newFunction("__setPropertyV1__", (e, o, r, i) => {
9538
+ const l = n.getString(e), c = n.dump(o), u = n.getString(r), p = n.getString(i);
9539
+ let d = t;
9540
+ if (u && (p ? d = t.children[`${u}/${p}`] : d = t.children[u]), !d)
9541
+ return;
9542
+ const { kind: m, nodeId: f, propertyKey: g } = xo(l);
9543
+ m === "elementProperty" ? d.setElementProperty(f, g.split("."), c) : m === "refProperty" || m === "multipleRefProperty" ? d.setCustomProperty(g, c) : m === "slotProperty" || m === "multipleSlotProperty" ? d.setSlotProperty(g, c) : m === "customProperty" ? t.setCustomProperty(g, c) : m === "adaptSlotElementProperty" || m === "adaptSlotCustomProperty" ? t.setAdaptSlotProperty(g, c) : console.assert(!1);
9565
9544
  }).consume((e) => n.setProp(n.global, "__setPropertyV1__", e)), n.newFunction("__callMethodV1__", (e, o, r) => {
9566
- const i = n.getString(e), l = n.getString(o), c = n.dump(r), { kind: u, nodeId: m, methodKey: d } = ei(i);
9567
- let p;
9545
+ const i = n.getString(e), l = n.getString(o), c = n.dump(r), { kind: u, nodeId: p, methodKey: d } = ei(i);
9546
+ let m;
9568
9547
  if (u === "elementMethod")
9569
- p = t.callElementMethod(i, c);
9548
+ m = t.callElementMethod(i, c);
9570
9549
  else if (u === "refMethod") {
9571
- const f = t.children[m];
9572
- f && (p = f.callCustomMethod(d, c));
9550
+ const f = t.children[p];
9551
+ f && (m = f.callCustomMethod(d, c));
9573
9552
  } else if (u === "multipleRefMethod") {
9574
- const f = t.children[m + "/" + l];
9575
- f && (p = f.callCustomMethod(d, c));
9553
+ const f = t.children[p + "/" + l];
9554
+ f && (m = f.callCustomMethod(d, c));
9576
9555
  } else u === "slotMethod" || u === "multipleSlotMethod" || u === "customMethod" || u === "adaptSlotElementMethod" || u === "adaptSlotCustomMethod" || console.assert(!1);
9577
- return p;
9556
+ return m;
9578
9557
  }).consume((e) => n.setProp(n.global, "__callMethodV1__", e)), n.newFunction("__getStateV1__", (e) => {
9579
9558
  const o = n.getString(e), r = t.getState(o);
9580
9559
  return Je(n, r);
@@ -9601,10 +9580,10 @@ function eu(t) {
9601
9580
  Me(t) && (u === void 0 ? c.resolve(n.undefined) : c.resolve(u ? n.true : n.false), t.promiseManager.release(l));
9602
9581
  }), c.settled.then(n.runtime.executePendingJobs), c.handle;
9603
9582
  }).consume((e) => n.setProp(n.global, "__openConfirmDlgV1__", e)), n.newFunction("__openPromptDlgV1__", (e, o, r) => {
9604
- const i = n.getString(e), l = n.getString(o), c = n.dump(r), { id: u, promise: m } = t.promiseManager.acquire();
9583
+ const i = n.getString(e), l = n.getString(o), c = n.dump(r), { id: u, promise: p } = t.promiseManager.acquire();
9605
9584
  return mi({ title: i, label: l, value: c }).then((d) => {
9606
- Me(t) && (d === void 0 ? m.resolve(n.undefined) : m.resolve(n.newString(d)), t.promiseManager.release(u));
9607
- }), m.settled.then(n.runtime.executePendingJobs), m.handle;
9585
+ Me(t) && (d === void 0 ? p.resolve(n.undefined) : p.resolve(n.newString(d)), t.promiseManager.release(u));
9586
+ }), p.settled.then(n.runtime.executePendingJobs), p.handle;
9608
9587
  }).consume((e) => n.setProp(n.global, "__openPromptDlgV1__", e));
9609
9588
  }
9610
9589
  function tu(t) {
@@ -9715,7 +9694,7 @@ class ou {
9715
9694
  class iu {
9716
9695
  kind;
9717
9696
  nodeId;
9718
- refKey;
9697
+ instance;
9719
9698
  // 沙盒关系
9720
9699
  parent;
9721
9700
  children = {};
@@ -9728,19 +9707,19 @@ class iu {
9728
9707
  eventBus = zi();
9729
9708
  // 钩子
9730
9709
  hooks;
9731
- constructor(n, e, o, r, i, l, c, u, m) {
9732
- this.kind = n, this.nodeId = e, this.refKey = o, this.parent = r, this.org = i, this.env = l, this.mode = c, this.type = u, this.hooks = m, this.parent?.addChild(this), this.debugTrace("constructor");
9710
+ constructor(n, e, o, r, i, l, c, u, p) {
9711
+ this.kind = n, this.nodeId = e, this.instance = o, this.parent = r, this.org = i, this.env = l, this.mode = c, this.type = u, this.hooks = p, this.parent?.addChild(this), this.debugTrace("constructor");
9733
9712
  }
9734
9713
  dispose() {
9735
- this.parent?.removeChild(this.nodeId, this.refKey), this.destroyVm(), this.debugTrace("dispose");
9714
+ this.parent?.removeChild(this.nodeId, this.instance), this.destroyVm(), this.debugTrace("dispose");
9736
9715
  }
9737
9716
  debugTrace(...n) {
9738
9717
  let e = "sandbox/root";
9739
- this.nodeId && (e = `sandbox/${this.nodeId}`), this.refKey && (e += `/${this.refKey}`), console.log(`<${e}>`, ...n);
9718
+ this.nodeId && (e = `sandbox/${this.nodeId}`), this.instance && (e += `/${this.instance}`), console.log(`<${e}>`, ...n);
9740
9719
  }
9741
9720
  addChild(n) {
9742
9721
  let e = n.nodeId;
9743
- n.refKey && (e += `/${n.refKey}`), this.children[e] = n;
9722
+ n.instance && (e += `/${n.instance}`), this.children[e] = n;
9744
9723
  }
9745
9724
  removeChild(n, e) {
9746
9725
  let o = n;
@@ -9884,15 +9863,15 @@ class iu {
9884
9863
  }
9885
9864
  }
9886
9865
  function tt(t, n, e, o, r) {
9887
- const i = Nc(), l = jc(), c = Z(), u = we(), m = Oe(), d = Ze(), p = Hc(), f = (b, h, V, R) => {
9866
+ const i = Nc(), l = jc(), c = Z(), u = we(), p = Oe(), d = Ze(), m = Hc(), f = (b, _, V, R) => {
9888
9867
  if (ie(c)) {
9889
- if (ce(h, ["settings", "slot"])) {
9868
+ if (ce(_, ["settings", "slot"])) {
9890
9869
  const N = t.value?.view.nodeLites.find(
9891
9870
  (G) => G.id === b
9892
9871
  );
9893
9872
  N ? N.slotId = V : console.assert(!1);
9894
9873
  }
9895
- if (ce(h, ["settings", "comp"])) {
9874
+ if (ce(_, ["settings", "comp"])) {
9896
9875
  const N = t.value?.view.nodeLites.find(
9897
9876
  (G) => G.id === b
9898
9877
  );
@@ -9900,12 +9879,12 @@ function tt(t, n, e, o, r) {
9900
9879
  }
9901
9880
  if (x.callFunction(
9902
9881
  "__triggerEventV1__",
9903
- ae("elementPropertyChangeEvent", b, h.join(".")),
9882
+ ae("elementPropertyChangeEvent", b, _.join(".")),
9904
9883
  V,
9905
9884
  R ?? V
9906
9885
  ), t.value?.code.reactivity) {
9907
9886
  let N = "";
9908
- h instanceof Array ? N = h.join(".") : N = h, ct(
9887
+ _ instanceof Array ? N = _.join(".") : N = _, ct(
9909
9888
  x,
9910
9889
  t.value.code.reactivity,
9911
9890
  Ne({
@@ -9918,17 +9897,17 @@ function tt(t, n, e, o, r) {
9918
9897
  );
9919
9898
  }
9920
9899
  }
9921
- }, _ = (b, h, V) => {
9900
+ }, g = (b, _, V) => {
9922
9901
  ie(c) && (x.callFunction(
9923
9902
  "__triggerEventV1__",
9924
9903
  ae("customPropertyChangeEvent", "globality", b),
9925
- h,
9926
- V ?? h
9904
+ _,
9905
+ V ?? _
9927
9906
  ), x.parent?.callFunction(
9928
9907
  "__triggerEventV1__",
9929
9908
  ae("refPropertyChangeEvent", x.nodeId, b),
9930
- h,
9931
- V ?? h
9909
+ _,
9910
+ V ?? _
9932
9911
  ), x.parent?.callFunction(
9933
9912
  "__triggerEventV1__",
9934
9913
  ae(
@@ -9936,36 +9915,36 @@ function tt(t, n, e, o, r) {
9936
9915
  x.nodeId,
9937
9916
  b
9938
9917
  ),
9939
- h,
9940
- V ?? h
9918
+ _,
9919
+ V ?? _
9941
9920
  ), t.value?.code.reactivity && ct(
9942
9921
  x,
9943
9922
  t.value.code.reactivity,
9944
9923
  Ne({ type: "customProperty", propertyId: b }),
9945
- h,
9924
+ _,
9946
9925
  V
9947
9926
  ));
9948
- }, g = (b, h, V) => {
9949
- ie(c) && console.log("onSlotPropetyChange", b, h, V);
9950
- }, I = (b, h, V) => {
9927
+ }, h = (b, _, V) => {
9928
+ ie(c) && console.log("onSlotPropetyChange", b, _, V);
9929
+ }, I = (b, _, V) => {
9951
9930
  ie(c) && t.value?.code.reactivity && ct(
9952
9931
  x,
9953
9932
  t.value.code.reactivity,
9954
9933
  Ne({ type: "adaptSlotProperty", propertyId: b }),
9955
- h,
9934
+ _,
9956
9935
  V
9957
9936
  );
9958
- }, v = (b, h, V) => {
9937
+ }, v = (b, _, V) => {
9959
9938
  ie(c) && (x.callFunction(
9960
9939
  "__triggerEventV1__",
9961
9940
  ae("stateChangeEvent", "globality", b),
9962
- h,
9963
- V ?? h
9941
+ _,
9942
+ V ?? _
9964
9943
  ), t.value?.code.reactivity && ct(
9965
9944
  x,
9966
9945
  t.value.code.reactivity,
9967
9946
  Ne({ type: "state", stateId: b }),
9968
- h,
9947
+ _,
9969
9948
  V
9970
9949
  ));
9971
9950
  }, x = new iu(
@@ -9979,8 +9958,8 @@ function tt(t, n, e, o, r) {
9979
9958
  u,
9980
9959
  {
9981
9960
  onElementPropertyChange: f,
9982
- onCustomPropertyChange: _,
9983
- onSlotPropetyChange: g,
9961
+ onCustomPropertyChange: g,
9962
+ onSlotPropetyChange: h,
9984
9963
  onAdaptSlotPropertyChange: I,
9985
9964
  onStateChange: v
9986
9965
  }
@@ -9989,16 +9968,16 @@ function tt(t, n, e, o, r) {
9989
9968
  x.dispose();
9990
9969
  }), ie(c)) {
9991
9970
  const b = async () => {
9992
- x.destroyVm(), x.associateData(t), x.resetCustomProperties(), x.resetAdaptSlotProperties(), x.resetStates(), !(!t.value || !t.value.code.script) && x.createVm(p, t.value.code.script);
9971
+ x.destroyVm(), x.associateData(t), x.resetCustomProperties(), x.resetAdaptSlotProperties(), x.resetStates(), !(!t.value || !t.value.code.script) && x.createVm(m, t.value.code.script);
9993
9972
  };
9994
9973
  b(), pe(t, () => {
9995
9974
  b();
9996
9975
  });
9997
9976
  }
9998
9977
  ie(c) && pe(
9999
- m,
10000
- (b, h) => {
10001
- const V = ut(b.width), R = ut(h?.width ?? b.width);
9978
+ p,
9979
+ (b, _) => {
9980
+ const V = ut(b.width), R = ut(_?.width ?? b.width);
10002
9981
  x.callFunction(
10003
9982
  "__triggerEventV1__",
10004
9983
  ae("elementEvent", "globality", "screenSizeChange"),