import { TemplateRef } from '@angular/core'; import { Observable, Subject } from 'rxjs'; export declare enum HoverType { Normal = 0, Active = 1, Error = 2 } export interface IBaseInfoColumn { label: string; /** * I18N key of the label */ labelI18n?: string; index?: string; value?: string | boolean | number | string[]; asyncValue?: Observable; type?: string; span: number; color?: string; operate?: boolean; template?: TemplateRef; displayTemplate?: TemplateRef; hover?: HoverType; id?: number; disEditable?: boolean; asyncDisEditable?: Subject; pipe?: (any: any) => any; displayValue?: string; validator?: { funcs?: any[]; errorTips?: string[]; isError?: boolean; currentErrorTip?: string; }; acl?: string[]; aclMode?: 'allOf' | 'oneOf'; diff?: boolean; } export interface IBizInfoRow { img?: string; title: string; columns: IBaseInfoColumn[]; }