UNPKG

@pusdn/pgz-comp-elep

Version:

PGZ组件库,Vue3 中基于Element-plus二次封装基础组件文档

171 lines (170 loc) 5.79 kB
import DatePicker from "./src/index.vue"; export type TDatePickerInstance = InstanceType<typeof DatePicker>; declare const TDatePicker: ({ new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{ modelValue: { type: null; required: true; }; plusTime: { type: BooleanConstructor; required: false; default: boolean; }; type: { type: StringConstructor; required: false; default: string; }; shortcuts: { type: ArrayConstructor; required: false; }; isPickerOptions: { type: BooleanConstructor; required: false; default: boolean; }; }>> & Readonly<{ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined; onChange?: ((...args: any[]) => any) | undefined; }>, { props: any; emits: (event: "update:modelValue" | "change", ...args: any[]) => void; attrs: { [x: string]: unknown; }; slots: Readonly<{ [name: string]: import("vue").Slot<any> | undefined; }>; time: import("vue").WritableComputedRef<any, any>; DatePicker: import("vue").Ref<any, any>; attrsBind: import("vue").ComputedRef<any>; state: { dateOptions: any; }; getShortcuts: (type: string) => any; subtractDays: (date: Date, days: number) => Date; subtractMonths: (date: Date, months: number) => Date; dateChange: (val: any[]) => void; clear: () => void; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], import("vue").PublicProps, { type: string; plusTime: boolean; isPickerOptions: boolean; }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, { P: {}; B: {}; D: {}; C: {}; M: {}; Defaults: {}; }, Readonly<import("vue").ExtractPropTypes<{ modelValue: { type: null; required: true; }; plusTime: { type: BooleanConstructor; required: false; default: boolean; }; type: { type: StringConstructor; required: false; default: string; }; shortcuts: { type: ArrayConstructor; required: false; }; isPickerOptions: { type: BooleanConstructor; required: false; default: boolean; }; }>> & Readonly<{ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined; onChange?: ((...args: any[]) => any) | undefined; }>, { props: any; emits: (event: "update:modelValue" | "change", ...args: any[]) => void; attrs: { [x: string]: unknown; }; slots: Readonly<{ [name: string]: import("vue").Slot<any> | undefined; }>; time: import("vue").WritableComputedRef<any, any>; DatePicker: import("vue").Ref<any, any>; attrsBind: import("vue").ComputedRef<any>; state: { dateOptions: any; }; getShortcuts: (type: string) => any; subtractDays: (date: Date, days: number) => Date; subtractMonths: (date: Date, months: number) => Date; dateChange: (val: any[]) => void; clear: () => void; }, {}, {}, {}, { type: string; plusTime: boolean; isPickerOptions: boolean; }>; __isFragment?: undefined; __isTeleport?: undefined; __isSuspense?: undefined; } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{ modelValue: { type: null; required: true; }; plusTime: { type: BooleanConstructor; required: false; default: boolean; }; type: { type: StringConstructor; required: false; default: string; }; shortcuts: { type: ArrayConstructor; required: false; }; isPickerOptions: { type: BooleanConstructor; required: false; default: boolean; }; }>> & Readonly<{ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined; onChange?: ((...args: any[]) => any) | undefined; }>, { props: any; emits: (event: "update:modelValue" | "change", ...args: any[]) => void; attrs: { [x: string]: unknown; }; slots: Readonly<{ [name: string]: import("vue").Slot<any> | undefined; }>; time: import("vue").WritableComputedRef<any, any>; DatePicker: import("vue").Ref<any, any>; attrsBind: import("vue").ComputedRef<any>; state: { dateOptions: any; }; getShortcuts: (type: string) => any; subtractDays: (date: Date, days: number) => Date; subtractMonths: (date: Date, months: number) => Date; dateChange: (val: any[]) => void; clear: () => void; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", { type: string; plusTime: boolean; isPickerOptions: boolean; }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]>) & Record<string, any>; export default TDatePicker; export * from './src/type';