@odoo/o-spreadsheet 18.5.0-alpha.7 → 18.5.0-alpha.9

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;
@@ -38,9 +41,11 @@ type CarouselItem = {
38
41
  type: "chart";
39
42
  chartId: UID;
40
43
  title?: string;
44
+ carouselTitle?: TitleDesign;
41
45
  } | {
42
46
  type: "carouselDataView";
43
47
  title?: string;
48
+ carouselTitle?: TitleDesign;
44
49
  };
45
50
 
46
51
  type ImageSVG = {
@@ -92,33 +97,156 @@ interface CommonChartDefinition {
92
97
  readonly aggregated?: boolean;
93
98
  readonly axesDesign?: AxesDesign;
94
99
  readonly showValues?: boolean;
100
+ readonly humanize?: boolean;
95
101
  }
96
102
 
97
- interface ComboBarChartDefinition extends CommonChartDefinition {
103
+ interface TreeMapChartDefinition {
104
+ readonly type: "treemap";
105
+ readonly dataSets: CustomizedDataSet[];
106
+ readonly dataSetsHaveTitle: boolean;
107
+ readonly labelRange?: string;
108
+ readonly title: TitleDesign;
109
+ readonly background?: Color;
110
+ readonly legendPosition: LegendPosition;
111
+ readonly showHeaders?: boolean;
112
+ readonly headerDesign?: TitleDesign;
113
+ readonly showValues?: boolean;
114
+ readonly showLabels?: boolean;
115
+ readonly valuesDesign?: TitleDesign;
116
+ readonly coloringOptions?: TreeMapColoringOptions;
117
+ readonly humanize?: boolean;
98
118
  }
99
-
100
- interface BarChartDefinition extends ComboBarChartDefinition {
101
- readonly type: "bar";
102
- readonly stacked: boolean;
103
- readonly horizontal?: boolean;
119
+ type TreeMapCategoryColorOptions = {
120
+ type: "categoryColor";
121
+ colors: (Color | undefined | null)[];
122
+ useValueBasedGradient: boolean;
123
+ };
124
+ type TreeMapColorScaleOptions = {
125
+ type: "colorScale";
126
+ minColor: Color;
127
+ midColor?: Color;
128
+ maxColor: Color;
129
+ };
130
+ interface TreeMapGroupColor {
131
+ label: string;
132
+ color: Color;
104
133
  }
105
- type BarChartRuntime = {
134
+ type TreeMapColoringOptions = TreeMapCategoryColorOptions | TreeMapColorScaleOptions;
135
+ type TreeMapChartRuntime = {
106
136
  chartJsConfig: ChartConfiguration;
107
137
  background: Color;
108
138
  };
109
139
 
110
- interface ComboChartDefinition extends ComboBarChartDefinition {
111
- readonly dataSets: ComboChartDataSet[];
112
- readonly type: "combo";
113
- readonly hideDataMarkers?: boolean;
114
- }
115
- type ComboChartDataSet = CustomizedDataSet & {
116
- type?: "bar" | "line";
140
+ /*!
141
+ * chartjs-chart-treemap v3.1.0
142
+ * https://chartjs-chart-treemap.pages.dev/
143
+ * (c) 2024 Jukka Kurkela
144
+ * Released under the MIT license
145
+ */
146
+
147
+ type AnyObject = Record<string, unknown>;
148
+ type TreemapScriptableContext = ScriptableContext<"treemap"> & {
149
+ raw: TreemapDataPoint;
117
150
  };
118
- type ComboChartRuntime = {
119
- chartJsConfig: ChartConfiguration;
120
- background: Color;
151
+ type TreemapControllerDatasetCaptionsOptions = {
152
+ align?: Scriptable<LabelAlign, TreemapScriptableContext>;
153
+ color?: Scriptable<Color$1, TreemapScriptableContext>;
154
+ display?: boolean;
155
+ formatter?: Scriptable<string, TreemapScriptableContext>;
156
+ font?: FontSpec;
157
+ hoverColor?: Scriptable<Color$1, TreemapScriptableContext>;
158
+ hoverFont?: FontSpec;
159
+ padding?: number;
160
+ };
161
+ type TreemapControllerDatasetLabelsOptions = {
162
+ align?: Scriptable<LabelAlign, TreemapScriptableContext>;
163
+ color?: Scriptable<Color$1 | Color$1[], TreemapScriptableContext>;
164
+ display?: boolean;
165
+ formatter?: Scriptable<string | Array<string>, TreemapScriptableContext>;
166
+ font?: Scriptable<FontSpec | FontSpec[], TreemapScriptableContext>;
167
+ hoverColor?: Scriptable<Color$1 | Color$1[], TreemapScriptableContext>;
168
+ hoverFont?: Scriptable<FontSpec | FontSpec[], TreemapScriptableContext>;
169
+ overflow?: Scriptable<LabelOverflow, TreemapScriptableContext>;
170
+ padding?: number;
171
+ position?: Scriptable<LabelPosition, TreemapScriptableContext>;
172
+ };
173
+ type LabelPosition = "top" | "middle" | "bottom";
174
+ type LabelAlign = "left" | "center" | "right";
175
+ type LabelOverflow = "cut" | "hidden" | "fit";
176
+ type TreemapControllerDatasetDividersOptions = {
177
+ display?: boolean;
178
+ lineCapStyle?: string;
179
+ lineColor?: string;
180
+ lineDash?: number[];
181
+ lineDashOffset?: number;
182
+ lineWidth?: number;
121
183
  };
184
+ interface TreemapControllerDatasetOptions<DType> {
185
+ spacing?: number;
186
+ rtl?: boolean;
187
+ backgroundColor?: Scriptable<Color$1, TreemapScriptableContext>;
188
+ borderColor?: Scriptable<Color$1, TreemapScriptableContext>;
189
+ borderWidth?: number;
190
+ hoverBackgroundColor?: Scriptable<Color$1, TreemapScriptableContext>;
191
+ hoverBorderColor?: Scriptable<Color$1, TreemapScriptableContext>;
192
+ hoverBorderWidth?: number;
193
+ captions?: TreemapControllerDatasetCaptionsOptions;
194
+ dividers?: TreemapControllerDatasetDividersOptions;
195
+ labels?: TreemapControllerDatasetLabelsOptions;
196
+ label?: string;
197
+ data: TreemapDataPoint[];
198
+ groups?: Array<keyof DType>;
199
+ sumKeys?: Array<keyof DType>;
200
+ tree: number[] | DType[] | AnyObject;
201
+ treeLeafKey?: keyof DType;
202
+ key?: keyof DType;
203
+ hidden?: boolean;
204
+ displayMode?: "containerBoxes" | "headerBoxes";
205
+ groupColors?: TreeMapGroupColor[];
206
+ }
207
+ interface TreemapDataPoint {
208
+ x: number;
209
+ y: number;
210
+ w: number;
211
+ h: number;
212
+ /**
213
+ * Value
214
+ */
215
+ v: number;
216
+ /**
217
+ * Sum
218
+ */
219
+ s: number;
220
+ /**
221
+ * Depth, only available if grouping
222
+ */
223
+ l?: number;
224
+ /**
225
+ * Group name, only available if grouping
226
+ */
227
+ g?: string;
228
+ /**
229
+ * Group Sum, only available if grouping
230
+ */
231
+ gs?: number;
232
+ /**
233
+ * additonal keys sums, only available if grouping
234
+ */
235
+ vs?: AnyObject;
236
+ isLeaf?: boolean;
237
+ }
238
+ declare module "chart.js" {
239
+ interface ChartTypeRegistry {
240
+ treemap: {
241
+ chartOptions: CoreChartOptions<"treemap">;
242
+ datasetOptions: TreemapControllerDatasetOptions<Record<string, unknown>>;
243
+ defaultDataPoint: TreemapDataPoint;
244
+ metaExtensions: AnyObject;
245
+ parsedDataType: unknown;
246
+ scales: never;
247
+ };
248
+ }
249
+ }
122
250
 
123
251
  interface FunnelChartDefinition {
124
252
  readonly type: "funnel";
@@ -134,6 +262,7 @@ interface FunnelChartDefinition {
134
262
  readonly showValues?: boolean;
135
263
  readonly funnelColors?: FunnelChartColors;
136
264
  readonly cumulative?: boolean;
265
+ readonly humanize?: boolean;
137
266
  }
138
267
  type FunnelChartRuntime = {
139
268
  chartJsConfig: ChartConfiguration;
@@ -147,6 +276,7 @@ interface GaugeChartDefinition {
147
276
  readonly dataRange?: string;
148
277
  readonly sectionRule: SectionRule;
149
278
  readonly background?: Color;
279
+ readonly humanize?: boolean;
150
280
  }
151
281
  interface SectionRule {
152
282
  readonly colors: ColorSet;
@@ -182,40 +312,6 @@ interface GaugeChartRuntime {
182
312
  colors: Color[];
183
313
  }
184
314
 
185
- interface GeoChartDefinition {
186
- readonly type: "geo";
187
- readonly dataSets: CustomizedDataSet[];
188
- readonly dataSetsHaveTitle: boolean;
189
- readonly labelRange?: string;
190
- readonly title: TitleDesign;
191
- readonly background?: Color;
192
- readonly legendPosition: LegendPosition;
193
- readonly colorScale?: GeoChartColorScale;
194
- readonly missingValueColor?: Color;
195
- readonly region?: string;
196
- }
197
- type GeoChartRuntime = {
198
- chartJsConfig: ChartConfiguration;
199
- background: Color;
200
- };
201
- interface GeoChartCustomColorScale {
202
- minColor: Color;
203
- midColor?: Color;
204
- maxColor: Color;
205
- }
206
- type GeoChartColorScale = GeoChartCustomColorScale | "blues" | "cividis" | "greens" | "greys" | "oranges" | "purples" | "rainbow" | "reds" | "viridis";
207
- type GeoChartProjection = "azimuthalEqualArea" | "azimuthalEquidistant" | "gnomonic" | "orthographic" | "stereographic" | "equalEarth" | "albers" | "albersUsa" | "conicConformal" | "conicEqualArea" | "conicEquidistant" | "equirectangular" | "mercator" | "transverseMercator" | "naturalEarth1";
208
- interface GeoChartRegion {
209
- id: string;
210
- label: string;
211
- defaultProjection: GeoChartProjection;
212
- }
213
- interface GeoChartRuntimeGenerationArgs extends ChartRuntimeGenerationArgs {
214
- availableRegions: GeoChartRegion[];
215
- getGeoJsonFeatures: (region: string) => GeoJSON.Feature[] | undefined;
216
- geoFeatureNameToId: (region: string, featureName: string) => string | undefined;
217
- }
218
-
219
315
  interface LineChartDefinition extends CommonChartDefinition {
220
316
  readonly type: "line";
221
317
  readonly labelsAsText: boolean;
@@ -224,9 +320,11 @@ interface LineChartDefinition extends CommonChartDefinition {
224
320
  readonly cumulative: boolean;
225
321
  readonly fillArea?: boolean;
226
322
  readonly hideDataMarkers?: boolean;
323
+ readonly zoomable?: boolean;
227
324
  }
228
325
  type LineChartRuntime = {
229
326
  chartJsConfig: ChartConfiguration;
327
+ masterChartConfig?: ChartConfiguration;
230
328
  background: Color;
231
329
  };
232
330
 
@@ -250,18 +348,6 @@ type PyramidChartRuntime = {
250
348
  background: Color;
251
349
  };
252
350
 
253
- interface RadarChartDefinition extends CommonChartDefinition {
254
- readonly type: "radar";
255
- readonly aggregated?: boolean;
256
- readonly stacked: boolean;
257
- readonly fillArea?: boolean;
258
- readonly hideDataMarkers?: boolean;
259
- }
260
- type RadarChartRuntime = {
261
- chartJsConfig: ChartConfiguration;
262
- background: Color;
263
- };
264
-
265
351
  interface ScatterChartDefinition extends Omit<LineChartDefinition, "type" | "stacked" | "cumulative"> {
266
352
  readonly type: "scatter";
267
353
  }
@@ -316,6 +402,7 @@ interface SunburstChartDefinition {
316
402
  readonly valuesDesign?: ChartStyle;
317
403
  readonly groupColors?: (Color | undefined | null)[];
318
404
  readonly pieHolePercentage?: number;
405
+ readonly humanize?: boolean;
319
406
  }
320
407
  type SunburstChartRuntime = {
321
408
  chartJsConfig: ChartConfiguration<"doughnut">;
@@ -328,165 +415,94 @@ interface SunburstChartJSDataset extends ChartDataset<"doughnut"> {
328
415
  }[];
329
416
  }
330
417
 
331
- /*!
332
- * chartjs-chart-treemap v3.1.0
333
- * https://chartjs-chart-treemap.pages.dev/
334
- * (c) 2024 Jukka Kurkela
335
- * Released under the MIT license
336
- */
337
-
338
- type AnyObject = Record<string, unknown>;
339
- type TreemapScriptableContext = ScriptableContext<"treemap"> & {
340
- raw: TreemapDataPoint;
418
+ interface WaterfallChartDefinition extends CommonChartDefinition {
419
+ readonly type: "waterfall";
420
+ readonly verticalAxisPosition: VerticalAxisPosition;
421
+ readonly aggregated?: boolean;
422
+ readonly showSubTotals: boolean;
423
+ readonly showConnectorLines: boolean;
424
+ readonly firstValueAsSubtotal?: boolean;
425
+ readonly positiveValuesColor?: Color;
426
+ readonly negativeValuesColor?: Color;
427
+ readonly subTotalValuesColor?: Color;
428
+ readonly zoomable?: boolean;
429
+ }
430
+ type WaterfallChartRuntime = {
431
+ chartJsConfig: ChartConfiguration;
432
+ background: Color;
341
433
  };
342
- type TreemapControllerDatasetCaptionsOptions = {
343
- align?: Scriptable<LabelAlign, TreemapScriptableContext>;
344
- color?: Scriptable<Color$1, TreemapScriptableContext>;
345
- display?: boolean;
346
- formatter?: Scriptable<string, TreemapScriptableContext>;
347
- font?: FontSpec;
348
- hoverColor?: Scriptable<Color$1, TreemapScriptableContext>;
349
- hoverFont?: FontSpec;
350
- padding?: number;
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;
351
445
  };
352
- type TreemapControllerDatasetLabelsOptions = {
353
- align?: Scriptable<LabelAlign, TreemapScriptableContext>;
354
- color?: Scriptable<Color$1 | Color$1[], TreemapScriptableContext>;
355
- display?: boolean;
356
- formatter?: Scriptable<string | Array<string>, TreemapScriptableContext>;
357
- font?: Scriptable<FontSpec | FontSpec[], TreemapScriptableContext>;
358
- hoverColor?: Scriptable<Color$1 | Color$1[], TreemapScriptableContext>;
359
- hoverFont?: Scriptable<FontSpec | FontSpec[], TreemapScriptableContext>;
360
- overflow?: Scriptable<LabelOverflow, TreemapScriptableContext>;
361
- padding?: number;
362
- position?: Scriptable<LabelPosition, TreemapScriptableContext>;
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";
363
455
  };
364
- type LabelPosition = "top" | "middle" | "bottom";
365
- type LabelAlign = "left" | "center" | "right";
366
- type LabelOverflow = "cut" | "hidden" | "fit";
367
- type TreemapControllerDatasetDividersOptions = {
368
- display?: boolean;
369
- lineCapStyle?: string;
370
- lineColor?: string;
371
- lineDash?: number[];
372
- lineDashOffset?: number;
373
- lineWidth?: number;
456
+ type ComboChartRuntime = {
457
+ chartJsConfig: ChartConfiguration;
458
+ masterChartConfig?: ChartConfiguration;
459
+ background: Color;
374
460
  };
375
- interface TreemapControllerDatasetOptions<DType> {
376
- spacing?: number;
377
- rtl?: boolean;
378
- backgroundColor?: Scriptable<Color$1, TreemapScriptableContext>;
379
- borderColor?: Scriptable<Color$1, TreemapScriptableContext>;
380
- borderWidth?: number;
381
- hoverBackgroundColor?: Scriptable<Color$1, TreemapScriptableContext>;
382
- hoverBorderColor?: Scriptable<Color$1, TreemapScriptableContext>;
383
- hoverBorderWidth?: number;
384
- captions?: TreemapControllerDatasetCaptionsOptions;
385
- dividers?: TreemapControllerDatasetDividersOptions;
386
- labels?: TreemapControllerDatasetLabelsOptions;
387
- label?: string;
388
- data: TreemapDataPoint[];
389
- groups?: Array<keyof DType>;
390
- sumKeys?: Array<keyof DType>;
391
- tree: number[] | DType[] | AnyObject;
392
- treeLeafKey?: keyof DType;
393
- key?: keyof DType;
394
- hidden?: boolean;
395
- displayMode?: "containerBoxes" | "headerBoxes";
396
- groupColors?: TreeMapGroupColor[];
397
- }
398
- interface TreemapDataPoint {
399
- x: number;
400
- y: number;
401
- w: number;
402
- h: number;
403
- /**
404
- * Value
405
- */
406
- v: number;
407
- /**
408
- * Sum
409
- */
410
- s: number;
411
- /**
412
- * Depth, only available if grouping
413
- */
414
- l?: number;
415
- /**
416
- * Group name, only available if grouping
417
- */
418
- g?: string;
419
- /**
420
- * Group Sum, only available if grouping
421
- */
422
- gs?: number;
423
- /**
424
- * additonal keys sums, only available if grouping
425
- */
426
- vs?: AnyObject;
427
- isLeaf?: boolean;
428
- }
429
- declare module "chart.js" {
430
- interface ChartTypeRegistry {
431
- treemap: {
432
- chartOptions: CoreChartOptions<"treemap">;
433
- datasetOptions: TreemapControllerDatasetOptions<Record<string, unknown>>;
434
- defaultDataPoint: TreemapDataPoint;
435
- metaExtensions: AnyObject;
436
- parsedDataType: unknown;
437
- scales: never;
438
- };
439
- }
440
- }
441
461
 
442
- interface TreeMapChartDefinition {
443
- readonly type: "treemap";
462
+ interface GeoChartDefinition {
463
+ readonly type: "geo";
444
464
  readonly dataSets: CustomizedDataSet[];
445
465
  readonly dataSetsHaveTitle: boolean;
446
466
  readonly labelRange?: string;
447
- readonly title: TitleDesign;
448
- readonly background?: Color;
449
- readonly legendPosition: LegendPosition;
450
- readonly showHeaders?: boolean;
451
- readonly headerDesign?: TitleDesign;
452
- readonly showValues?: boolean;
453
- readonly showLabels?: boolean;
454
- readonly valuesDesign?: TitleDesign;
455
- readonly coloringOptions?: TreeMapColoringOptions;
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;
456
474
  }
457
- type TreeMapCategoryColorOptions = {
458
- type: "categoryColor";
459
- colors: (Color | undefined | null)[];
460
- useValueBasedGradient: boolean;
475
+ type GeoChartRuntime = {
476
+ chartJsConfig: ChartConfiguration;
477
+ background: Color;
461
478
  };
462
- type TreeMapColorScaleOptions = {
463
- type: "colorScale";
479
+ interface GeoChartCustomColorScale {
464
480
  minColor: Color;
465
481
  midColor?: Color;
466
482
  maxColor: Color;
467
- };
468
- interface TreeMapGroupColor {
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;
469
488
  label: string;
470
- color: Color;
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;
471
495
  }
472
- type TreeMapColoringOptions = TreeMapCategoryColorOptions | TreeMapColorScaleOptions;
473
- type TreeMapChartRuntime = {
474
- chartJsConfig: ChartConfiguration;
475
- background: Color;
476
- };
477
496
 
478
- interface WaterfallChartDefinition extends CommonChartDefinition {
479
- readonly type: "waterfall";
480
- readonly verticalAxisPosition: VerticalAxisPosition;
497
+ interface RadarChartDefinition extends CommonChartDefinition {
498
+ readonly type: "radar";
481
499
  readonly aggregated?: boolean;
482
- readonly showSubTotals: boolean;
483
- readonly showConnectorLines: boolean;
484
- readonly firstValueAsSubtotal?: boolean;
485
- readonly positiveValuesColor?: Color;
486
- readonly negativeValuesColor?: Color;
487
- readonly subTotalValuesColor?: Color;
500
+ readonly stacked: boolean;
501
+ readonly fillArea?: boolean;
502
+ readonly hideDataMarkers?: boolean;
503
+ readonly humanize?: boolean;
488
504
  }
489
- type WaterfallChartRuntime = {
505
+ type RadarChartRuntime = {
490
506
  chartJsConfig: ChartConfiguration;
491
507
  background: Color;
492
508
  };
@@ -497,10 +513,14 @@ type ChartDefinition = LineChartDefinition | PieChartDefinition | BarChartDefini
497
513
  type ChartWithDataSetDefinition = Extract<ChartDefinition, {
498
514
  dataSets: CustomizedDataSet[];
499
515
  labelRange?: string;
516
+ humanize?: boolean;
500
517
  }>;
501
518
  type ChartWithAxisDefinition = Extract<ChartWithDataSetDefinition, {
502
519
  axesDesign?: AxesDesign;
503
520
  }>;
521
+ type ZoomableChartDefinition = Extract<ChartWithAxisDefinition, {
522
+ zoomable?: boolean;
523
+ }>;
504
524
  type ChartJSRuntime = LineChartRuntime | PieChartRuntime | BarChartRuntime | ComboChartRuntime | ScatterChartRuntime | WaterfallChartRuntime | PyramidChartRuntime | RadarChartRuntime | GeoChartRuntime | FunnelChartRuntime | SunburstChartRuntime | TreeMapChartRuntime;
505
525
  type ChartRuntime = ChartJSRuntime | ScorecardChartRuntime | GaugeChartRuntime;
506
526
  interface LabelValues {
@@ -627,6 +647,8 @@ interface ChartCreationContext {
627
647
  readonly showHeaders?: boolean;
628
648
  readonly headerDesign?: TitleDesign;
629
649
  readonly treemapColoringOptions?: TreeMapColoringOptions;
650
+ readonly zoomable?: boolean;
651
+ readonly humanize?: boolean;
630
652
  }
631
653
  type ChartAxisFormats = {
632
654
  [axisId: string]: Format | undefined;
@@ -2736,6 +2758,7 @@ declare const invalidateChartEvaluationCommands: Set<"ACTIVATE_SHEET" | "UPDATE_
2736
2758
  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">;
2737
2759
  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">;
2738
2760
  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">;
2761
+ 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">;
2739
2762
  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">;
2740
2763
  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">;
2741
2764
  declare function isCoreCommand(cmd: Command): cmd is CoreCommand;
@@ -3170,6 +3193,7 @@ interface ActivateSheetCommand {
3170
3193
  }
3171
3194
  interface EvaluateCellsCommand {
3172
3195
  type: "EVALUATE_CELLS";
3196
+ cellIds?: UID[];
3173
3197
  }
3174
3198
  interface EvaluateChartsCommand {
3175
3199
  type: "EVALUATE_CHARTS";
@@ -3771,7 +3795,7 @@ interface Border$1 {
3771
3795
  right?: BorderDescr;
3772
3796
  }
3773
3797
  type ReferenceDenormalizer = (range: Range, isMeta: boolean, functionName: string, paramNumber: number) => FunctionResultObject;
3774
- type EnsureRange = (range: Range) => Matrix<FunctionResultObject>;
3798
+ type EnsureRange = (range: Range, isMeta: boolean) => Matrix<FunctionResultObject>;
3775
3799
  type GetSymbolValue = (symbolName: string) => Arg;
3776
3800
  type FormulaToExecute = (deps: Range[], refFn: ReferenceDenormalizer, range: EnsureRange, getSymbolValue: GetSymbolValue, ctx: object) => Matrix<FunctionResultObject> | FunctionResultObject;
3777
3801
  interface CompiledFormula {
@@ -4371,6 +4395,7 @@ interface SpreadsheetChildEnv extends NotificationStoreMethods {
4371
4395
  imageProvider?: ImageProviderInterface;
4372
4396
  isDashboard: () => boolean;
4373
4397
  openSidePanel: (panel: string, panelProps?: any) => void;
4398
+ replaceSidePanel: (panel: string, currentPanel: string, panelProps?: any) => void;
4374
4399
  toggleSidePanel: (panel: string, panelProps?: any) => void;
4375
4400
  clipboard: ClipboardInterface;
4376
4401
  startCellEdition: (content?: string) => void;
@@ -4744,6 +4769,7 @@ declare abstract class AbstractChart {
4744
4769
  readonly title: TitleDesign;
4745
4770
  abstract readonly type: ChartType;
4746
4771
  protected readonly getters: CoreGetters;
4772
+ readonly humanize: boolean;
4747
4773
  constructor(definition: ChartDefinition, sheetId: UID, getters: CoreGetters);
4748
4774
  /**
4749
4775
  * Validate the chart definition given as arguments. This function will be
@@ -5914,6 +5940,7 @@ declare class SpreadsheetPivotTable {
5914
5940
  };
5915
5941
  sort(measure: string, sortedColumn: PivotSortedColumn, getValue: (measure: string, domain: PivotDomain) => FunctionResultObject): void;
5916
5942
  private rowTreeToRows;
5943
+ get numberOfCells(): number;
5917
5944
  }
5918
5945
 
5919
5946
  interface InitPivotParams {
@@ -6375,6 +6402,11 @@ declare class SplitToColumnsPlugin extends UIPlugin {
6375
6402
  private checkSeparatorInSelection;
6376
6403
  }
6377
6404
 
6405
+ declare class SubtotalEvaluationPlugin extends UIPlugin {
6406
+ private subtotalCells;
6407
+ handle(cmd: Command): void;
6408
+ }
6409
+
6378
6410
  declare class TableComputedStylePlugin extends UIPlugin {
6379
6411
  static getters: readonly ["getCellTableStyle", "getCellTableBorder"];
6380
6412
  private tableStyles;
@@ -6398,7 +6430,7 @@ declare class TableComputedStylePlugin extends UIPlugin {
6398
6430
  declare class CarouselUIPlugin extends UIPlugin {
6399
6431
  static getters: readonly ["getSelectedCarouselItem", "getChartFromFigureId", "getChartIdFromFigureId"];
6400
6432
  private uuidGenerator;
6401
- carouselStates: Record<UID, CarouselItem | undefined>;
6433
+ carouselStates: Record<UID, string | undefined>;
6402
6434
  handle(cmd: Command): void;
6403
6435
  getSelectedCarouselItem(figureId: UID): CarouselItem | undefined;
6404
6436
  getChartFromFigureId(figureId: UID): AbstractChart | undefined;
@@ -6406,6 +6438,7 @@ declare class CarouselUIPlugin extends UIPlugin {
6406
6438
  private fixWrongCarouselState;
6407
6439
  private addNewChartToCarousel;
6408
6440
  private addFigureChartToCarousel;
6441
+ private getCarouselItemId;
6409
6442
  }
6410
6443
 
6411
6444
  declare class HeaderPositionsUIPlugin extends UIPlugin {
@@ -6492,9 +6525,9 @@ type CoreGetters = PluginGetters<typeof SheetPlugin> & PluginGetters<typeof Head
6492
6525
  type Getters = {
6493
6526
  isReadonly: () => boolean;
6494
6527
  isDashboard: () => boolean;
6495
- } & 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> & PluginGetters<typeof CarouselUIPlugin>;
6528
+ } & CoreGetters & PluginGetters<typeof AutofillPlugin> & PluginGetters<typeof AutomaticSumPlugin> & PluginGetters<typeof HistoryPlugin> & PluginGetters<typeof ClipboardPlugin> & PluginGetters<typeof EvaluationPlugin> & PluginGetters<typeof EvaluationChartPlugin> & PluginGetters<typeof EvaluationConditionalFormatPlugin> & PluginGetters<typeof HeaderVisibilityUIPlugin> & PluginGetters<typeof CustomColorsPlugin> & PluginGetters<typeof AutomaticSumPlugin> & PluginGetters<typeof GridSelectionPlugin> & PluginGetters<typeof CollaborativePlugin> & PluginGetters<typeof SortPlugin> & PluginGetters<typeof UIOptionsPlugin> & PluginGetters<typeof SheetUIPlugin> & PluginGetters<typeof SheetViewPlugin> & PluginGetters<typeof FilterEvaluationPlugin> & PluginGetters<typeof SplitToColumnsPlugin> & PluginGetters<typeof SubtotalEvaluationPlugin> & PluginGetters<typeof HeaderSizeUIPlugin> & PluginGetters<typeof EvaluationDataValidationPlugin> & PluginGetters<typeof HeaderPositionsUIPlugin> & PluginGetters<typeof TableStylePlugin> & PluginGetters<typeof CellComputedStylePlugin> & PluginGetters<typeof DynamicTablesPlugin> & PluginGetters<typeof PivotUIPlugin> & PluginGetters<typeof TableComputedStylePlugin> & PluginGetters<typeof GeoFeaturePlugin> & PluginGetters<typeof PivotPresencePlugin> & PluginGetters<typeof TableComputedStylePlugin> & PluginGetters<typeof CheckboxTogglePlugin> & PluginGetters<typeof CellIconPlugin> & PluginGetters<typeof CarouselUIPlugin>;
6496
6529
 
6497
- type ArgType = "ANY" | "BOOLEAN" | "NUMBER" | "STRING" | "DATE" | "RANGE" | "RANGE<BOOLEAN>" | "RANGE<NUMBER>" | "RANGE<DATE>" | "RANGE<STRING>" | "RANGE<ANY>" | "META";
6530
+ type ArgType = "ANY" | "BOOLEAN" | "NUMBER" | "STRING" | "DATE" | "RANGE" | "RANGE<BOOLEAN>" | "RANGE<NUMBER>" | "RANGE<DATE>" | "RANGE<STRING>" | "RANGE<ANY>" | "META" | "RANGE<META>";
6498
6531
  interface ArgDefinition {
6499
6532
  acceptMatrix?: boolean;
6500
6533
  acceptMatrixOnly?: boolean;
@@ -7123,7 +7156,7 @@ interface ChartSubtypeProperties {
7123
7156
  preview: string;
7124
7157
  }
7125
7158
 
7126
- interface Props$1o {
7159
+ interface Props$1q {
7127
7160
  label?: string;
7128
7161
  value: boolean;
7129
7162
  className?: string;
@@ -7132,7 +7165,7 @@ interface Props$1o {
7132
7165
  disabled?: boolean;
7133
7166
  onChange: (value: boolean) => void;
7134
7167
  }
7135
- declare class Checkbox extends Component<Props$1o, SpreadsheetChildEnv> {
7168
+ declare class Checkbox extends Component<Props$1q, SpreadsheetChildEnv> {
7136
7169
  static template: string;
7137
7170
  static props: {
7138
7171
  label: {
@@ -7167,10 +7200,10 @@ declare class Checkbox extends Component<Props$1o, SpreadsheetChildEnv> {
7167
7200
  onChange(ev: InputEvent): void;
7168
7201
  }
7169
7202
 
7170
- interface Props$1n {
7203
+ interface Props$1p {
7171
7204
  class?: string;
7172
7205
  }
7173
- declare class Section extends Component<Props$1n, SpreadsheetChildEnv> {
7206
+ declare class Section extends Component<Props$1p, SpreadsheetChildEnv> {
7174
7207
  static template: string;
7175
7208
  static props: {
7176
7209
  class: {
@@ -7335,7 +7368,7 @@ declare class SelectionInputStore extends SpreadsheetStore {
7335
7368
  getIndex(rangeId: number | null): number | null;
7336
7369
  }
7337
7370
 
7338
- interface Props$1m {
7371
+ interface Props$1o {
7339
7372
  ranges: string[];
7340
7373
  hasSingleRange?: boolean;
7341
7374
  required?: boolean;
@@ -7363,7 +7396,7 @@ interface SelectionRange extends Omit<RangeInputValue, "color"> {
7363
7396
  * onSelectionChanged is called every time the input value
7364
7397
  * changes.
7365
7398
  */
7366
- declare class SelectionInput extends Component<Props$1m, SpreadsheetChildEnv> {
7399
+ declare class SelectionInput extends Component<Props$1o, SpreadsheetChildEnv> {
7367
7400
  static template: string;
7368
7401
  static props: {
7369
7402
  ranges: ArrayConstructor;
@@ -7440,7 +7473,7 @@ declare class SelectionInput extends Component<Props$1m, SpreadsheetChildEnv> {
7440
7473
  confirm(): void;
7441
7474
  }
7442
7475
 
7443
- interface Props$1l {
7476
+ interface Props$1n {
7444
7477
  ranges: CustomizedDataSet[];
7445
7478
  hasSingleRange?: boolean;
7446
7479
  onSelectionChanged: (ranges: string[]) => void;
@@ -7453,7 +7486,7 @@ interface Props$1l {
7453
7486
  canChangeDatasetOrientation?: boolean;
7454
7487
  onFlipAxis?: (structure: string) => void;
7455
7488
  }
7456
- declare class ChartDataSeries extends Component<Props$1l, SpreadsheetChildEnv> {
7489
+ declare class ChartDataSeries extends Component<Props$1n, SpreadsheetChildEnv> {
7457
7490
  static template: string;
7458
7491
  static components: {
7459
7492
  SelectionInput: typeof SelectionInput;
@@ -7502,12 +7535,12 @@ declare class ChartDataSeries extends Component<Props$1l, SpreadsheetChildEnv> {
7502
7535
  get title(): string;
7503
7536
  }
7504
7537
 
7505
- interface Props$1k {
7538
+ interface Props$1m {
7506
7539
  messages: string[];
7507
7540
  msgType: "warning" | "error" | "info";
7508
7541
  singleBox?: boolean;
7509
7542
  }
7510
- declare class ValidationMessages extends Component<Props$1k, SpreadsheetChildEnv> {
7543
+ declare class ValidationMessages extends Component<Props$1m, SpreadsheetChildEnv> {
7511
7544
  static template: string;
7512
7545
  static props: {
7513
7546
  messages: ArrayConstructor;
@@ -7521,10 +7554,10 @@ declare class ValidationMessages extends Component<Props$1k, SpreadsheetChildEnv
7521
7554
  get alertBoxes(): string[][];
7522
7555
  }
7523
7556
 
7524
- interface Props$1j {
7557
+ interface Props$1l {
7525
7558
  messages: string[];
7526
7559
  }
7527
- declare class ChartErrorSection extends Component<Props$1j, SpreadsheetChildEnv> {
7560
+ declare class ChartErrorSection extends Component<Props$1l, SpreadsheetChildEnv> {
7528
7561
  static template: string;
7529
7562
  static components: {
7530
7563
  Section: typeof Section;
@@ -7538,7 +7571,7 @@ declare class ChartErrorSection extends Component<Props$1j, SpreadsheetChildEnv>
7538
7571
  };
7539
7572
  }
7540
7573
 
7541
- interface Props$1i {
7574
+ interface Props$1k {
7542
7575
  title?: string;
7543
7576
  range: string;
7544
7577
  isInvalid: boolean;
@@ -7551,7 +7584,7 @@ interface Props$1i {
7551
7584
  onChange: (value: boolean) => void;
7552
7585
  }>;
7553
7586
  }
7554
- declare class ChartLabelRange extends Component<Props$1i, SpreadsheetChildEnv> {
7587
+ declare class ChartLabelRange extends Component<Props$1k, SpreadsheetChildEnv> {
7555
7588
  static template: string;
7556
7589
  static components: {
7557
7590
  SelectionInput: typeof SelectionInput;
@@ -7572,10 +7605,10 @@ declare class ChartLabelRange extends Component<Props$1i, SpreadsheetChildEnv> {
7572
7605
  optional: boolean;
7573
7606
  };
7574
7607
  };
7575
- static defaultProps: Partial<Props$1i>;
7608
+ static defaultProps: Partial<Props$1k>;
7576
7609
  }
7577
7610
 
7578
- interface Props$1h {
7611
+ interface Props$1j {
7579
7612
  chartId: UID;
7580
7613
  definition: ChartWithDataSetDefinition;
7581
7614
  canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
@@ -7585,7 +7618,7 @@ interface ChartPanelState {
7585
7618
  datasetDispatchResult?: DispatchResult;
7586
7619
  labelsDispatchResult?: DispatchResult;
7587
7620
  }
7588
- declare class GenericChartConfigPanel extends Component<Props$1h, SpreadsheetChildEnv> {
7621
+ declare class GenericChartConfigPanel extends Component<Props$1j, SpreadsheetChildEnv> {
7589
7622
  static template: string;
7590
7623
  static components: {
7591
7624
  ChartDataSeries: typeof ChartDataSeries;
@@ -7654,11 +7687,11 @@ declare class BarConfigPanel extends GenericChartConfigPanel {
7654
7687
  onUpdateStacked(stacked: boolean): void;
7655
7688
  }
7656
7689
 
7657
- interface Props$1g {
7690
+ interface Props$1i {
7658
7691
  isCollapsed: boolean;
7659
7692
  slots: any;
7660
7693
  }
7661
- declare class Collapse extends Component<Props$1g, SpreadsheetChildEnv> {
7694
+ declare class Collapse extends Component<Props$1i, SpreadsheetChildEnv> {
7662
7695
  static template: string;
7663
7696
  static props: {
7664
7697
  isCollapsed: BooleanConstructor;
@@ -7697,12 +7730,12 @@ interface Choice$1 {
7697
7730
  value: string;
7698
7731
  label: string;
7699
7732
  }
7700
- interface Props$1f {
7733
+ interface Props$1h {
7701
7734
  choices: Choice$1[];
7702
7735
  onChange: (value: string) => void;
7703
7736
  selectedValue: string;
7704
7737
  }
7705
- declare class BadgeSelection extends Component<Props$1f, SpreadsheetChildEnv> {
7738
+ declare class BadgeSelection extends Component<Props$1h, SpreadsheetChildEnv> {
7706
7739
  static template: string;
7707
7740
  static props: {
7708
7741
  choices: ArrayConstructor;
@@ -7711,14 +7744,14 @@ declare class BadgeSelection extends Component<Props$1f, SpreadsheetChildEnv> {
7711
7744
  };
7712
7745
  }
7713
7746
 
7714
- interface Props$1e {
7747
+ interface Props$1g {
7715
7748
  action: ActionSpec;
7716
7749
  hasTriangleDownIcon?: boolean;
7717
7750
  selectedColor?: string;
7718
7751
  class?: string;
7719
7752
  onClick?: (ev: MouseEvent) => void;
7720
7753
  }
7721
- declare class ActionButton extends Component<Props$1e, SpreadsheetChildEnv> {
7754
+ declare class ActionButton extends Component<Props$1g, SpreadsheetChildEnv> {
7722
7755
  static template: string;
7723
7756
  static props: {
7724
7757
  action: ObjectConstructor;
@@ -7905,7 +7938,7 @@ declare class ColorPicker extends Component<ColorPickerProps, SpreadsheetChildEn
7905
7938
  isSameColor(color1: Color, color2: Color): boolean;
7906
7939
  }
7907
7940
 
7908
- interface Props$1d {
7941
+ interface Props$1f {
7909
7942
  currentColor: string | undefined;
7910
7943
  toggleColorPicker: () => void;
7911
7944
  showColorPicker: boolean;
@@ -7916,7 +7949,7 @@ interface Props$1d {
7916
7949
  dropdownMaxHeight?: Pixel;
7917
7950
  class?: string;
7918
7951
  }
7919
- declare class ColorPickerWidget extends Component<Props$1d, SpreadsheetChildEnv> {
7952
+ declare class ColorPickerWidget extends Component<Props$1f, SpreadsheetChildEnv> {
7920
7953
  static template: string;
7921
7954
  static props: {
7922
7955
  currentColor: {
@@ -7977,14 +8010,14 @@ declare class CellPopoverStore extends SpreadsheetStore {
7977
8010
  interface State$5 {
7978
8011
  isOpen: boolean;
7979
8012
  }
7980
- interface Props$1c {
8013
+ interface Props$1e {
7981
8014
  currentFontSize: number;
7982
8015
  class: string;
7983
8016
  onFontSizeChanged: (fontSize: number) => void;
7984
8017
  onToggle?: () => void;
7985
8018
  onFocusInput?: () => void;
7986
8019
  }
7987
- declare class FontSizeEditor extends Component<Props$1c, SpreadsheetChildEnv> {
8020
+ declare class FontSizeEditor extends Component<Props$1e, SpreadsheetChildEnv> {
7988
8021
  static template: string;
7989
8022
  static props: {
7990
8023
  currentFontSize: NumberConstructor;
@@ -8022,7 +8055,7 @@ declare class FontSizeEditor extends Component<Props$1c, SpreadsheetChildEnv> {
8022
8055
  onInputKeydown(ev: KeyboardEvent): void;
8023
8056
  }
8024
8057
 
8025
- interface Props$1b {
8058
+ interface Props$1d {
8026
8059
  class?: string;
8027
8060
  style: ChartStyle;
8028
8061
  updateStyle: (style: ChartStyle) => void;
@@ -8031,7 +8064,7 @@ interface Props$1b {
8031
8064
  hasHorizontalAlign?: boolean;
8032
8065
  hasBackgroundColor?: boolean;
8033
8066
  }
8034
- declare class TextStyler extends Component<Props$1b, SpreadsheetChildEnv> {
8067
+ declare class TextStyler extends Component<Props$1d, SpreadsheetChildEnv> {
8035
8068
  static template: string;
8036
8069
  static components: {
8037
8070
  ColorPickerWidget: typeof ColorPickerWidget;
@@ -8099,7 +8132,7 @@ declare class TextStyler extends Component<Props$1b, SpreadsheetChildEnv> {
8099
8132
  get verticalAlignActions(): ActionSpec[];
8100
8133
  }
8101
8134
 
8102
- interface Props$1a {
8135
+ interface Props$1c {
8103
8136
  title?: string;
8104
8137
  placeholder?: string;
8105
8138
  updateTitle: (title: string) => void;
@@ -8108,7 +8141,7 @@ interface Props$1a {
8108
8141
  defaultStyle?: Partial<TitleDesign>;
8109
8142
  updateStyle: (style: TitleDesign) => void;
8110
8143
  }
8111
- declare class ChartTitle extends Component<Props$1a, SpreadsheetChildEnv> {
8144
+ declare class ChartTitle extends Component<Props$1c, SpreadsheetChildEnv> {
8112
8145
  static template: string;
8113
8146
  static components: {
8114
8147
  Section: typeof Section;
@@ -8145,13 +8178,13 @@ interface AxisDefinition {
8145
8178
  id: string;
8146
8179
  name: string;
8147
8180
  }
8148
- interface Props$19 {
8181
+ interface Props$1b {
8149
8182
  chartId: UID;
8150
8183
  definition: ChartWithAxisDefinition;
8151
8184
  updateChart: (chartId: UID, definition: Partial<ChartWithAxisDefinition>) => DispatchResult;
8152
8185
  axesList: AxisDefinition[];
8153
8186
  }
8154
- declare class AxisDesignEditor extends Component<Props$19, SpreadsheetChildEnv> {
8187
+ declare class AxisDesignEditor extends Component<Props$1b, SpreadsheetChildEnv> {
8155
8188
  static template: string;
8156
8189
  static components: {
8157
8190
  Section: typeof Section;
@@ -8183,14 +8216,14 @@ interface Choice {
8183
8216
  value: unknown;
8184
8217
  label: string;
8185
8218
  }
8186
- interface Props$18 {
8219
+ interface Props$1a {
8187
8220
  choices: Choice[];
8188
8221
  onChange: (value: unknown) => void;
8189
8222
  selectedValue: string;
8190
8223
  name: string;
8191
8224
  direction: "horizontal" | "vertical";
8192
8225
  }
8193
- declare class RadioSelection extends Component<Props$18, SpreadsheetChildEnv> {
8226
+ declare class RadioSelection extends Component<Props$1a, SpreadsheetChildEnv> {
8194
8227
  static template: string;
8195
8228
  static props: {
8196
8229
  choices: ArrayConstructor;
@@ -8209,13 +8242,13 @@ declare class RadioSelection extends Component<Props$18, SpreadsheetChildEnv> {
8209
8242
  };
8210
8243
  }
8211
8244
 
8212
- interface Props$17 {
8245
+ interface Props$19 {
8213
8246
  currentColor?: string;
8214
8247
  onColorPicked: (color: string) => void;
8215
8248
  title?: string;
8216
8249
  disableNoColor?: boolean;
8217
8250
  }
8218
- declare class RoundColorPicker extends Component<Props$17, SpreadsheetChildEnv> {
8251
+ declare class RoundColorPicker extends Component<Props$19, SpreadsheetChildEnv> {
8219
8252
  static template: string;
8220
8253
  static components: {
8221
8254
  Section: typeof Section;
@@ -8248,14 +8281,14 @@ declare class RoundColorPicker extends Component<Props$17, SpreadsheetChildEnv>
8248
8281
  get buttonStyle(): string;
8249
8282
  }
8250
8283
 
8251
- interface Props$16 {
8284
+ interface Props$18 {
8252
8285
  chartId: UID;
8253
8286
  definition: ChartDefinition;
8254
8287
  updateChart: (chartId: UID, definition: Partial<ChartDefinition>) => DispatchResult;
8255
8288
  canUpdateChart: (chartId: UID, definition: Partial<ChartDefinition>) => DispatchResult;
8256
8289
  defaultChartTitleFontSize?: number;
8257
8290
  }
8258
- declare class GeneralDesignEditor extends Component<Props$16, SpreadsheetChildEnv> {
8291
+ declare class GeneralDesignEditor extends Component<Props$18, SpreadsheetChildEnv> {
8259
8292
  static template: string;
8260
8293
  static components: {
8261
8294
  RoundColorPicker: typeof RoundColorPicker;
@@ -8290,13 +8323,32 @@ declare class GeneralDesignEditor extends Component<Props$16, SpreadsheetChildEn
8290
8323
  updateChartTitleStyle(style: TitleDesign): void;
8291
8324
  }
8292
8325
 
8293
- interface Props$15 {
8326
+ interface Props$17 {
8294
8327
  chartId: UID;
8295
8328
  definition: ChartWithDataSetDefinition;
8296
8329
  updateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8297
8330
  canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8298
8331
  }
8299
- declare class ChartLegend extends Component<Props$15, SpreadsheetChildEnv> {
8332
+ declare class ChartHumanizeNumbers extends Component<Props$17, SpreadsheetChildEnv> {
8333
+ static template: string;
8334
+ static components: {
8335
+ Checkbox: typeof Checkbox;
8336
+ };
8337
+ static props: {
8338
+ chartId: StringConstructor;
8339
+ definition: ObjectConstructor;
8340
+ updateChart: FunctionConstructor;
8341
+ canUpdateChart: FunctionConstructor;
8342
+ };
8343
+ }
8344
+
8345
+ interface Props$16 {
8346
+ chartId: UID;
8347
+ definition: ChartWithDataSetDefinition;
8348
+ updateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8349
+ canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8350
+ }
8351
+ declare class ChartLegend extends Component<Props$16, SpreadsheetChildEnv> {
8300
8352
  static template: string;
8301
8353
  static components: {
8302
8354
  Section: typeof Section;
@@ -8310,13 +8362,13 @@ declare class ChartLegend extends Component<Props$15, SpreadsheetChildEnv> {
8310
8362
  updateLegendPosition(ev: any): void;
8311
8363
  }
8312
8364
 
8313
- interface Props$14 {
8365
+ interface Props$15 {
8314
8366
  chartId: UID;
8315
8367
  definition: ChartWithDataSetDefinition;
8316
8368
  canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8317
8369
  updateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8318
8370
  }
8319
- declare class SeriesDesignEditor extends Component<Props$14, SpreadsheetChildEnv> {
8371
+ declare class SeriesDesignEditor extends Component<Props$15, SpreadsheetChildEnv> {
8320
8372
  static template: string;
8321
8373
  static components: {
8322
8374
  SidePanelCollapsible: typeof SidePanelCollapsible;
@@ -8344,13 +8396,13 @@ declare class SeriesDesignEditor extends Component<Props$14, SpreadsheetChildEnv
8344
8396
  getDataSeriesLabel(): string | undefined;
8345
8397
  }
8346
8398
 
8347
- interface Props$13 {
8399
+ interface Props$14 {
8348
8400
  chartId: UID;
8349
8401
  definition: ChartWithDataSetDefinition;
8350
8402
  canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8351
8403
  updateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8352
8404
  }
8353
- declare class SeriesWithAxisDesignEditor extends Component<Props$13, SpreadsheetChildEnv> {
8405
+ declare class SeriesWithAxisDesignEditor extends Component<Props$14, SpreadsheetChildEnv> {
8354
8406
  static template: string;
8355
8407
  static components: {
8356
8408
  SeriesDesignEditor: typeof SeriesDesignEditor;
@@ -8391,14 +8443,14 @@ declare class SeriesWithAxisDesignEditor extends Component<Props$13, Spreadsheet
8391
8443
  updateTrendLineValue(index: number, config: any): void;
8392
8444
  }
8393
8445
 
8394
- interface Props$12 {
8446
+ interface Props$13 {
8395
8447
  chartId: UID;
8396
8448
  definition: ChartWithDataSetDefinition;
8397
8449
  updateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8398
8450
  canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
8399
8451
  defaultValue?: boolean;
8400
8452
  }
8401
- declare class ChartShowValues extends Component<Props$12, SpreadsheetChildEnv> {
8453
+ declare class ChartShowValues extends Component<Props$13, SpreadsheetChildEnv> {
8402
8454
  static template: string;
8403
8455
  static components: {
8404
8456
  Checkbox: typeof Checkbox;
@@ -8415,13 +8467,13 @@ declare class ChartShowValues extends Component<Props$12, SpreadsheetChildEnv> {
8415
8467
  };
8416
8468
  }
8417
8469
 
8418
- interface Props$11 {
8470
+ interface Props$12 {
8419
8471
  chartId: UID;
8420
8472
  definition: ChartWithDataSetDefinition;
8421
8473
  canUpdateChart: (chartId: UID, definition: GenericDefinition<ChartWithDataSetDefinition>) => DispatchResult;
8422
8474
  updateChart: (chartId: UID, definition: GenericDefinition<ChartWithDataSetDefinition>) => DispatchResult;
8423
8475
  }
8424
- declare class ChartWithAxisDesignPanel<P extends Props$11 = Props$11> extends Component<P, SpreadsheetChildEnv> {
8476
+ declare class ChartWithAxisDesignPanel<P extends Props$12 = Props$12> extends Component<P, SpreadsheetChildEnv> {
8425
8477
  static template: string;
8426
8478
  static components: {
8427
8479
  GeneralDesignEditor: typeof GeneralDesignEditor;
@@ -8431,6 +8483,7 @@ declare class ChartWithAxisDesignPanel<P extends Props$11 = Props$11> extends Co
8431
8483
  SeriesWithAxisDesignEditor: typeof SeriesWithAxisDesignEditor;
8432
8484
  ChartLegend: typeof ChartLegend;
8433
8485
  ChartShowValues: typeof ChartShowValues;
8486
+ ChartHumanizeNumbers: typeof ChartHumanizeNumbers;
8434
8487
  };
8435
8488
  static props: {
8436
8489
  chartId: StringConstructor;
@@ -8441,13 +8494,13 @@ declare class ChartWithAxisDesignPanel<P extends Props$11 = Props$11> extends Co
8441
8494
  get axesList(): AxisDefinition[];
8442
8495
  }
8443
8496
 
8444
- interface Props$10 {
8497
+ interface Props$11 {
8445
8498
  chartId: UID;
8446
8499
  definition: GaugeChartDefinition;
8447
8500
  canUpdateChart: (chartId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
8448
8501
  updateChart: (chartId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
8449
8502
  }
8450
- declare class GaugeChartConfigPanel extends Component<Props$10, SpreadsheetChildEnv> {
8503
+ declare class GaugeChartConfigPanel extends Component<Props$11, SpreadsheetChildEnv> {
8451
8504
  static template: string;
8452
8505
  static components: {
8453
8506
  ChartErrorSection: typeof ChartErrorSection;
@@ -8512,13 +8565,13 @@ interface EnrichedToken extends Token {
8512
8565
  isInHoverContext?: boolean;
8513
8566
  }
8514
8567
 
8515
- interface Props$$ {
8568
+ interface Props$10 {
8516
8569
  proposals: AutoCompleteProposal[];
8517
8570
  selectedIndex: number | undefined;
8518
8571
  onValueSelected: (value: string) => void;
8519
8572
  onValueHovered: (index: string) => void;
8520
8573
  }
8521
- declare class TextValueProvider extends Component<Props$$> {
8574
+ declare class TextValueProvider extends Component<Props$10> {
8522
8575
  static template: string;
8523
8576
  static props: {
8524
8577
  proposals: ArrayConstructor;
@@ -8575,11 +8628,11 @@ declare class ContentEditableHelper {
8575
8628
  getText(): string;
8576
8629
  }
8577
8630
 
8578
- interface Props$_ {
8631
+ interface Props$$ {
8579
8632
  functionDescription: FunctionDescription;
8580
8633
  argsToFocus: number[];
8581
8634
  }
8582
- declare class FunctionDescriptionProvider extends Component<Props$_, SpreadsheetChildEnv> {
8635
+ declare class FunctionDescriptionProvider extends Component<Props$$, SpreadsheetChildEnv> {
8583
8636
  static template: string;
8584
8637
  static props: {
8585
8638
  functionDescription: ObjectConstructor;
@@ -8590,15 +8643,15 @@ declare class FunctionDescriptionProvider extends Component<Props$_, Spreadsheet
8590
8643
  };
8591
8644
  private state;
8592
8645
  toggle(): void;
8593
- getContext(): Props$_;
8646
+ getContext(): Props$$;
8594
8647
  get formulaArgSeparator(): string;
8595
8648
  }
8596
8649
 
8597
- interface Props$Z {
8650
+ interface Props$_ {
8598
8651
  anchorRect: Rect;
8599
8652
  content: string;
8600
8653
  }
8601
- declare class SpeechBubble extends Component<Props$Z, SpreadsheetChildEnv> {
8654
+ declare class SpeechBubble extends Component<Props$_, SpreadsheetChildEnv> {
8602
8655
  static template: string;
8603
8656
  static props: {
8604
8657
  content: StringConstructor;
@@ -9011,7 +9064,7 @@ interface AutoCompleteProviderDefinition {
9011
9064
  }, tokenAtCursor: EnrichedToken, text: string): void;
9012
9065
  }
9013
9066
 
9014
- interface Props$Y {
9067
+ interface Props$Z {
9015
9068
  onConfirm: (content: string) => void;
9016
9069
  composerContent: string;
9017
9070
  defaultRangeSheetId: UID;
@@ -9023,7 +9076,7 @@ interface Props$Y {
9023
9076
  invalid?: boolean;
9024
9077
  getContextualColoredSymbolToken?: (token: Token) => Color;
9025
9078
  }
9026
- declare class StandaloneComposer extends Component<Props$Y, SpreadsheetChildEnv> {
9079
+ declare class StandaloneComposer extends Component<Props$Z, SpreadsheetChildEnv> {
9027
9080
  static template: string;
9028
9081
  static props: {
9029
9082
  composerContent: {
@@ -9086,13 +9139,13 @@ interface PanelState {
9086
9139
  sectionRuleCancelledReasons?: CommandResult[];
9087
9140
  sectionRule: SectionRule;
9088
9141
  }
9089
- interface Props$X {
9142
+ interface Props$Y {
9090
9143
  chartId: UID;
9091
9144
  definition: GaugeChartDefinition;
9092
9145
  canUpdateChart: (chartId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
9093
9146
  updateChart: (chartId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
9094
9147
  }
9095
- declare class GaugeChartDesignPanel extends Component<Props$X, SpreadsheetChildEnv> {
9148
+ declare class GaugeChartDesignPanel extends Component<Props$Y, SpreadsheetChildEnv> {
9096
9149
  static template: string;
9097
9150
  static components: {
9098
9151
  SidePanelCollapsible: typeof SidePanelCollapsible;
@@ -9101,6 +9154,7 @@ declare class GaugeChartDesignPanel extends Component<Props$X, SpreadsheetChildE
9101
9154
  GeneralDesignEditor: typeof GeneralDesignEditor;
9102
9155
  ChartErrorSection: typeof ChartErrorSection;
9103
9156
  StandaloneComposer: typeof StandaloneComposer;
9157
+ ChartHumanizeNumbers: typeof ChartHumanizeNumbers;
9104
9158
  };
9105
9159
  static props: {
9106
9160
  chartId: StringConstructor;
@@ -9142,13 +9196,13 @@ declare class LineConfigPanel extends GenericChartConfigPanel {
9142
9196
  onUpdateCumulative(cumulative: boolean): void;
9143
9197
  }
9144
9198
 
9145
- interface Props$W {
9199
+ interface Props$X {
9146
9200
  chartId: UID;
9147
9201
  definition: ScorecardChartDefinition;
9148
9202
  canUpdateChart: (chartId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
9149
9203
  updateChart: (chartId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
9150
9204
  }
9151
- declare class ScorecardChartConfigPanel extends Component<Props$W, SpreadsheetChildEnv> {
9205
+ declare class ScorecardChartConfigPanel extends Component<Props$X, SpreadsheetChildEnv> {
9152
9206
  static template: string;
9153
9207
  static components: {
9154
9208
  SelectionInput: typeof SelectionInput;
@@ -9177,13 +9231,13 @@ declare class ScorecardChartConfigPanel extends Component<Props$W, SpreadsheetCh
9177
9231
  }
9178
9232
 
9179
9233
  type ColorPickerId = undefined | "backgroundColor" | "baselineColorUp" | "baselineColorDown";
9180
- interface Props$V {
9234
+ interface Props$W {
9181
9235
  chartId: UID;
9182
9236
  definition: ScorecardChartDefinition;
9183
9237
  canUpdateChart: (chartId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
9184
9238
  updateChart: (chartId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
9185
9239
  }
9186
- declare class ScorecardChartDesignPanel extends Component<Props$V, SpreadsheetChildEnv> {
9240
+ declare class ScorecardChartDesignPanel extends Component<Props$W, SpreadsheetChildEnv> {
9187
9241
  static template: string;
9188
9242
  static components: {
9189
9243
  GeneralDesignEditor: typeof GeneralDesignEditor;
@@ -9192,6 +9246,7 @@ declare class ScorecardChartDesignPanel extends Component<Props$V, SpreadsheetCh
9192
9246
  Section: typeof Section;
9193
9247
  Checkbox: typeof Checkbox;
9194
9248
  ChartTitle: typeof ChartTitle;
9249
+ ChartHumanizeNumbers: typeof ChartHumanizeNumbers;
9195
9250
  };
9196
9251
  static props: {
9197
9252
  chartId: StringConstructor;
@@ -9203,9 +9258,7 @@ declare class ScorecardChartDesignPanel extends Component<Props$V, SpreadsheetCh
9203
9258
  };
9204
9259
  };
9205
9260
  get colorsSectionTitle(): string;
9206
- get humanizeNumbersLabel(): string;
9207
9261
  get defaultScorecardTitleFontSize(): number;
9208
- updateHumanizeNumbers(humanize: boolean): void;
9209
9262
  translate(term: any): string;
9210
9263
  setColor(color: Color, colorPickerId: ColorPickerId): void;
9211
9264
  get keyStyle(): TitleDesign;
@@ -9256,7 +9309,7 @@ interface PanelInfo {
9256
9309
  isCollapsed?: boolean;
9257
9310
  }
9258
9311
  declare class SidePanelStore extends SpreadsheetStore {
9259
- mutators: readonly ["open", "toggle", "close", "changePanelSize", "resetPanelSize", "togglePinPanel", "closeMainPanel", "changeSpreadsheetWidth", "toggleCollapsePanel"];
9312
+ mutators: readonly ["open", "replace", "toggle", "close", "changePanelSize", "resetPanelSize", "togglePinPanel", "closeMainPanel", "changeSpreadsheetWidth", "toggleCollapsePanel"];
9260
9313
  mainPanel: (PanelInfo & {
9261
9314
  isCollapsed?: boolean;
9262
9315
  isPinned?: boolean;
@@ -9278,6 +9331,7 @@ declare class SidePanelStore extends SpreadsheetStore {
9278
9331
  private getPanelProps;
9279
9332
  private getPanelKey;
9280
9333
  open(componentTag: string, initialPanelProps?: SidePanelComponentProps): void;
9334
+ replace(componentTag: string, currentPanelKey: string, initialPanelProps?: SidePanelComponentProps): void;
9281
9335
  private _openPanel;
9282
9336
  toggle(componentTag: string, panelProps: SidePanelComponentProps): void;
9283
9337
  close(): void;
@@ -9361,11 +9415,18 @@ declare class ComposerFocusStore extends SpreadsheetStore {
9361
9415
  private setComposerContent;
9362
9416
  }
9363
9417
 
9364
- interface Props$U {
9418
+ declare class ChartAnimationStore extends SpreadsheetStore {
9419
+ mutators: readonly ["disableAnimationForChart", "enableAnimationForChart"];
9420
+ animationPlayed: {};
9421
+ disableAnimationForChart(chartId: UID, chartType: ChartType): string;
9422
+ enableAnimationForChart(chartId: UID): string;
9423
+ }
9424
+
9425
+ interface Props$V {
9365
9426
  chartId: UID;
9366
9427
  isFullScreen?: boolean;
9367
9428
  }
9368
- declare class ChartJsComponent extends Component<Props$U, SpreadsheetChildEnv> {
9429
+ declare class ChartJsComponent extends Component<Props$V, SpreadsheetChildEnv> {
9369
9430
  static template: string;
9370
9431
  static props: {
9371
9432
  chartId: StringConstructor;
@@ -9374,26 +9435,36 @@ declare class ChartJsComponent extends Component<Props$U, SpreadsheetChildEnv> {
9374
9435
  optional: boolean;
9375
9436
  };
9376
9437
  };
9377
- private canvas;
9378
- private chart?;
9379
- private currentRuntime;
9380
- private animationStore;
9438
+ protected canvas: {
9439
+ el: HTMLElement | null;
9440
+ };
9441
+ protected chart?: Chart;
9442
+ protected currentRuntime: ChartJSRuntime;
9443
+ protected animationStore: Store<ChartAnimationStore> | undefined;
9381
9444
  private currentDevicePixelRatio;
9382
9445
  get background(): string;
9383
9446
  get canvasStyle(): string;
9384
9447
  get chartRuntime(): ChartJSRuntime;
9385
9448
  setup(): void;
9386
- private createChart;
9387
- private updateChartJs;
9449
+ protected unmount(): void;
9450
+ protected get shouldAnimate(): boolean;
9451
+ protected createChart(chartRuntime: ChartJSRuntime): void;
9452
+ protected updateChartJs(chartRuntime: ChartJSRuntime): void;
9388
9453
  private hasChartDataChanged;
9389
- private enableAnimationInChartData;
9454
+ protected enableAnimationInChartData(chartData: ChartConfiguration$1<any>): {
9455
+ options: any;
9456
+ type: any;
9457
+ data: chart_js_auto.ChartData<any, any[], unknown>;
9458
+ plugins?: chart_js_auto.Plugin<any, chart_js_dist_types_basic.AnyObject>[] | undefined;
9459
+ platform?: typeof chart_js_auto.BasePlatform;
9460
+ };
9390
9461
  get animationFigureId(): string;
9391
9462
  }
9392
9463
 
9393
- interface Props$T {
9464
+ interface Props$U {
9394
9465
  chartId: UID;
9395
9466
  }
9396
- declare class ScorecardChart$1 extends Component<Props$T, SpreadsheetChildEnv> {
9467
+ declare class ScorecardChart$1 extends Component<Props$U, SpreadsheetChildEnv> {
9397
9468
  static template: string;
9398
9469
  static props: {
9399
9470
  chartId: StringConstructor;
@@ -9469,7 +9540,7 @@ declare class Menu extends Component<MenuProps, SpreadsheetChildEnv> {
9469
9540
  onClickMenu(menu: Action, ev: CustomEvent): void;
9470
9541
  }
9471
9542
 
9472
- interface Props$S {
9543
+ interface Props$T {
9473
9544
  anchorRect: Rect;
9474
9545
  popoverPositioning: PopoverPropsPosition;
9475
9546
  menuItems: Action[];
@@ -9489,7 +9560,7 @@ interface MenuState {
9489
9560
  menuItems: Action[];
9490
9561
  isHoveringChild?: boolean;
9491
9562
  }
9492
- declare class MenuPopover extends Component<Props$S, SpreadsheetChildEnv> {
9563
+ declare class MenuPopover extends Component<Props$T, SpreadsheetChildEnv> {
9493
9564
  static template: string;
9494
9565
  static props: {
9495
9566
  anchorRect: ObjectConstructor;
@@ -9569,7 +9640,7 @@ declare class MenuPopover extends Component<Props$S, SpreadsheetChildEnv> {
9569
9640
  }
9570
9641
 
9571
9642
  type ResizeAnchor = "top left" | "top" | "top right" | "right" | "bottom right" | "bottom" | "bottom left" | "left";
9572
- interface Props$R {
9643
+ interface Props$S {
9573
9644
  figureUI: FigureUI;
9574
9645
  style: string;
9575
9646
  class: string;
@@ -9577,7 +9648,7 @@ interface Props$R {
9577
9648
  onMouseDown: (ev: MouseEvent) => void;
9578
9649
  onClickAnchor(dirX: ResizeDirection, dirY: ResizeDirection, ev: MouseEvent): void;
9579
9650
  }
9580
- declare class FigureComponent extends Component<Props$R, SpreadsheetChildEnv> {
9651
+ declare class FigureComponent extends Component<Props$S, SpreadsheetChildEnv> {
9581
9652
  static template: string;
9582
9653
  static props: {
9583
9654
  figureUI: ObjectConstructor;
@@ -9633,7 +9704,7 @@ declare class FigureComponent extends Component<Props$R, SpreadsheetChildEnv> {
9633
9704
  editWrapperStyle(properties: CSSProperties): void;
9634
9705
  }
9635
9706
 
9636
- interface Props$Q {
9707
+ interface Props$R {
9637
9708
  chartId: UID;
9638
9709
  }
9639
9710
  interface MenuItem {
@@ -9643,7 +9714,7 @@ interface MenuItem {
9643
9714
  onClick: () => void;
9644
9715
  isSelected?: boolean;
9645
9716
  }
9646
- declare class ChartDashboardMenu extends Component<Props$Q, SpreadsheetChildEnv> {
9717
+ declare class ChartDashboardMenu extends Component<Props$R, SpreadsheetChildEnv> {
9647
9718
  static template: string;
9648
9719
  static components: {
9649
9720
  MenuPopover: typeof MenuPopover;
@@ -9661,12 +9732,12 @@ declare class ChartDashboardMenu extends Component<Props$Q, SpreadsheetChildEnv>
9661
9732
  get fullScreenMenuItem(): MenuItem | undefined;
9662
9733
  }
9663
9734
 
9664
- interface Props$P {
9735
+ interface Props$Q {
9665
9736
  figureUI: FigureUI;
9666
9737
  onFigureDeleted: () => void;
9667
9738
  editFigureStyle?: (properties: CSSProperties) => void;
9668
9739
  }
9669
- declare class ChartFigure extends Component<Props$P, SpreadsheetChildEnv> {
9740
+ declare class ChartFigure extends Component<Props$Q, SpreadsheetChildEnv> {
9670
9741
  static template: string;
9671
9742
  static props: {
9672
9743
  figureUI: ObjectConstructor;
@@ -9696,7 +9767,7 @@ declare class DelayedHoveredCellStore extends SpreadsheetStore {
9696
9767
 
9697
9768
  type DnDDirection = "all" | "vertical" | "horizontal";
9698
9769
 
9699
- interface Props$O {
9770
+ interface Props$P {
9700
9771
  isVisible: boolean;
9701
9772
  position: Position;
9702
9773
  }
@@ -9708,7 +9779,7 @@ interface State$4 {
9708
9779
  position: Position;
9709
9780
  handler: boolean;
9710
9781
  }
9711
- declare class Autofill extends Component<Props$O, SpreadsheetChildEnv> {
9782
+ declare class Autofill extends Component<Props$P, SpreadsheetChildEnv> {
9712
9783
  static template: string;
9713
9784
  static props: {
9714
9785
  position: ObjectConstructor;
@@ -9748,7 +9819,7 @@ declare class ClientTag extends Component<ClientTagProps, SpreadsheetChildEnv> {
9748
9819
  get tagStyle(): string;
9749
9820
  }
9750
9821
 
9751
- interface Props$N {
9822
+ interface Props$O {
9752
9823
  gridDims: DOMDimension;
9753
9824
  onInputContextMenu: (event: MouseEvent) => void;
9754
9825
  }
@@ -9756,7 +9827,7 @@ interface Props$N {
9756
9827
  * This component is a composer which positions itself on the grid at the anchor cell.
9757
9828
  * It also applies the style of the cell to the composer input.
9758
9829
  */
9759
- declare class GridComposer extends Component<Props$N, SpreadsheetChildEnv> {
9830
+ declare class GridComposer extends Component<Props$O, SpreadsheetChildEnv> {
9760
9831
  static template: string;
9761
9832
  static props: {
9762
9833
  gridDims: ObjectConstructor;
@@ -9800,7 +9871,7 @@ interface SnapLine<T extends HFigureAxisType | VFigureAxisType> {
9800
9871
  }
9801
9872
 
9802
9873
  type ContainerType = "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "dnd";
9803
- interface Props$M {
9874
+ interface Props$N {
9804
9875
  onFigureDeleted: () => void;
9805
9876
  }
9806
9877
  interface Container {
@@ -9881,7 +9952,7 @@ interface DndState {
9881
9952
  * that occurred during the drag & drop, and to position the figure on the correct pane.
9882
9953
  *
9883
9954
  */
9884
- declare class FiguresContainer extends Component<Props$M, SpreadsheetChildEnv> {
9955
+ declare class FiguresContainer extends Component<Props$N, SpreadsheetChildEnv> {
9885
9956
  static template: string;
9886
9957
  static props: {
9887
9958
  onFigureDeleted: FunctionConstructor;
@@ -9919,10 +9990,10 @@ declare class FiguresContainer extends Component<Props$M, SpreadsheetChildEnv> {
9919
9990
  private getCarouselOverlappingChart;
9920
9991
  }
9921
9992
 
9922
- interface Props$L {
9993
+ interface Props$M {
9923
9994
  focusGrid: () => void;
9924
9995
  }
9925
- declare class GridAddRowsFooter extends Component<Props$L, SpreadsheetChildEnv> {
9996
+ declare class GridAddRowsFooter extends Component<Props$M, SpreadsheetChildEnv> {
9926
9997
  static template: string;
9927
9998
  static props: {
9928
9999
  focusGrid: FunctionConstructor;
@@ -9946,7 +10017,7 @@ declare class GridAddRowsFooter extends Component<Props$L, SpreadsheetChildEnv>
9946
10017
  private onExternalClick;
9947
10018
  }
9948
10019
 
9949
- interface Props$K {
10020
+ interface Props$L {
9950
10021
  onCellDoubleClicked: (col: HeaderIndex, row: HeaderIndex) => void;
9951
10022
  onCellClicked: (col: HeaderIndex, row: HeaderIndex, modifiers: GridClickModifiers, ev: PointerEvent | MouseEvent) => void;
9952
10023
  onCellRightClicked: (col: HeaderIndex, row: HeaderIndex, coordinates: DOMCoordinates) => void;
@@ -9959,7 +10030,7 @@ interface Props$K {
9959
10030
  height: number;
9960
10031
  };
9961
10032
  }
9962
- declare class GridOverlay extends Component<Props$K, SpreadsheetChildEnv> {
10033
+ declare class GridOverlay extends Component<Props$L, SpreadsheetChildEnv> {
9963
10034
  static template: string;
9964
10035
  static props: {
9965
10036
  onCellDoubleClicked: {
@@ -10019,12 +10090,12 @@ declare class GridOverlay extends Component<Props$K, SpreadsheetChildEnv> {
10019
10090
  private getInteractiveIconAtEvent;
10020
10091
  }
10021
10092
 
10022
- interface Props$J {
10093
+ interface Props$K {
10023
10094
  gridRect: Rect;
10024
10095
  onClosePopover: () => void;
10025
10096
  onMouseWheel: (ev: WheelEvent) => void;
10026
10097
  }
10027
- declare class GridPopover extends Component<Props$J, SpreadsheetChildEnv> {
10098
+ declare class GridPopover extends Component<Props$K, SpreadsheetChildEnv> {
10028
10099
  static template: string;
10029
10100
  static props: {
10030
10101
  onClosePopover: FunctionConstructor;
@@ -10040,7 +10111,7 @@ declare class GridPopover extends Component<Props$J, SpreadsheetChildEnv> {
10040
10111
  get cellPopover(): PositionedCellPopoverComponent | ClosedCellPopover;
10041
10112
  }
10042
10113
 
10043
- interface Props$I {
10114
+ interface Props$J {
10044
10115
  headersGroups: ConsecutiveIndexes[];
10045
10116
  offset: number;
10046
10117
  headerRange: {
@@ -10048,7 +10119,7 @@ interface Props$I {
10048
10119
  end: HeaderIndex;
10049
10120
  };
10050
10121
  }
10051
- declare class UnhideRowHeaders extends Component<Props$I, SpreadsheetChildEnv> {
10122
+ declare class UnhideRowHeaders extends Component<Props$J, SpreadsheetChildEnv> {
10052
10123
  static template: string;
10053
10124
  static props: {
10054
10125
  headersGroups: ArrayConstructor;
@@ -10067,7 +10138,7 @@ declare class UnhideRowHeaders extends Component<Props$I, SpreadsheetChildEnv> {
10067
10138
  unhide(hiddenElements: HeaderIndex[]): void;
10068
10139
  isVisible(header: HeaderIndex): boolean;
10069
10140
  }
10070
- declare class UnhideColumnHeaders extends Component<Props$I, SpreadsheetChildEnv> {
10141
+ declare class UnhideColumnHeaders extends Component<Props$J, SpreadsheetChildEnv> {
10071
10142
  static template: string;
10072
10143
  static props: {
10073
10144
  headersGroups: ArrayConstructor;
@@ -10260,13 +10331,13 @@ declare class HeadersOverlay extends Component<any, SpreadsheetChildEnv> {
10260
10331
  }
10261
10332
 
10262
10333
  type Orientation$1 = "n" | "s" | "w" | "e";
10263
- interface Props$H {
10334
+ interface Props$I {
10264
10335
  zone: Zone;
10265
10336
  orientation: Orientation$1;
10266
10337
  isMoving: boolean;
10267
10338
  onMoveHighlight: (ev: PointerEvent) => void;
10268
10339
  }
10269
- declare class Border extends Component<Props$H, SpreadsheetChildEnv> {
10340
+ declare class Border extends Component<Props$I, SpreadsheetChildEnv> {
10270
10341
  static template: string;
10271
10342
  static props: {
10272
10343
  zone: ObjectConstructor;
@@ -10279,14 +10350,14 @@ declare class Border extends Component<Props$H, SpreadsheetChildEnv> {
10279
10350
  }
10280
10351
 
10281
10352
  type Orientation = "nw" | "ne" | "sw" | "se" | "n" | "s" | "e" | "w";
10282
- interface Props$G {
10353
+ interface Props$H {
10283
10354
  zone: Zone;
10284
10355
  color: Color;
10285
10356
  orientation: Orientation;
10286
10357
  isResizing: boolean;
10287
10358
  onResizeHighlight: (ev: PointerEvent, dirX: ResizeDirection, dirY: ResizeDirection) => void;
10288
10359
  }
10289
- declare class Corner extends Component<Props$G, SpreadsheetChildEnv> {
10360
+ declare class Corner extends Component<Props$H, SpreadsheetChildEnv> {
10290
10361
  static template: string;
10291
10362
  static props: {
10292
10363
  zone: ObjectConstructor;
@@ -10335,7 +10406,7 @@ declare class Highlight extends Component<HighlightProps, SpreadsheetChildEnv> {
10335
10406
 
10336
10407
  type ScrollDirection = "horizontal" | "vertical";
10337
10408
 
10338
- interface Props$F {
10409
+ interface Props$G {
10339
10410
  width: Pixel;
10340
10411
  height: Pixel;
10341
10412
  direction: ScrollDirection;
@@ -10343,7 +10414,7 @@ interface Props$F {
10343
10414
  offset: Pixel;
10344
10415
  onScroll: (offset: Pixel) => void;
10345
10416
  }
10346
- declare class ScrollBar extends Component<Props$F> {
10417
+ declare class ScrollBar extends Component<Props$G> {
10347
10418
  static props: {
10348
10419
  width: {
10349
10420
  type: NumberConstructor;
@@ -10371,10 +10442,10 @@ declare class ScrollBar extends Component<Props$F> {
10371
10442
  onScroll(ev: any): void;
10372
10443
  }
10373
10444
 
10374
- interface Props$E {
10445
+ interface Props$F {
10375
10446
  leftOffset: number;
10376
10447
  }
10377
- declare class HorizontalScrollBar extends Component<Props$E, SpreadsheetChildEnv> {
10448
+ declare class HorizontalScrollBar extends Component<Props$F, SpreadsheetChildEnv> {
10378
10449
  static props: {
10379
10450
  leftOffset: {
10380
10451
  type: NumberConstructor;
@@ -10400,10 +10471,10 @@ declare class HorizontalScrollBar extends Component<Props$E, SpreadsheetChildEnv
10400
10471
  onScroll(offset: any): void;
10401
10472
  }
10402
10473
 
10403
- interface Props$D {
10474
+ interface Props$E {
10404
10475
  topOffset: number;
10405
10476
  }
10406
- declare class VerticalScrollBar extends Component<Props$D, SpreadsheetChildEnv> {
10477
+ declare class VerticalScrollBar extends Component<Props$E, SpreadsheetChildEnv> {
10407
10478
  static props: {
10408
10479
  topOffset: {
10409
10480
  type: NumberConstructor;
@@ -10438,13 +10509,13 @@ declare class Selection extends Component<{}, SpreadsheetChildEnv> {
10438
10509
  get highlightProps(): HighlightProps;
10439
10510
  }
10440
10511
 
10441
- interface Props$C {
10512
+ interface Props$D {
10442
10513
  table: Table;
10443
10514
  }
10444
10515
  interface State$3 {
10445
10516
  highlightZone: Zone | undefined;
10446
10517
  }
10447
- declare class TableResizer extends Component<Props$C, SpreadsheetChildEnv> {
10518
+ declare class TableResizer extends Component<Props$D, SpreadsheetChildEnv> {
10448
10519
  static template: string;
10449
10520
  static props: {
10450
10521
  table: ObjectConstructor;
@@ -10473,11 +10544,11 @@ declare class TableResizer extends Component<Props$C, SpreadsheetChildEnv> {
10473
10544
  * - a vertical resizer (same, for rows)
10474
10545
  */
10475
10546
  type ContextMenuType = "ROW" | "COL" | "CELL" | "FILTER" | "GROUP_HEADERS" | "UNGROUP_HEADERS";
10476
- interface Props$B {
10547
+ interface Props$C {
10477
10548
  exposeFocus: (focus: () => void) => void;
10478
10549
  getGridSize: () => DOMDimension;
10479
10550
  }
10480
- declare class Grid extends Component<Props$B, SpreadsheetChildEnv> {
10551
+ declare class Grid extends Component<Props$C, SpreadsheetChildEnv> {
10481
10552
  static template: string;
10482
10553
  static props: {
10483
10554
  exposeFocus: FunctionConstructor;
@@ -10593,7 +10664,7 @@ declare class MainChartPanelStore extends SpreadsheetStore {
10593
10664
  private getChartDefinitionFromContextCreation;
10594
10665
  }
10595
10666
 
10596
- interface Props$A {
10667
+ interface Props$B {
10597
10668
  chartId: UID;
10598
10669
  chartPanelStore: MainChartPanelStore;
10599
10670
  }
@@ -10601,7 +10672,7 @@ interface ChartTypePickerState {
10601
10672
  popoverProps: PopoverProps | undefined;
10602
10673
  popoverStyle: string;
10603
10674
  }
10604
- declare class ChartTypePicker extends Component<Props$A, SpreadsheetChildEnv> {
10675
+ declare class ChartTypePicker extends Component<Props$B, SpreadsheetChildEnv> {
10605
10676
  static template: string;
10606
10677
  static components: {
10607
10678
  Section: typeof Section;
@@ -10637,11 +10708,11 @@ declare class ChartTypePicker extends Component<Props$A, SpreadsheetChildEnv> {
10637
10708
  private closePopover;
10638
10709
  }
10639
10710
 
10640
- interface Props$z {
10711
+ interface Props$A {
10641
10712
  onCloseSidePanel: () => void;
10642
10713
  chartId: UID;
10643
10714
  }
10644
- declare class ChartPanel extends Component<Props$z, SpreadsheetChildEnv> {
10715
+ declare class ChartPanel extends Component<Props$A, SpreadsheetChildEnv> {
10645
10716
  static template: string;
10646
10717
  static components: {
10647
10718
  Section: typeof Section;
@@ -10664,11 +10735,11 @@ declare class ChartPanel extends Component<Props$z, SpreadsheetChildEnv> {
10664
10735
  private getChartDefinition;
10665
10736
  }
10666
10737
 
10667
- interface Props$y {
10738
+ interface Props$z {
10668
10739
  onValueChange: (value: number) => void;
10669
10740
  value: number;
10670
10741
  }
10671
- declare class PieHoleSize extends Component<Props$y, SpreadsheetChildEnv> {
10742
+ declare class PieHoleSize extends Component<Props$z, SpreadsheetChildEnv> {
10672
10743
  static template: string;
10673
10744
  static components: {
10674
10745
  Section: typeof Section;
@@ -10681,13 +10752,13 @@ declare class PieHoleSize extends Component<Props$y, SpreadsheetChildEnv> {
10681
10752
  onChange(value: string): void;
10682
10753
  }
10683
10754
 
10684
- interface Props$x {
10755
+ interface Props$y {
10685
10756
  chartId: UID;
10686
10757
  definition: PieChartDefinition;
10687
10758
  canUpdateChart: (chartId: UID, definition: GenericDefinition<PieChartDefinition>) => DispatchResult;
10688
10759
  updateChart: (chartId: UID, definition: GenericDefinition<PieChartDefinition>) => DispatchResult;
10689
10760
  }
10690
- declare class PieChartDesignPanel extends Component<Props$x, SpreadsheetChildEnv> {
10761
+ declare class PieChartDesignPanel extends Component<Props$y, SpreadsheetChildEnv> {
10691
10762
  static template: string;
10692
10763
  static components: {
10693
10764
  GeneralDesignEditor: typeof GeneralDesignEditor;
@@ -10695,6 +10766,8 @@ declare class PieChartDesignPanel extends Component<Props$x, SpreadsheetChildEnv
10695
10766
  ChartLegend: typeof ChartLegend;
10696
10767
  ChartShowValues: typeof ChartShowValues;
10697
10768
  PieHoleSize: typeof PieHoleSize;
10769
+ Checkbox: typeof Checkbox;
10770
+ ChartHumanizeNumbers: typeof ChartHumanizeNumbers;
10698
10771
  };
10699
10772
  static props: {
10700
10773
  chartId: StringConstructor;
@@ -10709,10 +10782,10 @@ declare class PieChartDesignPanel extends Component<Props$x, SpreadsheetChildEnv
10709
10782
  get defaultHoleSize(): number;
10710
10783
  }
10711
10784
 
10712
- interface Props$w {
10785
+ interface Props$x {
10713
10786
  items: ActionSpec[];
10714
10787
  }
10715
- declare class CogWheelMenu extends Component<Props$w, SpreadsheetChildEnv> {
10788
+ declare class CogWheelMenu extends Component<Props$x, SpreadsheetChildEnv> {
10716
10789
  static template: string;
10717
10790
  static components: {
10718
10791
  MenuPopover: typeof MenuPopover;
@@ -10795,14 +10868,14 @@ declare class FindAndReplaceStore extends SpreadsheetStore implements HighlightP
10795
10868
  get highlights(): Highlight$1[];
10796
10869
  }
10797
10870
 
10798
- interface Props$v {
10871
+ interface Props$w {
10799
10872
  deferUpdate: boolean;
10800
10873
  isDirty: boolean;
10801
10874
  toggleDeferUpdate: (value: boolean) => void;
10802
10875
  discard: () => void;
10803
10876
  apply: () => void;
10804
10877
  }
10805
- declare class PivotDeferUpdate extends Component<Props$v, SpreadsheetChildEnv> {
10878
+ declare class PivotDeferUpdate extends Component<Props$w, SpreadsheetChildEnv> {
10806
10879
  static template: string;
10807
10880
  static props: {
10808
10881
  deferUpdate: BooleanConstructor;
@@ -10819,11 +10892,11 @@ declare class PivotDeferUpdate extends Component<Props$v, SpreadsheetChildEnv> {
10819
10892
  get deferUpdatesTooltip(): string;
10820
10893
  }
10821
10894
 
10822
- interface Props$u {
10895
+ interface Props$v {
10823
10896
  onFieldPicked: (field: string) => void;
10824
10897
  fields: PivotField[];
10825
10898
  }
10826
- declare class AddDimensionButton extends Component<Props$u, SpreadsheetChildEnv> {
10899
+ declare class AddDimensionButton extends Component<Props$v, SpreadsheetChildEnv> {
10827
10900
  static template: string;
10828
10901
  static components: {
10829
10902
  Popover: typeof Popover;
@@ -10859,15 +10932,16 @@ declare class AddDimensionButton extends Component<Props$u, SpreadsheetChildEnv>
10859
10932
  onKeyDown(ev: KeyboardEvent): void;
10860
10933
  }
10861
10934
 
10862
- interface Props$t {
10935
+ interface Props$u {
10863
10936
  value: string;
10864
10937
  onChange: (value: string) => void;
10865
10938
  class?: string;
10866
10939
  id?: string;
10867
10940
  placeholder?: string;
10868
10941
  autofocus?: boolean;
10942
+ alwaysShowBorder?: boolean;
10869
10943
  }
10870
- declare class TextInput extends Component<Props$t, SpreadsheetChildEnv> {
10944
+ declare class TextInput extends Component<Props$u, SpreadsheetChildEnv> {
10871
10945
  static template: string;
10872
10946
  static props: {
10873
10947
  value: StringConstructor;
@@ -10888,6 +10962,10 @@ declare class TextInput extends Component<Props$t, SpreadsheetChildEnv> {
10888
10962
  type: BooleanConstructor;
10889
10963
  optional: boolean;
10890
10964
  };
10965
+ alwaysShowBorder: {
10966
+ type: BooleanConstructor;
10967
+ optional: boolean;
10968
+ };
10891
10969
  };
10892
10970
  private inputRef;
10893
10971
  setup(): void;
@@ -10895,15 +10973,16 @@ declare class TextInput extends Component<Props$t, SpreadsheetChildEnv> {
10895
10973
  save(): void;
10896
10974
  onMouseDown(ev: MouseEvent): void;
10897
10975
  onMouseUp(ev: MouseEvent): void;
10976
+ get inputClass(): string;
10898
10977
  }
10899
10978
 
10900
- interface Props$s {
10979
+ interface Props$t {
10901
10980
  dimension: PivotCoreDimension | PivotCoreMeasure;
10902
10981
  onRemoved: (dimension: PivotCoreDimension | PivotCoreMeasure) => void;
10903
10982
  onNameUpdated?: (dimension: PivotCoreDimension | PivotCoreMeasure, name?: string) => void;
10904
10983
  type: "row" | "col" | "measure";
10905
10984
  }
10906
- declare class PivotDimension extends Component<Props$s, SpreadsheetChildEnv> {
10985
+ declare class PivotDimension extends Component<Props$t, SpreadsheetChildEnv> {
10907
10986
  static template: string;
10908
10987
  static props: {
10909
10988
  dimension: ObjectConstructor;
@@ -10927,13 +11006,13 @@ declare class PivotDimension extends Component<Props$s, SpreadsheetChildEnv> {
10927
11006
  updateName(name: string): void;
10928
11007
  }
10929
11008
 
10930
- interface Props$r {
11009
+ interface Props$s {
10931
11010
  dimension: PivotDimension$1;
10932
11011
  onUpdated: (dimension: PivotDimension$1, ev: InputEvent) => void;
10933
11012
  availableGranularities: Set<string>;
10934
11013
  allGranularities: string[];
10935
11014
  }
10936
- declare class PivotDimensionGranularity extends Component<Props$r, SpreadsheetChildEnv> {
11015
+ declare class PivotDimensionGranularity extends Component<Props$s, SpreadsheetChildEnv> {
10937
11016
  static template: string;
10938
11017
  static props: {
10939
11018
  dimension: ObjectConstructor;
@@ -10958,11 +11037,11 @@ declare class PivotDimensionGranularity extends Component<Props$r, SpreadsheetCh
10958
11037
  };
10959
11038
  }
10960
11039
 
10961
- interface Props$q {
11040
+ interface Props$r {
10962
11041
  dimension: PivotDimension$1;
10963
11042
  onUpdated: (dimension: PivotDimension$1, ev: InputEvent) => void;
10964
11043
  }
10965
- declare class PivotDimensionOrder extends Component<Props$q, SpreadsheetChildEnv> {
11044
+ declare class PivotDimensionOrder extends Component<Props$r, SpreadsheetChildEnv> {
10966
11045
  static template: string;
10967
11046
  static props: {
10968
11047
  dimension: ObjectConstructor;
@@ -10999,12 +11078,12 @@ declare function toNormalizedPivotValue(dimension: Pick<PivotDimension$1, "type"
10999
11078
  declare function toFunctionPivotValue(value: CellValue, dimension: Pick<PivotDimension$1, "type" | "granularity">): string;
11000
11079
  declare function createCustomFields(definition: PivotCoreDefinition, fields: PivotFields): PivotFields;
11001
11080
 
11002
- interface Props$p {
11081
+ interface Props$q {
11003
11082
  pivotId: UID;
11004
11083
  customField: PivotCustomGroupedField;
11005
11084
  onCustomFieldUpdated: (definition: Partial<PivotCoreDefinition>) => void;
11006
11085
  }
11007
- declare class PivotCustomGroupsCollapsible extends Component<Props$p, SpreadsheetChildEnv> {
11086
+ declare class PivotCustomGroupsCollapsible extends Component<Props$q, SpreadsheetChildEnv> {
11008
11087
  static template: string;
11009
11088
  static props: {
11010
11089
  pivotId: StringConstructor;
@@ -11024,7 +11103,7 @@ declare class PivotCustomGroupsCollapsible extends Component<Props$p, Spreadshee
11024
11103
  private updateCustomField;
11025
11104
  }
11026
11105
 
11027
- interface Props$o {
11106
+ interface Props$p {
11028
11107
  pivotId: string;
11029
11108
  definition: PivotRuntimeDefinition;
11030
11109
  measure: PivotMeasure;
@@ -11032,7 +11111,7 @@ interface Props$o {
11032
11111
  onRemoved: () => void;
11033
11112
  generateMeasureId: (fieldName: string, aggregator?: string) => string;
11034
11113
  }
11035
- declare class PivotMeasureEditor extends Component<Props$o> {
11114
+ declare class PivotMeasureEditor extends Component<Props$p> {
11036
11115
  static template: string;
11037
11116
  static components: {
11038
11117
  PivotDimension: typeof PivotDimension;
@@ -11057,11 +11136,11 @@ declare class PivotMeasureEditor extends Component<Props$o> {
11057
11136
  get isCalculatedMeasureInvalid(): boolean;
11058
11137
  }
11059
11138
 
11060
- interface Props$n {
11139
+ interface Props$o {
11061
11140
  definition: PivotRuntimeDefinition;
11062
11141
  pivotId: UID;
11063
11142
  }
11064
- declare class PivotSortSection extends Component<Props$n, SpreadsheetChildEnv> {
11143
+ declare class PivotSortSection extends Component<Props$o, SpreadsheetChildEnv> {
11065
11144
  static template: string;
11066
11145
  static components: {
11067
11146
  Section: typeof Section;
@@ -11078,7 +11157,7 @@ declare class PivotSortSection extends Component<Props$n, SpreadsheetChildEnv> {
11078
11157
  }[];
11079
11158
  }
11080
11159
 
11081
- interface Props$m {
11160
+ interface Props$n {
11082
11161
  definition: PivotRuntimeDefinition;
11083
11162
  onDimensionsUpdated: (definition: Partial<PivotCoreDefinition>) => void;
11084
11163
  unusedGroupableFields: PivotField[];
@@ -11089,7 +11168,7 @@ interface Props$m {
11089
11168
  getScrollableContainerEl?: () => HTMLElement;
11090
11169
  pivotId: UID;
11091
11170
  }
11092
- declare class PivotLayoutConfigurator extends Component<Props$m, SpreadsheetChildEnv> {
11171
+ declare class PivotLayoutConfigurator extends Component<Props$n, SpreadsheetChildEnv> {
11093
11172
  static template: string;
11094
11173
  static components: {
11095
11174
  AddDimensionButton: typeof AddDimensionButton;
@@ -11142,6 +11221,7 @@ declare class PivotLayoutConfigurator extends Component<Props$m, SpreadsheetChil
11142
11221
  updateOrder(updateDimension: PivotDimension$1, order?: SortDirection): void;
11143
11222
  updateGranularity(dimension: PivotDimension$1, granularity: Granularity): void;
11144
11223
  getMeasureDescription(measure: PivotMeasure): string;
11224
+ getHugeDimensionErrorMessage(dimension: PivotDimension$1): string | undefined;
11145
11225
  }
11146
11226
 
11147
11227
  declare class PivotSidePanelStore extends SpreadsheetStore {
@@ -11151,6 +11231,7 @@ declare class PivotSidePanelStore extends SpreadsheetStore {
11151
11231
  private draft;
11152
11232
  private notification;
11153
11233
  private alreadyNotified;
11234
+ private alreadyNotifiedForPivotSize;
11154
11235
  constructor(get: Get, pivotId: UID);
11155
11236
  handle(cmd: Command): void;
11156
11237
  get fields(): PivotFields;
@@ -11182,11 +11263,11 @@ declare class PivotSidePanelStore extends SpreadsheetStore {
11182
11263
  private areDomainFieldsValid;
11183
11264
  }
11184
11265
 
11185
- interface Props$l {
11266
+ interface Props$m {
11186
11267
  pivotId: UID;
11187
11268
  flipAxis: () => void;
11188
11269
  }
11189
- declare class PivotTitleSection extends Component<Props$l, SpreadsheetChildEnv> {
11270
+ declare class PivotTitleSection extends Component<Props$m, SpreadsheetChildEnv> {
11190
11271
  static template: string;
11191
11272
  static components: {
11192
11273
  CogWheelMenu: typeof CogWheelMenu;
@@ -11283,13 +11364,49 @@ declare function getFirstPivotFunction(tokens: Token[]): {
11283
11364
  */
11284
11365
  declare function getNumberOfPivotFunctions(tokens: Token[]): number;
11285
11366
 
11367
+ declare class ZoomableChartJsComponent extends ChartJsComponent {
11368
+ static template: string;
11369
+ private store;
11370
+ private fullScreenChartStore;
11371
+ private masterChartCanvas;
11372
+ private masterChart?;
11373
+ private mode?;
11374
+ private hasLinearScale?;
11375
+ private isBarChart?;
11376
+ private chartId;
11377
+ private datasetBoundaries;
11378
+ private removeEventListeners;
11379
+ setup(): void;
11380
+ protected unmount(): void;
11381
+ get containerStyle(): string;
11382
+ get sliceable(): boolean;
11383
+ get axisOffset(): number;
11384
+ private getMasterChartConfiguration;
11385
+ private getDetailChartConfiguration;
11386
+ private getAxisLimitsFromDataset;
11387
+ protected get shouldAnimate(): boolean;
11388
+ protected createChart(chartRuntime: ChartJSRuntime): void;
11389
+ protected updateChartJs(chartRuntime: ChartJSRuntime): void;
11390
+ private resetAxesLimits;
11391
+ private updateTrendingLineAxes;
11392
+ get upperBound(): number | undefined;
11393
+ get lowerBound(): number | undefined;
11394
+ private computePosition;
11395
+ private computeCoordinate;
11396
+ private updateAxisLimits;
11397
+ onPointerDownInMasterChart(ev: PointerEvent): void;
11398
+ onPointerMoveInMasterChart(ev: PointerEvent): void;
11399
+ onMouseLeaveMasterChart(ev: PointerEvent): void;
11400
+ onDoubleClickInMasterChart(ev: PointerEvent): void;
11401
+ }
11402
+
11286
11403
  declare class ChartDashboardMenuStore extends SpreadsheetStore {
11287
11404
  private chartId;
11288
11405
  mutators: readonly ["reset"];
11289
11406
  private originalChartDefinition;
11290
11407
  constructor(get: Get, chartId: UID);
11291
11408
  get changeChartTypeMenuItems(): {
11292
- id: "line" | "bar" | "scatter" | "pie" | "radar" | "treemap" | "funnel" | "combo" | "waterfall" | "pyramid" | "geo" | "sunburst" | "scorecard" | "gauge";
11409
+ id: "line" | "bar" | "scatter" | "pie" | "radar" | "funnel" | "treemap" | "geo" | "combo" | "waterfall" | "pyramid" | "sunburst" | "scorecard" | "gauge";
11293
11410
  label: string;
11294
11411
  onClick: () => void;
11295
11412
  isSelected: boolean;
@@ -11336,7 +11453,7 @@ interface PivotDialogValue {
11336
11453
  value: string;
11337
11454
  isMissing: boolean;
11338
11455
  }
11339
- interface Props$k {
11456
+ interface Props$l {
11340
11457
  pivotId: UID;
11341
11458
  onCellClicked: (formula: string) => void;
11342
11459
  }
@@ -11345,7 +11462,7 @@ interface TableData {
11345
11462
  rows: PivotDialogRow[];
11346
11463
  values: PivotDialogValue[][];
11347
11464
  }
11348
- declare class PivotHTMLRenderer extends Component<Props$k, SpreadsheetChildEnv> {
11465
+ declare class PivotHTMLRenderer extends Component<Props$l, SpreadsheetChildEnv> {
11349
11466
  static template: string;
11350
11467
  static components: {
11351
11468
  Checkbox: typeof Checkbox;
@@ -11402,13 +11519,13 @@ declare class PivotHTMLRenderer extends Component<Props$k, SpreadsheetChildEnv>
11402
11519
  _buildValues(id: UID, table: SpreadsheetPivotTable): PivotDialogValue[][];
11403
11520
  }
11404
11521
 
11405
- interface Props$j {
11522
+ interface Props$k {
11406
11523
  chartId: UID;
11407
11524
  definition: ChartWithDataSetDefinition;
11408
11525
  updateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
11409
11526
  canUpdateChart: (chartId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
11410
11527
  }
11411
- declare class ChartShowDataMarkers extends Component<Props$j, SpreadsheetChildEnv> {
11528
+ declare class ChartShowDataMarkers extends Component<Props$k, SpreadsheetChildEnv> {
11412
11529
  static template: string;
11413
11530
  static components: {
11414
11531
  Checkbox: typeof Checkbox;
@@ -11421,17 +11538,40 @@ declare class ChartShowDataMarkers extends Component<Props$j, SpreadsheetChildEn
11421
11538
  };
11422
11539
  }
11423
11540
 
11541
+ interface Props$j {
11542
+ chartId: UID;
11543
+ definition: ZoomableChartDefinition;
11544
+ canUpdateChart: (chartId: UID, definition: GenericDefinition<ZoomableChartDefinition>) => DispatchResult;
11545
+ updateChart: (chartId: UID, definition: GenericDefinition<ZoomableChartDefinition>) => DispatchResult;
11546
+ }
11547
+ declare class GenericZoomableChartDesignPanel<P extends Props$j = Props$j> extends ChartWithAxisDesignPanel<Props$j> {
11548
+ static template: string;
11549
+ static components: {
11550
+ Checkbox: typeof Checkbox;
11551
+ GeneralDesignEditor: typeof GeneralDesignEditor;
11552
+ SidePanelCollapsible: typeof SidePanelCollapsible;
11553
+ Section: typeof Section;
11554
+ AxisDesignEditor: typeof AxisDesignEditor;
11555
+ SeriesWithAxisDesignEditor: typeof SeriesWithAxisDesignEditor;
11556
+ ChartLegend: typeof ChartLegend;
11557
+ ChartShowValues: typeof ChartShowValues;
11558
+ ChartHumanizeNumbers: typeof ChartHumanizeNumbers;
11559
+ };
11560
+ onToggleZoom(zoomable: boolean): void;
11561
+ }
11562
+
11424
11563
  interface Props$i {
11425
11564
  chartId: UID;
11426
11565
  definition: ComboChartDefinition;
11427
11566
  canUpdateChart: (chartId: UID, definition: GenericDefinition<ComboChartDefinition>) => DispatchResult;
11428
11567
  updateChart: (chartId: UID, definition: GenericDefinition<ComboChartDefinition>) => DispatchResult;
11429
11568
  }
11430
- declare class ComboChartDesignPanel extends ChartWithAxisDesignPanel<Props$i> {
11569
+ declare class ComboChartDesignPanel extends GenericZoomableChartDesignPanel<Props$i> {
11431
11570
  static template: string;
11432
11571
  static components: {
11433
11572
  ChartShowDataMarkers: typeof ChartShowDataMarkers;
11434
11573
  RadioSelection: typeof RadioSelection;
11574
+ Checkbox: typeof Checkbox;
11435
11575
  GeneralDesignEditor: typeof GeneralDesignEditor;
11436
11576
  SidePanelCollapsible: typeof SidePanelCollapsible;
11437
11577
  Section: typeof Section;
@@ -11439,6 +11579,7 @@ declare class ComboChartDesignPanel extends ChartWithAxisDesignPanel<Props$i> {
11439
11579
  SeriesWithAxisDesignEditor: typeof SeriesWithAxisDesignEditor;
11440
11580
  ChartLegend: typeof ChartLegend;
11441
11581
  ChartShowValues: typeof ChartShowValues;
11582
+ ChartHumanizeNumbers: typeof ChartHumanizeNumbers;
11442
11583
  };
11443
11584
  seriesTypeChoices: {
11444
11585
  value: string;
@@ -11462,6 +11603,7 @@ declare class FunnelChartDesignPanel extends Component<Props$h, SpreadsheetChild
11462
11603
  SidePanelCollapsible: typeof SidePanelCollapsible;
11463
11604
  RoundColorPicker: typeof RoundColorPicker;
11464
11605
  Section: typeof Section;
11606
+ ChartHumanizeNumbers: typeof ChartHumanizeNumbers;
11465
11607
  };
11466
11608
  static props: {
11467
11609
  chartId: StringConstructor;
@@ -11493,6 +11635,7 @@ declare class GeoChartDesignPanel extends ChartWithAxisDesignPanel<Props$g> {
11493
11635
  SeriesWithAxisDesignEditor: typeof SeriesWithAxisDesignEditor;
11494
11636
  ChartLegend: typeof ChartLegend;
11495
11637
  ChartShowValues: typeof ChartShowValues;
11638
+ ChartHumanizeNumbers: typeof ChartHumanizeNumbers;
11496
11639
  };
11497
11640
  colorScalesChoices: Record<"blues" | "cividis" | "greens" | "greys" | "oranges" | "purples" | "rainbow" | "reds" | "viridis", string>;
11498
11641
  updateColorScaleType(ev: Event): void;
@@ -11528,14 +11671,15 @@ declare class GeoChartRegionSelectSection extends Component<Props$f, Spreadsheet
11528
11671
 
11529
11672
  interface Props$e {
11530
11673
  chartId: UID;
11531
- definition: ComboChartDefinition;
11532
- canUpdateChart: (chartId: UID, definition: GenericDefinition<ComboChartDefinition>) => DispatchResult;
11533
- updateChart: (chartId: UID, definition: GenericDefinition<ComboChartDefinition>) => DispatchResult;
11674
+ definition: LineChartDefinition;
11675
+ canUpdateChart: (chartId: UID, definition: LineChartDefinition) => DispatchResult;
11676
+ updateChart: (chartId: UID, definition: LineChartDefinition) => DispatchResult;
11534
11677
  }
11535
- declare class LineChartDesignPanel extends ChartWithAxisDesignPanel<Props$e> {
11678
+ declare class LineChartDesignPanel extends GenericZoomableChartDesignPanel<Props$e> {
11536
11679
  static template: string;
11537
11680
  static components: {
11538
11681
  ChartShowDataMarkers: typeof ChartShowDataMarkers;
11682
+ Checkbox: typeof Checkbox;
11539
11683
  GeneralDesignEditor: typeof GeneralDesignEditor;
11540
11684
  SidePanelCollapsible: typeof SidePanelCollapsible;
11541
11685
  Section: typeof Section;
@@ -11543,6 +11687,7 @@ declare class LineChartDesignPanel extends ChartWithAxisDesignPanel<Props$e> {
11543
11687
  SeriesWithAxisDesignEditor: typeof SeriesWithAxisDesignEditor;
11544
11688
  ChartLegend: typeof ChartLegend;
11545
11689
  ChartShowValues: typeof ChartShowValues;
11690
+ ChartHumanizeNumbers: typeof ChartHumanizeNumbers;
11546
11691
  };
11547
11692
  }
11548
11693
 
@@ -11561,6 +11706,8 @@ declare class RadarChartDesignPanel extends Component<Props$d, SpreadsheetChildE
11561
11706
  ChartLegend: typeof ChartLegend;
11562
11707
  ChartShowValues: typeof ChartShowValues;
11563
11708
  ChartShowDataMarkers: typeof ChartShowDataMarkers;
11709
+ Checkbox: typeof Checkbox;
11710
+ ChartHumanizeNumbers: typeof ChartHumanizeNumbers;
11564
11711
  };
11565
11712
  static props: {
11566
11713
  chartId: StringConstructor;
@@ -11723,6 +11870,7 @@ declare class WaterfallChartDesignPanel extends Component<Props$8, SpreadsheetCh
11723
11870
  AxisDesignEditor: typeof AxisDesignEditor;
11724
11871
  RadioSelection: typeof RadioSelection;
11725
11872
  ChartLegend: typeof ChartLegend;
11873
+ ChartHumanizeNumbers: typeof ChartHumanizeNumbers;
11726
11874
  };
11727
11875
  static props: {
11728
11876
  chartId: StringConstructor;
@@ -11746,6 +11894,7 @@ declare class WaterfallChartDesignPanel extends Component<Props$8, SpreadsheetCh
11746
11894
  get negativeValuesColor(): Color | "#EA6175";
11747
11895
  get subTotalValuesColor(): Color | "#AAAAAA";
11748
11896
  updateVerticalAxisPosition(value: "left" | "right"): void;
11897
+ onToggleZoom(zoomable: boolean): void;
11749
11898
  }
11750
11899
 
11751
11900
  declare class PivotMeasureDisplayPanelStore extends SpreadsheetStore {
@@ -11820,6 +11969,7 @@ declare class BarChart extends AbstractChart {
11820
11969
  readonly axesDesign?: AxesDesign;
11821
11970
  readonly horizontal?: boolean;
11822
11971
  readonly showValues?: boolean;
11972
+ readonly zoomable?: boolean;
11823
11973
  constructor(definition: BarChartDefinition, sheetId: UID, getters: CoreGetters);
11824
11974
  static transformDefinition(chartSheetId: UID, definition: BarChartDefinition, applyChange: RangeAdapter$1): BarChartDefinition;
11825
11975
  static validateChartDefinition(validator: Validator, definition: BarChartDefinition): CommandResult | CommandResult[];
@@ -11867,6 +12017,7 @@ declare class LineChart extends AbstractChart {
11867
12017
  readonly fillArea?: boolean;
11868
12018
  readonly showValues?: boolean;
11869
12019
  readonly hideDataMarkers?: boolean;
12020
+ readonly zoomable?: boolean;
11870
12021
  constructor(definition: LineChartDefinition, sheetId: UID, getters: CoreGetters);
11871
12022
  static validateChartDefinition(validator: Validator, definition: LineChartDefinition): CommandResult | CommandResult[];
11872
12023
  static transformDefinition(chartSheetId: UID, definition: LineChartDefinition, applyChange: RangeAdapter$1): LineChartDefinition;
@@ -11915,7 +12066,7 @@ declare class ScorecardChart extends AbstractChart {
11915
12066
  readonly baselineColorUp: Color;
11916
12067
  readonly baselineColorDown: Color;
11917
12068
  readonly fontColor?: Color;
11918
- readonly humanize?: boolean;
12069
+ readonly humanize: boolean;
11919
12070
  readonly type = "scorecard";
11920
12071
  constructor(definition: ScorecardChartDefinition, sheetId: UID, getters: CoreGetters);
11921
12072
  static validateChartDefinition(validator: Validator, definition: ScorecardChartDefinition): CommandResult | CommandResult[];
@@ -11948,6 +12099,7 @@ declare class WaterfallChart extends AbstractChart {
11948
12099
  readonly dataSetDesign: CustomizedDataSet[];
11949
12100
  readonly axesDesign?: AxesDesign;
11950
12101
  readonly showValues?: boolean;
12102
+ readonly zoomable?: boolean;
11951
12103
  constructor(definition: WaterfallChartDefinition, sheetId: UID, getters: CoreGetters);
11952
12104
  static transformDefinition(chartSheetId: UID, definition: WaterfallChartDefinition, applyChange: RangeAdapter$1): WaterfallChartDefinition;
11953
12105
  static validateChartDefinition(validator: Validator, definition: WaterfallChartDefinition): CommandResult | CommandResult[];
@@ -12877,6 +13029,7 @@ declare const components: {
12877
13029
  ChartPanel: typeof ChartPanel;
12878
13030
  ChartFigure: typeof ChartFigure;
12879
13031
  ChartJsComponent: typeof ChartJsComponent;
13032
+ ZoomableChartJsComponent: typeof ZoomableChartJsComponent;
12880
13033
  Grid: typeof Grid;
12881
13034
  GridOverlay: typeof GridOverlay;
12882
13035
  ScorecardChart: typeof ScorecardChart$1;
@@ -12885,6 +13038,7 @@ declare const components: {
12885
13038
  PieChartDesignPanel: typeof PieChartDesignPanel;
12886
13039
  GenericChartConfigPanel: typeof GenericChartConfigPanel;
12887
13040
  ChartWithAxisDesignPanel: typeof ChartWithAxisDesignPanel;
13041
+ GenericZoomableChartDesignPanel: typeof GenericZoomableChartDesignPanel;
12888
13042
  LineChartDesignPanel: typeof LineChartDesignPanel;
12889
13043
  GaugeChartConfigPanel: typeof GaugeChartConfigPanel;
12890
13044
  GaugeChartDesignPanel: typeof GaugeChartDesignPanel;
@@ -13475,10 +13629,10 @@ declare const chartHelpers: {
13475
13629
  useLeftAxis: boolean;
13476
13630
  useRightAxis: boolean;
13477
13631
  };
13478
- formatChartDatasetValue(axisFormats: ChartAxisFormats, locale: Locale): (value: any, axisId: string) => any;
13479
- formatTickValue(localeFormat: LocaleFormat): (value: any) => any;
13632
+ formatChartDatasetValue(axisFormats: ChartAxisFormats, locale: Locale, humanizeNumbers?: boolean): (value: any, axisId: string) => any;
13633
+ formatTickValue(localeFormat: LocaleFormat, humanizeNumbers?: boolean): (value: any) => any;
13480
13634
  getPieColors(colors: ColorGenerator, dataSetsValues: DatasetValues[]): Color[];
13481
- truncateLabel(label: string | undefined): string;
13635
+ truncateLabel(label: string | undefined, maxLen?: number): string;
13482
13636
  isTrendLineAxis(axisID: string): axisID is "x1" | "xMovingAverage";
13483
13637
  TREND_LINE_XAXIS_ID: "x1";
13484
13638
  MOVING_AVERAGE_TREND_LINE_XAXIS_ID: "xMovingAverage";
@@ -13526,4 +13680,4 @@ declare const chartHelpers: {
13526
13680
  WaterfallChart: typeof WaterfallChart;
13527
13681
  };
13528
13682
 
13529
- 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, __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 };
13683
+ 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 };