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 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.reference?.comp,
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.reference?.comp, o.children?.forEach((r) => {
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: "reference",
4291
- name: "x-runtime-lib.reference",
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: "reference",
4334
- name: "x-runtime-lib.reference",
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.reference = {
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
@@ -11,9 +11,6 @@ export type Node = {
11
11
  key: string;
12
12
  alias?: string;
13
13
  };
14
- reference?: {
15
- comp: string | undefined;
16
- };
17
14
  [key: string]: any;
18
15
  };
19
16
  export type NodePair = {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "x-runtime-lib",
3
3
  "private": false,
4
- "version": "0.8.115",
4
+ "version": "0.8.116",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",