@odoo/o-spreadsheet 18.3.0-alpha.4 → 18.3.2

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,5 +1,5 @@
1
1
  import * as chart_js from 'chart.js';
2
- import { ChartConfiguration, Point, Color as Color$1, ChartType as ChartType$1 } from 'chart.js';
2
+ import { ChartConfiguration, ChartDataset, CoreChartOptions, Scriptable, Color as Color$1, ScriptableContext, FontSpec, Point, ChartType as ChartType$1 } 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';
@@ -7,14 +7,21 @@ 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
9
 
10
- interface Figure {
10
+ interface FigureInfo {
11
11
  id: UID;
12
- x: Pixel;
13
- y: Pixel;
14
12
  width: Pixel;
15
13
  height: Pixel;
16
14
  tag: string;
17
15
  }
16
+ interface Figure extends FigureInfo, AnchorOffset {
17
+ }
18
+ interface FigureUI extends DOMCoordinates, Figure {
19
+ }
20
+ interface AnchorOffset {
21
+ col: HeaderIndex;
22
+ row: HeaderIndex;
23
+ offset: PixelPosition;
24
+ }
18
25
  interface FigureSize {
19
26
  width: Pixel;
20
27
  height: Pixel;
@@ -25,10 +32,12 @@ interface ExcelFigureSize {
25
32
  }
26
33
  type ResizeDirection = -1 | 0 | 1;
27
34
 
28
- /**
29
- * Image source given to <img src="..."/>
30
- */
31
- type ImageSrc = string & Alias;
35
+ type ImageSVG = {
36
+ path: string;
37
+ width: number;
38
+ height: number;
39
+ fillColor: string;
40
+ };
32
41
  interface Image$1 {
33
42
  path: string;
34
43
  size: FigureSize;
@@ -107,6 +116,7 @@ interface FunnelChartDefinition {
107
116
  readonly aggregated?: boolean;
108
117
  readonly showValues?: boolean;
109
118
  readonly funnelColors?: FunnelChartColors;
119
+ readonly cumulative?: boolean;
110
120
  }
111
121
  type FunnelChartRuntime = {
112
122
  chartJsConfig: ChartConfiguration;
@@ -163,8 +173,6 @@ interface GeoChartDefinition {
163
173
  readonly title: TitleDesign;
164
174
  readonly background?: Color;
165
175
  readonly legendPosition: LegendPosition;
166
- readonly axesDesign?: AxesDesign;
167
- readonly aggregated?: boolean;
168
176
  readonly colorScale?: GeoChartColorScale;
169
177
  readonly missingValueColor?: Color;
170
178
  readonly region?: string;
@@ -221,7 +229,6 @@ interface PieChartDefinition {
221
229
  readonly background?: Color;
222
230
  readonly legendPosition: LegendPosition;
223
231
  readonly aggregated?: boolean;
224
- readonly axesDesign?: AxesDesign;
225
232
  readonly isDoughnut?: boolean;
226
233
  readonly showValues?: boolean;
227
234
  }
@@ -294,6 +301,177 @@ interface ScorecardChartRuntime {
294
301
  readonly progressBar?: ProgressBar;
295
302
  }
296
303
 
304
+ interface SunburstChartDefinition {
305
+ readonly type: "sunburst";
306
+ readonly dataSets: CustomizedDataSet[];
307
+ readonly dataSetsHaveTitle: boolean;
308
+ readonly labelRange?: string;
309
+ readonly title: TitleDesign;
310
+ readonly background?: Color;
311
+ readonly legendPosition: LegendPosition;
312
+ readonly showValues?: boolean;
313
+ readonly showLabels?: boolean;
314
+ readonly valuesDesign?: ChartStyle;
315
+ readonly groupColors?: (Color | undefined | null)[];
316
+ }
317
+ type SunburstChartRuntime = {
318
+ chartJsConfig: ChartConfiguration<"doughnut">;
319
+ background: Color;
320
+ };
321
+ interface SunburstChartJSDataset extends ChartDataset<"doughnut"> {
322
+ groupColors: {
323
+ label: string;
324
+ color: Color;
325
+ }[];
326
+ }
327
+
328
+ /*!
329
+ * chartjs-chart-treemap v3.1.0
330
+ * https://chartjs-chart-treemap.pages.dev/
331
+ * (c) 2024 Jukka Kurkela
332
+ * Released under the MIT license
333
+ */
334
+
335
+ type AnyObject = Record<string, unknown>;
336
+ type TreemapScriptableContext = ScriptableContext<"treemap"> & {
337
+ raw: TreemapDataPoint;
338
+ };
339
+ type TreemapControllerDatasetCaptionsOptions = {
340
+ align?: Scriptable<LabelAlign, TreemapScriptableContext>;
341
+ color?: Scriptable<Color$1, TreemapScriptableContext>;
342
+ display?: boolean;
343
+ formatter?: Scriptable<string, TreemapScriptableContext>;
344
+ font?: FontSpec;
345
+ hoverColor?: Scriptable<Color$1, TreemapScriptableContext>;
346
+ hoverFont?: FontSpec;
347
+ padding?: number;
348
+ };
349
+ type TreemapControllerDatasetLabelsOptions = {
350
+ align?: Scriptable<LabelAlign, TreemapScriptableContext>;
351
+ color?: Scriptable<Color$1 | Color$1[], TreemapScriptableContext>;
352
+ display?: boolean;
353
+ formatter?: Scriptable<string | Array<string>, TreemapScriptableContext>;
354
+ font?: Scriptable<FontSpec | FontSpec[], TreemapScriptableContext>;
355
+ hoverColor?: Scriptable<Color$1 | Color$1[], TreemapScriptableContext>;
356
+ hoverFont?: Scriptable<FontSpec | FontSpec[], TreemapScriptableContext>;
357
+ overflow?: Scriptable<LabelOverflow, TreemapScriptableContext>;
358
+ padding?: number;
359
+ position?: Scriptable<LabelPosition, TreemapScriptableContext>;
360
+ };
361
+ type LabelPosition = "top" | "middle" | "bottom";
362
+ type LabelAlign = "left" | "center" | "right";
363
+ type LabelOverflow = "cut" | "hidden" | "fit";
364
+ type TreemapControllerDatasetDividersOptions = {
365
+ display?: boolean;
366
+ lineCapStyle?: string;
367
+ lineColor?: string;
368
+ lineDash?: number[];
369
+ lineDashOffset?: number;
370
+ lineWidth?: number;
371
+ };
372
+ interface TreemapControllerDatasetOptions<DType> {
373
+ spacing?: number;
374
+ rtl?: boolean;
375
+ backgroundColor?: Scriptable<Color$1, TreemapScriptableContext>;
376
+ borderColor?: Scriptable<Color$1, TreemapScriptableContext>;
377
+ borderWidth?: number;
378
+ hoverBackgroundColor?: Scriptable<Color$1, TreemapScriptableContext>;
379
+ hoverBorderColor?: Scriptable<Color$1, TreemapScriptableContext>;
380
+ hoverBorderWidth?: number;
381
+ captions?: TreemapControllerDatasetCaptionsOptions;
382
+ dividers?: TreemapControllerDatasetDividersOptions;
383
+ labels?: TreemapControllerDatasetLabelsOptions;
384
+ label?: string;
385
+ data: TreemapDataPoint[];
386
+ groups?: Array<keyof DType>;
387
+ sumKeys?: Array<keyof DType>;
388
+ tree: number[] | DType[] | AnyObject;
389
+ treeLeafKey?: keyof DType;
390
+ key?: keyof DType;
391
+ hidden?: boolean;
392
+ displayMode?: "containerBoxes" | "headerBoxes";
393
+ groupColors?: TreeMapGroupColor[];
394
+ }
395
+ interface TreemapDataPoint {
396
+ x: number;
397
+ y: number;
398
+ w: number;
399
+ h: number;
400
+ /**
401
+ * Value
402
+ */
403
+ v: number;
404
+ /**
405
+ * Sum
406
+ */
407
+ s: number;
408
+ /**
409
+ * Depth, only available if grouping
410
+ */
411
+ l?: number;
412
+ /**
413
+ * Group name, only available if grouping
414
+ */
415
+ g?: string;
416
+ /**
417
+ * Group Sum, only available if grouping
418
+ */
419
+ gs?: number;
420
+ /**
421
+ * additonal keys sums, only available if grouping
422
+ */
423
+ vs?: AnyObject;
424
+ isLeaf?: boolean;
425
+ }
426
+ declare module "chart.js" {
427
+ interface ChartTypeRegistry {
428
+ treemap: {
429
+ chartOptions: CoreChartOptions<"treemap">;
430
+ datasetOptions: TreemapControllerDatasetOptions<Record<string, unknown>>;
431
+ defaultDataPoint: TreemapDataPoint;
432
+ metaExtensions: AnyObject;
433
+ parsedDataType: unknown;
434
+ scales: never;
435
+ };
436
+ }
437
+ }
438
+
439
+ interface TreeMapChartDefinition {
440
+ readonly type: "treemap";
441
+ readonly dataSets: CustomizedDataSet[];
442
+ readonly dataSetsHaveTitle: boolean;
443
+ readonly labelRange?: string;
444
+ readonly title: TitleDesign;
445
+ readonly background?: Color;
446
+ readonly legendPosition: LegendPosition;
447
+ readonly showHeaders?: boolean;
448
+ readonly headerDesign?: TitleDesign;
449
+ readonly showValues?: boolean;
450
+ readonly showLabels?: boolean;
451
+ readonly valuesDesign?: TitleDesign;
452
+ readonly coloringOptions?: TreeMapColoringOptions;
453
+ }
454
+ type TreeMapCategoryColorOptions = {
455
+ type: "categoryColor";
456
+ colors: (Color | undefined | null)[];
457
+ useValueBasedGradient: boolean;
458
+ };
459
+ type TreeMapColorScaleOptions = {
460
+ type: "colorScale";
461
+ minColor: Color;
462
+ midColor?: Color;
463
+ maxColor: Color;
464
+ };
465
+ interface TreeMapGroupColor {
466
+ label: string;
467
+ color: Color;
468
+ }
469
+ type TreeMapColoringOptions = TreeMapCategoryColorOptions | TreeMapColorScaleOptions;
470
+ type TreeMapChartRuntime = {
471
+ chartJsConfig: ChartConfiguration;
472
+ background: Color;
473
+ };
474
+
297
475
  interface WaterfallChartDefinition {
298
476
  readonly type: "waterfall";
299
477
  readonly dataSets: CustomizedDataSet[];
@@ -318,14 +496,17 @@ type WaterfallChartRuntime = {
318
496
  background: Color;
319
497
  };
320
498
 
321
- declare const CHART_TYPES: readonly ["line", "bar", "pie", "scorecard", "gauge", "scatter", "combo", "waterfall", "pyramid", "radar", "geo", "funnel"];
499
+ declare const CHART_TYPES: readonly ["line", "bar", "pie", "scorecard", "gauge", "scatter", "combo", "waterfall", "pyramid", "radar", "geo", "funnel", "sunburst", "treemap"];
322
500
  type ChartType = (typeof CHART_TYPES)[number];
323
- type ChartDefinition = LineChartDefinition | PieChartDefinition | BarChartDefinition | ScorecardChartDefinition | GaugeChartDefinition | ScatterChartDefinition | ComboChartDefinition | WaterfallChartDefinition | PyramidChartDefinition | RadarChartDefinition | GeoChartDefinition | FunnelChartDefinition;
501
+ type ChartDefinition = LineChartDefinition | PieChartDefinition | BarChartDefinition | ScorecardChartDefinition | GaugeChartDefinition | ScatterChartDefinition | ComboChartDefinition | WaterfallChartDefinition | PyramidChartDefinition | RadarChartDefinition | GeoChartDefinition | FunnelChartDefinition | SunburstChartDefinition | TreeMapChartDefinition;
324
502
  type ChartWithDataSetDefinition = Extract<ChartDefinition, {
325
503
  dataSets: CustomizedDataSet[];
326
504
  labelRange?: string;
327
505
  }>;
328
- type ChartJSRuntime = LineChartRuntime | PieChartRuntime | BarChartRuntime | ComboChartRuntime | ScatterChartRuntime | WaterfallChartRuntime | PyramidChartRuntime | RadarChartRuntime | GeoChartRuntime | FunnelChartRuntime;
506
+ type ChartWithAxisDefinition = Extract<ChartWithDataSetDefinition, {
507
+ axesDesign?: AxesDesign;
508
+ }>;
509
+ type ChartJSRuntime = LineChartRuntime | PieChartRuntime | BarChartRuntime | ComboChartRuntime | ScatterChartRuntime | WaterfallChartRuntime | PyramidChartRuntime | RadarChartRuntime | GeoChartRuntime | FunnelChartRuntime | SunburstChartRuntime | TreeMapChartRuntime;
329
510
  type ChartRuntime = ChartJSRuntime | ScorecardChartRuntime | GaugeChartRuntime;
330
511
  interface LabelValues {
331
512
  readonly values: string[];
@@ -349,13 +530,17 @@ interface AxesDesign {
349
530
  readonly y?: AxisDesign;
350
531
  readonly y1?: AxisDesign;
351
532
  }
352
- interface TitleDesign {
353
- readonly text?: string;
533
+ interface ChartStyle {
354
534
  readonly bold?: boolean;
355
535
  readonly italic?: boolean;
356
536
  readonly align?: Align;
537
+ readonly verticalAlign?: VerticalAlign;
357
538
  readonly color?: Color;
358
539
  readonly fontSize?: number;
540
+ readonly fillColor?: Color;
541
+ }
542
+ interface TitleDesign extends ChartStyle {
543
+ readonly text?: string;
359
544
  }
360
545
  type TrendType = "polynomial" | "exponential" | "logarithmic" | "trailingMovingAverage";
361
546
  interface TrendConfiguration {
@@ -406,8 +591,9 @@ interface ExcelChartDefinition {
406
591
  }
407
592
  interface ChartCreationContext {
408
593
  readonly range?: CustomizedDataSet[];
594
+ readonly hierarchicalRanges?: CustomizedDataSet[];
409
595
  readonly title?: TitleDesign;
410
- readonly background?: string;
596
+ readonly background?: Color;
411
597
  readonly auxiliaryRange?: string;
412
598
  readonly aggregated?: boolean;
413
599
  readonly stacked?: boolean;
@@ -422,6 +608,12 @@ interface ChartCreationContext {
422
608
  readonly fillArea?: boolean;
423
609
  readonly showValues?: boolean;
424
610
  readonly funnelColors?: FunnelChartColors;
611
+ readonly showLabels?: boolean;
612
+ readonly valuesDesign?: ChartStyle;
613
+ readonly groupColors?: (Color | undefined | null)[];
614
+ readonly showHeaders?: boolean;
615
+ readonly headerDesign?: TitleDesign;
616
+ readonly treemapColoringOptions?: TreeMapColoringOptions;
425
617
  }
426
618
  type ChartAxisFormats = {
427
619
  [axisId: string]: Format | undefined;
@@ -613,8 +805,9 @@ interface RangePart {
613
805
  readonly colFixed: boolean;
614
806
  readonly rowFixed: boolean;
615
807
  }
616
- interface Range extends Cloneable<Range> {
808
+ interface Range {
617
809
  readonly zone: Readonly<Zone>;
810
+ readonly unboundedZone: Readonly<UnboundedZone>;
618
811
  readonly parts: readonly RangePart[];
619
812
  readonly invalidXc?: string;
620
813
  /** true if the user provided the range with the sheet name */
@@ -623,7 +816,10 @@ interface Range extends Cloneable<Range> {
623
816
  readonly invalidSheetName?: string;
624
817
  /** the sheet on which the range is defined */
625
818
  readonly sheetId: UID;
626
- readonly rangeData: RangeData;
819
+ }
820
+ interface RangeStringOptions {
821
+ useBoundedReference?: boolean;
822
+ useFixedReference?: boolean;
627
823
  }
628
824
  interface RangeData {
629
825
  _zone: Zone | UnboundedZone;
@@ -959,8 +1155,9 @@ interface HeaderData {
959
1155
  }
960
1156
  interface FigureData<T> {
961
1157
  id: UID;
962
- x: Pixel;
963
- y: Pixel;
1158
+ col: HeaderIndex;
1159
+ row: HeaderIndex;
1160
+ offset: PixelPosition;
964
1161
  width: Pixel;
965
1162
  height: Pixel;
966
1163
  tag: string;
@@ -1007,7 +1204,7 @@ type PivotData = {
1007
1204
  formulaId: string;
1008
1205
  } & PivotCoreDefinition;
1009
1206
  interface WorkbookData {
1010
- version: number;
1207
+ version: string;
1011
1208
  sheets: SheetData[];
1012
1209
  styles: {
1013
1210
  [key: number]: Style;
@@ -1293,7 +1490,7 @@ declare class ColorGenerator {
1293
1490
  private preferredColors;
1294
1491
  private currentColorIndex;
1295
1492
  protected palette: Color[];
1296
- constructor(paletteSize: number, preferredColors?: (string | undefined)[]);
1493
+ constructor(paletteSize: number, preferredColors?: (Color | undefined | null)[]);
1297
1494
  next(): string;
1298
1495
  }
1299
1496
 
@@ -1425,46 +1622,6 @@ declare function getUniqueText(text: string, texts: string[], options?: {
1425
1622
  */
1426
1623
  declare function isNumber(value: string | undefined, locale: Locale): boolean;
1427
1624
 
1428
- interface ConstructorArgs {
1429
- readonly zone: Readonly<Zone | UnboundedZone>;
1430
- readonly parts: readonly RangePart[];
1431
- readonly invalidXc?: string;
1432
- /** true if the user provided the range with the sheet name */
1433
- readonly prefixSheet: boolean;
1434
- /** the name of any sheet that is invalid */
1435
- readonly invalidSheetName?: string;
1436
- /** the sheet on which the range is defined */
1437
- readonly sheetId: UID;
1438
- }
1439
- declare class RangeImpl implements Range {
1440
- private getSheetSize;
1441
- private readonly _zone;
1442
- readonly parts: Range["parts"];
1443
- readonly invalidXc?: string;
1444
- readonly prefixSheet: boolean;
1445
- readonly sheetId: UID;
1446
- readonly invalidSheetName?: string;
1447
- constructor(args: ConstructorArgs, getSheetSize: (sheetId: UID) => ZoneDimension);
1448
- static fromRange(range: Range, getters: CoreGetters): RangeImpl;
1449
- get unboundedZone(): UnboundedZone;
1450
- get zone(): Readonly<Zone>;
1451
- static getRangeParts(xc: string, zone: UnboundedZone): RangePart[];
1452
- get isFullCol(): boolean;
1453
- get isFullRow(): boolean;
1454
- get rangeData(): RangeData;
1455
- /**
1456
- * Check that a zone is valid regarding the order of top-bottom and left-right.
1457
- * Left should be smaller than right, top should be smaller than bottom.
1458
- * If it's not the case, simply invert them, and invert the linked parts
1459
- */
1460
- orderZone(): RangeImpl;
1461
- /**
1462
- *
1463
- * @param rangeParams optional, values to put in the cloned range instead of the current values of the range
1464
- */
1465
- clone(rangeParams?: Partial<ConstructorArgs>): RangeImpl;
1466
- }
1467
-
1468
1625
  declare function splitReference(ref: string): {
1469
1626
  sheetName?: string;
1470
1627
  xc: string;
@@ -1907,7 +2064,7 @@ declare class BasePlugin<State = any, C = any> implements CommandHandler<C>, Val
1907
2064
  * is returned.
1908
2065
  */
1909
2066
  chainValidations<T>(...validations: Validation<T>[]): Validation<T>;
1910
- checkValidations<T>(command: T, ...validations: Validation<T>[]): CommandResult | CommandResult[];
2067
+ checkValidations<T>(command: T, ...validations: Validation<NoInfer<T>>[]): CommandResult | CommandResult[];
1911
2068
  }
1912
2069
 
1913
2070
  type UIActions = Pick<ModelConfig, "notifyUI" | "raiseBlockingErrorUI">;
@@ -1953,7 +2110,7 @@ type MinimalClipboardData = {
1953
2110
  [key: string]: unknown;
1954
2111
  };
1955
2112
  interface SpreadsheetClipboardData extends MinimalClipboardData {
1956
- version?: number;
2113
+ version?: string;
1957
2114
  clipboardId?: string;
1958
2115
  }
1959
2116
  /**
@@ -2042,7 +2199,7 @@ declare class FilterEvaluationPlugin extends UIPlugin {
2042
2199
  */
2043
2200
  declare class GridSelectionPlugin extends UIPlugin {
2044
2201
  static layers: readonly ["Selection"];
2045
- static getters: readonly ["getActiveSheet", "getActiveSheetId", "getActiveCell", "getActiveCols", "getActiveRows", "getCurrentStyle", "getSelectedZones", "getSelectedZone", "getSelectedCells", "getSelectedFigureId", "getSelection", "getActivePosition", "getSheetPosition", "isSingleColSelected", "getElementsFromSelection", "tryGetActiveSheetId", "isGridSelectionActive"];
2202
+ static getters: readonly ["getActiveSheet", "getActiveSheetId", "getActiveSheetName", "getActiveCell", "getActiveCols", "getActiveRows", "getCurrentStyle", "getSelectedZones", "getSelectedZone", "getSelectedCells", "getSelectedFigureId", "getSelection", "getActivePosition", "getSheetPosition", "isSingleColSelected", "getElementsFromSelection", "tryGetActiveSheetId", "isGridSelectionActive"];
2046
2203
  private gridSelection;
2047
2204
  private selectedFigureId;
2048
2205
  private sheetsData;
@@ -2056,6 +2213,7 @@ declare class GridSelectionPlugin extends UIPlugin {
2056
2213
  isGridSelectionActive(): boolean;
2057
2214
  getActiveSheet(): Readonly<Sheet>;
2058
2215
  getActiveSheetId(): UID;
2216
+ getActiveSheetName(): string;
2059
2217
  tryGetActiveSheetId(): UID | undefined;
2060
2218
  getActiveCell(): EvaluatedCell;
2061
2219
  getActiveCols(): Set<number>;
@@ -2100,6 +2258,8 @@ declare class GridSelectionPlugin extends UIPlugin {
2100
2258
  private onRowsRemoved;
2101
2259
  private onAddElements;
2102
2260
  private onMoveElements;
2261
+ private getFiguresUpdates;
2262
+ private applyFigureUpdates;
2103
2263
  private isMoveElementAllowed;
2104
2264
  private fallbackToVisibleSheet;
2105
2265
  /**
@@ -2235,7 +2395,7 @@ declare class InternalViewport {
2235
2395
  *
2236
2396
  */
2237
2397
  declare class SheetViewPlugin extends UIPlugin {
2238
- static getters: readonly ["getColIndex", "getRowIndex", "getActiveMainViewport", "getSheetViewDimension", "getSheetViewDimensionWithHeaders", "getMainViewportRect", "isVisibleInViewport", "getEdgeScrollCol", "getEdgeScrollRow", "getVisibleFigures", "getVisibleRect", "getVisibleRectWithoutHeaders", "getVisibleCellPositions", "getColRowOffsetInViewport", "getMainViewportCoordinates", "getActiveSheetScrollInfo", "getSheetViewVisibleCols", "getSheetViewVisibleRows", "getFrozenSheetViewRatio", "isPixelPositionVisible", "getColDimensionsInViewport", "getRowDimensionsInViewport", "getAllActiveViewportsZonesAndRect", "getRect"];
2398
+ static getters: readonly ["getColIndex", "getRowIndex", "getActiveMainViewport", "getSheetViewDimension", "getSheetViewDimensionWithHeaders", "getMainViewportRect", "isVisibleInViewport", "getEdgeScrollCol", "getEdgeScrollRow", "getVisibleFigures", "getVisibleRect", "getVisibleRectWithoutHeaders", "getVisibleCellPositions", "getColRowOffsetInViewport", "getMainViewportCoordinates", "getActiveSheetScrollInfo", "getSheetViewVisibleCols", "getSheetViewVisibleRows", "getFrozenSheetViewRatio", "isPixelPositionVisible", "getColDimensionsInViewport", "getRowDimensionsInViewport", "getAllActiveViewportsZonesAndRect", "getRect", "getFigureUI", "getPositionAnchorOffset"];
2239
2399
  private viewports;
2240
2400
  /**
2241
2401
  * The viewport dimensions are usually set by one of the components
@@ -2306,6 +2466,11 @@ declare class SheetViewPlugin extends UIPlugin {
2306
2466
  * regardless of the viewport dimensions.
2307
2467
  */
2308
2468
  getRect(zone: Zone): Rect;
2469
+ /**
2470
+ * Computes the actual size and position (:Rect) of the zone on the canvas
2471
+ * regardless of the viewport dimensions.
2472
+ */
2473
+ getRectWithoutHeaders(zone: Zone): Rect;
2309
2474
  /**
2310
2475
  * Returns the position of the MainViewport relatively to the start of the grid (without headers)
2311
2476
  * It corresponds to the summed dimensions of the visible cols/rows (in x/y respectively)
@@ -2351,7 +2516,21 @@ declare class SheetViewPlugin extends UIPlugin {
2351
2516
  * viewport top.
2352
2517
  */
2353
2518
  private shiftVertically;
2354
- getVisibleFigures(): Figure[];
2519
+ /**
2520
+ * Return the index of a col given a negative offset x, based on the main viewport top
2521
+ * visible cell of the main viewport.
2522
+ * It returns -1 if no col is found.
2523
+ */
2524
+ private getColIndexLeftOfMainViewport;
2525
+ /**
2526
+ * Return the index of a row given a negative offset y, based on the main viewport top
2527
+ * visible cell of the main viewport.
2528
+ * It returns -1 if no row is found.
2529
+ */
2530
+ private getRowIndexTopOfMainViewport;
2531
+ getVisibleFigures(): FigureUI[];
2532
+ getFigureUI(sheetId: UID, figure: Figure): FigureUI;
2533
+ getPositionAnchorOffset(position: PixelPosition): AnchorOffset;
2355
2534
  isPixelPositionVisible(position: PixelPosition): boolean;
2356
2535
  getFrozenSheetViewRatio(sheetId: UID): {
2357
2536
  xRatio: number;
@@ -2435,6 +2614,9 @@ interface HeadersDependentCommand {
2435
2614
  elements: HeaderIndex[];
2436
2615
  }
2437
2616
  declare function isHeadersDependant(cmd: CoreCommand): cmd is Extract<CoreCommand, HeadersDependentCommand>;
2617
+ interface SheetEditingCommand {
2618
+ sheetName: string;
2619
+ }
2438
2620
  interface TargetDependentCommand {
2439
2621
  sheetId: UID;
2440
2622
  target: Zone[];
@@ -2455,13 +2637,13 @@ interface ZoneDependentCommand {
2455
2637
  zone: Zone;
2456
2638
  }
2457
2639
  declare function isZoneDependent(cmd: CoreCommand): cmd is Extract<CoreCommand, ZoneDependentCommand>;
2458
- declare const invalidateEvaluationCommands: Set<"UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "SORT_CELLS" | "SET_DECIMAL" | "PASTE" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "COPY" | "CUT" | "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" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "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">;
2459
- declare const invalidateChartEvaluationCommands: Set<"UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "SORT_CELLS" | "SET_DECIMAL" | "PASTE" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "COPY" | "CUT" | "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" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "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">;
2460
- declare const invalidateDependenciesCommands: Set<"UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "SORT_CELLS" | "SET_DECIMAL" | "PASTE" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "COPY" | "CUT" | "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" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "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">;
2461
- declare const invalidateCFEvaluationCommands: Set<"UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "SORT_CELLS" | "SET_DECIMAL" | "PASTE" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "COPY" | "CUT" | "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" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "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">;
2462
- declare const invalidateBordersCommands: Set<"UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "SORT_CELLS" | "SET_DECIMAL" | "PASTE" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "COPY" | "CUT" | "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" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "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">;
2463
- declare const readonlyAllowedCommands: Set<"UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "SORT_CELLS" | "SET_DECIMAL" | "PASTE" | "REQUEST_UNDO" | "REQUEST_REDO" | "UNDO" | "REDO" | "COPY" | "CUT" | "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" | "ACTIVATE_SHEET" | "EVALUATE_CELLS" | "EVALUATE_CHARTS" | "START_CHANGE_HIGHLIGHT" | "START" | "AUTOFILL" | "AUTOFILL_SELECT" | "AUTOFILL_TABLE_COLUMN" | "SET_FORMULA_VISIBILITY" | "AUTOFILL_AUTO" | "SELECT_FIGURE" | "REPLACE_SEARCH" | "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">;
2464
- declare const coreTypes: Set<"UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT">;
2640
+ declare const invalidateEvaluationCommands: Set<"UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "SET_BORDERS_ON_TARGET" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "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" | "ACTIVATE_SHEET" | "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">;
2641
+ declare const invalidateChartEvaluationCommands: Set<"UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "SET_BORDERS_ON_TARGET" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "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" | "ACTIVATE_SHEET" | "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">;
2642
+ declare const invalidateDependenciesCommands: Set<"UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "SET_BORDERS_ON_TARGET" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "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" | "ACTIVATE_SHEET" | "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">;
2643
+ declare const invalidateCFEvaluationCommands: Set<"UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "SET_BORDERS_ON_TARGET" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "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" | "ACTIVATE_SHEET" | "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">;
2644
+ declare const invalidateBordersCommands: Set<"UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "SET_BORDERS_ON_TARGET" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "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" | "ACTIVATE_SHEET" | "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">;
2645
+ declare const readonlyAllowedCommands: Set<"UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "SET_BORDERS_ON_TARGET" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT" | "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" | "ACTIVATE_SHEET" | "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">;
2646
+ declare const coreTypes: Set<"UPDATE_CELL" | "UPDATE_CELL_POSITION" | "CLEAR_CELL" | "CLEAR_CELLS" | "DELETE_CONTENT" | "ADD_COLUMNS_ROWS" | "REMOVE_COLUMNS_ROWS" | "RESIZE_COLUMNS_ROWS" | "HIDE_COLUMNS_ROWS" | "UNHIDE_COLUMNS_ROWS" | "SET_GRID_LINES_VISIBILITY" | "FREEZE_COLUMNS" | "FREEZE_ROWS" | "UNFREEZE_COLUMNS_ROWS" | "UNFREEZE_COLUMNS" | "UNFREEZE_ROWS" | "ADD_MERGE" | "REMOVE_MERGE" | "CREATE_SHEET" | "DELETE_SHEET" | "DUPLICATE_SHEET" | "MOVE_SHEET" | "RENAME_SHEET" | "COLOR_SHEET" | "HIDE_SHEET" | "SHOW_SHEET" | "MOVE_RANGES" | "ADD_CONDITIONAL_FORMAT" | "REMOVE_CONDITIONAL_FORMAT" | "CHANGE_CONDITIONAL_FORMAT_PRIORITY" | "CREATE_FIGURE" | "DELETE_FIGURE" | "UPDATE_FIGURE" | "SET_FORMATTING" | "CLEAR_FORMATTING" | "SET_ZONE_BORDERS" | "SET_BORDER" | "SET_BORDERS_ON_TARGET" | "CREATE_CHART" | "UPDATE_CHART" | "CREATE_IMAGE" | "CREATE_TABLE" | "REMOVE_TABLE" | "UPDATE_TABLE" | "CREATE_TABLE_STYLE" | "REMOVE_TABLE_STYLE" | "GROUP_HEADERS" | "UNGROUP_HEADERS" | "UNFOLD_HEADER_GROUP" | "FOLD_HEADER_GROUP" | "FOLD_ALL_HEADER_GROUPS" | "UNFOLD_ALL_HEADER_GROUPS" | "UNFOLD_HEADER_GROUPS_IN_ZONE" | "FOLD_HEADER_GROUPS_IN_ZONE" | "ADD_DATA_VALIDATION_RULE" | "REMOVE_DATA_VALIDATION_RULE" | "UPDATE_LOCALE" | "ADD_PIVOT" | "UPDATE_PIVOT" | "INSERT_PIVOT" | "RENAME_PIVOT" | "REMOVE_PIVOT" | "DUPLICATE_PIVOT">;
2465
2647
  declare function isCoreCommand(cmd: Command): cmd is CoreCommand;
2466
2648
  declare function canExecuteInReadonly(cmd: Command): boolean;
2467
2649
  interface UpdateCellCommand extends PositionDependentCommand {
@@ -2477,18 +2659,18 @@ interface UpdateCellPositionCommand extends PositionDependentCommand {
2477
2659
  type: "UPDATE_CELL_POSITION";
2478
2660
  cellId?: UID;
2479
2661
  }
2480
- interface AddColumnsRowsCommand extends SheetDependentCommand {
2662
+ interface AddColumnsRowsCommand extends SheetDependentCommand, SheetEditingCommand {
2481
2663
  type: "ADD_COLUMNS_ROWS";
2482
2664
  dimension: Dimension;
2483
2665
  base: HeaderIndex;
2484
2666
  quantity: number;
2485
2667
  position: "before" | "after";
2486
2668
  }
2487
- interface RemoveColumnsRowsCommand extends HeadersDependentCommand {
2669
+ interface RemoveColumnsRowsCommand extends HeadersDependentCommand, SheetEditingCommand {
2488
2670
  type: "REMOVE_COLUMNS_ROWS";
2489
2671
  elements: HeaderIndex[];
2490
2672
  }
2491
- interface MoveColumnsRowsCommand extends HeadersDependentCommand {
2673
+ interface MoveColumnsRowsCommand extends HeadersDependentCommand, SheetEditingCommand {
2492
2674
  type: "MOVE_COLUMNS_ROWS";
2493
2675
  base: HeaderIndex;
2494
2676
  elements: HeaderIndex[];
@@ -2549,16 +2731,17 @@ interface RemoveMergeCommand extends TargetDependentCommand {
2549
2731
  interface CreateSheetCommand extends SheetDependentCommand {
2550
2732
  type: "CREATE_SHEET";
2551
2733
  position: number;
2552
- name?: string;
2734
+ name: string;
2553
2735
  cols?: number;
2554
2736
  rows?: number;
2555
2737
  }
2556
- interface DeleteSheetCommand extends SheetDependentCommand {
2738
+ interface DeleteSheetCommand extends SheetDependentCommand, SheetEditingCommand {
2557
2739
  type: "DELETE_SHEET";
2558
2740
  }
2559
2741
  interface DuplicateSheetCommand extends SheetDependentCommand {
2560
2742
  type: "DUPLICATE_SHEET";
2561
2743
  sheetIdTo: UID;
2744
+ sheetNameTo: string;
2562
2745
  }
2563
2746
  interface MoveSheetCommand extends SheetDependentCommand {
2564
2747
  type: "MOVE_SHEET";
@@ -2566,7 +2749,8 @@ interface MoveSheetCommand extends SheetDependentCommand {
2566
2749
  }
2567
2750
  interface RenameSheetCommand extends SheetDependentCommand {
2568
2751
  type: "RENAME_SHEET";
2569
- name?: string;
2752
+ newName: string;
2753
+ oldName: string;
2570
2754
  }
2571
2755
  interface ColorSheetCommand extends SheetDependentCommand {
2572
2756
  type: "COLOR_SHEET";
@@ -2583,7 +2767,7 @@ interface ShowSheetCommand extends SheetDependentCommand {
2583
2767
  * to cells/ranges within a specific zone.
2584
2768
  * Command particularly useful during CUT / PATE.
2585
2769
  */
2586
- interface MoveRangeCommand extends PositionDependentCommand, TargetDependentCommand {
2770
+ interface MoveRangeCommand extends PositionDependentCommand, TargetDependentCommand, SheetEditingCommand {
2587
2771
  type: "MOVE_RANGES";
2588
2772
  targetSheetId: string;
2589
2773
  }
@@ -2604,35 +2788,34 @@ interface MoveConditionalFormatCommand extends SheetDependentCommand {
2604
2788
  cfId: UID;
2605
2789
  delta: number;
2606
2790
  }
2607
- interface CreateFigureCommand extends SheetDependentCommand {
2791
+ interface CreateFigureCommand extends BaseFigureCommand {
2608
2792
  type: "CREATE_FIGURE";
2609
- figure: Figure;
2793
+ tag: string;
2610
2794
  }
2611
- interface UpdateFigureCommand extends Partial<Figure>, SheetDependentCommand {
2795
+ interface UpdateFigureCommand extends Omit<Partial<Figure>, "id" | "col" | "row">, SheetDependentCommand, PositionDependentCommand {
2612
2796
  type: "UPDATE_FIGURE";
2613
- id: UID;
2797
+ figureId: UID;
2614
2798
  }
2615
2799
  interface DeleteFigureCommand extends SheetDependentCommand {
2616
2800
  type: "DELETE_FIGURE";
2617
- id: UID;
2801
+ figureId: UID;
2802
+ }
2803
+ interface BaseFigureCommand extends PositionDependentCommand {
2804
+ figureId: UID;
2805
+ offset: PixelPosition;
2806
+ size: FigureSize;
2618
2807
  }
2619
- interface CreateChartCommand extends SheetDependentCommand {
2808
+ interface CreateChartCommand extends BaseFigureCommand {
2620
2809
  type: "CREATE_CHART";
2621
- id: UID;
2622
- position?: DOMCoordinates;
2623
- size?: FigureSize;
2624
2810
  definition: ChartDefinition;
2625
2811
  }
2626
2812
  interface UpdateChartCommand extends SheetDependentCommand {
2627
2813
  type: "UPDATE_CHART";
2628
- id: UID;
2814
+ figureId: UID;
2629
2815
  definition: ChartDefinition;
2630
2816
  }
2631
- interface CreateImageOverCommand extends SheetDependentCommand {
2817
+ interface CreateImageOverCommand extends BaseFigureCommand {
2632
2818
  type: "CREATE_IMAGE";
2633
- figureId: UID;
2634
- position: DOMCoordinates;
2635
- size: FigureSize;
2636
2819
  definition: Image$1;
2637
2820
  }
2638
2821
  interface CreateTableCommand extends RangesDependentCommand {
@@ -2694,6 +2877,10 @@ interface SetBorderCommand extends PositionDependentCommand {
2694
2877
  type: "SET_BORDER";
2695
2878
  border: Border$1 | undefined;
2696
2879
  }
2880
+ interface SetBorderTargetCommand extends TargetDependentCommand {
2881
+ type: "SET_BORDERS_ON_TARGET";
2882
+ border: Border$1 | undefined;
2883
+ }
2697
2884
  interface ClearFormattingCommand extends TargetDependentCommand {
2698
2885
  type: "CLEAR_FORMATTING";
2699
2886
  }
@@ -2907,7 +3094,7 @@ interface AutofillAutoCommand {
2907
3094
  }
2908
3095
  interface SelectFigureCommand {
2909
3096
  type: "SELECT_FIGURE";
2910
- id: UID | null;
3097
+ figureId: UID | null;
2911
3098
  }
2912
3099
  interface ReplaceSearchCommand {
2913
3100
  type: "REPLACE_SEARCH";
@@ -3030,7 +3217,7 @@ UpdateCellCommand | UpdateCellPositionCommand | ClearCellCommand | ClearCellsCom
3030
3217
  /** FIGURES */
3031
3218
  | CreateFigureCommand | DeleteFigureCommand | UpdateFigureCommand
3032
3219
  /** FORMATTING */
3033
- | SetFormattingCommand | ClearFormattingCommand | SetZoneBordersCommand | SetBorderCommand
3220
+ | SetFormattingCommand | ClearFormattingCommand | SetZoneBordersCommand | SetBorderCommand | SetBorderTargetCommand
3034
3221
  /** CHART */
3035
3222
  | CreateChartCommand | UpdateChartCommand
3036
3223
  /** IMAGE */
@@ -3189,7 +3376,8 @@ declare const enum CommandResult {
3189
3376
  EmptyName = "EmptyName",
3190
3377
  ValueCellIsInvalidFormula = "ValueCellIsInvalidFormula",
3191
3378
  InvalidDefinition = "InvalidDefinition",
3192
- InvalidColor = "InvalidColor"
3379
+ InvalidColor = "InvalidColor",
3380
+ InvalidPivotDataSet = "InvalidPivotDataSet"
3193
3381
  }
3194
3382
  interface CommandHandler<T> {
3195
3383
  allowDispatch(command: T): CommandResult | CommandResult[];
@@ -3233,6 +3421,8 @@ declare function tokenize(str: string, locale?: Locale): Token[];
3233
3421
 
3234
3422
  interface ASTBase {
3235
3423
  debug?: boolean;
3424
+ tokenStartIndex: number;
3425
+ tokenEndIndex: number;
3236
3426
  }
3237
3427
  interface ASTNumber extends ASTBase {
3238
3428
  type: "NUMBER";
@@ -3527,10 +3717,15 @@ type ApplyRangeChangeResult = {
3527
3717
  changeType: "NONE";
3528
3718
  };
3529
3719
  type ApplyRangeChange = (range: Range) => ApplyRangeChangeResult;
3720
+ type RangeAdapter$1 = {
3721
+ sheetId: UID;
3722
+ sheetName: string;
3723
+ applyChange: ApplyRangeChange;
3724
+ };
3530
3725
  type Dimension = "COL" | "ROW";
3531
3726
  type ConsecutiveIndexes = HeaderIndex[];
3532
3727
  interface RangeProvider {
3533
- adaptRanges: (applyChange: ApplyRangeChange, sheetId?: UID) => void;
3728
+ adaptRanges: (applyChange: ApplyRangeChange, sheetId?: UID, sheetName?: string) => void;
3534
3729
  }
3535
3730
  type Validation<T> = (toValidate: T) => CommandResult | CommandResult[];
3536
3731
  type Increment = 1 | -1 | 0;
@@ -4037,15 +4232,11 @@ interface SpreadsheetChildEnv extends NotificationStoreMethods {
4037
4232
  isSmall: boolean;
4038
4233
  }
4039
4234
 
4040
- interface RangeStringOptions {
4041
- useBoundedReference?: boolean;
4042
- useFixedReference?: boolean;
4043
- }
4044
4235
  declare class RangeAdapter implements CommandHandler<CoreCommand> {
4045
4236
  private getters;
4046
4237
  private providers;
4047
4238
  constructor(getters: CoreGetters);
4048
- static getters: readonly ["adaptFormulaStringDependencies", "copyFormulaStringForSheet", "extendRange", "getRangeString", "getRangeFromSheetXC", "createAdaptedRanges", "getRangeDataFromXc", "getRangeDataFromZone", "getRangeFromRangeData", "getRangeFromZone", "getRangesUnion", "recomputeRanges", "isRangeValid", "removeRangesSheetPrefix"];
4239
+ static getters: readonly ["adaptFormulaStringDependencies", "copyFormulaStringForSheet", "extendRange", "getRangeString", "getRangeFromSheetXC", "createAdaptedRanges", "getRangeData", "getRangeDataFromXc", "getRangeDataFromZone", "getRangeFromRangeData", "getRangeFromZone", "getRangesUnion", "recomputeRanges", "isRangeValid", "removeRangesSheetPrefix"];
4049
4240
  allowDispatch(cmd: Command): CommandResult;
4050
4241
  beforeHandle(command: Command): void;
4051
4242
  handle(cmd: Command): void;
@@ -4057,7 +4248,6 @@ declare class RangeAdapter implements CommandHandler<CoreCommand> {
4057
4248
  * direction can be incorrect. This function ensure that an incorrect range gets removed.
4058
4249
  */
4059
4250
  private verifyRangeRemoved;
4060
- private createAdaptedRange;
4061
4251
  private executeOnAllRanges;
4062
4252
  /**
4063
4253
  * Stores the functions bound to each plugin to be able to iterate over all ranges of the application,
@@ -4079,7 +4269,7 @@ declare class RangeAdapter implements CommandHandler<CoreCommand> {
4079
4269
  * @param defaultSheetId the sheet to default to if the sheetXC parameter does not contain a sheet reference (usually the active sheet Id)
4080
4270
  * @param sheetXC the string description of a range, in the form SheetName!XC:XC
4081
4271
  */
4082
- getRangeFromSheetXC(defaultSheetId: UID, sheetXC: string): RangeImpl;
4272
+ getRangeFromSheetXC(defaultSheetId: UID, sheetXC: string): Range;
4083
4273
  /**
4084
4274
  * Gets the string that represents the range as it is at the moment of the call.
4085
4275
  * The string will be prefixed with the sheet name if the call specified a sheet id in `forSheetId`
@@ -4094,6 +4284,7 @@ declare class RangeAdapter implements CommandHandler<CoreCommand> {
4094
4284
  getRangeString(range: Range, forSheetId: UID, options?: RangeStringOptions): string;
4095
4285
  getRangeDataFromXc(sheetId: UID, xc: string): RangeData;
4096
4286
  getRangeDataFromZone(sheetId: UID, zone: Zone | UnboundedZone): RangeData;
4287
+ getRangeData(range: Range): RangeData;
4097
4288
  getRangeFromZone(sheetId: UID, zone: Zone | UnboundedZone): Range;
4098
4289
  /**
4099
4290
  * Allows you to recompute ranges from the same sheet
@@ -4111,11 +4302,6 @@ declare class RangeAdapter implements CommandHandler<CoreCommand> {
4111
4302
  * `moveReference` will change all the references to `sheetIdFrom` into references to `sheetIdTo`.
4112
4303
  */
4113
4304
  copyFormulaStringForSheet(sheetIdFrom: UID, sheetIdTo: UID, formula: string, mode: "keepSameReference" | "moveReference"): string;
4114
- /**
4115
- * Get a Xc string that represent a part of a range
4116
- */
4117
- private getRangePartString;
4118
- private getInvalidRange;
4119
4305
  }
4120
4306
 
4121
4307
  interface CorePluginConfig {
@@ -4154,7 +4340,7 @@ declare class CorePlugin<State = any> extends BasePlugin<State, CoreCommand> imp
4154
4340
  * @param applyChange a function that, when called, will adapt the range according to the change on the grid
4155
4341
  * @param sheetId an optional sheetId to adapt either range of that sheet specifically, or ranges pointing to that sheet
4156
4342
  */
4157
- adaptRanges(applyChange: ApplyRangeChange, sheetId?: UID): void;
4343
+ adaptRanges(applyChange: ApplyRangeChange, sheetId?: UID, sheetName?: string): void;
4158
4344
  /**
4159
4345
  * Implement this method to clean unused external resources, such as images
4160
4346
  * stored on a server which have been deleted.
@@ -4305,7 +4491,7 @@ declare class CellPlugin extends CorePlugin<CoreState$1> implements CoreState$1
4305
4491
  [id: string]: Cell;
4306
4492
  };
4307
4493
  };
4308
- adaptRanges(applyChange: ApplyRangeChange, sheetId?: UID): void;
4494
+ adaptRanges(applyChange: ApplyRangeChange, sheetId?: UID, sheetName?: string): void;
4309
4495
  allowDispatch(cmd: CoreCommand): CommandResult | CommandResult[];
4310
4496
  handle(cmd: CoreCommand): void;
4311
4497
  private clearZones;
@@ -4474,6 +4660,7 @@ declare class ChartPlugin extends CorePlugin<ChartState> implements ChartState {
4474
4660
  private addChart;
4475
4661
  private checkChartDuplicate;
4476
4662
  private checkChartExists;
4663
+ private checkChartChanged;
4477
4664
  }
4478
4665
 
4479
4666
  interface ConditionalFormatState {
@@ -4488,7 +4675,7 @@ declare class ConditionalFormatPlugin extends CorePlugin<ConditionalFormatState>
4488
4675
  };
4489
4676
  adaptCFFormulas(applyChange: ApplyRangeChange): void;
4490
4677
  adaptCFRanges(sheetId: UID, applyChange: ApplyRangeChange): void;
4491
- adaptRanges(applyChange: ApplyRangeChange, sheetId?: UID): void;
4678
+ adaptRanges(applyChange: ApplyRangeChange, sheetId?: UID, sheetName?: string): void;
4492
4679
  allowDispatch(cmd: Command): CommandResult | CommandResult[];
4493
4680
  handle(cmd: CoreCommand): void;
4494
4681
  import(data: WorkbookData): void;
@@ -4539,7 +4726,7 @@ declare class DataValidationPlugin extends CorePlugin<DataValidationState> imple
4539
4726
  readonly rules: {
4540
4727
  [sheet: string]: DataValidationRule[];
4541
4728
  };
4542
- adaptRanges(applyChange: ApplyRangeChange, sheetId?: UID): void;
4729
+ adaptRanges(applyChange: ApplyRangeChange, sheetId?: UID, sheetName?: string): void;
4543
4730
  private adaptDVFormulas;
4544
4731
  private adaptDVRanges;
4545
4732
  allowDispatch(cmd: Command): CommandResult | CommandResult[];
@@ -4574,20 +4761,22 @@ declare class FigurePlugin extends CorePlugin<FigureState> implements FigureStat
4574
4761
  [sheet: string]: Record<UID, Figure | undefined> | undefined;
4575
4762
  };
4576
4763
  readonly insertionOrders: UID[];
4577
- allowDispatch(cmd: CoreCommand): CommandResult;
4764
+ adaptRanges(applyChange: ApplyRangeChange, sheetId?: UID): void;
4765
+ allowDispatch(cmd: CoreCommand): CommandResult | CommandResult[];
4578
4766
  beforeHandle(cmd: CoreCommand): void;
4579
4767
  handle(cmd: CoreCommand): void;
4580
- private onRowColDelete;
4581
- private onRowDeletion;
4582
- private onColDeletion;
4768
+ private onColRemove;
4769
+ private onRowRemove;
4770
+ private getPositionInSheet;
4583
4771
  private updateFigure;
4584
4772
  private addFigure;
4585
4773
  private deleteSheet;
4586
4774
  private removeFigure;
4587
4775
  private checkFigureExists;
4588
4776
  private checkFigureDuplicate;
4777
+ private checkFigureAnchorOffset;
4589
4778
  getFigures(sheetId: UID): Figure[];
4590
- getFigure(sheetId: string, figureId: string): Figure | undefined;
4779
+ getFigure(sheetId: UID, figureId: string): Figure | undefined;
4591
4780
  getFigureSheetId(figureId: string): UID | undefined;
4592
4781
  import(data: WorkbookData): void;
4593
4782
  export(data: WorkbookData): void;
@@ -4733,7 +4922,7 @@ declare class ImagePlugin extends CorePlugin<ImageState> implements ImageState {
4733
4922
  getImage(figureId: UID): Image$1;
4734
4923
  getImagePath(figureId: UID): string;
4735
4924
  getImageSize(figureId: UID): FigureSize;
4736
- private addImage;
4925
+ private addFigure;
4737
4926
  import(data: WorkbookData): void;
4738
4927
  export(data: WorkbookData): void;
4739
4928
  exportForExcel(data: ExcelWorkbookData): void;
@@ -4752,7 +4941,7 @@ declare class MergePlugin extends CorePlugin<MergeState> implements MergeState {
4752
4941
  readonly mergeCellMap: Record<UID, SheetMergeCellMap | undefined>;
4753
4942
  allowDispatch(cmd: CoreCommand): CommandResult | CommandResult[];
4754
4943
  handle(cmd: CoreCommand): void;
4755
- adaptRanges(applyChange: ApplyRangeChange, sheetId?: UID): void;
4944
+ adaptRanges(applyChange: ApplyRangeChange, sheetId?: UID, sheetName?: string): void;
4756
4945
  getMerges(sheetId: UID): Merge[];
4757
4946
  getMerge({ sheetId, col, row }: CellPosition): Merge | undefined;
4758
4947
  getMergesInZone(sheetId: UID, zone: Zone): Merge[];
@@ -4840,9 +5029,9 @@ declare class PivotCorePlugin extends CorePlugin<CoreState> implements CoreState
4840
5029
  [formulaId: UID]: UID | undefined;
4841
5030
  };
4842
5031
  readonly compiledMeasureFormulas: Record<UID, Record<string, RangeCompiledFormula>>;
4843
- allowDispatch(cmd: CoreCommand): CommandResult.Success | CommandResult.NoChanges | CommandResult.PivotIdNotFound | CommandResult.EmptyName | CommandResult.InvalidDefinition;
5032
+ allowDispatch(cmd: CoreCommand): CommandResult | CommandResult[];
4844
5033
  handle(cmd: CoreCommand): void;
4845
- adaptRanges(applyChange: ApplyRangeChange): void;
5034
+ adaptRanges(applyChange: ApplyRangeChange, sheetId?: UID, sheetName?: string): void;
4846
5035
  getPivotDisplayName(pivotId: UID): string;
4847
5036
  getPivotName(pivotId: UID): string;
4848
5037
  /**
@@ -4866,6 +5055,7 @@ declare class PivotCorePlugin extends CorePlugin<CoreState> implements CoreState
4866
5055
  private getPivotCore;
4867
5056
  private compileMeasureFormula;
4868
5057
  private replaceMeasureFormula;
5058
+ private checkSortedColumnInMeasures;
4869
5059
  private checkDuplicatedMeasureIds;
4870
5060
  /**
4871
5061
  * Import the pivots
@@ -4895,7 +5085,7 @@ interface SheetState {
4895
5085
  readonly cellPosition: Record<UID, CellPosition | undefined>;
4896
5086
  }
4897
5087
  declare class SheetPlugin extends CorePlugin<SheetState> implements SheetState {
4898
- static getters: readonly ["getSheetName", "tryGetSheetName", "getSheet", "tryGetSheet", "getSheetIdByName", "getSheetIds", "getVisibleSheetIds", "isSheetVisible", "doesHeaderExist", "doesHeadersExist", "getCell", "getCellPosition", "getColsZone", "getRowCells", "getRowsZone", "getNumberCols", "getNumberRows", "getNumberHeaders", "getGridLinesVisibility", "getNextSheetName", "getSheetSize", "getSheetZone", "getPaneDivisions", "checkZonesExistInSheet", "getCommandZones", "getUnboundedZone", "checkElementsIncludeAllNonFrozenHeaders"];
5088
+ static getters: readonly ["getSheetName", "tryGetSheetName", "getSheet", "tryGetSheet", "getSheetIdByName", "getSheetIds", "getVisibleSheetIds", "isSheetVisible", "doesHeaderExist", "doesHeadersExist", "getCell", "getCellPosition", "getColsZone", "getRowCells", "getRowsZone", "getNumberCols", "getNumberRows", "getNumberHeaders", "getGridLinesVisibility", "getNextSheetName", "getSheetSize", "getSheetZone", "getPaneDivisions", "checkZonesExistInSheet", "getCommandZones", "getUnboundedZone", "checkElementsIncludeAllNonFrozenHeaders", "getDuplicateSheetName"];
4899
5089
  readonly sheetIdsMapName: Record<string, UID | undefined>;
4900
5090
  readonly orderedSheetIds: UID[];
4901
5091
  readonly sheets: Record<UID, Sheet | undefined>;
@@ -4972,7 +5162,7 @@ declare class SheetPlugin extends CorePlugin<SheetState> implements SheetState {
4972
5162
  private hideSheet;
4973
5163
  private showSheet;
4974
5164
  private duplicateSheet;
4975
- private getDuplicateSheetName;
5165
+ getDuplicateSheetName(sheetName: string): string;
4976
5166
  private deleteSheet;
4977
5167
  /**
4978
5168
  * Delete column. This requires a lot of handling:
@@ -5062,7 +5252,7 @@ declare class TablePlugin extends CorePlugin<TableState> implements TableState {
5062
5252
  static getters: readonly ["getCoreTable", "getCoreTables", "getCoreTableMatchingTopLeft"];
5063
5253
  readonly tables: Record<UID, Record<TableId, CoreTable | undefined>>;
5064
5254
  readonly nextTableId: number;
5065
- adaptRanges(applyChange: ApplyRangeChange, sheetId?: UID): void;
5255
+ adaptRanges(applyChange: ApplyRangeChange, sheetId?: UID, sheetName?: string): void;
5066
5256
  allowDispatch(cmd: CoreCommand): CommandResult | CommandResult[];
5067
5257
  handle(cmd: CoreCommand): void;
5068
5258
  getCoreTables(sheetId: UID): CoreTable[];
@@ -5345,11 +5535,12 @@ interface CellWithSize {
5345
5535
  size: Pixel;
5346
5536
  }
5347
5537
  declare class HeaderSizeUIPlugin extends CoreViewPlugin<HeaderSizeState> implements HeaderSizeState {
5348
- static getters: readonly ["getRowSize", "getHeaderSize"];
5538
+ static getters: readonly ["getRowSize", "getHeaderSize", "getMaxAnchorOffset"];
5349
5539
  readonly tallestCellInRow: Immutable<Record<UID, Array<CellWithSize | undefined>>>;
5350
5540
  private ctx;
5351
5541
  handle(cmd: Command): void;
5352
5542
  getRowSize(sheetId: UID, row: HeaderIndex): Pixel;
5543
+ getMaxAnchorOffset(sheetId: UID, height: Pixel, width: Pixel): AnchorOffset;
5353
5544
  getHeaderSize(sheetId: UID, dimension: Dimension, index: HeaderIndex): Pixel;
5354
5545
  private updateRowSizeForCellChange;
5355
5546
  private initializeSheet;
@@ -5553,6 +5744,13 @@ declare class AutofillPlugin extends UIPlugin {
5553
5744
  * useful to set it to false when we need to fill the tooltip
5554
5745
  */
5555
5746
  private autofill;
5747
+ private collectBordersData;
5748
+ private collectConditionalFormatsData;
5749
+ private collectDataValidationsData;
5750
+ private autofillCell;
5751
+ private autofillBorders;
5752
+ private autofillConditionalFormats;
5753
+ private autofillDataValidations;
5556
5754
  /**
5557
5755
  * Select a cell which becomes the last cell of the autofillZone
5558
5756
  */
@@ -5581,9 +5779,7 @@ declare class AutofillPlugin extends UIPlugin {
5581
5779
  * a given cell (col, row)
5582
5780
  */
5583
5781
  private getDirection;
5584
- private autoFillMerge;
5585
- private autofillCF;
5586
- private autofillDV;
5782
+ private autofillMerge;
5587
5783
  drawLayer(renderingContext: GridRenderingContext): void;
5588
5784
  }
5589
5785
 
@@ -5776,12 +5972,12 @@ declare class UIOptionsPlugin extends UIPlugin {
5776
5972
  }
5777
5973
 
5778
5974
  declare class SheetUIPlugin extends UIPlugin {
5779
- static getters: readonly ["doesCellHaveGridIcon", "getCellWidth", "getCellIconSrc", "getTextWidth", "getCellText", "getCellMultiLineText", "getContiguousZone"];
5975
+ static getters: readonly ["doesCellHaveGridIcon", "getCellWidth", "getCellIconSvg", "getTextWidth", "getCellText", "getCellMultiLineText", "getContiguousZone"];
5780
5976
  private ctx;
5781
5977
  allowDispatch(cmd: LocalCommand): CommandResult | CommandResult[];
5782
5978
  handle(cmd: Command): void;
5783
5979
  getCellWidth(position: CellPosition): number;
5784
- getCellIconSrc(position: CellPosition): ImageSrc | undefined;
5980
+ getCellIconSvg(position: CellPosition): ImageSVG | undefined;
5785
5981
  getTextWidth(text: string, style: Style): Pixel;
5786
5982
  getCellText(position: CellPosition, args?: {
5787
5983
  showFormula?: boolean;
@@ -5816,6 +6012,7 @@ declare class SheetUIPlugin extends UIPlugin {
5816
6012
  * not outside the sheet.
5817
6013
  */
5818
6014
  private checkZonesAreInSheet;
6015
+ private autoResizeRows;
5819
6016
  }
5820
6017
 
5821
6018
  declare class CellComputedStylePlugin extends UIPlugin {
@@ -6013,10 +6210,11 @@ interface AddFunctionDescription {
6013
6210
  hidden?: boolean;
6014
6211
  }
6015
6212
  type FunctionDescription = AddFunctionDescription & {
6213
+ name: string;
6016
6214
  minArgRequired: number;
6017
6215
  maxArgPossible: number;
6018
6216
  nbrArgRepeating: number;
6019
- getArgToFocus: (argPosition: number) => number;
6217
+ nbrArgOptional: number;
6020
6218
  };
6021
6219
  type EvalContext = {
6022
6220
  __originSheetId: UID;
@@ -6185,12 +6383,13 @@ interface Box extends Rect {
6185
6383
  isMerge?: boolean;
6186
6384
  verticalAlign?: VerticalAlign;
6187
6385
  isOverflow?: boolean;
6386
+ overlayColor: Color | undefined;
6188
6387
  }
6189
6388
  interface Image {
6190
6389
  clipIcon: Rect | null;
6191
6390
  size: Pixel;
6192
6391
  type: "icon";
6193
- image: HTMLImageElement;
6392
+ svg: ImageSVG;
6194
6393
  }
6195
6394
  /**
6196
6395
  * The viewport is the visible area of a sheet.
@@ -6292,6 +6491,18 @@ type ScorecardChartConfig = {
6292
6491
  };
6293
6492
  };
6294
6493
 
6494
+ interface ChartSunburstLabelsPluginOptions {
6495
+ showValues: boolean;
6496
+ showLabels: boolean;
6497
+ style: Style;
6498
+ callback: (value: number, axisId?: string) => string;
6499
+ }
6500
+ declare module "chart.js" {
6501
+ interface PluginOptionsByType<TType extends ChartType$1> {
6502
+ sunburstLabelsPlugin?: ChartSunburstLabelsPluginOptions;
6503
+ }
6504
+ }
6505
+
6295
6506
  interface ChartShowValuesPluginOptions {
6296
6507
  showValues: boolean;
6297
6508
  background?: Color;
@@ -6350,7 +6561,6 @@ declare class Registry<T> {
6350
6561
  }
6351
6562
 
6352
6563
  interface MigrationStep {
6353
- versionFrom: string;
6354
6564
  migrate: (data: any) => any;
6355
6565
  }
6356
6566
 
@@ -6379,7 +6589,7 @@ declare class ClipboardHandler<T> {
6379
6589
  protected getters: Getters;
6380
6590
  protected dispatch: CommandDispatcher["dispatch"];
6381
6591
  constructor(getters: Getters, dispatch: CommandDispatcher["dispatch"]);
6382
- copy(data: ClipboardData): T | undefined;
6592
+ copy(data: ClipboardData, isCutOperation: boolean): T | undefined;
6383
6593
  paste(target: ClipboardPasteTarget, clippedContent: T, options: ClipboardOptions): void;
6384
6594
  isPasteAllowed(sheetId: UID, target: Zone[], content: T, option: ClipboardOptions): CommandResult;
6385
6595
  isCutAllowed(data: ClipboardData): CommandResult;
@@ -6485,7 +6695,7 @@ interface NumberFormatActionSpec extends ActionSpec {
6485
6695
  }
6486
6696
 
6487
6697
  type CellPopoverType = "ErrorToolTip" | "LinkDisplay" | "FilterMenu" | "LinkEditor";
6488
- type PopoverPropsPosition = "TopRight" | "BottomLeft";
6698
+ type PopoverPropsPosition = "top-right" | "bottom-left";
6489
6699
  type MaxSizedComponentConstructor = ComponentConstructor & {
6490
6700
  maxSize?: {
6491
6701
  maxWidth?: number;
@@ -6601,6 +6811,7 @@ declare const chartCategories: {
6601
6811
  bar: string;
6602
6812
  area: string;
6603
6813
  pie: string;
6814
+ hierarchical: string;
6604
6815
  misc: string;
6605
6816
  };
6606
6817
  interface ChartSubtypeProperties {
@@ -6618,7 +6829,7 @@ interface ChartSubtypeProperties {
6618
6829
  preview: string;
6619
6830
  }
6620
6831
 
6621
- interface Props$19 {
6832
+ interface Props$1g {
6622
6833
  label?: string;
6623
6834
  value: boolean;
6624
6835
  className?: string;
@@ -6627,7 +6838,7 @@ interface Props$19 {
6627
6838
  disabled?: boolean;
6628
6839
  onChange: (value: boolean) => void;
6629
6840
  }
6630
- declare class Checkbox extends Component<Props$19, SpreadsheetChildEnv> {
6841
+ declare class Checkbox extends Component<Props$1g, SpreadsheetChildEnv> {
6631
6842
  static template: string;
6632
6843
  static props: {
6633
6844
  label: {
@@ -6662,10 +6873,10 @@ declare class Checkbox extends Component<Props$19, SpreadsheetChildEnv> {
6662
6873
  onChange(ev: InputEvent): void;
6663
6874
  }
6664
6875
 
6665
- interface Props$18 {
6876
+ interface Props$1f {
6666
6877
  class?: string;
6667
6878
  }
6668
- declare class Section extends Component<Props$18, SpreadsheetChildEnv> {
6879
+ declare class Section extends Component<Props$1f, SpreadsheetChildEnv> {
6669
6880
  static template: string;
6670
6881
  static props: {
6671
6882
  class: {
@@ -6799,7 +7010,7 @@ declare class SelectionInputStore extends SpreadsheetStore {
6799
7010
  getIndex(rangeId: number | null): number | null;
6800
7011
  }
6801
7012
 
6802
- interface Props$17 {
7013
+ interface Props$1e {
6803
7014
  ranges: string[];
6804
7015
  hasSingleRange?: boolean;
6805
7016
  required?: boolean;
@@ -6824,7 +7035,7 @@ interface SelectionRange extends Omit<RangeInputValue, "color"> {
6824
7035
  * onSelectionChanged is called every time the input value
6825
7036
  * changes.
6826
7037
  */
6827
- declare class SelectionInput extends Component<Props$17, SpreadsheetChildEnv> {
7038
+ declare class SelectionInput extends Component<Props$1e, SpreadsheetChildEnv> {
6828
7039
  static template: string;
6829
7040
  static props: {
6830
7041
  ranges: ArrayConstructor;
@@ -6891,15 +7102,16 @@ declare class SelectionInput extends Component<Props$17, SpreadsheetChildEnv> {
6891
7102
  confirm(): void;
6892
7103
  }
6893
7104
 
6894
- interface Props$16 {
7105
+ interface Props$1d {
6895
7106
  ranges: CustomizedDataSet[];
6896
7107
  hasSingleRange?: boolean;
6897
7108
  onSelectionChanged: (ranges: string[]) => void;
6898
7109
  onSelectionReordered?: (indexes: number[]) => void;
6899
7110
  onSelectionRemoved?: (index: number) => void;
6900
7111
  onSelectionConfirmed: () => void;
7112
+ title?: string;
6901
7113
  }
6902
- declare class ChartDataSeries extends Component<Props$16, SpreadsheetChildEnv> {
7114
+ declare class ChartDataSeries extends Component<Props$1d, SpreadsheetChildEnv> {
6903
7115
  static template: string;
6904
7116
  static components: {
6905
7117
  SelectionInput: typeof SelectionInput;
@@ -6921,18 +7133,22 @@ declare class ChartDataSeries extends Component<Props$16, SpreadsheetChildEnv> {
6921
7133
  optional: boolean;
6922
7134
  };
6923
7135
  onSelectionConfirmed: FunctionConstructor;
7136
+ title: {
7137
+ type: StringConstructor;
7138
+ optional: boolean;
7139
+ };
6924
7140
  };
6925
7141
  get ranges(): string[];
6926
7142
  get colors(): (Color | undefined)[];
6927
7143
  get title(): string;
6928
7144
  }
6929
7145
 
6930
- interface Props$15 {
7146
+ interface Props$1c {
6931
7147
  messages: string[];
6932
7148
  msgType: "warning" | "error" | "info";
6933
7149
  singleBox?: boolean;
6934
7150
  }
6935
- declare class ValidationMessages extends Component<Props$15, SpreadsheetChildEnv> {
7151
+ declare class ValidationMessages extends Component<Props$1c, SpreadsheetChildEnv> {
6936
7152
  static template: string;
6937
7153
  static props: {
6938
7154
  messages: ArrayConstructor;
@@ -6946,10 +7162,10 @@ declare class ValidationMessages extends Component<Props$15, SpreadsheetChildEnv
6946
7162
  get alertBoxes(): string[][];
6947
7163
  }
6948
7164
 
6949
- interface Props$14 {
7165
+ interface Props$1b {
6950
7166
  messages: string[];
6951
7167
  }
6952
- declare class ChartErrorSection extends Component<Props$14, SpreadsheetChildEnv> {
7168
+ declare class ChartErrorSection extends Component<Props$1b, SpreadsheetChildEnv> {
6953
7169
  static template: string;
6954
7170
  static components: {
6955
7171
  Section: typeof Section;
@@ -6963,7 +7179,7 @@ declare class ChartErrorSection extends Component<Props$14, SpreadsheetChildEnv>
6963
7179
  };
6964
7180
  }
6965
7181
 
6966
- interface Props$13 {
7182
+ interface Props$1a {
6967
7183
  title?: string;
6968
7184
  range: string;
6969
7185
  isInvalid: boolean;
@@ -6976,7 +7192,7 @@ interface Props$13 {
6976
7192
  onChange: (value: boolean) => void;
6977
7193
  }>;
6978
7194
  }
6979
- declare class ChartLabelRange extends Component<Props$13, SpreadsheetChildEnv> {
7195
+ declare class ChartLabelRange extends Component<Props$1a, SpreadsheetChildEnv> {
6980
7196
  static template: string;
6981
7197
  static components: {
6982
7198
  SelectionInput: typeof SelectionInput;
@@ -6997,10 +7213,10 @@ declare class ChartLabelRange extends Component<Props$13, SpreadsheetChildEnv> {
6997
7213
  optional: boolean;
6998
7214
  };
6999
7215
  };
7000
- static defaultProps: Partial<Props$13>;
7216
+ static defaultProps: Partial<Props$1a>;
7001
7217
  }
7002
7218
 
7003
- interface Props$12 {
7219
+ interface Props$19 {
7004
7220
  figureId: UID;
7005
7221
  definition: ChartWithDataSetDefinition;
7006
7222
  canUpdateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
@@ -7010,7 +7226,7 @@ interface ChartPanelState {
7010
7226
  datasetDispatchResult?: DispatchResult;
7011
7227
  labelsDispatchResult?: DispatchResult;
7012
7228
  }
7013
- declare class GenericChartConfigPanel extends Component<Props$12, SpreadsheetChildEnv> {
7229
+ declare class GenericChartConfigPanel extends Component<Props$19, SpreadsheetChildEnv> {
7014
7230
  static template: string;
7015
7231
  static components: {
7016
7232
  ChartDataSeries: typeof ChartDataSeries;
@@ -7072,6 +7288,21 @@ declare class BarConfigPanel extends GenericChartConfigPanel {
7072
7288
  onUpdateStacked(stacked: boolean): void;
7073
7289
  }
7074
7290
 
7291
+ interface Props$18 {
7292
+ isCollapsed: boolean;
7293
+ slots: any;
7294
+ }
7295
+ declare class Collapse extends Component<Props$18, SpreadsheetChildEnv> {
7296
+ static template: string;
7297
+ static props: {
7298
+ isCollapsed: BooleanConstructor;
7299
+ slots: ObjectConstructor;
7300
+ };
7301
+ private contentRef;
7302
+ setup(): void;
7303
+ startTransition(isCollapsed: boolean): void;
7304
+ }
7305
+
7075
7306
  declare class SidePanelCollapsible extends Component {
7076
7307
  static template: string;
7077
7308
  static props: {
@@ -7080,7 +7311,7 @@ declare class SidePanelCollapsible extends Component {
7080
7311
  type: StringConstructor;
7081
7312
  optional: boolean;
7082
7313
  };
7083
- collapsedAtInit: {
7314
+ isInitiallyCollapsed: {
7084
7315
  type: BooleanConstructor;
7085
7316
  optional: boolean;
7086
7317
  };
@@ -7089,19 +7320,23 @@ declare class SidePanelCollapsible extends Component {
7089
7320
  optional: boolean;
7090
7321
  };
7091
7322
  };
7092
- currentId: string;
7323
+ static components: {
7324
+ Collapse: typeof Collapse;
7325
+ };
7326
+ private state;
7327
+ toggle(): void;
7093
7328
  }
7094
7329
 
7095
7330
  interface Choice$1 {
7096
7331
  value: string;
7097
7332
  label: string;
7098
7333
  }
7099
- interface Props$11 {
7334
+ interface Props$17 {
7100
7335
  choices: Choice$1[];
7101
7336
  onChange: (value: string) => void;
7102
7337
  selectedValue: string;
7103
7338
  }
7104
- declare class BadgeSelection extends Component<Props$11, SpreadsheetChildEnv> {
7339
+ declare class BadgeSelection extends Component<Props$17, SpreadsheetChildEnv> {
7105
7340
  static template: string;
7106
7341
  static props: {
7107
7342
  choices: ArrayConstructor;
@@ -7110,6 +7345,45 @@ declare class BadgeSelection extends Component<Props$11, SpreadsheetChildEnv> {
7110
7345
  };
7111
7346
  }
7112
7347
 
7348
+ interface Props$16 {
7349
+ action: ActionSpec;
7350
+ hasTriangleDownIcon?: boolean;
7351
+ selectedColor?: string;
7352
+ class?: string;
7353
+ onClick?: (ev: MouseEvent) => void;
7354
+ }
7355
+ declare class ActionButton extends Component<Props$16, SpreadsheetChildEnv> {
7356
+ static template: string;
7357
+ static props: {
7358
+ action: ObjectConstructor;
7359
+ hasTriangleDownIcon: {
7360
+ type: BooleanConstructor;
7361
+ optional: boolean;
7362
+ };
7363
+ selectedColor: {
7364
+ type: StringConstructor;
7365
+ optional: boolean;
7366
+ };
7367
+ class: {
7368
+ type: StringConstructor;
7369
+ optional: boolean;
7370
+ };
7371
+ onClick: {
7372
+ type: FunctionConstructor;
7373
+ optional: boolean;
7374
+ };
7375
+ };
7376
+ private actionButton;
7377
+ setup(): void;
7378
+ get isVisible(): boolean;
7379
+ get isEnabled(): boolean;
7380
+ get isActive(): boolean | undefined;
7381
+ get title(): string;
7382
+ get iconTitle(): string;
7383
+ onClick(ev: MouseEvent): void;
7384
+ get buttonStyle(): string;
7385
+ }
7386
+
7113
7387
  declare enum ComponentsImportance {
7114
7388
  Grid = 0,
7115
7389
  Highlight = 5,
@@ -7263,7 +7537,7 @@ declare class ColorPicker extends Component<ColorPickerProps, SpreadsheetChildEn
7263
7537
  isSameColor(color1: Color, color2: Color): boolean;
7264
7538
  }
7265
7539
 
7266
- interface Props$10 {
7540
+ interface Props$15 {
7267
7541
  currentColor: string | undefined;
7268
7542
  toggleColorPicker: () => void;
7269
7543
  showColorPicker: boolean;
@@ -7274,7 +7548,7 @@ interface Props$10 {
7274
7548
  dropdownMaxHeight?: Pixel;
7275
7549
  class?: string;
7276
7550
  }
7277
- declare class ColorPickerWidget extends Component<Props$10, SpreadsheetChildEnv> {
7551
+ declare class ColorPickerWidget extends Component<Props$15, SpreadsheetChildEnv> {
7278
7552
  static template: string;
7279
7553
  static props: {
7280
7554
  currentColor: {
@@ -7317,7 +7591,7 @@ declare class CellPopoverStore extends SpreadsheetStore {
7317
7591
  private persistentPopover?;
7318
7592
  protected hoveredCell: {
7319
7593
  readonly clear: () => void;
7320
- readonly hover: (position: Position$1) => void;
7594
+ readonly hover: (position: Partial<Position$1>) => void;
7321
7595
  readonly mutators: readonly ["clear", "hover"];
7322
7596
  readonly col: number | undefined;
7323
7597
  readonly row: number | undefined;
@@ -7335,14 +7609,14 @@ declare class CellPopoverStore extends SpreadsheetStore {
7335
7609
  interface State$4 {
7336
7610
  isOpen: boolean;
7337
7611
  }
7338
- interface Props$$ {
7612
+ interface Props$14 {
7339
7613
  currentFontSize: number;
7340
7614
  class: string;
7341
7615
  onFontSizeChanged: (fontSize: number) => void;
7342
7616
  onToggle?: () => void;
7343
7617
  onFocusInput?: () => void;
7344
7618
  }
7345
- declare class FontSizeEditor extends Component<Props$$, SpreadsheetChildEnv> {
7619
+ declare class FontSizeEditor extends Component<Props$14, SpreadsheetChildEnv> {
7346
7620
  static template: string;
7347
7621
  static props: {
7348
7622
  currentFontSize: NumberConstructor;
@@ -7380,62 +7654,54 @@ declare class FontSizeEditor extends Component<Props$$, SpreadsheetChildEnv> {
7380
7654
  onInputKeydown(ev: KeyboardEvent): void;
7381
7655
  }
7382
7656
 
7383
- interface Props$_ {
7384
- title?: string;
7385
- updateTitle: (title: string) => void;
7386
- name?: string;
7387
- toggleItalic?: () => void;
7388
- toggleBold?: () => void;
7389
- updateAlignment?: (string: any) => void;
7390
- updateColor?: (Color: any) => void;
7391
- style: TitleDesign;
7392
- onFontSizeChanged: (fontSize: number) => void;
7393
- }
7394
- declare class ChartTitle extends Component<Props$_, SpreadsheetChildEnv> {
7657
+ interface Props$13 {
7658
+ class?: string;
7659
+ style: ChartStyle;
7660
+ updateStyle: (style: ChartStyle) => void;
7661
+ defaultStyle?: Partial<ChartStyle>;
7662
+ hasVerticalAlign?: boolean;
7663
+ hasHorizontalAlign?: boolean;
7664
+ hasBackgroundColor?: boolean;
7665
+ }
7666
+ declare class TextStyler extends Component<Props$13, SpreadsheetChildEnv> {
7395
7667
  static template: string;
7396
7668
  static components: {
7397
- Section: typeof Section;
7398
7669
  ColorPickerWidget: typeof ColorPickerWidget;
7670
+ ActionButton: typeof ActionButton;
7399
7671
  FontSizeEditor: typeof FontSizeEditor;
7400
7672
  };
7401
7673
  static props: {
7402
- title: {
7403
- type: StringConstructor;
7674
+ style: ObjectConstructor;
7675
+ updateStyle: {
7676
+ type: FunctionConstructor;
7404
7677
  optional: boolean;
7405
7678
  };
7406
- updateTitle: FunctionConstructor;
7407
- name: {
7408
- type: StringConstructor;
7679
+ defaultStyle: {
7680
+ type: ObjectConstructor;
7409
7681
  optional: boolean;
7410
7682
  };
7411
- toggleItalic: {
7412
- type: FunctionConstructor;
7683
+ hasVerticalAlign: {
7684
+ type: BooleanConstructor;
7413
7685
  optional: boolean;
7414
7686
  };
7415
- toggleBold: {
7416
- type: FunctionConstructor;
7687
+ hasHorizontalAlign: {
7688
+ type: BooleanConstructor;
7417
7689
  optional: boolean;
7418
7690
  };
7419
- updateAlignment: {
7420
- type: FunctionConstructor;
7691
+ hasBackgroundColor: {
7692
+ type: BooleanConstructor;
7421
7693
  optional: boolean;
7422
7694
  };
7423
- updateColor: {
7424
- type: FunctionConstructor;
7695
+ class: {
7696
+ type: StringConstructor;
7425
7697
  optional: boolean;
7426
7698
  };
7427
- style: ObjectConstructor;
7428
- onFontSizeChanged: FunctionConstructor;
7429
- };
7430
- static defaultProps: {
7431
- title: string;
7432
7699
  };
7433
7700
  openedEl: HTMLElement | null;
7434
7701
  setup(): void;
7435
7702
  state: {
7436
7703
  activeTool: string;
7437
7704
  };
7438
- updateTitle(ev: InputEvent): void;
7439
7705
  updateFontSize(fontSize: number): void;
7440
7706
  toggleDropdownTool(tool: string, ev: MouseEvent): void;
7441
7707
  /**
@@ -7445,22 +7711,74 @@ declare class ChartTitle extends Component<Props$_, SpreadsheetChildEnv> {
7445
7711
  * time with something like a menuStore ?
7446
7712
  */
7447
7713
  onExternalClick(ev: MouseEvent): void;
7448
- onColorPicked(color: Color): void;
7449
- updateAlignment(aligment: "left" | "center" | "right"): void;
7714
+ onTextColorChange(color: Color): void;
7715
+ onFillColorChange(color: Color): void;
7716
+ updateAlignment(align: Align): void;
7717
+ updateVerticalAlignment(verticalAlign: VerticalAlign): void;
7718
+ toggleBold(): void;
7719
+ toggleItalic(): void;
7450
7720
  closeMenus(): void;
7721
+ get align(): Align;
7722
+ get verticalAlign(): VerticalAlign;
7723
+ get bold(): boolean | undefined;
7724
+ get italic(): boolean | undefined;
7725
+ get currentFontSize(): number;
7726
+ get boldButtonAction(): ActionSpec;
7727
+ get italicButtonAction(): ActionSpec;
7728
+ get horizontalAlignButtonAction(): ActionSpec;
7729
+ get horizontalAlignActions(): ActionSpec[];
7730
+ get verticalAlignButtonAction(): ActionSpec;
7731
+ get verticalAlignActions(): ActionSpec[];
7732
+ }
7733
+
7734
+ interface Props$12 {
7735
+ title?: string;
7736
+ updateTitle: (title: string) => void;
7737
+ name?: string;
7738
+ style: TitleDesign;
7739
+ defaultStyle?: Partial<TitleDesign>;
7740
+ updateStyle: (style: TitleDesign) => void;
7741
+ }
7742
+ declare class ChartTitle extends Component<Props$12, SpreadsheetChildEnv> {
7743
+ static template: string;
7744
+ static components: {
7745
+ Section: typeof Section;
7746
+ TextStyler: typeof TextStyler;
7747
+ };
7748
+ static props: {
7749
+ title: {
7750
+ type: StringConstructor;
7751
+ optional: boolean;
7752
+ };
7753
+ updateTitle: FunctionConstructor;
7754
+ name: {
7755
+ type: StringConstructor;
7756
+ optional: boolean;
7757
+ };
7758
+ style: ObjectConstructor;
7759
+ defaultStyle: {
7760
+ type: ObjectConstructor;
7761
+ optional: boolean;
7762
+ };
7763
+ updateStyle: FunctionConstructor;
7764
+ };
7765
+ static defaultProps: {
7766
+ title: string;
7767
+ };
7768
+ updateTitle(ev: InputEvent): void;
7451
7769
  }
7452
7770
 
7453
7771
  interface AxisDefinition {
7454
7772
  id: string;
7455
7773
  name: string;
7456
7774
  }
7457
- interface Props$Z {
7775
+ interface Props$11 {
7458
7776
  figureId: UID;
7459
- definition: ChartWithDataSetDefinition | WaterfallChartDefinition;
7460
- updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition | WaterfallChartDefinition>) => DispatchResult;
7777
+ definition: ChartWithAxisDefinition;
7778
+ updateChart: (figureId: UID, definition: Partial<ChartWithAxisDefinition>) => DispatchResult;
7461
7779
  axesList: AxisDefinition[];
7462
7780
  }
7463
- declare class AxisDesignEditor extends Component<Props$Z, SpreadsheetChildEnv> {
7781
+ declare class AxisDesignEditor extends Component<Props$11, SpreadsheetChildEnv> {
7464
7782
  static template: string;
7465
7783
  static components: {
7466
7784
  Section: typeof Section;
@@ -7476,28 +7794,55 @@ declare class AxisDesignEditor extends Component<Props$Z, SpreadsheetChildEnv> {
7476
7794
  state: {
7477
7795
  currentAxis: string;
7478
7796
  };
7797
+ defaultFontSize: number;
7479
7798
  get axisTitleStyle(): TitleDesign;
7480
7799
  get badgeAxes(): {
7481
7800
  value: string;
7482
7801
  label: string;
7483
7802
  }[];
7484
- updateAxisTitleColor(color: Color): void;
7485
- updateAxisTitleFontSize(fontSize: number): void;
7486
- toggleBoldAxisTitle(): void;
7487
- toggleItalicAxisTitle(): void;
7488
- updateAxisTitleAlignment(align: "left" | "center" | "right"): void;
7489
7803
  updateAxisEditor(ev: any): void;
7490
7804
  getAxisTitle(): any;
7491
7805
  updateAxisTitle(text: string): void;
7806
+ updateAxisTitleStyle(style: TitleDesign): void;
7492
7807
  }
7493
7808
 
7494
- interface Props$Y {
7809
+ interface Choice {
7810
+ value: unknown;
7811
+ label: string;
7812
+ }
7813
+ interface Props$10 {
7814
+ choices: Choice[];
7815
+ onChange: (value: unknown) => void;
7816
+ selectedValue: string;
7817
+ name: string;
7818
+ direction: "horizontal" | "vertical";
7819
+ }
7820
+ declare class RadioSelection extends Component<Props$10, SpreadsheetChildEnv> {
7821
+ static template: string;
7822
+ static props: {
7823
+ choices: ArrayConstructor;
7824
+ onChange: FunctionConstructor;
7825
+ selectedValue: {
7826
+ optional: boolean;
7827
+ };
7828
+ name: StringConstructor;
7829
+ direction: {
7830
+ type: StringConstructor;
7831
+ optional: boolean;
7832
+ };
7833
+ };
7834
+ static defaultProps: {
7835
+ direction: string;
7836
+ };
7837
+ }
7838
+
7839
+ interface Props$$ {
7495
7840
  currentColor?: string;
7496
7841
  onColorPicked: (color: string) => void;
7497
7842
  title?: string;
7498
7843
  disableNoColor?: boolean;
7499
7844
  }
7500
- declare class RoundColorPicker extends Component<Props$Y, SpreadsheetChildEnv> {
7845
+ declare class RoundColorPicker extends Component<Props$$, SpreadsheetChildEnv> {
7501
7846
  static template: string;
7502
7847
  static components: {
7503
7848
  Section: typeof Section;
@@ -7530,19 +7875,20 @@ declare class RoundColorPicker extends Component<Props$Y, SpreadsheetChildEnv> {
7530
7875
  get buttonStyle(): string;
7531
7876
  }
7532
7877
 
7533
- interface Props$X {
7878
+ interface Props$_ {
7534
7879
  figureId: UID;
7535
7880
  definition: ChartDefinition;
7536
7881
  updateChart: (figureId: UID, definition: Partial<ChartDefinition>) => DispatchResult;
7537
7882
  defaultChartTitleFontSize?: number;
7538
7883
  }
7539
- declare class GeneralDesignEditor extends Component<Props$X, SpreadsheetChildEnv> {
7884
+ declare class GeneralDesignEditor extends Component<Props$_, SpreadsheetChildEnv> {
7540
7885
  static template: string;
7541
7886
  static components: {
7542
7887
  RoundColorPicker: typeof RoundColorPicker;
7543
7888
  ChartTitle: typeof ChartTitle;
7544
7889
  Section: typeof Section;
7545
7890
  SidePanelCollapsible: typeof SidePanelCollapsible;
7891
+ RadioSelection: typeof RadioSelection;
7546
7892
  };
7547
7893
  static props: {
7548
7894
  figureId: StringConstructor;
@@ -7566,20 +7912,15 @@ declare class GeneralDesignEditor extends Component<Props$X, SpreadsheetChildEnv
7566
7912
  toggleDropdownTool(tool: string, ev: MouseEvent): void;
7567
7913
  updateBackgroundColor(color: Color): void;
7568
7914
  updateTitle(newTitle: string): void;
7569
- get titleStyle(): TitleDesign;
7570
- updateChartTitleColor(color: Color): void;
7571
- updateChartTitleFontSize(fontSize: number): void;
7572
- toggleBoldChartTitle(): void;
7573
- toggleItalicChartTitle(): void;
7574
- updateChartTitleAlignment(align: "left" | "center" | "right"): void;
7915
+ updateChartTitleStyle(style: TitleDesign): void;
7575
7916
  }
7576
7917
 
7577
- interface Props$W {
7918
+ interface Props$Z {
7578
7919
  figureId: UID;
7579
7920
  definition: ChartWithDataSetDefinition;
7580
7921
  updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
7581
7922
  }
7582
- declare class ChartLegend extends Component<Props$W, SpreadsheetChildEnv> {
7923
+ declare class ChartLegend extends Component<Props$Z, SpreadsheetChildEnv> {
7583
7924
  static template: string;
7584
7925
  static components: {
7585
7926
  Section: typeof Section;
@@ -7592,43 +7933,13 @@ declare class ChartLegend extends Component<Props$W, SpreadsheetChildEnv> {
7592
7933
  updateLegendPosition(ev: any): void;
7593
7934
  }
7594
7935
 
7595
- interface Choice {
7596
- value: unknown;
7597
- label: string;
7598
- }
7599
- interface Props$V {
7600
- choices: Choice[];
7601
- onChange: (value: unknown) => void;
7602
- selectedValue: string;
7603
- name: string;
7604
- direction: "horizontal" | "vertical";
7605
- }
7606
- declare class RadioSelection extends Component<Props$V, SpreadsheetChildEnv> {
7607
- static template: string;
7608
- static props: {
7609
- choices: ArrayConstructor;
7610
- onChange: FunctionConstructor;
7611
- selectedValue: {
7612
- optional: boolean;
7613
- };
7614
- name: StringConstructor;
7615
- direction: {
7616
- type: StringConstructor;
7617
- optional: boolean;
7618
- };
7619
- };
7620
- static defaultProps: {
7621
- direction: string;
7622
- };
7623
- }
7624
-
7625
- interface Props$U {
7936
+ interface Props$Y {
7626
7937
  figureId: UID;
7627
7938
  definition: ChartWithDataSetDefinition;
7628
7939
  canUpdateChart: (figureID: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
7629
7940
  updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
7630
7941
  }
7631
- declare class SeriesDesignEditor extends Component<Props$U, SpreadsheetChildEnv> {
7942
+ declare class SeriesDesignEditor extends Component<Props$Y, SpreadsheetChildEnv> {
7632
7943
  static template: string;
7633
7944
  static components: {
7634
7945
  SidePanelCollapsible: typeof SidePanelCollapsible;
@@ -7649,20 +7960,20 @@ declare class SeriesDesignEditor extends Component<Props$U, SpreadsheetChildEnv>
7649
7960
  index: number;
7650
7961
  };
7651
7962
  getDataSeries(): (string | undefined)[];
7652
- updateSerieEditor(ev: any): void;
7963
+ updateEditedSeries(ev: Event): void;
7653
7964
  updateDataSeriesColor(color: string): void;
7654
- getDataSerieColor(): "" | Color;
7655
- updateDataSeriesLabel(ev: any): void;
7656
- getDataSerieLabel(): string | undefined;
7965
+ getDataSeriesColor(): "" | Color;
7966
+ updateDataSeriesLabel(ev: Event): void;
7967
+ getDataSeriesLabel(): string | undefined;
7657
7968
  }
7658
7969
 
7659
- interface Props$T {
7970
+ interface Props$X {
7660
7971
  figureId: UID;
7661
7972
  definition: ChartWithDataSetDefinition;
7662
7973
  canUpdateChart: (figureID: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
7663
7974
  updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
7664
7975
  }
7665
- declare class SeriesWithAxisDesignEditor extends Component<Props$T, SpreadsheetChildEnv> {
7976
+ declare class SeriesWithAxisDesignEditor extends Component<Props$X, SpreadsheetChildEnv> {
7666
7977
  static template: string;
7667
7978
  static components: {
7668
7979
  SeriesDesignEditor: typeof SeriesDesignEditor;
@@ -7697,19 +8008,19 @@ declare class SeriesWithAxisDesignEditor extends Component<Props$T, SpreadsheetC
7697
8008
  getMaxPolynomialDegree(index: any): number;
7698
8009
  get defaultWindowSize(): number;
7699
8010
  onChangeMovingAverageWindow(index: number, ev: InputEvent): void;
7700
- getDataSerieColor(index: number): "" | Color;
8011
+ getDataSeriesColor(index: number): "" | Color;
7701
8012
  getTrendLineColor(index: number): string;
7702
8013
  updateTrendLineColor(index: number, color: Color): void;
7703
8014
  updateTrendLineValue(index: number, config: any): void;
7704
8015
  }
7705
8016
 
7706
- interface Props$S {
8017
+ interface Props$W {
7707
8018
  figureId: UID;
7708
8019
  definition: ChartWithDataSetDefinition;
7709
8020
  canUpdateChart: (figureID: UID, definition: GenericDefinition<ChartWithDataSetDefinition>) => DispatchResult;
7710
8021
  updateChart: (figureId: UID, definition: GenericDefinition<ChartWithDataSetDefinition>) => DispatchResult;
7711
8022
  }
7712
- declare class ChartWithAxisDesignPanel<P extends Props$S = Props$S> extends Component<P, SpreadsheetChildEnv> {
8023
+ declare class ChartWithAxisDesignPanel<P extends Props$W = Props$W> extends Component<P, SpreadsheetChildEnv> {
7713
8024
  static template: string;
7714
8025
  static components: {
7715
8026
  GeneralDesignEditor: typeof GeneralDesignEditor;
@@ -7729,13 +8040,13 @@ declare class ChartWithAxisDesignPanel<P extends Props$S = Props$S> extends Comp
7729
8040
  get axesList(): AxisDefinition[];
7730
8041
  }
7731
8042
 
7732
- interface Props$R {
8043
+ interface Props$V {
7733
8044
  figureId: UID;
7734
8045
  definition: GaugeChartDefinition;
7735
8046
  canUpdateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
7736
8047
  updateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
7737
8048
  }
7738
- declare class GaugeChartConfigPanel extends Component<Props$R, SpreadsheetChildEnv> {
8049
+ declare class GaugeChartConfigPanel extends Component<Props$V, SpreadsheetChildEnv> {
7739
8050
  static template: string;
7740
8051
  static components: {
7741
8052
  ChartErrorSection: typeof ChartErrorSection;
@@ -7797,15 +8108,16 @@ interface EnrichedToken extends Token {
7797
8108
  color?: Color;
7798
8109
  isBlurred?: boolean;
7799
8110
  isParenthesisLinkedToCursor?: boolean;
8111
+ isInHoverContext?: boolean;
7800
8112
  }
7801
8113
 
7802
- interface Props$Q {
8114
+ interface Props$U {
7803
8115
  proposals: AutoCompleteProposal[];
7804
8116
  selectedIndex: number | undefined;
7805
8117
  onValueSelected: (value: string) => void;
7806
8118
  onValueHovered: (index: string) => void;
7807
8119
  }
7808
- declare class TextValueProvider extends Component<Props$Q> {
8120
+ declare class TextValueProvider extends Component<Props$U> {
7809
8121
  static template: string;
7810
8122
  static props: {
7811
8123
  proposals: ArrayConstructor;
@@ -7872,22 +8184,43 @@ declare class ContentEditableHelper {
7872
8184
  getText(): string;
7873
8185
  }
7874
8186
 
7875
- interface Props$P {
7876
- functionName: string;
8187
+ interface Props$T {
7877
8188
  functionDescription: FunctionDescription;
7878
- argToFocus: number;
8189
+ argsToFocus: number[];
7879
8190
  }
7880
- declare class FunctionDescriptionProvider extends Component<Props$P, SpreadsheetChildEnv> {
8191
+ declare class FunctionDescriptionProvider extends Component<Props$T, SpreadsheetChildEnv> {
7881
8192
  static template: string;
7882
8193
  static props: {
7883
- functionName: StringConstructor;
7884
8194
  functionDescription: ObjectConstructor;
7885
- argToFocus: NumberConstructor;
8195
+ argsToFocus: ArrayConstructor;
8196
+ };
8197
+ static components: {
8198
+ Collapse: typeof Collapse;
7886
8199
  };
7887
- getContext(): Props$P;
8200
+ private state;
8201
+ toggle(): void;
8202
+ getContext(): Props$T;
7888
8203
  get formulaArgSeparator(): string;
7889
8204
  }
7890
8205
 
8206
+ interface Props$S {
8207
+ anchorRect: Rect;
8208
+ content: string;
8209
+ }
8210
+ declare class SpeechBubble extends Component<Props$S, SpreadsheetChildEnv> {
8211
+ static template: string;
8212
+ static props: {
8213
+ content: StringConstructor;
8214
+ anchorRect: ObjectConstructor;
8215
+ };
8216
+ static components: {
8217
+ Popover: typeof Popover;
8218
+ };
8219
+ private spreadsheetRect;
8220
+ private bubbleRef;
8221
+ setup(): void;
8222
+ }
8223
+
7891
8224
  declare const tokenColors: {
7892
8225
  readonly OPERATOR: "#3da4ab";
7893
8226
  readonly NUMBER: "#02c39a";
@@ -7904,7 +8237,7 @@ interface ComposerSelection {
7904
8237
  end: number;
7905
8238
  }
7906
8239
  declare abstract class AbstractComposerStore extends SpreadsheetStore {
7907
- mutators: readonly ["startEdition", "setCurrentContent", "stopEdition", "stopComposerRangeSelection", "cancelEdition", "cycleReferences", "toggleEditionMode", "changeComposerCursorSelection", "replaceComposerCursorSelection"];
8240
+ mutators: readonly ["startEdition", "setCurrentContent", "stopEdition", "stopComposerRangeSelection", "cancelEdition", "cycleReferences", "toggleEditionMode", "changeComposerCursorSelection", "replaceComposerCursorSelection", "hoverToken"];
7908
8241
  protected col: HeaderIndex;
7909
8242
  protected row: HeaderIndex;
7910
8243
  editionMode: EditionMode;
@@ -7915,6 +8248,8 @@ declare abstract class AbstractComposerStore extends SpreadsheetStore {
7915
8248
  protected selectionEnd: number;
7916
8249
  protected initialContent: string | undefined;
7917
8250
  private colorIndexByRange;
8251
+ hoveredTokens: EnrichedToken[];
8252
+ hoveredContentEvaluation: string;
7918
8253
  protected notificationStore: {
7919
8254
  readonly notifyUser: (notification: InformationNotification) => void;
7920
8255
  readonly raiseError: (text: string, callback?: (() => void) | undefined) => void;
@@ -7945,6 +8280,10 @@ declare abstract class AbstractComposerStore extends SpreadsheetStore {
7945
8280
  get tokenAtCursor(): EnrichedToken | undefined;
7946
8281
  cycleReferences(): void;
7947
8282
  toggleEditionMode(): void;
8283
+ hoverToken(tokenIndex: number | undefined): void;
8284
+ private getRelatedTokens;
8285
+ private evaluationResultToDisplayString;
8286
+ private cellValueToDisplayString;
7948
8287
  private captureSelection;
7949
8288
  private isSelectionValid;
7950
8289
  /**
@@ -8021,6 +8360,7 @@ declare abstract class AbstractComposerStore extends SpreadsheetStore {
8021
8360
  * - Previous and next tokens can be separated by spaces
8022
8361
  */
8023
8362
  private canStartComposerRangeSelection;
8363
+ private getNumberOfMissingParenthesis;
8024
8364
  }
8025
8365
 
8026
8366
  declare class CellComposerStore extends AbstractComposerStore {
@@ -8042,8 +8382,10 @@ declare class CellComposerStore extends AbstractComposerStore {
8042
8382
 
8043
8383
  type HtmlContent = {
8044
8384
  value: string;
8385
+ onHover?: (rect: Rect) => void;
8386
+ onStopHover?: () => void;
8045
8387
  color?: Color;
8046
- class?: string;
8388
+ classes?: string[];
8047
8389
  };
8048
8390
  interface CellComposerProps {
8049
8391
  focus: ComposerFocusType;
@@ -8060,12 +8402,12 @@ interface CellComposerProps {
8060
8402
  interface ComposerState {
8061
8403
  positionStart: number;
8062
8404
  positionEnd: number;
8405
+ hoveredRect: Rect | undefined;
8063
8406
  }
8064
8407
  interface FunctionDescriptionState {
8065
8408
  showDescription: boolean;
8066
- functionName: string;
8067
8409
  functionDescription: FunctionDescription;
8068
- argToFocus: number;
8410
+ argsToFocus: number[];
8069
8411
  }
8070
8412
  declare class Composer extends Component<CellComposerProps, SpreadsheetChildEnv> {
8071
8413
  static template: string;
@@ -8107,6 +8449,7 @@ declare class Composer extends Component<CellComposerProps, SpreadsheetChildEnv>
8107
8449
  static components: {
8108
8450
  TextValueProvider: typeof TextValueProvider;
8109
8451
  FunctionDescriptionProvider: typeof FunctionDescriptionProvider;
8452
+ SpeechBubble: typeof SpeechBubble;
8110
8453
  };
8111
8454
  static defaultProps: {
8112
8455
  inputStyle: string;
@@ -8125,6 +8468,8 @@ declare class Composer extends Component<CellComposerProps, SpreadsheetChildEnv>
8125
8468
  };
8126
8469
  private compositionActive;
8127
8470
  private spreadsheetRect;
8471
+ private lastHoveredTokenIndex;
8472
+ private debouncedHover;
8128
8473
  get assistantStyleProperties(): CSSProperties;
8129
8474
  get assistantStyle(): string;
8130
8475
  get assistantContainerStyle(): string;
@@ -8163,17 +8508,20 @@ declare class Composer extends Component<CellComposerProps, SpreadsheetChildEnv>
8163
8508
  * processContent.
8164
8509
  */
8165
8510
  onMousedown(ev: MouseEvent): void;
8511
+ onMouseup(): void;
8166
8512
  onClick(): void;
8167
8513
  onDblClick(): void;
8168
8514
  onContextMenu(ev: MouseEvent): void;
8169
8515
  closeAssistant(): void;
8170
8516
  openAssistant(): void;
8517
+ onWheel(event: WheelEvent): void;
8171
8518
  private processContent;
8172
8519
  /**
8173
8520
  * Get the HTML content corresponding to the current composer token, divided by lines.
8174
8521
  */
8175
8522
  private getContentLines;
8176
8523
  private getHtmlContentFromTokens;
8524
+ private onTokenHover;
8177
8525
  /**
8178
8526
  * Split an array of HTMLContents into lines. Each NEWLINE character encountered will create a new
8179
8527
  * line. Contents can be split into multiple parts if they contain multiple NEWLINE characters.
@@ -8186,7 +8534,17 @@ declare class Composer extends Component<CellComposerProps, SpreadsheetChildEnv>
8186
8534
  * the autocomplete engine otherwise we initialize the formula assistant.
8187
8535
  */
8188
8536
  private processTokenAtCursor;
8537
+ /**
8538
+ * Compute the arguments to focus depending on the current value position.
8539
+ *
8540
+ * Normally, 'argTargeting' is used to compute the argument to focus, but in the composer,
8541
+ * we don't yet know how many arguments the user will supply.
8542
+ *
8543
+ * This function computes all the possible arguments to focus for different numbers of arguments supplied.
8544
+ */
8545
+ private getArgsToFocus;
8189
8546
  private autoComplete;
8547
+ get displaySpeechBubble(): boolean;
8190
8548
  }
8191
8549
 
8192
8550
  interface AutoCompleteProposal {
@@ -8287,7 +8645,7 @@ declare class MenuItemRegistry extends Registry<ActionSpec> {
8287
8645
  getMenuItems(): Action[];
8288
8646
  }
8289
8647
 
8290
- interface Props$O {
8648
+ interface Props$R {
8291
8649
  onConfirm: (content: string) => void;
8292
8650
  composerContent: string;
8293
8651
  defaultRangeSheetId: UID;
@@ -8299,7 +8657,7 @@ interface Props$O {
8299
8657
  invalid?: boolean;
8300
8658
  getContextualColoredSymbolToken?: (token: Token) => Color;
8301
8659
  }
8302
- declare class StandaloneComposer extends Component<Props$O, SpreadsheetChildEnv> {
8660
+ declare class StandaloneComposer extends Component<Props$R, SpreadsheetChildEnv> {
8303
8661
  static template: string;
8304
8662
  static props: {
8305
8663
  composerContent: {
@@ -8362,13 +8720,13 @@ interface PanelState {
8362
8720
  sectionRuleCancelledReasons?: CommandResult[];
8363
8721
  sectionRule: SectionRule;
8364
8722
  }
8365
- interface Props$N {
8723
+ interface Props$Q {
8366
8724
  figureId: UID;
8367
8725
  definition: GaugeChartDefinition;
8368
8726
  canUpdateChart: (figureID: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
8369
8727
  updateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
8370
8728
  }
8371
- declare class GaugeChartDesignPanel extends Component<Props$N, SpreadsheetChildEnv> {
8729
+ declare class GaugeChartDesignPanel extends Component<Props$Q, SpreadsheetChildEnv> {
8372
8730
  static template: string;
8373
8731
  static components: {
8374
8732
  SidePanelCollapsible: typeof SidePanelCollapsible;
@@ -8418,13 +8776,13 @@ declare class LineConfigPanel extends GenericChartConfigPanel {
8418
8776
  onUpdateCumulative(cumulative: boolean): void;
8419
8777
  }
8420
8778
 
8421
- interface Props$M {
8779
+ interface Props$P {
8422
8780
  figureId: UID;
8423
8781
  definition: ScorecardChartDefinition;
8424
8782
  canUpdateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
8425
8783
  updateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
8426
8784
  }
8427
- declare class ScorecardChartConfigPanel extends Component<Props$M, SpreadsheetChildEnv> {
8785
+ declare class ScorecardChartConfigPanel extends Component<Props$P, SpreadsheetChildEnv> {
8428
8786
  static template: string;
8429
8787
  static components: {
8430
8788
  SelectionInput: typeof SelectionInput;
@@ -8453,13 +8811,13 @@ declare class ScorecardChartConfigPanel extends Component<Props$M, SpreadsheetCh
8453
8811
  }
8454
8812
 
8455
8813
  type ColorPickerId = undefined | "backgroundColor" | "baselineColorUp" | "baselineColorDown";
8456
- interface Props$L {
8814
+ interface Props$O {
8457
8815
  figureId: UID;
8458
8816
  definition: ScorecardChartDefinition;
8459
8817
  canUpdateChart: (figureID: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
8460
8818
  updateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
8461
8819
  }
8462
- declare class ScorecardChartDesignPanel extends Component<Props$L, SpreadsheetChildEnv> {
8820
+ declare class ScorecardChartDesignPanel extends Component<Props$O, SpreadsheetChildEnv> {
8463
8821
  static template: string;
8464
8822
  static components: {
8465
8823
  GeneralDesignEditor: typeof GeneralDesignEditor;
@@ -8558,17 +8916,18 @@ declare class ComposerFocusStore extends SpreadsheetStore {
8558
8916
  private setComposerContent;
8559
8917
  }
8560
8918
 
8561
- interface Props$K {
8562
- figure: Figure;
8919
+ interface Props$N {
8920
+ figureUI: FigureUI;
8563
8921
  }
8564
- declare class ChartJsComponent extends Component<Props$K, SpreadsheetChildEnv> {
8922
+ declare class ChartJsComponent extends Component<Props$N, SpreadsheetChildEnv> {
8565
8923
  static template: string;
8566
8924
  static props: {
8567
- figure: ObjectConstructor;
8925
+ figureUI: ObjectConstructor;
8568
8926
  };
8569
8927
  private canvas;
8570
8928
  private chart?;
8571
8929
  private currentRuntime;
8930
+ private currentDevicePixelRatio;
8572
8931
  get background(): string;
8573
8932
  get canvasStyle(): string;
8574
8933
  get chartRuntime(): ChartJSRuntime;
@@ -8577,13 +8936,13 @@ declare class ChartJsComponent extends Component<Props$K, SpreadsheetChildEnv> {
8577
8936
  private updateChartJs;
8578
8937
  }
8579
8938
 
8580
- interface Props$J {
8581
- figure: Figure;
8939
+ interface Props$M {
8940
+ figureUI: FigureUI;
8582
8941
  }
8583
- declare class ScorecardChart$1 extends Component<Props$J, SpreadsheetChildEnv> {
8942
+ declare class ScorecardChart$1 extends Component<Props$M, SpreadsheetChildEnv> {
8584
8943
  static template: string;
8585
8944
  static props: {
8586
- figure: ObjectConstructor;
8945
+ figureUI: ObjectConstructor;
8587
8946
  };
8588
8947
  private canvas;
8589
8948
  get runtime(): ScorecardChartRuntime;
@@ -8593,8 +8952,9 @@ declare class ScorecardChart$1 extends Component<Props$J, SpreadsheetChildEnv> {
8593
8952
  }
8594
8953
 
8595
8954
  type MenuItemOrSeparator = Action | "separator";
8596
- interface Props$I {
8597
- position: DOMCoordinates;
8955
+ interface Props$L {
8956
+ anchorRect: Rect;
8957
+ popoverPositioning: PopoverPropsPosition;
8598
8958
  menuItems: Action[];
8599
8959
  depth: number;
8600
8960
  maxHeight?: Pixel;
@@ -8607,15 +8967,19 @@ interface Props$I {
8607
8967
  interface MenuState {
8608
8968
  isOpen: boolean;
8609
8969
  parentMenu?: Action;
8610
- position: null | DOMCoordinates;
8970
+ anchorRect: null | Rect;
8611
8971
  scrollOffset?: Pixel;
8612
8972
  menuItems: Action[];
8613
8973
  isHoveringChild?: boolean;
8614
8974
  }
8615
- declare class Menu extends Component<Props$I, SpreadsheetChildEnv> {
8975
+ declare class Menu extends Component<Props$L, SpreadsheetChildEnv> {
8616
8976
  static template: string;
8617
8977
  static props: {
8618
- position: ObjectConstructor;
8978
+ anchorRect: ObjectConstructor;
8979
+ popoverPositioning: {
8980
+ type: StringConstructor;
8981
+ optional: boolean;
8982
+ };
8619
8983
  menuItems: ArrayConstructor;
8620
8984
  depth: {
8621
8985
  type: NumberConstructor;
@@ -8649,6 +9013,7 @@ declare class Menu extends Component<Props$I, SpreadsheetChildEnv> {
8649
9013
  };
8650
9014
  static defaultProps: {
8651
9015
  depth: number;
9016
+ popoverPositioning: string;
8652
9017
  };
8653
9018
  private subMenu;
8654
9019
  private menuRef;
@@ -8657,7 +9022,7 @@ declare class Menu extends Component<Props$I, SpreadsheetChildEnv> {
8657
9022
  private openingTimeOut;
8658
9023
  setup(): void;
8659
9024
  get menuItemsAndSeparators(): MenuItemOrSeparator[];
8660
- get subMenuPosition(): DOMCoordinates;
9025
+ get subMenuAnchorRect(): Rect;
8661
9026
  get popoverProps(): PopoverProps;
8662
9027
  get childrenHaveIcon(): boolean;
8663
9028
  getIconName(menu: Action): string;
@@ -8688,17 +9053,17 @@ declare class Menu extends Component<Props$I, SpreadsheetChildEnv> {
8688
9053
  }
8689
9054
 
8690
9055
  type ResizeAnchor = "top left" | "top" | "top right" | "right" | "bottom right" | "bottom" | "bottom left" | "left";
8691
- interface Props$H {
8692
- figure: Figure;
9056
+ interface Props$K {
9057
+ figureUI: FigureUI;
8693
9058
  style: string;
8694
9059
  onFigureDeleted: () => void;
8695
9060
  onMouseDown: (ev: MouseEvent) => void;
8696
9061
  onClickAnchor(dirX: ResizeDirection, dirY: ResizeDirection, ev: MouseEvent): void;
8697
9062
  }
8698
- declare class FigureComponent extends Component<Props$H, SpreadsheetChildEnv> {
9063
+ declare class FigureComponent extends Component<Props$K, SpreadsheetChildEnv> {
8699
9064
  static template: string;
8700
9065
  static props: {
8701
- figure: ObjectConstructor;
9066
+ figureUI: ObjectConstructor;
8702
9067
  style: {
8703
9068
  type: StringConstructor;
8704
9069
  optional: boolean;
@@ -8739,19 +9104,20 @@ declare class FigureComponent extends Component<Props$H, SpreadsheetChildEnv> {
8739
9104
  clickAnchor(dirX: ResizeDirection, dirY: ResizeDirection, ev: MouseEvent): void;
8740
9105
  onMouseDown(ev: MouseEvent): void;
8741
9106
  onKeyDown(ev: KeyboardEvent): void;
9107
+ private postionInBoundary;
8742
9108
  onContextMenu(ev: MouseEvent): void;
8743
9109
  showMenu(): void;
8744
9110
  private openContextMenu;
8745
9111
  }
8746
9112
 
8747
- interface Props$G {
8748
- figure: Figure;
9113
+ interface Props$J {
9114
+ figureUI: FigureUI;
8749
9115
  onFigureDeleted: () => void;
8750
9116
  }
8751
- declare class ChartFigure extends Component<Props$G, SpreadsheetChildEnv> {
9117
+ declare class ChartFigure extends Component<Props$J, SpreadsheetChildEnv> {
8752
9118
  static template: string;
8753
9119
  static props: {
8754
- figure: ObjectConstructor;
9120
+ figureUI: ObjectConstructor;
8755
9121
  onFigureDeleted: FunctionConstructor;
8756
9122
  };
8757
9123
  static components: {};
@@ -8760,7 +9126,16 @@ declare class ChartFigure extends Component<Props$G, SpreadsheetChildEnv> {
8760
9126
  get chartComponent(): new (...args: any) => Component;
8761
9127
  }
8762
9128
 
8763
- interface Props$F {
9129
+ declare class DelayedHoveredCellStore extends SpreadsheetStore {
9130
+ mutators: readonly ["clear", "hover"];
9131
+ col: number | undefined;
9132
+ row: number | undefined;
9133
+ handle(cmd: Command): void;
9134
+ hover(position: Partial<Position$1>): void;
9135
+ clear(): void;
9136
+ }
9137
+
9138
+ interface Props$I {
8764
9139
  isVisible: boolean;
8765
9140
  position: Position;
8766
9141
  }
@@ -8772,18 +9147,24 @@ interface State$3 {
8772
9147
  position: Position;
8773
9148
  handler: boolean;
8774
9149
  }
8775
- declare class Autofill extends Component<Props$F, SpreadsheetChildEnv> {
9150
+ declare class Autofill extends Component<Props$I, SpreadsheetChildEnv> {
8776
9151
  static template: string;
8777
9152
  static props: {
8778
9153
  position: ObjectConstructor;
8779
9154
  isVisible: BooleanConstructor;
8780
9155
  };
8781
9156
  state: State$3;
9157
+ dragNDropGrid: {
9158
+ start: (initialPointerCoordinates: {
9159
+ clientX: number;
9160
+ clientY: number;
9161
+ }, onPointerMove: (col: HeaderIndex, row: HeaderIndex, ev: MouseEvent) => void, onPointerUp: () => void) => void;
9162
+ };
8782
9163
  get style(): string;
8783
9164
  get handlerStyle(): string;
8784
9165
  get styleNextValue(): string;
8785
9166
  getTooltip(): Tooltip | undefined;
8786
- onMouseDown(ev: MouseEvent): void;
9167
+ onMouseDown(ev: PointerEvent): void;
8787
9168
  onDblClick(): void;
8788
9169
  }
8789
9170
 
@@ -8806,7 +9187,7 @@ declare class ClientTag extends Component<ClientTagProps, SpreadsheetChildEnv> {
8806
9187
  get tagStyle(): string;
8807
9188
  }
8808
9189
 
8809
- interface Props$E {
9190
+ interface Props$H {
8810
9191
  gridDims: DOMDimension;
8811
9192
  onInputContextMenu: (event: MouseEvent) => void;
8812
9193
  }
@@ -8814,7 +9195,7 @@ interface Props$E {
8814
9195
  * This component is a composer which positions itself on the grid at the anchor cell.
8815
9196
  * It also applies the style of the cell to the composer input.
8816
9197
  */
8817
- declare class GridComposer extends Component<Props$E, SpreadsheetChildEnv> {
9198
+ declare class GridComposer extends Component<Props$H, SpreadsheetChildEnv> {
8818
9199
  static template: string;
8819
9200
  static props: {
8820
9201
  gridDims: ObjectConstructor;
@@ -8872,10 +9253,10 @@ declare class GridCellIcon extends Component<GridCellIconProps, SpreadsheetChild
8872
9253
  isPositionVisible(position: CellPosition): boolean;
8873
9254
  }
8874
9255
 
8875
- interface Props$D {
9256
+ interface Props$G {
8876
9257
  cellPosition: CellPosition;
8877
9258
  }
8878
- declare class DataValidationCheckbox extends Component<Props$D, SpreadsheetChildEnv> {
9259
+ declare class DataValidationCheckbox extends Component<Props$G, SpreadsheetChildEnv> {
8879
9260
  static template: string;
8880
9261
  static components: {
8881
9262
  Checkbox: typeof Checkbox;
@@ -8888,10 +9269,10 @@ declare class DataValidationCheckbox extends Component<Props$D, SpreadsheetChild
8888
9269
  get isDisabled(): boolean;
8889
9270
  }
8890
9271
 
8891
- interface Props$C {
9272
+ interface Props$F {
8892
9273
  cellPosition: CellPosition;
8893
9274
  }
8894
- declare class DataValidationListIcon extends Component<Props$C, SpreadsheetChildEnv> {
9275
+ declare class DataValidationListIcon extends Component<Props$F, SpreadsheetChildEnv> {
8895
9276
  static template: string;
8896
9277
  static props: {
8897
9278
  cellPosition: ObjectConstructor;
@@ -8921,12 +9302,12 @@ interface SnapLine<T extends HFigureAxisType | VFigureAxisType> {
8921
9302
  }
8922
9303
 
8923
9304
  type ContainerType = "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "dnd";
8924
- interface Props$B {
9305
+ interface Props$E {
8925
9306
  onFigureDeleted: () => void;
8926
9307
  }
8927
9308
  interface Container {
8928
9309
  type: ContainerType;
8929
- figures: Figure[];
9310
+ figures: FigureUI[];
8930
9311
  style: string;
8931
9312
  inverseViewportStyle: string;
8932
9313
  }
@@ -8936,7 +9317,7 @@ interface Snap<T extends HFigureAxisType | VFigureAxisType> {
8936
9317
  containerStyle: string;
8937
9318
  }
8938
9319
  interface DndState {
8939
- draggedFigure?: Figure;
9320
+ draggedFigure?: FigureUI;
8940
9321
  horizontalSnap?: Snap<HFigureAxisType>;
8941
9322
  verticalSnap?: Snap<VFigureAxisType>;
8942
9323
  cancelDnd: (() => void) | undefined;
@@ -9001,7 +9382,7 @@ interface DndState {
9001
9382
  * that occurred during the drag & drop, and to position the figure on the correct pane.
9002
9383
  *
9003
9384
  */
9004
- declare class FiguresContainer extends Component<Props$B, SpreadsheetChildEnv> {
9385
+ declare class FiguresContainer extends Component<Props$E, SpreadsheetChildEnv> {
9005
9386
  static template: string;
9006
9387
  static props: {
9007
9388
  onFigureDeleted: FunctionConstructor;
@@ -9018,7 +9399,8 @@ declare class FiguresContainer extends Component<Props$B, SpreadsheetChildEnv> {
9018
9399
  private getContainerRect;
9019
9400
  private getInverseViewportPositionStyle;
9020
9401
  private getFigureContainer;
9021
- startDraggingFigure(figure: Figure, ev: MouseEvent): void;
9402
+ private toBottomRightViewport;
9403
+ startDraggingFigure(figureUI: FigureUI, ev: MouseEvent): void;
9022
9404
  /**
9023
9405
  * Initialize the resize of a figure with mouse movements
9024
9406
  *
@@ -9028,18 +9410,18 @@ declare class FiguresContainer extends Component<Props$B, SpreadsheetChildEnv> {
9028
9410
  * resize from the bottom border of the figure
9029
9411
  * @param ev Mouse Event
9030
9412
  */
9031
- startResize(figure: Figure, dirX: ResizeDirection, dirY: ResizeDirection, ev: MouseEvent): void;
9413
+ startResize(figureUI: FigureUI, dirX: ResizeDirection, dirY: ResizeDirection, ev: MouseEvent): void;
9032
9414
  private getOtherFigures;
9033
9415
  private getDndFigure;
9034
- getFigureStyle(figure: Figure): string;
9416
+ getFigureStyle(figureUI: FigureUI): string;
9035
9417
  private getSnap;
9036
9418
  private getSnapLineStyle;
9037
9419
  }
9038
9420
 
9039
- interface Props$A {
9421
+ interface Props$D {
9040
9422
  cellPosition: CellPosition;
9041
9423
  }
9042
- declare class FilterIcon extends Component<Props$A, SpreadsheetChildEnv> {
9424
+ declare class FilterIcon extends Component<Props$D, SpreadsheetChildEnv> {
9043
9425
  static template: string;
9044
9426
  static props: {
9045
9427
  cellPosition: ObjectConstructor;
@@ -9061,10 +9443,10 @@ declare class FilterIconsOverlay extends Component<{}, SpreadsheetChildEnv> {
9061
9443
  getFilterHeadersPositions(): CellPosition[];
9062
9444
  }
9063
9445
 
9064
- interface Props$z {
9446
+ interface Props$C {
9065
9447
  focusGrid: () => void;
9066
9448
  }
9067
- declare class GridAddRowsFooter extends Component<Props$z, SpreadsheetChildEnv> {
9449
+ declare class GridAddRowsFooter extends Component<Props$C, SpreadsheetChildEnv> {
9068
9450
  static template: string;
9069
9451
  static props: {
9070
9452
  focusGrid: FunctionConstructor;
@@ -9088,23 +9470,18 @@ declare class GridAddRowsFooter extends Component<Props$z, SpreadsheetChildEnv>
9088
9470
  private onExternalClick;
9089
9471
  }
9090
9472
 
9091
- interface Props$y {
9092
- onCellHovered: (position: Partial<Position$1>) => void;
9473
+ interface Props$B {
9093
9474
  onCellDoubleClicked: (col: HeaderIndex, row: HeaderIndex) => void;
9094
- onCellClicked: (col: HeaderIndex, row: HeaderIndex, modifiers: GridClickModifiers) => void;
9475
+ onCellClicked: (col: HeaderIndex, row: HeaderIndex, modifiers: GridClickModifiers, ev: MouseEvent) => void;
9095
9476
  onCellRightClicked: (col: HeaderIndex, row: HeaderIndex, coordinates: DOMCoordinates) => void;
9096
9477
  onGridResized: (dimension: Rect) => void;
9097
9478
  onGridMoved: (deltaX: Pixel, deltaY: Pixel) => void;
9098
9479
  gridOverlayDimensions: string;
9099
9480
  onFigureDeleted: () => void;
9100
9481
  }
9101
- declare class GridOverlay extends Component<Props$y, SpreadsheetChildEnv> {
9482
+ declare class GridOverlay extends Component<Props$B, SpreadsheetChildEnv> {
9102
9483
  static template: string;
9103
9484
  static props: {
9104
- onCellHovered: {
9105
- type: FunctionConstructor;
9106
- optional: boolean;
9107
- };
9108
9485
  onCellDoubleClicked: {
9109
9486
  type: FunctionConstructor;
9110
9487
  optional: boolean;
@@ -9127,6 +9504,10 @@ declare class GridOverlay extends Component<Props$y, SpreadsheetChildEnv> {
9127
9504
  };
9128
9505
  onGridMoved: FunctionConstructor;
9129
9506
  gridOverlayDimensions: StringConstructor;
9507
+ slots: {
9508
+ type: ObjectConstructor;
9509
+ optional: boolean;
9510
+ };
9130
9511
  };
9131
9512
  static components: {
9132
9513
  FiguresContainer: typeof FiguresContainer;
@@ -9135,7 +9516,6 @@ declare class GridOverlay extends Component<Props$y, SpreadsheetChildEnv> {
9135
9516
  FilterIconsOverlay: typeof FilterIconsOverlay;
9136
9517
  };
9137
9518
  static defaultProps: {
9138
- onCellHovered: () => void;
9139
9519
  onCellDoubleClicked: () => void;
9140
9520
  onCellClicked: () => void;
9141
9521
  onCellRightClicked: () => void;
@@ -9156,12 +9536,12 @@ declare class GridOverlay extends Component<Props$y, SpreadsheetChildEnv> {
9156
9536
  private getCartesianCoordinates;
9157
9537
  }
9158
9538
 
9159
- interface Props$x {
9539
+ interface Props$A {
9160
9540
  gridRect: Rect;
9161
9541
  onClosePopover: () => void;
9162
9542
  onMouseWheel: (ev: WheelEvent) => void;
9163
9543
  }
9164
- declare class GridPopover extends Component<Props$x, SpreadsheetChildEnv> {
9544
+ declare class GridPopover extends Component<Props$A, SpreadsheetChildEnv> {
9165
9545
  static template: string;
9166
9546
  static props: {
9167
9547
  onClosePopover: FunctionConstructor;
@@ -9177,7 +9557,7 @@ declare class GridPopover extends Component<Props$x, SpreadsheetChildEnv> {
9177
9557
  get cellPopover(): PositionedCellPopoverComponent | ClosedCellPopover;
9178
9558
  }
9179
9559
 
9180
- interface Props$w {
9560
+ interface Props$z {
9181
9561
  headersGroups: ConsecutiveIndexes[];
9182
9562
  offset: number;
9183
9563
  headerRange: {
@@ -9185,7 +9565,7 @@ interface Props$w {
9185
9565
  end: HeaderIndex;
9186
9566
  };
9187
9567
  }
9188
- declare class UnhideRowHeaders extends Component<Props$w, SpreadsheetChildEnv> {
9568
+ declare class UnhideRowHeaders extends Component<Props$z, SpreadsheetChildEnv> {
9189
9569
  static template: string;
9190
9570
  static props: {
9191
9571
  headersGroups: ArrayConstructor;
@@ -9204,7 +9584,7 @@ declare class UnhideRowHeaders extends Component<Props$w, SpreadsheetChildEnv> {
9204
9584
  unhide(hiddenElements: HeaderIndex[]): void;
9205
9585
  isVisible(header: HeaderIndex): boolean;
9206
9586
  }
9207
- declare class UnhideColumnHeaders extends Component<Props$w, SpreadsheetChildEnv> {
9587
+ declare class UnhideColumnHeaders extends Component<Props$z, SpreadsheetChildEnv> {
9208
9588
  static template: string;
9209
9589
  static props: {
9210
9590
  headersGroups: ArrayConstructor;
@@ -9251,6 +9631,12 @@ declare abstract class AbstractResizer extends Component<ResizerProps, Spreadshe
9251
9631
  MIN_ELEMENT_SIZE: number;
9252
9632
  lastSelectedElementIndex: HeaderIndex | null;
9253
9633
  state: ResizerState;
9634
+ dragNDropGrid: {
9635
+ start: (initialPointerCoordinates: {
9636
+ clientX: number;
9637
+ clientY: number;
9638
+ }, onPointerMove: (col: HeaderIndex, row: HeaderIndex, ev: MouseEvent) => void, onPointerUp: () => void) => void;
9639
+ };
9254
9640
  abstract _getEvOffset(ev: MouseEvent): Pixel;
9255
9641
  abstract _getViewportOffset(): Pixel;
9256
9642
  abstract _getClientPosition(ev: MouseEvent): Pixel;
@@ -9276,7 +9662,7 @@ declare abstract class AbstractResizer extends Component<ResizerProps, Spreadshe
9276
9662
  onMouseLeave(): void;
9277
9663
  onDblClick(ev: MouseEvent): void;
9278
9664
  onMouseDown(ev: MouseEvent): void;
9279
- select(ev: MouseEvent): void;
9665
+ select(ev: PointerEvent): void;
9280
9666
  private startMovement;
9281
9667
  private startSelection;
9282
9668
  onMouseUp(ev: MouseEvent): void;
@@ -9390,13 +9776,13 @@ declare class HeadersOverlay extends Component<any, SpreadsheetChildEnv> {
9390
9776
  }
9391
9777
 
9392
9778
  type Orientation$1 = "n" | "s" | "w" | "e";
9393
- interface Props$v {
9779
+ interface Props$y {
9394
9780
  zone: Zone;
9395
9781
  orientation: Orientation$1;
9396
9782
  isMoving: boolean;
9397
- onMoveHighlight: (x: Pixel, y: Pixel) => void;
9783
+ onMoveHighlight: (ev: PointerEvent) => void;
9398
9784
  }
9399
- declare class Border extends Component<Props$v, SpreadsheetChildEnv> {
9785
+ declare class Border extends Component<Props$y, SpreadsheetChildEnv> {
9400
9786
  static template: string;
9401
9787
  static props: {
9402
9788
  zone: ObjectConstructor;
@@ -9405,18 +9791,18 @@ declare class Border extends Component<Props$v, SpreadsheetChildEnv> {
9405
9791
  onMoveHighlight: FunctionConstructor;
9406
9792
  };
9407
9793
  get style(): string;
9408
- onMouseDown(ev: MouseEvent): void;
9794
+ onMouseDown(ev: PointerEvent): void;
9409
9795
  }
9410
9796
 
9411
9797
  type Orientation = "nw" | "ne" | "sw" | "se";
9412
- interface Props$u {
9798
+ interface Props$x {
9413
9799
  zone: Zone;
9414
9800
  color: Color;
9415
9801
  orientation: Orientation;
9416
9802
  isResizing: boolean;
9417
- onResizeHighlight: (isLeft: boolean, isRight: boolean) => void;
9803
+ onResizeHighlight: (ev: PointerEvent, isLeft: boolean, isTop: boolean) => void;
9418
9804
  }
9419
- declare class Corner extends Component<Props$u, SpreadsheetChildEnv> {
9805
+ declare class Corner extends Component<Props$x, SpreadsheetChildEnv> {
9420
9806
  static template: string;
9421
9807
  static props: {
9422
9808
  zone: ObjectConstructor;
@@ -9428,17 +9814,17 @@ declare class Corner extends Component<Props$u, SpreadsheetChildEnv> {
9428
9814
  private isTop;
9429
9815
  private isLeft;
9430
9816
  get style(): string;
9431
- onMouseDown(ev: MouseEvent): void;
9817
+ onMouseDown(ev: PointerEvent): void;
9432
9818
  }
9433
9819
 
9434
- interface Props$t {
9820
+ interface Props$w {
9435
9821
  zone: Zone;
9436
9822
  color: Color;
9437
9823
  }
9438
9824
  interface HighlightState {
9439
9825
  shiftingMode: "isMoving" | "isResizing" | "none";
9440
9826
  }
9441
- declare class Highlight extends Component<Props$t, SpreadsheetChildEnv> {
9827
+ declare class Highlight extends Component<Props$w, SpreadsheetChildEnv> {
9442
9828
  static template: string;
9443
9829
  static props: {
9444
9830
  zone: ObjectConstructor;
@@ -9449,13 +9835,19 @@ declare class Highlight extends Component<Props$t, SpreadsheetChildEnv> {
9449
9835
  Border: typeof Border;
9450
9836
  };
9451
9837
  highlightState: HighlightState;
9452
- onResizeHighlight(isLeft: boolean, isTop: boolean): void;
9453
- onMoveHighlight(clientX: Pixel, clientY: Pixel): void;
9838
+ dragNDropGrid: {
9839
+ start: (initialPointerCoordinates: {
9840
+ clientX: number;
9841
+ clientY: number;
9842
+ }, onPointerMove: (col: HeaderIndex, row: HeaderIndex, ev: MouseEvent) => void, onPointerUp: () => void) => void;
9843
+ };
9844
+ onResizeHighlight(ev: PointerEvent, isLeft: boolean, isTop: boolean): void;
9845
+ onMoveHighlight(ev: PointerEvent): void;
9454
9846
  }
9455
9847
 
9456
9848
  type ScrollDirection = "horizontal" | "vertical";
9457
9849
 
9458
- interface Props$s {
9850
+ interface Props$v {
9459
9851
  width: Pixel;
9460
9852
  height: Pixel;
9461
9853
  direction: ScrollDirection;
@@ -9463,7 +9855,7 @@ interface Props$s {
9463
9855
  offset: Pixel;
9464
9856
  onScroll: (offset: Pixel) => void;
9465
9857
  }
9466
- declare class ScrollBar extends Component<Props$s> {
9858
+ declare class ScrollBar extends Component<Props$v> {
9467
9859
  static props: {
9468
9860
  width: {
9469
9861
  type: NumberConstructor;
@@ -9491,10 +9883,10 @@ declare class ScrollBar extends Component<Props$s> {
9491
9883
  onScroll(ev: any): void;
9492
9884
  }
9493
9885
 
9494
- interface Props$r {
9886
+ interface Props$u {
9495
9887
  leftOffset: number;
9496
9888
  }
9497
- declare class HorizontalScrollBar extends Component<Props$r, SpreadsheetChildEnv> {
9889
+ declare class HorizontalScrollBar extends Component<Props$u, SpreadsheetChildEnv> {
9498
9890
  static props: {
9499
9891
  leftOffset: {
9500
9892
  type: NumberConstructor;
@@ -9520,10 +9912,10 @@ declare class HorizontalScrollBar extends Component<Props$r, SpreadsheetChildEnv
9520
9912
  onScroll(offset: any): void;
9521
9913
  }
9522
9914
 
9523
- interface Props$q {
9915
+ interface Props$t {
9524
9916
  topOffset: number;
9525
9917
  }
9526
- declare class VerticalScrollBar extends Component<Props$q, SpreadsheetChildEnv> {
9918
+ declare class VerticalScrollBar extends Component<Props$t, SpreadsheetChildEnv> {
9527
9919
  static props: {
9528
9920
  topOffset: {
9529
9921
  type: NumberConstructor;
@@ -9549,33 +9941,30 @@ declare class VerticalScrollBar extends Component<Props$q, SpreadsheetChildEnv>
9549
9941
  onScroll(offset: any): void;
9550
9942
  }
9551
9943
 
9552
- interface Props$p {
9944
+ interface Props$s {
9553
9945
  table: Table;
9554
9946
  }
9555
9947
  interface State$2 {
9556
9948
  highlightZone: Zone | undefined;
9557
9949
  }
9558
- declare class TableResizer extends Component<Props$p, SpreadsheetChildEnv> {
9950
+ declare class TableResizer extends Component<Props$s, SpreadsheetChildEnv> {
9559
9951
  static template: string;
9560
9952
  static props: {
9561
9953
  table: ObjectConstructor;
9562
9954
  };
9563
9955
  state: State$2;
9956
+ dragNDropGrid: {
9957
+ start: (initialPointerCoordinates: {
9958
+ clientX: number;
9959
+ clientY: number;
9960
+ }, onPointerMove: (col: HeaderIndex, row: HeaderIndex, ev: MouseEvent) => void, onPointerUp: () => void) => void;
9961
+ };
9564
9962
  setup(): void;
9565
9963
  get containerStyle(): string;
9566
- onMouseDown(ev: MouseEvent): void;
9964
+ onMouseDown(ev: PointerEvent): void;
9567
9965
  get highlights(): Highlight$1[];
9568
9966
  }
9569
9967
 
9570
- declare class HoveredCellStore extends SpreadsheetStore {
9571
- mutators: readonly ["clear", "hover"];
9572
- col: number | undefined;
9573
- row: number | undefined;
9574
- handle(cmd: Command): void;
9575
- hover(position: Position$1): void;
9576
- clear(): void;
9577
- }
9578
-
9579
9968
  /**
9580
9969
  * The Grid component is the main part of the spreadsheet UI. It is responsible
9581
9970
  * for displaying the actual grid, rendering it, managing events, ...
@@ -9587,10 +9976,10 @@ declare class HoveredCellStore extends SpreadsheetStore {
9587
9976
  * - a vertical resizer (same, for rows)
9588
9977
  */
9589
9978
  type ContextMenuType = "ROW" | "COL" | "CELL" | "FILTER" | "GROUP_HEADERS" | "UNGROUP_HEADERS";
9590
- interface Props$o {
9979
+ interface Props$r {
9591
9980
  exposeFocus: (focus: () => void) => void;
9592
9981
  }
9593
- declare class Grid extends Component<Props$o, SpreadsheetChildEnv> {
9982
+ declare class Grid extends Component<Props$r, SpreadsheetChildEnv> {
9594
9983
  static template: string;
9595
9984
  static props: {
9596
9985
  exposeFocus: FunctionConstructor;
@@ -9618,15 +10007,17 @@ declare class Grid extends Component<Props$o, SpreadsheetChildEnv> {
9618
10007
  private composerFocusStore;
9619
10008
  private DOMFocusableElementStore;
9620
10009
  private paintFormatStore;
10010
+ dragNDropGrid: {
10011
+ start: (initialPointerCoordinates: {
10012
+ clientX: number;
10013
+ clientY: number;
10014
+ }, onPointerMove: (col: HeaderIndex, row: HeaderIndex, ev: MouseEvent) => void, onPointerUp: () => void) => void;
10015
+ };
9621
10016
  onMouseWheel: (ev: WheelEvent) => void;
9622
10017
  canvasPosition: DOMCoordinates;
9623
- hoveredCell: Store<HoveredCellStore>;
10018
+ hoveredCell: Store<DelayedHoveredCellStore>;
9624
10019
  sidePanel: Store<SidePanelStore>;
9625
10020
  setup(): void;
9626
- onCellHovered({ col, row }: {
9627
- col: any;
9628
- row: any;
9629
- }): void;
9630
10021
  get highlights(): Highlight$1[];
9631
10022
  get gridOverlayDimensions(): string;
9632
10023
  onClosePopover(): void;
@@ -9643,7 +10034,7 @@ declare class Grid extends Component<Props$o, SpreadsheetChildEnv> {
9643
10034
  getClientPositionKey(client: Client): string;
9644
10035
  isCellHovered(col: HeaderIndex, row: HeaderIndex): boolean;
9645
10036
  private getGridRect;
9646
- onCellClicked(col: HeaderIndex, row: HeaderIndex, modifiers: GridClickModifiers): void;
10037
+ onCellClicked(col: HeaderIndex, row: HeaderIndex, modifiers: GridClickModifiers, ev: PointerEvent): void;
9647
10038
  onCellDoubleClicked(col: HeaderIndex, row: HeaderIndex): void;
9648
10039
  processArrows(ev: KeyboardEvent): void;
9649
10040
  onKeydown(ev: KeyboardEvent): void;
@@ -9699,7 +10090,7 @@ declare class MainChartPanelStore extends SpreadsheetStore {
9699
10090
  private getChartDefinitionFromContextCreation;
9700
10091
  }
9701
10092
 
9702
- interface Props$n {
10093
+ interface Props$q {
9703
10094
  figureId: UID;
9704
10095
  chartPanelStore: MainChartPanelStore;
9705
10096
  }
@@ -9707,7 +10098,7 @@ interface ChartTypePickerState {
9707
10098
  popoverProps: PopoverProps | undefined;
9708
10099
  popoverStyle: string;
9709
10100
  }
9710
- declare class ChartTypePicker extends Component<Props$n, SpreadsheetChildEnv> {
10101
+ declare class ChartTypePicker extends Component<Props$q, SpreadsheetChildEnv> {
9711
10102
  static template: string;
9712
10103
  static components: {
9713
10104
  Section: typeof Section;
@@ -9723,6 +10114,7 @@ declare class ChartTypePicker extends Component<Props$n, SpreadsheetChildEnv> {
9723
10114
  bar: string;
9724
10115
  area: string;
9725
10116
  pie: string;
10117
+ hierarchical: string;
9726
10118
  misc: string;
9727
10119
  };
9728
10120
  chartTypeByCategories: Record<string, ChartSubtypeProperties[]>;
@@ -9742,11 +10134,11 @@ declare class ChartTypePicker extends Component<Props$n, SpreadsheetChildEnv> {
9742
10134
  private closePopover;
9743
10135
  }
9744
10136
 
9745
- interface Props$m {
10137
+ interface Props$p {
9746
10138
  onCloseSidePanel: () => void;
9747
10139
  figureId: UID;
9748
10140
  }
9749
- declare class ChartPanel extends Component<Props$m, SpreadsheetChildEnv> {
10141
+ declare class ChartPanel extends Component<Props$p, SpreadsheetChildEnv> {
9750
10142
  static template: string;
9751
10143
  static components: {
9752
10144
  Section: typeof Section;
@@ -9766,13 +10158,13 @@ declare class ChartPanel extends Component<Props$m, SpreadsheetChildEnv> {
9766
10158
  private getChartDefinition;
9767
10159
  }
9768
10160
 
9769
- interface Props$l {
10161
+ interface Props$o {
9770
10162
  figureId: UID;
9771
10163
  definition: PieChartDefinition;
9772
10164
  canUpdateChart: (figureID: UID, definition: GenericDefinition<PieChartDefinition>) => DispatchResult;
9773
10165
  updateChart: (figureId: UID, definition: GenericDefinition<PieChartDefinition>) => DispatchResult;
9774
10166
  }
9775
- declare class PieChartDesignPanel extends Component<Props$l, SpreadsheetChildEnv> {
10167
+ declare class PieChartDesignPanel extends Component<Props$o, SpreadsheetChildEnv> {
9776
10168
  static template: string;
9777
10169
  static components: {
9778
10170
  GeneralDesignEditor: typeof GeneralDesignEditor;
@@ -9791,10 +10183,10 @@ declare class PieChartDesignPanel extends Component<Props$l, SpreadsheetChildEnv
9791
10183
  };
9792
10184
  }
9793
10185
 
9794
- interface Props$k {
10186
+ interface Props$n {
9795
10187
  items: ActionSpec[];
9796
10188
  }
9797
- declare class CogWheelMenu extends Component<Props$k, SpreadsheetChildEnv> {
10189
+ declare class CogWheelMenu extends Component<Props$n, SpreadsheetChildEnv> {
9798
10190
  static template: string;
9799
10191
  static components: {
9800
10192
  Menu: typeof Menu;
@@ -9877,14 +10269,14 @@ declare class FindAndReplaceStore extends SpreadsheetStore implements HighlightP
9877
10269
  get highlights(): Highlight$1[];
9878
10270
  }
9879
10271
 
9880
- interface Props$j {
10272
+ interface Props$m {
9881
10273
  deferUpdate: boolean;
9882
10274
  isDirty: boolean;
9883
10275
  toggleDeferUpdate: (value: boolean) => void;
9884
10276
  discard: () => void;
9885
10277
  apply: () => void;
9886
10278
  }
9887
- declare class PivotDeferUpdate extends Component<Props$j, SpreadsheetChildEnv> {
10279
+ declare class PivotDeferUpdate extends Component<Props$m, SpreadsheetChildEnv> {
9888
10280
  static template: string;
9889
10281
  static props: {
9890
10282
  deferUpdate: BooleanConstructor;
@@ -9901,11 +10293,11 @@ declare class PivotDeferUpdate extends Component<Props$j, SpreadsheetChildEnv> {
9901
10293
  get deferUpdatesTooltip(): string;
9902
10294
  }
9903
10295
 
9904
- interface Props$i {
10296
+ interface Props$l {
9905
10297
  onFieldPicked: (field: string) => void;
9906
10298
  fields: PivotField[];
9907
10299
  }
9908
- declare class AddDimensionButton extends Component<Props$i, SpreadsheetChildEnv> {
10300
+ declare class AddDimensionButton extends Component<Props$l, SpreadsheetChildEnv> {
9909
10301
  static template: string;
9910
10302
  static components: {
9911
10303
  Popover: typeof Popover;
@@ -9941,7 +10333,7 @@ declare class AddDimensionButton extends Component<Props$i, SpreadsheetChildEnv>
9941
10333
  onKeyDown(ev: KeyboardEvent): void;
9942
10334
  }
9943
10335
 
9944
- interface Props$h {
10336
+ interface Props$k {
9945
10337
  value: string;
9946
10338
  onChange: (value: string) => void;
9947
10339
  class?: string;
@@ -9949,7 +10341,7 @@ interface Props$h {
9949
10341
  placeholder?: string;
9950
10342
  autofocus?: boolean;
9951
10343
  }
9952
- declare class TextInput extends Component<Props$h, SpreadsheetChildEnv> {
10344
+ declare class TextInput extends Component<Props$k, SpreadsheetChildEnv> {
9953
10345
  static template: string;
9954
10346
  static props: {
9955
10347
  value: StringConstructor;
@@ -9979,13 +10371,13 @@ declare class TextInput extends Component<Props$h, SpreadsheetChildEnv> {
9979
10371
  onMouseUp(ev: MouseEvent): void;
9980
10372
  }
9981
10373
 
9982
- interface Props$g {
10374
+ interface Props$j {
9983
10375
  dimension: PivotCoreDimension | PivotCoreMeasure;
9984
10376
  onRemoved: (dimension: PivotCoreDimension | PivotCoreMeasure) => void;
9985
10377
  onNameUpdated?: (dimension: PivotCoreDimension | PivotCoreMeasure, name?: string) => void;
9986
10378
  type: "row" | "col" | "measure";
9987
10379
  }
9988
- declare class PivotDimension extends Component<Props$g, SpreadsheetChildEnv> {
10380
+ declare class PivotDimension extends Component<Props$j, SpreadsheetChildEnv> {
9989
10381
  static template: string;
9990
10382
  static props: {
9991
10383
  dimension: ObjectConstructor;
@@ -10009,13 +10401,13 @@ declare class PivotDimension extends Component<Props$g, SpreadsheetChildEnv> {
10009
10401
  updateName(name: string): void;
10010
10402
  }
10011
10403
 
10012
- interface Props$f {
10404
+ interface Props$i {
10013
10405
  dimension: PivotDimension$1;
10014
10406
  onUpdated: (dimension: PivotDimension$1, ev: InputEvent) => void;
10015
10407
  availableGranularities: Set<string>;
10016
10408
  allGranularities: string[];
10017
10409
  }
10018
- declare class PivotDimensionGranularity extends Component<Props$f, SpreadsheetChildEnv> {
10410
+ declare class PivotDimensionGranularity extends Component<Props$i, SpreadsheetChildEnv> {
10019
10411
  static template: string;
10020
10412
  static props: {
10021
10413
  dimension: ObjectConstructor;
@@ -10040,11 +10432,11 @@ declare class PivotDimensionGranularity extends Component<Props$f, SpreadsheetCh
10040
10432
  };
10041
10433
  }
10042
10434
 
10043
- interface Props$e {
10435
+ interface Props$h {
10044
10436
  dimension: PivotDimension$1;
10045
10437
  onUpdated: (dimension: PivotDimension$1, ev: InputEvent) => void;
10046
10438
  }
10047
- declare class PivotDimensionOrder extends Component<Props$e, SpreadsheetChildEnv> {
10439
+ declare class PivotDimensionOrder extends Component<Props$h, SpreadsheetChildEnv> {
10048
10440
  static template: string;
10049
10441
  static props: {
10050
10442
  dimension: ObjectConstructor;
@@ -10078,8 +10470,9 @@ declare function createPivotFormula(formulaId: string, cell: PivotTableCell): st
10078
10470
  * the two group values are "42" and "won".
10079
10471
  */
10080
10472
  declare function toNormalizedPivotValue(dimension: Pick<PivotDimension$1, "type" | "displayName" | "granularity">, groupValue: any): CellValue;
10473
+ declare function toFunctionPivotValue(value: CellValue, dimension: Pick<PivotDimension$1, "type" | "granularity">): string;
10081
10474
 
10082
- interface Props$d {
10475
+ interface Props$g {
10083
10476
  pivotId: string;
10084
10477
  definition: PivotRuntimeDefinition;
10085
10478
  measure: PivotMeasure;
@@ -10087,7 +10480,7 @@ interface Props$d {
10087
10480
  onRemoved: () => void;
10088
10481
  generateMeasureId: (fieldName: string, aggregator?: string) => string;
10089
10482
  }
10090
- declare class PivotMeasureEditor extends Component<Props$d> {
10483
+ declare class PivotMeasureEditor extends Component<Props$g> {
10091
10484
  static template: string;
10092
10485
  static components: {
10093
10486
  PivotDimension: typeof PivotDimension;
@@ -10111,11 +10504,11 @@ declare class PivotMeasureEditor extends Component<Props$d> {
10111
10504
  getColoredSymbolToken(token: Token): Color | undefined;
10112
10505
  }
10113
10506
 
10114
- interface Props$c {
10507
+ interface Props$f {
10115
10508
  definition: PivotRuntimeDefinition;
10116
10509
  pivotId: UID;
10117
10510
  }
10118
- declare class PivotSortSection extends Component<Props$c, SpreadsheetChildEnv> {
10511
+ declare class PivotSortSection extends Component<Props$f, SpreadsheetChildEnv> {
10119
10512
  static template: string;
10120
10513
  static components: {
10121
10514
  Section: typeof Section;
@@ -10132,7 +10525,7 @@ declare class PivotSortSection extends Component<Props$c, SpreadsheetChildEnv> {
10132
10525
  }[];
10133
10526
  }
10134
10527
 
10135
- interface Props$b {
10528
+ interface Props$e {
10136
10529
  definition: PivotRuntimeDefinition;
10137
10530
  onDimensionsUpdated: (definition: Partial<PivotCoreDefinition>) => void;
10138
10531
  unusedGroupableFields: PivotField[];
@@ -10143,7 +10536,7 @@ interface Props$b {
10143
10536
  getScrollableContainerEl?: () => HTMLElement;
10144
10537
  pivotId: UID;
10145
10538
  }
10146
- declare class PivotLayoutConfigurator extends Component<Props$b, SpreadsheetChildEnv> {
10539
+ declare class PivotLayoutConfigurator extends Component<Props$e, SpreadsheetChildEnv> {
10147
10540
  static template: string;
10148
10541
  static components: {
10149
10542
  AddDimensionButton: typeof AddDimensionButton;
@@ -10233,11 +10626,11 @@ declare class PivotSidePanelStore extends SpreadsheetStore {
10233
10626
  private shouldKeepSortedColumn;
10234
10627
  }
10235
10628
 
10236
- interface Props$a {
10629
+ interface Props$d {
10237
10630
  pivotId: UID;
10238
10631
  flipAxis: () => void;
10239
10632
  }
10240
- declare class PivotTitleSection extends Component<Props$a, SpreadsheetChildEnv> {
10633
+ declare class PivotTitleSection extends Component<Props$d, SpreadsheetChildEnv> {
10241
10634
  static template: string;
10242
10635
  static components: {
10243
10636
  CogWheelMenu: typeof CogWheelMenu;
@@ -10268,7 +10661,8 @@ declare const CellErrorType: {
10268
10661
  readonly NullError: "#NULL!";
10269
10662
  };
10270
10663
  type ErrorValue = (typeof CellErrorType)[keyof typeof CellErrorType];
10271
- declare class EvaluationError extends Error {
10664
+ declare class EvaluationError {
10665
+ readonly message: string;
10272
10666
  readonly value: string;
10273
10667
  constructor(message?: string, value?: string);
10274
10668
  }
@@ -10338,13 +10732,13 @@ declare function getFirstPivotFunction(tokens: Token[]): {
10338
10732
  */
10339
10733
  declare function getNumberOfPivotFunctions(tokens: Token[]): number;
10340
10734
 
10341
- interface Props$9 {
10735
+ interface Props$c {
10342
10736
  figureId: UID;
10343
10737
  definition: ComboChartDefinition;
10344
10738
  canUpdateChart: (figureID: UID, definition: GenericDefinition<ComboChartDefinition>) => DispatchResult;
10345
10739
  updateChart: (figureId: UID, definition: GenericDefinition<ComboChartDefinition>) => DispatchResult;
10346
10740
  }
10347
- declare class ComboChartDesignPanel extends ChartWithAxisDesignPanel<Props$9> {
10741
+ declare class ComboChartDesignPanel extends ChartWithAxisDesignPanel<Props$c> {
10348
10742
  static template: string;
10349
10743
  static components: {
10350
10744
  RadioSelection: typeof RadioSelection;
@@ -10364,6 +10758,84 @@ declare class ComboChartDesignPanel extends ChartWithAxisDesignPanel<Props$9> {
10364
10758
  getDataSeriesType(index: number): "line" | "bar";
10365
10759
  }
10366
10760
 
10761
+ interface Props$b {
10762
+ figureId: UID;
10763
+ definition: FunnelChartDefinition;
10764
+ canUpdateChart: (figureID: UID, definition: Partial<FunnelChartDefinition>) => DispatchResult;
10765
+ updateChart: (figureId: UID, definition: Partial<FunnelChartDefinition>) => DispatchResult;
10766
+ }
10767
+ declare class FunnelChartDesignPanel extends Component<Props$b, SpreadsheetChildEnv> {
10768
+ static template: string;
10769
+ static components: {
10770
+ GeneralDesignEditor: typeof GeneralDesignEditor;
10771
+ SidePanelCollapsible: typeof SidePanelCollapsible;
10772
+ RoundColorPicker: typeof RoundColorPicker;
10773
+ Section: typeof Section;
10774
+ Checkbox: typeof Checkbox;
10775
+ };
10776
+ static props: {
10777
+ figureId: StringConstructor;
10778
+ definition: ObjectConstructor;
10779
+ updateChart: FunctionConstructor;
10780
+ canUpdateChart: FunctionConstructor;
10781
+ };
10782
+ getFunnelColorItems(): {
10783
+ label: string;
10784
+ color: Color;
10785
+ }[];
10786
+ updateFunnelItemColor(index: number, color: string): void;
10787
+ }
10788
+
10789
+ interface Props$a {
10790
+ figureId: UID;
10791
+ definition: GeoChartDefinition;
10792
+ canUpdateChart: (figureID: UID, definition: Partial<GeoChartDefinition>) => DispatchResult;
10793
+ updateChart: (figureId: UID, definition: Partial<GeoChartDefinition>) => DispatchResult;
10794
+ }
10795
+ declare class GeoChartDesignPanel extends ChartWithAxisDesignPanel<Props$a> {
10796
+ static template: string;
10797
+ static components: {
10798
+ RoundColorPicker: typeof RoundColorPicker;
10799
+ GeneralDesignEditor: typeof GeneralDesignEditor;
10800
+ SidePanelCollapsible: typeof SidePanelCollapsible;
10801
+ Section: typeof Section;
10802
+ AxisDesignEditor: typeof AxisDesignEditor;
10803
+ Checkbox: typeof Checkbox;
10804
+ SeriesWithAxisDesignEditor: typeof SeriesWithAxisDesignEditor;
10805
+ ChartLegend: typeof ChartLegend;
10806
+ };
10807
+ colorScalesChoices: Record<"blues" | "cividis" | "greens" | "greys" | "oranges" | "purples" | "rainbow" | "reds" | "viridis", string>;
10808
+ updateColorScaleType(ev: Event): void;
10809
+ updateColorScale(colorScale: GeoChartColorScale): void;
10810
+ updateMissingValueColor(color: Color): void;
10811
+ updateLegendPosition(ev: Event): void;
10812
+ get selectedColorScale(): "custom" | "blues" | "cividis" | "greens" | "greys" | "oranges" | "purples" | "rainbow" | "reds" | "viridis";
10813
+ get selectedMissingValueColor(): Color | "#ffffff";
10814
+ get customColorScale(): GeoChartCustomColorScale | undefined;
10815
+ getCustomColorScaleColor(color: "minColor" | "midColor" | "maxColor"): "" | Color;
10816
+ setCustomColorScaleColor(colorType: "minColor" | "midColor" | "maxColor", color: Color): void;
10817
+ }
10818
+
10819
+ interface Props$9 {
10820
+ figureId: UID;
10821
+ definition: GeoChartDefinition;
10822
+ updateChart: (figureId: UID, definition: Partial<GeoChartDefinition>) => DispatchResult;
10823
+ }
10824
+ declare class GeoChartRegionSelectSection extends Component<Props$9, SpreadsheetChildEnv> {
10825
+ static template: string;
10826
+ static components: {
10827
+ Section: typeof Section;
10828
+ };
10829
+ static props: {
10830
+ figureId: StringConstructor;
10831
+ definition: ObjectConstructor;
10832
+ updateChart: FunctionConstructor;
10833
+ };
10834
+ updateSelectedRegion(ev: Event): void;
10835
+ get availableRegions(): GeoChartRegion[];
10836
+ get selectedRegion(): string;
10837
+ }
10838
+
10367
10839
  interface Props$8 {
10368
10840
  figureId: UID;
10369
10841
  definition: RadarChartDefinition;
@@ -10461,6 +10933,30 @@ declare class PivotMeasureDisplayPanelStore extends SpreadsheetStore {
10461
10933
  cancelMeasureDisplayEdition(): void;
10462
10934
  }
10463
10935
 
10936
+ declare class PositionMap<T> {
10937
+ private map;
10938
+ constructor(entries?: Iterable<readonly [CellPosition, T]>);
10939
+ set({ sheetId, col, row }: CellPosition, value: T): void;
10940
+ get({ sheetId, col, row }: CellPosition): T | undefined;
10941
+ getSheet(sheetId: UID): Record<number, Record<number, T>> | undefined;
10942
+ has({ sheetId, col, row }: CellPosition): boolean;
10943
+ delete({ sheetId, col, row }: CellPosition): void;
10944
+ keys(): CellPosition[];
10945
+ keysForSheet(sheetId: UID): CellPosition[];
10946
+ entries(): IterableIterator<[CellPosition, T]>;
10947
+ }
10948
+
10949
+ declare class HoveredTableStore extends SpreadsheetStore {
10950
+ mutators: readonly ["clear", "hover"];
10951
+ col: number | undefined;
10952
+ row: number | undefined;
10953
+ overlayColors: PositionMap<Color>;
10954
+ handle(cmd: Command): void;
10955
+ hover(position: Partial<Position$1>): void;
10956
+ clear(): void;
10957
+ private computeOverlay;
10958
+ }
10959
+
10464
10960
  declare class BarChart extends AbstractChart {
10465
10961
  readonly dataSets: DataSet[];
10466
10962
  readonly labelRange?: Range | undefined;
@@ -10918,13 +11414,9 @@ declare class SpreadsheetDashboard extends Component<Props$3, SpreadsheetChildEn
10918
11414
  protected cellPopovers: Store<CellPopoverStore>;
10919
11415
  onMouseWheel: (ev: WheelEvent) => void;
10920
11416
  canvasPosition: DOMCoordinates;
10921
- hoveredCell: Store<HoveredCellStore>;
11417
+ hoveredCell: Store<DelayedHoveredCellStore>;
10922
11418
  clickableCellsStore: Store<ClickableCellsStore>;
10923
11419
  setup(): void;
10924
- onCellHovered({ col, row }: {
10925
- col: any;
10926
- row: any;
10927
- }): void;
10928
11420
  get gridContainer(): string;
10929
11421
  get gridOverlayDimensions(): string;
10930
11422
  getCellClickableStyle(coordinates: Rect): string;
@@ -11038,19 +11530,6 @@ declare class ToolBarRegistry {
11038
11530
  getCategories(): string[];
11039
11531
  }
11040
11532
 
11041
- declare class PositionMap<T> {
11042
- private map;
11043
- constructor(entries?: Iterable<readonly [CellPosition, T]>);
11044
- set({ sheetId, col, row }: CellPosition, value: T): void;
11045
- get({ sheetId, col, row }: CellPosition): T | undefined;
11046
- getSheet(sheetId: UID): Record<number, Record<number, T>> | undefined;
11047
- has({ sheetId, col, row }: CellPosition): boolean;
11048
- delete({ sheetId, col, row }: CellPosition): void;
11049
- keys(): CellPosition[];
11050
- keysForSheet(sheetId: UID): CellPosition[];
11051
- entries(): IterableIterator<[CellPosition, T]>;
11052
- }
11053
-
11054
11533
  declare class FormulaFingerprintStore extends SpreadsheetStore {
11055
11534
  mutators: readonly ["enable", "disable"];
11056
11535
  private isInvalidated;
@@ -11254,7 +11733,7 @@ declare const registries: {
11254
11733
  linkMenuRegistry: MenuItemRegistry;
11255
11734
  functionRegistry: FunctionRegistry;
11256
11735
  featurePluginRegistry: Registry<UIPluginConstructor>;
11257
- iconsOnCellRegistry: Registry<(getters: Getters, position: CellPosition) => ImageSrc | undefined>;
11736
+ iconsOnCellRegistry: Registry<(getters: Getters, position: CellPosition) => ImageSVG | undefined>;
11258
11737
  statefulUIPluginRegistry: Registry<UIPluginConstructor>;
11259
11738
  coreViewsPluginRegistry: Registry<CoreViewPluginConstructor>;
11260
11739
  corePluginRegistry: Registry<CorePluginConstructor>;
@@ -11301,6 +11780,10 @@ declare const registries: {
11301
11780
  supportedPivotPositionalFormulaRegistry: Registry<boolean>;
11302
11781
  pivotToFunctionValueRegistry: Registry<(value: CellValue, granularity?: string) => string>;
11303
11782
  migrationStepRegistry: Registry<MigrationStep>;
11783
+ chartJsExtensionRegistry: Registry<{
11784
+ register: (chart: typeof window.Chart) => void;
11785
+ unregister: (chart: typeof window.Chart) => void;
11786
+ }>;
11304
11787
  };
11305
11788
  declare const helpers: {
11306
11789
  arg: typeof arg;
@@ -11310,6 +11793,7 @@ declare const helpers: {
11310
11793
  toNumber: typeof toNumber;
11311
11794
  toString: typeof toString;
11312
11795
  toNormalizedPivotValue: typeof toNormalizedPivotValue;
11796
+ toFunctionPivotValue: typeof toFunctionPivotValue;
11313
11797
  toXC: typeof toXC;
11314
11798
  toZone: typeof toZone;
11315
11799
  toUnboundedZone: typeof toUnboundedZone;
@@ -11393,9 +11877,11 @@ declare const components: {
11393
11877
  GaugeChartDesignPanel: typeof GaugeChartDesignPanel;
11394
11878
  ScorecardChartConfigPanel: typeof ScorecardChartConfigPanel;
11395
11879
  ScorecardChartDesignPanel: typeof ScorecardChartDesignPanel;
11880
+ GeoChartDesignPanel: typeof GeoChartDesignPanel;
11396
11881
  RadarChartDesignPanel: typeof RadarChartDesignPanel;
11397
11882
  WaterfallChartDesignPanel: typeof WaterfallChartDesignPanel;
11398
11883
  ComboChartDesignPanel: typeof ComboChartDesignPanel;
11884
+ FunnelChartDesignPanel: typeof FunnelChartDesignPanel;
11399
11885
  ChartTypePicker: typeof ChartTypePicker;
11400
11886
  FigureComponent: typeof FigureComponent;
11401
11887
  Menu: typeof Menu;
@@ -11413,6 +11899,7 @@ declare const components: {
11413
11899
  TextInput: typeof TextInput;
11414
11900
  SidePanelCollapsible: typeof SidePanelCollapsible;
11415
11901
  RadioSelection: typeof RadioSelection;
11902
+ GeoChartRegionSelectSection: typeof GeoChartRegionSelectSection;
11416
11903
  };
11417
11904
  declare const hooks: {
11418
11905
  useDragAndDropListItems: typeof useDragAndDropListItems;
@@ -11427,7 +11914,8 @@ declare const stores: {
11427
11914
  CellComposerStore: typeof CellComposerStore;
11428
11915
  FindAndReplaceStore: typeof FindAndReplaceStore;
11429
11916
  HighlightStore: typeof HighlightStore;
11430
- HoveredCellStore: typeof HoveredCellStore;
11917
+ DelayedHoveredCellStore: typeof DelayedHoveredCellStore;
11918
+ HoveredTableStore: typeof HoveredTableStore;
11431
11919
  ModelStore: StoreConstructor<Model, any[]>;
11432
11920
  NotificationStore: typeof NotificationStore;
11433
11921
  RendererStore: typeof RendererStore;
@@ -11471,11 +11959,14 @@ declare const chartHelpers: {
11471
11959
  getPieChartData(definition: GenericDefinition<PieChartDefinition>, dataSets: DataSet[], labelRange: Range | undefined, getters: Getters): ChartRuntimeGenerationArgs;
11472
11960
  getRadarChartData(definition: GenericDefinition<RadarChartDefinition>, dataSets: DataSet[], labelRange: Range | undefined, getters: Getters): ChartRuntimeGenerationArgs;
11473
11961
  getGeoChartData(definition: GeoChartDefinition, dataSets: DataSet[], labelRange: Range | undefined, getters: Getters): GeoChartRuntimeGenerationArgs;
11962
+ getFunnelChartData(definition: GenericDefinition<FunnelChartDefinition>, dataSets: DataSet[], labelRange: Range | undefined, getters: Getters): ChartRuntimeGenerationArgs;
11963
+ getHierarchalChartData(definition: SunburstChartDefinition | TreeMapChartDefinition, dataSets: DataSet[], labelRange: Range | undefined, getters: Getters): ChartRuntimeGenerationArgs;
11474
11964
  getTrendDatasetForBarChart(config: TrendConfiguration, data: any[]): chart_js.Point[] | undefined;
11475
11965
  getTrendDatasetForLineChart(config: TrendConfiguration, data: any[], labels: string[], axisType: AxisType, locale: Locale): chart_js.Point[] | undefined;
11476
11966
  canChartParseLabels(definition: GenericDefinition<LineChartDefinition>, dataSets: DataSet[], labelRange: Range | undefined, getters: Getters): boolean;
11477
11967
  getData(getters: Getters, ds: DataSet): (CellValue | undefined)[];
11478
11968
  getChartLabelFormat(getters: Getters, range: Range | undefined, shouldRemoveFirstLabel: boolean): Format | undefined;
11969
+ makeDatasetsCumulative(datasets: DatasetValues[], order: "asc" | "desc"): DatasetValues[];
11479
11970
  getBarChartDatasets(definition: GenericDefinition<BarChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js.ChartDataset<"bar" | "line">[];
11480
11971
  getWaterfallDatasetAndLabels(definition: GenericDefinition<WaterfallChartDefinition>, args: ChartRuntimeGenerationArgs): {
11481
11972
  datasets: chart_js.ChartDataset[];
@@ -11489,7 +11980,10 @@ declare const chartHelpers: {
11489
11980
  getGeoChartDatasets(definition: GenericDefinition<GeoChartDefinition>, args: GeoChartRuntimeGenerationArgs): chart_js.ChartDataset[];
11490
11981
  getFunnelChartDatasets(definition: FunnelChartDefinition, args: ChartRuntimeGenerationArgs): chart_js.ChartDataset<"bar">[];
11491
11982
  getFunnelLabelColors(labels: string[], colors?: FunnelChartColors): Color[];
11983
+ getSunburstChartDatasets(definition: GenericDefinition<SunburstChartDefinition>, args: ChartRuntimeGenerationArgs): SunburstChartJSDataset[];
11984
+ getTreeMapChartDatasets(definition: TreeMapChartDefinition, args: ChartRuntimeGenerationArgs): chart_js.ChartDataset<"treemap">[];
11492
11985
  getChartColorsGenerator(definition: GenericDefinition<ChartWithDataSetDefinition>, dataSetsSize: number): ColorGenerator;
11986
+ GHOST_SUNBURST_VALUE: "nullValue";
11493
11987
  getChartLayout(definition: GenericDefinition<ChartWithDataSetDefinition>): chart_js_dist_types_utils._DeepPartialObject<Partial<{
11494
11988
  autoPadding: boolean;
11495
11989
  padding: chart_js.Scriptable<chart_js_dist_types_geometric.Padding, chart_js.ScriptableContext<keyof chart_js.ChartTypeRegistry>>;
@@ -11501,6 +11995,7 @@ declare const chartHelpers: {
11501
11995
  getComboChartLegend(definition: GenericDefinition<ComboChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<chart_js.LegendOptions<any>>;
11502
11996
  getWaterfallChartLegend(definition: WaterfallChartDefinition, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<chart_js.LegendOptions<any>>;
11503
11997
  getRadarChartLegend(definition: GenericDefinition<RadarChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<chart_js.LegendOptions<any>>;
11998
+ getSunburstChartLegend(definition: SunburstChartDefinition, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<chart_js.LegendOptions<any>>;
11504
11999
  INTERACTIVE_LEGEND_CONFIG: {
11505
12000
  onHover: (event: any) => void;
11506
12001
  onLeave: (event: any) => void;
@@ -11918,6 +12413,7 @@ declare const chartHelpers: {
11918
12413
  [key: string]: chart_js.ScaleOptionsByType<"radialLinear" | keyof chart_js.CartesianScaleTypeRegistry>;
11919
12414
  }>;
11920
12415
  getChartShowValues(definition: ChartWithDataSetDefinition, args: ChartRuntimeGenerationArgs): ChartShowValuesPluginOptions;
12416
+ getSunburstShowValues(definition: SunburstChartDefinition, args: ChartRuntimeGenerationArgs): ChartSunburstLabelsPluginOptions;
11921
12417
  getChartTitle(definition: ChartWithDataSetDefinition): chart_js_dist_types_utils._DeepPartialObject<chart_js.TitleOptions>;
11922
12418
  getBarChartTooltip(definition: GenericDefinition<BarChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<chart_js.TooltipOptions<any>>;
11923
12419
  getLineChartTooltip(definition: GenericDefinition<LineChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<chart_js.TooltipOptions<any>>;
@@ -11927,6 +12423,8 @@ declare const chartHelpers: {
11927
12423
  getRadarChartTooltip(definition: RadarChartDefinition, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<chart_js.TooltipOptions<any>>;
11928
12424
  getGeoChartTooltip(definition: GeoChartDefinition, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<chart_js.TooltipOptions<any>>;
11929
12425
  getFunnelChartTooltip(definition: GenericDefinition<BarChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<chart_js.TooltipOptions<any>>;
12426
+ getSunburstChartTooltip(definition: SunburstChartDefinition, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<chart_js.TooltipOptions<any>>;
12427
+ getTreeMapChartTooltip(definition: TreeMapChartDefinition, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<chart_js.TooltipOptions<any>>;
11930
12428
  AbstractChart: typeof AbstractChart;
11931
12429
  createBarChartRuntime(chart: BarChart, getters: Getters): BarChartRuntime;
11932
12430
  BarChart: typeof BarChart;
@@ -11956,7 +12454,9 @@ declare const chartHelpers: {
11956
12454
  formatTickValue(localeFormat: LocaleFormat): (value: any) => any;
11957
12455
  getPieColors(colors: ColorGenerator, dataSetsValues: DatasetValues[]): Color[];
11958
12456
  truncateLabel(label: string | undefined): string;
12457
+ isTrendLineAxis(axisID: string): axisID is "x1" | "xMovingAverage";
11959
12458
  TREND_LINE_XAXIS_ID: "x1";
12459
+ MOVING_AVERAGE_TREND_LINE_XAXIS_ID: "xMovingAverage";
11960
12460
  CHART_AXIS_CHOICES: {
11961
12461
  value: string;
11962
12462
  label: string;
@@ -11982,4 +12482,4 @@ declare const chartHelpers: {
11982
12482
  WaterfallChart: typeof WaterfallChart;
11983
12483
  };
11984
12484
 
11985
- export { AST, ASTFuncall, AboveAverageRule, AbstractCellClipboardHandler, AbstractChart, AbstractFigureClipboardHandler, ActivateNextSheetCommand, ActivatePreviousSheetCommand, ActivateSheetCommand, AddColumnsRowsCommand, AddConditionalFormatCommand, AddDataValidationCommand, AddFunctionDescription, AddMergeCommand, AddPivotCommand, Aggregator, Alias, Align, AlphanumericIncrementModifier, 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, BorderPosition, BorderStyle, Box, BoxTextContent, CHART_TYPES, CSSProperties, CancelledReason, Cell, CellErrorType, CellIsRule, CellPosition, CellValue, CellValueType, ChangeType, ChartAxisFormats, ChartCreationContext, ChartDefinition, ChartJSRuntime, ChartRuntime, ChartRuntimeGenerationArgs, ChartType, ChartWithDataSetDefinition, CleanClipBoardHighlightCommand, ClearCellCommand, ClearCellsCommand, ClearFormattingCommand, Client, ClientId, ClientJoinedMessage, ClientLeftMessage, ClientMovedMessage, ClientPosition, ClipboardCell, ClipboardCellData, ClipboardData, ClipboardFigureData, ClipboardMIMEType, ClipboardOperation, ClipboardOptions, ClipboardPasteOptions, ClipboardPasteTarget, Cloneable, CollaborationMessage, CollaborativeEvent, CollaborativeEventReceived, CollaborativeEventTypes, Color, ColorScaleMidPointThreshold, ColorScaleRule, ColorScaleThreshold, ColorSheetCommand, Command, CommandDispatcher, CommandHandler, CommandResult, CommandTypes, CommonPivotCoreDefinition, CompiledFormula, ComposerFocusType, ComputeFunction, ComputedTableStyle, ConditionalFormat, ConditionalFormatInternal, ConditionalFormatRule, ConditionalFormatRuleInternal, ConditionalFormattingOperatorValues, ConsecutiveIndexes, ContainsTextRule, CopyCommand, CopyModifier, CopyPasteCellsAboveCommand, CopyPasteCellsOnLeftCommand, CoreCommand, CoreCommandDispatcher, CoreCommandTypes, CoreGetters, CorePlugin, CoreTable, CoreTableType, CoreViewCommand, CoreViewCommandTypes, CoreViewPlugin, CreateChartCommand, CreateFigureCommand, CreateImageOverCommand, CreateRevisionOptions, CreateSheetCommand, CreateTableCommand, CreateTableStyleCommand, Currency, CustomFormulaCriterion, CustomizedDataSet, CutCommand, DEFAULT_LOCALE, DEFAULT_LOCALES, DIRECTION, DOMCoordinates, DOMDimension, DataBarFill, DataBarRule, DataBarRuleInternal, DataSet, DataValidationCriterion, DataValidationCriterionType, DataValidationDateCriterion, DataValidationRule, DataValidationRuleData, DatasetDesign, DatasetValues, DateCriterionValue, DateIncrementModifier, DateIsAfterCriterion, DateIsBeforeCriterion, DateIsBetweenCriterion, DateIsCriterion, DateIsNotBetweenCriterion, DateIsOnOrAfterCriterion, DateIsOnOrBeforeCriterion, DateIsValidCriterion, DebouncedFunction, DeleteCellCommand, DeleteContentCommand, DeleteFigureCommand, DeleteSheetCommand, DeleteUnfilteredContentCommand, Dependencies, Dimension, DimensionTree, DimensionTreeNode, Direction$1 as Direction, DispatchResult, DuplicatePivotCommand, DuplicatePivotInNewSheetCommand, DuplicateSheetCommand, DynamicTable, EdgeScrollInfo, EditTextOptions, EditionMode, EmptyCell, EndsWithRule, EnrichedToken, EnsureRange, ErrorCell, EvalContext, EvaluateCellsCommand, EvaluateChartsCommand, EvaluatedCell, EvaluationError, ExcelChartDataset, ExcelChartDefinition, ExcelChartType, ExcelFigureSize, ExcelFilterData, ExcelHeaderData, ExcelSheetData, ExcelTableData, ExcelWorkbookData, ExpressionRule, Figure, FigureData, FigureSize, Filter, FilterId, FoldAllHeaderGroupsCommand, FoldHeaderGroupCommand, FoldHeaderGroupsInZoneCommand, Format, FormattedValue, FormulaCell, FormulaModifier, FormulaToExecute, FreezeColumnsCommand, FreezeRowsCommand, FunctionDescription, FunctionRegistry, FunctionResultNumber, FunctionResultObject, GeneratorCell, 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, Locale, LocaleCode, LocaleFormat, LookupCaches, Matrix, Maybe, MenuMouseEvent, Merge, Model, MoveColumnsRowsCommand, MoveConditionalFormatCommand, MoveRangeCommand, MoveSheetCommand, MoveViewportDownCommand, MoveViewportToCellCommand, MoveViewportUpCommand, NewLocalStateUpdateEvent, NotContainsTextRule, NotificationType, NumberCell, OSClipboardContent, Offset, OperationSequenceNode, OrderedLayers, PaintFormat, PaneDivision, ParsedOSClipboardContent, ParsedOsClipboardContentWithImageData, PasteCommand, PasteFromOSClipboardCommand, Pivot, PivotColRowDomain, PivotCoreDefinition, PivotCoreDimension, PivotCoreMeasure, PivotDimension$1 as PivotDimension, PivotDomain, PivotEmptyCell, PivotField, PivotFields, PivotHeaderCell, PivotMeasure, PivotMeasureDisplay, PivotMeasureDisplayType, PivotMeasureHeaderCell, PivotNode, PivotRuntimeDefinition, PivotSortedColumn, PivotTableCell, PivotTableColumn, PivotTableData, PivotTableRow, PivotTimeAdapter, PivotTimeAdapterNotNull, PivotValueCell, Pixel, PixelPosition, Position$1 as Position, PositionDependentCommand, PropsOf, RGBA, Range, RangeCompiledFormula, RangeData, RangePart, RangeProvider, RangesDependentCommand, Rect, RedoCommand, Ref, ReferenceDenormalizer, RefreshPivotCommand, Registry, RemoteRevisionMessage, RemoteRevisionReceivedEvent, RemoveColumnsRowsCommand, RemoveConditionalFormatCommand, RemoveDataValidationCommand, RemoveDuplicatesCommand, RemoveMergeCommand, RemovePivotCommand, RemoveTableCommand, RemoveTableStyleCommand, RenamePivotCommand, RenameSheetCommand, RepeatPasteCommand, ReplaceSearchCommand, RequestRedoCommand, RequestUndoCommand, ResizeColumnsRowsCommand, ResizeDirection, ResizeTableCommand, ResizeViewportCommand, Revision, RevisionAcknowledgedEvent, RevisionData, RevisionRedone, RevisionRedoneMessage, RevisionUndone, RevisionUndoneMessage, Row, SPREADSHEET_DIMENSIONS, ScrollDirection$1 as ScrollDirection, SelectFigureCommand, Selection, SelectionStep, SetBorderCommand, SetContextualFormatCommand, SetDecimalCommand, SetDecimalStep, SetFormattingCommand, SetGridLinesVisibilityCommand, SetViewportOffsetCommand, SetZoneBordersCommand, Sheet, SheetDOMScrollInfo, SheetData, SheetDependentCommand, 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, TableElementStyle, TableId, TableStyle, TableStyleData, TableStyleTemplateName, TargetDependentCommand, TechnicalName, TextCell, TextContainsCriterion, TextIsCriterion, TextIsEmailCriterion, TextIsLinkCriterion, TextNotContainsCriterion, TextRule, ThresholdType, TimePeriodRule, TitleDesign, Token, Tooltip, Top10Rule, Transformation, TransformationFactory, TransportService, TrendConfiguration, TrendType, TrimWhitespaceCommand, UID, UIPlugin, UnGroupHeadersCommand, UnboundedZone, UndoCommand, UnexpectedRevisionIdEvent, UnfoldAllHeaderGroupsCommand, UnfoldHeaderGroupCommand, UnfoldHeaderGroupsInZoneCommand, UnfreezeColumnsCommand, UnfreezeColumnsRowsCommand, UnfreezeRowsCommand, UnhideColumnsRowsCommand, UpdateCellCommand, UpdateCellData, UpdateCellPositionCommand, UpdateChartCommand, UpdateFigureCommand, UpdateFilterCommand, UpdateLocaleCommand, UpdatePivotCommand, UpdateTableCommand, Validation, VerticalAlign, Viewport, WorkbookData, WorkbookHistory, Wrapping, Zone, ZoneDependentCommand, ZoneDimension, __info__, addFunction, addRenderingLayer, astToFormula, borderStyles, canExecuteInReadonly, chartHelpers, compile, compileTokens, components, constants, containsBlanksRule, containsErrorsRule, convertAstNodes, coreTypes, 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 };
12485
+ export { AST, ASTFuncall, AboveAverageRule, AbstractCellClipboardHandler, AbstractChart, AbstractFigureClipboardHandler, ActivateNextSheetCommand, ActivatePreviousSheetCommand, ActivateSheetCommand, AddColumnsRowsCommand, AddConditionalFormatCommand, AddDataValidationCommand, AddFunctionDescription, AddMergeCommand, AddPivotCommand, Aggregator, Alias, Align, AlphanumericIncrementModifier, AnchorOffset, AnchorZone, ApplyRangeChange, ApplyRangeChangeResult, Arg, ArgDefinition, ArgType, AutoFillCellCommand, AutofillAutoCommand, AutofillCellData, AutofillCommand, AutofillData, AutofillModifier, AutofillModifierImplementation, AutofillResult, AutofillSelectCommand, AutofillTableCommand, AutoresizeColumnsCommand, AutoresizeRowsCommand, AxesDesign, AxisDesign, AxisType, BeginsWithRule, BooleanCell, Border$1 as Border, BorderData, BorderDescr, BorderPosition, BorderStyle, Box, BoxTextContent, CHART_TYPES, CSSProperties, CancelledReason, Cell, CellErrorType, CellIsRule, CellPosition, CellValue, CellValueType, ChangeType, ChartAxisFormats, ChartCreationContext, ChartDefinition, ChartJSRuntime, ChartRuntime, ChartRuntimeGenerationArgs, ChartStyle, ChartType, ChartWithAxisDefinition, ChartWithDataSetDefinition, CleanClipBoardHighlightCommand, ClearCellCommand, ClearCellsCommand, ClearFormattingCommand, Client, ClientId, ClientJoinedMessage, ClientLeftMessage, ClientMovedMessage, ClientPosition, ClipboardCell, ClipboardCellData, ClipboardData, ClipboardFigureData, ClipboardMIMEType, ClipboardOperation, ClipboardOptions, ClipboardPasteOptions, ClipboardPasteTarget, Cloneable, CollaborationMessage, CollaborativeEvent, CollaborativeEventReceived, CollaborativeEventTypes, Color, ColorScaleMidPointThreshold, ColorScaleRule, ColorScaleThreshold, ColorSheetCommand, Command, CommandDispatcher, CommandHandler, CommandResult, CommandTypes, CommonPivotCoreDefinition, CompiledFormula, ComposerFocusType, ComputeFunction, ComputedTableStyle, ConditionalFormat, ConditionalFormatInternal, ConditionalFormatRule, ConditionalFormatRuleInternal, ConditionalFormattingOperatorValues, ConsecutiveIndexes, ContainsTextRule, CopyCommand, CopyModifier, CopyPasteCellsAboveCommand, CopyPasteCellsOnLeftCommand, CoreCommand, CoreCommandDispatcher, CoreCommandTypes, CoreGetters, CorePlugin, CoreTable, CoreTableType, CoreViewCommand, CoreViewCommandTypes, CoreViewPlugin, CreateChartCommand, CreateFigureCommand, CreateImageOverCommand, CreateRevisionOptions, CreateSheetCommand, CreateTableCommand, CreateTableStyleCommand, Currency, CustomFormulaCriterion, CustomizedDataSet, CutCommand, DEFAULT_LOCALE, DEFAULT_LOCALES, DIRECTION, DOMCoordinates, DOMDimension, DataBarFill, DataBarRule, DataBarRuleInternal, DataSet, DataValidationCriterion, DataValidationCriterionType, DataValidationDateCriterion, DataValidationRule, DataValidationRuleData, DatasetDesign, DatasetValues, DateCriterionValue, DateIncrementModifier, DateIsAfterCriterion, DateIsBeforeCriterion, DateIsBetweenCriterion, DateIsCriterion, DateIsNotBetweenCriterion, DateIsOnOrAfterCriterion, DateIsOnOrBeforeCriterion, DateIsValidCriterion, DebouncedFunction, DeleteCellCommand, DeleteContentCommand, DeleteFigureCommand, DeleteSheetCommand, DeleteUnfilteredContentCommand, Dependencies, Dimension, DimensionTree, DimensionTreeNode, Direction$1 as Direction, DispatchResult, DuplicatePivotCommand, DuplicatePivotInNewSheetCommand, DuplicateSheetCommand, DynamicTable, EdgeScrollInfo, EditTextOptions, EditionMode, EmptyCell, EndsWithRule, EnrichedToken, EnsureRange, ErrorCell, EvalContext, EvaluateCellsCommand, EvaluateChartsCommand, EvaluatedCell, EvaluationError, ExcelChartDataset, ExcelChartDefinition, ExcelChartType, ExcelFigureSize, ExcelFilterData, ExcelHeaderData, ExcelSheetData, ExcelTableData, ExcelWorkbookData, ExpressionRule, Figure, FigureData, FigureInfo, FigureSize, FigureUI, Filter, FilterId, FoldAllHeaderGroupsCommand, FoldHeaderGroupCommand, FoldHeaderGroupsInZoneCommand, Format, FormattedValue, FormulaCell, FormulaModifier, FormulaToExecute, FreezeColumnsCommand, FreezeRowsCommand, FunctionDescription, FunctionRegistry, FunctionResultNumber, FunctionResultObject, GeneratorCell, 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, Locale, LocaleCode, LocaleFormat, LookupCaches, Matrix, Maybe, MenuMouseEvent, Merge, Model, MoveColumnsRowsCommand, MoveConditionalFormatCommand, MoveRangeCommand, MoveSheetCommand, MoveViewportDownCommand, MoveViewportToCellCommand, MoveViewportUpCommand, NewLocalStateUpdateEvent, NotContainsTextRule, NotificationType, NumberCell, OSClipboardContent, Offset, OperationSequenceNode, OrderedLayers, PaintFormat, PaneDivision, ParsedOSClipboardContent, ParsedOsClipboardContentWithImageData, PasteCommand, PasteFromOSClipboardCommand, Pivot, PivotColRowDomain, PivotCoreDefinition, PivotCoreDimension, PivotCoreMeasure, PivotDimension$1 as PivotDimension, PivotDomain, PivotEmptyCell, PivotField, PivotFields, PivotHeaderCell, PivotMeasure, PivotMeasureDisplay, PivotMeasureDisplayType, PivotMeasureHeaderCell, PivotNode, PivotRuntimeDefinition, PivotSortedColumn, PivotTableCell, PivotTableColumn, PivotTableData, PivotTableRow, PivotTimeAdapter, PivotTimeAdapterNotNull, PivotValueCell, 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, RepeatPasteCommand, ReplaceSearchCommand, RequestRedoCommand, RequestUndoCommand, ResizeColumnsRowsCommand, ResizeDirection, ResizeTableCommand, ResizeViewportCommand, Revision, RevisionAcknowledgedEvent, RevisionData, RevisionRedone, RevisionRedoneMessage, RevisionUndone, RevisionUndoneMessage, Row, SPREADSHEET_DIMENSIONS, ScrollDirection$1 as ScrollDirection, SelectFigureCommand, 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, TableElementStyle, TableId, TableStyle, TableStyleData, TableStyleTemplateName, TargetDependentCommand, TechnicalName, TextCell, TextContainsCriterion, TextIsCriterion, TextIsEmailCriterion, TextIsLinkCriterion, TextNotContainsCriterion, TextRule, ThresholdType, TimePeriodRule, TitleDesign, Token, Tooltip, Top10Rule, Transformation, TransformationFactory, TransportService, TrendConfiguration, TrendType, TrimWhitespaceCommand, UID, UIPlugin, UnGroupHeadersCommand, UnboundedZone, UndoCommand, UnexpectedRevisionIdEvent, UnfoldAllHeaderGroupsCommand, UnfoldHeaderGroupCommand, UnfoldHeaderGroupsInZoneCommand, UnfreezeColumnsCommand, UnfreezeColumnsRowsCommand, UnfreezeRowsCommand, UnhideColumnsRowsCommand, UpdateCellCommand, UpdateCellData, UpdateCellPositionCommand, UpdateChartCommand, UpdateFigureCommand, UpdateFilterCommand, UpdateLocaleCommand, UpdatePivotCommand, UpdateTableCommand, Validation, VerticalAlign, Viewport, WorkbookData, WorkbookHistory, Wrapping, Zone, ZoneDependentCommand, ZoneDimension, __info__, addFunction, addRenderingLayer, astToFormula, borderStyles, canExecuteInReadonly, chartHelpers, compile, compileTokens, components, constants, containsBlanksRule, containsErrorsRule, convertAstNodes, coreTypes, 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 };