x-runtime-lib 0.8.39 → 0.8.40
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/composables/common/sandbox.d.ts +2 -1
- package/dist/index.js +95 -95
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -56,7 +56,7 @@ function Te(t, e) {
|
|
|
56
56
|
}
|
|
57
57
|
return i;
|
|
58
58
|
}
|
|
59
|
-
function
|
|
59
|
+
function Ve(t, e) {
|
|
60
60
|
let i = t;
|
|
61
61
|
if (typeof i != "object")
|
|
62
62
|
return;
|
|
@@ -227,7 +227,7 @@ const ze = {}, _ = (t) => {
|
|
|
227
227
|
r ? typeof o == "object" ? s = JSON.stringify(o, null, 2) : (console.assert(!1), s = "{}") : s = o, t.setElementPropertyInner(e, i, s);
|
|
228
228
|
};
|
|
229
229
|
function l(t, e, i) {
|
|
230
|
-
const o = H(), r =
|
|
230
|
+
const o = H(), r = _e(), s = se();
|
|
231
231
|
return ce(() => {
|
|
232
232
|
let a = Ss(r, t.node, e, i);
|
|
233
233
|
o === "editor" && e[e.length - 1] === "readonly" && (a = !0), s.value = a;
|
|
@@ -374,7 +374,7 @@ function Mn(t) {
|
|
|
374
374
|
return { paddingTop: e, paddingLeft: i, paddingBottom: o, paddingRight: r, applyPadding: s };
|
|
375
375
|
}
|
|
376
376
|
function xe(t) {
|
|
377
|
-
const e = H(), i =
|
|
377
|
+
const e = H(), i = Ce(), o = k(() => t.node.size?.width), r = k(() => t.node.size?.minWidth), s = k(() => t.node.size?.maxWidth), a = k(() => {
|
|
378
378
|
if (t.outer && e === "editor") {
|
|
379
379
|
const p = Zt(t.node.size?.height);
|
|
380
380
|
if (p)
|
|
@@ -824,7 +824,7 @@ const ol = /* @__PURE__ */ V({
|
|
|
824
824
|
outer: { type: Boolean }
|
|
825
825
|
},
|
|
826
826
|
setup(t) {
|
|
827
|
-
const e = t, i =
|
|
827
|
+
const e = t, i = Ce(), o = Ne(), r = ye(), s = ke(), { width: a, minWidth: c, maxWidth: d, height: y, minHeight: p, maxHeight: u, applySize: m } = xe(e), { applyTitle: b } = ho(e), { applyXAxis: h } = go(e), { applyYAxis: g } = xo(e), { applyLegend: x } = fo(e), { applySeries: w } = bo(e), S = k(() => {
|
|
828
828
|
const C = {}, F = s.value.type;
|
|
829
829
|
return r === "page" ? F === "common" ? m(C) : console.assert(!1) : r === "comp" && F === "common" ? m(C) : console.assert(!1), C;
|
|
830
830
|
}), N = Zi("chart");
|
|
@@ -877,7 +877,7 @@ const ol = /* @__PURE__ */ V({
|
|
|
877
877
|
outer: { type: Boolean }
|
|
878
878
|
},
|
|
879
879
|
setup(t) {
|
|
880
|
-
const e = t, i =
|
|
880
|
+
const e = t, i = Ce(), o = Ne(), r = ye(), s = ke(), { width: a, minWidth: c, maxWidth: d, height: y, minHeight: p, maxHeight: u, applySize: m } = xe(e), { applyTitle: b } = ho(e), { applyXAxis: h } = go(e), { applyYAxis: g } = xo(e), { applyLegend: x } = fo(e), { applySeries: w } = bo(e), S = k(() => {
|
|
881
881
|
const C = {}, F = s.value.type;
|
|
882
882
|
return r === "page" ? F === "common" ? m(C) : console.assert(!1) : r === "comp" && F === "common" ? m(C) : console.assert(!1), C;
|
|
883
883
|
}), N = Zi("chart");
|
|
@@ -935,35 +935,35 @@ const al = /* @__PURE__ */ ve(rl, [["render", ll]]), ul = /* @__PURE__ */ V({
|
|
|
935
935
|
outer: { type: Boolean }
|
|
936
936
|
},
|
|
937
937
|
setup(t) {
|
|
938
|
-
const { t: e } = co(), i = t, o = se();
|
|
939
|
-
Fo(o), Do(i.refContext.compId, o);
|
|
940
|
-
function
|
|
941
|
-
const
|
|
942
|
-
if (!
|
|
943
|
-
return console.assert(!1, `element not found key=${
|
|
944
|
-
const
|
|
945
|
-
|
|
946
|
-
|
|
938
|
+
const { t: e } = co(), i = t, o = se(), r = _e();
|
|
939
|
+
Fo(o, r), Do(i.refContext.compId, o);
|
|
940
|
+
function s(c) {
|
|
941
|
+
const d = ze[c.basic.key];
|
|
942
|
+
if (!d)
|
|
943
|
+
return console.assert(!1, `element not found key=${c.basic.key}`), me("div", `element not found key=${c.basic.key}`);
|
|
944
|
+
const y = [];
|
|
945
|
+
d.leaf || c.children?.forEach((u) => {
|
|
946
|
+
y.push(s(u));
|
|
947
947
|
});
|
|
948
|
-
let
|
|
949
|
-
return
|
|
948
|
+
let p;
|
|
949
|
+
return c.reference && c.reference.comp && (p = {
|
|
950
950
|
parent: i.refContext,
|
|
951
|
-
compId:
|
|
952
|
-
}), me(
|
|
951
|
+
compId: c.reference.comp
|
|
952
|
+
}), me(d.comp, { refContext: p, node: c }, { default: () => y });
|
|
953
953
|
}
|
|
954
|
-
const
|
|
954
|
+
const a = () => {
|
|
955
955
|
if (yo(i.refContext))
|
|
956
956
|
return me("div", e("x-runtime-lib.circularRef"));
|
|
957
957
|
if (!o.value)
|
|
958
958
|
return me("div");
|
|
959
959
|
if (o.value.type === "common") {
|
|
960
|
-
const
|
|
961
|
-
return o.value.view.nodes.forEach((
|
|
962
|
-
|
|
963
|
-
}),
|
|
960
|
+
const d = [];
|
|
961
|
+
return o.value.view.nodes.forEach((y) => {
|
|
962
|
+
d.push(s(y));
|
|
963
|
+
}), d;
|
|
964
964
|
}
|
|
965
965
|
};
|
|
966
|
-
return (
|
|
966
|
+
return (c, d) => (v(), $(a));
|
|
967
967
|
}
|
|
968
968
|
}), cl = /* @__PURE__ */ V({
|
|
969
969
|
__name: "index",
|
|
@@ -987,35 +987,35 @@ const al = /* @__PURE__ */ ve(rl, [["render", ll]]), ul = /* @__PURE__ */ V({
|
|
|
987
987
|
state: {}
|
|
988
988
|
},
|
|
989
989
|
setup(t) {
|
|
990
|
-
const { t: e } = co(), i = t, o = se();
|
|
991
|
-
Fo(o), Do(i.refContext.compId, o);
|
|
992
|
-
function
|
|
993
|
-
const
|
|
994
|
-
if (!
|
|
995
|
-
return console.assert(!1, `element not found key=${
|
|
996
|
-
const
|
|
997
|
-
|
|
998
|
-
|
|
990
|
+
const { t: e } = co(), i = t, o = se(), r = _e();
|
|
991
|
+
Fo(o, r), Do(i.refContext.compId, o);
|
|
992
|
+
function s(c) {
|
|
993
|
+
const d = ze[c.basic.key];
|
|
994
|
+
if (!d)
|
|
995
|
+
return console.assert(!1, `element not found key=${c.basic.key}`), me("div", `element not found key=${c.basic.key}`);
|
|
996
|
+
const y = [];
|
|
997
|
+
d.leaf || c.children?.forEach((u) => {
|
|
998
|
+
y.push(s(u));
|
|
999
999
|
});
|
|
1000
|
-
let
|
|
1001
|
-
return
|
|
1000
|
+
let p;
|
|
1001
|
+
return c.reference && c.reference.comp && (p = {
|
|
1002
1002
|
parent: i.refContext,
|
|
1003
|
-
compId:
|
|
1004
|
-
}), me(
|
|
1003
|
+
compId: c.reference.comp
|
|
1004
|
+
}), me(d.comp, { refContext: p, node: c }, { default: () => y });
|
|
1005
1005
|
}
|
|
1006
|
-
const
|
|
1006
|
+
const a = () => {
|
|
1007
1007
|
if (yo(i.refContext))
|
|
1008
1008
|
return me("div", e("x-runtime-lib.circularRef"));
|
|
1009
1009
|
if (!o.value)
|
|
1010
1010
|
return me("div");
|
|
1011
1011
|
if (o.value.type === "common") {
|
|
1012
|
-
const
|
|
1013
|
-
return o.value.view.nodes.forEach((
|
|
1014
|
-
|
|
1015
|
-
}),
|
|
1012
|
+
const d = [];
|
|
1013
|
+
return o.value.view.nodes.forEach((y) => {
|
|
1014
|
+
d.push(s(y));
|
|
1015
|
+
}), d;
|
|
1016
1016
|
}
|
|
1017
1017
|
};
|
|
1018
|
-
return (
|
|
1018
|
+
return (c, d) => (v(), $(a));
|
|
1019
1019
|
}
|
|
1020
1020
|
}), pl = /* @__PURE__ */ V({
|
|
1021
1021
|
__name: "index",
|
|
@@ -1056,7 +1056,7 @@ const al = /* @__PURE__ */ ve(rl, [["render", ll]]), ul = /* @__PURE__ */ V({
|
|
|
1056
1056
|
outer: { type: Boolean }
|
|
1057
1057
|
},
|
|
1058
1058
|
setup(t) {
|
|
1059
|
-
const e = t, i = H(), o =
|
|
1059
|
+
const e = t, i = H(), o = _e(), { property: r } = l(e, [
|
|
1060
1060
|
"settings",
|
|
1061
1061
|
"addIcon",
|
|
1062
1062
|
"append"
|
|
@@ -1490,7 +1490,7 @@ const fl = /* @__PURE__ */ ve(dl, [["render", yl]]), bl = /* @__PURE__ */ V({
|
|
|
1490
1490
|
outer: { type: Boolean }
|
|
1491
1491
|
},
|
|
1492
1492
|
setup(t) {
|
|
1493
|
-
const e = t, i = H(), o =
|
|
1493
|
+
const e = t, i = H(), o = _e(), r = k(() => e.node.basic?.id), { open: s } = no(`runtimeDlg/${eo()}`);
|
|
1494
1494
|
return vo(o, e, (c) => {
|
|
1495
1495
|
if (!q(i))
|
|
1496
1496
|
return;
|
|
@@ -1562,7 +1562,7 @@ const fl = /* @__PURE__ */ ve(dl, [["render", yl]]), bl = /* @__PURE__ */ V({
|
|
|
1562
1562
|
outer: { type: Boolean }
|
|
1563
1563
|
},
|
|
1564
1564
|
setup(t) {
|
|
1565
|
-
const e = t, i =
|
|
1565
|
+
const e = t, i = Ce(), o = ye(), r = ke(), { applySize: s } = xe(e), { applyMargin: a } = Nn(e), { applyPadding: c } = Mn(e), { applyBorder: d } = Rn(e), { property: y } = l(e, [
|
|
1566
1566
|
"settings",
|
|
1567
1567
|
"backgroundColor"
|
|
1568
1568
|
]), { color: p } = K(y), u = (b) => {
|
|
@@ -1609,7 +1609,7 @@ const fl = /* @__PURE__ */ ve(dl, [["render", yl]]), bl = /* @__PURE__ */ V({
|
|
|
1609
1609
|
outer: { type: Boolean }
|
|
1610
1610
|
},
|
|
1611
1611
|
setup(t) {
|
|
1612
|
-
const e = t, i = H(), o = ye(), r = ke(), s =
|
|
1612
|
+
const e = t, i = H(), o = ye(), r = ke(), s = _e(), { property: a } = l(e, ["settings", "valid"]), { property: c } = l(e, [
|
|
1613
1613
|
"settings",
|
|
1614
1614
|
"fastFail"
|
|
1615
1615
|
]), { property: d } = l(e, [
|
|
@@ -1668,7 +1668,7 @@ const fl = /* @__PURE__ */ ve(dl, [["render", yl]]), bl = /* @__PURE__ */ V({
|
|
|
1668
1668
|
outer: { type: Boolean }
|
|
1669
1669
|
},
|
|
1670
1670
|
setup(t) {
|
|
1671
|
-
const e = t, i = H(), o =
|
|
1671
|
+
const e = t, i = H(), o = _e(), r = se(0), s = se(0), a = k(() => [r.value, s.value]), c = k(() => e.node.basic?.id), { open: d } = no(`runtimeMenu/${eo()}`);
|
|
1672
1672
|
return vo(o, e, (p) => {
|
|
1673
1673
|
if (!q(i))
|
|
1674
1674
|
return;
|
|
@@ -2399,7 +2399,7 @@ const Jl = /* @__PURE__ */ ve(Xl, [["render", Yl]]), Zl = /* @__PURE__ */ V({
|
|
|
2399
2399
|
outer: { type: Boolean }
|
|
2400
2400
|
},
|
|
2401
2401
|
setup(t) {
|
|
2402
|
-
const e = t, i =
|
|
2402
|
+
const e = t, i = Ce(), { property: o } = l(e, ["settings", "align"]), { property: r } = l(e, [
|
|
2403
2403
|
"settings",
|
|
2404
2404
|
"decoration"
|
|
2405
2405
|
]), { property: s } = l(e, [
|
|
@@ -2772,7 +2772,7 @@ const pa = /* @__PURE__ */ ve(ua, [["render", ca]]), Xe = "ambient_light_v1", Ye
|
|
|
2772
2772
|
]
|
|
2773
2773
|
}
|
|
2774
2774
|
]
|
|
2775
|
-
}, da = B(j),
|
|
2775
|
+
}, da = B(j), $e = {
|
|
2776
2776
|
key: "border",
|
|
2777
2777
|
name: "x-runtime-lib.border",
|
|
2778
2778
|
children: [
|
|
@@ -2851,7 +2851,7 @@ const pa = /* @__PURE__ */ ve(ua, [["render", ca]]), Xe = "ambient_light_v1", Ye
|
|
|
2851
2851
|
defaultArray: []
|
|
2852
2852
|
}
|
|
2853
2853
|
]
|
|
2854
|
-
},
|
|
2854
|
+
}, Ie = {
|
|
2855
2855
|
key: "margin",
|
|
2856
2856
|
name: "x-runtime-lib.margin",
|
|
2857
2857
|
children: [
|
|
@@ -2884,7 +2884,7 @@ const pa = /* @__PURE__ */ ve(ua, [["render", ca]]), Xe = "ambient_light_v1", Ye
|
|
|
2884
2884
|
default: ""
|
|
2885
2885
|
}
|
|
2886
2886
|
]
|
|
2887
|
-
},
|
|
2887
|
+
}, Se = {
|
|
2888
2888
|
key: "padding",
|
|
2889
2889
|
name: "x-runtime-lib.padding",
|
|
2890
2890
|
children: [
|
|
@@ -4494,15 +4494,15 @@ function Oa(t, e) {
|
|
|
4494
4494
|
}
|
|
4495
4495
|
const s = {};
|
|
4496
4496
|
return P(s, r), s.basic.id = T(16), s.basic.key = mn.key, s.children = [
|
|
4497
|
-
|
|
4498
|
-
|
|
4499
|
-
|
|
4500
|
-
|
|
4501
|
-
|
|
4502
|
-
|
|
4497
|
+
we(t, e, "chip1", "chip 1"),
|
|
4498
|
+
we(t, e, "chip2", "chip 2"),
|
|
4499
|
+
we(t, e, "chip3", "chip 3"),
|
|
4500
|
+
we(t, e, "chip4", "chip 4"),
|
|
4501
|
+
we(t, e, "chip5", "chip 5"),
|
|
4502
|
+
we(t, e, "chip6", "chip 6")
|
|
4503
4503
|
], s;
|
|
4504
4504
|
}
|
|
4505
|
-
function
|
|
4505
|
+
function we(t, e, i, o) {
|
|
4506
4506
|
const r = `type=${t} subtype=${e}`, s = A(t, e);
|
|
4507
4507
|
if (!s) {
|
|
4508
4508
|
console.error(`chipGroupV1/spawnChip property tag not found, ${r}`);
|
|
@@ -4665,8 +4665,8 @@ const vi = {
|
|
|
4665
4665
|
name: "x-runtime-lib.container",
|
|
4666
4666
|
comp: wl,
|
|
4667
4667
|
properties: {
|
|
4668
|
-
pageCommon: [f, X,
|
|
4669
|
-
compCommon: [f, X,
|
|
4668
|
+
pageCommon: [f, X, $e, Ie, Se, vi],
|
|
4669
|
+
compCommon: [f, X, $e, Ie, Se, vi]
|
|
4670
4670
|
},
|
|
4671
4671
|
events: [
|
|
4672
4672
|
{
|
|
@@ -5196,8 +5196,8 @@ const Ii = {
|
|
|
5196
5196
|
name: "x-runtime-lib.flexLayout",
|
|
5197
5197
|
comp: Tl,
|
|
5198
5198
|
properties: {
|
|
5199
|
-
pageCommon: [f, X,
|
|
5200
|
-
compCommon: [f, X,
|
|
5199
|
+
pageCommon: [f, X, $e, Ie, Se, Ii],
|
|
5200
|
+
compCommon: [f, X, $e, Ie, Se, Ii]
|
|
5201
5201
|
},
|
|
5202
5202
|
events: [
|
|
5203
5203
|
{
|
|
@@ -5451,8 +5451,8 @@ const Ti = {
|
|
|
5451
5451
|
name: "x-runtime-lib.form",
|
|
5452
5452
|
comp: zl,
|
|
5453
5453
|
properties: {
|
|
5454
|
-
pageCommon: [f, X,
|
|
5455
|
-
compCommon: [f, X,
|
|
5454
|
+
pageCommon: [f, X, $e, Ie, Se, Ti],
|
|
5455
|
+
compCommon: [f, X, $e, Ie, Se, Ti]
|
|
5456
5456
|
},
|
|
5457
5457
|
events: [
|
|
5458
5458
|
{
|
|
@@ -8079,7 +8079,7 @@ function H() {
|
|
|
8079
8079
|
function ep(t) {
|
|
8080
8080
|
le(Lo, Bn(t));
|
|
8081
8081
|
}
|
|
8082
|
-
function
|
|
8082
|
+
function Ce() {
|
|
8083
8083
|
return re(Lo);
|
|
8084
8084
|
}
|
|
8085
8085
|
function tp(t) {
|
|
@@ -8109,7 +8109,7 @@ function hc() {
|
|
|
8109
8109
|
function gc(t) {
|
|
8110
8110
|
le(No, t);
|
|
8111
8111
|
}
|
|
8112
|
-
function
|
|
8112
|
+
function _e() {
|
|
8113
8113
|
return re(No);
|
|
8114
8114
|
}
|
|
8115
8115
|
function Pe(t) {
|
|
@@ -8135,8 +8135,8 @@ function De(t, e, i, o, r) {
|
|
|
8135
8135
|
if (i === Pe(u)) {
|
|
8136
8136
|
if (u.subKeys) {
|
|
8137
8137
|
if (!oe(
|
|
8138
|
-
|
|
8139
|
-
|
|
8138
|
+
Ve(o, u.subKeys),
|
|
8139
|
+
Ve(r, u.subKeys)
|
|
8140
8140
|
)) {
|
|
8141
8141
|
y = u;
|
|
8142
8142
|
break;
|
|
@@ -8149,7 +8149,7 @@ function De(t, e, i, o, r) {
|
|
|
8149
8149
|
if (!y)
|
|
8150
8150
|
continue;
|
|
8151
8151
|
let p;
|
|
8152
|
-
y.subKeys ? p =
|
|
8152
|
+
y.subKeys ? p = Ve(o, y.subKeys) : p = o;
|
|
8153
8153
|
for (const u of d)
|
|
8154
8154
|
if (u.subKeys) {
|
|
8155
8155
|
let m;
|
|
@@ -8168,7 +8168,7 @@ function De(t, e, i, o, r) {
|
|
|
8168
8168
|
console.assert(!1);
|
|
8169
8169
|
continue;
|
|
8170
8170
|
}
|
|
8171
|
-
const b =
|
|
8171
|
+
const b = Ve(m, u.subKeys);
|
|
8172
8172
|
if (oe(p, b))
|
|
8173
8173
|
continue;
|
|
8174
8174
|
const h = B(m);
|
|
@@ -8577,7 +8577,7 @@ class Pc {
|
|
|
8577
8577
|
this.nodes = {};
|
|
8578
8578
|
}
|
|
8579
8579
|
getElementPropertyInner(e, i) {
|
|
8580
|
-
return
|
|
8580
|
+
return Ve(e, i);
|
|
8581
8581
|
}
|
|
8582
8582
|
getElementProperty(e, i) {
|
|
8583
8583
|
const o = this.nodes[e];
|
|
@@ -8592,7 +8592,7 @@ class Pc {
|
|
|
8592
8592
|
return this.getElementPropertyInner(o, i);
|
|
8593
8593
|
}
|
|
8594
8594
|
setElementPropertyInner(e, i, o) {
|
|
8595
|
-
const r =
|
|
8595
|
+
const r = Ve(e, i);
|
|
8596
8596
|
oe(o, r) || (mo(e, i, o), this.hooks?.onElementPropertyChange(
|
|
8597
8597
|
e.basic.id,
|
|
8598
8598
|
i,
|
|
@@ -8710,9 +8710,9 @@ function Do(t, e) {
|
|
|
8710
8710
|
o.value !== r.dataSeq && (o.value = r.dataSeq, e.value = B(r.data));
|
|
8711
8711
|
});
|
|
8712
8712
|
}
|
|
8713
|
-
function Fo(t) {
|
|
8714
|
-
const
|
|
8715
|
-
if (q(
|
|
8713
|
+
function Fo(t, e) {
|
|
8714
|
+
const i = fc(), o = bc(), r = H(), s = ye(), a = Ce(), c = Ne(), d = (h, g, x, w) => {
|
|
8715
|
+
if (q(r) && (m.callFunction("__triggerEventV1__", [
|
|
8716
8716
|
pe(
|
|
8717
8717
|
"elementPropertyChangeEvent",
|
|
8718
8718
|
h,
|
|
@@ -8734,8 +8734,8 @@ function Fo(t) {
|
|
|
8734
8734
|
w
|
|
8735
8735
|
);
|
|
8736
8736
|
}
|
|
8737
|
-
},
|
|
8738
|
-
q(
|
|
8737
|
+
}, y = (h, g, x) => {
|
|
8738
|
+
q(r) && (m.callFunction("__triggerEventV1__", [
|
|
8739
8739
|
pe("customPropertyChangeEvent", "globality", h),
|
|
8740
8740
|
g,
|
|
8741
8741
|
x ?? g
|
|
@@ -8746,16 +8746,16 @@ function Fo(t) {
|
|
|
8746
8746
|
g,
|
|
8747
8747
|
x
|
|
8748
8748
|
));
|
|
8749
|
-
},
|
|
8750
|
-
q(
|
|
8749
|
+
}, p = (h, g, x) => {
|
|
8750
|
+
q(r) && t.value?.code.reactivity && De(
|
|
8751
8751
|
m,
|
|
8752
8752
|
t.value.code.reactivity,
|
|
8753
8753
|
Pe({ type: "adaptSlotProperty", propertyId: h }),
|
|
8754
8754
|
g,
|
|
8755
8755
|
x
|
|
8756
8756
|
);
|
|
8757
|
-
},
|
|
8758
|
-
q(
|
|
8757
|
+
}, u = (h, g, x) => {
|
|
8758
|
+
q(r) && (m.callFunction("__triggerEventV1__", [
|
|
8759
8759
|
pe("stateChangeEvent", "globality", h),
|
|
8760
8760
|
g,
|
|
8761
8761
|
x ?? g
|
|
@@ -8766,22 +8766,22 @@ function Fo(t) {
|
|
|
8766
8766
|
g,
|
|
8767
8767
|
x
|
|
8768
8768
|
));
|
|
8769
|
-
},
|
|
8770
|
-
onElementPropertyChange:
|
|
8771
|
-
onCustomPropertyChange:
|
|
8772
|
-
onAdaptSlotPropertyChange:
|
|
8773
|
-
onStateChange:
|
|
8769
|
+
}, m = new Pc(e, i, o, r, s, {
|
|
8770
|
+
onElementPropertyChange: d,
|
|
8771
|
+
onCustomPropertyChange: y,
|
|
8772
|
+
onAdaptSlotPropertyChange: p,
|
|
8773
|
+
onStateChange: u
|
|
8774
8774
|
});
|
|
8775
8775
|
gc(m);
|
|
8776
8776
|
const b = () => {
|
|
8777
|
-
q(
|
|
8777
|
+
q(r) && (m.destroyInterpreter(), m.syncNodes(t.value), m.resetCustomProperties(), m.resetStates(), m.resetAdaptSlotProperties(), !(!t.value || !t.value.code.script) && m.createInterpreter(t.value.code.script));
|
|
8778
8778
|
};
|
|
8779
8779
|
b(), te(t, () => {
|
|
8780
8780
|
b();
|
|
8781
8781
|
}), Oe(() => {
|
|
8782
8782
|
m.destroyInterpreter();
|
|
8783
|
-
}), q(
|
|
8784
|
-
|
|
8783
|
+
}), q(r) && te(
|
|
8784
|
+
a,
|
|
8785
8785
|
(h, g) => {
|
|
8786
8786
|
const x = Fe(h.width), w = Fe(g?.width ?? h.width);
|
|
8787
8787
|
m.callFunction("__triggerEventV1__", [
|
|
@@ -8791,8 +8791,8 @@ function Fo(t) {
|
|
|
8791
8791
|
]);
|
|
8792
8792
|
},
|
|
8793
8793
|
{ immediate: !0 }
|
|
8794
|
-
), q(
|
|
8795
|
-
|
|
8794
|
+
), q(r) && te(
|
|
8795
|
+
c,
|
|
8796
8796
|
(h) => {
|
|
8797
8797
|
m.callFunction("__triggerEventV1__", [
|
|
8798
8798
|
pe("elementEvent", "globality", "darkModeChange"),
|
|
@@ -8846,7 +8846,7 @@ export {
|
|
|
8846
8846
|
hn as formV1,
|
|
8847
8847
|
T as genId,
|
|
8848
8848
|
Te as getBreakpointProp,
|
|
8849
|
-
|
|
8849
|
+
Ve as getField,
|
|
8850
8850
|
Zn as getIndexOfBreakpoint,
|
|
8851
8851
|
Yc as getNode,
|
|
8852
8852
|
Ji as getPropertyDefault,
|
|
@@ -8859,11 +8859,11 @@ export {
|
|
|
8859
8859
|
Ne as injectDark,
|
|
8860
8860
|
ke as injectData,
|
|
8861
8861
|
hc as injectDepends,
|
|
8862
|
-
|
|
8862
|
+
Ce as injectDevice,
|
|
8863
8863
|
bc as injectEnv,
|
|
8864
8864
|
H as injectMode,
|
|
8865
8865
|
fc as injectOrg,
|
|
8866
|
-
|
|
8866
|
+
_e as injectSandbox,
|
|
8867
8867
|
ye as injectType,
|
|
8868
8868
|
yo as isCircularRef,
|
|
8869
8869
|
q as isExecutableMode,
|