x-block-lib 0.4.43 → 0.4.45
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/data/index.d.ts +2 -0
- package/dist/core/blocks/data/queryExtraLimit/v1/index.d.ts +1 -0
- package/dist/core/blocks/data/queryExtraSortby/v1/index.d.ts +1 -0
- package/dist/core/locale/msg/en.d.ts +7 -0
- package/dist/core/locale/msg/zhHans.d.ts +7 -0
- package/dist/core/utils/compute/func.d.ts +3 -18
- package/dist/core/utils/compute/space.d.ts +3 -8
- package/dist/core/utils/data/space.d.ts +3 -8
- package/dist/core/utils/data/table.d.ts +3 -19
- package/dist/core/utils/resource/dir.d.ts +12 -0
- package/dist/core/utils/resource/resource.d.ts +5 -0
- package/dist/core/utils/resource/space.d.ts +5 -0
- package/dist/index.js +1216 -1083
- package/dist/{msg-en-b6f90zue.js → msg-en-eqk5vznj.js} +7 -0
- package/dist/{msg-zhHans-db5w8qqg.js → msg-zhHans-c9t7pl7j.js} +7 -0
- package/dist/state/resource.d.ts +16 -13
- package/package.json +1 -1
- package/dist/core/utils/resource/index.d.ts +0 -24
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -59,6 +59,7 @@ declare const _default: {
|
|
|
59
59
|
LABEL_OPERATION: string;
|
|
60
60
|
LABEL_PROCEDURE: string;
|
|
61
61
|
LABEL_PROPERTY: string;
|
|
62
|
+
LABEL_QUERY_EXTRA: string;
|
|
62
63
|
LABEL_SET: string;
|
|
63
64
|
LABEL_TABLE: string;
|
|
64
65
|
LABEL_TEXT: string;
|
|
@@ -124,6 +125,12 @@ declare const _default: {
|
|
|
124
125
|
DATA_V1_QUERY_DATA_TITLE: string;
|
|
125
126
|
DATA_V1_QUERY_DATA_TOOLTIP: string;
|
|
126
127
|
DATA_V1_QUERY_DATA_HELPURL: string;
|
|
128
|
+
DATA_V1_QUERY_EXTRA_LIMIT_TITLE: string;
|
|
129
|
+
DATA_V1_QUERY_EXTRA_LIMIT_TOOLTIP: string;
|
|
130
|
+
DATA_V1_QUERY_EXTRA_LIMIT_HELPURL: string;
|
|
131
|
+
DATA_V1_QUERY_EXTRA_SORTBY_TITLE: string;
|
|
132
|
+
DATA_V1_QUERY_EXTRA_SORTBY_TOOLTIP: string;
|
|
133
|
+
DATA_V1_QUERY_EXTRA_SORTBY_HELPURL: string;
|
|
127
134
|
DATA_V1_SELECT_COLUMN_TITLE: string;
|
|
128
135
|
DATA_V1_SELECT_COLUMN_TOOLTIP: string;
|
|
129
136
|
DATA_V1_SELECT_COLUMN_HELPURL: string;
|
|
@@ -59,6 +59,7 @@ declare const _default: {
|
|
|
59
59
|
LABEL_OPERATION: string;
|
|
60
60
|
LABEL_PROCEDURE: string;
|
|
61
61
|
LABEL_PROPERTY: string;
|
|
62
|
+
LABEL_QUERY_EXTRA: string;
|
|
62
63
|
LABEL_SET: string;
|
|
63
64
|
LABEL_TABLE: string;
|
|
64
65
|
LABEL_TEXT: string;
|
|
@@ -124,6 +125,12 @@ declare const _default: {
|
|
|
124
125
|
DATA_V1_QUERY_DATA_TITLE: string;
|
|
125
126
|
DATA_V1_QUERY_DATA_TOOLTIP: string;
|
|
126
127
|
DATA_V1_QUERY_DATA_HELPURL: string;
|
|
128
|
+
DATA_V1_QUERY_EXTRA_LIMIT_TITLE: string;
|
|
129
|
+
DATA_V1_QUERY_EXTRA_LIMIT_TOOLTIP: string;
|
|
130
|
+
DATA_V1_QUERY_EXTRA_LIMIT_HELPURL: string;
|
|
131
|
+
DATA_V1_QUERY_EXTRA_SORTBY_TITLE: string;
|
|
132
|
+
DATA_V1_QUERY_EXTRA_SORTBY_TOOLTIP: string;
|
|
133
|
+
DATA_V1_QUERY_EXTRA_SORTBY_HELPURL: string;
|
|
127
134
|
DATA_V1_SELECT_COLUMN_TITLE: string;
|
|
128
135
|
DATA_V1_SELECT_COLUMN_TOOLTIP: string;
|
|
129
136
|
DATA_V1_SELECT_COLUMN_HELPURL: string;
|
|
@@ -1,21 +1,7 @@
|
|
|
1
1
|
import * as Blockly from 'blockly/core';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
inputs: {
|
|
6
|
-
id: string;
|
|
7
|
-
name: string;
|
|
8
|
-
type: string;
|
|
9
|
-
}[];
|
|
10
|
-
outputs: {
|
|
11
|
-
id: string;
|
|
12
|
-
name: string;
|
|
13
|
-
type: string;
|
|
14
|
-
}[];
|
|
15
|
-
sort: number;
|
|
16
|
-
}
|
|
17
|
-
export declare function getAllFuncInfos(spaceid: string): FuncInfo[];
|
|
18
|
-
export declare function getFuncInfo(id: string): import("../../../state").Func;
|
|
2
|
+
import { Func } from '../../../state';
|
|
3
|
+
export declare function getAllFuncInfos(spaceid: string): Func[];
|
|
4
|
+
export declare function getFuncInfo(id: string): Func;
|
|
19
5
|
export declare function genFuncOpts(spaceid: string): Blockly.MenuOption[];
|
|
20
6
|
export declare function getActiveFunc(): import("../../../state").ActiveFunc;
|
|
21
7
|
export declare function getActiveFuncOutputInfo(id: string): {
|
|
@@ -24,4 +10,3 @@ export declare function getActiveFuncOutputInfo(id: string): {
|
|
|
24
10
|
type: string;
|
|
25
11
|
} | undefined;
|
|
26
12
|
export declare function genActiveFuncOutputOpts(): Blockly.MenuOption[];
|
|
27
|
-
export {};
|
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
import * as Blockly from 'blockly/core';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
sort: number;
|
|
6
|
-
}
|
|
7
|
-
export declare function getAllSpaceInfos(): SpaceInfo[];
|
|
8
|
-
export declare function getSpaceInfo(id: string): import("../../../state").ComputeSpace;
|
|
2
|
+
import { ComputeSpace } from '../../../state';
|
|
3
|
+
export declare function getAllSpaceInfos(): ComputeSpace[];
|
|
4
|
+
export declare function getSpaceInfo(id: string): ComputeSpace;
|
|
9
5
|
export declare function genSpaceOpts(): Blockly.MenuOption[];
|
|
10
|
-
export {};
|
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
import * as Blockly from 'blockly/core';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
sort: number;
|
|
6
|
-
}
|
|
7
|
-
export declare function getAllSpaceInfos(): SpaceInfo[];
|
|
8
|
-
export declare function getSpaceInfo(id: string): import("../../../state").DataSpace;
|
|
2
|
+
import { DataSpace } from '../../../state';
|
|
3
|
+
export declare function getAllSpaceInfos(): DataSpace[];
|
|
4
|
+
export declare function getSpaceInfo(id: string): DataSpace;
|
|
9
5
|
export declare function genSpaceOpts(): Blockly.MenuOption[];
|
|
10
|
-
export {};
|
|
@@ -1,21 +1,5 @@
|
|
|
1
1
|
import * as Blockly from 'blockly/core';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
columns: {
|
|
6
|
-
id: string;
|
|
7
|
-
name: string;
|
|
8
|
-
type: string;
|
|
9
|
-
extend: string;
|
|
10
|
-
}[];
|
|
11
|
-
indexes: {
|
|
12
|
-
id: string;
|
|
13
|
-
columns: string[];
|
|
14
|
-
unique: boolean;
|
|
15
|
-
}[];
|
|
16
|
-
sort: number;
|
|
17
|
-
}
|
|
18
|
-
export declare function getAllTableInfos(spaceid: string): TableInfo[];
|
|
19
|
-
export declare function getTableInfo(id: string): import("../../../state").Table;
|
|
2
|
+
import { Table } from '../../../state';
|
|
3
|
+
export declare function getAllTableInfos(spaceid: string): Table[];
|
|
4
|
+
export declare function getTableInfo(id: string): Table;
|
|
20
5
|
export declare function genTableOpts(spaceid: string): Blockly.MenuOption[];
|
|
21
|
-
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as Blockly from 'blockly/core';
|
|
2
|
+
interface DirInfo {
|
|
3
|
+
id: string;
|
|
4
|
+
name: string;
|
|
5
|
+
}
|
|
6
|
+
export declare function getAllDirInfos(spaceid: string): DirInfo[];
|
|
7
|
+
export declare function getDirInfo(spaceid: string, id: string): {
|
|
8
|
+
id: string;
|
|
9
|
+
name: string;
|
|
10
|
+
} | undefined;
|
|
11
|
+
export declare function genDirOpts(spaceid: string): Blockly.MenuOption[];
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as Blockly from 'blockly/core';
|
|
2
|
+
import { ResourceEntry } from '../../../state';
|
|
3
|
+
export declare function getAllResourceInfos(spaceid: string, dirid: string): ResourceEntry[];
|
|
4
|
+
export declare function getResourceInfo(spaceid: string, id: string): ResourceEntry | undefined;
|
|
5
|
+
export declare function genResourceOpts(spaceid: string, dirid: string): Blockly.MenuOption[];
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as Blockly from 'blockly/core';
|
|
2
|
+
import { ResourceSpace } from '../../../state';
|
|
3
|
+
export declare function getAllSpaceInfos(): ResourceSpace[];
|
|
4
|
+
export declare function getSpaceInfo(id: string): ResourceSpace;
|
|
5
|
+
export declare function genSpaceOpts(): Blockly.MenuOption[];
|