import { PropType, ExtractPropTypes } from 'vue'; import { UserComponent } from '../ele-app/types'; import { EleProTableProps } from '../ele-app/plus'; import { DataItem } from '../ele-data-table/types'; import { SelectValue, SingleValue, BeforeConfirm } from '../ele-basic-select/types'; /** * 属性 */ export declare const tableSelectProps: { transition: { type: StringConstructor; default: string; }; /** 选中值 */ modelValue: { type: PropType; default: () => null; }; /** 是否触发表单验证 */ validateEvent: { type: BooleanConstructor; default: boolean; }; /** 确认事件钩子 */ beforeConfirm: PropType>; /** 数据值的键名 */ valueKey: { type: StringConstructor; default: string; }; /** 显示文本的键名 */ labelKey: { type: StringConstructor; default: string; }; /** 缓存的数据 */ cacheData: PropType; /** 表格配置 */ tableProps: PropType; /** 表格组件插槽对应名称 */ tableSlots: PropType>; /** 内容容器组件 */ wrapperComponent: PropType; /** 内容容器组件属性 */ wrapperComponentProps: ObjectConstructor; /** 初始选中值(已废弃) */ initValue: PropType; placement: { type: PropType; default: string; }; popperClass: StringConstructor; teleported: { type: BooleanConstructor; default: boolean; }; size: PropType; disabled: BooleanConstructor; placeholder: StringConstructor; clearable: BooleanConstructor; inputStyle: PropType; filterable: BooleanConstructor; tagType: { type: PropType; default: string; }; persistent: { type: BooleanConstructor; default: boolean; }; visible: BooleanConstructor; popperOptions: PropType; automaticDropdown: BooleanConstructor; multiple: BooleanConstructor; responsive: { type: BooleanConstructor; default: null; }; maxTagCount: NumberConstructor; maxTagTextLength: NumberConstructor; selectClass: StringConstructor; selectStyle: PropType; selectTagsStyle: PropType; popperWidth: (NumberConstructor | StringConstructor)[]; popperHeight: (NumberConstructor | StringConstructor)[]; popperType: PropType; popperProps: PropType; popperSlots: PropType>; popperTitle: StringConstructor; }; export type TableSelectProps = ExtractPropTypes; /** * 事件 */ export declare const tableSelectEmits: { /** 多选标签移除事件 */ removeTag: (_value: SingleValue) => boolean; /** 更新选中值 */ 'update:modelValue': (_value: SelectValue) => boolean; /** 选中值改变事件 */ change: (_value: SelectValue) => boolean; /** 下拉框展开状态改变事件 */ visibleChange: (_visible: boolean) => boolean; /** 表格行选中事件 */ select: (_item: DataItem | DataItem[]) => boolean; 'update:visible': (_visible: boolean) => boolean; clear: () => boolean; focus: (_e: FocusEvent) => boolean; blur: (_e: FocusEvent) => boolean; filterChange: (_value: string) => boolean; };