import { ParamType, IconConfig, DataItem } from './types'; import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, PropType } from 'vue'; /** * 标签与弹框组合基础组件属性 * 定义基础选择器的核心配置属性 */ export interface TransferPickerBaseProps { value: DataItem[] | string; placeholder?: string; maxTagCount?: number | 'responsive'; disabled?: boolean; type?: ParamType; labelField?: string; valueField?: string; suffixIcon?: IconConfig; } /** * 显示用户选择模态框 * @param e - 点击事件对象 */ declare function showModal(e: any): void; declare const _default: __VLS_WithTemplateSlots< DefineComponent, { value: () => DataItem[]; placeholder: string; maxTagCount: string; disabled: boolean; type: number; labelField: string; valueField: string; suffixIcon: { icon: string; color: string; size: number; }; }>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, { change: (...args: any[]) => void; register: (...args: any[]) => void; "update:value": (...args: any[]) => void; }, string, PublicProps, Readonly< ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps, { value: () => DataItem[]; placeholder: string; maxTagCount: string; disabled: boolean; type: number; labelField: string; valueField: string; suffixIcon: { icon: string; color: string; size: number; }; }>>> & Readonly<{ onChange?: ((...args: any[]) => any) | undefined; onRegister?: ((...args: any[]) => any) | undefined; "onUpdate:value"?: ((...args: any[]) => any) | undefined; }>, { type: number; disabled: boolean; placeholder: string; value: string | DataItem[]; suffixIcon: IconConfig; maxTagCount: number | "responsive"; labelField: string; valueField: string; }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>, { default?(_: { showModal: typeof showModal; }): any; suffixIcon?(_: {}): any; }>; export default _default; type __VLS_NonUndefinedable = T extends undefined ? never : T; type __VLS_TypePropsToRuntimeProps = { [K in keyof T]-?: {} extends Pick ? { type: PropType<__VLS_NonUndefinedable>; } : { type: PropType; required: true; }; }; type __VLS_WithDefaults = { [K in keyof Pick]: K extends keyof D ? __VLS_Prettify : P[K]; }; type __VLS_Prettify = { [K in keyof T]: T[K]; } & {}; type __VLS_WithTemplateSlots = T & { new (): { $slots: S; }; };