x-block-lib 0.5.10 → 0.5.11
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 +2 -0
- package/dist/core/locale/msg/zhHans.d.ts +2 -0
- package/dist/core/utils/app/app.d.ts +2 -2
- package/dist/core/utils/app/arg.d.ts +2 -2
- package/dist/core/utils/app/element.d.ts +1 -1
- package/dist/core/utils/app/node.d.ts +1 -1
- package/dist/core/utils/compute/func.d.ts +2 -2
- package/dist/core/utils/compute/space.d.ts +1 -1
- package/dist/core/utils/data/space.d.ts +1 -1
- package/dist/core/utils/data/table.d.ts +1 -1
- package/dist/core/utils/resource/resource.d.ts +1 -1
- package/dist/core/utils/resource/space.d.ts +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +1121 -1217
- package/dist/{msg-en-h2dytcav.js → msg-en-i3mahtsm.js} +2 -0
- package/dist/{msg-zhHans-on9wfjb0.js → msg-zhHans-px7koik6.js} +2 -0
- package/package.json +4 -3
- package/dist/state/app.d.ts +0 -28
- package/dist/state/base.d.ts +0 -5
- package/dist/state/compute.d.ts +0 -63
- package/dist/state/data.d.ts +0 -31
- package/dist/state/index.d.ts +0 -7
- package/dist/state/resource.d.ts +0 -24
- package/dist/state/runtime.d.ts +0 -16
- package/dist/state/state.d.ts +0 -15
|
@@ -53,6 +53,7 @@ declare const _default: {
|
|
|
53
53
|
CATEGORY_UI: string;
|
|
54
54
|
CATEGORY_VARIABLE: string;
|
|
55
55
|
EVENT_CLICK: string;
|
|
56
|
+
EVENT_SLOT_CHANGE: string;
|
|
56
57
|
EVENT_STARTUP: string;
|
|
57
58
|
EVENT_SCREEN_SIZE_CHANGE: string;
|
|
58
59
|
EVENT_DARK_MODE_CHANGE: string;
|
|
@@ -83,6 +84,7 @@ declare const _default: {
|
|
|
83
84
|
PARAM_NEW_SCREEN_SIZE: string;
|
|
84
85
|
PARAM_OLD_SCREEN_SIZE: string;
|
|
85
86
|
PARAM_RESULT: string;
|
|
87
|
+
PARAM_STATE: string;
|
|
86
88
|
PARAM_SUCCESS: string;
|
|
87
89
|
ASSET_DATA: string;
|
|
88
90
|
ASSET_DIR: string;
|
|
@@ -53,6 +53,7 @@ declare const _default: {
|
|
|
53
53
|
CATEGORY_UI: string;
|
|
54
54
|
CATEGORY_VARIABLE: string;
|
|
55
55
|
EVENT_CLICK: string;
|
|
56
|
+
EVENT_SLOT_CHANGE: string;
|
|
56
57
|
EVENT_STARTUP: string;
|
|
57
58
|
EVENT_SCREEN_SIZE_CHANGE: string;
|
|
58
59
|
EVENT_DARK_MODE_CHANGE: string;
|
|
@@ -83,6 +84,7 @@ declare const _default: {
|
|
|
83
84
|
PARAM_NEW_SCREEN_SIZE: string;
|
|
84
85
|
PARAM_OLD_SCREEN_SIZE: string;
|
|
85
86
|
PARAM_RESULT: string;
|
|
87
|
+
PARAM_STATE: string;
|
|
86
88
|
PARAM_SUCCESS: string;
|
|
87
89
|
ASSET_DATA: string;
|
|
88
90
|
ASSET_DIR: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as Blockly from 'blockly/core';
|
|
2
|
-
export declare function getAllAppInfos(): import("
|
|
3
|
-
export declare function getAppInfo(id: string): import("
|
|
2
|
+
export declare function getAllAppInfos(): import("x-state-lib").App[];
|
|
3
|
+
export declare function getAppInfo(id: string): import("x-state-lib").App | undefined;
|
|
4
4
|
export declare function genAppOpts(): Blockly.MenuOption[];
|
|
5
5
|
export declare function getAllPageInfos(appid: string): {
|
|
6
6
|
id: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import * as Blockly from 'blockly/core';
|
|
2
|
-
export declare function getAllArgInfos(): import("
|
|
3
|
-
export declare function getArgInfo(id: string): import("
|
|
2
|
+
export declare function getAllArgInfos(): import("x-state-lib").Arg[];
|
|
3
|
+
export declare function getArgInfo(id: string): import("x-state-lib").Arg | undefined;
|
|
4
4
|
export declare function genArgOpts(): Blockly.MenuOption[];
|
|
@@ -19,6 +19,6 @@ interface PropInfo {
|
|
|
19
19
|
readonly?: boolean;
|
|
20
20
|
}
|
|
21
21
|
export declare function getAllPropInfos(elementKey: string, modify?: boolean): PropInfo[];
|
|
22
|
-
export declare function getPropInfo(elementKey: string, propKeys: string): import("
|
|
22
|
+
export declare function getPropInfo(elementKey: string, propKeys: string): import("x-state-lib").Prop | undefined;
|
|
23
23
|
export declare function genPropOpts(elementKey: string, modify?: boolean): Blockly.MenuOption[];
|
|
24
24
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as Blockly from 'blockly/core';
|
|
2
|
-
import { Node, Prop } from '
|
|
2
|
+
import { Node, Prop } from 'x-state-lib';
|
|
3
3
|
type Filter = 'event' | 'method';
|
|
4
4
|
export declare function getAllNodeInfos(filter?: Filter): Node[];
|
|
5
5
|
export declare function getNodeInfo(id: string): Node | undefined;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as Blockly from 'blockly/core';
|
|
2
|
-
import { Func } from '
|
|
2
|
+
import { Func } from 'x-state-lib';
|
|
3
3
|
export declare function getAllFuncInfos(spaceid: string): Func[];
|
|
4
4
|
export declare function getFuncInfo(id: string): Func;
|
|
5
5
|
export declare function genFuncOpts(spaceid: string): Blockly.MenuOption[];
|
|
6
|
-
export declare function getActiveFunc(): import("
|
|
6
|
+
export declare function getActiveFunc(): import("x-state-lib").ActiveFunc;
|
|
7
7
|
export declare function getActiveFuncOutputInfo(id: string): {
|
|
8
8
|
id: string;
|
|
9
9
|
name: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as Blockly from 'blockly/core';
|
|
2
|
-
import { ComputeSpace } from '
|
|
2
|
+
import { ComputeSpace } from 'x-state-lib';
|
|
3
3
|
export declare function getAllSpaceInfos(): ComputeSpace[];
|
|
4
4
|
export declare function getSpaceInfo(id: string): ComputeSpace;
|
|
5
5
|
export declare function genSpaceOpts(): Blockly.MenuOption[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as Blockly from 'blockly/core';
|
|
2
|
-
import { DataSpace } from '
|
|
2
|
+
import { DataSpace } from 'x-state-lib';
|
|
3
3
|
export declare function getAllSpaceInfos(): DataSpace[];
|
|
4
4
|
export declare function getSpaceInfo(id: string): DataSpace;
|
|
5
5
|
export declare function genSpaceOpts(): Blockly.MenuOption[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as Blockly from 'blockly/core';
|
|
2
|
-
import { Table } from '
|
|
2
|
+
import { Table } from 'x-state-lib';
|
|
3
3
|
export declare function getAllTableInfos(spaceid: string): Table[];
|
|
4
4
|
export declare function getTableInfo(id: string): Table;
|
|
5
5
|
export declare function genTableOpts(spaceid: string): Blockly.MenuOption[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as Blockly from 'blockly/core';
|
|
2
|
-
import { ResourceEntry } from '
|
|
2
|
+
import { ResourceEntry } from 'x-state-lib';
|
|
3
3
|
export declare function getAllResourceInfos(spaceid: string, dirid: string): ResourceEntry[];
|
|
4
4
|
export declare function getResourceInfo(spaceid: string, id: 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
|
-
import { ResourceSpace } from '
|
|
2
|
+
import { ResourceSpace } from 'x-state-lib';
|
|
3
3
|
export declare function getAllSpaceInfos(): ResourceSpace[];
|
|
4
4
|
export declare function getSpaceInfo(id: string): ResourceSpace;
|
|
5
5
|
export declare function genSpaceOpts(): Blockly.MenuOption[];
|
package/dist/index.d.ts
CHANGED