UNPKG

@qn-pandora/pandora-visualization

Version:

Pandora 通用可视化库

41 lines (40 loc) 1.39 kB
import { ITableColumn, IFilterColumn, ThresholdColorScope, ThresholdType, EProcessType, DefaultColumnSuffix } from '@qn-pandora/pandora-app-component/es/components/TableColFilter/constants'; import { IFontStyle } from './chart-style'; export { ITableColumn, IFilterColumn, ThresholdColorScope, ThresholdType, EProcessType, DefaultColumnSuffix }; export declare const enum TableTextDisplay { NewLine = "newline", Omit = "omit" } export declare enum RuleType { None = "none", Equals = "equal", StartWith = "startWith", EndWith = "endWith", Contain = "contain", Regex = "regex" } export declare type ITableDataSource = { children?: ITableDataSource[]; compareKey?: number | string; } & { [metricName: string]: // table metric value 的标准结构 ITableMetricValue | string; }; export interface ITableMetricValue { current?: number | string | boolean | number[] | null; compare?: number; curMaxProcess?: number; curSumProcess?: number; changed?: number; } export declare const NORMAL_COLUMN_WIDTH = 120; export declare const columnKeys: never[]; export declare const DEFAULT_AUTO_PLAY_SPEED = 3; export declare const FilterColumnKeys: string[]; export interface ColumnColor { rowIndex: number; colIndex: number; scope: ThresholdColorScope; color: string; } export declare const InitTitleFont: IFontStyle;