@vue/runtime-core 3.2.39 → 3.2.41
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/runtime-core.cjs.js +7715 -7689
- package/dist/runtime-core.cjs.prod.js +6135 -6124
- package/dist/runtime-core.d.ts +10 -3
- package/dist/runtime-core.esm-bundler.js +7801 -7785
- package/package.json +3 -3
package/dist/runtime-core.d.ts
CHANGED
|
@@ -261,7 +261,7 @@ export declare type CompatVue = Pick<App, 'version' | 'component' | 'directive'>
|
|
|
261
261
|
|
|
262
262
|
declare interface CompiledSlotDescriptor {
|
|
263
263
|
name: string;
|
|
264
|
-
fn:
|
|
264
|
+
fn: SSRSlot;
|
|
265
265
|
key?: string;
|
|
266
266
|
}
|
|
267
267
|
|
|
@@ -607,7 +607,7 @@ export declare function createRenderer<HostNode = RendererNode, HostElement = Re
|
|
|
607
607
|
* Compiler runtime helper for creating dynamic slots object
|
|
608
608
|
* @private
|
|
609
609
|
*/
|
|
610
|
-
export declare function createSlots(slots: Record<string,
|
|
610
|
+
export declare function createSlots(slots: Record<string, SSRSlot>, dynamicSlots: (CompiledSlotDescriptor | CompiledSlotDescriptor[] | undefined)[]): Record<string, SSRSlot>;
|
|
611
611
|
|
|
612
612
|
/**
|
|
613
613
|
* @private
|
|
@@ -805,6 +805,11 @@ declare interface DevtoolsHook {
|
|
|
805
805
|
once: (event: string, handler: Function) => void;
|
|
806
806
|
off: (event: string, handler: Function) => void;
|
|
807
807
|
appRecords: AppRecord[];
|
|
808
|
+
/**
|
|
809
|
+
* Added at https://github.com/vuejs/devtools/commit/f2ad51eea789006ab66942e5a27c0f0986a257f9
|
|
810
|
+
* Returns wether the arg was buffered or not
|
|
811
|
+
*/
|
|
812
|
+
cleanupBuffer?: (matchArg: unknown) => boolean;
|
|
808
813
|
}
|
|
809
814
|
|
|
810
815
|
export declare type Directive<T = any, V = any> = ObjectDirective<T, V> | FunctionDirective<T, V>;
|
|
@@ -935,7 +940,7 @@ export declare function h(type: typeof Fragment, children?: VNodeArrayChildren):
|
|
|
935
940
|
|
|
936
941
|
export declare function h(type: typeof Fragment, props?: RawProps | null, children?: VNodeArrayChildren): VNode;
|
|
937
942
|
|
|
938
|
-
export declare function h(type: typeof Teleport, props: RawProps & TeleportProps, children: RawChildren): VNode;
|
|
943
|
+
export declare function h(type: typeof Teleport, props: RawProps & TeleportProps, children: RawChildren | RawSlots): VNode;
|
|
939
944
|
|
|
940
945
|
export declare function h(type: typeof Suspense, children?: RawChildren): VNode;
|
|
941
946
|
|
|
@@ -1667,6 +1672,8 @@ export declare const ssrContextKey: unique symbol;
|
|
|
1667
1672
|
|
|
1668
1673
|
declare type SSRDirectiveHook = (binding: DirectiveBinding, vnode: VNode) => Data | undefined;
|
|
1669
1674
|
|
|
1675
|
+
declare type SSRSlot = (...args: any[]) => VNode[] | undefined;
|
|
1676
|
+
|
|
1670
1677
|
/* Excluded from this release type: ssrUtils */
|
|
1671
1678
|
|
|
1672
1679
|
export declare const Static: unique symbol;
|