x-block-lib 0.6.17 → 0.6.19

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.
@@ -0,0 +1,6 @@
1
+ import * as Blockly from 'blockly/core';
2
+ export declare class FieldDropdown2 extends Blockly.FieldDropdown {
3
+ constructor(menuGenerator: Blockly.MenuGenerator, validator?: Blockly.FieldDropdownValidator, config?: Blockly.FieldDropdownConfig);
4
+ protected doClassValidation_(newValue: string): string | null | undefined;
5
+ protected doClassValidation_(newValue?: string): string | null;
6
+ }
@@ -0,0 +1 @@
1
+ export * from './fieldDropdown2';
@@ -0,0 +1,7 @@
1
+ import * as Blockly from 'blockly/core';
2
+ export declare enum CustomEventType {
3
+ STATE_CHANGE = "state_change"
4
+ }
5
+ export declare class StateChange extends Blockly.Events.Abstract {
6
+ isBlank: boolean;
7
+ }
@@ -1,6 +1,7 @@
1
1
  import './blocks';
2
2
  export * from './category';
3
3
  import './dialog';
4
+ export * from './events';
4
5
  export * from './locale';
5
6
  export * from './misc';
6
7
  import './plugins';