x-runtime-lib 0.8.115 → 0.8.116
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 +13 -9
- package/dist/types/data.d.ts +0 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -139,7 +139,7 @@ function E(t, n) {
|
|
|
139
139
|
return {
|
|
140
140
|
id: t.basic.id,
|
|
141
141
|
key: t.basic.key,
|
|
142
|
-
refId: t.
|
|
142
|
+
refId: t.settings?.comp,
|
|
143
143
|
children: n
|
|
144
144
|
};
|
|
145
145
|
}
|
|
@@ -167,7 +167,7 @@ function tu({ type: t, version: n, view: e, code: o }) {
|
|
|
167
167
|
}
|
|
168
168
|
function nu(t) {
|
|
169
169
|
const n = JSON.parse(t), e = (o, s) => {
|
|
170
|
-
o.key = s.basic.key, o.alias = s.basic.alias, o.refId = s.
|
|
170
|
+
o.key = s.basic.key, o.alias = s.basic.alias, o.refId = s.settings?.comp, o.children?.forEach((r) => {
|
|
171
171
|
e(r, n.view.nodes[r.id]);
|
|
172
172
|
});
|
|
173
173
|
};
|
|
@@ -4287,8 +4287,8 @@ const Kl = {
|
|
|
4287
4287
|
};
|
|
4288
4288
|
w(Kl);
|
|
4289
4289
|
const xn = {
|
|
4290
|
-
key: "
|
|
4291
|
-
name: "x-runtime-lib.
|
|
4290
|
+
key: "settings",
|
|
4291
|
+
name: "x-runtime-lib.settings",
|
|
4292
4292
|
children: [
|
|
4293
4293
|
{
|
|
4294
4294
|
key: "comp",
|
|
@@ -4330,9 +4330,15 @@ const kn = {
|
|
|
4330
4330
|
};
|
|
4331
4331
|
w(Ol);
|
|
4332
4332
|
const wn = {
|
|
4333
|
-
key: "
|
|
4334
|
-
name: "x-runtime-lib.
|
|
4333
|
+
key: "settings",
|
|
4334
|
+
name: "x-runtime-lib.settings",
|
|
4335
4335
|
children: [
|
|
4336
|
+
{
|
|
4337
|
+
key: "slot",
|
|
4338
|
+
name: "x-runtime-lib.slot",
|
|
4339
|
+
ui: "slotSelect",
|
|
4340
|
+
default: void 0
|
|
4341
|
+
},
|
|
4336
4342
|
{
|
|
4337
4343
|
key: "comp",
|
|
4338
4344
|
name: "x-runtime-lib.comp",
|
|
@@ -8443,9 +8449,7 @@ function du(t, n, e, o, s) {
|
|
|
8443
8449
|
return;
|
|
8444
8450
|
}
|
|
8445
8451
|
const f = T();
|
|
8446
|
-
return A(f, m), f.basic.id = z(16), f.basic.key = u, f.
|
|
8447
|
-
comp: p
|
|
8448
|
-
}, {
|
|
8452
|
+
return A(f, m), f.basic.id = z(16), f.basic.key = u, f.settings || (f.settings = {}), f.settings.comp = p, {
|
|
8449
8453
|
nodeLite: E(f),
|
|
8450
8454
|
nodes: {
|
|
8451
8455
|
[f.basic.id]: f
|
package/dist/types/data.d.ts
CHANGED