/**
* @fileoverview 字典格式化组件
* @description 根据字典值显示对应的标签文本
* @example
* ```vue
*
*
* ```
*/
import { type PropType } from 'vue';
import type { DictFormatProps, DictItem } from './types';
declare const _default: import("vue").DefineComponent;
default: null;
};
/** 字典数据 */
dict: {
type: PropType;
default: () => never[];
};
/** 是否显示为标签 */
asTag: {
type: PropType;
default: boolean;
};
/** 空值显示文本 */
emptyText: {
type: PropType;
default: string;
};
/** 自定义类名 */
className: {
type: PropType;
default: string;
};
}>, () => import("vue").VNode, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
click: (item: DictItem | null) => true;
}, string, import("vue").PublicProps, Readonly;
default: null;
};
/** 字典数据 */
dict: {
type: PropType;
default: () => never[];
};
/** 是否显示为标签 */
asTag: {
type: PropType;
default: boolean;
};
/** 空值显示文本 */
emptyText: {
type: PropType;
default: string;
};
/** 自定义类名 */
className: {
type: PropType;
default: string;
};
}>> & Readonly<{
onClick?: ((item: DictItem | null) => any) | undefined;
}>, {
value: string | number | null | undefined;
dict: DictItem[] | undefined;
asTag: boolean | undefined;
emptyText: string | undefined;
className: string | undefined;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
export default _default;
//# sourceMappingURL=dict-format.d.ts.map