x-state-lib 0.1.4 → 0.1.6
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/index.js +8 -1
- package/dist/state/app.d.ts +39 -5
- package/dist/state/data.d.ts +7 -0
- package/dist/state/resource.d.ts +0 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -7,11 +7,18 @@ function Wt() {
|
|
|
7
7
|
compGroups: [],
|
|
8
8
|
comps: []
|
|
9
9
|
},
|
|
10
|
+
activePage: {
|
|
11
|
+
arguments: []
|
|
12
|
+
},
|
|
13
|
+
activeComp: {
|
|
14
|
+
properties: [],
|
|
15
|
+
methods: [],
|
|
16
|
+
events: []
|
|
17
|
+
},
|
|
10
18
|
activeObject: {
|
|
11
19
|
type: "page",
|
|
12
20
|
subtype: "",
|
|
13
21
|
version: "",
|
|
14
|
-
args: [],
|
|
15
22
|
nodes: []
|
|
16
23
|
}
|
|
17
24
|
};
|
package/dist/state/app.d.ts
CHANGED
|
@@ -22,15 +22,47 @@ export type ActiveApp = {
|
|
|
22
22
|
compGroups: CompGroup[];
|
|
23
23
|
comps: Comp[];
|
|
24
24
|
};
|
|
25
|
-
export type
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
25
|
+
export type ActivePage = {
|
|
26
|
+
arguments: {
|
|
27
|
+
id: string;
|
|
28
|
+
name: string;
|
|
29
|
+
type: string;
|
|
30
|
+
}[];
|
|
31
|
+
};
|
|
32
|
+
export type ActiveComp = {
|
|
33
|
+
properties: {
|
|
30
34
|
id: string;
|
|
31
35
|
name: string;
|
|
32
36
|
type: string;
|
|
33
37
|
}[];
|
|
38
|
+
methods: {
|
|
39
|
+
id: string;
|
|
40
|
+
name: string;
|
|
41
|
+
inputs: {
|
|
42
|
+
id: string;
|
|
43
|
+
name: string;
|
|
44
|
+
type: string;
|
|
45
|
+
}[];
|
|
46
|
+
outputs: {
|
|
47
|
+
id: string;
|
|
48
|
+
name: string;
|
|
49
|
+
type: string;
|
|
50
|
+
}[];
|
|
51
|
+
}[];
|
|
52
|
+
events: {
|
|
53
|
+
id: string;
|
|
54
|
+
name: string;
|
|
55
|
+
params: {
|
|
56
|
+
id: string;
|
|
57
|
+
name: string;
|
|
58
|
+
type: string;
|
|
59
|
+
}[];
|
|
60
|
+
}[];
|
|
61
|
+
};
|
|
62
|
+
export type ActiveObject = {
|
|
63
|
+
type: 'page' | 'comp';
|
|
64
|
+
subtype: string;
|
|
65
|
+
version: string;
|
|
34
66
|
nodes: {
|
|
35
67
|
id: string;
|
|
36
68
|
key: string;
|
|
@@ -40,6 +72,8 @@ export type ActiveObject = {
|
|
|
40
72
|
export type App = {
|
|
41
73
|
appList: AppListEntry[];
|
|
42
74
|
activeApp: ActiveApp;
|
|
75
|
+
activePage: ActivePage;
|
|
76
|
+
activeComp: ActiveComp;
|
|
43
77
|
activeObject: ActiveObject;
|
|
44
78
|
};
|
|
45
79
|
export declare function initApp(): App;
|
package/dist/state/data.d.ts
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
1
|
+
export type TableGroup = {
|
|
2
|
+
id: string;
|
|
3
|
+
name: string;
|
|
4
|
+
position: number;
|
|
5
|
+
};
|
|
1
6
|
export type Table = {
|
|
2
7
|
id: string;
|
|
3
8
|
spaceid: string;
|
|
9
|
+
groupid: string;
|
|
4
10
|
name: string;
|
|
5
11
|
columns: {
|
|
6
12
|
id: string;
|
|
@@ -18,6 +24,7 @@ export type Table = {
|
|
|
18
24
|
export type DataSpace = {
|
|
19
25
|
id: string;
|
|
20
26
|
name: string;
|
|
27
|
+
tableGroups: TableGroup[];
|
|
21
28
|
tables: Table[];
|
|
22
29
|
position: number;
|
|
23
30
|
};
|
package/dist/state/resource.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "x-state-lib",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.6",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"lodash-es": "^4.17.21",
|
|
26
26
|
"vue": "^3.5.12",
|
|
27
27
|
"vuetify": "^3.7.3",
|
|
28
|
-
"x-runtime-lib": "^0.5.
|
|
28
|
+
"x-runtime-lib": "^0.5.34"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@eslint/js": "^10.0.0",
|