UNPKG

@squirrel-cloud/ui-vue

Version:

松鼠的坚果屋前端VUE框架

151 lines (150 loc) 7.88 kB
import { SelectProps } from '../../props'; import { SelectItem } from '../../typings'; type __VLS_Props = SelectProps; type __VLS_PublicProps = { 'value'?: string | number; } & __VLS_Props; declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { clear: () => any; select: (value: any) => any; blur: (e: FocusEvent) => any; focus: (e: FocusEvent) => any; "update:value": (value: string | number) => any; }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{ onClear?: (() => any) | undefined; onSelect?: ((value: any) => any) | undefined; onBlur?: ((e: FocusEvent) => any) | undefined; onFocus?: ((e: FocusEvent) => any) | undefined; "onUpdate:value"?: ((value: string | number) => any) | undefined; }>, { round: boolean; disabled: boolean; items: string[] | SelectItem[]; emptyText: string; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, { inputRef: ({ $: import('vue').ComponentInternalInstance; $data: {}; $props: { readonly value?: string | undefined; readonly status?: import('../../../typings').ComponentWarnType | undefined; readonly round?: boolean | undefined; readonly prefixIcon?: import('vue').Component | undefined; readonly suffixIcon?: import('vue').Component | undefined; readonly disabled?: boolean | undefined; readonly readonly?: boolean | undefined; readonly clearable?: boolean | undefined; readonly placeholder?: string | undefined; readonly maxlength?: number | string | undefined; readonly minlength?: number | string | undefined; readonly autocomplete?: string | undefined; readonly name?: string | undefined; readonly form?: string | undefined; readonly loading?: boolean | undefined; readonly inputmode?: import('../../../typings').InputMode | undefined; readonly autofocus?: boolean | undefined; readonly type?: import('../../../typings').InputType | undefined; readonly size?: import('../../../typings').ComponentSize | undefined; readonly resize?: import('../../../typings').TextareaResizeType | undefined; readonly rows?: number | string | undefined; readonly cols?: number | string | undefined; readonly onClear?: (() => any) | undefined; readonly onInput?: ((e: Event) => any) | undefined; readonly onBlur?: ((e: FocusEvent) => any) | undefined; readonly onChange?: ((e: Event) => any) | undefined; readonly onFocus?: ((e: FocusEvent) => any) | undefined; readonly "onUpdate:value"?: ((value: string) => any) | undefined; } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps; $attrs: { [x: string]: unknown; }; $refs: { [x: string]: unknown; } & { inputRef: HTMLTextAreaElement; }; $slots: Readonly<{ [name: string]: import('vue').Slot<any> | undefined; }>; $root: import('vue').ComponentPublicInstance | null; $parent: import('vue').ComponentPublicInstance | null; $host: Element | null; $emit: ((event: "clear") => void) & ((event: "input", e: Event) => void) & ((event: "blur", e: FocusEvent) => void) & ((event: "change", e: Event) => void) & ((event: "focus", e: FocusEvent) => void) & ((event: "update:value", value: string) => void); $el: HTMLDivElement; $options: import('vue').ComponentOptionsBase<Readonly<{ value?: string; } & import('../../props').InputProps> & Readonly<{ onClear?: (() => any) | undefined; onInput?: ((e: Event) => any) | undefined; onBlur?: ((e: FocusEvent) => any) | undefined; onChange?: ((e: Event) => any) | undefined; onFocus?: ((e: FocusEvent) => any) | undefined; "onUpdate:value"?: ((value: string) => any) | undefined; }>, { focus: () => void; blur: () => void; }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { clear: () => any; input: (e: Event) => any; blur: (e: FocusEvent) => any; change: (e: Event) => any; focus: (e: FocusEvent) => any; "update:value": (value: string) => any; }, string, { type: import('../../../typings').InputType; round: boolean; disabled: boolean; resize: import('../../../typings').TextareaResizeType; rows: number | string; readonly: boolean; autocomplete: string; cols: number | string; }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & { beforeCreate?: (() => void) | (() => void)[]; created?: (() => void) | (() => void)[]; beforeMount?: (() => void) | (() => void)[]; mounted?: (() => void) | (() => void)[]; beforeUpdate?: (() => void) | (() => void)[]; updated?: (() => void) | (() => void)[]; activated?: (() => void) | (() => void)[]; deactivated?: (() => void) | (() => void)[]; beforeDestroy?: (() => void) | (() => void)[]; beforeUnmount?: (() => void) | (() => void)[]; destroyed?: (() => void) | (() => void)[]; unmounted?: (() => void) | (() => void)[]; renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]; renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]; errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[]; }; $forceUpdate: () => void; $nextTick: typeof import('vue').nextTick; $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle; } & Readonly<{ type: import('../../../typings').InputType; round: boolean; disabled: boolean; resize: import('../../../typings').TextareaResizeType; rows: number | string; readonly: boolean; autocomplete: string; cols: number | string; }> & Omit<Readonly<{ value?: string; } & import('../../props').InputProps> & Readonly<{ onClear?: (() => any) | undefined; onInput?: ((e: Event) => any) | undefined; onBlur?: ((e: FocusEvent) => any) | undefined; onChange?: ((e: Event) => any) | undefined; onFocus?: ((e: FocusEvent) => any) | undefined; "onUpdate:value"?: ((value: string) => any) | undefined; }>, "blur" | "focus" | ("type" | "round" | "disabled" | "resize" | "rows" | "readonly" | "autocomplete" | "cols")> & import('vue').ShallowUnwrapRef<{ focus: () => void; blur: () => void; }> & {} & import('vue').ComponentCustomProperties & {} & { $slots: { prefix?(_: {}): any; suffix?(_: {}): any; }; }) | null; }, any>; export default _default;