@vue/runtime-core 3.6.0-rc.11 → 3.6.0-rc.13
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 +224 -79
- package/dist/runtime-core.cjs.prod.js +230 -78
- package/dist/runtime-core.d.ts +16 -1
- package/dist/runtime-core.esm-bundler.js +210 -86
- package/package.json +3 -3
package/dist/runtime-core.d.ts
CHANGED
|
@@ -56,8 +56,9 @@ export interface SchedulerJob extends Function {
|
|
|
56
56
|
/**
|
|
57
57
|
* Attached by renderer.ts when setting up a component's render effect
|
|
58
58
|
* Used to obtain component information when reporting max recursive updates.
|
|
59
|
+
* Also set on watcher jobs: null marks a watcher without an owner component.
|
|
59
60
|
*/
|
|
60
|
-
i?: GenericComponentInstance;
|
|
61
|
+
i?: GenericComponentInstance | null;
|
|
61
62
|
}
|
|
62
63
|
type SchedulerJobs = SchedulerJob | SchedulerJob[];
|
|
63
64
|
export declare function nextTick(): Promise<void>;
|
|
@@ -515,6 +516,8 @@ export interface SuspenseProps {
|
|
|
515
516
|
*/
|
|
516
517
|
suspensible?: boolean;
|
|
517
518
|
}
|
|
519
|
+
export declare let isSuspenseEnabled: boolean;
|
|
520
|
+
export declare function withSuspenseEnabled<T>(value: T): T;
|
|
518
521
|
declare const SuspenseImpl: {
|
|
519
522
|
name: string;
|
|
520
523
|
__isSuspense: boolean;
|
|
@@ -611,6 +614,8 @@ export interface TransitionElement {
|
|
|
611
614
|
}
|
|
612
615
|
export declare function useTransitionState(): TransitionState;
|
|
613
616
|
export declare const BaseTransitionPropsValidators: Record<string, any>;
|
|
617
|
+
export declare let isTransitionEnabled: boolean;
|
|
618
|
+
export declare function withTransitionEnabled<T>(value: T): T;
|
|
614
619
|
export declare const BaseTransition: {
|
|
615
620
|
new (): {
|
|
616
621
|
$props: BaseTransitionProps<any>;
|
|
@@ -724,6 +729,8 @@ export interface KeepAliveContext extends ComponentRenderContext {
|
|
|
724
729
|
getCachedComponent: (vnode: VNode) => VNode;
|
|
725
730
|
getStorageContainer: () => RendererElement;
|
|
726
731
|
}
|
|
732
|
+
export declare let isKeepAliveEnabled: boolean;
|
|
733
|
+
export declare function withKeepAliveEnabled<T>(value: T): T;
|
|
727
734
|
export declare const KeepAlive: {
|
|
728
735
|
__isKeepAlive: true;
|
|
729
736
|
new (): {
|
|
@@ -1793,6 +1800,14 @@ export declare function createSlots(slots: Record<string, SSRSlot>, dynamicSlots
|
|
|
1793
1800
|
export declare function withMemo(memo: any[], render: () => VNode<any, any>, cache: any[], index: number): VNode<any, any>;
|
|
1794
1801
|
export declare function isMemoSame(cached: VNode, memo: any[]): boolean;
|
|
1795
1802
|
//#endregion
|
|
1803
|
+
//#region temp/packages/runtime-core/src/vaporInteropState.d.ts
|
|
1804
|
+
/**
|
|
1805
|
+
* Set by `vaporInteropPlugin`. Stays false in apps that never import the
|
|
1806
|
+
* plugin, so bundlers drop the vapor-in-vdom branches of the renderer.
|
|
1807
|
+
*/
|
|
1808
|
+
export declare let isVaporInteropEnabled: boolean;
|
|
1809
|
+
export declare function setVaporInteropEnabled(): void;
|
|
1810
|
+
//#endregion
|
|
1796
1811
|
//#region temp/packages/runtime-core/src/compat/globalConfig.d.ts
|
|
1797
1812
|
export type LegacyConfig = {
|
|
1798
1813
|
/**
|