@vue/runtime-core 3.6.0-alpha.4 → 3.6.0-alpha.6
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 +2680 -2673
- package/dist/runtime-core.cjs.prod.js +2335 -2197
- package/dist/runtime-core.d.ts +4 -5
- package/dist/runtime-core.esm-bundler.js +2733 -2726
- package/package.json +3 -3
package/dist/runtime-core.d.ts
CHANGED
|
@@ -586,7 +586,7 @@ export interface SuspenseBoundary {
|
|
|
586
586
|
fallback(fallbackVNode: VNode): void;
|
|
587
587
|
move(container: RendererElement, anchor: RendererNode | null, type: MoveType): void;
|
|
588
588
|
next(): RendererNode | null;
|
|
589
|
-
registerDep(instance:
|
|
589
|
+
registerDep(instance: GenericComponentInstance, onResolve: (setupResult: unknown) => void): void;
|
|
590
590
|
unmount(parentSuspense: SuspenseBoundary | null, doRemove?: boolean): void;
|
|
591
591
|
}
|
|
592
592
|
declare function hydrateSuspense(node: Node, vnode: VNode, parentComponent: ComponentInternalInstance | null, parentSuspense: SuspenseBoundary | null, namespace: ElementNamespace, slotScopeIds: string[] | null, optimized: boolean, rendererInternals: RendererInternals, hydrateNode: (node: Node, vnode: VNode, parentComponent: ComponentInternalInstance | null, parentSuspense: SuspenseBoundary | null, slotScopeIds: string[] | null, optimized: boolean) => Node | null): Node | null;
|
|
@@ -720,7 +720,6 @@ type UnmountFn = (vnode: VNode, parentComponent: ComponentInternalInstance | nul
|
|
|
720
720
|
type RemoveFn = (vnode: VNode) => void;
|
|
721
721
|
type MountComponentFn = (initialVNode: VNode, container: RendererElement, anchor: RendererNode | null, parentComponent: ComponentInternalInstance | null, parentSuspense: SuspenseBoundary | null, namespace: ElementNamespace, optimized: boolean) => void;
|
|
722
722
|
type UnmountComponentFn = (instance: ComponentInternalInstance, parentSuspense: SuspenseBoundary | null, doRemove?: boolean) => void;
|
|
723
|
-
type SetupRenderEffectFn = (instance: ComponentInternalInstance, initialVNode: VNode, container: RendererElement, anchor: RendererNode | null, parentSuspense: SuspenseBoundary | null, namespace: ElementNamespace, optimized: boolean) => void;
|
|
724
723
|
declare enum MoveType {
|
|
725
724
|
ENTER = 0,
|
|
726
725
|
LEAVE = 1,
|
|
@@ -994,7 +993,7 @@ export type ComponentOptionsWithoutProps<Props = {}, RawBindings = {}, D = {}, C
|
|
|
994
993
|
* @private for language-tools use only
|
|
995
994
|
*/
|
|
996
995
|
__typeEmits?: TE;
|
|
997
|
-
} & ThisType<CreateComponentPublicInstanceWithMixins<PE, RawBindings, D, C, M, Mixin, Extends, ResolvedEmits, EE, {}, false, I, S, LC, Directives,
|
|
996
|
+
} & ThisType<CreateComponentPublicInstanceWithMixins<PE, RawBindings, D, C, M, Mixin, Extends, ResolvedEmits, EE, {}, false, I, S, LC, Directives, string>>;
|
|
998
997
|
/**
|
|
999
998
|
* @deprecated
|
|
1000
999
|
*/
|
|
@@ -1002,7 +1001,7 @@ export type ComponentOptionsWithArrayProps<PropNames extends string = string, Ra
|
|
|
1002
1001
|
[key in PropNames]?: any;
|
|
1003
1002
|
} & EmitsToProps<E>>>> = ComponentOptionsBase<Props, RawBindings, D, C, M, Mixin, Extends, E, EE, {}, I, II, S, LC, Directives, Exposed, Provide> & {
|
|
1004
1003
|
props: PropNames[];
|
|
1005
|
-
} & ThisType<CreateComponentPublicInstanceWithMixins<Props, RawBindings, D, C, M, Mixin, Extends, E, Props, {}, false, I, S, LC, Directives,
|
|
1004
|
+
} & ThisType<CreateComponentPublicInstanceWithMixins<Props, RawBindings, D, C, M, Mixin, Extends, E, Props, {}, false, I, S, LC, Directives, string>>;
|
|
1006
1005
|
/**
|
|
1007
1006
|
* @deprecated
|
|
1008
1007
|
*/
|
|
@@ -1060,7 +1059,7 @@ export declare function defineComponent<TypeProps, RuntimePropsOptions extends C
|
|
|
1060
1059
|
*/
|
|
1061
1060
|
__typeEl?: TypeEl;
|
|
1062
1061
|
} & ComponentOptionsBase<ToResolvedProps<InferredProps, ResolvedEmits>, SetupBindings, Data, Computed, Methods, Mixin, Extends, RuntimeEmitsOptions, RuntimeEmitsKeys, {}, // Defaults
|
|
1063
|
-
InjectOptions, InjectKeys, Slots, LocalComponents, Directives, Exposed, Provide> & ThisType<CreateComponentPublicInstanceWithMixins<ToResolvedProps<InferredProps, ResolvedEmits>, SetupBindings, Data, Computed, Methods, Mixin, Extends, ResolvedEmits, {}, {}, false, InjectOptions, Slots, LocalComponents, Directives,
|
|
1062
|
+
InjectOptions, InjectKeys, Slots, LocalComponents, Directives, Exposed, Provide> & ThisType<CreateComponentPublicInstanceWithMixins<ToResolvedProps<InferredProps, ResolvedEmits>, SetupBindings, Data, Computed, Methods, Mixin, Extends, ResolvedEmits, {}, {}, false, InjectOptions, Slots, LocalComponents, Directives, string>>): DefineComponent<InferredProps, SetupBindings, Data, Computed, Methods, Mixin, Extends, ResolvedEmits, RuntimeEmitsKeys, PublicProps, ToResolvedProps<InferredProps, ResolvedEmits>, ExtractDefaultPropTypes<RuntimePropsOptions>, Slots, LocalComponents, Directives, Exposed, Provide, unknown extends TypeProps ? true : false, TypeRefs, TypeEl>;
|
|
1064
1063
|
|
|
1065
1064
|
export interface App<HostElement = any> {
|
|
1066
1065
|
vapor?: boolean;
|