x-block-lib 0.8.57 → 0.8.58

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.
Files changed (2) hide show
  1. package/dist/index.js +34 -34
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -587,8 +587,8 @@ function nn(t) {
587
587
  names: [h],
588
588
  params: p
589
589
  });
590
- if (et(d.key) && _.reference && _.reference.comp) {
591
- const u = a[_.reference.comp];
590
+ if (et(d.key) && _.settings && _.settings.comp) {
591
+ const u = a[_.settings.comp];
592
592
  if (u && u.meta.events)
593
593
  for (const { id: h, name: p, params: f } of u.meta.events)
594
594
  r.push({
@@ -598,8 +598,8 @@ function nn(t) {
598
598
  params: ot(f)
599
599
  });
600
600
  }
601
- if (nt(d.key) && _.reference && _.reference.comp) {
602
- const u = a[_.reference.comp];
601
+ if (nt(d.key) && _.settings && _.settings.comp) {
602
+ const u = a[_.settings.comp];
603
603
  if (u && u.meta.events)
604
604
  for (const { id: h, name: p, params: f } of u.meta.events)
605
605
  r.push({
@@ -688,8 +688,8 @@ function nn(t) {
688
688
  names: h,
689
689
  params: x(oo(p))
690
690
  });
691
- if (et(d.key) && _.reference && _.reference.comp) {
692
- const u = a[_.reference.comp];
691
+ if (et(d.key) && _.settings && _.settings.comp) {
692
+ const u = a[_.settings.comp];
693
693
  if (u && u.meta.properties)
694
694
  for (const { id: h, name: p, type: f } of u.meta.properties)
695
695
  r.push({
@@ -699,8 +699,8 @@ function nn(t) {
699
699
  params: x(f)
700
700
  });
701
701
  }
702
- if (nt(d.key) && _.reference && _.reference.comp) {
703
- const u = a[_.reference.comp];
702
+ if (nt(d.key) && _.settings && _.settings.comp) {
703
+ const u = a[_.settings.comp];
704
704
  if (u && u.meta.properties)
705
705
  for (const { id: h, name: p, type: f } of u.meta.properties)
706
706
  r.push({
@@ -830,8 +830,8 @@ function He(t) {
830
830
  params: p.params
831
831
  };
832
832
  } else if (c === "referenceEvent") {
833
- if (et(h.key) && u.reference && u.reference.comp) {
834
- const p = a[u.reference.comp];
833
+ if (et(h.key) && u.settings && u.settings.comp) {
834
+ const p = a[u.settings.comp];
835
835
  if (p) {
836
836
  const f = p.meta.events?.find((m) => m.id === d);
837
837
  if (f)
@@ -844,8 +844,8 @@ function He(t) {
844
844
  }
845
845
  }
846
846
  } else if (c === "multipleRefEvent") {
847
- if (nt(h.key) && u.reference && u.reference.comp) {
848
- const p = a[u.reference.comp];
847
+ if (nt(h.key) && u.settings && u.settings.comp) {
848
+ const p = a[u.settings.comp];
849
849
  if (p) {
850
850
  const f = p.meta.events?.find((m) => m.id === d);
851
851
  if (f)
@@ -934,8 +934,8 @@ function He(t) {
934
934
  };
935
935
  }
936
936
  } else if (c === "referencePropertyChangeEvent") {
937
- if (et(h.key) && u.reference && u.reference.comp) {
938
- const p = a[u.reference.comp];
937
+ if (et(h.key) && u.settings && u.settings.comp) {
938
+ const p = a[u.settings.comp];
939
939
  if (p) {
940
940
  const f = p.meta.properties?.find(
941
941
  (m) => m.id === d
@@ -950,8 +950,8 @@ function He(t) {
950
950
  }
951
951
  }
952
952
  } else if (c === "multipleRefPropertyChangeEvent") {
953
- if (nt(h.key) && u.reference && u.reference.comp) {
954
- const p = a[u.reference.comp];
953
+ if (nt(h.key) && u.settings && u.settings.comp) {
954
+ const p = a[u.settings.comp];
955
955
  if (p) {
956
956
  const f = p.meta.properties?.find(
957
957
  (m) => m.id === d
@@ -1125,8 +1125,8 @@ function on(t) {
1125
1125
  inputs: d,
1126
1126
  outputs: u
1127
1127
  });
1128
- if (et(r.key) && a.reference && a.reference.comp) {
1129
- const c = o[a.reference.comp];
1128
+ if (et(r.key) && a.settings && a.settings.comp) {
1129
+ const c = o[a.settings.comp];
1130
1130
  if (c && c.meta.methods)
1131
1131
  for (const { id: _, name: d, inputs: u, outputs: h } of c.meta.methods)
1132
1132
  s.push({
@@ -1137,8 +1137,8 @@ function on(t) {
1137
1137
  outputs: tt(h)
1138
1138
  });
1139
1139
  }
1140
- if (nt(r.key) && a.reference && a.reference.comp) {
1141
- const c = o[a.reference.comp];
1140
+ if (nt(r.key) && a.settings && a.settings.comp) {
1141
+ const c = o[a.settings.comp];
1142
1142
  if (c && c.meta.methods)
1143
1143
  for (const { id: _, name: d, inputs: u, outputs: h } of c.meta.methods)
1144
1144
  s.push({
@@ -1248,8 +1248,8 @@ function Ge(t) {
1248
1248
  outputs: d.outputs
1249
1249
  };
1250
1250
  } else if (s === "referenceMethod") {
1251
- if (et(_.key) && c.reference && c.reference.comp) {
1252
- const d = o[c.reference.comp];
1251
+ if (et(_.key) && c.settings && c.settings.comp) {
1252
+ const d = o[c.settings.comp];
1253
1253
  if (d) {
1254
1254
  const u = d.meta.methods?.find(
1255
1255
  (h) => h.id === r
@@ -1265,8 +1265,8 @@ function Ge(t) {
1265
1265
  }
1266
1266
  }
1267
1267
  } else if (s === "multipleRefMethod") {
1268
- if (nt(_.key) && c.reference && c.reference.comp) {
1269
- const d = o[c.reference.comp];
1268
+ if (nt(_.key) && c.settings && c.settings.comp) {
1269
+ const d = o[c.settings.comp];
1270
1270
  if (d) {
1271
1271
  const u = d.meta.methods?.find(
1272
1272
  (h) => h.id === r
@@ -1542,7 +1542,7 @@ function Z(t) {
1542
1542
  console.assert(!1, "invalid element", o.key);
1543
1543
  continue;
1544
1544
  }
1545
- if (!lo(t, s, n, o.reference?.comp))
1545
+ if (!lo(t, s, n, o.settings?.comp))
1546
1546
  return !0;
1547
1547
  }
1548
1548
  return !1;
@@ -1557,7 +1557,7 @@ function zt(t) {
1557
1557
  console.assert(!1, "invalid element", s.key);
1558
1558
  continue;
1559
1559
  }
1560
- lo(t, a, o, s.reference?.comp) || n.push({
1560
+ lo(t, a, o, s.settings?.comp) || n.push({
1561
1561
  id: s.id,
1562
1562
  key: s.key,
1563
1563
  name: a.name,
@@ -1611,8 +1611,8 @@ function Wt(t, e) {
1611
1611
  raw: p
1612
1612
  }
1613
1613
  });
1614
- if (et(d.key) && _.reference && _.reference.comp) {
1615
- const u = a[_.reference.comp];
1614
+ if (et(d.key) && _.settings && _.settings.comp) {
1615
+ const u = a[_.settings.comp];
1616
1616
  if (u && u.meta.properties)
1617
1617
  for (const { id: h, name: p, type: f } of u.meta.properties)
1618
1618
  r.push({
@@ -1624,8 +1624,8 @@ function Wt(t, e) {
1624
1624
  }
1625
1625
  });
1626
1626
  }
1627
- if (nt(d.key) && _.reference && _.reference.comp) {
1628
- const u = a[_.reference.comp];
1627
+ if (nt(d.key) && _.settings && _.settings.comp) {
1628
+ const u = a[_.settings.comp];
1629
1629
  if (u && u.meta.properties)
1630
1630
  for (const { id: h, name: p, type: f } of u.meta.properties)
1631
1631
  r.push({
@@ -1753,8 +1753,8 @@ function Nt(t) {
1753
1753
  };
1754
1754
  }
1755
1755
  } else if (r === "referenceProperty") {
1756
- if (et(u.key) && d.reference && d.reference.comp) {
1757
- const h = s[d.reference.comp];
1756
+ if (et(u.key) && d.settings && d.settings.comp) {
1757
+ const h = s[d.settings.comp];
1758
1758
  if (h) {
1759
1759
  const p = h.meta.properties?.find(
1760
1760
  (f) => f.id === _
@@ -1771,8 +1771,8 @@ function Nt(t) {
1771
1771
  }
1772
1772
  }
1773
1773
  } else if (r === "multipleRefProperty") {
1774
- if (nt(u.key) && d.reference && d.reference.comp) {
1775
- const h = s[d.reference.comp];
1774
+ if (nt(u.key) && d.settings && d.settings.comp) {
1775
+ const h = s[d.settings.comp];
1776
1776
  if (h) {
1777
1777
  const p = h.meta.properties?.find(
1778
1778
  (f) => f.id === _
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "x-block-lib",
3
3
  "private": false,
4
- "version": "0.8.57",
4
+ "version": "0.8.58",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
@@ -38,8 +38,8 @@
38
38
  "vue-router": "^4.6.3",
39
39
  "vuetify": "^3.11.2",
40
40
  "x-essential-lib": "^0.9.19",
41
- "x-runtime-lib": "^0.8.113",
42
- "x-state-lib": "^0.3.29"
41
+ "x-runtime-lib": "^0.8.116",
42
+ "x-state-lib": "^0.3.30"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@eslint/js": "^9.39.1",