//进度条类型 export type FProgressType = 'line' | 'circle' | 'dashboard'; //圆角/直角 export type FProgressStrokeLinecapType = 'round' | 'square'; //进度条状态 默认normal export type FProgressStatusType = 'success' | 'error' | 'active' | 'normal'; //进度条比分格式 export type FProgressFormatter = (percent: number) => string; //仪表盘缺口位置 export type FProgressGapPositionType = 'top' | 'bottom' | 'left' | 'right'; //渐变 export interface FProgressGradientProgress {[percent: string]: string;} export interface FProgressGradientFromTo { from: string; to: string; } export type FProgressColorGradient = { direction?: string } & (FProgressGradientProgress | FProgressGradientFromTo); export type FProgressStrokeColorType = string | FProgressColorGradient; export interface FProgressCirclePath { stroke: string | null; strokePathStyle: PathStyle; } export interface PathStyle { [klass: string]: any; }