x-block-lib 0.6.27 → 0.6.28

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 +4 -4
  2. package/package.json +2 -2
package/dist/index.js CHANGED
@@ -3168,14 +3168,14 @@ const df = {
3168
3168
  n && n.dispose();
3169
3169
  let o = null;
3170
3170
  const i = e.raw;
3171
- i.ui === "dummy" ? console.assert(!0) : i.ui === "strInput" ? o = kr(this.workspace, i.default) : i.ui === "numInput" ? o = Nr(this.workspace, i.default) : i.ui === "switch" ? o = Sr(this.workspace, i.default) : i.ui === "select" ? o = Lr(this.workspace, i.items) : i.ui === "multiTypes" ? o = Br(this.workspace, i.types) : (i.ui === "compSelect" || i.ui === "slotSelect") && (o = Rr(this.workspace)), o && (t.connection.setCheck(null), t.connection.connect(o.outputConnection));
3171
+ i.ui === "dummy" ? console.assert(!0) : i.ui === "strInput" ? o = kr(this.workspace, i.default) : i.ui === "numInput" ? o = Nr(this.workspace, i.default) : i.ui === "switch" ? o = Sr(this.workspace, i.default) : i.ui === "select" ? o = Lr(this.workspace, i.items) : i.ui === "multiTypes" ? o = Br(this.workspace, i.types) : i.ui === "compSelect" && (o = Rr(this.workspace)), o && (t.connection.setCheck(null), t.connection.connect(o.outputConnection));
3172
3172
  },
3173
3173
  updateCheck_: function() {
3174
3174
  const e = Rt(this.node.id, this.prop.keys);
3175
3175
  if (!e)
3176
3176
  return;
3177
3177
  const t = this.getInput("VALUE"), n = e.raw;
3178
- n.ui === "strInput" ? t.setCheck("String") : n.ui === "numInput" ? t.setCheck("Number") : n.ui === "switch" ? t.setCheck("Boolean") : n.ui === "colorPicker" ? t.setCheck("Colour") : n.ui === "select" ? t.setCheck(gn(n.items)) : n.ui === "multiTypes" ? t.setCheck(gn(n.types)) : n.ui === "compSelect" || n.ui === "slotSelect" ? t.setCheck("Comp") : t.setCheck(null);
3178
+ n.ui === "strInput" ? t.setCheck("String") : n.ui === "numInput" ? t.setCheck("Number") : n.ui === "switch" ? t.setCheck("Boolean") : n.ui === "colorPicker" ? t.setCheck("Colour") : n.ui === "select" ? t.setCheck(gn(n.items)) : n.ui === "multiTypes" ? t.setCheck(gn(n.types)) : n.ui === "compSelect" ? t.setCheck("Comp") : t.setCheck(null);
3179
3179
  },
3180
3180
  checkWarning_: function() {
3181
3181
  const e = He(this.node.id);
@@ -3288,14 +3288,14 @@ const hf = {
3288
3288
  n && n.dispose();
3289
3289
  let o = null;
3290
3290
  const i = e.raw;
3291
- i.ui === "dummy" ? console.assert(!0) : i.ui === "strInput" ? o = kr(this.workspace, i.default) : i.ui === "numInput" ? o = Nr(this.workspace, i.default) : i.ui === "switch" ? o = Sr(this.workspace, i.default) : i.ui === "select" ? o = Lr(this.workspace, i.items) : i.ui === "multiTypes" ? o = Br(this.workspace, i.types) : (i.ui === "compSelect" || i.ui === "slotSelect") && (o = Rr(this.workspace)), o && (t.connection.setCheck(null), t.connection.connect(o.outputConnection));
3291
+ i.ui === "dummy" ? console.assert(!0) : i.ui === "strInput" ? o = kr(this.workspace, i.default) : i.ui === "numInput" ? o = Nr(this.workspace, i.default) : i.ui === "switch" ? o = Sr(this.workspace, i.default) : i.ui === "select" ? o = Lr(this.workspace, i.items) : i.ui === "multiTypes" ? o = Br(this.workspace, i.types) : i.ui === "compSelect" && (o = Rr(this.workspace)), o && (t.connection.setCheck(null), t.connection.connect(o.outputConnection));
3292
3292
  },
3293
3293
  updateCheck_: function() {
3294
3294
  const e = Bt(this.element.key, this.prop.keys);
3295
3295
  if (!e)
3296
3296
  return;
3297
3297
  const t = this.getInput("VALUE"), n = e.raw;
3298
- n.ui === "strInput" ? t.setCheck("String") : n.ui === "numInput" ? t.setCheck("Number") : n.ui === "switch" ? t.setCheck("Boolean") : n.ui === "colorPicker" ? t.setCheck("Colour") : n.ui === "select" ? t.setCheck(gn(n.items)) : n.ui === "multiTypes" ? t.setCheck(gn(n.types)) : n.ui === "compSelect" || n.ui === "slotSelect" ? t.setCheck("Comp") : t.setCheck(null);
3298
+ n.ui === "strInput" ? t.setCheck("String") : n.ui === "numInput" ? t.setCheck("Number") : n.ui === "switch" ? t.setCheck("Boolean") : n.ui === "colorPicker" ? t.setCheck("Colour") : n.ui === "select" ? t.setCheck(gn(n.items)) : n.ui === "multiTypes" ? t.setCheck(gn(n.types)) : n.ui === "compSelect" ? t.setCheck("Comp") : t.setCheck(null);
3299
3299
  },
3300
3300
  checkWarning_: function() {
3301
3301
  const e = Yt(this.element.key);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "x-block-lib",
3
3
  "private": false,
4
- "version": "0.6.27",
4
+ "version": "0.6.28",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
@@ -32,7 +32,7 @@
32
32
  "vue-draggable-plus": "^0.6.0",
33
33
  "vuetify": "^3.8.1",
34
34
  "x-essential-lib": "^0.8.6",
35
- "x-runtime-lib": "^0.6.33",
35
+ "x-runtime-lib": "^0.6.41",
36
36
  "x-state-lib": "^0.2.1"
37
37
  },
38
38
  "devDependencies": {