数通智联化工云平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

16 lines
826 B

import type { OptionProps, SelectProps } from './defaults';
import type { ExtractPropTypes, InjectionKey, Ref } from 'vue';
import type { Option } from './select.types';
import type { TooltipInstance } from 'element-plus/es/components/tooltip';
export interface SelectV2Context {
props: ExtractPropTypes<typeof SelectProps>;
expanded: boolean;
popper: Ref<TooltipInstance>;
onSelect: (option: Option<any>, index: number, byClick?: boolean) => void;
onHover: (idx: number) => void;
onKeyboardNavigate: (direction: 'forward' | 'backward') => void;
onKeyboardSelect: () => void;
}
export declare const selectV2InjectionKey: InjectionKey<SelectV2Context>;
export declare type IOptionProps = ExtractPropTypes<typeof OptionProps>;
export declare type ISelectProps = ExtractPropTypes<typeof SelectProps>;