@vue/runtime-core 3.5.44 → 3.5.45
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 +287 -96
- package/dist/runtime-core.cjs.prod.js +265 -92
- package/dist/runtime-core.d.ts +14 -3
- package/dist/runtime-core.esm-bundler.js +289 -98
- package/package.json +3 -3
package/dist/runtime-core.d.ts
CHANGED
|
@@ -42,7 +42,17 @@ declare enum SchedulerJobFlags {
|
|
|
42
42
|
* stabilizes (#1727).
|
|
43
43
|
*/
|
|
44
44
|
ALLOW_RECURSE = 4,
|
|
45
|
-
DISPOSED = 8
|
|
45
|
+
DISPOSED = 8,
|
|
46
|
+
/**
|
|
47
|
+
* A post job buffered by a suspense boundary is queued, not dropped, when
|
|
48
|
+
* the pending branch is discarded.
|
|
49
|
+
*/
|
|
50
|
+
REQUEUE_ON_SUSPENSE_DISCARD = 16,
|
|
51
|
+
/**
|
|
52
|
+
* A post job buffered by a suspense boundary is queued as soon as that
|
|
53
|
+
* boundary resolves.
|
|
54
|
+
*/
|
|
55
|
+
FLUSH_ON_SUSPENSE_RESOLVE = 32
|
|
46
56
|
}
|
|
47
57
|
interface SchedulerJob extends Function {
|
|
48
58
|
id?: number;
|
|
@@ -583,6 +593,7 @@ export interface SuspenseBoundary {
|
|
|
583
593
|
deps: number;
|
|
584
594
|
pendingId: number;
|
|
585
595
|
timeout: number;
|
|
596
|
+
timeoutTimer: ReturnType<typeof setTimeout> | undefined;
|
|
586
597
|
isInFallback: boolean;
|
|
587
598
|
isHydrating: boolean;
|
|
588
599
|
isUnmounted: boolean;
|
|
@@ -646,7 +657,7 @@ export declare const BaseTransition: {
|
|
|
646
657
|
};
|
|
647
658
|
};
|
|
648
659
|
};
|
|
649
|
-
export declare function resolveTransitionHooks(vnode: VNode, props: BaseTransitionProps<any>, state: TransitionState, instance: ComponentInternalInstance
|
|
660
|
+
export declare function resolveTransitionHooks(vnode: VNode, props: BaseTransitionProps<any>, state: TransitionState, instance: ComponentInternalInstance): TransitionHooks;
|
|
650
661
|
export declare function setTransitionHooks(vnode: VNode, hooks: TransitionHooks): void;
|
|
651
662
|
export declare function getTransitionRawChildren(children: VNode[], keepComment?: boolean, parentKey?: VNode['key']): VNode[];
|
|
652
663
|
|
|
@@ -1627,7 +1638,7 @@ export declare enum ErrorCodes {
|
|
|
1627
1638
|
type ErrorTypes = LifecycleHooks | ErrorCodes | WatchErrorCodes;
|
|
1628
1639
|
export declare function callWithErrorHandling(fn: Function, instance: ComponentInternalInstance | null | undefined, type: ErrorTypes, args?: unknown[]): any;
|
|
1629
1640
|
export declare function callWithAsyncErrorHandling(fn: Function | Function[], instance: ComponentInternalInstance | null, type: ErrorTypes, args?: unknown[]): any;
|
|
1630
|
-
export declare function handleError(err: unknown, instance: ComponentInternalInstance | null | undefined, type: ErrorTypes, throwInDev?: boolean): void;
|
|
1641
|
+
export declare function handleError(err: unknown, instance: ComponentInternalInstance | null | undefined, type: ErrorTypes, throwInDev?: boolean, isAsyncError?: boolean): void;
|
|
1631
1642
|
|
|
1632
1643
|
export declare function initCustomFormatter(): void;
|
|
1633
1644
|
|