x-runtime-lib 0.6.40 → 0.6.41

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.
@@ -1,4 +1,4 @@
1
- import { Ref } from 'vue';
2
- export declare function useColorV1(dark: Ref<boolean>, raw: any): {
3
- color: import("vue").ComputedRef<any>;
1
+ import { ComputedRef, Ref } from 'vue';
2
+ export declare function useColorV1(dark: Ref<boolean>, raw: ComputedRef<any>): {
3
+ color: ComputedRef<any>;
4
4
  };
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  var sa = Object.defineProperty;
2
2
  var ua = (r, o, c) => o in r ? sa(r, o, { enumerable: !0, configurable: !0, writable: !0, value: c }) : r[o] = c;
3
3
  var lr = (r, o, c) => ua(r, typeof o != "symbol" ? o + "" : o, c);
4
- import { computed as R, provide as Se, inject as Re, readonly as $r, onBeforeMount as la, onUnmounted as lt, defineComponent as q, useTemplateRef as Ri, onMounted as Ti, watch as ke, nextTick as wi, createElementBlock as ae, openBlock as j, normalizeStyle as ct, ref as Ge, watchEffect as Oi, createBlock as ee, h as J, resolveComponent as se, unref as be, withCtx as Q, renderSlot as Ye, createVNode as ie, createSlots as dr, renderList as ca, useId as Ni, isRef as ki, createCommentVNode as Ci, normalizeClass as fa, toDisplayString as pa } from "vue";
4
+ import { computed as x, provide as Se, inject as Re, readonly as $r, onBeforeMount as la, onUnmounted as lt, defineComponent as q, useTemplateRef as Ri, onMounted as Ti, watch as ke, nextTick as wi, createElementBlock as ae, openBlock as j, normalizeStyle as ct, ref as Ge, watchEffect as Oi, createBlock as ee, h as J, resolveComponent as se, unref as be, withCtx as Q, renderSlot as Ye, createVNode as ie, createSlots as dr, renderList as ca, useId as Ni, isRef as ki, createCommentVNode as Ci, normalizeClass as fa, toDisplayString as pa } from "vue";
5
5
  import { waitUtil as Pi, eventBus as jr, messageInfo as da, messageSuccess as ha, messageWarning as ma, messageError as ya, openConfirmDlg as va, openPromptDlg as ba, useViewStack as Ai } from "x-essential-lib";
6
6
  import { useTheme as ga } from "vuetify";
7
7
  import { u as _a, r as Ii, i as Ea, a as xa, b as Sa, c as Ra, d as Ta, e as wa, f as Oa, g as Na, h as Li } from "./echarts-i9kva4al.js";
@@ -170,13 +170,13 @@ var zi = typeof exports == "object" && exports && !exports.nodeType && exports,
170
170
  }
171
171
  }(), Un = ze && ze.isTypedArray, Ys = Un ? Fr(Un) : Ws, Xs = Object.prototype, Hs = Xs.hasOwnProperty;
172
172
  function Js(r, o) {
173
- var c = Br(r), d = !c && ys(r), v = !c && !d && Wi(r), b = !c && !d && !v && Ys(r), y = c || d || v || b, S = y ? ps(r.length, String) : [], x = S.length;
173
+ var c = Br(r), d = !c && ys(r), v = !c && !d && Wi(r), b = !c && !d && !v && Ys(r), y = c || d || v || b, S = y ? ps(r.length, String) : [], R = S.length;
174
174
  for (var n in r)
175
175
  Hs.call(r, n) && !(y && // Safari 9 has enumerable `arguments.length` in strict mode.
176
176
  (n == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
177
177
  v && (n == "offset" || n == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
178
178
  b && (n == "buffer" || n == "byteLength" || n == "byteOffset") || // Skip index properties.
179
- is(n, x))) && S.push(n);
179
+ is(n, R))) && S.push(n);
180
180
  return S;
181
181
  }
182
182
  function Yi(r, o) {
@@ -486,15 +486,15 @@ function Tt(r, o, c, d, v, b) {
486
486
  if (S)
487
487
  y = Ku(r);
488
488
  else {
489
- var x = ve(r), n = x == Ji || x == Il;
489
+ var R = ve(r), n = R == Ji || R == Il;
490
490
  if (Wi(r))
491
491
  return Lu(r);
492
- if (x == Ki || x == Hi || n && !v)
492
+ if (R == Ki || R == Hi || n && !v)
493
493
  y = n ? {} : xl(r);
494
494
  else {
495
- if (!$[x])
495
+ if (!$[R])
496
496
  return v ? r : {};
497
- y = El(r, x);
497
+ y = El(r, R);
498
498
  }
499
499
  }
500
500
  b || (b = new He());
@@ -516,10 +516,10 @@ function Z(r) {
516
516
  return Tt(r, Zl | Ql);
517
517
  }
518
518
  function qi(r) {
519
- const o = R(() => {
519
+ const o = x(() => {
520
520
  var v;
521
521
  return (v = r.node.legend) == null ? void 0 : v.show;
522
- }), c = R(() => {
522
+ }), c = x(() => {
523
523
  var v;
524
524
  return (v = r.node.legend) == null ? void 0 : v.data;
525
525
  });
@@ -532,20 +532,20 @@ function qi(r) {
532
532
  return { show: o, data: c, applyLegend: d };
533
533
  }
534
534
  function Zi(r) {
535
- const o = R(() => r.node.series);
535
+ const o = x(() => r.node.series);
536
536
  function c(d) {
537
537
  d.series = o.value;
538
538
  }
539
539
  return { series: o, applySeries: c };
540
540
  }
541
541
  function Qi(r) {
542
- const o = R(() => {
542
+ const o = x(() => {
543
543
  var b;
544
544
  return (b = r.node.title) == null ? void 0 : b.show;
545
- }), c = R(() => {
545
+ }), c = x(() => {
546
546
  var b;
547
547
  return (b = r.node.title) == null ? void 0 : b.text;
548
- }), d = R(() => {
548
+ }), d = x(() => {
549
549
  var b;
550
550
  return (b = r.node.title) == null ? void 0 : b.subtext;
551
551
  });
@@ -559,16 +559,16 @@ function Qi(r) {
559
559
  return { show: o, text: c, subtext: d, applyTitle: v };
560
560
  }
561
561
  function eo(r) {
562
- const o = R(() => {
562
+ const o = x(() => {
563
563
  var y;
564
564
  return (y = r.node.xAxis) == null ? void 0 : y.show;
565
- }), c = R(() => {
565
+ }), c = x(() => {
566
566
  var y;
567
567
  return (y = r.node.xAxis) == null ? void 0 : y.position;
568
- }), d = R(() => {
568
+ }), d = x(() => {
569
569
  var y;
570
570
  return (y = r.node.xAxis) == null ? void 0 : y.type;
571
- }), v = R(() => {
571
+ }), v = x(() => {
572
572
  var y;
573
573
  return (y = r.node.xAxis) == null ? void 0 : y.data;
574
574
  });
@@ -583,16 +583,16 @@ function eo(r) {
583
583
  return { show: o, position: c, type: d, data: v, applyXAxis: b };
584
584
  }
585
585
  function to(r) {
586
- const o = R(() => {
586
+ const o = x(() => {
587
587
  var y;
588
588
  return (y = r.node.yAxis) == null ? void 0 : y.show;
589
- }), c = R(() => {
589
+ }), c = x(() => {
590
590
  var y;
591
591
  return (y = r.node.yAxis) == null ? void 0 : y.position;
592
- }), d = R(() => {
592
+ }), d = x(() => {
593
593
  var y;
594
594
  return (y = r.node.yAxis) == null ? void 0 : y.type;
595
- }), v = R(() => {
595
+ }), v = x(() => {
596
596
  var y;
597
597
  return (y = r.node.yAxis) == null ? void 0 : y.data;
598
598
  });
@@ -607,52 +607,58 @@ function to(r) {
607
607
  return { show: o, position: c, type: d, data: v, applyYAxis: b };
608
608
  }
609
609
  function $t(r, o) {
610
- const { computedThemes: c } = ga(), d = R(() => o == null ? void 0 : o.mode), v = R(() => {
611
- const S = o == null ? void 0 : o.theme;
610
+ const { computedThemes: c } = ga(), d = x(() => {
611
+ var S;
612
+ return (S = o.value) == null ? void 0 : S.mode;
613
+ }), v = x(() => {
614
+ var n;
615
+ const S = (n = o.value) == null ? void 0 : n.theme;
612
616
  return S ? S === "background0" ? r.value ? "#2e2e2e" : "#bdbdbd" : S === "background1" ? r.value ? "#272727" : "#eeeeee" : S === "background2" ? r.value ? "#1e1e1e" : "#ffffff" : (r.value ? c.value.dark : c.value.light).colors[S] : void 0;
613
- }), b = R(() => {
614
- var S, x;
615
- return r.value ? (S = o == null ? void 0 : o.custom) == null ? void 0 : S.dark : (x = o == null ? void 0 : o.custom) == null ? void 0 : x.light;
617
+ }), b = x(() => {
618
+ var S, R;
619
+ return r.value ? (S = o.value.custom) == null ? void 0 : S.dark : (R = o.value.custom) == null ? void 0 : R.light;
616
620
  });
617
- return { color: R(() => d.value === "theme" ? v.value : d.value === "custom" ? b.value : "") };
621
+ return { color: x(() => d.value === "theme" ? v.value : d.value === "custom" ? b.value : "") };
618
622
  }
619
623
  function ro(r, o) {
620
- var t;
621
- const c = R(() => {
624
+ const c = x(() => {
622
625
  var e;
623
626
  return (e = o.node.border) == null ? void 0 : e.style;
624
- }), d = R(() => {
627
+ }), d = x(() => {
625
628
  var e;
626
629
  return (e = o.node.border) == null ? void 0 : e.width;
627
- }), { color: v } = $t(r, (t = o.node.border) == null ? void 0 : t.color), b = R(() => {
630
+ }), v = x(() => {
631
+ var e;
632
+ return (e = o.node.border) == null ? void 0 : e.color;
633
+ }), { color: b } = $t(r, v), y = x(() => {
628
634
  var e, i;
629
635
  return (i = (e = o.node.border) == null ? void 0 : e.roundRadius) == null ? void 0 : i.tl;
630
- }), y = R(() => {
636
+ }), S = x(() => {
631
637
  var e, i;
632
638
  return (i = (e = o.node.border) == null ? void 0 : e.roundRadius) == null ? void 0 : i.tr;
633
- }), S = R(() => {
639
+ }), R = x(() => {
634
640
  var e, i;
635
641
  return (i = (e = o.node.border) == null ? void 0 : e.roundRadius) == null ? void 0 : i.bl;
636
- }), x = R(() => {
642
+ }), n = x(() => {
637
643
  var e, i;
638
644
  return (i = (e = o.node.border) == null ? void 0 : e.roundRadius) == null ? void 0 : i.br;
639
645
  });
640
- function n(e) {
641
- c.value && (e.borderStyle = c.value), d.value && (e.borderWidth = d.value), v.value && (e.borderColor = v.value), b.value && (e.borderTopLeftRadius = b.value), y.value && (e.borderTopRightRadius = y.value), S.value && (e.borderBottomLeftRadius = S.value), x.value && (e.borderBottomRightRadius = x.value);
646
+ function t(e) {
647
+ c.value && (e.borderStyle = c.value), d.value && (e.borderWidth = d.value), b.value && (e.borderColor = b.value), y.value && (e.borderTopLeftRadius = y.value), S.value && (e.borderTopRightRadius = S.value), R.value && (e.borderBottomLeftRadius = R.value), n.value && (e.borderBottomRightRadius = n.value);
642
648
  }
643
- return { borderStyle: c, borderWidth: d, borderColor: v, applyBorder: n };
649
+ return { borderStyle: c, borderWidth: d, borderColor: b, applyBorder: t };
644
650
  }
645
651
  function no(r) {
646
- const o = R(() => {
652
+ const o = x(() => {
647
653
  var y;
648
654
  return (y = r.node.margin) == null ? void 0 : y.top;
649
- }), c = R(() => {
655
+ }), c = x(() => {
650
656
  var y;
651
657
  return (y = r.node.margin) == null ? void 0 : y.left;
652
- }), d = R(() => {
658
+ }), d = x(() => {
653
659
  var y;
654
660
  return (y = r.node.margin) == null ? void 0 : y.bottom;
655
- }), v = R(() => {
661
+ }), v = x(() => {
656
662
  var y;
657
663
  return (y = r.node.margin) == null ? void 0 : y.right;
658
664
  });
@@ -662,16 +668,16 @@ function no(r) {
662
668
  return { marginTop: o, marginLeft: c, marginBottom: d, marginRight: v, applyMargin: b };
663
669
  }
664
670
  function io(r) {
665
- const o = R(() => {
671
+ const o = x(() => {
666
672
  var y;
667
673
  return (y = r.node.padding) == null ? void 0 : y.top;
668
- }), c = R(() => {
674
+ }), c = x(() => {
669
675
  var y;
670
676
  return (y = r.node.padding) == null ? void 0 : y.left;
671
- }), d = R(() => {
677
+ }), d = x(() => {
672
678
  var y;
673
679
  return (y = r.node.padding) == null ? void 0 : y.bottom;
674
- }), v = R(() => {
680
+ }), v = x(() => {
675
681
  var y;
676
682
  return (y = r.node.padding) == null ? void 0 : y.right;
677
683
  });
@@ -775,7 +781,7 @@ function rc(r, o, c, d, v) {
775
781
  console.error(`spawnNode pkg not found version, ${b}`);
776
782
  return;
777
783
  }
778
- const x = {
784
+ const R = {
779
785
  basic: {
780
786
  id: "",
781
787
  key: ""
@@ -797,7 +803,7 @@ function rc(r, o, c, d, v) {
797
803
  console.error(`spawnNode [ref] props not found, ${b}`);
798
804
  return;
799
805
  }
800
- oi(x, u), x.basic.id = n, x.basic.key = t, x.ref = {
806
+ oi(R, u), R.basic.id = n, R.basic.key = t, R.ref = {
801
807
  id: e
802
808
  };
803
809
  } else {
@@ -816,9 +822,9 @@ function rc(r, o, c, d, v) {
816
822
  console.error(`spawnNode [key] props not found, ${b}`);
817
823
  return;
818
824
  }
819
- oi(x, i), x.basic.id = n, x.basic.key = t, e.slots.some((u) => u.key === "default") && (x.children = []);
825
+ oi(R, i), R.basic.id = n, R.basic.key = t, e.slots.some((u) => u.key === "default") && (R.children = []);
820
826
  }
821
- return x;
827
+ return R;
822
828
  }
823
829
  function pd(r, o) {
824
830
  function c(d) {
@@ -901,16 +907,16 @@ function Wr() {
901
907
  return Re(yo);
902
908
  }
903
909
  function Je(r, o, c) {
904
- const d = R(() => {
910
+ const d = x(() => {
905
911
  var t;
906
912
  return (t = c.node.size) == null ? void 0 : t.width;
907
- }), v = R(() => {
913
+ }), v = x(() => {
908
914
  var t;
909
915
  return (t = c.node.size) == null ? void 0 : t.minWidth;
910
- }), b = R(() => {
916
+ }), b = x(() => {
911
917
  var t;
912
918
  return (t = c.node.size) == null ? void 0 : t.maxWidth;
913
- }), y = R(() => {
919
+ }), y = x(() => {
914
920
  var t, e;
915
921
  if (c.outer && r === "editor") {
916
922
  const i = pr((t = c.node.size) == null ? void 0 : t.height);
@@ -918,7 +924,7 @@ function Je(r, o, c) {
918
924
  return i / 100 * o.value.height + "px";
919
925
  }
920
926
  return (e = c.node.size) == null ? void 0 : e.height;
921
- }), S = R(() => {
927
+ }), S = x(() => {
922
928
  var t, e;
923
929
  if (c.outer && r === "editor") {
924
930
  const i = pr((t = c.node.size) == null ? void 0 : t.minHeight);
@@ -926,7 +932,7 @@ function Je(r, o, c) {
926
932
  return i / 100 * o.value.height + "px";
927
933
  }
928
934
  return (e = c.node.size) == null ? void 0 : e.minHeight;
929
- }), x = R(() => {
935
+ }), R = x(() => {
930
936
  var t, e;
931
937
  if (c.outer && r === "editor") {
932
938
  const i = pr((t = c.node.size) == null ? void 0 : t.maxHeight);
@@ -936,12 +942,12 @@ function Je(r, o, c) {
936
942
  return (e = c.node.size) == null ? void 0 : e.maxHeight;
937
943
  });
938
944
  function n(t) {
939
- d.value && (t.width = d.value), v.value && (t.minWidth = v.value), b.value && (t.maxWidth = b.value), y.value && (t.height = y.value), S.value && (t.minHeight = S.value), x.value && (t.maxHeight = x.value);
945
+ d.value && (t.width = d.value), v.value && (t.minWidth = v.value), b.value && (t.maxWidth = b.value), y.value && (t.height = y.value), S.value && (t.minHeight = S.value), R.value && (t.maxHeight = R.value);
940
946
  }
941
- return { width: d, minWidth: v, maxWidth: b, height: y, minHeight: S, maxHeight: x, applySize: n };
947
+ return { width: d, minWidth: v, maxWidth: b, height: y, minHeight: S, maxHeight: R, applySize: n };
942
948
  }
943
949
  function _o(r, o, c) {
944
- const d = R(() => o.node.basic.id), v = R(() => `callMethod@${d.value}`);
950
+ const d = x(() => o.node.basic.id), v = x(() => `callMethod@${d.value}`);
945
951
  la(() => {
946
952
  var b;
947
953
  (b = r.eventBus) == null || b.on(v.value, c);
@@ -1030,7 +1036,7 @@ const ff = /* @__PURE__ */ q({
1030
1036
  outer: { type: Boolean }
1031
1037
  },
1032
1038
  setup(r) {
1033
- const o = r, c = te(), d = Le(), v = pe(), b = De(), y = Me(), { width: S, minWidth: x, maxWidth: n, height: t, minHeight: e, maxHeight: i, applySize: u } = Je(c, d, o), { applyTitle: s } = Qi(o), { applyXAxis: l } = eo(o), { applyYAxis: a } = to(o), { applyLegend: p } = qi(o), { applySeries: m } = Zi(o), E = R(() => {
1039
+ const o = r, c = te(), d = Le(), v = pe(), b = De(), y = Me(), { width: S, minWidth: R, maxWidth: n, height: t, minHeight: e, maxHeight: i, applySize: u } = Je(c, d, o), { applyTitle: s } = Qi(o), { applyXAxis: l } = eo(o), { applyYAxis: a } = to(o), { applyLegend: p } = qi(o), { applySeries: m } = Zi(o), E = x(() => {
1034
1040
  const k = {}, re = y.value.type;
1035
1041
  return b === "page" ? re === "common" ? u(k) : console.assert(!1) : b === "comp" && re === "common" ? u(k) : console.assert(!1), k;
1036
1042
  }), T = Ri("chart");
@@ -1054,7 +1060,7 @@ const ff = /* @__PURE__ */ q({
1054
1060
  () => d.value.width,
1055
1061
  () => d.value.height,
1056
1062
  S,
1057
- x,
1063
+ R,
1058
1064
  n,
1059
1065
  t,
1060
1066
  e,
@@ -1083,7 +1089,7 @@ const ff = /* @__PURE__ */ q({
1083
1089
  outer: { type: Boolean }
1084
1090
  },
1085
1091
  setup(r) {
1086
- const o = r, c = te(), d = Le(), v = pe(), b = De(), y = Me(), { width: S, minWidth: x, maxWidth: n, height: t, minHeight: e, maxHeight: i, applySize: u } = Je(c, d, o), { applyTitle: s } = Qi(o), { applyXAxis: l } = eo(o), { applyYAxis: a } = to(o), { applyLegend: p } = qi(o), { applySeries: m } = Zi(o), E = R(() => {
1092
+ const o = r, c = te(), d = Le(), v = pe(), b = De(), y = Me(), { width: S, minWidth: R, maxWidth: n, height: t, minHeight: e, maxHeight: i, applySize: u } = Je(c, d, o), { applyTitle: s } = Qi(o), { applyXAxis: l } = eo(o), { applyYAxis: a } = to(o), { applyLegend: p } = qi(o), { applySeries: m } = Zi(o), E = x(() => {
1087
1093
  const k = {}, re = y.value.type;
1088
1094
  return b === "page" ? re === "common" ? u(k) : console.assert(!1) : b === "comp" && re === "common" ? u(k) : console.assert(!1), k;
1089
1095
  }), T = Ri("chart");
@@ -1107,7 +1113,7 @@ const ff = /* @__PURE__ */ q({
1107
1113
  () => d.value.width,
1108
1114
  () => d.value.height,
1109
1115
  S,
1110
- x,
1116
+ R,
1111
1117
  n,
1112
1118
  t,
1113
1119
  e,
@@ -1172,7 +1178,7 @@ function gf() {
1172
1178
  !*** ./original-repo/interpreter.js ***!
1173
1179
  \**************************************/
1174
1180
  /***/
1175
- function(y, S, x) {
1181
+ function(y, S, R) {
1176
1182
  /**
1177
1183
  * @license
1178
1184
  * Copyright 2013 Neil Fraser
@@ -2915,7 +2921,7 @@ function gf() {
2915
2921
  i = !0;
2916
2922
  else {
2917
2923
  try {
2918
- n.vm = x(
2924
+ n.vm = R(
2919
2925
  /*! vm */
2920
2926
  "vm"
2921
2927
  );
@@ -4203,12 +4209,12 @@ function gf() {
4203
4209
  \********************************/
4204
4210
  /***/
4205
4211
  function(y, S) {
4206
- (function(x, n) {
4212
+ (function(R, n) {
4207
4213
  return n(S);
4208
- })(typeof globalThis > "u" ? this || window : globalThis, function(x) {
4209
- x.version = "0.5.0";
4214
+ })(typeof globalThis > "u" ? this || window : globalThis, function(R) {
4215
+ R.version = "0.5.0";
4210
4216
  var n, t = "", e, i;
4211
- x.parse = function(f, h) {
4217
+ R.parse = function(f, h) {
4212
4218
  return t = String(f), e = t.length, s(h), Bo(), Qo(n.program);
4213
4219
  };
4214
4220
  var u = {
@@ -5016,7 +5022,7 @@ function gf() {
5016
5022
  var S = d[y];
5017
5023
  if (S !== void 0)
5018
5024
  return S.exports;
5019
- var x = d[y] = {
5025
+ var R = d[y] = {
5020
5026
  /******/
5021
5027
  // no module.id needed
5022
5028
  /******/
@@ -5025,11 +5031,11 @@ function gf() {
5025
5031
  exports: {}
5026
5032
  /******/
5027
5033
  };
5028
- return c[y].call(x.exports, x, x.exports, v), x.exports;
5034
+ return c[y].call(R.exports, R, R.exports, v), R.exports;
5029
5035
  }
5030
5036
  v.d = (y, S) => {
5031
- for (var x in S)
5032
- v.o(S, x) && !v.o(y, x) && Object.defineProperty(y, x, { enumerable: !0, get: S[x] });
5037
+ for (var R in S)
5038
+ v.o(S, R) && !v.o(y, R) && Object.defineProperty(y, R, { enumerable: !0, get: S[R] });
5033
5039
  }, v.o = (y, S) => Object.prototype.hasOwnProperty.call(y, S), v.r = (y) => {
5034
5040
  typeof Symbol < "u" && Symbol.toStringTag && Object.defineProperty(y, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(y, "__esModule", { value: !0 });
5035
5041
  };
@@ -5040,7 +5046,7 @@ function gf() {
5040
5046
  \*******************************/
5041
5047
  v.r(b), v.d(b, {
5042
5048
  /* harmony export */
5043
- default: () => x
5049
+ default: () => R
5044
5050
  /* harmony export */
5045
5051
  });
5046
5052
  const y = v(
@@ -5051,7 +5057,7 @@ function gf() {
5051
5057
  const { Interpreter: S } = v(
5052
5058
  /*! ../original-repo/interpreter */
5053
5059
  "./original-repo/interpreter.js"
5054
- ), x = S;
5060
+ ), R = S;
5055
5061
  })(), b = b.default, b;
5056
5062
  })()
5057
5063
  ));
@@ -5061,28 +5067,28 @@ var _f = gf();
5061
5067
  const Ef = /* @__PURE__ */ df(_f);
5062
5068
  function xf(r, o) {
5063
5069
  function c(S) {
5064
- const x = r.pseudoToNative(S);
5065
- console.log(x);
5070
+ const R = r.pseudoToNative(S);
5071
+ console.log(R);
5066
5072
  }
5067
5073
  function d(S) {
5068
- const x = r.pseudoToNative(S);
5074
+ const R = r.pseudoToNative(S);
5069
5075
  let n = "";
5070
- typeof x == "object" ? n = JSON.stringify(x) : n = String(x), jr.emit("consoleAppend", n);
5076
+ typeof R == "object" ? n = JSON.stringify(R) : n = String(R), jr.emit("consoleAppend", n);
5071
5077
  }
5072
- function v(S, x) {
5073
- const n = r.pseudoToNative(S), t = r.pseudoToNative(x);
5078
+ function v(S, R) {
5079
+ const n = r.pseudoToNative(S), t = r.pseudoToNative(R);
5074
5080
  n === "info" ? da(t) : n === "success" ? ha(t) : n === "warning" ? ma(t) : n === "error" && ya(t);
5075
5081
  }
5076
- function b(S, x) {
5077
- const n = r.pseudoToNative(S), t = r.pseudoToNative(x);
5082
+ function b(S, R) {
5083
+ const n = r.pseudoToNative(S), t = r.pseudoToNative(R);
5078
5084
  setTimeout(() => {
5079
5085
  r.appendCode(`__timeoutCallbackV1__(${n})`), r.run();
5080
5086
  }, t);
5081
5087
  }
5082
- function y(S, x) {
5088
+ function y(S, R) {
5083
5089
  const n = r.pseudoToNative(S);
5084
5090
  setTimeout(() => {
5085
- x(), r.run();
5091
+ R(), r.run();
5086
5092
  }, n);
5087
5093
  }
5088
5094
  r.setProperty(
@@ -5198,7 +5204,7 @@ function Rf(r, o, c) {
5198
5204
  }
5199
5205
  }
5200
5206
  }
5201
- function x(e, i, u, s) {
5207
+ function R(e, i, u, s) {
5202
5208
  var E;
5203
5209
  const l = o.pseudoToNative(e), a = o.pseudoToNative(i), p = o.pseudoToNative(u), m = { outputs: [] };
5204
5210
  (E = r.eventBus) == null || E.emit(`callMethod@${l}`, { name: a, inputs: p, result: m }), s(o.nativeToPseudo(m.outputs)), o.run();
@@ -5234,7 +5240,7 @@ function Rf(r, o, c) {
5234
5240
  ), o.setProperty(
5235
5241
  c,
5236
5242
  "__callNodeMethodV1__",
5237
- o.createAsyncFunction(x)
5243
+ o.createAsyncFunction(R)
5238
5244
  ), o.setProperty(
5239
5245
  c,
5240
5246
  "__openConfirmDlgV1__",
@@ -5442,7 +5448,7 @@ const Af = /* @__PURE__ */ q({
5442
5448
  outer: { type: Boolean }
5443
5449
  },
5444
5450
  setup(r) {
5445
- const { t: o } = Di(), c = r, d = vo(), v = te(), b = Le(), y = De(), S = Me(), x = bo(), n = Ge(-1), t = Ge(), e = {};
5451
+ const { t: o } = Di(), c = r, d = vo(), v = te(), b = Le(), y = De(), S = Me(), R = bo(), n = Ge(-1), t = Ge(), e = {};
5446
5452
  go(e);
5447
5453
  const i = () => {
5448
5454
  e.eventBus && (e.eventBus = void 0), e.interpreter && (xo(e.interpreter), e.interpreter = void 0);
@@ -5452,7 +5458,7 @@ const Af = /* @__PURE__ */ q({
5452
5458
  n.value = -1, t.value = void 0, i();
5453
5459
  return;
5454
5460
  }
5455
- const T = x.value[c.refContext.refid];
5461
+ const T = R.value[c.refContext.refid];
5456
5462
  if (!T) {
5457
5463
  n.value = -1, t.value = null, i(), jr.emit("compNotAvail", c.refContext.refid);
5458
5464
  return;
@@ -5471,7 +5477,7 @@ const Af = /* @__PURE__ */ q({
5471
5477
  }), lt(() => {
5472
5478
  i();
5473
5479
  });
5474
- const { applySize: u } = Je(v, b, c), s = R(() => {
5480
+ const { applySize: u } = Je(v, b, c), s = x(() => {
5475
5481
  const T = {}, g = S.value.type;
5476
5482
  return y === "page" ? g === "common" ? u(T) : console.assert(!1) : y === "comp" && g === "common" ? u(T) : console.assert(!1), T;
5477
5483
  });
@@ -5531,22 +5537,22 @@ const Af = /* @__PURE__ */ q({
5531
5537
  state: {}
5532
5538
  },
5533
5539
  setup(r) {
5534
- const { t: o } = Di(), c = r, d = vo(), v = te(), b = De(), y = Me(), S = bo(), x = Ge(-1), n = Ge(), t = {};
5540
+ const { t: o } = Di(), c = r, d = vo(), v = te(), b = De(), y = Me(), S = bo(), R = Ge(-1), n = Ge(), t = {};
5535
5541
  go(t);
5536
5542
  const e = () => {
5537
5543
  t.eventBus && (t.eventBus = void 0), t.interpreter && (xo(t.interpreter), t.interpreter = void 0);
5538
5544
  };
5539
5545
  Oi(() => {
5540
5546
  if (!c.refContext.refid) {
5541
- x.value = -1, n.value = void 0, e();
5547
+ R.value = -1, n.value = void 0, e();
5542
5548
  return;
5543
5549
  }
5544
5550
  const m = S.value[c.refContext.refid];
5545
5551
  if (!m) {
5546
- x.value = -1, n.value = null, e(), jr.emit("compNotAvail", c.refContext.refid);
5552
+ R.value = -1, n.value = null, e(), jr.emit("compNotAvail", c.refContext.refid);
5547
5553
  return;
5548
5554
  }
5549
- if (x.value === m.dataSeq || (x.value = m.dataSeq, n.value = Z(m.data), v !== "runtime"))
5555
+ if (R.value === m.dataSeq || (R.value = m.dataSeq, n.value = Z(m.data), v !== "runtime"))
5550
5556
  return;
5551
5557
  e();
5552
5558
  const E = n.value, T = E.code.script;
@@ -5625,23 +5631,25 @@ const Af = /* @__PURE__ */ q({
5625
5631
  outer: { type: Boolean }
5626
5632
  },
5627
5633
  setup(r) {
5628
- var u;
5629
- const o = r, c = te(), d = pe(), v = Wr(), b = R(() => {
5634
+ const o = r, c = te(), d = pe(), v = Wr(), b = x(() => {
5630
5635
  var s;
5631
5636
  return (s = o.node.settings) == null ? void 0 : s.text;
5632
- }), y = R(() => {
5637
+ }), y = x(() => {
5633
5638
  var s;
5634
5639
  return (s = o.node.settings) == null ? void 0 : s.disabled;
5635
- }), S = R(() => {
5640
+ }), S = x(() => {
5636
5641
  var s;
5637
5642
  return (s = o.node.settings) == null ? void 0 : s.variant;
5638
- }), x = R(() => {
5643
+ }), R = x(() => {
5639
5644
  var s;
5640
5645
  return (s = o.node.settings) == null ? void 0 : s.density;
5641
- }), n = R(() => {
5646
+ }), n = x(() => {
5642
5647
  var s;
5643
5648
  return (s = o.node.settings) == null ? void 0 : s.block;
5644
- }), t = R(() => d.value ? "dark" : "light"), { color: e } = $t(d, (u = o.node.settings) == null ? void 0 : u.color), i = (s) => {
5649
+ }), t = x(() => d.value ? "dark" : "light"), e = x(() => {
5650
+ var s;
5651
+ return (s = o.node.settings) == null ? void 0 : s.color;
5652
+ }), { color: i } = $t(d, e), u = (s) => {
5645
5653
  if (c !== "runtime")
5646
5654
  return;
5647
5655
  const l = v.interpreter;
@@ -5656,11 +5664,11 @@ const Af = /* @__PURE__ */ q({
5656
5664
  text: b.value,
5657
5665
  disabled: y.value,
5658
5666
  variant: S.value,
5659
- density: x.value,
5660
- color: be(e),
5667
+ density: R.value,
5668
+ color: be(i),
5661
5669
  block: n.value,
5662
5670
  theme: t.value,
5663
- onClick: i
5671
+ onClick: u
5664
5672
  }, null, 8, ["text", "disabled", "variant", "density", "color", "block", "theme"]);
5665
5673
  };
5666
5674
  }
@@ -5691,25 +5699,25 @@ const jf = /* @__PURE__ */ Bt(Vf, [["render", $f]]), Bf = { key: 0 }, Ff = /* @_
5691
5699
  outer: { type: Boolean }
5692
5700
  },
5693
5701
  setup(r) {
5694
- const o = r, c = te(), d = pe(), v = R(() => {
5702
+ const o = r, c = te(), d = pe(), v = x(() => {
5695
5703
  var e;
5696
5704
  return (e = o.node.settings) == null ? void 0 : e.value;
5697
- }), b = R(() => {
5705
+ }), b = x(() => {
5698
5706
  var e;
5699
5707
  return (e = o.node.settings) == null ? void 0 : e.label;
5700
- }), y = R(() => {
5708
+ }), y = x(() => {
5701
5709
  var e;
5702
5710
  return (e = o.node.settings) == null ? void 0 : e.placeholder;
5703
- }), S = R(() => {
5711
+ }), S = x(() => {
5704
5712
  var e;
5705
5713
  return (e = o.node.settings) == null ? void 0 : e.hideDetails;
5706
- }), x = R(() => {
5714
+ }), R = x(() => {
5707
5715
  var e;
5708
5716
  return (e = o.node.settings) == null ? void 0 : e.singleLine;
5709
- }), n = R(() => {
5717
+ }), n = x(() => {
5710
5718
  var e;
5711
5719
  return c !== "runtime" ? !0 : (e = o.node.settings) == null ? void 0 : e.readonly;
5712
- }), t = R(() => d.value ? "dark" : "light");
5720
+ }), t = x(() => d.value ? "dark" : "light");
5713
5721
  return (e, i) => {
5714
5722
  const u = se("v-combobox");
5715
5723
  return be(c) === "editor" ? (j(), ae("div", Bf, [
@@ -5718,7 +5726,7 @@ const jf = /* @__PURE__ */ Bt(Vf, [["render", $f]]), Bf = { key: 0 }, Ff = /* @_
5718
5726
  label: b.value,
5719
5727
  placeholder: y.value,
5720
5728
  "hide-details": S.value,
5721
- "single-line": x.value,
5729
+ "single-line": R.value,
5722
5730
  readonly: n.value,
5723
5731
  theme: t.value
5724
5732
  }, null, 8, ["model-value", "label", "placeholder", "hide-details", "single-line", "readonly", "theme"])
@@ -5728,7 +5736,7 @@ const jf = /* @__PURE__ */ Bt(Vf, [["render", $f]]), Bf = { key: 0 }, Ff = /* @_
5728
5736
  label: b.value,
5729
5737
  placeholder: y.value,
5730
5738
  "hide-details": S.value,
5731
- "single-line": x.value,
5739
+ "single-line": R.value,
5732
5740
  readonly: n.value,
5733
5741
  theme: t.value
5734
5742
  }, null, 8, ["model-value", "label", "placeholder", "hide-details", "single-line", "readonly", "theme"]));
@@ -5741,16 +5749,15 @@ const jf = /* @__PURE__ */ Bt(Vf, [["render", $f]]), Bf = { key: 0 }, Ff = /* @_
5741
5749
  outer: { type: Boolean }
5742
5750
  },
5743
5751
  setup(r) {
5744
- var u;
5745
- const o = r, c = te(), d = Le(), v = pe(), b = De(), y = Me(), { applySize: S } = Je(c, d, o), { applyMargin: x } = no(o), { applyPadding: n } = io(o), { applyBorder: t } = ro(v, o), { color: e } = $t(
5746
- v,
5747
- (u = o.node.settings) == null ? void 0 : u.backgroundColor
5748
- ), i = R(() => {
5752
+ const o = r, c = te(), d = Le(), v = pe(), b = De(), y = Me(), { applySize: S } = Je(c, d, o), { applyMargin: R } = no(o), { applyPadding: n } = io(o), { applyBorder: t } = ro(v, o), e = x(() => {
5753
+ var s;
5754
+ return (s = o.node.settings) == null ? void 0 : s.backgroundColor;
5755
+ }), { color: i } = $t(v, e), u = x(() => {
5749
5756
  const s = {}, l = y.value.type;
5750
- return b === "page" ? l === "common" ? (S(s), x(s), n(s), t(s), e.value && (s.backgroundColor = e.value)) : console.assert(!1) : b === "comp" && l === "common" ? (S(s), x(s), n(s), t(s), e.value && (s.backgroundColor = e.value)) : console.assert(!1), s;
5757
+ return b === "page" ? l === "common" ? (S(s), R(s), n(s), t(s), i.value && (s.backgroundColor = i.value)) : console.assert(!1) : b === "comp" && l === "common" ? (S(s), R(s), n(s), t(s), i.value && (s.backgroundColor = i.value)) : console.assert(!1), s;
5751
5758
  });
5752
5759
  return (s, l) => (j(), ae("div", {
5753
- style: ct(i.value)
5760
+ style: ct(u.value)
5754
5761
  }, [
5755
5762
  Ye(s.$slots, "default")
5756
5763
  ], 4));
@@ -5762,37 +5769,37 @@ const jf = /* @__PURE__ */ Bt(Vf, [["render", $f]]), Bf = { key: 0 }, Ff = /* @_
5762
5769
  outer: { type: Boolean }
5763
5770
  },
5764
5771
  setup(r) {
5765
- const o = r, c = pe(), d = R(() => {
5772
+ const o = r, c = pe(), d = x(() => {
5766
5773
  var l;
5767
5774
  return (l = o.node.size) == null ? void 0 : l.width;
5768
- }), v = R(() => {
5775
+ }), v = x(() => {
5769
5776
  var l;
5770
5777
  return (l = o.node.size) == null ? void 0 : l.height;
5771
- }), b = R(() => {
5778
+ }), b = x(() => {
5772
5779
  var l;
5773
5780
  return (l = o.node.settings) == null ? void 0 : l.headers;
5774
- }), y = R(() => {
5781
+ }), y = x(() => {
5775
5782
  var l;
5776
5783
  return (l = o.node.settings) == null ? void 0 : l.items;
5777
- }), S = R(() => {
5784
+ }), S = x(() => {
5778
5785
  var l;
5779
5786
  return (l = o.node.settings) == null ? void 0 : l.density;
5780
- }), x = R(() => {
5787
+ }), R = x(() => {
5781
5788
  var l;
5782
5789
  return (l = o.node.settings) == null ? void 0 : l.hover;
5783
- }), n = R(() => {
5790
+ }), n = x(() => {
5784
5791
  var l;
5785
5792
  return (l = o.node.settings) == null ? void 0 : l.fixedHeader;
5786
- }), t = R(() => {
5793
+ }), t = x(() => {
5787
5794
  var l;
5788
5795
  return (l = o.node.settings) == null ? void 0 : l.fixedFooter;
5789
- }), e = R(() => {
5796
+ }), e = x(() => {
5790
5797
  var l;
5791
5798
  return (l = o.node.settings) == null ? void 0 : l.loading;
5792
- }), i = R(() => {
5799
+ }), i = x(() => {
5793
5800
  var l;
5794
5801
  return (l = o.node.settings) == null ? void 0 : l.multiSort;
5795
- }), u = R(() => c.value ? "dark" : "light"), s = R(() => {
5802
+ }), u = x(() => c.value ? "dark" : "light"), s = x(() => {
5796
5803
  var p;
5797
5804
  const l = [];
5798
5805
  return (((p = o.node.slots) == null ? void 0 : p.items) ?? []).forEach((m) => {
@@ -5807,7 +5814,7 @@ const jf = /* @__PURE__ */ Bt(Vf, [["render", $f]]), Bf = { key: 0 }, Ff = /* @_
5807
5814
  headers: b.value,
5808
5815
  items: y.value,
5809
5816
  density: S.value,
5810
- hover: x.value,
5817
+ hover: R.value,
5811
5818
  "fixed-header": n.value,
5812
5819
  "fixed-footer": t.value,
5813
5820
  loading: e.value,
@@ -5833,7 +5840,7 @@ const jf = /* @__PURE__ */ Bt(Vf, [["render", $f]]), Bf = { key: 0 }, Ff = /* @_
5833
5840
  outer: { type: Boolean }
5834
5841
  },
5835
5842
  setup(r) {
5836
- const o = r, c = te(), d = Wr(), v = R(() => {
5843
+ const o = r, c = te(), d = Wr(), v = x(() => {
5837
5844
  var S;
5838
5845
  return (S = o.node.basic) == null ? void 0 : S.id;
5839
5846
  }), { open: b } = Ai(`runtimeDlg/${Ni()}`);
@@ -5842,11 +5849,11 @@ const jf = /* @__PURE__ */ Bt(Vf, [["render", $f]]), Bf = { key: 0 }, Ff = /* @_
5842
5849
  return;
5843
5850
  const { name: n } = S;
5844
5851
  n === "open" ? b.value = !0 : n === "close" && (b.value = !1);
5845
- }), (S, x) => {
5852
+ }), (S, R) => {
5846
5853
  const n = se("v-dialog");
5847
5854
  return j(), ee(n, {
5848
5855
  modelValue: be(b),
5849
- "onUpdate:modelValue": x[0] || (x[0] = (t) => ki(b) ? b.value = t : null),
5856
+ "onUpdate:modelValue": R[0] || (R[0] = (t) => ki(b) ? b.value = t : null),
5850
5857
  attach: "#dialogContainer"
5851
5858
  }, {
5852
5859
  activator: Q(() => [
@@ -5869,13 +5876,12 @@ const jf = /* @__PURE__ */ Bt(Vf, [["render", $f]]), Bf = { key: 0 }, Ff = /* @_
5869
5876
  outer: { type: Boolean }
5870
5877
  },
5871
5878
  setup(r) {
5872
- var s;
5873
- const o = r, c = te(), d = Le(), v = pe(), b = De(), y = Me(), { applySize: S } = Je(c, d, o), { applyMargin: x } = no(o), { applyPadding: n } = io(o), { applyBorder: t } = ro(v, o), { color: e } = $t(
5874
- v,
5875
- (s = o.node.settings) == null ? void 0 : s.backgroundColor
5876
- ), i = (l) => {
5879
+ const o = r, c = te(), d = Le(), v = pe(), b = De(), y = Me(), { applySize: S } = Je(c, d, o), { applyMargin: R } = no(o), { applyPadding: n } = io(o), { applyBorder: t } = ro(v, o), e = x(() => {
5880
+ var l;
5881
+ return (l = o.node.settings) == null ? void 0 : l.backgroundColor;
5882
+ }), { color: i } = $t(v, e), u = (l) => {
5877
5883
  var g, O, N, P;
5878
- e.value && (l.backgroundColor = e.value), l.display = "flex";
5884
+ i.value && (l.backgroundColor = i.value), l.display = "flex";
5879
5885
  const a = so(d.value.width), p = ot(a, (g = o.node.settings) == null ? void 0 : g.direction);
5880
5886
  p === "row" ? l.flexDirection = "row" : p === "rowReverse" ? l.flexDirection = "row-reverse" : p === "column" ? l.flexDirection = "column" : p === "columnReverse" && (l.flexDirection = "column-reverse");
5881
5887
  const m = ot(a, (O = o.node.settings) == null ? void 0 : O.wrap);
@@ -5884,12 +5890,12 @@ const jf = /* @__PURE__ */ Bt(Vf, [["render", $f]]), Bf = { key: 0 }, Ff = /* @_
5884
5890
  E === "start" ? l.justifyContent = "flex-start" : E === "end" ? l.justifyContent = "flex-end" : E === "center" ? l.justifyContent = "center" : E === "spaceBetween" ? l.justifyContent = "space-between" : E === "spaceAround" ? l.justifyContent = "space-around" : E === "spaceEvenly" && (l.justifyContent = "space-evenly");
5885
5891
  const T = ot(a, (P = o.node.settings) == null ? void 0 : P.crossAlign);
5886
5892
  T === "start" ? l.alignItems = "flex-start" : T === "end" ? l.alignItems = "flex-end" : T === "center" ? l.alignItems = "center" : T === "baseline" ? l.alignItems = "baseline" : T === "stretch" && (l.alignItems = "stretch");
5887
- }, u = R(() => {
5893
+ }, s = x(() => {
5888
5894
  const l = {}, a = y.value.type;
5889
- return b === "page" ? a === "common" ? (S(l), x(l), n(l), t(l), i(l)) : console.assert(!1) : b === "comp" && a === "common" ? (S(l), x(l), n(l), t(l), i(l)) : console.assert(!1), l;
5895
+ return b === "page" ? a === "common" ? (S(l), R(l), n(l), t(l), u(l)) : console.assert(!1) : b === "comp" && a === "common" ? (S(l), R(l), n(l), t(l), u(l)) : console.assert(!1), l;
5890
5896
  });
5891
5897
  return (l, a) => (j(), ae("div", {
5892
- style: ct(u.value)
5898
+ style: ct(s.value)
5893
5899
  }, [
5894
5900
  Ye(l.$slots, "default")
5895
5901
  ], 4));
@@ -5901,15 +5907,15 @@ const jf = /* @__PURE__ */ Bt(Vf, [["render", $f]]), Bf = { key: 0 }, Ff = /* @_
5901
5907
  outer: { type: Boolean }
5902
5908
  },
5903
5909
  setup(r) {
5904
- const o = r, c = te(), d = Le(), v = De(), b = Me(), { applySize: y } = Je(c, d, o), S = R(() => {
5910
+ const o = r, c = te(), d = Le(), v = De(), b = Me(), { applySize: y } = Je(c, d, o), S = x(() => {
5905
5911
  var t;
5906
5912
  return (t = o.node.settings) == null ? void 0 : t.grow;
5907
- }), x = R(() => {
5913
+ }), R = x(() => {
5908
5914
  var t;
5909
5915
  return (t = o.node.settings) == null ? void 0 : t.shrink;
5910
- }), n = R(() => {
5916
+ }), n = x(() => {
5911
5917
  const t = {}, e = b.value.type;
5912
- return v === "page" ? e === "common" ? (y(t), t.flexGrow = S.value ? 1 : 0, t.flexShrink = x.value ? 1 : 0) : console.assert(!1) : v === "comp" && e === "common" ? (y(t), t.flexGrow = S.value ? 1 : 0, t.flexShrink = x.value ? 1 : 0) : console.assert(!1), t;
5918
+ return v === "page" ? e === "common" ? (y(t), t.flexGrow = S.value ? 1 : 0, t.flexShrink = R.value ? 1 : 0) : console.assert(!1) : v === "comp" && e === "common" ? (y(t), t.flexGrow = S.value ? 1 : 0, t.flexShrink = R.value ? 1 : 0) : console.assert(!1), t;
5913
5919
  });
5914
5920
  return (t, e) => (j(), ae("div", {
5915
5921
  style: ct(n.value)
@@ -5924,10 +5930,10 @@ const jf = /* @__PURE__ */ Bt(Vf, [["render", $f]]), Bf = { key: 0 }, Ff = /* @_
5924
5930
  outer: { type: Boolean }
5925
5931
  },
5926
5932
  setup(r) {
5927
- const o = r, c = te(), d = Wr(), v = Ge(0), b = Ge(0), y = R(() => [v.value, b.value]), S = R(() => {
5933
+ const o = r, c = te(), d = Wr(), v = Ge(0), b = Ge(0), y = x(() => [v.value, b.value]), S = x(() => {
5928
5934
  var t;
5929
5935
  return (t = o.node.basic) == null ? void 0 : t.id;
5930
- }), { open: x } = Ai(`runtimeMenu/${Ni()}`);
5936
+ }), { open: R } = Ai(`runtimeMenu/${Ni()}`);
5931
5937
  return _o(d, o, (t) => {
5932
5938
  if (c !== "runtime")
5933
5939
  return;
@@ -5935,12 +5941,12 @@ const jf = /* @__PURE__ */ Bt(Vf, [["render", $f]]), Bf = { key: 0 }, Ff = /* @_
5935
5941
  if (!e)
5936
5942
  return;
5937
5943
  const { name: i } = t;
5938
- i === "open" ? (v.value = e.getProperty(e.globalObject, "__pointerPosX__"), b.value = e.getProperty(e.globalObject, "__pointerPosY__"), x.value = !0) : i === "close" && (x.value = !1);
5944
+ i === "open" ? (v.value = e.getProperty(e.globalObject, "__pointerPosX__"), b.value = e.getProperty(e.globalObject, "__pointerPosY__"), R.value = !0) : i === "close" && (R.value = !1);
5939
5945
  }), (t, e) => {
5940
5946
  const i = se("v-menu");
5941
5947
  return j(), ee(i, {
5942
- modelValue: be(x),
5943
- "onUpdate:modelValue": e[0] || (e[0] = (u) => ki(x) ? x.value = u : null),
5948
+ modelValue: be(R),
5949
+ "onUpdate:modelValue": e[0] || (e[0] = (u) => ki(R) ? R.value = u : null),
5944
5950
  "location-strategy": "connected",
5945
5951
  target: y.value,
5946
5952
  attach: "menuContainer",
@@ -5966,25 +5972,25 @@ const jf = /* @__PURE__ */ Bt(Vf, [["render", $f]]), Bf = { key: 0 }, Ff = /* @_
5966
5972
  outer: { type: Boolean }
5967
5973
  },
5968
5974
  setup(r) {
5969
- const o = r, c = te(), d = pe(), v = R(() => {
5975
+ const o = r, c = te(), d = pe(), v = x(() => {
5970
5976
  var e;
5971
5977
  return (e = o.node.settings) == null ? void 0 : e.value;
5972
- }), b = R(() => {
5978
+ }), b = x(() => {
5973
5979
  var e;
5974
5980
  return (e = o.node.settings) == null ? void 0 : e.label;
5975
- }), y = R(() => {
5981
+ }), y = x(() => {
5976
5982
  var e;
5977
5983
  return (e = o.node.settings) == null ? void 0 : e.placeholder;
5978
- }), S = R(() => {
5984
+ }), S = x(() => {
5979
5985
  var e;
5980
5986
  return (e = o.node.settings) == null ? void 0 : e.hideDetails;
5981
- }), x = R(() => {
5987
+ }), R = x(() => {
5982
5988
  var e;
5983
5989
  return (e = o.node.settings) == null ? void 0 : e.singleLine;
5984
- }), n = R(() => {
5990
+ }), n = x(() => {
5985
5991
  var e;
5986
5992
  return c !== "runtime" ? !0 : (e = o.node.settings) == null ? void 0 : e.readonly;
5987
- }), t = R(() => d.value ? "dark" : "light");
5993
+ }), t = x(() => d.value ? "dark" : "light");
5988
5994
  return (e, i) => {
5989
5995
  const u = se("v-number-input");
5990
5996
  return be(c) === "editor" ? (j(), ae("div", Kf, [
@@ -5993,7 +5999,7 @@ const jf = /* @__PURE__ */ Bt(Vf, [["render", $f]]), Bf = { key: 0 }, Ff = /* @_
5993
5999
  label: b.value,
5994
6000
  placeholder: y.value,
5995
6001
  "hide-details": S.value,
5996
- "single-line": x.value,
6002
+ "single-line": R.value,
5997
6003
  readonly: n.value,
5998
6004
  theme: t.value
5999
6005
  }, null, 8, ["model-value", "label", "placeholder", "hide-details", "single-line", "readonly", "theme"])
@@ -6003,7 +6009,7 @@ const jf = /* @__PURE__ */ Bt(Vf, [["render", $f]]), Bf = { key: 0 }, Ff = /* @_
6003
6009
  label: b.value,
6004
6010
  placeholder: y.value,
6005
6011
  "hide-details": S.value,
6006
- "single-line": x.value,
6012
+ "single-line": R.value,
6007
6013
  readonly: n.value,
6008
6014
  theme: t.value
6009
6015
  }, null, 8, ["model-value", "label", "placeholder", "hide-details", "single-line", "readonly", "theme"]));
@@ -6021,25 +6027,25 @@ const ep = /* @__PURE__ */ Bt(Zf, [["render", Qf]]), tp = { key: 0 }, rp = /* @_
6021
6027
  outer: { type: Boolean }
6022
6028
  },
6023
6029
  setup(r) {
6024
- const o = r, c = te(), d = pe(), v = R(() => {
6030
+ const o = r, c = te(), d = pe(), v = x(() => {
6025
6031
  var e;
6026
6032
  return (e = o.node.settings) == null ? void 0 : e.value;
6027
- }), b = R(() => {
6033
+ }), b = x(() => {
6028
6034
  var e;
6029
6035
  return (e = o.node.settings) == null ? void 0 : e.label;
6030
- }), y = R(() => {
6036
+ }), y = x(() => {
6031
6037
  var e;
6032
6038
  return (e = o.node.settings) == null ? void 0 : e.placeholder;
6033
- }), S = R(() => {
6039
+ }), S = x(() => {
6034
6040
  var e;
6035
6041
  return (e = o.node.settings) == null ? void 0 : e.hideDetails;
6036
- }), x = R(() => {
6042
+ }), R = x(() => {
6037
6043
  var e;
6038
6044
  return (e = o.node.settings) == null ? void 0 : e.singleLine;
6039
- }), n = R(() => {
6045
+ }), n = x(() => {
6040
6046
  var e;
6041
6047
  return c !== "runtime" ? !0 : (e = o.node.settings) == null ? void 0 : e.readonly;
6042
- }), t = R(() => d.value ? "dark" : "light");
6048
+ }), t = x(() => d.value ? "dark" : "light");
6043
6049
  return (e, i) => {
6044
6050
  const u = se("v-select");
6045
6051
  return be(c) === "editor" ? (j(), ae("div", tp, [
@@ -6048,7 +6054,7 @@ const ep = /* @__PURE__ */ Bt(Zf, [["render", Qf]]), tp = { key: 0 }, rp = /* @_
6048
6054
  label: b.value,
6049
6055
  placeholder: y.value,
6050
6056
  "hide-details": S.value,
6051
- "single-line": x.value,
6057
+ "single-line": R.value,
6052
6058
  readonly: n.value,
6053
6059
  theme: t.value
6054
6060
  }, null, 8, ["model-value", "label", "placeholder", "hide-details", "single-line", "readonly", "theme"])
@@ -6058,7 +6064,7 @@ const ep = /* @__PURE__ */ Bt(Zf, [["render", Qf]]), tp = { key: 0 }, rp = /* @_
6058
6064
  label: b.value,
6059
6065
  placeholder: y.value,
6060
6066
  "hide-details": S.value,
6061
- "single-line": x.value,
6067
+ "single-line": R.value,
6062
6068
  readonly: n.value,
6063
6069
  theme: t.value
6064
6070
  }, null, 8, ["model-value", "label", "placeholder", "hide-details", "single-line", "readonly", "theme"]));
@@ -6071,28 +6077,28 @@ const ep = /* @__PURE__ */ Bt(Zf, [["render", Qf]]), tp = { key: 0 }, rp = /* @_
6071
6077
  outer: { type: Boolean }
6072
6078
  },
6073
6079
  setup(r) {
6074
- const o = r, c = Le(), d = R(() => {
6080
+ const o = r, c = Le(), d = x(() => {
6075
6081
  var t;
6076
6082
  return (t = o.node.settings) == null ? void 0 : t.text;
6077
- }), v = R(() => {
6083
+ }), v = x(() => {
6078
6084
  var t;
6079
6085
  return (t = o.node.settings) == null ? void 0 : t.emphasis;
6080
- }), b = R(() => {
6086
+ }), b = x(() => {
6081
6087
  var t;
6082
6088
  return (t = o.node.settings) == null ? void 0 : t.align;
6083
- }), y = R(() => {
6089
+ }), y = x(() => {
6084
6090
  var t;
6085
6091
  return (t = o.node.settings) == null ? void 0 : t.decoration;
6086
- }), S = R(() => {
6092
+ }), S = x(() => {
6087
6093
  var t;
6088
6094
  return (t = o.node.settings) == null ? void 0 : t.weight;
6089
- }), x = R(() => {
6095
+ }), R = x(() => {
6090
6096
  var t;
6091
6097
  return (t = o.node.settings) == null ? void 0 : t.italic;
6092
- }), n = R(() => {
6098
+ }), n = x(() => {
6093
6099
  var u;
6094
6100
  const t = [], e = so(c.value.width), i = ot(e, (u = o.node.settings) == null ? void 0 : u.style);
6095
- return i && t.push(`text-${i}`), v.value === "high" ? t.push("text-high-emphasis") : v.value === "medium" ? t.push("text-medium-emphasis") : v.value === "disabled" && t.push("text-disabled"), b.value && t.push(`font-${b.value}`), y.value && t.push(`font-decoration-${y.value}`), S.value && t.push(`font-weight-${S.value}`), x.value && t.push("font-italic"), t.join(" ");
6101
+ return i && t.push(`text-${i}`), v.value === "high" ? t.push("text-high-emphasis") : v.value === "medium" ? t.push("text-medium-emphasis") : v.value === "disabled" && t.push("text-disabled"), b.value && t.push(`font-${b.value}`), y.value && t.push(`font-decoration-${y.value}`), S.value && t.push(`font-weight-${S.value}`), R.value && t.push("font-italic"), t.join(" ");
6096
6102
  });
6097
6103
  return (t, e) => (j(), ae("span", {
6098
6104
  class: fa(n.value)
@@ -6110,31 +6116,31 @@ const ap = /* @__PURE__ */ Bt(ip, [["render", op]]), sp = { key: 0 }, up = /* @_
6110
6116
  outer: { type: Boolean }
6111
6117
  },
6112
6118
  setup(r) {
6113
- const o = r, c = te(), d = pe(), v = R(() => {
6119
+ const o = r, c = te(), d = pe(), v = x(() => {
6114
6120
  var s;
6115
6121
  return (s = o.node.settings) == null ? void 0 : s.label;
6116
- }), b = R(() => {
6122
+ }), b = x(() => {
6117
6123
  var s;
6118
6124
  return (s = o.node.settings) == null ? void 0 : s.placeholder;
6119
- }), y = R(() => {
6125
+ }), y = x(() => {
6120
6126
  var s;
6121
6127
  return (s = o.node.settings) == null ? void 0 : s.hideDetails;
6122
- }), S = R(() => {
6128
+ }), S = x(() => {
6123
6129
  var s;
6124
6130
  return (s = o.node.settings) == null ? void 0 : s.singleLine;
6125
- }), x = R(() => {
6131
+ }), R = x(() => {
6126
6132
  var s;
6127
6133
  return c !== "runtime" ? !0 : (s = o.node.settings) == null ? void 0 : s.readonly;
6128
- }), n = R(() => d.value ? "dark" : "light"), t = R(() => {
6134
+ }), n = x(() => d.value ? "dark" : "light"), t = x(() => {
6129
6135
  var s;
6130
6136
  return (s = o.node.slots) == null ? void 0 : s.append;
6131
- }), e = R(() => {
6137
+ }), e = x(() => {
6132
6138
  var s;
6133
6139
  return (s = o.node.slots) == null ? void 0 : s.appendInner;
6134
- }), i = R(() => {
6140
+ }), i = x(() => {
6135
6141
  var s;
6136
6142
  return (s = o.node.slots) == null ? void 0 : s.prepend;
6137
- }), u = R(() => {
6143
+ }), u = x(() => {
6138
6144
  var s;
6139
6145
  return (s = o.node.slots) == null ? void 0 : s.prependInner;
6140
6146
  });
@@ -6146,7 +6152,7 @@ const ap = /* @__PURE__ */ Bt(ip, [["render", op]]), sp = { key: 0 }, up = /* @_
6146
6152
  placeholder: b.value,
6147
6153
  "hide-details": y.value,
6148
6154
  "single-line": S.value,
6149
- readonly: x.value,
6155
+ readonly: R.value,
6150
6156
  theme: n.value
6151
6157
  }, dr({ _: 2 }, [
6152
6158
  t.value ? {
@@ -6196,7 +6202,7 @@ const ap = /* @__PURE__ */ Bt(ip, [["render", op]]), sp = { key: 0 }, up = /* @_
6196
6202
  placeholder: b.value,
6197
6203
  "hide-details": y.value,
6198
6204
  "single-line": S.value,
6199
- readonly: x.value,
6205
+ readonly: R.value,
6200
6206
  theme: n.value
6201
6207
  }, dr({ _: 2 }, [
6202
6208
  t.value ? {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "x-runtime-lib",
3
3
  "private": false,
4
- "version": "0.6.40",
4
+ "version": "0.6.41",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",