x-runtime-lib 0.9.17 → 0.9.18
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 +2349 -2278
- package/dist/utils/render.d.ts +6 -1
- package/package.json +1 -1
package/dist/utils/render.d.ts
CHANGED
|
@@ -3,6 +3,11 @@ export declare function isRenderSwitch(key: string): boolean;
|
|
|
3
3
|
export declare function isRenderGroup(key: string): boolean;
|
|
4
4
|
export declare function hasSlot(key: string): boolean;
|
|
5
5
|
export declare function hasComp(key: string): boolean;
|
|
6
|
-
export declare function
|
|
6
|
+
export declare function toRenderGroups(children: NodeLite[], renderNode: (n: NodeLite, ...params: any[]) => any, ...params: any[]): {
|
|
7
|
+
[key: string]: any[];
|
|
8
|
+
};
|
|
9
|
+
export declare function toRenderSlots(groups: {
|
|
10
|
+
[key: string]: any[];
|
|
11
|
+
}): {
|
|
7
12
|
[key: string]: any;
|
|
8
13
|
};
|