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

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,20 +1,28 @@
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';
6
6
  import { ComponentConstructor, Component } from '@odoo/owl';
7
7
  import * as chart_js_dist_types_utils from 'chart.js/dist/types/utils';
8
8
  import * as chart_js_dist_types_geometric from 'chart.js/dist/types/geometric';
9
+ import * as chart_js_dist_types_basic from 'chart.js/dist/types/basic';
9
10
 
10
- interface Figure {
11
+ interface FigureInfo {
11
12
  id: UID;
12
- x: Pixel;
13
- y: Pixel;
14
13
  width: Pixel;
15
14
  height: Pixel;
16
15
  tag: string;
17
16
  }
17
+ interface Figure extends FigureInfo, AnchorOffset {
18
+ }
19
+ interface FigureUI extends DOMCoordinates, Figure {
20
+ }
21
+ interface AnchorOffset {
22
+ col: HeaderIndex;
23
+ row: HeaderIndex;
24
+ offset: PixelPosition;
25
+ }
18
26
  interface FigureSize {
19
27
  width: Pixel;
20
28
  height: Pixel;
@@ -25,10 +33,12 @@ interface ExcelFigureSize {
25
33
  }
26
34
  type ResizeDirection = -1 | 0 | 1;
27
35
 
28
- /**
29
- * Image source given to <img src="..."/>
30
- */
31
- type ImageSrc = string & Alias;
36
+ type ImageSVG = {
37
+ path: string;
38
+ width: number;
39
+ height: number;
40
+ fillColor: string;
41
+ };
32
42
  interface Image$1 {
33
43
  path: string;
34
44
  size: FigureSize;
@@ -107,6 +117,7 @@ interface FunnelChartDefinition {
107
117
  readonly aggregated?: boolean;
108
118
  readonly showValues?: boolean;
109
119
  readonly funnelColors?: FunnelChartColors;
120
+ readonly cumulative?: boolean;
110
121
  }
111
122
  type FunnelChartRuntime = {
112
123
  chartJsConfig: ChartConfiguration;
@@ -163,8 +174,6 @@ interface GeoChartDefinition {
163
174
  readonly title: TitleDesign;
164
175
  readonly background?: Color;
165
176
  readonly legendPosition: LegendPosition;
166
- readonly axesDesign?: AxesDesign;
167
- readonly aggregated?: boolean;
168
177
  readonly colorScale?: GeoChartColorScale;
169
178
  readonly missingValueColor?: Color;
170
179
  readonly region?: string;
@@ -221,7 +230,6 @@ interface PieChartDefinition {
221
230
  readonly background?: Color;
222
231
  readonly legendPosition: LegendPosition;
223
232
  readonly aggregated?: boolean;
224
- readonly axesDesign?: AxesDesign;
225
233
  readonly isDoughnut?: boolean;
226
234
  readonly showValues?: boolean;
227
235
  }
@@ -294,6 +302,177 @@ interface ScorecardChartRuntime {
294
302
  readonly progressBar?: ProgressBar;
295
303
  }
296
304
 
305
+ interface SunburstChartDefinition {
306
+ readonly type: "sunburst";
307
+ readonly dataSets: CustomizedDataSet[];
308
+ readonly dataSetsHaveTitle: boolean;
309
+ readonly labelRange?: string;
310
+ readonly title: TitleDesign;
311
+ readonly background?: Color;
312
+ readonly legendPosition: LegendPosition;
313
+ readonly showValues?: boolean;
314
+ readonly showLabels?: boolean;
315
+ readonly valuesDesign?: ChartStyle;
316
+ readonly groupColors?: (Color | undefined | null)[];
317
+ }
318
+ type SunburstChartRuntime = {
319
+ chartJsConfig: ChartConfiguration<"doughnut">;
320
+ background: Color;
321
+ };
322
+ interface SunburstChartJSDataset extends ChartDataset<"doughnut"> {
323
+ groupColors: {
324
+ label: string;
325
+ color: Color;
326
+ }[];
327
+ }
328
+
329
+ /*!
330
+ * chartjs-chart-treemap v3.1.0
331
+ * https://chartjs-chart-treemap.pages.dev/
332
+ * (c) 2024 Jukka Kurkela
333
+ * Released under the MIT license
334
+ */
335
+
336
+ type AnyObject = Record<string, unknown>;
337
+ type TreemapScriptableContext = ScriptableContext<"treemap"> & {
338
+ raw: TreemapDataPoint;
339
+ };
340
+ type TreemapControllerDatasetCaptionsOptions = {
341
+ align?: Scriptable<LabelAlign, TreemapScriptableContext>;
342
+ color?: Scriptable<Color$1, TreemapScriptableContext>;
343
+ display?: boolean;
344
+ formatter?: Scriptable<string, TreemapScriptableContext>;
345
+ font?: FontSpec;
346
+ hoverColor?: Scriptable<Color$1, TreemapScriptableContext>;
347
+ hoverFont?: FontSpec;
348
+ padding?: number;
349
+ };
350
+ type TreemapControllerDatasetLabelsOptions = {
351
+ align?: Scriptable<LabelAlign, TreemapScriptableContext>;
352
+ color?: Scriptable<Color$1 | Color$1[], TreemapScriptableContext>;
353
+ display?: boolean;
354
+ formatter?: Scriptable<string | Array<string>, TreemapScriptableContext>;
355
+ font?: Scriptable<FontSpec | FontSpec[], TreemapScriptableContext>;
356
+ hoverColor?: Scriptable<Color$1 | Color$1[], TreemapScriptableContext>;
357
+ hoverFont?: Scriptable<FontSpec | FontSpec[], TreemapScriptableContext>;
358
+ overflow?: Scriptable<LabelOverflow, TreemapScriptableContext>;
359
+ padding?: number;
360
+ position?: Scriptable<LabelPosition, TreemapScriptableContext>;
361
+ };
362
+ type LabelPosition = "top" | "middle" | "bottom";
363
+ type LabelAlign = "left" | "center" | "right";
364
+ type LabelOverflow = "cut" | "hidden" | "fit";
365
+ type TreemapControllerDatasetDividersOptions = {
366
+ display?: boolean;
367
+ lineCapStyle?: string;
368
+ lineColor?: string;
369
+ lineDash?: number[];
370
+ lineDashOffset?: number;
371
+ lineWidth?: number;
372
+ };
373
+ interface TreemapControllerDatasetOptions<DType> {
374
+ spacing?: number;
375
+ rtl?: boolean;
376
+ backgroundColor?: Scriptable<Color$1, TreemapScriptableContext>;
377
+ borderColor?: Scriptable<Color$1, TreemapScriptableContext>;
378
+ borderWidth?: number;
379
+ hoverBackgroundColor?: Scriptable<Color$1, TreemapScriptableContext>;
380
+ hoverBorderColor?: Scriptable<Color$1, TreemapScriptableContext>;
381
+ hoverBorderWidth?: number;
382
+ captions?: TreemapControllerDatasetCaptionsOptions;
383
+ dividers?: TreemapControllerDatasetDividersOptions;
384
+ labels?: TreemapControllerDatasetLabelsOptions;
385
+ label?: string;
386
+ data: TreemapDataPoint[];
387
+ groups?: Array<keyof DType>;
388
+ sumKeys?: Array<keyof DType>;
389
+ tree: number[] | DType[] | AnyObject;
390
+ treeLeafKey?: keyof DType;
391
+ key?: keyof DType;
392
+ hidden?: boolean;
393
+ displayMode?: "containerBoxes" | "headerBoxes";
394
+ groupColors?: TreeMapGroupColor[];
395
+ }
396
+ interface TreemapDataPoint {
397
+ x: number;
398
+ y: number;
399
+ w: number;
400
+ h: number;
401
+ /**
402
+ * Value
403
+ */
404
+ v: number;
405
+ /**
406
+ * Sum
407
+ */
408
+ s: number;
409
+ /**
410
+ * Depth, only available if grouping
411
+ */
412
+ l?: number;
413
+ /**
414
+ * Group name, only available if grouping
415
+ */
416
+ g?: string;
417
+ /**
418
+ * Group Sum, only available if grouping
419
+ */
420
+ gs?: number;
421
+ /**
422
+ * additonal keys sums, only available if grouping
423
+ */
424
+ vs?: AnyObject;
425
+ isLeaf?: boolean;
426
+ }
427
+ declare module "chart.js" {
428
+ interface ChartTypeRegistry {
429
+ treemap: {
430
+ chartOptions: CoreChartOptions<"treemap">;
431
+ datasetOptions: TreemapControllerDatasetOptions<Record<string, unknown>>;
432
+ defaultDataPoint: TreemapDataPoint;
433
+ metaExtensions: AnyObject;
434
+ parsedDataType: unknown;
435
+ scales: never;
436
+ };
437
+ }
438
+ }
439
+
440
+ interface TreeMapChartDefinition {
441
+ readonly type: "treemap";
442
+ readonly dataSets: CustomizedDataSet[];
443
+ readonly dataSetsHaveTitle: boolean;
444
+ readonly labelRange?: string;
445
+ readonly title: TitleDesign;
446
+ readonly background?: Color;
447
+ readonly legendPosition: LegendPosition;
448
+ readonly showHeaders?: boolean;
449
+ readonly headerDesign?: TitleDesign;
450
+ readonly showValues?: boolean;
451
+ readonly showLabels?: boolean;
452
+ readonly valuesDesign?: TitleDesign;
453
+ readonly coloringOptions?: TreeMapColoringOptions;
454
+ }
455
+ type TreeMapCategoryColorOptions = {
456
+ type: "categoryColor";
457
+ colors: (Color | undefined | null)[];
458
+ useValueBasedGradient: boolean;
459
+ };
460
+ type TreeMapColorScaleOptions = {
461
+ type: "colorScale";
462
+ minColor: Color;
463
+ midColor?: Color;
464
+ maxColor: Color;
465
+ };
466
+ interface TreeMapGroupColor {
467
+ label: string;
468
+ color: Color;
469
+ }
470
+ type TreeMapColoringOptions = TreeMapCategoryColorOptions | TreeMapColorScaleOptions;
471
+ type TreeMapChartRuntime = {
472
+ chartJsConfig: ChartConfiguration;
473
+ background: Color;
474
+ };
475
+
297
476
  interface WaterfallChartDefinition {
298
477
  readonly type: "waterfall";
299
478
  readonly dataSets: CustomizedDataSet[];
@@ -318,14 +497,17 @@ type WaterfallChartRuntime = {
318
497
  background: Color;
319
498
  };
320
499
 
321
- declare const CHART_TYPES: readonly ["line", "bar", "pie", "scorecard", "gauge", "scatter", "combo", "waterfall", "pyramid", "radar", "geo", "funnel"];
500
+ declare const CHART_TYPES: readonly ["line", "bar", "pie", "scorecard", "gauge", "scatter", "combo", "waterfall", "pyramid", "radar", "geo", "funnel", "sunburst", "treemap"];
322
501
  type ChartType = (typeof CHART_TYPES)[number];
323
- type ChartDefinition = LineChartDefinition | PieChartDefinition | BarChartDefinition | ScorecardChartDefinition | GaugeChartDefinition | ScatterChartDefinition | ComboChartDefinition | WaterfallChartDefinition | PyramidChartDefinition | RadarChartDefinition | GeoChartDefinition | FunnelChartDefinition;
502
+ type ChartDefinition = LineChartDefinition | PieChartDefinition | BarChartDefinition | ScorecardChartDefinition | GaugeChartDefinition | ScatterChartDefinition | ComboChartDefinition | WaterfallChartDefinition | PyramidChartDefinition | RadarChartDefinition | GeoChartDefinition | FunnelChartDefinition | SunburstChartDefinition | TreeMapChartDefinition;
324
503
  type ChartWithDataSetDefinition = Extract<ChartDefinition, {
325
504
  dataSets: CustomizedDataSet[];
326
505
  labelRange?: string;
327
506
  }>;
328
- type ChartJSRuntime = LineChartRuntime | PieChartRuntime | BarChartRuntime | ComboChartRuntime | ScatterChartRuntime | WaterfallChartRuntime | PyramidChartRuntime | RadarChartRuntime | GeoChartRuntime | FunnelChartRuntime;
507
+ type ChartWithAxisDefinition = Extract<ChartWithDataSetDefinition, {
508
+ axesDesign?: AxesDesign;
509
+ }>;
510
+ type ChartJSRuntime = LineChartRuntime | PieChartRuntime | BarChartRuntime | ComboChartRuntime | ScatterChartRuntime | WaterfallChartRuntime | PyramidChartRuntime | RadarChartRuntime | GeoChartRuntime | FunnelChartRuntime | SunburstChartRuntime | TreeMapChartRuntime;
329
511
  type ChartRuntime = ChartJSRuntime | ScorecardChartRuntime | GaugeChartRuntime;
330
512
  interface LabelValues {
331
513
  readonly values: string[];
@@ -349,13 +531,17 @@ interface AxesDesign {
349
531
  readonly y?: AxisDesign;
350
532
  readonly y1?: AxisDesign;
351
533
  }
352
- interface TitleDesign {
353
- readonly text?: string;
534
+ interface ChartStyle {
354
535
  readonly bold?: boolean;
355
536
  readonly italic?: boolean;
356
537
  readonly align?: Align;
538
+ readonly verticalAlign?: VerticalAlign;
357
539
  readonly color?: Color;
358
540
  readonly fontSize?: number;
541
+ readonly fillColor?: Color;
542
+ }
543
+ interface TitleDesign extends ChartStyle {
544
+ readonly text?: string;
359
545
  }
360
546
  type TrendType = "polynomial" | "exponential" | "logarithmic" | "trailingMovingAverage";
361
547
  interface TrendConfiguration {
@@ -406,8 +592,9 @@ interface ExcelChartDefinition {
406
592
  }
407
593
  interface ChartCreationContext {
408
594
  readonly range?: CustomizedDataSet[];
595
+ readonly hierarchicalRanges?: CustomizedDataSet[];
409
596
  readonly title?: TitleDesign;
410
- readonly background?: string;
597
+ readonly background?: Color;
411
598
  readonly auxiliaryRange?: string;
412
599
  readonly aggregated?: boolean;
413
600
  readonly stacked?: boolean;
@@ -422,6 +609,12 @@ interface ChartCreationContext {
422
609
  readonly fillArea?: boolean;
423
610
  readonly showValues?: boolean;
424
611
  readonly funnelColors?: FunnelChartColors;
612
+ readonly showLabels?: boolean;
613
+ readonly valuesDesign?: ChartStyle;
614
+ readonly groupColors?: (Color | undefined | null)[];
615
+ readonly showHeaders?: boolean;
616
+ readonly headerDesign?: TitleDesign;
617
+ readonly treemapColoringOptions?: TreeMapColoringOptions;
425
618
  }
426
619
  type ChartAxisFormats = {
427
620
  [axisId: string]: Format | undefined;
@@ -613,8 +806,9 @@ interface RangePart {
613
806
  readonly colFixed: boolean;
614
807
  readonly rowFixed: boolean;
615
808
  }
616
- interface Range extends Cloneable<Range> {
809
+ interface Range {
617
810
  readonly zone: Readonly<Zone>;
811
+ readonly unboundedZone: Readonly<UnboundedZone>;
618
812
  readonly parts: readonly RangePart[];
619
813
  readonly invalidXc?: string;
620
814
  /** true if the user provided the range with the sheet name */
@@ -623,7 +817,10 @@ interface Range extends Cloneable<Range> {
623
817
  readonly invalidSheetName?: string;
624
818
  /** the sheet on which the range is defined */
625
819
  readonly sheetId: UID;
626
- readonly rangeData: RangeData;
820
+ }
821
+ interface RangeStringOptions {
822
+ useBoundedReference?: boolean;
823
+ useFixedReference?: boolean;
627
824
  }
628
825
  interface RangeData {
629
826
  _zone: Zone | UnboundedZone;
@@ -959,8 +1156,9 @@ interface HeaderData {
959
1156
  }
960
1157
  interface FigureData<T> {
961
1158
  id: UID;
962
- x: Pixel;
963
- y: Pixel;
1159
+ col: HeaderIndex;
1160
+ row: HeaderIndex;
1161
+ offset: PixelPosition;
964
1162
  width: Pixel;
965
1163
  height: Pixel;
966
1164
  tag: string;
@@ -1007,7 +1205,7 @@ type PivotData = {
1007
1205
  formulaId: string;
1008
1206
  } & PivotCoreDefinition;
1009
1207
  interface WorkbookData {
1010
- version: number;
1208
+ version: string;
1011
1209
  sheets: SheetData[];
1012
1210
  styles: {
1013
1211
  [key: number]: Style;
@@ -1293,7 +1491,7 @@ declare class ColorGenerator {
1293
1491
  private preferredColors;
1294
1492
  private currentColorIndex;
1295
1493
  protected palette: Color[];
1296
- constructor(paletteSize: number, preferredColors?: (string | undefined)[]);
1494
+ constructor(paletteSize: number, preferredColors?: (Color | undefined | null)[]);
1297
1495
  next(): string;
1298
1496
  }
1299
1497
 
@@ -1425,46 +1623,6 @@ declare function getUniqueText(text: string, texts: string[], options?: {
1425
1623
  */
1426
1624
  declare function isNumber(value: string | undefined, locale: Locale): boolean;
1427
1625
 
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
1626
  declare function splitReference(ref: string): {
1469
1627
  sheetName?: string;
1470
1628
  xc: string;
@@ -1907,7 +2065,7 @@ declare class BasePlugin<State = any, C = any> implements CommandHandler<C>, Val
1907
2065
  * is returned.
1908
2066
  */
1909
2067
  chainValidations<T>(...validations: Validation<T>[]): Validation<T>;
1910
- checkValidations<T>(command: T, ...validations: Validation<T>[]): CommandResult | CommandResult[];
2068
+ checkValidations<T>(command: T, ...validations: Validation<NoInfer<T>>[]): CommandResult | CommandResult[];
1911
2069
  }
1912
2070
 
1913
2071
  type UIActions = Pick<ModelConfig, "notifyUI" | "raiseBlockingErrorUI">;
@@ -1953,7 +2111,7 @@ type MinimalClipboardData = {
1953
2111
  [key: string]: unknown;
1954
2112
  };
1955
2113
  interface SpreadsheetClipboardData extends MinimalClipboardData {
1956
- version?: number;
2114
+ version?: string;
1957
2115
  clipboardId?: string;
1958
2116
  }
1959
2117
  /**
@@ -2042,7 +2200,7 @@ declare class FilterEvaluationPlugin extends UIPlugin {
2042
2200
  */
2043
2201
  declare class GridSelectionPlugin extends UIPlugin {
2044
2202
  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"];
2203
+ static getters: readonly ["getActiveSheet", "getActiveSheetId", "getActiveSheetName", "getActiveCell", "getActiveCols", "getActiveRows", "getCurrentStyle", "getSelectedZones", "getSelectedZone", "getSelectedCells", "getSelectedFigureId", "getSelection", "getActivePosition", "getSheetPosition", "isSingleColSelected", "getElementsFromSelection", "tryGetActiveSheetId", "isGridSelectionActive"];
2046
2204
  private gridSelection;
2047
2205
  private selectedFigureId;
2048
2206
  private sheetsData;
@@ -2056,6 +2214,7 @@ declare class GridSelectionPlugin extends UIPlugin {
2056
2214
  isGridSelectionActive(): boolean;
2057
2215
  getActiveSheet(): Readonly<Sheet>;
2058
2216
  getActiveSheetId(): UID;
2217
+ getActiveSheetName(): string;
2059
2218
  tryGetActiveSheetId(): UID | undefined;
2060
2219
  getActiveCell(): EvaluatedCell;
2061
2220
  getActiveCols(): Set<number>;
@@ -2100,6 +2259,8 @@ declare class GridSelectionPlugin extends UIPlugin {
2100
2259
  private onRowsRemoved;
2101
2260
  private onAddElements;
2102
2261
  private onMoveElements;
2262
+ private getFiguresUpdates;
2263
+ private applyFigureUpdates;
2103
2264
  private isMoveElementAllowed;
2104
2265
  private fallbackToVisibleSheet;
2105
2266
  /**
@@ -2235,7 +2396,7 @@ declare class InternalViewport {
2235
2396
  *
2236
2397
  */
2237
2398
  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"];
2399
+ 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
2400
  private viewports;
2240
2401
  /**
2241
2402
  * The viewport dimensions are usually set by one of the components
@@ -2306,6 +2467,11 @@ declare class SheetViewPlugin extends UIPlugin {
2306
2467
  * regardless of the viewport dimensions.
2307
2468
  */
2308
2469
  getRect(zone: Zone): Rect;
2470
+ /**
2471
+ * Computes the actual size and position (:Rect) of the zone on the canvas
2472
+ * regardless of the viewport dimensions.
2473
+ */
2474
+ getRectWithoutHeaders(zone: Zone): Rect;
2309
2475
  /**
2310
2476
  * Returns the position of the MainViewport relatively to the start of the grid (without headers)
2311
2477
  * It corresponds to the summed dimensions of the visible cols/rows (in x/y respectively)
@@ -2351,7 +2517,21 @@ declare class SheetViewPlugin extends UIPlugin {
2351
2517
  * viewport top.
2352
2518
  */
2353
2519
  private shiftVertically;
2354
- getVisibleFigures(): Figure[];
2520
+ /**
2521
+ * Return the index of a col given a negative offset x, based on the main viewport top
2522
+ * visible cell of the main viewport.
2523
+ * It returns -1 if no col is found.
2524
+ */
2525
+ private getColIndexLeftOfMainViewport;
2526
+ /**
2527
+ * Return the index of a row given a negative offset y, based on the main viewport top
2528
+ * visible cell of the main viewport.
2529
+ * It returns -1 if no row is found.
2530
+ */
2531
+ private getRowIndexTopOfMainViewport;
2532
+ getVisibleFigures(): FigureUI[];
2533
+ getFigureUI(sheetId: UID, figure: Figure): FigureUI;
2534
+ getPositionAnchorOffset(position: PixelPosition): AnchorOffset;
2355
2535
  isPixelPositionVisible(position: PixelPosition): boolean;
2356
2536
  getFrozenSheetViewRatio(sheetId: UID): {
2357
2537
  xRatio: number;
@@ -2435,6 +2615,9 @@ interface HeadersDependentCommand {
2435
2615
  elements: HeaderIndex[];
2436
2616
  }
2437
2617
  declare function isHeadersDependant(cmd: CoreCommand): cmd is Extract<CoreCommand, HeadersDependentCommand>;
2618
+ interface SheetEditingCommand {
2619
+ sheetName: string;
2620
+ }
2438
2621
  interface TargetDependentCommand {
2439
2622
  sheetId: UID;
2440
2623
  target: Zone[];
@@ -2455,13 +2638,13 @@ interface ZoneDependentCommand {
2455
2638
  zone: Zone;
2456
2639
  }
2457
2640
  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">;
2641
+ 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">;
2642
+ 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">;
2643
+ 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">;
2644
+ 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">;
2645
+ 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">;
2646
+ 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">;
2647
+ 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
2648
  declare function isCoreCommand(cmd: Command): cmd is CoreCommand;
2466
2649
  declare function canExecuteInReadonly(cmd: Command): boolean;
2467
2650
  interface UpdateCellCommand extends PositionDependentCommand {
@@ -2477,18 +2660,18 @@ interface UpdateCellPositionCommand extends PositionDependentCommand {
2477
2660
  type: "UPDATE_CELL_POSITION";
2478
2661
  cellId?: UID;
2479
2662
  }
2480
- interface AddColumnsRowsCommand extends SheetDependentCommand {
2663
+ interface AddColumnsRowsCommand extends SheetDependentCommand, SheetEditingCommand {
2481
2664
  type: "ADD_COLUMNS_ROWS";
2482
2665
  dimension: Dimension;
2483
2666
  base: HeaderIndex;
2484
2667
  quantity: number;
2485
2668
  position: "before" | "after";
2486
2669
  }
2487
- interface RemoveColumnsRowsCommand extends HeadersDependentCommand {
2670
+ interface RemoveColumnsRowsCommand extends HeadersDependentCommand, SheetEditingCommand {
2488
2671
  type: "REMOVE_COLUMNS_ROWS";
2489
2672
  elements: HeaderIndex[];
2490
2673
  }
2491
- interface MoveColumnsRowsCommand extends HeadersDependentCommand {
2674
+ interface MoveColumnsRowsCommand extends HeadersDependentCommand, SheetEditingCommand {
2492
2675
  type: "MOVE_COLUMNS_ROWS";
2493
2676
  base: HeaderIndex;
2494
2677
  elements: HeaderIndex[];
@@ -2549,11 +2732,11 @@ interface RemoveMergeCommand extends TargetDependentCommand {
2549
2732
  interface CreateSheetCommand extends SheetDependentCommand {
2550
2733
  type: "CREATE_SHEET";
2551
2734
  position: number;
2552
- name?: string;
2735
+ name: string;
2553
2736
  cols?: number;
2554
2737
  rows?: number;
2555
2738
  }
2556
- interface DeleteSheetCommand extends SheetDependentCommand {
2739
+ interface DeleteSheetCommand extends SheetDependentCommand, SheetEditingCommand {
2557
2740
  type: "DELETE_SHEET";
2558
2741
  }
2559
2742
  interface DuplicateSheetCommand extends SheetDependentCommand {
@@ -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;
@@ -4488,7 +4674,7 @@ declare class ConditionalFormatPlugin extends CorePlugin<ConditionalFormatState>
4488
4674
  };
4489
4675
  adaptCFFormulas(applyChange: ApplyRangeChange): void;
4490
4676
  adaptCFRanges(sheetId: UID, applyChange: ApplyRangeChange): void;
4491
- adaptRanges(applyChange: ApplyRangeChange, sheetId?: UID): void;
4677
+ adaptRanges(applyChange: ApplyRangeChange, sheetId?: UID, sheetName?: string): void;
4492
4678
  allowDispatch(cmd: Command): CommandResult | CommandResult[];
4493
4679
  handle(cmd: CoreCommand): void;
4494
4680
  import(data: WorkbookData): void;
@@ -4539,7 +4725,7 @@ declare class DataValidationPlugin extends CorePlugin<DataValidationState> imple
4539
4725
  readonly rules: {
4540
4726
  [sheet: string]: DataValidationRule[];
4541
4727
  };
4542
- adaptRanges(applyChange: ApplyRangeChange, sheetId?: UID): void;
4728
+ adaptRanges(applyChange: ApplyRangeChange, sheetId?: UID, sheetName?: string): void;
4543
4729
  private adaptDVFormulas;
4544
4730
  private adaptDVRanges;
4545
4731
  allowDispatch(cmd: Command): CommandResult | CommandResult[];
@@ -4574,20 +4760,22 @@ declare class FigurePlugin extends CorePlugin<FigureState> implements FigureStat
4574
4760
  [sheet: string]: Record<UID, Figure | undefined> | undefined;
4575
4761
  };
4576
4762
  readonly insertionOrders: UID[];
4577
- allowDispatch(cmd: CoreCommand): CommandResult;
4763
+ adaptRanges(applyChange: ApplyRangeChange, sheetId?: UID): void;
4764
+ allowDispatch(cmd: CoreCommand): CommandResult | CommandResult[];
4578
4765
  beforeHandle(cmd: CoreCommand): void;
4579
4766
  handle(cmd: CoreCommand): void;
4580
- private onRowColDelete;
4581
- private onRowDeletion;
4582
- private onColDeletion;
4767
+ private onColRemove;
4768
+ private onRowRemove;
4769
+ private getPositionInSheet;
4583
4770
  private updateFigure;
4584
4771
  private addFigure;
4585
4772
  private deleteSheet;
4586
4773
  private removeFigure;
4587
4774
  private checkFigureExists;
4588
4775
  private checkFigureDuplicate;
4776
+ private checkFigureAnchorOffset;
4589
4777
  getFigures(sheetId: UID): Figure[];
4590
- getFigure(sheetId: string, figureId: string): Figure | undefined;
4778
+ getFigure(sheetId: UID, figureId: string): Figure | undefined;
4591
4779
  getFigureSheetId(figureId: string): UID | undefined;
4592
4780
  import(data: WorkbookData): void;
4593
4781
  export(data: WorkbookData): void;
@@ -4733,7 +4921,7 @@ declare class ImagePlugin extends CorePlugin<ImageState> implements ImageState {
4733
4921
  getImage(figureId: UID): Image$1;
4734
4922
  getImagePath(figureId: UID): string;
4735
4923
  getImageSize(figureId: UID): FigureSize;
4736
- private addImage;
4924
+ private addFigure;
4737
4925
  import(data: WorkbookData): void;
4738
4926
  export(data: WorkbookData): void;
4739
4927
  exportForExcel(data: ExcelWorkbookData): void;
@@ -4752,7 +4940,7 @@ declare class MergePlugin extends CorePlugin<MergeState> implements MergeState {
4752
4940
  readonly mergeCellMap: Record<UID, SheetMergeCellMap | undefined>;
4753
4941
  allowDispatch(cmd: CoreCommand): CommandResult | CommandResult[];
4754
4942
  handle(cmd: CoreCommand): void;
4755
- adaptRanges(applyChange: ApplyRangeChange, sheetId?: UID): void;
4943
+ adaptRanges(applyChange: ApplyRangeChange, sheetId?: UID, sheetName?: string): void;
4756
4944
  getMerges(sheetId: UID): Merge[];
4757
4945
  getMerge({ sheetId, col, row }: CellPosition): Merge | undefined;
4758
4946
  getMergesInZone(sheetId: UID, zone: Zone): Merge[];
@@ -4840,9 +5028,9 @@ declare class PivotCorePlugin extends CorePlugin<CoreState> implements CoreState
4840
5028
  [formulaId: UID]: UID | undefined;
4841
5029
  };
4842
5030
  readonly compiledMeasureFormulas: Record<UID, Record<string, RangeCompiledFormula>>;
4843
- allowDispatch(cmd: CoreCommand): CommandResult.Success | CommandResult.NoChanges | CommandResult.PivotIdNotFound | CommandResult.EmptyName | CommandResult.InvalidDefinition;
5031
+ allowDispatch(cmd: CoreCommand): CommandResult | CommandResult[];
4844
5032
  handle(cmd: CoreCommand): void;
4845
- adaptRanges(applyChange: ApplyRangeChange): void;
5033
+ adaptRanges(applyChange: ApplyRangeChange, sheetId?: UID, sheetName?: string): void;
4846
5034
  getPivotDisplayName(pivotId: UID): string;
4847
5035
  getPivotName(pivotId: UID): string;
4848
5036
  /**
@@ -4866,6 +5054,7 @@ declare class PivotCorePlugin extends CorePlugin<CoreState> implements CoreState
4866
5054
  private getPivotCore;
4867
5055
  private compileMeasureFormula;
4868
5056
  private replaceMeasureFormula;
5057
+ private checkSortedColumnInMeasures;
4869
5058
  private checkDuplicatedMeasureIds;
4870
5059
  /**
4871
5060
  * Import the pivots
@@ -5062,7 +5251,7 @@ declare class TablePlugin extends CorePlugin<TableState> implements TableState {
5062
5251
  static getters: readonly ["getCoreTable", "getCoreTables", "getCoreTableMatchingTopLeft"];
5063
5252
  readonly tables: Record<UID, Record<TableId, CoreTable | undefined>>;
5064
5253
  readonly nextTableId: number;
5065
- adaptRanges(applyChange: ApplyRangeChange, sheetId?: UID): void;
5254
+ adaptRanges(applyChange: ApplyRangeChange, sheetId?: UID, sheetName?: string): void;
5066
5255
  allowDispatch(cmd: CoreCommand): CommandResult | CommandResult[];
5067
5256
  handle(cmd: CoreCommand): void;
5068
5257
  getCoreTables(sheetId: UID): CoreTable[];
@@ -5345,11 +5534,12 @@ interface CellWithSize {
5345
5534
  size: Pixel;
5346
5535
  }
5347
5536
  declare class HeaderSizeUIPlugin extends CoreViewPlugin<HeaderSizeState> implements HeaderSizeState {
5348
- static getters: readonly ["getRowSize", "getHeaderSize"];
5537
+ static getters: readonly ["getRowSize", "getHeaderSize", "getMaxAnchorOffset"];
5349
5538
  readonly tallestCellInRow: Immutable<Record<UID, Array<CellWithSize | undefined>>>;
5350
5539
  private ctx;
5351
5540
  handle(cmd: Command): void;
5352
5541
  getRowSize(sheetId: UID, row: HeaderIndex): Pixel;
5542
+ getMaxAnchorOffset(sheetId: UID, height: Pixel, width: Pixel): AnchorOffset;
5353
5543
  getHeaderSize(sheetId: UID, dimension: Dimension, index: HeaderIndex): Pixel;
5354
5544
  private updateRowSizeForCellChange;
5355
5545
  private initializeSheet;
@@ -5553,6 +5743,13 @@ declare class AutofillPlugin extends UIPlugin {
5553
5743
  * useful to set it to false when we need to fill the tooltip
5554
5744
  */
5555
5745
  private autofill;
5746
+ private collectBordersData;
5747
+ private collectConditionalFormatsData;
5748
+ private collectDataValidationsData;
5749
+ private autofillCell;
5750
+ private autofillBorders;
5751
+ private autofillConditionalFormats;
5752
+ private autofillDataValidations;
5556
5753
  /**
5557
5754
  * Select a cell which becomes the last cell of the autofillZone
5558
5755
  */
@@ -5581,9 +5778,7 @@ declare class AutofillPlugin extends UIPlugin {
5581
5778
  * a given cell (col, row)
5582
5779
  */
5583
5780
  private getDirection;
5584
- private autoFillMerge;
5585
- private autofillCF;
5586
- private autofillDV;
5781
+ private autofillMerge;
5587
5782
  drawLayer(renderingContext: GridRenderingContext): void;
5588
5783
  }
5589
5784
 
@@ -5776,12 +5971,12 @@ declare class UIOptionsPlugin extends UIPlugin {
5776
5971
  }
5777
5972
 
5778
5973
  declare class SheetUIPlugin extends UIPlugin {
5779
- static getters: readonly ["doesCellHaveGridIcon", "getCellWidth", "getCellIconSrc", "getTextWidth", "getCellText", "getCellMultiLineText", "getContiguousZone"];
5974
+ static getters: readonly ["doesCellHaveGridIcon", "getCellWidth", "getCellIconSvg", "getTextWidth", "getCellText", "getCellMultiLineText", "getContiguousZone"];
5780
5975
  private ctx;
5781
5976
  allowDispatch(cmd: LocalCommand): CommandResult | CommandResult[];
5782
5977
  handle(cmd: Command): void;
5783
5978
  getCellWidth(position: CellPosition): number;
5784
- getCellIconSrc(position: CellPosition): ImageSrc | undefined;
5979
+ getCellIconSvg(position: CellPosition): ImageSVG | undefined;
5785
5980
  getTextWidth(text: string, style: Style): Pixel;
5786
5981
  getCellText(position: CellPosition, args?: {
5787
5982
  showFormula?: boolean;
@@ -5816,6 +6011,7 @@ declare class SheetUIPlugin extends UIPlugin {
5816
6011
  * not outside the sheet.
5817
6012
  */
5818
6013
  private checkZonesAreInSheet;
6014
+ private autoResizeRows;
5819
6015
  }
5820
6016
 
5821
6017
  declare class CellComputedStylePlugin extends UIPlugin {
@@ -6013,10 +6209,11 @@ interface AddFunctionDescription {
6013
6209
  hidden?: boolean;
6014
6210
  }
6015
6211
  type FunctionDescription = AddFunctionDescription & {
6212
+ name: string;
6016
6213
  minArgRequired: number;
6017
6214
  maxArgPossible: number;
6018
6215
  nbrArgRepeating: number;
6019
- getArgToFocus: (argPosition: number) => number;
6216
+ nbrArgOptional: number;
6020
6217
  };
6021
6218
  type EvalContext = {
6022
6219
  __originSheetId: UID;
@@ -6185,12 +6382,13 @@ interface Box extends Rect {
6185
6382
  isMerge?: boolean;
6186
6383
  verticalAlign?: VerticalAlign;
6187
6384
  isOverflow?: boolean;
6385
+ overlayColor: Color | undefined;
6188
6386
  }
6189
6387
  interface Image {
6190
6388
  clipIcon: Rect | null;
6191
6389
  size: Pixel;
6192
6390
  type: "icon";
6193
- image: HTMLImageElement;
6391
+ svg: ImageSVG;
6194
6392
  }
6195
6393
  /**
6196
6394
  * The viewport is the visible area of a sheet.
@@ -6292,6 +6490,18 @@ type ScorecardChartConfig = {
6292
6490
  };
6293
6491
  };
6294
6492
 
6493
+ interface ChartSunburstLabelsPluginOptions {
6494
+ showValues: boolean;
6495
+ showLabels: boolean;
6496
+ style: Style;
6497
+ callback: (value: number, axisId?: string) => string;
6498
+ }
6499
+ declare module "chart.js" {
6500
+ interface PluginOptionsByType<TType extends ChartType$1> {
6501
+ sunburstLabelsPlugin?: ChartSunburstLabelsPluginOptions;
6502
+ }
6503
+ }
6504
+
6295
6505
  interface ChartShowValuesPluginOptions {
6296
6506
  showValues: boolean;
6297
6507
  background?: Color;
@@ -6350,7 +6560,6 @@ declare class Registry<T> {
6350
6560
  }
6351
6561
 
6352
6562
  interface MigrationStep {
6353
- versionFrom: string;
6354
6563
  migrate: (data: any) => any;
6355
6564
  }
6356
6565
 
@@ -6379,7 +6588,7 @@ declare class ClipboardHandler<T> {
6379
6588
  protected getters: Getters;
6380
6589
  protected dispatch: CommandDispatcher["dispatch"];
6381
6590
  constructor(getters: Getters, dispatch: CommandDispatcher["dispatch"]);
6382
- copy(data: ClipboardData): T | undefined;
6591
+ copy(data: ClipboardData, isCutOperation: boolean): T | undefined;
6383
6592
  paste(target: ClipboardPasteTarget, clippedContent: T, options: ClipboardOptions): void;
6384
6593
  isPasteAllowed(sheetId: UID, target: Zone[], content: T, option: ClipboardOptions): CommandResult;
6385
6594
  isCutAllowed(data: ClipboardData): CommandResult;
@@ -6485,7 +6694,7 @@ interface NumberFormatActionSpec extends ActionSpec {
6485
6694
  }
6486
6695
 
6487
6696
  type CellPopoverType = "ErrorToolTip" | "LinkDisplay" | "FilterMenu" | "LinkEditor";
6488
- type PopoverPropsPosition = "TopRight" | "BottomLeft";
6697
+ type PopoverPropsPosition = "top-right" | "bottom-left";
6489
6698
  type MaxSizedComponentConstructor = ComponentConstructor & {
6490
6699
  maxSize?: {
6491
6700
  maxWidth?: number;
@@ -6601,6 +6810,7 @@ declare const chartCategories: {
6601
6810
  bar: string;
6602
6811
  area: string;
6603
6812
  pie: string;
6813
+ hierarchical: string;
6604
6814
  misc: string;
6605
6815
  };
6606
6816
  interface ChartSubtypeProperties {
@@ -6618,7 +6828,7 @@ interface ChartSubtypeProperties {
6618
6828
  preview: string;
6619
6829
  }
6620
6830
 
6621
- interface Props$19 {
6831
+ interface Props$1g {
6622
6832
  label?: string;
6623
6833
  value: boolean;
6624
6834
  className?: string;
@@ -6627,7 +6837,7 @@ interface Props$19 {
6627
6837
  disabled?: boolean;
6628
6838
  onChange: (value: boolean) => void;
6629
6839
  }
6630
- declare class Checkbox extends Component<Props$19, SpreadsheetChildEnv> {
6840
+ declare class Checkbox extends Component<Props$1g, SpreadsheetChildEnv> {
6631
6841
  static template: string;
6632
6842
  static props: {
6633
6843
  label: {
@@ -6662,10 +6872,10 @@ declare class Checkbox extends Component<Props$19, SpreadsheetChildEnv> {
6662
6872
  onChange(ev: InputEvent): void;
6663
6873
  }
6664
6874
 
6665
- interface Props$18 {
6875
+ interface Props$1f {
6666
6876
  class?: string;
6667
6877
  }
6668
- declare class Section extends Component<Props$18, SpreadsheetChildEnv> {
6878
+ declare class Section extends Component<Props$1f, SpreadsheetChildEnv> {
6669
6879
  static template: string;
6670
6880
  static props: {
6671
6881
  class: {
@@ -6799,7 +7009,7 @@ declare class SelectionInputStore extends SpreadsheetStore {
6799
7009
  getIndex(rangeId: number | null): number | null;
6800
7010
  }
6801
7011
 
6802
- interface Props$17 {
7012
+ interface Props$1e {
6803
7013
  ranges: string[];
6804
7014
  hasSingleRange?: boolean;
6805
7015
  required?: boolean;
@@ -6824,7 +7034,7 @@ interface SelectionRange extends Omit<RangeInputValue, "color"> {
6824
7034
  * onSelectionChanged is called every time the input value
6825
7035
  * changes.
6826
7036
  */
6827
- declare class SelectionInput extends Component<Props$17, SpreadsheetChildEnv> {
7037
+ declare class SelectionInput extends Component<Props$1e, SpreadsheetChildEnv> {
6828
7038
  static template: string;
6829
7039
  static props: {
6830
7040
  ranges: ArrayConstructor;
@@ -6891,15 +7101,16 @@ declare class SelectionInput extends Component<Props$17, SpreadsheetChildEnv> {
6891
7101
  confirm(): void;
6892
7102
  }
6893
7103
 
6894
- interface Props$16 {
7104
+ interface Props$1d {
6895
7105
  ranges: CustomizedDataSet[];
6896
7106
  hasSingleRange?: boolean;
6897
7107
  onSelectionChanged: (ranges: string[]) => void;
6898
7108
  onSelectionReordered?: (indexes: number[]) => void;
6899
7109
  onSelectionRemoved?: (index: number) => void;
6900
7110
  onSelectionConfirmed: () => void;
7111
+ title?: string;
6901
7112
  }
6902
- declare class ChartDataSeries extends Component<Props$16, SpreadsheetChildEnv> {
7113
+ declare class ChartDataSeries extends Component<Props$1d, SpreadsheetChildEnv> {
6903
7114
  static template: string;
6904
7115
  static components: {
6905
7116
  SelectionInput: typeof SelectionInput;
@@ -6921,18 +7132,22 @@ declare class ChartDataSeries extends Component<Props$16, SpreadsheetChildEnv> {
6921
7132
  optional: boolean;
6922
7133
  };
6923
7134
  onSelectionConfirmed: FunctionConstructor;
7135
+ title: {
7136
+ type: StringConstructor;
7137
+ optional: boolean;
7138
+ };
6924
7139
  };
6925
7140
  get ranges(): string[];
6926
7141
  get colors(): (Color | undefined)[];
6927
7142
  get title(): string;
6928
7143
  }
6929
7144
 
6930
- interface Props$15 {
7145
+ interface Props$1c {
6931
7146
  messages: string[];
6932
7147
  msgType: "warning" | "error" | "info";
6933
7148
  singleBox?: boolean;
6934
7149
  }
6935
- declare class ValidationMessages extends Component<Props$15, SpreadsheetChildEnv> {
7150
+ declare class ValidationMessages extends Component<Props$1c, SpreadsheetChildEnv> {
6936
7151
  static template: string;
6937
7152
  static props: {
6938
7153
  messages: ArrayConstructor;
@@ -6946,10 +7161,10 @@ declare class ValidationMessages extends Component<Props$15, SpreadsheetChildEnv
6946
7161
  get alertBoxes(): string[][];
6947
7162
  }
6948
7163
 
6949
- interface Props$14 {
7164
+ interface Props$1b {
6950
7165
  messages: string[];
6951
7166
  }
6952
- declare class ChartErrorSection extends Component<Props$14, SpreadsheetChildEnv> {
7167
+ declare class ChartErrorSection extends Component<Props$1b, SpreadsheetChildEnv> {
6953
7168
  static template: string;
6954
7169
  static components: {
6955
7170
  Section: typeof Section;
@@ -6963,7 +7178,7 @@ declare class ChartErrorSection extends Component<Props$14, SpreadsheetChildEnv>
6963
7178
  };
6964
7179
  }
6965
7180
 
6966
- interface Props$13 {
7181
+ interface Props$1a {
6967
7182
  title?: string;
6968
7183
  range: string;
6969
7184
  isInvalid: boolean;
@@ -6976,7 +7191,7 @@ interface Props$13 {
6976
7191
  onChange: (value: boolean) => void;
6977
7192
  }>;
6978
7193
  }
6979
- declare class ChartLabelRange extends Component<Props$13, SpreadsheetChildEnv> {
7194
+ declare class ChartLabelRange extends Component<Props$1a, SpreadsheetChildEnv> {
6980
7195
  static template: string;
6981
7196
  static components: {
6982
7197
  SelectionInput: typeof SelectionInput;
@@ -6997,10 +7212,10 @@ declare class ChartLabelRange extends Component<Props$13, SpreadsheetChildEnv> {
6997
7212
  optional: boolean;
6998
7213
  };
6999
7214
  };
7000
- static defaultProps: Partial<Props$13>;
7215
+ static defaultProps: Partial<Props$1a>;
7001
7216
  }
7002
7217
 
7003
- interface Props$12 {
7218
+ interface Props$19 {
7004
7219
  figureId: UID;
7005
7220
  definition: ChartWithDataSetDefinition;
7006
7221
  canUpdateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
@@ -7010,7 +7225,7 @@ interface ChartPanelState {
7010
7225
  datasetDispatchResult?: DispatchResult;
7011
7226
  labelsDispatchResult?: DispatchResult;
7012
7227
  }
7013
- declare class GenericChartConfigPanel extends Component<Props$12, SpreadsheetChildEnv> {
7228
+ declare class GenericChartConfigPanel extends Component<Props$19, SpreadsheetChildEnv> {
7014
7229
  static template: string;
7015
7230
  static components: {
7016
7231
  ChartDataSeries: typeof ChartDataSeries;
@@ -7072,6 +7287,21 @@ declare class BarConfigPanel extends GenericChartConfigPanel {
7072
7287
  onUpdateStacked(stacked: boolean): void;
7073
7288
  }
7074
7289
 
7290
+ interface Props$18 {
7291
+ isCollapsed: boolean;
7292
+ slots: any;
7293
+ }
7294
+ declare class Collapse extends Component<Props$18, SpreadsheetChildEnv> {
7295
+ static template: string;
7296
+ static props: {
7297
+ isCollapsed: BooleanConstructor;
7298
+ slots: ObjectConstructor;
7299
+ };
7300
+ private contentRef;
7301
+ setup(): void;
7302
+ startTransition(isCollapsed: boolean): void;
7303
+ }
7304
+
7075
7305
  declare class SidePanelCollapsible extends Component {
7076
7306
  static template: string;
7077
7307
  static props: {
@@ -7080,7 +7310,7 @@ declare class SidePanelCollapsible extends Component {
7080
7310
  type: StringConstructor;
7081
7311
  optional: boolean;
7082
7312
  };
7083
- collapsedAtInit: {
7313
+ isInitiallyCollapsed: {
7084
7314
  type: BooleanConstructor;
7085
7315
  optional: boolean;
7086
7316
  };
@@ -7089,19 +7319,23 @@ declare class SidePanelCollapsible extends Component {
7089
7319
  optional: boolean;
7090
7320
  };
7091
7321
  };
7092
- currentId: string;
7322
+ static components: {
7323
+ Collapse: typeof Collapse;
7324
+ };
7325
+ private state;
7326
+ toggle(): void;
7093
7327
  }
7094
7328
 
7095
7329
  interface Choice$1 {
7096
7330
  value: string;
7097
7331
  label: string;
7098
7332
  }
7099
- interface Props$11 {
7333
+ interface Props$17 {
7100
7334
  choices: Choice$1[];
7101
7335
  onChange: (value: string) => void;
7102
7336
  selectedValue: string;
7103
7337
  }
7104
- declare class BadgeSelection extends Component<Props$11, SpreadsheetChildEnv> {
7338
+ declare class BadgeSelection extends Component<Props$17, SpreadsheetChildEnv> {
7105
7339
  static template: string;
7106
7340
  static props: {
7107
7341
  choices: ArrayConstructor;
@@ -7110,6 +7344,45 @@ declare class BadgeSelection extends Component<Props$11, SpreadsheetChildEnv> {
7110
7344
  };
7111
7345
  }
7112
7346
 
7347
+ interface Props$16 {
7348
+ action: ActionSpec;
7349
+ hasTriangleDownIcon?: boolean;
7350
+ selectedColor?: string;
7351
+ class?: string;
7352
+ onClick?: (ev: MouseEvent) => void;
7353
+ }
7354
+ declare class ActionButton extends Component<Props$16, SpreadsheetChildEnv> {
7355
+ static template: string;
7356
+ static props: {
7357
+ action: ObjectConstructor;
7358
+ hasTriangleDownIcon: {
7359
+ type: BooleanConstructor;
7360
+ optional: boolean;
7361
+ };
7362
+ selectedColor: {
7363
+ type: StringConstructor;
7364
+ optional: boolean;
7365
+ };
7366
+ class: {
7367
+ type: StringConstructor;
7368
+ optional: boolean;
7369
+ };
7370
+ onClick: {
7371
+ type: FunctionConstructor;
7372
+ optional: boolean;
7373
+ };
7374
+ };
7375
+ private actionButton;
7376
+ setup(): void;
7377
+ get isVisible(): boolean;
7378
+ get isEnabled(): boolean;
7379
+ get isActive(): boolean | undefined;
7380
+ get title(): string;
7381
+ get iconTitle(): string;
7382
+ onClick(ev: MouseEvent): void;
7383
+ get buttonStyle(): string;
7384
+ }
7385
+
7113
7386
  declare enum ComponentsImportance {
7114
7387
  Grid = 0,
7115
7388
  Highlight = 5,
@@ -7263,7 +7536,7 @@ declare class ColorPicker extends Component<ColorPickerProps, SpreadsheetChildEn
7263
7536
  isSameColor(color1: Color, color2: Color): boolean;
7264
7537
  }
7265
7538
 
7266
- interface Props$10 {
7539
+ interface Props$15 {
7267
7540
  currentColor: string | undefined;
7268
7541
  toggleColorPicker: () => void;
7269
7542
  showColorPicker: boolean;
@@ -7274,7 +7547,7 @@ interface Props$10 {
7274
7547
  dropdownMaxHeight?: Pixel;
7275
7548
  class?: string;
7276
7549
  }
7277
- declare class ColorPickerWidget extends Component<Props$10, SpreadsheetChildEnv> {
7550
+ declare class ColorPickerWidget extends Component<Props$15, SpreadsheetChildEnv> {
7278
7551
  static template: string;
7279
7552
  static props: {
7280
7553
  currentColor: {
@@ -7317,7 +7590,7 @@ declare class CellPopoverStore extends SpreadsheetStore {
7317
7590
  private persistentPopover?;
7318
7591
  protected hoveredCell: {
7319
7592
  readonly clear: () => void;
7320
- readonly hover: (position: Position$1) => void;
7593
+ readonly hover: (position: Partial<Position$1>) => void;
7321
7594
  readonly mutators: readonly ["clear", "hover"];
7322
7595
  readonly col: number | undefined;
7323
7596
  readonly row: number | undefined;
@@ -7335,14 +7608,14 @@ declare class CellPopoverStore extends SpreadsheetStore {
7335
7608
  interface State$4 {
7336
7609
  isOpen: boolean;
7337
7610
  }
7338
- interface Props$$ {
7611
+ interface Props$14 {
7339
7612
  currentFontSize: number;
7340
7613
  class: string;
7341
7614
  onFontSizeChanged: (fontSize: number) => void;
7342
7615
  onToggle?: () => void;
7343
7616
  onFocusInput?: () => void;
7344
7617
  }
7345
- declare class FontSizeEditor extends Component<Props$$, SpreadsheetChildEnv> {
7618
+ declare class FontSizeEditor extends Component<Props$14, SpreadsheetChildEnv> {
7346
7619
  static template: string;
7347
7620
  static props: {
7348
7621
  currentFontSize: NumberConstructor;
@@ -7380,62 +7653,54 @@ declare class FontSizeEditor extends Component<Props$$, SpreadsheetChildEnv> {
7380
7653
  onInputKeydown(ev: KeyboardEvent): void;
7381
7654
  }
7382
7655
 
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> {
7656
+ interface Props$13 {
7657
+ class?: string;
7658
+ style: ChartStyle;
7659
+ updateStyle: (style: ChartStyle) => void;
7660
+ defaultStyle?: Partial<ChartStyle>;
7661
+ hasVerticalAlign?: boolean;
7662
+ hasHorizontalAlign?: boolean;
7663
+ hasBackgroundColor?: boolean;
7664
+ }
7665
+ declare class TextStyler extends Component<Props$13, SpreadsheetChildEnv> {
7395
7666
  static template: string;
7396
7667
  static components: {
7397
- Section: typeof Section;
7398
7668
  ColorPickerWidget: typeof ColorPickerWidget;
7669
+ ActionButton: typeof ActionButton;
7399
7670
  FontSizeEditor: typeof FontSizeEditor;
7400
7671
  };
7401
7672
  static props: {
7402
- title: {
7403
- type: StringConstructor;
7673
+ style: ObjectConstructor;
7674
+ updateStyle: {
7675
+ type: FunctionConstructor;
7404
7676
  optional: boolean;
7405
7677
  };
7406
- updateTitle: FunctionConstructor;
7407
- name: {
7408
- type: StringConstructor;
7678
+ defaultStyle: {
7679
+ type: ObjectConstructor;
7409
7680
  optional: boolean;
7410
7681
  };
7411
- toggleItalic: {
7412
- type: FunctionConstructor;
7682
+ hasVerticalAlign: {
7683
+ type: BooleanConstructor;
7413
7684
  optional: boolean;
7414
7685
  };
7415
- toggleBold: {
7416
- type: FunctionConstructor;
7686
+ hasHorizontalAlign: {
7687
+ type: BooleanConstructor;
7417
7688
  optional: boolean;
7418
7689
  };
7419
- updateAlignment: {
7420
- type: FunctionConstructor;
7690
+ hasBackgroundColor: {
7691
+ type: BooleanConstructor;
7421
7692
  optional: boolean;
7422
7693
  };
7423
- updateColor: {
7424
- type: FunctionConstructor;
7694
+ class: {
7695
+ type: StringConstructor;
7425
7696
  optional: boolean;
7426
7697
  };
7427
- style: ObjectConstructor;
7428
- onFontSizeChanged: FunctionConstructor;
7429
- };
7430
- static defaultProps: {
7431
- title: string;
7432
7698
  };
7433
7699
  openedEl: HTMLElement | null;
7434
7700
  setup(): void;
7435
7701
  state: {
7436
7702
  activeTool: string;
7437
7703
  };
7438
- updateTitle(ev: InputEvent): void;
7439
7704
  updateFontSize(fontSize: number): void;
7440
7705
  toggleDropdownTool(tool: string, ev: MouseEvent): void;
7441
7706
  /**
@@ -7445,22 +7710,74 @@ declare class ChartTitle extends Component<Props$_, SpreadsheetChildEnv> {
7445
7710
  * time with something like a menuStore ?
7446
7711
  */
7447
7712
  onExternalClick(ev: MouseEvent): void;
7448
- onColorPicked(color: Color): void;
7449
- updateAlignment(aligment: "left" | "center" | "right"): void;
7713
+ onTextColorChange(color: Color): void;
7714
+ onFillColorChange(color: Color): void;
7715
+ updateAlignment(align: Align): void;
7716
+ updateVerticalAlignment(verticalAlign: VerticalAlign): void;
7717
+ toggleBold(): void;
7718
+ toggleItalic(): void;
7450
7719
  closeMenus(): void;
7720
+ get align(): Align;
7721
+ get verticalAlign(): VerticalAlign;
7722
+ get bold(): boolean | undefined;
7723
+ get italic(): boolean | undefined;
7724
+ get currentFontSize(): number;
7725
+ get boldButtonAction(): ActionSpec;
7726
+ get italicButtonAction(): ActionSpec;
7727
+ get horizontalAlignButtonAction(): ActionSpec;
7728
+ get horizontalAlignActions(): ActionSpec[];
7729
+ get verticalAlignButtonAction(): ActionSpec;
7730
+ get verticalAlignActions(): ActionSpec[];
7731
+ }
7732
+
7733
+ interface Props$12 {
7734
+ title?: string;
7735
+ updateTitle: (title: string) => void;
7736
+ name?: string;
7737
+ style: TitleDesign;
7738
+ defaultStyle?: Partial<TitleDesign>;
7739
+ updateStyle: (style: TitleDesign) => void;
7740
+ }
7741
+ declare class ChartTitle extends Component<Props$12, SpreadsheetChildEnv> {
7742
+ static template: string;
7743
+ static components: {
7744
+ Section: typeof Section;
7745
+ TextStyler: typeof TextStyler;
7746
+ };
7747
+ static props: {
7748
+ title: {
7749
+ type: StringConstructor;
7750
+ optional: boolean;
7751
+ };
7752
+ updateTitle: FunctionConstructor;
7753
+ name: {
7754
+ type: StringConstructor;
7755
+ optional: boolean;
7756
+ };
7757
+ style: ObjectConstructor;
7758
+ defaultStyle: {
7759
+ type: ObjectConstructor;
7760
+ optional: boolean;
7761
+ };
7762
+ updateStyle: FunctionConstructor;
7763
+ };
7764
+ static defaultProps: {
7765
+ title: string;
7766
+ };
7767
+ updateTitle(ev: InputEvent): void;
7451
7768
  }
7452
7769
 
7453
7770
  interface AxisDefinition {
7454
7771
  id: string;
7455
7772
  name: string;
7456
7773
  }
7457
- interface Props$Z {
7774
+ interface Props$11 {
7458
7775
  figureId: UID;
7459
- definition: ChartWithDataSetDefinition | WaterfallChartDefinition;
7460
- updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition | WaterfallChartDefinition>) => DispatchResult;
7776
+ definition: ChartWithAxisDefinition;
7777
+ updateChart: (figureId: UID, definition: Partial<ChartWithAxisDefinition>) => DispatchResult;
7461
7778
  axesList: AxisDefinition[];
7462
7779
  }
7463
- declare class AxisDesignEditor extends Component<Props$Z, SpreadsheetChildEnv> {
7780
+ declare class AxisDesignEditor extends Component<Props$11, SpreadsheetChildEnv> {
7464
7781
  static template: string;
7465
7782
  static components: {
7466
7783
  Section: typeof Section;
@@ -7476,28 +7793,55 @@ declare class AxisDesignEditor extends Component<Props$Z, SpreadsheetChildEnv> {
7476
7793
  state: {
7477
7794
  currentAxis: string;
7478
7795
  };
7796
+ defaultFontSize: number;
7479
7797
  get axisTitleStyle(): TitleDesign;
7480
7798
  get badgeAxes(): {
7481
7799
  value: string;
7482
7800
  label: string;
7483
7801
  }[];
7484
- updateAxisTitleColor(color: Color): void;
7485
- updateAxisTitleFontSize(fontSize: number): void;
7486
- toggleBoldAxisTitle(): void;
7487
- toggleItalicAxisTitle(): void;
7488
- updateAxisTitleAlignment(align: "left" | "center" | "right"): void;
7489
7802
  updateAxisEditor(ev: any): void;
7490
7803
  getAxisTitle(): any;
7491
7804
  updateAxisTitle(text: string): void;
7805
+ updateAxisTitleStyle(style: TitleDesign): void;
7492
7806
  }
7493
7807
 
7494
- interface Props$Y {
7808
+ interface Choice {
7809
+ value: unknown;
7810
+ label: string;
7811
+ }
7812
+ interface Props$10 {
7813
+ choices: Choice[];
7814
+ onChange: (value: unknown) => void;
7815
+ selectedValue: string;
7816
+ name: string;
7817
+ direction: "horizontal" | "vertical";
7818
+ }
7819
+ declare class RadioSelection extends Component<Props$10, SpreadsheetChildEnv> {
7820
+ static template: string;
7821
+ static props: {
7822
+ choices: ArrayConstructor;
7823
+ onChange: FunctionConstructor;
7824
+ selectedValue: {
7825
+ optional: boolean;
7826
+ };
7827
+ name: StringConstructor;
7828
+ direction: {
7829
+ type: StringConstructor;
7830
+ optional: boolean;
7831
+ };
7832
+ };
7833
+ static defaultProps: {
7834
+ direction: string;
7835
+ };
7836
+ }
7837
+
7838
+ interface Props$$ {
7495
7839
  currentColor?: string;
7496
7840
  onColorPicked: (color: string) => void;
7497
7841
  title?: string;
7498
7842
  disableNoColor?: boolean;
7499
7843
  }
7500
- declare class RoundColorPicker extends Component<Props$Y, SpreadsheetChildEnv> {
7844
+ declare class RoundColorPicker extends Component<Props$$, SpreadsheetChildEnv> {
7501
7845
  static template: string;
7502
7846
  static components: {
7503
7847
  Section: typeof Section;
@@ -7530,19 +7874,20 @@ declare class RoundColorPicker extends Component<Props$Y, SpreadsheetChildEnv> {
7530
7874
  get buttonStyle(): string;
7531
7875
  }
7532
7876
 
7533
- interface Props$X {
7877
+ interface Props$_ {
7534
7878
  figureId: UID;
7535
7879
  definition: ChartDefinition;
7536
7880
  updateChart: (figureId: UID, definition: Partial<ChartDefinition>) => DispatchResult;
7537
7881
  defaultChartTitleFontSize?: number;
7538
7882
  }
7539
- declare class GeneralDesignEditor extends Component<Props$X, SpreadsheetChildEnv> {
7883
+ declare class GeneralDesignEditor extends Component<Props$_, SpreadsheetChildEnv> {
7540
7884
  static template: string;
7541
7885
  static components: {
7542
7886
  RoundColorPicker: typeof RoundColorPicker;
7543
7887
  ChartTitle: typeof ChartTitle;
7544
7888
  Section: typeof Section;
7545
7889
  SidePanelCollapsible: typeof SidePanelCollapsible;
7890
+ RadioSelection: typeof RadioSelection;
7546
7891
  };
7547
7892
  static props: {
7548
7893
  figureId: StringConstructor;
@@ -7566,20 +7911,15 @@ declare class GeneralDesignEditor extends Component<Props$X, SpreadsheetChildEnv
7566
7911
  toggleDropdownTool(tool: string, ev: MouseEvent): void;
7567
7912
  updateBackgroundColor(color: Color): void;
7568
7913
  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;
7914
+ updateChartTitleStyle(style: TitleDesign): void;
7575
7915
  }
7576
7916
 
7577
- interface Props$W {
7917
+ interface Props$Z {
7578
7918
  figureId: UID;
7579
7919
  definition: ChartWithDataSetDefinition;
7580
7920
  updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
7581
7921
  }
7582
- declare class ChartLegend extends Component<Props$W, SpreadsheetChildEnv> {
7922
+ declare class ChartLegend extends Component<Props$Z, SpreadsheetChildEnv> {
7583
7923
  static template: string;
7584
7924
  static components: {
7585
7925
  Section: typeof Section;
@@ -7592,43 +7932,13 @@ declare class ChartLegend extends Component<Props$W, SpreadsheetChildEnv> {
7592
7932
  updateLegendPosition(ev: any): void;
7593
7933
  }
7594
7934
 
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 {
7935
+ interface Props$Y {
7626
7936
  figureId: UID;
7627
7937
  definition: ChartWithDataSetDefinition;
7628
7938
  canUpdateChart: (figureID: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
7629
7939
  updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
7630
7940
  }
7631
- declare class SeriesDesignEditor extends Component<Props$U, SpreadsheetChildEnv> {
7941
+ declare class SeriesDesignEditor extends Component<Props$Y, SpreadsheetChildEnv> {
7632
7942
  static template: string;
7633
7943
  static components: {
7634
7944
  SidePanelCollapsible: typeof SidePanelCollapsible;
@@ -7649,20 +7959,20 @@ declare class SeriesDesignEditor extends Component<Props$U, SpreadsheetChildEnv>
7649
7959
  index: number;
7650
7960
  };
7651
7961
  getDataSeries(): (string | undefined)[];
7652
- updateSerieEditor(ev: any): void;
7962
+ updateEditedSeries(ev: Event): void;
7653
7963
  updateDataSeriesColor(color: string): void;
7654
- getDataSerieColor(): "" | Color;
7655
- updateDataSeriesLabel(ev: any): void;
7656
- getDataSerieLabel(): string | undefined;
7964
+ getDataSeriesColor(): "" | Color;
7965
+ updateDataSeriesLabel(ev: Event): void;
7966
+ getDataSeriesLabel(): string | undefined;
7657
7967
  }
7658
7968
 
7659
- interface Props$T {
7969
+ interface Props$X {
7660
7970
  figureId: UID;
7661
7971
  definition: ChartWithDataSetDefinition;
7662
7972
  canUpdateChart: (figureID: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
7663
7973
  updateChart: (figureId: UID, definition: Partial<ChartWithDataSetDefinition>) => DispatchResult;
7664
7974
  }
7665
- declare class SeriesWithAxisDesignEditor extends Component<Props$T, SpreadsheetChildEnv> {
7975
+ declare class SeriesWithAxisDesignEditor extends Component<Props$X, SpreadsheetChildEnv> {
7666
7976
  static template: string;
7667
7977
  static components: {
7668
7978
  SeriesDesignEditor: typeof SeriesDesignEditor;
@@ -7697,19 +8007,19 @@ declare class SeriesWithAxisDesignEditor extends Component<Props$T, SpreadsheetC
7697
8007
  getMaxPolynomialDegree(index: any): number;
7698
8008
  get defaultWindowSize(): number;
7699
8009
  onChangeMovingAverageWindow(index: number, ev: InputEvent): void;
7700
- getDataSerieColor(index: number): "" | Color;
8010
+ getDataSeriesColor(index: number): "" | Color;
7701
8011
  getTrendLineColor(index: number): string;
7702
8012
  updateTrendLineColor(index: number, color: Color): void;
7703
8013
  updateTrendLineValue(index: number, config: any): void;
7704
8014
  }
7705
8015
 
7706
- interface Props$S {
8016
+ interface Props$W {
7707
8017
  figureId: UID;
7708
8018
  definition: ChartWithDataSetDefinition;
7709
8019
  canUpdateChart: (figureID: UID, definition: GenericDefinition<ChartWithDataSetDefinition>) => DispatchResult;
7710
8020
  updateChart: (figureId: UID, definition: GenericDefinition<ChartWithDataSetDefinition>) => DispatchResult;
7711
8021
  }
7712
- declare class ChartWithAxisDesignPanel<P extends Props$S = Props$S> extends Component<P, SpreadsheetChildEnv> {
8022
+ declare class ChartWithAxisDesignPanel<P extends Props$W = Props$W> extends Component<P, SpreadsheetChildEnv> {
7713
8023
  static template: string;
7714
8024
  static components: {
7715
8025
  GeneralDesignEditor: typeof GeneralDesignEditor;
@@ -7729,13 +8039,13 @@ declare class ChartWithAxisDesignPanel<P extends Props$S = Props$S> extends Comp
7729
8039
  get axesList(): AxisDefinition[];
7730
8040
  }
7731
8041
 
7732
- interface Props$R {
8042
+ interface Props$V {
7733
8043
  figureId: UID;
7734
8044
  definition: GaugeChartDefinition;
7735
8045
  canUpdateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
7736
8046
  updateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
7737
8047
  }
7738
- declare class GaugeChartConfigPanel extends Component<Props$R, SpreadsheetChildEnv> {
8048
+ declare class GaugeChartConfigPanel extends Component<Props$V, SpreadsheetChildEnv> {
7739
8049
  static template: string;
7740
8050
  static components: {
7741
8051
  ChartErrorSection: typeof ChartErrorSection;
@@ -7797,15 +8107,16 @@ interface EnrichedToken extends Token {
7797
8107
  color?: Color;
7798
8108
  isBlurred?: boolean;
7799
8109
  isParenthesisLinkedToCursor?: boolean;
8110
+ isInHoverContext?: boolean;
7800
8111
  }
7801
8112
 
7802
- interface Props$Q {
8113
+ interface Props$U {
7803
8114
  proposals: AutoCompleteProposal[];
7804
8115
  selectedIndex: number | undefined;
7805
8116
  onValueSelected: (value: string) => void;
7806
8117
  onValueHovered: (index: string) => void;
7807
8118
  }
7808
- declare class TextValueProvider extends Component<Props$Q> {
8119
+ declare class TextValueProvider extends Component<Props$U> {
7809
8120
  static template: string;
7810
8121
  static props: {
7811
8122
  proposals: ArrayConstructor;
@@ -7872,22 +8183,43 @@ declare class ContentEditableHelper {
7872
8183
  getText(): string;
7873
8184
  }
7874
8185
 
7875
- interface Props$P {
7876
- functionName: string;
8186
+ interface Props$T {
7877
8187
  functionDescription: FunctionDescription;
7878
- argToFocus: number;
8188
+ argsToFocus: number[];
7879
8189
  }
7880
- declare class FunctionDescriptionProvider extends Component<Props$P, SpreadsheetChildEnv> {
8190
+ declare class FunctionDescriptionProvider extends Component<Props$T, SpreadsheetChildEnv> {
7881
8191
  static template: string;
7882
8192
  static props: {
7883
- functionName: StringConstructor;
7884
8193
  functionDescription: ObjectConstructor;
7885
- argToFocus: NumberConstructor;
8194
+ argsToFocus: ArrayConstructor;
8195
+ };
8196
+ static components: {
8197
+ Collapse: typeof Collapse;
7886
8198
  };
7887
- getContext(): Props$P;
8199
+ private state;
8200
+ toggle(): void;
8201
+ getContext(): Props$T;
7888
8202
  get formulaArgSeparator(): string;
7889
8203
  }
7890
8204
 
8205
+ interface Props$S {
8206
+ anchorRect: Rect;
8207
+ content: string;
8208
+ }
8209
+ declare class SpeechBubble extends Component<Props$S, SpreadsheetChildEnv> {
8210
+ static template: string;
8211
+ static props: {
8212
+ content: StringConstructor;
8213
+ anchorRect: ObjectConstructor;
8214
+ };
8215
+ static components: {
8216
+ Popover: typeof Popover;
8217
+ };
8218
+ private spreadsheetRect;
8219
+ private bubbleRef;
8220
+ setup(): void;
8221
+ }
8222
+
7891
8223
  declare const tokenColors: {
7892
8224
  readonly OPERATOR: "#3da4ab";
7893
8225
  readonly NUMBER: "#02c39a";
@@ -7904,7 +8236,7 @@ interface ComposerSelection {
7904
8236
  end: number;
7905
8237
  }
7906
8238
  declare abstract class AbstractComposerStore extends SpreadsheetStore {
7907
- mutators: readonly ["startEdition", "setCurrentContent", "stopEdition", "stopComposerRangeSelection", "cancelEdition", "cycleReferences", "toggleEditionMode", "changeComposerCursorSelection", "replaceComposerCursorSelection"];
8239
+ mutators: readonly ["startEdition", "setCurrentContent", "stopEdition", "stopComposerRangeSelection", "cancelEdition", "cycleReferences", "toggleEditionMode", "changeComposerCursorSelection", "replaceComposerCursorSelection", "hoverToken"];
7908
8240
  protected col: HeaderIndex;
7909
8241
  protected row: HeaderIndex;
7910
8242
  editionMode: EditionMode;
@@ -7915,6 +8247,8 @@ declare abstract class AbstractComposerStore extends SpreadsheetStore {
7915
8247
  protected selectionEnd: number;
7916
8248
  protected initialContent: string | undefined;
7917
8249
  private colorIndexByRange;
8250
+ hoveredTokens: EnrichedToken[];
8251
+ hoveredContentEvaluation: string;
7918
8252
  protected notificationStore: {
7919
8253
  readonly notifyUser: (notification: InformationNotification) => void;
7920
8254
  readonly raiseError: (text: string, callback?: (() => void) | undefined) => void;
@@ -7945,6 +8279,10 @@ declare abstract class AbstractComposerStore extends SpreadsheetStore {
7945
8279
  get tokenAtCursor(): EnrichedToken | undefined;
7946
8280
  cycleReferences(): void;
7947
8281
  toggleEditionMode(): void;
8282
+ hoverToken(tokenIndex: number | undefined): void;
8283
+ private getRelatedTokens;
8284
+ private evaluationResultToDisplayString;
8285
+ private cellValueToDisplayString;
7948
8286
  private captureSelection;
7949
8287
  private isSelectionValid;
7950
8288
  /**
@@ -8021,6 +8359,7 @@ declare abstract class AbstractComposerStore extends SpreadsheetStore {
8021
8359
  * - Previous and next tokens can be separated by spaces
8022
8360
  */
8023
8361
  private canStartComposerRangeSelection;
8362
+ private getNumberOfMissingParenthesis;
8024
8363
  }
8025
8364
 
8026
8365
  declare class CellComposerStore extends AbstractComposerStore {
@@ -8042,8 +8381,10 @@ declare class CellComposerStore extends AbstractComposerStore {
8042
8381
 
8043
8382
  type HtmlContent = {
8044
8383
  value: string;
8384
+ onHover?: (rect: Rect) => void;
8385
+ onStopHover?: () => void;
8045
8386
  color?: Color;
8046
- class?: string;
8387
+ classes?: string[];
8047
8388
  };
8048
8389
  interface CellComposerProps {
8049
8390
  focus: ComposerFocusType;
@@ -8060,12 +8401,12 @@ interface CellComposerProps {
8060
8401
  interface ComposerState {
8061
8402
  positionStart: number;
8062
8403
  positionEnd: number;
8404
+ hoveredRect: Rect | undefined;
8063
8405
  }
8064
8406
  interface FunctionDescriptionState {
8065
8407
  showDescription: boolean;
8066
- functionName: string;
8067
8408
  functionDescription: FunctionDescription;
8068
- argToFocus: number;
8409
+ argsToFocus: number[];
8069
8410
  }
8070
8411
  declare class Composer extends Component<CellComposerProps, SpreadsheetChildEnv> {
8071
8412
  static template: string;
@@ -8107,6 +8448,7 @@ declare class Composer extends Component<CellComposerProps, SpreadsheetChildEnv>
8107
8448
  static components: {
8108
8449
  TextValueProvider: typeof TextValueProvider;
8109
8450
  FunctionDescriptionProvider: typeof FunctionDescriptionProvider;
8451
+ SpeechBubble: typeof SpeechBubble;
8110
8452
  };
8111
8453
  static defaultProps: {
8112
8454
  inputStyle: string;
@@ -8125,6 +8467,8 @@ declare class Composer extends Component<CellComposerProps, SpreadsheetChildEnv>
8125
8467
  };
8126
8468
  private compositionActive;
8127
8469
  private spreadsheetRect;
8470
+ private lastHoveredTokenIndex;
8471
+ private debouncedHover;
8128
8472
  get assistantStyleProperties(): CSSProperties;
8129
8473
  get assistantStyle(): string;
8130
8474
  get assistantContainerStyle(): string;
@@ -8163,6 +8507,7 @@ declare class Composer extends Component<CellComposerProps, SpreadsheetChildEnv>
8163
8507
  * processContent.
8164
8508
  */
8165
8509
  onMousedown(ev: MouseEvent): void;
8510
+ onMouseup(): void;
8166
8511
  onClick(): void;
8167
8512
  onDblClick(): void;
8168
8513
  onContextMenu(ev: MouseEvent): void;
@@ -8174,6 +8519,7 @@ declare class Composer extends Component<CellComposerProps, SpreadsheetChildEnv>
8174
8519
  */
8175
8520
  private getContentLines;
8176
8521
  private getHtmlContentFromTokens;
8522
+ private onTokenHover;
8177
8523
  /**
8178
8524
  * Split an array of HTMLContents into lines. Each NEWLINE character encountered will create a new
8179
8525
  * line. Contents can be split into multiple parts if they contain multiple NEWLINE characters.
@@ -8186,7 +8532,17 @@ declare class Composer extends Component<CellComposerProps, SpreadsheetChildEnv>
8186
8532
  * the autocomplete engine otherwise we initialize the formula assistant.
8187
8533
  */
8188
8534
  private processTokenAtCursor;
8535
+ /**
8536
+ * Compute the arguments to focus depending on the current value position.
8537
+ *
8538
+ * Normally, 'argTargeting' is used to compute the argument to focus, but in the composer,
8539
+ * we don't yet know how many arguments the user will supply.
8540
+ *
8541
+ * This function computes all the possible arguments to focus for different numbers of arguments supplied.
8542
+ */
8543
+ private getArgsToFocus;
8189
8544
  private autoComplete;
8545
+ get displaySpeechBubble(): boolean;
8190
8546
  }
8191
8547
 
8192
8548
  interface AutoCompleteProposal {
@@ -8287,7 +8643,7 @@ declare class MenuItemRegistry extends Registry<ActionSpec> {
8287
8643
  getMenuItems(): Action[];
8288
8644
  }
8289
8645
 
8290
- interface Props$O {
8646
+ interface Props$R {
8291
8647
  onConfirm: (content: string) => void;
8292
8648
  composerContent: string;
8293
8649
  defaultRangeSheetId: UID;
@@ -8299,7 +8655,7 @@ interface Props$O {
8299
8655
  invalid?: boolean;
8300
8656
  getContextualColoredSymbolToken?: (token: Token) => Color;
8301
8657
  }
8302
- declare class StandaloneComposer extends Component<Props$O, SpreadsheetChildEnv> {
8658
+ declare class StandaloneComposer extends Component<Props$R, SpreadsheetChildEnv> {
8303
8659
  static template: string;
8304
8660
  static props: {
8305
8661
  composerContent: {
@@ -8362,13 +8718,13 @@ interface PanelState {
8362
8718
  sectionRuleCancelledReasons?: CommandResult[];
8363
8719
  sectionRule: SectionRule;
8364
8720
  }
8365
- interface Props$N {
8721
+ interface Props$Q {
8366
8722
  figureId: UID;
8367
8723
  definition: GaugeChartDefinition;
8368
8724
  canUpdateChart: (figureID: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
8369
8725
  updateChart: (figureId: UID, definition: Partial<GaugeChartDefinition>) => DispatchResult;
8370
8726
  }
8371
- declare class GaugeChartDesignPanel extends Component<Props$N, SpreadsheetChildEnv> {
8727
+ declare class GaugeChartDesignPanel extends Component<Props$Q, SpreadsheetChildEnv> {
8372
8728
  static template: string;
8373
8729
  static components: {
8374
8730
  SidePanelCollapsible: typeof SidePanelCollapsible;
@@ -8418,13 +8774,13 @@ declare class LineConfigPanel extends GenericChartConfigPanel {
8418
8774
  onUpdateCumulative(cumulative: boolean): void;
8419
8775
  }
8420
8776
 
8421
- interface Props$M {
8777
+ interface Props$P {
8422
8778
  figureId: UID;
8423
8779
  definition: ScorecardChartDefinition;
8424
8780
  canUpdateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
8425
8781
  updateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
8426
8782
  }
8427
- declare class ScorecardChartConfigPanel extends Component<Props$M, SpreadsheetChildEnv> {
8783
+ declare class ScorecardChartConfigPanel extends Component<Props$P, SpreadsheetChildEnv> {
8428
8784
  static template: string;
8429
8785
  static components: {
8430
8786
  SelectionInput: typeof SelectionInput;
@@ -8453,13 +8809,13 @@ declare class ScorecardChartConfigPanel extends Component<Props$M, SpreadsheetCh
8453
8809
  }
8454
8810
 
8455
8811
  type ColorPickerId = undefined | "backgroundColor" | "baselineColorUp" | "baselineColorDown";
8456
- interface Props$L {
8812
+ interface Props$O {
8457
8813
  figureId: UID;
8458
8814
  definition: ScorecardChartDefinition;
8459
8815
  canUpdateChart: (figureID: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
8460
8816
  updateChart: (figureId: UID, definition: Partial<ScorecardChartDefinition>) => DispatchResult;
8461
8817
  }
8462
- declare class ScorecardChartDesignPanel extends Component<Props$L, SpreadsheetChildEnv> {
8818
+ declare class ScorecardChartDesignPanel extends Component<Props$O, SpreadsheetChildEnv> {
8463
8819
  static template: string;
8464
8820
  static components: {
8465
8821
  GeneralDesignEditor: typeof GeneralDesignEditor;
@@ -8558,17 +8914,18 @@ declare class ComposerFocusStore extends SpreadsheetStore {
8558
8914
  private setComposerContent;
8559
8915
  }
8560
8916
 
8561
- interface Props$K {
8562
- figure: Figure;
8917
+ interface Props$N {
8918
+ figureUI: FigureUI;
8563
8919
  }
8564
- declare class ChartJsComponent extends Component<Props$K, SpreadsheetChildEnv> {
8920
+ declare class ChartJsComponent extends Component<Props$N, SpreadsheetChildEnv> {
8565
8921
  static template: string;
8566
8922
  static props: {
8567
- figure: ObjectConstructor;
8923
+ figureUI: ObjectConstructor;
8568
8924
  };
8569
8925
  private canvas;
8570
8926
  private chart?;
8571
8927
  private currentRuntime;
8928
+ private currentDevicePixelRatio;
8572
8929
  get background(): string;
8573
8930
  get canvasStyle(): string;
8574
8931
  get chartRuntime(): ChartJSRuntime;
@@ -8577,13 +8934,13 @@ declare class ChartJsComponent extends Component<Props$K, SpreadsheetChildEnv> {
8577
8934
  private updateChartJs;
8578
8935
  }
8579
8936
 
8580
- interface Props$J {
8581
- figure: Figure;
8937
+ interface Props$M {
8938
+ figureUI: FigureUI;
8582
8939
  }
8583
- declare class ScorecardChart$1 extends Component<Props$J, SpreadsheetChildEnv> {
8940
+ declare class ScorecardChart$1 extends Component<Props$M, SpreadsheetChildEnv> {
8584
8941
  static template: string;
8585
8942
  static props: {
8586
- figure: ObjectConstructor;
8943
+ figureUI: ObjectConstructor;
8587
8944
  };
8588
8945
  private canvas;
8589
8946
  get runtime(): ScorecardChartRuntime;
@@ -8593,8 +8950,9 @@ declare class ScorecardChart$1 extends Component<Props$J, SpreadsheetChildEnv> {
8593
8950
  }
8594
8951
 
8595
8952
  type MenuItemOrSeparator = Action | "separator";
8596
- interface Props$I {
8597
- position: DOMCoordinates;
8953
+ interface Props$L {
8954
+ anchorRect: Rect;
8955
+ popoverPositioning: PopoverPropsPosition;
8598
8956
  menuItems: Action[];
8599
8957
  depth: number;
8600
8958
  maxHeight?: Pixel;
@@ -8607,15 +8965,19 @@ interface Props$I {
8607
8965
  interface MenuState {
8608
8966
  isOpen: boolean;
8609
8967
  parentMenu?: Action;
8610
- position: null | DOMCoordinates;
8968
+ anchorRect: null | Rect;
8611
8969
  scrollOffset?: Pixel;
8612
8970
  menuItems: Action[];
8613
8971
  isHoveringChild?: boolean;
8614
8972
  }
8615
- declare class Menu extends Component<Props$I, SpreadsheetChildEnv> {
8973
+ declare class Menu extends Component<Props$L, SpreadsheetChildEnv> {
8616
8974
  static template: string;
8617
8975
  static props: {
8618
- position: ObjectConstructor;
8976
+ anchorRect: ObjectConstructor;
8977
+ popoverPositioning: {
8978
+ type: StringConstructor;
8979
+ optional: boolean;
8980
+ };
8619
8981
  menuItems: ArrayConstructor;
8620
8982
  depth: {
8621
8983
  type: NumberConstructor;
@@ -8649,6 +9011,7 @@ declare class Menu extends Component<Props$I, SpreadsheetChildEnv> {
8649
9011
  };
8650
9012
  static defaultProps: {
8651
9013
  depth: number;
9014
+ popoverPositioning: string;
8652
9015
  };
8653
9016
  private subMenu;
8654
9017
  private menuRef;
@@ -8657,7 +9020,7 @@ declare class Menu extends Component<Props$I, SpreadsheetChildEnv> {
8657
9020
  private openingTimeOut;
8658
9021
  setup(): void;
8659
9022
  get menuItemsAndSeparators(): MenuItemOrSeparator[];
8660
- get subMenuPosition(): DOMCoordinates;
9023
+ get subMenuAnchorRect(): Rect;
8661
9024
  get popoverProps(): PopoverProps;
8662
9025
  get childrenHaveIcon(): boolean;
8663
9026
  getIconName(menu: Action): string;
@@ -8688,17 +9051,17 @@ declare class Menu extends Component<Props$I, SpreadsheetChildEnv> {
8688
9051
  }
8689
9052
 
8690
9053
  type ResizeAnchor = "top left" | "top" | "top right" | "right" | "bottom right" | "bottom" | "bottom left" | "left";
8691
- interface Props$H {
8692
- figure: Figure;
9054
+ interface Props$K {
9055
+ figureUI: FigureUI;
8693
9056
  style: string;
8694
9057
  onFigureDeleted: () => void;
8695
9058
  onMouseDown: (ev: MouseEvent) => void;
8696
9059
  onClickAnchor(dirX: ResizeDirection, dirY: ResizeDirection, ev: MouseEvent): void;
8697
9060
  }
8698
- declare class FigureComponent extends Component<Props$H, SpreadsheetChildEnv> {
9061
+ declare class FigureComponent extends Component<Props$K, SpreadsheetChildEnv> {
8699
9062
  static template: string;
8700
9063
  static props: {
8701
- figure: ObjectConstructor;
9064
+ figureUI: ObjectConstructor;
8702
9065
  style: {
8703
9066
  type: StringConstructor;
8704
9067
  optional: boolean;
@@ -8739,19 +9102,20 @@ declare class FigureComponent extends Component<Props$H, SpreadsheetChildEnv> {
8739
9102
  clickAnchor(dirX: ResizeDirection, dirY: ResizeDirection, ev: MouseEvent): void;
8740
9103
  onMouseDown(ev: MouseEvent): void;
8741
9104
  onKeyDown(ev: KeyboardEvent): void;
9105
+ private postionInBoundary;
8742
9106
  onContextMenu(ev: MouseEvent): void;
8743
9107
  showMenu(): void;
8744
9108
  private openContextMenu;
8745
9109
  }
8746
9110
 
8747
- interface Props$G {
8748
- figure: Figure;
9111
+ interface Props$J {
9112
+ figureUI: FigureUI;
8749
9113
  onFigureDeleted: () => void;
8750
9114
  }
8751
- declare class ChartFigure extends Component<Props$G, SpreadsheetChildEnv> {
9115
+ declare class ChartFigure extends Component<Props$J, SpreadsheetChildEnv> {
8752
9116
  static template: string;
8753
9117
  static props: {
8754
- figure: ObjectConstructor;
9118
+ figureUI: ObjectConstructor;
8755
9119
  onFigureDeleted: FunctionConstructor;
8756
9120
  };
8757
9121
  static components: {};
@@ -8760,7 +9124,16 @@ declare class ChartFigure extends Component<Props$G, SpreadsheetChildEnv> {
8760
9124
  get chartComponent(): new (...args: any) => Component;
8761
9125
  }
8762
9126
 
8763
- interface Props$F {
9127
+ declare class DelayedHoveredCellStore extends SpreadsheetStore {
9128
+ mutators: readonly ["clear", "hover"];
9129
+ col: number | undefined;
9130
+ row: number | undefined;
9131
+ handle(cmd: Command): void;
9132
+ hover(position: Partial<Position$1>): void;
9133
+ clear(): void;
9134
+ }
9135
+
9136
+ interface Props$I {
8764
9137
  isVisible: boolean;
8765
9138
  position: Position;
8766
9139
  }
@@ -8772,18 +9145,24 @@ interface State$3 {
8772
9145
  position: Position;
8773
9146
  handler: boolean;
8774
9147
  }
8775
- declare class Autofill extends Component<Props$F, SpreadsheetChildEnv> {
9148
+ declare class Autofill extends Component<Props$I, SpreadsheetChildEnv> {
8776
9149
  static template: string;
8777
9150
  static props: {
8778
9151
  position: ObjectConstructor;
8779
9152
  isVisible: BooleanConstructor;
8780
9153
  };
8781
9154
  state: State$3;
9155
+ dragNDropGrid: {
9156
+ start: (initialPointerCoordinates: {
9157
+ clientX: number;
9158
+ clientY: number;
9159
+ }, onPointerMove: (col: HeaderIndex, row: HeaderIndex, ev: MouseEvent) => void, onPointerUp: () => void) => void;
9160
+ };
8782
9161
  get style(): string;
8783
9162
  get handlerStyle(): string;
8784
9163
  get styleNextValue(): string;
8785
9164
  getTooltip(): Tooltip | undefined;
8786
- onMouseDown(ev: MouseEvent): void;
9165
+ onMouseDown(ev: PointerEvent): void;
8787
9166
  onDblClick(): void;
8788
9167
  }
8789
9168
 
@@ -8806,7 +9185,7 @@ declare class ClientTag extends Component<ClientTagProps, SpreadsheetChildEnv> {
8806
9185
  get tagStyle(): string;
8807
9186
  }
8808
9187
 
8809
- interface Props$E {
9188
+ interface Props$H {
8810
9189
  gridDims: DOMDimension;
8811
9190
  onInputContextMenu: (event: MouseEvent) => void;
8812
9191
  }
@@ -8814,7 +9193,7 @@ interface Props$E {
8814
9193
  * This component is a composer which positions itself on the grid at the anchor cell.
8815
9194
  * It also applies the style of the cell to the composer input.
8816
9195
  */
8817
- declare class GridComposer extends Component<Props$E, SpreadsheetChildEnv> {
9196
+ declare class GridComposer extends Component<Props$H, SpreadsheetChildEnv> {
8818
9197
  static template: string;
8819
9198
  static props: {
8820
9199
  gridDims: ObjectConstructor;
@@ -8872,10 +9251,10 @@ declare class GridCellIcon extends Component<GridCellIconProps, SpreadsheetChild
8872
9251
  isPositionVisible(position: CellPosition): boolean;
8873
9252
  }
8874
9253
 
8875
- interface Props$D {
9254
+ interface Props$G {
8876
9255
  cellPosition: CellPosition;
8877
9256
  }
8878
- declare class DataValidationCheckbox extends Component<Props$D, SpreadsheetChildEnv> {
9257
+ declare class DataValidationCheckbox extends Component<Props$G, SpreadsheetChildEnv> {
8879
9258
  static template: string;
8880
9259
  static components: {
8881
9260
  Checkbox: typeof Checkbox;
@@ -8888,10 +9267,10 @@ declare class DataValidationCheckbox extends Component<Props$D, SpreadsheetChild
8888
9267
  get isDisabled(): boolean;
8889
9268
  }
8890
9269
 
8891
- interface Props$C {
9270
+ interface Props$F {
8892
9271
  cellPosition: CellPosition;
8893
9272
  }
8894
- declare class DataValidationListIcon extends Component<Props$C, SpreadsheetChildEnv> {
9273
+ declare class DataValidationListIcon extends Component<Props$F, SpreadsheetChildEnv> {
8895
9274
  static template: string;
8896
9275
  static props: {
8897
9276
  cellPosition: ObjectConstructor;
@@ -8921,12 +9300,12 @@ interface SnapLine<T extends HFigureAxisType | VFigureAxisType> {
8921
9300
  }
8922
9301
 
8923
9302
  type ContainerType = "topLeft" | "topRight" | "bottomLeft" | "bottomRight" | "dnd";
8924
- interface Props$B {
9303
+ interface Props$E {
8925
9304
  onFigureDeleted: () => void;
8926
9305
  }
8927
9306
  interface Container {
8928
9307
  type: ContainerType;
8929
- figures: Figure[];
9308
+ figures: FigureUI[];
8930
9309
  style: string;
8931
9310
  inverseViewportStyle: string;
8932
9311
  }
@@ -8936,7 +9315,7 @@ interface Snap<T extends HFigureAxisType | VFigureAxisType> {
8936
9315
  containerStyle: string;
8937
9316
  }
8938
9317
  interface DndState {
8939
- draggedFigure?: Figure;
9318
+ draggedFigure?: FigureUI;
8940
9319
  horizontalSnap?: Snap<HFigureAxisType>;
8941
9320
  verticalSnap?: Snap<VFigureAxisType>;
8942
9321
  cancelDnd: (() => void) | undefined;
@@ -9001,7 +9380,7 @@ interface DndState {
9001
9380
  * that occurred during the drag & drop, and to position the figure on the correct pane.
9002
9381
  *
9003
9382
  */
9004
- declare class FiguresContainer extends Component<Props$B, SpreadsheetChildEnv> {
9383
+ declare class FiguresContainer extends Component<Props$E, SpreadsheetChildEnv> {
9005
9384
  static template: string;
9006
9385
  static props: {
9007
9386
  onFigureDeleted: FunctionConstructor;
@@ -9018,7 +9397,8 @@ declare class FiguresContainer extends Component<Props$B, SpreadsheetChildEnv> {
9018
9397
  private getContainerRect;
9019
9398
  private getInverseViewportPositionStyle;
9020
9399
  private getFigureContainer;
9021
- startDraggingFigure(figure: Figure, ev: MouseEvent): void;
9400
+ private toBottomRightViewport;
9401
+ startDraggingFigure(figureUI: FigureUI, ev: MouseEvent): void;
9022
9402
  /**
9023
9403
  * Initialize the resize of a figure with mouse movements
9024
9404
  *
@@ -9028,18 +9408,18 @@ declare class FiguresContainer extends Component<Props$B, SpreadsheetChildEnv> {
9028
9408
  * resize from the bottom border of the figure
9029
9409
  * @param ev Mouse Event
9030
9410
  */
9031
- startResize(figure: Figure, dirX: ResizeDirection, dirY: ResizeDirection, ev: MouseEvent): void;
9411
+ startResize(figureUI: FigureUI, dirX: ResizeDirection, dirY: ResizeDirection, ev: MouseEvent): void;
9032
9412
  private getOtherFigures;
9033
9413
  private getDndFigure;
9034
- getFigureStyle(figure: Figure): string;
9414
+ getFigureStyle(figureUI: FigureUI): string;
9035
9415
  private getSnap;
9036
9416
  private getSnapLineStyle;
9037
9417
  }
9038
9418
 
9039
- interface Props$A {
9419
+ interface Props$D {
9040
9420
  cellPosition: CellPosition;
9041
9421
  }
9042
- declare class FilterIcon extends Component<Props$A, SpreadsheetChildEnv> {
9422
+ declare class FilterIcon extends Component<Props$D, SpreadsheetChildEnv> {
9043
9423
  static template: string;
9044
9424
  static props: {
9045
9425
  cellPosition: ObjectConstructor;
@@ -9061,10 +9441,10 @@ declare class FilterIconsOverlay extends Component<{}, SpreadsheetChildEnv> {
9061
9441
  getFilterHeadersPositions(): CellPosition[];
9062
9442
  }
9063
9443
 
9064
- interface Props$z {
9444
+ interface Props$C {
9065
9445
  focusGrid: () => void;
9066
9446
  }
9067
- declare class GridAddRowsFooter extends Component<Props$z, SpreadsheetChildEnv> {
9447
+ declare class GridAddRowsFooter extends Component<Props$C, SpreadsheetChildEnv> {
9068
9448
  static template: string;
9069
9449
  static props: {
9070
9450
  focusGrid: FunctionConstructor;
@@ -9088,23 +9468,18 @@ declare class GridAddRowsFooter extends Component<Props$z, SpreadsheetChildEnv>
9088
9468
  private onExternalClick;
9089
9469
  }
9090
9470
 
9091
- interface Props$y {
9092
- onCellHovered: (position: Partial<Position$1>) => void;
9471
+ interface Props$B {
9093
9472
  onCellDoubleClicked: (col: HeaderIndex, row: HeaderIndex) => void;
9094
- onCellClicked: (col: HeaderIndex, row: HeaderIndex, modifiers: GridClickModifiers) => void;
9473
+ onCellClicked: (col: HeaderIndex, row: HeaderIndex, modifiers: GridClickModifiers, ev: MouseEvent) => void;
9095
9474
  onCellRightClicked: (col: HeaderIndex, row: HeaderIndex, coordinates: DOMCoordinates) => void;
9096
9475
  onGridResized: (dimension: Rect) => void;
9097
9476
  onGridMoved: (deltaX: Pixel, deltaY: Pixel) => void;
9098
9477
  gridOverlayDimensions: string;
9099
9478
  onFigureDeleted: () => void;
9100
9479
  }
9101
- declare class GridOverlay extends Component<Props$y, SpreadsheetChildEnv> {
9480
+ declare class GridOverlay extends Component<Props$B, SpreadsheetChildEnv> {
9102
9481
  static template: string;
9103
9482
  static props: {
9104
- onCellHovered: {
9105
- type: FunctionConstructor;
9106
- optional: boolean;
9107
- };
9108
9483
  onCellDoubleClicked: {
9109
9484
  type: FunctionConstructor;
9110
9485
  optional: boolean;
@@ -9127,6 +9502,10 @@ declare class GridOverlay extends Component<Props$y, SpreadsheetChildEnv> {
9127
9502
  };
9128
9503
  onGridMoved: FunctionConstructor;
9129
9504
  gridOverlayDimensions: StringConstructor;
9505
+ slots: {
9506
+ type: ObjectConstructor;
9507
+ optional: boolean;
9508
+ };
9130
9509
  };
9131
9510
  static components: {
9132
9511
  FiguresContainer: typeof FiguresContainer;
@@ -9135,7 +9514,6 @@ declare class GridOverlay extends Component<Props$y, SpreadsheetChildEnv> {
9135
9514
  FilterIconsOverlay: typeof FilterIconsOverlay;
9136
9515
  };
9137
9516
  static defaultProps: {
9138
- onCellHovered: () => void;
9139
9517
  onCellDoubleClicked: () => void;
9140
9518
  onCellClicked: () => void;
9141
9519
  onCellRightClicked: () => void;
@@ -9156,12 +9534,12 @@ declare class GridOverlay extends Component<Props$y, SpreadsheetChildEnv> {
9156
9534
  private getCartesianCoordinates;
9157
9535
  }
9158
9536
 
9159
- interface Props$x {
9537
+ interface Props$A {
9160
9538
  gridRect: Rect;
9161
9539
  onClosePopover: () => void;
9162
9540
  onMouseWheel: (ev: WheelEvent) => void;
9163
9541
  }
9164
- declare class GridPopover extends Component<Props$x, SpreadsheetChildEnv> {
9542
+ declare class GridPopover extends Component<Props$A, SpreadsheetChildEnv> {
9165
9543
  static template: string;
9166
9544
  static props: {
9167
9545
  onClosePopover: FunctionConstructor;
@@ -9177,7 +9555,7 @@ declare class GridPopover extends Component<Props$x, SpreadsheetChildEnv> {
9177
9555
  get cellPopover(): PositionedCellPopoverComponent | ClosedCellPopover;
9178
9556
  }
9179
9557
 
9180
- interface Props$w {
9558
+ interface Props$z {
9181
9559
  headersGroups: ConsecutiveIndexes[];
9182
9560
  offset: number;
9183
9561
  headerRange: {
@@ -9185,7 +9563,7 @@ interface Props$w {
9185
9563
  end: HeaderIndex;
9186
9564
  };
9187
9565
  }
9188
- declare class UnhideRowHeaders extends Component<Props$w, SpreadsheetChildEnv> {
9566
+ declare class UnhideRowHeaders extends Component<Props$z, SpreadsheetChildEnv> {
9189
9567
  static template: string;
9190
9568
  static props: {
9191
9569
  headersGroups: ArrayConstructor;
@@ -9204,7 +9582,7 @@ declare class UnhideRowHeaders extends Component<Props$w, SpreadsheetChildEnv> {
9204
9582
  unhide(hiddenElements: HeaderIndex[]): void;
9205
9583
  isVisible(header: HeaderIndex): boolean;
9206
9584
  }
9207
- declare class UnhideColumnHeaders extends Component<Props$w, SpreadsheetChildEnv> {
9585
+ declare class UnhideColumnHeaders extends Component<Props$z, SpreadsheetChildEnv> {
9208
9586
  static template: string;
9209
9587
  static props: {
9210
9588
  headersGroups: ArrayConstructor;
@@ -9251,6 +9629,12 @@ declare abstract class AbstractResizer extends Component<ResizerProps, Spreadshe
9251
9629
  MIN_ELEMENT_SIZE: number;
9252
9630
  lastSelectedElementIndex: HeaderIndex | null;
9253
9631
  state: ResizerState;
9632
+ dragNDropGrid: {
9633
+ start: (initialPointerCoordinates: {
9634
+ clientX: number;
9635
+ clientY: number;
9636
+ }, onPointerMove: (col: HeaderIndex, row: HeaderIndex, ev: MouseEvent) => void, onPointerUp: () => void) => void;
9637
+ };
9254
9638
  abstract _getEvOffset(ev: MouseEvent): Pixel;
9255
9639
  abstract _getViewportOffset(): Pixel;
9256
9640
  abstract _getClientPosition(ev: MouseEvent): Pixel;
@@ -9276,7 +9660,7 @@ declare abstract class AbstractResizer extends Component<ResizerProps, Spreadshe
9276
9660
  onMouseLeave(): void;
9277
9661
  onDblClick(ev: MouseEvent): void;
9278
9662
  onMouseDown(ev: MouseEvent): void;
9279
- select(ev: MouseEvent): void;
9663
+ select(ev: PointerEvent): void;
9280
9664
  private startMovement;
9281
9665
  private startSelection;
9282
9666
  onMouseUp(ev: MouseEvent): void;
@@ -9390,13 +9774,13 @@ declare class HeadersOverlay extends Component<any, SpreadsheetChildEnv> {
9390
9774
  }
9391
9775
 
9392
9776
  type Orientation$1 = "n" | "s" | "w" | "e";
9393
- interface Props$v {
9777
+ interface Props$y {
9394
9778
  zone: Zone;
9395
9779
  orientation: Orientation$1;
9396
9780
  isMoving: boolean;
9397
- onMoveHighlight: (x: Pixel, y: Pixel) => void;
9781
+ onMoveHighlight: (ev: PointerEvent) => void;
9398
9782
  }
9399
- declare class Border extends Component<Props$v, SpreadsheetChildEnv> {
9783
+ declare class Border extends Component<Props$y, SpreadsheetChildEnv> {
9400
9784
  static template: string;
9401
9785
  static props: {
9402
9786
  zone: ObjectConstructor;
@@ -9405,18 +9789,18 @@ declare class Border extends Component<Props$v, SpreadsheetChildEnv> {
9405
9789
  onMoveHighlight: FunctionConstructor;
9406
9790
  };
9407
9791
  get style(): string;
9408
- onMouseDown(ev: MouseEvent): void;
9792
+ onMouseDown(ev: PointerEvent): void;
9409
9793
  }
9410
9794
 
9411
9795
  type Orientation = "nw" | "ne" | "sw" | "se";
9412
- interface Props$u {
9796
+ interface Props$x {
9413
9797
  zone: Zone;
9414
9798
  color: Color;
9415
9799
  orientation: Orientation;
9416
9800
  isResizing: boolean;
9417
- onResizeHighlight: (isLeft: boolean, isRight: boolean) => void;
9801
+ onResizeHighlight: (ev: PointerEvent, isLeft: boolean, isTop: boolean) => void;
9418
9802
  }
9419
- declare class Corner extends Component<Props$u, SpreadsheetChildEnv> {
9803
+ declare class Corner extends Component<Props$x, SpreadsheetChildEnv> {
9420
9804
  static template: string;
9421
9805
  static props: {
9422
9806
  zone: ObjectConstructor;
@@ -9428,17 +9812,17 @@ declare class Corner extends Component<Props$u, SpreadsheetChildEnv> {
9428
9812
  private isTop;
9429
9813
  private isLeft;
9430
9814
  get style(): string;
9431
- onMouseDown(ev: MouseEvent): void;
9815
+ onMouseDown(ev: PointerEvent): void;
9432
9816
  }
9433
9817
 
9434
- interface Props$t {
9818
+ interface Props$w {
9435
9819
  zone: Zone;
9436
9820
  color: Color;
9437
9821
  }
9438
9822
  interface HighlightState {
9439
9823
  shiftingMode: "isMoving" | "isResizing" | "none";
9440
9824
  }
9441
- declare class Highlight extends Component<Props$t, SpreadsheetChildEnv> {
9825
+ declare class Highlight extends Component<Props$w, SpreadsheetChildEnv> {
9442
9826
  static template: string;
9443
9827
  static props: {
9444
9828
  zone: ObjectConstructor;
@@ -9449,13 +9833,19 @@ declare class Highlight extends Component<Props$t, SpreadsheetChildEnv> {
9449
9833
  Border: typeof Border;
9450
9834
  };
9451
9835
  highlightState: HighlightState;
9452
- onResizeHighlight(isLeft: boolean, isTop: boolean): void;
9453
- onMoveHighlight(clientX: Pixel, clientY: Pixel): void;
9836
+ dragNDropGrid: {
9837
+ start: (initialPointerCoordinates: {
9838
+ clientX: number;
9839
+ clientY: number;
9840
+ }, onPointerMove: (col: HeaderIndex, row: HeaderIndex, ev: MouseEvent) => void, onPointerUp: () => void) => void;
9841
+ };
9842
+ onResizeHighlight(ev: PointerEvent, isLeft: boolean, isTop: boolean): void;
9843
+ onMoveHighlight(ev: PointerEvent): void;
9454
9844
  }
9455
9845
 
9456
9846
  type ScrollDirection = "horizontal" | "vertical";
9457
9847
 
9458
- interface Props$s {
9848
+ interface Props$v {
9459
9849
  width: Pixel;
9460
9850
  height: Pixel;
9461
9851
  direction: ScrollDirection;
@@ -9463,7 +9853,7 @@ interface Props$s {
9463
9853
  offset: Pixel;
9464
9854
  onScroll: (offset: Pixel) => void;
9465
9855
  }
9466
- declare class ScrollBar extends Component<Props$s> {
9856
+ declare class ScrollBar extends Component<Props$v> {
9467
9857
  static props: {
9468
9858
  width: {
9469
9859
  type: NumberConstructor;
@@ -9491,10 +9881,10 @@ declare class ScrollBar extends Component<Props$s> {
9491
9881
  onScroll(ev: any): void;
9492
9882
  }
9493
9883
 
9494
- interface Props$r {
9884
+ interface Props$u {
9495
9885
  leftOffset: number;
9496
9886
  }
9497
- declare class HorizontalScrollBar extends Component<Props$r, SpreadsheetChildEnv> {
9887
+ declare class HorizontalScrollBar extends Component<Props$u, SpreadsheetChildEnv> {
9498
9888
  static props: {
9499
9889
  leftOffset: {
9500
9890
  type: NumberConstructor;
@@ -9520,10 +9910,10 @@ declare class HorizontalScrollBar extends Component<Props$r, SpreadsheetChildEnv
9520
9910
  onScroll(offset: any): void;
9521
9911
  }
9522
9912
 
9523
- interface Props$q {
9913
+ interface Props$t {
9524
9914
  topOffset: number;
9525
9915
  }
9526
- declare class VerticalScrollBar extends Component<Props$q, SpreadsheetChildEnv> {
9916
+ declare class VerticalScrollBar extends Component<Props$t, SpreadsheetChildEnv> {
9527
9917
  static props: {
9528
9918
  topOffset: {
9529
9919
  type: NumberConstructor;
@@ -9549,33 +9939,30 @@ declare class VerticalScrollBar extends Component<Props$q, SpreadsheetChildEnv>
9549
9939
  onScroll(offset: any): void;
9550
9940
  }
9551
9941
 
9552
- interface Props$p {
9942
+ interface Props$s {
9553
9943
  table: Table;
9554
9944
  }
9555
9945
  interface State$2 {
9556
9946
  highlightZone: Zone | undefined;
9557
9947
  }
9558
- declare class TableResizer extends Component<Props$p, SpreadsheetChildEnv> {
9948
+ declare class TableResizer extends Component<Props$s, SpreadsheetChildEnv> {
9559
9949
  static template: string;
9560
9950
  static props: {
9561
9951
  table: ObjectConstructor;
9562
9952
  };
9563
9953
  state: State$2;
9954
+ dragNDropGrid: {
9955
+ start: (initialPointerCoordinates: {
9956
+ clientX: number;
9957
+ clientY: number;
9958
+ }, onPointerMove: (col: HeaderIndex, row: HeaderIndex, ev: MouseEvent) => void, onPointerUp: () => void) => void;
9959
+ };
9564
9960
  setup(): void;
9565
9961
  get containerStyle(): string;
9566
- onMouseDown(ev: MouseEvent): void;
9962
+ onMouseDown(ev: PointerEvent): void;
9567
9963
  get highlights(): Highlight$1[];
9568
9964
  }
9569
9965
 
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
9966
  /**
9580
9967
  * The Grid component is the main part of the spreadsheet UI. It is responsible
9581
9968
  * for displaying the actual grid, rendering it, managing events, ...
@@ -9587,10 +9974,10 @@ declare class HoveredCellStore extends SpreadsheetStore {
9587
9974
  * - a vertical resizer (same, for rows)
9588
9975
  */
9589
9976
  type ContextMenuType = "ROW" | "COL" | "CELL" | "FILTER" | "GROUP_HEADERS" | "UNGROUP_HEADERS";
9590
- interface Props$o {
9977
+ interface Props$r {
9591
9978
  exposeFocus: (focus: () => void) => void;
9592
9979
  }
9593
- declare class Grid extends Component<Props$o, SpreadsheetChildEnv> {
9980
+ declare class Grid extends Component<Props$r, SpreadsheetChildEnv> {
9594
9981
  static template: string;
9595
9982
  static props: {
9596
9983
  exposeFocus: FunctionConstructor;
@@ -9618,15 +10005,17 @@ declare class Grid extends Component<Props$o, SpreadsheetChildEnv> {
9618
10005
  private composerFocusStore;
9619
10006
  private DOMFocusableElementStore;
9620
10007
  private paintFormatStore;
10008
+ dragNDropGrid: {
10009
+ start: (initialPointerCoordinates: {
10010
+ clientX: number;
10011
+ clientY: number;
10012
+ }, onPointerMove: (col: HeaderIndex, row: HeaderIndex, ev: MouseEvent) => void, onPointerUp: () => void) => void;
10013
+ };
9621
10014
  onMouseWheel: (ev: WheelEvent) => void;
9622
10015
  canvasPosition: DOMCoordinates;
9623
- hoveredCell: Store<HoveredCellStore>;
10016
+ hoveredCell: Store<DelayedHoveredCellStore>;
9624
10017
  sidePanel: Store<SidePanelStore>;
9625
10018
  setup(): void;
9626
- onCellHovered({ col, row }: {
9627
- col: any;
9628
- row: any;
9629
- }): void;
9630
10019
  get highlights(): Highlight$1[];
9631
10020
  get gridOverlayDimensions(): string;
9632
10021
  onClosePopover(): void;
@@ -9643,7 +10032,7 @@ declare class Grid extends Component<Props$o, SpreadsheetChildEnv> {
9643
10032
  getClientPositionKey(client: Client): string;
9644
10033
  isCellHovered(col: HeaderIndex, row: HeaderIndex): boolean;
9645
10034
  private getGridRect;
9646
- onCellClicked(col: HeaderIndex, row: HeaderIndex, modifiers: GridClickModifiers): void;
10035
+ onCellClicked(col: HeaderIndex, row: HeaderIndex, modifiers: GridClickModifiers, ev: PointerEvent): void;
9647
10036
  onCellDoubleClicked(col: HeaderIndex, row: HeaderIndex): void;
9648
10037
  processArrows(ev: KeyboardEvent): void;
9649
10038
  onKeydown(ev: KeyboardEvent): void;
@@ -9699,7 +10088,7 @@ declare class MainChartPanelStore extends SpreadsheetStore {
9699
10088
  private getChartDefinitionFromContextCreation;
9700
10089
  }
9701
10090
 
9702
- interface Props$n {
10091
+ interface Props$q {
9703
10092
  figureId: UID;
9704
10093
  chartPanelStore: MainChartPanelStore;
9705
10094
  }
@@ -9707,7 +10096,7 @@ interface ChartTypePickerState {
9707
10096
  popoverProps: PopoverProps | undefined;
9708
10097
  popoverStyle: string;
9709
10098
  }
9710
- declare class ChartTypePicker extends Component<Props$n, SpreadsheetChildEnv> {
10099
+ declare class ChartTypePicker extends Component<Props$q, SpreadsheetChildEnv> {
9711
10100
  static template: string;
9712
10101
  static components: {
9713
10102
  Section: typeof Section;
@@ -9723,6 +10112,7 @@ declare class ChartTypePicker extends Component<Props$n, SpreadsheetChildEnv> {
9723
10112
  bar: string;
9724
10113
  area: string;
9725
10114
  pie: string;
10115
+ hierarchical: string;
9726
10116
  misc: string;
9727
10117
  };
9728
10118
  chartTypeByCategories: Record<string, ChartSubtypeProperties[]>;
@@ -9742,11 +10132,11 @@ declare class ChartTypePicker extends Component<Props$n, SpreadsheetChildEnv> {
9742
10132
  private closePopover;
9743
10133
  }
9744
10134
 
9745
- interface Props$m {
10135
+ interface Props$p {
9746
10136
  onCloseSidePanel: () => void;
9747
10137
  figureId: UID;
9748
10138
  }
9749
- declare class ChartPanel extends Component<Props$m, SpreadsheetChildEnv> {
10139
+ declare class ChartPanel extends Component<Props$p, SpreadsheetChildEnv> {
9750
10140
  static template: string;
9751
10141
  static components: {
9752
10142
  Section: typeof Section;
@@ -9766,13 +10156,13 @@ declare class ChartPanel extends Component<Props$m, SpreadsheetChildEnv> {
9766
10156
  private getChartDefinition;
9767
10157
  }
9768
10158
 
9769
- interface Props$l {
10159
+ interface Props$o {
9770
10160
  figureId: UID;
9771
10161
  definition: PieChartDefinition;
9772
10162
  canUpdateChart: (figureID: UID, definition: GenericDefinition<PieChartDefinition>) => DispatchResult;
9773
10163
  updateChart: (figureId: UID, definition: GenericDefinition<PieChartDefinition>) => DispatchResult;
9774
10164
  }
9775
- declare class PieChartDesignPanel extends Component<Props$l, SpreadsheetChildEnv> {
10165
+ declare class PieChartDesignPanel extends Component<Props$o, SpreadsheetChildEnv> {
9776
10166
  static template: string;
9777
10167
  static components: {
9778
10168
  GeneralDesignEditor: typeof GeneralDesignEditor;
@@ -9791,10 +10181,10 @@ declare class PieChartDesignPanel extends Component<Props$l, SpreadsheetChildEnv
9791
10181
  };
9792
10182
  }
9793
10183
 
9794
- interface Props$k {
10184
+ interface Props$n {
9795
10185
  items: ActionSpec[];
9796
10186
  }
9797
- declare class CogWheelMenu extends Component<Props$k, SpreadsheetChildEnv> {
10187
+ declare class CogWheelMenu extends Component<Props$n, SpreadsheetChildEnv> {
9798
10188
  static template: string;
9799
10189
  static components: {
9800
10190
  Menu: typeof Menu;
@@ -9877,14 +10267,14 @@ declare class FindAndReplaceStore extends SpreadsheetStore implements HighlightP
9877
10267
  get highlights(): Highlight$1[];
9878
10268
  }
9879
10269
 
9880
- interface Props$j {
10270
+ interface Props$m {
9881
10271
  deferUpdate: boolean;
9882
10272
  isDirty: boolean;
9883
10273
  toggleDeferUpdate: (value: boolean) => void;
9884
10274
  discard: () => void;
9885
10275
  apply: () => void;
9886
10276
  }
9887
- declare class PivotDeferUpdate extends Component<Props$j, SpreadsheetChildEnv> {
10277
+ declare class PivotDeferUpdate extends Component<Props$m, SpreadsheetChildEnv> {
9888
10278
  static template: string;
9889
10279
  static props: {
9890
10280
  deferUpdate: BooleanConstructor;
@@ -9901,11 +10291,11 @@ declare class PivotDeferUpdate extends Component<Props$j, SpreadsheetChildEnv> {
9901
10291
  get deferUpdatesTooltip(): string;
9902
10292
  }
9903
10293
 
9904
- interface Props$i {
10294
+ interface Props$l {
9905
10295
  onFieldPicked: (field: string) => void;
9906
10296
  fields: PivotField[];
9907
10297
  }
9908
- declare class AddDimensionButton extends Component<Props$i, SpreadsheetChildEnv> {
10298
+ declare class AddDimensionButton extends Component<Props$l, SpreadsheetChildEnv> {
9909
10299
  static template: string;
9910
10300
  static components: {
9911
10301
  Popover: typeof Popover;
@@ -9941,7 +10331,7 @@ declare class AddDimensionButton extends Component<Props$i, SpreadsheetChildEnv>
9941
10331
  onKeyDown(ev: KeyboardEvent): void;
9942
10332
  }
9943
10333
 
9944
- interface Props$h {
10334
+ interface Props$k {
9945
10335
  value: string;
9946
10336
  onChange: (value: string) => void;
9947
10337
  class?: string;
@@ -9949,7 +10339,7 @@ interface Props$h {
9949
10339
  placeholder?: string;
9950
10340
  autofocus?: boolean;
9951
10341
  }
9952
- declare class TextInput extends Component<Props$h, SpreadsheetChildEnv> {
10342
+ declare class TextInput extends Component<Props$k, SpreadsheetChildEnv> {
9953
10343
  static template: string;
9954
10344
  static props: {
9955
10345
  value: StringConstructor;
@@ -9979,13 +10369,13 @@ declare class TextInput extends Component<Props$h, SpreadsheetChildEnv> {
9979
10369
  onMouseUp(ev: MouseEvent): void;
9980
10370
  }
9981
10371
 
9982
- interface Props$g {
10372
+ interface Props$j {
9983
10373
  dimension: PivotCoreDimension | PivotCoreMeasure;
9984
10374
  onRemoved: (dimension: PivotCoreDimension | PivotCoreMeasure) => void;
9985
10375
  onNameUpdated?: (dimension: PivotCoreDimension | PivotCoreMeasure, name?: string) => void;
9986
10376
  type: "row" | "col" | "measure";
9987
10377
  }
9988
- declare class PivotDimension extends Component<Props$g, SpreadsheetChildEnv> {
10378
+ declare class PivotDimension extends Component<Props$j, SpreadsheetChildEnv> {
9989
10379
  static template: string;
9990
10380
  static props: {
9991
10381
  dimension: ObjectConstructor;
@@ -10009,13 +10399,13 @@ declare class PivotDimension extends Component<Props$g, SpreadsheetChildEnv> {
10009
10399
  updateName(name: string): void;
10010
10400
  }
10011
10401
 
10012
- interface Props$f {
10402
+ interface Props$i {
10013
10403
  dimension: PivotDimension$1;
10014
10404
  onUpdated: (dimension: PivotDimension$1, ev: InputEvent) => void;
10015
10405
  availableGranularities: Set<string>;
10016
10406
  allGranularities: string[];
10017
10407
  }
10018
- declare class PivotDimensionGranularity extends Component<Props$f, SpreadsheetChildEnv> {
10408
+ declare class PivotDimensionGranularity extends Component<Props$i, SpreadsheetChildEnv> {
10019
10409
  static template: string;
10020
10410
  static props: {
10021
10411
  dimension: ObjectConstructor;
@@ -10040,11 +10430,11 @@ declare class PivotDimensionGranularity extends Component<Props$f, SpreadsheetCh
10040
10430
  };
10041
10431
  }
10042
10432
 
10043
- interface Props$e {
10433
+ interface Props$h {
10044
10434
  dimension: PivotDimension$1;
10045
10435
  onUpdated: (dimension: PivotDimension$1, ev: InputEvent) => void;
10046
10436
  }
10047
- declare class PivotDimensionOrder extends Component<Props$e, SpreadsheetChildEnv> {
10437
+ declare class PivotDimensionOrder extends Component<Props$h, SpreadsheetChildEnv> {
10048
10438
  static template: string;
10049
10439
  static props: {
10050
10440
  dimension: ObjectConstructor;
@@ -10078,8 +10468,9 @@ declare function createPivotFormula(formulaId: string, cell: PivotTableCell): st
10078
10468
  * the two group values are "42" and "won".
10079
10469
  */
10080
10470
  declare function toNormalizedPivotValue(dimension: Pick<PivotDimension$1, "type" | "displayName" | "granularity">, groupValue: any): CellValue;
10471
+ declare function toFunctionPivotValue(value: CellValue, dimension: Pick<PivotDimension$1, "type" | "granularity">): string;
10081
10472
 
10082
- interface Props$d {
10473
+ interface Props$g {
10083
10474
  pivotId: string;
10084
10475
  definition: PivotRuntimeDefinition;
10085
10476
  measure: PivotMeasure;
@@ -10087,7 +10478,7 @@ interface Props$d {
10087
10478
  onRemoved: () => void;
10088
10479
  generateMeasureId: (fieldName: string, aggregator?: string) => string;
10089
10480
  }
10090
- declare class PivotMeasureEditor extends Component<Props$d> {
10481
+ declare class PivotMeasureEditor extends Component<Props$g> {
10091
10482
  static template: string;
10092
10483
  static components: {
10093
10484
  PivotDimension: typeof PivotDimension;
@@ -10111,11 +10502,11 @@ declare class PivotMeasureEditor extends Component<Props$d> {
10111
10502
  getColoredSymbolToken(token: Token): Color | undefined;
10112
10503
  }
10113
10504
 
10114
- interface Props$c {
10505
+ interface Props$f {
10115
10506
  definition: PivotRuntimeDefinition;
10116
10507
  pivotId: UID;
10117
10508
  }
10118
- declare class PivotSortSection extends Component<Props$c, SpreadsheetChildEnv> {
10509
+ declare class PivotSortSection extends Component<Props$f, SpreadsheetChildEnv> {
10119
10510
  static template: string;
10120
10511
  static components: {
10121
10512
  Section: typeof Section;
@@ -10132,7 +10523,7 @@ declare class PivotSortSection extends Component<Props$c, SpreadsheetChildEnv> {
10132
10523
  }[];
10133
10524
  }
10134
10525
 
10135
- interface Props$b {
10526
+ interface Props$e {
10136
10527
  definition: PivotRuntimeDefinition;
10137
10528
  onDimensionsUpdated: (definition: Partial<PivotCoreDefinition>) => void;
10138
10529
  unusedGroupableFields: PivotField[];
@@ -10143,7 +10534,7 @@ interface Props$b {
10143
10534
  getScrollableContainerEl?: () => HTMLElement;
10144
10535
  pivotId: UID;
10145
10536
  }
10146
- declare class PivotLayoutConfigurator extends Component<Props$b, SpreadsheetChildEnv> {
10537
+ declare class PivotLayoutConfigurator extends Component<Props$e, SpreadsheetChildEnv> {
10147
10538
  static template: string;
10148
10539
  static components: {
10149
10540
  AddDimensionButton: typeof AddDimensionButton;
@@ -10233,11 +10624,11 @@ declare class PivotSidePanelStore extends SpreadsheetStore {
10233
10624
  private shouldKeepSortedColumn;
10234
10625
  }
10235
10626
 
10236
- interface Props$a {
10627
+ interface Props$d {
10237
10628
  pivotId: UID;
10238
10629
  flipAxis: () => void;
10239
10630
  }
10240
- declare class PivotTitleSection extends Component<Props$a, SpreadsheetChildEnv> {
10631
+ declare class PivotTitleSection extends Component<Props$d, SpreadsheetChildEnv> {
10241
10632
  static template: string;
10242
10633
  static components: {
10243
10634
  CogWheelMenu: typeof CogWheelMenu;
@@ -10268,7 +10659,8 @@ declare const CellErrorType: {
10268
10659
  readonly NullError: "#NULL!";
10269
10660
  };
10270
10661
  type ErrorValue = (typeof CellErrorType)[keyof typeof CellErrorType];
10271
- declare class EvaluationError extends Error {
10662
+ declare class EvaluationError {
10663
+ readonly message: string;
10272
10664
  readonly value: string;
10273
10665
  constructor(message?: string, value?: string);
10274
10666
  }
@@ -10338,13 +10730,13 @@ declare function getFirstPivotFunction(tokens: Token[]): {
10338
10730
  */
10339
10731
  declare function getNumberOfPivotFunctions(tokens: Token[]): number;
10340
10732
 
10341
- interface Props$9 {
10733
+ interface Props$c {
10342
10734
  figureId: UID;
10343
10735
  definition: ComboChartDefinition;
10344
10736
  canUpdateChart: (figureID: UID, definition: GenericDefinition<ComboChartDefinition>) => DispatchResult;
10345
10737
  updateChart: (figureId: UID, definition: GenericDefinition<ComboChartDefinition>) => DispatchResult;
10346
10738
  }
10347
- declare class ComboChartDesignPanel extends ChartWithAxisDesignPanel<Props$9> {
10739
+ declare class ComboChartDesignPanel extends ChartWithAxisDesignPanel<Props$c> {
10348
10740
  static template: string;
10349
10741
  static components: {
10350
10742
  RadioSelection: typeof RadioSelection;
@@ -10364,6 +10756,84 @@ declare class ComboChartDesignPanel extends ChartWithAxisDesignPanel<Props$9> {
10364
10756
  getDataSeriesType(index: number): "line" | "bar";
10365
10757
  }
10366
10758
 
10759
+ interface Props$b {
10760
+ figureId: UID;
10761
+ definition: FunnelChartDefinition;
10762
+ canUpdateChart: (figureID: UID, definition: Partial<FunnelChartDefinition>) => DispatchResult;
10763
+ updateChart: (figureId: UID, definition: Partial<FunnelChartDefinition>) => DispatchResult;
10764
+ }
10765
+ declare class FunnelChartDesignPanel extends Component<Props$b, SpreadsheetChildEnv> {
10766
+ static template: string;
10767
+ static components: {
10768
+ GeneralDesignEditor: typeof GeneralDesignEditor;
10769
+ SidePanelCollapsible: typeof SidePanelCollapsible;
10770
+ RoundColorPicker: typeof RoundColorPicker;
10771
+ Section: typeof Section;
10772
+ Checkbox: typeof Checkbox;
10773
+ };
10774
+ static props: {
10775
+ figureId: StringConstructor;
10776
+ definition: ObjectConstructor;
10777
+ updateChart: FunctionConstructor;
10778
+ canUpdateChart: FunctionConstructor;
10779
+ };
10780
+ getFunnelColorItems(): {
10781
+ label: string;
10782
+ color: Color;
10783
+ }[];
10784
+ updateFunnelItemColor(index: number, color: string): void;
10785
+ }
10786
+
10787
+ interface Props$a {
10788
+ figureId: UID;
10789
+ definition: GeoChartDefinition;
10790
+ canUpdateChart: (figureID: UID, definition: Partial<GeoChartDefinition>) => DispatchResult;
10791
+ updateChart: (figureId: UID, definition: Partial<GeoChartDefinition>) => DispatchResult;
10792
+ }
10793
+ declare class GeoChartDesignPanel extends ChartWithAxisDesignPanel<Props$a> {
10794
+ static template: string;
10795
+ static components: {
10796
+ RoundColorPicker: typeof RoundColorPicker;
10797
+ GeneralDesignEditor: typeof GeneralDesignEditor;
10798
+ SidePanelCollapsible: typeof SidePanelCollapsible;
10799
+ Section: typeof Section;
10800
+ AxisDesignEditor: typeof AxisDesignEditor;
10801
+ Checkbox: typeof Checkbox;
10802
+ SeriesWithAxisDesignEditor: typeof SeriesWithAxisDesignEditor;
10803
+ ChartLegend: typeof ChartLegend;
10804
+ };
10805
+ colorScalesChoices: Record<"blues" | "cividis" | "greens" | "greys" | "oranges" | "purples" | "rainbow" | "reds" | "viridis", string>;
10806
+ updateColorScaleType(ev: Event): void;
10807
+ updateColorScale(colorScale: GeoChartColorScale): void;
10808
+ updateMissingValueColor(color: Color): void;
10809
+ updateLegendPosition(ev: Event): void;
10810
+ get selectedColorScale(): "custom" | "blues" | "cividis" | "greens" | "greys" | "oranges" | "purples" | "rainbow" | "reds" | "viridis";
10811
+ get selectedMissingValueColor(): Color | "#ffffff";
10812
+ get customColorScale(): GeoChartCustomColorScale | undefined;
10813
+ getCustomColorScaleColor(color: "minColor" | "midColor" | "maxColor"): "" | Color;
10814
+ setCustomColorScaleColor(colorType: "minColor" | "midColor" | "maxColor", color: Color): void;
10815
+ }
10816
+
10817
+ interface Props$9 {
10818
+ figureId: UID;
10819
+ definition: GeoChartDefinition;
10820
+ updateChart: (figureId: UID, definition: Partial<GeoChartDefinition>) => DispatchResult;
10821
+ }
10822
+ declare class GeoChartRegionSelectSection extends Component<Props$9, SpreadsheetChildEnv> {
10823
+ static template: string;
10824
+ static components: {
10825
+ Section: typeof Section;
10826
+ };
10827
+ static props: {
10828
+ figureId: StringConstructor;
10829
+ definition: ObjectConstructor;
10830
+ updateChart: FunctionConstructor;
10831
+ };
10832
+ updateSelectedRegion(ev: Event): void;
10833
+ get availableRegions(): GeoChartRegion[];
10834
+ get selectedRegion(): string;
10835
+ }
10836
+
10367
10837
  interface Props$8 {
10368
10838
  figureId: UID;
10369
10839
  definition: RadarChartDefinition;
@@ -10461,6 +10931,30 @@ declare class PivotMeasureDisplayPanelStore extends SpreadsheetStore {
10461
10931
  cancelMeasureDisplayEdition(): void;
10462
10932
  }
10463
10933
 
10934
+ declare class PositionMap<T> {
10935
+ private map;
10936
+ constructor(entries?: Iterable<readonly [CellPosition, T]>);
10937
+ set({ sheetId, col, row }: CellPosition, value: T): void;
10938
+ get({ sheetId, col, row }: CellPosition): T | undefined;
10939
+ getSheet(sheetId: UID): Record<number, Record<number, T>> | undefined;
10940
+ has({ sheetId, col, row }: CellPosition): boolean;
10941
+ delete({ sheetId, col, row }: CellPosition): void;
10942
+ keys(): CellPosition[];
10943
+ keysForSheet(sheetId: UID): CellPosition[];
10944
+ entries(): IterableIterator<[CellPosition, T]>;
10945
+ }
10946
+
10947
+ declare class HoveredTableStore extends SpreadsheetStore {
10948
+ mutators: readonly ["clear", "hover"];
10949
+ col: number | undefined;
10950
+ row: number | undefined;
10951
+ overlayColors: PositionMap<Color>;
10952
+ handle(cmd: Command): void;
10953
+ hover(position: Partial<Position$1>): void;
10954
+ clear(): void;
10955
+ private computeOverlay;
10956
+ }
10957
+
10464
10958
  declare class BarChart extends AbstractChart {
10465
10959
  readonly dataSets: DataSet[];
10466
10960
  readonly labelRange?: Range | undefined;
@@ -10918,13 +11412,9 @@ declare class SpreadsheetDashboard extends Component<Props$3, SpreadsheetChildEn
10918
11412
  protected cellPopovers: Store<CellPopoverStore>;
10919
11413
  onMouseWheel: (ev: WheelEvent) => void;
10920
11414
  canvasPosition: DOMCoordinates;
10921
- hoveredCell: Store<HoveredCellStore>;
11415
+ hoveredCell: Store<DelayedHoveredCellStore>;
10922
11416
  clickableCellsStore: Store<ClickableCellsStore>;
10923
11417
  setup(): void;
10924
- onCellHovered({ col, row }: {
10925
- col: any;
10926
- row: any;
10927
- }): void;
10928
11418
  get gridContainer(): string;
10929
11419
  get gridOverlayDimensions(): string;
10930
11420
  getCellClickableStyle(coordinates: Rect): string;
@@ -11038,19 +11528,6 @@ declare class ToolBarRegistry {
11038
11528
  getCategories(): string[];
11039
11529
  }
11040
11530
 
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
11531
  declare class FormulaFingerprintStore extends SpreadsheetStore {
11055
11532
  mutators: readonly ["enable", "disable"];
11056
11533
  private isInvalidated;
@@ -11254,7 +11731,7 @@ declare const registries: {
11254
11731
  linkMenuRegistry: MenuItemRegistry;
11255
11732
  functionRegistry: FunctionRegistry;
11256
11733
  featurePluginRegistry: Registry<UIPluginConstructor>;
11257
- iconsOnCellRegistry: Registry<(getters: Getters, position: CellPosition) => ImageSrc | undefined>;
11734
+ iconsOnCellRegistry: Registry<(getters: Getters, position: CellPosition) => ImageSVG | undefined>;
11258
11735
  statefulUIPluginRegistry: Registry<UIPluginConstructor>;
11259
11736
  coreViewsPluginRegistry: Registry<CoreViewPluginConstructor>;
11260
11737
  corePluginRegistry: Registry<CorePluginConstructor>;
@@ -11301,6 +11778,7 @@ declare const registries: {
11301
11778
  supportedPivotPositionalFormulaRegistry: Registry<boolean>;
11302
11779
  pivotToFunctionValueRegistry: Registry<(value: CellValue, granularity?: string) => string>;
11303
11780
  migrationStepRegistry: Registry<MigrationStep>;
11781
+ chartJsExtensionRegistry: Registry<chart_js.Plugin<keyof chart_js.ChartTypeRegistry, chart_js_dist_types_basic.AnyObject> | ((chart: typeof window.Chart) => void)>;
11304
11782
  };
11305
11783
  declare const helpers: {
11306
11784
  arg: typeof arg;
@@ -11310,6 +11788,7 @@ declare const helpers: {
11310
11788
  toNumber: typeof toNumber;
11311
11789
  toString: typeof toString;
11312
11790
  toNormalizedPivotValue: typeof toNormalizedPivotValue;
11791
+ toFunctionPivotValue: typeof toFunctionPivotValue;
11313
11792
  toXC: typeof toXC;
11314
11793
  toZone: typeof toZone;
11315
11794
  toUnboundedZone: typeof toUnboundedZone;
@@ -11393,9 +11872,11 @@ declare const components: {
11393
11872
  GaugeChartDesignPanel: typeof GaugeChartDesignPanel;
11394
11873
  ScorecardChartConfigPanel: typeof ScorecardChartConfigPanel;
11395
11874
  ScorecardChartDesignPanel: typeof ScorecardChartDesignPanel;
11875
+ GeoChartDesignPanel: typeof GeoChartDesignPanel;
11396
11876
  RadarChartDesignPanel: typeof RadarChartDesignPanel;
11397
11877
  WaterfallChartDesignPanel: typeof WaterfallChartDesignPanel;
11398
11878
  ComboChartDesignPanel: typeof ComboChartDesignPanel;
11879
+ FunnelChartDesignPanel: typeof FunnelChartDesignPanel;
11399
11880
  ChartTypePicker: typeof ChartTypePicker;
11400
11881
  FigureComponent: typeof FigureComponent;
11401
11882
  Menu: typeof Menu;
@@ -11413,6 +11894,7 @@ declare const components: {
11413
11894
  TextInput: typeof TextInput;
11414
11895
  SidePanelCollapsible: typeof SidePanelCollapsible;
11415
11896
  RadioSelection: typeof RadioSelection;
11897
+ GeoChartRegionSelectSection: typeof GeoChartRegionSelectSection;
11416
11898
  };
11417
11899
  declare const hooks: {
11418
11900
  useDragAndDropListItems: typeof useDragAndDropListItems;
@@ -11427,7 +11909,8 @@ declare const stores: {
11427
11909
  CellComposerStore: typeof CellComposerStore;
11428
11910
  FindAndReplaceStore: typeof FindAndReplaceStore;
11429
11911
  HighlightStore: typeof HighlightStore;
11430
- HoveredCellStore: typeof HoveredCellStore;
11912
+ DelayedHoveredCellStore: typeof DelayedHoveredCellStore;
11913
+ HoveredTableStore: typeof HoveredTableStore;
11431
11914
  ModelStore: StoreConstructor<Model, any[]>;
11432
11915
  NotificationStore: typeof NotificationStore;
11433
11916
  RendererStore: typeof RendererStore;
@@ -11471,11 +11954,14 @@ declare const chartHelpers: {
11471
11954
  getPieChartData(definition: GenericDefinition<PieChartDefinition>, dataSets: DataSet[], labelRange: Range | undefined, getters: Getters): ChartRuntimeGenerationArgs;
11472
11955
  getRadarChartData(definition: GenericDefinition<RadarChartDefinition>, dataSets: DataSet[], labelRange: Range | undefined, getters: Getters): ChartRuntimeGenerationArgs;
11473
11956
  getGeoChartData(definition: GeoChartDefinition, dataSets: DataSet[], labelRange: Range | undefined, getters: Getters): GeoChartRuntimeGenerationArgs;
11957
+ getFunnelChartData(definition: GenericDefinition<FunnelChartDefinition>, dataSets: DataSet[], labelRange: Range | undefined, getters: Getters): ChartRuntimeGenerationArgs;
11958
+ getHierarchalChartData(definition: SunburstChartDefinition | TreeMapChartDefinition, dataSets: DataSet[], labelRange: Range | undefined, getters: Getters): ChartRuntimeGenerationArgs;
11474
11959
  getTrendDatasetForBarChart(config: TrendConfiguration, data: any[]): chart_js.Point[] | undefined;
11475
11960
  getTrendDatasetForLineChart(config: TrendConfiguration, data: any[], labels: string[], axisType: AxisType, locale: Locale): chart_js.Point[] | undefined;
11476
11961
  canChartParseLabels(definition: GenericDefinition<LineChartDefinition>, dataSets: DataSet[], labelRange: Range | undefined, getters: Getters): boolean;
11477
11962
  getData(getters: Getters, ds: DataSet): (CellValue | undefined)[];
11478
11963
  getChartLabelFormat(getters: Getters, range: Range | undefined, shouldRemoveFirstLabel: boolean): Format | undefined;
11964
+ makeDatasetsCumulative(datasets: DatasetValues[], order: "asc" | "desc"): DatasetValues[];
11479
11965
  getBarChartDatasets(definition: GenericDefinition<BarChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js.ChartDataset<"bar" | "line">[];
11480
11966
  getWaterfallDatasetAndLabels(definition: GenericDefinition<WaterfallChartDefinition>, args: ChartRuntimeGenerationArgs): {
11481
11967
  datasets: chart_js.ChartDataset[];
@@ -11489,7 +11975,10 @@ declare const chartHelpers: {
11489
11975
  getGeoChartDatasets(definition: GenericDefinition<GeoChartDefinition>, args: GeoChartRuntimeGenerationArgs): chart_js.ChartDataset[];
11490
11976
  getFunnelChartDatasets(definition: FunnelChartDefinition, args: ChartRuntimeGenerationArgs): chart_js.ChartDataset<"bar">[];
11491
11977
  getFunnelLabelColors(labels: string[], colors?: FunnelChartColors): Color[];
11978
+ getSunburstChartDatasets(definition: GenericDefinition<SunburstChartDefinition>, args: ChartRuntimeGenerationArgs): SunburstChartJSDataset[];
11979
+ getTreeMapChartDatasets(definition: TreeMapChartDefinition, args: ChartRuntimeGenerationArgs): chart_js.ChartDataset<"treemap">[];
11492
11980
  getChartColorsGenerator(definition: GenericDefinition<ChartWithDataSetDefinition>, dataSetsSize: number): ColorGenerator;
11981
+ GHOST_SUNBURST_VALUE: "nullValue";
11493
11982
  getChartLayout(definition: GenericDefinition<ChartWithDataSetDefinition>): chart_js_dist_types_utils._DeepPartialObject<Partial<{
11494
11983
  autoPadding: boolean;
11495
11984
  padding: chart_js.Scriptable<chart_js_dist_types_geometric.Padding, chart_js.ScriptableContext<keyof chart_js.ChartTypeRegistry>>;
@@ -11501,6 +11990,7 @@ declare const chartHelpers: {
11501
11990
  getComboChartLegend(definition: GenericDefinition<ComboChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<chart_js.LegendOptions<any>>;
11502
11991
  getWaterfallChartLegend(definition: WaterfallChartDefinition, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<chart_js.LegendOptions<any>>;
11503
11992
  getRadarChartLegend(definition: GenericDefinition<RadarChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<chart_js.LegendOptions<any>>;
11993
+ getSunburstChartLegend(definition: SunburstChartDefinition, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<chart_js.LegendOptions<any>>;
11504
11994
  INTERACTIVE_LEGEND_CONFIG: {
11505
11995
  onHover: (event: any) => void;
11506
11996
  onLeave: (event: any) => void;
@@ -11918,6 +12408,7 @@ declare const chartHelpers: {
11918
12408
  [key: string]: chart_js.ScaleOptionsByType<"radialLinear" | keyof chart_js.CartesianScaleTypeRegistry>;
11919
12409
  }>;
11920
12410
  getChartShowValues(definition: ChartWithDataSetDefinition, args: ChartRuntimeGenerationArgs): ChartShowValuesPluginOptions;
12411
+ getSunburstShowValues(definition: SunburstChartDefinition, args: ChartRuntimeGenerationArgs): ChartSunburstLabelsPluginOptions;
11921
12412
  getChartTitle(definition: ChartWithDataSetDefinition): chart_js_dist_types_utils._DeepPartialObject<chart_js.TitleOptions>;
11922
12413
  getBarChartTooltip(definition: GenericDefinition<BarChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<chart_js.TooltipOptions<any>>;
11923
12414
  getLineChartTooltip(definition: GenericDefinition<LineChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<chart_js.TooltipOptions<any>>;
@@ -11927,6 +12418,8 @@ declare const chartHelpers: {
11927
12418
  getRadarChartTooltip(definition: RadarChartDefinition, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<chart_js.TooltipOptions<any>>;
11928
12419
  getGeoChartTooltip(definition: GeoChartDefinition, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<chart_js.TooltipOptions<any>>;
11929
12420
  getFunnelChartTooltip(definition: GenericDefinition<BarChartDefinition>, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<chart_js.TooltipOptions<any>>;
12421
+ getSunburstChartTooltip(definition: SunburstChartDefinition, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<chart_js.TooltipOptions<any>>;
12422
+ getTreeMapChartTooltip(definition: TreeMapChartDefinition, args: ChartRuntimeGenerationArgs): chart_js_dist_types_utils._DeepPartialObject<chart_js.TooltipOptions<any>>;
11930
12423
  AbstractChart: typeof AbstractChart;
11931
12424
  createBarChartRuntime(chart: BarChart, getters: Getters): BarChartRuntime;
11932
12425
  BarChart: typeof BarChart;
@@ -11956,7 +12449,9 @@ declare const chartHelpers: {
11956
12449
  formatTickValue(localeFormat: LocaleFormat): (value: any) => any;
11957
12450
  getPieColors(colors: ColorGenerator, dataSetsValues: DatasetValues[]): Color[];
11958
12451
  truncateLabel(label: string | undefined): string;
12452
+ isTrendLineAxis(axisID: string): axisID is "x1" | "xMovingAverage";
11959
12453
  TREND_LINE_XAXIS_ID: "x1";
12454
+ MOVING_AVERAGE_TREND_LINE_XAXIS_ID: "xMovingAverage";
11960
12455
  CHART_AXIS_CHOICES: {
11961
12456
  value: string;
11962
12457
  label: string;
@@ -11982,4 +12477,4 @@ declare const chartHelpers: {
11982
12477
  WaterfallChart: typeof WaterfallChart;
11983
12478
  };
11984
12479
 
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 };
12480
+ 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 };