x-runtime-lib 0.1.12 → 0.2.1
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.
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
};
|
|
1
|
+
import { ZPkgs } from '../types';
|
|
2
|
+
export declare const pkgs: ZPkgs;
|
package/dist/element/index.d.ts
CHANGED
package/dist/element/types.d.ts
CHANGED
|
@@ -35,6 +35,9 @@ export type ZProp = {
|
|
|
35
35
|
static?: boolean;
|
|
36
36
|
value?: unknown;
|
|
37
37
|
};
|
|
38
|
+
export type ZProps = {
|
|
39
|
+
[key: string]: ZProp[];
|
|
40
|
+
};
|
|
38
41
|
export type ZElement = {
|
|
39
42
|
key: string;
|
|
40
43
|
name: string;
|
|
@@ -42,9 +45,11 @@ export type ZElement = {
|
|
|
42
45
|
leaf: boolean;
|
|
43
46
|
events: ZEvent[];
|
|
44
47
|
methods: ZMethod[];
|
|
45
|
-
props:
|
|
46
|
-
|
|
47
|
-
|
|
48
|
+
props: ZProps;
|
|
49
|
+
internal?: boolean;
|
|
50
|
+
};
|
|
51
|
+
export type ZElements = {
|
|
52
|
+
[key: string]: ZElement;
|
|
48
53
|
};
|
|
49
54
|
export type ZGroup = {
|
|
50
55
|
key: string;
|
|
@@ -57,3 +62,6 @@ export type ZPkg = {
|
|
|
57
62
|
refKey: string;
|
|
58
63
|
groups: ZGroup[];
|
|
59
64
|
};
|
|
65
|
+
export type ZPkgs = {
|
|
66
|
+
[key: string]: ZPkg;
|
|
67
|
+
};
|