x-block-lib 0.7.15 → 0.7.16

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.
@@ -1,9 +1,7 @@
1
1
  import * as Blockly from 'blockly/core';
2
- export declare function spawnTextBlockV1(workspace: Blockly.Workspace, value: string): Blockly.Block;
3
- export declare function spawnMathNumberBlockV1(workspace: Blockly.Workspace, value: number): Blockly.Block;
4
- export declare function spawnLogicBooleanBlockV1(workspace: Blockly.Workspace, value: boolean): Blockly.Block;
5
- export declare function spawnItemsBlockV1(workspace: Blockly.Workspace, items: string): Blockly.Block;
6
- export declare function spawnTypesBlockV1(workspace: Blockly.Workspace, types: string): Blockly.Block;
7
- export declare function spawnSelectCompBlockV1(workspace: Blockly.Workspace): Blockly.Block;
8
- export declare function spawnColorPickerBlockV1(workspace: Blockly.Workspace, color: string): Blockly.Block;
2
+ import { ZProp } from 'x-runtime-lib';
3
+ export declare function spawnPropDomV1(prop: ZProp): Element | null;
4
+ export declare function spawnPropBlockV1(workspace: Blockly.Workspace, prop: ZProp): Blockly.Block | null;
5
+ export declare function spawnColumnDomV1(type: string): Element | null;
9
6
  export declare function spawnColumnBlockV1(workspace: Blockly.Workspace, type: string): Blockly.Block | null;
7
+ export declare function getPropCheck(prop: ZProp): string | null;