@mineadmin/search
Version:
基于 @mineadmin/form 和 element plus 封装的列表搜索面板组件
21 lines (20 loc) • 586 B
TypeScript
export type MediaBreakPoint = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
/**
* @description `MaSearch` 配置项列表
*/
export interface MaSearchOptions {
defaultValue?: Record<string, any>;
cols?: Record<MediaBreakPoint, number>;
fold?: boolean;
foldButtonShow?: boolean;
foldRows?: number;
show?: boolean | (() => boolean);
text?: {
searchBtn?: () => string;
resetBtn?: () => string;
isFoldBtn?: () => string;
notFoldBtn?: () => string;
};
searchBtnProps?: Record<string, any>;
resetBtnProps?: Record<string, any>;
}