x-runtime-lib 0.9.16 → 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.
@@ -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 toRenderSlots(children: NodeLite[], renderNode: (n: NodeLite, ...params: any[]) => any, ...params: any[]): {
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
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "x-runtime-lib",
3
3
  "private": false,
4
- "version": "0.9.16",
4
+ "version": "0.9.18",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
@@ -1,15 +0,0 @@
1
- import { RefContext } from '@/types';
2
- type __VLS_Props = {
3
- refContext: RefContext;
4
- };
5
- type __VLS_ModelProps = {
6
- 'open': boolean;
7
- };
8
- type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
9
- declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
- "update:open": (value: boolean) => any;
11
- }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
12
- "onUpdate:open"?: ((value: boolean) => any) | undefined;
13
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
- declare const _default: typeof __VLS_export;
15
- export default _default;
@@ -1,15 +0,0 @@
1
- import { RefContext } from '@/types';
2
- type __VLS_Props = {
3
- refContext: RefContext;
4
- };
5
- type __VLS_ModelProps = {
6
- 'open': boolean;
7
- };
8
- type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
9
- declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
- "update:open": (value: boolean) => any;
11
- }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
12
- "onUpdate:open"?: ((value: boolean) => any) | undefined;
13
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
- declare const _default: typeof __VLS_export;
15
- export default _default;
@@ -1,15 +0,0 @@
1
- import { RefContext } from '@/types';
2
- type __VLS_Props = {
3
- refContext: RefContext;
4
- };
5
- type __VLS_ModelProps = {
6
- 'open'?: boolean;
7
- };
8
- type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
9
- declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
- "update:open": (value: boolean | undefined) => any;
11
- }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
12
- "onUpdate:open"?: ((value: boolean | undefined) => any) | undefined;
13
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
- declare const _default: typeof __VLS_export;
15
- export default _default;