x-block-lib 0.6.25 → 0.6.26
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 +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2927,7 +2927,7 @@ const pf = {
|
|
|
2927
2927
|
this.comp = {
|
|
2928
2928
|
id: void 0,
|
|
2929
2929
|
name: ""
|
|
2930
|
-
}, this.appendDummyInput().appendField("%{BKY_UI_V1_SELECT_COMP_TITLE}").appendField(new U(() => this.genCompOpts_()), "COMP"), this.setOutput(!0, "
|
|
2930
|
+
}, this.appendDummyInput().appendField("%{BKY_UI_V1_SELECT_COMP_TITLE}").appendField(new U(() => this.genCompOpts_()), "COMP"), this.setOutput(!0, "Comp"), this.setStyle("prop_blocks"), this.setTooltip("%{BKY_UI_V1_SELECT_COMP_TOOLTIP}"), this.setHelpUrl("%{BKY_UI_V1_SELECT_COMP_HELPURL}"), this.initData_();
|
|
2931
2931
|
},
|
|
2932
2932
|
initData_: function() {
|
|
2933
2933
|
var n;
|
|
@@ -3223,7 +3223,7 @@ const df = {
|
|
|
3223
3223
|
if (!e)
|
|
3224
3224
|
return;
|
|
3225
3225
|
const t = this.getInput("VALUE"), n = e.raw;
|
|
3226
|
-
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("
|
|
3226
|
+
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);
|
|
3227
3227
|
},
|
|
3228
3228
|
checkWarning_: function() {
|
|
3229
3229
|
const e = He(this.node.id);
|
|
@@ -3343,7 +3343,7 @@ const hf = {
|
|
|
3343
3343
|
if (!e)
|
|
3344
3344
|
return;
|
|
3345
3345
|
const t = this.getInput("VALUE"), n = e.raw;
|
|
3346
|
-
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("
|
|
3346
|
+
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);
|
|
3347
3347
|
},
|
|
3348
3348
|
checkWarning_: function() {
|
|
3349
3349
|
const e = Yt(this.element.key);
|