chore:更换到主分支

This commit is contained in:
张益铭
2021-03-01 15:26:05 +08:00
parent 9064b372e8
commit 6a5f1810f9
3530 changed files with 59613 additions and 479452 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -55,7 +55,7 @@ export declare interface App<HostElement = any> {
directive(name: string): Directive | undefined;
directive(name: string, directive: Directive): this;
mount(rootContainer: HostElement | string, isHydrate?: boolean): ComponentPublicInstance;
unmount(rootContainer: HostElement | string): void;
unmount(): void;
provide<T>(key: InjectionKey<T> | string, value: T): this;
_uid: number;
_component: ConcreteComponent;
@@ -244,6 +244,7 @@ export declare interface ComponentInternalInstance {
*/
update: ReactiveEffect;
/* Excluded from this release type: render */
/* Excluded from this release type: ssrRender */
/* Excluded from this release type: provides */
/* Excluded from this release type: effects */
/* Excluded from this release type: accessCache */
@@ -253,6 +254,7 @@ export declare interface ComponentInternalInstance {
/* Excluded from this release type: propsOptions */
/* Excluded from this release type: emitsOptions */
proxy: ComponentPublicInstance | null;
exposed: Record<string, any> | null;
/* Excluded from this release type: withProxy */
/* Excluded from this release type: ctx */
data: Data;
@@ -306,7 +308,7 @@ export declare type ComponentObjectPropsOptions<P = Data> = {
export declare type ComponentOptions<Props = {}, RawBindings = any, D = any, C extends ComputedOptions = any, M extends MethodOptions = any, Mixin extends ComponentOptionsMixin = any, Extends extends ComponentOptionsMixin = any, E extends EmitsOptions = any> = ComponentOptionsBase<Props, RawBindings, D, C, M, Mixin, Extends, E> & ThisType<CreateComponentPublicInstance<{}, RawBindings, D, C, M, Mixin, Extends, E, Readonly<Props>>>;
export declare interface ComponentOptionsBase<Props, RawBindings, D, C extends ComputedOptions, M extends MethodOptions, Mixin extends ComponentOptionsMixin, Extends extends ComponentOptionsMixin, E extends EmitsOptions, EE extends string = string, Defaults = {}> extends LegacyOptions<Props, D, C, M, Mixin, Extends>, ComponentInternalOptions, ComponentCustomOptions {
setup?: (this: void, props: Props, ctx: SetupContext<E>) => Promise<RawBindings> | RawBindings | RenderFunction | void;
setup?: (this: void, props: Props & UnionToIntersection<ExtractOptionProp<Mixin>> & UnionToIntersection<ExtractOptionProp<Extends>>, ctx: SetupContext<E>) => Promise<RawBindings> | RawBindings | RenderFunction | void;
name?: string;
template?: string | object;
render?: Function;
@@ -314,8 +316,10 @@ export declare interface ComponentOptionsBase<Props, RawBindings, D, C extends C
directives?: Record<string, Directive>;
inheritAttrs?: boolean;
emits?: (E | EE[]) & ThisType<void>;
expose?: string[];
serverPrefetch?(): Promise<any>;
/* Excluded from this release type: ssrRender */
/* Excluded from this release type: __ssrInlineRender */
/* Excluded from this release type: __asyncLoader */
/* Excluded from this release type: __merged */
call?: (this: unknown, ...args: unknown[]) => never;
@@ -420,7 +424,7 @@ declare type CreateComponentPublicInstance<P = {}, B = {}, D = {}, C extends Com
export declare function createHydrationRenderer(options: RendererOptions<Node, Element>): HydrationRenderer;
declare function createRecord(id: string): boolean;
declare function createRecord(id: string, component: ComponentOptions | ClassComponent): boolean;
/**
* The createRenderer function accepts two generic arguments:
@@ -497,6 +501,19 @@ export declare function defineComponent<PropNames extends string, RawBindings, D
export declare function defineComponent<PropsOptions extends Readonly<ComponentPropsOptions>, RawBindings, D, C extends ComputedOptions = {}, M extends MethodOptions = {}, Mixin extends ComponentOptionsMixin = ComponentOptionsMixin, Extends extends ComponentOptionsMixin = ComponentOptionsMixin, E extends EmitsOptions = Record<string, any>, EE extends string = string>(options: ComponentOptionsWithObjectProps<PropsOptions, RawBindings, D, C, M, Mixin, Extends, E, EE>): DefineComponent<PropsOptions, RawBindings, D, C, M, Mixin, Extends, E, EE>;
export declare function defineEmit<TypeEmit = undefined, E extends EmitsOptions = EmitsOptions, EE extends string = string, InferredEmit = EmitFn<E>>(emitOptions?: E | EE[]): TypeEmit extends undefined ? InferredEmit : TypeEmit;
/**
* Compile-time-only helper used for declaring props inside `<script setup>`.
* This is stripped away in the compiled code and should never be actually
* called at runtime.
*/
export declare function defineProps<TypeProps = undefined, PropNames extends string = string, InferredProps = {
[key in PropNames]?: any;
}>(props?: PropNames[]): Readonly<TypeProps extends undefined ? InferredProps : TypeProps>;
export declare function defineProps<TypeProps = undefined, PP extends ComponentObjectPropsOptions = ComponentObjectPropsOptions, InferredProps = ExtractPropTypes<PP>>(props?: PP): Readonly<TypeProps extends undefined ? InferredProps : TypeProps>;
export declare let devtools: DevtoolsHook;
declare interface DevtoolsHook {
@@ -568,6 +585,8 @@ declare type ExtractMixin<T> = {
Mixin: MixinToOptionTypes<T>;
}[T extends ComponentOptionsMixin ? 'Mixin' : never];
declare type ExtractOptionProp<T> = T extends ComponentOptionsBase<infer P, any, any, any, any, any, any, any> ? unknown extends P ? {} : P : {};
export declare type ExtractPropTypes<O> = O extends object ? {
[K in RequiredKeys<O>]: InferPropType<O[K]>;
} & {
@@ -584,7 +603,7 @@ export declare const Fragment: {
};
export declare interface FunctionalComponent<P = {}, E extends EmitsOptions = {}> extends ComponentInternalOptions {
(props: P, ctx: SetupContext<E>): any;
(props: P, ctx: Omit<SetupContext<E>, 'expose'>): any;
props?: ComponentPropsOptions<P>;
emits?: E | (keyof E)[];
inheritAttrs?: boolean;
@@ -653,7 +672,9 @@ declare type InferPropType<T> = T extends null ? any : T extends {
type: ObjectConstructor;
} ? Record<string, any> : T extends BooleanConstructor | {
type: BooleanConstructor;
} ? boolean : T extends Prop<infer V, infer D> ? (unknown extends V ? D : V) : T;
} ? boolean : T extends DateConstructor | {
type: DateConstructor;
} ? Date : T extends Prop<infer V, infer D> ? (unknown extends V ? D : V) : T;
export declare function initCustomFormatter(): void;
@@ -699,7 +720,7 @@ export declare interface KeepAliveProps {
declare interface LegacyOptions<Props, D, C extends ComputedOptions, M extends MethodOptions, Mixin extends ComponentOptionsMixin, Extends extends ComponentOptionsMixin> {
[key: string]: any;
data?: (this: CreateComponentPublicInstance<Props>, vm: CreateComponentPublicInstance<Props>) => D;
data?: (this: CreateComponentPublicInstance<Props, {}, {}, {}, MethodOptions, Mixin, Extends>, vm: CreateComponentPublicInstance<Props, {}, {}, {}, MethodOptions, Mixin, Extends>) => D;
computed?: C;
methods?: M;
watch?: ComponentWatchOptions;
@@ -774,6 +795,8 @@ declare const enum MoveType {
REORDER = 2
}
declare type MultiWatchSources = (WatchSource<unknown> | object)[];
declare type NextFn = (vnode: VNode) => RendererNode | null;
export declare function nextTick(this: ComponentPublicInstance | void, fn?: () => void): Promise<void>;
@@ -903,7 +926,7 @@ declare interface PropOptions<T = any, D = T> {
export declare type PropType<T> = PropConstructor<T> | PropConstructor<T>[];
export declare function provide<T>(key: InjectionKey<T> | string, value: T): void;
export declare function provide<T>(key: InjectionKey<T> | string | number, value: T): void;
export { proxyRefs }
declare type PublicProps = VNodeProps & AllowedComponentProps & ComponentCustomProps;
@@ -1093,6 +1116,7 @@ export declare interface SetupContext<E = EmitsOptions> {
attrs: Data;
slots: Slots;
emit: EmitFn<E>;
expose: (exposed: Record<string, any>) => void;
}
declare type SetupRenderEffectFn = (instance: ComponentInternalInstance, initialVNode: VNode, container: RendererElement, anchor: RendererNode | null, parentSuspense: SuspenseBoundary | null, isSVG: boolean, optimized: boolean) => void;
@@ -1242,6 +1266,8 @@ export { unref }
declare type UnwrapMixinsType<T, Type extends OptionTypesKeys> = T extends OptionTypesType ? T[Type] : never;
export { UnwrapRef }
export declare function useContext(): SetupContext;
export declare const useSSRContext: <T = Record<string, any>>() => T | undefined;
export declare function useTransitionState(): TransitionState;
@@ -1315,7 +1341,9 @@ declare type VNodeUpdateHook = (vnode: VNode, oldVNode: VNode) => void;
export declare function warn(msg: string, ...args: any[]): void;
export declare function watch<T extends Readonly<Array<WatchSource<unknown> | object>>, Immediate extends Readonly<boolean> = false>(sources: T, cb: WatchCallback<MapSources<T, false>, MapSources<T, Immediate>>, options?: WatchOptions<Immediate>): WatchStopHandle;
export declare function watch<T extends MultiWatchSources, Immediate extends Readonly<boolean> = false>(sources: [...T], cb: WatchCallback<MapSources<T, false>, MapSources<T, Immediate>>, options?: WatchOptions<Immediate>): WatchStopHandle;
export declare function watch<T extends Readonly<MultiWatchSources>, Immediate extends Readonly<boolean> = false>(source: T, cb: WatchCallback<MapSources<T, false>, MapSources<T, Immediate>>, options?: WatchOptions<Immediate>): WatchStopHandle;
export declare function watch<T, Immediate extends Readonly<boolean> = false>(source: WatchSource<T>, cb: WatchCallback<T, Immediate extends true ? (T | undefined) : T>, options?: WatchOptions<Immediate>): WatchStopHandle;

File diff suppressed because it is too large Load Diff

View File

@@ -1,33 +1,32 @@
{
"_args": [
[
"@vue/runtime-core@3.0.2",
"@vue/runtime-core@3.0.6",
"J:\\Github\\CURD-TS"
]
],
"_development": true,
"_from": "@vue/runtime-core@3.0.2",
"_id": "@vue/runtime-core@3.0.2",
"_from": "@vue/runtime-core@3.0.6",
"_id": "@vue/runtime-core@3.0.6",
"_inBundle": false,
"_integrity": "sha1-1+1GKvHLC/mDZmjk5vqz8vSxvAA=",
"_integrity": "sha1-0Wd5tWZFk/HSW+Z3+xsZaAJKpTI=",
"_location": "/@vue/runtime-core",
"_phantomChildren": {},
"_requested": {
"type": "version",
"registry": true,
"raw": "@vue/runtime-core@3.0.2",
"raw": "@vue/runtime-core@3.0.6",
"name": "@vue/runtime-core",
"escapedName": "@vue%2fruntime-core",
"scope": "@vue",
"rawSpec": "3.0.2",
"rawSpec": "3.0.6",
"saveSpec": null,
"fetchSpec": "3.0.2"
"fetchSpec": "3.0.6"
},
"_requiredBy": [
"/@vue/runtime-dom"
],
"_resolved": "http://192.168.250.101:4873/@vue%2fruntime-core/-/runtime-core-3.0.2.tgz",
"_spec": "3.0.2",
"_resolved": "http://192.168.250.101:4873/@vue%2fruntime-core/-/runtime-core-3.0.6.tgz",
"_spec": "3.0.6",
"_where": "J:\\Github\\CURD-TS",
"author": {
"name": "Evan You"
@@ -43,8 +42,8 @@
]
},
"dependencies": {
"@vue/reactivity": "3.0.2",
"@vue/shared": "3.0.2"
"@vue/reactivity": "3.0.6",
"@vue/shared": "3.0.6"
},
"description": "@vue/runtime-core",
"files": [
@@ -66,5 +65,5 @@
},
"sideEffects": false,
"types": "dist/runtime-core.d.ts",
"version": "3.0.2"
"version": "3.0.6"
}