@odoo/o-spreadsheet 18.5.0-alpha.1 → 18.5.0-alpha.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/o-spreadsheet.cjs.js +16230 -13081
- package/dist/o-spreadsheet.d.ts +1068 -547
- package/dist/o-spreadsheet.esm.js +16230 -13081
- package/dist/o-spreadsheet.iife.js +11713 -8564
- package/dist/o-spreadsheet.iife.min.js +565 -535
- package/dist/o_spreadsheet.xml +469 -114
- package/package.json +1 -1
package/dist/o-spreadsheet.d.ts
CHANGED
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import * as chart_js from 'chart.js';
|
|
2
|
-
import { ChartConfiguration,
|
|
2
|
+
import { ChartConfiguration, CoreChartOptions, Scriptable, Color as Color$1, ScriptableContext, FontSpec, ChartDataset, Point, ChartType as ChartType$1, ChartMeta } from 'chart.js';
|
|
3
3
|
import * as ChartGeo from 'chartjs-chart-geo';
|
|
4
4
|
import * as GeoJSON$1 from 'geojson';
|
|
5
5
|
import * as _odoo_owl from '@odoo/owl';
|
|
6
6
|
import { ComponentConstructor, Component } from '@odoo/owl';
|
|
7
7
|
import * as chart_js_dist_types_utils from 'chart.js/dist/types/utils';
|
|
8
8
|
import * as chart_js_dist_types_geometric from 'chart.js/dist/types/geometric';
|
|
9
|
+
import * as chart_js_dist_types_basic from 'chart.js/dist/types/basic';
|
|
10
|
+
import * as chart_js_auto from 'chart.js/auto';
|
|
11
|
+
import { Chart, ChartConfiguration as ChartConfiguration$1 } from 'chart.js/auto';
|
|
9
12
|
|
|
10
13
|
interface FigureInfo {
|
|
11
14
|
id: UID;
|
|
@@ -31,6 +34,19 @@ interface ExcelFigureSize {
|
|
|
31
34
|
cy: number;
|
|
32
35
|
}
|
|
33
36
|
type ResizeDirection = -1 | 0 | 1;
|
|
37
|
+
interface Carousel {
|
|
38
|
+
items: CarouselItem[];
|
|
39
|
+
}
|
|
40
|
+
type CarouselItem = {
|
|
41
|
+
type: "chart";
|
|
42
|
+
chartId: UID;
|
|
43
|
+
title?: string;
|
|
44
|
+
carouselTitle?: TitleDesign;
|
|
45
|
+
} | {
|
|
46
|
+
type: "carouselDataView";
|
|
47
|
+
title?: string;
|
|
48
|
+
carouselTitle?: TitleDesign;
|
|
49
|
+
};
|
|
34
50
|
|
|
35
51
|
type ImageSVG = {
|
|
36
52
|
name: string;
|
|
@@ -81,33 +97,156 @@ interface CommonChartDefinition {
|
|
|
81
97
|
readonly aggregated?: boolean;
|
|
82
98
|
readonly axesDesign?: AxesDesign;
|
|
83
99
|
readonly showValues?: boolean;
|
|
100
|
+
readonly humanize?: boolean;
|
|
84
101
|
}
|
|
85
102
|
|
|
86
|
-
interface
|
|
103
|
+
interface TreeMapChartDefinition {
|
|
104
|
+
readonly type: "treemap";
|
|
105
|
+
readonly dataSets: CustomizedDataSet[];
|
|
106
|
+
readonly dataSetsHaveTitle: boolean;
|
|
107
|
+
readonly labelRange?: string;
|
|
108
|
+
readonly title: TitleDesign;
|
|
109
|
+
readonly background?: Color;
|
|
110
|
+
readonly legendPosition: LegendPosition;
|
|
111
|
+
readonly showHeaders?: boolean;
|
|
112
|
+
readonly headerDesign?: TitleDesign;
|
|
113
|
+
readonly showValues?: boolean;
|
|
114
|
+
readonly showLabels?: boolean;
|
|
115
|
+
readonly valuesDesign?: TitleDesign;
|
|
116
|
+
readonly coloringOptions?: TreeMapColoringOptions;
|
|
117
|
+
readonly humanize?: boolean;
|
|
87
118
|
}
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
119
|
+
type TreeMapCategoryColorOptions = {
|
|
120
|
+
type: "categoryColor";
|
|
121
|
+
colors: (Color | undefined | null)[];
|
|
122
|
+
useValueBasedGradient: boolean;
|
|
123
|
+
};
|
|
124
|
+
type TreeMapColorScaleOptions = {
|
|
125
|
+
type: "colorScale";
|
|
126
|
+
minColor: Color;
|
|
127
|
+
midColor?: Color;
|
|
128
|
+
maxColor: Color;
|
|
129
|
+
};
|
|
130
|
+
interface TreeMapGroupColor {
|
|
131
|
+
label: string;
|
|
132
|
+
color: Color;
|
|
93
133
|
}
|
|
94
|
-
type
|
|
134
|
+
type TreeMapColoringOptions = TreeMapCategoryColorOptions | TreeMapColorScaleOptions;
|
|
135
|
+
type TreeMapChartRuntime = {
|
|
95
136
|
chartJsConfig: ChartConfiguration;
|
|
96
137
|
background: Color;
|
|
97
138
|
};
|
|
98
139
|
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
140
|
+
/*!
|
|
141
|
+
* chartjs-chart-treemap v3.1.0
|
|
142
|
+
* https://chartjs-chart-treemap.pages.dev/
|
|
143
|
+
* (c) 2024 Jukka Kurkela
|
|
144
|
+
* Released under the MIT license
|
|
145
|
+
*/
|
|
146
|
+
|
|
147
|
+
type AnyObject = Record<string, unknown>;
|
|
148
|
+
type TreemapScriptableContext = ScriptableContext<"treemap"> & {
|
|
149
|
+
raw: TreemapDataPoint;
|
|
106
150
|
};
|
|
107
|
-
type
|
|
108
|
-
|
|
109
|
-
|
|
151
|
+
type TreemapControllerDatasetCaptionsOptions = {
|
|
152
|
+
align?: Scriptable<LabelAlign, TreemapScriptableContext>;
|
|
153
|
+
color?: Scriptable<Color$1, TreemapScriptableContext>;
|
|
154
|
+
display?: boolean;
|
|
155
|
+
formatter?: Scriptable<string, TreemapScriptableContext>;
|
|
156
|
+
font?: FontSpec;
|
|
157
|
+
hoverColor?: Scriptable<Color$1, TreemapScriptableContext>;
|
|
158
|
+
hoverFont?: FontSpec;
|
|
159
|
+
padding?: number;
|
|
160
|
+
};
|
|
161
|
+
type TreemapControllerDatasetLabelsOptions = {
|
|
162
|
+
align?: Scriptable<LabelAlign, TreemapScriptableContext>;
|
|
163
|
+
color?: Scriptable<Color$1 | Color$1[], TreemapScriptableContext>;
|
|
164
|
+
display?: boolean;
|
|
165
|
+
formatter?: Scriptable<string | Array<string>, TreemapScriptableContext>;
|
|
166
|
+
font?: Scriptable<FontSpec | FontSpec[], TreemapScriptableContext>;
|
|
167
|
+
hoverColor?: Scriptable<Color$1 | Color$1[], TreemapScriptableContext>;
|
|
168
|
+
hoverFont?: Scriptable<FontSpec | FontSpec[], TreemapScriptableContext>;
|
|
169
|
+
overflow?: Scriptable<LabelOverflow, TreemapScriptableContext>;
|
|
170
|
+
padding?: number;
|
|
171
|
+
position?: Scriptable<LabelPosition, TreemapScriptableContext>;
|
|
110
172
|
};
|
|
173
|
+
type LabelPosition = "top" | "middle" | "bottom";
|
|
174
|
+
type LabelAlign = "left" | "center" | "right";
|
|
175
|
+
type LabelOverflow = "cut" | "hidden" | "fit";
|
|
176
|
+
type TreemapControllerDatasetDividersOptions = {
|
|
177
|
+
display?: boolean;
|
|
178
|
+
lineCapStyle?: string;
|
|
179
|
+
lineColor?: string;
|
|
180
|
+
lineDash?: number[];
|
|
181
|
+
lineDashOffset?: number;
|
|
182
|
+
lineWidth?: number;
|
|
183
|
+
};
|
|
184
|
+
interface TreemapControllerDatasetOptions<DType> {
|
|
185
|
+
spacing?: number;
|
|
186
|
+
rtl?: boolean;
|
|
187
|
+
backgroundColor?: Scriptable<Color$1, TreemapScriptableContext>;
|
|
188
|
+
borderColor?: Scriptable<Color$1, TreemapScriptableContext>;
|
|
189
|
+
borderWidth?: number;
|
|
190
|
+
hoverBackgroundColor?: Scriptable<Color$1, TreemapScriptableContext>;
|
|
191
|
+
hoverBorderColor?: Scriptable<Color$1, TreemapScriptableContext>;
|
|
192
|
+
hoverBorderWidth?: number;
|
|
193
|
+
captions?: TreemapControllerDatasetCaptionsOptions;
|
|
194
|
+
dividers?: TreemapControllerDatasetDividersOptions;
|
|
195
|
+
labels?: TreemapControllerDatasetLabelsOptions;
|
|
196
|
+
label?: string;
|
|
197
|
+
data: TreemapDataPoint[];
|
|
198
|
+
groups?: Array<keyof DType>;
|
|
199
|
+
sumKeys?: Array<keyof DType>;
|
|
200
|
+
tree: number[] | DType[] | AnyObject;
|
|
201
|
+
treeLeafKey?: keyof DType;
|
|
202
|
+
key?: keyof DType;
|
|
203
|
+
hidden?: boolean;
|
|
204
|
+
displayMode?: "containerBoxes" | "headerBoxes";
|
|
205
|
+
groupColors?: TreeMapGroupColor[];
|
|
206
|
+
}
|
|
207
|
+
interface TreemapDataPoint {
|
|
208
|
+
x: number;
|
|
209
|
+
y: number;
|
|
210
|
+
w: number;
|
|
211
|
+
h: number;
|
|
212
|
+
/**
|
|
213
|
+
* Value
|
|
214
|
+
*/
|
|
215
|
+
v: number;
|
|
216
|
+
/**
|
|
217
|
+
* Sum
|
|
218
|
+
*/
|
|
219
|
+
s: number;
|
|
220
|
+
/**
|
|
221
|
+
* Depth, only available if grouping
|
|
222
|
+
*/
|
|
223
|
+
l?: number;
|
|
224
|
+
/**
|
|
225
|
+
* Group name, only available if grouping
|
|
226
|
+
*/
|
|
227
|
+
g?: string;
|
|
228
|
+
/**
|
|
229
|
+
* Group Sum, only available if grouping
|
|
230
|
+
*/
|
|
231
|
+
gs?: number;
|
|
232
|
+
/**
|
|
233
|
+
* additonal keys sums, only available if grouping
|
|
234
|
+
*/
|
|
235
|
+
vs?: AnyObject;
|
|
236
|
+
isLeaf?: boolean;
|
|
237
|
+
}
|
|
238
|
+
declare module "chart.js" {
|
|
239
|
+
interface ChartTypeRegistry {
|
|
240
|
+
treemap: {
|
|
241
|
+
chartOptions: CoreChartOptions<"treemap">;
|
|
242
|
+
datasetOptions: TreemapControllerDatasetOptions<Record<string, unknown>>;
|
|
243
|
+
defaultDataPoint: TreemapDataPoint;
|
|
244
|
+
metaExtensions: AnyObject;
|
|
245
|
+
parsedDataType: unknown;
|
|
246
|
+
scales: never;
|
|
247
|
+
};
|
|
248
|
+
}
|
|
249
|
+
}
|
|
111
250
|
|
|
112
251
|
interface FunnelChartDefinition {
|
|
113
252
|
readonly type: "funnel";
|
|
@@ -123,6 +262,7 @@ interface FunnelChartDefinition {
|
|
|
123
262
|
readonly showValues?: boolean;
|
|
124
263
|
readonly funnelColors?: FunnelChartColors;
|
|
125
264
|
readonly cumulative?: boolean;
|
|
265
|
+
readonly humanize?: boolean;
|
|
126
266
|
}
|
|
127
267
|
type FunnelChartRuntime = {
|
|
128
268
|
chartJsConfig: ChartConfiguration;
|
|
@@ -136,6 +276,7 @@ interface GaugeChartDefinition {
|
|
|
136
276
|
readonly dataRange?: string;
|
|
137
277
|
readonly sectionRule: SectionRule;
|
|
138
278
|
readonly background?: Color;
|
|
279
|
+
readonly humanize?: boolean;
|
|
139
280
|
}
|
|
140
281
|
interface SectionRule {
|
|
141
282
|
readonly colors: ColorSet;
|
|
@@ -171,40 +312,6 @@ interface GaugeChartRuntime {
|
|
|
171
312
|
colors: Color[];
|
|
172
313
|
}
|
|
173
314
|
|
|
174
|
-
interface GeoChartDefinition {
|
|
175
|
-
readonly type: "geo";
|
|
176
|
-
readonly dataSets: CustomizedDataSet[];
|
|
177
|
-
readonly dataSetsHaveTitle: boolean;
|
|
178
|
-
readonly labelRange?: string;
|
|
179
|
-
readonly title: TitleDesign;
|
|
180
|
-
readonly background?: Color;
|
|
181
|
-
readonly legendPosition: LegendPosition;
|
|
182
|
-
readonly colorScale?: GeoChartColorScale;
|
|
183
|
-
readonly missingValueColor?: Color;
|
|
184
|
-
readonly region?: string;
|
|
185
|
-
}
|
|
186
|
-
type GeoChartRuntime = {
|
|
187
|
-
chartJsConfig: ChartConfiguration;
|
|
188
|
-
background: Color;
|
|
189
|
-
};
|
|
190
|
-
interface GeoChartCustomColorScale {
|
|
191
|
-
minColor: Color;
|
|
192
|
-
midColor?: Color;
|
|
193
|
-
maxColor: Color;
|
|
194
|
-
}
|
|
195
|
-
type GeoChartColorScale = GeoChartCustomColorScale | "blues" | "cividis" | "greens" | "greys" | "oranges" | "purples" | "rainbow" | "reds" | "viridis";
|
|
196
|
-
type GeoChartProjection = "azimuthalEqualArea" | "azimuthalEquidistant" | "gnomonic" | "orthographic" | "stereographic" | "equalEarth" | "albers" | "albersUsa" | "conicConformal" | "conicEqualArea" | "conicEquidistant" | "equirectangular" | "mercator" | "transverseMercator" | "naturalEarth1";
|
|
197
|
-
interface GeoChartRegion {
|
|
198
|
-
id: string;
|
|
199
|
-
label: string;
|
|
200
|
-
defaultProjection: GeoChartProjection;
|
|
201
|
-
}
|
|
202
|
-
interface GeoChartRuntimeGenerationArgs extends ChartRuntimeGenerationArgs {
|
|
203
|
-
availableRegions: GeoChartRegion[];
|
|
204
|
-
getGeoJsonFeatures: (region: string) => GeoJSON.Feature[] | undefined;
|
|
205
|
-
geoFeatureNameToId: (region: string, featureName: string) => string | undefined;
|
|
206
|
-
}
|
|
207
|
-
|
|
208
315
|
interface LineChartDefinition extends CommonChartDefinition {
|
|
209
316
|
readonly type: "line";
|
|
210
317
|
readonly labelsAsText: boolean;
|
|
@@ -213,9 +320,11 @@ interface LineChartDefinition extends CommonChartDefinition {
|
|
|
213
320
|
readonly cumulative: boolean;
|
|
214
321
|
readonly fillArea?: boolean;
|
|
215
322
|
readonly hideDataMarkers?: boolean;
|
|
323
|
+
readonly zoomable?: boolean;
|
|
216
324
|
}
|
|
217
325
|
type LineChartRuntime = {
|
|
218
326
|
chartJsConfig: ChartConfiguration;
|
|
327
|
+
masterChartConfig?: ChartConfiguration;
|
|
219
328
|
background: Color;
|
|
220
329
|
};
|
|
221
330
|
|
|
@@ -239,18 +348,6 @@ type PyramidChartRuntime = {
|
|
|
239
348
|
background: Color;
|
|
240
349
|
};
|
|
241
350
|
|
|
242
|
-
interface RadarChartDefinition extends CommonChartDefinition {
|
|
243
|
-
readonly type: "radar";
|
|
244
|
-
readonly aggregated?: boolean;
|
|
245
|
-
readonly stacked: boolean;
|
|
246
|
-
readonly fillArea?: boolean;
|
|
247
|
-
readonly hideDataMarkers?: boolean;
|
|
248
|
-
}
|
|
249
|
-
type RadarChartRuntime = {
|
|
250
|
-
chartJsConfig: ChartConfiguration;
|
|
251
|
-
background: Color;
|
|
252
|
-
};
|
|
253
|
-
|
|
254
351
|
interface ScatterChartDefinition extends Omit<LineChartDefinition, "type" | "stacked" | "cumulative"> {
|
|
255
352
|
readonly type: "scatter";
|
|
256
353
|
}
|
|
@@ -279,190 +376,44 @@ interface ScorecardChartRuntime {
|
|
|
279
376
|
readonly title: TitleDesign;
|
|
280
377
|
readonly keyValue: string;
|
|
281
378
|
readonly keyDescr: string;
|
|
282
|
-
readonly baselineDisplay: string;
|
|
283
|
-
readonly baselineColor?: string;
|
|
284
|
-
readonly baselineArrow: BaselineArrowDirection;
|
|
285
|
-
readonly baselineDescr?: string;
|
|
286
|
-
readonly background: Color;
|
|
287
|
-
readonly fontColor: Color;
|
|
288
|
-
readonly keyValueStyle?: Style;
|
|
289
|
-
readonly keyValueDescrStyle?: Style;
|
|
290
|
-
readonly baselineStyle?: Style;
|
|
291
|
-
readonly baselineDescrStyle?: Style;
|
|
292
|
-
readonly progressBar?: ProgressBar;
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
interface SunburstChartDefinition {
|
|
296
|
-
readonly type: "sunburst";
|
|
297
|
-
readonly dataSets: CustomizedDataSet[];
|
|
298
|
-
readonly dataSetsHaveTitle: boolean;
|
|
299
|
-
readonly labelRange?: string;
|
|
300
|
-
readonly title: TitleDesign;
|
|
301
|
-
readonly background?: Color;
|
|
302
|
-
readonly legendPosition: LegendPosition;
|
|
303
|
-
readonly showValues?: boolean;
|
|
304
|
-
readonly showLabels?: boolean;
|
|
305
|
-
readonly valuesDesign?: ChartStyle;
|
|
306
|
-
readonly groupColors?: (Color | undefined | null)[];
|
|
307
|
-
readonly pieHolePercentage?: number;
|
|
308
|
-
}
|
|
309
|
-
type SunburstChartRuntime = {
|
|
310
|
-
chartJsConfig: ChartConfiguration<"doughnut">;
|
|
311
|
-
background: Color;
|
|
312
|
-
};
|
|
313
|
-
interface SunburstChartJSDataset extends ChartDataset<"doughnut"> {
|
|
314
|
-
groupColors: {
|
|
315
|
-
label: string;
|
|
316
|
-
color: Color;
|
|
317
|
-
}[];
|
|
318
|
-
}
|
|
319
|
-
|
|
320
|
-
/*!
|
|
321
|
-
* chartjs-chart-treemap v3.1.0
|
|
322
|
-
* https://chartjs-chart-treemap.pages.dev/
|
|
323
|
-
* (c) 2024 Jukka Kurkela
|
|
324
|
-
* Released under the MIT license
|
|
325
|
-
*/
|
|
326
|
-
|
|
327
|
-
type AnyObject = Record<string, unknown>;
|
|
328
|
-
type TreemapScriptableContext = ScriptableContext<"treemap"> & {
|
|
329
|
-
raw: TreemapDataPoint;
|
|
330
|
-
};
|
|
331
|
-
type TreemapControllerDatasetCaptionsOptions = {
|
|
332
|
-
align?: Scriptable<LabelAlign, TreemapScriptableContext>;
|
|
333
|
-
color?: Scriptable<Color$1, TreemapScriptableContext>;
|
|
334
|
-
display?: boolean;
|
|
335
|
-
formatter?: Scriptable<string, TreemapScriptableContext>;
|
|
336
|
-
font?: FontSpec;
|
|
337
|
-
hoverColor?: Scriptable<Color$1, TreemapScriptableContext>;
|
|
338
|
-
hoverFont?: FontSpec;
|
|
339
|
-
padding?: number;
|
|
340
|
-
};
|
|
341
|
-
type TreemapControllerDatasetLabelsOptions = {
|
|
342
|
-
align?: Scriptable<LabelAlign, TreemapScriptableContext>;
|
|
343
|
-
color?: Scriptable<Color$1 | Color$1[], TreemapScriptableContext>;
|
|
344
|
-
display?: boolean;
|
|
345
|
-
formatter?: Scriptable<string | Array<string>, TreemapScriptableContext>;
|
|
346
|
-
font?: Scriptable<FontSpec | FontSpec[], TreemapScriptableContext>;
|
|
347
|
-
hoverColor?: Scriptable<Color$1 | Color$1[], TreemapScriptableContext>;
|
|
348
|
-
hoverFont?: Scriptable<FontSpec | FontSpec[], TreemapScriptableContext>;
|
|
349
|
-
overflow?: Scriptable<LabelOverflow, TreemapScriptableContext>;
|
|
350
|
-
padding?: number;
|
|
351
|
-
position?: Scriptable<LabelPosition, TreemapScriptableContext>;
|
|
352
|
-
};
|
|
353
|
-
type LabelPosition = "top" | "middle" | "bottom";
|
|
354
|
-
type LabelAlign = "left" | "center" | "right";
|
|
355
|
-
type LabelOverflow = "cut" | "hidden" | "fit";
|
|
356
|
-
type TreemapControllerDatasetDividersOptions = {
|
|
357
|
-
display?: boolean;
|
|
358
|
-
lineCapStyle?: string;
|
|
359
|
-
lineColor?: string;
|
|
360
|
-
lineDash?: number[];
|
|
361
|
-
lineDashOffset?: number;
|
|
362
|
-
lineWidth?: number;
|
|
363
|
-
};
|
|
364
|
-
interface TreemapControllerDatasetOptions<DType> {
|
|
365
|
-
spacing?: number;
|
|
366
|
-
rtl?: boolean;
|
|
367
|
-
backgroundColor?: Scriptable<Color$1, TreemapScriptableContext>;
|
|
368
|
-
borderColor?: Scriptable<Color$1, TreemapScriptableContext>;
|
|
369
|
-
borderWidth?: number;
|
|
370
|
-
hoverBackgroundColor?: Scriptable<Color$1, TreemapScriptableContext>;
|
|
371
|
-
hoverBorderColor?: Scriptable<Color$1, TreemapScriptableContext>;
|
|
372
|
-
hoverBorderWidth?: number;
|
|
373
|
-
captions?: TreemapControllerDatasetCaptionsOptions;
|
|
374
|
-
dividers?: TreemapControllerDatasetDividersOptions;
|
|
375
|
-
labels?: TreemapControllerDatasetLabelsOptions;
|
|
376
|
-
label?: string;
|
|
377
|
-
data: TreemapDataPoint[];
|
|
378
|
-
groups?: Array<keyof DType>;
|
|
379
|
-
sumKeys?: Array<keyof DType>;
|
|
380
|
-
tree: number[] | DType[] | AnyObject;
|
|
381
|
-
treeLeafKey?: keyof DType;
|
|
382
|
-
key?: keyof DType;
|
|
383
|
-
hidden?: boolean;
|
|
384
|
-
displayMode?: "containerBoxes" | "headerBoxes";
|
|
385
|
-
groupColors?: TreeMapGroupColor[];
|
|
386
|
-
}
|
|
387
|
-
interface TreemapDataPoint {
|
|
388
|
-
x: number;
|
|
389
|
-
y: number;
|
|
390
|
-
w: number;
|
|
391
|
-
h: number;
|
|
392
|
-
/**
|
|
393
|
-
* Value
|
|
394
|
-
*/
|
|
395
|
-
v: number;
|
|
396
|
-
/**
|
|
397
|
-
* Sum
|
|
398
|
-
*/
|
|
399
|
-
s: number;
|
|
400
|
-
/**
|
|
401
|
-
* Depth, only available if grouping
|
|
402
|
-
*/
|
|
403
|
-
l?: number;
|
|
404
|
-
/**
|
|
405
|
-
* Group name, only available if grouping
|
|
406
|
-
*/
|
|
407
|
-
g?: string;
|
|
408
|
-
/**
|
|
409
|
-
* Group Sum, only available if grouping
|
|
410
|
-
*/
|
|
411
|
-
gs?: number;
|
|
412
|
-
/**
|
|
413
|
-
* additonal keys sums, only available if grouping
|
|
414
|
-
*/
|
|
415
|
-
vs?: AnyObject;
|
|
416
|
-
isLeaf?: boolean;
|
|
417
|
-
}
|
|
418
|
-
declare module "chart.js" {
|
|
419
|
-
interface ChartTypeRegistry {
|
|
420
|
-
treemap: {
|
|
421
|
-
chartOptions: CoreChartOptions<"treemap">;
|
|
422
|
-
datasetOptions: TreemapControllerDatasetOptions<Record<string, unknown>>;
|
|
423
|
-
defaultDataPoint: TreemapDataPoint;
|
|
424
|
-
metaExtensions: AnyObject;
|
|
425
|
-
parsedDataType: unknown;
|
|
426
|
-
scales: never;
|
|
427
|
-
};
|
|
428
|
-
}
|
|
379
|
+
readonly baselineDisplay: string;
|
|
380
|
+
readonly baselineColor?: string;
|
|
381
|
+
readonly baselineArrow: BaselineArrowDirection;
|
|
382
|
+
readonly baselineDescr?: string;
|
|
383
|
+
readonly background: Color;
|
|
384
|
+
readonly fontColor: Color;
|
|
385
|
+
readonly keyValueStyle?: Style;
|
|
386
|
+
readonly keyValueDescrStyle?: Style;
|
|
387
|
+
readonly baselineStyle?: Style;
|
|
388
|
+
readonly baselineDescrStyle?: Style;
|
|
389
|
+
readonly progressBar?: ProgressBar;
|
|
429
390
|
}
|
|
430
391
|
|
|
431
|
-
interface
|
|
432
|
-
readonly type: "
|
|
392
|
+
interface SunburstChartDefinition {
|
|
393
|
+
readonly type: "sunburst";
|
|
433
394
|
readonly dataSets: CustomizedDataSet[];
|
|
434
395
|
readonly dataSetsHaveTitle: boolean;
|
|
435
396
|
readonly labelRange?: string;
|
|
436
397
|
readonly title: TitleDesign;
|
|
437
398
|
readonly background?: Color;
|
|
438
399
|
readonly legendPosition: LegendPosition;
|
|
439
|
-
readonly showHeaders?: boolean;
|
|
440
|
-
readonly headerDesign?: TitleDesign;
|
|
441
400
|
readonly showValues?: boolean;
|
|
442
401
|
readonly showLabels?: boolean;
|
|
443
|
-
readonly valuesDesign?:
|
|
444
|
-
readonly
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
type: "categoryColor";
|
|
448
|
-
colors: (Color | undefined | null)[];
|
|
449
|
-
useValueBasedGradient: boolean;
|
|
450
|
-
};
|
|
451
|
-
type TreeMapColorScaleOptions = {
|
|
452
|
-
type: "colorScale";
|
|
453
|
-
minColor: Color;
|
|
454
|
-
midColor?: Color;
|
|
455
|
-
maxColor: Color;
|
|
456
|
-
};
|
|
457
|
-
interface TreeMapGroupColor {
|
|
458
|
-
label: string;
|
|
459
|
-
color: Color;
|
|
402
|
+
readonly valuesDesign?: ChartStyle;
|
|
403
|
+
readonly groupColors?: (Color | undefined | null)[];
|
|
404
|
+
readonly pieHolePercentage?: number;
|
|
405
|
+
readonly humanize?: boolean;
|
|
460
406
|
}
|
|
461
|
-
type
|
|
462
|
-
|
|
463
|
-
chartJsConfig: ChartConfiguration;
|
|
407
|
+
type SunburstChartRuntime = {
|
|
408
|
+
chartJsConfig: ChartConfiguration<"doughnut">;
|
|
464
409
|
background: Color;
|
|
465
410
|
};
|
|
411
|
+
interface SunburstChartJSDataset extends ChartDataset<"doughnut"> {
|
|
412
|
+
groupColors: {
|
|
413
|
+
label: string;
|
|
414
|
+
color: Color;
|
|
415
|
+
}[];
|
|
416
|
+
}
|
|
466
417
|
|
|
467
418
|
interface WaterfallChartDefinition extends CommonChartDefinition {
|
|
468
419
|
readonly type: "waterfall";
|
|
@@ -474,22 +425,102 @@ interface WaterfallChartDefinition extends CommonChartDefinition {
|
|
|
474
425
|
readonly positiveValuesColor?: Color;
|
|
475
426
|
readonly negativeValuesColor?: Color;
|
|
476
427
|
readonly subTotalValuesColor?: Color;
|
|
428
|
+
readonly zoomable?: boolean;
|
|
477
429
|
}
|
|
478
430
|
type WaterfallChartRuntime = {
|
|
479
431
|
chartJsConfig: ChartConfiguration;
|
|
480
432
|
background: Color;
|
|
481
433
|
};
|
|
482
434
|
|
|
435
|
+
interface BarChartDefinition extends CommonChartDefinition {
|
|
436
|
+
readonly type: "bar";
|
|
437
|
+
readonly stacked: boolean;
|
|
438
|
+
readonly horizontal?: boolean;
|
|
439
|
+
readonly zoomable?: boolean;
|
|
440
|
+
}
|
|
441
|
+
type BarChartRuntime = {
|
|
442
|
+
chartJsConfig: ChartConfiguration;
|
|
443
|
+
masterChartConfig?: ChartConfiguration;
|
|
444
|
+
background: Color;
|
|
445
|
+
};
|
|
446
|
+
|
|
447
|
+
interface ComboChartDefinition extends CommonChartDefinition {
|
|
448
|
+
readonly dataSets: ComboChartDataSet[];
|
|
449
|
+
readonly type: "combo";
|
|
450
|
+
readonly hideDataMarkers?: boolean;
|
|
451
|
+
readonly zoomable?: boolean;
|
|
452
|
+
}
|
|
453
|
+
type ComboChartDataSet = CustomizedDataSet & {
|
|
454
|
+
type?: "bar" | "line";
|
|
455
|
+
};
|
|
456
|
+
type ComboChartRuntime = {
|
|
457
|
+
chartJsConfig: ChartConfiguration;
|
|
458
|
+
masterChartConfig?: ChartConfiguration;
|
|
459
|
+
background: Color;
|
|
460
|
+
};
|
|
461
|
+
|
|
462
|
+
interface GeoChartDefinition {
|
|
463
|
+
readonly type: "geo";
|
|
464
|
+
readonly dataSets: CustomizedDataSet[];
|
|
465
|
+
readonly dataSetsHaveTitle: boolean;
|
|
466
|
+
readonly labelRange?: string;
|
|
467
|
+
readonly title: TitleDesign;
|
|
468
|
+
readonly background?: Color;
|
|
469
|
+
readonly legendPosition: LegendPosition;
|
|
470
|
+
readonly colorScale?: GeoChartColorScale;
|
|
471
|
+
readonly missingValueColor?: Color;
|
|
472
|
+
readonly region?: string;
|
|
473
|
+
readonly humanize?: boolean;
|
|
474
|
+
}
|
|
475
|
+
type GeoChartRuntime = {
|
|
476
|
+
chartJsConfig: ChartConfiguration;
|
|
477
|
+
background: Color;
|
|
478
|
+
};
|
|
479
|
+
interface GeoChartCustomColorScale {
|
|
480
|
+
minColor: Color;
|
|
481
|
+
midColor?: Color;
|
|
482
|
+
maxColor: Color;
|
|
483
|
+
}
|
|
484
|
+
type GeoChartColorScale = GeoChartCustomColorScale | "blues" | "cividis" | "greens" | "greys" | "oranges" | "purples" | "rainbow" | "reds" | "viridis";
|
|
485
|
+
type GeoChartProjection = "azimuthalEqualArea" | "azimuthalEquidistant" | "gnomonic" | "orthographic" | "stereographic" | "equalEarth" | "albers" | "albersUsa" | "conicConformal" | "conicEqualArea" | "conicEquidistant" | "equirectangular" | "mercator" | "transverseMercator" | "naturalEarth1";
|
|
486
|
+
interface GeoChartRegion {
|
|
487
|
+
id: string;
|
|
488
|
+
label: string;
|
|
489
|
+
defaultProjection: GeoChartProjection;
|
|
490
|
+
}
|
|
491
|
+
interface GeoChartRuntimeGenerationArgs extends ChartRuntimeGenerationArgs {
|
|
492
|
+
availableRegions: GeoChartRegion[];
|
|
493
|
+
getGeoJsonFeatures: (region: string) => GeoJSON.Feature[] | undefined;
|
|
494
|
+
geoFeatureNameToId: (region: string, featureName: string) => string | undefined;
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
interface RadarChartDefinition extends CommonChartDefinition {
|
|
498
|
+
readonly type: "radar";
|
|
499
|
+
readonly aggregated?: boolean;
|
|
500
|
+
readonly stacked: boolean;
|
|
501
|
+
readonly fillArea?: boolean;
|
|
502
|
+
readonly hideDataMarkers?: boolean;
|
|
503
|
+
readonly humanize?: boolean;
|
|
504
|
+
}
|
|
505
|
+
type RadarChartRuntime = {
|
|
506
|
+
chartJsConfig: ChartConfiguration;
|
|
507
|
+
background: Color;
|
|
508
|
+
};
|
|
509
|
+
|
|
483
510
|
declare const CHART_TYPES: readonly ["line", "bar", "pie", "scorecard", "gauge", "scatter", "combo", "waterfall", "pyramid", "radar", "geo", "funnel", "sunburst", "treemap"];
|
|
484
511
|
type ChartType = (typeof CHART_TYPES)[number];
|
|
485
512
|
type ChartDefinition = LineChartDefinition | PieChartDefinition | BarChartDefinition | ScorecardChartDefinition | GaugeChartDefinition | ScatterChartDefinition | ComboChartDefinition | WaterfallChartDefinition | PyramidChartDefinition | RadarChartDefinition | GeoChartDefinition | FunnelChartDefinition | SunburstChartDefinition | TreeMapChartDefinition;
|
|
486
513
|
type ChartWithDataSetDefinition = Extract<ChartDefinition, {
|
|
487
514
|
dataSets: CustomizedDataSet[];
|
|
488
515
|
labelRange?: string;
|
|
516
|
+
humanize?: boolean;
|
|
489
517
|
}>;
|
|
490
518
|
type ChartWithAxisDefinition = Extract<ChartWithDataSetDefinition, {
|
|
491
519
|
axesDesign?: AxesDesign;
|
|
492
520
|
}>;
|
|
521
|
+
type ZoomableChartDefinition = Extract<ChartWithAxisDefinition, {
|
|
522
|
+
zoomable?: boolean;
|
|
523
|
+
}>;
|
|
493
524
|
type ChartJSRuntime = LineChartRuntime | PieChartRuntime | BarChartRuntime | ComboChartRuntime | ScatterChartRuntime | WaterfallChartRuntime | PyramidChartRuntime | RadarChartRuntime | GeoChartRuntime | FunnelChartRuntime | SunburstChartRuntime | TreeMapChartRuntime;
|
|
494
525
|
type ChartRuntime = ChartJSRuntime | ScorecardChartRuntime | GaugeChartRuntime;
|
|
495
526
|
interface LabelValues {
|
|
@@ -566,7 +597,7 @@ interface ExcelChartTrendConfiguration {
|
|
|
566
597
|
readonly window?: number;
|
|
567
598
|
}
|
|
568
599
|
type ExcelTrendlineType = "poly" | "exp" | "log" | "movingAvg" | "linear";
|
|
569
|
-
type ExcelChartType = "line" | "bar" | "pie" | "combo" | "scatter" | "radar";
|
|
600
|
+
type ExcelChartType = "line" | "bar" | "pie" | "combo" | "scatter" | "radar" | "pyramid";
|
|
570
601
|
interface ExcelChartDefinition {
|
|
571
602
|
readonly title?: TitleDesign;
|
|
572
603
|
readonly type: ExcelChartType;
|
|
@@ -582,6 +613,10 @@ interface ExcelChartDefinition {
|
|
|
582
613
|
useRightAxis?: boolean;
|
|
583
614
|
};
|
|
584
615
|
readonly axesDesign?: AxesDesign;
|
|
616
|
+
readonly horizontal?: boolean;
|
|
617
|
+
readonly isDoughnut?: boolean;
|
|
618
|
+
readonly pieHolePercentage?: number;
|
|
619
|
+
readonly maxValue?: number;
|
|
585
620
|
}
|
|
586
621
|
interface ChartCreationContext {
|
|
587
622
|
readonly range?: CustomizedDataSet[];
|
|
@@ -606,9 +641,14 @@ interface ChartCreationContext {
|
|
|
606
641
|
readonly hideDataMarkers?: boolean;
|
|
607
642
|
readonly valuesDesign?: ChartStyle;
|
|
608
643
|
readonly groupColors?: (Color | undefined | null)[];
|
|
644
|
+
readonly horizontal?: boolean;
|
|
645
|
+
readonly isDoughnut?: boolean;
|
|
646
|
+
readonly pieHolePercentage?: number;
|
|
609
647
|
readonly showHeaders?: boolean;
|
|
610
648
|
readonly headerDesign?: TitleDesign;
|
|
611
649
|
readonly treemapColoringOptions?: TreeMapColoringOptions;
|
|
650
|
+
readonly zoomable?: boolean;
|
|
651
|
+
readonly humanize?: boolean;
|
|
612
652
|
}
|
|
613
653
|
type ChartAxisFormats = {
|
|
614
654
|
[axisId: string]: Format | undefined;
|
|
@@ -939,7 +979,7 @@ interface Top10Rule extends SingleColorRule {
|
|
|
939
979
|
bottom: boolean;
|
|
940
980
|
rank: number;
|
|
941
981
|
}
|
|
942
|
-
type ConditionalFormattingOperatorValues = "beginsWithText" | "isBetween" | "containsText" | "isEmpty" | "isNotEmpty" | "endsWithText" | "isEqual" | "isGreaterThan" | "isGreaterOrEqualTo" | "isLessThan" | "isLessOrEqualTo" | "isNotBetween" | "notContainsText" | "isNotEqual";
|
|
982
|
+
type ConditionalFormattingOperatorValues = "beginsWithText" | "isBetween" | "containsText" | "isEmpty" | "isNotEmpty" | "endsWithText" | "isEqual" | "isGreaterThan" | "isGreaterOrEqualTo" | "isLessThan" | "isLessOrEqualTo" | "isNotBetween" | "notContainsText" | "isNotEqual" | "customFormula";
|
|
943
983
|
declare const availableConditionalFormatOperators: Set<ConditionalFormattingOperatorValues>;
|
|
944
984
|
|
|
945
985
|
declare const PREVIOUS_VALUE = "(previous)";
|
|
@@ -951,6 +991,9 @@ interface PivotCoreDimension {
|
|
|
951
991
|
fieldName: string;
|
|
952
992
|
order?: SortDirection;
|
|
953
993
|
granularity?: Granularity | string;
|
|
994
|
+
isCustomField?: boolean;
|
|
995
|
+
parentField?: string;
|
|
996
|
+
customGroups?: PivotCustomGroup[];
|
|
954
997
|
}
|
|
955
998
|
interface PivotCoreMeasure {
|
|
956
999
|
/**
|
|
@@ -977,6 +1020,7 @@ interface CommonPivotCoreDefinition {
|
|
|
977
1020
|
deferUpdates?: boolean;
|
|
978
1021
|
sortedColumn?: PivotSortedColumn;
|
|
979
1022
|
collapsedDomains?: PivotCollapsedDomains;
|
|
1023
|
+
customFields?: Record<string, PivotCustomGroupedField>;
|
|
980
1024
|
}
|
|
981
1025
|
interface PivotSortedColumn {
|
|
982
1026
|
order: SortDirection;
|
|
@@ -987,6 +1031,16 @@ interface PivotCollapsedDomains {
|
|
|
987
1031
|
COL: PivotDomain[];
|
|
988
1032
|
ROW: PivotDomain[];
|
|
989
1033
|
}
|
|
1034
|
+
interface PivotCustomGroupedField {
|
|
1035
|
+
parentField: string;
|
|
1036
|
+
name: string;
|
|
1037
|
+
groups: PivotCustomGroup[];
|
|
1038
|
+
}
|
|
1039
|
+
interface PivotCustomGroup {
|
|
1040
|
+
name: string;
|
|
1041
|
+
values: CellValue[];
|
|
1042
|
+
isOtherGroup?: boolean;
|
|
1043
|
+
}
|
|
990
1044
|
interface SpreadsheetPivotCoreDefinition extends CommonPivotCoreDefinition {
|
|
991
1045
|
type: "SPREADSHEET";
|
|
992
1046
|
dataSet?: {
|
|
@@ -1005,6 +1059,9 @@ interface PivotField {
|
|
|
1005
1059
|
string: string;
|
|
1006
1060
|
aggregator?: string;
|
|
1007
1061
|
help?: string;
|
|
1062
|
+
isCustomField?: boolean;
|
|
1063
|
+
parentField?: string;
|
|
1064
|
+
customGroups?: PivotCustomGroup[];
|
|
1008
1065
|
}
|
|
1009
1066
|
type PivotFields = Record<TechnicalName, PivotField | undefined>;
|
|
1010
1067
|
interface PivotMeasure extends PivotCoreMeasure {
|
|
@@ -2312,6 +2369,7 @@ declare class GridSelectionPlugin extends UIPlugin {
|
|
|
2312
2369
|
private getFiguresUpdates;
|
|
2313
2370
|
private applyFigureUpdates;
|
|
2314
2371
|
private isMoveElementAllowed;
|
|
2372
|
+
private isTableRowMoveAllowed;
|
|
2315
2373
|
private fallbackToVisibleSheet;
|
|
2316
2374
|
/**
|
|
2317
2375
|
* Clip the selection if it spans outside the sheet
|
|
@@ -2696,13 +2754,14 @@ interface ZoneDependentCommand {
|
|
|
2696
2754
|
zone: Zone;
|
|
2697
2755
|
}
|
|
2698
2756
|
declare function isZoneDependent(cmd: CoreCommand): cmd is Extract<CoreCommand, ZoneDependentCommand>;
|
|
2699
|
-
declare const invalidateEvaluationCommands: Set<"ACTIVATE_SHEET" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "SET_BORDERS_ON_TARGET" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "COPY" | "CUT" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA" | "PAINT_FORMAT" | "DELETE_UNFILTERED_CONTENT" | "PIVOT_START_PRESENCE_TRACKING" | "PIVOT_STOP_PRESENCE_TRACKING" | "TOGGLE_CHECKBOX">;
|
|
2700
|
-
declare const invalidateChartEvaluationCommands: Set<"ACTIVATE_SHEET" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "SET_BORDERS_ON_TARGET" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "COPY" | "CUT" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA" | "PAINT_FORMAT" | "DELETE_UNFILTERED_CONTENT" | "PIVOT_START_PRESENCE_TRACKING" | "PIVOT_STOP_PRESENCE_TRACKING" | "TOGGLE_CHECKBOX">;
|
|
2701
|
-
declare const invalidateDependenciesCommands: Set<"ACTIVATE_SHEET" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "SET_BORDERS_ON_TARGET" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "COPY" | "CUT" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA" | "PAINT_FORMAT" | "DELETE_UNFILTERED_CONTENT" | "PIVOT_START_PRESENCE_TRACKING" | "PIVOT_STOP_PRESENCE_TRACKING" | "TOGGLE_CHECKBOX">;
|
|
2702
|
-
declare const invalidateCFEvaluationCommands: Set<"ACTIVATE_SHEET" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "SET_BORDERS_ON_TARGET" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "COPY" | "CUT" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA" | "PAINT_FORMAT" | "DELETE_UNFILTERED_CONTENT" | "PIVOT_START_PRESENCE_TRACKING" | "PIVOT_STOP_PRESENCE_TRACKING" | "TOGGLE_CHECKBOX">;
|
|
2703
|
-
declare const invalidateBordersCommands: Set<"ACTIVATE_SHEET" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "SET_BORDERS_ON_TARGET" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "COPY" | "CUT" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA" | "PAINT_FORMAT" | "DELETE_UNFILTERED_CONTENT" | "PIVOT_START_PRESENCE_TRACKING" | "PIVOT_STOP_PRESENCE_TRACKING" | "TOGGLE_CHECKBOX">;
|
|
2704
|
-
declare const
|
|
2705
|
-
declare const
|
|
2757
|
+
declare const invalidateEvaluationCommands: Set<"ACTIVATE_SHEET" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "CREATE_CAROUSEL" | "UPDATE_CAROUSEL" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "SET_BORDERS_ON_TARGET" | "CREATE_CHART" | "UPDATE_CHART" | "DELETE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "COPY" | "CUT" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA" | "PAINT_FORMAT" | "DELETE_UNFILTERED_CONTENT" | "PIVOT_START_PRESENCE_TRACKING" | "PIVOT_STOP_PRESENCE_TRACKING" | "TOGGLE_CHECKBOX" | "ADD_NEW_CHART_TO_CAROUSEL" | "ADD_FIGURE_CHART_TO_CAROUSEL" | "UPDATE_CAROUSEL_ACTIVE_ITEM">;
|
|
2758
|
+
declare const invalidateChartEvaluationCommands: Set<"ACTIVATE_SHEET" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "CREATE_CAROUSEL" | "UPDATE_CAROUSEL" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "SET_BORDERS_ON_TARGET" | "CREATE_CHART" | "UPDATE_CHART" | "DELETE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "COPY" | "CUT" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA" | "PAINT_FORMAT" | "DELETE_UNFILTERED_CONTENT" | "PIVOT_START_PRESENCE_TRACKING" | "PIVOT_STOP_PRESENCE_TRACKING" | "TOGGLE_CHECKBOX" | "ADD_NEW_CHART_TO_CAROUSEL" | "ADD_FIGURE_CHART_TO_CAROUSEL" | "UPDATE_CAROUSEL_ACTIVE_ITEM">;
|
|
2759
|
+
declare const invalidateDependenciesCommands: Set<"ACTIVATE_SHEET" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "CREATE_CAROUSEL" | "UPDATE_CAROUSEL" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "SET_BORDERS_ON_TARGET" | "CREATE_CHART" | "UPDATE_CHART" | "DELETE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "COPY" | "CUT" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA" | "PAINT_FORMAT" | "DELETE_UNFILTERED_CONTENT" | "PIVOT_START_PRESENCE_TRACKING" | "PIVOT_STOP_PRESENCE_TRACKING" | "TOGGLE_CHECKBOX" | "ADD_NEW_CHART_TO_CAROUSEL" | "ADD_FIGURE_CHART_TO_CAROUSEL" | "UPDATE_CAROUSEL_ACTIVE_ITEM">;
|
|
2760
|
+
declare const invalidateCFEvaluationCommands: Set<"ACTIVATE_SHEET" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "CREATE_CAROUSEL" | "UPDATE_CAROUSEL" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "SET_BORDERS_ON_TARGET" | "CREATE_CHART" | "UPDATE_CHART" | "DELETE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "COPY" | "CUT" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA" | "PAINT_FORMAT" | "DELETE_UNFILTERED_CONTENT" | "PIVOT_START_PRESENCE_TRACKING" | "PIVOT_STOP_PRESENCE_TRACKING" | "TOGGLE_CHECKBOX" | "ADD_NEW_CHART_TO_CAROUSEL" | "ADD_FIGURE_CHART_TO_CAROUSEL" | "UPDATE_CAROUSEL_ACTIVE_ITEM">;
|
|
2761
|
+
declare const invalidateBordersCommands: Set<"ACTIVATE_SHEET" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "CREATE_CAROUSEL" | "UPDATE_CAROUSEL" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "SET_BORDERS_ON_TARGET" | "CREATE_CHART" | "UPDATE_CHART" | "DELETE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "COPY" | "CUT" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA" | "PAINT_FORMAT" | "DELETE_UNFILTERED_CONTENT" | "PIVOT_START_PRESENCE_TRACKING" | "PIVOT_STOP_PRESENCE_TRACKING" | "TOGGLE_CHECKBOX" | "ADD_NEW_CHART_TO_CAROUSEL" | "ADD_FIGURE_CHART_TO_CAROUSEL" | "UPDATE_CAROUSEL_ACTIVE_ITEM">;
|
|
2762
|
+
declare const invalidSubtotalFormulasCommands: Set<"ACTIVATE_SHEET" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "CREATE_CAROUSEL" | "UPDATE_CAROUSEL" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "SET_BORDERS_ON_TARGET" | "CREATE_CHART" | "UPDATE_CHART" | "DELETE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "COPY" | "CUT" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA" | "PAINT_FORMAT" | "DELETE_UNFILTERED_CONTENT" | "PIVOT_START_PRESENCE_TRACKING" | "PIVOT_STOP_PRESENCE_TRACKING" | "TOGGLE_CHECKBOX" | "ADD_NEW_CHART_TO_CAROUSEL" | "ADD_FIGURE_CHART_TO_CAROUSEL" | "UPDATE_CAROUSEL_ACTIVE_ITEM">;
|
|
2763
|
+
declare const readonlyAllowedCommands: Set<"ACTIVATE_SHEET" | "UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "CREATE_CAROUSEL" | "UPDATE_CAROUSEL" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "SET_BORDERS_ON_TARGET" | "CREATE_CHART" | "UPDATE_CHART" | "DELETE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "COPY" | "CUT" | "PASTE" | "COPY_PASTE_CELLS_ABOVE" | "COPY_PASTE_CELLS_ON_LEFT" | "REPEAT_PASTE" | "CLEAN_CLIPBOARD_HIGHLIGHT" | "AUTOFILL_CELL" | "PASTE_FROM_OS_CLIPBOARD" | "AUTORESIZE_COLUMNS" | "AUTORESIZE_ROWS" | "MOVE_COLUMNS_ROWS" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "SORT_CELLS" | "SET_DECIMAL" | "SET_FORMATTING_WITH_PIVOT" | "RESIZE_SHEETVIEW" | "SUM_SELECTION" | "DELETE_CELL" | "INSERT_CELL" | "SET_VIEWPORT_OFFSET" | "SHIFT_VIEWPORT_DOWN" | "SHIFT_VIEWPORT_UP" | "SCROLL_TO_CELL" | "ACTIVATE_NEXT_SHEET" | "ACTIVATE_PREVIOUS_SHEET" | "UPDATE_FILTER" | "SPLIT_TEXT_INTO_COLUMNS" | "REMOVE_DUPLICATES" | "TRIM_WHITESPACE" | "RESIZE_TABLE" | "REFRESH_PIVOT" | "INSERT_NEW_PIVOT" | "DUPLICATE_PIVOT_IN_NEW_SHEET" | "INSERT_PIVOT_WITH_TABLE" | "SPLIT_PIVOT_FORMULA" | "PAINT_FORMAT" | "DELETE_UNFILTERED_CONTENT" | "PIVOT_START_PRESENCE_TRACKING" | "PIVOT_STOP_PRESENCE_TRACKING" | "TOGGLE_CHECKBOX" | "ADD_NEW_CHART_TO_CAROUSEL" | "ADD_FIGURE_CHART_TO_CAROUSEL" | "UPDATE_CAROUSEL_ACTIVE_ITEM">;
|
|
2764
|
+
declare const coreTypes: Set<"UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "CREATE_CAROUSEL" | "UPDATE_CAROUSEL" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "SET_BORDERS_ON_TARGET" | "CREATE_CHART" | "UPDATE_CHART" | "DELETE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT">;
|
|
2706
2765
|
declare function isCoreCommand(cmd: Command): cmd is CoreCommand;
|
|
2707
2766
|
declare function canExecuteInReadonly(cmd: Command): boolean;
|
|
2708
2767
|
interface UpdateCellCommand extends PositionDependentCommand {
|
|
@@ -2864,15 +2923,50 @@ interface BaseFigureCommand extends PositionDependentCommand {
|
|
|
2864
2923
|
offset: PixelPosition;
|
|
2865
2924
|
size: FigureSize;
|
|
2866
2925
|
}
|
|
2867
|
-
interface CreateChartCommand
|
|
2926
|
+
interface CreateChartCommand {
|
|
2868
2927
|
type: "CREATE_CHART";
|
|
2928
|
+
chartId: UID;
|
|
2869
2929
|
definition: ChartDefinition;
|
|
2930
|
+
sheetId: UID;
|
|
2931
|
+
figureId: UID;
|
|
2932
|
+
offset?: PixelPosition;
|
|
2933
|
+
size?: FigureSize;
|
|
2934
|
+
col?: number;
|
|
2935
|
+
row?: number;
|
|
2870
2936
|
}
|
|
2871
2937
|
interface UpdateChartCommand extends SheetDependentCommand {
|
|
2872
2938
|
type: "UPDATE_CHART";
|
|
2873
2939
|
figureId: UID;
|
|
2940
|
+
chartId: UID;
|
|
2874
2941
|
definition: ChartDefinition;
|
|
2875
2942
|
}
|
|
2943
|
+
interface DeleteChartCommand extends SheetDependentCommand {
|
|
2944
|
+
type: "DELETE_CHART";
|
|
2945
|
+
chartId: UID;
|
|
2946
|
+
}
|
|
2947
|
+
interface CreateCarouselCommand extends BaseFigureCommand {
|
|
2948
|
+
type: "CREATE_CAROUSEL";
|
|
2949
|
+
definition: Carousel;
|
|
2950
|
+
}
|
|
2951
|
+
interface UpdateCarouselCommand extends SheetDependentCommand {
|
|
2952
|
+
type: "UPDATE_CAROUSEL";
|
|
2953
|
+
figureId: UID;
|
|
2954
|
+
definition: Carousel;
|
|
2955
|
+
}
|
|
2956
|
+
interface AddNewChartToCarouselCommand extends SheetDependentCommand {
|
|
2957
|
+
type: "ADD_NEW_CHART_TO_CAROUSEL";
|
|
2958
|
+
figureId: UID;
|
|
2959
|
+
}
|
|
2960
|
+
interface AddFigureChartToCarouselCommand extends SheetDependentCommand {
|
|
2961
|
+
type: "ADD_FIGURE_CHART_TO_CAROUSEL";
|
|
2962
|
+
carouselFigureId: UID;
|
|
2963
|
+
chartFigureId: UID;
|
|
2964
|
+
}
|
|
2965
|
+
interface UpdateCarouselActiveItemCommand extends SheetDependentCommand {
|
|
2966
|
+
type: "UPDATE_CAROUSEL_ACTIVE_ITEM";
|
|
2967
|
+
figureId: UID;
|
|
2968
|
+
item: CarouselItem;
|
|
2969
|
+
}
|
|
2876
2970
|
interface CreateImageOverCommand extends BaseFigureCommand {
|
|
2877
2971
|
type: "CREATE_IMAGE";
|
|
2878
2972
|
definition: Image$1;
|
|
@@ -3100,6 +3194,7 @@ interface ActivateSheetCommand {
|
|
|
3100
3194
|
}
|
|
3101
3195
|
interface EvaluateCellsCommand {
|
|
3102
3196
|
type: "EVALUATE_CELLS";
|
|
3197
|
+
cellIds?: UID[];
|
|
3103
3198
|
}
|
|
3104
3199
|
interface EvaluateChartsCommand {
|
|
3105
3200
|
type: "EVALUATE_CHARTS";
|
|
@@ -3284,11 +3379,11 @@ UpdateCellCommand | UpdateCellPositionCommand | ClearCellCommand | ClearCellsCom
|
|
|
3284
3379
|
/** CONDITIONAL FORMAT */
|
|
3285
3380
|
| AddConditionalFormatCommand | RemoveConditionalFormatCommand | MoveConditionalFormatCommand
|
|
3286
3381
|
/** FIGURES */
|
|
3287
|
-
| CreateFigureCommand | DeleteFigureCommand | UpdateFigureCommand
|
|
3382
|
+
| CreateFigureCommand | DeleteFigureCommand | UpdateFigureCommand | CreateCarouselCommand | UpdateCarouselCommand
|
|
3288
3383
|
/** FORMATTING */
|
|
3289
3384
|
| SetFormattingCommand | ClearFormattingCommand | SetZoneBordersCommand | SetBorderCommand | SetBorderTargetCommand
|
|
3290
3385
|
/** CHART */
|
|
3291
|
-
| CreateChartCommand | UpdateChartCommand
|
|
3386
|
+
| CreateChartCommand | UpdateChartCommand | DeleteChartCommand
|
|
3292
3387
|
/** IMAGE */
|
|
3293
3388
|
| CreateImageOverCommand
|
|
3294
3389
|
/** FILTERS */
|
|
@@ -3301,7 +3396,7 @@ UpdateCellCommand | UpdateCellPositionCommand | ClearCellCommand | ClearCellsCom
|
|
|
3301
3396
|
| UpdateLocaleCommand
|
|
3302
3397
|
/** PIVOT */
|
|
3303
3398
|
| AddPivotCommand | UpdatePivotCommand | InsertPivotCommand | RenamePivotCommand | RemovePivotCommand | DuplicatePivotCommand;
|
|
3304
|
-
type LocalCommand = RequestUndoCommand | RequestRedoCommand | UndoCommand | RedoCommand | CopyCommand | CutCommand | PasteCommand | CopyPasteCellsAboveCommand | CopyPasteCellsOnLeftCommand | RepeatPasteCommand | CleanClipBoardHighlightCommand | AutoFillCellCommand | PasteFromOSClipboardCommand | AutoresizeColumnsCommand | AutoresizeRowsCommand | MoveColumnsRowsCommand | ActivateSheetCommand | EvaluateCellsCommand | EvaluateChartsCommand | StartChangeHighlightCommand | StartCommand | AutofillCommand | AutofillSelectCommand | AutofillTableCommand | ShowFormulaCommand | AutofillAutoCommand | SelectFigureCommand | ReplaceSearchCommand | SortCommand | SetDecimalCommand | SetContextualFormatCommand | ResizeViewportCommand | SumSelectionCommand | DeleteCellCommand | InsertCellCommand | SetViewportOffsetCommand | MoveViewportDownCommand | MoveViewportUpCommand | MoveViewportToCellCommand | ActivateNextSheetCommand | ActivatePreviousSheetCommand | UpdateFilterCommand | SplitTextIntoColumnsCommand | RemoveDuplicatesCommand | TrimWhitespaceCommand | ResizeTableCommand | RefreshPivotCommand | InsertNewPivotCommand | DuplicatePivotInNewSheetCommand | InsertPivotWithTableCommand | SplitPivotFormulaCommand | PaintFormat | DeleteUnfilteredContentCommand | PivotStartPresenceTracking | PivotStopPresenceTracking | ToggleCheckboxCommand;
|
|
3399
|
+
type LocalCommand = RequestUndoCommand | RequestRedoCommand | UndoCommand | RedoCommand | CopyCommand | CutCommand | PasteCommand | CopyPasteCellsAboveCommand | CopyPasteCellsOnLeftCommand | RepeatPasteCommand | CleanClipBoardHighlightCommand | AutoFillCellCommand | PasteFromOSClipboardCommand | AutoresizeColumnsCommand | AutoresizeRowsCommand | MoveColumnsRowsCommand | ActivateSheetCommand | EvaluateCellsCommand | EvaluateChartsCommand | StartChangeHighlightCommand | StartCommand | AutofillCommand | AutofillSelectCommand | AutofillTableCommand | ShowFormulaCommand | AutofillAutoCommand | SelectFigureCommand | ReplaceSearchCommand | SortCommand | SetDecimalCommand | SetContextualFormatCommand | ResizeViewportCommand | SumSelectionCommand | DeleteCellCommand | InsertCellCommand | SetViewportOffsetCommand | MoveViewportDownCommand | MoveViewportUpCommand | MoveViewportToCellCommand | ActivateNextSheetCommand | ActivatePreviousSheetCommand | UpdateFilterCommand | SplitTextIntoColumnsCommand | RemoveDuplicatesCommand | TrimWhitespaceCommand | ResizeTableCommand | RefreshPivotCommand | InsertNewPivotCommand | DuplicatePivotInNewSheetCommand | InsertPivotWithTableCommand | SplitPivotFormulaCommand | PaintFormat | DeleteUnfilteredContentCommand | PivotStartPresenceTracking | PivotStopPresenceTracking | ToggleCheckboxCommand | AddNewChartToCarouselCommand | AddFigureChartToCarouselCommand | UpdateCarouselActiveItemCommand;
|
|
3305
3400
|
type Command = CoreCommand | LocalCommand;
|
|
3306
3401
|
/**
|
|
3307
3402
|
* Holds the result of a command dispatch.
|
|
@@ -3327,6 +3422,7 @@ declare const enum CommandResult {
|
|
|
3327
3422
|
Success = "Success",
|
|
3328
3423
|
CancelledForUnknownReason = "CancelledForUnknownReason",
|
|
3329
3424
|
WillRemoveExistingMerge = "WillRemoveExistingMerge",
|
|
3425
|
+
CannotMoveTableHeader = "CannotMoveTableHeader",
|
|
3330
3426
|
MergeIsDestructive = "MergeIsDestructive",
|
|
3331
3427
|
CellIsMerged = "CellIsMerged",
|
|
3332
3428
|
InvalidTarget = "InvalidTarget",
|
|
@@ -3446,7 +3542,10 @@ declare const enum CommandResult {
|
|
|
3446
3542
|
ValueCellIsInvalidFormula = "ValueCellIsInvalidFormula",
|
|
3447
3543
|
InvalidDefinition = "InvalidDefinition",
|
|
3448
3544
|
InvalidColor = "InvalidColor",
|
|
3449
|
-
InvalidPivotDataSet = "InvalidPivotDataSet"
|
|
3545
|
+
InvalidPivotDataSet = "InvalidPivotDataSet",
|
|
3546
|
+
InvalidPivotCustomField = "InvalidPivotCustomField",
|
|
3547
|
+
MissingFigureArguments = "MissingFigureArguments",
|
|
3548
|
+
InvalidCarouselItem = "InvalidCarouselItem"
|
|
3450
3549
|
}
|
|
3451
3550
|
interface CommandHandler<T> {
|
|
3452
3551
|
allowDispatch(command: T): CommandResult | CommandResult[];
|
|
@@ -3557,10 +3656,6 @@ declare function convertAstNodes<T extends AST["type"]>(ast: AST, type: T, fn: (
|
|
|
3557
3656
|
type: T;
|
|
3558
3657
|
}>) => AST): AST;
|
|
3559
3658
|
declare function iterateAstNodes(ast: AST): AST[];
|
|
3560
|
-
/**
|
|
3561
|
-
* Converts an ast formula to the corresponding string
|
|
3562
|
-
*/
|
|
3563
|
-
declare function astToFormula(ast: AST): string;
|
|
3564
3659
|
|
|
3565
3660
|
declare function getFunctionsFromTokens(tokens: Token[], functionNames: string[]): {
|
|
3566
3661
|
functionName: string;
|
|
@@ -3699,7 +3794,7 @@ interface Border$1 {
|
|
|
3699
3794
|
right?: BorderDescr;
|
|
3700
3795
|
}
|
|
3701
3796
|
type ReferenceDenormalizer = (range: Range, isMeta: boolean, functionName: string, paramNumber: number) => FunctionResultObject;
|
|
3702
|
-
type EnsureRange = (range: Range) => Matrix<FunctionResultObject>;
|
|
3797
|
+
type EnsureRange = (range: Range, isMeta: boolean) => Matrix<FunctionResultObject>;
|
|
3703
3798
|
type GetSymbolValue = (symbolName: string) => Arg;
|
|
3704
3799
|
type FormulaToExecute = (deps: Range[], refFn: ReferenceDenormalizer, range: EnsureRange, getSymbolValue: GetSymbolValue, ctx: object) => Matrix<FunctionResultObject> | FunctionResultObject;
|
|
3705
3800
|
interface CompiledFormula {
|
|
@@ -3718,6 +3813,7 @@ type FunctionResultObject = {
|
|
|
3718
3813
|
format?: Format;
|
|
3719
3814
|
errorOriginPosition?: CellPosition;
|
|
3720
3815
|
message?: string;
|
|
3816
|
+
origin?: CellPosition;
|
|
3721
3817
|
};
|
|
3722
3818
|
type FunctionResultNumber = {
|
|
3723
3819
|
value: number;
|
|
@@ -3870,6 +3966,10 @@ interface GridClickModifiers {
|
|
|
3870
3966
|
type ComposerFocusType = "inactive" | "cellFocus" | "contentFocus";
|
|
3871
3967
|
type EditionMode = "editing" | "selecting" | "inactive";
|
|
3872
3968
|
type SortDirection = "asc" | "desc";
|
|
3969
|
+
interface ValueAndLabel<T = string> {
|
|
3970
|
+
value: T;
|
|
3971
|
+
label: string;
|
|
3972
|
+
}
|
|
3873
3973
|
|
|
3874
3974
|
type LocaleCode = string & Alias;
|
|
3875
3975
|
interface Locale {
|
|
@@ -4294,6 +4394,7 @@ interface SpreadsheetChildEnv extends NotificationStoreMethods {
|
|
|
4294
4394
|
imageProvider?: ImageProviderInterface;
|
|
4295
4395
|
isDashboard: () => boolean;
|
|
4296
4396
|
openSidePanel: (panel: string, panelProps?: any) => void;
|
|
4397
|
+
replaceSidePanel: (panel: string, currentPanel: string, panelProps?: any) => void;
|
|
4297
4398
|
toggleSidePanel: (panel: string, panelProps?: any) => void;
|
|
4298
4399
|
clipboard: ClipboardInterface;
|
|
4299
4400
|
startCellEdition: (content?: string) => void;
|
|
@@ -4545,6 +4646,21 @@ declare class BordersPlugin extends CorePlugin<BordersPluginState> implements Bo
|
|
|
4545
4646
|
exportForExcel(data: ExcelWorkbookData): void;
|
|
4546
4647
|
}
|
|
4547
4648
|
|
|
4649
|
+
interface CarouselState {
|
|
4650
|
+
readonly carousels: Record<UID, Record<UID, Carousel | undefined> | undefined>;
|
|
4651
|
+
}
|
|
4652
|
+
declare class CarouselPlugin extends CorePlugin<CarouselState> implements CarouselState {
|
|
4653
|
+
static getters: readonly ["getCarousel", "doesCarouselExist"];
|
|
4654
|
+
readonly carousels: Record<UID, Record<UID, Carousel | undefined> | undefined>;
|
|
4655
|
+
allowDispatch(cmd: CoreCommand): CommandResult.Success | CommandResult.InvalidFigureId | CommandResult.DuplicatedFigureId;
|
|
4656
|
+
handle(cmd: CoreCommand): void;
|
|
4657
|
+
doesCarouselExist(figureId: UID): boolean;
|
|
4658
|
+
getCarousel(figureId: UID): Carousel;
|
|
4659
|
+
private removeDeletedCharts;
|
|
4660
|
+
import(data: WorkbookData): void;
|
|
4661
|
+
export(data: WorkbookData): void;
|
|
4662
|
+
}
|
|
4663
|
+
|
|
4548
4664
|
interface CoreState$1 {
|
|
4549
4665
|
cells: Record<UID, Record<UID, Cell | undefined> | undefined>;
|
|
4550
4666
|
nextId: number;
|
|
@@ -4652,6 +4768,7 @@ declare abstract class AbstractChart {
|
|
|
4652
4768
|
readonly title: TitleDesign;
|
|
4653
4769
|
abstract readonly type: ChartType;
|
|
4654
4770
|
protected readonly getters: CoreGetters;
|
|
4771
|
+
readonly humanize: boolean;
|
|
4655
4772
|
constructor(definition: ChartDefinition, sheetId: UID, getters: CoreGetters);
|
|
4656
4773
|
/**
|
|
4657
4774
|
* Validate the chart definition given as arguments. This function will be
|
|
@@ -4675,7 +4792,7 @@ declare abstract class AbstractChart {
|
|
|
4675
4792
|
* Get the definition of the chart that will be used for excel export.
|
|
4676
4793
|
* If the chart is not supported by Excel, this function returns undefined.
|
|
4677
4794
|
*/
|
|
4678
|
-
abstract getDefinitionForExcel(): ExcelChartDefinition | undefined;
|
|
4795
|
+
abstract getDefinitionForExcel(getters: Getters): ExcelChartDefinition | undefined;
|
|
4679
4796
|
/**
|
|
4680
4797
|
* This function should be used to update all the ranges of the chart after
|
|
4681
4798
|
* a grid change (add/remove col/row, rename sheet, ...)
|
|
@@ -4695,30 +4812,34 @@ declare abstract class AbstractChart {
|
|
|
4695
4812
|
* Extract the ChartCreationContext of the chart
|
|
4696
4813
|
*/
|
|
4697
4814
|
abstract getContextCreation(): ChartCreationContext;
|
|
4815
|
+
protected getCommonDataSetAttributesForExcel(labelRange: Range | undefined, dataSets: DataSet[], shouldRemoveFirstLabel: boolean): {
|
|
4816
|
+
dataSets: ExcelChartDataset[];
|
|
4817
|
+
labelRange: string | undefined;
|
|
4818
|
+
};
|
|
4698
4819
|
}
|
|
4699
4820
|
|
|
4700
|
-
|
|
4701
|
-
|
|
4702
|
-
|
|
4703
|
-
|
|
4704
|
-
* */
|
|
4821
|
+
interface FigureChart {
|
|
4822
|
+
figureId: UID;
|
|
4823
|
+
chart: AbstractChart;
|
|
4824
|
+
}
|
|
4705
4825
|
interface ChartState {
|
|
4706
|
-
readonly charts: Record<UID,
|
|
4826
|
+
readonly charts: Record<UID, FigureChart | undefined>;
|
|
4707
4827
|
}
|
|
4708
4828
|
declare class ChartPlugin extends CorePlugin<ChartState> implements ChartState {
|
|
4709
|
-
static getters: readonly ["isChartDefined", "getChartDefinition", "getChartType", "getChartIds", "getChart", "getContextCreationChart"];
|
|
4710
|
-
readonly charts: Record<UID,
|
|
4829
|
+
static getters: readonly ["isChartDefined", "getChartDefinition", "getChartType", "getChartIds", "getChart", "getFigureIdFromChartId", "getContextCreationChart"];
|
|
4830
|
+
readonly charts: Record<UID, FigureChart | undefined>;
|
|
4711
4831
|
private createChart;
|
|
4712
4832
|
private validateChartDefinition;
|
|
4713
4833
|
adaptRanges(applyChange: ApplyRangeChange): void;
|
|
4714
4834
|
allowDispatch(cmd: Command): CommandResult | CommandResult[];
|
|
4715
4835
|
handle(cmd: CoreCommand): void;
|
|
4716
|
-
getContextCreationChart(
|
|
4717
|
-
getChart(
|
|
4718
|
-
|
|
4719
|
-
|
|
4836
|
+
getContextCreationChart(chartId: UID): ChartCreationContext | undefined;
|
|
4837
|
+
getChart(chartId: UID): AbstractChart | undefined;
|
|
4838
|
+
getFigureIdFromChartId(chartId: UID): UID;
|
|
4839
|
+
getChartType(chartId: UID): ChartType;
|
|
4840
|
+
isChartDefined(chartId: UID): boolean;
|
|
4720
4841
|
getChartIds(sheetId: UID): string[];
|
|
4721
|
-
getChartDefinition(
|
|
4842
|
+
getChartDefinition(chartId: UID): ChartDefinition;
|
|
4722
4843
|
import(data: WorkbookData): void;
|
|
4723
4844
|
export(data: WorkbookData): void;
|
|
4724
4845
|
/**
|
|
@@ -4733,6 +4854,8 @@ declare class ChartPlugin extends CorePlugin<ChartState> implements ChartState {
|
|
|
4733
4854
|
private checkChartDuplicate;
|
|
4734
4855
|
private checkChartExists;
|
|
4735
4856
|
private checkChartChanged;
|
|
4857
|
+
/** If the command is meant to create a new figure, the position & offset argument need to be defined in the command */
|
|
4858
|
+
private checkFigureArguments;
|
|
4736
4859
|
}
|
|
4737
4860
|
|
|
4738
4861
|
interface ConditionalFormatState {
|
|
@@ -5129,6 +5252,7 @@ declare class PivotCorePlugin extends CorePlugin<CoreState> implements CoreState
|
|
|
5129
5252
|
private replaceMeasureFormula;
|
|
5130
5253
|
private checkSortedColumnInMeasures;
|
|
5131
5254
|
private checkDuplicatedMeasureIds;
|
|
5255
|
+
private checkCustomFieldsAreValid;
|
|
5132
5256
|
/**
|
|
5133
5257
|
* Import the pivots
|
|
5134
5258
|
*/
|
|
@@ -5489,7 +5613,7 @@ declare class EvaluationChartPlugin extends CoreViewPlugin<EvaluationChartState>
|
|
|
5489
5613
|
charts: Record<UID, ChartRuntime | undefined>;
|
|
5490
5614
|
private createRuntimeChart;
|
|
5491
5615
|
handle(cmd: CoreViewCommand): void;
|
|
5492
|
-
getChartRuntime(
|
|
5616
|
+
getChartRuntime(chartId: UID): ChartRuntime;
|
|
5493
5617
|
/**
|
|
5494
5618
|
* Get the background and textColor of a chart based on the color of the first cell of the main range of the chart.
|
|
5495
5619
|
*/
|
|
@@ -5557,7 +5681,10 @@ declare class EvaluationDataValidationPlugin extends CoreViewPlugin {
|
|
|
5557
5681
|
* The value must be canonicalized.
|
|
5558
5682
|
*/
|
|
5559
5683
|
getDataValidationInvalidCriterionValueMessage(criterionType: DataValidationCriterionType, value: string): string | undefined;
|
|
5560
|
-
getDataValidationRangeValues(sheetId: UID, criterion: EvaluatedCriterion):
|
|
5684
|
+
getDataValidationRangeValues(sheetId: UID, criterion: EvaluatedCriterion): {
|
|
5685
|
+
value: string;
|
|
5686
|
+
label: string;
|
|
5687
|
+
}[];
|
|
5561
5688
|
isCellValidCheckbox(cellPosition: CellPosition): boolean;
|
|
5562
5689
|
/** Get the validation result if the cell on the given position had the given value */
|
|
5563
5690
|
getValidationResultForCellValue(cellValue: CellValue, cellPosition: CellPosition): ValidationResult;
|
|
@@ -5689,6 +5816,7 @@ declare class HeaderSizeUIPlugin extends CoreViewPlugin<HeaderSizeState> impleme
|
|
|
5689
5816
|
static getters: readonly ["getRowSize", "getHeaderSize", "getMaxAnchorOffset"];
|
|
5690
5817
|
readonly tallestCellInRow: Immutable<Record<UID, Array<CellWithSize | undefined>>>;
|
|
5691
5818
|
private ctx;
|
|
5819
|
+
beforeHandle(cmd: Command): void;
|
|
5692
5820
|
handle(cmd: Command): void;
|
|
5693
5821
|
getRowSize(sheetId: UID, row: HeaderIndex): Pixel;
|
|
5694
5822
|
getMaxAnchorOffset(sheetId: UID, height: Pixel, width: Pixel): AnchorOffset;
|
|
@@ -5718,9 +5846,13 @@ declare class PivotRuntimeDefinition {
|
|
|
5718
5846
|
readonly rows: PivotDimension$1[];
|
|
5719
5847
|
readonly sortedColumn?: PivotSortedColumn;
|
|
5720
5848
|
readonly collapsedDomains?: PivotCollapsedDomains;
|
|
5849
|
+
readonly customFields?: Record<string, PivotCustomGroupedField>;
|
|
5721
5850
|
constructor(definition: CommonPivotCoreDefinition, fields: PivotFields);
|
|
5722
5851
|
getDimension(nameWithGranularity: string): PivotDimension$1;
|
|
5723
5852
|
getMeasure(id: string): PivotMeasure;
|
|
5853
|
+
get invalidAggregatorsForCustomField(): string[];
|
|
5854
|
+
private createMeasure;
|
|
5855
|
+
private createPivotDimension;
|
|
5724
5856
|
}
|
|
5725
5857
|
|
|
5726
5858
|
interface CollapsiblePivotTableColumn extends PivotTableColumn {
|
|
@@ -5807,6 +5939,7 @@ declare class SpreadsheetPivotTable {
|
|
|
5807
5939
|
};
|
|
5808
5940
|
sort(measure: string, sortedColumn: PivotSortedColumn, getValue: (measure: string, domain: PivotDomain) => FunctionResultObject): void;
|
|
5809
5941
|
private rowTreeToRows;
|
|
5942
|
+
get numberOfCells(): number;
|
|
5810
5943
|
}
|
|
5811
5944
|
|
|
5812
5945
|
interface InitPivotParams {
|
|
@@ -5835,6 +5968,7 @@ interface Pivot<T = PivotRuntimeDefinition> {
|
|
|
5835
5968
|
label: string;
|
|
5836
5969
|
}[];
|
|
5837
5970
|
needsReevaluation: boolean;
|
|
5971
|
+
markAsDirtyForEvaluation?(): void;
|
|
5838
5972
|
}
|
|
5839
5973
|
|
|
5840
5974
|
declare class PivotUIPlugin extends CoreViewPlugin {
|
|
@@ -6267,6 +6401,11 @@ declare class SplitToColumnsPlugin extends UIPlugin {
|
|
|
6267
6401
|
private checkSeparatorInSelection;
|
|
6268
6402
|
}
|
|
6269
6403
|
|
|
6404
|
+
declare class SubtotalEvaluationPlugin extends UIPlugin {
|
|
6405
|
+
private subtotalCells;
|
|
6406
|
+
handle(cmd: Command): void;
|
|
6407
|
+
}
|
|
6408
|
+
|
|
6270
6409
|
declare class TableComputedStylePlugin extends UIPlugin {
|
|
6271
6410
|
static getters: readonly ["getCellTableStyle", "getCellTableBorder"];
|
|
6272
6411
|
private tableStyles;
|
|
@@ -6287,6 +6426,21 @@ declare class TableComputedStylePlugin extends UIPlugin {
|
|
|
6287
6426
|
private getTableMapping;
|
|
6288
6427
|
}
|
|
6289
6428
|
|
|
6429
|
+
declare class CarouselUIPlugin extends UIPlugin {
|
|
6430
|
+
static getters: readonly ["getSelectedCarouselItem", "getChartFromFigureId", "getChartIdFromFigureId"];
|
|
6431
|
+
private uuidGenerator;
|
|
6432
|
+
carouselStates: Record<UID, string | undefined>;
|
|
6433
|
+
allowDispatch(cmd: LocalCommand): CommandResult | CommandResult[];
|
|
6434
|
+
handle(cmd: Command): void;
|
|
6435
|
+
getSelectedCarouselItem(figureId: UID): CarouselItem | undefined;
|
|
6436
|
+
getChartFromFigureId(figureId: UID): AbstractChart | undefined;
|
|
6437
|
+
getChartIdFromFigureId(figureId: UID): UID | undefined;
|
|
6438
|
+
private fixWrongCarouselState;
|
|
6439
|
+
private addNewChartToCarousel;
|
|
6440
|
+
private addFigureChartToCarousel;
|
|
6441
|
+
private getCarouselItemId;
|
|
6442
|
+
}
|
|
6443
|
+
|
|
6290
6444
|
declare class HeaderPositionsUIPlugin extends UIPlugin {
|
|
6291
6445
|
static getters: readonly ["getColDimensions", "getRowDimensions", "getColRowOffset"];
|
|
6292
6446
|
private headerPositions;
|
|
@@ -6367,13 +6521,13 @@ type PluginGetters<Plugin extends {
|
|
|
6367
6521
|
getters: readonly string[];
|
|
6368
6522
|
}> = Pick<InstanceType<Plugin>, GetterNames<Plugin>>;
|
|
6369
6523
|
type RangeAdapterGetters = Pick<RangeAdapter, GetterNames<typeof RangeAdapter>>;
|
|
6370
|
-
type CoreGetters = PluginGetters<typeof SheetPlugin> & PluginGetters<typeof HeaderSizePlugin> & PluginGetters<typeof HeaderVisibilityPlugin> & PluginGetters<typeof CellPlugin> & PluginGetters<typeof MergePlugin> & PluginGetters<typeof BordersPlugin> & PluginGetters<typeof ChartPlugin> & PluginGetters<typeof ImagePlugin> & PluginGetters<typeof FigurePlugin> & RangeAdapterGetters & PluginGetters<typeof ConditionalFormatPlugin> & PluginGetters<typeof TablePlugin> & PluginGetters<typeof SettingsPlugin> & PluginGetters<typeof HeaderGroupingPlugin> & PluginGetters<typeof DataValidationPlugin> & PluginGetters<typeof PivotCorePlugin>;
|
|
6524
|
+
type CoreGetters = PluginGetters<typeof SheetPlugin> & PluginGetters<typeof HeaderSizePlugin> & PluginGetters<typeof HeaderVisibilityPlugin> & PluginGetters<typeof CellPlugin> & PluginGetters<typeof MergePlugin> & PluginGetters<typeof BordersPlugin> & PluginGetters<typeof ChartPlugin> & PluginGetters<typeof ImagePlugin> & PluginGetters<typeof CarouselPlugin> & PluginGetters<typeof FigurePlugin> & RangeAdapterGetters & PluginGetters<typeof ConditionalFormatPlugin> & PluginGetters<typeof TablePlugin> & PluginGetters<typeof SettingsPlugin> & PluginGetters<typeof HeaderGroupingPlugin> & PluginGetters<typeof DataValidationPlugin> & PluginGetters<typeof PivotCorePlugin>;
|
|
6371
6525
|
type Getters = {
|
|
6372
6526
|
isReadonly: () => boolean;
|
|
6373
6527
|
isDashboard: () => boolean;
|
|
6374
|
-
} & CoreGetters & PluginGetters<typeof AutofillPlugin> & PluginGetters<typeof AutomaticSumPlugin> & PluginGetters<typeof HistoryPlugin> & PluginGetters<typeof ClipboardPlugin> & PluginGetters<typeof EvaluationPlugin> & PluginGetters<typeof EvaluationChartPlugin> & PluginGetters<typeof EvaluationConditionalFormatPlugin> & PluginGetters<typeof HeaderVisibilityUIPlugin> & PluginGetters<typeof CustomColorsPlugin> & PluginGetters<typeof AutomaticSumPlugin> & PluginGetters<typeof GridSelectionPlugin> & PluginGetters<typeof CollaborativePlugin> & PluginGetters<typeof SortPlugin> & PluginGetters<typeof UIOptionsPlugin> & PluginGetters<typeof SheetUIPlugin> & PluginGetters<typeof SheetViewPlugin> & PluginGetters<typeof FilterEvaluationPlugin> & PluginGetters<typeof SplitToColumnsPlugin> & PluginGetters<typeof HeaderSizeUIPlugin> & PluginGetters<typeof EvaluationDataValidationPlugin> & PluginGetters<typeof HeaderPositionsUIPlugin> & PluginGetters<typeof TableStylePlugin> & PluginGetters<typeof CellComputedStylePlugin> & PluginGetters<typeof DynamicTablesPlugin> & PluginGetters<typeof PivotUIPlugin> & PluginGetters<typeof TableComputedStylePlugin> & PluginGetters<typeof GeoFeaturePlugin> & PluginGetters<typeof PivotPresencePlugin> & PluginGetters<typeof TableComputedStylePlugin> & PluginGetters<typeof CheckboxTogglePlugin> & PluginGetters<typeof CellIconPlugin>;
|
|
6528
|
+
} & CoreGetters & PluginGetters<typeof AutofillPlugin> & PluginGetters<typeof AutomaticSumPlugin> & PluginGetters<typeof HistoryPlugin> & PluginGetters<typeof ClipboardPlugin> & PluginGetters<typeof EvaluationPlugin> & PluginGetters<typeof EvaluationChartPlugin> & PluginGetters<typeof EvaluationConditionalFormatPlugin> & PluginGetters<typeof HeaderVisibilityUIPlugin> & PluginGetters<typeof CustomColorsPlugin> & PluginGetters<typeof AutomaticSumPlugin> & PluginGetters<typeof GridSelectionPlugin> & PluginGetters<typeof CollaborativePlugin> & PluginGetters<typeof SortPlugin> & PluginGetters<typeof UIOptionsPlugin> & PluginGetters<typeof SheetUIPlugin> & PluginGetters<typeof SheetViewPlugin> & PluginGetters<typeof FilterEvaluationPlugin> & PluginGetters<typeof SplitToColumnsPlugin> & PluginGetters<typeof SubtotalEvaluationPlugin> & PluginGetters<typeof HeaderSizeUIPlugin> & PluginGetters<typeof EvaluationDataValidationPlugin> & PluginGetters<typeof HeaderPositionsUIPlugin> & PluginGetters<typeof TableStylePlugin> & PluginGetters<typeof CellComputedStylePlugin> & PluginGetters<typeof DynamicTablesPlugin> & PluginGetters<typeof PivotUIPlugin> & PluginGetters<typeof TableComputedStylePlugin> & PluginGetters<typeof GeoFeaturePlugin> & PluginGetters<typeof PivotPresencePlugin> & PluginGetters<typeof TableComputedStylePlugin> & PluginGetters<typeof CheckboxTogglePlugin> & PluginGetters<typeof CellIconPlugin> & PluginGetters<typeof CarouselUIPlugin>;
|
|
6375
6529
|
|
|
6376
|
-
type ArgType = "ANY" | "BOOLEAN" | "NUMBER" | "STRING" | "DATE" | "RANGE" | "RANGE<BOOLEAN>" | "RANGE<NUMBER>" | "RANGE<DATE>" | "RANGE<STRING>" | "RANGE<ANY>" | "META";
|
|
6530
|
+
type ArgType = "ANY" | "BOOLEAN" | "NUMBER" | "STRING" | "DATE" | "RANGE" | "RANGE<BOOLEAN>" | "RANGE<NUMBER>" | "RANGE<DATE>" | "RANGE<STRING>" | "RANGE<ANY>" | "META" | "RANGE<META>";
|
|
6377
6531
|
interface ArgDefinition {
|
|
6378
6532
|
acceptMatrix?: boolean;
|
|
6379
6533
|
acceptMatrixOnly?: boolean;
|
|
@@ -6750,11 +6904,11 @@ interface PivotRegistryItem {
|
|
|
6750
6904
|
ui: PivotUIConstructor;
|
|
6751
6905
|
definition: PivotDefinitionConstructor;
|
|
6752
6906
|
externalData: boolean;
|
|
6753
|
-
onIterationEndEvaluation: (pivot: Pivot) => void;
|
|
6754
6907
|
dateGranularities: string[];
|
|
6755
6908
|
datetimeGranularities: string[];
|
|
6756
6909
|
isMeasureCandidate: (field: PivotField) => boolean;
|
|
6757
6910
|
isGroupable: (field: PivotField) => boolean;
|
|
6911
|
+
canHaveCustomGroup: (field: PivotField) => boolean;
|
|
6758
6912
|
}
|
|
6759
6913
|
|
|
6760
6914
|
declare class ClipboardHandler<T> {
|
|
@@ -7002,7 +7156,7 @@ interface ChartSubtypeProperties {
|
|
|
7002
7156
|
preview: string;
|
|
7003
7157
|
}
|
|
7004
7158
|
|
|
7005
|
-
interface Props$
|
|
7159
|
+
interface Props$1q {
|
|
7006
7160
|
label?: string;
|
|
7007
7161
|
value: boolean;
|
|
7008
7162
|
className?: string;
|
|
@@ -7011,7 +7165,7 @@ interface Props$1j {
|
|
|
7011
7165
|
disabled?: boolean;
|
|
7012
7166
|
onChange: (value: boolean) => void;
|
|
7013
7167
|
}
|
|
7014
|
-
declare class Checkbox extends Component<Props$
|
|
7168
|
+
declare class Checkbox extends Component<Props$1q, SpreadsheetChildEnv> {
|
|
7015
7169
|
static template: string;
|
|
7016
7170
|
static props: {
|
|
7017
7171
|
label: {
|
|
@@ -7046,10 +7200,10 @@ declare class Checkbox extends Component<Props$1j, SpreadsheetChildEnv> {
|
|
|
7046
7200
|
onChange(ev: InputEvent): void;
|
|
7047
7201
|
}
|
|
7048
7202
|
|
|
7049
|
-
interface Props$
|
|
7203
|
+
interface Props$1p {
|
|
7050
7204
|
class?: string;
|
|
7051
7205
|
}
|
|
7052
|
-
declare class Section extends Component<Props$
|
|
7206
|
+
declare class Section extends Component<Props$1p, SpreadsheetChildEnv> {
|
|
7053
7207
|
static template: string;
|
|
7054
7208
|
static props: {
|
|
7055
7209
|
class: {
|
|
@@ -7214,7 +7368,7 @@ declare class SelectionInputStore extends SpreadsheetStore {
|
|
|
7214
7368
|
getIndex(rangeId: number | null): number | null;
|
|
7215
7369
|
}
|
|
7216
7370
|
|
|
7217
|
-
interface Props$
|
|
7371
|
+
interface Props$1o {
|
|
7218
7372
|
ranges: string[];
|
|
7219
7373
|
hasSingleRange?: boolean;
|
|
7220
7374
|
required?: boolean;
|
|
@@ -7242,7 +7396,7 @@ interface SelectionRange extends Omit<RangeInputValue, "color"> {
|
|
|
7242
7396
|
* onSelectionChanged is called every time the input value
|
|
7243
7397
|
* changes.
|
|
7244
7398
|
*/
|
|
7245
|
-
declare class SelectionInput extends Component<Props$
|
|
7399
|
+
declare class SelectionInput extends Component<Props$1o, SpreadsheetChildEnv> {
|
|
7246
7400
|
static template: string;
|
|
7247
7401
|
static props: {
|
|
7248
7402
|
ranges: ArrayConstructor;
|
|
@@ -7319,7 +7473,7 @@ declare class SelectionInput extends Component<Props$1h, SpreadsheetChildEnv> {
|
|
|
7319
7473
|
confirm(): void;
|
|
7320
7474
|
}
|
|
7321
7475
|
|
|
7322
|
-
interface Props$
|
|
7476
|
+
interface Props$1n {
|
|
7323
7477
|
ranges: CustomizedDataSet[];
|
|
7324
7478
|
hasSingleRange?: boolean;
|
|
7325
7479
|
onSelectionChanged: (ranges: string[]) => void;
|
|
@@ -7332,7 +7486,7 @@ interface Props$1g {
|
|
|
7332
7486
|
canChangeDatasetOrientation?: boolean;
|
|
7333
7487
|
onFlipAxis?: (structure: string) => void;
|
|
7334
7488
|
}
|
|
7335
|
-
declare class ChartDataSeries extends Component<Props$
|
|
7489
|
+
declare class ChartDataSeries extends Component<Props$1n, SpreadsheetChildEnv> {
|
|
7336
7490
|
static template: string;
|
|
7337
7491
|
static components: {
|
|
7338
7492
|
SelectionInput: typeof SelectionInput;
|
|
@@ -7381,12 +7535,12 @@ declare class ChartDataSeries extends Component<Props$1g, SpreadsheetChildEnv> {
|
|
|
7381
7535
|
get title(): string;
|
|
7382
7536
|
}
|
|
7383
7537
|
|
|
7384
|
-
interface Props$
|
|
7538
|
+
interface Props$1m {
|
|
7385
7539
|
messages: string[];
|
|
7386
7540
|
msgType: "warning" | "error" | "info";
|
|
7387
7541
|
singleBox?: boolean;
|
|
7388
7542
|
}
|
|
7389
|
-
declare class ValidationMessages extends Component<Props$
|
|
7543
|
+
declare class ValidationMessages extends Component<Props$1m, SpreadsheetChildEnv> {
|
|
7390
7544
|
static template: string;
|
|
7391
7545
|
static props: {
|
|
7392
7546
|
messages: ArrayConstructor;
|
|
@@ -7400,10 +7554,10 @@ declare class ValidationMessages extends Component<Props$1f, SpreadsheetChildEnv
|
|
|
7400
7554
|
get alertBoxes(): string[][];
|
|
7401
7555
|
}
|
|
7402
7556
|
|
|
7403
|
-
interface Props$
|
|
7557
|
+
interface Props$1l {
|
|
7404
7558
|
messages: string[];
|
|
7405
7559
|
}
|
|
7406
|
-
declare class ChartErrorSection extends Component<Props$
|
|
7560
|
+
declare class ChartErrorSection extends Component<Props$1l, SpreadsheetChildEnv> {
|
|
7407
7561
|
static template: string;
|
|
7408
7562
|
static components: {
|
|
7409
7563
|
Section: typeof Section;
|
|
@@ -7417,7 +7571,7 @@ declare class ChartErrorSection extends Component<Props$1e, SpreadsheetChildEnv>
|
|
|
7417
7571
|
};
|
|
7418
7572
|
}
|
|
7419
7573
|
|
|
7420
|
-
interface Props$
|
|
7574
|
+
interface Props$1k {
|
|
7421
7575
|
title?: string;
|
|
7422
7576
|
range: string;
|
|
7423
7577
|
isInvalid: boolean;
|
|
@@ -7430,7 +7584,7 @@ interface Props$1d {
|
|
|
7430
7584
|
onChange: (value: boolean) => void;
|
|
7431
7585
|
}>;
|
|
7432
7586
|
}
|
|
7433
|
-
declare class ChartLabelRange extends Component<Props$
|
|
7587
|
+
declare class ChartLabelRange extends Component<Props$1k, SpreadsheetChildEnv> {
|
|
7434
7588
|
static template: string;
|
|
7435
7589
|
static components: {
|
|
7436
7590
|
SelectionInput: typeof SelectionInput;
|
|
@@ -7451,20 +7605,20 @@ declare class ChartLabelRange extends Component<Props$1d, SpreadsheetChildEnv> {
|
|
|
7451
7605
|
optional: boolean;
|
|
7452
7606
|
};
|
|
7453
7607
|
};
|
|
7454
|
-
static defaultProps: Partial<Props$
|
|
7608
|
+
static defaultProps: Partial<Props$1k>;
|
|
7455
7609
|
}
|
|
7456
7610
|
|
|
7457
|
-
interface Props$
|
|
7458
|
-
|
|
7611
|
+
interface Props$1j {
|
|
7612
|
+
chartId: UID;
|
|
7459
7613
|
definition: ChartWithDataSetDefinition;
|
|
7460
|
-
canUpdateChart: (
|
|
7461
|
-
updateChart: (
|
|
7614
|
+
canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
7615
|
+
updateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
7462
7616
|
}
|
|
7463
7617
|
interface ChartPanelState {
|
|
7464
7618
|
datasetDispatchResult?: DispatchResult;
|
|
7465
7619
|
labelsDispatchResult?: DispatchResult;
|
|
7466
7620
|
}
|
|
7467
|
-
declare class GenericChartConfigPanel extends Component<Props$
|
|
7621
|
+
declare class GenericChartConfigPanel extends Component<Props$1j, SpreadsheetChildEnv> {
|
|
7468
7622
|
static template: string;
|
|
7469
7623
|
static components: {
|
|
7470
7624
|
ChartDataSeries: typeof ChartDataSeries;
|
|
@@ -7474,7 +7628,7 @@ declare class GenericChartConfigPanel extends Component<Props$1c, SpreadsheetChi
|
|
|
7474
7628
|
ChartErrorSection: typeof ChartErrorSection;
|
|
7475
7629
|
};
|
|
7476
7630
|
static props: {
|
|
7477
|
-
|
|
7631
|
+
chartId: StringConstructor;
|
|
7478
7632
|
definition: ObjectConstructor;
|
|
7479
7633
|
updateChart: FunctionConstructor;
|
|
7480
7634
|
canUpdateChart: FunctionConstructor;
|
|
@@ -7533,11 +7687,11 @@ declare class BarConfigPanel extends GenericChartConfigPanel {
|
|
|
7533
7687
|
onUpdateStacked(stacked: boolean): void;
|
|
7534
7688
|
}
|
|
7535
7689
|
|
|
7536
|
-
interface Props$
|
|
7690
|
+
interface Props$1i {
|
|
7537
7691
|
isCollapsed: boolean;
|
|
7538
7692
|
slots: any;
|
|
7539
7693
|
}
|
|
7540
|
-
declare class Collapse extends Component<Props$
|
|
7694
|
+
declare class Collapse extends Component<Props$1i, SpreadsheetChildEnv> {
|
|
7541
7695
|
static template: string;
|
|
7542
7696
|
static props: {
|
|
7543
7697
|
isCollapsed: BooleanConstructor;
|
|
@@ -7576,12 +7730,12 @@ interface Choice$1 {
|
|
|
7576
7730
|
value: string;
|
|
7577
7731
|
label: string;
|
|
7578
7732
|
}
|
|
7579
|
-
interface Props$
|
|
7733
|
+
interface Props$1h {
|
|
7580
7734
|
choices: Choice$1[];
|
|
7581
7735
|
onChange: (value: string) => void;
|
|
7582
7736
|
selectedValue: string;
|
|
7583
7737
|
}
|
|
7584
|
-
declare class BadgeSelection extends Component<Props$
|
|
7738
|
+
declare class BadgeSelection extends Component<Props$1h, SpreadsheetChildEnv> {
|
|
7585
7739
|
static template: string;
|
|
7586
7740
|
static props: {
|
|
7587
7741
|
choices: ArrayConstructor;
|
|
@@ -7590,14 +7744,14 @@ declare class BadgeSelection extends Component<Props$1a, SpreadsheetChildEnv> {
|
|
|
7590
7744
|
};
|
|
7591
7745
|
}
|
|
7592
7746
|
|
|
7593
|
-
interface Props$
|
|
7747
|
+
interface Props$1g {
|
|
7594
7748
|
action: ActionSpec;
|
|
7595
7749
|
hasTriangleDownIcon?: boolean;
|
|
7596
7750
|
selectedColor?: string;
|
|
7597
7751
|
class?: string;
|
|
7598
7752
|
onClick?: (ev: MouseEvent) => void;
|
|
7599
7753
|
}
|
|
7600
|
-
declare class ActionButton extends Component<Props$
|
|
7754
|
+
declare class ActionButton extends Component<Props$1g, SpreadsheetChildEnv> {
|
|
7601
7755
|
static template: string;
|
|
7602
7756
|
static props: {
|
|
7603
7757
|
action: ObjectConstructor;
|
|
@@ -7784,7 +7938,7 @@ declare class ColorPicker extends Component<ColorPickerProps, SpreadsheetChildEn
|
|
|
7784
7938
|
isSameColor(color1: Color, color2: Color): boolean;
|
|
7785
7939
|
}
|
|
7786
7940
|
|
|
7787
|
-
interface Props$
|
|
7941
|
+
interface Props$1f {
|
|
7788
7942
|
currentColor: string | undefined;
|
|
7789
7943
|
toggleColorPicker: () => void;
|
|
7790
7944
|
showColorPicker: boolean;
|
|
@@ -7795,7 +7949,7 @@ interface Props$18 {
|
|
|
7795
7949
|
dropdownMaxHeight?: Pixel;
|
|
7796
7950
|
class?: string;
|
|
7797
7951
|
}
|
|
7798
|
-
declare class ColorPickerWidget extends Component<Props$
|
|
7952
|
+
declare class ColorPickerWidget extends Component<Props$1f, SpreadsheetChildEnv> {
|
|
7799
7953
|
static template: string;
|
|
7800
7954
|
static props: {
|
|
7801
7955
|
currentColor: {
|
|
@@ -7856,14 +8010,14 @@ declare class CellPopoverStore extends SpreadsheetStore {
|
|
|
7856
8010
|
interface State$5 {
|
|
7857
8011
|
isOpen: boolean;
|
|
7858
8012
|
}
|
|
7859
|
-
interface Props$
|
|
8013
|
+
interface Props$1e {
|
|
7860
8014
|
currentFontSize: number;
|
|
7861
8015
|
class: string;
|
|
7862
8016
|
onFontSizeChanged: (fontSize: number) => void;
|
|
7863
8017
|
onToggle?: () => void;
|
|
7864
8018
|
onFocusInput?: () => void;
|
|
7865
8019
|
}
|
|
7866
|
-
declare class FontSizeEditor extends Component<Props$
|
|
8020
|
+
declare class FontSizeEditor extends Component<Props$1e, SpreadsheetChildEnv> {
|
|
7867
8021
|
static template: string;
|
|
7868
8022
|
static props: {
|
|
7869
8023
|
currentFontSize: NumberConstructor;
|
|
@@ -7901,7 +8055,7 @@ declare class FontSizeEditor extends Component<Props$17, SpreadsheetChildEnv> {
|
|
|
7901
8055
|
onInputKeydown(ev: KeyboardEvent): void;
|
|
7902
8056
|
}
|
|
7903
8057
|
|
|
7904
|
-
interface Props$
|
|
8058
|
+
interface Props$1d {
|
|
7905
8059
|
class?: string;
|
|
7906
8060
|
style: ChartStyle;
|
|
7907
8061
|
updateStyle: (style: ChartStyle) => void;
|
|
@@ -7910,7 +8064,7 @@ interface Props$16 {
|
|
|
7910
8064
|
hasHorizontalAlign?: boolean;
|
|
7911
8065
|
hasBackgroundColor?: boolean;
|
|
7912
8066
|
}
|
|
7913
|
-
declare class TextStyler extends Component<Props$
|
|
8067
|
+
declare class TextStyler extends Component<Props$1d, SpreadsheetChildEnv> {
|
|
7914
8068
|
static template: string;
|
|
7915
8069
|
static components: {
|
|
7916
8070
|
ColorPickerWidget: typeof ColorPickerWidget;
|
|
@@ -7978,7 +8132,7 @@ declare class TextStyler extends Component<Props$16, SpreadsheetChildEnv> {
|
|
|
7978
8132
|
get verticalAlignActions(): ActionSpec[];
|
|
7979
8133
|
}
|
|
7980
8134
|
|
|
7981
|
-
interface Props$
|
|
8135
|
+
interface Props$1c {
|
|
7982
8136
|
title?: string;
|
|
7983
8137
|
placeholder?: string;
|
|
7984
8138
|
updateTitle: (title: string) => void;
|
|
@@ -7987,7 +8141,7 @@ interface Props$15 {
|
|
|
7987
8141
|
defaultStyle?: Partial<TitleDesign>;
|
|
7988
8142
|
updateStyle: (style: TitleDesign) => void;
|
|
7989
8143
|
}
|
|
7990
|
-
declare class ChartTitle extends Component<Props$
|
|
8144
|
+
declare class ChartTitle extends Component<Props$1c, SpreadsheetChildEnv> {
|
|
7991
8145
|
static template: string;
|
|
7992
8146
|
static components: {
|
|
7993
8147
|
Section: typeof Section;
|
|
@@ -8024,13 +8178,13 @@ interface AxisDefinition {
|
|
|
8024
8178
|
id: string;
|
|
8025
8179
|
name: string;
|
|
8026
8180
|
}
|
|
8027
|
-
interface Props$
|
|
8028
|
-
|
|
8181
|
+
interface Props$1b {
|
|
8182
|
+
chartId: UID;
|
|
8029
8183
|
definition: ChartWithAxisDefinition;
|
|
8030
|
-
updateChart: (
|
|
8184
|
+
updateChart: (chartId: UID, definition: Partial<ChartWithAxisDefinition>) => DispatchResult;
|
|
8031
8185
|
axesList: AxisDefinition[];
|
|
8032
8186
|
}
|
|
8033
|
-
declare class AxisDesignEditor extends Component<Props$
|
|
8187
|
+
declare class AxisDesignEditor extends Component<Props$1b, SpreadsheetChildEnv> {
|
|
8034
8188
|
static template: string;
|
|
8035
8189
|
static components: {
|
|
8036
8190
|
Section: typeof Section;
|
|
@@ -8038,7 +8192,7 @@ declare class AxisDesignEditor extends Component<Props$14, SpreadsheetChildEnv>
|
|
|
8038
8192
|
BadgeSelection: typeof BadgeSelection;
|
|
8039
8193
|
};
|
|
8040
8194
|
static props: {
|
|
8041
|
-
|
|
8195
|
+
chartId: StringConstructor;
|
|
8042
8196
|
definition: ObjectConstructor;
|
|
8043
8197
|
updateChart: FunctionConstructor;
|
|
8044
8198
|
axesList: ArrayConstructor;
|
|
@@ -8062,14 +8216,14 @@ interface Choice {
|
|
|
8062
8216
|
value: unknown;
|
|
8063
8217
|
label: string;
|
|
8064
8218
|
}
|
|
8065
|
-
interface Props$
|
|
8219
|
+
interface Props$1a {
|
|
8066
8220
|
choices: Choice[];
|
|
8067
8221
|
onChange: (value: unknown) => void;
|
|
8068
8222
|
selectedValue: string;
|
|
8069
8223
|
name: string;
|
|
8070
8224
|
direction: "horizontal" | "vertical";
|
|
8071
8225
|
}
|
|
8072
|
-
declare class RadioSelection extends Component<Props$
|
|
8226
|
+
declare class RadioSelection extends Component<Props$1a, SpreadsheetChildEnv> {
|
|
8073
8227
|
static template: string;
|
|
8074
8228
|
static props: {
|
|
8075
8229
|
choices: ArrayConstructor;
|
|
@@ -8088,13 +8242,13 @@ declare class RadioSelection extends Component<Props$13, SpreadsheetChildEnv> {
|
|
|
8088
8242
|
};
|
|
8089
8243
|
}
|
|
8090
8244
|
|
|
8091
|
-
interface Props$
|
|
8245
|
+
interface Props$19 {
|
|
8092
8246
|
currentColor?: string;
|
|
8093
8247
|
onColorPicked: (color: string) => void;
|
|
8094
8248
|
title?: string;
|
|
8095
8249
|
disableNoColor?: boolean;
|
|
8096
8250
|
}
|
|
8097
|
-
declare class RoundColorPicker extends Component<Props$
|
|
8251
|
+
declare class RoundColorPicker extends Component<Props$19, SpreadsheetChildEnv> {
|
|
8098
8252
|
static template: string;
|
|
8099
8253
|
static components: {
|
|
8100
8254
|
Section: typeof Section;
|
|
@@ -8127,14 +8281,14 @@ declare class RoundColorPicker extends Component<Props$12, SpreadsheetChildEnv>
|
|
|
8127
8281
|
get buttonStyle(): string;
|
|
8128
8282
|
}
|
|
8129
8283
|
|
|
8130
|
-
interface Props$
|
|
8131
|
-
|
|
8284
|
+
interface Props$18 {
|
|
8285
|
+
chartId: UID;
|
|
8132
8286
|
definition: ChartDefinition;
|
|
8133
|
-
updateChart: (
|
|
8134
|
-
canUpdateChart: (
|
|
8287
|
+
updateChart: (chartId: UID, definition: Partial<ChartDefinition>) => DispatchResult;
|
|
8288
|
+
canUpdateChart: (chartId: UID, definition: Partial<ChartDefinition>) => DispatchResult;
|
|
8135
8289
|
defaultChartTitleFontSize?: number;
|
|
8136
8290
|
}
|
|
8137
|
-
declare class GeneralDesignEditor extends Component<Props$
|
|
8291
|
+
declare class GeneralDesignEditor extends Component<Props$18, SpreadsheetChildEnv> {
|
|
8138
8292
|
static template: string;
|
|
8139
8293
|
static components: {
|
|
8140
8294
|
RoundColorPicker: typeof RoundColorPicker;
|
|
@@ -8144,7 +8298,7 @@ declare class GeneralDesignEditor extends Component<Props$11, SpreadsheetChildEn
|
|
|
8144
8298
|
RadioSelection: typeof RadioSelection;
|
|
8145
8299
|
};
|
|
8146
8300
|
static props: {
|
|
8147
|
-
|
|
8301
|
+
chartId: StringConstructor;
|
|
8148
8302
|
definition: ObjectConstructor;
|
|
8149
8303
|
updateChart: FunctionConstructor;
|
|
8150
8304
|
canUpdateChart: FunctionConstructor;
|
|
@@ -8169,19 +8323,38 @@ declare class GeneralDesignEditor extends Component<Props$11, SpreadsheetChildEn
|
|
|
8169
8323
|
updateChartTitleStyle(style: TitleDesign): void;
|
|
8170
8324
|
}
|
|
8171
8325
|
|
|
8172
|
-
interface Props$
|
|
8173
|
-
|
|
8326
|
+
interface Props$17 {
|
|
8327
|
+
chartId: UID;
|
|
8174
8328
|
definition: ChartWithDataSetDefinition;
|
|
8175
|
-
updateChart: (
|
|
8176
|
-
canUpdateChart: (
|
|
8329
|
+
updateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8330
|
+
canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8177
8331
|
}
|
|
8178
|
-
declare class
|
|
8332
|
+
declare class ChartHumanizeNumbers extends Component<Props$17, SpreadsheetChildEnv> {
|
|
8333
|
+
static template: string;
|
|
8334
|
+
static components: {
|
|
8335
|
+
Checkbox: typeof Checkbox;
|
|
8336
|
+
};
|
|
8337
|
+
static props: {
|
|
8338
|
+
chartId: StringConstructor;
|
|
8339
|
+
definition: ObjectConstructor;
|
|
8340
|
+
updateChart: FunctionConstructor;
|
|
8341
|
+
canUpdateChart: FunctionConstructor;
|
|
8342
|
+
};
|
|
8343
|
+
}
|
|
8344
|
+
|
|
8345
|
+
interface Props$16 {
|
|
8346
|
+
chartId: UID;
|
|
8347
|
+
definition: ChartWithDataSetDefinition;
|
|
8348
|
+
updateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8349
|
+
canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8350
|
+
}
|
|
8351
|
+
declare class ChartLegend extends Component<Props$16, SpreadsheetChildEnv> {
|
|
8179
8352
|
static template: string;
|
|
8180
8353
|
static components: {
|
|
8181
8354
|
Section: typeof Section;
|
|
8182
8355
|
};
|
|
8183
8356
|
static props: {
|
|
8184
|
-
|
|
8357
|
+
chartId: StringConstructor;
|
|
8185
8358
|
definition: ObjectConstructor;
|
|
8186
8359
|
updateChart: FunctionConstructor;
|
|
8187
8360
|
canUpdateChart: FunctionConstructor;
|
|
@@ -8189,13 +8362,13 @@ declare class ChartLegend extends Component<Props$10, SpreadsheetChildEnv> {
|
|
|
8189
8362
|
updateLegendPosition(ev: any): void;
|
|
8190
8363
|
}
|
|
8191
8364
|
|
|
8192
|
-
interface Props
|
|
8193
|
-
|
|
8365
|
+
interface Props$15 {
|
|
8366
|
+
chartId: UID;
|
|
8194
8367
|
definition: ChartWithDataSetDefinition;
|
|
8195
|
-
canUpdateChart: (
|
|
8196
|
-
updateChart: (
|
|
8368
|
+
canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8369
|
+
updateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8197
8370
|
}
|
|
8198
|
-
declare class SeriesDesignEditor extends Component<Props
|
|
8371
|
+
declare class SeriesDesignEditor extends Component<Props$15, SpreadsheetChildEnv> {
|
|
8199
8372
|
static template: string;
|
|
8200
8373
|
static components: {
|
|
8201
8374
|
SidePanelCollapsible: typeof SidePanelCollapsible;
|
|
@@ -8203,7 +8376,7 @@ declare class SeriesDesignEditor extends Component<Props$$, SpreadsheetChildEnv>
|
|
|
8203
8376
|
RoundColorPicker: typeof RoundColorPicker;
|
|
8204
8377
|
};
|
|
8205
8378
|
static props: {
|
|
8206
|
-
|
|
8379
|
+
chartId: StringConstructor;
|
|
8207
8380
|
definition: ObjectConstructor;
|
|
8208
8381
|
updateChart: FunctionConstructor;
|
|
8209
8382
|
canUpdateChart: FunctionConstructor;
|
|
@@ -8223,13 +8396,13 @@ declare class SeriesDesignEditor extends Component<Props$$, SpreadsheetChildEnv>
|
|
|
8223
8396
|
getDataSeriesLabel(): string | undefined;
|
|
8224
8397
|
}
|
|
8225
8398
|
|
|
8226
|
-
interface Props$
|
|
8227
|
-
|
|
8399
|
+
interface Props$14 {
|
|
8400
|
+
chartId: UID;
|
|
8228
8401
|
definition: ChartWithDataSetDefinition;
|
|
8229
|
-
canUpdateChart: (
|
|
8230
|
-
updateChart: (
|
|
8402
|
+
canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8403
|
+
updateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8231
8404
|
}
|
|
8232
|
-
declare class SeriesWithAxisDesignEditor extends Component<Props$
|
|
8405
|
+
declare class SeriesWithAxisDesignEditor extends Component<Props$14, SpreadsheetChildEnv> {
|
|
8233
8406
|
static template: string;
|
|
8234
8407
|
static components: {
|
|
8235
8408
|
SeriesDesignEditor: typeof SeriesDesignEditor;
|
|
@@ -8239,7 +8412,7 @@ declare class SeriesWithAxisDesignEditor extends Component<Props$_, SpreadsheetC
|
|
|
8239
8412
|
RoundColorPicker: typeof RoundColorPicker;
|
|
8240
8413
|
};
|
|
8241
8414
|
static props: {
|
|
8242
|
-
|
|
8415
|
+
chartId: StringConstructor;
|
|
8243
8416
|
definition: ObjectConstructor;
|
|
8244
8417
|
canUpdateChart: FunctionConstructor;
|
|
8245
8418
|
updateChart: FunctionConstructor;
|
|
@@ -8270,20 +8443,20 @@ declare class SeriesWithAxisDesignEditor extends Component<Props$_, SpreadsheetC
|
|
|
8270
8443
|
updateTrendLineValue(index: number, config: any): void;
|
|
8271
8444
|
}
|
|
8272
8445
|
|
|
8273
|
-
interface Props$
|
|
8274
|
-
|
|
8446
|
+
interface Props$13 {
|
|
8447
|
+
chartId: UID;
|
|
8275
8448
|
definition: ChartWithDataSetDefinition;
|
|
8276
|
-
updateChart: (
|
|
8277
|
-
canUpdateChart: (
|
|
8449
|
+
updateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8450
|
+
canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8278
8451
|
defaultValue?: boolean;
|
|
8279
8452
|
}
|
|
8280
|
-
declare class ChartShowValues extends Component<Props$
|
|
8453
|
+
declare class ChartShowValues extends Component<Props$13, SpreadsheetChildEnv> {
|
|
8281
8454
|
static template: string;
|
|
8282
8455
|
static components: {
|
|
8283
8456
|
Checkbox: typeof Checkbox;
|
|
8284
8457
|
};
|
|
8285
8458
|
static props: {
|
|
8286
|
-
|
|
8459
|
+
chartId: StringConstructor;
|
|
8287
8460
|
definition: ObjectConstructor;
|
|
8288
8461
|
updateChart: FunctionConstructor;
|
|
8289
8462
|
canUpdateChart: FunctionConstructor;
|
|
@@ -8294,13 +8467,13 @@ declare class ChartShowValues extends Component<Props$Z, SpreadsheetChildEnv> {
|
|
|
8294
8467
|
};
|
|
8295
8468
|
}
|
|
8296
8469
|
|
|
8297
|
-
interface Props$
|
|
8298
|
-
|
|
8470
|
+
interface Props$12 {
|
|
8471
|
+
chartId: UID;
|
|
8299
8472
|
definition: ChartWithDataSetDefinition;
|
|
8300
|
-
canUpdateChart: (
|
|
8301
|
-
updateChart: (
|
|
8473
|
+
canUpdateChart: (chartId: UID, definition: GenericDefinition<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8474
|
+
updateChart: (chartId: UID, definition: GenericDefinition<ChartWithDataSetDefinition>) => DispatchResult;
|
|
8302
8475
|
}
|
|
8303
|
-
declare class ChartWithAxisDesignPanel<P extends Props$
|
|
8476
|
+
declare class ChartWithAxisDesignPanel<P extends Props$12 = Props$12> extends Component<P, SpreadsheetChildEnv> {
|
|
8304
8477
|
static template: string;
|
|
8305
8478
|
static components: {
|
|
8306
8479
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
@@ -8310,9 +8483,10 @@ declare class ChartWithAxisDesignPanel<P extends Props$Y = Props$Y> extends Comp
|
|
|
8310
8483
|
SeriesWithAxisDesignEditor: typeof SeriesWithAxisDesignEditor;
|
|
8311
8484
|
ChartLegend: typeof ChartLegend;
|
|
8312
8485
|
ChartShowValues: typeof ChartShowValues;
|
|
8486
|
+
ChartHumanizeNumbers: typeof ChartHumanizeNumbers;
|
|
8313
8487
|
};
|
|
8314
8488
|
static props: {
|
|
8315
|
-
|
|
8489
|
+
chartId: StringConstructor;
|
|
8316
8490
|
definition: ObjectConstructor;
|
|
8317
8491
|
canUpdateChart: FunctionConstructor;
|
|
8318
8492
|
updateChart: FunctionConstructor;
|
|
@@ -8320,20 +8494,20 @@ declare class ChartWithAxisDesignPanel<P extends Props$Y = Props$Y> extends Comp
|
|
|
8320
8494
|
get axesList(): AxisDefinition[];
|
|
8321
8495
|
}
|
|
8322
8496
|
|
|
8323
|
-
interface Props$
|
|
8324
|
-
|
|
8497
|
+
interface Props$11 {
|
|
8498
|
+
chartId: UID;
|
|
8325
8499
|
definition: GaugeChartDefinition;
|
|
8326
|
-
canUpdateChart: (
|
|
8327
|
-
updateChart: (
|
|
8500
|
+
canUpdateChart: (chartId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
8501
|
+
updateChart: (chartId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
8328
8502
|
}
|
|
8329
|
-
declare class GaugeChartConfigPanel extends Component<Props$
|
|
8503
|
+
declare class GaugeChartConfigPanel extends Component<Props$11, SpreadsheetChildEnv> {
|
|
8330
8504
|
static template: string;
|
|
8331
8505
|
static components: {
|
|
8332
8506
|
ChartErrorSection: typeof ChartErrorSection;
|
|
8333
8507
|
ChartDataSeries: typeof ChartDataSeries;
|
|
8334
8508
|
};
|
|
8335
8509
|
static props: {
|
|
8336
|
-
|
|
8510
|
+
chartId: StringConstructor;
|
|
8337
8511
|
definition: ObjectConstructor;
|
|
8338
8512
|
updateChart: FunctionConstructor;
|
|
8339
8513
|
canUpdateChart: FunctionConstructor;
|
|
@@ -8391,13 +8565,13 @@ interface EnrichedToken extends Token {
|
|
|
8391
8565
|
isInHoverContext?: boolean;
|
|
8392
8566
|
}
|
|
8393
8567
|
|
|
8394
|
-
interface Props$
|
|
8568
|
+
interface Props$10 {
|
|
8395
8569
|
proposals: AutoCompleteProposal[];
|
|
8396
8570
|
selectedIndex: number | undefined;
|
|
8397
8571
|
onValueSelected: (value: string) => void;
|
|
8398
8572
|
onValueHovered: (index: string) => void;
|
|
8399
8573
|
}
|
|
8400
|
-
declare class TextValueProvider extends Component<Props$
|
|
8574
|
+
declare class TextValueProvider extends Component<Props$10> {
|
|
8401
8575
|
static template: string;
|
|
8402
8576
|
static props: {
|
|
8403
8577
|
proposals: ArrayConstructor;
|
|
@@ -8454,11 +8628,11 @@ declare class ContentEditableHelper {
|
|
|
8454
8628
|
getText(): string;
|
|
8455
8629
|
}
|
|
8456
8630
|
|
|
8457
|
-
interface Props
|
|
8631
|
+
interface Props$$ {
|
|
8458
8632
|
functionDescription: FunctionDescription;
|
|
8459
8633
|
argsToFocus: number[];
|
|
8460
8634
|
}
|
|
8461
|
-
declare class FunctionDescriptionProvider extends Component<Props
|
|
8635
|
+
declare class FunctionDescriptionProvider extends Component<Props$$, SpreadsheetChildEnv> {
|
|
8462
8636
|
static template: string;
|
|
8463
8637
|
static props: {
|
|
8464
8638
|
functionDescription: ObjectConstructor;
|
|
@@ -8469,15 +8643,15 @@ declare class FunctionDescriptionProvider extends Component<Props$V, Spreadsheet
|
|
|
8469
8643
|
};
|
|
8470
8644
|
private state;
|
|
8471
8645
|
toggle(): void;
|
|
8472
|
-
getContext(): Props
|
|
8646
|
+
getContext(): Props$$;
|
|
8473
8647
|
get formulaArgSeparator(): string;
|
|
8474
8648
|
}
|
|
8475
8649
|
|
|
8476
|
-
interface Props$
|
|
8650
|
+
interface Props$_ {
|
|
8477
8651
|
anchorRect: Rect;
|
|
8478
8652
|
content: string;
|
|
8479
8653
|
}
|
|
8480
|
-
declare class SpeechBubble extends Component<Props$
|
|
8654
|
+
declare class SpeechBubble extends Component<Props$_, SpreadsheetChildEnv> {
|
|
8481
8655
|
static template: string;
|
|
8482
8656
|
static props: {
|
|
8483
8657
|
content: StringConstructor;
|
|
@@ -8551,6 +8725,7 @@ declare abstract class AbstractComposerStore extends SpreadsheetStore {
|
|
|
8551
8725
|
get autoCompleteProposals(): AutoCompleteProposal[];
|
|
8552
8726
|
get autoCompleteSelectedIndex(): number | undefined;
|
|
8553
8727
|
get isAutoCompleteDisplayed(): boolean;
|
|
8728
|
+
get canBeToggled(): boolean;
|
|
8554
8729
|
cycleReferences(): void;
|
|
8555
8730
|
toggleEditionMode(): void;
|
|
8556
8731
|
hoverToken(tokenIndex: number | undefined): void;
|
|
@@ -8857,6 +9032,7 @@ interface AutoCompleteProvider {
|
|
|
8857
9032
|
proposals: AutoCompleteProposal[];
|
|
8858
9033
|
selectProposal(text: string): void;
|
|
8859
9034
|
autoSelectFirstProposal: boolean;
|
|
9035
|
+
canBeToggled?: boolean;
|
|
8860
9036
|
}
|
|
8861
9037
|
interface ComposerStoreInterface {
|
|
8862
9038
|
currentEditedCell?: CellPosition;
|
|
@@ -8876,6 +9052,7 @@ interface ComposerStoreInterface {
|
|
|
8876
9052
|
interface AutoCompleteProviderDefinition {
|
|
8877
9053
|
sequence?: number;
|
|
8878
9054
|
autoSelectFirstProposal?: boolean;
|
|
9055
|
+
canBeToggled?: boolean;
|
|
8879
9056
|
displayAllOnInitialContent?: boolean;
|
|
8880
9057
|
maxDisplayedProposals?: number;
|
|
8881
9058
|
getProposals(this: {
|
|
@@ -8887,7 +9064,7 @@ interface AutoCompleteProviderDefinition {
|
|
|
8887
9064
|
}, tokenAtCursor: EnrichedToken, text: string): void;
|
|
8888
9065
|
}
|
|
8889
9066
|
|
|
8890
|
-
interface Props$
|
|
9067
|
+
interface Props$Z {
|
|
8891
9068
|
onConfirm: (content: string) => void;
|
|
8892
9069
|
composerContent: string;
|
|
8893
9070
|
defaultRangeSheetId: UID;
|
|
@@ -8899,7 +9076,7 @@ interface Props$T {
|
|
|
8899
9076
|
invalid?: boolean;
|
|
8900
9077
|
getContextualColoredSymbolToken?: (token: Token) => Color;
|
|
8901
9078
|
}
|
|
8902
|
-
declare class StandaloneComposer extends Component<Props$
|
|
9079
|
+
declare class StandaloneComposer extends Component<Props$Z, SpreadsheetChildEnv> {
|
|
8903
9080
|
static template: string;
|
|
8904
9081
|
static props: {
|
|
8905
9082
|
composerContent: {
|
|
@@ -8962,13 +9139,13 @@ interface PanelState {
|
|
|
8962
9139
|
sectionRuleCancelledReasons?: CommandResult[];
|
|
8963
9140
|
sectionRule: SectionRule;
|
|
8964
9141
|
}
|
|
8965
|
-
interface Props$
|
|
8966
|
-
|
|
9142
|
+
interface Props$Y {
|
|
9143
|
+
chartId: UID;
|
|
8967
9144
|
definition: GaugeChartDefinition;
|
|
8968
|
-
canUpdateChart: (
|
|
8969
|
-
updateChart: (
|
|
9145
|
+
canUpdateChart: (chartId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
9146
|
+
updateChart: (chartId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
|
|
8970
9147
|
}
|
|
8971
|
-
declare class GaugeChartDesignPanel extends Component<Props$
|
|
9148
|
+
declare class GaugeChartDesignPanel extends Component<Props$Y, SpreadsheetChildEnv> {
|
|
8972
9149
|
static template: string;
|
|
8973
9150
|
static components: {
|
|
8974
9151
|
SidePanelCollapsible: typeof SidePanelCollapsible;
|
|
@@ -8977,9 +9154,10 @@ declare class GaugeChartDesignPanel extends Component<Props$S, SpreadsheetChildE
|
|
|
8977
9154
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
8978
9155
|
ChartErrorSection: typeof ChartErrorSection;
|
|
8979
9156
|
StandaloneComposer: typeof StandaloneComposer;
|
|
9157
|
+
ChartHumanizeNumbers: typeof ChartHumanizeNumbers;
|
|
8980
9158
|
};
|
|
8981
9159
|
static props: {
|
|
8982
|
-
|
|
9160
|
+
chartId: StringConstructor;
|
|
8983
9161
|
definition: ObjectConstructor;
|
|
8984
9162
|
updateChart: FunctionConstructor;
|
|
8985
9163
|
canUpdateChart: {
|
|
@@ -9018,13 +9196,13 @@ declare class LineConfigPanel extends GenericChartConfigPanel {
|
|
|
9018
9196
|
onUpdateCumulative(cumulative: boolean): void;
|
|
9019
9197
|
}
|
|
9020
9198
|
|
|
9021
|
-
interface Props$
|
|
9022
|
-
|
|
9199
|
+
interface Props$X {
|
|
9200
|
+
chartId: UID;
|
|
9023
9201
|
definition: ScorecardChartDefinition;
|
|
9024
|
-
canUpdateChart: (
|
|
9025
|
-
updateChart: (
|
|
9202
|
+
canUpdateChart: (chartId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
9203
|
+
updateChart: (chartId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
9026
9204
|
}
|
|
9027
|
-
declare class ScorecardChartConfigPanel extends Component<Props$
|
|
9205
|
+
declare class ScorecardChartConfigPanel extends Component<Props$X, SpreadsheetChildEnv> {
|
|
9028
9206
|
static template: string;
|
|
9029
9207
|
static components: {
|
|
9030
9208
|
SelectionInput: typeof SelectionInput;
|
|
@@ -9032,7 +9210,7 @@ declare class ScorecardChartConfigPanel extends Component<Props$R, SpreadsheetCh
|
|
|
9032
9210
|
Section: typeof Section;
|
|
9033
9211
|
};
|
|
9034
9212
|
static props: {
|
|
9035
|
-
|
|
9213
|
+
chartId: StringConstructor;
|
|
9036
9214
|
definition: ObjectConstructor;
|
|
9037
9215
|
updateChart: FunctionConstructor;
|
|
9038
9216
|
canUpdateChart: FunctionConstructor;
|
|
@@ -9053,13 +9231,13 @@ declare class ScorecardChartConfigPanel extends Component<Props$R, SpreadsheetCh
|
|
|
9053
9231
|
}
|
|
9054
9232
|
|
|
9055
9233
|
type ColorPickerId = undefined | "backgroundColor" | "baselineColorUp" | "baselineColorDown";
|
|
9056
|
-
interface Props$
|
|
9057
|
-
|
|
9234
|
+
interface Props$W {
|
|
9235
|
+
chartId: UID;
|
|
9058
9236
|
definition: ScorecardChartDefinition;
|
|
9059
|
-
canUpdateChart: (
|
|
9060
|
-
updateChart: (
|
|
9237
|
+
canUpdateChart: (chartId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
9238
|
+
updateChart: (chartId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
|
|
9061
9239
|
}
|
|
9062
|
-
declare class ScorecardChartDesignPanel extends Component<Props$
|
|
9240
|
+
declare class ScorecardChartDesignPanel extends Component<Props$W, SpreadsheetChildEnv> {
|
|
9063
9241
|
static template: string;
|
|
9064
9242
|
static components: {
|
|
9065
9243
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
@@ -9068,9 +9246,10 @@ declare class ScorecardChartDesignPanel extends Component<Props$Q, SpreadsheetCh
|
|
|
9068
9246
|
Section: typeof Section;
|
|
9069
9247
|
Checkbox: typeof Checkbox;
|
|
9070
9248
|
ChartTitle: typeof ChartTitle;
|
|
9249
|
+
ChartHumanizeNumbers: typeof ChartHumanizeNumbers;
|
|
9071
9250
|
};
|
|
9072
9251
|
static props: {
|
|
9073
|
-
|
|
9252
|
+
chartId: StringConstructor;
|
|
9074
9253
|
definition: ObjectConstructor;
|
|
9075
9254
|
updateChart: FunctionConstructor;
|
|
9076
9255
|
canUpdateChart: {
|
|
@@ -9079,9 +9258,7 @@ declare class ScorecardChartDesignPanel extends Component<Props$Q, SpreadsheetCh
|
|
|
9079
9258
|
};
|
|
9080
9259
|
};
|
|
9081
9260
|
get colorsSectionTitle(): string;
|
|
9082
|
-
get humanizeNumbersLabel(): string;
|
|
9083
9261
|
get defaultScorecardTitleFontSize(): number;
|
|
9084
|
-
updateHumanizeNumbers(humanize: boolean): void;
|
|
9085
9262
|
translate(term: any): string;
|
|
9086
9263
|
setColor(color: Color, colorPickerId: ColorPickerId): void;
|
|
9087
9264
|
get keyStyle(): TitleDesign;
|
|
@@ -9132,7 +9309,7 @@ interface PanelInfo {
|
|
|
9132
9309
|
isCollapsed?: boolean;
|
|
9133
9310
|
}
|
|
9134
9311
|
declare class SidePanelStore extends SpreadsheetStore {
|
|
9135
|
-
mutators: readonly ["open", "toggle", "close", "changePanelSize", "resetPanelSize", "togglePinPanel", "closeMainPanel", "changeSpreadsheetWidth", "toggleCollapsePanel"];
|
|
9312
|
+
mutators: readonly ["open", "replace", "toggle", "close", "changePanelSize", "resetPanelSize", "togglePinPanel", "closeMainPanel", "changeSpreadsheetWidth", "toggleCollapsePanel"];
|
|
9136
9313
|
mainPanel: (PanelInfo & {
|
|
9137
9314
|
isCollapsed?: boolean;
|
|
9138
9315
|
isPinned?: boolean;
|
|
@@ -9154,6 +9331,7 @@ declare class SidePanelStore extends SpreadsheetStore {
|
|
|
9154
9331
|
private getPanelProps;
|
|
9155
9332
|
private getPanelKey;
|
|
9156
9333
|
open(componentTag: string, initialPanelProps?: SidePanelComponentProps): void;
|
|
9334
|
+
replace(componentTag: string, currentPanelKey: string, initialPanelProps?: SidePanelComponentProps): void;
|
|
9157
9335
|
private _openPanel;
|
|
9158
9336
|
toggle(componentTag: string, panelProps: SidePanelComponentProps): void;
|
|
9159
9337
|
close(): void;
|
|
@@ -9237,42 +9415,59 @@ declare class ComposerFocusStore extends SpreadsheetStore {
|
|
|
9237
9415
|
private setComposerContent;
|
|
9238
9416
|
}
|
|
9239
9417
|
|
|
9240
|
-
|
|
9241
|
-
|
|
9418
|
+
declare class ChartAnimationStore extends SpreadsheetStore {
|
|
9419
|
+
mutators: readonly ["disableAnimationForChart", "enableAnimationForChart"];
|
|
9420
|
+
animationPlayed: {};
|
|
9421
|
+
disableAnimationForChart(chartId: UID, chartType: ChartType): string;
|
|
9422
|
+
enableAnimationForChart(chartId: UID): string;
|
|
9423
|
+
}
|
|
9424
|
+
|
|
9425
|
+
interface Props$V {
|
|
9426
|
+
chartId: UID;
|
|
9242
9427
|
isFullScreen?: boolean;
|
|
9243
9428
|
}
|
|
9244
|
-
declare class ChartJsComponent extends Component<Props$
|
|
9429
|
+
declare class ChartJsComponent extends Component<Props$V, SpreadsheetChildEnv> {
|
|
9245
9430
|
static template: string;
|
|
9246
9431
|
static props: {
|
|
9247
|
-
|
|
9432
|
+
chartId: StringConstructor;
|
|
9248
9433
|
isFullScreen: {
|
|
9249
9434
|
type: BooleanConstructor;
|
|
9250
9435
|
optional: boolean;
|
|
9251
9436
|
};
|
|
9252
9437
|
};
|
|
9253
|
-
|
|
9254
|
-
|
|
9255
|
-
|
|
9256
|
-
|
|
9438
|
+
protected canvas: {
|
|
9439
|
+
el: HTMLElement | null;
|
|
9440
|
+
};
|
|
9441
|
+
protected chart?: Chart;
|
|
9442
|
+
protected currentRuntime: ChartJSRuntime;
|
|
9443
|
+
protected animationStore: Store<ChartAnimationStore> | undefined;
|
|
9257
9444
|
private currentDevicePixelRatio;
|
|
9258
9445
|
get background(): string;
|
|
9259
9446
|
get canvasStyle(): string;
|
|
9260
9447
|
get chartRuntime(): ChartJSRuntime;
|
|
9261
9448
|
setup(): void;
|
|
9262
|
-
|
|
9263
|
-
|
|
9449
|
+
protected unmount(): void;
|
|
9450
|
+
protected get shouldAnimate(): boolean;
|
|
9451
|
+
protected createChart(chartRuntime: ChartJSRuntime): void;
|
|
9452
|
+
protected updateChartJs(chartRuntime: ChartJSRuntime): void;
|
|
9264
9453
|
private hasChartDataChanged;
|
|
9265
|
-
|
|
9266
|
-
|
|
9454
|
+
protected enableAnimationInChartData(chartData: ChartConfiguration$1<any>): {
|
|
9455
|
+
options: any;
|
|
9456
|
+
type: any;
|
|
9457
|
+
data: chart_js_auto.ChartData<any, any[], unknown>;
|
|
9458
|
+
plugins?: chart_js_auto.Plugin<any, chart_js_dist_types_basic.AnyObject>[] | undefined;
|
|
9459
|
+
platform?: typeof chart_js_auto.BasePlatform;
|
|
9460
|
+
};
|
|
9461
|
+
get animationChartId(): string;
|
|
9267
9462
|
}
|
|
9268
9463
|
|
|
9269
|
-
interface Props$
|
|
9270
|
-
|
|
9464
|
+
interface Props$U {
|
|
9465
|
+
chartId: UID;
|
|
9271
9466
|
}
|
|
9272
|
-
declare class ScorecardChart$1 extends Component<Props$
|
|
9467
|
+
declare class ScorecardChart$1 extends Component<Props$U, SpreadsheetChildEnv> {
|
|
9273
9468
|
static template: string;
|
|
9274
9469
|
static props: {
|
|
9275
|
-
|
|
9470
|
+
chartId: StringConstructor;
|
|
9276
9471
|
};
|
|
9277
9472
|
private canvas;
|
|
9278
9473
|
get runtime(): ScorecardChartRuntime;
|
|
@@ -9345,7 +9540,7 @@ declare class Menu extends Component<MenuProps, SpreadsheetChildEnv> {
|
|
|
9345
9540
|
onClickMenu(menu: Action, ev: CustomEvent): void;
|
|
9346
9541
|
}
|
|
9347
9542
|
|
|
9348
|
-
interface Props$
|
|
9543
|
+
interface Props$T {
|
|
9349
9544
|
anchorRect: Rect;
|
|
9350
9545
|
popoverPositioning: PopoverPropsPosition;
|
|
9351
9546
|
menuItems: Action[];
|
|
@@ -9365,7 +9560,7 @@ interface MenuState {
|
|
|
9365
9560
|
menuItems: Action[];
|
|
9366
9561
|
isHoveringChild?: boolean;
|
|
9367
9562
|
}
|
|
9368
|
-
declare class MenuPopover extends Component<Props$
|
|
9563
|
+
declare class MenuPopover extends Component<Props$T, SpreadsheetChildEnv> {
|
|
9369
9564
|
static template: string;
|
|
9370
9565
|
static props: {
|
|
9371
9566
|
anchorRect: ObjectConstructor;
|
|
@@ -9445,14 +9640,15 @@ declare class MenuPopover extends Component<Props$N, SpreadsheetChildEnv> {
|
|
|
9445
9640
|
}
|
|
9446
9641
|
|
|
9447
9642
|
type ResizeAnchor = "top left" | "top" | "top right" | "right" | "bottom right" | "bottom" | "bottom left" | "left";
|
|
9448
|
-
interface Props$
|
|
9643
|
+
interface Props$S {
|
|
9449
9644
|
figureUI: FigureUI;
|
|
9450
9645
|
style: string;
|
|
9646
|
+
class: string;
|
|
9451
9647
|
onFigureDeleted: () => void;
|
|
9452
9648
|
onMouseDown: (ev: MouseEvent) => void;
|
|
9453
9649
|
onClickAnchor(dirX: ResizeDirection, dirY: ResizeDirection, ev: MouseEvent): void;
|
|
9454
9650
|
}
|
|
9455
|
-
declare class FigureComponent extends Component<Props$
|
|
9651
|
+
declare class FigureComponent extends Component<Props$S, SpreadsheetChildEnv> {
|
|
9456
9652
|
static template: string;
|
|
9457
9653
|
static props: {
|
|
9458
9654
|
figureUI: ObjectConstructor;
|
|
@@ -9460,6 +9656,10 @@ declare class FigureComponent extends Component<Props$M, SpreadsheetChildEnv> {
|
|
|
9460
9656
|
type: StringConstructor;
|
|
9461
9657
|
optional: boolean;
|
|
9462
9658
|
};
|
|
9659
|
+
class: {
|
|
9660
|
+
type: StringConstructor;
|
|
9661
|
+
optional: boolean;
|
|
9662
|
+
};
|
|
9463
9663
|
onFigureDeleted: {
|
|
9464
9664
|
type: FunctionConstructor;
|
|
9465
9665
|
optional: boolean;
|
|
@@ -9483,12 +9683,13 @@ declare class FigureComponent extends Component<Props$M, SpreadsheetChildEnv> {
|
|
|
9483
9683
|
};
|
|
9484
9684
|
private menuState;
|
|
9485
9685
|
private figureRef;
|
|
9686
|
+
private figureWrapperRef;
|
|
9486
9687
|
private menuButtonRef;
|
|
9487
9688
|
private borderWidth;
|
|
9488
9689
|
get isSelected(): boolean;
|
|
9489
9690
|
get figureRegistry(): Registry<FigureContent>;
|
|
9490
9691
|
private getBorderWidth;
|
|
9491
|
-
|
|
9692
|
+
getBorderStyle(position: "top" | "right" | "bottom" | "left"): string;
|
|
9492
9693
|
get wrapperStyle(): string;
|
|
9493
9694
|
getResizerPosition(resizer: ResizeAnchor): string;
|
|
9494
9695
|
setup(): void;
|
|
@@ -9500,55 +9701,58 @@ declare class FigureComponent extends Component<Props$M, SpreadsheetChildEnv> {
|
|
|
9500
9701
|
onContextMenu(ev: MouseEvent): void;
|
|
9501
9702
|
showMenu(): void;
|
|
9502
9703
|
private openContextMenu;
|
|
9704
|
+
editWrapperStyle(properties: CSSProperties): void;
|
|
9503
9705
|
}
|
|
9504
9706
|
|
|
9505
|
-
interface Props$
|
|
9506
|
-
|
|
9707
|
+
interface Props$R {
|
|
9708
|
+
chartId: UID;
|
|
9507
9709
|
}
|
|
9508
9710
|
interface MenuItem {
|
|
9509
9711
|
id: string;
|
|
9510
9712
|
label: string;
|
|
9511
|
-
|
|
9713
|
+
class: string;
|
|
9512
9714
|
onClick: () => void;
|
|
9513
|
-
|
|
9715
|
+
preview?: string;
|
|
9514
9716
|
}
|
|
9515
|
-
declare class ChartDashboardMenu extends Component<Props$
|
|
9717
|
+
declare class ChartDashboardMenu extends Component<Props$R, SpreadsheetChildEnv> {
|
|
9516
9718
|
static template: string;
|
|
9517
9719
|
static components: {
|
|
9518
9720
|
MenuPopover: typeof MenuPopover;
|
|
9519
9721
|
};
|
|
9520
9722
|
static props: {
|
|
9521
|
-
|
|
9723
|
+
chartId: StringConstructor;
|
|
9522
9724
|
};
|
|
9523
|
-
private originalChartDefinition;
|
|
9524
9725
|
private fullScreenFigureStore;
|
|
9726
|
+
private store;
|
|
9525
9727
|
private menuState;
|
|
9526
9728
|
setup(): void;
|
|
9527
9729
|
getMenuItems(): MenuItem[];
|
|
9528
|
-
get changeChartTypeMenuItems(): MenuItem[];
|
|
9529
|
-
getIconClasses(type: ChartType): "" | "fa fa-bar-chart" | "fa fa-line-chart" | "fa fa-pie-chart";
|
|
9530
|
-
onTypeChange(type: ChartType): void;
|
|
9531
|
-
get selectedChartType(): "line" | "bar" | "scatter" | "pie" | "radar" | "treemap" | "funnel" | "scorecard" | "gauge" | "combo" | "waterfall" | "pyramid" | "geo" | "sunburst";
|
|
9532
9730
|
get backgroundColor(): string;
|
|
9533
9731
|
openContextMenu(ev: MouseEvent): void;
|
|
9534
9732
|
get fullScreenMenuItem(): MenuItem | undefined;
|
|
9535
9733
|
}
|
|
9536
9734
|
|
|
9537
|
-
interface Props$
|
|
9735
|
+
interface Props$Q {
|
|
9538
9736
|
figureUI: FigureUI;
|
|
9539
9737
|
onFigureDeleted: () => void;
|
|
9738
|
+
editFigureStyle?: (properties: CSSProperties) => void;
|
|
9540
9739
|
}
|
|
9541
|
-
declare class ChartFigure extends Component<Props$
|
|
9740
|
+
declare class ChartFigure extends Component<Props$Q, SpreadsheetChildEnv> {
|
|
9542
9741
|
static template: string;
|
|
9543
9742
|
static props: {
|
|
9544
9743
|
figureUI: ObjectConstructor;
|
|
9545
9744
|
onFigureDeleted: FunctionConstructor;
|
|
9745
|
+
editFigureStyle: {
|
|
9746
|
+
type: FunctionConstructor;
|
|
9747
|
+
optional: boolean;
|
|
9748
|
+
};
|
|
9546
9749
|
};
|
|
9547
9750
|
static components: {
|
|
9548
9751
|
ChartDashboardMenu: typeof ChartDashboardMenu;
|
|
9549
9752
|
};
|
|
9550
9753
|
onDoubleClick(): void;
|
|
9551
9754
|
get chartType(): ChartType;
|
|
9755
|
+
get chartId(): UID;
|
|
9552
9756
|
get chartComponent(): new (...args: any) => Component;
|
|
9553
9757
|
}
|
|
9554
9758
|
|
|
@@ -9563,7 +9767,7 @@ declare class DelayedHoveredCellStore extends SpreadsheetStore {
|
|
|
9563
9767
|
|
|
9564
9768
|
type DnDDirection = "all" | "vertical" | "horizontal";
|
|
9565
9769
|
|
|
9566
|
-
interface Props$
|
|
9770
|
+
interface Props$P {
|
|
9567
9771
|
isVisible: boolean;
|
|
9568
9772
|
position: Position;
|
|
9569
9773
|
}
|
|
@@ -9575,7 +9779,7 @@ interface State$4 {
|
|
|
9575
9779
|
position: Position;
|
|
9576
9780
|
handler: boolean;
|
|
9577
9781
|
}
|
|
9578
|
-
declare class Autofill extends Component<Props$
|
|
9782
|
+
declare class Autofill extends Component<Props$P, SpreadsheetChildEnv> {
|
|
9579
9783
|
static template: string;
|
|
9580
9784
|
static props: {
|
|
9581
9785
|
position: ObjectConstructor;
|
|
@@ -9615,7 +9819,7 @@ declare class ClientTag extends Component<ClientTagProps, SpreadsheetChildEnv> {
|
|
|
9615
9819
|
get tagStyle(): string;
|
|
9616
9820
|
}
|
|
9617
9821
|
|
|
9618
|
-
interface Props$
|
|
9822
|
+
interface Props$O {
|
|
9619
9823
|
gridDims: DOMDimension;
|
|
9620
9824
|
onInputContextMenu: (event: MouseEvent) => void;
|
|
9621
9825
|
}
|
|
@@ -9623,7 +9827,7 @@ interface Props$I {
|
|
|
9623
9827
|
* This component is a composer which positions itself on the grid at the anchor cell.
|
|
9624
9828
|
* It also applies the style of the cell to the composer input.
|
|
9625
9829
|
*/
|
|
9626
|
-
declare class GridComposer extends Component<Props$
|
|
9830
|
+
declare class GridComposer extends Component<Props$O, SpreadsheetChildEnv> {
|
|
9627
9831
|
static template: string;
|
|
9628
9832
|
static props: {
|
|
9629
9833
|
gridDims: ObjectConstructor;
|
|
@@ -9667,7 +9871,7 @@ interface SnapLine<T extends HFigureAxisType | VFigureAxisType> {
|
|
|
9667
9871
|
}
|
|
9668
9872
|
|
|
9669
9873
|
type ContainerType = "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "dnd";
|
|
9670
|
-
interface Props$
|
|
9874
|
+
interface Props$N {
|
|
9671
9875
|
onFigureDeleted: () => void;
|
|
9672
9876
|
}
|
|
9673
9877
|
interface Container {
|
|
@@ -9686,6 +9890,7 @@ interface DndState {
|
|
|
9686
9890
|
horizontalSnap?: Snap<HFigureAxisType>;
|
|
9687
9891
|
verticalSnap?: Snap<VFigureAxisType>;
|
|
9688
9892
|
cancelDnd: (() => void) | undefined;
|
|
9893
|
+
overlappingCarousel?: FigureUI;
|
|
9689
9894
|
}
|
|
9690
9895
|
/**
|
|
9691
9896
|
* Each figure ⭐ is positioned inside a container `div` placed and sized
|
|
@@ -9747,7 +9952,7 @@ interface DndState {
|
|
|
9747
9952
|
* that occurred during the drag & drop, and to position the figure on the correct pane.
|
|
9748
9953
|
*
|
|
9749
9954
|
*/
|
|
9750
|
-
declare class FiguresContainer extends Component<Props$
|
|
9955
|
+
declare class FiguresContainer extends Component<Props$N, SpreadsheetChildEnv> {
|
|
9751
9956
|
static template: string;
|
|
9752
9957
|
static props: {
|
|
9753
9958
|
onFigureDeleted: FunctionConstructor;
|
|
@@ -9779,14 +9984,16 @@ declare class FiguresContainer extends Component<Props$H, SpreadsheetChildEnv> {
|
|
|
9779
9984
|
private getOtherFigures;
|
|
9780
9985
|
private getDndFigure;
|
|
9781
9986
|
getFigureStyle(figureUI: FigureUI): string;
|
|
9987
|
+
getFigureClass(figureUI: FigureUI): string;
|
|
9782
9988
|
private getSnap;
|
|
9783
9989
|
private getSnapLineStyle;
|
|
9990
|
+
private getCarouselOverlappingChart;
|
|
9784
9991
|
}
|
|
9785
9992
|
|
|
9786
|
-
interface Props$
|
|
9993
|
+
interface Props$M {
|
|
9787
9994
|
focusGrid: () => void;
|
|
9788
9995
|
}
|
|
9789
|
-
declare class GridAddRowsFooter extends Component<Props$
|
|
9996
|
+
declare class GridAddRowsFooter extends Component<Props$M, SpreadsheetChildEnv> {
|
|
9790
9997
|
static template: string;
|
|
9791
9998
|
static props: {
|
|
9792
9999
|
focusGrid: FunctionConstructor;
|
|
@@ -9810,7 +10017,7 @@ declare class GridAddRowsFooter extends Component<Props$G, SpreadsheetChildEnv>
|
|
|
9810
10017
|
private onExternalClick;
|
|
9811
10018
|
}
|
|
9812
10019
|
|
|
9813
|
-
interface Props$
|
|
10020
|
+
interface Props$L {
|
|
9814
10021
|
onCellDoubleClicked: (col: HeaderIndex, row: HeaderIndex) => void;
|
|
9815
10022
|
onCellClicked: (col: HeaderIndex, row: HeaderIndex, modifiers: GridClickModifiers, ev: PointerEvent | MouseEvent) => void;
|
|
9816
10023
|
onCellRightClicked: (col: HeaderIndex, row: HeaderIndex, coordinates: DOMCoordinates) => void;
|
|
@@ -9823,7 +10030,7 @@ interface Props$F {
|
|
|
9823
10030
|
height: number;
|
|
9824
10031
|
};
|
|
9825
10032
|
}
|
|
9826
|
-
declare class GridOverlay extends Component<Props$
|
|
10033
|
+
declare class GridOverlay extends Component<Props$L, SpreadsheetChildEnv> {
|
|
9827
10034
|
static template: string;
|
|
9828
10035
|
static props: {
|
|
9829
10036
|
onCellDoubleClicked: {
|
|
@@ -9883,12 +10090,12 @@ declare class GridOverlay extends Component<Props$F, SpreadsheetChildEnv> {
|
|
|
9883
10090
|
private getInteractiveIconAtEvent;
|
|
9884
10091
|
}
|
|
9885
10092
|
|
|
9886
|
-
interface Props$
|
|
10093
|
+
interface Props$K {
|
|
9887
10094
|
gridRect: Rect;
|
|
9888
10095
|
onClosePopover: () => void;
|
|
9889
10096
|
onMouseWheel: (ev: WheelEvent) => void;
|
|
9890
10097
|
}
|
|
9891
|
-
declare class GridPopover extends Component<Props$
|
|
10098
|
+
declare class GridPopover extends Component<Props$K, SpreadsheetChildEnv> {
|
|
9892
10099
|
static template: string;
|
|
9893
10100
|
static props: {
|
|
9894
10101
|
onClosePopover: FunctionConstructor;
|
|
@@ -9904,7 +10111,7 @@ declare class GridPopover extends Component<Props$E, SpreadsheetChildEnv> {
|
|
|
9904
10111
|
get cellPopover(): PositionedCellPopoverComponent | ClosedCellPopover;
|
|
9905
10112
|
}
|
|
9906
10113
|
|
|
9907
|
-
interface Props$
|
|
10114
|
+
interface Props$J {
|
|
9908
10115
|
headersGroups: ConsecutiveIndexes[];
|
|
9909
10116
|
offset: number;
|
|
9910
10117
|
headerRange: {
|
|
@@ -9912,7 +10119,7 @@ interface Props$D {
|
|
|
9912
10119
|
end: HeaderIndex;
|
|
9913
10120
|
};
|
|
9914
10121
|
}
|
|
9915
|
-
declare class UnhideRowHeaders extends Component<Props$
|
|
10122
|
+
declare class UnhideRowHeaders extends Component<Props$J, SpreadsheetChildEnv> {
|
|
9916
10123
|
static template: string;
|
|
9917
10124
|
static props: {
|
|
9918
10125
|
headersGroups: ArrayConstructor;
|
|
@@ -9931,7 +10138,7 @@ declare class UnhideRowHeaders extends Component<Props$D, SpreadsheetChildEnv> {
|
|
|
9931
10138
|
unhide(hiddenElements: HeaderIndex[]): void;
|
|
9932
10139
|
isVisible(header: HeaderIndex): boolean;
|
|
9933
10140
|
}
|
|
9934
|
-
declare class UnhideColumnHeaders extends Component<Props$
|
|
10141
|
+
declare class UnhideColumnHeaders extends Component<Props$J, SpreadsheetChildEnv> {
|
|
9935
10142
|
static template: string;
|
|
9936
10143
|
static props: {
|
|
9937
10144
|
headersGroups: ArrayConstructor;
|
|
@@ -10124,13 +10331,13 @@ declare class HeadersOverlay extends Component<any, SpreadsheetChildEnv> {
|
|
|
10124
10331
|
}
|
|
10125
10332
|
|
|
10126
10333
|
type Orientation$1 = "n" | "s" | "w" | "e";
|
|
10127
|
-
interface Props$
|
|
10334
|
+
interface Props$I {
|
|
10128
10335
|
zone: Zone;
|
|
10129
10336
|
orientation: Orientation$1;
|
|
10130
10337
|
isMoving: boolean;
|
|
10131
10338
|
onMoveHighlight: (ev: PointerEvent) => void;
|
|
10132
10339
|
}
|
|
10133
|
-
declare class Border extends Component<Props$
|
|
10340
|
+
declare class Border extends Component<Props$I, SpreadsheetChildEnv> {
|
|
10134
10341
|
static template: string;
|
|
10135
10342
|
static props: {
|
|
10136
10343
|
zone: ObjectConstructor;
|
|
@@ -10143,14 +10350,14 @@ declare class Border extends Component<Props$C, SpreadsheetChildEnv> {
|
|
|
10143
10350
|
}
|
|
10144
10351
|
|
|
10145
10352
|
type Orientation = "nw" | "ne" | "sw" | "se" | "n" | "s" | "e" | "w";
|
|
10146
|
-
interface Props$
|
|
10353
|
+
interface Props$H {
|
|
10147
10354
|
zone: Zone;
|
|
10148
10355
|
color: Color;
|
|
10149
10356
|
orientation: Orientation;
|
|
10150
10357
|
isResizing: boolean;
|
|
10151
10358
|
onResizeHighlight: (ev: PointerEvent, dirX: ResizeDirection, dirY: ResizeDirection) => void;
|
|
10152
10359
|
}
|
|
10153
|
-
declare class Corner extends Component<Props$
|
|
10360
|
+
declare class Corner extends Component<Props$H, SpreadsheetChildEnv> {
|
|
10154
10361
|
static template: string;
|
|
10155
10362
|
static props: {
|
|
10156
10363
|
zone: ObjectConstructor;
|
|
@@ -10199,7 +10406,7 @@ declare class Highlight extends Component<HighlightProps, SpreadsheetChildEnv> {
|
|
|
10199
10406
|
|
|
10200
10407
|
type ScrollDirection = "horizontal" | "vertical";
|
|
10201
10408
|
|
|
10202
|
-
interface Props$
|
|
10409
|
+
interface Props$G {
|
|
10203
10410
|
width: Pixel;
|
|
10204
10411
|
height: Pixel;
|
|
10205
10412
|
direction: ScrollDirection;
|
|
@@ -10207,7 +10414,7 @@ interface Props$A {
|
|
|
10207
10414
|
offset: Pixel;
|
|
10208
10415
|
onScroll: (offset: Pixel) => void;
|
|
10209
10416
|
}
|
|
10210
|
-
declare class ScrollBar extends Component<Props$
|
|
10417
|
+
declare class ScrollBar extends Component<Props$G> {
|
|
10211
10418
|
static props: {
|
|
10212
10419
|
width: {
|
|
10213
10420
|
type: NumberConstructor;
|
|
@@ -10235,10 +10442,10 @@ declare class ScrollBar extends Component<Props$A> {
|
|
|
10235
10442
|
onScroll(ev: any): void;
|
|
10236
10443
|
}
|
|
10237
10444
|
|
|
10238
|
-
interface Props$
|
|
10445
|
+
interface Props$F {
|
|
10239
10446
|
leftOffset: number;
|
|
10240
10447
|
}
|
|
10241
|
-
declare class HorizontalScrollBar extends Component<Props$
|
|
10448
|
+
declare class HorizontalScrollBar extends Component<Props$F, SpreadsheetChildEnv> {
|
|
10242
10449
|
static props: {
|
|
10243
10450
|
leftOffset: {
|
|
10244
10451
|
type: NumberConstructor;
|
|
@@ -10264,10 +10471,10 @@ declare class HorizontalScrollBar extends Component<Props$z, SpreadsheetChildEnv
|
|
|
10264
10471
|
onScroll(offset: any): void;
|
|
10265
10472
|
}
|
|
10266
10473
|
|
|
10267
|
-
interface Props$
|
|
10474
|
+
interface Props$E {
|
|
10268
10475
|
topOffset: number;
|
|
10269
10476
|
}
|
|
10270
|
-
declare class VerticalScrollBar extends Component<Props$
|
|
10477
|
+
declare class VerticalScrollBar extends Component<Props$E, SpreadsheetChildEnv> {
|
|
10271
10478
|
static props: {
|
|
10272
10479
|
topOffset: {
|
|
10273
10480
|
type: NumberConstructor;
|
|
@@ -10302,13 +10509,13 @@ declare class Selection extends Component<{}, SpreadsheetChildEnv> {
|
|
|
10302
10509
|
get highlightProps(): HighlightProps;
|
|
10303
10510
|
}
|
|
10304
10511
|
|
|
10305
|
-
interface Props$
|
|
10512
|
+
interface Props$D {
|
|
10306
10513
|
table: Table;
|
|
10307
10514
|
}
|
|
10308
10515
|
interface State$3 {
|
|
10309
10516
|
highlightZone: Zone | undefined;
|
|
10310
10517
|
}
|
|
10311
|
-
declare class TableResizer extends Component<Props$
|
|
10518
|
+
declare class TableResizer extends Component<Props$D, SpreadsheetChildEnv> {
|
|
10312
10519
|
static template: string;
|
|
10313
10520
|
static props: {
|
|
10314
10521
|
table: ObjectConstructor;
|
|
@@ -10337,11 +10544,11 @@ declare class TableResizer extends Component<Props$x, SpreadsheetChildEnv> {
|
|
|
10337
10544
|
* - a vertical resizer (same, for rows)
|
|
10338
10545
|
*/
|
|
10339
10546
|
type ContextMenuType = "ROW" | "COL" | "CELL" | "FILTER" | "GROUP_HEADERS" | "UNGROUP_HEADERS";
|
|
10340
|
-
interface Props$
|
|
10547
|
+
interface Props$C {
|
|
10341
10548
|
exposeFocus: (focus: () => void) => void;
|
|
10342
10549
|
getGridSize: () => DOMDimension;
|
|
10343
10550
|
}
|
|
10344
|
-
declare class Grid extends Component<Props$
|
|
10551
|
+
declare class Grid extends Component<Props$C, SpreadsheetChildEnv> {
|
|
10345
10552
|
static template: string;
|
|
10346
10553
|
static props: {
|
|
10347
10554
|
exposeFocus: FunctionConstructor;
|
|
@@ -10453,26 +10660,26 @@ declare class MainChartPanelStore extends SpreadsheetStore {
|
|
|
10453
10660
|
panel: "configuration" | "design";
|
|
10454
10661
|
private creationContexts;
|
|
10455
10662
|
activatePanel(panel: "configuration" | "design"): void;
|
|
10456
|
-
changeChartType(
|
|
10663
|
+
changeChartType(chartId: UID, newDisplayType: string): void;
|
|
10457
10664
|
private getChartDefinitionFromContextCreation;
|
|
10458
10665
|
}
|
|
10459
10666
|
|
|
10460
|
-
interface Props$
|
|
10461
|
-
|
|
10667
|
+
interface Props$B {
|
|
10668
|
+
chartId: UID;
|
|
10462
10669
|
chartPanelStore: MainChartPanelStore;
|
|
10463
10670
|
}
|
|
10464
10671
|
interface ChartTypePickerState {
|
|
10465
10672
|
popoverProps: PopoverProps | undefined;
|
|
10466
10673
|
popoverStyle: string;
|
|
10467
10674
|
}
|
|
10468
|
-
declare class ChartTypePicker extends Component<Props$
|
|
10675
|
+
declare class ChartTypePicker extends Component<Props$B, SpreadsheetChildEnv> {
|
|
10469
10676
|
static template: string;
|
|
10470
10677
|
static components: {
|
|
10471
10678
|
Section: typeof Section;
|
|
10472
10679
|
Popover: typeof Popover;
|
|
10473
10680
|
};
|
|
10474
10681
|
static props: {
|
|
10475
|
-
|
|
10682
|
+
chartId: StringConstructor;
|
|
10476
10683
|
chartPanelStore: ObjectConstructor;
|
|
10477
10684
|
};
|
|
10478
10685
|
categories: {
|
|
@@ -10501,11 +10708,11 @@ declare class ChartTypePicker extends Component<Props$v, SpreadsheetChildEnv> {
|
|
|
10501
10708
|
private closePopover;
|
|
10502
10709
|
}
|
|
10503
10710
|
|
|
10504
|
-
interface Props$
|
|
10711
|
+
interface Props$A {
|
|
10505
10712
|
onCloseSidePanel: () => void;
|
|
10506
|
-
|
|
10713
|
+
chartId: UID;
|
|
10507
10714
|
}
|
|
10508
|
-
declare class ChartPanel extends Component<Props$
|
|
10715
|
+
declare class ChartPanel extends Component<Props$A, SpreadsheetChildEnv> {
|
|
10509
10716
|
static template: string;
|
|
10510
10717
|
static components: {
|
|
10511
10718
|
Section: typeof Section;
|
|
@@ -10513,23 +10720,26 @@ declare class ChartPanel extends Component<Props$u, SpreadsheetChildEnv> {
|
|
|
10513
10720
|
};
|
|
10514
10721
|
static props: {
|
|
10515
10722
|
onCloseSidePanel: FunctionConstructor;
|
|
10516
|
-
|
|
10723
|
+
chartId: StringConstructor;
|
|
10517
10724
|
};
|
|
10725
|
+
private panelContentRef;
|
|
10726
|
+
private scrollPositions;
|
|
10518
10727
|
store: Store<MainChartPanelStore>;
|
|
10519
|
-
get
|
|
10728
|
+
get chartId(): UID;
|
|
10520
10729
|
setup(): void;
|
|
10521
|
-
|
|
10522
|
-
|
|
10730
|
+
switchPanel(panel: "configuration" | "design"): void;
|
|
10731
|
+
updateChart<T extends ChartDefinition>(chartId: UID, updateDefinition: Partial<T>): DispatchResult | undefined;
|
|
10732
|
+
canUpdateChart<T extends ChartDefinition>(chartId: UID, updateDefinition: Partial<T>): DispatchResult | undefined;
|
|
10523
10733
|
onTypeChange(type: ChartType): void;
|
|
10524
10734
|
get chartPanel(): ChartSidePanel;
|
|
10525
10735
|
private getChartDefinition;
|
|
10526
10736
|
}
|
|
10527
10737
|
|
|
10528
|
-
interface Props$
|
|
10738
|
+
interface Props$z {
|
|
10529
10739
|
onValueChange: (value: number) => void;
|
|
10530
10740
|
value: number;
|
|
10531
10741
|
}
|
|
10532
|
-
declare class PieHoleSize extends Component<Props$
|
|
10742
|
+
declare class PieHoleSize extends Component<Props$z, SpreadsheetChildEnv> {
|
|
10533
10743
|
static template: string;
|
|
10534
10744
|
static components: {
|
|
10535
10745
|
Section: typeof Section;
|
|
@@ -10542,13 +10752,13 @@ declare class PieHoleSize extends Component<Props$t, SpreadsheetChildEnv> {
|
|
|
10542
10752
|
onChange(value: string): void;
|
|
10543
10753
|
}
|
|
10544
10754
|
|
|
10545
|
-
interface Props$
|
|
10546
|
-
|
|
10755
|
+
interface Props$y {
|
|
10756
|
+
chartId: UID;
|
|
10547
10757
|
definition: PieChartDefinition;
|
|
10548
|
-
canUpdateChart: (
|
|
10549
|
-
updateChart: (
|
|
10758
|
+
canUpdateChart: (chartId: UID, definition: GenericDefinition<PieChartDefinition>) => DispatchResult;
|
|
10759
|
+
updateChart: (chartId: UID, definition: GenericDefinition<PieChartDefinition>) => DispatchResult;
|
|
10550
10760
|
}
|
|
10551
|
-
declare class PieChartDesignPanel extends Component<Props$
|
|
10761
|
+
declare class PieChartDesignPanel extends Component<Props$y, SpreadsheetChildEnv> {
|
|
10552
10762
|
static template: string;
|
|
10553
10763
|
static components: {
|
|
10554
10764
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
@@ -10556,9 +10766,11 @@ declare class PieChartDesignPanel extends Component<Props$s, SpreadsheetChildEnv
|
|
|
10556
10766
|
ChartLegend: typeof ChartLegend;
|
|
10557
10767
|
ChartShowValues: typeof ChartShowValues;
|
|
10558
10768
|
PieHoleSize: typeof PieHoleSize;
|
|
10769
|
+
Checkbox: typeof Checkbox;
|
|
10770
|
+
ChartHumanizeNumbers: typeof ChartHumanizeNumbers;
|
|
10559
10771
|
};
|
|
10560
10772
|
static props: {
|
|
10561
|
-
|
|
10773
|
+
chartId: StringConstructor;
|
|
10562
10774
|
definition: ObjectConstructor;
|
|
10563
10775
|
updateChart: FunctionConstructor;
|
|
10564
10776
|
canUpdateChart: {
|
|
@@ -10567,12 +10779,13 @@ declare class PieChartDesignPanel extends Component<Props$s, SpreadsheetChildEnv
|
|
|
10567
10779
|
};
|
|
10568
10780
|
};
|
|
10569
10781
|
onPieHoleSizeChange(pieHolePercentage: number): void;
|
|
10782
|
+
get defaultHoleSize(): number;
|
|
10570
10783
|
}
|
|
10571
10784
|
|
|
10572
|
-
interface Props$
|
|
10785
|
+
interface Props$x {
|
|
10573
10786
|
items: ActionSpec[];
|
|
10574
10787
|
}
|
|
10575
|
-
declare class CogWheelMenu extends Component<Props$
|
|
10788
|
+
declare class CogWheelMenu extends Component<Props$x, SpreadsheetChildEnv> {
|
|
10576
10789
|
static template: string;
|
|
10577
10790
|
static components: {
|
|
10578
10791
|
MenuPopover: typeof MenuPopover;
|
|
@@ -10655,14 +10868,14 @@ declare class FindAndReplaceStore extends SpreadsheetStore implements HighlightP
|
|
|
10655
10868
|
get highlights(): Highlight$1[];
|
|
10656
10869
|
}
|
|
10657
10870
|
|
|
10658
|
-
interface Props$
|
|
10871
|
+
interface Props$w {
|
|
10659
10872
|
deferUpdate: boolean;
|
|
10660
10873
|
isDirty: boolean;
|
|
10661
10874
|
toggleDeferUpdate: (value: boolean) => void;
|
|
10662
10875
|
discard: () => void;
|
|
10663
10876
|
apply: () => void;
|
|
10664
10877
|
}
|
|
10665
|
-
declare class PivotDeferUpdate extends Component<Props$
|
|
10878
|
+
declare class PivotDeferUpdate extends Component<Props$w, SpreadsheetChildEnv> {
|
|
10666
10879
|
static template: string;
|
|
10667
10880
|
static props: {
|
|
10668
10881
|
deferUpdate: BooleanConstructor;
|
|
@@ -10679,11 +10892,11 @@ declare class PivotDeferUpdate extends Component<Props$q, SpreadsheetChildEnv> {
|
|
|
10679
10892
|
get deferUpdatesTooltip(): string;
|
|
10680
10893
|
}
|
|
10681
10894
|
|
|
10682
|
-
interface Props$
|
|
10895
|
+
interface Props$v {
|
|
10683
10896
|
onFieldPicked: (field: string) => void;
|
|
10684
10897
|
fields: PivotField[];
|
|
10685
10898
|
}
|
|
10686
|
-
declare class AddDimensionButton extends Component<Props$
|
|
10899
|
+
declare class AddDimensionButton extends Component<Props$v, SpreadsheetChildEnv> {
|
|
10687
10900
|
static template: string;
|
|
10688
10901
|
static components: {
|
|
10689
10902
|
Popover: typeof Popover;
|
|
@@ -10719,15 +10932,16 @@ declare class AddDimensionButton extends Component<Props$p, SpreadsheetChildEnv>
|
|
|
10719
10932
|
onKeyDown(ev: KeyboardEvent): void;
|
|
10720
10933
|
}
|
|
10721
10934
|
|
|
10722
|
-
interface Props$
|
|
10935
|
+
interface Props$u {
|
|
10723
10936
|
value: string;
|
|
10724
10937
|
onChange: (value: string) => void;
|
|
10725
10938
|
class?: string;
|
|
10726
10939
|
id?: string;
|
|
10727
10940
|
placeholder?: string;
|
|
10728
10941
|
autofocus?: boolean;
|
|
10942
|
+
alwaysShowBorder?: boolean;
|
|
10729
10943
|
}
|
|
10730
|
-
declare class TextInput extends Component<Props$
|
|
10944
|
+
declare class TextInput extends Component<Props$u, SpreadsheetChildEnv> {
|
|
10731
10945
|
static template: string;
|
|
10732
10946
|
static props: {
|
|
10733
10947
|
value: StringConstructor;
|
|
@@ -10748,6 +10962,10 @@ declare class TextInput extends Component<Props$o, SpreadsheetChildEnv> {
|
|
|
10748
10962
|
type: BooleanConstructor;
|
|
10749
10963
|
optional: boolean;
|
|
10750
10964
|
};
|
|
10965
|
+
alwaysShowBorder: {
|
|
10966
|
+
type: BooleanConstructor;
|
|
10967
|
+
optional: boolean;
|
|
10968
|
+
};
|
|
10751
10969
|
};
|
|
10752
10970
|
private inputRef;
|
|
10753
10971
|
setup(): void;
|
|
@@ -10755,15 +10973,16 @@ declare class TextInput extends Component<Props$o, SpreadsheetChildEnv> {
|
|
|
10755
10973
|
save(): void;
|
|
10756
10974
|
onMouseDown(ev: MouseEvent): void;
|
|
10757
10975
|
onMouseUp(ev: MouseEvent): void;
|
|
10976
|
+
get inputClass(): string;
|
|
10758
10977
|
}
|
|
10759
10978
|
|
|
10760
|
-
interface Props$
|
|
10979
|
+
interface Props$t {
|
|
10761
10980
|
dimension: PivotCoreDimension | PivotCoreMeasure;
|
|
10762
10981
|
onRemoved: (dimension: PivotCoreDimension | PivotCoreMeasure) => void;
|
|
10763
10982
|
onNameUpdated?: (dimension: PivotCoreDimension | PivotCoreMeasure, name?: string) => void;
|
|
10764
10983
|
type: "row" | "col" | "measure";
|
|
10765
10984
|
}
|
|
10766
|
-
declare class PivotDimension extends Component<Props$
|
|
10985
|
+
declare class PivotDimension extends Component<Props$t, SpreadsheetChildEnv> {
|
|
10767
10986
|
static template: string;
|
|
10768
10987
|
static props: {
|
|
10769
10988
|
dimension: ObjectConstructor;
|
|
@@ -10787,13 +11006,13 @@ declare class PivotDimension extends Component<Props$n, SpreadsheetChildEnv> {
|
|
|
10787
11006
|
updateName(name: string): void;
|
|
10788
11007
|
}
|
|
10789
11008
|
|
|
10790
|
-
interface Props$
|
|
11009
|
+
interface Props$s {
|
|
10791
11010
|
dimension: PivotDimension$1;
|
|
10792
11011
|
onUpdated: (dimension: PivotDimension$1, ev: InputEvent) => void;
|
|
10793
11012
|
availableGranularities: Set<string>;
|
|
10794
11013
|
allGranularities: string[];
|
|
10795
11014
|
}
|
|
10796
|
-
declare class PivotDimensionGranularity extends Component<Props$
|
|
11015
|
+
declare class PivotDimensionGranularity extends Component<Props$s, SpreadsheetChildEnv> {
|
|
10797
11016
|
static template: string;
|
|
10798
11017
|
static props: {
|
|
10799
11018
|
dimension: ObjectConstructor;
|
|
@@ -10818,11 +11037,11 @@ declare class PivotDimensionGranularity extends Component<Props$m, SpreadsheetCh
|
|
|
10818
11037
|
};
|
|
10819
11038
|
}
|
|
10820
11039
|
|
|
10821
|
-
interface Props$
|
|
11040
|
+
interface Props$r {
|
|
10822
11041
|
dimension: PivotDimension$1;
|
|
10823
11042
|
onUpdated: (dimension: PivotDimension$1, ev: InputEvent) => void;
|
|
10824
11043
|
}
|
|
10825
|
-
declare class PivotDimensionOrder extends Component<Props$
|
|
11044
|
+
declare class PivotDimensionOrder extends Component<Props$r, SpreadsheetChildEnv> {
|
|
10826
11045
|
static template: string;
|
|
10827
11046
|
static props: {
|
|
10828
11047
|
dimension: ObjectConstructor;
|
|
@@ -10855,10 +11074,36 @@ declare function createPivotFormula(formulaId: string, cell: PivotTableCell): st
|
|
|
10855
11074
|
* e.g. given the following formula PIVOT.VALUE("1", "stage_id", "42", "status", "won"),
|
|
10856
11075
|
* the two group values are "42" and "won".
|
|
10857
11076
|
*/
|
|
10858
|
-
declare function toNormalizedPivotValue(dimension: Pick<PivotDimension$1, "type" | "displayName" | "granularity">, groupValue:
|
|
11077
|
+
declare function toNormalizedPivotValue(dimension: Pick<PivotDimension$1, "type" | "displayName" | "granularity">, groupValue: Maybe<CellValue | FunctionResultObject>): CellValue;
|
|
10859
11078
|
declare function toFunctionPivotValue(value: CellValue, dimension: Pick<PivotDimension$1, "type" | "granularity">): string;
|
|
11079
|
+
declare function createCustomFields(definition: PivotCoreDefinition, fields: PivotFields): PivotFields;
|
|
10860
11080
|
|
|
10861
|
-
interface Props$
|
|
11081
|
+
interface Props$q {
|
|
11082
|
+
pivotId: UID;
|
|
11083
|
+
customField: PivotCustomGroupedField;
|
|
11084
|
+
onCustomFieldUpdated: (definition: Partial<PivotCoreDefinition>) => void;
|
|
11085
|
+
}
|
|
11086
|
+
declare class PivotCustomGroupsCollapsible extends Component<Props$q, SpreadsheetChildEnv> {
|
|
11087
|
+
static template: string;
|
|
11088
|
+
static props: {
|
|
11089
|
+
pivotId: StringConstructor;
|
|
11090
|
+
customField: ObjectConstructor;
|
|
11091
|
+
onCustomFieldUpdated: FunctionConstructor;
|
|
11092
|
+
};
|
|
11093
|
+
static components: {
|
|
11094
|
+
SidePanelCollapsible: typeof SidePanelCollapsible;
|
|
11095
|
+
TextInput: typeof TextInput;
|
|
11096
|
+
Checkbox: typeof Checkbox;
|
|
11097
|
+
};
|
|
11098
|
+
get groups(): PivotCustomGroup[];
|
|
11099
|
+
get hasOthersGroup(): boolean;
|
|
11100
|
+
addOthersGroup(): void;
|
|
11101
|
+
onDeleteGroup(groupIndex: number): void;
|
|
11102
|
+
onRenameGroup(groupIndex: number, newName: string): void;
|
|
11103
|
+
private updateCustomField;
|
|
11104
|
+
}
|
|
11105
|
+
|
|
11106
|
+
interface Props$p {
|
|
10862
11107
|
pivotId: string;
|
|
10863
11108
|
definition: PivotRuntimeDefinition;
|
|
10864
11109
|
measure: PivotMeasure;
|
|
@@ -10866,7 +11111,7 @@ interface Props$k {
|
|
|
10866
11111
|
onRemoved: () => void;
|
|
10867
11112
|
generateMeasureId: (fieldName: string, aggregator?: string) => string;
|
|
10868
11113
|
}
|
|
10869
|
-
declare class PivotMeasureEditor extends Component<Props$
|
|
11114
|
+
declare class PivotMeasureEditor extends Component<Props$p> {
|
|
10870
11115
|
static template: string;
|
|
10871
11116
|
static components: {
|
|
10872
11117
|
PivotDimension: typeof PivotDimension;
|
|
@@ -10891,11 +11136,11 @@ declare class PivotMeasureEditor extends Component<Props$k> {
|
|
|
10891
11136
|
get isCalculatedMeasureInvalid(): boolean;
|
|
10892
11137
|
}
|
|
10893
11138
|
|
|
10894
|
-
interface Props$
|
|
11139
|
+
interface Props$o {
|
|
10895
11140
|
definition: PivotRuntimeDefinition;
|
|
10896
11141
|
pivotId: UID;
|
|
10897
11142
|
}
|
|
10898
|
-
declare class PivotSortSection extends Component<Props$
|
|
11143
|
+
declare class PivotSortSection extends Component<Props$o, SpreadsheetChildEnv> {
|
|
10899
11144
|
static template: string;
|
|
10900
11145
|
static components: {
|
|
10901
11146
|
Section: typeof Section;
|
|
@@ -10912,7 +11157,7 @@ declare class PivotSortSection extends Component<Props$j, SpreadsheetChildEnv> {
|
|
|
10912
11157
|
}[];
|
|
10913
11158
|
}
|
|
10914
11159
|
|
|
10915
|
-
interface Props$
|
|
11160
|
+
interface Props$n {
|
|
10916
11161
|
definition: PivotRuntimeDefinition;
|
|
10917
11162
|
onDimensionsUpdated: (definition: Partial<PivotCoreDefinition>) => void;
|
|
10918
11163
|
unusedGroupableFields: PivotField[];
|
|
@@ -10923,7 +11168,7 @@ interface Props$i {
|
|
|
10923
11168
|
getScrollableContainerEl?: () => HTMLElement;
|
|
10924
11169
|
pivotId: UID;
|
|
10925
11170
|
}
|
|
10926
|
-
declare class PivotLayoutConfigurator extends Component<Props$
|
|
11171
|
+
declare class PivotLayoutConfigurator extends Component<Props$n, SpreadsheetChildEnv> {
|
|
10927
11172
|
static template: string;
|
|
10928
11173
|
static components: {
|
|
10929
11174
|
AddDimensionButton: typeof AddDimensionButton;
|
|
@@ -10932,6 +11177,7 @@ declare class PivotLayoutConfigurator extends Component<Props$i, SpreadsheetChil
|
|
|
10932
11177
|
PivotDimensionGranularity: typeof PivotDimensionGranularity;
|
|
10933
11178
|
PivotMeasureEditor: typeof PivotMeasureEditor;
|
|
10934
11179
|
PivotSortSection: typeof PivotSortSection;
|
|
11180
|
+
PivotCustomGroupsCollapsible: typeof PivotCustomGroupsCollapsible;
|
|
10935
11181
|
};
|
|
10936
11182
|
static props: {
|
|
10937
11183
|
definition: ObjectConstructor;
|
|
@@ -10971,9 +11217,11 @@ declare class PivotLayoutConfigurator extends Component<Props$i, SpreadsheetChil
|
|
|
10971
11217
|
private getMeasureId;
|
|
10972
11218
|
private getDefaultMeasureAggregator;
|
|
10973
11219
|
addCalculatedMeasure(): void;
|
|
11220
|
+
getCustomField(dimension: PivotDimension$1): PivotCustomGroupedField | undefined;
|
|
10974
11221
|
updateOrder(updateDimension: PivotDimension$1, order?: SortDirection): void;
|
|
10975
11222
|
updateGranularity(dimension: PivotDimension$1, granularity: Granularity): void;
|
|
10976
11223
|
getMeasureDescription(measure: PivotMeasure): string;
|
|
11224
|
+
getHugeDimensionErrorMessage(dimension: PivotDimension$1): string | undefined;
|
|
10977
11225
|
}
|
|
10978
11226
|
|
|
10979
11227
|
declare class PivotSidePanelStore extends SpreadsheetStore {
|
|
@@ -10983,6 +11231,7 @@ declare class PivotSidePanelStore extends SpreadsheetStore {
|
|
|
10983
11231
|
private draft;
|
|
10984
11232
|
private notification;
|
|
10985
11233
|
private alreadyNotified;
|
|
11234
|
+
private alreadyNotifiedForPivotSize;
|
|
10986
11235
|
constructor(get: Get, pivotId: UID);
|
|
10987
11236
|
handle(cmd: Command): void;
|
|
10988
11237
|
get fields(): PivotFields;
|
|
@@ -11014,11 +11263,11 @@ declare class PivotSidePanelStore extends SpreadsheetStore {
|
|
|
11014
11263
|
private areDomainFieldsValid;
|
|
11015
11264
|
}
|
|
11016
11265
|
|
|
11017
|
-
interface Props$
|
|
11266
|
+
interface Props$m {
|
|
11018
11267
|
pivotId: UID;
|
|
11019
11268
|
flipAxis: () => void;
|
|
11020
11269
|
}
|
|
11021
|
-
declare class PivotTitleSection extends Component<Props$
|
|
11270
|
+
declare class PivotTitleSection extends Component<Props$m, SpreadsheetChildEnv> {
|
|
11022
11271
|
static template: string;
|
|
11023
11272
|
static components: {
|
|
11024
11273
|
CogWheelMenu: typeof CogWheelMenu;
|
|
@@ -11115,6 +11364,58 @@ declare function getFirstPivotFunction(tokens: Token[]): {
|
|
|
11115
11364
|
*/
|
|
11116
11365
|
declare function getNumberOfPivotFunctions(tokens: Token[]): number;
|
|
11117
11366
|
|
|
11367
|
+
declare class ZoomableChartJsComponent extends ChartJsComponent {
|
|
11368
|
+
static template: string;
|
|
11369
|
+
private store;
|
|
11370
|
+
private fullScreenChartStore;
|
|
11371
|
+
private masterChartCanvas;
|
|
11372
|
+
private masterChart?;
|
|
11373
|
+
private mode?;
|
|
11374
|
+
private hasLinearScale?;
|
|
11375
|
+
private isBarChart?;
|
|
11376
|
+
private chartId;
|
|
11377
|
+
private datasetBoundaries;
|
|
11378
|
+
private removeEventListeners;
|
|
11379
|
+
setup(): void;
|
|
11380
|
+
protected unmount(): void;
|
|
11381
|
+
get containerStyle(): string;
|
|
11382
|
+
get sliceable(): boolean;
|
|
11383
|
+
get axisOffset(): number;
|
|
11384
|
+
private getMasterChartConfiguration;
|
|
11385
|
+
private getDetailChartConfiguration;
|
|
11386
|
+
private getAxisLimitsFromDataset;
|
|
11387
|
+
protected get shouldAnimate(): boolean;
|
|
11388
|
+
protected createChart(chartRuntime: ChartJSRuntime): void;
|
|
11389
|
+
protected updateChartJs(chartRuntime: ChartJSRuntime): void;
|
|
11390
|
+
private resetAxesLimits;
|
|
11391
|
+
private updateTrendingLineAxes;
|
|
11392
|
+
get upperBound(): number | undefined;
|
|
11393
|
+
get lowerBound(): number | undefined;
|
|
11394
|
+
private computePosition;
|
|
11395
|
+
private computeCoordinate;
|
|
11396
|
+
private updateAxisLimits;
|
|
11397
|
+
onPointerDownInMasterChart(ev: PointerEvent): void;
|
|
11398
|
+
onPointerMoveInMasterChart(ev: PointerEvent): void;
|
|
11399
|
+
onMouseLeaveMasterChart(ev: PointerEvent): void;
|
|
11400
|
+
onDoubleClickInMasterChart(ev: PointerEvent): void;
|
|
11401
|
+
}
|
|
11402
|
+
|
|
11403
|
+
declare class ChartDashboardMenuStore extends SpreadsheetStore {
|
|
11404
|
+
private chartId;
|
|
11405
|
+
mutators: readonly ["reset"];
|
|
11406
|
+
private originalChartDefinition;
|
|
11407
|
+
constructor(get: Get, chartId: UID);
|
|
11408
|
+
get changeChartTypeMenuItems(): {
|
|
11409
|
+
id: "line" | "bar" | "scatter" | "pie" | "radar" | "funnel" | "treemap" | "geo" | "combo" | "waterfall" | "pyramid" | "sunburst" | "scorecard" | "gauge";
|
|
11410
|
+
label: string;
|
|
11411
|
+
onClick: () => void;
|
|
11412
|
+
class: string;
|
|
11413
|
+
preview: string;
|
|
11414
|
+
}[];
|
|
11415
|
+
reset(chartId: UID): void;
|
|
11416
|
+
private updateType;
|
|
11417
|
+
}
|
|
11418
|
+
|
|
11118
11419
|
declare class FullScreenChart extends Component<{}, SpreadsheetChildEnv> {
|
|
11119
11420
|
static template: string;
|
|
11120
11421
|
static props: {};
|
|
@@ -11127,6 +11428,7 @@ declare class FullScreenChart extends Component<{}, SpreadsheetChildEnv> {
|
|
|
11127
11428
|
figureRegistry: Registry<FigureContent>;
|
|
11128
11429
|
setup(): void;
|
|
11129
11430
|
get figureUI(): FigureUI | undefined;
|
|
11431
|
+
get chartId(): UID | undefined;
|
|
11130
11432
|
exitFullScreen(): void;
|
|
11131
11433
|
onKeyDown(ev: KeyboardEvent): void;
|
|
11132
11434
|
get chartComponent(): (new (...args: any) => Component) | undefined;
|
|
@@ -11150,7 +11452,7 @@ interface PivotDialogValue {
|
|
|
11150
11452
|
value: string;
|
|
11151
11453
|
isMissing: boolean;
|
|
11152
11454
|
}
|
|
11153
|
-
interface Props$
|
|
11455
|
+
interface Props$l {
|
|
11154
11456
|
pivotId: UID;
|
|
11155
11457
|
onCellClicked: (formula: string) => void;
|
|
11156
11458
|
}
|
|
@@ -11159,7 +11461,7 @@ interface TableData {
|
|
|
11159
11461
|
rows: PivotDialogRow[];
|
|
11160
11462
|
values: PivotDialogValue[][];
|
|
11161
11463
|
}
|
|
11162
|
-
declare class PivotHTMLRenderer extends Component<Props$
|
|
11464
|
+
declare class PivotHTMLRenderer extends Component<Props$l, SpreadsheetChildEnv> {
|
|
11163
11465
|
static template: string;
|
|
11164
11466
|
static components: {
|
|
11165
11467
|
Checkbox: typeof Checkbox;
|
|
@@ -11216,36 +11518,59 @@ declare class PivotHTMLRenderer extends Component<Props$g, SpreadsheetChildEnv>
|
|
|
11216
11518
|
_buildValues(id: UID, table: SpreadsheetPivotTable): PivotDialogValue[][];
|
|
11217
11519
|
}
|
|
11218
11520
|
|
|
11219
|
-
interface Props$
|
|
11220
|
-
|
|
11521
|
+
interface Props$k {
|
|
11522
|
+
chartId: UID;
|
|
11221
11523
|
definition: ChartWithDataSetDefinition;
|
|
11222
|
-
updateChart: (
|
|
11223
|
-
canUpdateChart: (
|
|
11524
|
+
updateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
11525
|
+
canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
|
|
11224
11526
|
}
|
|
11225
|
-
declare class ChartShowDataMarkers extends Component<Props$
|
|
11527
|
+
declare class ChartShowDataMarkers extends Component<Props$k, SpreadsheetChildEnv> {
|
|
11226
11528
|
static template: string;
|
|
11227
11529
|
static components: {
|
|
11228
11530
|
Checkbox: typeof Checkbox;
|
|
11229
11531
|
};
|
|
11230
11532
|
static props: {
|
|
11231
|
-
|
|
11533
|
+
chartId: StringConstructor;
|
|
11232
11534
|
definition: ObjectConstructor;
|
|
11233
11535
|
updateChart: FunctionConstructor;
|
|
11234
11536
|
canUpdateChart: FunctionConstructor;
|
|
11235
11537
|
};
|
|
11236
11538
|
}
|
|
11237
11539
|
|
|
11238
|
-
interface Props$
|
|
11239
|
-
|
|
11540
|
+
interface Props$j {
|
|
11541
|
+
chartId: UID;
|
|
11542
|
+
definition: ZoomableChartDefinition;
|
|
11543
|
+
canUpdateChart: (chartId: UID, definition: GenericDefinition<ZoomableChartDefinition>) => DispatchResult;
|
|
11544
|
+
updateChart: (chartId: UID, definition: GenericDefinition<ZoomableChartDefinition>) => DispatchResult;
|
|
11545
|
+
}
|
|
11546
|
+
declare class GenericZoomableChartDesignPanel<P extends Props$j = Props$j> extends ChartWithAxisDesignPanel<Props$j> {
|
|
11547
|
+
static template: string;
|
|
11548
|
+
static components: {
|
|
11549
|
+
Checkbox: typeof Checkbox;
|
|
11550
|
+
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
11551
|
+
SidePanelCollapsible: typeof SidePanelCollapsible;
|
|
11552
|
+
Section: typeof Section;
|
|
11553
|
+
AxisDesignEditor: typeof AxisDesignEditor;
|
|
11554
|
+
SeriesWithAxisDesignEditor: typeof SeriesWithAxisDesignEditor;
|
|
11555
|
+
ChartLegend: typeof ChartLegend;
|
|
11556
|
+
ChartShowValues: typeof ChartShowValues;
|
|
11557
|
+
ChartHumanizeNumbers: typeof ChartHumanizeNumbers;
|
|
11558
|
+
};
|
|
11559
|
+
onToggleZoom(zoomable: boolean): void;
|
|
11560
|
+
}
|
|
11561
|
+
|
|
11562
|
+
interface Props$i {
|
|
11563
|
+
chartId: UID;
|
|
11240
11564
|
definition: ComboChartDefinition;
|
|
11241
|
-
canUpdateChart: (
|
|
11242
|
-
updateChart: (
|
|
11565
|
+
canUpdateChart: (chartId: UID, definition: GenericDefinition<ComboChartDefinition>) => DispatchResult;
|
|
11566
|
+
updateChart: (chartId: UID, definition: GenericDefinition<ComboChartDefinition>) => DispatchResult;
|
|
11243
11567
|
}
|
|
11244
|
-
declare class ComboChartDesignPanel extends
|
|
11568
|
+
declare class ComboChartDesignPanel extends GenericZoomableChartDesignPanel<Props$i> {
|
|
11245
11569
|
static template: string;
|
|
11246
11570
|
static components: {
|
|
11247
11571
|
ChartShowDataMarkers: typeof ChartShowDataMarkers;
|
|
11248
11572
|
RadioSelection: typeof RadioSelection;
|
|
11573
|
+
Checkbox: typeof Checkbox;
|
|
11249
11574
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
11250
11575
|
SidePanelCollapsible: typeof SidePanelCollapsible;
|
|
11251
11576
|
Section: typeof Section;
|
|
@@ -11253,6 +11578,7 @@ declare class ComboChartDesignPanel extends ChartWithAxisDesignPanel<Props$e> {
|
|
|
11253
11578
|
SeriesWithAxisDesignEditor: typeof SeriesWithAxisDesignEditor;
|
|
11254
11579
|
ChartLegend: typeof ChartLegend;
|
|
11255
11580
|
ChartShowValues: typeof ChartShowValues;
|
|
11581
|
+
ChartHumanizeNumbers: typeof ChartHumanizeNumbers;
|
|
11256
11582
|
};
|
|
11257
11583
|
seriesTypeChoices: {
|
|
11258
11584
|
value: string;
|
|
@@ -11262,13 +11588,13 @@ declare class ComboChartDesignPanel extends ChartWithAxisDesignPanel<Props$e> {
|
|
|
11262
11588
|
getDataSeriesType(index: number): "line" | "bar";
|
|
11263
11589
|
}
|
|
11264
11590
|
|
|
11265
|
-
interface Props$
|
|
11266
|
-
|
|
11591
|
+
interface Props$h {
|
|
11592
|
+
chartId: UID;
|
|
11267
11593
|
definition: FunnelChartDefinition;
|
|
11268
|
-
canUpdateChart: (
|
|
11269
|
-
updateChart: (
|
|
11594
|
+
canUpdateChart: (chartId: UID, definition: Partial<FunnelChartDefinition>) => DispatchResult;
|
|
11595
|
+
updateChart: (chartId: UID, definition: Partial<FunnelChartDefinition>) => DispatchResult;
|
|
11270
11596
|
}
|
|
11271
|
-
declare class FunnelChartDesignPanel extends Component<Props$
|
|
11597
|
+
declare class FunnelChartDesignPanel extends Component<Props$h, SpreadsheetChildEnv> {
|
|
11272
11598
|
static template: string;
|
|
11273
11599
|
static components: {
|
|
11274
11600
|
ChartShowValues: typeof ChartShowValues;
|
|
@@ -11276,9 +11602,10 @@ declare class FunnelChartDesignPanel extends Component<Props$d, SpreadsheetChild
|
|
|
11276
11602
|
SidePanelCollapsible: typeof SidePanelCollapsible;
|
|
11277
11603
|
RoundColorPicker: typeof RoundColorPicker;
|
|
11278
11604
|
Section: typeof Section;
|
|
11605
|
+
ChartHumanizeNumbers: typeof ChartHumanizeNumbers;
|
|
11279
11606
|
};
|
|
11280
11607
|
static props: {
|
|
11281
|
-
|
|
11608
|
+
chartId: StringConstructor;
|
|
11282
11609
|
definition: ObjectConstructor;
|
|
11283
11610
|
updateChart: FunctionConstructor;
|
|
11284
11611
|
canUpdateChart: FunctionConstructor;
|
|
@@ -11290,13 +11617,13 @@ declare class FunnelChartDesignPanel extends Component<Props$d, SpreadsheetChild
|
|
|
11290
11617
|
updateFunnelItemColor(index: number, color: string): void;
|
|
11291
11618
|
}
|
|
11292
11619
|
|
|
11293
|
-
interface Props$
|
|
11294
|
-
|
|
11620
|
+
interface Props$g {
|
|
11621
|
+
chartId: UID;
|
|
11295
11622
|
definition: GeoChartDefinition;
|
|
11296
|
-
canUpdateChart: (
|
|
11297
|
-
updateChart: (
|
|
11623
|
+
canUpdateChart: (chartId: UID, definition: Partial<GeoChartDefinition>) => DispatchResult;
|
|
11624
|
+
updateChart: (chartId: UID, definition: Partial<GeoChartDefinition>) => DispatchResult;
|
|
11298
11625
|
}
|
|
11299
|
-
declare class GeoChartDesignPanel extends ChartWithAxisDesignPanel<Props$
|
|
11626
|
+
declare class GeoChartDesignPanel extends ChartWithAxisDesignPanel<Props$g> {
|
|
11300
11627
|
static template: string;
|
|
11301
11628
|
static components: {
|
|
11302
11629
|
RoundColorPicker: typeof RoundColorPicker;
|
|
@@ -11307,6 +11634,7 @@ declare class GeoChartDesignPanel extends ChartWithAxisDesignPanel<Props$c> {
|
|
|
11307
11634
|
SeriesWithAxisDesignEditor: typeof SeriesWithAxisDesignEditor;
|
|
11308
11635
|
ChartLegend: typeof ChartLegend;
|
|
11309
11636
|
ChartShowValues: typeof ChartShowValues;
|
|
11637
|
+
ChartHumanizeNumbers: typeof ChartHumanizeNumbers;
|
|
11310
11638
|
};
|
|
11311
11639
|
colorScalesChoices: Record<"blues" | "cividis" | "greens" | "greys" | "oranges" | "purples" | "rainbow" | "reds" | "viridis", string>;
|
|
11312
11640
|
updateColorScaleType(ev: Event): void;
|
|
@@ -11320,18 +11648,18 @@ declare class GeoChartDesignPanel extends ChartWithAxisDesignPanel<Props$c> {
|
|
|
11320
11648
|
setCustomColorScaleColor(colorType: "minColor" | "midColor" | "maxColor", color: Color): void;
|
|
11321
11649
|
}
|
|
11322
11650
|
|
|
11323
|
-
interface Props$
|
|
11324
|
-
|
|
11651
|
+
interface Props$f {
|
|
11652
|
+
chartId: UID;
|
|
11325
11653
|
definition: GeoChartDefinition;
|
|
11326
|
-
updateChart: (
|
|
11654
|
+
updateChart: (chartId: UID, definition: Partial<GeoChartDefinition>) => DispatchResult;
|
|
11327
11655
|
}
|
|
11328
|
-
declare class GeoChartRegionSelectSection extends Component<Props$
|
|
11656
|
+
declare class GeoChartRegionSelectSection extends Component<Props$f, SpreadsheetChildEnv> {
|
|
11329
11657
|
static template: string;
|
|
11330
11658
|
static components: {
|
|
11331
11659
|
Section: typeof Section;
|
|
11332
11660
|
};
|
|
11333
11661
|
static props: {
|
|
11334
|
-
|
|
11662
|
+
chartId: StringConstructor;
|
|
11335
11663
|
definition: ObjectConstructor;
|
|
11336
11664
|
updateChart: FunctionConstructor;
|
|
11337
11665
|
};
|
|
@@ -11340,16 +11668,17 @@ declare class GeoChartRegionSelectSection extends Component<Props$b, Spreadsheet
|
|
|
11340
11668
|
get selectedRegion(): string;
|
|
11341
11669
|
}
|
|
11342
11670
|
|
|
11343
|
-
interface Props$
|
|
11344
|
-
|
|
11345
|
-
definition:
|
|
11346
|
-
canUpdateChart: (
|
|
11347
|
-
updateChart: (
|
|
11671
|
+
interface Props$e {
|
|
11672
|
+
chartId: UID;
|
|
11673
|
+
definition: LineChartDefinition;
|
|
11674
|
+
canUpdateChart: (chartId: UID, definition: LineChartDefinition) => DispatchResult;
|
|
11675
|
+
updateChart: (chartId: UID, definition: LineChartDefinition) => DispatchResult;
|
|
11348
11676
|
}
|
|
11349
|
-
declare class LineChartDesignPanel extends
|
|
11677
|
+
declare class LineChartDesignPanel extends GenericZoomableChartDesignPanel<Props$e> {
|
|
11350
11678
|
static template: string;
|
|
11351
11679
|
static components: {
|
|
11352
11680
|
ChartShowDataMarkers: typeof ChartShowDataMarkers;
|
|
11681
|
+
Checkbox: typeof Checkbox;
|
|
11353
11682
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
11354
11683
|
SidePanelCollapsible: typeof SidePanelCollapsible;
|
|
11355
11684
|
Section: typeof Section;
|
|
@@ -11357,16 +11686,17 @@ declare class LineChartDesignPanel extends ChartWithAxisDesignPanel<Props$a> {
|
|
|
11357
11686
|
SeriesWithAxisDesignEditor: typeof SeriesWithAxisDesignEditor;
|
|
11358
11687
|
ChartLegend: typeof ChartLegend;
|
|
11359
11688
|
ChartShowValues: typeof ChartShowValues;
|
|
11689
|
+
ChartHumanizeNumbers: typeof ChartHumanizeNumbers;
|
|
11360
11690
|
};
|
|
11361
11691
|
}
|
|
11362
11692
|
|
|
11363
|
-
interface Props$
|
|
11364
|
-
|
|
11693
|
+
interface Props$d {
|
|
11694
|
+
chartId: UID;
|
|
11365
11695
|
definition: RadarChartDefinition;
|
|
11366
|
-
canUpdateChart: (
|
|
11367
|
-
updateChart: (
|
|
11696
|
+
canUpdateChart: (chartId: UID, definition: GenericDefinition<RadarChartDefinition>) => DispatchResult;
|
|
11697
|
+
updateChart: (chartId: UID, definition: GenericDefinition<RadarChartDefinition>) => DispatchResult;
|
|
11368
11698
|
}
|
|
11369
|
-
declare class RadarChartDesignPanel extends Component<Props$
|
|
11699
|
+
declare class RadarChartDesignPanel extends Component<Props$d, SpreadsheetChildEnv> {
|
|
11370
11700
|
static template: string;
|
|
11371
11701
|
static components: {
|
|
11372
11702
|
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
@@ -11375,20 +11705,157 @@ declare class RadarChartDesignPanel extends Component<Props$9, SpreadsheetChildE
|
|
|
11375
11705
|
ChartLegend: typeof ChartLegend;
|
|
11376
11706
|
ChartShowValues: typeof ChartShowValues;
|
|
11377
11707
|
ChartShowDataMarkers: typeof ChartShowDataMarkers;
|
|
11708
|
+
Checkbox: typeof Checkbox;
|
|
11709
|
+
ChartHumanizeNumbers: typeof ChartHumanizeNumbers;
|
|
11378
11710
|
};
|
|
11379
11711
|
static props: {
|
|
11380
|
-
|
|
11712
|
+
chartId: StringConstructor;
|
|
11381
11713
|
definition: ObjectConstructor;
|
|
11382
11714
|
canUpdateChart: FunctionConstructor;
|
|
11383
11715
|
updateChart: FunctionConstructor;
|
|
11384
11716
|
};
|
|
11385
11717
|
}
|
|
11386
11718
|
|
|
11719
|
+
interface Props$c {
|
|
11720
|
+
chartId: UID;
|
|
11721
|
+
definition: SunburstChartDefinition;
|
|
11722
|
+
canUpdateChart: (chartId: UID, definition: Partial<SunburstChartDefinition>) => DispatchResult;
|
|
11723
|
+
updateChart: (chartId: UID, definition: Partial<SunburstChartDefinition>) => DispatchResult;
|
|
11724
|
+
}
|
|
11725
|
+
declare class SunburstChartDesignPanel extends Component<Props$c, SpreadsheetChildEnv> {
|
|
11726
|
+
static template: string;
|
|
11727
|
+
static components: {
|
|
11728
|
+
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
11729
|
+
Section: typeof Section;
|
|
11730
|
+
SidePanelCollapsible: typeof SidePanelCollapsible;
|
|
11731
|
+
ChartShowValues: typeof ChartShowValues;
|
|
11732
|
+
Checkbox: typeof Checkbox;
|
|
11733
|
+
TextStyler: typeof TextStyler;
|
|
11734
|
+
RoundColorPicker: typeof RoundColorPicker;
|
|
11735
|
+
ChartLegend: typeof ChartLegend;
|
|
11736
|
+
PieHoleSize: typeof PieHoleSize;
|
|
11737
|
+
};
|
|
11738
|
+
static props: {
|
|
11739
|
+
chartId: StringConstructor;
|
|
11740
|
+
definition: ObjectConstructor;
|
|
11741
|
+
updateChart: FunctionConstructor;
|
|
11742
|
+
canUpdateChart: {
|
|
11743
|
+
type: FunctionConstructor;
|
|
11744
|
+
optional: boolean;
|
|
11745
|
+
};
|
|
11746
|
+
};
|
|
11747
|
+
defaults: {
|
|
11748
|
+
showValues: boolean;
|
|
11749
|
+
showLabels: boolean;
|
|
11750
|
+
valuesDesign: ChartStyle;
|
|
11751
|
+
};
|
|
11752
|
+
get showValues(): boolean;
|
|
11753
|
+
get showLabels(): boolean;
|
|
11754
|
+
get groupColors(): {
|
|
11755
|
+
label: string;
|
|
11756
|
+
color: Color;
|
|
11757
|
+
}[];
|
|
11758
|
+
onGroupColorChanged(index: number, color: string): void;
|
|
11759
|
+
onPieHoleSizeChange(pieHolePercentage: number): void;
|
|
11760
|
+
}
|
|
11761
|
+
|
|
11762
|
+
interface Props$b {
|
|
11763
|
+
chartId: UID;
|
|
11764
|
+
definition: TreeMapChartDefinition;
|
|
11765
|
+
onColorChanged: (colors: TreeMapCategoryColorOptions) => DispatchResult;
|
|
11766
|
+
}
|
|
11767
|
+
declare class TreeMapCategoryColors extends Component<Props$b, SpreadsheetChildEnv> {
|
|
11768
|
+
static template: string;
|
|
11769
|
+
static components: {
|
|
11770
|
+
Checkbox: typeof Checkbox;
|
|
11771
|
+
RoundColorPicker: typeof RoundColorPicker;
|
|
11772
|
+
};
|
|
11773
|
+
static props: {
|
|
11774
|
+
chartId: StringConstructor;
|
|
11775
|
+
definition: ObjectConstructor;
|
|
11776
|
+
onColorChanged: FunctionConstructor;
|
|
11777
|
+
};
|
|
11778
|
+
get coloringOptions(): TreeMapCategoryColorOptions;
|
|
11779
|
+
getTreeGroupAndColors(): chart_js_dist_types_utils._DeepPartialArray<TreeMapGroupColor>;
|
|
11780
|
+
onGroupColorChanged(index: number, color: string): void;
|
|
11781
|
+
useValueBasedGradient(useValueBasedGradient: boolean): void;
|
|
11782
|
+
}
|
|
11783
|
+
|
|
11784
|
+
interface Props$a {
|
|
11785
|
+
chartId: UID;
|
|
11786
|
+
definition: TreeMapChartDefinition;
|
|
11787
|
+
onColorChanged: (colors: TreeMapColorScaleOptions) => DispatchResult;
|
|
11788
|
+
}
|
|
11789
|
+
declare class TreeMapColorScale extends Component<Props$a, SpreadsheetChildEnv> {
|
|
11790
|
+
static template: string;
|
|
11791
|
+
static components: {
|
|
11792
|
+
RoundColorPicker: typeof RoundColorPicker;
|
|
11793
|
+
};
|
|
11794
|
+
static props: {
|
|
11795
|
+
chartId: StringConstructor;
|
|
11796
|
+
definition: ObjectConstructor;
|
|
11797
|
+
onColorChanged: FunctionConstructor;
|
|
11798
|
+
};
|
|
11799
|
+
get coloringOptions(): TreeMapColorScaleOptions;
|
|
11800
|
+
setColorScaleColor(point: "minColor" | "midColor" | "maxColor", color: string): void;
|
|
11801
|
+
}
|
|
11802
|
+
|
|
11803
|
+
interface Props$9 {
|
|
11804
|
+
chartId: UID;
|
|
11805
|
+
definition: TreeMapChartDefinition;
|
|
11806
|
+
canUpdateChart: (chartId: UID, definition: Partial<TreeMapChartDefinition>) => DispatchResult;
|
|
11807
|
+
updateChart: (chartId: UID, definition: Partial<TreeMapChartDefinition>) => DispatchResult;
|
|
11808
|
+
}
|
|
11809
|
+
declare class TreeMapChartDesignPanel extends Component<Props$9, SpreadsheetChildEnv> {
|
|
11810
|
+
static template: string;
|
|
11811
|
+
static components: {
|
|
11812
|
+
GeneralDesignEditor: typeof GeneralDesignEditor;
|
|
11813
|
+
Section: typeof Section;
|
|
11814
|
+
SidePanelCollapsible: typeof SidePanelCollapsible;
|
|
11815
|
+
ChartShowValues: typeof ChartShowValues;
|
|
11816
|
+
Checkbox: typeof Checkbox;
|
|
11817
|
+
TextStyler: typeof TextStyler;
|
|
11818
|
+
RoundColorPicker: typeof RoundColorPicker;
|
|
11819
|
+
BadgeSelection: typeof BadgeSelection;
|
|
11820
|
+
TreeMapCategoryColors: typeof TreeMapCategoryColors;
|
|
11821
|
+
TreeMapColorScale: typeof TreeMapColorScale;
|
|
11822
|
+
};
|
|
11823
|
+
static props: {
|
|
11824
|
+
chartId: StringConstructor;
|
|
11825
|
+
definition: ObjectConstructor;
|
|
11826
|
+
updateChart: FunctionConstructor;
|
|
11827
|
+
canUpdateChart: {
|
|
11828
|
+
type: FunctionConstructor;
|
|
11829
|
+
optional: boolean;
|
|
11830
|
+
};
|
|
11831
|
+
};
|
|
11832
|
+
private savedColors;
|
|
11833
|
+
defaults: {
|
|
11834
|
+
showHeaders: boolean;
|
|
11835
|
+
headerDesign: TitleDesign;
|
|
11836
|
+
showValues: boolean;
|
|
11837
|
+
showLabels: boolean;
|
|
11838
|
+
valuesDesign: TitleDesign;
|
|
11839
|
+
coloringOptions: TreeMapCategoryColorOptions;
|
|
11840
|
+
};
|
|
11841
|
+
get showHeaders(): boolean;
|
|
11842
|
+
get showValues(): boolean;
|
|
11843
|
+
get showLabels(): boolean;
|
|
11844
|
+
get coloringOptions(): TreeMapColoringOptions;
|
|
11845
|
+
changeColoringOption(option: "categoryColor" | "colorScale"): void;
|
|
11846
|
+
onCategoryColorChange(coloringOptions: TreeMapCategoryColorOptions): void;
|
|
11847
|
+
onColorScaleChange(coloringOptions: TreeMapColorScaleOptions): void;
|
|
11848
|
+
get coloringOptionChoices(): {
|
|
11849
|
+
label: string;
|
|
11850
|
+
value: string;
|
|
11851
|
+
}[];
|
|
11852
|
+
}
|
|
11853
|
+
|
|
11387
11854
|
interface Props$8 {
|
|
11388
|
-
|
|
11855
|
+
chartId: UID;
|
|
11389
11856
|
definition: WaterfallChartDefinition;
|
|
11390
|
-
canUpdateChart: (
|
|
11391
|
-
updateChart: (
|
|
11857
|
+
canUpdateChart: (chartId: UID, definition: GenericDefinition<WaterfallChartDefinition>) => DispatchResult;
|
|
11858
|
+
updateChart: (chartId: UID, definition: GenericDefinition<WaterfallChartDefinition>) => DispatchResult;
|
|
11392
11859
|
}
|
|
11393
11860
|
declare class WaterfallChartDesignPanel extends Component<Props$8, SpreadsheetChildEnv> {
|
|
11394
11861
|
static template: string;
|
|
@@ -11402,9 +11869,10 @@ declare class WaterfallChartDesignPanel extends Component<Props$8, SpreadsheetCh
|
|
|
11402
11869
|
AxisDesignEditor: typeof AxisDesignEditor;
|
|
11403
11870
|
RadioSelection: typeof RadioSelection;
|
|
11404
11871
|
ChartLegend: typeof ChartLegend;
|
|
11872
|
+
ChartHumanizeNumbers: typeof ChartHumanizeNumbers;
|
|
11405
11873
|
};
|
|
11406
11874
|
static props: {
|
|
11407
|
-
|
|
11875
|
+
chartId: StringConstructor;
|
|
11408
11876
|
definition: ObjectConstructor;
|
|
11409
11877
|
updateChart: FunctionConstructor;
|
|
11410
11878
|
canUpdateChart: {
|
|
@@ -11425,6 +11893,7 @@ declare class WaterfallChartDesignPanel extends Component<Props$8, SpreadsheetCh
|
|
|
11425
11893
|
get negativeValuesColor(): Color | "#EA6175";
|
|
11426
11894
|
get subTotalValuesColor(): Color | "#AAAAAA";
|
|
11427
11895
|
updateVerticalAxisPosition(value: "left" | "right"): void;
|
|
11896
|
+
onToggleZoom(zoomable: boolean): void;
|
|
11428
11897
|
}
|
|
11429
11898
|
|
|
11430
11899
|
declare class PivotMeasureDisplayPanelStore extends SpreadsheetStore {
|
|
@@ -11448,6 +11917,9 @@ declare class PivotMeasureDisplayPanelStore extends SpreadsheetStore {
|
|
|
11448
11917
|
fieldName: string;
|
|
11449
11918
|
order?: SortDirection;
|
|
11450
11919
|
granularity?: Granularity | string;
|
|
11920
|
+
isCustomField?: boolean;
|
|
11921
|
+
parentField?: string;
|
|
11922
|
+
customGroups?: PivotCustomGroup[];
|
|
11451
11923
|
}[];
|
|
11452
11924
|
get doesDisplayNeedsValue(): boolean;
|
|
11453
11925
|
private isDisplayValueDependant;
|
|
@@ -11496,6 +11968,7 @@ declare class BarChart extends AbstractChart {
|
|
|
11496
11968
|
readonly axesDesign?: AxesDesign;
|
|
11497
11969
|
readonly horizontal?: boolean;
|
|
11498
11970
|
readonly showValues?: boolean;
|
|
11971
|
+
readonly zoomable?: boolean;
|
|
11499
11972
|
constructor(definition: BarChartDefinition, sheetId: UID, getters: CoreGetters);
|
|
11500
11973
|
static transformDefinition(chartSheetId: UID, definition: BarChartDefinition, applyChange: RangeAdapter$1): BarChartDefinition;
|
|
11501
11974
|
static validateChartDefinition(validator: Validator, definition: BarChartDefinition): CommandResult | CommandResult[];
|
|
@@ -11543,6 +12016,7 @@ declare class LineChart extends AbstractChart {
|
|
|
11543
12016
|
readonly fillArea?: boolean;
|
|
11544
12017
|
readonly showValues?: boolean;
|
|
11545
12018
|
readonly hideDataMarkers?: boolean;
|
|
12019
|
+
readonly zoomable?: boolean;
|
|
11546
12020
|
constructor(definition: LineChartDefinition, sheetId: UID, getters: CoreGetters);
|
|
11547
12021
|
static validateChartDefinition(validator: Validator, definition: LineChartDefinition): CommandResult | CommandResult[];
|
|
11548
12022
|
static transformDefinition(chartSheetId: UID, definition: LineChartDefinition, applyChange: RangeAdapter$1): LineChartDefinition;
|
|
@@ -11591,7 +12065,7 @@ declare class ScorecardChart extends AbstractChart {
|
|
|
11591
12065
|
readonly baselineColorUp: Color;
|
|
11592
12066
|
readonly baselineColorDown: Color;
|
|
11593
12067
|
readonly fontColor?: Color;
|
|
11594
|
-
readonly humanize
|
|
12068
|
+
readonly humanize: boolean;
|
|
11595
12069
|
readonly type = "scorecard";
|
|
11596
12070
|
constructor(definition: ScorecardChartDefinition, sheetId: UID, getters: CoreGetters);
|
|
11597
12071
|
static validateChartDefinition(validator: Validator, definition: ScorecardChartDefinition): CommandResult | CommandResult[];
|
|
@@ -11624,6 +12098,7 @@ declare class WaterfallChart extends AbstractChart {
|
|
|
11624
12098
|
readonly dataSetDesign: CustomizedDataSet[];
|
|
11625
12099
|
readonly axesDesign?: AxesDesign;
|
|
11626
12100
|
readonly showValues?: boolean;
|
|
12101
|
+
readonly zoomable?: boolean;
|
|
11627
12102
|
constructor(definition: WaterfallChartDefinition, sheetId: UID, getters: CoreGetters);
|
|
11628
12103
|
static transformDefinition(chartSheetId: UID, definition: WaterfallChartDefinition, applyChange: RangeAdapter$1): WaterfallChartDefinition;
|
|
11629
12104
|
static validateChartDefinition(validator: Validator, definition: WaterfallChartDefinition): CommandResult | CommandResult[];
|
|
@@ -11668,6 +12143,39 @@ declare class ClientFocusStore extends SpreadsheetStore {
|
|
|
11668
12143
|
unfocusClient(clientId: ClientId): void;
|
|
11669
12144
|
}
|
|
11670
12145
|
|
|
12146
|
+
declare class GridRenderer extends SpreadsheetStore {
|
|
12147
|
+
private fingerprints;
|
|
12148
|
+
private hoveredTables;
|
|
12149
|
+
private hoveredIcon;
|
|
12150
|
+
private lastRenderBoxes;
|
|
12151
|
+
private preventNewAnimationsInNextFrame;
|
|
12152
|
+
private zonesWithPreventedAnimationsInNextFrame;
|
|
12153
|
+
private animations;
|
|
12154
|
+
constructor(get: Get);
|
|
12155
|
+
handle(cmd: Command): void;
|
|
12156
|
+
get renderingLayers(): readonly ["Background", "Headers"];
|
|
12157
|
+
drawLayer(renderingContext: GridRenderingContext, layer: LayerName, timeStamp: number | undefined): void;
|
|
12158
|
+
private drawGlobalBackground;
|
|
12159
|
+
private drawBackground;
|
|
12160
|
+
private drawCellBackground;
|
|
12161
|
+
private drawOverflowingCellBackground;
|
|
12162
|
+
private drawBorders;
|
|
12163
|
+
private drawTexts;
|
|
12164
|
+
private drawIcon;
|
|
12165
|
+
private drawHeaders;
|
|
12166
|
+
private drawFrozenPanesHeaders;
|
|
12167
|
+
private drawFrozenPanes;
|
|
12168
|
+
private findNextEmptyCol;
|
|
12169
|
+
private findPreviousEmptyCol;
|
|
12170
|
+
private computeCellAlignment;
|
|
12171
|
+
private createZoneBox;
|
|
12172
|
+
private getGridBoxes;
|
|
12173
|
+
private getBoxesWithAnimations;
|
|
12174
|
+
private updateBoxesWithAnimations;
|
|
12175
|
+
private updateAnimationsProgress;
|
|
12176
|
+
private addNewAnimations;
|
|
12177
|
+
}
|
|
12178
|
+
|
|
11671
12179
|
declare class LocalTransportService implements TransportService<CollaborationMessage> {
|
|
11672
12180
|
private listeners;
|
|
11673
12181
|
sendMessage(message: CollaborationMessage): Promise<void>;
|
|
@@ -12346,6 +12854,11 @@ declare class Spreadsheet extends Component<SpreadsheetProps, SpreadsheetChildEn
|
|
|
12346
12854
|
};
|
|
12347
12855
|
}
|
|
12348
12856
|
|
|
12857
|
+
/**
|
|
12858
|
+
* Converts an ast formula to the corresponding string
|
|
12859
|
+
*/
|
|
12860
|
+
declare function astToFormula(ast: AST): string;
|
|
12861
|
+
|
|
12349
12862
|
type SprintfValues = (string | String | number)[] | [{
|
|
12350
12863
|
[key: string]: string | number;
|
|
12351
12864
|
}];
|
|
@@ -12500,6 +13013,7 @@ declare const helpers: {
|
|
|
12500
13013
|
getUniqueText: typeof getUniqueText;
|
|
12501
13014
|
isNumber: typeof isNumber;
|
|
12502
13015
|
isDateTime: typeof isDateTime;
|
|
13016
|
+
createCustomFields: typeof createCustomFields;
|
|
12503
13017
|
};
|
|
12504
13018
|
declare const links: {
|
|
12505
13019
|
isMarkdownLink: typeof isMarkdownLink;
|
|
@@ -12519,6 +13033,7 @@ declare const components: {
|
|
|
12519
13033
|
ChartPanel: typeof ChartPanel;
|
|
12520
13034
|
ChartFigure: typeof ChartFigure;
|
|
12521
13035
|
ChartJsComponent: typeof ChartJsComponent;
|
|
13036
|
+
ZoomableChartJsComponent: typeof ZoomableChartJsComponent;
|
|
12522
13037
|
Grid: typeof Grid;
|
|
12523
13038
|
GridOverlay: typeof GridOverlay;
|
|
12524
13039
|
ScorecardChart: typeof ScorecardChart$1;
|
|
@@ -12527,6 +13042,7 @@ declare const components: {
|
|
|
12527
13042
|
PieChartDesignPanel: typeof PieChartDesignPanel;
|
|
12528
13043
|
GenericChartConfigPanel: typeof GenericChartConfigPanel;
|
|
12529
13044
|
ChartWithAxisDesignPanel: typeof ChartWithAxisDesignPanel;
|
|
13045
|
+
GenericZoomableChartDesignPanel: typeof GenericZoomableChartDesignPanel;
|
|
12530
13046
|
LineChartDesignPanel: typeof LineChartDesignPanel;
|
|
12531
13047
|
GaugeChartConfigPanel: typeof GaugeChartConfigPanel;
|
|
12532
13048
|
GaugeChartDesignPanel: typeof GaugeChartDesignPanel;
|
|
@@ -12537,6 +13053,8 @@ declare const components: {
|
|
|
12537
13053
|
WaterfallChartDesignPanel: typeof WaterfallChartDesignPanel;
|
|
12538
13054
|
ComboChartDesignPanel: typeof ComboChartDesignPanel;
|
|
12539
13055
|
FunnelChartDesignPanel: typeof FunnelChartDesignPanel;
|
|
13056
|
+
SunburstChartDesignPanel: typeof SunburstChartDesignPanel;
|
|
13057
|
+
TreeMapChartDesignPanel: typeof TreeMapChartDesignPanel;
|
|
12540
13058
|
ChartTypePicker: typeof ChartTypePicker;
|
|
12541
13059
|
FigureComponent: typeof FigureComponent;
|
|
12542
13060
|
MenuPopover: typeof MenuPopover;
|
|
@@ -12566,6 +13084,7 @@ declare const hooks: {
|
|
|
12566
13084
|
};
|
|
12567
13085
|
declare const stores: {
|
|
12568
13086
|
useStoreProvider: typeof useStoreProvider;
|
|
13087
|
+
ChartDashboardMenuStore: typeof ChartDashboardMenuStore;
|
|
12569
13088
|
DependencyContainer: typeof DependencyContainer;
|
|
12570
13089
|
CellPopoverStore: typeof CellPopoverStore;
|
|
12571
13090
|
ComposerFocusStore: typeof ComposerFocusStore;
|
|
@@ -12585,6 +13104,7 @@ declare const stores: {
|
|
|
12585
13104
|
PivotSidePanelStore: typeof PivotSidePanelStore;
|
|
12586
13105
|
PivotMeasureDisplayPanelStore: typeof PivotMeasureDisplayPanelStore;
|
|
12587
13106
|
ClientFocusStore: typeof ClientFocusStore;
|
|
13107
|
+
GridRenderer: typeof GridRenderer;
|
|
12588
13108
|
};
|
|
12589
13109
|
|
|
12590
13110
|
declare function addFunction(functionName: string, functionDescription: AddFunctionDescription): {
|
|
@@ -12610,6 +13130,7 @@ declare const constants: {
|
|
|
12610
13130
|
ColorScales: Record<Extract<GeoChartColorScale, string>, string>;
|
|
12611
13131
|
};
|
|
12612
13132
|
};
|
|
13133
|
+
FIGURE_ID_SPLITTER: string;
|
|
12613
13134
|
};
|
|
12614
13135
|
declare const chartHelpers: {
|
|
12615
13136
|
getBarChartData(definition: GenericDefinition<BarChartDefinition>, dataSets: DataSet[], labelRange: Range | undefined, getters: Getters): ChartRuntimeGenerationArgs;
|
|
@@ -13112,10 +13633,10 @@ declare const chartHelpers: {
|
|
|
13112
13633
|
useLeftAxis: boolean;
|
|
13113
13634
|
useRightAxis: boolean;
|
|
13114
13635
|
};
|
|
13115
|
-
formatChartDatasetValue(axisFormats: ChartAxisFormats, locale: Locale): (value: any, axisId: string) => any;
|
|
13116
|
-
formatTickValue(localeFormat: LocaleFormat): (value: any) => any;
|
|
13636
|
+
formatChartDatasetValue(axisFormats: ChartAxisFormats, locale: Locale, humanizeNumbers?: boolean): (value: any, axisId: string) => any;
|
|
13637
|
+
formatTickValue(localeFormat: LocaleFormat, humanizeNumbers?: boolean): (value: any) => any;
|
|
13117
13638
|
getPieColors(colors: ColorGenerator, dataSetsValues: DatasetValues[]): Color[];
|
|
13118
|
-
truncateLabel(label: string | undefined): string;
|
|
13639
|
+
truncateLabel(label: string | undefined, maxLen?: number): string;
|
|
13119
13640
|
isTrendLineAxis(axisID: string): axisID is "x1" | "xMovingAverage";
|
|
13120
13641
|
TREND_LINE_XAXIS_ID: "x1";
|
|
13121
13642
|
MOVING_AVERAGE_TREND_LINE_XAXIS_ID: "xMovingAverage";
|
|
@@ -13129,7 +13650,7 @@ declare const chartHelpers: {
|
|
|
13129
13650
|
value: string;
|
|
13130
13651
|
label: string;
|
|
13131
13652
|
}[];
|
|
13132
|
-
chartFactory(getters: CoreGetters): (
|
|
13653
|
+
chartFactory(getters: CoreGetters): (figureId: UID, definition: ChartDefinition, sheetId: UID) => AbstractChart;
|
|
13133
13654
|
chartRuntimeFactory(getters: Getters): (chart: AbstractChart) => ChartRuntime;
|
|
13134
13655
|
validateChartDefinition(validator: Validator, definition: ChartDefinition): CommandResult | CommandResult[];
|
|
13135
13656
|
transformDefinition(chartSheetId: UID, definition: ChartDefinition, applyrange: RangeAdapter$1): ChartDefinition;
|
|
@@ -13163,4 +13684,4 @@ declare const chartHelpers: {
|
|
|
13163
13684
|
WaterfallChart: typeof WaterfallChart;
|
|
13164
13685
|
};
|
|
13165
13686
|
|
|
13166
|
-
export { AST, ASTFuncall, AboveAverageRule, AbstractCellClipboardHandler, AbstractChart, AbstractFigureClipboardHandler, ActivateNextSheetCommand, ActivatePreviousSheetCommand, ActivateSheetCommand, AddColumnsRowsCommand, AddConditionalFormatCommand, AddDataValidationCommand, AddFunctionDescription, AddMergeCommand, AddPivotCommand, Aggregator, Alias, Align, AlphanumericIncrementModifier, AnchorOffset, AnchorZone, ApplyRangeChange, ApplyRangeChangeResult, Arg, ArgDefinition, ArgType, AutoFillCellCommand, AutofillAutoCommand, AutofillCellData, AutofillCommand, AutofillData, AutofillModifier, AutofillModifierImplementation, AutofillResult, AutofillSelectCommand, AutofillTableCommand, AutoresizeColumnsCommand, AutoresizeRowsCommand, AxesDesign, AxisDesign, AxisType, BeginsWithRule, BooleanCell, Border$1 as Border, BorderData, BorderDescr, BorderDescrWithOpacity, BorderPosition, BorderStyle, Box, BoxTextContent, CHART_TYPES, CSSProperties, CancelledReason, Cell, CellErrorType, CellIsRule, CellPosition, CellValue, CellValueType, ChangeType, ChartAxisFormats, ChartCreationContext, ChartDatasetOrientation, ChartDefinition, ChartJSRuntime, ChartRuntime, ChartRuntimeGenerationArgs, ChartStyle, ChartType, ChartWithAxisDefinition, ChartWithDataSetDefinition, CleanClipBoardHighlightCommand, ClearCellCommand, ClearCellsCommand, ClearFormattingCommand, Client, ClientDisconnectedError, ClientId, ClientJoinedMessage, ClientLeftMessage, ClientMovedMessage, ClientPosition, ClientWithColor, ClientWithPosition, ClipboardCell, ClipboardCellData, ClipboardData, ClipboardFigureData, ClipboardMIMEType, ClipboardOperation, ClipboardOptions, ClipboardPasteOptions, ClipboardPasteTarget, Cloneable, CollaborationMessage, CollaborativeEvent, CollaborativeEventReceived, CollaborativeEventTypes, Color, ColorScaleMidPointThreshold, ColorScaleRule, ColorScaleThreshold, ColorSheetCommand, Command, CommandDispatcher, CommandHandler, CommandResult, CommandTypes, CommonPivotCoreDefinition, CompiledFormula, ComposerFocusType, ComputeFunction, ComputedTableStyle, ConditionalFormat, ConditionalFormatInternal, ConditionalFormatRule, ConditionalFormatRuleInternal, ConditionalFormattingOperatorValues, ConsecutiveIndexes, ContainsTextRule, CopyCommand, CopyModifier, CopyPasteCellsAboveCommand, CopyPasteCellsOnLeftCommand, CoreCommand, CoreCommandDispatcher, CoreCommandTypes, CoreGetters, CorePlugin, CoreTable, CoreTableType, CoreViewCommand, CoreViewCommandTypes, CoreViewPlugin, CreateChartCommand, CreateFigureCommand, CreateImageOverCommand, CreateRevisionOptions, CreateSheetCommand, CreateTableCommand, CreateTableStyleCommand, CriterionFilter, Currency, CustomFormulaCriterion, CustomizedDataSet, CutCommand, DEFAULT_LOCALE, DEFAULT_LOCALES, DIRECTION, DOMCoordinates, DOMDimension, DataBarFill, DataBarRule, DataBarRuleInternal, DataFilterValue, DataSet, DataValidationCriterion, DataValidationCriterionType, DataValidationDateCriterion, DataValidationRule, DataValidationRuleData, DatasetDesign, DatasetValues, DateCriterionValue, DateIncrementModifier, DateIsAfterCriterion, DateIsBeforeCriterion, DateIsBetweenCriterion, DateIsCriterion, DateIsNotBetweenCriterion, DateIsOnOrAfterCriterion, DateIsOnOrBeforeCriterion, DateIsValidCriterion, DebouncedFunction, DeleteCellCommand, DeleteContentCommand, DeleteFigureCommand, DeleteSheetCommand, DeleteUnfilteredContentCommand, Dependencies, Dimension, DimensionTree, DimensionTreeNode, Direction$1 as Direction, DispatchResult, DuplicatePivotCommand, DuplicatePivotInNewSheetCommand, DuplicateSheetCommand, DynamicTable, EdgeScrollInfo, EditTextOptions, EditionMode, EmptyCell, EndsWithRule, EnrichedToken, EnsureRange, ErrorCell, EvalContext, EvaluateCellsCommand, EvaluateChartsCommand, EvaluatedCell, EvaluatedCriterion, EvaluatedDateCriterion, EvaluationError, ExcelChartDataset, ExcelChartDefinition, ExcelChartTrendConfiguration, ExcelChartType, ExcelFigureSize, ExcelFilterData, ExcelHeaderData, ExcelSheetData, ExcelTableData, ExcelTrendlineType, ExcelWorkbookData, ExpressionRule, Figure, FigureData, FigureInfo, FigureSize, FigureUI, Filter, FilterCriterionType, FilterId, FoldAllHeaderGroupsCommand, FoldHeaderGroupCommand, FoldHeaderGroupsInZoneCommand, Format, FormattedValue, FormulaCell, FormulaModifier, FormulaToExecute, FreezeColumnsCommand, FreezeRowsCommand, FunctionDescription, FunctionRegistry, FunctionResultNumber, FunctionResultObject, GeneratorCell, GenericCriterion, GenericCriterionType, GenericDateCriterion, GenericDefinition, GetSymbolValue, Getters, Granularity, GridClickModifiers, GridRenderingContext, GroupHeadersCommand, HSLA, HeaderData, HeaderDimensions, HeaderGroup, HeaderIndex, HeadersDependentCommand, HideColumnsRowsCommand, HideSheetCommand, Highlight$1 as Highlight, HistoryChange, IconSet, IconSetRule, IconThreshold, Image, Immutable, Increment, IncrementModifier, InformationNotification, InitPivotParams, InsertCellCommand, InsertNewPivotCommand, InsertPivotCommand, InsertPivotWithTableCommand, IsBetweenCriterion, IsCheckboxCriterion, IsEqualCriterion, IsGreaterOrEqualToCriterion, IsGreaterThanCriterion, IsLessOrEqualToCriterion, IsLessThanCriterion, IsNotBetweenCriterion, IsNotEqualCriterion, IsValueInListCriterion, IsValueInRangeCriterion, LabelValues, LayerName, Lazy, Link, LiteralCell, LocalCommand, LocalTransportService, Locale, LocaleCode, LocaleFormat, LookupCaches, Matrix, Maybe, MenuMouseEvent, Merge, MinimalClipboardData, Model, MoveColumnsRowsCommand, MoveConditionalFormatCommand, MoveRangeCommand, MoveSheetCommand, MoveViewportDownCommand, MoveViewportToCellCommand, MoveViewportUpCommand, NewLocalStateUpdateEvent, NotContainsTextRule, NotificationType, NumberCell, OSClipboardContent, Offset, OperationSequenceNode, OrderedLayers, PaintFormat, PaneDivision, ParsedOSClipboardContent, ParsedOsClipboardContentWithImageData, PasteCommand, PasteFromOSClipboardCommand, Pivot, PivotColRowDomain, PivotCollapsedDomains, PivotCoreDefinition, PivotCoreDimension, PivotCoreMeasure, PivotDimension$1 as PivotDimension, PivotDomain, PivotEmptyCell, PivotField, PivotFields, PivotHeaderCell, PivotMeasure, PivotMeasureDisplay, PivotMeasureDisplayType, PivotMeasureHeaderCell, PivotNode, PivotRuntimeDefinition, PivotSortedColumn, PivotStartPresenceTracking, PivotStopPresenceTracking, PivotTableCell, PivotTableColumn, PivotTableData, PivotTableRow, PivotTimeAdapter, PivotTimeAdapterNotNull, PivotValueCell, PivotVisibilityOptions, Pixel, PixelPosition, Position$1 as Position, PositionDependentCommand, PropsOf, RGBA, Range, RangeAdapter$1 as RangeAdapter, RangeCompiledFormula, RangeData, RangePart, RangeProvider, RangeStringOptions, RangesDependentCommand, Rect, RedoCommand, Ref, ReferenceDenormalizer, RefreshPivotCommand, Registry, RemoteRevisionMessage, RemoteRevisionReceivedEvent, RemoveColumnsRowsCommand, RemoveConditionalFormatCommand, RemoveDataValidationCommand, RemoveDuplicatesCommand, RemoveMergeCommand, RemovePivotCommand, RemoveTableCommand, RemoveTableStyleCommand, RenamePivotCommand, RenameSheetCommand, RenderingBorder, RenderingBox, RenderingGridIcon, RepeatPasteCommand, ReplaceSearchCommand, RequestRedoCommand, RequestUndoCommand, ResizeColumnsRowsCommand, ResizeDirection, ResizeTableCommand, ResizeViewportCommand, Revision, RevisionAcknowledgedEvent, RevisionData, RevisionRedone, RevisionRedoneMessage, RevisionUndone, RevisionUndoneMessage, Row, SPREADSHEET_DIMENSIONS, ScrollDirection$1 as ScrollDirection, SelectFigureCommand, Selection$1 as Selection, SelectionStep, SetBorderCommand, SetBorderTargetCommand, SetContextualFormatCommand, SetDecimalCommand, SetDecimalStep, SetFormattingCommand, SetGridLinesVisibilityCommand, SetViewportOffsetCommand, SetZoneBordersCommand, Sheet, SheetDOMScrollInfo, SheetData, SheetDependentCommand, SheetEditingCommand, ShowFormulaCommand, ShowSheetCommand, SingleColorRule, SingleColorRules, SnapshotEvent, SortCommand, SortDirection, SortOptions, SplitPivotFormulaCommand, SplitTextIntoColumnsCommand, Spreadsheet, SpreadsheetChildEnv, SpreadsheetPivotCoreDefinition, SpreadsheetPivotTable, StartChangeHighlightCommand, StartCommand, StaticTable, StoreConstructor, StoreParams, Style, SumSelectionCommand, Table, TableBorder, TableConfig, TableData$1 as TableData, TableElementStyle, TableId, TableStyle, TableStyleData, TableStyleTemplateName, TargetDependentCommand, TechnicalName, TextCell, TextContainsCriterion, TextIsCriterion, TextIsEmailCriterion, TextIsLinkCriterion, TextNotContainsCriterion, TextRule, ThresholdType, TimePeriodRule, TitleDesign, ToggleCheckboxCommand, Token, Tooltip, Top10Rule, Transformation, TransformationFactory, TransportService, TrendConfiguration, TrendType, TrimWhitespaceCommand, UID, UIPlugin, UnGroupHeadersCommand, UnboundedZone, UndoCommand, UnexpectedRevisionIdEvent, UnfoldAllHeaderGroupsCommand, UnfoldHeaderGroupCommand, UnfoldHeaderGroupsInZoneCommand, UnfreezeColumnsCommand, UnfreezeColumnsRowsCommand, UnfreezeRowsCommand, UnhideColumnsRowsCommand, UpdateCellCommand, UpdateCellData, UpdateCellPositionCommand, UpdateChartCommand, UpdateFigureCommand, UpdateFilterCommand, UpdateLocaleCommand, UpdatePivotCommand, UpdateTableCommand, Validation, ValuesFilter, VerticalAlign, Viewport, WorkbookData, WorkbookHistory, Wrapping, Zone, ZoneDependentCommand, ZoneDimension, __info__, addFunction, addRenderingLayer, astToFormula, availableConditionalFormatOperators, availableDataValidationOperators, availableFiltersOperators, borderStyles, canExecuteInReadonly, chartHelpers, compile, compileTokens, components, constants, containsBlanksRule, containsErrorsRule, convertAstNodes, coreTypes, filterDateCriterionOperators, filterNumberCriterionOperators, filterTextCriterionOperators, findCellInNewZone, functionCache, helpers, hooks, invalidateBordersCommands, invalidateCFEvaluationCommands, invalidateChartEvaluationCommands, invalidateDependenciesCommands, invalidateEvaluationCommands, isCoreCommand, isHeadersDependant, isMatrix, isPositionDependent, isRangeDependant, isSheetDependent, isTargetDependent, isZoneDependent, iterateAstNodes, links, load, notContainsBlanksRule, notContainsErrorsRule, parse, parseTokens, readonlyAllowedCommands, registries, setDefaultSheetViewSize, setTranslationMethod, stores, tokenColors, tokenize };
|
|
13687
|
+
export { AST, ASTFuncall, AboveAverageRule, AbstractCellClipboardHandler, AbstractChart, AbstractFigureClipboardHandler, ActivateNextSheetCommand, ActivatePreviousSheetCommand, ActivateSheetCommand, AddColumnsRowsCommand, AddConditionalFormatCommand, AddDataValidationCommand, AddFigureChartToCarouselCommand, AddFunctionDescription, AddMergeCommand, AddNewChartToCarouselCommand, AddPivotCommand, Aggregator, Alias, Align, AlphanumericIncrementModifier, AnchorOffset, AnchorZone, ApplyRangeChange, ApplyRangeChangeResult, Arg, ArgDefinition, ArgType, AutoFillCellCommand, AutofillAutoCommand, AutofillCellData, AutofillCommand, AutofillData, AutofillModifier, AutofillModifierImplementation, AutofillResult, AutofillSelectCommand, AutofillTableCommand, AutoresizeColumnsCommand, AutoresizeRowsCommand, AxesDesign, AxisDesign, AxisType, BeginsWithRule, BooleanCell, Border$1 as Border, BorderData, BorderDescr, BorderDescrWithOpacity, BorderPosition, BorderStyle, Box, BoxTextContent, CHART_TYPES, CSSProperties, CancelledReason, Carousel, CarouselItem, Cell, CellErrorType, CellIsRule, CellPosition, CellValue, CellValueType, ChangeType, ChartAxisFormats, ChartCreationContext, ChartDatasetOrientation, ChartDefinition, ChartJSRuntime, ChartRuntime, ChartRuntimeGenerationArgs, ChartStyle, ChartType, ChartWithAxisDefinition, ChartWithDataSetDefinition, CleanClipBoardHighlightCommand, ClearCellCommand, ClearCellsCommand, ClearFormattingCommand, Client, ClientDisconnectedError, ClientId, ClientJoinedMessage, ClientLeftMessage, ClientMovedMessage, ClientPosition, ClientWithColor, ClientWithPosition, ClipboardCell, ClipboardCellData, ClipboardData, ClipboardFigureData, ClipboardMIMEType, ClipboardOperation, ClipboardOptions, ClipboardPasteOptions, ClipboardPasteTarget, Cloneable, CollaborationMessage, CollaborativeEvent, CollaborativeEventReceived, CollaborativeEventTypes, Color, ColorScaleMidPointThreshold, ColorScaleRule, ColorScaleThreshold, ColorSheetCommand, Command, CommandDispatcher, CommandHandler, CommandResult, CommandTypes, CommonPivotCoreDefinition, CompiledFormula, ComposerFocusType, ComputeFunction, ComputedTableStyle, ConditionalFormat, ConditionalFormatInternal, ConditionalFormatRule, ConditionalFormatRuleInternal, ConditionalFormattingOperatorValues, ConsecutiveIndexes, ContainsTextRule, CopyCommand, CopyModifier, CopyPasteCellsAboveCommand, CopyPasteCellsOnLeftCommand, CoreCommand, CoreCommandDispatcher, CoreCommandTypes, CoreGetters, CorePlugin, CoreTable, CoreTableType, CoreViewCommand, CoreViewCommandTypes, CoreViewPlugin, CreateCarouselCommand, CreateChartCommand, CreateFigureCommand, CreateImageOverCommand, CreateRevisionOptions, CreateSheetCommand, CreateTableCommand, CreateTableStyleCommand, CriterionFilter, Currency, CustomFormulaCriterion, CustomizedDataSet, CutCommand, DEFAULT_LOCALE, DEFAULT_LOCALES, DIRECTION, DOMCoordinates, DOMDimension, DataBarFill, DataBarRule, DataBarRuleInternal, DataFilterValue, DataSet, DataValidationCriterion, DataValidationCriterionType, DataValidationDateCriterion, DataValidationRule, DataValidationRuleData, DatasetDesign, DatasetValues, DateCriterionValue, DateIncrementModifier, DateIsAfterCriterion, DateIsBeforeCriterion, DateIsBetweenCriterion, DateIsCriterion, DateIsNotBetweenCriterion, DateIsOnOrAfterCriterion, DateIsOnOrBeforeCriterion, DateIsValidCriterion, DebouncedFunction, DeleteCellCommand, DeleteChartCommand, DeleteContentCommand, DeleteFigureCommand, DeleteSheetCommand, DeleteUnfilteredContentCommand, Dependencies, Dimension, DimensionTree, DimensionTreeNode, Direction$1 as Direction, DispatchResult, DuplicatePivotCommand, DuplicatePivotInNewSheetCommand, DuplicateSheetCommand, DynamicTable, EdgeScrollInfo, EditTextOptions, EditionMode, EmptyCell, EndsWithRule, EnrichedToken, EnsureRange, ErrorCell, EvalContext, EvaluateCellsCommand, EvaluateChartsCommand, EvaluatedCell, EvaluatedCriterion, EvaluatedDateCriterion, EvaluationError, ExcelChartDataset, ExcelChartDefinition, ExcelChartTrendConfiguration, ExcelChartType, ExcelFigureSize, ExcelFilterData, ExcelHeaderData, ExcelSheetData, ExcelTableData, ExcelTrendlineType, ExcelWorkbookData, ExpressionRule, Figure, FigureData, FigureInfo, FigureSize, FigureUI, Filter, FilterCriterionType, FilterId, FoldAllHeaderGroupsCommand, FoldHeaderGroupCommand, FoldHeaderGroupsInZoneCommand, Format, FormattedValue, FormulaCell, FormulaModifier, FormulaToExecute, FreezeColumnsCommand, FreezeRowsCommand, FunctionDescription, FunctionRegistry, FunctionResultNumber, FunctionResultObject, GeneratorCell, GenericCriterion, GenericCriterionType, GenericDateCriterion, GenericDefinition, GetSymbolValue, Getters, Granularity, GridClickModifiers, GridRenderingContext, GroupHeadersCommand, HSLA, HeaderData, HeaderDimensions, HeaderGroup, HeaderIndex, HeadersDependentCommand, HideColumnsRowsCommand, HideSheetCommand, Highlight$1 as Highlight, HistoryChange, IconSet, IconSetRule, IconThreshold, Image, Immutable, Increment, IncrementModifier, InformationNotification, InitPivotParams, InsertCellCommand, InsertNewPivotCommand, InsertPivotCommand, InsertPivotWithTableCommand, IsBetweenCriterion, IsCheckboxCriterion, IsEqualCriterion, IsGreaterOrEqualToCriterion, IsGreaterThanCriterion, IsLessOrEqualToCriterion, IsLessThanCriterion, IsNotBetweenCriterion, IsNotEqualCriterion, IsValueInListCriterion, IsValueInRangeCriterion, LabelValues, LayerName, Lazy, Link, LiteralCell, LocalCommand, LocalTransportService, Locale, LocaleCode, LocaleFormat, LookupCaches, Matrix, Maybe, MenuMouseEvent, Merge, MinimalClipboardData, Model, MoveColumnsRowsCommand, MoveConditionalFormatCommand, MoveRangeCommand, MoveSheetCommand, MoveViewportDownCommand, MoveViewportToCellCommand, MoveViewportUpCommand, NewLocalStateUpdateEvent, NotContainsTextRule, NotificationType, NumberCell, OSClipboardContent, Offset, OperationSequenceNode, OrderedLayers, PaintFormat, PaneDivision, ParsedOSClipboardContent, ParsedOsClipboardContentWithImageData, PasteCommand, PasteFromOSClipboardCommand, Pivot, PivotColRowDomain, PivotCollapsedDomains, PivotCoreDefinition, PivotCoreDimension, PivotCoreMeasure, PivotCustomGroup, PivotCustomGroupedField, PivotDimension$1 as PivotDimension, PivotDomain, PivotEmptyCell, PivotField, PivotFields, PivotHeaderCell, PivotMeasure, PivotMeasureDisplay, PivotMeasureDisplayType, PivotMeasureHeaderCell, PivotNode, PivotRuntimeDefinition, PivotSortedColumn, PivotStartPresenceTracking, PivotStopPresenceTracking, PivotTableCell, PivotTableColumn, PivotTableData, PivotTableRow, PivotTimeAdapter, PivotTimeAdapterNotNull, PivotValueCell, PivotVisibilityOptions, Pixel, PixelPosition, Position$1 as Position, PositionDependentCommand, PropsOf, RGBA, Range, RangeAdapter$1 as RangeAdapter, RangeCompiledFormula, RangeData, RangePart, RangeProvider, RangeStringOptions, RangesDependentCommand, Rect, RedoCommand, Ref, ReferenceDenormalizer, RefreshPivotCommand, Registry, RemoteRevisionMessage, RemoteRevisionReceivedEvent, RemoveColumnsRowsCommand, RemoveConditionalFormatCommand, RemoveDataValidationCommand, RemoveDuplicatesCommand, RemoveMergeCommand, RemovePivotCommand, RemoveTableCommand, RemoveTableStyleCommand, RenamePivotCommand, RenameSheetCommand, RenderingBorder, RenderingBox, RenderingGridIcon, RepeatPasteCommand, ReplaceSearchCommand, RequestRedoCommand, RequestUndoCommand, ResizeColumnsRowsCommand, ResizeDirection, ResizeTableCommand, ResizeViewportCommand, Revision, RevisionAcknowledgedEvent, RevisionData, RevisionRedone, RevisionRedoneMessage, RevisionUndone, RevisionUndoneMessage, Row, SPREADSHEET_DIMENSIONS, ScrollDirection$1 as ScrollDirection, SelectFigureCommand, Selection$1 as Selection, SelectionStep, SetBorderCommand, SetBorderTargetCommand, SetContextualFormatCommand, SetDecimalCommand, SetDecimalStep, SetFormattingCommand, SetGridLinesVisibilityCommand, SetViewportOffsetCommand, SetZoneBordersCommand, Sheet, SheetDOMScrollInfo, SheetData, SheetDependentCommand, SheetEditingCommand, ShowFormulaCommand, ShowSheetCommand, SingleColorRule, SingleColorRules, SnapshotEvent, SortCommand, SortDirection, SortOptions, SplitPivotFormulaCommand, SplitTextIntoColumnsCommand, Spreadsheet, SpreadsheetChildEnv, SpreadsheetPivotCoreDefinition, SpreadsheetPivotTable, StartChangeHighlightCommand, StartCommand, StaticTable, StoreConstructor, StoreParams, Style, SumSelectionCommand, Table, TableBorder, TableConfig, TableData$1 as TableData, TableElementStyle, TableId, TableStyle, TableStyleData, TableStyleTemplateName, TargetDependentCommand, TechnicalName, TextCell, TextContainsCriterion, TextIsCriterion, TextIsEmailCriterion, TextIsLinkCriterion, TextNotContainsCriterion, TextRule, ThresholdType, TimePeriodRule, TitleDesign, ToggleCheckboxCommand, Token, Tooltip, Top10Rule, Transformation, TransformationFactory, TransportService, TrendConfiguration, TrendType, TrimWhitespaceCommand, UID, UIPlugin, UnGroupHeadersCommand, UnboundedZone, UndoCommand, UnexpectedRevisionIdEvent, UnfoldAllHeaderGroupsCommand, UnfoldHeaderGroupCommand, UnfoldHeaderGroupsInZoneCommand, UnfreezeColumnsCommand, UnfreezeColumnsRowsCommand, UnfreezeRowsCommand, UnhideColumnsRowsCommand, UpdateCarouselActiveItemCommand, UpdateCarouselCommand, UpdateCellCommand, UpdateCellData, UpdateCellPositionCommand, UpdateChartCommand, UpdateFigureCommand, UpdateFilterCommand, UpdateLocaleCommand, UpdatePivotCommand, UpdateTableCommand, Validation, ValueAndLabel, ValuesFilter, VerticalAlign, Viewport, WorkbookData, WorkbookHistory, Wrapping, Zone, ZoneDependentCommand, ZoneDimension, ZoomableChartDefinition, __info__, addFunction, addRenderingLayer, astToFormula, availableConditionalFormatOperators, availableDataValidationOperators, availableFiltersOperators, borderStyles, canExecuteInReadonly, chartHelpers, compile, compileTokens, components, constants, containsBlanksRule, containsErrorsRule, convertAstNodes, coreTypes, filterDateCriterionOperators, filterNumberCriterionOperators, filterTextCriterionOperators, findCellInNewZone, functionCache, helpers, hooks, invalidSubtotalFormulasCommands, invalidateBordersCommands, invalidateCFEvaluationCommands, invalidateChartEvaluationCommands, invalidateDependenciesCommands, invalidateEvaluationCommands, isCoreCommand, isHeadersDependant, isMatrix, isPositionDependent, isRangeDependant, isSheetDependent, isTargetDependent, isZoneDependent, iterateAstNodes, links, load, notContainsBlanksRule, notContainsErrorsRule, parse, parseTokens, readonlyAllowedCommands, registries, setDefaultSheetViewSize, setTranslationMethod, stores, tokenColors, tokenize };
|