x-block-lib 0.5.11 → 0.5.12
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/components/blockly/index.vue.d.ts +9 -3
- package/dist/components/blockly/lock/index.vue.d.ts +2 -2
- package/dist/components/blockly/navigator/blockList/item.vue.d.ts +1 -1
- package/dist/components/blockly/navigator/blockTree/index.vue.d.ts +1 -1
- package/dist/core/utils/app/app.d.ts +2 -2
- package/dist/core/utils/app/arg.d.ts +10 -2
- package/dist/core/utils/app/node.d.ts +11 -3
- package/dist/core/utils/compute/func.d.ts +2 -3
- package/dist/core/utils/compute/space.d.ts +4 -2
- package/dist/core/utils/data/space.d.ts +1 -1
- package/dist/core/utils/data/table.d.ts +2 -3
- package/dist/core/utils/resource/resource.d.ts +1 -1
- package/dist/core/utils/resource/space.d.ts +1 -1
- package/dist/index.js +1385 -1424
- package/package.json +3 -3
|
@@ -3,11 +3,11 @@ interface Props {
|
|
|
3
3
|
type: Type;
|
|
4
4
|
version: string;
|
|
5
5
|
}
|
|
6
|
-
|
|
6
|
+
type __VLS_Props = Props;
|
|
7
7
|
type __VLS_PublicProps = {
|
|
8
8
|
'lock': boolean;
|
|
9
9
|
'scale': number;
|
|
10
|
-
} &
|
|
10
|
+
} & __VLS_Props;
|
|
11
11
|
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
12
12
|
loading: import("vue").Ref<boolean, boolean>;
|
|
13
13
|
load: (state: object) => void;
|
|
@@ -18,7 +18,13 @@ declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {
|
|
|
18
18
|
fireStateChange: () => void;
|
|
19
19
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
20
20
|
ready: (...args: any[]) => void;
|
|
21
|
+
"update:lock": (value: boolean) => void;
|
|
22
|
+
"update:scale": (value: number) => void;
|
|
21
23
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
22
24
|
onReady?: ((...args: any[]) => any) | undefined;
|
|
23
|
-
|
|
25
|
+
"onUpdate:lock"?: ((value: boolean) => any) | undefined;
|
|
26
|
+
"onUpdate:scale"?: ((value: number) => any) | undefined;
|
|
27
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {
|
|
28
|
+
blocklyDiv: HTMLDivElement;
|
|
29
|
+
}, HTMLDivElement>;
|
|
24
30
|
export default _default;
|
|
@@ -2,8 +2,8 @@ type __VLS_PublicProps = {
|
|
|
2
2
|
modelValue: boolean;
|
|
3
3
|
};
|
|
4
4
|
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
5
|
-
"update:modelValue": (
|
|
5
|
+
"update:modelValue": (value: boolean) => any;
|
|
6
6
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
7
|
-
"onUpdate:modelValue"?: ((
|
|
7
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
8
8
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
9
9
|
export default _default;
|
|
@@ -7,5 +7,5 @@ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, imp
|
|
|
7
7
|
"x-click": (...args: any[]) => void;
|
|
8
8
|
}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
|
|
9
9
|
"onX-click"?: ((...args: any[]) => any) | undefined;
|
|
10
|
-
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {},
|
|
10
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
11
11
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {},
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
2
2
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as Blockly from 'blockly/core';
|
|
2
|
-
export declare function getAllAppInfos(): import("x-state-lib").
|
|
3
|
-
export declare function getAppInfo(id: string): import("x-state-lib").
|
|
2
|
+
export declare function getAllAppInfos(): import("x-state-lib").AppListEntry[];
|
|
3
|
+
export declare function getAppInfo(id: string): import("x-state-lib").AppListEntry | undefined;
|
|
4
4
|
export declare function genAppOpts(): Blockly.MenuOption[];
|
|
5
5
|
export declare function getAllPageInfos(appid: string): {
|
|
6
6
|
id: string;
|
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
import * as Blockly from 'blockly/core';
|
|
2
|
-
export declare function getAllArgInfos():
|
|
3
|
-
|
|
2
|
+
export declare function getAllArgInfos(): {
|
|
3
|
+
id: string;
|
|
4
|
+
name: string;
|
|
5
|
+
type: string;
|
|
6
|
+
}[];
|
|
7
|
+
export declare function getArgInfo(id: string): {
|
|
8
|
+
id: string;
|
|
9
|
+
name: string;
|
|
10
|
+
type: string;
|
|
11
|
+
} | undefined;
|
|
4
12
|
export declare function genArgOpts(): Blockly.MenuOption[];
|
|
@@ -1,8 +1,16 @@
|
|
|
1
1
|
import * as Blockly from 'blockly/core';
|
|
2
|
-
import {
|
|
2
|
+
import { Prop } from 'x-state-lib';
|
|
3
3
|
type Filter = 'event' | 'method';
|
|
4
|
-
export declare function getAllNodeInfos(filter?: Filter):
|
|
5
|
-
|
|
4
|
+
export declare function getAllNodeInfos(filter?: Filter): {
|
|
5
|
+
id: string;
|
|
6
|
+
key: string;
|
|
7
|
+
alias: string;
|
|
8
|
+
}[];
|
|
9
|
+
export declare function getNodeInfo(id: string): {
|
|
10
|
+
id: string;
|
|
11
|
+
key: string;
|
|
12
|
+
alias: string;
|
|
13
|
+
} | undefined;
|
|
6
14
|
export declare function genNodeOpts(filter?: Filter): Blockly.MenuOption[];
|
|
7
15
|
export declare function getAllEventInfos(nodeid: string): import("x-runtime-lib").ZEvent[];
|
|
8
16
|
export declare function getEventInfo(nodeid: string, eventKey: string): import("x-runtime-lib").ZEvent | undefined;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import * as Blockly from 'blockly/core';
|
|
2
|
-
|
|
3
|
-
export declare function
|
|
4
|
-
export declare function getFuncInfo(id: string): Func;
|
|
2
|
+
export declare function getAllFuncInfos(spaceid: string): import("x-state-lib").Func[];
|
|
3
|
+
export declare function getFuncInfo(spaceid: string, funcid: string): import("x-state-lib").Func | undefined;
|
|
5
4
|
export declare function genFuncOpts(spaceid: string): Blockly.MenuOption[];
|
|
6
5
|
export declare function getActiveFunc(): import("x-state-lib").ActiveFunc;
|
|
7
6
|
export declare function getActiveFuncOutputInfo(id: string): {
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import * as Blockly from 'blockly/core';
|
|
2
2
|
import { ComputeSpace } from 'x-state-lib';
|
|
3
|
-
|
|
4
|
-
export declare function
|
|
3
|
+
type Filter = 'func' | 'flow';
|
|
4
|
+
export declare function getAllSpaceInfos(filter?: Filter): ComputeSpace[];
|
|
5
|
+
export declare function getSpaceInfo(id: string): ComputeSpace | undefined;
|
|
5
6
|
export declare function genSpaceOpts(): Blockly.MenuOption[];
|
|
7
|
+
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as Blockly from 'blockly/core';
|
|
2
2
|
import { DataSpace } from 'x-state-lib';
|
|
3
3
|
export declare function getAllSpaceInfos(): DataSpace[];
|
|
4
|
-
export declare function getSpaceInfo(id: string): DataSpace;
|
|
4
|
+
export declare function getSpaceInfo(id: string): DataSpace | undefined;
|
|
5
5
|
export declare function genSpaceOpts(): Blockly.MenuOption[];
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import * as Blockly from 'blockly/core';
|
|
2
|
-
|
|
3
|
-
export declare function
|
|
4
|
-
export declare function getTableInfo(id: string): Table;
|
|
2
|
+
export declare function getAllTableInfos(spaceid: string): import("x-state-lib").Table[];
|
|
3
|
+
export declare function getTableInfo(spaceid: string, tableid: string): import("x-state-lib").Table | undefined;
|
|
5
4
|
export declare function genTableOpts(spaceid: string): Blockly.MenuOption[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as Blockly from 'blockly/core';
|
|
2
2
|
import { ResourceEntry } from 'x-state-lib';
|
|
3
3
|
export declare function getAllResourceInfos(spaceid: string, dirid: string): ResourceEntry[];
|
|
4
|
-
export declare function getResourceInfo(spaceid: string,
|
|
4
|
+
export declare function getResourceInfo(spaceid: string, resourceid: string): ResourceEntry | undefined;
|
|
5
5
|
export declare function genResourceOpts(spaceid: string, dirid: string): Blockly.MenuOption[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as Blockly from 'blockly/core';
|
|
2
2
|
import { ResourceSpace } from 'x-state-lib';
|
|
3
3
|
export declare function getAllSpaceInfos(): ResourceSpace[];
|
|
4
|
-
export declare function getSpaceInfo(id: string): ResourceSpace;
|
|
4
|
+
export declare function getSpaceInfo(id: string): ResourceSpace | undefined;
|
|
5
5
|
export declare function genSpaceOpts(): Blockly.MenuOption[];
|