@odoo/o-spreadsheet 18.5.0-alpha.0 → 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;
@@ -6571,6 +6729,7 @@ type RenderingBorder = {
6571
6729
  };
6572
6730
  type RenderingGridIcon = GridIcon & {
6573
6731
  clipRect?: Rect;
6732
+ opacity?: number;
6574
6733
  };
6575
6734
  interface RenderingBox {
6576
6735
  id: string;
@@ -6749,11 +6908,11 @@ interface PivotRegistryItem {
6749
6908
  ui: PivotUIConstructor;
6750
6909
  definition: PivotDefinitionConstructor;
6751
6910
  externalData: boolean;
6752
- onIterationEndEvaluation: (pivot: Pivot) => void;
6753
6911
  dateGranularities: string[];
6754
6912
  datetimeGranularities: string[];
6755
6913
  isMeasureCandidate: (field: PivotField) => boolean;
6756
6914
  isGroupable: (field: PivotField) => boolean;
6915
+ canHaveCustomGroup: (field: PivotField) => boolean;
6757
6916
  }
6758
6917
 
6759
6918
  declare class ClipboardHandler<T> {
@@ -7001,7 +7160,7 @@ interface ChartSubtypeProperties {
7001
7160
  preview: string;
7002
7161
  }
7003
7162
 
7004
- interface Props$1j {
7163
+ interface Props$1q {
7005
7164
  label?: string;
7006
7165
  value: boolean;
7007
7166
  className?: string;
@@ -7010,7 +7169,7 @@ interface Props$1j {
7010
7169
  disabled?: boolean;
7011
7170
  onChange: (value: boolean) => void;
7012
7171
  }
7013
- declare class Checkbox extends Component<Props$1j, SpreadsheetChildEnv> {
7172
+ declare class Checkbox extends Component<Props$1q, SpreadsheetChildEnv> {
7014
7173
  static template: string;
7015
7174
  static props: {
7016
7175
  label: {
@@ -7045,10 +7204,10 @@ declare class Checkbox extends Component<Props$1j, SpreadsheetChildEnv> {
7045
7204
  onChange(ev: InputEvent): void;
7046
7205
  }
7047
7206
 
7048
- interface Props$1i {
7207
+ interface Props$1p {
7049
7208
  class?: string;
7050
7209
  }
7051
- declare class Section extends Component<Props$1i, SpreadsheetChildEnv> {
7210
+ declare class Section extends Component<Props$1p, SpreadsheetChildEnv> {
7052
7211
  static template: string;
7053
7212
  static props: {
7054
7213
  class: {
@@ -7213,7 +7372,7 @@ declare class SelectionInputStore extends SpreadsheetStore {
7213
7372
  getIndex(rangeId: number | null): number | null;
7214
7373
  }
7215
7374
 
7216
- interface Props$1h {
7375
+ interface Props$1o {
7217
7376
  ranges: string[];
7218
7377
  hasSingleRange?: boolean;
7219
7378
  required?: boolean;
@@ -7241,7 +7400,7 @@ interface SelectionRange extends Omit<RangeInputValue, "color"> {
7241
7400
  * onSelectionChanged is called every time the input value
7242
7401
  * changes.
7243
7402
  */
7244
- declare class SelectionInput extends Component<Props$1h, SpreadsheetChildEnv> {
7403
+ declare class SelectionInput extends Component<Props$1o, SpreadsheetChildEnv> {
7245
7404
  static template: string;
7246
7405
  static props: {
7247
7406
  ranges: ArrayConstructor;
@@ -7318,7 +7477,7 @@ declare class SelectionInput extends Component<Props$1h, SpreadsheetChildEnv> {
7318
7477
  confirm(): void;
7319
7478
  }
7320
7479
 
7321
- interface Props$1g {
7480
+ interface Props$1n {
7322
7481
  ranges: CustomizedDataSet[];
7323
7482
  hasSingleRange?: boolean;
7324
7483
  onSelectionChanged: (ranges: string[]) => void;
@@ -7331,7 +7490,7 @@ interface Props$1g {
7331
7490
  canChangeDatasetOrientation?: boolean;
7332
7491
  onFlipAxis?: (structure: string) => void;
7333
7492
  }
7334
- declare class ChartDataSeries extends Component<Props$1g, SpreadsheetChildEnv> {
7493
+ declare class ChartDataSeries extends Component<Props$1n, SpreadsheetChildEnv> {
7335
7494
  static template: string;
7336
7495
  static components: {
7337
7496
  SelectionInput: typeof SelectionInput;
@@ -7380,12 +7539,12 @@ declare class ChartDataSeries extends Component<Props$1g, SpreadsheetChildEnv> {
7380
7539
  get title(): string;
7381
7540
  }
7382
7541
 
7383
- interface Props$1f {
7542
+ interface Props$1m {
7384
7543
  messages: string[];
7385
7544
  msgType: "warning" | "error" | "info";
7386
7545
  singleBox?: boolean;
7387
7546
  }
7388
- declare class ValidationMessages extends Component<Props$1f, SpreadsheetChildEnv> {
7547
+ declare class ValidationMessages extends Component<Props$1m, SpreadsheetChildEnv> {
7389
7548
  static template: string;
7390
7549
  static props: {
7391
7550
  messages: ArrayConstructor;
@@ -7399,10 +7558,10 @@ declare class ValidationMessages extends Component<Props$1f, SpreadsheetChildEnv
7399
7558
  get alertBoxes(): string[][];
7400
7559
  }
7401
7560
 
7402
- interface Props$1e {
7561
+ interface Props$1l {
7403
7562
  messages: string[];
7404
7563
  }
7405
- declare class ChartErrorSection extends Component<Props$1e, SpreadsheetChildEnv> {
7564
+ declare class ChartErrorSection extends Component<Props$1l, SpreadsheetChildEnv> {
7406
7565
  static template: string;
7407
7566
  static components: {
7408
7567
  Section: typeof Section;
@@ -7416,7 +7575,7 @@ declare class ChartErrorSection extends Component<Props$1e, SpreadsheetChildEnv>
7416
7575
  };
7417
7576
  }
7418
7577
 
7419
- interface Props$1d {
7578
+ interface Props$1k {
7420
7579
  title?: string;
7421
7580
  range: string;
7422
7581
  isInvalid: boolean;
@@ -7429,7 +7588,7 @@ interface Props$1d {
7429
7588
  onChange: (value: boolean) => void;
7430
7589
  }>;
7431
7590
  }
7432
- declare class ChartLabelRange extends Component<Props$1d, SpreadsheetChildEnv> {
7591
+ declare class ChartLabelRange extends Component<Props$1k, SpreadsheetChildEnv> {
7433
7592
  static template: string;
7434
7593
  static components: {
7435
7594
  SelectionInput: typeof SelectionInput;
@@ -7450,20 +7609,20 @@ declare class ChartLabelRange extends Component<Props$1d, SpreadsheetChildEnv> {
7450
7609
  optional: boolean;
7451
7610
  };
7452
7611
  };
7453
- static defaultProps: Partial<Props$1d>;
7612
+ static defaultProps: Partial<Props$1k>;
7454
7613
  }
7455
7614
 
7456
- interface Props$1c {
7457
- figureId: UID;
7615
+ interface Props$1j {
7616
+ chartId: UID;
7458
7617
  definition: ChartWithDataSetDefinition;
7459
- canUpdateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
7460
- updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
7618
+ canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
7619
+ updateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
7461
7620
  }
7462
7621
  interface ChartPanelState {
7463
7622
  datasetDispatchResult?: DispatchResult;
7464
7623
  labelsDispatchResult?: DispatchResult;
7465
7624
  }
7466
- declare class GenericChartConfigPanel extends Component<Props$1c, SpreadsheetChildEnv> {
7625
+ declare class GenericChartConfigPanel extends Component<Props$1j, SpreadsheetChildEnv> {
7467
7626
  static template: string;
7468
7627
  static components: {
7469
7628
  ChartDataSeries: typeof ChartDataSeries;
@@ -7473,7 +7632,7 @@ declare class GenericChartConfigPanel extends Component<Props$1c, SpreadsheetChi
7473
7632
  ChartErrorSection: typeof ChartErrorSection;
7474
7633
  };
7475
7634
  static props: {
7476
- figureId: StringConstructor;
7635
+ chartId: StringConstructor;
7477
7636
  definition: ObjectConstructor;
7478
7637
  updateChart: FunctionConstructor;
7479
7638
  canUpdateChart: FunctionConstructor;
@@ -7532,11 +7691,11 @@ declare class BarConfigPanel extends GenericChartConfigPanel {
7532
7691
  onUpdateStacked(stacked: boolean): void;
7533
7692
  }
7534
7693
 
7535
- interface Props$1b {
7694
+ interface Props$1i {
7536
7695
  isCollapsed: boolean;
7537
7696
  slots: any;
7538
7697
  }
7539
- declare class Collapse extends Component<Props$1b, SpreadsheetChildEnv> {
7698
+ declare class Collapse extends Component<Props$1i, SpreadsheetChildEnv> {
7540
7699
  static template: string;
7541
7700
  static props: {
7542
7701
  isCollapsed: BooleanConstructor;
@@ -7575,12 +7734,12 @@ interface Choice$1 {
7575
7734
  value: string;
7576
7735
  label: string;
7577
7736
  }
7578
- interface Props$1a {
7737
+ interface Props$1h {
7579
7738
  choices: Choice$1[];
7580
7739
  onChange: (value: string) => void;
7581
7740
  selectedValue: string;
7582
7741
  }
7583
- declare class BadgeSelection extends Component<Props$1a, SpreadsheetChildEnv> {
7742
+ declare class BadgeSelection extends Component<Props$1h, SpreadsheetChildEnv> {
7584
7743
  static template: string;
7585
7744
  static props: {
7586
7745
  choices: ArrayConstructor;
@@ -7589,14 +7748,14 @@ declare class BadgeSelection extends Component<Props$1a, SpreadsheetChildEnv> {
7589
7748
  };
7590
7749
  }
7591
7750
 
7592
- interface Props$19 {
7751
+ interface Props$1g {
7593
7752
  action: ActionSpec;
7594
7753
  hasTriangleDownIcon?: boolean;
7595
7754
  selectedColor?: string;
7596
7755
  class?: string;
7597
7756
  onClick?: (ev: MouseEvent) => void;
7598
7757
  }
7599
- declare class ActionButton extends Component<Props$19, SpreadsheetChildEnv> {
7758
+ declare class ActionButton extends Component<Props$1g, SpreadsheetChildEnv> {
7600
7759
  static template: string;
7601
7760
  static props: {
7602
7761
  action: ObjectConstructor;
@@ -7783,7 +7942,7 @@ declare class ColorPicker extends Component<ColorPickerProps, SpreadsheetChildEn
7783
7942
  isSameColor(color1: Color, color2: Color): boolean;
7784
7943
  }
7785
7944
 
7786
- interface Props$18 {
7945
+ interface Props$1f {
7787
7946
  currentColor: string | undefined;
7788
7947
  toggleColorPicker: () => void;
7789
7948
  showColorPicker: boolean;
@@ -7794,7 +7953,7 @@ interface Props$18 {
7794
7953
  dropdownMaxHeight?: Pixel;
7795
7954
  class?: string;
7796
7955
  }
7797
- declare class ColorPickerWidget extends Component<Props$18, SpreadsheetChildEnv> {
7956
+ declare class ColorPickerWidget extends Component<Props$1f, SpreadsheetChildEnv> {
7798
7957
  static template: string;
7799
7958
  static props: {
7800
7959
  currentColor: {
@@ -7855,14 +8014,14 @@ declare class CellPopoverStore extends SpreadsheetStore {
7855
8014
  interface State$5 {
7856
8015
  isOpen: boolean;
7857
8016
  }
7858
- interface Props$17 {
8017
+ interface Props$1e {
7859
8018
  currentFontSize: number;
7860
8019
  class: string;
7861
8020
  onFontSizeChanged: (fontSize: number) => void;
7862
8021
  onToggle?: () => void;
7863
8022
  onFocusInput?: () => void;
7864
8023
  }
7865
- declare class FontSizeEditor extends Component<Props$17, SpreadsheetChildEnv> {
8024
+ declare class FontSizeEditor extends Component<Props$1e, SpreadsheetChildEnv> {
7866
8025
  static template: string;
7867
8026
  static props: {
7868
8027
  currentFontSize: NumberConstructor;
@@ -7900,7 +8059,7 @@ declare class FontSizeEditor extends Component<Props$17, SpreadsheetChildEnv> {
7900
8059
  onInputKeydown(ev: KeyboardEvent): void;
7901
8060
  }
7902
8061
 
7903
- interface Props$16 {
8062
+ interface Props$1d {
7904
8063
  class?: string;
7905
8064
  style: ChartStyle;
7906
8065
  updateStyle: (style: ChartStyle) => void;
@@ -7909,7 +8068,7 @@ interface Props$16 {
7909
8068
  hasHorizontalAlign?: boolean;
7910
8069
  hasBackgroundColor?: boolean;
7911
8070
  }
7912
- declare class TextStyler extends Component<Props$16, SpreadsheetChildEnv> {
8071
+ declare class TextStyler extends Component<Props$1d, SpreadsheetChildEnv> {
7913
8072
  static template: string;
7914
8073
  static components: {
7915
8074
  ColorPickerWidget: typeof ColorPickerWidget;
@@ -7977,7 +8136,7 @@ declare class TextStyler extends Component<Props$16, SpreadsheetChildEnv> {
7977
8136
  get verticalAlignActions(): ActionSpec[];
7978
8137
  }
7979
8138
 
7980
- interface Props$15 {
8139
+ interface Props$1c {
7981
8140
  title?: string;
7982
8141
  placeholder?: string;
7983
8142
  updateTitle: (title: string) => void;
@@ -7986,7 +8145,7 @@ interface Props$15 {
7986
8145
  defaultStyle?: Partial<TitleDesign>;
7987
8146
  updateStyle: (style: TitleDesign) => void;
7988
8147
  }
7989
- declare class ChartTitle extends Component<Props$15, SpreadsheetChildEnv> {
8148
+ declare class ChartTitle extends Component<Props$1c, SpreadsheetChildEnv> {
7990
8149
  static template: string;
7991
8150
  static components: {
7992
8151
  Section: typeof Section;
@@ -8023,13 +8182,13 @@ interface AxisDefinition {
8023
8182
  id: string;
8024
8183
  name: string;
8025
8184
  }
8026
- interface Props$14 {
8027
- figureId: UID;
8185
+ interface Props$1b {
8186
+ chartId: UID;
8028
8187
  definition: ChartWithAxisDefinition;
8029
- updateChart: (figureId: UID, definition: Partial<ChartWithAxisDefinition>) => DispatchResult;
8188
+ updateChart: (chartId: UID, definition: Partial<ChartWithAxisDefinition>) => DispatchResult;
8030
8189
  axesList: AxisDefinition[];
8031
8190
  }
8032
- declare class AxisDesignEditor extends Component<Props$14, SpreadsheetChildEnv> {
8191
+ declare class AxisDesignEditor extends Component<Props$1b, SpreadsheetChildEnv> {
8033
8192
  static template: string;
8034
8193
  static components: {
8035
8194
  Section: typeof Section;
@@ -8037,7 +8196,7 @@ declare class AxisDesignEditor extends Component<Props$14, SpreadsheetChildEnv>
8037
8196
  BadgeSelection: typeof BadgeSelection;
8038
8197
  };
8039
8198
  static props: {
8040
- figureId: StringConstructor;
8199
+ chartId: StringConstructor;
8041
8200
  definition: ObjectConstructor;
8042
8201
  updateChart: FunctionConstructor;
8043
8202
  axesList: ArrayConstructor;
@@ -8061,14 +8220,14 @@ interface Choice {
8061
8220
  value: unknown;
8062
8221
  label: string;
8063
8222
  }
8064
- interface Props$13 {
8223
+ interface Props$1a {
8065
8224
  choices: Choice[];
8066
8225
  onChange: (value: unknown) => void;
8067
8226
  selectedValue: string;
8068
8227
  name: string;
8069
8228
  direction: "horizontal" | "vertical";
8070
8229
  }
8071
- declare class RadioSelection extends Component<Props$13, SpreadsheetChildEnv> {
8230
+ declare class RadioSelection extends Component<Props$1a, SpreadsheetChildEnv> {
8072
8231
  static template: string;
8073
8232
  static props: {
8074
8233
  choices: ArrayConstructor;
@@ -8087,13 +8246,13 @@ declare class RadioSelection extends Component<Props$13, SpreadsheetChildEnv> {
8087
8246
  };
8088
8247
  }
8089
8248
 
8090
- interface Props$12 {
8249
+ interface Props$19 {
8091
8250
  currentColor?: string;
8092
8251
  onColorPicked: (color: string) => void;
8093
8252
  title?: string;
8094
8253
  disableNoColor?: boolean;
8095
8254
  }
8096
- declare class RoundColorPicker extends Component<Props$12, SpreadsheetChildEnv> {
8255
+ declare class RoundColorPicker extends Component<Props$19, SpreadsheetChildEnv> {
8097
8256
  static template: string;
8098
8257
  static components: {
8099
8258
  Section: typeof Section;
@@ -8126,14 +8285,14 @@ declare class RoundColorPicker extends Component<Props$12, SpreadsheetChildEnv>
8126
8285
  get buttonStyle(): string;
8127
8286
  }
8128
8287
 
8129
- interface Props$11 {
8130
- figureId: UID;
8288
+ interface Props$18 {
8289
+ chartId: UID;
8131
8290
  definition: ChartDefinition;
8132
- updateChart: (figureId: UID, definition: Partial<ChartDefinition>) => DispatchResult;
8133
- canUpdateChart: (figureId: UID, definition: Partial<ChartDefinition>) => DispatchResult;
8291
+ updateChart: (chartId: UID, definition: Partial<ChartDefinition>) => DispatchResult;
8292
+ canUpdateChart: (chartId: UID, definition: Partial<ChartDefinition>) => DispatchResult;
8134
8293
  defaultChartTitleFontSize?: number;
8135
8294
  }
8136
- declare class GeneralDesignEditor extends Component<Props$11, SpreadsheetChildEnv> {
8295
+ declare class GeneralDesignEditor extends Component<Props$18, SpreadsheetChildEnv> {
8137
8296
  static template: string;
8138
8297
  static components: {
8139
8298
  RoundColorPicker: typeof RoundColorPicker;
@@ -8143,7 +8302,7 @@ declare class GeneralDesignEditor extends Component<Props$11, SpreadsheetChildEn
8143
8302
  RadioSelection: typeof RadioSelection;
8144
8303
  };
8145
8304
  static props: {
8146
- figureId: StringConstructor;
8305
+ chartId: StringConstructor;
8147
8306
  definition: ObjectConstructor;
8148
8307
  updateChart: FunctionConstructor;
8149
8308
  canUpdateChart: FunctionConstructor;
@@ -8168,19 +8327,38 @@ declare class GeneralDesignEditor extends Component<Props$11, SpreadsheetChildEn
8168
8327
  updateChartTitleStyle(style: TitleDesign): void;
8169
8328
  }
8170
8329
 
8171
- interface Props$10 {
8172
- 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;
8173
8351
  definition: ChartWithDataSetDefinition;
8174
- updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8175
- canUpdateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8352
+ updateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8353
+ canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8176
8354
  }
8177
- declare class ChartLegend extends Component<Props$10, SpreadsheetChildEnv> {
8355
+ declare class ChartLegend extends Component<Props$16, SpreadsheetChildEnv> {
8178
8356
  static template: string;
8179
8357
  static components: {
8180
8358
  Section: typeof Section;
8181
8359
  };
8182
8360
  static props: {
8183
- figureId: StringConstructor;
8361
+ chartId: StringConstructor;
8184
8362
  definition: ObjectConstructor;
8185
8363
  updateChart: FunctionConstructor;
8186
8364
  canUpdateChart: FunctionConstructor;
@@ -8188,13 +8366,13 @@ declare class ChartLegend extends Component<Props$10, SpreadsheetChildEnv> {
8188
8366
  updateLegendPosition(ev: any): void;
8189
8367
  }
8190
8368
 
8191
- interface Props$$ {
8192
- figureId: UID;
8369
+ interface Props$15 {
8370
+ chartId: UID;
8193
8371
  definition: ChartWithDataSetDefinition;
8194
- canUpdateChart: (figureID: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8195
- updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8372
+ canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8373
+ updateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8196
8374
  }
8197
- declare class SeriesDesignEditor extends Component<Props$$, SpreadsheetChildEnv> {
8375
+ declare class SeriesDesignEditor extends Component<Props$15, SpreadsheetChildEnv> {
8198
8376
  static template: string;
8199
8377
  static components: {
8200
8378
  SidePanelCollapsible: typeof SidePanelCollapsible;
@@ -8202,7 +8380,7 @@ declare class SeriesDesignEditor extends Component<Props$$, SpreadsheetChildEnv>
8202
8380
  RoundColorPicker: typeof RoundColorPicker;
8203
8381
  };
8204
8382
  static props: {
8205
- figureId: StringConstructor;
8383
+ chartId: StringConstructor;
8206
8384
  definition: ObjectConstructor;
8207
8385
  updateChart: FunctionConstructor;
8208
8386
  canUpdateChart: FunctionConstructor;
@@ -8222,13 +8400,13 @@ declare class SeriesDesignEditor extends Component<Props$$, SpreadsheetChildEnv>
8222
8400
  getDataSeriesLabel(): string | undefined;
8223
8401
  }
8224
8402
 
8225
- interface Props$_ {
8226
- figureId: UID;
8403
+ interface Props$14 {
8404
+ chartId: UID;
8227
8405
  definition: ChartWithDataSetDefinition;
8228
- canUpdateChart: (figureID: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8229
- updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8406
+ canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8407
+ updateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8230
8408
  }
8231
- declare class SeriesWithAxisDesignEditor extends Component<Props$_, SpreadsheetChildEnv> {
8409
+ declare class SeriesWithAxisDesignEditor extends Component<Props$14, SpreadsheetChildEnv> {
8232
8410
  static template: string;
8233
8411
  static components: {
8234
8412
  SeriesDesignEditor: typeof SeriesDesignEditor;
@@ -8238,7 +8416,7 @@ declare class SeriesWithAxisDesignEditor extends Component<Props$_, SpreadsheetC
8238
8416
  RoundColorPicker: typeof RoundColorPicker;
8239
8417
  };
8240
8418
  static props: {
8241
- figureId: StringConstructor;
8419
+ chartId: StringConstructor;
8242
8420
  definition: ObjectConstructor;
8243
8421
  canUpdateChart: FunctionConstructor;
8244
8422
  updateChart: FunctionConstructor;
@@ -8269,20 +8447,20 @@ declare class SeriesWithAxisDesignEditor extends Component<Props$_, SpreadsheetC
8269
8447
  updateTrendLineValue(index: number, config: any): void;
8270
8448
  }
8271
8449
 
8272
- interface Props$Z {
8273
- figureId: UID;
8450
+ interface Props$13 {
8451
+ chartId: UID;
8274
8452
  definition: ChartWithDataSetDefinition;
8275
- updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8276
- canUpdateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8453
+ updateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8454
+ canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8277
8455
  defaultValue?: boolean;
8278
8456
  }
8279
- declare class ChartShowValues extends Component<Props$Z, SpreadsheetChildEnv> {
8457
+ declare class ChartShowValues extends Component<Props$13, SpreadsheetChildEnv> {
8280
8458
  static template: string;
8281
8459
  static components: {
8282
8460
  Checkbox: typeof Checkbox;
8283
8461
  };
8284
8462
  static props: {
8285
- figureId: StringConstructor;
8463
+ chartId: StringConstructor;
8286
8464
  definition: ObjectConstructor;
8287
8465
  updateChart: FunctionConstructor;
8288
8466
  canUpdateChart: FunctionConstructor;
@@ -8293,13 +8471,13 @@ declare class ChartShowValues extends Component<Props$Z, SpreadsheetChildEnv> {
8293
8471
  };
8294
8472
  }
8295
8473
 
8296
- interface Props$Y {
8297
- figureId: UID;
8474
+ interface Props$12 {
8475
+ chartId: UID;
8298
8476
  definition: ChartWithDataSetDefinition;
8299
- canUpdateChart: (figureID: UID, definition: GenericDefinition<ChartWithDataSetDefinition>) => DispatchResult;
8300
- updateChart: (figureId: UID, definition: GenericDefinition<ChartWithDataSetDefinition>) => DispatchResult;
8477
+ canUpdateChart: (chartId: UID, definition: GenericDefinition<ChartWithDataSetDefinition>) => DispatchResult;
8478
+ updateChart: (chartId: UID, definition: GenericDefinition<ChartWithDataSetDefinition>) => DispatchResult;
8301
8479
  }
8302
- 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> {
8303
8481
  static template: string;
8304
8482
  static components: {
8305
8483
  GeneralDesignEditor: typeof GeneralDesignEditor;
@@ -8309,9 +8487,10 @@ declare class ChartWithAxisDesignPanel<P extends Props$Y = Props$Y> extends Comp
8309
8487
  SeriesWithAxisDesignEditor: typeof SeriesWithAxisDesignEditor;
8310
8488
  ChartLegend: typeof ChartLegend;
8311
8489
  ChartShowValues: typeof ChartShowValues;
8490
+ ChartHumanizeNumbers: typeof ChartHumanizeNumbers;
8312
8491
  };
8313
8492
  static props: {
8314
- figureId: StringConstructor;
8493
+ chartId: StringConstructor;
8315
8494
  definition: ObjectConstructor;
8316
8495
  canUpdateChart: FunctionConstructor;
8317
8496
  updateChart: FunctionConstructor;
@@ -8319,20 +8498,20 @@ declare class ChartWithAxisDesignPanel<P extends Props$Y = Props$Y> extends Comp
8319
8498
  get axesList(): AxisDefinition[];
8320
8499
  }
8321
8500
 
8322
- interface Props$X {
8323
- figureId: UID;
8501
+ interface Props$11 {
8502
+ chartId: UID;
8324
8503
  definition: GaugeChartDefinition;
8325
- canUpdateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
8326
- updateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
8504
+ canUpdateChart: (chartId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
8505
+ updateChart: (chartId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
8327
8506
  }
8328
- declare class GaugeChartConfigPanel extends Component<Props$X, SpreadsheetChildEnv> {
8507
+ declare class GaugeChartConfigPanel extends Component<Props$11, SpreadsheetChildEnv> {
8329
8508
  static template: string;
8330
8509
  static components: {
8331
8510
  ChartErrorSection: typeof ChartErrorSection;
8332
8511
  ChartDataSeries: typeof ChartDataSeries;
8333
8512
  };
8334
8513
  static props: {
8335
- figureId: StringConstructor;
8514
+ chartId: StringConstructor;
8336
8515
  definition: ObjectConstructor;
8337
8516
  updateChart: FunctionConstructor;
8338
8517
  canUpdateChart: FunctionConstructor;
@@ -8390,13 +8569,13 @@ interface EnrichedToken extends Token {
8390
8569
  isInHoverContext?: boolean;
8391
8570
  }
8392
8571
 
8393
- interface Props$W {
8572
+ interface Props$10 {
8394
8573
  proposals: AutoCompleteProposal[];
8395
8574
  selectedIndex: number | undefined;
8396
8575
  onValueSelected: (value: string) => void;
8397
8576
  onValueHovered: (index: string) => void;
8398
8577
  }
8399
- declare class TextValueProvider extends Component<Props$W> {
8578
+ declare class TextValueProvider extends Component<Props$10> {
8400
8579
  static template: string;
8401
8580
  static props: {
8402
8581
  proposals: ArrayConstructor;
@@ -8453,11 +8632,11 @@ declare class ContentEditableHelper {
8453
8632
  getText(): string;
8454
8633
  }
8455
8634
 
8456
- interface Props$V {
8635
+ interface Props$$ {
8457
8636
  functionDescription: FunctionDescription;
8458
8637
  argsToFocus: number[];
8459
8638
  }
8460
- declare class FunctionDescriptionProvider extends Component<Props$V, SpreadsheetChildEnv> {
8639
+ declare class FunctionDescriptionProvider extends Component<Props$$, SpreadsheetChildEnv> {
8461
8640
  static template: string;
8462
8641
  static props: {
8463
8642
  functionDescription: ObjectConstructor;
@@ -8468,15 +8647,15 @@ declare class FunctionDescriptionProvider extends Component<Props$V, Spreadsheet
8468
8647
  };
8469
8648
  private state;
8470
8649
  toggle(): void;
8471
- getContext(): Props$V;
8650
+ getContext(): Props$$;
8472
8651
  get formulaArgSeparator(): string;
8473
8652
  }
8474
8653
 
8475
- interface Props$U {
8654
+ interface Props$_ {
8476
8655
  anchorRect: Rect;
8477
8656
  content: string;
8478
8657
  }
8479
- declare class SpeechBubble extends Component<Props$U, SpreadsheetChildEnv> {
8658
+ declare class SpeechBubble extends Component<Props$_, SpreadsheetChildEnv> {
8480
8659
  static template: string;
8481
8660
  static props: {
8482
8661
  content: StringConstructor;
@@ -8550,6 +8729,7 @@ declare abstract class AbstractComposerStore extends SpreadsheetStore {
8550
8729
  get autoCompleteProposals(): AutoCompleteProposal[];
8551
8730
  get autoCompleteSelectedIndex(): number | undefined;
8552
8731
  get isAutoCompleteDisplayed(): boolean;
8732
+ get canBeToggled(): boolean;
8553
8733
  cycleReferences(): void;
8554
8734
  toggleEditionMode(): void;
8555
8735
  hoverToken(tokenIndex: number | undefined): void;
@@ -8856,6 +9036,7 @@ interface AutoCompleteProvider {
8856
9036
  proposals: AutoCompleteProposal[];
8857
9037
  selectProposal(text: string): void;
8858
9038
  autoSelectFirstProposal: boolean;
9039
+ canBeToggled?: boolean;
8859
9040
  }
8860
9041
  interface ComposerStoreInterface {
8861
9042
  currentEditedCell?: CellPosition;
@@ -8875,6 +9056,7 @@ interface ComposerStoreInterface {
8875
9056
  interface AutoCompleteProviderDefinition {
8876
9057
  sequence?: number;
8877
9058
  autoSelectFirstProposal?: boolean;
9059
+ canBeToggled?: boolean;
8878
9060
  displayAllOnInitialContent?: boolean;
8879
9061
  maxDisplayedProposals?: number;
8880
9062
  getProposals(this: {
@@ -8886,7 +9068,7 @@ interface AutoCompleteProviderDefinition {
8886
9068
  }, tokenAtCursor: EnrichedToken, text: string): void;
8887
9069
  }
8888
9070
 
8889
- interface Props$T {
9071
+ interface Props$Z {
8890
9072
  onConfirm: (content: string) => void;
8891
9073
  composerContent: string;
8892
9074
  defaultRangeSheetId: UID;
@@ -8898,7 +9080,7 @@ interface Props$T {
8898
9080
  invalid?: boolean;
8899
9081
  getContextualColoredSymbolToken?: (token: Token) => Color;
8900
9082
  }
8901
- declare class StandaloneComposer extends Component<Props$T, SpreadsheetChildEnv> {
9083
+ declare class StandaloneComposer extends Component<Props$Z, SpreadsheetChildEnv> {
8902
9084
  static template: string;
8903
9085
  static props: {
8904
9086
  composerContent: {
@@ -8961,13 +9143,13 @@ interface PanelState {
8961
9143
  sectionRuleCancelledReasons?: CommandResult[];
8962
9144
  sectionRule: SectionRule;
8963
9145
  }
8964
- interface Props$S {
8965
- figureId: UID;
9146
+ interface Props$Y {
9147
+ chartId: UID;
8966
9148
  definition: GaugeChartDefinition;
8967
- canUpdateChart: (figureID: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
8968
- updateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
9149
+ canUpdateChart: (chartId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
9150
+ updateChart: (chartId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
8969
9151
  }
8970
- declare class GaugeChartDesignPanel extends Component<Props$S, SpreadsheetChildEnv> {
9152
+ declare class GaugeChartDesignPanel extends Component<Props$Y, SpreadsheetChildEnv> {
8971
9153
  static template: string;
8972
9154
  static components: {
8973
9155
  SidePanelCollapsible: typeof SidePanelCollapsible;
@@ -8976,9 +9158,10 @@ declare class GaugeChartDesignPanel extends Component<Props$S, SpreadsheetChildE
8976
9158
  GeneralDesignEditor: typeof GeneralDesignEditor;
8977
9159
  ChartErrorSection: typeof ChartErrorSection;
8978
9160
  StandaloneComposer: typeof StandaloneComposer;
9161
+ ChartHumanizeNumbers: typeof ChartHumanizeNumbers;
8979
9162
  };
8980
9163
  static props: {
8981
- figureId: StringConstructor;
9164
+ chartId: StringConstructor;
8982
9165
  definition: ObjectConstructor;
8983
9166
  updateChart: FunctionConstructor;
8984
9167
  canUpdateChart: {
@@ -9016,14 +9199,14 @@ declare class LineConfigPanel extends GenericChartConfigPanel {
9016
9199
  onUpdateStacked(stacked: boolean): void;
9017
9200
  onUpdateCumulative(cumulative: boolean): void;
9018
9201
  }
9019
-
9020
- interface Props$R {
9021
- figureId: UID;
9202
+
9203
+ interface Props$X {
9204
+ chartId: UID;
9022
9205
  definition: ScorecardChartDefinition;
9023
- canUpdateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
9024
- updateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
9206
+ canUpdateChart: (chartId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
9207
+ updateChart: (chartId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
9025
9208
  }
9026
- declare class ScorecardChartConfigPanel extends Component<Props$R, SpreadsheetChildEnv> {
9209
+ declare class ScorecardChartConfigPanel extends Component<Props$X, SpreadsheetChildEnv> {
9027
9210
  static template: string;
9028
9211
  static components: {
9029
9212
  SelectionInput: typeof SelectionInput;
@@ -9031,7 +9214,7 @@ declare class ScorecardChartConfigPanel extends Component<Props$R, SpreadsheetCh
9031
9214
  Section: typeof Section;
9032
9215
  };
9033
9216
  static props: {
9034
- figureId: StringConstructor;
9217
+ chartId: StringConstructor;
9035
9218
  definition: ObjectConstructor;
9036
9219
  updateChart: FunctionConstructor;
9037
9220
  canUpdateChart: FunctionConstructor;
@@ -9052,13 +9235,13 @@ declare class ScorecardChartConfigPanel extends Component<Props$R, SpreadsheetCh
9052
9235
  }
9053
9236
 
9054
9237
  type ColorPickerId = undefined | "backgroundColor" | "baselineColorUp" | "baselineColorDown";
9055
- interface Props$Q {
9056
- figureId: UID;
9238
+ interface Props$W {
9239
+ chartId: UID;
9057
9240
  definition: ScorecardChartDefinition;
9058
- canUpdateChart: (figureID: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
9059
- updateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
9241
+ canUpdateChart: (chartId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
9242
+ updateChart: (chartId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
9060
9243
  }
9061
- declare class ScorecardChartDesignPanel extends Component<Props$Q, SpreadsheetChildEnv> {
9244
+ declare class ScorecardChartDesignPanel extends Component<Props$W, SpreadsheetChildEnv> {
9062
9245
  static template: string;
9063
9246
  static components: {
9064
9247
  GeneralDesignEditor: typeof GeneralDesignEditor;
@@ -9067,9 +9250,10 @@ declare class ScorecardChartDesignPanel extends Component<Props$Q, SpreadsheetCh
9067
9250
  Section: typeof Section;
9068
9251
  Checkbox: typeof Checkbox;
9069
9252
  ChartTitle: typeof ChartTitle;
9253
+ ChartHumanizeNumbers: typeof ChartHumanizeNumbers;
9070
9254
  };
9071
9255
  static props: {
9072
- figureId: StringConstructor;
9256
+ chartId: StringConstructor;
9073
9257
  definition: ObjectConstructor;
9074
9258
  updateChart: FunctionConstructor;
9075
9259
  canUpdateChart: {
@@ -9078,9 +9262,7 @@ declare class ScorecardChartDesignPanel extends Component<Props$Q, SpreadsheetCh
9078
9262
  };
9079
9263
  };
9080
9264
  get colorsSectionTitle(): string;
9081
- get humanizeNumbersLabel(): string;
9082
9265
  get defaultScorecardTitleFontSize(): number;
9083
- updateHumanizeNumbers(humanize: boolean): void;
9084
9266
  translate(term: any): string;
9085
9267
  setColor(color: Color, colorPickerId: ColorPickerId): void;
9086
9268
  get keyStyle(): TitleDesign;
@@ -9131,7 +9313,7 @@ interface PanelInfo {
9131
9313
  isCollapsed?: boolean;
9132
9314
  }
9133
9315
  declare class SidePanelStore extends SpreadsheetStore {
9134
- mutators: readonly ["open", "toggle", "close", "changePanelSize", "resetPanelSize", "togglePinPanel", "closeMainPanel", "changeSpreadsheetWidth", "toggleCollapsePanel"];
9316
+ mutators: readonly ["open", "replace", "toggle", "close", "changePanelSize", "resetPanelSize", "togglePinPanel", "closeMainPanel", "changeSpreadsheetWidth", "toggleCollapsePanel"];
9135
9317
  mainPanel: (PanelInfo & {
9136
9318
  isCollapsed?: boolean;
9137
9319
  isPinned?: boolean;
@@ -9153,6 +9335,7 @@ declare class SidePanelStore extends SpreadsheetStore {
9153
9335
  private getPanelProps;
9154
9336
  private getPanelKey;
9155
9337
  open(componentTag: string, initialPanelProps?: SidePanelComponentProps): void;
9338
+ replace(componentTag: string, currentPanelKey: string, initialPanelProps?: SidePanelComponentProps): void;
9156
9339
  private _openPanel;
9157
9340
  toggle(componentTag: string, panelProps: SidePanelComponentProps): void;
9158
9341
  close(): void;
@@ -9236,42 +9419,59 @@ declare class ComposerFocusStore extends SpreadsheetStore {
9236
9419
  private setComposerContent;
9237
9420
  }
9238
9421
 
9239
- interface Props$P {
9240
- 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;
9241
9431
  isFullScreen?: boolean;
9242
9432
  }
9243
- declare class ChartJsComponent extends Component<Props$P, SpreadsheetChildEnv> {
9433
+ declare class ChartJsComponent extends Component<Props$V, SpreadsheetChildEnv> {
9244
9434
  static template: string;
9245
9435
  static props: {
9246
- figureUI: ObjectConstructor;
9436
+ chartId: StringConstructor;
9247
9437
  isFullScreen: {
9248
9438
  type: BooleanConstructor;
9249
9439
  optional: boolean;
9250
9440
  };
9251
9441
  };
9252
- private canvas;
9253
- private chart?;
9254
- private currentRuntime;
9255
- private animationStore;
9442
+ protected canvas: {
9443
+ el: HTMLElement | null;
9444
+ };
9445
+ protected chart?: Chart;
9446
+ protected currentRuntime: ChartJSRuntime;
9447
+ protected animationStore: Store<ChartAnimationStore> | undefined;
9256
9448
  private currentDevicePixelRatio;
9257
9449
  get background(): string;
9258
9450
  get canvasStyle(): string;
9259
9451
  get chartRuntime(): ChartJSRuntime;
9260
9452
  setup(): void;
9261
- private createChart;
9262
- private updateChartJs;
9453
+ protected unmount(): void;
9454
+ protected get shouldAnimate(): boolean;
9455
+ protected createChart(chartRuntime: ChartJSRuntime): void;
9456
+ protected updateChartJs(chartRuntime: ChartJSRuntime): void;
9263
9457
  private hasChartDataChanged;
9264
- private enableAnimationInChartData;
9265
- 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;
9266
9466
  }
9267
9467
 
9268
- interface Props$O {
9269
- figureUI: FigureUI;
9468
+ interface Props$U {
9469
+ chartId: UID;
9270
9470
  }
9271
- declare class ScorecardChart$1 extends Component<Props$O, SpreadsheetChildEnv> {
9471
+ declare class ScorecardChart$1 extends Component<Props$U, SpreadsheetChildEnv> {
9272
9472
  static template: string;
9273
9473
  static props: {
9274
- figureUI: ObjectConstructor;
9474
+ chartId: StringConstructor;
9275
9475
  };
9276
9476
  private canvas;
9277
9477
  get runtime(): ScorecardChartRuntime;
@@ -9344,7 +9544,7 @@ declare class Menu extends Component<MenuProps, SpreadsheetChildEnv> {
9344
9544
  onClickMenu(menu: Action, ev: CustomEvent): void;
9345
9545
  }
9346
9546
 
9347
- interface Props$N {
9547
+ interface Props$T {
9348
9548
  anchorRect: Rect;
9349
9549
  popoverPositioning: PopoverPropsPosition;
9350
9550
  menuItems: Action[];
@@ -9364,7 +9564,7 @@ interface MenuState {
9364
9564
  menuItems: Action[];
9365
9565
  isHoveringChild?: boolean;
9366
9566
  }
9367
- declare class MenuPopover extends Component<Props$N, SpreadsheetChildEnv> {
9567
+ declare class MenuPopover extends Component<Props$T, SpreadsheetChildEnv> {
9368
9568
  static template: string;
9369
9569
  static props: {
9370
9570
  anchorRect: ObjectConstructor;
@@ -9444,14 +9644,15 @@ declare class MenuPopover extends Component<Props$N, SpreadsheetChildEnv> {
9444
9644
  }
9445
9645
 
9446
9646
  type ResizeAnchor = "top left" | "top" | "top right" | "right" | "bottom right" | "bottom" | "bottom left" | "left";
9447
- interface Props$M {
9647
+ interface Props$S {
9448
9648
  figureUI: FigureUI;
9449
9649
  style: string;
9650
+ class: string;
9450
9651
  onFigureDeleted: () => void;
9451
9652
  onMouseDown: (ev: MouseEvent) => void;
9452
9653
  onClickAnchor(dirX: ResizeDirection, dirY: ResizeDirection, ev: MouseEvent): void;
9453
9654
  }
9454
- declare class FigureComponent extends Component<Props$M, SpreadsheetChildEnv> {
9655
+ declare class FigureComponent extends Component<Props$S, SpreadsheetChildEnv> {
9455
9656
  static template: string;
9456
9657
  static props: {
9457
9658
  figureUI: ObjectConstructor;
@@ -9459,6 +9660,10 @@ declare class FigureComponent extends Component<Props$M, SpreadsheetChildEnv> {
9459
9660
  type: StringConstructor;
9460
9661
  optional: boolean;
9461
9662
  };
9663
+ class: {
9664
+ type: StringConstructor;
9665
+ optional: boolean;
9666
+ };
9462
9667
  onFigureDeleted: {
9463
9668
  type: FunctionConstructor;
9464
9669
  optional: boolean;
@@ -9482,12 +9687,13 @@ declare class FigureComponent extends Component<Props$M, SpreadsheetChildEnv> {
9482
9687
  };
9483
9688
  private menuState;
9484
9689
  private figureRef;
9690
+ private figureWrapperRef;
9485
9691
  private menuButtonRef;
9486
9692
  private borderWidth;
9487
9693
  get isSelected(): boolean;
9488
9694
  get figureRegistry(): Registry<FigureContent>;
9489
9695
  private getBorderWidth;
9490
- get borderStyle(): string;
9696
+ getBorderStyle(position: "top" | "right" | "bottom" | "left"): string;
9491
9697
  get wrapperStyle(): string;
9492
9698
  getResizerPosition(resizer: ResizeAnchor): string;
9493
9699
  setup(): void;
@@ -9499,10 +9705,11 @@ declare class FigureComponent extends Component<Props$M, SpreadsheetChildEnv> {
9499
9705
  onContextMenu(ev: MouseEvent): void;
9500
9706
  showMenu(): void;
9501
9707
  private openContextMenu;
9708
+ editWrapperStyle(properties: CSSProperties): void;
9502
9709
  }
9503
9710
 
9504
- interface Props$L {
9505
- figureUI: FigureUI;
9711
+ interface Props$R {
9712
+ chartId: UID;
9506
9713
  }
9507
9714
  interface MenuItem {
9508
9715
  id: string;
@@ -9511,43 +9718,45 @@ interface MenuItem {
9511
9718
  onClick: () => void;
9512
9719
  isSelected?: boolean;
9513
9720
  }
9514
- declare class ChartDashboardMenu extends Component<Props$L, SpreadsheetChildEnv> {
9721
+ declare class ChartDashboardMenu extends Component<Props$R, SpreadsheetChildEnv> {
9515
9722
  static template: string;
9516
9723
  static components: {
9517
9724
  MenuPopover: typeof MenuPopover;
9518
9725
  };
9519
9726
  static props: {
9520
- figureUI: ObjectConstructor;
9727
+ chartId: StringConstructor;
9521
9728
  };
9522
- private originalChartDefinition;
9523
9729
  private fullScreenFigureStore;
9730
+ private store;
9524
9731
  private menuState;
9525
9732
  setup(): void;
9526
9733
  getMenuItems(): MenuItem[];
9527
- get changeChartTypeMenuItems(): MenuItem[];
9528
- getIconClasses(type: ChartType): "" | "fa fa-bar-chart" | "fa fa-line-chart" | "fa fa-pie-chart";
9529
- onTypeChange(type: ChartType): void;
9530
- get selectedChartType(): "line" | "bar" | "scatter" | "pie" | "radar" | "treemap" | "funnel" | "scorecard" | "gauge" | "combo" | "waterfall" | "pyramid" | "geo" | "sunburst";
9531
9734
  get backgroundColor(): string;
9532
9735
  openContextMenu(ev: MouseEvent): void;
9533
9736
  get fullScreenMenuItem(): MenuItem | undefined;
9534
9737
  }
9535
9738
 
9536
- interface Props$K {
9739
+ interface Props$Q {
9537
9740
  figureUI: FigureUI;
9538
9741
  onFigureDeleted: () => void;
9742
+ editFigureStyle?: (properties: CSSProperties) => void;
9539
9743
  }
9540
- declare class ChartFigure extends Component<Props$K, SpreadsheetChildEnv> {
9744
+ declare class ChartFigure extends Component<Props$Q, SpreadsheetChildEnv> {
9541
9745
  static template: string;
9542
9746
  static props: {
9543
9747
  figureUI: ObjectConstructor;
9544
9748
  onFigureDeleted: FunctionConstructor;
9749
+ editFigureStyle: {
9750
+ type: FunctionConstructor;
9751
+ optional: boolean;
9752
+ };
9545
9753
  };
9546
9754
  static components: {
9547
9755
  ChartDashboardMenu: typeof ChartDashboardMenu;
9548
9756
  };
9549
9757
  onDoubleClick(): void;
9550
9758
  get chartType(): ChartType;
9759
+ get chartId(): UID;
9551
9760
  get chartComponent(): new (...args: any) => Component;
9552
9761
  }
9553
9762
 
@@ -9562,7 +9771,7 @@ declare class DelayedHoveredCellStore extends SpreadsheetStore {
9562
9771
 
9563
9772
  type DnDDirection = "all" | "vertical" | "horizontal";
9564
9773
 
9565
- interface Props$J {
9774
+ interface Props$P {
9566
9775
  isVisible: boolean;
9567
9776
  position: Position;
9568
9777
  }
@@ -9574,7 +9783,7 @@ interface State$4 {
9574
9783
  position: Position;
9575
9784
  handler: boolean;
9576
9785
  }
9577
- declare class Autofill extends Component<Props$J, SpreadsheetChildEnv> {
9786
+ declare class Autofill extends Component<Props$P, SpreadsheetChildEnv> {
9578
9787
  static template: string;
9579
9788
  static props: {
9580
9789
  position: ObjectConstructor;
@@ -9614,7 +9823,7 @@ declare class ClientTag extends Component<ClientTagProps, SpreadsheetChildEnv> {
9614
9823
  get tagStyle(): string;
9615
9824
  }
9616
9825
 
9617
- interface Props$I {
9826
+ interface Props$O {
9618
9827
  gridDims: DOMDimension;
9619
9828
  onInputContextMenu: (event: MouseEvent) => void;
9620
9829
  }
@@ -9622,7 +9831,7 @@ interface Props$I {
9622
9831
  * This component is a composer which positions itself on the grid at the anchor cell.
9623
9832
  * It also applies the style of the cell to the composer input.
9624
9833
  */
9625
- declare class GridComposer extends Component<Props$I, SpreadsheetChildEnv> {
9834
+ declare class GridComposer extends Component<Props$O, SpreadsheetChildEnv> {
9626
9835
  static template: string;
9627
9836
  static props: {
9628
9837
  gridDims: ObjectConstructor;
@@ -9666,7 +9875,7 @@ interface SnapLine<T extends HFigureAxisType | VFigureAxisType> {
9666
9875
  }
9667
9876
 
9668
9877
  type ContainerType = "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "dnd";
9669
- interface Props$H {
9878
+ interface Props$N {
9670
9879
  onFigureDeleted: () => void;
9671
9880
  }
9672
9881
  interface Container {
@@ -9685,6 +9894,7 @@ interface DndState {
9685
9894
  horizontalSnap?: Snap<HFigureAxisType>;
9686
9895
  verticalSnap?: Snap<VFigureAxisType>;
9687
9896
  cancelDnd: (() => void) | undefined;
9897
+ overlappingCarousel?: FigureUI;
9688
9898
  }
9689
9899
  /**
9690
9900
  * Each figure ⭐ is positioned inside a container `div` placed and sized
@@ -9746,7 +9956,7 @@ interface DndState {
9746
9956
  * that occurred during the drag & drop, and to position the figure on the correct pane.
9747
9957
  *
9748
9958
  */
9749
- declare class FiguresContainer extends Component<Props$H, SpreadsheetChildEnv> {
9959
+ declare class FiguresContainer extends Component<Props$N, SpreadsheetChildEnv> {
9750
9960
  static template: string;
9751
9961
  static props: {
9752
9962
  onFigureDeleted: FunctionConstructor;
@@ -9778,14 +9988,16 @@ declare class FiguresContainer extends Component<Props$H, SpreadsheetChildEnv> {
9778
9988
  private getOtherFigures;
9779
9989
  private getDndFigure;
9780
9990
  getFigureStyle(figureUI: FigureUI): string;
9991
+ getFigureClass(figureUI: FigureUI): string;
9781
9992
  private getSnap;
9782
9993
  private getSnapLineStyle;
9994
+ private getCarouselOverlappingChart;
9783
9995
  }
9784
9996
 
9785
- interface Props$G {
9997
+ interface Props$M {
9786
9998
  focusGrid: () => void;
9787
9999
  }
9788
- declare class GridAddRowsFooter extends Component<Props$G, SpreadsheetChildEnv> {
10000
+ declare class GridAddRowsFooter extends Component<Props$M, SpreadsheetChildEnv> {
9789
10001
  static template: string;
9790
10002
  static props: {
9791
10003
  focusGrid: FunctionConstructor;
@@ -9809,7 +10021,7 @@ declare class GridAddRowsFooter extends Component<Props$G, SpreadsheetChildEnv>
9809
10021
  private onExternalClick;
9810
10022
  }
9811
10023
 
9812
- interface Props$F {
10024
+ interface Props$L {
9813
10025
  onCellDoubleClicked: (col: HeaderIndex, row: HeaderIndex) => void;
9814
10026
  onCellClicked: (col: HeaderIndex, row: HeaderIndex, modifiers: GridClickModifiers, ev: PointerEvent | MouseEvent) => void;
9815
10027
  onCellRightClicked: (col: HeaderIndex, row: HeaderIndex, coordinates: DOMCoordinates) => void;
@@ -9822,7 +10034,7 @@ interface Props$F {
9822
10034
  height: number;
9823
10035
  };
9824
10036
  }
9825
- declare class GridOverlay extends Component<Props$F, SpreadsheetChildEnv> {
10037
+ declare class GridOverlay extends Component<Props$L, SpreadsheetChildEnv> {
9826
10038
  static template: string;
9827
10039
  static props: {
9828
10040
  onCellDoubleClicked: {
@@ -9882,12 +10094,12 @@ declare class GridOverlay extends Component<Props$F, SpreadsheetChildEnv> {
9882
10094
  private getInteractiveIconAtEvent;
9883
10095
  }
9884
10096
 
9885
- interface Props$E {
10097
+ interface Props$K {
9886
10098
  gridRect: Rect;
9887
10099
  onClosePopover: () => void;
9888
10100
  onMouseWheel: (ev: WheelEvent) => void;
9889
10101
  }
9890
- declare class GridPopover extends Component<Props$E, SpreadsheetChildEnv> {
10102
+ declare class GridPopover extends Component<Props$K, SpreadsheetChildEnv> {
9891
10103
  static template: string;
9892
10104
  static props: {
9893
10105
  onClosePopover: FunctionConstructor;
@@ -9903,7 +10115,7 @@ declare class GridPopover extends Component<Props$E, SpreadsheetChildEnv> {
9903
10115
  get cellPopover(): PositionedCellPopoverComponent | ClosedCellPopover;
9904
10116
  }
9905
10117
 
9906
- interface Props$D {
10118
+ interface Props$J {
9907
10119
  headersGroups: ConsecutiveIndexes[];
9908
10120
  offset: number;
9909
10121
  headerRange: {
@@ -9911,7 +10123,7 @@ interface Props$D {
9911
10123
  end: HeaderIndex;
9912
10124
  };
9913
10125
  }
9914
- declare class UnhideRowHeaders extends Component<Props$D, SpreadsheetChildEnv> {
10126
+ declare class UnhideRowHeaders extends Component<Props$J, SpreadsheetChildEnv> {
9915
10127
  static template: string;
9916
10128
  static props: {
9917
10129
  headersGroups: ArrayConstructor;
@@ -9930,7 +10142,7 @@ declare class UnhideRowHeaders extends Component<Props$D, SpreadsheetChildEnv> {
9930
10142
  unhide(hiddenElements: HeaderIndex[]): void;
9931
10143
  isVisible(header: HeaderIndex): boolean;
9932
10144
  }
9933
- declare class UnhideColumnHeaders extends Component<Props$D, SpreadsheetChildEnv> {
10145
+ declare class UnhideColumnHeaders extends Component<Props$J, SpreadsheetChildEnv> {
9934
10146
  static template: string;
9935
10147
  static props: {
9936
10148
  headersGroups: ArrayConstructor;
@@ -10123,13 +10335,13 @@ declare class HeadersOverlay extends Component<any, SpreadsheetChildEnv> {
10123
10335
  }
10124
10336
 
10125
10337
  type Orientation$1 = "n" | "s" | "w" | "e";
10126
- interface Props$C {
10338
+ interface Props$I {
10127
10339
  zone: Zone;
10128
10340
  orientation: Orientation$1;
10129
10341
  isMoving: boolean;
10130
10342
  onMoveHighlight: (ev: PointerEvent) => void;
10131
10343
  }
10132
- declare class Border extends Component<Props$C, SpreadsheetChildEnv> {
10344
+ declare class Border extends Component<Props$I, SpreadsheetChildEnv> {
10133
10345
  static template: string;
10134
10346
  static props: {
10135
10347
  zone: ObjectConstructor;
@@ -10142,14 +10354,14 @@ declare class Border extends Component<Props$C, SpreadsheetChildEnv> {
10142
10354
  }
10143
10355
 
10144
10356
  type Orientation = "nw" | "ne" | "sw" | "se" | "n" | "s" | "e" | "w";
10145
- interface Props$B {
10357
+ interface Props$H {
10146
10358
  zone: Zone;
10147
10359
  color: Color;
10148
10360
  orientation: Orientation;
10149
10361
  isResizing: boolean;
10150
10362
  onResizeHighlight: (ev: PointerEvent, dirX: ResizeDirection, dirY: ResizeDirection) => void;
10151
10363
  }
10152
- declare class Corner extends Component<Props$B, SpreadsheetChildEnv> {
10364
+ declare class Corner extends Component<Props$H, SpreadsheetChildEnv> {
10153
10365
  static template: string;
10154
10366
  static props: {
10155
10367
  zone: ObjectConstructor;
@@ -10198,7 +10410,7 @@ declare class Highlight extends Component<HighlightProps, SpreadsheetChildEnv> {
10198
10410
 
10199
10411
  type ScrollDirection = "horizontal" | "vertical";
10200
10412
 
10201
- interface Props$A {
10413
+ interface Props$G {
10202
10414
  width: Pixel;
10203
10415
  height: Pixel;
10204
10416
  direction: ScrollDirection;
@@ -10206,7 +10418,7 @@ interface Props$A {
10206
10418
  offset: Pixel;
10207
10419
  onScroll: (offset: Pixel) => void;
10208
10420
  }
10209
- declare class ScrollBar extends Component<Props$A> {
10421
+ declare class ScrollBar extends Component<Props$G> {
10210
10422
  static props: {
10211
10423
  width: {
10212
10424
  type: NumberConstructor;
@@ -10234,10 +10446,10 @@ declare class ScrollBar extends Component<Props$A> {
10234
10446
  onScroll(ev: any): void;
10235
10447
  }
10236
10448
 
10237
- interface Props$z {
10449
+ interface Props$F {
10238
10450
  leftOffset: number;
10239
10451
  }
10240
- declare class HorizontalScrollBar extends Component<Props$z, SpreadsheetChildEnv> {
10452
+ declare class HorizontalScrollBar extends Component<Props$F, SpreadsheetChildEnv> {
10241
10453
  static props: {
10242
10454
  leftOffset: {
10243
10455
  type: NumberConstructor;
@@ -10263,10 +10475,10 @@ declare class HorizontalScrollBar extends Component<Props$z, SpreadsheetChildEnv
10263
10475
  onScroll(offset: any): void;
10264
10476
  }
10265
10477
 
10266
- interface Props$y {
10478
+ interface Props$E {
10267
10479
  topOffset: number;
10268
10480
  }
10269
- declare class VerticalScrollBar extends Component<Props$y, SpreadsheetChildEnv> {
10481
+ declare class VerticalScrollBar extends Component<Props$E, SpreadsheetChildEnv> {
10270
10482
  static props: {
10271
10483
  topOffset: {
10272
10484
  type: NumberConstructor;
@@ -10301,13 +10513,13 @@ declare class Selection extends Component<{}, SpreadsheetChildEnv> {
10301
10513
  get highlightProps(): HighlightProps;
10302
10514
  }
10303
10515
 
10304
- interface Props$x {
10516
+ interface Props$D {
10305
10517
  table: Table;
10306
10518
  }
10307
10519
  interface State$3 {
10308
10520
  highlightZone: Zone | undefined;
10309
10521
  }
10310
- declare class TableResizer extends Component<Props$x, SpreadsheetChildEnv> {
10522
+ declare class TableResizer extends Component<Props$D, SpreadsheetChildEnv> {
10311
10523
  static template: string;
10312
10524
  static props: {
10313
10525
  table: ObjectConstructor;
@@ -10336,11 +10548,11 @@ declare class TableResizer extends Component<Props$x, SpreadsheetChildEnv> {
10336
10548
  * - a vertical resizer (same, for rows)
10337
10549
  */
10338
10550
  type ContextMenuType = "ROW" | "COL" | "CELL" | "FILTER" | "GROUP_HEADERS" | "UNGROUP_HEADERS";
10339
- interface Props$w {
10551
+ interface Props$C {
10340
10552
  exposeFocus: (focus: () => void) => void;
10341
10553
  getGridSize: () => DOMDimension;
10342
10554
  }
10343
- declare class Grid extends Component<Props$w, SpreadsheetChildEnv> {
10555
+ declare class Grid extends Component<Props$C, SpreadsheetChildEnv> {
10344
10556
  static template: string;
10345
10557
  static props: {
10346
10558
  exposeFocus: FunctionConstructor;
@@ -10452,26 +10664,26 @@ declare class MainChartPanelStore extends SpreadsheetStore {
10452
10664
  panel: "configuration" | "design";
10453
10665
  private creationContexts;
10454
10666
  activatePanel(panel: "configuration" | "design"): void;
10455
- changeChartType(figureId: UID, newDisplayType: string): void;
10667
+ changeChartType(chartId: UID, newDisplayType: string): void;
10456
10668
  private getChartDefinitionFromContextCreation;
10457
10669
  }
10458
10670
 
10459
- interface Props$v {
10460
- figureId: UID;
10671
+ interface Props$B {
10672
+ chartId: UID;
10461
10673
  chartPanelStore: MainChartPanelStore;
10462
10674
  }
10463
10675
  interface ChartTypePickerState {
10464
10676
  popoverProps: PopoverProps | undefined;
10465
10677
  popoverStyle: string;
10466
10678
  }
10467
- declare class ChartTypePicker extends Component<Props$v, SpreadsheetChildEnv> {
10679
+ declare class ChartTypePicker extends Component<Props$B, SpreadsheetChildEnv> {
10468
10680
  static template: string;
10469
10681
  static components: {
10470
10682
  Section: typeof Section;
10471
10683
  Popover: typeof Popover;
10472
10684
  };
10473
10685
  static props: {
10474
- figureId: StringConstructor;
10686
+ chartId: StringConstructor;
10475
10687
  chartPanelStore: ObjectConstructor;
10476
10688
  };
10477
10689
  categories: {
@@ -10500,11 +10712,11 @@ declare class ChartTypePicker extends Component<Props$v, SpreadsheetChildEnv> {
10500
10712
  private closePopover;
10501
10713
  }
10502
10714
 
10503
- interface Props$u {
10715
+ interface Props$A {
10504
10716
  onCloseSidePanel: () => void;
10505
- figureId: UID;
10717
+ chartId: UID;
10506
10718
  }
10507
- declare class ChartPanel extends Component<Props$u, SpreadsheetChildEnv> {
10719
+ declare class ChartPanel extends Component<Props$A, SpreadsheetChildEnv> {
10508
10720
  static template: string;
10509
10721
  static components: {
10510
10722
  Section: typeof Section;
@@ -10512,23 +10724,26 @@ declare class ChartPanel extends Component<Props$u, SpreadsheetChildEnv> {
10512
10724
  };
10513
10725
  static props: {
10514
10726
  onCloseSidePanel: FunctionConstructor;
10515
- figureId: StringConstructor;
10727
+ chartId: StringConstructor;
10516
10728
  };
10729
+ private panelContentRef;
10730
+ private scrollPositions;
10517
10731
  store: Store<MainChartPanelStore>;
10518
- get figureId(): UID;
10732
+ get chartId(): UID;
10519
10733
  setup(): void;
10520
- updateChart<T extends ChartDefinition>(figureId: UID, updateDefinition: Partial<T>): DispatchResult | undefined;
10521
- 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;
10522
10737
  onTypeChange(type: ChartType): void;
10523
10738
  get chartPanel(): ChartSidePanel;
10524
10739
  private getChartDefinition;
10525
10740
  }
10526
10741
 
10527
- interface Props$t {
10742
+ interface Props$z {
10528
10743
  onValueChange: (value: number) => void;
10529
10744
  value: number;
10530
10745
  }
10531
- declare class PieHoleSize extends Component<Props$t, SpreadsheetChildEnv> {
10746
+ declare class PieHoleSize extends Component<Props$z, SpreadsheetChildEnv> {
10532
10747
  static template: string;
10533
10748
  static components: {
10534
10749
  Section: typeof Section;
@@ -10541,13 +10756,13 @@ declare class PieHoleSize extends Component<Props$t, SpreadsheetChildEnv> {
10541
10756
  onChange(value: string): void;
10542
10757
  }
10543
10758
 
10544
- interface Props$s {
10545
- figureId: UID;
10759
+ interface Props$y {
10760
+ chartId: UID;
10546
10761
  definition: PieChartDefinition;
10547
- canUpdateChart: (figureID: UID, definition: GenericDefinition<PieChartDefinition>) => DispatchResult;
10548
- updateChart: (figureId: UID, definition: GenericDefinition<PieChartDefinition>) => DispatchResult;
10762
+ canUpdateChart: (chartId: UID, definition: GenericDefinition<PieChartDefinition>) => DispatchResult;
10763
+ updateChart: (chartId: UID, definition: GenericDefinition<PieChartDefinition>) => DispatchResult;
10549
10764
  }
10550
- declare class PieChartDesignPanel extends Component<Props$s, SpreadsheetChildEnv> {
10765
+ declare class PieChartDesignPanel extends Component<Props$y, SpreadsheetChildEnv> {
10551
10766
  static template: string;
10552
10767
  static components: {
10553
10768
  GeneralDesignEditor: typeof GeneralDesignEditor;
@@ -10555,9 +10770,11 @@ declare class PieChartDesignPanel extends Component<Props$s, SpreadsheetChildEnv
10555
10770
  ChartLegend: typeof ChartLegend;
10556
10771
  ChartShowValues: typeof ChartShowValues;
10557
10772
  PieHoleSize: typeof PieHoleSize;
10773
+ Checkbox: typeof Checkbox;
10774
+ ChartHumanizeNumbers: typeof ChartHumanizeNumbers;
10558
10775
  };
10559
10776
  static props: {
10560
- figureId: StringConstructor;
10777
+ chartId: StringConstructor;
10561
10778
  definition: ObjectConstructor;
10562
10779
  updateChart: FunctionConstructor;
10563
10780
  canUpdateChart: {
@@ -10566,12 +10783,13 @@ declare class PieChartDesignPanel extends Component<Props$s, SpreadsheetChildEnv
10566
10783
  };
10567
10784
  };
10568
10785
  onPieHoleSizeChange(pieHolePercentage: number): void;
10786
+ get defaultHoleSize(): number;
10569
10787
  }
10570
10788
 
10571
- interface Props$r {
10789
+ interface Props$x {
10572
10790
  items: ActionSpec[];
10573
10791
  }
10574
- declare class CogWheelMenu extends Component<Props$r, SpreadsheetChildEnv> {
10792
+ declare class CogWheelMenu extends Component<Props$x, SpreadsheetChildEnv> {
10575
10793
  static template: string;
10576
10794
  static components: {
10577
10795
  MenuPopover: typeof MenuPopover;
@@ -10654,14 +10872,14 @@ declare class FindAndReplaceStore extends SpreadsheetStore implements HighlightP
10654
10872
  get highlights(): Highlight$1[];
10655
10873
  }
10656
10874
 
10657
- interface Props$q {
10875
+ interface Props$w {
10658
10876
  deferUpdate: boolean;
10659
10877
  isDirty: boolean;
10660
10878
  toggleDeferUpdate: (value: boolean) => void;
10661
10879
  discard: () => void;
10662
10880
  apply: () => void;
10663
10881
  }
10664
- declare class PivotDeferUpdate extends Component<Props$q, SpreadsheetChildEnv> {
10882
+ declare class PivotDeferUpdate extends Component<Props$w, SpreadsheetChildEnv> {
10665
10883
  static template: string;
10666
10884
  static props: {
10667
10885
  deferUpdate: BooleanConstructor;
@@ -10678,11 +10896,11 @@ declare class PivotDeferUpdate extends Component<Props$q, SpreadsheetChildEnv> {
10678
10896
  get deferUpdatesTooltip(): string;
10679
10897
  }
10680
10898
 
10681
- interface Props$p {
10899
+ interface Props$v {
10682
10900
  onFieldPicked: (field: string) => void;
10683
10901
  fields: PivotField[];
10684
10902
  }
10685
- declare class AddDimensionButton extends Component<Props$p, SpreadsheetChildEnv> {
10903
+ declare class AddDimensionButton extends Component<Props$v, SpreadsheetChildEnv> {
10686
10904
  static template: string;
10687
10905
  static components: {
10688
10906
  Popover: typeof Popover;
@@ -10718,15 +10936,16 @@ declare class AddDimensionButton extends Component<Props$p, SpreadsheetChildEnv>
10718
10936
  onKeyDown(ev: KeyboardEvent): void;
10719
10937
  }
10720
10938
 
10721
- interface Props$o {
10939
+ interface Props$u {
10722
10940
  value: string;
10723
10941
  onChange: (value: string) => void;
10724
10942
  class?: string;
10725
10943
  id?: string;
10726
10944
  placeholder?: string;
10727
10945
  autofocus?: boolean;
10946
+ alwaysShowBorder?: boolean;
10728
10947
  }
10729
- declare class TextInput extends Component<Props$o, SpreadsheetChildEnv> {
10948
+ declare class TextInput extends Component<Props$u, SpreadsheetChildEnv> {
10730
10949
  static template: string;
10731
10950
  static props: {
10732
10951
  value: StringConstructor;
@@ -10747,6 +10966,10 @@ declare class TextInput extends Component<Props$o, SpreadsheetChildEnv> {
10747
10966
  type: BooleanConstructor;
10748
10967
  optional: boolean;
10749
10968
  };
10969
+ alwaysShowBorder: {
10970
+ type: BooleanConstructor;
10971
+ optional: boolean;
10972
+ };
10750
10973
  };
10751
10974
  private inputRef;
10752
10975
  setup(): void;
@@ -10754,15 +10977,16 @@ declare class TextInput extends Component<Props$o, SpreadsheetChildEnv> {
10754
10977
  save(): void;
10755
10978
  onMouseDown(ev: MouseEvent): void;
10756
10979
  onMouseUp(ev: MouseEvent): void;
10980
+ get inputClass(): string;
10757
10981
  }
10758
10982
 
10759
- interface Props$n {
10983
+ interface Props$t {
10760
10984
  dimension: PivotCoreDimension | PivotCoreMeasure;
10761
10985
  onRemoved: (dimension: PivotCoreDimension | PivotCoreMeasure) => void;
10762
10986
  onNameUpdated?: (dimension: PivotCoreDimension | PivotCoreMeasure, name?: string) => void;
10763
10987
  type: "row" | "col" | "measure";
10764
10988
  }
10765
- declare class PivotDimension extends Component<Props$n, SpreadsheetChildEnv> {
10989
+ declare class PivotDimension extends Component<Props$t, SpreadsheetChildEnv> {
10766
10990
  static template: string;
10767
10991
  static props: {
10768
10992
  dimension: ObjectConstructor;
@@ -10786,13 +11010,13 @@ declare class PivotDimension extends Component<Props$n, SpreadsheetChildEnv> {
10786
11010
  updateName(name: string): void;
10787
11011
  }
10788
11012
 
10789
- interface Props$m {
11013
+ interface Props$s {
10790
11014
  dimension: PivotDimension$1;
10791
11015
  onUpdated: (dimension: PivotDimension$1, ev: InputEvent) => void;
10792
11016
  availableGranularities: Set<string>;
10793
11017
  allGranularities: string[];
10794
11018
  }
10795
- declare class PivotDimensionGranularity extends Component<Props$m, SpreadsheetChildEnv> {
11019
+ declare class PivotDimensionGranularity extends Component<Props$s, SpreadsheetChildEnv> {
10796
11020
  static template: string;
10797
11021
  static props: {
10798
11022
  dimension: ObjectConstructor;
@@ -10817,11 +11041,11 @@ declare class PivotDimensionGranularity extends Component<Props$m, SpreadsheetCh
10817
11041
  };
10818
11042
  }
10819
11043
 
10820
- interface Props$l {
11044
+ interface Props$r {
10821
11045
  dimension: PivotDimension$1;
10822
11046
  onUpdated: (dimension: PivotDimension$1, ev: InputEvent) => void;
10823
11047
  }
10824
- declare class PivotDimensionOrder extends Component<Props$l, SpreadsheetChildEnv> {
11048
+ declare class PivotDimensionOrder extends Component<Props$r, SpreadsheetChildEnv> {
10825
11049
  static template: string;
10826
11050
  static props: {
10827
11051
  dimension: ObjectConstructor;
@@ -10854,10 +11078,36 @@ declare function createPivotFormula(formulaId: string, cell: PivotTableCell): st
10854
11078
  * e.g. given the following formula PIVOT.VALUE("1", "stage_id", "42", "status", "won"),
10855
11079
  * the two group values are "42" and "won".
10856
11080
  */
10857
- 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;
10858
11082
  declare function toFunctionPivotValue(value: CellValue, dimension: Pick<PivotDimension$1, "type" | "granularity">): string;
11083
+ declare function createCustomFields(definition: PivotCoreDefinition, fields: PivotFields): PivotFields;
10859
11084
 
10860
- 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 {
10861
11111
  pivotId: string;
10862
11112
  definition: PivotRuntimeDefinition;
10863
11113
  measure: PivotMeasure;
@@ -10865,7 +11115,7 @@ interface Props$k {
10865
11115
  onRemoved: () => void;
10866
11116
  generateMeasureId: (fieldName: string, aggregator?: string) => string;
10867
11117
  }
10868
- declare class PivotMeasureEditor extends Component<Props$k> {
11118
+ declare class PivotMeasureEditor extends Component<Props$p> {
10869
11119
  static template: string;
10870
11120
  static components: {
10871
11121
  PivotDimension: typeof PivotDimension;
@@ -10890,11 +11140,11 @@ declare class PivotMeasureEditor extends Component<Props$k> {
10890
11140
  get isCalculatedMeasureInvalid(): boolean;
10891
11141
  }
10892
11142
 
10893
- interface Props$j {
11143
+ interface Props$o {
10894
11144
  definition: PivotRuntimeDefinition;
10895
11145
  pivotId: UID;
10896
11146
  }
10897
- declare class PivotSortSection extends Component<Props$j, SpreadsheetChildEnv> {
11147
+ declare class PivotSortSection extends Component<Props$o, SpreadsheetChildEnv> {
10898
11148
  static template: string;
10899
11149
  static components: {
10900
11150
  Section: typeof Section;
@@ -10911,7 +11161,7 @@ declare class PivotSortSection extends Component<Props$j, SpreadsheetChildEnv> {
10911
11161
  }[];
10912
11162
  }
10913
11163
 
10914
- interface Props$i {
11164
+ interface Props$n {
10915
11165
  definition: PivotRuntimeDefinition;
10916
11166
  onDimensionsUpdated: (definition: Partial<PivotCoreDefinition>) => void;
10917
11167
  unusedGroupableFields: PivotField[];
@@ -10922,7 +11172,7 @@ interface Props$i {
10922
11172
  getScrollableContainerEl?: () => HTMLElement;
10923
11173
  pivotId: UID;
10924
11174
  }
10925
- declare class PivotLayoutConfigurator extends Component<Props$i, SpreadsheetChildEnv> {
11175
+ declare class PivotLayoutConfigurator extends Component<Props$n, SpreadsheetChildEnv> {
10926
11176
  static template: string;
10927
11177
  static components: {
10928
11178
  AddDimensionButton: typeof AddDimensionButton;
@@ -10931,6 +11181,7 @@ declare class PivotLayoutConfigurator extends Component<Props$i, SpreadsheetChil
10931
11181
  PivotDimensionGranularity: typeof PivotDimensionGranularity;
10932
11182
  PivotMeasureEditor: typeof PivotMeasureEditor;
10933
11183
  PivotSortSection: typeof PivotSortSection;
11184
+ PivotCustomGroupsCollapsible: typeof PivotCustomGroupsCollapsible;
10934
11185
  };
10935
11186
  static props: {
10936
11187
  definition: ObjectConstructor;
@@ -10970,9 +11221,11 @@ declare class PivotLayoutConfigurator extends Component<Props$i, SpreadsheetChil
10970
11221
  private getMeasureId;
10971
11222
  private getDefaultMeasureAggregator;
10972
11223
  addCalculatedMeasure(): void;
11224
+ getCustomField(dimension: PivotDimension$1): PivotCustomGroupedField | undefined;
10973
11225
  updateOrder(updateDimension: PivotDimension$1, order?: SortDirection): void;
10974
11226
  updateGranularity(dimension: PivotDimension$1, granularity: Granularity): void;
10975
11227
  getMeasureDescription(measure: PivotMeasure): string;
11228
+ getHugeDimensionErrorMessage(dimension: PivotDimension$1): string | undefined;
10976
11229
  }
10977
11230
 
10978
11231
  declare class PivotSidePanelStore extends SpreadsheetStore {
@@ -10982,6 +11235,7 @@ declare class PivotSidePanelStore extends SpreadsheetStore {
10982
11235
  private draft;
10983
11236
  private notification;
10984
11237
  private alreadyNotified;
11238
+ private alreadyNotifiedForPivotSize;
10985
11239
  constructor(get: Get, pivotId: UID);
10986
11240
  handle(cmd: Command): void;
10987
11241
  get fields(): PivotFields;
@@ -11013,11 +11267,11 @@ declare class PivotSidePanelStore extends SpreadsheetStore {
11013
11267
  private areDomainFieldsValid;
11014
11268
  }
11015
11269
 
11016
- interface Props$h {
11270
+ interface Props$m {
11017
11271
  pivotId: UID;
11018
11272
  flipAxis: () => void;
11019
11273
  }
11020
- declare class PivotTitleSection extends Component<Props$h, SpreadsheetChildEnv> {
11274
+ declare class PivotTitleSection extends Component<Props$m, SpreadsheetChildEnv> {
11021
11275
  static template: string;
11022
11276
  static components: {
11023
11277
  CogWheelMenu: typeof CogWheelMenu;
@@ -11114,6 +11368,59 @@ declare function getFirstPivotFunction(tokens: Token[]): {
11114
11368
  */
11115
11369
  declare function getNumberOfPivotFunctions(tokens: Token[]): number;
11116
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
+
11117
11424
  declare class FullScreenChart extends Component<{}, SpreadsheetChildEnv> {
11118
11425
  static template: string;
11119
11426
  static props: {};
@@ -11126,6 +11433,7 @@ declare class FullScreenChart extends Component<{}, SpreadsheetChildEnv> {
11126
11433
  figureRegistry: Registry<FigureContent>;
11127
11434
  setup(): void;
11128
11435
  get figureUI(): FigureUI | undefined;
11436
+ get chartId(): UID | undefined;
11129
11437
  exitFullScreen(): void;
11130
11438
  onKeyDown(ev: KeyboardEvent): void;
11131
11439
  get chartComponent(): (new (...args: any) => Component) | undefined;
@@ -11149,7 +11457,7 @@ interface PivotDialogValue {
11149
11457
  value: string;
11150
11458
  isMissing: boolean;
11151
11459
  }
11152
- interface Props$g {
11460
+ interface Props$l {
11153
11461
  pivotId: UID;
11154
11462
  onCellClicked: (formula: string) => void;
11155
11463
  }
@@ -11158,7 +11466,7 @@ interface TableData {
11158
11466
  rows: PivotDialogRow[];
11159
11467
  values: PivotDialogValue[][];
11160
11468
  }
11161
- declare class PivotHTMLRenderer extends Component<Props$g, SpreadsheetChildEnv> {
11469
+ declare class PivotHTMLRenderer extends Component<Props$l, SpreadsheetChildEnv> {
11162
11470
  static template: string;
11163
11471
  static components: {
11164
11472
  Checkbox: typeof Checkbox;
@@ -11215,36 +11523,59 @@ declare class PivotHTMLRenderer extends Component<Props$g, SpreadsheetChildEnv>
11215
11523
  _buildValues(id: UID, table: SpreadsheetPivotTable): PivotDialogValue[][];
11216
11524
  }
11217
11525
 
11218
- interface Props$f {
11219
- figureId: UID;
11526
+ interface Props$k {
11527
+ chartId: UID;
11220
11528
  definition: ChartWithDataSetDefinition;
11221
- updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
11222
- canUpdateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
11529
+ updateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
11530
+ canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
11223
11531
  }
11224
- declare class ChartShowDataMarkers extends Component<Props$f, SpreadsheetChildEnv> {
11532
+ declare class ChartShowDataMarkers extends Component<Props$k, SpreadsheetChildEnv> {
11225
11533
  static template: string;
11226
11534
  static components: {
11227
11535
  Checkbox: typeof Checkbox;
11228
11536
  };
11229
11537
  static props: {
11230
- figureId: StringConstructor;
11538
+ chartId: StringConstructor;
11231
11539
  definition: ObjectConstructor;
11232
11540
  updateChart: FunctionConstructor;
11233
11541
  canUpdateChart: FunctionConstructor;
11234
11542
  };
11235
11543
  }
11236
11544
 
11237
- interface Props$e {
11238
- 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;
11239
11569
  definition: ComboChartDefinition;
11240
- canUpdateChart: (figureID: UID, definition: GenericDefinition<ComboChartDefinition>) => DispatchResult;
11241
- updateChart: (figureId: UID, definition: GenericDefinition<ComboChartDefinition>) => DispatchResult;
11570
+ canUpdateChart: (chartId: UID, definition: GenericDefinition<ComboChartDefinition>) => DispatchResult;
11571
+ updateChart: (chartId: UID, definition: GenericDefinition<ComboChartDefinition>) => DispatchResult;
11242
11572
  }
11243
- declare class ComboChartDesignPanel extends ChartWithAxisDesignPanel<Props$e> {
11573
+ declare class ComboChartDesignPanel extends GenericZoomableChartDesignPanel<Props$i> {
11244
11574
  static template: string;
11245
11575
  static components: {
11246
11576
  ChartShowDataMarkers: typeof ChartShowDataMarkers;
11247
11577
  RadioSelection: typeof RadioSelection;
11578
+ Checkbox: typeof Checkbox;
11248
11579
  GeneralDesignEditor: typeof GeneralDesignEditor;
11249
11580
  SidePanelCollapsible: typeof SidePanelCollapsible;
11250
11581
  Section: typeof Section;
@@ -11252,6 +11583,7 @@ declare class ComboChartDesignPanel extends ChartWithAxisDesignPanel<Props$e> {
11252
11583
  SeriesWithAxisDesignEditor: typeof SeriesWithAxisDesignEditor;
11253
11584
  ChartLegend: typeof ChartLegend;
11254
11585
  ChartShowValues: typeof ChartShowValues;
11586
+ ChartHumanizeNumbers: typeof ChartHumanizeNumbers;
11255
11587
  };
11256
11588
  seriesTypeChoices: {
11257
11589
  value: string;
@@ -11261,13 +11593,13 @@ declare class ComboChartDesignPanel extends ChartWithAxisDesignPanel<Props$e> {
11261
11593
  getDataSeriesType(index: number): "line" | "bar";
11262
11594
  }
11263
11595
 
11264
- interface Props$d {
11265
- figureId: UID;
11596
+ interface Props$h {
11597
+ chartId: UID;
11266
11598
  definition: FunnelChartDefinition;
11267
- canUpdateChart: (figureID: UID, definition: Partial<FunnelChartDefinition>) => DispatchResult;
11268
- updateChart: (figureId: UID, definition: Partial<FunnelChartDefinition>) => DispatchResult;
11599
+ canUpdateChart: (chartId: UID, definition: Partial<FunnelChartDefinition>) => DispatchResult;
11600
+ updateChart: (chartId: UID, definition: Partial<FunnelChartDefinition>) => DispatchResult;
11269
11601
  }
11270
- declare class FunnelChartDesignPanel extends Component<Props$d, SpreadsheetChildEnv> {
11602
+ declare class FunnelChartDesignPanel extends Component<Props$h, SpreadsheetChildEnv> {
11271
11603
  static template: string;
11272
11604
  static components: {
11273
11605
  ChartShowValues: typeof ChartShowValues;
@@ -11275,9 +11607,10 @@ declare class FunnelChartDesignPanel extends Component<Props$d, SpreadsheetChild
11275
11607
  SidePanelCollapsible: typeof SidePanelCollapsible;
11276
11608
  RoundColorPicker: typeof RoundColorPicker;
11277
11609
  Section: typeof Section;
11610
+ ChartHumanizeNumbers: typeof ChartHumanizeNumbers;
11278
11611
  };
11279
11612
  static props: {
11280
- figureId: StringConstructor;
11613
+ chartId: StringConstructor;
11281
11614
  definition: ObjectConstructor;
11282
11615
  updateChart: FunctionConstructor;
11283
11616
  canUpdateChart: FunctionConstructor;
@@ -11289,13 +11622,13 @@ declare class FunnelChartDesignPanel extends Component<Props$d, SpreadsheetChild
11289
11622
  updateFunnelItemColor(index: number, color: string): void;
11290
11623
  }
11291
11624
 
11292
- interface Props$c {
11293
- figureId: UID;
11625
+ interface Props$g {
11626
+ chartId: UID;
11294
11627
  definition: GeoChartDefinition;
11295
- canUpdateChart: (figureID: UID, definition: Partial<GeoChartDefinition>) => DispatchResult;
11296
- updateChart: (figureId: UID, definition: Partial<GeoChartDefinition>) => DispatchResult;
11628
+ canUpdateChart: (chartId: UID, definition: Partial<GeoChartDefinition>) => DispatchResult;
11629
+ updateChart: (chartId: UID, definition: Partial<GeoChartDefinition>) => DispatchResult;
11297
11630
  }
11298
- declare class GeoChartDesignPanel extends ChartWithAxisDesignPanel<Props$c> {
11631
+ declare class GeoChartDesignPanel extends ChartWithAxisDesignPanel<Props$g> {
11299
11632
  static template: string;
11300
11633
  static components: {
11301
11634
  RoundColorPicker: typeof RoundColorPicker;
@@ -11306,6 +11639,7 @@ declare class GeoChartDesignPanel extends ChartWithAxisDesignPanel<Props$c> {
11306
11639
  SeriesWithAxisDesignEditor: typeof SeriesWithAxisDesignEditor;
11307
11640
  ChartLegend: typeof ChartLegend;
11308
11641
  ChartShowValues: typeof ChartShowValues;
11642
+ ChartHumanizeNumbers: typeof ChartHumanizeNumbers;
11309
11643
  };
11310
11644
  colorScalesChoices: Record<"blues" | "cividis" | "greens" | "greys" | "oranges" | "purples" | "rainbow" | "reds" | "viridis", string>;
11311
11645
  updateColorScaleType(ev: Event): void;
@@ -11319,18 +11653,18 @@ declare class GeoChartDesignPanel extends ChartWithAxisDesignPanel<Props$c> {
11319
11653
  setCustomColorScaleColor(colorType: "minColor" | "midColor" | "maxColor", color: Color): void;
11320
11654
  }
11321
11655
 
11322
- interface Props$b {
11323
- figureId: UID;
11656
+ interface Props$f {
11657
+ chartId: UID;
11324
11658
  definition: GeoChartDefinition;
11325
- updateChart: (figureId: UID, definition: Partial<GeoChartDefinition>) => DispatchResult;
11659
+ updateChart: (chartId: UID, definition: Partial<GeoChartDefinition>) => DispatchResult;
11326
11660
  }
11327
- declare class GeoChartRegionSelectSection extends Component<Props$b, SpreadsheetChildEnv> {
11661
+ declare class GeoChartRegionSelectSection extends Component<Props$f, SpreadsheetChildEnv> {
11328
11662
  static template: string;
11329
11663
  static components: {
11330
11664
  Section: typeof Section;
11331
11665
  };
11332
11666
  static props: {
11333
- figureId: StringConstructor;
11667
+ chartId: StringConstructor;
11334
11668
  definition: ObjectConstructor;
11335
11669
  updateChart: FunctionConstructor;
11336
11670
  };
@@ -11339,16 +11673,17 @@ declare class GeoChartRegionSelectSection extends Component<Props$b, Spreadsheet
11339
11673
  get selectedRegion(): string;
11340
11674
  }
11341
11675
 
11342
- interface Props$a {
11343
- figureId: UID;
11344
- definition: ComboChartDefinition;
11345
- canUpdateChart: (figureID: UID, definition: GenericDefinition<ComboChartDefinition>) => DispatchResult;
11346
- 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;
11347
11681
  }
11348
- declare class LineChartDesignPanel extends ChartWithAxisDesignPanel<Props$a> {
11682
+ declare class LineChartDesignPanel extends GenericZoomableChartDesignPanel<Props$e> {
11349
11683
  static template: string;
11350
11684
  static components: {
11351
11685
  ChartShowDataMarkers: typeof ChartShowDataMarkers;
11686
+ Checkbox: typeof Checkbox;
11352
11687
  GeneralDesignEditor: typeof GeneralDesignEditor;
11353
11688
  SidePanelCollapsible: typeof SidePanelCollapsible;
11354
11689
  Section: typeof Section;
@@ -11356,16 +11691,17 @@ declare class LineChartDesignPanel extends ChartWithAxisDesignPanel<Props$a> {
11356
11691
  SeriesWithAxisDesignEditor: typeof SeriesWithAxisDesignEditor;
11357
11692
  ChartLegend: typeof ChartLegend;
11358
11693
  ChartShowValues: typeof ChartShowValues;
11694
+ ChartHumanizeNumbers: typeof ChartHumanizeNumbers;
11359
11695
  };
11360
11696
  }
11361
11697
 
11362
- interface Props$9 {
11363
- figureId: UID;
11698
+ interface Props$d {
11699
+ chartId: UID;
11364
11700
  definition: RadarChartDefinition;
11365
- canUpdateChart: (figureID: UID, definition: GenericDefinition<RadarChartDefinition>) => DispatchResult;
11366
- updateChart: (figureId: UID, definition: GenericDefinition<RadarChartDefinition>) => DispatchResult;
11701
+ canUpdateChart: (chartId: UID, definition: GenericDefinition<RadarChartDefinition>) => DispatchResult;
11702
+ updateChart: (chartId: UID, definition: GenericDefinition<RadarChartDefinition>) => DispatchResult;
11367
11703
  }
11368
- declare class RadarChartDesignPanel extends Component<Props$9, SpreadsheetChildEnv> {
11704
+ declare class RadarChartDesignPanel extends Component<Props$d, SpreadsheetChildEnv> {
11369
11705
  static template: string;
11370
11706
  static components: {
11371
11707
  GeneralDesignEditor: typeof GeneralDesignEditor;
@@ -11374,20 +11710,157 @@ declare class RadarChartDesignPanel extends Component<Props$9, SpreadsheetChildE
11374
11710
  ChartLegend: typeof ChartLegend;
11375
11711
  ChartShowValues: typeof ChartShowValues;
11376
11712
  ChartShowDataMarkers: typeof ChartShowDataMarkers;
11713
+ Checkbox: typeof Checkbox;
11714
+ ChartHumanizeNumbers: typeof ChartHumanizeNumbers;
11377
11715
  };
11378
11716
  static props: {
11379
- figureId: StringConstructor;
11717
+ chartId: StringConstructor;
11380
11718
  definition: ObjectConstructor;
11381
11719
  canUpdateChart: FunctionConstructor;
11382
11720
  updateChart: FunctionConstructor;
11383
11721
  };
11384
11722
  }
11385
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
+
11386
11859
  interface Props$8 {
11387
- figureId: UID;
11860
+ chartId: UID;
11388
11861
  definition: WaterfallChartDefinition;
11389
- canUpdateChart: (figureID: UID, definition: GenericDefinition<WaterfallChartDefinition>) => DispatchResult;
11390
- updateChart: (figureId: UID, definition: GenericDefinition<WaterfallChartDefinition>) => DispatchResult;
11862
+ canUpdateChart: (chartId: UID, definition: GenericDefinition<WaterfallChartDefinition>) => DispatchResult;
11863
+ updateChart: (chartId: UID, definition: GenericDefinition<WaterfallChartDefinition>) => DispatchResult;
11391
11864
  }
11392
11865
  declare class WaterfallChartDesignPanel extends Component<Props$8, SpreadsheetChildEnv> {
11393
11866
  static template: string;
@@ -11401,9 +11874,10 @@ declare class WaterfallChartDesignPanel extends Component<Props$8, SpreadsheetCh
11401
11874
  AxisDesignEditor: typeof AxisDesignEditor;
11402
11875
  RadioSelection: typeof RadioSelection;
11403
11876
  ChartLegend: typeof ChartLegend;
11877
+ ChartHumanizeNumbers: typeof ChartHumanizeNumbers;
11404
11878
  };
11405
11879
  static props: {
11406
- figureId: StringConstructor;
11880
+ chartId: StringConstructor;
11407
11881
  definition: ObjectConstructor;
11408
11882
  updateChart: FunctionConstructor;
11409
11883
  canUpdateChart: {
@@ -11424,6 +11898,7 @@ declare class WaterfallChartDesignPanel extends Component<Props$8, SpreadsheetCh
11424
11898
  get negativeValuesColor(): Color | "#EA6175";
11425
11899
  get subTotalValuesColor(): Color | "#AAAAAA";
11426
11900
  updateVerticalAxisPosition(value: "left" | "right"): void;
11901
+ onToggleZoom(zoomable: boolean): void;
11427
11902
  }
11428
11903
 
11429
11904
  declare class PivotMeasureDisplayPanelStore extends SpreadsheetStore {
@@ -11447,6 +11922,9 @@ declare class PivotMeasureDisplayPanelStore extends SpreadsheetStore {
11447
11922
  fieldName: string;
11448
11923
  order?: SortDirection;
11449
11924
  granularity?: Granularity | string;
11925
+ isCustomField?: boolean;
11926
+ parentField?: string;
11927
+ customGroups?: PivotCustomGroup[];
11450
11928
  }[];
11451
11929
  get doesDisplayNeedsValue(): boolean;
11452
11930
  private isDisplayValueDependant;
@@ -11495,6 +11973,7 @@ declare class BarChart extends AbstractChart {
11495
11973
  readonly axesDesign?: AxesDesign;
11496
11974
  readonly horizontal?: boolean;
11497
11975
  readonly showValues?: boolean;
11976
+ readonly zoomable?: boolean;
11498
11977
  constructor(definition: BarChartDefinition, sheetId: UID, getters: CoreGetters);
11499
11978
  static transformDefinition(chartSheetId: UID, definition: BarChartDefinition, applyChange: RangeAdapter$1): BarChartDefinition;
11500
11979
  static validateChartDefinition(validator: Validator, definition: BarChartDefinition): CommandResult | CommandResult[];
@@ -11542,6 +12021,7 @@ declare class LineChart extends AbstractChart {
11542
12021
  readonly fillArea?: boolean;
11543
12022
  readonly showValues?: boolean;
11544
12023
  readonly hideDataMarkers?: boolean;
12024
+ readonly zoomable?: boolean;
11545
12025
  constructor(definition: LineChartDefinition, sheetId: UID, getters: CoreGetters);
11546
12026
  static validateChartDefinition(validator: Validator, definition: LineChartDefinition): CommandResult | CommandResult[];
11547
12027
  static transformDefinition(chartSheetId: UID, definition: LineChartDefinition, applyChange: RangeAdapter$1): LineChartDefinition;
@@ -11590,7 +12070,7 @@ declare class ScorecardChart extends AbstractChart {
11590
12070
  readonly baselineColorUp: Color;
11591
12071
  readonly baselineColorDown: Color;
11592
12072
  readonly fontColor?: Color;
11593
- readonly humanize?: boolean;
12073
+ readonly humanize: boolean;
11594
12074
  readonly type = "scorecard";
11595
12075
  constructor(definition: ScorecardChartDefinition, sheetId: UID, getters: CoreGetters);
11596
12076
  static validateChartDefinition(validator: Validator, definition: ScorecardChartDefinition): CommandResult | CommandResult[];
@@ -11623,6 +12103,7 @@ declare class WaterfallChart extends AbstractChart {
11623
12103
  readonly dataSetDesign: CustomizedDataSet[];
11624
12104
  readonly axesDesign?: AxesDesign;
11625
12105
  readonly showValues?: boolean;
12106
+ readonly zoomable?: boolean;
11626
12107
  constructor(definition: WaterfallChartDefinition, sheetId: UID, getters: CoreGetters);
11627
12108
  static transformDefinition(chartSheetId: UID, definition: WaterfallChartDefinition, applyChange: RangeAdapter$1): WaterfallChartDefinition;
11628
12109
  static validateChartDefinition(validator: Validator, definition: WaterfallChartDefinition): CommandResult | CommandResult[];
@@ -11667,6 +12148,39 @@ declare class ClientFocusStore extends SpreadsheetStore {
11667
12148
  unfocusClient(clientId: ClientId): void;
11668
12149
  }
11669
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
+
11670
12184
  declare class LocalTransportService implements TransportService<CollaborationMessage> {
11671
12185
  private listeners;
11672
12186
  sendMessage(message: CollaborationMessage): Promise<void>;
@@ -12499,6 +13013,7 @@ declare const helpers: {
12499
13013
  getUniqueText: typeof getUniqueText;
12500
13014
  isNumber: typeof isNumber;
12501
13015
  isDateTime: typeof isDateTime;
13016
+ createCustomFields: typeof createCustomFields;
12502
13017
  };
12503
13018
  declare const links: {
12504
13019
  isMarkdownLink: typeof isMarkdownLink;
@@ -12518,6 +13033,7 @@ declare const components: {
12518
13033
  ChartPanel: typeof ChartPanel;
12519
13034
  ChartFigure: typeof ChartFigure;
12520
13035
  ChartJsComponent: typeof ChartJsComponent;
13036
+ ZoomableChartJsComponent: typeof ZoomableChartJsComponent;
12521
13037
  Grid: typeof Grid;
12522
13038
  GridOverlay: typeof GridOverlay;
12523
13039
  ScorecardChart: typeof ScorecardChart$1;
@@ -12526,6 +13042,7 @@ declare const components: {
12526
13042
  PieChartDesignPanel: typeof PieChartDesignPanel;
12527
13043
  GenericChartConfigPanel: typeof GenericChartConfigPanel;
12528
13044
  ChartWithAxisDesignPanel: typeof ChartWithAxisDesignPanel;
13045
+ GenericZoomableChartDesignPanel: typeof GenericZoomableChartDesignPanel;
12529
13046
  LineChartDesignPanel: typeof LineChartDesignPanel;
12530
13047
  GaugeChartConfigPanel: typeof GaugeChartConfigPanel;
12531
13048
  GaugeChartDesignPanel: typeof GaugeChartDesignPanel;
@@ -12536,6 +13053,8 @@ declare const components: {
12536
13053
  WaterfallChartDesignPanel: typeof WaterfallChartDesignPanel;
12537
13054
  ComboChartDesignPanel: typeof ComboChartDesignPanel;
12538
13055
  FunnelChartDesignPanel: typeof FunnelChartDesignPanel;
13056
+ SunburstChartDesignPanel: typeof SunburstChartDesignPanel;
13057
+ TreeMapChartDesignPanel: typeof TreeMapChartDesignPanel;
12539
13058
  ChartTypePicker: typeof ChartTypePicker;
12540
13059
  FigureComponent: typeof FigureComponent;
12541
13060
  MenuPopover: typeof MenuPopover;
@@ -12565,6 +13084,7 @@ declare const hooks: {
12565
13084
  };
12566
13085
  declare const stores: {
12567
13086
  useStoreProvider: typeof useStoreProvider;
13087
+ ChartDashboardMenuStore: typeof ChartDashboardMenuStore;
12568
13088
  DependencyContainer: typeof DependencyContainer;
12569
13089
  CellPopoverStore: typeof CellPopoverStore;
12570
13090
  ComposerFocusStore: typeof ComposerFocusStore;
@@ -12584,6 +13104,7 @@ declare const stores: {
12584
13104
  PivotSidePanelStore: typeof PivotSidePanelStore;
12585
13105
  PivotMeasureDisplayPanelStore: typeof PivotMeasureDisplayPanelStore;
12586
13106
  ClientFocusStore: typeof ClientFocusStore;
13107
+ GridRenderer: typeof GridRenderer;
12587
13108
  };
12588
13109
 
12589
13110
  declare function addFunction(functionName: string, functionDescription: AddFunctionDescription): {
@@ -12609,6 +13130,7 @@ declare const constants: {
12609
13130
  ColorScales: Record<Extract<GeoChartColorScale, string>, string>;
12610
13131
  };
12611
13132
  };
13133
+ FIGURE_ID_SPLITTER: string;
12612
13134
  };
12613
13135
  declare const chartHelpers: {
12614
13136
  getBarChartData(definition: GenericDefinition<BarChartDefinition>, dataSets: DataSet[], labelRange: Range | undefined, getters: Getters): ChartRuntimeGenerationArgs;
@@ -13111,10 +13633,10 @@ declare const chartHelpers: {
13111
13633
  useLeftAxis: boolean;
13112
13634
  useRightAxis: boolean;
13113
13635
  };
13114
- formatChartDatasetValue(axisFormats: ChartAxisFormats, locale: Locale): (value: any, axisId: string) => any;
13115
- 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;
13116
13638
  getPieColors(colors: ColorGenerator, dataSetsValues: DatasetValues[]): Color[];
13117
- truncateLabel(label: string | undefined): string;
13639
+ truncateLabel(label: string | undefined, maxLen?: number): string;
13118
13640
  isTrendLineAxis(axisID: string): axisID is "x1" | "xMovingAverage";
13119
13641
  TREND_LINE_XAXIS_ID: "x1";
13120
13642
  MOVING_AVERAGE_TREND_LINE_XAXIS_ID: "xMovingAverage";
@@ -13128,7 +13650,7 @@ declare const chartHelpers: {
13128
13650
  value: string;
13129
13651
  label: string;
13130
13652
  }[];
13131
- chartFactory(getters: CoreGetters): (id: UID, definition: ChartDefinition, sheetId: UID) => AbstractChart;
13653
+ chartFactory(getters: CoreGetters): (figureId: UID, definition: ChartDefinition, sheetId: UID) => AbstractChart;
13132
13654
  chartRuntimeFactory(getters: Getters): (chart: AbstractChart) => ChartRuntime;
13133
13655
  validateChartDefinition(validator: Validator, definition: ChartDefinition): CommandResult | CommandResult[];
13134
13656
  transformDefinition(chartSheetId: UID, definition: ChartDefinition, applyrange: RangeAdapter$1): ChartDefinition;
@@ -13162,4 +13684,4 @@ declare const chartHelpers: {
13162
13684
  WaterfallChart: typeof WaterfallChart;
13163
13685
  };
13164
13686
 
13165
- 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 };