dum-ui-plus
Version:
Vue3 中基于Element-plus二次封装基础组件文档
190 lines (189 loc) • 8.36 kB
TypeScript
declare const TDatePicker: ({
new (...args: any[]): {
$: import("vue").ComponentInternalInstance;
$data: {};
$props: Partial<{
type: string;
plusTime: boolean;
isPickerOptions: boolean;
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
value: {
type: (StringConstructor | DateConstructor | ArrayConstructor)[];
};
plusTime: {
type: BooleanConstructor;
default: boolean;
};
type: {
type: StringConstructor;
default: string;
};
shortcuts: {
type: ArrayConstructor;
};
isPickerOptions: {
type: BooleanConstructor;
default: boolean;
};
}>> & {
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
onChange?: ((...args: any[]) => any) | undefined;
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "plusTime" | "isPickerOptions">;
$attrs: {
[x: string]: unknown;
};
$refs: {
[x: string]: unknown;
};
$slots: Readonly<{
[name: string]: import("vue").Slot | undefined;
}>;
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
$emit: (event: "update:modelValue" | "change", ...args: any[]) => void;
$el: any;
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
value: {
type: (StringConstructor | DateConstructor | ArrayConstructor)[];
};
plusTime: {
type: BooleanConstructor;
default: boolean;
};
type: {
type: StringConstructor;
default: string;
};
shortcuts: {
type: ArrayConstructor;
};
isPickerOptions: {
type: BooleanConstructor;
default: boolean;
};
}>> & {
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
onChange?: ((...args: any[]) => any) | undefined;
}, {
props: any;
emits: (event: "update:modelValue" | "change", ...args: any[]) => void;
$attrs: any;
slots: Readonly<{
[name: string]: import("vue").Slot | undefined;
}>;
time: any;
DatePicker: import("vue").Ref<any>;
attrsBind: import("vue").ComputedRef<any>;
state: {
dateOptions: unknown[] | undefined;
};
getShortcuts: (type: any) => any;
dateChange: (val: any[]) => void;
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], string, {
type: string;
plusTime: boolean;
isPickerOptions: boolean;
}, {}, string> & {
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
created?: ((() => void) | (() => void)[]) | undefined;
beforeMount?: ((() => void) | (() => void)[]) | undefined;
mounted?: ((() => void) | (() => void)[]) | undefined;
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
updated?: ((() => void) | (() => void)[]) | undefined;
activated?: ((() => void) | (() => void)[]) | undefined;
deactivated?: ((() => void) | (() => void)[]) | undefined;
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
destroyed?: ((() => void) | (() => void)[]) | undefined;
unmounted?: ((() => void) | (() => void)[]) | undefined;
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
};
$forceUpdate: () => void;
$nextTick: typeof import("vue").nextTick;
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
} & Readonly<import("vue").ExtractPropTypes<{
value: {
type: (StringConstructor | DateConstructor | ArrayConstructor)[];
};
plusTime: {
type: BooleanConstructor;
default: boolean;
};
type: {
type: StringConstructor;
default: string;
};
shortcuts: {
type: ArrayConstructor;
};
isPickerOptions: {
type: BooleanConstructor;
default: boolean;
};
}>> & {
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
onChange?: ((...args: any[]) => any) | undefined;
} & import("vue").ShallowUnwrapRef<{
props: any;
emits: (event: "update:modelValue" | "change", ...args: any[]) => void;
$attrs: any;
slots: Readonly<{
[name: string]: import("vue").Slot | undefined;
}>;
time: any;
DatePicker: import("vue").Ref<any>;
attrsBind: import("vue").ComputedRef<any>;
state: {
dateOptions: unknown[] | undefined;
};
getShortcuts: (type: any) => any;
dateChange: (val: any[]) => void;
}> & {} & import("vue").ComponentCustomProperties & {};
__isFragment?: undefined;
__isTeleport?: undefined;
__isSuspense?: undefined;
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
value: {
type: (StringConstructor | DateConstructor | ArrayConstructor)[];
};
plusTime: {
type: BooleanConstructor;
default: boolean;
};
type: {
type: StringConstructor;
default: string;
};
shortcuts: {
type: ArrayConstructor;
};
isPickerOptions: {
type: BooleanConstructor;
default: boolean;
};
}>> & {
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
onChange?: ((...args: any[]) => any) | undefined;
}, {
props: any;
emits: (event: "update:modelValue" | "change", ...args: any[]) => void;
$attrs: any;
slots: Readonly<{
[name: string]: import("vue").Slot | undefined;
}>;
time: any;
DatePicker: import("vue").Ref<any>;
attrsBind: import("vue").ComputedRef<any>;
state: {
dateOptions: unknown[] | undefined;
};
getShortcuts: (type: any) => any;
dateChange: (val: any[]) => void;
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", {
type: string;
plusTime: boolean;
isPickerOptions: boolean;
}, {}, string> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("@vue/runtime-core").Plugin<any[]>) & Record<string, any>;
export default TDatePicker;