@odoo/o-spreadsheet 18.5.0-alpha.1 → 18.5.0-alpha.10

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.
@@ -1,11 +1,14 @@
1
1
  import * as chart_js from 'chart.js';
2
- import { ChartConfiguration, ChartDataset, CoreChartOptions, Scriptable, Color as Color$1, ScriptableContext, FontSpec, Point, ChartType as ChartType$1, ChartMeta } from 'chart.js';
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,242 +97,46 @@ 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 ComboBarChartDefinition extends CommonChartDefinition {
87
- }
88
-
89
- interface BarChartDefinition extends ComboBarChartDefinition {
90
- readonly type: "bar";
91
- readonly stacked: boolean;
92
- readonly horizontal?: boolean;
93
- }
94
- type BarChartRuntime = {
95
- chartJsConfig: ChartConfiguration;
96
- background: Color;
97
- };
98
-
99
- interface ComboChartDefinition extends ComboBarChartDefinition {
100
- readonly dataSets: ComboChartDataSet[];
101
- readonly type: "combo";
102
- readonly hideDataMarkers?: boolean;
103
- }
104
- type ComboChartDataSet = CustomizedDataSet & {
105
- type?: "bar" | "line";
106
- };
107
- type ComboChartRuntime = {
108
- chartJsConfig: ChartConfiguration;
109
- background: Color;
110
- };
111
-
112
- interface FunnelChartDefinition {
113
- readonly type: "funnel";
103
+ interface TreeMapChartDefinition {
104
+ readonly type: "treemap";
114
105
  readonly dataSets: CustomizedDataSet[];
115
106
  readonly dataSetsHaveTitle: boolean;
116
107
  readonly labelRange?: string;
117
108
  readonly title: TitleDesign;
118
109
  readonly background?: Color;
119
110
  readonly legendPosition: LegendPosition;
120
- readonly horizontal?: boolean;
121
- readonly axesDesign?: AxesDesign;
122
- readonly aggregated?: boolean;
111
+ readonly showHeaders?: boolean;
112
+ readonly headerDesign?: TitleDesign;
123
113
  readonly showValues?: boolean;
124
- readonly funnelColors?: FunnelChartColors;
125
- readonly cumulative?: boolean;
126
- }
127
- type FunnelChartRuntime = {
128
- chartJsConfig: ChartConfiguration;
129
- background: Color;
130
- };
131
- type FunnelChartColors = (Color | undefined)[];
132
-
133
- interface GaugeChartDefinition {
134
- readonly type: "gauge";
135
- readonly title: TitleDesign;
136
- readonly dataRange?: string;
137
- readonly sectionRule: SectionRule;
138
- readonly background?: Color;
139
- }
140
- interface SectionRule {
141
- readonly colors: ColorSet;
142
- readonly rangeMin: string;
143
- readonly rangeMax: string;
144
- readonly lowerInflectionPoint: SectionThreshold;
145
- readonly upperInflectionPoint: SectionThreshold;
146
- }
147
- interface ColorSet {
148
- readonly lowerColor: Color;
149
- readonly middleColor: Color;
150
- readonly upperColor: Color;
151
- }
152
- interface SectionThreshold {
153
- readonly type: "number" | "percentage";
154
- readonly value: string;
155
- readonly operator: "<" | "<=";
156
- }
157
- interface GaugeValue {
158
- value: number;
159
- label: string;
160
- }
161
- interface GaugeInflectionValue extends GaugeValue {
162
- operator: "<" | "<=";
163
- }
164
- interface GaugeChartRuntime {
165
- background: Color;
166
- title: TitleDesign;
167
- minValue: GaugeValue;
168
- maxValue: GaugeValue;
169
- gaugeValue?: GaugeValue;
170
- inflectionValues: GaugeInflectionValue[];
171
- colors: Color[];
172
- }
173
-
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;
114
+ readonly showLabels?: boolean;
115
+ readonly valuesDesign?: TitleDesign;
116
+ readonly coloringOptions?: TreeMapColoringOptions;
117
+ readonly humanize?: boolean;
185
118
  }
186
- type GeoChartRuntime = {
187
- chartJsConfig: ChartConfiguration;
188
- background: Color;
119
+ type TreeMapCategoryColorOptions = {
120
+ type: "categoryColor";
121
+ colors: (Color | undefined | null)[];
122
+ useValueBasedGradient: boolean;
189
123
  };
190
- interface GeoChartCustomColorScale {
124
+ type TreeMapColorScaleOptions = {
125
+ type: "colorScale";
191
126
  minColor: Color;
192
127
  midColor?: Color;
193
128
  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
- interface LineChartDefinition extends CommonChartDefinition {
209
- readonly type: "line";
210
- readonly labelsAsText: boolean;
211
- readonly stacked: boolean;
212
- readonly aggregated?: boolean;
213
- readonly cumulative: boolean;
214
- readonly fillArea?: boolean;
215
- readonly hideDataMarkers?: boolean;
216
- }
217
- type LineChartRuntime = {
218
- chartJsConfig: ChartConfiguration;
219
- background: Color;
220
- };
221
-
222
- interface PieChartDefinition extends CommonChartDefinition {
223
- readonly type: "pie";
224
- readonly aggregated?: boolean;
225
- readonly isDoughnut?: boolean;
226
- readonly showValues?: boolean;
227
- readonly pieHolePercentage?: number;
228
- }
229
- type PieChartRuntime = {
230
- chartJsConfig: ChartConfiguration<"pie" | "doughnut">;
231
- background: Color;
232
- };
233
-
234
- interface PyramidChartDefinition extends Omit<BarChartDefinition, "type"> {
235
- readonly type: "pyramid";
236
- }
237
- type PyramidChartRuntime = {
238
- chartJsConfig: ChartConfiguration;
239
- background: Color;
240
129
  };
241
-
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;
130
+ interface TreeMapGroupColor {
131
+ label: string;
132
+ color: Color;
248
133
  }
249
- type RadarChartRuntime = {
134
+ type TreeMapColoringOptions = TreeMapCategoryColorOptions | TreeMapColorScaleOptions;
135
+ type TreeMapChartRuntime = {
250
136
  chartJsConfig: ChartConfiguration;
251
137
  background: Color;
252
138
  };
253
139
 
254
- interface ScatterChartDefinition extends Omit<LineChartDefinition, "type" | "stacked" | "cumulative"> {
255
- readonly type: "scatter";
256
- }
257
- type ScatterChartRuntime = LineChartRuntime;
258
-
259
- interface ScorecardChartDefinition {
260
- readonly type: "scorecard";
261
- readonly title: TitleDesign;
262
- readonly keyValue?: string;
263
- readonly keyDescr?: TitleDesign;
264
- readonly baseline?: string;
265
- readonly baselineMode: BaselineMode;
266
- readonly baselineDescr?: TitleDesign;
267
- readonly background?: Color;
268
- readonly baselineColorUp: Color;
269
- readonly baselineColorDown: Color;
270
- readonly humanize?: boolean;
271
- }
272
- type BaselineMode = "text" | "difference" | "percentage" | "progress";
273
- type BaselineArrowDirection = "neutral" | "up" | "down";
274
- interface ProgressBar {
275
- readonly value: number;
276
- readonly color: Color;
277
- }
278
- interface ScorecardChartRuntime {
279
- readonly title: TitleDesign;
280
- readonly keyValue: string;
281
- 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
140
  /*!
321
141
  * chartjs-chart-treemap v3.1.0
322
142
  * https://chartjs-chart-treemap.pages.dev/
@@ -428,41 +248,172 @@ declare module "chart.js" {
428
248
  }
429
249
  }
430
250
 
431
- interface TreeMapChartDefinition {
432
- readonly type: "treemap";
251
+ interface FunnelChartDefinition {
252
+ readonly type: "funnel";
253
+ readonly dataSets: CustomizedDataSet[];
254
+ readonly dataSetsHaveTitle: boolean;
255
+ readonly labelRange?: string;
256
+ readonly title: TitleDesign;
257
+ readonly background?: Color;
258
+ readonly legendPosition: LegendPosition;
259
+ readonly horizontal?: boolean;
260
+ readonly axesDesign?: AxesDesign;
261
+ readonly aggregated?: boolean;
262
+ readonly showValues?: boolean;
263
+ readonly funnelColors?: FunnelChartColors;
264
+ readonly cumulative?: boolean;
265
+ readonly humanize?: boolean;
266
+ }
267
+ type FunnelChartRuntime = {
268
+ chartJsConfig: ChartConfiguration;
269
+ background: Color;
270
+ };
271
+ type FunnelChartColors = (Color | undefined)[];
272
+
273
+ interface GaugeChartDefinition {
274
+ readonly type: "gauge";
275
+ readonly title: TitleDesign;
276
+ readonly dataRange?: string;
277
+ readonly sectionRule: SectionRule;
278
+ readonly background?: Color;
279
+ readonly humanize?: boolean;
280
+ }
281
+ interface SectionRule {
282
+ readonly colors: ColorSet;
283
+ readonly rangeMin: string;
284
+ readonly rangeMax: string;
285
+ readonly lowerInflectionPoint: SectionThreshold;
286
+ readonly upperInflectionPoint: SectionThreshold;
287
+ }
288
+ interface ColorSet {
289
+ readonly lowerColor: Color;
290
+ readonly middleColor: Color;
291
+ readonly upperColor: Color;
292
+ }
293
+ interface SectionThreshold {
294
+ readonly type: "number" | "percentage";
295
+ readonly value: string;
296
+ readonly operator: "<" | "<=";
297
+ }
298
+ interface GaugeValue {
299
+ value: number;
300
+ label: string;
301
+ }
302
+ interface GaugeInflectionValue extends GaugeValue {
303
+ operator: "<" | "<=";
304
+ }
305
+ interface GaugeChartRuntime {
306
+ background: Color;
307
+ title: TitleDesign;
308
+ minValue: GaugeValue;
309
+ maxValue: GaugeValue;
310
+ gaugeValue?: GaugeValue;
311
+ inflectionValues: GaugeInflectionValue[];
312
+ colors: Color[];
313
+ }
314
+
315
+ interface LineChartDefinition extends CommonChartDefinition {
316
+ readonly type: "line";
317
+ readonly labelsAsText: boolean;
318
+ readonly stacked: boolean;
319
+ readonly aggregated?: boolean;
320
+ readonly cumulative: boolean;
321
+ readonly fillArea?: boolean;
322
+ readonly hideDataMarkers?: boolean;
323
+ readonly zoomable?: boolean;
324
+ }
325
+ type LineChartRuntime = {
326
+ chartJsConfig: ChartConfiguration;
327
+ masterChartConfig?: ChartConfiguration;
328
+ background: Color;
329
+ };
330
+
331
+ interface PieChartDefinition extends CommonChartDefinition {
332
+ readonly type: "pie";
333
+ readonly aggregated?: boolean;
334
+ readonly isDoughnut?: boolean;
335
+ readonly showValues?: boolean;
336
+ readonly pieHolePercentage?: number;
337
+ }
338
+ type PieChartRuntime = {
339
+ chartJsConfig: ChartConfiguration<"pie" | "doughnut">;
340
+ background: Color;
341
+ };
342
+
343
+ interface PyramidChartDefinition extends Omit<BarChartDefinition, "type"> {
344
+ readonly type: "pyramid";
345
+ }
346
+ type PyramidChartRuntime = {
347
+ chartJsConfig: ChartConfiguration;
348
+ background: Color;
349
+ };
350
+
351
+ interface ScatterChartDefinition extends Omit<LineChartDefinition, "type" | "stacked" | "cumulative"> {
352
+ readonly type: "scatter";
353
+ }
354
+ type ScatterChartRuntime = LineChartRuntime;
355
+
356
+ interface ScorecardChartDefinition {
357
+ readonly type: "scorecard";
358
+ readonly title: TitleDesign;
359
+ readonly keyValue?: string;
360
+ readonly keyDescr?: TitleDesign;
361
+ readonly baseline?: string;
362
+ readonly baselineMode: BaselineMode;
363
+ readonly baselineDescr?: TitleDesign;
364
+ readonly background?: Color;
365
+ readonly baselineColorUp: Color;
366
+ readonly baselineColorDown: Color;
367
+ readonly humanize?: boolean;
368
+ }
369
+ type BaselineMode = "text" | "difference" | "percentage" | "progress";
370
+ type BaselineArrowDirection = "neutral" | "up" | "down";
371
+ interface ProgressBar {
372
+ readonly value: number;
373
+ readonly color: Color;
374
+ }
375
+ interface ScorecardChartRuntime {
376
+ readonly title: TitleDesign;
377
+ readonly keyValue: string;
378
+ readonly keyDescr: string;
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;
390
+ }
391
+
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?: TitleDesign;
444
- readonly coloringOptions?: TreeMapColoringOptions;
445
- }
446
- type TreeMapCategoryColorOptions = {
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 TreeMapColoringOptions = TreeMapCategoryColorOptions | TreeMapColorScaleOptions;
462
- type TreeMapChartRuntime = {
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 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" | "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">;
2705
- 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" | "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">;
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 extends BaseFigureCommand {
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[];
@@ -3699,7 +3798,7 @@ interface Border$1 {
3699
3798
  right?: BorderDescr;
3700
3799
  }
3701
3800
  type ReferenceDenormalizer = (range: Range, isMeta: boolean, functionName: string, paramNumber: number) => FunctionResultObject;
3702
- type EnsureRange = (range: Range) => Matrix<FunctionResultObject>;
3801
+ type EnsureRange = (range: Range, isMeta: boolean) => Matrix<FunctionResultObject>;
3703
3802
  type GetSymbolValue = (symbolName: string) => Arg;
3704
3803
  type FormulaToExecute = (deps: Range[], refFn: ReferenceDenormalizer, range: EnsureRange, getSymbolValue: GetSymbolValue, ctx: object) => Matrix<FunctionResultObject> | FunctionResultObject;
3705
3804
  interface CompiledFormula {
@@ -3718,6 +3817,7 @@ type FunctionResultObject = {
3718
3817
  format?: Format;
3719
3818
  errorOriginPosition?: CellPosition;
3720
3819
  message?: string;
3820
+ origin?: CellPosition;
3721
3821
  };
3722
3822
  type FunctionResultNumber = {
3723
3823
  value: number;
@@ -3870,6 +3970,10 @@ interface GridClickModifiers {
3870
3970
  type ComposerFocusType = "inactive" | "cellFocus" | "contentFocus";
3871
3971
  type EditionMode = "editing" | "selecting" | "inactive";
3872
3972
  type SortDirection = "asc" | "desc";
3973
+ interface ValueAndLabel<T = string> {
3974
+ value: T;
3975
+ label: string;
3976
+ }
3873
3977
 
3874
3978
  type LocaleCode = string & Alias;
3875
3979
  interface Locale {
@@ -4294,6 +4398,7 @@ interface SpreadsheetChildEnv extends NotificationStoreMethods {
4294
4398
  imageProvider?: ImageProviderInterface;
4295
4399
  isDashboard: () => boolean;
4296
4400
  openSidePanel: (panel: string, panelProps?: any) => void;
4401
+ replaceSidePanel: (panel: string, currentPanel: string, panelProps?: any) => void;
4297
4402
  toggleSidePanel: (panel: string, panelProps?: any) => void;
4298
4403
  clipboard: ClipboardInterface;
4299
4404
  startCellEdition: (content?: string) => void;
@@ -4545,6 +4650,21 @@ declare class BordersPlugin extends CorePlugin<BordersPluginState> implements Bo
4545
4650
  exportForExcel(data: ExcelWorkbookData): void;
4546
4651
  }
4547
4652
 
4653
+ interface CarouselState {
4654
+ readonly carousels: Record<UID, Record<UID, Carousel | undefined> | undefined>;
4655
+ }
4656
+ declare class CarouselPlugin extends CorePlugin<CarouselState> implements CarouselState {
4657
+ static getters: readonly ["getCarousel", "doesCarouselExist"];
4658
+ readonly carousels: Record<UID, Record<UID, Carousel | undefined> | undefined>;
4659
+ allowDispatch(cmd: CoreCommand): CommandResult.Success | CommandResult.InvalidFigureId | CommandResult.DuplicatedFigureId;
4660
+ handle(cmd: CoreCommand): void;
4661
+ doesCarouselExist(figureId: UID): boolean;
4662
+ getCarousel(figureId: UID): Carousel;
4663
+ private removeDeletedCharts;
4664
+ import(data: WorkbookData): void;
4665
+ export(data: WorkbookData): void;
4666
+ }
4667
+
4548
4668
  interface CoreState$1 {
4549
4669
  cells: Record<UID, Record<UID, Cell | undefined> | undefined>;
4550
4670
  nextId: number;
@@ -4652,6 +4772,7 @@ declare abstract class AbstractChart {
4652
4772
  readonly title: TitleDesign;
4653
4773
  abstract readonly type: ChartType;
4654
4774
  protected readonly getters: CoreGetters;
4775
+ readonly humanize: boolean;
4655
4776
  constructor(definition: ChartDefinition, sheetId: UID, getters: CoreGetters);
4656
4777
  /**
4657
4778
  * Validate the chart definition given as arguments. This function will be
@@ -4675,7 +4796,7 @@ declare abstract class AbstractChart {
4675
4796
  * Get the definition of the chart that will be used for excel export.
4676
4797
  * If the chart is not supported by Excel, this function returns undefined.
4677
4798
  */
4678
- abstract getDefinitionForExcel(): ExcelChartDefinition | undefined;
4799
+ abstract getDefinitionForExcel(getters: Getters): ExcelChartDefinition | undefined;
4679
4800
  /**
4680
4801
  * This function should be used to update all the ranges of the chart after
4681
4802
  * a grid change (add/remove col/row, rename sheet, ...)
@@ -4695,30 +4816,34 @@ declare abstract class AbstractChart {
4695
4816
  * Extract the ChartCreationContext of the chart
4696
4817
  */
4697
4818
  abstract getContextCreation(): ChartCreationContext;
4819
+ protected getCommonDataSetAttributesForExcel(labelRange: Range | undefined, dataSets: DataSet[], shouldRemoveFirstLabel: boolean): {
4820
+ dataSets: ExcelChartDataset[];
4821
+ labelRange: string | undefined;
4822
+ };
4698
4823
  }
4699
4824
 
4700
- /**
4701
- * Chart plugin
4702
- *
4703
- * This plugin manages charts
4704
- * */
4825
+ interface FigureChart {
4826
+ figureId: UID;
4827
+ chart: AbstractChart;
4828
+ }
4705
4829
  interface ChartState {
4706
- readonly charts: Record<UID, AbstractChart | undefined>;
4830
+ readonly charts: Record<UID, FigureChart | undefined>;
4707
4831
  }
4708
4832
  declare class ChartPlugin extends CorePlugin<ChartState> implements ChartState {
4709
- static getters: readonly ["isChartDefined", "getChartDefinition", "getChartType", "getChartIds", "getChart", "getContextCreationChart"];
4710
- readonly charts: Record<UID, AbstractChart | undefined>;
4833
+ static getters: readonly ["isChartDefined", "getChartDefinition", "getChartType", "getChartIds", "getChart", "getFigureIdFromChartId", "getContextCreationChart"];
4834
+ readonly charts: Record<UID, FigureChart | undefined>;
4711
4835
  private createChart;
4712
4836
  private validateChartDefinition;
4713
4837
  adaptRanges(applyChange: ApplyRangeChange): void;
4714
4838
  allowDispatch(cmd: Command): CommandResult | CommandResult[];
4715
4839
  handle(cmd: CoreCommand): void;
4716
- getContextCreationChart(figureId: UID): ChartCreationContext | undefined;
4717
- getChart(figureId: UID): AbstractChart | undefined;
4718
- getChartType(figureId: UID): ChartType;
4719
- isChartDefined(figureId: UID): boolean;
4840
+ getContextCreationChart(chartId: UID): ChartCreationContext | undefined;
4841
+ getChart(chartId: UID): AbstractChart | undefined;
4842
+ getFigureIdFromChartId(chartId: UID): UID;
4843
+ getChartType(chartId: UID): ChartType;
4844
+ isChartDefined(chartId: UID): boolean;
4720
4845
  getChartIds(sheetId: UID): string[];
4721
- getChartDefinition(figureId: UID): ChartDefinition;
4846
+ getChartDefinition(chartId: UID): ChartDefinition;
4722
4847
  import(data: WorkbookData): void;
4723
4848
  export(data: WorkbookData): void;
4724
4849
  /**
@@ -4733,6 +4858,8 @@ declare class ChartPlugin extends CorePlugin<ChartState> implements ChartState {
4733
4858
  private checkChartDuplicate;
4734
4859
  private checkChartExists;
4735
4860
  private checkChartChanged;
4861
+ /** If the command is meant to create a new figure, the position & offset argument need to be defined in the command */
4862
+ private checkFigureArguments;
4736
4863
  }
4737
4864
 
4738
4865
  interface ConditionalFormatState {
@@ -5129,6 +5256,7 @@ declare class PivotCorePlugin extends CorePlugin<CoreState> implements CoreState
5129
5256
  private replaceMeasureFormula;
5130
5257
  private checkSortedColumnInMeasures;
5131
5258
  private checkDuplicatedMeasureIds;
5259
+ private checkCustomFieldsAreValid;
5132
5260
  /**
5133
5261
  * Import the pivots
5134
5262
  */
@@ -5489,7 +5617,7 @@ declare class EvaluationChartPlugin extends CoreViewPlugin<EvaluationChartState>
5489
5617
  charts: Record<UID, ChartRuntime | undefined>;
5490
5618
  private createRuntimeChart;
5491
5619
  handle(cmd: CoreViewCommand): void;
5492
- getChartRuntime(figureId: UID): ChartRuntime;
5620
+ getChartRuntime(chartId: UID): ChartRuntime;
5493
5621
  /**
5494
5622
  * Get the background and textColor of a chart based on the color of the first cell of the main range of the chart.
5495
5623
  */
@@ -5557,7 +5685,10 @@ declare class EvaluationDataValidationPlugin extends CoreViewPlugin {
5557
5685
  * The value must be canonicalized.
5558
5686
  */
5559
5687
  getDataValidationInvalidCriterionValueMessage(criterionType: DataValidationCriterionType, value: string): string | undefined;
5560
- getDataValidationRangeValues(sheetId: UID, criterion: EvaluatedCriterion): string[];
5688
+ getDataValidationRangeValues(sheetId: UID, criterion: EvaluatedCriterion): {
5689
+ value: string;
5690
+ label: string;
5691
+ }[];
5561
5692
  isCellValidCheckbox(cellPosition: CellPosition): boolean;
5562
5693
  /** Get the validation result if the cell on the given position had the given value */
5563
5694
  getValidationResultForCellValue(cellValue: CellValue, cellPosition: CellPosition): ValidationResult;
@@ -5689,6 +5820,7 @@ declare class HeaderSizeUIPlugin extends CoreViewPlugin<HeaderSizeState> impleme
5689
5820
  static getters: readonly ["getRowSize", "getHeaderSize", "getMaxAnchorOffset"];
5690
5821
  readonly tallestCellInRow: Immutable<Record<UID, Array<CellWithSize | undefined>>>;
5691
5822
  private ctx;
5823
+ beforeHandle(cmd: Command): void;
5692
5824
  handle(cmd: Command): void;
5693
5825
  getRowSize(sheetId: UID, row: HeaderIndex): Pixel;
5694
5826
  getMaxAnchorOffset(sheetId: UID, height: Pixel, width: Pixel): AnchorOffset;
@@ -5718,9 +5850,13 @@ declare class PivotRuntimeDefinition {
5718
5850
  readonly rows: PivotDimension$1[];
5719
5851
  readonly sortedColumn?: PivotSortedColumn;
5720
5852
  readonly collapsedDomains?: PivotCollapsedDomains;
5853
+ readonly customFields?: Record<string, PivotCustomGroupedField>;
5721
5854
  constructor(definition: CommonPivotCoreDefinition, fields: PivotFields);
5722
5855
  getDimension(nameWithGranularity: string): PivotDimension$1;
5723
5856
  getMeasure(id: string): PivotMeasure;
5857
+ get invalidAggregatorsForCustomField(): string[];
5858
+ private createMeasure;
5859
+ private createPivotDimension;
5724
5860
  }
5725
5861
 
5726
5862
  interface CollapsiblePivotTableColumn extends PivotTableColumn {
@@ -5807,6 +5943,7 @@ declare class SpreadsheetPivotTable {
5807
5943
  };
5808
5944
  sort(measure: string, sortedColumn: PivotSortedColumn, getValue: (measure: string, domain: PivotDomain) => FunctionResultObject): void;
5809
5945
  private rowTreeToRows;
5946
+ get numberOfCells(): number;
5810
5947
  }
5811
5948
 
5812
5949
  interface InitPivotParams {
@@ -5835,6 +5972,7 @@ interface Pivot<T = PivotRuntimeDefinition> {
5835
5972
  label: string;
5836
5973
  }[];
5837
5974
  needsReevaluation: boolean;
5975
+ markAsDirtyForEvaluation?(): void;
5838
5976
  }
5839
5977
 
5840
5978
  declare class PivotUIPlugin extends CoreViewPlugin {
@@ -6267,6 +6405,11 @@ declare class SplitToColumnsPlugin extends UIPlugin {
6267
6405
  private checkSeparatorInSelection;
6268
6406
  }
6269
6407
 
6408
+ declare class SubtotalEvaluationPlugin extends UIPlugin {
6409
+ private subtotalCells;
6410
+ handle(cmd: Command): void;
6411
+ }
6412
+
6270
6413
  declare class TableComputedStylePlugin extends UIPlugin {
6271
6414
  static getters: readonly ["getCellTableStyle", "getCellTableBorder"];
6272
6415
  private tableStyles;
@@ -6287,6 +6430,21 @@ declare class TableComputedStylePlugin extends UIPlugin {
6287
6430
  private getTableMapping;
6288
6431
  }
6289
6432
 
6433
+ declare class CarouselUIPlugin extends UIPlugin {
6434
+ static getters: readonly ["getSelectedCarouselItem", "getChartFromFigureId", "getChartIdFromFigureId"];
6435
+ private uuidGenerator;
6436
+ carouselStates: Record<UID, string | undefined>;
6437
+ allowDispatch(cmd: LocalCommand): CommandResult | CommandResult[];
6438
+ handle(cmd: Command): void;
6439
+ getSelectedCarouselItem(figureId: UID): CarouselItem | undefined;
6440
+ getChartFromFigureId(figureId: UID): AbstractChart | undefined;
6441
+ getChartIdFromFigureId(figureId: UID): UID | undefined;
6442
+ private fixWrongCarouselState;
6443
+ private addNewChartToCarousel;
6444
+ private addFigureChartToCarousel;
6445
+ private getCarouselItemId;
6446
+ }
6447
+
6290
6448
  declare class HeaderPositionsUIPlugin extends UIPlugin {
6291
6449
  static getters: readonly ["getColDimensions", "getRowDimensions", "getColRowOffset"];
6292
6450
  private headerPositions;
@@ -6367,13 +6525,13 @@ type PluginGetters<Plugin extends {
6367
6525
  getters: readonly string[];
6368
6526
  }> = Pick<InstanceType<Plugin>, GetterNames<Plugin>>;
6369
6527
  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>;
6528
+ 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
6529
  type Getters = {
6372
6530
  isReadonly: () => boolean;
6373
6531
  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>;
6532
+ } & 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
6533
 
6376
- type ArgType = "ANY" | "BOOLEAN" | "NUMBER" | "STRING" | "DATE" | "RANGE" | "RANGE<BOOLEAN>" | "RANGE<NUMBER>" | "RANGE<DATE>" | "RANGE<STRING>" | "RANGE<ANY>" | "META";
6534
+ type ArgType = "ANY" | "BOOLEAN" | "NUMBER" | "STRING" | "DATE" | "RANGE" | "RANGE<BOOLEAN>" | "RANGE<NUMBER>" | "RANGE<DATE>" | "RANGE<STRING>" | "RANGE<ANY>" | "META" | "RANGE<META>";
6377
6535
  interface ArgDefinition {
6378
6536
  acceptMatrix?: boolean;
6379
6537
  acceptMatrixOnly?: boolean;
@@ -6750,11 +6908,11 @@ interface PivotRegistryItem {
6750
6908
  ui: PivotUIConstructor;
6751
6909
  definition: PivotDefinitionConstructor;
6752
6910
  externalData: boolean;
6753
- onIterationEndEvaluation: (pivot: Pivot) => void;
6754
6911
  dateGranularities: string[];
6755
6912
  datetimeGranularities: string[];
6756
6913
  isMeasureCandidate: (field: PivotField) => boolean;
6757
6914
  isGroupable: (field: PivotField) => boolean;
6915
+ canHaveCustomGroup: (field: PivotField) => boolean;
6758
6916
  }
6759
6917
 
6760
6918
  declare class ClipboardHandler<T> {
@@ -7002,7 +7160,7 @@ interface ChartSubtypeProperties {
7002
7160
  preview: string;
7003
7161
  }
7004
7162
 
7005
- interface Props$1j {
7163
+ interface Props$1q {
7006
7164
  label?: string;
7007
7165
  value: boolean;
7008
7166
  className?: string;
@@ -7011,7 +7169,7 @@ interface Props$1j {
7011
7169
  disabled?: boolean;
7012
7170
  onChange: (value: boolean) => void;
7013
7171
  }
7014
- declare class Checkbox extends Component<Props$1j, SpreadsheetChildEnv> {
7172
+ declare class Checkbox extends Component<Props$1q, SpreadsheetChildEnv> {
7015
7173
  static template: string;
7016
7174
  static props: {
7017
7175
  label: {
@@ -7046,10 +7204,10 @@ declare class Checkbox extends Component<Props$1j, SpreadsheetChildEnv> {
7046
7204
  onChange(ev: InputEvent): void;
7047
7205
  }
7048
7206
 
7049
- interface Props$1i {
7207
+ interface Props$1p {
7050
7208
  class?: string;
7051
7209
  }
7052
- declare class Section extends Component<Props$1i, SpreadsheetChildEnv> {
7210
+ declare class Section extends Component<Props$1p, SpreadsheetChildEnv> {
7053
7211
  static template: string;
7054
7212
  static props: {
7055
7213
  class: {
@@ -7214,7 +7372,7 @@ declare class SelectionInputStore extends SpreadsheetStore {
7214
7372
  getIndex(rangeId: number | null): number | null;
7215
7373
  }
7216
7374
 
7217
- interface Props$1h {
7375
+ interface Props$1o {
7218
7376
  ranges: string[];
7219
7377
  hasSingleRange?: boolean;
7220
7378
  required?: boolean;
@@ -7242,7 +7400,7 @@ interface SelectionRange extends Omit<RangeInputValue, "color"> {
7242
7400
  * onSelectionChanged is called every time the input value
7243
7401
  * changes.
7244
7402
  */
7245
- declare class SelectionInput extends Component<Props$1h, SpreadsheetChildEnv> {
7403
+ declare class SelectionInput extends Component<Props$1o, SpreadsheetChildEnv> {
7246
7404
  static template: string;
7247
7405
  static props: {
7248
7406
  ranges: ArrayConstructor;
@@ -7319,7 +7477,7 @@ declare class SelectionInput extends Component<Props$1h, SpreadsheetChildEnv> {
7319
7477
  confirm(): void;
7320
7478
  }
7321
7479
 
7322
- interface Props$1g {
7480
+ interface Props$1n {
7323
7481
  ranges: CustomizedDataSet[];
7324
7482
  hasSingleRange?: boolean;
7325
7483
  onSelectionChanged: (ranges: string[]) => void;
@@ -7332,7 +7490,7 @@ interface Props$1g {
7332
7490
  canChangeDatasetOrientation?: boolean;
7333
7491
  onFlipAxis?: (structure: string) => void;
7334
7492
  }
7335
- declare class ChartDataSeries extends Component<Props$1g, SpreadsheetChildEnv> {
7493
+ declare class ChartDataSeries extends Component<Props$1n, SpreadsheetChildEnv> {
7336
7494
  static template: string;
7337
7495
  static components: {
7338
7496
  SelectionInput: typeof SelectionInput;
@@ -7381,12 +7539,12 @@ declare class ChartDataSeries extends Component<Props$1g, SpreadsheetChildEnv> {
7381
7539
  get title(): string;
7382
7540
  }
7383
7541
 
7384
- interface Props$1f {
7542
+ interface Props$1m {
7385
7543
  messages: string[];
7386
7544
  msgType: "warning" | "error" | "info";
7387
7545
  singleBox?: boolean;
7388
7546
  }
7389
- declare class ValidationMessages extends Component<Props$1f, SpreadsheetChildEnv> {
7547
+ declare class ValidationMessages extends Component<Props$1m, SpreadsheetChildEnv> {
7390
7548
  static template: string;
7391
7549
  static props: {
7392
7550
  messages: ArrayConstructor;
@@ -7400,10 +7558,10 @@ declare class ValidationMessages extends Component<Props$1f, SpreadsheetChildEnv
7400
7558
  get alertBoxes(): string[][];
7401
7559
  }
7402
7560
 
7403
- interface Props$1e {
7561
+ interface Props$1l {
7404
7562
  messages: string[];
7405
7563
  }
7406
- declare class ChartErrorSection extends Component<Props$1e, SpreadsheetChildEnv> {
7564
+ declare class ChartErrorSection extends Component<Props$1l, SpreadsheetChildEnv> {
7407
7565
  static template: string;
7408
7566
  static components: {
7409
7567
  Section: typeof Section;
@@ -7417,7 +7575,7 @@ declare class ChartErrorSection extends Component<Props$1e, SpreadsheetChildEnv>
7417
7575
  };
7418
7576
  }
7419
7577
 
7420
- interface Props$1d {
7578
+ interface Props$1k {
7421
7579
  title?: string;
7422
7580
  range: string;
7423
7581
  isInvalid: boolean;
@@ -7430,7 +7588,7 @@ interface Props$1d {
7430
7588
  onChange: (value: boolean) => void;
7431
7589
  }>;
7432
7590
  }
7433
- declare class ChartLabelRange extends Component<Props$1d, SpreadsheetChildEnv> {
7591
+ declare class ChartLabelRange extends Component<Props$1k, SpreadsheetChildEnv> {
7434
7592
  static template: string;
7435
7593
  static components: {
7436
7594
  SelectionInput: typeof SelectionInput;
@@ -7451,20 +7609,20 @@ declare class ChartLabelRange extends Component<Props$1d, SpreadsheetChildEnv> {
7451
7609
  optional: boolean;
7452
7610
  };
7453
7611
  };
7454
- static defaultProps: Partial<Props$1d>;
7612
+ static defaultProps: Partial<Props$1k>;
7455
7613
  }
7456
7614
 
7457
- interface Props$1c {
7458
- figureId: UID;
7615
+ interface Props$1j {
7616
+ chartId: UID;
7459
7617
  definition: ChartWithDataSetDefinition;
7460
- canUpdateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
7461
- updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
7618
+ canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
7619
+ updateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
7462
7620
  }
7463
7621
  interface ChartPanelState {
7464
7622
  datasetDispatchResult?: DispatchResult;
7465
7623
  labelsDispatchResult?: DispatchResult;
7466
7624
  }
7467
- declare class GenericChartConfigPanel extends Component<Props$1c, SpreadsheetChildEnv> {
7625
+ declare class GenericChartConfigPanel extends Component<Props$1j, SpreadsheetChildEnv> {
7468
7626
  static template: string;
7469
7627
  static components: {
7470
7628
  ChartDataSeries: typeof ChartDataSeries;
@@ -7474,7 +7632,7 @@ declare class GenericChartConfigPanel extends Component<Props$1c, SpreadsheetChi
7474
7632
  ChartErrorSection: typeof ChartErrorSection;
7475
7633
  };
7476
7634
  static props: {
7477
- figureId: StringConstructor;
7635
+ chartId: StringConstructor;
7478
7636
  definition: ObjectConstructor;
7479
7637
  updateChart: FunctionConstructor;
7480
7638
  canUpdateChart: FunctionConstructor;
@@ -7533,11 +7691,11 @@ declare class BarConfigPanel extends GenericChartConfigPanel {
7533
7691
  onUpdateStacked(stacked: boolean): void;
7534
7692
  }
7535
7693
 
7536
- interface Props$1b {
7694
+ interface Props$1i {
7537
7695
  isCollapsed: boolean;
7538
7696
  slots: any;
7539
7697
  }
7540
- declare class Collapse extends Component<Props$1b, SpreadsheetChildEnv> {
7698
+ declare class Collapse extends Component<Props$1i, SpreadsheetChildEnv> {
7541
7699
  static template: string;
7542
7700
  static props: {
7543
7701
  isCollapsed: BooleanConstructor;
@@ -7576,12 +7734,12 @@ interface Choice$1 {
7576
7734
  value: string;
7577
7735
  label: string;
7578
7736
  }
7579
- interface Props$1a {
7737
+ interface Props$1h {
7580
7738
  choices: Choice$1[];
7581
7739
  onChange: (value: string) => void;
7582
7740
  selectedValue: string;
7583
7741
  }
7584
- declare class BadgeSelection extends Component<Props$1a, SpreadsheetChildEnv> {
7742
+ declare class BadgeSelection extends Component<Props$1h, SpreadsheetChildEnv> {
7585
7743
  static template: string;
7586
7744
  static props: {
7587
7745
  choices: ArrayConstructor;
@@ -7590,14 +7748,14 @@ declare class BadgeSelection extends Component<Props$1a, SpreadsheetChildEnv> {
7590
7748
  };
7591
7749
  }
7592
7750
 
7593
- interface Props$19 {
7751
+ interface Props$1g {
7594
7752
  action: ActionSpec;
7595
7753
  hasTriangleDownIcon?: boolean;
7596
7754
  selectedColor?: string;
7597
7755
  class?: string;
7598
7756
  onClick?: (ev: MouseEvent) => void;
7599
7757
  }
7600
- declare class ActionButton extends Component<Props$19, SpreadsheetChildEnv> {
7758
+ declare class ActionButton extends Component<Props$1g, SpreadsheetChildEnv> {
7601
7759
  static template: string;
7602
7760
  static props: {
7603
7761
  action: ObjectConstructor;
@@ -7784,7 +7942,7 @@ declare class ColorPicker extends Component<ColorPickerProps, SpreadsheetChildEn
7784
7942
  isSameColor(color1: Color, color2: Color): boolean;
7785
7943
  }
7786
7944
 
7787
- interface Props$18 {
7945
+ interface Props$1f {
7788
7946
  currentColor: string | undefined;
7789
7947
  toggleColorPicker: () => void;
7790
7948
  showColorPicker: boolean;
@@ -7795,7 +7953,7 @@ interface Props$18 {
7795
7953
  dropdownMaxHeight?: Pixel;
7796
7954
  class?: string;
7797
7955
  }
7798
- declare class ColorPickerWidget extends Component<Props$18, SpreadsheetChildEnv> {
7956
+ declare class ColorPickerWidget extends Component<Props$1f, SpreadsheetChildEnv> {
7799
7957
  static template: string;
7800
7958
  static props: {
7801
7959
  currentColor: {
@@ -7856,14 +8014,14 @@ declare class CellPopoverStore extends SpreadsheetStore {
7856
8014
  interface State$5 {
7857
8015
  isOpen: boolean;
7858
8016
  }
7859
- interface Props$17 {
8017
+ interface Props$1e {
7860
8018
  currentFontSize: number;
7861
8019
  class: string;
7862
8020
  onFontSizeChanged: (fontSize: number) => void;
7863
8021
  onToggle?: () => void;
7864
8022
  onFocusInput?: () => void;
7865
8023
  }
7866
- declare class FontSizeEditor extends Component<Props$17, SpreadsheetChildEnv> {
8024
+ declare class FontSizeEditor extends Component<Props$1e, SpreadsheetChildEnv> {
7867
8025
  static template: string;
7868
8026
  static props: {
7869
8027
  currentFontSize: NumberConstructor;
@@ -7901,7 +8059,7 @@ declare class FontSizeEditor extends Component<Props$17, SpreadsheetChildEnv> {
7901
8059
  onInputKeydown(ev: KeyboardEvent): void;
7902
8060
  }
7903
8061
 
7904
- interface Props$16 {
8062
+ interface Props$1d {
7905
8063
  class?: string;
7906
8064
  style: ChartStyle;
7907
8065
  updateStyle: (style: ChartStyle) => void;
@@ -7910,7 +8068,7 @@ interface Props$16 {
7910
8068
  hasHorizontalAlign?: boolean;
7911
8069
  hasBackgroundColor?: boolean;
7912
8070
  }
7913
- declare class TextStyler extends Component<Props$16, SpreadsheetChildEnv> {
8071
+ declare class TextStyler extends Component<Props$1d, SpreadsheetChildEnv> {
7914
8072
  static template: string;
7915
8073
  static components: {
7916
8074
  ColorPickerWidget: typeof ColorPickerWidget;
@@ -7978,7 +8136,7 @@ declare class TextStyler extends Component<Props$16, SpreadsheetChildEnv> {
7978
8136
  get verticalAlignActions(): ActionSpec[];
7979
8137
  }
7980
8138
 
7981
- interface Props$15 {
8139
+ interface Props$1c {
7982
8140
  title?: string;
7983
8141
  placeholder?: string;
7984
8142
  updateTitle: (title: string) => void;
@@ -7987,7 +8145,7 @@ interface Props$15 {
7987
8145
  defaultStyle?: Partial<TitleDesign>;
7988
8146
  updateStyle: (style: TitleDesign) => void;
7989
8147
  }
7990
- declare class ChartTitle extends Component<Props$15, SpreadsheetChildEnv> {
8148
+ declare class ChartTitle extends Component<Props$1c, SpreadsheetChildEnv> {
7991
8149
  static template: string;
7992
8150
  static components: {
7993
8151
  Section: typeof Section;
@@ -8024,13 +8182,13 @@ interface AxisDefinition {
8024
8182
  id: string;
8025
8183
  name: string;
8026
8184
  }
8027
- interface Props$14 {
8028
- figureId: UID;
8185
+ interface Props$1b {
8186
+ chartId: UID;
8029
8187
  definition: ChartWithAxisDefinition;
8030
- updateChart: (figureId: UID, definition: Partial<ChartWithAxisDefinition>) => DispatchResult;
8188
+ updateChart: (chartId: UID, definition: Partial<ChartWithAxisDefinition>) => DispatchResult;
8031
8189
  axesList: AxisDefinition[];
8032
8190
  }
8033
- declare class AxisDesignEditor extends Component<Props$14, SpreadsheetChildEnv> {
8191
+ declare class AxisDesignEditor extends Component<Props$1b, SpreadsheetChildEnv> {
8034
8192
  static template: string;
8035
8193
  static components: {
8036
8194
  Section: typeof Section;
@@ -8038,7 +8196,7 @@ declare class AxisDesignEditor extends Component<Props$14, SpreadsheetChildEnv>
8038
8196
  BadgeSelection: typeof BadgeSelection;
8039
8197
  };
8040
8198
  static props: {
8041
- figureId: StringConstructor;
8199
+ chartId: StringConstructor;
8042
8200
  definition: ObjectConstructor;
8043
8201
  updateChart: FunctionConstructor;
8044
8202
  axesList: ArrayConstructor;
@@ -8062,14 +8220,14 @@ interface Choice {
8062
8220
  value: unknown;
8063
8221
  label: string;
8064
8222
  }
8065
- interface Props$13 {
8223
+ interface Props$1a {
8066
8224
  choices: Choice[];
8067
8225
  onChange: (value: unknown) => void;
8068
8226
  selectedValue: string;
8069
8227
  name: string;
8070
8228
  direction: "horizontal" | "vertical";
8071
8229
  }
8072
- declare class RadioSelection extends Component<Props$13, SpreadsheetChildEnv> {
8230
+ declare class RadioSelection extends Component<Props$1a, SpreadsheetChildEnv> {
8073
8231
  static template: string;
8074
8232
  static props: {
8075
8233
  choices: ArrayConstructor;
@@ -8088,13 +8246,13 @@ declare class RadioSelection extends Component<Props$13, SpreadsheetChildEnv> {
8088
8246
  };
8089
8247
  }
8090
8248
 
8091
- interface Props$12 {
8249
+ interface Props$19 {
8092
8250
  currentColor?: string;
8093
8251
  onColorPicked: (color: string) => void;
8094
8252
  title?: string;
8095
8253
  disableNoColor?: boolean;
8096
8254
  }
8097
- declare class RoundColorPicker extends Component<Props$12, SpreadsheetChildEnv> {
8255
+ declare class RoundColorPicker extends Component<Props$19, SpreadsheetChildEnv> {
8098
8256
  static template: string;
8099
8257
  static components: {
8100
8258
  Section: typeof Section;
@@ -8127,14 +8285,14 @@ declare class RoundColorPicker extends Component<Props$12, SpreadsheetChildEnv>
8127
8285
  get buttonStyle(): string;
8128
8286
  }
8129
8287
 
8130
- interface Props$11 {
8131
- figureId: UID;
8288
+ interface Props$18 {
8289
+ chartId: UID;
8132
8290
  definition: ChartDefinition;
8133
- updateChart: (figureId: UID, definition: Partial<ChartDefinition>) => DispatchResult;
8134
- canUpdateChart: (figureId: UID, definition: Partial<ChartDefinition>) => DispatchResult;
8291
+ updateChart: (chartId: UID, definition: Partial<ChartDefinition>) => DispatchResult;
8292
+ canUpdateChart: (chartId: UID, definition: Partial<ChartDefinition>) => DispatchResult;
8135
8293
  defaultChartTitleFontSize?: number;
8136
8294
  }
8137
- declare class GeneralDesignEditor extends Component<Props$11, SpreadsheetChildEnv> {
8295
+ declare class GeneralDesignEditor extends Component<Props$18, SpreadsheetChildEnv> {
8138
8296
  static template: string;
8139
8297
  static components: {
8140
8298
  RoundColorPicker: typeof RoundColorPicker;
@@ -8144,7 +8302,7 @@ declare class GeneralDesignEditor extends Component<Props$11, SpreadsheetChildEn
8144
8302
  RadioSelection: typeof RadioSelection;
8145
8303
  };
8146
8304
  static props: {
8147
- figureId: StringConstructor;
8305
+ chartId: StringConstructor;
8148
8306
  definition: ObjectConstructor;
8149
8307
  updateChart: FunctionConstructor;
8150
8308
  canUpdateChart: FunctionConstructor;
@@ -8169,19 +8327,38 @@ declare class GeneralDesignEditor extends Component<Props$11, SpreadsheetChildEn
8169
8327
  updateChartTitleStyle(style: TitleDesign): void;
8170
8328
  }
8171
8329
 
8172
- interface Props$10 {
8173
- figureId: UID;
8330
+ interface Props$17 {
8331
+ chartId: UID;
8332
+ definition: ChartWithDataSetDefinition;
8333
+ updateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8334
+ canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8335
+ }
8336
+ declare class ChartHumanizeNumbers extends Component<Props$17, SpreadsheetChildEnv> {
8337
+ static template: string;
8338
+ static components: {
8339
+ Checkbox: typeof Checkbox;
8340
+ };
8341
+ static props: {
8342
+ chartId: StringConstructor;
8343
+ definition: ObjectConstructor;
8344
+ updateChart: FunctionConstructor;
8345
+ canUpdateChart: FunctionConstructor;
8346
+ };
8347
+ }
8348
+
8349
+ interface Props$16 {
8350
+ chartId: UID;
8174
8351
  definition: ChartWithDataSetDefinition;
8175
- updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8176
- canUpdateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8352
+ updateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8353
+ canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8177
8354
  }
8178
- declare class ChartLegend extends Component<Props$10, SpreadsheetChildEnv> {
8355
+ declare class ChartLegend extends Component<Props$16, SpreadsheetChildEnv> {
8179
8356
  static template: string;
8180
8357
  static components: {
8181
8358
  Section: typeof Section;
8182
8359
  };
8183
8360
  static props: {
8184
- figureId: StringConstructor;
8361
+ chartId: StringConstructor;
8185
8362
  definition: ObjectConstructor;
8186
8363
  updateChart: FunctionConstructor;
8187
8364
  canUpdateChart: FunctionConstructor;
@@ -8189,13 +8366,13 @@ declare class ChartLegend extends Component<Props$10, SpreadsheetChildEnv> {
8189
8366
  updateLegendPosition(ev: any): void;
8190
8367
  }
8191
8368
 
8192
- interface Props$$ {
8193
- figureId: UID;
8369
+ interface Props$15 {
8370
+ chartId: UID;
8194
8371
  definition: ChartWithDataSetDefinition;
8195
- canUpdateChart: (figureID: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8196
- updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8372
+ canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8373
+ updateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8197
8374
  }
8198
- declare class SeriesDesignEditor extends Component<Props$$, SpreadsheetChildEnv> {
8375
+ declare class SeriesDesignEditor extends Component<Props$15, SpreadsheetChildEnv> {
8199
8376
  static template: string;
8200
8377
  static components: {
8201
8378
  SidePanelCollapsible: typeof SidePanelCollapsible;
@@ -8203,7 +8380,7 @@ declare class SeriesDesignEditor extends Component<Props$$, SpreadsheetChildEnv>
8203
8380
  RoundColorPicker: typeof RoundColorPicker;
8204
8381
  };
8205
8382
  static props: {
8206
- figureId: StringConstructor;
8383
+ chartId: StringConstructor;
8207
8384
  definition: ObjectConstructor;
8208
8385
  updateChart: FunctionConstructor;
8209
8386
  canUpdateChart: FunctionConstructor;
@@ -8223,13 +8400,13 @@ declare class SeriesDesignEditor extends Component<Props$$, SpreadsheetChildEnv>
8223
8400
  getDataSeriesLabel(): string | undefined;
8224
8401
  }
8225
8402
 
8226
- interface Props$_ {
8227
- figureId: UID;
8403
+ interface Props$14 {
8404
+ chartId: UID;
8228
8405
  definition: ChartWithDataSetDefinition;
8229
- canUpdateChart: (figureID: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8230
- updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8406
+ canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8407
+ updateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8231
8408
  }
8232
- declare class SeriesWithAxisDesignEditor extends Component<Props$_, SpreadsheetChildEnv> {
8409
+ declare class SeriesWithAxisDesignEditor extends Component<Props$14, SpreadsheetChildEnv> {
8233
8410
  static template: string;
8234
8411
  static components: {
8235
8412
  SeriesDesignEditor: typeof SeriesDesignEditor;
@@ -8239,7 +8416,7 @@ declare class SeriesWithAxisDesignEditor extends Component<Props$_, SpreadsheetC
8239
8416
  RoundColorPicker: typeof RoundColorPicker;
8240
8417
  };
8241
8418
  static props: {
8242
- figureId: StringConstructor;
8419
+ chartId: StringConstructor;
8243
8420
  definition: ObjectConstructor;
8244
8421
  canUpdateChart: FunctionConstructor;
8245
8422
  updateChart: FunctionConstructor;
@@ -8270,20 +8447,20 @@ declare class SeriesWithAxisDesignEditor extends Component<Props$_, SpreadsheetC
8270
8447
  updateTrendLineValue(index: number, config: any): void;
8271
8448
  }
8272
8449
 
8273
- interface Props$Z {
8274
- figureId: UID;
8450
+ interface Props$13 {
8451
+ chartId: UID;
8275
8452
  definition: ChartWithDataSetDefinition;
8276
- updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8277
- canUpdateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8453
+ updateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8454
+ canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8278
8455
  defaultValue?: boolean;
8279
8456
  }
8280
- declare class ChartShowValues extends Component<Props$Z, SpreadsheetChildEnv> {
8457
+ declare class ChartShowValues extends Component<Props$13, SpreadsheetChildEnv> {
8281
8458
  static template: string;
8282
8459
  static components: {
8283
8460
  Checkbox: typeof Checkbox;
8284
8461
  };
8285
8462
  static props: {
8286
- figureId: StringConstructor;
8463
+ chartId: StringConstructor;
8287
8464
  definition: ObjectConstructor;
8288
8465
  updateChart: FunctionConstructor;
8289
8466
  canUpdateChart: FunctionConstructor;
@@ -8294,13 +8471,13 @@ declare class ChartShowValues extends Component<Props$Z, SpreadsheetChildEnv> {
8294
8471
  };
8295
8472
  }
8296
8473
 
8297
- interface Props$Y {
8298
- figureId: UID;
8474
+ interface Props$12 {
8475
+ chartId: UID;
8299
8476
  definition: ChartWithDataSetDefinition;
8300
- canUpdateChart: (figureID: UID, definition: GenericDefinition<ChartWithDataSetDefinition>) => DispatchResult;
8301
- updateChart: (figureId: UID, definition: GenericDefinition<ChartWithDataSetDefinition>) => DispatchResult;
8477
+ canUpdateChart: (chartId: UID, definition: GenericDefinition<ChartWithDataSetDefinition>) => DispatchResult;
8478
+ updateChart: (chartId: UID, definition: GenericDefinition<ChartWithDataSetDefinition>) => DispatchResult;
8302
8479
  }
8303
- declare class ChartWithAxisDesignPanel<P extends Props$Y = Props$Y> extends Component<P, SpreadsheetChildEnv> {
8480
+ declare class ChartWithAxisDesignPanel<P extends Props$12 = Props$12> extends Component<P, SpreadsheetChildEnv> {
8304
8481
  static template: string;
8305
8482
  static components: {
8306
8483
  GeneralDesignEditor: typeof GeneralDesignEditor;
@@ -8310,9 +8487,10 @@ declare class ChartWithAxisDesignPanel<P extends Props$Y = Props$Y> extends Comp
8310
8487
  SeriesWithAxisDesignEditor: typeof SeriesWithAxisDesignEditor;
8311
8488
  ChartLegend: typeof ChartLegend;
8312
8489
  ChartShowValues: typeof ChartShowValues;
8490
+ ChartHumanizeNumbers: typeof ChartHumanizeNumbers;
8313
8491
  };
8314
8492
  static props: {
8315
- figureId: StringConstructor;
8493
+ chartId: StringConstructor;
8316
8494
  definition: ObjectConstructor;
8317
8495
  canUpdateChart: FunctionConstructor;
8318
8496
  updateChart: FunctionConstructor;
@@ -8320,20 +8498,20 @@ declare class ChartWithAxisDesignPanel<P extends Props$Y = Props$Y> extends Comp
8320
8498
  get axesList(): AxisDefinition[];
8321
8499
  }
8322
8500
 
8323
- interface Props$X {
8324
- figureId: UID;
8501
+ interface Props$11 {
8502
+ chartId: UID;
8325
8503
  definition: GaugeChartDefinition;
8326
- canUpdateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
8327
- updateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
8504
+ canUpdateChart: (chartId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
8505
+ updateChart: (chartId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
8328
8506
  }
8329
- declare class GaugeChartConfigPanel extends Component<Props$X, SpreadsheetChildEnv> {
8507
+ declare class GaugeChartConfigPanel extends Component<Props$11, SpreadsheetChildEnv> {
8330
8508
  static template: string;
8331
8509
  static components: {
8332
8510
  ChartErrorSection: typeof ChartErrorSection;
8333
8511
  ChartDataSeries: typeof ChartDataSeries;
8334
8512
  };
8335
8513
  static props: {
8336
- figureId: StringConstructor;
8514
+ chartId: StringConstructor;
8337
8515
  definition: ObjectConstructor;
8338
8516
  updateChart: FunctionConstructor;
8339
8517
  canUpdateChart: FunctionConstructor;
@@ -8391,13 +8569,13 @@ interface EnrichedToken extends Token {
8391
8569
  isInHoverContext?: boolean;
8392
8570
  }
8393
8571
 
8394
- interface Props$W {
8572
+ interface Props$10 {
8395
8573
  proposals: AutoCompleteProposal[];
8396
8574
  selectedIndex: number | undefined;
8397
8575
  onValueSelected: (value: string) => void;
8398
8576
  onValueHovered: (index: string) => void;
8399
8577
  }
8400
- declare class TextValueProvider extends Component<Props$W> {
8578
+ declare class TextValueProvider extends Component<Props$10> {
8401
8579
  static template: string;
8402
8580
  static props: {
8403
8581
  proposals: ArrayConstructor;
@@ -8454,11 +8632,11 @@ declare class ContentEditableHelper {
8454
8632
  getText(): string;
8455
8633
  }
8456
8634
 
8457
- interface Props$V {
8635
+ interface Props$$ {
8458
8636
  functionDescription: FunctionDescription;
8459
8637
  argsToFocus: number[];
8460
8638
  }
8461
- declare class FunctionDescriptionProvider extends Component<Props$V, SpreadsheetChildEnv> {
8639
+ declare class FunctionDescriptionProvider extends Component<Props$$, SpreadsheetChildEnv> {
8462
8640
  static template: string;
8463
8641
  static props: {
8464
8642
  functionDescription: ObjectConstructor;
@@ -8469,15 +8647,15 @@ declare class FunctionDescriptionProvider extends Component<Props$V, Spreadsheet
8469
8647
  };
8470
8648
  private state;
8471
8649
  toggle(): void;
8472
- getContext(): Props$V;
8650
+ getContext(): Props$$;
8473
8651
  get formulaArgSeparator(): string;
8474
8652
  }
8475
8653
 
8476
- interface Props$U {
8654
+ interface Props$_ {
8477
8655
  anchorRect: Rect;
8478
8656
  content: string;
8479
8657
  }
8480
- declare class SpeechBubble extends Component<Props$U, SpreadsheetChildEnv> {
8658
+ declare class SpeechBubble extends Component<Props$_, SpreadsheetChildEnv> {
8481
8659
  static template: string;
8482
8660
  static props: {
8483
8661
  content: StringConstructor;
@@ -8551,6 +8729,7 @@ declare abstract class AbstractComposerStore extends SpreadsheetStore {
8551
8729
  get autoCompleteProposals(): AutoCompleteProposal[];
8552
8730
  get autoCompleteSelectedIndex(): number | undefined;
8553
8731
  get isAutoCompleteDisplayed(): boolean;
8732
+ get canBeToggled(): boolean;
8554
8733
  cycleReferences(): void;
8555
8734
  toggleEditionMode(): void;
8556
8735
  hoverToken(tokenIndex: number | undefined): void;
@@ -8857,6 +9036,7 @@ interface AutoCompleteProvider {
8857
9036
  proposals: AutoCompleteProposal[];
8858
9037
  selectProposal(text: string): void;
8859
9038
  autoSelectFirstProposal: boolean;
9039
+ canBeToggled?: boolean;
8860
9040
  }
8861
9041
  interface ComposerStoreInterface {
8862
9042
  currentEditedCell?: CellPosition;
@@ -8876,6 +9056,7 @@ interface ComposerStoreInterface {
8876
9056
  interface AutoCompleteProviderDefinition {
8877
9057
  sequence?: number;
8878
9058
  autoSelectFirstProposal?: boolean;
9059
+ canBeToggled?: boolean;
8879
9060
  displayAllOnInitialContent?: boolean;
8880
9061
  maxDisplayedProposals?: number;
8881
9062
  getProposals(this: {
@@ -8887,7 +9068,7 @@ interface AutoCompleteProviderDefinition {
8887
9068
  }, tokenAtCursor: EnrichedToken, text: string): void;
8888
9069
  }
8889
9070
 
8890
- interface Props$T {
9071
+ interface Props$Z {
8891
9072
  onConfirm: (content: string) => void;
8892
9073
  composerContent: string;
8893
9074
  defaultRangeSheetId: UID;
@@ -8899,7 +9080,7 @@ interface Props$T {
8899
9080
  invalid?: boolean;
8900
9081
  getContextualColoredSymbolToken?: (token: Token) => Color;
8901
9082
  }
8902
- declare class StandaloneComposer extends Component<Props$T, SpreadsheetChildEnv> {
9083
+ declare class StandaloneComposer extends Component<Props$Z, SpreadsheetChildEnv> {
8903
9084
  static template: string;
8904
9085
  static props: {
8905
9086
  composerContent: {
@@ -8962,13 +9143,13 @@ interface PanelState {
8962
9143
  sectionRuleCancelledReasons?: CommandResult[];
8963
9144
  sectionRule: SectionRule;
8964
9145
  }
8965
- interface Props$S {
8966
- figureId: UID;
9146
+ interface Props$Y {
9147
+ chartId: UID;
8967
9148
  definition: GaugeChartDefinition;
8968
- canUpdateChart: (figureID: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
8969
- updateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
9149
+ canUpdateChart: (chartId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
9150
+ updateChart: (chartId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
8970
9151
  }
8971
- declare class GaugeChartDesignPanel extends Component<Props$S, SpreadsheetChildEnv> {
9152
+ declare class GaugeChartDesignPanel extends Component<Props$Y, SpreadsheetChildEnv> {
8972
9153
  static template: string;
8973
9154
  static components: {
8974
9155
  SidePanelCollapsible: typeof SidePanelCollapsible;
@@ -8977,9 +9158,10 @@ declare class GaugeChartDesignPanel extends Component<Props$S, SpreadsheetChildE
8977
9158
  GeneralDesignEditor: typeof GeneralDesignEditor;
8978
9159
  ChartErrorSection: typeof ChartErrorSection;
8979
9160
  StandaloneComposer: typeof StandaloneComposer;
9161
+ ChartHumanizeNumbers: typeof ChartHumanizeNumbers;
8980
9162
  };
8981
9163
  static props: {
8982
- figureId: StringConstructor;
9164
+ chartId: StringConstructor;
8983
9165
  definition: ObjectConstructor;
8984
9166
  updateChart: FunctionConstructor;
8985
9167
  canUpdateChart: {
@@ -9017,14 +9199,14 @@ declare class LineConfigPanel extends GenericChartConfigPanel {
9017
9199
  onUpdateStacked(stacked: boolean): void;
9018
9200
  onUpdateCumulative(cumulative: boolean): void;
9019
9201
  }
9020
-
9021
- interface Props$R {
9022
- figureId: UID;
9202
+
9203
+ interface Props$X {
9204
+ chartId: UID;
9023
9205
  definition: ScorecardChartDefinition;
9024
- canUpdateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
9025
- updateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
9206
+ canUpdateChart: (chartId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
9207
+ updateChart: (chartId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
9026
9208
  }
9027
- declare class ScorecardChartConfigPanel extends Component<Props$R, SpreadsheetChildEnv> {
9209
+ declare class ScorecardChartConfigPanel extends Component<Props$X, SpreadsheetChildEnv> {
9028
9210
  static template: string;
9029
9211
  static components: {
9030
9212
  SelectionInput: typeof SelectionInput;
@@ -9032,7 +9214,7 @@ declare class ScorecardChartConfigPanel extends Component<Props$R, SpreadsheetCh
9032
9214
  Section: typeof Section;
9033
9215
  };
9034
9216
  static props: {
9035
- figureId: StringConstructor;
9217
+ chartId: StringConstructor;
9036
9218
  definition: ObjectConstructor;
9037
9219
  updateChart: FunctionConstructor;
9038
9220
  canUpdateChart: FunctionConstructor;
@@ -9053,13 +9235,13 @@ declare class ScorecardChartConfigPanel extends Component<Props$R, SpreadsheetCh
9053
9235
  }
9054
9236
 
9055
9237
  type ColorPickerId = undefined | "backgroundColor" | "baselineColorUp" | "baselineColorDown";
9056
- interface Props$Q {
9057
- figureId: UID;
9238
+ interface Props$W {
9239
+ chartId: UID;
9058
9240
  definition: ScorecardChartDefinition;
9059
- canUpdateChart: (figureID: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
9060
- updateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
9241
+ canUpdateChart: (chartId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
9242
+ updateChart: (chartId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
9061
9243
  }
9062
- declare class ScorecardChartDesignPanel extends Component<Props$Q, SpreadsheetChildEnv> {
9244
+ declare class ScorecardChartDesignPanel extends Component<Props$W, SpreadsheetChildEnv> {
9063
9245
  static template: string;
9064
9246
  static components: {
9065
9247
  GeneralDesignEditor: typeof GeneralDesignEditor;
@@ -9068,9 +9250,10 @@ declare class ScorecardChartDesignPanel extends Component<Props$Q, SpreadsheetCh
9068
9250
  Section: typeof Section;
9069
9251
  Checkbox: typeof Checkbox;
9070
9252
  ChartTitle: typeof ChartTitle;
9253
+ ChartHumanizeNumbers: typeof ChartHumanizeNumbers;
9071
9254
  };
9072
9255
  static props: {
9073
- figureId: StringConstructor;
9256
+ chartId: StringConstructor;
9074
9257
  definition: ObjectConstructor;
9075
9258
  updateChart: FunctionConstructor;
9076
9259
  canUpdateChart: {
@@ -9079,9 +9262,7 @@ declare class ScorecardChartDesignPanel extends Component<Props$Q, SpreadsheetCh
9079
9262
  };
9080
9263
  };
9081
9264
  get colorsSectionTitle(): string;
9082
- get humanizeNumbersLabel(): string;
9083
9265
  get defaultScorecardTitleFontSize(): number;
9084
- updateHumanizeNumbers(humanize: boolean): void;
9085
9266
  translate(term: any): string;
9086
9267
  setColor(color: Color, colorPickerId: ColorPickerId): void;
9087
9268
  get keyStyle(): TitleDesign;
@@ -9132,7 +9313,7 @@ interface PanelInfo {
9132
9313
  isCollapsed?: boolean;
9133
9314
  }
9134
9315
  declare class SidePanelStore extends SpreadsheetStore {
9135
- mutators: readonly ["open", "toggle", "close", "changePanelSize", "resetPanelSize", "togglePinPanel", "closeMainPanel", "changeSpreadsheetWidth", "toggleCollapsePanel"];
9316
+ mutators: readonly ["open", "replace", "toggle", "close", "changePanelSize", "resetPanelSize", "togglePinPanel", "closeMainPanel", "changeSpreadsheetWidth", "toggleCollapsePanel"];
9136
9317
  mainPanel: (PanelInfo & {
9137
9318
  isCollapsed?: boolean;
9138
9319
  isPinned?: boolean;
@@ -9154,6 +9335,7 @@ declare class SidePanelStore extends SpreadsheetStore {
9154
9335
  private getPanelProps;
9155
9336
  private getPanelKey;
9156
9337
  open(componentTag: string, initialPanelProps?: SidePanelComponentProps): void;
9338
+ replace(componentTag: string, currentPanelKey: string, initialPanelProps?: SidePanelComponentProps): void;
9157
9339
  private _openPanel;
9158
9340
  toggle(componentTag: string, panelProps: SidePanelComponentProps): void;
9159
9341
  close(): void;
@@ -9237,42 +9419,59 @@ declare class ComposerFocusStore extends SpreadsheetStore {
9237
9419
  private setComposerContent;
9238
9420
  }
9239
9421
 
9240
- interface Props$P {
9241
- figureUI: FigureUI;
9422
+ declare class ChartAnimationStore extends SpreadsheetStore {
9423
+ mutators: readonly ["disableAnimationForChart", "enableAnimationForChart"];
9424
+ animationPlayed: {};
9425
+ disableAnimationForChart(chartId: UID, chartType: ChartType): string;
9426
+ enableAnimationForChart(chartId: UID): string;
9427
+ }
9428
+
9429
+ interface Props$V {
9430
+ chartId: UID;
9242
9431
  isFullScreen?: boolean;
9243
9432
  }
9244
- declare class ChartJsComponent extends Component<Props$P, SpreadsheetChildEnv> {
9433
+ declare class ChartJsComponent extends Component<Props$V, SpreadsheetChildEnv> {
9245
9434
  static template: string;
9246
9435
  static props: {
9247
- figureUI: ObjectConstructor;
9436
+ chartId: StringConstructor;
9248
9437
  isFullScreen: {
9249
9438
  type: BooleanConstructor;
9250
9439
  optional: boolean;
9251
9440
  };
9252
9441
  };
9253
- private canvas;
9254
- private chart?;
9255
- private currentRuntime;
9256
- private animationStore;
9442
+ protected canvas: {
9443
+ el: HTMLElement | null;
9444
+ };
9445
+ protected chart?: Chart;
9446
+ protected currentRuntime: ChartJSRuntime;
9447
+ protected animationStore: Store<ChartAnimationStore> | undefined;
9257
9448
  private currentDevicePixelRatio;
9258
9449
  get background(): string;
9259
9450
  get canvasStyle(): string;
9260
9451
  get chartRuntime(): ChartJSRuntime;
9261
9452
  setup(): void;
9262
- private createChart;
9263
- private updateChartJs;
9453
+ protected unmount(): void;
9454
+ protected get shouldAnimate(): boolean;
9455
+ protected createChart(chartRuntime: ChartJSRuntime): void;
9456
+ protected updateChartJs(chartRuntime: ChartJSRuntime): void;
9264
9457
  private hasChartDataChanged;
9265
- private enableAnimationInChartData;
9266
- get animationFigureId(): string;
9458
+ protected enableAnimationInChartData(chartData: ChartConfiguration$1<any>): {
9459
+ options: any;
9460
+ type: any;
9461
+ data: chart_js_auto.ChartData<any, any[], unknown>;
9462
+ plugins?: chart_js_auto.Plugin<any, chart_js_dist_types_basic.AnyObject>[] | undefined;
9463
+ platform?: typeof chart_js_auto.BasePlatform;
9464
+ };
9465
+ get animationChartId(): string;
9267
9466
  }
9268
9467
 
9269
- interface Props$O {
9270
- figureUI: FigureUI;
9468
+ interface Props$U {
9469
+ chartId: UID;
9271
9470
  }
9272
- declare class ScorecardChart$1 extends Component<Props$O, SpreadsheetChildEnv> {
9471
+ declare class ScorecardChart$1 extends Component<Props$U, SpreadsheetChildEnv> {
9273
9472
  static template: string;
9274
9473
  static props: {
9275
- figureUI: ObjectConstructor;
9474
+ chartId: StringConstructor;
9276
9475
  };
9277
9476
  private canvas;
9278
9477
  get runtime(): ScorecardChartRuntime;
@@ -9345,7 +9544,7 @@ declare class Menu extends Component<MenuProps, SpreadsheetChildEnv> {
9345
9544
  onClickMenu(menu: Action, ev: CustomEvent): void;
9346
9545
  }
9347
9546
 
9348
- interface Props$N {
9547
+ interface Props$T {
9349
9548
  anchorRect: Rect;
9350
9549
  popoverPositioning: PopoverPropsPosition;
9351
9550
  menuItems: Action[];
@@ -9365,7 +9564,7 @@ interface MenuState {
9365
9564
  menuItems: Action[];
9366
9565
  isHoveringChild?: boolean;
9367
9566
  }
9368
- declare class MenuPopover extends Component<Props$N, SpreadsheetChildEnv> {
9567
+ declare class MenuPopover extends Component<Props$T, SpreadsheetChildEnv> {
9369
9568
  static template: string;
9370
9569
  static props: {
9371
9570
  anchorRect: ObjectConstructor;
@@ -9445,14 +9644,15 @@ declare class MenuPopover extends Component<Props$N, SpreadsheetChildEnv> {
9445
9644
  }
9446
9645
 
9447
9646
  type ResizeAnchor = "top left" | "top" | "top right" | "right" | "bottom right" | "bottom" | "bottom left" | "left";
9448
- interface Props$M {
9647
+ interface Props$S {
9449
9648
  figureUI: FigureUI;
9450
9649
  style: string;
9650
+ class: string;
9451
9651
  onFigureDeleted: () => void;
9452
9652
  onMouseDown: (ev: MouseEvent) => void;
9453
9653
  onClickAnchor(dirX: ResizeDirection, dirY: ResizeDirection, ev: MouseEvent): void;
9454
9654
  }
9455
- declare class FigureComponent extends Component<Props$M, SpreadsheetChildEnv> {
9655
+ declare class FigureComponent extends Component<Props$S, SpreadsheetChildEnv> {
9456
9656
  static template: string;
9457
9657
  static props: {
9458
9658
  figureUI: ObjectConstructor;
@@ -9460,6 +9660,10 @@ declare class FigureComponent extends Component<Props$M, SpreadsheetChildEnv> {
9460
9660
  type: StringConstructor;
9461
9661
  optional: boolean;
9462
9662
  };
9663
+ class: {
9664
+ type: StringConstructor;
9665
+ optional: boolean;
9666
+ };
9463
9667
  onFigureDeleted: {
9464
9668
  type: FunctionConstructor;
9465
9669
  optional: boolean;
@@ -9483,12 +9687,13 @@ declare class FigureComponent extends Component<Props$M, SpreadsheetChildEnv> {
9483
9687
  };
9484
9688
  private menuState;
9485
9689
  private figureRef;
9690
+ private figureWrapperRef;
9486
9691
  private menuButtonRef;
9487
9692
  private borderWidth;
9488
9693
  get isSelected(): boolean;
9489
9694
  get figureRegistry(): Registry<FigureContent>;
9490
9695
  private getBorderWidth;
9491
- get borderStyle(): string;
9696
+ getBorderStyle(position: "top" | "right" | "bottom" | "left"): string;
9492
9697
  get wrapperStyle(): string;
9493
9698
  getResizerPosition(resizer: ResizeAnchor): string;
9494
9699
  setup(): void;
@@ -9500,10 +9705,11 @@ declare class FigureComponent extends Component<Props$M, SpreadsheetChildEnv> {
9500
9705
  onContextMenu(ev: MouseEvent): void;
9501
9706
  showMenu(): void;
9502
9707
  private openContextMenu;
9708
+ editWrapperStyle(properties: CSSProperties): void;
9503
9709
  }
9504
9710
 
9505
- interface Props$L {
9506
- figureUI: FigureUI;
9711
+ interface Props$R {
9712
+ chartId: UID;
9507
9713
  }
9508
9714
  interface MenuItem {
9509
9715
  id: string;
@@ -9512,43 +9718,45 @@ interface MenuItem {
9512
9718
  onClick: () => void;
9513
9719
  isSelected?: boolean;
9514
9720
  }
9515
- declare class ChartDashboardMenu extends Component<Props$L, SpreadsheetChildEnv> {
9721
+ declare class ChartDashboardMenu extends Component<Props$R, SpreadsheetChildEnv> {
9516
9722
  static template: string;
9517
9723
  static components: {
9518
9724
  MenuPopover: typeof MenuPopover;
9519
9725
  };
9520
9726
  static props: {
9521
- figureUI: ObjectConstructor;
9727
+ chartId: StringConstructor;
9522
9728
  };
9523
- private originalChartDefinition;
9524
9729
  private fullScreenFigureStore;
9730
+ private store;
9525
9731
  private menuState;
9526
9732
  setup(): void;
9527
9733
  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
9734
  get backgroundColor(): string;
9533
9735
  openContextMenu(ev: MouseEvent): void;
9534
9736
  get fullScreenMenuItem(): MenuItem | undefined;
9535
9737
  }
9536
9738
 
9537
- interface Props$K {
9739
+ interface Props$Q {
9538
9740
  figureUI: FigureUI;
9539
9741
  onFigureDeleted: () => void;
9742
+ editFigureStyle?: (properties: CSSProperties) => void;
9540
9743
  }
9541
- declare class ChartFigure extends Component<Props$K, SpreadsheetChildEnv> {
9744
+ declare class ChartFigure extends Component<Props$Q, SpreadsheetChildEnv> {
9542
9745
  static template: string;
9543
9746
  static props: {
9544
9747
  figureUI: ObjectConstructor;
9545
9748
  onFigureDeleted: FunctionConstructor;
9749
+ editFigureStyle: {
9750
+ type: FunctionConstructor;
9751
+ optional: boolean;
9752
+ };
9546
9753
  };
9547
9754
  static components: {
9548
9755
  ChartDashboardMenu: typeof ChartDashboardMenu;
9549
9756
  };
9550
9757
  onDoubleClick(): void;
9551
9758
  get chartType(): ChartType;
9759
+ get chartId(): UID;
9552
9760
  get chartComponent(): new (...args: any) => Component;
9553
9761
  }
9554
9762
 
@@ -9563,7 +9771,7 @@ declare class DelayedHoveredCellStore extends SpreadsheetStore {
9563
9771
 
9564
9772
  type DnDDirection = "all" | "vertical" | "horizontal";
9565
9773
 
9566
- interface Props$J {
9774
+ interface Props$P {
9567
9775
  isVisible: boolean;
9568
9776
  position: Position;
9569
9777
  }
@@ -9575,7 +9783,7 @@ interface State$4 {
9575
9783
  position: Position;
9576
9784
  handler: boolean;
9577
9785
  }
9578
- declare class Autofill extends Component<Props$J, SpreadsheetChildEnv> {
9786
+ declare class Autofill extends Component<Props$P, SpreadsheetChildEnv> {
9579
9787
  static template: string;
9580
9788
  static props: {
9581
9789
  position: ObjectConstructor;
@@ -9615,7 +9823,7 @@ declare class ClientTag extends Component<ClientTagProps, SpreadsheetChildEnv> {
9615
9823
  get tagStyle(): string;
9616
9824
  }
9617
9825
 
9618
- interface Props$I {
9826
+ interface Props$O {
9619
9827
  gridDims: DOMDimension;
9620
9828
  onInputContextMenu: (event: MouseEvent) => void;
9621
9829
  }
@@ -9623,7 +9831,7 @@ interface Props$I {
9623
9831
  * This component is a composer which positions itself on the grid at the anchor cell.
9624
9832
  * It also applies the style of the cell to the composer input.
9625
9833
  */
9626
- declare class GridComposer extends Component<Props$I, SpreadsheetChildEnv> {
9834
+ declare class GridComposer extends Component<Props$O, SpreadsheetChildEnv> {
9627
9835
  static template: string;
9628
9836
  static props: {
9629
9837
  gridDims: ObjectConstructor;
@@ -9667,7 +9875,7 @@ interface SnapLine<T extends HFigureAxisType | VFigureAxisType> {
9667
9875
  }
9668
9876
 
9669
9877
  type ContainerType = "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "dnd";
9670
- interface Props$H {
9878
+ interface Props$N {
9671
9879
  onFigureDeleted: () => void;
9672
9880
  }
9673
9881
  interface Container {
@@ -9686,6 +9894,7 @@ interface DndState {
9686
9894
  horizontalSnap?: Snap<HFigureAxisType>;
9687
9895
  verticalSnap?: Snap<VFigureAxisType>;
9688
9896
  cancelDnd: (() => void) | undefined;
9897
+ overlappingCarousel?: FigureUI;
9689
9898
  }
9690
9899
  /**
9691
9900
  * Each figure ⭐ is positioned inside a container `div` placed and sized
@@ -9747,7 +9956,7 @@ interface DndState {
9747
9956
  * that occurred during the drag & drop, and to position the figure on the correct pane.
9748
9957
  *
9749
9958
  */
9750
- declare class FiguresContainer extends Component<Props$H, SpreadsheetChildEnv> {
9959
+ declare class FiguresContainer extends Component<Props$N, SpreadsheetChildEnv> {
9751
9960
  static template: string;
9752
9961
  static props: {
9753
9962
  onFigureDeleted: FunctionConstructor;
@@ -9779,14 +9988,16 @@ declare class FiguresContainer extends Component<Props$H, SpreadsheetChildEnv> {
9779
9988
  private getOtherFigures;
9780
9989
  private getDndFigure;
9781
9990
  getFigureStyle(figureUI: FigureUI): string;
9991
+ getFigureClass(figureUI: FigureUI): string;
9782
9992
  private getSnap;
9783
9993
  private getSnapLineStyle;
9994
+ private getCarouselOverlappingChart;
9784
9995
  }
9785
9996
 
9786
- interface Props$G {
9997
+ interface Props$M {
9787
9998
  focusGrid: () => void;
9788
9999
  }
9789
- declare class GridAddRowsFooter extends Component<Props$G, SpreadsheetChildEnv> {
10000
+ declare class GridAddRowsFooter extends Component<Props$M, SpreadsheetChildEnv> {
9790
10001
  static template: string;
9791
10002
  static props: {
9792
10003
  focusGrid: FunctionConstructor;
@@ -9810,7 +10021,7 @@ declare class GridAddRowsFooter extends Component<Props$G, SpreadsheetChildEnv>
9810
10021
  private onExternalClick;
9811
10022
  }
9812
10023
 
9813
- interface Props$F {
10024
+ interface Props$L {
9814
10025
  onCellDoubleClicked: (col: HeaderIndex, row: HeaderIndex) => void;
9815
10026
  onCellClicked: (col: HeaderIndex, row: HeaderIndex, modifiers: GridClickModifiers, ev: PointerEvent | MouseEvent) => void;
9816
10027
  onCellRightClicked: (col: HeaderIndex, row: HeaderIndex, coordinates: DOMCoordinates) => void;
@@ -9823,7 +10034,7 @@ interface Props$F {
9823
10034
  height: number;
9824
10035
  };
9825
10036
  }
9826
- declare class GridOverlay extends Component<Props$F, SpreadsheetChildEnv> {
10037
+ declare class GridOverlay extends Component<Props$L, SpreadsheetChildEnv> {
9827
10038
  static template: string;
9828
10039
  static props: {
9829
10040
  onCellDoubleClicked: {
@@ -9883,12 +10094,12 @@ declare class GridOverlay extends Component<Props$F, SpreadsheetChildEnv> {
9883
10094
  private getInteractiveIconAtEvent;
9884
10095
  }
9885
10096
 
9886
- interface Props$E {
10097
+ interface Props$K {
9887
10098
  gridRect: Rect;
9888
10099
  onClosePopover: () => void;
9889
10100
  onMouseWheel: (ev: WheelEvent) => void;
9890
10101
  }
9891
- declare class GridPopover extends Component<Props$E, SpreadsheetChildEnv> {
10102
+ declare class GridPopover extends Component<Props$K, SpreadsheetChildEnv> {
9892
10103
  static template: string;
9893
10104
  static props: {
9894
10105
  onClosePopover: FunctionConstructor;
@@ -9904,7 +10115,7 @@ declare class GridPopover extends Component<Props$E, SpreadsheetChildEnv> {
9904
10115
  get cellPopover(): PositionedCellPopoverComponent | ClosedCellPopover;
9905
10116
  }
9906
10117
 
9907
- interface Props$D {
10118
+ interface Props$J {
9908
10119
  headersGroups: ConsecutiveIndexes[];
9909
10120
  offset: number;
9910
10121
  headerRange: {
@@ -9912,7 +10123,7 @@ interface Props$D {
9912
10123
  end: HeaderIndex;
9913
10124
  };
9914
10125
  }
9915
- declare class UnhideRowHeaders extends Component<Props$D, SpreadsheetChildEnv> {
10126
+ declare class UnhideRowHeaders extends Component<Props$J, SpreadsheetChildEnv> {
9916
10127
  static template: string;
9917
10128
  static props: {
9918
10129
  headersGroups: ArrayConstructor;
@@ -9931,7 +10142,7 @@ declare class UnhideRowHeaders extends Component<Props$D, SpreadsheetChildEnv> {
9931
10142
  unhide(hiddenElements: HeaderIndex[]): void;
9932
10143
  isVisible(header: HeaderIndex): boolean;
9933
10144
  }
9934
- declare class UnhideColumnHeaders extends Component<Props$D, SpreadsheetChildEnv> {
10145
+ declare class UnhideColumnHeaders extends Component<Props$J, SpreadsheetChildEnv> {
9935
10146
  static template: string;
9936
10147
  static props: {
9937
10148
  headersGroups: ArrayConstructor;
@@ -10124,13 +10335,13 @@ declare class HeadersOverlay extends Component<any, SpreadsheetChildEnv> {
10124
10335
  }
10125
10336
 
10126
10337
  type Orientation$1 = "n" | "s" | "w" | "e";
10127
- interface Props$C {
10338
+ interface Props$I {
10128
10339
  zone: Zone;
10129
10340
  orientation: Orientation$1;
10130
10341
  isMoving: boolean;
10131
10342
  onMoveHighlight: (ev: PointerEvent) => void;
10132
10343
  }
10133
- declare class Border extends Component<Props$C, SpreadsheetChildEnv> {
10344
+ declare class Border extends Component<Props$I, SpreadsheetChildEnv> {
10134
10345
  static template: string;
10135
10346
  static props: {
10136
10347
  zone: ObjectConstructor;
@@ -10143,14 +10354,14 @@ declare class Border extends Component<Props$C, SpreadsheetChildEnv> {
10143
10354
  }
10144
10355
 
10145
10356
  type Orientation = "nw" | "ne" | "sw" | "se" | "n" | "s" | "e" | "w";
10146
- interface Props$B {
10357
+ interface Props$H {
10147
10358
  zone: Zone;
10148
10359
  color: Color;
10149
10360
  orientation: Orientation;
10150
10361
  isResizing: boolean;
10151
10362
  onResizeHighlight: (ev: PointerEvent, dirX: ResizeDirection, dirY: ResizeDirection) => void;
10152
10363
  }
10153
- declare class Corner extends Component<Props$B, SpreadsheetChildEnv> {
10364
+ declare class Corner extends Component<Props$H, SpreadsheetChildEnv> {
10154
10365
  static template: string;
10155
10366
  static props: {
10156
10367
  zone: ObjectConstructor;
@@ -10199,7 +10410,7 @@ declare class Highlight extends Component<HighlightProps, SpreadsheetChildEnv> {
10199
10410
 
10200
10411
  type ScrollDirection = "horizontal" | "vertical";
10201
10412
 
10202
- interface Props$A {
10413
+ interface Props$G {
10203
10414
  width: Pixel;
10204
10415
  height: Pixel;
10205
10416
  direction: ScrollDirection;
@@ -10207,7 +10418,7 @@ interface Props$A {
10207
10418
  offset: Pixel;
10208
10419
  onScroll: (offset: Pixel) => void;
10209
10420
  }
10210
- declare class ScrollBar extends Component<Props$A> {
10421
+ declare class ScrollBar extends Component<Props$G> {
10211
10422
  static props: {
10212
10423
  width: {
10213
10424
  type: NumberConstructor;
@@ -10235,10 +10446,10 @@ declare class ScrollBar extends Component<Props$A> {
10235
10446
  onScroll(ev: any): void;
10236
10447
  }
10237
10448
 
10238
- interface Props$z {
10449
+ interface Props$F {
10239
10450
  leftOffset: number;
10240
10451
  }
10241
- declare class HorizontalScrollBar extends Component<Props$z, SpreadsheetChildEnv> {
10452
+ declare class HorizontalScrollBar extends Component<Props$F, SpreadsheetChildEnv> {
10242
10453
  static props: {
10243
10454
  leftOffset: {
10244
10455
  type: NumberConstructor;
@@ -10264,10 +10475,10 @@ declare class HorizontalScrollBar extends Component<Props$z, SpreadsheetChildEnv
10264
10475
  onScroll(offset: any): void;
10265
10476
  }
10266
10477
 
10267
- interface Props$y {
10478
+ interface Props$E {
10268
10479
  topOffset: number;
10269
10480
  }
10270
- declare class VerticalScrollBar extends Component<Props$y, SpreadsheetChildEnv> {
10481
+ declare class VerticalScrollBar extends Component<Props$E, SpreadsheetChildEnv> {
10271
10482
  static props: {
10272
10483
  topOffset: {
10273
10484
  type: NumberConstructor;
@@ -10302,13 +10513,13 @@ declare class Selection extends Component<{}, SpreadsheetChildEnv> {
10302
10513
  get highlightProps(): HighlightProps;
10303
10514
  }
10304
10515
 
10305
- interface Props$x {
10516
+ interface Props$D {
10306
10517
  table: Table;
10307
10518
  }
10308
10519
  interface State$3 {
10309
10520
  highlightZone: Zone | undefined;
10310
10521
  }
10311
- declare class TableResizer extends Component<Props$x, SpreadsheetChildEnv> {
10522
+ declare class TableResizer extends Component<Props$D, SpreadsheetChildEnv> {
10312
10523
  static template: string;
10313
10524
  static props: {
10314
10525
  table: ObjectConstructor;
@@ -10337,11 +10548,11 @@ declare class TableResizer extends Component<Props$x, SpreadsheetChildEnv> {
10337
10548
  * - a vertical resizer (same, for rows)
10338
10549
  */
10339
10550
  type ContextMenuType = "ROW" | "COL" | "CELL" | "FILTER" | "GROUP_HEADERS" | "UNGROUP_HEADERS";
10340
- interface Props$w {
10551
+ interface Props$C {
10341
10552
  exposeFocus: (focus: () => void) => void;
10342
10553
  getGridSize: () => DOMDimension;
10343
10554
  }
10344
- declare class Grid extends Component<Props$w, SpreadsheetChildEnv> {
10555
+ declare class Grid extends Component<Props$C, SpreadsheetChildEnv> {
10345
10556
  static template: string;
10346
10557
  static props: {
10347
10558
  exposeFocus: FunctionConstructor;
@@ -10453,26 +10664,26 @@ declare class MainChartPanelStore extends SpreadsheetStore {
10453
10664
  panel: "configuration" | "design";
10454
10665
  private creationContexts;
10455
10666
  activatePanel(panel: "configuration" | "design"): void;
10456
- changeChartType(figureId: UID, newDisplayType: string): void;
10667
+ changeChartType(chartId: UID, newDisplayType: string): void;
10457
10668
  private getChartDefinitionFromContextCreation;
10458
10669
  }
10459
10670
 
10460
- interface Props$v {
10461
- figureId: UID;
10671
+ interface Props$B {
10672
+ chartId: UID;
10462
10673
  chartPanelStore: MainChartPanelStore;
10463
10674
  }
10464
10675
  interface ChartTypePickerState {
10465
10676
  popoverProps: PopoverProps | undefined;
10466
10677
  popoverStyle: string;
10467
10678
  }
10468
- declare class ChartTypePicker extends Component<Props$v, SpreadsheetChildEnv> {
10679
+ declare class ChartTypePicker extends Component<Props$B, SpreadsheetChildEnv> {
10469
10680
  static template: string;
10470
10681
  static components: {
10471
10682
  Section: typeof Section;
10472
10683
  Popover: typeof Popover;
10473
10684
  };
10474
10685
  static props: {
10475
- figureId: StringConstructor;
10686
+ chartId: StringConstructor;
10476
10687
  chartPanelStore: ObjectConstructor;
10477
10688
  };
10478
10689
  categories: {
@@ -10501,11 +10712,11 @@ declare class ChartTypePicker extends Component<Props$v, SpreadsheetChildEnv> {
10501
10712
  private closePopover;
10502
10713
  }
10503
10714
 
10504
- interface Props$u {
10715
+ interface Props$A {
10505
10716
  onCloseSidePanel: () => void;
10506
- figureId: UID;
10717
+ chartId: UID;
10507
10718
  }
10508
- declare class ChartPanel extends Component<Props$u, SpreadsheetChildEnv> {
10719
+ declare class ChartPanel extends Component<Props$A, SpreadsheetChildEnv> {
10509
10720
  static template: string;
10510
10721
  static components: {
10511
10722
  Section: typeof Section;
@@ -10513,23 +10724,26 @@ declare class ChartPanel extends Component<Props$u, SpreadsheetChildEnv> {
10513
10724
  };
10514
10725
  static props: {
10515
10726
  onCloseSidePanel: FunctionConstructor;
10516
- figureId: StringConstructor;
10727
+ chartId: StringConstructor;
10517
10728
  };
10729
+ private panelContentRef;
10730
+ private scrollPositions;
10518
10731
  store: Store<MainChartPanelStore>;
10519
- get figureId(): UID;
10732
+ get chartId(): UID;
10520
10733
  setup(): void;
10521
- updateChart<T extends ChartDefinition>(figureId: UID, updateDefinition: Partial<T>): DispatchResult | undefined;
10522
- canUpdateChart<T extends ChartDefinition>(figureId: UID, updateDefinition: Partial<T>): DispatchResult | undefined;
10734
+ switchPanel(panel: "configuration" | "design"): void;
10735
+ updateChart<T extends ChartDefinition>(chartId: UID, updateDefinition: Partial<T>): DispatchResult | undefined;
10736
+ canUpdateChart<T extends ChartDefinition>(chartId: UID, updateDefinition: Partial<T>): DispatchResult | undefined;
10523
10737
  onTypeChange(type: ChartType): void;
10524
10738
  get chartPanel(): ChartSidePanel;
10525
10739
  private getChartDefinition;
10526
10740
  }
10527
10741
 
10528
- interface Props$t {
10742
+ interface Props$z {
10529
10743
  onValueChange: (value: number) => void;
10530
10744
  value: number;
10531
10745
  }
10532
- declare class PieHoleSize extends Component<Props$t, SpreadsheetChildEnv> {
10746
+ declare class PieHoleSize extends Component<Props$z, SpreadsheetChildEnv> {
10533
10747
  static template: string;
10534
10748
  static components: {
10535
10749
  Section: typeof Section;
@@ -10542,13 +10756,13 @@ declare class PieHoleSize extends Component<Props$t, SpreadsheetChildEnv> {
10542
10756
  onChange(value: string): void;
10543
10757
  }
10544
10758
 
10545
- interface Props$s {
10546
- figureId: UID;
10759
+ interface Props$y {
10760
+ chartId: UID;
10547
10761
  definition: PieChartDefinition;
10548
- canUpdateChart: (figureID: UID, definition: GenericDefinition<PieChartDefinition>) => DispatchResult;
10549
- updateChart: (figureId: UID, definition: GenericDefinition<PieChartDefinition>) => DispatchResult;
10762
+ canUpdateChart: (chartId: UID, definition: GenericDefinition<PieChartDefinition>) => DispatchResult;
10763
+ updateChart: (chartId: UID, definition: GenericDefinition<PieChartDefinition>) => DispatchResult;
10550
10764
  }
10551
- declare class PieChartDesignPanel extends Component<Props$s, SpreadsheetChildEnv> {
10765
+ declare class PieChartDesignPanel extends Component<Props$y, SpreadsheetChildEnv> {
10552
10766
  static template: string;
10553
10767
  static components: {
10554
10768
  GeneralDesignEditor: typeof GeneralDesignEditor;
@@ -10556,9 +10770,11 @@ declare class PieChartDesignPanel extends Component<Props$s, SpreadsheetChildEnv
10556
10770
  ChartLegend: typeof ChartLegend;
10557
10771
  ChartShowValues: typeof ChartShowValues;
10558
10772
  PieHoleSize: typeof PieHoleSize;
10773
+ Checkbox: typeof Checkbox;
10774
+ ChartHumanizeNumbers: typeof ChartHumanizeNumbers;
10559
10775
  };
10560
10776
  static props: {
10561
- figureId: StringConstructor;
10777
+ chartId: StringConstructor;
10562
10778
  definition: ObjectConstructor;
10563
10779
  updateChart: FunctionConstructor;
10564
10780
  canUpdateChart: {
@@ -10567,12 +10783,13 @@ declare class PieChartDesignPanel extends Component<Props$s, SpreadsheetChildEnv
10567
10783
  };
10568
10784
  };
10569
10785
  onPieHoleSizeChange(pieHolePercentage: number): void;
10786
+ get defaultHoleSize(): number;
10570
10787
  }
10571
10788
 
10572
- interface Props$r {
10789
+ interface Props$x {
10573
10790
  items: ActionSpec[];
10574
10791
  }
10575
- declare class CogWheelMenu extends Component<Props$r, SpreadsheetChildEnv> {
10792
+ declare class CogWheelMenu extends Component<Props$x, SpreadsheetChildEnv> {
10576
10793
  static template: string;
10577
10794
  static components: {
10578
10795
  MenuPopover: typeof MenuPopover;
@@ -10655,14 +10872,14 @@ declare class FindAndReplaceStore extends SpreadsheetStore implements HighlightP
10655
10872
  get highlights(): Highlight$1[];
10656
10873
  }
10657
10874
 
10658
- interface Props$q {
10875
+ interface Props$w {
10659
10876
  deferUpdate: boolean;
10660
10877
  isDirty: boolean;
10661
10878
  toggleDeferUpdate: (value: boolean) => void;
10662
10879
  discard: () => void;
10663
10880
  apply: () => void;
10664
10881
  }
10665
- declare class PivotDeferUpdate extends Component<Props$q, SpreadsheetChildEnv> {
10882
+ declare class PivotDeferUpdate extends Component<Props$w, SpreadsheetChildEnv> {
10666
10883
  static template: string;
10667
10884
  static props: {
10668
10885
  deferUpdate: BooleanConstructor;
@@ -10679,11 +10896,11 @@ declare class PivotDeferUpdate extends Component<Props$q, SpreadsheetChildEnv> {
10679
10896
  get deferUpdatesTooltip(): string;
10680
10897
  }
10681
10898
 
10682
- interface Props$p {
10899
+ interface Props$v {
10683
10900
  onFieldPicked: (field: string) => void;
10684
10901
  fields: PivotField[];
10685
10902
  }
10686
- declare class AddDimensionButton extends Component<Props$p, SpreadsheetChildEnv> {
10903
+ declare class AddDimensionButton extends Component<Props$v, SpreadsheetChildEnv> {
10687
10904
  static template: string;
10688
10905
  static components: {
10689
10906
  Popover: typeof Popover;
@@ -10719,15 +10936,16 @@ declare class AddDimensionButton extends Component<Props$p, SpreadsheetChildEnv>
10719
10936
  onKeyDown(ev: KeyboardEvent): void;
10720
10937
  }
10721
10938
 
10722
- interface Props$o {
10939
+ interface Props$u {
10723
10940
  value: string;
10724
10941
  onChange: (value: string) => void;
10725
10942
  class?: string;
10726
10943
  id?: string;
10727
10944
  placeholder?: string;
10728
10945
  autofocus?: boolean;
10946
+ alwaysShowBorder?: boolean;
10729
10947
  }
10730
- declare class TextInput extends Component<Props$o, SpreadsheetChildEnv> {
10948
+ declare class TextInput extends Component<Props$u, SpreadsheetChildEnv> {
10731
10949
  static template: string;
10732
10950
  static props: {
10733
10951
  value: StringConstructor;
@@ -10748,6 +10966,10 @@ declare class TextInput extends Component<Props$o, SpreadsheetChildEnv> {
10748
10966
  type: BooleanConstructor;
10749
10967
  optional: boolean;
10750
10968
  };
10969
+ alwaysShowBorder: {
10970
+ type: BooleanConstructor;
10971
+ optional: boolean;
10972
+ };
10751
10973
  };
10752
10974
  private inputRef;
10753
10975
  setup(): void;
@@ -10755,15 +10977,16 @@ declare class TextInput extends Component<Props$o, SpreadsheetChildEnv> {
10755
10977
  save(): void;
10756
10978
  onMouseDown(ev: MouseEvent): void;
10757
10979
  onMouseUp(ev: MouseEvent): void;
10980
+ get inputClass(): string;
10758
10981
  }
10759
10982
 
10760
- interface Props$n {
10983
+ interface Props$t {
10761
10984
  dimension: PivotCoreDimension | PivotCoreMeasure;
10762
10985
  onRemoved: (dimension: PivotCoreDimension | PivotCoreMeasure) => void;
10763
10986
  onNameUpdated?: (dimension: PivotCoreDimension | PivotCoreMeasure, name?: string) => void;
10764
10987
  type: "row" | "col" | "measure";
10765
10988
  }
10766
- declare class PivotDimension extends Component<Props$n, SpreadsheetChildEnv> {
10989
+ declare class PivotDimension extends Component<Props$t, SpreadsheetChildEnv> {
10767
10990
  static template: string;
10768
10991
  static props: {
10769
10992
  dimension: ObjectConstructor;
@@ -10787,13 +11010,13 @@ declare class PivotDimension extends Component<Props$n, SpreadsheetChildEnv> {
10787
11010
  updateName(name: string): void;
10788
11011
  }
10789
11012
 
10790
- interface Props$m {
11013
+ interface Props$s {
10791
11014
  dimension: PivotDimension$1;
10792
11015
  onUpdated: (dimension: PivotDimension$1, ev: InputEvent) => void;
10793
11016
  availableGranularities: Set<string>;
10794
11017
  allGranularities: string[];
10795
11018
  }
10796
- declare class PivotDimensionGranularity extends Component<Props$m, SpreadsheetChildEnv> {
11019
+ declare class PivotDimensionGranularity extends Component<Props$s, SpreadsheetChildEnv> {
10797
11020
  static template: string;
10798
11021
  static props: {
10799
11022
  dimension: ObjectConstructor;
@@ -10818,11 +11041,11 @@ declare class PivotDimensionGranularity extends Component<Props$m, SpreadsheetCh
10818
11041
  };
10819
11042
  }
10820
11043
 
10821
- interface Props$l {
11044
+ interface Props$r {
10822
11045
  dimension: PivotDimension$1;
10823
11046
  onUpdated: (dimension: PivotDimension$1, ev: InputEvent) => void;
10824
11047
  }
10825
- declare class PivotDimensionOrder extends Component<Props$l, SpreadsheetChildEnv> {
11048
+ declare class PivotDimensionOrder extends Component<Props$r, SpreadsheetChildEnv> {
10826
11049
  static template: string;
10827
11050
  static props: {
10828
11051
  dimension: ObjectConstructor;
@@ -10855,10 +11078,36 @@ declare function createPivotFormula(formulaId: string, cell: PivotTableCell): st
10855
11078
  * e.g. given the following formula PIVOT.VALUE("1", "stage_id", "42", "status", "won"),
10856
11079
  * the two group values are "42" and "won".
10857
11080
  */
10858
- declare function toNormalizedPivotValue(dimension: Pick<PivotDimension$1, "type" | "displayName" | "granularity">, groupValue: any): CellValue;
11081
+ declare function toNormalizedPivotValue(dimension: Pick<PivotDimension$1, "type" | "displayName" | "granularity">, groupValue: Maybe<CellValue | FunctionResultObject>): CellValue;
10859
11082
  declare function toFunctionPivotValue(value: CellValue, dimension: Pick<PivotDimension$1, "type" | "granularity">): string;
11083
+ declare function createCustomFields(definition: PivotCoreDefinition, fields: PivotFields): PivotFields;
10860
11084
 
10861
- interface Props$k {
11085
+ interface Props$q {
11086
+ pivotId: UID;
11087
+ customField: PivotCustomGroupedField;
11088
+ onCustomFieldUpdated: (definition: Partial<PivotCoreDefinition>) => void;
11089
+ }
11090
+ declare class PivotCustomGroupsCollapsible extends Component<Props$q, SpreadsheetChildEnv> {
11091
+ static template: string;
11092
+ static props: {
11093
+ pivotId: StringConstructor;
11094
+ customField: ObjectConstructor;
11095
+ onCustomFieldUpdated: FunctionConstructor;
11096
+ };
11097
+ static components: {
11098
+ SidePanelCollapsible: typeof SidePanelCollapsible;
11099
+ TextInput: typeof TextInput;
11100
+ Checkbox: typeof Checkbox;
11101
+ };
11102
+ get groups(): PivotCustomGroup[];
11103
+ get hasOthersGroup(): boolean;
11104
+ addOthersGroup(): void;
11105
+ onDeleteGroup(groupIndex: number): void;
11106
+ onRenameGroup(groupIndex: number, newName: string): void;
11107
+ private updateCustomField;
11108
+ }
11109
+
11110
+ interface Props$p {
10862
11111
  pivotId: string;
10863
11112
  definition: PivotRuntimeDefinition;
10864
11113
  measure: PivotMeasure;
@@ -10866,7 +11115,7 @@ interface Props$k {
10866
11115
  onRemoved: () => void;
10867
11116
  generateMeasureId: (fieldName: string, aggregator?: string) => string;
10868
11117
  }
10869
- declare class PivotMeasureEditor extends Component<Props$k> {
11118
+ declare class PivotMeasureEditor extends Component<Props$p> {
10870
11119
  static template: string;
10871
11120
  static components: {
10872
11121
  PivotDimension: typeof PivotDimension;
@@ -10891,11 +11140,11 @@ declare class PivotMeasureEditor extends Component<Props$k> {
10891
11140
  get isCalculatedMeasureInvalid(): boolean;
10892
11141
  }
10893
11142
 
10894
- interface Props$j {
11143
+ interface Props$o {
10895
11144
  definition: PivotRuntimeDefinition;
10896
11145
  pivotId: UID;
10897
11146
  }
10898
- declare class PivotSortSection extends Component<Props$j, SpreadsheetChildEnv> {
11147
+ declare class PivotSortSection extends Component<Props$o, SpreadsheetChildEnv> {
10899
11148
  static template: string;
10900
11149
  static components: {
10901
11150
  Section: typeof Section;
@@ -10912,7 +11161,7 @@ declare class PivotSortSection extends Component<Props$j, SpreadsheetChildEnv> {
10912
11161
  }[];
10913
11162
  }
10914
11163
 
10915
- interface Props$i {
11164
+ interface Props$n {
10916
11165
  definition: PivotRuntimeDefinition;
10917
11166
  onDimensionsUpdated: (definition: Partial<PivotCoreDefinition>) => void;
10918
11167
  unusedGroupableFields: PivotField[];
@@ -10923,7 +11172,7 @@ interface Props$i {
10923
11172
  getScrollableContainerEl?: () => HTMLElement;
10924
11173
  pivotId: UID;
10925
11174
  }
10926
- declare class PivotLayoutConfigurator extends Component<Props$i, SpreadsheetChildEnv> {
11175
+ declare class PivotLayoutConfigurator extends Component<Props$n, SpreadsheetChildEnv> {
10927
11176
  static template: string;
10928
11177
  static components: {
10929
11178
  AddDimensionButton: typeof AddDimensionButton;
@@ -10932,6 +11181,7 @@ declare class PivotLayoutConfigurator extends Component<Props$i, SpreadsheetChil
10932
11181
  PivotDimensionGranularity: typeof PivotDimensionGranularity;
10933
11182
  PivotMeasureEditor: typeof PivotMeasureEditor;
10934
11183
  PivotSortSection: typeof PivotSortSection;
11184
+ PivotCustomGroupsCollapsible: typeof PivotCustomGroupsCollapsible;
10935
11185
  };
10936
11186
  static props: {
10937
11187
  definition: ObjectConstructor;
@@ -10971,9 +11221,11 @@ declare class PivotLayoutConfigurator extends Component<Props$i, SpreadsheetChil
10971
11221
  private getMeasureId;
10972
11222
  private getDefaultMeasureAggregator;
10973
11223
  addCalculatedMeasure(): void;
11224
+ getCustomField(dimension: PivotDimension$1): PivotCustomGroupedField | undefined;
10974
11225
  updateOrder(updateDimension: PivotDimension$1, order?: SortDirection): void;
10975
11226
  updateGranularity(dimension: PivotDimension$1, granularity: Granularity): void;
10976
11227
  getMeasureDescription(measure: PivotMeasure): string;
11228
+ getHugeDimensionErrorMessage(dimension: PivotDimension$1): string | undefined;
10977
11229
  }
10978
11230
 
10979
11231
  declare class PivotSidePanelStore extends SpreadsheetStore {
@@ -10983,6 +11235,7 @@ declare class PivotSidePanelStore extends SpreadsheetStore {
10983
11235
  private draft;
10984
11236
  private notification;
10985
11237
  private alreadyNotified;
11238
+ private alreadyNotifiedForPivotSize;
10986
11239
  constructor(get: Get, pivotId: UID);
10987
11240
  handle(cmd: Command): void;
10988
11241
  get fields(): PivotFields;
@@ -11014,11 +11267,11 @@ declare class PivotSidePanelStore extends SpreadsheetStore {
11014
11267
  private areDomainFieldsValid;
11015
11268
  }
11016
11269
 
11017
- interface Props$h {
11270
+ interface Props$m {
11018
11271
  pivotId: UID;
11019
11272
  flipAxis: () => void;
11020
11273
  }
11021
- declare class PivotTitleSection extends Component<Props$h, SpreadsheetChildEnv> {
11274
+ declare class PivotTitleSection extends Component<Props$m, SpreadsheetChildEnv> {
11022
11275
  static template: string;
11023
11276
  static components: {
11024
11277
  CogWheelMenu: typeof CogWheelMenu;
@@ -11115,6 +11368,59 @@ declare function getFirstPivotFunction(tokens: Token[]): {
11115
11368
  */
11116
11369
  declare function getNumberOfPivotFunctions(tokens: Token[]): number;
11117
11370
 
11371
+ declare class ZoomableChartJsComponent extends ChartJsComponent {
11372
+ static template: string;
11373
+ private store;
11374
+ private fullScreenChartStore;
11375
+ private masterChartCanvas;
11376
+ private masterChart?;
11377
+ private mode?;
11378
+ private hasLinearScale?;
11379
+ private isBarChart?;
11380
+ private chartId;
11381
+ private datasetBoundaries;
11382
+ private removeEventListeners;
11383
+ setup(): void;
11384
+ protected unmount(): void;
11385
+ get containerStyle(): string;
11386
+ get sliceable(): boolean;
11387
+ get axisOffset(): number;
11388
+ private getMasterChartConfiguration;
11389
+ private getDetailChartConfiguration;
11390
+ private getAxisLimitsFromDataset;
11391
+ protected get shouldAnimate(): boolean;
11392
+ protected createChart(chartRuntime: ChartJSRuntime): void;
11393
+ protected updateChartJs(chartRuntime: ChartJSRuntime): void;
11394
+ private resetAxesLimits;
11395
+ private updateTrendingLineAxes;
11396
+ get upperBound(): number | undefined;
11397
+ get lowerBound(): number | undefined;
11398
+ private computePosition;
11399
+ private computeCoordinate;
11400
+ private updateAxisLimits;
11401
+ onPointerDownInMasterChart(ev: PointerEvent): void;
11402
+ onPointerMoveInMasterChart(ev: PointerEvent): void;
11403
+ onMouseLeaveMasterChart(ev: PointerEvent): void;
11404
+ onDoubleClickInMasterChart(ev: PointerEvent): void;
11405
+ }
11406
+
11407
+ declare class ChartDashboardMenuStore extends SpreadsheetStore {
11408
+ private chartId;
11409
+ mutators: readonly ["reset"];
11410
+ private originalChartDefinition;
11411
+ constructor(get: Get, chartId: UID);
11412
+ get changeChartTypeMenuItems(): {
11413
+ id: "line" | "bar" | "scatter" | "pie" | "radar" | "funnel" | "treemap" | "geo" | "combo" | "waterfall" | "pyramid" | "sunburst" | "scorecard" | "gauge";
11414
+ label: string;
11415
+ onClick: () => void;
11416
+ isSelected: boolean;
11417
+ iconClass: string;
11418
+ }[];
11419
+ reset(chartId: UID): void;
11420
+ private updateType;
11421
+ private getIconClasses;
11422
+ }
11423
+
11118
11424
  declare class FullScreenChart extends Component<{}, SpreadsheetChildEnv> {
11119
11425
  static template: string;
11120
11426
  static props: {};
@@ -11127,6 +11433,7 @@ declare class FullScreenChart extends Component<{}, SpreadsheetChildEnv> {
11127
11433
  figureRegistry: Registry<FigureContent>;
11128
11434
  setup(): void;
11129
11435
  get figureUI(): FigureUI | undefined;
11436
+ get chartId(): UID | undefined;
11130
11437
  exitFullScreen(): void;
11131
11438
  onKeyDown(ev: KeyboardEvent): void;
11132
11439
  get chartComponent(): (new (...args: any) => Component) | undefined;
@@ -11150,7 +11457,7 @@ interface PivotDialogValue {
11150
11457
  value: string;
11151
11458
  isMissing: boolean;
11152
11459
  }
11153
- interface Props$g {
11460
+ interface Props$l {
11154
11461
  pivotId: UID;
11155
11462
  onCellClicked: (formula: string) => void;
11156
11463
  }
@@ -11159,7 +11466,7 @@ interface TableData {
11159
11466
  rows: PivotDialogRow[];
11160
11467
  values: PivotDialogValue[][];
11161
11468
  }
11162
- declare class PivotHTMLRenderer extends Component<Props$g, SpreadsheetChildEnv> {
11469
+ declare class PivotHTMLRenderer extends Component<Props$l, SpreadsheetChildEnv> {
11163
11470
  static template: string;
11164
11471
  static components: {
11165
11472
  Checkbox: typeof Checkbox;
@@ -11216,36 +11523,59 @@ declare class PivotHTMLRenderer extends Component<Props$g, SpreadsheetChildEnv>
11216
11523
  _buildValues(id: UID, table: SpreadsheetPivotTable): PivotDialogValue[][];
11217
11524
  }
11218
11525
 
11219
- interface Props$f {
11220
- figureId: UID;
11526
+ interface Props$k {
11527
+ chartId: UID;
11221
11528
  definition: ChartWithDataSetDefinition;
11222
- updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
11223
- canUpdateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
11529
+ updateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
11530
+ canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
11224
11531
  }
11225
- declare class ChartShowDataMarkers extends Component<Props$f, SpreadsheetChildEnv> {
11532
+ declare class ChartShowDataMarkers extends Component<Props$k, SpreadsheetChildEnv> {
11226
11533
  static template: string;
11227
11534
  static components: {
11228
11535
  Checkbox: typeof Checkbox;
11229
11536
  };
11230
11537
  static props: {
11231
- figureId: StringConstructor;
11538
+ chartId: StringConstructor;
11232
11539
  definition: ObjectConstructor;
11233
11540
  updateChart: FunctionConstructor;
11234
11541
  canUpdateChart: FunctionConstructor;
11235
11542
  };
11236
11543
  }
11237
11544
 
11238
- interface Props$e {
11239
- figureId: UID;
11545
+ interface Props$j {
11546
+ chartId: UID;
11547
+ definition: ZoomableChartDefinition;
11548
+ canUpdateChart: (chartId: UID, definition: GenericDefinition<ZoomableChartDefinition>) => DispatchResult;
11549
+ updateChart: (chartId: UID, definition: GenericDefinition<ZoomableChartDefinition>) => DispatchResult;
11550
+ }
11551
+ declare class GenericZoomableChartDesignPanel<P extends Props$j = Props$j> extends ChartWithAxisDesignPanel<Props$j> {
11552
+ static template: string;
11553
+ static components: {
11554
+ Checkbox: typeof Checkbox;
11555
+ GeneralDesignEditor: typeof GeneralDesignEditor;
11556
+ SidePanelCollapsible: typeof SidePanelCollapsible;
11557
+ Section: typeof Section;
11558
+ AxisDesignEditor: typeof AxisDesignEditor;
11559
+ SeriesWithAxisDesignEditor: typeof SeriesWithAxisDesignEditor;
11560
+ ChartLegend: typeof ChartLegend;
11561
+ ChartShowValues: typeof ChartShowValues;
11562
+ ChartHumanizeNumbers: typeof ChartHumanizeNumbers;
11563
+ };
11564
+ onToggleZoom(zoomable: boolean): void;
11565
+ }
11566
+
11567
+ interface Props$i {
11568
+ chartId: UID;
11240
11569
  definition: ComboChartDefinition;
11241
- canUpdateChart: (figureID: UID, definition: GenericDefinition<ComboChartDefinition>) => DispatchResult;
11242
- updateChart: (figureId: UID, definition: GenericDefinition<ComboChartDefinition>) => DispatchResult;
11570
+ canUpdateChart: (chartId: UID, definition: GenericDefinition<ComboChartDefinition>) => DispatchResult;
11571
+ updateChart: (chartId: UID, definition: GenericDefinition<ComboChartDefinition>) => DispatchResult;
11243
11572
  }
11244
- declare class ComboChartDesignPanel extends ChartWithAxisDesignPanel<Props$e> {
11573
+ declare class ComboChartDesignPanel extends GenericZoomableChartDesignPanel<Props$i> {
11245
11574
  static template: string;
11246
11575
  static components: {
11247
11576
  ChartShowDataMarkers: typeof ChartShowDataMarkers;
11248
11577
  RadioSelection: typeof RadioSelection;
11578
+ Checkbox: typeof Checkbox;
11249
11579
  GeneralDesignEditor: typeof GeneralDesignEditor;
11250
11580
  SidePanelCollapsible: typeof SidePanelCollapsible;
11251
11581
  Section: typeof Section;
@@ -11253,6 +11583,7 @@ declare class ComboChartDesignPanel extends ChartWithAxisDesignPanel<Props$e> {
11253
11583
  SeriesWithAxisDesignEditor: typeof SeriesWithAxisDesignEditor;
11254
11584
  ChartLegend: typeof ChartLegend;
11255
11585
  ChartShowValues: typeof ChartShowValues;
11586
+ ChartHumanizeNumbers: typeof ChartHumanizeNumbers;
11256
11587
  };
11257
11588
  seriesTypeChoices: {
11258
11589
  value: string;
@@ -11262,13 +11593,13 @@ declare class ComboChartDesignPanel extends ChartWithAxisDesignPanel<Props$e> {
11262
11593
  getDataSeriesType(index: number): "line" | "bar";
11263
11594
  }
11264
11595
 
11265
- interface Props$d {
11266
- figureId: UID;
11596
+ interface Props$h {
11597
+ chartId: UID;
11267
11598
  definition: FunnelChartDefinition;
11268
- canUpdateChart: (figureID: UID, definition: Partial<FunnelChartDefinition>) => DispatchResult;
11269
- updateChart: (figureId: UID, definition: Partial<FunnelChartDefinition>) => DispatchResult;
11599
+ canUpdateChart: (chartId: UID, definition: Partial<FunnelChartDefinition>) => DispatchResult;
11600
+ updateChart: (chartId: UID, definition: Partial<FunnelChartDefinition>) => DispatchResult;
11270
11601
  }
11271
- declare class FunnelChartDesignPanel extends Component<Props$d, SpreadsheetChildEnv> {
11602
+ declare class FunnelChartDesignPanel extends Component<Props$h, SpreadsheetChildEnv> {
11272
11603
  static template: string;
11273
11604
  static components: {
11274
11605
  ChartShowValues: typeof ChartShowValues;
@@ -11276,9 +11607,10 @@ declare class FunnelChartDesignPanel extends Component<Props$d, SpreadsheetChild
11276
11607
  SidePanelCollapsible: typeof SidePanelCollapsible;
11277
11608
  RoundColorPicker: typeof RoundColorPicker;
11278
11609
  Section: typeof Section;
11610
+ ChartHumanizeNumbers: typeof ChartHumanizeNumbers;
11279
11611
  };
11280
11612
  static props: {
11281
- figureId: StringConstructor;
11613
+ chartId: StringConstructor;
11282
11614
  definition: ObjectConstructor;
11283
11615
  updateChart: FunctionConstructor;
11284
11616
  canUpdateChart: FunctionConstructor;
@@ -11290,13 +11622,13 @@ declare class FunnelChartDesignPanel extends Component<Props$d, SpreadsheetChild
11290
11622
  updateFunnelItemColor(index: number, color: string): void;
11291
11623
  }
11292
11624
 
11293
- interface Props$c {
11294
- figureId: UID;
11625
+ interface Props$g {
11626
+ chartId: UID;
11295
11627
  definition: GeoChartDefinition;
11296
- canUpdateChart: (figureID: UID, definition: Partial<GeoChartDefinition>) => DispatchResult;
11297
- updateChart: (figureId: UID, definition: Partial<GeoChartDefinition>) => DispatchResult;
11628
+ canUpdateChart: (chartId: UID, definition: Partial<GeoChartDefinition>) => DispatchResult;
11629
+ updateChart: (chartId: UID, definition: Partial<GeoChartDefinition>) => DispatchResult;
11298
11630
  }
11299
- declare class GeoChartDesignPanel extends ChartWithAxisDesignPanel<Props$c> {
11631
+ declare class GeoChartDesignPanel extends ChartWithAxisDesignPanel<Props$g> {
11300
11632
  static template: string;
11301
11633
  static components: {
11302
11634
  RoundColorPicker: typeof RoundColorPicker;
@@ -11307,6 +11639,7 @@ declare class GeoChartDesignPanel extends ChartWithAxisDesignPanel<Props$c> {
11307
11639
  SeriesWithAxisDesignEditor: typeof SeriesWithAxisDesignEditor;
11308
11640
  ChartLegend: typeof ChartLegend;
11309
11641
  ChartShowValues: typeof ChartShowValues;
11642
+ ChartHumanizeNumbers: typeof ChartHumanizeNumbers;
11310
11643
  };
11311
11644
  colorScalesChoices: Record<"blues" | "cividis" | "greens" | "greys" | "oranges" | "purples" | "rainbow" | "reds" | "viridis", string>;
11312
11645
  updateColorScaleType(ev: Event): void;
@@ -11320,18 +11653,18 @@ declare class GeoChartDesignPanel extends ChartWithAxisDesignPanel<Props$c> {
11320
11653
  setCustomColorScaleColor(colorType: "minColor" | "midColor" | "maxColor", color: Color): void;
11321
11654
  }
11322
11655
 
11323
- interface Props$b {
11324
- figureId: UID;
11656
+ interface Props$f {
11657
+ chartId: UID;
11325
11658
  definition: GeoChartDefinition;
11326
- updateChart: (figureId: UID, definition: Partial<GeoChartDefinition>) => DispatchResult;
11659
+ updateChart: (chartId: UID, definition: Partial<GeoChartDefinition>) => DispatchResult;
11327
11660
  }
11328
- declare class GeoChartRegionSelectSection extends Component<Props$b, SpreadsheetChildEnv> {
11661
+ declare class GeoChartRegionSelectSection extends Component<Props$f, SpreadsheetChildEnv> {
11329
11662
  static template: string;
11330
11663
  static components: {
11331
11664
  Section: typeof Section;
11332
11665
  };
11333
11666
  static props: {
11334
- figureId: StringConstructor;
11667
+ chartId: StringConstructor;
11335
11668
  definition: ObjectConstructor;
11336
11669
  updateChart: FunctionConstructor;
11337
11670
  };
@@ -11340,16 +11673,17 @@ declare class GeoChartRegionSelectSection extends Component<Props$b, Spreadsheet
11340
11673
  get selectedRegion(): string;
11341
11674
  }
11342
11675
 
11343
- interface Props$a {
11344
- figureId: UID;
11345
- definition: ComboChartDefinition;
11346
- canUpdateChart: (figureID: UID, definition: GenericDefinition<ComboChartDefinition>) => DispatchResult;
11347
- updateChart: (figureId: UID, definition: GenericDefinition<ComboChartDefinition>) => DispatchResult;
11676
+ interface Props$e {
11677
+ chartId: UID;
11678
+ definition: LineChartDefinition;
11679
+ canUpdateChart: (chartId: UID, definition: LineChartDefinition) => DispatchResult;
11680
+ updateChart: (chartId: UID, definition: LineChartDefinition) => DispatchResult;
11348
11681
  }
11349
- declare class LineChartDesignPanel extends ChartWithAxisDesignPanel<Props$a> {
11682
+ declare class LineChartDesignPanel extends GenericZoomableChartDesignPanel<Props$e> {
11350
11683
  static template: string;
11351
11684
  static components: {
11352
11685
  ChartShowDataMarkers: typeof ChartShowDataMarkers;
11686
+ Checkbox: typeof Checkbox;
11353
11687
  GeneralDesignEditor: typeof GeneralDesignEditor;
11354
11688
  SidePanelCollapsible: typeof SidePanelCollapsible;
11355
11689
  Section: typeof Section;
@@ -11357,16 +11691,17 @@ declare class LineChartDesignPanel extends ChartWithAxisDesignPanel<Props$a> {
11357
11691
  SeriesWithAxisDesignEditor: typeof SeriesWithAxisDesignEditor;
11358
11692
  ChartLegend: typeof ChartLegend;
11359
11693
  ChartShowValues: typeof ChartShowValues;
11694
+ ChartHumanizeNumbers: typeof ChartHumanizeNumbers;
11360
11695
  };
11361
11696
  }
11362
11697
 
11363
- interface Props$9 {
11364
- figureId: UID;
11698
+ interface Props$d {
11699
+ chartId: UID;
11365
11700
  definition: RadarChartDefinition;
11366
- canUpdateChart: (figureID: UID, definition: GenericDefinition<RadarChartDefinition>) => DispatchResult;
11367
- updateChart: (figureId: UID, definition: GenericDefinition<RadarChartDefinition>) => DispatchResult;
11701
+ canUpdateChart: (chartId: UID, definition: GenericDefinition<RadarChartDefinition>) => DispatchResult;
11702
+ updateChart: (chartId: UID, definition: GenericDefinition<RadarChartDefinition>) => DispatchResult;
11368
11703
  }
11369
- declare class RadarChartDesignPanel extends Component<Props$9, SpreadsheetChildEnv> {
11704
+ declare class RadarChartDesignPanel extends Component<Props$d, SpreadsheetChildEnv> {
11370
11705
  static template: string;
11371
11706
  static components: {
11372
11707
  GeneralDesignEditor: typeof GeneralDesignEditor;
@@ -11375,20 +11710,157 @@ declare class RadarChartDesignPanel extends Component<Props$9, SpreadsheetChildE
11375
11710
  ChartLegend: typeof ChartLegend;
11376
11711
  ChartShowValues: typeof ChartShowValues;
11377
11712
  ChartShowDataMarkers: typeof ChartShowDataMarkers;
11713
+ Checkbox: typeof Checkbox;
11714
+ ChartHumanizeNumbers: typeof ChartHumanizeNumbers;
11378
11715
  };
11379
11716
  static props: {
11380
- figureId: StringConstructor;
11717
+ chartId: StringConstructor;
11381
11718
  definition: ObjectConstructor;
11382
11719
  canUpdateChart: FunctionConstructor;
11383
11720
  updateChart: FunctionConstructor;
11384
11721
  };
11385
11722
  }
11386
11723
 
11724
+ interface Props$c {
11725
+ chartId: UID;
11726
+ definition: SunburstChartDefinition;
11727
+ canUpdateChart: (chartId: UID, definition: Partial<SunburstChartDefinition>) => DispatchResult;
11728
+ updateChart: (chartId: UID, definition: Partial<SunburstChartDefinition>) => DispatchResult;
11729
+ }
11730
+ declare class SunburstChartDesignPanel extends Component<Props$c, SpreadsheetChildEnv> {
11731
+ static template: string;
11732
+ static components: {
11733
+ GeneralDesignEditor: typeof GeneralDesignEditor;
11734
+ Section: typeof Section;
11735
+ SidePanelCollapsible: typeof SidePanelCollapsible;
11736
+ ChartShowValues: typeof ChartShowValues;
11737
+ Checkbox: typeof Checkbox;
11738
+ TextStyler: typeof TextStyler;
11739
+ RoundColorPicker: typeof RoundColorPicker;
11740
+ ChartLegend: typeof ChartLegend;
11741
+ PieHoleSize: typeof PieHoleSize;
11742
+ };
11743
+ static props: {
11744
+ chartId: StringConstructor;
11745
+ definition: ObjectConstructor;
11746
+ updateChart: FunctionConstructor;
11747
+ canUpdateChart: {
11748
+ type: FunctionConstructor;
11749
+ optional: boolean;
11750
+ };
11751
+ };
11752
+ defaults: {
11753
+ showValues: boolean;
11754
+ showLabels: boolean;
11755
+ valuesDesign: ChartStyle;
11756
+ };
11757
+ get showValues(): boolean;
11758
+ get showLabels(): boolean;
11759
+ get groupColors(): {
11760
+ label: string;
11761
+ color: Color;
11762
+ }[];
11763
+ onGroupColorChanged(index: number, color: string): void;
11764
+ onPieHoleSizeChange(pieHolePercentage: number): void;
11765
+ }
11766
+
11767
+ interface Props$b {
11768
+ chartId: UID;
11769
+ definition: TreeMapChartDefinition;
11770
+ onColorChanged: (colors: TreeMapCategoryColorOptions) => DispatchResult;
11771
+ }
11772
+ declare class TreeMapCategoryColors extends Component<Props$b, SpreadsheetChildEnv> {
11773
+ static template: string;
11774
+ static components: {
11775
+ Checkbox: typeof Checkbox;
11776
+ RoundColorPicker: typeof RoundColorPicker;
11777
+ };
11778
+ static props: {
11779
+ chartId: StringConstructor;
11780
+ definition: ObjectConstructor;
11781
+ onColorChanged: FunctionConstructor;
11782
+ };
11783
+ get coloringOptions(): TreeMapCategoryColorOptions;
11784
+ getTreeGroupAndColors(): chart_js_dist_types_utils._DeepPartialArray<TreeMapGroupColor>;
11785
+ onGroupColorChanged(index: number, color: string): void;
11786
+ useValueBasedGradient(useValueBasedGradient: boolean): void;
11787
+ }
11788
+
11789
+ interface Props$a {
11790
+ chartId: UID;
11791
+ definition: TreeMapChartDefinition;
11792
+ onColorChanged: (colors: TreeMapColorScaleOptions) => DispatchResult;
11793
+ }
11794
+ declare class TreeMapColorScale extends Component<Props$a, SpreadsheetChildEnv> {
11795
+ static template: string;
11796
+ static components: {
11797
+ RoundColorPicker: typeof RoundColorPicker;
11798
+ };
11799
+ static props: {
11800
+ chartId: StringConstructor;
11801
+ definition: ObjectConstructor;
11802
+ onColorChanged: FunctionConstructor;
11803
+ };
11804
+ get coloringOptions(): TreeMapColorScaleOptions;
11805
+ setColorScaleColor(point: "minColor" | "midColor" | "maxColor", color: string): void;
11806
+ }
11807
+
11808
+ interface Props$9 {
11809
+ chartId: UID;
11810
+ definition: TreeMapChartDefinition;
11811
+ canUpdateChart: (chartId: UID, definition: Partial<TreeMapChartDefinition>) => DispatchResult;
11812
+ updateChart: (chartId: UID, definition: Partial<TreeMapChartDefinition>) => DispatchResult;
11813
+ }
11814
+ declare class TreeMapChartDesignPanel extends Component<Props$9, SpreadsheetChildEnv> {
11815
+ static template: string;
11816
+ static components: {
11817
+ GeneralDesignEditor: typeof GeneralDesignEditor;
11818
+ Section: typeof Section;
11819
+ SidePanelCollapsible: typeof SidePanelCollapsible;
11820
+ ChartShowValues: typeof ChartShowValues;
11821
+ Checkbox: typeof Checkbox;
11822
+ TextStyler: typeof TextStyler;
11823
+ RoundColorPicker: typeof RoundColorPicker;
11824
+ BadgeSelection: typeof BadgeSelection;
11825
+ TreeMapCategoryColors: typeof TreeMapCategoryColors;
11826
+ TreeMapColorScale: typeof TreeMapColorScale;
11827
+ };
11828
+ static props: {
11829
+ chartId: StringConstructor;
11830
+ definition: ObjectConstructor;
11831
+ updateChart: FunctionConstructor;
11832
+ canUpdateChart: {
11833
+ type: FunctionConstructor;
11834
+ optional: boolean;
11835
+ };
11836
+ };
11837
+ private savedColors;
11838
+ defaults: {
11839
+ showHeaders: boolean;
11840
+ headerDesign: TitleDesign;
11841
+ showValues: boolean;
11842
+ showLabels: boolean;
11843
+ valuesDesign: TitleDesign;
11844
+ coloringOptions: TreeMapCategoryColorOptions;
11845
+ };
11846
+ get showHeaders(): boolean;
11847
+ get showValues(): boolean;
11848
+ get showLabels(): boolean;
11849
+ get coloringOptions(): TreeMapColoringOptions;
11850
+ changeColoringOption(option: "categoryColor" | "colorScale"): void;
11851
+ onCategoryColorChange(coloringOptions: TreeMapCategoryColorOptions): void;
11852
+ onColorScaleChange(coloringOptions: TreeMapColorScaleOptions): void;
11853
+ get coloringOptionChoices(): {
11854
+ label: string;
11855
+ value: string;
11856
+ }[];
11857
+ }
11858
+
11387
11859
  interface Props$8 {
11388
- figureId: UID;
11860
+ chartId: UID;
11389
11861
  definition: WaterfallChartDefinition;
11390
- canUpdateChart: (figureID: UID, definition: GenericDefinition<WaterfallChartDefinition>) => DispatchResult;
11391
- updateChart: (figureId: UID, definition: GenericDefinition<WaterfallChartDefinition>) => DispatchResult;
11862
+ canUpdateChart: (chartId: UID, definition: GenericDefinition<WaterfallChartDefinition>) => DispatchResult;
11863
+ updateChart: (chartId: UID, definition: GenericDefinition<WaterfallChartDefinition>) => DispatchResult;
11392
11864
  }
11393
11865
  declare class WaterfallChartDesignPanel extends Component<Props$8, SpreadsheetChildEnv> {
11394
11866
  static template: string;
@@ -11402,9 +11874,10 @@ declare class WaterfallChartDesignPanel extends Component<Props$8, SpreadsheetCh
11402
11874
  AxisDesignEditor: typeof AxisDesignEditor;
11403
11875
  RadioSelection: typeof RadioSelection;
11404
11876
  ChartLegend: typeof ChartLegend;
11877
+ ChartHumanizeNumbers: typeof ChartHumanizeNumbers;
11405
11878
  };
11406
11879
  static props: {
11407
- figureId: StringConstructor;
11880
+ chartId: StringConstructor;
11408
11881
  definition: ObjectConstructor;
11409
11882
  updateChart: FunctionConstructor;
11410
11883
  canUpdateChart: {
@@ -11425,6 +11898,7 @@ declare class WaterfallChartDesignPanel extends Component<Props$8, SpreadsheetCh
11425
11898
  get negativeValuesColor(): Color | "#EA6175";
11426
11899
  get subTotalValuesColor(): Color | "#AAAAAA";
11427
11900
  updateVerticalAxisPosition(value: "left" | "right"): void;
11901
+ onToggleZoom(zoomable: boolean): void;
11428
11902
  }
11429
11903
 
11430
11904
  declare class PivotMeasureDisplayPanelStore extends SpreadsheetStore {
@@ -11448,6 +11922,9 @@ declare class PivotMeasureDisplayPanelStore extends SpreadsheetStore {
11448
11922
  fieldName: string;
11449
11923
  order?: SortDirection;
11450
11924
  granularity?: Granularity | string;
11925
+ isCustomField?: boolean;
11926
+ parentField?: string;
11927
+ customGroups?: PivotCustomGroup[];
11451
11928
  }[];
11452
11929
  get doesDisplayNeedsValue(): boolean;
11453
11930
  private isDisplayValueDependant;
@@ -11496,6 +11973,7 @@ declare class BarChart extends AbstractChart {
11496
11973
  readonly axesDesign?: AxesDesign;
11497
11974
  readonly horizontal?: boolean;
11498
11975
  readonly showValues?: boolean;
11976
+ readonly zoomable?: boolean;
11499
11977
  constructor(definition: BarChartDefinition, sheetId: UID, getters: CoreGetters);
11500
11978
  static transformDefinition(chartSheetId: UID, definition: BarChartDefinition, applyChange: RangeAdapter$1): BarChartDefinition;
11501
11979
  static validateChartDefinition(validator: Validator, definition: BarChartDefinition): CommandResult | CommandResult[];
@@ -11543,6 +12021,7 @@ declare class LineChart extends AbstractChart {
11543
12021
  readonly fillArea?: boolean;
11544
12022
  readonly showValues?: boolean;
11545
12023
  readonly hideDataMarkers?: boolean;
12024
+ readonly zoomable?: boolean;
11546
12025
  constructor(definition: LineChartDefinition, sheetId: UID, getters: CoreGetters);
11547
12026
  static validateChartDefinition(validator: Validator, definition: LineChartDefinition): CommandResult | CommandResult[];
11548
12027
  static transformDefinition(chartSheetId: UID, definition: LineChartDefinition, applyChange: RangeAdapter$1): LineChartDefinition;
@@ -11591,7 +12070,7 @@ declare class ScorecardChart extends AbstractChart {
11591
12070
  readonly baselineColorUp: Color;
11592
12071
  readonly baselineColorDown: Color;
11593
12072
  readonly fontColor?: Color;
11594
- readonly humanize?: boolean;
12073
+ readonly humanize: boolean;
11595
12074
  readonly type = "scorecard";
11596
12075
  constructor(definition: ScorecardChartDefinition, sheetId: UID, getters: CoreGetters);
11597
12076
  static validateChartDefinition(validator: Validator, definition: ScorecardChartDefinition): CommandResult | CommandResult[];
@@ -11624,6 +12103,7 @@ declare class WaterfallChart extends AbstractChart {
11624
12103
  readonly dataSetDesign: CustomizedDataSet[];
11625
12104
  readonly axesDesign?: AxesDesign;
11626
12105
  readonly showValues?: boolean;
12106
+ readonly zoomable?: boolean;
11627
12107
  constructor(definition: WaterfallChartDefinition, sheetId: UID, getters: CoreGetters);
11628
12108
  static transformDefinition(chartSheetId: UID, definition: WaterfallChartDefinition, applyChange: RangeAdapter$1): WaterfallChartDefinition;
11629
12109
  static validateChartDefinition(validator: Validator, definition: WaterfallChartDefinition): CommandResult | CommandResult[];
@@ -11668,6 +12148,39 @@ declare class ClientFocusStore extends SpreadsheetStore {
11668
12148
  unfocusClient(clientId: ClientId): void;
11669
12149
  }
11670
12150
 
12151
+ declare class GridRenderer extends SpreadsheetStore {
12152
+ private fingerprints;
12153
+ private hoveredTables;
12154
+ private hoveredIcon;
12155
+ private lastRenderBoxes;
12156
+ private preventNewAnimationsInNextFrame;
12157
+ private zonesWithPreventedAnimationsInNextFrame;
12158
+ private animations;
12159
+ constructor(get: Get);
12160
+ handle(cmd: Command): void;
12161
+ get renderingLayers(): readonly ["Background", "Headers"];
12162
+ drawLayer(renderingContext: GridRenderingContext, layer: LayerName, timeStamp: number | undefined): void;
12163
+ private drawGlobalBackground;
12164
+ private drawBackground;
12165
+ private drawCellBackground;
12166
+ private drawOverflowingCellBackground;
12167
+ private drawBorders;
12168
+ private drawTexts;
12169
+ private drawIcon;
12170
+ private drawHeaders;
12171
+ private drawFrozenPanesHeaders;
12172
+ private drawFrozenPanes;
12173
+ private findNextEmptyCol;
12174
+ private findPreviousEmptyCol;
12175
+ private computeCellAlignment;
12176
+ private createZoneBox;
12177
+ private getGridBoxes;
12178
+ private getBoxesWithAnimations;
12179
+ private updateBoxesWithAnimations;
12180
+ private updateAnimationsProgress;
12181
+ private addNewAnimations;
12182
+ }
12183
+
11671
12184
  declare class LocalTransportService implements TransportService<CollaborationMessage> {
11672
12185
  private listeners;
11673
12186
  sendMessage(message: CollaborationMessage): Promise<void>;
@@ -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): (id: UID, definition: ChartDefinition, sheetId: UID) => AbstractChart;
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 };