x-block-lib 0.8.66 → 0.8.68
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/locale/msg/en.d.ts +1 -1
- package/dist/core/locale/msg/zhHans.d.ts +1 -1
- package/dist/core/utils/app/event.d.ts +2 -2
- package/dist/core/utils/app/method.d.ts +2 -2
- package/dist/core/utils/app/node.d.ts +1 -1
- package/dist/core/utils/common/misc.d.ts +1 -0
- package/dist/index.js +2858 -2728
- package/dist/{msg-en.lazlimvt.js → msg-en.dmlvm3cp.js} +1 -1
- package/dist/{msg-zhHans.b1gbdbmm.js → msg-zhHans.dvv4wraq.js} +1 -1
- package/dist/{vendor.k8hjxofe.js → vendor.m705kiju.js} +2 -2
- package/package.json +2 -2
|
@@ -105,12 +105,12 @@ declare const _default: {
|
|
|
105
105
|
APP_DO: string;
|
|
106
106
|
APP_ENV_DEV: string;
|
|
107
107
|
APP_ENV_PROD: string;
|
|
108
|
+
APP_INSTANCE: string;
|
|
108
109
|
APP_LABEL: string;
|
|
109
110
|
APP_POPUP_MESSAGE_TYPE_ERROR: string;
|
|
110
111
|
APP_POPUP_MESSAGE_TYPE_INFO: string;
|
|
111
112
|
APP_POPUP_MESSAGE_TYPE_SUCCESS: string;
|
|
112
113
|
APP_POPUP_MESSAGE_TYPE_WARNING: string;
|
|
113
|
-
APP_REF_KEY: string;
|
|
114
114
|
APP_RETURN: string;
|
|
115
115
|
APP_TEXT: string;
|
|
116
116
|
APP_TITLE: string;
|
|
@@ -105,12 +105,12 @@ declare const _default: {
|
|
|
105
105
|
APP_DO: string;
|
|
106
106
|
APP_ENV_DEV: string;
|
|
107
107
|
APP_ENV_PROD: string;
|
|
108
|
+
APP_INSTANCE: string;
|
|
108
109
|
APP_LABEL: string;
|
|
109
110
|
APP_POPUP_MESSAGE_TYPE_ERROR: string;
|
|
110
111
|
APP_POPUP_MESSAGE_TYPE_INFO: string;
|
|
111
112
|
APP_POPUP_MESSAGE_TYPE_SUCCESS: string;
|
|
112
113
|
APP_POPUP_MESSAGE_TYPE_WARNING: string;
|
|
113
|
-
APP_REF_KEY: string;
|
|
114
114
|
APP_RETURN: string;
|
|
115
115
|
APP_TEXT: string;
|
|
116
116
|
APP_TITLE: string;
|
|
@@ -9,7 +9,7 @@ interface EventInfo {
|
|
|
9
9
|
export declare function getAllOnEventInfos(nodeId: string): EventInfo[];
|
|
10
10
|
export declare function getOnEventInfo(id: string): EventInfo | undefined;
|
|
11
11
|
export declare function genOnEventOpts(nodeId: string): Blockly.MenuOption[];
|
|
12
|
-
export declare function getAllTriggerEventInfos(): EventInfo[];
|
|
12
|
+
export declare function getAllTriggerEventInfos(nodeId: string): EventInfo[];
|
|
13
13
|
export declare function getTriggerEventInfo(id: string): EventInfo | undefined;
|
|
14
|
-
export declare function genTriggerEventOpts(): Blockly.MenuOption[];
|
|
14
|
+
export declare function genTriggerEventOpts(nodeId: string): Blockly.MenuOption[];
|
|
15
15
|
export {};
|
|
@@ -10,9 +10,9 @@ interface MethodInfo {
|
|
|
10
10
|
export declare function getAllCallMethodInfos(nodeId: string): MethodInfo[];
|
|
11
11
|
export declare function getCallMethodInfo(id: string): MethodInfo | undefined;
|
|
12
12
|
export declare function genCallMethodOpts(nodeId: string): Blockly.MenuOption[];
|
|
13
|
-
export declare function getAllImplementMethodInfos(): MethodInfo[];
|
|
13
|
+
export declare function getAllImplementMethodInfos(nodeId: string): MethodInfo[];
|
|
14
14
|
export declare function getImplementMethodInfo(id: string): MethodInfo | undefined;
|
|
15
|
-
export declare function genImplementMethodOpts(): Blockly.MenuOption[];
|
|
15
|
+
export declare function genImplementMethodOpts(nodeId: string): Blockly.MenuOption[];
|
|
16
16
|
export declare function getAllImplementMethodOutputInfos(methodId: string): ZField[] | undefined;
|
|
17
17
|
export declare function getImplementMethodOutputInfo(methodId: string, outputKey: string): ZField | undefined;
|
|
18
18
|
export declare function genImplementMethodOutputOpts(methodKey: string): Blockly.MenuOption[];
|
|
@@ -5,7 +5,7 @@ interface NodeInfo {
|
|
|
5
5
|
name: string;
|
|
6
6
|
alias: string;
|
|
7
7
|
}
|
|
8
|
-
type Filter = 'onEvent' | 'callMethod' | 'getProperty' | 'setProperty';
|
|
8
|
+
type Filter = 'onEvent' | 'triggerEvent' | 'callMethod' | 'implementMethod' | 'getProperty' | 'setProperty';
|
|
9
9
|
export declare function isAvailOfNode(filter: Filter): boolean;
|
|
10
10
|
export declare function getAllNodeInfos(filter: Filter): NodeInfo[];
|
|
11
11
|
export declare function getNodeInfo(nodeid: string): NodeInfo | undefined;
|
|
@@ -14,3 +14,4 @@ export declare function isRefNode(key: string): boolean;
|
|
|
14
14
|
export declare function isMultipleRefNode(key: string): boolean;
|
|
15
15
|
export declare function isSlotNode(key: string): boolean;
|
|
16
16
|
export declare function isMultipleSlotNode(key: string): boolean;
|
|
17
|
+
export declare function isMultipleNode(key: string): boolean;
|