UNPKG

t-ui-plus

Version:

Page level components developed based on Element Plus.

54 lines (53 loc) 1.86 kB
import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue'; export interface TSelectIconProps { modelValue: any; prefixIcon?: string; selectBind?: Record<string, any>; isShowSearch?: boolean; isShowIcon?: boolean; } declare const _default: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<TSelectIconProps>, { modelValue: string; prefixIcon: string; selectBind: () => {}; isShowSearch: boolean; isShowIcon: boolean; }>>, { clearIcon: () => void; }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { select: (...args: any[]) => void; "update:modelValue": (...args: any[]) => void; }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<TSelectIconProps>, { modelValue: string; prefixIcon: string; selectBind: () => {}; isShowSearch: boolean; isShowIcon: boolean; }>>> & Readonly<{ onSelect?: ((...args: any[]) => any) | undefined; "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined; }>, { modelValue: any; prefixIcon: string; selectBind: Record<string, any>; isShowSearch: boolean; isShowIcon: boolean; }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>; 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]; } & {};