x-block-lib 0.8.58 → 0.8.60

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 @@
1
+ export {};
@@ -162,6 +162,9 @@ declare const _default: {
162
162
  APP_V1_SELECT_COMP_TITLE: string;
163
163
  APP_V1_SELECT_COMP_TOOLTIP: string;
164
164
  APP_V1_SELECT_COMP_HELPURL: string;
165
+ APP_V1_SELECT_SLOT_TITLE: string;
166
+ APP_V1_SELECT_SLOT_TOOLTIP: string;
167
+ APP_V1_SELECT_SLOT_HELPURL: string;
165
168
  APP_V1_SET_APP_METHOD_OUTPUT_TITLE: string;
166
169
  APP_V1_SET_APP_METHOD_OUTPUT_TOOLTIP: string;
167
170
  APP_V1_SET_APP_METHOD_OUTPUT_HELPURL: string;
@@ -162,6 +162,9 @@ declare const _default: {
162
162
  APP_V1_SELECT_COMP_TITLE: string;
163
163
  APP_V1_SELECT_COMP_TOOLTIP: string;
164
164
  APP_V1_SELECT_COMP_HELPURL: string;
165
+ APP_V1_SELECT_SLOT_TITLE: string;
166
+ APP_V1_SELECT_SLOT_TOOLTIP: string;
167
+ APP_V1_SELECT_SLOT_HELPURL: string;
165
168
  APP_V1_SET_APP_METHOD_OUTPUT_TITLE: string;
166
169
  APP_V1_SET_APP_METHOD_OUTPUT_TOOLTIP: string;
167
170
  APP_V1_SET_APP_METHOD_OUTPUT_HELPURL: string;
@@ -1,26 +1,23 @@
1
1
  import * as Blockly from 'blockly/core';
2
- export declare function getAllAppInfos(): import("x-state-lib").AppListEntry[];
3
- export declare function getAppInfo(id: string): import("x-state-lib").AppListEntry | undefined;
4
- export declare function genAppOpts(): Blockly.MenuOption[];
5
- export declare function getAllPageInfos(appId: string): {
2
+ interface AppInfo {
6
3
  id: string;
7
4
  name: string;
8
- }[];
9
- export declare function getPageInfo(appId: string, pageId: string): {
5
+ }
6
+ export declare function getAllAppInfos(): AppInfo[];
7
+ export declare function getAppInfo(appId: string): AppInfo | undefined;
8
+ export declare function genAppOpts(): Blockly.MenuOption[];
9
+ interface PageInfo {
10
10
  id: string;
11
11
  name: string;
12
- } | undefined;
12
+ }
13
+ export declare function getAllPageInfos(appId: string): PageInfo[];
14
+ export declare function getPageInfo(appId: string, pageId: string): PageInfo | undefined;
13
15
  export declare function genPageOpts(appId: string): Blockly.MenuOption[];
14
- export declare function getAllCompInfos(): {
15
- id: string;
16
- groupId: string;
17
- name: string;
18
- position: number;
19
- }[];
20
- export declare function getCompInfo(compId: string): {
16
+ interface CompInfo {
21
17
  id: string;
22
- groupId: string;
23
18
  name: string;
24
- position: number;
25
- } | undefined;
19
+ }
20
+ export declare function getAllCompInfos(): CompInfo[];
21
+ export declare function getCompInfo(compId: string): CompInfo | undefined;
26
22
  export declare function genCompOpts(): Blockly.MenuOption[];
23
+ export {};
@@ -4,4 +4,5 @@ export * from './event';
4
4
  export * from './method';
5
5
  export * from './node';
6
6
  export * from './property';
7
+ export * from './slot';
7
8
  export * from './state';
@@ -0,0 +1,9 @@
1
+ import * as Blockly from 'blockly/core';
2
+ interface SlotInfo {
3
+ id: string;
4
+ name: string;
5
+ }
6
+ export declare function getAllSlotInfos(): SlotInfo[];
7
+ export declare function getSlotInfo(slotId: string): SlotInfo | undefined;
8
+ export declare function genSlotOpts_(): Blockly.MenuOption[];
9
+ export {};
@@ -12,3 +12,4 @@ export declare function isReadonlyOfProperty(keys: string, property: ZProperty):
12
12
  export declare function isGlobalityNode(key: string): boolean;
13
13
  export declare function isReferenceNode(key: string): boolean;
14
14
  export declare function isMultipleRefNode(key: string): boolean;
15
+ export declare function isSlotNode(key: string): boolean;
@@ -7,7 +7,8 @@ export declare function shadowOfListCreateV1(): Element;
7
7
  export declare function shadowOfObjectCreateV1(): Element;
8
8
  export declare function shadowOfItemsV1(items: string): Element;
9
9
  export declare function shadowOfTypesV1(types: string): Element;
10
- export declare function shadowOfColorPickerV1(value: string): Element;
11
10
  export declare function shadowOfSelectCompV1(): Element;
11
+ export declare function shadowOfSelectSlotV1(): Element;
12
+ export declare function shadowOfColorPickerV1(value: string): Element;
12
13
  export declare function genTypeShadowV1(type: Type): Element | null;
13
14
  export declare function genPropShadowV1(property: ZProperty): Element | null;