UNPKG

@wocwin/t-ui-plus

Version:

Page level components developed based on Element Plus.

54 lines (53 loc) 1.75 kB
import { DefineComponent, ComponentOptionsMixin, PublicProps, ExtractPropTypes, PropType } from 'vue'; export interface TSelectIconProps { modelValue: any; prefixIcon?: string; selectBind?: Record<string, any>; isShowSearch?: boolean; isShowIcon?: boolean; } declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<TSelectIconProps>, { modelValue: string; prefixIcon: string; selectBind: () => {}; isShowSearch: boolean; isShowIcon: boolean; }>, { clearIcon: () => void; }, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { "update:modelValue": (...args: any[]) => void; select: (...args: any[]) => void; }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<TSelectIconProps>, { modelValue: string; prefixIcon: string; selectBind: () => {}; isShowSearch: boolean; isShowIcon: boolean; }>>> & { "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined; onSelect?: ((...args: any[]) => any) | undefined; }, { modelValue: any; prefixIcon: string; selectBind: Record<string, any>; isShowSearch: boolean; isShowIcon: boolean; }, {}>; export default _default; type __VLS_NonUndefinedable<T> = T extends undefined ? never : T; type __VLS_TypePropsToRuntimeProps<T> = { [K in keyof T]-?: {} extends Pick<T, K> ? { type: PropType<__VLS_NonUndefinedable<T[K]>>; } : { type: PropType<T[K]>; required: true; }; }; type __VLS_WithDefaults<P, D> = { [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & { default: D[K]; }> : P[K]; }; type __VLS_Prettify<T> = { [K in keyof T]: T[K]; } & {};