刘光辉
10 小时以前 0dfe84494048ce27ba8449831782128412d3eb13
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
import { ICellData, IWorkbookData } from '@univerjs/core';
import * as echarts from 'echarts';
 
export interface DesignStateProps {
  [prop: string]: any;
  activeWorkbook: any;
 
  activeWorkbookId: any;
 
  activeWorksheet: any;
 
  activeWorksheetId: any;
  beforeCommandExecuteMonitor: any;
  commandExecuteMonitor: any;
  configDialogCellTarget: null;
 
  containerEleId: any;
 
  dialogCellInstance: any;
  jnpfUniverAPI: any;
 
  loading: boolean;
  openDialogCell: boolean;
  selectionChangeMonitor: any;
 
  univer: any;
  univerCreateMode: 'design' | 'preview' | 'print';
}
 
export interface CreateUnitProps {
  cellEcharts?: Record<string, any>;
 
  defaultActiveSheetId?: string;
  floatEcharts?: Record<string, any>;
  floatImages?: Record<string, any>;
  loading?: boolean;
 
  mode?: 'design' | 'preview' | 'print';
 
  readonly?: boolean;
  snapshot?: IWorkbookData;
  uiContextMenu?: boolean;
 
  uiFooter?: boolean;
 
  uiHeader?: boolean;
 
  watermark?: Record<string, any>;
 
  darkMode?: boolean;
}
 
export interface DeliverFloatEchartOptionProps {
  drawingId: string;
  echartType: 'bar' | 'line' | 'pie' | 'radar';
  option: echarts.EChartsOption;
}
 
export interface DeliverFloatImageOptionProps {
  drawingId: string;
  imageType: 'BASE64' | 'URL';
  option: any;
}
 
export interface DeliverCellDataProps {
  cellData: ICellData;
  startColumn: number;
  startRow: number;
}