UNPKG

ant-design-vue

Version:

An enterprise-class UI design language and Vue-based implementation

50 lines (49 loc) 1.96 kB
import { LabelValueType, RawValueType, CustomTagProps } from '../interface/generator'; import { RenderNode } from '../interface'; import { InnerSelectorProps } from '.'; import { VNodeChild } from 'vue'; interface SelectorProps extends InnerSelectorProps { removeIcon?: RenderNode; maxTagCount?: number; maxTagTextLength?: number; maxTagPlaceholder?: VNodeChild; tokenSeparators?: string[]; tagRender?: (props: CustomTagProps) => VNodeChild; choiceTransitionName?: string; onSelect: (value: RawValueType, option: { selected: boolean; }) => void; } declare const SelectSelector: import("vue").DefineComponent<SelectorProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<{} & { values?: LabelValueType[]; onSelect?: (value: RawValueType, option: { selected: boolean; }) => void; prefixCls?: string; open?: boolean; disabled?: boolean; mode?: import("../interface").Mode; id?: string; searchValue?: string; autofocus?: boolean; autocomplete?: string; accessibilityIndex?: number; tabindex?: number; inputRef?: import("../../_util/createRef").RefObject; removeIcon?: RenderNode; maxTagCount?: number; maxTagTextLength?: number; maxTagPlaceholder?: VNodeChild; tokenSeparators?: string[]; tagRender?: (props: CustomTagProps) => VNodeChild; choiceTransitionName?: string; placeholder?: VNodeChild; showSearch?: boolean; onInputKeyDown?: EventHandlerNonNull; onInputMouseDown?: EventHandlerNonNull; onInputChange?: EventHandlerNonNull; onInputPaste?: EventHandlerNonNull; onInputCompositionStart?: EventHandlerNonNull; onInputCompositionEnd?: EventHandlerNonNull; }>, {}>; export default SelectSelector;