x-runtime-lib 0.4.10 → 0.4.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/index.js +5 -2
- package/dist/types/element.d.ts +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -892,7 +892,8 @@ const Cs = /* @__PURE__ */ un({
|
|
|
892
892
|
events: [
|
|
893
893
|
{
|
|
894
894
|
key: "click",
|
|
895
|
-
name: "EVENT_CLICK"
|
|
895
|
+
name: "EVENT_CLICK",
|
|
896
|
+
params: []
|
|
896
897
|
}
|
|
897
898
|
],
|
|
898
899
|
methods: [],
|
|
@@ -919,7 +920,8 @@ const Cs = /* @__PURE__ */ un({
|
|
|
919
920
|
events: [
|
|
920
921
|
{
|
|
921
922
|
key: "startup",
|
|
922
|
-
name: "EVENT_STARTUP"
|
|
923
|
+
name: "EVENT_STARTUP",
|
|
924
|
+
params: []
|
|
923
925
|
},
|
|
924
926
|
{
|
|
925
927
|
key: "screenSizeChange",
|
|
@@ -5299,6 +5301,7 @@ const Zs = /* @__PURE__ */ un({
|
|
|
5299
5301
|
}, rc = {
|
|
5300
5302
|
key: "add",
|
|
5301
5303
|
name: "x-runtime-lib.add",
|
|
5304
|
+
inputs: [],
|
|
5302
5305
|
outputs: [
|
|
5303
5306
|
{
|
|
5304
5307
|
key: "newNode",
|
package/dist/types/element.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export type ZEvent = {
|
|
2
2
|
key: string;
|
|
3
3
|
name: string;
|
|
4
|
-
params
|
|
4
|
+
params: {
|
|
5
5
|
key: string;
|
|
6
6
|
name: string;
|
|
7
7
|
}[];
|
|
@@ -9,13 +9,13 @@ export type ZEvent = {
|
|
|
9
9
|
export type ZMethod = {
|
|
10
10
|
key: string;
|
|
11
11
|
name: string;
|
|
12
|
-
inputs
|
|
12
|
+
inputs: {
|
|
13
13
|
key: string;
|
|
14
14
|
name: string;
|
|
15
15
|
type?: 'string' | 'number' | 'boolean';
|
|
16
16
|
default?: unknown;
|
|
17
17
|
}[];
|
|
18
|
-
outputs
|
|
18
|
+
outputs: {
|
|
19
19
|
key: string;
|
|
20
20
|
name: string;
|
|
21
21
|
}[];
|