x-runtime-lib 0.7.36 → 0.7.38
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/types/element.d.ts +15 -13
- package/package.json +1 -1
package/dist/types/element.d.ts
CHANGED
|
@@ -161,29 +161,31 @@ export type ZMethod = {
|
|
|
161
161
|
type: Type;
|
|
162
162
|
}[];
|
|
163
163
|
};
|
|
164
|
-
export type
|
|
164
|
+
export type ZSlotProp = {
|
|
165
|
+
key: string;
|
|
166
|
+
name: string;
|
|
167
|
+
type: Type;
|
|
168
|
+
};
|
|
169
|
+
export type ZSlotMethod = {
|
|
165
170
|
key: string;
|
|
166
171
|
name: string;
|
|
167
|
-
|
|
172
|
+
inputs: {
|
|
168
173
|
key: string;
|
|
169
174
|
name: string;
|
|
170
175
|
type: Type;
|
|
171
176
|
}[];
|
|
172
|
-
|
|
177
|
+
outputs: {
|
|
173
178
|
key: string;
|
|
174
179
|
name: string;
|
|
175
|
-
|
|
176
|
-
key: string;
|
|
177
|
-
name: string;
|
|
178
|
-
type: Type;
|
|
179
|
-
}[];
|
|
180
|
-
outputs: {
|
|
181
|
-
key: string;
|
|
182
|
-
name: string;
|
|
183
|
-
type: Type;
|
|
184
|
-
}[];
|
|
180
|
+
type: Type;
|
|
185
181
|
}[];
|
|
186
182
|
};
|
|
183
|
+
export type ZSlot = {
|
|
184
|
+
key: string;
|
|
185
|
+
name: string;
|
|
186
|
+
props: ZSlotProp[];
|
|
187
|
+
methods: ZSlotMethod[];
|
|
188
|
+
};
|
|
187
189
|
export type ZElement = {
|
|
188
190
|
key: string;
|
|
189
191
|
name: string;
|