/** 收藏列字段名称 */
export const FAVORITE_FIELD_NAME = '__favorite__';
export const INPUT_GROUP_ICON = '';
// 获取组件实例的类型
export type ComponentInstanceType = 'datatable'| 'treetable' | 'fav' | 'selected' | 'leftTree' | 'leftDataTable';
export enum LookupGridDisplayType {
List = 'LIST',
TreeList = 'TREELIST',
NavList = 'NAVLIST',
NavTreeList = 'NAVTREELIST'
}
/** 收藏相关图标 */
export enum FavoriteIcon {
/** 已收藏 */
yes = '',
/** 未收藏 */
no = '',
/** 移除收藏 */
delete = '',
/** 移除已选记录 */
remove = ''
}
/** 收藏相关动作 */
export enum FavoriteAction {
/** 添加收藏 */
add = 'append item to favorite.',
/** 移除收藏 */
delete = 'remove favorite.'
}
export interface ExtInfoFormatterParam {
[key: string]: any;
bindingData?: any;
instance?: any;
}
export type ExtInfoFormatterFn = (param: ExtInfoFormatterParam) => string;
export type ExtInfoFormatter = string | ExtInfoFormatterFn;
export interface CustomDataFormatter {
[fieldName: string]: any ;
rowStyler?: any;
cellStyler?: any;
}