UNPKG

yuang-framework-ui-pc

Version:

yuang-framework-ui-pc Library

63 lines (61 loc) 2.03 kB
import { PropType } from 'vue'; import { StyleValue } from '../../ele-app/types'; import { ElEmptyProps } from '../../ele-app/el'; import { EleTooltipProps } from '../../ele-app/plus'; declare const _default: import('vue').DefineComponent<{ /** 选中的图标 */ icon: StringConstructor; /** 图标数据 */ data: { type: PropType<string[]>; required: true; }; /** 空组件属性 */ emptyProps: PropType<ElEmptyProps>; /** 是否显示提示 */ tooltip: BooleanConstructor; /** 提示属性 */ tooltipProps: PropType<EleTooltipProps>; /** 气泡是否展开 */ popperVisible: BooleanConstructor; /** 网格样式 */ gridStyle: PropType<StyleValue>; /** 图标样式 */ itemStyle: PropType<StyleValue>; }, { tooltipVisible: import('vue').Ref<boolean>; tooltipContent: import('vue').Ref<string>; virtualRef: import('vue').Ref<any>; updateTooltipVisible: (visible: boolean) => void; hideTooltip: () => void; handleItemHover: (icon: string, e: MouseEvent) => void; handleItemClick: (icon: string) => void; }, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, { select: (_icon: string) => true; }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{ /** 选中的图标 */ icon: StringConstructor; /** 图标数据 */ data: { type: PropType<string[]>; required: true; }; /** 空组件属性 */ emptyProps: PropType<ElEmptyProps>; /** 是否显示提示 */ tooltip: BooleanConstructor; /** 提示属性 */ tooltipProps: PropType<EleTooltipProps>; /** 气泡是否展开 */ popperVisible: BooleanConstructor; /** 网格样式 */ gridStyle: PropType<StyleValue>; /** 图标样式 */ itemStyle: PropType<StyleValue>; }>> & { onSelect?: ((_icon: string) => any) | undefined; }, { tooltip: boolean; popperVisible: boolean; }, {}>; export default _default;