UNPKG

tdesign-vue-next

Version:
22 lines (21 loc) 970 B
import { InjectionKey, ComputedRef } from 'vue'; import { TdSelectProps, TdOptionProps, SelectValue } from '../type'; export declare const selectInjectKey: InjectionKey<ComputedRef<{ hoverIndex: number; selectValue: TdSelectProps['value']; size: TdSelectProps['size']; max: TdSelectProps['max']; reserveKeyword: TdSelectProps['reserveKeyword']; multiple: TdSelectProps['multiple']; handleValueChange: TdSelectProps['onChange']; handleCreate: TdSelectProps['onCreate']; handlerInputChange: TdSelectProps['onInputChange']; handlePopupVisibleChange: TdSelectProps['onPopupVisibleChange']; popupContentRef: ComputedRef<HTMLElement>; indeterminate: boolean; isCheckAll: boolean; onCheckAllChange: (checked: boolean) => void; getSelectedOptions: (selectValue?: SelectValue[] | SelectValue) => TdOptionProps[]; displayOptions: TdSelectProps['options']; emitBlur: (e: MouseEvent | KeyboardEvent) => void; }>>;