x-block-lib 0.11.4 → 0.11.5
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 +1 -7
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -8144,13 +8144,7 @@ const LIST_CREATE_V1 = {
|
|
|
8144
8144
|
else if (!this.itemCount_ && !this.getInput("EMPTY")) this.appendDummyInput("EMPTY").appendField("%{BKY_LIST_V1_CREATE_TITLE}");
|
|
8145
8145
|
for (let i = 0; i < this.itemCount_; i++) {
|
|
8146
8146
|
if (this.getInput("ADD" + i)) continue;
|
|
8147
|
-
this.appendValueInput("ADD" + i)
|
|
8148
|
-
"String",
|
|
8149
|
-
"Number",
|
|
8150
|
-
"Boolean",
|
|
8151
|
-
"Array",
|
|
8152
|
-
"Object"
|
|
8153
|
-
]);
|
|
8147
|
+
this.appendValueInput("ADD" + i);
|
|
8154
8148
|
if (i === 0) this.getInput("ADD" + i).setAlign(inputs.Align.RIGHT).appendField("%{BKY_LIST_V1_CREATE_TITLE}");
|
|
8155
8149
|
}
|
|
8156
8150
|
for (let i = this.itemCount_; this.getInput("ADD" + i); i++) this.removeInput("ADD" + i);
|