UNPKG

element-plus

Version:

A Component Library for Vue 3

100 lines (99 loc) 5.79 kB
declare function __VLS_template(): { "decrease-icon"?(_: {}): any; "increase-icon"?(_: {}): any; prefix?(_: {}): any; suffix?(_: {}): any; }; declare const __VLS_component: import("vue").DefineComponent<{ readonly ariaLabel: StringConstructor; readonly id: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>; readonly step: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 1, boolean>; readonly stepStrictly: BooleanConstructor; readonly max: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>; readonly min: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>; readonly modelValue: NumberConstructor; readonly readonly: BooleanConstructor; readonly disabled: BooleanConstructor; readonly size: { readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; readonly controls: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>; readonly controlsPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "right", unknown, "", boolean>; readonly valueOnClear: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor, null], unknown, unknown, null, boolean>; readonly name: StringConstructor; readonly placeholder: StringConstructor; readonly precision: { readonly type: import("vue").PropType<number>; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; readonly validateEvent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>; }, { /** @description get focus the input component */ focus: () => void; /** @description remove focus the input component */ blur: () => void; }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { "update:modelValue": (val: number | undefined) => void; change: (cur: number | undefined, prev: number | undefined) => void; input: (val: number | null | undefined) => void; blur: (e: FocusEvent) => void; focus: (e: FocusEvent) => void; }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{ readonly ariaLabel: StringConstructor; readonly id: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>; readonly step: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, 1, boolean>; readonly stepStrictly: BooleanConstructor; readonly max: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>; readonly min: import("element-plus/es/utils").EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>; readonly modelValue: NumberConstructor; readonly readonly: BooleanConstructor; readonly disabled: BooleanConstructor; readonly size: { readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", never>>; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; readonly controls: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>; readonly controlsPosition: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "right", unknown, "", boolean>; readonly valueOnClear: import("element-plus/es/utils").EpPropFinalized<readonly [StringConstructor, NumberConstructor, null], unknown, unknown, null, boolean>; readonly name: StringConstructor; readonly placeholder: StringConstructor; readonly precision: { readonly type: import("vue").PropType<number>; readonly required: false; readonly validator: ((val: unknown) => boolean) | undefined; __epPropKey: true; }; readonly validateEvent: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>; }>> & { "onUpdate:modelValue"?: ((val: number | undefined) => any) | undefined; onChange?: ((cur: number | undefined, prev: number | undefined) => any) | undefined; onFocus?: ((e: FocusEvent) => any) | undefined; onBlur?: ((e: FocusEvent) => any) | undefined; onInput?: ((val: number | null | undefined) => any) | undefined; }, { readonly disabled: boolean; readonly id: string; readonly valueOnClear: any; readonly readonly: boolean; readonly min: number; readonly max: number; readonly validateEvent: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>; readonly step: number; readonly controls: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>; readonly controlsPosition: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "right", unknown>; readonly stepStrictly: boolean; }>; declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>; export default _default; type __VLS_WithTemplateSlots<T, S> = T & { new (): { $slots: S; }; };