x-block-lib 0.8.59 → 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.
- package/dist/core/blocks/app/misc/selectSlot/v1/index.d.ts +1 -0
- package/dist/core/locale/msg/en.d.ts +3 -0
- package/dist/core/locale/msg/zhHans.d.ts +3 -0
- package/dist/core/utils/app/app.d.ts +14 -17
- package/dist/core/utils/app/index.d.ts +1 -0
- package/dist/core/utils/app/slot.d.ts +9 -0
- package/dist/core/utils/common/shadow.d.ts +2 -1
- package/dist/index.js +294 -276
- package/dist/{msg-en.jch03670.js → msg-en.lazlimvt.js} +3 -0
- package/dist/{msg-zhHans.dkvb4o7c.js → msg-zhHans.b1gbdbmm.js} +3 -0
- package/package.json +8 -8
|
@@ -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
|
-
|
|
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
|
|
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
|
-
}
|
|
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
|
-
|
|
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
|
-
|
|
25
|
-
|
|
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 {};
|
|
@@ -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 {};
|
|
@@ -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;
|