x-block-lib 0.8.62 → 0.8.63

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.
@@ -10,6 +10,7 @@ export declare function getBlockDepth(block: Blockly.Block | null): number;
10
10
  export declare function getPropertyType(property: ZProperty): Type;
11
11
  export declare function isReadonlyOfProperty(keys: string, property: ZProperty): boolean;
12
12
  export declare function isGlobalityNode(key: string): boolean;
13
- export declare function isReferenceNode(key: string): boolean;
13
+ export declare function isRefNode(key: string): boolean;
14
14
  export declare function isMultipleRefNode(key: string): boolean;
15
15
  export declare function isSlotNode(key: string): boolean;
16
+ export declare function isMultipleSlotNode(key: string): boolean;
package/dist/index.js CHANGED
@@ -62,7 +62,7 @@ function L(t) {
62
62
  return t.startsWith("globality_v");
63
63
  }
64
64
  function et(t) {
65
- return t.startsWith("reference_v");
65
+ return t.startsWith("ref_v");
66
66
  }
67
67
  function nt(t) {
68
68
  return t.startsWith("multiple_ref_v");
@@ -620,8 +620,8 @@ function nn(t) {
620
620
  if (u && u.meta.events)
621
621
  for (const { id: h, name: p, params: f } of u.meta.events)
622
622
  r.push({
623
- id: K("referenceEvent", t, h),
624
- kind: "referenceEvent",
623
+ id: K("refEvent", t, h),
624
+ kind: "refEvent",
625
625
  names: [p],
626
626
  params: ot(f)
627
627
  });
@@ -721,8 +721,8 @@ function nn(t) {
721
721
  if (u && u.meta.properties)
722
722
  for (const { id: h, name: p, type: f } of u.meta.properties)
723
723
  r.push({
724
- id: K("referencePropertyChangeEvent", t, h),
725
- kind: "referencePropertyChangeEvent",
724
+ id: K("refPropertyChangeEvent", t, h),
725
+ kind: "refPropertyChangeEvent",
726
726
  names: [p],
727
727
  params: x(f)
728
728
  });
@@ -1158,8 +1158,8 @@ function on(t) {
1158
1158
  if (c && c.meta.methods)
1159
1159
  for (const { id: l, name: d, inputs: u, outputs: h } of c.meta.methods)
1160
1160
  s.push({
1161
- id: _t("referenceMethod", t, l),
1162
- kind: "referenceMethod",
1161
+ id: _t("refMethod", t, l),
1162
+ kind: "refMethod",
1163
1163
  names: [d],
1164
1164
  inputs: H(u),
1165
1165
  outputs: tt(h)
@@ -1644,8 +1644,8 @@ function Wt(t, e) {
1644
1644
  if (u && u.meta.properties)
1645
1645
  for (const { id: h, name: p, type: f } of u.meta.properties)
1646
1646
  r.push({
1647
- id: kt("referenceProperty", t, h),
1648
- kind: "referenceProperty",
1647
+ id: kt("refProperty", t, h),
1648
+ kind: "refProperty",
1649
1649
  names: [p],
1650
1650
  meta: {
1651
1651
  raw: { type: f }
@@ -2044,9 +2044,9 @@ const zs = {
2044
2044
  if (this.isInsertionMarker())
2045
2045
  return;
2046
2046
  const t = [];
2047
- this.event.kind === "referenceEvent" && t.push(["REF_KEY", "__refKey__", "x-runtime-lib.refKey", !0]);
2047
+ this.event.kind === "refEvent" && t.push(["REF_KEY", "__refKey__", "x-runtime-lib.refKey", !0]);
2048
2048
  let e = !0;
2049
- if ((this.event.kind === "referenceEvent" || this.event.kind === "customEvent") && (e = !1), this.event.params)
2049
+ if ((this.event.kind === "refEvent" || this.event.kind === "customEvent") && (e = !1), this.event.params)
2050
2050
  for (let n = 0; n < this.event.params.length; n++) {
2051
2051
  const { key: o, name: s } = this.event.params[n];
2052
2052
  t.push(["PARAM" + n, `__param$${o}__`, s, e]);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "x-block-lib",
3
3
  "private": false,
4
- "version": "0.8.62",
4
+ "version": "0.8.63",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
@@ -38,7 +38,7 @@
38
38
  "vue-router": "^4.6.3",
39
39
  "vuetify": "^3.11.3",
40
40
  "x-essential-lib": "^0.9.19",
41
- "x-runtime-lib": "^0.8.122",
41
+ "x-runtime-lib": "^0.8.125",
42
42
  "x-state-lib": "^0.3.31"
43
43
  },
44
44
  "devDependencies": {